truecourse 0.1.7 → 0.1.8
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/cli.mjs +1 -1
- package/package.json +1 -1
- package/public/assets/index-2JAhA9Km.js +386 -0
- package/public/assets/index-vuAqJRVb.css +1 -0
- package/public/index.html +29 -12
- package/server.mjs +6 -45
- package/public/404.html +0 -12
- package/public/_next/static/chunks/381-85180243c39f893f.js +0 -1
- package/public/_next/static/chunks/552-6917726d81ee49a3.js +0 -1
- package/public/_next/static/chunks/572-f3883e9a1f12af9b.js +0 -1
- package/public/_next/static/chunks/597-bdc49f9b0afbcc65.js +0 -1
- package/public/_next/static/chunks/7273c211-cf17e181dbeacc49.js +0 -1
- package/public/_next/static/chunks/a51c26f2-8f567e78114a65f0.js +0 -1
- package/public/_next/static/chunks/app/_not-found/page-7ce89933d9d660c3.js +0 -1
- package/public/_next/static/chunks/app/layout-7b61f0cc08a2b70c.js +0 -1
- package/public/_next/static/chunks/app/page-cfec34672a92b197.js +0 -1
- package/public/_next/static/chunks/app/repos/[[...slug]]/page-775a75a81164bb72.js +0 -1
- package/public/_next/static/chunks/framework-56b72e8a5f911564.js +0 -1
- package/public/_next/static/chunks/main-19f32cbfea665136.js +0 -1
- package/public/_next/static/chunks/main-app-11a30c55aba12d50.js +0 -1
- package/public/_next/static/chunks/pages/_app-23d1cfabc23fb6da.js +0 -1
- package/public/_next/static/chunks/pages/_error-647008f4bf4249c2.js +0 -1
- package/public/_next/static/chunks/polyfills-42372ed130431b0a.js +0 -1
- package/public/_next/static/chunks/webpack-f20a7a6e701c70d8.js +0 -1
- package/public/_next/static/css/599369d853c61df7.css +0 -31
- package/public/_next/static/css/bfb5d4bf473c84ea.css +0 -1
- package/public/_next/static/kOyPn8D2uazBrGUJ8aHW-/_buildManifest.js +0 -1
- package/public/_next/static/kOyPn8D2uazBrGUJ8aHW-/_ssgManifest.js +0 -1
- package/public/index.txt +0 -19
- package/public/repos.html +0 -12
- package/public/repos.txt +0 -17
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[552],{118:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},762:(e,t,n)=>{e.exports=n(16243)()},937:(e,t,n)=>{var r=n(2628),i=n(88282);e.exports=function(e,t){return e&&r(t,i(t),e)}},1122:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]])},1444:(e,t,n)=>{var r=n(20092),i=n(65459),o=n(53476);e.exports=function(e,t,n,a,s,l){var u=1&n,c=e.length,h=t.length;if(c!=h&&!(u&&h>c))return!1;var f=l.get(e),d=l.get(t);if(f&&d)return f==t&&d==e;var p=-1,g=!0,y=2&n?new r:void 0;for(l.set(e,t),l.set(t,e);++p<c;){var m=e[p],v=t[p];if(a)var x=u?a(v,m,p,t,e,l):a(m,v,p,e,t,l);if(void 0!==x){if(x)continue;g=!1;break}if(y){if(!i(t,function(e,t){if(!o(y,t)&&(m===e||s(m,e,n,a,l)))return y.push(t)})){g=!1;break}}else if(!(m===v||s(m,v,n,a,l))){g=!1;break}}return l.delete(e),l.delete(t),g}},1879:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},2074:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g;function u(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var c=1,h=1;function f(e){var t=e.match(n);t&&(c+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function d(){var e={line:c,column:h};return function(t){return t.position=new p(e),y(r),t}}function p(e){this.start=e,this.end={line:c,column:h},this.source=l.source}function g(t){var n=Error(l.source+":"+c+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=c,n.column=h,n.source=e,l.silent);else throw n}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function m(e){var t;for(e=e||[];t=v();)!1!==t&&e.push(t);return e}function v(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return h+=2,f(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}p.prototype.content=e,y(r);var x,b=[];for(m(b);x=function(){var e=d(),n=y(i);if(n){if(v(),!y(o))return g("property missing ':'");var r=y(a),l=e({type:"declaration",property:u(n[0].replace(t,"")),value:r?u(r[0].replace(t,"")):""});return y(s),l}}();)!1!==x&&(b.push(x),m(b));return b}},2446:(e,t,n)=>{e.exports=n(92069)(n(20502),"Set")},2610:(e,t,n)=>{var r=n(95441),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},2613:(e,t,n)=>{var r=n(76342),i=n(66566),o=n(77934),a=n(43123),s=n(118),l=n(88282),u=n(74749);e.exports=function e(t,n,c,h,f){t!==n&&o(n,function(o,l){if(f||(f=new r),s(o))a(t,n,l,c,e,h,f);else{var d=h?h(u(t,l),o,l+"",t,n,f):void 0;void 0===d&&(d=o),i(t,l,d)}},l)}},2628:(e,t,n)=>{var r=n(73432),i=n(97463);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,l=t.length;++s<l;){var u=t[s],c=o?o(n[u],e[u],u,n,e):void 0;void 0===c&&(c=e[u]),a?i(n,u,c):r(n,u,c)}return n}},2935:(e,t,n)=>{var r=n(97463),i=n(15454),o=n(21358);e.exports=function(e,t){var n={};return t=o(t,3),i(e,function(e,i,o){r(n,i,t(e,i,o))}),n}},3135:(e,t,n)=>{var r=n(65387);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},3739:(e,t,n)=>{var r=n(2628),i=n(51332);e.exports=function(e,t){return r(e,i(e),t)}},3897:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("ZapOff",[["path",{d:"M10.513 4.856 13.12 2.17a.5.5 0 0 1 .86.46l-1.377 4.317",key:"193nxd"}],["path",{d:"M15.656 10H20a1 1 0 0 1 .78 1.63l-1.72 1.773",key:"27a7lr"}],["path",{d:"M16.273 16.273 10.88 21.83a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14H4a1 1 0 0 1-.78-1.63l4.507-4.643",key:"1e0qe9"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},4027:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},4201:(e,t,n)=>{var r=n(78926),i=n(49397);e.exports={write:function(e){var t,n,i={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:(t=e,r.map(t.nodes(),function(e){var n=t.node(e),i=t.parent(e),o={v:e};return r.isUndefined(n)||(o.value=n),r.isUndefined(i)||(o.parent=i),o})),edges:(n=e,r.map(n.edges(),function(e){var t=n.edge(e),i={v:e.v,w:e.w};return r.isUndefined(e.name)||(i.name=e.name),r.isUndefined(t)||(i.value=t),i}))};return r.isUndefined(e.graph())||(i.value=r.clone(e.graph())),i},read:function(e){var t=new i(e.options).setGraph(e.value);return r.each(e.nodes,function(e){t.setNode(e.v,e.value),e.parent&&t.setParent(e.v,e.parent)}),r.each(e.edges,function(e){t.setEdge({v:e.v,w:e.w,name:e.name},e.value)}),t}}},4274:(e,t,n)=>{"use strict";n.d(t,{w:()=>y});var r=n(84669),i=n(13382),o=n(17135);function a(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}let s={clipPath:"inset(50%)",overflow:"hidden",whiteSpace:"nowrap",border:0,padding:0,width:1,height:1,margin:-1},l={...s,position:"fixed",top:0,left:0};({...s,position:"absolute"});let u=new Map;function c(e,t,n){return null==e?"":(function(e,t){let n=JSON.stringify({locale:e,options:t}),r=u.get(n);if(r)return r;let i=new Intl.NumberFormat(e,t);return u.set(n,i),i})(t,n).format(e)}var h=n(83668),f=n(33172),d=n(46832),p=n(6409);function g(e,t){return null==t?"indeterminate progress":e||"".concat(t,"%")}let y=r.forwardRef(function(e,t){var n;let{format:s,getAriaValueText:u=g,locale:y,max:m=100,min:v=0,value:x,render:b,className:w,children:k,..._}=e,[E,A]=r.useState(),S=function(e){let t=(0,o.j)(a,e).current;return t.next=e,(0,i.g)(t.effect),t}(s),M="indeterminate";Number.isFinite(x)&&(M=x===m?"complete":"progressing");let C=(n=S.current,null==x?"":n?c(x,y,n):c(x/100,y,{style:"percent"})),T=r.useMemo(()=>({status:M}),[M]),O={"aria-labelledby":E,"aria-valuemax":m,"aria-valuemin":v,"aria-valuenow":null!=x?x:void 0,"aria-valuetext":u(C,x),role:"progressbar",children:(0,p.jsxs)(r.Fragment,{children:[k,(0,p.jsx)("span",{role:"presentation",style:l,children:"x"})]})},P=r.useMemo(()=>({formattedValue:C,max:m,min:v,setLabelId:A,state:T,status:M,value:x}),[C,m,v,A,T,M,x]),j=(0,h.o)("div",e,{state:T,ref:t,props:[O,_],stateAttributesMapping:d.I});return(0,p.jsx)(f.r.Provider,{value:P,children:j})})},4423:e=>{e.exports="0.8.5"},4476:e=>{e.exports=function(e){return e!=e}},4899:(e,t,n)=>{var r=n(84925),i=n(37701),o=n(21358),a=n(28086);e.exports=function(e,t){return(a(e)?r:i)(e,o(t,3))}},5038:e=>{e.exports=function(e){return this.__data__.has(e)}},5190:(e,t,n)=>{var r=n(11479);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},6128:(e,t,n)=>{var r=n(61008),i=n(25805);function o(e,t,n){for(var i;t.length&&(i=r.last(t)).i<=n;)t.pop(),e.push(i.vs),n++;return n}e.exports=function(e,t){var n,a=i.partition(e,function(e){return r.has(e,"barycenter")}),s=a.lhs,l=r.sortBy(a.rhs,function(e){return-e.i}),u=[],c=0,h=0,f=0;s.sort((n=!!t,function(e,t){return e.barycenter<t.barycenter?-1:e.barycenter>t.barycenter?1:n?t.i-e.i:e.i-t.i})),f=o(u,l,f),r.forEach(s,function(e){f+=e.vs.length,u.push(e.vs),c+=e.barycenter*e.weight,h+=e.weight,f=o(u,l,f)});var d={vs:r.flatten(u,!0)};return h&&(d.barycenter=c/h,d.weight=h),d}},6235:(e,t,n)=>{var r=n(78926);e.exports=function(e,t,n){r.isArray(t)||(t=[t]);var i=(e.isDirected()?e.successors:e.neighbors).bind(e),o=[],a={};return r.each(t,function(t){if(!e.hasNode(t))throw Error("Graph does not have node: "+t);!function e(t,n,i,o,a,s){!r.has(o,n)&&(o[n]=!0,i||s.push(n),r.each(a(n),function(n){e(t,n,i,o,a,s)}),i&&s.push(n))}(e,t,"post"===n,a,i,o)}),o}},6278:(e,t,n)=>{var r=n(15454);e.exports=n(48466)(r)},6540:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]])},6548:(e,t,n)=>{var r=n(56913),i=n(6671),o=n(80744),a=n(28236),s=n(75172);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},6671:(e,t,n)=>{var r=n(37874),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0)&&(n==t.length-1?t.pop():i.call(t,n,1),--this.size,!0)}},6798:(e,t,n)=>{"use strict";var r=n(61008);e.exports=function(e,t){var n={};return r.forEach(e,function(e,t){var i=n[e.v]={indegree:0,in:[],out:[],vs:[e.v],i:t};r.isUndefined(e.barycenter)||(i.barycenter=e.barycenter,i.weight=e.weight)}),r.forEach(t.edges(),function(e){var t=n[e.v],i=n[e.w];r.isUndefined(t)||r.isUndefined(i)||(i.indegree++,t.out.push(n[e.w]))}),function(e){for(var t=[];e.length;){var n=e.pop();t.push(n),r.forEach(n.in.reverse(),function(e){return function(t){!t.merged&&(r.isUndefined(t.barycenter)||r.isUndefined(e.barycenter)||t.barycenter>=e.barycenter)&&function(e,t){var n=0,r=0;e.weight&&(n+=e.barycenter*e.weight,r+=e.weight),t.weight&&(n+=t.barycenter*t.weight,r+=t.weight),e.vs=t.vs.concat(e.vs),e.barycenter=n/r,e.weight=r,e.i=Math.min(t.i,e.i),t.merged=!0}(e,t)}}(n)),r.forEach(n.out,function(t){return function(n){n.in.push(t),0==--n.indegree&&e.push(n)}}(n))}return r.map(r.filter(t,function(e){return!e.merged}),function(e){return r.pick(e,["vs","i","barycenter","weight"])})}(r.filter(n,function(e){return!e.indegree}))}},6891:(e,t,n)=>{var r=n(79918),i=n(26639),o=n(15454),a=n(21358),s=n(17604),l=n(28086),u=n(26691),c=n(62793),h=n(118),f=n(74632);e.exports=function(e,t,n){var d=l(e),p=d||u(e)||f(e);if(t=a(t,4),null==n){var g=e&&e.constructor;n=p?d?new g:[]:h(e)&&c(g)?i(s(e)):{}}return(p?r:o)(e,function(e,r,i){return t(n,e,r,i)}),n}},6996:(e,t,n)=>{var r=n(59603),i=n(81413),o=n(21358),a=n(38491),s=n(89358),l=n(79502),u=n(39601),c=n(38875),h=n(28086);e.exports=function(e,t,n){t=t.length?r(t,function(e){return h(e)?function(t){return i(t,1===e.length?e[0]:e)}:e}):[c];var f=-1;return t=r(t,l(o)),s(a(e,function(e,n,i){return{criteria:r(t,function(t){return t(e)}),index:++f,value:e}}),function(e,t){return u(e,t,n)})}},7609:e=>{e.exports=function(){}},8123:(e,t,n)=>{var r=n(84925),i=n(14346),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols;e.exports=a?function(e){return null==e?[]:r(a(e=Object(e)),function(t){return o.call(e,t)})}:i},8485:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},8585:(e,t,n)=>{"use strict";e.exports=n(80217)},8682:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},8713:(e,t,n)=>{"use strict";n.d(t,{oz:()=>nC});var r={};n.r(r),n.d(r,{boolean:()=>y,booleanish:()=>m,commaOrSpaceSeparated:()=>k,commaSeparated:()=>w,number:()=>x,overloadedBoolean:()=>v,spaceSeparated:()=>b});var i={};n.r(i),n.d(i,{attentionMarkers:()=>tM,contentInitial:()=>tw,disable:()=>tC,document:()=>tb,flow:()=>t_,flowInitial:()=>tk,insideSpan:()=>tS,string:()=>tE,text:()=>tA});let o=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,a=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s={};function l(e,t){return((t||s).jsx?a:o).test(e)}let u=/[ \t\n\f\r]/g;function c(e){return""===e.replace(u,"")}class h{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function f(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new h(n,r,t)}function d(e){return e.toLowerCase()}h.prototype.normal={},h.prototype.property={},h.prototype.space=void 0;class p{constructor(e,t){this.attribute=t,this.property=e}}p.prototype.attribute="",p.prototype.booleanish=!1,p.prototype.boolean=!1,p.prototype.commaOrSpaceSeparated=!1,p.prototype.commaSeparated=!1,p.prototype.defined=!1,p.prototype.mustUseProperty=!1,p.prototype.number=!1,p.prototype.overloadedBoolean=!1,p.prototype.property="",p.prototype.spaceSeparated=!1,p.prototype.space=void 0;let g=0,y=_(),m=_(),v=_(),x=_(),b=_(),w=_(),k=_();function _(){return 2**++g}let E=Object.keys(r);class A extends p{constructor(e,t,n,i){let o=-1;if(super(e,t),function(e,t,n){n&&(e[t]=n)}(this,"space",i),"number"==typeof n)for(;++o<E.length;){let e=E[o];!function(e,t,n){n&&(e[t]=n)}(this,E[o],(n&r[e])===r[e])}}}function S(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new A(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[d(r)]=r,n[d(o.attribute)]=r}return new h(t,n,e.space)}A.prototype.defined=!0;let M=S({properties:{ariaActiveDescendant:null,ariaAtomic:m,ariaAutoComplete:null,ariaBusy:m,ariaChecked:m,ariaColCount:x,ariaColIndex:x,ariaColSpan:x,ariaControls:b,ariaCurrent:null,ariaDescribedBy:b,ariaDetails:null,ariaDisabled:m,ariaDropEffect:b,ariaErrorMessage:null,ariaExpanded:m,ariaFlowTo:b,ariaGrabbed:m,ariaHasPopup:null,ariaHidden:m,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:b,ariaLevel:x,ariaLive:null,ariaModal:m,ariaMultiLine:m,ariaMultiSelectable:m,ariaOrientation:null,ariaOwns:b,ariaPlaceholder:null,ariaPosInSet:x,ariaPressed:m,ariaReadOnly:m,ariaRelevant:null,ariaRequired:m,ariaRoleDescription:b,ariaRowCount:x,ariaRowIndex:x,ariaRowSpan:x,ariaSelected:m,ariaSetSize:x,ariaSort:null,ariaValueMax:x,ariaValueMin:x,ariaValueNow:x,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function C(e,t){return t in e?e[t]:t}function T(e,t){return C(e,t.toLowerCase())}let O=S({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:w,acceptCharset:b,accessKey:b,action:null,allow:null,allowFullScreen:y,allowPaymentRequest:y,allowUserMedia:y,alt:null,as:null,async:y,autoCapitalize:null,autoComplete:b,autoFocus:y,autoPlay:y,blocking:b,capture:null,charSet:null,checked:y,cite:null,className:b,cols:x,colSpan:null,content:null,contentEditable:m,controls:y,controlsList:b,coords:x|w,crossOrigin:null,data:null,dateTime:null,decoding:null,default:y,defer:y,dir:null,dirName:null,disabled:y,download:v,draggable:m,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:y,formTarget:null,headers:b,height:x,hidden:v,high:x,href:null,hrefLang:null,htmlFor:b,httpEquiv:b,id:null,imageSizes:null,imageSrcSet:null,inert:y,inputMode:null,integrity:null,is:null,isMap:y,itemId:null,itemProp:b,itemRef:b,itemScope:y,itemType:b,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:y,low:x,manifest:null,max:null,maxLength:x,media:null,method:null,min:null,minLength:x,multiple:y,muted:y,name:null,nonce:null,noModule:y,noValidate:y,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:y,optimum:x,pattern:null,ping:b,placeholder:null,playsInline:y,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:y,referrerPolicy:null,rel:b,required:y,reversed:y,rows:x,rowSpan:x,sandbox:b,scope:null,scoped:y,seamless:y,selected:y,shadowRootClonable:y,shadowRootDelegatesFocus:y,shadowRootMode:null,shape:null,size:x,sizes:null,slot:null,span:x,spellCheck:m,src:null,srcDoc:null,srcLang:null,srcSet:null,start:x,step:null,style:null,tabIndex:x,target:null,title:null,translate:null,type:null,typeMustMatch:y,useMap:null,value:m,width:x,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:b,axis:null,background:null,bgColor:null,border:x,borderColor:null,bottomMargin:x,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:y,declare:y,event:null,face:null,frame:null,frameBorder:null,hSpace:x,leftMargin:x,link:null,longDesc:null,lowSrc:null,marginHeight:x,marginWidth:x,noResize:y,noHref:y,noShade:y,noWrap:y,object:null,profile:null,prompt:null,rev:null,rightMargin:x,rules:null,scheme:null,scrolling:m,standby:null,summary:null,text:null,topMargin:x,valueType:null,version:null,vAlign:null,vLink:null,vSpace:x,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:y,disableRemotePlayback:y,prefix:null,property:null,results:x,security:null,unselectable:null},space:"html",transform:T}),P=S({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:k,accentHeight:x,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:x,amplitude:x,arabicForm:null,ascent:x,attributeName:null,attributeType:null,azimuth:x,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:x,by:null,calcMode:null,capHeight:x,className:b,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:x,diffuseConstant:x,direction:null,display:null,dur:null,divisor:x,dominantBaseline:null,download:y,dx:null,dy:null,edgeMode:null,editable:null,elevation:x,enableBackground:null,end:null,event:null,exponent:x,externalResourcesRequired:null,fill:null,fillOpacity:x,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:w,g2:w,glyphName:w,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:x,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:x,horizOriginX:x,horizOriginY:x,id:null,ideographic:x,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:x,k:x,k1:x,k2:x,k3:x,k4:x,kernelMatrix:k,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:x,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:x,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:x,overlineThickness:x,paintOrder:null,panose1:null,path:null,pathLength:x,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:b,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:x,pointsAtY:x,pointsAtZ:x,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:k,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:k,rev:k,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:k,requiredFeatures:k,requiredFonts:k,requiredFormats:k,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:x,specularExponent:x,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:x,strikethroughThickness:x,string:null,stroke:null,strokeDashArray:k,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:x,strokeOpacity:x,strokeWidth:null,style:null,surfaceScale:x,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:k,tabIndex:x,tableValues:null,target:null,targetX:x,targetY:x,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:k,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:x,underlineThickness:x,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:x,values:null,vAlphabetic:x,vMathematical:x,vectorEffect:null,vHanging:x,vIdeographic:x,version:null,vertAdvY:x,vertOriginX:x,vertOriginY:x,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:x,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:C}),j=S({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),N=S({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:T}),L=S({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),z=f([M,O,j,N,L],"html"),I=f([M,P,j,N,L],"svg"),R=/[A-Z]/g,D=/-[a-z]/g,B=/^data[-\w.:]+$/i;function F(e){return"-"+e.toLowerCase()}function q(e){return e.charAt(1).toUpperCase()}let H={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var $=n(31896);let U=X("end"),V=X("start");function X(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Y(e){return e&&"object"==typeof e?"position"in e||"type"in e?K(e.position):"start"in e||"end"in e?K(e):"line"in e||"column"in e?W(e):"":""}function W(e){return G(e&&e.line)+":"+G(e&&e.column)}function K(e){return W(e&&e.start)+"-"+W(e&&e.end)}function G(e){return e&&"number"==typeof e?e:1}class Z extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},o=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?r=e:!i.cause&&e&&(o=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let a=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=a?a.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=a?a.line:void 0,this.name=Y(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=o&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}Z.prototype.file="",Z.prototype.name="",Z.prototype.reason="",Z.prototype.message="",Z.prototype.stack="",Z.prototype.column=void 0,Z.prototype.line=void 0,Z.prototype.ancestors=void 0,Z.prototype.cause=void 0,Z.prototype.fatal=void 0,Z.prototype.place=void 0,Z.prototype.ruleId=void 0,Z.prototype.source=void 0;let Q={}.hasOwnProperty,J=new Map,ee=/[A-Z]/g,et=new Set(["table","tbody","thead","tfoot","tr"]),en=new Set(["td","th"]),er="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ei(e,t,n){return"element"===t.type?function(e,t,n){let r=e.schema;"svg"===t.tagName.toLowerCase()&&"html"===r.space&&(e.schema=I),e.ancestors.push(t);let i=el(e,t.tagName,!1),o=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&Q.call(t.properties,r)){let o=function(e,t,n){let r=function(e,t){let n=d(t),r=t,i=p;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&B.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(D,q);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!D.test(e)){let n=e.replace(R,F);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=A}return new i(r,t)}(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?function(e,t){let n={};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}(n):n.join(" ").trim()),"style"===r.property){let t="object"==typeof n?n:function(e,t){try{return $(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new Z("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=er+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)Q.call(e,t)&&(n[function(e){let t=e.replace(ee,ec);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&r.space?H[r.property]||r.property:r.attribute,n]}}(e,r,t.properties[r]);if(o){let[r,a]=o;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof a&&en.has(t.tagName)?n=a:i[r]=a}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(e,t),a=es(e,t);return et.has(t.tagName)&&(a=a.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&c(e.value):c(e))})),eo(e,o,i,t),ea(o,a),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}(e,t,n):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}eu(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,n){let r=e.schema;"svg"===t.name&&"html"===r.space&&(e.schema=I),e.ancestors.push(t);let i=null===t.name?e.Fragment:el(e,t.name,!0),o=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];t.type;let i=t.expression;i.type;let o=i.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else eu(e,t.position);else{let i,o=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];t.type,i=e.evaluater.evaluateExpression(t.expression)}else eu(e,t.position);else i=null===r.value||r.value;n[o]=i}return n}(e,t),a=es(e,t);return eo(e,o,i,t),ea(o,a),e.ancestors.pop(),e.schema=r,e.create(t,i,o,n)}(e,t,n):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eu(e,t.position)}(e,t):"root"===t.type?function(e,t,n){let r={};return ea(r,es(e,t)),e.create(t,e.Fragment,r,n)}(e,t,n):"text"===t.type?t.value:void 0}function eo(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ea(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function es(e,t){let n=[],r=-1,i=e.passKeys?new Map:J;for(;++r<t.children.length;){let o,a=t.children[r];if(e.passKeys){let e="element"===a.type?a.tagName:"mdxJsxFlowElement"===a.type||"mdxJsxTextElement"===a.type?a.name:void 0;if(e){let t=i.get(e)||0;o=e+"-"+t,i.set(e,t+1)}}let s=ei(e,a,o);void 0!==s&&n.push(s)}return n}function el(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),i=-1;for(;++i<n.length;){let t=l(n[i])?{type:"Identifier",name:n[i]}:{type:"Literal",value:n[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}r=e}else r=l(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return Q.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);eu(e)}function eu(e,t){let n=new Z("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=er+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ec(e){return"-"+e.toLowerCase()}let eh={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ef=n(6409);n(84669);let ed={};function ep(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return eg(e.children,t,n)}return Array.isArray(e)?eg(e,t,n):""}function eg(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=ep(e[i],t,n);return r.join("")}function ey(e,t,n,r){let i,o=e.length,a=0;if(t=t<0?-t>o?0:o+t:t>o?o:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);a<r.length;)(i=r.slice(a,a+1e4)).unshift(t,0),e.splice(...i),a+=1e4,t+=1e4}function em(e,t){return e.length>0?(ey(e,e.length,0,t),e):t}class ev{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&ex(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),ex(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ex(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);ex(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);ex(this.left,t.reverse())}}}function ex(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function eb(e){let t,n,r,i,o,a,s,l={},u=-1,c=new ev(e);for(;++u<c.length;){for(;u in l;)u=l[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(a=t[1]._tokenizer.events).length&&"lineEndingBlank"===a[r][1].type&&(r+=2),r<a.length&&"content"===a[r][1].type))for(;++r<a.length&&"content"!==a[r][1].type;)"chunkText"===a[r][1].type&&(a[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,function(e,t){let n,r,i=e.get(t)[1],o=e.get(t)[2],a=t-1,s=[],l=i._tokenizer;!l&&(l=o.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let u=l.events,c=[],h={},f=-1,d=i,p=0,g=0,y=[0];for(;d;){for(;e.get(++a)[1]!==d;);s.push(a),!d._tokenizer&&(n=o.sliceStream(d),d.next||n.push(null),r&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++f<u.length;)"exit"===u[f][0]&&"enter"===u[f-1][0]&&u[f][1].type===u[f-1][1].type&&u[f][1].start.line!==u[f][1].end.line&&(g=f+1,y.push(g),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):y.pop(),f=y.length;f--;){let t=u.slice(y[f],y[f+1]),n=s.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),f=-1;++f<c.length;)h[p+c[f][0]]=p+c[f][1],p+=c[f][1]-c[f][0]-1;return h}(c,u)),u=l[u],s=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...c.get(n)[1].start},(o=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,o))}}return ey(e,0,1/0,c.slice(0)),!s}let ew={}.hasOwnProperty,ek=eL(/[A-Za-z]/),e_=eL(/[\dA-Za-z]/),eE=eL(/[#-'*+\--9=?A-Z^-~]/);function eA(e){return null!==e&&(e<32||127===e)}let eS=eL(/\d/),eM=eL(/[\dA-Fa-f]/),eC=eL(/[!-/:-@[-`{-~]/);function eT(e){return null!==e&&e<-2}function eO(e){return null!==e&&(e<0||32===e)}function eP(e){return -2===e||-1===e||32===e}let ej=eL(/\p{P}|\p{S}/u),eN=eL(/\s/);function eL(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function ez(e,t,n,r){let i=r?r-1:1/0,o=0;return function(r){return eP(r)?(e.enter(n),function r(a){return eP(a)&&o++<i?(e.consume(a),r):(e.exit(n),t(a))}(r)):t(r)}}let eI={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ez(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return eT(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},eR={tokenize:function(e){let t,n,r,i=this,o=[],a=0;return s;function s(t){if(a<o.length){let n=o[a];return i.containerState=n[1],e.attempt(n[0].continuation,l,u)(t)}return u(t)}function l(e){if(a++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&m();let r=i.events.length,o=r;for(;o--;)if("exit"===i.events[o][0]&&"chunkFlow"===i.events[o][1].type){n=i.events[o][1].end;break}y(a);let s=r;for(;s<i.events.length;)i.events[s][1].end={...n},s++;return ey(i.events,o+1,0,i.events.slice(r)),i.events.length=s,u(e)}return s(e)}function u(n){if(a===o.length){if(!t)return f(n);if(t.currentConstruct&&t.currentConstruct.concrete)return p(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(eD,c,h)(n)}function c(e){return t&&m(),y(a),f(e)}function h(e){return i.parser.lazy[i.now().line]=a!==o.length,r=i.now().offset,p(e)}function f(t){return i.containerState={},e.attempt(eD,d,p)(t)}function d(e){return a++,o.push([i.currentConstruct,i.containerState]),f(e)}function p(r){if(null===r){t&&m(),y(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){g(e.exit("chunkFlow"),!0),y(0),e.consume(n);return}return eT(n)?(e.consume(n),g(e.exit("chunkFlow")),a=0,i.interrupt=void 0,s):(e.consume(n),t)}(r)}function g(e,o){let s=i.sliceStream(e);if(o&&s.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,n,o=t.events.length;for(;o--;)if(t.events[o][1].start.offset<r&&(!t.events[o][1].end||t.events[o][1].end.offset>r))return;let s=i.events.length,l=s;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){n=i.events[l][1].end;break}e=!0}for(y(a),o=s;o<i.events.length;)i.events[o][1].end={...n},o++;ey(i.events,l+1,0,i.events.slice(s)),i.events.length=o}}function y(t){let n=o.length;for(;n-- >t;){let t=o[n];i.containerState=t[1],t[0].exit.call(i,e)}o.length=t}function m(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},eD={tokenize:function(e,t,n){return ez(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},eB={partial:!0,tokenize:function(e,t,n){return function(t){return eP(t)?ez(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eT(e)?t(e):n(e)}}},eF={resolve:function(e){return eb(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):eT(t)?e.check(eq,o,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function o(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eq={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ez(e,i,"linePrefix")};function i(i){if(null===i||eT(i))return n(i);let o=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},eH={tokenize:function(e){let t=this,n=e.attempt(eB,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,ez(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eF,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},e$={resolveAll:eY()},eU=eX("string"),eV=eX("text");function eX(e){return{resolveAll:eY("text"===e?eW:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,o,a);return o;function o(e){return l(e)?i(e):a(e)}function a(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),s)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function eY(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function eW(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],o=t.sliceStream(i),a=o.length,s=-1,l=0;for(;a--;){let e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{a++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let o={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:i.start._bufferIndex+s,_index:i.start._index+a,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...o.start},i.start.offset===i.end.offset?Object.assign(i,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),n+=2)}n++}return e}let eK={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(o){var a;return e.enter("thematicBreak"),r=a=o,function o(a){return a===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),eP(n)?ez(e,o,"whitespace")(n):o(n))}(a)):i>=3&&(null===a||eT(a))?(e.exit("thematicBreak"),t(a)):n(a)}(a)}}},eG={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(eB,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,ez(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eP(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(eQ,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,ez(e,e.attempt(eG,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],o=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,a=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:eS(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(eK,n,s)(t):s(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return eS(i)&&++a<10?(e.consume(i),t):(!r.interrupt||a<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),s(i)):n(i)}(t)}return n(t)};function s(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(eB,r.interrupt?n:l,e.attempt(eZ,c,u))}function l(e){return r.containerState.initialBlankLine=!0,o++,c(e)}function u(t){return eP(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},eZ={partial:!0,tokenize:function(e,t,n){let r=this;return ez(e,function(e){let i=r.events[r.events.length-1];return!eP(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},eQ={partial:!0,tokenize:function(e,t,n){let r=this;return ez(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},eJ={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eP(t)?ez(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(eJ,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return eP(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function e0(e,t,n,r,i,o,a,s,l){let u=l||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(o),e.consume(t),e.exit(o),h):null===t||32===t||41===t||eA(t)?n(t):(e.enter(r),e.enter(a),e.enter(s),e.enter("chunkString",{contentType:"string"}),p(t))};function h(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),f(n))}function f(t){return 62===t?(e.exit("chunkString"),e.exit(s),h(t)):null===t||60===t||eT(t)?n(t):(e.consume(t),92===t?d:f)}function d(t){return 60===t||62===t||92===t?(e.consume(t),f):f(t)}function p(i){return!c&&(null===i||41===i||eO(i))?(e.exit("chunkString"),e.exit(s),e.exit(a),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,p):41===i?(e.consume(i),c--,p):null===i||32===i||40===i||eA(i)?n(i):(e.consume(i),92===i?g:p)}function g(t){return 40===t||41===t||92===t?(e.consume(t),p):p(t)}}function e1(e,t,n,r,i,o){let a,s=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(o),u};function u(h){return l>999||null===h||91===h||93===h&&!a||94===h&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?n(h):93===h?(e.exit(o),e.enter(i),e.consume(h),e.exit(i),e.exit(r),t):eT(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(h))}function c(t){return null===t||91===t||93===t||eT(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),a||(a=!eP(t)),92===t?h:c)}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}}function e2(e,t,n,r,i,o){let a;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),a=40===t?41:t,s):n(t)};function s(n){return n===a?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===a?(e.exit(o),s(a)):null===t?n(t):eT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ez(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===a||null===t||eT(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?c:u)}function c(t){return t===a||92===t?(e.consume(t),u):u(t)}}function e3(e,t){let n;return function r(i){return eT(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):eP(i)?ez(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function e6(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let e8={partial:!0,tokenize:function(e,t,n){return function(t){return eO(t)?e3(e,r)(t):n(t)};function r(t){return e2(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return eP(t)?ez(e,o,"whitespace")(t):o(t)}function o(e){return null===e||eT(e)?t(e):n(e)}}},e5={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),ez(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?o(n):eT(n)?e.attempt(e4,t,o)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eT(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function o(n){return e.exit("codeIndented"),t(n)}}},e4={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):eT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):ez(e,o,"linePrefix",5)(t)}function o(e){let o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):eT(e)?i(e):n(e)}}},e9={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",a,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=a,e.push(["exit",a,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var a;let s,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){s="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||s)?(e.enter("setextHeadingLine"),r=t,a=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),eP(n)?ez(e,o,"lineSuffix")(n):o(n))}(a)):n(t)};function o(r){return null===r||eT(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},e7=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],te=["pre","script","style","textarea"],tt={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(eB,t,n)}}},tn={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return eT(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},tr={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},ti={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,o={partial:!0,tokenize:function(e,t,n){let o=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a};function a(t){return e.enter("codeFencedFence"),eP(t)?ez(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o>=s?(e.exit("codeFencedFenceSequence"),eP(i)?ez(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||eT(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},a=0,s=0;return function(t){var o=t;let u=i.events[i.events.length-1];return a=u&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=o,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(s++,e.consume(i),t):s<3?n(i):(e.exit("codeFencedFenceSequence"),eP(i)?ez(e,l,"whitespace")(i):l(i))}(o)};function l(o){return null===o||eT(o)?(e.exit("codeFencedFence"),i.interrupt?t(o):e.check(tr,c,p)(o)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eT(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):eP(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ez(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(o))}function u(t){return null===t||eT(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eT(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(o,p,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return a>0&&eP(t)?ez(e,d,"linePrefix",a+1)(t):d(t)}function d(t){return null===t||eT(t)?e.check(tr,c,p)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eT(n)?(e.exit("codeFlowValue"),d(n)):(e.consume(n),t)}(t))}function p(n){return e.exit("codeFenced"),t(n)}}},to=document.createElement("i");function ta(e){let t="&"+e+";";to.innerHTML=t;let n=to.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let ts={name:"characterReference",tokenize:function(e,t,n){let r,i,o=this,a=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),s};function s(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=e_,u(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=eM,u):(e.enter("characterReferenceValue"),r=7,i=eS,u(t))}function u(s){if(59===s&&a){let r=e.exit("characterReferenceValue");return i!==e_||ta(o.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}return i(s)&&a++<r?(e.consume(s),u):n(s)}}},tl={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return eC(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},tu={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ez(e,t,"linePrefix")}}};function tc(e,t,n){let r=[],i=-1;for(;++i<e.length;){let o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}let th={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&ey(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,o,a=e.length,s=0;for(;a--;)if(n=e[a][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[a][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[a][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=a,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(i=a);let l={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},c={type:"labelText",start:{...e[r+s+2][1].end},end:{...e[i-2][1].start}};return o=em(o=[["enter",l,t],["enter",u,t]],e.slice(r+1,r+s+3)),o=em(o,[["enter",c,t]]),o=em(o,tc(t.parser.constructs.insideSpan.null,e.slice(r+s+4,i-3),t)),o=em(o,[["exit",c,t],e[i-2],e[i-1],["exit",u,t]]),o=em(o,e.slice(i+1)),o=em(o,[["exit",l,t]]),ey(e,r,e.length,o),e},tokenize:function(e,t,n){let r,i,o=this,a=o.events.length;for(;a--;)if(("labelImage"===o.events[a][1].type||"labelLink"===o.events[a][1].type)&&!o.events[a][1]._balanced){r=o.events[a][1];break}return function(t){return r?r._inactive?c(t):(i=o.parser.defined.includes(e6(o.sliceSerialize({start:r.end,end:o.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(tf,u,i?u:c)(t):91===t?e.attempt(td,u,i?l:c)(t):i?u(t):c(t)}function l(t){return e.attempt(tp,u,c)(t)}function u(e){return t(e)}function c(e){return r._balanced=!0,n(e)}}},tf={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return eO(t)?e3(e,i)(t):i(t)}function i(t){return 41===t?u(t):e0(e,o,a,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return eO(t)?e3(e,s)(t):u(t)}function a(e){return n(e)}function s(t){return 34===t||39===t||40===t?e2(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function l(t){return eO(t)?e3(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},td={tokenize:function(e,t,n){let r=this;return function(t){return e1.call(r,e,i,o,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(e6(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function o(e){return n(e)}}},tp={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},tg={name:"labelStartImage",resolveAll:th.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};function ty(e){return null===e||eO(e)||eN(e)?1:ej(e)?2:void 0}let tm={name:"attention",resolveAll:function(e,t){let n,r,i,o,a,s,l,u,c=-1;for(;++c<e.length;)if("enter"===e[c][0]&&"attentionSequence"===e[c][1].type&&e[c][1]._close){for(n=c;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[c][1]).charCodeAt(0)){if((e[n][1]._close||e[c][1]._open)&&(e[c][1].end.offset-e[c][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[c][1].end.offset-e[c][1].start.offset)%3))continue;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;let h={...e[n][1].end},f={...e[c][1].start};tv(h,-s),tv(f,s),o={type:s>1?"strongSequence":"emphasisSequence",start:h,end:{...e[n][1].end}},a={type:s>1?"strongSequence":"emphasisSequence",start:{...e[c][1].start},end:f},i={type:s>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[c][1].start}},r={type:s>1?"strong":"emphasis",start:{...o.start},end:{...a.end}},e[n][1].end={...o.start},e[c][1].start={...a.end},l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=em(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=em(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",i,t]]),l=em(l,tc(t.parser.constructs.insideSpan.null,e.slice(n+1,c),t)),l=em(l,[["exit",i,t],["enter",a,t],["exit",a,t],["exit",r,t]]),e[c][1].end.offset-e[c][1].start.offset?(u=2,l=em(l,[["enter",e[c][1],t],["exit",e[c][1],t]])):u=0,ey(e,n-1,c-n+3,l),c=n+l.length-u-2;break}}for(c=-1;++c<e.length;)"attentionSequence"===e[c][1].type&&(e[c][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,o=ty(i);return function(a){return n=a,e.enter("attentionSequence"),function a(s){if(s===n)return e.consume(s),a;let l=e.exit("attentionSequence"),u=ty(s),c=!u||2===u&&o||r.includes(s),h=!o||2===o&&u||r.includes(i);return l._open=!!(42===n?c:c&&(o||!h)),l._close=!!(42===n?h:h&&(u||!c)),t(s)}(a)}}};function tv(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tx={name:"labelStartLink",resolveAll:th.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},tb={42:eG,43:eG,45:eG,48:eG,49:eG,50:eG,51:eG,52:eG,53:eG,54:eG,55:eG,56:eG,57:eG,62:eJ},tw={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,e1.call(i,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function o(t){return(r=e6(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a):n(t)}function a(t){return eO(t)?e3(e,s)(t):s(t)}function s(t){return e0(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(e8,u,u)(t)}function u(t){return eP(t)?ez(e,c,"whitespace")(t):c(t)}function c(o){return null===o||eT(o)?(e.exit("definition"),i.parser.defined.push(r),t(o)):n(o)}}}},tk={[-2]:e5,[-1]:e5,32:e5},t_={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,o=3;return"whitespace"===e[3][1].type&&(o+=2),i-2>o&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(o===i-1||i-4>o&&"whitespace"===e[i-2][1].type)&&(i-=o+1===i?2:4),i>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[i][1].end},r={type:"chunkText",start:e[o][1].start,end:e[i][1].end,contentType:"text"},ey(e,o,i-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var o;return e.enter("atxHeading"),o=i,e.enter("atxHeadingSequence"),function i(o){return 35===o&&r++<6?(e.consume(o),i):null===o||eO(o)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||eT(r)?(e.exit("atxHeading"),t(r)):eP(r)?ez(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||eO(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(o)):n(o)}(o)}}},42:eK,45:[e9,eK],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,o,a,s,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(a){return 33===a?(e.consume(a),c):47===a?(e.consume(a),i=!0,d):63===a?(e.consume(a),r=3,l.interrupt?t:j):ek(a)?(e.consume(a),o=String.fromCharCode(a),p):n(a)}function c(i){return 45===i?(e.consume(i),r=2,h):91===i?(e.consume(i),r=5,a=0,f):ek(i)?(e.consume(i),r=4,l.interrupt?t:j):n(i)}function h(r){return 45===r?(e.consume(r),l.interrupt?t:j):n(r)}function f(r){let i="CDATA[";return r===i.charCodeAt(a++)?(e.consume(r),a===i.length)?l.interrupt?t:E:f:n(r)}function d(t){return ek(t)?(e.consume(t),o=String.fromCharCode(t),p):n(t)}function p(a){if(null===a||47===a||62===a||eO(a)){let s=47===a,u=o.toLowerCase();return!s&&!i&&te.includes(u)?(r=1,l.interrupt?t(a):E(a)):e7.includes(o.toLowerCase())?(r=6,s)?(e.consume(a),g):l.interrupt?t(a):E(a):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(a):i?function t(n){return eP(n)?(e.consume(n),t):k(n)}(a):y(a))}return 45===a||e_(a)?(e.consume(a),o+=String.fromCharCode(a),p):n(a)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:E):n(r)}function y(t){return 47===t?(e.consume(t),k):58===t||95===t||ek(t)?(e.consume(t),m):eP(t)?(e.consume(t),y):k(t)}function m(t){return 45===t||46===t||58===t||95===t||e_(t)?(e.consume(t),m):v(t)}function v(t){return 61===t?(e.consume(t),x):eP(t)?(e.consume(t),v):y(t)}function x(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),s=t,b):eP(t)?(e.consume(t),x):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||eO(n)?v(n):(e.consume(n),t)}(t)}function b(t){return t===s?(e.consume(t),s=null,w):null===t||eT(t)?n(t):(e.consume(t),b)}function w(e){return 47===e||62===e||eP(e)?y(e):n(e)}function k(t){return 62===t?(e.consume(t),_):n(t)}function _(t){return null===t||eT(t)?E(t):eP(t)?(e.consume(t),_):n(t)}function E(t){return 45===t&&2===r?(e.consume(t),C):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),N):63===t&&3===r?(e.consume(t),j):93===t&&5===r?(e.consume(t),P):eT(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tt,L,A)(t)):null===t||eT(t)?(e.exit("htmlFlowData"),A(t)):(e.consume(t),E)}function A(t){return e.check(tn,S,L)(t)}function S(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return null===t||eT(t)?A(t):(e.enter("htmlFlowData"),E(t))}function C(t){return 45===t?(e.consume(t),j):E(t)}function T(t){return 47===t?(e.consume(t),o="",O):E(t)}function O(t){if(62===t){let n=o.toLowerCase();return te.includes(n)?(e.consume(t),N):E(t)}return ek(t)&&o.length<8?(e.consume(t),o+=String.fromCharCode(t),O):E(t)}function P(t){return 93===t?(e.consume(t),j):E(t)}function j(t){return 62===t?(e.consume(t),N):45===t&&2===r?(e.consume(t),j):E(t)}function N(t){return null===t||eT(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),N)}function L(n){return e.exit("htmlFlow"),t(n)}}},61:e9,95:eK,96:ti,126:ti},tE={38:ts,92:tl},tA={[-5]:tu,[-4]:tu,[-3]:tu,33:tg,38:ts,42:tm,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return ek(t)?(e.consume(t),o):64===t?n(t):s(t)}function o(t){return 43===t||45===t||46===t||e_(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,a):(43===n||45===n||46===n||e_(n))&&r++<32?(e.consume(n),t):(r=0,s(n))}(t)):s(t)}function a(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||eA(r)?n(r):(e.consume(r),a)}function s(t){return 64===t?(e.consume(t),l):eE(t)?(e.consume(t),s):n(t)}function l(i){return e_(i)?function i(o){return 46===o?(e.consume(o),r=0,l):62===o?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(o),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(o){if((45===o||e_(o))&&r++<63){let n=45===o?t:i;return e.consume(o),n}return n(o)}(o)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,o,a=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),b):63===t?(e.consume(t),v):ek(t)?(e.consume(t),k):n(t)}function l(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,d):ek(t)?(e.consume(t),m):n(t)}function u(t){return 45===t?(e.consume(t),f):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),h):eT(t)?(o=c,O(t)):(e.consume(t),c)}function h(t){return 45===t?(e.consume(t),f):c(t)}function f(e){return 62===e?T(e):45===e?h(e):c(e)}function d(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?p:d):n(t)}function p(t){return null===t?n(t):93===t?(e.consume(t),g):eT(t)?(o=p,O(t)):(e.consume(t),p)}function g(t){return 93===t?(e.consume(t),y):p(t)}function y(t){return 62===t?T(t):93===t?(e.consume(t),y):p(t)}function m(t){return null===t||62===t?T(t):eT(t)?(o=m,O(t)):(e.consume(t),m)}function v(t){return null===t?n(t):63===t?(e.consume(t),x):eT(t)?(o=v,O(t)):(e.consume(t),v)}function x(e){return 62===e?T(e):v(e)}function b(t){return ek(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||e_(t)?(e.consume(t),w):function t(n){return eT(n)?(o=t,O(n)):eP(n)?(e.consume(n),t):T(n)}(t)}function k(t){return 45===t||e_(t)?(e.consume(t),k):47===t||62===t||eO(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),T):58===t||95===t||ek(t)?(e.consume(t),E):eT(t)?(o=_,O(t)):eP(t)?(e.consume(t),_):T(t)}function E(t){return 45===t||46===t||58===t||95===t||e_(t)?(e.consume(t),E):function t(n){return 61===n?(e.consume(n),A):eT(n)?(o=t,O(n)):eP(n)?(e.consume(n),t):_(n)}(t)}function A(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,S):eT(t)?(o=A,O(t)):eP(t)?(e.consume(t),A):(e.consume(t),M)}function S(t){return t===r?(e.consume(t),r=void 0,C):null===t?n(t):eT(t)?(o=S,O(t)):(e.consume(t),S)}function M(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||eO(t)?_(t):(e.consume(t),M)}function C(e){return 47===e||62===e||eO(e)?_(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return eP(t)?ez(e,j,"linePrefix",a.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):j(t)}function j(t){return e.enter("htmlTextData"),o(t)}}}],91:tx,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eT(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},tl],93:th,95:tm,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),o++,t):(e.exit("codeTextSequence"),a(n))}(t)};function a(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),a):96===l?(i=e.enter("codeTextSequence"),r=0,function n(a){return 96===a?(e.consume(a),r++,n):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(a)):(i.type="codeTextData",s(a))}(l)):eT(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),a):(e.enter("codeTextData"),s(l))}function s(t){return null===t||32===t||96===t||eT(t)?(e.exit("codeTextData"),a(t)):(e.consume(t),s)}}}},tS={null:[tm,e$]},tM={null:[42,95]},tC={null:[]},tT=/[\0\t\n\r]/g;function tO(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let tP=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tj(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tO(n.slice(t?2:1),t?16:10)}return ta(n)||e}let tN={}.hasOwnProperty;function tL(e){return{line:e.line,column:e.column,offset:e.offset}}function tz(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+Y({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Y({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+Y({start:t.start,end:t.end})+") is still open")}function tI(e){let t=this;t.parser=function(n){var r,o;let a,s,l,u;return"object"==typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=r,r=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(m),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(p),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(d),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:r(d,i),codeText:r(function(){return{type:"inlineCode",value:""}},i),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(y,i),htmlFlowData:u,htmlText:r(y,i),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:r(m),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(v),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:r(p),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:a(),autolinkEmail:function(e){c.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){c.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:c,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tO(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=ta(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=tL(e.end)},codeFenced:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:c,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:c,data:c,definition:a(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=e6(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(h),hardBreakTrailing:a(h),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:c,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:c,image:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(tP,tj),n.identifier=e6(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=tL(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),c.call(this,e))},link:a(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=e6(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:a(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:a(),thematicBreak:a()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(tN.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},a={stack:[r],tokenStack:[],config:t,enter:o,exit:s,buffer:i,resume:l,data:n},u=[],c=-1;for(;++c<e.length;)("listOrdered"===e[c][1].type||"listUnordered"===e[c][1].type)&&("enter"===e[c][0]?u.push(c):c=function(e,t,n){let r,i,o,a,s=t-1,l=-1,u=!1;for(;++s<=n;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,a=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||a||l||o||(o=s),a=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:a=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let a=s;for(i=void 0;a--;){let t=e[a];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",i=a}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}o&&(!i||o<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",r,t[2]]),s++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(s,0,["enter",i,t[2]]),s++,n++,o=void 0,a=!0}}}return e[t][1]._spread=u,n}(e,u.pop(),c));for(c=-1;++c<e.length;){let n=t[e[c][0]];tN.call(n,e[c][1].type)&&n[e[c][1].type].call(Object.assign({sliceSerialize:e[c][2].sliceSerialize},a),e[c][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||tz).call(a,void 0,e[0])}for(r.position={start:tL(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tL(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<t.transforms.length;)r=t.transforms[c](r)||r;return r};function r(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({type:"fragment",children:[]})}function o(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:tL(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||tz).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+Y({start:e.start,end:e.end})+"): it’s not open");n.position.end=tL(e.end)}function l(){return ep(this.stack.pop(),"boolean"!=typeof ed.includeImageAlt||ed.includeImageAlt,"boolean"!=typeof ed.includeHtml||ed.includeHtml)}function u(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:tL(e.start),end:void 0},t.push(n)),this.stack.push(n)}function c(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tL(e.end)}function h(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function d(){return{type:"code",lang:null,meta:null,value:""}}function p(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function y(){return{type:"html",value:""}}function m(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!eb(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(ew.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(r in o){ew.call(i,r)||(i[r]=[]);let e=o[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);ey(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([i,...(e||{}).extensions||[]]),content:n(eI),defined:[],document:n(eR),flow:n(eH),lazy:{},string:n(eU),text:n(eV)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},o=[],a=[],s=[],l={attempt:p(function(e,t){g(e,t.from)}),check:p(d),consume:function(e){eT(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,y()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===a[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),s.push(n),n},exit:function(e){let t=s.pop();return t.end=f(),u.events.push(["exit",t,u]),t},interrupt:p(d,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,y()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let o,a=e[r];if("string"==typeof a)o=a;else switch(a){case -5:o="\r";break;case -4:o="\n";break;case -3:o="\r\n";break;case -2:o=t?" ":" ";break;case -1:if(!t&&n)continue;o=" ";break;default:o=String.fromCharCode(a)}n=-2===a,i.push(o)}return i.join("")}(h(e),t)},sliceStream:h,write:function(e){return(a=em(a,e),function(){let e;for(;r._index<a.length;){let n=a[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),c=c(t)}else c=c(n)}}(),null!==a[a.length-1])?[]:(g(t,0),u.events=tc(o,u.events,u),u.events)}},c=t.tokenize.call(u,l);return t.resolveAll&&o.push(t),u;function h(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex;if(r===o)n=[e[r].slice(i,a)];else{if(n=e.slice(r,o),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}a>0&&n.push(e[o].slice(0,a))}return n}(a,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:o}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:o}}function d(e,t){t.restore()}function p(e,t){return function(n,i,o){var a;let c,h,d,p;return Array.isArray(n)?g(n):"tokenize"in n?g([n]):(a=n,function(e){let t=null!==e&&a[e],n=null!==e&&a.null;return g([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function g(e){return(c=e,h=0,0===e.length)?o:m(e[h])}function m(e){return function(n){return(p=function(){let e=f(),t=u.previous,n=u.currentConstruct,i=u.events.length,o=Array.from(s);return{from:i,restore:function(){r=e,u.previous=t,u.currentConstruct=n,u.events.length=i,s=o,y()}}}(),d=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?x(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,l,v,x)(n)}}function v(t){return e(d,p),i}function x(e){return(p.restore(),++h<c.length)?m(c[h]):o}}}function g(e,t){e.resolveAll&&!o.includes(e)&&o.push(e),e.resolve&&ey(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function y(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(o).document().write((s=1,l="",u=!0,function(e,t,n){let r,i,o,c,h,f=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),o=0,l="",u&&(65279===e.charCodeAt(0)&&o++,u=void 0);o<e.length;){if(tT.lastIndex=o,c=(r=tT.exec(e))&&void 0!==r.index?r.index:e.length,h=e.charCodeAt(c),!r){l=e.slice(o);break}if(10===h&&o===c&&a)f.push(-3),a=void 0;else switch(a&&(f.push(-5),a=void 0),o<c&&(f.push(e.slice(o,c)),s+=c-o),h){case 0:f.push(65533),s++;break;case 9:for(i=4*Math.ceil(s/4),f.push(-2);s++<i;)f.push(-1);break;case 10:f.push(-4),s=1;break;default:a=!0,s=1}o=c+1}return n&&(a&&f.push(-5),l&&f.push(l),f.push(null)),f})(n,r,!0))))}}let tR="object"==typeof self?self:globalThis,tD=e=>((e,t)=>{let n=(t,n)=>(e.set(n,t),t),r=i=>{if(e.has(i))return e.get(i);let[o,a]=t[i];switch(o){case 0:case -1:return n(a,i);case 1:{let e=n([],i);for(let t of a)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of a)e[r(t)]=r(n);return e}case 3:return n(new Date(a),i);case 4:{let{source:e,flags:t}=a;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of a)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of a)e.add(r(t));return e}case 7:{let{name:e,message:t}=a;return n(new tR[e](t),i)}case 8:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i);case"ArrayBuffer":return n(new Uint8Array(a).buffer,a);case"DataView":{let{buffer:e}=new Uint8Array(a);return n(new DataView(e),a)}}return n(new tR[o](a),i)};return r})(new Map,e)(0),{toString:tB}={},{keys:tF}=Object,tq=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tB.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},tH=([e,t])=>0===e&&("function"===t||"symbol"===t),t$=(e,{json:t,lossy:n}={})=>{let r=[];return((e,t,n,r)=>{let i=(e,t)=>{let i=r.push(e)-1;return n.set(t,i),i},o=r=>{if(n.has(r))return n.get(r);let[a,s]=tq(r);switch(a){case 0:{let t=r;switch(s){case"bigint":a=8,t=r.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([-1],r)}return i([a,t],r)}case 1:{if(s){let e=r;return"DataView"===s?e=new Uint8Array(r.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(r)),i([s,[...e]],r)}let e=[],t=i([a,e],r);for(let t of r)e.push(o(t));return t}case 2:{if(s)switch(s){case"BigInt":return i([s,r.toString()],r);case"Boolean":case"Number":case"String":return i([s,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());let n=[],l=i([a,n],r);for(let t of tF(r))(e||!tH(tq(r[t])))&&n.push([o(t),o(r[t])]);return l}case 3:return i([a,r.toISOString()],r);case 4:{let{source:e,flags:t}=r;return i([a,{source:e,flags:t}],r)}case 5:{let t=[],n=i([a,t],r);for(let[n,i]of r)(e||!(tH(tq(n))||tH(tq(i))))&&t.push([o(n),o(i)]);return n}case 6:{let t=[],n=i([a,t],r);for(let n of r)(e||!tH(tq(n)))&&t.push(o(n));return n}}let{message:l}=r;return i([a,{name:s,message:l}],r)};return o})(!(t||n),!!t,new Map,r)(e),r},tU="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tD(t$(e,t)):structuredClone(e):(e,t)=>tD(t$(e,t));function tV(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let o=e.charCodeAt(n),a="";if(37===o&&e_(e.charCodeAt(n+1))&&e_(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(a=String.fromCharCode(o));else if(o>55295&&o<57344){let t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(a=String.fromCharCode(o,t),i=1):a="�"}else a=String.fromCharCode(o);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function tX(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function tY(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let tW=function(e){var t,n;if(null==e)return tG;if("function"==typeof e)return tK(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=tW(e[n]);return tK(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,tK(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,tK(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function tK(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function tG(){return!0}let tZ=[];function tQ(e,t,n,r){let i,o,a,s;"function"==typeof t&&"function"!=typeof n?(o=void 0,a=t,i=n):(o=t,a=n,i=r);var l=o,u=function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return a(e,r,n)},c=i;"function"==typeof l&&"function"!=typeof u?(c=u,u=l):s=l;let h=tW(s),f=c?-1:1;(function e(t,n,r){let i=t&&"object"==typeof t?t:{};if("string"==typeof i.type){let e="string"==typeof i.tagName?i.tagName:"string"==typeof i.name?i.name:void 0;Object.defineProperty(o,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return o;function o(){var i;let o,a,s,d=tZ;if((!l||h(t,n,r[r.length-1]||void 0))&&!1===(d=Array.isArray(i=u(t,r))?i:"number"==typeof i?[!0,i]:null==i?tZ:[i])[0])return d;if("children"in t&&t.children&&t.children&&"skip"!==d[0])for(a=(c?t.children.length:-1)+f,s=r.concat(t);a>-1&&a<t.children.length;){if(!1===(o=e(t.children[a],a,s)())[0])return o;a="number"==typeof o[1]?o[1]:a+f}return d}})(e,void 0,[])()}function tJ(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),o=i[0];o&&"text"===o.type?o.value="["+o.value:i.unshift({type:"text",value:"["});let a=i[i.length-1];return a&&"text"===a.type?a.value+=r:i.push({type:"text",value:r}),i}function t0(e){let t=e.spread;return null==t?e.children.length>1:t}function t1(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let t2={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o={type:"element",tagName:"pre",properties:{},children:[o=e.applyData(t,o)]},e.patch(t,o),o},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),o=tV(i.toLowerCase()),a=e.footnoteOrder.indexOf(i),s=e.footnoteCounts.get(i);void 0===s?(s=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=a+1,s+=1,e.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+o,id:r+"fnref-"+o+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,l);let u={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tJ(e,t);let i={src:tV(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){let n={src:tV(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return tJ(e,t);let i={href:tV(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){let n={href:tV(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=t0(n[r])}return t}(n):t0(t),o={},a=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){let e=r[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&a.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?a.push(e):a.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&a.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:o,children:a};return e.patch(t,u),e.applyData(t,u)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=V(t.children[1]),a=U(t.children[t.children.length-1]);o&&a&&(r.position={start:o,end:a}),i.push(r)}let o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,a=o?o.length:t.children.length,s=-1,l=[];for(;++s<a;){let n=t.children[s],r={},a=o?o[s]:void 0;a&&(r.align=a);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),l.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,u),e.applyData(t,u)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,o=[];for(;r;)o.push(t1(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(t1(t.slice(i),i>0,!1)),o.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:t3,yaml:t3,definition:t3,footnoteDefinition:t3};function t3(){}let t6={}.hasOwnProperty,t8={};function t5(e,t){e.position&&(t.position=function(e){let t=V(e),n=U(e);if(t&&n)return{start:t,end:n}}(e))}function t4(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&i&&Object.assign(n.properties,tU(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function t9(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function t7(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ne(e,t){let n=function(e,t){let n=t||t8,r=new Map,i=new Map,o={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=o.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=t7(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=t7(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:t4,definitionById:r,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...t2,...n.handlers},one:function(e,t){let n=e.type,r=o.handlers[n];if(t6.call(o.handlers,n)&&r)return r(o,e,t);if(o.options.passThrough&&o.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=tU(n);return r.children=o.all(e),r}return tU(e)}return(o.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(t6.call(n,"hProperties")||t6.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(o,e,t)},options:n,patch:t5,wrap:t9};return tQ(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?r:i,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),o}(e,t),r=n.one(e,void 0),i=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tX,r=e.options.footnoteBackLabel||tY,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let o=e.all(i),a=String(i.identifier).toUpperCase(),u=tV(a.toLowerCase()),c=0,h=[],f=e.footnoteCounts.get(a);for(;void 0!==f&&++c<=f;){h.length>0&&h.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,c);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let d=o[o.length-1];if(d&&"element"===d.type&&"p"===d.tagName){let e=d.children[d.children.length-1];e&&"text"===e.type?e.value+=" ":d.children.push({type:"text",value:" "}),d.children.push(...h)}else o.push(...h);let p={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(o,!0)};e.patch(i,p),s.push(p)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...tU(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:"\n"},i),o}function nt(e,t){return e&&"run"in e?async function(n,r){let i=ne(n,{file:r,...t});await e.run(i,r)}:function(n,r){return ne(n,{file:r,...e||t})}}function nn(e){if(e)throw e}var nr=n(37819);function ni(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let no={basename:function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');na(e);let r=0,i=-1,o=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let a=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(i=o):(s=-1,i=a));return r===i?i=a:i<0&&(i=e.length),e.slice(r,i)},dirname:function(e){let t;if(na(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},extname:function(e){let t;na(e);let n=e.length,r=-1,i=0,o=-1,a=0;for(;n--;){let s=e.codePointAt(n);if(47===s){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==a&&(a=1):o>-1&&(a=-1)}return o<0||r<0||0===a||1===a&&o===r-1&&o===i+1?"":e.slice(o,r)},join:function(...e){let t,n=-1;for(;++n<e.length;)na(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n]);return void 0===t?".":function(e){na(e);let t=47===e.codePointAt(0),n=function(e,t){let n,r,i="",o=0,a=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(a===l-1||1===s);else if(a!==l-1&&2===s){if(i.length<2||2!==o||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",o=0):o=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),a=l,s=0;continue}}else if(i.length>0){i="",o=0,a=l,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",o=2)}else i.length>0?i+="/"+e.slice(a+1,l):i=e.slice(a+1,l),o=l-a-1;a=l,s=0}else 46===n&&s>-1?s++:s=-1}return i}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sep:"/"};function na(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let ns={cwd:function(){return"/"}};function nl(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let nu=["history","path","basename","stem","extname","dirname"];class nc{constructor(e){let t,n;t=e?nl(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":ns.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<nu.length;){let e=nu[r];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(n in t)nu.includes(n)||(this[n]=t[n])}get basename(){return"string"==typeof this.path?no.basename(this.path):void 0}set basename(e){nf(e,"basename"),nh(e,"basename"),this.path=no.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?no.dirname(this.path):void 0}set dirname(e){nd(this.basename,"dirname"),this.path=no.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?no.extname(this.path):void 0}set extname(e){if(nh(e,"extname"),nd(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=no.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){nl(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!nl(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),nf(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?no.basename(this.path,this.extname):void 0}set stem(e){nf(e,"stem"),nh(e,"stem"),this.path=no.join(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let r=new Z(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function nh(e,t){if(e&&e.includes(no.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+no.sep+"`")}function nf(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function nd(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let np=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},ng={}.hasOwnProperty;class ny extends np{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(o,...a){let s=e[++n],l=-1;if(o)return void r(o);for(;++l<t.length;)(null===a[l]||void 0===a[l])&&(a[l]=t[l]);t=a,s?(function(e,t){let n;return function(...t){let o,a=e.length>t.length;a&&t.push(r);try{o=e.apply(this,t)}catch(e){if(a&&n)throw e;return r(e)}a||(o&&o.then&&"function"==typeof o.then?o.then(i,r):o instanceof Error?r(o):i(o))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(s,i)(...a):r(null,...a)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){let e=new ny,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(nr(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(nb("data",this.frozen),this.namespace[e]=t,this):ng.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nb("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=n_(e),n=this.parser||this.Parser;return nv("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),nv("process",this.parser||this.Parser),nx("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let o=n_(e),a=n.parse(o);function s(e,n){e||!n?i(e):r?r(n):t(void 0,n)}n.run(a,o,function(e,t,r){var i,o;if(e||!t||!r)return s(e);let a=n.stringify(t,r);"string"==typeof(i=a)||(o=i)&&"object"==typeof o&&"byteLength"in o&&"byteOffset"in o?r.value=a:r.result=a,s(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),nv("processSync",this.parser||this.Parser),nx("processSync",this.compiler||this.Compiler),this.process(e,function(e,r){n=!0,nn(e),t=r}),nk("processSync","process",n),t}run(e,t,n){nw(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,o){let a=n_(t);r.run(e,a,function(t,r,a){let s=r||e;t?o(t):i?i(s):n(void 0,s,a)})}}runSync(e,t){let n,r=!1;return this.run(e,t,function(e,t){nn(e),n=t,r=!0}),nk("runSync","run",r),n}stringify(e,t){this.freeze();let n=n_(t),r=this.compiler||this.Compiler;return nx("stringify",r),nw(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(nb("use",this.frozen),null==e);else if("function"==typeof e)a(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=nr(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var n=e[t];if("function"==typeof n)a(n,[]);else if("object"==typeof n)if(Array.isArray(n)){let[e,...t]=n;a(e,t)}else i(n);else throw TypeError("Expected usable value, not `"+n+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function a(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...o]=t,a=n[i][1];ni(a)&&ni(r)&&(r=nr(!0,a,r)),n[i]=[e,r,...o]}}}}let nm=new ny().freeze();function nv(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nx(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nb(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function nw(e){if(!ni(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nk(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function n_(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new nc(e)}let nE=[],nA={allowDangerousHtml:!0},nS=/^(https?|ircs?|mailto|xmpp)$/i,nM=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function nC(e){let t=function(e){let t=e.rehypePlugins||nE,n=e.remarkPlugins||nE,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...nA}:nA;return nm().use(tI).use(n).use(nt,r).use(t)}(e),n=function(e){let t=e.children||"",n=new nc;return"string"==typeof t&&(n.value=t),n}(e);return function(e,t){let n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,a=t.skipHtml,s=t.unwrapDisallowed,l=t.urlTransform||nT;for(let e of nM)Object.hasOwn(t,e.from)&&(e.from,e.to&&e.to,e.id);return tQ(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return a?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in eh)if(Object.hasOwn(eh,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=eh[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=l(String(n||""),t,e))}}if("element"===e.type){let a=n?!n.includes(e.tagName):!!o&&o.includes(e.tagName);if(!a&&r&&"number"==typeof t&&(a=!r(e,t,i)),a&&i&&"number"==typeof t)return s&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var n,r,i,o;let a;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let s=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=s,r=t.jsxDEV,a=function(e,t,i,o){let a=Array.isArray(i.children),s=V(e);return r(t,i,o,a,{columnNumber:s?s.column-1:void 0,fileName:n,lineNumber:s?s.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,o=t.jsxs,a=function(e,t,n,r){let a=Array.isArray(n.children)?o:i;return r?a(t,n,r):a(t,n)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:a,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:s,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?I:z,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=ei(l,e,void 0);return u&&"string"!=typeof u?u:l.create(e,l.Fragment,{children:u||void 0},void 0)}(e,{Fragment:ef.Fragment,components:i,ignoreInvalidStyle:!0,jsx:ef.jsx,jsxs:ef.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(n),n),e)}function nT(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||nS.test(e.slice(0,t))?e:""}},8984:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},9018:e=>{e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++i];if(!1===n(o[l],l,o))break}return t}}},9255:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},9546:(e,t,n)=>{var r=n(26639),i=n(17604),o=n(12600);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},9781:(e,t,n)=>{var r=n(56435);e.exports=function(e){return(null==e?0:e.length)?r(e,1):[]}},10169:(e,t,n)=>{var r=n(44601);e.exports=function(e,t){if(e!==t){var n=void 0!==e,i=null===e,o=e==e,a=r(e),s=void 0!==t,l=null===t,u=t==t,c=r(t);if(!l&&!c&&!a&&e>t||a&&s&&u&&!l&&!c||i&&s&&u||!n&&u||!o)return 1;if(!i&&!a&&!c&&e<t||c&&n&&o&&!i&&!a||l&&n&&o||!s&&o||!u)return -1}return 0}},10252:(e,t,n)=>{"use strict";var r=n(61008),i=n(72350).Graph,o=n(25805);function a(e,t){var n={};return r.reduce(t,function(t,i){var o=0,a=0,s=t.length,u=r.last(i);return r.forEach(i,function(t,c){var h=function(e,t){if(e.node(t).dummy)return r.find(e.predecessors(t),function(t){return e.node(t).dummy})}(e,t),f=h?e.node(h).order:s;(h||t===u)&&(r.forEach(i.slice(a,c+1),function(t){r.forEach(e.predecessors(t),function(r){var i=e.node(r),a=i.order;(a<o||f<a)&&!(i.dummy&&e.node(t).dummy)&&l(n,r,t)})}),a=c+1,o=f)}),i}),n}function s(e,t){var n={};function i(t,i,o,a,s){var u;r.forEach(r.range(i,o),function(i){u=t[i],e.node(u).dummy&&r.forEach(e.predecessors(u),function(t){var r=e.node(t);r.dummy&&(r.order<a||r.order>s)&&l(n,t,u)})})}return r.reduce(t,function(t,n){var o,a=-1,s=0;return r.forEach(n,function(r,l){if("border"===e.node(r).dummy){var u=e.predecessors(r);u.length&&(o=e.node(u[0]).order,i(n,s,l,a,o),s=l,a=o)}i(n,s,n.length,o,t.length)}),n}),n}function l(e,t,n){if(t>n){var r=t;t=n,n=r}var i=e[t];i||(e[t]=i={}),i[n]=!0}function u(e,t,n){if(t>n){var i=t;t=n,n=i}return r.has(e[t],n)}function c(e,t,n,i){var o={},a={},s={};return r.forEach(t,function(e){r.forEach(e,function(e,t){o[e]=e,a[e]=e,s[e]=t})}),r.forEach(t,function(e){var t=-1;r.forEach(e,function(e){var l=i(e);if(l.length)for(var c=((l=r.sortBy(l,function(e){return s[e]})).length-1)/2,h=Math.floor(c),f=Math.ceil(c);h<=f;++h){var d=l[h];a[e]===e&&t<s[d]&&!u(n,e,d)&&(a[d]=e,a[e]=o[e]=o[d],t=s[d])}})}),{root:o,align:a}}function h(e,t,n,o,a){var s,l,u,c,h,f,d,p,g,y,m={},v=(s=e,l=t,u=n,c=a,p=new i,y=(h=(g=s.graph()).nodesep,f=g.edgesep,d=c,function(e,t,n){var i,o,a=e.node(t),s=e.node(n);if(i=0+a.width/2,r.has(a,"labelpos"))switch(a.labelpos.toLowerCase()){case"l":o=-a.width/2;break;case"r":o=a.width/2}if(o&&(i+=d?o:-o),o=0,i+=(a.dummy?f:h)/2,i+=(s.dummy?f:h)/2,i+=s.width/2,r.has(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":o=s.width/2;break;case"r":o=-s.width/2}return o&&(i+=d?o:-o),o=0,i}),r.forEach(l,function(e){var t;r.forEach(e,function(e){var n=u[e];if(p.setNode(n),t){var r=u[t],i=p.edge(r,n);p.setEdge(r,n,Math.max(y(s,e,t),i||0))}t=e})}),p),x=a?"borderLeft":"borderRight";function b(e,t){for(var n=v.nodes(),r=n.pop(),i={};r;)i[r]?e(r):(i[r]=!0,n.push(r),n=n.concat(t(r))),r=n.pop()}return b(function(e){m[e]=v.inEdges(e).reduce(function(e,t){return Math.max(e,m[t.v]+v.edge(t))},0)},v.predecessors.bind(v)),b(function(t){var n=v.outEdges(t).reduce(function(e,t){return Math.min(e,m[t.w]-v.edge(t))},1/0),r=e.node(t);n!==1/0&&r.borderType!==x&&(m[t]=Math.max(m[t],n))},v.successors.bind(v)),r.forEach(o,function(e){m[e]=m[n[e]]}),m}function f(e,t){return r.minBy(r.values(t),function(t){var n=-1/0,i=1/0;return r.forIn(t,function(t,r){var o,a,s=(o=e,a=r,o.node(a).width/2);n=Math.max(t+s,n),i=Math.min(t-s,i)}),n-i})}function d(e,t){var n=r.values(t),i=r.min(n),o=r.max(n);r.forEach(["u","d"],function(n){r.forEach(["l","r"],function(a){var s,l=n+a,u=e[l];if(u!==t){var c=r.values(u);(s="l"===a?i-r.min(c):o-r.max(c))&&(e[l]=r.mapValues(u,function(e){return e+s}))}})})}function p(e,t){return r.mapValues(e.ul,function(n,i){if(t)return e[t.toLowerCase()][i];var o=r.sortBy(r.map(e,i));return(o[1]+o[2])/2})}e.exports={positionX:function(e){var t,n=o.buildLayerMatrix(e),i=r.merge(a(e,n),s(e,n)),l={};r.forEach(["u","d"],function(o){t="u"===o?n:r.values(n).reverse(),r.forEach(["l","r"],function(n){"r"===n&&(t=r.map(t,function(e){return r.values(e).reverse()}));var a=("u"===o?e.predecessors:e.successors).bind(e),s=c(e,t,i,a),u=h(e,t,s.root,s.align,"r"===n);"r"===n&&(u=r.mapValues(u,function(e){return-e})),l[o+n]=u})});var u=f(e,l);return d(l,u),p(l,e.graph().align)},findType1Conflicts:a,findType2Conflicts:s,addConflict:l,hasConflict:u,verticalAlignment:c,horizontalCompaction:h,alignCoordinates:d,findSmallestWidthAlignment:f,balance:p}},10451:(e,t,n)=>{var r=n(48885),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},10636:(e,t,n)=>{var r=n(78926);e.exports=function(e){var t,n={},i=[];return r.each(e.nodes(),function(o){t=[],function i(o){r.has(n,o)||(n[o]=!0,t.push(o),r.each(e.successors(o),i),r.each(e.predecessors(o),i))}(o),t.length&&i.push(t)}),i}},11211:(e,t,n)=>{var r=n(81753),i=n(79502),o=n(23662),a=o&&o.isSet;e.exports=a?i(a):r},11230:e=>{var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},11376:(e,t,n)=>{var r=n(13279),i=n(26458),o=n(64753),a=n(41440),s=n(67350);e.exports=function(e){if(null==e)return 0;if(o(e))return a(e)?s(e):e.length;var t=i(e);return"[object Map]"==t||"[object Set]"==t?e.size:r(e).length}},11479:(e,t,n)=>{e.exports=n(20502).Uint8Array},11863:(e,t,n)=>{var r=n(78926);function i(e){var t={},n={},i=[];if(r.each(e.sinks(),function a(s){if(r.has(n,s))throw new o;r.has(t,s)||(n[s]=!0,t[s]=!0,r.each(e.predecessors(s),a),delete n[s],i.push(s))}),r.size(t)!==e.nodeCount())throw new o;return i}function o(){}e.exports=i,i.CycleException=o,o.prototype=Error()},11882:(e,t,n)=>{var r=n(83928);e.exports=function(e,t){return!!(null==e?0:e.length)&&r(e,t,0)>-1}},12229:(e,t,n)=>{var r=n(19985);e.exports={Graph:r.Graph,json:n(4201),alg:n(78644),version:r.version}},12536:e=>{e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},12600:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},13279:(e,t,n)=>{var r=n(12600),i=n(85513),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},13317:(e,t,n)=>{var r=n(28086),i=n(44601),o=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(r(e))return!1;var n=typeof e;return!!("number"==n||"symbol"==n||"boolean"==n||null==e||i(e))||a.test(e)||!o.test(e)||null!=t&&e in Object(t)}},13991:e=>{e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},14055:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]])},14209:(e,t,n)=>{var r=n(59603);e.exports=function(e,t){return r(t,function(t){return e[t]})}},14306:(e,t,n)=>{var r=n(85060);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=+(n.size!=i),this}},14346:e=>{e.exports=function(){return[]}},15241:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},15273:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e,n){return null!=e&&t.call(e,n)}},15454:(e,t,n)=>{var r=n(77934),i=n(37885);e.exports=function(e,t){return e&&r(e,t,i)}},15456:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(17135),i=n(84669);let o=[];class a{static create(){return new a}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=0,t()},e)}isStarted(){return 0!==this.currentId}constructor(){this.currentId=0,this.clear=()=>{0!==this.currentId&&(clearTimeout(this.currentId),this.currentId=0)},this.disposeEffect=()=>this.clear}}function s(){var e;let t=(0,r.j)(a.create).current;return e=t.disposeEffect,i.useEffect(e,o),t}},16238:e=>{e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},16243:(e,t,n)=>{var r=n(25572),i=n(36915),o=n(10451);e.exports=function(e){return function(t,n,a){return a&&"number"!=typeof a&&i(t,n,a)&&(n=a=void 0),t=o(t),void 0===n?(n=t,t=0):n=o(n),a=void 0===a?t<n?1:-1:o(a),r(t,n,a,e)}}},16614:(e,t,n)=>{"use strict";var r=n(61008);e.exports=function(e,t){for(var n=0,i=1;i<t.length;++i)n+=function(e,t,n){for(var i=r.zipObject(n,r.map(n,function(e,t){return t})),o=r.flatten(r.map(t,function(t){return r.sortBy(r.map(e.outEdges(t),function(t){return{pos:i[t.w],weight:e.edge(t).weight}}),"pos")}),!0),a=1;a<n.length;)a<<=1;var s=2*a-1;a-=1;var l=r.map(Array(s),function(){return 0}),u=0;return r.forEach(o.forEach(function(e){var t=e.pos+a;l[t]+=e.weight;for(var n=0;t>0;)t%2&&(n+=l[t+1]),t=t-1>>1,l[t]+=e.weight;u+=e.weight*n})),u}(e,t[i-1],t[i]);return n}},16676:(e,t,n)=>{var r=n(63318);e.exports=n(94091)(function(e,t){return null==e?{}:r(e,t)})},16710:(e,t,n)=>{var r=n(24216),i=n(21358),o=n(49535);e.exports=function(e,t){return e&&e.length?r(e,i(t,2),o):void 0}},17248:(e,t,n)=>{var r=n(78926);e.exports=function(e){var t=0,n=[],i={},o=[];return e.nodes().forEach(function(a){r.has(i,a)||function a(s){var l=i[s]={onStack:!0,lowlink:t,index:t++};if(n.push(s),e.successors(s).forEach(function(e){r.has(i,e)?i[e].onStack&&(l.lowlink=Math.min(l.lowlink,i[e].index)):(a(e),l.lowlink=Math.min(l.lowlink,i[e].lowlink))}),l.lowlink===l.index){var u,c=[];do i[u=n.pop()].onStack=!1,c.push(u);while(s!==u);o.push(c)}}(a)}),o}},17604:(e,t,n)=>{e.exports=n(92620)(Object.getPrototypeOf,Object)},17619:(e,t,n)=>{var r=n(9255),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},17995:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Box",[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]])},18631:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),o="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;o?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(n(2074))},19280:e=>{e.exports=function(e,t){return e>t}},19512:(e,t,n)=>{"use strict";var r=n(88456).longestPath,i=n(93968),o=n(50165);e.exports=function(e){switch(e.graph().ranker){case"network-simplex":default:o(e);break;case"tight-tree":var t;r(t=e),i(t);break;case"longest-path":a(e)}};var a=r},19602:(e,t,n)=>{var r=n(2628),i=n(37885);e.exports=function(e,t){return e&&r(t,i(t),e)}},19663:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var r=n(84669),i=n(83668),o=n(33172),a=n(46832);let s=r.forwardRef(function(e,t){let{render:n,className:s,...l}=e,{max:u,min:c,value:h,state:f}=(0,o.A)(),d=Number.isFinite(h)&&null!==h?(h-c)*100/(u-c):null,p=r.useCallback(()=>null==d?{}:{insetInlineStart:0,height:"inherit",width:"".concat(d,"%")},[d]);return(0,i.o)("div",e,{state:f,ref:t,props:[{style:p()},l],stateAttributesMapping:a.I})})},19677:(e,t,n)=>{var r=n(11863);e.exports=function(e){try{r(e)}catch(e){if(e instanceof r.CycleException)return!1;throw e}return!0}},19730:(e,t,n)=>{"use strict";var r=n(23814);n.o(r,"redirect")&&n.d(t,{redirect:function(){return r.redirect}}),n.o(r,"useParams")&&n.d(t,{useParams:function(){return r.useParams}}),n.o(r,"useRouter")&&n.d(t,{useRouter:function(){return r.useRouter}}),n.o(r,"useSearchParams")&&n.d(t,{useSearchParams:function(){return r.useSearchParams}})},19752:(e,t,n)=>{var r=n(29184),i=n(89111),o=n(64522);e.exports=function(e){var t=i(e);return 1==t.length&&t[0][2]?o(t[0][0],t[0][1]):function(n){return n===e||r(n,e,t)}}},19985:(e,t,n)=>{e.exports={Graph:n(49397),version:n(74437)}},2e4:e=>{var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},20069:(e,t,n)=>{var r=n(98968),i=n(8123),o=n(37885);e.exports=function(e){return r(e,o,i)}},20092:(e,t,n)=>{var r=n(63194),i=n(69851),o=n(31284);function a(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new r;++t<n;)this.add(e[t])}a.prototype.add=a.prototype.push=i,a.prototype.has=o,e.exports=a},20502:(e,t,n)=>{var r=n(53027),i="object"==typeof self&&self&&self.Object===Object&&self;e.exports=r||i||Function("return this")()},20601:(e,t,n)=>{var r=n(96459),i=n(79502),o=n(23662),a=o&&o.isMap;e.exports=a?i(a):r},20758:(e,t,n)=>{"use strict";n.d(t,{h:()=>h,n:()=>u});var r=n(84669),i=n(8585);let o=e=>{let t,n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({},t,i),n.forEach(n=>n(t,e))}},i=()=>t,o={setState:r,getState:i,getInitialState:()=>a,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},a=t=e(r,i,o);return o},{useDebugValue:a}=r,{useSyncExternalStoreWithSelector:s}=i,l=e=>e;function u(e,t=l,n){let r=s(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return a(r),r}let c=(e,t)=>{let n=(e=>e?o(e):o)(e),r=(e,r=t)=>u(n,e,r);return Object.assign(r,n),r},h=(e,t)=>e?c(e,t):c},21239:(e,t,n)=>{var r=n(14209),i=n(37885);e.exports=function(e){return null==e?[]:r(e,i(e))}},21358:(e,t,n)=>{var r=n(19752),i=n(66593),o=n(38875),a=n(28086),s=n(33032);e.exports=function(e){return"function"==typeof e?e:null==e?o:"object"==typeof e?a(e)?i(e[0],e[1]):r(e):s(e)}},21377:(e,t,n)=>{"use strict";var r=n(61008),i=n(25805),o=n(10252).positionX;e.exports=function(e){var t,n,a,s;t=e=i.asNonCompoundGraph(e),n=i.buildLayerMatrix(t),a=t.graph().ranksep,s=0,r.forEach(n,function(e){var n=r.max(r.map(e,function(e){return t.node(e).height}));r.forEach(e,function(e){t.node(e).y=s+n/2}),s+=n+a}),r.forEach(o(e),function(t,n){e.node(n).x=t})}},21901:(e,t,n)=>{var r=n(59603),i=n(21358),o=n(38491),a=n(28086);e.exports=function(e,t){return(a(e)?r:o)(e,i(t,3))}},22059:(e,t,n)=>{var r=n(35698),i=function(){var e=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!i&&i in e}},22567:(e,t,n)=>{var r=n(73432),i=n(36265);e.exports=function(e,t){return i(e||[],t||[],r)}},23662:(e,t,n)=>{e=n.nmd(e);var r=n(53027),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{var e=o&&o.require&&o.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},23714:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(84669),i=n(83668),o=n(13382),a=n(57309),s=n(33172),l=n(46832);let u=r.forwardRef(function(e,t){let{render:n,className:r,id:u,...c}=e,{setLabelId:h,state:f}=(0,s.A)(),d=function(e,t){let n=(0,a.e)(e);return(0,o.g)(()=>(t(n),()=>{t(void 0)}),[n,t]),n}(u,h);return(0,i.o)("span",e,{state:f,ref:t,props:[{id:d,role:"presentation"},c],stateAttributesMapping:l.I})})},24216:(e,t,n)=>{var r=n(44601);e.exports=function(e,t,n){for(var i=-1,o=e.length;++i<o;){var a=e[i],s=t(a);if(null!=s&&(void 0===l?s==s&&!r(s):n(s,l)))var l=s,u=a}return u}},24617:(e,t,n)=>{var r=n(61008),i=n(46549),o=n(6798),a=n(6128);e.exports=function e(t,n,s,l){var u,c,h=t.children(n),f=t.node(n),d=f?f.borderLeft:void 0,p=f?f.borderRight:void 0,g={};d&&(h=r.filter(h,function(e){return e!==d&&e!==p}));var y=i(t,h);r.forEach(y,function(n){if(t.children(n.v).length){var i,o,a=e(t,n.v,s,l);g[n.v]=a,r.has(a,"barycenter")&&(i=n,o=a,r.isUndefined(i.barycenter)?(i.barycenter=o.barycenter,i.weight=o.weight):(i.barycenter=(i.barycenter*i.weight+o.barycenter*o.weight)/(i.weight+o.weight),i.weight+=o.weight))}});var m=o(y,s);u=m,c=g,r.forEach(u,function(e){e.vs=r.flatten(e.vs.map(function(e){return c[e]?c[e].vs:e}),!0)});var v=a(m,l);if(d&&(v.vs=r.flatten([d,v.vs,p],!0),t.predecessors(d).length)){var x=t.node(t.predecessors(d)[0]),b=t.node(t.predecessors(p)[0]);r.has(v,"barycenter")||(v.barycenter=0,v.weight=0),v.barycenter=(v.barycenter*v.weight+x.order+b.order)/(v.weight+2),v.weight+=2}return v}},24723:(e,t,n)=>{e.exports=n(92069)(n(20502),"Promise")},25046:(e,t,n)=>{var r=n(6548),i=n(54800),o=n(63194);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},25572:e=>{var t=Math.ceil,n=Math.max;e.exports=function(e,r,i,o){for(var a=-1,s=n(t((r-e)/(i||1)),0),l=Array(s);s--;)l[o?s:++a]=e,e+=i;return l}},25762:(e,t,n)=>{var r=n(98968),i=n(51332),o=n(88282);e.exports=function(e){return r(e,o,i)}},25805:(e,t,n)=>{"use strict";var r=n(61008),i=n(72350).Graph;function o(e,t,n,i){var o;do o=r.uniqueId(i);while(e.hasNode(o));return n.dummy=t,e.setNode(o,n),o}function a(e){return r.max(r.map(e.nodes(),function(t){var n=e.node(t).rank;if(!r.isUndefined(n))return n}))}e.exports={addDummyNode:o,simplify:function(e){var t=new i().setGraph(e.graph());return r.forEach(e.nodes(),function(n){t.setNode(n,e.node(n))}),r.forEach(e.edges(),function(n){var r=t.edge(n.v,n.w)||{weight:0,minlen:1},i=e.edge(n);t.setEdge(n.v,n.w,{weight:r.weight+i.weight,minlen:Math.max(r.minlen,i.minlen)})}),t},asNonCompoundGraph:function(e){var t=new i({multigraph:e.isMultigraph()}).setGraph(e.graph());return r.forEach(e.nodes(),function(n){e.children(n).length||t.setNode(n,e.node(n))}),r.forEach(e.edges(),function(n){t.setEdge(n,e.edge(n))}),t},successorWeights:function(e){var t=r.map(e.nodes(),function(t){var n={};return r.forEach(e.outEdges(t),function(t){n[t.w]=(n[t.w]||0)+e.edge(t).weight}),n});return r.zipObject(e.nodes(),t)},predecessorWeights:function(e){var t=r.map(e.nodes(),function(t){var n={};return r.forEach(e.inEdges(t),function(t){n[t.v]=(n[t.v]||0)+e.edge(t).weight}),n});return r.zipObject(e.nodes(),t)},intersectRect:function(e,t){var n,r,i=e.x,o=e.y,a=t.x-i,s=t.y-o,l=e.width/2,u=e.height/2;if(!a&&!s)throw Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*l>Math.abs(a)*u?(s<0&&(u=-u),n=u*a/s,r=u):(a<0&&(l=-l),n=l,r=l*s/a),{x:i+n,y:o+r}},buildLayerMatrix:function(e){var t=r.map(r.range(a(e)+1),function(){return[]});return r.forEach(e.nodes(),function(n){var i=e.node(n),o=i.rank;r.isUndefined(o)||(t[o][i.order]=n)}),t},normalizeRanks:function(e){var t=r.min(r.map(e.nodes(),function(t){return e.node(t).rank}));r.forEach(e.nodes(),function(n){var i=e.node(n);r.has(i,"rank")&&(i.rank-=t)})},removeEmptyRanks:function(e){var t=r.min(r.map(e.nodes(),function(t){return e.node(t).rank})),n=[];r.forEach(e.nodes(),function(r){var i=e.node(r).rank-t;n[i]||(n[i]=[]),n[i].push(r)});var i=0,o=e.graph().nodeRankFactor;r.forEach(n,function(t,n){r.isUndefined(t)&&n%o!=0?--i:i&&r.forEach(t,function(t){e.node(t).rank+=i})})},addBorderNode:function(e,t,n,r){var i={width:0,height:0};return arguments.length>=4&&(i.rank=n,i.order=r),o(e,"border",i,t)},maxRank:a,partition:function(e,t){var n={lhs:[],rhs:[]};return r.forEach(e,function(e){t(e)?n.lhs.push(e):n.rhs.push(e)}),n},time:function(e,t){var n=r.now();try{return t()}finally{console.log(e+" time: "+(r.now()-n)+"ms")}},notime:function(e,t){return t()}}},26221:(e,t,n)=>{var r=n(61008),i=n(72350).Graph;e.exports=function(e,t,n){var o=function(e){for(var t;e.hasNode(t=r.uniqueId("_root")););return t}(e),a=new i({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(t){return e.node(t)});return r.forEach(e.nodes(),function(i){var s=e.node(i),l=e.parent(i);(s.rank===t||s.minRank<=t&&t<=s.maxRank)&&(a.setNode(i),a.setParent(i,l||o),r.forEach(e[n](i),function(t){var n=t.v===i?t.w:t.v,o=a.edge(n,i),s=r.isUndefined(o)?0:o.weight;a.setEdge(n,i,{weight:e.edge(t).weight+s})}),r.has(s,"minRank")&&a.setNode(i,{borderLeft:s.borderLeft[t],borderRight:s.borderRight[t]}))}),a}},26429:(e,t,n)=>{var r=n(38875);e.exports=function(e){return"function"==typeof e?e:r}},26458:(e,t,n)=>{var r=n(59699),i=n(54800),o=n(24723),a=n(2446),s=n(31784),l=n(76911),u=n(54938),c="[object Map]",h="[object Promise]",f="[object Set]",d="[object WeakMap]",p="[object DataView]",g=u(r),y=u(i),m=u(o),v=u(a),x=u(s),b=l;(r&&b(new r(new ArrayBuffer(1)))!=p||i&&b(new i)!=c||o&&b(o.resolve())!=h||a&&b(new a)!=f||s&&b(new s)!=d)&&(b=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case g:return p;case y:return c;case m:return h;case v:return f;case x:return d}return t}),e.exports=b},26639:(e,t,n)=>{var r=n(118),i=Object.create;e.exports=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}()},26691:(e,t,n)=>{e=n.nmd(e);var r=n(20502),i=n(42336),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,l=s?s.isBuffer:void 0;e.exports=l||i},26896:(e,t,n)=>{var r=n(81413);e.exports=function(e){return function(t){return r(t,e)}}},26954:(e,t,n)=>{var r=n(10451);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},27398:(e,t,n)=>{var r=n(97178),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),l=Array(s);++a<s;)l[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(l),r(e,this,u)}}},27443:e=>{e.exports=function(e){return void 0===e}},27584:(e,t,n)=>{var r=n(61008),i=n(25805);e.exports={run:function(e){var t,n,o,a=i.addDummyNode(e,"root",{},"_root"),s=(t=e,n={},r.forEach(t.children(),function(e){!function e(i,o){var a=t.children(i);a&&a.length&&r.forEach(a,function(t){e(t,o+1)}),n[i]=o}(e,1)}),n),l=r.max(r.values(s))-1,u=2*l+1;e.graph().nestingRoot=a,r.forEach(e.edges(),function(t){e.edge(t).minlen*=u});var c=(o=e,r.reduce(o.edges(),function(e,t){return e+o.edge(t).weight},0)+1);r.forEach(e.children(),function(t){!function e(t,n,o,a,s,l,u){var c=t.children(u);if(!c.length){u!==n&&t.setEdge(n,u,{weight:0,minlen:o});return}var h=i.addBorderNode(t,"_bt"),f=i.addBorderNode(t,"_bb"),d=t.node(u);t.setParent(h,u),d.borderTop=h,t.setParent(f,u),d.borderBottom=f,r.forEach(c,function(r){e(t,n,o,a,s,l,r);var i=t.node(r),c=i.borderTop?i.borderTop:r,d=i.borderBottom?i.borderBottom:r,p=i.borderTop?a:2*a,g=c!==d?1:s-l[u]+1;t.setEdge(h,c,{weight:p,minlen:g,nestingEdge:!0}),t.setEdge(d,f,{weight:p,minlen:g,nestingEdge:!0})}),t.parent(u)||t.setEdge(n,h,{weight:0,minlen:s+l[u]})}(e,a,u,c,l,s,t)}),e.graph().nodeRankFactor=u},cleanup:function(e){var t=e.graph();e.removeNode(t.nestingRoot),delete t.nestingRoot,r.forEach(e.edges(),function(t){e.edge(t).nestingEdge&&e.removeEdge(t)})}}},27659:(e,t,n)=>{var r=n(118);e.exports=function(e){return e==e&&!r(e)}},28086:e=>{e.exports=Array.isArray},28197:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},28236:(e,t,n)=>{var r=n(37874);e.exports=function(e){return r(this.__data__,e)>-1}},28604:(e,t,n)=>{var r=n(43066),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},28867:(e,t,n)=>{var r=n(24216),i=n(49535),o=n(38875);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},29184:(e,t,n)=>{var r=n(76342),i=n(53101);e.exports=function(e,t,n,o){var a=n.length,s=a,l=!o;if(null==e)return!s;for(e=Object(e);a--;){var u=n[a];if(l&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++a<s;){var c=(u=n[a])[0],h=e[c],f=u[1];if(l&&u[2]){if(void 0===h&&!(c in e))return!1}else{var d=new r;if(o)var p=o(h,f,c,e,t,d);if(!(void 0===p?i(f,h,3,o,d):p))return!1}}return!0}},29383:(e,t,n)=>{var r=n(77934),i=n(26429),o=n(88282);e.exports=function(e,t){return null==e?e:r(e,i(t),o)}},29463:(e,t,n)=>{var r=n(6548);e.exports=function(){this.__data__=new r,this.size=0}},29494:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["path",{d:"m3.3 7 7.703 4.734a2 2 0 0 0 1.994 0L20.7 7",key:"yx3hmr"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]])},30842:(e,t,n)=>{var r=n(20069),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,o,a,s){var l=1&n,u=r(e),c=u.length;if(c!=r(t).length&&!l)return!1;for(var h=c;h--;){var f=u[h];if(!(l?f in t:i.call(t,f)))return!1}var d=s.get(e),p=s.get(t);if(d&&p)return d==t&&p==e;var g=!0;s.set(e,t),s.set(t,e);for(var y=l;++h<c;){var m=e[f=u[h]],v=t[f];if(o)var x=l?o(v,m,f,t,e,s):o(m,v,f,e,t,s);if(!(void 0===x?m===v||a(m,v,n,o,s):x)){g=!1;break}y||(y="constructor"==f)}if(g&&!y){var b=e.constructor,w=t.constructor;b!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof w&&w instanceof w)&&(g=!1)}return s.delete(e),s.delete(t),g}},30855:(e,t,n)=>{var r=n(81413),i=n(32585),o=n(32550);e.exports=function(e,t,n){for(var a=-1,s=t.length,l={};++a<s;){var u=t[a],c=r(e,u);n(c,u)&&i(l,o(u,e),c)}return l}},31047:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("ZoomIn",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},31264:(e,t,n)=>{"use strict";n.d(t,{V:()=>d});var r=n(84669),i=n(73605),o=n(65595),a=n(83668),s=n(77946),l=n(96891),u=n(43925),c=n(67951),h=n(84661),f=n(6409);let d=r.forwardRef(function(e,t){let{render:n,className:d,orientation:p="vertical",keepMounted:g=!1,...y}=e,{hovering:m,scrollingX:v,scrollingY:x,hiddenState:b,overflowEdges:w,scrollbarYRef:k,scrollbarXRef:_,viewportRef:E,thumbYRef:A,thumbXRef:S,handlePointerDown:M,handlePointerUp:C,rootId:T,thumbSize:O,hasMeasuredScrollbar:P}=(0,i.p)(),j={hovering:m,scrolling:{horizontal:v,vertical:x}[p],orientation:p,hasOverflowX:!b.x,hasOverflowY:!b.y,overflowXStart:w.xStart,overflowXEnd:w.xEnd,overflowYStart:w.yStart,overflowYEnd:w.yEnd,cornerHidden:b.corner},N=(0,c.j)();r.useEffect(()=>{let e=E.current,t="vertical"===p?k.current:_.current;if(t)return t.addEventListener("wheel",n,{passive:!1}),()=>{t.removeEventListener("wheel",n)};function n(n){if(e&&t&&!n.ctrlKey){if(n.preventDefault(),"vertical"===p){if(0===e.scrollTop&&n.deltaY<0)return}else if(0===e.scrollLeft&&n.deltaX<0)return;if("vertical"===p){if(e.scrollTop===e.scrollHeight-e.clientHeight&&n.deltaY>0)return}else if(e.scrollLeft===e.scrollWidth-e.clientWidth&&n.deltaX>0)return;"vertical"===p?e.scrollTop+=n.deltaY:e.scrollLeft+=n.deltaX}}},[p,_,k,E]);let L={...T&&{"data-id":"".concat(T,"-scrollbar")},onPointerDown(e){if(0===e.button&&e.currentTarget===e.target&&E.current){if(A.current&&k.current&&"vertical"===p){let t=(0,s.A)(A.current,"margin","y"),n=(0,s.A)(k.current,"padding","y"),r=A.current.offsetHeight,i=k.current.getBoundingClientRect(),o=e.clientY-i.top-r/2-n+t/2,a=E.current.scrollHeight,l=E.current.clientHeight,u=k.current.offsetHeight-r-n-t;E.current.scrollTop=o/u*(a-l)}if(S.current&&_.current&&"horizontal"===p){let t,n=(0,s.A)(S.current,"margin","x"),r=(0,s.A)(_.current,"padding","x"),i=S.current.offsetWidth,o=_.current.getBoundingClientRect(),a=e.clientX-o.left-i/2-r+n/2,l=E.current.scrollWidth,u=E.current.clientWidth,c=a/(_.current.offsetWidth-i-r-n);"rtl"===N?(t=(1-c)*(l-u),E.current.scrollLeft<=0&&(t=-t)):t=c*(l-u),E.current.scrollLeft=t}M(e)}},onPointerUp:C,style:{position:"absolute",touchAction:"none",WebkitUserSelect:"none",userSelect:"none",visibility:P||g?void 0:"hidden",..."vertical"===p&&{top:0,bottom:"var(".concat(l.I.scrollAreaCornerHeight,")"),insetInlineEnd:0,[u.q.scrollAreaThumbHeight]:"".concat(O.height,"px")},..."horizontal"===p&&{insetInlineStart:0,insetInlineEnd:"var(".concat(l.I.scrollAreaCornerWidth,")"),bottom:0,[u.q.scrollAreaThumbWidth]:"".concat(O.width,"px")}}},z=(0,a.o)("div",e,{ref:[t,"vertical"===p?k:_],state:j,props:[L,y],stateAttributesMapping:h.r}),I=r.useMemo(()=>({orientation:p}),[p]),R="vertical"===p?b.y:b.x;return g||!R?(0,f.jsx)(o.G.Provider,{value:I,children:z}):null})},31284:e=>{e.exports=function(e){return this.__data__.has(e)}},31784:(e,t,n)=>{e.exports=n(92069)(n(20502),"WeakMap")},31896:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(18631)),i=n(57648);function o(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}o.default=o,e.exports=o},32229:(e,t,n)=>{var r=n(24216),i=n(19280),o=n(38875);e.exports=function(e){return e&&e.length?r(e,o,i):void 0}},32244:(e,t,n)=>{var r=n(13991),i=n(46387),o=n(28086),a=n(26691),s=n(97226),l=n(74632),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),c=!n&&i(e),h=!n&&!c&&a(e),f=!n&&!c&&!h&&l(e),d=n||c||h||f,p=d?r(e.length,String):[],g=p.length;for(var y in e)(t||u.call(e,y))&&!(d&&("length"==y||h&&("offset"==y||"parent"==y)||f&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,g)))&&p.push(y);return p}},32313:(e,t,n)=>{e=n.nmd(e);var r=n(20502),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},32446:(e,t,n)=>{var r=n(78926);function i(){this._arr=[],this._keyIndices={}}e.exports=i,i.prototype.size=function(){return this._arr.length},i.prototype.keys=function(){return this._arr.map(function(e){return e.key})},i.prototype.has=function(e){return r.has(this._keyIndices,e)},i.prototype.priority=function(e){var t=this._keyIndices[e];if(void 0!==t)return this._arr[t].priority},i.prototype.min=function(){if(0===this.size())throw Error("Queue underflow");return this._arr[0].key},i.prototype.add=function(e,t){var n=this._keyIndices;if(e=String(e),!r.has(n,e)){var i=this._arr,o=i.length;return n[e]=o,i.push({key:e,priority:t}),this._decrease(o),!0}return!1},i.prototype.removeMin=function(){this._swap(0,this._arr.length-1);var e=this._arr.pop();return delete this._keyIndices[e.key],this._heapify(0),e.key},i.prototype.decrease=function(e,t){var n=this._keyIndices[e];if(t>this._arr[n].priority)throw Error("New priority is greater than current priority. Key: "+e+" Old: "+this._arr[n].priority+" New: "+t);this._arr[n].priority=t,this._decrease(n)},i.prototype._heapify=function(e){var t=this._arr,n=2*e,r=n+1,i=e;n<t.length&&(i=t[n].priority<t[i].priority?n:i,r<t.length&&(i=t[r].priority<t[i].priority?r:i),i!==e&&(this._swap(e,i),this._heapify(i)))},i.prototype._decrease=function(e){for(var t,n=this._arr,r=n[e].priority;0!==e&&!(n[t=e>>1].priority<r);)this._swap(e,t),e=t},i.prototype._swap=function(e,t){var n=this._arr,r=this._keyIndices,i=n[e],o=n[t];n[e]=o,n[t]=i,r[o.key]=e,r[i.key]=t}},32550:(e,t,n)=>{var r=n(28086),i=n(13317),o=n(33085),a=n(67545);e.exports=function(e,t){return r(e)?e:i(e,t)?[e]:o(a(e))}},32585:(e,t,n)=>{var r=n(73432),i=n(32550),o=n(97226),a=n(118),s=n(75038);e.exports=function(e,t,n,l){if(!a(e))return e;t=i(t,e);for(var u=-1,c=t.length,h=c-1,f=e;null!=f&&++u<c;){var d=s(t[u]),p=n;if("__proto__"===d||"constructor"===d||"prototype"===d)break;if(u!=h){var g=f[d];void 0===(p=l?l(g,d,f):void 0)&&(p=a(g)?g:o(t[u+1])?[]:{})}r(f,d,p),f=f[d]}return e}},32867:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Hand",[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]])},33032:(e,t,n)=>{var r=n(64294),i=n(26896),o=n(13317),a=n(75038);e.exports=function(e){return o(e)?r(a(e)):i(e)}},33085:(e,t,n)=>{var r=n(3135),i=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,o=/\\(\\)?/g;e.exports=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(i,function(e,n,r,i){t.push(r?i.replace(o,"$1"):n||e)}),t})},33150:(e,t,n)=>{var r=n(87592),i=n(21358),o=n(26954),a=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return -1;var l=null==n?0:o(n);return l<0&&(l=a(s+l,0)),r(e,i(t,3),l)}},33159:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},33172:(e,t,n)=>{"use strict";n.d(t,{A:()=>a,r:()=>o});var r=n(71851),i=n(84669);let o=i.createContext(void 0);function a(){let e=i.useContext(o);if(void 0===e)throw Error((0,r.A)(51));return e}},33773:(e,t,n)=>{var r=n(85060);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=!!t,t}},33892:e=>{var t="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",i="[^"+t+"]",o="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",s="(?:"+n+"|"+r+")?",l="[\\ufe0e\\ufe0f]?",u="(?:\\u200d(?:"+[i,o,a].join("|")+")"+l+s+")*",c=RegExp(r+"(?="+r+")|"+("(?:"+[i+n+"?",n,o,a,"["+t+"]"].join("|"))+")"+(l+s+u),"g");e.exports=function(e){for(var t=c.lastIndex=0;c.test(e);)++t;return t}},34279:(e,t,n)=>{e.exports={graphlib:n(72350),layout:n(94395),debug:n(82884),util:{time:n(25805).time,notime:n(25805).notime},version:n(4423)}},34579:(e,t,n)=>{var r=n(6235);e.exports=function(e,t){return r(e,t,"pre")}},34649:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},34862:(e,t,n)=>{var r=n(13279),i=n(26458),o=n(46387),a=n(28086),s=n(64753),l=n(26691),u=n(12600),c=n(74632),h=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(s(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||l(e)||c(e)||o(e)))return!e.length;var t=i(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(u(e))return!r(e).length;for(var n in e)if(h.call(e,n))return!1;return!0}},34948:(e,t,n)=>{var r=n(43066),i=n(46387),o=n(28086),a=r?r.isConcatSpreadable:void 0;e.exports=function(e){return o(e)||i(e)||!!(a&&e&&e[a])}},35622:(e,t,n)=>{var r=n(95441),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},35676:(e,t,n)=>{"use strict";n.d(t,{l:()=>l});var r=n(84669),i=n(73605),o=n(65595),a=n(43925),s=n(83668);let l=r.forwardRef(function(e,t){let{render:n,className:r,...l}=e,{thumbYRef:u,thumbXRef:c,handlePointerDown:h,handlePointerMove:f,handlePointerUp:d,setScrollingX:p,setScrollingY:g,hasMeasuredScrollbar:y}=(0,i.p)(),{orientation:m}=(0,o.r)();return(0,s.o)("div",e,{ref:[t,"vertical"===m?u:c],state:{orientation:m},props:[{onPointerDown:h,onPointerMove:f,onPointerUp(e){"vertical"===m&&g(!1),"horizontal"===m&&p(!1),d(e)},style:{visibility:y?void 0:"hidden",..."vertical"===m&&{height:"var(".concat(a.q.scrollAreaThumbHeight,")")},..."horizontal"===m&&{width:"var(".concat(a.q.scrollAreaThumbWidth,")")}}},l]})})},35698:(e,t,n)=>{e.exports=n(20502)["__core-js_shared__"]},36265:e=>{e.exports=function(e,t,n){for(var r=-1,i=e.length,o=t.length,a={};++r<i;){var s=r<o?t[r]:void 0;n(a,e[r],s)}return a}},36661:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Cog",[["path",{d:"M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16Z",key:"sobvz5"}],["path",{d:"M12 14a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",key:"11i496"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 22v-2",key:"1osdcq"}],["path",{d:"m17 20.66-1-1.73",key:"eq3orb"}],["path",{d:"M11 10.27 7 3.34",key:"16pf9h"}],["path",{d:"m20.66 17-1.73-1",key:"sg0v6f"}],["path",{d:"m3.34 7 1.73 1",key:"1ulond"}],["path",{d:"M14 12h8",key:"4f43i9"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"m20.66 7-1.73 1",key:"1ow05n"}],["path",{d:"m3.34 17 1.73-1",key:"nuk764"}],["path",{d:"m17 3.34-1 1.73",key:"2wel8s"}],["path",{d:"m11 13.73-4 6.93",key:"794ttg"}]])},36915:(e,t,n)=>{var r=n(94271),i=n(64753),o=n(97226),a=n(118);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return("number"==s?!!(i(n)&&o(t,n.length)):"string"==s&&t in n)&&r(n[t],e)}},37701:(e,t,n)=>{var r=n(6278);e.exports=function(e,t){var n=[];return r(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}},37819:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},a=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),o=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!o)return!1;for(r in e);return void 0===r||t.call(e,r)},s=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,u,c,h=arguments[0],f=1,d=arguments.length,p=!1;for("boolean"==typeof h&&(p=h,h=arguments[1]||{},f=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});f<d;++f)if(t=arguments[f],null!=t)for(n in t)r=l(h,n),h!==(i=l(t,n))&&(p&&i&&(a(i)||(u=o(i)))?(u?(u=!1,c=r&&o(r)?r:[]):c=r&&a(r)?r:{},s(h,{name:n,newValue:e(p,c,i)})):void 0!==i&&s(h,{name:n,newValue:i}));return h}},37865:(e,t,n)=>{var r=n(78926),i=n(17248);e.exports=function(e){return r.filter(i(e),function(t){return t.length>1||1===t.length&&e.hasEdge(t[0],t[0])})}},37874:(e,t,n)=>{var r=n(94271);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return -1}},37885:(e,t,n)=>{var r=n(32244),i=n(13279),o=n(64753);e.exports=function(e){return o(e)?r(e):i(e)}},38317:(e,t,n)=>{var r=n(78926);e.exports=function(e,t,n){var r,o,a,s,l;return r=e,o=t||i,a=n||function(t){return e.outEdges(t)},s={},(l=r.nodes()).forEach(function(e){s[e]={},s[e][e]={distance:0},l.forEach(function(t){e!==t&&(s[e][t]={distance:1/0})}),a(e).forEach(function(t){var n=t.v===e?t.w:t.v,r=o(t);s[e][n]={distance:r,predecessor:e}})}),l.forEach(function(e){var t=s[e];l.forEach(function(n){var r=s[n];l.forEach(function(n){var i=r[e],o=t[n],a=r[n],s=i.distance+o.distance;s<a.distance&&(a.distance=s,a.predecessor=o.predecessor)})})}),s};var i=r.constant(1)},38491:(e,t,n)=>{var r=n(6278),i=n(64753);e.exports=function(e,t){var n=-1,o=i(e)?Array(e.length):[];return r(e,function(e,r,i){o[++n]=t(e,r,i)}),o}},38621:(e,t,n)=>{var r=n(32550),i=n(46387),o=n(28086),a=n(97226),s=n(70993),l=n(75038);e.exports=function(e,t,n){t=r(t,e);for(var u=-1,c=t.length,h=!1;++u<c;){var f=l(t[u]);if(!(h=null!=e&&n(e,f)))break;e=e[f]}return h||++u!=c?h:!!(c=null==e?0:e.length)&&s(c)&&a(f,c)&&(o(e)||i(e))}},38875:e=>{e.exports=function(e){return e}},39004:(e,t,n)=>{"use strict";function r(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;if(e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(let[n,r]of e)if(!Object.is(r,t.get(n)))return!1;return!0}if(e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}let n=Object.keys(e);if(n.length!==Object.keys(t).length)return!1;for(let r of n)if(!Object.prototype.hasOwnProperty.call(t,r)||!Object.is(e[r],t[r]))return!1;return!0}n.d(t,{x:()=>r})},39372:(e,t,n)=>{e.exports=n(64294)("length")},39601:(e,t,n)=>{var r=n(10169);e.exports=function(e,t,n){for(var i=-1,o=e.criteria,a=t.criteria,s=o.length,l=n.length;++i<s;){var u=r(o[i],a[i]);if(u){if(i>=l)return u;return u*("desc"==n[i]?-1:1)}}return e.index-t.index}},41010:(e,t,n)=>{"use strict";let r,i;n.d(t,{io:()=>e_});var o,a={};n.r(a),n.d(a,{Decoder:()=>ef,Encoder:()=>eh,PacketType:()=>o,isPacketValid:()=>ey,protocol:()=>ec});let s=Object.create(null);s.open="0",s.close="1",s.ping="2",s.pong="3",s.message="4",s.upgrade="5",s.noop="6";let l=Object.create(null);Object.keys(s).forEach(e=>{l[s[e]]=e});let u={type:"error",data:"parser error"},c="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),h="function"==typeof ArrayBuffer,f=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,d=({type:e,data:t},n,r)=>{if(c&&t instanceof Blob)if(n)return r(t);else return p(t,r);if(h&&(t instanceof ArrayBuffer||f(t)))if(n)return r(t);else return p(new Blob([t]),r);return r(s[e]+(t||""))},p=(e,t)=>{let n=new FileReader;return n.onload=function(){t("b"+(n.result.split(",")[1]||""))},n.readAsDataURL(e)};function g(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",m="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<y.length;e++)m[y.charCodeAt(e)]=e;let v="function"==typeof ArrayBuffer,x=(e,t)=>{if("string"!=typeof e)return{type:"message",data:w(e,t)};let n=e.charAt(0);return"b"===n?{type:"message",data:b(e.substring(1),t)}:l[n]?e.length>1?{type:l[n],data:e.substring(1)}:{type:l[n]}:u},b=(e,t)=>v?w((e=>{let t=.75*e.length,n=e.length,r,i=0,o,a,s,l;"="===e[e.length-1]&&(t--,"="===e[e.length-2]&&t--);let u=new ArrayBuffer(t),c=new Uint8Array(u);for(r=0;r<n;r+=4)o=m[e.charCodeAt(r)],a=m[e.charCodeAt(r+1)],s=m[e.charCodeAt(r+2)],l=m[e.charCodeAt(r+3)],c[i++]=o<<2|a>>4,c[i++]=(15&a)<<4|s>>2,c[i++]=(3&s)<<6|63&l;return u})(e),t):{base64:!0,data:e},w=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer;function k(e){return e.reduce((e,t)=>e+t.length,0)}function _(e,t){if(e[0].length===t)return e.shift();let n=new Uint8Array(t),r=0;for(let i=0;i<t;i++)n[i]=e[0][r++],r===e[0].length&&(e.shift(),r=0);return e.length&&r<e[0].length&&(e[0]=e[0].slice(r)),n}function E(e){if(e){var t=e;for(var n in E.prototype)t[n]=E.prototype[n];return t}}E.prototype.on=E.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},E.prototype.once=function(e,t){function n(){this.off(e,n),t.apply(this,arguments)}return n.fn=t,this.on(e,n),this},E.prototype.off=E.prototype.removeListener=E.prototype.removeAllListeners=E.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var n,r=this._callbacks["$"+e];if(!r)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var i=0;i<r.length;i++)if((n=r[i])===t||n.fn===t){r.splice(i,1);break}return 0===r.length&&delete this._callbacks["$"+e],this},E.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=Array(arguments.length-1),n=this._callbacks["$"+e],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,i=n.length;r<i;++r)n[r].apply(this,t)}return this},E.prototype.emitReserved=E.prototype.emit,E.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},E.prototype.hasListeners=function(e){return!!this.listeners(e).length};let A="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),S="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function M(e,...t){return t.reduce((t,n)=>(e.hasOwnProperty(n)&&(t[n]=e[n]),t),{})}let C=S.setTimeout,T=S.clearTimeout;function O(e,t){t.useNativeTimers?(e.setTimeoutFn=C.bind(S),e.clearTimeoutFn=T.bind(S)):(e.setTimeoutFn=S.setTimeout.bind(S),e.clearTimeoutFn=S.clearTimeout.bind(S))}function P(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class j extends Error{constructor(e,t,n){super(e),this.description=t,this.context=n,this.type="TransportError"}}class N extends E{constructor(e){super(),this.writable=!1,O(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,n){return super.emitReserved("error",new j(e,t,n)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return("opening"===this.readyState||"open"===this.readyState)&&(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){let t=x(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){let e=this.opts.hostname;return -1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){let t=function(e){let t="";for(let n in e)e.hasOwnProperty(n)&&(t.length&&(t+="&"),t+=encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t}(e);return t.length?"?"+t:""}}class L extends N{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";let t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let e=0;this._polling&&(e++,this.once("pollComplete",function(){--e||t()})),this.writable||(e++,this.once("drain",function(){--e||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){let t=e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)};((e,t)=>{let n=e.split("\x1e"),r=[];for(let e=0;e<n.length;e++){let i=x(n[e],t);if(r.push(i),"error"===i.type)break}return r})(e,this.socket.binaryType).forEach(t),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){let e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{let n=e.length,r=Array(n),i=0;e.forEach((e,o)=>{d(e,!1,e=>{r[o]=e,++i===n&&t(r.join("\x1e"))})})})(e,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){let e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=P()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}}let z=!1;try{z="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}let I=z;function R(){}class D extends L{constructor(e){if(super(e),"undefined"!=typeof location){let t="https:"===location.protocol,n=location.port;n||(n=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||n!==e.port}}doWrite(e,t){let n=this.request({method:"POST",data:e});n.on("success",t),n.on("error",(e,t)=>{this.onError("xhr post error",e,t)})}doPoll(){let e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(e,t)=>{this.onError("xhr poll error",e,t)}),this.pollXhr=e}}class B extends E{constructor(e,t,n){super(),this.createRequest=e,O(this,n),this._opts=n,this._method=n.method||"GET",this._uri=t,this._data=void 0!==n.data?n.data:null,this._create()}_create(){var e;let t=M(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;let n=this._xhr=this.createRequest(t);try{n.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders)for(let e in n.setDisableHeaderCheck&&n.setDisableHeaderCheck(!0),this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(e)&&n.setRequestHeader(e,this._opts.extraHeaders[e])}catch(e){}if("POST"===this._method)try{n.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{n.setRequestHeader("Accept","*/*")}catch(e){}null==(e=this._opts.cookieJar)||e.addCookies(n),"withCredentials"in n&&(n.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(n.timeout=this._opts.requestTimeout),n.onreadystatechange=()=>{var e;3===n.readyState&&(null==(e=this._opts.cookieJar)||e.parseCookies(n.getResponseHeader("set-cookie"))),4===n.readyState&&(200===n.status||1223===n.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof n.status?n.status:0)},0))},n.send(this._data)}catch(e){this.setTimeoutFn(()=>{this._onError(e)},0);return}"undefined"!=typeof document&&(this._index=B.requestsCount++,B.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=R,e)try{this._xhr.abort()}catch(e){}"undefined"!=typeof document&&delete B.requests[this._index],this._xhr=null}}_onLoad(){let e=this._xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function F(){for(let e in B.requests)B.requests.hasOwnProperty(e)&&B.requests[e].abort()}B.requestsCount=0,B.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",F):"function"==typeof addEventListener&&addEventListener("onpagehide"in S?"pagehide":"unload",F,!1));let q=function(){let e=$({xdomain:!1});return e&&null!==e.responseType}();class H extends D{constructor(e){super(e);let t=e&&e.forceBase64;this.supportsBinary=q&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new B($,this.uri(),e)}}function $(e){let t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||I))return new XMLHttpRequest}catch(e){}if(!t)try{return new S[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch(e){}}let U="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class V extends N{get name(){return"websocket"}doOpen(){let e=this.uri(),t=this.opts.protocols,n=U?{}:M(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(n.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,n)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;d(n,this.supportsBinary,e=>{try{this.doWrite(n,e)}catch(e){}r&&A(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){let e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=P()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}let X=S.WebSocket||S.MozWebSocket;class Y extends V{createSocket(e,t,n){return U?new X(e,t,n):t?new X(e,t):new X(e)}doWrite(e,t){this.ws.send(t)}}class W extends N{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{let t=function(e,t){i||(i=new TextDecoder);let n=[],r=0,o=-1,a=!1;return new TransformStream({transform(s,l){for(n.push(s);;){if(0===r){if(1>k(n))break;let e=_(n,1);a=(128&e[0])==128,r=(o=127&e[0])<126?3:126===o?1:2}else if(1===r){if(2>k(n))break;let e=_(n,2);o=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),r=3}else if(2===r){if(8>k(n))break;let e=_(n,8),t=new DataView(e.buffer,e.byteOffset,e.length),i=t.getUint32(0);if(i>2097151){l.enqueue(u);break}o=0x100000000*i+t.getUint32(4),r=3}else{if(k(n)<o)break;let e=_(n,o);l.enqueue(x(a?e:i.decode(e),t)),r=0}if(0===o||o>e){l.enqueue(u);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),n=e.readable.pipeThrough(t).getReader(),o=new TransformStream({transform(e,t){var n;n=n=>{let r,i=n.length;if(i<126)new DataView((r=new Uint8Array(1)).buffer).setUint8(0,i);else if(i<65536){let e=new DataView((r=new Uint8Array(3)).buffer);e.setUint8(0,126),e.setUint16(1,i)}else{let e=new DataView((r=new Uint8Array(9)).buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(i))}e.data&&"string"!=typeof e.data&&(r[0]|=128),t.enqueue(r),t.enqueue(n)},c&&e.data instanceof Blob?e.data.arrayBuffer().then(g).then(n):h&&(e.data instanceof ArrayBuffer||f(e.data))?n(g(e.data)):d(e,!1,e=>{r||(r=new TextEncoder),n(r.encode(e))})}});o.readable.pipeTo(e.writable),this._writer=o.writable.getWriter();let a=()=>{n.read().then(({done:e,value:t})=>{e||(this.onPacket(t),a())}).catch(e=>{})};a();let s={type:"open"};this.query.sid&&(s.data=`{"sid":"${this.query.sid}"}`),this._writer.write(s).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){let n=e[t],r=t===e.length-1;this._writer.write(n).then(()=>{r&&A(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;null==(e=this._transport)||e.close()}}let K={websocket:Y,webtransport:W,polling:H},G=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Z=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function Q(e){if(e.length>8e3)throw"URI too long";let t=e,n=e.indexOf("["),r=e.indexOf("]");-1!=n&&-1!=r&&(e=e.substring(0,n)+e.substring(n,r).replace(/:/g,";")+e.substring(r,e.length));let i=G.exec(e||""),o={},a=14;for(;a--;)o[Z[a]]=i[a]||"";return -1!=n&&-1!=r&&(o.source=t,o.host=o.host.substring(1,o.host.length-1).replace(/;/g,":"),o.authority=o.authority.replace("[","").replace("]","").replace(/;/g,":"),o.ipv6uri=!0),o.pathNames=function(e,t){let n=t.replace(/\/{2,9}/g,"/").split("/");return("/"==t.slice(0,1)||0===t.length)&&n.splice(0,1),"/"==t.slice(-1)&&n.splice(n.length-1,1),n}(0,o.path),o.queryKey=function(e,t){let n={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,r){t&&(n[t]=r)}),n}(0,o.query),o}let J="function"==typeof addEventListener&&"function"==typeof removeEventListener,ee=[];J&&addEventListener("offline",()=>{ee.forEach(e=>e())},!1);class et extends E{constructor(e,t){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&"object"==typeof e&&(t=e,e=null),e){let n=Q(e);t.hostname=n.host,t.secure="https"===n.protocol||"wss"===n.protocol,t.port=n.port,n.query&&(t.query=n.query)}else t.host&&(t.hostname=Q(t.host).host);O(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(e=>{let t=e.prototype.name;this.transports.push(t),this._transportsByName[t]=e}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},n=e.split("&");for(let e=0,r=n.length;e<r;e++){let r=n[e].split("=");t[decodeURIComponent(r[0])]=decodeURIComponent(r[1])}return t}(this.opts.query)),J&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},ee.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){let t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);let n=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](n)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);let e=this.opts.rememberUpgrade&&et.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";let t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",e=>this._onClose("transport close",e))}onOpen(){this.readyState="open",et.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":let t=Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);let e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){let e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){let n=this.writeBuffer[t].data;if(n&&(e+="string"==typeof n?function(e){let t=0,n=0;for(let r=0,i=e.length;r<i;r++)(t=e.charCodeAt(r))<128?n+=1:t<2048?n+=2:t<55296||t>=57344?n+=3:(r++,n+=4);return n}(n):Math.ceil(1.33*(n.byteLength||n.size))),t>0&&e>this._maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;let e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,A(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,n){return this._sendPacket("message",e,t,n),this}send(e,t,n){return this._sendPacket("message",e,t,n),this}_sendPacket(e,t,n,r){if("function"==typeof t&&(r=t,t=void 0),"function"==typeof n&&(r=n,n=null),"closing"===this.readyState||"closed"===this.readyState)return;(n=n||{}).compress=!1!==n.compress;let i={type:e,data:t,options:n};this.emitReserved("packetCreate",i),this.writeBuffer.push(i),r&&this.once("flush",r),this.flush()}close(){let e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},n=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return("opening"===this.readyState||"open"===this.readyState)&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?n():e()}):this.upgrading?n():e()),this}_onError(e){if(et.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),J&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){let e=ee.indexOf(this._offlineEventListener);-1!==e&&ee.splice(e,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}et.protocol=4;class en extends et{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),n=!1;et.priorWebsocketSuccess=!1;let r=()=>{n||(t.send([{type:"ping",data:"probe"}]),t.once("packet",e=>{if(!n)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;et.priorWebsocketSuccess="websocket"===t.name,this.transport.pause(()=>{n||"closed"!==this.readyState&&(u(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{let e=Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}}))};function i(){n||(n=!0,u(),t.close(),t=null)}let o=e=>{let n=Error("probe error: "+e);n.transport=t.name,i(),this.emitReserved("upgradeError",n)};function a(){o("transport closed")}function s(){o("socket closed")}function l(e){t&&e.name!==t.name&&i()}let u=()=>{t.removeListener("open",r),t.removeListener("error",o),t.removeListener("close",a),this.off("close",s),this.off("upgrading",l)};t.once("open",r),t.once("error",o),t.once("close",a),this.once("close",s),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn(()=>{n||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){let t=[];for(let n=0;n<e.length;n++)~this.transports.indexOf(e[n])&&t.push(e[n]);return t}}class er extends en{constructor(e,t={}){let n="object"==typeof e?e:t;(!n.transports||n.transports&&"string"==typeof n.transports[0])&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(e=>K[e]).filter(e=>!!e)),super(e,n)}}er.protocol;let ei="function"==typeof ArrayBuffer,eo=Object.prototype.toString,ea="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===eo.call(Blob),es="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===eo.call(File);function el(e){return ei&&(e instanceof ArrayBuffer||("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer))||ea&&e instanceof Blob||es&&e instanceof File}let eu=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],ec=5;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(o||(o={}));class eh{constructor(e){this.replacer=e}encode(e){return(e.type===o.EVENT||e.type===o.ACK)&&function e(t,n){if(!t||"object"!=typeof t)return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(e(t[n]))return!0;return!1}if(el(t))return!0;if(t.toJSON&&"function"==typeof t.toJSON&&1==arguments.length)return e(t.toJSON(),!0);for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return!0;return!1}(e)?this.encodeAsBinary({type:e.type===o.EVENT?o.BINARY_EVENT:o.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let t=""+e.type;return(e.type===o.BINARY_EVENT||e.type===o.BINARY_ACK)&&(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){let t=function(e){let t=[],n=e.data;return e.data=function e(t,n){if(!t)return t;if(el(t)){let e={_placeholder:!0,num:n.length};return n.push(t),e}if(Array.isArray(t)){let r=Array(t.length);for(let i=0;i<t.length;i++)r[i]=e(t[i],n);return r}if("object"==typeof t&&!(t instanceof Date)){let r={};for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=e(t[i],n));return r}return t}(n,t),e.attachments=t.length,{packet:e,buffers:t}}(e),n=this.encodeAsString(t.packet),r=t.buffers;return r.unshift(n),r}}class ef extends E{constructor(e){super(),this.reviver=e}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw Error("got plaintext data when reconstructing a packet");let n=(t=this.decodeString(e)).type===o.BINARY_EVENT;n||t.type===o.BINARY_ACK?(t.type=n?o.EVENT:o.ACK,this.reconstructor=new ed(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else if(el(e)||e.base64)if(this.reconstructor)(t=this.reconstructor.takeBinaryData(e))&&(this.reconstructor=null,super.emitReserved("decoded",t));else throw Error("got binary data when not reconstructing a packet");else throw Error("Unknown type: "+e)}decodeString(e){let t=0,n={type:Number(e.charAt(0))};if(void 0===o[n.type])throw Error("unknown packet type "+n.type);if(n.type===o.BINARY_EVENT||n.type===o.BINARY_ACK){let r=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);let i=e.substring(r,t);if(i!=Number(i)||"-"!==e.charAt(t))throw Error("Illegal attachments");n.attachments=Number(i)}if("/"===e.charAt(t+1)){let r=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);n.nsp=e.substring(r,t)}else n.nsp="/";let r=e.charAt(t+1);if(""!==r&&Number(r)==r){let r=t+1;for(;++t;){let n=e.charAt(t);if(null==n||Number(n)!=n){--t;break}if(t===e.length)break}n.id=Number(e.substring(r,t+1))}if(e.charAt(++t)){let r=this.tryParse(e.substr(t));if(ef.isPayloadValid(n.type,r))n.data=r;else throw Error("invalid payload")}return n}tryParse(e){try{return JSON.parse(e,this.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case o.CONNECT:return eg(t);case o.DISCONNECT:return void 0===t;case o.CONNECT_ERROR:return"string"==typeof t||eg(t);case o.EVENT:case o.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===eu.indexOf(t[0]));case o.ACK:case o.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class ed{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){var t,n;let e=(t=this.reconPack,n=this.buffers,t.data=function e(t,n){if(!t)return t;if(t&&!0===t._placeholder){if("number"==typeof t.num&&t.num>=0&&t.num<n.length)return n[t.num];throw Error("illegal attachments")}if(Array.isArray(t))for(let r=0;r<t.length;r++)t[r]=e(t[r],n);else if("object"==typeof t)for(let r in t)Object.prototype.hasOwnProperty.call(t,r)&&(t[r]=e(t[r],n));return t}(t.data,n),delete t.attachments,t);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}let ep=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function eg(e){return"[object Object]"===Object.prototype.toString.call(e)}function ey(e){var t;return"string"==typeof e.nsp&&(void 0===(t=e.id)||ep(t))&&function(e,t){switch(e){case o.CONNECT:return void 0===t||eg(t);case o.DISCONNECT:return void 0===t;case o.EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===eu.indexOf(t[0]));case o.ACK:return Array.isArray(t);case o.CONNECT_ERROR:return"string"==typeof t||eg(t);default:return!1}}(e.type,e.data)}function em(e,t,n){return e.on(t,n),function(){e.off(t,n)}}let ev=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class ex extends E{constructor(e,t,n){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,n&&n.auth&&(this.auth=n.auth),this._opts=Object.assign({},n),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;let e=this.io;this.subs=[em(e,"open",this.onopen.bind(this)),em(e,"packet",this.onpacket.bind(this)),em(e,"error",this.onerror.bind(this)),em(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var n,r,i;if(ev.hasOwnProperty(e))throw Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;let a={type:o.EVENT,data:t};if(a.options={},a.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){let e=this.ids++,n=t.pop();this._registerAckCallback(e,n),a.id=e}let s=null==(r=null==(n=this.io.engine)?void 0:n.transport)?void 0:r.writable,l=this.connected&&!(null==(i=this.io.engine)?void 0:i._hasPingExpired());return this.flags.volatile&&!s||(l?(this.notifyOutgoingListeners(a),this.packet(a)):this.sendBuffer.push(a)),this.flags={},this}_registerAckCallback(e,t){var n;let r=null!=(n=this.flags.timeout)?n:this._opts.ackTimeout;if(void 0===r){this.acks[e]=t;return}let i=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,Error("operation has timed out"))},r),o=(...e)=>{this.io.clearTimeoutFn(i),t.apply(this,e)};o.withError=!0,this.acks[e]=o}emitWithAck(e,...t){return new Promise((n,r)=>{let i=(e,t)=>e?r(e):n(t);i.withError=!0,t.push(i),this.emit(e,...t)})}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());let n={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((e,...r)=>(this._queue[0],null!==e?n.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...r)),n.pending=!1,this._drainQueue())),this._queue.push(n),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;let t=this._queue[0];(!t.pending||e)&&(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:o.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(t=>String(t.id)===e)){let t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case o.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case o.EVENT:case o.BINARY_EVENT:this.onevent(e);break;case o.ACK:case o.BINARY_ACK:this.onack(e);break;case o.DISCONNECT:this.ondisconnect();break;case o.CONNECT_ERROR:this.destroy();let t=Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){let t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length)for(let t of this._anyListeners.slice())t.apply(this,e);super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){let t=this,n=!1;return function(...r){n||(n=!0,t.packet({type:o.ACK,id:e,data:r}))}}onack(e){let t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:o.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){let t=this._anyListeners;for(let n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1);break}}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){let t=this._anyOutgoingListeners;for(let n=0;n<t.length;n++)if(e===t[n]){t.splice(n,1);break}}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length)for(let t of this._anyOutgoingListeners.slice())t.apply(this,e.data)}}function eb(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}eb.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),n=Math.floor(t*this.jitter*e);e=(1&Math.floor(10*t))==0?e-n:e+n}return 0|Math.min(e,this.max)},eb.prototype.reset=function(){this.attempts=0},eb.prototype.setMin=function(e){this.ms=e},eb.prototype.setMax=function(e){this.max=e},eb.prototype.setJitter=function(e){this.jitter=e};class ew extends E{constructor(e,t){var n;super(),this.nsps={},this.subs=[],e&&"object"==typeof e&&(t=e,e=void 0),(t=t||{}).path=t.path||"/socket.io",this.opts=t,O(this,t),this.reconnection(!1!==t.reconnection),this.reconnectionAttempts(t.reconnectionAttempts||1/0),this.reconnectionDelay(t.reconnectionDelay||1e3),this.reconnectionDelayMax(t.reconnectionDelayMax||5e3),this.randomizationFactor(null!=(n=t.randomizationFactor)?n:.5),this.backoff=new eb({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==t.timeout?2e4:t.timeout),this._readyState="closed",this.uri=e;let r=t.parser||a;this.encoder=new r.Encoder,this.decoder=new r.Decoder,this._autoConnect=!1!==t.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null==(t=this.backoff)||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null==(t=this.backoff)||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null==(t=this.backoff)||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new er(this.uri,this.opts);let t=this.engine,n=this;this._readyState="opening",this.skipReconnect=!1;let r=em(t,"open",function(){n.onopen(),e&&e()}),i=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},o=em(t,"error",i);if(!1!==this._timeout){let e=this._timeout,n=this.setTimeoutFn(()=>{r(),i(Error("timeout")),t.close()},e);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}return this.subs.push(r),this.subs.push(o),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");let e=this.engine;this.subs.push(em(e,"ping",this.onping.bind(this)),em(e,"data",this.ondata.bind(this)),em(e,"error",this.onerror.bind(this)),em(e,"close",this.onclose.bind(this)),em(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){A(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let n=this.nsps[e];return n?this._autoConnect&&!n.active&&n.connect():(n=new ex(this,e,t),this.nsps[e]=n),n}_destroy(e){for(let e of Object.keys(this.nsps))if(this.nsps[e].active)return;this._close()}_packet(e){let t=this.encoder.encode(e);for(let n=0;n<t.length;n++)this.engine.write(t[n],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var n;this.cleanup(),null==(n=this.engine)||n.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;let e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{let t=this.backoff.duration();this._reconnecting=!0;let n=this.setTimeoutFn(()=>{!e.skipReconnect&&(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()}))},t);this.opts.autoUnref&&n.unref(),this.subs.push(()=>{this.clearTimeoutFn(n)})}}onreconnect(){let e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}let ek={};function e_(e,t){let n;"object"==typeof e&&(t=e,e=void 0);let r=function(e,t="",n){let r=e;n=n||"undefined"!=typeof location&&location,null==e&&(e=n.protocol+"//"+n.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?n.protocol+e:n.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==n?n.protocol+"//"+e:"https://"+e),r=Q(e)),!r.port&&(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";let i=-1!==r.host.indexOf(":")?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+i+":"+r.port+t,r.href=r.protocol+"://"+i+(n&&n.port===r.port?"":":"+r.port),r}(e,(t=t||{}).path||"/socket.io"),i=r.source,o=r.id,a=r.path,s=ek[o]&&a in ek[o].nsps;return t.forceNew||t["force new connection"]||!1===t.multiplex||s?n=new ew(i,t):(ek[o]||(ek[o]=new ew(i,t)),n=ek[o]),r.query&&!t.query&&(t.query=r.queryKey),n.socket(r.path,t)}Object.assign(e_,{Manager:ew,Socket:ex,io:e_,connect:e_})},41440:(e,t,n)=>{var r=n(76911),i=n(28086),o=n(53393);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==r(e)}},41619:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Spline",[["circle",{cx:"19",cy:"5",r:"2",key:"mhkx31"}],["circle",{cx:"5",cy:"19",r:"2",key:"v8kfzx"}],["path",{d:"M5 17A12 12 0 0 1 17 5",key:"1okkup"}]])},41717:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]])},41791:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("WifiOff",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]])},41952:(e,t,n)=>{var r=n(57170),i=n(78926);e.exports=function(e,t,n){return i.transform(e.nodes(),function(i,o){i[o]=r(e,o,t,n)},{})}},42336:e=>{e.exports=function(){return!1}},43066:(e,t,n)=>{e.exports=n(20502).Symbol},43117:e=>{e.exports=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}},43123:(e,t,n)=>{var r=n(66566),i=n(32313),o=n(74902),a=n(12536),s=n(9546),l=n(46387),u=n(28086),c=n(66686),h=n(26691),f=n(62793),d=n(118),p=n(85996),g=n(74632),y=n(74749),m=n(84991);e.exports=function(e,t,n,v,x,b,w){var k=y(e,n),_=y(t,n),E=w.get(_);if(E)return void r(e,n,E);var A=b?b(k,_,n+"",e,t,w):void 0,S=void 0===A;if(S){var M=u(_),C=!M&&h(_),T=!M&&!C&&g(_);A=_,M||C||T?u(k)?A=k:c(k)?A=a(k):C?(S=!1,A=i(_,!0)):T?(S=!1,A=o(_,!0)):A=[]:p(_)||l(_)?(A=k,l(k)?A=m(k):(!d(k)||f(k))&&(A=s(_))):S=!1}S&&(w.set(_,A),x(A,_,v,b,w),w.delete(_)),r(e,n,A)}},43181:e=>{e.exports=function(e,t,n,r){var i=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++i]);++i<o;)n=t(n,e[i],i,e);return n}},43503:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]])},43925:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});let r=function(e){return e.scrollAreaThumbHeight="--scroll-area-thumb-height",e.scrollAreaThumbWidth="--scroll-area-thumb-width",e}({})},43995:(e,t,n)=>{"use strict";var r=n(61008);function i(e){r.forEach(e.nodes(),function(t){o(e.node(t))}),r.forEach(e.edges(),function(t){o(e.edge(t))})}function o(e){var t=e.width;e.width=e.height,e.height=t}function a(e){e.y=-e.y}function s(e){var t=e.x;e.x=e.y,e.y=t}e.exports={adjust:function(e){var t=e.graph().rankdir.toLowerCase();("lr"===t||"rl"===t)&&i(e)},undo:function(e){var t,n,o=e.graph().rankdir.toLowerCase();("bt"===o||"rl"===o)&&(t=e,r.forEach(t.nodes(),function(e){a(t.node(e))}),r.forEach(t.edges(),function(e){var n=t.edge(e);r.forEach(n.points,a),r.has(n,"y")&&a(n)})),("lr"===o||"rl"===o)&&(n=e,r.forEach(n.nodes(),function(e){s(n.node(e))}),r.forEach(n.edges(),function(e){var t=n.edge(e);r.forEach(t.points,s),r.has(t,"x")&&s(t)}),i(e))}}},44382:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},44601:(e,t,n)=>{var r=n(76911),i=n(53393);e.exports=function(e){return"symbol"==typeof e||i(e)&&"[object Symbol]"==r(e)}},44942:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Braces",[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]])},45338:(e,t,n)=>{"use strict";var r=n(84669),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=r.useState,a=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!i(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=o({inst:{value:n,getSnapshot:t}}),i=r[0].inst,c=r[1];return s(function(){i.value=n,i.getSnapshot=t,u(i)&&c({inst:i})},[e,n,t]),a(function(){return u(i)&&c({inst:i}),e(function(){u(i)&&c({inst:i})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},45966:(e,t,n)=>{var r=n(50127),i=n(46129),o=n(2610),a=n(35622),s=n(79230);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},46129:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t}},46387:(e,t,n)=>{var r=n(52157),i=n(53393),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable;e.exports=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")}},46549:(e,t,n)=>{var r=n(61008);e.exports=function(e,t){return r.map(t,function(t){var n=e.inEdges(t);if(!n.length)return{v:t};var i=r.reduce(n,function(t,n){var r=e.edge(n),i=e.node(n.v);return{sum:t.sum+r.weight*i.order,weight:t.weight+r.weight}},{sum:0,weight:0});return{v:t,barycenter:i.sum/i.weight,weight:i.weight}})}},46691:(e,t,n)=>{var r=n(81413);e.exports=function(e,t,n){var i=null==e?void 0:r(e,t);return void 0===i?n:i}},46832:(e,t,n)=>{"use strict";n.d(t,{I:()=>i});let r=function(e){return e.complete="data-complete",e.indeterminate="data-indeterminate",e.progressing="data-progressing",e}({}),i={status:e=>"progressing"===e?{[r.progressing]:""}:"complete"===e?{[r.complete]:""}:"indeterminate"===e?{[r.indeterminate]:""}:null}},48466:(e,t,n)=>{var r=n(64753);e.exports=function(e,t){return function(n,i){if(null==n)return n;if(!r(n))return e(n,i);for(var o=n.length,a=t?o:-1,s=Object(n);(t?a--:++a<o)&&!1!==i(s[a],a,s););return n}}},48885:(e,t,n)=>{var r=n(17619),i=n(118),o=n(44601),a=0/0,s=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(o(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=l.test(e);return n||u.test(e)?c(e.slice(2),n?2:8):s.test(e)?a:+e}},48912:(e,t,n)=>{var r=n(56435),i=n(62853),o=n(68518),a=n(66686);e.exports=i(function(e){return o(r(e,1,a,!0))})},49397:(e,t,n)=>{"use strict";var r=n(78926);function i(e){this._isDirected=!r.has(e,"directed")||e.directed,this._isMultigraph=!!r.has(e,"multigraph")&&e.multigraph,this._isCompound=!!r.has(e,"compound")&&e.compound,this._label=void 0,this._defaultNodeLabelFn=r.constant(void 0),this._defaultEdgeLabelFn=r.constant(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}function o(e,t){e[t]?e[t]++:e[t]=1}function a(e,t){--e[t]||delete e[t]}function s(e,t,n,i){var o=""+t,a=""+n;if(!e&&o>a){var s=o;o=a,a=s}return o+"\x01"+a+"\x01"+(r.isUndefined(i)?"\0":i)}function l(e,t){return s(e,t.v,t.w,t.name)}e.exports=i,i.prototype._nodeCount=0,i.prototype._edgeCount=0,i.prototype.isDirected=function(){return this._isDirected},i.prototype.isMultigraph=function(){return this._isMultigraph},i.prototype.isCompound=function(){return this._isCompound},i.prototype.setGraph=function(e){return this._label=e,this},i.prototype.graph=function(){return this._label},i.prototype.setDefaultNodeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultNodeLabelFn=e,this},i.prototype.nodeCount=function(){return this._nodeCount},i.prototype.nodes=function(){return r.keys(this._nodes)},i.prototype.sources=function(){var e=this;return r.filter(this.nodes(),function(t){return r.isEmpty(e._in[t])})},i.prototype.sinks=function(){var e=this;return r.filter(this.nodes(),function(t){return r.isEmpty(e._out[t])})},i.prototype.setNodes=function(e,t){var n=arguments,i=this;return r.each(e,function(e){n.length>1?i.setNode(e,t):i.setNode(e)}),this},i.prototype.setNode=function(e,t){return r.has(this._nodes,e)?arguments.length>1&&(this._nodes[e]=t):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]="\0",this._children[e]={},this._children["\0"][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount),this},i.prototype.node=function(e){return this._nodes[e]},i.prototype.hasNode=function(e){return r.has(this._nodes,e)},i.prototype.removeNode=function(e){var t=this;if(r.has(this._nodes,e)){var n=function(e){t.removeEdge(t._edgeObjs[e])};delete this._nodes[e],this._isCompound&&(this._removeFromParentsChildList(e),delete this._parent[e],r.each(this.children(e),function(e){t.setParent(e)}),delete this._children[e]),r.each(r.keys(this._in[e]),n),delete this._in[e],delete this._preds[e],r.each(r.keys(this._out[e]),n),delete this._out[e],delete this._sucs[e],--this._nodeCount}return this},i.prototype.setParent=function(e,t){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(r.isUndefined(t))t="\0";else{t+="";for(var n=t;!r.isUndefined(n);n=this.parent(n))if(n===e)throw Error("Setting "+t+" as parent of "+e+" would create a cycle");this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this},i.prototype._removeFromParentsChildList=function(e){delete this._children[this._parent[e]][e]},i.prototype.parent=function(e){if(this._isCompound){var t=this._parent[e];if("\0"!==t)return t}},i.prototype.children=function(e){if(r.isUndefined(e)&&(e="\0"),this._isCompound){var t=this._children[e];if(t)return r.keys(t)}else if("\0"===e)return this.nodes();else if(this.hasNode(e))return[]},i.prototype.predecessors=function(e){var t=this._preds[e];if(t)return r.keys(t)},i.prototype.successors=function(e){var t=this._sucs[e];if(t)return r.keys(t)},i.prototype.neighbors=function(e){var t=this.predecessors(e);if(t)return r.union(t,this.successors(e))},i.prototype.isLeaf=function(e){return 0===(this.isDirected()?this.successors(e):this.neighbors(e)).length},i.prototype.filterNodes=function(e){var t=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});t.setGraph(this.graph());var n=this;r.each(this._nodes,function(n,r){e(r)&&t.setNode(r,n)}),r.each(this._edgeObjs,function(e){t.hasNode(e.v)&&t.hasNode(e.w)&&t.setEdge(e,n.edge(e))});var i={};return this._isCompound&&r.each(t.nodes(),function(e){t.setParent(e,function e(r){var o=n.parent(r);return void 0===o||t.hasNode(o)?(i[r]=o,o):o in i?i[o]:e(o)}(e))}),t},i.prototype.setDefaultEdgeLabel=function(e){return r.isFunction(e)||(e=r.constant(e)),this._defaultEdgeLabelFn=e,this},i.prototype.edgeCount=function(){return this._edgeCount},i.prototype.edges=function(){return r.values(this._edgeObjs)},i.prototype.setPath=function(e,t){var n=this,i=arguments;return r.reduce(e,function(e,r){return i.length>1?n.setEdge(e,r,t):n.setEdge(e,r),r}),this},i.prototype.setEdge=function(){var e,t,n,i,a=!1,l=arguments[0];"object"==typeof l&&null!==l&&"v"in l?(e=l.v,t=l.w,n=l.name,2==arguments.length&&(i=arguments[1],a=!0)):(e=l,t=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],a=!0)),e=""+e,t=""+t,r.isUndefined(n)||(n=""+n);var u=s(this._isDirected,e,t,n);if(r.has(this._edgeLabels,u))return a&&(this._edgeLabels[u]=i),this;if(!r.isUndefined(n)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(e),this.setNode(t),this._edgeLabels[u]=a?i:this._defaultEdgeLabelFn(e,t,n);var c=function(e,t,n,r){var i=""+t,o=""+n;if(!e&&i>o){var a=i;i=o,o=a}var s={v:i,w:o};return r&&(s.name=r),s}(this._isDirected,e,t,n);return e=c.v,t=c.w,Object.freeze(c),this._edgeObjs[u]=c,o(this._preds[t],e),o(this._sucs[e],t),this._in[t][u]=c,this._out[e][u]=c,this._edgeCount++,this},i.prototype.edge=function(e,t,n){var r=1==arguments.length?l(this._isDirected,arguments[0]):s(this._isDirected,e,t,n);return this._edgeLabels[r]},i.prototype.hasEdge=function(e,t,n){var i=1==arguments.length?l(this._isDirected,arguments[0]):s(this._isDirected,e,t,n);return r.has(this._edgeLabels,i)},i.prototype.removeEdge=function(e,t,n){var r=1==arguments.length?l(this._isDirected,arguments[0]):s(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],a(this._preds[t],e),a(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this},i.prototype.inEdges=function(e,t){var n=this._in[e];if(n){var i=r.values(n);return t?r.filter(i,function(e){return e.v===t}):i}},i.prototype.outEdges=function(e,t){var n=this._out[e];if(n){var i=r.values(n);return t?r.filter(i,function(e){return e.w===t}):i}},i.prototype.nodeEdges=function(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}},49535:e=>{e.exports=function(e,t){return e<t}},50127:(e,t,n)=>{var r=n(95441);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},50165:(e,t,n)=>{"use strict";var r=n(61008),i=n(93968),o=n(88456).slack,a=n(88456).longestPath,s=n(72350).alg.preorder,l=n(72350).alg.postorder,u=n(25805).simplify;function c(e){a(e=u(e));var t,n,r=i(e);for(d(r),h(r,e);t=p(r);)n=g(r,e,t),y(r,e,t,n)}function h(e,t){var n=l(e,e.nodes());n=n.slice(0,n.length-1),r.forEach(n,function(n){var r,i,o,a;r=e,i=t,o=n,a=r.node(o).parent,r.edge(o,a).cutvalue=f(r,i,o)})}function f(e,t,n){var i=e.node(n).parent,o=!0,a=t.edge(n,i),s=0;return a||(o=!1,a=t.edge(i,n)),s=a.weight,r.forEach(t.nodeEdges(n),function(r){var a=r.v===n,l=a?r.w:r.v;if(l!==i){var u,c,h,f=a===o,d=t.edge(r).weight;if(s+=f?d:-d,u=e,c=n,h=l,u.hasEdge(c,h)){var p=e.edge(n,l).cutvalue;s+=f?-p:p}}}),s}function d(e,t){arguments.length<2&&(t=e.nodes()[0]),function e(t,n,i,o,a){var s=i,l=t.node(o);return n[o]=!0,r.forEach(t.neighbors(o),function(a){r.has(n,a)||(i=e(t,n,i,a,o))}),l.low=s,l.lim=i++,a?l.parent=a:delete l.parent,i}(e,{},1,t)}function p(e){return r.find(e.edges(),function(t){return e.edge(t).cutvalue<0})}function g(e,t,n){var i=n.v,a=n.w;t.hasEdge(i,a)||(i=n.w,a=n.v);var s=e.node(i),l=e.node(a),u=s,c=!1;s.lim>l.lim&&(u=l,c=!0);var h=r.filter(t.edges(),function(t){return c===m(e,e.node(t.v),u)&&c!==m(e,e.node(t.w),u)});return r.minBy(h,function(e){return o(t,e)})}function y(e,t,n,i){var o,a,l,u,c=n.v,f=n.w;e.removeEdge(c,f),e.setEdge(i.v,i.w,{}),d(e),h(e,t),o=e,a=t,l=r.find(o.nodes(),function(e){return!a.node(e).parent}),u=(u=s(o,l)).slice(1),r.forEach(u,function(e){var t=o.node(e).parent,n=a.edge(e,t),r=!1;n||(n=a.edge(t,e),r=!0),a.node(e).rank=a.node(t).rank+(r?n.minlen:-n.minlen)})}function m(e,t,n){return n.low<=t.lim&&t.lim<=n.lim}e.exports=c,c.initLowLimValues=d,c.initCutValues=h,c.calcCutValue=f,c.leaveEdge=p,c.enterEdge=g,c.exchangeEdges=y},50372:(e,t,n)=>{var r=n(50804);e.exports=function(e){return r(e,5)}},50804:(e,t,n)=>{var r=n(76342),i=n(79918),o=n(73432),a=n(19602),s=n(937),l=n(32313),u=n(12536),c=n(64872),h=n(3739),f=n(20069),d=n(25762),p=n(26458),g=n(8682),y=n(62428),m=n(9546),v=n(28086),x=n(26691),b=n(20601),w=n(118),k=n(11211),_=n(37885),E=n(88282),A="[object Arguments]",S="[object Function]",M="[object Object]",C={};C[A]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[M]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[S]=C["[object WeakMap]"]=!1,e.exports=function e(t,n,T,O,P,j){var N,L=1&n,z=2&n,I=4&n;if(T&&(N=P?T(t,O,P,j):T(t)),void 0!==N)return N;if(!w(t))return t;var R=v(t);if(R){if(N=g(t),!L)return u(t,N)}else{var D=p(t),B=D==S||"[object GeneratorFunction]"==D;if(x(t))return l(t,L);if(D==M||D==A||B&&!P){if(N=z||B?{}:m(t),!L)return z?h(t,s(N,t)):c(t,a(N,t))}else{if(!C[D])return P?t:{};N=y(t,D,L)}}j||(j=new r);var F=j.get(t);if(F)return F;j.set(t,N),k(t)?t.forEach(function(r){N.add(e(r,n,T,r,t,j))}):b(t)&&t.forEach(function(r,i){N.set(i,e(r,n,T,i,t,j))});var q=I?z?d:f:z?E:_,H=R?void 0:q(t);return i(H||t,function(r,i){H&&(r=t[i=r]),o(N,i,e(r,n,T,i,t,j))}),N}},51332:(e,t,n)=>{var r=n(74967),i=n(17604),o=n(8123),a=n(14346);e.exports=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a},52157:(e,t,n)=>{var r=n(76911),i=n(53393);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},53027:(e,t,n)=>{e.exports="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g},53101:(e,t,n)=>{var r=n(94123),i=n(53393);e.exports=function e(t,n,o,a,s){return t===n||(null!=t&&null!=n&&(i(t)||i(n))?r(t,n,o,a,e,s):t!=t&&n!=n)}},53215:(e,t,n)=>{"use strict";e.exports=n(45338)},53393:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},53476:e=>{e.exports=function(e,t){return e.has(t)}},53936:(e,t,n)=>{var r=n(65806),i=n(38621);e.exports=function(e,t){return null!=e&&i(e,t,r)}},54050:(e,t,n)=>{var r=n(50804);e.exports=function(e){return r(e,4)}},54800:(e,t,n)=>{e.exports=n(92069)(n(20502),"Map")},54938:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},55608:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("ZoomOut",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]])},55816:e=>{e.exports=function(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return -1}},55929:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Server",[["rect",{width:"20",height:"8",x:"2",y:"2",rx:"2",ry:"2",key:"ngkwjq"}],["rect",{width:"20",height:"8",x:"2",y:"14",rx:"2",ry:"2",key:"iecqi9"}],["line",{x1:"6",x2:"6.01",y1:"6",y2:"6",key:"16zg32"}],["line",{x1:"6",x2:"6.01",y1:"18",y2:"18",key:"nzw8ys"}]])},56435:(e,t,n)=>{var r=n(74967),i=n(34948);e.exports=function e(t,n,o,a,s){var l=-1,u=t.length;for(o||(o=i),s||(s=[]);++l<u;){var c=t[l];n>0&&o(c)?n>1?e(c,n-1,o,a,s):r(s,c):a||(s[s.length]=c)}return s}},56913:e=>{e.exports=function(){this.__data__=[],this.size=0}},57170:(e,t,n)=>{var r=n(78926),i=n(32446);e.exports=function(e,t,n,r){return function(e,t,n,r){var o,a,s={},l=new i,u=function(e){var t=e.v!==o?e.v:e.w,r=s[t],i=n(e),u=a.distance+i;if(i<0)throw Error("dijkstra does not allow negative edge weights. Bad edge: "+e+" Weight: "+i);u<r.distance&&(r.distance=u,r.predecessor=o,l.decrease(t,u))};for(e.nodes().forEach(function(e){var n=e===t?0:1/0;s[e]={distance:n},l.add(e,n)});l.size()>0&&(a=s[o=l.removeMin()]).distance!==1/0;)r(o).forEach(u);return s}(e,String(t),n||o,r||function(t){return e.outEdges(t)})};var o=r.constant(1)},57648:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var u;return(void 0===t&&(t={}),!(u=e)||i.test(u)||n.test(u))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(o,l)).replace(r,s))}},57694:(e,t,n)=>{var r=n(5190);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},58002:(e,t,n)=>{var r=n(2446),i=n(7609),o=n(77908);e.exports=r&&1/o(new r([,-0]))[1]==1/0?function(e){return new r(e)}:i},58543:(e,t,n)=>{var r=n(15273),i=n(38621);e.exports=function(e,t){return null!=e&&i(e,t,r)}},59437:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]])},59603:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}},59699:(e,t,n)=>{e.exports=n(92069)(n(20502),"DataView")},61008:(e,t,n)=>{var r;try{r={cloneDeep:n(50372),constant:n(84337),defaults:n(89067),each:n(65840),filter:n(4899),find:n(79914),flatten:n(9781),forEach:n(67285),forIn:n(29383),has:n(58543),isUndefined:n(27443),last:n(43117),map:n(21901),mapValues:n(2935),max:n(32229),merge:n(94759),min:n(28867),minBy:n(16710),now:n(94835),pick:n(16676),range:n(762),reduce:n(77947),sortBy:n(85844),uniqueId:n(77691),values:n(21239),zipObject:n(22567)}}catch(e){}r||(r=window._),e.exports=r},62199:(e,t,n)=>{var r=n(43066),i=n(59603),o=n(28086),a=n(44601),s=1/0,l=r?r.prototype:void 0,u=l?l.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(o(t))return i(t,e)+"";if(a(t))return u?u.call(t):"";var n=t+"";return"0"==n&&1/t==-s?"-0":n}},62222:(e,t,n)=>{var r=n(85060);e.exports=function(e){return r(this,e).get(e)}},62428:(e,t,n)=>{var r=n(5190),i=n(57694),o=n(11230),a=n(69587),s=n(74902);e.exports=function(e,t,n){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},62793:(e,t,n)=>{var r=n(76911),i=n(118);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},62853:(e,t,n)=>{var r=n(38875),i=n(27398),o=n(93114);e.exports=function(e,t){return o(i(e,t,r),e+"")}},63014:(e,t,n)=>{var r=n(6235);e.exports=function(e,t){return r(e,t,"post")}},63194:(e,t,n)=>{var r=n(83955),i=n(33773),o=n(62222),a=n(69690),s=n(14306);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}l.prototype.clear=r,l.prototype.delete=i,l.prototype.get=o,l.prototype.has=a,l.prototype.set=s,e.exports=l},63317:e=>{e.exports=function(e,t,n,r,i){return i(e,function(e,i,o){n=r?(r=!1,e):t(n,e,i,o)}),n}},63318:(e,t,n)=>{var r=n(30855),i=n(53936);e.exports=function(e,t){return r(e,t,function(t,n){return i(e,n)})}},64294:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},64332:(e,t,n)=>{var r=n(78926),i=n(49397),o=n(32446);e.exports=function(e,t){var n,a=new i,s={},l=new o;function u(e){var r=e.v===n?e.w:e.v,i=l.priority(r);if(void 0!==i){var o=t(e);o<i&&(s[r]=n,l.decrease(r,o))}}if(0===e.nodeCount())return a;r.each(e.nodes(),function(e){l.add(e,1/0),a.setNode(e)}),l.decrease(e.nodes()[0],0);for(var c=!1;l.size()>0;){if(n=l.removeMin(),r.has(s,n))a.setEdge(n,s[n]);else if(c)throw Error("Input graph is not connected: "+e);else c=!0;e.nodeEdges(n).forEach(u)}return a}},64394:e=>{e.exports=function(e){return this.__data__.get(e)}},64522:e=>{e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},64753:(e,t,n)=>{var r=n(62793),i=n(70993);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},64872:(e,t,n)=>{var r=n(2628),i=n(8123);e.exports=function(e,t){return r(e,i(e),t)}},65296:(e,t,n)=>{"use strict";var r=n(61008),i=n(25805);e.exports={run:function(e){e.graph().dummyChains=[],r.forEach(e.edges(),function(t){!function(e,t){var n,r,o,a=t.v,s=e.node(a).rank,l=t.w,u=e.node(l).rank,c=t.name,h=e.edge(t),f=h.labelRank;if(u!==s+1){for(e.removeEdge(t),o=0,++s;s<u;++o,++s)h.points=[],r={width:0,height:0,edgeLabel:h,edgeObj:t,rank:s},n=i.addDummyNode(e,"edge",r,"_d"),s===f&&(r.width=h.width,r.height=h.height,r.dummy="edge-label",r.labelpos=h.labelpos),e.setEdge(a,n,{weight:h.weight},c),0===o&&e.graph().dummyChains.push(n),a=n;e.setEdge(a,l,{weight:h.weight},c)}}(e,t)})},undo:function(e){r.forEach(e.graph().dummyChains,function(t){var n,r=e.node(t),i=r.edgeLabel;for(e.setEdge(r.edgeObj,i);r.dummy;)n=e.successors(t)[0],e.removeNode(t),i.points.push({x:r.x,y:r.y}),"edge-label"===r.dummy&&(i.x=r.x,i.y=r.y,i.width=r.width,i.height=r.height),t=n,r=e.node(t)})}}},65387:(e,t,n)=>{var r=n(63194);function i(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var a=e.apply(this,r);return n.cache=o.set(i,a)||o,a};return n.cache=new(i.Cache||r),n}i.Cache=r,e.exports=i},65459:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}},65595:(e,t,n)=>{"use strict";n.d(t,{G:()=>o,r:()=>a});var r=n(71851),i=n(84669);let o=i.createContext(void 0);function a(){let e=i.useContext(o);if(void 0===e)throw Error((0,r.A)(54));return e}},65806:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},65840:(e,t,n)=>{e.exports=n(67285)},65873:e=>{var t=RegExp("[\\u200d\ud800-\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");e.exports=function(e){return t.test(e)}},66566:(e,t,n)=>{var r=n(97463),i=n(94271);e.exports=function(e,t,n){(void 0===n||i(e[t],n))&&(void 0!==n||t in e)||r(e,t,n)}},66593:(e,t,n)=>{var r=n(53101),i=n(46691),o=n(53936),a=n(13317),s=n(27659),l=n(64522),u=n(75038);e.exports=function(e,t){return a(e)&&s(t)?l(u(e),t):function(n){var a=i(n,e);return void 0===a&&a===t?o(n,e):r(t,a,3)}}},66686:(e,t,n)=>{var r=n(64753),i=n(53393);e.exports=function(e){return i(e)&&r(e)}},67285:(e,t,n)=>{var r=n(79918),i=n(6278),o=n(26429),a=n(28086);e.exports=function(e,t){return(a(e)?r:i)(e,o(t))}},67350:(e,t,n)=>{var r=n(39372),i=n(65873),o=n(33892);e.exports=function(e){return i(e)?o(e):r(e)}},67545:(e,t,n)=>{var r=n(62199);e.exports=function(e){return null==e?"":r(e)}},67832:(e,t,n)=>{"use strict";n.d(t,{B:()=>S});var r=n(84669),i=n(66992),o=n(13382);let a="undefined"!=typeof navigator,s=function(){if(!a)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}(),l=function(){if(!a)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}(),u=function(){if(!a)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}(),c="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none");"MacIntel"===s.platform&&s.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(s.platform),a&&/firefox/i.test(u),a&&/apple/i.test(navigator.vendor),a&&/Edg/i.test(u),a&&/android/i.test(l)||/android/i.test(u),a&&l.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints,u.includes("jsdom/");var h=n(15456),f=n(73605);let d=r.createContext(void 0);var p=n(83668),g=n(67951),y=n(77946),m=n(75278);function v(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}var x=n(72331),b=n(84661);let w=function(e){return e.scrollAreaOverflowXStart="--scroll-area-overflow-x-start",e.scrollAreaOverflowXEnd="--scroll-area-overflow-x-end",e.scrollAreaOverflowYStart="--scroll-area-overflow-y-start",e.scrollAreaOverflowYEnd="--scroll-area-overflow-y-end",e}({});function k(e,t){if(t<=0)return 0;let n=v(e,0,t),r=t-n,i=n<=1,o=r<=1;return i&&o?n<=r?0:t:i?0:o?t:n}var _=n(6409);let E=!1,A="undefined"!=typeof ResizeObserver,S=r.forwardRef(function(e,t){let{render:n,className:a,...s}=e,{viewportRef:l,scrollbarYRef:u,scrollbarXRef:S,thumbYRef:M,thumbXRef:C,cornerRef:T,cornerSize:O,setCornerSize:P,setThumbSize:j,rootId:N,setHiddenState:L,hiddenState:z,setHasMeasuredScrollbar:I,handleScroll:R,setHovering:D,setOverflowEdges:B,overflowEdges:F,overflowEdgeThreshold:q,scrollingX:H,scrollingY:$}=(0,f.p)(),U=(0,g.j)(),V=r.useRef(!0),X=r.useRef([NaN,NaN,NaN,NaN]),Y=(0,h.Z)(),W=(0,h.Z)(),K=(0,i.K)(()=>{let e=l.current,t=u.current,n=S.current,r=M.current,i=C.current,o=T.current;if(!e)return;let a=e.scrollHeight,s=e.scrollWidth,c=e.clientHeight,h=e.clientWidth,f=e.scrollTop,d=e.scrollLeft,p=X.current,g=Number.isNaN(p[0]);if(p[0]=c,p[1]=a,p[2]=h,p[3]=s,g&&I(!0),0===a||0===s)return;let x=function(e){let t=e.clientHeight>=e.scrollHeight,n=e.clientWidth>=e.scrollWidth;return{y:t,x:n,corner:t||n}}(e),b=x.y,_=x.x,E=h/s,A=c/a,N=Math.max(0,s-h),z=Math.max(0,a-c),R=0,D=0;!_&&(R=k("rtl"===U?v(-d,0,N):v(d,0,N),N),D=N-R);let F=b?0:v(f,0,z),H=b?0:k(F,z),$=b?0:z-H,V=_?0:h,Y=b?0:c,W=0,K=0;_||b||(W=(null==t?void 0:t.offsetWidth)||0,K=(null==n?void 0:n.offsetHeight)||0);let G=0===O.width&&0===O.height,Z=G?W:0,Q=G?K:0,J=(0,y.A)(n,"padding","x"),ee=(0,y.A)(t,"padding","y"),et=(0,y.A)(i,"margin","x"),en=(0,y.A)(r,"margin","y"),er=V-J-et,ei=Y-ee-en,eo=n?Math.min(n.offsetWidth-Z,er):er,ea=t?Math.min(t.offsetHeight-Q,ei):ei,es=Math.max(m.i,eo*E),el=Math.max(m.i,ea*A);if(j(e=>e.height===el&&e.width===es?e:{width:es,height:el}),t&&r){let e=t.offsetHeight-el-ee-en,n=a-c,i=Math.min(e,Math.max(0,(0===n?0:f/n)*e));r.style.transform="translate3d(0,".concat(i,"px,0)")}if(n&&i){let e=n.offsetWidth-es-J-et,t=s-h,r=0===t?0:d/t,o="rtl"===U?v(r*e,-e,0):v(r*e,0,e);i.style.transform="translate3d(".concat(o,"px,0,0)")}for(let[t,n]of[[w.scrollAreaOverflowXStart,R],[w.scrollAreaOverflowXEnd,D],[w.scrollAreaOverflowYStart,H],[w.scrollAreaOverflowYEnd,$]])e.style.setProperty(t,"".concat(n,"px"));o&&(_||b?P({width:0,height:0}):_||b||P({width:W,height:K})),L(e=>{var t,n;return t=e,n=x,t.y===n.y&&t.x===n.x&&t.corner===n.corner?t:n});let eu={xStart:!_&&R>q.xStart,xEnd:!_&&D>q.xEnd,yStart:!b&&H>q.yStart,yEnd:!b&&$>q.yEnd};B(e=>e.xStart===eu.xStart&&e.xEnd===eu.xEnd&&e.yStart===eu.yStart&&e.yEnd===eu.yEnd?e:eu)});function G(){V.current=!1}(0,o.g)(()=>{if(l.current&&(E||c||("undefined"!=typeof CSS&&"registerProperty"in CSS&&[w.scrollAreaOverflowXStart,w.scrollAreaOverflowXEnd,w.scrollAreaOverflowYStart,w.scrollAreaOverflowYEnd].forEach(e=>{try{CSS.registerProperty({name:e,syntax:"<length>",inherits:!1,initialValue:"0px"})}catch(e){}}),E=!0),!A))return function(e,t){if("undefined"==typeof IntersectionObserver)return()=>{};let n=new IntersectionObserver(e=>{e.forEach(e=>{e.intersectionRatio>0&&(t(),n.disconnect())})});return n.observe(e),()=>{n.disconnect()}}(l.current,()=>{K()})},[K,l]),(0,o.g)(()=>{queueMicrotask(K)},[K,z,U]),(0,o.g)(()=>{var e;(null==(e=l.current)?void 0:e.matches(":hover"))&&D(!0)},[l,D]),r.useEffect(()=>{let e=l.current;if(!A||!e)return;let t=!1,n=new ResizeObserver(()=>{if(!t){t=!0;let n=X.current;if(n[0]===e.clientHeight&&n[1]===e.scrollHeight&&n[2]===e.clientWidth&&n[3]===e.scrollWidth)return}K()});return n.observe(e),W.start(0,()=>{let t=e.getAnimations({subtree:!0});0!==t.length&&Promise.allSettled(t.map(e=>e.finished)).then(K).catch(()=>{})}),()=>{n.disconnect(),W.clear()}},[K,l,W]);let Z={role:"presentation",...N&&{"data-id":"".concat(N,"-viewport")},tabIndex:z.x&&z.y?-1:0,className:x.E.className,style:{overflow:"scroll"},onScroll(){l.current&&(K(),V.current||R({x:l.current.scrollLeft,y:l.current.scrollTop}),Y.start(100,()=>{V.current=!0}))},onWheel:G,onTouchMove:G,onPointerMove:G,onPointerEnter:G,onKeyDown:G},Q=r.useMemo(()=>({scrolling:H||$,hasOverflowX:!z.x,hasOverflowY:!z.y,overflowXStart:F.xStart,overflowXEnd:F.xEnd,overflowYStart:F.yStart,overflowYEnd:F.yEnd,cornerHidden:z.corner}),[H,$,z.x,z.y,z.corner,F]),J=(0,p.o)("div",e,{ref:[t,l],state:Q,props:[Z,s],stateAttributesMapping:b.r}),ee=r.useMemo(()=>({computeThumbPosition:K}),[K]);return(0,_.jsx)(d.Provider,{value:ee,children:J})})},67951:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(84669);let i=r.createContext(void 0);function o(){var e;let t=r.useContext(i);return null!=(e=null==t?void 0:t.direction)?e:"ltr"}},68518:(e,t,n)=>{var r=n(20092),i=n(11882),o=n(70146),a=n(53476),s=n(58002),l=n(77908);e.exports=function(e,t,n){var u=-1,c=i,h=e.length,f=!0,d=[],p=d;if(n)f=!1,c=o;else if(h>=200){var g=t?null:s(e);if(g)return l(g);f=!1,c=a,p=new r}else p=t?[]:d;e:for(;++u<h;){var y=e[u],m=t?t(y):y;if(y=n||0!==y?y:0,f&&m==m){for(var v=p.length;v--;)if(p[v]===m)continue e;t&&p.push(m),d.push(y)}else c(p,m,n)||(p!==d&&p.push(m),d.push(y))}return d}},68574:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("FileCode",[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]])},69356:(e,t,n)=>{var r=n(62793),i=n(22059),o=n(118),a=n(54938),s=/^\[object .+?Constructor\]$/,l=Object.prototype,u=Function.prototype.toString,c=l.hasOwnProperty,h=RegExp("^"+u.call(c).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?h:s).test(a(e))}},69587:(e,t,n)=>{var r=n(43066),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},69690:(e,t,n)=>{var r=n(85060);e.exports=function(e){return r(this,e).has(e)}},69851:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},70113:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});var r=n(83668);function i(e){return(0,r.o)(e.defaultTagName??"div",e,e)}},70146:e=>{e.exports=function(e,t,n){for(var r=-1,i=null==e?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}},70461:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("FolderTree",[["path",{d:"M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"hod4my"}],["path",{d:"M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z",key:"w4yl2u"}],["path",{d:"M3 5a2 2 0 0 0 2 2h3",key:"f2jnh7"}],["path",{d:"M3 3v13a2 2 0 0 0 2 2h3",key:"k8epm1"}]])},70893:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},70993:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=0x1fffffffffffff}},72331:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var r=n(6409);let i="base-ui-disable-scrollbar",o={className:i,getElement:e=>(0,r.jsx)("style",{nonce:e,href:i,precedence:"base-ui:low",children:`.${i}{scrollbar-width:none}.${i}::-webkit-scrollbar{display:none}`})}},72350:(e,t,n)=>{var r;try{r=n(12229)}catch(e){}r||(r=window.graphlib),e.exports=r},73136:(e,t,n)=>{var r=n(62853),i=n(36915);e.exports=function(e){return r(function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var l=n[r];l&&e(t,l,r,a)}return t})}},73432:(e,t,n)=>{var r=n(97463),i=n(94271),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},73605:(e,t,n)=>{"use strict";n.d(t,{a:()=>o,p:()=>a});var r=n(71851),i=n(84669);let o=i.createContext(void 0);function a(){let e=i.useContext(o);if(void 0===e)throw Error((0,r.A)(53));return e}},74437:e=>{e.exports="2.1.8"},74611:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]])},74632:(e,t,n)=>{var r=n(77166),i=n(79502),o=n(23662),a=o&&o.isTypedArray;e.exports=a?i(a):r},74749:e=>{e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},74816:(e,t,n)=>{var r=n(118),i=n(12600),o=n(16238),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)"constructor"==s&&(t||!a.call(e,s))||n.push(s);return n}},74819:(e,t,n)=>{"use strict";n.d(t,{Do:()=>s,WZ:()=>i,TG:()=>l,ny:()=>o,yX:()=>u,xN:()=>c,Qc:()=>a,I$:()=>rf,aQ:()=>rm,di:()=>rv,kO:()=>rS,rN:()=>nW,bi:()=>rn,Y0:()=>t1,_s:()=>nT,aE:()=>nn,Hm:()=>n5,tM:()=>tQ,KE:()=>nv,tn:()=>tZ,xc:()=>tK,us:()=>nC,IO:()=>nt,e_:()=>nF,Fp:()=>n$,Mi:()=>np,HF:()=>t3,Eo:()=>nN,b5:()=>n1,Tq:()=>nr,qX:()=>nV,q1:()=>nD,M_:()=>n3,oj:()=>nL,aZ:()=>t7,aW:()=>n8,uD:()=>nS,Jo:()=>t9,U$:()=>ne,X6:()=>ng,oN:()=>nJ,ah:()=>nK,R4:()=>n_,ZZ:()=>t2,r8:()=>ro,ZO:()=>tG,bK:()=>tJ,b$:()=>t6,uj:()=>nX,v5:()=>nI,Ue:()=>nE,Er:()=>nR,oB:()=>t8,kf:()=>nm,mW:()=>ny,Q6:()=>nP,QE:()=>nM,kM:()=>nf,No:()=>rs,Ff:()=>nb,zj:()=>nw,s_:()=>nx,vS:()=>re,qn:()=>ru,uL:()=>ra,YN:()=>nO});var r,i,o,a,s,l,u,c,h={value:()=>{}};function f(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw Error("illegal type: "+e);r[e]=[]}return new d(r)}function d(e){this._=e}function p(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=h,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}function g(){}function y(e){return null==e?g:function(){return this.querySelector(e)}}function m(){return[]}function v(e){return null==e?m:function(){return this.querySelectorAll(e)}}function x(e){return function(){return this.matches(e)}}function b(e){return function(t){return t.matches(e)}}d.prototype=f.prototype={constructor:d,on:function(e,t){var n,r=this._,i=(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:t}}),o=-1,a=i.length;if(arguments.length<2){for(;++o<a;)if((n=(e=i[o]).type)&&(n=function(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}(r[n],e.name)))return n;return}if(null!=t&&"function"!=typeof t)throw Error("invalid callback: "+t);for(;++o<a;)if(n=(e=i[o]).type)r[n]=p(r[n],e.name,t);else if(null==t)for(n in r)r[n]=p(r[n],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new d(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),o=0;o<n;++o)i[o]=arguments[o+2];if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(r=this._[e],o=0,n=r.length;o<n;++o)r[o].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(var r=this._[e],i=0,o=r.length;i<o;++i)r[i].value.apply(t,n)}};var w=Array.prototype.find;function k(){return this.firstElementChild}var _=Array.prototype.filter;function E(){return Array.from(this.children)}function A(e){return Array(e.length)}function S(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function M(e,t,n,r,i,o){for(var a,s=0,l=t.length,u=o.length;s<u;++s)(a=t[s])?(a.__data__=o[s],r[s]=a):n[s]=new S(e,o[s]);for(;s<l;++s)(a=t[s])&&(i[s]=a)}function C(e,t,n,r,i,o,a){var s,l,u,c=new Map,h=t.length,f=o.length,d=Array(h);for(s=0;s<h;++s)(l=t[s])&&(d[s]=u=a.call(l,l.__data__,s,t)+"",c.has(u)?i[s]=l:c.set(u,l));for(s=0;s<f;++s)u=a.call(e,o[s],s,o)+"",(l=c.get(u))?(r[s]=l,l.__data__=o[s],c.delete(u)):n[s]=new S(e,o[s]);for(s=0;s<h;++s)(l=t[s])&&c.get(d[s])===l&&(i[s]=l)}function T(e){return e.__data__}function O(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}S.prototype={constructor:S,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var P="http://www.w3.org/1999/xhtml";let j={svg:"http://www.w3.org/2000/svg",xhtml:P,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function N(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),j.hasOwnProperty(t)?{space:j[t],local:e}:e}function L(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function z(e,t){return e.style.getPropertyValue(t)||L(e).getComputedStyle(e,null).getPropertyValue(t)}function I(e){return e.trim().split(/^|\s+/)}function R(e){return e.classList||new D(e)}function D(e){this._node=e,this._names=I(e.getAttribute("class")||"")}function B(e,t){for(var n=R(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function F(e,t){for(var n=R(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function q(){this.textContent=""}function H(){this.innerHTML=""}function $(){this.nextSibling&&this.parentNode.appendChild(this)}function U(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function V(e){var t=N(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===P&&t.documentElement.namespaceURI===P?t.createElement(e):t.createElementNS(n,e)}})(t)}function X(){return null}function Y(){var e=this.parentNode;e&&e.removeChild(this)}function W(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function K(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function G(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,o=t.length;r<o;++r)(n=t[r],e.type&&n.type!==e.type||n.name!==e.name)?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function Z(e,t,n){return function(){var r,i=this.__on,o=function(e){t.call(this,e,this.__data__)};if(i){for(var a=0,s=i.length;a<s;++a)if((r=i[a]).type===e.type&&r.name===e.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=o,r.options=n),r.value=t;return}}this.addEventListener(e.type,o,n),r={type:e.type,name:e.name,value:t,listener:o,options:n},i?i.push(r):this.__on=[r]}}function Q(e,t,n){var r=L(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}D.prototype={add:function(e){0>this._names.indexOf(e)&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var J=[null];function ee(e,t){this._groups=e,this._parents=t}function et(){return new ee([[document.documentElement]],J)}function en(e){return"string"==typeof e?new ee([[document.querySelector(e)]],[document.documentElement]):new ee([[e]],J)}function er(e,t){if(e=function(e){let t;for(;t=e.sourceEvent;)e=t;return e}(e),void 0===t&&(t=e.currentTarget),t){var n=t.ownerSVGElement||t;if(n.createSVGPoint){var r=n.createSVGPoint();return r.x=e.clientX,r.y=e.clientY,[(r=r.matrixTransform(t.getScreenCTM().inverse())).x,r.y]}if(t.getBoundingClientRect){var i=t.getBoundingClientRect();return[e.clientX-i.left-t.clientLeft,e.clientY-i.top-t.clientTop]}}return[e.pageX,e.pageY]}ee.prototype=et.prototype={constructor:ee,select:function(e){"function"!=typeof e&&(e=y(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var o,a,s=t[i],l=s.length,u=r[i]=Array(l),c=0;c<l;++c)(o=s[c])&&(a=e.call(o,o.__data__,c,s))&&("__data__"in o&&(a.__data__=o.__data__),u[c]=a);return new ee(r,this._parents)},selectAll:function(e){if("function"==typeof e){var t;t=e,e=function(){var e;return e=t.apply(this,arguments),null==e?[]:Array.isArray(e)?e:Array.from(e)}}else e=v(e);for(var n=this._groups,r=n.length,i=[],o=[],a=0;a<r;++a)for(var s,l=n[a],u=l.length,c=0;c<u;++c)(s=l[c])&&(i.push(e.call(s,s.__data__,c,l)),o.push(s));return new ee(i,o)},selectChild:function(e){var t;return this.select(null==e?k:(t="function"==typeof e?e:b(e),function(){return w.call(this.children,t)}))},selectChildren:function(e){var t;return this.selectAll(null==e?E:(t="function"==typeof e?e:b(e),function(){return _.call(this.children,t)}))},filter:function(e){"function"!=typeof e&&(e=x(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],u=0;u<s;++u)(o=a[u])&&e.call(o,o.__data__,u,a)&&l.push(o);return new ee(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,T);var n=t?C:M,r=this._parents,i=this._groups;"function"!=typeof e&&(v=e,e=function(){return v});for(var o=i.length,a=Array(o),s=Array(o),l=Array(o),u=0;u<o;++u){var c=r[u],h=i[u],f=h.length,d="object"==typeof(m=e.call(c,c&&c.__data__,u,r))&&"length"in m?m:Array.from(m),p=d.length,g=s[u]=Array(p),y=a[u]=Array(p);n(c,h,g,y,l[u]=Array(f),d,t);for(var m,v,x,b,w=0,k=0;w<p;++w)if(x=g[w]){for(w>=k&&(k=w+1);!(b=y[k])&&++k<p;);x._next=b||null}}return(a=new ee(a,r))._enter=s,a._exit=l,a},enter:function(){return new ee(this._enter||this._groups.map(A),this._parents)},exit:function(){return new ee(this._exit||this._groups.map(A),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,o=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?o.remove():n(o),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,o=r.length,a=Math.min(i,o),s=Array(i),l=0;l<a;++l)for(var u,c=n[l],h=r[l],f=c.length,d=s[l]=Array(f),p=0;p<f;++p)(u=c[p]||h[p])&&(d[p]=u);for(;l<i;++l)s[l]=n[l];return new ee(s,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],o=i.length-1,a=i[o];--o>=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=O);for(var n=this._groups,r=n.length,i=Array(r),o=0;o<r;++o){for(var a,s=n[o],l=s.length,u=i[o]=Array(l),c=0;c<l;++c)(a=s[c])&&(u[c]=a);u.sort(t)}return new ee(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,o=r.length;i<o;++i){var a=r[i];if(a)return a}return null},size:function(){let e=0;for(let t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,o=t[n],a=0,s=o.length;a<s;++a)(i=o[a])&&e.call(i,i.__data__,a,o);return this},attr:function(e,t){var n=N(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}}:"function"==typeof t?n.local?function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}:function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}:n.local?function(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}:function(e,t){return function(){this.setAttribute(e,t)}})(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):z(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=I(e+"");if(arguments.length<2){for(var r=R(this.node()),i=-1,o=n.length;++i<o;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?function(e,t){return function(){(t.apply(this,arguments)?B:F)(this,e)}}:t?function(e){return function(){B(this,e)}}:function(e){return function(){F(this,e)}})(n,t))},text:function(e){return arguments.length?this.each(null==e?q:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?H:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML},raise:function(){return this.each($)},lower:function(){return this.each(U)},append:function(e){var t="function"==typeof e?e:V(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})},insert:function(e,t){var n="function"==typeof e?e:V(e),r=null==t?X:"function"==typeof t?t:y(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(Y)},clone:function(e){return this.select(e?K:W)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,o=(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}),a=o.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,u=0,c=s.length;u<c;++u)for(r=0,l=s[u];r<a;++r)if((i=o[r]).type===l.type&&i.name===l.name)return l.value}return}for(r=0,s=t?Z:G;r<a;++r)this.each(s(o[r],t,n));return this},dispatch:function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return Q(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return Q(this,e,t)}})(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],o=0,a=i.length;o<a;++o)(r=i[o])&&(yield r)}};let ei={passive:!1},eo={capture:!0,passive:!1};function ea(e){e.stopImmediatePropagation()}function es(e){e.preventDefault(),e.stopImmediatePropagation()}function el(e){var t=e.document.documentElement,n=en(e).on("dragstart.drag",es,eo);"onselectstart"in t?n.on("selectstart.drag",es,eo):(t.__noselect=t.style.MozUserSelect,t.style.MozUserSelect="none")}function eu(e,t){var n=e.document.documentElement,r=en(e).on("dragstart.drag",null);t&&(r.on("click.drag",es,eo),setTimeout(function(){r.on("click.drag",null)},0)),"onselectstart"in n?r.on("selectstart.drag",null):(n.style.MozUserSelect=n.__noselect,delete n.__noselect)}let ec=e=>()=>e;function eh(e,{sourceEvent:t,subject:n,target:r,identifier:i,active:o,x:a,y:s,dx:l,dy:u,dispatch:c}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},subject:{value:n,enumerable:!0,configurable:!0},target:{value:r,enumerable:!0,configurable:!0},identifier:{value:i,enumerable:!0,configurable:!0},active:{value:o,enumerable:!0,configurable:!0},x:{value:a,enumerable:!0,configurable:!0},y:{value:s,enumerable:!0,configurable:!0},dx:{value:l,enumerable:!0,configurable:!0},dy:{value:u,enumerable:!0,configurable:!0},_:{value:c}})}function ef(e){return!e.ctrlKey&&!e.button}function ed(){return this.parentNode}function ep(e,t){return null==t?{x:e.x,y:e.y}:t}function eg(){return navigator.maxTouchPoints||"ontouchstart"in this}function ey(e){return((e=Math.exp(e))+1/e)/2}eh.prototype.on=function(){var e=this._.on.apply(this._,arguments);return e===this._?this:e};let em=function e(t,n,r){function i(e,i){var o,a,s=e[0],l=e[1],u=e[2],c=i[0],h=i[1],f=i[2],d=c-s,p=h-l,g=d*d+p*p;if(g<1e-12)a=Math.log(f/u)/t,o=function(e){return[s+e*d,l+e*p,u*Math.exp(t*e*a)]};else{var y=Math.sqrt(g),m=(f*f-u*u+r*g)/(2*u*n*y),v=(f*f-u*u-r*g)/(2*f*n*y),x=Math.log(Math.sqrt(m*m+1)-m);a=(Math.log(Math.sqrt(v*v+1)-v)-x)/t,o=function(e){var r,i,o=e*a,c=ey(x),h=u/(n*y)*(c*(((r=Math.exp(2*(r=t*o+x)))-1)/(r+1))-((i=Math.exp(i=x))-1/i)/2);return[s+h*d,l+h*p,u*c/ey(t*o+x)]}}return o.duration=1e3*a*t/Math.SQRT2,o}return i.rho=function(t){var n=Math.max(.001,+t),r=n*n;return e(n,r,r*r)},i}(Math.SQRT2,2,4);var ev,ex,eb=0,ew=0,ek=0,e_=0,eE=0,eA=0,eS="object"==typeof performance&&performance.now?performance:Date,eM="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function eC(){return eE||(eM(eT),eE=eS.now()+eA)}function eT(){eE=0}function eO(){this._call=this._time=this._next=null}function eP(e,t,n){var r=new eO;return r.restart(e,t,n),r}function ej(){eE=(e_=eS.now())+eA,eb=ew=0;try{eC(),++eb;for(var e,t=ev;t;)(e=eE-t._time)>=0&&t._call.call(void 0,e),t=t._next;--eb}finally{eb=0,function(){for(var e,t,n=ev,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:ev=t);ex=e,eL(r)}(),eE=0}}function eN(){var e=eS.now(),t=e-e_;t>1e3&&(eA-=t,e_=e)}function eL(e){!eb&&(ew&&(ew=clearTimeout(ew)),e-eE>24?(e<1/0&&(ew=setTimeout(ej,e-eS.now()-eA)),ek&&(ek=clearInterval(ek))):(ek||(e_=eS.now(),ek=setInterval(eN,1e3)),eb=1,eM(ej)))}function ez(e,t,n){var r=new eO;return t=null==t?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}eO.prototype=eP.prototype={constructor:eO,restart:function(e,t,n){if("function"!=typeof e)throw TypeError("callback is not a function");n=(null==n?eC():+n)+(null==t?0:+t),this._next||ex===this||(ex?ex._next=this:ev=this,ex=this),this._call=e,this._time=n,eL()},stop:function(){this._call&&(this._call=null,this._time=1/0,eL())}};var eI=f("start","end","cancel","interrupt"),eR=[];function eD(e,t,n,r,i,o){var a=e.__transition;if(a){if(n in a)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function o(l){var u,c,h,f;if(1!==n.state)return s();for(u in i)if((f=i[u]).name===n.name){if(3===f.state)return ez(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",e,e.__data__,f.index,f.group),delete i[u]):+u<t&&(f.state=6,f.timer.stop(),f.on.call("cancel",e,e.__data__,f.index,f.group),delete i[u])}if(ez(function(){3===n.state&&(n.state=4,n.timer.restart(a,n.delay,n.time),a(l))}),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(u=0,n.state=3,r=Array(h=n.tween.length),c=-1;u<h;++u)(f=n.tween[u].value.call(e,e.__data__,n.index,n.group))&&(r[++c]=f);r.length=c+1}}function a(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(s),n.state=5,1),o=-1,a=r.length;++o<a;)r[o].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),s())}function s(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=eP(function(e){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=e&&o(e-n.delay)},0,n.time)}(e,n,{name:t,index:r,group:i,on:eI,tween:eR,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:0})}function eB(e,t){var n=eq(e,t);if(n.state>0)throw Error("too late; already scheduled");return n}function eF(e,t){var n=eq(e,t);if(n.state>3)throw Error("too late; already running");return n}function eq(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error("transition not found");return n}function eH(e,t){var n,r,i,o=e.__transition,a=!0;if(o){for(i in t=null==t?null:t+"",o){if((n=o[i]).name!==t){a=!1;continue}r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete o[i]}a&&delete e.__transition}}function e$(e,t){return e*=1,t*=1,function(n){return e*(1-n)+t*n}}var eU=180/Math.PI,eV={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function eX(e,t,n,r,i,o){var a,s,l;return(a=Math.sqrt(e*e+t*t))&&(e/=a,t/=a),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(s=Math.sqrt(n*n+r*r))&&(n/=s,r/=s,l/=s),e*r<t*n&&(e=-e,t=-t,l=-l,a=-a),{translateX:i,translateY:o,rotate:Math.atan2(t,e)*eU,skewX:Math.atan(l)*eU,scaleX:a,scaleY:s}}function eY(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(o,a){var s,l,u,c,h=[],f=[];return o=e(o),a=e(a),!function(e,r,i,o,a,s){if(e!==i||r!==o){var l=a.push("translate(",null,t,null,n);s.push({i:l-4,x:e$(e,i)},{i:l-2,x:e$(r,o)})}else(i||o)&&a.push("translate("+i+t+o+n)}(o.translateX,o.translateY,a.translateX,a.translateY,h,f),s=o.rotate,l=a.rotate,s!==l?(s-l>180?l+=360:l-s>180&&(s+=360),f.push({i:h.push(i(h)+"rotate(",null,r)-2,x:e$(s,l)})):l&&h.push(i(h)+"rotate("+l+r),u=o.skewX,c=a.skewX,u!==c?f.push({i:h.push(i(h)+"skewX(",null,r)-2,x:e$(u,c)}):c&&h.push(i(h)+"skewX("+c+r),!function(e,t,n,r,o,a){if(e!==n||t!==r){var s=o.push(i(o)+"scale(",null,",",null,")");a.push({i:s-4,x:e$(e,n)},{i:s-2,x:e$(t,r)})}else(1!==n||1!==r)&&o.push(i(o)+"scale("+n+","+r+")")}(o.scaleX,o.scaleY,a.scaleX,a.scaleY,h,f),o=a=null,function(e){for(var t,n=-1,r=f.length;++n<r;)h[(t=f[n]).i]=t.x(e);return h.join("")}}}var eW=eY(function(e){let t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?eV:eX(t.a,t.b,t.c,t.d,t.e,t.f)},"px, ","px)","deg)"),eK=eY(function(e){return null==e?eV:(r||(r=document.createElementNS("http://www.w3.org/2000/svg","g")),r.setAttribute("transform",e),e=r.transform.baseVal.consolidate())?eX((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):eV},", ",")",")");function eG(e,t,n){var r=e._id;return e.each(function(){var e=eF(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return eq(e,r).value[t]}}function eZ(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function eQ(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function eJ(){}var e0="\\s*([+-]?\\d+)\\s*",e1="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",e2="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",e3=/^#([0-9a-f]{3,8})$/,e6=RegExp(`^rgb\\(${e0},${e0},${e0}\\)$`),e8=RegExp(`^rgb\\(${e2},${e2},${e2}\\)$`),e5=RegExp(`^rgba\\(${e0},${e0},${e0},${e1}\\)$`),e4=RegExp(`^rgba\\(${e2},${e2},${e2},${e1}\\)$`),e9=RegExp(`^hsl\\(${e1},${e2},${e2}\\)$`),e7=RegExp(`^hsla\\(${e1},${e2},${e2},${e1}\\)$`),te={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function tt(){return this.rgb().formatHex()}function tn(){return this.rgb().formatRgb()}function tr(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=e3.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?ti(t):3===n?new ts(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?to(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?to(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=e6.exec(e))?new ts(t[1],t[2],t[3],1):(t=e8.exec(e))?new ts(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=e5.exec(e))?to(t[1],t[2],t[3],t[4]):(t=e4.exec(e))?to(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=e9.exec(e))?td(t[1],t[2]/100,t[3]/100,1):(t=e7.exec(e))?td(t[1],t[2]/100,t[3]/100,t[4]):te.hasOwnProperty(e)?ti(te[e]):"transparent"===e?new ts(NaN,NaN,NaN,0):null}function ti(e){return new ts(e>>16&255,e>>8&255,255&e,1)}function to(e,t,n,r){return r<=0&&(e=t=n=NaN),new ts(e,t,n,r)}function ta(e,t,n,r){var i;return 1==arguments.length?((i=e)instanceof eJ||(i=tr(i)),i)?new ts((i=i.rgb()).r,i.g,i.b,i.opacity):new ts:new ts(e,t,n,null==r?1:r)}function ts(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function tl(){return`#${tf(this.r)}${tf(this.g)}${tf(this.b)}`}function tu(){let e=tc(this.opacity);return`${1===e?"rgb(":"rgba("}${th(this.r)}, ${th(this.g)}, ${th(this.b)}${1===e?")":`, ${e})`}`}function tc(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function th(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function tf(e){return((e=th(e))<16?"0":"")+e.toString(16)}function td(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new tg(e,t,n,r)}function tp(e){if(e instanceof tg)return new tg(e.h,e.s,e.l,e.opacity);if(e instanceof eJ||(e=tr(e)),!e)return new tg;if(e instanceof tg)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),o=Math.max(t,n,r),a=NaN,s=o-i,l=(o+i)/2;return s?(a=t===o?(n-r)/s+(n<r)*6:n===o?(r-t)/s+2:(t-n)/s+4,s/=l<.5?o+i:2-o-i,a*=60):s=l>0&&l<1?0:a,new tg(a,s,l,e.opacity)}function tg(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function ty(e){return(e=(e||0)%360)<0?e+360:e}function tm(e){return Math.max(0,Math.min(1,e||0))}function tv(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function tx(e,t,n,r,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*n+(1+3*e+3*o-3*a)*r+a*i)/6}eZ(eJ,tr,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:tt,formatHex:tt,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return tp(this).formatHsl()},formatRgb:tn,toString:tn}),eZ(ts,ta,eQ(eJ,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new ts(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new ts(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new ts(th(this.r),th(this.g),th(this.b),tc(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tl,formatHex:tl,formatHex8:function(){return`#${tf(this.r)}${tf(this.g)}${tf(this.b)}${tf((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:tu,toString:tu})),eZ(tg,function(e,t,n,r){return 1==arguments.length?tp(e):new tg(e,t,n,null==r?1:r)},eQ(eJ,{brighter(e){return e=null==e?1.4285714285714286:Math.pow(1.4285714285714286,e),new tg(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new tg(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new ts(tv(e>=240?e-240:e+120,i,r),tv(e,i,r),tv(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new tg(ty(this.h),tm(this.s),tm(this.l),tc(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=tc(this.opacity);return`${1===e?"hsl(":"hsla("}${ty(this.h)}, ${100*tm(this.s)}%, ${100*tm(this.l)}%${1===e?")":`, ${e})`}`}}));let tb=e=>()=>e;function tw(e,t){var n=t-e;return n?function(t){return e+t*n}:tb(isNaN(e)?t:e)}let tk=function e(t){var n,r=1==(n=+t)?tw:function(e,t){var r,i,o;return t-e?(r=e,i=t,r=Math.pow(r,o=n),i=Math.pow(i,o)-r,o=1/o,function(e){return Math.pow(r+e*i,o)}):tb(isNaN(e)?t:e)};function i(e,t){var n=r((e=ta(e)).r,(t=ta(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=tw(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return i.gamma=e,i}(1);function t_(e){return function(t){var n,r,i=t.length,o=Array(i),a=Array(i),s=Array(i);for(n=0;n<i;++n)r=ta(t[n]),o[n]=r.r||0,a[n]=r.g||0,s[n]=r.b||0;return o=e(o),a=e(a),s=e(s),r.opacity=1,function(e){return r.r=o(e),r.g=a(e),r.b=s(e),r+""}}}t_(function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],o=e[r+1],a=r>0?e[r-1]:2*i-o,s=r<t-1?e[r+2]:2*o-i;return tx((n-r/t)*t,a,i,o,s)}}),t_(function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],o=e[r%t],a=e[(r+1)%t],s=e[(r+2)%t];return tx((n-r/t)*t,i,o,a,s)}});var tE=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,tA=RegExp(tE.source,"g");function tS(e,t){var n,r,i,o,a,s=tE.lastIndex=tA.lastIndex=0,l=-1,u=[],c=[];for(e+="",t+="";(i=tE.exec(e))&&(o=tA.exec(t));)(a=o.index)>s&&(a=t.slice(s,a),u[l]?u[l]+=a:u[++l]=a),(i=i[0])===(o=o[0])?u[l]?u[l]+=o:u[++l]=o:(u[++l]=null,c.push({i:l,x:e$(i,o)})),s=tA.lastIndex;return s<t.length&&(a=t.slice(s),u[l]?u[l]+=a:u[++l]=a),u.length<2?c[0]?(n=c[0].x,function(e){return n(e)+""}):(r=t,function(){return r}):(t=c.length,function(e){for(var n,r=0;r<t;++r)u[(n=c[r]).i]=n.x(e);return u.join("")})}function tM(e,t){var n;return("number"==typeof t?e$:t instanceof tr?tk:(n=tr(t))?(t=n,tk):tS)(e,t)}var tC=et.prototype.constructor;function tT(e){return function(){this.style.removeProperty(e)}}var tO=0;function tP(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}var tj=et.prototype;tP.prototype=(function(e){return et().transition(e)}).prototype={constructor:tP,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=y(e));for(var r=this._groups,i=r.length,o=Array(i),a=0;a<i;++a)for(var s,l,u=r[a],c=u.length,h=o[a]=Array(c),f=0;f<c;++f)(s=u[f])&&(l=e.call(s,s.__data__,f,u))&&("__data__"in s&&(l.__data__=s.__data__),h[f]=l,eD(h[f],t,n,f,h,eq(s,n)));return new tP(o,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=v(e));for(var r=this._groups,i=r.length,o=[],a=[],s=0;s<i;++s)for(var l,u=r[s],c=u.length,h=0;h<c;++h)if(l=u[h]){for(var f,d=e.call(l,l.__data__,h,u),p=eq(l,n),g=0,y=d.length;g<y;++g)(f=d[g])&&eD(f,t,n,g,d,p);o.push(d),a.push(l)}return new tP(o,a,t,n)},selectChild:tj.selectChild,selectChildren:tj.selectChildren,filter:function(e){"function"!=typeof e&&(e=x(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var o,a=t[i],s=a.length,l=r[i]=[],u=0;u<s;++u)(o=a[u])&&e.call(o,o.__data__,u,a)&&l.push(o);return new tP(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,o=Math.min(r,i),a=Array(r),s=0;s<o;++s)for(var l,u=t[s],c=n[s],h=u.length,f=a[s]=Array(h),d=0;d<h;++d)(l=u[d]||c[d])&&(f[d]=l);for(;s<r;++s)a[s]=t[s];return new tP(a,this._parents,this._name,this._id)},selection:function(){return new tC(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=++tO,r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,u=0;u<l;++u)if(a=s[u]){var c=eq(a,t);eD(a,e,n,u,s,{time:c.time+c.delay+c.duration,delay:0,duration:c.duration,ease:c.ease})}return new tP(r,this._parents,e,n)},call:tj.call,nodes:tj.nodes,node:tj.node,size:tj.size,empty:tj.empty,each:tj.each,on:function(e,t){var n,r,i,o,a,s,l=this._id;return arguments.length<2?eq(this.node(),l).on.on(e):this.each((n=l,r=e,i=t,s=(r+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e})?eB:eF,function(){var e=s(this,n),t=e.on;t!==o&&(a=(o=t).copy()).on(r,i),e.on=a}))},attr:function(e,t){var n=N(e),r="transform"===n?eK:tM;return this.attrTween(e,"function"==typeof t?(n.local?function(e,t,n){var r,i,o;return function(){var a,s,l=n(this);return null==l?void this.removeAttributeNS(e.space,e.local):(a=this.getAttributeNS(e.space,e.local))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l))}}:function(e,t,n){var r,i,o;return function(){var a,s,l=n(this);return null==l?void this.removeAttribute(e):(a=this.getAttribute(e))===(s=l+"")?null:a===r&&s===i?o:(i=s,o=t(r=a,l))}})(n,r,eG(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttributeNS(e.space,e.local);return a===o?null:a===r?i:i=t(r=a,n)}}:function(e,t,n){var r,i,o=n+"";return function(){var a=this.getAttribute(e);return a===o?null:a===r?i:i=t(r=a,n)}})(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();var r=N(e);return this.tween(n,(r.local?function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t){this.setAttributeNS(e.space,e.local,i.call(this,t))}),n}return i._value=t,i}:function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t){this.setAttribute(e,i.call(this,t))}),n}return i._value=t,i})(r,t))},style:function(e,t,n){var r,i,o,a,s,l,u,c,h,f,d,p,g,y,m,v,x,b,w,k,_,E="transform"==(e+="")?eW:tM;return null==t?this.styleTween(e,(r=e,function(){var e=z(this,r),t=(this.style.removeProperty(r),z(this,r));return e===t?null:e===i&&t===o?a:a=E(i=e,o=t)})).on("end.style."+e,tT(e)):"function"==typeof t?this.styleTween(e,(s=e,l=eG(this,"style."+e,t),function(){var e=z(this,s),t=l(this),n=t+"";return null==t&&(this.style.removeProperty(s),n=t=z(this,s)),e===n?null:e===u&&n===c?h:(c=n,h=E(u=e,t))})).each((f=this._id,x="end."+(v="style."+(d=e)),function(){var e=eF(this,f),t=e.on,n=null==e.value[v]?m||(m=tT(d)):void 0;(t!==p||y!==n)&&(g=(p=t).copy()).on(x,y=n),e.on=g})):this.styleTween(e,(b=e,_=t+"",function(){var e=z(this,b);return e===_?null:e===w?k:k=E(w=e,t)}),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw Error();return this.tween(r,function(e,t,n){var r,i;function o(){var o=t.apply(this,arguments);return o!==i&&(r=(i=o)&&function(t){this.style.setProperty(e,o.call(this,t),n)}),r}return o._value=t,o}(e,t,null==n?"":n))},text:function(e){var t,n;return this.tween("text","function"==typeof e?(t=eG(this,"text",e),function(){var e=t(this);this.textContent=null==e?"":e}):(n=null==e?"":e+"",function(){this.textContent=n}))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw Error();return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){this.textContent=r.call(this,e)}),t}return r._value=e,r}(e))},remove:function(){var e;return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=eq(this.node(),n).tween,o=0,a=i.length;o<a;++o)if((r=i[o]).name===e)return r.value;return null}return this.each((null==t?function(e,t){var n,r;return function(){var i=eF(this,e),o=i.tween;if(o!==n){r=n=o;for(var a=0,s=r.length;a<s;++a)if(r[a].name===t){(r=r.slice()).splice(a,1);break}}i.tween=r}}:function(e,t,n){var r,i;if("function"!=typeof n)throw Error();return function(){var o=eF(this,e),a=o.tween;if(a!==r){i=(r=a).slice();for(var s={name:t,value:n},l=0,u=i.length;l<u;++l)if(i[l].name===t){i[l]=s;break}l===u&&i.push(s)}o.tween=i}})(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){eB(this,e).delay=+t.apply(this,arguments)}}:function(e,t){return t*=1,function(){eB(this,e).delay=t}})(t,e)):eq(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){eF(this,e).duration=+t.apply(this,arguments)}}:function(e,t){return t*=1,function(){eF(this,e).duration=t}})(t,e)):eq(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw Error();return function(){eF(this,e).ease=t}}(t,e)):eq(this.node(),t).ease},easeVarying:function(e){var t;if("function"!=typeof e)throw Error();return this.each((t=this._id,function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw Error();eF(this,t).ease=n}))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(o,a){var s={value:a},l={value:function(){0==--i&&o()}};n.each(function(){var n=eF(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(s),t._.interrupt.push(s),t._.end.push(l)),n.on=t}),0===i&&o()})},[Symbol.iterator]:tj[Symbol.iterator]};var tN={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};et.prototype.interrupt=function(e){return this.each(function(){eH(this,e)})},et.prototype.transition=function(e){var t,n;e instanceof tP?(t=e._id,e=e._name):(t=++tO,(n=tN).time=eC(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,o=0;o<i;++o)for(var a,s=r[o],l=s.length,u=0;u<l;++u)(a=s[u])&&eD(a,e,t,u,s,n||function(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}(a,t));return new tP(r,this._parents,e,t)};let tL=e=>()=>e;function tz(e,{sourceEvent:t,target:n,transform:r,dispatch:i}){Object.defineProperties(this,{type:{value:e,enumerable:!0,configurable:!0},sourceEvent:{value:t,enumerable:!0,configurable:!0},target:{value:n,enumerable:!0,configurable:!0},transform:{value:r,enumerable:!0,configurable:!0},_:{value:i}})}function tI(e,t,n){this.k=e,this.x=t,this.y=n}tI.prototype={constructor:tI,scale:function(e){return 1===e?this:new tI(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new tI(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var tR=new tI(1,0,0);function tD(e){for(;!e.__zoom;)if(!(e=e.parentNode))return tR;return e.__zoom}function tB(e){e.stopImmediatePropagation()}function tF(e){e.preventDefault(),e.stopImmediatePropagation()}function tq(e){return(!e.ctrlKey||"wheel"===e.type)&&!e.button}function tH(){var e=this;return e instanceof SVGElement?(e=e.ownerSVGElement||e).hasAttribute("viewBox")?[[(e=e.viewBox.baseVal).x,e.y],[e.x+e.width,e.y+e.height]]:[[0,0],[e.width.baseVal.value,e.height.baseVal.value]]:[[0,0],[e.clientWidth,e.clientHeight]]}function t$(){return this.__zoom||tR}function tU(e){return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*(e.ctrlKey?10:1)}function tV(){return navigator.maxTouchPoints||"ontouchstart"in this}function tX(e,t,n){var r=e.invertX(t[0][0])-n[0][0],i=e.invertX(t[1][0])-n[1][0],o=e.invertY(t[0][1])-n[0][1],a=e.invertY(t[1][1])-n[1][1];return e.translate(i>r?(r+i)/2:Math.min(0,r)||Math.max(0,i),a>o?(o+a)/2:Math.min(0,o)||Math.max(0,a))}function tY(){var e,t,n,r=tq,i=tH,o=tX,a=tU,s=tV,l=[0,1/0],u=[[-1/0,-1/0],[1/0,1/0]],c=250,h=em,d=f("start","zoom","end"),p=0,g=10;function y(e){e.property("__zoom",t$).on("wheel.zoom",_,{passive:!1}).on("mousedown.zoom",E).on("dblclick.zoom",A).filter(s).on("touchstart.zoom",S).on("touchmove.zoom",M).on("touchend.zoom touchcancel.zoom",C).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function m(e,t){return(t=Math.max(l[0],Math.min(l[1],t)))===e.k?e:new tI(t,e.x,e.y)}function v(e,t,n){var r=t[0]-n[0]*e.k,i=t[1]-n[1]*e.k;return r===e.x&&i===e.y?e:new tI(e.k,r,i)}function x(e){return[(+e[0][0]+ +e[1][0])/2,(+e[0][1]+ +e[1][1])/2]}function b(e,t,n,r){e.on("start.zoom",function(){w(this,arguments).event(r).start()}).on("interrupt.zoom end.zoom",function(){w(this,arguments).event(r).end()}).tween("zoom",function(){var e=arguments,o=w(this,e).event(r),a=i.apply(this,e),s=null==n?x(a):"function"==typeof n?n.apply(this,e):n,l=Math.max(a[1][0]-a[0][0],a[1][1]-a[0][1]),u=this.__zoom,c="function"==typeof t?t.apply(this,e):t,f=h(u.invert(s).concat(l/u.k),c.invert(s).concat(l/c.k));return function(e){if(1===e)e=c;else{var t=f(e),n=l/t[2];e=new tI(n,s[0]-t[0]*n,s[1]-t[1]*n)}o.zoom(null,e)}})}function w(e,t,n){return!n&&e.__zooming||new k(e,t)}function k(e,t){this.that=e,this.args=t,this.active=0,this.sourceEvent=null,this.extent=i.apply(e,t),this.taps=0}function _(e,...t){if(r.apply(this,arguments)){var n=w(this,t).event(e),i=this.__zoom,s=Math.max(l[0],Math.min(l[1],i.k*Math.pow(2,a.apply(this,arguments)))),c=er(e);if(n.wheel)(n.mouse[0][0]!==c[0]||n.mouse[0][1]!==c[1])&&(n.mouse[1]=i.invert(n.mouse[0]=c)),clearTimeout(n.wheel);else{if(i.k===s)return;n.mouse=[c,i.invert(c)],eH(this),n.start()}tF(e),n.wheel=setTimeout(function(){n.wheel=null,n.end()},150),n.zoom("mouse",o(v(m(i,s),n.mouse[0],n.mouse[1]),n.extent,u))}}function E(e,...t){if(!n&&r.apply(this,arguments)){var i=e.currentTarget,a=w(this,t,!0).event(e),s=en(e.view).on("mousemove.zoom",function(e){if(tF(e),!a.moved){var t=e.clientX-c,n=e.clientY-h;a.moved=t*t+n*n>p}a.event(e).zoom("mouse",o(v(a.that.__zoom,a.mouse[0]=er(e,i),a.mouse[1]),a.extent,u))},!0).on("mouseup.zoom",function(e){s.on("mousemove.zoom mouseup.zoom",null),eu(e.view,a.moved),tF(e),a.event(e).end()},!0),l=er(e,i),c=e.clientX,h=e.clientY;el(e.view),tB(e),a.mouse=[l,this.__zoom.invert(l)],eH(this),a.start()}}function A(e,...t){if(r.apply(this,arguments)){var n=this.__zoom,a=er(e.changedTouches?e.changedTouches[0]:e,this),s=n.invert(a),l=n.k*(e.shiftKey?.5:2),h=o(v(m(n,l),a,s),i.apply(this,t),u);tF(e),c>0?en(this).transition().duration(c).call(b,h,a,e):en(this).call(y.transform,h,a,e)}}function S(n,...i){if(r.apply(this,arguments)){var o,a,s,l,u=n.touches,c=u.length,h=w(this,i,n.changedTouches.length===c).event(n);for(tB(n),a=0;a<c;++a)l=[l=er(s=u[a],this),this.__zoom.invert(l),s.identifier],h.touch0?h.touch1||h.touch0[2]===l[2]||(h.touch1=l,h.taps=0):(h.touch0=l,o=!0,h.taps=1+!!e);e&&(e=clearTimeout(e)),o&&(h.taps<2&&(t=l[0],e=setTimeout(function(){e=null},500)),eH(this),h.start())}}function M(e,...t){if(this.__zooming){var n,r,i,a,s=w(this,t).event(e),l=e.changedTouches,c=l.length;for(tF(e),n=0;n<c;++n)i=er(r=l[n],this),s.touch0&&s.touch0[2]===r.identifier?s.touch0[0]=i:s.touch1&&s.touch1[2]===r.identifier&&(s.touch1[0]=i);if(r=s.that.__zoom,s.touch1){var h=s.touch0[0],f=s.touch0[1],d=s.touch1[0],p=s.touch1[1],g=(g=d[0]-h[0])*g+(g=d[1]-h[1])*g,y=(y=p[0]-f[0])*y+(y=p[1]-f[1])*y;r=m(r,Math.sqrt(g/y)),i=[(h[0]+d[0])/2,(h[1]+d[1])/2],a=[(f[0]+p[0])/2,(f[1]+p[1])/2]}else{if(!s.touch0)return;i=s.touch0[0],a=s.touch0[1]}s.zoom("touch",o(v(r,i,a),s.extent,u))}}function C(e,...r){if(this.__zooming){var i,o,a=w(this,r).event(e),s=e.changedTouches,l=s.length;for(tB(e),n&&clearTimeout(n),n=setTimeout(function(){n=null},500),i=0;i<l;++i)o=s[i],a.touch0&&a.touch0[2]===o.identifier?delete a.touch0:a.touch1&&a.touch1[2]===o.identifier&&delete a.touch1;if(a.touch1&&!a.touch0&&(a.touch0=a.touch1,delete a.touch1),a.touch0)a.touch0[1]=this.__zoom.invert(a.touch0[0]);else if(a.end(),2===a.taps&&(o=er(o,this),Math.hypot(t[0]-o[0],t[1]-o[1])<g)){var u=en(this).on("dblclick.zoom");u&&u.apply(this,arguments)}}}return y.transform=function(e,t,n,r){var i=e.selection?e.selection():e;i.property("__zoom",t$),e!==i?b(e,t,n,r):i.interrupt().each(function(){w(this,arguments).event(r).start().zoom(null,"function"==typeof t?t.apply(this,arguments):t).end()})},y.scaleBy=function(e,t,n,r){y.scaleTo(e,function(){var e=this.__zoom.k,n="function"==typeof t?t.apply(this,arguments):t;return e*n},n,r)},y.scaleTo=function(e,t,n,r){y.transform(e,function(){var e=i.apply(this,arguments),r=this.__zoom,a=null==n?x(e):"function"==typeof n?n.apply(this,arguments):n,s=r.invert(a),l="function"==typeof t?t.apply(this,arguments):t;return o(v(m(r,l),a,s),e,u)},n,r)},y.translateBy=function(e,t,n,r){y.transform(e,function(){return o(this.__zoom.translate("function"==typeof t?t.apply(this,arguments):t,"function"==typeof n?n.apply(this,arguments):n),i.apply(this,arguments),u)},null,r)},y.translateTo=function(e,t,n,r,a){y.transform(e,function(){var e=i.apply(this,arguments),a=this.__zoom,s=null==r?x(e):"function"==typeof r?r.apply(this,arguments):r;return o(tR.translate(s[0],s[1]).scale(a.k).translate("function"==typeof t?-t.apply(this,arguments):-t,"function"==typeof n?-n.apply(this,arguments):-n),e,u)},r,a)},k.prototype={event:function(e){return e&&(this.sourceEvent=e),this},start:function(){return 1==++this.active&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(e,t){return this.mouse&&"mouse"!==e&&(this.mouse[1]=t.invert(this.mouse[0])),this.touch0&&"touch"!==e&&(this.touch0[1]=t.invert(this.touch0[0])),this.touch1&&"touch"!==e&&(this.touch1[1]=t.invert(this.touch1[0])),this.that.__zoom=t,this.emit("zoom"),this},end:function(){return 0==--this.active&&(delete this.that.__zooming,this.emit("end")),this},emit:function(e){var t=en(this.that).datum();d.call(e,this.that,new tz(e,{sourceEvent:this.sourceEvent,target:y,type:e,transform:this.that.__zoom,dispatch:d}),t)}},y.wheelDelta=function(e){return arguments.length?(a="function"==typeof e?e:tL(+e),y):a},y.filter=function(e){return arguments.length?(r="function"==typeof e?e:tL(!!e),y):r},y.touchable=function(e){return arguments.length?(s="function"==typeof e?e:tL(!!e),y):s},y.extent=function(e){return arguments.length?(i="function"==typeof e?e:tL([[+e[0][0],+e[0][1]],[+e[1][0],+e[1][1]]]),y):i},y.scaleExtent=function(e){return arguments.length?(l[0]=+e[0],l[1]=+e[1],y):[l[0],l[1]]},y.translateExtent=function(e){return arguments.length?(u[0][0]=+e[0][0],u[1][0]=+e[1][0],u[0][1]=+e[0][1],u[1][1]=+e[1][1],y):[[u[0][0],u[0][1]],[u[1][0],u[1][1]]]},y.constrain=function(e){return arguments.length?(o=e,y):o},y.duration=function(e){return arguments.length?(c=+e,y):c},y.interpolate=function(e){return arguments.length?(h=e,y):h},y.on=function(){var e=d.on.apply(d,arguments);return e===d?y:e},y.clickDistance=function(e){return arguments.length?(p=(e*=1)*e,y):Math.sqrt(p)},y.tapDistance=function(e){return arguments.length?(g=+e,y):g},y}function tW(e,t){var n,r,i=typeof t;return null==t||"boolean"===i?tb(t):("number"===i?e$:"string"===i?(r=tr(t))?(t=r,tk):tS:t instanceof tr?tk:t instanceof Date?function(e,t){var n=new Date;return e*=1,t*=1,function(r){return n.setTime(e*(1-r)+t*r),n}}:!ArrayBuffer.isView(n=t)||n instanceof DataView?Array.isArray(t)?function(e,t){var n,r=t?t.length:0,i=e?Math.min(r,e.length):0,o=Array(i),a=Array(r);for(n=0;n<i;++n)o[n]=tW(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<i;++n)a[n]=o[n](e);return a}}:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?function(e,t){var n,r={},i={};for(n in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)n in e?r[n]=tW(e[n],t[n]):i[n]=t[n];return function(e){for(n in r)i[n]=r[n](e);return i}}:e$:function(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(n=0;n<r;++n)i[n]=e[n]*(1-o)+t[n]*o;return i}})(e,t)}tD.prototype=tI.prototype;let tK={error001:()=>"[React Flow]: Seems like you have not used zustand provider as an ancestor. Help: https://reactflow.dev/error#001",error002:()=>"It looks like you've created a new nodeTypes or edgeTypes object. If this wasn't on purpose please define the nodeTypes/edgeTypes outside of the component or memoize them.",error003:e=>`Node type "${e}" not found. Using fallback type "default".`,error004:()=>"The React Flow parent container needs a width and a height to render the graph.",error005:()=>"Only child nodes can use a parent extent.",error006:()=>"Can't create edge. An edge needs a source and a target.",error007:e=>`The old edge with id=${e} does not exist.`,error009:e=>`Marker type "${e}" doesn't exist.`,error008:(e,{id:t,sourceHandle:n,targetHandle:r})=>`Couldn't create edge for ${e} handle id: "${"source"===e?n:r}", edge id: ${t}.`,error010:()=>"Handle: No node id found. Make sure to only use a Handle inside a custom Node.",error011:e=>`Edge type "${e}" not found. Using fallback type "default".`,error012:e=>`Node with id "${e}" does not exist, it may have been removed. This can happen when a node is deleted before the "onNodeClick" handler is called.`,error013:(e="react")=>`It seems that you haven't loaded the styles. Please import '@xyflow/${e}/dist/style.css' or base.css to make sure everything is working properly.`,error014:()=>"useNodeConnections: No node ID found. Call useNodeConnections inside a custom Node or provide a node ID.",error015:()=>"It seems that you are trying to drag a node that is not initialized. Please use onNodesChange as explained in the docs."},tG=[[-1/0,-1/0],[1/0,1/0]],tZ=["Enter"," ","Escape"],tQ={"node.a11yDescription.default":"Press enter or space to select a node. Press delete to remove it and escape to cancel.","node.a11yDescription.keyboardDisabled":"Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.","node.a11yDescription.ariaLiveMessage":({direction:e,x:t,y:n})=>`Moved selected node ${e}. New position, x: ${t}, y: ${n}`,"edge.a11yDescription.default":"Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.","controls.ariaLabel":"Control Panel","controls.zoomIn.ariaLabel":"Zoom In","controls.zoomOut.ariaLabel":"Zoom Out","controls.fitView.ariaLabel":"Fit View","controls.interactive.ariaLabel":"Toggle Interactivity","minimap.ariaLabel":"Mini Map","handle.ariaLabel":"Handle"};!function(e){e.Strict="strict",e.Loose="loose"}(i||(i={})),function(e){e.Free="free",e.Vertical="vertical",e.Horizontal="horizontal"}(o||(o={})),function(e){e.Partial="partial",e.Full="full"}(a||(a={}));let tJ={inProgress:!1,isValid:null,from:null,fromHandle:null,fromPosition:null,fromNode:null,to:null,toHandle:null,toPosition:null,toNode:null,pointer:null};!function(e){e.Bezier="default",e.Straight="straight",e.Step="step",e.SmoothStep="smoothstep",e.SimpleBezier="simplebezier"}(s||(s={})),function(e){e.Arrow="arrow",e.ArrowClosed="arrowclosed"}(l||(l={})),function(e){e.Left="left",e.Top="top",e.Right="right",e.Bottom="bottom"}(u||(u={}));let t0={[u.Left]:u.Right,[u.Right]:u.Left,[u.Top]:u.Bottom,[u.Bottom]:u.Top};function t1(e,t){if(!e&&!t)return!0;if(!e||!t||e.size!==t.size)return!1;if(!e.size&&!t.size)return!0;for(let n of e.keys())if(!t.has(n))return!1;return!0}function t2(e,t,n){if(!n)return;let r=[];e.forEach((e,n)=>{t?.has(n)||r.push(e)}),r.length&&n(r)}function t3(e){return null===e?null:e?"valid":"invalid"}let t6=e=>"id"in e&&"source"in e&&"target"in e,t8=e=>"id"in e&&"position"in e&&!("source"in e)&&!("target"in e),t5=e=>"id"in e&&"internals"in e&&!("source"in e)&&!("target"in e),t4=(e,t=[0,0])=>{let{width:n,height:r}=nS(e),i=e.origin??t,o=n*i[0],a=r*i[1];return{x:e.position.x-o,y:e.position.y-a}},t9=(e,t={nodeOrigin:[0,0]})=>0===e.length?{x:0,y:0,width:0,height:0}:nh(e.reduce((e,n)=>{let r="string"==typeof n,i=t.nodeLookup||r?void 0:n;return t.nodeLookup&&(i=r?t.nodeLookup.get(n):t5(n)?n:t.nodeLookup.get(n.id)),nu(e,i?nd(i,t.nodeOrigin):{x:0,y:0,x2:0,y2:0})},{x:1/0,y:1/0,x2:-1/0,y2:-1/0})),t7=(e,t={})=>{let n={x:1/0,y:1/0,x2:-1/0,y2:-1/0},r=!1;return e.forEach(e=>{(void 0===t.filter||t.filter(e))&&(n=nu(n,nd(e)),r=!0)}),r?nh(n):{x:0,y:0,width:0,height:0}},ne=(e,t,[n,r,i]=[0,0,1],o=!1,a=!1)=>{let s={...nb(t,[n,r,i]),width:t.width/i,height:t.height/i},l=[];for(let t of e.values()){let{measured:e,selectable:n=!0,hidden:r=!1}=t;if(a&&!n||r)continue;let i=e.width??t.width??t.initialWidth??null,u=e.height??t.height??t.initialHeight??null,c=ng(s,nf(t)),h=(i??0)*(u??0),f=o&&c>0;(!t.internals.handleBounds||f||c>=h||t.dragging)&&l.push(t)}return l};async function nt({nodes:e,width:t,height:n,panZoom:r,minZoom:i,maxZoom:o},a){if(0===e.size)return Promise.resolve(!0);let s=n_(t7(function(e,t){let n=new Map,r=t?.nodes?new Set(t.nodes.map(e=>e.id)):null;return e.forEach(e=>{e.measured.width&&e.measured.height&&(t?.includeHiddenNodes||!e.hidden)&&(!r||r.has(e.id))&&n.set(e.id,e)}),n}(e,a)),t,n,a?.minZoom??i,a?.maxZoom??o,a?.padding??.1);return await r.setViewport(s,{duration:a?.duration,ease:a?.ease,interpolate:a?.interpolate}),Promise.resolve(!0)}function nn({nodeId:e,nextPosition:t,nodeLookup:n,nodeOrigin:r=[0,0],nodeExtent:i,onError:o}){let a=n.get(e),s=a.parentId?n.get(a.parentId):void 0,{x:l,y:u}=s?s.internals.positionAbsolute:{x:0,y:0},c=a.origin??r,h=a.extent||i;if("parent"!==a.extent||a.expandParent)s&&nA(a.extent)&&(h=[[a.extent[0][0]+l,a.extent[0][1]+u],[a.extent[1][0]+l,a.extent[1][1]+u]]);else if(s){let e=s.measured.width,t=s.measured.height;e&&t&&(h=[[l,u],[l+e,u+t]])}else o?.("005",tK.error005());let f=nA(h)?no(t,h,a.measured):t;return(void 0===a.measured.width||void 0===a.measured.height)&&o?.("015",tK.error015()),{position:{x:f.x-l+(a.measured.width??0)*c[0],y:f.y-u+(a.measured.height??0)*c[1]},positionAbsolute:f}}async function nr({nodesToRemove:e=[],edgesToRemove:t=[],nodes:n,edges:r,onBeforeDelete:i}){let o=new Set(e.map(e=>e.id)),a=[];for(let e of n){if(!1===e.deletable)continue;let t=o.has(e.id),n=!t&&e.parentId&&a.find(t=>t.id===e.parentId);(t||n)&&a.push(e)}let s=new Set(t.map(e=>e.id)),l=r.filter(e=>!1!==e.deletable),u=((e,t)=>{let n=new Set;return e.forEach(e=>{n.add(e.id)}),t.filter(e=>n.has(e.source)||n.has(e.target))})(a,l);for(let e of l)s.has(e.id)&&!u.find(t=>t.id===e.id)&&u.push(e);if(!i)return{edges:u,nodes:a};let c=await i({nodes:a,edges:u});return"boolean"==typeof c?c?{edges:u,nodes:a}:{edges:[],nodes:[]}:c}let ni=(e,t=0,n=1)=>Math.min(Math.max(e,t),n),no=(e={x:0,y:0},t,n)=>({x:ni(e.x,t[0][0],t[1][0]-(n?.width??0)),y:ni(e.y,t[0][1],t[1][1]-(n?.height??0))});function na(e,t,n){let{width:r,height:i}=nS(n),{x:o,y:a}=n.internals.positionAbsolute;return no(e,[[o,a],[o+r,a+i]],t)}let ns=(e,t,n)=>e<t?ni(Math.abs(e-t),1,t)/t:e>n?-ni(Math.abs(e-n),1,t)/t:0,nl=(e,t,n=15,r=40)=>[ns(e.x,r,t.width-r)*n,ns(e.y,r,t.height-r)*n],nu=(e,t)=>({x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),x2:Math.max(e.x2,t.x2),y2:Math.max(e.y2,t.y2)}),nc=({x:e,y:t,width:n,height:r})=>({x:e,y:t,x2:e+n,y2:t+r}),nh=({x:e,y:t,x2:n,y2:r})=>({x:e,y:t,width:n-e,height:r-t}),nf=(e,t=[0,0])=>{let{x:n,y:r}=t5(e)?e.internals.positionAbsolute:t4(e,t);return{x:n,y:r,width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}},nd=(e,t=[0,0])=>{let{x:n,y:r}=t5(e)?e.internals.positionAbsolute:t4(e,t);return{x:n,y:r,x2:n+(e.measured?.width??e.width??e.initialWidth??0),y2:r+(e.measured?.height??e.height??e.initialHeight??0)}},np=(e,t)=>nh(nu(nc(e),nc(t))),ng=(e,t)=>Math.ceil(Math.max(0,Math.min(e.x+e.width,t.x+t.width)-Math.max(e.x,t.x))*Math.max(0,Math.min(e.y+e.height,t.y+t.height)-Math.max(e.y,t.y))),ny=e=>nm(e.width)&&nm(e.height)&&nm(e.x)&&nm(e.y),nm=e=>!isNaN(e)&&isFinite(e),nv=(e,t)=>{},nx=(e,t=[1,1])=>({x:t[0]*Math.round(e.x/t[0]),y:t[1]*Math.round(e.y/t[1])}),nb=({x:e,y:t},[n,r,i],o=!1,a=[1,1])=>{let s={x:(e-n)/i,y:(t-r)/i};return o?nx(s,a):s},nw=({x:e,y:t},[n,r,i])=>({x:e*i+n,y:t*i+r});function nk(e,t){if("number"==typeof e)return Math.floor((t-t/(1+e))*.5);if("string"==typeof e&&e.endsWith("px")){let t=parseFloat(e);if(!Number.isNaN(t))return Math.floor(t)}if("string"==typeof e&&e.endsWith("%")){let n=parseFloat(e);if(!Number.isNaN(n))return Math.floor(t*n*.01)}return console.error(`[React Flow] The padding value "${e}" is invalid. Please provide a number or a string with a valid unit (px or %).`),0}let n_=(e,t,n,r,i,o)=>{let a=function(e,t,n){if("string"==typeof e||"number"==typeof e){let r=nk(e,n),i=nk(e,t);return{top:r,right:i,bottom:r,left:i,x:2*i,y:2*r}}if("object"==typeof e){let r=nk(e.top??e.y??0,n),i=nk(e.bottom??e.y??0,n),o=nk(e.left??e.x??0,t),a=nk(e.right??e.x??0,t);return{top:r,right:a,bottom:i,left:o,x:o+a,y:r+i}}return{top:0,right:0,bottom:0,left:0,x:0,y:0}}(o,t,n),s=ni(Math.min((t-a.x)/e.width,(n-a.y)/e.height),r,i),l=e.x+e.width/2,u=e.y+e.height/2,c=t/2-l*s,h=n/2-u*s,f=function(e,t,n,r,i,o){let{x:a,y:s}=nw(e,[t,n,r]),{x:l,y:u}=nw({x:e.x+e.width,y:e.y+e.height},[t,n,r]);return{left:Math.floor(a),top:Math.floor(s),right:Math.floor(i-l),bottom:Math.floor(o-u)}}(e,c,h,s,t,n),d={left:Math.min(f.left-a.left,0),top:Math.min(f.top-a.top,0),right:Math.min(f.right-a.right,0),bottom:Math.min(f.bottom-a.bottom,0)};return{x:c-d.left+d.right,y:h-d.top+d.bottom,zoom:s}},nE=()=>"undefined"!=typeof navigator&&navigator?.userAgent?.indexOf("Mac")>=0;function nA(e){return null!=e&&"parent"!==e}function nS(e){return{width:e.measured?.width??e.width??e.initialWidth??0,height:e.measured?.height??e.height??e.initialHeight??0}}function nM(e){return(e.measured?.width??e.width??e.initialWidth)!==void 0&&(e.measured?.height??e.height??e.initialHeight)!==void 0}function nC(e,t={width:0,height:0},n,r,i){let o={...e},a=r.get(n);if(a){let e=a.origin||i;o.x+=a.internals.positionAbsolute.x-(t.width??0)*e[0],o.y+=a.internals.positionAbsolute.y-(t.height??0)*e[1]}return o}function nT(e,t){if(e.size!==t.size)return!1;for(let n of e)if(!t.has(n))return!1;return!0}function nO(){let e,t;return{promise:new Promise((n,r)=>{e=n,t=r}),resolve:e,reject:t}}function nP(e){return{...tQ,...e||{}}}function nj(e,{snapGrid:t=[0,0],snapToGrid:n=!1,transform:r,containerBounds:i}){let{x:o,y:a}=nD(e),s=nb({x:o-(i?.left??0),y:a-(i?.top??0)},r),{x:l,y:u}=n?nx(s,t):s;return{xSnapped:l,ySnapped:u,...s}}let nN=e=>({width:e.offsetWidth,height:e.offsetHeight}),nL=e=>e?.getRootNode?.()||window?.document,nz=["INPUT","SELECT","TEXTAREA"];function nI(e){let t=e.composedPath?.()?.[0]||e.target;return t?.nodeType===1&&(nz.includes(t.nodeName)||t.hasAttribute("contenteditable")||!!t.closest(".nokey"))}let nR=e=>"clientX"in e,nD=(e,t)=>{let n=nR(e),r=n?e.clientX:e.touches?.[0].clientX,i=n?e.clientY:e.touches?.[0].clientY;return{x:r-(t?.left??0),y:i-(t?.top??0)}},nB=(e,t,n,r,i)=>{let o=t.querySelectorAll(`.${e}`);return o&&o.length?Array.from(o).map(t=>{let o=t.getBoundingClientRect();return{id:t.getAttribute("data-handleid"),type:e,nodeId:i,position:t.getAttribute("data-handlepos"),x:(o.left-n.left)/r,y:(o.top-n.top)/r,...nN(t)}}):null};function nF({sourceX:e,sourceY:t,targetX:n,targetY:r,sourceControlX:i,sourceControlY:o,targetControlX:a,targetControlY:s}){let l=.125*e+.375*i+.375*a+.125*n,u=.125*t+.375*o+.375*s+.125*r,c=Math.abs(l-e),h=Math.abs(u-t);return[l,u,c,h]}function nq(e,t){return e>=0?.5*e:25*t*Math.sqrt(-e)}function nH({pos:e,x1:t,y1:n,x2:r,y2:i,c:o}){switch(e){case u.Left:return[t-nq(t-r,o),n];case u.Right:return[t+nq(r-t,o),n];case u.Top:return[t,n-nq(n-i,o)];case u.Bottom:return[t,n+nq(i-n,o)]}}function n$({sourceX:e,sourceY:t,sourcePosition:n=u.Bottom,targetX:r,targetY:i,targetPosition:o=u.Top,curvature:a=.25}){let[s,l]=nH({pos:n,x1:e,y1:t,x2:r,y2:i,c:a}),[c,h]=nH({pos:o,x1:r,y1:i,x2:e,y2:t,c:a}),[f,d,p,g]=nF({sourceX:e,sourceY:t,targetX:r,targetY:i,sourceControlX:s,sourceControlY:l,targetControlX:c,targetControlY:h});return[`M${e},${t} C${s},${l} ${c},${h} ${r},${i}`,f,d,p,g]}function nU({sourceX:e,sourceY:t,targetX:n,targetY:r}){let i=Math.abs(n-e)/2,o=Math.abs(r-t)/2;return[n<e?n+i:n-i,r<t?r+o:r-o,i,o]}function nV({sourceNode:e,targetNode:t,selected:n=!1,zIndex:r=0,elevateOnSelect:i=!1,zIndexMode:o="basic"}){if("manual"===o)return r;let a=Math.max(e.parentId||i&&e.selected?e.internals.z:0,t.parentId||i&&t.selected?t.internals.z:0);return(i&&n?r+1e3:r)+a}function nX({sourceNode:e,targetNode:t,width:n,height:r,transform:i}){let o=nu(nd(e),nd(t));return o.x===o.x2&&(o.x2+=1),o.y===o.y2&&(o.y2+=1),ng({x:-i[0]/i[2],y:-i[1]/i[2],width:n/i[2],height:r/i[2]},nh(o))>0}let nY=({source:e,sourceHandle:t,target:n,targetHandle:r})=>`xy-edge__${e}${t||""}-${n}${r||""}`,nW=(e,t,n={})=>{let r;if(!e.source||!e.target)return nv("006",tK.error006()),t;let i=n.getEdgeId||nY;return((e,t)=>t.some(t=>t.source===e.source&&t.target===e.target&&(t.sourceHandle===e.sourceHandle||!t.sourceHandle&&!e.sourceHandle)&&(t.targetHandle===e.targetHandle||!t.targetHandle&&!e.targetHandle)))(r=t6(e)?{...e}:{...e,id:i(e)},t)?t:(null===r.sourceHandle&&delete r.sourceHandle,null===r.targetHandle&&delete r.targetHandle,t.concat(r))};function nK({sourceX:e,sourceY:t,targetX:n,targetY:r}){let[i,o,a,s]=nU({sourceX:e,sourceY:t,targetX:n,targetY:r});return[`M ${e},${t}L ${n},${r}`,i,o,a,s]}let nG={[u.Left]:{x:-1,y:0},[u.Right]:{x:1,y:0},[u.Top]:{x:0,y:-1},[u.Bottom]:{x:0,y:1}},nZ=({source:e,sourcePosition:t=u.Bottom,target:n})=>t===u.Left||t===u.Right?e.x<n.x?{x:1,y:0}:{x:-1,y:0}:e.y<n.y?{x:0,y:1}:{x:0,y:-1},nQ=(e,t)=>Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2));function nJ({sourceX:e,sourceY:t,sourcePosition:n=u.Bottom,targetX:r,targetY:i,targetPosition:o=u.Top,borderRadius:a=5,centerX:s,centerY:l,offset:c=20,stepPosition:h=.5}){let[f,d,p,g,y]=function({source:e,sourcePosition:t=u.Bottom,target:n,targetPosition:r=u.Top,center:i,offset:o,stepPosition:a}){let s,l,c=nG[t],h=nG[r],f={x:e.x+c.x*o,y:e.y+c.y*o},d={x:n.x+h.x*o,y:n.y+h.y*o},p=nZ({source:f,sourcePosition:t,target:d}),g=0!==p.x?"x":"y",y=p[g],m=[],v={x:0,y:0},x={x:0,y:0},[,,b,w]=nU({sourceX:e.x,sourceY:e.y,targetX:n.x,targetY:n.y});if(c[g]*h[g]==-1){"x"===g?(s=i.x??f.x+(d.x-f.x)*a,l=i.y??(f.y+d.y)/2):(s=i.x??(f.x+d.x)/2,l=i.y??f.y+(d.y-f.y)*a);let e=[{x:s,y:f.y},{x:s,y:d.y}],t=[{x:f.x,y:l},{x:d.x,y:l}];m=c[g]===y?"x"===g?e:t:"x"===g?t:e}else{let i=[{x:f.x,y:d.y}],a=[{x:d.x,y:f.y}];if(m="x"===g?c.x===y?a:i:c.y===y?i:a,t===r){let t=Math.abs(e[g]-n[g]);if(t<=o){let r=Math.min(o-1,o-t);c[g]===y?v[g]=(f[g]>e[g]?-1:1)*r:x[g]=(d[g]>n[g]?-1:1)*r}}if(t!==r){let e="x"===g?"y":"x",t=c[g]===h[e],n=f[e]>d[e],r=f[e]<d[e];(1===c[g]&&(!t&&n||t&&r)||1!==c[g]&&(!t&&r||t&&n))&&(m="x"===g?i:a)}let u={x:f.x+v.x,y:f.y+v.y},p={x:d.x+x.x,y:d.y+x.y};Math.max(Math.abs(u.x-m[0].x),Math.abs(p.x-m[0].x))>=Math.max(Math.abs(u.y-m[0].y),Math.abs(p.y-m[0].y))?(s=(u.x+p.x)/2,l=m[0].y):(s=m[0].x,l=(u.y+p.y)/2)}return[[e,{x:f.x+v.x,y:f.y+v.y},...m,{x:d.x+x.x,y:d.y+x.y},n],s,l,b,w]}({source:{x:e,y:t},sourcePosition:n,target:{x:r,y:i},targetPosition:o,center:{x:s,y:l},offset:c,stepPosition:h});return[f.reduce((e,t,n)=>e+(n>0&&n<f.length-1?function(e,t,n,r){let i=Math.min(nQ(e,t)/2,nQ(t,n)/2,r),{x:o,y:a}=t;if(e.x===o&&o===n.x||e.y===a&&a===n.y)return`L${o} ${a}`;if(e.y===a){let t=e.x<n.x?-1:1,r=e.y<n.y?1:-1;return`L ${o+i*t},${a}Q ${o},${a} ${o},${a+i*r}`}let s=e.x<n.x?1:-1,l=e.y<n.y?-1:1;return`L ${o},${a+i*l}Q ${o},${a} ${o+i*s},${a}`}(f[n-1],t,f[n+1],a):`${0===n?"M":"L"}${t.x} ${t.y}`),""),d,p,g,y]}function n0(e){return e&&!!(e.internals.handleBounds||e.handles?.length)&&!!(e.measured.width||e.width||e.initialWidth)}function n1(e){let{sourceNode:t,targetNode:n}=e;if(!n0(t)||!n0(n))return null;let r=t.internals.handleBounds||n2(t.handles),o=n.internals.handleBounds||n2(n.handles),a=n6(r?.source??[],e.sourceHandle),s=n6(e.connectionMode===i.Strict?o?.target??[]:(o?.target??[]).concat(o?.source??[]),e.targetHandle);if(!a||!s)return e.onError?.("008",tK.error008(!a?"source":"target",{id:e.id,sourceHandle:e.sourceHandle,targetHandle:e.targetHandle})),null;let l=a?.position||u.Bottom,c=s?.position||u.Top,h=n3(t,a,l),f=n3(n,s,c);return{sourceX:h.x,sourceY:h.y,targetX:f.x,targetY:f.y,sourcePosition:l,targetPosition:c}}function n2(e){if(!e)return null;let t=[],n=[];for(let r of e)r.width=r.width??1,r.height=r.height??1,"source"===r.type?t.push(r):"target"===r.type&&n.push(r);return{source:t,target:n}}function n3(e,t,n=u.Left,r=!1){let i=(t?.x??0)+e.internals.positionAbsolute.x,o=(t?.y??0)+e.internals.positionAbsolute.y,{width:a,height:s}=t??nS(e);if(r)return{x:i+a/2,y:o+s/2};switch(t?.position??n){case u.Top:return{x:i+a/2,y:o};case u.Right:return{x:i+a,y:o+s/2};case u.Bottom:return{x:i+a/2,y:o+s};case u.Left:return{x:i,y:o+s/2}}}function n6(e,t){return e&&(t?e.find(e=>e.id===t):e[0])||null}function n8(e,t){if(!e)return"";if("string"==typeof e)return e;let n=t?`${t}__`:"";return`${n}${Object.keys(e).sort().map(t=>`${t}=${e[t]}`).join("&")}`}function n5(e,{id:t,defaultColor:n,defaultMarkerStart:r,defaultMarkerEnd:i}){let o=new Set;return e.reduce((e,a)=>([a.markerStart||r,a.markerEnd||i].forEach(r=>{if(r&&"object"==typeof r){let i=n8(r,t);o.has(i)||(e.push({id:i,color:r.color||n,...r}),o.add(i))}}),e),[]).sort((e,t)=>e.id.localeCompare(t.id))}let n4={nodeOrigin:[0,0],nodeExtent:tG,elevateNodesOnSelect:!0,zIndexMode:"basic",defaults:{}},n9={...n4,checkEquality:!0};function n7(e,t){let n={...e};for(let e in t)void 0!==t[e]&&(n[e]=t[e]);return n}function re(e,t,n){let r=n7(n4,n);for(let n of e.values())if(n.parentId)rr(n,e,t,r);else{let e=no(t4(n,r.nodeOrigin),nA(n.extent)?n.extent:r.nodeExtent,nS(n));n.internals.positionAbsolute=e}}function rt(e){return"manual"===e}function rn(e,t,n,r={}){let i=n7(n9,r),o={i:0},a=new Map(t),s=i?.elevateNodesOnSelect&&!rt(i.zIndexMode)?1e3:0,l=e.length>0;for(let u of(t.clear(),n.clear(),e)){let e=a.get(u.id);if(i.checkEquality&&u===e?.internals.userNode)t.set(u.id,e);else{let n=no(t4(u,i.nodeOrigin),nA(u.extent)?u.extent:i.nodeExtent,nS(u));e={...i.defaults,...u,measured:{width:u.measured?.width,height:u.measured?.height},internals:{positionAbsolute:n,handleBounds:function(e,t){if(!e.handles)return e.measured?t?.internals.handleBounds:void 0;let n=[],r=[];for(let t of e.handles){let i={id:t.id,width:t.width??1,height:t.height??1,nodeId:e.id,x:t.x,y:t.y,position:t.position,type:t.type};"source"===t.type?n.push(i):"target"===t.type&&r.push(i)}return{source:n,target:r}}(u,e),z:ri(u,s,i.zIndexMode),userNode:u}},t.set(u.id,e)}void 0!==e.measured&&void 0!==e.measured.width&&void 0!==e.measured.height||e.hidden||(l=!1),u.parentId&&rr(e,t,n,r,o)}return l}function rr(e,t,n,r,i){let{elevateNodesOnSelect:o,nodeOrigin:a,nodeExtent:s,zIndexMode:l}=n7(n4,r),u=e.parentId,c=t.get(u);if(!c)return void console.warn(`Parent node ${u} not found. Please make sure that parent nodes are in front of their child nodes in the nodes array.`);!function(e,t){if(!e.parentId)return;let n=t.get(e.parentId);n?n.set(e.id,e):t.set(e.parentId,new Map([[e.id,e]]))}(e,n),i&&!c.parentId&&void 0===c.internals.rootParentIndex&&"auto"===l&&(c.internals.rootParentIndex=++i.i,c.internals.z=c.internals.z+10*i.i),i&&void 0!==c.internals.rootParentIndex&&(i.i=c.internals.rootParentIndex);let{x:h,y:f,z:d}=function(e,t,n,r,i,o){let{x:a,y:s}=t.internals.positionAbsolute,l=nS(e),u=t4(e,n),c=nA(e.extent)?no(u,e.extent,l):u,h=no({x:a+c.x,y:s+c.y},r,l);"parent"===e.extent&&(h=na(h,l,t));let f=ri(e,i,o),d=t.internals.z??0;return{x:h.x,y:h.y,z:d>=f?d+1:f}}(e,c,a,s,o&&!rt(l)?1e3:0,l),{positionAbsolute:p}=e.internals,g=h!==p.x||f!==p.y;(g||d!==e.internals.z)&&t.set(e.id,{...e,internals:{...e.internals,positionAbsolute:g?{x:h,y:f}:p,z:d}})}function ri(e,t,n){let r=nm(e.zIndex)?e.zIndex:0;return rt(n)?r:r+(e.selected?t:0)}function ro(e,t,n,r=[0,0]){let i=[],o=new Map;for(let n of e){let e=t.get(n.parentId);if(!e)continue;let r=np(o.get(n.parentId)?.expandedRect??nf(e),n.rect);o.set(n.parentId,{expandedRect:r,parent:e})}return o.size>0&&o.forEach(({expandedRect:t,parent:o},a)=>{let s=o.internals.positionAbsolute,l=nS(o),u=o.origin??r,c=t.x<s.x?Math.round(Math.abs(s.x-t.x)):0,h=t.y<s.y?Math.round(Math.abs(s.y-t.y)):0,f=Math.max(l.width,Math.round(t.width)),d=Math.max(l.height,Math.round(t.height)),p=(f-l.width)*u[0],g=(d-l.height)*u[1];(c>0||h>0||p||g)&&(i.push({id:a,type:"position",position:{x:o.position.x-c+p,y:o.position.y-h+g}}),n.get(a)?.forEach(t=>{e.some(e=>e.id===t.id)||i.push({id:t.id,type:"position",position:{x:t.position.x+c,y:t.position.y+h}})})),(l.width<t.width||l.height<t.height||c||h)&&i.push({id:a,type:"dimensions",setAttributes:!0,dimensions:{width:f+(c?u[0]*c-p:0),height:d+(h?u[1]*h-g:0)}})}),i}function ra(e,t,n,r,i,o,a){let s=r?.querySelector(".xyflow__viewport"),l=!1;if(!s)return{changes:[],updatedInternals:l};let u=[],c=window.getComputedStyle(s),{m22:h}=new window.DOMMatrixReadOnly(c.transform),f=[];for(let r of e.values()){let e=t.get(r.id);if(!e)continue;if(e.hidden){t.set(e.id,{...e,internals:{...e.internals,handleBounds:void 0}}),l=!0;continue}let s=nN(r.nodeElement),c=e.measured.width!==s.width||e.measured.height!==s.height;if(s.width&&s.height&&(c||!e.internals.handleBounds||r.force)){let d=r.nodeElement.getBoundingClientRect(),p=nA(e.extent)?e.extent:o,{positionAbsolute:g}=e.internals;e.parentId&&"parent"===e.extent?g=na(g,s,t.get(e.parentId)):p&&(g=no(g,p,s));let y={...e,measured:s,internals:{...e.internals,positionAbsolute:g,handleBounds:{source:nB("source",r.nodeElement,d,h,e.id),target:nB("target",r.nodeElement,d,h,e.id)}}};t.set(e.id,y),e.parentId&&rr(y,t,n,{nodeOrigin:i,zIndexMode:a}),l=!0,c&&(u.push({id:e.id,type:"dimensions",dimensions:s}),e.expandParent&&e.parentId&&f.push({id:e.id,parentId:e.parentId,rect:nf(y,i)}))}}if(f.length>0){let e=ro(f,t,n,i);u.push(...e)}return{changes:u,updatedInternals:l}}async function rs({delta:e,panZoom:t,transform:n,translateExtent:r,width:i,height:o}){if(!t||!e.x&&!e.y)return Promise.resolve(!1);let a=await t.setViewportConstrained({x:n[0]+e.x,y:n[1]+e.y,zoom:n[2]},[[0,0],[i,o]],r);return Promise.resolve(!!a&&(a.x!==n[0]||a.y!==n[1]||a.k!==n[2]))}function rl(e,t,n,r,i,o){let a=i,s=r.get(a)||new Map;r.set(a,s.set(n,t)),a=`${i}-${e}`;let l=r.get(a)||new Map;if(r.set(a,l.set(n,t)),o){a=`${i}-${e}-${o}`;let s=r.get(a)||new Map;r.set(a,s.set(n,t))}}function ru(e,t,n){for(let r of(e.clear(),t.clear(),n)){let{source:n,target:i,sourceHandle:o=null,targetHandle:a=null}=r,s={edgeId:r.id,source:n,target:i,sourceHandle:o,targetHandle:a},l=`${n}-${o}--${i}-${a}`;rl("source",s,`${i}-${a}--${n}-${o}`,e,n,o),rl("target",s,l,e,i,a),t.set(r.id,r)}}function rc(e,t,n){let r=e;do{if(r?.matches?.(t))return!0;if(r===n)break;r=r?.parentElement}while(r);return!1}function rh({nodeId:e,dragItems:t,nodeLookup:n,dragging:r=!0}){let i=[];for(let[e,o]of t){let t=n.get(e)?.internals.userNode;t&&i.push({...t,position:o.position,dragging:r})}if(!e)return[i[0],i];let o=n.get(e)?.internals.userNode;return[o?{...o,position:t.get(e)?.position||o.position,dragging:r}:i[0],i]}function rf({onNodeMouseDown:e,getStoreItems:t,onDragStart:n,onDrag:r,onDragStop:i}){let o={x:null,y:null},a=0,s=new Map,l=!1,u={x:0,y:0},c=null,h=!1,d=null,p=!1,g=!1,y=null;return{update:function({noDragClassName:m,handleSelector:v,domNode:x,isSelectable:b,nodeId:w,nodeClickDistance:k=0}){function _({x:e,y:n}){let{nodeLookup:i,nodeExtent:a,snapGrid:l,snapToGrid:u,nodeOrigin:c,onNodeDrag:h,onSelectionDrag:f,onError:d,updateNodePositions:p}=t();o={x:e,y:n};let m=!1,v=s.size>1,x=v&&a?nc(t7(s)):null,b=v&&u?function({dragItems:e,snapGrid:t,x:n,y:r}){let i=e.values().next().value;if(!i)return null;let o={x:n-i.distance.x,y:r-i.distance.y},a=nx(o,t);return{x:a.x-o.x,y:a.y-o.y}}({dragItems:s,snapGrid:l,x:e,y:n}):null;for(let[t,r]of s){if(!i.has(t))continue;let o={x:e-r.distance.x,y:n-r.distance.y};u&&(o=b?{x:Math.round(o.x+b.x),y:Math.round(o.y+b.y)}:nx(o,l));let s=null;if(v&&a&&!r.extent&&x){let{positionAbsolute:e}=r.internals,t=e.x-x.x+a[0][0],n=e.x+r.measured.width-x.x2+a[1][0];s=[[t,e.y-x.y+a[0][1]],[n,e.y+r.measured.height-x.y2+a[1][1]]]}let{position:h,positionAbsolute:f}=nn({nodeId:t,nextPosition:o,nodeLookup:i,nodeExtent:s||a,nodeOrigin:c,onError:d});m=m||r.position.x!==h.x||r.position.y!==h.y,r.position=h,r.internals.positionAbsolute=f}if(g=g||m,m&&(p(s,!0),y&&(r||h||!w&&f))){let[e,t]=rh({nodeId:w,dragItems:s,nodeLookup:i});r?.(y,s,e,t),h?.(y,e,t),w||f?.(y,t)}}async function E(){if(!c)return;let{transform:e,panBy:n,autoPanSpeed:r,autoPanOnNodeDrag:i}=t();if(!i){l=!1,cancelAnimationFrame(a);return}let[s,h]=nl(u,c,r);(0!==s||0!==h)&&(o.x=(o.x??0)-s/e[2],o.y=(o.y??0)-h/e[2],await n({x:s,y:h})&&_(o)),a=requestAnimationFrame(E)}function A(r){let{nodeLookup:i,multiSelectionActive:a,nodesDraggable:l,transform:u,snapGrid:f,snapToGrid:d,selectNodesOnDrag:p,onNodeDragStart:g,onSelectionDragStart:y,unselectNodesAndEdges:m}=t();h=!0,p&&b||a||!w||i.get(w)?.selected||m(),b&&p&&w&&e?.(w);let v=nj(r.sourceEvent,{transform:u,snapGrid:f,snapToGrid:d,containerBounds:c});if(o=v,(s=function(e,t,n,r){let i=new Map;for(let[o,a]of e)if((a.selected||a.id===r)&&(!a.parentId||!function e(t,n){if(!t.parentId)return!1;let r=n.get(t.parentId);return!!r&&(!!r.selected||e(r,n))}(a,e))&&(a.draggable||t&&void 0===a.draggable)){let t=e.get(o);t&&i.set(o,{id:o,position:t.position||{x:0,y:0},distance:{x:n.x-t.internals.positionAbsolute.x,y:n.y-t.internals.positionAbsolute.y},extent:t.extent,parentId:t.parentId,origin:t.origin,expandParent:t.expandParent,internals:{positionAbsolute:t.internals.positionAbsolute||{x:0,y:0}},measured:{width:t.measured.width??0,height:t.measured.height??0}})}return i}(i,l,v,w)).size>0&&(n||g||!w&&y)){let[e,t]=rh({nodeId:w,dragItems:s,nodeLookup:i});n?.(r.sourceEvent,s,e,t),g?.(r.sourceEvent,e,t),w||y?.(r.sourceEvent,t)}}d=en(x);let S=(function(){var e,t,n,r,i=ef,o=ed,a=ep,s=eg,l={},u=f("start","drag","end"),c=0,h=0;function d(e){e.on("mousedown.drag",p).filter(s).on("touchstart.drag",m).on("touchmove.drag",v,ei).on("touchend.drag touchcancel.drag",x).style("touch-action","none").style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}function p(a,s){if(!r&&i.call(this,a,s)){var l=b(this,o.call(this,a,s),a,s,"mouse");l&&(en(a.view).on("mousemove.drag",g,eo).on("mouseup.drag",y,eo),el(a.view),ea(a),n=!1,e=a.clientX,t=a.clientY,l("start",a))}}function g(r){if(es(r),!n){var i=r.clientX-e,o=r.clientY-t;n=i*i+o*o>h}l.mouse("drag",r)}function y(e){en(e.view).on("mousemove.drag mouseup.drag",null),eu(e.view,n),es(e),l.mouse("end",e)}function m(e,t){if(i.call(this,e,t)){var n,r,a=e.changedTouches,s=o.call(this,e,t),l=a.length;for(n=0;n<l;++n)(r=b(this,s,e,t,a[n].identifier,a[n]))&&(ea(e),r("start",e,a[n]))}}function v(e){var t,n,r=e.changedTouches,i=r.length;for(t=0;t<i;++t)(n=l[r[t].identifier])&&(es(e),n("drag",e,r[t]))}function x(e){var t,n,i=e.changedTouches,o=i.length;for(r&&clearTimeout(r),r=setTimeout(function(){r=null},500),t=0;t<o;++t)(n=l[i[t].identifier])&&(ea(e),n("end",e,i[t]))}function b(e,t,n,r,i,o){var s,h,f,p=u.copy(),g=er(o||n,t);if(null!=(f=a.call(e,new eh("beforestart",{sourceEvent:n,target:d,identifier:i,active:c,x:g[0],y:g[1],dx:0,dy:0,dispatch:p}),r)))return s=f.x-g[0]||0,h=f.y-g[1]||0,function n(o,a,u){var y,m=g;switch(o){case"start":l[i]=n,y=c++;break;case"end":delete l[i],--c;case"drag":g=er(u||a,t),y=c}p.call(o,e,new eh(o,{sourceEvent:a,subject:f,target:d,identifier:i,active:y,x:g[0]+s,y:g[1]+h,dx:g[0]-m[0],dy:g[1]-m[1],dispatch:p}),r)}}return d.filter=function(e){return arguments.length?(i="function"==typeof e?e:ec(!!e),d):i},d.container=function(e){return arguments.length?(o="function"==typeof e?e:ec(e),d):o},d.subject=function(e){return arguments.length?(a="function"==typeof e?e:ec(e),d):a},d.touchable=function(e){return arguments.length?(s="function"==typeof e?e:ec(!!e),d):s},d.on=function(){var e=u.on.apply(u,arguments);return e===u?d:e},d.clickDistance=function(e){return arguments.length?(h=(e*=1)*e,d):Math.sqrt(h)},d})().clickDistance(k).on("start",e=>{let{domNode:n,nodeDragThreshold:r,transform:i,snapGrid:a,snapToGrid:s}=t();c=n?.getBoundingClientRect()||null,p=!1,g=!1,y=e.sourceEvent,0===r&&A(e),o=nj(e.sourceEvent,{transform:i,snapGrid:a,snapToGrid:s,containerBounds:c}),u=nD(e.sourceEvent,c)}).on("drag",e=>{let{autoPanOnNodeDrag:n,transform:r,snapGrid:i,snapToGrid:a,nodeDragThreshold:f,nodeLookup:d}=t(),g=nj(e.sourceEvent,{transform:r,snapGrid:i,snapToGrid:a,containerBounds:c});if(y=e.sourceEvent,("touchmove"===e.sourceEvent.type&&e.sourceEvent.touches.length>1||w&&!d.has(w))&&(p=!0),!p){if(!l&&n&&h&&(l=!0,E()),!h){let t=nD(e.sourceEvent,c),n=t.x-u.x,r=t.y-u.y;Math.sqrt(n*n+r*r)>f&&A(e)}(o.x!==g.xSnapped||o.y!==g.ySnapped)&&s&&h&&(u=nD(e.sourceEvent,c),_(g))}}).on("end",e=>{if(h&&!p&&(l=!1,h=!1,cancelAnimationFrame(a),s.size>0)){let{nodeLookup:n,updateNodePositions:r,onNodeDragStop:o,onSelectionDragStop:a}=t();if(g&&(r(s,!1),g=!1),i||o||!w&&a){let[t,r]=rh({nodeId:w,dragItems:s,nodeLookup:n,dragging:!1});i?.(e.sourceEvent,s,t,r),o?.(e.sourceEvent,t,r),w||a?.(e.sourceEvent,r)}}}).filter(e=>{let t=e.target;return!e.button&&(!m||!rc(t,`.${m}`,x))&&(!v||rc(t,v,x))});d.call(S)},destroy:function(){d?.on(".drag",null)}}}function rd(e,t,n,r,i,o=!1){let a=r.get(e);if(!a)return null;let s="strict"===i?a.internals.handleBounds?.[t]:[...a.internals.handleBounds?.source??[],...a.internals.handleBounds?.target??[]],l=(n?s?.find(e=>e.id===n):s?.[0])??null;return l&&o?{...l,...n3(a,l,l.position,!0)}:l}function rp(e,t){return e?e:t?.classList.contains("target")?"target":t?.classList.contains("source")?"source":null}let rg=()=>!0;function ry(e,{handle:t,connectionMode:n,fromNodeId:r,fromHandleId:o,fromType:a,doc:s,lib:l,flowId:u,isValidConnection:c=rg,nodeLookup:h}){let f="target"===a,d=t?s.querySelector(`.${l}-flow__handle[data-id="${u}-${t?.nodeId}-${t?.id}-${t?.type}"]`):null,{x:p,y:g}=nD(e),y=s.elementFromPoint(p,g),m=y?.classList.contains(`${l}-flow__handle`)?y:d,v={handleDomNode:m,isValid:!1,connection:null,toHandle:null};if(m){let e=rp(void 0,m),t=m.getAttribute("data-nodeid"),a=m.getAttribute("data-handleid"),s=m.classList.contains("connectable"),l=m.classList.contains("connectableend");if(!t||!e)return v;let u={source:f?t:r,sourceHandle:f?a:o,target:f?r:t,targetHandle:f?o:a};v.connection=u,v.isValid=s&&l&&(n===i.Strict?f&&"source"===e||!f&&"target"===e:t!==r||a!==o)&&c(u),v.toHandle=rd(t,e,a,h,n,!0)}return v}let rm={onPointerDown:function(e,{connectionMode:t,connectionRadius:n,handleId:r,nodeId:i,edgeUpdaterType:o,isTarget:a,domNode:s,nodeLookup:l,lib:c,autoPanOnConnect:h,flowId:f,panBy:d,cancelConnection:p,onConnectStart:g,onConnect:y,onConnectEnd:m,isValidConnection:v=rg,onReconnectEnd:x,updateConnection:b,getTransform:w,getFromHandle:k,autoPanSpeed:_,dragThreshold:E=1,handleDomNode:A}){let S,M=nL(e.target),C=0,{x:T,y:O}=nD(e),P=rp(o,A),j=s?.getBoundingClientRect(),N=!1;if(!j||!P)return;let L=rd(i,P,r,l,t);if(!L)return;let z=nD(e,j),I=!1,R=null,D=!1,B=null,F={...L,nodeId:i,type:P,position:L.position},q=l.get(i),H={inProgress:!0,isValid:null,from:n3(q,F,u.Left,!0),fromHandle:F,fromPosition:F.position,fromNode:q,to:z,toHandle:null,toPosition:t0[F.position],toNode:null,pointer:z};function $(){N=!0,b(H),g?.(e,{nodeId:i,handleId:r,handleType:P})}function U(e){var o,s;let p;if(!N){let{x:t,y:n}=nD(e),r=t-T,i=n-O;if(!(r*r+i*i>E*E))return;$()}if(!k()||!F)return void V(e);let g=w();S=function(e,t,n,r){let i=[],o=1/0;for(let a of function(e,t,n){let r=[],i={x:e.x-n,y:e.y-n,width:2*n,height:2*n};for(let e of t.values())ng(i,nf(e))>0&&r.push(e);return r}(e,n,t+250))for(let n of[...a.internals.handleBounds?.source??[],...a.internals.handleBounds?.target??[]]){if(r.nodeId===n.nodeId&&r.type===n.type&&r.id===n.id)continue;let{x:s,y:l}=n3(a,n,n.position,!0),u=Math.sqrt(Math.pow(s-e.x,2)+Math.pow(l-e.y,2));u>t||(u<o?(i=[{...n,x:s,y:l}],o=u):u===o&&i.push({...n,x:s,y:l}))}if(!i.length)return null;if(i.length>1){let e="source"===r.type?"target":"source";return i.find(t=>t.type===e)??i[0]}return i[0]}(nb(z=nD(e,j),g,!1,[1,1]),n,l,F),I||(!function e(){if(!h||!j)return;let[t,n]=nl(z,j,_);d({x:t,y:n}),C=requestAnimationFrame(e)}(),I=!0);let y=ry(e,{handle:S,connectionMode:t,fromNodeId:i,fromHandleId:r,fromType:a?"target":"source",isValidConnection:v,doc:M,lib:c,flowId:f,nodeLookup:l});B=y.handleDomNode,R=y.connection,o=!!S,s=y.isValid,p=null,s?p=!0:o&&!s&&(p=!1),D=p;let m=l.get(i),x=m?n3(m,F,u.Left,!0):H.from,A={...H,from:x,isValid:D,to:y.toHandle&&D?nw({x:y.toHandle.x,y:y.toHandle.y},g):z,toHandle:y.toHandle,toPosition:D&&y.toHandle?y.toHandle.position:t0[F.position],toNode:y.toHandle?l.get(y.toHandle.nodeId):null,pointer:z};b(A),H=A}function V(e){if(!("touches"in e)||!(e.touches.length>0)){if(N){(S||B)&&R&&D&&y?.(R);let{inProgress:t,...n}=H,r={...n,toPosition:H.toHandle?H.toPosition:null};m?.(e,r),o&&x?.(e,r)}p(),cancelAnimationFrame(C),I=!1,D=!1,R=null,B=null,M.removeEventListener("mousemove",U),M.removeEventListener("mouseup",V),M.removeEventListener("touchmove",U),M.removeEventListener("touchend",V)}}0===E&&$(),M.addEventListener("mousemove",U),M.addEventListener("mouseup",V),M.addEventListener("touchmove",U),M.addEventListener("touchend",V)},isValid:ry};function rv({domNode:e,panZoom:t,getTransform:n,getViewScale:r}){let i=en(e);return{update:function({translateExtent:e,width:o,height:a,zoomStep:s=1,pannable:l=!0,zoomable:u=!0,inversePan:c=!1}){let h=[0,0],f=tY().on("start",e=>{("mousedown"===e.sourceEvent.type||"touchstart"===e.sourceEvent.type)&&(h=[e.sourceEvent.clientX??e.sourceEvent.touches[0].clientX,e.sourceEvent.clientY??e.sourceEvent.touches[0].clientY])}).on("zoom",l?i=>{let s=n();if("mousemove"!==i.sourceEvent.type&&"touchmove"!==i.sourceEvent.type||!t)return;let l=[i.sourceEvent.clientX??i.sourceEvent.touches[0].clientX,i.sourceEvent.clientY??i.sourceEvent.touches[0].clientY],u=[l[0]-h[0],l[1]-h[1]];h=l;let f=r()*Math.max(s[2],Math.log(s[2]))*(c?-1:1),d={x:s[0]-u[0]*f,y:s[1]-u[1]*f};t.setViewportConstrained({x:d.x,y:d.y,zoom:s[2]},[[0,0],[o,a]],e)}:null).on("zoom.wheel",u?e=>{if("wheel"!==e.sourceEvent.type||!t)return;let r=n(),i=e.sourceEvent.ctrlKey&&nE()?10:1,o=-e.sourceEvent.deltaY*(1===e.sourceEvent.deltaMode?.05:e.sourceEvent.deltaMode?1:.002)*s,a=r[2]*Math.pow(2,o*i);t.scaleTo(a)}:null);i.call(f,{})},destroy:function(){i.on("zoom",null)},pointer:er}}let rx=e=>({x:e.x,y:e.y,zoom:e.k}),rb=({x:e,y:t,zoom:n})=>tR.translate(e,t).scale(n),rw=(e,t)=>e.target.closest(`.${t}`),rk=(e,t)=>2===t&&Array.isArray(e)&&e.includes(2),r_=e=>((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2,rE=(e,t=0,n=r_,r=()=>{})=>{let i="number"==typeof t&&t>0;return i||r(),i?e.transition().duration(t).ease(n).on("end",r):e},rA=e=>{let t=e.ctrlKey&&nE()?10:1;return-e.deltaY*(1===e.deltaMode?.05:e.deltaMode?1:.002)*t};function rS({domNode:e,minZoom:t,maxZoom:n,translateExtent:r,viewport:i,onPanZoom:a,onPanZoomStart:s,onPanZoomEnd:l,onDraggingChange:u}){let c={isZoomingOrPanning:!1,usedRightMouseButton:!1,prevViewport:{x:0,y:0,zoom:0},mouseButton:0,timerId:void 0,panScrollTimeout:void 0,isPanScrolling:!1},h=e.getBoundingClientRect(),f=tY().scaleExtent([t,n]).translateExtent(r),d=en(e).call(f);v({x:i.x,y:i.y,zoom:ni(i.zoom,t,n)},[[0,0],[h.width,h.height]],r);let p=d.on("wheel.zoom"),g=d.on("dblclick.zoom");function y(e,t){return d?new Promise(n=>{f?.interpolate(t?.interpolate==="linear"?tW:em).transform(rE(d,t?.duration,t?.ease,()=>n(!0)),e)}):Promise.resolve(!1)}function m(){f.on("zoom",null)}async function v(e,t,n){let r=rb(e),i=f?.constrain()(r,t,n);return i&&await y(i),new Promise(e=>e(i))}return f.wheelDelta(rA),{update:function({noWheelClassName:e,noPanClassName:t,onPaneContextMenu:n,userSelectionActive:r,panOnScroll:i,panOnDrag:h,panOnScrollMode:y,panOnScrollSpeed:v,preventScrolling:x,zoomOnPinch:b,zoomOnScroll:w,zoomOnDoubleClick:k,zoomActivationKeyPressed:_,lib:E,onTransformChange:A,connectionInProgress:S,paneClickDistance:M,selectionOnDrag:C}){r&&!c.isZoomingOrPanning&&m();let T=i&&!_&&!r;f.clickDistance(C?1/0:!nm(M)||M<0?0:M);let O=T?function({zoomPanValues:e,noWheelClassName:t,d3Selection:n,d3Zoom:r,panOnScrollMode:i,panOnScrollSpeed:a,zoomOnPinch:s,onPanZoomStart:l,onPanZoom:u,onPanZoomEnd:c}){return h=>{if(rw(h,t))return h.ctrlKey&&h.preventDefault(),!1;h.preventDefault(),h.stopImmediatePropagation();let f=n.property("__zoom").k||1;if(h.ctrlKey&&s){let e=er(h),t=f*Math.pow(2,rA(h));r.scaleTo(n,t,e,h);return}let d=1===h.deltaMode?20:1,p=i===o.Vertical?0:h.deltaX*d,g=i===o.Horizontal?0:h.deltaY*d;!nE()&&h.shiftKey&&i!==o.Vertical&&(p=h.deltaY*d,g=0),r.translateBy(n,-(p/f)*a,-(g/f)*a,{internal:!0});let y=rx(n.property("__zoom"));clearTimeout(e.panScrollTimeout),e.isPanScrolling?(u?.(h,y),e.panScrollTimeout=setTimeout(()=>{c?.(h,y),e.isPanScrolling=!1},150)):(e.isPanScrolling=!0,l?.(h,y))}}({zoomPanValues:c,noWheelClassName:e,d3Selection:d,d3Zoom:f,panOnScrollMode:y,panOnScrollSpeed:v,zoomOnPinch:b,onPanZoomStart:s,onPanZoom:a,onPanZoomEnd:l}):function({noWheelClassName:e,preventScrolling:t,d3ZoomHandler:n}){return function(r,i){let o="wheel"===r.type,a=!t&&o&&!r.ctrlKey,s=rw(r,e);if(r.ctrlKey&&o&&s&&r.preventDefault(),a||s)return null;r.preventDefault(),n.call(this,r,i)}}({noWheelClassName:e,preventScrolling:x,d3ZoomHandler:p});if(d.on("wheel.zoom",O,{passive:!1}),!r){let e=function({zoomPanValues:e,onDraggingChange:t,onPanZoomStart:n}){return r=>{if(r.sourceEvent?.internal)return;let i=rx(r.transform);e.mouseButton=r.sourceEvent?.button||0,e.isZoomingOrPanning=!0,e.prevViewport=i,r.sourceEvent?.type==="mousedown"&&t(!0),n&&n?.(r.sourceEvent,i)}}({zoomPanValues:c,onDraggingChange:u,onPanZoomStart:s});f.on("start",e);let t=function({zoomPanValues:e,panOnDrag:t,onPaneContextMenu:n,onTransformChange:r,onPanZoom:i}){return o=>{e.usedRightMouseButton=!!(n&&rk(t,e.mouseButton??0)),o.sourceEvent?.sync||r([o.transform.x,o.transform.y,o.transform.k]),i&&!o.sourceEvent?.internal&&i?.(o.sourceEvent,rx(o.transform))}}({zoomPanValues:c,panOnDrag:h,onPaneContextMenu:!!n,onPanZoom:a,onTransformChange:A});f.on("zoom",t);let r=function({zoomPanValues:e,panOnDrag:t,panOnScroll:n,onDraggingChange:r,onPanZoomEnd:i,onPaneContextMenu:o}){return a=>{if(!a.sourceEvent?.internal&&(e.isZoomingOrPanning=!1,o&&rk(t,e.mouseButton??0)&&!e.usedRightMouseButton&&a.sourceEvent&&o(a.sourceEvent),e.usedRightMouseButton=!1,r(!1),i)){let t=rx(a.transform);e.prevViewport=t,clearTimeout(e.timerId),e.timerId=setTimeout(()=>{i?.(a.sourceEvent,t)},150*!!n)}}}({zoomPanValues:c,panOnDrag:h,panOnScroll:i,onPaneContextMenu:n,onPanZoomEnd:l,onDraggingChange:u});f.on("end",r)}let P=function({zoomActivationKeyPressed:e,zoomOnScroll:t,zoomOnPinch:n,panOnDrag:r,panOnScroll:i,zoomOnDoubleClick:o,userSelectionActive:a,noWheelClassName:s,noPanClassName:l,lib:u,connectionInProgress:c}){return h=>{let f=e||t,d=n&&h.ctrlKey,p="wheel"===h.type;if(1===h.button&&"mousedown"===h.type&&(rw(h,`${u}-flow__node`)||rw(h,`${u}-flow__edge`)))return!0;if(!r&&!f&&!i&&!o&&!n||a||c&&!p||rw(h,s)&&p||rw(h,l)&&(!p||i&&p&&!e)||!n&&h.ctrlKey&&p)return!1;if(!n&&"touchstart"===h.type&&h.touches?.length>1)return h.preventDefault(),!1;if(!f&&!i&&!d&&p||!r&&("mousedown"===h.type||"touchstart"===h.type)||Array.isArray(r)&&!r.includes(h.button)&&"mousedown"===h.type)return!1;let g=Array.isArray(r)&&r.includes(h.button)||!h.button||h.button<=1;return(!h.ctrlKey||p)&&g}}({zoomActivationKeyPressed:_,panOnDrag:h,zoomOnScroll:w,panOnScroll:i,zoomOnDoubleClick:k,zoomOnPinch:b,userSelectionActive:r,noPanClassName:t,noWheelClassName:e,lib:E,connectionInProgress:S});f.filter(P),k?d.on("dblclick.zoom",g):d.on("dblclick.zoom",null)},destroy:m,setViewport:async function e(e,t){let n=rb(e);return await y(n,t),new Promise(e=>e(n))},setViewportConstrained:v,getViewport:function(){let e=d?tD(d.node()):{x:0,y:0,k:1};return{x:e.x,y:e.y,zoom:e.k}},scaleTo:function(e,t){return d?new Promise(n=>{f?.interpolate(t?.interpolate==="linear"?tW:em).scaleTo(rE(d,t?.duration,t?.ease,()=>n(!0)),e)}):Promise.resolve(!1)},scaleBy:function(e,t){return d?new Promise(n=>{f?.interpolate(t?.interpolate==="linear"?tW:em).scaleBy(rE(d,t?.duration,t?.ease,()=>n(!0)),e)}):Promise.resolve(!1)},setScaleExtent:function(e){f?.scaleExtent(e)},setTranslateExtent:function(e){f?.translateExtent(e)},syncViewport:function(e){if(d){let t=rb(e),n=d.property("__zoom");(n.k!==e.zoom||n.x!==e.x||n.y!==e.y)&&f?.transform(d,t,null,{sync:!0})}},setClickDistance:function(e){let t=!nm(e)||e<0?0:e;f?.clickDistance(t)}}}!function(e){e.Line="line",e.Handle="handle"}(c||(c={}))},74902:(e,t,n)=>{var r=n(5190);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},74967:e=>{e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},75038:(e,t,n)=>{var r=n(44601),i=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},75172:(e,t,n)=>{var r=n(37874);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},75278:(e,t,n)=>{"use strict";n.d(t,{i:()=>i,u:()=>r});let r=500,i=16},75285:()=>{},76176:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var r=n(84669),i=n(73605),o=n(83668);let a=r.forwardRef(function(e,t){let{render:n,className:r,...a}=e,{cornerRef:s,cornerSize:l,hiddenState:u}=(0,i.p)(),c=(0,o.o)("div",e,{ref:[t,s],props:[{style:{position:"absolute",bottom:0,insetInlineEnd:0,width:l.width,height:l.height}},a]});return u.corner?null:c})},76342:(e,t,n)=>{var r=n(6548),i=n(29463),o=n(15241),a=n(64394),s=n(5038),l=n(25046);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=l,e.exports=u},76911:(e,t,n)=>{var r=n(43066),i=n(28604),o=n(94881),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},76978:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Table",[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]])},77166:(e,t,n)=>{var r=n(76911),i=n(70993),o=n(53393),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},77691:(e,t,n)=>{var r=n(67545),i=0;e.exports=function(e){var t=++i;return r(e)+t}},77908:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}},77934:(e,t,n)=>{e.exports=n(9018)()},77946:(e,t,n)=>{"use strict";function r(e,t,n){if(!e)return 0;let r=getComputedStyle(e),i="x"===n?"Inline":"Block";return"x"===n&&"margin"===t?2*parseFloat(r[`${t}InlineStart`]):parseFloat(r[`${t}${i}Start`])+parseFloat(r[`${t}${i}End`])}n.d(t,{A:()=>r})},77947:(e,t,n)=>{var r=n(43181),i=n(6278),o=n(21358),a=n(63317),s=n(28086);e.exports=function(e,t,n){var l=s(e)?r:a,u=arguments.length<3;return l(e,o(t,4),n,u,i)}},78644:(e,t,n)=>{e.exports={components:n(10636),dijkstra:n(57170),dijkstraAll:n(41952),findCycles:n(37865),floydWarshall:n(38317),isAcyclic:n(19677),postorder:n(63014),preorder:n(34579),prim:n(64332),tarjan:n(17248),topsort:n(11863)}},78903:(e,t,n)=>{"use strict";var r=n(61008),i=n(89582);e.exports={run:function(e){var t,n,o,a,s,l="greedy"===e.graph().acyclicer?i(e,(t=e,function(e){return t.edge(e).weight})):(n=e,o=[],a={},s={},r.forEach(n.nodes(),function e(t){r.has(s,t)||(s[t]=!0,a[t]=!0,r.forEach(n.outEdges(t),function(t){r.has(a,t.w)?o.push(t):e(t.w)}),delete a[t])}),o);r.forEach(l,function(t){var n=e.edge(t);e.removeEdge(t),n.forwardName=t.name,n.reversed=!0,e.setEdge(t.w,t.v,n,r.uniqueId("rev"))})},undo:function(e){r.forEach(e.edges(),function(t){var n=e.edge(t);if(n.reversed){e.removeEdge(t);var r=n.forwardName;delete n.reversed,delete n.forwardName,e.setEdge(t.w,t.v,n,r)}})}}},78926:(e,t,n)=>{var r;try{r={clone:n(54050),constant:n(84337),each:n(65840),filter:n(4899),has:n(58543),isArray:n(28086),isEmpty:n(34862),isFunction:n(62793),isUndefined:n(27443),keys:n(37885),map:n(21901),reduce:n(77947),size:n(11376),transform:n(6891),union:n(48912),values:n(21239)}}catch(e){}r||(r=window._),e.exports=r},79143:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Move",[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]])},79230:(e,t,n)=>{var r=n(95441);e.exports=function(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},79463:(e,t,n)=>{"use strict";var r=n(61008);e.exports=function(e){var t={},n=r.filter(e.nodes(),function(t){return!e.children(t).length}),i=r.max(r.map(n,function(t){return e.node(t).rank})),o=r.map(r.range(i+1),function(){return[]}),a=r.sortBy(n,function(t){return e.node(t).rank});return r.forEach(a,function n(i){r.has(t,i)||(t[i]=!0,o[e.node(i).rank].push(i),r.forEach(e.successors(i),n))}),o}},79502:e=>{e.exports=function(e){return function(t){return e(t)}}},79690:(e,t,n)=>{var r=n(61008);e.exports=function(e){var t,n,i,o=(t=e,n={},i=0,r.forEach(t.children(),function e(o){var a=i;r.forEach(t.children(o),e),n[o]={low:a,lim:i++}}),n);r.forEach(e.graph().dummyChains,function(t){for(var n=e.node(t),r=n.edgeObj,i=function(e,t,n,r){var i,o,a=[],s=[],l=Math.min(t[n].low,t[r].low),u=Math.max(t[n].lim,t[r].lim);i=n;do a.push(i=e.parent(i));while(i&&(t[i].low>l||u>t[i].lim));for(o=i,i=r;(i=e.parent(i))!==o;)s.push(i);return{path:a.concat(s.reverse()),lca:o}}(e,o,r.v,r.w),a=i.path,s=i.lca,l=0,u=a[0],c=!0;t!==r.w;){if(n=e.node(t),c){for(;(u=a[l])!==s&&e.node(u).maxRank<n.rank;)l++;u===s&&(c=!1)}if(!c){for(;l<a.length-1&&e.node(u=a[l+1]).minRank<=n.rank;)l++;u=a[l]}e.setParent(t,u),t=e.successors(t)[0]}})}},79817:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("GitFork",[["circle",{cx:"12",cy:"18",r:"3",key:"1mpf1b"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["path",{d:"M18 9v2c0 .6-.4 1-1 1H7c-.6 0-1-.4-1-1V9",key:"1uq4wg"}],["path",{d:"M12 12v3",key:"158kv8"}]])},79914:(e,t,n)=>{e.exports=n(88165)(n(33150))},79918:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},80217:(e,t,n)=>{"use strict";var r=n(84669),i=n(53215),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=i.useSyncExternalStore,s=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var h=s(null);if(null===h.current){var f={hasValue:!1,value:null};h.current=f}else f=h.current;var d=a(e,(h=u(function(){function e(e){if(!l){if(l=!0,a=e,e=r(e),void 0!==i&&f.hasValue){var t=f.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var n=r(e);return void 0!==i&&i(t,n)?(a=e,t):(a=e,s=n)}var a,s,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]},[t,n,r,i]))[0],h[1]);return l(function(){f.hasValue=!0,f.value=d},[d]),c(d),d}},80744:(e,t,n)=>{var r=n(37874);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},81393:(e,t,n)=>{"use strict";n.d(t,{X:()=>s});var r=n(84669),i=n(83668),o=n(33172),a=n(46832);let s=r.forwardRef(function(e,t){let{render:n,className:r,...s}=e,{state:l}=(0,o.A)();return(0,i.o)("div",e,{state:l,ref:t,props:s,stateAttributesMapping:a.I})})},81413:(e,t,n)=>{var r=n(32550),i=n(75038);e.exports=function(e,t){t=r(t,e);for(var n=0,o=t.length;null!=e&&n<o;)e=e[i(t[n++])];return n&&n==o?e:void 0}},81753:(e,t,n)=>{var r=n(26458),i=n(53393);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},82884:(e,t,n)=>{var r=n(61008),i=n(25805),o=n(72350).Graph;e.exports={debugOrdering:function(e){var t=i.buildLayerMatrix(e),n=new o({compound:!0,multigraph:!0}).setGraph({});return r.forEach(e.nodes(),function(t){n.setNode(t,{label:t}),n.setParent(t,"layer"+e.node(t).rank)}),r.forEach(e.edges(),function(e){n.setEdge(e.v,e.w,{},e.name)}),r.forEach(t,function(e,t){n.setNode("layer"+t,{rank:"same"}),r.reduce(e,function(e,t){return n.setEdge(e,t,{style:"invis"}),t})}),n}}},83527:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},83928:(e,t,n)=>{var r=n(87592),i=n(4476),o=n(55816);e.exports=function(e,t,n){return t==t?o(e,t,n):r(e,i,n)}},83955:(e,t,n)=>{var r=n(45966),i=n(6548),o=n(54800);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},84337:e=>{e.exports=function(e){return function(){return e}}},84661:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});let r=function(e){return e.scrolling="data-scrolling",e.hasOverflowX="data-has-overflow-x",e.hasOverflowY="data-has-overflow-y",e.overflowXStart="data-overflow-x-start",e.overflowXEnd="data-overflow-x-end",e.overflowYStart="data-overflow-y-start",e.overflowYEnd="data-overflow-y-end",e}({}),i={hasOverflowX:e=>e?{[r.hasOverflowX]:""}:null,hasOverflowY:e=>e?{[r.hasOverflowY]:""}:null,overflowXStart:e=>e?{[r.overflowXStart]:""}:null,overflowXEnd:e=>e?{[r.overflowXEnd]:""}:null,overflowYStart:e=>e?{[r.overflowYStart]:""}:null,overflowYEnd:e=>e?{[r.overflowYEnd]:""}:null,cornerHidden:()=>null}},84925:e=>{e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},84991:(e,t,n)=>{var r=n(2628),i=n(88282);e.exports=function(e){return r(e,i(e))}},85060:(e,t,n)=>{var r=n(34649);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},85513:(e,t,n)=>{e.exports=n(92620)(Object.keys,Object)},85844:(e,t,n)=>{var r=n(56435),i=n(6996),o=n(62853),a=n(36915);e.exports=o(function(e,t){if(null==e)return[];var n=t.length;return n>1&&a(e,t[0],t[1])?t=[]:n>2&&a(t[0],t[1],t[2])&&(t=[t[0]]),i(e,r(t,1),[])})},85996:(e,t,n)=>{var r=n(76911),i=n(17604),o=n(53393),a=Object.prototype,s=Function.prototype.toString,l=a.hasOwnProperty,u=s.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&s.call(n)==u}},86317:(e,t,n)=>{var r=n(84337),i=n(87604),o=n(38875);e.exports=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o},86858:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var r=n(84669),i=n(83668);let o=r.forwardRef(function(e,t){let{className:n,render:r,orientation:o="horizontal",...a}=e;return(0,i.o)("div",e,{state:{orientation:o},ref:t,props:[{role:"separator","aria-orientation":o},a]})})},87065:(e,t,n)=>{var r=n(61008);e.exports=function(e,t,n){var i,o={};r.forEach(n,function(n){for(var r,a,s=e.parent(n);s;){if((r=e.parent(s))?(a=o[r],o[r]=s):(a=i,i=s),a&&a!==s)return void t.setEdge(a,s);s=r}})}},87592:e=>{e.exports=function(e,t,n,r){for(var i=e.length,o=n+(r?1:-1);r?o--:++o<i;)if(t(e[o],o,e))return o;return -1}},87604:(e,t,n)=>{var r=n(92069);e.exports=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},87891:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Fullscreen",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["rect",{width:"10",height:"8",x:"7",y:"8",rx:"1",key:"vys8me"}]])},88165:(e,t,n)=>{var r=n(21358),i=n(64753),o=n(37885);e.exports=function(e){return function(t,n,a){var s=Object(t);if(!i(t)){var l=r(n,3);t=o(t),n=function(e){return l(s[e],e,s)}}var u=e(t,n,a);return u>-1?s[l?t[u]:u]:void 0}}},88169:(e,t,n)=>{var r=n(43066),i=n(11479),o=n(94271),a=n(1444),s=n(44382),l=n(77908),u=r?r.prototype:void 0,c=u?u.valueOf:void 0;e.exports=function(e,t,n,r,u,h,f){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":if(e.byteLength!=t.byteLength||!h(new i(e),new i(t)))break;return!0;case"[object Boolean]":case"[object Date]":case"[object Number]":return o(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var d=s;case"[object Set]":var p=1&r;if(d||(d=l),e.size!=t.size&&!p)break;var g=f.get(e);if(g)return g==t;r|=2,f.set(e,t);var y=a(d(e),d(t),r,u,h,f);return f.delete(e),y;case"[object Symbol]":if(c)return c.call(e)==c.call(t)}return!1}},88282:(e,t,n)=>{var r=n(32244),i=n(74816),o=n(64753);e.exports=function(e){return o(e)?r(e,!0):i(e)}},88456:(e,t,n)=>{"use strict";var r=n(61008);e.exports={longestPath:function(e){var t={};r.forEach(e.sources(),function n(i){var o=e.node(i);if(r.has(t,i))return o.rank;t[i]=!0;var a=r.min(r.map(e.outEdges(i),function(t){return n(t.w)-e.edge(t).minlen}));return(a===1/0||null==a)&&(a=0),o.rank=a})},slack:function(e,t){return e.node(t.w).rank-e.node(t.v).rank-e.edge(t).minlen}}},88526:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("List",[["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 18h.01",key:"1tta3j"}],["path",{d:"M3 6h.01",key:"1rqtza"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 18h13",key:"1lx6n3"}],["path",{d:"M8 6h13",key:"ik3vkj"}]])},88670:(e,t,n)=>{"use strict";n.d(t,{V:()=>_});var r=n(84669),i=n(66992),o=n(15456),a=n(73605),s=n(83668),l=n(96891),u=n(75278),c=n(77946);let h=function(e){return e.orientation="data-orientation",e.hovering="data-hovering",e.scrolling="data-scrolling",e.hasOverflowX="data-has-overflow-x",e.hasOverflowY="data-has-overflow-y",e.overflowXStart="data-overflow-x-start",e.overflowXEnd="data-overflow-x-end",e.overflowYStart="data-overflow-y-start",e.overflowYEnd="data-overflow-y-end",e}({});var f=n(72331),d=n(57309),p=n(84661),g=n(40213);let y=r.createContext(void 0),m={disableStyleElements:!1};var v=n(6409);let x={x:0,y:0},b={width:0,height:0},w={xStart:!1,xEnd:!1,yStart:!1,yEnd:!1},k={x:!0,y:!0,corner:!0},_=r.forwardRef(function(e,t){var n;let{render:_,className:E,overflowEdgeThreshold:A,...S}=e,M=function(e){if("number"==typeof e){let t=Math.max(0,e);return{xStart:t,xEnd:t,yStart:t,yEnd:t}}return{xStart:Math.max(0,(null==e?void 0:e.xStart)||0),xEnd:Math.max(0,(null==e?void 0:e.xEnd)||0),yStart:Math.max(0,(null==e?void 0:e.yStart)||0),yEnd:Math.max(0,(null==e?void 0:e.yEnd)||0)}}(A),C=(0,d.e)(),T=(0,o.Z)(),O=(0,o.Z)(),{nonce:P,disableStyleElements:j}=null!=(n=r.useContext(y))?n:m,[N,L]=r.useState(!1),[z,I]=r.useState(!1),[R,D]=r.useState(!1),[B,F]=r.useState(!1),[q,H]=r.useState(!1),[$,U]=r.useState(b),[V,X]=r.useState(b),[Y,W]=r.useState(w),[K,G]=r.useState(k),Z=r.useRef(null),Q=r.useRef(null),J=r.useRef(null),ee=r.useRef(null),et=r.useRef(null),en=r.useRef(null),er=r.useRef(null),ei=r.useRef(!1),eo=r.useRef(0),ea=r.useRef(0),es=r.useRef(0),el=r.useRef(0),eu=r.useRef("vertical"),ec=r.useRef(x),eh=(0,i.K)(e=>{let t=e.x-ec.current.x,n=e.y-ec.current.y;ec.current=e,0!==n&&(D(!0),T.start(u.u,()=>{D(!1)})),0!==t&&(I(!0),O.start(u.u,()=>{I(!1)}))}),ef=(0,i.K)(e=>{0===e.button&&(ei.current=!0,eo.current=e.clientY,ea.current=e.clientX,eu.current=e.currentTarget.getAttribute(h.orientation),Q.current&&(es.current=Q.current.scrollTop,el.current=Q.current.scrollLeft),et.current&&"vertical"===eu.current&&et.current.setPointerCapture(e.pointerId),en.current&&"horizontal"===eu.current&&en.current.setPointerCapture(e.pointerId))}),ed=(0,i.K)(e=>{if(!ei.current)return;let t=e.clientY-eo.current,n=e.clientX-ea.current;if(Q.current){let r=Q.current.scrollHeight,i=Q.current.clientHeight,o=Q.current.scrollWidth,a=Q.current.clientWidth;if(et.current&&J.current&&"vertical"===eu.current){let n=(0,c.A)(J.current,"padding","y"),o=(0,c.A)(et.current,"margin","y"),a=et.current.offsetHeight,s=J.current.offsetHeight-a-n-o;Q.current.scrollTop=es.current+t/s*(r-i),e.preventDefault(),D(!0),T.start(u.u,()=>{D(!1)})}if(en.current&&ee.current&&"horizontal"===eu.current){let t=(0,c.A)(ee.current,"padding","x"),r=(0,c.A)(en.current,"margin","x"),i=en.current.offsetWidth,s=ee.current.offsetWidth-i-t-r;Q.current.scrollLeft=el.current+n/s*(o-a),e.preventDefault(),I(!0),O.start(u.u,()=>{I(!1)})}}}),ep=(0,i.K)(e=>{ei.current=!1,et.current&&"vertical"===eu.current&&et.current.releasePointerCapture(e.pointerId),en.current&&"horizontal"===eu.current&&en.current.releasePointerCapture(e.pointerId)});function eg(e){F("touch"===e.pointerType)}function ey(e){eg(e),"touch"!==e.pointerType&&L((0,g.gR)(Z.current,e.target))}let em=r.useMemo(()=>({scrolling:z||R,hasOverflowX:!K.x,hasOverflowY:!K.y,overflowXStart:Y.xStart,overflowXEnd:Y.xEnd,overflowYStart:Y.yStart,overflowYEnd:Y.yEnd,cornerHidden:K.corner}),[z,R,K.x,K.y,K.corner,Y]),ev={role:"presentation",onPointerEnter:ey,onPointerMove:ey,onPointerDown:eg,onPointerLeave(){L(!1)},style:{position:"relative",[l.I.scrollAreaCornerHeight]:"".concat($.height,"px"),[l.I.scrollAreaCornerWidth]:"".concat($.width,"px")}},ex=(0,s.o)("div",e,{state:em,ref:[t,Z],props:[ev,S],stateAttributesMapping:p.r}),eb=r.useMemo(()=>({handlePointerDown:ef,handlePointerMove:ed,handlePointerUp:ep,handleScroll:eh,cornerSize:$,setCornerSize:U,thumbSize:V,setThumbSize:X,hasMeasuredScrollbar:q,setHasMeasuredScrollbar:H,touchModality:B,cornerRef:er,scrollingX:z,setScrollingX:I,scrollingY:R,setScrollingY:D,hovering:N,setHovering:L,viewportRef:Q,rootRef:Z,scrollbarYRef:J,scrollbarXRef:ee,thumbYRef:et,thumbXRef:en,rootId:C,hiddenState:K,setHiddenState:G,overflowEdges:Y,setOverflowEdges:W,viewportState:em,overflowEdgeThreshold:M}),[ef,ed,ep,eh,$,V,q,B,z,I,R,D,N,L,C,K,Y,em,M]);return(0,v.jsxs)(a.a.Provider,{value:eb,children:[!j&&f.E.getElement(P),ex]})})},88974:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},89067:(e,t,n)=>{var r=n(62853),i=n(94271),o=n(36915),a=n(88282),s=Object.prototype,l=s.hasOwnProperty;e.exports=r(function(e,t){e=Object(e);var n=-1,r=t.length,u=r>2?t[2]:void 0;for(u&&o(t[0],t[1],u)&&(r=1);++n<r;)for(var c=t[n],h=a(c),f=-1,d=h.length;++f<d;){var p=h[f],g=e[p];(void 0===g||i(g,s[p])&&!l.call(e,p))&&(e[p]=c[p])}return e})},89111:(e,t,n)=>{var r=n(27659),i=n(37885);e.exports=function(e){for(var t=i(e),n=t.length;n--;){var o=t[n],a=e[o];t[n]=[o,a,r(a)]}return t}},89358:e=>{e.exports=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}},89582:(e,t,n)=>{var r=n(61008),i=n(72350).Graph,o=n(93650);e.exports=function(e,t){if(1>=e.nodeCount())return[];var n,u,c,h,f,d,p,g=(n=e,u=t||a,c=new i,h=0,f=0,r.forEach(n.nodes(),function(e){c.setNode(e,{v:e,in:0,out:0})}),r.forEach(n.edges(),function(e){var t=c.edge(e.v,e.w)||0,n=u(e);c.setEdge(e.v,e.w,t+n),f=Math.max(f,c.node(e.v).out+=n),h=Math.max(h,c.node(e.w).in+=n)}),d=r.range(f+h+3).map(function(){return new o}),p=h+1,r.forEach(c.nodes(),function(e){l(d,p,c.node(e))}),{graph:c,buckets:d,zeroIdx:p}),y=function(e,t,n){for(var r,i=[],o=t[t.length-1],a=t[0];e.nodeCount();){for(;r=a.dequeue();)s(e,t,n,r);for(;r=o.dequeue();)s(e,t,n,r);if(e.nodeCount()){for(var l=t.length-2;l>0;--l)if(r=t[l].dequeue()){i=i.concat(s(e,t,n,r,!0));break}}}return i}(g.graph,g.buckets,g.zeroIdx);return r.flatten(r.map(y,function(t){return e.outEdges(t.v,t.w)}),!0)};var a=r.constant(1);function s(e,t,n,i,o){var a=o?[]:void 0;return r.forEach(e.inEdges(i.v),function(r){var i=e.edge(r),s=e.node(r.v);o&&a.push({v:r.v,w:r.w}),s.out-=i,l(t,n,s)}),r.forEach(e.outEdges(i.v),function(r){var i=e.edge(r),o=r.w,a=e.node(o);a.in-=i,l(t,n,a)}),e.removeNode(i.v),a}function l(e,t,n){n.out?n.in?e[n.out-n.in+t].enqueue(n):e[e.length-1].enqueue(n):e[0].enqueue(n)}},89868:(e,t,n)=>{"use strict";var r=n(61008),i=n(79463),o=n(16614),a=n(24617),s=n(26221),l=n(87065),u=n(72350).Graph,c=n(25805);function h(e,t,n){return r.map(t,function(t){return s(e,t,n)})}function f(e,t){r.forEach(t,function(t){r.forEach(t,function(t,n){e.node(t).order=n})})}e.exports=function(e){var t=c.maxRank(e),n=h(e,r.range(1,t+1),"inEdges"),s=h(e,r.range(t-1,-1,-1),"outEdges"),d=i(e);f(e,d);for(var p,g=1/0,y=0,m=0;m<4;++y,++m){(function(e,t){var n=new u;r.forEach(e,function(e){var i=e.graph().root,o=a(e,i,n,t);r.forEach(o.vs,function(t,n){e.node(t).order=n}),l(e,n,o.vs)})})(y%2?n:s,y%4>=2),d=c.buildLayerMatrix(e);var v=o(e,d);v<g&&(m=0,p=r.cloneDeep(d),g=v)}f(e,p)}},91202:(e,t,n)=>{"use strict";n.d(t,{A:()=>function e(t){if("string"==typeof t||"number"==typeof t)return""+t;let n="";if(Array.isArray(t))for(let r=0,i;r<t.length;r++)""!==(i=e(t[r]))&&(n+=(n&&" ")+i);else for(let e in t)t[e]&&(n+=(n&&" ")+e);return n}})},92069:(e,t,n)=>{var r=n(69356),i=n(83527);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},92552:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},92620:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},93114:(e,t,n)=>{var r=n(86317);e.exports=n(2e4)(r)},93650:e=>{function t(){var e={};e._next=e._prev=e,this._sentinel=e}function n(e){e._prev._next=e._next,e._next._prev=e._prev,delete e._next,delete e._prev}function r(e,t){if("_next"!==e&&"_prev"!==e)return t}e.exports=t,t.prototype.dequeue=function(){var e=this._sentinel,t=e._prev;if(t!==e)return n(t),t},t.prototype.enqueue=function(e){var t=this._sentinel;e._prev&&e._next&&n(e),e._next=t._next,t._next._prev=e,t._next=e,e._prev=t},t.prototype.toString=function(){for(var e=[],t=this._sentinel,n=t._prev;n!==t;)e.push(JSON.stringify(n,r)),n=n._prev;return"["+e.join(", ")+"]"}},93968:(e,t,n)=>{"use strict";var r=n(61008),i=n(72350).Graph,o=n(88456).slack;e.exports=function(e){var t,n,a,s,l=new i({directed:!1}),u=e.nodes()[0],c=e.nodeCount();for(l.setNode(u,{});t=l,n=e,r.forEach(t.nodes(),function e(i){r.forEach(n.nodeEdges(i),function(r){var a=r.v,s=i===a?r.w:a;t.hasNode(s)||o(n,r)||(t.setNode(s,{}),t.setEdge(i,s,{}),e(s))})}),t.nodeCount()<c;)a=function(e,t){return r.minBy(t.edges(),function(n){if(e.hasNode(n.v)!==e.hasNode(n.w))return o(t,n)})}(l,e),s=l.hasNode(a.v)?o(e,a):-o(e,a),function(e,t,n){r.forEach(e.nodes(),function(e){t.node(e).rank+=n})}(l,e,s);return l}},94091:(e,t,n)=>{var r=n(9781),i=n(27398),o=n(93114);e.exports=function(e){return o(i(e,void 0,r),e+"")}},94109:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("CornerDownRight",[["polyline",{points:"15 10 20 15 15 20",key:"1q7qjw"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]])},94123:(e,t,n)=>{var r=n(76342),i=n(1444),o=n(88169),a=n(30842),s=n(26458),l=n(28086),u=n(26691),c=n(74632),h="[object Arguments]",f="[object Array]",d="[object Object]",p=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,g,y,m){var v=l(e),x=l(t),b=v?f:s(e),w=x?f:s(t);b=b==h?d:b,w=w==h?d:w;var k=b==d,_=w==d,E=b==w;if(E&&u(e)){if(!u(t))return!1;v=!0,k=!1}if(E&&!k)return m||(m=new r),v||c(e)?i(e,t,n,g,y,m):o(e,t,b,n,g,y,m);if(!(1&n)){var A=k&&p.call(e,"__wrapped__"),S=_&&p.call(t,"__wrapped__");if(A||S){var M=A?e.value():e,C=S?t.value():t;return m||(m=new r),y(M,C,n,g,m)}}return!!E&&(m||(m=new r),a(e,t,n,g,y,m))}},94271:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},94395:(e,t,n)=>{"use strict";var r=n(61008),i=n(78903),o=n(65296),a=n(19512),s=n(25805).normalizeRanks,l=n(79690),u=n(25805).removeEmptyRanks,c=n(27584),h=n(99254),f=n(43995),d=n(89868),p=n(21377),g=n(25805),y=n(72350).Graph;e.exports=function(e,t){var n=t&&t.debugTiming?g.time:g.notime;n("layout",function(){var t=n(" buildLayoutGraph",function(){var t,n,i;return t=e,n=new y({multigraph:!0,compound:!0}),i=S(t.graph()),n.setGraph(r.merge({},v,A(i,m),r.pick(i,x))),r.forEach(t.nodes(),function(e){var i=S(t.node(e));n.setNode(e,r.defaults(A(i,b),w)),n.setParent(e,t.parent(e))}),r.forEach(t.edges(),function(e){var i=S(t.edge(e));n.setEdge(e,r.merge({},_,A(i,k),r.pick(i,E)))}),n});n(" runLayout",function(){var e,y;e=t,(y=n)(" makeSpaceForEdgeLabels",function(){var t,n;n=(t=e).graph(),n.ranksep/=2,r.forEach(t.edges(),function(e){var r=t.edge(e);r.minlen*=2,"c"!==r.labelpos.toLowerCase()&&("TB"===n.rankdir||"BT"===n.rankdir?r.width+=r.labeloffset:r.height+=r.labeloffset)})}),y(" removeSelfEdges",function(){var t;t=e,r.forEach(t.edges(),function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e)}})}),y(" acyclic",function(){i.run(e)}),y(" nestingGraph.run",function(){c.run(e)}),y(" rank",function(){a(g.asNonCompoundGraph(e))}),y(" injectEdgeLabelProxies",function(){var t;t=e,r.forEach(t.edges(),function(e){var n=t.edge(e);if(n.width&&n.height){var r=t.node(e.v),i={rank:(t.node(e.w).rank-r.rank)/2+r.rank,e:e};g.addDummyNode(t,"edge-proxy",i,"_ep")}})}),y(" removeEmptyRanks",function(){u(e)}),y(" nestingGraph.cleanup",function(){c.cleanup(e)}),y(" normalizeRanks",function(){s(e)}),y(" assignRankMinMax",function(){var t,n;t=e,n=0,r.forEach(t.nodes(),function(e){var i=t.node(e);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,n=r.max(n,i.maxRank))}),t.graph().maxRank=n}),y(" removeEdgeLabelProxies",function(){var t;t=e,r.forEach(t.nodes(),function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))})}),y(" normalize.run",function(){o.run(e)}),y(" parentDummyChains",function(){l(e)}),y(" addBorderSegments",function(){h(e)}),y(" order",function(){d(e)}),y(" insertSelfEdges",function(){var t,n;t=e,n=g.buildLayerMatrix(t),r.forEach(n,function(e){var n=0;r.forEach(e,function(e,i){var o=t.node(e);o.order=i+n,r.forEach(o.selfEdges,function(e){g.addDummyNode(t,"selfedge",{width:e.label.width,height:e.label.height,rank:o.rank,order:i+ ++n,e:e.e,label:e.label},"_se")}),delete o.selfEdges})})}),y(" adjustCoordinateSystem",function(){f.adjust(e)}),y(" position",function(){p(e)}),y(" positionSelfEdges",function(){var t;t=e,r.forEach(t.nodes(),function(e){var n=t.node(e);if("selfedge"===n.dummy){var r=t.node(n.e.v),i=r.x+r.width/2,o=r.y,a=n.x-i,s=r.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:i+2*a/3,y:o-s},{x:i+5*a/6,y:o-s},{x:i+a,y:o},{x:i+5*a/6,y:o+s},{x:i+2*a/3,y:o+s}],n.label.x=n.x,n.label.y=n.y}})}),y(" removeBorderNodes",function(){var t;t=e,r.forEach(t.nodes(),function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),o=t.node(n.borderBottom),a=t.node(r.last(n.borderLeft)),s=t.node(r.last(n.borderRight));n.width=Math.abs(s.x-a.x),n.height=Math.abs(o.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}}),r.forEach(t.nodes(),function(e){"border"===t.node(e).dummy&&t.removeNode(e)})}),y(" normalize.undo",function(){o.undo(e)}),y(" fixupEdgeLabelCoords",function(){var t;t=e,r.forEach(t.edges(),function(e){var n=t.edge(e);if(r.has(n,"x"))switch(("l"===n.labelpos||"r"===n.labelpos)&&(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}})}),y(" undoCoordinateSystem",function(){f.undo(e)}),y(" translateGraph",function(){!function(e){var t=1/0,n=0,i=1/0,o=0,a=e.graph(),s=a.marginx||0,l=a.marginy||0;function u(e){var r=e.x,a=e.y,s=e.width,l=e.height;t=Math.min(t,r-s/2),n=Math.max(n,r+s/2),i=Math.min(i,a-l/2),o=Math.max(o,a+l/2)}r.forEach(e.nodes(),function(t){u(e.node(t))}),r.forEach(e.edges(),function(t){var n=e.edge(t);r.has(n,"x")&&u(n)}),t-=s,i-=l,r.forEach(e.nodes(),function(n){var r=e.node(n);r.x-=t,r.y-=i}),r.forEach(e.edges(),function(n){var o=e.edge(n);r.forEach(o.points,function(e){e.x-=t,e.y-=i}),r.has(o,"x")&&(o.x-=t),r.has(o,"y")&&(o.y-=i)}),a.width=n-t+s,a.height=o-i+l}(e)}),y(" assignNodeIntersects",function(){var t;t=e,r.forEach(t.edges(),function(e){var n,r,i=t.edge(e),o=t.node(e.v),a=t.node(e.w);i.points?(n=i.points[0],r=i.points[i.points.length-1]):(i.points=[],n=a,r=o),i.points.unshift(g.intersectRect(o,n)),i.points.push(g.intersectRect(a,r))})}),y(" reversePoints",function(){var t;t=e,r.forEach(t.edges(),function(e){var n=t.edge(e);n.reversed&&n.points.reverse()})}),y(" acyclic.undo",function(){i.undo(e)})}),n(" updateInputGraph",function(){var n,i;n=e,i=t,r.forEach(n.nodes(),function(e){var t=n.node(e),r=i.node(e);t&&(t.x=r.x,t.y=r.y,i.children(e).length&&(t.width=r.width,t.height=r.height))}),r.forEach(n.edges(),function(e){var t=n.edge(e),o=i.edge(e);t.points=o.points,r.has(o,"x")&&(t.x=o.x,t.y=o.y)}),n.graph().width=i.graph().width,n.graph().height=i.graph().height})})};var m=["nodesep","edgesep","ranksep","marginx","marginy"],v={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},x=["acyclicer","ranker","rankdir","align"],b=["width","height"],w={width:0,height:0},k=["minlen","weight","width","height","labeloffset"],_={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},E=["labelpos"];function A(e,t){return r.mapValues(r.pick(e,t),Number)}function S(e){var t={};return r.forEach(e,function(e,n){t[n.toLowerCase()]=e}),t}},94565:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Key",[["path",{d:"m15.5 7.5 2.3 2.3a1 1 0 0 0 1.4 0l2.1-2.1a1 1 0 0 0 0-1.4L19 4",key:"g0fldk"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}]])},94759:(e,t,n)=>{var r=n(2613);e.exports=n(73136)(function(e,t,n){r(e,t,n)})},94835:(e,t,n)=>{var r=n(20502);e.exports=function(){return r.Date.now()}},94881:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},95441:(e,t,n)=>{e.exports=n(92069)(Object,"create")},95694:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},95847:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]])},95990:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]])},96459:(e,t,n)=>{var r=n(26458),i=n(53393);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},96891:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});let r=function(e){return e.scrollAreaCornerHeight="--scroll-area-corner-height",e.scrollAreaCornerWidth="--scroll-area-corner-width",e}({})},97178:e=>{e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},97226:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?0x1fffffffffffff:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},97463:(e,t,n)=>{var r=n(87604);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},98238:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},98682:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},98968:(e,t,n)=>{var r=n(74967),i=n(28086);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},99254:(e,t,n)=>{var r=n(61008),i=n(25805);function o(e,t,n,r,o,a){var s=o[t][a-1],l=i.addDummyNode(e,"border",{width:0,height:0,rank:a,borderType:t},n);o[t][a]=l,e.setParent(l,r),s&&e.setEdge(s,l,{weight:1})}e.exports=function(e){r.forEach(e.children(),function t(n){var i=e.children(n),a=e.node(n);if(i.length&&r.forEach(i,t),r.has(a,"minRank")){a.borderLeft=[],a.borderRight=[];for(var s=a.minRank,l=a.maxRank+1;s<l;++s)o(e,"borderLeft","_bl",n,a,s),o(e,"borderRight","_br",n,a,s)}})}},99372:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});let r=(0,n(89383).A)("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]])}}]);
|