@advt-gpt-chart/package 0.0.39 → 0.0.40

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/index.es.js CHANGED
@@ -185092,8 +185092,8 @@ const vCi = () => {
185092
185092
  }, [s]), wr(() => {
185093
185093
  const v = (b) => {
185094
185094
  if (s.visible) {
185095
- const y = document.querySelector(".chart-content");
185096
- y && !y.contains(b.target) && e.current && !e.current.contains(b.target) && l(rn(Ee({}, s), { visible: !1 }));
185095
+ const y = b.target;
185096
+ !y.closest(".chart-content") && e.current && !e.current.contains(y) && l(rn(Ee({}, s), { visible: !1 }));
185097
185097
  }
185098
185098
  };
185099
185099
  return s != null && s.visible && document.addEventListener("mousedown", v), () => {
@@ -185307,7 +185307,7 @@ const vCi = () => {
185307
185307
  if (!t)
185308
185308
  return null;
185309
185309
  const { type: C } = t, x = GS[C];
185310
- return /* @__PURE__ */ Ce.jsx("div", { className: "drill-by-chart-content", children: /* @__PURE__ */ Ce.jsx(x, Ee({}, t)) });
185310
+ return /* @__PURE__ */ Ce.jsx("div", { className: "chart-content", children: /* @__PURE__ */ Ce.jsx(x, Ee({}, t)) });
185311
185311
  };
185312
185312
  return /* @__PURE__ */ Ce.jsxs(yCi, { className: "drill-by-chart-container", children: [
185313
185313
  /* @__PURE__ */ Ce.jsxs("div", { className: "drill-title", children: [
@@ -203831,7 +203831,7 @@ const n9i = () => {
203831
203831
  var r = n, { children: i, components: e } = r, t = Bc(r, ["children", "components"]);
203832
203832
  const o = ht.Children.toArray(i).join("").trim(), a = xRi(o) ? "json" : "md";
203833
203833
  return /* @__PURE__ */ Ce.jsx(CRi, rn(Ee({ renderMode: a, components: Ee({ code: SRi }, e) }, t), { children: o }));
203834
- }, r9i = $I(wRi), o9i = "0.0.39";
203834
+ }, r9i = $I(wRi), o9i = "0.0.40";
203835
203835
  export {
203836
203836
  jti as Area,
203837
203837
  Gti as Bar,
Binary file
package/dist/index.umd.js CHANGED
@@ -10749,7 +10749,7 @@ ${r}
10749
10749
  }
10750
10750
  }
10751
10751
  `}
10752
- `;function e_i(i,e,t){return i==null?void 0:i.map(r=>{let o={};return e==null||e.forEach(s=>{s.fieldName===r.name?o={fieldType:s.type,fieldName:s.fieldName}:s.fieldName===t.value&&(r.name===t.value||r.name===t.label)&&(o={fieldType:s.type,fieldName:s.fieldName})}),Te(Te({},r),o)})}const t_i=()=>{const i=bf(),e=re.useRef(null),t={label:i.formatMessage({id:"metricTime"}),value:"metricTime"},[n,r]=re.useState({hasTime:!1,items:[]}),[o,s]=re.useState({left:0,top:0}),[a,l]=re.useState({visible:!1,clientX:0,clientY:0}),{contextMenu:u,controllerConfig:c,drillBy:h,dataSourceQueryInfo:d,setChartDrillBy:f}=m0(),g=re.useMemo(()=>{const{rightClickValue:v}=u,{fieldInfo:b}=d;return e_i(v,b,t)},[u==null?void 0:u.rightClickValue]);re.useEffect(()=>{var y,C,x;const{dimensions:v}=d,b=((y=h==null?void 0:h.config)==null?void 0:y.history)||[];if((g==null?void 0:g.length)>0)if(g.some(w=>w.fieldType==="TIMESTAMP")){const w=((C=b[b.length-1])==null?void 0:C.selectedTimeGrain)||(c==null?void 0:c.timeGrain)||"year",E=Nyi(w);r({hasTime:!0,items:dd(E)})}else{const E=(((x=c==null?void 0:c.dimensions)==null?void 0:x.map(T=>T.value))||[]).concat(b.map(T=>{var M;return(M=T==null?void 0:T.selectedMenuItem)==null?void 0:M.key}).filter(Boolean)),A=(v==null?void 0:v.map(T=>({key:T.value,label:T.label,value:T.value})).filter(T=>!E.includes(T.value)&&T.value!=="metricTime"))||[];r({hasTime:!1,items:A})}else l({visible:!1,clientX:0,clientY:0});l(u)},[g]);const p=()=>{var A,T;const{clientX:v=0,clientY:b=0}=a,y=((A=e.current)==null?void 0:A.clientWidth)||150,C=((T=e.current)==null?void 0:T.clientHeight)||280;let x=v||0,S=b||0;const w=window.innerWidth,E=window.innerHeight;return x+y>w&&(x=Math.max(0,w-y)),S+C>E&&(S=Math.max(0,b-C)),{left:x,top:S}};re.useLayoutEffect(()=>{if(a.visible&&e.current){const v=p();s(v)}},[a]),re.useEffect(()=>{const v=b=>{if(a.visible){const y=document.querySelector(".chart-content");y&&!y.contains(b.target)&&e.current&&!e.current.contains(b.target)&&l(on(Te({},a),{visible:!1}))}};return a!=null&&a.visible&&document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[a==null?void 0:a.visible]);const m=v=>{var x;const b={},{dimensions:y}=d;if(n!=null&&n.hasTime){b.selectedTimeGrain=v;const S=[];g.forEach(w=>{if(w.fieldType!=="TIMESTAMP"){const E=Ise(w,y);S.push({type:"basic",basic:Te({condition:"equal",value:w==null?void 0:w.value},E)})}}),b.filters=S,b.rightClickInfo=g}else{const S=[];b.selectedMenuItem=n==null?void 0:n.items.find(w=>(w==null?void 0:w.key)===v),g.forEach(w=>{const E=Ise(w,y);S.push({type:"basic",basic:Te({condition:"equal",value:w==null?void 0:w.value},E)})}),b.filters=S,b.rightClickInfo=g}const C=[...((x=h==null?void 0:h.config)==null?void 0:x.history)||[],b];f({visible:!0,config:{history:C,current:b}}),l({visible:!1})};return a!=null&&a.visible?Se.jsxs(Jyi,{ref:e,style:o,children:[Se.jsx("div",{className:"menu-title",children:Se.jsx(gs,{id:"drillDown"})}),Se.jsx(v1,{mode:"inline",items:n==null?void 0:n.items,onClick:({key:v})=>m(v)})]}):null},i_i=i=>R.createElement("svg",Te({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),R.createElement("path",{d:"M15.8337 14.166H18.3337L15.0003 18.3327L11.667 14.166H14.167V9.99935H5.83366V14.166H8.33366L5.00033 18.3327L1.66699 14.166H4.16699V8.33268H9.16699V1.66602H10.8337V8.33268H15.8337V14.166Z",fill:"#89898A"})),n_i=$a.div`
10752
+ `;function e_i(i,e,t){return i==null?void 0:i.map(r=>{let o={};return e==null||e.forEach(s=>{s.fieldName===r.name?o={fieldType:s.type,fieldName:s.fieldName}:s.fieldName===t.value&&(r.name===t.value||r.name===t.label)&&(o={fieldType:s.type,fieldName:s.fieldName})}),Te(Te({},r),o)})}const t_i=()=>{const i=bf(),e=re.useRef(null),t={label:i.formatMessage({id:"metricTime"}),value:"metricTime"},[n,r]=re.useState({hasTime:!1,items:[]}),[o,s]=re.useState({left:0,top:0}),[a,l]=re.useState({visible:!1,clientX:0,clientY:0}),{contextMenu:u,controllerConfig:c,drillBy:h,dataSourceQueryInfo:d,setChartDrillBy:f}=m0(),g=re.useMemo(()=>{const{rightClickValue:v}=u,{fieldInfo:b}=d;return e_i(v,b,t)},[u==null?void 0:u.rightClickValue]);re.useEffect(()=>{var y,C,x;const{dimensions:v}=d,b=((y=h==null?void 0:h.config)==null?void 0:y.history)||[];if((g==null?void 0:g.length)>0)if(g.some(w=>w.fieldType==="TIMESTAMP")){const w=((C=b[b.length-1])==null?void 0:C.selectedTimeGrain)||(c==null?void 0:c.timeGrain)||"year",E=Nyi(w);r({hasTime:!0,items:dd(E)})}else{const E=(((x=c==null?void 0:c.dimensions)==null?void 0:x.map(T=>T.value))||[]).concat(b.map(T=>{var M;return(M=T==null?void 0:T.selectedMenuItem)==null?void 0:M.key}).filter(Boolean)),A=(v==null?void 0:v.map(T=>({key:T.value,label:T.label,value:T.value})).filter(T=>!E.includes(T.value)&&T.value!=="metricTime"))||[];r({hasTime:!1,items:A})}else l({visible:!1,clientX:0,clientY:0});l(u)},[g]);const p=()=>{var A,T;const{clientX:v=0,clientY:b=0}=a,y=((A=e.current)==null?void 0:A.clientWidth)||150,C=((T=e.current)==null?void 0:T.clientHeight)||280;let x=v||0,S=b||0;const w=window.innerWidth,E=window.innerHeight;return x+y>w&&(x=Math.max(0,w-y)),S+C>E&&(S=Math.max(0,b-C)),{left:x,top:S}};re.useLayoutEffect(()=>{if(a.visible&&e.current){const v=p();s(v)}},[a]),re.useEffect(()=>{const v=b=>{if(a.visible){const y=b.target;!y.closest(".chart-content")&&e.current&&!e.current.contains(y)&&l(on(Te({},a),{visible:!1}))}};return a!=null&&a.visible&&document.addEventListener("mousedown",v),()=>{document.removeEventListener("mousedown",v)}},[a==null?void 0:a.visible]);const m=v=>{var x;const b={},{dimensions:y}=d;if(n!=null&&n.hasTime){b.selectedTimeGrain=v;const S=[];g.forEach(w=>{if(w.fieldType!=="TIMESTAMP"){const E=Ise(w,y);S.push({type:"basic",basic:Te({condition:"equal",value:w==null?void 0:w.value},E)})}}),b.filters=S,b.rightClickInfo=g}else{const S=[];b.selectedMenuItem=n==null?void 0:n.items.find(w=>(w==null?void 0:w.key)===v),g.forEach(w=>{const E=Ise(w,y);S.push({type:"basic",basic:Te({condition:"equal",value:w==null?void 0:w.value},E)})}),b.filters=S,b.rightClickInfo=g}const C=[...((x=h==null?void 0:h.config)==null?void 0:x.history)||[],b];f({visible:!0,config:{history:C,current:b}}),l({visible:!1})};return a!=null&&a.visible?Se.jsxs(Jyi,{ref:e,style:o,children:[Se.jsx("div",{className:"menu-title",children:Se.jsx(gs,{id:"drillDown"})}),Se.jsx(v1,{mode:"inline",items:n==null?void 0:n.items,onClick:({key:v})=>m(v)})]}):null},i_i=i=>R.createElement("svg",Te({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),R.createElement("path",{d:"M15.8337 14.166H18.3337L15.0003 18.3327L11.667 14.166H14.167V9.99935H5.83366V14.166H8.33366L5.00033 18.3327L1.66699 14.166H4.16699V8.33268H9.16699V1.66602H10.8337V8.33268H15.8337V14.166Z",fill:"#89898A"})),n_i=$a.div`
10753
10753
  ${()=>vl`
10754
10754
  position: absolute;
10755
10755
  top: 48px;
@@ -10788,7 +10788,7 @@ ${r}
10788
10788
  }
10789
10789
  }
10790
10790
  `}
10791
- `,r_i=(i,e)=>{const t=Hr(e),n=t.year();let r=Hr(),o=Hr();switch(i.toLowerCase()){case"year":r=Hr(`${n}-01-01`),o=Hr(`${n}-12-31`).endOf("day");break;case"quarter":{const a=(Math.floor(t.month()/3)+1-1)*3+1;r=Hr(`${n}-${a.toString().padStart(2,"0")}-01`),o=r.add(3,"month").subtract(1,"day").endOf("day");break}case"month":{const s=t.month()+1;r=Hr(`${n}-${s.toString().padStart(2,"0")}-01`),o=r.endOf("month");break}case"week":r=t.startOf("week"),o=t.endOf("week");break;default:r=Hr(`${n}-01-01`),o=Hr(`${n}-12-31`).endOf("day")}return{type:"custom",custom:{from:r.format(l7),to:o.format(l7)}}},o_i=({dataSource:i})=>{var b,y;const e=bf(),[t,n]=re.useState(),[r,o]=re.useState([]),[s,a]=re.useState(!0),[l,u]=re.useState({visible:!1,title:"",message:""}),{drillBy:c,dataSourceQueryInfo:h,controllerConfig:d,setChartDrillBy:f,chartJson:g}=m0(),{queryDrillByChartData:p}=Nze(i==null?void 0:i.type);re.useEffect(()=>{var x,S,w,E,A;const C=(x=c==null?void 0:c.config)==null?void 0:x.current;if(a(!0),C){const T=$St(d),{selectedTimeGrain:M,selectedMenuItem:k,rightClickInfo:O}=C,P=((S=c==null?void 0:c.config)==null?void 0:S.history)||[],B=P.flatMap(H=>(H==null?void 0:H.filters)||[]);T.filters=[...d.filters||[],...B];let N=!1;if(M){T.timeGrain=M;const H=O==null?void 0:O[0].value;if(H){const W=((w=P[P.length-2])==null?void 0:w.selectedTimeGrain)||(d==null?void 0:d.timeGrain)||"year";T.timeRange=r_i(W,H)}N=!0}else{const H=((E=h==null?void 0:h.dimensions)==null?void 0:E.filter(W=>W.value===(k==null?void 0:k.key)))||[];if((g==null?void 0:g.type)===Ja.Heatmap){const W=((A=h==null?void 0:h.dimensions)==null?void 0:A.find(j=>j.label===(g==null?void 0:g.yField)))||[];H.push(W)}T.dimensions=H||[],T.timeGrain=void 0}p({queryData:Te({},T),isHasTime:N,setDrillLoading:a,setDrillError:u})}else a(!1)},[c==null?void 0:c.visible,c==null?void 0:c.config]),re.useEffect(()=>{var w,E,A;const C=((w=c==null?void 0:c.config)==null?void 0:w.history)||[],x=[];C.forEach(T=>{var M;if(T!=null&&T.selectedTimeGrain)x.push({name:e.formatMessage({id:T.selectedTimeGrain}),value:T.selectedTimeGrain});else{const k=[],O=[];if((M=T==null?void 0:T.rightClickInfo)==null||M.forEach(P=>{P!=null&&P.containsMergeKey?k.push(P):O.push(P)}),k.length>0){const P=k.map(B=>`${B==null?void 0:B.name} ${e.formatMessage({id:"equal"})} ${B==null?void 0:B.value}`).join(" , ");x.push({name:P,value:k.map(B=>B.value).join(" , ")})}O.forEach(P=>{x.push({name:`${P==null?void 0:P.name} ${e.formatMessage({id:"equal"})} ${P==null?void 0:P.value}`,value:P.value})})}});const S=C[0];if(S!=null&&S.selectedTimeGrain){const T=(E=S.rightClickInfo)==null?void 0:E[0].name,M={name:T,value:T};x.unshift(M)}else{const T=C[C.length-1];if((A=T==null?void 0:T.selectedMenuItem)!=null&&A.label){const M={name:T.selectedMenuItem.label,value:T.selectedMenuItem.key};x.push(M)}}o(x)},[(b=c==null?void 0:c.config)==null?void 0:b.history]),re.useEffect(()=>{var C;(C=c==null?void 0:c.chartState)!=null&&C.chartJson&&n(c.chartState.chartJson)},[(y=c==null?void 0:c.chartState)==null?void 0:y.chartJson]);const m=C=>{var x,S,w,E,A,T,M,k;if(C===0){f({visible:!1,config:{},chartState:{}});return}if(C>0){const O=(S=(x=c==null?void 0:c.config)==null?void 0:x.history)==null?void 0:S[C-1],P=(E=(w=c==null?void 0:c.config)==null?void 0:w.history)==null?void 0:E.slice(0,C),B=(T=(A=c==null?void 0:c.chartState)==null?void 0:A.history)==null?void 0:T[C-1],N=(k=(M=c==null?void 0:c.chartState)==null?void 0:M.history)==null?void 0:k.slice(0,C);f({visible:!0,config:{history:P,current:O},chartState:{history:N,current:B}})}},v=()=>{if(!t)return null;const{type:C}=t,x=Wb[C];return Se.jsx("div",{className:"drill-by-chart-content",children:Se.jsx(x,Te({},t))})};return Se.jsxs(n_i,{className:"drill-by-chart-container",children:[Se.jsxs("div",{className:"drill-title",children:[Se.jsx(k1,{className:"drill-iocn",component:i_i,onClick:()=>f({visible:!1,config:{},chartState:{}})}),Se.jsx(zk,{items:r.map((C,x)=>x===r.length-1?Te({title:C.name},C):Te({title:Se.jsx(Mee,{onClick:()=>m(x),children:C.name})},C))})]}),!s&&v(),s&&Se.jsx(Zne,{}),l.visible&&Se.jsx(uze,Te({},l))]})},s_i=i=>R.createElement("svg",Te({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},i),R.createElement("path",{d:"M10.0004 1.66602C14.6024 1.66602 18.3337 5.39735 18.3337 9.99939C18.3337 14.6014 14.6024 18.3328 10.0004 18.3328C5.39833 18.3328 1.66699 14.6014 1.66699 9.99939C1.66699 5.39735 5.39833 1.66602 10.0004 1.66602ZM9.16697 6.6668H10.8338V5.00001H9.16697V6.6668ZM10.8338 10.8323V7.4997H9.16697V10.8323H6.66733L10.0004 14.999L13.3335 10.8323H10.8338ZM10.0004 3.33281C6.31818 3.33281 3.33379 6.3172 3.33379 9.99939C3.33379 13.6816 6.31818 16.666 10.0004 16.666C13.6826 16.666 16.667 13.6816 16.667 9.99939C16.667 6.3172 13.6826 3.33281 10.0004 3.33281Z",fill:"currentColor"})),a_i=i=>R.createElement("svg",Te({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),R.createElement("path",{d:"M18.334 5.49121V18.332H1.66699V1.66602H14.5078L18.334 5.49121ZM3.33398 16.666H5V9.99902H14.999V16.666H16.667V6.1748L13.8242 3.33301H11.667V8.33203H5V3.33301H3.33398V16.666ZM6.66602 16.666H13.333V11.666H6.66602V16.666ZM6.66602 6.66602H10V3.33301H6.66602V6.66602Z",fill:"currentColor"}));var KP={exports:{}};/*! dom-to-image-more 20-08-2025 */var l_i=KP.exports,nqe;function u_i(){return nqe||(nqe=1,(function(i,e){(t=>{let n=(()=>{let w=0;return{escape:function(O){return O.replace(/([.*+?^${}()|[\]/\\])/g,"\\$1")},isDataUrl:function(O){return O.search(/^(data:)/)!==-1},canvasToBlob:function(O){return O.toBlob?new Promise(function(P){O.toBlob(P)}):(P=>new Promise(function(B){var N=f(P.toDataURL().split(",")[1]),H=N.length,W=new Uint8Array(H);for(let j=0;j<H;j++)W[j]=N.charCodeAt(j);B(new Blob([W],{type:"image/png"}))}))(O)},resolveUrl:function(O,P){var B=document.implementation.createHTMLDocument(),N=B.createElement("base"),H=(B.head.appendChild(N),B.createElement("a"));return B.body.appendChild(H),N.href=P,H.href=O,H.href},getAndEncode:function(O){let P=c.impl.urlCache.find(function(B){return B.url===O});return P||(P={url:O,promise:null},c.impl.urlCache.push(P)),P.promise===null&&(c.impl.options.cacheBust&&(O+=(/\?/.test(O)?"&":"?")+new Date().getTime()),P.promise=new Promise(function(B){let N=new XMLHttpRequest;function H($){console.error($),B("")}function W(){var $=c.impl.options.imagePlaceholder;$?B($):H("Status:"+N.status+" while fetching resource: "+O)}if(N.timeout=c.impl.options.httpTimeout,N.onerror=W,N.ontimeout=W,N.onloadend=function(){if(N.readyState===XMLHttpRequest.DONE){var $=N.status;if($===0&&O.toLowerCase().startsWith("file://")||200<=$&&$<=300&&N.response!==null){$=N.response,$ instanceof Blob||H("Expected response to be a Blob, but got: "+typeof $);let q=new FileReader;q.onloadend=function(){var X=q.result;B(X)};try{q.readAsDataURL($)}catch(X){H("Failed to read the response as Data URL: "+X.toString())}}else W()}},0<c.impl.options.useCredentialsFilters.length&&(c.impl.options.useCredentials=0<c.impl.options.useCredentialsFilters.filter($=>0<=O.search($)).length),c.impl.options.useCredentials&&(N.withCredentials=!0),c.impl.options.corsImg&&O.indexOf("http")===0&&O.indexOf(window.location.origin)===-1){var j=(c.impl.options.corsImg.method||"GET").toUpperCase()==="POST"?"POST":"GET";N.open(j,(c.impl.options.corsImg.url||"").replace("#{cors}",O),!0);let $=!1,q=c.impl.options.corsImg.headers||{},X=(Object.keys(q).forEach(function(z){q[z].indexOf("application/json")!==-1&&($=!0),N.setRequestHeader(z,q[z])}),(z=>{try{return JSON.parse(JSON.stringify(z))}catch(J){H("corsImg.data is missing or invalid:"+J.toString())}})(c.impl.options.corsImg.data||""));Object.keys(X).forEach(function(z){typeof X[z]=="string"&&(X[z]=X[z].replace("#{cors}",O))}),N.responseType="blob",N.send($?JSON.stringify(X):X)}else N.open("GET",O,!0),N.responseType="blob",N.send()})),P.promise},uid:function(){return"u"+("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)+w++},asArray:function(O){var P=[],B=O.length;for(let N=0;N<B;N++)P.push(O[N]);return P},escapeXhtml:function(O){return O.replace(/%/g,"%25").replace(/#/g,"%23").replace(/\n/g,"%0A")},makeImage:function(O){return O!=="data:,"?new Promise(function(P,B){let N=document.createElementNS("http://www.w3.org/2000/svg","svg"),H=new Image;c.impl.options.useCredentials&&(H.crossOrigin="use-credentials"),H.onload=function(){document.body.removeChild(N),window&&window.requestAnimationFrame?window.requestAnimationFrame(function(){P(H)}):P(H)},H.onerror=W=>{document.body.removeChild(N),B(W)},N.appendChild(H),H.src=O,document.body.appendChild(N)}):Promise.resolve()},width:function(O){var P=k(O,"width");if(!isNaN(P))return P;var P=k(O,"border-left-width"),B=k(O,"border-right-width");return O.scrollWidth+P+B},height:function(O){var P=k(O,"height");if(!isNaN(P))return P;var P=k(O,"border-top-width"),B=k(O,"border-bottom-width");return O.scrollHeight+P+B},getWindow:E,isElement:M,isElementHostForOpenShadowRoot:function(O){return M(O)&&O.shadowRoot!==null},isShadowRoot:A,isInShadowRoot:T,isHTMLElement:function(O){return O instanceof E(O).HTMLElement},isHTMLCanvasElement:function(O){return O instanceof E(O).HTMLCanvasElement},isHTMLInputElement:function(O){return O instanceof E(O).HTMLInputElement},isHTMLImageElement:function(O){return O instanceof E(O).HTMLImageElement},isHTMLLinkElement:function(O){return O instanceof E(O).HTMLLinkElement},isHTMLScriptElement:function(O){return O instanceof E(O).HTMLScriptElement},isHTMLStyleElement:function(O){return O instanceof E(O).HTMLStyleElement},isHTMLTextAreaElement:function(O){return O instanceof E(O).HTMLTextAreaElement},isShadowSlotElement:function(O){return T(O)&&O instanceof E(O).HTMLSlotElement},isSVGElement:function(O){return O instanceof E(O).SVGElement},isSVGRectElement:function(O){return O instanceof E(O).SVGRectElement},isDimensionMissing:function(O){return isNaN(O)||O<=0}};function E(O){return O=O?O.ownerDocument:void 0,(O?O.defaultView:void 0)||window||t}function A(O){return O instanceof E(O).ShadowRoot}function T(O){return O!=null&&O.getRootNode!==void 0&&A(O.getRootNode())}function M(O){return O instanceof E(O).Element}function k(O,P){if(O.nodeType===h){let B=d(O).getPropertyValue(P);if(B.slice(-2)==="px")return B=B.slice(0,-2),parseFloat(B)}return NaN}})(),r=(()=>{let w=/url\(\s*(["']?)((?:\\.|[^\\)])+)\1\s*\)/gm;return{inlineAll:function(k,O,P){return E(k)?Promise.resolve(k).then(A).then(function(B){let N=Promise.resolve(k);return B.forEach(function(H){N=N.then(function(W){return M(W,H,O,P)})}),N}):Promise.resolve(k)},shouldProcess:E,impl:{readUrls:A,inline:M,urlAsRegex:T}};function E(k){return k.search(w)!==-1}function A(k){for(var O,P=[];(O=w.exec(k))!==null;)P.push(O[2]);return P.filter(function(B){return!n.isDataUrl(B)})}function T(k){return new RegExp(`url\\((["']?)(${n.escape(k)})\\1\\)`,"gm")}function M(k,O,P,B){return Promise.resolve(O).then(function(N){return P?n.resolveUrl(N,P):N}).then(B||n.getAndEncode).then(function(N){var H=T(O);return k.replace(H,`url($1${N}$1)`)})}})(),o={resolveAll:function(){return s().then(function(w){return Promise.all(w.map(function(E){return E.resolve()}))}).then(function(w){return w.join(`
10791
+ `,r_i=(i,e)=>{const t=Hr(e),n=t.year();let r=Hr(),o=Hr();switch(i.toLowerCase()){case"year":r=Hr(`${n}-01-01`),o=Hr(`${n}-12-31`).endOf("day");break;case"quarter":{const a=(Math.floor(t.month()/3)+1-1)*3+1;r=Hr(`${n}-${a.toString().padStart(2,"0")}-01`),o=r.add(3,"month").subtract(1,"day").endOf("day");break}case"month":{const s=t.month()+1;r=Hr(`${n}-${s.toString().padStart(2,"0")}-01`),o=r.endOf("month");break}case"week":r=t.startOf("week"),o=t.endOf("week");break;default:r=Hr(`${n}-01-01`),o=Hr(`${n}-12-31`).endOf("day")}return{type:"custom",custom:{from:r.format(l7),to:o.format(l7)}}},o_i=({dataSource:i})=>{var b,y;const e=bf(),[t,n]=re.useState(),[r,o]=re.useState([]),[s,a]=re.useState(!0),[l,u]=re.useState({visible:!1,title:"",message:""}),{drillBy:c,dataSourceQueryInfo:h,controllerConfig:d,setChartDrillBy:f,chartJson:g}=m0(),{queryDrillByChartData:p}=Nze(i==null?void 0:i.type);re.useEffect(()=>{var x,S,w,E,A;const C=(x=c==null?void 0:c.config)==null?void 0:x.current;if(a(!0),C){const T=$St(d),{selectedTimeGrain:M,selectedMenuItem:k,rightClickInfo:O}=C,P=((S=c==null?void 0:c.config)==null?void 0:S.history)||[],B=P.flatMap(H=>(H==null?void 0:H.filters)||[]);T.filters=[...d.filters||[],...B];let N=!1;if(M){T.timeGrain=M;const H=O==null?void 0:O[0].value;if(H){const W=((w=P[P.length-2])==null?void 0:w.selectedTimeGrain)||(d==null?void 0:d.timeGrain)||"year";T.timeRange=r_i(W,H)}N=!0}else{const H=((E=h==null?void 0:h.dimensions)==null?void 0:E.filter(W=>W.value===(k==null?void 0:k.key)))||[];if((g==null?void 0:g.type)===Ja.Heatmap){const W=((A=h==null?void 0:h.dimensions)==null?void 0:A.find(j=>j.label===(g==null?void 0:g.yField)))||[];H.push(W)}T.dimensions=H||[],T.timeGrain=void 0}p({queryData:Te({},T),isHasTime:N,setDrillLoading:a,setDrillError:u})}else a(!1)},[c==null?void 0:c.visible,c==null?void 0:c.config]),re.useEffect(()=>{var w,E,A;const C=((w=c==null?void 0:c.config)==null?void 0:w.history)||[],x=[];C.forEach(T=>{var M;if(T!=null&&T.selectedTimeGrain)x.push({name:e.formatMessage({id:T.selectedTimeGrain}),value:T.selectedTimeGrain});else{const k=[],O=[];if((M=T==null?void 0:T.rightClickInfo)==null||M.forEach(P=>{P!=null&&P.containsMergeKey?k.push(P):O.push(P)}),k.length>0){const P=k.map(B=>`${B==null?void 0:B.name} ${e.formatMessage({id:"equal"})} ${B==null?void 0:B.value}`).join(" , ");x.push({name:P,value:k.map(B=>B.value).join(" , ")})}O.forEach(P=>{x.push({name:`${P==null?void 0:P.name} ${e.formatMessage({id:"equal"})} ${P==null?void 0:P.value}`,value:P.value})})}});const S=C[0];if(S!=null&&S.selectedTimeGrain){const T=(E=S.rightClickInfo)==null?void 0:E[0].name,M={name:T,value:T};x.unshift(M)}else{const T=C[C.length-1];if((A=T==null?void 0:T.selectedMenuItem)!=null&&A.label){const M={name:T.selectedMenuItem.label,value:T.selectedMenuItem.key};x.push(M)}}o(x)},[(b=c==null?void 0:c.config)==null?void 0:b.history]),re.useEffect(()=>{var C;(C=c==null?void 0:c.chartState)!=null&&C.chartJson&&n(c.chartState.chartJson)},[(y=c==null?void 0:c.chartState)==null?void 0:y.chartJson]);const m=C=>{var x,S,w,E,A,T,M,k;if(C===0){f({visible:!1,config:{},chartState:{}});return}if(C>0){const O=(S=(x=c==null?void 0:c.config)==null?void 0:x.history)==null?void 0:S[C-1],P=(E=(w=c==null?void 0:c.config)==null?void 0:w.history)==null?void 0:E.slice(0,C),B=(T=(A=c==null?void 0:c.chartState)==null?void 0:A.history)==null?void 0:T[C-1],N=(k=(M=c==null?void 0:c.chartState)==null?void 0:M.history)==null?void 0:k.slice(0,C);f({visible:!0,config:{history:P,current:O},chartState:{history:N,current:B}})}},v=()=>{if(!t)return null;const{type:C}=t,x=Wb[C];return Se.jsx("div",{className:"chart-content",children:Se.jsx(x,Te({},t))})};return Se.jsxs(n_i,{className:"drill-by-chart-container",children:[Se.jsxs("div",{className:"drill-title",children:[Se.jsx(k1,{className:"drill-iocn",component:i_i,onClick:()=>f({visible:!1,config:{},chartState:{}})}),Se.jsx(zk,{items:r.map((C,x)=>x===r.length-1?Te({title:C.name},C):Te({title:Se.jsx(Mee,{onClick:()=>m(x),children:C.name})},C))})]}),!s&&v(),s&&Se.jsx(Zne,{}),l.visible&&Se.jsx(uze,Te({},l))]})},s_i=i=>R.createElement("svg",Te({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},i),R.createElement("path",{d:"M10.0004 1.66602C14.6024 1.66602 18.3337 5.39735 18.3337 9.99939C18.3337 14.6014 14.6024 18.3328 10.0004 18.3328C5.39833 18.3328 1.66699 14.6014 1.66699 9.99939C1.66699 5.39735 5.39833 1.66602 10.0004 1.66602ZM9.16697 6.6668H10.8338V5.00001H9.16697V6.6668ZM10.8338 10.8323V7.4997H9.16697V10.8323H6.66733L10.0004 14.999L13.3335 10.8323H10.8338ZM10.0004 3.33281C6.31818 3.33281 3.33379 6.3172 3.33379 9.99939C3.33379 13.6816 6.31818 16.666 10.0004 16.666C13.6826 16.666 16.667 13.6816 16.667 9.99939C16.667 6.3172 13.6826 3.33281 10.0004 3.33281Z",fill:"currentColor"})),a_i=i=>R.createElement("svg",Te({width:"1em",height:"1em",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i),R.createElement("path",{d:"M18.334 5.49121V18.332H1.66699V1.66602H14.5078L18.334 5.49121ZM3.33398 16.666H5V9.99902H14.999V16.666H16.667V6.1748L13.8242 3.33301H11.667V8.33203H5V3.33301H3.33398V16.666ZM6.66602 16.666H13.333V11.666H6.66602V16.666ZM6.66602 6.66602H10V3.33301H6.66602V6.66602Z",fill:"currentColor"}));var KP={exports:{}};/*! dom-to-image-more 20-08-2025 */var l_i=KP.exports,nqe;function u_i(){return nqe||(nqe=1,(function(i,e){(t=>{let n=(()=>{let w=0;return{escape:function(O){return O.replace(/([.*+?^${}()|[\]/\\])/g,"\\$1")},isDataUrl:function(O){return O.search(/^(data:)/)!==-1},canvasToBlob:function(O){return O.toBlob?new Promise(function(P){O.toBlob(P)}):(P=>new Promise(function(B){var N=f(P.toDataURL().split(",")[1]),H=N.length,W=new Uint8Array(H);for(let j=0;j<H;j++)W[j]=N.charCodeAt(j);B(new Blob([W],{type:"image/png"}))}))(O)},resolveUrl:function(O,P){var B=document.implementation.createHTMLDocument(),N=B.createElement("base"),H=(B.head.appendChild(N),B.createElement("a"));return B.body.appendChild(H),N.href=P,H.href=O,H.href},getAndEncode:function(O){let P=c.impl.urlCache.find(function(B){return B.url===O});return P||(P={url:O,promise:null},c.impl.urlCache.push(P)),P.promise===null&&(c.impl.options.cacheBust&&(O+=(/\?/.test(O)?"&":"?")+new Date().getTime()),P.promise=new Promise(function(B){let N=new XMLHttpRequest;function H($){console.error($),B("")}function W(){var $=c.impl.options.imagePlaceholder;$?B($):H("Status:"+N.status+" while fetching resource: "+O)}if(N.timeout=c.impl.options.httpTimeout,N.onerror=W,N.ontimeout=W,N.onloadend=function(){if(N.readyState===XMLHttpRequest.DONE){var $=N.status;if($===0&&O.toLowerCase().startsWith("file://")||200<=$&&$<=300&&N.response!==null){$=N.response,$ instanceof Blob||H("Expected response to be a Blob, but got: "+typeof $);let q=new FileReader;q.onloadend=function(){var X=q.result;B(X)};try{q.readAsDataURL($)}catch(X){H("Failed to read the response as Data URL: "+X.toString())}}else W()}},0<c.impl.options.useCredentialsFilters.length&&(c.impl.options.useCredentials=0<c.impl.options.useCredentialsFilters.filter($=>0<=O.search($)).length),c.impl.options.useCredentials&&(N.withCredentials=!0),c.impl.options.corsImg&&O.indexOf("http")===0&&O.indexOf(window.location.origin)===-1){var j=(c.impl.options.corsImg.method||"GET").toUpperCase()==="POST"?"POST":"GET";N.open(j,(c.impl.options.corsImg.url||"").replace("#{cors}",O),!0);let $=!1,q=c.impl.options.corsImg.headers||{},X=(Object.keys(q).forEach(function(z){q[z].indexOf("application/json")!==-1&&($=!0),N.setRequestHeader(z,q[z])}),(z=>{try{return JSON.parse(JSON.stringify(z))}catch(J){H("corsImg.data is missing or invalid:"+J.toString())}})(c.impl.options.corsImg.data||""));Object.keys(X).forEach(function(z){typeof X[z]=="string"&&(X[z]=X[z].replace("#{cors}",O))}),N.responseType="blob",N.send($?JSON.stringify(X):X)}else N.open("GET",O,!0),N.responseType="blob",N.send()})),P.promise},uid:function(){return"u"+("0000"+(Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4)+w++},asArray:function(O){var P=[],B=O.length;for(let N=0;N<B;N++)P.push(O[N]);return P},escapeXhtml:function(O){return O.replace(/%/g,"%25").replace(/#/g,"%23").replace(/\n/g,"%0A")},makeImage:function(O){return O!=="data:,"?new Promise(function(P,B){let N=document.createElementNS("http://www.w3.org/2000/svg","svg"),H=new Image;c.impl.options.useCredentials&&(H.crossOrigin="use-credentials"),H.onload=function(){document.body.removeChild(N),window&&window.requestAnimationFrame?window.requestAnimationFrame(function(){P(H)}):P(H)},H.onerror=W=>{document.body.removeChild(N),B(W)},N.appendChild(H),H.src=O,document.body.appendChild(N)}):Promise.resolve()},width:function(O){var P=k(O,"width");if(!isNaN(P))return P;var P=k(O,"border-left-width"),B=k(O,"border-right-width");return O.scrollWidth+P+B},height:function(O){var P=k(O,"height");if(!isNaN(P))return P;var P=k(O,"border-top-width"),B=k(O,"border-bottom-width");return O.scrollHeight+P+B},getWindow:E,isElement:M,isElementHostForOpenShadowRoot:function(O){return M(O)&&O.shadowRoot!==null},isShadowRoot:A,isInShadowRoot:T,isHTMLElement:function(O){return O instanceof E(O).HTMLElement},isHTMLCanvasElement:function(O){return O instanceof E(O).HTMLCanvasElement},isHTMLInputElement:function(O){return O instanceof E(O).HTMLInputElement},isHTMLImageElement:function(O){return O instanceof E(O).HTMLImageElement},isHTMLLinkElement:function(O){return O instanceof E(O).HTMLLinkElement},isHTMLScriptElement:function(O){return O instanceof E(O).HTMLScriptElement},isHTMLStyleElement:function(O){return O instanceof E(O).HTMLStyleElement},isHTMLTextAreaElement:function(O){return O instanceof E(O).HTMLTextAreaElement},isShadowSlotElement:function(O){return T(O)&&O instanceof E(O).HTMLSlotElement},isSVGElement:function(O){return O instanceof E(O).SVGElement},isSVGRectElement:function(O){return O instanceof E(O).SVGRectElement},isDimensionMissing:function(O){return isNaN(O)||O<=0}};function E(O){return O=O?O.ownerDocument:void 0,(O?O.defaultView:void 0)||window||t}function A(O){return O instanceof E(O).ShadowRoot}function T(O){return O!=null&&O.getRootNode!==void 0&&A(O.getRootNode())}function M(O){return O instanceof E(O).Element}function k(O,P){if(O.nodeType===h){let B=d(O).getPropertyValue(P);if(B.slice(-2)==="px")return B=B.slice(0,-2),parseFloat(B)}return NaN}})(),r=(()=>{let w=/url\(\s*(["']?)((?:\\.|[^\\)])+)\1\s*\)/gm;return{inlineAll:function(k,O,P){return E(k)?Promise.resolve(k).then(A).then(function(B){let N=Promise.resolve(k);return B.forEach(function(H){N=N.then(function(W){return M(W,H,O,P)})}),N}):Promise.resolve(k)},shouldProcess:E,impl:{readUrls:A,inline:M,urlAsRegex:T}};function E(k){return k.search(w)!==-1}function A(k){for(var O,P=[];(O=w.exec(k))!==null;)P.push(O[2]);return P.filter(function(B){return!n.isDataUrl(B)})}function T(k){return new RegExp(`url\\((["']?)(${n.escape(k)})\\1\\)`,"gm")}function M(k,O,P,B){return Promise.resolve(O).then(function(N){return P?n.resolveUrl(N,P):N}).then(B||n.getAndEncode).then(function(N){var H=T(O);return k.replace(H,`url($1${N}$1)`)})}})(),o={resolveAll:function(){return s().then(function(w){return Promise.all(w.map(function(E){return E.resolve()}))}).then(function(w){return w.join(`
10792
10792
  `)})},impl:{readAll:s}};function s(){return Promise.resolve(n.asArray(document.styleSheets)).then(function(E){let A=[];return E.forEach(function(T){var M=Object.getPrototypeOf(T);if(Object.prototype.hasOwnProperty.call(M,"cssRules"))try{n.asArray(T.cssRules||[]).forEach(A.push.bind(A))}catch(k){console.error("domtoimage: Error while reading CSS rules from: "+T.href,k.toString())}}),A}).then(function(E){return E.filter(function(A){return A.type===CSSRule.FONT_FACE_RULE}).filter(function(A){return r.shouldProcess(A.style.getPropertyValue("src"))})}).then(function(E){return E.map(w)});function w(E){return{resolve:function(){var A=(E.parentStyleSheet||{}).href;return r.inlineAll(E.cssText,A)},src:function(){return E.style.getPropertyValue("src")}}}}let a={inlineAll:function w(E){if(!n.isElement(E))return Promise.resolve(E);return A(E).then(function(){return n.isHTMLImageElement(E)?l(E).inline():Promise.all(n.asArray(E.childNodes).map(function(T){return w(T)}))});function A(T){let M=["background","background-image"],k=M.map(function(O){let P=T.style.getPropertyValue(O),B=T.style.getPropertyPriority(O);return P?r.inlineAll(P).then(function(N){T.style.setProperty(O,N,B)}):Promise.resolve()});return Promise.all(k).then(function(){return T})}},impl:{newImage:l}};function l(w){return{inline:function(E){return n.isDataUrl(w.src)?Promise.resolve():Promise.resolve(w.src).then(E||n.getAndEncode).then(function(A){return new Promise(function(T){w.onload=T,w.onerror=T,w.src=A})})}}}let u={copyDefaultStyles:!0,imagePlaceholder:void 0,cacheBust:!1,useCredentials:!1,useCredentialsFilters:[],httpTimeout:3e4,styleCaching:"strict",corsImg:void 0},c={toSvg:g,toPng:function(w,E){return p(w,E).then(function(A){return A.toDataURL()})},toJpeg:function(w,E){return p(w,E).then(function(A){return A.toDataURL("image/jpeg",(E?E.quality:void 0)||1)})},toBlob:function(w,E){return p(w,E).then(n.canvasToBlob)},toPixelData:function(w,E){return p(w,E).then(function(A){return A.getContext("2d").getImageData(0,0,n.width(w),n.height(w)).data})},toCanvas:p,impl:{fontFaces:o,images:a,util:n,inliner:r,urlCache:[],options:{},copyOptions:function(w){w.copyDefaultStyles===void 0?c.impl.options.copyDefaultStyles=u.copyDefaultStyles:c.impl.options.copyDefaultStyles=w.copyDefaultStyles,c.impl.options.imagePlaceholder=(w.imagePlaceholder===void 0?u:w).imagePlaceholder,c.impl.options.cacheBust=(w.cacheBust===void 0?u:w).cacheBust,c.impl.options.corsImg=(w.corsImg===void 0?u:w).corsImg,c.impl.options.useCredentials=(w.useCredentials===void 0?u:w).useCredentials,c.impl.options.useCredentialsFilters=(w.useCredentialsFilters===void 0?u:w).useCredentialsFilters,c.impl.options.httpTimeout=(w.httpTimeout===void 0?u:w).httpTimeout,c.impl.options.styleCaching=(w.styleCaching===void 0?u:w).styleCaching}}},h=(i.exports=c,(typeof Node!="undefined"?Node.ELEMENT_NODE:void 0)||1),d=(t!==void 0?t.getComputedStyle:void 0)||(typeof window!="undefined"?window.getComputedStyle:void 0)||globalThis.getComputedStyle,f=(t!==void 0?t.atob:void 0)||(typeof window!="undefined"?window.atob:void 0)||globalThis.atob;function g(w,E){c.impl.util.getWindow(w);let A=(E=E||{},c.impl.copyOptions(E),[]);return Promise.resolve(w).then(function(T){if(T.nodeType===h)return T;var M=T,k=T.parentNode,O=document.createElement("span");return k.replaceChild(O,M),O.append(T),A.push({parent:k,child:M,wrapper:O}),O}).then(function(T){return(function M(k,O,P,B){let N=O.filter;if(k===m||n.isHTMLScriptElement(k)||n.isHTMLStyleElement(k)||n.isHTMLLinkElement(k)||P!==null&&N&&!N(k))return Promise.resolve();return Promise.resolve(k).then(H).then(W).then(function(z){return q(z,$(k))}).then(j).then(function(z){return X(z,k)});function H(z){return n.isHTMLCanvasElement(z)?n.makeImage(z.toDataURL()):z.cloneNode(!1)}function W(z){return O.adjustClonedNode&&O.adjustClonedNode(k,z,!1),Promise.resolve(z)}function j(z){return O.adjustClonedNode&&O.adjustClonedNode(k,z,!0),Promise.resolve(z)}function $(z){return n.isElementHostForOpenShadowRoot(z)?z.shadowRoot:z}function q(z,J){let ne=oe(J),se=Promise.resolve();if(ne.length!==0){let ce=d(Q(J));n.asArray(ne).forEach(function(fe){se=se.then(function(){return M(fe,O,ce).then(function(ue){ue&&z.appendChild(ue)})})})}return se.then(function(){return z});function Q(ce){return n.isShadowRoot(ce)?ce.host:ce}function oe(ce){if(n.isShadowSlotElement(ce)){let fe=ce.assignedNodes();if(fe&&0<fe.length)return fe}return ce.childNodes}}function X(z,J){return!n.isElement(z)||n.isShadowSlotElement(J)?Promise.resolve(z):Promise.resolve().then(se).then(Q).then(oe).then(ce).then(ne).then(function(){return z});function ne(){n.isHTMLImageElement(z)&&(z.removeAttribute("loading"),J.srcset||J.sizes)&&(z.removeAttribute("srcset"),z.removeAttribute("sizes"),z.src=J.currentSrc||J.src)}function se(){function fe(he,le){le.font=he.font,le.fontFamily=he.fontFamily,le.fontFeatureSettings=he.fontFeatureSettings,le.fontKerning=he.fontKerning,le.fontSize=he.fontSize,le.fontStretch=he.fontStretch,le.fontStyle=he.fontStyle,le.fontVariant=he.fontVariant,le.fontVariantCaps=he.fontVariantCaps,le.fontVariantEastAsian=he.fontVariantEastAsian,le.fontVariantLigatures=he.fontVariantLigatures,le.fontVariantNumeric=he.fontVariantNumeric,le.fontVariationSettings=he.fontVariationSettings,le.fontWeight=he.fontWeight}function ue(he,le){let me=d(he);me.cssText?(le.style.cssText=me.cssText,fe(me,le.style)):(y(O,he,me,P,le),P===null&&(["inset-block","inset-block-start","inset-block-end"].forEach(be=>le.style.removeProperty(be)),["left","right","top","bottom"].forEach(be=>{le.style.getPropertyValue(be)&&le.style.setProperty(be,"0px")})))}ue(J,z)}function Q(){let fe=n.uid();function ue(he){let le=d(J,he),me=le.getPropertyValue("content");if(me!==""&&me!=="none"){let Re=function(){let Ee=`.${fe}:`+he,Ne=(le.cssText?$e:it)();return document.createTextNode(Ee+`{${Ne}}`);function $e(){return`${le.cssText} content: ${me};`}function it(){return n.asArray(le).map(rt).join("; ")+";";function rt(Be){let Je=le.getPropertyValue(Be),Me=le.getPropertyPriority(Be)?" !important":"";return Be+": "+Je+Me}}},be=z.getAttribute("class")||"",ve=(z.setAttribute("class",be+" "+fe),document.createElement("style"));ve.appendChild(Re()),z.appendChild(ve)}}[":before",":after"].forEach(function(he){ue(he)})}function oe(){n.isHTMLTextAreaElement(J)&&(z.innerHTML=J.value),n.isHTMLInputElement(J)&&z.setAttribute("value",J.value)}function ce(){n.isSVGElement(z)&&(z.setAttribute("xmlns","http://www.w3.org/2000/svg"),n.isSVGRectElement(z))&&["width","height"].forEach(function(fe){let ue=z.getAttribute(fe);ue&&z.style.setProperty(fe,ue)})}}})(T,E,null)}).then(E.disableEmbedFonts?Promise.resolve(w):v).then(E.disableInlineImages?Promise.resolve(w):b).then(function(T){E.bgcolor&&(T.style.backgroundColor=E.bgcolor),E.width&&(T.style.width=E.width+"px"),E.height&&(T.style.height=E.height+"px"),E.style&&Object.keys(E.style).forEach(function(k){T.style[k]=E.style[k]});let M=null;return typeof E.onclone=="function"&&(M=E.onclone(T)),Promise.resolve(M).then(function(){return T})}).then(function(T){let M=E.width||n.width(w),k=E.height||n.height(w);return Promise.resolve(T).then(function(O){return O.setAttribute("xmlns","http://www.w3.org/1999/xhtml"),new XMLSerializer().serializeToString(O)}).then(n.escapeXhtml).then(function(O){var P=(n.isDimensionMissing(M)?' width="100%"':` width="${M}"`)+(n.isDimensionMissing(k)?' height="100%"':` height="${k}"`);return`<svg xmlns="http://www.w3.org/2000/svg"${(n.isDimensionMissing(M)?"":` width="${M}"`)+(n.isDimensionMissing(k)?"":` height="${k}"`)}><foreignObject${P}>${O}</foreignObject></svg>`}).then(function(O){return"data:image/svg+xml;charset=utf-8,"+O})}).then(function(T){for(;0<A.length;){var M=A.pop();M.parent.replaceChild(M.child,M.wrapper)}return T}).then(function(T){return c.impl.urlCache=[],m&&(document.body.removeChild(m),m=null),C&&clearTimeout(C),C=setTimeout(()=>{C=null,x={}},2e4),T})}function p(w,E){return g(w,E=E||{}).then(n.makeImage).then(function(A){var T=typeof E.scale!="number"?1:E.scale,M=((O,P)=>{let B=E.width||n.width(O),N=E.height||n.height(O);return n.isDimensionMissing(B)&&(B=n.isDimensionMissing(N)?300:2*N),n.isDimensionMissing(N)&&(N=B/2),(O=document.createElement("canvas")).width=B*P,O.height=N*P,E.bgcolor&&((P=O.getContext("2d")).fillStyle=E.bgcolor,P.fillRect(0,0,O.width,O.height)),O})(w,T),k=M.getContext("2d");return k.msImageSmoothingEnabled=!1,k.imageSmoothingEnabled=!1,A&&(k.scale(T,T),k.drawImage(A,0,0)),M})}let m=null;function v(w){return o.resolveAll().then(function(E){var A;return E!==""&&(A=document.createElement("style"),w.appendChild(A),A.appendChild(document.createTextNode(E))),w})}function b(w){return a.inlineAll(w).then(function(){return w})}function y(w,E,A,T,M){let k=c.impl.options.copyDefaultStyles?((P,B)=>{var N,H=($=>(P.styleCaching!=="relaxed"?$:$.filter((q,X,z)=>X===0||X===z.length-1)).join(">"))(B=($=>{var q=[];do if($.nodeType===h){var X=$.tagName;if(q.push(X),S.includes(X))break}while($=$.parentNode);return q})(B));{if(x[H])return x[H];B=(($,q)=>{let X=$.body;do{var z=q.pop(),z=$.createElement(z);X.appendChild(z),X=z}while(0<q.length);return X.textContent="​",X})((N=(()=>{if(m)return m.contentWindow;q=document.characterSet||"UTF-8",$=($=document.doctype)?(`<!DOCTYPE ${Q($.name)} ${Q($.publicId)} `+Q($.systemId)).trim()+">":"",(m=document.createElement("iframe")).id="domtoimage-sandbox-"+n.uid(),m.style.visibility="hidden",m.style.position="fixed",document.body.appendChild(m);var $,q,X=m,z="domtoimage-sandbox";try{return X.contentWindow.document.write($+`<html><head><meta charset='${q}'><title>${z}</title></head><body></body></html>`),X.contentWindow}catch(oe){}var J=document.createElement("meta");J.setAttribute("charset",q);try{var ne=document.implementation.createHTMLDocument(z),se=(ne.head.appendChild(J),$+ne.documentElement.outerHTML);return X.setAttribute("srcdoc",se),X.contentWindow}catch(oe){}return X.contentDocument.head.appendChild(J),X.contentDocument.title=z,X.contentWindow;function Q(oe){var ce;return oe?((ce=document.createElement("div")).innerText=oe,ce.innerHTML):""}})()).document,B),N=(($,q)=>{let X={},z=$.getComputedStyle(q);return n.asArray(z).forEach(function(J){X[J]=J==="width"||J==="height"?"auto":z.getPropertyValue(J)}),X})(N,B);var W=B;do{var j=W.parentElement;j!==null&&j.removeChild(W),W=j}while(W&&W.tagName!=="BODY");return x[H]=N}})(w,E):{},O=M.style;n.asArray(A).forEach(function(P){var B,N,H,W;w.filterStyles&&!w.filterStyles(E,P)||(N=A.getPropertyValue(P),H=k[P],B=T?T.getPropertyValue(P):void 0,O.getPropertyValue(P))||(N!==H||T&&N!==B)&&(H=A.getPropertyPriority(P),B=O,N=N,H=H,W=0<=["background-clip"].indexOf(P=P),H?(B.setProperty(P,N,H),W&&B.setProperty("-webkit-"+P,N,H)):(B.setProperty(P,N),W&&B.setProperty("-webkit-"+P,N)))})}let C=null,x={},S=["ADDRESS","ARTICLE","ASIDE","BLOCKQUOTE","DETAILS","DIALOG","DD","DIV","DL","DT","FIELDSET","FIGCAPTION","FIGURE","FOOTER","FORM","H1","H2","H3","H4","H5","H6","HEADER","HGROUP","HR","LI","MAIN","NAV","OL","P","PRE","SECTION","SVG","TABLE","UL","math","svg","BODY","HEAD","HTML"]})(l_i)})(KP)),KP.exports}var c_i=u_i();const h_i=jr(c_i),d_i=(i,e=new Date)=>`${Uxt(i)}-${e.toISOString().replace(/[: ]/g,"-")}`;function f_i(i,e,t=!1){return n=>{const r=t?document.querySelector(i):n.currentTarget.closest(i);if(!r||!(r instanceof HTMLElement))return console.warn("Image download failed, please refresh and try again."),null;const o=s=>typeof s.className=="string"?s.className!=="mapboxgl-control-container"&&!s.className.includes("chart-actions"):!0;return h_i.toJpeg(r,{bgcolor:"#fff",filter:o}).then(s=>{const a=document.createElement("a");a.download=`${d_i(e)}.jpg`,a.href=s,a.click()}).catch(s=>{console.error("Creating image failed",s)})}}const g_i=$a.div`
10793
10793
  ${i=>{const{theme:e,style:t}=i;return on(Te({position:"relative",boxSizing:"border-box",overflow:"hidden",height:"100%",width:"100%",borderRadius:"4px",background:e==="dark"?"#1E1E1E":"#FFFFFF",border:e==="dark"?"1px solid #333":"1px solid #C8C8C8"},t),{".chart-content,.drill-by-chart-content":{position:"relative",width:"100%",height:"calc(100% - 48px)",minHeight:"100px",display:"flex",alignItems:"center",justifyContent:"center"}})}}
10794
10794
  `,p_i=$a.div`
@@ -10871,4 +10871,4 @@ ${r}
10871
10871
  `))+1))}const s="#".repeat(r),a=t.enter("headingAtx"),l=t.enter("phrasing");o.move(s+" ");let u=t.containerPhrasing(i,Te({before:"# ",after:`
10872
10872
  `},o.current()));return/^[\t ]/.test(u)&&(u=z5(u.charCodeAt(0))+u.slice(1)),u=u?s+" "+u:s,t.options.closeAtx&&(u+=" "+s),l(),a(),u}$Ke.peek=PAi;function $Ke(i){return i.value||""}function PAi(){return"<"}HKe.peek=LAi;function HKe(i,e,t,n){const r=Uae(t),o=r==='"'?"Quote":"Apostrophe",s=t.enter("image");let a=t.enter("label");const l=t.createTracker(n);let u=l.move("![");return u+=l.move(t.safe(i.alt,Te({before:u,after:"]"},l.current()))),u+=l.move("]("),a(),!i.url&&i.title||/[\0- \u007F]/.test(i.url)?(a=t.enter("destinationLiteral"),u+=l.move("<"),u+=l.move(t.safe(i.url,Te({before:u,after:">"},l.current()))),u+=l.move(">")):(a=t.enter("destinationRaw"),u+=l.move(t.safe(i.url,Te({before:u,after:i.title?" ":")"},l.current())))),a(),i.title&&(a=t.enter(`title${o}`),u+=l.move(" "+r),u+=l.move(t.safe(i.title,Te({before:u,after:r},l.current()))),u+=l.move(r),a()),u+=l.move(")"),s(),u}function LAi(){return"!"}zKe.peek=BAi;function zKe(i,e,t,n){const r=i.referenceType,o=t.enter("imageReference");let s=t.enter("label");const a=t.createTracker(n);let l=a.move("![");const u=t.safe(i.alt,Te({before:l,after:"]"},a.current()));l+=a.move(u+"]["),s();const c=t.stack;t.stack=[],s=t.enter("reference");const h=t.safe(t.associationId(i),Te({before:l,after:"]"},a.current()));return s(),t.stack=c,o(),r==="full"||!u||u!==h?l+=a.move(h+"]"):r==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function BAi(){return"!"}WKe.peek=FAi;function WKe(i,e,t){let n=i.value||"",r="`",o=-1;for(;new RegExp("(^|[^`])"+r+"([^`]|$)").test(n);)r+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++o<t.unsafe.length;){const s=t.unsafe[o],a=t.compilePattern(s);let l;if(s.atBreak)for(;l=a.exec(n);){let u=l.index;n.charCodeAt(u)===10&&n.charCodeAt(u-1)===13&&u--,n=n.slice(0,u)+" "+n.slice(l.index+1)}}return r+n+r}function FAi(){return"`"}function VKe(i,e){const t=tae(i);return!!(!e.options.resourceLink&&i.url&&!i.title&&i.children&&i.children.length===1&&i.children[0].type==="text"&&(t===i.url||"mailto:"+t===i.url)&&/^[a-z][a-z+.-]+:/i.test(i.url)&&!/[\0- <>\u007F]/.test(i.url))}jKe.peek=NAi;function jKe(i,e,t,n){const r=Uae(t),o=r==='"'?"Quote":"Apostrophe",s=t.createTracker(n);let a,l;if(VKe(i,t)){const c=t.stack;t.stack=[],a=t.enter("autolink");let h=s.move("<");return h+=s.move(t.containerPhrasing(i,Te({before:h,after:">"},s.current()))),h+=s.move(">"),a(),t.stack=c,h}a=t.enter("link"),l=t.enter("label");let u=s.move("[");return u+=s.move(t.containerPhrasing(i,Te({before:u,after:"]("},s.current()))),u+=s.move("]("),l(),!i.url&&i.title||/[\0- \u007F]/.test(i.url)?(l=t.enter("destinationLiteral"),u+=s.move("<"),u+=s.move(t.safe(i.url,Te({before:u,after:">"},s.current()))),u+=s.move(">")):(l=t.enter("destinationRaw"),u+=s.move(t.safe(i.url,Te({before:u,after:i.title?" ":")"},s.current())))),l(),i.title&&(l=t.enter(`title${o}`),u+=s.move(" "+r),u+=s.move(t.safe(i.title,Te({before:u,after:r},s.current()))),u+=s.move(r),l()),u+=s.move(")"),a(),u}function NAi(i,e,t){return VKe(i,t)?"<":"["}UKe.peek=$Ai;function UKe(i,e,t,n){const r=i.referenceType,o=t.enter("linkReference");let s=t.enter("label");const a=t.createTracker(n);let l=a.move("[");const u=t.containerPhrasing(i,Te({before:l,after:"]"},a.current()));l+=a.move(u+"]["),s();const c=t.stack;t.stack=[],s=t.enter("reference");const h=t.safe(t.associationId(i),Te({before:l,after:"]"},a.current()));return s(),t.stack=c,o(),r==="full"||!u||u!==h?l+=a.move(h+"]"):r==="shortcut"?l=l.slice(0,-1):l+=a.move("]"),l}function $Ai(){return"["}function Gae(i){const e=i.options.bullet||"*";if(e!=="*"&&e!=="+"&&e!=="-")throw new Error("Cannot serialize items with `"+e+"` for `options.bullet`, expected `*`, `+`, or `-`");return e}function HAi(i){const e=Gae(i),t=i.options.bulletOther;if(!t)return e==="*"?"-":"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(t===e)throw new Error("Expected `bullet` (`"+e+"`) and `bulletOther` (`"+t+"`) to be different");return t}function zAi(i){const e=i.options.bulletOrdered||".";if(e!=="."&&e!==")")throw new Error("Cannot serialize items with `"+e+"` for `options.bulletOrdered`, expected `.` or `)`");return e}function GKe(i){const e=i.options.rule||"*";if(e!=="*"&&e!=="-"&&e!=="_")throw new Error("Cannot serialize rules with `"+e+"` for `options.rule`, expected `*`, `-`, or `_`");return e}function WAi(i,e,t,n){const r=t.enter("list"),o=t.bulletCurrent;let s=i.ordered?zAi(t):Gae(t);const a=i.ordered?s==="."?")":".":HAi(t);let l=e&&t.bulletLastUsed?s===t.bulletLastUsed:!1;if(!i.ordered){const c=i.children?i.children[0]:void 0;if((s==="*"||s==="-")&&c&&(!c.children||!c.children[0])&&t.stack[t.stack.length-1]==="list"&&t.stack[t.stack.length-2]==="listItem"&&t.stack[t.stack.length-3]==="list"&&t.stack[t.stack.length-4]==="listItem"&&t.indexStack[t.indexStack.length-1]===0&&t.indexStack[t.indexStack.length-2]===0&&t.indexStack[t.indexStack.length-3]===0&&(l=!0),GKe(t)===s&&c){let h=-1;for(;++h<i.children.length;){const d=i.children[h];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){l=!0;break}}}}l&&(s=a),t.bulletCurrent=s;const u=t.containerFlow(i,n);return t.bulletLastUsed=s,t.bulletCurrent=o,r(),u}function VAi(i){const e=i.options.listItemIndent||"one";if(e!=="tab"&&e!=="one"&&e!=="mixed")throw new Error("Cannot serialize items with `"+e+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return e}function jAi(i,e,t,n){const r=VAi(t);let o=t.bulletCurrent||Gae(t);e&&e.type==="list"&&e.ordered&&(o=(typeof e.start=="number"&&e.start>-1?e.start:1)+(t.options.incrementListMarker===!1?0:e.children.indexOf(i))+o);let s=o.length+1;(r==="tab"||r==="mixed"&&(e&&e.type==="list"&&e.spread||i.spread))&&(s=Math.ceil(s/4)*4);const a=t.createTracker(n);a.move(o+" ".repeat(s-o.length)),a.shift(s);const l=t.enter("listItem"),u=t.indentLines(t.containerFlow(i,a.current()),c);return l(),u;function c(h,d,f){return d?(f?"":" ".repeat(s))+h:(f?o:o+" ".repeat(s-o.length))+h}}function UAi(i,e,t,n){const r=t.enter("paragraph"),o=t.enter("phrasing"),s=t.containerPhrasing(i,n);return o(),r(),s}const GAi=cL(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function qAi(i,e,t,n){return(i.children.some(function(s){return GAi(s)})?t.containerPhrasing:t.containerFlow).call(t,i,n)}function YAi(i){const e=i.options.strong||"*";if(e!=="*"&&e!=="_")throw new Error("Cannot serialize strong with `"+e+"` for `options.strong`, expected `*`, or `_`");return e}qKe.peek=XAi;function qKe(i,e,t,n){const r=YAi(t),o=t.enter("strong"),s=t.createTracker(n),a=s.move(r+r);let l=s.move(t.containerPhrasing(i,Te({after:r,before:a},s.current())));const u=l.charCodeAt(0),c=wL(n.before.charCodeAt(n.before.length-1),u,r);c.inside&&(l=z5(u)+l.slice(1));const h=l.charCodeAt(l.length-1),d=wL(n.after.charCodeAt(0),h,r);d.inside&&(l=l.slice(0,-1)+z5(h));const f=s.move(r+r);return o(),t.attentionEncodeSurroundingInfo={after:d.outside,before:c.outside},a+l+f}function XAi(i,e,t){return t.options.strong||"*"}function KAi(i,e,t,n){return t.safe(i.value,n)}function ZAi(i){const e=i.options.ruleRepetition||3;if(e<3)throw new Error("Cannot serialize rules with repetition `"+e+"` for `options.ruleRepetition`, expected `3` or more");return e}function QAi(i,e,t){const n=(GKe(t)+(t.options.ruleSpaces?" ":"")).repeat(ZAi(t));return t.options.ruleSpaces?n.slice(0,-1):n}const YKe={blockquote:CAi,break:FKe,code:TAi,definition:MAi,emphasis:NKe,hardBreak:FKe,heading:DAi,html:$Ke,image:HKe,imageReference:zKe,inlineCode:WKe,link:jKe,linkReference:UKe,list:WAi,listItem:jAi,paragraph:UAi,root:qAi,strong:qKe,text:KAi,thematicBreak:QAi};function JAi(){return{enter:{table:e5i,tableData:XKe,tableHeader:XKe,tableRow:i5i},exit:{codeText:n5i,table:t5i,tableData:qae,tableHeader:qae,tableRow:qae}}}function e5i(i){const e=i._align;this.enter({type:"table",align:e.map(function(t){return t==="none"?null:t}),children:[]},i),this.data.inTable=!0}function t5i(i){this.exit(i),this.data.inTable=void 0}function i5i(i){this.enter({type:"tableRow",children:[]},i)}function qae(i){this.exit(i)}function XKe(i){this.enter({type:"tableCell",children:[]},i)}function n5i(i){let e=this.resume();this.data.inTable&&(e=e.replace(/\\([\\|])/g,r5i));const t=this.stack[this.stack.length-1];t.type,t.value=e,this.exit(i)}function r5i(i,e){return e==="|"?e:i}function o5i(i){const e=i||{},t=e.tableCellPadding,n=e.tablePipeAlign,r=e.stringLength,o=t?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
10873
10873
  `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:s,tableCell:l,tableRow:a}};function s(f,g,p,m){return u(c(f,p,m),f.align)}function a(f,g,p,m){const v=h(f,p,m),b=u([v]);return b.slice(0,b.indexOf(`
10874
- `))}function l(f,g,p,m){const v=p.enter("tableCell"),b=p.enter("phrasing"),y=p.containerPhrasing(f,on(Te({},m),{before:o,after:o}));return b(),v(),y}function u(f,g){return yAi(f,{align:g,alignDelimiters:n,padding:t,stringLength:r})}function c(f,g,p){const m=f.children;let v=-1;const b=[],y=g.enter("table");for(;++v<m.length;)b[v]=h(m[v],g,p);return y(),b}function h(f,g,p){const m=f.children;let v=-1;const b=[],y=g.enter("tableRow");for(;++v<m.length;)b[v]=l(m[v],f,g,p);return y(),b}function d(f,g,p){let m=YKe.inlineCode(f,g,p);return p.stack.includes("tableCell")&&(m=m.replace(/\|/g,"\\$&")),m}}function s5i(){return{exit:{taskListCheckValueChecked:KKe,taskListCheckValueUnchecked:KKe,paragraph:l5i}}}function a5i(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:u5i}}}function KKe(i){const e=this.stack[this.stack.length-2];e.type,e.checked=i.type==="taskListCheckValueChecked"}function l5i(i){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const t=this.stack[this.stack.length-1];t.type;const n=t.children[0];if(n&&n.type==="text"){const r=e.children;let o=-1,s;for(;++o<r.length;){const a=r[o];if(a.type==="paragraph"){s=a;break}}s===t&&(n.value=n.value.slice(1),n.value.length===0?t.children.shift():t.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,t.position.start=Object.assign({},n.position.start)))}}this.exit(i)}function u5i(i,e,t,n){const r=i.children[0],o=typeof i.checked=="boolean"&&r&&r.type==="paragraph",s="["+(i.checked?"x":" ")+"] ",a=t.createTracker(n);o&&a.move(s);let l=YKe.listItem(i,e,t,Te(Te({},n),a.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(c){return c+s}}function c5i(){return[WEi(),uAi(),fAi(),JAi(),s5i()]}function h5i(i){return{extensions:[VEi(),cAi(i),gAi(),o5i(i),a5i()]}}const d5i={tokenize:b5i,partial:!0},ZKe={tokenize:y5i,partial:!0},QKe={tokenize:_5i,partial:!0},JKe={tokenize:C5i,partial:!0},f5i={tokenize:S5i,partial:!0},eZe={name:"wwwAutolink",tokenize:m5i,previous:iZe},tZe={name:"protocolAutolink",tokenize:v5i,previous:nZe},$1={name:"emailAutolink",tokenize:p5i,previous:rZe},ip={};function g5i(){return{text:ip}}let cy=48;for(;cy<123;)ip[cy]=$1,cy++,cy===58?cy=65:cy===91&&(cy=97);ip[43]=$1,ip[45]=$1,ip[46]=$1,ip[95]=$1,ip[72]=[$1,tZe],ip[104]=[$1,tZe],ip[87]=[$1,eZe],ip[119]=[$1,eZe];function p5i(i,e,t){const n=this;let r,o;return s;function s(h){return!Yae(h)||!rZe.call(n,n.previous)||Xae(n.events)?t(h):(i.enter("literalAutolink"),i.enter("literalAutolinkEmail"),a(h))}function a(h){return Yae(h)?(i.consume(h),a):h===64?(i.consume(h),l):t(h)}function l(h){return h===46?i.check(f5i,c,u)(h):h===45||h===95||Bu(h)?(o=!0,i.consume(h),l):c(h)}function u(h){return i.consume(h),r=!0,l}function c(h){return o&&r&&uc(n.previous)?(i.exit("literalAutolinkEmail"),i.exit("literalAutolink"),e(h)):t(h)}}function m5i(i,e,t){const n=this;return r;function r(s){return s!==87&&s!==119||!iZe.call(n,n.previous)||Xae(n.events)?t(s):(i.enter("literalAutolink"),i.enter("literalAutolinkWww"),i.check(d5i,i.attempt(ZKe,i.attempt(QKe,o),t),t)(s))}function o(s){return i.exit("literalAutolinkWww"),i.exit("literalAutolink"),e(s)}}function v5i(i,e,t){const n=this;let r="",o=!1;return s;function s(h){return(h===72||h===104)&&nZe.call(n,n.previous)&&!Xae(n.events)?(i.enter("literalAutolink"),i.enter("literalAutolinkHttp"),r+=String.fromCodePoint(h),i.consume(h),a):t(h)}function a(h){if(uc(h)&&r.length<5)return r+=String.fromCodePoint(h),i.consume(h),a;if(h===58){const d=r.toLowerCase();if(d==="http"||d==="https")return i.consume(h),l}return t(h)}function l(h){return h===47?(i.consume(h),o?u:(o=!0,l)):t(h)}function u(h){return h===null||iL(h)||ks(h)||oy(h)||nL(h)?t(h):i.attempt(ZKe,i.attempt(QKe,c),t)(h)}function c(h){return i.exit("literalAutolinkHttp"),i.exit("literalAutolink"),e(h)}}function b5i(i,e,t){let n=0;return r;function r(s){return(s===87||s===119)&&n<3?(n++,i.consume(s),r):s===46&&n===3?(i.consume(s),o):t(s)}function o(s){return s===null?t(s):e(s)}}function y5i(i,e,t){let n,r,o;return s;function s(u){return u===46||u===95?i.check(JKe,l,a)(u):u===null||ks(u)||oy(u)||u!==45&&nL(u)?l(u):(o=!0,i.consume(u),s)}function a(u){return u===95?n=!0:(r=n,n=void 0),i.consume(u),s}function l(u){return r||n||!o?t(u):e(u)}}function _5i(i,e){let t=0,n=0;return r;function r(s){return s===40?(t++,i.consume(s),r):s===41&&n<t?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?i.check(JKe,e,o)(s):s===null||ks(s)||oy(s)?e(s):(i.consume(s),r)}function o(s){return s===41&&n++,i.consume(s),r}}function C5i(i,e,t){return n;function n(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(i.consume(a),n):a===38?(i.consume(a),o):a===93?(i.consume(a),r):a===60||a===null||ks(a)||oy(a)?e(a):t(a)}function r(a){return a===null||a===40||a===91||ks(a)||oy(a)?e(a):n(a)}function o(a){return uc(a)?s(a):t(a)}function s(a){return a===59?(i.consume(a),n):uc(a)?(i.consume(a),s):t(a)}}function S5i(i,e,t){return n;function n(o){return i.consume(o),r}function r(o){return Bu(o)?t(o):e(o)}}function iZe(i){return i===null||i===40||i===42||i===95||i===91||i===93||i===126||ks(i)}function nZe(i){return!uc(i)}function rZe(i){return!(i===47||Yae(i))}function Yae(i){return i===43||i===45||i===46||i===95||Bu(i)}function Xae(i){let e=i.length,t=!1;for(;e--;){const n=i[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){t=!0;break}if(n._gfmAutolinkLiteralWalkedInto){t=!1;break}}return i.length>0&&!t&&(i[i.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}const x5i={tokenize:O5i,partial:!0};function w5i(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:R5i,continuation:{tokenize:M5i},exit:k5i}},text:{91:{name:"gfmFootnoteCall",tokenize:T5i},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:E5i,resolveTo:A5i}}}}function E5i(i,e,t){const n=this;let r=n.events.length;const o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;r--;){const l=n.events[r][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return t(l);const u=$0(n.sliceSerialize({start:s.end,end:n.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?t(l):(i.enter("gfmFootnoteCallLabelMarker"),i.consume(l),i.exit("gfmFootnoteCallLabelMarker"),e(l))}}function A5i(i,e){let t=i.length;for(;t--;)if(i[t][1].type==="labelImage"&&i[t][0]==="enter"){i[t][1];break}i[t+1][1].type="data",i[t+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},i[t+3][1].start),end:Object.assign({},i[i.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},i[t+3][1].end),end:Object.assign({},i[t+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},i[i.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[i[t+1],i[t+2],["enter",n,e],i[t+3],i[t+4],["enter",r,e],["exit",r,e],["enter",o,e],["enter",s,e],["exit",s,e],["exit",o,e],i[i.length-2],i[i.length-1],["exit",n,e]];return i.splice(t,i.length-t+1,...a),i}function T5i(i,e,t){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o=0,s;return a;function a(h){return i.enter("gfmFootnoteCall"),i.enter("gfmFootnoteCallLabelMarker"),i.consume(h),i.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?t(h):(i.enter("gfmFootnoteCallMarker"),i.consume(h),i.exit("gfmFootnoteCallMarker"),i.enter("gfmFootnoteCallString"),i.enter("chunkString").contentType="string",u)}function u(h){if(o>999||h===93&&!s||h===null||h===91||ks(h))return t(h);if(h===93){i.exit("chunkString");const d=i.exit("gfmFootnoteCallString");return r.includes($0(n.sliceSerialize(d)))?(i.enter("gfmFootnoteCallLabelMarker"),i.consume(h),i.exit("gfmFootnoteCallLabelMarker"),i.exit("gfmFootnoteCall"),e):t(h)}return ks(h)||(s=!0),o++,i.consume(h),h===92?c:u}function c(h){return h===91||h===92||h===93?(i.consume(h),o++,u):u(h)}}function R5i(i,e,t){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o,s=0,a;return l;function l(g){return i.enter("gfmFootnoteDefinition")._container=!0,i.enter("gfmFootnoteDefinitionLabel"),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(g){return g===94?(i.enter("gfmFootnoteDefinitionMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionMarker"),i.enter("gfmFootnoteDefinitionLabelString"),i.enter("chunkString").contentType="string",c):t(g)}function c(g){if(s>999||g===93&&!a||g===null||g===91||ks(g))return t(g);if(g===93){i.exit("chunkString");const p=i.exit("gfmFootnoteDefinitionLabelString");return o=$0(n.sliceSerialize(p)),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionLabelMarker"),i.exit("gfmFootnoteDefinitionLabel"),d}return ks(g)||(a=!0),s++,i.consume(g),g===92?h:c}function h(g){return g===91||g===92||g===93?(i.consume(g),s++,c):c(g)}function d(g){return g===58?(i.enter("definitionMarker"),i.consume(g),i.exit("definitionMarker"),r.includes(o)||r.push(o),jo(i,f,"gfmFootnoteDefinitionWhitespace")):t(g)}function f(g){return e(g)}}function M5i(i,e,t){return i.check(x5,e,i.attempt(x5i,e,t))}function k5i(i){i.exit("gfmFootnoteDefinition")}function O5i(i,e,t){const n=this;return jo(i,r,"gfmFootnoteDefinitionIndent",5);function r(o){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):t(o)}}function I5i(i){let t=(i||{}).singleTilde;const n={name:"strikethrough",tokenize:o,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let u=l;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[l][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[l][1].end)},h={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[l][1].start)},d=[["enter",c,a],["enter",s[u][1],a],["exit",s[u][1],a],["enter",h,a]],f=a.parser.constructs.insideSpan.null;f&&yd(d,d.length,0,rL(f,s.slice(u+1,l),a)),yd(d,d.length,0,[["exit",h,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",c,a]]),yd(s,u-1,l-u+3,d),l=u+d.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){const u=this.previous,c=this.events;let h=0;return d;function d(g){return u===126&&c[c.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),f(g))}function f(g){const p=ES(u);if(g===126)return h>1?l(g):(s.consume(g),h++,f);if(h<2&&!t)return l(g);const m=s.exit("strikethroughSequenceTemporary"),v=ES(g);return m._open=!v||v===2&&!!p,m._close=!p||p===2&&!!v,a(g)}}}class D5i{constructor(){this.map=[]}add(e,t,n){P5i(this,e,t,n)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const o of r)e.push(o);r=n.pop()}this.map.length=0}}function P5i(i,e,t,n){let r=0;if(!(t===0&&n.length===0)){for(;r<i.map.length;){if(i.map[r][0]===e){i.map[r][1]+=t,i.map[r][2].push(...n);return}r+=1}i.map.push([e,t,n])}}function L5i(i,e){let t=!1;const n=[];for(;e<i.length;){const r=i[e];if(t){if(r[0]==="enter")r[1].type==="tableContent"&&n.push(i[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(i[e-1][1].type==="tableDelimiterMarker"){const o=n.length-1;n[o]=n[o]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(t=!0);e+=1}return n}function B5i(){return{flow:{null:{name:"table",tokenize:F5i,resolveAll:N5i}}}}function F5i(i,e,t){const n=this;let r=0,o=0,s;return a;function a(T){let M=n.events.length-1;for(;M>-1;){const P=n.events[M][1].type;if(P==="lineEnding"||P==="linePrefix")M--;else break}const k=M>-1?n.events[M][1].type:null,O=k==="tableHead"||k==="tableRow"?S:l;return O===S&&n.parser.lazy[n.now().line]?t(T):O(T)}function l(T){return i.enter("tableHead"),i.enter("tableRow"),u(T)}function u(T){return T===124||(s=!0,o+=1),c(T)}function c(T){return T===null?t(T):Er(T)?o>1?(o=0,n.interrupt=!0,i.exit("tableRow"),i.enter("lineEnding"),i.consume(T),i.exit("lineEnding"),f):t(T):wo(T)?jo(i,c,"whitespace")(T):(o+=1,s&&(s=!1,r+=1),T===124?(i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),s=!0,c):(i.enter("data"),h(T)))}function h(T){return T===null||T===124||ks(T)?(i.exit("data"),c(T)):(i.consume(T),T===92?d:h)}function d(T){return T===92||T===124?(i.consume(T),h):h(T)}function f(T){return n.interrupt=!1,n.parser.lazy[n.now().line]?t(T):(i.enter("tableDelimiterRow"),s=!1,wo(T)?jo(i,g,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):g(T))}function g(T){return T===45||T===58?m(T):T===124?(s=!0,i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),p):x(T)}function p(T){return wo(T)?jo(i,m,"whitespace")(T):m(T)}function m(T){return T===58?(o+=1,s=!0,i.enter("tableDelimiterMarker"),i.consume(T),i.exit("tableDelimiterMarker"),v):T===45?(o+=1,v(T)):T===null||Er(T)?C(T):x(T)}function v(T){return T===45?(i.enter("tableDelimiterFiller"),b(T)):x(T)}function b(T){return T===45?(i.consume(T),b):T===58?(s=!0,i.exit("tableDelimiterFiller"),i.enter("tableDelimiterMarker"),i.consume(T),i.exit("tableDelimiterMarker"),y):(i.exit("tableDelimiterFiller"),y(T))}function y(T){return wo(T)?jo(i,C,"whitespace")(T):C(T)}function C(T){return T===124?g(T):T===null||Er(T)?!s||r!==o?x(T):(i.exit("tableDelimiterRow"),i.exit("tableHead"),e(T)):x(T)}function x(T){return t(T)}function S(T){return i.enter("tableRow"),w(T)}function w(T){return T===124?(i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),w):T===null||Er(T)?(i.exit("tableRow"),e(T)):wo(T)?jo(i,w,"whitespace")(T):(i.enter("data"),E(T))}function E(T){return T===null||T===124||ks(T)?(i.exit("data"),w(T)):(i.consume(T),T===92?A:E)}function A(T){return T===92||T===124?(i.consume(T),E):E(T)}}function N5i(i,e){let t=-1,n=!0,r=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,u,c,h;const d=new D5i;for(;++t<i.length;){const f=i[t],g=f[1];f[0]==="enter"?g.type==="tableHead"?(a=!1,l!==0&&(oZe(d,e,l,u,c),c=void 0,l=0),u={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(t,0,[["enter",u,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(n=!0,h=void 0,o=[0,0,0,0],s=[0,t+1,0,0],a&&(a=!1,c={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(t,0,[["enter",c,e]])),r=g.type==="tableDelimiterRow"?2:c?3:1):r&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],h=EL(d,e,o,r,void 0,h),o=[0,0,0,0]),s[2]=t)):g.type==="tableCellDivider"&&(n?n=!1:(o[1]!==0&&(s[0]=s[1],h=EL(d,e,o,r,void 0,h)),o=s,s=[o[1],t,0,0])):g.type==="tableHead"?(a=!0,l=t):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=t,o[1]!==0?(s[0]=s[1],h=EL(d,e,o,r,t,h)):s[1]!==0&&(h=EL(d,e,s,r,t,h)),r=0):r&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=t)}for(l!==0&&oZe(d,e,l,u,c),d.consume(e.events),t=-1;++t<e.events.length;){const f=e.events[t];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=L5i(e.events,t))}return i}function EL(i,e,t,n,r,o){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",a="tableContent";t[0]!==0&&(o.end=Object.assign({},LS(e.events,t[0])),i.add(t[0],0,[["exit",o,e]]));const l=LS(e.events,t[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},i.add(t[1],0,[["enter",o,e]]),t[2]!==0){const u=LS(e.events,t[2]),c=LS(e.events,t[3]),h={type:a,start:Object.assign({},u),end:Object.assign({},c)};if(i.add(t[2],0,[["enter",h,e]]),n!==2){const d=e.events[t[2]],f=e.events[t[3]];if(d[1].end=Object.assign({},f[1].end),d[1].type="chunkText",d[1].contentType="text",t[3]>t[2]+1){const g=t[2]+1,p=t[3]-t[2]-1;i.add(g,p,[])}}i.add(t[3]+1,0,[["exit",h,e]])}return r!==void 0&&(o.end=Object.assign({},LS(e.events,r)),i.add(r,0,[["exit",o,e]]),o=void 0),o}function oZe(i,e,t,n,r){const o=[],s=LS(e.events,t);r&&(r.end=Object.assign({},s),o.push(["exit",r,e])),n.end=Object.assign({},s),o.push(["exit",n,e]),i.add(t+1,0,o)}function LS(i,e){const t=i[e],n=t[0]==="enter"?"start":"end";return t[1][n]}const $5i={name:"tasklistCheck",tokenize:z5i};function H5i(){return{text:{91:$5i}}}function z5i(i,e,t){const n=this;return r;function r(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?t(l):(i.enter("taskListCheck"),i.enter("taskListCheckMarker"),i.consume(l),i.exit("taskListCheckMarker"),o)}function o(l){return ks(l)?(i.enter("taskListCheckValueUnchecked"),i.consume(l),i.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(i.enter("taskListCheckValueChecked"),i.consume(l),i.exit("taskListCheckValueChecked"),s):t(l)}function s(l){return l===93?(i.enter("taskListCheckMarker"),i.consume(l),i.exit("taskListCheckMarker"),i.exit("taskListCheck"),a):t(l)}function a(l){return Er(l)?e(l):wo(l)?i.check({tokenize:W5i},e,t)(l):t(l)}}function W5i(i,e,t){return jo(i,n,"whitespace");function n(r){return r===null?t(r):e(r)}}function V5i(i){return MYe([g5i(),w5i(),I5i(i),B5i(),H5i()])}const j5i={};function U5i(i){const e=this,t=i||j5i,n=e.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(V5i(t)),o.push(c5i()),s.push(h5i(t))}const G5i=()=>{const{eventBus:i}=hze();return i.emit.bind(i)},q5i=a=>{var l=a,{renderMode:i="md",children:e,components:t,rehypePlugins:n,remarkPlugins:r,eventSubs:o}=l,s=sh(l,["renderMode","children","components","rehypePlugins","remarkPlugins","eventSubs"]);const u=re.useMemo(()=>new dCi,[]),c=re.useMemo(()=>({eventBus:u}),[u]);return re.useEffect(()=>{if(o){const h=Object.keys(o);for(const d of h)u.on(d,o[d]);return()=>{for(const d of h)u.off(d,o[d])}}},[u,o]),Se.jsxs(cze.Provider,{value:c,children:[i==="md"&&Se.jsx(c4i,on(Te({components:t,rehypePlugins:[BEi,...n||[]],remarkPlugins:[U5i,...r||[]]},s),{children:e})),i==="json"&&Se.jsx(oqe,{content:e,components:Te({},Wb),loadingTimeout:50})]})},sZe=re.memo(q5i),Y5i=aqe(),X5i=i=>{try{return!!JSON.parse(i)}catch(e){return!1}},K5i=n=>{var r=n,{children:i,components:e}=r,t=sh(r,["children","components"]);const o=re.Children.toArray(i).join("").trim(),s=X5i(o)?"json":"md";return Se.jsx(sZe,on(Te({renderMode:s,components:Te({code:Y5i},e)},t),{children:o}))},Z5i=re.memo(K5i),Q5i="0.0.39";Wi.Area=rLe,Wi.Bar=oLe,Wi.ChartType=Ja,Wi.ConfigProvider=cCi,Wi.DEFAULT_CHART_COMPONENTS=Wb,Wi.Donut=QLe,Wi.Funnel=JLe,Wi.GPTVis=Z5i,Wi.GPTVisLite=sZe,Wi.Gauge=eBe,Wi.Heatmap=tBe,Wi.Indicator=nBe,Wi.Line=rBe,Wi.Pie=oBe,Wi.Radar=sBe,Wi.Rank=aBe,Wi.Scatter=lBe,Wi.Table=lze,Wi.VisText=Kei,Wi.chartTypeOptions=$ye,Wi.getChartCategory=s0,Wi.handleChartDataSourceChange=Rz,Wi.handleChartTypeChange=Hye,Wi.useEventPublish=G5i,Wi.version=Q5i,Wi.withChartCode=sqe,Wi.withDefaultChartCode=aqe,Object.defineProperty(Wi,Symbol.toStringTag,{value:"Module"})}));
10874
+ `))}function l(f,g,p,m){const v=p.enter("tableCell"),b=p.enter("phrasing"),y=p.containerPhrasing(f,on(Te({},m),{before:o,after:o}));return b(),v(),y}function u(f,g){return yAi(f,{align:g,alignDelimiters:n,padding:t,stringLength:r})}function c(f,g,p){const m=f.children;let v=-1;const b=[],y=g.enter("table");for(;++v<m.length;)b[v]=h(m[v],g,p);return y(),b}function h(f,g,p){const m=f.children;let v=-1;const b=[],y=g.enter("tableRow");for(;++v<m.length;)b[v]=l(m[v],f,g,p);return y(),b}function d(f,g,p){let m=YKe.inlineCode(f,g,p);return p.stack.includes("tableCell")&&(m=m.replace(/\|/g,"\\$&")),m}}function s5i(){return{exit:{taskListCheckValueChecked:KKe,taskListCheckValueUnchecked:KKe,paragraph:l5i}}}function a5i(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:u5i}}}function KKe(i){const e=this.stack[this.stack.length-2];e.type,e.checked=i.type==="taskListCheckValueChecked"}function l5i(i){const e=this.stack[this.stack.length-2];if(e&&e.type==="listItem"&&typeof e.checked=="boolean"){const t=this.stack[this.stack.length-1];t.type;const n=t.children[0];if(n&&n.type==="text"){const r=e.children;let o=-1,s;for(;++o<r.length;){const a=r[o];if(a.type==="paragraph"){s=a;break}}s===t&&(n.value=n.value.slice(1),n.value.length===0?t.children.shift():t.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,t.position.start=Object.assign({},n.position.start)))}}this.exit(i)}function u5i(i,e,t,n){const r=i.children[0],o=typeof i.checked=="boolean"&&r&&r.type==="paragraph",s="["+(i.checked?"x":" ")+"] ",a=t.createTracker(n);o&&a.move(s);let l=YKe.listItem(i,e,t,Te(Te({},n),a.current()));return o&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,u)),l;function u(c){return c+s}}function c5i(){return[WEi(),uAi(),fAi(),JAi(),s5i()]}function h5i(i){return{extensions:[VEi(),cAi(i),gAi(),o5i(i),a5i()]}}const d5i={tokenize:b5i,partial:!0},ZKe={tokenize:y5i,partial:!0},QKe={tokenize:_5i,partial:!0},JKe={tokenize:C5i,partial:!0},f5i={tokenize:S5i,partial:!0},eZe={name:"wwwAutolink",tokenize:m5i,previous:iZe},tZe={name:"protocolAutolink",tokenize:v5i,previous:nZe},$1={name:"emailAutolink",tokenize:p5i,previous:rZe},ip={};function g5i(){return{text:ip}}let cy=48;for(;cy<123;)ip[cy]=$1,cy++,cy===58?cy=65:cy===91&&(cy=97);ip[43]=$1,ip[45]=$1,ip[46]=$1,ip[95]=$1,ip[72]=[$1,tZe],ip[104]=[$1,tZe],ip[87]=[$1,eZe],ip[119]=[$1,eZe];function p5i(i,e,t){const n=this;let r,o;return s;function s(h){return!Yae(h)||!rZe.call(n,n.previous)||Xae(n.events)?t(h):(i.enter("literalAutolink"),i.enter("literalAutolinkEmail"),a(h))}function a(h){return Yae(h)?(i.consume(h),a):h===64?(i.consume(h),l):t(h)}function l(h){return h===46?i.check(f5i,c,u)(h):h===45||h===95||Bu(h)?(o=!0,i.consume(h),l):c(h)}function u(h){return i.consume(h),r=!0,l}function c(h){return o&&r&&uc(n.previous)?(i.exit("literalAutolinkEmail"),i.exit("literalAutolink"),e(h)):t(h)}}function m5i(i,e,t){const n=this;return r;function r(s){return s!==87&&s!==119||!iZe.call(n,n.previous)||Xae(n.events)?t(s):(i.enter("literalAutolink"),i.enter("literalAutolinkWww"),i.check(d5i,i.attempt(ZKe,i.attempt(QKe,o),t),t)(s))}function o(s){return i.exit("literalAutolinkWww"),i.exit("literalAutolink"),e(s)}}function v5i(i,e,t){const n=this;let r="",o=!1;return s;function s(h){return(h===72||h===104)&&nZe.call(n,n.previous)&&!Xae(n.events)?(i.enter("literalAutolink"),i.enter("literalAutolinkHttp"),r+=String.fromCodePoint(h),i.consume(h),a):t(h)}function a(h){if(uc(h)&&r.length<5)return r+=String.fromCodePoint(h),i.consume(h),a;if(h===58){const d=r.toLowerCase();if(d==="http"||d==="https")return i.consume(h),l}return t(h)}function l(h){return h===47?(i.consume(h),o?u:(o=!0,l)):t(h)}function u(h){return h===null||iL(h)||ks(h)||oy(h)||nL(h)?t(h):i.attempt(ZKe,i.attempt(QKe,c),t)(h)}function c(h){return i.exit("literalAutolinkHttp"),i.exit("literalAutolink"),e(h)}}function b5i(i,e,t){let n=0;return r;function r(s){return(s===87||s===119)&&n<3?(n++,i.consume(s),r):s===46&&n===3?(i.consume(s),o):t(s)}function o(s){return s===null?t(s):e(s)}}function y5i(i,e,t){let n,r,o;return s;function s(u){return u===46||u===95?i.check(JKe,l,a)(u):u===null||ks(u)||oy(u)||u!==45&&nL(u)?l(u):(o=!0,i.consume(u),s)}function a(u){return u===95?n=!0:(r=n,n=void 0),i.consume(u),s}function l(u){return r||n||!o?t(u):e(u)}}function _5i(i,e){let t=0,n=0;return r;function r(s){return s===40?(t++,i.consume(s),r):s===41&&n<t?o(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?i.check(JKe,e,o)(s):s===null||ks(s)||oy(s)?e(s):(i.consume(s),r)}function o(s){return s===41&&n++,i.consume(s),r}}function C5i(i,e,t){return n;function n(a){return a===33||a===34||a===39||a===41||a===42||a===44||a===46||a===58||a===59||a===63||a===95||a===126?(i.consume(a),n):a===38?(i.consume(a),o):a===93?(i.consume(a),r):a===60||a===null||ks(a)||oy(a)?e(a):t(a)}function r(a){return a===null||a===40||a===91||ks(a)||oy(a)?e(a):n(a)}function o(a){return uc(a)?s(a):t(a)}function s(a){return a===59?(i.consume(a),n):uc(a)?(i.consume(a),s):t(a)}}function S5i(i,e,t){return n;function n(o){return i.consume(o),r}function r(o){return Bu(o)?t(o):e(o)}}function iZe(i){return i===null||i===40||i===42||i===95||i===91||i===93||i===126||ks(i)}function nZe(i){return!uc(i)}function rZe(i){return!(i===47||Yae(i))}function Yae(i){return i===43||i===45||i===46||i===95||Bu(i)}function Xae(i){let e=i.length,t=!1;for(;e--;){const n=i[e][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){t=!0;break}if(n._gfmAutolinkLiteralWalkedInto){t=!1;break}}return i.length>0&&!t&&(i[i.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),t}const x5i={tokenize:O5i,partial:!0};function w5i(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:R5i,continuation:{tokenize:M5i},exit:k5i}},text:{91:{name:"gfmFootnoteCall",tokenize:T5i},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:E5i,resolveTo:A5i}}}}function E5i(i,e,t){const n=this;let r=n.events.length;const o=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;r--;){const l=n.events[r][1];if(l.type==="labelImage"){s=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return a;function a(l){if(!s||!s._balanced)return t(l);const u=$0(n.sliceSerialize({start:s.end,end:n.now()}));return u.codePointAt(0)!==94||!o.includes(u.slice(1))?t(l):(i.enter("gfmFootnoteCallLabelMarker"),i.consume(l),i.exit("gfmFootnoteCallLabelMarker"),e(l))}}function A5i(i,e){let t=i.length;for(;t--;)if(i[t][1].type==="labelImage"&&i[t][0]==="enter"){i[t][1];break}i[t+1][1].type="data",i[t+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},i[t+3][1].start),end:Object.assign({},i[i.length-1][1].end)},r={type:"gfmFootnoteCallMarker",start:Object.assign({},i[t+3][1].end),end:Object.assign({},i[t+3][1].end)};r.end.column++,r.end.offset++,r.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},r.end),end:Object.assign({},i[i.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},a=[i[t+1],i[t+2],["enter",n,e],i[t+3],i[t+4],["enter",r,e],["exit",r,e],["enter",o,e],["enter",s,e],["exit",s,e],["exit",o,e],i[i.length-2],i[i.length-1],["exit",n,e]];return i.splice(t,i.length-t+1,...a),i}function T5i(i,e,t){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o=0,s;return a;function a(h){return i.enter("gfmFootnoteCall"),i.enter("gfmFootnoteCallLabelMarker"),i.consume(h),i.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?t(h):(i.enter("gfmFootnoteCallMarker"),i.consume(h),i.exit("gfmFootnoteCallMarker"),i.enter("gfmFootnoteCallString"),i.enter("chunkString").contentType="string",u)}function u(h){if(o>999||h===93&&!s||h===null||h===91||ks(h))return t(h);if(h===93){i.exit("chunkString");const d=i.exit("gfmFootnoteCallString");return r.includes($0(n.sliceSerialize(d)))?(i.enter("gfmFootnoteCallLabelMarker"),i.consume(h),i.exit("gfmFootnoteCallLabelMarker"),i.exit("gfmFootnoteCall"),e):t(h)}return ks(h)||(s=!0),o++,i.consume(h),h===92?c:u}function c(h){return h===91||h===92||h===93?(i.consume(h),o++,u):u(h)}}function R5i(i,e,t){const n=this,r=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let o,s=0,a;return l;function l(g){return i.enter("gfmFootnoteDefinition")._container=!0,i.enter("gfmFootnoteDefinitionLabel"),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionLabelMarker"),u}function u(g){return g===94?(i.enter("gfmFootnoteDefinitionMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionMarker"),i.enter("gfmFootnoteDefinitionLabelString"),i.enter("chunkString").contentType="string",c):t(g)}function c(g){if(s>999||g===93&&!a||g===null||g===91||ks(g))return t(g);if(g===93){i.exit("chunkString");const p=i.exit("gfmFootnoteDefinitionLabelString");return o=$0(n.sliceSerialize(p)),i.enter("gfmFootnoteDefinitionLabelMarker"),i.consume(g),i.exit("gfmFootnoteDefinitionLabelMarker"),i.exit("gfmFootnoteDefinitionLabel"),d}return ks(g)||(a=!0),s++,i.consume(g),g===92?h:c}function h(g){return g===91||g===92||g===93?(i.consume(g),s++,c):c(g)}function d(g){return g===58?(i.enter("definitionMarker"),i.consume(g),i.exit("definitionMarker"),r.includes(o)||r.push(o),jo(i,f,"gfmFootnoteDefinitionWhitespace")):t(g)}function f(g){return e(g)}}function M5i(i,e,t){return i.check(x5,e,i.attempt(x5i,e,t))}function k5i(i){i.exit("gfmFootnoteDefinition")}function O5i(i,e,t){const n=this;return jo(i,r,"gfmFootnoteDefinitionIndent",5);function r(o){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?e(o):t(o)}}function I5i(i){let t=(i||{}).singleTilde;const n={name:"strikethrough",tokenize:o,resolveAll:r};return t==null&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function r(s,a){let l=-1;for(;++l<s.length;)if(s[l][0]==="enter"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._close){let u=l;for(;u--;)if(s[u][0]==="exit"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._open&&s[l][1].end.offset-s[l][1].start.offset===s[u][1].end.offset-s[u][1].start.offset){s[l][1].type="strikethroughSequence",s[u][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[u][1].start),end:Object.assign({},s[l][1].end)},h={type:"strikethroughText",start:Object.assign({},s[u][1].end),end:Object.assign({},s[l][1].start)},d=[["enter",c,a],["enter",s[u][1],a],["exit",s[u][1],a],["enter",h,a]],f=a.parser.constructs.insideSpan.null;f&&yd(d,d.length,0,rL(f,s.slice(u+1,l),a)),yd(d,d.length,0,[["exit",h,a],["enter",s[l][1],a],["exit",s[l][1],a],["exit",c,a]]),yd(s,u-1,l-u+3,d),l=u+d.length-2;break}}for(l=-1;++l<s.length;)s[l][1].type==="strikethroughSequenceTemporary"&&(s[l][1].type="data");return s}function o(s,a,l){const u=this.previous,c=this.events;let h=0;return d;function d(g){return u===126&&c[c.length-1][1].type!=="characterEscape"?l(g):(s.enter("strikethroughSequenceTemporary"),f(g))}function f(g){const p=ES(u);if(g===126)return h>1?l(g):(s.consume(g),h++,f);if(h<2&&!t)return l(g);const m=s.exit("strikethroughSequenceTemporary"),v=ES(g);return m._open=!v||v===2&&!!p,m._close=!p||p===2&&!!v,a(g)}}}class D5i{constructor(){this.map=[]}add(e,t,n){P5i(this,e,t,n)}consume(e){if(this.map.sort(function(o,s){return o[0]-s[0]}),this.map.length===0)return;let t=this.map.length;const n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(const o of r)e.push(o);r=n.pop()}this.map.length=0}}function P5i(i,e,t,n){let r=0;if(!(t===0&&n.length===0)){for(;r<i.map.length;){if(i.map[r][0]===e){i.map[r][1]+=t,i.map[r][2].push(...n);return}r+=1}i.map.push([e,t,n])}}function L5i(i,e){let t=!1;const n=[];for(;e<i.length;){const r=i[e];if(t){if(r[0]==="enter")r[1].type==="tableContent"&&n.push(i[e+1][1].type==="tableDelimiterMarker"?"left":"none");else if(r[1].type==="tableContent"){if(i[e-1][1].type==="tableDelimiterMarker"){const o=n.length-1;n[o]=n[o]==="left"?"center":"right"}}else if(r[1].type==="tableDelimiterRow")break}else r[0]==="enter"&&r[1].type==="tableDelimiterRow"&&(t=!0);e+=1}return n}function B5i(){return{flow:{null:{name:"table",tokenize:F5i,resolveAll:N5i}}}}function F5i(i,e,t){const n=this;let r=0,o=0,s;return a;function a(T){let M=n.events.length-1;for(;M>-1;){const P=n.events[M][1].type;if(P==="lineEnding"||P==="linePrefix")M--;else break}const k=M>-1?n.events[M][1].type:null,O=k==="tableHead"||k==="tableRow"?S:l;return O===S&&n.parser.lazy[n.now().line]?t(T):O(T)}function l(T){return i.enter("tableHead"),i.enter("tableRow"),u(T)}function u(T){return T===124||(s=!0,o+=1),c(T)}function c(T){return T===null?t(T):Er(T)?o>1?(o=0,n.interrupt=!0,i.exit("tableRow"),i.enter("lineEnding"),i.consume(T),i.exit("lineEnding"),f):t(T):wo(T)?jo(i,c,"whitespace")(T):(o+=1,s&&(s=!1,r+=1),T===124?(i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),s=!0,c):(i.enter("data"),h(T)))}function h(T){return T===null||T===124||ks(T)?(i.exit("data"),c(T)):(i.consume(T),T===92?d:h)}function d(T){return T===92||T===124?(i.consume(T),h):h(T)}function f(T){return n.interrupt=!1,n.parser.lazy[n.now().line]?t(T):(i.enter("tableDelimiterRow"),s=!1,wo(T)?jo(i,g,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(T):g(T))}function g(T){return T===45||T===58?m(T):T===124?(s=!0,i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),p):x(T)}function p(T){return wo(T)?jo(i,m,"whitespace")(T):m(T)}function m(T){return T===58?(o+=1,s=!0,i.enter("tableDelimiterMarker"),i.consume(T),i.exit("tableDelimiterMarker"),v):T===45?(o+=1,v(T)):T===null||Er(T)?C(T):x(T)}function v(T){return T===45?(i.enter("tableDelimiterFiller"),b(T)):x(T)}function b(T){return T===45?(i.consume(T),b):T===58?(s=!0,i.exit("tableDelimiterFiller"),i.enter("tableDelimiterMarker"),i.consume(T),i.exit("tableDelimiterMarker"),y):(i.exit("tableDelimiterFiller"),y(T))}function y(T){return wo(T)?jo(i,C,"whitespace")(T):C(T)}function C(T){return T===124?g(T):T===null||Er(T)?!s||r!==o?x(T):(i.exit("tableDelimiterRow"),i.exit("tableHead"),e(T)):x(T)}function x(T){return t(T)}function S(T){return i.enter("tableRow"),w(T)}function w(T){return T===124?(i.enter("tableCellDivider"),i.consume(T),i.exit("tableCellDivider"),w):T===null||Er(T)?(i.exit("tableRow"),e(T)):wo(T)?jo(i,w,"whitespace")(T):(i.enter("data"),E(T))}function E(T){return T===null||T===124||ks(T)?(i.exit("data"),w(T)):(i.consume(T),T===92?A:E)}function A(T){return T===92||T===124?(i.consume(T),E):E(T)}}function N5i(i,e){let t=-1,n=!0,r=0,o=[0,0,0,0],s=[0,0,0,0],a=!1,l=0,u,c,h;const d=new D5i;for(;++t<i.length;){const f=i[t],g=f[1];f[0]==="enter"?g.type==="tableHead"?(a=!1,l!==0&&(oZe(d,e,l,u,c),c=void 0,l=0),u={type:"table",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(t,0,[["enter",u,e]])):g.type==="tableRow"||g.type==="tableDelimiterRow"?(n=!0,h=void 0,o=[0,0,0,0],s=[0,t+1,0,0],a&&(a=!1,c={type:"tableBody",start:Object.assign({},g.start),end:Object.assign({},g.end)},d.add(t,0,[["enter",c,e]])),r=g.type==="tableDelimiterRow"?2:c?3:1):r&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(o[1]!==0&&(s[0]=s[1],h=EL(d,e,o,r,void 0,h),o=[0,0,0,0]),s[2]=t)):g.type==="tableCellDivider"&&(n?n=!1:(o[1]!==0&&(s[0]=s[1],h=EL(d,e,o,r,void 0,h)),o=s,s=[o[1],t,0,0])):g.type==="tableHead"?(a=!0,l=t):g.type==="tableRow"||g.type==="tableDelimiterRow"?(l=t,o[1]!==0?(s[0]=s[1],h=EL(d,e,o,r,t,h)):s[1]!==0&&(h=EL(d,e,s,r,t,h)),r=0):r&&(g.type==="data"||g.type==="tableDelimiterMarker"||g.type==="tableDelimiterFiller")&&(s[3]=t)}for(l!==0&&oZe(d,e,l,u,c),d.consume(e.events),t=-1;++t<e.events.length;){const f=e.events[t];f[0]==="enter"&&f[1].type==="table"&&(f[1]._align=L5i(e.events,t))}return i}function EL(i,e,t,n,r,o){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",a="tableContent";t[0]!==0&&(o.end=Object.assign({},LS(e.events,t[0])),i.add(t[0],0,[["exit",o,e]]));const l=LS(e.events,t[1]);if(o={type:s,start:Object.assign({},l),end:Object.assign({},l)},i.add(t[1],0,[["enter",o,e]]),t[2]!==0){const u=LS(e.events,t[2]),c=LS(e.events,t[3]),h={type:a,start:Object.assign({},u),end:Object.assign({},c)};if(i.add(t[2],0,[["enter",h,e]]),n!==2){const d=e.events[t[2]],f=e.events[t[3]];if(d[1].end=Object.assign({},f[1].end),d[1].type="chunkText",d[1].contentType="text",t[3]>t[2]+1){const g=t[2]+1,p=t[3]-t[2]-1;i.add(g,p,[])}}i.add(t[3]+1,0,[["exit",h,e]])}return r!==void 0&&(o.end=Object.assign({},LS(e.events,r)),i.add(r,0,[["exit",o,e]]),o=void 0),o}function oZe(i,e,t,n,r){const o=[],s=LS(e.events,t);r&&(r.end=Object.assign({},s),o.push(["exit",r,e])),n.end=Object.assign({},s),o.push(["exit",n,e]),i.add(t+1,0,o)}function LS(i,e){const t=i[e],n=t[0]==="enter"?"start":"end";return t[1][n]}const $5i={name:"tasklistCheck",tokenize:z5i};function H5i(){return{text:{91:$5i}}}function z5i(i,e,t){const n=this;return r;function r(l){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?t(l):(i.enter("taskListCheck"),i.enter("taskListCheckMarker"),i.consume(l),i.exit("taskListCheckMarker"),o)}function o(l){return ks(l)?(i.enter("taskListCheckValueUnchecked"),i.consume(l),i.exit("taskListCheckValueUnchecked"),s):l===88||l===120?(i.enter("taskListCheckValueChecked"),i.consume(l),i.exit("taskListCheckValueChecked"),s):t(l)}function s(l){return l===93?(i.enter("taskListCheckMarker"),i.consume(l),i.exit("taskListCheckMarker"),i.exit("taskListCheck"),a):t(l)}function a(l){return Er(l)?e(l):wo(l)?i.check({tokenize:W5i},e,t)(l):t(l)}}function W5i(i,e,t){return jo(i,n,"whitespace");function n(r){return r===null?t(r):e(r)}}function V5i(i){return MYe([g5i(),w5i(),I5i(i),B5i(),H5i()])}const j5i={};function U5i(i){const e=this,t=i||j5i,n=e.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(V5i(t)),o.push(c5i()),s.push(h5i(t))}const G5i=()=>{const{eventBus:i}=hze();return i.emit.bind(i)},q5i=a=>{var l=a,{renderMode:i="md",children:e,components:t,rehypePlugins:n,remarkPlugins:r,eventSubs:o}=l,s=sh(l,["renderMode","children","components","rehypePlugins","remarkPlugins","eventSubs"]);const u=re.useMemo(()=>new dCi,[]),c=re.useMemo(()=>({eventBus:u}),[u]);return re.useEffect(()=>{if(o){const h=Object.keys(o);for(const d of h)u.on(d,o[d]);return()=>{for(const d of h)u.off(d,o[d])}}},[u,o]),Se.jsxs(cze.Provider,{value:c,children:[i==="md"&&Se.jsx(c4i,on(Te({components:t,rehypePlugins:[BEi,...n||[]],remarkPlugins:[U5i,...r||[]]},s),{children:e})),i==="json"&&Se.jsx(oqe,{content:e,components:Te({},Wb),loadingTimeout:50})]})},sZe=re.memo(q5i),Y5i=aqe(),X5i=i=>{try{return!!JSON.parse(i)}catch(e){return!1}},K5i=n=>{var r=n,{children:i,components:e}=r,t=sh(r,["children","components"]);const o=re.Children.toArray(i).join("").trim(),s=X5i(o)?"json":"md";return Se.jsx(sZe,on(Te({renderMode:s,components:Te({code:Y5i},e)},t),{children:o}))},Z5i=re.memo(K5i),Q5i="0.0.40";Wi.Area=rLe,Wi.Bar=oLe,Wi.ChartType=Ja,Wi.ConfigProvider=cCi,Wi.DEFAULT_CHART_COMPONENTS=Wb,Wi.Donut=QLe,Wi.Funnel=JLe,Wi.GPTVis=Z5i,Wi.GPTVisLite=sZe,Wi.Gauge=eBe,Wi.Heatmap=tBe,Wi.Indicator=nBe,Wi.Line=rBe,Wi.Pie=oBe,Wi.Radar=sBe,Wi.Rank=aBe,Wi.Scatter=lBe,Wi.Table=lze,Wi.VisText=Kei,Wi.chartTypeOptions=$ye,Wi.getChartCategory=s0,Wi.handleChartDataSourceChange=Rz,Wi.handleChartTypeChange=Hye,Wi.useEventPublish=G5i,Wi.version=Q5i,Wi.withChartCode=sqe,Wi.withDefaultChartCode=aqe,Object.defineProperty(Wi,Symbol.toStringTag,{value:"Module"})}));
Binary file
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.0.39";
1
+ declare const _default: "0.0.40";
2
2
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@advt-gpt-chart/package",
3
3
  "private": false,
4
- "version": "0.0.39",
4
+ "version": "0.0.40",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"