billboard.js 3.15.0-next.2 → 3.15.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.
Files changed (45) hide show
  1. package/dist/billboard.css +1 -1
  2. package/dist/billboard.js +3 -15
  3. package/dist/billboard.min.css +1 -1
  4. package/dist/billboard.min.js +4 -4
  5. package/dist/billboard.pkgd.js +3 -15
  6. package/dist/billboard.pkgd.min.js +4 -4
  7. package/dist/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  8. package/dist/plugin/billboardjs-plugin-bubblecompare.min.js +2 -2
  9. package/dist/plugin/billboardjs-plugin-sparkline.js +2 -2
  10. package/dist/plugin/billboardjs-plugin-sparkline.min.js +2 -2
  11. package/dist/plugin/billboardjs-plugin-stanford.js +2 -2
  12. package/dist/plugin/billboardjs-plugin-stanford.min.js +2 -2
  13. package/dist/plugin/billboardjs-plugin-tableview.js +2 -2
  14. package/dist/plugin/billboardjs-plugin-tableview.min.js +2 -2
  15. package/dist/plugin/billboardjs-plugin-textoverlap.js +2 -2
  16. package/dist/plugin/billboardjs-plugin-textoverlap.min.js +2 -2
  17. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.js +2 -2
  18. package/dist/plugin/pkgd/billboardjs-plugin-bubblecompare.pkgd.min.js +2 -2
  19. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.js +2 -2
  20. package/dist/plugin/pkgd/billboardjs-plugin-sparkline.pkgd.min.js +2 -2
  21. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.js +2 -2
  22. package/dist/plugin/pkgd/billboardjs-plugin-stanford.pkgd.min.js +2 -2
  23. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.js +2 -2
  24. package/dist/plugin/pkgd/billboardjs-plugin-tableview.pkgd.min.js +2 -2
  25. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.js +2 -2
  26. package/dist/plugin/pkgd/billboardjs-plugin-textoverlap.pkgd.min.js +2 -2
  27. package/dist/theme/dark.css +1 -1
  28. package/dist/theme/dark.min.css +1 -1
  29. package/dist/theme/datalab.css +1 -1
  30. package/dist/theme/datalab.min.css +1 -1
  31. package/dist/theme/graph.css +1 -1
  32. package/dist/theme/graph.min.css +1 -1
  33. package/dist/theme/insight.css +1 -1
  34. package/dist/theme/insight.min.css +1 -1
  35. package/dist/theme/modern.css +1 -1
  36. package/dist/theme/modern.min.css +1 -1
  37. package/dist-esm/billboard.js +4 -16
  38. package/dist-esm/plugin/billboardjs-plugin-bubblecompare.js +2 -2
  39. package/dist-esm/plugin/billboardjs-plugin-sparkline.js +2 -2
  40. package/dist-esm/plugin/billboardjs-plugin-stanford.js +2 -2
  41. package/dist-esm/plugin/billboardjs-plugin-tableview.js +2 -2
  42. package/dist-esm/plugin/billboardjs-plugin-textoverlap.js +2 -2
  43. package/package.json +10 -10
  44. package/src/ChartInternal/ChartInternal.ts +1 -1
  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.15.0-next.2
8
+ * @version 3.15.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
@@ -24914,7 +24914,7 @@ class Plugin {
24914
24914
  });
24915
24915
  }
24916
24916
  }
24917
- __publicField(Plugin, "version", "3.15.0-next.2");
24917
+ __publicField(Plugin, "version", "3.15.0");
24918
24918
 
24919
24919
  ;// ./node_modules/d3-axis/src/identity.js
24920
24920
  /* 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.15.0-next.2
8
+ * @version 3.15.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(5683),f=t(2068),c=t(16887),v=t(24487),d=t(45344),p=t(17361),y=t(10512),m=t(33064),x=t(39807),I=t(72069),E=x.UNSUPPORTED_Y,O=4294967295,C=Math.min,P=e([].push),N=e("".slice),b=!I(function(){var M=/(?:)/,F=M.exec;M.exec=function(){return F.apply(this,arguments)};var $="ab".split(M);return $.length!==2||$[0]!=="a"||$[1]!=="b"}),A="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(M,F,$){var L="0".split(void 0,0).length?function(j,W){return j===void 0&&W===0?[]:n(F,this,j,W)}:F;return[function(W,z){var w=f(this),G=i(W)?void 0:y(W,M);return G?n(G,W,w,z):n(L,p(w),W,z)},function(j,W){var z=s(this),w=p(j);if(!A){var G=$(L,z,w,W,L!==F);if(G.done)return G.value}var V=c(z,RegExp),X=z.unicode,tt=(z.ignoreCase?"i":"")+(z.multiline?"m":"")+(z.unicode?"u":"")+(E?"g":"y"),q=new V(E?"^(?:"+z.source+")":z,tt),rt=W===void 0?O:W>>>0;if(rt===0)return[];if(w.length===0)return m(q,w)===null?[w]:[];for(var Z=0,mt=0,ht=[];mt<w.length;){q.lastIndex=E?0:mt;var xt=m(q,E?N(w,mt):w),Rt;if(xt===null||(Rt=C(d(q.lastIndex+(E?mt:0)),w.length))===Z)mt=v(w,mt,X);else{if(P(ht,N(w,Z,mt)),ht.length===rt)return ht;for(var Nt=1;Nt<=xt.length-1;Nt++)if(P(ht,xt[Nt]),ht.length===rt)return ht;mt=Z=Rt}}return P(ht,N(w,Z)),ht}]},A||!b,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 c=n("Symbol");return e(c)&&a(c.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),c=f(function(){return[].push.call({length:4294967296},1)!==4294967297}),v=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(p){return p instanceof TypeError}},d=c||!v();n({target:"Array",proto:!0,arity:1,forced:d},{push:function(y){var m=e(this),x=a(m),I=arguments.length;i(x+I);for(var E=0;E<I;E++)m[x]=arguments[E],x++;return s(m,x),x}})},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(v){var d=n(this),p=s(v);if(a(d)<p.size)return!1;var y=p.getIterator();return i(y,function(m){if(!e(d,m))return f(y,"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(c){var v=e(this),d=a(v),p=s(c),y=p>=0?p:d+p;return y<0||y>=d?void 0:v[y]}}),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),c=t(5406),v=t(83258).f,d=t(95307),p=t(11566),y=t(17361),m=t(54932),x=t(39807),I=t(2594),E=t(16142),O=t(72069),C=t(94879),P=t(82367).enforce,N=t(36167),b=t(18565),A=t(76769),M=t(85220),F=b("match"),$=e.RegExp,L=$.prototype,j=e.SyntaxError,W=a(L.exec),z=a("".charAt),w=a("".replace),G=a("".indexOf),V=a("".slice),X=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,tt=/a/g,q=/a/g,rt=new $(tt)!==tt,Z=x.MISSED_STICKY,mt=x.UNSUPPORTED_Y,ht=n&&(!rt||Z||A||M||O(function(){return q[F]=!1,$(tt)!==tt||$(q)===q||String($(tt,"i"))!=="/a/i"})),xt=function(jt){for(var vt=jt.length,Et=0,$t="",Bt=!1,Ft;Et<=vt;Et++){if(Ft=z(jt,Et),Ft==="\\"){$t+=Ft+z(jt,++Et);continue}!Bt&&Ft==="."?$t+="[\\s\\S]":(Ft==="["?Bt=!0:Ft==="]"&&(Bt=!1),$t+=Ft)}return $t},Rt=function(jt){for(var vt=jt.length,Et=0,$t="",Bt=[],Ft=c(null),Vt=!1,nr=!1,tr=0,Zt="",Ht;Et<=vt;Et++){if(Ht=z(jt,Et),Ht==="\\")Ht+=z(jt,++Et);else if(Ht==="]")Vt=!1;else if(!Vt)switch(!0){case Ht==="[":Vt=!0;break;case Ht==="(":if($t+=Ht,V(jt,Et+1,Et+3)==="?:")continue;W(X,V(jt,Et+1))&&(Et+=2,nr=!0),tr++;continue;case(Ht===">"&&nr):if(Zt===""||C(Ft,Zt))throw new j("Invalid capture group name");Ft[Zt]=!0,Bt[Bt.length]=[Zt,tr],nr=!1,Zt="";continue}nr?Zt+=Ht:$t+=Ht}return[$t,Bt]};if(s("RegExp",ht)){for(var Nt=function(vt,Et){var $t=d(L,this),Bt=p(vt),Ft=Et===void 0,Vt=[],nr=vt,tr,Zt,Ht,rr,Qt,wt;if(!$t&&Bt&&Ft&&vt.constructor===Nt)return vt;if((Bt||d(L,vt))&&(vt=vt.source,Ft&&(Et=m(nr))),vt=vt===void 0?"":y(vt),Et=Et===void 0?"":y(Et),nr=vt,A&&"dotAll"in tt&&(Zt=!!Et&&G(Et,"s")>-1,Zt&&(Et=w(Et,/s/g,""))),tr=Et,Z&&"sticky"in tt&&(Ht=!!Et&&G(Et,"y")>-1,Ht&&mt&&(Et=w(Et,/y/g,""))),M&&(rr=Rt(vt),vt=rr[0],Vt=rr[1]),Qt=i($(vt,Et),$t?this:L,Nt),(Zt||Ht||Vt.length)&&(wt=P(Qt),Zt&&(wt.dotAll=!0,wt.raw=Nt(xt(vt),tr)),Ht&&(wt.sticky=!0),Vt.length&&(wt.groups=Vt)),vt!==nr)try{f(Qt,"source",nr===""?"(?:)":nr)}catch(ft){}return Qt},Jt=v($),Xt=0;Jt.length>Xt;)I(Nt,$,Jt[Xt++]);L.constructor=Nt,Nt.prototype=L,E(e,"RegExp",Nt,{constructor:!0})}N("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 c,v;if(f==="string"&&e(c=i.toString)&&!a(v=n(c,i))||e(c=i.valueOf)&&!a(v=n(c,i))||f!=="string"&&e(c=i.toString)&&!a(v=n(c,i)))return v;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,c){if(e(f)&&!s(f,"length").writable)throw new a("Cannot set read only .length");return f.length=c}:function(f,c){return f.length=c}},2371:function(u,h,t){var n=t(14304),e=t(38941),a=t(66543),s=t(91384),i=t(80042),f=t(25001),c=t(37540),v=t(5406),d=t(72069),p=e("Reflect","construct"),y=Object.prototype,m=[].push,x=d(function(){function O(){}return!(p(function(){},[],O)instanceof O)}),I=!d(function(){p(function(){})}),E=x||I;n({target:"Reflect",stat:!0,forced:E,sham:E},{construct:function(C,P){i(C),f(P);var N=arguments.length<3?C:i(arguments[2]);if(I&&!x)return p(C,P,N);if(C===N){switch(P.length){case 0:return new C;case 1:return new C(P[0]);case 2:return new C(P[0],P[1]);case 3:return new C(P[0],P[1],P[2]);case 4:return new C(P[0],P[1],P[2],P[3])}var b=[null];return a(m,b,P),new(a(s,C,b))}var A=N.prototype,M=v(c(A)?A:y),F=a(C,M,P);return c(F)?F:M}})},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 c=+f;return e(c)*s(a(c),.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),c=t(26035);n({target:"Promise",stat:!0,forced:c},{race:function(d){var p=this,y=s.f(p),m=y.reject,x=i(function(){var I=a(p.resolve);f(d,function(E){e(I,p,E).then(y.resolve,m)})});return x.error&&m(x.value),y.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"}},3670:function(u,h,t){var n=t(14304),e=t(11286),a=t(12105),s=t(34338),i=t(79719),f=t(72069),c=RangeError,v=String,d=Math.floor,p=e(i),y=e("".slice),m=e(1 .toFixed),x=function(N,b,A){return b===0?A:b%2===1?x(N,b-1,A*N):x(N*N,b/2,A)},I=function(N){for(var b=0,A=N;A>=4096;)b+=12,A/=4096;for(;A>=2;)b+=1,A/=2;return b},E=function(N,b,A){for(var M=-1,F=A;++M<6;)F+=b*N[M],N[M]=F%1e7,F=d(F/1e7)},O=function(N,b){for(var A=6,M=0;--A>=0;)M+=N[A],N[A]=d(M/b),M=M%b*1e7},C=function(N){for(var b=6,A="";--b>=0;)if(A!==""||b===0||N[b]!==0){var M=v(N[b]);A=A===""?M:A+p("0",7-M.length)+M}return A},P=f(function(){return m(8e-5,3)!=="0.000"||m(.9,0)!=="1"||m(1.255,2)!=="1.25"||m(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!f(function(){m({})});n({target:"Number",proto:!0,forced:P},{toFixed:function(b){var A=s(this),M=a(b),F=[0,0,0,0,0,0],$="",L="0",j,W,z,w;if(M<0||M>20)throw new c("Incorrect fraction digits");if(A!==A)return"NaN";if(A<=-1e21||A>=1e21)return v(A);if(A<0&&($="-",A=-A),A>1e-21)if(j=I(A*x(2,69,1))-69,W=j<0?A*x(2,-j,1):A/x(2,j,1),W*=4503599627370496,j=52-j,j>0){for(E(F,0,W),z=M;z>=7;)E(F,1e7,0),z-=7;for(E(F,x(10,z,1),0),z=j-1;z>=23;)O(F,8388608),z-=23;O(F,1<<z),E(F,1,1),O(F,2),L=C(F)}else E(F,0,W),E(F,1<<-j,0),L=C(F)+p("0",M);return M>0?(w=L.length,L=$+(w<=M?"0."+p("0",M-w)+L:y(L,0,w-M)+"."+y(L,w-M))):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),c=t(55902),v=t(26035),d="No one promise resolved";n({target:"Promise",stat:!0,forced:v},{any:function(y){var m=this,x=s("AggregateError"),I=i.f(m),E=I.resolve,O=I.reject,C=f(function(){var P=a(m.resolve),N=[],b=0,A=1,M=!1;c(y,function(F){var $=b++,L=!1;A++,e(P,m,F).then(function(j){L||M||(M=!0,E(j))},function(j){L||M||(L=!0,N[$]=j,--A||O(new x(N,d)))})}),--A||O(new x(N,d))});return C.error&&O(C.value),I.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),c=t(507),v=t(17417),d=t(44241),p=t(66577),y=f.aTypedArray,m=f.exportTypedArrayMethod,x=n.Uint16Array,I=x&&e(x.prototype.sort),E=!!I&&!(a(function(){I(new x(2),null)})&&a(function(){I(new x(2),{})})),O=!!I&&!a(function(){if(d)return d<74;if(c)return c<67;if(v)return!0;if(p)return p<602;var P=new x(516),N=Array(516),b,A;for(b=0;b<516;b++)A=b%4,P[b]=515-b,N[b]=b-2*A+3;for(I(P,function(M,F){return(M/4|0)-(F/4|0)}),b=0;b<516;b++)if(P[b]!==N[b])return!0}),C=function(P){return function(N,b){return P!==void 0?+P(N,b)||0:b!==b?-1:N!==N?1:N===0&&b===0?1/N>0&&1/b<0?1:-1:N>b}};m("sort",function(N){return N!==void 0&&s(N),O?I(this,N):i(y(this),C(N))},!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),c=new e(f);f>i;)c[i]=a[i++];return c}},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),c=t(44869),v=">",d="<",p="prototype",y="script",m=c("IE_PROTO"),x=function(){},I=function(N){return d+y+v+N+d+"/"+y+v},E=function(N){N.write(I("")),N.close();var b=N.parentWindow.Object;return N=null,b},O=function(){var N=f("iframe"),b="java"+y+":",A;return N.style.display="none",i.appendChild(N),N.src=String(b),A=N.contentWindow.document,A.open(),A.write(I("document.F=Object")),A.close(),A.F},C,P=function(){try{C=new ActiveXObject("htmlfile")}catch(b){}P=typeof document!="undefined"?document.domain&&C?E(C):O():E(C);for(var N=a.length;N--;)delete P[p][a[N]];return P()};s[m]=!0,u.exports=Object.create||function(b,A){var M;return b!==null?(x[p]=n(b),M=new x,x[p]=null,M[m]=b):M=P(),A===void 0?M:e.f(M,A)}},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),c=t(7831).f,v=t(16142),d=t(85500),p=t(94879),y=t(12833),m=t(25001),x=t(58434),I=t(15453),E=t(74408),O=t(40851),C=t(82367),P=t(92986),N=t(70457),b="DOMException",A="DATA_CLONE_ERR",M=e("Error"),F=e(b)||function(){try{var vt=e("MessageChannel")||a("worker_threads").MessageChannel;new vt().port1.postMessage(new WeakMap)}catch(Et){if(Et.name===A&&Et.code===25)return Et.constructor}}(),$=F&&F.prototype,L=M.prototype,j=C.set,W=C.getterFor(b),z="stack"in new M(b),w=function(vt){return p(E,vt)&&E[vt].m?E[vt].c:0},G=function(){y(this,V);var Et=arguments.length,$t=I(Et<1?void 0:arguments[0]),Bt=I(Et<2?void 0:arguments[1],"Error"),Ft=w(Bt);if(j(this,{type:b,name:Bt,message:$t,code:Ft}),P||(this.name=Bt,this.message=$t,this.code=Ft),z){var Vt=new M($t);Vt.name=b,c(this,"stack",f(1,O(Vt.stack,1)))}},V=G.prototype=i(L),X=function(vt){return{enumerable:!0,configurable:!0,get:vt}},tt=function(vt){return X(function(){return W(this)[vt]})};P&&(d(V,"code",tt("code")),d(V,"message",tt("message")),d(V,"name",tt("name"))),c(V,"constructor",f(1,G));var q=s(function(){return!(new F instanceof M)}),rt=q||s(function(){return L.toString!==x||String(new F(1,2))!=="2: 1"}),Z=q||s(function(){return new F(1,"DataCloneError").code!==25}),mt=q||F[A]!==25||$[A]!==25,ht=N?rt||Z||mt:q;n({global:!0,constructor:!0,forced:ht},{DOMException:ht?G:F});var xt=e(b),Rt=xt.prototype;rt&&(N||F===xt)&&v(Rt,"toString",x),Z&&P&&F===xt&&d(Rt,"code",X(function(){return w(m(this).name)}));for(var Nt in E)if(p(E,Nt)){var Jt=E[Nt],Xt=Jt.s,jt=f(6,Jt.c);p(xt,Xt)||c(xt,Xt,jt),p(Rt,Xt)||c(Rt,Xt,jt)}},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(v,d){return s(i(this),v,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(c,v){var d=a(c),p=0,y=[],m;for(m in d)!e(i,m)&&e(d,m)&&f(y,m);for(;v.length>p;)e(d,m=v[p++])&&(~s(y,m)||f(y,m));return y}},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 c=[];return a(s(e(this)),i,{that:c,IS_RECORD:!0}),c}})},6875:function(u,h,t){var n=t(14304),e=t(77422),a=t(72069),s=t(17468),i=t(25001),f=t(4652),c=t(45344),v=s.ArrayBuffer,d=s.DataView,p=d.prototype,y=e(v.prototype.slice),m=e(p.getUint8),x=e(p.setUint8),I=a(function(){return!new v(2).slice(1,void 0).byteLength});n({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:I},{slice:function(O,C){if(y&&C===void 0)return y(i(this),O);for(var P=i(this).byteLength,N=f(O,P),b=f(C===void 0?P:C,P),A=new v(c(b-N)),M=new d(this),F=new d(A),$=0;N<b;)x(F,$++,m(M,N++));return A}})},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 c=arguments.length;return e(a(this),f,c,c>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),c=t(67805),v=e.Promise,d=!1,p=!v||!v.try||c(function(){v.try(function(y){d=y===8},8)}).error||!d;n({target:"Promise",stat:!0,forced:p},{try:function(y){var m=arguments.length>1?s(arguments,1):[],x=i.f(this),I=c(function(){return a(f(y),void 0,m)});return(I.error?x.reject:x.resolve)(I.value),x.promise}})},7831:function(u,h,t){var n=t(92986),e=t(52515),a=t(356),s=t(25001),i=t(50035),f=TypeError,c=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d="enumerable",p="configurable",y="writable";h.f=n?a?function(x,I,E){if(s(x),I=i(I),s(E),typeof x=="function"&&I==="prototype"&&"value"in E&&y in E&&!E[y]){var O=v(x,I);O&&O[y]&&(x[I]=E.value,E={configurable:p in E?E[p]:O[p],enumerable:d in E?E[d]:O[d],writable:!1})}return c(x,I,E)}:c:function(x,I,E){if(s(x),I=i(I),s(E),e)try{return c(x,I,E)}catch(O){}if("get"in E||"set"in E)throw new f("Accessors not supported");return"value"in E&&(x[I]=E.value),x}},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),c=t(79591).f,v=a(c),d=a([].push),p=n&&e(function(){var m=Object.create(null);return m[2]=2,!v(m,2)}),y=function(m){return function(x){for(var I=f(x),E=i(I),O=p&&s(I)===null,C=E.length,P=0,N=[],b;C>P;)b=E[P++],(!n||(O?b in I:v(I,b)))&&d(N,m?[b,I[b]]:I[b]);return N}};u.exports={entries:y(!0),values:y(!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),c=t(72069),v=n.RangeError,d=n.Int8Array,p=d&&d.prototype,y=p&&p.set,m=a.aTypedArray,x=a.exportTypedArrayMethod,I=!c(function(){var O=new Uint8ClampedArray(2);return e(y,O,{length:1,0:3},1),O[1]!==3}),E=I&&a.NATIVE_ARRAY_BUFFER_VIEWS&&c(function(){var O=new d(2);return O.set(1),O.set("2",1),O[0]!==0||O[1]!==2});x("set",function(C){m(this);var P=i(arguments.length>1?arguments[1]:void 0,1),N=f(C);if(I)return e(y,this,N,P);var b=this.length,A=s(N),M=0;if(A+P>b)throw new v("Wrong length");for(;M<A;)this[P+M]=N[M++]},!I||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),c=e(1 .toString),v=e("".toUpperCase),d=/[\w*+\-./@]/,p=function(y,m){for(var x=c(y,16);x.length<m;)x="0"+x;return x};n({global:!0},{escape:function(m){for(var x=a(m),I="",E=x.length,O=0,C,P;O<E;)C=s(x,O++),f(d,C)?I+=C:(P=i(C,0),P<256?I+="%"+p(P,2):I+="%u"+v(p(P,4)));return I}})},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,c=a(function(){return arguments}())==="Arguments",v=function(d,p){try{return d[p]}catch(y){}};u.exports=n?a:function(d){var p,y,m;return d===void 0?"Undefined":d===null?"Null":typeof(y=v(p=f(d),i))=="string"?y:c?a(p):(m=a(p))==="Object"&&e(p.callee)?"Arguments":m}},9372:function(u,h,t){var n=t(14304),e=t(72302),a=t(36859),s=Array;n({target:"Array",proto:!0},{with:function(i,f){return e(a(this),s,i,f)}})},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,c,v;!(c=n(f,i)).done;)if(v=a(c.value),v!==void 0)return v}},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),c=t(7307),v=t(67722),d=t(91707),p=n.MutationObserver||n.WebKitMutationObserver,y=n.document,m=n.process,x=n.Promise,I=e("queueMicrotask"),E,O,C,P,N;if(!I){var b=new i,A=function(){var M,F;for(d&&(M=m.domain)&&M.exit();F=b.get();)try{F()}catch($){throw b.head&&E(),$}M&&M.enter()};!f&&!d&&!v&&p&&y?(O=!0,C=y.createTextNode(""),new p(A).observe(C,{characterData:!0}),E=function(){C.data=O=!O}):!c&&x&&x.resolve?(P=x.resolve(void 0),P.constructor=x,N=a(P.then,P),E=function(){N(A)}):d?E=function(){m.nextTick(A)}:(s=a(s,n),E=function(){s(A)}),I=function(M){b.head||E(),b.add(M)}}u.exports=I},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(v,d,p){return e(a(v),d,s(p))}})},9839:function(u,h,t){var n=t(14304),e=t(49366),a=Math.acosh,s=Math.log,i=Math.sqrt,f=Math.LN2,c=!a||Math.floor(a(Number.MAX_VALUE))!==710||a(1/0)!==1/0;n({target:"Math",stat:!0,forced:c},{acosh:function(d){var p=+d;return p<1?NaN:p>9490626562425156e-8?s(p)+f:e(p-1+i(p-1)*i(p+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),c=t(95486),v=n.Function,d=/MSIE .\./.test(i)||s==="BUN"&&function(){var p=n.Bun.version.split(".");return p.length<3||p[0]==="0"&&(p[1]<3||p[1]==="3"&&p[2]==="0")}();u.exports=function(p,y){var m=y?2:1;return d?function(x,I){var E=c(arguments.length,1)>m,O=a(x)?x:v(x),C=E?f(arguments,m):[],P=E?function(){e(O,this,C)}:O;return y?p(P,I):p(P)}:p}},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),c=t(26313),v=t(15861),d=t(78401),p=t(90809),y=t(16142),m=t(18565),x=t(29107),I=t(24519),E=s.PROPER,O=s.CONFIGURABLE,C=I.IteratorPrototype,P=I.BUGGY_SAFARI_ITERATORS,N=m("iterator"),b="keys",A="values",M="entries",F=function(){return this};u.exports=function($,L,j,W,z,w,G){f(j,L,W);var V=function(Nt){if(Nt===z&&Z)return Z;if(!P&&Nt&&Nt in q)return q[Nt];switch(Nt){case b:return function(){return new j(this,Nt)};case A:return function(){return new j(this,Nt)};case M:return function(){return new j(this,Nt)}}return function(){return new j(this)}},X=L+" Iterator",tt=!1,q=$.prototype,rt=q[N]||q["@@iterator"]||z&&q[z],Z=!P&&rt||V(z),mt=L==="Array"&&q.entries||rt,ht,xt,Rt;if(mt&&(ht=c(mt.call(new $)),ht!==Object.prototype&&ht.next&&(!a&&c(ht)!==C&&(v?v(ht,C):i(ht[N])||y(ht,N,F)),d(ht,X,!0,!0),a&&(x[X]=F))),E&&z===A&&rt&&rt.name!==A&&(!a&&O?p(q,"name",A):(tt=!0,Z=function(){return e(rt,this)})),z)if(xt={values:V(A),keys:w?Z:V(b),entries:V(M)},G)for(Rt in xt)(P||tt||!(Rt in q))&&y(q,Rt,xt[Rt]);else n({target:L,proto:!0,forced:P||tt},xt);return(!a||G)&&q[N]!==Z&&y(q,N,Z,{name:z}),x[L]=Z,xt}},10418:function(u,h,t){var n=t(93976),e=t(66316),a=Math.abs,s=2220446049250313e-31;u.exports=function(i,f,c,v){var d=+i,p=a(d),y=n(d);if(p<v)return y*e(p/v/f)*v*f;var m=(1+f/s)*p,x=m-(m-p);return x>c||x!==x?y*(1/0):y*x}},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(c){if(a(c))return c;if(e(c)){for(var v=c.length,d=[],p=0;p<v;p++){var y=c[p];typeof y=="string"?f(d,y):(typeof y=="number"||s(y)==="Number"||s(y)==="String")&&f(d,i(y))}var m=d.length,x=!0;return function(I,E){if(x)return x=!1,E;if(e(this))return E;for(var O=0;O<m;O++)if(d[O]===I)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,c=e(f.append),v=e(f.delete),d=e(f.forEach),p=e([].push),y=new i("a=1&a=2&b=3");y.delete("a",1),y.delete("b",void 0),y+""!="a=2"&&n(f,"delete",function(m){var x=arguments.length,I=x<2?void 0:arguments[1];if(x&&I===void 0)return v(this,m);var E=[];d(this,function(F,$){p(E,{key:$,value:F})}),s(x,1);for(var O=a(m),C=a(I),P=0,N=0,b=!1,A=E.length,M;P<A;)M=E[P++],b||M.key===O?(b=!0,v(this,M.key)):N++;for(;N<A;)M=E[N++],M.key===O&&M.value===C||c(this,M.key,M.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,c=f||!a("reduce");n({target:"Array",proto:!0,forced:c},{reduce:function(d){var p=arguments.length;return e(this,d,p,p>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),c=function(){},v=i("Reflect","construct"),d=/^\s*(?:class|function)\b/,p=n(d.exec),y=!d.test(c),m=function(E){if(!a(E))return!1;try{return v(c,[],E),!0}catch(O){return!1}},x=function(E){if(!a(E))return!1;switch(s(E)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!p(d,f(E))}catch(O){return!0}};x.sham=!0,u.exports=!v||e(function(){var I;return m(m.call)||!m(Object)||!m(function(){I=!0})||I})?x:m},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(v,d){f.f(i(this),v,{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),c=t(85500),v=t(84082),d=t(72069),p=t(94879),y=t(18565),m=t(24519).IteratorPrototype,x=t(92986),I=t(70457),E="constructor",O="Iterator",C=y("toStringTag"),P=TypeError,N=e[O],b=I||!i(N)||N.prototype!==m||!d(function(){N({})}),A=function(){if(a(this,m),f(this)===m)throw new P("Abstract class Iterator not directly constructable")},M=function(F,$){x?c(m,F,{configurable:!0,get:function(){return $},set:function(L){if(s(this),this===m)throw new P("You can't redefine this property");p(this,F)?this[F]=L:v(this,F,L)}}):m[F]=$};p(m,C)||M(C,O),(b||!p(m,E)||m[E]===Object)&&M(E,A),A.prototype=m,n({global:!0,constructor:!0,forced:b},{Iterator:A})},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),c=t(26035);n({target:"Promise",stat:!0,forced:c},{all:function(d){var p=this,y=s.f(p),m=y.resolve,x=y.reject,I=i(function(){var E=a(p.resolve),O=[],C=0,P=1;f(d,function(N){var b=C++,A=!1;P++,e(E,p,N).then(function(M){A||(A=!0,O[b]=M,--P||m(O))},x)}),--P||m(O)});return I.error&&x(I.value),y.promise}})},11890:function(u,h,t){var n=t(11286),e=t(72069),a=t(61607).start,s=RangeError,i=isFinite,f=Math.abs,c=Date.prototype,v=c.toISOString,d=n(c.getTime),p=n(c.getUTCDate),y=n(c.getUTCFullYear),m=n(c.getUTCHours),x=n(c.getUTCMilliseconds),I=n(c.getUTCMinutes),E=n(c.getUTCMonth),O=n(c.getUTCSeconds);u.exports=e(function(){return v.call(new Date(-50000000000001))!=="0385-07-25T07:06:39.999Z"})||!e(function(){v.call(new Date(NaN))})?function(){if(!i(d(this)))throw new s("Invalid time value");var P=this,N=y(P),b=x(P),A=N<0?"-":N>9999?"+":"";return A+a(f(N),A?6:4,0)+"-"+a(E(P)+1,2,0)+"-"+a(p(P),2,0)+"T"+a(m(P),2,0)+":"+a(I(P),2,0)+":"+a(O(P),2,0)+"."+a(b,3,0)+"Z"}:v},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 c=s(i);return a(e(c!==void 0?n(c,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),c=f("iterator"),v=n.Uint8Array,d=a(i.values),p=a(i.keys),y=a(i.entries),m=s.aTypedArray,x=s.exportTypedArrayMethod,I=v&&v.prototype,E=!e(function(){I[c].call([1])}),O=!!I&&I.values&&I[c]===I.values&&I.values.name==="values",C=function(){return d(m(this))};x("entries",function(){return y(m(this))},E),x("keys",function(){return p(m(this))},E),x("values",C,E||!O,{name:"values"}),x(c,C,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 c=1,v,d;c<f;){for(d=c,v=s[c];d&&i(s[d-1],v)>0;)s[d]=s[--d];d!==c++&&(s[d]=v)}else for(var p=e(f/2),y=a(n(s,0,p),i),m=a(n(s,p),i),x=y.length,I=m.length,E=0,O=0;E<x||O<I;)s[E+O]=E<x&&O<I?i(y[E],m[O])<=0?y[E++]:m[O++]:E<x?y[E++]:m[O++];return s};u.exports=a},13278:function(u,h,t){var n=t(72069),e=t(23583),a=/#|\.prototype\./,s=function(d,p){var y=f[i(d)];return y===v?!0:y===c?!1:e(p)?n(p):!!p},i=s.normalize=function(d){return String(d).replace(a,".").toLowerCase()},f=s.data={},c=s.NATIVE="N",v=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(c){return e(a(this),c,arguments.length>1?arguments[1]:void 0,function(v,d){return new(s(v))(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,c=t(84352),v=t(82367),d=v.enforce,p=v.get,y=String,m=Object.defineProperty,x=n("".slice),I=n("".replace),E=n([].join),O=i&&!e(function(){return m(function(){},"length",{value:8}).length!==8}),C=String(String).split("String"),P=u.exports=function(N,b,A){x(y(b),0,7)==="Symbol("&&(b="["+I(y(b),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),A&&A.getter&&(b="get "+b),A&&A.setter&&(b="set "+b),(!s(N,"name")||f&&N.name!==b)&&(i?m(N,"name",{value:b,configurable:!0}):N.name=b),O&&A&&s(A,"arity")&&N.length!==A.arity&&m(N,"length",{value:A.arity});try{A&&s(A,"constructor")&&A.constructor?i&&m(N,"prototype",{writable:!1}):N.prototype&&(N.prototype=void 0)}catch(F){}var M=d(N);return s(M,"source")||(M.source=E(C,typeof b=="string"?b:"")),N};Function.prototype.toString=P(function(){return a(this)&&p(this).source||c(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),c=t(16142),v=s&&s.prototype;if(n({target:"Promise",proto:!0,forced:a,real:!0},{catch:function(p){return this.then(void 0,p)}}),!e&&f(s)){var d=i("Promise").prototype.catch;v.catch!==d&&c(v,"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),c=t(13278);u.exports=function(v,d){var p=v.target,y=v.global,m=v.stat,x,I,E,O,C,P;if(y?I=n:m?I=n[p]||i(p,{}):I=n[p]&&n[p].prototype,I)for(E in d){if(C=d[E],v.dontCallGetSet?(P=e(I,E),O=P&&P.value):O=I[E],x=c(y?E:p+(m?".":"#")+E,v.forced),!x&&O!==void 0){if(typeof C==typeof O)continue;f(C,O)}(v.sham||O&&O.sham)&&a(C,"sham",!0),s(I,E,C,v)}}},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,c=TypeError;n&&e&&s(f,"sticky",{configurable:!0,get:function(){if(this!==f){if(a(this)==="RegExp")return!!i(this).sticky;throw new c("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,c=a(function(){f(1)});n({target:"Object",stat:!0,forced:c,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 .toPrecision),f=a(function(){return i(1,void 0)!=="1"})||!a(function(){i({})});n({target:"Number",proto:!0,forced:f},{toPrecision:function(v){return v===void 0?i(s(this)):i(s(this),v)}})},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(63194),a=t(25001),s=t(5683),i=t(45344),f=t(17361),c=t(2068),v=t(10512),d=t(24487),p=t(33064);e("match",function(y,m,x){return[function(E){var O=c(this),C=s(E)?void 0:v(E,y);return C?n(C,E,O):new RegExp(E)[y](f(O))},function(I){var E=a(this),O=f(I),C=x(m,E,O);if(C.done)return C.value;if(!E.global)return p(E,O);var P=E.unicode;E.lastIndex=0;for(var N=[],b=0,A;(A=p(E,O))!==null;){var M=f(A[0]);N[b]=M,M===""&&(E.lastIndex=d(O,i(E.lastIndex),P)),b++}return b===0?null:N}]})},15656:function(u,h,t){var n=t(14304),e=Math.asinh,a=Math.log,s=Math.sqrt;function i(c){var v=+c;return!isFinite(v)||v===0?v:v<0?-i(-v):a(v+s(v*v+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={},c;try{c=n(Object.prototype,"__proto__","set"),c(f,[]),i=f instanceof Array}catch(v){}return function(d,p){return a(d),s(p),e(d)&&(i?c(d,p):d.__proto__=p),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(v){return s(a(v))}})},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,c,v){v||(v={});var d=v.enumerable,p=v.name!==void 0?v.name:f;if(n(c)&&a(c,p,v),v.global)d?i[f]=c:s(f,c);else{try{v.unsafe?i[f]&&(d=!0):delete i[f]}catch(y){}d?i[f]=c:e.f(i,f,{value:c,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.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),c=t(79591),v=t(49671),d=t(72181),p=Object.assign,y=Object.defineProperty,m=e([].concat);u.exports=!p||s(function(){if(n&&p({b:1},p(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var x={},I={},E=Symbol("assign detection"),O="abcdefghijklmnopqrst";return x[E]=7,O.split("").forEach(function(C){I[C]=C}),p({},x)[E]!==7||i(p({},I)).join("")!==O})?function(I,E){for(var O=v(I),C=arguments.length,P=1,N=f.f,b=c.f;C>P;)for(var A=d(arguments[P++]),M=N?m(i(A),N(A)):i(A),F=M.length,$=0,L;F>$;)L=M[$++],(!n||a(b,A,L))&&(O[L]=A[L]);return O}:p},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),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,v=a(c.exec),d="name";n&&!e&&s(i,d,{configurable:!0,get:function(){try{return v(c,f(this))[1]}catch(p){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(v){var d=a.f(i(v)),p=s.f;return p?f(d,p(v)):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,c){var v=n(f).constructor,d;return v===void 0||a(d=n(v)[i])?c: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),c=t(26035);n({target:"Promise",stat:!0,forced:c},{allSettled:function(d){var p=this,y=s.f(p),m=y.resolve,x=y.reject,I=i(function(){var E=a(p.resolve),O=[],C=0,P=1;f(d,function(N){var b=C++,A=!1;P++,e(E,p,N).then(function(M){A||(A=!0,O[b]={status:"fulfilled",value:M},--P||m(O))},function(M){A||(A=!0,O[b]={status:"rejected",reason:M},--P||m(O))})}),--P||m(O)});return I.error&&x(I.value),y.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,c=f||!a("reduceRight");n({target:"Array",proto:!0,forced:c},{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),c=t(85500),v=t(2725),d=t(72069),p=t(12833),y=t(12105),m=t(45344),x=t(9450),I=t(93279),E=t(25212),O=t(26313),C=t(15861),P=t(43011),N=t(22806),b=t(32345),A=t(93706),M=t(78401),F=t(82367),$=i.PROPER,L=i.CONFIGURABLE,j="ArrayBuffer",W="DataView",z="prototype",w="Wrong length",G="Wrong index",V=F.getterFor(j),X=F.getterFor(W),tt=F.set,q=n[j],rt=q,Z=rt&&rt[z],mt=n[W],ht=mt&&mt[z],xt=Object.prototype,Rt=n.Array,Nt=n.RangeError,Jt=e(P),Xt=e([].reverse),jt=E.pack,vt=E.unpack,Et=function(ft){return[ft&255]},$t=function(ft){return[ft&255,ft>>8&255]},Bt=function(ft){return[ft&255,ft>>8&255,ft>>16&255,ft>>24&255]},Ft=function(ft){return ft[3]<<24|ft[2]<<16|ft[1]<<8|ft[0]},Vt=function(ft){return jt(I(ft),23,4)},nr=function(ft){return jt(ft,52,8)},tr=function(ft,ct,nt){c(ft[z],ct,{configurable:!0,get:function(){return nt(this)[ct]}})},Zt=function(ft,ct,nt,Mt){var bt=X(ft),At=x(nt),Ot=!!Mt;if(At+ct>bt.byteLength)throw new Nt(G);var ur=bt.bytes,vr=At+bt.byteOffset,Q=N(ur,vr,vr+ct);return Ot?Q:Xt(Q)},Ht=function(ft,ct,nt,Mt,bt,At){var Ot=X(ft),ur=x(nt),vr=Mt(+bt),Q=!!At;if(ur+ct>Ot.byteLength)throw new Nt(G);for(var ot=Ot.bytes,lt=ur+Ot.byteOffset,st=0;st<ct;st++)ot[lt+st]=vr[Q?st:ct-st-1]};if(!s)rt=function(ct){p(this,Z);var nt=x(ct);tt(this,{type:j,bytes:Jt(Rt(nt),0),byteLength:nt}),a||(this.byteLength=nt,this.detached=!1)},Z=rt[z],mt=function(ct,nt,Mt){p(this,ht),p(ct,Z);var bt=V(ct),At=bt.byteLength,Ot=y(nt);if(Ot<0||Ot>At)throw new Nt("Wrong offset");if(Mt=Mt===void 0?At-Ot:m(Mt),Ot+Mt>At)throw new Nt(w);tt(this,{type:W,buffer:ct,byteLength:Mt,byteOffset:Ot,bytes:bt.bytes}),a||(this.buffer=ct,this.byteLength=Mt,this.byteOffset=Ot)},ht=mt[z],a&&(tr(rt,"byteLength",V),tr(mt,"buffer",X),tr(mt,"byteLength",X),tr(mt,"byteOffset",X)),v(ht,{getInt8:function(ct){return Zt(this,1,ct)[0]<<24>>24},getUint8:function(ct){return Zt(this,1,ct)[0]},getInt16:function(ct){var nt=Zt(this,2,ct,arguments.length>1?arguments[1]:!1);return(nt[1]<<8|nt[0])<<16>>16},getUint16:function(ct){var nt=Zt(this,2,ct,arguments.length>1?arguments[1]:!1);return nt[1]<<8|nt[0]},getInt32:function(ct){return Ft(Zt(this,4,ct,arguments.length>1?arguments[1]:!1))},getUint32:function(ct){return Ft(Zt(this,4,ct,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(ct){return vt(Zt(this,4,ct,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(ct){return vt(Zt(this,8,ct,arguments.length>1?arguments[1]:!1),52)},setInt8:function(ct,nt){Ht(this,1,ct,Et,nt)},setUint8:function(ct,nt){Ht(this,1,ct,Et,nt)},setInt16:function(ct,nt){Ht(this,2,ct,$t,nt,arguments.length>2?arguments[2]:!1)},setUint16:function(ct,nt){Ht(this,2,ct,$t,nt,arguments.length>2?arguments[2]:!1)},setInt32:function(ct,nt){Ht(this,4,ct,Bt,nt,arguments.length>2?arguments[2]:!1)},setUint32:function(ct,nt){Ht(this,4,ct,Bt,nt,arguments.length>2?arguments[2]:!1)},setFloat32:function(ct,nt){Ht(this,4,ct,Vt,nt,arguments.length>2?arguments[2]:!1)},setFloat64:function(ct,nt){Ht(this,8,ct,nr,nt,arguments.length>2?arguments[2]:!1)}});else{var rr=$&&q.name!==j;!d(function(){q(1)})||!d(function(){new q(-1)})||d(function(){return new q,new q(1.5),new q(NaN),q.length!==1||rr&&!L})?(rt=function(ct){return p(this,Z),b(new q(x(ct)),this,rt)},rt[z]=Z,Z.constructor=rt,A(rt,q)):rr&&L&&f(q,"name",j),C&&O(ht)!==xt&&C(ht,xt);var Qt=new mt(new rt(2)),wt=e(ht.setInt8);Qt.setInt8(0,2147483648),Qt.setInt8(1,2147483649),(Qt.getInt8(0)||!Qt.getInt8(1))&&v(ht,{setInt8:function(ct,nt){wt(this,ct,nt<<24>>24)},setUint8:function(ct,nt){wt(this,ct,nt<<24>>24)}},{unsafe:!0})}M(rt,j),M(mt,W),u.exports={ArrayBuffer:rt,DataView:mt}},17535:function(u,h,t){var n=t(14304),e=t(55902),a=t(85156),s=t(25001),i=t(10613),f=TypeError;n({target:"Iterator",proto:!0,real:!0},{reduce:function(v){s(this),a(v);var d=i(this),p=arguments.length<2,y=p?void 0:arguments[1],m=0;if(e(d,function(x){p?(p=!1,y=x):y=v(y,x,m),m++},{IS_RECORD:!0}),p)throw new f("Reduce of empty iterator with no initial value");return y}})},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 v=!1,d=/[ac]/;return d.exec=function(){return v=!0,/./.exec.apply(this,arguments)},d.test("abc")===!0&&v}(),c=/./.test;n({target:"RegExp",proto:!0,forced:!f},{test:function(v){var d=s(this),p=i(v),y=d.exec;if(!a(y))return e(c,d,p);var m=e(y,d,p);return m===null?!1:(s(m),!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),c=Array,v=a("".charAt),d=a("".charCodeAt),p=a([].join),y="".toWellFormed,m="\uFFFD",x=y&&f(function(){return e(y,1)!=="1"});n({target:"String",proto:!0,forced:x},{toWellFormed:function(){var E=i(s(this));if(x)return e(y,E);for(var O=E.length,C=c(O),P=0;P<O;P++){var N=d(E,P);(N&63488)!==55296?C[P]=v(E,P):N>=56320||P+1>=O||(d(E,P+1)&64512)!==56320?C[P]=m:(C[P]=v(E,P),C[++P]=v(E,P))}return p(C,"")}})},18257:function(u,h,t){var n=t(34246),e=n.navigator,a=e&&e.userAgent;u.exports=a?String(a):""},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),c=t(45344),v=t(17361),d=t(25001),p=t(5683),y=t(14274),m=t(11566),x=t(54932),I=t(10512),E=t(16142),O=t(72069),C=t(18565),P=t(16887),N=t(24487),b=t(33064),A=t(82367),M=t(70457),F=C("matchAll"),$="RegExp String",L=$+" Iterator",j=A.set,W=A.getterFor(L),z=RegExp.prototype,w=TypeError,G=a("".indexOf),V=a("".matchAll),X=!!V&&!O(function(){V("a",/./)}),tt=s(function(Z,mt,ht,xt){j(this,{type:L,regexp:Z,string:mt,global:ht,unicode:xt,done:!1})},$,function(){var Z=W(this);if(Z.done)return i(void 0,!0);var mt=Z.regexp,ht=Z.string,xt=b(mt,ht);return xt===null?(Z.done=!0,i(void 0,!0)):Z.global?(v(xt[0])===""&&(mt.lastIndex=N(ht,c(mt.lastIndex),Z.unicode)),i(xt,!1)):(Z.done=!0,i(xt,!1))}),q=function(rt){var Z=d(this),mt=v(rt),ht=P(Z,RegExp),xt=v(x(Z)),Rt,Nt,Jt;return Rt=new ht(ht===RegExp?Z.source:Z,xt),Nt=!!~G(xt,"g"),Jt=!!~G(xt,"u"),Rt.lastIndex=c(Z.lastIndex),new tt(Rt,mt,Nt,Jt)};n({target:"String",proto:!0,forced:X},{matchAll:function(Z){var mt=f(this),ht,xt,Rt,Nt;if(p(Z)){if(X)return V(mt,Z)}else{if(m(Z)&&(ht=v(f(x(Z))),!~G(ht,"g")))throw new w("`.matchAll` does not allow non-global regexes");if(X)return V(mt,Z);if(Rt=I(Z,F),Rt===void 0&&M&&y(Z)==="RegExp"&&(Rt=q),Rt)return e(Rt,Z,mt)}return xt=v(mt),Nt=new RegExp(Z,"g"),M?e(q,Nt,xt):Nt[F](xt)}}),M||F in z||E(z,F,q)},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),c=n.Symbol,v=e("wks"),d=f?c.for||c:c&&c.withoutSetter||s;u.exports=function(p){return a(v,p)||(v[p]=i&&a(c,p)?c[p]:d("Symbol."+p)),v[p]}},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),c=t(17361),v=t(95486),d=t(6210).c2i,p=/[^\d+/a-z]/i,y=/[\t\n\f\r ]+/g,m=/[=]{1,2}$/,x=a("atob"),I=String.fromCharCode,E=s("".charAt),O=s("".replace),C=s(p.exec),P=!!x&&!f(function(){return x("aGk=")!=="hi"}),N=P&&f(function(){return x(" ")!==""}),b=P&&!f(function(){x("a")}),A=P&&!f(function(){x()}),M=P&&x.length!==1,F=!P||N||b||A||M;n({global:!0,bind:!0,enumerable:!0,forced:F},{atob:function(L){if(v(arguments.length,1),P&&!N&&!b)return i(x,e,L);var j=O(c(L),y,""),W="",z=0,w=0,G,V,X;if(j.length%4===0&&(j=O(j,m,"")),G=j.length,G%4===1||C(p,j))throw new(a("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;z<G;)V=E(j,z++),X=w%4?X*64+d[V]:d[V],w++%4&&(W+=I(255&X>>(-2*w&6)));return W}})},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(c){return i(a(this),c)})},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(55902),a=t(85156),s=t(25001),i=t(10613);n({target:"Iterator",proto:!0,real:!0},{find:function(c){s(this),a(c);var v=i(this),d=0;return e(v,function(p,y){if(c(p,d++))return y(p)},{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(96499),f=t(16142),c=t(15861),v=t(78401),d=t(36167),p=t(85156),y=t(23583),m=t(37540),x=t(12833),I=t(16887),E=t(23115).set,O=t(9709),C=t(99095),P=t(67805),N=t(76895),b=t(82367),A=t(98844),M=t(37130),F=t(24649),$="Promise",L=M.CONSTRUCTOR,j=M.REJECTION_EVENT,W=M.SUBCLASSING,z=b.getterFor($),w=b.set,G=A&&A.prototype,V=A,X=G,tt=s.TypeError,q=s.document,rt=s.process,Z=F.f,mt=Z,ht=!!(q&&q.createEvent&&s.dispatchEvent),xt="unhandledrejection",Rt="rejectionhandled",Nt=0,Jt=1,Xt=2,jt=1,vt=2,Et,$t,Bt,Ft,Vt=function(nt){var Mt;return m(nt)&&y(Mt=nt.then)?Mt:!1},nr=function(nt,Mt){var bt=Mt.value,At=Mt.state===Jt,Ot=At?nt.ok:nt.fail,ur=nt.resolve,vr=nt.reject,Q=nt.domain,ot,lt,st;try{Ot?(At||(Mt.rejection===vt&&Qt(Mt),Mt.rejection=jt),Ot===!0?ot=bt:(Q&&Q.enter(),ot=Ot(bt),Q&&(Q.exit(),st=!0)),ot===nt.promise?vr(new tt("Promise-chain cycle")):(lt=Vt(ot))?i(lt,ot,ur,vr):ur(ot)):vr(bt)}catch(yt){Q&&!st&&Q.exit(),vr(yt)}},tr=function(nt,Mt){nt.notified||(nt.notified=!0,O(function(){for(var bt=nt.reactions,At;At=bt.get();)nr(At,nt);nt.notified=!1,Mt&&!nt.rejection&&Ht(nt)}))},Zt=function(nt,Mt,bt){var At,Ot;ht?(At=q.createEvent("Event"),At.promise=Mt,At.reason=bt,At.initEvent(nt,!1,!0),s.dispatchEvent(At)):At={promise:Mt,reason:bt},!j&&(Ot=s["on"+nt])?Ot(At):nt===xt&&C("Unhandled promise rejection",bt)},Ht=function(nt){i(E,s,function(){var Mt=nt.facade,bt=nt.value,At=rr(nt),Ot;if(At&&(Ot=P(function(){a?rt.emit("unhandledRejection",bt,Mt):Zt(xt,Mt,bt)}),nt.rejection=a||rr(nt)?vt:jt,Ot.error))throw Ot.value})},rr=function(nt){return nt.rejection!==jt&&!nt.parent},Qt=function(nt){i(E,s,function(){var Mt=nt.facade;a?rt.emit("rejectionHandled",Mt):Zt(Rt,Mt,nt.value)})},wt=function(nt,Mt,bt){return function(At){nt(Mt,At,bt)}},ft=function(nt,Mt,bt){nt.done||(nt.done=!0,bt&&(nt=bt),nt.value=Mt,nt.state=Xt,tr(nt,!0))},ct=function(nt,Mt,bt){if(!nt.done){nt.done=!0,bt&&(nt=bt);try{if(nt.facade===Mt)throw new tt("Promise can't be resolved itself");var At=Vt(Mt);At?O(function(){var Ot={done:!1};try{i(At,Mt,wt(ct,Ot,nt),wt(ft,Ot,nt))}catch(ur){ft(Ot,ur,nt)}}):(nt.value=Mt,nt.state=Jt,tr(nt,!1))}catch(Ot){ft({done:!1},Ot,nt)}}};if(L&&(V=function(Mt){x(this,X),p(Mt),i(Et,this);var bt=z(this);try{Mt(wt(ct,bt),wt(ft,bt))}catch(At){ft(bt,At)}},X=V.prototype,Et=function(Mt){w(this,{type:$,done:!1,notified:!1,parent:!1,reactions:new N,rejection:!1,state:Nt,value:null})},Et.prototype=f(X,"then",function(Mt,bt){var At=z(this),Ot=Z(I(this,V));return At.parent=!0,Ot.ok=y(Mt)?Mt:!0,Ot.fail=y(bt)&&bt,Ot.domain=a?rt.domain:void 0,At.state===Nt?At.reactions.add(Ot):O(function(){nr(Ot,At)}),Ot.promise}),$t=function(){var nt=new Et,Mt=z(nt);this.promise=nt,this.resolve=wt(ct,Mt),this.reject=wt(ft,Mt)},F.f=Z=function(nt){return nt===V||nt===Bt?new $t(nt):mt(nt)},!e&&y(A)&&G!==Object.prototype)){Ft=G.then,W||f(G,"then",function(Mt,bt){var At=this;return new V(function(Ot,ur){i(Ft,At,Ot,ur)}).then(Mt,bt)},{unsafe:!0});try{delete G.constructor}catch(nt){}c&&c(G,X)}n({global:!0,constructor:!0,wrap:!0,forced:L},{Promise:V}),v(V,$,!1,!0),d($)},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),c=e("URL"),v=f&&a(function(){c.canParse()}),d=a(function(){return c.canParse.length!==1});n({target:"URL",stat:!0,forced:!v||d},{canParse:function(y){var m=s(arguments.length,1),x=i(y),I=m<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new c(x,I)}catch(E){return!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),c=i("string-to-symbol-registry"),v=i("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!f},{for:function(d){var p=s(d);if(a(c,p))return c[p];var y=e("Symbol")(p);return c[p]=y,v[y]=p,y}})},20962:function(u,h,t){var n=t(14304),e=t(96499),a=t(25001),s=t(37540),i=t(69745),f=t(72069),c=t(7831),v=t(71349),d=t(26313),p=t(18526);function y(x,I,E){var O=arguments.length<4?x:arguments[3],C=v.f(a(x),I),P,N,b;if(!C){if(s(N=d(x)))return y(N,I,E,O);C=p(0)}if(i(C)){if(C.writable===!1||!s(O))return!1;if(P=v.f(O,I)){if(P.get||P.set||P.writable===!1)return!1;P.value=E,c.f(O,I,P)}else c.f(O,I,p(0,E))}else{if(b=C.set,b===void 0)return!1;e(b,O,E)}return!0}var m=f(function(){var x=function(){},I=c.f(new x,"a",{configurable:!0});return Reflect.set(x.prototype,"a",1,I)!==!1});n({target:"Reflect",stat:!0,forced:m},{set:y})},21084:function(u,h,t){var n=t(27534),e=t(34246),a=t(11286),s=t(2725),i=t(31853),f=t(89378),c=t(94667),v=t(37540),d=t(82367).enforce,p=t(72069),y=t(42960),m=Object,x=Array.isArray,I=m.isExtensible,E=m.isFrozen,O=m.isSealed,C=m.freeze,P=m.seal,N=!e.ActiveXObject&&"ActiveXObject"in e,b,A=function(w){return function(){return w(this,arguments.length?arguments[0]:void 0)}},M=f("WeakMap",A,c),F=M.prototype,$=a(F.set),L=function(){return n&&p(function(){var w=C([]);return $(new M,w,1),!E(w)})};if(y)if(N){b=c.getConstructor(A,"WeakMap",!0),i.enable();var j=a(F.delete),W=a(F.has),z=a(F.get);s(F,{delete:function(w){if(v(w)&&!I(w)){var G=d(this);return G.frozen||(G.frozen=new b),j(this,w)||G.frozen.delete(w)}return j(this,w)},has:function(G){if(v(G)&&!I(G)){var V=d(this);return V.frozen||(V.frozen=new b),W(this,G)||V.frozen.has(G)}return W(this,G)},get:function(G){if(v(G)&&!I(G)){var V=d(this);return V.frozen||(V.frozen=new b),W(this,G)?z(this,G):V.frozen.get(G)}return z(this,G)},set:function(G,V){if(v(G)&&!I(G)){var X=d(this);X.frozen||(X.frozen=new b),W(this,G)?$(this,G,V):X.frozen.set(G,V)}else $(this,G,V);return this}})}else L()&&s(F,{set:function(G,V){var X;return x(G)&&(E(G)?X=C:O(G)&&(X=P)),$(this,G,V),X&&X(G),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),c=Math.max,v=Math.min,d=!"".substr||"ab".substr(-1)!=="b";n({target:"String",proto:!0,forced:d},{substr:function(y,m){var x=i(a(this)),I=x.length,E=s(y),O,C;return E===1/0&&(E=0),E<0&&(E=c(I+E,0)),O=m===void 0?I:s(m),O<=0||O===1/0?"":(C=v(E+O,I),E>=C?"":f(x,E,C))}})},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(v,d){return s(a(v),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),c=t(70457),v=t(72069),d=f.Map,p=f.has,y=f.get,m=f.set,x=e([].push),I=c||v(function(){return d.groupBy("ab",function(E){return E}).get("a").length!==1});n({target:"Map",stat:!0,forced:c||I},{groupBy:function(O,C){s(O),a(C);var P=new d,N=0;return i(O,function(b){var A=C(b,N++);p(P,A)?x(y(P,A),b):m(P,A,[b])}),P}})},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 c=+f;return c===0?c:a((1+c)/(1-c))/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),c=n("".slice),v=function(d){return function(p,y){var m=a(s(p)),x=e(y),I=m.length,E,O;return x<0||x>=I?d?"":void 0:(E=f(m,x),E<55296||E>56319||x+1===I||(O=f(m,x+1))<56320||O>57343?d?i(m,x):E:d?c(m,x,x+2):(E-55296<<10)+(O-56320)+65536)}};u.exports={codeAt:v(!1),charAt:v(!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),c=t(44736),v=t(99797),d=t(70457),p=c(function(){for(var y=this.iterator,m=this.mapper,x,I;;){if(I=this.inner)try{if(x=s(e(I.next,I.iterator)),!x.done)return x.value;this.inner=null}catch(E){v(y,"throw",E)}if(x=s(e(this.next,y)),this.done=!!x.done)return;try{this.inner=f(m(x.value,this.counter++),!1)}catch(E){v(y,"throw",E)}}});n({target:"Iterator",proto:!0,real:!0,forced:d},{flatMap:function(m){return s(this),a(m),new p(i(this),{mapper:m,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),c=n.parseInt,v=n.Symbol,d=v&&v.iterator,p=/^[+-]?0x/i,y=a(p.exec),m=c(f+"08")!==8||c(f+"0x16")!==22||d&&!e(function(){c(Object(d))});u.exports=m?function(I,E){var O=i(s(I));return c(O,E>>>0||(y(p,O)?16:10))}:c},23115:function(u,h,t){var n=t(34246),e=t(66543),a=t(45526),s=t(23583),i=t(94879),f=t(72069),c=t(96439),v=t(22806),d=t(85501),p=t(95486),y=t(5286),m=t(91707),x=n.setImmediate,I=n.clearImmediate,E=n.process,O=n.Dispatch,C=n.Function,P=n.MessageChannel,N=n.String,b=0,A={},M="onreadystatechange",F,$,L,j;f(function(){F=n.location});var W=function(V){if(i(A,V)){var X=A[V];delete A[V],X()}},z=function(V){return function(){W(V)}},w=function(V){W(V.data)},G=function(V){n.postMessage(N(V),F.protocol+"//"+F.host)};(!x||!I)&&(x=function(X){p(arguments.length,1);var tt=s(X)?X:C(X),q=v(arguments,1);return A[++b]=function(){e(tt,void 0,q)},$(b),b},I=function(X){delete A[X]},m?$=function(V){E.nextTick(z(V))}:O&&O.now?$=function(V){O.now(z(V))}:P&&!y?(L=new P,j=L.port2,L.port1.onmessage=w,$=a(j.postMessage,j)):n.addEventListener&&s(n.postMessage)&&!n.importScripts&&F&&F.protocol!=="file:"&&!f(G)?($=G,n.addEventListener("message",w,!1)):M in d("script")?$=function(V){c.appendChild(d("script"))[M]=function(){c.removeChild(this),W(V)}}:$=function(V){setTimeout(z(V),0)}),u.exports={set:x,clear:I}},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(v){var d=a(arguments.length,1),p=s(v),y=d<2||arguments[1]===void 0?void 0:s(arguments[1]);try{return new f(p,y)}catch(m){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(v){var d=e(s(v)-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),c=t(18565),v=t(70457),d=c("iterator"),p=!1,y,m,x;[].keys&&(x=[].keys(),"next"in x?(m=i(i(x)),m!==Object.prototype&&(y=m)):p=!0);var I=!a(y)||n(function(){var E={};return y[d].call(E)!==E});I?y={}:v&&(y=s(y)),e(y[d])||f(y,d,function(){return this}),u.exports={IteratorPrototype:y,BUGGY_SAFARI_ITERATORS:p}},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(c,v){if(i!==void 0||f!==void 0)throw new e("Bad Promise constructor");i=c,f=v}),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(c,v,d){var p=h(d),y=d*8-v-1,m=(1<<y)-1,x=m>>1,I=v===23?n(2,-24)-n(2,-77):0,E=c<0||c===0&&1/c<0?1:0,O=0,C,P,N;for(c=t(c),c!==c||c===1/0?(P=c!==c?1:0,C=m):(C=e(a(c)/s),N=n(2,-C),c*N<1&&(C--,N*=2),C+x>=1?c+=I/N:c+=I*n(2,1-x),c*N>=2&&(C++,N/=2),C+x>=m?(P=0,C=m):C+x>=1?(P=(c*N-1)*n(2,v),C+=x):(P=c*n(2,x-1)*n(2,v),C=0));v>=8;)p[O++]=P&255,P/=256,v-=8;for(C=C<<v|P,y+=v;y>0;)p[O++]=C&255,C/=256,y-=8;return p[O-1]|=E*128,p},f=function(c,v){var d=c.length,p=d*8-v-1,y=(1<<p)-1,m=y>>1,x=p-7,I=d-1,E=c[I--],O=E&127,C;for(E>>=7;x>0;)O=O*256+c[I--],x-=8;for(C=O&(1<<-x)-1,O>>=-x,x+=v;x>0;)C=C*256+c[I--],x-=8;if(O===0)O=1-m;else{if(O===y)return C?NaN:E?-1/0:1/0;C+=n(2,v),O-=m}return(E?-1:1)*C*n(2,O-v)};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,c){return s.f(a(f),c)}})},25460:function(u,h,t){var n=t(14304),e=t(11286),a=t(72181),s=t(36859),i=t(6148),f=e([].join),c=a!==Object,v=c||!i("join",",");n({target:"Array",proto:!0,forced:v},{join:function(p){return f(s(this),p===void 0?",":p)}})},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),c=Object.getPrototypeOf,v=Object.setPrototypeOf,d=Object.prototype,p="__proto__";if(n&&c&&v&&!(p in d))try{e(d,p,{configurable:!0,get:function(){return c(i(this))},set:function(m){var x=f(this);s(m)&&a(x)&&v(x,m)}})}catch(y){}},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),c=a("".charAt),v=n.parseFloat,d=n.Symbol,p=d&&d.iterator,y=1/v(f+"-0")!==-1/0||p&&!e(function(){v(Object(p))});u.exports=y?function(x){var I=i(s(x)),E=v(I);return E===0&&c(I,0)==="-"?-0:E}:v},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 c=f>>>0;return c?31-e(a(c+.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),c=e("".indexOf);n({target:"String",proto:!0,forced:!f("includes")},{includes:function(d){return!!~c(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 c=e("Object","preventExtensions");return c&&c(f),!0}catch(v){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"),c=Object,v=c.prototype;u.exports=i?c.getPrototypeOf:function(d){var p=a(d);if(n(p,f))return p[f];var y=p.constructor;return e(y)&&p instanceof y?y.prototype:p instanceof c?v: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),c=t(44736),v=t(70457),d=c(function(){for(var p=this.iterator,y=this.next,m,x;this.remaining;)if(this.remaining--,m=a(e(y,p)),x=this.done=!!m.done,x)return;if(m=a(e(y,p)),x=this.done=!!m.done,!x)return m.value});n({target:"Iterator",proto:!0,real:!0,forced:v},{drop:function(y){a(this);var m=f(i(+y));return new d(s(this),{remaining:m})}})},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(c,v,d,p){var y=v+" Iterator";return c.prototype=e(n,{next:a(+!p,d)}),s(c,y,!1,!0),i[y]=f,c}},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",c=e(f),v=!s(function(){return c([1]).errors[0]!==1})&&s(function(){return c([1],f,{cause:7}).cause!==7});n({global:!0,constructor:!0,arity:2,forced:v},{AggregateError:i(f,function(d){return function(y,m){return a(d,this,arguments)}},v,!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(v){return!e(v)||s&&a(v)==="ArrayBuffer"?!1:i?i(v):!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,c=e(f),v=e(-f);return c===1/0?1:v===1/0?-1:(c-v)/(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(c,v){a(f,c,v)},{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,c=t(83258),v=t(92880),d=t(28174),p=t(36374),y=t(27534),m=!1,x=p("meta"),I=0,E=function(A){f(A,x,{value:{objectID:"O"+I++,weakData:{}}})},O=function(A,M){if(!s(A))return typeof A=="symbol"?A:(typeof A=="string"?"S":"P")+A;if(!i(A,x)){if(!d(A))return"F";if(!M)return"E";E(A)}return A[x].objectID},C=function(A,M){if(!i(A,x)){if(!d(A))return!0;if(!M)return!1;E(A)}return A[x].weakData},P=function(A){return y&&m&&d(A)&&!i(A,x)&&E(A),A},N=function(){b.enable=function(){},m=!0;var A=c.f,M=e([].splice),F={};F[x]=1,A(F).length&&(c.f=function($){for(var L=A($),j=0,W=L.length;j<W;j++)if(L[j]===x){M(L,j,1);break}return L},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:v.f}))},b=u.exports={enable:N,fastKey:O,getWeakData:C,onFreeze:P};a[x]=!0},32345:function(u,h,t){var n=t(23583),e=t(37540),a=t(15861);u.exports=function(s,i,f){var c,v;return a&&n(c=i.constructor)&&c!==f&&e(v=c.prototype)&&v!==f.prototype&&a(s,v),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(c,v){var d=c.exec;if(a(d)){var p=n(d,c,v);return p!==null&&e(p),p}if(s(c)==="RegExp")return n(i,c,v);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(c){return e(c,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 mf}});function n(r,o,l){r.prototype=o.prototype=l,l.constructor=r}function e(r,o){var l=Object.create(r.prototype);for(var g in o)l[g]=o[g];return l}function a(){}var s=.7,i=1/s,f="\\s*([+-]?\\d+)\\s*",c="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",v="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",d=/^#([0-9a-f]{3,8})$/,p=new RegExp(`^rgb\\(${f},${f},${f}\\)$`),y=new RegExp(`^rgb\\(${v},${v},${v}\\)$`),m=new RegExp(`^rgba\\(${f},${f},${f},${c}\\)$`),x=new RegExp(`^rgba\\(${v},${v},${v},${c}\\)$`),I=new RegExp(`^hsl\\(${c},${v},${v}\\)$`),E=new RegExp(`^hsla\\(${c},${v},${v},${c}\\)$`),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,A,{copy(r){return Object.assign(new this.constructor,this,r)},displayable(){return this.rgb().displayable()},hex:C,formatHex:C,formatHex8:P,formatHsl:N,formatRgb:b,toString:b});function C(){return this.rgb().formatHex()}function P(){return this.rgb().formatHex8()}function N(){return q(this).formatHsl()}function b(){return this.rgb().formatRgb()}function A(r){var o,l;return r=(r+"").trim().toLowerCase(),(o=d.exec(r))?(l=o[1].length,o=parseInt(o[1],16),l===6?M(o):l===3?new j(o>>8&15|o>>4&240,o>>4&15|o&240,(o&15)<<4|o&15,1):l===8?F(o>>24&255,o>>16&255,o>>8&255,(o&255)/255):l===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=p.exec(r))?new j(o[1],o[2],o[3],1):(o=y.exec(r))?new j(o[1]*255/100,o[2]*255/100,o[3]*255/100,1):(o=m.exec(r))?F(o[1],o[2],o[3],o[4]):(o=x.exec(r))?F(o[1]*255/100,o[2]*255/100,o[3]*255/100,o[4]):(o=I.exec(r))?tt(o[1],o[2]/100,o[3]/100,1):(o=E.exec(r))?tt(o[1],o[2]/100,o[3]/100,o[4]):O.hasOwnProperty(r)?M(O[r]):r==="transparent"?new j(NaN,NaN,NaN,0):null}function M(r){return new j(r>>16&255,r>>8&255,r&255,1)}function F(r,o,l,g){return g<=0&&(r=o=l=NaN),new j(r,o,l,g)}function $(r){return r instanceof a||(r=A(r)),r?(r=r.rgb(),new j(r.r,r.g,r.b,r.opacity)):new j}function L(r,o,l,g){return arguments.length===1?$(r):new j(r,o,l,g==null?1:g)}function j(r,o,l,g){this.r=+r,this.g=+o,this.b=+l,this.opacity=+g}n(j,L,e(a,{brighter(r){return r=r==null?i:Math.pow(i,r),new j(this.r*r,this.g*r,this.b*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new j(this.r*r,this.g*r,this.b*r,this.opacity)},rgb(){return this},clamp(){return new j(V(this.r),V(this.g),V(this.b),G(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:W,formatHex:W,formatHex8:z,formatRgb:w,toString:w}));function W(){return`#${X(this.r)}${X(this.g)}${X(this.b)}`}function z(){return`#${X(this.r)}${X(this.g)}${X(this.b)}${X((isNaN(this.opacity)?1:this.opacity)*255)}`}function w(){const r=G(this.opacity);return`${r===1?"rgb(":"rgba("}${V(this.r)}, ${V(this.g)}, ${V(this.b)}${r===1?")":`, ${r})`}`}function G(r){return isNaN(r)?1:Math.max(0,Math.min(1,r))}function V(r){return Math.max(0,Math.min(255,Math.round(r)||0))}function X(r){return r=V(r),(r<16?"0":"")+r.toString(16)}function tt(r,o,l,g){return g<=0?r=o=l=NaN:l<=0||l>=1?r=o=NaN:o<=0&&(r=NaN),new Z(r,o,l,g)}function q(r){if(r instanceof Z)return new Z(r.h,r.s,r.l,r.opacity);if(r instanceof a||(r=A(r)),!r)return new Z;if(r instanceof Z)return r;r=r.rgb();var o=r.r/255,l=r.g/255,g=r.b/255,S=Math.min(o,l,g),T=Math.max(o,l,g),R=NaN,D=T-S,U=(T+S)/2;return D?(o===T?R=(l-g)/D+(l<g)*6:l===T?R=(g-o)/D+2:R=(o-l)/D+4,D/=U<.5?T+S:2-T-S,R*=60):D=U>0&&U<1?0:R,new Z(R,D,U,r.opacity)}function rt(r,o,l,g){return arguments.length===1?q(r):new Z(r,o,l,g==null?1:g)}function Z(r,o,l,g){this.h=+r,this.s=+o,this.l=+l,this.opacity=+g}n(Z,rt,e(a,{brighter(r){return r=r==null?i:Math.pow(i,r),new Z(this.h,this.s,this.l*r,this.opacity)},darker(r){return r=r==null?s:Math.pow(s,r),new Z(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,l=this.l,g=l+(l<.5?l:1-l)*o,S=2*l-g;return new j(xt(r>=240?r-240:r+120,S,g),xt(r,S,g),xt(r<120?r+240:r-120,S,g),this.opacity)},clamp(){return new Z(mt(this.h),ht(this.s),ht(this.l),G(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=G(this.opacity);return`${r===1?"hsl(":"hsla("}${mt(this.h)}, ${ht(this.s)*100}%, ${ht(this.l)*100}%${r===1?")":`, ${r})`}`}}));function mt(r){return r=(r||0)%360,r<0?r+360:r}function ht(r){return Math.max(0,Math.min(1,r||0))}function xt(r,o,l){return(r<60?o+(l-o)*r/60:r<180?l:r<240?o+(l-o)*(240-r)/60:o)*255}var Rt=r=>()=>r;function Nt(r,o){return function(l){return r+l*o}}function Jt(r,o,l){return r=Math.pow(r,l),o=Math.pow(o,l)-r,l=1/l,function(g){return Math.pow(r+g*o,l)}}function Xt(r,o){var l=o-r;return l?Nt(r,l>180||l<-180?l-360*Math.round(l/360):l):Rt(isNaN(r)?o:r)}function jt(r){return(r=+r)==1?vt:function(o,l){return l-o?Jt(o,l,r):Rt(isNaN(o)?l:o)}}function vt(r,o){var l=o-r;return l?Nt(r,l):Rt(isNaN(r)?o:r)}function Et(r){return function(o,l){var g=r((o=rt(o)).h,(l=rt(l)).h),S=vt(o.s,l.s),T=vt(o.l,l.l),R=vt(o.opacity,l.opacity);return function(D){return o.h=g(D),o.s=S(D),o.l=T(D),o.opacity=R(D),o+""}}}var $t=Et(Xt),Bt=Et(vt);function Ft(r,o,l,g,S){var T=r*r,R=T*r;return((1-3*r+3*T-R)*o+(4-6*T+3*R)*l+(1+3*r+3*T-3*R)*g+R*S)/6}function Vt(r){var o=r.length-1;return function(l){var g=l<=0?l=0:l>=1?(l=1,o-1):Math.floor(l*o),S=r[g],T=r[g+1],R=g>0?r[g-1]:2*S-T,D=g<o-1?r[g+2]:2*T-S;return Ft((l-g/o)*o,R,S,T,D)}}function nr(r){var o=r.length;return function(l){var g=Math.floor(((l%=1)<0?++l:l)*o),S=r[(g+o-1)%o],T=r[g%o],R=r[(g+1)%o],D=r[(g+2)%o];return Ft((l-g/o)*o,S,T,R,D)}}var tr=function r(o){var l=jt(o);function g(S,T){var R=l((S=L(S)).r,(T=L(T)).r),D=l(S.g,T.g),U=l(S.b,T.b),B=vt(S.opacity,T.opacity);return function(H){return S.r=R(H),S.g=D(H),S.b=U(H),S.opacity=B(H),S+""}}return g.gamma=r,g}(1);function Zt(r){return function(o){var l=o.length,g=new Array(l),S=new Array(l),T=new Array(l),R,D;for(R=0;R<l;++R)D=L(o[R]),g[R]=D.r||0,S[R]=D.g||0,T[R]=D.b||0;return g=r(g),S=r(S),T=r(T),D.opacity=1,function(U){return D.r=g(U),D.g=S(U),D.b=T(U),D+""}}}var Ht=Zt(Vt),rr=Zt(nr);function Qt(r,o){return(isNumberArray(o)?numberArray:wt)(r,o)}function wt(r,o){var l=o?o.length:0,g=r?Math.min(l,r.length):0,S=new Array(g),T=new Array(l),R;for(R=0;R<g;++R)S[R]=ot(r[R],o[R]);for(;R<l;++R)T[R]=o[R];return function(D){for(R=0;R<g;++R)T[R]=S[R](D);return T}}function ft(r,o){var l=new Date;return r=+r,o=+o,function(g){return l.setTime(r*(1-g)+o*g),l}}function ct(r,o){return r=+r,o=+o,function(l){return r*(1-l)+o*l}}function nt(r,o){var l={},g={},S;(r===null||typeof r!="object")&&(r={}),(o===null||typeof o!="object")&&(o={});for(S in o)S in r?l[S]=ot(r[S],o[S]):g[S]=o[S];return function(T){for(S in l)g[S]=l[S](T);return g}}var Mt=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,bt=new RegExp(Mt.source,"g");function At(r){return function(){return r}}function Ot(r){return function(o){return r(o)+""}}function ur(r,o){var l=Mt.lastIndex=bt.lastIndex=0,g,S,T,R=-1,D=[],U=[];for(r=r+"",o=o+"";(g=Mt.exec(r))&&(S=bt.exec(o));)(T=S.index)>l&&(T=o.slice(l,T),D[R]?D[R]+=T:D[++R]=T),(g=g[0])===(S=S[0])?D[R]?D[R]+=S:D[++R]=S:(D[++R]=null,U.push({i:R,x:ct(g,S)})),l=bt.lastIndex;return l<o.length&&(T=o.slice(l),D[R]?D[R]+=T:D[++R]=T),D.length<2?U[0]?Ot(U[0].x):At(o):(o=U.length,function(B){for(var H=0,K;H<o;++H)D[(K=U[H]).i]=K.x(B);return D.join("")})}function vr(r,o){o||(o=[]);var l=r?Math.min(o.length,r.length):0,g=o.slice(),S;return function(T){for(S=0;S<l;++S)g[S]=r[S]*(1-T)+o[S]*T;return g}}function Q(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}function ot(r,o){var l=typeof o,g;return o==null||l==="boolean"?Rt(o):(l==="number"?ct:l==="string"?(g=A(o))?(o=g,tr):ur:o instanceof A?tr:o instanceof Date?ft:Q(o)?vr:Array.isArray(o)?wt:typeof o.valueOf!="function"&&typeof o.toString!="function"||isNaN(o)?nt:ct)(r,o)}function lt(r,o){return r=+r,o=+o,function(l){return Math.round(r*(1-l)+o*l)}}function st(r,o){return r==null||o==null?NaN:r<o?-1:r>o?1:r>=o?0:NaN}function yt(r,o){return r==null||o==null?NaN:o<r?-1:o>r?1:o>=r?0:NaN}function at(r){let o,l,g;r.length!==2?(o=st,l=(D,U)=>st(r(D),U),g=(D,U)=>r(D)-U):(o=r===st||r===yt?r:Lt,l=r,g=r);function S(D,U,B=0,H=D.length){if(B<H){if(o(U,U)!==0)return H;do{const K=B+H>>>1;l(D[K],U)<0?B=K+1:H=K}while(B<H)}return B}function T(D,U,B=0,H=D.length){if(B<H){if(o(U,U)!==0)return H;do{const K=B+H>>>1;l(D[K],U)<=0?B=K+1:H=K}while(B<H)}return B}function R(D,U,B=0,H=D.length){const K=S(D,U,B,H-1);return K>B&&g(D[K-1],U)>-g(D[K],U)?K-1:K}return{left:S,center:R,right:T}}function Lt(){return 0}function er(r){return r===null?NaN:+r}function*it(r,o){if(o===void 0)for(let l of r)l!=null&&(l=+l)>=l&&(yield l);else{let l=-1;for(let g of r)(g=o(g,++l,r))!=null&&(g=+g)>=g&&(yield g)}}const St=at(st),It=St.right,Tt=St.left,Wt=at(er).center;var _t=It;function ir(r){return function(){return r}}function lr(r){return+r}var mr=[0,1];function dr(r){return r}function Lr(r,o){return(o-=r=+r)?function(l){return(l-r)/o}:ir(isNaN(o)?NaN:.5)}function dn(r,o){var l;return r>o&&(l=r,r=o,o=l),function(g){return Math.max(r,Math.min(o,g))}}function Nn(r,o,l){var g=r[0],S=r[1],T=o[0],R=o[1];return S<g?(g=Lr(S,g),T=l(R,T)):(g=Lr(g,S),T=l(T,R)),function(D){return T(g(D))}}function hn(r,o,l){var g=Math.min(r.length,o.length)-1,S=new Array(g),T=new Array(g),R=-1;for(r[g]<r[0]&&(r=r.slice().reverse(),o=o.slice().reverse());++R<g;)S[R]=Lr(r[R],r[R+1]),T[R]=l(o[R],o[R+1]);return function(D){var U=_t(r,D,1,g)-1;return T[U](S[U](D))}}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,l=ot,g,S,T,R=dr,D,U,B;function H(){var _=Math.min(r.length,o.length);return R!==dr&&(R=dn(r[0],r[_-1])),D=_>2?hn:Nn,U=B=null,K}function K(_){return _==null||isNaN(_=+_)?T:(U||(U=D(r.map(g),o,l)))(g(R(_)))}return K.invert=function(_){return R(S((B||(B=D(o,r.map(g),ct)))(_)))},K.domain=function(_){return arguments.length?(r=Array.from(_,lr),H()):r.slice()},K.range=function(_){return arguments.length?(o=Array.from(_),H()):o.slice()},K.rangeRound=function(_){return o=Array.from(_),l=lt,H()},K.clamp=function(_){return arguments.length?(R=_?!0:dr,H()):R!==dr},K.interpolate=function(_){return arguments.length?(l=_,H()):l},K.unknown=function(_){return arguments.length?(T=_,K):T},function(_,et){return g=_,S=et,H()}}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 Vr(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 br(r,o,l){const g=(o-r)/Math.max(0,l),S=Math.floor(Math.log10(g)),T=g/Math.pow(10,S),R=T>=gn?10:T>=tn?5:T>=Mr?2:1;let D,U,B;return S<0?(B=Math.pow(10,-S)/R,D=Math.round(r*B),U=Math.round(o*B),D/B<r&&++D,U/B>o&&--U,B=-B):(B=Math.pow(10,S)*R,D=Math.round(r/B),U=Math.round(o/B),D*B<r&&++D,U*B>o&&--U),U<D&&.5<=l&&l<2?br(r,o,l*2):[D,U,B]}function an(r,o,l){if(o=+o,r=+r,l=+l,!(l>0))return[];if(r===o)return[r];const g=o<r,[S,T,R]=g?br(o,r,l):br(r,o,l);if(!(T>=S))return[];const D=T-S+1,U=new Array(D);if(g)if(R<0)for(let B=0;B<D;++B)U[B]=(T-B)/-R;else for(let B=0;B<D;++B)U[B]=(T-B)*R;else if(R<0)for(let B=0;B<D;++B)U[B]=(S+B)/-R;else for(let B=0;B<D;++B)U[B]=(S+B)*R;return U}function on(r,o,l){return o=+o,r=+r,l=+l,br(r,o,l)[2]}function J(r,o,l){o=+o,r=+r,l=+l;const g=o<r,S=g?on(o,r,l):on(r,o,l);return(g?-1:1)*(S<0?1/-S:S)}var gt=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function k(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]})}k.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 ut(r){return Math.abs(r=Math.round(r))>=1e21?r.toLocaleString("en").replace(/,/g,""):r.toString(10)}function Kt(r,o){if((l=(r=o?r.toExponential(o-1):r.toExponential()).indexOf("e"))<0)return null;var l,g=r.slice(0,l);return[g.length>1?g[0]+g.slice(2):g,+r.slice(l+1)]}function Pt(r){return r=Kt(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 Tr(r,o){return function(l,g){for(var S=l.length,T=[],R=0,D=r[0],U=0;S>0&&D>0&&(U+D+1>g&&(D=Math.max(1,g-U)),T.push(l.substring(S-=D,S+D)),!((U+=D+1)>g));)D=r[R=(R+1)%r.length];return T.reverse().join(o)}}function Rr(r){return function(o){return o.replace(/[0-9]/g,function(l){return r[+l]})}}function Ur(r){t:for(var o=r.length,l=1,g=-1,S;l<o;++l)switch(r[l]){case".":g=S=l;break;case"0":g===0&&(g=l),S=l;break;default:if(!+r[l])break t;g>0&&(g=0);break}return g>0?r.slice(0,g)+r.slice(S+1):r}var dt;function Or(r,o){var l=Kt(r,o);if(!l)return r+"";var g=l[0],S=l[1],T=S-(dt=Math.max(-8,Math.min(8,Math.floor(S/3)))*3)+1,R=g.length;return T===R?g:T>R?g+new Array(T-R+1).join("0"):T>0?g.slice(0,T)+"."+g.slice(T):"0."+new Array(1-T).join("0")+Kt(r,Math.max(0,o+T-1))[0]}function Hr(r,o){var l=Kt(r,o);if(!l)return r+"";var g=l[0],S=l[1];return S<0?"0."+new Array(-S).join("0")+g:g.length>S+1?g.slice(0,S+1)+"."+g.slice(S+1):g+new Array(S-g.length+2).join("0")}var sn={"%":(r,o)=>(r*100).toFixed(o),b:r=>Math.round(r).toString(2),c:r=>r+"",d:ut,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)=>Hr(r*100,o),r:Hr,s:Or,X:r=>Math.round(r).toString(16).toUpperCase(),x:r=>Math.round(r).toString(16)};function pn(r){return r}var yn=Array.prototype.map,un=["y","z","a","f","p","n","\xB5","m","","k","M","G","T","P","E","Z","Y"];function Ba(r){var o=r.grouping===void 0||r.thousands===void 0?pn:Tr(yn.call(r.grouping,Number),r.thousands+""),l=r.currency===void 0?"":r.currency[0]+"",g=r.currency===void 0?"":r.currency[1]+"",S=r.decimal===void 0?".":r.decimal+"",T=r.numerals===void 0?pn:Rr(yn.call(r.numerals,String)),R=r.percent===void 0?"%":r.percent+"",D=r.minus===void 0?"\u2212":r.minus+"",U=r.nan===void 0?"NaN":r.nan+"";function B(K){K=k(K);var _=K.fill,et=K.align,zt=K.sign,or=K.symbol,pt=K.zero,Ct=K.width,Gt=K.comma,Dt=K.precision,kt=K.trim,Yt=K.type;Yt==="n"?(Gt=!0,Yt="g"):sn[Yt]||(Dt===void 0&&(Dt=12),kt=!0,Yt="g"),(pt||_==="0"&&et==="=")&&(pt=!0,_="0",et="=");var pr=or==="$"?l:or==="#"&&/[boxX]/.test(Yt)?"0"+Yt.toLowerCase():"",Sr=or==="$"?g:/[%p]/.test(Yt)?R:"",cr=sn[Yt],Nr=/[defgprs%]/.test(Yt);Dt=Dt===void 0?6:/[gprs]/.test(Yt)?Math.max(1,Math.min(21,Dt)):Math.max(0,Math.min(20,Dt));function sr(Ut){var gr=pr,ar=Sr,yr,Yr,Er;if(Yt==="c")ar=cr(Ut)+ar,Ut="";else{Ut=+Ut;var Ir=Ut<0||1/Ut<0;if(Ut=isNaN(Ut)?U:cr(Math.abs(Ut),Dt),kt&&(Ut=Ur(Ut)),Ir&&+Ut==0&&zt!=="+"&&(Ir=!1),gr=(Ir?zt==="("?zt:D:zt==="-"||zt==="("?"":zt)+gr,ar=(Yt==="s"?un[8+dt/3]:"")+ar+(Ir&&zt==="("?")":""),Nr){for(yr=-1,Yr=Ut.length;++yr<Yr;)if(Er=Ut.charCodeAt(yr),48>Er||Er>57){ar=(Er===46?S+Ut.slice(yr+1):Ut.slice(yr))+ar,Ut=Ut.slice(0,yr);break}}}Gt&&!pt&&(Ut=o(Ut,1/0));var wr=gr.length+Ut.length+ar.length,fr=wr<Ct?new Array(Ct-wr+1).join(_):"";switch(Gt&&pt&&(Ut=o(fr+Ut,fr.length?Ct-ar.length:1/0),fr=""),et){case"<":Ut=gr+Ut+ar+fr;break;case"=":Ut=gr+fr+Ut+ar;break;case"^":Ut=fr.slice(0,wr=fr.length>>1)+gr+Ut+ar+fr.slice(wr);break;default:Ut=fr+gr+Ut+ar;break}return T(Ut)}return sr.toString=function(){return K+""},sr}function H(K,_){var et=B((K=k(K),K.type="f",K)),zt=Math.max(-8,Math.min(8,Math.floor(Pt(_)/3)))*3,or=Math.pow(10,-zt),pt=un[8+zt/3];return function(Ct){return et(or*Ct)+pt}}return{format:B,formatPrefix:H}}var Mn,bn,Me;ja({thousands:",",grouping:[3],currency:["$",""]});function ja(r){return Mn=Ba(r),bn=Mn.format,Me=Mn.formatPrefix,Mn}function wa(r,o){return r=Math.abs(r),o=Math.abs(o)-r,Math.max(0,Pt(o)-Pt(r))+1}function Ga(r){return Math.max(0,-Pt(Math.abs(r)))}function Va(r,o,l,g){var S=J(r,o,l),T;switch(g=k(g==null?",f":g),g.type){case"s":{var R=Math.max(Math.abs(r),Math.abs(o));return g.precision==null&&!isNaN(T=xr(S,R))&&(g.precision=T),Me(g,R)}case"":case"e":case"g":case"p":case"r":{g.precision==null&&!isNaN(T=wa(S,Math.max(Math.abs(r),Math.abs(o))))&&(g.precision=T-(g.type==="e"));break}case"f":case"%":{g.precision==null&&!isNaN(T=Ga(S))&&(g.precision=T-(g.type==="%")*2);break}}return bn(g)}function ae(r){var o=r.domain;return r.ticks=function(l){var g=o();return an(g[0],g[g.length-1],l==null?10:l)},r.tickFormat=function(l,g){var S=o();return Va(S[0],S[S.length-1],l==null?10:l,g)},r.nice=function(l){l==null&&(l=10);var g=o(),S=0,T=g.length-1,R=g[S],D=g[T],U,B,H=10;for(D<R&&(B=R,R=D,D=B,B=S,S=T,T=B);H-- >0;){if(B=on(R,D,l),B===U)return g[S]=R,g[T]=D,o(g);if(B>0)R=Math.floor(R/B)*B,D=Math.ceil(D/B)*B;else if(B<0)R=Math.ceil(R*B)/B,D=Math.floor(D*B)/B;else break;U=B}return r},r}function Ha(){var r=continuous();return r.copy=function(){return copy(r,Ha())},initRange.apply(r,arguments),ae(r)}function Wa(r,o){r=r.slice();var l=0,g=r.length-1,S=r[l],T=r[g],R;return T<S&&(R=l,l=g,g=R,R=S,S=T,T=R),r[l]=o.floor(S),r[g]=o.ceil(T),r}function be(r){return Math.log(r)}function De(r){return Math.exp(r)}function za(r){return-Math.log(-r)}function Ya(r){return-Math.exp(-r)}function Ka(r){return isFinite(r)?+("1e"+r):r<0?0:r}function Xa(r){return r===10?Ka:r===Math.E?Math.exp:o=>Math.pow(r,o)}function Ja(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 Fe(r){return(o,l)=>-r(-o,l)}function $e(r){const o=r(be,De),l=o.domain;let g=10,S,T;function R(){return S=Ja(g),T=Xa(g),l()[0]<0?(S=Fe(S),T=Fe(T),r(za,Ya)):r(be,De),o}return o.base=function(D){return arguments.length?(g=+D,R()):g},o.domain=function(D){return arguments.length?(l(D),R()):l()},o.ticks=D=>{const U=l();let B=U[0],H=U[U.length-1];const K=H<B;K&&([B,H]=[H,B]);let _=S(B),et=S(H),zt,or;const pt=D==null?10:+D;let Ct=[];if(!(g%1)&&et-_<pt){if(_=Math.floor(_),et=Math.ceil(et),B>0){for(;_<=et;++_)for(zt=1;zt<g;++zt)if(or=_<0?zt/T(-_):zt*T(_),!(or<B)){if(or>H)break;Ct.push(or)}}else for(;_<=et;++_)for(zt=g-1;zt>=1;--zt)if(or=_>0?zt/T(-_):zt*T(_),!(or<B)){if(or>H)break;Ct.push(or)}Ct.length*2<pt&&(Ct=an(B,H,pt))}else Ct=an(_,et,Math.min(et-_,pt)).map(T);return K?Ct.reverse():Ct},o.tickFormat=(D,U)=>{if(D==null&&(D=10),U==null&&(U=g===10?"s":","),typeof U!="function"&&(!(g%1)&&(U=k(U)).precision==null&&(U.trim=!0),U=bn(U)),D===1/0)return U;const B=Math.max(1,g*D/o.ticks().length);return H=>{let K=H/T(Math.round(S(H)));return K*g<g-.5&&(K*=g),K<=B?U(H):""}},o.nice=()=>l(Wa(l(),{floor:D=>T(Math.floor(S(D))),ceil:D=>T(Math.ceil(S(D)))})),o}function Qa(){const r=$e(transformer()).domain([1,10]);return r.copy=()=>copy(r,Qa()).base(r.base()),initRange.apply(r,arguments),r}function Dn(){var r=0,o=1,l,g,S,T,R=dr,D=!1,U;function B(K){return K==null||isNaN(K=+K)?U:R(S===0?.5:(K=(T(K)-l)*S,D?Math.max(0,Math.min(1,K)):K))}B.domain=function(K){return arguments.length?([r,o]=K,l=T(r=+r),g=T(o=+o),S=l===g?0:1/(g-l),B):[r,o]},B.clamp=function(K){return arguments.length?(D=!!K,B):D},B.interpolator=function(K){return arguments.length?(R=K,B):R};function H(K){return function(_){var et,zt;return arguments.length?([et,zt]=_,R=K(et,zt),B):[R(0),R(1)]}}return B.range=H(ot),B.rangeRound=H(lt),B.unknown=function(K){return arguments.length?(U=K,B):U},function(K){return T=K,l=K(r),g=K(o),S=l===g?0:1/(g-l),B}}function Fn(r,o){return o.domain(r.domain()).interpolator(r.interpolator()).clamp(r.clamp()).unknown(r.unknown())}function Le(){var r=ae(Dn()(dr));return r.copy=function(){return Fn(r,Le())},Vr.apply(r,arguments)}function Ue(){var r=$e(Dn()).domain([1,10]);return r.copy=function(){return Fn(r,Ue()).base(r.base())},Vr.apply(r,arguments)}function Za(){var r=symlogish(Dn());return r.copy=function(){return Fn(r,Za()).constant(r.constant())},initInterpolator.apply(r,arguments)}function Be(){var r=powish(Dn());return r.copy=function(){return Fn(r,Be()).exponent(r.exponent())},initInterpolator.apply(r,arguments)}function Ef(){return Be.apply(null,arguments).exponent(.5)}var ka=Object.defineProperty,je=Object.getOwnPropertySymbols,qa=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable,we=(r,o,l)=>o in r?ka(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,hr=(r,o)=>{for(var l in o||(o={}))qa.call(o,l)&&we(r,l,o[l]);if(je)for(var l of je(o))_a.call(o,l)&&we(r,l,o[l]);return r};const to={button:"bb-button",chart:"bb-chart",empty:"bb-empty",main:"bb-main",target:"bb-target",EXPANDED:"_expanded_"},ro={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"},no={area:"bb-area",areas:"bb-areas"},eo={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"},ao={bar:"bb-bar",bars:"bb-bars",chartBar:"bb-chart-bar",chartBars:"bb-chart-bars"},oo={candlestick:"bb-candlestick",candlesticks:"bb-candlesticks",chartCandlestick:"bb-chart-candlestick",chartCandlesticks:"bb-chart-candlesticks",valueDown:"bb-value-down",valueUp:"bb-value-up"},so={chartCircles:"bb-chart-circles",circle:"bb-circle",circles:"bb-circles"},io={colorPattern:"bb-color-pattern",colorScale:"bb-colorscale"},uo={dragarea:"bb-dragarea",INCLUDED:"_included_"},fo={funnel:"bb-funnel",chartFunnel:"bb-chart-funnel",chartFunnels:"bb-chart-funnels",funnelBackground:"bb-funnel-background"},lo={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"},co={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"},vo={chartLine:"bb-chart-line",chartLines:"bb-chart-lines",line:"bb-line",lines:"bb-lines"},ho={eventRect:"bb-event-rect",eventRects:"bb-event-rects",eventRectsMultiple:"bb-event-rects-multiple",eventRectsSingle:"bb-event-rects-single"},go={focused:"bb-focused",defocused:"bb-defocused",legendItemFocused:"bb-legend-item-focused",xgridFocus:"bb-xgrid-focus",ygridFocus:"bb-ygrid-focus"},po={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"},If={level:"bb-level",levels:"bb-levels"},yo={chartRadar:"bb-chart-radar",chartRadars:"bb-chart-radars"},mo={region:"bb-region",regions:"bb-regions"},xo={selectedCircle:"bb-selected-circle",selectedCircles:"bb-selected-circles",SELECTED:"_selected_"},So={shape:"bb-shape",shapes:"bb-shapes"},Eo={brush:"bb-brush",subchart:"bb-subchart"},Io={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"},To={treemap:"bb-treemap",chartTreemap:"bb-chart-treemap",chartTreemaps:"bb-chart-treemaps"},Oo={buttonZoomReset:"bb-zoom-reset",zoomBrush:"bb-zoom-brush"};var Tf=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({},to),ro),no),eo),ao),oo),so),io),uo),lo),co),vo),ho),go),fo),po),yo),mo),xo),So),Eo),Io),oe),To),Oo);function Ro(){}function se(r){return r==null?Ro:function(){return this.querySelector(r)}}function Ao(r){typeof r!="function"&&(r=se(r));for(var o=this._groups,l=o.length,g=new Array(l),S=0;S<l;++S)for(var T=o[S],R=T.length,D=g[S]=new Array(R),U,B,H=0;H<R;++H)(U=T[H])&&(B=r.call(U,U.__data__,H,T))&&("__data__"in U&&(B.__data__=U.__data__),D[H]=B);return new Wr(g,this._parents)}function Po(r){return r==null?[]:Array.isArray(r)?r:Array.from(r)}function Co(){return[]}function Ge(r){return r==null?Co:function(){return this.querySelectorAll(r)}}function No(r){return function(){return Po(r.apply(this,arguments))}}function Mo(r){typeof r=="function"?r=No(r):r=Ge(r);for(var o=this._groups,l=o.length,g=[],S=[],T=0;T<l;++T)for(var R=o[T],D=R.length,U,B=0;B<D;++B)(U=R[B])&&(g.push(r.call(U,U.__data__,B,R)),S.push(U));return new Wr(g,S)}function Ve(r){return function(){return this.matches(r)}}function He(r){return function(o){return o.matches(r)}}var bo=Array.prototype.find;function Do(r){return function(){return bo.call(this.children,r)}}function Fo(){return this.firstElementChild}function $o(r){return this.select(r==null?Fo:Do(typeof r=="function"?r:He(r)))}var Lo=Array.prototype.filter;function Uo(){return Array.from(this.children)}function Bo(r){return function(){return Lo.call(this.children,r)}}function jo(r){return this.selectAll(r==null?Uo:Bo(typeof r=="function"?r:He(r)))}function wo(r){typeof r!="function"&&(r=Ve(r));for(var o=this._groups,l=o.length,g=new Array(l),S=0;S<l;++S)for(var T=o[S],R=T.length,D=g[S]=[],U,B=0;B<R;++B)(U=T[B])&&r.call(U,U.__data__,B,T)&&D.push(U);return new Wr(g,this._parents)}function We(r){return new Array(r.length)}function Go(){return new Wr(this._enter||this._groups.map(We),this._parents)}function $n(r,o){this.ownerDocument=r.ownerDocument,this.namespaceURI=r.namespaceURI,this._next=null,this._parent=r,this.__data__=o}$n.prototype={constructor:$n,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 Vo(r){return function(){return r}}function Ho(r,o,l,g,S,T){for(var R=0,D,U=o.length,B=T.length;R<B;++R)(D=o[R])?(D.__data__=T[R],g[R]=D):l[R]=new $n(r,T[R]);for(;R<U;++R)(D=o[R])&&(S[R]=D)}function Wo(r,o,l,g,S,T,R){var D,U,B=new Map,H=o.length,K=T.length,_=new Array(H),et;for(D=0;D<H;++D)(U=o[D])&&(_[D]=et=R.call(U,U.__data__,D,o)+"",B.has(et)?S[D]=U:B.set(et,U));for(D=0;D<K;++D)et=R.call(r,T[D],D,T)+"",(U=B.get(et))?(g[D]=U,U.__data__=T[D],B.delete(et)):l[D]=new $n(r,T[D]);for(D=0;D<H;++D)(U=o[D])&&B.get(_[D])===U&&(S[D]=U)}function zo(r){return r.__data__}function Yo(r,o){if(!arguments.length)return Array.from(this,zo);var l=o?Wo:Ho,g=this._parents,S=this._groups;typeof r!="function"&&(r=Vo(r));for(var T=S.length,R=new Array(T),D=new Array(T),U=new Array(T),B=0;B<T;++B){var H=g[B],K=S[B],_=K.length,et=Ko(r.call(H,H&&H.__data__,B,g)),zt=et.length,or=D[B]=new Array(zt),pt=R[B]=new Array(zt),Ct=U[B]=new Array(_);l(H,K,or,pt,Ct,et,o);for(var Gt=0,Dt=0,kt,Yt;Gt<zt;++Gt)if(kt=or[Gt]){for(Gt>=Dt&&(Dt=Gt+1);!(Yt=pt[Dt])&&++Dt<zt;);kt._next=Yt||null}}return R=new Wr(R,g),R._enter=D,R._exit=U,R}function Ko(r){return typeof r=="object"&&"length"in r?r:Array.from(r)}function Xo(){return new Wr(this._exit||this._groups.map(We),this._parents)}function Jo(r,o,l){var g=this.enter(),S=this,T=this.exit();return typeof r=="function"?(g=r(g),g&&(g=g.selection())):g=g.append(r+""),o!=null&&(S=o(S),S&&(S=S.selection())),l==null?T.remove():l(T),g&&S?g.merge(S).order():S}function Qo(r){for(var o=r.selection?r.selection():r,l=this._groups,g=o._groups,S=l.length,T=g.length,R=Math.min(S,T),D=new Array(S),U=0;U<R;++U)for(var B=l[U],H=g[U],K=B.length,_=D[U]=new Array(K),et,zt=0;zt<K;++zt)(et=B[zt]||H[zt])&&(_[zt]=et);for(;U<S;++U)D[U]=l[U];return new Wr(D,this._parents)}function Zo(){for(var r=this._groups,o=-1,l=r.length;++o<l;)for(var g=r[o],S=g.length-1,T=g[S],R;--S>=0;)(R=g[S])&&(T&&R.compareDocumentPosition(T)^4&&T.parentNode.insertBefore(R,T),T=R);return this}function ko(r){r||(r=qo);function o(K,_){return K&&_?r(K.__data__,_.__data__):!K-!_}for(var l=this._groups,g=l.length,S=new Array(g),T=0;T<g;++T){for(var R=l[T],D=R.length,U=S[T]=new Array(D),B,H=0;H<D;++H)(B=R[H])&&(U[H]=B);U.sort(o)}return new Wr(S,this._parents).order()}function qo(r,o){return r<o?-1:r>o?1:r>=o?0:NaN}function _o(){var r=arguments[0];return arguments[0]=this,r.apply(null,arguments),this}function ts(){return Array.from(this)}function rs(){for(var r=this._groups,o=0,l=r.length;o<l;++o)for(var g=r[o],S=0,T=g.length;S<T;++S){var R=g[S];if(R)return R}return null}function ns(){let r=0;for(const o of this)++r;return r}function es(){return!this.node()}function as(r){for(var o=this._groups,l=0,g=o.length;l<g;++l)for(var S=o[l],T=0,R=S.length,D;T<R;++T)(D=S[T])&&r.call(D,D.__data__,T,S);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 Ln(r){var o=r+="",l=o.indexOf(":");return l>=0&&(o=r.slice(0,l))!=="xmlns"&&(r=r.slice(l+1)),ze.hasOwnProperty(o)?{space:ze[o],local:r}:r}function os(r){return function(){this.removeAttribute(r)}}function ss(r){return function(){this.removeAttributeNS(r.space,r.local)}}function is(r,o){return function(){this.setAttribute(r,o)}}function us(r,o){return function(){this.setAttributeNS(r.space,r.local,o)}}function fs(r,o){return function(){var l=o.apply(this,arguments);l==null?this.removeAttribute(r):this.setAttribute(r,l)}}function ls(r,o){return function(){var l=o.apply(this,arguments);l==null?this.removeAttributeNS(r.space,r.local):this.setAttributeNS(r.space,r.local,l)}}function cs(r,o){var l=Ln(r);if(arguments.length<2){var g=this.node();return l.local?g.getAttributeNS(l.space,l.local):g.getAttribute(l)}return this.each((o==null?l.local?ss:os:typeof o=="function"?l.local?ls:fs:l.local?us:is)(l,o))}function Ye(r){return r.ownerDocument&&r.ownerDocument.defaultView||r.document&&r||r.defaultView}function vs(r){return function(){this.style.removeProperty(r)}}function ds(r,o,l){return function(){this.style.setProperty(r,o,l)}}function hs(r,o,l){return function(){var g=o.apply(this,arguments);g==null?this.style.removeProperty(r):this.style.setProperty(r,g,l)}}function gs(r,o,l){return arguments.length>1?this.each((o==null?vs:typeof o=="function"?hs:ds)(r,o,l==null?"":l)):fn(this.node(),r)}function fn(r,o){return r.style.getPropertyValue(o)||Ye(r).getComputedStyle(r,null).getPropertyValue(o)}function ps(r){return function(){delete this[r]}}function ys(r,o){return function(){this[r]=o}}function ms(r,o){return function(){var l=o.apply(this,arguments);l==null?delete this[r]:this[r]=l}}function xs(r,o){return arguments.length>1?this.each((o==null?ps:typeof o=="function"?ms:ys)(r,o)):this.node()[r]}function Ke(r){return r.trim().split(/^|\s+/)}function ue(r){return r.classList||new Xe(r)}function Xe(r){this._node=r,this._names=Ke(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 l=ue(r),g=-1,S=o.length;++g<S;)l.add(o[g])}function Qe(r,o){for(var l=ue(r),g=-1,S=o.length;++g<S;)l.remove(o[g])}function Ss(r){return function(){Je(this,r)}}function Es(r){return function(){Qe(this,r)}}function Is(r,o){return function(){(o.apply(this,arguments)?Je:Qe)(this,r)}}function Ts(r,o){var l=Ke(r+"");if(arguments.length<2){for(var g=ue(this.node()),S=-1,T=l.length;++S<T;)if(!g.contains(l[S]))return!1;return!0}return this.each((typeof o=="function"?Is:o?Ss:Es)(l,o))}function Os(){this.textContent=""}function Rs(r){return function(){this.textContent=r}}function As(r){return function(){var o=r.apply(this,arguments);this.textContent=o==null?"":o}}function Ps(r){return arguments.length?this.each(r==null?Os:(typeof r=="function"?As:Rs)(r)):this.node().textContent}function Cs(){this.innerHTML=""}function Ns(r){return function(){this.innerHTML=r}}function Ms(r){return function(){var o=r.apply(this,arguments);this.innerHTML=o==null?"":o}}function bs(r){return arguments.length?this.each(r==null?Cs:(typeof r=="function"?Ms:Ns)(r)):this.node().innerHTML}function Ds(){this.nextSibling&&this.parentNode.appendChild(this)}function Fs(){return this.each(Ds)}function $s(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Ls(){return this.each($s)}function Us(r){return function(){var o=this.ownerDocument,l=this.namespaceURI;return l===ie&&o.documentElement.namespaceURI===ie?o.createElement(r):o.createElementNS(l,r)}}function Bs(r){return function(){return this.ownerDocument.createElementNS(r.space,r.local)}}function Ze(r){var o=Ln(r);return(o.local?Bs:Us)(o)}function js(r){var o=typeof r=="function"?r:Ze(r);return this.select(function(){return this.appendChild(o.apply(this,arguments))})}function ws(){return null}function Gs(r,o){var l=typeof r=="function"?r:Ze(r),g=o==null?ws:typeof o=="function"?o:se(o);return this.select(function(){return this.insertBefore(l.apply(this,arguments),g.apply(this,arguments)||null)})}function Vs(){var r=this.parentNode;r&&r.removeChild(this)}function Hs(){return this.each(Vs)}function Ws(){var r=this.cloneNode(!1),o=this.parentNode;return o?o.insertBefore(r,this.nextSibling):r}function zs(){var r=this.cloneNode(!0),o=this.parentNode;return o?o.insertBefore(r,this.nextSibling):r}function Ys(r){return this.select(r?zs:Ws)}function Ks(r){return arguments.length?this.property("__data__",r):this.node().__data__}function Xs(r){return function(o){r.call(this,o,this.__data__)}}function Js(r){return r.trim().split(/^|\s+/).map(function(o){var l="",g=o.indexOf(".");return g>=0&&(l=o.slice(g+1),o=o.slice(0,g)),{type:o,name:l}})}function Qs(r){return function(){var o=this.__on;if(o){for(var l=0,g=-1,S=o.length,T;l<S;++l)T=o[l],(!r.type||T.type===r.type)&&T.name===r.name?this.removeEventListener(T.type,T.listener,T.options):o[++g]=T;++g?o.length=g:delete this.__on}}}function Zs(r,o,l){return function(){var g=this.__on,S,T=Xs(o);if(g){for(var R=0,D=g.length;R<D;++R)if((S=g[R]).type===r.type&&S.name===r.name){this.removeEventListener(S.type,S.listener,S.options),this.addEventListener(S.type,S.listener=T,S.options=l),S.value=o;return}}this.addEventListener(r.type,T,l),S={type:r.type,name:r.name,value:o,listener:T,options:l},g?g.push(S):this.__on=[S]}}function ks(r,o,l){var g=Js(r+""),S,T=g.length,R;if(arguments.length<2){var D=this.node().__on;if(D){for(var U=0,B=D.length,H;U<B;++U)for(S=0,H=D[U];S<T;++S)if((R=g[S]).type===H.type&&R.name===H.name)return H.value}return}for(D=o?Zs:Qs,S=0;S<T;++S)this.each(D(g[S],o,l));return this}function ke(r,o,l){var g=Ye(r),S=g.CustomEvent;typeof S=="function"?S=new S(o,l):(S=g.document.createEvent("Event"),l?(S.initEvent(o,l.bubbles,l.cancelable),S.detail=l.detail):S.initEvent(o,!1,!1)),r.dispatchEvent(S)}function qs(r,o){return function(){return ke(this,r,o)}}function _s(r,o){return function(){return ke(this,r,o.apply(this,arguments))}}function ti(r,o){return this.each((typeof o=="function"?_s:qs)(r,o))}function*ri(){for(var r=this._groups,o=0,l=r.length;o<l;++o)for(var g=r[o],S=0,T=g.length,R;S<T;++S)(R=g[S])&&(yield R)}var ni=[null];function Wr(r,o){this._groups=r,this._parents=o}function qe(){return new Wr([[document.documentElement]],ni)}function ei(){return this}Wr.prototype=qe.prototype={constructor:Wr,select:Ao,selectAll:Mo,selectChild:$o,selectChildren:jo,filter:wo,data:Yo,enter:Go,exit:Xo,join:Jo,merge:Qo,selection:ei,order:Zo,sort:ko,call:_o,nodes:ts,node:rs,size:ns,empty:es,each:as,attr:cs,style:gs,property:xs,classed:Ts,text:Ps,html:bs,raise:Fs,lower:Ls,append:js,insert:Gs,remove:Hs,clone:Ys,datum:Ks,on:ks,dispatch:ti,[Symbol.iterator]:ri};var mn=qe,ai={value:()=>{}};function _e(){for(var r=0,o=arguments.length,l={},g;r<o;++r){if(!(g=arguments[r]+"")||g in l||/[\s.]/.test(g))throw new Error("illegal type: "+g);l[g]=[]}return new Un(l)}function Un(r){this._=r}function oi(r,o){return r.trim().split(/^|\s+/).map(function(l){var g="",S=l.indexOf(".");if(S>=0&&(g=l.slice(S+1),l=l.slice(0,S)),l&&!o.hasOwnProperty(l))throw new Error("unknown type: "+l);return{type:l,name:g}})}Un.prototype=_e.prototype={constructor:Un,on:function(r,o){var l=this._,g=oi(r+"",l),S,T=-1,R=g.length;if(arguments.length<2){for(;++T<R;)if((S=(r=g[T]).type)&&(S=si(l[S],r.name)))return S;return}if(o!=null&&typeof o!="function")throw new Error("invalid callback: "+o);for(;++T<R;)if(S=(r=g[T]).type)l[S]=ta(l[S],r.name,o);else if(o==null)for(S in l)l[S]=ta(l[S],r.name,null);return this},copy:function(){var r={},o=this._;for(var l in o)r[l]=o[l].slice();return new Un(r)},call:function(r,o){if((S=arguments.length-2)>0)for(var l=new Array(S),g=0,S,T;g<S;++g)l[g]=arguments[g+2];if(!this._.hasOwnProperty(r))throw new Error("unknown type: "+r);for(T=this._[r],g=0,S=T.length;g<S;++g)T[g].value.apply(o,l)},apply:function(r,o,l){if(!this._.hasOwnProperty(r))throw new Error("unknown type: "+r);for(var g=this._[r],S=0,T=g.length;S<T;++S)g[S].value.apply(o,l)}};function si(r,o){for(var l=0,g=r.length,S;l<g;++l)if((S=r[l]).name===o)return S.value}function ta(r,o,l){for(var g=0,S=r.length;g<S;++g)if(r[g].name===o){r[g]=ai,r=r.slice(0,g).concat(r.slice(g+1));break}return l!=null&&r.push({name:o,value:l}),r}var ii=_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(ui),nn=In.now()+wn)}function ui(){nn=0}function Gn(){this._call=this._time=this._next=null}Gn.prototype=ea.prototype={constructor:Gn,restart:function(r,o,l){if(typeof r!="function")throw new TypeError("callback is not a function");l=(l==null?fe():+l)+(o==null?0:+o),!this._next&&En!==this&&(En?En._next=this:Bn=this,En=this),this._call=r,this._time=l,le()},stop:function(){this._call&&(this._call=null,this._time=1/0,le())}};function ea(r,o,l){var g=new Gn;return g.restart(r,o,l),g}function fi(){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{fi()}finally{ln=0,ci(),nn=0}}function li(){var r=In.now(),o=r-jn;o>ra&&(wn-=o,jn=r)}function ci(){for(var r,o=Bn,l,g=1/0;o;)o._call?(g>o._time&&(g=o._time),r=o,o=o._next):(l=o._next,o._next=null,o=r?r._next=l:Bn=l);En=r,le(g)}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(li,ra)),ln=1,na(aa))}}function oa(r,o,l){var g=new Gn;return o=o==null?0:+o,g.restart(S=>{g.stop(),r(S+o)},o,l),g}var vi=ii("start","end","cancel","interrupt"),di=[],sa=0,ia=1,ce=2,Vn=3,ua=4,ve=5,Hn=6;function Wn(r,o,l,g,S,T){var R=r.__transition;if(!R)r.__transition={};else if(l in R)return;hi(r,l,{name:o,index:g,group:S,on:vi,tween:di,time:T.time,delay:T.delay,duration:T.duration,ease:T.ease,timer:null,state:sa})}function de(r,o){var l=zr(r,o);if(l.state>sa)throw new Error("too late; already scheduled");return l}function Kr(r,o){var l=zr(r,o);if(l.state>Vn)throw new Error("too late; already running");return l}function zr(r,o){var l=r.__transition;if(!l||!(l=l[o]))throw new Error("transition not found");return l}function hi(r,o,l){var g=r.__transition,S;g[o]=l,l.timer=ea(T,0,l.time);function T(B){l.state=ia,l.timer.restart(R,l.delay,l.time),l.delay<=B&&R(B-l.delay)}function R(B){var H,K,_,et;if(l.state!==ia)return U();for(H in g)if(et=g[H],et.name===l.name){if(et.state===Vn)return oa(R);et.state===ua?(et.state=Hn,et.timer.stop(),et.on.call("interrupt",r,r.__data__,et.index,et.group),delete g[H]):+H<o&&(et.state=Hn,et.timer.stop(),et.on.call("cancel",r,r.__data__,et.index,et.group),delete g[H])}if(oa(function(){l.state===Vn&&(l.state=ua,l.timer.restart(D,l.delay,l.time),D(B))}),l.state=ce,l.on.call("start",r,r.__data__,l.index,l.group),l.state===ce){for(l.state=Vn,S=new Array(_=l.tween.length),H=0,K=-1;H<_;++H)(et=l.tween[H].value.call(r,r.__data__,l.index,l.group))&&(S[++K]=et);S.length=K+1}}function D(B){for(var H=B<l.duration?l.ease.call(null,B/l.duration):(l.timer.restart(U),l.state=ve,1),K=-1,_=S.length;++K<_;)S[K].call(r,H);l.state===ve&&(l.on.call("end",r,r.__data__,l.index,l.group),U())}function U(){l.state=Hn,l.timer.stop(),delete g[o];for(var B in g)return;delete r.__transition}}function gi(r,o){var l=r.__transition,g,S,T=!0,R;if(l){o=o==null?null:o+"";for(R in l){if((g=l[R]).name!==o){T=!1;continue}S=g.state>ce&&g.state<ve,g.state=Hn,g.timer.stop(),g.on.call(S?"interrupt":"cancel",r,r.__data__,g.index,g.group),delete l[R]}T&&delete r.__transition}}function pi(r){return this.each(function(){gi(this,r)})}var fa=180/Math.PI,he={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function la(r,o,l,g,S,T){var R,D,U;return(R=Math.sqrt(r*r+o*o))&&(r/=R,o/=R),(U=r*l+o*g)&&(l-=r*U,g-=o*U),(D=Math.sqrt(l*l+g*g))&&(l/=D,g/=D,U/=D),r*g<o*l&&(r=-r,o=-o,U=-U,R=-R),{translateX:S,translateY:T,rotate:Math.atan2(o,r)*fa,skewX:Math.atan(U)*fa,scaleX:R,scaleY:D}}var zn;function yi(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 mi(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 ca(r,o,l,g){function S(B){return B.length?B.pop()+" ":""}function T(B,H,K,_,et,zt){if(B!==K||H!==_){var or=et.push("translate(",null,o,null,l);zt.push({i:or-4,x:ct(B,K)},{i:or-2,x:ct(H,_)})}else(K||_)&&et.push("translate("+K+o+_+l)}function R(B,H,K,_){B!==H?(B-H>180?H+=360:H-B>180&&(B+=360),_.push({i:K.push(S(K)+"rotate(",null,g)-2,x:ct(B,H)})):H&&K.push(S(K)+"rotate("+H+g)}function D(B,H,K,_){B!==H?_.push({i:K.push(S(K)+"skewX(",null,g)-2,x:ct(B,H)}):H&&K.push(S(K)+"skewX("+H+g)}function U(B,H,K,_,et,zt){if(B!==K||H!==_){var or=et.push(S(et)+"scale(",null,",",null,")");zt.push({i:or-4,x:ct(B,K)},{i:or-2,x:ct(H,_)})}else(K!==1||_!==1)&&et.push(S(et)+"scale("+K+","+_+")")}return function(B,H){var K=[],_=[];return B=r(B),H=r(H),T(B.translateX,B.translateY,H.translateX,H.translateY,K,_),R(B.rotate,H.rotate,K,_),D(B.skewX,H.skewX,K,_),U(B.scaleX,B.scaleY,H.scaleX,H.scaleY,K,_),B=H=null,function(et){for(var zt=-1,or=_.length,pt;++zt<or;)K[(pt=_[zt]).i]=pt.x(et);return K.join("")}}}var xi=ca(yi,"px, ","px)","deg)"),Si=ca(mi,", ",")",")");function Ei(r,o){var l,g;return function(){var S=Kr(this,r),T=S.tween;if(T!==l){g=l=T;for(var R=0,D=g.length;R<D;++R)if(g[R].name===o){g=g.slice(),g.splice(R,1);break}}S.tween=g}}function Ii(r,o,l){var g,S;if(typeof l!="function")throw new Error;return function(){var T=Kr(this,r),R=T.tween;if(R!==g){S=(g=R).slice();for(var D={name:o,value:l},U=0,B=S.length;U<B;++U)if(S[U].name===o){S[U]=D;break}U===B&&S.push(D)}T.tween=S}}function Ti(r,o){var l=this._id;if(r+="",arguments.length<2){for(var g=zr(this.node(),l).tween,S=0,T=g.length,R;S<T;++S)if((R=g[S]).name===r)return R.value;return null}return this.each((o==null?Ei:Ii)(l,r,o))}function ge(r,o,l){var g=r._id;return r.each(function(){var S=Kr(this,g);(S.value||(S.value={}))[o]=l.apply(this,arguments)}),function(S){return zr(S,g).value[o]}}function va(r,o){var l;return(typeof o=="number"?ct:o instanceof A?tr:(l=A(o))?(o=l,tr):ur)(r,o)}function Oi(r){return function(){this.removeAttribute(r)}}function Ri(r){return function(){this.removeAttributeNS(r.space,r.local)}}function Ai(r,o,l){var g,S=l+"",T;return function(){var R=this.getAttribute(r);return R===S?null:R===g?T:T=o(g=R,l)}}function Pi(r,o,l){var g,S=l+"",T;return function(){var R=this.getAttributeNS(r.space,r.local);return R===S?null:R===g?T:T=o(g=R,l)}}function Ci(r,o,l){var g,S,T;return function(){var R,D=l(this),U;return D==null?void this.removeAttribute(r):(R=this.getAttribute(r),U=D+"",R===U?null:R===g&&U===S?T:(S=U,T=o(g=R,D)))}}function Ni(r,o,l){var g,S,T;return function(){var R,D=l(this),U;return D==null?void this.removeAttributeNS(r.space,r.local):(R=this.getAttributeNS(r.space,r.local),U=D+"",R===U?null:R===g&&U===S?T:(S=U,T=o(g=R,D)))}}function Mi(r,o){var l=Ln(r),g=l==="transform"?Si:va;return this.attrTween(r,typeof o=="function"?(l.local?Ni:Ci)(l,g,ge(this,"attr."+r,o)):o==null?(l.local?Ri:Oi)(l):(l.local?Pi:Ai)(l,g,o))}function bi(r,o){return function(l){this.setAttribute(r,o.call(this,l))}}function Di(r,o){return function(l){this.setAttributeNS(r.space,r.local,o.call(this,l))}}function Fi(r,o){var l,g;function S(){var T=o.apply(this,arguments);return T!==g&&(l=(g=T)&&Di(r,T)),l}return S._value=o,S}function $i(r,o){var l,g;function S(){var T=o.apply(this,arguments);return T!==g&&(l=(g=T)&&bi(r,T)),l}return S._value=o,S}function Li(r,o){var l="attr."+r;if(arguments.length<2)return(l=this.tween(l))&&l._value;if(o==null)return this.tween(l,null);if(typeof o!="function")throw new Error;var g=Ln(r);return this.tween(l,(g.local?Fi:$i)(g,o))}function Ui(r,o){return function(){de(this,r).delay=+o.apply(this,arguments)}}function Bi(r,o){return o=+o,function(){de(this,r).delay=o}}function ji(r){var o=this._id;return arguments.length?this.each((typeof r=="function"?Ui:Bi)(o,r)):zr(this.node(),o).delay}function wi(r,o){return function(){Kr(this,r).duration=+o.apply(this,arguments)}}function Gi(r,o){return o=+o,function(){Kr(this,r).duration=o}}function Vi(r){var o=this._id;return arguments.length?this.each((typeof r=="function"?wi:Gi)(o,r)):zr(this.node(),o).duration}function Hi(r,o){if(typeof o!="function")throw new Error;return function(){Kr(this,r).ease=o}}function Wi(r){var o=this._id;return arguments.length?this.each(Hi(o,r)):zr(this.node(),o).ease}function zi(r,o){return function(){var l=o.apply(this,arguments);if(typeof l!="function")throw new Error;Kr(this,r).ease=l}}function Yi(r){if(typeof r!="function")throw new Error;return this.each(zi(this._id,r))}function Ki(r){typeof r!="function"&&(r=Ve(r));for(var o=this._groups,l=o.length,g=new Array(l),S=0;S<l;++S)for(var T=o[S],R=T.length,D=g[S]=[],U,B=0;B<R;++B)(U=T[B])&&r.call(U,U.__data__,B,T)&&D.push(U);return new Qr(g,this._parents,this._name,this._id)}function Xi(r){if(r._id!==this._id)throw new Error;for(var o=this._groups,l=r._groups,g=o.length,S=l.length,T=Math.min(g,S),R=new Array(g),D=0;D<T;++D)for(var U=o[D],B=l[D],H=U.length,K=R[D]=new Array(H),_,et=0;et<H;++et)(_=U[et]||B[et])&&(K[et]=_);for(;D<g;++D)R[D]=o[D];return new Qr(R,this._parents,this._name,this._id)}function Ji(r){return(r+"").trim().split(/^|\s+/).every(function(o){var l=o.indexOf(".");return l>=0&&(o=o.slice(0,l)),!o||o==="start"})}function Qi(r,o,l){var g,S,T=Ji(o)?de:Kr;return function(){var R=T(this,r),D=R.on;D!==g&&(S=(g=D).copy()).on(o,l),R.on=S}}function Zi(r,o){var l=this._id;return arguments.length<2?zr(this.node(),l).on.on(r):this.each(Qi(l,r,o))}function ki(r){return function(){var o=this.parentNode;for(var l in this.__transition)if(+l!==r)return;o&&o.removeChild(this)}}function qi(){return this.on("end.remove",ki(this._id))}function _i(r){var o=this._name,l=this._id;typeof r!="function"&&(r=se(r));for(var g=this._groups,S=g.length,T=new Array(S),R=0;R<S;++R)for(var D=g[R],U=D.length,B=T[R]=new Array(U),H,K,_=0;_<U;++_)(H=D[_])&&(K=r.call(H,H.__data__,_,D))&&("__data__"in H&&(K.__data__=H.__data__),B[_]=K,Wn(B[_],o,l,_,B,zr(H,l)));return new Qr(T,this._parents,o,l)}function tu(r){var o=this._name,l=this._id;typeof r!="function"&&(r=Ge(r));for(var g=this._groups,S=g.length,T=[],R=[],D=0;D<S;++D)for(var U=g[D],B=U.length,H,K=0;K<B;++K)if(H=U[K]){for(var _=r.call(H,H.__data__,K,U),et,zt=zr(H,l),or=0,pt=_.length;or<pt;++or)(et=_[or])&&Wn(et,o,l,or,_,zt);T.push(_),R.push(H)}return new Qr(T,R,o,l)}var ru=mn.prototype.constructor;function nu(){return new ru(this._groups,this._parents)}function eu(r,o){var l,g,S;return function(){var T=fn(this,r),R=(this.style.removeProperty(r),fn(this,r));return T===R?null:T===l&&R===g?S:S=o(l=T,g=R)}}function da(r){return function(){this.style.removeProperty(r)}}function au(r,o,l){var g,S=l+"",T;return function(){var R=fn(this,r);return R===S?null:R===g?T:T=o(g=R,l)}}function ou(r,o,l){var g,S,T;return function(){var R=fn(this,r),D=l(this),U=D+"";return D==null&&(U=D=(this.style.removeProperty(r),fn(this,r))),R===U?null:R===g&&U===S?T:(S=U,T=o(g=R,D))}}function su(r,o){var l,g,S,T="style."+o,R="end."+T,D;return function(){var U=Kr(this,r),B=U.on,H=U.value[T]==null?D||(D=da(o)):void 0;(B!==l||S!==H)&&(g=(l=B).copy()).on(R,S=H),U.on=g}}function iu(r,o,l){var g=(r+="")=="transform"?xi:va;return o==null?this.styleTween(r,eu(r,g)).on("end.style."+r,da(r)):typeof o=="function"?this.styleTween(r,ou(r,g,ge(this,"style."+r,o))).each(su(this._id,r)):this.styleTween(r,au(r,g,o),l).on("end.style."+r,null)}function uu(r,o,l){return function(g){this.style.setProperty(r,o.call(this,g),l)}}function fu(r,o,l){var g,S;function T(){var R=o.apply(this,arguments);return R!==S&&(g=(S=R)&&uu(r,R,l)),g}return T._value=o,T}function lu(r,o,l){var g="style."+(r+="");if(arguments.length<2)return(g=this.tween(g))&&g._value;if(o==null)return this.tween(g,null);if(typeof o!="function")throw new Error;return this.tween(g,fu(r,o,l==null?"":l))}function cu(r){return function(){this.textContent=r}}function vu(r){return function(){var o=r(this);this.textContent=o==null?"":o}}function du(r){return this.tween("text",typeof r=="function"?vu(ge(this,"text",r)):cu(r==null?"":r+""))}function hu(r){return function(o){this.textContent=r.call(this,o)}}function gu(r){var o,l;function g(){var S=r.apply(this,arguments);return S!==l&&(o=(l=S)&&hu(S)),o}return g._value=r,g}function pu(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,gu(r))}function yu(){for(var r=this._name,o=this._id,l=ha(),g=this._groups,S=g.length,T=0;T<S;++T)for(var R=g[T],D=R.length,U,B=0;B<D;++B)if(U=R[B]){var H=zr(U,o);Wn(U,r,l,B,R,{time:H.time+H.delay+H.duration,delay:0,duration:H.duration,ease:H.ease})}return new Qr(g,this._parents,r,l)}function mu(){var r,o,l=this,g=l._id,S=l.size();return new Promise(function(T,R){var D={value:R},U={value:function(){--S===0&&T()}};l.each(function(){var B=Kr(this,g),H=B.on;H!==r&&(o=(r=H).copy(),o._.cancel.push(D),o._.interrupt.push(D),o._.end.push(U)),B.on=o}),S===0&&T()})}var xu=0;function Qr(r,o,l,g){this._groups=r,this._parents=o,this._name=l,this._id=g}function Su(r){return mn().transition(r)}function ha(){return++xu}var Zr=mn.prototype;Qr.prototype=Su.prototype={constructor:Qr,select:_i,selectAll:tu,selectChild:Zr.selectChild,selectChildren:Zr.selectChildren,filter:Ki,merge:Xi,selection:nu,transition:yu,call:Zr.call,nodes:Zr.nodes,node:Zr.node,size:Zr.size,empty:Zr.empty,each:Zr.each,on:Zi,attr:Mi,attrTween:Li,style:iu,styleTween:lu,text:du,textTween:pu,remove:qi,tween:Ti,delay:ji,duration:Vi,ease:Wi,easeVarying:Yi,end:mu,[Symbol.iterator]:Zr[Symbol.iterator]};function Of(r){return r*r*r}function Rf(r){return--r*r*r+1}function Eu(r){return((r*=2)<=1?r*r*r:(r-=2)*r*r+2)/2}var Iu={time:null,delay:0,duration:250,ease:Eu};function Tu(r,o){for(var l;!(l=r.__transition)||!(l=l[o]);)if(!(r=r.parentNode))throw new Error(`transition ${o} not found`);return l}function Ou(r){var o,l;r instanceof Qr?(o=r._id,r=r._name):(o=ha(),(l=Iu).time=fe(),r=r==null?null:r+"");for(var g=this._groups,S=g.length,T=0;T<S;++T)for(var R=g[T],D=R.length,U,B=0;B<D;++B)(U=R[B])&&Wn(U,r,o,B,R,l||Tu(U,o));return new Qr(g,this._parents,r,o)}mn.prototype.interrupt=pi,mn.prototype.transition=Ou;var ga={name:"drag"},pe={name:"space"},cn={name:"handle"},vn={name:"center"};const{abs:pa,max:Fr,min:$r}=Math;function ya(r){return[+r[0],+r[1]]}function ye(r){return[ya(r[0]),ya(r[1])]}var Yn={name:"x",handles:["w","e"].map(Tn),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]]}},Kn={name:"y",handles:["n","s"].map(Tn),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]]}},Ru={name:"xy",handles:["n","w","e","s","nw","ne","sw","se"].map(Tn),input:function(r){return r==null?null:ye(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"},Au={overlay:1,selection:1,n:null,e:1,s:null,w:-1,nw:-1,ne:1,se:1,sw:-1},Pu={overlay:1,selection:1,n:-1,e:null,s:1,w:null,nw:-1,ne:-1,se:1,sw:1};function Tn(r){return{type:r}}function Cu(r){return!r.ctrlKey&&!r.button}function Nu(){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 Mu(){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 Af(r){var o=r.__brush;return o?o.dim.output(o.selection):null}function Pf(){return xe(Yn)}function Cf(){return xe(Kn)}function Nf(){return xe(Ru)}function xe(r){var o=Nu,l=Cu,g=Mu,S=!0,T=dispatch("start","brush","end"),R=6,D;function U(pt){var Ct=pt.property("__brush",or).selectAll(".overlay").data([Tn("overlay")]);Ct.enter().append("rect").attr("class","overlay").attr("pointer-events","all").attr("cursor",kr.overlay).merge(Ct).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])}),pt.selectAll(".selection").data([Tn("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 Gt=pt.selectAll(".handle").data(r.handles,function(Dt){return Dt.type});Gt.exit().remove(),Gt.enter().append("rect").attr("class",function(Dt){return"handle handle--"+Dt.type}).attr("cursor",function(Dt){return kr[Dt.type]}),pt.each(B).attr("fill","none").attr("pointer-events","all").on("mousedown.brush",_).filter(g).on("touchstart.brush",_).on("touchmove.brush",et).on("touchend.brush touchcancel.brush",zt).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}U.move=function(pt,Ct,Gt){pt.tween?pt.on("start.brush",function(Dt){H(this,arguments).beforestart().start(Dt)}).on("interrupt.brush end.brush",function(Dt){H(this,arguments).end(Dt)}).tween("brush",function(){var Dt=this,kt=Dt.__brush,Yt=H(Dt,arguments),pr=kt.selection,Sr=r.input(typeof Ct=="function"?Ct.apply(this,arguments):Ct,kt.extent),cr=interpolate(pr,Sr);function Nr(sr){kt.selection=sr===1&&Sr===null?null:cr(sr),B.call(Dt),Yt.brush()}return pr!==null&&Sr!==null?Nr:Nr(1)}):pt.each(function(){var Dt=this,kt=arguments,Yt=Dt.__brush,pr=r.input(typeof Ct=="function"?Ct.apply(Dt,kt):Ct,Yt.extent),Sr=H(Dt,kt).beforestart();interrupt(Dt),Yt.selection=pr===null?null:pr,B.call(Dt),Sr.start(Gt).brush(Gt).end(Gt)})},U.clear=function(pt,Ct){U.move(pt,null,Ct)};function B(){var pt=select(this),Ct=me(this).selection;Ct?(pt.selectAll(".selection").style("display",null).attr("x",Ct[0][0]).attr("y",Ct[0][1]).attr("width",Ct[1][0]-Ct[0][0]).attr("height",Ct[1][1]-Ct[0][1]),pt.selectAll(".handle").style("display",null).attr("x",function(Gt){return Gt.type[Gt.type.length-1]==="e"?Ct[1][0]-R/2:Ct[0][0]-R/2}).attr("y",function(Gt){return Gt.type[0]==="s"?Ct[1][1]-R/2:Ct[0][1]-R/2}).attr("width",function(Gt){return Gt.type==="n"||Gt.type==="s"?Ct[1][0]-Ct[0][0]+R:R}).attr("height",function(Gt){return Gt.type==="e"||Gt.type==="w"?Ct[1][1]-Ct[0][1]+R:R})):pt.selectAll(".selection,.handle").style("display","none").attr("x",null).attr("y",null).attr("width",null).attr("height",null)}function H(pt,Ct,Gt){var Dt=pt.__brush.emitter;return Dt&&(!Gt||!Dt.clean)?Dt:new K(pt,Ct,Gt)}function K(pt,Ct,Gt){this.that=pt,this.args=Ct,this.state=pt.__brush,this.active=0,this.clean=Gt}K.prototype={beforestart:function(){return++this.active===1&&(this.state.emitter=this,this.starting=!0),this},start:function(pt,Ct){return this.starting?(this.starting=!1,this.emit("start",pt,Ct)):this.emit("brush",pt),this},brush:function(pt,Ct){return this.emit("brush",pt,Ct),this},end:function(pt,Ct){return--this.active===0&&(delete this.state.emitter,this.emit("end",pt,Ct)),this},emit:function(pt,Ct,Gt){var Dt=select(this.that).datum();T.call(pt,this.that,new BrushEvent(pt,{sourceEvent:Ct,target:U,selection:r.output(this.state.selection),mode:Gt,dispatch:T}),Dt)}};function _(pt){if(D&&!pt.touches||!l.apply(this,arguments))return;var Ct=this,Gt=pt.target.__data__.type,Dt=(S&&pt.metaKey?Gt="overlay":Gt)==="selection"?ga:S&&pt.altKey?vn:cn,kt=r===Kn?null:Au[Gt],Yt=r===Yn?null:Pu[Gt],pr=me(Ct),Sr=pr.extent,cr=pr.selection,Nr=Sr[0][0],sr,Ut,gr=Sr[0][1],ar,yr,Yr=Sr[1][0],Er,Ir,wr=Sr[1][1],fr,Dr,Ar=0,Pr=0,Ce,_n=kt&&Yt&&S&&pt.shiftKey,te,re,Br=Array.from(pt.touches||[pt],qt=>{const Cr=qt.identifier;return qt=pointer(qt,Ct),qt.point0=qt.slice(),qt.identifier=Cr,qt});interrupt(Ct);var An=H(Ct,arguments,!0).beforestart();if(Gt==="overlay"){cr&&(Ce=!0);const qt=[Br[0],Br[1]||Br[0]];pr.selection=cr=[[sr=r===Kn?Nr:$r(qt[0][0],qt[1][0]),ar=r===Yn?gr:$r(qt[0][1],qt[1][1])],[Er=r===Kn?Yr:Fr(qt[0][0],qt[1][0]),fr=r===Yn?wr:Fr(qt[0][1],qt[1][1])]],Br.length>1&&en(pt)}else sr=cr[0][0],ar=cr[0][1],Er=cr[1][0],fr=cr[1][1];Ut=sr,yr=ar,Ir=Er,Dr=fr;var Fa=select(Ct).attr("pointer-events","none"),Pn=Fa.selectAll(".overlay").attr("cursor",kr[Gt]);if(pt.touches)An.moved=La,An.ended=Ua;else{var $a=select(pt.view).on("mousemove.brush",La,!0).on("mouseup.brush",Ua,!0);S&&$a.on("keydown.brush",xf,!0).on("keyup.brush",Sf,!0),dragDisable(pt.view)}B.call(Ct),An.start(pt,Dt.name);function La(qt){for(const Cr of qt.changedTouches||[qt])for(const Cn of Br)Cn.identifier===Cr.identifier&&(Cn.cur=pointer(Cr,Ct));if(_n&&!te&&!re&&Br.length===1){const Cr=Br[0];pa(Cr.cur[0]-Cr[0])>pa(Cr.cur[1]-Cr[1])?re=!0:te=!0}for(const Cr of Br)Cr.cur&&(Cr[0]=Cr.cur[0],Cr[1]=Cr.cur[1]);Ce=!0,noevent(qt),en(qt)}function en(qt){const Cr=Br[0],Cn=Cr.point0;var rn;switch(Ar=Cr[0]-Cn[0],Pr=Cr[1]-Cn[1],Dt){case pe:case ga:{kt&&(Ar=Fr(Nr-sr,$r(Yr-Er,Ar)),Ut=sr+Ar,Ir=Er+Ar),Yt&&(Pr=Fr(gr-ar,$r(wr-fr,Pr)),yr=ar+Pr,Dr=fr+Pr);break}case cn:{Br[1]?(kt&&(Ut=Fr(Nr,$r(Yr,Br[0][0])),Ir=Fr(Nr,$r(Yr,Br[1][0])),kt=1),Yt&&(yr=Fr(gr,$r(wr,Br[0][1])),Dr=Fr(gr,$r(wr,Br[1][1])),Yt=1)):(kt<0?(Ar=Fr(Nr-sr,$r(Yr-sr,Ar)),Ut=sr+Ar,Ir=Er):kt>0&&(Ar=Fr(Nr-Er,$r(Yr-Er,Ar)),Ut=sr,Ir=Er+Ar),Yt<0?(Pr=Fr(gr-ar,$r(wr-ar,Pr)),yr=ar+Pr,Dr=fr):Yt>0&&(Pr=Fr(gr-fr,$r(wr-fr,Pr)),yr=ar,Dr=fr+Pr));break}case vn:{kt&&(Ut=Fr(Nr,$r(Yr,sr-Ar*kt)),Ir=Fr(Nr,$r(Yr,Er+Ar*kt))),Yt&&(yr=Fr(gr,$r(wr,ar-Pr*Yt)),Dr=Fr(gr,$r(wr,fr+Pr*Yt)));break}}Ir<Ut&&(kt*=-1,rn=sr,sr=Er,Er=rn,rn=Ut,Ut=Ir,Ir=rn,Gt in ma&&Pn.attr("cursor",kr[Gt=ma[Gt]])),Dr<yr&&(Yt*=-1,rn=ar,ar=fr,fr=rn,rn=yr,yr=Dr,Dr=rn,Gt in xa&&Pn.attr("cursor",kr[Gt=xa[Gt]])),pr.selection&&(cr=pr.selection),te&&(Ut=cr[0][0],Ir=cr[1][0]),re&&(yr=cr[0][1],Dr=cr[1][1]),(cr[0][0]!==Ut||cr[0][1]!==yr||cr[1][0]!==Ir||cr[1][1]!==Dr)&&(pr.selection=[[Ut,yr],[Ir,Dr]],B.call(Ct),An.brush(qt,Dt.name))}function Ua(qt){if(nopropagation(qt),qt.touches){if(qt.touches.length)return;D&&clearTimeout(D),D=setTimeout(function(){D=null},500)}else dragEnable(qt.view,Ce),$a.on("keydown.brush keyup.brush mousemove.brush mouseup.brush",null);Fa.attr("pointer-events","all"),Pn.attr("cursor",kr.overlay),pr.selection&&(cr=pr.selection),bu(cr)&&(pr.selection=null,B.call(Ct)),An.end(qt,Dt.name)}function xf(qt){switch(qt.keyCode){case 16:{_n=kt&&Yt;break}case 18:{Dt===cn&&(kt&&(Er=Ir-Ar*kt,sr=Ut+Ar*kt),Yt&&(fr=Dr-Pr*Yt,ar=yr+Pr*Yt),Dt=vn,en(qt));break}case 32:{(Dt===cn||Dt===vn)&&(kt<0?Er=Ir-Ar:kt>0&&(sr=Ut-Ar),Yt<0?fr=Dr-Pr:Yt>0&&(ar=yr-Pr),Dt=pe,Pn.attr("cursor",kr.selection),en(qt));break}default:return}noevent(qt)}function Sf(qt){switch(qt.keyCode){case 16:{_n&&(te=re=_n=!1,en(qt));break}case 18:{Dt===vn&&(kt<0?Er=Ir:kt>0&&(sr=Ut),Yt<0?fr=Dr:Yt>0&&(ar=yr),Dt=cn,en(qt));break}case 32:{Dt===pe&&(qt.altKey?(kt&&(Er=Ir-Ar*kt,sr=Ut+Ar*kt),Yt&&(fr=Dr-Pr*Yt,ar=yr+Pr*Yt),Dt=vn):(kt<0?Er=Ir:kt>0&&(sr=Ut),Yt<0?fr=Dr:Yt>0&&(ar=yr),Dt=cn),Pn.attr("cursor",kr[Gt]),en(qt));break}default:return}noevent(qt)}}function et(pt){H(this,arguments).moved(pt)}function zt(pt){H(this,arguments).ended(pt)}function or(){var pt=this.__brush||{selection:null};return pt.extent=ye(o.apply(this,arguments)),pt.dim=r,pt}return U.extent=function(pt){return arguments.length?(o=typeof pt=="function"?pt:constant(ye(pt)),U):o},U.filter=function(pt){return arguments.length?(l=typeof pt=="function"?pt:constant(!!pt),U):l},U.touchable=function(pt){return arguments.length?(g=typeof pt=="function"?pt:constant(!!pt),U):g},U.handleSize=function(pt){return arguments.length?(R=+pt,U):R},U.keyModifiers=function(pt){return arguments.length?(S=!!pt,U):S},U.on=function(){var pt=T.on.apply(T,arguments);return pt===T?U:pt},U}function Du(){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 Fu(r){const o=typeof(r==null?void 0:r.requestAnimationFrame)=="function"&&typeof(r==null?void 0:r.cancelAnimationFrame)=="function",l=typeof(r==null?void 0:r.requestIdleCallback)=="function"&&typeof(r==null?void 0:r.cancelIdleCallback)=="function",g=T=>setTimeout(T,1),S=T=>clearTimeout(T);return[o?r.requestAnimationFrame:g,o?r.cancelAnimationFrame:S,l?r.requestIdleCallback:g,l?r.cancelIdleCallback:S]}const Xn=Du(),$u=Xn==null?void 0:Xn.document,[Mf,bf,Df,Ff]=Fu(Xn);var Lu=Object.defineProperty,Sa=Object.getOwnPropertySymbols,Uu=Object.prototype.hasOwnProperty,Bu=Object.prototype.propertyIsEnumerable,Ea=(r,o,l)=>o in r?Lu(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,Ia=(r,o)=>{for(var l in o||(o={}))Uu.call(o,l)&&Ea(r,l,o[l]);if(Sa)for(var l of Sa(o))Bu.call(o,l)&&Ea(r,l,o[l]);return r};const $f=r=>r||r===0,Se=r=>typeof r=="function",On=r=>typeof r=="string",Ee=r=>typeof r=="number",ju=r=>typeof r=="undefined",Ta=r=>typeof r!="undefined",Lf=r=>typeof r=="boolean",Uf=r=>Math.ceil(r/10)*10,Bf=r=>Math.ceil(r)+.5,jf=r=>r[1]-r[0],Ie=r=>typeof r=="object",Oa=r=>ju(r)||r===null||On(r)&&r.length===0||Ie(r)&&!(r instanceof Date)&&Object.keys(r).length===0||Ee(r)&&isNaN(r),wu=r=>!Oa(r),Te=r=>Array.isArray(r),Jn=r=>r&&!(r!=null&&r.nodeType)&&Ie(r)&&!Te(r);function wf(r,o,l){return Ta(r[o])?r[o]:l}function Gf(r,o){let l=!1;return Object.keys(r).forEach(g=>r[g]===o&&(l=!0)),l}function Vf(r,o,...l){const g=Se(r);return g&&r.call(o,...l),g}function Hf(r,o){let l=0;const g=function(...S){!--l&&o.apply(this,...S)};"duration"in r?r.each(()=>++l).on("end",g):(++l,r.call(g))}function Wf(r){return On(r)?r.replace(/<(script|img)?/ig,"&lt;").replace(/(script)?>/ig,"&gt;"):r}function zf(r,o,l=[-1,1],g=!1){if(!(!r||!On(o)))if(o.indexOf(`
12
12
  `)===-1)r.text(o);else{const S=[r.text(),o].map(T=>T.replace(/[\s\n]/g,""));if(S[0]!==S[1]){const T=o.split(`
13
- `),R=g?T.length-1:1;r.html(""),T.forEach((D,U)=>{r.append("tspan").attr("x",0).attr("dy",`${U===0?l[0]*R:l[1]}em`).text(D)})}}}function Gu(r){const{x:o,y:l,width:g,height:S}=r.getBBox();return[{x:o,y:l+S},{x:o,y:l},{x:o+g,y:l},{x:o+g,y:l+S}]}function Yf(r){const{width:o,height:l}=r.getBoundingClientRect(),g=Gu(r),S=g[0].x,T=Math.min(g[0].y,g[1].y);return{x:S,y:T,width:o,height:l}}function Kf(r,o){var l;const g=r&&((l=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:l[0]);let S=[0,0];try{S=d3Pointer(g||r,o)}catch(T){}return S.map(T=>isNaN(T)?0:T)}function Vu(r){const{event:o,$el:l}=r,g=l.subchart.main||l.main;let S;return o&&o.type==="brush"?S=o.selection:g&&(S=g.select(".bb-brush").node())&&(S=d3BrushSelection(S)),S}function Xf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Jf(r=!0,o=0,l=1e4){const g=window.crypto||window.msCrypto,S=g?o+g.getRandomValues(new Uint32Array(1))[0]%(l-o+1):Math.floor(Math.random()*(l-o)+o);return r?String(S):S}function Ra(r,o,l,g,S){if(l>g)return-1;const T=Math.floor((l+g)/2);let{x:R,w:D=0}=r[T];return S&&(R=r[T].y,D=r[T].h),o>=R&&o<=R+D?T:o<R?Ra(r,o,l,T-1,S):Ra(r,o,T+1,g,S)}function Qf(r){const o=Vu(r);return o?o[0]===o[1]:!0}function Zf(...r){const o=l=>{if(Jn(l)&&l.constructor){const g=new l.constructor;for(const S in l)g[S]=o(l[S]);return g}return l};return r.map(l=>o(l)).reduce((l,g)=>Ia(Ia({},l),g))}function Hu(r={},o){Te(o)&&o.forEach(l=>Hu(r,l));for(const l in o)/^\d+$/.test(l)||l in r||(r[l]=o[l]);return r}const kf=r=>r.charAt(0).toUpperCase()+r.slice(1);function qf(r,o="-"){return r.split(o).map((l,g)=>g?l.charAt(0).toUpperCase()+l.slice(1).toLowerCase():l.toLowerCase()).join("")}const Wu=r=>[].slice.call(r);function _f(r,o,l){const{rootSelector:g="",sheet:S}=r,R=`${g} ${(D=>D.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(o)} {${l.join(";")}}`;return S[S.insertRule?"insertRule":"addRule"](R,S.cssRules.length)}function tl(r){let o=[];return r.forEach(l=>{var g;try{l.cssRules&&l.cssRules.length&&(o=o.concat(Wu(l.cssRules)))}catch(S){(g=window.console)==null||g.warn(`Error while reading rules from ${l.href}: ${S.toString()}`)}}),o}function rl(r){var o,l,g,S,T,R;return{x:((l=(o=window.pageXOffset)!=null?o:window.scrollX)!=null?l:0)+((g=r.scrollLeft)!=null?g:0),y:((T=(S=window.pageYOffset)!=null?S:window.scrollY)!=null?T:0)+((R=r.scrollTop)!=null?R:0)}}function nl(r,o=0,l=0,g=!0){const S=new DOMPoint(o,l),T=r.getScreenCTM(),R=S.matrixTransform(g?T==null?void 0:T.inverse():T);if(g===!1){const D=r.getBoundingClientRect();R.x-=D.x,R.y-=D.y}return R}function el(r){const o=r?r.transform:null,l=o&&o.baseVal;return l&&l.numberOfItems?l.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function al(r){const o=r[0]instanceof Date,l=(o?r.map(Number):r).filter((g,S,T)=>T.indexOf(g)===S);return o?l.map(g=>new Date(g)):l}function ol(r){return r&&r.length?r.reduce((o,l)=>o.concat(l)):[]}function Oe(r,...o){if(!o.length||o.length===1&&!o[0])return r;const l=o.shift();return Jn(r)&&Jn(l)&&Object.keys(l).forEach(g=>{const S=l[g];Jn(S)?(!r[g]&&(r[g]={}),r[g]=Oe(r[g],S)):r[g]=Te(S)?S.concat():S}),Oe(r,...o)}function zu(r,o=!0){let l;return r[0]instanceof Date?l=o?(g,S)=>g-S:(g,S)=>S-g:o&&!r.every(isNaN)?l=(g,S)=>g-S:o||(l=(g,S)=>g>S&&-1||g<S&&1||g===S&&0),r.concat().sort(l)}function sl(r,o){let l=o.filter(g=>wu(g));return l.length?Ee(l[0])?l=Math[r](...l):l[0]instanceof Date&&(l=zu(l,r==="min")[0]):l=void 0,l}const Yu=(r,o,l=1)=>{const g=[],S=Math.max(0,Math.ceil((o-r)/l))|0;for(let T=r;T<S;T++)g.push(r+T*l);return g},il={mouse:(()=>{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(o,l,g=r())=>{o.dispatchEvent(new MouseEvent(l,g))}}catch(o){return(l,g,S=r())=>{const T=$u.createEvent("MouseEvent");T.initMouseEvent(g,S.bubbles,S.cancelable,Xn,0,S.screenX,S.screenY,S.clientX,S.clientY,!1,!1,!1,!1,0,null),l.dispatchEvent(T)}}})(),touch:(r,o,l)=>{const g=new Touch(Oe({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},l));r.dispatchEvent(new TouchEvent(o,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[g],targetTouches:[],changedTouches:[g]}))}};function ul(r,o){let l=r;for(const g in o)l=l.replace(new RegExp(`{=${g}}`,"g"),o[g]);return l}function Ku(r){var o;let l;if(r instanceof Date)l=r;else if(On(r)){const{config:g,format:S}=this;l=(o=S.dataTime(g.data_xFormat)(r))!=null?o:new Date(r)}else Ee(r)&&!isNaN(r)&&(l=new Date(+r));return(!l||isNaN(+l))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),l}function fl(r){const o=r.attr("viewBox");return o?/(\d+(\.\d+)?){3}/.test(o):!1}function ll(r,o,l=!1){const g=!!r.node;let S=!1;for(const[T,R]of Object.entries(o))if(S=g?r.style(T)===R:r.style[T]===R,l===!1&&S)break;return S}function cl(){var r,o;return((r=document)==null?void 0:r.hidden)===!1||((o=document)==null?void 0:o.visibilityState)==="visible"}function vl(r,o){const{DocumentTouch:l,matchMedia:g,navigator:S}=window,T=g==null?void 0:g("(pointer:coarse)").matches;let R=!1;if(o)if(S&&"maxTouchPoints"in S)R=S.maxTouchPoints>0;else if("ontouchmove"in window||l&&document instanceof l)R=!0;else if(T)R=!0;else{const U=S.userAgent;R=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(U)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(U)}return r&&!T&&(g==null?void 0:g("(pointer:fine)").matches)&&"mouse"||R&&"touch"||"mouse"}function Xu(r,o){o()===!1?requestAnimationFrame(()=>Xu(r,o)):r()}function Ju(r){const o=this.config;let l,g,S;const T=()=>{const R=g.shift();if(R&&l&&Ie(l)&&R in l)return l=l[R],T();if(!R)return l};Object.keys(o).forEach(R=>{l=r,g=R.split("_"),S=T(),Ta(S)&&(o[R]=S)}),this.api&&(this.state.orgConfig=r)}var Qu=Object.defineProperty,Zu=(r,o,l)=>o in r?Qu(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,Re=(r,o,l)=>Zu(r,typeof o!="symbol"?o+"":o,l);class Aa{constructor(o={}){Re(this,"$$"),Re(this,"options"),this.options=o}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(o=>{this[o]=null,delete this[o]})}}Re(Aa,"version","3.15.0-next.2");function ku(r){return r}var Qn=1,Zn=2,Ae=3,Rn=4,Pa=1e-6;function qu(r){return"translate("+r+",0)"}function _u(r){return"translate(0,"+r+")"}function tf(r){return o=>+r(o)}function rf(r,o){return o=Math.max(0,r.bandwidth()-o*2)/2,r.round()&&(o=Math.round(o)),l=>+r(l)+o}function nf(){return!this.__axis}function kn(r,o){var l=[],g=null,S=null,T=6,R=6,D=3,U=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,B=r===Qn||r===Rn?-1:1,H=r===Rn||r===Zn?"x":"y",K=r===Qn||r===Ae?qu:_u;function _(et){var zt=g==null?o.ticks?o.ticks.apply(o,l):o.domain():g,or=S==null?o.tickFormat?o.tickFormat.apply(o,l):ku:S,pt=Math.max(T,0)+D,Ct=o.range(),Gt=+Ct[0]+U,Dt=+Ct[Ct.length-1]+U,kt=(o.bandwidth?rf:tf)(o.copy(),U),Yt=et.selection?et.selection():et,pr=Yt.selectAll(".domain").data([null]),Sr=Yt.selectAll(".tick").data(zt,o).order(),cr=Sr.exit(),Nr=Sr.enter().append("g").attr("class","tick"),sr=Sr.select("line"),Ut=Sr.select("text");pr=pr.merge(pr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Sr=Sr.merge(Nr),sr=sr.merge(Nr.append("line").attr("stroke","currentColor").attr(H+"2",B*T)),Ut=Ut.merge(Nr.append("text").attr("fill","currentColor").attr(H,B*pt).attr("dy",r===Qn?"0em":r===Ae?"0.71em":"0.32em")),et!==Yt&&(pr=pr.transition(et),Sr=Sr.transition(et),sr=sr.transition(et),Ut=Ut.transition(et),cr=cr.transition(et).attr("opacity",Pa).attr("transform",function(gr){return isFinite(gr=kt(gr))?K(gr+U):this.getAttribute("transform")}),Nr.attr("opacity",Pa).attr("transform",function(gr){var ar=this.parentNode.__axis;return K((ar&&isFinite(ar=ar(gr))?ar:kt(gr))+U)})),cr.remove(),pr.attr("d",r===Rn||r===Zn?R?"M"+B*R+","+Gt+"H"+U+"V"+Dt+"H"+B*R:"M"+U+","+Gt+"V"+Dt:R?"M"+Gt+","+B*R+"V"+U+"H"+Dt+"V"+B*R:"M"+Gt+","+U+"H"+Dt),Sr.attr("opacity",1).attr("transform",function(gr){return K(kt(gr)+U)}),sr.attr(H+"2",B*T),Ut.attr(H,B*pt).text(or),Yt.filter(nf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===Rn?"end":"middle"),Yt.each(function(){this.__axis=kt})}return _.scale=function(et){return arguments.length?(o=et,_):o},_.ticks=function(){return l=Array.from(arguments),_},_.tickArguments=function(et){return arguments.length?(l=et==null?[]:Array.from(et),_):l.slice()},_.tickValues=function(et){return arguments.length?(g=et==null?null:Array.from(et),_):g&&g.slice()},_.tickFormat=function(et){return arguments.length?(S=et,_):S},_.tickSize=function(et){return arguments.length?(T=R=+et,_):T},_.tickSizeInner=function(et){return arguments.length?(T=+et,_):T},_.tickSizeOuter=function(et){return arguments.length?(R=+et,_):R},_.tickPadding=function(et){return arguments.length?(D=+et,_):D},_.offset=function(et){return arguments.length?(U=+et,_):U},_}function dl(r){return kn(Qn,r)}function ef(r){return kn(Zn,r)}function hl(r){return kn(Ae,r)}function gl(r){return kn(Rn,r)}function Ca(r){return function(o){return Math.sign(o)*Math.log1p(Math.abs(o/r))}}function Na(r){return function(o){return Math.sign(o)*Math.expm1(Math.abs(o))*r}}function af(r){var o=1,l=r(Ca(o),Na(o));return l.constant=function(g){return arguments.length?r(Ca(o=+g),Na(o)):o},ae(l)}function Ma(){var r=af(jr());return r.copy=function(){return _r(r,Ma()).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"},of=Object.defineProperty,sf=(r,o,l)=>o in r?of(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,ba=(r,o,l)=>sf(r,typeof o!="symbol"?o+"":o,l);class uf{constructor(o){ba(this,"owner"),ba(this,"colorScale"),this.owner=o}drawColorScale(){const{$$:o,config:l}=this.owner,g=o.data.targets[0],S=o.state.height-l.padding_bottom-l.padding_top,T=l.scale_width,R=5,D=Yu(l.padding_bottom,S,R),U=Le(g.colors).domain([D[D.length-1],D[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=o.$el.svg.append("g").attr("width",50).attr("height",S).attr("class",Xr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${l.padding_top})`).selectAll("bars").data(D).enter().append("rect").attr("y",(et,zt)=>zt*R).attr("x",0).attr("width",T).attr("height",R).attr("fill",et=>U(et));const B=Ma().domain([g.minEpochs,g.maxEpochs]).range([D[0]+l.padding_top+D[D.length-1]+R-1,D[0]+l.padding_top]),H=ef(B),K=l.scale_format;K==="pow10"?H.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):Se(K)?H.tickFormat(K):H.tickFormat(bn("d"));const _=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${T},0)`).call(H);K==="pow10"&&_.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 ff(r,o){const l=r.x,g=r.value;let S=!1;for(let T=0,R=o.length-1;T<o.length;R=T++){const D=o[T].x,U=o[T].y,B=o[R].x,H=o[R].y;U>g!=H>g&&l<(B-D)*(g-U)/(H-U)+D&&(S=!S)}return S}function lf(r,o){return r.epochs<o.epochs?-1:r.epochs>o.epochs?1:0}function cf(r){let o=0,l,g;for(let S=0,T=r.length,R=T-1;S<T;R=S,S++)l=r[S],g=r[R],o+=l.x*g.y,o-=l.y*g.x;return o/=2,o}function qn(r){const o=cf(r);let l=0,g=0,S;for(let T=0,R=r.length,D=R-1;T<R;D=T,T++){const U=r[T],B=r[D];S=U.x*B.y-B.x*U.y,l+=(U.x+B.x)*S,g+=(U.y+B.y)*S}return S=o*6,{x:l/S,y:g/S}}var vf=Object.defineProperty,df=(r,o,l)=>o in r?vf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,hf=(r,o,l)=>df(r,typeof o!="symbol"?o+"":o,l);class gf{constructor(o){hf(this,"owner"),this.owner=o;const l=o.$$.$el.main.select(".bb-chart").append("g").attr("class",Xr.stanfordElements);l.append("g").attr("class",Xr.stanfordLines),l.append("g").attr("class",Xr.stanfordRegions)}updateStanfordLines(o){const{$$:l}=this.owner,{config:g,$el:{main:S}}=l,T=g.axis_rotated,R=this.xvCustom.bind(l),D=this.yvCustom.bind(l),U=S.select(`.${Xr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Xr.stanfordLine}`).data(this.owner.config.lines);U.exit().transition().duration(o).style("opacity","0").remove();const B=U.enter().append("g");B.append("line").style("opacity","0"),B.merge(U).attr("class",H=>Xr.stanfordLine+(H.class?` ${H.class}`:"")).select("line").transition().duration(o).attr("x1",H=>T?D(H,"y1"):R(H,"x1")).attr("x2",H=>T?D(H,"y2"):R(H,"x2")).attr("y1",H=>T?R(H,"x1"):D(H,"y1")).attr("y2",H=>T?R(H,"x2"):D(H,"y2")).transition().style("opacity",null)}updateStanfordRegions(o){const{$$:l}=this.owner,{config:g,$el:{main:S}}=l,T=g.axis_rotated,R=this.xvCustom.bind(l),D=this.yvCustom.bind(l),U=this.owner.countEpochsInRegion.bind(l);let B=S.select(`.${Xr.stanfordRegions}`).selectAll(`.${Xr.stanfordRegion}`).data(this.owner.config.regions);B.exit().transition().duration(o).style("opacity","0").remove();const H=B.enter().append("g");H.append("polygon").style("opacity","0"),H.append("text").attr("transform",T?"rotate(-90)":"").style("opacity","0"),B=H.merge(B),B.attr("class",K=>Xr.stanfordRegion+(K.class?` ${K.class}`:"")).select("polygon").transition().duration(o).attr("points",K=>K.points.map(_=>[T?D(_,"y"):R(_,"x"),T?R(_,"x"):D(_,"y")].join(",")).join(" ")).transition().style("opacity",K=>String(K.opacity?K.opacity:.2)),B.select("text").transition().duration(o).attr("x",K=>T?D(qn(K.points),"y"):R(qn(K.points),"x")).attr("y",K=>T?R(qn(K.points),"x"):D(qn(K.points),"y")).text(K=>{if(K.text){const{value:_,percentage:et}=U(K.points);return K.text(_,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,l){const g=this,{axis:S,config:T}=g;let R=l?o[l]:g.getBaseValue(o);return S.isTimeSeries()?R=Ku.call(g,R):S.isCategorized()&&On(R)&&(R=T.axis_x_categories.indexOf(o.value)),g.scale.x(R)}yvCustom(o,l){const g=this,S=o.axis&&o.axis==="y2"?g.scale.y2:g.scale.y,T=l?o[l]:g.getBaseValue(o);return S(T)}}class Da{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 pf=Object.defineProperty,yf=(r,o,l)=>o in r?pf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,Pe=(r,o,l)=>yf(r,typeof o!="symbol"?o+"":o,l);class mf extends Aa{constructor(o){return super(o),Pe(this,"config"),Pe(this,"colorScale"),Pe(this,"elements"),this.config=new Da,this}$beforeInit(){const{$$:o}=this;o.config.data_xSort=!1,o.isMultipleX=()=>!0,o.showGridFocus=()=>{},o.labelishData=g=>g.values,o.opacityForCircle=()=>1;const l=o.getCurrentPadding.bind(o);o.getCurrentPadding=()=>{const g=l();return g.right+=this.colorScale?this.colorScale.getColorScalePadding():0,g}}$init(){const{$$:o}=this;Ju.call(this,this.options),o.color=this.getStanfordPointColor.bind(o),this.colorScale=new uf(this),this.elements=new gf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(o){var l,g;(l=this.colorScale)==null||l.drawColorScale(),(g=this.elements)==null||g.updateStanfordElements(o)}getOptions(){return new Da}convertData(){const o=this.$$.data.targets,l=this.options.epochs;o.forEach(g=>{g.values.forEach((S,T)=>{S.epochs=l[T]}),g.minEpochs=void 0,g.maxEpochs=void 0,g.colors=void 0,g.colorscale=void 0})}initStanfordData(){const{config:o}=this,l=this.$$.data.targets[0];l.values.sort(lf);const g=l.values.map(S=>S.epochs);l.minEpochs=isNaN(o.scale_min)?Math.min(...g):o.scale_min,l.maxEpochs=isNaN(o.scale_max)?Math.max(...g):o.scale_max,l.colors=Se(o.colors)?o.colors:Bt(rt(250,1,.5),rt(0,1,.5)),l.colorscale=Ue(l.colors).domain([l.minEpochs,l.maxEpochs])}getStanfordPointColor(o){return this.data.targets[0].colorscale(o.epochs)}setStanfordTooltip(){const{config:o}=this.$$;Oa(o.tooltip_contents)&&(o.tooltip_contents=function(l,g,S,T){const{data_x:R}=o;let D=`<table class="${oe.tooltip}"><tbody>`;return l.forEach(U=>{const{id:B="",value:H=0,epochs:K=0,x:_=""}=U;D+=`<tr>
13
+ `),R=g?T.length-1:1;r.html(""),T.forEach((D,U)=>{r.append("tspan").attr("x",0).attr("dy",`${U===0?l[0]*R:l[1]}em`).text(D)})}}}function Gu(r){const{x:o,y:l,width:g,height:S}=r.getBBox();return[{x:o,y:l+S},{x:o,y:l},{x:o+g,y:l},{x:o+g,y:l+S}]}function Yf(r){const{width:o,height:l}=r.getBoundingClientRect(),g=Gu(r),S=g[0].x,T=Math.min(g[0].y,g[1].y);return{x:S,y:T,width:o,height:l}}function Kf(r,o){var l;const g=r&&((l=r.touches||r.sourceEvent&&r.sourceEvent.touches)==null?void 0:l[0]);let S=[0,0];try{S=d3Pointer(g||r,o)}catch(T){}return S.map(T=>isNaN(T)?0:T)}function Vu(r){const{event:o,$el:l}=r,g=l.subchart.main||l.main;let S;return o&&o.type==="brush"?S=o.selection:g&&(S=g.select(".bb-brush").node())&&(S=d3BrushSelection(S)),S}function Xf(r){return!("rect"in r)||"rect"in r&&r.hasAttribute("width")&&r.rect.width!==+r.getAttribute("width")?r.rect=r.getBoundingClientRect():r.rect}function Jf(r=!0,o=0,l=1e4){const g=window.crypto||window.msCrypto,S=g?o+g.getRandomValues(new Uint32Array(1))[0]%(l-o+1):Math.floor(Math.random()*(l-o)+o);return r?String(S):S}function Ra(r,o,l,g,S){if(l>g)return-1;const T=Math.floor((l+g)/2);let{x:R,w:D=0}=r[T];return S&&(R=r[T].y,D=r[T].h),o>=R&&o<=R+D?T:o<R?Ra(r,o,l,T-1,S):Ra(r,o,T+1,g,S)}function Qf(r){const o=Vu(r);return o?o[0]===o[1]:!0}function Zf(...r){const o=l=>{if(Jn(l)&&l.constructor){const g=new l.constructor;for(const S in l)g[S]=o(l[S]);return g}return l};return r.map(l=>o(l)).reduce((l,g)=>Ia(Ia({},l),g))}function Hu(r={},o){Te(o)&&o.forEach(l=>Hu(r,l));for(const l in o)/^\d+$/.test(l)||l in r||(r[l]=o[l]);return r}const kf=r=>r.charAt(0).toUpperCase()+r.slice(1);function qf(r,o="-"){return r.split(o).map((l,g)=>g?l.charAt(0).toUpperCase()+l.slice(1).toLowerCase():l.toLowerCase()).join("")}const Wu=r=>[].slice.call(r);function _f(r,o,l){const{rootSelector:g="",sheet:S}=r,R=`${g} ${(D=>D.replace(/\s?(bb-)/g,".$1").replace(/\.+/g,"."))(o)} {${l.join(";")}}`;return S[S.insertRule?"insertRule":"addRule"](R,S.cssRules.length)}function tl(r){let o=[];return r.forEach(l=>{var g;try{l.cssRules&&l.cssRules.length&&(o=o.concat(Wu(l.cssRules)))}catch(S){(g=window.console)==null||g.warn(`Error while reading rules from ${l.href}: ${S.toString()}`)}}),o}function rl(r){var o,l,g,S,T,R;return{x:((l=(o=window.pageXOffset)!=null?o:window.scrollX)!=null?l:0)+((g=r.scrollLeft)!=null?g:0),y:((T=(S=window.pageYOffset)!=null?S:window.scrollY)!=null?T:0)+((R=r.scrollTop)!=null?R:0)}}function nl(r,o=0,l=0,g=!0){const S=new DOMPoint(o,l),T=r.getScreenCTM(),R=S.matrixTransform(g?T==null?void 0:T.inverse():T);if(g===!1){const D=r.getBoundingClientRect();R.x-=D.x,R.y-=D.y}return R}function el(r){const o=r?r.transform:null,l=o&&o.baseVal;return l&&l.numberOfItems?l.getItem(0).matrix:{a:0,b:0,c:0,d:0,e:0,f:0}}function al(r){const o=r[0]instanceof Date,l=(o?r.map(Number):r).filter((g,S,T)=>T.indexOf(g)===S);return o?l.map(g=>new Date(g)):l}function ol(r){return r&&r.length?r.reduce((o,l)=>o.concat(l)):[]}function Oe(r,...o){if(!o.length||o.length===1&&!o[0])return r;const l=o.shift();return Jn(r)&&Jn(l)&&Object.keys(l).forEach(g=>{const S=l[g];Jn(S)?(!r[g]&&(r[g]={}),r[g]=Oe(r[g],S)):r[g]=Te(S)?S.concat():S}),Oe(r,...o)}function zu(r,o=!0){let l;return r[0]instanceof Date?l=o?(g,S)=>g-S:(g,S)=>S-g:o&&!r.every(isNaN)?l=(g,S)=>g-S:o||(l=(g,S)=>g>S&&-1||g<S&&1||g===S&&0),r.concat().sort(l)}function sl(r,o){let l=o.filter(g=>wu(g));return l.length?Ee(l[0])?l=Math[r](...l):l[0]instanceof Date&&(l=zu(l,r==="min")[0]):l=void 0,l}const Yu=(r,o,l=1)=>{const g=[],S=Math.max(0,Math.ceil((o-r)/l))|0;for(let T=r;T<S;T++)g.push(r+T*l);return g},il={mouse:(()=>{const r=()=>({bubbles:!1,cancelable:!1,screenX:0,screenY:0,clientX:0,clientY:0});try{return new MouseEvent("t"),(o,l,g=r())=>{o.dispatchEvent(new MouseEvent(l,g))}}catch(o){return(l,g,S=r())=>{const T=$u.createEvent("MouseEvent");T.initMouseEvent(g,S.bubbles,S.cancelable,Xn,0,S.screenX,S.screenY,S.clientX,S.clientY,!1,!1,!1,!1,0,null),l.dispatchEvent(T)}}})(),touch:(r,o,l)=>{const g=new Touch(Oe({identifier:Date.now(),target:r,radiusX:2.5,radiusY:2.5,rotationAngle:10,force:.5},l));r.dispatchEvent(new TouchEvent(o,{cancelable:!0,bubbles:!0,shiftKey:!0,touches:[g],targetTouches:[],changedTouches:[g]}))}};function ul(r,o){let l=r;for(const g in o)l=l.replace(new RegExp(`{=${g}}`,"g"),o[g]);return l}function Ku(r){var o;let l;if(r instanceof Date)l=r;else if(On(r)){const{config:g,format:S}=this;l=(o=S.dataTime(g.data_xFormat)(r))!=null?o:new Date(r)}else Ee(r)&&!isNaN(r)&&(l=new Date(+r));return(!l||isNaN(+l))&&console&&console.error&&console.error(`Failed to parse x '${r}' to Date object`),l}function fl(r){const o=r.attr("viewBox");return o?/(\d+(\.\d+)?){3}/.test(o):!1}function ll(r,o,l=!1){const g=!!r.node;let S=!1;for(const[T,R]of Object.entries(o))if(S=g?r.style(T)===R:r.style[T]===R,l===!1&&S)break;return S}function cl(){var r,o;return((r=document)==null?void 0:r.hidden)===!1||((o=document)==null?void 0:o.visibilityState)==="visible"}function vl(r,o){const{DocumentTouch:l,matchMedia:g,navigator:S}=window,T=g==null?void 0:g("(pointer:coarse)").matches;let R=!1;if(o)if(S&&"maxTouchPoints"in S)R=S.maxTouchPoints>0;else if("ontouchmove"in window||l&&document instanceof l)R=!0;else if(T)R=!0;else{const U=S.userAgent;R=/\b(BlackBerry|webOS|iPhone|IEMobile)\b/i.test(U)||/\b(Android|Windows Phone|iPad|iPod)\b/i.test(U)}return r&&!T&&(g==null?void 0:g("(pointer:fine)").matches)&&"mouse"||R&&"touch"||"mouse"}function Xu(r,o){o()===!1?requestAnimationFrame(()=>Xu(r,o)):r()}function Ju(r){const o=this.config;let l,g,S;const T=()=>{const R=g.shift();if(R&&l&&Ie(l)&&R in l)return l=l[R],T();if(!R)return l};Object.keys(o).forEach(R=>{l=r,g=R.split("_"),S=T(),Ta(S)&&(o[R]=S)}),this.api&&(this.state.orgConfig=r)}var Qu=Object.defineProperty,Zu=(r,o,l)=>o in r?Qu(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,Re=(r,o,l)=>Zu(r,typeof o!="symbol"?o+"":o,l);class Aa{constructor(o={}){Re(this,"$$"),Re(this,"options"),this.options=o}$beforeInit(){}$init(){}$afterInit(){}$redraw(){}$willDestroy(){Object.keys(this).forEach(o=>{this[o]=null,delete this[o]})}}Re(Aa,"version","3.15.0");function ku(r){return r}var Qn=1,Zn=2,Ae=3,Rn=4,Pa=1e-6;function qu(r){return"translate("+r+",0)"}function _u(r){return"translate(0,"+r+")"}function tf(r){return o=>+r(o)}function rf(r,o){return o=Math.max(0,r.bandwidth()-o*2)/2,r.round()&&(o=Math.round(o)),l=>+r(l)+o}function nf(){return!this.__axis}function kn(r,o){var l=[],g=null,S=null,T=6,R=6,D=3,U=typeof window!="undefined"&&window.devicePixelRatio>1?0:.5,B=r===Qn||r===Rn?-1:1,H=r===Rn||r===Zn?"x":"y",K=r===Qn||r===Ae?qu:_u;function _(et){var zt=g==null?o.ticks?o.ticks.apply(o,l):o.domain():g,or=S==null?o.tickFormat?o.tickFormat.apply(o,l):ku:S,pt=Math.max(T,0)+D,Ct=o.range(),Gt=+Ct[0]+U,Dt=+Ct[Ct.length-1]+U,kt=(o.bandwidth?rf:tf)(o.copy(),U),Yt=et.selection?et.selection():et,pr=Yt.selectAll(".domain").data([null]),Sr=Yt.selectAll(".tick").data(zt,o).order(),cr=Sr.exit(),Nr=Sr.enter().append("g").attr("class","tick"),sr=Sr.select("line"),Ut=Sr.select("text");pr=pr.merge(pr.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),Sr=Sr.merge(Nr),sr=sr.merge(Nr.append("line").attr("stroke","currentColor").attr(H+"2",B*T)),Ut=Ut.merge(Nr.append("text").attr("fill","currentColor").attr(H,B*pt).attr("dy",r===Qn?"0em":r===Ae?"0.71em":"0.32em")),et!==Yt&&(pr=pr.transition(et),Sr=Sr.transition(et),sr=sr.transition(et),Ut=Ut.transition(et),cr=cr.transition(et).attr("opacity",Pa).attr("transform",function(gr){return isFinite(gr=kt(gr))?K(gr+U):this.getAttribute("transform")}),Nr.attr("opacity",Pa).attr("transform",function(gr){var ar=this.parentNode.__axis;return K((ar&&isFinite(ar=ar(gr))?ar:kt(gr))+U)})),cr.remove(),pr.attr("d",r===Rn||r===Zn?R?"M"+B*R+","+Gt+"H"+U+"V"+Dt+"H"+B*R:"M"+U+","+Gt+"V"+Dt:R?"M"+Gt+","+B*R+"V"+U+"H"+Dt+"V"+B*R:"M"+Gt+","+U+"H"+Dt),Sr.attr("opacity",1).attr("transform",function(gr){return K(kt(gr)+U)}),sr.attr(H+"2",B*T),Ut.attr(H,B*pt).text(or),Yt.filter(nf).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",r===Zn?"start":r===Rn?"end":"middle"),Yt.each(function(){this.__axis=kt})}return _.scale=function(et){return arguments.length?(o=et,_):o},_.ticks=function(){return l=Array.from(arguments),_},_.tickArguments=function(et){return arguments.length?(l=et==null?[]:Array.from(et),_):l.slice()},_.tickValues=function(et){return arguments.length?(g=et==null?null:Array.from(et),_):g&&g.slice()},_.tickFormat=function(et){return arguments.length?(S=et,_):S},_.tickSize=function(et){return arguments.length?(T=R=+et,_):T},_.tickSizeInner=function(et){return arguments.length?(T=+et,_):T},_.tickSizeOuter=function(et){return arguments.length?(R=+et,_):R},_.tickPadding=function(et){return arguments.length?(D=+et,_):D},_.offset=function(et){return arguments.length?(U=+et,_):U},_}function dl(r){return kn(Qn,r)}function ef(r){return kn(Zn,r)}function hl(r){return kn(Ae,r)}function gl(r){return kn(Rn,r)}function Ca(r){return function(o){return Math.sign(o)*Math.log1p(Math.abs(o/r))}}function Na(r){return function(o){return Math.sign(o)*Math.expm1(Math.abs(o))*r}}function af(r){var o=1,l=r(Ca(o),Na(o));return l.constant=function(g){return arguments.length?r(Ca(o=+g),Na(o)):o},ae(l)}function Ma(){var r=af(jr());return r.copy=function(){return _r(r,Ma()).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"},of=Object.defineProperty,sf=(r,o,l)=>o in r?of(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,ba=(r,o,l)=>sf(r,typeof o!="symbol"?o+"":o,l);class uf{constructor(o){ba(this,"owner"),ba(this,"colorScale"),this.owner=o}drawColorScale(){const{$$:o,config:l}=this.owner,g=o.data.targets[0],S=o.state.height-l.padding_bottom-l.padding_top,T=l.scale_width,R=5,D=Yu(l.padding_bottom,S,R),U=Le(g.colors).domain([D[D.length-1],D[0]]);this.colorScale&&this.colorScale.remove(),this.colorScale=o.$el.svg.append("g").attr("width",50).attr("height",S).attr("class",Xr.colorScale),this.colorScale.append("g").attr("transform",`translate(0, ${l.padding_top})`).selectAll("bars").data(D).enter().append("rect").attr("y",(et,zt)=>zt*R).attr("x",0).attr("width",T).attr("height",R).attr("fill",et=>U(et));const B=Ma().domain([g.minEpochs,g.maxEpochs]).range([D[0]+l.padding_top+D[D.length-1]+R-1,D[0]+l.padding_top]),H=ef(B),K=l.scale_format;K==="pow10"?H.tickValues([1,10,100,1e3,1e4,1e5,1e6,1e7]):Se(K)?H.tickFormat(K):H.tickFormat(bn("d"));const _=this.colorScale.append("g").attr("class","legend axis").attr("transform",`translate(${T},0)`).call(H);K==="pow10"&&_.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 ff(r,o){const l=r.x,g=r.value;let S=!1;for(let T=0,R=o.length-1;T<o.length;R=T++){const D=o[T].x,U=o[T].y,B=o[R].x,H=o[R].y;U>g!=H>g&&l<(B-D)*(g-U)/(H-U)+D&&(S=!S)}return S}function lf(r,o){return r.epochs<o.epochs?-1:r.epochs>o.epochs?1:0}function cf(r){let o=0,l,g;for(let S=0,T=r.length,R=T-1;S<T;R=S,S++)l=r[S],g=r[R],o+=l.x*g.y,o-=l.y*g.x;return o/=2,o}function qn(r){const o=cf(r);let l=0,g=0,S;for(let T=0,R=r.length,D=R-1;T<R;D=T,T++){const U=r[T],B=r[D];S=U.x*B.y-B.x*U.y,l+=(U.x+B.x)*S,g+=(U.y+B.y)*S}return S=o*6,{x:l/S,y:g/S}}var vf=Object.defineProperty,df=(r,o,l)=>o in r?vf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,hf=(r,o,l)=>df(r,typeof o!="symbol"?o+"":o,l);class gf{constructor(o){hf(this,"owner"),this.owner=o;const l=o.$$.$el.main.select(".bb-chart").append("g").attr("class",Xr.stanfordElements);l.append("g").attr("class",Xr.stanfordLines),l.append("g").attr("class",Xr.stanfordRegions)}updateStanfordLines(o){const{$$:l}=this.owner,{config:g,$el:{main:S}}=l,T=g.axis_rotated,R=this.xvCustom.bind(l),D=this.yvCustom.bind(l),U=S.select(`.${Xr.stanfordLines}`).style("shape-rendering","geometricprecision").selectAll(`.${Xr.stanfordLine}`).data(this.owner.config.lines);U.exit().transition().duration(o).style("opacity","0").remove();const B=U.enter().append("g");B.append("line").style("opacity","0"),B.merge(U).attr("class",H=>Xr.stanfordLine+(H.class?` ${H.class}`:"")).select("line").transition().duration(o).attr("x1",H=>T?D(H,"y1"):R(H,"x1")).attr("x2",H=>T?D(H,"y2"):R(H,"x2")).attr("y1",H=>T?R(H,"x1"):D(H,"y1")).attr("y2",H=>T?R(H,"x2"):D(H,"y2")).transition().style("opacity",null)}updateStanfordRegions(o){const{$$:l}=this.owner,{config:g,$el:{main:S}}=l,T=g.axis_rotated,R=this.xvCustom.bind(l),D=this.yvCustom.bind(l),U=this.owner.countEpochsInRegion.bind(l);let B=S.select(`.${Xr.stanfordRegions}`).selectAll(`.${Xr.stanfordRegion}`).data(this.owner.config.regions);B.exit().transition().duration(o).style("opacity","0").remove();const H=B.enter().append("g");H.append("polygon").style("opacity","0"),H.append("text").attr("transform",T?"rotate(-90)":"").style("opacity","0"),B=H.merge(B),B.attr("class",K=>Xr.stanfordRegion+(K.class?` ${K.class}`:"")).select("polygon").transition().duration(o).attr("points",K=>K.points.map(_=>[T?D(_,"y"):R(_,"x"),T?R(_,"x"):D(_,"y")].join(",")).join(" ")).transition().style("opacity",K=>String(K.opacity?K.opacity:.2)),B.select("text").transition().duration(o).attr("x",K=>T?D(qn(K.points),"y"):R(qn(K.points),"x")).attr("y",K=>T?R(qn(K.points),"x"):D(qn(K.points),"y")).text(K=>{if(K.text){const{value:_,percentage:et}=U(K.points);return K.text(_,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,l){const g=this,{axis:S,config:T}=g;let R=l?o[l]:g.getBaseValue(o);return S.isTimeSeries()?R=Ku.call(g,R):S.isCategorized()&&On(R)&&(R=T.axis_x_categories.indexOf(o.value)),g.scale.x(R)}yvCustom(o,l){const g=this,S=o.axis&&o.axis==="y2"?g.scale.y2:g.scale.y,T=l?o[l]:g.getBaseValue(o);return S(T)}}class Da{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 pf=Object.defineProperty,yf=(r,o,l)=>o in r?pf(r,o,{enumerable:!0,configurable:!0,writable:!0,value:l}):r[o]=l,Pe=(r,o,l)=>yf(r,typeof o!="symbol"?o+"":o,l);class mf extends Aa{constructor(o){return super(o),Pe(this,"config"),Pe(this,"colorScale"),Pe(this,"elements"),this.config=new Da,this}$beforeInit(){const{$$:o}=this;o.config.data_xSort=!1,o.isMultipleX=()=>!0,o.showGridFocus=()=>{},o.labelishData=g=>g.values,o.opacityForCircle=()=>1;const l=o.getCurrentPadding.bind(o);o.getCurrentPadding=()=>{const g=l();return g.right+=this.colorScale?this.colorScale.getColorScalePadding():0,g}}$init(){const{$$:o}=this;Ju.call(this,this.options),o.color=this.getStanfordPointColor.bind(o),this.colorScale=new uf(this),this.elements=new gf(this),this.convertData(),this.initStanfordData(),this.setStanfordTooltip(),this.colorScale.drawColorScale(),o.right+=this.colorScale?this.colorScale.getColorScalePadding():0,this.$redraw()}$redraw(o){var l,g;(l=this.colorScale)==null||l.drawColorScale(),(g=this.elements)==null||g.updateStanfordElements(o)}getOptions(){return new Da}convertData(){const o=this.$$.data.targets,l=this.options.epochs;o.forEach(g=>{g.values.forEach((S,T)=>{S.epochs=l[T]}),g.minEpochs=void 0,g.maxEpochs=void 0,g.colors=void 0,g.colorscale=void 0})}initStanfordData(){const{config:o}=this,l=this.$$.data.targets[0];l.values.sort(lf);const g=l.values.map(S=>S.epochs);l.minEpochs=isNaN(o.scale_min)?Math.min(...g):o.scale_min,l.maxEpochs=isNaN(o.scale_max)?Math.max(...g):o.scale_max,l.colors=Se(o.colors)?o.colors:Bt(rt(250,1,.5),rt(0,1,.5)),l.colorscale=Ue(l.colors).domain([l.minEpochs,l.maxEpochs])}getStanfordPointColor(o){return this.data.targets[0].colorscale(o.epochs)}setStanfordTooltip(){const{config:o}=this.$$;Oa(o.tooltip_contents)&&(o.tooltip_contents=function(l,g,S,T){const{data_x:R}=o;let D=`<table class="${oe.tooltip}"><tbody>`;return l.forEach(U=>{const{id:B="",value:H=0,epochs:K=0,x:_=""}=U;D+=`<tr>
14
14
  <th>${R||""}</th>
15
15
  <th class="value">${g(_)}</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.15.0-next.2
8
+ * @version 3.15.0
9
9
  * @requires billboard.js
10
10
  * @summary billboard.js plugin
11
11
  */
@@ -23824,7 +23824,7 @@ class Plugin {
23824
23824
  });
23825
23825
  }
23826
23826
  }
23827
- __publicField(Plugin, "version", "3.15.0-next.2");
23827
+ __publicField(Plugin, "version", "3.15.0");
23828
23828
 
23829
23829
  ;// ./src/Plugin/tableview/const.ts
23830
23830