/**
*
* SmartEarth WebSDK - https://websdk.terra-it.cn
* Version 5.0.2
*
**/
var t0t=Object.create;var Dj=Object.defineProperty;var i0t=Object.getOwnPropertyDescriptor;var r0t=Object.getOwnPropertyNames;var n0t=Object.getPrototypeOf,o0t=Object.prototype.hasOwnProperty;var a0t=(o,A,f)=>A in o?Dj(o,A,{enumerable:!0,configurable:!0,writable:!0,value:f}):o[A]=f;var My=(o=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(o,{get:(A,f)=>(typeof require<"u"?require:A)[f]}):o)(function(o){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')});var wA=(o,A)=>()=>(A||o((A={exports:{}}).exports,A),A.exports),Eue=(o,A)=>{for(var f in A)Dj(o,f,{get:A[f],enumerable:!0})},s0t=(o,A,f,m)=>{if(A&&typeof A=="object"||typeof A=="function")for(let C of r0t(A))!o0t.call(o,C)&&C!==f&&Dj(o,C,{get:()=>A[C],enumerable:!(m=i0t(A,C))||m.enumerable});return o};var rU=(o,A,f)=>(f=o!=null?t0t(n0t(o)):{},s0t(A||!o||!o.__esModule?Dj(f,"default",{value:o,enumerable:!0}):f,o));var xue=(o,A,f)=>(a0t(o,typeof A!="symbol"?A+"":A,f),f);var Elt=wA((Clt,gae)=>{(function(o,A,f){typeof gae<"u"&&gae.exports?gae.exports=f():typeof define=="function"&&define.amd?define(f):A[o]=f()})("h337",Clt,function(){var o={defaultRadius:40,defaultRenderer:"canvas2d",defaultGradient:{.25:"rgb(0,0,255)",.55:"rgb(0,255,0)",.85:"yellow",1:"rgb(255,0,0)"},defaultMaxOpacity:1,defaultMinOpacity:0,defaultBlur:.85,defaultXField:"x",defaultYField:"y",defaultValueField:"value",plugins:{}},A=function(){var I=function(Q){this._coordinator={},this._data=[],this._radi=[],this._min=10,this._max=1,this._xField=Q.xField||Q.defaultXField,this._yField=Q.yField||Q.defaultYField,this._valueField=Q.valueField||Q.defaultValueField,Q.radius&&(this._cfgRadius=Q.radius)},v=o.defaultRadius;return I.prototype={_organiseData:function(B,Q){var T=B[this._xField],w=B[this._yField],S=this._radi,D=this._data,R=this._max,P=this._min,M=B[this._valueField]||1,L=B.radius||this._cfgRadius||v;D[T]||(D[T]=[],S[T]=[]),D[T][w]?D[T][w]+=M:(D[T][w]=M,S[T][w]=L);var F=D[T][w];return F>R?(Q?this.setDataMax(F):this._max=F,!1):F
0)for(var B=arguments[0],Q=B.length;Q--;)this.addData.call(this,B[Q]);else{var T=this._organiseData(arguments[0],!0);T&&(this._data.length===0&&(this._min=this._max=T.value),this._coordinator.emit("renderpartial",{min:this._min,max:this._max,data:[T]}))}return this},setData:function(B){var Q=B.data,T=Q.length;this._data=[],this._radi=[];for(var w=0;w0&&(this._drawAlpha(T),this._colorize())},renderAll:function(T){this._clear(),T.data.length>0&&(this._drawAlpha(B(T)),this._colorize())},_updateGradient:function(T){this._palette=I(T)},updateConfig:function(T){T.gradient&&this._updateGradient(T),this._setStyles(T)},setDimensions:function(T,w){this._width=T,this._height=w,this.canvas.width=this.shadowCanvas.width=T,this.canvas.height=this.shadowCanvas.height=w},_clear:function(){this.shadowCtx.clearRect(0,0,this._width,this._height),this.ctx.clearRect(0,0,this._width,this._height)},_setStyles:function(T){this._blur=T.blur==0?0:T.blur||T.defaultBlur,T.backgroundColor&&(this.canvas.style.backgroundColor=T.backgroundColor),this._width=this.canvas.width=this.shadowCanvas.width=T.width||this._width,this._height=this.canvas.height=this.shadowCanvas.height=T.height||this._height,this._opacity=(T.opacity||0)*255,this._maxOpacity=(T.maxOpacity||T.defaultMaxOpacity)*255,this._minOpacity=(T.minOpacity||T.defaultMinOpacity)*255,this._useGradientOpacity=!!T.useGradientOpacity},_drawAlpha:function(D){for(var w=this._min=D.min,S=this._max=D.max,D=D.data||[],R=D.length,P=1-this._blur;R--;){var M=D[R],L=M.x,F=M.y,k=M.radius,N=Math.min(M.value,S),G=L-k,J=F-k,K=this.shadowCtx,X;this._templates[k]?X=this._templates[k]:this._templates[k]=X=v(k,P);var q=(N-w)/(S-w);K.globalAlpha=q<.01?.01:q,K.drawImage(X,G,J),Gthis._renderBoundaries[2]&&(this._renderBoundaries[2]=G+2*k),J+2*k>this._renderBoundaries[3]&&(this._renderBoundaries[3]=J+2*k)}},_colorize:function(){var T=this._renderBoundaries[0],w=this._renderBoundaries[1],S=this._renderBoundaries[2]-T,D=this._renderBoundaries[3]-w,R=this._width,P=this._height,M=this._opacity,L=this._maxOpacity,F=this._minOpacity,k=this._useGradientOpacity;T<0&&(T=0),w<0&&(w=0),T+S>R&&(S=R-T),w+D>P&&(D=P-w);for(var N=this.shadowCtx.getImageData(T,w,S,D),G=N.data,J=G.length,K=this._palette,X=3;X0?ie=M:q>0,w},getDataURL:function(){return this.canvas.toDataURL()}},Q}(),m=function(){var I=!1;return o.defaultRenderer==="canvas2d"&&(I=f),I}(),C={merge:function(){for(var y={},I=arguments.length,v=0;v{"use strict";yMe.exports=Cse;yMe.exports.default=Cse;function Cse(o,A,f){f=f||2;var m=A&&A.length,C=m?A[0]*f:o.length,E=Out(o,0,C,f,!0),x=[];if(!E||E.next===E.prev)return x;var y,I,v,B,Q,T,w;if(m&&(E=tFi(o,A,E,f)),o.length>80*f){y=v=o[0],I=B=o[1];for(var S=f;Sv&&(v=Q),T>B&&(B=T);w=Math.max(v-y,B-I),w=w!==0?32767/w:0}return zK(E,x,f,y,I,w,0),x}function Out(o,A,f,m,C){var E,x;if(C===xMe(o,A,f,m)>0)for(E=A;E=A;E-=m)x=kut(E,o[E],o[E+1],x);return x&&Ese(x,x.next)&&(JK(x),x=x.next),x}function _k(o,A){if(!o)return o;A||(A=o);var f=o,m;do if(m=!1,!f.steiner&&(Ese(f,f.next)||Xd(f.prev,f,f.next)===0)){if(JK(f),f=A=f.prev,f===f.next)break;m=!0}else f=f.next;while(m||f!==A);return A}function zK(o,A,f,m,C,E,x){if(!!o){!x&&E&&aFi(o,m,C,E);for(var y=o,I,v;o.prev!==o.next;){if(I=o.prev,v=o.next,E?ZLi(o,m,C,E):XLi(o)){A.push(I.i/f|0),A.push(o.i/f|0),A.push(v.i/f|0),JK(o),o=v.next,y=v.next;continue}if(o=v,o===y){x?x===1?(o=$Li(_k(o),A,f),zK(o,A,f,m,C,E,2)):x===2&&eFi(o,A,f,m,C,E):zK(_k(o),A,f,m,C,E,1);break}}}}function XLi(o){var A=o.prev,f=o,m=o.next;if(Xd(A,f,m)>=0)return!1;for(var C=A.x,E=f.x,x=m.x,y=A.y,I=f.y,v=m.y,B=CE?C>x?C:x:E>x?E:x,w=y>I?y>v?y:v:I>v?I:v,S=m.next;S!==A;){if(S.x>=B&&S.x<=T&&S.y>=Q&&S.y<=w&&EH(C,y,E,I,x,v,S.x,S.y)&&Xd(S.prev,S,S.next)>=0)return!1;S=S.next}return!0}function ZLi(o,A,f,m){var C=o.prev,E=o,x=o.next;if(Xd(C,E,x)>=0)return!1;for(var y=C.x,I=E.x,v=x.x,B=C.y,Q=E.y,T=x.y,w=yI?y>v?y:v:I>v?I:v,R=B>Q?B>T?B:T:Q>T?Q:T,P=CMe(w,S,A,f,m),M=CMe(D,R,A,f,m),L=o.prevZ,F=o.nextZ;L&&L.z>=P&&F&&F.z<=M;){if(L.x>=w&&L.x<=D&&L.y>=S&&L.y<=R&&L!==C&&L!==x&&EH(y,B,I,Q,v,T,L.x,L.y)&&Xd(L.prev,L,L.next)>=0||(L=L.prevZ,F.x>=w&&F.x<=D&&F.y>=S&&F.y<=R&&F!==C&&F!==x&&EH(y,B,I,Q,v,T,F.x,F.y)&&Xd(F.prev,F,F.next)>=0))return!1;F=F.nextZ}for(;L&&L.z>=P;){if(L.x>=w&&L.x<=D&&L.y>=S&&L.y<=R&&L!==C&&L!==x&&EH(y,B,I,Q,v,T,L.x,L.y)&&Xd(L.prev,L,L.next)>=0)return!1;L=L.prevZ}for(;F&&F.z<=M;){if(F.x>=w&&F.x<=D&&F.y>=S&&F.y<=R&&F!==C&&F!==x&&EH(y,B,I,Q,v,T,F.x,F.y)&&Xd(F.prev,F,F.next)>=0)return!1;F=F.nextZ}return!0}function $Li(o,A,f){var m=o;do{var C=m.prev,E=m.next.next;!Ese(C,E)&&Uut(C,m,m.next,E)&&YK(C,E)&&YK(E,C)&&(A.push(C.i/f|0),A.push(m.i/f|0),A.push(E.i/f|0),JK(m),JK(m.next),m=o=E),m=m.next}while(m!==o);return _k(m)}function eFi(o,A,f,m,C,E){var x=o;do{for(var y=x.next.next;y!==x.prev;){if(x.i!==y.i&&uFi(x,y)){var I=Gut(x,y);x=_k(x,x.next),I=_k(I,I.next),zK(x,A,f,m,C,E,0),zK(I,A,f,m,C,E,0);return}y=y.next}x=x.next}while(x!==o)}function tFi(o,A,f,m){var C=[],E,x,y,I,v;for(E=0,x=A.length;E=f.next.y&&f.next.y!==f.y){var y=f.x+(C-f.y)*(f.next.x-f.x)/(f.next.y-f.y);if(y<=m&&y>E&&(E=y,x=f.x=f.x&&f.x>=v&&m!==f.x&&EH(Cx.x||f.x===x.x&&oFi(x,f)))&&(x=f,Q=T)),f=f.next;while(f!==I);return x}function oFi(o,A){return Xd(o.prev,o,A.prev)<0&&Xd(A.next,o,o.next)<0}function aFi(o,A,f,m){var C=o;do C.z===0&&(C.z=CMe(C.x,C.y,A,f,m)),C.prevZ=C.prev,C.nextZ=C.next,C=C.next;while(C!==o);C.prevZ.nextZ=null,C.prevZ=null,sFi(C)}function sFi(o){var A,f,m,C,E,x,y,I,v=1;do{for(f=o,o=null,E=null,x=0;f;){for(x++,m=f,y=0,A=0;A0||I>0&&m;)y!==0&&(I===0||!m||f.z<=m.z)?(C=f,f=f.nextZ,y--):(C=m,m=m.nextZ,I--),E?E.nextZ=C:o=C,C.prevZ=E,E=C;f=m}E.nextZ=null,v*=2}while(x>1);return o}function CMe(o,A,f,m,C){return o=(o-f)*C|0,A=(A-m)*C|0,o=(o|o<<8)&16711935,o=(o|o<<4)&252645135,o=(o|o<<2)&858993459,o=(o|o<<1)&1431655765,A=(A|A<<8)&16711935,A=(A|A<<4)&252645135,A=(A|A<<2)&858993459,A=(A|A<<1)&1431655765,o|A<<1}function lFi(o){var A=o,f=o;do(A.x=(o-x)*(E-y)&&(o-x)*(m-y)>=(f-x)*(A-y)&&(f-x)*(E-y)>=(C-x)*(m-y)}function uFi(o,A){return o.next.i!==A.i&&o.prev.i!==A.i&&!AFi(o,A)&&(YK(o,A)&&YK(A,o)&&cFi(o,A)&&(Xd(o.prev,o,A.prev)||Xd(o,A.prev,A))||Ese(o,A)&&Xd(o.prev,o,o.next)>0&&Xd(A.prev,A,A.next)>0)}function Xd(o,A,f){return(A.y-o.y)*(f.x-A.x)-(A.x-o.x)*(f.y-A.y)}function Ese(o,A){return o.x===A.x&&o.y===A.y}function Uut(o,A,f,m){var C=mse(Xd(o,A,f)),E=mse(Xd(o,A,m)),x=mse(Xd(f,m,o)),y=mse(Xd(f,m,A));return!!(C!==E&&x!==y||C===0&&pse(o,f,A)||E===0&&pse(o,m,A)||x===0&&pse(f,o,m)||y===0&&pse(f,A,m))}function pse(o,A,f){return A.x<=Math.max(o.x,f.x)&&A.x>=Math.min(o.x,f.x)&&A.y<=Math.max(o.y,f.y)&&A.y>=Math.min(o.y,f.y)}function mse(o){return o>0?1:o<0?-1:0}function AFi(o,A){var f=o;do{if(f.i!==o.i&&f.next.i!==o.i&&f.i!==A.i&&f.next.i!==A.i&&Uut(f,f.next,o,A))return!0;f=f.next}while(f!==o);return!1}function YK(o,A){return Xd(o.prev,o,o.next)<0?Xd(o,A,o.next)>=0&&Xd(o,o.prev,A)>=0:Xd(o,A,o.prev)<0||Xd(o,o.next,A)<0}function cFi(o,A){var f=o,m=!1,C=(o.x+A.x)/2,E=(o.y+A.y)/2;do f.y>E!=f.next.y>E&&f.next.y!==f.y&&C<(f.next.x-f.x)*(E-f.y)/(f.next.y-f.y)+f.x&&(m=!m),f=f.next;while(f!==o);return m}function Gut(o,A){var f=new EMe(o.i,o.x,o.y),m=new EMe(A.i,A.x,A.y),C=o.next,E=A.prev;return o.next=A,A.prev=o,f.next=C,C.prev=f,m.next=f,f.prev=m,E.next=m,m.prev=E,m}function kut(o,A,f,m){var C=new EMe(o,A,f);return m?(C.next=m.next,C.prev=m,m.next.prev=C,m.next=C):(C.prev=C,C.next=C),C}function JK(o){o.next.prev=o.prev,o.prev.next=o.next,o.prevZ&&(o.prevZ.nextZ=o.nextZ),o.nextZ&&(o.nextZ.prevZ=o.prevZ)}function EMe(o,A,f){this.i=o,this.x=A,this.y=f,this.prev=null,this.next=null,this.z=0,this.prevZ=null,this.nextZ=null,this.steiner=!1}Cse.deviation=function(o,A,f,m){var C=A&&A.length,E=C?A[0]*f:o.length,x=Math.abs(xMe(o,0,E,f));if(C)for(var y=0,I=A.length;y0&&(m+=o[C-1].length,f.holes.push(m))}return f}});var xse=wA(()=>{console.log("I'm `fs` modules")});var IMe=wA((Xji,Vut)=>{"use strict";Vut.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var A={},f=Symbol("test"),m=Object(f);if(typeof f=="string"||Object.prototype.toString.call(f)!=="[object Symbol]"||Object.prototype.toString.call(m)!=="[object Symbol]")return!1;var C=42;A[f]=C;for(f in A)return!1;if(typeof Object.keys=="function"&&Object.keys(A).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(A).length!==0)return!1;var E=Object.getOwnPropertySymbols(A);if(E.length!==1||E[0]!==f||!Object.prototype.propertyIsEnumerable.call(A,f))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var x=Object.getOwnPropertyDescriptor(A,f);if(x.value!==C||x.enumerable!==!0)return!1}return!0}});var yse=wA((Zji,zut)=>{"use strict";var hFi=IMe();zut.exports=function(){return hFi()&&!!Symbol.toStringTag}});var Kut=wA(($ji,Jut)=>{"use strict";var Yut=typeof Symbol<"u"&&Symbol,dFi=IMe();Jut.exports=function(){return typeof Yut!="function"||typeof Symbol!="function"||typeof Yut("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:dFi()}});var qut=wA((eqi,jut)=>{"use strict";var Wut={foo:{}},fFi=Object;jut.exports=function(){return{__proto__:Wut}.foo===Wut.foo&&!({__proto__:null}instanceof fFi)}});var Zut=wA((tqi,Xut)=>{"use strict";var gFi="Function.prototype.bind called on incompatible ",_Me=Array.prototype.slice,pFi=Object.prototype.toString,mFi="[object Function]";Xut.exports=function(A){var f=this;if(typeof f!="function"||pFi.call(f)!==mFi)throw new TypeError(gFi+f);for(var m=_Me.call(arguments,1),C,E=function(){if(this instanceof C){var B=f.apply(this,m.concat(_Me.call(arguments)));return Object(B)===B?B:this}else return f.apply(A,m.concat(_Me.call(arguments)))},x=Math.max(0,f.length-m.length),y=[],I=0;I{"use strict";var CFi=Zut();$ut.exports=Function.prototype.bind||CFi});var tAt=wA((rqi,eAt)=>{"use strict";var EFi=Ise();eAt.exports=EFi.call(Function.call,Object.prototype.hasOwnProperty)});var Bse=wA((nqi,aAt)=>{"use strict";var bu,_H=SyntaxError,oAt=Function,IH=TypeError,vMe=function(o){try{return oAt('"use strict"; return ('+o+").constructor;")()}catch{}},vk=Object.getOwnPropertyDescriptor;if(vk)try{vk({},"")}catch{vk=null}var BMe=function(){throw new IH},xFi=vk?function(){try{return arguments.callee,BMe}catch{try{return vk(arguments,"callee").get}catch{return BMe}}}():BMe,xH=Kut()(),yFi=qut()(),Ip=Object.getPrototypeOf||(yFi?function(o){return o.__proto__}:null),yH={},IFi=typeof Uint8Array>"u"||!Ip?bu:Ip(Uint8Array),Bk={"%AggregateError%":typeof AggregateError>"u"?bu:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?bu:ArrayBuffer,"%ArrayIteratorPrototype%":xH&&Ip?Ip([][Symbol.iterator]()):bu,"%AsyncFromSyncIteratorPrototype%":bu,"%AsyncFunction%":yH,"%AsyncGenerator%":yH,"%AsyncGeneratorFunction%":yH,"%AsyncIteratorPrototype%":yH,"%Atomics%":typeof Atomics>"u"?bu:Atomics,"%BigInt%":typeof BigInt>"u"?bu:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?bu:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?bu:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?bu:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?bu:Float32Array,"%Float64Array%":typeof Float64Array>"u"?bu:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?bu:FinalizationRegistry,"%Function%":oAt,"%GeneratorFunction%":yH,"%Int8Array%":typeof Int8Array>"u"?bu:Int8Array,"%Int16Array%":typeof Int16Array>"u"?bu:Int16Array,"%Int32Array%":typeof Int32Array>"u"?bu:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":xH&&Ip?Ip(Ip([][Symbol.iterator]())):bu,"%JSON%":typeof JSON=="object"?JSON:bu,"%Map%":typeof Map>"u"?bu:Map,"%MapIteratorPrototype%":typeof Map>"u"||!xH||!Ip?bu:Ip(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?bu:Promise,"%Proxy%":typeof Proxy>"u"?bu:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?bu:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?bu:Set,"%SetIteratorPrototype%":typeof Set>"u"||!xH||!Ip?bu:Ip(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?bu:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":xH&&Ip?Ip(""[Symbol.iterator]()):bu,"%Symbol%":xH?Symbol:bu,"%SyntaxError%":_H,"%ThrowTypeError%":xFi,"%TypedArray%":IFi,"%TypeError%":IH,"%Uint8Array%":typeof Uint8Array>"u"?bu:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?bu:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?bu:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?bu:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?bu:WeakMap,"%WeakRef%":typeof WeakRef>"u"?bu:WeakRef,"%WeakSet%":typeof WeakSet>"u"?bu:WeakSet};if(Ip)try{null.error}catch(o){iAt=Ip(Ip(o)),Bk["%Error.prototype%"]=iAt}var iAt,_Fi=function o(A){var f;if(A==="%AsyncFunction%")f=vMe("async function () {}");else if(A==="%GeneratorFunction%")f=vMe("function* () {}");else if(A==="%AsyncGeneratorFunction%")f=vMe("async function* () {}");else if(A==="%AsyncGenerator%"){var m=o("%AsyncGeneratorFunction%");m&&(f=m.prototype)}else if(A==="%AsyncIteratorPrototype%"){var C=o("%AsyncGenerator%");C&&Ip&&(f=Ip(C.prototype))}return Bk[A]=f,f},rAt={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},KK=Ise(),_se=tAt(),vFi=KK.call(Function.call,Array.prototype.concat),BFi=KK.call(Function.apply,Array.prototype.splice),nAt=KK.call(Function.call,String.prototype.replace),vse=KK.call(Function.call,String.prototype.slice),wFi=KK.call(Function.call,RegExp.prototype.exec),bFi=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,QFi=/\\(\\)?/g,SFi=function(A){var f=vse(A,0,1),m=vse(A,-1);if(f==="%"&&m!=="%")throw new _H("invalid intrinsic syntax, expected closing `%`");if(m==="%"&&f!=="%")throw new _H("invalid intrinsic syntax, expected opening `%`");var C=[];return nAt(A,bFi,function(E,x,y,I){C[C.length]=y?nAt(I,QFi,"$1"):x||E}),C},DFi=function(A,f){var m=A,C;if(_se(rAt,m)&&(C=rAt[m],m="%"+C[0]+"%"),_se(Bk,m)){var E=Bk[m];if(E===yH&&(E=_Fi(m)),typeof E>"u"&&!f)throw new IH("intrinsic "+A+" exists, but is not available. Please file an issue!");return{alias:C,name:m,value:E}}throw new _H("intrinsic "+A+" does not exist!")};aAt.exports=function(A,f){if(typeof A!="string"||A.length===0)throw new IH("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof f!="boolean")throw new IH('"allowMissing" argument must be a boolean');if(wFi(/^%?[^%]*%?$/,A)===null)throw new _H("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var m=SFi(A),C=m.length>0?m[0]:"",E=DFi("%"+C+"%",f),x=E.name,y=E.value,I=!1,v=E.alias;v&&(C=v[0],BFi(m,vFi([0,1],v)));for(var B=1,Q=!0;B=m.length){var D=vk(y,T);Q=!!D,Q&&"get"in D&&!("originalValue"in D.get)?y=D.get:y=y[T]}else Q=_se(y,T),y=y[T];Q&&!I&&(Bk[x]=y)}}return y}});var bMe=wA((oqi,wse)=>{"use strict";var wMe=Ise(),vH=Bse(),uAt=vH("%Function.prototype.apply%"),AAt=vH("%Function.prototype.call%"),cAt=vH("%Reflect.apply%",!0)||wMe.call(AAt,uAt),sAt=vH("%Object.getOwnPropertyDescriptor%",!0),wk=vH("%Object.defineProperty%",!0),TFi=vH("%Math.max%");if(wk)try{wk({},"a",{value:1})}catch{wk=null}wse.exports=function(A){var f=cAt(wMe,AAt,arguments);if(sAt&&wk){var m=sAt(f,"length");m.configurable&&wk(f,"length",{value:1+TFi(0,A.length-(arguments.length-1))})}return f};var lAt=function(){return cAt(wMe,uAt,arguments)};wk?wk(wse.exports,"apply",{value:lAt}):wse.exports.apply=lAt});var QMe=wA((aqi,fAt)=>{"use strict";var hAt=Bse(),dAt=bMe(),MFi=dAt(hAt("String.prototype.indexOf"));fAt.exports=function(A,f){var m=hAt(A,!!f);return typeof m=="function"&&MFi(A,".prototype.")>-1?dAt(m):m}});var mAt=wA((sqi,pAt)=>{"use strict";var PFi=yse()(),RFi=QMe(),SMe=RFi("Object.prototype.toString"),bse=function(A){return PFi&&A&&typeof A=="object"&&Symbol.toStringTag in A?!1:SMe(A)==="[object Arguments]"},gAt=function(A){return bse(A)?!0:A!==null&&typeof A=="object"&&typeof A.length=="number"&&A.length>=0&&SMe(A)!=="[object Array]"&&SMe(A.callee)==="[object Function]"},LFi=function(){return bse(arguments)}();bse.isLegacyArguments=gAt;pAt.exports=LFi?bse:gAt});var xAt=wA((lqi,EAt)=>{"use strict";var FFi=Object.prototype.toString,NFi=Function.prototype.toString,kFi=/^\s*(?:function)?\*/,CAt=yse()(),DMe=Object.getPrototypeOf,OFi=function(){if(!CAt)return!1;try{return Function("return function*() {}")()}catch{}},TMe;EAt.exports=function(A){if(typeof A!="function")return!1;if(kFi.test(NFi.call(A)))return!0;if(!CAt){var f=FFi.call(A);return f==="[object GeneratorFunction]"}if(!DMe)return!1;if(typeof TMe>"u"){var m=OFi();TMe=m?DMe(m):!1}return DMe(A)===TMe}});var vAt=wA((uqi,_At)=>{"use strict";var IAt=Function.prototype.toString,BH=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,PMe,Qse;if(typeof BH=="function"&&typeof Object.defineProperty=="function")try{PMe=Object.defineProperty({},"length",{get:function(){throw Qse}}),Qse={},BH(function(){throw 42},null,PMe)}catch(o){o!==Qse&&(BH=null)}else BH=null;var UFi=/^\s*class\b/,RMe=function(A){try{var f=IAt.call(A);return UFi.test(f)}catch{return!1}},MMe=function(A){try{return RMe(A)?!1:(IAt.call(A),!0)}catch{return!1}},Sse=Object.prototype.toString,GFi="[object Object]",HFi="[object Function]",VFi="[object GeneratorFunction]",zFi="[object HTMLAllCollection]",YFi="[object HTML document.all class]",JFi="[object HTMLCollection]",KFi=typeof Symbol=="function"&&!!Symbol.toStringTag,WFi=!(0 in[,]),LMe=function(){return!1};typeof document=="object"&&(yAt=document.all,Sse.call(yAt)===Sse.call(document.all)&&(LMe=function(A){if((WFi||!A)&&(typeof A>"u"||typeof A=="object"))try{var f=Sse.call(A);return(f===zFi||f===YFi||f===JFi||f===GFi)&&A("")==null}catch{}return!1}));var yAt;_At.exports=BH?function(A){if(LMe(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;try{BH(A,null,PMe)}catch(f){if(f!==Qse)return!1}return!RMe(A)&&MMe(A)}:function(A){if(LMe(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;if(KFi)return MMe(A);if(RMe(A))return!1;var f=Sse.call(A);return f!==HFi&&f!==VFi&&!/^\[object HTML/.test(f)?!1:MMe(A)}});var bAt=wA((Aqi,wAt)=>{"use strict";var jFi=vAt(),qFi=Object.prototype.toString,BAt=Object.prototype.hasOwnProperty,XFi=function(A,f,m){for(var C=0,E=A.length;C=3&&(C=m),qFi.call(A)==="[object Array]"?XFi(A,f,C):typeof A=="string"?ZFi(A,f,C):$Fi(A,f,C)};wAt.exports=eNi});var SAt=wA((cqi,QAt)=>{"use strict";var FMe=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],tNi=typeof globalThis>"u"?global:globalThis;QAt.exports=function(){for(var A=[],f=0;f{"use strict";var iNi=Bse(),Dse=iNi("%Object.getOwnPropertyDescriptor%",!0);if(Dse)try{Dse([],"length")}catch{Dse=null}DAt.exports=Dse});var GMe=wA((dqi,LAt)=>{"use strict";var Mse=bAt(),rNi=SAt(),MAt=bMe(),OMe=QMe(),Tse=TAt(),nNi=OMe("Object.prototype.toString"),RAt=yse()(),PAt=typeof globalThis>"u"?global:globalThis,kMe=rNi(),UMe=OMe("String.prototype.slice"),NMe=Object.getPrototypeOf,oNi=OMe("Array.prototype.indexOf",!0)||function(A,f){for(var m=0;m-1?f:f!=="Object"?!1:sNi(A)}return Tse?aNi(A):null}});var NAt=wA((fqi,FAt)=>{"use strict";var lNi=GMe();FAt.exports=function(A){return!!lNi(A)}});var XAt=wA(pu=>{"use strict";var uNi=mAt(),ANi=xAt(),r1=GMe(),kAt=NAt();function wH(o){return o.call.bind(o)}var OAt=typeof BigInt<"u",UAt=typeof Symbol<"u",Uv=wH(Object.prototype.toString),cNi=wH(Number.prototype.valueOf),hNi=wH(String.prototype.valueOf),dNi=wH(Boolean.prototype.valueOf);OAt&&(GAt=wH(BigInt.prototype.valueOf));var GAt;UAt&&(HAt=wH(Symbol.prototype.valueOf));var HAt;function jK(o,A){if(typeof o!="object")return!1;try{return A(o),!0}catch{return!1}}pu.isArgumentsObject=uNi;pu.isGeneratorFunction=ANi;pu.isTypedArray=kAt;function fNi(o){return typeof Promise<"u"&&o instanceof Promise||o!==null&&typeof o=="object"&&typeof o.then=="function"&&typeof o.catch=="function"}pu.isPromise=fNi;function gNi(o){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(o):kAt(o)||zAt(o)}pu.isArrayBufferView=gNi;function pNi(o){return r1(o)==="Uint8Array"}pu.isUint8Array=pNi;function mNi(o){return r1(o)==="Uint8ClampedArray"}pu.isUint8ClampedArray=mNi;function CNi(o){return r1(o)==="Uint16Array"}pu.isUint16Array=CNi;function ENi(o){return r1(o)==="Uint32Array"}pu.isUint32Array=ENi;function xNi(o){return r1(o)==="Int8Array"}pu.isInt8Array=xNi;function yNi(o){return r1(o)==="Int16Array"}pu.isInt16Array=yNi;function INi(o){return r1(o)==="Int32Array"}pu.isInt32Array=INi;function _Ni(o){return r1(o)==="Float32Array"}pu.isFloat32Array=_Ni;function vNi(o){return r1(o)==="Float64Array"}pu.isFloat64Array=vNi;function BNi(o){return r1(o)==="BigInt64Array"}pu.isBigInt64Array=BNi;function wNi(o){return r1(o)==="BigUint64Array"}pu.isBigUint64Array=wNi;function Rse(o){return Uv(o)==="[object Map]"}Rse.working=typeof Map<"u"&&Rse(new Map);function bNi(o){return typeof Map>"u"?!1:Rse.working?Rse(o):o instanceof Map}pu.isMap=bNi;function Lse(o){return Uv(o)==="[object Set]"}Lse.working=typeof Set<"u"&&Lse(new Set);function QNi(o){return typeof Set>"u"?!1:Lse.working?Lse(o):o instanceof Set}pu.isSet=QNi;function Fse(o){return Uv(o)==="[object WeakMap]"}Fse.working=typeof WeakMap<"u"&&Fse(new WeakMap);function SNi(o){return typeof WeakMap>"u"?!1:Fse.working?Fse(o):o instanceof WeakMap}pu.isWeakMap=SNi;function VMe(o){return Uv(o)==="[object WeakSet]"}VMe.working=typeof WeakSet<"u"&&VMe(new WeakSet);function DNi(o){return VMe(o)}pu.isWeakSet=DNi;function Nse(o){return Uv(o)==="[object ArrayBuffer]"}Nse.working=typeof ArrayBuffer<"u"&&Nse(new ArrayBuffer);function VAt(o){return typeof ArrayBuffer>"u"?!1:Nse.working?Nse(o):o instanceof ArrayBuffer}pu.isArrayBuffer=VAt;function kse(o){return Uv(o)==="[object DataView]"}kse.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&kse(new DataView(new ArrayBuffer(1),0,1));function zAt(o){return typeof DataView>"u"?!1:kse.working?kse(o):o instanceof DataView}pu.isDataView=zAt;var HMe=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function WK(o){return Uv(o)==="[object SharedArrayBuffer]"}function YAt(o){return typeof HMe>"u"?!1:(typeof WK.working>"u"&&(WK.working=WK(new HMe)),WK.working?WK(o):o instanceof HMe)}pu.isSharedArrayBuffer=YAt;function TNi(o){return Uv(o)==="[object AsyncFunction]"}pu.isAsyncFunction=TNi;function MNi(o){return Uv(o)==="[object Map Iterator]"}pu.isMapIterator=MNi;function PNi(o){return Uv(o)==="[object Set Iterator]"}pu.isSetIterator=PNi;function RNi(o){return Uv(o)==="[object Generator]"}pu.isGeneratorObject=RNi;function LNi(o){return Uv(o)==="[object WebAssembly.Module]"}pu.isWebAssemblyCompiledModule=LNi;function JAt(o){return jK(o,cNi)}pu.isNumberObject=JAt;function KAt(o){return jK(o,hNi)}pu.isStringObject=KAt;function WAt(o){return jK(o,dNi)}pu.isBooleanObject=WAt;function jAt(o){return OAt&&jK(o,GAt)}pu.isBigIntObject=jAt;function qAt(o){return UAt&&jK(o,HAt)}pu.isSymbolObject=qAt;function FNi(o){return JAt(o)||KAt(o)||WAt(o)||jAt(o)||qAt(o)}pu.isBoxedPrimitive=FNi;function NNi(o){return typeof Uint8Array<"u"&&(VAt(o)||YAt(o))}pu.isAnyArrayBuffer=NNi;["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(o){Object.defineProperty(pu,o,{enumerable:!1,value:function(){throw new Error(o+" is not supported in userland")}})})});var $At=wA((pqi,ZAt)=>{ZAt.exports=function(A){return A&&typeof A=="object"&&typeof A.copy=="function"&&typeof A.fill=="function"&&typeof A.readUInt8=="function"}});var ect=wA((mqi,zMe)=>{typeof Object.create=="function"?zMe.exports=function(A,f){f&&(A.super_=f,A.prototype=Object.create(f.prototype,{constructor:{value:A,enumerable:!1,writable:!0,configurable:!0}}))}:zMe.exports=function(A,f){if(f){A.super_=f;var m=function(){};m.prototype=f.prototype,A.prototype=new m,A.prototype.constructor=A}}});var act=wA(mu=>{var tct=Object.getOwnPropertyDescriptors||function(A){for(var f=Object.keys(A),m={},C=0;C=C)return y;switch(y){case"%s":return String(m[f++]);case"%d":return Number(m[f++]);case"%j":try{return JSON.stringify(m[f++])}catch{return"[Circular]"}default:return y}}),x=m[f];f"u")return function(){return mu.deprecate(o,A).apply(this,arguments)};var f=!1;function m(){if(!f){if(process.throwDeprecation)throw new Error(A);process.traceDeprecation?console.trace(A):console.error(A),f=!0}return o.apply(this,arguments)}return m};var Ose={},ict=/^$/;process.env.NODE_DEBUG&&(Use=process.env.NODE_DEBUG,Use=Use.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),ict=new RegExp("^"+Use+"$","i"));var Use;mu.debuglog=function(o){if(o=o.toUpperCase(),!Ose[o])if(ict.test(o)){var A=process.pid;Ose[o]=function(){var f=mu.format.apply(mu,arguments);console.error("%s %d: %s",o,A,f)}}else Ose[o]=function(){};return Ose[o]};function KR(o,A){var f={seen:[],stylize:UNi};return arguments.length>=3&&(f.depth=arguments[2]),arguments.length>=4&&(f.colors=arguments[3]),WMe(A)?f.showHidden=A:A&&mu._extend(f,A),Qk(f.showHidden)&&(f.showHidden=!1),Qk(f.depth)&&(f.depth=2),Qk(f.colors)&&(f.colors=!1),Qk(f.customInspect)&&(f.customInspect=!0),f.colors&&(f.stylize=ONi),Hse(f,o,f.depth)}mu.inspect=KR;KR.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]};KR.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ONi(o,A){var f=KR.styles[A];return f?"\x1B["+KR.colors[f][0]+"m"+o+"\x1B["+KR.colors[f][1]+"m":o}function UNi(o,A){return o}function GNi(o){var A={};return o.forEach(function(f,m){A[f]=!0}),A}function Hse(o,A,f){if(o.customInspect&&A&&Gse(A.inspect)&&A.inspect!==mu.inspect&&!(A.constructor&&A.constructor.prototype===A)){var m=A.inspect(f,o);return Yse(m)||(m=Hse(o,m,f)),m}var C=HNi(o,A);if(C)return C;var E=Object.keys(A),x=GNi(E);if(o.showHidden&&(E=Object.getOwnPropertyNames(A)),XK(A)&&(E.indexOf("message")>=0||E.indexOf("description")>=0))return YMe(A);if(E.length===0){if(Gse(A)){var y=A.name?": "+A.name:"";return o.stylize("[Function"+y+"]","special")}if(qK(A))return o.stylize(RegExp.prototype.toString.call(A),"regexp");if(Vse(A))return o.stylize(Date.prototype.toString.call(A),"date");if(XK(A))return YMe(A)}var I="",v=!1,B=["{","}"];if(rct(A)&&(v=!0,B=["[","]"]),Gse(A)){var Q=A.name?": "+A.name:"";I=" [Function"+Q+"]"}if(qK(A)&&(I=" "+RegExp.prototype.toString.call(A)),Vse(A)&&(I=" "+Date.prototype.toUTCString.call(A)),XK(A)&&(I=" "+YMe(A)),E.length===0&&(!v||A.length==0))return B[0]+I+B[1];if(f<0)return qK(A)?o.stylize(RegExp.prototype.toString.call(A),"regexp"):o.stylize("[Object]","special");o.seen.push(A);var T;return v?T=VNi(o,A,f,x,E):T=E.map(function(w){return KMe(o,A,f,x,w,v)}),o.seen.pop(),zNi(T,I,B)}function HNi(o,A){if(Qk(A))return o.stylize("undefined","undefined");if(Yse(A)){var f="'"+JSON.stringify(A).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return o.stylize(f,"string")}if(nct(A))return o.stylize(""+A,"number");if(WMe(A))return o.stylize(""+A,"boolean");if(zse(A))return o.stylize("null","null")}function YMe(o){return"["+Error.prototype.toString.call(o)+"]"}function VNi(o,A,f,m,C){for(var E=[],x=0,y=A.length;x-1&&(E?y=y.split(`
`).map(function(v){return" "+v}).join(`
`).slice(2):y=`
`+y.split(`
`).map(function(v){return" "+v}).join(`
`))):y=o.stylize("[Circular]","special")),Qk(x)){if(E&&C.match(/^\d+$/))return y;x=JSON.stringify(""+C),x.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(x=x.slice(1,-1),x=o.stylize(x,"name")):(x=x.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),x=o.stylize(x,"string"))}return x+": "+y}function zNi(o,A,f){var m=0,C=o.reduce(function(E,x){return m++,x.indexOf(`
`)>=0&&m++,E+x.replace(/\u001b\[\d\d?m/g,"").length+1},0);return C>60?f[0]+(A===""?"":A+`
`)+" "+o.join(`,
`)+" "+f[1]:f[0]+A+" "+o.join(", ")+" "+f[1]}mu.types=XAt();function rct(o){return Array.isArray(o)}mu.isArray=rct;function WMe(o){return typeof o=="boolean"}mu.isBoolean=WMe;function zse(o){return o===null}mu.isNull=zse;function YNi(o){return o==null}mu.isNullOrUndefined=YNi;function nct(o){return typeof o=="number"}mu.isNumber=nct;function Yse(o){return typeof o=="string"}mu.isString=Yse;function JNi(o){return typeof o=="symbol"}mu.isSymbol=JNi;function Qk(o){return o===void 0}mu.isUndefined=Qk;function qK(o){return bH(o)&&jMe(o)==="[object RegExp]"}mu.isRegExp=qK;mu.types.isRegExp=qK;function bH(o){return typeof o=="object"&&o!==null}mu.isObject=bH;function Vse(o){return bH(o)&&jMe(o)==="[object Date]"}mu.isDate=Vse;mu.types.isDate=Vse;function XK(o){return bH(o)&&(jMe(o)==="[object Error]"||o instanceof Error)}mu.isError=XK;mu.types.isNativeError=XK;function Gse(o){return typeof o=="function"}mu.isFunction=Gse;function KNi(o){return o===null||typeof o=="boolean"||typeof o=="number"||typeof o=="string"||typeof o=="symbol"||typeof o>"u"}mu.isPrimitive=KNi;mu.isBuffer=$At();function jMe(o){return Object.prototype.toString.call(o)}function JMe(o){return o<10?"0"+o.toString(10):o.toString(10)}var WNi=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function jNi(){var o=new Date,A=[JMe(o.getHours()),JMe(o.getMinutes()),JMe(o.getSeconds())].join(":");return[o.getDate(),WNi[o.getMonth()],A].join(" ")}mu.log=function(){console.log("%s - %s",jNi(),mu.format.apply(mu,arguments))};mu.inherits=ect();mu._extend=function(o,A){if(!A||!bH(A))return o;for(var f=Object.keys(A),m=f.length;m--;)o[f[m]]=A[f[m]];return o};function oct(o,A){return Object.prototype.hasOwnProperty.call(o,A)}var bk=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;mu.promisify=function(A){if(typeof A!="function")throw new TypeError('The "original" argument must be of type Function');if(bk&&A[bk]){var f=A[bk];if(typeof f!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(f,bk,{value:f,enumerable:!1,writable:!1,configurable:!0}),f}function f(){for(var m,C,E=new Promise(function(I,v){m=I,C=v}),x=[],y=0;y{var ZK=ZK||{};(function(){"use strict";var o=ZK.platform==="win32",A=act();function f(I,v){for(var B=0,Q=I.length-1;Q>=0;Q--){var T=I[Q];T==="."?I.splice(Q,1):T===".."?(I.splice(Q,1),B++):B&&(I.splice(Q,1),B--)}if(v)for(;B--;B)I.unshift("..");return I}if(o){var m=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,C=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,E=function(I){var v=m.exec(I),B=(v[1]||"")+(v[2]||""),Q=v[3]||"",T=C.exec(Q),w=T[1],S=T[2],D=T[3];return[B,w,S,D]},x=function(I){return"\\\\"+I.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")};xA.resolve=function(){for(var I="",v="",B=!1,Q=arguments.length-1;Q>=-1;Q--){var T;if(Q>=0?T=arguments[Q]:I?(T=ZK.env["="+I],(!T||T.substr(0,3).toLowerCase()!==I.toLowerCase()+"\\")&&(T=I+"\\")):T=ZK.cwd(),A.isString(T)){if(!T)continue}else throw new TypeError("Arguments to path.resolve must be strings");var w=m.exec(T),S=w[1]||"",D=S&&S.charAt(1)!==":",R=xA.isAbsolute(T),P=w[3];if(!(S&&I&&S.toLowerCase()!==I.toLowerCase())&&(I||(I=S),B||(v=P+"\\"+v,B=R),I&&B))break}D&&(I=x(I));function M(L){return!!L}return v=f(v.split(/[\\\/]+/).filter(M),!B).join("\\"),I+(B?"\\":"")+v||"."},xA.normalize=function(I){var v=m.exec(I),B=v[1]||"",Q=B&&B.charAt(1)!==":",T=xA.isAbsolute(I),w=v[3],S=/[\\\/]$/.test(w);return B&&B.charAt(1)===":"&&(B=B[0].toLowerCase()+B.substr(1)),w=f(w.split(/[\\\/]+/).filter(function(D){return!!D}),!T).join("\\"),!w&&!T&&(w="."),w&&S&&(w+="\\"),Q&&(B=x(B)),B+(T?"\\":"")+w},xA.isAbsolute=function(I){var v=m.exec(I),B=v[1]||"",Q=!!B&&B.charAt(1)!==":";return!!v[2]||Q},xA.join=function(){function I(Q){if(!A.isString(Q))throw new TypeError("Arguments to path.join must be strings");return Q}var v=Array.prototype.filter.call(arguments,I),B=v.join("\\");return/^[\\\/]{2}[^\\\/]/.test(v[0])||(B=B.replace(/^[\\\/]{2,}/,"\\")),xA.normalize(B)},xA.relative=function(I,v){I=xA.resolve(I),v=xA.resolve(v);var B=I.toLowerCase(),Q=v.toLowerCase();function T(F){for(var k=0;k=0&&F[N]==="";N--);return k>N?[]:F.slice(k,N+1)}for(var w=T(v.split("\\")),S=T(B.split("\\")),D=T(Q.split("\\")),R=Math.min(S.length,D.length),P=R,M=0;M=-1&&!B;Q--){var T=Q>=0?arguments[Q]:ZK.cwd();if(A.isString(T)){if(!T)continue}else throw new TypeError("Arguments to path.resolve must be strings");v=T+"/"+v,B=T.charAt(0)==="/"}return v=f(v.split("/").filter(function(w){return!!w}),!B).join("/"),(B?"/":"")+v||"."},xA.normalize=function(v){for(var B=xA.isAbsolute(v),Q=v[v.length-1]==="/",T=v.split("/"),w=[],S=0;S=0&&M[F]==="";F--);return L>F?[]:M.slice(L,F+1)}for(var T=Q(v.split("/")),w=Q(B.split("/")),S=Math.min(T.length,w.length),D=S,R=0;R{var Jse=void 0,Kse=function(o){return Jse||(Jse=new Promise(function(A,f){var m=typeof o<"u"?o:{},C=m.onAbort;m.onAbort=function($e){f(new Error($e)),C&&C($e)},m.postRun=m.postRun||[],m.postRun.push(function(){A(m)}),Sk=void 0;var E;E||(E=typeof m<"u"?m:{}),E.onRuntimeInitialized=function(){function $e(sr,vi){switch(typeof vi){case"boolean":Qp(sr,vi?1:0);break;case"number":NE(sr,vi);break;case"string":Em(sr,vi,-1,-1);break;case"object":if(vi===null)bp(sr);else if(vi.length!=null){var gr=ku(vi,uh);ry(sr,gr,vi.length,-1),Vg(gr)}else ug(sr,"Wrong API use : tried to return a value of an unknown type ("+vi+").",-1);break;default:bp(sr)}}function lt(sr,vi){for(var gr=[],Kr=0;Kr>>0),sr!=null){var vi=this.filename,gr="/",Kr=vi;if(gr&&(gr=typeof gr=="string"?gr:di(gr),Kr=vi?Ne(gr+"/"+vi):gr),vi=Lt(!0,!0),Kr=uo(Kr,(vi!==void 0?vi:438)&4095|32768,0),sr){if(typeof sr=="string"){gr=Array(sr.length);for(var xn=0,Pn=sr.length;xn($e=W($e)?new URL($e):R.normalize($e),D.readFileSync($e,lt?void 0:"utf8")),S=$e=>($e=T($e,!0),$e.buffer||($e=new Uint8Array($e)),$e),w=($e,lt,Dt,Fe=!0)=>{$e=W($e)?new URL($e):R.normalize($e),D.readFile($e,Fe?void 0:"utf8",(it,ht)=>{it?Dt(it):lt(Fe?ht.buffer:ht)})},!E.thisProgram&&1"[Emscripten Module object]"}else(I||v)&&(v?Q=self.location.href:typeof document<"u"&&document.currentScript&&(Q=document.currentScript.src),Q=Q.indexOf("blob:")!==0?Q.substr(0,Q.replace(/[?#].*/,"").lastIndexOf("/")+1):"",T=$e=>{var lt=new XMLHttpRequest;return lt.open("GET",$e,!1),lt.send(null),lt.responseText},v&&(S=$e=>{var lt=new XMLHttpRequest;return lt.open("GET",$e,!1),lt.responseType="arraybuffer",lt.send(null),new Uint8Array(lt.response)}),w=($e,lt,Dt)=>{var Fe=new XMLHttpRequest;Fe.open("GET",$e,!0),Fe.responseType="arraybuffer",Fe.onload=()=>{Fe.status==200||Fe.status==0&&Fe.response?lt(Fe.response):Dt()},Fe.onerror=Dt,Fe.send(null)});var P=E.print||console.log.bind(console),M=E.printErr||console.error.bind(console);Object.assign(E,x),x=null,E.thisProgram&&(y=E.thisProgram);var L;E.wasmBinary&&(L=E.wasmBinary),typeof WebAssembly!="object"&&ae("no native wasm support detected");var F,k=!1,N,G,J,K,X,q,ee;function ie(){var $e=F.buffer;E.HEAP8=N=new Int8Array($e),E.HEAP16=J=new Int16Array($e),E.HEAPU8=G=new Uint8Array($e),E.HEAPU16=new Uint16Array($e),E.HEAP32=K=new Int32Array($e),E.HEAPU32=X=new Uint32Array($e),E.HEAPF32=q=new Float32Array($e),E.HEAPF64=ee=new Float64Array($e)}var H=[],le=[],ue=[];function Ae(){var $e=E.preRun.shift();H.unshift($e)}var he=0,ge=null,fe=null;function ae($e){throw E.onAbort&&E.onAbort($e),$e="Aborted("+$e+")",M($e),k=!0,new WebAssembly.RuntimeError($e+". Build with -sASSERTIONS for more info.")}var U=$e=>$e.startsWith("data:application/octet-stream;base64,"),W=$e=>$e.startsWith("file://"),Y;if(Y="sql-wasm.wasm",!U(Y)){var z=Y;Y=E.locateFile?E.locateFile(z,Q):Q+z}function re($e){if($e==Y&&L)return new Uint8Array(L);if(S)return S($e);throw"both async and sync fetching of the wasm failed"}function se($e){if(!L&&(I||v)){if(typeof fetch=="function"&&!W($e))return fetch($e,{credentials:"same-origin"}).then(lt=>{if(!lt.ok)throw"failed to load wasm binary file at '"+$e+"'";return lt.arrayBuffer()}).catch(()=>re($e));if(w)return new Promise((lt,Dt)=>{w($e,Fe=>lt(new Uint8Array(Fe)),Dt)})}return Promise.resolve().then(()=>re($e))}function de($e,lt,Dt){return se($e).then(Fe=>WebAssembly.instantiate(Fe,lt)).then(Fe=>Fe).then(Dt,Fe=>{M(`failed to asynchronously prepare wasm: ${Fe}`),ae(Fe)})}function me($e,lt){var Dt=Y;L||typeof WebAssembly.instantiateStreaming!="function"||U(Dt)||W(Dt)||B||typeof fetch!="function"?de(Dt,$e,lt):fetch(Dt,{credentials:"same-origin"}).then(Fe=>WebAssembly.instantiateStreaming(Fe,$e).then(lt,function(it){return M(`wasm streaming compile failed: ${it}`),M("falling back to ArrayBuffer instantiation"),de(Dt,$e,lt)}))}var Ce,Ie,we=$e=>{for(;0<$e.length;)$e.shift()(E)};function Te($e,lt="i8"){switch(lt.endsWith("*")&&(lt="*"),lt){case"i1":return N[$e>>0];case"i8":return N[$e>>0];case"i16":return J[$e>>1];case"i32":return K[$e>>2];case"i64":ae("to do getValue(i64) use WASM_BIGINT");case"float":return q[$e>>2];case"double":return ee[$e>>3];case"*":return X[$e>>2];default:ae(`invalid type for getValue: ${lt}`)}}function Ge($e){var lt="i32";switch(lt.endsWith("*")&&(lt="*"),lt){case"i1":N[$e>>0]=0;break;case"i8":N[$e>>0]=0;break;case"i16":J[$e>>1]=0;break;case"i32":K[$e>>2]=0;break;case"i64":ae("to do setValue(i64) use WASM_BIGINT");case"float":q[$e>>2]=0;break;case"double":ee[$e>>3]=0;break;case"*":X[$e>>2]=0;break;default:ae(`invalid type for setValue: ${lt}`)}}var ke=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,Oe=($e,lt,Dt)=>{var Fe=lt+Dt;for(Dt=lt;$e[Dt]&&!(Dt>=Fe);)++Dt;if(16it?Fe+=String.fromCharCode(it):(it-=65536,Fe+=String.fromCharCode(55296|it>>10,56320|it&1023))}}else Fe+=String.fromCharCode(it)}return Fe},Le=($e,lt)=>$e?Oe(G,$e,lt):"",be=($e,lt)=>{for(var Dt=0,Fe=$e.length-1;0<=Fe;Fe--){var it=$e[Fe];it==="."?$e.splice(Fe,1):it===".."?($e.splice(Fe,1),Dt++):Dt&&($e.splice(Fe,1),Dt--)}if(lt)for(;Dt;Dt--)$e.unshift("..");return $e},Ne=$e=>{var lt=$e.charAt(0)==="/",Dt=$e.substr(-1)==="/";return($e=be($e.split("/").filter(Fe=>!!Fe),!lt).join("/"))||lt||($e="."),$e&&Dt&&($e+="/"),(lt?"/":"")+$e},Ue=$e=>{var lt=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec($e).slice(1);return $e=lt[0],lt=lt[1],!$e&&!lt?".":(lt&&(lt=lt.substr(0,lt.length-1)),$e+lt)},ze=$e=>{if($e==="/")return"/";$e=Ne($e),$e=$e.replace(/\/$/,"");var lt=$e.lastIndexOf("/");return lt===-1?$e:$e.substr(lt+1)},Je=()=>{if(typeof crypto=="object"&&typeof crypto.getRandomValues=="function")return Dt=>crypto.getRandomValues(Dt);if(B)try{var $e=My("crypto");if($e.randomFillSync)return Dt=>$e.randomFillSync(Dt);var lt=$e.randomBytes;return Dt=>(Dt.set(lt(Dt.byteLength)),Dt)}catch{}ae("initRandomDevice")},Xe=$e=>(Xe=Je())($e);function et(){for(var $e="",lt=!1,Dt=arguments.length-1;-1<=Dt&&!lt;Dt--){if(lt=0<=Dt?arguments[Dt]:"/",typeof lt!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!lt)return"";$e=lt+"/"+$e,lt=lt.charAt(0)==="/"}return $e=be($e.split("/").filter(Fe=>!!Fe),!lt).join("/"),(lt?"/":"")+$e||"."}var ot=[],Et=$e=>{for(var lt=0,Dt=0;Dt<$e.length;++Dt){var Fe=$e.charCodeAt(Dt);127>=Fe?lt++:2047>=Fe?lt+=2:55296<=Fe&&57343>=Fe?(lt+=4,++Dt):lt+=3}return lt},Ct=($e,lt,Dt,Fe)=>{if(!(0=Tt){var ai=$e.charCodeAt(++ht);Tt=65536+((Tt&1023)<<10)|ai&1023}if(127>=Tt){if(Dt>=Fe)break;lt[Dt++]=Tt}else{if(2047>=Tt){if(Dt+1>=Fe)break;lt[Dt++]=192|Tt>>6}else{if(65535>=Tt){if(Dt+2>=Fe)break;lt[Dt++]=224|Tt>>12}else{if(Dt+3>=Fe)break;lt[Dt++]=240|Tt>>18,lt[Dt++]=128|Tt>>12&63}lt[Dt++]=128|Tt>>6&63}lt[Dt++]=128|Tt&63}}return lt[Dt]=0,Dt-it};function ct($e,lt){var Dt=Array(Et($e)+1);return $e=Ct($e,Dt,0,Dt.length),lt&&(Dt.length=$e),Dt}var yt=[];function Qt($e,lt){yt[$e]={input:[],output:[],Xa:lt},Wi($e,Ze)}var Ze={open($e){var lt=yt[$e.node.rdev];if(!lt)throw new It(43);$e.tty=lt,$e.seekable=!1},close($e){$e.tty.Xa.fsync($e.tty)},fsync($e){$e.tty.Xa.fsync($e.tty)},read($e,lt,Dt,Fe){if(!$e.tty||!$e.tty.Xa.sb)throw new It(60);for(var it=0,ht=0;ht=lt||(lt=Math.max(lt,Dt*(1048576>Dt?2:1.125)>>>0),Dt!=0&&(lt=Math.max(lt,256)),Dt=$e.Ia,$e.Ia=new Uint8Array(lt),0<$e.Ma&&$e.Ia.set(Dt.subarray(0,$e.Ma),0))}var xt={Qa:null,Ra(){return xt.createNode(null,"/",16895,0)},createNode($e,lt,Dt,Fe){if((Dt&61440)===24576||(Dt&61440)===4096)throw new It(63);return xt.Qa||(xt.Qa={dir:{node:{Pa:xt.Ga.Pa,Oa:xt.Ga.Oa,lookup:xt.Ga.lookup,ab:xt.Ga.ab,rename:xt.Ga.rename,unlink:xt.Ga.unlink,rmdir:xt.Ga.rmdir,readdir:xt.Ga.readdir,symlink:xt.Ga.symlink},stream:{Ta:xt.Ha.Ta}},file:{node:{Pa:xt.Ga.Pa,Oa:xt.Ga.Oa},stream:{Ta:xt.Ha.Ta,read:xt.Ha.read,write:xt.Ha.write,lb:xt.Ha.lb,bb:xt.Ha.bb,cb:xt.Ha.cb}},link:{node:{Pa:xt.Ga.Pa,Oa:xt.Ga.Oa,readlink:xt.Ga.readlink},stream:{}},pb:{node:{Pa:xt.Ga.Pa,Oa:xt.Ga.Oa},stream:ti}}),Dt=Wt($e,lt,Dt,Fe),jt(Dt.mode)?(Dt.Ga=xt.Qa.dir.node,Dt.Ha=xt.Qa.dir.stream,Dt.Ia={}):(Dt.mode&61440)===32768?(Dt.Ga=xt.Qa.file.node,Dt.Ha=xt.Qa.file.stream,Dt.Ma=0,Dt.Ia=null):(Dt.mode&61440)===40960?(Dt.Ga=xt.Qa.link.node,Dt.Ha=xt.Qa.link.stream):(Dt.mode&61440)===8192&&(Dt.Ga=xt.Qa.pb.node,Dt.Ha=xt.Qa.pb.stream),Dt.timestamp=Date.now(),$e&&($e.Ia[lt]=Dt,$e.timestamp=Dt.timestamp),Dt},Lb($e){return $e.Ia?$e.Ia.subarray?$e.Ia.subarray(0,$e.Ma):new Uint8Array($e.Ia):new Uint8Array(0)},Ga:{Pa($e){var lt={};return lt.dev=($e.mode&61440)===8192?$e.id:1,lt.ino=$e.id,lt.mode=$e.mode,lt.nlink=1,lt.uid=0,lt.gid=0,lt.rdev=$e.rdev,jt($e.mode)?lt.size=4096:($e.mode&61440)===32768?lt.size=$e.Ma:($e.mode&61440)===40960?lt.size=$e.link.length:lt.size=0,lt.atime=new Date($e.timestamp),lt.mtime=new Date($e.timestamp),lt.ctime=new Date($e.timestamp),lt.zb=4096,lt.blocks=Math.ceil(lt.size/lt.zb),lt},Oa($e,lt){if(lt.mode!==void 0&&($e.mode=lt.mode),lt.timestamp!==void 0&&($e.timestamp=lt.timestamp),lt.size!==void 0&&(lt=lt.size,$e.Ma!=lt))if(lt==0)$e.Ia=null,$e.Ma=0;else{var Dt=$e.Ia;$e.Ia=new Uint8Array(lt),Dt&&$e.Ia.set(Dt.subarray(0,Math.min(lt,$e.Ma))),$e.Ma=lt}},lookup(){throw Mi[44]},ab($e,lt,Dt,Fe){return xt.createNode($e,lt,Dt,Fe)},rename($e,lt,Dt){if(jt($e.mode)){try{var Fe=Ei(lt,Dt)}catch{}if(Fe)for(var it in Fe.Ia)throw new It(55)}delete $e.parent.Ia[$e.name],$e.parent.timestamp=Date.now(),$e.name=Dt,lt.Ia[Dt]=$e,lt.timestamp=$e.parent.timestamp,$e.parent=lt},unlink($e,lt){delete $e.Ia[lt],$e.timestamp=Date.now()},rmdir($e,lt){var Dt=Ei($e,lt),Fe;for(Fe in Dt.Ia)throw new It(55);delete $e.Ia[lt],$e.timestamp=Date.now()},readdir($e){var lt=[".",".."],Dt;for(Dt in $e.Ia)$e.Ia.hasOwnProperty(Dt)&<.push(Dt);return lt},symlink($e,lt,Dt){return $e=xt.createNode($e,lt,41471,0),$e.link=Dt,$e},readlink($e){if(($e.mode&61440)!==40960)throw new It(28);return $e.link}},Ha:{read($e,lt,Dt,Fe,it){var ht=$e.node.Ia;if(it>=$e.node.Ma)return 0;if($e=Math.min($e.node.Ma-it,Fe),8<$e&&ht.subarray)lt.set(ht.subarray(it,it+$e),Dt);else for(Fe=0;Fe<$e;Fe++)lt[Dt+Fe]=ht[it+Fe];return $e},write($e,lt,Dt,Fe,it,ht){if(lt.buffer===N.buffer&&(ht=!1),!Fe)return 0;if($e=$e.node,$e.timestamp=Date.now(),lt.subarray&&(!$e.Ia||$e.Ia.subarray)){if(ht)return $e.Ia=lt.subarray(Dt,Dt+Fe),$e.Ma=Fe;if($e.Ma===0&&it===0)return $e.Ia=lt.slice(Dt,Dt+Fe),$e.Ma=Fe;if(it+Fe<=$e.Ma)return $e.Ia.set(lt.subarray(Dt,Dt+Fe),it),Fe}if(gt($e,it+Fe),$e.Ia.subarray&<.subarray)$e.Ia.set(lt.subarray(Dt,Dt+Fe),it);else for(ht=0;htlt)throw new It(28);return lt},lb($e,lt,Dt){gt($e.node,lt+Dt),$e.node.Ma=Math.max($e.node.Ma,lt+Dt)},bb($e,lt,Dt,Fe,it){if(($e.node.mode&61440)!==32768)throw new It(43);if($e=$e.node.Ia,it&2||$e.buffer!==N.buffer){if((0{var Dt=0;return $e&&(Dt|=365),lt&&(Dt|=146),Dt},nt=null,Pe={},ve=[],We=1,bt=null,Pt=!0,It=null,Mi={};function er($e,lt={}){if($e=et($e),!$e)return{path:"",node:null};if(lt=Object.assign({qb:!0,kb:0},lt),8!!Tt);for(var Dt=nt,Fe="/",it=0;it<$e.length;it++){var ht=it===$e.length-1;if(ht&<.parent)break;if(Dt=Ei(Dt,$e[it]),Fe=Ne(Fe+"/"+$e[it]),Dt.Va&&(!ht||ht&<.qb)&&(Dt=Dt.Va.root),!ht||lt.Sa){for(ht=0;(Dt.mode&61440)===40960;)if(Dt=bl(Fe),Fe=et(Ue(Fe),Dt),Dt=er(Fe,{kb:lt.kb+1}).node,40>>0)%bt.length}function Ri($e){var lt=wi($e.parent.id,$e.name);if(bt[lt]===$e)bt[lt]=$e.Wa;else for(lt=bt[lt];lt;){if(lt.Wa===$e){lt.Wa=$e.Wa;break}lt=lt.Wa}}function Ei($e,lt){var Dt;if(Dt=(Dt=mi($e,"x"))?Dt:$e.Ga.lookup?0:2)throw new It(Dt,$e);for(Dt=bt[wi($e.id,lt)];Dt;Dt=Dt.Wa){var Fe=Dt.name;if(Dt.parent.id===$e.id&&Fe===lt)return Dt}return $e.Ga.lookup($e,lt)}function Wt($e,lt,Dt,Fe){return $e=new FE($e,lt,Dt,Fe),lt=wi($e.parent.id,$e.name),$e.Wa=bt[lt],bt[lt]=$e}function jt($e){return($e&61440)===16384}function pi($e){var lt=["r","w","rw"][$e&3];return $e&512&&(lt+="w"),lt}function mi($e,lt){if(Pt)return 0;if(!lt.includes("r")||$e.mode&292){if(lt.includes("w")&&!($e.mode&146)||lt.includes("x")&&!($e.mode&73))return 2}else return 2;return 0}function Kt($e,lt){try{return Ei($e,lt),20}catch{}return mi($e,"wx")}function xi($e,lt,Dt){try{var Fe=Ei($e,lt)}catch(it){return it.Ka}if($e=mi($e,"wx"))return $e;if(Dt){if(!jt(Fe.mode))return 54;if(Fe===Fe.parent||di(Fe)==="/")return 10}else if(jt(Fe.mode))return 31;return 0}function _t(){for(var $e=0;4096>=$e;$e++)if(!ve[$e])return $e;throw new It(33)}function Mt($e){if($e=ve[$e],!$e)throw new It(8);return $e}function Ht($e,lt=-1){return Gi||(Gi=function(){this.$a={}},Gi.prototype={},Object.defineProperties(Gi.prototype,{object:{get(){return this.node},set(Dt){this.node=Dt}},flags:{get(){return this.$a.flags},set(Dt){this.$a.flags=Dt}},position:{get(){return this.$a.position},set(Dt){this.$a.position=Dt}}})),$e=Object.assign(new Gi,$e),lt==-1&&(lt=_t()),$e.fd=lt,ve[lt]=$e}var ti={open($e){$e.Ha=Pe[$e.node.rdev].Ha,$e.Ha.open&&$e.Ha.open($e)},Ta(){throw new It(70)}};function Wi($e,lt){Pe[$e]={Ha:lt}}function yi($e,lt){var Dt=lt==="/",Fe=!lt;if(Dt&&nt)throw new It(10);if(!Dt&&!Fe){var it=er(lt,{qb:!1});if(lt=it.path,it=it.node,it.Va)throw new It(10);if(!jt(it.mode))throw new It(54)}lt={type:$e,Pb:{},tb:lt,Cb:[]},$e=$e.Ra(lt),$e.Ra=lt,lt.root=$e,Dt?nt=$e:it&&(it.Va=lt,it.Ra&&it.Ra.Cb.push(lt))}function uo($e,lt,Dt){var Fe=er($e,{parent:!0}).node;if($e=ze($e),!$e||$e==="."||$e==="..")throw new It(28);var it=Kt(Fe,$e);if(it)throw new It(it);if(!Fe.Ga.ab)throw new It(63);return Fe.Ga.ab(Fe,$e,lt,Dt)}function wn($e,lt){return uo($e,(lt!==void 0?lt:511)&1023|16384,0)}function Un($e,lt,Dt){typeof Dt>"u"&&(Dt=lt,lt=438),uo($e,lt|8192,Dt)}function Ta($e,lt){if(!et($e))throw new It(44);var Dt=er(lt,{parent:!0}).node;if(!Dt)throw new It(44);lt=ze(lt);var Fe=Kt(Dt,lt);if(Fe)throw new It(Fe);if(!Dt.Ga.symlink)throw new It(63);Dt.Ga.symlink(Dt,lt,$e)}function Ma($e){var lt=er($e,{parent:!0}).node;$e=ze($e);var Dt=Ei(lt,$e),Fe=xi(lt,$e,!0);if(Fe)throw new It(Fe);if(!lt.Ga.rmdir)throw new It(63);if(Dt.Va)throw new It(10);lt.Ga.rmdir(lt,$e),Ri(Dt)}function Go($e){var lt=er($e,{parent:!0}).node;if(!lt)throw new It(44);$e=ze($e);var Dt=Ei(lt,$e),Fe=xi(lt,$e,!1);if(Fe)throw new It(Fe);if(!lt.Ga.unlink)throw new It(63);if(Dt.Va)throw new It(10);lt.Ga.unlink(lt,$e),Ri(Dt)}function bl($e){if($e=er($e).node,!$e)throw new It(44);if(!$e.Ga.readlink)throw new It(28);return et(di($e.parent),$e.Ga.readlink($e))}function nu($e,lt){if($e=er($e,{Sa:!lt}).node,!$e)throw new It(44);if(!$e.Ga.Pa)throw new It(63);return $e.Ga.Pa($e)}function yc($e){return nu($e,!0)}function Xu($e,lt){if($e=typeof $e=="string"?er($e,{Sa:!0}).node:$e,!$e.Ga.Oa)throw new It(63);$e.Ga.Oa($e,{mode:lt&4095|$e.mode&-4096,timestamp:Date.now()})}function yd($e,lt){if(0>lt)throw new It(28);if($e=typeof $e=="string"?er($e,{Sa:!0}).node:$e,!$e.Ga.Oa)throw new It(63);if(jt($e.mode))throw new It(31);if(($e.mode&61440)!==32768)throw new It(28);var Dt=mi($e,"w");if(Dt)throw new It(Dt);$e.Ga.Oa($e,{size:lt,timestamp:Date.now()})}function lh($e,lt,Dt){if($e==="")throw new It(44);if(typeof lt=="string"){var Fe={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[lt];if(typeof Fe>"u")throw Error(`Unknown file open mode: ${lt}`);lt=Fe}if(Dt=lt&64?(typeof Dt>"u"?438:Dt)&4095|32768:0,typeof $e=="object")var it=$e;else{$e=Ne($e);try{it=er($e,{Sa:!(lt&131072)}).node}catch{}}if(Fe=!1,lt&64)if(it){if(lt&128)throw new It(20)}else it=uo($e,Dt,0),Fe=!0;if(!it)throw new It(44);if((it.mode&61440)===8192&&(lt&=-513),lt&65536&&!jt(it.mode))throw new It(54);if(!Fe&&(Dt=it?(it.mode&61440)===40960?32:jt(it.mode)&&(pi(lt)!=="r"||lt&512)?31:mi(it,pi(lt)):44))throw new It(Dt);return lt&512&&!Fe&&yd(it,0),lt&=-131713,it=Ht({node:it,path:di(it),flags:lt,seekable:!0,position:0,Ha:it.Ha,Fb:[],error:!1}),it.Ha.open&&it.Ha.open(it),!E.logReadFiles||lt&1||(yr||(yr={}),$e in yr||(yr[$e]=1)),it}function ef($e){if($e.fd===null)throw new It(8);$e.hb&&($e.hb=null);try{$e.Ha.close&&$e.Ha.close($e)}catch(lt){throw lt}finally{ve[$e.fd]=null}$e.fd=null}function og($e,lt,Dt){if($e.fd===null)throw new It(8);if(!$e.seekable||!$e.Ha.Ta)throw new It(70);if(Dt!=0&&Dt!=1&&Dt!=2)throw new It(28);$e.position=$e.Ha.Ta($e,lt,Dt),$e.Fb=[]}function kA($e,lt,Dt,Fe,it){if(0>Fe||0>it)throw new It(28);if($e.fd===null)throw new It(8);if(($e.flags&2097155)===1)throw new It(8);if(jt($e.node.mode))throw new It(31);if(!$e.Ha.read)throw new It(28);var ht=typeof it<"u";if(!ht)it=$e.position;else if(!$e.seekable)throw new It(70);return lt=$e.Ha.read($e,lt,Dt,Fe,it),ht||($e.position+=lt),lt}function S0($e,lt,Dt,Fe,it){if(0>Fe||0>it)throw new It(28);if($e.fd===null)throw new It(8);if(($e.flags&2097155)===0)throw new It(8);if(jt($e.node.mode))throw new It(31);if(!$e.Ha.write)throw new It(28);$e.seekable&&$e.flags&1024&&og($e,0,2);var ht=typeof it<"u";if(!ht)it=$e.position;else if(!$e.seekable)throw new It(70);return lt=$e.Ha.write($e,lt,Dt,Fe,it,void 0),ht||($e.position+=lt),lt}function Id($e){var lt="binary";if(lt!=="utf8"&<!=="binary")throw Error(`Invalid encoding type "${lt}"`);var Dt,Fe=lh($e,Fe||0);$e=nu($e).size;var it=new Uint8Array($e);return kA(Fe,it,0,$e,0),lt==="utf8"?Dt=Oe(it,0):lt==="binary"&&(Dt=it),ef(Fe),Dt}function Su(){It||(It=function($e,lt){this.name="ErrnoError",this.node=lt,this.Eb=function(Dt){this.Ka=Dt},this.Eb($e),this.message="FS error"},It.prototype=Error(),It.prototype.constructor=It,[44].forEach($e=>{Mi[$e]=new It($e),Mi[$e].stack=""}))}var Df;function _d($e,lt,Dt){$e=Ne("/dev/"+$e);var Fe=Lt(!!lt,!!Dt);$h||($h=64);var it=$h++<<8|0;Wi(it,{open(ht){ht.seekable=!1},close(){Dt&&Dt.buffer&&Dt.buffer.length&&Dt(10)},read(ht,Tt,ai,Ii){for(var Ji=0,xr=0;xr>2]=Fe.dev,K[Dt+4>>2]=Fe.mode,X[Dt+8>>2]=Fe.nlink,K[Dt+12>>2]=Fe.uid,K[Dt+16>>2]=Fe.gid,K[Dt+20>>2]=Fe.rdev,Ie=[Fe.size>>>0,(Ce=Fe.size,1<=+Math.abs(Ce)?0>>0:~~+Math.ceil((Ce-+(~~Ce>>>0))/4294967296)>>>0:0)],K[Dt+24>>2]=Ie[0],K[Dt+28>>2]=Ie[1],K[Dt+32>>2]=4096,K[Dt+36>>2]=Fe.blocks,$e=Fe.atime.getTime(),lt=Fe.mtime.getTime();var it=Fe.ctime.getTime();return Ie=[Math.floor($e/1e3)>>>0,(Ce=Math.floor($e/1e3),1<=+Math.abs(Ce)?0>>0:~~+Math.ceil((Ce-+(~~Ce>>>0))/4294967296)>>>0:0)],K[Dt+40>>2]=Ie[0],K[Dt+44>>2]=Ie[1],X[Dt+48>>2]=$e%1e3*1e3,Ie=[Math.floor(lt/1e3)>>>0,(Ce=Math.floor(lt/1e3),1<=+Math.abs(Ce)?0>>0:~~+Math.ceil((Ce-+(~~Ce>>>0))/4294967296)>>>0:0)],K[Dt+56>>2]=Ie[0],K[Dt+60>>2]=Ie[1],X[Dt+64>>2]=lt%1e3*1e3,Ie=[Math.floor(it/1e3)>>>0,(Ce=Math.floor(it/1e3),1<=+Math.abs(Ce)?0>>0:~~+Math.ceil((Ce-+(~~Ce>>>0))/4294967296)>>>0:0)],K[Dt+72>>2]=Ie[0],K[Dt+76>>2]=Ie[1],X[Dt+80>>2]=it%1e3*1e3,Ie=[Fe.ino>>>0,(Ce=Fe.ino,1<=+Math.abs(Ce)?0>>0:~~+Math.ceil((Ce-+(~~Ce>>>0))/4294967296)>>>0:0)],K[Dt+88>>2]=Ie[0],K[Dt+92>>2]=Ie[1],0}var Or=void 0;function Cn(){var $e=K[+Or>>2];return Or+=4,$e}var Mn=($e,lt)=>lt+2097152>>>0<4194305-!!$e?($e>>>0)+4294967296*lt:NaN,tn=[0,31,60,91,121,152,182,213,244,274,305,335],fo=[0,31,59,90,120,151,181,212,243,273,304,334],bo=$e=>{var lt=Et($e)+1,Dt=wp(lt);return Dt&&Ct($e,G,Dt,lt),Dt},_a={},xl=()=>{if(!Mo){var $e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:y||"./this.program"},lt;for(lt in _a)_a[lt]===void 0?delete $e[lt]:$e[lt]=_a[lt];var Dt=[];for(lt in $e)Dt.push(`${lt}=${$e[lt]}`);Mo=Dt}return Mo},Mo,Wl=$e=>{var lt=Et($e)+1,Dt=Ni(lt);return Ct($e,G,Dt,lt),Dt},Ss=($e,lt,Dt,Fe)=>{var it={string:Ji=>{var xr=0;return Ji!=null&&Ji!==0&&(xr=Wl(Ji)),xr},array:Ji=>{var xr=Ni(Ji.length);return N.set(Ji,xr),xr}};$e=E["_"+$e];var ht=[],Tt=0;if(Fe)for(var ai=0;ai(lt=lt==1?Ni($e.length):wp($e.length),$e.subarray||$e.slice||($e=new Uint8Array($e)),G.set($e,lt),lt),Ic,_c=[],Cu,Tf=$e=>{Ic.delete(Cu.get($e)),Cu.set($e,null),_c.push($e)},ag=($e,lt)=>{if(!Ic){Ic=new WeakMap;var Dt=Cu.length;if(Ic)for(var Fe=0;Fe<0+Dt;Fe++){var it=Cu.get(Fe);it&&Ic.set(it,Fe)}}if(Dt=Ic.get($e)||0)return Dt;if(_c.length)Dt=_c.pop();else{try{Cu.grow(1)}catch(ai){throw ai instanceof RangeError?"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.":ai}Dt=Cu.length-1}try{Cu.set(Dt,$e)}catch(ai){if(!(ai instanceof TypeError))throw ai;if(typeof WebAssembly.Function=="function"){Fe=WebAssembly.Function,it={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"};for(var ht={parameters:[],results:lt[0]=="v"?[]:[it[lt[0]]]},Tt=1;TtTt?Fe.push(Tt):Fe.push(Tt%128|128,Tt>>7),Tt=0;Ttit?lt.push(it):lt.push(it%128|128,it>>7),lt.push.apply(lt,Fe),lt.push(2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0),lt=new WebAssembly.Module(new Uint8Array(lt)),lt=new WebAssembly.Instance(lt,{e:{f:$e}}).exports.f}Cu.set(Dt,lt)}return Ic.set($e,Dt),Dt};function FE($e,lt,Dt,Fe){$e||($e=this),this.parent=$e,this.Ra=$e.Ra,this.Va=null,this.id=We++,this.name=lt,this.mode=Dt,this.Ga={},this.Ha={},this.rdev=Fe}Object.defineProperties(FE.prototype,{read:{get:function(){return(this.mode&365)===365},set:function($e){$e?this.mode|=365:this.mode&=-366}},write:{get:function(){return(this.mode&146)===146},set:function($e){$e?this.mode|=146:this.mode&=-147}}}),Su(),bt=Array(4096),yi(xt,"/"),wn("/tmp"),wn("/home"),wn("/home/web_user"),function(){wn("/dev"),Wi(259,{read:()=>0,write:(Fe,it,ht,Tt)=>Tt}),Un("/dev/null",259),Qt(1280,ut),Qt(1536,St),Un("/dev/tty",1280),Un("/dev/tty1",1536);var $e=new Uint8Array(1024),lt=0,Dt=()=>(lt===0&&(lt=Xe($e).byteLength),$e[--lt]);_d("random",Dt),_d("urandom",Dt),wn("/dev/shm"),wn("/dev/shm/tmp")}(),function(){wn("/proc");var $e=wn("/proc/self");wn("/proc/self/fd"),yi({Ra(){var lt=Wt($e,"fd",16895,73);return lt.Ga={lookup(Dt,Fe){var it=Mt(+Fe);return Dt={parent:null,Ra:{tb:"fake"},Ga:{readlink:()=>it.path}},Dt.parent=Dt}},lt}},"/proc/self/fd")}();var Bp={a:($e,lt,Dt,Fe)=>{ae(`Assertion failed: ${$e?Oe(G,$e):""}, at: `+[lt?lt?Oe(G,lt):"":"unknown filename",Dt,Fe?Fe?Oe(G,Fe):"":"unknown function"])},h:function($e,lt){try{return $e=$e?Oe(G,$e):"",Xu($e,lt),0}catch(Dt){if(typeof ci>"u"||Dt.name!=="ErrnoError")throw Dt;return-Dt.Ka}},H:function($e,lt,Dt){try{if(lt=lt?Oe(G,lt):"",lt=Yr($e,lt),Dt&-8)return-28;var Fe=er(lt,{Sa:!0}).node;return Fe?($e="",Dt&4&&($e+="r"),Dt&2&&($e+="w"),Dt&1&&($e+="x"),$e&&mi(Fe,$e)?-2:0):-44}catch(it){if(typeof ci>"u"||it.name!=="ErrnoError")throw it;return-it.Ka}},i:function($e,lt){try{var Dt=Mt($e);return Xu(Dt.node,lt),0}catch(Fe){if(typeof ci>"u"||Fe.name!=="ErrnoError")throw Fe;return-Fe.Ka}},g:function($e){try{var lt=Mt($e).node,Dt=typeof lt=="string"?er(lt,{Sa:!0}).node:lt;if(!Dt.Ga.Oa)throw new It(63);return Dt.Ga.Oa(Dt,{timestamp:Date.now()}),0}catch(Fe){if(typeof ci>"u"||Fe.name!=="ErrnoError")throw Fe;return-Fe.Ka}},b:function($e,lt,Dt){Or=Dt;try{var Fe=Mt($e);switch(lt){case 0:var it=Cn();if(0>it)return-28;for(;ve[it];)it++;return Ht(Fe,it).fd;case 1:case 2:return 0;case 3:return Fe.flags;case 4:return it=Cn(),Fe.flags|=it,0;case 5:return it=Cn(),J[it+0>>1]=2,0;case 6:case 7:return 0;case 16:case 8:return-28;case 9:return K[IA()>>2]=28,-1;default:return-28}}catch(ht){if(typeof ci>"u"||ht.name!=="ErrnoError")throw ht;return-ht.Ka}},f:function($e,lt){try{var Dt=Mt($e);return en(nu,Dt.path,lt)}catch(Fe){if(typeof ci>"u"||Fe.name!=="ErrnoError")throw Fe;return-Fe.Ka}},n:function($e,lt,Dt){lt=Mn(lt,Dt);try{if(isNaN(lt))return 61;var Fe=Mt($e);if((Fe.flags&2097155)===0)throw new It(28);return yd(Fe.node,lt),0}catch(it){if(typeof ci>"u"||it.name!=="ErrnoError")throw it;return-it.Ka}},C:function($e,lt){try{if(lt===0)return-28;var Dt=Et("/")+1;return lt"u"||Fe.name!=="ErrnoError")throw Fe;return-Fe.Ka}},F:function($e,lt){try{return $e=$e?Oe(G,$e):"",en(yc,$e,lt)}catch(Dt){if(typeof ci>"u"||Dt.name!=="ErrnoError")throw Dt;return-Dt.Ka}},z:function($e,lt,Dt){try{return lt=lt?Oe(G,lt):"",lt=Yr($e,lt),lt=Ne(lt),lt[lt.length-1]==="/"&&(lt=lt.substr(0,lt.length-1)),wn(lt,Dt),0}catch(Fe){if(typeof ci>"u"||Fe.name!=="ErrnoError")throw Fe;return-Fe.Ka}},E:function($e,lt,Dt,Fe){try{lt=lt?Oe(G,lt):"";var it=Fe&256;return lt=Yr($e,lt,Fe&4096),en(it?yc:nu,lt,Dt)}catch(ht){if(typeof ci>"u"||ht.name!=="ErrnoError")throw ht;return-ht.Ka}},y:function($e,lt,Dt,Fe){Or=Fe;try{lt=lt?Oe(G,lt):"",lt=Yr($e,lt);var it=Fe?Cn():0;return lh(lt,Dt,it).fd}catch(ht){if(typeof ci>"u"||ht.name!=="ErrnoError")throw ht;return-ht.Ka}},w:function($e,lt,Dt,Fe){try{if(lt=lt?Oe(G,lt):"",lt=Yr($e,lt),0>=Fe)return-28;var it=bl(lt),ht=Math.min(Fe,Et(it)),Tt=N[Dt+ht];return Ct(it,G,Dt,Fe+1),N[Dt+ht]=Tt,ht}catch(ai){if(typeof ci>"u"||ai.name!=="ErrnoError")throw ai;return-ai.Ka}},v:function($e){try{return $e=$e?Oe(G,$e):"",Ma($e),0}catch(lt){if(typeof ci>"u"||lt.name!=="ErrnoError")throw lt;return-lt.Ka}},G:function($e,lt){try{return $e=$e?Oe(G,$e):"",en(nu,$e,lt)}catch(Dt){if(typeof ci>"u"||Dt.name!=="ErrnoError")throw Dt;return-Dt.Ka}},r:function($e,lt,Dt){try{return lt=lt?Oe(G,lt):"",lt=Yr($e,lt),Dt===0?Go(lt):Dt===512?Ma(lt):ae("Invalid flags passed to unlinkat"),0}catch(Fe){if(typeof ci>"u"||Fe.name!=="ErrnoError")throw Fe;return-Fe.Ka}},q:function($e,lt,Dt){try{if(lt=lt?Oe(G,lt):"",lt=Yr($e,lt,!0),Dt){var Fe=X[Dt>>2]+4294967296*K[Dt+4>>2],it=K[Dt+8>>2];ht=1e3*Fe+it/1e6,Dt+=16,Fe=X[Dt>>2]+4294967296*K[Dt+4>>2],it=K[Dt+8>>2],Tt=1e3*Fe+it/1e6}else var ht=Date.now(),Tt=ht;$e=ht;var ai=er(lt,{Sa:!0}).node;return ai.Ga.Oa(ai,{timestamp:Math.max($e,Tt)}),0}catch(Ii){if(typeof ci>"u"||Ii.name!=="ErrnoError")throw Ii;return-Ii.Ka}},l:function($e,lt,Dt){$e=new Date(1e3*Mn($e,lt)),K[Dt>>2]=$e.getSeconds(),K[Dt+4>>2]=$e.getMinutes(),K[Dt+8>>2]=$e.getHours(),K[Dt+12>>2]=$e.getDate(),K[Dt+16>>2]=$e.getMonth(),K[Dt+20>>2]=$e.getFullYear()-1900,K[Dt+24>>2]=$e.getDay(),lt=$e.getFullYear(),K[Dt+28>>2]=(lt%4!==0||lt%100===0&<%400!==0?fo:tn)[$e.getMonth()]+$e.getDate()-1|0,K[Dt+36>>2]=-(60*$e.getTimezoneOffset()),lt=new Date($e.getFullYear(),6,1).getTimezoneOffset();var Fe=new Date($e.getFullYear(),0,1).getTimezoneOffset();K[Dt+32>>2]=(lt!=Fe&&$e.getTimezoneOffset()==Math.min(Fe,lt))|0},j:function($e,lt,Dt,Fe,it,ht,Tt,ai){it=Mn(it,ht);try{if(isNaN(it))return 61;var Ii=Mt(Fe);if((lt&2)!==0&&(Dt&2)===0&&(Ii.flags&2097155)!==2)throw new It(2);if((Ii.flags&2097155)===1)throw new It(2);if(!Ii.Ha.bb)throw new It(43);var Ji=Ii.Ha.bb(Ii,$e,it,lt,Dt),xr=Ji.Db;return K[Tt>>2]=Ji.ub,X[ai>>2]=xr,0}catch($n){if(typeof ci>"u"||$n.name!=="ErrnoError")throw $n;return-$n.Ka}},k:function($e,lt,Dt,Fe,it,ht,Tt){ht=Mn(ht,Tt);try{if(isNaN(ht))return 61;var ai=Mt(it);if(Dt&2){if((ai.node.mode&61440)!==32768)throw new It(43);if(!(Fe&2)){var Ii=G.slice($e,$e+lt);ai.Ha.cb&&ai.Ha.cb(ai,Ii,ht,lt,Fe)}}}catch(Ji){if(typeof ci>"u"||Ji.name!=="ErrnoError")throw Ji;return-Ji.Ka}},s:($e,lt,Dt)=>{function Fe(Ii){return(Ii=Ii.toTimeString().match(/\(([A-Za-z ]+)\)$/))?Ii[1]:"GMT"}var it=new Date().getFullYear(),ht=new Date(it,0,1),Tt=new Date(it,6,1);it=ht.getTimezoneOffset();var ai=Tt.getTimezoneOffset();X[$e>>2]=60*Math.max(it,ai),K[lt>>2]=Number(it!=ai),$e=Fe(ht),lt=Fe(Tt),$e=bo($e),lt=bo(lt),ai>2]=$e,X[Dt+4>>2]=lt):(X[Dt>>2]=lt,X[Dt+4>>2]=$e)},d:()=>Date.now(),t:()=>2147483648,c:()=>performance.now(),o:$e=>{var lt=G.length;if($e>>>=0,2147483648<$e)return!1;for(var Dt=1;4>=Dt;Dt*=2){var Fe=lt*(1+.2/Dt);Fe=Math.min(Fe,$e+100663296);var it=Math;Fe=Math.max($e,Fe);e:{it=(it.min.call(it,2147483648,Fe+(65536-Fe%65536)%65536)-F.buffer.byteLength+65535)/65536;try{F.grow(it),ie();var ht=1;break e}catch{}ht=void 0}if(ht)return!0}return!1},A:($e,lt)=>{var Dt=0;return xl().forEach((Fe,it)=>{var ht=lt+Dt;for(it=X[$e+4*it>>2]=ht,ht=0;ht>0]=Fe.charCodeAt(ht);N[it>>0]=0,Dt+=Fe.length+1}),0},B:($e,lt)=>{var Dt=xl();X[$e>>2]=Dt.length;var Fe=0;return Dt.forEach(it=>Fe+=it.length+1),X[lt>>2]=Fe,0},e:function($e){try{var lt=Mt($e);return ef(lt),0}catch(Dt){if(typeof ci>"u"||Dt.name!=="ErrnoError")throw Dt;return Dt.Ka}},p:function($e,lt){try{var Dt=Mt($e);return N[lt>>0]=Dt.tty?2:jt(Dt.mode)?3:(Dt.mode&61440)===40960?7:4,J[lt+2>>1]=0,Ie=[0,(Ce=0,1<=+Math.abs(Ce)?0>>0:~~+Math.ceil((Ce-+(~~Ce>>>0))/4294967296)>>>0:0)],K[lt+8>>2]=Ie[0],K[lt+12>>2]=Ie[1],Ie=[0,(Ce=0,1<=+Math.abs(Ce)?0>>0:~~+Math.ceil((Ce-+(~~Ce>>>0))/4294967296)>>>0:0)],K[lt+16>>2]=Ie[0],K[lt+20>>2]=Ie[1],0}catch(Fe){if(typeof ci>"u"||Fe.name!=="ErrnoError")throw Fe;return Fe.Ka}},x:function($e,lt,Dt,Fe){try{e:{var it=Mt($e);$e=lt;for(var ht,Tt=lt=0;Tt>2],Ii=X[$e+4>>2];$e+=8;var Ji=kA(it,N,ai,Ii,ht);if(0>Ji){var xr=-1;break e}if(lt+=Ji,Ji>2]=xr,0}catch($n){if(typeof ci>"u"||$n.name!=="ErrnoError")throw $n;return $n.Ka}},m:function($e,lt,Dt,Fe,it){lt=Mn(lt,Dt);try{if(isNaN(lt))return 61;var ht=Mt($e);return og(ht,lt,Fe),Ie=[ht.position>>>0,(Ce=ht.position,1<=+Math.abs(Ce)?0>>0:~~+Math.ceil((Ce-+(~~Ce>>>0))/4294967296)>>>0:0)],K[it>>2]=Ie[0],K[it+4>>2]=Ie[1],ht.hb&<===0&&Fe===0&&(ht.hb=null),0}catch(Tt){if(typeof ci>"u"||Tt.name!=="ErrnoError")throw Tt;return Tt.Ka}},D:function($e){try{var lt=Mt($e);return lt.Ha&<.Ha.fsync?lt.Ha.fsync(lt):0}catch(Dt){if(typeof ci>"u"||Dt.name!=="ErrnoError")throw Dt;return Dt.Ka}},u:function($e,lt,Dt,Fe){try{e:{var it=Mt($e);$e=lt;for(var ht,Tt=lt=0;Tt>2],Ii=X[$e+4>>2];$e+=8;var Ji=S0(it,N,ai,Ii,ht);if(0>Ji){var xr=-1;break e}lt+=Ji,typeof ht<"u"&&(ht+=Ji)}xr=lt}return X[Fe>>2]=xr,0}catch($n){if(typeof ci>"u"||$n.name!=="ErrnoError")throw $n;return $n.Ka}}},Fo=function(){function $e(Dt){return Fo=Dt.exports,F=Fo.I,ie(),Cu=Fo.Aa,le.unshift(Fo.J),he--,E.monitorRunDependencies&&E.monitorRunDependencies(he),he==0&&(ge!==null&&(clearInterval(ge),ge=null),fe&&(Dt=fe,fe=null,Dt())),Fo}var lt={a:Bp};if(he++,E.monitorRunDependencies&&E.monitorRunDependencies(he),E.instantiateWasm)try{return E.instantiateWasm(lt,$e)}catch(Dt){return M(`Module.instantiateWasm callback failed with error: ${Dt}`),!1}return me(lt,function(Dt){$e(Dt.instance)}),{}}();E._sqlite3_free=$e=>(E._sqlite3_free=Fo.K)($e),E._sqlite3_value_text=$e=>(E._sqlite3_value_text=Fo.L)($e);var IA=()=>(IA=Fo.M)();E._sqlite3_prepare_v2=($e,lt,Dt,Fe,it)=>(E._sqlite3_prepare_v2=Fo.N)($e,lt,Dt,Fe,it),E._sqlite3_step=$e=>(E._sqlite3_step=Fo.O)($e),E._sqlite3_finalize=$e=>(E._sqlite3_finalize=Fo.P)($e),E._sqlite3_reset=$e=>(E._sqlite3_reset=Fo.Q)($e),E._sqlite3_clear_bindings=$e=>(E._sqlite3_clear_bindings=Fo.R)($e),E._sqlite3_value_blob=$e=>(E._sqlite3_value_blob=Fo.S)($e),E._sqlite3_value_bytes=$e=>(E._sqlite3_value_bytes=Fo.T)($e),E._sqlite3_value_double=$e=>(E._sqlite3_value_double=Fo.U)($e),E._sqlite3_value_int=$e=>(E._sqlite3_value_int=Fo.V)($e),E._sqlite3_value_type=$e=>(E._sqlite3_value_type=Fo.W)($e),E._sqlite3_result_blob=($e,lt,Dt,Fe)=>(E._sqlite3_result_blob=Fo.X)($e,lt,Dt,Fe),E._sqlite3_result_double=($e,lt)=>(E._sqlite3_result_double=Fo.Y)($e,lt),E._sqlite3_result_error=($e,lt,Dt)=>(E._sqlite3_result_error=Fo.Z)($e,lt,Dt),E._sqlite3_result_int=($e,lt)=>(E._sqlite3_result_int=Fo._)($e,lt),E._sqlite3_result_int64=($e,lt,Dt)=>(E._sqlite3_result_int64=Fo.$)($e,lt,Dt),E._sqlite3_result_null=$e=>(E._sqlite3_result_null=Fo.aa)($e),E._sqlite3_result_text=($e,lt,Dt,Fe)=>(E._sqlite3_result_text=Fo.ba)($e,lt,Dt,Fe),E._sqlite3_aggregate_context=($e,lt)=>(E._sqlite3_aggregate_context=Fo.ca)($e,lt),E._sqlite3_column_count=$e=>(E._sqlite3_column_count=Fo.da)($e),E._sqlite3_data_count=$e=>(E._sqlite3_data_count=Fo.ea)($e),E._sqlite3_column_blob=($e,lt)=>(E._sqlite3_column_blob=Fo.fa)($e,lt),E._sqlite3_column_bytes=($e,lt)=>(E._sqlite3_column_bytes=Fo.ga)($e,lt),E._sqlite3_column_double=($e,lt)=>(E._sqlite3_column_double=Fo.ha)($e,lt),E._sqlite3_column_text=($e,lt)=>(E._sqlite3_column_text=Fo.ia)($e,lt),E._sqlite3_column_type=($e,lt)=>(E._sqlite3_column_type=Fo.ja)($e,lt),E._sqlite3_column_name=($e,lt)=>(E._sqlite3_column_name=Fo.ka)($e,lt),E._sqlite3_bind_blob=($e,lt,Dt,Fe,it)=>(E._sqlite3_bind_blob=Fo.la)($e,lt,Dt,Fe,it),E._sqlite3_bind_double=($e,lt,Dt)=>(E._sqlite3_bind_double=Fo.ma)($e,lt,Dt),E._sqlite3_bind_int=($e,lt,Dt)=>(E._sqlite3_bind_int=Fo.na)($e,lt,Dt),E._sqlite3_bind_text=($e,lt,Dt,Fe,it)=>(E._sqlite3_bind_text=Fo.oa)($e,lt,Dt,Fe,it),E._sqlite3_bind_parameter_index=($e,lt)=>(E._sqlite3_bind_parameter_index=Fo.pa)($e,lt),E._sqlite3_sql=$e=>(E._sqlite3_sql=Fo.qa)($e),E._sqlite3_normalized_sql=$e=>(E._sqlite3_normalized_sql=Fo.ra)($e),E._sqlite3_errmsg=$e=>(E._sqlite3_errmsg=Fo.sa)($e),E._sqlite3_exec=($e,lt,Dt,Fe,it)=>(E._sqlite3_exec=Fo.ta)($e,lt,Dt,Fe,it),E._sqlite3_changes=$e=>(E._sqlite3_changes=Fo.ua)($e),E._sqlite3_close_v2=$e=>(E._sqlite3_close_v2=Fo.va)($e),E._sqlite3_create_function_v2=($e,lt,Dt,Fe,it,ht,Tt,ai,Ii)=>(E._sqlite3_create_function_v2=Fo.wa)($e,lt,Dt,Fe,it,ht,Tt,ai,Ii),E._sqlite3_open=($e,lt)=>(E._sqlite3_open=Fo.xa)($e,lt);var wp=E._malloc=$e=>(wp=E._malloc=Fo.ya)($e),Vg=E._free=$e=>(Vg=E._free=Fo.za)($e);E._RegisterExtensionFunctions=$e=>(E._RegisterExtensionFunctions=Fo.Ba)($e);var sg=($e,lt)=>(sg=Fo.Ca)($e,lt),lg=()=>(lg=Fo.Da)(),D0=$e=>(D0=Fo.Ea)($e),Ni=$e=>(Ni=Fo.Fa)($e);E.stackAlloc=Ni,E.stackSave=lg,E.stackRestore=D0,E.cwrap=($e,lt,Dt,Fe)=>{var it=!Dt||Dt.every(ht=>ht==="number"||ht==="boolean");return lt!=="string"&&it&&!Fe?E["_"+$e]:function(){return Ss($e,lt,Dt,arguments)}},E.addFunction=ag,E.removeFunction=Tf,E.UTF8ToString=Le,E.ALLOC_NORMAL=uh,E.allocate=ku,E.allocateUTF8OnStack=Wl;var qn;fe=function $e(){qn||bn(),qn||(fe=$e)};function bn(){function $e(){if(!qn&&(qn=!0,E.calledRun=!0,!k)){if(E.noFSInit||Df||(Df=!0,Su(),E.stdin=E.stdin,E.stdout=E.stdout,E.stderr=E.stderr,E.stdin?_d("stdin",E.stdin):Ta("/dev/tty","/dev/stdin"),E.stdout?_d("stdout",null,E.stdout):Ta("/dev/tty","/dev/stdout"),E.stderr?_d("stderr",null,E.stderr):Ta("/dev/tty1","/dev/stderr"),lh("/dev/stdin",0),lh("/dev/stdout",1),lh("/dev/stderr",1)),Pt=!1,we(le),E.onRuntimeInitialized&&E.onRuntimeInitialized(),E.postRun)for(typeof E.postRun=="function"&&(E.postRun=[E.postRun]);E.postRun.length;){var lt=E.postRun.shift();ue.unshift(lt)}we(ue)}}if(!(0{/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */o2e.read=function(o,A,f,m,C){var E,x,y=C*8-m-1,I=(1<>1,B=-7,Q=f?C-1:0,T=f?-1:1,w=o[A+Q];for(Q+=T,E=w&(1<<-B)-1,w>>=-B,B+=y;B>0;E=E*256+o[A+Q],Q+=T,B-=8);for(x=E&(1<<-B)-1,E>>=-B,B+=m;B>0;x=x*256+o[A+Q],Q+=T,B-=8);if(E===0)E=1-v;else{if(E===I)return x?NaN:(w?-1:1)*(1/0);x=x+Math.pow(2,m),E=E-v}return(w?-1:1)*x*Math.pow(2,E-m)};o2e.write=function(o,A,f,m,C,E){var x,y,I,v=E*8-C-1,B=(1<>1,T=C===23?Math.pow(2,-24)-Math.pow(2,-77):0,w=m?0:E-1,S=m?1:-1,D=A<0||A===0&&1/A<0?1:0;for(A=Math.abs(A),isNaN(A)||A===1/0?(y=isNaN(A)?1:0,x=B):(x=Math.floor(Math.log(A)/Math.LN2),A*(I=Math.pow(2,-x))<1&&(x--,I*=2),x+Q>=1?A+=T/I:A+=T*Math.pow(2,1-Q),A*I>=2&&(x++,I/=2),x+Q>=B?(y=0,x=B):x+Q>=1?(y=(A*I-1)*Math.pow(2,C),x=x+Q):(y=A*Math.pow(2,Q-1)*Math.pow(2,C),x=0));C>=8;o[f+w]=y&255,w+=S,y/=256,C-=8);for(x=x<0;o[f+w]=x&255,w+=S,x/=256,v-=8);o[f+w-S]|=D*128}});var vct=wA((gXi,_ct)=>{"use strict";_ct.exports=NA;var $se=Cct();function NA(o){this.buf=ArrayBuffer.isView&&ArrayBuffer.isView(o)?o:new Uint8Array(o||0),this.pos=0,this.type=0,this.length=this.buf.length}NA.Varint=0;NA.Fixed64=1;NA.Bytes=2;NA.Fixed32=5;var a2e=(1<<16)*(1<<16),Ect=1/a2e,b3i=12,Ict=typeof TextDecoder>"u"?null:new TextDecoder("utf8");NA.prototype={destroy:function(){this.buf=null},readFields:function(o,A,f){for(f=f||this.length;this.pos>3,E=this.pos;this.type=m&7,o(C,A,this),this.pos===E&&this.skip(m)}return A},readMessage:function(o,A){return this.readFields(o,A,this.readVarint()+this.pos)},readFixed32:function(){var o=ele(this.buf,this.pos);return this.pos+=4,o},readSFixed32:function(){var o=yct(this.buf,this.pos);return this.pos+=4,o},readFixed64:function(){var o=ele(this.buf,this.pos)+ele(this.buf,this.pos+4)*a2e;return this.pos+=8,o},readSFixed64:function(){var o=ele(this.buf,this.pos)+yct(this.buf,this.pos+4)*a2e;return this.pos+=8,o},readFloat:function(){var o=$se.read(this.buf,this.pos,!0,23,4);return this.pos+=4,o},readDouble:function(){var o=$se.read(this.buf,this.pos,!0,52,8);return this.pos+=8,o},readVarint:function(o){var A=this.buf,f,m;return m=A[this.pos++],f=m&127,m<128||(m=A[this.pos++],f|=(m&127)<<7,m<128)||(m=A[this.pos++],f|=(m&127)<<14,m<128)||(m=A[this.pos++],f|=(m&127)<<21,m<128)?f:(m=A[this.pos],f|=(m&15)<<28,Q3i(f,o,this))},readVarint64:function(){return this.readVarint(!0)},readSVarint:function(){var o=this.readVarint();return o%2===1?(o+1)/-2:o/2},readBoolean:function(){return Boolean(this.readVarint())},readString:function(){var o=this.readVarint()+this.pos,A=this.pos;return this.pos=o,o-A>=b3i&&Ict?H3i(this.buf,A,o):G3i(this.buf,A,o)},readBytes:function(){var o=this.readVarint()+this.pos,A=this.buf.subarray(this.pos,o);return this.pos=o,A},readPackedVarint:function(o,A){if(this.type!==NA.Bytes)return o.push(this.readVarint(A));var f=ZT(this);for(o=o||[];this.pos127;);else if(A===NA.Bytes)this.pos=this.readVarint()+this.pos;else if(A===NA.Fixed32)this.pos+=4;else if(A===NA.Fixed64)this.pos+=8;else throw new Error("Unimplemented type: "+A)},writeTag:function(o,A){this.writeVarint(o<<3|A)},realloc:function(o){for(var A=this.length||16;A268435455||o<0){S3i(o,this);return}this.realloc(4),this.buf[this.pos++]=o&127|(o>127?128:0),!(o<=127)&&(this.buf[this.pos++]=(o>>>=7)&127|(o>127?128:0),!(o<=127)&&(this.buf[this.pos++]=(o>>>=7)&127|(o>127?128:0),!(o<=127)&&(this.buf[this.pos++]=o>>>7&127)))},writeSVarint:function(o){this.writeVarint(o<0?-o*2-1:o*2)},writeBoolean:function(o){this.writeVarint(Boolean(o))},writeString:function(o){o=String(o),this.realloc(o.length*4),this.pos++;var A=this.pos;this.pos=V3i(this.buf,o,this.pos);var f=this.pos-A;f>=128&&xct(A,f,this),this.pos=A-1,this.writeVarint(f),this.pos+=f},writeFloat:function(o){this.realloc(4),$se.write(this.buf,o,this.pos,!0,23,4),this.pos+=4},writeDouble:function(o){this.realloc(8),$se.write(this.buf,o,this.pos,!0,52,8),this.pos+=8},writeBytes:function(o){var A=o.length;this.writeVarint(A),this.realloc(A);for(var f=0;f=128&&xct(f,m,this),this.pos=f-1,this.writeVarint(m),this.pos+=m},writeMessage:function(o,A,f){this.writeTag(o,NA.Bytes),this.writeRawMessage(A,f)},writePackedVarint:function(o,A){A.length&&this.writeMessage(o,M3i,A)},writePackedSVarint:function(o,A){A.length&&this.writeMessage(o,P3i,A)},writePackedBoolean:function(o,A){A.length&&this.writeMessage(o,F3i,A)},writePackedFloat:function(o,A){A.length&&this.writeMessage(o,R3i,A)},writePackedDouble:function(o,A){A.length&&this.writeMessage(o,L3i,A)},writePackedFixed32:function(o,A){A.length&&this.writeMessage(o,N3i,A)},writePackedSFixed32:function(o,A){A.length&&this.writeMessage(o,k3i,A)},writePackedFixed64:function(o,A){A.length&&this.writeMessage(o,O3i,A)},writePackedSFixed64:function(o,A){A.length&&this.writeMessage(o,U3i,A)},writeBytesField:function(o,A){this.writeTag(o,NA.Bytes),this.writeBytes(A)},writeFixed32Field:function(o,A){this.writeTag(o,NA.Fixed32),this.writeFixed32(A)},writeSFixed32Field:function(o,A){this.writeTag(o,NA.Fixed32),this.writeSFixed32(A)},writeFixed64Field:function(o,A){this.writeTag(o,NA.Fixed64),this.writeFixed64(A)},writeSFixed64Field:function(o,A){this.writeTag(o,NA.Fixed64),this.writeSFixed64(A)},writeVarintField:function(o,A){this.writeTag(o,NA.Varint),this.writeVarint(A)},writeSVarintField:function(o,A){this.writeTag(o,NA.Varint),this.writeSVarint(A)},writeStringField:function(o,A){this.writeTag(o,NA.Bytes),this.writeString(A)},writeFloatField:function(o,A){this.writeTag(o,NA.Fixed32),this.writeFloat(A)},writeDoubleField:function(o,A){this.writeTag(o,NA.Fixed64),this.writeDouble(A)},writeBooleanField:function(o,A){this.writeVarintField(o,Boolean(A))}};function Q3i(o,A,f){var m=f.buf,C,E;if(E=m[f.pos++],C=(E&112)>>4,E<128||(E=m[f.pos++],C|=(E&127)<<3,E<128)||(E=m[f.pos++],C|=(E&127)<<10,E<128)||(E=m[f.pos++],C|=(E&127)<<17,E<128)||(E=m[f.pos++],C|=(E&127)<<24,E<128)||(E=m[f.pos++],C|=(E&1)<<31,E<128))return SH(o,C,A);throw new Error("Expected varint not more than 10 bytes")}function ZT(o){return o.type===NA.Bytes?o.readVarint()+o.pos:o.pos+1}function SH(o,A,f){return f?A*4294967296+(o>>>0):(A>>>0)*4294967296+(o>>>0)}function S3i(o,A){var f,m;if(o>=0?(f=o%4294967296|0,m=o/4294967296|0):(f=~(-o%4294967296),m=~(-o/4294967296),f^4294967295?f=f+1|0:(f=0,m=m+1|0)),o>=18446744073709552e3||o<-18446744073709552e3)throw new Error("Given varint doesn't fit into 10 bytes");A.realloc(10),D3i(f,m,A),T3i(m,A)}function D3i(o,A,f){f.buf[f.pos++]=o&127|128,o>>>=7,f.buf[f.pos++]=o&127|128,o>>>=7,f.buf[f.pos++]=o&127|128,o>>>=7,f.buf[f.pos++]=o&127|128,o>>>=7,f.buf[f.pos]=o&127}function T3i(o,A){var f=(o&7)<<4;A.buf[A.pos++]|=f|((o>>>=3)?128:0),o&&(A.buf[A.pos++]=o&127|((o>>>=7)?128:0),o&&(A.buf[A.pos++]=o&127|((o>>>=7)?128:0),o&&(A.buf[A.pos++]=o&127|((o>>>=7)?128:0),o&&(A.buf[A.pos++]=o&127|((o>>>=7)?128:0),o&&(A.buf[A.pos++]=o&127)))))}function xct(o,A,f){var m=A<=16383?1:A<=2097151?2:A<=268435455?3:Math.floor(Math.log(A)/(Math.LN2*7));f.realloc(m);for(var C=f.pos-1;C>=o;C--)f.buf[C+m]=f.buf[C]}function M3i(o,A){for(var f=0;f>>8,o[f+2]=A>>>16,o[f+3]=A>>>24}function yct(o,A){return(o[A]|o[A+1]<<8|o[A+2]<<16)+(o[A+3]<<24)}function G3i(o,A,f){for(var m="",C=A;C239?4:E>223?3:E>191?2:1;if(C+y>f)break;var I,v,B;y===1?E<128&&(x=E):y===2?(I=o[C+1],(I&192)===128&&(x=(E&31)<<6|I&63,x<=127&&(x=null))):y===3?(I=o[C+1],v=o[C+2],(I&192)===128&&(v&192)===128&&(x=(E&15)<<12|(I&63)<<6|v&63,(x<=2047||x>=55296&&x<=57343)&&(x=null))):y===4&&(I=o[C+1],v=o[C+2],B=o[C+3],(I&192)===128&&(v&192)===128&&(B&192)===128&&(x=(E&15)<<18|(I&63)<<12|(v&63)<<6|B&63,(x<=65535||x>=1114112)&&(x=null))),x===null?(x=65533,y=1):x>65535&&(x-=65536,m+=String.fromCharCode(x>>>10&1023|55296),x=56320|x&1023),m+=String.fromCharCode(x),C+=y}return m}function H3i(o,A,f){return Ict.decode(o.subarray(A,f))}function V3i(o,A,f){for(var m=0,C,E;m55295&&C<57344)if(E)if(C<56320){o[f++]=239,o[f++]=191,o[f++]=189,E=C;continue}else C=E-55296<<10|C-56320|65536,E=null;else{C>56319||m+1===A.length?(o[f++]=239,o[f++]=191,o[f++]=189):E=C;continue}else E&&(o[f++]=239,o[f++]=191,o[f++]=189,E=null);C<128?o[f++]=C:(C<2048?o[f++]=C>>6|192:(C<65536?o[f++]=C>>12|224:(o[f++]=C>>18|240,o[f++]=C>>12&63|128),o[f++]=C>>6&63|128),o[f++]=C&63|128)}return f}});var xdt=wA((zH,_W)=>{/**
* @license
* Lodash
* Copyright OpenJS Foundation and other contributors
* Released under MIT license
* Based on Underscore.js 1.8.3
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(){var o,A="4.17.21",f=200,m="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",C="Expected a function",E="Invalid `variable` option passed into `_.template`",x="__lodash_hash_undefined__",y=500,I="__lodash_placeholder__",v=1,B=2,Q=4,T=1,w=2,S=1,D=2,R=4,P=8,M=16,L=32,F=64,k=128,N=256,G=512,J=30,K="...",X=800,q=16,ee=1,ie=2,H=3,le=1/0,ue=9007199254740991,Ae=17976931348623157e292,he=0/0,ge=4294967295,fe=ge-1,ae=ge>>>1,U=[["ary",k],["bind",S],["bindKey",D],["curry",P],["curryRight",M],["flip",G],["partial",L],["partialRight",F],["rearg",N]],W="[object Arguments]",Y="[object Array]",z="[object AsyncFunction]",re="[object Boolean]",se="[object Date]",de="[object DOMException]",me="[object Error]",Ce="[object Function]",Ie="[object GeneratorFunction]",we="[object Map]",Te="[object Number]",Ge="[object Null]",ke="[object Object]",Oe="[object Promise]",Le="[object Proxy]",be="[object RegExp]",Ne="[object Set]",Ue="[object String]",ze="[object Symbol]",Je="[object Undefined]",Xe="[object WeakMap]",et="[object WeakSet]",ot="[object ArrayBuffer]",Et="[object DataView]",Ct="[object Float32Array]",ct="[object Float64Array]",yt="[object Int8Array]",Qt="[object Int16Array]",Ze="[object Int32Array]",ut="[object Uint8Array]",St="[object Uint8ClampedArray]",gt="[object Uint16Array]",xt="[object Uint32Array]",Lt=/\b__p \+= '';/g,nt=/\b(__p \+=) '' \+/g,Pe=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ve=/&(?:amp|lt|gt|quot|#39);/g,We=/[&<>"']/g,bt=RegExp(ve.source),Pt=RegExp(We.source),It=/<%-([\s\S]+?)%>/g,Mi=/<%([\s\S]+?)%>/g,er=/<%=([\s\S]+?)%>/g,di=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,wi=/^\w*$/,Ri=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ei=/[\\^$.*+?()[\]{}|]/g,Wt=RegExp(Ei.source),jt=/^\s+/,pi=/\s/,mi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Kt=/\{\n\/\* \[wrapped with (.+)\] \*/,xi=/,? & /,_t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Mt=/[()=,{}\[\]\/\s]/,Ht=/\\(\\)?/g,ti=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Wi=/\w*$/,yi=/^[-+]0x[0-9a-f]+$/i,uo=/^0b[01]+$/i,wn=/^\[object .+?Constructor\]$/,Un=/^0o[0-7]+$/i,Ta=/^(?:0|[1-9]\d*)$/,Ma=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Go=/($^)/,bl=/['\n\r\u2028\u2029\\]/g,nu="\\ud800-\\udfff",yc="\\u0300-\\u036f",Xu="\\ufe20-\\ufe2f",yd="\\u20d0-\\u20ff",lh=yc+Xu+yd,ef="\\u2700-\\u27bf",og="a-z\\xdf-\\xf6\\xf8-\\xff",kA="\\xac\\xb1\\xd7\\xf7",S0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Id="\\u2000-\\u206f",Su=" \\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",Df="A-Z\\xc0-\\xd6\\xd8-\\xde",_d="\\ufe0e\\ufe0f",$h=kA+S0+Id+Su,ci="['\u2019]",Gi="["+nu+"]",yr="["+$h+"]",Yr="["+lh+"]",en="\\d+",Or="["+ef+"]",Cn="["+og+"]",Mn="[^"+nu+$h+en+ef+og+Df+"]",tn="\\ud83c[\\udffb-\\udfff]",fo="(?:"+Yr+"|"+tn+")",bo="[^"+nu+"]",_a="(?:\\ud83c[\\udde6-\\uddff]){2}",xl="[\\ud800-\\udbff][\\udc00-\\udfff]",Mo="["+Df+"]",Wl="\\u200d",Ss="(?:"+Cn+"|"+Mn+")",uh="(?:"+Mo+"|"+Mn+")",ku="(?:"+ci+"(?:d|ll|m|re|s|t|ve))?",Ic="(?:"+ci+"(?:D|LL|M|RE|S|T|VE))?",_c=fo+"?",Cu="["+_d+"]?",Tf="(?:"+Wl+"(?:"+[bo,_a,xl].join("|")+")"+Cu+_c+")*",ag="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",FE="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Bp=Cu+_c+Tf,Fo="(?:"+[Or,_a,xl].join("|")+")"+Bp,IA="(?:"+[bo+Yr+"?",Yr,_a,xl,Gi].join("|")+")",wp=RegExp(ci,"g"),Vg=RegExp(Yr,"g"),sg=RegExp(tn+"(?="+tn+")|"+IA+Bp,"g"),lg=RegExp([Mo+"?"+Cn+"+"+ku+"(?="+[yr,Mo,"$"].join("|")+")",uh+"+"+Ic+"(?="+[yr,Mo+Ss,"$"].join("|")+")",Mo+"?"+Ss+"+"+ku,Mo+"+"+Ic,FE,ag,en,Fo].join("|"),"g"),D0=RegExp("["+Wl+nu+lh+_d+"]"),Ni=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,qn=["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"],bn=-1,$e={};$e[Ct]=$e[ct]=$e[yt]=$e[Qt]=$e[Ze]=$e[ut]=$e[St]=$e[gt]=$e[xt]=!0,$e[W]=$e[Y]=$e[ot]=$e[re]=$e[Et]=$e[se]=$e[me]=$e[Ce]=$e[we]=$e[Te]=$e[ke]=$e[be]=$e[Ne]=$e[Ue]=$e[Xe]=!1;var lt={};lt[W]=lt[Y]=lt[ot]=lt[Et]=lt[re]=lt[se]=lt[Ct]=lt[ct]=lt[yt]=lt[Qt]=lt[Ze]=lt[we]=lt[Te]=lt[ke]=lt[be]=lt[Ne]=lt[Ue]=lt[ze]=lt[ut]=lt[St]=lt[gt]=lt[xt]=!0,lt[me]=lt[Ce]=lt[Xe]=!1;var Dt={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Fe={"&":"&","<":"<",">":">",'"':""","'":"'"},it={"&":"&","<":"<",">":">",""":'"',"'":"'"},ht={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Tt=parseFloat,ai=parseInt,Ii=typeof global=="object"&&global&&global.Object===Object&&global,Ji=typeof self=="object"&&self&&self.Object===Object&&self,xr=Ii||Ji||Function("return this")(),$n=typeof zH=="object"&&zH&&!zH.nodeType&&zH,Ds=$n&&typeof _W=="object"&&_W&&!_W.nodeType&&_W,hA=Ds&&Ds.exports===$n,sc=hA&&Ii.process,Zu=function(){try{var tr=Ds&&Ds.require&&Ds.require("util").types;return tr||sc&&sc.binding&&sc.binding("util")}catch{}}(),tf=Zu&&Zu.isArrayBuffer,rf=Zu&&Zu.isDate,as=Zu&&Zu.isMap,T0=Zu&&Zu.isRegExp,pm=Zu&&Zu.isSet,vd=Zu&&Zu.isTypedArray;function Uc(tr,Ur,Mr){switch(Mr.length){case 0:return tr.call(Ur);case 1:return tr.call(Ur,Mr[0]);case 2:return tr.call(Ur,Mr[0],Mr[1]);case 3:return tr.call(Ur,Mr[0],Mr[1],Mr[2])}return tr.apply(Ur,Mr)}function s1(tr,Ur,Mr,yo){for(var Bs=-1,Ql=tr==null?0:tr.length;++Bs-1}function FC(tr,Ur,Mr){for(var yo=-1,Bs=tr==null?0:tr.length;++yo-1;);return Mr}function Ha(tr,Ur){for(var Mr=tr.length;Mr--&&bp(Ur,tr[Mr],0)>-1;);return Mr}function Gc(tr,Ur){for(var Mr=tr.length,yo=0;Mr--;)tr[Mr]===Ur&&++yo;return yo}var $s=ny(Dt),Ac=ny(Fe);function zg(tr){return"\\"+ht[tr]}function u1(tr,Ur){return tr==null?o:tr[Ur]}function P0(tr){return D0.test(tr)}function A1(tr){return Ni.test(tr)}function iL(tr){for(var Ur,Mr=[];!(Ur=tr.next()).done;)Mr.push(Ur.value);return Mr}function oy(tr){var Ur=-1,Mr=Array(tr.size);return tr.forEach(function(yo,Bs){Mr[++Ur]=[Bs,yo]}),Mr}function c1(tr,Ur){return function(Mr){return tr(Ur(Mr))}}function GI(tr,Ur){for(var Mr=-1,yo=tr.length,Bs=0,Ql=[];++Mr-1}function Ff(ye,De){var qe=this.__data__,pt=Ts(qe,ye);return pt<0?(++this.size,qe.push([ye,De])):qe[pt][1]=De,this}OE.prototype.clear=r6,OE.prototype.delete=Tp,OE.prototype.get=rB,OE.prototype.has=n6,OE.prototype.set=Ff;function td(ye){var De=-1,qe=ye==null?0:ye.length;for(this.clear();++De=De?ye:De)),ye}function F0(ye,De,qe,pt,Jt,ui){var Qi,zi=De&v,Xi=De&B,Nr=De&Q;if(qe&&(Qi=Jt?qe(ye,pt,Jt,ui):qe(ye)),Qi!==o)return Qi;if(!Ka(ye))return ye;var sn=Jn(ye);if(sn){if(Qi=d6(ye),!zi)return Ah(ye,Qi)}else{var gn=id(ye),ro=gn==Ce||gn==Ie;if($g(ye))return Rp(ye,zi);if(gn==ke||gn==W||ro&&!Jt){if(Qi=Xi||ro?{}:dy(ye),!zi)return Xi?QO(ye,fl(Qi,ye)):Hc(ye,js(Qi,ye))}else{if(!lt[gn])return Jt?ye:{};Qi=rd(ye,gn,zi)}}ui||(ui=new is);var ta=ui.get(ye);if(ta)return ta;ui.set(ye,Qi),GA(ye)?ye.forEach(function(mo){Qi.add(F0(mo,De,qe,mo,ye,ui))}):Kc(ye)&&ye.forEach(function(mo,Oo){Qi.set(Oo,F0(mo,De,qe,Oo,ye,ui))});var Wa=Nr?Xi?QM:AB:Xi?af:xa,gl=sn?o:Wa(ye);return lc(gl||ye,function(mo,Oo){gl&&(Oo=mo,mo=ye[Oo]),Qs(Qi,Oo,F0(mo,De,qe,Oo,ye,ui))}),Qi}function uL(ye){var De=xa(ye);return function(qe){return hM(qe,ye,De)}}function hM(ye,De,qe){var pt=qe.length;if(ye==null)return!pt;for(ye=dA(ye);pt--;){var Jt=qe[pt],ui=De[Jt],Qi=ye[Jt];if(Qi===o&&!(Jt in ye)||!ui(Qi))return!1}return!0}function dM(ye,De,qe){if(typeof ye!="function")throw new R0(C);return ES(function(){ye.apply(o,qe)},De)}function oB(ye,De,qe,pt){var Jt=-1,ui=Mf,Qi=!0,zi=ye.length,Xi=[],Nr=De.length;if(!zi)return Xi;qe&&(De=Ou(De,Pn(qe))),pt?(ui=FC,Qi=!1):De.length>=f&&(ui=vs,Qi=!1,De=new xs(De));e:for(;++JtJt?0:Jt+qe),pt=pt===o||pt>Jt?Jt:aa(pt),pt<0&&(pt+=Jt),pt=qe>pt?0:YL(pt);qe0&&qe(zi)?De>1?va(zi,De-1,qe,pt,Jt):vc(Jt,zi):pt||(Jt[Jt.length]=zi)}return Jt}var qs=DO(),Xn=DO(!0);function qt(ye,De){return ye&&qs(ye,De,xa)}function aS(ye,De){return ye&&Xn(ye,De,xa)}function fM(ye,De){return wd(De,function(qe){return dg(ye[qe])})}function aB(ye,De){De=vm(De,ye);for(var qe=0,pt=De.length;ye!=null&&qeDe}function o6(ye,De){return ye!=null&&Eu.call(ye,De)}function a6(ye,De){return ye!=null&&De in dA(ye)}function dO(ye,De,qe){return ye>=ed(De,qe)&&ye=120&&sn.length>=120)?new xs(Qi&&sn):o}sn=ye[0];var gn=-1,ro=zi[0];e:for(;++gn-1;)zi!==ye&&Dp.call(zi,Xi,1),Dp.call(ye,Xi,1);return ye}function CM(ye,De){for(var qe=ye?De.length:0,pt=qe-1;qe--;){var Jt=De[qe];if(qe==pt||Jt!==ui){var ui=Jt;HC(Jt)?Dp.call(ye,Jt,1):I1(ye,Jt)}}return ye}function CL(ye,De){return ye+f1(JI()*(De-ye+1))}function l6(ye,De,qe,pt){for(var Jt=-1,ui=Th(d1((De-ye)/(qe||1)),0),Qi=Mr(ui);ui--;)Qi[pt?ui:++Jt]=ye,ye+=qe;return Qi}function EM(ye,De){var qe="";if(!ye||De<1||De>ue)return qe;do De%2&&(qe+=ye),De=f1(De/2),De&&(ye+=ye);while(De);return qe}function Ms(ye,De){return LM(w1(ye,De,Y0),ye+"")}function xM(ye){return Ws(lf(ye))}function vO(ye,De){var qe=lf(ye);return xS(qe,UE(De,0,qe.length))}function AS(ye,De,qe,pt){if(!Ka(ye))return ye;De=vm(De,ye);for(var Jt=-1,ui=De.length,Qi=ui-1,zi=ye;zi!=null&&++JtJt?0:Jt+De),qe=qe>Jt?Jt:qe,qe<0&&(qe+=Jt),Jt=De>qe?0:qe-De>>>0,De>>>=0;for(var ui=Mr(Jt);++pt>>1,Qi=ye[ui];Qi!==null&&!fg(Qi)&&(qe?Qi<=De:Qi=f){var Nr=De?null:Gs(ye);if(Nr)return XQ(Nr);Qi=!1,Jt=vs,Xi=new xs}else Xi=De?[]:zi;e:for(;++pt=pt?ye:Im(ye,De,qe)}var _1=oO||function(ye){return xr.clearTimeout(ye)};function Rp(ye,De){if(De)return ye.slice();var qe=ye.length,pt=tS?tS(qe):new ye.constructor(qe);return ye.copy(pt),pt}function v1(ye){var De=new ye.constructor(ye.byteLength);return new h1(De).set(new h1(ye)),De}function A6(ye,De){var qe=De?v1(ye.buffer):ye.buffer;return new ye.constructor(qe,ye.byteOffset,ye.byteLength)}function c6(ye){var De=new ye.constructor(ye.source,Wi.exec(ye));return De.lastIndex=ye.lastIndex,De}function h6(ye){return E1?dA(E1.call(ye)):{}}function vL(ye,De){var qe=De?v1(ye.buffer):ye.buffer;return new ye.constructor(qe,ye.byteOffset,ye.length)}function vM(ye,De){if(ye!==De){var qe=ye!==o,pt=ye===null,Jt=ye===ye,ui=fg(ye),Qi=De!==o,zi=De===null,Xi=De===De,Nr=fg(De);if(!zi&&!Nr&&!ui&&ye>De||ui&&Qi&&Xi&&!zi&&!Nr||pt&&Qi&&Xi||!qe&&Xi||!Jt)return 1;if(!pt&&!ui&&!Nr&&ye=zi)return Xi;var Nr=qe[pt];return Xi*(Nr=="desc"?-1:1)}}return ye.index-De.index}function OC(ye,De,qe,pt){for(var Jt=-1,ui=ye.length,Qi=qe.length,zi=-1,Xi=De.length,Nr=Th(ui-Qi,0),sn=Mr(Xi+Nr),gn=!pt;++zi1?qe[Jt-1]:o,Qi=Jt>2?qe[2]:o;for(ui=ye.length>3&&typeof ui=="function"?(Jt--,ui):o,Qi&&kf(qe[0],qe[1],Qi)&&(ui=Jt<3?o:ui,Jt=1),De=dA(De);++pt-1?Jt[ui?De[Qi]:Qi]:o}}function Uu(ye){return Ay(function(De){var qe=De.length,pt=qe,Jt=L0.prototype.thru;for(ye&&De.reverse();pt--;){var ui=De[pt];if(typeof ui!="function")throw new R0(C);if(Jt&&!Qi&&gS(ui)=="wrapper")var Qi=new L0([],!0)}for(pt=Qi?pt:qe;++pt1&&Rs.reverse(),sn&&Xizi))return!1;var Nr=ui.get(ye),sn=ui.get(De);if(Nr&&sn)return Nr==De&&sn==ye;var gn=-1,ro=!0,ta=qe&w?new xs:o;for(ui.set(ye,De),ui.set(De,ye);++gn1?"& ":"")+De[pt],De=De.join(qe>2?", ":" "),ye.replace(mi,`{
/* [wrapped with `+De+`] */
`)}function PL(ye){return Jn(ye)||xB(ye)||!!(Lf&&ye&&ye[Lf])}function HC(ye,De){var qe=typeof ye;return De=De??ue,!!De&&(qe=="number"||qe!="symbol"&&Ta.test(ye))&&ye>-1&&ye%1==0&&ye0){if(++De>=X)return arguments[0]}else De=0;return ye.apply(o,arguments)}}function xS(ye,De){var qe=-1,pt=ye.length,Jt=pt-1;for(De=De===o?pt:De;++qe1?ye[De-1]:o;return qe=typeof qe=="function"?(ye.pop(),qe):o,n_(ye,qe)});function CB(ye){var De=oi(ye);return De.__chain__=!0,De}function R1(ye,De){return De(ye),ye}function my(ye,De){return De(ye)}var Vc=Ay(function(ye){var De=ye.length,qe=De?ye[0]:0,pt=this.__wrapped__,Jt=function(ui){return nB(ui,ye)};return De>1||this.__actions__.length||!(pt instanceof yl)||!HC(qe)?this.thru(Jt):(pt=pt.slice(qe,+qe+(De?1:0)),pt.__actions__.push({func:my,args:[Jt],thisArg:o}),new L0(pt,this.__chain__).thru(function(ui){return De&&!ui.length&&ui.push(o),ui}))});function kL(){return CB(this)}function L1(){return new L0(this.value(),this.__chain__)}function xe(){this.__values__===o&&(this.__values__=Fm(this.value()));var ye=this.__index__>=this.__values__.length,De=ye?o:this.__values__[this.__index__++];return{done:ye,value:De}}function Se(){return this}function je(ye){for(var De,qe=this;qe instanceof nS;){var pt=UO(qe);pt.__index__=0,pt.__values__=o,De?Jt.__wrapped__=pt:De=pt;var Jt=pt;qe=qe.__wrapped__}return Jt.__wrapped__=ye,De}function mt(){var ye=this.__wrapped__;if(ye instanceof yl){var De=ye;return this.__actions__.length&&(De=new yl(this)),De=De.reverse(),De.__actions__.push({func:my,args:[Ps],thisArg:o}),new L0(De,this.__chain__)}return this.thru(Ps)}function Yt(){return Pp(this.__wrapped__,this.__actions__)}var $t=cS(function(ye,De,qe){Eu.call(ye,qe)?++ye[qe]:kC(ye,qe,1)});function Pi(ye,De,qe){var pt=Jn(ye)?M0:oa;return qe&&kf(ye,De,qe)&&(De=o),pt(ye,Va(De,3))}function Vi(ye,De){var qe=Jn(ye)?wd:la;return qe(ye,Va(De,3))}var rr=Nf(Na),qr=Nf(FL);function nn(ye,De){return va(Of(ye,De),1)}function dn(ye,De){return va(Of(ye,De),le)}function lo(ye,De,qe){return qe=qe===o?1:aa(qe),va(Of(ye,De),qe)}function Yo(ye,De){var qe=Jn(ye)?lc:oo;return qe(ye,Va(De,3))}function Ja(ye,De){var qe=Jn(ye)?Bd:co;return qe(ye,Va(De,3))}var Hs=cS(function(ye,De,qe){Eu.call(ye,qe)?ye[qe].push(De):kC(ye,qe,[De])});function io(ye,De,qe,pt){ye=Rm(ye)?ye:lf(ye),qe=qe&&!pt?aa(qe):0;var Jt=ye.length;return qe<0&&(qe=Th(Jt+qe,0)),Gf(ye)?qe<=Jt&&ye.indexOf(De,qe)>-1:!!Jt&&bp(ye,De,qe)>-1}var gs=Ms(function(ye,De,qe){var pt=-1,Jt=typeof De=="function",ui=Rm(ye)?Mr(ye.length):[];return oo(ye,function(Qi){ui[++pt]=Jt?Uc(De,Qi,qe):ZI(Qi,De,qe)}),ui}),Dl=cS(function(ye,De,qe){kC(ye,qe,De)});function Of(ye,De){var qe=Jn(ye)?Ou:IO;return qe(ye,Va(De,3))}function ou(ye,De,qe,pt){return ye==null?[]:(Jn(De)||(De=De==null?[]:[De]),qe=pt?o:qe,Jn(qe)||(qe=qe==null?[]:[qe]),pM(ye,De,qe))}var Uf=cS(function(ye,De,qe){ye[qe?0:1].push(De)},function(){return[[],[]]});function ch(ye,De,qe){var pt=Jn(ye)?Pf:uc,Jt=arguments.length<3;return pt(ye,Va(De,4),qe,Jt,oo)}function hh(ye,De,qe){var pt=Jn(ye)?iy:uc,Jt=arguments.length<3;return pt(ye,Va(De,4),qe,Jt,co)}function Dm(ye,De){var qe=Jn(ye)?wd:la;return qe(ye,F1(Va(De,3)))}function Cy(ye){var De=Jn(ye)?Ws:xM;return De(ye)}function Vl(ye,De,qe){(qe?kf(ye,De,qe):De===o)?De=1:De=aa(De);var pt=Jn(ye)?cl:vO;return pt(ye,De)}function KC(ye){var De=Jn(ye)?hl:u6;return De(ye)}function YE(ye){if(ye==null)return 0;if(Rm(ye))return Gf(ye)?ay(ye):ye.length;var De=id(ye);return De==we||De==Ne?ye.size:dL(ye).length}function WC(ye,De,qe){var pt=Jn(ye)?mm:wO;return qe&&kf(ye,De,qe)&&(De=o),pt(ye,Va(De,3))}var hg=Ms(function(ye,De){if(ye==null)return[];var qe=De.length;return qe>1&&kf(ye,De[0],De[1])?De=[]:qe>2&&kf(De[0],De[1],De[2])&&(De=[De[0]]),pM(ye,va(De,1),[])}),Ey=e6||function(){return xr.Date.now()};function Tm(ye,De){if(typeof De!="function")throw new R0(C);return ye=aa(ye),function(){if(--ye<1)return De.apply(this,arguments)}}function OL(ye,De,qe){return De=qe?o:De,De=ye&&De==null?ye.length:De,Ph(ye,k,o,o,o,o,De)}function KW(ye,De){var qe;if(typeof De!="function")throw new R0(C);return ye=aa(ye),function(){return--ye>0&&(qe=De.apply(this,arguments)),ye<=1&&(De=o),qe}}var y6=Ms(function(ye,De,qe){var pt=S;if(qe.length){var Jt=GI(qe,cB(y6));pt|=L}return Ph(ye,pt,De,qe,Jt)}),WW=Ms(function(ye,De,qe){var pt=S|D;if(qe.length){var Jt=GI(qe,cB(WW));pt|=L}return Ph(De,pt,ye,qe,Jt)});function jW(ye,De,qe){De=qe?o:De;var pt=Ph(ye,P,o,o,o,o,o,De);return pt.placeholder=jW.placeholder,pt}function qW(ye,De,qe){De=qe?o:De;var pt=Ph(ye,M,o,o,o,o,o,De);return pt.placeholder=qW.placeholder,pt}function XW(ye,De,qe){var pt,Jt,ui,Qi,zi,Xi,Nr=0,sn=!1,gn=!1,ro=!0;if(typeof ye!="function")throw new R0(C);De=qE(De)||0,Ka(qe)&&(sn=!!qe.leading,gn="maxWait"in qe,ui=gn?Th(qE(qe.maxWait)||0,De):ui,ro="trailing"in qe?!!qe.trailing:ro);function ta(Hu){var VA=pt,SB=Jt;return pt=Jt=o,Nr=Hu,Qi=ye.apply(SB,VA),Qi}function Wa(Hu){return Nr=Hu,zi=ES(Oo,De),sn?ta(Hu):Qi}function gl(Hu){var VA=Hu-Xi,SB=Hu-Nr,MS=De-VA;return gn?ed(MS,ui-SB):MS}function mo(Hu){var VA=Hu-Xi,SB=Hu-Nr;return Xi===o||VA>=De||VA<0||gn&&SB>=ui}function Oo(){var Hu=Ey();if(mo(Hu))return Rs(Hu);zi=ES(Oo,gl(Hu))}function Rs(Hu){return zi=o,ro&&pt?ta(Hu):(pt=Jt=o,Qi)}function Om(){zi!==o&&_1(zi),Nr=0,pt=Xi=Jt=zi=o}function fh(){return zi===o?Qi:Rs(Ey())}function df(){var Hu=Ey(),VA=mo(Hu);if(pt=arguments,Jt=this,Xi=Hu,VA){if(zi===o)return Wa(Xi);if(gn)return _1(zi),zi=ES(Oo,De),ta(Xi)}return zi===o&&(zi=ES(Oo,De)),Qi}return df.cancel=Om,df.flush=fh,df}var Mm=Ms(function(ye,De){return dM(ye,1,De)}),I6=Ms(function(ye,De,qe){return dM(ye,qE(De)||0,qe)});function zc(ye){return Ph(ye,G)}function vA(ye,De){if(typeof ye!="function"||De!=null&&typeof De!="function")throw new R0(C);var qe=function(){var pt=arguments,Jt=De?De.apply(this,pt):pt[0],ui=qe.cache;if(ui.has(Jt))return ui.get(Jt);var Qi=ye.apply(this,pt);return qe.cache=ui.set(Jt,Qi)||ui,Qi};return qe.cache=new(vA.Cache||td),qe}vA.Cache=td;function F1(ye){if(typeof ye!="function")throw new R0(C);return function(){var De=arguments;switch(De.length){case 0:return!ye.call(this);case 1:return!ye.call(this,De[0]);case 2:return!ye.call(this,De[0],De[1]);case 3:return!ye.call(this,De[0],De[1],De[2])}return!ye.apply(this,De)}}function H0(ye){return KW(2,ye)}var EB=nf(function(ye,De){De=De.length==1&&Jn(De[0])?Ou(De[0],Pn(Va())):Ou(va(De,1),Pn(Va()));var qe=De.length;return Ms(function(pt){for(var Jt=-1,ui=ed(pt.length,qe);++Jt=De}),xB=sS(function(){return arguments}())?sS:function(ye){return Pa(ye)&&Eu.call(ye,"callee")&&!nO.call(ye,"callee")},Jn=Mr.isArray,ej=tf?Pn(tf):gO;function Rm(ye){return ye!=null&&Sd(ye.length)&&!dg(ye)}function dh(ye){return Pa(ye)&&Rm(ye)}function KE(ye){return ye===!0||ye===!1||Pa(ye)&&jg(ye)==re}var $g=t6||bB,B6=rf?Pn(rf):pO;function tj(ye){return Pa(ye)&&ye.nodeType===1&&!Rh(ye)}function vn(ye){if(ye==null)return!0;if(Rm(ye)&&(Jn(ye)||typeof ye=="string"||typeof ye.splice=="function"||$g(ye)||gg(ye)||xB(ye)))return!ye.length;var De=id(ye);if(De==we||De==Ne)return!ye.size;if(fy(ye))return!dL(ye).length;for(var qe in ye)if(Eu.call(ye,qe))return!1;return!0}function WO(ye,De){return sB(ye,De)}function jO(ye,De,qe){qe=typeof qe=="function"?qe:o;var pt=qe?qe(ye,De):o;return pt===o?sB(ye,De,o,qe):!!pt}function Lm(ye){if(!Pa(ye))return!1;var De=jg(ye);return De==me||De==de||typeof ye.message=="string"&&typeof ye.name=="string"&&!Rh(ye)}function WE(ye){return typeof ye=="number"&&p1(ye)}function dg(ye){if(!Ka(ye))return!1;var De=jg(ye);return De==Ce||De==Ie||De==z||De==Le}function VL(ye){return typeof ye=="number"&&ye==aa(ye)}function Sd(ye){return typeof ye=="number"&&ye>-1&&ye%1==0&&ye<=ue}function Ka(ye){var De=typeof ye;return ye!=null&&(De=="object"||De=="function")}function Pa(ye){return ye!=null&&typeof ye=="object"}var Kc=as?Pn(as):CO;function oue(ye,De){return ye===De||y1(ye,De,TM(De))}function aue(ye,De,qe){return qe=typeof qe=="function"?qe:o,y1(ye,De,TM(De),qe)}function Fp(ye){return kM(ye)&&ye!=+ye}function qO(ye){if(cg(ye))throw new Bs(m);return cL(ye)}function jE(ye){return ye===null}function Tu(ye){return ye==null}function kM(ye){return typeof ye=="number"||Pa(ye)&&jg(ye)==Te}function Rh(ye){if(!Pa(ye)||jg(ye)!=ke)return!1;var De=iS(ye);if(De===null)return!0;var qe=Eu.call(De,"constructor")&&De.constructor;return typeof qe=="function"&&qe instanceof qe&&zI.call(qe)==nL}var zL=T0?Pn(T0):s6;function OM(ye){return VL(ye)&&ye>=-ue&&ye<=ue}var GA=pm?Pn(pm):EO;function Gf(ye){return typeof ye=="string"||!Jn(ye)&&Pa(ye)&&jg(ye)==Ue}function fg(ye){return typeof ye=="symbol"||Pa(ye)&&jg(ye)==ze}var gg=vd?Pn(vd):xO;function o_(ye){return ye===o}function yB(ye){return Pa(ye)&&id(ye)==Xe}function vS(ye){return Pa(ye)&&jg(ye)==et}var Lh=dS(lS),ij=dS(function(ye,De){return ye<=De});function Fm(ye){if(!ye)return[];if(Rm(ye))return Gf(ye)?Sp(ye):Ah(ye);if(YI&&ye[YI])return iL(ye[YI]());var De=id(ye),qe=De==we?oy:De==Ne?XQ:lf;return qe(ye)}function Gu(ye){if(!ye)return ye===0?ye:0;if(ye=qE(ye),ye===le||ye===-le){var De=ye<0?-1:1;return De*Ae}return ye===ye?ye:0}function aa(ye){var De=Gu(ye),qe=De%1;return De===De?qe?De-qe:De:0}function YL(ye){return ye?UE(aa(ye),0,ge):0}function qE(ye){if(typeof ye=="number")return ye;if(fg(ye))return he;if(Ka(ye)){var De=typeof ye.valueOf=="function"?ye.valueOf():ye;ye=Ka(De)?De+"":De}if(typeof ye!="string")return ye===0?ye:+ye;ye=xn(ye);var qe=uo.test(ye);return qe||Un.test(ye)?ai(ye.slice(2),qe?2:8):yi.test(ye)?he:+ye}function BS(ye){return Sl(ye,af(ye))}function rj(ye){return ye?UE(aa(ye),-ue,ue):ye===0?ye:0}function eA(ye){return ye==null?"":Ag(ye)}var e0=e_(function(ye,De){if(fy(De)||Rm(De)){Sl(De,xa(De),ye);return}for(var qe in De)Eu.call(De,qe)&&Qs(ye,qe,De[qe])}),a_=e_(function(ye,De){Sl(De,af(De),ye)}),Dd=e_(function(ye,De,qe,pt){Sl(De,af(De),ye,pt)}),wS=e_(function(ye,De,qe,pt){Sl(De,xa(De),ye,pt)}),_y=Ay(nB);function JL(ye,De){var qe=NC(ye);return De==null?qe:js(qe,De)}var Wc=Ms(function(ye,De){ye=dA(ye);var qe=-1,pt=De.length,Jt=pt>2?De[2]:o;for(Jt&&kf(De[0],De[1],Jt)&&(pt=1);++qe1),ui}),Sl(ye,QM(ye),qe),pt&&(qe=F0(qe,v|B|Q,Du));for(var Jt=De.length;Jt--;)I1(qe,De[Jt]);return qe});function O1(ye,De){return kp(ye,F1(Va(De)))}var zl=Ay(function(ye,De){return ye==null?{}:mM(ye,De)});function kp(ye,De){if(ye==null)return{};var qe=Ou(QM(ye),function(pt){return[pt]});return De=Va(De),pL(ye,qe,function(pt,Jt){return De(pt,Jt[0])})}function UM(ye,De,qe){De=vm(De,ye);var pt=-1,Jt=De.length;for(Jt||(Jt=1,ye=o);++ptDe){var pt=ye;ye=De,De=pt}if(qe||ye%1||De%1){var Jt=JI();return ed(ye+Jt*(De-ye+Tt("1e-"+((Jt+"").length-1))),De)}return CL(ye,De)}var uf=Bm(function(ye,De,qe){return De=De.toLowerCase(),ye+(qe?b6(De):De)});function b6(ye){return Qy(eA(ye).toLowerCase())}function XL(ye){return ye=eA(ye),ye&&ye.replace(Ma,$s).replace(Vg,"")}function pg(ye,De,qe){ye=eA(ye),De=Ag(De);var pt=ye.length;qe=qe===o?pt:UE(aa(qe),0,pt);var Jt=qe;return qe-=De.length,qe>=0&&ye.slice(qe,Jt)==De}function _B(ye){return ye=eA(ye),ye&&Pt.test(ye)?ye.replace(We,Ac):ye}function $E(ye){return ye=eA(ye),ye&&Wt.test(ye)?ye.replace(Ei,"\\$&"):ye}var Aj=Bm(function(ye,De,qe){return ye+(qe?"-":"")+De.toLowerCase()}),i0=Bm(function(ye,De,qe){return ye+(qe?" ":"")+De.toLowerCase()}),cj=MO("toLowerCase");function ZL(ye,De,qe){ye=eA(ye),De=aa(De);var pt=De?ay(ye):0;if(!De||pt>=De)return ye;var Jt=(De-pt)/2;return hS(f1(Jt),qe)+ye+hS(d1(Jt),qe)}function GM(ye,De,qe){ye=eA(ye),De=aa(De);var pt=De?ay(ye):0;return De&&pt>>0,qe?(ye=eA(ye),ye&&(typeof De=="string"||De!=null&&!zL(De))&&(De=Ag(De),!De&&P0(ye))?$u(Sp(ye),0,qe):ye.split(De,qe)):[]}var mg=Bm(function(ye,De,qe){return ye+(qe?" ":"")+Qy(De)});function by(ye,De,qe){return ye=eA(ye),qe=qe==null?0:UE(aa(qe),0,ye.length),De=Ag(De),ye.slice(qe,qe+De.length)==De}function H1(ye,De,qe){var pt=oi.templateSettings;qe&&kf(ye,De,qe)&&(De=o),ye=eA(ye),De=Dd({},De,pt,bM);var Jt=Dd({},De.imports,pt.imports,bM),ui=xa(Jt),Qi=to(Jt,ui),zi,Xi,Nr=0,sn=De.interpolate||Go,gn="__p += '",ro=xm((De.escape||Go).source+"|"+sn.source+"|"+(sn===er?ti:Go).source+"|"+(De.evaluate||Go).source+"|$","g"),ta="//# sourceURL="+(Eu.call(De,"sourceURL")?(De.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++bn+"]")+`
`;ye.replace(ro,function(mo,Oo,Rs,Om,fh,df){return Rs||(Rs=Om),gn+=ye.slice(Nr,df).replace(bl,zg),Oo&&(zi=!0,gn+=`' +
__e(`+Oo+`) +
'`),fh&&(Xi=!0,gn+=`';
`+fh+`;
__p += '`),Rs&&(gn+=`' +
((__t = (`+Rs+`)) == null ? '' : __t) +
'`),Nr=df+mo.length,mo}),gn+=`';
`;var Wa=Eu.call(De,"variable")&&De.variable;if(!Wa)gn=`with (obj) {
`+gn+`
}
`;else if(Mt.test(Wa))throw new Bs(E);gn=(Xi?gn.replace(Lt,""):gn).replace(nt,"$1").replace(Pe,"$1;"),gn="function("+(Wa||"obj")+`) {
`+(Wa?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(zi?", __e = _.escape":"")+(Xi?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+gn+`return __p
}`;var gl=Td(function(){return Ql(ui,ta+"return "+gn).apply(o,Qi)});if(gl.source=gn,Lm(gl))throw gl;return gl}function Q6(ye){return eA(ye).toLowerCase()}function QS(ye){return eA(ye).toUpperCase()}function vB(ye,De,qe){if(ye=eA(ye),ye&&(qe||De===o))return xn(ye);if(!ye||!(De=Ag(De)))return ye;var pt=Sp(ye),Jt=Sp(De),ui=zo(pt,Jt),Qi=Ha(pt,Jt)+1;return $u(pt,ui,Qi).join("")}function u_(ye,De,qe){if(ye=eA(ye),ye&&(qe||De===o))return ye.slice(0,ZQ(ye)+1);if(!ye||!(De=Ag(De)))return ye;var pt=Sp(ye),Jt=Ha(pt,Sp(De))+1;return $u(pt,0,Jt).join("")}function cf(ye,De,qe){if(ye=eA(ye),ye&&(qe||De===o))return ye.replace(jt,"");if(!ye||!(De=Ag(De)))return ye;var pt=Sp(ye),Jt=zo(pt,Sp(De));return $u(pt,Jt).join("")}function qC(ye,De){var qe=J,pt=K;if(Ka(De)){var Jt="separator"in De?De.separator:Jt;qe="length"in De?aa(De.length):qe,pt="omission"in De?Ag(De.omission):pt}ye=eA(ye);var ui=ye.length;if(P0(ye)){var Qi=Sp(ye);ui=Qi.length}if(qe>=ui)return ye;var zi=qe-ay(pt);if(zi<1)return pt;var Xi=Qi?$u(Qi,0,zi).join(""):ye.slice(0,zi);if(Jt===o)return Xi+pt;if(Qi&&(zi+=Xi.length-zi),zL(Jt)){if(ye.slice(zi).search(Jt)){var Nr,sn=Xi;for(Jt.global||(Jt=xm(Jt.source,eA(Wi.exec(Jt))+"g")),Jt.lastIndex=0;Nr=Jt.exec(sn);)var gn=Nr.index;Xi=Xi.slice(0,gn===o?zi:gn)}}else if(ye.indexOf(Ag(Jt),zi)!=zi){var ro=Xi.lastIndexOf(Jt);ro>-1&&(Xi=Xi.slice(0,ro))}return Xi+pt}function Cg(ye){return ye=eA(ye),ye&&bt.test(ye)?ye.replace(ve,$H):ye}var fj=Bm(function(ye,De,qe){return ye+(qe?" ":"")+De.toUpperCase()}),Qy=MO("toUpperCase");function V1(ye,De,qe){return ye=eA(ye),De=qe?o:De,De===o?A1(ye)?iO(ye):Xv(ye):ye.match(De)||[]}var Td=Ms(function(ye,De){try{return Uc(ye,o,De)}catch(qe){return Lm(qe)?qe:new Bs(qe)}}),Hf=Ay(function(ye,De){return lc(De,function(qe){qe=VC(qe),kC(ye,qe,y6(ye[qe],ye))}),ye});function ex(ye){var De=ye==null?0:ye.length,qe=Va();return ye=De?Ou(ye,function(pt){if(typeof pt[1]!="function")throw new R0(C);return[qe(pt[0]),pt[1]]}):[],Ms(function(pt){for(var Jt=-1;++Jtue)return[];var qe=ge,pt=ed(ye,ge);De=Va(De),ye-=ge;for(var Jt=gr(pt,De);++qe0||De<0)?new yl(qe):(ye<0?qe=qe.takeRight(-ye):ye&&(qe=qe.drop(ye)),De!==o&&(De=aa(De),qe=De<0?qe.dropRight(-De):qe.take(De-ye)),qe)},yl.prototype.takeRightWhile=function(ye){return this.reverse().takeWhile(ye).reverse()},yl.prototype.toArray=function(){return this.take(ge)},qt(yl.prototype,function(ye,De){var qe=/^(?:filter|find|map|reject)|While$/.test(De),pt=/^(?:head|last)$/.test(De),Jt=oi[pt?"take"+(De=="last"?"Right":""):De],ui=pt||/^find/.test(De);!Jt||(oi.prototype[De]=function(){var Qi=this.__wrapped__,zi=pt?[1]:arguments,Xi=Qi instanceof yl,Nr=zi[0],sn=Xi||Jn(Qi),gn=function(Oo){var Rs=Jt.apply(oi,vc([Oo],zi));return pt&&ro?Rs[0]:Rs};sn&&qe&&typeof Nr=="function"&&Nr.length!=1&&(Xi=sn=!1);var ro=this.__chain__,ta=!!this.__actions__.length,Wa=ui&&!ro,gl=Xi&&!ta;if(!ui&&sn){Qi=gl?Qi:new yl(this);var mo=ye.apply(Qi,zi);return mo.__actions__.push({func:my,args:[gn],thisArg:o}),new L0(mo,ro)}return Wa&&gl?ye.apply(this,zi):(mo=this.thru(gn),Wa?pt?mo.value()[0]:mo.value():mo)})}),lc(["pop","push","shift","sort","splice","unshift"],function(ye){var De=Yg[ye],qe=/^(?:push|sort|unshift)$/.test(ye)?"tap":"thru",pt=/^(?:pop|shift)$/.test(ye);oi.prototype[ye]=function(){var Jt=arguments;if(pt&&!this.__chain__){var ui=this.value();return De.apply(Jn(ui)?ui:[],Jt)}return this[qe](function(Qi){return De.apply(Jn(Qi)?Qi:[],Jt)})}}),qt(yl.prototype,function(ye,De){var qe=oi[De];if(qe){var pt=qe.name+"";Eu.call(jI,pt)||(jI[pt]=[]),jI[pt].push({name:De,func:qe})}}),jI[uB(o,D).name]=[{name:"wrapper",func:o}],yl.prototype.clone=qI,yl.prototype.reverse=uO,yl.prototype.value=x1,oi.prototype.at=Vc,oi.prototype.chain=kL,oi.prototype.commit=L1,oi.prototype.next=xe,oi.prototype.plant=je,oi.prototype.reverse=mt,oi.prototype.toJSON=oi.prototype.valueOf=oi.prototype.value=Yt,oi.prototype.first=oi.prototype.head,YI&&(oi.prototype[YI]=Se),oi},HI=rL();typeof define=="function"&&typeof define.amd=="object"&&define.amd?(xr._=HI,define(function(){return HI})):Ds?((Ds.exports=HI)._=HI,$n._=HI):xr._=HI}).call(zH)});var ydt=wA((exports,module)=>{/* @preserve
* The MIT License (MIT)
*
* Copyright (c) 2013-2018 Petka Antonov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*
*/(function(o){if(typeof exports=="object"&&typeof module<"u")module.exports=o();else if(typeof define=="function"&&define.amd)define([],o);else{var A;typeof window<"u"?A=window:typeof global<"u"?A=global:typeof self<"u"&&(A=self),A.Promise=o()}})(function(){var define,module,exports;return function o(A,f,m){function C(y,I){if(!f[y]){if(!A[y]){var v=typeof _dereq_=="function"&&_dereq_;if(!I&&v)return v(y,!0);if(E)return E(y,!0);var B=new Error("Cannot find module '"+y+"'");throw B.code="MODULE_NOT_FOUND",B}var Q=f[y]={exports:{}};A[y][0].call(Q.exports,function(T){var w=A[y][1][T];return C(w||T)},Q,Q.exports,o,A,f,m)}return f[y].exports}for(var E=typeof _dereq_=="function"&&_dereq_,x=0;x0;)Q(T)}function Q(T){var w=T.shift();if(typeof w!="function")w._settlePromises();else{var S=T.shift(),D=T.shift();w.call(S,D)}}x.prototype._drainQueues=function(){B(this._normalQueue),this._reset(),this._haveDrainedQueues=!0,B(this._lateQueue)},x.prototype._queueTick=function(){this._isTickUsed||(this._isTickUsed=!0,this._schedule(this.drainQueues))},x.prototype._reset=function(){this._isTickUsed=!1},A.exports=x,A.exports.firstLineError=m},{"./queue":26,"./schedule":29}],3:[function(o,A,f){"use strict";A.exports=function(m,C,E,x){var y=!1,I=function(T,w){this._reject(w)},v=function(T,w){w.promiseRejectionQueued=!0,w.bindingPromise._then(I,I,null,this,T)},B=function(T,w){(this._bitField&50397184)===0&&this._resolveCallback(w.target)},Q=function(T,w){w.promiseRejectionQueued||this._reject(T)};m.prototype.bind=function(T){y||(y=!0,m.prototype._propagateFrom=x.propagateFromFunction(),m.prototype._boundValue=x.boundValueFunction());var w=E(T),S=new m(C);S._propagateFrom(this,1);var D=this._target();if(S._setBoundTo(w),w instanceof m){var R={promiseRejectionQueued:!1,promise:S,target:D,bindingPromise:w};D._then(C,v,void 0,S,R),w._then(B,Q,void 0,S,R),S._setOnCancel(w)}else S._resolveCallback(D);return S},m.prototype._setBoundTo=function(T){T!==void 0?(this._bitField=this._bitField|2097152,this._boundTo=T):this._bitField=this._bitField&-2097153},m.prototype._isBound=function(){return(this._bitField&2097152)===2097152},m.bind=function(T,w){return m.resolve(w).bind(T)}}},{}],4:[function(o,A,f){"use strict";var m;typeof Promise<"u"&&(m=Promise);function C(){try{Promise===E&&(Promise=m)}catch{}return E}var E=o("./promise")();E.noConflict=C,A.exports=E},{"./promise":22}],5:[function(o,A,f){"use strict";var m=Object.create;if(m){var C=m(null),E=m(null);C[" size"]=E[" size"]=0}A.exports=function(x){var y=o("./util"),I=y.canEvaluate,v=y.isIdentifier,B,Q;if(!1)var T,w,S;function D(L,F){var k;if(L!=null&&(k=L[F]),typeof k!="function"){var N="Object "+y.classString(L)+" has no method '"+y.toString(F)+"'";throw new x.TypeError(N)}return k}function R(L){var F=this.pop(),k=D(L,F);return k.apply(L,this)}x.prototype.call=function(L){var F=[].slice.call(arguments,1);if(!1&&I)var k;return F.push(L),this._then(R,void 0,void 0,F,void 0)};function P(L){return L[this]}function M(L){var F=+this;return F<0&&(F=Math.max(0,F+L.length)),L[F]}x.prototype.get=function(L){var F=typeof L=="number",k;if(F)k=M;else if(I){var N=Q(L);k=N!==null?N:P}else k=P;return this._then(k,void 0,void 0,L,void 0)}}},{"./util":36}],6:[function(o,A,f){"use strict";A.exports=function(m,C,E,x){var y=o("./util"),I=y.tryCatch,v=y.errorObj,B=m._async;m.prototype.break=m.prototype.cancel=function(){if(!x.cancellation())return this._warn("cancellation is disabled");for(var Q=this,T=Q;Q._isCancellable();){if(!Q._cancelBy(T)){T._isFollowing()?T._followee().cancel():T._cancelBranched();break}var w=Q._cancellationParent;if(w==null||!w._isCancellable()){Q._isFollowing()?Q._followee().cancel():Q._cancelBranched();break}else Q._isFollowing()&&Q._followee().cancel(),Q._setWillBeCancelled(),T=Q,Q=w}},m.prototype._branchHasCancelled=function(){this._branchesRemainingToCancel--},m.prototype._enoughBranchesHaveCancelled=function(){return this._branchesRemainingToCancel===void 0||this._branchesRemainingToCancel<=0},m.prototype._cancelBy=function(Q){return Q===this?(this._branchesRemainingToCancel=0,this._invokeOnCancel(),!0):(this._branchHasCancelled(),this._enoughBranchesHaveCancelled()?(this._invokeOnCancel(),!0):!1)},m.prototype._cancelBranched=function(){this._enoughBranchesHaveCancelled()&&this._cancel()},m.prototype._cancel=function(){!this._isCancellable()||(this._setCancelled(),B.invoke(this._cancelPromises,this,void 0))},m.prototype._cancelPromises=function(){this._length()>0&&this._settlePromises()},m.prototype._unsetOnCancel=function(){this._onCancelField=void 0},m.prototype._isCancellable=function(){return this.isPending()&&!this._isCancelled()},m.prototype.isCancellable=function(){return this.isPending()&&!this.isCancelled()},m.prototype._doInvokeOnCancel=function(Q,T){if(y.isArray(Q))for(var w=0;w=0)return E[v]}return x.CapturedTrace=null,x.create=y,x.deactivateLongStackTraces=function(){},x.activateLongStackTraces=function(){var v=m.prototype._pushContext,B=m.prototype._popContext,Q=m._peekContext,T=m.prototype._peekContext,w=m.prototype._promiseCreated;x.deactivateLongStackTraces=function(){m.prototype._pushContext=v,m.prototype._popContext=B,m._peekContext=Q,m.prototype._peekContext=T,m.prototype._promiseCreated=w,C=!1},C=!0,m.prototype._pushContext=x.prototype._pushContext,m.prototype._popContext=x.prototype._popContext,m._peekContext=m.prototype._peekContext=I,m.prototype._promiseCreated=function(){var S=this._peekContext();S&&S._promiseCreated==null&&(S._promiseCreated=this)}},x}},{}],9:[function(o,A,f){"use strict";A.exports=function(m,C,E,x){var y=m._async,I=o("./errors").Warning,v=o("./util"),B=o("./es5"),Q=v.canAttachTrace,T,w,S=/[\\\/]bluebird[\\\/]js[\\\/](release|debug|instrumented)/,D=/\((?:timers\.js):\d+:\d+\)/,R=/[\/<\(](.+?):(\d+):(\d+)\)?\s*$/,P=null,M=null,L=!1,F,k=v.env("BLUEBIRD_DEBUG")!=0,N=!!(v.env("BLUEBIRD_WARNINGS")!=0&&(k||v.env("BLUEBIRD_WARNINGS"))),G=!!(v.env("BLUEBIRD_LONG_STACK_TRACES")!=0&&(k||v.env("BLUEBIRD_LONG_STACK_TRACES"))),J=v.env("BLUEBIRD_W_FORGOTTEN_RETURN")!=0&&(N||!!v.env("BLUEBIRD_W_FORGOTTEN_RETURN")),K;(function(){var Ze=[];function ut(){for(var gt=0;gt0},m.prototype._setRejectionIsUnhandled=function(){this._bitField=this._bitField|1048576},m.prototype._unsetRejectionIsUnhandled=function(){this._bitField=this._bitField&-1048577,this._isUnhandledRejectionNotified()&&(this._unsetUnhandledRejectionIsNotified(),this._notifyUnhandledRejectionIsHandled())},m.prototype._isRejectionUnhandled=function(){return(this._bitField&1048576)>0},m.prototype._warn=function(Ze,ut,St){return we(Ze,ut,St||this)},m.onPossiblyUnhandledRejection=function(Ze){var ut=m._getContext();w=v.contextBind(ut,Ze)},m.onUnhandledRejectionHandled=function(Ze){var ut=m._getContext();T=v.contextBind(ut,Ze)};var X=function(){};m.longStackTraces=function(){if(y.haveItemsQueued()&&!Qt.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
See http://goo.gl/MqrFmX
`);if(!Qt.longStackTraces&&Xe()){var Ze=m.prototype._captureStackTrace,ut=m.prototype._attachExtraTrace,St=m.prototype._dereferenceTrace;Qt.longStackTraces=!0,X=function(){if(y.haveItemsQueued()&&!Qt.longStackTraces)throw new Error(`cannot enable long stack traces after promises have been created
See http://goo.gl/MqrFmX
`);m.prototype._captureStackTrace=Ze,m.prototype._attachExtraTrace=ut,m.prototype._dereferenceTrace=St,C.deactivateLongStackTraces(),Qt.longStackTraces=!1},m.prototype._captureStackTrace=se,m.prototype._attachExtraTrace=de,m.prototype._dereferenceTrace=me,C.activateLongStackTraces()}},m.hasLongStackTraces=function(){return Qt.longStackTraces&&Xe()};var q={unhandledrejection:{before:function(){var Ze=v.global.onunhandledrejection;return v.global.onunhandledrejection=null,Ze},after:function(Ze){v.global.onunhandledrejection=Ze}},rejectionhandled:{before:function(){var Ze=v.global.onrejectionhandled;return v.global.onrejectionhandled=null,Ze},after:function(Ze){v.global.onrejectionhandled=Ze}}},ee=function(){var Ze=function(St,gt){if(St){var xt;try{return xt=St.before(),!v.global.dispatchEvent(gt)}finally{St.after(xt)}}else return!v.global.dispatchEvent(gt)};try{if(typeof CustomEvent=="function"){var ut=new CustomEvent("CustomEvent");return v.global.dispatchEvent(ut),function(St,gt){St=St.toLowerCase();var xt={detail:gt,cancelable:!0},Lt=new CustomEvent(St,xt);return B.defineProperty(Lt,"promise",{value:gt.promise}),B.defineProperty(Lt,"reason",{value:gt.reason}),Ze(q[St],Lt)}}else if(typeof Event=="function"){var ut=new Event("CustomEvent");return v.global.dispatchEvent(ut),function(gt,xt){gt=gt.toLowerCase();var Lt=new Event(gt,{cancelable:!0});return Lt.detail=xt,B.defineProperty(Lt,"promise",{value:xt.promise}),B.defineProperty(Lt,"reason",{value:xt.reason}),Ze(q[gt],Lt)}}else{var ut=document.createEvent("CustomEvent");return ut.initCustomEvent("testingtheevent",!1,!0,{}),v.global.dispatchEvent(ut),function(gt,xt){gt=gt.toLowerCase();var Lt=document.createEvent("CustomEvent");return Lt.initCustomEvent(gt,!1,!0,xt),Ze(q[gt],Lt)}}}catch{}return function(){return!1}}(),ie=function(){return v.isNode?function(){return process.emit.apply(process,arguments)}:v.global?function(Ze){var ut="on"+Ze.toLowerCase(),St=v.global[ut];return St?(St.apply(v.global,[].slice.call(arguments,1)),!0):!1}:function(){return!1}}();function H(Ze,ut){return{promise:ut}}var le={promiseCreated:H,promiseFulfilled:H,promiseRejected:H,promiseResolved:H,promiseCancelled:H,promiseChained:function(Ze,ut,St){return{promise:ut,child:St}},warning:function(Ze,ut){return{warning:ut}},unhandledRejection:function(Ze,ut,St){return{reason:ut,promise:St}},rejectionHandled:H},ue=function(Ze){var ut=!1;try{ut=ie.apply(null,arguments)}catch(gt){y.throwLater(gt),ut=!0}var St=!1;try{St=ee(Ze,le[Ze].apply(null,arguments))}catch(gt){y.throwLater(gt),St=!0}return St||ut};m.config=function(Ze){if(Ze=Object(Ze),"longStackTraces"in Ze&&(Ze.longStackTraces?m.longStackTraces():!Ze.longStackTraces&&m.hasLongStackTraces()&&X()),"warnings"in Ze){var ut=Ze.warnings;Qt.warnings=!!ut,J=Qt.warnings,v.isObject(ut)&&"wForgottenReturn"in ut&&(J=!!ut.wForgottenReturn)}if("cancellation"in Ze&&Ze.cancellation&&!Qt.cancellation){if(y.haveItemsQueued())throw new Error("cannot enable cancellation after promises are in use");m.prototype._clearCancellationData=U,m.prototype._propagateFrom=W,m.prototype._onCancel=fe,m.prototype._setOnCancel=ae,m.prototype._attachCancellationCallback=ge,m.prototype._execute=he,z=W,Qt.cancellation=!0}if("monitoring"in Ze&&(Ze.monitoring&&!Qt.monitoring?(Qt.monitoring=!0,m.prototype._fireEvent=ue):!Ze.monitoring&&Qt.monitoring&&(Qt.monitoring=!1,m.prototype._fireEvent=Ae)),"asyncHooks"in Ze&&v.nodeSupportsAsyncResource){var St=Qt.asyncHooks,gt=!!Ze.asyncHooks;St!==gt&&(Qt.asyncHooks=gt,gt?E():x())}return m};function Ae(){return!1}m.prototype._fireEvent=Ae,m.prototype._execute=function(Ze,ut,St){try{Ze(ut,St)}catch(gt){return gt}},m.prototype._onCancel=function(){},m.prototype._setOnCancel=function(Ze){},m.prototype._attachCancellationCallback=function(Ze){},m.prototype._captureStackTrace=function(){},m.prototype._attachExtraTrace=function(){},m.prototype._dereferenceTrace=function(){},m.prototype._clearCancellationData=function(){},m.prototype._propagateFrom=function(Ze,ut){};function he(Ze,ut,St){var gt=this;try{Ze(ut,St,function(xt){if(typeof xt!="function")throw new TypeError("onCancel must be a function, got: "+v.toString(xt));gt._attachCancellationCallback(xt)})}catch(xt){return xt}}function ge(Ze){if(!this._isCancellable())return this;var ut=this._onCancel();ut!==void 0?v.isArray(ut)?ut.push(Ze):this._setOnCancel([ut,Ze]):this._setOnCancel(Ze)}function fe(){return this._onCancelField}function ae(Ze){this._onCancelField=Ze}function U(){this._cancellationParent=void 0,this._onCancelField=void 0}function W(Ze,ut){if((ut&1)!==0){this._cancellationParent=Ze;var St=Ze._branchesRemainingToCancel;St===void 0&&(St=0),Ze._branchesRemainingToCancel=St+1}(ut&2)!==0&&Ze._isBound()&&this._setBoundTo(Ze._boundTo)}function Y(Ze,ut){(ut&2)!==0&&Ze._isBound()&&this._setBoundTo(Ze._boundTo)}var z=Y;function re(){var Ze=this._boundTo;return Ze!==void 0&&Ze instanceof m?Ze.isFulfilled()?Ze.value():void 0:Ze}function se(){this._trace=new ct(this._peekContext())}function de(Ze,ut){if(Q(Ze)){var St=this._trace;if(St!==void 0&&ut&&(St=St._parent),St!==void 0)St.attachExtraTrace(Ze);else if(!Ze.__stackCleaned__){var gt=be(Ze);v.notEnumerableProp(Ze,"stack",gt.message+`
`+gt.stack.join(`
`)),v.notEnumerableProp(Ze,"__stackCleaned__",!0)}}}function me(){this._trace=void 0}function Ce(Ze,ut,St,gt,xt){if(Ze===void 0&&ut!==null&&J){if(xt!==void 0&&xt._returnedNonUndefined()||(gt._bitField&65535)===0)return;St&&(St=St+" ");var Lt="",nt="";if(ut._trace){for(var Pe=ut._trace.stack.split(`
`),ve=Oe(Pe),We=ve.length-1;We>=0;--We){var bt=ve[We];if(!D.test(bt)){var Pt=bt.match(R);Pt&&(Lt="at "+Pt[1]+":"+Pt[2]+":"+Pt[3]+" ");break}}if(ve.length>0){for(var It=ve[0],We=0;We0&&(nt=`
`+Pe[We-1]);break}}}var Mi="a promise was created in a "+St+"handler "+Lt+"but was not returned from it, see http://goo.gl/rRqMUw"+nt;gt._warn(Mi,!0,ut)}}function Ie(Ze,ut){var St=Ze+" is deprecated and will be removed in a future version.";return ut&&(St+=" Use "+ut+" instead."),we(St)}function we(Ze,ut,St){if(!!Qt.warnings){var gt=new I(Ze),xt;if(ut)St._attachExtraTrace(gt);else if(Qt.longStackTraces&&(xt=m._peekContext()))xt.attachExtraTrace(gt);else{var Lt=be(gt);gt.stack=Lt.message+`
`+Lt.stack.join(`
`)}ue("warning",gt)||Ne(gt,"",!0)}}function Te(Ze,ut){for(var St=0;St=0;--Pe)if(gt[Pe]===Lt){nt=Pe;break}for(var Pe=nt;Pe>=0;--Pe){var ve=gt[Pe];if(ut[xt]===ve)ut.pop(),xt--;else break}ut=gt}}function Oe(Ze){for(var ut=[],St=0;St0&&Ze.name!="SyntaxError"&&(ut=ut.slice(St)),ut}function be(Ze){var ut=Ze.stack,St=Ze.toString();return ut=typeof ut=="string"&&ut.length>0?Le(Ze):[" (No stack trace)"],{message:St,stack:Ze.name=="SyntaxError"?ut:Oe(ut)}}function Ne(Ze,ut,St){if(typeof console<"u"){var gt;if(v.isObject(Ze)){var xt=Ze.stack;gt=ut+M(xt,Ze)}else gt=ut+String(Ze);typeof F=="function"?F(gt,St):(typeof console.log=="function"||typeof console.log=="object")&&console.log(gt)}}function Ue(Ze,ut,St,gt){var xt=!1;try{typeof ut=="function"&&(xt=!0,Ze==="rejectionHandled"?ut(gt):ut(St,gt))}catch(Lt){y.throwLater(Lt)}Ze==="unhandledRejection"?!ue(Ze,St,gt)&&!xt&&Ne(St,"Unhandled rejection "):ue(Ze,gt)}function ze(Ze){var ut;if(typeof Ze=="function")ut="[function "+(Ze.name||"anonymous")+"]";else{ut=Ze&&typeof Ze.toString=="function"?Ze.toString():v.toString(Ze);var St=/\[object [a-zA-Z0-9$_]+\]/;if(St.test(ut))try{var gt=JSON.stringify(Ze);ut=gt}catch{}ut.length===0&&(ut="(empty array)")}return"(<"+Je(ut)+">, no stack trace)"}function Je(Ze){var ut=41;return Ze.length=Lt||(et=function(bt){if(S.test(bt))return!0;var Pt=Et(bt);return!!(Pt&&Pt.fileName===nt&&xt<=Pt.line&&Pt.line<=Lt)})}}function ct(Ze){this._parent=Ze,this._promisesCreated=0;var ut=this._length=1+(Ze===void 0?0:Ze._length);yt(this,ct),ut>32&&this.uncycle()}v.inherits(ct,Error),C.CapturedTrace=ct,ct.prototype.uncycle=function(){var Ze=this._length;if(!(Ze<2)){for(var ut=[],St={},gt=0,xt=this;xt!==void 0;++gt)ut.push(xt),xt=xt._parent;Ze=this._length=gt;for(var gt=Ze-1;gt>=0;--gt){var Lt=ut[gt].stack;St[Lt]===void 0&&(St[Lt]=gt)}for(var gt=0;gt0&&(ut[Pe-1]._parent=void 0,ut[Pe-1]._length=1),ut[gt]._parent=void 0,ut[gt]._length=1;var ve=gt>0?ut[gt-1]:this;Pe=0;--bt)ut[bt]._length=We,We++;return}}}},ct.prototype.attachExtraTrace=function(Ze){if(!Ze.__stackCleaned__){this.uncycle();for(var ut=be(Ze),St=ut.message,gt=[ut.stack],xt=this;xt!==void 0;)gt.push(Oe(xt.stack.split(`
`))),xt=xt._parent;ke(gt),Ge(gt),v.notEnumerableProp(Ze,"stack",Te(St,gt)),v.notEnumerableProp(Ze,"__stackCleaned__",!0)}};var yt=function(){var ut=/^\s*at\s*/,St=function(nt,Pe){return typeof nt=="string"?nt:Pe.name!==void 0&&Pe.message!==void 0?Pe.toString():ze(Pe)};if(typeof Error.stackTraceLimit=="number"&&typeof Error.captureStackTrace=="function"){Error.stackTraceLimit+=6,P=ut,M=St;var gt=Error.captureStackTrace;return et=function(nt){return S.test(nt)},function(nt,Pe){Error.stackTraceLimit+=6,gt(nt,Pe),Error.stackTraceLimit-=6}}var xt=new Error;if(typeof xt.stack=="string"&&xt.stack.split(`
`)[0].indexOf("stackDetection@")>=0)return P=/@/,M=St,L=!0,function(Pe){Pe.stack=new Error().stack};var Lt;try{throw new Error}catch(nt){Lt="stack"in nt}return!("stack"in xt)&&Lt&&typeof Error.stackTraceLimit=="number"?(P=ut,M=St,function(Pe){Error.stackTraceLimit+=6;try{throw new Error}catch(ve){Pe.stack=ve.stack}Error.stackTraceLimit-=6}):(M=function(nt,Pe){return typeof nt=="string"?nt:(typeof Pe=="object"||typeof Pe=="function")&&Pe.name!==void 0&&Pe.message!==void 0?Pe.toString():ze(Pe)},null)}([]);typeof console<"u"&&typeof console.warn<"u"&&(F=function(Ze){console.warn(Ze)},v.isNode&&process.stderr.isTTY?F=function(Ze,ut){var St=ut?"\x1B[33m":"\x1B[31m";console.warn(St+Ze+`\x1B[0m
`)}:!v.isNode&&typeof new Error().stack=="string"&&(F=function(Ze,ut){console.warn("%c"+Ze,ut?"color: darkorange":"color: red")}));var Qt={warnings:N,longStackTraces:!1,cancellation:!1,monitoring:!1,asyncHooks:!1};return G&&m.longStackTraces(),{asyncHooks:function(){return Qt.asyncHooks},longStackTraces:function(){return Qt.longStackTraces},warnings:function(){return Qt.warnings},cancellation:function(){return Qt.cancellation},monitoring:function(){return Qt.monitoring},propagateFromFunction:function(){return z},boundValueFunction:function(){return re},checkForgottenReturns:Ce,setBounds:Ct,warn:we,deprecated:Ie,CapturedTrace:ct,fireDomEvent:ee,fireGlobalEvent:ie}}},{"./errors":12,"./es5":13,"./util":36}],10:[function(o,A,f){"use strict";A.exports=function(m){function C(){return this.value}function E(){throw this.reason}m.prototype.return=m.prototype.thenReturn=function(x){return x instanceof m&&x.suppressUnhandledRejections(),this._then(C,void 0,void 0,{value:x},void 0)},m.prototype.throw=m.prototype.thenThrow=function(x){return this._then(E,void 0,void 0,{reason:x},void 0)},m.prototype.catchThrow=function(x){if(arguments.length<=1)return this._then(void 0,E,void 0,{reason:x},void 0);var y=arguments[1],I=function(){throw y};return this.caught(x,I)},m.prototype.catchReturn=function(x){if(arguments.length<=1)return x instanceof m&&x.suppressUnhandledRejections(),this._then(void 0,C,void 0,{value:x},void 0);var y=arguments[1];y instanceof m&&y.suppressUnhandledRejections();var I=function(){return y};return this.caught(x,I)}}},{}],11:[function(o,A,f){"use strict";A.exports=function(m,C){var E=m.reduce,x=m.all;function y(){return x(this)}function I(v,B){return E(v,B,C,C)}m.prototype.each=function(v){return E(this,v,C,0)._then(y,void 0,void 0,this,void 0)},m.prototype.mapSeries=function(v){return E(this,v,C,C)},m.each=function(v,B){return E(v,B,C,0)._then(y,void 0,void 0,v,void 0)},m.mapSeries=I}},{}],12:[function(o,A,f){"use strict";var m=o("./es5"),C=m.freeze,E=o("./util"),x=E.inherits,y=E.notEnumerableProp;function I(F,k){function N(G){if(!(this instanceof N))return new N(G);y(this,"message",typeof G=="string"?G:k),y(this,"name",F),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):Error.call(this)}return x(N,Error),N}var v,B,Q=I("Warning","warning"),T=I("CancellationError","cancellation error"),w=I("TimeoutError","timeout error"),S=I("AggregateError","aggregate error");try{v=TypeError,B=RangeError}catch{v=I("TypeError","type error"),B=I("RangeError","range error")}for(var D="join pop push shift unshift slice filter forEach some every map indexOf lastIndexOf reduce reduceRight sort reverse".split(" "),R=0;R1?R.cancelPromise._reject(P):R.cancelPromise._cancel(),R.cancelPromise=null,!0):!1}function w(){return D.call(this,this.promise._target()._settledValue())}function S(R){if(!T(this,R))return I.e=R,I}function D(R){var P=this.promise,M=this.handler;if(!this.called){this.called=!0;var L=this.isFinallyHandler()?M.call(P._boundValue()):M.call(P._boundValue(),R);if(L===E)return L;if(L!==void 0){P._setReturnedNonUndefined();var F=C(L,P);if(F instanceof m){if(this.cancelPromise!=null)if(F._isCancelled()){var k=new y("late cancellation observer");return P._attachExtraTrace(k),I.e=k,I}else F.isPending()&&F._attachCancellationCallback(new Q(this));return F._then(w,S,void 0,this,void 0)}}}return P.isRejected()?(T(this),I.e=R,I):(T(this),R)}return m.prototype._passThrough=function(R,P,M,L){return typeof R!="function"?this.then():this._then(M,L,void 0,new B(this,P,R),void 0)},m.prototype.lastly=m.prototype.finally=function(R){return this._passThrough(R,0,D,D)},m.prototype.tap=function(R){return this._passThrough(R,1,D)},m.prototype.tapCatch=function(R){var P=arguments.length;if(P===1)return this._passThrough(R,1,void 0,D);var M=new Array(P-1),L=0,F;for(F=0;F0&&typeof arguments[F]=="function"&&(k=arguments[F],!1&&F<=8&&v)){var H,N,G,J;for(var K;K=1&&(this._inFlight--,this._drainQueue(),this._isResolved()))return!0}else{if(F>=1&&this._inFlight>=F)return P[R]=D,this._queue.push(R),!1;L!==null&&(L[R]=D);var k=this._promise,N=this._callback,G=k._boundValue();k._pushContext();var J=B(N).call(G,D,R,M),K=k._popContext();if(I.checkForgottenReturns(J,K,L!==null?"Promise.filter":"Promise.map",k),J===Q)return this._reject(J.e),!0;var X=x(J,this._promise);if(X instanceof m){X=X._target();var q=X._bitField;if((q&50397184)===0)return F>=1&&this._inFlight++,P[R]=X,X._proxy(this,(R+1)*-1),!1;if((q&33554432)!==0)J=X._value();else return(q&16777216)!==0?(this._reject(X._reason()),!0):(this._cancel(),!0)}P[R]=J}var ee=++this._totalResolved;return ee>=M?(L!==null?this._filter(P,L):this._resolve(P),!0):!1},w.prototype._drainQueue=function(){for(var D=this._queue,R=this._limit,P=this._values;D.length>0&&this._inFlight=1?L:0,new w(D,R,L,M).promise()}m.prototype.map=function(D,R){return S(this,D,R,null)},m.map=function(D,R,P,M){return S(D,R,P,M)}}},{"./util":36}],19:[function(o,A,f){"use strict";A.exports=function(m,C,E,x,y){var I=o("./util"),v=I.tryCatch;m.method=function(B){if(typeof B!="function")throw new m.TypeError("expecting a function but got "+I.classString(B));return function(){var Q=new m(C);Q._captureStackTrace(),Q._pushContext();var T=v(B).apply(this,arguments),w=Q._popContext();return y.checkForgottenReturns(T,w,"Promise.method",Q),Q._resolveFromSyncValue(T),Q}},m.attempt=m.try=function(B){if(typeof B!="function")return x("expecting a function but got "+I.classString(B));var Q=new m(C);Q._captureStackTrace(),Q._pushContext();var T;if(arguments.length>1){y.deprecated("calling Promise.try with more than 1 argument");var w=arguments[1],S=arguments[2];T=I.isArray(w)?v(B).apply(S,w):v(B).call(S,w)}else T=v(B)();var D=Q._popContext();return y.checkForgottenReturns(T,D,"Promise.try",Q),Q._resolveFromSyncValue(T),Q},m.prototype._resolveFromSyncValue=function(B){B===I.errorObj?this._rejectCallback(B.e,!1):this._resolveCallback(B,!0)}}},{"./util":36}],20:[function(o,A,f){"use strict";var m=o("./util"),C=m.maybeWrapAsError,E=o("./errors"),x=E.OperationalError,y=o("./es5");function I(T){return T instanceof Error&&y.getPrototypeOf(T)===Error.prototype}var v=/^(?:name|message|stack|cause)$/;function B(T){var w;if(I(T)){w=new x(T),w.name=T.name,w.message=T.message,w.stack=T.stack;for(var S=y.keys(T),D=0;D1){var de=new Array(se-1),me=0,Ce;for(Ce=0;Ce0&&typeof re!="function"&&typeof se!="function"){var de=".then() only accepts functions but was passed: "+I.classString(re);arguments.length>1&&(de+=", "+I.classString(se)),this._warn(de)}return this._then(re,se,void 0,void 0,void 0)},U.prototype.done=function(re,se){var de=this._then(re,se,void 0,void 0,void 0);de._setIsFinal()},U.prototype.spread=function(re){return typeof re!="function"?E("expecting a function but got "+I.classString(re)):this.all()._then(re,void 0,void 0,J,void 0)},U.prototype.toJSON=function(){var re={isFulfilled:!1,isRejected:!1,fulfillmentValue:void 0,rejectionReason:void 0};return this.isFulfilled()?(re.fulfillmentValue=this.value(),re.isFulfilled=!0):this.isRejected()&&(re.rejectionReason=this.reason(),re.isRejected=!0),re},U.prototype.all=function(){return arguments.length>0&&this._warn(".all() was passed arguments but it does not take any"),new q(this).promise()},U.prototype.error=function(re){return this.caught(I.originatesFromRejection,re)},U.getNewLibraryCopy=A.exports,U.is=function(re){return re instanceof U},U.fromNode=U.fromCallback=function(re){var se=new U(G);se._captureStackTrace();var de=arguments.length>1?!!Object(arguments[1]).multiArgs:!1,me=fe(re)(he(se,de));return me===ge&&se._rejectCallback(me.e,!0),se._isFateSealed()||se._setAsyncGuaranteed(),se},U.all=function(re){return new q(re).promise()},U.cast=function(re){var se=X(re);return se instanceof U||(se=new U(G),se._captureStackTrace(),se._setFulfilled(),se._rejectionHandler0=re),se},U.resolve=U.fulfilled=U.cast,U.reject=U.rejected=function(re){var se=new U(G);return se._captureStackTrace(),se._rejectCallback(re,!0),se},U.setScheduler=function(re){if(typeof re!="function")throw new k("expecting a function but got "+I.classString(re));return L.setScheduler(re)},U.prototype._then=function(re,se,de,me,Ce){var Ie=Ce!==void 0,we=Ie?Ce:new U(G),Te=this._target(),Ge=Te._bitField;Ie||(we._propagateFrom(this,3),we._captureStackTrace(),me===void 0&&(this._bitField&2097152)!==0&&((Ge&50397184)!==0?me=this._boundValue():me=Te===this?void 0:this._boundTo),this._fireEvent("promiseChained",this,we));var ke=S();if((Ge&50397184)!==0){var Oe,Le,be=Te._settlePromiseCtx;(Ge&33554432)!==0?(Le=Te._rejectionHandler0,Oe=re):(Ge&16777216)!==0?(Le=Te._fulfillmentHandler0,Oe=se,Te._unsetRejectionIsUnhandled()):(be=Te._settlePromiseLateCancellationObserver,Le=new N("late cancellation observer"),Te._attachExtraTrace(Le),Oe=se),L.invoke(be,Te,{handler:I.contextBind(ke,Oe),promise:we,receiver:me,value:Le})}else Te._addCallbacks(re,se,we,me,ke);return we},U.prototype._length=function(){return this._bitField&65535},U.prototype._isFateSealed=function(){return(this._bitField&117506048)!==0},U.prototype._isFollowing=function(){return(this._bitField&67108864)===67108864},U.prototype._setLength=function(re){this._bitField=this._bitField&-65536|re&65535},U.prototype._setFulfilled=function(){this._bitField=this._bitField|33554432,this._fireEvent("promiseFulfilled",this)},U.prototype._setRejected=function(){this._bitField=this._bitField|16777216,this._fireEvent("promiseRejected",this)},U.prototype._setFollowing=function(){this._bitField=this._bitField|67108864,this._fireEvent("promiseResolved",this)},U.prototype._setIsFinal=function(){this._bitField=this._bitField|4194304},U.prototype._isFinal=function(){return(this._bitField&4194304)>0},U.prototype._unsetCancelled=function(){this._bitField=this._bitField&-65537},U.prototype._setCancelled=function(){this._bitField=this._bitField|65536,this._fireEvent("promiseCancelled",this)},U.prototype._setWillBeCancelled=function(){this._bitField=this._bitField|8388608},U.prototype._setAsyncGuaranteed=function(){if(!L.hasCustomScheduler()){var re=this._bitField;this._bitField=re|(re&536870912)>>2^134217728}},U.prototype._setNoAsyncGuarantee=function(){this._bitField=(this._bitField|536870912)&-134217729},U.prototype._receiverAt=function(re){var se=re===0?this._receiver0:this[re*4-4+3];if(se!==y)return se===void 0&&this._isBound()?this._boundValue():se},U.prototype._promiseAt=function(re){return this[re*4-4+2]},U.prototype._fulfillmentHandlerAt=function(re){return this[re*4-4+0]},U.prototype._rejectionHandlerAt=function(re){return this[re*4-4+1]},U.prototype._boundValue=function(){},U.prototype._migrateCallback0=function(re){var se=re._bitField,de=re._fulfillmentHandler0,me=re._rejectionHandler0,Ce=re._promise0,Ie=re._receiverAt(0);Ie===void 0&&(Ie=y),this._addCallbacks(de,me,Ce,Ie,null)},U.prototype._migrateCallbackAt=function(re,se){var de=re._fulfillmentHandlerAt(se),me=re._rejectionHandlerAt(se),Ce=re._promiseAt(se),Ie=re._receiverAt(se);Ie===void 0&&(Ie=y),this._addCallbacks(de,me,Ce,Ie,null)},U.prototype._addCallbacks=function(re,se,de,me,Ce){var Ie=this._length();if(Ie>=65535-4&&(Ie=0,this._setLength(0)),Ie===0)this._promise0=de,this._receiver0=me,typeof re=="function"&&(this._fulfillmentHandler0=I.contextBind(Ce,re)),typeof se=="function"&&(this._rejectionHandler0=I.contextBind(Ce,se));else{var we=Ie*4-4;this[we+2]=de,this[we+3]=me,typeof re=="function"&&(this[we+0]=I.contextBind(Ce,re)),typeof se=="function"&&(this[we+1]=I.contextBind(Ce,se))}return this._setLength(Ie+1),Ie},U.prototype._proxy=function(re,se){this._addCallbacks(void 0,void 0,se,re,null)},U.prototype._resolveCallback=function(re,se){if((this._bitField&117506048)===0){if(re===this)return this._rejectCallback(m(),!1);var de=X(re,this);if(!(de instanceof U))return this._fulfill(re);se&&this._propagateFrom(de,2);var me=de._target();if(me===this){this._reject(m());return}var Ce=me._bitField;if((Ce&50397184)===0){var Ie=this._length();Ie>0&&me._migrateCallback0(this);for(var we=1;we>>16)){if(re===this){var de=m();return this._attachExtraTrace(de),this._reject(de)}this._setFulfilled(),this._rejectionHandler0=re,(se&65535)>0&&((se&134217728)!==0?this._settlePromises():L.settlePromises(this),this._dereferenceTrace())}},U.prototype._reject=function(re){var se=this._bitField;if(!((se&117506048)>>>16)){if(this._setRejected(),this._fulfillmentHandler0=re,this._isFinal())return L.fatalError(re,I.isNode);(se&65535)>0?L.settlePromises(this):this._ensurePossibleRejectionHandled()}},U.prototype._fulfillPromises=function(re,se){for(var de=1;de0){if((re&16842752)!==0){var de=this._fulfillmentHandler0;this._settlePromise0(this._rejectionHandler0,de,re),this._rejectPromises(se,de)}else{var me=this._rejectionHandler0;this._settlePromise0(this._fulfillmentHandler0,me,re),this._fulfillPromises(se,me)}this._setLength(0)}this._clearCancellationData()},U.prototype._settledValue=function(){var re=this._bitField;if((re&33554432)!==0)return this._rejectionHandler0;if((re&16777216)!==0)return this._fulfillmentHandler0},typeof Symbol<"u"&&Symbol.toStringTag&&P.defineProperty(U.prototype,Symbol.toStringTag,{get:function(){return"Object"}});function W(re){this.promise._resolveCallback(re)}function Y(re){this.promise._rejectCallback(re,!1)}U.defer=U.pending=function(){H.deprecated("Promise.defer","new Promise");var re=new U(G);return{promise:re,resolve:W,reject:Y}},I.notEnumerableProp(U,"_makeSelfResolutionError",m),o("./method")(U,G,X,E,H),o("./bind")(U,G,X,H),o("./cancel")(U,q,E,H),o("./direct_resolve")(U),o("./synchronous_inspection")(U),o("./join")(U,q,X,G,L),U.Promise=U,U.version="3.7.2",o("./call_get.js")(U),o("./generators.js")(U,E,G,X,x,H),o("./map.js")(U,q,E,X,G,H),o("./nodeify.js")(U),o("./promisify.js")(U,G),o("./props.js")(U,q,X,E),o("./race.js")(U,G,X,E),o("./reduce.js")(U,q,E,X,G,H),o("./settle.js")(U,q,H),o("./some.js")(U,q,E),o("./timers.js")(U,G,H),o("./using.js")(U,E,X,ie,G,H),o("./any.js")(U),o("./each.js")(U,G),o("./filter.js")(U,G),I.toFastProperties(U),I.toFastProperties(U.prototype);function z(re){var se=new U(G);se._fulfillmentHandler0=re,se._rejectionHandler0=re,se._promise0=re,se._receiver0=re}return z({a:1}),z({b:2}),z({c:3}),z(1),z(function(){}),z(void 0),z(!1),z(new U(G)),H.setBounds(M.firstLineError,I.lastLineError),U}},{"./any.js":1,"./async":2,"./bind":3,"./call_get.js":5,"./cancel":6,"./catch_filter":7,"./context":8,"./debuggability":9,"./direct_resolve":10,"./each.js":11,"./errors":12,"./es5":13,"./filter.js":14,"./finally":15,"./generators.js":16,"./join":17,"./map.js":18,"./method":19,"./nodeback":20,"./nodeify.js":21,"./promise_array":23,"./promisify.js":24,"./props.js":25,"./race.js":27,"./reduce.js":28,"./settle.js":30,"./some.js":31,"./synchronous_inspection":32,"./thenables":33,"./timers.js":34,"./using.js":35,"./util":36,async_hooks:void 0}],23:[function(o,A,f){"use strict";A.exports=function(m,C,E,x,y){var I=o("./util"),v=I.isArray;function B(T){switch(T){case-2:return[];case-3:return{};case-6:return new Map}}function Q(T){var w=this._promise=new m(C);T instanceof m&&(w._propagateFrom(T,3),T.suppressUnhandledRejections()),w._setOnCancel(this),this._values=T,this._length=0,this._totalResolved=0,this._init(void 0,-2)}return I.inherits(Q,y),Q.prototype.length=function(){return this._length},Q.prototype.promise=function(){return this._promise},Q.prototype._init=function T(w,S){var D=E(this._values,this._promise);if(D instanceof m){D=D._target();var R=D._bitField;if(this._values=D,(R&50397184)===0)return this._promise._setAsyncGuaranteed(),D._then(T,this._reject,void 0,this,S);if((R&33554432)!==0)D=D._value();else return(R&16777216)!==0?this._reject(D._reason()):this._cancel()}if(D=I.asArray(D),D===null){var P=x("expecting an array or an iterable object but got "+I.classString(D)).reason();this._promise._rejectCallback(P,!1);return}if(D.length===0){S===-5?this._resolveEmptyArray():this._resolve(B(S));return}this._iterate(D)},Q.prototype._iterate=function(T){var w=this.getActualLength(T.length);this._length=w,this._values=this.shouldCopyValues()?new Array(w):this._values;for(var S=this._promise,D=!1,R=null,P=0;P=this._length?(this._resolve(this._values),!0):!1},Q.prototype._promiseCancelled=function(){return this._cancel(),!0},Q.prototype._promiseRejected=function(T){return this._totalResolved++,this._reject(T),!0},Q.prototype._resultCancelled=function(){if(!this._isResolved()){var T=this._values;if(this._cancel(),T instanceof m)T.cancel();else for(var w=0;w=this._length){var M;if(this._isMap)M=T(this._values);else{M={};for(var L=this.length(),F=0,k=this.length();F>1};function S(D){var R,P=E(D);if(I(P))P instanceof m?R=P._then(m.props,void 0,void 0,void 0,void 0):R=new w(P).promise();else return x(`cannot await properties of a non-object
See http://goo.gl/MqrFmX
`);return P instanceof m&&R._propagateFrom(P,2),R}m.prototype.props=function(){return S(this)},m.props=function(D){return S(D)}}},{"./es5":13,"./util":36}],26:[function(o,A,f){"use strict";function m(E,x,y,I,v){for(var B=0;B"u"){var y=global.setImmediate,I=process.nextTick;C=m.isRecentNode?function(B){y.call(global,B)}:function(B){I.call(process,B)}}else if(typeof x=="function"&&typeof x.resolve=="function"){var v=x.resolve();C=function(B){v.then(B)}}else typeof MutationObserver<"u"&&!(typeof window<"u"&&window.navigator&&(window.navigator.standalone||window.cordova))&&"classList"in document.documentElement?C=function(){var B=document.createElement("div"),Q={attributes:!0},T=!1,w=document.createElement("div"),S=new MutationObserver(function(){B.classList.toggle("foo"),T=!1});S.observe(w,Q);var D=function(){T||(T=!0,w.classList.toggle("foo"))};return function(P){var M=new MutationObserver(function(){M.disconnect(),P()});M.observe(B,Q),D()}}():typeof setImmediate<"u"?C=function(B){setImmediate(B)}:typeof setTimeout<"u"?C=function(B){setTimeout(B,0)}:C=E;A.exports=C},{"./util":36}],30:[function(o,A,f){"use strict";A.exports=function(m,C,E){var x=m.PromiseInspection,y=o("./util");function I(v){this.constructor$(v)}y.inherits(I,C),I.prototype._promiseResolved=function(v,B){this._values[v]=B;var Q=++this._totalResolved;return Q>=this._length?(this._resolve(this._values),!0):!1},I.prototype._promiseFulfilled=function(v,B){var Q=new x;return Q._bitField=33554432,Q._settledValueField=v,this._promiseResolved(B,Q)},I.prototype._promiseRejected=function(v,B){var Q=new x;return Q._bitField=16777216,Q._settledValueField=v,this._promiseResolved(B,Q)},m.settle=function(v){return E.deprecated(".settle()",".reflect()"),new I(v).promise()},m.allSettled=function(v){return new I(v).promise()},m.prototype.settle=function(){return m.settle(this)}}},{"./util":36}],31:[function(o,A,f){"use strict";A.exports=function(m,C,E){var x=o("./util"),y=o("./errors").RangeError,I=o("./errors").AggregateError,v=x.isArray,B={};function Q(w){this.constructor$(w),this._howMany=0,this._unwrap=!1,this._initialized=!1}x.inherits(Q,C),Q.prototype._init=function(){if(!!this._initialized){if(this._howMany===0){this._resolve([]);return}this._init$(void 0,-5);var w=v(this._values);!this._isResolved()&&w&&this._howMany>this._canPossiblyFulfill()&&this._reject(this._getRangeError(this.length()))}},Q.prototype.init=function(){this._initialized=!0,this._init()},Q.prototype.setUnwrap=function(){this._unwrap=!0},Q.prototype.howMany=function(){return this._howMany},Q.prototype.setHowMany=function(w){this._howMany=w},Q.prototype._promiseFulfilled=function(w){return this._addFulfilled(w),this._fulfilled()===this.howMany()?(this._values.length=this.howMany(),this.howMany()===1&&this._unwrap?this._resolve(this._values[0]):this._resolve(this._values),!0):!1},Q.prototype._promiseRejected=function(w){return this._addRejected(w),this._checkOutcome()},Q.prototype._promiseCancelled=function(){return this._values instanceof m||this._values==null?this._cancel():(this._addRejected(B),this._checkOutcome())},Q.prototype._checkOutcome=function(){if(this.howMany()>this._canPossiblyFulfill()){for(var w=new I,S=this.length();S0?this._reject(w):this._cancel(),!0}return!1},Q.prototype._fulfilled=function(){return this._totalResolved},Q.prototype._rejected=function(){return this._values.length-this.length()},Q.prototype._addRejected=function(w){this._values.push(w)},Q.prototype._addFulfilled=function(w){this._values[this._totalResolved++]=w},Q.prototype._canPossiblyFulfill=function(){return this.length()-this._rejected()},Q.prototype._getRangeError=function(w){var S="Input array must contain at least "+this._howMany+" items but contains only "+w+" items";return new y(S)},Q.prototype._resolveEmptyArray=function(){this._reject(this._getRangeError(0))};function T(w,S){if((S|0)!==S||S<0)return E(`expecting a positive integer
See http://goo.gl/MqrFmX
`);var D=new Q(w),R=D.promise();return D.setHowMany(S),D.init(),R}m.some=function(w,S){return T(w,S)},m.prototype.some=function(w){return T(this,w)},m._SomePromiseArray=Q}},{"./errors":12,"./util":36}],32:[function(o,A,f){"use strict";A.exports=function(m){function C(Q){Q!==void 0?(Q=Q._target(),this._bitField=Q._bitField,this._settledValueField=Q._isFateSealed()?Q._settledValue():void 0):(this._bitField=0,this._settledValueField=void 0)}C.prototype._settledValue=function(){return this._settledValueField};var E=C.prototype.value=function(){if(!this.isFulfilled())throw new TypeError(`cannot get fulfillment value of a non-fulfilled promise
See http://goo.gl/MqrFmX
`);return this._settledValue()},x=C.prototype.error=C.prototype.reason=function(){if(!this.isRejected())throw new TypeError(`cannot get rejection reason of a non-rejected promise
See http://goo.gl/MqrFmX
`);return this._settledValue()},y=C.prototype.isFulfilled=function(){return(this._bitField&33554432)!==0},I=C.prototype.isRejected=function(){return(this._bitField&16777216)!==0},v=C.prototype.isPending=function(){return(this._bitField&50397184)===0},B=C.prototype.isResolved=function(){return(this._bitField&50331648)!==0};C.prototype.isCancelled=function(){return(this._bitField&8454144)!==0},m.prototype.__isCancelled=function(){return(this._bitField&65536)===65536},m.prototype._isCancelled=function(){return this._target().__isCancelled()},m.prototype.isCancelled=function(){return(this._target()._bitField&8454144)!==0},m.prototype.isPending=function(){return v.call(this._target())},m.prototype.isRejected=function(){return I.call(this._target())},m.prototype.isFulfilled=function(){return y.call(this._target())},m.prototype.isResolved=function(){return B.call(this._target())},m.prototype.value=function(){return E.call(this._target())},m.prototype.reason=function(){var Q=this._target();return Q._unsetRejectionIsUnhandled(),x.call(Q)},m.prototype._value=function(){return this._settledValue()},m.prototype._reason=function(){return this._unsetRejectionIsUnhandled(),this._settledValue()},m.PromiseInspection=C}},{}],33:[function(o,A,f){"use strict";A.exports=function(m,C){var E=o("./util"),x=E.errorObj,y=E.isObject;function I(S,D){if(y(S)){if(S instanceof m)return S;var R=B(S);if(R===x){D&&D._pushContext();var P=m.reject(R.e);return D&&D._popContext(),P}else if(typeof R=="function"){if(T(S)){var P=new m(C);return S._then(P._fulfill,P._reject,void 0,P,null),P}return w(S,R,D)}}return S}function v(S){return S.then}function B(S){try{return v(S)}catch(D){return x.e=D,x}}var Q={}.hasOwnProperty;function T(S){try{return Q.call(S,"_promise0")}catch{return!1}}function w(S,D,R){var P=new m(C),M=P;R&&R._pushContext(),P._captureStackTrace(),R&&R._popContext();var L=!0,F=E.tryCatch(D).call(S,k,N);L=!1,P&&F===x&&(P._rejectCallback(F.e,!0,!0),P=null);function k(G){!P||(P._resolveCallback(G),P=null)}function N(G){!P||(P._rejectCallback(G,L,!0),P=null)}return M}return I}},{"./util":36}],34:[function(o,A,f){"use strict";A.exports=function(m,C,E){var x=o("./util"),y=m.TimeoutError;function I(S){this.handle=S}I.prototype._resultCancelled=function(){clearTimeout(this.handle)};var v=function(S){return B(+this).thenReturn(S)},B=m.delay=function(S,D){var R,P;return D!==void 0?(R=m.resolve(D)._then(v,null,null,S,void 0),E.cancellation()&&D instanceof m&&R._setOnCancel(D)):(R=new m(C),P=setTimeout(function(){R._fulfill()},+S),E.cancellation()&&R._setOnCancel(new I(P)),R._captureStackTrace()),R._setAsyncGuaranteed(),R};m.prototype.delay=function(S){return B(S,this)};var Q=function(S,D,R){var P;typeof D!="string"?D instanceof Error?P=D:P=new y("operation timed out"):P=new y(D),x.markAsOriginatingFromRejection(P),S._attachExtraTrace(P),S._reject(P),R?.cancel()};function T(S){return clearTimeout(this.handle),S}function w(S){throw clearTimeout(this.handle),S}m.prototype.timeout=function(S,D){S=+S;var R,P,M=new I(setTimeout(function(){R.isPending()&&Q(R,D,P)},S));return E.cancellation()?(P=this.then(),R=P._then(T,w,void 0,M,void 0),R._setOnCancel(M)):R=this._then(T,w,void 0,M,void 0),R}}},{"./util":36}],35:[function(o,A,f){"use strict";A.exports=function(m,C,E,x,y,I){var v=o("./util"),B=o("./errors").TypeError,Q=o("./util").inherits,T=v.errorObj,w=v.tryCatch,S={};function D(N){setTimeout(function(){throw N},0)}function R(N){var G=E(N);return G!==N&&typeof N._isDisposable=="function"&&typeof N._getDisposer=="function"&&N._isDisposable()&&G._setDisposable(N._getDisposer()),G}function P(N,G){var J=0,K=N.length,X=new m(y);function q(){if(J>=K)return X._fulfill();var ee=R(N[J++]);if(ee instanceof m&&ee._isDisposable()){try{ee=E(ee._getDisposer().tryDispose(G),N.promise)}catch(ie){return D(ie)}if(ee instanceof m)return ee._then(q,D,null,null,null)}q()}return q(),X}function M(N,G,J){this._data=N,this._promise=G,this._context=J}M.prototype.data=function(){return this._data},M.prototype.promise=function(){return this._promise},M.prototype.resource=function(){return this.promise().isFulfilled()?this.promise().value():S},M.prototype.tryDispose=function(N){var G=this.resource(),J=this._context;J!==void 0&&J._pushContext();var K=G!==S?this.doDispose(G,N):null;return J!==void 0&&J._popContext(),this._promise._unsetDisposable(),this._data=null,K},M.isDisposer=function(N){return N!=null&&typeof N.resource=="function"&&typeof N.tryDispose=="function"};function L(N,G,J){this.constructor$(N,G,J)}Q(L,M),L.prototype.doDispose=function(N,G){var J=this.data();return J.call(N,N,G)};function F(N){return M.isDisposer(N)?(this.resources[this.index]._setDisposable(N),N.promise()):N}function k(N){this.length=N,this.promise=null,this[N-1]=null}k.prototype._resultCancelled=function(){for(var N=this.length,G=0;G0},m.prototype._getDisposer=function(){return this._disposer},m.prototype._unsetDisposable=function(){this._bitField=this._bitField&-131073,this._disposer=void 0},m.prototype.disposer=function(N){if(typeof N=="function")return new L(N,this,x());throw new B}}},{"./errors":12,"./util":36}],36:[function(_dereq_,module,exports){"use strict";var es5=_dereq_("./es5"),canEvaluate=typeof navigator>"u",errorObj={e:{}},tryCatchTarget,globalObject=typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:this!==void 0?this:null;function tryCatcher(){try{var o=tryCatchTarget;return tryCatchTarget=null,o.apply(this,arguments)}catch(A){return errorObj.e=A,errorObj}}function tryCatch(o){return tryCatchTarget=o,tryCatcher}var inherits=function(o,A){var f={}.hasOwnProperty;function m(){this.constructor=o,this.constructor$=A;for(var C in A.prototype)f.call(A.prototype,C)&&C.charAt(C.length-1)!=="$"&&(this[C+"$"]=A.prototype[C])}return m.prototype=A.prototype,o.prototype=new m,o.prototype};function isPrimitive(o){return o==null||o===!0||o===!1||typeof o=="string"||typeof o=="number"}function isObject(o){return typeof o=="function"||typeof o=="object"&&o!==null}function maybeWrapAsError(o){return isPrimitive(o)?new Error(safeToString(o)):o}function withAppended(o,A){var f=o.length,m=new Array(f+1),C;for(C=0;C1,m=A.length>0&&!(A.length===1&&A[0]==="constructor"),C=thisAssignmentPattern.test(o+"")&&es5.names(o).length>0;if(f||m||C)return!0}return!1}catch{return!1}}function toFastProperties(obj){function FakeConstructor(){}FakeConstructor.prototype=obj;var receiver=new FakeConstructor;function ic(){return typeof receiver.foo}return ic(),ic(),obj;eval(obj)}var rident=/^[a-z$_][a-z$_0-9]*$/i;function isIdentifier(o){return rident.test(o)}function filledRange(o,A,f){for(var m=new Array(o),C=0;C10||o[0]>0}(),ret.nodeSupportsAsyncResource=ret.isNode&&function(){var o=!1;try{var A=_dereq_("async_hooks").AsyncResource;o=typeof A.prototype.runInAsyncScope=="function"}catch{o=!1}return o}(),ret.isNode&&ret.toFastProperties(process);try{throw new Error}catch(o){ret.lastLineError=o}module.exports=ret},{"./es5":13,async_hooks:void 0}]},{},[4])(4)});typeof window<"u"&&window!==null?window.P=window.Promise:typeof self<"u"&&self!==null&&(self.P=self.Promise)});var zRe="CIM SDK v5.0.2",YRe="Cesium v1.106",JRe="BIM V20230906",KRe="2023.12.21",l0t="WebSDKV5.0";var u0t={VERSION:zRe,CesiumVERSION:YRe,BIMVERSION:JRe,CompileTime:KRe},A0t=typeof window<"u"?window:typeof self<"u"?self:{};A0t.logSmartEarth=()=>{let o=`
%c${l0t}
%c
\u7248 \u672C \u53F7\uFF1A${zRe} ${YRe} ${JRe}
\u7F16\u8BD1\u65F6\u95F4\uFF1A${KRe}
`;setTimeout(console.log.bind(console,o,"color:#018aff;font-size:30px;font-wight:bold;font-family:\u5FAE\u8F6F\u96C5\u9ED1","color:#018aff;font-size:13px;font-family:\u5FAE\u8F6F\u96C5\u9ED1"),0)};var c0t=u0t;var yot={};Eue(yot,{AlphaMode:()=>g4,AlphaPipelineStage:()=>HIe,Animation:()=>zQe,AnimationViewModel:()=>YQe,Appearance:()=>Bh,ApproximateTerrainHeights:()=>$A,ArcGISTiledElevationTerrainProvider:()=>bne,ArcGisBaseMapType:()=>dP,ArcGisMapServerImageryProvider:()=>z_,ArcGisMapService:()=>UB,ArcType:()=>Ia,ArticulationStageType:()=>Oy,AssociativeArray:()=>Ro,AttributeCompression:()=>$l,AttributeType:()=>cs,AutoExposure:()=>g1e,AutomaticUniforms:()=>C5,Axis:()=>Ud,AxisAlignedBoundingBox:()=>Zz,B3dmLoader:()=>Zye,B3dmParser:()=>Xye,Base64Encoder:()=>$Z,BaseLayerPicker:()=>XQe,BaseLayerPickerViewModel:()=>qQe,BatchTable:()=>Yte,BatchTableHierarchy:()=>kie,BatchTexture:()=>S_,BatchTexturePipelineStage:()=>VIe,Billboard:()=>ih,BillboardCollection:()=>Tx,BillboardGraphics:()=>ZD,BillboardVisualizer:()=>iBe,BingMapsGeocoderService:()=>mit,BingMapsImageryProvider:()=>a8,BingMapsStyle:()=>tne,BlendEquation:()=>Zm,BlendFunction:()=>jA,BlendOption:()=>Uh,BlendTexture:()=>tG,BlendingState:()=>Nl,BoundingRectangle:()=>vr,BoundingSphere:()=>hi,BoundingSphereState:()=>eo,BoxEmitter:()=>Vne,BoxGeometry:()=>FD,BoxGeometryUpdater:()=>rBe,BoxGraphics:()=>Wte,BoxOutlineGeometry:()=>iQ,BrdfLutGenerator:()=>Swe,Buffer:()=>Wn,BufferLoader:()=>BY,BufferUsage:()=>Gr,CPUStylingPipelineStage:()=>KIe,CallbackProperty:()=>Hr,Camera:()=>Ls,CameraEventAggregator:()=>Q1e,CameraEventType:()=>Vu,CameraFlightPath:()=>Gxe,Cartesian2:()=>rt,Cartesian3:()=>Z,Cartesian4:()=>zt,Cartographic:()=>Rt,CartographicGeocoderService:()=>ibe,CatmullRomSpline:()=>Cit,Cesium3DContentGroup:()=>Nie,Cesium3DTile:()=>Nx,Cesium3DTileBatchTable:()=>IY,Cesium3DTileColorBlendMode:()=>xb,Cesium3DTileContent:()=>Nrt,Cesium3DTileContentFactory:()=>yre,Cesium3DTileContentState:()=>bc,Cesium3DTileContentType:()=>iC,Cesium3DTileFeature:()=>ns,Cesium3DTileFeatureTable:()=>TG,Cesium3DTileOptimizationHint:()=>Y2,Cesium3DTileOptimizations:()=>cve,Cesium3DTilePass:()=>Ad,Cesium3DTilePassState:()=>Nw,Cesium3DTilePointFeature:()=>jF,Cesium3DTileRefine:()=>c0,Cesium3DTileStyle:()=>qb,Cesium3DTileStyleEngine:()=>fve,Cesium3DTilesInspector:()=>KQe,Cesium3DTilesInspectorViewModel:()=>JQe,Cesium3DTilesVoxelProvider:()=>Krt,Cesium3DTileset:()=>_f,Cesium3DTilesetBaseTraversal:()=>pve,Cesium3DTilesetCache:()=>hve,Cesium3DTilesetGraphics:()=>$te,Cesium3DTilesetHeatmap:()=>dve,Cesium3DTilesetMetadata:()=>WY,Cesium3DTilesetMostDetailedTraversal:()=>gve,Cesium3DTilesetSkipTraversal:()=>mve,Cesium3DTilesetStatistics:()=>cN,Cesium3DTilesetTraversal:()=>CE,Cesium3DTilesetVisualizer:()=>nBe,CesiumInspector:()=>jQe,CesiumInspectorViewModel:()=>WQe,CesiumNavigation:()=>Rbe,CesiumRenderPass:()=>Lbe,CesiumTerrainProvider:()=>VN,CesiumWidget:()=>TJ,Check:()=>XA,CheckerboardMaterialProperty:()=>oee,CircleEmitter:()=>kbe,CircleGeometry:()=>vit,CircleOutlineGeometry:()=>Bit,CircleWaveMaterialProperty:()=>iG,ClassificationModelDrawCommand:()=>mIe,ClassificationPipelineStage:()=>zIe,ClassificationPrimitive:()=>cG,ClassificationType:()=>uu,ClearCommand:()=>Yu,ClippingPlane:()=>g0,ClippingPlaneCollection:()=>Wf,Clock:()=>mG,ClockRange:()=>np,ClockStep:()=>Zc,ClockViewModel:()=>VQe,CloudCollection:()=>ent,CloudType:()=>Uee,CollectionSource:()=>T9e,Color:()=>Ve,ColorBlendMode:()=>Pb,ColorGeometryInstanceAttribute:()=>_o,ColorMaterialProperty:()=>ba,Command:()=>qnt,CommandLoader:()=>mbe,ComponentDatatype:()=>Ft,Composite3DTileContent:()=>lye,CompositeEntityCollection:()=>eZe,CompositeMaterialProperty:()=>see,CompositePositionProperty:()=>Xy,CompositeProperty:()=>F_,CompressedTextureBuffer:()=>Fz,ComputeCommand:()=>TN,ComputeEngine:()=>Ive,ComputeRegionBox:()=>HXe,ConditionsExpression:()=>QEe,ConeEmitter:()=>b8,ConicArcSensor:()=>Kee,ConicArcSensorCollection:()=>Hnt,ConicArcSensorGeometry:()=>jee,ConicArcSensorGraphics:()=>Jee,ConicArcSensorOutlineGeometry:()=>qee,ConstantPositionProperty:()=>Cb,ConstantProperty:()=>zu,ConstantSpline:()=>nIe,ConstructionWorker:()=>P9e,ContentMetadata:()=>tve,ContentState:()=>db,Context:()=>Dve,ContextLimits:()=>Zn,CoplanarPolygonGeometry:()=>nJ,CoplanarPolygonGeometryLibrary:()=>S5,CoplanarPolygonOutlineGeometry:()=>XS,CornerType:()=>dc,CorridorGeometry:()=>tJ,CorridorGeometryLibrary:()=>iA,CorridorGeometryUpdater:()=>sBe,CorridorGraphics:()=>jte,CorridorOutlineGeometry:()=>aBe,Credit:()=>Qa,CreditDisplay:()=>Dwe,CubeMap:()=>Ew,CubeMapFace:()=>v2,CubicRealPolynomial:()=>Xz,CullFace:()=>pA,CullingVolume:()=>Mg,CumulusCloud:()=>Gw,CustomDataSource:()=>iie,CustomHeightmapTerrainProvider:()=>bit,CustomMercatorProjection:()=>oG,CustomShader:()=>cv,CustomShaderManagerEx:()=>Gte,CustomShaderMode:()=>Jz,CustomShaderPipelineStage:()=>e_e,CustomShaderTranslucencyMode:()=>yP,CustomTilingScheme:()=>fze,CylinderGeometry:()=>lBe,CylinderGeometryLibrary:()=>Ure,CylinderGeometryUpdater:()=>ABe,CylinderGraphics:()=>qte,CylinderOutlineGeometry:()=>uBe,CzmlDataSource:()=>rJ,DDSTexture:()=>Jbe,DataSource:()=>Zp,DataSourceClock:()=>BN,DataSourceCollection:()=>EBe,DataSourceDisplay:()=>AJ,DebugAppearance:()=>lnt,DebugCameraPrimitive:()=>Gd,DebugInspector:()=>k1e,DebugModelMatrixPrimitive:()=>vQe,DefaultProxy:()=>Sit,DepthFunction:()=>Px,DepthPlane:()=>Twe,DequantizationPipelineStage:()=>t_e,DerivedCommand:()=>aC,DeveloperError:()=>Ai,DeviceOrientationCameraController:()=>Mwe,DirectionalLight:()=>jne,DiscardEmptyTileImagePolicy:()=>ine,DiscardMissingTileImagePolicy:()=>Awe,DistanceDisplayCondition:()=>po,DistanceDisplayConditionGeometryInstanceAttribute:()=>aA,DistanceLegendViewModel:()=>Bbe,DoubleEndedPriorityQueue:()=>Mne,DoublyLinkedList:()=>Bre,DracoLoader:()=>wY,DrawCommand:()=>fn,DynamicGeometryBatch:()=>Kre,DynamicGeometryUpdater:()=>LA,ECharts:()=>Wz,EarthOrientationParameters:()=>Spe,EarthOrientationParametersSample:()=>kz,EasingFunction:()=>dC,EllipseGeometry:()=>tv,EllipseGeometryLibrary:()=>CI,EllipseGeometryUpdater:()=>yBe,EllipseGraphics:()=>Xte,EllipseOutlineGeometry:()=>Fb,Ellipsoid:()=>Ci,EllipsoidGeodesic:()=>dd,EllipsoidGeometry:()=>hp,EllipsoidGeometryUpdater:()=>BBe,EllipsoidGraphics:()=>dG,EllipsoidOutlineGeometry:()=>$_,EllipsoidPrimitive:()=>bwe,EllipsoidRhumbLine:()=>G_,EllipsoidSurfaceAppearance:()=>cY,EllipsoidTangentPlane:()=>lw,EllipsoidTerrainProvider:()=>yT,EllipsoidalOccluder:()=>a3,Empty3DTileContent:()=>V9,EncodedCartesian3:()=>eu,Entity:()=>nc,EntityCluster:()=>iR,EntityCollection:()=>dv,EntityView:()=>ZBe,Event:()=>ur,EventHelper:()=>Gx,ExpandBySmartEarth:()=>Ax,ExpandByTerra:()=>gze,Expression:()=>IP,ExpressionNodeType:()=>Rn,ExternalParameter:()=>cE,ExtrapolationType:()=>cb,FBXLoader:()=>ybe,FBXPrimitive:()=>kne,FBXTreeParser:()=>xbe,FeatureDataProvider:()=>pie,FeatureDetection:()=>wo,FeatureIdPipelineStage:()=>zY,FeatureJsonData:()=>xG,FisheyeProjectionMap:()=>gY,FisheyeProjectionMapShader:()=>D7,FlattenVS:()=>Unt,FlowEcharts:()=>Nre,Fog:()=>Pwe,ForEach:()=>Dr,FrameRateMonitor:()=>BQe,FrameState:()=>Rwe,Framebuffer:()=>Pg,FramebufferManager:()=>hc,FrustumCommands:()=>Owe,FrustumGeometry:()=>yG,FrustumOutlineGeometry:()=>fY,Fullscreen:()=>bg,FullscreenButton:()=>tSe,FullscreenButtonViewModel:()=>eSe,GWBaiduImageryProvider:()=>Bie,GeoJsonDataSource:()=>M9,GeoJsonLoader:()=>tIe,GeocodeType:()=>MJ,Geocoder:()=>oSe,GeocoderService:()=>Rne,GeocoderViewModel:()=>nSe,GeographicProjection:()=>Kd,GeographicTilingScheme:()=>th,Geometry:()=>Uo,Geometry3DTileContent:()=>uye,GeometryAttribute:()=>wr,GeometryAttributes:()=>Fu,GeometryFactory:()=>Pit,GeometryInstance:()=>kn,GeometryInstanceAttribute:()=>jy,GeometryOffsetAttribute:()=>Fs,GeometryPipeline:()=>Zl,GeometryPipelineStage:()=>n_e,GeometryType:()=>L2,GeometryUpdater:()=>mc,GeometryVisualizer:()=>zBe,GetFeatureInfoFormat:()=>V7,GifImageProperty:()=>QKe,Globe:()=>_we,GlobeDepth:()=>Uwe,GlobeSurfaceShaderSet:()=>lwe,GlobeSurfaceTile:()=>GD,GlobeSurfaceTileProvider:()=>ywe,GlobeTranslucency:()=>pJ,GlobeTranslucencyFramebuffer:()=>Gwe,GlobeTranslucencyState:()=>Fwe,GltfBufferViewLoader:()=>Gie,GltfDracoLoader:()=>Hie,GltfImageLoader:()=>zie,GltfIndexBufferLoader:()=>Yie,GltfJsonLoader:()=>Wie,GltfLoader:()=>bG,GltfLoaderUtil:()=>RD,GltfStructuralMetadataLoader:()=>Jye,GltfTextureLoader:()=>qie,GltfVertexBufferLoader:()=>Xie,GoogleEarthEnterpriseImageryProvider:()=>unt,GoogleEarthEnterpriseMapsProvider:()=>ane,GoogleEarthEnterpriseMetadata:()=>_R,GoogleEarthEnterpriseTerrainData:()=>Mee,GoogleEarthEnterpriseTerrainProvider:()=>Oit,GoogleEarthEnterpriseTileInformation:()=>lbe,GoogleMaps:()=>W7,GpxDataSource:()=>awe,Graticules:()=>vie,GregorianDate:()=>rG,GridImageryProvider:()=>Ant,GridMaterialProperty:()=>cee,GroundGeometryUpdater:()=>Cl,GroundPolylineGeometry:()=>uG,GroundPolylinePrimitive:()=>aR,GroundPrimitive:()=>Xb,GroupMetadata:()=>j$,GwBufferAnalysis:()=>wie,HeadingPitchRange:()=>Rx,HeadingPitchRoll:()=>bs,Heap:()=>J0e,HeightReference:()=>An,HeightmapEncoding:()=>HP,HeightmapTerrainData:()=>Rw,HeightmapTessellator:()=>ene,HermitePolynomialApproximation:()=>hBe,HermiteSpline:()=>U9,HilbertOrder:()=>R$,HomeButton:()=>sSe,HomeButtonViewModel:()=>aSe,HorizontalOrigin:()=>Ru,HugeAdapter:()=>VY,I3SDataProvider:()=>qne,I3SFeature:()=>SQe,I3SField:()=>DQe,I3SGeometry:()=>Gee,I3SLayer:()=>H4,I3SNode:()=>Hee,I3dmLoader:()=>rIe,I3dmParser:()=>iIe,Iau2000Orientation:()=>Bwe,Iau2006XysData:()=>Tpe,Iau2006XysSample:()=>Dte,IauOrientationAxes:()=>wwe,IauOrientationParameters:()=>vwe,ImageBasedLighting:()=>Lie,ImageBasedLightingPipelineStage:()=>wIe,ImageCombine:()=>kte,ImageMaterialProperty:()=>Yd,Imagery:()=>une,ImageryLayer:()=>oE,ImageryLayerCollection:()=>Iwe,ImageryLayerFeatureInfo:()=>ER,ImageryProvider:()=>oQ,ImageryState:()=>_u,Implicit3DTileContent:()=>H$,ImplicitAvailabilityBitstream:()=>F$,ImplicitMetadataView:()=>Uie,ImplicitSubdivisionScheme:()=>sp,ImplicitSubtree:()=>ere,ImplicitSubtreeCache:()=>mQe,ImplicitSubtreeMetadata:()=>dye,ImplicitTileCoordinates:()=>Qre,ImplicitTileset:()=>XY,IndexDatatype:()=>Bn,InfoBox:()=>ASe,InfoBoxViewModel:()=>uSe,InspectorShared:()=>tI,InstanceAttributeSemantic:()=>rp,InstancingPipelineStage:()=>NIe,InterpolationAlgorithm:()=>Git,InterpolationType:()=>oP,Intersect:()=>sa,IntersectionTests:()=>Sc,Intersections2D:()=>E8,Interval:()=>lb,InvertClassification:()=>pne,Ion:()=>Z2,IonGeocoderService:()=>dbe,IonImageryProvider:()=>Ib,IonResource:()=>H_,IonWorldImageryStyle:()=>dN,Iso8601:()=>un,JobScheduler:()=>Nwe,JobType:()=>gx,JsonMetadataTable:()=>RY,JulianDate:()=>Zt,KTX2Transcoder:()=>W0e,KeyboardEventModifier:()=>Sx,KeyframeNode:()=>SA,KmlCamera:()=>sxe,KmlDataSource:()=>gie,KmlLookAt:()=>lxe,KmlTour:()=>uxe,KmlTourFlyTo:()=>Axe,KmlTourWait:()=>hxe,Label:()=>a9,LabelCollection:()=>jD,LabelGraphics:()=>fG,LabelStyle:()=>Pu,LabelVisualizer:()=>YBe,LagrangePolynomialApproximation:()=>fBe,LeapSecond:()=>gA,Light:()=>dnt,LightingModel:()=>Mx,LightingPipelineStage:()=>a_e,LinearApproximation:()=>Aie,LinearSampler:()=>aQ,LinearSpline:()=>HY,MTLLoader:()=>Ibe,ManagedArray:()=>Mb,MapMode2D:()=>cw,MapProjection:()=>Vit,MapboxImageryProvider:()=>u8,MapboxStyleImageryProvider:()=>gnt,Material:()=>go,MaterialAppearance:()=>$c,MaterialPass:()=>Wbe,MaterialPipelineStage:()=>l_e,MaterialProperty:()=>ap,Math:()=>Be,Matrix2:()=>Cf,Matrix3:()=>Gt,Matrix4:()=>Re,Megatexture:()=>Zne,MeshParser:()=>Ebe,MeshPhongMaterial:()=>q7,MetadataClass:()=>wG,MetadataClassProperty:()=>_Y,MetadataComponentType:()=>ya,MetadataEntity:()=>wl,MetadataEnum:()=>Fye,MetadataEnumValue:()=>Lye,MetadataPipelineStage:()=>pD,MetadataSchema:()=>_3,MetadataSchemaLoader:()=>Zie,MetadataSemantic:()=>tre,MetadataTable:()=>cR,MetadataTableProperty:()=>gye,MetadataType:()=>Zo,MipmapHint:()=>eG,Model:()=>mp,Model3DTileContent:()=>S2,ModelAlphaOptions:()=>w_e,ModelAnimation:()=>AIe,ModelAnimationChannel:()=>lIe,ModelAnimationCollection:()=>cIe,ModelAnimationLoop:()=>oD,ModelAnimationState:()=>R2,ModelArticulation:()=>SIe,ModelArticulationStage:()=>QIe,ModelClippingPlanesPipelineStage:()=>MIe,ModelColorPipelineStage:()=>G9,ModelComponents:()=>jo,ModelDrawCommand:()=>CIe,ModelFeature:()=>hIe,ModelFeatureTable:()=>dIe,ModelFlattenPipelineStage:()=>H_e,ModelGraphics:()=>eY,ModelLightingOptions:()=>k_e,ModelMatrixUpdateStage:()=>OIe,ModelNode:()=>PIe,ModelRenderResources:()=>T_e,ModelRuntimeNode:()=>GIe,ModelRuntimePrimitive:()=>__e,ModelSceneGraph:()=>V_e,ModelSilhouettePipelineStage:()=>R_e,ModelSkin:()=>B_e,ModelSplitterPipelineStage:()=>F_e,ModelStatistics:()=>z_e,ModelType:()=>cd,ModelUtility:()=>Vs,ModelVisualizer:()=>JBe,Moon:()=>Qwe,MorphTargetsPipelineStage:()=>A_e,MorphWeightSpline:()=>zit,MortonOrder:()=>E4,MultiResourceImageryProvider:()=>bie,MultiResourceTerrainProvider:()=>Qie,Multiple3DTileContent:()=>ave,MultisampleFramebuffer:()=>jye,NavigationControl:()=>I8,NavigationHelpButton:()=>hSe,NavigationHelpButtonViewModel:()=>cSe,NavigationUtils:()=>_8,NavigationViewModel:()=>X7,NearFarScalar:()=>Eo,NeverTileDiscardPolicy:()=>pnt,NodeRenderResources:()=>N_e,NodeStatisticsPipelineStage:()=>UIe,NodeTransformationProperty:()=>Zte,OBJLoader:()=>_be,OBJPrimitive:()=>One,OIT:()=>zwe,Occluder:()=>_ie,OctahedralProjectedCubeMap:()=>PN,OffsetGeometryInstanceAttribute:()=>xf,OlMVTImageryProvider:()=>Sie,OpenCageGeocoderService:()=>Yit,OpenStreetMapImageryProvider:()=>fN,OrderedGroundPrimitiveCollection:()=>xBe,OrientedBoundingBox:()=>Lu,OrthographicFrustum:()=>us,OrthographicOffCenterFrustum:()=>Xf,Packable:()=>Jit,PackableForInterpolation:()=>Kit,Particle:()=>Hne,ParticleBurst:()=>D8,ParticleEmitter:()=>Ent,ParticleSystem:()=>Iv,Pass:()=>Yi,PassState:()=>x0,PathGraphics:()=>tY,PathVisualizer:()=>KBe,PeliasGeocoderService:()=>cbe,PerInstanceColorAppearance:()=>La,PerformanceDisplay:()=>yJ,PerformanceWatchdog:()=>gSe,PerformanceWatchdogViewModel:()=>fSe,PerspectiveFrustum:()=>fu,PerspectiveOffCenterFrustum:()=>rQ,PerspectiveProjectionMap:()=>pY,PerspectiveProjectionMapShader:()=>T7,PerspectiveProjectionMapWithDepth:()=>mY,PerspectiveProjectionMapWithDepthShader:()=>X2,PickDepth:()=>kwe,PickDepthFramebuffer:()=>Ywe,PickFramebuffer:()=>Jwe,Picking:()=>Xwe,PickingPipelineStage:()=>c_e,PinBuilder:()=>oY,PixelDatatype:()=>$r,PixelFormat:()=>rn,Plane:()=>ca,PlaneGeometry:()=>wBe,PlaneGeometryUpdater:()=>SBe,PlaneGraphics:()=>qEe,PlaneOutlineGeometry:()=>bBe,PntsLoader:()=>Cre,PntsParser:()=>mre,PointCloud:()=>MQe,PointCloudEyeDomeLighting:()=>kY,PointCloudShading:()=>DG,PointCloudStylingPipelineStage:()=>d_e,PointGraphics:()=>eie,PointLight:()=>CY,PointPrimitive:()=>EC,PointPrimitiveCollection:()=>Uz,PointVisualizer:()=>WBe,PolygonDepth:()=>m4,PolygonDepthFS:()=>cre,PolygonDepthVS:()=>hre,PolygonGeometry:()=>mA,PolygonGeometryLibrary:()=>ml,PolygonGeometryUpdater:()=>TBe,PolygonGraphics:()=>ks,PolygonHierarchy:()=>yn,PolygonOutlineGeometry:()=>DBe,PolygonPipeline:()=>MA,Polyline:()=>eQ,PolylineArrowMaterialProperty:()=>DD,PolylineCollection:()=>lR,PolylineColorAppearance:()=>l0,PolylineDashMaterialProperty:()=>Zs,PolylineGeometry:()=>iI,PolylineGeometryUpdater:()=>jBe,PolylineGlowMaterialProperty:()=>hee,PolylineGraphics:()=>Sb,PolylineMaterialAppearance:()=>ip,PolylineOutlineMaterialProperty:()=>MD,PolylinePipeline:()=>cc,PolylineTrailLinkMaterialProperty:()=>VKe,PolylineVisualizer:()=>XBe,PolylineVolumeGeometry:()=>MBe,PolylineVolumeGeometryLibrary:()=>FN,PolylineVolumeGeometryUpdater:()=>RBe,PolylineVolumeGraphics:()=>tie,PolylineVolumeOutlineGeometry:()=>PBe,PositionProperty:()=>$z,PositionPropertyArray:()=>s4,PostProcessStage:()=>wa,PostProcessStageCollection:()=>y1e,PostProcessStageComposite:()=>dp,PostProcessStageLibrary:()=>aE,PostProcessStageSampleMode:()=>uE,PostProcessStageTextureCache:()=>Ine,Primitive:()=>ra,PrimitiveCollection:()=>X_,PrimitiveLoadPlan:()=>NY,PrimitiveOutlineGenerator:()=>ore,PrimitiveOutlinePipelineStage:()=>p_e,PrimitivePipeline:()=>yN,PrimitiveRenderResources:()=>O_e,PrimitiveState:()=>gf,PrimitiveStatisticsPipelineStage:()=>m_e,PrimitiveType:()=>on,ProjectionPicker:()=>mSe,ProjectionPickerViewModel:()=>pSe,Property:()=>Bt,PropertyArray:()=>Vre,PropertyAttribute:()=>rre,PropertyAttributeProperty:()=>Hye,PropertyBag:()=>Qb,PropertyTable:()=>fR,PropertyTexture:()=>ire,PropertyTextureProperty:()=>Uye,ProviderViewModel:()=>Ig,Proxy:()=>qit,QuadraticRealPolynomial:()=>qB,QuadtreeOccluders:()=>Mie,QuadtreePrimitive:()=>Fw,QuadtreePrimitivezh:()=>jKe,QuadtreeTile:()=>EY,QuadtreeTileLoadState:()=>Hh,QuadtreeTileProvider:()=>KJ,QuantizedMeshTerrainData:()=>Sne,QuarticRealPolynomial:()=>PEe,Quaternion:()=>fr,QuaternionSpline:()=>aIe,Queue:()=>bN,RasterizeHtml:()=>_G,Ray:()=>Ua,Rectangle:()=>gi,RectangleCollisionChecker:()=>qre,RectangleGeometry:()=>oJ,RectangleGeometryLibrary:()=>Xp,RectangleGeometryUpdater:()=>OBe,RectangleGraphics:()=>gG,RectangleOutlineGeometry:()=>vre,RectangularSensor:()=>Az,RectangularSensorFS:()=>Fee,RectangularSensorGraphics:()=>Vnt,RectangularSensorPrimitive:()=>zbe,RectangularSensorScanPlaneFS:()=>Vbe,RectangularSensorVS:()=>Yne,RectangularSensorVisualizer:()=>Ybe,ReferenceFrame:()=>yf,ReferenceProperty:()=>uY,RegionWeather:()=>zne,RenderEntity:()=>bJ,RenderObjectFactory:()=>sA,RenderState:()=>Xr,Renderbuffer:()=>Zy,RenderbufferFormat:()=>_x,Request:()=>lp,RequestErrorEvent:()=>CN,RequestScheduler:()=>W_,RequestState:()=>Ju,RequestType:()=>II,ResetViewNavigationControl:()=>Qbe,Resource:()=>Cr,ResourceCache:()=>gc,ResourceCacheKey:()=>gv,ResourceCacheStatistics:()=>kye,ResourceLoader:()=>im,ResourceLoaderState:()=>xo,Rotation:()=>Rb,RuntimeError:()=>ki,S2Cell:()=>Q5,S3MCacheFileRenderEntity:()=>az,S3MCompressType:()=>znt,S3MContentFactory:()=>jbe,S3MContentParser:()=>qbe,S3MCreateIndexJob:()=>z1e,S3MCreateVertexJob:()=>H1e,S3MDataSource:()=>yXe,S3MLayerCache:()=>Xbe,S3MLayerScheduler:()=>Zbe,S3MPixelFormat:()=>Ynt,S3MTile:()=>eQe,S3MTilesFS:()=>U1e,S3MTilesLayer:()=>Jne,S3MTilesVS:()=>O1e,S3ModelParser:()=>$be,SDFSettings:()=>sE,SampledPositionProperty:()=>N_,SampledProperty:()=>rD,Sampler:()=>Oa,ScaledPositionProperty:()=>CG,Scene:()=>W1e,SceneFramebuffer:()=>Cne,SceneMode:()=>ni,SceneMode2DPipelineStage:()=>C_e,SceneModePicker:()=>ESe,SceneModePickerViewModel:()=>CSe,SceneTransforms:()=>ms,SceneTransitioner:()=>b1e,ScreenSpaceCameraController:()=>R1e,ScreenSpaceEventHandler:()=>cr,ScreenSpaceEventType:()=>si,SelectedFeatureIdPipelineStage:()=>H9,SelectionIndicator:()=>ySe,SelectionIndicatorViewModel:()=>xSe,Sensor:()=>Brt,ShaderBuilder:()=>gre,ShaderCache:()=>vve,ShaderDestination:()=>Ki,ShaderFunction:()=>D_e,ShaderProgram:()=>qa,ShaderSource:()=>_r,ShaderStruct:()=>Q_e,ShadowMap:()=>uT,ShadowMapShader:()=>uP,ShadowMode:()=>Ns,ShadowVolumeAppearance:()=>AD,ShowGeometryInstanceAttribute:()=>Yl,Simon1994PlanetaryPositions:()=>z9,SimplePolylineGeometry:()=>Xit,SingleTileImageryProvider:()=>Cv,SkinningPipelineStage:()=>x_e,SkyAtmosphere:()=>SJ,SkyBox:()=>Y3,SpatialNode:()=>PQe,SphereEmitter:()=>T8,SphereGeometry:()=>Zit,SphereOutlineGeometry:()=>$D,Spherical:()=>gBe,Spline:()=>Yh,SplitDirection:()=>sT,Splitter:()=>$ne,SpotLight:()=>_Xe,StaticGeometryColorBatch:()=>aD,StaticGeometryPerMaterialBatch:()=>sD,StaticGroundGeometryColorBatch:()=>Cee,StaticGroundGeometryPerMaterialBatch:()=>UBe,StaticGroundPolylinePerMaterialBatch:()=>qBe,StaticOutlineGeometryBatch:()=>Eee,StencilConstants:()=>ia,StencilFunction:()=>du,StencilOperation:()=>jn,SteppedSpline:()=>oIe,StripeMaterialProperty:()=>dee,StripeOrientation:()=>FP,StructuralMetadata:()=>aT,StyleCommandsNeeded:()=>RN,StyleExpression:()=>Int,Sun:()=>j1e,SunLight:()=>KG,SunPostProcess:()=>N1e,SupportedImageFormats:()=>Kye,SvgPathBindingHandler:()=>HQe,TaskProcessor:()=>hd,Terrain:()=>LQe,TerrainData:()=>P3,TerrainEncoding:()=>OD,TerrainExaggeration:()=>mb,TerrainFillMesh:()=>hne,TerrainFlatten:()=>bT,TerrainFlattenPolygonTexture:()=>q1e,TerrainMesh:()=>R3,TerrainOffsetProperty:()=>kre,TerrainProvider:()=>uC,TerrainQuantization:()=>fE,TerrainRegionWeather:()=>Hbe,TerrainState:()=>wc,Texture:()=>Nn,Texture3D:()=>Mve,TextureAtlas:()=>o9,TextureCache:()=>Bve,TextureMagnificationFilter:()=>Wu,TextureManager:()=>wEe,TextureMinificationFilter:()=>Ba,TextureUniform:()=>vEe,TextureWrap:()=>Vo,TileAvailability:()=>gP,TileBoundingRegion:()=>LD,TileBoundingS2Cell:()=>lve,TileBoundingSphere:()=>pT,TileBoundingVolume:()=>_nt,TileCoordinatesImageryProvider:()=>FQe,TileDiscardPolicy:()=>vnt,TileEdge:()=>ka,TileImagery:()=>Ane,TileMapServiceImageryProvider:()=>Lw,TileMetadata:()=>rve,TileOrientedBoundingBox:()=>DP,TileProviderError:()=>yh,TileReplacementQueue:()=>Rie,TileSelectionResult:()=>Xo,TileState:()=>Bnt,Tileset3DTileContent:()=>Y_e,TilesetMetadata:()=>Ave,TilesetPipelineStage:()=>vIe,TilesetRegionWeather:()=>Gbe,TilingScheme:()=>$it,TimeConstants:()=>lu,TimeDynamicImagery:()=>lne,TimeDynamicPointCloud:()=>eoe,TimeInterval:()=>ws,TimeIntervalCollection:()=>lC,TimeIntervalCollectionPositionProperty:()=>S4,TimeIntervalCollectionProperty:()=>l4,TimeStandard:()=>_l,Timeline:()=>vSe,TimelineHighlightRange:()=>ISe,TimelineTrack:()=>_Se,Tipsify:()=>VEe,ToggleButtonViewModel:()=>g5,Tonemapper:()=>J5,Transforms:()=>kr,TranslationRotationScale:()=>_I,TranslucentTileClassification:()=>Kwe,TridiagonalSystemSolver:()=>sre,TrustedServers:()=>vte,TweenCollection:()=>Bne,UniformState:()=>bve,UniformType:()=>Ko,UrlTemplateGeojsonProvider:()=>wXe,UrlTemplateImageryProvider:()=>Hx,UserInterfaceControl:()=>Gne,Utils:()=>vw,VERSION:()=>xot,VRButton:()=>wSe,VRButtonViewModel:()=>BSe,VRTheWorldTerrainProvider:()=>rrt,VaryingType:()=>cC,Vector3DTileBatch:()=>f4,Vector3DTileClampedPolylines:()=>X_e,Vector3DTileContent:()=>eve,Vector3DTileGeometry:()=>OF,Vector3DTilePoints:()=>J_e,Vector3DTilePolygons:()=>K_e,Vector3DTilePolylines:()=>xre,Vector3DTilePrimitive:()=>Oie,VelocityOrientationProperty:()=>pBe,VelocityVectorProperty:()=>zre,VertexArray:()=>hu,VertexArrayFacade:()=>Oz,VertexAttributeSemantic:()=>Bo,VertexCompressOption:()=>w_,VertexFormat:()=>Pr,VerticalOrigin:()=>hn,VideoSynchronizer:()=>ert,View:()=>d8,ViewShed:()=>Vje,ViewShedMap:()=>JG,ViewShedMapShader:()=>hP,Viewer:()=>_oe,ViewportQuad:()=>ioe,Visibility:()=>rA,Visualizer:()=>q$e,VolumeCloud:()=>noe,VoxelBoxShape:()=>YN,VoxelContent:()=>CQe,VoxelCylinderShape:()=>JN,VoxelEllipsoidShape:()=>VJ,VoxelInspector:()=>QSe,VoxelInspectorViewModel:()=>bSe,VoxelPrimitive:()=>roe,VoxelProvider:()=>Pnt,VoxelRenderResources:()=>fQe,VoxelShape:()=>Rnt,VoxelShapeType:()=>YA,VoxelTraversal:()=>Yee,VulkanConstants:()=>nrt,WallGeometry:()=>GBe,WallGeometryLibrary:()=>Xre,WallGeometryUpdater:()=>VBe,WallGraphics:()=>iY,WallOutlineGeometry:()=>HBe,WaterFS:()=>kxe,WaterMaterialProperty:()=>PXe,WebGLConstants:()=>li,WebMapServiceImageryProvider:()=>A8,WebMapTileServiceImageryProvider:()=>F3,WebMercatorProjection:()=>ec,WebMercatorTilingScheme:()=>Zf,WindingOrder:()=>dI,WireframeIndexGenerator:()=>fre,WireframePipelineStage:()=>I_e,ZoomNavigationControl:()=>Pee,_shadersAcesTonemappingStage:()=>Zwe,_shadersAdditiveBlend:()=>L1e,_shadersAdjustTranslucentFS:()=>eee,_shadersAllMaterialAppearanceFS:()=>bxe,_shadersAllMaterialAppearanceVS:()=>Qxe,_shadersAmbientOcclusionGenerate:()=>$we,_shadersAmbientOcclusionModulate:()=>e1e,_shadersAspectRampMaterial:()=>q0e,_shadersAtmosphereCommon:()=>I4,_shadersBasicMaterialAppearanceFS:()=>Sxe,_shadersBasicMaterialAppearanceVS:()=>Dxe,_shadersBillboardCollectionFS:()=>lEe,_shadersBillboardCollectionVS:()=>uEe,_shadersBlackAndWhite:()=>t1e,_shadersBloomComposite:()=>i1e,_shadersBrdfLutGeneratorFS:()=>Pve,_shadersBrightPass:()=>F1e,_shadersBrightness:()=>r1e,_shadersBumpMapMaterial:()=>X0e,_shadersCPUStylingStageFS:()=>JIe,_shadersCPUStylingStageVS:()=>YIe,_shadersCheckFloatTexturePrecisionFS:()=>UXe,_shadersCheckerboardMaterial:()=>Z0e,_shadersCloudCollectionFS:()=>Rve,_shadersCloudCollectionVS:()=>Lve,_shadersCloudNoiseFS:()=>Fve,_shadersCloudNoiseVS:()=>Nve,_shadersCompareAndPackTranslucentDepth:()=>kve,_shadersCompositeOITFS:()=>Ove,_shadersCompositeTranslucentClassification:()=>z7,_shadersContrastBias:()=>n1e,_shadersCustomShaderStageFS:()=>jIe,_shadersCustomShaderStageVS:()=>WIe,_shadersCzmBuiltins:()=>E7,_shadersDepthOfField:()=>o1e,_shadersDepthPlaneFS:()=>Uve,_shadersDepthPlaneVS:()=>Gve,_shadersDepthView:()=>a1e,_shadersDepthViewPacked:()=>Lnt,_shadersDotMaterial:()=>$0e,_shadersEdgeDetection:()=>s1e,_shadersElevationBandMaterial:()=>epe,_shadersElevationContourMaterial:()=>tpe,_shadersElevationRampMaterial:()=>ipe,_shadersEllipsoidFS:()=>tee,_shadersEllipsoidSurfaceAppearanceFS:()=>Pxe,_shadersEllipsoidSurfaceAppearanceVS:()=>Rxe,_shadersEllipsoidVS:()=>iee,_shadersFXAA:()=>u1e,_shadersFXAA3_11:()=>Hve,_shadersFadeMaterial:()=>rpe,_shadersFeatureIdStageFS:()=>qIe,_shadersFeatureIdStageVS:()=>XIe,_shadersFilmicTonemapping:()=>l1e,_shadersGaussianBlur1D:()=>oz,_shadersGaussianBlur1DSun:()=>m1e,_shadersGeometryStageFS:()=>i_e,_shadersGeometryStageVS:()=>r_e,_shadersGlobeFS:()=>Vve,_shadersGlobeVS:()=>zve,_shadersGridMaterial:()=>npe,_shadersGroundAtmosphere:()=>ree,_shadersHSBToRGB:()=>oCe,_shadersHSLToRGB:()=>aCe,_shadersImageBasedLightingStageFS:()=>BIe,_shadersInstancingStageCommon:()=>RIe,_shadersInstancingStageVS:()=>LIe,_shadersIntersectBox:()=>aQe,_shadersIntersectClippingPlanes:()=>oQe,_shadersIntersectCylinder:()=>sQe,_shadersIntersectDepth:()=>nQe,_shadersIntersectEllipsoid:()=>lQe,_shadersIntersection:()=>Z7,_shadersIntersectionUtils:()=>rQe,_shadersLegacyInstancingStageVS:()=>FIe,_shadersLensFlare:()=>A1e,_shadersLightingStageFS:()=>o_e,_shadersMaterialStageFS:()=>s_e,_shadersMegatexture:()=>dQe,_shadersMetadataStageFS:()=>ZIe,_shadersMetadataStageVS:()=>$Ie,_shadersModelClippingPlanesStageFS:()=>TIe,_shadersModelColorStageFS:()=>DIe,_shadersModelFS:()=>fIe,_shadersModelFlattenStageFS:()=>G_e,_shadersModelFlattenStageVS:()=>U_e,_shadersModelSilhouetteStageFS:()=>M_e,_shadersModelSilhouetteStageVS:()=>P_e,_shadersModelSplitterStageFS:()=>L_e,_shadersModelVS:()=>gIe,_shadersModifiedReinhardTonemapping:()=>c1e,_shadersMorphTargetsStageVS:()=>u_e,_shadersNightVision:()=>h1e,_shadersNormalMapMaterial:()=>ope,_shadersOctahedralProjectionAtlasFS:()=>oye,_shadersOctahedralProjectionFS:()=>aye,_shadersOctahedralProjectionVS:()=>sye,_shadersOctree:()=>hQe,_shadersPassThrough:()=>HD,_shadersPassThroughDepth:()=>nz,_shadersPerInstanceColorAppearanceFS:()=>KEe,_shadersPerInstanceColorAppearanceVS:()=>WEe,_shadersPerInstanceFlatColorAppearanceFS:()=>Vte,_shadersPerInstanceFlatColorAppearanceVS:()=>jEe,_shadersPointCloudEyeDomeLighting:()=>qye,_shadersPointCloudStylingStageVS:()=>h_e,_shadersPointPrimitiveCollectionFS:()=>r5,_shadersPointPrimitiveCollectionVS:()=>hEe,_shadersPolylineArrowMaterial:()=>ape,_shadersPolylineColorAppearanceVS:()=>OEe,_shadersPolylineCommon:()=>c3,_shadersPolylineDashMaterial:()=>spe,_shadersPolylineFS:()=>zte,_shadersPolylineGlowMaterial:()=>lpe,_shadersPolylineMaterialAppearanceVS:()=>UEe,_shadersPolylineOutlineMaterial:()=>upe,_shadersPolylineShadowVolumeFS:()=>LEe,_shadersPolylineShadowVolumeMorphFS:()=>FEe,_shadersPolylineShadowVolumeMorphVS:()=>NEe,_shadersPolylineShadowVolumeVS:()=>kEe,_shadersPolylineVS:()=>Lxe,_shadersPostProcessRain:()=>Fnt,_shadersPostProcessSnow:()=>Nnt,_shadersPrimitiveOutlineStageFS:()=>g_e,_shadersPrimitiveOutlineStageVS:()=>f_e,_shadersRGBToHSB:()=>MCe,_shadersRGBToHSL:()=>PCe,_shadersRGBToXYZ:()=>RCe,_shadersReinhardTonemapping:()=>d1e,_shadersReprojectWebMercatorFS:()=>Yve,_shadersReprojectWebMercatorVS:()=>Jve,_shadersRimLightingMaterial:()=>Ape,_shadersSelectedFeatureIdStageCommon:()=>J$,_shadersShadowVolumeAppearanceFS:()=>Kte,_shadersShadowVolumeAppearanceVS:()=>JEe,_shadersShadowVolumeFS:()=>d9,_shadersSilhouette:()=>f1e,_shadersSkinningStageVS:()=>E_e,_shadersSkyAtmosphereCommon:()=>nee,_shadersSkyAtmosphereFS:()=>Kve,_shadersSkyAtmosphereVS:()=>Wve,_shadersSkyBoxFS:()=>jve,_shadersSkyBoxVS:()=>qve,_shadersSlopeRampMaterial:()=>cpe,_shadersStripeMaterial:()=>hpe,_shadersSunFS:()=>Xve,_shadersSunShaft:()=>knt,_shadersSunShaftHdr:()=>Ont,_shadersSunShaftModulate:()=>p1e,_shadersSunTextureFS:()=>Zve,_shadersSunTextureFS_v2:()=>GXe,_shadersSunVS:()=>eBe,_shadersSunVisibleFS:()=>$ve,_shadersSunVisibleShaft:()=>C1e,_shadersSunVisibleVS:()=>IIe,_shadersTexturedMaterialAppearanceFS:()=>Txe,_shadersTexturedMaterialAppearanceVS:()=>Mxe,_shadersVector3DTileClampedPolylinesFS:()=>q_e,_shadersVector3DTileClampedPolylinesVS:()=>j_e,_shadersVector3DTilePolylinesVS:()=>W_e,_shadersVectorTileVS:()=>P$,_shadersViewportQuadFS:()=>tBe,_shadersViewportQuadVS:()=>Lre,_shadersVoxelFS:()=>tQe,_shadersVoxelVS:()=>iQe,_shadersWater:()=>dpe,_shadersXYZToRGB:()=>nEe,_shadersacesTonemapping:()=>Sme,_shadersalphaWeight:()=>Dme,_shadersantialias:()=>Tme,_shadersapproximateSphericalCoordinates:()=>Mme,_shadersbackFacing:()=>Pme,_shadersbranchFreeTernary:()=>Rme,_shaderscascadeColor:()=>Lme,_shaderscascadeDistance:()=>Fme,_shaderscascadeMatrix:()=>Nme,_shaderscascadeWeights:()=>kme,_shaderscolumbusViewMorph:()=>Ome,_shaderscomputePosition:()=>Ume,_shadersconvertUvToBox:()=>uQe,_shadersconvertUvToCylinder:()=>AQe,_shadersconvertUvToEllipsoid:()=>cQe,_shaderscosineAndSine:()=>Gme,_shadersdecompressTextureCoordinates:()=>Hme,_shadersdefaultPbrMaterial:()=>Vme,_shadersdegreesPerRadian:()=>Fpe,_shadersdepthClamp:()=>zme,_shadersdepthRange:()=>Npe,_shadersdepthRangeStruct:()=>xme,_shaderseastNorthUpToEyeCoordinates:()=>Yme,_shadersellipsoidContainsPoint:()=>Jme,_shadersellipsoidWgs84TextureCoordinates:()=>Kme,_shadersepsilon1:()=>kpe,_shadersepsilon2:()=>Ope,_shadersepsilon3:()=>Upe,_shadersepsilon4:()=>Gpe,_shadersepsilon5:()=>Hpe,_shadersepsilon6:()=>Vpe,_shadersepsilon7:()=>zpe,_shadersequalsEpsilon:()=>Wme,_shaderseyeOffset:()=>jme,_shaderseyeToWindowCoordinates:()=>qme,_shadersfastApproximateAtan:()=>Xme,_shadersfog:()=>Zme,_shadersgammaCorrect:()=>$me,_shadersgeodeticSurfaceNormal:()=>eCe,_shadersgetDefaultMaterial:()=>tCe,_shadersgetLambertDiffuse:()=>iCe,_shadersgetSpecular:()=>rCe,_shadersgetWaterNoise:()=>nCe,_shadershue:()=>sCe,_shadersinfinity:()=>Ype,_shadersinverseGamma:()=>lCe,_shadersisEmpty:()=>uCe,_shadersisFull:()=>ACe,_shaderslatitudeToWebMercatorFraction:()=>cCe,_shaderslineDistance:()=>dCe,_shaderslinearToSrgb:()=>hCe,_shadersluminance:()=>fCe,_shadersmaterial:()=>yme,_shadersmaterialInput:()=>Ime,_shadersmetersPerPixel:()=>gCe,_shadersmodelMaterial:()=>_me,_shadersmodelToWindowCoordinates:()=>pCe,_shadersmodelVertexOutput:()=>vme,_shadersmultiplyWithColorBalance:()=>mCe,_shadersnearFarScalar:()=>CCe,_shadersoctDecode:()=>ECe,_shadersoneOverPi:()=>Jpe,_shadersoneOverTwoPi:()=>Kpe,_shaderspackDepth:()=>xCe,_shaderspassCesium3DTile:()=>Wpe,_shaderspassCesium3DTileClassification:()=>jpe,_shaderspassCesium3DTileClassificationIgnoreShow:()=>qpe,_shaderspassClassification:()=>Xpe,_shaderspassCompute:()=>Zpe,_shaderspassEnvironment:()=>$pe,_shaderspassGlobe:()=>eme,_shaderspassOpaque:()=>tme,_shaderspassOverlay:()=>ime,_shaderspassTerrainClassification:()=>rme,_shaderspassTranslucent:()=>nme,_shaderspassVoxels:()=>ome,_shaderspbrLighting:()=>yCe,_shaderspbrMetallicRoughnessMaterial:()=>ICe,_shaderspbrParameters:()=>Bme,_shaderspbrSpecularGlossinessMaterial:()=>_Ce,_shadersphong:()=>vCe,_shaderspi:()=>ame,_shaderspiOverFour:()=>sme,_shaderspiOverSix:()=>lme,_shaderspiOverThree:()=>ume,_shaderspiOverTwo:()=>Ame,_shadersplaneDistance:()=>BCe,_shaderspointAlongRay:()=>wCe,_shadersradiansPerDegree:()=>cme,_shadersray:()=>wme,_shadersrayEllipsoidIntersectionInterval:()=>bCe,_shadersraySegment:()=>bme,_shadersraySphereIntersectionInterval:()=>QCe,_shadersreadDepth:()=>SCe,_shadersreadNonPerspective:()=>DCe,_shadersreverseLogDepth:()=>TCe,_shadersround:()=>LCe,_shaderssampleOctahedralProjection:()=>FCe,_shaderssaturation:()=>NCe,_shaderssceneMode2D:()=>hme,_shaderssceneMode3D:()=>dme,_shaderssceneModeColumbusView:()=>fme,_shaderssceneModeMorphing:()=>gme,_shadersshadowDepthCompare:()=>kCe,_shadersshadowParameters:()=>Qme,_shadersshadowVisibility:()=>OCe,_shaderssignNotZero:()=>UCe,_shaderssolarRadius:()=>pme,_shaderssphericalHarmonics:()=>GCe,_shaderssrgbToLinear:()=>HCe,_shaderstangentToEyeSpaceMatrix:()=>VCe,_shaderstextureCube:()=>zCe,_shadersthreePiOver2:()=>mme,_shaderstransformPlane:()=>YCe,_shaderstranslateRelativeToEye:()=>JCe,_shaderstranslucentPhong:()=>KCe,_shaderstranspose:()=>WCe,_shaderstwoPi:()=>Cme,_shadersunpackDepth:()=>jCe,_shadersunpackFloat:()=>qCe,_shadersunpackUint:()=>XCe,_shadersvalueTransform:()=>ZCe,_shadersvertexLogDepth:()=>$Ce,_shaderswebMercatorMaxLatitude:()=>Eme,_shaderswindowToEyeCoordinates:()=>eEe,_shaderswriteDepthClamp:()=>tEe,_shaderswriteLogDepth:()=>iEe,_shaderswriteNonPerspective:()=>rEe,addBuffer:()=>wye,addDefaults:()=>Cye,addExtensionsRequired:()=>_ye,addExtensionsUsed:()=>I3,addPipelineExtras:()=>bY,addToArray:()=>$y,appendForwardSlash:()=>G0e,arrayRemoveDuplicates:()=>up,barycentricCoordinates:()=>Jte,binarySearch:()=>d0,buildDrawCommand:()=>_Ie,buildModuleUrl:()=>ja,buildVoxelDrawCommands:()=>pQe,clone:()=>Sn,combine:()=>So,computeFlyToLocationForRectangle:()=>Kne,createBillboardPointCallback:()=>Ere,createBlurStage:()=>Lee,createCommand:()=>Xs,createDefaultImageryProviderViewModels:()=>ZQe,createDefaultTerrainProviderViewModels:()=>$Qe,createEdgeStage:()=>v8,createElevationBandMaterial:()=>int,createFragmentFromTemplate:()=>vbe,createGooglePhotorealistic3DTileset:()=>rnt,createGuid:()=>Rl,createMaterialPropertyDescriptor:()=>$p,createOsmBuildings:()=>nnt,createOsmBuildingsAsync:()=>ont,createPropertyDescriptor:()=>fi,createRawPropertyDescriptor:()=>zy,createTangentSpaceDebugPrimitive:()=>ant,createTaskProcessorWorker:()=>Jnt,createUniform:()=>Ppe,createUniformArray:()=>Lpe,createWorldImagery:()=>snt,createWorldImageryAsync:()=>z5,createWorldTerrain:()=>wit,createWorldTerrainAsync:()=>Tne,decodeGoogleEarthEnterpriseData:()=>abe,decodeVectorPolylinePositions:()=>Z_e,defaultValue:()=>oe,defer:()=>Mc,defined:()=>O,demodernizeShader:()=>oEe,deprecationWarning:()=>ii,destroyObject:()=>Ar,exportKml:()=>z$e,fflate_module:()=>Cbe,findAccessorMinMax:()=>SY,findContentMetadata:()=>Ire,findGroupMetadata:()=>_re,findTileMetadata:()=>ove,forEachTextureInMaterial:()=>Kie,formatError:()=>F4,fragment:()=>Hje,freezeRenderState:()=>qVe,getAbsoluteUri:()=>Pz,getAccessorByteStride:()=>dR,getBaseUri:()=>V0e,getBinaryAccessor:()=>cD,getClipAndStyleCode:()=>wQe,getClippingFunction:()=>hJ,getComponentReader:()=>QY,getElement:()=>tc,getExtensionFromUri:()=>Cte,getFilenameFromUri:()=>nY,getImageFromTypedArray:()=>BEe,getImagePixels:()=>mN,getJsonFromTypedArray:()=>em,getMagic:()=>BG,getStringFromTypedArray:()=>hQ,getTimestamp:()=>oA,hasExtension:()=>rc,heightReferenceOnEntityPropertyChanged:()=>eJ,isBitSet:()=>cI,isBlobUri:()=>Ete,isCrossOriginUrl:()=>xte,isDataUri:()=>Rz,isLeapYear:()=>X5,knockout:()=>qi,knockout_3_5_1:()=>QT,knockout_es5:()=>GQe,libgif:()=>Wxe,loadAndExecuteScript:()=>yte,loadCRN:()=>Hit,loadCubeMap:()=>Tve,loadDDS:()=>Bte,loadImageFromTypedArray:()=>Vie,loadKTX2:()=>$P,loadView:()=>Une,mergeSort:()=>h8,moveTechniqueRenderStates:()=>Iye,moveTechniquesToExtension:()=>vye,numberOfComponentsForType:()=>y3,objectToQuery:()=>Ite,oneTimeWarning:()=>$o,packer:()=>SEe,parseBatchTable:()=>GY,parseBoundingVolumeSemantics:()=>Oye,parseDefines:()=>Fbe,parseFeatureMetadataLegacy:()=>Yye,parseGlb:()=>xye,parseResponseHeaders:()=>z0e,parseStructuralMetadata:()=>zye,pointInsideTriangle:()=>Wit,preprocess3DTileContent:()=>UG,processVoxelProperties:()=>gQe,queryToObject:()=>fb,rasterizeHTML_allinone:()=>nye,readAccessorPacked:()=>bye,removeExtension:()=>k9,removeExtensionsRequired:()=>Eye,removeExtensionsUsed:()=>Jie,removePipelineExtras:()=>yye,removeUnusedElements:()=>Bye,remove_primitive:()=>uz,resizeImageToNextPowerOfTwo:()=>c9,sampleTerrain:()=>sJ,sampleTerrainMostDetailed:()=>Tw,scaleToGeodeticSurface:()=>bte,subdivideArray:()=>GEe,subscribeAndEvaluate:()=>Ix,svgCompassGyro:()=>Dbe,svgCompassOuterRing:()=>Sbe,svgCompassRotationMarker:()=>Tbe,svgReset:()=>wbe,turf:()=>Ho,updateAccessorComponentTypes:()=>Qye,updateVersion:()=>Sye,usesExtension:()=>Tg,vertex:()=>Gje,viewerCesium3DTilesInspectorMixin:()=>fot,viewerCesiumInspectorMixin:()=>got,viewerCesiumNavigationMixin:()=>_rt,viewerDragDropMixin:()=>pot,viewerPerformanceWatchdogMixin:()=>mot,viewerVoxelInspectorMixin:()=>Eot,webGLConstantToGlslType:()=>ort,wrapFunction:()=>pbe,writeTextToCanvas:()=>l3});var h0t=Object.create,gHe=Object.defineProperty,d0t=Object.getOwnPropertyDescriptor,f0t=Object.getOwnPropertyNames,g0t=Object.getPrototypeOf,p0t=Object.prototype.hasOwnProperty,YF=(o=>typeof My<"u"?My:typeof Proxy<"u"?new Proxy(o,{get:(A,f)=>(typeof My<"u"?My:A)[f]}):o)(function(o){if(typeof My<"u")return My.apply(this,arguments);throw new Error('Dynamic require of "'+o+'" is not supported')}),wt=(o,A)=>()=>(A||o((A={exports:{}}).exports,A),A.exports),m0t=(o,A,f,m)=>{if(A&&typeof A=="object"||typeof A=="function")for(let C of f0t(A))!p0t.call(o,C)&&C!==f&&gHe(o,C,{get:()=>A[C],enumerable:!(m=d0t(A,C))||m.enumerable});return o},Dc=(o,A,f)=>(f=o!=null?h0t(g0t(o)):{},m0t(A||!o||!o.__esModule?gHe(f,"default",{value:o,enumerable:!0}):f,o)),r0e=wt((o,A)=>{var f=function(m){m==null&&(m=new Date().getTime()),this.N=624,this.M=397,this.MATRIX_A=2567483615,this.UPPER_MASK=2147483648,this.LOWER_MASK=2147483647,this.mt=new Array(this.N),this.mti=this.N+1,m.constructor==Array?this.init_by_array(m,m.length):this.init_seed(m)};f.prototype.init_seed=function(m){for(this.mt[0]=m>>>0,this.mti=1;this.mti>>30;this.mt[this.mti]=(((m&4294901760)>>>16)*1812433253<<16)+(m&65535)*1812433253+this.mti,this.mt[this.mti]>>>=0}},f.prototype.init_by_array=function(m,C){var E,x,y;for(this.init_seed(19650218),E=1,x=0,y=this.N>C?this.N:C;y;y--){var I=this.mt[E-1]^this.mt[E-1]>>>30;this.mt[E]=(this.mt[E]^(((I&4294901760)>>>16)*1664525<<16)+(I&65535)*1664525)+m[x]+x,this.mt[E]>>>=0,E++,x++,E>=this.N&&(this.mt[0]=this.mt[this.N-1],E=1),x>=C&&(x=0)}for(y=this.N-1;y;y--){var I=this.mt[E-1]^this.mt[E-1]>>>30;this.mt[E]=(this.mt[E]^(((I&4294901760)>>>16)*1566083941<<16)+(I&65535)*1566083941)-E,this.mt[E]>>>=0,E++,E>=this.N&&(this.mt[0]=this.mt[this.N-1],E=1)}this.mt[0]=2147483648},f.prototype.random_int=function(){var m,C=new Array(0,this.MATRIX_A);if(this.mti>=this.N){var E;for(this.mti==this.N+1&&this.init_seed(5489),E=0;E>>1^C[m&1];for(;E>>1^C[m&1];m=this.mt[this.N-1]&this.UPPER_MASK|this.mt[0]&this.LOWER_MASK,this.mt[this.N-1]=this.mt[this.M-1]^m>>>1^C[m&1],this.mti=0}return m=this.mt[this.mti++],m^=m>>>11,m^=m<<7&2636928640,m^=m<<15&4022730752,m^=m>>>18,m>>>0},f.prototype.random_int31=function(){return this.random_int()>>>1},f.prototype.random_incl=function(){return this.random_int()*(1/4294967295)},f.prototype.random=function(){return this.random_int()*(1/4294967296)},f.prototype.random_excl=function(){return(this.random_int()+.5)*(1/4294967296)},f.prototype.random_long=function(){var m=this.random_int()>>>5,C=this.random_int()>>>6;return(m*67108864+C)*(1/9007199254740992)},A.exports=f}),C0t=wt((o,A)=>{/*! https://mths.be/punycode v1.4.0 by @mathias */(function(f){var m=typeof o=="object"&&o&&!o.nodeType&&o,C=typeof A=="object"&&A&&!A.nodeType&&A,E=typeof global=="object"&&global;(E.global===E||E.window===E||E.self===E)&&(f=E);var x,y=2147483647,I=36,v=1,B=26,Q=38,T=700,w=72,S=128,D="-",R=/^xn--/,P=/[^\x20-\x7E]/,M=/[\x2E\u3002\uFF0E\uFF61]/g,L={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=I-v,k=Math.floor,N=String.fromCharCode,G;function J(fe){throw new RangeError(L[fe])}function K(fe,ae){for(var U=fe.length,W=[];U--;)W[U]=ae(fe[U]);return W}function X(fe,ae){var U=fe.split("@"),W="";U.length>1&&(W=U[0]+"@",fe=U[1]),fe=fe.replace(M,".");var Y=fe.split("."),z=K(Y,ae).join(".");return W+z}function q(fe){for(var ae=[],U=0,W=fe.length,Y,z;U=55296&&Y<=56319&&U65535&&(ae-=65536,U+=N(ae>>>10&1023|55296),ae=56320|ae&1023),U+=N(ae),U}).join("")}function ie(fe){return fe-48<10?fe-22:fe-65<26?fe-65:fe-97<26?fe-97:I}function H(fe,ae){return fe+22+75*(fe<26)-((ae!=0)<<5)}function le(fe,ae,U){var W=0;for(fe=U?k(fe/T):fe>>1,fe+=k(fe/ae);fe>F*B>>1;W+=I)fe=k(fe/F);return k(W+(F+1)*fe/(fe+Q))}function ue(fe){var ae=[],U=fe.length,W,Y=0,z=S,re=w,se,de,me,Ce,Ie,we,Te,Ge,ke;for(se=fe.lastIndexOf(D),se<0&&(se=0),de=0;de=128&&J("not-basic"),ae.push(fe.charCodeAt(de));for(me=se>0?se+1:0;me=U&&J("invalid-input"),Te=ie(fe.charCodeAt(me++)),(Te>=I||Te>k((y-Y)/Ie))&&J("overflow"),Y+=Te*Ie,Ge=we<=re?v:we>=re+B?B:we-re,!(Tek(y/ke)&&J("overflow"),Ie*=ke;W=ae.length+1,re=le(Y-Ce,W,Ce==0),k(Y/W)>y-z&&J("overflow"),z+=k(Y/W),Y%=W,ae.splice(Y++,0,z)}return ee(ae)}function Ae(fe){var ae,U,W,Y,z,re,se,de,me,Ce,Ie,we=[],Te,Ge,ke,Oe;for(fe=q(fe),Te=fe.length,ae=S,U=0,z=w,re=0;re=ae&&Iek((y-U)/Ge)&&J("overflow"),U+=(se-ae)*Ge,ae=se,re=0;rey&&J("overflow"),Ie==ae){for(de=U,me=I;Ce=me<=z?v:me>=z+B?B:me-z,!(de{/*!
* URI.js - Mutating URLs
* IPv6 Support
*
* Version: 1.19.11
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
*
* Licensed under
* MIT License http://www.opensource.org/licenses/mit-license
*
*/(function(f,m){"use strict";typeof A=="object"&&A.exports?A.exports=m():typeof define=="function"&&define.amd?define(m):f.IPv6=m(f)})(o,function(f){"use strict";var m=f&&f.IPv6;function C(x){var y=x.toLowerCase(),I=y.split(":"),v=I.length,B=8;I[0]===""&&I[1]===""&&I[2]===""?(I.shift(),I.shift()):I[0]===""&&I[1]===""?I.shift():I[v-1]===""&&I[v-2]===""&&I.pop(),v=I.length,I[v-1].indexOf(".")!==-1&&(B=7);var Q;for(Q=0;Q1;S++)T.splice(0,1);I[w]=T.join("")}var D=-1,R=0,P=0,M=-1,L=!1;for(w=0;wR&&(D=M,R=P)):I[w]==="0"&&(L=!0,M=w,P=1);P>R&&(D=M,R=P),R>1&&I.splice(D,R,""),v=I.length;var F="";for(I[0]===""&&(F=":"),w=0;w{/*!
* URI.js - Mutating URLs
* Second Level Domain (SLD) Support
*
* Version: 1.19.11
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
*
* Licensed under
* MIT License http://www.opensource.org/licenses/mit-license
*
*/(function(f,m){"use strict";typeof A=="object"&&A.exports?A.exports=m():typeof define=="function"&&define.amd?define(m):f.SecondLevelDomains=m(f)})(o,function(f){"use strict";var m=f&&f.SecondLevelDomains,C={list:{ac:" com gov mil net org ",ae:" ac co gov mil name net org pro sch ",af:" com edu gov net org ",al:" com edu gov mil net org ",ao:" co ed gv it og pb ",ar:" com edu gob gov int mil net org tur ",at:" ac co gv or ",au:" asn com csiro edu gov id net org ",ba:" co com edu gov mil net org rs unbi unmo unsa untz unze ",bb:" biz co com edu gov info net org store tv ",bh:" biz cc com edu gov info net org ",bn:" com edu gov net org ",bo:" com edu gob gov int mil net org tv ",br:" adm adv agr am arq art ato b bio blog bmd cim cng cnt com coop ecn edu eng esp etc eti far flog fm fnd fot fst g12 ggf gov imb ind inf jor jus lel mat med mil mus net nom not ntr odo org ppg pro psc psi qsl rec slg srv tmp trd tur tv vet vlog wiki zlg ",bs:" com edu gov net org ",bz:" du et om ov rg ",ca:" ab bc mb nb nf nl ns nt nu on pe qc sk yk ",ck:" biz co edu gen gov info net org ",cn:" ac ah bj com cq edu fj gd gov gs gx gz ha hb he hi hl hn jl js jx ln mil net nm nx org qh sc sd sh sn sx tj tw xj xz yn zj ",co:" com edu gov mil net nom org ",cr:" ac c co ed fi go or sa ",cy:" ac biz com ekloges gov ltd name net org parliament press pro tm ",do:" art com edu gob gov mil net org sld web ",dz:" art asso com edu gov net org pol ",ec:" com edu fin gov info med mil net org pro ",eg:" com edu eun gov mil name net org sci ",er:" com edu gov ind mil net org rochest w ",es:" com edu gob nom org ",et:" biz com edu gov info name net org ",fj:" ac biz com info mil name net org pro ",fk:" ac co gov net nom org ",fr:" asso com f gouv nom prd presse tm ",gg:" co net org ",gh:" com edu gov mil org ",gn:" ac com gov net org ",gr:" com edu gov mil net org ",gt:" com edu gob ind mil net org ",gu:" com edu gov net org ",hk:" com edu gov idv net org ",hu:" 2000 agrar bolt casino city co erotica erotika film forum games hotel info ingatlan jogasz konyvelo lakas media news org priv reklam sex shop sport suli szex tm tozsde utazas video ",id:" ac co go mil net or sch web ",il:" ac co gov idf k12 muni net org ",in:" ac co edu ernet firm gen gov i ind mil net nic org res ",iq:" com edu gov i mil net org ",ir:" ac co dnssec gov i id net org sch ",it:" edu gov ",je:" co net org ",jo:" com edu gov mil name net org sch ",jp:" ac ad co ed go gr lg ne or ",ke:" ac co go info me mobi ne or sc ",kh:" com edu gov mil net org per ",ki:" biz com de edu gov info mob net org tel ",km:" asso com coop edu gouv k medecin mil nom notaires pharmaciens presse tm veterinaire ",kn:" edu gov net org ",kr:" ac busan chungbuk chungnam co daegu daejeon es gangwon go gwangju gyeongbuk gyeonggi gyeongnam hs incheon jeju jeonbuk jeonnam k kg mil ms ne or pe re sc seoul ulsan ",kw:" com edu gov net org ",ky:" com edu gov net org ",kz:" com edu gov mil net org ",lb:" com edu gov net org ",lk:" assn com edu gov grp hotel int ltd net ngo org sch soc web ",lr:" com edu gov net org ",lv:" asn com conf edu gov id mil net org ",ly:" com edu gov id med net org plc sch ",ma:" ac co gov m net org press ",mc:" asso tm ",me:" ac co edu gov its net org priv ",mg:" com edu gov mil nom org prd tm ",mk:" com edu gov inf name net org pro ",ml:" com edu gov net org presse ",mn:" edu gov org ",mo:" com edu gov net org ",mt:" com edu gov net org ",mv:" aero biz com coop edu gov info int mil museum name net org pro ",mw:" ac co com coop edu gov int museum net org ",mx:" com edu gob net org ",my:" com edu gov mil name net org sch ",nf:" arts com firm info net other per rec store web ",ng:" biz com edu gov mil mobi name net org sch ",ni:" ac co com edu gob mil net nom org ",np:" com edu gov mil net org ",nr:" biz com edu gov info net org ",om:" ac biz co com edu gov med mil museum net org pro sch ",pe:" com edu gob mil net nom org sld ",ph:" com edu gov i mil net ngo org ",pk:" biz com edu fam gob gok gon gop gos gov net org web ",pl:" art bialystok biz com edu gda gdansk gorzow gov info katowice krakow lodz lublin mil net ngo olsztyn org poznan pwr radom slupsk szczecin torun warszawa waw wroc wroclaw zgora ",pr:" ac biz com edu est gov info isla name net org pro prof ",ps:" com edu gov net org plo sec ",pw:" belau co ed go ne or ",ro:" arts com firm info nom nt org rec store tm www ",rs:" ac co edu gov in org ",sb:" com edu gov net org ",sc:" com edu gov net org ",sh:" co com edu gov net nom org ",sl:" com edu gov net org ",st:" co com consulado edu embaixada gov mil net org principe saotome store ",sv:" com edu gob org red ",sz:" ac co org ",tr:" av bbs bel biz com dr edu gen gov info k12 name net org pol tel tsk tv web ",tt:" aero biz cat co com coop edu gov info int jobs mil mobi museum name net org pro tel travel ",tw:" club com ebiz edu game gov idv mil net org ",mu:" ac co com gov net or org ",mz:" ac co edu gov org ",na:" co com ",nz:" ac co cri geek gen govt health iwi maori mil net org parliament school ",pa:" abo ac com edu gob ing med net nom org sld ",pt:" com edu gov int net nome org publ ",py:" com edu gov mil net org ",qa:" com edu gov mil net org ",re:" asso com nom ",ru:" ac adygeya altai amur arkhangelsk astrakhan bashkiria belgorod bir bryansk buryatia cbg chel chelyabinsk chita chukotka chuvashia com dagestan e-burg edu gov grozny int irkutsk ivanovo izhevsk jar joshkar-ola kalmykia kaluga kamchatka karelia kazan kchr kemerovo khabarovsk khakassia khv kirov koenig komi kostroma kranoyarsk kuban kurgan kursk lipetsk magadan mari mari-el marine mil mordovia mosreg msk murmansk nalchik net nnov nov novosibirsk nsk omsk orenburg org oryol penza perm pp pskov ptz rnd ryazan sakhalin samara saratov simbirsk smolensk spb stavropol stv surgut tambov tatarstan tom tomsk tsaritsyn tsk tula tuva tver tyumen udm udmurtia ulan-ude vladikavkaz vladimir vladivostok volgograd vologda voronezh vrn vyatka yakutia yamal yekaterinburg yuzhno-sakhalinsk ",rw:" ac co com edu gouv gov int mil net ",sa:" com edu gov med net org pub sch ",sd:" com edu gov info med net org tv ",se:" a ac b bd c d e f g h i k l m n o org p parti pp press r s t tm u w x y z ",sg:" com edu gov idn net org per ",sn:" art com edu gouv org perso univ ",sy:" com edu gov mil net news org ",th:" ac co go in mi net or ",tj:" ac biz co com edu go gov info int mil name net nic org test web ",tn:" agrinet com defense edunet ens fin gov ind info intl mincom nat net org perso rnrt rns rnu tourism ",tz:" ac co go ne or ",ua:" biz cherkassy chernigov chernovtsy ck cn co com crimea cv dn dnepropetrovsk donetsk dp edu gov if in ivano-frankivsk kh kharkov kherson khmelnitskiy kiev kirovograd km kr ks kv lg lugansk lutsk lviv me mk net nikolaev od odessa org pl poltava pp rovno rv sebastopol sumy te ternopil uzhgorod vinnica vn zaporizhzhe zhitomir zp zt ",ug:" ac co go ne or org sc ",uk:" ac bl british-library co cym gov govt icnet jet lea ltd me mil mod national-library-scotland nel net nhs nic nls org orgn parliament plc police sch scot soc ",us:" dni fed isa kids nsn ",uy:" com edu gub mil net org ",ve:" co com edu gob info mil net org web ",vi:" co com k12 net org ",vn:" ac biz com edu gov health info int name net org pro ",ye:" co com gov ltd me net org plc ",yu:" ac co edu gov org ",za:" ac agric alt bourse city co cybernet db edu gov grondar iaccess imt inca landesign law mil net ngo nis nom olivetti org pix school tm web ",zm:" ac co com edu gov net org sch ",com:"ar br cn de eu gb gr hu jpn kr no qc ru sa se uk us uy za ",net:"gb jp se uk ",org:"ae",de:"com "},has:function(E){var x=E.lastIndexOf(".");if(x<=0||x>=E.length-1)return!1;var y=E.lastIndexOf(".",x-1);if(y<=0||y>=x-1)return!1;var I=C.list[E.slice(x+1)];return I?I.indexOf(" "+E.slice(y+1,x)+" ")>=0:!1},is:function(E){var x=E.lastIndexOf(".");if(x<=0||x>=E.length-1)return!1;var y=E.lastIndexOf(".",x-1);if(y>=0)return!1;var I=C.list[E.slice(x+1)];return I?I.indexOf(" "+E.slice(0,x)+" ")>=0:!1},get:function(E){var x=E.lastIndexOf(".");if(x<=0||x>=E.length-1)return null;var y=E.lastIndexOf(".",x-1);if(y<=0||y>=x-1)return null;var I=C.list[E.slice(x+1)];return!I||I.indexOf(" "+E.slice(y+1,x)+" ")<0?null:E.slice(y+1)},noConflict:function(){return f.SecondLevelDomains===this&&(f.SecondLevelDomains=m),this}};return C})}),av=wt((o,A)=>{/*!
* URI.js - Mutating URLs
*
* Version: 1.19.11
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
*
* Licensed under
* MIT License http://www.opensource.org/licenses/mit-license
*
*/(function(f,m){"use strict";typeof A=="object"&&A.exports?A.exports=m(C0t(),E0t(),x0t()):typeof define=="function"&&define.amd?define(["./punycode","./IPv6","./SecondLevelDomains"],m):f.URI=m(f.punycode,f.IPv6,f.SecondLevelDomains,f)})(o,function(f,m,C,E){"use strict";var x=E&&E.URI;function y(H,le){var ue=arguments.length>=1,Ae=arguments.length>=2;if(!(this instanceof y))return ue?Ae?new y(H,le):new y(H):new y;if(H===void 0){if(ue)throw new TypeError("undefined is not a valid argument for URI");typeof location<"u"?H=location.href+"":H=""}if(H===null&&ue)throw new TypeError("null is not a valid argument for URI");return this.href(H),le!==void 0?this.absoluteTo(le):this}function I(H){return/^[0-9]+$/.test(H)}y.version="1.19.11";var v=y.prototype,B=Object.prototype.hasOwnProperty;function Q(H){return H.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}function T(H){return H===void 0?"Undefined":String(Object.prototype.toString.call(H)).slice(8,-1)}function w(H){return T(H)==="Array"}function S(H,le){var ue={},Ae,he;if(T(le)==="RegExp")ue=null;else if(w(le))for(Ae=0,he=le.length;Ae]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/ig,y.findUri={start:/\b(?:([a-z][a-z0-9.+-]*:\/\/)|www\.)/gi,end:/[\s\r\n]|$/,trim:/[`!()\[\]{};:'".,<>?«»“”„‘’]+$/,parens:/(\([^\)]*\)|\[[^\]]*\]|\{[^}]*\}|<[^>]*>)/g},y.leading_whitespace_expression=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,y.ascii_tab_whitespace=/[\u0009\u000A\u000D]+/g,y.defaultPorts={http:"80",https:"443",ftp:"21",gopher:"70",ws:"80",wss:"443"},y.hostProtocols=["http","https"],y.invalid_hostname_characters=/[^a-zA-Z0-9\.\-:_]/,y.domAttributes={a:"href",blockquote:"cite",link:"href",base:"href",script:"src",form:"action",img:"src",area:"href",iframe:"src",embed:"src",source:"src",track:"src",input:"src",audio:"src",video:"src"},y.getDomAttribute=function(H){if(!(!H||!H.nodeName)){var le=H.nodeName.toLowerCase();if(!(le==="input"&&H.type!=="image"))return y.domAttributes[le]}};function M(H){return escape(H)}function L(H){return encodeURIComponent(H).replace(/[!'()*]/g,M).replace(/\*/g,"%2A")}y.encode=L,y.decode=decodeURIComponent,y.iso8859=function(){y.encode=escape,y.decode=unescape},y.unicode=function(){y.encode=L,y.decode=decodeURIComponent},y.characters={pathname:{encode:{expression:/%(24|26|2B|2C|3B|3D|3A|40)/ig,map:{"%24":"$","%26":"&","%2B":"+","%2C":",","%3B":";","%3D":"=","%3A":":","%40":"@"}},decode:{expression:/[\/\?#]/g,map:{"/":"%2F","?":"%3F","#":"%23"}}},reserved:{encode:{expression:/%(21|23|24|26|27|28|29|2A|2B|2C|2F|3A|3B|3D|3F|40|5B|5D)/ig,map:{"%3A":":","%2F":"/","%3F":"?","%23":"#","%5B":"[","%5D":"]","%40":"@","%21":"!","%24":"$","%26":"&","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"="}}},urnpath:{encode:{expression:/%(21|24|27|28|29|2A|2B|2C|3B|3D|40)/ig,map:{"%21":"!","%24":"$","%27":"'","%28":"(","%29":")","%2A":"*","%2B":"+","%2C":",","%3B":";","%3D":"=","%40":"@"}},decode:{expression:/[\/\?#:]/g,map:{"/":"%2F","?":"%3F","#":"%23",":":"%3A"}}}},y.encodeQuery=function(H,le){var ue=y.encode(H+"");return le===void 0&&(le=y.escapeQuerySpace),le?ue.replace(/%20/g,"+"):ue},y.decodeQuery=function(H,le){H+="",le===void 0&&(le=y.escapeQuerySpace);try{return y.decode(le?H.replace(/\+/g,"%20"):H)}catch{return H}};var F={encode:"encode",decode:"decode"},k,N=function(H,le){return function(ue){try{return y[le](ue+"").replace(y.characters[H][le].expression,function(Ae){return y.characters[H][le].map[Ae]})}catch{return ue}}};for(k in F)y[k+"PathSegment"]=N("pathname",F[k]),y[k+"UrnPathSegment"]=N("urnpath",F[k]);var G=function(H,le,ue){return function(Ae){var he;ue?he=function(U){return y[le](y[ue](U))}:he=y[le];for(var ge=(Ae+"").split(H),fe=0,ae=ge.length;fe-1&&(le.fragment=H.substring(ue+1)||null,H=H.substring(0,ue)),ue=H.indexOf("?"),ue>-1&&(le.query=H.substring(ue+1)||null,H=H.substring(0,ue)),H=H.replace(/^(https?|ftp|wss?)?:+[/\\]*/i,"$1://"),H=H.replace(/^[/\\]{2,}/i,"//"),H.substring(0,2)==="//"?(le.protocol=null,H=H.substring(2),H=y.parseAuthority(H,le)):(ue=H.indexOf(":"),ue>-1&&(le.protocol=H.substring(0,ue)||null,le.protocol&&!le.protocol.match(y.protocol_expression)?le.protocol=void 0:H.substring(ue+1,ue+3).replace(/\\/g,"/")==="//"?(H=H.substring(ue+3),H=y.parseAuthority(H,le)):(H=H.substring(ue+1),le.urn=!0))),le.path=H,le},y.parseHost=function(H,le){H||(H=""),H=H.replace(/\\/g,"/");var ue=H.indexOf("/"),Ae,he;if(ue===-1&&(ue=H.length),H.charAt(0)==="[")Ae=H.indexOf("]"),le.hostname=H.substring(1,Ae)||null,le.port=H.substring(Ae+2,ue)||null,le.port==="/"&&(le.port=null);else{var ge=H.indexOf(":"),fe=H.indexOf("/"),ae=H.indexOf(":",ge+1);ae!==-1&&(fe===-1||ae-1?he:H.length-1),fe;return ge>-1&&(he===-1||ge-1?re=re.slice(0,se)+re.slice(se).replace(ge,""):re=re.replace(ge,""),!(re.length<=U[0].length)&&!(ue.ignore&&ue.ignore.test(re))){z=W+re.length;var Ce=le(re,W,z,H);if(Ce===void 0){Ae.lastIndex=z;continue}Ce=String(Ce),H=H.slice(0,W)+Ce+H.slice(z),Ae.lastIndex=W+Ce.length}}return Ae.lastIndex=0,H},y.ensureValidHostname=function(H,le){var ue=!!H,Ae=!!le,he=!1;if(Ae&&(he=D(y.hostProtocols,le)),he&&!ue)throw new TypeError("Hostname cannot be empty, if protocol is "+le);if(H&&H.match(y.invalid_hostname_characters)){if(!f)throw new TypeError('Hostname "'+H+'" contains characters other than [A-Z0-9.-:_] and Punycode.js is not available');if(f.toASCII(H).match(y.invalid_hostname_characters))throw new TypeError('Hostname "'+H+'" contains characters other than [A-Z0-9.-:_]')}},y.ensureValidPort=function(H){if(H){var le=Number(H);if(!(I(le)&&le>0&&le<65536))throw new TypeError('Port "'+H+'" is not a valid port')}},y.noConflict=function(H){if(H){var le={URI:this.noConflict()};return E.URITemplate&&typeof E.URITemplate.noConflict=="function"&&(le.URITemplate=E.URITemplate.noConflict()),E.IPv6&&typeof E.IPv6.noConflict=="function"&&(le.IPv6=E.IPv6.noConflict()),E.SecondLevelDomains&&typeof E.SecondLevelDomains.noConflict=="function"&&(le.SecondLevelDomains=E.SecondLevelDomains.noConflict()),le}else E.URI===this&&(E.URI=x);return this},v.build=function(H){return H===!0?this._deferred_build=!0:(H===void 0||this._deferred_build)&&(this._string=y.build(this._parts),this._deferred_build=!1),this},v.clone=function(){return new y(this)},v.valueOf=v.toString=function(){return this.build(!1)._string};function J(H){return function(le,ue){return le===void 0?this._parts[H]||"":(this._parts[H]=le||null,this.build(!ue),this)}}function K(H,le){return function(ue,Ae){return ue===void 0?this._parts[H]||"":(ue!==null&&(ue=ue+"",ue.charAt(0)===le&&(ue=ue.substring(1))),this._parts[H]=ue,this.build(!Ae),this)}}v.protocol=J("protocol"),v.username=J("username"),v.password=J("password"),v.hostname=J("hostname"),v.port=J("port"),v.query=K("query","?"),v.fragment=K("fragment","#"),v.search=function(H,le){var ue=this.query(H,le);return typeof ue=="string"&&ue.length?"?"+ue:ue},v.hash=function(H,le){var ue=this.fragment(H,le);return typeof ue=="string"&&ue.length?"#"+ue:ue},v.pathname=function(H,le){if(H===void 0||H===!0){var ue=this._parts.path||(this._parts.hostname?"/":"");return H?(this._parts.urn?y.decodeUrnPath:y.decodePath)(ue):ue}else return this._parts.urn?this._parts.path=H?y.recodeUrnPath(H):"":this._parts.path=H?y.recodePath(H):"/",this.build(!le),this},v.path=v.pathname,v.href=function(H,le){var ue;if(H===void 0)return this.toString();this._string="",this._parts=y._parts();var Ae=H instanceof y,he=typeof H=="object"&&(H.hostname||H.path||H.pathname);if(H.nodeName){var ge=y.getDomAttribute(H);H=H[ge]||"",he=!1}if(!Ae&&he&&H.pathname!==void 0&&(H=H.toString()),typeof H=="string"||H instanceof String)this._parts=y.parse(String(H),this._parts);else if(Ae||he){var fe=Ae?H._parts:H;for(ue in fe)ue!=="query"&&B.call(this._parts,ue)&&(this._parts[ue]=fe[ue]);fe.query&&this.query(fe.query,!1)}else throw new TypeError("invalid input");return this.build(!le),this},v.is=function(H){var le=!1,ue=!1,Ae=!1,he=!1,ge=!1,fe=!1,ae=!1,U=!this._parts.urn;switch(this._parts.hostname&&(U=!1,ue=y.ip4_expression.test(this._parts.hostname),Ae=y.ip6_expression.test(this._parts.hostname),le=ue||Ae,he=!le,ge=he&&C&&C.has(this._parts.hostname),fe=he&&y.idn_expression.test(this._parts.hostname),ae=he&&y.punycode_expression.test(this._parts.hostname)),H.toLowerCase()){case"relative":return U;case"absolute":return!U;case"domain":case"name":return he;case"sld":return ge;case"ip":return le;case"ip4":case"ipv4":case"inet4":return ue;case"ip6":case"ipv6":case"inet6":return Ae;case"idn":return fe;case"url":return!this._parts.urn;case"urn":return!!this._parts.urn;case"punycode":return ae}return null};var X=v.protocol,q=v.port,ee=v.hostname;v.protocol=function(H,le){if(H&&(H=H.replace(/:(\/\/)?$/,""),!H.match(y.protocol_expression)))throw new TypeError('Protocol "'+H+`" contains characters other than [A-Z0-9.+-] or doesn't start with [A-Z]`);return X.call(this,H,le)},v.scheme=v.protocol,v.port=function(H,le){return this._parts.urn?H===void 0?"":this:(H!==void 0&&(H===0&&(H=null),H&&(H+="",H.charAt(0)===":"&&(H=H.substring(1)),y.ensureValidPort(H))),q.call(this,H,le))},v.hostname=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(H!==void 0){var ue={preventInvalidHostname:this._parts.preventInvalidHostname},Ae=y.parseHost(H,ue);if(Ae!=="/")throw new TypeError('Hostname "'+H+'" contains characters other than [A-Z0-9.-]');H=ue.hostname,this._parts.preventInvalidHostname&&y.ensureValidHostname(H,this._parts.protocol)}return ee.call(this,H,le)},v.origin=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(H===void 0){var ue=this.protocol(),Ae=this.authority();return Ae?(ue?ue+"://":"")+this.authority():""}else{var he=y(H);return this.protocol(he.protocol()).authority(he.authority()).build(!le),this}},v.host=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(H===void 0)return this._parts.hostname?y.buildHost(this._parts):"";var ue=y.parseHost(H,this._parts);if(ue!=="/")throw new TypeError('Hostname "'+H+'" contains characters other than [A-Z0-9.-]');return this.build(!le),this},v.authority=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(H===void 0)return this._parts.hostname?y.buildAuthority(this._parts):"";var ue=y.parseAuthority(H,this._parts);if(ue!=="/")throw new TypeError('Hostname "'+H+'" contains characters other than [A-Z0-9.-]');return this.build(!le),this},v.userinfo=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(H===void 0){var ue=y.buildUserinfo(this._parts);return ue&&ue.substring(0,ue.length-1)}else return H[H.length-1]!=="@"&&(H+="@"),y.parseUserinfo(H,this._parts),this.build(!le),this},v.resource=function(H,le){var ue;return H===void 0?this.path()+this.search()+this.hash():(ue=y.parse(H),this._parts.path=ue.path,this._parts.query=ue.query,this._parts.fragment=ue.fragment,this.build(!le),this)},v.subdomain=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(H===void 0){if(!this._parts.hostname||this.is("IP"))return"";var ue=this._parts.hostname.length-this.domain().length-1;return this._parts.hostname.substring(0,ue)||""}else{var Ae=this._parts.hostname.length-this.domain().length,he=this._parts.hostname.substring(0,Ae),ge=new RegExp("^"+Q(he));if(H&&H.charAt(H.length-1)!=="."&&(H+="."),H.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");return H&&y.ensureValidHostname(H,this._parts.protocol),this._parts.hostname=this._parts.hostname.replace(ge,H),this.build(!le),this}},v.domain=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(typeof H=="boolean"&&(le=H,H=void 0),H===void 0){if(!this._parts.hostname||this.is("IP"))return"";var ue=this._parts.hostname.match(/\./g);if(ue&&ue.length<2)return this._parts.hostname;var Ae=this._parts.hostname.length-this.tld(le).length-1;return Ae=this._parts.hostname.lastIndexOf(".",Ae-1)+1,this._parts.hostname.substring(Ae)||""}else{if(!H)throw new TypeError("cannot set domain empty");if(H.indexOf(":")!==-1)throw new TypeError("Domains cannot contain colons");if(y.ensureValidHostname(H,this._parts.protocol),!this._parts.hostname||this.is("IP"))this._parts.hostname=H;else{var he=new RegExp(Q(this.domain())+"$");this._parts.hostname=this._parts.hostname.replace(he,H)}return this.build(!le),this}},v.tld=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(typeof H=="boolean"&&(le=H,H=void 0),H===void 0){if(!this._parts.hostname||this.is("IP"))return"";var ue=this._parts.hostname.lastIndexOf("."),Ae=this._parts.hostname.substring(ue+1);return le!==!0&&C&&C.list[Ae.toLowerCase()]&&C.get(this._parts.hostname)||Ae}else{var he;if(H)if(H.match(/[^a-zA-Z0-9-]/))if(C&&C.is(H))he=new RegExp(Q(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(he,H);else throw new TypeError('TLD "'+H+'" contains characters other than [A-Z0-9]');else{if(!this._parts.hostname||this.is("IP"))throw new ReferenceError("cannot set TLD on non-domain host");he=new RegExp(Q(this.tld())+"$"),this._parts.hostname=this._parts.hostname.replace(he,H)}else throw new TypeError("cannot set TLD empty");return this.build(!le),this}},v.directory=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(H===void 0||H===!0){if(!this._parts.path&&!this._parts.hostname)return"";if(this._parts.path==="/")return"/";var ue=this._parts.path.length-this.filename().length-1,Ae=this._parts.path.substring(0,ue)||(this._parts.hostname?"/":"");return H?y.decodePath(Ae):Ae}else{var he=this._parts.path.length-this.filename().length,ge=this._parts.path.substring(0,he),fe=new RegExp("^"+Q(ge));return this.is("relative")||(H||(H="/"),H.charAt(0)!=="/"&&(H="/"+H)),H&&H.charAt(H.length-1)!=="/"&&(H+="/"),H=y.recodePath(H),this._parts.path=this._parts.path.replace(fe,H),this.build(!le),this}},v.filename=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(typeof H!="string"){if(!this._parts.path||this._parts.path==="/")return"";var ue=this._parts.path.lastIndexOf("/"),Ae=this._parts.path.substring(ue+1);return H?y.decodePathSegment(Ae):Ae}else{var he=!1;H.charAt(0)==="/"&&(H=H.substring(1)),H.match(/\.?\//)&&(he=!0);var ge=new RegExp(Q(this.filename())+"$");return H=y.recodePath(H),this._parts.path=this._parts.path.replace(ge,H),he?this.normalizePath(le):this.build(!le),this}},v.suffix=function(H,le){if(this._parts.urn)return H===void 0?"":this;if(H===void 0||H===!0){if(!this._parts.path||this._parts.path==="/")return"";var ue=this.filename(),Ae=ue.lastIndexOf("."),he,ge;return Ae===-1?"":(he=ue.substring(Ae+1),ge=/^[a-z0-9%]+$/i.test(he)?he:"",H?y.decodePathSegment(ge):ge)}else{H.charAt(0)==="."&&(H=H.substring(1));var fe=this.suffix(),ae;if(fe)H?ae=new RegExp(Q(fe)+"$"):ae=new RegExp(Q("."+fe)+"$");else{if(!H)return this;this._parts.path+="."+y.recodePath(H)}return ae&&(H=y.recodePath(H),this._parts.path=this._parts.path.replace(ae,H)),this.build(!le),this}},v.segment=function(H,le,ue){var Ae=this._parts.urn?":":"/",he=this.path(),ge=he.substring(0,1)==="/",fe=he.split(Ae);if(H!==void 0&&typeof H!="number"&&(ue=le,le=H,H=void 0),H!==void 0&&typeof H!="number")throw new Error('Bad segment "'+H+'", must be 0-based integer');if(ge&&fe.shift(),H<0&&(H=Math.max(fe.length+H,0)),le===void 0)return H===void 0?fe:fe[H];if(H===null||fe[H]===void 0)if(w(le)){fe=[];for(var ae=0,U=le.length;ae{"use strict";A.exports=m;var f=1e20;function m(x,y){y||(y={});var I=y.cutoff==null?.25:y.cutoff,v=y.radius==null?8:y.radius,B=y.channel||0,Q,T,w,S,D,R,P,M,L,F,k;if(ArrayBuffer.isView(x)||Array.isArray(x)){if(!y.width||!y.height)throw Error("For raw data width and height should be provided by options");Q=y.width,T=y.height,S=x,y.stride?R=y.stride:R=Math.floor(x.length/Q/T)}else window.HTMLCanvasElement&&x instanceof window.HTMLCanvasElement?(M=x,P=M.getContext("2d"),Q=M.width,T=M.height,L=P.getImageData(0,0,Q,T),S=L.data,R=4):window.CanvasRenderingContext2D&&x instanceof window.CanvasRenderingContext2D?(M=x.canvas,P=x,Q=M.width,T=M.height,L=P.getImageData(0,0,Q,T),S=L.data,R=4):window.ImageData&&x instanceof window.ImageData&&(L=x,Q=x.width,T=x.height,S=L.data,R=4);if(w=Math.max(Q,T),window.Uint8ClampedArray&&S instanceof window.Uint8ClampedArray||window.Uint8Array&&S instanceof window.Uint8Array)for(D=S,S=Array(Q*T),F=0,k=Math.floor(D.length/R);F{function f(){var m=0,C=1,E=2,x=3,y=4,I=5,v=6,B=7,Q=8,T=9,w=10,S=11,D=12,R=13,P=14,M=15,L=16,F=17,k=0,N=1,G=2,J=3,K=4;function X(H,le){return 55296<=H.charCodeAt(le)&&H.charCodeAt(le)<=56319&&56320<=H.charCodeAt(le+1)&&H.charCodeAt(le+1)<=57343}function q(H,le){le===void 0&&(le=0);var ue=H.charCodeAt(le);if(55296<=ue&&ue<=56319&&le=1){var Ae=H.charCodeAt(le-1),he=ue;return 55296<=Ae&&Ae<=56319?(Ae-55296)*1024+(he-56320)+65536:he}return ue}function ee(H,le,ue){var Ae=[H].concat(le).concat([ue]),he=Ae[Ae.length-2],ge=ue,fe=Ae.lastIndexOf(P);if(fe>1&&Ae.slice(1,fe).every(function(W){return W==x})&&[x,R,F].indexOf(H)==-1)return G;var ae=Ae.lastIndexOf(y);if(ae>0&&Ae.slice(1,ae).every(function(W){return W==y})&&[D,y].indexOf(he)==-1)return Ae.filter(function(W){return W==y}).length%2==1?J:K;if(he==m&&ge==C)return k;if(he==E||he==m||he==C)return ge==P&&le.every(function(W){return W==x})?G:N;if(ge==E||ge==m||ge==C)return N;if(he==v&&(ge==v||ge==B||ge==T||ge==w)||(he==T||he==B)&&(ge==B||ge==Q)||(he==w||he==Q)&&ge==Q||ge==x||ge==M||ge==I||he==D)return k;var U=Ae.indexOf(x)!=-1?Ae.lastIndexOf(x)-1:Ae.length-2;return[R,F].indexOf(Ae[U])!=-1&&Ae.slice(U+1,-1).every(function(W){return W==x})&&ge==P||he==M&&[L,F].indexOf(ge)!=-1?k:le.indexOf(y)!=-1?G:he==y&&ge==y?k:N}this.nextBreak=function(H,le){if(le===void 0&&(le=0),le<0)return 0;if(le>=H.length-1)return H.length;for(var ue=ie(q(H,le)),Ae=[],he=le+1;he{var A;typeof window<"u"?A=window.__DEV__:typeof global<"u"&&(A=global.__DEV__),typeof A>"u"&&(A=!0);var f=A;o.__DEV__=f}),pHe=wt((o,A)=>{var f=2311;function m(){return f++}A.exports=m}),jf=wt((o,A)=>{var f={};typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?f={browser:{},os:{},node:!1,wxa:!0,canvasSupported:!0,svgSupported:!1,touchEventsSupported:!0,domSupported:!1}:typeof document>"u"&&typeof self<"u"?f={browser:{},os:{},node:!1,worker:!0,canvasSupported:!0,domSupported:!1}:typeof navigator>"u"?f={browser:{},os:{},node:!0,worker:!1,canvasSupported:!0,svgSupported:!0,domSupported:!1}:f=C(navigator.userAgent);var m=f;function C(E){var x={},y={},I=E.match(/Firefox\/([\d.]+)/),v=E.match(/MSIE\s([\d.]+)/)||E.match(/Trident\/.+?rv:(([\d.]+))/),B=E.match(/Edge\/([\d.]+)/),Q=/micromessenger/i.test(E);return I&&(y.firefox=!0,y.version=I[1]),v&&(y.ie=!0,y.version=v[1]),B&&(y.edge=!0,y.version=B[1]),Q&&(y.weChat=!0),{browser:y,os:x,node:!1,canvasSupported:!!document.createElement("canvas").getContext,svgSupported:typeof SVGRect<"u",touchEventsSupported:"ontouchstart"in window&&!y.ie&&!y.edge,pointerEventsSupported:"onpointerdown"in window&&(y.edge||y.ie&&y.version>=11),domSupported:typeof document<"u"}}A.exports=m}),Bi=wt(o=>{var A={"[object Function]":1,"[object RegExp]":1,"[object Date]":1,"[object Error]":1,"[object CanvasGradient]":1,"[object CanvasPattern]":1,"[object Image]":1,"[object Canvas]":1},f={"[object Int8Array]":1,"[object Uint8Array]":1,"[object Uint8ClampedArray]":1,"[object Int16Array]":1,"[object Uint16Array]":1,"[object Int32Array]":1,"[object Uint32Array]":1,"[object Float32Array]":1,"[object Float64Array]":1},m=Object.prototype.toString,C=Array.prototype,E=C.forEach,x=C.filter,y=C.slice,I=C.map,v=C.reduce,B={};function Q(Le,be){Le==="createCanvas"&&(M=null),B[Le]=be}function T(Le){if(Le==null||typeof Le!="object")return Le;var be=Le,Ne=m.call(Le);if(Ne==="[object Array]"){if(!we(Le)){be=[];for(var Ue=0,ze=Le.length;Ue{var A=typeof Float32Array>"u"?Array:Float32Array;function f(q,ee){var ie=new A(2);return q==null&&(q=0),ee==null&&(ee=0),ie[0]=q,ie[1]=ee,ie}function m(q,ee){return q[0]=ee[0],q[1]=ee[1],q}function C(q){var ee=new A(2);return ee[0]=q[0],ee[1]=q[1],ee}function E(q,ee,ie){return q[0]=ee,q[1]=ie,q}function x(q,ee,ie){return q[0]=ee[0]+ie[0],q[1]=ee[1]+ie[1],q}function y(q,ee,ie,H){return q[0]=ee[0]+ie[0]*H,q[1]=ee[1]+ie[1]*H,q}function I(q,ee,ie){return q[0]=ee[0]-ie[0],q[1]=ee[1]-ie[1],q}function v(q){return Math.sqrt(Q(q))}var B=v;function Q(q){return q[0]*q[0]+q[1]*q[1]}var T=Q;function w(q,ee,ie){return q[0]=ee[0]*ie[0],q[1]=ee[1]*ie[1],q}function S(q,ee,ie){return q[0]=ee[0]/ie[0],q[1]=ee[1]/ie[1],q}function D(q,ee){return q[0]*ee[0]+q[1]*ee[1]}function R(q,ee,ie){return q[0]=ee[0]*ie,q[1]=ee[1]*ie,q}function P(q,ee){var ie=v(ee);return ie===0?(q[0]=0,q[1]=0):(q[0]=ee[0]/ie,q[1]=ee[1]/ie),q}function M(q,ee){return Math.sqrt((q[0]-ee[0])*(q[0]-ee[0])+(q[1]-ee[1])*(q[1]-ee[1]))}var L=M;function F(q,ee){return(q[0]-ee[0])*(q[0]-ee[0])+(q[1]-ee[1])*(q[1]-ee[1])}var k=F;function N(q,ee){return q[0]=-ee[0],q[1]=-ee[1],q}function G(q,ee,ie,H){return q[0]=ee[0]+H*(ie[0]-ee[0]),q[1]=ee[1]+H*(ie[1]-ee[1]),q}function J(q,ee,ie){var H=ee[0],le=ee[1];return q[0]=ie[0]*H+ie[2]*le+ie[4],q[1]=ie[1]*H+ie[3]*le+ie[5],q}function K(q,ee,ie){return q[0]=Math.min(ee[0],ie[0]),q[1]=Math.min(ee[1],ie[1]),q}function X(q,ee,ie){return q[0]=Math.max(ee[0],ie[0]),q[1]=Math.max(ee[1],ie[1]),q}o.create=f,o.copy=m,o.clone=C,o.set=E,o.add=x,o.scaleAndAdd=y,o.sub=I,o.len=v,o.length=B,o.lenSquare=Q,o.lengthSquare=T,o.mul=w,o.div=S,o.dot=D,o.scale=R,o.normalize=P,o.distance=M,o.dist=L,o.distanceSquare=F,o.distSquare=k,o.negate=N,o.lerp=G,o.applyTransform=J,o.min=K,o.max=X}),_0t=wt((o,A)=>{function f(){this.on("mousedown",this._dragStart,this),this.on("mousemove",this._drag,this),this.on("mouseup",this._dragEnd,this)}f.prototype={constructor:f,_dragStart:function(E){for(var x=E.target;x&&!x.draggable;)x=x.parent;x&&(this._draggingTarget=x,x.dragging=!0,this._x=E.offsetX,this._y=E.offsetY,this.dispatchToElement(m(x,E),"dragstart",E.event))},_drag:function(E){var x=this._draggingTarget;if(x){var y=E.offsetX,I=E.offsetY,v=y-this._x,B=I-this._y;this._x=y,this._y=I,x.drift(v,B,E),this.dispatchToElement(m(x,E),"drag",E.event);var Q=this.findHover(y,I,x).target,T=this._dropTarget;this._dropTarget=Q,x!==Q&&(T&&Q!==T&&this.dispatchToElement(m(T,E),"dragleave",E.event),Q&&Q!==T&&this.dispatchToElement(m(Q,E),"dragenter",E.event))}},_dragEnd:function(E){var x=this._draggingTarget;x&&(x.dragging=!1),this.dispatchToElement(m(x,E),"dragend",E.event),this._dropTarget&&this.dispatchToElement(m(this._dropTarget,E),"drop",E.event),this._draggingTarget=null,this._dropTarget=null}};function m(E,x){return{target:E,topTarget:x&&x.topTarget}}var C=f;A.exports=C}),jN=wt((o,A)=>{var f=Array.prototype.slice,m=function(y){this._$handlers={},this._$eventProcessor=y};m.prototype={constructor:m,one:function(y,I,v,B){return E(this,y,I,v,B,!0)},on:function(y,I,v,B){return E(this,y,I,v,B,!1)},isSilent:function(y){var I=this._$handlers;return!I[y]||!I[y].length},off:function(y,I){var v=this._$handlers;if(!y)return this._$handlers={},this;if(I){if(v[y]){for(var B=[],Q=0,T=v[y].length;Q3&&(B=f.call(B,1));for(var T=I.length,w=0;w4&&(B=f.call(B,1,B.length-1));for(var T=B[B.length-1],w=I.length,S=0;S{var A=Math.log(2);function f(C,E,x,y,I,v){var B=y+"-"+I,Q=C.length;if(v.hasOwnProperty(B))return v[B];if(E===1){var T=Math.round(Math.log((1<{var A=jf(),f=v0t(),m=f.buildTransformer,C="___zrEVENTSAVED",E=[];function x(Q,T,w,S,D){return y(E,T,S,D,!0)&&y(Q,w,E[0],E[1])}function y(Q,T,w,S,D){if(T.getBoundingClientRect&&A.domSupported&&!B(T)){var R=T[C]||(T[C]={}),P=I(T,R),M=v(P,R,D);if(M)return M(Q,w,S),!0}return!1}function I(Q,T){var w=T.markers;if(w)return w;w=T.markers=[];for(var S=["left","right"],D=["top","bottom"],R=0;R<4;R++){var P=document.createElement("div"),M=P.style,L=R%2,F=(R>>1)%2;M.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",S[L]+":0",D[F]+":0",S[1-L]+":auto",D[1-F]+":auto",""].join("!important;"),Q.appendChild(P),w.push(P)}return w}function v(Q,T,w){for(var S=w?"invTrans":"trans",D=T[S],R=T.srcCoords,P=!0,M=[],L=[],F=0;F<4;F++){var k=Q[F].getBoundingClientRect(),N=2*F,G=k.left,J=k.top;M.push(G,J),P=P&&R&&G===R[N]&&J===R[N+1],L.push(Q[F].offsetLeft,Q[F].offsetTop)}return P&&D?D:(T.srcCoords=M,T[S]=w?m(L,M):m(M,L))}function B(Q){return Q.nodeName.toUpperCase()==="CANVAS"}o.transformLocalCoord=x,o.transformCoordWithViewport=y,o.isCanvasEl=B}),zb=wt(o=>{var A=jN();o.Dispatcher=A;var f=jf(),m=mHe(),C=m.isCanvasEl,E=m.transformCoordWithViewport,x=typeof window<"u"&&!!window.addEventListener,y=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,I=[];function v(M,L,F,k){return F=F||{},k||!f.canvasSupported?B(M,L,F):f.browser.firefox&&L.layerX!=null&&L.layerX!==L.offsetX?(F.zrX=L.layerX,F.zrY=L.layerY):L.offsetX!=null?(F.zrX=L.offsetX,F.zrY=L.offsetY):B(M,L,F),F}function B(M,L,F){if(f.domSupported&&M.getBoundingClientRect){var k=L.clientX,N=L.clientY;if(C(M)){var G=M.getBoundingClientRect();F.zrX=k-G.left,F.zrY=N-G.top;return}else if(E(I,M,k,N)){F.zrX=I[0],F.zrY=I[1];return}}F.zrX=F.zrY=0}function Q(M){return M||window.event}function T(M,L,F){if(L=Q(L),L.zrX!=null)return L;var k=L.type,N=k&&k.indexOf("touch")>=0;if(!N)v(M,L,L,F),L.zrDelta=L.wheelDelta?L.wheelDelta/120:-(L.detail||0)/3;else{var G=k!=="touchend"?L.targetTouches[0]:L.changedTouches[0];G&&v(M,G,L,F)}var J=L.button;return L.which==null&&J!==void 0&&y.test(L.type)&&(L.which=J&1?1:J&2?3:J&4?2:0),L}function w(M,L,F,k){x?M.addEventListener(L,F,k):M.attachEvent("on"+L,F)}function S(M,L,F,k){x?M.removeEventListener(L,F,k):M.detachEvent("on"+L,F)}var D=x?function(M){M.preventDefault(),M.stopPropagation(),M.cancelBubble=!0}:function(M){M.returnValue=!1,M.cancelBubble=!0};function R(M){return M.which===2||M.which===3}function P(M){return M.which>1}o.clientToLocal=v,o.getNativeEvent=Q,o.normalizeEvent=T,o.addEventListener=w,o.removeEventListener=S,o.stop=D,o.isMiddleOrRightButtonOnMouseUpDown=R,o.notLeftMouse=P}),B0t=wt((o,A)=>{var f=zb(),m=function(){this._track=[]};m.prototype={constructor:m,recognize:function(I,v,B){return this._doTrack(I,v,B),this._recognize(I)},clear:function(){return this._track.length=0,this},_doTrack:function(I,v,B){var Q=I.touches;if(Q){for(var T={points:[],touches:[],target:v,event:I},w=0,S=Q.length;w1&&Q&&Q.length>1){var w=C(Q)/C(T);!isFinite(w)&&(w=1),v.pinchScale=w;var S=E(Q);return v.pinchX=S[0],v.pinchY=S[1],{type:"pinch",target:I[0].target,event:v}}}}},y=m;A.exports=y}),w0t=wt((o,A)=>{var f=Bi(),m=vh(),C=_0t(),E=jN(),x=zb(),y=B0t(),I="silent";function v(P,M,L){return{type:P,event:L,target:M.target,topTarget:M.topTarget,cancelBubble:!1,offsetX:L.zrX,offsetY:L.zrY,gestureEvent:L.gestureEvent,pinchX:L.pinchX,pinchY:L.pinchY,pinchScale:L.pinchScale,wheelDelta:L.zrDelta,zrByTouch:L.zrByTouch,which:L.which,stop:B}}function B(){x.stop(this.event)}function Q(){}Q.prototype.dispose=function(){};var T=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],w=function(P,M,L,F){E.call(this),this.storage=P,this.painter=M,this.painterRoot=F,L=L||new Q,this.proxy=null,this._hovered={},this._lastTouchMoment,this._lastX,this._lastY,this._gestureMgr,C.call(this),this.setHandlerProxy(L)};w.prototype={constructor:w,setHandlerProxy:function(P){this.proxy&&this.proxy.dispose(),P&&(f.each(T,function(M){P.on&&P.on(M,this[M],this)},this),P.handler=this),this.proxy=P},mousemove:function(P){var M=P.zrX,L=P.zrY,F=D(this,M,L),k=this._hovered,N=k.target;N&&!N.__zr&&(k=this.findHover(k.x,k.y),N=k.target);var G=this._hovered=F?{x:M,y:L}:this.findHover(M,L),J=G.target,K=this.proxy;K.setCursor&&K.setCursor(J?J.cursor:"default"),N&&J!==N&&this.dispatchToElement(k,"mouseout",P),this.dispatchToElement(G,"mousemove",P),J&&J!==N&&this.dispatchToElement(G,"mouseover",P)},mouseout:function(P){var M=P.zrEventControl,L=P.zrIsToLocalDOM;M!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",P),M!=="no_globalout"&&!L&&this.trigger("globalout",{type:"globalout",event:P})},resize:function(P){this._hovered={}},dispatch:function(P,M){var L=this[P];L&&L.call(this,M)},dispose:function(){this.proxy.dispose(),this.storage=this.proxy=this.painter=null},setCursorStyle:function(P){var M=this.proxy;M.setCursor&&M.setCursor(P)},dispatchToElement:function(P,M,L){P=P||{};var F=P.target;if(!(F&&F.silent)){for(var k="on"+M,N=v(M,P,L);F&&(F[k]&&(N.cancelBubble=F[k].call(F,N)),F.trigger(M,N),F=F.parent,!N.cancelBubble););N.cancelBubble||(this.trigger(M,N),this.painter&&this.painter.eachOtherLayer(function(G){typeof G[k]=="function"&&G[k].call(G,N),G.trigger&&G.trigger(M,N)}))}},findHover:function(P,M,L){for(var F=this.storage.getDisplayList(),k={x:P,y:M},N=F.length-1;N>=0;N--){var G;if(F[N]!==L&&!F[N].ignore&&(G=S(F[N],P,M))&&(!k.topTarget&&(k.topTarget=F[N]),G!==I)){k.target=F[N];break}}return k},processGesture:function(P,M){this._gestureMgr||(this._gestureMgr=new y);var L=this._gestureMgr;M==="start"&&L.clear();var F=L.recognize(P,this.findHover(P.zrX,P.zrY,null).target,this.proxy.dom);if(M==="end"&&L.clear(),F){var k=F.type;P.gestureEvent=k,this.dispatchToElement({target:F.target},k,F.event)}}},f.each(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(P){w.prototype[P]=function(M){var L=M.zrX,F=M.zrY,k=D(this,L,F),N,G;if((P!=="mouseup"||!k)&&(N=this.findHover(L,F),G=N.target),P==="mousedown")this._downEl=G,this._downPoint=[M.zrX,M.zrY],this._upEl=G;else if(P==="mouseup")this._upEl=G;else if(P==="click"){if(this._downEl!==this._upEl||!this._downPoint||m.dist(this._downPoint,[M.zrX,M.zrY])>4)return;this._downPoint=null}this.dispatchToElement(N,P,M)}});function S(P,M,L){if(P[P.rectHover?"rectContain":"contain"](M,L)){for(var F=P,k;F;){if(F.clipPath&&!F.clipPath.contain(M,L))return!1;F.silent&&(k=!0),F=F.parent}return k?I:!0}return!1}function D(P,M,L){var F=P.painter;return M<0||M>F.getWidth()||L<0||L>F.getHeight()}f.mixin(w,E),f.mixin(w,C);var R=w;A.exports=R}),xE=wt(o=>{var A=typeof Float32Array>"u"?Array:Float32Array;function f(){var Q=new A(6);return m(Q),Q}function m(Q){return Q[0]=1,Q[1]=0,Q[2]=0,Q[3]=1,Q[4]=0,Q[5]=0,Q}function C(Q,T){return Q[0]=T[0],Q[1]=T[1],Q[2]=T[2],Q[3]=T[3],Q[4]=T[4],Q[5]=T[5],Q}function E(Q,T,w){var S=T[0]*w[0]+T[2]*w[1],D=T[1]*w[0]+T[3]*w[1],R=T[0]*w[2]+T[2]*w[3],P=T[1]*w[2]+T[3]*w[3],M=T[0]*w[4]+T[2]*w[5]+T[4],L=T[1]*w[4]+T[3]*w[5]+T[5];return Q[0]=S,Q[1]=D,Q[2]=R,Q[3]=P,Q[4]=M,Q[5]=L,Q}function x(Q,T,w){return Q[0]=T[0],Q[1]=T[1],Q[2]=T[2],Q[3]=T[3],Q[4]=T[4]+w[0],Q[5]=T[5]+w[1],Q}function y(Q,T,w){var S=T[0],D=T[2],R=T[4],P=T[1],M=T[3],L=T[5],F=Math.sin(w),k=Math.cos(w);return Q[0]=S*k+P*F,Q[1]=-S*F+P*k,Q[2]=D*k+M*F,Q[3]=-D*F+k*M,Q[4]=k*R+F*L,Q[5]=k*L-F*R,Q}function I(Q,T,w){var S=w[0],D=w[1];return Q[0]=T[0]*S,Q[1]=T[1]*D,Q[2]=T[2]*S,Q[3]=T[3]*D,Q[4]=T[4]*S,Q[5]=T[5]*D,Q}function v(Q,T){var w=T[0],S=T[2],D=T[4],R=T[1],P=T[3],M=T[5],L=w*P-R*S;return L?(L=1/L,Q[0]=P*L,Q[1]=-R*L,Q[2]=-S*L,Q[3]=w*L,Q[4]=(S*M-P*D)*L,Q[5]=(R*D-w*M)*L,Q):null}function B(Q){var T=f();return C(T,Q),T}o.create=f,o.identity=m,o.copy=C,o.mul=E,o.translate=x,o.rotate=y,o.scale=I,o.invert=v,o.clone=B}),$ee=wt((o,A)=>{var f=xE(),m=vh(),C=f.identity,E=5e-5;function x(w){return w>E||w<-E}var y=function(w){w=w||{},w.position||(this.position=[0,0]),w.rotation==null&&(this.rotation=0),w.scale||(this.scale=[1,1]),this.origin=this.origin||null},I=y.prototype;I.transform=null,I.needLocalTransform=function(){return x(this.rotation)||x(this.position[0])||x(this.position[1])||x(this.scale[0]-1)||x(this.scale[1]-1)};var v=[];I.updateTransform=function(){var w=this.parent,S=w&&w.transform,D=this.needLocalTransform(),R=this.transform;if(!(D||S)){R&&C(R);return}R=R||f.create(),D?this.getLocalTransform(R):C(R),S&&(D?f.mul(R,w.transform,R):f.copy(R,w.transform)),this.transform=R;var P=this.globalScaleRatio;if(P!=null&&P!==1){this.getGlobalScale(v);var M=v[0]<0?-1:1,L=v[1]<0?-1:1,F=((v[0]-M)*P+M)/v[0]||0,k=((v[1]-L)*P+L)/v[1]||0;R[0]*=F,R[1]*=F,R[2]*=k,R[3]*=k}this.invTransform=this.invTransform||f.create(),f.invert(this.invTransform,R)},I.getLocalTransform=function(w){return y.getLocalTransform(this,w)},I.setTransform=function(w){var S=this.transform,D=w.dpr||1;S?w.setTransform(D*S[0],D*S[1],D*S[2],D*S[3],D*S[4],D*S[5]):w.setTransform(D,0,0,D,0,0)},I.restoreTransform=function(w){var S=w.dpr||1;w.setTransform(S,0,0,S,0,0)};var B=[],Q=f.create();I.setLocalTransform=function(w){if(w){var S=w[0]*w[0]+w[1]*w[1],D=w[2]*w[2]+w[3]*w[3],R=this.position,P=this.scale;x(S-1)&&(S=Math.sqrt(S)),x(D-1)&&(D=Math.sqrt(D)),w[0]<0&&(S=-S),w[3]<0&&(D=-D),R[0]=w[4],R[1]=w[5],P[0]=S,P[1]=D,this.rotation=Math.atan2(-w[1]/D,w[0]/S)}},I.decomposeTransform=function(){if(this.transform){var w=this.parent,S=this.transform;w&&w.transform&&(f.mul(B,w.invTransform,S),S=B);var D=this.origin;D&&(D[0]||D[1])&&(Q[4]=D[0],Q[5]=D[1],f.mul(B,S,Q),B[4]-=D[0],B[5]-=D[1],S=B),this.setLocalTransform(S)}},I.getGlobalScale=function(w){var S=this.transform;return w=w||[],S?(w[0]=Math.sqrt(S[0]*S[0]+S[1]*S[1]),w[1]=Math.sqrt(S[2]*S[2]+S[3]*S[3]),S[0]<0&&(w[0]=-w[0]),S[3]<0&&(w[1]=-w[1]),w):(w[0]=1,w[1]=1,w)},I.transformCoordToLocal=function(w,S){var D=[w,S],R=this.invTransform;return R&&m.applyTransform(D,D,R),D},I.transformCoordToGlobal=function(w,S){var D=[w,S],R=this.transform;return R&&m.applyTransform(D,D,R),D},y.getLocalTransform=function(w,S){S=S||[],C(S);var D=w.origin,R=w.scale||[1,1],P=w.rotation||0,M=w.position||[0,0];return D&&(S[4]-=D[0],S[5]-=D[1]),f.scale(S,S,R),P&&f.rotate(S,S,P),D&&(S[4]+=D[0],S[5]+=D[1]),S[4]+=M[0],S[5]+=M[1],S};var T=y;A.exports=T}),b0t=wt((o,A)=>{var f={linear:function(C){return C},quadraticIn:function(C){return C*C},quadraticOut:function(C){return C*(2-C)},quadraticInOut:function(C){return(C*=2)<1?.5*C*C:-.5*(--C*(C-2)-1)},cubicIn:function(C){return C*C*C},cubicOut:function(C){return--C*C*C+1},cubicInOut:function(C){return(C*=2)<1?.5*C*C*C:.5*((C-=2)*C*C+2)},quarticIn:function(C){return C*C*C*C},quarticOut:function(C){return 1- --C*C*C*C},quarticInOut:function(C){return(C*=2)<1?.5*C*C*C*C:-.5*((C-=2)*C*C*C-2)},quinticIn:function(C){return C*C*C*C*C},quinticOut:function(C){return--C*C*C*C*C+1},quinticInOut:function(C){return(C*=2)<1?.5*C*C*C*C*C:.5*((C-=2)*C*C*C*C+2)},sinusoidalIn:function(C){return 1-Math.cos(C*Math.PI/2)},sinusoidalOut:function(C){return Math.sin(C*Math.PI/2)},sinusoidalInOut:function(C){return .5*(1-Math.cos(Math.PI*C))},exponentialIn:function(C){return C===0?0:Math.pow(1024,C-1)},exponentialOut:function(C){return C===1?1:1-Math.pow(2,-10*C)},exponentialInOut:function(C){return C===0?0:C===1?1:(C*=2)<1?.5*Math.pow(1024,C-1):.5*(-Math.pow(2,-10*(C-1))+2)},circularIn:function(C){return 1-Math.sqrt(1-C*C)},circularOut:function(C){return Math.sqrt(1- --C*C)},circularInOut:function(C){return(C*=2)<1?-.5*(Math.sqrt(1-C*C)-1):.5*(Math.sqrt(1-(C-=2)*C)+1)},elasticIn:function(C){var E,x=.1,y=.4;return C===0?0:C===1?1:(!x||x<1?(x=1,E=y/4):E=y*Math.asin(1/x)/(2*Math.PI),-(x*Math.pow(2,10*(C-=1))*Math.sin((C-E)*(2*Math.PI)/y)))},elasticOut:function(C){var E,x=.1,y=.4;return C===0?0:C===1?1:(!x||x<1?(x=1,E=y/4):E=y*Math.asin(1/x)/(2*Math.PI),x*Math.pow(2,-10*C)*Math.sin((C-E)*(2*Math.PI)/y)+1)},elasticInOut:function(C){var E,x=.1,y=.4;return C===0?0:C===1?1:(!x||x<1?(x=1,E=y/4):E=y*Math.asin(1/x)/(2*Math.PI),(C*=2)<1?-.5*(x*Math.pow(2,10*(C-=1))*Math.sin((C-E)*(2*Math.PI)/y)):x*Math.pow(2,-10*(C-=1))*Math.sin((C-E)*(2*Math.PI)/y)*.5+1)},backIn:function(C){var E=1.70158;return C*C*((E+1)*C-E)},backOut:function(C){var E=1.70158;return--C*C*((E+1)*C+E)+1},backInOut:function(C){var E=2.5949095;return(C*=2)<1?.5*(C*C*((E+1)*C-E)):.5*((C-=2)*C*((E+1)*C+E)+2)},bounceIn:function(C){return 1-f.bounceOut(1-C)},bounceOut:function(C){return C<.36363636363636365?7.5625*C*C:C<.7272727272727273?7.5625*(C-=.5454545454545454)*C+.75:C<.9090909090909091?7.5625*(C-=.8181818181818182)*C+.9375:7.5625*(C-=.9545454545454546)*C+.984375},bounceInOut:function(C){return C<.5?f.bounceIn(C*2)*.5:f.bounceOut(C*2-1)*.5+.5}},m=f;A.exports=m}),Q0t=wt((o,A)=>{var f=b0t();function m(E){this._target=E.target,this._life=E.life||1e3,this._delay=E.delay||0,this._initialized=!1,this.loop=E.loop==null?!1:E.loop,this.gap=E.gap||0,this.easing=E.easing||"Linear",this.onframe=E.onframe,this.ondestroy=E.ondestroy,this.onrestart=E.onrestart,this._pausedTime=0,this._paused=!1}m.prototype={constructor:m,step:function(E,x){if(this._initialized||(this._startTime=E+this._delay,this._initialized=!0),this._paused){this._pausedTime+=x;return}var y=(E-this._startTime-this._pausedTime)/this._life;if(!(y<0)){y=Math.min(y,1);var I=this.easing,v=typeof I=="string"?f[I]:I,B=typeof v=="function"?v(y):y;return this.fire("frame",B),y===1?this.loop?(this.restart(E),"restart"):(this._needsRemove=!0,"destroy"):null}},restart:function(E){var x=(E-this._startTime-this._pausedTime)%this._life;this._startTime=E-x+this.gap,this._pausedTime=0,this._needsRemove=!1},fire:function(E,x){E="on"+E,this[E]&&this[E](this._target,x)},pause:function(){this._paused=!0},resume:function(){this._paused=!1}};var C=m;A.exports=C}),CHe=wt((o,A)=>{var f=function(){this.head=null,this.tail=null,this._len=0},m=f.prototype;m.insert=function(I){var v=new C(I);return this.insertEntry(v),v},m.insertEntry=function(I){this.head?(this.tail.next=I,I.prev=this.tail,I.next=null,this.tail=I):this.head=this.tail=I,this._len++},m.remove=function(I){var v=I.prev,B=I.next;v?v.next=B:this.head=B,B?B.prev=v:this.tail=v,I.next=I.prev=null,this._len--},m.len=function(){return this._len},m.clear=function(){this.head=this.tail=null,this._len=0};var C=function(I){this.value=I,this.next,this.prev},E=function(I){this._list=new f,this._map={},this._maxSize=I||10,this._lastRemovedEntry=null},x=E.prototype;x.put=function(I,v){var B=this._list,Q=this._map,T=null;if(Q[I]==null){var w=B.len(),S=this._lastRemovedEntry;if(w>=this._maxSize&&w>0){var D=B.head;B.remove(D),delete Q[D.key],T=D.value,this._lastRemovedEntry=D}S?S.value=v:S=new C(v),S.key=I,B.insertEntry(S),Q[I]=S}return T},x.get=function(I){var v=this._map[I],B=this._list;if(v!=null)return v!==B.tail&&(B.remove(v),B.insertEntry(v)),v.value},x.clear=function(){this._list.clear(),this._map={}};var y=E;A.exports=y}),Yb=wt(o=>{var A=CHe(),f={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 m(q){return q=Math.round(q),q<0?0:q>255?255:q}function C(q){return q=Math.round(q),q<0?0:q>360?360:q}function E(q){return q<0?0:q>1?1:q}function x(q){return q.length&&q.charAt(q.length-1)==="%"?m(parseFloat(q)/100*255):m(parseInt(q,10))}function y(q){return q.length&&q.charAt(q.length-1)==="%"?E(parseFloat(q)/100):E(parseFloat(q))}function I(q,ee,ie){return ie<0?ie+=1:ie>1&&(ie-=1),ie*6<1?q+(ee-q)*ie*6:ie*2<1?ee:ie*3<2?q+(ee-q)*(2/3-ie)*6:q}function v(q,ee,ie){return q+(ee-q)*ie}function B(q,ee,ie,H,le){return q[0]=ee,q[1]=ie,q[2]=H,q[3]=le,q}function Q(q,ee){return q[0]=ee[0],q[1]=ee[1],q[2]=ee[2],q[3]=ee[3],q}var T=new A(20),w=null;function S(q,ee){w&&Q(w,ee),w=T.put(q,w||ee.slice())}function D(q,ee){if(q){ee=ee||[];var ie=T.get(q);if(ie)return Q(ee,ie);q=q+"";var H=q.replace(/ /g,"").toLowerCase();if(H in f)return Q(ee,f[H]),S(q,ee),ee;if(H.charAt(0)==="#"){if(H.length===4){var le=parseInt(H.substr(1),16);if(!(le>=0&&le<=4095)){B(ee,0,0,0,1);return}return B(ee,(le&3840)>>4|(le&3840)>>8,le&240|(le&240)>>4,le&15|(le&15)<<4,1),S(q,ee),ee}else if(H.length===7){var le=parseInt(H.substr(1),16);if(!(le>=0&&le<=16777215)){B(ee,0,0,0,1);return}return B(ee,(le&16711680)>>16,(le&65280)>>8,le&255,1),S(q,ee),ee}return}var ue=H.indexOf("("),Ae=H.indexOf(")");if(ue!==-1&&Ae+1===H.length){var he=H.substr(0,ue),ge=H.substr(ue+1,Ae-(ue+1)).split(","),fe=1;switch(he){case"rgba":if(ge.length!==4){B(ee,0,0,0,1);return}fe=y(ge.pop());case"rgb":if(ge.length!==3){B(ee,0,0,0,1);return}return B(ee,x(ge[0]),x(ge[1]),x(ge[2]),fe),S(q,ee),ee;case"hsla":if(ge.length!==4){B(ee,0,0,0,1);return}return ge[3]=y(ge[3]),R(ge,ee),S(q,ee),ee;case"hsl":if(ge.length!==3){B(ee,0,0,0,1);return}return R(ge,ee),S(q,ee),ee;default:return}}B(ee,0,0,0,1)}}function R(q,ee){var ie=(parseFloat(q[0])%360+360)%360/360,H=y(q[1]),le=y(q[2]),ue=le<=.5?le*(H+1):le+H-le*H,Ae=le*2-ue;return ee=ee||[],B(ee,m(I(Ae,ue,ie+1/3)*255),m(I(Ae,ue,ie)*255),m(I(Ae,ue,ie-1/3)*255),1),q.length===4&&(ee[3]=q[3]),ee}function P(q){if(q){var ee=q[0]/255,ie=q[1]/255,H=q[2]/255,le=Math.min(ee,ie,H),ue=Math.max(ee,ie,H),Ae=ue-le,he=(ue+le)/2,ge,fe;if(Ae===0)ge=0,fe=0;else{he<.5?fe=Ae/(ue+le):fe=Ae/(2-ue-le);var ae=((ue-ee)/6+Ae/2)/Ae,U=((ue-ie)/6+Ae/2)/Ae,W=((ue-H)/6+Ae/2)/Ae;ee===ue?ge=W-U:ie===ue?ge=1/3+ae-W:H===ue&&(ge=2/3+U-ae),ge<0&&(ge+=1),ge>1&&(ge-=1)}var Y=[ge*360,fe,he];return q[3]!=null&&Y.push(q[3]),Y}}function M(q,ee){var ie=D(q);if(ie){for(var H=0;H<3;H++)ee<0?ie[H]=ie[H]*(1-ee)|0:ie[H]=(255-ie[H])*ee+ie[H]|0,ie[H]>255?ie[H]=255:q[H]<0&&(ie[H]=0);return X(ie,ie.length===4?"rgba":"rgb")}}function L(q){var ee=D(q);if(ee)return((1<<24)+(ee[0]<<16)+(ee[1]<<8)+ +ee[2]).toString(16).slice(1)}function F(q,ee,ie){if(!(!(ee&&ee.length)||!(q>=0&&q<=1))){ie=ie||[];var H=q*(ee.length-1),le=Math.floor(H),ue=Math.ceil(H),Ae=ee[le],he=ee[ue],ge=H-le;return ie[0]=m(v(Ae[0],he[0],ge)),ie[1]=m(v(Ae[1],he[1],ge)),ie[2]=m(v(Ae[2],he[2],ge)),ie[3]=E(v(Ae[3],he[3],ge)),ie}}var k=F;function N(q,ee,ie){if(!(!(ee&&ee.length)||!(q>=0&&q<=1))){var H=q*(ee.length-1),le=Math.floor(H),ue=Math.ceil(H),Ae=D(ee[le]),he=D(ee[ue]),ge=H-le,fe=X([m(v(Ae[0],he[0],ge)),m(v(Ae[1],he[1],ge)),m(v(Ae[2],he[2],ge)),E(v(Ae[3],he[3],ge))],"rgba");return ie?{color:fe,leftIndex:le,rightIndex:ue,value:H}:fe}}var G=N;function J(q,ee,ie,H){if(q=D(q),q)return q=P(q),ee!=null&&(q[0]=C(ee)),ie!=null&&(q[1]=y(ie)),H!=null&&(q[2]=y(H)),X(R(q),"rgba")}function K(q,ee){if(q=D(q),q&&ee!=null)return q[3]=E(ee),X(q,"rgba")}function X(q,ee){if(!(!q||!q.length)){var ie=q[0]+","+q[1]+","+q[2];return(ee==="rgba"||ee==="hsva"||ee==="hsla")&&(ie+=","+q[3]),ee+"("+ie+")"}}o.parse=D,o.lift=M,o.toHex=L,o.fastLerp=F,o.fastMapToColor=k,o.lerp=N,o.mapToColor=G,o.modifyHSL=J,o.modifyAlpha=K,o.stringify=X}),EHe=wt((o,A)=>{var f=Q0t(),m=Yb(),C=Bi(),E=C.isArrayLike,x=Array.prototype.slice;function y(N,G){return N[G]}function I(N,G,J){N[G]=J}function v(N,G,J){return(G-N)*J+N}function B(N,G,J){return J>.5?G:N}function Q(N,G,J,K,X){var q=N.length;if(X===1)for(var ee=0;eeX;if(q)N.length=X;else for(var ee=K;ee=0&&!(U[Xe]<=Je);Xe--);Xe=Math.min(Xe,le-2)}else{for(Xe=Ce;XeJe);Xe++);Xe=Math.min(Xe-1,le-2)}Ce=Xe,Ie=Je;var et=U[Xe+1]-U[Xe];if(et!==0)if(Te=(Je-U[Xe])/et,H)if(ke=W[Xe],Ge=W[Xe===0?Xe:Xe-1],Oe=W[Xe>le-2?le-1:Xe+1],Le=W[Xe>le-3?le-1:Xe+2],Ae)S(Ge,ke,Oe,Le,Te,Te*Te,Te*Te*Te,ee(ze,X),fe);else{var ot;if(he)ot=S(Ge,ke,Oe,Le,Te,Te*Te,Te*Te*Te,be,1),ot=P(be);else{if(ge)return B(ke,Oe,Te);ot=D(Ge,ke,Oe,Le,Te,Te*Te,Te*Te*Te)}ie(ze,X,ot)}else if(Ae)Q(W[Xe],W[Xe+1],Te,ee(ze,X),fe);else{var ot;if(he)Q(W[Xe],W[Xe+1],Te,be,1),ot=P(be);else{if(ge)return B(W[Xe],W[Xe+1],Te);ot=v(W[Xe],W[Xe+1],Te)}ie(ze,X,ot)}},Ue=new f({target:N._target,life:ae,loop:N._loop,delay:N._delay,onframe:Ne,ondestroy:J});return G&&G!=="spline"&&(Ue.easing=G),Ue}}}var F=function(N,G,J,K){this._tracks={},this._target=N,this._loop=G||!1,this._getter=J||y,this._setter=K||I,this._clipCount=0,this._delay=0,this._doneList=[],this._onframeList=[],this._clipList=[]};F.prototype={when:function(N,G){var J=this._tracks;for(var K in G)if(G.hasOwnProperty(K)){if(!J[K]){J[K]=[];var X=this._getter(this._target,K);if(X==null)continue;N!==0&&J[K].push({time:0,value:R(X)})}J[K].push({time:N,value:G[K]})}return this},during:function(N){return this._onframeList.push(N),this},pause:function(){for(var N=0;N{var A=1;typeof window<"u"&&(A=Math.max(window.devicePixelRatio||1,1));var f=0,m=A;o.debugMode=f,o.devicePixelRatio=m}),mz=wt((o,A)=>{var f=ete(),m=f.debugMode,C=function(){};m===1&&(C=console.error);var E=C;A.exports=E}),S0t=wt((o,A)=>{var f=EHe(),m=mz(),C=Bi(),E=C.isString,x=C.isFunction,y=C.isObject,I=C.isArrayLike,v=C.indexOf,B=function(){this.animators=[]};B.prototype={constructor:B,animate:function(D,R){var P,M=!1,L=this,F=this.__zr;if(D){var k=D.split("."),N=L;M=k[0]==="shape";for(var G=0,J=k.length;G0&&D.animate(R,!1).when(L??500,N).delay(F||0)}function w(D,R,P,M){if(!R)D.attr(P,M);else{var L={};L[R]={},L[R][P]=M,D.attr(L)}}var S=B;A.exports=S}),xHe=wt((o,A)=>{var f=pHe(),m=jN(),C=$ee(),E=S0t(),x=Bi(),y=function(v){C.call(this,v),m.call(this,v),E.call(this,v),this.id=v.id||f()};y.prototype={type:"element",name:"",__zr:null,ignore:!1,clipPath:null,isGroup:!1,drift:function(v,B){switch(this.draggable){case"horizontal":B=0;break;case"vertical":v=0;break}var Q=this.transform;Q||(Q=this.transform=[1,0,0,1,0,0]),Q[4]+=v,Q[5]+=B,this.decomposeTransform(),this.dirty(!1)},beforeUpdate:function(){},afterUpdate:function(){},update:function(){this.updateTransform()},traverse:function(v,B){},attrKV:function(v,B){if(v==="position"||v==="scale"||v==="origin"){if(B){var Q=this[v];Q||(Q=this[v]=[]),Q[0]=B[0],Q[1]=B[1]}}else this[v]=B},hide:function(){this.ignore=!0,this.__zr&&this.__zr.refresh()},show:function(){this.ignore=!1,this.__zr&&this.__zr.refresh()},attr:function(v,B){if(typeof v=="string")this.attrKV(v,B);else if(x.isObject(v))for(var Q in v)v.hasOwnProperty(Q)&&this.attrKV(Q,v[Q]);return this.dirty(!1),this},setClipPath:function(v){var B=this.__zr;B&&v.addSelfToZr(B),this.clipPath&&this.clipPath!==v&&this.removeClipPath(),this.clipPath=v,v.__zr=B,v.__clipTarget=this,this.dirty(!1)},removeClipPath:function(){var v=this.clipPath;v&&(v.__zr&&v.removeSelfFromZr(v.__zr),v.__zr=null,v.__clipTarget=null,this.clipPath=null,this.dirty(!1))},addSelfToZr:function(v){this.__zr=v;var B=this.animators;if(B)for(var Q=0;Q{var f=vh(),m=xE(),C=f.applyTransform,E=Math.min,x=Math.max;function y(v,B,Q,T){Q<0&&(v=v+Q,Q=-Q),T<0&&(B=B+T,T=-T),this.x=v,this.y=B,this.width=Q,this.height=T}y.prototype={constructor:y,union:function(v){var B=E(v.x,this.x),Q=E(v.y,this.y);this.width=x(v.x+v.width,this.x+this.width)-B,this.height=x(v.y+v.height,this.y+this.height)-Q,this.x=B,this.y=Q},applyTransform:function(){var v=[],B=[],Q=[],T=[];return function(w){if(w){v[0]=Q[0]=this.x,v[1]=T[1]=this.y,B[0]=T[0]=this.x+this.width,B[1]=Q[1]=this.y+this.height,C(v,v,w),C(B,B,w),C(Q,Q,w),C(T,T,w),this.x=E(v[0],B[0],Q[0],T[0]),this.y=E(v[1],B[1],Q[1],T[1]);var S=x(v[0],B[0],Q[0],T[0]),D=x(v[1],B[1],Q[1],T[1]);this.width=S-this.x,this.height=D-this.y}}}(),calculateTransform:function(v){var B=this,Q=v.width/B.width,T=v.height/B.height,w=m.create();return m.translate(w,w,[-B.x,-B.y]),m.scale(w,w,[Q,T]),m.translate(w,w,[v.x,v.y]),w},intersect:function(v){if(!v)return!1;v instanceof y||(v=y.create(v));var B=this,Q=B.x,T=B.x+B.width,w=B.y,S=B.y+B.height,D=v.x,R=v.x+v.width,P=v.y,M=v.y+v.height;return!(T=Q.x&&v<=Q.x+Q.width&&B>=Q.y&&B<=Q.y+Q.height},clone:function(){return new y(this.x,this.y,this.width,this.height)},copy:function(v){this.x=v.x,this.y=v.y,this.width=v.width,this.height=v.height},plain:function(){return{x:this.x,y:this.y,width:this.width,height:this.height}}},y.create=function(v){return new y(v.x,v.y,v.width,v.height)};var I=y;A.exports=I}),qN=wt((o,A)=>{var f=Bi(),m=xHe(),C=zh(),E=function(y){y=y||{},m.call(this,y);for(var I in y)y.hasOwnProperty(I)&&(this[I]=y[I]);this._children=[],this.__storage=null,this.__dirty=!0};E.prototype={constructor:E,isGroup:!0,type:"group",silent:!1,children:function(){return this._children.slice()},childAt:function(y){return this._children[y]},childOfName:function(y){for(var I=this._children,v=0;v=0&&(v.splice(B,0,y),this._doAdd(y))}return this},_doAdd:function(y){y.parent&&y.parent.remove(y),y.parent=this;var I=this.__storage,v=this.__zr;I&&I!==y.__storage&&(I.addToStorage(y),y instanceof E&&y.addChildrenToStorage(I)),v&&v.refresh()},remove:function(y){var I=this.__zr,v=this.__storage,B=this._children,Q=f.indexOf(B,y);return Q<0?this:(B.splice(Q,1),y.parent=null,v&&(v.delFromStorage(y),y instanceof E&&y.delChildrenFromStorage(v)),I&&I.refresh(),this)},removeAll:function(){var y=this._children,I=this.__storage,v,B;for(B=0;B{var f=32,m=7,C=256;function E(w){for(var S=0;w>=f;)S|=w&1,w>>=1;return w+S}function x(w,S,D,R){var P=S+1;if(P===D)return 1;if(R(w[P++],w[S])<0){for(;P=0;)P++;return P-S}function y(w,S,D){for(D--;S>>1,P(M,w[k])<0?F=k:L=k+1;var N=R-L;switch(N){case 3:w[L+3]=w[L+2];case 2:w[L+2]=w[L+1];case 1:w[L+1]=w[L];break;default:for(;N>0;)w[L+N]=w[L+N-1],N--}w[L]=M}}function v(w,S,D,R,P,M){var L=0,F=0,k=1;if(M(w,S[D+P])>0){for(F=R-P;k0;)L=k,k=(k<<1)+1,k<=0&&(k=F);k>F&&(k=F),L+=P,k+=P}else{for(F=P+1;kF&&(k=F);var N=L;L=P-k,k=P-N}for(L++;L>>1);M(w,S[D+G])>0?L=G+1:k=G}return k}function B(w,S,D,R,P,M){var L=0,F=0,k=1;if(M(w,S[D+P])<0){for(F=P+1;kF&&(k=F);var N=L;L=P-k,k=P-N}else{for(F=R-P;k=0;)L=k,k=(k<<1)+1,k<=0&&(k=F);k>F&&(k=F),L+=P,k+=P}for(L++;L>>1);M(w,S[D+G])<0?k=G:L=G+1}return k}function Q(w,S){var D=m,R=0,P=C,M=0,L,F,k=0;R=w.length,R<2*C&&(P=R>>>1);var N=[];M=R<120?5:R<1542?10:R<119151?19:40,L=[],F=[];function G(ie,H){L[k]=ie,F[k]=H,k+=1}function J(){for(;k>1;){var ie=k-2;if(ie>=1&&F[ie-1]<=F[ie]+F[ie+1]||ie>=2&&F[ie-2]<=F[ie]+F[ie-1])F[ie-1]F[ie+1])break;X(ie)}}function K(){for(;k>1;){var ie=k-2;ie>0&&F[ie-1]=m||W>=m);if(Y)break;ae<0&&(ae=0),ae+=2}if(D=ae,D<1&&(D=1),H===1){for(Ae=0;Ae=0;Ae--)w[U+Ae]=w[ae+Ae];w[fe]=N[ge];return}for(var W=D;;){var Y=0,z=0,re=!1;do if(S(N[ge],w[he])<0){if(w[fe--]=w[he--],Y++,z=0,--H===0){re=!0;break}}else if(w[fe--]=N[ge--],z++,Y=0,--ue===1){re=!0;break}while((Y|z)=0;Ae--)w[U+Ae]=w[ae+Ae];if(H===0){re=!0;break}}if(w[fe--]=N[ge--],--ue===1){re=!0;break}if(z=ue-v(w[he],N,0,ue,ue-1,S),z!==0){for(fe-=z,ge-=z,ue-=z,U=fe+1,ae=ge+1,Ae=0;Ae=m||z>=m);if(re)break;W<0&&(W=0),W+=2}if(D=W,D<1&&(D=1),ue===1){for(fe-=H,he-=H,U=fe+1,ae=he+1,Ae=H-1;Ae>=0;Ae--)w[U+Ae]=w[ae+Ae];w[fe]=N[ge]}else{if(ue===0)throw new Error;for(ae=fe-(ue-1),Ae=0;AeF&&(k=F),I(w,D,D+k,D+M,S),M=k}L.pushRun(D,M),L.mergeRuns(),P-=M,D+=M}while(P!==0);L.forceMergeRuns()}}A.exports=T}),D0t=wt((o,A)=>{var f=Bi(),m=jf(),C=qN(),E=n0e();function x(v,B){return v.zlevel===B.zlevel?v.z===B.z?v.z2-B.z2:v.z-B.z:v.zlevel-B.zlevel}var y=function(){this._roots=[],this._displayList=[],this._displayListLen=0};y.prototype={constructor:y,traverse:function(v,B){for(var Q=0;Q=0&&(this.delFromStorage(v),this._roots.splice(w,1),v instanceof C&&v.delChildrenFromStorage(this))},addToStorage:function(v){return v&&(v.__storage=this,v.dirty(!1)),this},delFromStorage:function(v){return v&&(v.__storage=null),this},dispose:function(){this._renderList=this._roots=null},displayableSortFunc:x};var I=y;A.exports=I}),yHe=wt((o,A)=>{var f={shadowBlur:1,shadowOffsetX:1,shadowOffsetY:1,textShadowBlur:1,textShadowOffsetX:1,textShadowOffsetY:1,textBoxShadowBlur:1,textBoxShadowOffsetX:1,textBoxShadowOffsetY:1};function m(C,E,x){return f.hasOwnProperty(E)?x*=C.dpr:x}A.exports=m}),tte=wt(o=>{var A={NONE:0,STYLE_BIND:1,PLAIN_TEXT:2},f=9;o.ContextCachedBy=A,o.WILL_BE_RESTORED=f}),o0e=wt((o,A)=>{var f=yHe(),m=tte(),C=m.ContextCachedBy,E=[["shadowBlur",0],["shadowOffsetX",0],["shadowOffsetY",0],["shadowColor","#000"],["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]],x=function(w){this.extendFrom(w,!1)};function y(w,S,D){var R=S.x==null?0:S.x,P=S.x2==null?1:S.x2,M=S.y==null?0:S.y,L=S.y2==null?0:S.y2;S.global||(R=R*D.width+D.x,P=P*D.width+D.x,M=M*D.height+D.y,L=L*D.height+D.y),R=isNaN(R)?0:R,P=isNaN(P)?1:P,M=isNaN(M)?0:M,L=isNaN(L)?0:L;var F=w.createLinearGradient(R,M,P,L);return F}function I(w,S,D){var R=D.width,P=D.height,M=Math.min(R,P),L=S.x==null?.5:S.x,F=S.y==null?.5:S.y,k=S.r==null?.5:S.r;S.global||(L=L*R+D.x,F=F*P+D.y,k=k*M);var N=w.createRadialGradient(L,F,0,L,F,k);return N}x.prototype={constructor:x,fill:"#000",stroke:null,opacity:1,fillOpacity:null,strokeOpacity:null,lineDash:null,lineDashOffset:0,shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,lineWidth:1,strokeNoScale:!1,text:null,font:null,textFont:null,fontStyle:null,fontWeight:null,fontSize:null,fontFamily:null,textTag:null,textFill:"#000",textStroke:null,textWidth:null,textHeight:null,textStrokeWidth:0,textLineHeight:null,textPosition:"inside",textRect:null,textOffset:null,textAlign:null,textVerticalAlign:null,textDistance:5,textShadowColor:"transparent",textShadowBlur:0,textShadowOffsetX:0,textShadowOffsetY:0,textBoxShadowColor:"transparent",textBoxShadowBlur:0,textBoxShadowOffsetX:0,textBoxShadowOffsetY:0,transformText:!1,textRotation:0,textOrigin:null,textBackgroundColor:null,textBorderColor:null,textBorderWidth:0,textBorderRadius:0,textPadding:null,rich:null,truncate:null,blend:null,bind:function(w,S,D){var R=this,P=D&&D.style,M=!P||w.__attrCachedBy!==C.STYLE_BIND;w.__attrCachedBy=C.STYLE_BIND;for(var L=0;L0},extendFrom:function(w,S){if(w)for(var D in w)w.hasOwnProperty(D)&&(S===!0||(S===!1?!this.hasOwnProperty(D):w[D]!=null))&&(this[D]=w[D])},set:function(w,S){typeof w=="string"?this[w]=S:this.extendFrom(w,!0)},clone:function(){var w=new this.constructor;return w.extendFrom(this,!0),w},getGradient:function(w,S,D){for(var R=S.type==="radial"?I:y,P=R(w,S,D),M=S.colorStops,L=0;L{var f=function(C,E){this.image=C,this.repeat=E,this.type="pattern"};f.prototype.getCanvasPattern=function(C){return C.createPattern(this.image,this.repeat||"repeat")};var m=f;A.exports=m}),T0t=wt((o,A)=>{var f=Bi(),m=ete(),C=m.devicePixelRatio,E=o0e(),x=IHe();function y(){return!1}function I(Q,T,w){var S=f.createCanvas(),D=T.getWidth(),R=T.getHeight(),P=S.style;return P&&(P.position="absolute",P.left=0,P.top=0,P.width=D+"px",P.height=R+"px",S.setAttribute("data-zr-dom-id",Q)),S.width=D*w,S.height=R*w,S}var v=function(Q,T,w){var S;w=w||C,typeof Q=="string"?S=I(Q,T,w):f.isObject(Q)&&(S=Q,Q=S.id),this.id=Q,this.dom=S;var D=S.style;D&&(S.onselectstart=y,D["-webkit-user-select"]="none",D["user-select"]="none",D["-webkit-touch-callout"]="none",D["-webkit-tap-highlight-color"]="rgba(0,0,0,0)",D.padding=0,D.margin=0,D["border-width"]=0),this.domBack=null,this.ctxBack=null,this.painter=T,this.config=null,this.clearColor=0,this.motionBlur=!1,this.lastFrameAlpha=.7,this.dpr=w};v.prototype={constructor:v,__dirty:!0,__used:!1,__drawIndex:0,__startIndex:0,__endIndex:0,incremental:!1,getElementCount:function(){return this.__endIndex-this.__startIndex},initContext:function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},createBackBuffer:function(){var Q=this.dpr;this.domBack=I("back-"+this.id,this.painter,Q),this.ctxBack=this.domBack.getContext("2d"),Q!==1&&this.ctxBack.scale(Q,Q)},resize:function(Q,T){var w=this.dpr,S=this.dom,D=S.style,R=this.domBack;D&&(D.width=Q+"px",D.height=T+"px"),S.width=Q*w,S.height=T*w,R&&(R.width=Q*w,R.height=T*w,w!==1&&this.ctxBack.scale(w,w))},clear:function(Q,P){var w=this.dom,S=this.ctx,D=w.width,R=w.height,P=P||this.clearColor,M=this.motionBlur&&!Q,L=this.lastFrameAlpha,F=this.dpr;if(M&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(w,0,0,D/F,R/F)),S.clearRect(0,0,D,R),P&&P!=="transparent"){var k;P.colorStops?(k=P.__canvasGradient||E.getGradient(S,P,{x:0,y:0,width:D,height:R}),P.__canvasGradient=k):P.image&&(k=x.prototype.getCanvasPattern.call(P,S)),S.save(),S.fillStyle=k||P,S.fillRect(0,0,D,R),S.restore()}if(M){var N=this.domBack;S.save(),S.globalAlpha=L,S.drawImage(N,0,0,D,R),S.restore()}}};var B=v;A.exports=B}),_He=wt((o,A)=>{var f=typeof window<"u"&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(m){setTimeout(m,16)};A.exports=f}),a0e=wt(o=>{var A=CHe(),f=new A(50);function m(y){if(typeof y=="string"){var I=f.get(y);return I&&I.image}else return y}function C(y,I,v,B,Q){if(y)if(typeof y=="string"){if(I&&I.__zrImageSrc===y||!v)return I;var T=f.get(y),w={hostEl:v,cb:B,cbPayload:Q};return T?(I=T.image,!x(I)&&T.pending.push(w)):(I=new Image,I.onload=I.onerror=E,f.put(y,I.__cachedImgObj={image:I,pending:[w]}),I.src=I.__zrImageSrc=y),I}else return y;else return I}function E(){var y=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var I=0;I{var A=zh(),f=a0e(),m=Bi(),C=m.getContext,E=m.extend,x=m.retrieve2,y=m.retrieve3,I=m.trim,v={},B=0,Q=5e3,T=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g,w="12px sans-serif",S={};function D(he,ge){S[he]=ge}function R(he,ge){ge=ge||w;var fe=he+":"+ge;if(v[fe])return v[fe];for(var ae=(he+"").split(`
`),U=0,W=0,Y=ae.length;WQ&&(B=0,v={}),B++,v[fe]=U,U}function P(he,ge,fe,ae,U,W,Y,z){return Y?L(he,ge,fe,ae,U,W,Y,z):M(he,ge,fe,ae,U,W,z)}function M(he,ge,fe,ae,U,W,Y){var z=H(he,ge,U,W,Y),re=R(he,ge);U&&(re+=U[1]+U[3]);var se=z.outerHeight,de=F(0,re,fe),me=k(0,se,ae),Ce=new A(de,me,re,se);return Ce.lineHeight=z.lineHeight,Ce}function L(he,ge,fe,ae,U,W,Y,z){var re=le(he,{rich:Y,truncate:z,font:ge,textAlign:fe,textPadding:U,textLineHeight:W}),se=re.outerWidth,de=re.outerHeight,me=F(0,se,fe),Ce=k(0,de,ae);return new A(me,Ce,se,de)}function F(he,ge,fe){return fe==="right"?he-=ge:fe==="center"&&(he-=ge/2),he}function k(he,ge,fe){return fe==="middle"?he-=ge/2:fe==="bottom"&&(he-=ge),he}function N(he,ge,fe){var ae=ge.textPosition,U=ge.textDistance,W=fe.x,Y=fe.y;U=U||0;var z=fe.height,re=fe.width,se=z/2,de="left",me="top";switch(ae){case"left":W-=U,Y+=se,de="right",me="middle";break;case"right":W+=U+re,Y+=se,me="middle";break;case"top":W+=re/2,Y-=U,de="center",me="bottom";break;case"bottom":W+=re/2,Y+=z+U,de="center";break;case"inside":W+=re/2,Y+=se,de="center",me="middle";break;case"insideLeft":W+=U,Y+=se,me="middle";break;case"insideRight":W+=re-U,Y+=se,de="right",me="middle";break;case"insideTop":W+=re/2,Y+=U,de="center";break;case"insideBottom":W+=re/2,Y+=z-U,de="center",me="bottom";break;case"insideTopLeft":W+=U,Y+=U;break;case"insideTopRight":W+=re-U,Y+=U,de="right";break;case"insideBottomLeft":W+=U,Y+=z-U,me="bottom";break;case"insideBottomRight":W+=re-U,Y+=z-U,de="right",me="bottom";break}return he=he||{},he.x=W,he.y=Y,he.textAlign=de,he.textVerticalAlign=me,he}function G(he,ge,fe){var ae={textPosition:he,textDistance:fe};return N({},ae,ge)}function J(he,ge,fe,ae,U){if(!ge)return"";var W=(he+"").split(`
`);U=K(ge,fe,ae,U);for(var Y=0,z=W.length;Y=Y;re++)z-=Y;var se=R(U,ge);return se>z&&(U="",se=0),z=he-se,ae.ellipsis=U,ae.ellipsisWidth=se,ae.contentWidth=z,ae.containerWidth=he,ae}function X(he,ge){var fe=ge.containerWidth,ae=ge.font,U=ge.contentWidth;if(!fe)return"";var W=R(he,ae);if(W<=fe)return he;for(var Y=0;;Y++){if(W<=U||Y>=ge.maxIterations){he+=ge.ellipsis;break}var z=Y===0?q(he,U,ge.ascCharWidth,ge.cnCharWidth):W>0?Math.floor(he.length*U/W):0;he=he.substr(0,z),W=R(he,ae)}return he===""&&(he=ge.placeholder),he}function q(he,ge,fe,ae){for(var U=0,W=0,Y=he.length;Wde)he="",Y=[];else if(me!=null)for(var Ce=K(me-(fe?fe[1]+fe[3]:0),ge,U.ellipsis,{minChar:U.minChar,placeholder:U.placeholder}),Ie=0,we=Y.length;Ieae&&ue(fe,he.substring(ae,W)),ue(fe,U[2],U[1]),ae=T.lastIndex}aeIe)return{lines:[],width:0,height:0};Le.textWidth=R(Le.text,Ue);var Je=be.textWidth,Xe=Je==null||Je==="auto";if(typeof Je=="string"&&Je.charAt(Je.length-1)==="%")Le.percentWidth=Je,se.push(Le),Je=0;else{if(Xe){Je=Le.textWidth;var et=be.textBackgroundColor,ot=et&&et.image;ot&&(ot=f.findExistImage(ot),f.isImageReady(ot)&&(Je=Math.max(Je,ot.width*ze/ot.height)))}var Et=Ne?Ne[1]+Ne[3]:0;Je+=Et;var Ct=Ce!=null?Ce-ke:null;Ct!=null&&Ct{function A(f,m){var C=m.x,E=m.y,x=m.width,y=m.height,I=m.r,v,B,Q,T;x<0&&(C=C+x,x=-x),y<0&&(E=E+y,y=-y),typeof I=="number"?v=B=Q=T=I:I instanceof Array?I.length===1?v=B=Q=T=I[0]:I.length===2?(v=Q=I[0],B=T=I[1]):I.length===3?(v=I[0],B=T=I[1],Q=I[2]):(v=I[0],B=I[1],Q=I[2],T=I[3]):v=B=Q=T=0;var w;v+B>x&&(w=v+B,v*=x/w,B*=x/w),Q+T>x&&(w=Q+T,Q*=x/w,T*=x/w),B+Q>y&&(w=B+Q,B*=y/w,Q*=y/w),v+T>y&&(w=v+T,v*=y/w,T*=y/w),f.moveTo(C+v,E),f.lineTo(C+x-B,E),B!==0&&f.arc(C+x-B,E+B,B,-Math.PI/2,0),f.lineTo(C+x,E+y-Q),Q!==0&&f.arc(C+x-Q,E+y-Q,Q,0,Math.PI/2),f.lineTo(C+T,E+y),T!==0&&f.arc(C+T,E+y-T,T,Math.PI/2,Math.PI),f.lineTo(C,E+v),v!==0&&f.arc(C+v,E+v,v,Math.PI,Math.PI*1.5)}o.buildPath=A}),ite=wt(o=>{var A=Bi(),f=A.retrieve2,m=A.retrieve3,C=A.each,E=A.normalizeCssArray,x=A.isString,y=A.isObject,I=yI(),v=vHe(),B=a0e(),Q=yHe(),T=tte(),w=T.ContextCachedBy,S=T.WILL_BE_RESTORED,D=I.DEFAULT_FONT,R={left:1,right:1,center:1},P={top:1,bottom:1,middle:1},M=[["textShadowBlur","shadowBlur",0],["textShadowOffsetX","shadowOffsetX",0],["textShadowOffsetY","shadowOffsetY",0],["textShadowColor","shadowColor","transparent"]],L={},F={};function k(W){return N(W),C(W.rich,N),W}function N(W){if(W){W.font=I.makeFont(W);var Y=W.textAlign;Y==="middle"&&(Y="center"),W.textAlign=Y==null||R[Y]?Y:"left";var z=W.textVerticalAlign||W.textBaseline;z==="center"&&(z="middle"),W.textVerticalAlign=z==null||P[z]?z:"top";var re=W.textPadding;re&&(W.textPadding=E(W.textPadding))}}function G(W,Y,z,re,se,de){re.rich?K(W,Y,z,re,se,de):J(W,Y,z,re,se,de)}function J(W,Y,z,re,se,de){"use strict";var me=ie(re),Ce,Ie=!1,we=Y.__attrCachedBy===w.PLAIN_TEXT;de!==S?(de&&(Ce=de.style,Ie=!me&&we&&Ce),Y.__attrCachedBy=me?w.NONE:w.PLAIN_TEXT):we&&(Y.__attrCachedBy=w.NONE);var Te=re.font||D;(!Ie||Te!==(Ce.font||D))&&(Y.font=Te);var Ge=W.__computedFont;W.__styleFont!==Te&&(W.__styleFont=Te,Ge=W.__computedFont=Y.font);var ke=re.textPadding,Oe=re.textLineHeight,Le=W.__textCotentBlock;(!Le||W.__dirtyText)&&(Le=W.__textCotentBlock=I.parsePlainText(z,Ge,ke,Oe,re.truncate));var be=Le.outerHeight,Ne=Le.lines,Ue=Le.lineHeight,ze=ue(F,W,re,se),Je=ze.baseX,Xe=ze.baseY,et=ze.textAlign||"left",ot=ze.textVerticalAlign;q(Y,re,se,Je,Xe);var Et=I.adjustTextY(Xe,be,ot),Ct=Je,ct=Et;if(me||ke){var yt=I.getWidth(z,Ge),Qt=yt;ke&&(Qt+=ke[1]+ke[3]);var Ze=I.adjustTextX(Je,Qt,et);me&&H(W,Y,re,Ze,Et,Qt,be),ke&&(Ct=ae(Je,et,ke),ct+=ke[0])}Y.textAlign=et,Y.textBaseline="middle",Y.globalAlpha=re.opacity||1;for(var ut=0;ut=0&&(ut=et[Ze],ut.textAlign==="right");)ee(W,Y,ut,re,Et,Ue,Qt,"right"),Ct-=ut.width,Qt-=ut.width,Ze--;for(yt+=(de-(yt-Ne)-(ze-Qt)-Ct)/2;ct<=Ze;)ut=et[ct],ee(W,Y,ut,re,Et,Ue,yt+ut.width/2,"center"),yt+=ut.width,ct++;Ue+=Et}}function q(W,Y,z,re,se){if(z&&Y.textRotation){var de=Y.textOrigin;de==="center"?(re=z.width/2+z.x,se=z.height/2+z.y):de&&(re=de[0]+z.x,se=de[1]+z.y),W.translate(re,se),W.rotate(-Y.textRotation),W.translate(-re,-se)}}function ee(W,Y,z,re,se,de,me,Ce){var Ie=re.rich[z.styleName]||{};Ie.text=z.text;var we=z.textVerticalAlign,Te=de+se/2;we==="top"?Te=de+z.height/2:we==="bottom"&&(Te=de+se-z.height/2),!z.isLineHolder&&ie(Ie)&&H(W,Y,Ie,Ce==="right"?me-z.width:Ce==="center"?me-z.width/2:me,Te-z.height/2,z.width,z.height);var Ge=z.textPadding;Ge&&(me=ae(me,Ce,Ge),Te-=z.height/2-Ge[2]-z.textHeight/2),Ae(Y,"shadowBlur",m(Ie.textShadowBlur,re.textShadowBlur,0)),Ae(Y,"shadowColor",Ie.textShadowColor||re.textShadowColor||"transparent"),Ae(Y,"shadowOffsetX",m(Ie.textShadowOffsetX,re.textShadowOffsetX,0)),Ae(Y,"shadowOffsetY",m(Ie.textShadowOffsetY,re.textShadowOffsetY,0)),Ae(Y,"textAlign",Ce),Ae(Y,"textBaseline","middle"),Ae(Y,"font",z.font||D);var ke=he(Ie.textStroke||re.textStroke,Le),Oe=ge(Ie.textFill||re.textFill),Le=f(Ie.textStrokeWidth,re.textStrokeWidth);ke&&(Ae(Y,"lineWidth",Le),Ae(Y,"strokeStyle",ke),Y.strokeText(z.text,me,Te)),Oe&&(Ae(Y,"fillStyle",Oe),Y.fillText(z.text,me,Te))}function ie(W){return!!(W.textBackgroundColor||W.textBorderWidth&&W.textBorderColor)}function H(W,Y,z,re,se,de,me){var Ce=z.textBackgroundColor,Ie=z.textBorderWidth,we=z.textBorderColor,Te=x(Ce);if(Ae(Y,"shadowBlur",z.textBoxShadowBlur||0),Ae(Y,"shadowColor",z.textBoxShadowColor||"transparent"),Ae(Y,"shadowOffsetX",z.textBoxShadowOffsetX||0),Ae(Y,"shadowOffsetY",z.textBoxShadowOffsetY||0),Te||Ie&&we){Y.beginPath();var Ge=z.textBorderRadius;Ge?v.buildPath(Y,{x:re,y:se,width:de,height:me,r:Ge}):Y.rect(re,se,de,me),Y.closePath()}if(Te)if(Ae(Y,"fillStyle",Ce),z.fillOpacity!=null){var ke=Y.globalAlpha;Y.globalAlpha=z.fillOpacity*z.opacity,Y.fill(),Y.globalAlpha=ke}else Y.fill();else if(y(Ce)){var Oe=Ce.image;Oe=B.createOrUpdateImage(Oe,null,W,le,Ce),Oe&&B.isImageReady(Oe)&&Y.drawImage(Oe,re,se,de,me)}if(Ie&&we)if(Ae(Y,"lineWidth",Ie),Ae(Y,"strokeStyle",we),z.strokeOpacity!=null){var ke=Y.globalAlpha;Y.globalAlpha=z.strokeOpacity*z.opacity,Y.stroke(),Y.globalAlpha=ke}else Y.stroke()}function le(W,Y){Y.image=W}function ue(W,Y,z,re){var se=z.x||0,de=z.y||0,me=z.textAlign,Ce=z.textVerticalAlign;if(re){var Ie=z.textPosition;if(Ie instanceof Array)se=re.x+fe(Ie[0],re.width),de=re.y+fe(Ie[1],re.height);else{var we=Y&&Y.calculateTextPosition?Y.calculateTextPosition(L,z,re):I.calculateTextPosition(L,z,re);se=we.x,de=we.y,me=me||we.textAlign,Ce=Ce||we.textVerticalAlign}var Te=z.textOffset;Te&&(se+=Te[0],de+=Te[1])}return W=W||{},W.baseX=se,W.baseY=de,W.textAlign=me,W.textVerticalAlign=Ce,W}function Ae(W,Y,z){return W[Y]=Q(W,Y,z),W[Y]}function he(W,Y){return W==null||Y<=0||W==="transparent"||W==="none"?null:W.image||W.colorStops?"#000":W}function ge(W){return W==null||W==="none"?null:W.image||W.colorStops?"#000":W}function fe(W,Y){return typeof W=="string"?W.lastIndexOf("%")>=0?parseFloat(W)/100*Y:parseFloat(W):W}function ae(W,Y,z){return Y==="right"?W-z[1]:Y==="center"?W+z[3]/2-z[1]/2:W+z[3]}function U(W,Y){return W!=null&&(W||Y.textBackgroundColor||Y.textBorderWidth&&Y.textBorderColor||Y.textPadding)}o.normalizeTextStyle=k,o.renderText=G,o.getBoxPosition=ue,o.getStroke=he,o.getFill=ge,o.parsePercent=fe,o.needDrawText=U}),BHe=wt((o,A)=>{var f=ite(),m=zh(),C=tte(),E=C.WILL_BE_RESTORED,x=new m,y=function(){};y.prototype={constructor:y,drawRectText:function(v,B){var Q=this.style;B=Q.textRect||B,this.__dirty&&f.normalizeTextStyle(Q,!0);var T=Q.text;if(T!=null&&(T+=""),!!f.needDrawText(T,Q)){v.save();var w=this.transform;Q.transformText?this.setTransform(v):w&&(x.copy(B),x.applyTransform(w),B=x),f.renderText(this,v,T,Q,B,E),v.restore()}}};var I=y;A.exports=I}),Cz=wt((o,A)=>{var f=Bi(),m=o0e(),C=xHe(),E=BHe();function x(I){I=I||{},C.call(this,I);for(var v in I)I.hasOwnProperty(v)&&v!=="style"&&(this[v]=I[v]);this.style=new m(I.style,this),this._rect=null,this.__clipPaths=null}x.prototype={constructor:x,type:"displayable",__dirty:!0,invisible:!1,z:0,z2:0,zlevel:0,draggable:!1,dragging:!1,silent:!1,culling:!1,cursor:"pointer",rectHover:!1,progressive:!1,incremental:!1,globalScaleRatio:1,beforeBrush:function(I){},afterBrush:function(I){},brush:function(I,v){},getBoundingRect:function(){},contain:function(I,v){return this.rectContain(I,v)},traverse:function(I,v){I.call(v,this)},rectContain:function(I,v){var B=this.transformCoordToLocal(I,v),Q=this.getBoundingRect();return Q.contain(B[0],B[1])},dirty:function(){this.__dirty=this.__dirtyText=!0,this._rect=null,this.__zr&&this.__zr.refresh()},animateStyle:function(I){return this.animate("style",I)},attrKV:function(I,v){I!=="style"?C.prototype.attrKV.call(this,I,v):this.style.set(v)},setStyle:function(I,v){return this.style.set(I,v),this.dirty(!1),this},useStyle:function(I){return this.style=new m(I,this),this.dirty(!1),this},calculateTextPosition:null},f.inherits(x,C),f.mixin(x,E);var y=x;A.exports=y}),V4=wt((o,A)=>{var f=Cz(),m=zh(),C=Bi(),E=a0e();function x(I){f.call(this,I)}x.prototype={constructor:x,type:"image",brush:function(I,v){var B=this.style,Q=B.image;B.bind(I,this,v);var T=this._image=E.createOrUpdateImage(Q,this._image,this,this.onload);if(!(!T||!E.isImageReady(T))){var w=B.x||0,S=B.y||0,D=B.width,R=B.height,P=T.width/T.height;if(D==null&&R!=null?D=R*P:R==null&&D!=null?R=D/P:D==null&&R==null&&(D=T.width,R=T.height),this.setTransform(I),B.sWidth&&B.sHeight){var M=B.sx||0,L=B.sy||0;I.drawImage(T,M,L,B.sWidth,B.sHeight,w,S,D,R)}else if(B.sx&&B.sy){var M=B.sx,L=B.sy,F=D-M,k=R-L;I.drawImage(T,M,L,F,k,w,S,D,R)}else I.drawImage(T,w,S,D,R);B.text!=null&&(this.restoreTransform(I),this.drawRectText(I,this.getBoundingRect()))}},getBoundingRect:function(){var I=this.style;return this._rect||(this._rect=new m(I.x||0,I.y||0,I.width||0,I.height||0)),this._rect}},C.inherits(x,f);var y=x;A.exports=y}),M0t=wt((o,A)=>{var f=ete(),m=f.devicePixelRatio,C=Bi(),E=mz(),x=zh(),y=n0e(),I=T0t(),v=_He(),B=V4(),Q=jf(),T=1e5,w=314159,S=.01,D=.001;function R(X){return parseInt(X,10)}function P(X){return X?X.__builtin__?!0:!(typeof X.resize!="function"||typeof X.refresh!="function"):!1}var M=new x(0,0,0,0),L=new x(0,0,0,0);function F(X,q,ee){return M.copy(X.getBoundingRect()),X.transform&&M.applyTransform(X.transform),L.width=q,L.height=ee,!M.intersect(L)}function k(X,q){if(X===q)return!1;if(!X||!q||X.length!==q.length)return!0;for(var ee=0;ee=0&&ee.splice(ie,1),X.__hoverMir=null},clearHover:function(X){for(var q=this._hoverElements,ee=0;ee15)break}}le.__drawIndex=z,le.__drawIndex0&&X>ie[0]){for(ue=0;ueX);ue++);le=ee[ie[ue]]}if(ie.splice(ue+1,0,X),ee[X]=q,!q.virtual)if(le){var he=le.dom;he.nextSibling?Ae.insertBefore(q.dom,he.nextSibling):Ae.appendChild(q.dom)}else Ae.firstChild?Ae.insertBefore(q.dom,Ae.firstChild):Ae.appendChild(q.dom)},eachLayer:function(X,q){var ee=this._zlevelList,ie,H;for(H=0;H0?S:0),this._needsManuallyCompositing),he.__builtin__||E("ZLevel "+Ae+" has been used by unkown layer "+he.id),he!==H&&(he.__used=!0,he.__startIndex!==ee&&(he.__dirty=!0),he.__startIndex=ee,he.incremental?he.__drawIndex=-1:he.__drawIndex=ee,q(ee),H=he),ie.__dirty&&(he.__dirty=!0,he.incremental&&he.__drawIndex<0&&(he.__drawIndex=ee))}q(ee),this.eachBuiltinLayer(function(ge,fe){!ge.__used&&ge.getElementCount()>0&&(ge.__dirty=!0,ge.__startIndex=ge.__endIndex=ge.__drawIndex=0),ge.__dirty&&ge.__drawIndex<0&&(ge.__drawIndex=ge.__startIndex)})},clear:function(){return this.eachBuiltinLayer(this._clearLayer),this},_clearLayer:function(X){X.clear()},setBackgroundColor:function(X){this._backgroundColor=X},configLayer:function(X,q){if(q){var ee=this._layerConfig;ee[X]?C.merge(ee[X],q,!0):ee[X]=q;for(var ie=0;ie{var f=Bi(),m=zb(),C=m.Dispatcher,E=_He(),x=EHe(),y=function(v){v=v||{},this.stage=v.stage||{},this.onframe=v.onframe||function(){},this._clips=[],this._running=!1,this._time,this._pausedTime,this._pauseStart,this._paused=!1,C.call(this)};y.prototype={constructor:y,addClip:function(v){this._clips.push(v)},addAnimator:function(v){v.animation=this;for(var B=v.getClips(),Q=0;Q=0&&this._clips.splice(B,1)},removeAnimator:function(v){for(var B=v.getClips(),Q=0;Q{var f=zb(),m=f.addEventListener,C=f.removeEventListener,E=f.normalizeEvent,x=f.getNativeEvent,y=Bi(),I=jN(),v=jf(),B=300,Q=v.domSupported,T=function(){var Ae=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],he=["touchstart","touchend","touchmove"],ge={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},fe=y.map(Ae,function(ae){var U=ae.replace("mouse","pointer");return ge.hasOwnProperty(U)?U:ae});return{mouse:Ae,touch:he,pointer:fe}}(),w={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]};function S(Ae){return Ae==="mousewheel"&&v.browser.firefox?"DOMMouseScroll":Ae}function D(Ae){var he=Ae.pointerType;return he==="pen"||he==="touch"}function R(Ae){Ae.touching=!0,Ae.touchTimer!=null&&(clearTimeout(Ae.touchTimer),Ae.touchTimer=null),Ae.touchTimer=setTimeout(function(){Ae.touching=!1,Ae.touchTimer=null},700)}function P(Ae){Ae&&(Ae.zrByTouch=!0)}function M(Ae,he){return E(Ae.dom,new F(Ae,he),!0)}function L(Ae,he){for(var ge=he,fe=!1;ge&&ge.nodeType!==9&&!(fe=ge.domBelongToZr||ge!==he&&ge===Ae.painterRoot);)ge=ge.parentNode;return fe}function F(Ae,he){this.type=he.type,this.target=this.currentTarget=Ae.dom,this.pointerType=he.pointerType,this.clientX=he.clientX,this.clientY=he.clientY}var k=F.prototype;k.stopPropagation=k.stopImmediatePropagation=k.preventDefault=y.noop;var N={mousedown:function(Ae){Ae=E(this.dom,Ae),this._mayPointerCapture=[Ae.zrX,Ae.zrY],this.trigger("mousedown",Ae)},mousemove:function(Ae){Ae=E(this.dom,Ae);var he=this._mayPointerCapture;he&&(Ae.zrX!==he[0]||Ae.zrY!==he[1])&&ee(this,!0),this.trigger("mousemove",Ae)},mouseup:function(Ae){Ae=E(this.dom,Ae),ee(this,!1),this.trigger("mouseup",Ae)},mouseout:function(Ae){Ae=E(this.dom,Ae),this._pointerCapturing&&(Ae.zrEventControl="no_globalout");var he=Ae.toElement||Ae.relatedTarget;Ae.zrIsToLocalDOM=L(this,he),this.trigger("mouseout",Ae)},touchstart:function(Ae){Ae=E(this.dom,Ae),P(Ae),this._lastTouchMoment=new Date,this.handler.processGesture(Ae,"start"),N.mousemove.call(this,Ae),N.mousedown.call(this,Ae)},touchmove:function(Ae){Ae=E(this.dom,Ae),P(Ae),this.handler.processGesture(Ae,"change"),N.mousemove.call(this,Ae)},touchend:function(Ae){Ae=E(this.dom,Ae),P(Ae),this.handler.processGesture(Ae,"end"),N.mouseup.call(this,Ae),+new Date-this._lastTouchMoment{var A=pHe(),f=jf(),m=Bi(),C=w0t(),E=D0t(),x=M0t(),y=P0t(),I=R0t();/*!
* ZRender, a high performance 2d drawing library.
*
* Copyright (c) 2013, Baidu Inc.
* All rights reserved.
*
* LICENSE
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
*/var v=!f.canvasSupported,B={canvas:x},Q={},T="4.3.1";function w(L,F){var k=new M(A(),L,F);return Q[k.id]=k,k}function S(L){if(L)L.dispose();else{for(var F in Q)Q.hasOwnProperty(F)&&Q[F].dispose();Q={}}return this}function D(L){return Q[L]}function R(L,F){B[L]=F}function P(L){delete Q[L]}var M=function(L,F,k){k=k||{},this.dom=F,this.id=L;var N=this,G=new E,J=k.renderer;if(v){if(!B.vml)throw new Error("You need to require 'zrender/vml/vml' to support IE8");J="vml"}else(!J||!B[J])&&(J="canvas");var K=new B[J](F,G,k,L);this.storage=G,this.painter=K;var X=!f.node&&!f.worker?new I(K.getViewportRoot(),K.root):null;this.handler=new C(G,K,X,K.root),this.animation=new y({stage:{update:m.bind(this.flush,this)}}),this.animation.start(),this._needsRefresh;var q=G.delFromStorage,ee=G.addToStorage;G.delFromStorage=function(ie){q.call(G,ie),ie&&ie.removeSelfFromZr(N)},G.addToStorage=function(ie){ee.call(G,ie),ie.addSelfToZr(N)}};M.prototype={constructor:M,getId:function(){return this.id},add:function(L){this.storage.addRoot(L),this._needsRefresh=!0},remove:function(L){this.storage.delRoot(L),this._needsRefresh=!0},configLayer:function(L,F){this.painter.configLayer&&this.painter.configLayer(L,F),this._needsRefresh=!0},setBackgroundColor:function(L){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(L),this._needsRefresh=!0},refreshImmediately:function(){this._needsRefresh=this._needsRefreshHover=!1,this.painter.refresh(),this._needsRefresh=this._needsRefreshHover=!1},refresh:function(){this._needsRefresh=!0},flush:function(){var L;this._needsRefresh&&(L=!0,this.refreshImmediately()),this._needsRefreshHover&&(L=!0,this.refreshHoverImmediately()),L&&this.trigger("rendered")},addHover:function(L,F){if(this.painter.addHover){var k=this.painter.addHover(L,F);return this.refreshHover(),k}},removeHover:function(L){this.painter.removeHover&&(this.painter.removeHover(L),this.refreshHover())},clearHover:function(){this.painter.clearHover&&(this.painter.clearHover(),this.refreshHover())},refreshHover:function(){this._needsRefreshHover=!0},refreshHoverImmediately:function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.refreshHover()},resize:function(L){L=L||{},this.painter.resize(L.width,L.height),this.handler.resize()},clearAnimation:function(){this.animation.clear()},getWidth:function(){return this.painter.getWidth()},getHeight:function(){return this.painter.getHeight()},pathToImage:function(L,F){return this.painter.pathToImage(L,F)},setCursorStyle:function(L){this.handler.setCursorStyle(L)},findHover:function(L,F){return this.handler.findHover(L,F)},on:function(L,F,k){this.handler.on(L,F,k)},off:function(L,F){this.handler.off(L,F)},trigger:function(L,F){this.handler.trigger(L,F)},clear:function(){this.storage.delRoot(),this.painter.clear()},dispose:function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,P(this.id)}},o.version=T,o.init=w,o.dispose=S,o.getInstance=D,o.registerPainter=R}),Bl=wt(o=>{var A=Bi(),f=jf(),m=A.each,C=A.isObject,E=A.isArray,x="series\0";function y(X){return X instanceof Array?X:X==null?[]:[X]}function I(X,q,ee){if(X){X[q]=X[q]||{},X.emphasis=X.emphasis||{},X.emphasis[q]=X.emphasis[q]||{};for(var ie=0,H=ee.length;ie=ee.length&&ee.push({option:ie})}}),ee}function w(X){var q=A.createHashMap();m(X,function(ee,ie){var H=ee.exist;H&&q.set(H.id,ee)}),m(X,function(ee,ie){var H=ee.option;A.assert(!H||H.id==null||!q.get(H.id)||q.get(H.id)===ee,"id duplicates: "+(H&&H.id)),H&&H.id!=null&&q.set(H.id,ee),!ee.keyInfo&&(ee.keyInfo={})}),m(X,function(ee,ie){var H=ee.exist,le=ee.option,ue=ee.keyInfo;if(C(le)){if(ue.name=le.name!=null?le.name+"":H?H.name:x+ie,H)ue.id=H.id;else if(le.id!=null)ue.id=le.id+"";else{var Ae=0;do ue.id="\0"+ue.name+"\0"+Ae++;while(q.get(ue.id))}q.set(ue.id,ee)}})}function S(X){var q=X.name;return!!(q&&q.indexOf(x))}function D(X){return C(X)&&X.id&&(X.id+"").indexOf("\0_ec_\0")===0}function R(X,q){var ee={},ie={};return H(X||[],ee),H(q||[],ie,ee),[le(ee),le(ie)];function H(ue,Ae,he){for(var ge=0,fe=ue.length;ge{var A=Bu(),f=A.__DEV__,m=Bi(),C=".",E="___EC__COMPONENT__CONTAINER___";function x(D){var R={main:"",sub:""};return D&&(D=D.split(C),R.main=D[0]||"",R.sub=D[1]||""),R}function y(D){m.assert(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(D),'componentType "'+D+'" illegal')}function I(D,R){D.$constructor=D,D.extend=function(P){var M=this,L=function(){P.$constructor?P.$constructor.apply(this,arguments):M.apply(this,arguments)};return m.extend(L.prototype,P),L.extend=this.extend,L.superCall=Q,L.superApply=T,m.inherits(L,this),L.superClass=M,L}}var v=0;function B(D){var R=["__\0is_clz",v++,Math.random().toFixed(3)].join("_");D.prototype[R]=!0,D.isInstance=function(P){return!!(P&&P[R])}}function Q(D,R){var P=m.slice(arguments,2);return this.superClass.prototype[R].apply(D,P)}function T(D,R,P){return this.superClass.prototype[R].apply(D,P)}function w(D,R){R=R||{};var P={};D.registerClass=function(F,k){if(k){if(y(k),k=x(k),!k.sub)P[k.main]=F;else if(k.sub!==E){var N=M(k);N[k.sub]=F}}return F},D.getClass=function(F,k,N){var G=P[F];if(G&&G[E]&&(G=k?G[k]:null),N&&!G)throw new Error(k?"Component "+F+"."+(k||"")+" not exists. Load it first.":F+".type should be specified.");return G},D.getClassesByMainType=function(F){F=x(F);var k=[],N=P[F.main];return N&&N[E]?m.each(N,function(G,J){J!==E&&k.push(G)}):k.push(N),k},D.hasClass=function(F){return F=x(F),!!P[F.main]},D.getAllClassMainTypes=function(){var F=[];return m.each(P,function(k,N){F.push(N)}),F},D.hasSubTypes=function(F){F=x(F);var k=P[F.main];return k&&k[E]},D.parseClassType=x;function M(F){var k=P[F.main];return(!k||!k[E])&&(k=P[F.main]={},k[E]=!0),k}if(R.registerWhenExtend){var L=D.extend;L&&(D.extend=function(F){var k=L.call(this,F);return D.registerClass(k,F.type)})}return D}function S(D,R){}o.parseClassType=x,o.enableClassExtend=I,o.enableClassCheck=B,o.enableClassManagement=w,o.setReadOnly=S}),z4=wt((o,A)=>{var f=Bi();function m(C){for(var E=0;E=0||I&&f.indexOf(I,Q)<0)){var T=x.getShallow(Q);T!=null&&(v[C[B][0]]=T)}}return v}}A.exports=m}),L0t=wt((o,A)=>{var f=z4(),m=f([["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),C={getLineStyle:function(E){var x=m(this,E);return x.lineDash=this.getLineDash(x.lineWidth),x},getLineDash:function(E){E==null&&(E=1);var x=this.get("type"),y=Math.max(E,2),I=E*4;return x==="solid"||x==null?!1:x==="dashed"?[I,I]:[y,y]}};A.exports=C}),F0t=wt((o,A)=>{var f=z4(),m=f([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),C={getAreaStyle:function(E,x){return m(this,E,x)}};A.exports=C}),KP=wt(o=>{var A=vh(),f=A.create,m=A.distSquare,C=Math.pow,E=Math.sqrt,x=1e-8,y=1e-4,I=E(3),v=1/3,B=f(),Q=f(),T=f();function w(q){return q>-x&&qx||q<-x}function D(q,ee,ie,H,le){var ue=1-le;return ue*ue*(ue*q+3*le*ee)+le*le*(le*H+3*ue*ie)}function R(q,ee,ie,H,le){var ue=1-le;return 3*(((ee-q)*ue+2*(ie-ee)*le)*ue+(H-ie)*le*le)}function P(q,ee,ie,H,le,ue){var Ae=H+3*(ee-ie)-q,he=3*(ie-ee*2+q),ge=3*(ee-q),fe=q-le,ae=he*he-3*Ae*ge,U=he*ge-9*Ae*fe,W=ge*ge-3*he*fe,Y=0;if(w(ae)&&w(U))if(w(he))ue[0]=0;else{var z=-ge/he;z>=0&&z<=1&&(ue[Y++]=z)}else{var re=U*U-4*ae*W;if(w(re)){var se=U/ae,z=-he/Ae+se,de=-se/2;z>=0&&z<=1&&(ue[Y++]=z),de>=0&&de<=1&&(ue[Y++]=de)}else if(re>0){var me=E(re),Ce=ae*he+1.5*Ae*(-U+me),Ie=ae*he+1.5*Ae*(-U-me);Ce<0?Ce=-C(-Ce,v):Ce=C(Ce,v),Ie<0?Ie=-C(-Ie,v):Ie=C(Ie,v);var z=(-he-(Ce+Ie))/(3*Ae);z>=0&&z<=1&&(ue[Y++]=z)}else{var we=(2*ae*he-3*Ae*U)/(2*E(ae*ae*ae)),Te=Math.acos(we)/3,Ge=E(ae),ke=Math.cos(Te),z=(-he-2*Ge*ke)/(3*Ae),de=(-he+Ge*(ke+I*Math.sin(Te)))/(3*Ae),Oe=(-he+Ge*(ke-I*Math.sin(Te)))/(3*Ae);z>=0&&z<=1&&(ue[Y++]=z),de>=0&&de<=1&&(ue[Y++]=de),Oe>=0&&Oe<=1&&(ue[Y++]=Oe)}}return Y}function M(q,ee,ie,H,le){var ue=6*ie-12*ee+6*q,Ae=9*ee+3*H-3*q-9*ie,he=3*ee-3*q,ge=0;if(w(Ae)){if(S(ue)){var fe=-he/ue;fe>=0&&fe<=1&&(le[ge++]=fe)}}else{var ae=ue*ue-4*Ae*he;if(w(ae))le[0]=-ue/(2*Ae);else if(ae>0){var U=E(ae),fe=(-ue+U)/(2*Ae),W=(-ue-U)/(2*Ae);fe>=0&&fe<=1&&(le[ge++]=fe),W>=0&&W<=1&&(le[ge++]=W)}}return ge}function L(q,ee,ie,H,le,ue){var Ae=(ee-q)*le+q,he=(ie-ee)*le+ee,ge=(H-ie)*le+ie,fe=(he-Ae)*le+Ae,ae=(ge-he)*le+he,U=(ae-fe)*le+fe;ue[0]=q,ue[1]=Ae,ue[2]=fe,ue[3]=U,ue[4]=U,ue[5]=ae,ue[6]=ge,ue[7]=H}function F(q,ee,ie,H,le,ue,Ae,he,ge,fe,ae){var U,W=.005,Y=1/0,z,re,se,de;B[0]=ge,B[1]=fe;for(var me=0;me<1;me+=.05)Q[0]=D(q,ie,le,Ae,me),Q[1]=D(ee,H,ue,he,me),se=m(B,Q),se=0&&se=0&&fe<=1&&(le[ge++]=fe)}}else{var ae=Ae*Ae-4*ue*he;if(w(ae)){var fe=-Ae/(2*ue);fe>=0&&fe<=1&&(le[ge++]=fe)}else if(ae>0){var U=E(ae),fe=(-Ae+U)/(2*ue),W=(-Ae-U)/(2*ue);fe>=0&&fe<=1&&(le[ge++]=fe),W>=0&&W<=1&&(le[ge++]=W)}}return ge}function J(q,ee,ie){var H=q+ie-2*ee;return H===0?.5:(q-ee)/H}function K(q,ee,ie,H,le){var ue=(ee-q)*H+q,Ae=(ie-ee)*H+ee,he=(Ae-ue)*H+ue;le[0]=q,le[1]=ue,le[2]=he,le[3]=he,le[4]=Ae,le[5]=ie}function X(q,ee,ie,H,le,ue,Ae,he,ge){var fe,ae=.005,U=1/0;B[0]=Ae,B[1]=he;for(var W=0;W<1;W+=.05){Q[0]=k(q,ie,le,W),Q[1]=k(ee,H,ue,W);var Y=m(B,Q);Y=0&&Y{var A=vh(),f=KP(),m=Math.min,C=Math.max,E=Math.sin,x=Math.cos,y=Math.PI*2,I=A.create(),v=A.create(),B=A.create();function Q(M,L,F){if(M.length!==0){var k=M[0],N=k[0],G=k[0],J=k[1],K=k[1],X;for(X=1;X1e-4){K[0]=M-F,K[1]=L-k,X[0]=M+F,X[1]=L+k;return}if(I[0]=x(N)*F+M,I[1]=E(N)*k+L,v[0]=x(G)*F+M,v[1]=E(G)*k+L,q(K,I,v),ee(X,I,v),N=N%y,N<0&&(N=N+y),G=G%y,G<0&&(G=G+y),N>G&&!J?G+=y:NN&&(B[0]=x(le)*F+M,B[1]=E(le)*k+L,q(K,B,K),ee(X,B,X))}o.fromPoints=Q,o.fromLine=T,o.fromCubic=D,o.fromQuadratic=R,o.fromArc=P}),Y4=wt((o,A)=>{var f=KP(),m=vh(),C=Ez(),E=zh(),x=ete(),y=x.devicePixelRatio,I={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},v=[],B=[],Q=[],T=[],w=Math.min,S=Math.max,D=Math.cos,R=Math.sin,P=Math.sqrt,M=Math.abs,L=typeof Float32Array<"u",F=function(N){this._saveData=!N,this._saveData&&(this.data=[]),this._ctx=null};F.prototype={constructor:F,_xi:0,_yi:0,_x0:0,_y0:0,_ux:0,_uy:0,_len:0,_lineDash:null,_dashOffset:0,_dashIdx:0,_dashSum:0,setScale:function(N,G,J){J=J||0,this._ux=M(J/y/N)||0,this._uy=M(J/y/G)||0},getContext:function(){return this._ctx},beginPath:function(N){return this._ctx=N,N&&N.beginPath(),N&&(this.dpr=N.dpr),this._saveData&&(this._len=0),this._lineDash&&(this._lineDash=null,this._dashOffset=0),this},moveTo:function(N,G){return this.addData(I.M,N,G),this._ctx&&this._ctx.moveTo(N,G),this._x0=N,this._y0=G,this._xi=N,this._yi=G,this},lineTo:function(N,G){var J=M(N-this._xi)>this._ux||M(G-this._yi)>this._uy||this._len<5;return this.addData(I.L,N,G),this._ctx&&J&&(this._needsDash()?this._dashedLineTo(N,G):this._ctx.lineTo(N,G)),J&&(this._xi=N,this._yi=G),this},bezierCurveTo:function(N,G,J,K,X,q){return this.addData(I.C,N,G,J,K,X,q),this._ctx&&(this._needsDash()?this._dashedBezierTo(N,G,J,K,X,q):this._ctx.bezierCurveTo(N,G,J,K,X,q)),this._xi=X,this._yi=q,this},quadraticCurveTo:function(N,G,J,K){return this.addData(I.Q,N,G,J,K),this._ctx&&(this._needsDash()?this._dashedQuadraticTo(N,G,J,K):this._ctx.quadraticCurveTo(N,G,J,K)),this._xi=J,this._yi=K,this},arc:function(N,G,J,K,X,q){return this.addData(I.A,N,G,J,J,K,X-K,0,q?0:1),this._ctx&&this._ctx.arc(N,G,J,K,X,q),this._xi=D(X)*J+N,this._yi=R(X)*J+G,this},arcTo:function(N,G,J,K,X){return this._ctx&&this._ctx.arcTo(N,G,J,K,X),this},rect:function(N,G,J,K){return this._ctx&&this._ctx.rect(N,G,J,K),this.addData(I.R,N,G,J,K),this},closePath:function(){this.addData(I.Z);var N=this._ctx,G=this._x0,J=this._y0;return N&&(this._needsDash()&&this._dashedLineTo(G,J),N.closePath()),this._xi=G,this._yi=J,this},fill:function(N){N&&N.fill(),this.toStatic()},stroke:function(N){N&&N.stroke(),this.toStatic()},setLineDash:function(N){if(N instanceof Array){this._lineDash=N,this._dashIdx=0;for(var G=0,J=0;JG.length&&(this._expandData(),G=this.data);for(var J=0;J0&&Ae<=N||H<0&&Ae>=N||H===0&&(le>0&&he<=G||le<0&&he>=G);)ae=this._dashIdx,ge=X[ae],Ae+=H*ge,he+=le*ge,this._dashIdx=(ae+1)%fe,!(H>0&&Aeee||le>0&&heie)&&q[ae%2?"moveTo":"lineTo"](H>=0?w(Ae,N):S(Ae,N),le>=0?w(he,G):S(he,G));H=Ae-N,le=he-G,this._dashOffset=-P(H*H+le*le)},_dashedBezierTo:function(N,G,J,K,X,q){var ee=this._dashSum,ie=this._dashOffset,H=this._lineDash,le=this._ctx,ue=this._xi,Ae=this._yi,he,ge,fe,ae=f.cubicAt,U=0,W=this._dashIdx,Y=H.length,z,re,se=0;for(ie<0&&(ie=ee+ie),ie%=ee,he=0;he<1;he+=.1)ge=ae(ue,N,J,X,he+.1)-ae(ue,N,J,X,he),fe=ae(Ae,G,K,q,he+.1)-ae(Ae,G,K,q,he),U+=P(ge*ge+fe*fe);for(;Wie));W++);for(he=(se-ie)/U;he<=1;)z=ae(ue,N,J,X,he),re=ae(Ae,G,K,q,he),W%2?le.moveTo(z,re):le.lineTo(z,re),he+=H[W]/U,W=(W+1)%Y;W%2!==0&&le.lineTo(X,q),ge=X-z,fe=q-re,this._dashOffset=-P(ge*ge+fe*fe)},_dashedQuadraticTo:function(N,G,J,K){var X=J,q=K;J=(J+2*N)/3,K=(K+2*G)/3,N=(this._xi+2*N)/3,G=(this._yi+2*G)/3,this._dashedBezierTo(N,G,J,K,X,q)},toStatic:function(){var N=this.data;N instanceof Array&&(N.length=this._len,L&&(this.data=new Float32Array(N)))},getBoundingRect:function(){v[0]=v[1]=Q[0]=Q[1]=Number.MAX_VALUE,B[0]=B[1]=T[0]=T[1]=-Number.MAX_VALUE;for(var N=this.data,G=0,J=0,K=0,X=0,q=0;qH||M(ie-q)>le||Ae===ue-1)&&(N.lineTo(ee,ie),X=ee,q=ie);break;case I.C:N.bezierCurveTo(G[Ae++],G[Ae++],G[Ae++],G[Ae++],G[Ae++],G[Ae++]),X=G[Ae-2],q=G[Ae-1];break;case I.Q:N.quadraticCurveTo(G[Ae++],G[Ae++],G[Ae++],G[Ae++]),X=G[Ae-2],q=G[Ae-1];break;case I.A:var ge=G[Ae++],fe=G[Ae++],ae=G[Ae++],U=G[Ae++],W=G[Ae++],Y=G[Ae++],z=G[Ae++],re=G[Ae++],se=ae>U?ae:U,de=ae>U?1:ae/U,me=ae>U?U/ae:1,Ce=Math.abs(ae-U)>.001,Ie=W+Y;Ce?(N.translate(ge,fe),N.rotate(z),N.scale(de,me),N.arc(0,0,se,W,Ie,1-re),N.scale(1/de,1/me),N.rotate(-z),N.translate(-ge,-fe)):N.arc(ge,fe,se,W,Ie,1-re),Ae===1&&(J=D(W)*ae+ge,K=R(W)*U+fe),X=D(Ie)*ae+ge,q=R(Ie)*U+fe;break;case I.R:J=X=G[Ae],K=q=G[Ae+1],N.rect(G[Ae++],G[Ae++],G[Ae++],G[Ae++]);break;case I.Z:N.closePath(),X=J,q=K}}}},F.CMD=I;var k=F;A.exports=k}),wHe=wt(o=>{function A(f,m,C,E,x,y,I){if(x===0)return!1;var v=x,B=0,Q=f;if(I>m+v&&I>E+v||If+v&&y>C+v||y{var A=KP();function f(m,C,E,x,y,I,v,B,Q,T,w){if(Q===0)return!1;var S=Q;if(w>C+S&&w>x+S&&w>I+S&&w>B+S||wm+S&&T>E+S&&T>y+S&&T>v+S||T{var A=KP(),f=A.quadraticProjectPoint;function m(C,E,x,y,I,v,B,Q,T){if(B===0)return!1;var w=B;if(T>E+w&&T>y+w&&T>v+w||TC+w&&Q>x+w&&Q>I+w||Q{var A=Math.PI*2;function f(m){return m%=A,m<0&&(m+=A),m}o.normalizeRadian=f}),k0t=wt(o=>{var A=QHe(),f=A.normalizeRadian,m=Math.PI*2;function C(E,x,y,I,v,B,Q,T,w){if(Q===0)return!1;var S=Q;T-=E,w-=x;var D=Math.sqrt(T*T+w*w);if(D-S>y||D+Sv&&(v+=m);var P=Math.atan2(w,T);return P<0&&(P+=m),P>=I&&P<=v||P+m>=I&&P+m<=v}o.containStroke=C}),SHe=wt((o,A)=>{function f(m,C,E,x,y,I){if(I>C&&I>x||Iy?v:0}A.exports=f}),O0t=wt(o=>{var A=Y4(),f=wHe(),m=N0t(),C=bHe(),E=k0t(),x=QHe(),y=x.normalizeRadian,I=KP(),v=SHe(),B=A.CMD,Q=Math.PI*2,T=1e-4;function w(G,J){return Math.abs(G-J)J&&ue>X&&ue>ee&&ue>H||ue1&&R(),fe=I.cubicAt(J,X,ee,H,D[0]),ge>1&&(ae=I.cubicAt(J,X,ee,H,D[1]))),ge===2?WJ&&H>X&&H>ee||H=0&&ue<=1){for(var Ae=0,he=I.quadraticAt(J,X,ee,ue),ge=0;geK||H<-K)return 0;var le=Math.sqrt(K*K-H*H);S[0]=-le,S[1]=le;var ue=Math.abs(X-q);if(ue<1e-4)return 0;if(ue%Q<1e-4){X=0,q=Q;var Ae=ee?1:-1;return ie>=S[0]+G&&ie<=S[1]+G?Ae:0}if(ee){var le=X;X=y(q),q=y(le)}else X=y(X),q=y(q);X>q&&(q+=Q);for(var he=0,ge=0;ge<2;ge++){var fe=S[ge];if(fe+G>ie){var ae=Math.atan2(H,fe),Ae=ee?1:-1;ae<0&&(ae=Q+ae),(ae>=X&&ae<=q||ae+Q>=X&&ae+Q<=q)&&(ae>Math.PI/2&&ae1&&(K||(ee+=v(ie,H,le,ue,X,q))),Ae===1&&(ie=G[Ae],H=G[Ae+1],le=ie,ue=H),he){case B.M:le=G[Ae++],ue=G[Ae++],ie=le,H=ue;break;case B.L:if(K){if(f.containStroke(ie,H,G[Ae],G[Ae+1],J,X,q))return!0}else ee+=v(ie,H,G[Ae],G[Ae+1],X,q)||0;ie=G[Ae++],H=G[Ae++];break;case B.C:if(K){if(m.containStroke(ie,H,G[Ae++],G[Ae++],G[Ae++],G[Ae++],G[Ae],G[Ae+1],J,X,q))return!0}else ee+=P(ie,H,G[Ae++],G[Ae++],G[Ae++],G[Ae++],G[Ae],G[Ae+1],X,q)||0;ie=G[Ae++],H=G[Ae++];break;case B.Q:if(K){if(C.containStroke(ie,H,G[Ae++],G[Ae++],G[Ae],G[Ae+1],J,X,q))return!0}else ee+=M(ie,H,G[Ae++],G[Ae++],G[Ae],G[Ae+1],X,q)||0;ie=G[Ae++],H=G[Ae++];break;case B.A:var ge=G[Ae++],fe=G[Ae++],ae=G[Ae++],U=G[Ae++],W=G[Ae++],Y=G[Ae++];Ae+=1;var z=1-G[Ae++],me=Math.cos(W)*ae+ge,Ce=Math.sin(W)*U+fe;Ae>1?ee+=v(ie,H,me,Ce,X,q):(le=me,ue=Ce);var re=(X-ge)*U/ae+ge;if(K){if(E.containStroke(ge,fe,U,W,W+Y,z,J,re,q))return!0}else ee+=L(ge,fe,U,W,W+Y,z,re,q);ie=Math.cos(W+Y)*ae+ge,H=Math.sin(W+Y)*U+fe;break;case B.R:le=ie=G[Ae++],ue=H=G[Ae++];var se=G[Ae++],de=G[Ae++],me=le+se,Ce=ue+de;if(K){if(f.containStroke(le,ue,me,ue,J,X,q)||f.containStroke(me,ue,me,Ce,J,X,q)||f.containStroke(me,Ce,le,Ce,J,X,q)||f.containStroke(le,Ce,le,ue,J,X,q))return!0}else ee+=v(me,ue,me,Ce,X,q),ee+=v(le,Ce,le,ue,X,q);break;case B.Z:if(K){if(f.containStroke(ie,H,le,ue,J,X,q))return!0}else ee+=v(ie,H,le,ue,X,q);ie=le,H=ue;break}}return!K&&!w(H,ue)&&(ee+=v(ie,H,le,ue,X,q)||0),ee!==0}function k(G,J,K){return F(G,0,!1,J,K)}function N(G,J,K,X){return F(G,J,!0,K,X)}o.contain=k,o.containStroke=N}),If=wt((o,A)=>{var f=Cz(),m=Bi(),C=Y4(),E=O0t(),x=IHe(),y=x.prototype.getCanvasPattern,I=Math.abs,v=new C(!0);function B(T){f.call(this,T),this.path=null}B.prototype={constructor:B,type:"path",__dirtyPath:!0,strokeContainThreshold:5,segmentIgnoreThreshold:0,subPixelOptimize:!1,brush:function(T,w){var S=this.style,D=this.path||v,R=S.hasStroke(),P=S.hasFill(),M=S.fill,L=S.stroke,F=P&&!!M.colorStops,k=R&&!!L.colorStops,N=P&&!!M.image,G=R&&!!L.image;if(S.bind(T,this,w),this.setTransform(T),this.__dirty){var J;F&&(J=J||this.getBoundingRect(),this._fillGradient=S.getGradient(T,M,J)),k&&(J=J||this.getBoundingRect(),this._strokeGradient=S.getGradient(T,L,J))}F?T.fillStyle=this._fillGradient:N&&(T.fillStyle=y.call(M,T)),k?T.strokeStyle=this._strokeGradient:G&&(T.strokeStyle=y.call(L,T));var K=S.lineDash,X=S.lineDashOffset,q=!!T.setLineDash,ee=this.getGlobalScale();if(D.setScale(ee[0],ee[1],this.segmentIgnoreThreshold),this.__dirtyPath||K&&!q&&R?(D.beginPath(T),K&&!q&&(D.setLineDash(K),D.setLineDashOffset(X)),this.buildPath(D,this.shape,!1),this.path&&(this.__dirtyPath=!1)):(T.beginPath(),this.path.rebuildPath(T)),P)if(S.fillOpacity!=null){var ie=T.globalAlpha;T.globalAlpha=S.fillOpacity*S.opacity,D.fill(T),T.globalAlpha=ie}else D.fill(T);if(K&&q&&(T.setLineDash(K),T.lineDashOffset=X),R)if(S.strokeOpacity!=null){var ie=T.globalAlpha;T.globalAlpha=S.strokeOpacity*S.opacity,D.stroke(T),T.globalAlpha=ie}else D.stroke(T);K&&q&&T.setLineDash([]),S.text!=null&&(this.restoreTransform(T),this.drawRectText(T,this.getBoundingRect()))},buildPath:function(T,w,S){},createPathProxy:function(){this.path=new C},getBoundingRect:function(){var T=this._rect,w=this.style,S=!T;if(S){var D=this.path;D||(D=this.path=new C),this.__dirtyPath&&(D.beginPath(),this.buildPath(D,this.shape,!1)),T=D.getBoundingRect()}if(this._rect=T,w.hasStroke()){var R=this._rectWithStroke||(this._rectWithStroke=T.clone());if(this.__dirty||S){R.copy(T);var P=w.lineWidth,M=w.strokeNoScale?this.getLineScale():1;w.hasFill()||(P=Math.max(P,this.strokeContainThreshold||4)),M>1e-10&&(R.width+=P/M,R.height+=P/M,R.x-=P/M/2,R.y-=P/M/2)}return R}return T},contain:function(T,w){var S=this.transformCoordToLocal(T,w),D=this.getBoundingRect(),R=this.style;if(T=S[0],w=S[1],D.contain(T,w)){var P=this.path.data;if(R.hasStroke()){var M=R.lineWidth,L=R.strokeNoScale?this.getLineScale():1;if(L>1e-10&&(R.hasFill()||(M=Math.max(M,this.strokeContainThreshold)),E.containStroke(P,M/L,T,w)))return!0}if(R.hasFill())return E.contain(P,T,w)}return!1},dirty:function(T){T==null&&(T=!0),T&&(this.__dirtyPath=T,this._rect=null),this.__dirty=this.__dirtyText=!0,this.__zr&&this.__zr.refresh(),this.__clipTarget&&this.__clipTarget.dirty()},animateShape:function(T){return this.animate("shape",T)},attrKV:function(T,w){T==="shape"?(this.setShape(w),this.__dirtyPath=!0,this._rect=null):f.prototype.attrKV.call(this,T,w)},setShape:function(T,w){var S=this.shape;if(S){if(m.isObject(T))for(var D in T)T.hasOwnProperty(D)&&(S[D]=T[D]);else S[T]=w;this.dirty(!0)}return this},getLineScale:function(){var T=this.transform;return T&&I(T[0]-1)>1e-10&&I(T[3]-1)>1e-10?Math.sqrt(I(T[0]*T[3]-T[2]*T[1])):1}},B.extend=function(T){var w=function(D){B.call(this,D),T.style&&this.style.extendFrom(T.style,!1);var R=T.shape;if(R){this.shape=this.shape||{};var P=this.shape;for(var M in R)!P.hasOwnProperty(M)&&R.hasOwnProperty(M)&&(P[M]=R[M])}T.init&&T.init.call(this,D)};m.inherits(w,B);for(var S in T)S!=="style"&&S!=="shape"&&(w.prototype[S]=T[S]);return w},m.inherits(B,f);var Q=B;A.exports=Q}),U0t=wt((o,A)=>{var f=Y4(),m=vh(),C=m.applyTransform,E=f.CMD,x=[[],[],[]],y=Math.sqrt,I=Math.atan2;function v(B,Q){var T=B.data,w,S,D,R,P,M,L=E.M,F=E.C,k=E.L,N=E.R,G=E.A,J=E.Q;for(D=0,R=0;D{var A=If(),f=Y4(),m=U0t(),C=Math.sqrt,E=Math.sin,x=Math.cos,y=Math.PI,I=function(L){return Math.sqrt(L[0]*L[0]+L[1]*L[1])},v=function(L,F){return(L[0]*F[0]+L[1]*F[1])/(I(L)*I(F))},B=function(L,F){return(L[0]*F[1]1&&(K*=C(Ae),X*=C(Ae));var he=(G===J?-1:1)*C((K*K*(X*X)-K*K*(ue*ue)-X*X*(le*le))/(K*K*(ue*ue)+X*X*(le*le)))||0,ge=he*K*ue/X,fe=he*-X*le/K,ae=(L+k)/2+x(H)*ge-E(H)*fe,U=(F+N)/2+E(H)*ge+x(H)*fe,W=B([1,0],[(le-ge)/K,(ue-fe)/X]),Y=[(le-ge)/K,(ue-fe)/X],z=[(-1*le-ge)/K,(-1*ue-fe)/X],re=B(Y,z);v(Y,z)<=-1&&(re=y),v(Y,z)>=1&&(re=0),J===0&&re>0&&(re=re-2*y),J===1&&re<0&&(re=re+2*y),ie.addData(ee,ae,U,K,X,W,re,H,J)}var T=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,w=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function S(L){if(!L)return new f;for(var F=0,k=0,N=F,G=k,J,K=new f,X=f.CMD,q=L.match(T),ee=0;ee{var f=Cz(),m=Bi(),C=yI(),E=ite(),x=tte(),y=x.ContextCachedBy,I=function(B){f.call(this,B)};I.prototype={constructor:I,type:"text",brush:function(B,Q){var T=this.style;this.__dirty&&E.normalizeTextStyle(T,!0),T.fill=T.stroke=T.shadowBlur=T.shadowColor=T.shadowOffsetX=T.shadowOffsetY=null;var w=T.text;if(w!=null&&(w+=""),!E.needDrawText(w,T)){B.__attrCachedBy=y.NONE;return}this.setTransform(B),E.renderText(this,B,w,T,null,Q),this.restoreTransform(B)},getBoundingRect:function(){var B=this.style;if(this.__dirty&&E.normalizeTextStyle(B,!0),!this._rect){var Q=B.text;Q!=null?Q+="":Q="";var T=C.getBoundingRect(B.text+"",B.font,B.textAlign,B.textVerticalAlign,B.textPadding,B.textLineHeight,B.rich);if(T.x+=B.x||0,T.y+=B.y||0,E.getStroke(B.textStroke,B.textStrokeWidth)){var w=B.textStrokeWidth;T.x-=w/2,T.y-=w/2,T.width+=w,T.height+=w}this._rect=T}return this._rect}},m.inherits(I,f);var v=I;A.exports=v}),THe=wt((o,A)=>{var f=If(),m=f.extend({type:"circle",shape:{cx:0,cy:0,r:0},buildPath:function(C,E,x){x&&C.moveTo(E.cx+E.r,E.cy),C.arc(E.cx,E.cy,E.r,0,Math.PI*2,!0)}});A.exports=m}),MHe=wt((o,A)=>{var f=jf(),m=[["shadowBlur",0],["shadowColor","#000"],["shadowOffsetX",0],["shadowOffsetY",0]];function C(E){return f.browser.ie&&f.browser.version>=11?function(){var x=this.__clipPaths,y=this.style,I;if(x)for(var v=0;v{var f=If(),m=MHe(),C=f.extend({type:"sector",shape:{cx:0,cy:0,r0:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},brush:m(f.prototype.brush),buildPath:function(E,x){var y=x.cx,I=x.cy,v=Math.max(x.r0||0,0),B=Math.max(x.r,0),Q=x.startAngle,T=x.endAngle,w=x.clockwise,S=Math.cos(Q),D=Math.sin(Q);E.moveTo(S*v+y,D*v+I),E.lineTo(S*B+y,D*B+I),E.arc(y,I,B,Q,T,!w),E.lineTo(Math.cos(T)*v+y,Math.sin(T)*v+I),v!==0&&E.arc(y,I,v,T,Q,w),E.closePath()}});A.exports=C}),H0t=wt((o,A)=>{var f=If(),m=f.extend({type:"ring",shape:{cx:0,cy:0,r:0,r0:0},buildPath:function(C,E){var x=E.cx,y=E.cy,I=Math.PI*2;C.moveTo(x+E.r,y),C.arc(x,y,E.r,0,I,!1),C.moveTo(x+E.r0,y),C.arc(x,y,E.r0,0,I,!0)}});A.exports=m}),V0t=wt((o,A)=>{var f=vh(),m=f.distance;function C(x,y,I,v,B,Q,T){var w=(I-x)*.5,S=(v-y)*.5;return(2*(y-I)+w+S)*T+(-3*(y-I)-2*w-S)*Q+w*B+y}function E(x,y){for(var I=x.length,v=[],B=0,Q=1;QI-2?I-1:S+1],L=x[S>I-3?I-1:S+2]);var F=D*D,k=D*F;v.push([C(R[0],P[0],M[0],L[0],D,F,k),C(R[1],P[1],M[1],L[1],D,F,k)])}return v}A.exports=E}),z0t=wt((o,A)=>{var f=vh(),m=f.min,C=f.max,E=f.scale,x=f.distance,y=f.add,I=f.clone,v=f.sub;function B(Q,T,w,S){var D=[],R=[],P=[],M=[],L,F,k,N;if(S){k=[1/0,1/0],N=[-1/0,-1/0];for(var G=0,J=Q.length;G{var A=V0t(),f=z0t();function m(C,E,x){var y=E.points,I=E.smooth;if(y&&y.length>=2){if(I&&I!=="spline"){var v=f(y,I,x,E.smoothConstraint);C.moveTo(y[0][0],y[0][1]);for(var B=y.length,Q=0;Q<(x?B:B-1);Q++){var T=v[Q*2],w=v[Q*2+1],S=y[(Q+1)%B];C.bezierCurveTo(T[0],T[1],w[0],w[1],S[0],S[1])}}else{I==="spline"&&(y=A(y,x)),C.moveTo(y[0][0],y[0][1]);for(var Q=1,D=y.length;Q{var f=If(),m=PHe(),C=f.extend({type:"polygon",shape:{points:null,smooth:!1,smoothConstraint:null},buildPath:function(E,x){m.buildPath(E,x,!0)}});A.exports=C}),LHe=wt((o,A)=>{var f=If(),m=PHe(),C=f.extend({type:"polyline",shape:{points:null,smooth:!1,smoothConstraint:null},style:{stroke:"#000",fill:null},buildPath:function(E,x){m.buildPath(E,x,!1)}});A.exports=C}),s0e=wt(o=>{var A=Math.round;function f(E,x,y){if(x){var I=x.x1,v=x.x2,B=x.y1,Q=x.y2;E.x1=I,E.x2=v,E.y1=B,E.y2=Q;var T=y&&y.lineWidth;T&&(A(I*2)===A(v*2)&&(E.x1=E.x2=C(I,T,!0)),A(B*2)===A(Q*2)&&(E.y1=E.y2=C(B,T,!0)))}}function m(E,x,y){if(x){var I=x.x,v=x.y,B=x.width,Q=x.height;E.x=I,E.y=v,E.width=B,E.height=Q;var T=y&&y.lineWidth;T&&(E.x=C(I,T,!0),E.y=C(v,T,!0),E.width=Math.max(C(I+B,T,!1)-E.x,B===0?0:1),E.height=Math.max(C(v+Q,T,!1)-E.y,Q===0?0:1))}}function C(E,x,y){if(!x)return E;var I=A(E*2);return(I+A(x))%2===0?I/2:(I+(y?1:-1))/2}o.subPixelOptimizeLine=f,o.subPixelOptimizeRect=m,o.subPixelOptimize=C}),l0e=wt((o,A)=>{var f=If(),m=vHe(),C=s0e(),E=C.subPixelOptimizeRect,x={},y=f.extend({type:"rect",shape:{r:0,x:0,y:0,width:0,height:0},buildPath:function(I,v){var B,Q,T,w;this.subPixelOptimize?(E(x,v,this.style),B=x.x,Q=x.y,T=x.width,w=x.height,x.r=v.r,v=x):(B=v.x,Q=v.y,T=v.width,w=v.height),v.r?m.buildPath(I,v):I.rect(B,Q,T,w),I.closePath()}});A.exports=y}),FHe=wt((o,A)=>{var f=If(),m=s0e(),C=m.subPixelOptimizeLine,E={},x=f.extend({type:"line",shape:{x1:0,y1:0,x2:0,y2:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(y,I){var v,B,Q,T;this.subPixelOptimize?(C(E,I,this.style),v=E.x1,B=E.y1,Q=E.x2,T=E.y2):(v=I.x1,B=I.y1,Q=I.x2,T=I.y2);var w=I.percent;w!==0&&(y.moveTo(v,B),w<1&&(Q=v*(1-w)+Q*w,T=B*(1-w)+T*w),y.lineTo(Q,T))},pointAt:function(y){var I=this.shape;return[I.x1*(1-y)+I.x2*y,I.y1*(1-y)+I.y2*y]}});A.exports=x}),Y0t=wt((o,A)=>{var f=If(),m=vh(),C=KP(),E=C.quadraticSubdivide,x=C.cubicSubdivide,y=C.quadraticAt,I=C.cubicAt,v=C.quadraticDerivativeAt,B=C.cubicDerivativeAt,Q=[];function T(S,D,R){var P=S.cpx2,M=S.cpy2;return P===null||M===null?[(R?B:I)(S.x1,S.cpx1,S.cpx2,S.x2,D),(R?B:I)(S.y1,S.cpy1,S.cpy2,S.y2,D)]:[(R?v:y)(S.x1,S.cpx1,S.x2,D),(R?v:y)(S.y1,S.cpy1,S.y2,D)]}var w=f.extend({type:"bezier-curve",shape:{x1:0,y1:0,x2:0,y2:0,cpx1:0,cpy1:0,percent:1},style:{stroke:"#000",fill:null},buildPath:function(S,D){var R=D.x1,P=D.y1,M=D.x2,L=D.y2,F=D.cpx1,k=D.cpy1,N=D.cpx2,G=D.cpy2,J=D.percent;J!==0&&(S.moveTo(R,P),N==null||G==null?(J<1&&(E(R,F,M,J,Q),F=Q[1],M=Q[2],E(P,k,L,J,Q),k=Q[1],L=Q[2]),S.quadraticCurveTo(F,k,M,L)):(J<1&&(x(R,F,N,M,J,Q),F=Q[1],N=Q[2],M=Q[3],x(P,k,G,L,J,Q),k=Q[1],G=Q[2],L=Q[3]),S.bezierCurveTo(F,k,N,G,M,L)))},pointAt:function(S){return T(this.shape,S,!1)},tangentAt:function(S){var D=T(this.shape,S,!0);return m.normalize(D,D)}});A.exports=w}),J0t=wt((o,A)=>{var f=If(),m=f.extend({type:"arc",shape:{cx:0,cy:0,r:0,startAngle:0,endAngle:Math.PI*2,clockwise:!0},style:{stroke:"#000",fill:null},buildPath:function(C,E){var x=E.cx,y=E.cy,I=Math.max(E.r,0),v=E.startAngle,B=E.endAngle,Q=E.clockwise,T=Math.cos(v),w=Math.sin(v);C.moveTo(T*I+x,w*I+y),C.arc(x,y,I,v,B,!Q)}});A.exports=m}),K0t=wt((o,A)=>{var f=If(),m=f.extend({type:"compound",shape:{paths:null},_updatePathDirty:function(){for(var C=this.__dirtyPath,E=this.shape.paths,x=0;x{var f=function(C){this.colorStops=C||[]};f.prototype={constructor:f,addColorStop:function(C,E){this.colorStops.push({offset:C,color:E})}};var m=f;A.exports=m}),u0e=wt((o,A)=>{var f=Bi(),m=nte(),C=function(x,y,I,v,B,Q){this.x=x??0,this.y=y??0,this.x2=I??1,this.y2=v??0,this.type="linear",this.global=Q||!1,m.call(this,B)};C.prototype={constructor:C},f.inherits(C,m);var E=C;A.exports=E}),W0t=wt((o,A)=>{var f=Bi(),m=nte(),C=function(x,y,I,v,B){this.x=x??.5,this.y=y??.5,this.r=I??.5,this.type="radial",this.global=B||!1,m.call(this,v)};C.prototype={constructor:C},f.inherits(C,m);var E=C;A.exports=E}),A0e=wt((o,A)=>{var f=Bi(),m=f.inherits,C=Cz(),E=zh();function x(v){C.call(this,v),this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.notClear=!0}x.prototype.incremental=!0,x.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.dirty(),this.notClear=!1},x.prototype.addDisplayable=function(v,B){B?this._temporaryDisplayables.push(v):this._displayables.push(v),this.dirty()},x.prototype.addDisplayables=function(v,B){B=B||!1;for(var Q=0;Q{var A=Bi(),f=DHe(),m=Yb(),C=xE(),E=vh(),x=If(),y=$ee(),I=V4();o.Image=I;var v=qN();o.Group=v;var B=XN();o.Text=B;var Q=THe();o.Circle=Q;var T=G0t();o.Sector=T;var w=H0t();o.Ring=w;var S=RHe();o.Polygon=S;var D=LHe();o.Polyline=D;var R=l0e();o.Rect=R;var P=FHe();o.Line=P;var M=Y0t();o.BezierCurve=M;var L=J0t();o.Arc=L;var F=K0t();o.CompoundPath=F;var k=u0e();o.LinearGradient=k;var N=W0t();o.RadialGradient=N;var G=zh();o.BoundingRect=G;var J=A0e();o.IncrementalDisplayable=J;var K=s0e(),X=Math.max,q=Math.min,ee={},ie=1,H={color:"textFill",textBorderColor:"textStroke",textBorderWidth:"textStrokeWidth"},le="emphasis",ue="normal",Ae=1,he={},ge={};function fe(_t){return x.extend(_t)}function ae(_t,Mt){return f.extendFromString(_t,Mt)}function U(_t,Mt){ge[_t]=Mt}function W(_t){if(ge.hasOwnProperty(_t))return ge[_t]}function Y(_t,Mt,Ht,ti){var Wi=f.createFromString(_t,Mt);return Ht&&(ti==="center"&&(Ht=re(Ht,Wi.getBoundingRect())),de(Wi,Ht)),Wi}function z(_t,Mt,Ht){var ti=new I({style:{image:_t,x:Mt.x,y:Mt.y,width:Mt.width,height:Mt.height},onload:function(Wi){if(Ht==="center"){var yi={width:Wi.width,height:Wi.height};ti.setStyle(re(Mt,yi))}}});return ti}function re(_t,Mt){var Ht=Mt.width/Mt.height,ti=_t.height*Ht,Wi;ti<=_t.width?Wi=_t.height:(ti=_t.width,Wi=ti/Ht);var yi=_t.x+_t.width/2,uo=_t.y+_t.height/2;return{x:yi-ti/2,y:uo-Wi/2,width:ti,height:Wi}}var se=f.mergePath;function de(_t,Mt){if(_t.applyTransform){var Ht=_t.getBoundingRect(),ti=Ht.calculateTransform(Mt);_t.applyTransform(ti)}}function me(_t){return K.subPixelOptimizeLine(_t.shape,_t.shape,_t.style),_t}function Ce(_t){return K.subPixelOptimizeRect(_t.shape,_t.shape,_t.style),_t}var Ie=K.subPixelOptimize;function we(_t){return _t!=null&&_t!=="none"}var Te=A.createHashMap(),Ge=0;function ke(_t){if(typeof _t!="string")return _t;var Mt=Te.get(_t);return Mt||(Mt=m.lift(_t,-.1),Ge<1e4&&(Te.set(_t,Mt),Ge++)),Mt}function Oe(_t){if(_t.__hoverStlDirty){_t.__hoverStlDirty=!1;var Mt=_t.__hoverStl;if(!Mt){_t.__cachedNormalStl=_t.__cachedNormalZ2=null;return}var Ht=_t.__cachedNormalStl={};_t.__cachedNormalZ2=_t.z2;var ti=_t.style;for(var Wi in Mt)Mt[Wi]!=null&&(Ht[Wi]=ti[Wi]);Ht.fill=ti.fill,Ht.stroke=ti.stroke}}function Le(_t){var Mt=_t.__hoverStl;if(!(!Mt||_t.__highlighted)){var Ht=_t.__zr,ti=_t.useHoverLayer&&Ht&&Ht.painter.type==="canvas";if(_t.__highlighted=ti?"layer":"plain",!(_t.isGroup||!Ht&&_t.useHoverLayer)){var Wi=_t,yi=_t.style;ti&&(Wi=Ht.addHover(_t),yi=Wi.style),We(yi),ti||Oe(Wi),yi.extendFrom(Mt),be(yi,Mt,"fill"),be(yi,Mt,"stroke"),ve(yi),ti||(_t.dirty(!1),_t.z2+=ie)}}}function be(_t,Mt,Ht){!we(Mt[Ht])&&we(_t[Ht])&&(_t[Ht]=ke(_t[Ht]))}function Ne(_t){var Mt=_t.__highlighted;if(Mt&&(_t.__highlighted=!1,!_t.isGroup))if(Mt==="layer")_t.__zr&&_t.__zr.removeHover(_t);else{var Ht=_t.style,ti=_t.__cachedNormalStl;ti&&(We(Ht),_t.setStyle(ti),ve(Ht));var Wi=_t.__cachedNormalZ2;Wi!=null&&_t.z2-Wi===ie&&(_t.z2=Wi)}}function Ue(_t,Mt,Ht){var ti=ue,Wi=ue,yi;_t.__highlighted&&(ti=le,yi=!0),Mt(_t,Ht),_t.__highlighted&&(Wi=le,yi=!0),_t.isGroup&&_t.traverse(function(uo){!uo.isGroup&&Mt(uo,Ht)}),yi&&_t.__highDownOnUpdate&&_t.__highDownOnUpdate(ti,Wi)}function ze(_t,Mt){Mt=_t.__hoverStl=Mt!==!1&&(_t.hoverStyle||Mt||{}),_t.__hoverStlDirty=!0,_t.__highlighted&&(_t.__cachedNormalStl=null,Ne(_t),Le(_t))}function Je(_t){!Et(this,_t)&&!this.__highByOuter&&Ue(this,Le)}function Xe(_t){!Et(this,_t)&&!this.__highByOuter&&Ue(this,Ne)}function et(_t){this.__highByOuter|=1<<(_t||0),Ue(this,Le)}function ot(_t){!(this.__highByOuter&=~(1<<(_t||0)))&&Ue(this,Ne)}function Et(_t,Mt){return _t.__highDownSilentOnTouch&&Mt.zrByTouch}function Ct(_t,Mt){ct(_t,!0),Ue(_t,ze,Mt)}function ct(_t,Mt){var Ht=Mt===!1;if(_t.__highDownSilentOnTouch=_t.highDownSilentOnTouch,_t.__highDownOnUpdate=_t.highDownOnUpdate,!Ht||_t.__highDownDispatcher){var ti=Ht?"off":"on";_t[ti]("mouseover",Je)[ti]("mouseout",Xe),_t[ti]("emphasis",et)[ti]("normal",ot),_t.__highByOuter=_t.__highByOuter||0,_t.__highDownDispatcher=!Ht}}function yt(_t){return!!(_t&&_t.__highDownDispatcher)}function Qt(_t){var Mt=he[_t];return Mt==null&&Ae<=32&&(Mt=he[_t]=Ae++),Mt}function Ze(_t,Mt,Ht,ti,Wi,yi,uo){Wi=Wi||ee;var wn=Wi.labelFetcher,Un=Wi.labelDataIndex,Ta=Wi.labelDimIndex,Ma=Wi.labelProp,Go=Ht.getShallow("show"),bl=ti.getShallow("show"),nu;(Go||bl)&&(wn&&(nu=wn.getFormattedLabel(Un,"normal",null,Ta,Ma)),nu==null&&(nu=A.isFunction(Wi.defaultText)?Wi.defaultText(Un,Wi):Wi.defaultText));var yc=Go?nu:null,Xu=bl?A.retrieve2(wn?wn.getFormattedLabel(Un,"emphasis",null,Ta,Ma):null,nu):null;(yc!=null||Xu!=null)&&(St(_t,Ht,yi,Wi),St(Mt,ti,uo,Wi,!0)),_t.text=yc,Mt.text=Xu}function ut(_t,Mt,Ht){var ti=_t.style;Mt&&(We(ti),_t.setStyle(Mt),ve(ti)),ti=_t.__hoverStl,Ht&&ti&&(We(ti),A.extend(ti,Ht),ve(ti))}function St(_t,Mt,Ht,ti,Wi){return xt(_t,Mt,ti,Wi),Ht&&A.extend(_t,Ht),_t}function gt(_t,Mt,Ht){var ti={isRectText:!0},Wi;Ht===!1?Wi=!0:ti.autoColor=Ht,xt(_t,Mt,ti,Wi)}function xt(_t,Mt,Ht,ti){if(Ht=Ht||ee,Ht.isRectText){var Wi;Ht.getTextPosition?Wi=Ht.getTextPosition(Mt,ti):(Wi=Mt.getShallow("position")||(ti?null:"inside"),Wi==="outside"&&(Wi="top")),_t.textPosition=Wi,_t.textOffset=Mt.getShallow("offset");var yi=Mt.getShallow("rotate");yi!=null&&(yi*=Math.PI/180),_t.textRotation=yi,_t.textDistance=A.retrieve2(Mt.getShallow("distance"),ti?null:5)}var uo=Mt.ecModel,wn=uo&&uo.option.textStyle,Un=Lt(Mt),Ta;if(Un){Ta={};for(var Ma in Un)if(Un.hasOwnProperty(Ma)){var Go=Mt.getModel(["rich",Ma]);nt(Ta[Ma]={},Go,wn,Ht,ti)}}return _t.rich=Ta,nt(_t,Mt,wn,Ht,ti,!0),Ht.forceRich&&!Ht.textStyle&&(Ht.textStyle={}),_t}function Lt(_t){for(var Mt;_t&&_t!==_t.ecModel;){var Ht=(_t.option||ee).rich;if(Ht){Mt=Mt||{};for(var ti in Ht)Ht.hasOwnProperty(ti)&&(Mt[ti]=1)}_t=_t.parentModel}return Mt}function nt(_t,Mt,Ht,ti,Wi,yi){Ht=!Wi&&Ht||ee,_t.textFill=Pe(Mt.getShallow("color"),ti)||Ht.color,_t.textStroke=Pe(Mt.getShallow("textBorderColor"),ti)||Ht.textBorderColor,_t.textStrokeWidth=A.retrieve2(Mt.getShallow("textBorderWidth"),Ht.textBorderWidth),Wi||(yi&&(_t.insideRollbackOpt=ti,ve(_t)),_t.textFill==null&&(_t.textFill=ti.autoColor)),_t.fontStyle=Mt.getShallow("fontStyle")||Ht.fontStyle,_t.fontWeight=Mt.getShallow("fontWeight")||Ht.fontWeight,_t.fontSize=Mt.getShallow("fontSize")||Ht.fontSize,_t.fontFamily=Mt.getShallow("fontFamily")||Ht.fontFamily,_t.textAlign=Mt.getShallow("align"),_t.textVerticalAlign=Mt.getShallow("verticalAlign")||Mt.getShallow("baseline"),_t.textLineHeight=Mt.getShallow("lineHeight"),_t.textWidth=Mt.getShallow("width"),_t.textHeight=Mt.getShallow("height"),_t.textTag=Mt.getShallow("tag"),(!yi||!ti.disableBox)&&(_t.textBackgroundColor=Pe(Mt.getShallow("backgroundColor"),ti),_t.textPadding=Mt.getShallow("padding"),_t.textBorderColor=Pe(Mt.getShallow("borderColor"),ti),_t.textBorderWidth=Mt.getShallow("borderWidth"),_t.textBorderRadius=Mt.getShallow("borderRadius"),_t.textBoxShadowColor=Mt.getShallow("shadowColor"),_t.textBoxShadowBlur=Mt.getShallow("shadowBlur"),_t.textBoxShadowOffsetX=Mt.getShallow("shadowOffsetX"),_t.textBoxShadowOffsetY=Mt.getShallow("shadowOffsetY")),_t.textShadowColor=Mt.getShallow("textShadowColor")||Ht.textShadowColor,_t.textShadowBlur=Mt.getShallow("textShadowBlur")||Ht.textShadowBlur,_t.textShadowOffsetX=Mt.getShallow("textShadowOffsetX")||Ht.textShadowOffsetX,_t.textShadowOffsetY=Mt.getShallow("textShadowOffsetY")||Ht.textShadowOffsetY}function Pe(_t,Mt){return _t!=="auto"?_t:Mt&&Mt.autoColor?Mt.autoColor:null}function ve(_t){var Mt=_t.textPosition,Ht=_t.insideRollbackOpt,ti;if(Ht&&_t.textFill==null){var Wi=Ht.autoColor,yi=Ht.isRectText,uo=Ht.useInsideStyle,wn=uo!==!1&&(uo===!0||yi&&Mt&&typeof Mt=="string"&&Mt.indexOf("inside")>=0),Un=!wn&&Wi!=null;(wn||Un)&&(ti={textFill:_t.textFill,textStroke:_t.textStroke,textStrokeWidth:_t.textStrokeWidth}),wn&&(_t.textFill="#fff",_t.textStroke==null&&(_t.textStroke=Wi,_t.textStrokeWidth==null&&(_t.textStrokeWidth=2))),Un&&(_t.textFill=Wi)}_t.insideRollback=ti}function We(_t){var Mt=_t.insideRollback;Mt&&(_t.textFill=Mt.textFill,_t.textStroke=Mt.textStroke,_t.textStrokeWidth=Mt.textStrokeWidth,_t.insideRollback=null)}function bt(_t,Mt){var Ht=Mt&&Mt.getModel("textStyle");return A.trim([_t.fontStyle||Ht&&Ht.getShallow("fontStyle")||"",_t.fontWeight||Ht&&Ht.getShallow("fontWeight")||"",(_t.fontSize||Ht&&Ht.getShallow("fontSize")||12)+"px",_t.fontFamily||Ht&&Ht.getShallow("fontFamily")||"sans-serif"].join(" "))}function Pt(_t,Mt,Ht,ti,Wi,yi){typeof Wi=="function"&&(yi=Wi,Wi=null);var uo=ti&&ti.isAnimationEnabled();if(uo){var wn=_t?"Update":"",Un=ti.getShallow("animationDuration"+wn),Ta=ti.getShallow("animationEasing"+wn),Ma=ti.getShallow("animationDelay"+wn);typeof Ma=="function"&&(Ma=Ma(Wi,ti.getAnimationDelayParams?ti.getAnimationDelayParams(Mt,Wi):null)),typeof Un=="function"&&(Un=Un(Wi)),Un>0?Mt.animateTo(Ht,Un,Ma||0,Ta,yi,!!yi):(Mt.stopAnimation(),Mt.attr(Ht),yi&&yi())}else Mt.stopAnimation(),Mt.attr(Ht),yi&&yi()}function It(_t,Mt,Ht,ti,Wi){Pt(!0,_t,Mt,Ht,ti,Wi)}function Mi(_t,Mt,Ht,ti,Wi){Pt(!1,_t,Mt,Ht,ti,Wi)}function er(_t,Mt){for(var Ht=C.identity([]);_t&&_t!==Mt;)C.mul(Ht,_t.getLocalTransform(),Ht),_t=_t.parent;return Ht}function di(_t,Mt,Ht){return Mt&&!A.isArrayLike(Mt)&&(Mt=y.getLocalTransform(Mt)),Ht&&(Mt=C.invert([],Mt)),E.applyTransform([],_t,Mt)}function wi(_t,Mt,Ht){var ti=Mt[4]===0||Mt[5]===0||Mt[0]===0?1:Math.abs(2*Mt[4]/Mt[0]),Wi=Mt[4]===0||Mt[5]===0||Mt[2]===0?1:Math.abs(2*Mt[4]/Mt[2]),yi=[_t==="left"?-ti:_t==="right"?ti:0,_t==="top"?-Wi:_t==="bottom"?Wi:0];return yi=di(yi,Mt,Ht),Math.abs(yi[0])>Math.abs(yi[1])?yi[0]>0?"right":"left":yi[1]>0?"bottom":"top"}function Ri(_t,Mt,Ht,ti){if(!_t||!Mt)return;function Wi(wn){var Un={};return wn.traverse(function(Ta){!Ta.isGroup&&Ta.anid&&(Un[Ta.anid]=Ta)}),Un}function yi(wn){var Un={position:E.clone(wn.position),rotation:wn.rotation};return wn.shape&&(Un.shape=A.extend({},wn.shape)),Un}var uo=Wi(_t);Mt.traverse(function(wn){if(!wn.isGroup&&wn.anid){var Un=uo[wn.anid];if(Un){var Ta=yi(wn);wn.attr(yi(Un)),It(wn,Ta,Ht,wn.dataIndex)}}})}function Ei(_t,Mt){return A.map(_t,function(Ht){var ti=Ht[0];ti=X(ti,Mt.x),ti=q(ti,Mt.x+Mt.width);var Wi=Ht[1];return Wi=X(Wi,Mt.y),Wi=q(Wi,Mt.y+Mt.height),[ti,Wi]})}function Wt(_t,Mt){var Ht=X(_t.x,Mt.x),ti=q(_t.x+_t.width,Mt.x+Mt.width),Wi=X(_t.y,Mt.y),yi=q(_t.y+_t.height,Mt.y+Mt.height);if(ti>=Ht&&yi>=Wi)return{x:Ht,y:Wi,width:ti-Ht,height:yi-Wi}}function jt(_t,Mt,Ht){Mt=A.extend({rectHover:!0},Mt);var ti=Mt.style={strokeNoScale:!0};if(Ht=Ht||{x:-1,y:-1,width:2,height:2},_t)return _t.indexOf("image://")===0?(ti.image=_t.slice(8),A.defaults(ti,Ht),new I(Mt)):Y(_t.replace("path://",""),Mt,Ht,"center")}function pi(_t,Mt,Ht,ti,Wi){for(var yi=0,uo=Wi[Wi.length-1];yi1)return!1;var yd=Kt(nu,yc,Ma,Go)/bl;return!(yd<0||yd>1)}function Kt(_t,Mt,Ht,ti){return _t*ti-Ht*Mt}function xi(_t){return _t<=1e-6&&_t>=-1e-6}U("circle",Q),U("sector",T),U("ring",w),U("polygon",S),U("polyline",D),U("rect",R),U("line",P),U("bezierCurve",M),U("arc",L),o.Z2_EMPHASIS_LIFT=ie,o.CACHED_LABEL_STYLE_PROPERTIES=H,o.extendShape=fe,o.extendPath=ae,o.registerShape=U,o.getShapeClass=W,o.makePath=Y,o.makeImage=z,o.mergePath=se,o.resizePath=de,o.subPixelOptimizeLine=me,o.subPixelOptimizeRect=Ce,o.subPixelOptimize=Ie,o.setElementHoverStyle=ze,o.setHoverStyle=Ct,o.setAsHighDownDispatcher=ct,o.isHighDownDispatcher=yt,o.getHighlightDigit=Qt,o.setLabelStyle=Ze,o.modifyLabelStyle=ut,o.setTextStyle=St,o.setText=gt,o.getFont=bt,o.updateProps=It,o.initProps=Mi,o.getTransform=er,o.applyTransform=di,o.transformDirection=wi,o.groupTransition=Ri,o.clipPointsByRect=Ei,o.clipRectByRect=Wt,o.createIcon=jt,o.linePolygonIntersect=pi,o.lineLineIntersect=mi}),j0t=wt((o,A)=>{var f=yI(),m=To(),C=["textStyle","color"],E={getTextColor:function(x){var y=this.ecModel;return this.getShallow("color")||(!x&&y?y.get(C):null)},getFont:function(){return m.getFont({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},getTextRect:function(x){return f.getBoundingRect(x,this.getFont(),this.getShallow("align"),this.getShallow("verticalAlign")||this.getShallow("baseline"),this.getShallow("padding"),this.getShallow("lineHeight"),this.getShallow("rich"),this.getShallow("truncateText"))}};A.exports=E}),q0t=wt((o,A)=>{var f=z4(),m=f([["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["textPosition"],["textAlign"]]),C={getItemStyle:function(E,x){var y=m(this,E,x),I=this.getBorderLineDash();return I&&(y.lineDash=I),y},getBorderLineDash:function(){var E=this.get("borderType");return E==="solid"||E==null?null:E==="dashed"?[5,5]:[1,1]}};A.exports=C}),qf=wt((o,A)=>{var f=Bi(),m=jf(),C=Bl(),E=C.makeInner,x=YD(),y=x.enableClassExtend,I=x.enableClassCheck,v=L0t(),B=F0t(),Q=j0t(),T=q0t(),w=f.mixin,S=E();function D(L,F,k){this.parentModel=F,this.ecModel=k,this.option=L}D.prototype={constructor:D,init:null,mergeOption:function(L){f.merge(this.option,L,!0)},get:function(L,F){return L==null?this.option:R(this.option,this.parsePath(L),!F&&P(this,L))},getShallow:function(L,F){var k=this.option,N=k==null?k:k[L],G=!F&&P(this,L);return N==null&&G&&(N=G.getShallow(L)),N},getModel:function(L,F){var k=L==null?this.option:R(this.option,L=this.parsePath(L)),N;return F=F||(N=P(this,L))&&N.getModel(L),new D(k,F,this.ecModel)},isEmpty:function(){return this.option==null},restoreData:function(){},clone:function(){var L=this.constructor;return new L(f.clone(this.option))},setReadOnly:function(L){},parsePath:function(L){return typeof L=="string"&&(L=L.split(".")),L},customizeGetParent:function(L){S(this).getParent=L},isAnimationEnabled:function(){if(!m.node){if(this.option.animation!=null)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}}};function R(L,F,k){for(var N=0;N{var A=Bi(),f=YD(),m=f.parseClassType,C=0;function E(I){return[I||"",C++,Math.random().toFixed(5)].join("_")}function x(I){var v={};return I.registerSubTypeDefaulter=function(B,Q){B=m(B),v[B.main]=Q},I.determineSubType=function(B,Q){var T=Q.type;if(!T){var w=m(B).main;I.hasSubTypes(B)&&v[w]&&(T=v[w](Q))}return T},I}function y(I,v){I.topologicalTravel=function(w,S,D,R){if(!w.length)return;var P=B(S),M=P.graph,L=P.noEntryList,F={};for(A.each(w,function(X){F[X]=!0});L.length;){var k=L.pop(),N=M[k],G=!!F[k];G&&(D.call(R,k,N.originalDeps.slice()),delete F[k]),A.each(N.successor,G?K:J)}A.each(F,function(){throw new Error("Circle dependency may exists")});function J(X){M[X].entryCount--,M[X].entryCount===0&&L.push(X)}function K(X){F[X]=!0,J(X)}};function B(w){var S={},D=[];return A.each(w,function(R){var P=Q(S,R),M=P.originalDeps=v(R),L=T(M,w);P.entryCount=L.length,P.entryCount===0&&D.push(R),A.each(L,function(F){A.indexOf(P.predecessor,F)<0&&P.predecessor.push(F);var k=Q(S,F);A.indexOf(k.successor,F)<0&&k.successor.push(R)})}),{graph:S,noEntryList:D}}function Q(w,S){return w[S]||(w[S]={predecessor:[],successor:[]}),w[S]}function T(w,S){var D=[];return A.each(w,function(R){A.indexOf(S,R)>=0&&D.push(R)}),D}}o.getUID=E,o.enableSubTypeDefaulter=x,o.enableTopologicalTravel=y}),ds=wt(o=>{var A=Bi(),f=1e-4;function m(G){return G.replace(/^\s+|\s+$/g,"")}function C(G,J,K,X){var q=J[1]-J[0],ee=K[1]-K[0];if(q===0)return ee===0?K[0]:(K[0]+K[1])/2;if(X)if(q>0){if(G<=J[0])return K[0];if(G>=J[1])return K[1]}else{if(G>=J[0])return K[0];if(G<=J[1])return K[1]}else{if(G===J[0])return K[0];if(G===J[1])return K[1]}return(G-J[0])/q*ee+K[0]}function E(G,J){switch(G){case"center":case"middle":G="50%";break;case"left":case"top":G="0%";break;case"right":case"bottom":G="100%";break}return typeof G=="string"?m(G).match(/%$/)?parseFloat(G)/100*J:parseFloat(G):G==null?NaN:+G}function x(G,J,K){return J==null&&(J=10),J=Math.min(Math.max(0,J),20),G=(+G).toFixed(J),K?G:+G}function y(G){return G.sort(function(J,K){return J-K}),G}function I(G){if(G=+G,isNaN(G))return 0;for(var J=1,K=0;Math.round(G*J)/J!==G;)J*=10,K++;return K}function v(G){var J=G.toString(),K=J.indexOf("e");if(K>0){var X=+J.slice(K+1);return X<0?-X:0}else{var q=J.indexOf(".");return q<0?0:J.length-1-q}}function B(G,J){var K=Math.log,X=Math.LN10,q=Math.floor(K(G[1]-G[0])/X),ee=Math.round(K(Math.abs(J[1]-J[0]))/X),ie=Math.min(Math.max(-q+ee,0),20);return isFinite(ie)?ie:20}function Q(G,J,K){if(!G[J])return 0;var X=A.reduce(G,function(ae,U){return ae+(isNaN(U)?0:U)},0);if(X===0)return 0;for(var q=Math.pow(10,K),ee=A.map(G,function(ae){return(isNaN(ae)?0:ae)/X*q*100}),ie=q*100,H=A.map(ee,function(ae){return Math.floor(ae)}),le=A.reduce(H,function(ae,U){return ae+U},0),ue=A.map(ee,function(ae,U){return ae-H[U]});leAe&&(Ae=ue[ge],he=ge);++H[he],ue[he]=0,++le}return H[J]/q}var T=9007199254740991;function w(G){var J=Math.PI*2;return(G%J+J)%J}function S(G){return G>-f&&G=10&&J++,J}function L(G,J){var K=M(G),X=Math.pow(10,K),q=G/X,ee;return J?q<1.5?ee=1:q<2.5?ee=2:q<4?ee=3:q<7?ee=5:ee=10:q<1?ee=1:q<2?ee=2:q<3?ee=3:q<5?ee=5:ee=10,G=ee*X,K>=-20?+G.toFixed(K<0?-K:0):G}function F(G,J){var K=(G.length-1)*J+1,X=Math.floor(K),q=+G[X-1],ee=K-X;return ee?q+ee*(G[X]-q):q}function k(G){G.sort(function(le,ue){return H(le,ue,0)?-1:1});for(var J=-1/0,K=1,X=0;X=0}o.linearMap=C,o.parsePercent=E,o.round=x,o.asc=y,o.getPrecision=I,o.getPrecisionSafe=v,o.getPixelPrecision=B,o.getPercentWithPrecision=Q,o.MAX_SAFE_INTEGER=T,o.remRadian=w,o.isRadianAroundZero=S,o.parseDate=R,o.quantity=P,o.quantityExponent=M,o.nice=L,o.quantile=F,o.reformIntervals=k,o.isNumeric=N}),Tc=wt(o=>{var A=Bi(),f=yI(),m=ds();function C(N){return isNaN(N)?"-":(N=(N+"").split("."),N[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(N.length>1?"."+N[1]:""))}function E(N,G){return N=(N||"").toLowerCase().replace(/-(.)/g,function(J,K){return K.toUpperCase()}),G&&N&&(N=N.charAt(0).toUpperCase()+N.slice(1)),N}var x=A.normalizeCssArray,y=/([&<>"'])/g,I={"&":"&","<":"<",">":">",'"':""","'":"'"};function v(N){return N==null?"":(N+"").replace(y,function(G,J){return I[J]})}var B=["a","b","c","d","e","f","g"],Q=function(N,G){return"{"+N+(G??"")+"}"};function T(N,G,J){A.isArray(G)||(G=[G]);var K=G.length;if(!K)return"";for(var X=G[0].$vars||[],q=0;q':'':{renderMode:q,content:"{marker"+ee+"|} ",style:{color:J}}:""}function D(N,G){return N+="","0000".substr(0,G-N.length)+N}function R(N,G,J){(N==="week"||N==="month"||N==="quarter"||N==="half-year"||N==="year")&&(N=`MM-dd
yyyy`);var K=m.parseDate(G),X=J?"UTC":"",q=K["get"+X+"FullYear"](),ee=K["get"+X+"Month"]()+1,ie=K["get"+X+"Date"](),H=K["get"+X+"Hours"](),le=K["get"+X+"Minutes"](),ue=K["get"+X+"Seconds"](),Ae=K["get"+X+"Milliseconds"]();return N=N.replace("MM",D(ee,2)).replace("M",ee).replace("yyyy",q).replace("yy",q%100).replace("dd",D(ie,2)).replace("d",ie).replace("hh",D(H,2)).replace("h",H).replace("mm",D(le,2)).replace("m",le).replace("ss",D(ue,2)).replace("s",ue).replace("SSS",D(Ae,3)),N}function P(N){return N&&N.charAt(0).toUpperCase()+N.substr(1)}var M=f.truncateText;function L(N){return f.getBoundingRect(N.text,N.font,N.textAlign,N.textVerticalAlign,N.textPadding,N.textLineHeight,N.rich,N.truncate)}function F(N,G,J,K,X,q,ee,ie){return f.getBoundingRect(N,G,J,K,X,ie,q,ee)}function k(N,G){if(G==="_blank"||G==="blank"){var J=window.open();J.opener=null,J.location=N}else window.open(N,G)}o.addCommas=C,o.toCamelCase=E,o.normalizeCssArray=x,o.encodeHTML=v,o.formatTpl=T,o.formatTplSimple=w,o.getTooltipMarker=S,o.formatTime=R,o.capitalFirst=P,o.truncateText=M,o.getTextBoundingRect=L,o.getTextRect=F,o.windowOpen=k}),pc=wt(o=>{var A=Bi(),f=zh(),m=ds(),C=m.parsePercent,E=Tc(),x=A.each,y=["left","right","top","bottom","width","height"],I=[["width","left","right"],["height","top","bottom"]];function v(F,k,N,G,J){var K=0,X=0;G==null&&(G=1/0),J==null&&(J=1/0);var q=0;k.eachChild(function(ee,ie){var H=ee.position,le=ee.getBoundingRect(),ue=k.childAt(ie+1),Ae=ue&&ue.getBoundingRect(),he,ge;if(F==="horizontal"){var fe=le.width+(Ae?-Ae.x+le.x:0);he=K+fe,he>G||ee.newline?(K=0,he=fe,X+=q+N,q=le.height):q=Math.max(q,le.height)}else{var ae=le.height+(Ae?-Ae.y+le.y:0);ge=X+ae,ge>J||ee.newline?(K+=q+N,X=0,ge=ae,q=le.width):q=Math.max(q,le.width)}ee.newline||(H[0]=K,H[1]=X,F==="horizontal"?K=he+N:X=ge+N)})}var B=v,Q=A.curry(v,"vertical"),T=A.curry(v,"horizontal");function w(F,k,N){var G=k.width,J=k.height,K=C(F.x,G),X=C(F.y,J),q=C(F.x2,G),ee=C(F.y2,J);return(isNaN(K)||isNaN(parseFloat(F.x)))&&(K=0),(isNaN(q)||isNaN(parseFloat(F.x2)))&&(q=G),(isNaN(X)||isNaN(parseFloat(F.y)))&&(X=0),(isNaN(ee)||isNaN(parseFloat(F.y2)))&&(ee=J),N=E.normalizeCssArray(N||0),{width:Math.max(q-K-N[1]-N[3],0),height:Math.max(ee-X-N[0]-N[2],0)}}function S(F,k,N){N=E.normalizeCssArray(N||0);var G=k.width,J=k.height,K=C(F.left,G),X=C(F.top,J),q=C(F.right,G),ee=C(F.bottom,J),ie=C(F.width,G),H=C(F.height,J),le=N[2]+N[0],ue=N[1]+N[3],Ae=F.aspect;switch(isNaN(ie)&&(ie=G-q-ue-K),isNaN(H)&&(H=J-ee-le-X),Ae!=null&&(isNaN(ie)&&isNaN(H)&&(Ae>G/J?ie=G*.8:H=J*.8),isNaN(ie)&&(ie=Ae*H),isNaN(H)&&(H=ie/Ae)),isNaN(K)&&(K=G-q-ie-ue),isNaN(X)&&(X=J-ee-H-le),F.left||F.right){case"center":K=G/2-ie/2-N[3];break;case"right":K=G-ie-ue;break}switch(F.top||F.bottom){case"middle":case"center":X=J/2-H/2-N[0];break;case"bottom":X=J-H-le;break}K=K||0,X=X||0,isNaN(ie)&&(ie=G-ue-K-(q||0)),isNaN(H)&&(H=J-le-X-(ee||0));var he=new f(K+N[3],X+N[0],ie,H);return he.margin=N,he}function D(F,k,N,G,J){var K=!J||!J.hv||J.hv[0],X=!J||!J.hv||J.hv[1],q=J&&J.boundingMode||"all";if(!(!K&&!X)){var ee;if(q==="raw")ee=F.type==="group"?new f(0,0,+k.width||0,+k.height||0):F.getBoundingRect();else if(ee=F.getBoundingRect(),F.needLocalTransform()){var ie=F.getLocalTransform();ee=ee.clone(),ee.applyTransform(ie)}k=S(A.defaults({width:ee.width,height:ee.height},k),N,G);var H=F.position,le=K?k.x-ee.x:0,ue=X?k.y-ee.y:0;F.attr("position",q==="raw"?[le,ue]:[H[0]+le,H[1]+ue])}}function R(F,k){return F[I[k][0]]!=null||F[I[k][1]]!=null&&F[I[k][2]]!=null}function P(F,k,N){!A.isObject(N)&&(N={});var G=N.ignoreSize;!A.isArray(G)&&(G=[G,G]);var J=X(I[0],0),K=X(I[1],1);ie(I[0],F,J),ie(I[1],F,K);function X(H,le){var ue={},Ae=0,he={},ge=0,fe=2;if(x(H,function(W){he[W]=F[W]}),x(H,function(W){q(k,W)&&(ue[W]=he[W]=k[W]),ee(ue,W)&&Ae++,ee(he,W)&&ge++}),G[le])return ee(k,H[1])?he[H[2]]=null:ee(k,H[2])&&(he[H[1]]=null),he;if(ge===fe||!Ae)return he;if(Ae>=fe)return ue;for(var ae=0;ae{var f={getBoxLayoutParams:function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}}};A.exports=f}),C0=wt((o,A)=>{var f=Bi(),m=qf(),C=xz(),E=YD(),x=E.enableClassManagement,y=E.parseClassType,I=Bl(),v=I.makeInner,B=pc(),Q=X0t(),T=v(),w=m.extend({type:"component",id:"",name:"",mainType:"",subType:"",componentIndex:0,defaultOption:null,ecModel:null,dependentModels:[],uid:null,layoutMode:null,$constructor:function(R,P,M,L){m.call(this,R,P,M,L),this.uid=C.getUID("ec_cpt_model")},init:function(R,P,M,L){this.mergeDefaultAndTheme(R,M)},mergeDefaultAndTheme:function(R,P){var M=this.layoutMode,L=M?B.getLayoutParams(R):{},F=P.getTheme();f.merge(R,F.get(this.mainType)),f.merge(R,this.getDefaultOption()),M&&B.mergeLayoutParam(R,L,M)},mergeOption:function(R,P){f.merge(this.option,R,!0);var M=this.layoutMode;M&&B.mergeLayoutParam(this.option,R,M)},optionUpdated:function(R,P){},getDefaultOption:function(){var R=T(this);if(!R.defaultOption){for(var P=[],M=this.constructor;M;){var L=M.prototype.defaultOption;L&&P.push(L),M=M.superClass}for(var F={},k=P.length-1;k>=0;k--)F=f.merge(F,P[k],!0);R.defaultOption=F}return R.defaultOption},getReferringComponents:function(R){return this.ecModel.queryComponents({mainType:R,index:this.get(R+"Index",!0),id:this.get(R+"Id",!0)})}});x(w,{registerWhenExtend:!0}),C.enableSubTypeDefaulter(w),C.enableTopologicalTravel(w,S);function S(R){var P=[];return f.each(w.getClassesByMainType(R),function(M){P=P.concat(M.prototype.dependencies||[])}),P=f.map(P,function(M){return y(M).main}),R!=="dataset"&&f.indexOf(P,"dataset")<=0&&P.unshift("dataset"),P}f.mixin(w,Q);var D=w;A.exports=D}),Z0t=wt((o,A)=>{var f="";typeof navigator<"u"&&(f=navigator.platform||"");var m={color:["#c23531","#2f4554","#61a0a8","#d48265","#91c7ae","#749f83","#ca8622","#bda29a","#6e7074","#546570","#c4ccd3"],gradientColor:["#f6efa6","#d88273","#bf444c"],textStyle:{fontFamily:f.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,animation:"auto",animationDuration:1e3,animationDurationUpdate:300,animationEasing:"exponentialOut",animationEasingUpdate:"cubicOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};A.exports=m}),NHe=wt((o,A)=>{var f=Bl(),m=f.makeInner,C=f.normalizeToArray,E=m();function x(I,v){for(var B=I.length,Q=0;Qv)return I[Q];return I[B-1]}var y={clearColorPalette:function(){E(this).colorIdx=0,E(this).colorNameMap={}},getColorFromPalette:function(I,v,B){v=v||this;var Q=E(v),T=Q.colorIdx||0,w=Q.colorNameMap=Q.colorNameMap||{};if(w.hasOwnProperty(I))return w[I];var S=C(this.get("color",!0)),D=this.get("colorLayer",!0),R=B==null||!D?S:x(D,B);if(R=R||S,!(!R||!R.length)){var P=R[T];return I&&(w[I]=P),Q.colorIdx=(T+1)%R.length,P}}};A.exports=y}),yz=wt(o=>{var A="original",f="arrayRows",m="objectRows",C="keyedColumns",E="unknown",x="typedArray",y="column",I="row";o.SOURCE_FORMAT_ORIGINAL=A,o.SOURCE_FORMAT_ARRAY_ROWS=f,o.SOURCE_FORMAT_OBJECT_ROWS=m,o.SOURCE_FORMAT_KEYED_COLUMNS=C,o.SOURCE_FORMAT_UNKNOWN=E,o.SOURCE_FORMAT_TYPED_ARRAY=x,o.SERIES_LAYOUT_BY_COLUMN=y,o.SERIES_LAYOUT_BY_ROW=I}),Iz=wt((o,A)=>{var f=Bi(),m=f.createHashMap,C=f.isTypedArray,E=YD(),x=E.enableClassCheck,y=yz(),I=y.SOURCE_FORMAT_ORIGINAL,v=y.SERIES_LAYOUT_BY_COLUMN,B=y.SOURCE_FORMAT_UNKNOWN,Q=y.SOURCE_FORMAT_TYPED_ARRAY,T=y.SOURCE_FORMAT_KEYED_COLUMNS;function w(D){this.fromDataset=D.fromDataset,this.data=D.data||(D.sourceFormat===T?{}:[]),this.sourceFormat=D.sourceFormat||B,this.seriesLayoutBy=D.seriesLayoutBy||v,this.dimensionsDefine=D.dimensionsDefine,this.encodeDefine=D.encodeDefine&&m(D.encodeDefine),this.startIndex=D.startIndex||0,this.dimensionsDetectCount=D.dimensionsDetectCount}w.seriesDataToSource=function(D){return new w({data:D,sourceFormat:C(D)?Q:I,fromDataset:!1})},x(w);var S=w;A.exports=S}),JD=wt(o=>{var A=Bu(),f=A.__DEV__,m=Bl(),C=m.makeInner,E=m.getDataItemValue,x=Bi(),y=x.createHashMap,I=x.each,v=x.map,B=x.isArray,Q=x.isString,T=x.isObject,w=x.isTypedArray,S=x.isArrayLike,D=x.extend,R=x.assert,P=Iz(),M=yz(),L=M.SOURCE_FORMAT_ORIGINAL,F=M.SOURCE_FORMAT_ARRAY_ROWS,k=M.SOURCE_FORMAT_OBJECT_ROWS,N=M.SOURCE_FORMAT_KEYED_COLUMNS,G=M.SOURCE_FORMAT_UNKNOWN,J=M.SOURCE_FORMAT_TYPED_ARRAY,K=M.SERIES_LAYOUT_BY_ROW,X={Must:1,Might:2,Not:3},q=C();function ee(z){var re=z.option.source,se=G;if(w(re))se=J;else if(B(re)){re.length===0&&(se=F);for(var de=0,me=re.length;de{var f=Bu(),m=f.__DEV__,C=Bi(),E=C.each,x=C.filter,y=C.map,I=C.isArray,v=C.indexOf,B=C.isObject,Q=C.isString,T=C.createHashMap,w=C.assert,S=C.clone,D=C.merge,R=C.extend,P=C.mixin,M=Bl(),L=qf(),F=C0(),k=Z0t(),N=NHe(),G=JD(),J=G.resetSourceDefaulter,K="\0_ec_inner",X=L.extend({init:function(ge,fe,ae,U){ae=ae||{},this.option=null,this._theme=new L(ae),this._optionManager=U},setOption:function(ge,fe){w(!(K in ge),"please use chart.getOption()"),this._optionManager.setOption(ge,fe),this.resetOption(null)},resetOption:function(ge){var fe=!1,ae=this._optionManager;if(!ge||ge==="recreate"){var U=ae.mountOption(ge==="recreate");!this.option||ge==="recreate"?ie.call(this,U):(this.restoreData(),this.mergeOption(U)),fe=!0}if((ge==="timeline"||ge==="media")&&this.restoreData(),!ge||ge==="recreate"||ge==="timeline"){var W=ae.getTimelineOption(this);W&&(this.mergeOption(W),fe=!0)}if(!ge||ge==="recreate"||ge==="media"){var Y=ae.getMediaOption(this,this._api);Y.length&&E(Y,function(z){this.mergeOption(z,fe=!0)},this)}return fe},mergeOption:function(ge){var fe=this.option,ae=this._componentsMap,U=[];J(this),E(ge,function(Y,z){Y!=null&&(F.hasClass(z)?z&&U.push(z):fe[z]=fe[z]==null?S(Y):D(fe[z],Y,!0))}),F.topologicalTravel(U,F.getAllClassMainTypes(),W,this);function W(Y,z){var re=M.normalizeToArray(ge[Y]),se=M.mappingToExists(ae.get(Y),re);M.makeIdAndName(se),E(se,function(me,Ce){var Ie=me.option;B(Ie)&&(me.keyInfo.mainType=Y,me.keyInfo.subType=le(Y,Ie,me.exist))});var de=H(ae,z);fe[Y]=[],ae.set(Y,[]),E(se,function(me,Ce){var Ie=me.exist,we=me.option;if(w(B(we)||Ie,"Empty component definition"),!we)Ie.mergeOption({},this),Ie.optionUpdated({},!1);else{var Te=F.getClass(Y,me.keyInfo.subType,!0);if(Ie&&Ie.constructor===Te)Ie.name=me.keyInfo.name,Ie.mergeOption(we,this),Ie.optionUpdated(we,!1);else{var Ge=R({dependentModels:de,componentIndex:Ce},me.keyInfo);Ie=new Te(we,this,this,Ge),R(Ie,Ge),Ie.init(we,this,this,Ge),Ie.optionUpdated(null,!0)}}ae.get(Y)[Ce]=Ie,fe[Y][Ce]=Ie.option},this),Y==="series"&&ue(this,ae.get("series"))}this._seriesIndicesMap=T(this._seriesIndices=this._seriesIndices||[])},getOption:function(){var ge=S(this.option);return E(ge,function(fe,ae){if(F.hasClass(ae)){for(var fe=M.normalizeToArray(fe),U=fe.length-1;U>=0;U--)M.isIdInner(fe[U])&&fe.splice(U,1);ge[ae]=fe}}),delete ge[K],ge},getTheme:function(){return this._theme},getComponent:function(ge,fe){var ae=this._componentsMap.get(ge);if(ae)return ae[fe||0]},queryComponents:function(ge){var fe=ge.mainType;if(!fe)return[];var ae=ge.index,U=ge.id,W=ge.name,Y=this._componentsMap.get(fe);if(!Y||!Y.length)return[];var z;if(ae!=null)I(ae)||(ae=[ae]),z=x(y(ae,function(de){return Y[de]}),function(de){return!!de});else if(U!=null){var re=I(U);z=x(Y,function(de){return re&&v(U,de.id)>=0||!re&&de.id===U})}else if(W!=null){var se=I(W);z=x(Y,function(de){return se&&v(W,de.name)>=0||!se&&de.name===W})}else z=Y.slice();return Ae(z,ge)},findComponents:function(ge){var fe=ge.query,ae=ge.mainType,U=Y(fe),W=U?this.queryComponents(U):this._componentsMap.get(ae);return z(Ae(W,ge));function Y(re){var se=ae+"Index",de=ae+"Id",me=ae+"Name";return re&&(re[se]!=null||re[de]!=null||re[me]!=null)?{mainType:ae,index:re[se],id:re[de],name:re[me]}:null}function z(re){return ge.filter?x(re,ge.filter):re}},eachComponent:function(ge,fe,ae){var U=this._componentsMap;if(typeof ge=="function")ae=fe,fe=ge,U.each(function(Y,z){E(Y,function(re,se){fe.call(ae,z,re,se)})});else if(Q(ge))E(U.get(ge),fe,ae);else if(B(ge)){var W=this.findComponents(ge);E(W,fe,ae)}},getSeriesByName:function(ge){var fe=this._componentsMap.get("series");return x(fe,function(ae){return ae.name===ge})},getSeriesByIndex:function(ge){return this._componentsMap.get("series")[ge]},getSeriesByType:function(ge){var fe=this._componentsMap.get("series");return x(fe,function(ae){return ae.subType===ge})},getSeries:function(){return this._componentsMap.get("series").slice()},getSeriesCount:function(){return this._componentsMap.get("series").length},eachSeries:function(ge,fe){E(this._seriesIndices,function(ae){var U=this._componentsMap.get("series")[ae];ge.call(fe,U,ae)},this)},eachRawSeries:function(ge,fe){E(this._componentsMap.get("series"),ge,fe)},eachSeriesByType:function(ge,fe,ae){E(this._seriesIndices,function(U){var W=this._componentsMap.get("series")[U];W.subType===ge&&fe.call(ae,W,U)},this)},eachRawSeriesByType:function(ge,fe,ae){return E(this.getSeriesByType(ge),fe,ae)},isSeriesFiltered:function(ge){return this._seriesIndicesMap.get(ge.componentIndex)==null},getCurrentSeriesIndices:function(){return(this._seriesIndices||[]).slice()},filterSeries:function(ge,fe){var ae=x(this._componentsMap.get("series"),ge,fe);ue(this,ae)},restoreData:function(ge){var fe=this._componentsMap;ue(this,fe.get("series"));var ae=[];fe.each(function(U,W){ae.push(W)}),F.topologicalTravel(ae,F.getAllClassMainTypes(),function(U,W){E(fe.get(U),function(Y){(U!=="series"||!q(Y,ge))&&Y.restoreData()})})}});function q(ge,fe){if(fe){var ae=fe.seiresIndex,U=fe.seriesId,W=fe.seriesName;return ae!=null&&ge.componentIndex!==ae||U!=null&&ge.id!==U||W!=null&&ge.name!==W}}function ee(ge,fe){var ae=ge.color&&!ge.colorLayer;E(fe,function(U,W){W==="colorLayer"&&ae||F.hasClass(W)||(typeof U=="object"?ge[W]=ge[W]?D(ge[W],U,!1):S(U):ge[W]==null&&(ge[W]=U))})}function ie(ge){ge=ge,this.option={},this.option[K]=1,this._componentsMap=T({series:[]}),this._seriesIndices,this._seriesIndicesMap,ee(ge,this._theme.option),D(ge,k,!1),this.mergeOption(ge)}function H(ge,fe){I(fe)||(fe=fe?[fe]:[]);var ae={};return E(fe,function(U){ae[U]=(ge.get(U)||[]).slice()}),ae}function le(ge,fe,ae){var U=fe.type?fe.type:ae?ae.subType:F.determineSubType(ge,fe);return U}function ue(ge,fe){ge._seriesIndicesMap=T(ge._seriesIndices=y(fe,function(ae){return ae.componentIndex})||[])}function Ae(ge,fe){return fe.hasOwnProperty("subType")?x(ge,function(ae){return ae.subType===fe.subType}):ge}P(X,N);var he=X;A.exports=he}),OHe=wt((o,A)=>{var f=Bi(),m=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isDisposed","on","off","getDataURL","getConnectedDataURL","getModel","getOption","getViewOfComponentModel","getViewOfSeriesModel"];function C(x){f.each(m,function(y){this[y]=f.bind(x[y],x)},this)}var E=C;A.exports=E}),mw=wt((o,A)=>{var f=Bi(),m={};function C(){this._coordinateSystems=[]}C.prototype={constructor:C,create:function(x,y){var I=[];f.each(m,function(v,B){var Q=v.create(x,y);I=I.concat(Q||[])}),this._coordinateSystems=I},update:function(x,y){f.each(this._coordinateSystems,function(I){I.update&&I.update(x,y)})},getCoordinateSystems:function(){return this._coordinateSystems.slice()}},C.register=function(x,y){m[x]=y},C.get=function(x){return m[x]};var E=C;A.exports=E}),$0t=wt((o,A)=>{var f=Bi(),m=Bl(),C=C0(),E=f.each,x=f.clone,y=f.map,I=f.merge,v=/^(min|max)?(.+)$/;function B(P){this._api=P,this._timelineOptions=[],this._mediaList=[],this._mediaDefault,this._currentMediaIndices=[],this._optionBackup,this._newBaseOption}B.prototype={constructor:B,setOption:function(P,M){P&&f.each(m.normalizeToArray(P.series),function(k){k&&k.data&&f.isTypedArray(k.data)&&f.setAsPrimitive(k.data)}),P=x(P);var L=this._optionBackup,F=Q.call(this,P,M,!L);this._newBaseOption=F.baseOption,L?(D(L.baseOption,F.baseOption),F.timelineOptions.length&&(L.timelineOptions=F.timelineOptions),F.mediaList.length&&(L.mediaList=F.mediaList),F.mediaDefault&&(L.mediaDefault=F.mediaDefault)):this._optionBackup=F},mountOption:function(P){var M=this._optionBackup;return this._timelineOptions=y(M.timelineOptions,x),this._mediaList=y(M.mediaList,x),this._mediaDefault=x(M.mediaDefault),this._currentMediaIndices=[],x(P?M.baseOption:this._newBaseOption)},getTimelineOption:function(P){var M,L=this._timelineOptions;if(L.length){var F=P.getComponent("timeline");F&&(M=x(L[F.getCurrentIndex()],!0))}return M},getMediaOption:function(P){var M=this._api.getWidth(),L=this._api.getHeight(),F=this._mediaList,k=this._mediaDefault,N=[],G=[];if(!F.length&&!k)return G;for(var J=0,K=F.length;J=M:L==="max"?P<=M:P===M}function S(P,M){return P.join(",")===M.join(",")}function D(P,M){M=M||{},E(M,function(L,F){if(L!=null){var k=P[F];if(!C.hasClass(F))P[F]=I(k,L,!0);else{L=m.normalizeToArray(L),k=m.normalizeToArray(k);var N=m.mappingToExists(k,L);P[F]=y(N,function(G){return G.option&&G.exist?I(G.exist,G.option,!0):G.exist||G.option})}}})}var R=B;A.exports=R}),ept=wt((o,A)=>{var f=Bi(),m=Bl(),C=f.each,E=f.isObject,x=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function y(R){var P=R&&R.itemStyle;if(P)for(var M=0,L=x.length;M{var f=Bi(),m=f.each,C=f.isArray,E=f.isObject,x=ept(),y=Bl(),I=y.normalizeToArray;function v(D,R){R=R.split(",");for(var P=D,M=0;M{var f=Bi(),m=f.createHashMap,C=f.each;function E(y){var I=m();y.eachSeries(function(v){var B=v.get("stack");if(B){var Q=I.get(B)||I.set(B,[]),T=v.getData(),w={stackResultDimension:T.getCalculationInfo("stackResultDimension"),stackedOverDimension:T.getCalculationInfo("stackedOverDimension"),stackedDimension:T.getCalculationInfo("stackedDimension"),stackedByDimension:T.getCalculationInfo("stackedByDimension"),isStackedByIndex:T.getCalculationInfo("isStackedByIndex"),data:T,seriesModel:v};if(!w.stackedDimension||!(w.isStackedByIndex||w.stackedByDimension))return;Q.length&&T.setCalculationInfo("stackedOnSeries",Q[Q.length-1].seriesModel),Q.push(w)}}),I.each(x)}function x(y){C(y,function(I,v){var B=[],Q=[NaN,NaN],T=[I.stackResultDimension,I.stackedOverDimension],w=I.data,S=I.isStackedByIndex,D=w.map(T,function(R,P,M){var L=w.get(I.stackedDimension,M);if(isNaN(L))return Q;var F,k;S?k=w.getRawIndex(M):F=w.get(I.stackedByDimension,M);for(var N=NaN,G=v-1;G>=0;G--){var J=y[G];if(S||(k=J.data.rawIndexOf(J.stackedByDimension,F)),k>=0){var K=J.data.getByRawIndex(J.stackResultDimension,k);if(L>=0&&K>0||L<=0&&K<0){L+=K,N=K;break}}}return B[0]=L,B[1]=N,B});w.hostModel.setData(D),I.data=D})}A.exports=E}),ZN=wt(o=>{var A=Bu(),f=A.__DEV__,m=Bi(),C=m.isTypedArray,E=m.extend,x=m.assert,y=m.each,I=m.isObject,v=Bl(),B=v.getDataItemValue,Q=v.isDataItemOption,T=ds(),w=T.parseDate,S=Iz(),D=yz(),R=D.SOURCE_FORMAT_TYPED_ARRAY,P=D.SOURCE_FORMAT_ARRAY_ROWS,M=D.SOURCE_FORMAT_ORIGINAL,L=D.SOURCE_FORMAT_OBJECT_ROWS;function F(Ae,he){S.isInstance(Ae)||(Ae=S.seriesDataToSource(Ae)),this._source=Ae;var ge=this._data=Ae.data,fe=Ae.sourceFormat;fe===R&&(this._offset=0,this._dimSize=he,this._data=ge);var ae=N[fe===P?fe+"_"+Ae.seriesLayoutBy:fe];E(this,ae)}var k=F.prototype;k.pure=!1,k.persistent=!0,k.getSource=function(){return this._source};var N={arrayRows_column:{pure:!0,count:function(){return Math.max(0,this._data.length-this._source.startIndex)},getItem:function(Ae){return this._data[Ae+this._source.startIndex]},appendData:K},arrayRows_row:{pure:!0,count:function(){var Ae=this._data[0];return Ae?Math.max(0,Ae.length-this._source.startIndex):0},getItem:function(Ae){Ae+=this._source.startIndex;for(var he=[],ge=this._data,fe=0;fe{var f=ZN(),m=f.retrieveRawValue,C=Tc(),E=C.getTooltipMarker,x=C.formatTpl,y=Bl(),I=y.getTooltipRenderMode,v=/\{@(.+?)\}/g,B={getDataParams:function(Q,T){var w=this.getData(T),S=this.getRawValue(Q,T),D=w.getRawIndex(Q),R=w.getName(Q),P=w.getRawDataItem(Q),M=w.getItemVisual(Q,"color"),L=w.getItemVisual(Q,"borderColor"),F=this.ecModel.getComponent("tooltip"),k=F&&F.get("renderMode"),N=I(k),G=this.mainType,J=G==="series",K=w.userOutput;return{componentType:G,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:J?this.subType:null,seriesIndex:this.seriesIndex,seriesId:J?this.id:null,seriesName:J?this.name:null,name:R,dataIndex:D,data:P,dataType:T,value:S,color:M,borderColor:L,dimensionNames:K?K.dimensionNames:null,encode:K?K.encode:null,marker:E({color:M,renderMode:N}),$vars:["seriesName","name","value"]}},getFormattedLabel:function(Q,T,w,S,D){T=T||"normal";var R=this.getData(w),P=R.getItemModel(Q),M=this.getDataParams(Q,w);S!=null&&M.value instanceof Array&&(M.value=M.value[S]);var L=P.get(T==="normal"?[D||"label","formatter"]:[T,D||"label","formatter"]);if(typeof L=="function")return M.status=T,M.dimensionIndex=S,L(M);if(typeof L=="string"){var F=x(L,M);return F.replace(v,function(k,N){var G=N.length;return N.charAt(0)==="["&&N.charAt(G-1)==="]"&&(N=+N.slice(1,G-1)),m(R,Q,N)})}},getRawValue:function(Q,T){return m(this.getData(T),Q)},formatTooltip:function(){}};A.exports=B}),h0e=wt(o=>{var A=Bi(),f=A.assert,m=A.isArray,C=Bu(),E=C.__DEV__;function x(T){return new y(T)}function y(T){T=T||{},this._reset=T.reset,this._plan=T.plan,this._count=T.count,this._onDirty=T.onDirty,this._dirty=!0,this.context}var I=y.prototype;I.perform=function(T){var w=this._upstream,S=T&&T.skip;if(this._dirty&&w){var D=this.context;D.data=D.outputData=w.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var R;this._plan&&!S&&(R=this._plan(this.context));var P=k(this._modBy),M=this._modDataCount||0,L=k(T&&T.modBy),F=T&&T.modDataCount||0;(P!==L||M!==F)&&(R="reset");function k(ie){return!(ie>=1)&&(ie=1),ie}var N;(this._dirty||R==="reset")&&(this._dirty=!1,N=Q(this,S)),this._modBy=L,this._modDataCount=F;var G=T&&T.step;if(w?this._dueEnd=w._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var J=this._dueIndex,K=Math.min(G!=null?this._dueIndex+G:1/0,this._dueEnd);if(!S&&(N||J1&&D>0?L:M}};return P;function M(){return w=T?null:F{var f=Bu(),m=f.__DEV__,C=Bi(),E=jf(),x=Tc(),y=x.formatTime,I=x.encodeHTML,v=x.addCommas,B=x.getTooltipMarker,Q=Bl(),T=C0(),w=NHe(),S=c0e(),D=pc(),R=D.getLayoutParams,P=D.mergeLayoutParam,M=h0e(),L=M.createTask,F=JD(),k=F.prepareSource,N=F.getSource,G=ZN(),J=G.retrieveRawValue,K=Q.makeInner(),X=T.extend({type:"series.__base__",seriesIndex:0,coordinateSystem:null,defaultOption:null,legendVisualProvider:null,visualColorAccessPath:"itemStyle.color",visualBorderColorAccessPath:"itemStyle.borderColor",layoutMode:null,init:function(fe,ae,U,W){this.seriesIndex=this.componentIndex,this.dataTask=L({count:ie,reset:H}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(fe,U),k(this);var Y=this.getInitialData(fe,U);ue(Y,this),this.dataTask.context.data=Y,K(this).dataBeforeProcessed=Y,q(this)},mergeDefaultAndTheme:function(fe,ae){var U=this.layoutMode,W=U?R(fe):{},Y=this.subType;T.hasClass(Y)&&(Y+="Series"),C.merge(fe,ae.getTheme().get(this.subType)),C.merge(fe,this.getDefaultOption()),Q.defaultEmphasis(fe,"label",["show"]),this.fillDataTextStyle(fe.data),U&&P(fe,W,U)},mergeOption:function(fe,ae){fe=C.merge(this.option,fe,!0),this.fillDataTextStyle(fe.data);var U=this.layoutMode;U&&P(this.option,fe,U),k(this);var W=this.getInitialData(fe,ae);ue(W,this),this.dataTask.dirty(),this.dataTask.context.data=W,K(this).dataBeforeProcessed=W,q(this)},fillDataTextStyle:function(fe){if(fe&&!C.isTypedArray(fe))for(var ae=["show"],U=0;U":`
`,re=W==="richText",se={},de=0;function me(ot){var Et=C.reduce(ot,function(Ze,ut,St){var gt=Ie.getDimensionInfo(St);return Ze|=gt&>.tooltip!==!1&>.displayName!=null},0),Ct=[];we.length?C.each(we,function(Ze){ct(J(Ie,fe,Ze),Ze)}):C.each(ot,ct);function ct(Ze,ut){var St=Ie.getDimensionInfo(ut);if(!(!St||St.otherDims.tooltip===!1)){var gt=St.type,xt="sub"+Y.seriesIndex+"at"+de,Lt=B({color:Oe,type:"subItem",renderMode:W,markerId:xt}),nt=typeof Lt=="string"?Lt:Lt.content,Pe=(Et?nt+I(St.displayName||"-")+": ":"")+I(gt==="ordinal"?Ze+"":gt==="time"?ae?"":y("yyyy/MM/dd hh:mm:ss",Ze):v(Ze));Pe&&Ct.push(Pe),re&&(se[xt]=Oe,++de)}}var yt=Et?re?`
`:" ":"",Qt=yt+Ct.join(yt||", ");return{renderMode:W,content:Qt,style:se}}function Ce(ot){return{renderMode:W,content:I(v(ot)),style:se}}var Ie=this.getData(),we=Ie.mapDimension("defaultedTooltip",!0),Te=we.length,Ge=this.getRawValue(fe),ke=C.isArray(Ge),Oe=Ie.getItemVisual(fe,"color");C.isObject(Oe)&&Oe.colorStops&&(Oe=(Oe.colorStops[0]||{}).color),Oe=Oe||"transparent";var Le=Te>1||ke&&!Te?me(Ge):Ce(Te?J(Ie,fe,we[0]):ke?Ge[0]:Ge),be=Le.content,Ne=Y.seriesIndex+"at"+de,Ue=B({color:Oe,type:"item",renderMode:W,markerId:Ne});se[Ne]=Oe,++de;var ze=Ie.getName(fe),Je=this.name;Q.isNameSpecified(this)||(Je=""),Je=Je?I(Je)+(ae?": ":z):"";var Xe=typeof Ue=="string"?Ue:Ue.content,et=ae?Xe+Je+be:Je+Xe+(ze?I(ze)+": "+be:be);return{html:et,markers:se}},isAnimationEnabled:function(){if(E.node)return!1;var fe=this.getShallow("animation");return fe&&this.getData().count()>this.getShallow("animationThreshold")&&(fe=!1),fe},restoreData:function(){this.dataTask.dirty()},getColorFromPalette:function(fe,ae,U){var W=this.ecModel,Y=w.getColorFromPalette.call(this,fe,ae,U);return Y||(Y=W.getColorFromPalette(fe,ae,U)),Y},coordDimToDataDim:function(fe){return this.getRawData().mapDimension(fe,!0)},getProgressive:function(){return this.get("progressive")},getProgressiveThreshold:function(){return this.get("progressiveThreshold")},getAxisTooltipData:null,getTooltipPosition:null,pipeTask:null,preventIncremental:null,pipelineContext:null});C.mixin(X,S),C.mixin(X,w);function q(fe){var ae=fe.name;Q.isNameSpecified(fe)||(fe.name=ee(fe)||ae)}function ee(fe){var ae=fe.getRawData(),U=ae.mapDimension("seriesName",!0),W=[];return C.each(U,function(Y){var z=ae.getDimensionInfo(Y);z.displayName&&W.push(z.displayName)}),W.join(" ")}function ie(fe){return fe.model.getRawData().count()}function H(fe){var ae=fe.model;return ae.setData(ae.getRawData().cloneShallow()),le}function le(fe,ae){ae.outputData&&fe.end>ae.outputData.count()&&ae.model.getRawData().cloneShallow(ae.outputData)}function ue(fe,ae){C.each(fe.CHANGABLE_METHODS,function(U){fe.wrapMethod(U,C.curry(Ae,ae))})}function Ae(fe){var ae=he(fe);ae&&ae.setOutputEnd(this.count())}function he(fe){var ae=(fe.ecModel||{}).scheduler,U=ae&&ae.getPipeline(fe.uid);if(U){var W=U.currentTask;if(W){var Y=W.agentStubMap;Y&&(W=Y.get(fe.uid))}return W}}var ge=X;A.exports=ge}),ote=wt((o,A)=>{var f=qN(),m=xz(),C=YD(),E=function(){this.group=new f,this.uid=m.getUID("viewComponent")};E.prototype={constructor:E,init:function(I,v){},render:function(I,v,B,Q){},dispose:function(){},filterForExposedEvent:null};var x=E.prototype;x.updateView=x.updateLayout=x.updateVisual=function(I,v,B,Q){},C.enableClassExtend(E),C.enableClassManagement(E,{registerWhenExtend:!0});var y=E;A.exports=y}),J4=wt((o,A)=>{var f=Bl(),m=f.makeInner;function C(){var E=m();return function(x){var y=E(x),I=x.pipelineContext,v=y.large,B=y.progressiveRender,Q=y.large=I&&I.large,T=y.progressiveRender=I&&I.progressiveRender;return!!(v^Q||B^T)&&"reset"}}A.exports=C}),Jb=wt((o,A)=>{var f=Bi(),m=f.each,C=qN(),E=xz(),x=YD(),y=Bl(),I=To(),v=h0e(),B=v.createTask,Q=J4(),T=y.makeInner(),w=Q();function S(){this.group=new C,this.uid=E.getUID("viewChart"),this.renderTask=B({plan:M,reset:L}),this.renderTask.context={view:this}}S.prototype={type:"chart",init:function(N,G){},render:function(N,G,J,K){},highlight:function(N,G,J,K){P(N.getData(),K,"emphasis")},downplay:function(N,G,J,K){P(N.getData(),K,"normal")},remove:function(N,G){this.group.removeAll()},dispose:function(){},incrementalPrepareRender:null,incrementalRender:null,updateTransform:null,filterForExposedEvent:null};var D=S.prototype;D.updateView=D.updateLayout=D.updateVisual=function(N,G,J,K){this.render(N,G,J,K)};function R(N,G,J){if(N&&(N.trigger(G,J),N.isGroup&&!I.isHighDownDispatcher(N)))for(var K=0,X=N.childCount();K{var A="\0__throttleOriginMethod",f="\0__throttleRate",m="\0__throttleType";function C(y,I,v){var B,Q=0,T=0,w=null,S,D,R,P;I=I||0;function M(){T=new Date().getTime(),w=null,y.apply(D,R||[])}var L=function(){B=new Date().getTime(),D=this,R=arguments;var F=P||I,k=P||v;P=null,S=B-(k?Q:T)-F,clearTimeout(w),k?w=setTimeout(M,F):S>=0?M():w=setTimeout(M,-S),Q=B};return L.clear=function(){w&&(clearTimeout(w),w=null)},L.debounceNextCall=function(F){P=F},L}function E(y,I,v,B){var Q=y[I];if(Q){var T=Q[A]||Q,w=Q[m],S=Q[f];if(S!==v||w!==B){if(v==null||!B)return y[I]=T;Q=y[I]=C(T,v,B==="debounce"),Q[A]=T,Q[m]=B,Q[f]=v}return Q}}function x(y,I){var v=y[I];v&&v[A]&&(y[I]=v[A])}o.throttle=C,o.createOrUpdate=E,o.clear=x}),rpt=wt((o,A)=>{var f=nte(),m=Bi(),C=m.isFunction,E={createOnAllSeries:!0,performRawSeries:!0,reset:function(x,y){var I=x.getData(),v=(x.visualColorAccessPath||"itemStyle.color").split("."),B=x.get(v),Q=C(B)&&!(B instanceof f)?B:null;(!B||Q)&&(B=x.getColorFromPalette(x.name,null,y.getSeriesCount())),I.setVisual("color",B);var T=(x.visualBorderColorAccessPath||"itemStyle.borderColor").split("."),w=x.get(T);if(I.setVisual("borderColor",w),!y.isSeriesFiltered(x)){Q&&I.each(function(D){I.setItemVisual(D,"color",Q(x.getDataParams(D)))});var S=function(D,R){var P=D.getItemModel(R),M=P.get(v,!0),L=P.get(T,!0);M!=null&&D.setItemVisual(R,"color",M),L!=null&&D.setItemVisual(R,"borderColor",L)};return{dataEach:I.hasItemOption?S:null}}}};A.exports=E}),jP=wt((o,A)=>{var f={legend:{selector:{all:"\u5168\u9009",inverse:"\u53CD\u9009"}},toolbox:{brush:{title:{rect:"\u77E9\u5F62\u9009\u62E9",polygon:"\u5708\u9009",lineX:"\u6A2A\u5411\u9009\u62E9",lineY:"\u7EB5\u5411\u9009\u62E9",keep:"\u4FDD\u6301\u9009\u62E9",clear:"\u6E05\u9664\u9009\u62E9"}},dataView:{title:"\u6570\u636E\u89C6\u56FE",lang:["\u6570\u636E\u89C6\u56FE","\u5173\u95ED","\u5237\u65B0"]},dataZoom:{title:{zoom:"\u533A\u57DF\u7F29\u653E",back:"\u533A\u57DF\u7F29\u653E\u8FD8\u539F"}},magicType:{title:{line:"\u5207\u6362\u4E3A\u6298\u7EBF\u56FE",bar:"\u5207\u6362\u4E3A\u67F1\u72B6\u56FE",stack:"\u5207\u6362\u4E3A\u5806\u53E0",tiled:"\u5207\u6362\u4E3A\u5E73\u94FA"}},restore:{title:"\u8FD8\u539F"},saveAsImage:{title:"\u4FDD\u5B58\u4E3A\u56FE\u7247",lang:["\u53F3\u952E\u53E6\u5B58\u4E3A\u56FE\u7247"]}},series:{typeNames:{pie:"\u997C\u56FE",bar:"\u67F1\u72B6\u56FE",line:"\u6298\u7EBF\u56FE",scatter:"\u6563\u70B9\u56FE",effectScatter:"\u6D9F\u6F2A\u6563\u70B9\u56FE",radar:"\u96F7\u8FBE\u56FE",tree:"\u6811\u56FE",treemap:"\u77E9\u5F62\u6811\u56FE",boxplot:"\u7BB1\u578B\u56FE",candlestick:"K\u7EBF\u56FE",k:"K\u7EBF\u56FE",heatmap:"\u70ED\u529B\u56FE",map:"\u5730\u56FE",parallel:"\u5E73\u884C\u5750\u6807\u56FE",lines:"\u7EBF\u56FE",graph:"\u5173\u7CFB\u56FE",sankey:"\u6851\u57FA\u56FE",funnel:"\u6F0F\u6597\u56FE",gauge:"\u4EEA\u8868\u76D8\u56FE",pictorialBar:"\u8C61\u5F62\u67F1\u56FE",themeRiver:"\u4E3B\u9898\u6CB3\u6D41\u56FE",sunburst:"\u65ED\u65E5\u56FE"}},aria:{general:{withTitle:"\u8FD9\u662F\u4E00\u4E2A\u5173\u4E8E\u201C{title}\u201D\u7684\u56FE\u8868\u3002",withoutTitle:"\u8FD9\u662F\u4E00\u4E2A\u56FE\u8868\uFF0C"},series:{single:{prefix:"",withName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\uFF0C\u8868\u793A{seriesName}\u3002",withoutName:"\u56FE\u8868\u7C7B\u578B\u662F{seriesType}\u3002"},multiple:{prefix:"\u5B83\u7531{seriesCount}\u4E2A\u56FE\u8868\u7CFB\u5217\u7EC4\u6210\u3002",withName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A\u8868\u793A{seriesName}\u7684{seriesType}\uFF0C",withoutName:"\u7B2C{seriesId}\u4E2A\u7CFB\u5217\u662F\u4E00\u4E2A{seriesType}\uFF0C",separator:{middle:"\uFF1B",end:"\u3002"}}},data:{allData:"\u5176\u6570\u636E\u662F\u2014\u2014",partialData:"\u5176\u4E2D\uFF0C\u524D{displayCnt}\u9879\u662F\u2014\u2014",withName:"{name}\u7684\u6570\u636E\u662F{value}",withoutName:"{value}",separator:{middle:"\uFF0C",end:""}}}};A.exports=f}),npt=wt((o,A)=>{var f=Bi(),m=jP(),C=ZN(),E=C.retrieveRawValue;function x(y,I){var v=I.getModel("aria");if(v.get("show")){if(v.get("description")){y.setAttribute("aria-label",v.get("description"));return}}else return;var B=0;I.eachSeries(function(N,G){++B},this);var Q=v.get("data.maxCount")||10,T=v.get("series.maxCount")||10,w=Math.min(B,T),S;if(B<1)return;var D=F();D?S=M(L("general.withTitle"),{title:D}):S=L("general.withoutTitle");var R=[],P=B>1?"series.multiple.prefix":"series.single.prefix";S+=M(L(P),{seriesCount:B}),I.eachSeries(function(N,G){if(G |