vue-chrts 0.0.21 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/AreaChartData.d.ts +27 -0
- package/dist/data/BarChartData.d.ts +8 -0
- package/dist/data/IncomeExpenseData.d.ts +23 -0
- package/dist/data/InvestmentData.d.ts +9 -0
- package/dist/data/RevenueData.d.ts +11 -0
- package/dist/data/VisitorsData.d.ts +5 -0
- package/dist/index.umd.cjs +1 -1
- package/package.json +6 -8
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
+
|
|
3
|
+
export declare const categories1: Record<string, BulletLegendItemInterface>;
|
|
4
|
+
export declare const categories2: Record<string, BulletLegendItemInterface>;
|
|
5
|
+
export declare const categories3: Record<string, BulletLegendItemInterface>;
|
|
6
|
+
export declare const categories4: Record<string, BulletLegendItemInterface>;
|
|
7
|
+
export declare const categories5: Record<string, BulletLegendItemInterface>;
|
|
8
|
+
export interface AreaChartItem1 {
|
|
9
|
+
date: string;
|
|
10
|
+
desktop: number;
|
|
11
|
+
mobile: number;
|
|
12
|
+
}
|
|
13
|
+
export declare const AreaChartData1: AreaChartItem1[];
|
|
14
|
+
export interface AreaChartItem2 {
|
|
15
|
+
hour: string;
|
|
16
|
+
temperature: number;
|
|
17
|
+
}
|
|
18
|
+
export declare const AreaChartData2: AreaChartItem2[];
|
|
19
|
+
export declare const AreaChartData3: {
|
|
20
|
+
time: string;
|
|
21
|
+
returning: number;
|
|
22
|
+
firstTime: number;
|
|
23
|
+
}[];
|
|
24
|
+
export declare const AreaChartData4: {
|
|
25
|
+
month: string;
|
|
26
|
+
desktop: number;
|
|
27
|
+
}[];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
+
|
|
3
|
+
export interface IncomeExpenseItem {
|
|
4
|
+
month: string;
|
|
5
|
+
year: number;
|
|
6
|
+
income: {
|
|
7
|
+
salary: number;
|
|
8
|
+
sideHustle: number;
|
|
9
|
+
total: number;
|
|
10
|
+
};
|
|
11
|
+
expenses: {
|
|
12
|
+
rent: number;
|
|
13
|
+
groceries: number;
|
|
14
|
+
utilities: number;
|
|
15
|
+
transportation: number;
|
|
16
|
+
entertainment: number;
|
|
17
|
+
eatingOut: number;
|
|
18
|
+
other: number;
|
|
19
|
+
total: number;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare const categories: Record<string, BulletLegendItemInterface>;
|
|
23
|
+
export declare const IncomeExpenseData: IncomeExpenseItem[];
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
+
|
|
3
|
+
export declare const categories: Record<string, BulletLegendItemInterface>;
|
|
4
|
+
export declare const InvestmentData: {
|
|
5
|
+
date: string;
|
|
6
|
+
'ETF Shares Vital': number;
|
|
7
|
+
'Vitainvest Core': number;
|
|
8
|
+
'iShares Tech Growth': number;
|
|
9
|
+
}[];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BulletLegendItemInterface } from '@unovis/ts';
|
|
2
|
+
|
|
3
|
+
export declare const categories: Record<string, BulletLegendItemInterface>;
|
|
4
|
+
export declare const RevenueData: {
|
|
5
|
+
date: string;
|
|
6
|
+
value: number;
|
|
7
|
+
}[];
|
|
8
|
+
export declare const RevenueDataSmall: {
|
|
9
|
+
date: string;
|
|
10
|
+
value: number;
|
|
11
|
+
}[];
|
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(K,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],d):(K=typeof globalThis<"u"?globalThis:K||self,d(K["vue-chrts"]={},K.Vue))})(this,function(K,d){"use strict";var Wi="http://www.w3.org/1999/xhtml";const Oo={svg:"http://www.w3.org/2000/svg",xhtml:Wi,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Sn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Oo.hasOwnProperty(e)?{space:Oo[e],local:t}:t}function $c(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Wi&&e.documentElement.namespaceURI===Wi?e.createElement(t):e.createElementNS(n,t)}}function Ec(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Ro(t){var e=Sn(t);return(e.local?Ec:$c)(e)}function Nc(){}function Ui(t){return t==null?Nc:function(){return this.querySelector(t)}}function Dc(t){typeof t!="function"&&(t=Ui(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=new Array(s),l,c,h=0;h<s;++h)(l=o[h])&&(c=t.call(l,l.__data__,h,o))&&("__data__"in l&&(c.__data__=l.__data__),a[h]=c);return new vt(i,this._parents)}function Oc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Rc(){return[]}function Lo(t){return t==null?Rc:function(){return this.querySelectorAll(t)}}function Lc(t){return function(){return Oc(t.apply(this,arguments))}}function Bc(t){typeof t=="function"?t=Lc(t):t=Lo(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var s=e[o],a=s.length,l,c=0;c<a;++c)(l=s[c])&&(i.push(t.call(l,l.__data__,c,s)),r.push(l));return new vt(i,r)}function Bo(t){return function(){return this.matches(t)}}function Fo(t){return function(e){return e.matches(t)}}var Fc=Array.prototype.find;function Pc(t){return function(){return Fc.call(this.children,t)}}function zc(){return this.firstElementChild}function Ic(t){return this.select(t==null?zc:Pc(typeof t=="function"?t:Fo(t)))}var Vc=Array.prototype.filter;function Hc(){return Array.from(this.children)}function Wc(t){return function(){return Vc.call(this.children,t)}}function Uc(t){return this.selectAll(t==null?Hc:Wc(typeof t=="function"?t:Fo(t)))}function Yc(t){typeof t!="function"&&(t=Bo(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=[],l,c=0;c<s;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&a.push(l);return new vt(i,this._parents)}function Po(t){return new Array(t.length)}function Xc(){return new vt(this._enter||this._groups.map(Po),this._parents)}function Tn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Tn.prototype={constructor:Tn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function Gc(t){return function(){return t}}function qc(t,e,n,i,r,o){for(var s=0,a,l=e.length,c=o.length;s<c;++s)(a=e[s])?(a.__data__=o[s],i[s]=a):n[s]=new Tn(t,o[s]);for(;s<l;++s)(a=e[s])&&(r[s]=a)}function jc(t,e,n,i,r,o,s){var a,l,c=new Map,h=e.length,u=o.length,f=new Array(h),p;for(a=0;a<h;++a)(l=e[a])&&(f[a]=p=s.call(l,l.__data__,a,e)+"",c.has(p)?r[a]=l:c.set(p,l));for(a=0;a<u;++a)p=s.call(t,o[a],a,o)+"",(l=c.get(p))?(i[a]=l,l.__data__=o[a],c.delete(p)):n[a]=new Tn(t,o[a]);for(a=0;a<h;++a)(l=e[a])&&c.get(f[a])===l&&(r[a]=l)}function Zc(t){return t.__data__}function Qc(t,e){if(!arguments.length)return Array.from(this,Zc);var n=e?jc:qc,i=this._parents,r=this._groups;typeof t!="function"&&(t=Gc(t));for(var o=r.length,s=new Array(o),a=new Array(o),l=new Array(o),c=0;c<o;++c){var h=i[c],u=r[c],f=u.length,p=Jc(t.call(h,h&&h.__data__,c,i)),m=p.length,g=a[c]=new Array(m),_=s[c]=new Array(m),y=l[c]=new Array(f);n(h,u,g,_,y,p,e);for(var x=0,v=0,w,k;x<m;++x)if(w=g[x]){for(x>=v&&(v=x+1);!(k=_[v])&&++v<m;);w._next=k||null}}return s=new vt(s,i),s._enter=a,s._exit=l,s}function Jc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Kc(){return new vt(this._exit||this._groups.map(Po),this._parents)}function tu(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function eu(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,s=Math.min(r,o),a=new Array(r),l=0;l<s;++l)for(var c=n[l],h=i[l],u=c.length,f=a[l]=new Array(u),p,m=0;m<u;++m)(p=c[m]||h[m])&&(f[m]=p);for(;l<r;++l)a[l]=n[l];return new vt(a,this._parents)}function nu(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],s;--r>=0;)(s=i[r])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function iu(t){t||(t=ru);function e(u,f){return u&&f?t(u.__data__,f.__data__):!u-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var s=n[o],a=s.length,l=r[o]=new Array(a),c,h=0;h<a;++h)(c=s[h])&&(l[h]=c);l.sort(e)}return new vt(r,this._parents).order()}function ru(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function ou(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function su(){return Array.from(this)}function au(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var s=i[r];if(s)return s}return null}function lu(){let t=0;for(const e of this)++t;return t}function cu(){return!this.node()}function uu(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,s=r.length,a;o<s;++o)(a=r[o])&&t.call(a,a.__data__,o,r);return this}function hu(t){return function(){this.removeAttribute(t)}}function fu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function du(t,e){return function(){this.setAttribute(t,e)}}function pu(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function gu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function mu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function _u(t,e){var n=Sn(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?fu:hu:typeof e=="function"?n.local?mu:gu:n.local?pu:du)(n,e))}function zo(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function vu(t){return function(){this.style.removeProperty(t)}}function yu(t,e,n){return function(){this.style.setProperty(t,e,n)}}function xu(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function bu(t,e,n){return arguments.length>1?this.each((e==null?vu:typeof e=="function"?xu:yu)(t,e,n??"")):Me(this.node(),t)}function Me(t,e){return t.style.getPropertyValue(e)||zo(t).getComputedStyle(t,null).getPropertyValue(e)}function wu(t){return function(){delete this[t]}}function ku(t,e){return function(){this[t]=e}}function Su(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Tu(t,e){return arguments.length>1?this.each((e==null?wu:typeof e=="function"?Su:ku)(t,e)):this.node()[t]}function Io(t){return t.trim().split(/^|\s+/)}function Yi(t){return t.classList||new Vo(t)}function Vo(t){this._node=t,this._names=Io(t.getAttribute("class")||"")}Vo.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Ho(t,e){for(var n=Yi(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function Wo(t,e){for(var n=Yi(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function Cu(t){return function(){Ho(this,t)}}function Au(t){return function(){Wo(this,t)}}function Mu(t,e){return function(){(e.apply(this,arguments)?Ho:Wo)(this,t)}}function $u(t,e){var n=Io(t+"");if(arguments.length<2){for(var i=Yi(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?Mu:e?Cu:Au)(n,e))}function Eu(){this.textContent=""}function Nu(t){return function(){this.textContent=t}}function Du(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function Ou(t){return arguments.length?this.each(t==null?Eu:(typeof t=="function"?Du:Nu)(t)):this.node().textContent}function Ru(){this.innerHTML=""}function Lu(t){return function(){this.innerHTML=t}}function Bu(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Fu(t){return arguments.length?this.each(t==null?Ru:(typeof t=="function"?Bu:Lu)(t)):this.node().innerHTML}function Pu(){this.nextSibling&&this.parentNode.appendChild(this)}function zu(){return this.each(Pu)}function Iu(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Vu(){return this.each(Iu)}function Hu(t){var e=typeof t=="function"?t:Ro(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function Wu(){return null}function Uu(t,e){var n=typeof t=="function"?t:Ro(t),i=e==null?Wu:typeof e=="function"?e:Ui(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function Yu(){var t=this.parentNode;t&&t.removeChild(this)}function Xu(){return this.each(Yu)}function Gu(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function qu(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ju(t){return this.select(t?qu:Gu)}function Zu(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Qu(t){return function(e){t.call(this,e,this.__data__)}}function Ju(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function Ku(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function th(t,e,n){return function(){var i=this.__on,r,o=Qu(e);if(i){for(var s=0,a=i.length;s<a;++s)if((r=i[s]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function eh(t,e,n){var i=Ju(t+""),r,o=i.length,s;if(arguments.length<2){var a=this.node().__on;if(a){for(var l=0,c=a.length,h;l<c;++l)for(r=0,h=a[l];r<o;++r)if((s=i[r]).type===h.type&&s.name===h.name)return h.value}return}for(a=e?th:Ku,r=0;r<o;++r)this.each(a(i[r],e,n));return this}function Uo(t,e,n){var i=zo(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function nh(t,e){return function(){return Uo(this,t,e)}}function ih(t,e){return function(){return Uo(this,t,e.apply(this,arguments))}}function rh(t,e){return this.each((typeof e=="function"?ih:nh)(t,e))}function*oh(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,s;r<o;++r)(s=i[r])&&(yield s)}var Yo=[null];function vt(t,e){this._groups=t,this._parents=e}function Ye(){return new vt([[document.documentElement]],Yo)}function sh(){return this}vt.prototype=Ye.prototype={constructor:vt,select:Dc,selectAll:Bc,selectChild:Ic,selectChildren:Uc,filter:Yc,data:Qc,enter:Xc,exit:Kc,join:tu,merge:eu,selection:sh,order:nu,sort:iu,call:ou,nodes:su,node:au,size:lu,empty:cu,each:uu,attr:_u,style:bu,property:Tu,classed:$u,text:Ou,html:Fu,raise:zu,lower:Vu,append:Hu,insert:Uu,remove:Xu,clone:ju,datum:Zu,on:eh,dispatch:rh,[Symbol.iterator]:oh};function at(t){return typeof t=="string"?new vt([[document.querySelector(t)]],[document.documentElement]):new vt([[t]],Yo)}function ah(t){let e;for(;e=t.sourceEvent;)t=e;return t}function Cn(t,e){if(t=ah(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=t.clientX,i.y=t.clientY,i=i.matrixTransform(e.getScreenCTM().inverse()),[i.x,i.y]}if(e.getBoundingClientRect){var r=e.getBoundingClientRect();return[t.clientX-r.left-e.clientLeft,t.clientY-r.top-e.clientTop]}}return[t.pageX,t.pageY]}var Xe;(function(t){t[t.SVG=0]="SVG",t[t.HTML=1]="HTML"})(Xe||(Xe={}));var Ht;(function(t){t.Fit="fit",t.Extend="extend",t.FitWidth="fit_width"})(Ht||(Ht={}));function Ge(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function lh(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function An(t){let e,n,i;t.length!==2?(e=Ge,n=(a,l)=>Ge(t(a),l),i=(a,l)=>t(a)-l):(e=t===Ge||t===lh?t:ch,n=t,i=t);function r(a,l,c=0,h=a.length){if(c<h){if(e(l,l)!==0)return h;do{const u=c+h>>>1;n(a[u],l)<0?c=u+1:h=u}while(c<h)}return c}function o(a,l,c=0,h=a.length){if(c<h){if(e(l,l)!==0)return h;do{const u=c+h>>>1;n(a[u],l)<=0?c=u+1:h=u}while(c<h)}return c}function s(a,l,c=0,h=a.length){const u=r(a,l,c,h-1);return u>c&&i(a[u-1],l)>-i(a[u],l)?u-1:u}return{left:r,center:s,right:o}}function ch(){return 0}function Xo(t){return t===null?NaN:+t}const Mn=An(Ge).right;An(Xo).center;function uh(t,e){let n,i;for(const r of t)r!=null&&(n===void 0?r>=r&&(n=i=r):(n>r&&(n=r),i<r&&(i=r)));return[n,i]}class Go extends Map{constructor(e,n=dh){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[i,r]of e)this.set(i,r)}get(e){return super.get(qo(this,e))}has(e){return super.has(qo(this,e))}set(e,n){return super.set(hh(this,e),n)}delete(e){return super.delete(fh(this,e))}}function qo({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):n}function hh({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):(t.set(i,n),n)}function fh({_intern:t,_key:e},n){const i=e(n);return t.has(i)&&(n=t.get(i),t.delete(i)),n}function dh(t){return t!==null&&typeof t=="object"?t.valueOf():t}const ph=Math.sqrt(50),gh=Math.sqrt(10),mh=Math.sqrt(2);function $n(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),s=o>=ph?10:o>=gh?5:o>=mh?2:1;let a,l,c;return r<0?(c=Math.pow(10,-r)/s,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,r)*s,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?$n(t,e,n*2):[a,l,c]}function Xi(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,s]=i?$n(e,t,n):$n(t,e,n);if(!(o>=r))return[];const a=o-r+1,l=new Array(a);if(i)if(s<0)for(let c=0;c<a;++c)l[c]=(o-c)/-s;else for(let c=0;c<a;++c)l[c]=(o-c)*s;else if(s<0)for(let c=0;c<a;++c)l[c]=(r+c)/-s;else for(let c=0;c<a;++c)l[c]=(r+c)*s;return l}function Gi(t,e,n){return e=+e,t=+t,n=+n,$n(t,e,n)[2]}function qi(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?Gi(e,t,n):Gi(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}function ji(t,e){let n;if(e===void 0)for(const i of t)i!=null&&(n<i||n===void 0&&i>=i)&&(n=i);else{let i=-1;for(let r of t)(r=e(r,++i,t))!=null&&(n<r||n===void 0&&r>=r)&&(n=r)}return n}function qe(t,e){let n;if(e===void 0)for(const i of t)i!=null&&(n>i||n===void 0&&i>=i)&&(n=i);else{let i=-1;for(let r of t)(r=e(r,++i,t))!=null&&(n>r||n===void 0&&r>=r)&&(n=r)}return n}function _h(t,e,n=Xo){if(!(!(i=t.length)||isNaN(e=+e))){if(e<=0||i<2)return+n(t[0],0,t);if(e>=1)return+n(t[i-1],i-1,t);var i,r=(i-1)*e,o=Math.floor(r),s=+n(t[o],o,t),a=+n(t[o+1],o+1,t);return s+(a-s)*(r-o)}}function vh(t,e){let n=0,i=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&(++n,i+=r);else{let r=-1;for(let o of t)(o=e(o,++r,t))!=null&&(o=+o)>=o&&(++n,i+=o)}if(n)return i/n}function*yh(t){for(const e of t)yield*e}function xh(t){return Array.from(yh(t))}function jo(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(r);++i<r;)o[i]=t+i*n;return o}function bh(t,e){let n=0;if(e===void 0)for(let i of t)(i=+i)&&(n+=i);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}function wh(t,e,n){var i={},r=i.noTrailing,o=r===void 0?!1:r,s=i.noLeading,a=s===void 0?!1:s,l=i.debounceMode,c=l===void 0?void 0:l,h,u=!1,f=0;function p(){h&&clearTimeout(h)}function m(_){var y=_||{},x=y.upcomingOnly,v=x===void 0?!1:x;p(),u=!v}function g(){for(var _=arguments.length,y=new Array(_),x=0;x<_;x++)y[x]=arguments[x];var v=this,w=Date.now()-f;if(u)return;function k(){f=Date.now(),e.apply(v,y)}function b(){h=void 0}!a&&c&&!h&&k(),p(),c===void 0&&w>t?a?(f=Date.now(),o||(h=setTimeout(c?b:k,t))):k():o!==!0&&(h=setTimeout(c?b:k,c===void 0?t-w:t))}return g.cancel=m,g}const yt=t=>typeof t=="number",Zi=t=>typeof t=="function",Wt=t=>Array.isArray(t),kh=t=>t instanceof Object,En=t=>t.constructor.name!=="Function"&&t.constructor.name!=="Object",Zo=t=>kh(t)&&!Wt(t)&&!Zi(t)&&!En(t),Sh=t=>[Object,Array].includes((t||{}).constructor)&&!Object.entries(t||{}).length,je=(t,e,n=[],i=new Set)=>{if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;if(i.has(t))return!0;i.add(t);for(let r=0;r<t.length;r++)if(!je(t[r],e[r],n,i))return!1;return!0}if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(typeof t=="object"&&t!==null&&e!==null){if(typeof e!="object")return!1;if(t===e)return!0;const r=Object.keys(t).filter(s=>!n.includes(s)),o=Object.keys(e).filter(s=>!n.includes(s));if(r.length!==o.length)return!1;if(i.has(t))return!0;i.add(t);for(const s of r)if(!je(t[s],e[s],n,i))return!1;return!0}return t===e},Qi=t=>t.flat(),Nn=(t,e=new Map)=>{if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof Array){const n=[];e.set(t,n);for(const i of t)n.push(e.has(i)?e.get(i):Nn(i,e));return n}if(En(t))return t;if(t instanceof Object){const n={};e.set(t,n);const i=t;return Object.keys(t).reduce((r,o)=>(r[o]=e.has(i[o])?e.get(i[o]):Nn(i[o],e),r),n),n}return t},he=(t,e,n=new Map)=>{if(!t||!e||t===e)return t;const i=En(t)?t:Nn(t);return n.has(e)?n.get(e):(n.set(e,i),Object.keys(e).forEach(r=>{r==="__proto__"||r==="constructor"||(Zo(t[r])&&Zo(e[r])?i[r]=he(t[r],e[r],n):En(e)?i[r]=e:i[r]=Nn(e[r]))}),i)},Th=(t,e)=>(t=Object.assign({},t),e.forEach(n=>delete t[n]),t),Dn=(t,e,n)=>wh(e,t);function Ji(t,e,n){return Zi(e)?e(t,n):e}function $e(t,e,n){return Ji(t,e,n)}function Y(t,e,n){return Ji(t,e,n)}function Ze(t){return t.filter(e=>e&&!yt(e))}function Ot(t,e,n){return Math.min(Math.max(t,e),n)}function Ch(t,...e){if(!t)return[void 0,void 0];if(Wt(e)){let n=0,i=0;return t.forEach((r,o)=>{let s=0,a=0;for(const l of e){const c=Y(r,l,o)||0;c>=0?s+=c:a+=c}s>i&&(i=s),a<n&&(n=a)}),[n,i]}}function Ah(t,e,...n){const i=[];let r=0,o=0;for(const s of n){const a=Y(t,s,e)||0;a>=0?i.push(r+=a):i.push(o+=a)}return i}function Mh(t,e,n,i){const r=t.map((a,l)=>Y(a,e,l)||0),o=n.map((a,l)=>{const c=vh(t,(h,u)=>Y(h,a,u)||0);return c===0&&Array.isArray(i)?i[l]:c<0}),s=n.map(()=>[]);return t.forEach((a,l)=>{let c=r[l],h=r[l];n.forEach((u,f)=>{const p=Y(a,u,l)||0;p>=0?s[f].push([c,c+=p]):s[f].push([h,h+=p])})}),s.forEach((a,l)=>{a.isMostlyNegative=o[l]}),s}function Qo(t,...e){return t?qe(t,(i,r)=>qe(e,o=>Y(i,o,r))):void 0}function Jo(t,...e){return t?ji(t,(i,r)=>ji(e,o=>Y(i,o,r))):void 0}function On(t,...e){return[Qo(t,...e),Jo(t,...e)]}function $h(t,e,n){if(t.length<=1)return t[0];const i=t.map((s,a)=>Y(s,n,a));i.sort((s,a)=>s-a);const r=An(s=>s).left,o=r(i,e,1,t.length-1);return e-i[o-1]>i[o]-e?t[o]:t[o-1]}function Ko(t,e,n){return t.filter((r,o)=>{const s=Y(r,n,o);return s>=e[0]&&s<=e[1]})}var fe=[],Eh=function(){return fe.some(function(t){return t.activeTargets.length>0})},Nh=function(){return fe.some(function(t){return t.skippedTargets.length>0})},ts="ResizeObserver loop completed with undelivered notifications.",Dh=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:ts}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=ts),window.dispatchEvent(t)},Qe;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Qe||(Qe={}));var de=function(t){return Object.freeze(t)},Oh=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,de(this)}return t}(),es=function(){function t(e,n,i,r){return this.x=e,this.y=n,this.width=i,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,de(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,i=e.y,r=e.top,o=e.right,s=e.bottom,a=e.left,l=e.width,c=e.height;return{x:n,y:i,top:r,right:o,bottom:s,left:a,width:l,height:c}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Ki=function(t){return t instanceof SVGElement&&"getBBox"in t},ns=function(t){if(Ki(t)){var e=t.getBBox(),n=e.width,i=e.height;return!n&&!i}var r=t,o=r.offsetWidth,s=r.offsetHeight;return!(o||s||t.getClientRects().length)},is=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Rh=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Je=typeof window<"u"?window:{},Rn=new WeakMap,rs=/auto|scroll/,Lh=/^tb|vertical/,Bh=/msie|trident/i.test(Je.navigator&&Je.navigator.userAgent),Rt=function(t){return parseFloat(t||"0")},Ee=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Oh((n?e:t)||0,(n?t:e)||0)},os=de({devicePixelContentBoxSize:Ee(),borderBoxSize:Ee(),contentBoxSize:Ee(),contentRect:new es(0,0,0,0)}),ss=function(t,e){if(e===void 0&&(e=!1),Rn.has(t)&&!e)return Rn.get(t);if(ns(t))return Rn.set(t,os),os;var n=getComputedStyle(t),i=Ki(t)&&t.ownerSVGElement&&t.getBBox(),r=!Bh&&n.boxSizing==="border-box",o=Lh.test(n.writingMode||""),s=!i&&rs.test(n.overflowY||""),a=!i&&rs.test(n.overflowX||""),l=i?0:Rt(n.paddingTop),c=i?0:Rt(n.paddingRight),h=i?0:Rt(n.paddingBottom),u=i?0:Rt(n.paddingLeft),f=i?0:Rt(n.borderTopWidth),p=i?0:Rt(n.borderRightWidth),m=i?0:Rt(n.borderBottomWidth),g=i?0:Rt(n.borderLeftWidth),_=u+c,y=l+h,x=g+p,v=f+m,w=a?t.offsetHeight-v-t.clientHeight:0,k=s?t.offsetWidth-x-t.clientWidth:0,b=r?_+x:0,T=r?y+v:0,R=i?i.width:Rt(n.width)-b-k,E=i?i.height:Rt(n.height)-T-w,W=R+_+k+x,$=E+y+w+v,F=de({devicePixelContentBoxSize:Ee(Math.round(R*devicePixelRatio),Math.round(E*devicePixelRatio),o),borderBoxSize:Ee(W,$,o),contentBoxSize:Ee(R,E,o),contentRect:new es(u,l,R,E)});return Rn.set(t,F),F},as=function(t,e,n){var i=ss(t,n),r=i.borderBoxSize,o=i.contentBoxSize,s=i.devicePixelContentBoxSize;switch(e){case Qe.DEVICE_PIXEL_CONTENT_BOX:return s;case Qe.BORDER_BOX:return r;default:return o}},Fh=function(){function t(e){var n=ss(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=de([n.borderBoxSize]),this.contentBoxSize=de([n.contentBoxSize]),this.devicePixelContentBoxSize=de([n.devicePixelContentBoxSize])}return t}(),ls=function(t){if(ns(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Ph=function(){var t=1/0,e=[];fe.forEach(function(s){if(s.activeTargets.length!==0){var a=[];s.activeTargets.forEach(function(c){var h=new Fh(c.target),u=ls(c.target);a.push(h),c.lastReportedSize=as(c.target,c.observedBox),u<t&&(t=u)}),e.push(function(){s.callback.call(s.observer,a,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var n=0,i=e;n<i.length;n++){var r=i[n];r()}return t},cs=function(t){fe.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(r){r.isActive()&&(ls(r.target)>t?n.activeTargets.push(r):n.skippedTargets.push(r))})})},zh=function(){var t=0;for(cs(t);Eh();)t=Ph(),cs(t);return Nh()&&Dh(),t>0},tr,us=[],Ih=function(){return us.splice(0).forEach(function(t){return t()})},Vh=function(t){if(!tr){var e=0,n=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return Ih()}).observe(n,i),tr=function(){n.textContent="".concat(e?e--:e++)}}us.push(t),tr()},Hh=function(t){Vh(function(){requestAnimationFrame(t)})},Ln=0,Wh=function(){return!!Ln},Uh=250,Yh={attributes:!0,characterData:!0,childList:!0,subtree:!0},hs=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],fs=function(t){return t===void 0&&(t=0),Date.now()+t},er=!1,Xh=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=Uh),!er){er=!0;var i=fs(e);Hh(function(){var r=!1;try{r=zh()}finally{if(er=!1,e=i-fs(),!Wh())return;r?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Yh)};document.body?n():Je.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),hs.forEach(function(n){return Je.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),hs.forEach(function(n){return Je.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),nr=new Xh,ds=function(t){!Ln&&t>0&&nr.start(),Ln+=t,!Ln&&nr.stop()},Gh=function(t){return!Ki(t)&&!Rh(t)&&getComputedStyle(t).display==="inline"},qh=function(){function t(e,n){this.target=e,this.observedBox=n||Qe.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=as(this.target,this.observedBox,!0);return Gh(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),jh=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Bn=new WeakMap,ps=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Fn=function(){function t(){}return t.connect=function(e,n){var i=new jh(e,n);Bn.set(e,i)},t.observe=function(e,n,i){var r=Bn.get(e),o=r.observationTargets.length===0;ps(r.observationTargets,n)<0&&(o&&fe.push(r),r.observationTargets.push(new qh(n,i&&i.box)),ds(1),nr.schedule())},t.unobserve=function(e,n){var i=Bn.get(e),r=ps(i.observationTargets,n),o=i.observationTargets.length===1;r>=0&&(o&&fe.splice(fe.indexOf(i),1),i.observationTargets.splice(r,1),ds(-1))},t.disconnect=function(e){var n=this,i=Bn.get(e);i.observationTargets.slice().forEach(function(r){return n.unobserve(e,r.target)}),i.activeTargets.splice(0,i.activeTargets.length)},t}(),Zh=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Fn.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!is(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Fn.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!is(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Fn.unobserve(this,e)},t.prototype.disconnect=function(){Fn.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();const Qh=globalThis.ResizeObserver||Zh,ir={duration:void 0,margin:{top:0,bottom:0,left:0,right:0},padding:{top:0,bottom:0,left:0,right:0},sizing:Ht.Fit,width:void 0,height:void 0,svgDefs:void 0,ariaLabel:void 0};class Ne{constructor(e){this._defaultConfig=ir,this._isFirstRender=!0,this._renderAnimationFrameId=null,this._container=e;const n=at(this._container);n.attr("role","figure"),this.svg=n.append("svg").style("display","block").attr("xmlns","http://www.w3.org/2000/svg").attr("height",Ne.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden",!0),this._svgDefs=this.svg.append("defs"),this._svgDefsExternal=this.svg.append("defs"),this.element=this.svg.node()}updateContainer(e){var n;this.prevConfig=this.config,this.config=he(this._defaultConfig,e),(e==null?void 0:e.svgDefs)!==((n=this.prevConfig)===null||n===void 0?void 0:n.svgDefs)&&(this._svgDefsExternal.selectAll("*").remove(),this._svgDefsExternal.html(e.svgDefs))}_preRender(){}_render(e){const{config:n}=this;at(this._container).attr("aria-label",n.ariaLabel),this._isFirstRender=!1}render(e=this.config.duration){const n=this.config.width||this.containerWidth,i=this.config.height||this.containerHeight;this.svg.attr("width",n).attr("height",i),this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}get containerWidth(){return this.config.width?this.element.clientWidth:this._container.clientWidth||this._container.getBoundingClientRect().width}get containerHeight(){return this.config.height?this.element.clientHeight:this._container.clientHeight||this._container.getBoundingClientRect().height||Ne.DEFAULT_CONTAINER_HEIGHT}get width(){return Ot(this.containerWidth-this.config.margin.left-this.config.margin.right,0,Number.POSITIVE_INFINITY)}get height(){return Ot(this.containerHeight-this.config.margin.top-this.config.margin.bottom,0,Number.POSITIVE_INFINITY)}_removeAllChildren(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild)}_onResize(){const{config:e}=this;(e.sizing===Ht.Fit||e.sizing===Ht.FitWidth)&&this.render(0)}_setUpResizeObserver(){if(this._resizeObserver)return;const e=this._container.getBoundingClientRect();this._containerSize={width:e.width,height:e.height},this._resizeObserver=new Qh((n,i)=>{cancelAnimationFrame(this._resizeObserverAnimationFrameId),this._resizeObserverAnimationFrameId=requestAnimationFrame(()=>{const r=this._container.getBoundingClientRect(),o={width:r.width,height:r.height};!je(this._containerSize,o)&&o.width&&o.height&&(this._containerSize=o,this._onResize())})}),this._resizeObserver.observe(this._container)}destroy(){var e;cancelAnimationFrame(this._renderAnimationFrameId),cancelAnimationFrame(this._resizeObserverAnimationFrameId),(e=this._resizeObserver)===null||e===void 0||e.disconnect(),this.svg.remove()}}Ne.DEFAULT_CONTAINER_HEIGHT=300;function Jh(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Kh(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var tf=function(){function t(n){var i=this;this._insertTag=function(r){var o;i.tags.length===0?i.insertionPoint?o=i.insertionPoint.nextSibling:i.prepend?o=i.container.firstChild:o=i.before:o=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,o),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Kh(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Jh(r);try{o.insertRule(i,o.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},t}(),nt="-ms-",Pn="-moz-",I="-webkit-",gs="comm",rr="rule",or="decl",ef="@import",ms="@keyframes",nf="@layer",rf=Math.abs,zn=String.fromCharCode,of=Object.assign;function sf(t,e){return tt(t,0)^45?(((e<<2^tt(t,0))<<2^tt(t,1))<<2^tt(t,2))<<2^tt(t,3):0}function _s(t){return t.trim()}function af(t,e){return(t=e.exec(t))?t[0]:t}function V(t,e,n){return t.replace(e,n)}function sr(t,e){return t.indexOf(e)}function tt(t,e){return t.charCodeAt(e)|0}function Ke(t,e,n){return t.slice(e,n)}function Lt(t){return t.length}function ar(t){return t.length}function In(t,e){return e.push(t),t}function lf(t,e){return t.map(e).join("")}var Vn=1,De=1,vs=0,ct=0,j=0,Oe="";function Hn(t,e,n,i,r,o,s){return{value:t,root:e,parent:n,type:i,props:r,children:o,line:Vn,column:De,length:s,return:""}}function tn(t,e){return of(Hn("",null,null,"",null,null,0),t,{length:-t.length},e)}function cf(){return j}function uf(){return j=ct>0?tt(Oe,--ct):0,De--,j===10&&(De=1,Vn--),j}function xt(){return j=ct<vs?tt(Oe,ct++):0,De++,j===10&&(De=1,Vn++),j}function Bt(){return tt(Oe,ct)}function Wn(){return ct}function en(t,e){return Ke(Oe,t,e)}function nn(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ys(t){return Vn=De=1,vs=Lt(Oe=t),ct=0,[]}function xs(t){return Oe="",t}function Un(t){return _s(en(ct-1,lr(t===91?t+2:t===40?t+1:t)))}function hf(t){for(;(j=Bt())&&j<33;)xt();return nn(t)>2||nn(j)>3?"":" "}function ff(t,e){for(;--e&&xt()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return en(t,Wn()+(e<6&&Bt()==32&&xt()==32))}function lr(t){for(;xt();)switch(j){case t:return ct;case 34:case 39:t!==34&&t!==39&&lr(j);break;case 40:t===41&&lr(t);break;case 92:xt();break}return ct}function df(t,e){for(;xt()&&t+j!==57;)if(t+j===84&&Bt()===47)break;return"/*"+en(e,ct-1)+"*"+zn(t===47?t:xt())}function pf(t){for(;!nn(Bt());)xt();return en(t,ct)}function gf(t){return xs(Yn("",null,null,null,[""],t=ys(t),0,[0],t))}function Yn(t,e,n,i,r,o,s,a,l){for(var c=0,h=0,u=s,f=0,p=0,m=0,g=1,_=1,y=1,x=0,v="",w=r,k=o,b=i,T=v;_;)switch(m=x,x=xt()){case 40:if(m!=108&&tt(T,u-1)==58){sr(T+=V(Un(x),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:T+=Un(x);break;case 9:case 10:case 13:case 32:T+=hf(m);break;case 92:T+=ff(Wn()-1,7);continue;case 47:switch(Bt()){case 42:case 47:In(mf(df(xt(),Wn()),e,n),l);break;default:T+="/"}break;case 123*g:a[c++]=Lt(T)*y;case 125*g:case 59:case 0:switch(x){case 0:case 125:_=0;case 59+h:y==-1&&(T=V(T,/\f/g,"")),p>0&&Lt(T)-u&&In(p>32?ws(T+";",i,n,u-1):ws(V(T," ","")+";",i,n,u-2),l);break;case 59:T+=";";default:if(In(b=bs(T,e,n,c,h,r,a,v,w=[],k=[],u),o),x===123)if(h===0)Yn(T,e,b,b,w,o,u,a,k);else switch(f===99&&tt(T,3)===110?100:f){case 100:case 108:case 109:case 115:Yn(t,b,b,i&&In(bs(t,b,b,0,0,r,a,v,r,w=[],u),k),r,k,u,a,i?w:k);break;default:Yn(T,b,b,b,[""],k,0,a,k)}}c=h=p=0,g=y=1,v=T="",u=s;break;case 58:u=1+Lt(T),p=m;default:if(g<1){if(x==123)--g;else if(x==125&&g++==0&&uf()==125)continue}switch(T+=zn(x),x*g){case 38:y=h>0?1:(T+="\f",-1);break;case 44:a[c++]=(Lt(T)-1)*y,y=1;break;case 64:Bt()===45&&(T+=Un(xt())),f=Bt(),h=u=Lt(v=T+=pf(Wn())),x++;break;case 45:m===45&&Lt(T)==2&&(g=0)}}return o}function bs(t,e,n,i,r,o,s,a,l,c,h){for(var u=r-1,f=r===0?o:[""],p=ar(f),m=0,g=0,_=0;m<i;++m)for(var y=0,x=Ke(t,u+1,u=rf(g=s[m])),v=t;y<p;++y)(v=_s(g>0?f[y]+" "+x:V(x,/&\f/g,f[y])))&&(l[_++]=v);return Hn(t,e,n,r===0?rr:a,l,c,h)}function mf(t,e,n){return Hn(t,e,n,gs,zn(cf()),Ke(t,2,-2),0)}function ws(t,e,n,i){return Hn(t,e,n,or,Ke(t,0,i),Ke(t,i+1,-1),i)}function Re(t,e){for(var n="",i=ar(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function _f(t,e,n,i){switch(t.type){case nf:if(t.children.length)break;case ef:case or:return t.return=t.return||t.value;case gs:return"";case ms:return t.return=t.value+"{"+Re(t.children,i)+"}";case rr:t.value=t.props.join(",")}return Lt(n=Re(t.children,i))?t.return=t.value+"{"+n+"}":""}function vf(t){var e=ar(t);return function(n,i,r,o){for(var s="",a=0;a<e;a++)s+=t[a](n,i,r,o)||"";return s}}function yf(t){return function(e){e.root||(e=e.return)&&t(e)}}function xf(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var bf=function(e,n,i){for(var r=0,o=0;r=o,o=Bt(),r===38&&o===12&&(n[i]=1),!nn(o);)xt();return en(e,ct)},wf=function(e,n){var i=-1,r=44;do switch(nn(r)){case 0:r===38&&Bt()===12&&(n[i]=1),e[i]+=bf(ct-1,n,i);break;case 2:e[i]+=Un(r);break;case 4:if(r===44){e[++i]=Bt()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=zn(r)}while(r=xt());return e},kf=function(e,n){return xs(wf(ys(e),n))},ks=new WeakMap,Sf=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!ks.get(i))&&!r){ks.set(e,!0);for(var o=[],s=kf(n,o),a=i.props,l=0,c=0;l<s.length;l++)for(var h=0;h<a.length;h++,c++)e.props[c]=o[l]?s[l].replace(/&\f/g,a[h]):a[h]+" "+s[l]}}},Tf=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function Ss(t,e){switch(sf(t,e)){case 5103:return I+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return I+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return I+t+Pn+t+nt+t+t;case 6828:case 4268:return I+t+nt+t+t;case 6165:return I+t+nt+"flex-"+t+t;case 5187:return I+t+V(t,/(\w+).+(:[^]+)/,I+"box-$1$2"+nt+"flex-$1$2")+t;case 5443:return I+t+nt+"flex-item-"+V(t,/flex-|-self/,"")+t;case 4675:return I+t+nt+"flex-line-pack"+V(t,/align-content|flex-|-self/,"")+t;case 5548:return I+t+nt+V(t,"shrink","negative")+t;case 5292:return I+t+nt+V(t,"basis","preferred-size")+t;case 6060:return I+"box-"+V(t,"-grow","")+I+t+nt+V(t,"grow","positive")+t;case 4554:return I+V(t,/([^-])(transform)/g,"$1"+I+"$2")+t;case 6187:return V(V(V(t,/(zoom-|grab)/,I+"$1"),/(image-set)/,I+"$1"),t,"")+t;case 5495:case 3959:return V(t,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return V(V(t,/(.+:)(flex-)?(.*)/,I+"box-pack:$3"+nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+I+t+t;case 4095:case 3583:case 4068:case 2532:return V(t,/(.+)-inline(.+)/,I+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Lt(t)-1-e>6)switch(tt(t,e+1)){case 109:if(tt(t,e+4)!==45)break;case 102:return V(t,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+Pn+(tt(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~sr(t,"stretch")?Ss(V(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(tt(t,e+1)!==115)break;case 6444:switch(tt(t,Lt(t)-3-(~sr(t,"!important")&&10))){case 107:return V(t,":",":"+I)+t;case 101:return V(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(tt(t,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+nt+"$2box$3")+t}break;case 5936:switch(tt(t,e+11)){case 114:return I+t+nt+V(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return I+t+nt+V(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return I+t+nt+V(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return I+t+nt+t+t}return t}var Cf=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case or:e.return=Ss(e.value,e.length);break;case ms:return Re([tn(e,{value:V(e.value,"@","@"+I)})],r);case rr:if(e.length)return lf(e.props,function(o){switch(af(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Re([tn(e,{props:[V(o,/:(read-\w+)/,":"+Pn+"$1")]})],r);case"::placeholder":return Re([tn(e,{props:[V(o,/:(plac\w+)/,":"+I+"input-$1")]}),tn(e,{props:[V(o,/:(plac\w+)/,":"+Pn+"$1")]}),tn(e,{props:[V(o,/:(plac\w+)/,nt+"input-$1")]})],r)}return""})}},Af=[Cf],Mf=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(g){var _=g.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var r=e.stylisPlugins||Af,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var _=g.getAttribute("data-emotion").split(" "),y=1;y<_.length;y++)o[_[y]]=!0;a.push(g)});var l,c=[Sf,Tf];{var h,u=[_f,yf(function(g){h.insert(g)})],f=vf(c.concat(r,u)),p=function(_){return Re(gf(_),f)};l=function(_,y,x,v){h=x,p(_?_+"{"+y.styles+"}":y.styles),v&&(m.inserted[y.name]=!0)}}var m={key:n,sheet:new tf({key:n,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return m.sheet.hydrate(a),m};function $f(t){for(var e=0,n,i=0,r=t.length;r>=4;++i,r-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(r){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Ef={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nf=/[A-Z]|^ms/g,Df=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ts=function(e){return e.charCodeAt(1)===45},Cs=function(e){return e!=null&&typeof e!="boolean"},cr=xf(function(t){return Ts(t)?t:t.replace(Nf,"-$&").toLowerCase()}),As=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Df,function(i,r,o){return te={name:r,styles:o,next:te},r})}return Ef[e]!==1&&!Ts(e)&&typeof n=="number"&&n!==0?n+"px":n};function Xn(t,e,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return te={name:r.name,styles:r.styles,next:te},r.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)te={name:s.name,styles:s.styles,next:te},s=s.next;var a=o.styles+";";return a}return Of(t,e,n)}}var l=n;if(e==null)return l;var c=e[l];return c!==void 0?c:l}function Of(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Xn(t,e,n[r])+";";else for(var o in n){var s=n[o];if(typeof s!="object"){var a=s;e!=null&&e[a]!==void 0?i+=o+"{"+e[a]+"}":Cs(a)&&(i+=cr(o)+":"+As(o,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(e==null||e[s[0]]===void 0))for(var l=0;l<s.length;l++)Cs(s[l])&&(i+=cr(o)+":"+As(o,s[l])+";");else{var c=Xn(t,e,s);switch(o){case"animation":case"animationName":{i+=cr(o)+":"+c+";";break}default:i+=o+"{"+c+"}"}}}return i}var Ms=/label:\s*([^\s;{]+)\s*(;|$)/g,te;function ur(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,r="";te=void 0;var o=t[0];if(o==null||o.raw===void 0)i=!1,r+=Xn(n,e,o);else{var s=o;r+=s[0]}for(var a=1;a<t.length;a++)if(r+=Xn(n,e,t[a]),i){var l=o;r+=l[a]}Ms.lastIndex=0;for(var c="",h;(h=Ms.exec(r))!==null;)c+="-"+h[1];var u=$f(r)+c;return{name:u,styles:r,next:te}}function $s(t,e,n){var i="";return n.split(" ").forEach(function(r){t[r]!==void 0?e.push(t[r]+";"):r&&(i+=r+" ")}),i}var Rf=function(e,n,i){var r=e.key+"-"+n.name;e.registered[r]===void 0&&(e.registered[r]=n.styles)},Lf=function(e,n,i){Rf(e,n);var r=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+r:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function Es(t,e){if(t.inserted[e.name]===void 0)return t.insert("",e,t.sheet,!0)}function Ns(t,e,n){var i=[],r=$s(t,i,n);return i.length<2?n:r+e(i)}var Bf=function(e){var n=Mf(e);n.sheet.speedy=function(a){this.isSpeedy=a},n.compat=!0;var i=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=ur(c,n.registered,void 0);return Lf(n,u),n.key+"-"+u.name},r=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=ur(c,n.registered),f="animation-"+u.name;return Es(n,{name:u.name,styles:"@keyframes "+f+"{"+u.styles+"}"}),f},o=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=ur(c,n.registered);Es(n,u)},s=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];return Ns(n.registered,i,Ff(c))};return{css:i,cx:s,injectGlobal:o,keyframes:r,hydrate:function(l){l.forEach(function(c){n.inserted[c]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:$s.bind(null,n.registered),merge:Ns.bind(null,n.registered,i)}},Ff=function t(e){for(var n="",i=0;i<e.length;i++){var r=e[i];if(r!=null){var o=void 0;switch(typeof r){case"boolean":break;case"object":{if(Array.isArray(r))o=t(r);else{o="";for(var s in r)r[s]&&s&&(o&&(o+=" "),o+=s)}break}default:o=r}o&&(n&&(n+=" "),n+=o)}}return n},Ds=Bf({key:"css"}),Ut=Ds.injectGlobal,D=Ds.css;function Pf(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var hr,Os;function zf(){return Os||(Os=1,hr=function(e,n){n||(n=[0,""]),e=String(e);var i=parseFloat(e,10);return n[0]=i,n[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",n}),hr}var fr,Rs;function If(){if(Rs)return fr;Rs=1;var t=zf();fr=r;var e=i("in",document.body);function n(o,s){var a=t(getComputedStyle(o).getPropertyValue(s));return a[0]*r(a[1],o)}function i(o,s){var a=document.createElement("div");a.style.height="128"+o,s.appendChild(a);var l=n(a,"height")/128;return s.removeChild(a),l}function r(o,s){if(!o)return null;switch(s=s||document.body,o=(o+""||"px").trim().toLowerCase(),(s===window||s===document)&&(s=document.body),o){case"%":return s.clientHeight/100;case"ch":case"ex":return i(o,s);case"em":return n(s,"font-size");case"rem":return n(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return e;case"cm":return e/2.54;case"mm":return e/25.4;case"pt":return e/72;case"pc":return e/6;case"px":return 1}var a=t(o);if(!isNaN(a[0])&&a[1]){var l=r(a[1],s);return typeof l=="number"?a[0]*l:null}return null}return fr}If();function Ls(){const t=()=>Math.floor((1+crypto.getRandomValues(new Uint32Array(1))[0])*65536).toString(16).substring(1);return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`}function Vf(t,e){const n=t.substr(4,t.length-5);return getComputedStyle(e).getPropertyValue(n)}function Hf(t,e,n=0){const[i,r,o,s]=[t.x+n,t.y+t.height-2*n,t.x+t.width-2*n,t.y+n],[a,l,c,h]=[e.x+n,e.y+e.height-2*n,e.x+e.width-2*n,e.y+n];return!(r<h||l<s||o<a||c<i)}function dr(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Bs(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function rn(){}var on=.7,Gn=1/on,Le="\\s*([+-]?\\d+)\\s*",sn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ft="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Wf=/^#([0-9a-f]{3,8})$/,Uf=new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`),Yf=new RegExp(`^rgb\\(${Ft},${Ft},${Ft}\\)$`),Xf=new RegExp(`^rgba\\(${Le},${Le},${Le},${sn}\\)$`),Gf=new RegExp(`^rgba\\(${Ft},${Ft},${Ft},${sn}\\)$`),qf=new RegExp(`^hsl\\(${sn},${Ft},${Ft}\\)$`),jf=new RegExp(`^hsla\\(${sn},${Ft},${Ft},${sn}\\)$`),Fs={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};dr(rn,pe,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ps,formatHex:Ps,formatHex8:Zf,formatHsl:Qf,formatRgb:zs,toString:zs});function Ps(){return this.rgb().formatHex()}function Zf(){return this.rgb().formatHex8()}function Qf(){return Us(this).formatHsl()}function zs(){return this.rgb().formatRgb()}function pe(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Wf.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Is(e):n===3?new ut(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?qn(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?qn(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Uf.exec(t))?new ut(e[1],e[2],e[3],1):(e=Yf.exec(t))?new ut(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Xf.exec(t))?qn(e[1],e[2],e[3],e[4]):(e=Gf.exec(t))?qn(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=qf.exec(t))?Ws(e[1],e[2]/100,e[3]/100,1):(e=jf.exec(t))?Ws(e[1],e[2]/100,e[3]/100,e[4]):Fs.hasOwnProperty(t)?Is(Fs[t]):t==="transparent"?new ut(NaN,NaN,NaN,0):null}function Is(t){return new ut(t>>16&255,t>>8&255,t&255,1)}function qn(t,e,n,i){return i<=0&&(t=e=n=NaN),new ut(t,e,n,i)}function Jf(t){return t instanceof rn||(t=pe(t)),t?(t=t.rgb(),new ut(t.r,t.g,t.b,t.opacity)):new ut}function pr(t,e,n,i){return arguments.length===1?Jf(t):new ut(t,e,n,i??1)}function ut(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}dr(ut,pr,Bs(rn,{brighter(t){return t=t==null?Gn:Math.pow(Gn,t),new ut(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?on:Math.pow(on,t),new ut(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ut(ge(this.r),ge(this.g),ge(this.b),jn(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:Vs,formatHex:Vs,formatHex8:Kf,formatRgb:Hs,toString:Hs}));function Vs(){return`#${me(this.r)}${me(this.g)}${me(this.b)}`}function Kf(){return`#${me(this.r)}${me(this.g)}${me(this.b)}${me((isNaN(this.opacity)?1:this.opacity)*255)}`}function Hs(){const t=jn(this.opacity);return`${t===1?"rgb(":"rgba("}${ge(this.r)}, ${ge(this.g)}, ${ge(this.b)}${t===1?")":`, ${t})`}`}function jn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ge(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function me(t){return t=ge(t),(t<16?"0":"")+t.toString(16)}function Ws(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new At(t,e,n,i)}function Us(t){if(t instanceof At)return new At(t.h,t.s,t.l,t.opacity);if(t instanceof rn||(t=pe(t)),!t)return new At;if(t instanceof At)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),s=NaN,a=o-r,l=(o+r)/2;return a?(e===o?s=(n-i)/a+(n<i)*6:n===o?s=(i-e)/a+2:s=(e-n)/a+4,a/=l<.5?o+r:2-o-r,s*=60):a=l>0&&l<1?0:s,new At(s,a,l,t.opacity)}function gr(t,e,n,i){return arguments.length===1?Us(t):new At(t,e,n,i??1)}function At(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}dr(At,gr,Bs(rn,{brighter(t){return t=t==null?Gn:Math.pow(Gn,t),new At(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?on:Math.pow(on,t),new At(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new ut(mr(t>=240?t-240:t+120,r,i),mr(t,r,i),mr(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new At(Ys(this.h),Zn(this.s),Zn(this.l),jn(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 t=jn(this.opacity);return`${t===1?"hsl(":"hsla("}${Ys(this.h)}, ${Zn(this.s)*100}%, ${Zn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Ys(t){return t=(t||0)%360,t<0?t+360:t}function Zn(t){return Math.max(0,Math.min(1,t||0))}function mr(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const an=(globalThis==null?void 0:globalThis.UNOVIS_COLORS)||["#4D8CFD","#FF6B7E","#F4B83E","#A6CC74","#00C19A","#6859BE"],td=(globalThis==null?void 0:globalThis.UNOVIS_COLORS_DARK)||["#4D8CFD","#FF6B7E","#FFC16D","#A6CC74","#00C19A","#7887E0"],ee=t=>`--vis-${yt(t)?`color${t%an.length}`:t}`;function ed(t,e=.4){const n=gr(t);return n.l=n.l*(1+e),n.formatHex()}function nd(t,e=.4,n=.6){const i=gr(t);return i.s=i.s*(1-n),i.l=i.l*(1-e),i.formatHex()}const ln=10,_r=[{id:"stripes-diagonal",svg:'<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>'},{id:"dots",svg:'<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>'},{id:"stripes-vertical",svg:'<path d="M 5,-1 L5,11" stroke="#000"/>'},{id:"crosshatch",svg:'<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>'},{id:"waves",svg:'<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>'},{id:"circles",svg:'<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>'}],vr=[{id:"circle",marker:'<circle cx="5" cy="5" r="5"/>',dashArray:[]},{id:"triangle",marker:'<path d="M5,0 L10,9 L0,9Z">',dashArray:[9,1]},{id:"diamond",marker:'<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">',dashArray:[2]},{id:"arrow",marker:'<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">',dashArray:[2,3,8,3]},{id:"square",marker:'<rect x="1" y="1" width="8" height="8"/>',dashArray:[6]},{id:"star",marker:'<path d="m2 9 3-9 3 9L0 3h10Z"/>',dashArray:[1,6]}];function ne(t){return`vis-${`pattern-${t.svg?"fill":"marker"}`}-${t.id}`}const id=t=>`<mask id="${ne(t)}">
|
|
1
|
+
(function(K,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],d):(K=typeof globalThis<"u"?globalThis:K||self,d(K.VueChrts={},K.Vue))})(this,function(K,d){"use strict";var Wi="http://www.w3.org/1999/xhtml";const Oo={svg:"http://www.w3.org/2000/svg",xhtml:Wi,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function Sn(t){var e=t+="",n=e.indexOf(":");return n>=0&&(e=t.slice(0,n))!=="xmlns"&&(t=t.slice(n+1)),Oo.hasOwnProperty(e)?{space:Oo[e],local:t}:t}function $c(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===Wi&&e.documentElement.namespaceURI===Wi?e.createElement(t):e.createElementNS(n,t)}}function Ec(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function Ro(t){var e=Sn(t);return(e.local?Ec:$c)(e)}function Nc(){}function Ui(t){return t==null?Nc:function(){return this.querySelector(t)}}function Dc(t){typeof t!="function"&&(t=Ui(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=new Array(s),l,c,h=0;h<s;++h)(l=o[h])&&(c=t.call(l,l.__data__,h,o))&&("__data__"in l&&(c.__data__=l.__data__),a[h]=c);return new vt(i,this._parents)}function Oc(t){return t==null?[]:Array.isArray(t)?t:Array.from(t)}function Rc(){return[]}function Lo(t){return t==null?Rc:function(){return this.querySelectorAll(t)}}function Lc(t){return function(){return Oc(t.apply(this,arguments))}}function Bc(t){typeof t=="function"?t=Lc(t):t=Lo(t);for(var e=this._groups,n=e.length,i=[],r=[],o=0;o<n;++o)for(var s=e[o],a=s.length,l,c=0;c<a;++c)(l=s[c])&&(i.push(t.call(l,l.__data__,c,s)),r.push(l));return new vt(i,r)}function Bo(t){return function(){return this.matches(t)}}function Fo(t){return function(e){return e.matches(t)}}var Fc=Array.prototype.find;function Pc(t){return function(){return Fc.call(this.children,t)}}function zc(){return this.firstElementChild}function Ic(t){return this.select(t==null?zc:Pc(typeof t=="function"?t:Fo(t)))}var Vc=Array.prototype.filter;function Hc(){return Array.from(this.children)}function Wc(t){return function(){return Vc.call(this.children,t)}}function Uc(t){return this.selectAll(t==null?Hc:Wc(typeof t=="function"?t:Fo(t)))}function Yc(t){typeof t!="function"&&(t=Bo(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var o=e[r],s=o.length,a=i[r]=[],l,c=0;c<s;++c)(l=o[c])&&t.call(l,l.__data__,c,o)&&a.push(l);return new vt(i,this._parents)}function Po(t){return new Array(t.length)}function Xc(){return new vt(this._enter||this._groups.map(Po),this._parents)}function Tn(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}Tn.prototype={constructor:Tn,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};function Gc(t){return function(){return t}}function qc(t,e,n,i,r,o){for(var s=0,a,l=e.length,c=o.length;s<c;++s)(a=e[s])?(a.__data__=o[s],i[s]=a):n[s]=new Tn(t,o[s]);for(;s<l;++s)(a=e[s])&&(r[s]=a)}function jc(t,e,n,i,r,o,s){var a,l,c=new Map,h=e.length,u=o.length,f=new Array(h),p;for(a=0;a<h;++a)(l=e[a])&&(f[a]=p=s.call(l,l.__data__,a,e)+"",c.has(p)?r[a]=l:c.set(p,l));for(a=0;a<u;++a)p=s.call(t,o[a],a,o)+"",(l=c.get(p))?(i[a]=l,l.__data__=o[a],c.delete(p)):n[a]=new Tn(t,o[a]);for(a=0;a<h;++a)(l=e[a])&&c.get(f[a])===l&&(r[a]=l)}function Zc(t){return t.__data__}function Qc(t,e){if(!arguments.length)return Array.from(this,Zc);var n=e?jc:qc,i=this._parents,r=this._groups;typeof t!="function"&&(t=Gc(t));for(var o=r.length,s=new Array(o),a=new Array(o),l=new Array(o),c=0;c<o;++c){var h=i[c],u=r[c],f=u.length,p=Jc(t.call(h,h&&h.__data__,c,i)),m=p.length,g=a[c]=new Array(m),_=s[c]=new Array(m),y=l[c]=new Array(f);n(h,u,g,_,y,p,e);for(var x=0,v=0,w,k;x<m;++x)if(w=g[x]){for(x>=v&&(v=x+1);!(k=_[v])&&++v<m;);w._next=k||null}}return s=new vt(s,i),s._enter=a,s._exit=l,s}function Jc(t){return typeof t=="object"&&"length"in t?t:Array.from(t)}function Kc(){return new vt(this._exit||this._groups.map(Po),this._parents)}function tu(t,e,n){var i=this.enter(),r=this,o=this.exit();return typeof t=="function"?(i=t(i),i&&(i=i.selection())):i=i.append(t+""),e!=null&&(r=e(r),r&&(r=r.selection())),n==null?o.remove():n(o),i&&r?i.merge(r).order():r}function eu(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,o=i.length,s=Math.min(r,o),a=new Array(r),l=0;l<s;++l)for(var c=n[l],h=i[l],u=c.length,f=a[l]=new Array(u),p,m=0;m<u;++m)(p=c[m]||h[m])&&(f[m]=p);for(;l<r;++l)a[l]=n[l];return new vt(a,this._parents)}function nu(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i=t[e],r=i.length-1,o=i[r],s;--r>=0;)(s=i[r])&&(o&&s.compareDocumentPosition(o)^4&&o.parentNode.insertBefore(s,o),o=s);return this}function iu(t){t||(t=ru);function e(u,f){return u&&f?t(u.__data__,f.__data__):!u-!f}for(var n=this._groups,i=n.length,r=new Array(i),o=0;o<i;++o){for(var s=n[o],a=s.length,l=r[o]=new Array(a),c,h=0;h<a;++h)(c=s[h])&&(l[h]=c);l.sort(e)}return new vt(r,this._parents).order()}function ru(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function ou(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function su(){return Array.from(this)}function au(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length;r<o;++r){var s=i[r];if(s)return s}return null}function lu(){let t=0;for(const e of this)++t;return t}function cu(){return!this.node()}function uu(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r=e[n],o=0,s=r.length,a;o<s;++o)(a=r[o])&&t.call(a,a.__data__,o,r);return this}function hu(t){return function(){this.removeAttribute(t)}}function fu(t){return function(){this.removeAttributeNS(t.space,t.local)}}function du(t,e){return function(){this.setAttribute(t,e)}}function pu(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function gu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttribute(t):this.setAttribute(t,n)}}function mu(t,e){return function(){var n=e.apply(this,arguments);n==null?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function _u(t,e){var n=Sn(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((e==null?n.local?fu:hu:typeof e=="function"?n.local?mu:gu:n.local?pu:du)(n,e))}function zo(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function vu(t){return function(){this.style.removeProperty(t)}}function yu(t,e,n){return function(){this.style.setProperty(t,e,n)}}function xu(t,e,n){return function(){var i=e.apply(this,arguments);i==null?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function bu(t,e,n){return arguments.length>1?this.each((e==null?vu:typeof e=="function"?xu:yu)(t,e,n??"")):Me(this.node(),t)}function Me(t,e){return t.style.getPropertyValue(e)||zo(t).getComputedStyle(t,null).getPropertyValue(e)}function wu(t){return function(){delete this[t]}}function ku(t,e){return function(){this[t]=e}}function Su(t,e){return function(){var n=e.apply(this,arguments);n==null?delete this[t]:this[t]=n}}function Tu(t,e){return arguments.length>1?this.each((e==null?wu:typeof e=="function"?Su:ku)(t,e)):this.node()[t]}function Io(t){return t.trim().split(/^|\s+/)}function Yi(t){return t.classList||new Vo(t)}function Vo(t){this._node=t,this._names=Io(t.getAttribute("class")||"")}Vo.prototype={add:function(t){var e=this._names.indexOf(t);e<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};function Ho(t,e){for(var n=Yi(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function Wo(t,e){for(var n=Yi(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function Cu(t){return function(){Ho(this,t)}}function Au(t){return function(){Wo(this,t)}}function Mu(t,e){return function(){(e.apply(this,arguments)?Ho:Wo)(this,t)}}function $u(t,e){var n=Io(t+"");if(arguments.length<2){for(var i=Yi(this.node()),r=-1,o=n.length;++r<o;)if(!i.contains(n[r]))return!1;return!0}return this.each((typeof e=="function"?Mu:e?Cu:Au)(n,e))}function Eu(){this.textContent=""}function Nu(t){return function(){this.textContent=t}}function Du(t){return function(){var e=t.apply(this,arguments);this.textContent=e??""}}function Ou(t){return arguments.length?this.each(t==null?Eu:(typeof t=="function"?Du:Nu)(t)):this.node().textContent}function Ru(){this.innerHTML=""}function Lu(t){return function(){this.innerHTML=t}}function Bu(t){return function(){var e=t.apply(this,arguments);this.innerHTML=e??""}}function Fu(t){return arguments.length?this.each(t==null?Ru:(typeof t=="function"?Bu:Lu)(t)):this.node().innerHTML}function Pu(){this.nextSibling&&this.parentNode.appendChild(this)}function zu(){return this.each(Pu)}function Iu(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function Vu(){return this.each(Iu)}function Hu(t){var e=typeof t=="function"?t:Ro(t);return this.select(function(){return this.appendChild(e.apply(this,arguments))})}function Wu(){return null}function Uu(t,e){var n=typeof t=="function"?t:Ro(t),i=e==null?Wu:typeof e=="function"?e:Ui(e);return this.select(function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)})}function Yu(){var t=this.parentNode;t&&t.removeChild(this)}function Xu(){return this.each(Yu)}function Gu(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function qu(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function ju(t){return this.select(t?qu:Gu)}function Zu(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Qu(t){return function(e){t.call(this,e,this.__data__)}}function Ju(t){return t.trim().split(/^|\s+/).map(function(e){var n="",i=e.indexOf(".");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{type:e,name:n}})}function Ku(t){return function(){var e=this.__on;if(e){for(var n=0,i=-1,r=e.length,o;n<r;++n)o=e[n],(!t.type||o.type===t.type)&&o.name===t.name?this.removeEventListener(o.type,o.listener,o.options):e[++i]=o;++i?e.length=i:delete this.__on}}}function th(t,e,n){return function(){var i=this.__on,r,o=Qu(e);if(i){for(var s=0,a=i.length;s<a;++s)if((r=i[s]).type===t.type&&r.name===t.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=e;return}}this.addEventListener(t.type,o,n),r={type:t.type,name:t.name,value:e,listener:o,options:n},i?i.push(r):this.__on=[r]}}function eh(t,e,n){var i=Ju(t+""),r,o=i.length,s;if(arguments.length<2){var a=this.node().__on;if(a){for(var l=0,c=a.length,h;l<c;++l)for(r=0,h=a[l];r<o;++r)if((s=i[r]).type===h.type&&s.name===h.name)return h.value}return}for(a=e?th:Ku,r=0;r<o;++r)this.each(a(i[r],e,n));return this}function Uo(t,e,n){var i=zo(t),r=i.CustomEvent;typeof r=="function"?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function nh(t,e){return function(){return Uo(this,t,e)}}function ih(t,e){return function(){return Uo(this,t,e.apply(this,arguments))}}function rh(t,e){return this.each((typeof e=="function"?ih:nh)(t,e))}function*oh(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,o=i.length,s;r<o;++r)(s=i[r])&&(yield s)}var Yo=[null];function vt(t,e){this._groups=t,this._parents=e}function Ye(){return new vt([[document.documentElement]],Yo)}function sh(){return this}vt.prototype=Ye.prototype={constructor:vt,select:Dc,selectAll:Bc,selectChild:Ic,selectChildren:Uc,filter:Yc,data:Qc,enter:Xc,exit:Kc,join:tu,merge:eu,selection:sh,order:nu,sort:iu,call:ou,nodes:su,node:au,size:lu,empty:cu,each:uu,attr:_u,style:bu,property:Tu,classed:$u,text:Ou,html:Fu,raise:zu,lower:Vu,append:Hu,insert:Uu,remove:Xu,clone:ju,datum:Zu,on:eh,dispatch:rh,[Symbol.iterator]:oh};function at(t){return typeof t=="string"?new vt([[document.querySelector(t)]],[document.documentElement]):new vt([[t]],Yo)}function ah(t){let e;for(;e=t.sourceEvent;)t=e;return t}function Cn(t,e){if(t=ah(t),e===void 0&&(e=t.currentTarget),e){var n=e.ownerSVGElement||e;if(n.createSVGPoint){var i=n.createSVGPoint();return i.x=t.clientX,i.y=t.clientY,i=i.matrixTransform(e.getScreenCTM().inverse()),[i.x,i.y]}if(e.getBoundingClientRect){var r=e.getBoundingClientRect();return[t.clientX-r.left-e.clientLeft,t.clientY-r.top-e.clientTop]}}return[t.pageX,t.pageY]}var Xe;(function(t){t[t.SVG=0]="SVG",t[t.HTML=1]="HTML"})(Xe||(Xe={}));var Ht;(function(t){t.Fit="fit",t.Extend="extend",t.FitWidth="fit_width"})(Ht||(Ht={}));function Ge(t,e){return t==null||e==null?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function lh(t,e){return t==null||e==null?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function An(t){let e,n,i;t.length!==2?(e=Ge,n=(a,l)=>Ge(t(a),l),i=(a,l)=>t(a)-l):(e=t===Ge||t===lh?t:ch,n=t,i=t);function r(a,l,c=0,h=a.length){if(c<h){if(e(l,l)!==0)return h;do{const u=c+h>>>1;n(a[u],l)<0?c=u+1:h=u}while(c<h)}return c}function o(a,l,c=0,h=a.length){if(c<h){if(e(l,l)!==0)return h;do{const u=c+h>>>1;n(a[u],l)<=0?c=u+1:h=u}while(c<h)}return c}function s(a,l,c=0,h=a.length){const u=r(a,l,c,h-1);return u>c&&i(a[u-1],l)>-i(a[u],l)?u-1:u}return{left:r,center:s,right:o}}function ch(){return 0}function Xo(t){return t===null?NaN:+t}const Mn=An(Ge).right;An(Xo).center;function uh(t,e){let n,i;for(const r of t)r!=null&&(n===void 0?r>=r&&(n=i=r):(n>r&&(n=r),i<r&&(i=r)));return[n,i]}class Go extends Map{constructor(e,n=dh){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:n}}),e!=null)for(const[i,r]of e)this.set(i,r)}get(e){return super.get(qo(this,e))}has(e){return super.has(qo(this,e))}set(e,n){return super.set(hh(this,e),n)}delete(e){return super.delete(fh(this,e))}}function qo({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):n}function hh({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):(t.set(i,n),n)}function fh({_intern:t,_key:e},n){const i=e(n);return t.has(i)&&(n=t.get(i),t.delete(i)),n}function dh(t){return t!==null&&typeof t=="object"?t.valueOf():t}const ph=Math.sqrt(50),gh=Math.sqrt(10),mh=Math.sqrt(2);function $n(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),o=i/Math.pow(10,r),s=o>=ph?10:o>=gh?5:o>=mh?2:1;let a,l,c;return r<0?(c=Math.pow(10,-r)/s,a=Math.round(t*c),l=Math.round(e*c),a/c<t&&++a,l/c>e&&--l,c=-c):(c=Math.pow(10,r)*s,a=Math.round(t/c),l=Math.round(e/c),a*c<t&&++a,l*c>e&&--l),l<a&&.5<=n&&n<2?$n(t,e,n*2):[a,l,c]}function Xi(t,e,n){if(e=+e,t=+t,n=+n,!(n>0))return[];if(t===e)return[t];const i=e<t,[r,o,s]=i?$n(e,t,n):$n(t,e,n);if(!(o>=r))return[];const a=o-r+1,l=new Array(a);if(i)if(s<0)for(let c=0;c<a;++c)l[c]=(o-c)/-s;else for(let c=0;c<a;++c)l[c]=(o-c)*s;else if(s<0)for(let c=0;c<a;++c)l[c]=(r+c)/-s;else for(let c=0;c<a;++c)l[c]=(r+c)*s;return l}function Gi(t,e,n){return e=+e,t=+t,n=+n,$n(t,e,n)[2]}function qi(t,e,n){e=+e,t=+t,n=+n;const i=e<t,r=i?Gi(e,t,n):Gi(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}function ji(t,e){let n;if(e===void 0)for(const i of t)i!=null&&(n<i||n===void 0&&i>=i)&&(n=i);else{let i=-1;for(let r of t)(r=e(r,++i,t))!=null&&(n<r||n===void 0&&r>=r)&&(n=r)}return n}function qe(t,e){let n;if(e===void 0)for(const i of t)i!=null&&(n>i||n===void 0&&i>=i)&&(n=i);else{let i=-1;for(let r of t)(r=e(r,++i,t))!=null&&(n>r||n===void 0&&r>=r)&&(n=r)}return n}function _h(t,e,n=Xo){if(!(!(i=t.length)||isNaN(e=+e))){if(e<=0||i<2)return+n(t[0],0,t);if(e>=1)return+n(t[i-1],i-1,t);var i,r=(i-1)*e,o=Math.floor(r),s=+n(t[o],o,t),a=+n(t[o+1],o+1,t);return s+(a-s)*(r-o)}}function vh(t,e){let n=0,i=0;if(e===void 0)for(let r of t)r!=null&&(r=+r)>=r&&(++n,i+=r);else{let r=-1;for(let o of t)(o=e(o,++r,t))!=null&&(o=+o)>=o&&(++n,i+=o)}if(n)return i/n}function*yh(t){for(const e of t)yield*e}function xh(t){return Array.from(yh(t))}function jo(t,e,n){t=+t,e=+e,n=(r=arguments.length)<2?(e=t,t=0,1):r<3?1:+n;for(var i=-1,r=Math.max(0,Math.ceil((e-t)/n))|0,o=new Array(r);++i<r;)o[i]=t+i*n;return o}function bh(t,e){let n=0;if(e===void 0)for(let i of t)(i=+i)&&(n+=i);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}function wh(t,e,n){var i={},r=i.noTrailing,o=r===void 0?!1:r,s=i.noLeading,a=s===void 0?!1:s,l=i.debounceMode,c=l===void 0?void 0:l,h,u=!1,f=0;function p(){h&&clearTimeout(h)}function m(_){var y=_||{},x=y.upcomingOnly,v=x===void 0?!1:x;p(),u=!v}function g(){for(var _=arguments.length,y=new Array(_),x=0;x<_;x++)y[x]=arguments[x];var v=this,w=Date.now()-f;if(u)return;function k(){f=Date.now(),e.apply(v,y)}function b(){h=void 0}!a&&c&&!h&&k(),p(),c===void 0&&w>t?a?(f=Date.now(),o||(h=setTimeout(c?b:k,t))):k():o!==!0&&(h=setTimeout(c?b:k,c===void 0?t-w:t))}return g.cancel=m,g}const yt=t=>typeof t=="number",Zi=t=>typeof t=="function",Wt=t=>Array.isArray(t),kh=t=>t instanceof Object,En=t=>t.constructor.name!=="Function"&&t.constructor.name!=="Object",Zo=t=>kh(t)&&!Wt(t)&&!Zi(t)&&!En(t),Sh=t=>[Object,Array].includes((t||{}).constructor)&&!Object.entries(t||{}).length,je=(t,e,n=[],i=new Set)=>{if(Array.isArray(t)){if(!Array.isArray(e)||t.length!==e.length)return!1;if(i.has(t))return!0;i.add(t);for(let r=0;r<t.length;r++)if(!je(t[r],e[r],n,i))return!1;return!0}if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(typeof t=="object"&&t!==null&&e!==null){if(typeof e!="object")return!1;if(t===e)return!0;const r=Object.keys(t).filter(s=>!n.includes(s)),o=Object.keys(e).filter(s=>!n.includes(s));if(r.length!==o.length)return!1;if(i.has(t))return!0;i.add(t);for(const s of r)if(!je(t[s],e[s],n,i))return!1;return!0}return t===e},Qi=t=>t.flat(),Nn=(t,e=new Map)=>{if(typeof t!="object"||t===null)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof Array){const n=[];e.set(t,n);for(const i of t)n.push(e.has(i)?e.get(i):Nn(i,e));return n}if(En(t))return t;if(t instanceof Object){const n={};e.set(t,n);const i=t;return Object.keys(t).reduce((r,o)=>(r[o]=e.has(i[o])?e.get(i[o]):Nn(i[o],e),r),n),n}return t},he=(t,e,n=new Map)=>{if(!t||!e||t===e)return t;const i=En(t)?t:Nn(t);return n.has(e)?n.get(e):(n.set(e,i),Object.keys(e).forEach(r=>{r==="__proto__"||r==="constructor"||(Zo(t[r])&&Zo(e[r])?i[r]=he(t[r],e[r],n):En(e)?i[r]=e:i[r]=Nn(e[r]))}),i)},Th=(t,e)=>(t=Object.assign({},t),e.forEach(n=>delete t[n]),t),Dn=(t,e,n)=>wh(e,t);function Ji(t,e,n){return Zi(e)?e(t,n):e}function $e(t,e,n){return Ji(t,e,n)}function Y(t,e,n){return Ji(t,e,n)}function Ze(t){return t.filter(e=>e&&!yt(e))}function Ot(t,e,n){return Math.min(Math.max(t,e),n)}function Ch(t,...e){if(!t)return[void 0,void 0];if(Wt(e)){let n=0,i=0;return t.forEach((r,o)=>{let s=0,a=0;for(const l of e){const c=Y(r,l,o)||0;c>=0?s+=c:a+=c}s>i&&(i=s),a<n&&(n=a)}),[n,i]}}function Ah(t,e,...n){const i=[];let r=0,o=0;for(const s of n){const a=Y(t,s,e)||0;a>=0?i.push(r+=a):i.push(o+=a)}return i}function Mh(t,e,n,i){const r=t.map((a,l)=>Y(a,e,l)||0),o=n.map((a,l)=>{const c=vh(t,(h,u)=>Y(h,a,u)||0);return c===0&&Array.isArray(i)?i[l]:c<0}),s=n.map(()=>[]);return t.forEach((a,l)=>{let c=r[l],h=r[l];n.forEach((u,f)=>{const p=Y(a,u,l)||0;p>=0?s[f].push([c,c+=p]):s[f].push([h,h+=p])})}),s.forEach((a,l)=>{a.isMostlyNegative=o[l]}),s}function Qo(t,...e){return t?qe(t,(i,r)=>qe(e,o=>Y(i,o,r))):void 0}function Jo(t,...e){return t?ji(t,(i,r)=>ji(e,o=>Y(i,o,r))):void 0}function On(t,...e){return[Qo(t,...e),Jo(t,...e)]}function $h(t,e,n){if(t.length<=1)return t[0];const i=t.map((s,a)=>Y(s,n,a));i.sort((s,a)=>s-a);const r=An(s=>s).left,o=r(i,e,1,t.length-1);return e-i[o-1]>i[o]-e?t[o]:t[o-1]}function Ko(t,e,n){return t.filter((r,o)=>{const s=Y(r,n,o);return s>=e[0]&&s<=e[1]})}var fe=[],Eh=function(){return fe.some(function(t){return t.activeTargets.length>0})},Nh=function(){return fe.some(function(t){return t.skippedTargets.length>0})},ts="ResizeObserver loop completed with undelivered notifications.",Dh=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:ts}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=ts),window.dispatchEvent(t)},Qe;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Qe||(Qe={}));var de=function(t){return Object.freeze(t)},Oh=function(){function t(e,n){this.inlineSize=e,this.blockSize=n,de(this)}return t}(),es=function(){function t(e,n,i,r){return this.x=e,this.y=n,this.width=i,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,de(this)}return t.prototype.toJSON=function(){var e=this,n=e.x,i=e.y,r=e.top,o=e.right,s=e.bottom,a=e.left,l=e.width,c=e.height;return{x:n,y:i,top:r,right:o,bottom:s,left:a,width:l,height:c}},t.fromRect=function(e){return new t(e.x,e.y,e.width,e.height)},t}(),Ki=function(t){return t instanceof SVGElement&&"getBBox"in t},ns=function(t){if(Ki(t)){var e=t.getBBox(),n=e.width,i=e.height;return!n&&!i}var r=t,o=r.offsetWidth,s=r.offsetHeight;return!(o||s||t.getClientRects().length)},is=function(t){var e;if(t instanceof Element)return!0;var n=(e=t==null?void 0:t.ownerDocument)===null||e===void 0?void 0:e.defaultView;return!!(n&&t instanceof n.Element)},Rh=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},Je=typeof window<"u"?window:{},Rn=new WeakMap,rs=/auto|scroll/,Lh=/^tb|vertical/,Bh=/msie|trident/i.test(Je.navigator&&Je.navigator.userAgent),Rt=function(t){return parseFloat(t||"0")},Ee=function(t,e,n){return t===void 0&&(t=0),e===void 0&&(e=0),n===void 0&&(n=!1),new Oh((n?e:t)||0,(n?t:e)||0)},os=de({devicePixelContentBoxSize:Ee(),borderBoxSize:Ee(),contentBoxSize:Ee(),contentRect:new es(0,0,0,0)}),ss=function(t,e){if(e===void 0&&(e=!1),Rn.has(t)&&!e)return Rn.get(t);if(ns(t))return Rn.set(t,os),os;var n=getComputedStyle(t),i=Ki(t)&&t.ownerSVGElement&&t.getBBox(),r=!Bh&&n.boxSizing==="border-box",o=Lh.test(n.writingMode||""),s=!i&&rs.test(n.overflowY||""),a=!i&&rs.test(n.overflowX||""),l=i?0:Rt(n.paddingTop),c=i?0:Rt(n.paddingRight),h=i?0:Rt(n.paddingBottom),u=i?0:Rt(n.paddingLeft),f=i?0:Rt(n.borderTopWidth),p=i?0:Rt(n.borderRightWidth),m=i?0:Rt(n.borderBottomWidth),g=i?0:Rt(n.borderLeftWidth),_=u+c,y=l+h,x=g+p,v=f+m,w=a?t.offsetHeight-v-t.clientHeight:0,k=s?t.offsetWidth-x-t.clientWidth:0,b=r?_+x:0,T=r?y+v:0,R=i?i.width:Rt(n.width)-b-k,E=i?i.height:Rt(n.height)-T-w,W=R+_+k+x,$=E+y+w+v,F=de({devicePixelContentBoxSize:Ee(Math.round(R*devicePixelRatio),Math.round(E*devicePixelRatio),o),borderBoxSize:Ee(W,$,o),contentBoxSize:Ee(R,E,o),contentRect:new es(u,l,R,E)});return Rn.set(t,F),F},as=function(t,e,n){var i=ss(t,n),r=i.borderBoxSize,o=i.contentBoxSize,s=i.devicePixelContentBoxSize;switch(e){case Qe.DEVICE_PIXEL_CONTENT_BOX:return s;case Qe.BORDER_BOX:return r;default:return o}},Fh=function(){function t(e){var n=ss(e);this.target=e,this.contentRect=n.contentRect,this.borderBoxSize=de([n.borderBoxSize]),this.contentBoxSize=de([n.contentBoxSize]),this.devicePixelContentBoxSize=de([n.devicePixelContentBoxSize])}return t}(),ls=function(t){if(ns(t))return 1/0;for(var e=0,n=t.parentNode;n;)e+=1,n=n.parentNode;return e},Ph=function(){var t=1/0,e=[];fe.forEach(function(s){if(s.activeTargets.length!==0){var a=[];s.activeTargets.forEach(function(c){var h=new Fh(c.target),u=ls(c.target);a.push(h),c.lastReportedSize=as(c.target,c.observedBox),u<t&&(t=u)}),e.push(function(){s.callback.call(s.observer,a,s.observer)}),s.activeTargets.splice(0,s.activeTargets.length)}});for(var n=0,i=e;n<i.length;n++){var r=i[n];r()}return t},cs=function(t){fe.forEach(function(n){n.activeTargets.splice(0,n.activeTargets.length),n.skippedTargets.splice(0,n.skippedTargets.length),n.observationTargets.forEach(function(r){r.isActive()&&(ls(r.target)>t?n.activeTargets.push(r):n.skippedTargets.push(r))})})},zh=function(){var t=0;for(cs(t);Eh();)t=Ph(),cs(t);return Nh()&&Dh(),t>0},tr,us=[],Ih=function(){return us.splice(0).forEach(function(t){return t()})},Vh=function(t){if(!tr){var e=0,n=document.createTextNode(""),i={characterData:!0};new MutationObserver(function(){return Ih()}).observe(n,i),tr=function(){n.textContent="".concat(e?e--:e++)}}us.push(t),tr()},Hh=function(t){Vh(function(){requestAnimationFrame(t)})},Ln=0,Wh=function(){return!!Ln},Uh=250,Yh={attributes:!0,characterData:!0,childList:!0,subtree:!0},hs=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],fs=function(t){return t===void 0&&(t=0),Date.now()+t},er=!1,Xh=function(){function t(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return t.prototype.run=function(e){var n=this;if(e===void 0&&(e=Uh),!er){er=!0;var i=fs(e);Hh(function(){var r=!1;try{r=zh()}finally{if(er=!1,e=i-fs(),!Wh())return;r?n.run(1e3):e>0?n.run(e):n.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var e=this,n=function(){return e.observer&&e.observer.observe(document.body,Yh)};document.body?n():Je.addEventListener("DOMContentLoaded",n)},t.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),hs.forEach(function(n){return Je.addEventListener(n,e.listener,!0)}))},t.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),hs.forEach(function(n){return Je.removeEventListener(n,e.listener,!0)}),this.stopped=!0)},t}(),nr=new Xh,ds=function(t){!Ln&&t>0&&nr.start(),Ln+=t,!Ln&&nr.stop()},Gh=function(t){return!Ki(t)&&!Rh(t)&&getComputedStyle(t).display==="inline"},qh=function(){function t(e,n){this.target=e,this.observedBox=n||Qe.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var e=as(this.target,this.observedBox,!0);return Gh(this.target)&&(this.lastReportedSize=e),this.lastReportedSize.inlineSize!==e.inlineSize||this.lastReportedSize.blockSize!==e.blockSize},t}(),jh=function(){function t(e,n){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=n}return t}(),Bn=new WeakMap,ps=function(t,e){for(var n=0;n<t.length;n+=1)if(t[n].target===e)return n;return-1},Fn=function(){function t(){}return t.connect=function(e,n){var i=new jh(e,n);Bn.set(e,i)},t.observe=function(e,n,i){var r=Bn.get(e),o=r.observationTargets.length===0;ps(r.observationTargets,n)<0&&(o&&fe.push(r),r.observationTargets.push(new qh(n,i&&i.box)),ds(1),nr.schedule())},t.unobserve=function(e,n){var i=Bn.get(e),r=ps(i.observationTargets,n),o=i.observationTargets.length===1;r>=0&&(o&&fe.splice(fe.indexOf(i),1),i.observationTargets.splice(r,1),ds(-1))},t.disconnect=function(e){var n=this,i=Bn.get(e);i.observationTargets.slice().forEach(function(r){return n.unobserve(e,r.target)}),i.activeTargets.splice(0,i.activeTargets.length)},t}(),Zh=function(){function t(e){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof e!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Fn.connect(this,e)}return t.prototype.observe=function(e,n){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!is(e))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Fn.observe(this,e,n)},t.prototype.unobserve=function(e){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!is(e))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Fn.unobserve(this,e)},t.prototype.disconnect=function(){Fn.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}();const Qh=globalThis.ResizeObserver||Zh,ir={duration:void 0,margin:{top:0,bottom:0,left:0,right:0},padding:{top:0,bottom:0,left:0,right:0},sizing:Ht.Fit,width:void 0,height:void 0,svgDefs:void 0,ariaLabel:void 0};class Ne{constructor(e){this._defaultConfig=ir,this._isFirstRender=!0,this._renderAnimationFrameId=null,this._container=e;const n=at(this._container);n.attr("role","figure"),this.svg=n.append("svg").style("display","block").attr("xmlns","http://www.w3.org/2000/svg").attr("height",Ne.DEFAULT_CONTAINER_HEIGHT).attr("aria-hidden",!0),this._svgDefs=this.svg.append("defs"),this._svgDefsExternal=this.svg.append("defs"),this.element=this.svg.node()}updateContainer(e){var n;this.prevConfig=this.config,this.config=he(this._defaultConfig,e),(e==null?void 0:e.svgDefs)!==((n=this.prevConfig)===null||n===void 0?void 0:n.svgDefs)&&(this._svgDefsExternal.selectAll("*").remove(),this._svgDefsExternal.html(e.svgDefs))}_preRender(){}_render(e){const{config:n}=this;at(this._container).attr("aria-label",n.ariaLabel),this._isFirstRender=!1}render(e=this.config.duration){const n=this.config.width||this.containerWidth,i=this.config.height||this.containerHeight;this.svg.attr("width",n).attr("height",i),this._resizeObserver||this._setUpResizeObserver(),cancelAnimationFrame(this._renderAnimationFrameId),this._renderAnimationFrameId=requestAnimationFrame(()=>{this._preRender(),this._render(e)})}get containerWidth(){return this.config.width?this.element.clientWidth:this._container.clientWidth||this._container.getBoundingClientRect().width}get containerHeight(){return this.config.height?this.element.clientHeight:this._container.clientHeight||this._container.getBoundingClientRect().height||Ne.DEFAULT_CONTAINER_HEIGHT}get width(){return Ot(this.containerWidth-this.config.margin.left-this.config.margin.right,0,Number.POSITIVE_INFINITY)}get height(){return Ot(this.containerHeight-this.config.margin.top-this.config.margin.bottom,0,Number.POSITIVE_INFINITY)}_removeAllChildren(){for(;this.element.firstChild;)this.element.removeChild(this.element.firstChild)}_onResize(){const{config:e}=this;(e.sizing===Ht.Fit||e.sizing===Ht.FitWidth)&&this.render(0)}_setUpResizeObserver(){if(this._resizeObserver)return;const e=this._container.getBoundingClientRect();this._containerSize={width:e.width,height:e.height},this._resizeObserver=new Qh((n,i)=>{cancelAnimationFrame(this._resizeObserverAnimationFrameId),this._resizeObserverAnimationFrameId=requestAnimationFrame(()=>{const r=this._container.getBoundingClientRect(),o={width:r.width,height:r.height};!je(this._containerSize,o)&&o.width&&o.height&&(this._containerSize=o,this._onResize())})}),this._resizeObserver.observe(this._container)}destroy(){var e;cancelAnimationFrame(this._renderAnimationFrameId),cancelAnimationFrame(this._resizeObserverAnimationFrameId),(e=this._resizeObserver)===null||e===void 0||e.disconnect(),this.svg.remove()}}Ne.DEFAULT_CONTAINER_HEIGHT=300;function Jh(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Kh(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var tf=function(){function t(n){var i=this;this._insertTag=function(r){var o;i.tags.length===0?i.insertionPoint?o=i.insertionPoint.nextSibling:i.prepend?o=i.container.firstChild:o=i.before:o=i.tags[i.tags.length-1].nextSibling,i.container.insertBefore(r,o),i.tags.push(r)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(i){i.forEach(this._insertTag)},e.insert=function(i){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Kh(this));var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=Jh(r);try{o.insertRule(i,o.cssRules.length)}catch{}}else r.appendChild(document.createTextNode(i));this.ctr++},e.flush=function(){this.tags.forEach(function(i){var r;return(r=i.parentNode)==null?void 0:r.removeChild(i)}),this.tags=[],this.ctr=0},t}(),nt="-ms-",Pn="-moz-",I="-webkit-",gs="comm",rr="rule",or="decl",ef="@import",ms="@keyframes",nf="@layer",rf=Math.abs,zn=String.fromCharCode,of=Object.assign;function sf(t,e){return tt(t,0)^45?(((e<<2^tt(t,0))<<2^tt(t,1))<<2^tt(t,2))<<2^tt(t,3):0}function _s(t){return t.trim()}function af(t,e){return(t=e.exec(t))?t[0]:t}function V(t,e,n){return t.replace(e,n)}function sr(t,e){return t.indexOf(e)}function tt(t,e){return t.charCodeAt(e)|0}function Ke(t,e,n){return t.slice(e,n)}function Lt(t){return t.length}function ar(t){return t.length}function In(t,e){return e.push(t),t}function lf(t,e){return t.map(e).join("")}var Vn=1,De=1,vs=0,ct=0,j=0,Oe="";function Hn(t,e,n,i,r,o,s){return{value:t,root:e,parent:n,type:i,props:r,children:o,line:Vn,column:De,length:s,return:""}}function tn(t,e){return of(Hn("",null,null,"",null,null,0),t,{length:-t.length},e)}function cf(){return j}function uf(){return j=ct>0?tt(Oe,--ct):0,De--,j===10&&(De=1,Vn--),j}function xt(){return j=ct<vs?tt(Oe,ct++):0,De++,j===10&&(De=1,Vn++),j}function Bt(){return tt(Oe,ct)}function Wn(){return ct}function en(t,e){return Ke(Oe,t,e)}function nn(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function ys(t){return Vn=De=1,vs=Lt(Oe=t),ct=0,[]}function xs(t){return Oe="",t}function Un(t){return _s(en(ct-1,lr(t===91?t+2:t===40?t+1:t)))}function hf(t){for(;(j=Bt())&&j<33;)xt();return nn(t)>2||nn(j)>3?"":" "}function ff(t,e){for(;--e&&xt()&&!(j<48||j>102||j>57&&j<65||j>70&&j<97););return en(t,Wn()+(e<6&&Bt()==32&&xt()==32))}function lr(t){for(;xt();)switch(j){case t:return ct;case 34:case 39:t!==34&&t!==39&&lr(j);break;case 40:t===41&&lr(t);break;case 92:xt();break}return ct}function df(t,e){for(;xt()&&t+j!==57;)if(t+j===84&&Bt()===47)break;return"/*"+en(e,ct-1)+"*"+zn(t===47?t:xt())}function pf(t){for(;!nn(Bt());)xt();return en(t,ct)}function gf(t){return xs(Yn("",null,null,null,[""],t=ys(t),0,[0],t))}function Yn(t,e,n,i,r,o,s,a,l){for(var c=0,h=0,u=s,f=0,p=0,m=0,g=1,_=1,y=1,x=0,v="",w=r,k=o,b=i,T=v;_;)switch(m=x,x=xt()){case 40:if(m!=108&&tt(T,u-1)==58){sr(T+=V(Un(x),"&","&\f"),"&\f")!=-1&&(y=-1);break}case 34:case 39:case 91:T+=Un(x);break;case 9:case 10:case 13:case 32:T+=hf(m);break;case 92:T+=ff(Wn()-1,7);continue;case 47:switch(Bt()){case 42:case 47:In(mf(df(xt(),Wn()),e,n),l);break;default:T+="/"}break;case 123*g:a[c++]=Lt(T)*y;case 125*g:case 59:case 0:switch(x){case 0:case 125:_=0;case 59+h:y==-1&&(T=V(T,/\f/g,"")),p>0&&Lt(T)-u&&In(p>32?ws(T+";",i,n,u-1):ws(V(T," ","")+";",i,n,u-2),l);break;case 59:T+=";";default:if(In(b=bs(T,e,n,c,h,r,a,v,w=[],k=[],u),o),x===123)if(h===0)Yn(T,e,b,b,w,o,u,a,k);else switch(f===99&&tt(T,3)===110?100:f){case 100:case 108:case 109:case 115:Yn(t,b,b,i&&In(bs(t,b,b,0,0,r,a,v,r,w=[],u),k),r,k,u,a,i?w:k);break;default:Yn(T,b,b,b,[""],k,0,a,k)}}c=h=p=0,g=y=1,v=T="",u=s;break;case 58:u=1+Lt(T),p=m;default:if(g<1){if(x==123)--g;else if(x==125&&g++==0&&uf()==125)continue}switch(T+=zn(x),x*g){case 38:y=h>0?1:(T+="\f",-1);break;case 44:a[c++]=(Lt(T)-1)*y,y=1;break;case 64:Bt()===45&&(T+=Un(xt())),f=Bt(),h=u=Lt(v=T+=pf(Wn())),x++;break;case 45:m===45&&Lt(T)==2&&(g=0)}}return o}function bs(t,e,n,i,r,o,s,a,l,c,h){for(var u=r-1,f=r===0?o:[""],p=ar(f),m=0,g=0,_=0;m<i;++m)for(var y=0,x=Ke(t,u+1,u=rf(g=s[m])),v=t;y<p;++y)(v=_s(g>0?f[y]+" "+x:V(x,/&\f/g,f[y])))&&(l[_++]=v);return Hn(t,e,n,r===0?rr:a,l,c,h)}function mf(t,e,n){return Hn(t,e,n,gs,zn(cf()),Ke(t,2,-2),0)}function ws(t,e,n,i){return Hn(t,e,n,or,Ke(t,0,i),Ke(t,i+1,-1),i)}function Re(t,e){for(var n="",i=ar(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function _f(t,e,n,i){switch(t.type){case nf:if(t.children.length)break;case ef:case or:return t.return=t.return||t.value;case gs:return"";case ms:return t.return=t.value+"{"+Re(t.children,i)+"}";case rr:t.value=t.props.join(",")}return Lt(n=Re(t.children,i))?t.return=t.value+"{"+n+"}":""}function vf(t){var e=ar(t);return function(n,i,r,o){for(var s="",a=0;a<e;a++)s+=t[a](n,i,r,o)||"";return s}}function yf(t){return function(e){e.root||(e=e.return)&&t(e)}}function xf(t){var e=Object.create(null);return function(n){return e[n]===void 0&&(e[n]=t(n)),e[n]}}var bf=function(e,n,i){for(var r=0,o=0;r=o,o=Bt(),r===38&&o===12&&(n[i]=1),!nn(o);)xt();return en(e,ct)},wf=function(e,n){var i=-1,r=44;do switch(nn(r)){case 0:r===38&&Bt()===12&&(n[i]=1),e[i]+=bf(ct-1,n,i);break;case 2:e[i]+=Un(r);break;case 4:if(r===44){e[++i]=Bt()===58?"&\f":"",n[i]=e[i].length;break}default:e[i]+=zn(r)}while(r=xt());return e},kf=function(e,n){return xs(wf(ys(e),n))},ks=new WeakMap,Sf=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var n=e.value,i=e.parent,r=e.column===i.column&&e.line===i.line;i.type!=="rule";)if(i=i.parent,!i)return;if(!(e.props.length===1&&n.charCodeAt(0)!==58&&!ks.get(i))&&!r){ks.set(e,!0);for(var o=[],s=kf(n,o),a=i.props,l=0,c=0;l<s.length;l++)for(var h=0;h<a.length;h++,c++)e.props[c]=o[l]?s[l].replace(/&\f/g,a[h]):a[h]+" "+s[l]}}},Tf=function(e){if(e.type==="decl"){var n=e.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(e.return="",e.value="")}};function Ss(t,e){switch(sf(t,e)){case 5103:return I+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return I+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return I+t+Pn+t+nt+t+t;case 6828:case 4268:return I+t+nt+t+t;case 6165:return I+t+nt+"flex-"+t+t;case 5187:return I+t+V(t,/(\w+).+(:[^]+)/,I+"box-$1$2"+nt+"flex-$1$2")+t;case 5443:return I+t+nt+"flex-item-"+V(t,/flex-|-self/,"")+t;case 4675:return I+t+nt+"flex-line-pack"+V(t,/align-content|flex-|-self/,"")+t;case 5548:return I+t+nt+V(t,"shrink","negative")+t;case 5292:return I+t+nt+V(t,"basis","preferred-size")+t;case 6060:return I+"box-"+V(t,"-grow","")+I+t+nt+V(t,"grow","positive")+t;case 4554:return I+V(t,/([^-])(transform)/g,"$1"+I+"$2")+t;case 6187:return V(V(V(t,/(zoom-|grab)/,I+"$1"),/(image-set)/,I+"$1"),t,"")+t;case 5495:case 3959:return V(t,/(image-set\([^]*)/,I+"$1$`$1");case 4968:return V(V(t,/(.+:)(flex-)?(.*)/,I+"box-pack:$3"+nt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+I+t+t;case 4095:case 3583:case 4068:case 2532:return V(t,/(.+)-inline(.+)/,I+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Lt(t)-1-e>6)switch(tt(t,e+1)){case 109:if(tt(t,e+4)!==45)break;case 102:return V(t,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+Pn+(tt(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~sr(t,"stretch")?Ss(V(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(tt(t,e+1)!==115)break;case 6444:switch(tt(t,Lt(t)-3-(~sr(t,"!important")&&10))){case 107:return V(t,":",":"+I)+t;case 101:return V(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(tt(t,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+nt+"$2box$3")+t}break;case 5936:switch(tt(t,e+11)){case 114:return I+t+nt+V(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return I+t+nt+V(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return I+t+nt+V(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return I+t+nt+t+t}return t}var Cf=function(e,n,i,r){if(e.length>-1&&!e.return)switch(e.type){case or:e.return=Ss(e.value,e.length);break;case ms:return Re([tn(e,{value:V(e.value,"@","@"+I)})],r);case rr:if(e.length)return lf(e.props,function(o){switch(af(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Re([tn(e,{props:[V(o,/:(read-\w+)/,":"+Pn+"$1")]})],r);case"::placeholder":return Re([tn(e,{props:[V(o,/:(plac\w+)/,":"+I+"input-$1")]}),tn(e,{props:[V(o,/:(plac\w+)/,":"+Pn+"$1")]}),tn(e,{props:[V(o,/:(plac\w+)/,nt+"input-$1")]})],r)}return""})}},Af=[Cf],Mf=function(e){var n=e.key;if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(g){var _=g.getAttribute("data-emotion");_.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var r=e.stylisPlugins||Af,o={},s,a=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(g){for(var _=g.getAttribute("data-emotion").split(" "),y=1;y<_.length;y++)o[_[y]]=!0;a.push(g)});var l,c=[Sf,Tf];{var h,u=[_f,yf(function(g){h.insert(g)})],f=vf(c.concat(r,u)),p=function(_){return Re(gf(_),f)};l=function(_,y,x,v){h=x,p(_?_+"{"+y.styles+"}":y.styles),v&&(m.inserted[y.name]=!0)}}var m={key:n,sheet:new tf({key:n,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:l};return m.sheet.hydrate(a),m};function $f(t){for(var e=0,n,i=0,r=t.length;r>=4;++i,r-=4)n=t.charCodeAt(i)&255|(t.charCodeAt(++i)&255)<<8|(t.charCodeAt(++i)&255)<<16|(t.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,e=(n&65535)*1540483477+((n>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(r){case 3:e^=(t.charCodeAt(i+2)&255)<<16;case 2:e^=(t.charCodeAt(i+1)&255)<<8;case 1:e^=t.charCodeAt(i)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var Ef={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Nf=/[A-Z]|^ms/g,Df=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Ts=function(e){return e.charCodeAt(1)===45},Cs=function(e){return e!=null&&typeof e!="boolean"},cr=xf(function(t){return Ts(t)?t:t.replace(Nf,"-$&").toLowerCase()}),As=function(e,n){switch(e){case"animation":case"animationName":if(typeof n=="string")return n.replace(Df,function(i,r,o){return te={name:r,styles:o,next:te},r})}return Ef[e]!==1&&!Ts(e)&&typeof n=="number"&&n!==0?n+"px":n};function Xn(t,e,n){if(n==null)return"";var i=n;if(i.__emotion_styles!==void 0)return i;switch(typeof n){case"boolean":return"";case"object":{var r=n;if(r.anim===1)return te={name:r.name,styles:r.styles,next:te},r.name;var o=n;if(o.styles!==void 0){var s=o.next;if(s!==void 0)for(;s!==void 0;)te={name:s.name,styles:s.styles,next:te},s=s.next;var a=o.styles+";";return a}return Of(t,e,n)}}var l=n;if(e==null)return l;var c=e[l];return c!==void 0?c:l}function Of(t,e,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=Xn(t,e,n[r])+";";else for(var o in n){var s=n[o];if(typeof s!="object"){var a=s;e!=null&&e[a]!==void 0?i+=o+"{"+e[a]+"}":Cs(a)&&(i+=cr(o)+":"+As(o,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(e==null||e[s[0]]===void 0))for(var l=0;l<s.length;l++)Cs(s[l])&&(i+=cr(o)+":"+As(o,s[l])+";");else{var c=Xn(t,e,s);switch(o){case"animation":case"animationName":{i+=cr(o)+":"+c+";";break}default:i+=o+"{"+c+"}"}}}return i}var Ms=/label:\s*([^\s;{]+)\s*(;|$)/g,te;function ur(t,e,n){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var i=!0,r="";te=void 0;var o=t[0];if(o==null||o.raw===void 0)i=!1,r+=Xn(n,e,o);else{var s=o;r+=s[0]}for(var a=1;a<t.length;a++)if(r+=Xn(n,e,t[a]),i){var l=o;r+=l[a]}Ms.lastIndex=0;for(var c="",h;(h=Ms.exec(r))!==null;)c+="-"+h[1];var u=$f(r)+c;return{name:u,styles:r,next:te}}function $s(t,e,n){var i="";return n.split(" ").forEach(function(r){t[r]!==void 0?e.push(t[r]+";"):r&&(i+=r+" ")}),i}var Rf=function(e,n,i){var r=e.key+"-"+n.name;e.registered[r]===void 0&&(e.registered[r]=n.styles)},Lf=function(e,n,i){Rf(e,n);var r=e.key+"-"+n.name;if(e.inserted[n.name]===void 0){var o=n;do e.insert(n===o?"."+r:"",o,e.sheet,!0),o=o.next;while(o!==void 0)}};function Es(t,e){if(t.inserted[e.name]===void 0)return t.insert("",e,t.sheet,!0)}function Ns(t,e,n){var i=[],r=$s(t,i,n);return i.length<2?n:r+e(i)}var Bf=function(e){var n=Mf(e);n.sheet.speedy=function(a){this.isSpeedy=a},n.compat=!0;var i=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=ur(c,n.registered,void 0);return Lf(n,u),n.key+"-"+u.name},r=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=ur(c,n.registered),f="animation-"+u.name;return Es(n,{name:u.name,styles:"@keyframes "+f+"{"+u.styles+"}"}),f},o=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];var u=ur(c,n.registered);Es(n,u)},s=function(){for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];return Ns(n.registered,i,Ff(c))};return{css:i,cx:s,injectGlobal:o,keyframes:r,hydrate:function(l){l.forEach(function(c){n.inserted[c]=!0})},flush:function(){n.registered={},n.inserted={},n.sheet.flush()},sheet:n.sheet,cache:n,getRegisteredStyles:$s.bind(null,n.registered),merge:Ns.bind(null,n.registered,i)}},Ff=function t(e){for(var n="",i=0;i<e.length;i++){var r=e[i];if(r!=null){var o=void 0;switch(typeof r){case"boolean":break;case"object":{if(Array.isArray(r))o=t(r);else{o="";for(var s in r)r[s]&&s&&(o&&(o+=" "),o+=s)}break}default:o=r}o&&(n&&(n+=" "),n+=o)}}return n},Ds=Bf({key:"css"}),Ut=Ds.injectGlobal,D=Ds.css;function Pf(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var hr,Os;function zf(){return Os||(Os=1,hr=function(e,n){n||(n=[0,""]),e=String(e);var i=parseFloat(e,10);return n[0]=i,n[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",n}),hr}var fr,Rs;function If(){if(Rs)return fr;Rs=1;var t=zf();fr=r;var e=i("in",document.body);function n(o,s){var a=t(getComputedStyle(o).getPropertyValue(s));return a[0]*r(a[1],o)}function i(o,s){var a=document.createElement("div");a.style.height="128"+o,s.appendChild(a);var l=n(a,"height")/128;return s.removeChild(a),l}function r(o,s){if(!o)return null;switch(s=s||document.body,o=(o+""||"px").trim().toLowerCase(),(s===window||s===document)&&(s=document.body),o){case"%":return s.clientHeight/100;case"ch":case"ex":return i(o,s);case"em":return n(s,"font-size");case"rem":return n(document.body,"font-size");case"vw":return window.innerWidth/100;case"vh":return window.innerHeight/100;case"vmin":return Math.min(window.innerWidth,window.innerHeight)/100;case"vmax":return Math.max(window.innerWidth,window.innerHeight)/100;case"in":return e;case"cm":return e/2.54;case"mm":return e/25.4;case"pt":return e/72;case"pc":return e/6;case"px":return 1}var a=t(o);if(!isNaN(a[0])&&a[1]){var l=r(a[1],s);return typeof l=="number"?a[0]*l:null}return null}return fr}If();function Ls(){const t=()=>Math.floor((1+crypto.getRandomValues(new Uint32Array(1))[0])*65536).toString(16).substring(1);return`${t()+t()}-${t()}-${t()}-${t()}-${t()}${t()}${t()}`}function Vf(t,e){const n=t.substr(4,t.length-5);return getComputedStyle(e).getPropertyValue(n)}function Hf(t,e,n=0){const[i,r,o,s]=[t.x+n,t.y+t.height-2*n,t.x+t.width-2*n,t.y+n],[a,l,c,h]=[e.x+n,e.y+e.height-2*n,e.x+e.width-2*n,e.y+n];return!(r<h||l<s||o<a||c<i)}function dr(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function Bs(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function rn(){}var on=.7,Gn=1/on,Le="\\s*([+-]?\\d+)\\s*",sn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Ft="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Wf=/^#([0-9a-f]{3,8})$/,Uf=new RegExp(`^rgb\\(${Le},${Le},${Le}\\)$`),Yf=new RegExp(`^rgb\\(${Ft},${Ft},${Ft}\\)$`),Xf=new RegExp(`^rgba\\(${Le},${Le},${Le},${sn}\\)$`),Gf=new RegExp(`^rgba\\(${Ft},${Ft},${Ft},${sn}\\)$`),qf=new RegExp(`^hsl\\(${sn},${Ft},${Ft}\\)$`),jf=new RegExp(`^hsla\\(${sn},${Ft},${Ft},${sn}\\)$`),Fs={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};dr(rn,pe,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ps,formatHex:Ps,formatHex8:Zf,formatHsl:Qf,formatRgb:zs,toString:zs});function Ps(){return this.rgb().formatHex()}function Zf(){return this.rgb().formatHex8()}function Qf(){return Us(this).formatHsl()}function zs(){return this.rgb().formatRgb()}function pe(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Wf.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Is(e):n===3?new ut(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?qn(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?qn(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=Uf.exec(t))?new ut(e[1],e[2],e[3],1):(e=Yf.exec(t))?new ut(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=Xf.exec(t))?qn(e[1],e[2],e[3],e[4]):(e=Gf.exec(t))?qn(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=qf.exec(t))?Ws(e[1],e[2]/100,e[3]/100,1):(e=jf.exec(t))?Ws(e[1],e[2]/100,e[3]/100,e[4]):Fs.hasOwnProperty(t)?Is(Fs[t]):t==="transparent"?new ut(NaN,NaN,NaN,0):null}function Is(t){return new ut(t>>16&255,t>>8&255,t&255,1)}function qn(t,e,n,i){return i<=0&&(t=e=n=NaN),new ut(t,e,n,i)}function Jf(t){return t instanceof rn||(t=pe(t)),t?(t=t.rgb(),new ut(t.r,t.g,t.b,t.opacity)):new ut}function pr(t,e,n,i){return arguments.length===1?Jf(t):new ut(t,e,n,i??1)}function ut(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}dr(ut,pr,Bs(rn,{brighter(t){return t=t==null?Gn:Math.pow(Gn,t),new ut(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?on:Math.pow(on,t),new ut(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ut(ge(this.r),ge(this.g),ge(this.b),jn(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:Vs,formatHex:Vs,formatHex8:Kf,formatRgb:Hs,toString:Hs}));function Vs(){return`#${me(this.r)}${me(this.g)}${me(this.b)}`}function Kf(){return`#${me(this.r)}${me(this.g)}${me(this.b)}${me((isNaN(this.opacity)?1:this.opacity)*255)}`}function Hs(){const t=jn(this.opacity);return`${t===1?"rgb(":"rgba("}${ge(this.r)}, ${ge(this.g)}, ${ge(this.b)}${t===1?")":`, ${t})`}`}function jn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ge(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function me(t){return t=ge(t),(t<16?"0":"")+t.toString(16)}function Ws(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new At(t,e,n,i)}function Us(t){if(t instanceof At)return new At(t.h,t.s,t.l,t.opacity);if(t instanceof rn||(t=pe(t)),!t)return new At;if(t instanceof At)return t;t=t.rgb();var e=t.r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),o=Math.max(e,n,i),s=NaN,a=o-r,l=(o+r)/2;return a?(e===o?s=(n-i)/a+(n<i)*6:n===o?s=(i-e)/a+2:s=(e-n)/a+4,a/=l<.5?o+r:2-o-r,s*=60):a=l>0&&l<1?0:s,new At(s,a,l,t.opacity)}function gr(t,e,n,i){return arguments.length===1?Us(t):new At(t,e,n,i??1)}function At(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}dr(At,gr,Bs(rn,{brighter(t){return t=t==null?Gn:Math.pow(Gn,t),new At(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?on:Math.pow(on,t),new At(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new ut(mr(t>=240?t-240:t+120,r,i),mr(t,r,i),mr(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new At(Ys(this.h),Zn(this.s),Zn(this.l),jn(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 t=jn(this.opacity);return`${t===1?"hsl(":"hsla("}${Ys(this.h)}, ${Zn(this.s)*100}%, ${Zn(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Ys(t){return t=(t||0)%360,t<0?t+360:t}function Zn(t){return Math.max(0,Math.min(1,t||0))}function mr(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const an=(globalThis==null?void 0:globalThis.UNOVIS_COLORS)||["#4D8CFD","#FF6B7E","#F4B83E","#A6CC74","#00C19A","#6859BE"],td=(globalThis==null?void 0:globalThis.UNOVIS_COLORS_DARK)||["#4D8CFD","#FF6B7E","#FFC16D","#A6CC74","#00C19A","#7887E0"],ee=t=>`--vis-${yt(t)?`color${t%an.length}`:t}`;function ed(t,e=.4){const n=gr(t);return n.l=n.l*(1+e),n.formatHex()}function nd(t,e=.4,n=.6){const i=gr(t);return i.s=i.s*(1-n),i.l=i.l*(1-e),i.formatHex()}const ln=10,_r=[{id:"stripes-diagonal",svg:'<path d="M-1,1 l2,-2 M0,10 l10,-10 M9,11 l2,-2" stroke="#000"/>'},{id:"dots",svg:'<path d="m0-1.5a1 1 0 010 3m10-3a1 1 0 000 3M5 3.5a1 1 0 010 3 1 1 0 010-3M0 8.5 a1 1 0 010 3m10-3a1 1 0 000 3" fill"#000"/>'},{id:"stripes-vertical",svg:'<path d="M 5,-1 L5,11" stroke="#000"/>'},{id:"crosshatch",svg:'<path d="M0 0L10 10ZM10 0L0 10Z" stroke="#000"/>'},{id:"waves",svg:'<path d="M0 4Q2.5 1 5 4 7.5 7 10 4v2Q7.5 9 5 6 2.5 3 0 6Z" fill="#000"/>'},{id:"circles",svg:'<circle cx="5" cy="5" r="3" stroke="#000" fill="#fff"/>'}],vr=[{id:"circle",marker:'<circle cx="5" cy="5" r="5"/>',dashArray:[]},{id:"triangle",marker:'<path d="M5,0 L10,9 L0,9Z">',dashArray:[9,1]},{id:"diamond",marker:'<path d="M 0 5 L5 0 L 10 5 L 5 10 L 0 5Z">',dashArray:[2]},{id:"arrow",marker:'<path d="M4 0 0 0 6 5 0 10 4 10 10 5Z">',dashArray:[2,3,8,3]},{id:"square",marker:'<rect x="1" y="1" width="8" height="8"/>',dashArray:[6]},{id:"star",marker:'<path d="m2 9 3-9 3 9L0 3h10Z"/>',dashArray:[1,6]}];function ne(t){return`vis-${`pattern-${t.svg?"fill":"marker"}`}-${t.id}`}const id=t=>`<mask id="${ne(t)}">
|
|
2
2
|
<pattern id="${t.id}" viewBox="0 0 10 10" width="${ln}" height="${ln}" patternUnits="userSpaceOnUse">
|
|
3
3
|
<rect width="100%" height="100%" fill="#fff"/>
|
|
4
4
|
${t.svg}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-chrts",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.umd.cjs",
|
|
6
6
|
"files": [
|
|
@@ -23,17 +23,15 @@
|
|
|
23
23
|
"deploy": "pnpm build && npm publish"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"
|
|
26
|
+
"vue": "^3.5.13"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"vue-router": "^4.5.0",
|
|
27
30
|
"@tanstack/vue-table": "^8.21.2",
|
|
28
31
|
"@unhead/vue": "^1.11.18",
|
|
29
32
|
"@vueuse/core": "^12.6.1",
|
|
30
|
-
"d3": "^7.8.5",
|
|
31
33
|
"tailwindcss": "^4.0.9",
|
|
32
|
-
"
|
|
33
|
-
"vue-router": "^4.5.0"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@types/d3": "^7.4.0",
|
|
34
|
+
"@tailwindcss/vite": "^4.0.9",
|
|
37
35
|
"@unovis/ts": "^1.5.0",
|
|
38
36
|
"@unovis/vue": "^1.5.0",
|
|
39
37
|
"@vitejs/plugin-vue": "^5.2.1",
|