billboard.js 3.16.0-next.2 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/billboard.css +1 -1
- package/dist/billboard.js +95 -91
- package/dist/billboard.min.css +1 -1
- package/dist/billboard.min.js +8 -8
- package/dist/billboard.pkgd.js +95 -91
- package/dist/billboard.pkgd.min.js +13 -13
- package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/dist/plugin/billboardjs-plugin-textoverlap.min.js +3 -3
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +2 -2
- package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +2 -2
- package/dist/theme/dark.css +1 -1
- package/dist/theme/dark.min.css +1 -1
- package/dist/theme/datalab.css +1 -1
- package/dist/theme/datalab.min.css +1 -1
- package/dist/theme/graph.css +1 -1
- package/dist/theme/graph.min.css +1 -1
- package/dist/theme/insight.css +1 -1
- package/dist/theme/insight.min.css +1 -1
- package/dist/theme/modern.css +1 -1
- package/dist/theme/modern.min.css +1 -1
- package/dist-esm/billboard.js +128 -114
- package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
- package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
- package/package.json +11 -11
- package/src/ChartInternal/ChartInternal.ts +51 -60
- package/src/ChartInternal/data/convert.ts +71 -45
- package/src/config/Options/axis/y2.ts +0 -13
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.16.0
|
|
8
|
+
* @version 3.16.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -26167,7 +26167,7 @@ class Plugin {
|
|
|
26167
26167
|
});
|
|
26168
26168
|
}
|
|
26169
26169
|
}
|
|
26170
|
-
__publicField(Plugin, "version", "3.16.0
|
|
26170
|
+
__publicField(Plugin, "version", "3.16.0");
|
|
26171
26171
|
|
|
26172
26172
|
;// ./node_modules/d3-axis/src/identity.js
|
|
26173
26173
|
/* harmony default export */ function d3_axis_src_identity(x) {
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.16.0
|
|
8
|
+
* @version 3.16.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/(function(qr,Gr){typeof exports=="object"&&typeof module=="object"?module.exports=Gr():typeof define=="function"&&define.amd?define("bb",[],Gr):typeof exports=="object"?exports.bb=Gr():(qr.bb=qr.bb||{},qr.bb.plugin=qr.bb.plugin||{},qr.bb.plugin["stanford.pkgd"]=Gr())})(this,function(){return function(){"use strict";var Ne={172:function(u,h,t){var n=t(11286),e=Set.prototype;u.exports={Set,add:n(e.add),has:n(e.has),remove:n(e.delete),proto:e}},356:function(u,h,t){var n=t(92986),e=t(72069);u.exports=n&&e(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})},390:function(u,h,t){var n=t(96499),e=t(11286),a=t(63194),s=t(25001),i=t(37540),f=t(2068),l=t(16887),c=t(24487),d=t(45344),g=t(17361),p=t(10512),x=t(33064),m=t(39807),S=t(72069),E=m.UNSUPPORTED_Y,O=4294967295,A=Math.min,T=e([].push),C=e("".slice),M=!S(function(){var D=/(?:)/,F=D.exec;D.exec=function(){return F.apply(this,arguments)};var $="ab".split(D);return $.length!==2||$[0]!=="a"||$[1]!=="b"}),P="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;a("split",function(D,F,$){var L="0".split(void 0,0).length?function(U,G){return U===void 0&&G===0?[]:n(F,this,U,G)}:F;return[function(G,V){var w=f(this),H=i(G)?p(G,D):void 0;return H?n(H,G,w,V):n(L,g(w),G,V)},function(U,G){var V=s(this),w=g(U);if(!P){var H=$(L,V,w,G,L!==F);if(H.done)return H.value}var W=l(V,RegExp),K=V.unicode,k=(V.ignoreCase?"i":"")+(V.multiline?"m":"")+(V.unicode?"u":"")+(E?"g":"y"),rt=new W(E?"^(?:"+V.source+")":V,k),q=G===void 0?O:G>>>0;if(q===0)return[];if(w.length===0)return x(rt,w)===null?[w]:[];for(var Q=0,ct=0,st=[];ct<w.length;){rt.lastIndex=E?0:ct;var xt=x(rt,E?C(w,ct):w),Rt;if(xt===null||(Rt=A(d(rt.lastIndex+(E?ct:0)),w.length))===Q)ct=c(w,ct,K);else{if(T(st,C(w,Q,ct)),st.length===q)return st;for(var Mt=1;Mt<=xt.length-1;Mt++)if(T(st,xt[Mt]),st.length===q)return st;ct=Q=Rt}}return T(st,C(w,Q)),st}]},P||!M,E)},399:function(u,h,t){var n=t(14304),e=t(68422),a=t(5287);n({target:"String",proto:!0,forced:a("bold")},{bold:function(){return e(this,"b","","")}})},491:function(u,h,t){var n=t(38941),e=t(23583),a=t(95307),s=t(50234),i=Object;u.exports=s?function(f){return typeof f=="symbol"}:function(f){var l=n("Symbol");return e(l)&&a(l.prototype,i(f))}},507:function(u,h,t){var n=t(18257),e=n.match(/firefox\/(\d+)/i);u.exports=!!e&&+e[1]},613:function(u,h,t){var n=t(37540),e=Math.floor;u.exports=Number.isInteger||function(s){return!n(s)&&isFinite(s)&&e(s)===s}},720:function(u,h,t){var n=t(14304),e=t(49671),a=t(82628),s=t(2213),i=t(20095),f=t(72069),l=f(function(){return[].push.call({length:4294967296},1)!==4294967297}),c=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(g){return g instanceof TypeError}},d=l||!c();n({target:"Array",proto:!0,arity:1,forced:d},{push:function(p){var x=e(this),m=a(x),S=arguments.length;i(m+S);for(var E=0;E<S;E++)x[m]=arguments[E],m++;return s(x,m),m}})},1333:function(u,h,t){var n=t(76602),e=t(172).has,a=t(17768),s=t(65263),i=t(9573),f=t(99797);u.exports=function(c){var d=n(this),g=s(c);if(a(d)<g.size)return!1;var p=g.getIterator();return i(p,function(x){if(!e(d,x))return f(p,"normal",!1)})!==!1}},1341:function(u,h,t){var n=t(14304),e=t(49671),a=t(82628),s=t(12105),i=t(23811);n({target:"Array",proto:!0},{at:function(l){var c=e(this),d=a(c),g=s(l),p=g>=0?g:d+g;return p<0||p>=d?void 0:c[p]}}),i("at")},1354:function(u,h,t){var n=t(92986),e=t(34246),a=t(11286),s=t(13278),i=t(32345),f=t(90809),l=t(5406),c=t(83258).f,d=t(95307),g=t(11566),p=t(17361),x=t(54932),m=t(39807),S=t(2594),E=t(16142),O=t(72069),A=t(94879),T=t(82367).enforce,C=t(36167),M=t(18565),P=t(76769),D=t(85220),F=M("match"),$=e.RegExp,L=$.prototype,U=e.SyntaxError,G=a(L.exec),V=a("".charAt),w=a("".replace),H=a("".indexOf),W=a("".slice),K=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,k=/a/g,rt=/a/g,q=new $(k)!==k,Q=m.MISSED_STICKY,ct=m.UNSUPPORTED_Y,st=n&&(!q||Q||P||D||O(function(){return rt[F]=!1,$(k)!==k||$(rt)===rt||String($(k,"i"))!=="/a/i"})),xt=function(Lt){for(var ht=Lt.length,Ot=0,bt="",Gt=!1,Ft;Ot<=ht;Ot++){if(Ft=V(Lt,Ot),Ft==="\\"){bt+=Ft+V(Lt,++Ot);continue}!Gt&&Ft==="."?bt+="[\\s\\S]":(Ft==="["?Gt=!0:Ft==="]"&&(Gt=!1),bt+=Ft)}return bt},Rt=function(Lt){for(var ht=Lt.length,Ot=0,bt="",Gt=[],Ft=l(null),wt=!1,er=!1,nr=0,Zt="",Ut;Ot<=ht;Ot++){if(Ut=V(Lt,Ot),Ut==="\\")Ut+=V(Lt,++Ot);else if(Ut==="]")wt=!1;else if(!wt)switch(!0){case Ut==="[":wt=!0;break;case Ut==="(":if(bt+=Ut,W(Lt,Ot+1,Ot+3)==="?:")continue;G(K,W(Lt,Ot+1))&&(Ot+=2,er=!0),nr++;continue;case(Ut===">"&&er):if(Zt===""||A(Ft,Zt))throw new U("Invalid capture group name");Ft[Zt]=!0,Gt[Gt.length]=[Zt,nr],er=!1,Zt="";continue}er?Zt+=Ut:bt+=Ut}return[bt,Gt]};if(s("RegExp",st)){for(var Mt=function(ht,Ot){var bt=d(L,this),Gt=g(ht),Ft=Ot===void 0,wt=[],er=ht,nr,Zt,Ut,tr,Qt,Xt;if(!bt&&Gt&&Ft&&ht.constructor===Mt)return ht;if((Gt||d(L,ht))&&(ht=ht.source,Ft&&(Ot=x(er))),ht=ht===void 0?"":p(ht),Ot=Ot===void 0?"":p(Ot),er=ht,P&&"dotAll"in k&&(Zt=!!Ot&&H(Ot,"s")>-1,Zt&&(Ot=w(Ot,/s/g,""))),nr=Ot,Q&&"sticky"in k&&(Ut=!!Ot&&H(Ot,"y")>-1,Ut&&ct&&(Ot=w(Ot,/y/g,""))),D&&(tr=Rt(ht),ht=tr[0],wt=tr[1]),Qt=i($(ht,Ot),bt?this:L,Mt),(Zt||Ut||wt.length)&&(Xt=T(Qt),Zt&&(Xt.dotAll=!0,Xt.raw=Mt(xt(ht),nr)),Ut&&(Xt.sticky=!0),wt.length&&(Xt.groups=wt)),ht!==er)try{f(Qt,"source",er===""?"(?:)":er)}catch(vt){}return Qt},_t=c($),Wt=0;_t.length>Wt;)S(Mt,$,_t[Wt++]);L.constructor=Mt,Mt.prototype=L,E(e,"RegExp",Mt,{constructor:!0})}C("RegExp")},1774:function(u,h,t){var n=t(11286),e=Map.prototype;u.exports={Map,set:n(e.set),get:n(e.get),has:n(e.has),remove:n(e.delete),proto:e}},2064:function(u,h,t){var n=t(96499),e=t(23583),a=t(37540),s=TypeError;u.exports=function(i,f){var l,c;if(f==="string"&&e(l=i.toString)&&!a(c=n(l,i))||e(l=i.valueOf)&&!a(c=n(l,i))||f!=="string"&&e(l=i.toString)&&!a(c=n(l,i)))return c;throw new s("Can't convert object to primitive value")}},2068:function(u,h,t){var n=t(5683),e=TypeError;u.exports=function(a){if(n(a))throw new e("Can't call method on "+a);return a}},2209:function(u,h,t){var n=t(14304),e=t(73849).findLastIndex,a=t(23811);n({target:"Array",proto:!0},{findLastIndex:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)}}),a("findLastIndex")},2213:function(u,h,t){var n=t(92986),e=t(3438),a=TypeError,s=Object.getOwnPropertyDescriptor,i=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(f){return f instanceof TypeError}}();u.exports=i?function(f,l){if(e(f)&&!s(f,"length").writable)throw new a("Cannot set read only .length");return f.length=l}:function(f,l){return f.length=l}},2345:function(u){u.exports=function(h){try{var t=new Set,n={size:0,has:function(){return!0},keys:function(){return Object.defineProperty({},"next",{get:function(){return t.clear(),t.add(4),function(){return{done:!0}}}})}},e=t[h](n);return e.size!==1||e.values().next().value!==4}catch(a){return!1}}},2371:function(u,h,t){var n=t(14304),e=t(38941),a=t(66543),s=t(91384),i=t(80042),f=t(25001),l=t(37540),c=t(5406),d=t(72069),g=e("Reflect","construct"),p=Object.prototype,x=[].push,m=d(function(){function O(){}return!(g(function(){},[],O)instanceof O)}),S=!d(function(){g(function(){})}),E=m||S;n({target:"Reflect",stat:!0,forced:E,sham:E},{construct:function(A,T){i(A),f(T);var C=arguments.length<3?A:i(arguments[2]);if(S&&!m)return g(A,T,C);if(A===C){switch(T.length){case 0:return new A;case 1:return new A(T[0]);case 2:return new A(T[0],T[1]);case 3:return new A(T[0],T[1],T[2]);case 4:return new A(T[0],T[1],T[2],T[3])}var M=[null];return a(x,M,T),new(a(s,A,M))}var P=C.prototype,D=c(l(P)?P:p),F=a(A,D,T);return l(F)?F:D}})},2594:function(u,h,t){var n=t(7831).f;u.exports=function(e,a,s){s in e||n(e,s,{configurable:!0,get:function(){return a[s]},set:function(i){a[s]=i}})}},2725:function(u,h,t){var n=t(16142);u.exports=function(e,a,s){for(var i in a)n(e,i,a[i],s);return e}},2886:function(u,h,t){var n=t(14304),e=t(93976),a=Math.abs,s=Math.pow;n({target:"Math",stat:!0},{cbrt:function(f){var l=+f;return e(l)*s(a(l),.3333333333333333)}})},3037:function(u,h,t){var n=t(14304),e=t(96499),a=t(85156),s=t(24649),i=t(67805),f=t(55902),l=t(26035);n({target:"Promise",stat:!0,forced:l},{race:function(d){var g=this,p=s.f(g),x=p.reject,m=i(function(){var S=a(g.resolve);f(d,function(E){e(S,g,E).then(p.resolve,x)})});return m.error&&x(m.value),p.promise}})},3237:function(u){u.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},3438:function(u,h,t){var n=t(14274);u.exports=Array.isArray||function(a){return n(a)==="Array"}},3450:function(u){u.exports=function(h,t){var n=typeof Iterator=="function"&&Iterator.prototype[h];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}},3670:function(u,h,t){var n=t(14304),e=t(11286),a=t(12105),s=t(34338),i=t(79719),f=t(72069),l=RangeError,c=String,d=Math.floor,g=e(i),p=e("".slice),x=e(1.1.toFixed),m=function(C,M,P){return M===0?P:M%2===1?m(C,M-1,P*C):m(C*C,M/2,P)},S=function(C){for(var M=0,P=C;P>=4096;)M+=12,P/=4096;for(;P>=2;)M+=1,P/=2;return M},E=function(C,M,P){for(var D=-1,F=P;++D<6;)F+=M*C[D],C[D]=F%1e7,F=d(F/1e7)},O=function(C,M){for(var P=6,D=0;--P>=0;)D+=C[P],C[P]=d(D/M),D=D%M*1e7},A=function(C){for(var M=6,P="";--M>=0;)if(P!==""||M===0||C[M]!==0){var D=c(C[M]);P=P===""?D:P+g("0",7-D.length)+D}return P},T=f(function(){return x(8e-5,3)!=="0.000"||x(.9,0)!=="1"||x(1.255,2)!=="1.25"||x(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!f(function(){x({})});n({target:"Number",proto:!0,forced:T},{toFixed:function(M){var P=s(this),D=a(M),F=[0,0,0,0,0,0],$="",L="0",U,G,V,w;if(D<0||D>20)throw new l("Incorrect fraction digits");if(P!==P)return"NaN";if(P<=-1e21||P>=1e21)return c(P);if(P<0&&($="-",P=-P),P>1e-21)if(U=S(P*m(2,69,1))-69,G=U<0?P*m(2,-U,1):P/m(2,U,1),G*=4503599627370496,U=52-U,U>0){for(E(F,0,G),V=D;V>=7;)E(F,1e7,0),V-=7;for(E(F,m(10,V,1),0),V=U-1;V>=23;)O(F,8388608),V-=23;O(F,1<<V),E(F,1,1),O(F,2),L=A(F)}else E(F,0,G),E(F,1<<-U,0),L=A(F)+g("0",D);return D>0?(w=L.length,L=$+(w<=D?"0."+g("0",D-w)+L:p(L,0,w-D)+"."+p(L,w-D))):L=$+L,L}})},3676:function(u,h,t){var n=t(14304),e=t(96499),a=t(85156),s=t(38941),i=t(24649),f=t(67805),l=t(55902),c=t(26035),d="No one promise resolved";n({target:"Promise",stat:!0,forced:c},{any:function(p){var x=this,m=s("AggregateError"),S=i.f(x),E=S.resolve,O=S.reject,A=f(function(){var T=a(x.resolve),C=[],M=0,P=1,D=!1;l(p,function(F){var $=M++,L=!1;P++,e(T,x,F).then(function(U){L||D||(D=!0,E(U))},function(U){L||D||(L=!0,C[$]=U,--P||O(new m(C,d)))})}),--P||O(new m(C,d))});return A.error&&O(A.value),S.promise}})},3923:function(u,h,t){var n=t(34246),e=t(77422),a=t(72069),s=t(85156),i=t(13270),f=t(88037),l=t(507),c=t(17417),d=t(44241),g=t(66577),p=f.aTypedArray,x=f.exportTypedArrayMethod,m=n.Uint16Array,S=m&&e(m.prototype.sort),E=!!S&&!(a(function(){S(new m(2),null)})&&a(function(){S(new m(2),{})})),O=!!S&&!a(function(){if(d)return d<74;if(l)return l<67;if(c)return!0;if(g)return g<602;var T=new m(516),C=Array(516),M,P;for(M=0;M<516;M++)P=M%4,T[M]=515-M,C[M]=M-2*P+3;for(S(T,function(D,F){return(D/4|0)-(F/4|0)}),M=0;M<516;M++)if(T[M]!==C[M])return!0}),A=function(T){return function(C,M){return T!==void 0?+T(C,M)||0:M!==M?-1:C!==C?1:C===0&&M===0?1/C>0&&1/M<0?1:-1:C>M}};x("sort",function(C){return C!==void 0&&s(C),O?S(this,C):i(p(this),A(C))},!O||E)},4193:function(u,h,t){t(12272);var n=t(14304),e=t(83481);n({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==e},{trimStart:e})},4383:function(u,h,t){var n=t(14304),e=t(92986),a=t(7831).f;n({target:"Object",stat:!0,forced:Object.defineProperty!==a,sham:!e},{defineProperty:a})},4652:function(u,h,t){var n=t(12105),e=Math.max,a=Math.min;u.exports=function(s,i){var f=n(s);return f<0?e(f+i,0):a(f,i)}},4983:function(u,h,t){var n=t(14304),e=t(88037),a=e.NATIVE_ARRAY_BUFFER_VIEWS;n({target:"ArrayBuffer",stat:!0,forced:!a},{isView:e.isView})},5220:function(u,h,t){var n=t(82628);u.exports=function(e,a,s){for(var i=0,f=arguments.length>2?s:n(a),l=new e(f);f>i;)l[i]=a[i++];return l}},5286:function(u,h,t){var n=t(18257);u.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},5287:function(u,h,t){var n=t(72069);u.exports=function(e){return n(function(){var a=""[e]('"');return a!==a.toLowerCase()||a.split('"').length>3})}},5406:function(u,h,t){var n=t(25001),e=t(61963),a=t(75785),s=t(19423),i=t(96439),f=t(85501),l=t(44869),c=">",d="<",g="prototype",p="script",x=l("IE_PROTO"),m=function(){},S=function(C){return d+p+c+C+d+"/"+p+c},E=function(C){C.write(S("")),C.close();var M=C.parentWindow.Object;return C=null,M},O=function(){var C=f("iframe"),M="java"+p+":",P;return C.style.display="none",i.appendChild(C),C.src=String(M),P=C.contentWindow.document,P.open(),P.write(S("document.F=Object")),P.close(),P.F},A,T=function(){try{A=new ActiveXObject("htmlfile")}catch(M){}T=typeof document!="undefined"?document.domain&&A?E(A):O():E(A);for(var C=a.length;C--;)delete T[g][a[C]];return T()};s[x]=!0,u.exports=Object.create||function(M,P){var D;return M!==null?(m[g]=n(M),D=new m,m[g]=null,D[x]=M):D=T(),P===void 0?D:e.f(D,P)}},5683:function(u){u.exports=function(h){return h==null}},5805:function(u,h,t){var n=t(14304),e=t(38941),a=t(81191),s=t(72069),i=t(5406),f=t(18526),l=t(7831).f,c=t(16142),d=t(85500),g=t(94879),p=t(12833),x=t(25001),m=t(58434),S=t(15453),E=t(74408),O=t(40851),A=t(82367),T=t(92986),C=t(70457),M="DOMException",P="DATA_CLONE_ERR",D=e("Error"),F=e(M)||function(){try{var ht=e("MessageChannel")||a("worker_threads").MessageChannel;new ht().port1.postMessage(new WeakMap)}catch(Ot){if(Ot.name===P&&Ot.code===25)return Ot.constructor}}(),$=F&&F.prototype,L=D.prototype,U=A.set,G=A.getterFor(M),V="stack"in new D(M),w=function(ht){return g(E,ht)&&E[ht].m?E[ht].c:0},H=function(){p(this,W);var Ot=arguments.length,bt=S(Ot<1?void 0:arguments[0]),Gt=S(Ot<2?void 0:arguments[1],"Error"),Ft=w(Gt);if(U(this,{type:M,name:Gt,message:bt,code:Ft}),T||(this.name=Gt,this.message=bt,this.code=Ft),V){var wt=new D(bt);wt.name=M,l(this,"stack",f(1,O(wt.stack,1)))}},W=H.prototype=i(L),K=function(ht){return{enumerable:!0,configurable:!0,get:ht}},k=function(ht){return K(function(){return G(this)[ht]})};T&&(d(W,"code",k("code")),d(W,"message",k("message")),d(W,"name",k("name"))),l(W,"constructor",f(1,H));var rt=s(function(){return!(new F instanceof D)}),q=rt||s(function(){return L.toString!==m||String(new F(1,2))!=="2: 1"}),Q=rt||s(function(){return new F(1,"DataCloneError").code!==25}),ct=rt||F[P]!==25||$[P]!==25,st=C?q||Q||ct:rt;n({global:!0,constructor:!0,forced:st},{DOMException:st?H:F});var xt=e(M),Rt=xt.prototype;q&&(C||F===xt)&&c(Rt,"toString",m),Q&&T&&F===xt&&d(Rt,"code",K(function(){return w(x(this).name)}));for(var Mt in E)if(g(E,Mt)){var _t=E[Mt],Wt=_t.s,Lt=f(6,_t.c);g(xt,Wt)||l(xt,Wt,Lt),g(Rt,Wt)||l(Rt,Wt,Lt)}},6116:function(u,h,t){var n=t(11286),e=t(88037),a=t(81499),s=n(a),i=e.aTypedArray,f=e.exportTypedArrayMethod;f("copyWithin",function(c,d){return s(i(this),c,d,arguments.length>2?arguments[2]:void 0)})},6130:function(u,h,t){var n=t(14304),e=t(34246),a=t(78401);n({global:!0},{Reflect:{}}),a(e.Reflect,"Reflect",!0)},6148:function(u,h,t){var n=t(72069);u.exports=function(e,a){var s=[][e];return!!s&&n(function(){s.call(null,a||function(){return 1},1)})}},6210:function(u){var h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=h+"+/",n=h+"-_",e=function(a){for(var s={},i=0;i<64;i++)s[a.charAt(i)]=i;return s};u.exports={i2c:t,c2i:e(t),i2cUrl:n,c2iUrl:e(n)}},6242:function(u,h,t){var n=t(11286),e=t(94879),a=t(36859),s=t(94319).indexOf,i=t(19423),f=n([].push);u.exports=function(l,c){var d=a(l),g=0,p=[],x;for(x in d)!e(i,x)&&e(d,x)&&f(p,x);for(;c.length>g;)e(d,x=c[g++])&&(~s(p,x)||f(p,x));return p}},6583:function(u,h,t){var n=t(89378),e=t(34440);n("Set",function(a){return function(){return a(this,arguments.length?arguments[0]:void 0)}},e)},6644:function(u,h,t){var n=t(14304),e=t(25001),a=t(55902),s=t(10613),i=[].push;n({target:"Iterator",proto:!0,real:!0},{toArray:function(){var l=[];return a(s(e(this)),i,{that:l,IS_RECORD:!0}),l}})},6875:function(u,h,t){var n=t(14304),e=t(77422),a=t(72069),s=t(17468),i=t(25001),f=t(4652),l=t(45344),c=s.ArrayBuffer,d=s.DataView,g=d.prototype,p=e(c.prototype.slice),x=e(g.getUint8),m=e(g.setUint8),S=a(function(){return!new c(2).slice(1,void 0).byteLength});n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:S},{slice:function(O,A){if(p&&A===void 0)return p(i(this),O);for(var T=i(this).byteLength,C=f(O,T),M=f(A===void 0?T:A,T),P=new c(l(M-C)),D=new d(this),F=new d(P),$=0;C<M;)m(F,$++,x(D,C++));return P}})},7307:function(u,h,t){var n=t(18257);u.exports=/ipad|iphone|ipod/i.test(n)&&typeof Pebble!="undefined"},7369:function(u,h,t){var n=t(88037),e=t(97264).left,a=n.aTypedArray,s=n.exportTypedArrayMethod;s("reduce",function(f){var l=arguments.length;return e(a(this),f,l,l>1?arguments[1]:void 0)})},7487:function(u,h,t){var n=t(14304),e=t(34246),a=t(66543),s=t(22806),i=t(24649),f=t(85156),l=t(67805),c=e.Promise,d=!1,g=!c||!c.try||l(function(){c.try(function(p){d=p===8},8)}).error||!d;n({target:"Promise",stat:!0,forced:g},{try:function(p){var x=arguments.length>1?s(arguments,1):[],m=i.f(this),S=l(function(){return a(f(p),void 0,x)});return(S.error?m.reject:m.resolve)(S.value),m.promise}})},7828:function(u,h,t){var n=t(34246),e=t(70443),a=t(23583),s=t(5406),i=t(26313),f=t(16142),l=t(18565),c=t(70457),d="USE_FUNCTION_CONSTRUCTOR",g=l("asyncIterator"),p=n.AsyncIterator,x=e.AsyncIteratorPrototype,m,S;if(x)m=x;else if(a(p))m=p.prototype;else if(e[d]||n[d])try{S=i(i(i(Function("return async function*(){}()")()))),i(S)===Object.prototype&&(m=S)}catch(E){}m?c&&(m=s(m)):m={},a(m[g])||f(m,g,function(){return this}),u.exports=m},7831:function(u,h,t){var n=t(92986),e=t(52515),a=t(356),s=t(25001),i=t(50035),f=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor,d="enumerable",g="configurable",p="writable";h.f=n?a?function(m,S,E){if(s(m),S=i(S),s(E),typeof m=="function"&&S==="prototype"&&"value"in E&&p in E&&!E[p]){var O=c(m,S);O&&O[p]&&(m[S]=E.value,E={configurable:g in E?E[g]:O[g],enumerable:d in E?E[d]:O[d],writable:!1})}return l(m,S,E)}:l:function(m,S,E){if(s(m),S=i(S),s(E),e)try{return l(m,S,E)}catch(O){}if("get"in E||"set"in E)throw new f("Accessors not supported");return"value"in E&&(m[S]=E.value),m}},8235:function(u,h,t){var n=t(14304),e=t(34246),a=t(23115).set,s=t(9934),i=e.setImmediate?s(a,!1):a;n({global:!0,bind:!0,enumerable:!0,forced:e.setImmediate!==i},{setImmediate:i})},8510:function(u,h,t){var n=t(14304),e=t(22149).codeAt;n({target:"String",proto:!0},{codePointAt:function(s){return e(this,s)}})},8511:function(u,h,t){var n=t(92986),e=t(72069),a=t(11286),s=t(26313),i=t(18350),f=t(36859),l=t(79591).f,c=a(l),d=a([].push),g=n&&e(function(){var x=Object.create(null);return x[2]=2,!c(x,2)}),p=function(x){return function(m){for(var S=f(m),E=i(S),O=g&&s(S)===null,A=E.length,T=0,C=[],M;A>T;)M=E[T++],(!n||(O?M in S:c(S,M)))&&d(C,x?[M,S[M]]:S[M]);return C}};u.exports={entries:p(!0),values:p(!1)}},8565:function(u,h,t){var n=t(83749);n("species")},8695:function(u,h,t){var n=t(34246),e=t(96499),a=t(88037),s=t(82628),i=t(58143),f=t(49671),l=t(72069),c=n.RangeError,d=n.Int8Array,g=d&&d.prototype,p=g&&g.set,x=a.aTypedArray,m=a.exportTypedArrayMethod,S=!l(function(){var O=new Uint8ClampedArray(2);return e(p,O,{length:1,0:3},1),O[1]!==3}),E=S&&a.NATIVE_ARRAY_BUFFER_VIEWS&&l(function(){var O=new d(2);return O.set(1),O.set("2",1),O[0]!==0||O[1]!==2});m("set",function(A){x(this);var T=i(arguments.length>1?arguments[1]:void 0,1),C=f(A);if(S)return e(p,this,C,T);var M=this.length,P=s(C),D=0;if(P+T>M)throw new c("Wrong length");for(;D<P;)this[T+D]=C[D++]},!S||E)},8720:function(u,h,t){var n=t(16142),e=t(58434),a=Error.prototype;a.toString!==e&&n(a,"toString",e)},8790:function(u,h,t){var n=t(18565),e=n("match");u.exports=function(a){var s=/./;try{"/./"[a](s)}catch(i){try{return s[e]=!1,"/./"[a](s)}catch(f){}}return!1}},8854:function(u,h,t){var n=t(14304),e=t(61607).start,a=t(36945);n({target:"String",proto:!0,forced:a},{padStart:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)}})},8894:function(u,h,t){var n=t(14304),e=t(11286),a=t(17361),s=e("".charAt),i=e("".charCodeAt),f=e(/./.exec),l=e(1.1.toString),c=e("".toUpperCase),d=/[\w*+\-./@]/,g=function(p,x){for(var m=l(p,16);m.length<x;)m="0"+m;return m};n({global:!0},{escape:function(x){for(var m=a(x),S="",E=m.length,O=0,A,T;O<E;)A=s(m,O++),f(d,A)?S+=A:(T=i(A,0),T<256?S+="%"+g(T,2):S+="%u"+c(g(T,4)));return S}})},9111:function(u,h,t){var n=t(14304),e=t(22459);n({target:"Math",stat:!0},{trunc:e})},9205:function(u,h,t){var n=t(67878),e=t(23583),a=t(14274),s=t(18565),i=s("toStringTag"),f=Object,l=a(function(){return arguments}())==="Arguments",c=function(d,g){try{return d[g]}catch(p){}};u.exports=n?a:function(d){var g,p,x;return d===void 0?"Undefined":d===null?"Null":typeof(p=c(g=f(d),i))=="string"?p:l?a(g):(x=a(g))==="Object"&&e(g.callee)?"Arguments":x}},9372:function(u,h,t){var n=t(14304),e=t(72302),a=t(36859),s=Array,i=function(){try{[].with({valueOf:function(){throw 4}},null)}catch(f){return f!==4}}();n({target:"Array",proto:!0,forced:i},{with:function(f,l){return e(a(this),s,f,l)}})},9450:function(u,h,t){var n=t(12105),e=t(45344),a=RangeError;u.exports=function(s){if(s===void 0)return 0;var i=n(s),f=e(i);if(i!==f)throw new a("Wrong length or index");return f}},9573:function(u,h,t){var n=t(96499);u.exports=function(e,a,s){for(var i=s?e:e.iterator,f=e.next,l,c;!(l=n(f,i)).done;)if(c=a(l.value),c!==void 0)return c}},9709:function(u,h,t){var n=t(34246),e=t(28167),a=t(45526),s=t(23115).set,i=t(76895),f=t(5286),l=t(7307),c=t(67722),d=t(91707),g=n.MutationObserver||n.WebKitMutationObserver,p=n.document,x=n.process,m=n.Promise,S=e("queueMicrotask"),E,O,A,T,C;if(!S){var M=new i,P=function(){var D,F;for(d&&(D=x.domain)&&D.exit();F=M.get();)try{F()}catch($){throw M.head&&E(),$}D&&D.enter()};!f&&!d&&!c&&g&&p?(O=!0,A=p.createTextNode(""),new g(P).observe(A,{characterData:!0}),E=function(){A.data=O=!O}):!l&&m&&m.resolve?(T=m.resolve(void 0),T.constructor=m,C=a(T.then,T),E=function(){C(P)}):d?E=function(){x.nextTick(P)}:(s=a(s,n),E=function(){s(P)}),S=function(D){M.head||E(),M.add(D)}}u.exports=S},9711:function(u,h,t){var n=t(88037),e=t(66655).some,a=n.aTypedArray,s=n.exportTypedArrayMethod;s("some",function(f){return e(a(this),f,arguments.length>1?arguments[1]:void 0)})},9798:function(u,h,t){var n=t(14304),e=t(66543),a=t(85156),s=t(25001),i=t(72069),f=!i(function(){Reflect.apply(function(){})});n({target:"Reflect",stat:!0,forced:f},{apply:function(c,d,g){return e(a(c),d,s(g))}})},9839:function(u,h,t){var n=t(14304),e=t(49366),a=Math.acosh,s=Math.log,i=Math.sqrt,f=Math.LN2,l=!a||Math.floor(a(Number.MAX_VALUE))!==710||a(1/0)!==1/0;n({target:"Math",stat:!0,forced:l},{acosh:function(d){var g=+d;return g<1?NaN:g>9490626562425156e-8?s(g)+f:e(g-1+i(g-1)*i(g+1))}})},9934:function(u,h,t){var n=t(34246),e=t(66543),a=t(23583),s=t(21501),i=t(18257),f=t(22806),l=t(95486),c=n.Function,d=/MSIE .\./.test(i)||s==="BUN"&&function(){var g=n.Bun.version.split(".");return g.length<3||g[0]==="0"&&(g[1]<3||g[1]==="3"&&g[2]==="0")}();u.exports=function(g,p){var x=p?2:1;return d?function(m,S){var E=l(arguments.length,1)>x,O=a(m)?m:c(m),A=E?f(arguments,x):[],T=E?function(){e(O,this,A)}:O;return p?g(T,S):g(T)}:g}},9943:function(u,h,t){var n=t(14304),e=t(68422),a=t(5287);n({target:"String",proto:!0,forced:a("italics")},{italics:function(){return e(this,"i","","")}})},10042:function(u,h,t){t(21084)},10218:function(u,h,t){var n=t(14304),e=t(96499),a=t(70457),s=t(86588),i=t(23583),f=t(26820),l=t(26313),c=t(15861),d=t(78401),g=t(90809),p=t(16142),x=t(18565),m=t(29107),S=t(24519),E=s.PROPER,O=s.CONFIGURABLE,A=S.IteratorPrototype,T=S.BUGGY_SAFARI_ITERATORS,C=x("iterator"),M="keys",P="values",D="entries",F=function(){return this};u.exports=function($,L,U,G,V,w,H){f(U,L,G);var W=function(Mt){if(Mt===V&&Q)return Q;if(!T&&Mt&&Mt in rt)return rt[Mt];switch(Mt){case M:return function(){return new U(this,Mt)};case P:return function(){return new U(this,Mt)};case D:return function(){return new U(this,Mt)}}return function(){return new U(this)}},K=L+" Iterator",k=!1,rt=$.prototype,q=rt[C]||rt["@@iterator"]||V&&rt[V],Q=!T&&q||W(V),ct=L==="Array"&&rt.entries||q,st,xt,Rt;if(ct&&(st=l(ct.call(new $)),st!==Object.prototype&&st.next&&(!a&&l(st)!==A&&(c?c(st,A):i(st[C])||p(st,C,F)),d(st,K,!0,!0),a&&(m[K]=F))),E&&V===P&&q&&q.name!==P&&(!a&&O?g(rt,"name",P):(k=!0,Q=function(){return e(q,this)})),V)if(xt={values:W(P),keys:w?Q:W(M),entries:W(D)},H)for(Rt in xt)(T||k||!(Rt in rt))&&p(rt,Rt,xt[Rt]);else n({target:L,proto:!0,forced:T||k},xt);return(!a||H)&&rt[C]!==Q&&p(rt,C,Q,{name:V}),m[L]=Q,xt}},10418:function(u,h,t){var n=t(93976),e=t(66316),a=Math.abs,s=2220446049250313e-31;u.exports=function(i,f,l,c){var d=+i,g=a(d),p=n(d);if(g<c)return p*e(g/c/f)*c*f;var x=(1+f/s)*g,m=x-(x-g);return m>l||m!==m?p*(1/0):p*m}},10443:function(u,h,t){var n=t(11286),e=t(3438),a=t(23583),s=t(14274),i=t(17361),f=n([].push);u.exports=function(l){if(a(l))return l;if(e(l)){for(var c=l.length,d=[],g=0;g<c;g++){var p=l[g];typeof p=="string"?f(d,p):(typeof p=="number"||s(p)==="Number"||s(p)==="String")&&f(d,i(p))}var x=d.length,m=!0;return function(S,E){if(m)return m=!1,E;if(e(this))return E;for(var O=0;O<x;O++)if(d[O]===S)return E}}}},10512:function(u,h,t){var n=t(85156),e=t(5683);u.exports=function(a,s){var i=a[s];return e(i)?void 0:n(i)}},10613:function(u){u.exports=function(h){return{iterator:h,next:h.next,done:!1}}},10659:function(u){u.exports=function(h,t){return{value:h,done:t}}},10901:function(u,h,t){var n=t(16142),e=t(11286),a=t(17361),s=t(95486),i=URLSearchParams,f=i.prototype,l=e(f.append),c=e(f.delete),d=e(f.forEach),g=e([].push),p=new i("a=1&a=2&b=3");p.delete("a",1),p.delete("b",void 0),p+""!="a=2"&&n(f,"delete",function(x){var m=arguments.length,S=m<2?void 0:arguments[1];if(m&&S===void 0)return c(this,x);var E=[];d(this,function(F,$){g(E,{key:$,value:F})}),s(m,1);for(var O=a(x),A=a(S),T=0,C=0,M=!1,P=E.length,D;T<P;)D=E[T++],M||D.key===O?(M=!0,c(this,D.key)):C++;for(;C<P;)D=E[C++],D.key===O&&D.value===A||l(this,D.key,D.value)},{enumerable:!0,unsafe:!0})},11042:function(u,h,t){var n=t(14304),e=t(97264).left,a=t(6148),s=t(44241),i=t(91707),f=!i&&s>79&&s<83,l=f||!a("reduce");n({target:"Array",proto:!0,forced:l},{reduce:function(d){var g=arguments.length;return e(this,d,g,g>1?arguments[1]:void 0)}})},11051:function(u,h,t){var n=t(11286),e=t(72069),a=t(23583),s=t(9205),i=t(38941),f=t(84352),l=function(){},c=i("Reflect","construct"),d=/^\s*(?:class|function)\b/,g=n(d.exec),p=!d.test(l),x=function(E){if(!a(E))return!1;try{return c(l,[],E),!0}catch(O){return!1}},m=function(E){if(!a(E))return!1;switch(s(E)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!g(d,f(E))}catch(O){return!0}};m.sham=!0,u.exports=!c||e(function(){var S;return x(x.call)||!x(Object)||!x(function(){S=!0})||S})?m:x},11286:function(u,h,t){var n=t(87878),e=Function.prototype,a=e.call,s=n&&e.bind.bind(a,a);u.exports=n?s:function(i){return function(){return a.apply(i,arguments)}}},11344:function(u,h,t){var n=t(89935),e=TypeError;u.exports=function(a){var s=n(a,"number");if(typeof s=="number")throw new e("Can't convert number to bigint");return BigInt(s)}},11361:function(u,h,t){var n=t(14304),e=t(92986),a=t(57629),s=t(85156),i=t(49671),f=t(7831);e&&n({target:"Object",proto:!0,forced:a},{__defineSetter__:function(c,d){f.f(i(this),c,{set:s(d),enumerable:!0,configurable:!0})}})},11563:function(u,h,t){var n=t(14304),e=t(16885);n({target:"Reflect",stat:!0},{ownKeys:e})},11565:function(u,h,t){var n=t(14304),e=t(34246),a=t(12833),s=t(25001),i=t(23583),f=t(26313),l=t(85500),c=t(84082),d=t(72069),g=t(94879),p=t(18565),x=t(24519).IteratorPrototype,m=t(92986),S=t(70457),E="constructor",O="Iterator",A=p("toStringTag"),T=TypeError,C=e[O],M=S||!i(C)||C.prototype!==x||!d(function(){C({})}),P=function(){if(a(this,x),f(this)===x)throw new T("Abstract class Iterator not directly constructable")},D=function(F,$){m?l(x,F,{configurable:!0,get:function(){return $},set:function(L){if(s(this),this===x)throw new T("You can't redefine this property");g(this,F)?this[F]=L:c(this,F,L)}}):x[F]=$};g(x,A)||D(A,O),(M||!g(x,E)||x[E]===Object)&&D(E,P),P.prototype=x,n({global:!0,constructor:!0,forced:M},{Iterator:P})},11566:function(u,h,t){var n=t(37540),e=t(14274),a=t(18565),s=a("match");u.exports=function(i){var f;return n(i)&&((f=i[s])!==void 0?!!f:e(i)==="RegExp")}},11733:function(u,h,t){var n=t(14304),e=t(96499),a=t(85156),s=t(24649),i=t(67805),f=t(55902),l=t(26035);n({target:"Promise",stat:!0,forced:l},{all:function(d){var g=this,p=s.f(g),x=p.resolve,m=p.reject,S=i(function(){var E=a(g.resolve),O=[],A=0,T=1;f(d,function(C){var M=A++,P=!1;T++,e(E,g,C).then(function(D){P||(P=!0,O[M]=D,--T||x(O))},m)}),--T||x(O)});return S.error&&m(S.value),p.promise}})},11890:function(u,h,t){var n=t(11286),e=t(72069),a=t(61607).start,s=RangeError,i=isFinite,f=Math.abs,l=Date.prototype,c=l.toISOString,d=n(l.getTime),g=n(l.getUTCDate),p=n(l.getUTCFullYear),x=n(l.getUTCHours),m=n(l.getUTCMilliseconds),S=n(l.getUTCMinutes),E=n(l.getUTCMonth),O=n(l.getUTCSeconds);u.exports=e(function(){return c.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!e(function(){c.call(new Date(NaN))})?function(){if(!i(d(this)))throw new s("Invalid time value");var T=this,C=p(T),M=m(T),P=C<0?"-":C>9999?"+":"";return P+a(f(C),P?6:4,0)+"-"+a(E(T)+1,2,0)+"-"+a(g(T),2,0)+"T"+a(x(T),2,0)+":"+a(S(T),2,0)+":"+a(O(T),2,0)+"."+a(M,3,0)+"Z"}:c},12105:function(u,h,t){var n=t(22459);u.exports=function(e){var a=+e;return a!==a||a===0?0:n(a)}},12124:function(u,h,t){var n=t(96499),e=t(25001),a=t(10613),s=t(81077);u.exports=function(i,f){(!f||typeof i!="string")&&e(i);var l=s(i);return a(e(l!==void 0?n(l,i):i))}},12272:function(u,h,t){var n=t(14304),e=t(83481);n({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==e},{trimLeft:e})},12317:function(u,h,t){var n=t(34246),e=t(72069),a=t(11286),s=t(88037),i=t(35054),f=t(18565),l=f("iterator"),c=n.Uint8Array,d=a(i.values),g=a(i.keys),p=a(i.entries),x=s.aTypedArray,m=s.exportTypedArrayMethod,S=c&&c.prototype,E=!e(function(){S[l].call([1])}),O=!!S&&S.values&&S[l]===S.values&&S.values.name==="values",A=function(){return d(x(this))};m("entries",function(){return p(x(this))},E),m("keys",function(){return g(x(this))},E),m("values",A,E||!O,{name:"values"}),m(l,A,E||!O,{name:"values"})},12384:function(u,h,t){var n=t(82453),e=TypeError;u.exports=function(a,s){if(!delete a[s])throw new e("Cannot delete property "+n(s)+" of "+n(a))}},12833:function(u,h,t){var n=t(95307),e=TypeError;u.exports=function(a,s){if(n(s,a))return a;throw new e("Incorrect invocation")}},13270:function(u,h,t){var n=t(22806),e=Math.floor,a=function(s,i){var f=s.length;if(f<8)for(var l=1,c,d;l<f;){for(d=l,c=s[l];d&&i(s[d-1],c)>0;)s[d]=s[--d];d!==l++&&(s[d]=c)}else for(var g=e(f/2),p=a(n(s,0,g),i),x=a(n(s,g),i),m=p.length,S=x.length,E=0,O=0;E<m||O<S;)s[E+O]=E<m&&O<S?i(p[E],x[O])<=0?p[E++]:x[O++]:E<m?p[E++]:x[O++];return s};u.exports=a},13278:function(u,h,t){var n=t(72069),e=t(23583),a=/#|\.prototype\./,s=function(d,g){var p=f[i(d)];return p===c?!0:p===l?!1:e(g)?n(g):!!g},i=s.normalize=function(d){return String(d).replace(a,".").toLowerCase()},f=s.data={},l=s.NATIVE="N",c=s.POLYFILL="P";u.exports=s},13313:function(u,h,t){var n=t(88037),e=t(66655).map,a=n.aTypedArray,s=n.getTypedArrayConstructor,i=n.exportTypedArrayMethod;i("map",function(l){return e(a(this),l,arguments.length>1?arguments[1]:void 0,function(c,d){return new(s(c))(d)})})},13349:function(u,h,t){var n=t(66655).forEach,e=t(6148),a=e("forEach");u.exports=a?[].forEach:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}},13728:function(u,h,t){var n=t(14304),e=t(8511).entries;n({target:"Object",stat:!0},{entries:function(s){return e(s)}})},13749:function(u,h,t){var n=t(11286),e=t(72069),a=t(23583),s=t(94879),i=t(92986),f=t(86588).CONFIGURABLE,l=t(84352),c=t(82367),d=c.enforce,g=c.get,p=String,x=Object.defineProperty,m=n("".slice),S=n("".replace),E=n([].join),O=i&&!e(function(){return x(function(){},"length",{value:8}).length!==8}),A=String(String).split("String"),T=u.exports=function(C,M,P){m(p(M),0,7)==="Symbol("&&(M="["+S(p(M),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),P&&P.getter&&(M="get "+M),P&&P.setter&&(M="set "+M),(!s(C,"name")||f&&C.name!==M)&&(i?x(C,"name",{value:M,configurable:!0}):C.name=M),O&&P&&s(P,"arity")&&C.length!==P.arity&&x(C,"length",{value:P.arity});try{P&&s(P,"constructor")&&P.constructor?i&&x(C,"prototype",{writable:!1}):C.prototype&&(C.prototype=void 0)}catch(F){}var D=d(C);return s(D,"source")||(D.source=E(A,typeof M=="string"?M:"")),C};Function.prototype.toString=T(function(){return a(this)&&g(this).source||l(this)},"toString")},13944:function(u){u.exports=Object.is||function(t,n){return t===n?t!==0||1/t===1/n:t!==t&&n!==n}},14013:function(u,h,t){var n=t(14304),e=t(70457),a=t(37130).CONSTRUCTOR,s=t(98844),i=t(38941),f=t(23583),l=t(16142),c=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(g){return this.then(void 0,g)}}),!e&&f(s)){var d=i("Promise").prototype.catch;c.catch!==d&&l(c,"catch",d,{unsafe:!0})}},14038:function(u,h,t){var n=t(94879),e=t(16142),a=t(84306),s=t(18565),i=s("toPrimitive"),f=Date.prototype;n(f,i)||e(f,i,a)},14274:function(u,h,t){var n=t(11286),e=n({}.toString),a=n("".slice);u.exports=function(s){return a(e(s),8,-1)}},14304:function(u,h,t){var n=t(34246),e=t(71349).f,a=t(90809),s=t(16142),i=t(36003),f=t(93706),l=t(13278);u.exports=function(c,d){var g=c.target,p=c.global,x=c.stat,m,S,E,O,A,T;if(p?S=n:x?S=n[g]||i(g,{}):S=n[g]&&n[g].prototype,S)for(E in d){if(A=d[E],c.dontCallGetSet?(T=e(S,E),O=T&&T.value):O=S[E],m=l(p?E:g+(x?".":"#")+E,c.forced),!m&&O!==void 0){if(typeof A==typeof O)continue;f(A,O)}(c.sham||O&&O.sham)&&a(A,"sham",!0),s(S,E,A,c)}}},14371:function(u,h,t){var n=t(92986),e=t(39807).MISSED_STICKY,a=t(14274),s=t(85500),i=t(82367).get,f=RegExp.prototype,l=TypeError;n&&e&&s(f,"sticky",{configurable:!0,get:function(){if(this!==f){if(a(this)==="RegExp")return!!i(this).sticky;throw new l("Incompatible receiver, RegExp required")}}})},14527:function(u,h,t){var n=t(14304),e=t(79719);n({target:"String",proto:!0},{repeat:e})},14885:function(u,h,t){var n=t(14304),e=t(27534),a=t(72069),s=t(37540),i=t(31853).onFreeze,f=Object.freeze,l=a(function(){f(1)});n({target:"Object",stat:!0,forced:l,sham:!e},{freeze:function(d){return f&&s(d)?f(i(d)):d}})},15089:function(u,h,t){var n=t(14304),e=t(1333),a=t(94118),s=!a("isSupersetOf",function(i){return!i});n({target:"Set",proto:!0,real:!0,forced:s},{isSupersetOf:e})},15096:function(u,h,t){var n=t(14304);n({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)})},15224:function(u,h,t){var n=t(14304),e=t(11286),a=t(72069),s=t(34338),i=e(1.1.toPrecision),f=a(function(){return i(1,void 0)!=="1"})||!a(function(){i({})});n({target:"Number",proto:!0,forced:f},{toPrecision:function(c){return c===void 0?i(s(this)):i(s(this),c)}})},15282:function(u,h,t){var n=t(14304),e=t(72069),a=t(92292),s=t(94118),i=!s("intersection",function(f){return f.size===2&&f.has(1)&&f.has(2)})||e(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});n({target:"Set",proto:!0,real:!0,forced:i},{intersection:a})},15453:function(u,h,t){var n=t(17361);u.exports=function(e,a){return e===void 0?arguments.length<2?"":a:n(e)}},15599:function(u,h,t){var n=t(96499),e=t(11286),a=t(63194),s=t(25001),i=t(37540),f=t(45344),l=t(17361),c=t(2068),d=t(10512),g=t(24487),p=t(54932),x=t(33064),m=e("".indexOf);a("match",function(S,E,O){return[function(T){var C=c(this),M=i(T)?d(T,S):void 0;return M?n(M,T,C):new RegExp(T)[S](l(C))},function(A){var T=s(this),C=l(A),M=O(E,T,C);if(M.done)return M.value;var P=l(p(T));if(m(P,"g")===-1)return x(T,C);var D=m(P,"u")!==-1;T.lastIndex=0;for(var F=[],$=0,L;(L=x(T,C))!==null;){var U=l(L[0]);F[$]=U,U===""&&(T.lastIndex=g(C,f(T.lastIndex),D)),$++}return $===0?null:F}]})},15656:function(u,h,t){var n=t(14304),e=Math.asinh,a=Math.log,s=Math.sqrt;function i(l){var c=+l;return!isFinite(c)||c===0?c:c<0?-i(-c):a(c+s(c*c+1))}var f=!(e&&1/e(0)>0);n({target:"Math",stat:!0,forced:f},{asinh:i})},15855:function(u,h,t){var n=t(83749);n("hasInstance")},15861:function(u,h,t){var n=t(84756),e=t(37540),a=t(2068),s=t(53408);u.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,f={},l;try{l=n(Object.prototype,"__proto__","set"),l(f,[]),i=f instanceof Array}catch(c){}return function(d,g){return a(d),s(g),e(d)&&(i?l(d,g):d.__proto__=g),d}}():void 0)},16012:function(u,h,t){var n=t(14304),e=t(68422),a=t(5287);n({target:"String",proto:!0,forced:a("fontsize")},{fontsize:function(i){return e(this,"font","size",i)}})},16017:function(u,h,t){var n=t(14304),e=t(72069),a=t(49671),s=t(26313),i=t(87501),f=e(function(){s(1)});n({target:"Object",stat:!0,forced:f,sham:!i},{getPrototypeOf:function(c){return s(a(c))}})},16028:function(u,h,t){var n=t(88037),e=t(73849).findLastIndex,a=n.aTypedArray,s=n.exportTypedArrayMethod;s("findLastIndex",function(f){return e(a(this),f,arguments.length>1?arguments[1]:void 0)})},16142:function(u,h,t){var n=t(23583),e=t(7831),a=t(13749),s=t(36003);u.exports=function(i,f,l,c){c||(c={});var d=c.enumerable,g=c.name!==void 0?c.name:f;if(n(l)&&a(l,g,c),c.global)d?i[f]=l:s(f,l);else{try{c.unsafe?i[f]&&(d=!0):delete i[f]}catch(p){}d?i[f]=l:e.f(i,f,{value:l,enumerable:!1,configurable:!c.nonConfigurable,writable:!c.nonWritable})}return i}},16667:function(u,h,t){var n=t(92986),e=t(11286),a=t(96499),s=t(72069),i=t(18350),f=t(24943),l=t(79591),c=t(49671),d=t(72181),g=Object.assign,p=Object.defineProperty,x=e([].concat);u.exports=!g||s(function(){if(n&&g({b:1},g(p({},"a",{enumerable:!0,get:function(){p(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var m={},S={},E=Symbol("assign detection"),O="abcdefghijklmnopqrst";return m[E]=7,O.split("").forEach(function(A){S[A]=A}),g({},m)[E]!==7||i(g({},S)).join("")!==O})?function(S,E){for(var O=c(S),A=arguments.length,T=1,C=f.f,M=l.f;A>T;)for(var P=d(arguments[T++]),D=C?x(i(P),C(P)):i(P),F=D.length,$=0,L;F>$;)L=D[$++],(!n||a(M,P,L))&&(O[L]=P[L]);return O}:g},16864:function(u,h,t){var n=t(92986),e=t(86588).EXISTS,a=t(11286),s=t(85500),i=Function.prototype,f=a(i.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=a(l.exec),d="name";n&&!e&&s(i,d,{configurable:!0,get:function(){try{return c(l,f(this))[1]}catch(g){return""}}})},16885:function(u,h,t){var n=t(38941),e=t(11286),a=t(83258),s=t(24943),i=t(25001),f=e([].concat);u.exports=n("Reflect","ownKeys")||function(c){var d=a.f(i(c)),g=s.f;return g?f(d,g(c)):d}},16887:function(u,h,t){var n=t(25001),e=t(80042),a=t(5683),s=t(18565),i=s("species");u.exports=function(f,l){var c=n(f).constructor,d;return c===void 0||a(d=n(c)[i])?l:e(d)}},16893:function(u,h,t){var n=t(14304),e=t(96499),a=t(85156),s=t(24649),i=t(67805),f=t(55902),l=t(26035);n({target:"Promise",stat:!0,forced:l},{allSettled:function(d){var g=this,p=s.f(g),x=p.resolve,m=p.reject,S=i(function(){var E=a(g.resolve),O=[],A=0,T=1;f(d,function(C){var M=A++,P=!1;T++,e(E,g,C).then(function(D){P||(P=!0,O[M]={status:"fulfilled",value:D},--T||x(O))},function(D){P||(P=!0,O[M]={status:"rejected",reason:D},--T||x(O))})}),--T||x(O)});return S.error&&m(S.value),p.promise}})},16929:function(u,h,t){var n=t(72069),e=t(18526);u.exports=!n(function(){var a=new Error("a");return"stack"in a?(Object.defineProperty(a,"stack",e(1,7)),a.stack!==7):!0})},17063:function(u,h,t){var n=t(46868),e=t(88037).exportTypedArrayStaticMethod,a=t(66169);e("from",a,n)},17289:function(u,h,t){var n=t(14304),e=t(97264).right,a=t(6148),s=t(44241),i=t(91707),f=!i&&s>79&&s<83,l=f||!a("reduceRight");n({target:"Array",proto:!0,forced:l},{reduceRight:function(d){return e(this,d,arguments.length,arguments.length>1?arguments[1]:void 0)}})},17361:function(u,h,t){var n=t(9205),e=String;u.exports=function(a){if(n(a)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return e(a)}},17417:function(u,h,t){var n=t(18257);u.exports=/MSIE|Trident/.test(n)},17468:function(u,h,t){var n=t(34246),e=t(11286),a=t(92986),s=t(3237),i=t(86588),f=t(90809),l=t(85500),c=t(2725),d=t(72069),g=t(12833),p=t(12105),x=t(45344),m=t(9450),S=t(93279),E=t(25212),O=t(26313),A=t(15861),T=t(43011),C=t(22806),M=t(32345),P=t(93706),D=t(78401),F=t(82367),$=i.PROPER,L=i.CONFIGURABLE,U="ArrayBuffer",G="DataView",V="prototype",w="Wrong length",H="Wrong index",W=F.getterFor(U),K=F.getterFor(G),k=F.set,rt=n[U],q=rt,Q=q&&q[V],ct=n[G],st=ct&&ct[V],xt=Object.prototype,Rt=n.Array,Mt=n.RangeError,_t=e(T),Wt=e([].reverse),Lt=E.pack,ht=E.unpack,Ot=function(vt){return[vt&255]},bt=function(vt){return[vt&255,vt>>8&255]},Gt=function(vt){return[vt&255,vt>>8&255,vt>>16&255,vt>>24&255]},Ft=function(vt){return vt[3]<<24|vt[2]<<16|vt[1]<<8|vt[0]},wt=function(vt){return Lt(S(vt),23,4)},er=function(vt){return Lt(vt,52,8)},nr=function(vt,lt,Bt){l(vt[V],lt,{configurable:!0,get:function(){return Bt(this)[lt]}})},Zt=function(vt,lt,Bt,yt){var At=K(vt),Ct=m(Bt),It=!!yt;if(Ct+lt>At.byteLength)throw new Mt(H);var Jt=At.bytes,fr=Ct+At.byteOffset,Z=C(Jt,fr,fr+lt);return It?Z:Wt(Z)},Ut=function(vt,lt,Bt,yt,At,Ct){var It=K(vt),Jt=m(Bt),fr=yt(+At),Z=!!Ct;if(Jt+lt>It.byteLength)throw new Mt(H);for(var at=It.bytes,it=Jt+It.byteOffset,ot=0;ot<lt;ot++)at[it+ot]=fr[Z?ot:lt-ot-1]};if(!s)q=function(lt){g(this,Q);var Bt=m(lt);k(this,{type:U,bytes:_t(Rt(Bt),0),byteLength:Bt}),a||(this.byteLength=Bt,this.detached=!1)},Q=q[V],ct=function(lt,Bt,yt){g(this,st),g(lt,Q);var At=W(lt),Ct=At.byteLength,It=p(Bt);if(It<0||It>Ct)throw new Mt("Wrong offset");if(yt=yt===void 0?Ct-It:x(yt),It+yt>Ct)throw new Mt(w);k(this,{type:G,buffer:lt,byteLength:yt,byteOffset:It,bytes:At.bytes}),a||(this.buffer=lt,this.byteLength=yt,this.byteOffset=It)},st=ct[V],a&&(nr(q,"byteLength",W),nr(ct,"buffer",K),nr(ct,"byteLength",K),nr(ct,"byteOffset",K)),c(st,{getInt8:function(lt){return Zt(this,1,lt)[0]<<24>>24},getUint8:function(lt){return Zt(this,1,lt)[0]},getInt16:function(lt){var Bt=Zt(this,2,lt,arguments.length>1?arguments[1]:!1);return(Bt[1]<<8|Bt[0])<<16>>16},getUint16:function(lt){var Bt=Zt(this,2,lt,arguments.length>1?arguments[1]:!1);return Bt[1]<<8|Bt[0]},getInt32:function(lt){return Ft(Zt(this,4,lt,arguments.length>1?arguments[1]:!1))},getUint32:function(lt){return Ft(Zt(this,4,lt,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(lt){return ht(Zt(this,4,lt,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(lt){return ht(Zt(this,8,lt,arguments.length>1?arguments[1]:!1),52)},setInt8:function(lt,Bt){Ut(this,1,lt,Ot,Bt)},setUint8:function(lt,Bt){Ut(this,1,lt,Ot,Bt)},setInt16:function(lt,Bt){Ut(this,2,lt,bt,Bt,arguments.length>2?arguments[2]:!1)},setUint16:function(lt,Bt){Ut(this,2,lt,bt,Bt,arguments.length>2?arguments[2]:!1)},setInt32:function(lt,Bt){Ut(this,4,lt,Gt,Bt,arguments.length>2?arguments[2]:!1)},setUint32:function(lt,Bt){Ut(this,4,lt,Gt,Bt,arguments.length>2?arguments[2]:!1)},setFloat32:function(lt,Bt){Ut(this,4,lt,wt,Bt,arguments.length>2?arguments[2]:!1)},setFloat64:function(lt,Bt){Ut(this,8,lt,er,Bt,arguments.length>2?arguments[2]:!1)}});else{var tr=$&&rt.name!==U;!d(function(){rt(1)})||!d(function(){new rt(-1)})||d(function(){return new rt,new rt(1.5),new rt(NaN),rt.length!==1||tr&&!L})?(q=function(lt){return g(this,Q),M(new rt(m(lt)),this,q)},q[V]=Q,Q.constructor=q,P(q,rt)):tr&&L&&f(rt,"name",U),A&&O(st)!==xt&&A(st,xt);var Qt=new ct(new q(2)),Xt=e(st.setInt8);Qt.setInt8(0,2147483648),Qt.setInt8(1,2147483649),(Qt.getInt8(0)||!Qt.getInt8(1))&&c(st,{setInt8:function(lt,Bt){Xt(this,lt,Bt<<24>>24)},setUint8:function(lt,Bt){Xt(this,lt,Bt<<24>>24)}},{unsafe:!0})}D(q,U),D(ct,G),u.exports={ArrayBuffer:q,DataView:ct}},17535:function(u,h,t){var n=t(14304),e=t(55902),a=t(85156),s=t(25001),i=t(10613),f=t(99797),l=t(42455),c=t(66543),d=t(72069),g=TypeError,p=d(function(){[].keys().reduce(function(){},void 0)}),x=!p&&l("reduce",g);n({target:"Iterator",proto:!0,real:!0,forced:p||x},{reduce:function(S){s(this);try{a(S)}catch(C){f(this,"throw",C)}var E=arguments.length<2,O=E?void 0:arguments[1];if(x)return c(x,this,E?[S]:[S,O]);var A=i(this),T=0;if(e(A,function(C){E?(E=!1,O=C):O=S(O,C,T),T++},{IS_RECORD:!0}),E)throw new g("Reduce of empty iterator with no initial value");return O}})},17768:function(u,h,t){var n=t(84756),e=t(172);u.exports=n(e.proto,"size","get")||function(a){return a.size}},18180:function(u,h,t){t(31145);var n=t(14304),e=t(96499),a=t(23583),s=t(25001),i=t(17361),f=function(){var c=!1,d=/[ac]/;return d.exec=function(){return c=!0,/./.exec.apply(this,arguments)},d.test("abc")===!0&&c}(),l=/./.test;n({target:"RegExp",proto:!0,forced:!f},{test:function(c){var d=s(this),g=i(c),p=d.exec;if(!a(p))return e(l,d,g);var x=e(p,d,g);return x===null?!1:(s(x),!0)}})},18184:function(u,h,t){var n=t(14304),e=t(96499),a=t(11286),s=t(2068),i=t(17361),f=t(72069),l=Array,c=a("".charAt),d=a("".charCodeAt),g=a([].join),p="".toWellFormed,x="\uFFFD",m=p&&f(function(){return e(p,1)!=="1"});n({target:"String",proto:!0,forced:m},{toWellFormed:function(){var E=i(s(this));if(m)return e(p,E);for(var O=E.length,A=l(O),T=0;T<O;T++){var C=d(E,T);(C&63488)!==55296?A[T]=c(E,T):C>=56320||T+1>=O||(d(E,T+1)&64512)!==56320?A[T]=x:(A[T]=c(E,T),A[++T]=c(E,T))}return g(A,"")}})},18257:function(u,h,t){var n=t(34246),e=n.navigator,a=e&&e.userAgent;u.exports=a?String(a):""},18319:function(u,h,t){var n=t(45526),e=t(11286),a=t(49671),s=t(11051),i=t(46660),f=t(90619),l=t(10613),c=t(81077),d=t(10512),g=t(38941),p=t(65470),x=t(18565),m=t(56116),S=t(56245).toArray,E=x("asyncIterator"),O=e(p("Array","values")),A=e(O([]).next),T=function(){return new C(this)},C=function(M){this.iterator=O(M)};C.prototype.next=function(){return A(this.iterator)},u.exports=function(P){var D=this,F=arguments.length,$=F>1?arguments[1]:void 0,L=F>2?arguments[2]:void 0;return new(g("Promise"))(function(U){var G=a(P);$!==void 0&&($=n($,L));var V=d(G,E),w=V?void 0:c(G)||T,H=s(D)?new D:[],W=V?i(G,V):new m(l(f(G,w)));U(S(W,$,H))})}},18350:function(u,h,t){var n=t(6242),e=t(75785);u.exports=Object.keys||function(s){return n(s,e)}},18509:function(u,h,t){var n=t(14304),e=t(96499),a=t(77422),s=t(26820),i=t(10659),f=t(2068),l=t(45344),c=t(17361),d=t(25001),g=t(37540),p=t(14274),x=t(11566),m=t(54932),S=t(10512),E=t(16142),O=t(72069),A=t(18565),T=t(16887),C=t(24487),M=t(33064),P=t(82367),D=t(70457),F=A("matchAll"),$="RegExp String",L=$+" Iterator",U=P.set,G=P.getterFor(L),V=RegExp.prototype,w=TypeError,H=a("".indexOf),W=a("".matchAll),K=!!W&&!O(function(){W("a",/./)}),k=s(function(Q,ct,st,xt){U(this,{type:L,regexp:Q,string:ct,global:st,unicode:xt,done:!1})},$,function(){var Q=G(this);if(Q.done)return i(void 0,!0);var ct=Q.regexp,st=Q.string,xt=M(ct,st);return xt===null?(Q.done=!0,i(void 0,!0)):Q.global?(c(xt[0])===""&&(ct.lastIndex=C(st,l(ct.lastIndex),Q.unicode)),i(xt,!1)):(Q.done=!0,i(xt,!1))}),rt=function(q){var Q=d(this),ct=c(q),st=T(Q,RegExp),xt=c(m(Q)),Rt,Mt,_t;return Rt=new st(st===RegExp?Q.source:Q,xt),Mt=!!~H(xt,"g"),_t=!!~H(xt,"u"),Rt.lastIndex=l(Q.lastIndex),new k(Rt,ct,Mt,_t)};n({target:"String",proto:!0,forced:K},{matchAll:function(Q){var ct=f(this),st,xt,Rt,Mt;if(g(Q)){if(x(Q)&&(st=c(f(m(Q))),!~H(st,"g")))throw new w("`.matchAll` does not allow non-global regexes");if(K)return W(ct,Q);if(Rt=S(Q,F),Rt===void 0&&D&&p(Q)==="RegExp"&&(Rt=rt),Rt)return e(Rt,Q,ct)}else if(K)return W(ct,Q);return xt=c(ct),Mt=new RegExp(Q,"g"),D?e(rt,Mt,xt):Mt[F](xt)}}),D||F in V||E(V,F,rt)},18526:function(u){u.exports=function(h,t){return{enumerable:!(h&1),configurable:!(h&2),writable:!(h&4),value:t}}},18565:function(u,h,t){var n=t(34246),e=t(96731),a=t(94879),s=t(36374),i=t(39729),f=t(50234),l=n.Symbol,c=e("wks"),d=f?l.for||l:l&&l.withoutSetter||s;u.exports=function(g){return a(c,g)||(c[g]=i&&a(l,g)?l[g]:d("Symbol."+g)),c[g]}},19423:function(u){u.exports={}},19431:function(u,h,t){var n=t(14304),e=t(34246),a=t(38941),s=t(11286),i=t(96499),f=t(72069),l=t(17361),c=t(95486),d=t(6210).c2i,g=/[^\d+/a-z]/i,p=/[\t\n\f\r ]+/g,x=/[=]{1,2}$/,m=a("atob"),S=String.fromCharCode,E=s("".charAt),O=s("".replace),A=s(g.exec),T=!!m&&!f(function(){return m("aGk=")!=="hi"}),C=T&&f(function(){return m(" ")!==""}),M=T&&!f(function(){m("a")}),P=T&&!f(function(){m()}),D=T&&m.length!==1,F=!T||C||M||P||D;n({global:!0,bind:!0,enumerable:!0,forced:F},{atob:function(L){if(c(arguments.length,1),T&&!C&&!M)return i(m,e,L);var U=O(l(L),p,""),G="",V=0,w=0,H,W,K;if(U.length%4===0&&(U=O(U,x,"")),H=U.length,H%4===1||A(g,U))throw new(a("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;V<H;)W=E(U,V++),K=w%4?K*64+d[W]:d[W],w++%4&&(G+=S(255&K>>(-2*w&6)));return G}})},19680:function(u,h,t){t(23283);var n=t(14304),e=t(75176);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==e},{trimEnd:e})},19711:function(u,h,t){var n=t(88037),e=t(11286),a=n.aTypedArray,s=n.exportTypedArrayMethod,i=e([].join);s("join",function(l){return i(a(this),l)})},20095:function(u){var h=TypeError,t=9007199254740991;u.exports=function(n){if(n>t)throw h("Maximum allowed index exceeded");return n}},20150:function(u,h,t){var n=t(14304),e=t(96499),a=t(55902),s=t(85156),i=t(25001),f=t(10613),l=t(99797),c=t(42455),d=c("find",TypeError);n({target:"Iterator",proto:!0,real:!0,forced:d},{find:function(p){i(this);try{s(p)}catch(S){l(this,"throw",S)}if(d)return e(d,this,p);var x=f(this),m=0;return a(x,function(S,E){if(p(S,m++))return E(S)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},20238:function(u,h,t){var n=t(14304),e=t(70457),a=t(91707),s=t(34246),i=t(75081),f=t(96499),l=t(16142),c=t(15861),d=t(78401),g=t(36167),p=t(85156),x=t(23583),m=t(37540),S=t(12833),E=t(16887),O=t(23115).set,A=t(9709),T=t(99095),C=t(67805),M=t(76895),P=t(82367),D=t(98844),F=t(37130),$=t(24649),L="Promise",U=F.CONSTRUCTOR,G=F.REJECTION_EVENT,V=F.SUBCLASSING,w=P.getterFor(L),H=P.set,W=D&&D.prototype,K=D,k=W,rt=s.TypeError,q=s.document,Q=s.process,ct=$.f,st=ct,xt=!!(q&&q.createEvent&&s.dispatchEvent),Rt="unhandledrejection",Mt="rejectionhandled",_t=0,Wt=1,Lt=2,ht=1,Ot=2,bt,Gt,Ft,wt,er=function(yt){var At;return m(yt)&&x(At=yt.then)?At:!1},nr=function(yt,At){var Ct=At.value,It=At.state===Wt,Jt=It?yt.ok:yt.fail,fr=yt.resolve,Z=yt.reject,at=yt.domain,it,ot,pt;try{Jt?(It||(At.rejection===Ot&&Xt(At),At.rejection=ht),Jt===!0?it=Ct:(at&&at.enter(),it=Jt(Ct),at&&(at.exit(),pt=!0)),it===yt.promise?Z(new rt("Promise-chain cycle")):(ot=er(it))?f(ot,it,fr,Z):fr(it)):Z(Ct)}catch(nt){at&&!pt&&at.exit(),Z(nt)}},Zt=function(yt,At){yt.notified||(yt.notified=!0,A(function(){for(var Ct=yt.reactions,It;It=Ct.get();)nr(It,yt);yt.notified=!1,At&&!yt.rejection&&tr(yt)}))},Ut=function(yt,At,Ct){var It,Jt;xt?(It=q.createEvent("Event"),It.promise=At,It.reason=Ct,It.initEvent(yt,!1,!0),s.dispatchEvent(It)):It={promise:At,reason:Ct},!G&&(Jt=s["on"+yt])?Jt(It):yt===Rt&&T("Unhandled promise rejection",Ct)},tr=function(yt){f(O,s,function(){var At=yt.facade,Ct=yt.value,It=Qt(yt),Jt;if(It&&(Jt=C(function(){a?Q.emit("unhandledRejection",Ct,At):Ut(Rt,At,Ct)}),yt.rejection=a||Qt(yt)?Ot:ht,Jt.error))throw Jt.value})},Qt=function(yt){return yt.rejection!==ht&&!yt.parent},Xt=function(yt){f(O,s,function(){var At=yt.facade;a?Q.emit("rejectionHandled",At):Ut(Mt,At,yt.value)})},vt=function(yt,At,Ct){return function(It){yt(At,It,Ct)}},lt=function(yt,At,Ct){yt.done||(yt.done=!0,Ct&&(yt=Ct),yt.value=At,yt.state=Lt,Zt(yt,!0))},Bt=function(yt,At,Ct){if(!yt.done){yt.done=!0,Ct&&(yt=Ct);try{if(yt.facade===At)throw new rt("Promise can't be resolved itself");var It=er(At);It?A(function(){var Jt={done:!1};try{f(It,At,vt(Bt,Jt,yt),vt(lt,Jt,yt))}catch(fr){lt(Jt,fr,yt)}}):(yt.value=At,yt.state=Wt,Zt(yt,!1))}catch(Jt){lt({done:!1},Jt,yt)}}};if(U&&(K=function(At){S(this,k),p(At),f(bt,this);var Ct=w(this);try{At(vt(Bt,Ct),vt(lt,Ct))}catch(It){lt(Ct,It)}},k=K.prototype,bt=function(At){H(this,{type:L,done:!1,notified:!1,parent:!1,reactions:new M,rejection:!1,state:_t,value:null})},bt.prototype=l(k,"then",function(At,Ct){var It=w(this),Jt=ct(E(this,K));return It.parent=!0,Jt.ok=x(At)?At:!0,Jt.fail=x(Ct)&&Ct,Jt.domain=a?Q.domain:void 0,It.state===_t?It.reactions.add(Jt):A(function(){nr(Jt,It)}),Jt.promise}),Gt=function(){var yt=new bt,At=w(yt);this.promise=yt,this.resolve=vt(Bt,At),this.reject=vt(lt,At)},$.f=ct=function(yt){return yt===K||yt===Ft?new Gt(yt):st(yt)},!e&&x(D)&&W!==Object.prototype)){wt=W.then,V||l(W,"then",function(At,Ct){var It=this;return new K(function(Jt,fr){f(wt,It,Jt,fr)}).then(At,Ct)},{unsafe:!0});try{delete W.constructor}catch(yt){}c&&c(W,k)}n({global:!0,constructor:!0,wrap:!0,forced:U},{Promise:K}),Ft=i.Promise,d(K,L,!1,!0),g(L)},20656:function(u,h,t){var n=t(88037),e=t(66655).forEach,a=n.aTypedArray,s=n.exportTypedArrayMethod;s("forEach",function(f){e(a(this),f,arguments.length>1?arguments[1]:void 0)})},20760:function(u,h,t){var n=t(14304),e=t(38941),a=t(72069),s=t(95486),i=t(17361),f=t(91918),l=e("URL"),c=f&&a(function(){l.canParse()}),d=a(function(){return l.canParse.length!==1});n({target:"URL",stat:!0,forced:!c||d},{canParse:function(p){var x=s(arguments.length,1),m=i(p),S=x<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new l(m,S)}catch(E){return!1}}})},20870:function(u,h,t){var n=t(34246),e=t(83749),a=t(7831).f,s=t(71349).f,i=n.Symbol;if(e("dispose"),i){var f=s(i,"dispose");f.enumerable&&f.configurable&&f.writable&&a(i,"dispose",{value:f.value,enumerable:!1,configurable:!1,writable:!1})}},20872:function(u,h,t){var n=t(14304),e=t(38941),a=t(94879),s=t(17361),i=t(96731),f=t(61190),l=i("string-to-symbol-registry"),c=i("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!f},{for:function(d){var g=s(d);if(a(l,g))return l[g];var p=e("Symbol")(g);return l[g]=p,c[p]=g,p}})},20962:function(u,h,t){var n=t(14304),e=t(96499),a=t(25001),s=t(37540),i=t(69745),f=t(72069),l=t(7831),c=t(71349),d=t(26313),g=t(18526);function p(m,S,E){var O=arguments.length<4?m:arguments[3],A=c.f(a(m),S),T,C,M;if(!A){if(s(C=d(m)))return p(C,S,E,O);A=g(0)}if(i(A)){if(A.writable===!1||!s(O))return!1;if(T=c.f(O,S)){if(T.get||T.set||T.writable===!1)return!1;T.value=E,l.f(O,S,T)}else l.f(O,S,g(0,E))}else{if(M=A.set,M===void 0)return!1;e(M,O,E)}return!0}var x=f(function(){var m=function(){},S=l.f(new m,"a",{configurable:!0});return Reflect.set(m.prototype,"a",1,S)!==!1});n({target:"Reflect",stat:!0,forced:x},{set:p})},21084:function(u,h,t){var n=t(27534),e=t(34246),a=t(11286),s=t(2725),i=t(31853),f=t(89378),l=t(94667),c=t(37540),d=t(82367).enforce,g=t(72069),p=t(42960),x=Object,m=Array.isArray,S=x.isExtensible,E=x.isFrozen,O=x.isSealed,A=x.freeze,T=x.seal,C=!e.ActiveXObject&&"ActiveXObject"in e,M,P=function(w){return function(){return w(this,arguments.length?arguments[0]:void 0)}},D=f("WeakMap",P,l),F=D.prototype,$=a(F.set),L=function(){return n&&g(function(){var w=A([]);return $(new D,w,1),!E(w)})};if(p)if(C){M=l.getConstructor(P,"WeakMap",!0),i.enable();var U=a(F.delete),G=a(F.has),V=a(F.get);s(F,{delete:function(w){if(c(w)&&!S(w)){var H=d(this);return H.frozen||(H.frozen=new M),U(this,w)||H.frozen.delete(w)}return U(this,w)},has:function(H){if(c(H)&&!S(H)){var W=d(this);return W.frozen||(W.frozen=new M),G(this,H)||W.frozen.has(H)}return G(this,H)},get:function(H){if(c(H)&&!S(H)){var W=d(this);return W.frozen||(W.frozen=new M),G(this,H)?V(this,H):W.frozen.get(H)}return V(this,H)},set:function(H,W){if(c(H)&&!S(H)){var K=d(this);K.frozen||(K.frozen=new M),G(this,H)?$(this,H,W):K.frozen.set(H,W)}else $(this,H,W);return this}})}else L()&&s(F,{set:function(H,W){var K;return m(H)&&(E(H)?K=A:O(H)&&(K=T)),$(this,H,W),K&&K(H),this}})},21293:function(u,h,t){var n=t(14304),e=t(11286),a=t(2068),s=t(12105),i=t(17361),f=e("".slice),l=Math.max,c=Math.min,d=!"".substr||"ab".substr(-1)!=="b";n({target:"String",proto:!0,forced:d},{substr:function(p,x){var m=i(a(this)),S=m.length,E=s(p),O,A;return E===1/0&&(E=0),E<0&&(E=l(S+E,0)),O=x===void 0?S:s(x),O<=0||O===1/0?"":(A=c(E+O,S),E>=A?"":f(m,E,A))}})},21501:function(u,h,t){var n=t(34246),e=t(18257),a=t(14274),s=function(i){return e.slice(0,i.length)===i};u.exports=function(){return s("Bun/")?"BUN":s("Cloudflare-Workers")?"CLOUDFLARE":s("Deno/")?"DENO":s("Node.js/")?"NODE":n.Bun&&typeof Bun.version=="string"?"BUN":n.Deno&&typeof Deno.version=="object"?"DENO":a(n.process)==="process"?"NODE":n.window&&n.document?"BROWSER":"REST"}()},21579:function(u,h,t){var n=t(14304),e=t(61607).end,a=t(36945);n({target:"String",proto:!0,forced:a},{padEnd:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)}})},21774:function(u,h,t){var n=t(88037),e=t(94319).includes,a=n.aTypedArray,s=n.exportTypedArrayMethod;s("includes",function(f){return e(a(this),f,arguments.length>1?arguments[1]:void 0)})},21875:function(u,h,t){var n=t(14304),e=t(92986),a=t(61963).f;n({target:"Object",stat:!0,forced:Object.defineProperties!==a,sham:!e},{defineProperties:a})},22045:function(u,h,t){var n=t(14304),e=t(72069),a=t(36859),s=t(71349).f,i=t(92986),f=!i||e(function(){s(1)});n({target:"Object",stat:!0,forced:f,sham:!i},{getOwnPropertyDescriptor:function(c,d){return s(a(c),d)}})},22090:function(u,h,t){var n=t(14304),e=t(11286),a=t(85156),s=t(2068),i=t(55902),f=t(1774),l=t(70457),c=t(72069),d=f.Map,g=f.has,p=f.get,x=f.set,m=e([].push),S=l||c(function(){return d.groupBy("ab",function(E){return E}).get("a").length!==1});n({target:"Map",stat:!0,forced:l||S},{groupBy:function(O,A){s(O),a(A);var T=new d,C=0;return i(O,function(M){var P=A(M,C++);g(T,P)?m(p(T,P),M):x(T,P,[M])}),T}})},22091:function(u,h,t){var n=t(14304),e=Math.atanh,a=Math.log,s=!(e&&1/e(-0)<0);n({target:"Math",stat:!0,forced:s},{atanh:function(f){var l=+f;return l===0?l:a((1+l)/(1-l))/2}})},22149:function(u,h,t){var n=t(11286),e=t(12105),a=t(17361),s=t(2068),i=n("".charAt),f=n("".charCodeAt),l=n("".slice),c=function(d){return function(g,p){var x=a(s(g)),m=e(p),S=x.length,E,O;return m<0||m>=S?d?"":void 0:(E=f(x,m),E<55296||E>56319||m+1===S||(O=f(x,m+1))<56320||O>57343?d?i(x,m):E:d?l(x,m,m+2):(E-55296<<10)+(O-56320)+65536)}};u.exports={codeAt:c(!1),charAt:c(!0)}},22459:function(u){var h=Math.ceil,t=Math.floor;u.exports=Math.trunc||function(e){var a=+e;return(a>0?t:h)(a)}},22571:function(u,h,t){var n=t(80357);n("Float64",function(e){return function(s,i,f){return e(this,s,i,f)}})},22806:function(u,h,t){var n=t(11286);u.exports=n([].slice)},23001:function(u,h,t){var n=t(14304),e=t(96499),a=t(85156),s=t(25001),i=t(10613),f=t(12124),l=t(44736),c=t(99797),d=t(70457),g=t(3450),p=t(42455),x=!d&&!g("flatMap",function(){}),m=!d&&!x&&p("flatMap",TypeError),S=d||x||m,E=l(function(){for(var O=this.iterator,A=this.mapper,T,C;;){if(C=this.inner)try{if(T=s(e(C.next,C.iterator)),!T.done)return T.value;this.inner=null}catch(M){c(O,"throw",M)}if(T=s(e(this.next,O)),this.done=!!T.done)return;try{this.inner=f(A(T.value,this.counter++),!1)}catch(M){c(O,"throw",M)}}});n({target:"Iterator",proto:!0,real:!0,forced:S},{flatMap:function(A){s(this);try{a(A)}catch(T){c(this,"throw",T)}return m?e(m,this,A):new E(i(this),{mapper:A,inner:null})}})},23009:function(u,h,t){var n=t(34246),e=t(72069),a=t(11286),s=t(17361),i=t(85900).trim,f=t(77082),l=n.parseInt,c=n.Symbol,d=c&&c.iterator,g=/^[+-]?0x/i,p=a(g.exec),x=l(f+"08")!==8||l(f+"0x16")!==22||d&&!e(function(){l(Object(d))});u.exports=x?function(S,E){var O=i(s(S));return l(O,E>>>0||(p(g,O)?16:10))}:l},23115:function(u,h,t){var n=t(34246),e=t(66543),a=t(45526),s=t(23583),i=t(94879),f=t(72069),l=t(96439),c=t(22806),d=t(85501),g=t(95486),p=t(5286),x=t(91707),m=n.setImmediate,S=n.clearImmediate,E=n.process,O=n.Dispatch,A=n.Function,T=n.MessageChannel,C=n.String,M=0,P={},D="onreadystatechange",F,$,L,U;f(function(){F=n.location});var G=function(W){if(i(P,W)){var K=P[W];delete P[W],K()}},V=function(W){return function(){G(W)}},w=function(W){G(W.data)},H=function(W){n.postMessage(C(W),F.protocol+"//"+F.host)};(!m||!S)&&(m=function(K){g(arguments.length,1);var k=s(K)?K:A(K),rt=c(arguments,1);return P[++M]=function(){e(k,void 0,rt)},$(M),M},S=function(K){delete P[K]},x?$=function(W){E.nextTick(V(W))}:O&&O.now?$=function(W){O.now(V(W))}:T&&!p?(L=new T,U=L.port2,L.port1.onmessage=w,$=a(U.postMessage,U)):n.addEventListener&&s(n.postMessage)&&!n.importScripts&&F&&F.protocol!=="file:"&&!f(H)?($=H,n.addEventListener("message",w,!1)):D in d("script")?$=function(W){l.appendChild(d("script"))[D]=function(){l.removeChild(this),G(W)}}:$=function(W){setTimeout(V(W),0)}),u.exports={set:m,clear:S}},23283:function(u,h,t){var n=t(14304),e=t(75176);n({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==e},{trimRight:e})},23583:function(u){var h=typeof document=="object"&&document.all;u.exports=typeof h=="undefined"&&h!==void 0?function(t){return typeof t=="function"||t===h}:function(t){return typeof t=="function"}},23811:function(u,h,t){var n=t(18565),e=t(5406),a=t(7831).f,s=n("unscopables"),i=Array.prototype;i[s]===void 0&&a(i,s,{configurable:!0,value:e(null)}),u.exports=function(f){i[s][f]=!0}},23913:function(u,h,t){var n=t(14304),e=t(34246),a=t(9934),s=a(e.setTimeout,!0);n({global:!0,bind:!0,forced:e.setTimeout!==s},{setTimeout:s})},23958:function(u,h,t){var n=t(14304),e=t(24649);n({target:"Promise",stat:!0},{withResolvers:function(){var s=e.f(this);return{promise:s.promise,resolve:s.resolve,reject:s.reject}}})},24119:function(u,h,t){var n=t(14304),e=t(38941),a=t(95486),s=t(17361),i=t(91918),f=e("URL");n({target:"URL",stat:!0,forced:!i},{parse:function(c){var d=a(arguments.length,1),g=s(c),p=d<2||arguments[1]===void 0?void 0:s(arguments[1]);try{return new f(g,p)}catch(x){return null}}})},24228:function(u,h,t){var n=t(14304),e=t(98940),a=Math.cosh,s=Math.abs,i=Math.E,f=!a||a(710)===1/0;n({target:"Math",stat:!0,forced:f},{cosh:function(c){var d=e(s(c)-1)+1;return(d+1/(d*i*i))*(i/2)}})},24487:function(u,h,t){var n=t(22149).charAt;u.exports=function(e,a,s){return a+(s?n(e,a).length:1)}},24519:function(u,h,t){var n=t(72069),e=t(23583),a=t(37540),s=t(5406),i=t(26313),f=t(16142),l=t(18565),c=t(70457),d=l("iterator"),g=!1,p,x,m;[].keys&&(m=[].keys(),"next"in m?(x=i(i(m)),x!==Object.prototype&&(p=x)):g=!0);var S=!a(p)||n(function(){var E={};return p[d].call(E)!==E});S?p={}:c&&(p=s(p)),e(p[d])||f(p,d,function(){return this}),u.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:g}},24608:function(u,h,t){var n=t(14304),e=t(11286),a=t(3438),s=e([].reverse),i=[1,2];n({target:"Array",proto:!0,forced:String(i)===String(i.reverse())},{reverse:function(){return a(this)&&(this.length=this.length),s(this)}})},24649:function(u,h,t){var n=t(85156),e=TypeError,a=function(s){var i,f;this.promise=new s(function(l,c){if(i!==void 0||f!==void 0)throw new e("Bad Promise constructor");i=l,f=c}),this.resolve=n(i),this.reject=n(f)};u.exports.f=function(s){return new a(s)}},24943:function(u,h){h.f=Object.getOwnPropertySymbols},25001:function(u,h,t){var n=t(37540),e=String,a=TypeError;u.exports=function(s){if(n(s))return s;throw new a(e(s)+" is not an object")}},25212:function(u){var h=Array,t=Math.abs,n=Math.pow,e=Math.floor,a=Math.log,s=Math.LN2,i=function(l,c,d){var g=h(d),p=d*8-c-1,x=(1<<p)-1,m=x>>1,S=c===23?n(2,-24)-n(2,-77):0,E=l<0||l===0&&1/l<0?1:0,O=0,A,T,C;for(l=t(l),l!==l||l===1/0?(T=l!==l?1:0,A=x):(A=e(a(l)/s),C=n(2,-A),l*C<1&&(A--,C*=2),A+m>=1?l+=S/C:l+=S*n(2,1-m),l*C>=2&&(A++,C/=2),A+m>=x?(T=0,A=x):A+m>=1?(T=(l*C-1)*n(2,c),A+=m):(T=l*n(2,m-1)*n(2,c),A=0));c>=8;)g[O++]=T&255,T/=256,c-=8;for(A=A<<c|T,p+=c;p>0;)g[O++]=A&255,A/=256,p-=8;return g[O-1]|=E*128,g},f=function(l,c){var d=l.length,g=d*8-c-1,p=(1<<g)-1,x=p>>1,m=g-7,S=d-1,E=l[S--],O=E&127,A;for(E>>=7;m>0;)O=O*256+l[S--],m-=8;for(A=O&(1<<-m)-1,O>>=-m,m+=c;m>0;)A=A*256+l[S--],m-=8;if(O===0)O=1-x;else{if(O===p)return A?NaN:E?-1/0:1/0;A+=n(2,c),O-=x}return(E?-1:1)*A*n(2,O-c)};u.exports={pack:i,unpack:f}},25227:function(u,h,t){var n=t(14304),e=t(92986),a=t(25001),s=t(71349);n({target:"Reflect",stat:!0,sham:!e},{getOwnPropertyDescriptor:function(f,l){return s.f(a(f),l)}})},25460:function(u,h,t){var n=t(14304),e=t(11286),a=t(72181),s=t(36859),i=t(6148),f=e([].join),l=a!==Object,c=l||!i("join",",");n({target:"Array",proto:!0,forced:c},{join:function(g){return f(s(this),g===void 0?",":g)}})},25560:function(u,h,t){var n=t(80357);n("Float32",function(e){return function(s,i,f){return e(this,s,i,f)}})},25627:function(u,h,t){t(87777)},25738:function(u,h,t){var n=t(92986),e=t(85500),a=t(37540),s=t(52427),i=t(49671),f=t(2068),l=Object.getPrototypeOf,c=Object.setPrototypeOf,d=Object.prototype,g="__proto__";if(n&&l&&c&&!(g in d))try{e(d,g,{configurable:!0,get:function(){return l(i(this))},set:function(x){var m=f(this);s(x)&&a(m)&&c(m,x)}})}catch(p){}},25838:function(u,h,t){var n=t(34246),e=t(72069),a=t(11286),s=t(17361),i=t(85900).trim,f=t(77082),l=a("".charAt),c=n.parseFloat,d=n.Symbol,g=d&&d.iterator,p=1/c(f+"-0")!==-1/0||g&&!e(function(){c(Object(g))});u.exports=p?function(m){var S=i(s(m)),E=c(S);return E===0&&l(S,0)==="-"?-0:E}:c},25895:function(u,h,t){var n=t(14304),e=Math.floor,a=Math.log,s=Math.LOG2E;n({target:"Math",stat:!0},{clz32:function(f){var l=f>>>0;return l?31-e(a(l+.5)*s):32}})},26021:function(u,h,t){var n=t(14304),e=t(11286),a=t(92337),s=t(2068),i=t(17361),f=t(8790),l=e("".indexOf);n({target:"String",proto:!0,forced:!f("includes")},{includes:function(d){return!!~l(i(s(this)),i(a(d)),arguments.length>1?arguments[1]:void 0)}})},26035:function(u,h,t){var n=t(98844),e=t(97494),a=t(37130).CONSTRUCTOR;u.exports=a||!e(function(s){n.all(s).then(void 0,function(){})})},26159:function(u,h,t){var n=t(14304),e=t(38941),a=t(25001),s=t(27534);n({target:"Reflect",stat:!0,sham:!s},{preventExtensions:function(f){a(f);try{var l=e("Object","preventExtensions");return l&&l(f),!0}catch(c){return!1}}})},26313:function(u,h,t){var n=t(94879),e=t(23583),a=t(49671),s=t(44869),i=t(87501),f=s("IE_PROTO"),l=Object,c=l.prototype;u.exports=i?l.getPrototypeOf:function(d){var g=a(d);if(n(g,f))return g[f];var p=g.constructor;return e(p)&&g instanceof p?p.prototype:g instanceof l?c:null}},26668:function(u,h,t){var n=t(14304),e=t(96499),a=t(25001),s=t(10613),i=t(93483),f=t(98072),l=t(99797),c=t(44736),d=t(3450),g=t(42455),p=t(70457),x=!p&&!d("drop",0),m=!p&&!x&&g("drop",RangeError),S=p||x||m,E=c(function(){for(var O=this.iterator,A=this.next,T,C;this.remaining;)if(this.remaining--,T=a(e(A,O)),C=this.done=!!T.done,C)return;if(T=a(e(A,O)),C=this.done=!!T.done,!C)return T.value});n({target:"Iterator",proto:!0,real:!0,forced:S},{drop:function(A){a(this);var T;try{T=f(i(+A))}catch(C){l(this,"throw",C)}return m?e(m,this,T):new E(s(this),{remaining:T})}})},26820:function(u,h,t){var n=t(24519).IteratorPrototype,e=t(5406),a=t(18526),s=t(78401),i=t(29107),f=function(){return this};u.exports=function(l,c,d,g){var p=c+" Iterator";return l.prototype=e(n,{next:a(+!g,d)}),s(l,p,!1,!0),i[p]=f,l}},27428:function(u,h,t){var n=t(80357);n("Uint8",function(e){return function(s,i,f){return e(this,s,i,f)}},!0)},27534:function(u,h,t){var n=t(72069);u.exports=!n(function(){return Object.isExtensible(Object.preventExtensions({}))})},27796:function(u,h,t){var n=t(14304),e=t(38941),a=t(66543),s=t(72069),i=t(70003),f="AggregateError",l=e(f),c=!s(function(){return l([1]).errors[0]!==1})&&s(function(){return l([1],f,{cause:7}).cause!==7});n({global:!0,constructor:!0,arity:2,forced:c},{AggregateError:i(f,function(d){return function(p,x){return a(d,this,arguments)}},c,!0)})},27839:function(u,h,t){var n=t(23811);n("flatMap")},28167:function(u,h,t){var n=t(34246),e=t(92986),a=Object.getOwnPropertyDescriptor;u.exports=function(s){if(!e)return n[s];var i=a(n,s);return i&&i.value}},28174:function(u,h,t){var n=t(72069),e=t(37540),a=t(14274),s=t(72058),i=Object.isExtensible,f=n(function(){i(1)});u.exports=f||s?function(c){return!e(c)||s&&a(c)==="ArrayBuffer"?!1:i?i(c):!0}:i},28381:function(u,h,t){t(63981),t(23913)},29107:function(u){u.exports={}},29417:function(u,h,t){var n=t(14304),e=t(57573);n({target:"Math",stat:!0},{log2:e})},29708:function(u,h,t){var n=t(14304),e=t(98940),a=Math.exp;n({target:"Math",stat:!0},{tanh:function(i){var f=+i,l=e(f),c=e(-f);return l===1/0?1:c===1/0?-1:(l-c)/(a(f)+a(-f))}})},29833:function(u,h,t){var n=t(25001);u.exports=function(){var e=n(this),a="";return e.hasIndices&&(a+="d"),e.global&&(a+="g"),e.ignoreCase&&(a+="i"),e.multiline&&(a+="m"),e.dotAll&&(a+="s"),e.unicode&&(a+="u"),e.unicodeSets&&(a+="v"),e.sticky&&(a+="y"),a}},30343:function(u,h,t){var n=t(14304),e=t(55902),a=t(84082);n({target:"Object",stat:!0},{fromEntries:function(i){var f={};return e(i,function(l,c){a(f,l,c)},{AS_ENTRIES:!0}),f}})},30736:function(u,h,t){var n=t(34246),e=t(3237),a=t(58360),s=n.DataView;u.exports=function(i){if(!e||a(i)!==0)return!1;try{return new s(i),!1}catch(f){return!0}}},30801:function(u,h,t){var n=t(14304),e=t(11286),a=t(72069),s=a(function(){return new Date(16e11).getYear()!==120}),i=e(Date.prototype.getFullYear);n({target:"Date",proto:!0,forced:s},{getYear:function(){return i(this)-1900}})},31046:function(u,h,t){var n=t(14304),e=t(28174);n({target:"Object",stat:!0,forced:Object.isExtensible!==e},{isExtensible:e})},31145:function(u,h,t){var n=t(14304),e=t(44381);n({target:"RegExp",proto:!0,forced:/./.exec!==e},{exec:e})},31486:function(u,h,t){var n=t(37540),e=t(90809);u.exports=function(a,s){n(s)&&"cause"in s&&e(a,"cause",s.cause)}},31853:function(u,h,t){var n=t(14304),e=t(11286),a=t(19423),s=t(37540),i=t(94879),f=t(7831).f,l=t(83258),c=t(92880),d=t(28174),g=t(36374),p=t(27534),x=!1,m=g("meta"),S=0,E=function(P){f(P,m,{value:{objectID:"O"+S++,weakData:{}}})},O=function(P,D){if(!s(P))return typeof P=="symbol"?P:(typeof P=="string"?"S":"P")+P;if(!i(P,m)){if(!d(P))return"F";if(!D)return"E";E(P)}return P[m].objectID},A=function(P,D){if(!i(P,m)){if(!d(P))return!0;if(!D)return!1;E(P)}return P[m].weakData},T=function(P){return p&&x&&d(P)&&!i(P,m)&&E(P),P},C=function(){M.enable=function(){},x=!0;var P=l.f,D=e([].splice),F={};F[m]=1,P(F).length&&(l.f=function($){for(var L=P($),U=0,G=L.length;U<G;U++)if(L[U]===m){D(L,U,1);break}return L},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},M=u.exports={enable:C,fastKey:O,getWeakData:A,onFreeze:T};a[m]=!0},32345:function(u,h,t){var n=t(23583),e=t(37540),a=t(15861);u.exports=function(s,i,f){var l,c;return a&&n(l=i.constructor)&&l!==f&&e(c=l.prototype)&&c!==f.prototype&&a(s,c),s}},32790:function(u,h,t){var n=t(14304),e=t(65006);e&&n({target:"ArrayBuffer",proto:!0},{transfer:function(){return e(this,arguments.length?arguments[0]:void 0,!0)}})},33032:function(u,h,t){var n=t(88037),e=t(66655).every,a=n.aTypedArray,s=n.exportTypedArrayMethod;s("every",function(f){return e(a(this),f,arguments.length>1?arguments[1]:void 0)})},33064:function(u,h,t){var n=t(96499),e=t(25001),a=t(23583),s=t(14274),i=t(44381),f=TypeError;u.exports=function(l,c){var d=l.exec;if(a(d)){var g=n(d,l,c);return g!==null&&e(g),g}if(s(l)==="RegExp")return n(i,l,c);throw new f("RegExp#exec called on incompatible receiver")}},33128:function(u,h,t){var n=t(14304),e=t(68422),a=t(5287);n({target:"String",proto:!0,forced:a("link")},{link:function(i){return e(this,"a","href",i)}})},33257:function(u,h,t){var n=t(83749);n("iterator")},33274:function(u,h,t){var n=t(14304),e=t(10418),a=.0009765625,s=65504,i=6103515625e-14;n({target:"Math",stat:!0},{f16round:function(l){return e(l,a,s,i)}})},33328:function(u,h,t){var n=t(86588).PROPER,e=t(72069),a=t(77082),s="\u200B\x85\u180E";u.exports=function(i){return e(function(){return!!a[i]()||s[i]()!==s||n&&a[i].name!==i})}},33539:function(u,h,t){t.d(h,{default:function(){return Sf}});function n(r,o,v){r.prototype=o.prototype=v,v.constructor=r}function e(r,o){var v=Object.create(r.prototype);for(var y in o)v[y]=o[y];return v}function a(){}var s=.7,i=1/s,f="\\s*([+-]?\\d+)\\s*",l="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,g=new RegExp(`^rgb\\(${f},${f},${f}\\)$`),p=new RegExp(`^rgb\\(${c},${c},${c}\\)$`),x=new RegExp(`^rgba\\(${f},${f},${f},${l}\\)$`),m=new RegExp(`^rgba\\(${c},${c},${c},${l}\\)$`),S=new RegExp(`^hsl\\(${l},${c},${c}\\)$`),E=new RegExp(`^hsla\\(${l},${c},${c},${l}\\)$`),O={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};n(a,P,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:A,formatHex:A,formatHex8:T,formatHsl:C,formatRgb:M,toString:M});function A(){return this.rgb().formatHex()}function T(){return this.rgb().formatHex8()}function C(){return rt(this).formatHsl()}function M(){return this.rgb().formatRgb()}function P(r){var o,v;return r=(r+"").trim().toLowerCase(),(o=d.exec(r))?(v=o[1].length,o=parseInt(o[1],16),v===6?D(o):v===3?new U(o>>8&15|o>>4&240,o>>4&15|o&240,(o&15)<<4|o&15,1):v===8?F(o>>24&255,o>>16&255,o>>8&255,(o&255)/255):v===4?F(o>>12&15|o>>8&240,o>>8&15|o>>4&240,o>>4&15|o&240,((o&15)<<4|o&15)/255):null):(o=g.exec(r))?new U(o[1],o[2],o[3],1):(o=p.exec(r))?new U(o[1]*255/100,o[2]*255/100,o[3]*255/100,1):(o=x.exec(r))?F(o[1],o[2],o[3],o[4]):(o=m.exec(r))?F(o[1]*255/100,o[2]*255/100,o[3]*255/100,o[4]):(o=S.exec(r))?k(o[1],o[2]/100,o[3]/100,1):(o=E.exec(r))?k(o[1],o[2]/100,o[3]/100,o[4]):O.hasOwnProperty(r)?D(O[r]):r==="transparent"?new U(NaN,NaN,NaN,0):null}function D(r){return new U(r>>16&255,r>>8&255,r&255,1)}function F(r,o,v,y){return y<=0&&(r=o=v=NaN),new U(r,o,v,y)}function $(r){return r instanceof a||(r=P(r)),r?(r=r.rgb(),new U(r.r,r.g,r.b,r.opacity)):new U}function L(r,o,v,y){return arguments.length===1?$(r):new U(r,o,v,y==null?1:y)}function U(r,o,v,y){this.r=+r,this.g=+o,this.b=+v,this.opacity=+y}n(U,L,e(a,{brighter(r){return r=r==null?i:Math.pow(i,r),new U(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new U(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new U(W(this.r),W(this.g),W(this.b),H(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:G,formatHex:G,formatHex8:V,formatRgb:w,toString:w}));function G(){return`#${K(this.r)}${K(this.g)}${K(this.b)}`}function V(){return`#${K(this.r)}${K(this.g)}${K(this.b)}${K((isNaN(this.opacity)?1:this.opacity)*255)}`}function w(){const r=H(this.opacity);return`${r===1?"rgb(":"rgba("}${W(this.r)}, ${W(this.g)}, ${W(this.b)}${r===1?")":`, ${r})`}`}function H(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function W(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function K(r){return r=W(r),(r<16?"0":"")+r.toString(16)}function k(r,o,v,y){return y<=0?r=o=v=NaN:v<=0||v>=1?r=o=NaN:o<=0&&(r=NaN),new Q(r,o,v,y)}function rt(r){if(r instanceof Q)return new Q(r.h,r.s,r.l,r.opacity);if(r instanceof a||(r=P(r)),!r)return new Q;if(r instanceof Q)return r;r=r.rgb();var o=r.r/255,v=r.g/255,y=r.b/255,I=Math.min(o,v,y),R=Math.max(o,v,y),N=NaN,b=R-I,B=(R+I)/2;return b?(o===R?N=(v-y)/b+(v<y)*6:v===R?N=(y-o)/b+2:N=(o-v)/b+4,b/=B<.5?R+I:2-R-I,N*=60):b=B>0&&B<1?0:N,new Q(N,b,B,r.opacity)}function q(r,o,v,y){return arguments.length===1?rt(r):new Q(r,o,v,y==null?1:y)}function Q(r,o,v,y){this.h=+r,this.s=+o,this.l=+v,this.opacity=+y}n(Q,q,e(a,{brighter(r){return r=r==null?i:Math.pow(i,r),new Q(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new Q(this.h,this.s,this.l*r,this.opacity)},rgb(){var r=this.h%360+(this.h<0)*360,o=isNaN(r)||isNaN(this.s)?0:this.s,v=this.l,y=v+(v<.5?v:1-v)*o,I=2*v-y;return new U(xt(r>=240?r-240:r+120,I,y),xt(r,I,y),xt(r<120?r+240:r-120,I,y),this.opacity)},clamp(){return new Q(ct(this.h),st(this.s),st(this.l),H(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const r=H(this.opacity);return`${r===1?"hsl(":"hsla("}${ct(this.h)}, ${st(this.s)*100}%, ${st(this.l)*100}%${r===1?")":`, ${r})`}`}}));function ct(r){return r=(r||0)%360,r<0?r+360:r}function st(r){return Math.max(0,Math.min(1,r||0))}function xt(r,o,v){return(r<60?o+(v-o)*r/60:r<180?v:r<240?o+(v-o)*(240-r)/60:o)*255}var Rt=r=>()=>r;function Mt(r,o){return function(v){return r+v*o}}function _t(r,o,v){return r=Math.pow(r,v),o=Math.pow(o,v)-r,v=1/v,function(y){return Math.pow(r+y*o,v)}}function Wt(r,o){var v=o-r;return v?Mt(r,v>180||v<-180?v-360*Math.round(v/360):v):Rt(isNaN(r)?o:r)}function Lt(r){return(r=+r)==1?ht:function(o,v){return v-o?_t(o,v,r):Rt(isNaN(o)?v:o)}}function ht(r,o){var v=o-r;return v?Mt(r,v):Rt(isNaN(r)?o:r)}function Ot(r){return function(o,v){var y=r((o=q(o)).h,(v=q(v)).h),I=ht(o.s,v.s),R=ht(o.l,v.l),N=ht(o.opacity,v.opacity);return function(b){return o.h=y(b),o.s=I(b),o.l=R(b),o.opacity=N(b),o+""}}}var bt=Ot(Wt),Gt=Ot(ht);function Ft(r,o,v,y,I){var R=r*r,N=R*r;return((1-3*r+3*R-N)*o+(4-6*R+3*N)*v+(1+3*r+3*R-3*N)*y+N*I)/6}function wt(r){var o=r.length-1;return function(v){var y=v<=0?v=0:v>=1?(v=1,o-1):Math.floor(v*o),I=r[y],R=r[y+1],N=y>0?r[y-1]:2*I-R,b=y<o-1?r[y+2]:2*R-I;return Ft((v-y/o)*o,N,I,R,b)}}function er(r){var o=r.length;return function(v){var y=Math.floor(((v%=1)<0?++v:v)*o),I=r[(y+o-1)%o],R=r[y%o],N=r[(y+1)%o],b=r[(y+2)%o];return Ft((v-y/o)*o,I,R,N,b)}}var nr=function r(o){var v=Lt(o);function y(I,R){var N=v((I=L(I)).r,(R=L(R)).r),b=v(I.g,R.g),B=v(I.b,R.b),j=ht(I.opacity,R.opacity);return function(z){return I.r=N(z),I.g=b(z),I.b=B(z),I.opacity=j(z),I+""}}return y.gamma=r,y}(1);function Zt(r){return function(o){var v=o.length,y=new Array(v),I=new Array(v),R=new Array(v),N,b;for(N=0;N<v;++N)b=L(o[N]),y[N]=b.r||0,I[N]=b.g||0,R[N]=b.b||0;return y=r(y),I=r(I),R=r(R),b.opacity=1,function(B){return b.r=y(B),b.g=I(B),b.b=R(B),b+""}}}var Ut=Zt(wt),tr=Zt(er);function Qt(r,o){return(isNumberArray(o)?numberArray:Xt)(r,o)}function Xt(r,o){var v=o?o.length:0,y=r?Math.min(v,r.length):0,I=new Array(y),R=new Array(v),N;for(N=0;N<y;++N)I[N]=at(r[N],o[N]);for(;N<v;++N)R[N]=o[N];return function(b){for(N=0;N<y;++N)R[N]=I[N](b);return R}}function vt(r,o){var v=new Date;return r=+r,o=+o,function(y){return v.setTime(r*(1-y)+o*y),v}}function lt(r,o){return r=+r,o=+o,function(v){return r*(1-v)+o*v}}function Bt(r,o){var v={},y={},I;(r===null||typeof r!="object")&&(r={}),(o===null||typeof o!="object")&&(o={});for(I in o)I in r?v[I]=at(r[I],o[I]):y[I]=o[I];return function(R){for(I in v)y[I]=v[I](R);return y}}var yt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,At=new RegExp(yt.source,"g");function Ct(r){return function(){return r}}function It(r){return function(o){return r(o)+""}}function Jt(r,o){var v=yt.lastIndex=At.lastIndex=0,y,I,R,N=-1,b=[],B=[];for(r=r+"",o=o+"";(y=yt.exec(r))&&(I=At.exec(o));)(R=I.index)>v&&(R=o.slice(v,R),b[N]?b[N]+=R:b[++N]=R),(y=y[0])===(I=I[0])?b[N]?b[N]+=I:b[++N]=I:(b[++N]=null,B.push({i:N,x:lt(y,I)})),v=At.lastIndex;return v<o.length&&(R=o.slice(v),b[N]?b[N]+=R:b[++N]=R),b.length<2?B[0]?It(B[0].x):Ct(o):(o=B.length,function(j){for(var z=0,X;z<o;++z)b[(X=B[z]).i]=X.x(j);return b.join("")})}function fr(r,o){o||(o=[]);var v=r?Math.min(o.length,r.length):0,y=o.slice(),I;return function(R){for(I=0;I<v;++I)y[I]=r[I]*(1-R)+o[I]*R;return y}}function Z(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}function at(r,o){var v=typeof o,y;return o==null||v==="boolean"?Rt(o):(v==="number"?lt:v==="string"?(y=P(o))?(o=y,nr):Jt:o instanceof P?nr:o instanceof Date?vt:Z(o)?fr:Array.isArray(o)?Xt:typeof o.valueOf!="function"&&typeof o.toString!="function"||isNaN(o)?Bt:lt)(r,o)}function it(r,o){return r=+r,o=+o,function(v){return Math.round(r*(1-v)+o*v)}}function ot(r,o){return r==null||o==null?NaN:r<o?-1:r>o?1:r>=o?0:NaN}function pt(r,o){return r==null||o==null?NaN:o<r?-1:o>r?1:o>=r?0:NaN}function nt(r){let o,v,y;r.length!==2?(o=ot,v=(b,B)=>ot(r(b),B),y=(b,B)=>r(b)-B):(o=r===ot||r===pt?r:$t,v=r,y=r);function I(b,B,j=0,z=b.length){if(j<z){if(o(B,B)!==0)return z;do{const X=j+z>>>1;v(b[X],B)<0?j=X+1:z=X}while(j<z)}return j}function R(b,B,j=0,z=b.length){if(j<z){if(o(B,B)!==0)return z;do{const X=j+z>>>1;v(b[X],B)<=0?j=X+1:z=X}while(j<z)}return j}function N(b,B,j=0,z=b.length){const X=I(b,B,j,z-1);return X>j&&y(b[X-1],B)>-y(b[X],B)?X-1:X}return{left:I,center:N,right:R}}function $t(){return 0}function ar(r){return r===null?NaN:+r}function*ut(r,o){if(o===void 0)for(let v of r)v!=null&&(v=+v)>=v&&(yield v);else{let v=-1;for(let y of r)(y=o(y,++v,r))!=null&&(y=+y)>=y&&(yield y)}}const St=nt(ot),Et=St.right,Tt=St.left,Vt=nt(ar).center;var rr=Et;function ur(r){return function(){return r}}function vr(r){return+r}var mr=[0,1];function dr(r){return r}function $r(r,o){return(o-=r=+r)?function(v){return(v-r)/o}:ur(isNaN(o)?NaN:.5)}function dn(r,o){var v;return r>o&&(v=r,r=o,o=v),function(y){return Math.max(r,Math.min(o,y))}}function Nn(r,o,v){var y=r[0],I=r[1],R=o[0],N=o[1];return I<y?(y=$r(I,y),R=v(N,R)):(y=$r(y,I),R=v(R,N)),function(b){return R(y(b))}}function hn(r,o,v){var y=Math.min(r.length,o.length)-1,I=new Array(y),R=new Array(y),N=-1;for(r[y]<r[0]&&(r=r.slice().reverse(),o=o.slice().reverse());++N<y;)I[N]=$r(r[N],r[N+1]),R[N]=v(o[N],o[N+1]);return function(b){var B=rr(r,b,1,y)-1;return R[B](I[B](b))}}function _r(r,o){return o.domain(r.domain()).range(r.range()).interpolate(r.interpolate()).clamp(r.clamp()).unknown(r.unknown())}function jr(){var r=mr,o=mr,v=at,y,I,R,N=dr,b,B,j;function z(){var tt=Math.min(r.length,o.length);return N!==dr&&(N=dn(r[0],r[tt-1])),b=tt>2?hn:Nn,B=j=null,X}function X(tt){return tt==null||isNaN(tt=+tt)?R:(B||(B=b(r.map(y),o,v)))(y(N(tt)))}return X.invert=function(tt){return N(I((j||(j=b(o,r.map(y),lt)))(tt)))},X.domain=function(tt){return arguments.length?(r=Array.from(tt,vr),z()):r.slice()},X.range=function(tt){return arguments.length?(o=Array.from(tt),z()):o.slice()},X.rangeRound=function(tt){return o=Array.from(tt),v=it,z()},X.clamp=function(tt){return arguments.length?(N=tt?!0:dr,z()):N!==dr},X.interpolate=function(tt){return arguments.length?(v=tt,z()):v},X.unknown=function(tt){return arguments.length?(R=tt,X):R},function(tt,et){return y=tt,I=et,z()}}function ee(){return jr()(dr,dr)}function Jr(r,o){switch(arguments.length){case 0:break;case 1:this.range(r);break;default:this.range(o).domain(r);break}return this}function Hr(r,o){switch(arguments.length){case 0:break;case 1:{typeof r=="function"?this.interpolator(r):this.range(r);break}default:{this.domain(r),typeof o=="function"?this.interpolator(o):this.range(o);break}}return this}const gn=Math.sqrt(50),tn=Math.sqrt(10),Mr=Math.sqrt(2);function Dr(r,o,v){const y=(o-r)/Math.max(0,v),I=Math.floor(Math.log10(y)),R=y/Math.pow(10,I),N=R>=gn?10:R>=tn?5:R>=Mr?2:1;let b,B,j;return I<0?(j=Math.pow(10,-I)/N,b=Math.round(r*j),B=Math.round(o*j),b/j<r&&++b,B/j>o&&--B,j=-j):(j=Math.pow(10,I)*N,b=Math.round(r/j),B=Math.round(o/j),b*j<r&&++b,B*j>o&&--B),B<b&&.5<=v&&v<2?Dr(r,o,v*2):[b,B,j]}function an(r,o,v){if(o=+o,r=+r,v=+v,!(v>0))return[];if(r===o)return[r];const y=o<r,[I,R,N]=y?Dr(o,r,v):Dr(r,o,v);if(!(R>=I))return[];const b=R-I+1,B=new Array(b);if(y)if(N<0)for(let j=0;j<b;++j)B[j]=(R-j)/-N;else for(let j=0;j<b;++j)B[j]=(R-j)*N;else if(N<0)for(let j=0;j<b;++j)B[j]=(I+j)/-N;else for(let j=0;j<b;++j)B[j]=(I+j)*N;return B}function on(r,o,v){return o=+o,r=+r,v=+v,Dr(r,o,v)[2]}function J(r,o,v){o=+o,r=+r,v=+v;const y=o<r,I=y?on(o,r,v):on(r,o,v);return(y?-1:1)*(I<0?1/-I:I)}var gt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function _(r){if(!(o=gt.exec(r)))throw new Error("invalid format: "+r);var o;return new Y({fill:o[1],align:o[2],sign:o[3],symbol:o[4],zero:o[5],width:o[6],comma:o[7],precision:o[8]&&o[8].slice(1),trim:o[9],type:o[10]})}_.prototype=Y.prototype;function Y(r){this.fill=r.fill===void 0?" ":r.fill+"",this.align=r.align===void 0?">":r.align+"",this.sign=r.sign===void 0?"-":r.sign+"",this.symbol=r.symbol===void 0?"":r.symbol+"",this.zero=!!r.zero,this.width=r.width===void 0?void 0:+r.width,this.comma=!!r.comma,this.precision=r.precision===void 0?void 0:+r.precision,this.trim=!!r.trim,this.type=r.type===void 0?"":r.type+""}Y.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(this.width===void 0?"":Math.max(1,this.width|0))+(this.comma?",":"")+(this.precision===void 0?"":"."+Math.max(0,this.precision|0))+(this.trim?"~":"")+this.type};function ft(r){return Math.abs(r=Math.round(r))>=1e21?r.toLocaleString("en").replace(/,/g,""):r.toString(10)}function Yt(r,o){if((v=(r=o?r.toExponential(o-1):r.toExponential()).indexOf("e"))<0)return null;var v,y=r.slice(0,v);return[y.length>1?y[0]+y.slice(2):y,+r.slice(v+1)]}function Pt(r){return r=Yt(Math.abs(r)),r?r[1]:NaN}function xr(r,o){return Math.max(0,Math.max(-8,Math.min(8,Math.floor(Pt(o)/3)))*3-Pt(Math.abs(r)))}function Or(r,o){return function(v,y){for(var I=v.length,R=[],N=0,b=r[0],B=0;I>0&&b>0&&(B+b+1>y&&(b=Math.max(1,y-B)),R.push(v.substring(I-=b,I+b)),!((B+=b+1)>y));)b=r[N=(N+1)%r.length];return R.reverse().join(o)}}function Ar(r){return function(o){return o.replace(/[0-9]/g,function(v){return r[+v]})}}function Ur(r){t:for(var o=r.length,v=1,y=-1,I;v<o;++v)switch(r[v]){case".":y=I=v;break;case"0":y===0&&(y=v),I=v;break;default:if(!+r[v])break t;y>0&&(y=0);break}return y>0?r.slice(0,y)+r.slice(I+1):r}var dt;function Tr(r,o){var v=Yt(r,o);if(!v)return r+"";var y=v[0],I=v[1],R=I-(dt=Math.max(-8,Math.min(8,Math.floor(I/3)))*3)+1,N=y.length;return R===N?y:R>N?y+new Array(R-N+1).join("0"):R>0?y.slice(0,R)+"."+y.slice(R):"0."+new Array(1-R).join("0")+Yt(r,Math.max(0,o+R-1))[0]}function Vr(r,o){var v=Yt(r,o);if(!v)return r+"";var y=v[0],I=v[1];return I<0?"0."+new Array(-I).join("0")+y:y.length>I+1?y.slice(0,I+1)+"."+y.slice(I+1):y+new Array(I-y.length+2).join("0")}var sn={"%":(r,o)=>(r*100).toFixed(o),b:r=>Math.round(r).toString(2),c:r=>r+"",d:ft,e:(r,o)=>r.toExponential(o),f:(r,o)=>r.toFixed(o),g:(r,o)=>r.toPrecision(o),o:r=>Math.round(r).toString(8),p:(r,o)=>Vr(r*100,o),r:Vr,s:Tr,X:r=>Math.round(r).toString(16).toUpperCase(),x:r=>Math.round(r).toString(16)};function yn(r){return r}var pn=Array.prototype.map,un=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function wa(r){var o=r.grouping===void 0||r.thousands===void 0?yn:Or(pn.call(r.grouping,Number),r.thousands+""),v=r.currency===void 0?"":r.currency[0]+"",y=r.currency===void 0?"":r.currency[1]+"",I=r.decimal===void 0?".":r.decimal+"",R=r.numerals===void 0?yn:Ar(pn.call(r.numerals,String)),N=r.percent===void 0?"%":r.percent+"",b=r.minus===void 0?"\u2212":r.minus+"",B=r.nan===void 0?"NaN":r.nan+"";function j(X){X=_(X);var tt=X.fill,et=X.align,zt=X.sign,sr=X.symbol,mt=X.zero,Nt=X.width,Ht=X.comma,Dt=X.precision,kt=X.trim,Kt=X.type;Kt==="n"?(Ht=!0,Kt="g"):sn[Kt]||(Dt===void 0&&(Dt=12),kt=!0,Kt="g"),(mt||tt==="0"&&et==="=")&&(mt=!0,tt="0",et="=");var yr=sr==="$"?v:sr==="#"&&/[boxX]/.test(Kt)?"0"+Kt.toLowerCase():"",Sr=sr==="$"?y:/[%p]/.test(Kt)?N:"",cr=sn[Kt],Nr=/[defgprs%]/.test(Kt);Dt=Dt===void 0?6:/[gprs]/.test(Kt)?Math.max(1,Math.min(21,Dt)):Math.max(0,Math.min(20,Dt));function ir(jt){var gr=yr,or=Sr,pr,Kr,Er;if(Kt==="c")or=cr(jt)+or,jt="";else{jt=+jt;var Ir=jt<0||1/jt<0;if(jt=isNaN(jt)?B:cr(Math.abs(jt),Dt),kt&&(jt=Ur(jt)),Ir&&+jt==0&&zt!=="+"&&(Ir=!1),gr=(Ir?zt==="("?zt:b:zt==="-"||zt==="("?"":zt)+gr,or=(Kt==="s"?un[8+dt/3]:"")+or+(Ir&&zt==="("?")":""),Nr){for(pr=-1,Kr=jt.length;++pr<Kr;)if(Er=jt.charCodeAt(pr),48>Er||Er>57){or=(Er===46?I+jt.slice(pr+1):jt.slice(pr))+or,jt=jt.slice(0,pr);break}}}Ht&&!mt&&(jt=o(jt,1/0));var wr=gr.length+jt.length+or.length,lr=wr<Nt?new Array(Nt-wr+1).join(tt):"";switch(Ht&&mt&&(jt=o(lr+jt,lr.length?Nt-or.length:1/0),lr=""),et){case"<":jt=gr+jt+or+lr;break;case"=":jt=gr+lr+jt+or;break;case"^":jt=lr.slice(0,wr=lr.length>>1)+gr+jt+or+lr.slice(wr);break;default:jt=lr+gr+jt+or;break}return R(jt)}return ir.toString=function(){return X+""},ir}function z(X,tt){var et=j((X=_(X),X.type="f",X)),zt=Math.max(-8,Math.min(8,Math.floor(Pt(tt)/3)))*3,sr=Math.pow(10,-zt),mt=un[8+zt/3];return function(Nt){return et(sr*Nt)+mt}}return{format:j,formatPrefix:z}}var Mn,Dn,Me;Ga({thousands:",",grouping:[3],currency:["$",""]});function Ga(r){return Mn=wa(r),Dn=Mn.format,Me=Mn.formatPrefix,Mn}function Ha(r,o){return r=Math.abs(r),o=Math.abs(o)-r,Math.max(0,Pt(o)-Pt(r))+1}function Va(r){return Math.max(0,-Pt(Math.abs(r)))}function Wa(r,o,v,y){var I=J(r,o,v),R;switch(y=_(y==null?",f":y),y.type){case"s":{var N=Math.max(Math.abs(r),Math.abs(o));return y.precision==null&&!isNaN(R=xr(I,N))&&(y.precision=R),Me(y,N)}case"":case"e":case"g":case"p":case"r":{y.precision==null&&!isNaN(R=Ha(I,Math.max(Math.abs(r),Math.abs(o))))&&(y.precision=R-(y.type==="e"));break}case"f":case"%":{y.precision==null&&!isNaN(R=Va(I))&&(y.precision=R-(y.type==="%")*2);break}}return Dn(y)}function ae(r){var o=r.domain;return r.ticks=function(v){var y=o();return an(y[0],y[y.length-1],v==null?10:v)},r.tickFormat=function(v,y){var I=o();return Wa(I[0],I[I.length-1],v==null?10:v,y)},r.nice=function(v){v==null&&(v=10);var y=o(),I=0,R=y.length-1,N=y[I],b=y[R],B,j,z=10;for(b<N&&(j=N,N=b,b=j,j=I,I=R,R=j);z-- >0;){if(j=on(N,b,v),j===B)return y[I]=N,y[R]=b,o(y);if(j>0)N=Math.floor(N/j)*j,b=Math.ceil(b/j)*j;else if(j<0)N=Math.ceil(N*j)/j,b=Math.floor(b*j)/j;else break;B=j}return r},r}function za(){var r=continuous();return r.copy=function(){return copy(r,za())},initRange.apply(r,arguments),ae(r)}function Ka(r,o){r=r.slice();var v=0,y=r.length-1,I=r[v],R=r[y],N;return R<I&&(N=v,v=y,y=N,N=I,I=R,R=N),r[v]=o.floor(I),r[y]=o.ceil(R),r}function De(r){return Math.log(r)}function Fe(r){return Math.exp(r)}function Ya(r){return-Math.log(-r)}function Xa(r){return-Math.exp(-r)}function Ja(r){return isFinite(r)?+("1e"+r):r<0?0:r}function Qa(r){return r===10?Ja:r===Math.E?Math.exp:o=>Math.pow(r,o)}function Za(r){return r===Math.E?Math.log:r===10&&Math.log10||r===2&&Math.log2||(r=Math.log(r),o=>Math.log(o)/r)}function be(r){return(o,v)=>-r(-o,v)}function Le(r){const o=r(De,Fe),v=o.domain;let y=10,I,R;function N(){return I=Za(y),R=Qa(y),v()[0]<0?(I=be(I),R=be(R),r(Ya,Xa)):r(De,Fe),o}return o.base=function(b){return arguments.length?(y=+b,N()):y},o.domain=function(b){return arguments.length?(v(b),N()):v()},o.ticks=b=>{const B=v();let j=B[0],z=B[B.length-1];const X=z<j;X&&([j,z]=[z,j]);let tt=I(j),et=I(z),zt,sr;const mt=b==null?10:+b;let Nt=[];if(!(y%1)&&et-tt<mt){if(tt=Math.floor(tt),et=Math.ceil(et),j>0){for(;tt<=et;++tt)for(zt=1;zt<y;++zt)if(sr=tt<0?zt/R(-tt):zt*R(tt),!(sr<j)){if(sr>z)break;Nt.push(sr)}}else for(;tt<=et;++tt)for(zt=y-1;zt>=1;--zt)if(sr=tt>0?zt/R(-tt):zt*R(tt),!(sr<j)){if(sr>z)break;Nt.push(sr)}Nt.length*2<mt&&(Nt=an(j,z,mt))}else Nt=an(tt,et,Math.min(et-tt,mt)).map(R);return X?Nt.reverse():Nt},o.tickFormat=(b,B)=>{if(b==null&&(b=10),B==null&&(B=y===10?"s":","),typeof B!="function"&&(!(y%1)&&(B=_(B)).precision==null&&(B.trim=!0),B=Dn(B)),b===1/0)return B;const j=Math.max(1,y*b/o.ticks().length);return z=>{let X=z/R(Math.round(I(z)));return X*y<y-.5&&(X*=y),X<=j?B(z):""}},o.nice=()=>v(Ka(v(),{floor:b=>R(Math.floor(I(b))),ceil:b=>R(Math.ceil(I(b)))})),o}function ka(){const r=Le(transformer()).domain([1,10]);return r.copy=()=>copy(r,ka()).base(r.base()),initRange.apply(r,arguments),r}function Fn(){var r=0,o=1,v,y,I,R,N=dr,b=!1,B;function j(X){return X==null||isNaN(X=+X)?B:N(I===0?.5:(X=(R(X)-v)*I,b?Math.max(0,Math.min(1,X)):X))}j.domain=function(X){return arguments.length?([r,o]=X,v=R(r=+r),y=R(o=+o),I=v===y?0:1/(y-v),j):[r,o]},j.clamp=function(X){return arguments.length?(b=!!X,j):b},j.interpolator=function(X){return arguments.length?(N=X,j):N};function z(X){return function(tt){var et,zt;return arguments.length?([et,zt]=tt,N=X(et,zt),j):[N(0),N(1)]}}return j.range=z(at),j.rangeRound=z(it),j.unknown=function(X){return arguments.length?(B=X,j):B},function(X){return R=X,v=X(r),y=X(o),I=v===y?0:1/(y-v),j}}function bn(r,o){return o.domain(r.domain()).interpolator(r.interpolator()).clamp(r.clamp()).unknown(r.unknown())}function $e(){var r=ae(Fn()(dr));return r.copy=function(){return bn(r,$e())},Hr.apply(r,arguments)}function Ue(){var r=Le(Fn()).domain([1,10]);return r.copy=function(){return bn(r,Ue()).base(r.base())},Hr.apply(r,arguments)}function qa(){var r=symlogish(Fn());return r.copy=function(){return bn(r,qa()).constant(r.constant())},initInterpolator.apply(r,arguments)}function Be(){var r=powish(Fn());return r.copy=function(){return bn(r,Be()).exponent(r.exponent())},initInterpolator.apply(r,arguments)}function Of(){return Be.apply(null,arguments).exponent(.5)}var _a=Object.defineProperty,je=Object.getOwnPropertySymbols,to=Object.prototype.hasOwnProperty,ro=Object.prototype.propertyIsEnumerable,we=(r,o,v)=>o in r?_a(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,hr=(r,o)=>{for(var v in o||(o={}))to.call(o,v)&&we(r,v,o[v]);if(je)for(var v of je(o))ro.call(o,v)&&we(r,v,o[v]);return r};const no={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_",dummy:"_dummy_"},eo={arc:"bb-arc",arcLabelLine:"bb-arc-label-line",arcRange:"bb-arc-range",arcs:"bb-arcs",chartArc:"bb-chart-arc",chartArcs:"bb-chart-arcs",chartArcsBackground:"bb-chart-arcs-background",chartArcsTitle:"bb-chart-arcs-title",needle:"bb-needle"},ao={area:"bb-area",areas:"bb-areas"},oo={axis:"bb-axis",axisX:"bb-axis-x",axisXLabel:"bb-axis-x-label",axisY:"bb-axis-y",axisY2:"bb-axis-y2",axisY2Label:"bb-axis-y2-label",axisYLabel:"bb-axis-y-label",axisXTooltip:"bb-axis-x-tooltip",axisYTooltip:"bb-axis-y-tooltip",axisY2Tooltip:"bb-axis-y2-tooltip",axisTooltipX:"bb-axis-tooltip-x",axisTooltipY:"bb-axis-tooltip-y"},so={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars",barConnectLine:"bb-bar-connectLine"},io={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},uo={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},fo={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},lo={dragarea:"bb-dragarea",INCLUDED:"_included_"},vo={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},co={chartArcsGaugeMax:"bb-chart-arcs-gauge-max",chartArcsGaugeMin:"bb-chart-arcs-gauge-min",chartArcsGaugeUnit:"bb-chart-arcs-gauge-unit",chartArcsGaugeTitle:"bb-chart-arcs-gauge-title",gaugeValue:"bb-gauge-value"},ho={legend:"bb-legend",legendBackground:"bb-legend-background",legendItem:"bb-legend-item",legendItemEvent:"bb-legend-item-event",legendItemHidden:"bb-legend-item-hidden",legendItemPoint:"bb-legend-item-point",legendItemTile:"bb-legend-item-tile"},go={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},yo={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},po={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},mo={grid:"bb-grid",gridLines:"bb-grid-lines",xgrid:"bb-xgrid",xgridLine:"bb-xgrid-line",xgridLines:"bb-xgrid-lines",xgrids:"bb-xgrids",ygrid:"bb-ygrid",ygridLine:"bb-ygrid-line",ygridLines:"bb-ygrid-lines",ygrids:"bb-ygrids"},Tf={level:"bb-level",levels:"bb-levels"},xo={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},So={region:"bb-region",regions:"bb-regions"},Eo={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},Io={shape:"bb-shape",shapes:"bb-shapes"},Oo={brush:"bb-brush",subchart:"bb-subchart"},To={chartText:"bb-chart-text",chartTexts:"bb-chart-texts",text:"bb-text",texts:"bb-texts",title:"bb-title",TextOverlapping:"text-overlapping"},oe={tooltip:"bb-tooltip",tooltipContainer:"bb-tooltip-container",tooltipName:"bb-tooltip-name"},Ao={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Ro={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var Af=hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr(hr({},no),eo),ao),oo),so),io),uo),fo),lo),co),ho),go),yo),po),vo),mo),xo),So),Eo),Io),Oo),To),oe),Ao),Ro);function Co(){}function se(r){return r==null?Co:function(){return this.querySelector(r)}}function Po(r){typeof r!="function"&&(r=se(r));for(var o=this._groups,v=o.length,y=new Array(v),I=0;I<v;++I)for(var R=o[I],N=R.length,b=y[I]=new Array(N),B,j,z=0;z<N;++z)(B=R[z])&&(j=r.call(B,B.__data__,z,R))&&("__data__"in B&&(j.__data__=B.__data__),b[z]=j);return new Wr(y,this._parents)}function No(r){return r==null?[]:Array.isArray(r)?r:Array.from(r)}function Mo(){return[]}function Ge(r){return r==null?Mo:function(){return this.querySelectorAll(r)}}function Do(r){return function(){return No(r.apply(this,arguments))}}function Fo(r){typeof r=="function"?r=Do(r):r=Ge(r);for(var o=this._groups,v=o.length,y=[],I=[],R=0;R<v;++R)for(var N=o[R],b=N.length,B,j=0;j<b;++j)(B=N[j])&&(y.push(r.call(B,B.__data__,j,N)),I.push(B));return new Wr(y,I)}function He(r){return function(){return this.matches(r)}}function Ve(r){return function(o){return o.matches(r)}}var bo=Array.prototype.find;function Lo(r){return function(){return bo.call(this.children,r)}}function $o(){return this.firstElementChild}function Uo(r){return this.select(r==null?$o:Lo(typeof r=="function"?r:Ve(r)))}var Bo=Array.prototype.filter;function jo(){return Array.from(this.children)}function wo(r){return function(){return Bo.call(this.children,r)}}function Go(r){return this.selectAll(r==null?jo:wo(typeof r=="function"?r:Ve(r)))}function Ho(r){typeof r!="function"&&(r=He(r));for(var o=this._groups,v=o.length,y=new Array(v),I=0;I<v;++I)for(var R=o[I],N=R.length,b=y[I]=[],B,j=0;j<N;++j)(B=R[j])&&r.call(B,B.__data__,j,R)&&b.push(B);return new Wr(y,this._parents)}function We(r){return new Array(r.length)}function Vo(){return new Wr(this._enter||this._groups.map(We),this._parents)}function Ln(r,o){this.ownerDocument=r.ownerDocument,this.namespaceURI=r.namespaceURI,this._next=null,this._parent=r,this.__data__=o}Ln.prototype={constructor:Ln,appendChild:function(r){return this._parent.insertBefore(r,this._next)},insertBefore:function(r,o){return this._parent.insertBefore(r,o)},querySelector:function(r){return this._parent.querySelector(r)},querySelectorAll:function(r){return this._parent.querySelectorAll(r)}};function Wo(r){return function(){return r}}function zo(r,o,v,y,I,R){for(var N=0,b,B=o.length,j=R.length;N<j;++N)(b=o[N])?(b.__data__=R[N],y[N]=b):v[N]=new Ln(r,R[N]);for(;N<B;++N)(b=o[N])&&(I[N]=b)}function Ko(r,o,v,y,I,R,N){var b,B,j=new Map,z=o.length,X=R.length,tt=new Array(z),et;for(b=0;b<z;++b)(B=o[b])&&(tt[b]=et=N.call(B,B.__data__,b,o)+"",j.has(et)?I[b]=B:j.set(et,B));for(b=0;b<X;++b)et=N.call(r,R[b],b,R)+"",(B=j.get(et))?(y[b]=B,B.__data__=R[b],j.delete(et)):v[b]=new Ln(r,R[b]);for(b=0;b<z;++b)(B=o[b])&&j.get(tt[b])===B&&(I[b]=B)}function Yo(r){return r.__data__}function Xo(r,o){if(!arguments.length)return Array.from(this,Yo);var v=o?Ko:zo,y=this._parents,I=this._groups;typeof r!="function"&&(r=Wo(r));for(var R=I.length,N=new Array(R),b=new Array(R),B=new Array(R),j=0;j<R;++j){var z=y[j],X=I[j],tt=X.length,et=Jo(r.call(z,z&&z.__data__,j,y)),zt=et.length,sr=b[j]=new Array(zt),mt=N[j]=new Array(zt),Nt=B[j]=new Array(tt);v(z,X,sr,mt,Nt,et,o);for(var Ht=0,Dt=0,kt,Kt;Ht<zt;++Ht)if(kt=sr[Ht]){for(Ht>=Dt&&(Dt=Ht+1);!(Kt=mt[Dt])&&++Dt<zt;);kt._next=Kt||null}}return N=new Wr(N,y),N._enter=b,N._exit=B,N}function Jo(r){return typeof r=="object"&&"length"in r?r:Array.from(r)}function Qo(){return new Wr(this._exit||this._groups.map(We),this._parents)}function Zo(r,o,v){var y=this.enter(),I=this,R=this.exit();return typeof r=="function"?(y=r(y),y&&(y=y.selection())):y=y.append(r+""),o!=null&&(I=o(I),I&&(I=I.selection())),v==null?R.remove():v(R),y&&I?y.merge(I).order():I}function ko(r){for(var o=r.selection?r.selection():r,v=this._groups,y=o._groups,I=v.length,R=y.length,N=Math.min(I,R),b=new Array(I),B=0;B<N;++B)for(var j=v[B],z=y[B],X=j.length,tt=b[B]=new Array(X),et,zt=0;zt<X;++zt)(et=j[zt]||z[zt])&&(tt[zt]=et);for(;B<I;++B)b[B]=v[B];return new Wr(b,this._parents)}function qo(){for(var r=this._groups,o=-1,v=r.length;++o<v;)for(var y=r[o],I=y.length-1,R=y[I],N;--I>=0;)(N=y[I])&&(R&&N.compareDocumentPosition(R)^4&&R.parentNode.insertBefore(N,R),R=N);return this}function _o(r){r||(r=ts);function o(X,tt){return X&&tt?r(X.__data__,tt.__data__):!X-!tt}for(var v=this._groups,y=v.length,I=new Array(y),R=0;R<y;++R){for(var N=v[R],b=N.length,B=I[R]=new Array(b),j,z=0;z<b;++z)(j=N[z])&&(B[z]=j);B.sort(o)}return new Wr(I,this._parents).order()}function ts(r,o){return r<o?-1:r>o?1:r>=o?0:NaN}function rs(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function ns(){return Array.from(this)}function es(){for(var r=this._groups,o=0,v=r.length;o<v;++o)for(var y=r[o],I=0,R=y.length;I<R;++I){var N=y[I];if(N)return N}return null}function as(){let r=0;for(const o of this)++r;return r}function os(){return!this.node()}function ss(r){for(var o=this._groups,v=0,y=o.length;v<y;++v)for(var I=o[v],R=0,N=I.length,b;R<N;++R)(b=I[R])&&r.call(b,b.__data__,R,I);return this}var ie="http://www.w3.org/1999/xhtml",ze={svg:"http://www.w3.org/2000/svg",xhtml:ie,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function $n(r){var o=r+="",v=o.indexOf(":");return v>=0&&(o=r.slice(0,v))!=="xmlns"&&(r=r.slice(v+1)),ze.hasOwnProperty(o)?{space:ze[o],local:r}:r}function is(r){return function(){this.removeAttribute(r)}}function us(r){return function(){this.removeAttributeNS(r.space,r.local)}}function fs(r,o){return function(){this.setAttribute(r,o)}}function ls(r,o){return function(){this.setAttributeNS(r.space,r.local,o)}}function vs(r,o){return function(){var v=o.apply(this,arguments);v==null?this.removeAttribute(r):this.setAttribute(r,v)}}function cs(r,o){return function(){var v=o.apply(this,arguments);v==null?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,v)}}function ds(r,o){var v=$n(r);if(arguments.length<2){var y=this.node();return v.local?y.getAttributeNS(v.space,v.local):y.getAttribute(v)}return this.each((o==null?v.local?us:is:typeof o=="function"?v.local?cs:vs:v.local?ls:fs)(v,o))}function Ke(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function hs(r){return function(){this.style.removeProperty(r)}}function gs(r,o,v){return function(){this.style.setProperty(r,o,v)}}function ys(r,o,v){return function(){var y=o.apply(this,arguments);y==null?this.style.removeProperty(r):this.style.setProperty(r,y,v)}}function ps(r,o,v){return arguments.length>1?this.each((o==null?hs:typeof o=="function"?ys:gs)(r,o,v==null?"":v)):fn(this.node(),r)}function fn(r,o){return r.style.getPropertyValue(o)||Ke(r).getComputedStyle(r,null).getPropertyValue(o)}function ms(r){return function(){delete this[r]}}function xs(r,o){return function(){this[r]=o}}function Ss(r,o){return function(){var v=o.apply(this,arguments);v==null?delete this[r]:this[r]=v}}function Es(r,o){return arguments.length>1?this.each((o==null?ms:typeof o=="function"?Ss:xs)(r,o)):this.node()[r]}function Ye(r){return r.trim().split(/^|\s+/)}function ue(r){return r.classList||new Xe(r)}function Xe(r){this._node=r,this._names=Ye(r.getAttribute("class")||"")}Xe.prototype={add:function(r){var o=this._names.indexOf(r);o<0&&(this._names.push(r),this._node.setAttribute("class",this._names.join(" ")))},remove:function(r){var o=this._names.indexOf(r);o>=0&&(this._names.splice(o,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(r){return this._names.indexOf(r)>=0}};function Je(r,o){for(var v=ue(r),y=-1,I=o.length;++y<I;)v.add(o[y])}function Qe(r,o){for(var v=ue(r),y=-1,I=o.length;++y<I;)v.remove(o[y])}function Is(r){return function(){Je(this,r)}}function Os(r){return function(){Qe(this,r)}}function Ts(r,o){return function(){(o.apply(this,arguments)?Je:Qe)(this,r)}}function As(r,o){var v=Ye(r+"");if(arguments.length<2){for(var y=ue(this.node()),I=-1,R=v.length;++I<R;)if(!y.contains(v[I]))return!1;return!0}return this.each((typeof o=="function"?Ts:o?Is:Os)(v,o))}function Rs(){this.textContent=""}function Cs(r){return function(){this.textContent=r}}function Ps(r){return function(){var o=r.apply(this,arguments);this.textContent=o==null?"":o}}function Ns(r){return arguments.length?this.each(r==null?Rs:(typeof r=="function"?Ps:Cs)(r)):this.node().textContent}function Ms(){this.innerHTML=""}function Ds(r){return function(){this.innerHTML=r}}function Fs(r){return function(){var o=r.apply(this,arguments);this.innerHTML=o==null?"":o}}function bs(r){return arguments.length?this.each(r==null?Ms:(typeof r=="function"?Fs:Ds)(r)):this.node().innerHTML}function Ls(){this.nextSibling&&this.parentNode.appendChild(this)}function $s(){return this.each(Ls)}function Us(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Bs(){return this.each(Us)}function js(r){return function(){var o=this.ownerDocument,v=this.namespaceURI;return v===ie&&o.documentElement.namespaceURI===ie?o.createElement(r):o.createElementNS(v,r)}}function ws(r){return function(){return this.ownerDocument.createElementNS(r.space,r.local)}}function Ze(r){var o=$n(r);return(o.local?ws:js)(o)}function Gs(r){var o=typeof r=="function"?r:Ze(r);return this.select(function(){return this.appendChild(o.apply(this,arguments))})}function Hs(){return null}function Vs(r,o){var v=typeof r=="function"?r:Ze(r),y=o==null?Hs:typeof o=="function"?o:se(o);return this.select(function(){return this.insertBefore(v.apply(this,arguments),y.apply(this,arguments)||null)})}function Ws(){var r=this.parentNode;r&&r.removeChild(this)}function zs(){return this.each(Ws)}function Ks(){var r=this.cloneNode(!1),o=this.parentNode;return o?o.insertBefore(r,this.nextSibling):r}function Ys(){var r=this.cloneNode(!0),o=this.parentNode;return o?o.insertBefore(r,this.nextSibling):r}function Xs(r){return this.select(r?Ys:Ks)}function Js(r){return arguments.length?this.property("__data__",r):this.node().__data__}function Qs(r){return function(o){r.call(this,o,this.__data__)}}function Zs(r){return r.trim().split(/^|\s+/).map(function(o){var v="",y=o.indexOf(".");return y>=0&&(v=o.slice(y+1),o=o.slice(0,y)),{type:o,name:v}})}function ks(r){return function(){var o=this.__on;if(o){for(var v=0,y=-1,I=o.length,R;v<I;++v)R=o[v],(!r.type||R.type===r.type)&&R.name===r.name?this.removeEventListener(R.type,R.listener,R.options):o[++y]=R;++y?o.length=y:delete this.__on}}}function qs(r,o,v){return function(){var y=this.__on,I,R=Qs(o);if(y){for(var N=0,b=y.length;N<b;++N)if((I=y[N]).type===r.type&&I.name===r.name){this.removeEventListener(I.type,I.listener,I.options),this.addEventListener(I.type,I.listener=R,I.options=v),I.value=o;return}}this.addEventListener(r.type,R,v),I={type:r.type,name:r.name,value:o,listener:R,options:v},y?y.push(I):this.__on=[I]}}function _s(r,o,v){var y=Zs(r+""),I,R=y.length,N;if(arguments.length<2){var b=this.node().__on;if(b){for(var B=0,j=b.length,z;B<j;++B)for(I=0,z=b[B];I<R;++I)if((N=y[I]).type===z.type&&N.name===z.name)return z.value}return}for(b=o?qs:ks,I=0;I<R;++I)this.each(b(y[I],o,v));return this}function ke(r,o,v){var y=Ke(r),I=y.CustomEvent;typeof I=="function"?I=new I(o,v):(I=y.document.createEvent("Event"),v?(I.initEvent(o,v.bubbles,v.cancelable),I.detail=v.detail):I.initEvent(o,!1,!1)),r.dispatchEvent(I)}function ti(r,o){return function(){return ke(this,r,o)}}function ri(r,o){return function(){return ke(this,r,o.apply(this,arguments))}}function ni(r,o){return this.each((typeof o=="function"?ri:ti)(r,o))}function*ei(){for(var r=this._groups,o=0,v=r.length;o<v;++o)for(var y=r[o],I=0,R=y.length,N;I<R;++I)(N=y[I])&&(yield N)}var ai=[null];function Wr(r,o){this._groups=r,this._parents=o}function qe(){return new Wr([[document.documentElement]],ai)}function oi(){return this}Wr.prototype=qe.prototype={constructor:Wr,select:Po,selectAll:Fo,selectChild:Uo,selectChildren:Go,filter:Ho,data:Xo,enter:Vo,exit:Qo,join:Zo,merge:ko,selection:oi,order:qo,sort:_o,call:rs,nodes:ns,node:es,size:as,empty:os,each:ss,attr:ds,style:ps,property:Es,classed:As,text:Ns,html:bs,raise:$s,lower:Bs,append:Gs,insert:Vs,remove:zs,clone:Xs,datum:Js,on:_s,dispatch:ni,[Symbol.iterator]:ei};var mn=qe,si={value:()=>{}};function _e(){for(var r=0,o=arguments.length,v={},y;r<o;++r){if(!(y=arguments[r]+"")||y in v||/[\s.]/.test(y))throw new Error("illegal type: "+y);v[y]=[]}return new Un(v)}function Un(r){this._=r}function ii(r,o){return r.trim().split(/^|\s+/).map(function(v){var y="",I=v.indexOf(".");if(I>=0&&(y=v.slice(I+1),v=v.slice(0,I)),v&&!o.hasOwnProperty(v))throw new Error("unknown type: "+v);return{type:v,name:y}})}Un.prototype=_e.prototype={constructor:Un,on:function(r,o){var v=this._,y=ii(r+"",v),I,R=-1,N=y.length;if(arguments.length<2){for(;++R<N;)if((I=(r=y[R]).type)&&(I=ui(v[I],r.name)))return I;return}if(o!=null&&typeof o!="function")throw new Error("invalid callback: "+o);for(;++R<N;)if(I=(r=y[R]).type)v[I]=ta(v[I],r.name,o);else if(o==null)for(I in v)v[I]=ta(v[I],r.name,null);return this},copy:function(){var r={},o=this._;for(var v in o)r[v]=o[v].slice();return new Un(r)},call:function(r,o){if((I=arguments.length-2)>0)for(var v=new Array(I),y=0,I,R;y<I;++y)v[y]=arguments[y+2];if(!this._.hasOwnProperty(r))throw new Error("unknown type: "+r);for(R=this._[r],y=0,I=R.length;y<I;++y)R[y].value.apply(o,v)},apply:function(r,o,v){if(!this._.hasOwnProperty(r))throw new Error("unknown type: "+r);for(var y=this._[r],I=0,R=y.length;I<R;++I)y[I].value.apply(o,v)}};function ui(r,o){for(var v=0,y=r.length,I;v<y;++v)if((I=r[v]).name===o)return I.value}function ta(r,o,v){for(var y=0,I=r.length;y<I;++y)if(r[y].name===o){r[y]=si,r=r.slice(0,y).concat(r.slice(y+1));break}return v!=null&&r.push({name:o,value:v}),r}var fi=_e,ln=0,xn=0,Sn=0,ra=1e3,Bn,En,jn=0,nn=0,wn=0,In=typeof performance=="object"&&performance.now?performance:Date,na=typeof window=="object"&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(r){setTimeout(r,17)};function fe(){return nn||(na(li),nn=In.now()+wn)}function li(){nn=0}function Gn(){this._call=this._time=this._next=null}Gn.prototype=ea.prototype={constructor:Gn,restart:function(r,o,v){if(typeof r!="function")throw new TypeError("callback is not a function");v=(v==null?fe():+v)+(o==null?0:+o),!this._next&&En!==this&&(En?En._next=this:Bn=this,En=this),this._call=r,this._time=v,le()},stop:function(){this._call&&(this._call=null,this._time=1/0,le())}};function ea(r,o,v){var y=new Gn;return y.restart(r,o,v),y}function vi(){fe(),++ln;for(var r=Bn,o;r;)(o=nn-r._time)>=0&&r._call.call(void 0,o),r=r._next;--ln}function aa(){nn=(jn=In.now())+wn,ln=xn=0;try{vi()}finally{ln=0,di(),nn=0}}function ci(){var r=In.now(),o=r-jn;o>ra&&(wn-=o,jn=r)}function di(){for(var r,o=Bn,v,y=1/0;o;)o._call?(y>o._time&&(y=o._time),r=o,o=o._next):(v=o._next,o._next=null,o=r?r._next=v:Bn=v);En=r,le(y)}function le(r){if(!ln){xn&&(xn=clearTimeout(xn));var o=r-nn;o>24?(r<1/0&&(xn=setTimeout(aa,r-In.now()-wn)),Sn&&(Sn=clearInterval(Sn))):(Sn||(jn=In.now(),Sn=setInterval(ci,ra)),ln=1,na(aa))}}function oa(r,o,v){var y=new Gn;return o=o==null?0:+o,y.restart(I=>{y.stop(),r(I+o)},o,v),y}var hi=fi("start","end","cancel","interrupt"),gi=[],sa=0,ia=1,ve=2,Hn=3,ua=4,ce=5,Vn=6;function Wn(r,o,v,y,I,R){var N=r.__transition;if(!N)r.__transition={};else if(v in N)return;yi(r,v,{name:o,index:y,group:I,on:hi,tween:gi,time:R.time,delay:R.delay,duration:R.duration,ease:R.ease,timer:null,state:sa})}function de(r,o){var v=zr(r,o);if(v.state>sa)throw new Error("too late; already scheduled");return v}function Yr(r,o){var v=zr(r,o);if(v.state>Hn)throw new Error("too late; already running");return v}function zr(r,o){var v=r.__transition;if(!v||!(v=v[o]))throw new Error("transition not found");return v}function yi(r,o,v){var y=r.__transition,I;y[o]=v,v.timer=ea(R,0,v.time);function R(j){v.state=ia,v.timer.restart(N,v.delay,v.time),v.delay<=j&&N(j-v.delay)}function N(j){var z,X,tt,et;if(v.state!==ia)return B();for(z in y)if(et=y[z],et.name===v.name){if(et.state===Hn)return oa(N);et.state===ua?(et.state=Vn,et.timer.stop(),et.on.call("interrupt",r,r.__data__,et.index,et.group),delete y[z]):+z<o&&(et.state=Vn,et.timer.stop(),et.on.call("cancel",r,r.__data__,et.index,et.group),delete y[z])}if(oa(function(){v.state===Hn&&(v.state=ua,v.timer.restart(b,v.delay,v.time),b(j))}),v.state=ve,v.on.call("start",r,r.__data__,v.index,v.group),v.state===ve){for(v.state=Hn,I=new Array(tt=v.tween.length),z=0,X=-1;z<tt;++z)(et=v.tween[z].value.call(r,r.__data__,v.index,v.group))&&(I[++X]=et);I.length=X+1}}function b(j){for(var z=j<v.duration?v.ease.call(null,j/v.duration):(v.timer.restart(B),v.state=ce,1),X=-1,tt=I.length;++X<tt;)I[X].call(r,z);v.state===ce&&(v.on.call("end",r,r.__data__,v.index,v.group),B())}function B(){v.state=Vn,v.timer.stop(),delete y[o];for(var j in y)return;delete r.__transition}}function pi(r,o){var v=r.__transition,y,I,R=!0,N;if(v){o=o==null?null:o+"";for(N in v){if((y=v[N]).name!==o){R=!1;continue}I=y.state>ve&&y.state<ce,y.state=Vn,y.timer.stop(),y.on.call(I?"interrupt":"cancel",r,r.__data__,y.index,y.group),delete v[N]}R&&delete r.__transition}}function mi(r){return this.each(function(){pi(this,r)})}var fa=180/Math.PI,he={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function la(r,o,v,y,I,R){var N,b,B;return(N=Math.sqrt(r*r+o*o))&&(r/=N,o/=N),(B=r*v+o*y)&&(v-=r*B,y-=o*B),(b=Math.sqrt(v*v+y*y))&&(v/=b,y/=b,B/=b),r*y<o*v&&(r=-r,o=-o,B=-B,N=-N),{translateX:I,translateY:R,rotate:Math.atan2(o,r)*fa,skewX:Math.atan(B)*fa,scaleX:N,scaleY:b}}var zn;function xi(r){const o=new(typeof DOMMatrix=="function"?DOMMatrix:WebKitCSSMatrix)(r+"");return o.isIdentity?he:la(o.a,o.b,o.c,o.d,o.e,o.f)}function Si(r){return r==null||(zn||(zn=document.createElementNS("http://www.w3.org/2000/svg","g")),zn.setAttribute("transform",r),!(r=zn.transform.baseVal.consolidate()))?he:(r=r.matrix,la(r.a,r.b,r.c,r.d,r.e,r.f))}function va(r,o,v,y){function I(j){return j.length?j.pop()+" ":""}function R(j,z,X,tt,et,zt){if(j!==X||z!==tt){var sr=et.push("translate(",null,o,null,v);zt.push({i:sr-4,x:lt(j,X)},{i:sr-2,x:lt(z,tt)})}else(X||tt)&&et.push("translate("+X+o+tt+v)}function N(j,z,X,tt){j!==z?(j-z>180?z+=360:z-j>180&&(j+=360),tt.push({i:X.push(I(X)+"rotate(",null,y)-2,x:lt(j,z)})):z&&X.push(I(X)+"rotate("+z+y)}function b(j,z,X,tt){j!==z?tt.push({i:X.push(I(X)+"skewX(",null,y)-2,x:lt(j,z)}):z&&X.push(I(X)+"skewX("+z+y)}function B(j,z,X,tt,et,zt){if(j!==X||z!==tt){var sr=et.push(I(et)+"scale(",null,",",null,")");zt.push({i:sr-4,x:lt(j,X)},{i:sr-2,x:lt(z,tt)})}else(X!==1||tt!==1)&&et.push(I(et)+"scale("+X+","+tt+")")}return function(j,z){var X=[],tt=[];return j=r(j),z=r(z),R(j.translateX,j.translateY,z.translateX,z.translateY,X,tt),N(j.rotate,z.rotate,X,tt),b(j.skewX,z.skewX,X,tt),B(j.scaleX,j.scaleY,z.scaleX,z.scaleY,X,tt),j=z=null,function(et){for(var zt=-1,sr=tt.length,mt;++zt<sr;)X[(mt=tt[zt]).i]=mt.x(et);return X.join("")}}}var Ei=va(xi,"px, ","px)","deg)"),Ii=va(Si,", ",")",")");function Oi(r,o){var v,y;return function(){var I=Yr(this,r),R=I.tween;if(R!==v){y=v=R;for(var N=0,b=y.length;N<b;++N)if(y[N].name===o){y=y.slice(),y.splice(N,1);break}}I.tween=y}}function Ti(r,o,v){var y,I;if(typeof v!="function")throw new Error;return function(){var R=Yr(this,r),N=R.tween;if(N!==y){I=(y=N).slice();for(var b={name:o,value:v},B=0,j=I.length;B<j;++B)if(I[B].name===o){I[B]=b;break}B===j&&I.push(b)}R.tween=I}}function Ai(r,o){var v=this._id;if(r+="",arguments.length<2){for(var y=zr(this.node(),v).tween,I=0,R=y.length,N;I<R;++I)if((N=y[I]).name===r)return N.value;return null}return this.each((o==null?Oi:Ti)(v,r,o))}function ge(r,o,v){var y=r._id;return r.each(function(){var I=Yr(this,y);(I.value||(I.value={}))[o]=v.apply(this,arguments)}),function(I){return zr(I,y).value[o]}}function ca(r,o){var v;return(typeof o=="number"?lt:o instanceof P?nr:(v=P(o))?(o=v,nr):Jt)(r,o)}function Ri(r){return function(){this.removeAttribute(r)}}function Ci(r){return function(){this.removeAttributeNS(r.space,r.local)}}function Pi(r,o,v){var y,I=v+"",R;return function(){var N=this.getAttribute(r);return N===I?null:N===y?R:R=o(y=N,v)}}function Ni(r,o,v){var y,I=v+"",R;return function(){var N=this.getAttributeNS(r.space,r.local);return N===I?null:N===y?R:R=o(y=N,v)}}function Mi(r,o,v){var y,I,R;return function(){var N,b=v(this),B;return b==null?void this.removeAttribute(r):(N=this.getAttribute(r),B=b+"",N===B?null:N===y&&B===I?R:(I=B,R=o(y=N,b)))}}function Di(r,o,v){var y,I,R;return function(){var N,b=v(this),B;return b==null?void this.removeAttributeNS(r.space,r.local):(N=this.getAttributeNS(r.space,r.local),B=b+"",N===B?null:N===y&&B===I?R:(I=B,R=o(y=N,b)))}}function Fi(r,o){var v=$n(r),y=v==="transform"?Ii:ca;return this.attrTween(r,typeof o=="function"?(v.local?Di:Mi)(v,y,ge(this,"attr."+r,o)):o==null?(v.local?Ci:Ri)(v):(v.local?Ni:Pi)(v,y,o))}function bi(r,o){return function(v){this.setAttribute(r,o.call(this,v))}}function Li(r,o){return function(v){this.setAttributeNS(r.space,r.local,o.call(this,v))}}function $i(r,o){var v,y;function I(){var R=o.apply(this,arguments);return R!==y&&(v=(y=R)&&Li(r,R)),v}return I._value=o,I}function Ui(r,o){var v,y;function I(){var R=o.apply(this,arguments);return R!==y&&(v=(y=R)&&bi(r,R)),v}return I._value=o,I}function Bi(r,o){var v="attr."+r;if(arguments.length<2)return(v=this.tween(v))&&v._value;if(o==null)return this.tween(v,null);if(typeof o!="function")throw new Error;var y=$n(r);return this.tween(v,(y.local?$i:Ui)(y,o))}function ji(r,o){return function(){de(this,r).delay=+o.apply(this,arguments)}}function wi(r,o){return o=+o,function(){de(this,r).delay=o}}function Gi(r){var o=this._id;return arguments.length?this.each((typeof r=="function"?ji:wi)(o,r)):zr(this.node(),o).delay}function Hi(r,o){return function(){Yr(this,r).duration=+o.apply(this,arguments)}}function Vi(r,o){return o=+o,function(){Yr(this,r).duration=o}}function Wi(r){var o=this._id;return arguments.length?this.each((typeof r=="function"?Hi:Vi)(o,r)):zr(this.node(),o).duration}function zi(r,o){if(typeof o!="function")throw new Error;return function(){Yr(this,r).ease=o}}function Ki(r){var o=this._id;return arguments.length?this.each(zi(o,r)):zr(this.node(),o).ease}function Yi(r,o){return function(){var v=o.apply(this,arguments);if(typeof v!="function")throw new Error;Yr(this,r).ease=v}}function Xi(r){if(typeof r!="function")throw new Error;return this.each(Yi(this._id,r))}function Ji(r){typeof r!="function"&&(r=He(r));for(var o=this._groups,v=o.length,y=new Array(v),I=0;I<v;++I)for(var R=o[I],N=R.length,b=y[I]=[],B,j=0;j<N;++j)(B=R[j])&&r.call(B,B.__data__,j,R)&&b.push(B);return new Qr(y,this._parents,this._name,this._id)}function Qi(r){if(r._id!==this._id)throw new Error;for(var o=this._groups,v=r._groups,y=o.length,I=v.length,R=Math.min(y,I),N=new Array(y),b=0;b<R;++b)for(var B=o[b],j=v[b],z=B.length,X=N[b]=new Array(z),tt,et=0;et<z;++et)(tt=B[et]||j[et])&&(X[et]=tt);for(;b<y;++b)N[b]=o[b];return new Qr(N,this._parents,this._name,this._id)}function Zi(r){return(r+"").trim().split(/^|\s+/).every(function(o){var v=o.indexOf(".");return v>=0&&(o=o.slice(0,v)),!o||o==="start"})}function ki(r,o,v){var y,I,R=Zi(o)?de:Yr;return function(){var N=R(this,r),b=N.on;b!==y&&(I=(y=b).copy()).on(o,v),N.on=I}}function qi(r,o){var v=this._id;return arguments.length<2?zr(this.node(),v).on.on(r):this.each(ki(v,r,o))}function _i(r){return function(){var o=this.parentNode;for(var v in this.__transition)if(+v!==r)return;o&&o.removeChild(this)}}function tu(){return this.on("end.remove",_i(this._id))}function ru(r){var o=this._name,v=this._id;typeof r!="function"&&(r=se(r));for(var y=this._groups,I=y.length,R=new Array(I),N=0;N<I;++N)for(var b=y[N],B=b.length,j=R[N]=new Array(B),z,X,tt=0;tt<B;++tt)(z=b[tt])&&(X=r.call(z,z.__data__,tt,b))&&("__data__"in z&&(X.__data__=z.__data__),j[tt]=X,Wn(j[tt],o,v,tt,j,zr(z,v)));return new Qr(R,this._parents,o,v)}function nu(r){var o=this._name,v=this._id;typeof r!="function"&&(r=Ge(r));for(var y=this._groups,I=y.length,R=[],N=[],b=0;b<I;++b)for(var B=y[b],j=B.length,z,X=0;X<j;++X)if(z=B[X]){for(var tt=r.call(z,z.__data__,X,B),et,zt=zr(z,v),sr=0,mt=tt.length;sr<mt;++sr)(et=tt[sr])&&Wn(et,o,v,sr,tt,zt);R.push(tt),N.push(z)}return new Qr(R,N,o,v)}var eu=mn.prototype.constructor;function au(){return new eu(this._groups,this._parents)}function ou(r,o){var v,y,I;return function(){var R=fn(this,r),N=(this.style.removeProperty(r),fn(this,r));return R===N?null:R===v&&N===y?I:I=o(v=R,y=N)}}function da(r){return function(){this.style.removeProperty(r)}}function su(r,o,v){var y,I=v+"",R;return function(){var N=fn(this,r);return N===I?null:N===y?R:R=o(y=N,v)}}function iu(r,o,v){var y,I,R;return function(){var N=fn(this,r),b=v(this),B=b+"";return b==null&&(B=b=(this.style.removeProperty(r),fn(this,r))),N===B?null:N===y&&B===I?R:(I=B,R=o(y=N,b))}}function uu(r,o){var v,y,I,R="style."+o,N="end."+R,b;return function(){var B=Yr(this,r),j=B.on,z=B.value[R]==null?b||(b=da(o)):void 0;(j!==v||I!==z)&&(y=(v=j).copy()).on(N,I=z),B.on=y}}function fu(r,o,v){var y=(r+="")=="transform"?Ei:ca;return o==null?this.styleTween(r,ou(r,y)).on("end.style."+r,da(r)):typeof o=="function"?this.styleTween(r,iu(r,y,ge(this,"style."+r,o))).each(uu(this._id,r)):this.styleTween(r,su(r,y,o),v).on("end.style."+r,null)}function lu(r,o,v){return function(y){this.style.setProperty(r,o.call(this,y),v)}}function vu(r,o,v){var y,I;function R(){var N=o.apply(this,arguments);return N!==I&&(y=(I=N)&&lu(r,N,v)),y}return R._value=o,R}function cu(r,o,v){var y="style."+(r+="");if(arguments.length<2)return(y=this.tween(y))&&y._value;if(o==null)return this.tween(y,null);if(typeof o!="function")throw new Error;return this.tween(y,vu(r,o,v==null?"":v))}function du(r){return function(){this.textContent=r}}function hu(r){return function(){var o=r(this);this.textContent=o==null?"":o}}function gu(r){return this.tween("text",typeof r=="function"?hu(ge(this,"text",r)):du(r==null?"":r+""))}function yu(r){return function(o){this.textContent=r.call(this,o)}}function pu(r){var o,v;function y(){var I=r.apply(this,arguments);return I!==v&&(o=(v=I)&&yu(I)),o}return y._value=r,y}function mu(r){var o="text";if(arguments.length<1)return(o=this.tween(o))&&o._value;if(r==null)return this.tween(o,null);if(typeof r!="function")throw new Error;return this.tween(o,pu(r))}function xu(){for(var r=this._name,o=this._id,v=ha(),y=this._groups,I=y.length,R=0;R<I;++R)for(var N=y[R],b=N.length,B,j=0;j<b;++j)if(B=N[j]){var z=zr(B,o);Wn(B,r,v,j,N,{time:z.time+z.delay+z.duration,delay:0,duration:z.duration,ease:z.ease})}return new Qr(y,this._parents,r,v)}function Su(){var r,o,v=this,y=v._id,I=v.size();return new Promise(function(R,N){var b={value:N},B={value:function(){--I===0&&R()}};v.each(function(){var j=Yr(this,y),z=j.on;z!==r&&(o=(r=z).copy(),o._.cancel.push(b),o._.interrupt.push(b),o._.end.push(B)),j.on=o}),I===0&&R()})}var Eu=0;function Qr(r,o,v,y){this._groups=r,this._parents=o,this._name=v,this._id=y}function Iu(r){return mn().transition(r)}function ha(){return++Eu}var Zr=mn.prototype;Qr.prototype=Iu.prototype={constructor:Qr,select:ru,selectAll:nu,selectChild:Zr.selectChild,selectChildren:Zr.selectChildren,filter:Ji,merge:Qi,selection:au,transition:xu,call:Zr.call,nodes:Zr.nodes,node:Zr.node,size:Zr.size,empty:Zr.empty,each:Zr.each,on:qi,attr:Fi,attrTween:Bi,style:fu,styleTween:cu,text:gu,textTween:mu,remove:tu,tween:Ai,delay:Gi,duration:Wi,ease:Ki,easeVarying:Xi,end:Su,[Symbol.iterator]:Zr[Symbol.iterator]};function Rf(r){return r*r*r}function Cf(r){return--r*r*r+1}function Ou(r){return((r*=2)<=1?r*r*r:(r-=2)*r*r+2)/2}var Tu={time:null,delay:0,duration:250,ease:Ou};function Au(r,o){for(var v;!(v=r.__transition)||!(v=v[o]);)if(!(r=r.parentNode))throw new Error(`transition ${o} not found`);return v}function Ru(r){var o,v;r instanceof Qr?(o=r._id,r=r._name):(o=ha(),(v=Tu).time=fe(),r=r==null?null:r+"");for(var y=this._groups,I=y.length,R=0;R<I;++R)for(var N=y[R],b=N.length,B,j=0;j<b;++j)(B=N[j])&&Wn(B,r,o,j,N,v||Au(B,o));return new Qr(y,this._parents,r,o)}mn.prototype.interrupt=mi,mn.prototype.transition=Ru;var ga={name:"drag"},ye={name:"space"},vn={name:"handle"},cn={name:"center"};const{abs:ya,max:br,min:Lr}=Math;function pa(r){return[+r[0],+r[1]]}function pe(r){return[pa(r[0]),pa(r[1])]}var Kn={name:"x",handles:["w","e"].map(On),input:function(r,o){return r==null?null:[[+r[0],o[0][1]],[+r[1],o[1][1]]]},output:function(r){return r&&[r[0][0],r[1][0]]}},Yn={name:"y",handles:["n","s"].map(On),input:function(r,o){return r==null?null:[[o[0][0],+r[0]],[o[1][0],+r[1]]]},output:function(r){return r&&[r[0][1],r[1][1]]}},Cu={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(On),input:function(r){return r==null?null:pe(r)},output:function(r){return r}},kr={overlay:"crosshair",selection:"move",n:"ns-resize",e:"ew-resize",s:"ns-resize",w:"ew-resize",nw:"nwse-resize",ne:"nesw-resize",se:"nwse-resize",sw:"nesw-resize"},ma={e:"w",w:"e",nw:"ne",ne:"nw",se:"sw",sw:"se"},xa={n:"s",s:"n",nw:"sw",ne:"se",se:"ne",sw:"nw"},Pu={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Nu={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function On(r){return{type:r}}function Mu(r){return!r.ctrlKey&&!r.button}function Du(){var r=this.ownerSVGElement||this;return r.hasAttribute("viewBox")?(r=r.viewBox.baseVal,[[r.x,r.y],[r.x+r.width,r.y+r.height]]):[[0,0],[r.width.baseVal.value,r.height.baseVal.value]]}function Fu(){return navigator.maxTouchPoints||"ontouchstart"in this}function me(r){for(;!r.__brush;)if(!(r=r.parentNode))return;return r.__brush}function bu(r){return r[0][0]===r[1][0]||r[0][1]===r[1][1]}function Pf(r){var o=r.__brush;return o?o.dim.output(o.selection):null}function Nf(){return xe(Kn)}function Mf(){return xe(Yn)}function Df(){return xe(Cu)}function xe(r){var o=Du,v=Mu,y=Fu,I=!0,R=dispatch("start","brush","end"),N=6,b;function B(mt){var Nt=mt.property("__brush",sr).selectAll(".overlay").data([On("overlay")]);Nt.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",kr.overlay).merge(Nt).each(function(){var Dt=me(this).extent;select(this).attr("x",Dt[0][0]).attr("y",Dt[0][1]).attr("width",Dt[1][0]-Dt[0][0]).attr("height",Dt[1][1]-Dt[0][1])}),mt.selectAll(".selection").data([On("selection")]).enter().append("rect").attr("class","selection").attr("cursor",kr.selection).attr("fill","#777").attr("fill-opacity",.3).attr("stroke","#fff").attr("shape-rendering","crispEdges");var Ht=mt.selectAll(".handle").data(r.handles,function(Dt){return Dt.type});Ht.exit().remove(),Ht.enter().append("rect").attr("class",function(Dt){return"handle handle--"+Dt.type}).attr("cursor",function(Dt){return kr[Dt.type]}),mt.each(j).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",tt).filter(y).on("touchstart.brush",tt).on("touchmove.brush",et).on("touchend.brush touchcancel.brush",zt).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}B.move=function(mt,Nt,Ht){mt.tween?mt.on("start.brush",function(Dt){z(this,arguments).beforestart().start(Dt)}).on("interrupt.brush end.brush",function(Dt){z(this,arguments).end(Dt)}).tween("brush",function(){var Dt=this,kt=Dt.__brush,Kt=z(Dt,arguments),yr=kt.selection,Sr=r.input(typeof Nt=="function"?Nt.apply(this,arguments):Nt,kt.extent),cr=interpolate(yr,Sr);function Nr(ir){kt.selection=ir===1&&Sr===null?null:cr(ir),j.call(Dt),Kt.brush()}return yr!==null&&Sr!==null?Nr:Nr(1)}):mt.each(function(){var Dt=this,kt=arguments,Kt=Dt.__brush,yr=r.input(typeof Nt=="function"?Nt.apply(Dt,kt):Nt,Kt.extent),Sr=z(Dt,kt).beforestart();interrupt(Dt),Kt.selection=yr===null?null:yr,j.call(Dt),Sr.start(Ht).brush(Ht).end(Ht)})},B.clear=function(mt,Nt){B.move(mt,null,Nt)};function j(){var mt=select(this),Nt=me(this).selection;Nt?(mt.selectAll(".selection").style("display",null).attr("x",Nt[0][0]).attr("y",Nt[0][1]).attr("width",Nt[1][0]-Nt[0][0]).attr("height",Nt[1][1]-Nt[0][1]),mt.selectAll(".handle").style("display",null).attr("x",function(Ht){return Ht.type[Ht.type.length-1]==="e"?Nt[1][0]-N/2:Nt[0][0]-N/2}).attr("y",function(Ht){return Ht.type[0]==="s"?Nt[1][1]-N/2:Nt[0][1]-N/2}).attr("width",function(Ht){return Ht.type==="n"||Ht.type==="s"?Nt[1][0]-Nt[0][0]+N:N}).attr("height",function(Ht){return Ht.type==="e"||Ht.type==="w"?Nt[1][1]-Nt[0][1]+N:N})):mt.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function z(mt,Nt,Ht){var Dt=mt.__brush.emitter;return Dt&&(!Ht||!Dt.clean)?Dt:new X(mt,Nt,Ht)}function X(mt,Nt,Ht){this.that=mt,this.args=Nt,this.state=mt.__brush,this.active=0,this.clean=Ht}X.prototype={beforestart:function(){return++this.active===1&&(this.state.emitter=this,this.starting=!0),this},start:function(mt,Nt){return this.starting?(this.starting=!1,this.emit("start",mt,Nt)):this.emit("brush",mt),this},brush:function(mt,Nt){return this.emit("brush",mt,Nt),this},end:function(mt,Nt){return--this.active===0&&(delete this.state.emitter,this.emit("end",mt,Nt)),this},emit:function(mt,Nt,Ht){var Dt=select(this.that).datum();R.call(mt,this.that,new BrushEvent(mt,{sourceEvent:Nt,target:B,selection:r.output(this.state.selection),mode:Ht,dispatch:R}),Dt)}};function tt(mt){if(b&&!mt.touches||!v.apply(this,arguments))return;var Nt=this,Ht=mt.target.__data__.type,Dt=(I&&mt.metaKey?Ht="overlay":Ht)==="selection"?ga:I&&mt.altKey?cn:vn,kt=r===Yn?null:Pu[Ht],Kt=r===Kn?null:Nu[Ht],yr=me(Nt),Sr=yr.extent,cr=yr.selection,Nr=Sr[0][0],ir,jt,gr=Sr[0][1],or,pr,Kr=Sr[1][0],Er,Ir,wr=Sr[1][1],lr,Fr,Rr=0,Cr=0,Pe,_n=kt&&Kt&&I&&mt.shiftKey,te,re,Br=Array.from(mt.touches||[mt],qt=>{const Pr=qt.identifier;return qt=pointer(qt,Nt),qt.point0=qt.slice(),qt.identifier=Pr,qt});interrupt(Nt);var Rn=z(Nt,arguments,!0).beforestart();if(Ht==="overlay"){cr&&(Pe=!0);const qt=[Br[0],Br[1]||Br[0]];yr.selection=cr=[[ir=r===Yn?Nr:Lr(qt[0][0],qt[1][0]),or=r===Kn?gr:Lr(qt[0][1],qt[1][1])],[Er=r===Yn?Kr:br(qt[0][0],qt[1][0]),lr=r===Kn?wr:br(qt[0][1],qt[1][1])]],Br.length>1&&en(mt)}else ir=cr[0][0],or=cr[0][1],Er=cr[1][0],lr=cr[1][1];jt=ir,pr=or,Ir=Er,Fr=lr;var $a=select(Nt).attr("pointer-events","none"),Cn=$a.selectAll(".overlay").attr("cursor",kr[Ht]);if(mt.touches)Rn.moved=Ba,Rn.ended=ja;else{var Ua=select(mt.view).on("mousemove.brush",Ba,!0).on("mouseup.brush",ja,!0);I&&Ua.on("keydown.brush",Ef,!0).on("keyup.brush",If,!0),dragDisable(mt.view)}j.call(Nt),Rn.start(mt,Dt.name);function Ba(qt){for(const Pr of qt.changedTouches||[qt])for(const Pn of Br)Pn.identifier===Pr.identifier&&(Pn.cur=pointer(Pr,Nt));if(_n&&!te&&!re&&Br.length===1){const Pr=Br[0];ya(Pr.cur[0]-Pr[0])>ya(Pr.cur[1]-Pr[1])?re=!0:te=!0}for(const Pr of Br)Pr.cur&&(Pr[0]=Pr.cur[0],Pr[1]=Pr.cur[1]);Pe=!0,noevent(qt),en(qt)}function en(qt){const Pr=Br[0],Pn=Pr.point0;var rn;switch(Rr=Pr[0]-Pn[0],Cr=Pr[1]-Pn[1],Dt){case ye:case ga:{kt&&(Rr=br(Nr-ir,Lr(Kr-Er,Rr)),jt=ir+Rr,Ir=Er+Rr),Kt&&(Cr=br(gr-or,Lr(wr-lr,Cr)),pr=or+Cr,Fr=lr+Cr);break}case vn:{Br[1]?(kt&&(jt=br(Nr,Lr(Kr,Br[0][0])),Ir=br(Nr,Lr(Kr,Br[1][0])),kt=1),Kt&&(pr=br(gr,Lr(wr,Br[0][1])),Fr=br(gr,Lr(wr,Br[1][1])),Kt=1)):(kt<0?(Rr=br(Nr-ir,Lr(Kr-ir,Rr)),jt=ir+Rr,Ir=Er):kt>0&&(Rr=br(Nr-Er,Lr(Kr-Er,Rr)),jt=ir,Ir=Er+Rr),Kt<0?(Cr=br(gr-or,Lr(wr-or,Cr)),pr=or+Cr,Fr=lr):Kt>0&&(Cr=br(gr-lr,Lr(wr-lr,Cr)),pr=or,Fr=lr+Cr));break}case cn:{kt&&(jt=br(Nr,Lr(Kr,ir-Rr*kt)),Ir=br(Nr,Lr(Kr,Er+Rr*kt))),Kt&&(pr=br(gr,Lr(wr,or-Cr*Kt)),Fr=br(gr,Lr(wr,lr+Cr*Kt)));break}}Ir<jt&&(kt*=-1,rn=ir,ir=Er,Er=rn,rn=jt,jt=Ir,Ir=rn,Ht in ma&&Cn.attr("cursor",kr[Ht=ma[Ht]])),Fr<pr&&(Kt*=-1,rn=or,or=lr,lr=rn,rn=pr,pr=Fr,Fr=rn,Ht in xa&&Cn.attr("cursor",kr[Ht=xa[Ht]])),yr.selection&&(cr=yr.selection),te&&(jt=cr[0][0],Ir=cr[1][0]),re&&(pr=cr[0][1],Fr=cr[1][1]),(cr[0][0]!==jt||cr[0][1]!==pr||cr[1][0]!==Ir||cr[1][1]!==Fr)&&(yr.selection=[[jt,pr],[Ir,Fr]],j.call(Nt),Rn.brush(qt,Dt.name))}function ja(qt){if(nopropagation(qt),qt.touches){if(qt.touches.length)return;b&&clearTimeout(b),b=setTimeout(function(){b=null},500)}else dragEnable(qt.view,Pe),Ua.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);$a.attr("pointer-events","all"),Cn.attr("cursor",kr.overlay),yr.selection&&(cr=yr.selection),bu(cr)&&(yr.selection=null,j.call(Nt)),Rn.end(qt,Dt.name)}function Ef(qt){switch(qt.keyCode){case 16:{_n=kt&&Kt;break}case 18:{Dt===vn&&(kt&&(Er=Ir-Rr*kt,ir=jt+Rr*kt),Kt&&(lr=Fr-Cr*Kt,or=pr+Cr*Kt),Dt=cn,en(qt));break}case 32:{(Dt===vn||Dt===cn)&&(kt<0?Er=Ir-Rr:kt>0&&(ir=jt-Rr),Kt<0?lr=Fr-Cr:Kt>0&&(or=pr-Cr),Dt=ye,Cn.attr("cursor",kr.selection),en(qt));break}default:return}noevent(qt)}function If(qt){switch(qt.keyCode){case 16:{_n&&(te=re=_n=!1,en(qt));break}case 18:{Dt===cn&&(kt<0?Er=Ir:kt>0&&(ir=jt),Kt<0?lr=Fr:Kt>0&&(or=pr),Dt=vn,en(qt));break}case 32:{Dt===ye&&(qt.altKey?(kt&&(Er=Ir-Rr*kt,ir=jt+Rr*kt),Kt&&(lr=Fr-Cr*Kt,or=pr+Cr*Kt),Dt=cn):(kt<0?Er=Ir:kt>0&&(ir=jt),Kt<0?lr=Fr:Kt>0&&(or=pr),Dt=vn),Cn.attr("cursor",kr[Ht]),en(qt));break}default:return}noevent(qt)}}function et(mt){z(this,arguments).moved(mt)}function zt(mt){z(this,arguments).ended(mt)}function sr(){var mt=this.__brush||{selection:null};return mt.extent=pe(o.apply(this,arguments)),mt.dim=r,mt}return B.extent=function(mt){return arguments.length?(o=typeof mt=="function"?mt:constant(pe(mt)),B):o},B.filter=function(mt){return arguments.length?(v=typeof mt=="function"?mt:constant(!!mt),B):v},B.touchable=function(mt){return arguments.length?(y=typeof mt=="function"?mt:constant(!!mt),B):y},B.handleSize=function(mt){return arguments.length?(N=+mt,B):N},B.keyModifiers=function(mt){return arguments.length?(I=!!mt,B):I},B.on=function(){var mt=R.on.apply(R,arguments);return mt===R?B:mt},B}function Lu(){return typeof globalThis=="object"&&globalThis!==null&&globalThis.Object===Object&&globalThis||typeof global=="object"&&global!==null&&global.Object===Object&&global||typeof self=="object"&&self!==null&&self.Object===Object&&self||Function("return this")()}function $u(r){const o=typeof(r==null?void 0:r.requestAnimationFrame)=="function"&&typeof(r==null?void 0:r.cancelAnimationFrame)=="function",v=typeof(r==null?void 0:r.requestIdleCallback)=="function"&&typeof(r==null?void 0:r.cancelIdleCallback)=="function",y=R=>setTimeout(R,1),I=R=>clearTimeout(R);return[o?r.requestAnimationFrame:y,o?r.cancelAnimationFrame:I,v?r.requestIdleCallback:y,v?r.cancelIdleCallback:I]}const Xn=Lu(),Uu=Xn==null?void 0:Xn.document,[Ff,bf,Lf,$f]=$u(Xn);var Bu=Object.defineProperty,Sa=Object.getOwnPropertySymbols,ju=Object.prototype.hasOwnProperty,wu=Object.prototype.propertyIsEnumerable,Ea=(r,o,v)=>o in r?Bu(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,Ia=(r,o)=>{for(var v in o||(o={}))ju.call(o,v)&&Ea(r,v,o[v]);if(Sa)for(var v of Sa(o))wu.call(o,v)&&Ea(r,v,o[v]);return r};const Uf=r=>r||r===0,Se=r=>typeof r=="function",Tn=r=>typeof r=="string",Ee=r=>typeof r=="number",Gu=r=>typeof r=="undefined",Oa=r=>typeof r!="undefined",Bf=r=>typeof r=="boolean",jf=r=>Math.ceil(r/10)*10,wf=r=>Math.ceil(r)+.5,Gf=r=>r[1]-r[0],Ie=r=>typeof r=="object",Ta=r=>Gu(r)||r===null||Tn(r)&&r.length===0||Ie(r)&&!(r instanceof Date)&&Object.keys(r).length===0||Ee(r)&&isNaN(r),Hu=r=>!Ta(r),Oe=r=>Array.isArray(r),Jn=r=>r&&!(r!=null&&r.nodeType)&&Ie(r)&&!Oe(r);function Hf(r,o,v){return Oa(r[o])?r[o]:v}function Vf(r,o){let v=!1;return Object.keys(r).forEach(y=>r[y]===o&&(v=!0)),v}function Wf(r,o,...v){const y=Se(r);return y&&r.call(o,...v),y}function zf(r,o){let v=0;const y=function(...I){!--v&&o.apply(this,...I)};"duration"in r?r.each(()=>++v).on("end",y):(++v,r.call(y))}function Kf(r){return Tn(r)?r.replace(/<(script|img)?/ig,"<").replace(/(script)?>/ig,">"):r}function Yf(r,o,v=[-1,1],y=!1){if(!(!r||!Tn(o)))if(o.indexOf(`
|
|
12
12
|
`)===-1)r.text(o);else{const I=[r.text(),o].map(R=>R.replace(/[\s\n]/g,""));if(I[0]!==I[1]){const R=o.split(`
|
|
13
|
-
`),N=y?R.length-1:1;r.html(""),R.forEach((b,B)=>{r.append("tspan").attr("x",0).attr("dy",`${B===0?v[0]*N:v[1]}em`).text(b)})}}}function Vu(r){const{x:o,y:v,width:y,height:I}=r.getBBox();return[{x:o,y:v+I},{x:o,y:v},{x:o+y,y:v},{x:o+y,y:v+I}]}function Xf(r){const{width:o,height:v}=Ra(r),y=Vu(r),I=y[0].x,R=Math.min(y[0].y,y[1].y);return{x:I,y:R,width:o,height:v}}function Jf(r,o){var v;const y=r&&((v=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:v[0]);let I=[0,0];try{I=d3Pointer(y||r,o)}catch(R){}return I.map(R=>isNaN(R)?0:R)}function Wu(r){const{event:o,$el:v}=r,y=v.subchart.main||v.main;let I;return o&&o.type==="brush"?I=o.selection:y&&(I=y.select(".bb-brush").node())&&(I=d3BrushSelection(I)),I}function Aa(r,o,v=!1){const y=I=>I[r?"getBoundingClientRect":"getBBox"]();return v?y(o):!("rect"in o)||"rect"in o&&o.hasAttribute("width")&&o.rect.width!==+(o.getAttribute("width")||0)?o.rect=y(o):o.rect}function Ra(r,o=!1){return Aa(!0,r,o)}function Qf(r,o=!1){return Aa(!1,r,o)}function Zf(r=!0,o=0,v=1e4){const y=window.crypto||window.msCrypto,I=y?o+y.getRandomValues(new Uint32Array(1))[0]%(v-o+1):Math.floor(Math.random()*(v-o)+o);return r?String(I):I}function Ca(r,o,v,y,I){if(v>y)return-1;const R=Math.floor((v+y)/2);let{x:N,w:b=0}=r[R];return I&&(N=r[R].y,b=r[R].h),o>=N&&o<=N+b?R:o<N?Ca(r,o,v,R-1,I):Ca(r,o,R+1,y,I)}function kf(r){const o=Wu(r);return o?o[0]===o[1]:!0}function qf(...r){const o=v=>{if(Jn(v)&&v.constructor){const y=new v.constructor;for(const I in v)y[I]=o(v[I]);return y}return v};return r.map(v=>o(v)).reduce((v,y)=>Ia(Ia({},v),y))}function zu(r={},o){Oe(o)&&o.forEach(v=>zu(r,v));for(const v in o)/^\d+$/.test(v)||v in r||(r[v]=o[v]);return r}const _f=r=>r.charAt(0).toUpperCase()+r.slice(1);function tl(r,o="-"){return r.split(o).map((v,y)=>y?v.charAt(0).toUpperCase()+v.slice(1).toLowerCase():v.toLowerCase()).join("")}const Ku=r=>[].slice.call(r);function rl(r,o,v){const{rootSelector:y="",sheet:I}=r,N=`${y} ${(b=>b.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(o)} {${v.join(";")}}`;return I[I.insertRule?"insertRule":"addRule"](N,I.cssRules.length)}function nl(r){let o=[];return r.forEach(v=>{var y;try{v.cssRules&&v.cssRules.length&&(o=o.concat(Ku(v.cssRules)))}catch(I){(y=window.console)==null||y.warn(`Error while reading rules from ${v.href}: ${I.toString()}`)}}),o}function el(r){var o,v,y,I,R,N;return{x:((v=(o=window.pageXOffset)!=null?o:window.scrollX)!=null?v:0)+((y=r.scrollLeft)!=null?y:0),y:((R=(I=window.pageYOffset)!=null?I:window.scrollY)!=null?R:0)+((N=r.scrollTop)!=null?N:0)}}function al(r,o=0,v=0,y=!0){const I=new DOMPoint(o,v),R=r.getScreenCTM(),N=I.matrixTransform(y?R==null?void 0:R.inverse():R);if(y===!1){const b=Ra(r);N.x-=b.x,N.y-=b.y}return N}function ol(r){const o=r?r.transform:null,v=o&&o.baseVal;return v&&v.numberOfItems?v.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function sl(r){const o=r[0]instanceof Date,v=(o?r.map(Number):r).filter((y,I,R)=>R.indexOf(y)===I);return o?v.map(y=>new Date(y)):v}function il(r){return r&&r.length?r.reduce((o,v)=>o.concat(v)):[]}function Te(r,...o){if(!o.length||o.length===1&&!o[0])return r;const v=o.shift();return Jn(r)&&Jn(v)&&Object.keys(v).forEach(y=>{if(!/^(__proto__|constructor|prototype)$/i.test(y)){const I=v[y];Jn(I)?(!r[y]&&(r[y]={}),r[y]=Te(r[y],I)):r[y]=Oe(I)?I.concat():I}}),Te(r,...o)}function Yu(r,o=!0){let v;return r[0]instanceof Date?v=o?(y,I)=>y-I:(y,I)=>I-y:o&&!r.every(isNaN)?v=(y,I)=>y-I:o||(v=(y,I)=>y>I&&-1||y<I&&1||y===I&&0),r.concat().sort(v)}function ul(r,o){let v=o.filter(y=>Hu(y));return v.length?Ee(v[0])?v=Math[r](...v):v[0]instanceof Date&&(v=Yu(v,r==="min")[0]):v=void 0,v}const Xu=(r,o,v=1)=>{const y=[],I=Math.max(0,Math.ceil((o-r)/v))|0;for(let R=r;R<I;R++)y.push(r+R*v);return y},fl={mouse:(()=>{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(o,v,y=r())=>{o.dispatchEvent(new MouseEvent(v,y))}}catch(o){return(v,y,I=r())=>{const R=Uu.createEvent("MouseEvent");R.initMouseEvent(y,I.bubbles,I.cancelable,Xn,0,I.screenX,I.screenY,I.clientX,I.clientY,!1,!1,!1,!1,0,null),v.dispatchEvent(R)}}})(),touch:(r,o,v)=>{const y=new Touch(Te({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},v));r.dispatchEvent(new TouchEvent(o,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[y],targetTouches:[],changedTouches:[y]}))}};function ll(r,o){let v=r;for(const y in o)v=v.replace(new RegExp(`{=${y}}`,"g"),o[y]);return v}function Ju(r){var o;let v;if(r instanceof Date)v=r;else if(Tn(r)){const{config:y,format:I}=this;v=(o=I.dataTime(y.data_xFormat)(r))!=null?o:new Date(r)}else Ee(r)&&!isNaN(r)&&(v=new Date(+r));return(!v||isNaN(+v))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),v}function vl(r){const o=r.attr("viewBox");return o?/(\d+(\.\d+)?){3}/.test(o):!1}function cl(r,o,v=!1){const y=!!r.node;let I=!1;for(const[R,N]of Object.entries(o))if(I=y?r.style(R)===N:r.style[R]===N,v===!1&&I)break;return I}function dl(){var r,o;return((r=document)==null?void 0:r.hidden)===!1||((o=document)==null?void 0:o.visibilityState)==="visible"}function hl(r,o){const{DocumentTouch:v,matchMedia:y,navigator:I}=window,R=y==null?void 0:y("(pointer:coarse)").matches;let N=!1;if(o)if(I&&"maxTouchPoints"in I)N=I.maxTouchPoints>0;else if("ontouchmove"in window||v&&document instanceof v)N=!0;else if(R)N=!0;else{const B=I.userAgent;N=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(B)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(B)}return r&&!R&&(y==null?void 0:y("(pointer:fine)").matches)&&"mouse"||N&&"touch"||"mouse"}function Qu(r,o){o()===!1?requestAnimationFrame(()=>Qu(r,o)):r()}function Zu(r){const o=this.config;let v,y,I;const R=()=>{const N=y.shift();if(N&&v&&Ie(v)&&N in v)return v=v[N],R();if(!N)return v};Object.keys(o).forEach(N=>{v=r,y=N.split("_"),I=R(),Oa(I)&&(o[N]=I)}),this.api&&(this.state.orgConfig=r)}var ku=Object.defineProperty,qu=(r,o,v)=>o in r?ku(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,Ae=(r,o,v)=>qu(r,typeof o!="symbol"?o+"":o,v);class Pa{constructor(o={}){Ae(this,"$$"),Ae(this,"options"),this.options=o}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(o=>{this[o]=null,delete this[o]})}}Ae(Pa,"version","3.16.0-next.2");function _u(r){return r}var Qn=1,Zn=2,Re=3,An=4,Na=1e-6;function tf(r){return"translate("+r+",0)"}function rf(r){return"translate(0,"+r+")"}function nf(r){return o=>+r(o)}function ef(r,o){return o=Math.max(0,r.bandwidth()-o*2)/2,r.round()&&(o=Math.round(o)),v=>+r(v)+o}function af(){return!this.__axis}function kn(r,o){var v=[],y=null,I=null,R=6,N=6,b=3,B=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,j=r===Qn||r===An?-1:1,z=r===An||r===Zn?"x":"y",X=r===Qn||r===Re?tf:rf;function tt(et){var zt=y==null?o.ticks?o.ticks.apply(o,v):o.domain():y,sr=I==null?o.tickFormat?o.tickFormat.apply(o,v):_u:I,mt=Math.max(R,0)+b,Nt=o.range(),Ht=+Nt[0]+B,Dt=+Nt[Nt.length-1]+B,kt=(o.bandwidth?ef:nf)(o.copy(),B),Kt=et.selection?et.selection():et,yr=Kt.selectAll(".domain").data([null]),Sr=Kt.selectAll(".tick").data(zt,o).order(),cr=Sr.exit(),Nr=Sr.enter().append("g").attr("class","tick"),ir=Sr.select("line"),jt=Sr.select("text");yr=yr.merge(yr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Sr=Sr.merge(Nr),ir=ir.merge(Nr.append("line").attr("stroke","currentColor").attr(z+"2",j*R)),jt=jt.merge(Nr.append("text").attr("fill","currentColor").attr(z,j*mt).attr("dy",r===Qn?"0em":r===Re?"0.71em":"0.32em")),et!==Kt&&(yr=yr.transition(et),Sr=Sr.transition(et),ir=ir.transition(et),jt=jt.transition(et),cr=cr.transition(et).attr("opacity",Na).attr("transform",function(gr){return isFinite(gr=kt(gr))?X(gr+B):this.getAttribute("transform")}),Nr.attr("opacity",Na).attr("transform",function(gr){var or=this.parentNode.__axis;return X((or&&isFinite(or=or(gr))?or:kt(gr))+B)})),cr.remove(),yr.attr("d",r===An||r===Zn?N?"M"+j*N+","+Ht+"H"+B+"V"+Dt+"H"+j*N:"M"+B+","+Ht+"V"+Dt:N?"M"+Ht+","+j*N+"V"+B+"H"+Dt+"V"+j*N:"M"+Ht+","+B+"H"+Dt),Sr.attr("opacity",1).attr("transform",function(gr){return X(kt(gr)+B)}),ir.attr(z+"2",j*R),jt.attr(z,j*mt).text(sr),Kt.filter(af).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===An?"end":"middle"),Kt.each(function(){this.__axis=kt})}return tt.scale=function(et){return arguments.length?(o=et,tt):o},tt.ticks=function(){return v=Array.from(arguments),tt},tt.tickArguments=function(et){return arguments.length?(v=et==null?[]:Array.from(et),tt):v.slice()},tt.tickValues=function(et){return arguments.length?(y=et==null?null:Array.from(et),tt):y&&y.slice()},tt.tickFormat=function(et){return arguments.length?(I=et,tt):I},tt.tickSize=function(et){return arguments.length?(R=N=+et,tt):R},tt.tickSizeInner=function(et){return arguments.length?(R=+et,tt):R},tt.tickSizeOuter=function(et){return arguments.length?(N=+et,tt):N},tt.tickPadding=function(et){return arguments.length?(b=+et,tt):b},tt.offset=function(et){return arguments.length?(B=+et,tt):B},tt}function gl(r){return kn(Qn,r)}function of(r){return kn(Zn,r)}function yl(r){return kn(Re,r)}function pl(r){return kn(An,r)}function Ma(r){return function(o){return Math.sign(o)*Math.log1p(Math.abs(o/r))}}function Da(r){return function(o){return Math.sign(o)*Math.expm1(Math.abs(o))*r}}function sf(r){var o=1,v=r(Ma(o),Da(o));return v.constant=function(y){return arguments.length?r(Ma(o=+y),Da(o)):o},ae(v)}function Fa(){var r=sf(jr());return r.copy=function(){return _r(r,Fa()).constant(r.constant())},Jr.apply(r,arguments)}var Xr={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},uf=Object.defineProperty,ff=(r,o,v)=>o in r?uf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,ba=(r,o,v)=>ff(r,typeof o!="symbol"?o+"":o,v);class lf{constructor(o){ba(this,"owner"),ba(this,"colorScale"),this.owner=o}drawColorScale(){const{$$:o,config:v}=this.owner,y=o.data.targets[0],I=o.state.height-v.padding_bottom-v.padding_top,R=v.scale_width,N=5,b=Xu(v.padding_bottom,I,N),B=$e(y.colors).domain([b[b.length-1],b[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=o.$el.svg.append("g").attr("width",50).attr("height",I).attr("class",Xr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${v.padding_top})`).selectAll("bars").data(b).enter().append("rect").attr("y",(et,zt)=>zt*N).attr("x",0).attr("width",R).attr("height",N).attr("fill",et=>B(et));const j=Fa().domain([y.minEpochs,y.maxEpochs]).range([b[0]+v.padding_top+b[b.length-1]+N-1,b[0]+v.padding_top]),z=of(j),X=v.scale_format;X==="pow10"?z.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):Se(X)?z.tickFormat(X):z.tickFormat(Dn("d"));const tt=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${R},0)`).call(z);X==="pow10"&&tt.selectAll(".tick text").text(null).filter(et=>et/Math.pow(10,Math.ceil(Math.log(et)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(et=>Math.round(Math.log(et)/Math.LN10)),this.colorScale.attr("transform",`translate(${o.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function vf(r,o){const v=r.x,y=r.value;let I=!1;for(let R=0,N=o.length-1;R<o.length;N=R++){const b=o[R].x,B=o[R].y,j=o[N].x,z=o[N].y;B>y!=z>y&&v<(j-b)*(y-B)/(z-B)+b&&(I=!I)}return I}function cf(r,o){return r.epochs<o.epochs?-1:r.epochs>o.epochs?1:0}function df(r){let o=0,v,y;for(let I=0,R=r.length,N=R-1;I<R;N=I,I++)v=r[I],y=r[N],o+=v.x*y.y,o-=v.y*y.x;return o/=2,o}function qn(r){const o=df(r);let v=0,y=0,I;for(let R=0,N=r.length,b=N-1;R<N;b=R,R++){const B=r[R],j=r[b];I=B.x*j.y-j.x*B.y,v+=(B.x+j.x)*I,y+=(B.y+j.y)*I}return I=o*6,{x:v/I,y:y/I}}var hf=Object.defineProperty,gf=(r,o,v)=>o in r?hf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,yf=(r,o,v)=>gf(r,typeof o!="symbol"?o+"":o,v);class pf{constructor(o){yf(this,"owner"),this.owner=o;const v=o.$$.$el.main.select(".bb-chart").append("g").attr("class",Xr.stanfordElements);v.append("g").attr("class",Xr.stanfordLines),v.append("g").attr("class",Xr.stanfordRegions)}updateStanfordLines(o){const{$$:v}=this.owner,{config:y,$el:{main:I}}=v,R=y.axis_rotated,N=this.xvCustom.bind(v),b=this.yvCustom.bind(v),B=I.select(`.${Xr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Xr.stanfordLine}`).data(this.owner.config.lines);B.exit().transition().duration(o).style("opacity","0").remove();const j=B.enter().append("g");j.append("line").style("opacity","0"),j.merge(B).attr("class",z=>Xr.stanfordLine+(z.class?` ${z.class}`:"")).select("line").transition().duration(o).attr("x1",z=>R?b(z,"y1"):N(z,"x1")).attr("x2",z=>R?b(z,"y2"):N(z,"x2")).attr("y1",z=>R?N(z,"x1"):b(z,"y1")).attr("y2",z=>R?N(z,"x2"):b(z,"y2")).transition().style("opacity",null)}updateStanfordRegions(o){const{$$:v}=this.owner,{config:y,$el:{main:I}}=v,R=y.axis_rotated,N=this.xvCustom.bind(v),b=this.yvCustom.bind(v),B=this.owner.countEpochsInRegion.bind(v);let j=I.select(`.${Xr.stanfordRegions}`).selectAll(`.${Xr.stanfordRegion}`).data(this.owner.config.regions);j.exit().transition().duration(o).style("opacity","0").remove();const z=j.enter().append("g");z.append("polygon").style("opacity","0"),z.append("text").attr("transform",R?"rotate(-90)":"").style("opacity","0"),j=z.merge(j),j.attr("class",X=>Xr.stanfordRegion+(X.class?` ${X.class}`:"")).select("polygon").transition().duration(o).attr("points",X=>X.points.map(tt=>[R?b(tt,"y"):N(tt,"x"),R?N(tt,"x"):b(tt,"y")].join(",")).join(" ")).transition().style("opacity",X=>String(X.opacity?X.opacity:.2)),j.select("text").transition().duration(o).attr("x",X=>R?b(qn(X.points),"y"):N(qn(X.points),"x")).attr("y",X=>R?N(qn(X.points),"x"):b(qn(X.points),"y")).text(X=>{if(X.text){const{value:tt,percentage:et}=B(X.points);return X.text(tt,et)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(o=0){this.updateStanfordLines(o),this.updateStanfordRegions(o)}xvCustom(o,v){const y=this,{axis:I,config:R}=y;let N=v?o[v]:y.getBaseValue(o);return I.isTimeSeries()?N=Ju.call(y,N):I.isCategorized()&&Tn(N)&&(N=R.axis_x_categories.indexOf(o.value)),y.scale.x(N)}yvCustom(o,v){const y=this,I=o.axis&&o.axis==="y2"?y.scale.y2:y.scale.y,R=v?o[v]:y.getBaseValue(o);return I(R)}}class La{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var mf=Object.defineProperty,xf=(r,o,v)=>o in r?mf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,Ce=(r,o,v)=>xf(r,typeof o!="symbol"?o+"":o,v);class Sf extends Pa{constructor(o){return super(o),Ce(this,"config"),Ce(this,"colorScale"),Ce(this,"elements"),this.config=new La,this}$beforeInit(){const{$$:o}=this;o.config.data_xSort=!1,o.isMultipleX=()=>!0,o.showGridFocus=()=>{},o.labelishData=y=>y.values,o.opacityForCircle=()=>1;const v=o.getCurrentPadding.bind(o);o.getCurrentPadding=()=>{const y=v();return y.right+=this.colorScale?this.colorScale.getColorScalePadding():0,y}}$init(){const{$$:o}=this;Zu.call(this,this.options),o.color=this.getStanfordPointColor.bind(o),this.colorScale=new lf(this),this.elements=new pf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(o){var v,y;(v=this.colorScale)==null||v.drawColorScale(),(y=this.elements)==null||y.updateStanfordElements(o)}getOptions(){return new La}convertData(){const o=this.$$.data.targets,v=this.options.epochs;o.forEach(y=>{y.values.forEach((I,R)=>{I.epochs=v[R]}),y.minEpochs=void 0,y.maxEpochs=void 0,y.colors=void 0,y.colorscale=void 0})}initStanfordData(){const{config:o}=this,v=this.$$.data.targets[0];v.values.sort(cf);const y=v.values.map(I=>I.epochs);v.minEpochs=isNaN(o.scale_min)?Math.min(...y):o.scale_min,v.maxEpochs=isNaN(o.scale_max)?Math.max(...y):o.scale_max,v.colors=Se(o.colors)?o.colors:Gt(q(250,1,.5),q(0,1,.5)),v.colorscale=Ue(v.colors).domain([v.minEpochs,v.maxEpochs])}getStanfordPointColor(o){return this.data.targets[0].colorscale(o.epochs)}setStanfordTooltip(){const{config:o}=this.$$;Ta(o.tooltip_contents)&&(o.tooltip_contents=function(v,y,I,R){const{data_x:N}=o;let b=`<table class="${oe.tooltip}"><tbody>`;return v.forEach(B=>{const{id:j="",value:z=0,epochs:X=0,x:tt=""}=B;b+=`<tr>
|
|
13
|
+
`),N=y?R.length-1:1;r.html(""),R.forEach((b,B)=>{r.append("tspan").attr("x",0).attr("dy",`${B===0?v[0]*N:v[1]}em`).text(b)})}}}function Vu(r){const{x:o,y:v,width:y,height:I}=r.getBBox();return[{x:o,y:v+I},{x:o,y:v},{x:o+y,y:v},{x:o+y,y:v+I}]}function Xf(r){const{width:o,height:v}=Ra(r),y=Vu(r),I=y[0].x,R=Math.min(y[0].y,y[1].y);return{x:I,y:R,width:o,height:v}}function Jf(r,o){var v;const y=r&&((v=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:v[0]);let I=[0,0];try{I=d3Pointer(y||r,o)}catch(R){}return I.map(R=>isNaN(R)?0:R)}function Wu(r){const{event:o,$el:v}=r,y=v.subchart.main||v.main;let I;return o&&o.type==="brush"?I=o.selection:y&&(I=y.select(".bb-brush").node())&&(I=d3BrushSelection(I)),I}function Aa(r,o,v=!1){const y=I=>I[r?"getBoundingClientRect":"getBBox"]();return v?y(o):!("rect"in o)||"rect"in o&&o.hasAttribute("width")&&o.rect.width!==+(o.getAttribute("width")||0)?o.rect=y(o):o.rect}function Ra(r,o=!1){return Aa(!0,r,o)}function Qf(r,o=!1){return Aa(!1,r,o)}function Zf(r=!0,o=0,v=1e4){const y=window.crypto||window.msCrypto,I=y?o+y.getRandomValues(new Uint32Array(1))[0]%(v-o+1):Math.floor(Math.random()*(v-o)+o);return r?String(I):I}function Ca(r,o,v,y,I){if(v>y)return-1;const R=Math.floor((v+y)/2);let{x:N,w:b=0}=r[R];return I&&(N=r[R].y,b=r[R].h),o>=N&&o<=N+b?R:o<N?Ca(r,o,v,R-1,I):Ca(r,o,R+1,y,I)}function kf(r){const o=Wu(r);return o?o[0]===o[1]:!0}function qf(...r){const o=v=>{if(Jn(v)&&v.constructor){const y=new v.constructor;for(const I in v)y[I]=o(v[I]);return y}return v};return r.map(v=>o(v)).reduce((v,y)=>Ia(Ia({},v),y))}function zu(r={},o){Oe(o)&&o.forEach(v=>zu(r,v));for(const v in o)/^\d+$/.test(v)||v in r||(r[v]=o[v]);return r}const _f=r=>r.charAt(0).toUpperCase()+r.slice(1);function tl(r,o="-"){return r.split(o).map((v,y)=>y?v.charAt(0).toUpperCase()+v.slice(1).toLowerCase():v.toLowerCase()).join("")}const Ku=r=>[].slice.call(r);function rl(r,o,v){const{rootSelector:y="",sheet:I}=r,N=`${y} ${(b=>b.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(o)} {${v.join(";")}}`;return I[I.insertRule?"insertRule":"addRule"](N,I.cssRules.length)}function nl(r){let o=[];return r.forEach(v=>{var y;try{v.cssRules&&v.cssRules.length&&(o=o.concat(Ku(v.cssRules)))}catch(I){(y=window.console)==null||y.warn(`Error while reading rules from ${v.href}: ${I.toString()}`)}}),o}function el(r){var o,v,y,I,R,N;return{x:((v=(o=window.pageXOffset)!=null?o:window.scrollX)!=null?v:0)+((y=r.scrollLeft)!=null?y:0),y:((R=(I=window.pageYOffset)!=null?I:window.scrollY)!=null?R:0)+((N=r.scrollTop)!=null?N:0)}}function al(r,o=0,v=0,y=!0){const I=new DOMPoint(o,v),R=r.getScreenCTM(),N=I.matrixTransform(y?R==null?void 0:R.inverse():R);if(y===!1){const b=Ra(r);N.x-=b.x,N.y-=b.y}return N}function ol(r){const o=r?r.transform:null,v=o&&o.baseVal;return v&&v.numberOfItems?v.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function sl(r){const o=r[0]instanceof Date,v=(o?r.map(Number):r).filter((y,I,R)=>R.indexOf(y)===I);return o?v.map(y=>new Date(y)):v}function il(r){return r&&r.length?r.reduce((o,v)=>o.concat(v)):[]}function Te(r,...o){if(!o.length||o.length===1&&!o[0])return r;const v=o.shift();return Jn(r)&&Jn(v)&&Object.keys(v).forEach(y=>{if(!/^(__proto__|constructor|prototype)$/i.test(y)){const I=v[y];Jn(I)?(!r[y]&&(r[y]={}),r[y]=Te(r[y],I)):r[y]=Oe(I)?I.concat():I}}),Te(r,...o)}function Yu(r,o=!0){let v;return r[0]instanceof Date?v=o?(y,I)=>y-I:(y,I)=>I-y:o&&!r.every(isNaN)?v=(y,I)=>y-I:o||(v=(y,I)=>y>I&&-1||y<I&&1||y===I&&0),r.concat().sort(v)}function ul(r,o){let v=o.filter(y=>Hu(y));return v.length?Ee(v[0])?v=Math[r](...v):v[0]instanceof Date&&(v=Yu(v,r==="min")[0]):v=void 0,v}const Xu=(r,o,v=1)=>{const y=[],I=Math.max(0,Math.ceil((o-r)/v))|0;for(let R=r;R<I;R++)y.push(r+R*v);return y},fl={mouse:(()=>{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(o,v,y=r())=>{o.dispatchEvent(new MouseEvent(v,y))}}catch(o){return(v,y,I=r())=>{const R=Uu.createEvent("MouseEvent");R.initMouseEvent(y,I.bubbles,I.cancelable,Xn,0,I.screenX,I.screenY,I.clientX,I.clientY,!1,!1,!1,!1,0,null),v.dispatchEvent(R)}}})(),touch:(r,o,v)=>{const y=new Touch(Te({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},v));r.dispatchEvent(new TouchEvent(o,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[y],targetTouches:[],changedTouches:[y]}))}};function ll(r,o){let v=r;for(const y in o)v=v.replace(new RegExp(`{=${y}}`,"g"),o[y]);return v}function Ju(r){var o;let v;if(r instanceof Date)v=r;else if(Tn(r)){const{config:y,format:I}=this;v=(o=I.dataTime(y.data_xFormat)(r))!=null?o:new Date(r)}else Ee(r)&&!isNaN(r)&&(v=new Date(+r));return(!v||isNaN(+v))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),v}function vl(r){const o=r.attr("viewBox");return o?/(\d+(\.\d+)?){3}/.test(o):!1}function cl(r,o,v=!1){const y=!!r.node;let I=!1;for(const[R,N]of Object.entries(o))if(I=y?r.style(R)===N:r.style[R]===N,v===!1&&I)break;return I}function dl(){var r,o;return((r=document)==null?void 0:r.hidden)===!1||((o=document)==null?void 0:o.visibilityState)==="visible"}function hl(r,o){const{DocumentTouch:v,matchMedia:y,navigator:I}=window,R=y==null?void 0:y("(pointer:coarse)").matches;let N=!1;if(o)if(I&&"maxTouchPoints"in I)N=I.maxTouchPoints>0;else if("ontouchmove"in window||v&&document instanceof v)N=!0;else if(R)N=!0;else{const B=I.userAgent;N=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(B)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(B)}return r&&!R&&(y==null?void 0:y("(pointer:fine)").matches)&&"mouse"||N&&"touch"||"mouse"}function Qu(r,o){o()===!1?requestAnimationFrame(()=>Qu(r,o)):r()}function Zu(r){const o=this.config;let v,y,I;const R=()=>{const N=y.shift();if(N&&v&&Ie(v)&&N in v)return v=v[N],R();if(!N)return v};Object.keys(o).forEach(N=>{v=r,y=N.split("_"),I=R(),Oa(I)&&(o[N]=I)}),this.api&&(this.state.orgConfig=r)}var ku=Object.defineProperty,qu=(r,o,v)=>o in r?ku(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,Ae=(r,o,v)=>qu(r,typeof o!="symbol"?o+"":o,v);class Pa{constructor(o={}){Ae(this,"$$"),Ae(this,"options"),this.options=o}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(o=>{this[o]=null,delete this[o]})}}Ae(Pa,"version","3.16.0");function _u(r){return r}var Qn=1,Zn=2,Re=3,An=4,Na=1e-6;function tf(r){return"translate("+r+",0)"}function rf(r){return"translate(0,"+r+")"}function nf(r){return o=>+r(o)}function ef(r,o){return o=Math.max(0,r.bandwidth()-o*2)/2,r.round()&&(o=Math.round(o)),v=>+r(v)+o}function af(){return!this.__axis}function kn(r,o){var v=[],y=null,I=null,R=6,N=6,b=3,B=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,j=r===Qn||r===An?-1:1,z=r===An||r===Zn?"x":"y",X=r===Qn||r===Re?tf:rf;function tt(et){var zt=y==null?o.ticks?o.ticks.apply(o,v):o.domain():y,sr=I==null?o.tickFormat?o.tickFormat.apply(o,v):_u:I,mt=Math.max(R,0)+b,Nt=o.range(),Ht=+Nt[0]+B,Dt=+Nt[Nt.length-1]+B,kt=(o.bandwidth?ef:nf)(o.copy(),B),Kt=et.selection?et.selection():et,yr=Kt.selectAll(".domain").data([null]),Sr=Kt.selectAll(".tick").data(zt,o).order(),cr=Sr.exit(),Nr=Sr.enter().append("g").attr("class","tick"),ir=Sr.select("line"),jt=Sr.select("text");yr=yr.merge(yr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Sr=Sr.merge(Nr),ir=ir.merge(Nr.append("line").attr("stroke","currentColor").attr(z+"2",j*R)),jt=jt.merge(Nr.append("text").attr("fill","currentColor").attr(z,j*mt).attr("dy",r===Qn?"0em":r===Re?"0.71em":"0.32em")),et!==Kt&&(yr=yr.transition(et),Sr=Sr.transition(et),ir=ir.transition(et),jt=jt.transition(et),cr=cr.transition(et).attr("opacity",Na).attr("transform",function(gr){return isFinite(gr=kt(gr))?X(gr+B):this.getAttribute("transform")}),Nr.attr("opacity",Na).attr("transform",function(gr){var or=this.parentNode.__axis;return X((or&&isFinite(or=or(gr))?or:kt(gr))+B)})),cr.remove(),yr.attr("d",r===An||r===Zn?N?"M"+j*N+","+Ht+"H"+B+"V"+Dt+"H"+j*N:"M"+B+","+Ht+"V"+Dt:N?"M"+Ht+","+j*N+"V"+B+"H"+Dt+"V"+j*N:"M"+Ht+","+B+"H"+Dt),Sr.attr("opacity",1).attr("transform",function(gr){return X(kt(gr)+B)}),ir.attr(z+"2",j*R),jt.attr(z,j*mt).text(sr),Kt.filter(af).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===An?"end":"middle"),Kt.each(function(){this.__axis=kt})}return tt.scale=function(et){return arguments.length?(o=et,tt):o},tt.ticks=function(){return v=Array.from(arguments),tt},tt.tickArguments=function(et){return arguments.length?(v=et==null?[]:Array.from(et),tt):v.slice()},tt.tickValues=function(et){return arguments.length?(y=et==null?null:Array.from(et),tt):y&&y.slice()},tt.tickFormat=function(et){return arguments.length?(I=et,tt):I},tt.tickSize=function(et){return arguments.length?(R=N=+et,tt):R},tt.tickSizeInner=function(et){return arguments.length?(R=+et,tt):R},tt.tickSizeOuter=function(et){return arguments.length?(N=+et,tt):N},tt.tickPadding=function(et){return arguments.length?(b=+et,tt):b},tt.offset=function(et){return arguments.length?(B=+et,tt):B},tt}function gl(r){return kn(Qn,r)}function of(r){return kn(Zn,r)}function yl(r){return kn(Re,r)}function pl(r){return kn(An,r)}function Ma(r){return function(o){return Math.sign(o)*Math.log1p(Math.abs(o/r))}}function Da(r){return function(o){return Math.sign(o)*Math.expm1(Math.abs(o))*r}}function sf(r){var o=1,v=r(Ma(o),Da(o));return v.constant=function(y){return arguments.length?r(Ma(o=+y),Da(o)):o},ae(v)}function Fa(){var r=sf(jr());return r.copy=function(){return _r(r,Fa()).constant(r.constant())},Jr.apply(r,arguments)}var Xr={colorScale:"bb-colorscale",stanfordElements:"bb-stanford-elements",stanfordLine:"bb-stanford-line",stanfordLines:"bb-stanford-lines",stanfordRegion:"bb-stanford-region",stanfordRegions:"bb-stanford-regions"},uf=Object.defineProperty,ff=(r,o,v)=>o in r?uf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,ba=(r,o,v)=>ff(r,typeof o!="symbol"?o+"":o,v);class lf{constructor(o){ba(this,"owner"),ba(this,"colorScale"),this.owner=o}drawColorScale(){const{$$:o,config:v}=this.owner,y=o.data.targets[0],I=o.state.height-v.padding_bottom-v.padding_top,R=v.scale_width,N=5,b=Xu(v.padding_bottom,I,N),B=$e(y.colors).domain([b[b.length-1],b[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=o.$el.svg.append("g").attr("width",50).attr("height",I).attr("class",Xr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${v.padding_top})`).selectAll("bars").data(b).enter().append("rect").attr("y",(et,zt)=>zt*N).attr("x",0).attr("width",R).attr("height",N).attr("fill",et=>B(et));const j=Fa().domain([y.minEpochs,y.maxEpochs]).range([b[0]+v.padding_top+b[b.length-1]+N-1,b[0]+v.padding_top]),z=of(j),X=v.scale_format;X==="pow10"?z.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):Se(X)?z.tickFormat(X):z.tickFormat(Dn("d"));const tt=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${R},0)`).call(z);X==="pow10"&&tt.selectAll(".tick text").text(null).filter(et=>et/Math.pow(10,Math.ceil(Math.log(et)/Math.LN10-1e-12))===1).text(10).append("tspan").attr("dy","-.7em").text(et=>Math.round(Math.log(et)/Math.LN10)),this.colorScale.attr("transform",`translate(${o.state.current.width-this.xForColorScale()}, 0)`)}xForColorScale(){return this.owner.config.padding_right+this.colorScale.node().getBBox().width}getColorScalePadding(){return this.xForColorScale()+this.owner.config.padding_left+20}}function vf(r,o){const v=r.x,y=r.value;let I=!1;for(let R=0,N=o.length-1;R<o.length;N=R++){const b=o[R].x,B=o[R].y,j=o[N].x,z=o[N].y;B>y!=z>y&&v<(j-b)*(y-B)/(z-B)+b&&(I=!I)}return I}function cf(r,o){return r.epochs<o.epochs?-1:r.epochs>o.epochs?1:0}function df(r){let o=0,v,y;for(let I=0,R=r.length,N=R-1;I<R;N=I,I++)v=r[I],y=r[N],o+=v.x*y.y,o-=v.y*y.x;return o/=2,o}function qn(r){const o=df(r);let v=0,y=0,I;for(let R=0,N=r.length,b=N-1;R<N;b=R,R++){const B=r[R],j=r[b];I=B.x*j.y-j.x*B.y,v+=(B.x+j.x)*I,y+=(B.y+j.y)*I}return I=o*6,{x:v/I,y:y/I}}var hf=Object.defineProperty,gf=(r,o,v)=>o in r?hf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,yf=(r,o,v)=>gf(r,typeof o!="symbol"?o+"":o,v);class pf{constructor(o){yf(this,"owner"),this.owner=o;const v=o.$$.$el.main.select(".bb-chart").append("g").attr("class",Xr.stanfordElements);v.append("g").attr("class",Xr.stanfordLines),v.append("g").attr("class",Xr.stanfordRegions)}updateStanfordLines(o){const{$$:v}=this.owner,{config:y,$el:{main:I}}=v,R=y.axis_rotated,N=this.xvCustom.bind(v),b=this.yvCustom.bind(v),B=I.select(`.${Xr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Xr.stanfordLine}`).data(this.owner.config.lines);B.exit().transition().duration(o).style("opacity","0").remove();const j=B.enter().append("g");j.append("line").style("opacity","0"),j.merge(B).attr("class",z=>Xr.stanfordLine+(z.class?` ${z.class}`:"")).select("line").transition().duration(o).attr("x1",z=>R?b(z,"y1"):N(z,"x1")).attr("x2",z=>R?b(z,"y2"):N(z,"x2")).attr("y1",z=>R?N(z,"x1"):b(z,"y1")).attr("y2",z=>R?N(z,"x2"):b(z,"y2")).transition().style("opacity",null)}updateStanfordRegions(o){const{$$:v}=this.owner,{config:y,$el:{main:I}}=v,R=y.axis_rotated,N=this.xvCustom.bind(v),b=this.yvCustom.bind(v),B=this.owner.countEpochsInRegion.bind(v);let j=I.select(`.${Xr.stanfordRegions}`).selectAll(`.${Xr.stanfordRegion}`).data(this.owner.config.regions);j.exit().transition().duration(o).style("opacity","0").remove();const z=j.enter().append("g");z.append("polygon").style("opacity","0"),z.append("text").attr("transform",R?"rotate(-90)":"").style("opacity","0"),j=z.merge(j),j.attr("class",X=>Xr.stanfordRegion+(X.class?` ${X.class}`:"")).select("polygon").transition().duration(o).attr("points",X=>X.points.map(tt=>[R?b(tt,"y"):N(tt,"x"),R?N(tt,"x"):b(tt,"y")].join(",")).join(" ")).transition().style("opacity",X=>String(X.opacity?X.opacity:.2)),j.select("text").transition().duration(o).attr("x",X=>R?b(qn(X.points),"y"):N(qn(X.points),"x")).attr("y",X=>R?N(qn(X.points),"x"):b(qn(X.points),"y")).text(X=>{if(X.text){const{value:tt,percentage:et}=B(X.points);return X.text(tt,et)}return""}).attr("text-anchor","middle").attr("dominant-baseline","middle").transition().style("opacity",null)}updateStanfordElements(o=0){this.updateStanfordLines(o),this.updateStanfordRegions(o)}xvCustom(o,v){const y=this,{axis:I,config:R}=y;let N=v?o[v]:y.getBaseValue(o);return I.isTimeSeries()?N=Ju.call(y,N):I.isCategorized()&&Tn(N)&&(N=R.axis_x_categories.indexOf(o.value)),y.scale.x(N)}yvCustom(o,v){const y=this,I=o.axis&&o.axis==="y2"?y.scale.y2:y.scale.y,R=v?o[v]:y.getBaseValue(o);return I(R)}}class La{constructor(){return{colors:void 0,epochs:[],lines:[],scale_min:void 0,scale_max:void 0,scale_width:20,scale_format:void 0,padding_top:0,padding_right:0,padding_bottom:0,padding_left:0,regions:[]}}}var mf=Object.defineProperty,xf=(r,o,v)=>o in r?mf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:v}):r[o]=v,Ce=(r,o,v)=>xf(r,typeof o!="symbol"?o+"":o,v);class Sf extends Pa{constructor(o){return super(o),Ce(this,"config"),Ce(this,"colorScale"),Ce(this,"elements"),this.config=new La,this}$beforeInit(){const{$$:o}=this;o.config.data_xSort=!1,o.isMultipleX=()=>!0,o.showGridFocus=()=>{},o.labelishData=y=>y.values,o.opacityForCircle=()=>1;const v=o.getCurrentPadding.bind(o);o.getCurrentPadding=()=>{const y=v();return y.right+=this.colorScale?this.colorScale.getColorScalePadding():0,y}}$init(){const{$$:o}=this;Zu.call(this,this.options),o.color=this.getStanfordPointColor.bind(o),this.colorScale=new lf(this),this.elements=new pf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(o){var v,y;(v=this.colorScale)==null||v.drawColorScale(),(y=this.elements)==null||y.updateStanfordElements(o)}getOptions(){return new La}convertData(){const o=this.$$.data.targets,v=this.options.epochs;o.forEach(y=>{y.values.forEach((I,R)=>{I.epochs=v[R]}),y.minEpochs=void 0,y.maxEpochs=void 0,y.colors=void 0,y.colorscale=void 0})}initStanfordData(){const{config:o}=this,v=this.$$.data.targets[0];v.values.sort(cf);const y=v.values.map(I=>I.epochs);v.minEpochs=isNaN(o.scale_min)?Math.min(...y):o.scale_min,v.maxEpochs=isNaN(o.scale_max)?Math.max(...y):o.scale_max,v.colors=Se(o.colors)?o.colors:Gt(q(250,1,.5),q(0,1,.5)),v.colorscale=Ue(v.colors).domain([v.minEpochs,v.maxEpochs])}getStanfordPointColor(o){return this.data.targets[0].colorscale(o.epochs)}setStanfordTooltip(){const{config:o}=this.$$;Ta(o.tooltip_contents)&&(o.tooltip_contents=function(v,y,I,R){const{data_x:N}=o;let b=`<table class="${oe.tooltip}"><tbody>`;return v.forEach(B=>{const{id:j="",value:z=0,epochs:X=0,x:tt=""}=B;b+=`<tr>
|
|
14
14
|
<th>${N||""}</th>
|
|
15
15
|
<th class="value">${y(tt)}</th>
|
|
16
16
|
</tr>
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* billboard.js, JavaScript chart library
|
|
6
6
|
* https://naver.github.io/billboard.js/
|
|
7
7
|
*
|
|
8
|
-
* @version 3.16.0
|
|
8
|
+
* @version 3.16.0
|
|
9
9
|
* @requires billboard.js
|
|
10
10
|
* @summary billboard.js plugin
|
|
11
11
|
*/
|
|
@@ -25073,7 +25073,7 @@ class Plugin {
|
|
|
25073
25073
|
});
|
|
25074
25074
|
}
|
|
25075
25075
|
}
|
|
25076
|
-
__publicField(Plugin, "version", "3.16.0
|
|
25076
|
+
__publicField(Plugin, "version", "3.16.0");
|
|
25077
25077
|
|
|
25078
25078
|
;// ./src/Plugin/tableview/const.ts
|
|
25079
25079
|
|