@advt-gpt-chart/package 0.0.38 → 0.0.39

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
@@ -163399,8 +163399,8 @@ const u0i = {
163399
163399
  }
163400
163400
 
163401
163401
  .loading-svg-ele {
163402
- width: 50px;
163403
- height: 50px;
163402
+ width: 56px;
163403
+ height: 56px;
163404
163404
  -webkit-animation: iconSpin 1500ms infinite linear;
163405
163405
  -o-animation: iconSpin 1500ms infinite linear;
163406
163406
  animation: iconSpin 1500ms infinite linear;
@@ -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.38";
203834
+ }, r9i = $I(wRi), o9i = "0.0.39";
203835
203835
  export {
203836
203836
  jti as Area,
203837
203837
  Gti as Bar,
Binary file
package/dist/index.umd.js CHANGED
@@ -10032,8 +10032,8 @@ For more details see https://formatjs.github.io/docs/getting-started/message-dis
10032
10032
  }
10033
10033
 
10034
10034
  .loading-svg-ele {
10035
- width: 50px;
10036
- height: 50px;
10035
+ width: 56px;
10036
+ height: 56px;
10037
10037
  -webkit-animation: iconSpin 1500ms infinite linear;
10038
10038
  -o-animation: iconSpin 1500ms infinite linear;
10039
10039
  animation: iconSpin 1500ms infinite linear;
@@ -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.38";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.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"})}));
Binary file
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "0.0.38";
1
+ declare const _default: "0.0.39";
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.38",
4
+ "version": "0.0.39",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"