Page Not Found
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 93c18c8..0000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,5 +0,0 @@ -# These owners will be the default owners for everything in -# the repo. Unless a later match takes precedence, -# @global-owner1 and @global-owner2 will be requested for -# review when someone opens a pull request. -* @dfreniche @finishy1995 \ No newline at end of file diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml deleted file mode 100644 index bbde634..0000000 --- a/.github/workflows/deploy.yml +++ /dev/null @@ -1,34 +0,0 @@ -name: Deploy to GitHub Pages - -on: - push: - branches: - - main - # Review gh actions docs if you want to further define triggers, paths, etc - # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on - -jobs: - deploy: - name: Deploy to GitHub Pages - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-node@v4.1.0 - with: - node-version: 20 - cache: npm - - - name: Install dependencies - run: npm ci - - name: Build website - run: npm run build - - # Popular action to deploy to GitHub Pages: - # Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus - - name: Deploy to GitHub Pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GH_TOKEN }} - # Build output to publish to the `gh-pages` branch: - publish_dir: ./build - diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b2d6de3..0000000 --- a/.gitignore +++ /dev/null @@ -1,20 +0,0 @@ -# Dependencies -/node_modules - -# Production -/build - -# Generated files -.docusaurus -.cache-loader - -# Misc -.DS_Store -.env.local -.env.development.local -.env.test.local -.env.production.local - -npm-debug.log* -yarn-debug.log* -yarn-error.log* diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100755 index d6cb288..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -npm run build diff --git a/.husky/pre-push b/.husky/pre-push deleted file mode 100644 index d6cb288..0000000 --- a/.husky/pre-push +++ /dev/null @@ -1 +0,0 @@ -npm run build diff --git a/static/.nojekyll b/.nojekyll similarity index 100% rename from static/.nojekyll rename to .nojekyll diff --git a/404.html b/404.html new file mode 100644 index 0000000..0614fbf --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +
We could not find what you were looking for.
Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
["'])(?.*?)\1/,g=/\{(? [\d,-]+)\}/,m={js:{start:"\\/\\/",end:""},jsBlock:{start:"\\/\\*",end:"\\*\\/"},jsx:{start:"\\{\\s*\\/\\*",end:"\\*\\/\\s*\\}"},bash:{start:"#",end:""},html:{start:"\x3c!--",end:"--\x3e"}},y={...m,lua:{start:"--",end:""},wasm:{start:"\\;\\;",end:""},tex:{start:"%",end:""},vb:{start:"['\u2018\u2019]",end:""},vbnet:{start:"(?:_\\s*)?['\u2018\u2019]",end:""},rem:{start:"[Rr][Ee][Mm]\\b",end:""},f90:{start:"!",end:""},ml:{start:"\\(\\*",end:"\\*\\)"},cobol:{start:"\\*>",end:""}},x=Object.keys(m);function b(t,e){let r=t.map(t=>{let{start:r,end:i}=y[t];return`(?:${r}\\s*(${e.flatMap(t=>[t.line,t.block?.start,t.block?.end].filter(Boolean)).join("|")})\\s*${i})`}).join("|");return RegExp(`^\\s*(?:${r})\\s*$`)}function k(t){let{as:e,...r}=t,n=function(t){let e={color:"--prism-color",backgroundColor:"--prism-background-color"},r={};return Object.entries(t.plain).forEach(t=>{let[i,n]=t,a=e[i];a&&"string"==typeof n&&(r[a]=n)}),r}(c());return(0,i.jsx)(e,{...r,style:n,className:(0,s.Z)(r.className,"codeBlockContainer_Ckt0",u.k.common.codeBlock)})}let C={codeBlockContent:"codeBlockContent_biex",codeBlockTitle:"codeBlockTitle_Ktv7",codeBlock:"codeBlock_bY9V",codeBlockStandalone:"codeBlockStandalone_MEMb",codeBlockLines:"codeBlockLines_e6Vv",codeBlockLinesWithNumbering:"codeBlockLinesWithNumbering_o6Pm",buttonGroup:"buttonGroup__atx"};function w(t){let{children:e,className:r}=t;return(0,i.jsx)(k,{as:"pre",tabIndex:0,className:(0,s.Z)(C.codeBlockStandalone,"thin-scrollbar",r),children:(0,i.jsx)("code",{className:C.codeBlockLines,children:e})})}var _=r("1934");let v={attributes:!0,characterData:!0,childList:!0,subtree:!0};var T=r("3359");let S={codeLine:"codeLine_lJS_",codeLineNumber:"codeLineNumber_Tfdd",codeLineContent:"codeLineContent_feaV"};function M(t){let{line:e,classNames:r,showLineNumbers:n,getLineProps:a,getTokenProps:o}=t;1===e.length&&"\n"===e[0].content&&(e[0].content="");let l=a({line:e,className:(0,s.Z)(r,n&&S.codeLine)}),h=e.map((t,e)=>(0,i.jsx)("span",{...o({token:t})},e));return(0,i.jsxs)("span",{...l,children:[n?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:S.codeLineNumber}),(0,i.jsx)("span",{className:S.codeLineContent,children:h})]}):h,(0,i.jsx)("br",{})]})}var B=r("7670");function L(t){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,i.jsx)("path",{fill:"currentColor",d:"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z"})})}function A(t){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,i.jsx)("path",{fill:"currentColor",d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})}let F={copyButtonCopied:"copyButtonCopied_obH4",copyButtonIcons:"copyButtonIcons_eSgA",copyButtonIcon:"copyButtonIcon_y97N",copyButtonSuccessIcon:"copyButtonSuccessIcon_LjdS"};function $(t){let{code:e,className:r}=t,[a,o]=(0,n.useState)(!1),l=(0,n.useRef)(void 0),h=(0,n.useCallback)(()=>{!function(t){let{target:e=document.body}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof t)throw TypeError(`Expected parameter \`text\` to be a \`string\`, got \`${typeof t}\`.`);let r=document.createElement("textarea"),i=document.activeElement;r.value=t,r.setAttribute("readonly",""),r.style.contain="strict",r.style.position="absolute",r.style.left="-9999px",r.style.fontSize="12pt";let n=document.getSelection(),a=n.rangeCount>0&&n.getRangeAt(0);e.append(r),r.select(),r.selectionStart=0,r.selectionEnd=t.length;let o=!1;try{document.execCommand("copy")}catch{}r.remove(),a&&(n.removeAllRanges(),n.addRange(a)),i&&i.focus()}(e),o(!0),l.current=window.setTimeout(()=>{o(!1)},1e3)},[e]);return(0,n.useEffect)(()=>()=>window.clearTimeout(l.current),[]),(0,i.jsx)("button",{type:"button","aria-label":a?(0,B.I)({id:"theme.CodeBlock.copied",message:"Copied",description:"The copied button label on code blocks"}):(0,B.I)({id:"theme.CodeBlock.copyButtonAriaLabel",message:"Copy code to clipboard",description:"The ARIA label for copy code blocks button"}),title:(0,B.I)({id:"theme.CodeBlock.copy",message:"Copy",description:"The copy button label on code blocks"}),className:(0,s.Z)("clean-btn",r,F.copyButton,a&&F.copyButtonCopied),onClick:h,children:(0,i.jsxs)("span",{className:F.copyButtonIcons,"aria-hidden":"true",children:[(0,i.jsx)(L,{className:F.copyButtonIcon}),(0,i.jsx)(A,{className:F.copyButtonSuccessIcon})]})})}function W(t){return(0,i.jsx)("svg",{viewBox:"0 0 24 24",...t,children:(0,i.jsx)("path",{fill:"currentColor",d:"M4 19h6v-2H4v2zM20 5H4v2h16V5zm-3 6H4v2h13.25c1.1 0 2 .9 2 2s-.9 2-2 2H15v-2l-3 3l3 3v-2h2c2.21 0 4-1.79 4-4s-1.79-4-4-4z"})})}let E={wordWrapButtonIcon:"wordWrapButtonIcon_Bwma",wordWrapButtonEnabled:"wordWrapButtonEnabled_EoeP"};function N(t){let{className:e,onClick:r,isEnabled:n}=t,a=(0,B.I)({id:"theme.CodeBlock.wordWrapToggle",message:"Toggle word wrap",description:"The title attribute for toggle word wrapping button of code block lines"});return(0,i.jsx)("button",{type:"button",onClick:r,className:(0,s.Z)("clean-btn",e,n&&E.wordWrapButtonEnabled),"aria-label":a,title:a,children:(0,i.jsx)(W,{className:E.wordWrapButtonIcon,"aria-hidden":"true"})})}function Z(t){var e;let{children:r,className:a="",metastring:o,title:l,showLineNumbers:u,language:d}=t,{prism:{defaultLanguage:m,magicComments:y}}=(0,h.L)(),w=(e=d??function(t){let e=t.split(" ").find(t=>t.startsWith("language-"));return e?.replace(/language-/,"")}(a)??m,e?.toLowerCase()),S=c(),B=function(){let[t,e]=(0,n.useState)(!1),[r,i]=(0,n.useState)(!1),a=(0,n.useRef)(null),o=(0,n.useCallback)(()=>{let r=a.current.querySelector("code");t?r.removeAttribute("style"):(r.style.whiteSpace="pre-wrap",r.style.overflowWrap="anywhere"),e(t=>!t)},[a,t]),s=(0,n.useCallback)(()=>{let{scrollWidth:t,clientWidth:e}=a.current;i(t>e||a.current.querySelector("code").hasAttribute("style"))},[a]);return!function(t,e){let[r,i]=(0,n.useState)(),a=(0,n.useCallback)(()=>{i(t.current?.closest("[role=tabpanel][hidden]"))},[t,i]);(0,n.useEffect)(()=>{a()},[a]),function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:v,i=(0,_.zX)(e),a=(0,_.Ql)(r);(0,n.useEffect)(()=>{let e=new MutationObserver(i);return t&&e.observe(t,a),()=>e.disconnect()},[t,i,a])}(r,t=>{t.forEach(t=>{"attributes"===t.type&&"hidden"===t.attributeName&&(e(),a())})},{attributes:!0,characterData:!1,childList:!1,subtree:!1})}(a,s),(0,n.useEffect)(()=>{s()},[t,s]),(0,n.useEffect)(()=>(window.addEventListener("resize",s,{passive:!0}),()=>{window.removeEventListener("resize",s)}),[s]),{codeBlockRef:a,isEnabled:t,isCodeScrollable:r,toggle:o}}(),L=(o?.match(p)?.groups.title??"")||l,{lineClassNames:A,code:F}=function(t,e){let r=t.replace(/\n$/,""),{language:i,magicComments:n,metastring:a}=e;if(a&&g.test(a)){let t=a.match(g).groups.range;if(0===n.length)throw Error(`A highlight range has been given in code block's metastring (\`\`\` ${a}), but no magic comment config is available. Docusaurus applies the first magic comment entry's className for metastring ranges.`);let e=n[0].className;return{lineClassNames:Object.fromEntries(f()(t).filter(t=>t>0).map(t=>[t-1,[e]])),code:r}}if(void 0===i)return{lineClassNames:{},code:r};let o=function(t,e){switch(t){case"js":case"javascript":case"ts":case"typescript":return b(["js","jsBlock"],e);case"jsx":case"tsx":return b(["js","jsBlock","jsx"],e);case"html":return b(["js","jsBlock","html"],e);case"python":case"py":case"bash":return b(["bash"],e);case"markdown":case"md":return b(["html","jsx","bash"],e);case"tex":case"latex":case"matlab":return b(["tex"],e);case"lua":case"haskell":return b(["lua"],e);case"sql":return b(["lua","jsBlock"],e);case"wasm":return b(["wasm"],e);case"vb":case"vba":case"visual-basic":return b(["vb","rem"],e);case"vbnet":return b(["vbnet","rem"],e);case"batch":return b(["rem"],e);case"basic":return b(["rem","f90"],e);case"fsharp":return b(["js","ml"],e);case"ocaml":case"sml":return b(["ml"],e);case"fortran":return b(["f90"],e);case"cobol":return b(["cobol"],e);default:return b(x,e)}}(i,n),s=r.split("\n"),l=Object.fromEntries(n.map(t=>[t.className,{start:0,range:""}])),h=Object.fromEntries(n.filter(t=>t.line).map(t=>{let{className:e,line:r}=t;return[r,e]})),c=Object.fromEntries(n.filter(t=>t.block).map(t=>{let{className:e,block:r}=t;return[r.start,e]})),u=Object.fromEntries(n.filter(t=>t.block).map(t=>{let{className:e,block:r}=t;return[r.end,e]}));for(let t=0;t void 0!==t);h[r]?l[h[r]].range+=`${t},`:c[r]?l[c[r]].start=t:u[r]&&(l[u[r]].range+=`${l[u[r]].start}-${t-1},`),s.splice(t,1)}r=s.join("\n");let d={};return Object.entries(l).forEach(t=>{let[e,{range:r}]=t;f()(r).forEach(t=>{d[t]??=[],d[t].push(e)})}),{lineClassNames:d,code:r}}(r,{metastring:o,language:w,magicComments:y}),W=u??!!o?.includes("showLineNumbers");return(0,i.jsxs)(k,{as:"div",className:(0,s.Z)(a,w&&!a.includes(`language-${w}`)&&`language-${w}`),children:[L&&(0,i.jsx)("div",{className:C.codeBlockTitle,children:L}),(0,i.jsxs)("div",{className:C.codeBlockContent,children:[(0,i.jsx)(T.y$,{theme:S,code:F,language:w??"text",children:t=>{let{className:e,style:r,tokens:n,getLineProps:a,getTokenProps:o}=t;return(0,i.jsx)("pre",{tabIndex:0,ref:B.codeBlockRef,className:(0,s.Z)(e,C.codeBlock,"thin-scrollbar"),style:r,children:(0,i.jsx)("code",{className:(0,s.Z)(C.codeBlockLines,W&&C.codeBlockLinesWithNumbering),children:n.map((t,e)=>(0,i.jsx)(M,{line:t,getLineProps:a,getTokenProps:o,classNames:A[e],showLineNumbers:W},e))})})}}),(0,i.jsxs)("div",{className:C.buttonGroup,children:[(B.isEnabled||B.isCodeScrollable)&&(0,i.jsx)(N,{className:C.codeButton,onClick:()=>B.toggle(),isEnabled:B.isEnabled}),(0,i.jsx)($,{className:C.codeButton,code:F})]})]})]})}function D(t){let{children:e,...r}=t,a=(0,o.Z)(),s=n.Children.toArray(e).some(t=>(0,n.isValidElement)(t))?e:Array.isArray(e)?e.join(""):e;return(0,i.jsx)("string"==typeof s?Z:w,{...r,children:s},String(a))}function j(t){return(0,i.jsx)("code",{...t})}var O=r("3367"),I=r("8942"),z=r("4961"),R=r("6850");let P={details:"details_lb9f",isBrowser:"isBrowser_bmU9",collapsibleContent:"collapsibleContent_i85q"};function q(t){return!!t&&("SUMMARY"===t.tagName||q(t.parentElement))}function H(t){let{summary:e,children:r,...a}=t;(0,z.Z)().collectAnchor(a.id);let s=(0,o.Z)(),l=(0,n.useRef)(null),{collapsed:h,setCollapsed:c}=(0,R.u)({initialState:!a.open}),[u,d]=(0,n.useState)(a.open),f=n.isValidElement(e)?e:(0,i.jsx)("summary",{children:e??"Details"});return(0,i.jsxs)("details",{...a,ref:l,open:u,"data-collapsed":h,className:(0,I.Z)(P.details,s&&P.isBrowser,a.className),onMouseDown:t=>{q(t.target)&&t.detail>1&&t.preventDefault()},onClick:t=>{t.stopPropagation();let e=t.target;q(e)&&function t(e,r){return!!e&&(e===r||t(e.parentElement,r))}(e,l.current)&&(t.preventDefault(),h?(c(!1),d(!0)):c(!0))},children:[f,(0,i.jsx)(R.z,{lazy:!1,collapsed:h,disableSSRStyle:!0,onCollapseTransitionEnd:t=>{c(t),d(!t)},children:(0,i.jsx)("div",{className:P.collapsibleContent,children:r})})]})}function U(t){let{...e}=t;return(0,i.jsx)(H,{...e,className:(0,s.Z)("alert alert--info","details_b_Ee",e.className)})}function Y(t){let e=n.Children.toArray(t.children),r=e.find(t=>n.isValidElement(t)&&"summary"===t.type),a=(0,i.jsx)(i.Fragment,{children:e.filter(t=>t!==r)});return(0,i.jsx)(U,{...t,summary:r,children:a})}var V=r("6055");function G(t){return(0,i.jsx)(V.Z,{...t})}let X={containsTaskList:"containsTaskList_mC6p"};var Q=r("4926"),K=r("5514"),J=r("9358"),tt=r("397"),te=r("290");r("9660"),r("7971");var tr=r("9833");r("594"),r("2612"),r("1200");var ti=r("8394"),tn=r("6534"),ta=r("9356"),to=r("4146"),ts=r("8464"),tl=r("7818"),th="comm",tc="rule",tu="decl",td=Math.abs,tf=String.fromCharCode;function tp(t,e,r){return t.replace(e,r)}function tg(t,e){return 0|t.charCodeAt(e)}function tm(t,e,r){return t.slice(e,r)}function ty(t){return t.length}function tx(t,e){return e.push(t),t}function tb(t,e){for(var r="",i=0;i 0?f[x]+" "+b:tp(b,/&\f/g,f[x])).trim())&&(l[y++]=k);return tM(t,e,r,0===n?tc:s,l,h,c,u)}function tW(t,e,r,i,n){return tM(t,e,r,tu,tm(t,0,i),tm(t,i+1,-1),i,n)}var tE=r("5373"),tN=r("3217"),tZ={id:"c4",detector:(0,to.eW)(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),loader:(0,to.eW)(async()=>{let{diagram:t}=await r.e("2646").then(r.bind(r,9808));return{id:"c4",diagram:t}},"loader")},tD="flowchart",tj=(0,to.eW)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-wrapper"&&e?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(t),"detector"),tO=(0,to.eW)(async()=>{let{diagram:t}=await r.e("6659").then(r.bind(r,8373));return{id:tD,diagram:t}},"loader"),tI={id:tD,detector:tj,loader:tO},tz="flowchart-v2",tR=(0,to.eW)((t,e)=>e?.flowchart?.defaultRenderer!=="dagre-d3"&&(e?.flowchart?.defaultRenderer==="elk"&&(e.layout="elk"),!!/^\s*graph/.test(t)&&e?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(t)),"detector"),tP=(0,to.eW)(async()=>{let{diagram:t}=await r.e("6659").then(r.bind(r,8373));return{id:tz,diagram:t}},"loader"),tq={id:tz,detector:tR,loader:tP},tH={id:"er",detector:(0,to.eW)(t=>/^\s*erDiagram/.test(t),"detector"),loader:(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("9974")]).then(r.bind(r,6576));return{id:"er",diagram:t}},"loader")},tU="gitGraph",tY=(0,to.eW)(t=>/^\s*gitGraph/.test(t),"detector"),tV=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("3315")]).then(r.bind(r,7321));return{id:tU,diagram:t}},"loader"),tG={id:tU,detector:tY,loader:tV},tX="gantt",tQ=(0,to.eW)(t=>/^\s*gantt/.test(t),"detector"),tK=(0,to.eW)(async()=>{let{diagram:t}=await r.e("8963").then(r.bind(r,8951));return{id:tX,diagram:t}},"loader"),tJ={id:tX,detector:tQ,loader:tK},t0="info",t1=(0,to.eW)(t=>/^\s*info/.test(t),"detector"),t2=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("9790")]).then(r.bind(r,3994));return{id:t0,diagram:t}},"loader"),t5={id:t0,detector:t1,loader:t2},t3={id:"pie",detector:(0,to.eW)(t=>/^\s*pie/.test(t),"detector"),loader:(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("1351")]).then(r.bind(r,9198));return{id:"pie",diagram:t}},"loader")},t4="quadrantChart",t6=(0,to.eW)(t=>/^\s*quadrantChart/.test(t),"detector"),t8=(0,to.eW)(async()=>{let{diagram:t}=await r.e("736").then(r.bind(r,2019));return{id:t4,diagram:t}},"loader"),t9={id:t4,detector:t6,loader:t8},t7="xychart",et=(0,to.eW)(t=>/^\s*xychart-beta/.test(t),"detector"),ee=(0,to.eW)(async()=>{let{diagram:t}=await r.e("488").then(r.bind(r,2350));return{id:t7,diagram:t}},"loader"),er={id:t7,detector:et,loader:ee},ei="requirement",en=(0,to.eW)(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),ea=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("9083")]).then(r.bind(r,9763));return{id:ei,diagram:t}},"loader"),eo={id:ei,detector:en,loader:ea},es="sequence",el=(0,to.eW)(t=>/^\s*sequenceDiagram/.test(t),"detector"),eh=(0,to.eW)(async()=>{let{diagram:t}=await r.e("4960").then(r.bind(r,9343));return{id:es,diagram:t}},"loader"),ec={id:es,detector:el,loader:eh},eu="class",ed=(0,to.eW)((t,e)=>e?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(t),"detector"),ef=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("8164"),r.e("3754")]).then(r.bind(r,4768));return{id:eu,diagram:t}},"loader"),ep={id:eu,detector:ed,loader:ef},eg="classDiagram",em=(0,to.eW)((t,e)=>!!/^\s*classDiagram/.test(t)&&e?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(t),"detector"),ey=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("8164"),r.e("4343")]).then(r.bind(r,2399));return{id:eg,diagram:t}},"loader"),ex={id:eg,detector:em,loader:ey},eb="state",ek=(0,to.eW)((t,e)=>e?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(t),"detector"),eC=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3389"),r.e("2425"),r.e("7469")]).then(r.bind(r,7358));return{id:eb,diagram:t}},"loader"),ew={id:eb,detector:ek,loader:eC},e_="stateDiagram",ev=(0,to.eW)((t,e)=>!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&e?.state?.defaultRenderer==="dagre-wrapper"),"detector"),eT=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("2425"),r.e("2401")]).then(r.bind(r,4909));return{id:e_,diagram:t}},"loader"),eS={id:e_,detector:ev,loader:eT},eM="journey",eB=(0,to.eW)(t=>/^\s*journey/.test(t),"detector"),eL=(0,to.eW)(async()=>{let{diagram:t}=await r.e("9589").then(r.bind(r,7329));return{id:eM,diagram:t}},"loader"),eA={id:eM,detector:eB,loader:eL},eF={draw:(0,to.eW)((t,e,r)=>{to.cM.debug("rendering svg for syntax error\n");let i=(0,ta.P)(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,to.v2)(i,100,512,!0),n.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),n.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),n.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),n.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),n.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),n.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),n.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),n.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${r}`)},"draw")},e$={db:{},renderer:eF,parser:{parse:(0,to.eW)(()=>{},"parse")}},eW="flowchart-elk",eE=(0,to.eW)((t,e={})=>!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&e?.flowchart?.defaultRenderer==="elk")&&(e.layout="elk",!0),"detector"),eN=(0,to.eW)(async()=>{let{diagram:t}=await r.e("6659").then(r.bind(r,8373));return{id:eW,diagram:t}},"loader"),eZ={id:eW,detector:eE,loader:eN},eD="timeline",ej=(0,to.eW)(t=>/^\s*timeline/.test(t),"detector"),eO=(0,to.eW)(async()=>{let{diagram:t}=await r.e("4600").then(r.bind(r,8314));return{id:eD,diagram:t}},"loader"),eI={id:eD,detector:ej,loader:eO},ez="mindmap",eR=(0,to.eW)(t=>/^\s*mindmap/.test(t),"detector"),eP=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("6211"),r.e("8733")]).then(r.bind(r,9972));return{id:ez,diagram:t}},"loader"),eq={id:ez,detector:eR,loader:eP},eH="kanban",eU=(0,to.eW)(t=>/^\s*kanban/.test(t),"detector"),eY=(0,to.eW)(async()=>{let{diagram:t}=await r.e("3544").then(r.bind(r,7275));return{id:eH,diagram:t}},"loader"),eV={id:eH,detector:eU,loader:eY},eG="sankey",eX=(0,to.eW)(t=>/^\s*sankey-beta/.test(t),"detector"),eQ=(0,to.eW)(async()=>{let{diagram:t}=await r.e("2594").then(r.bind(r,6607));return{id:eG,diagram:t}},"loader"),eK={id:eG,detector:eX,loader:eQ},eJ="packet",e0=(0,to.eW)(t=>/^\s*packet-beta/.test(t),"detector"),e1=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("2578")]).then(r.bind(r,8088));return{id:eJ,diagram:t}},"loader"),e2={id:eJ,detector:e0,loader:e1},e5="block",e3=(0,to.eW)(t=>/^\s*block-beta/.test(t),"detector"),e4=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3337")]).then(r.bind(r,4370));return{id:e5,diagram:t}},"loader"),e6={id:e5,detector:e3,loader:e4},e8="architecture",e9=(0,to.eW)(t=>/^\s*architecture/.test(t),"detector"),e7=(0,to.eW)(async()=>{let{diagram:t}=await Promise.all([r.e("5823"),r.e("3917"),r.e("6211"),r.e("362")]).then(r.bind(r,4804));return{id:e8,diagram:t}},"loader"),rt={id:e8,detector:e9,loader:e7},re=!1,rr=(0,to.eW)(()=>{!re&&(re=!0,(0,to.Cq)("error",e$,t=>"error"===t.toLowerCase().trim()),(0,to.Cq)("---",{db:{clear:(0,to.eW)(()=>{},"clear")},styles:{},renderer:{draw:(0,to.eW)(()=>{},"draw")},parser:{parse:(0,to.eW)(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:(0,to.eW)(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),(0,to.KO)(tZ,eV,ex,ep,tH,tJ,t5,t3,eo,ec,eZ,tq,tI,eq,eI,tG,eS,ew,eA,t9,eK,e2,er,e6,rt))},"addDiagrams"),ri=(0,to.eW)(async()=>{to.cM.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(to.Bf).map(async([t,{detector:e,loader:r}])=>{if(r)try{(0,to._7)(t)}catch{try{let{diagram:t,id:i}=await r();(0,to.Cq)(i,t,e)}catch(e){throw to.cM.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete to.Bf[t],e}}}))).filter(t=>"rejected"===t.status);if(t.length>0){for(let e of(to.cM.error(`Failed to load ${t.length} external diagrams`),t))to.cM.error(e);throw Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams");function rn(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)}function ra(t,e,r,i){if(void 0!==t.insert){if(r){let e=`chart-desc-${i}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(r)}if(e){let r=`chart-title-${i}`;t.attr("aria-labelledby",r),t.insert("title",":first-child").attr("id",r).text(e)}}}(0,to.eW)(rn,"setA11yDiagramInfo"),(0,to.eW)(ra,"addSVGa11yTitleDescription");var ro=class t{constructor(t,e,r,i,n){this.type=t,this.text=e,this.db=r,this.parser=i,this.renderer=n}static{(0,to.eW)(this,"Diagram")}static async fromText(e,r={}){let i=(0,to.iE)(),n=(0,to.Vg)(e,i);e=(0,ti.Vy)(e)+"\n";try{(0,to._7)(n)}catch{let t=(0,to.cq)(n);if(!t)throw new to.cj(`Diagram ${n} not found.`);let{id:e,diagram:r}=await t();(0,to.Cq)(e,r)}let{db:a,parser:o,renderer:s,init:l}=(0,to._7)(n);return o.parser&&(o.parser.yy=a),a.clear?.(),l?.(i),r.title&&a.setDiagramTitle?.(r.title),await o.parse(e),new t(n,e,a,o,s)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}},rs=[],rl=(0,to.eW)(()=>{rs.forEach(t=>{t()}),rs=[]},"attachFunctions"),rh=(0,to.eW)(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function rc(t){let e=t.match(to.M6);if(!e)return{text:t,metadata:{}};let r=(0,tt.z)(e[1],{schema:tt.A})??{};r="object"!=typeof r||Array.isArray(r)?{}:r;let i={};return r.displayMode&&(i.displayMode=r.displayMode.toString()),r.title&&(i.title=r.title.toString()),r.config&&(i.config=r.config),{text:t.slice(e[0].length),metadata:i}}(0,to.eW)(rc,"extractFrontMatter");var ru=(0,to.eW)(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(t,e,r)=>"<"+e+r.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),rd=(0,to.eW)(t=>{let{text:e,metadata:r}=rc(t),{displayMode:i,title:n,config:a={}}=r;return i&&(a.gantt||(a.gantt={}),a.gantt.displayMode=i),{title:n,config:a,text:e}},"processFrontmatter"),rf=(0,to.eW)(t=>{let e=ti.w8.detectInit(t)??{},r=ti.w8.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:t})=>"wrap"===t):r?.type==="wrap"&&(e.wrap=!0),{text:(0,ti.tf)(t),directive:e}},"processDirectives");function rp(t){let e=rd(ru(t)),r=rf(e.text),i=(0,ti.Rb)(e.config,r.directive);return{code:t=rh(r.text),title:e.title,config:i}}function rg(t){return btoa(Array.from(new TextEncoder().encode(t),t=>String.fromCodePoint(t)).join(""))}(0,to.eW)(rp,"preprocessDiagram"),(0,to.eW)(rg,"toBase64");var rm=["foreignobject"],ry=["dominant-baseline"];function rx(t){let e=rp(t);return(0,to.mc)(),(0,to.XV)(e.config??{}),e}async function rb(t,e){rr();try{let{code:e,config:r}=rx(t);return{diagramType:(await rA(e)).type,config:r}}catch(t){if(e?.suppressErrors)return!1;throw t}}(0,to.eW)(rx,"processAndSetConfigs"),(0,to.eW)(rb,"parse");var rk=(0,to.eW)((t,e,r=[])=>` +.${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),rC=(0,to.eW)((t,e=new Map)=>{let r="";if(void 0!==t.themeCSS&&(r+=` +${t.themeCSS}`),void 0!==t.fontFamily&&(r+=` +:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=` +:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),e instanceof Map){let i=t.htmlLabels??t.flowchart?.htmlLabels?["> *","span"]:["rect","polygon","ellipse","circle","path"];e.forEach(t=>{(0,tN.Z)(t.styles)||i.forEach(e=>{r+=rk(t.id,e,t.styles)}),(0,tN.Z)(t.textStyles)||(r+=rk(t.id,"tspan",(t?.textStyles||[]).map(t=>t.replace("color","fill"))))})}return r},"createCssStyles"),rw=(0,to.eW)((t,e,r,i)=>{var n,a,o;let s=rC(t,r),l=(0,to.Ee)(e,s,t.themeVariables);return tb((o=function t(e,r,i,n,a,o,s,l,h){for(var c,u,d,f,p,g,m=0,y=0,x=s,b=0,k=0,C=0,w=1,_=1,v=1,T=0,S="",M=a,B=o,L=n,A=S;_;)switch(C=T,T=tB()){case 40:if(108!=C&&58==tg(A,x-1)){-1!=(p=A+=tp(tF(T),"&","&\f"),g=td(m?l[m-1]:0),p.indexOf("&\f",g))&&(v=-1);break}case 34:case 39:case 91:A+=tF(T);break;case 9:case 10:case 13:case 32:A+=function(t){for(;tT=tL();)if(tT<33)tB();else break;return tA(t)>2||tA(tT)>3?"":" "}(C);break;case 92:A+=function(t,e){for(var r;--e&&tB()&&!(tT<48)&&!(tT>102)&&(!(tT>57)||!(tT<65))&&(!(tT>70)||!(tT<97)););return r=tv+(e<6&&32==tL()&&32==tB()),tm(tS,t,r)}(tv-1,7);continue;case 47:switch(tL()){case 42:case 47:tx((c=function(t,e){for(;tB();)if(t+tT===57)break;else if(t+tT===84&&47===tL())break;return"/*"+tm(tS,e,tv-1)+"*"+tf(47===t?t:tB())}(tB(),tv),u=r,d=i,f=h,tM(c,u,d,th,tf(tT),tm(c,2,-2),0,f)),h),(5==tA(C||1)||5==tA(tL()||1))&&ty(A)&&" "!==tm(A,-1,void 0)&&(A+=" ");break;default:A+="/"}break;case 123*w:l[m++]=ty(A)*v;case 125*w:case 59:case 0:switch(T){case 0:case 125:_=0;case 59+y:-1==v&&(A=tp(A,/\f/g,"")),k>0&&(ty(A)-x||0===w&&47===C)&&tx(k>32?tW(A+";",n,i,x-1,h):tW(tp(A," ","")+";",n,i,x-2,h),h);break;case 59:A+=";";default:if(tx(L=t$(A,r,i,m,y,a,l,S,M=[],B=[],x,o),o),123===T){if(0===y)t(A,r,L,L,M,o,x,l,B);else{switch(b){case 99:if(110===tg(A,3))break;case 108:if(97===tg(A,2))break;default:y=0;case 100:case 109:case 115:}y?t(e,L,L,n&&tx(t$(e,L,L,0,0,a,l,S,a,M=[],x,B),B),a,B,x,l,n?M:B):t(A,L,L,L,[""],B,0,l,B)}}}m=y=k=0,w=v=1,S=A="",x=s;break;case 58:x=1+ty(A),k=C;default:if(w<1){if(123==T)--w;else if(125==T&&0==w++&&125==(tT=tv>0?tg(tS,--tv):0,tw--,10===tT&&(tw=1,tC--),tT))continue}switch(A+=tf(T),T*w){case 38:v=y>0?1:(A+="\f",-1);break;case 44:l[m++]=(ty(A)-1)*v,v=1;break;case 64:45===tL()&&(A+=tF(tB())),b=tL(),y=x=ty(S=A+=function(t){for(;!tA(tL());)tB();return tm(tS,t,tv)}(tv)),T++;break;case 45:45===C&&2==ty(A)&&(w=0)}}return o}("",null,null,null,[""],(a=n=`${i}{${l}}`,tC=tw=1,t_=ty(tS=a),tv=0,n=[]),0,[0],n),tS="",o),tk)},"createUserStyles"),r_=(0,to.eW)((t="",e,r)=>{let i=t;return r||e||(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=(i=(0,ti.SH)(i)).replace(/
/g,"
")},"cleanUpSvgCode"),rv=(0,to.eW)((t="",e)=>{let r=e?.viewBox?.baseVal?.height?e.viewBox.baseVal.height+"px":"100%",i=rg(`${t}`);return``},"putIntoIFrame"),rT=(0,to.eW)((t,e,r,i,n)=>{let a=t.append("div");a.attr("id",r),i&&a.attr("style",i);let o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return n&&o.attr("xmlns:xlink",n),o.append("g"),t},"appendDivSvgG");function rS(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,to.eW)(rS,"sandboxedIframe");var rM=(0,to.eW)((t,e,r,i)=>{t.getElementById(e)?.remove(),t.getElementById(r)?.remove(),t.getElementById(i)?.remove()},"removeExistingElements"),rB=(0,to.eW)(async function(t,e,r){let i,n;rr();let a=rx(e);e=a.code;let o=(0,to.iE)();to.cM.debug(o),e.length>(o?.maxTextSize??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let s="#"+t,l="i"+t,h="#"+l,c="d"+t,u="#"+c,d=(0,to.eW)(()=>{let t=p?h:u,e=(0,tl.Ys)(t).node();e&&"remove"in e&&e.remove()},"removeTempElements"),f=(0,tl.Ys)("body"),p="sandbox"===o.securityLevel,g="loose"===o.securityLevel,m=o.fontFamily;if(void 0!==r){if(r&&(r.innerHTML=""),p){let t=rS((0,tl.Ys)(r),l);(f=(0,tl.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else f=(0,tl.Ys)(r);rT(f,t,c,`font-family: ${m}`,"http://www.w3.org/1999/xlink")}else{if(rM(document,t,c,l),p){let t=rS((0,tl.Ys)("body"),l);(f=(0,tl.Ys)(t.nodes()[0].contentDocument.body)).node().style.margin=0}else f=(0,tl.Ys)("body");rT(f,t,c)}try{i=await ro.fromText(e,{title:a.title})}catch(t){if(o.suppressErrorRendering)throw d(),t;i=await ro.fromText("error"),n=t}let y=f.select(u).node(),x=i.type,b=y.firstChild,k=b.firstChild,C=rw(o,x,i.renderer.getClasses?.(e,i),s),w=document.createElement("style");w.innerHTML=C,b.insertBefore(w,k);try{await i.renderer.draw(e,t,tn.i,i)}catch(r){throw o.suppressErrorRendering?d():eF.draw(e,t,tn.i),r}let _=f.select(`${u} svg`);rF(x,_,i.db.getAccTitle?.(),i.db.getAccDescription?.()),f.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let v=f.select(u).node().innerHTML;if(to.cM.debug("config.arrowMarkerAbsolute",o.arrowMarkerAbsolute),v=r_(v,p,(0,to.ku)(o.arrowMarkerAbsolute)),p?v=rv(v,f.select(u+" svg").node()):g||(v=tE.Z.sanitize(v,{ADD_TAGS:rm,ADD_ATTR:ry,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),rl(),n)throw n;return d(),{diagramType:x,svg:v,bindFunctions:i.db.bindFunctions}},"render");function rL(t={}){let e=(0,to.Yc)({},t);e?.fontFamily&&!e.themeVariables?.fontFamily&&(e.themeVariables||(e.themeVariables={}),e.themeVariables.fontFamily=e.fontFamily),(0,to.dY)(e),e?.theme&&e.theme in to._j?e.themeVariables=to._j[e.theme].getThemeVariables(e.themeVariables):e&&(e.themeVariables=to._j.default.getThemeVariables(e.themeVariables));let r="object"==typeof e?(0,to.Yn)(e):(0,to.ZD)();(0,to.Ub)(r.logLevel),rr()}(0,to.eW)(rL,"initialize");var rA=(0,to.eW)((t,e={})=>{let{code:r}=rp(t);return ro.fromText(r,e)},"getDiagramFromText");function rF(t,e,r,i){rn(e,t),ra(e,r,i,e.attr("id"))}(0,to.eW)(rF,"addA11yInfo");var r$=Object.freeze({render:rB,parse:rb,getDiagramFromText:rA,initialize:rL,getConfig:to.iE,setConfig:to.v6,getSiteConfig:to.ZD,updateSiteConfig:to.Tb,reset:(0,to.eW)(()=>{(0,to.mc)()},"reset"),globalReset:(0,to.eW)(()=>{(0,to.mc)(to.u_)},"globalReset"),defaultConfig:to.u_});(0,to.Ub)((0,to.iE)().logLevel),(0,to.mc)((0,to.iE)());var rW=(0,to.eW)((t,e,r)=>{to.cM.warn(t),(0,ti.bZ)(t)?(r&&r(t.str,t.hash),e.push({...t,message:t.str,error:t})):(r&&r(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},"handleError"),rE=(0,to.eW)(async function(t={querySelector:".mermaid"}){try{await rN(t)}catch(e){if((0,ti.bZ)(e)&&to.cM.error(e.str),rU.parseError&&rU.parseError(e),!t.suppressErrors)throw to.cM.error("Use the suppressErrors option to suppress these errors"),e}},"run"),rN=(0,to.eW)(async function({postRenderCallback:t,querySelector:e,nodes:r}={querySelector:".mermaid"}){let i,n;let a=r$.getConfig();if(to.cM.debug(`${t?"":"No "}Callback function found`),r)i=r;else if(e)i=document.querySelectorAll(e);else throw Error("Nodes and querySelector are both undefined");to.cM.debug(`Found ${i.length} diagrams`),a?.startOnLoad!==void 0&&(to.cM.debug("Start On Load: "+a?.startOnLoad),r$.updateSiteConfig({startOnLoad:a?.startOnLoad}));let o=new ti.w8.InitIDGenerator(a.deterministicIds,a.deterministicIDSeed),s=[];for(let e of Array.from(i)){if(to.cM.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");let r=`mermaid-${o.next()}`;n=e.innerHTML,n=(0,ts.Z)(ti.w8.entityDecode(n)).trim().replace(/
/gi,"
");let i=ti.w8.detectInit(n);i&&to.cM.debug("Detected early reinit: ",i);try{let{svg:i,bindFunctions:a}=await rH(r,n,e);e.innerHTML=i,t&&await t(r),a&&a(e)}catch(t){rW(t,s,rU.parseError)}}if(s.length>0)throw s[0]},"runThrowsErrors"),rZ=(0,to.eW)(function(t){r$.initialize(t)},"initialize"),rD=(0,to.eW)(async function(t,e,r){to.cM.warn("mermaid.init is deprecated. Please use run instead."),t&&rZ(t);let i={postRenderCallback:r,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await rE(i)},"init"),rj=(0,to.eW)(async(t,{lazyLoad:e=!0}={})=>{rr(),(0,to.KO)(...t),!1===e&&await ri()},"registerExternalDiagrams"),rO=(0,to.eW)(function(){if(rU.startOnLoad){let{startOnLoad:t}=r$.getConfig();t&&rU.run().catch(t=>to.cM.error("Mermaid failed to initialize",t))}},"contentLoaded");"undefined"!=typeof document&&window.addEventListener("load",rO,!1);var rI=(0,to.eW)(function(t){rU.parseError=t},"setParseErrorHandler"),rz=[],rR=!1,rP=(0,to.eW)(async()=>{if(!rR){for(rR=!0;rz.length>0;){let t=rz.shift();if(t)try{await t()}catch(t){to.cM.error("Error executing queue",t)}}rR=!1}},"executeQueue"),rq=(0,to.eW)(async(t,e)=>new Promise((r,i)=>{let n=(0,to.eW)(()=>new Promise((n,a)=>{r$.parse(t,e).then(t=>{n(t),r(t)},t=>{to.cM.error("Error parsing",t),rU.parseError?.(t),a(t),i(t)})}),"performCall");rz.push(n),rP().catch(i)}),"parse"),rH=(0,to.eW)((t,e,r)=>new Promise((i,n)=>{let a=(0,to.eW)(()=>new Promise((a,o)=>{r$.render(t,e,r).then(t=>{a(t),i(t)},t=>{to.cM.error("Error parsing",t),rU.parseError?.(t),o(t),n(t)})}),"performCall");rz.push(a),rP().catch(n)}),"render"),rU={startOnLoad:!0,mermaidAPI:r$,parse:rq,render:rH,init:rD,run:rE,registerExternalDiagrams:rj,registerLayoutLoaders:te.jM,initialize:rZ,parseError:void 0,contentLoaded:rO,setParseErrorHandler:rI,detectType:to.Vg,registerIconPacks:tr.ef};async function rY(t){let{id:e,text:r,config:i}=t;rU.mermaidAPI.initialize(i);try{return await rU.render(e,r)}catch(t){throw document.querySelector(`#d${e}`)?.remove(),t}}function rV(t){let{renderResult:e}=t,r=(0,n.useRef)(null);return(0,n.useEffect)(()=>{let t=r.current;e.bindFunctions?.(t)},[e]),(0,i.jsx)("div",{ref:r,className:"docusaurus-mermaid-container container_lyt7",dangerouslySetInnerHTML:{__html:e.svg}})}function rG(t){let{value:e}=t,r=function(t){let{text:e,config:r}=t,[i,a]=(0,n.useState)(null),o=(0,n.useRef)(`mermaid-svg-${Math.round(1e7*Math.random())}`).current,s=function(){let{colorMode:t}=(0,l.I)(),e=(0,h.L)().mermaid,r=e.theme[t],{options:i}=e;return(0,n.useMemo)(()=>({startOnLoad:!1,...i,theme:r}),[r,i])}(),c=r??s;return(0,n.useEffect)(()=>{rY({id:o,text:e,config:c}).then(a).catch(t=>{a(()=>{throw t})})},[o,e,c]),i}({text:e});return null===r?null:(0,i.jsx)(rV,{renderResult:r})}let rX={Head:a.Z,details:Y,Details:Y,code:function(t){return void 0!==t.children&&n.Children.toArray(t.children).every(t=>"string"==typeof t&&!t.includes("\n"))?(0,i.jsx)(j,{...t}):(0,i.jsx)(D,{...t})},a:function(t){return(0,i.jsx)(O.Z,{...t})},pre:function(t){return(0,i.jsx)(i.Fragment,{children:t.children})},ul:function(t){return(0,i.jsx)("ul",{...t,className:function(t){if(void 0!==t)return(0,s.Z)(t,t?.includes("contains-task-list")&&X.containsTaskList)}(t.className)})},li:function(t){return(0,z.Z)().collectAnchor(t.id),(0,i.jsx)("li",{...t})},img:function(t){var e;return(0,i.jsx)("img",{decoding:"async",loading:"lazy",...t,className:(e=t.className,(0,s.Z)(e,"img_ev3q"))})},h1:t=>(0,i.jsx)(G,{as:"h1",...t}),h2:t=>(0,i.jsx)(G,{as:"h2",...t}),h3:t=>(0,i.jsx)(G,{as:"h3",...t}),h4:t=>(0,i.jsx)(G,{as:"h4",...t}),h5:t=>(0,i.jsx)(G,{as:"h5",...t}),h6:t=>(0,i.jsx)(G,{as:"h6",...t}),admonition:Q.Z,mermaid:function(t){return(0,i.jsx)(K.Z,{fallback:t=>(0,i.jsx)(J.Ac,{...t}),children:(0,i.jsx)(rG,{...t})})}}},65:function(t,e,r){"use strict";r.d(e,{Z:function(){return s},a:function(){return o}});var i=r(7294);let n={},a=i.createContext(n);function o(t){let e=i.useContext(a);return i.useMemo(function(){return"function"==typeof t?t(e):{...e,...t}},[e,t])}function s(t){let e;return e=t.disableParentContext?"function"==typeof t.components?t.components(n):t.components||n:o(t.components),i.createElement(a.Provider,{value:e},t.children)}},7818:function(t,e,r){"use strict";function i(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r=e)&&(r=e);else{let i=-1;for(let n of t)null!=(n=e(n,++i,t))&&(r =n)&&(r=n)}return r}function n(t,e){let r;if(void 0===e)for(let e of t)null!=e&&(r>e||void 0===r&&e>=e)&&(r=e);else{let i=-1;for(let n of t)null!=(n=e(n,++i,t))&&(r>n||void 0===r&&n>=n)&&(r=n)}return r}function a(t){return t}function o(t){return"translate("+t+",0)"}function s(t){return"translate(0,"+t+")"}function l(){return!this.__axis}function h(t,e){var r=[],i=null,n=null,h=6,c=6,u=3,d="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,f=1===t||4===t?-1:1,p=4===t||2===t?"x":"y",g=1===t||3===t?o:s;function m(o){var s=null==i?e.ticks?e.ticks.apply(e,r):e.domain():i,m=null==n?e.tickFormat?e.tickFormat.apply(e,r):a:n,y=Math.max(h,0)+u,x=e.range(),b=+x[0]+d,k=+x[x.length-1]+d,C=(e.bandwidth?function(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),r=>+t(r)+e}:function(t){return e=>+t(e)})(e.copy(),d),w=o.selection?o.selection():o,_=w.selectAll(".domain").data([null]),v=w.selectAll(".tick").data(s,e).order(),T=v.exit(),S=v.enter().append("g").attr("class","tick"),M=v.select("line"),B=v.select("text");_=_.merge(_.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),v=v.merge(S),M=M.merge(S.append("line").attr("stroke","currentColor").attr(p+"2",f*h)),B=B.merge(S.append("text").attr("fill","currentColor").attr(p,f*y).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),o!==w&&(_=_.transition(o),v=v.transition(o),M=M.transition(o),B=B.transition(o),T=T.transition(o).attr("opacity",1e-6).attr("transform",function(t){return isFinite(t=C(t))?g(t+d):this.getAttribute("transform")}),S.attr("opacity",1e-6).attr("transform",function(t){var e=this.parentNode.__axis;return g((e&&isFinite(e=e(t))?e:C(t))+d)})),T.remove(),_.attr("d",4===t||2===t?c?"M"+f*c+","+b+"H"+d+"V"+k+"H"+f*c:"M"+d+","+b+"V"+k:c?"M"+b+","+f*c+"V"+d+"H"+k+"V"+f*c:"M"+b+","+d+"H"+k),v.attr("opacity",1).attr("transform",function(t){return g(C(t)+d)}),M.attr(p+"2",f*h),B.attr(p,f*y).text(m),w.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),w.each(function(){this.__axis=C})}return m.scale=function(t){return arguments.length?(e=t,m):e},m.ticks=function(){return r=Array.from(arguments),m},m.tickArguments=function(t){return arguments.length?(r=null==t?[]:Array.from(t),m):r.slice()},m.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),m):i&&i.slice()},m.tickFormat=function(t){return arguments.length?(n=t,m):n},m.tickSize=function(t){return arguments.length?(h=c=+t,m):h},m.tickSizeInner=function(t){return arguments.length?(h=+t,m):h},m.tickSizeOuter=function(t){return arguments.length?(c=+t,m):c},m.tickPadding=function(t){return arguments.length?(u=+t,m):u},m.offset=function(t){return arguments.length?(d=+t,m):d},m}function c(t){return h(1,t)}function u(t){return h(3,t)}function d(){}function f(t){return null==t?d:function(){return this.querySelector(t)}}function p(){return[]}function g(t){return null==t?p:function(){return this.querySelectorAll(t)}}function m(t){return function(){return this.matches(t)}}function y(t){return function(e){return e.matches(t)}}r.d(e,{Fp7:()=>i,qpX:()=>n0,S1K:()=>rT,iJ:()=>a_,LqH:()=>rI,PKp:()=>eJ,Z_i:()=>rS,jvg:()=>nz,VV$:()=>n,Ox9:()=>rN,tFB:()=>n5,$0Z:()=>nV,WQD:()=>rB,dCK:()=>at,c_6:()=>nj,YY7:()=>n6,zgE:()=>ai,F5q:()=>c,jsv:()=>av,BYU:()=>function t(){var e,r=rc();return r.copy=function(){return rh(r,t())},eV.apply(r,arguments),e=r.domain,r.ticks=function(t){var r=e();return function(t,e,r){if(e=+e,t=+t,!((r=+r)>0))return[];if(t===e)return[t];let i=e =n))return[];let s=a-n+1,l=Array(s);if(i){if(o<0)for(let t=0;t 0;){if((n=e3(l,h,t))===i)return a[o]=l,a[s]=h,e(a);if(n>0)l=Math.floor(l/n)*n,h=Math.ceil(h/n)*n;else if(n<0)l=Math.ceil(l*n)/n,h=Math.floor(h*n)/n;else break;i=n}return r},r},Zyz:()=>rE,Dts:()=>nX,YDX:()=>rZ,ve8:()=>nq,$m7:()=>as,K2I:()=>nh,Nb1:()=>nN,fGX:()=>aa,rr1:()=>rA,JHv:()=>eY,tiA:()=>function t(){var e,r,i=eJ().unknown(void 0),n=i.domain,a=i.range,o=0,s=1,l=!1,h=0,c=0,u=.5;function d(){var t=n().length,i=srv,LLu:()=>u,SxZ:()=>ak,F0B:()=>rG,WQY:()=>nK,Ys:()=>nc,OvA:()=>n9,ak_:()=>ay,eA_:()=>aw,y2j:()=>rO,EFj:()=>rD,u93:()=>n1,fxm:()=>ah,Igq:()=>rj,i$Z:()=>th,Xf:()=>nl,FdL:()=>am});var x=Array.prototype.find;function b(){return this.firstElementChild}var k=Array.prototype.filter;function C(){return Array.from(this.children)}function w(t){return Array(t.length)}function _(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function v(t,e,r,i,n,a){for(var o,s=0,l=e.length,h=a.length;s e?1:t>=e?0:NaN}_.prototype={constructor:_,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var B="http://www.w3.org/1999/xhtml";let L={svg:"http://www.w3.org/2000/svg",xhtml:B,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function A(t){var e=t+="",r=e.indexOf(":");return r>=0&&"xmlns"!==(e=t.slice(0,r))&&(t=t.slice(r+1)),L.hasOwnProperty(e)?{space:L[e],local:t}:t}function F(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function $(t,e){return t.style.getPropertyValue(e)||F(t).getComputedStyle(t,null).getPropertyValue(e)}function W(t){return t.trim().split(/^|\s+/)}function E(t){return t.classList||new N(t)}function N(t){this._node=t,this._names=W(t.getAttribute("class")||"")}function Z(t,e){for(var r=E(t),i=-1,n=e.length;++i this._names.indexOf(t)&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var X=[null];function Q(t,e){this._groups=t,this._parents=e}function K(){return new Q([[document.documentElement]],X)}Q.prototype=K.prototype={constructor:Q,select:function(t){"function"!=typeof t&&(t=f(t));for(var e=this._groups,r=e.length,i=Array(r),n=0;n =w&&(w=C+1);!(k=m[w])&&++w =0;)(i=n[a])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,r){return e&&r?t(e.__data__,r.__data__):!e-!r}t||(t=M);for(var r=this._groups,i=r.length,n=Array(i),a=0;a1?this.each((null==e?function(t){return function(){this.style.removeProperty(t)}}:"function"==typeof e?function(t,e,r){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,r)}}:function(t,e,r){return function(){this.style.setProperty(t,e,r)}})(t,e,null==r?"":r)):$(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?function(t){return function(){delete this[t]}}:"function"==typeof e?function(t,e){return function(){var r=e.apply(this,arguments);null==r?delete this[t]:this[t]=r}}:function(t,e){return function(){this[t]=e}})(t,e)):this.node()[t]},classed:function(t,e){var r=W(t+"");if(arguments.length<2){for(var i=E(this.node()),n=-1,a=r.length;++n=0&&(e=t.slice(r+1),t=t.slice(0,r)),{type:t,name:e}}),o=a.length;if(arguments.length<2){var s=this.node().__on;if(s){for(var l,h=0,c=s.length;h
{}};function tt(){for(var t,e=0,r=arguments.length,i={};e =0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!i.hasOwnProperty(t))throw Error("unknown type: "+t);return{type:t,name:e}}),a=-1,o=n.length;if(arguments.length<2){for(;++a 0)for(var r,i,n=Array(r),a=0;a =0&&e._call.call(void 0,t),e=e._next;--td}()}finally{td=0,function(){for(var t,e,r=tc,i=1/0;r;)r._call?(i>r._time&&(i=r._time),t=r,r=r._next):(e=r._next,r._next=null,r=t?t._next=e:tc=e);tu=t,tS(i)}(),tm=0}}function tT(){var t=tx.now(),e=t-tg;e>1e3&&(ty-=e,tg=t)}function tS(t){!td&&(tf&&(tf=clearTimeout(tf)),t-tm>24?(t<1/0&&(tf=setTimeout(tv,t-tx.now()-ty)),tp&&(tp=clearInterval(tp))):(tp||(tg=tx.now(),tp=setInterval(tT,1e3)),td=1,tb(tv)))}function tM(t,e,r){var i=new tw;return e=null==e?0:+e,i.restart(r=>{i.stop(),t(r+e)},e,r),i}tw.prototype=t_.prototype={constructor:tw,restart:function(t,e,r){if("function"!=typeof t)throw TypeError("callback is not a function");r=(null==r?tk():+r)+(null==e?0:+e),this._next||tu===this||(tu?tu._next=this:tc=this,tu=this),this._call=t,this._time=r,tS()},stop:function(){this._call&&(this._call=null,this._time=1/0,tS())}};var tB=tt("start","end","cancel","interrupt"),tL=[];function tA(t,e,r,i,n,a){var o=t.__transition;if(o){if(r in o)return}else t.__transition={};!function(t,e,r){var i,n=t.__transition;function a(l){var h,c,u,d;if(1!==r.state)return s();for(h in n)if((d=n[h]).name===r.name){if(3===d.state)return tM(a);4===d.state?(d.state=6,d.timer.stop(),d.on.call("interrupt",t,t.__data__,d.index,d.group),delete n[h]):+h 0)throw Error("too late; already scheduled");return r}function t$(t,e){var r=tW(t,e);if(r.state>3)throw Error("too late; already running");return r}function tW(t,e){var r=t.__transition;if(!r||!(r=r[e]))throw Error("transition not found");return r}function tE(t,e){return t=+t,e=+e,function(r){return t*(1-r)+e*r}}var tN=180/Math.PI,tZ={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function tD(t,e,r,i,n,a){var o,s,l;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(l=t*r+e*i)&&(r-=t*l,i-=e*l),(s=Math.sqrt(r*r+i*i))&&(r/=s,i/=s,l/=s),t*i 180?l+=360:l-s>180&&(s+=360),d.push({i:u.push(n(u)+"rotate(",null,i)-2,x:tE(s,l)})):l&&u.push(n(u)+"rotate("+l+i),h=a.skewX,h!==(c=o.skewX)?d.push({i:u.push(n(u)+"skewX(",null,i)-2,x:tE(h,c)}):c&&u.push(n(u)+"skewX("+c+i),!function(t,e,r,i,a,o){if(t!==r||e!==i){var s=a.push(n(a)+"scale(",null,",",null,")");o.push({i:s-4,x:tE(t,r)},{i:s-2,x:tE(e,i)})}else(1!==r||1!==i)&&a.push(n(a)+"scale("+r+","+i+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,u,d),a=o=null,function(t){for(var e,r=-1,i=d.length;++r>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===r?t6(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===r?t6(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=tG.exec(t))?new t7(e[1],e[2],e[3],1):(e=tX.exec(t))?new t7(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=tQ.exec(t))?t6(e[1],e[2],e[3],e[4]):(e=tK.exec(t))?t6(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=tJ.exec(t))?ea(e[1],e[2]/100,e[3]/100,1):(e=t0.exec(t))?ea(e[1],e[2]/100,e[3]/100,e[4]):t1.hasOwnProperty(t)?t4(t1[t]):"transparent"===t?new t7(NaN,NaN,NaN,0):null}function t4(t){return new t7(t>>16&255,t>>8&255,255&t,1)}function t6(t,e,r,i){return i<=0&&(t=e=r=NaN),new t7(t,e,r,i)}function t8(t){return(t instanceof tq||(t=t3(t)),t)?new t7((t=t.rgb()).r,t.g,t.b,t.opacity):new t7}function t9(t,e,r,i){return 1==arguments.length?t8(t):new t7(t,e,r,null==i?1:i)}function t7(t,e,r,i){this.r=+t,this.g=+e,this.b=+r,this.opacity=+i}function et(){return`#${en(this.r)}${en(this.g)}${en(this.b)}`}function ee(){let t=er(this.opacity);return`${1===t?"rgb(":"rgba("}${ei(this.r)}, ${ei(this.g)}, ${ei(this.b)}${1===t?")":`, ${t})`}`}function er(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function ei(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function en(t){return((t=ei(t))<16?"0":"")+t.toString(16)}function ea(t,e,r,i){return i<=0?t=e=r=NaN:r<=0||r>=1?t=e=NaN:e<=0&&(t=NaN),new es(t,e,r,i)}function eo(t){if(t instanceof es)return new es(t.h,t.s,t.l,t.opacity);if(t instanceof tq||(t=t3(t)),!t)return new es;if(t instanceof es)return t;var e=(t=t.rgb()).r/255,r=t.g/255,i=t.b/255,n=Math.min(e,r,i),a=Math.max(e,r,i),o=NaN,s=a-n,l=(a+n)/2;return s?(o=e===a?(r-i)/s+(r0&&l<1?0:o,new es(o,s,l,t.opacity)}function es(t,e,r,i){this.h=+t,this.s=+e,this.l=+r,this.opacity=+i}function el(t){return(t=(t||0)%360)<0?t+360:t}function eh(t){return Math.max(0,Math.min(1,t||0))}function ec(t,e,r){return(t<60?e+(r-e)*t/60:t<180?r:t<240?e+(r-e)*(240-t)/60:e)*255}function eu(t,e,r,i,n){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*r+(1+3*t+3*a-3*o)*i+o*n)/6}tR(tq,t3,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:t2,formatHex:t2,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return eo(this).formatHsl()},formatRgb:t5,toString:t5}),tR(t7,t9,tP(tq,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new t7(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new t7(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new t7(ei(this.r),ei(this.g),ei(this.b),er(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:et,formatHex:et,formatHex8:function(){return`#${en(this.r)}${en(this.g)}${en(this.b)}${en((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:ee,toString:ee})),tR(es,function(t,e,r,i){return 1==arguments.length?eo(t):new es(t,e,r,null==i?1:i)},tP(tq,{brighter(t){return t=null==t?1.4285714285714286:Math.pow(1.4285714285714286,t),new es(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?.7:Math.pow(.7,t),new es(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,r=this.l,i=r+(r<.5?r:1-r)*e,n=2*r-i;return new t7(ec(t>=240?t-240:t+120,n,i),ec(t,n,i),ec(t<120?t+240:t-120,n,i),this.opacity)},clamp(){return new es(el(this.h),eh(this.s),eh(this.l),er(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 t=er(this.opacity);return`${1===t?"hsl(":"hsla("}${el(this.h)}, ${100*eh(this.s)}%, ${100*eh(this.l)}%${1===t?")":`, ${t})`}`}}));let ed=t=>()=>t;function ef(t,e){return function(r){return t+r*e}}function ep(t,e){var r=e-t;return r?ef(t,r):ed(isNaN(t)?e:t)}let eg=function t(e){var r,i=1==(r=+(r=e))?ep:function(t,e){var i,n,a;return e-t?(i=t,n=e,i=Math.pow(i,a=r),n=Math.pow(n,a)-i,a=1/a,function(t){return Math.pow(i+t*n,a)}):ed(isNaN(t)?e:t)};function n(t,e){var r=i((t=t9(t)).r,(e=t9(e)).r),n=i(t.g,e.g),a=i(t.b,e.b),o=ep(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=n(e),t.b=a(e),t.opacity=o(e),t+""}}return n.gamma=t,n}(1);function em(t){return function(e){var r,i,n=e.length,a=Array(n),o=Array(n),s=Array(n);for(r=0;r =1?(r=1,e-1):Math.floor(r*e),n=t[i],a=t[i+1],o=i>0?t[i-1]:2*n-a,s=i s&&(o=e.slice(s,o),h[l]?h[l]+=o:h[++l]=o),(n=n[0])===(a=a[0])?h[l]?h[l]+=a:h[++l]=a:(h[++l]=null,c.push({i:l,x:tE(n,a)})),s=ex.lastIndex;return s =0&&(t=t.slice(0,e)),!t||"start"===t})?tF:t$,function(){var t=s(this,r),e=t.on;e!==a&&(o=(a=e).copy()).on(i,n),t.on=o}))},attr:function(t,e){var r=A(t),i="transform"===r?tI:ek;return this.attrTween(t,"function"==typeof e?(r.local?function(t,e,r){var i,n,a;return function(){var o,s,l=r(this);return null==l?void this.removeAttributeNS(t.space,t.local):(o=this.getAttributeNS(t.space,t.local))===(s=l+"")?null:o===i&&s===n?a:(n=s,a=e(i=o,l))}}:function(t,e,r){var i,n,a;return function(){var o,s,l=r(this);return null==l?void this.removeAttribute(t):(o=this.getAttribute(t))===(s=l+"")?null:o===i&&s===n?a:(n=s,a=e(i=o,l))}})(r,i,tz(this,"attr."+t,e)):null==e?(r.local?function(t){return function(){this.removeAttributeNS(t.space,t.local)}}:function(t){return function(){this.removeAttribute(t)}})(r):(r.local?function(t,e,r){var i,n,a=r+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===i?n:n=e(i=o,r)}}:function(t,e,r){var i,n,a=r+"";return function(){var o=this.getAttribute(t);return o===a?null:o===i?n:n=e(i=o,r)}})(r,i,e))},attrTween:function(t,e){var r="attr."+t;if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==e)return this.tween(r,null);if("function"!=typeof e)throw Error();var i=A(t);return this.tween(r,(i.local?function(t,e){var r,i;function n(){var n=e.apply(this,arguments);return n!==i&&(r=(i=n)&&function(e){this.setAttributeNS(t.space,t.local,n.call(this,e))}),r}return n._value=e,n}:function(t,e){var r,i;function n(){var n=e.apply(this,arguments);return n!==i&&(r=(i=n)&&function(e){this.setAttribute(t,n.call(this,e))}),r}return n._value=e,n})(i,e))},style:function(t,e,r){var i,n,a,o,s,l,h,c,u,d,f,p,g,m,y,x,b,k,C,w,_,v="transform"==(t+="")?tO:ek;return null==e?this.styleTween(t,(i=t,function(){var t=$(this,i),e=(this.style.removeProperty(i),$(this,i));return t===e?null:t===n&&e===a?o:o=v(n=t,a=e)})).on("end.style."+t,ew(t)):"function"==typeof e?this.styleTween(t,(s=t,l=tz(this,"style."+t,e),function(){var t=$(this,s),e=l(this),r=e+"";return null==e&&(this.style.removeProperty(s),r=e=$(this,s)),t===r?null:t===h&&r===c?u:(c=r,u=v(h=t,e))})).each((d=this._id,b="end."+(x="style."+(f=t)),function(){var t=t$(this,d),e=t.on,r=null==t.value[x]?y||(y=ew(f)):void 0;(e!==p||m!==r)&&(g=(p=e).copy()).on(b,m=r),t.on=g})):this.styleTween(t,(k=t,_=e+"",function(){var t=$(this,k);return t===_?null:t===C?w:w=v(C=t,e)}),r).on("end.style."+t,null)},styleTween:function(t,e,r){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw Error();return this.tween(i,function(t,e,r){var i,n;function a(){var a=e.apply(this,arguments);return a!==n&&(i=(n=a)&&function(e){this.style.setProperty(t,a.call(this,e),r)}),i}return a._value=e,a}(t,e,null==r?"":r))},text:function(t){var e,r;return this.tween("text","function"==typeof t?(e=tz(this,"text",t),function(){var t=e(this);this.textContent=null==t?"":t}):(r=null==t?"":t+"",function(){this.textContent=r}))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw Error();return this.tween(e,function(t){var e,r;function i(){var i=t.apply(this,arguments);return i!==r&&(e=(r=i)&&function(t){this.textContent=i.call(this,t)}),e}return i._value=t,i}(t))},remove:function(){var t;return this.on("end.remove",(t=this._id,function(){var e=this.parentNode;for(var r in this.__transition)if(+r!==t)return;e&&e.removeChild(this)}))},tween:function(t,e){var r=this._id;if(t+="",arguments.length<2){for(var i,n=tW(this.node(),r).tween,a=0,o=n.length;a 2&&r.state<5,r.state=6,r.timer.stop(),r.on.call(i?"interrupt":"cancel",t,t.__data__,r.index,r.group),delete a[n]}o&&delete t.__transition}}(this,t)})},K.prototype.transition=function(t){var e,r;t instanceof ev?(e=t._id,t=t._name):(e=++e_,(r=eS).time=tk(),t=null==t?null:t+"");for(var i=this._groups,n=i.length,a=0;a eZ?Math.pow(t,1/3):t/eN+eW}function eI(t){return t>eE?t*t*t:eN*(t-eW)}function ez(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function eR(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function eP(t,e,r,i){return 1==arguments.length?function(t){if(t instanceof eq)return new eq(t.h,t.c,t.l,t.opacity);if(t instanceof ej||(t=eD(t)),0===t.a&&0===t.b)return new eq(NaN,0 180||r<-180?r-360*Math.round(r/360):r):ed(isNaN(t)?e:t)});function eV(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}eU(ep);class eG extends Map{constructor(t,e=eQ){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(let[e,r]of t)this.set(e,r)}get(t){return super.get(eX(this,t))}has(t){return super.has(eX(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):(t.set(i,r),r)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},r){let i=e(r);return t.has(i)&&(r=t.get(i),t.delete(i)),r}(this,t))}}function eX({_intern:t,_key:e},r){let i=e(r);return t.has(i)?t.get(i):r}function eQ(t){return null!==t&&"object"==typeof t?t.valueOf():t}let eK=Symbol("implicit");function eJ(){var t=new eG,e=[],r=[],i=eK;function n(n){let a=t.get(n);if(void 0===a){if(i!==eK)return i;t.set(n,a=e.push(n)-1)}return r[a%r.length]}return n.domain=function(r){if(!arguments.length)return e.slice();for(let i of(e=[],t=new eG,r))t.has(i)||t.set(i,e.push(i)-1);return n},n.range=function(t){return arguments.length?(r=Array.from(t),n):r.slice()},n.unknown=function(t){return arguments.length?(i=t,n):i},n.copy=function(){return eJ(e,r).unknown(i)},eV.apply(n,arguments),n}let e0=Math.sqrt(50),e1=Math.sqrt(10),e2=Math.sqrt(2);function e5(t,e,r){let i,n,a;let o=(e-t)/Math.max(0,r),s=Math.floor(Math.log10(o)),l=o/Math.pow(10,s),h=l>=e0?10:l>=e1?5:l>=e2?2:1;return(s<0?(i=Math.round(t*(a=Math.pow(10,-s)/h)),n=Math.round(e*a),i/a e&&--n,a=-a):(i=Math.round(t/(a=Math.pow(10,s)*h)),n=Math.round(e/a),i*a e&&--n),ne?1:t>=e?0:NaN}function e8(t,e){return null==t||null==e?NaN:e t?1:e>=t?0:NaN}function e9(t){let e,r,i;function n(t,i,a=0,o=t.length){if(a >>1;0>r(t[e],i)?a=e+1:o=e}while(a e6(t(e),r),i=(e,r)=>t(e)-r):(e=t===e6||t===e8?t:e7,r=t,i=t),{left:n,center:function(t,e,r=0,a=t.length){let o=n(t,e,r,a-1);return o>r&&i(t[o-1],e)>-i(t[o],e)?o-1:o},right:function(t,i,n=0,a=t.length){if(n>>1;0>=r(t[e],i)?n=e+1:a=e}while(ne&&(r=t,t=e,e=r),h=function(r){return Math.max(t,Math.min(e,r))}),i=l>2?rl:rs,n=a=null,u}function u(e){return null==e||isNaN(e=+e)?r:(n||(n=i(o.map(t),s,l)))(t(h(e)))}return u.invert=function(r){return h(e((a||(a=i(s,o.map(t),tE)))(r)))},u.domain=function(t){return arguments.length?(o=Array.from(t,ri),c()):o.slice()},u.range=function(t){return arguments.length?(s=Array.from(t),c()):s.slice()},u.rangeRound=function(t){return s=Array.from(t),l=rr,c()},u.clamp=function(t){return arguments.length?(h=!!t||ra,c()):h!==ra},u.interpolate=function(t){return arguments.length?(l=t,c()):l},u.unknown=function(t){return arguments.length?(r=t,u):r},function(r,i){return t=r,e=i,c()}})()(ra,ra)}var ru=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function rd(t){var e;if(!(e=ru.exec(t)))throw Error("invalid format: "+t);return new rf({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function rf(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function rp(t,e){if((r=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var r,i=t.slice(0,r);return[i.length>1?i[0]+i.slice(2):i,+t.slice(r+1)]}function rg(t){return(t=rp(Math.abs(t)))?t[1]:NaN}function rm(t,e){var r=rp(t,e);if(!r)return t+"";var i=r[0],n=r[1];return n<0?"0."+Array(-n).join("0")+i:i.length>n+1?i.slice(0,n+1)+"."+i.slice(n+1):i+Array(n-i.length+2).join("0")}rd.prototype=rf.prototype,rf.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let ry={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>rm(100*t,e),r:rm,s:function(t,e){var r=rp(t,e);if(!r)return t+"";var i=r[0],n=r[1],a=n-(tn=3*Math.max(-8,Math.min(8,Math.floor(n/3))))+1,o=i.length;return a===o?i:a>o?i+Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+Array(1-a).join("0")+rp(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function rx(t){return t}var rb=Array.prototype.map,rk=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];to=(ta=function(t){var e,r,i,n=void 0===t.grouping||void 0===t.thousands?rx:(e=rb.call(t.grouping,Number),r=t.thousands+"",function(t,i){for(var n=t.length,a=[],o=0,s=e[0],l=0;n>0&&s>0&&(l+s+1>i&&(s=Math.max(1,i-l)),a.push(t.substring(n-=s,n+s)),!((l+=s+1)>i));)s=e[o=(o+1)%e.length];return a.reverse().join(r)}),a=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",s=void 0===t.decimal?".":t.decimal+"",l=void 0===t.numerals?rx:(i=rb.call(t.numerals,String),function(t){return t.replace(/[0-9]/g,function(t){return i[+t]})}),h=void 0===t.percent?"%":t.percent+"",c=void 0===t.minus?"\u2212":t.minus+"",u=void 0===t.nan?"NaN":t.nan+"";function d(t){var e=(t=rd(t)).fill,r=t.align,i=t.sign,d=t.symbol,f=t.zero,p=t.width,g=t.comma,m=t.precision,y=t.trim,x=t.type;"n"===x?(g=!0,x="g"):ry[x]||(void 0===m&&(m=12),y=!0,x="g"),(f||"0"===e&&"="===r)&&(f=!0,e="0",r="=");var b="$"===d?a:"#"===d&&/[boxX]/.test(x)?"0"+x.toLowerCase():"",k="$"===d?o:/[%p]/.test(x)?h:"",C=ry[x],w=/[defgprs%]/.test(x);function _(t){var a,o,h,d=b,_=k;if("c"===x)_=C(t)+_,t="";else{var v=(t=+t)<0||1/t<0;if(t=isNaN(t)?u:C(Math.abs(t),m),y&&(t=function(t){t:for(var e,r=t.length,i=1,n=-1;i 0&&(n=0)}return n>0?t.slice(0,n)+t.slice(e+1):t}(t)),v&&0==+t&&"+"!==i&&(v=!1),d=(v?"("===i?i:c:"-"===i||"("===i?"":i)+d,_=("s"===x?rk[8+tn/3]:"")+_+(v&&"("===i?")":""),w){for(a=-1,o=t.length;++a (h=t.charCodeAt(a))||h>57){_=(46===h?s+t.slice(a+1):t.slice(a))+_,t=t.slice(0,a);break}}}g&&!f&&(t=n(t,1/0));var T=d.length+t.length+_.length,S=T >1)+d+t+_+S.slice(T);break;default:t=S+d+t+_}return l(t)}return m=void 0===m?6:/[gprs]/.test(x)?Math.max(1,Math.min(21,m)):Math.max(0,Math.min(20,m)),_.toString=function(){return t+""},_}return{format:d,formatPrefix:function(t,e){var r=d(((t=rd(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(rg(e)/3))),n=Math.pow(10,-i),a=rk[8+i/3];return function(t){return r(n*t)+a}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,ts=ta.formatPrefix;let rC=new Date,rw=new Date;function r_(t,e,r,i){function n(e){return t(e=0==arguments.length?new Date:new Date(+e)),e}return n.floor=e=>(t(e=new Date(+e)),e),n.ceil=r=>(t(r=new Date(r-1)),e(r,1),t(r),r),n.round=t=>{let e=n(t),r=n.ceil(t);return t-e
(e(t=new Date(+t),null==r?1:Math.floor(r)),t),n.range=(r,i,a)=>{let o;let s=[];if(r=n.ceil(r),a=null==a?1:Math.floor(a),!(r0))return s;do s.push(o=new Date(+r)),e(r,a),t(r);while(o r_(e=>{if(e>=e)for(;t(e),!r(e);)e.setTime(e-1)},(t,i)=>{if(t>=t){if(i<0)for(;++i<=0;)for(;e(t,-1),!r(t););else for(;--i>=0;)for(;e(t,1),!r(t););}}),r&&(n.count=(e,i)=>(rC.setTime(+e),rw.setTime(+i),t(rC),t(rw),Math.floor(r(rC,rw))),n.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?n.filter(i?e=>i(e)%t==0:e=>n.count(0,e)%t==0):n:null),n}let rv=r_(()=>{},(t,e)=>{t.setTime(+t+e)},(t,e)=>e-t);rv.every=t=>isFinite(t=Math.floor(t))&&t>0?t>1?r_(e=>{e.setTime(Math.floor(e/t)*t)},(e,r)=>{e.setTime(+e+r*t)},(e,r)=>(r-e)/t):rv:null,rv.range;let rT=r_(t=>{t.setTime(t-t.getMilliseconds())},(t,e)=>{t.setTime(+t+1e3*e)},(t,e)=>(e-t)/1e3,t=>t.getUTCSeconds());rT.range;let rS=r_(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds())},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getMinutes());rS.range;let rM=r_(t=>{t.setUTCSeconds(0,0)},(t,e)=>{t.setTime(+t+6e4*e)},(t,e)=>(e-t)/6e4,t=>t.getUTCMinutes());rM.range;let rB=r_(t=>{t.setTime(t-t.getMilliseconds()-1e3*t.getSeconds()-6e4*t.getMinutes())},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getHours());rB.range;let rL=r_(t=>{t.setUTCMinutes(0,0,0)},(t,e)=>{t.setTime(+t+36e5*e)},(t,e)=>(e-t)/36e5,t=>t.getUTCHours());rL.range;let rA=r_(t=>t.setHours(0,0,0,0),(t,e)=>t.setDate(t.getDate()+e),(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/864e5,t=>t.getDate()-1);rA.range;let rF=r_(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>t.getUTCDate()-1);rF.range;let r$=r_(t=>{t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+e)},(t,e)=>(e-t)/864e5,t=>Math.floor(t/864e5));function rW(t){return r_(e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)},(t,e)=>{t.setDate(t.getDate()+7*e)},(t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*6e4)/6048e5)}r$.range;let rE=rW(0),rN=rW(1),rZ=rW(2),rD=rW(3),rj=rW(4),rO=rW(5),rI=rW(6);function rz(t){return r_(e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)},(t,e)=>(e-t)/6048e5)}rE.range,rN.range,rZ.range,rD.range,rj.range,rO.range,rI.range;let rR=rz(0),rP=rz(1),rq=rz(2),rH=rz(3),rU=rz(4),rY=rz(5),rV=rz(6);rR.range,rP.range,rq.range,rH.range,rU.range,rY.range,rV.range;let rG=r_(t=>{t.setDate(1),t.setHours(0,0,0,0)},(t,e)=>{t.setMonth(t.getMonth()+e)},(t,e)=>e.getMonth()-t.getMonth()+(e.getFullYear()-t.getFullYear())*12,t=>t.getMonth());rG.range;let rX=r_(t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)},(t,e)=>e.getUTCMonth()-t.getUTCMonth()+(e.getUTCFullYear()-t.getUTCFullYear())*12,t=>t.getUTCMonth());rX.range;let rQ=r_(t=>{t.setMonth(0,1),t.setHours(0,0,0,0)},(t,e)=>{t.setFullYear(t.getFullYear()+e)},(t,e)=>e.getFullYear()-t.getFullYear(),t=>t.getFullYear());rQ.every=t=>isFinite(t=Math.floor(t))&&t>0?r_(e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)},(e,r)=>{e.setFullYear(e.getFullYear()+r*t)}):null,rQ.range;let rK=r_(t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)},(t,e)=>e.getUTCFullYear()-t.getUTCFullYear(),t=>t.getUTCFullYear());function rJ(t,e,r,i,n,a){let o=[[rT,1,1e3],[rT,5,5e3],[rT,15,15e3],[rT,30,3e4],[a,1,6e4],[a,5,3e5],[a,15,9e5],[a,30,18e5],[n,1,36e5],[n,3,108e5],[n,6,216e5],[n,12,432e5],[i,1,864e5],[i,2,1728e5],[r,1,6048e5],[e,1,2592e6],[e,3,7776e6],[t,1,31536e6]];function s(e,r,i){let n=Math.abs(r-e)/i,a=e9(([,,t])=>t).right(o,n);if(a===o.length)return t.every(e4(e/31536e6,r/31536e6,i));if(0===a)return rv.every(Math.max(e4(e,r,i),1));let[s,l]=o[n/o[a-1][2] isFinite(t=Math.floor(t))&&t>0?r_(e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,r)=>{e.setUTCFullYear(e.getUTCFullYear()+r*t)}):null,rK.range;let[r0,r1]=rJ(rK,rX,rR,r$,rL,rM),[r2,r5]=rJ(rQ,rG,rE,rA,rB,rS);function r3(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function r4(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function r6(t,e,r){return{y:t,m:e,d:r,H:0,M:0,S:0,L:0}}var r8={"-":"",_:" ",0:"0"},r9=/^\s*\d+/,r7=/^%/,it=/[\\^$*+?|[\]().{}]/g;function ie(t,e,r){var i=t<0?"-":"",n=(i?-t:t)+"",a=n.length;return i+(a [t.toLowerCase(),e]))}function io(t,e,r){var i=r9.exec(e.slice(r,r+1));return i?(t.w=+i[0],r+i[0].length):-1}function is(t,e,r){var i=r9.exec(e.slice(r,r+1));return i?(t.u=+i[0],r+i[0].length):-1}function il(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.U=+i[0],r+i[0].length):-1}function ih(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.V=+i[0],r+i[0].length):-1}function ic(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.W=+i[0],r+i[0].length):-1}function iu(t,e,r){var i=r9.exec(e.slice(r,r+4));return i?(t.y=+i[0],r+i[0].length):-1}function id(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),r+i[0].length):-1}function ip(t,e,r){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(r,r+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),r+i[0].length):-1}function ig(t,e,r){var i=r9.exec(e.slice(r,r+1));return i?(t.q=3*i[0]-3,r+i[0].length):-1}function im(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.m=i[0]-1,r+i[0].length):-1}function iy(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.d=+i[0],r+i[0].length):-1}function ix(t,e,r){var i=r9.exec(e.slice(r,r+3));return i?(t.m=0,t.d=+i[0],r+i[0].length):-1}function ib(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.H=+i[0],r+i[0].length):-1}function ik(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.M=+i[0],r+i[0].length):-1}function iC(t,e,r){var i=r9.exec(e.slice(r,r+2));return i?(t.S=+i[0],r+i[0].length):-1}function iw(t,e,r){var i=r9.exec(e.slice(r,r+3));return i?(t.L=+i[0],r+i[0].length):-1}function i_(t,e,r){var i=r9.exec(e.slice(r,r+6));return i?(t.L=Math.floor(i[0]/1e3),r+i[0].length):-1}function iv(t,e,r){var i=r7.exec(e.slice(r,r+1));return i?r+i[0].length:-1}function iT(t,e,r){var i=r9.exec(e.slice(r));return i?(t.Q=+i[0],r+i[0].length):-1}function iS(t,e,r){var i=r9.exec(e.slice(r));return i?(t.s=+i[0],r+i[0].length):-1}function iM(t,e){return ie(t.getDate(),e,2)}function iB(t,e){return ie(t.getHours(),e,2)}function iL(t,e){return ie(t.getHours()%12||12,e,2)}function iA(t,e){return ie(1+rA.count(rQ(t),t),e,3)}function iF(t,e){return ie(t.getMilliseconds(),e,3)}function i$(t,e){return iF(t,e)+"000"}function iW(t,e){return ie(t.getMonth()+1,e,2)}function iE(t,e){return ie(t.getMinutes(),e,2)}function iN(t,e){return ie(t.getSeconds(),e,2)}function iZ(t){var e=t.getDay();return 0===e?7:e}function iD(t,e){return ie(rE.count(rQ(t)-1,t),e,2)}function ij(t){var e=t.getDay();return e>=4||0===e?rj(t):rj.ceil(t)}function iO(t,e){return t=ij(t),ie(rj.count(rQ(t),t)+(4===rQ(t).getDay()),e,2)}function iI(t){return t.getDay()}function iz(t,e){return ie(rN.count(rQ(t)-1,t),e,2)}function iR(t,e){return ie(t.getFullYear()%100,e,2)}function iP(t,e){return ie((t=ij(t)).getFullYear()%100,e,2)}function iq(t,e){return ie(t.getFullYear()%1e4,e,4)}function iH(t,e){var r=t.getDay();return ie((t=r>=4||0===r?rj(t):rj.ceil(t)).getFullYear()%1e4,e,4)}function iU(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ie(e/60|0,"0",2)+ie(e%60,"0",2)}function iY(t,e){return ie(t.getUTCDate(),e,2)}function iV(t,e){return ie(t.getUTCHours(),e,2)}function iG(t,e){return ie(t.getUTCHours()%12||12,e,2)}function iX(t,e){return ie(1+rF.count(rK(t),t),e,3)}function iQ(t,e){return ie(t.getUTCMilliseconds(),e,3)}function iK(t,e){return iQ(t,e)+"000"}function iJ(t,e){return ie(t.getUTCMonth()+1,e,2)}function i0(t,e){return ie(t.getUTCMinutes(),e,2)}function i1(t,e){return ie(t.getUTCSeconds(),e,2)}function i2(t){var e=t.getUTCDay();return 0===e?7:e}function i5(t,e){return ie(rR.count(rK(t)-1,t),e,2)}function i3(t){var e=t.getUTCDay();return e>=4||0===e?rU(t):rU.ceil(t)}function i4(t,e){return t=i3(t),ie(rU.count(rK(t),t)+(4===rK(t).getUTCDay()),e,2)}function i6(t){return t.getUTCDay()}function i8(t,e){return ie(rP.count(rK(t)-1,t),e,2)}function i9(t,e){return ie(t.getUTCFullYear()%100,e,2)}function i7(t,e){return ie((t=i3(t)).getUTCFullYear()%100,e,2)}function nt(t,e){return ie(t.getUTCFullYear()%1e4,e,4)}function ne(t,e){var r=t.getUTCDay();return ie((t=r>=4||0===r?rU(t):rU.ceil(t)).getUTCFullYear()%1e4,e,4)}function nr(){return"+0000"}function ni(){return"%"}function nn(t){return+t}function na(t){return Math.floor(+t/1e3)}function no(t){return new Date(t)}function ns(t){return t instanceof Date?+t:+new Date(+t)}function nl(){return eV.apply((function t(e,r,i,n,a,o,s,l,h,c){var u=rc(),d=u.invert,f=u.domain,p=c(".%L"),g=c(":%S"),m=c("%I:%M"),y=c("%I %p"),x=c("%a %d"),b=c("%b %d"),k=c("%B"),C=c("%Y");function w(t){return(h(t) =12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:nn,s:na,S:iN,u:iZ,U:iD,V:iO,w:iI,W:iz,x:null,X:null,y:iR,Y:iq,Z:iU,"%":ni},k={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return l[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:iY,e:iY,f:iK,g:i7,G:ne,H:iV,I:iG,j:iX,L:iQ,m:iJ,M:i0,p:function(t){return n[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:nn,s:na,S:i1,u:i2,U:i5,V:i4,w:i6,W:i8,x:null,X:null,y:i9,Y:nt,Z:nr,"%":ni},C={a:function(t,e,r){var i=f.exec(e.slice(r));return i?(t.w=p.get(i[0].toLowerCase()),r+i[0].length):-1},A:function(t,e,r){var i=u.exec(e.slice(r));return i?(t.w=d.get(i[0].toLowerCase()),r+i[0].length):-1},b:function(t,e,r){var i=y.exec(e.slice(r));return i?(t.m=x.get(i[0].toLowerCase()),r+i[0].length):-1},B:function(t,e,r){var i=g.exec(e.slice(r));return i?(t.m=m.get(i[0].toLowerCase()),r+i[0].length):-1},c:function(t,r,i){return v(t,e,r,i)},d:iy,e:iy,f:i_,g:id,G:iu,H:ib,I:ib,j:ix,L:iw,m:im,M:ik,p:function(t,e,r){var i=h.exec(e.slice(r));return i?(t.p=c.get(i[0].toLowerCase()),r+i[0].length):-1},q:ig,Q:iT,s:iS,S:iC,u:is,U:il,V:ih,w:io,W:ic,x:function(t,e,i){return v(t,r,e,i)},X:function(t,e,r){return v(t,i,e,r)},y:id,Y:iu,Z:ip,"%":iv};function w(t,e){return function(r){var i,n,a,o=[],s=-1,l=0,h=t.length;for(r instanceof Date||(r=new Date(+r));++s 53)return null;"w"in a||(a.w=1),"Z"in a?(i=(n=(i=r4(r6(a.y,0,1))).getUTCDay())>4||0===n?rP.ceil(i):rP(i),i=rF.offset(i,(a.V-1)*7),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(i=(n=(i=r3(r6(a.y,0,1))).getDay())>4||0===n?rN.ceil(i):rN(i),i=rA.offset(i,(a.V-1)*7),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),n="Z"in a?r4(r6(a.y,0,1)).getUTCDay():r3(r6(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(n+5)%7:a.w+7*a.U-(n+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,r4(a)):r3(a)}}function v(t,e,r,i){for(var n,a,o=0,s=e.length,l=r.length;o =l)return -1;if(37===(n=e.charCodeAt(o++))){if(!(a=C[(n=e.charAt(o++))in r8?e.charAt(o++):n])||(i=a(t,r,i))<0)return -1}else if(n!=r.charCodeAt(i++))return -1}return i}return b.x=w(r,b),b.X=w(i,b),b.c=w(e,b),k.x=w(r,k),k.X=w(i,k),k.c=w(e,k),{format:function(t){var e=w(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=_(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=w(t+="",k);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,tl.parse,tl.utcFormat,tl.utcParse;let nh=function(t){for(var e=t.length/6|0,r=Array(e),i=0;i=1?nk:t<=-1?-nk:Math.asin(t)}let n_=Math.PI,nv=2*n_,nT=nv-1e-6;function nS(t){this._+=t[0];for(let e=1,r=t.length;e =0))throw Error(`invalid digits: ${t}`);if(e>15)return nS;let r=10**e;return function(t){this._+=t[0];for(let e=1,i=t.length;e1e-6){if(Math.abs(c*s-l*h)>1e-6&&n){let d=r-a,f=i-o,p=s*s+l*l,g=Math.sqrt(p),m=Math.sqrt(u),y=n*Math.tan((n_-Math.acos((p+u-(d*d+f*f))/(2*g*m)))/2),x=y/m,b=y/g;Math.abs(x-1)>1e-6&&this._append`L${t+x*h},${e+x*c}`,this._append`A${n},${n},0,0,${+(c*d>h*f)},${this._x1=t+b*s},${this._y1=e+b*l}`}else this._append`L${this._x1=t},${this._y1=e}`}}arc(t,e,r,i,n,a){if(t=+t,e=+e,a=!!a,(r=+r)<0)throw Error(`negative radius: ${r}`);let o=r*Math.cos(i),s=r*Math.sin(i),l=t+o,h=e+s,c=1^a,u=a?i-n:n-i;null===this._x1?this._append`M${l},${h}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-h)>1e-6)&&this._append`L${l},${h}`,r&&(u<0&&(u=u%nv+nv),u>nT?this._append`A${r},${r},0,1,${c},${t-o},${e-s}A${r},${r},0,1,${c},${this._x1=l},${this._y1=h}`:u>1e-6&&this._append`A${r},${r},0,${+(u>=n_)},${c},${this._x1=t+r*Math.cos(n)},${this._y1=e+r*Math.sin(n)}`)}rect(t,e,r,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${r=+r}v${+i}h${-r}Z`}toString(){return this._}}function nB(t){let e=3;return t.digits=function(r){if(!arguments.length)return e;if(null==r)e=null;else{let t=Math.floor(r);if(!(t>=0))throw RangeError(`invalid digits: ${r}`);e=t}return t},()=>new nM(e)}function nL(t){return t.innerRadius}function nA(t){return t.outerRadius}function nF(t){return t.startAngle}function n$(t){return t.endAngle}function nW(t){return t&&t.padAngle}function nE(t,e,r,i,n,a,o){var s=t-r,l=e-i,h=(o?a:-a)/nx(s*s+l*l),c=h*l,u=-h*s,d=t+c,f=e+u,p=r+c,g=i+u,m=(d+p)/2,y=(f+g)/2,x=p-d,b=g-f,k=x*x+b*b,C=n-a,w=d*g-p*f,_=(b<0?-1:1)*nx(ng(0,C*C*k-w*w)),v=(w*b-x*_)/k,T=(-w*x-b*_)/k,S=(w*b+x*_)/k,M=(-w*x+b*_)/k,B=v-m,L=T-y,A=S-m,F=M-y;return B*B+L*L>A*A+F*F&&(v=S,T=M),{cx:v,cy:T,x01:-c,y01:-u,x11:v*(n/C-1),y11:T*(n/C-1)}}function nN(){var t=nL,e=nA,r=nu(0),i=null,n=nF,a=n$,o=nW,s=null,l=nB(h);function h(){var h,c,u=+t.apply(this,arguments),d=+e.apply(this,arguments),f=n.apply(this,arguments)-nk,p=a.apply(this,arguments)-nk,g=nd(p-f),m=p>f;if(s||(s=h=l()),d1e-12){if(g>nC-1e-12)s.moveTo(d*np(f),d*ny(f)),s.arc(0,0,d,f,p,!m),u>1e-12&&(s.moveTo(u*np(p),u*ny(p)),s.arc(0,0,u,p,f,m));else{var y,x,b=f,k=p,C=f,w=p,_=g,v=g,T=o.apply(this,arguments)/2,S=T>1e-12&&(i?+i.apply(this,arguments):nx(u*u+d*d)),M=nm(nd(d-u)/2,+r.apply(this,arguments)),B=M,L=M;if(S>1e-12){var A=nw(S/u*ny(T)),F=nw(S/d*ny(T));(_-=2*A)>1e-12?(A*=m?1:-1,C+=A,w-=A):(_=0,C=w=(f+p)/2),(v-=2*F)>1e-12?(F*=m?1:-1,b+=F,k-=F):(v=0,b=k=(f+p)/2)}var $=d*np(b),W=d*ny(b),E=u*np(w),N=u*ny(w);if(M>1e-12){var Z,D=d*np(k),j=d*ny(k),O=u*np(C),I=u*ny(C);if(g 1?0:z<-1?nb:Math.acos(z))/2),Y=nx(Z[0]*Z[0]+Z[1]*Z[1]);B=nm(M,(u-Y)/(U-1)),L=nm(M,(d-Y)/(U+1))}else B=L=0}}v>1e-12?L>1e-12?(y=nE(O,I,$,W,d,L,m),x=nE(D,j,E,N,d,L,m),s.moveTo(y.cx+y.x01,y.cy+y.y01),L 1e-12&&_>1e-12?B>1e-12?(y=nE(E,N,D,j,u,-B,m),x=nE($,W,O,I,u,-B,m),s.lineTo(y.cx+y.x01,y.cy+y.y01),B t?1:e>=t?0:NaN}function nP(t){return t}function nq(){var t=nP,e=nR,r=null,i=nu(0),n=nu(nC),a=nu(0);function o(o){var s,l,h,c,u,d=(o=nZ(o)).length,f=0,p=Array(d),g=Array(d),m=+i.apply(this,arguments),y=Math.min(nC,Math.max(-nC,n.apply(this,arguments)-m)),x=Math.min(Math.abs(y)/d,a.apply(this,arguments)),b=x*(y<0?-1:1);for(s=0;s 0&&(f+=u);for(null!=e?p.sort(function(t,r){return e(g[t],g[r])}):null!=r&&p.sort(function(t,e){return r(o[t],o[e])}),s=0,h=f?(y-d*b)/f:0;s 0?u*h:0)+b,g[l]={data:o[l],index:s,value:u,startAngle:m,endAngle:c,padAngle:x};return g}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:nu(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,r=null,o):e},o.sort=function(t){return arguments.length?(r=t,e=null,o):r},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:nu(+t),o):i},o.endAngle=function(t){return arguments.length?(n="function"==typeof t?t:nu(+t),o):n},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:nu(+t),o):a},o}function nH(){}function nU(t,e,r){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+r)/6)}function nY(t){this._context=t}function nV(t){return new nY(t)}function nG(t){this._context=t}function nX(t){return new nG(t)}function nQ(t){this._context=t}function nK(t){return new nQ(t)}nM.prototype,Array.prototype.slice,nD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},nY.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:nU(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:nU(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},nG.prototype={areaStart:nH,areaEnd:nH,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:nU(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},nQ.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(r,i):this._context.moveTo(r,i);break;case 3:this._point=4;default:nU(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class nJ{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function n0(t){return new nJ(t,!0)}function n1(t){return new nJ(t,!1)}function n2(t,e){this._basis=new nY(t),this._beta=e}n2.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,r=t.length-1;if(r>0)for(var i,n=t[0],a=e[0],o=t[r]-n,s=e[r]-a,l=-1;++l<=r;)i=l/r,this._basis.point(this._beta*t[l]+(1-this._beta)*(n+i*o),this._beta*e[l]+(1-this._beta)*(a+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};let n5=function t(e){function r(t){return 1===e?new nY(t):new n2(t,e)}return r.beta=function(e){return t(+e)},r}(.85);function n3(t,e,r){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-r),t._x2,t._y2)}function n4(t,e){this._context=t,this._k=(1-e)/6}n4.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:n3(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:n3(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let n6=function t(e){function r(t){return new n4(t,e)}return r.tension=function(e){return t(+e)},r}(0);function n8(t,e){this._context=t,this._k=(1-e)/6}n8.prototype={areaStart:nH,areaEnd:nH,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:n3(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let n9=function t(e){function r(t){return new n8(t,e)}return r.tension=function(e){return t(+e)},r}(0);function n7(t,e){this._context=t,this._k=(1-e)/6}n7.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:n3(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let at=function t(e){function r(t){return new n7(t,e)}return r.tension=function(e){return t(+e)},r}(0);function ae(t,e,r){var i=t._x1,n=t._y1,a=t._x2,o=t._y2;if(t._l01_a>1e-12){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,l=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/l,n=(n*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/l}if(t._l23_a>1e-12){var h=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,c=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*h+t._x1*t._l23_2a-e*t._l12_2a)/c,o=(o*h+t._y1*t._l23_2a-r*t._l12_2a)/c}t._context.bezierCurveTo(i,n,a,o,t._x2,t._y2)}function ar(t,e){this._context=t,this._alpha=e}ar.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:ae(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let ai=function t(e){function r(t){return e?new ar(t,e):new n4(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function an(t,e){this._context=t,this._alpha=e}an.prototype={areaStart:nH,areaEnd:nH,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:ae(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let aa=function t(e){function r(t){return e?new an(t,e):new n8(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function ao(t,e){this._context=t,this._alpha=e}ao.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var r=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(r*r+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ae(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};let as=function t(e){function r(t){return e?new ao(t,e):new n7(t,0)}return r.alpha=function(e){return t(+e)},r}(.5);function al(t){this._context=t}function ah(t){return new al(t)}function ac(t,e,r){var i=t._x1-t._x0,n=e-t._x1,a=(t._y1-t._y0)/(i||n<0&&-0),o=(r-t._y1)/(n||i<0&&-0);return((a<0?-1:1)+(o<0?-1:1))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs((a*n+o*i)/(i+n)))||0}function au(t,e){var r=t._x1-t._x0;return r?(3*(t._y1-t._y0)/r-e)/2:e}function ad(t,e,r){var i=t._x0,n=t._y0,a=t._x1,o=t._y1,s=(a-i)/3;t._context.bezierCurveTo(i+s,n+s*e,a-s,o-s*r,a,o)}function af(t){this._context=t}function ap(t){this._context=new ag(t)}function ag(t){this._context=t}function am(t){return new af(t)}function ay(t){return new ap(t)}function ax(t){this._context=t}function ab(t){var e,r,i=t.length-1,n=Array(i),a=Array(i),o=Array(i);for(n[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e =0;--e)n[e]=(o[e]-n[e+1])/a[e];for(e=0,a[i-1]=(t[i]+n[i-1])/2;e =0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var r=this._x*(1-this._t)+t*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,e)}}this._x=t,this._y=e}},aT.prototype={constructor:aT,scale:function(t){return 1===t?this:new aT(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new aT(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var aS=new aT(1,0,0);aT.prototype},5373:function(t,e,r){"use strict";r.d(e,{Z:function(){return tt}});let{entries:i,setPrototypeOf:n,isFrozen:a,getPrototypeOf:o,getOwnPropertyDescriptor:s}=Object,{freeze:l,seal:h,create:c}=Object,{apply:u,construct:d}="undefined"!=typeof Reflect&&Reflect;l||(l=function(t){return t}),h||(h=function(t){return t}),u||(u=function(t,e,r){return t.apply(e,r)}),d||(d=function(t,e){return new t(...e)});let f=T(Array.prototype.forEach),p=T(Array.prototype.pop),g=T(Array.prototype.push),m=T(String.prototype.toLowerCase),y=T(String.prototype.toString),x=T(String.prototype.match),b=T(String.prototype.replace),k=T(String.prototype.indexOf),C=T(String.prototype.trim),w=T(Object.prototype.hasOwnProperty),_=T(RegExp.prototype.test),v=(G=TypeError,function(){for(var t=arguments.length,e=Array(t),r=0;r 1?r-1:0),n=1;n 2&&void 0!==arguments[2]?arguments[2]:m;n&&n(t,null);let i=e.length;for(;i--;){let n=e[i];if("string"==typeof n){let t=r(n);t!==n&&(a(e)||(e[i]=t),n=t)}t[n]=!0}return t}function M(t){let e=c(null);for(let[r,n]of i(t))w(t,r)&&(Array.isArray(n)?e[r]=function(t){for(let e=0;e /gm),R=h(/\$\{[\w\W]*}/gm),P=h(/^data-[\-\w.\u00B7-\uFFFF]+$/),q=h(/^aria-[\-\w]+$/),H=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),U=h(/^(?:\w+script|data):/i),Y=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=h(/^html$/i);var G,X=Object.freeze({__proto__:null,ARIA_ATTR:q,ATTR_WHITESPACE:Y,CUSTOM_ELEMENT:h(/^[a-z][.\w]*(-[.\w]+)+$/i),DATA_ATTR:P,DOCTYPE_NAME:V,ERB_EXPR:z,IS_ALLOWED_URI:H,IS_SCRIPT_OR_DATA:U,MUSTACHE_EXPR:I,TMPLIT_EXPR:R});let Q={element:1,text:3,progressingInstruction:7,comment:8,document:9},K=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let r=null,i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(r=e.getAttribute(i));let n="dompurify"+(r?"#"+r:"");try{return t.createPolicy(n,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+n+" could not be created."),null}},J=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};var tt=function t(){let e,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,n=e=>t(e);if(n.version="3.2.3",n.removed=[],!r||!r.document||r.document.nodeType!==Q.document)return n.isSupported=!1,n;let{document:a}=r,o=a,s=o.currentScript,{DocumentFragment:h,HTMLTemplateElement:u,Node:d,Element:T,NodeFilter:I,NamedNodeMap:z=r.NamedNodeMap||r.MozNamedAttrMap,HTMLFormElement:R,DOMParser:P,trustedTypes:q}=r,U=T.prototype,Y=B(U,"cloneNode"),G=B(U,"remove"),tt=B(U,"nextSibling"),te=B(U,"childNodes"),tr=B(U,"parentNode");if("function"==typeof u){let t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let ti="",{implementation:tn,createNodeIterator:ta,createDocumentFragment:to,getElementsByTagName:ts}=a,{importNode:tl}=o,th=J();n.isSupported="function"==typeof i&&"function"==typeof tr&&tn&&void 0!==tn.createHTMLDocument;let{MUSTACHE_EXPR:tc,ERB_EXPR:tu,TMPLIT_EXPR:td,DATA_ATTR:tf,ARIA_ATTR:tp,IS_SCRIPT_OR_DATA:tg,ATTR_WHITESPACE:tm,CUSTOM_ELEMENT:ty}=X,{IS_ALLOWED_URI:tx}=X,tb=null,tk=S({},[...L,...A,...F,...W,...N]),tC=null,tw=S({},[...Z,...D,...j,...O]),t_=Object.seal(c(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),tv=null,tT=null,tS=!0,tM=!0,tB=!1,tL=!0,tA=!1,tF=!0,t$=!1,tW=!1,tE=!1,tN=!1,tZ=!1,tD=!1,tj=!0,tO=!1,tI=!0,tz=!1,tR={},tP=null,tq=S({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),tH=null,tU=S({},["audio","video","img","source","image","track"]),tY=null,tV=S({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tG="http://www.w3.org/1998/Math/MathML",tX="http://www.w3.org/2000/svg",tQ="http://www.w3.org/1999/xhtml",tK=tQ,tJ=!1,t0=null,t1=S({},[tG,tX,tQ],y),t2=S({},["mi","mo","mn","ms","mtext"]),t5=S({},["annotation-xml"]),t3=S({},["title","style","font","a","script"]),t4=null,t6=["application/xhtml+xml","text/html"],t8=null,t9=null,t7=a.createElement("form"),et=function(t){return t instanceof RegExp||t instanceof Function},ee=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t9||t9!==t){if(t&&"object"==typeof t||(t={}),t=M(t),t8="application/xhtml+xml"===(t4=-1===t6.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE)?y:m,tb=w(t,"ALLOWED_TAGS")?S({},t.ALLOWED_TAGS,t8):tk,tC=w(t,"ALLOWED_ATTR")?S({},t.ALLOWED_ATTR,t8):tw,t0=w(t,"ALLOWED_NAMESPACES")?S({},t.ALLOWED_NAMESPACES,y):t1,tY=w(t,"ADD_URI_SAFE_ATTR")?S(M(tV),t.ADD_URI_SAFE_ATTR,t8):tV,tH=w(t,"ADD_DATA_URI_TAGS")?S(M(tU),t.ADD_DATA_URI_TAGS,t8):tU,tP=w(t,"FORBID_CONTENTS")?S({},t.FORBID_CONTENTS,t8):tq,tv=w(t,"FORBID_TAGS")?S({},t.FORBID_TAGS,t8):{},tT=w(t,"FORBID_ATTR")?S({},t.FORBID_ATTR,t8):{},tR=!!w(t,"USE_PROFILES")&&t.USE_PROFILES,tS=!1!==t.ALLOW_ARIA_ATTR,tM=!1!==t.ALLOW_DATA_ATTR,tB=t.ALLOW_UNKNOWN_PROTOCOLS||!1,tL=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,tA=t.SAFE_FOR_TEMPLATES||!1,tF=!1!==t.SAFE_FOR_XML,t$=t.WHOLE_DOCUMENT||!1,tN=t.RETURN_DOM||!1,tZ=t.RETURN_DOM_FRAGMENT||!1,tD=t.RETURN_TRUSTED_TYPE||!1,tE=t.FORCE_BODY||!1,tj=!1!==t.SANITIZE_DOM,tO=t.SANITIZE_NAMED_PROPS||!1,tI=!1!==t.KEEP_CONTENT,tz=t.IN_PLACE||!1,tx=t.ALLOWED_URI_REGEXP||H,tK=t.NAMESPACE||tQ,t2=t.MATHML_TEXT_INTEGRATION_POINTS||t2,t5=t.HTML_INTEGRATION_POINTS||t5,t_=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&et(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(t_.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&et(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(t_.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(t_.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tA&&(tM=!1),tZ&&(tN=!0),tR&&(tb=S({},N),tC=[],!0===tR.html&&(S(tb,L),S(tC,Z)),!0===tR.svg&&(S(tb,A),S(tC,D),S(tC,O)),!0===tR.svgFilters&&(S(tb,F),S(tC,D),S(tC,O)),!0===tR.mathMl&&(S(tb,W),S(tC,j),S(tC,O))),t.ADD_TAGS&&(tb===tk&&(tb=M(tb)),S(tb,t.ADD_TAGS,t8)),t.ADD_ATTR&&(tC===tw&&(tC=M(tC)),S(tC,t.ADD_ATTR,t8)),t.ADD_URI_SAFE_ATTR&&S(tY,t.ADD_URI_SAFE_ATTR,t8),t.FORBID_CONTENTS&&(tP===tq&&(tP=M(tP)),S(tP,t.FORBID_CONTENTS,t8)),tI&&(tb["#text"]=!0),t$&&S(tb,["html","head","body"]),tb.table&&(S(tb,["tbody"]),delete tv.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ti=(e=t.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===e&&(e=K(q,s)),null!==e&&"string"==typeof ti&&(ti=e.createHTML(""));l&&l(t),t9=t}},er=S({},[...A,...F,...$]),ei=S({},[...W,...E]),en=function(t){let e=tr(t);e&&e.tagName||(e={namespaceURI:tK,tagName:"template"});let r=m(t.tagName),i=m(e.tagName);return!!t0[t.namespaceURI]&&(t.namespaceURI===tX?e.namespaceURI===tQ?"svg"===r:e.namespaceURI===tG?"svg"===r&&("annotation-xml"===i||t2[i]):!!er[r]:t.namespaceURI===tG?e.namespaceURI===tQ?"math"===r:e.namespaceURI===tX?"math"===r&&t5[i]:!!ei[r]:t.namespaceURI===tQ?(e.namespaceURI!==tX||!!t5[i])&&(e.namespaceURI!==tG||!!t2[i])&&!ei[r]&&(t3[r]||!er[r]):"application/xhtml+xml"===t4&&!!t0[t.namespaceURI])},ea=function(t){g(n.removed,{element:t});try{tr(t).removeChild(t)}catch(e){G(t)}},eo=function(t,e){try{g(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){g(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t){if(tN||tZ)try{ea(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}}},es=function(t){let r=null,i=null;if(tE)t=" "+t;else{let e=x(t,/^[\r\n\t ]+/);i=e&&e[0]}"application/xhtml+xml"===t4&&tK===tQ&&(t=''+t+"");let n=e?e.createHTML(t):t;if(tK===tQ)try{r=new P().parseFromString(n,t4)}catch(t){}if(!r||!r.documentElement){r=tn.createDocument(tK,"template",null);try{r.documentElement.innerHTML=tJ?ti:n}catch(t){}}let o=r.body||r.documentElement;return(t&&i&&o.insertBefore(a.createTextNode(i),o.childNodes[0]||null),tK===tQ)?ts.call(r,t$?"html":"body")[0]:t$?r.documentElement:o},el=function(t){return ta.call(t.ownerDocument||t,t,I.SHOW_ELEMENT|I.SHOW_COMMENT|I.SHOW_TEXT|I.SHOW_PROCESSING_INSTRUCTION|I.SHOW_CDATA_SECTION,null)},eh=function(t){return t instanceof R&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof z)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ec=function(t){return"function"==typeof d&&t instanceof d};function eu(t,e,r){f(t,t=>{t.call(n,e,r,t9)})}let ed=function(t){let e=null;if(eu(th.beforeSanitizeElements,t,null),eh(t))return ea(t),!0;let r=t8(t.nodeName);if(eu(th.uponSanitizeElement,t,{tagName:r,allowedTags:tb}),t.hasChildNodes()&&!ec(t.firstElementChild)&&_(/<[/\w]/g,t.innerHTML)&&_(/<[/\w]/g,t.textContent)||t.nodeType===Q.progressingInstruction||tF&&t.nodeType===Q.comment&&_(/<[/\w]/g,t.data))return ea(t),!0;if(!tb[r]||tv[r]){if(!tv[r]&&ep(r)&&(t_.tagNameCheck instanceof RegExp&&_(t_.tagNameCheck,r)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(r)))return!1;if(tI&&!tP[r]){let e=tr(t)||t.parentNode,r=te(t)||t.childNodes;if(r&&e){let i=r.length;for(let n=i-1;n>=0;--n){let i=Y(r[n],!0);i.__removalCount=(t.__removalCount||0)+1,e.insertBefore(i,tt(t))}}}return ea(t),!0}return t instanceof T&&!en(t)||("noscript"===r||"noembed"===r||"noframes"===r)&&_(/<\/no(script|embed|frames)/i,t.innerHTML)?(ea(t),!0):(tA&&t.nodeType===Q.text&&(e=t.textContent,f([tc,tu,td],t=>{e=b(e,t," ")}),t.textContent!==e&&(g(n.removed,{element:t.cloneNode()}),t.textContent=e)),eu(th.afterSanitizeElements,t,null),!1)},ef=function(t,e,r){if(tj&&("id"===e||"name"===e)&&(r in a||r in t7))return!1;if(tM&&!tT[e]&&_(tf,e));else if(tS&&_(tp,e));else if(!tC[e]||tT[e]){if(!(ep(t)&&(t_.tagNameCheck instanceof RegExp&&_(t_.tagNameCheck,t)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(t))&&(t_.attributeNameCheck instanceof RegExp&&_(t_.attributeNameCheck,e)||t_.attributeNameCheck instanceof Function&&t_.attributeNameCheck(e))||"is"===e&&t_.allowCustomizedBuiltInElements&&(t_.tagNameCheck instanceof RegExp&&_(t_.tagNameCheck,r)||t_.tagNameCheck instanceof Function&&t_.tagNameCheck(r))))return!1}else if(tY[e]);else if(_(tx,b(r,tm,"")));else if(("src"===e||"xlink:href"===e||"href"===e)&&"script"!==t&&0===k(r,"data:")&&tH[t]);else if(tB&&!_(tg,b(r,tm,"")));else if(r)return!1;return!0},ep=function(t){return"annotation-xml"!==t&&x(t,ty)},eg=function(t){eu(th.beforeSanitizeAttributes,t,null);let{attributes:r}=t;if(!r||eh(t))return;let i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:tC,forceKeepAttr:void 0},a=r.length;for(;a--;){let{name:o,namespaceURI:s,value:l}=r[a],h=t8(o),c="value"===o?l:C(l);if(i.attrName=h,i.attrValue=c,i.keepAttr=!0,i.forceKeepAttr=void 0,eu(th.uponSanitizeAttribute,t,i),c=i.attrValue,tO&&("id"===h||"name"===h)&&(eo(o,t),c="user-content-"+c),tF&&_(/((--!?|])>)|<\/(style|title)/i,c)){eo(o,t);continue}if(i.forceKeepAttr||(eo(o,t),!i.keepAttr))continue;if(!tL&&_(/\/>/i,c)){eo(o,t);continue}tA&&f([tc,tu,td],t=>{c=b(c,t," ")});let u=t8(t.nodeName);if(ef(u,h,c)){if(e&&"object"==typeof q&&"function"==typeof q.getAttributeType){if(s);else switch(q.getAttributeType(u,h)){case"TrustedHTML":c=e.createHTML(c);break;case"TrustedScriptURL":c=e.createScriptURL(c)}}try{s?t.setAttributeNS(s,o,c):t.setAttribute(o,c),eh(t)?ea(t):p(n.removed)}catch(t){}}}eu(th.afterSanitizeAttributes,t,null)},em=function t(e){let r=null,i=el(e);for(eu(th.beforeSanitizeShadowDOM,e,null);r=i.nextNode();)eu(th.uponSanitizeShadowNode,r,null),ed(r),eg(r),r.content instanceof h&&t(r.content);eu(th.afterSanitizeShadowDOM,e,null)};return n.sanitize=function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,a=null,s=null,l=null;if((tJ=!t)&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ec(t)){if("function"==typeof t.toString){if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}else throw v("toString is not a function")}if(!n.isSupported)return t;if(tW||ee(r),n.removed=[],"string"==typeof t&&(tz=!1),tz){if(t.nodeName){let e=t8(t.nodeName);if(!tb[e]||tv[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof d)(a=(i=es("\x3c!----\x3e")).ownerDocument.importNode(t,!0)).nodeType===Q.element&&"BODY"===a.nodeName?i=a:"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!tN&&!tA&&!t$&&-1===t.indexOf("<"))return e&&tD?e.createHTML(t):t;if(!(i=es(t)))return tN?null:tD?ti:""}i&&tE&&ea(i.firstChild);let c=el(tz?t:i);for(;s=c.nextNode();)ed(s),eg(s),s.content instanceof h&&em(s.content);if(tz)return t;if(tN){if(tZ)for(l=to.call(i.ownerDocument);i.firstChild;)l.appendChild(i.firstChild);else l=i;return(tC.shadowroot||tC.shadowrootmode)&&(l=tl.call(o,l,!0)),l}let u=t$?i.outerHTML:i.innerHTML;return t$&&tb["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&_(V,i.ownerDocument.doctype.name)&&(u="\n"+u),tA&&f([tc,tu,td],t=>{u=b(u,t," ")}),e&&tD?e.createHTML(u):u},n.setConfig=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};ee(t),tW=!0},n.clearConfig=function(){t9=null,tW=!1},n.isValidAttribute=function(t,e,r){return t9||ee({}),ef(t8(t),t8(e),r)},n.addHook=function(t,e){"function"==typeof e&&g(th[t],e)},n.removeHook=function(t){return p(th[t])},n.removeHooks=function(t){th[t]=[]},n.removeAllHooks=function(){th=J()},n}()},930:function(t,e,r){"use strict";r.d(e,{Z:()=>o});var i=r("3763"),n=r("5036");let a=class{constructor(){this.type=n.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=n.w.ALL}is(t){return this.type===t}},o=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new a}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=n.w.ALL,this}_ensureHSL(){let t=this.data,{h:e,s:r,l:n}=t;void 0===e&&(t.h=i.Z.channel.rgb2hsl(t,"h")),void 0===r&&(t.s=i.Z.channel.rgb2hsl(t,"s")),void 0===n&&(t.l=i.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){let t=this.data,{r:e,g:r,b:n}=t;void 0===e&&(t.r=i.Z.channel.hsl2rgb(t,"r")),void 0===r&&(t.g=i.Z.channel.hsl2rgb(t,"g")),void 0===n&&(t.b=i.Z.channel.hsl2rgb(t,"b"))}get r(){let t=this.data,e=t.r;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"r")):e}get g(){let t=this.data,e=t.g;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"g")):e}get b(){let t=this.data,e=t.b;return this.type.is(n.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"b")):e}get h(){let t=this.data,e=t.h;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"h")):e}get s(){let t=this.data,e=t.s;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"s")):e}get l(){let t=this.data,e=t.l;return this.type.is(n.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(n.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(n.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(n.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(n.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(n.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(n.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},6652:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("930"),n=r("5036");let a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;let e=t.match(a.re);if(!e)return;let r=e[1],n=parseInt(r,16),o=r.length,s=o%4==0,l=o>4,h=l?1:17,c=l?8:4,u=s?0:-1,d=l?255:15;return i.Z.set({r:(n>>c*(u+3)&d)*h,g:(n>>c*(u+2)&d)*h,b:(n>>c*(u+1)&d)*h,a:s?(n&d)*h/255:1},t)},stringify:t=>{let{r:e,g:r,b:i,a}=t;return a<1?`#${n.Q[Math.round(e)]}${n.Q[Math.round(r)]}${n.Q[Math.round(i)]}${n.Q[Math.round(255*a)]}`:`#${n.Q[Math.round(e)]}${n.Q[Math.round(r)]}${n.Q[Math.round(i)]}`}};var o=r("3763");let s={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{let e=t.match(s.hueRe);if(e){let[,t,r]=e;switch(r){case"grad":return o.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return o.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return o.Z.channel.clamp.h(360*parseFloat(t))}}return o.Z.channel.clamp.h(parseFloat(t))},parse:t=>{let e=t.charCodeAt(0);if(104!==e&&72!==e)return;let r=t.match(s.re);if(!r)return;let[,n,a,l,h,c]=r;return i.Z.set({h:s._hue2deg(n),s:o.Z.channel.clamp.s(parseFloat(a)),l:o.Z.channel.clamp.l(parseFloat(l)),a:h?o.Z.channel.clamp.a(c?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{let{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}%, ${o.Z.lang.round(i)}%, ${n})`:`hsl(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}%, ${o.Z.lang.round(i)}%)`}},l={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();let e=l.colors[t];if(e)return a.parse(e)},stringify:t=>{let e=a.stringify(t);for(let t in l.colors)if(l.colors[t]===e)return t}},h={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{let e=t.charCodeAt(0);if(114!==e&&82!==e)return;let r=t.match(h.re);if(!r)return;let[,n,a,s,l,c,u,d,f]=r;return i.Z.set({r:o.Z.channel.clamp.r(a?2.55*parseFloat(n):parseFloat(n)),g:o.Z.channel.clamp.g(l?2.55*parseFloat(s):parseFloat(s)),b:o.Z.channel.clamp.b(u?2.55*parseFloat(c):parseFloat(c)),a:d?o.Z.channel.clamp.a(f?parseFloat(d)/100:parseFloat(d)):1},t)},stringify:t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}, ${o.Z.lang.round(i)}, ${o.Z.lang.round(n)})`:`rgb(${o.Z.lang.round(e)}, ${o.Z.lang.round(r)}, ${o.Z.lang.round(i)})`}},c={format:{keyword:l,hex:a,rgb:h,rgba:h,hsl:s,hsla:s},parse:t=>{if("string"!=typeof t)return t;let e=a.parse(t)||h.parse(t)||s.parse(t)||l.parse(t);if(e)return e;throw Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(n.w.HSL)||void 0===t.data.r?s.stringify(t):!(t.a<1)&&Number.isInteger(t.r)&&Number.isInteger(t.g)&&Number.isInteger(t.b)?a.stringify(t):h.stringify(t)}},5036:function(t,e,r){"use strict";r.d(e,{Q:function(){return n},w:function(){return a}});var i=r(3763);let n={};for(let t=0;t<=255;t++)n[t]=i.Z.unit.dec2hex(t);let a={ALL:0,RGB:1,HSL:2}},6859:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(3763),n=r(6652);let a=(t,e,r)=>{let a=n.Z.parse(t),o=a[e],s=i.Z.channel.clamp[e](o+r);return o!==s&&(a[e]=s),n.Z.stringify(a)}},7826:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(3763),n=r(6652);let a=(t,e)=>{let r=n.Z.parse(t);for(let t in e)r[t]=i.Z.channel.clamp[t](e[t]);return n.Z.stringify(r)}},5035:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(6859);let n=(t,e)=>(0,i.Z)(t,"l",-e)},7845:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("3763"),n=r("6652");let a=t=>{let{r:e,g:r,b:a}=n.Z.parse(t),o=.2126*i.Z.channel.toLinear(e)+.7152*i.Z.channel.toLinear(r)+.0722*i.Z.channel.toLinear(a);return i.Z.lang.round(o)},o=t=>a(t)>=.5,s=t=>!o(t)},6750:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(6859);let n=(t,e)=>(0,i.Z)(t,"l",e)},3328:function(t,e,r){"use strict";r.d(e,{Z:function(){return s}});var i=r(3763),n=r(930),a=r(6652),o=r(7826);let s=(t,e,r=0,s=1)=>{if("number"!=typeof t)return(0,o.Z)(t,{a:e});let l=n.Z.set({r:i.Z.channel.clamp.r(t),g:i.Z.channel.clamp.g(e),b:i.Z.channel.clamp.b(r),a:i.Z.channel.clamp.a(s)});return a.Z.stringify(l)}},3763:function(t,e,r){"use strict";r.d(e,{Z:()=>n});let i={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?t+(e-t)*6*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t,hsl2rgb:({h:t,s:e,l:r},n)=>{if(!e)return 2.55*r;t/=360,e/=100;let a=(r/=100)<.5?r*(1+e):r+e-r*e,o=2*r-a;switch(n){case"r":return 255*i.hue2rgb(o,a,t+1/3);case"g":return 255*i.hue2rgb(o,a,t);case"b":return 255*i.hue2rgb(o,a,t-1/3)}},rgb2hsl:({r:t,g:e,b:r},i)=>{let n=Math.max(t/=255,e/=255,r/=255),a=Math.min(t,e,r),o=(n+a)/2;if("l"===i)return 100*o;if(n===a)return 0;let s=n-a;if("s"===i)return 100*(o>.5?s/(2-n-a):s/(n+a));switch(n){case t:return((e-r)/s+(e e>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},7390:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("8487");let n=function(t,e){for(var r=t.length;r--;)if((0,i.Z)(t[r][0],e))return r;return -1};var a=Array.prototype.splice;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e -1},o.prototype.set=function(t,e){var r=this.__data__,i=n(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this};let s=o},2321:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(6161),n=r(2434);let a=(0,i.Z)(n.Z,"Map")},9401:function(t,e,r){"use strict";r.d(e,{Z:()=>d});var i=(0,r("6161").Z)(Object,"create"),n=Object.prototype.hasOwnProperty,a=Object.prototype.hasOwnProperty;function o(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e s});var i=r("7390"),n=r("2321"),a=r("9401");function o(t){var e=this.__data__=new i.Z(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new i.Z,this.size=0},o.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var r=this.__data__;if(r instanceof i.Z){var o=r.__data__;if(!n.Z||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new a.Z(o)}return r.set(t,e),this.size=r.size,this};let s=o},3958:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=r(2434).Z.Symbol},8530:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=r(2434).Z.Uint8Array},2895:function(t,e,r){"use strict";r.d(e,{Z:()=>c});let i=function(t,e){for(var r=-1,i=Array(t);++r i});let i=function(t,e,r){for(var i=-1,n=Object(t),a=r(t),o=a.length;o--;){var s=a[++i];if(!1===e(n[s],s,n))break}return t}},5182:function(t,e,r){"use strict";r.d(e,{Z:()=>u});var i=r("3958"),n=Object.prototype,a=n.hasOwnProperty,o=n.toString,s=i.Z?i.Z.toStringTag:void 0;let l=function(t){var e=a.call(t,s),r=t[s];try{t[s]=void 0;var i=!0}catch(t){}var n=o.call(t);return i&&(e?t[s]=r:delete t[s]),n};var h=Object.prototype.toString,c=i.Z?i.Z.toStringTag:void 0;let u=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":c&&c in Object(t)?l(t):h.call(t)}},2769:function(t,e,r){"use strict";r.d(e,{Z:()=>o});var i=r("4342"),n=(0,r("4965").Z)(Object.keys,Object),a=Object.prototype.hasOwnProperty;let o=function(t){if(!(0,i.Z)(t))return n(t);var e=[];for(var r in Object(t))a.call(t,r)&&"constructor"!=r&&e.push(r);return e}},3148:function(t,e,r){"use strict";r.d(e,{Z:function(){return o}});var i=r(4675),n=r(9647),a=r(9186);let o=function(t,e){return(0,a.Z)((0,n.Z)(t,e,i.Z),t+"")}},4026:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return function(e){return t(e)}}},1914:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(8530);let n=function(t){var e=new t.constructor(t.byteLength);return new i.Z(e).set(new i.Z(t)),e}},9307:function(t,e,r){"use strict";r.d(e,{Z:function(){return l}});var i=r(2434),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n?i.Z.Buffer:void 0,s=o?o.allocUnsafe:void 0;let l=function(t,e){if(e)return t.slice();var r=t.length,i=s?s(r):new t.constructor(r);return t.copy(i),i}},2025:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=r(1914);let n=function(t,e){var r=e?(0,i.Z)(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}},6177:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t,e){var r=-1,i=t.length;for(e||(e=Array(i));++r1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=t.length>3&&"function"==typeof o?(a--,o):void 0,s&&(0,n.Z)(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),e=Object(e);++ig});var i,n=r("8782"),a=r("2434").Z["__core-js_shared__"],o=(i=/[^.]+$/.exec(a&&a.keys&&a.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"",s=r("8641"),l=r("1842"),h=/^\[object .+?Constructor\]$/,c=Object.prototype,u=Function.prototype.toString,d=c.hasOwnProperty,f=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let p=function(t){return!!(0,s.Z)(t)&&(!o||!(o in t))&&((0,n.Z)(t)?f:h).test((0,l.Z)(t))},g=function(t,e){var r=null==t?void 0:t[e];return p(r)?r:void 0}},3754:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=(0,r(4965).Z)(Object.getPrototypeOf,Object)},3302:function(t,e,r){"use strict";r.d(e,{Z:()=>_});var i=r("6161"),n=r("2434"),a=(0,i.Z)(n.Z,"DataView"),o=r("2321"),s=(0,i.Z)(n.Z,"Promise"),l=r("8521"),h=(0,i.Z)(n.Z,"WeakMap"),c=r("5182"),u=r("1842"),d="[object Map]",f="[object Promise]",p="[object Set]",g="[object WeakMap]",m="[object DataView]",y=(0,u.Z)(a),x=(0,u.Z)(o.Z),b=(0,u.Z)(s),k=(0,u.Z)(l.Z),C=(0,u.Z)(h),w=c.Z;(a&&w(new a(new ArrayBuffer(1)))!=m||o.Z&&w(new o.Z)!=d||s&&w(s.resolve())!=f||l.Z&&w(new l.Z)!=p||h&&w(new h)!=g)&&(w=function(t){var e=(0,c.Z)(t),r="[object Object]"==e?t.constructor:void 0,i=r?(0,u.Z)(r):"";if(i)switch(i){case y:return m;case x:return d;case b:return f;case k:return p;case C:return g}return e});let _=w},2799:function(t,e,r){"use strict";r.d(e,{Z:()=>l});var i=r("8641"),n=Object.create,a=function(){function t(){}return function(e){if(!(0,i.Z)(e))return{};if(n)return n(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}(),o=r("3754"),s=r("4342");let l=function(t){return"function"!=typeof t.constructor||(0,s.Z)(t)?{}:a((0,o.Z)(t))}},2383:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=/^(?:0|[1-9]\d*)$/;let n=function(t,e){var r=typeof t;return!!(e=null==e?0x1fffffffffffff:e)&&("number"==r||"symbol"!=r&&i.test(t))&&t>-1&&t%1==0&&t a});let i=function(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)};var n=Math.max;let a=function(t,e,r){return e=n(void 0===e?t.length-1:e,0),function(){for(var a=arguments,o=-1,s=n(a.length-e,0),l=Array(s);++o c});var i,n,a=r("6498"),o=r("3722"),s=r("4675"),l=o.Z?function(t,e){return(0,o.Z)(t,"toString",{configurable:!0,enumerable:!1,value:(0,a.Z)(e),writable:!0})}:s.Z,h=Date.now;let c=(i=0,n=0,function(){var t=h(),e=16-(t-n);if(n=t,e>0){if(++i>=800)return arguments[0]}else i=0;return l.apply(void 0,arguments)})},1842:function(t,e,r){"use strict";r.d(e,{Z:function(){return n}});var i=Function.prototype.toString;let n=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},6498:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return function(){return t}}},8487:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t,e){return t===e||t!=t&&e!=e}},4675:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return t}},5988:function(t,e,r){"use strict";r.d(e,{Z:()=>h});var i=r("5182"),n=r("5887");let a=function(t){return(0,n.Z)(t)&&"[object Arguments]"==(0,i.Z)(t)};var o=Object.prototype,s=o.hasOwnProperty,l=o.propertyIsEnumerable;let h=a(function(){return arguments}())?a:function(t){return(0,n.Z)(t)&&s.call(t,"callee")&&!l.call(t,"callee")}},1739:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=Array.isArray},1581:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(8782),n=r(9666);let a=function(t){return null!=t&&(0,n.Z)(t.length)&&!(0,i.Z)(t)}},1322:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(1581),n=r(5887);let a=function(t){return(0,n.Z)(t)&&(0,i.Z)(t)}},5162:function(t,e,r){"use strict";r.d(e,{Z:()=>s});var i=r("2434"),n="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=n&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===n?i.Z.Buffer:void 0;let s=(o?o.isBuffer:void 0)||function(){return!1}},3217:function(t,e,r){"use strict";r.d(e,{Z:function(){return d}});var i=r(2769),n=r(3302),a=r(5988),o=r(1739),s=r(1581),l=r(5162),h=r(4342),c=r(8366),u=Object.prototype.hasOwnProperty;let d=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,o.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,l.Z)(t)||(0,c.Z)(t)||(0,a.Z)(t)))return!t.length;var e=(0,n.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,h.Z)(t))return!(0,i.Z)(t).length;for(var r in t)if(u.call(t,r))return!1;return!0}},8782:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(5182),n=r(8641);let a=function(t){if(!(0,n.Z)(t))return!1;var e=(0,i.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},9666:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=0x1fffffffffffff}},8641:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},5887:function(t,e,r){"use strict";r.d(e,{Z:function(){return i}});let i=function(t){return null!=t&&"object"==typeof t}},8366:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("5182"),n=r("9666"),a=r("5887"),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=r("4026"),l=r("4413"),h=l.Z&&l.Z.isTypedArray;let c=h?(0,s.Z)(h):function(t){return(0,a.Z)(t)&&(0,n.Z)(t.length)&&!!o[(0,i.Z)(t)]}},38:function(t,e,r){"use strict";r.d(e,{Z:()=>c});var i=r("2895"),n=r("8641"),a=r("4342");let o=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var s=Object.prototype.hasOwnProperty;let l=function(t){if(!(0,n.Z)(t))return o(t);var e=(0,a.Z)(t),r=[];for(var i in t)"constructor"==i&&(e||!s.call(t,i))||r.push(i);return r};var h=r("1581");let c=function(t){return(0,h.Z)(t)?(0,i.Z)(t,!0):l(t)}},5269:function(t,e,r){"use strict";r.d(e,{Z:function(){return a}});var i=r(9401);function n(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw TypeError("Expected a function");var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],a=r.cache;if(a.has(n))return a.get(n);var o=t.apply(this,i);return r.cache=a.set(n,o)||a,o};return r.cache=new(n.Cache||i.Z),r}n.Cache=i.Z;let a=n},1777:function(t,e,r){"use strict";r.d(e,{Z:()=>$});var i=r("1395"),n=r("9790"),a=r("8487");let o=function(t,e,r){(void 0===r||(0,a.Z)(t[e],r))&&(void 0!==r||e in t)||(0,n.Z)(t,e,r)};var s=r("5467"),l=r("9307"),h=r("2025"),c=r("6177"),u=r("2799"),d=r("5988"),f=r("1739"),p=r("1322"),g=r("5162"),m=r("8782"),y=r("8641"),x=r("5182"),b=r("3754"),k=r("5887"),C=Object.prototype,w=Function.prototype.toString,_=C.hasOwnProperty,v=w.call(Object);let T=function(t){if(!(0,k.Z)(t)||"[object Object]"!=(0,x.Z)(t))return!1;var e=(0,b.Z)(t);if(null===e)return!0;var r=_.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&w.call(r)==v};var S=r("8366");let M=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var B=r("9919"),L=r("38");let A=function(t,e,r,i,n,a,s){var x=M(t,r),b=M(e,r),k=s.get(b);if(k){o(t,r,k);return}var C=a?a(x,b,r+"",t,e,s):void 0,w=void 0===C;if(w){var _=(0,f.Z)(b),v=!_&&(0,g.Z)(b),A=!_&&!v&&(0,S.Z)(b);(C=b,_||v||A)?(0,f.Z)(x)?C=x:(0,p.Z)(x)?C=(0,c.Z)(x):v?(w=!1,C=(0,l.Z)(b,!0)):A?(w=!1,C=(0,h.Z)(b,!0)):C=[]:T(b)||(0,d.Z)(b)?(C=x,(0,d.Z)(x))?C=(0,B.Z)(x,(0,L.Z)(x)):(!(0,y.Z)(x)||(0,m.Z)(x))&&(C=(0,u.Z)(b)):w=!1}w&&(s.set(b,C),n(C,b,i,a,s),s.delete(b)),o(t,r,C)},F=function t(e,r,n,a,l){e!==r&&(0,s.Z)(r,function(s,h){if(l||(l=new i.Z),(0,y.Z)(s))A(e,r,h,n,t,a,l);else{var c=a?a(M(e,h),s,h+"",e,r,l):void 0;void 0===c&&(c=s),o(e,h,c)}},L.Z)},$=(0,r("2807").Z)(function(t,e,r){F(t,e,r)})},594:function(t,e,r){"use strict";r.d(e,{o:function(){return s}});var i=r(4146),n={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function a(t,e){if(void 0===t||void 0===e)return{angle:0,deltaX:0,deltaY:0};t=o(t),e=o(e);let[r,i]=[t.x,t.y],[n,a]=[e.x,e.y],s=n-r,l=a-i;return{angle:Math.atan(l/s),deltaX:s,deltaY:l}}(0,i.eW)(a,"calculateDeltaAndAngle");var o=(0,i.eW)(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),s=(0,i.eW)(t=>({x:(0,i.eW)(function(e,r,i){let s=0,l=o(i[0]).x=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaX:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.cos(e)*(r>=0?1:-1)}let h=Math.abs(o(e).x-o(i[i.length-1]).x),c=Math.abs(o(e).y-o(i[i.length-1]).y),u=Math.abs(o(e).x-o(i[0]).x),d=Math.abs(o(e).y-o(i[0]).y),f=n[t.arrowTypeStart],p=n[t.arrowTypeEnd];if(h 0&&c
0&&d
=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(n,t.arrowTypeEnd)){let{angle:e,deltaY:r}=a(i[i.length-1],i[i.length-2]);s=n[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(r>=0?1:-1)}let h=Math.abs(o(e).y-o(i[i.length-1]).y),c=Math.abs(o(e).x-o(i[i.length-1]).x),u=Math.abs(o(e).y-o(i[0]).y),d=Math.abs(o(e).x-o(i[0]).x),f=n[t.arrowTypeStart],p=n[t.arrowTypeEnd];if(h 0&&c
0&&d
{let e=t?.subGraphTitleMargin?.top??0,r=t?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:e,subGraphTitleBottomMargin:r,subGraphTitleTotalMargin:e+r}},"getSubGraphTitleMargins")},9660:function(t,e,r){"use strict";r.d(e,{DQ:function(){return D},I_:function(){return x},Jj:function(){return k},QP:function(){return M},ZH:function(){return m}});var i=r(7971),n=r(594),a=r(2612),o=r(1200),s=r(8394),l=r(4146),h=r(7818),c=r(4247),u=(0,l.eW)((t,e,r,i,n)=>{e.arrowTypeStart&&f(t,"start",e.arrowTypeStart,r,i,n),e.arrowTypeEnd&&f(t,"end",e.arrowTypeEnd,r,i,n)},"addEdgeMarkers"),d={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},f=(0,l.eW)((t,e,r,i,n,a)=>{let o=d[r];if(!o){l.cM.warn(`Unknown arrow type: ${r}`);return}t.attr(`marker-${e}`,`url(${i}#${n}_${a}-${o}${"start"===e?"Start":"End"})`)},"addEdgeMarker"),p=new Map,g=new Map,m=(0,l.eW)(()=>{p.clear(),g.clear()},"clear"),y=(0,l.eW)(t=>t?t.reduce((t,e)=>t+";"+e,""):"","getLabelStyles"),x=(0,l.eW)(async(t,e)=>{let r,n=(0,l.ku)((0,l.nV)().flowchart.htmlLabels),a=await (0,o.rw)(t,e.label,{style:y(e.labelStyle),useHtmlLabels:n,addSvgBackground:!0,isNode:!1});l.cM.info("abc82",e,e.labelType);let s=t.insert("g").attr("class","edgeLabel"),c=s.insert("g").attr("class","label");c.node().appendChild(a);let u=a.getBBox();if(n){let t=a.children[0],e=(0,h.Ys)(a);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height)}if(c.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),p.set(e.id,s),e.width=u.width,e.height=u.height,e.startLabelLeft){let n=await (0,i.XO)(e.startLabelLeft,y(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),g.get(e.id)||g.set(e.id,{}),g.get(e.id).startLeft=a,b(r,e.startLabelLeft)}if(e.startLabelRight){let n=await (0,i.XO)(e.startLabelRight,y(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=a.node().appendChild(n),o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),g.get(e.id)||g.set(e.id,{}),g.get(e.id).startRight=a,b(r,e.startLabelRight)}if(e.endLabelLeft){let n=await (0,i.XO)(e.endLabelLeft,y(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),a.node().appendChild(n),g.get(e.id)||g.set(e.id,{}),g.get(e.id).endLeft=a,b(r,e.endLabelLeft)}if(e.endLabelRight){let n=await (0,i.XO)(e.endLabelRight,y(e.labelStyle)),a=t.insert("g").attr("class","edgeTerminals"),o=a.insert("g").attr("class","inner");r=o.node().appendChild(n);let s=n.getBBox();o.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),a.node().appendChild(n),g.get(e.id)||g.set(e.id,{}),g.get(e.id).endRight=a,b(r,e.endLabelRight)}return a},"insertEdgeLabel");function b(t,e){(0,l.nV)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}(0,l.eW)(b,"setTerminalWidth");var k=(0,l.eW)((t,e)=>{l.cM.debug("Moving label abc88 ",t.id,t.label,p.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=(0,l.nV)(),{subGraphTitleTotalMargin:n}=(0,a.L)(i);if(t.label){let i=p.get(t.id),a=t.x,o=t.y;if(r){let i=s.w8.calcLabelPosition(r);l.cM.debug("Moving label "+t.label+" from (",a,",",o,") to (",i.x,",",i.y,") abc88"),e.updatedPath&&(a=i.x,o=i.y)}i.attr("transform",`translate(${a}, ${o+n/2})`)}if(t.startLabelLeft){let e=g.get(t.id).startLeft,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.startLabelRight){let e=g.get(t.id).startRight,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelLeft){let e=g.get(t.id).endLeft,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}if(t.endLabelRight){let e=g.get(t.id).endRight,i=t.x,n=t.y;if(r){let e=s.w8.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);i=e.x,n=e.y}e.attr("transform",`translate(${i}, ${n})`)}},"positionEdgeLabel"),C=(0,l.eW)((t,e)=>{let r=t.x,i=t.y,n=Math.abs(e.x-r),a=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return n>=o||a>=s},"outsideNode"),w=(0,l.eW)((t,e,r)=>{l.cM.debug(`intersection calc abc89: + outsidePoint: ${JSON.stringify(e)} + insidePoint : ${JSON.stringify(r)} + node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);let i=t.x,n=t.y,a=Math.abs(i-r.x),o=t.width/2,s=r.x Math.abs(i-e.x)*h){let t=r.y {l.cM.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach(t=>{if(l.cM.info("abc88 checking point",t,e),C(e,t)||n)l.cM.warn("abc88 outside",t,i),i=t,n||r.push(t);else{let a=w(e,i,t);l.cM.debug("abc88 inside",t,i,a),l.cM.debug("abc88 intersection",a,e);let o=!1;r.forEach(t=>{o=o||t.x===a.x&&t.y===a.y}),r.some(t=>t.x===a.x&&t.y===a.y)?l.cM.warn("abc88 no intersect",a,r):r.push(a),n=!0}}),l.cM.debug("returning points",r),r},"cutPathAtIntersect");function v(t){let e=[],r=[];for(let i=1;i 5&&Math.abs(a.y-n.y)>5?(e.push(a),r.push(i)):n.y===a.y&&a.x===o.x&&Math.abs(a.x-n.x)>5&&Math.abs(a.y-o.y)>5&&(e.push(a),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}(0,l.eW)(v,"extractCornerPoints");var T=(0,l.eW)(function(t,e,r){let i=e.x-t.x,n=e.y-t.y,a=r/Math.sqrt(i*i+n*n);return{x:e.x-a*i,y:e.y-a*n}},"findAdjacentPoint"),S=(0,l.eW)(function(t){let{cornerPointPositions:e}=v(t),r=[];for(let i=0;i 10&&Math.abs(n.y-e.y)>=10?(l.cM.debug("Corner point fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y)),d=a.x===o.x?{x:h<0?o.x-5+u:o.x+5-u,y:c<0?o.y-u:o.y+u}:{x:h<0?o.x-u:o.x+u,y:c<0?o.y-5+u:o.y+5-u}):l.cM.debug("Corner point skipping fixing",Math.abs(n.x-e.x),Math.abs(n.y-e.y)),r.push(d,s)}else r.push(t[i]);return r},"fixCorners"),M=(0,l.eW)(function(t,e,r,i,a,o,s){let d,f;let{handDrawnSeed:p}=(0,l.nV)(),g=e.points,m=!1;o.intersect&&a.intersect&&((g=g.slice(1,e.points.length-1)).unshift(a.intersect(g[0])),l.cM.debug("Last point APA12",e.start,"--\x3e",e.end,g[g.length-1],o,o.intersect(g[g.length-1])),g.push(o.intersect(g[g.length-1]))),e.toCluster&&(l.cM.info("to cluster abc88",r.get(e.toCluster)),g=_(e.points,r.get(e.toCluster).node),m=!0),e.fromCluster&&(l.cM.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(g,null,2)),g=_(g.reverse(),r.get(e.fromCluster).node).reverse(),m=!0);let y=g.filter(t=>!Number.isNaN(t.y));y=S(y);let x=h.$0Z;e.curve&&(x=e.curve);let{x:b,y:k}=(0,n.o)(e),C=(0,h.jvg)().x(b).y(k).curve(x);switch(e.thickness){case"normal":default:d="edge-thickness-normal";break;case"thick":d="edge-thickness-thick";break;case"invisible":d="edge-thickness-invisible"}switch(e.pattern){case"solid":default:d+=" edge-pattern-solid";break;case"dotted":d+=" edge-pattern-dotted";break;case"dashed":d+=" edge-pattern-dashed"}let w=C(y),v=Array.isArray(e.style)?e.style:[e.style];if("handDrawn"===e.look){let r=c.Z.svg(t);Object.assign([],y);let i=r.path(w,{roughness:.3,seed:p});d+=" transition";let n=(f=(0,h.Ys)(i).select("path").attr("id",e.id).attr("class"," "+d+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((t,e)=>t+";"+e,""):"")).attr("d");f.attr("d",n),t.node().appendChild(f.node())}else f=t.append("path").attr("d",w).attr("id",e.id).attr("class"," "+d+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((t,e)=>t+";"+e,""):"");let T="";((0,l.nV)().flowchart.arrowMarkerAbsolute||(0,l.nV)().state.arrowMarkerAbsolute)&&(T=(T=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),l.cM.info("arrowTypeStart",e.arrowTypeStart),l.cM.info("arrowTypeEnd",e.arrowTypeEnd),u(f,e,T,s,i);let M={};return m&&(M.updatedPath=g),M.originalPath=e.points,M},"insertEdge"),B=(0,l.eW)((t,e,r,i)=>{e.forEach(e=>{Z[e](t,r,i)})},"insertMarkers"),L=(0,l.eW)((t,e,r)=>{l.cM.trace("Making markers for ",r),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},"extension"),A=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),F=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),$=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",r+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),W=(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",r+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},"lollipop"),E=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"point"),N=(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},"circle"),Z={extension:L,composition:A,aggregation:F,dependency:$,lollipop:W,point:E,circle:N,cross:(0,l.eW)((t,e,r)=>{t.append("marker").attr("id",r+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",r+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},"cross"),barb:(0,l.eW)((t,e,r)=>{t.append("defs").append("marker").attr("id",r+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb")},D=B},4146:function(t,e,r){"use strict";let i;r.d(e,{Kr:()=>t7,Vg:()=>B,Yc:()=>W,ZH:()=>t5,l0:()=>tI,NM:()=>K,Yn:()=>ta,cj:()=>S,xN:()=>R,Fy:()=>er,oO:()=>tv,XV:()=>td,SY:()=>tP,eW:()=>y,u_:()=>tt,vZ:()=>Q,nV:()=>et,UO:()=>tE,cM:()=>k,iE:()=>tc,uT:()=>tR,_j:()=>U,Y4:()=>ee,_7:()=>el,j7:()=>tY,v2:()=>tU,uX:()=>ei,GN:()=>t3,g2:()=>t9,r2:()=>x,Ee:()=>tQ,Ub:()=>C,eu:()=>t4,mc:()=>tf,nH:()=>tz,Cq:()=>es,dY:()=>to,v6:()=>th,Mx:()=>t8,Zn:()=>v,M6:()=>_,Vw:()=>tx,U$:()=>t6,Rw:()=>en,ZD:()=>tl,Tb:()=>ts,Bf:()=>M,LJ:()=>tK,KO:()=>L,cq:()=>F,ku:()=>tF});var n,a=r("7484"),o=r("6652"),s=r("7826");let l=(t,e)=>{let r=o.Z.parse(t),i={};for(let t in e)e[t]&&(i[t]=r[t]+e[t]);return(0,s.Z)(t,i)};var h=r("3328");let c=(t,e,r=50)=>{let{r:i,g:n,b:a,a:s}=o.Z.parse(t),{r:l,g:c,b:u,a:d}=o.Z.parse(e),f=r/100,p=2*f-1,g=s-d,m=((p*g==-1?p:(p+g)/(1+p*g))+1)/2,y=1-m;return(0,h.Z)(i*m+l*y,n*m+c*y,a*m+u*y,s*f+d*(1-f))},u=(t,e=100)=>{let r=o.Z.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,c(r,t,e)};var d=r("5035"),f=r("6750"),p=r("7845"),g=r("5373"),m=Object.defineProperty,y=(t,e)=>m(t,"name",{value:e,configurable:!0}),x=(t,e)=>{for(var r in e)m(t,r,{get:e[r],enumerable:!0})},b={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},k={trace:y((...t)=>{},"trace"),debug:y((...t)=>{},"debug"),info:y((...t)=>{},"info"),warn:y((...t)=>{},"warn"),error:y((...t)=>{},"error"),fatal:y((...t)=>{},"fatal")},C=y(function(t="fatal"){let e=b.fatal;"string"==typeof t?t.toLowerCase()in b&&(e=b[t]):"number"==typeof t&&(e=t),k.trace=()=>{},k.debug=()=>{},k.info=()=>{},k.warn=()=>{},k.error=()=>{},k.fatal=()=>{},e<=b.fatal&&(k.fatal=console.error?console.error.bind(console,w("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",w("FATAL"))),e<=b.error&&(k.error=console.error?console.error.bind(console,w("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",w("ERROR"))),e<=b.warn&&(k.warn=console.warn?console.warn.bind(console,w("WARN"),"color: orange"):console.log.bind(console,`\x1b[33m`,w("WARN"))),e<=b.info&&(k.info=console.info?console.info.bind(console,w("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",w("INFO"))),e<=b.debug&&(k.debug=console.debug?console.debug.bind(console,w("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",w("DEBUG"))),e<=b.trace&&(k.trace=console.debug?console.debug.bind(console,w("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",w("TRACE")))},"setLogLevel"),w=y(t=>{let e=a().format("ss.SSS");return`%c${e} : ${t} : `},"format"),_=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,v=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,T=/\s*%%.*\n/gm,S=class extends Error{static{y(this,"UnknownDiagramError")}constructor(t){super(t),this.name="UnknownDiagramError"}},M={},B=y(function(t,e){for(let[r,{detector:i}]of(t=t.replace(_,"").replace(v,"").replace(T,"\n"),Object.entries(M)))if(i(t,e))return r;throw new S(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),L=y((...t)=>{for(let{id:e,detector:r,loader:i}of t)A(e,r,i)},"registerLazyLoadedDiagrams"),A=y((t,e,r)=>{M[t]&&k.warn(`Detector with key ${t} already exists. Overwriting.`),M[t]={detector:e,loader:r},k.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),F=y(t=>M[t].loader,"getDiagramLoader"),$=y((t,e,{depth:r=2,clobber:i=!1}={})=>{let n={depth:r,clobber:i};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(e=>$(t,e,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(e=>{t.includes(e)||t.push(e)}),t):void 0===t||r<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach(n=>{"object"==typeof e[n]&&(void 0===t[n]||"object"==typeof t[n])?(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=$(t[n],e[n],{depth:r-1,clobber:i})):(i||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n])}),t)},"assignWithDepth"),W=$,E="#ffffff",N="#f2f2f2",Z=y((t,e)=>e?l(t,{s:-40,l:10}):l(t,{s:-40,l:-10}),"mkBorder"),D=class{static{y(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||l(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||Z(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||Z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||Z(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||Z(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||u(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||u(this.tertiaryColor),this.lineColor=this.lineColor||u(this.background),this.arrowheadColor=this.arrowheadColor||u(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,d.Z)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||this.actorBorder,this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,d.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||u(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,f.Z)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t {this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},j=y(t=>{let e=new D;return e.calculate(t),e},"getThemeVariables"),O=class{static{y(this,"Theme")}constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,f.Z)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=u(this.background),this.secondaryBorderColor=Z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Z(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,f.Z)(u("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=(0,h.Z)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,d.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,d.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,h.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,h.Z)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,f.Z)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,f.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.actorBorder,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,f.Z)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.archEdgeColor=this.lineColor,this.archEdgeArrowColor=this.lineColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t {this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},I=y(t=>{let e=new O;return e.calculate(t),e},"getThemeVariables"),z=class{static{y(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=l(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=Z(this.primaryColor,this.darkMode),this.secondaryBorderColor=Z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Z(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="rgba(232,232,232, 0.8)",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,h.Z)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t {this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},R=y(t=>{let e=new z;return e.calculate(t),e},"getThemeVariables"),P=class{static{y(this,"Theme")}constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,f.Z)("#cde498",10),this.primaryBorderColor=Z(this.primaryColor,this.darkMode),this.secondaryBorderColor=Z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Z(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.primaryColor),this.lineColor=u(this.background),this.textColor=u(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="calculated",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,d.Z)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.actorLineColor=this.actorBorder,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t {this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},q=y(t=>{let e=new P;return e.calculate(t),e},"getThemeVariables"),H=class{static{y(this,"Theme")}constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,f.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=Z(this.primaryColor,this.darkMode),this.secondaryBorderColor=Z(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=Z(this.tertiaryColor,this.darkMode),this.primaryTextColor=u(this.primaryColor),this.secondaryTextColor=u(this.secondaryColor),this.tertiaryTextColor=u(this.tertiaryColor),this.lineColor=u(this.background),this.textColor=u(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor=this.actorBorder,this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.archEdgeColor="calculated",this.archEdgeArrowColor="calculated",this.archEdgeWidth="3",this.archGroupBorderColor=this.primaryBorderColor,this.archGroupBorderWidth="2px",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,f.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,f.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.actorBorder,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t {this[e]=t[e]}),this.updateColors(),e.forEach(e=>{this[e]=t[e]})}},U={base:{getThemeVariables:j},dark:{getThemeVariables:I},default:{getThemeVariables:R},forest:{getThemeVariables:q},neutral:{getThemeVariables:y(t=>{let e=new H;return e.calculate(t),e},"getThemeVariables")}},Y={flowchart:{useMaxWidth:!0,titleTopMargin:25,subGraphTitleMargin:{top:0,bottom:0},diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1,hideEmptyMembersBox:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},xyChart:{useMaxWidth:!0,width:700,height:500,titleFontSize:20,titlePadding:10,showTitle:!0,xAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},yAxis:{$ref:"#/$defs/XYChartAxisConfig",showLabel:!0,labelFontSize:14,labelPadding:5,showTitle:!0,titleFontSize:16,titlePadding:5,showTick:!0,tickLength:5,tickWidth:2,showAxisLine:!0,axisLineWidth:2},chartOrientation:"vertical",plotReservedSpacePercent:50},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},kanban:{useMaxWidth:!0,padding:8,sectionWidth:200,ticketBaseUrl:""},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,parallelCommits:!1,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},block:{useMaxWidth:!0,padding:8},packet:{useMaxWidth:!0,rowHeight:32,bitWidth:32,bitsPerRow:32,showBits:!0,paddingX:5,paddingY:5},architecture:{useMaxWidth:!0,padding:40,iconSize:80,fontSize:16},theme:"default",look:"classic",handDrawnSeed:0,layout:"dagre",maxTextSize:5e4,maxEdges:500,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize","suppressErrorRendering","maxEdges"],legacyMathML:!1,forceLegacyMathML:!1,deterministicIds:!1,fontSize:16,markdownAutoWrap:!0,suppressErrorRendering:!1},V={...Y,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:U.default.getThemeVariables(),sequence:{...Y.sequence,messageFont:y(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:y(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:y(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...Y.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Y.c4,useWidth:void 0,personFont:y(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:y(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:y(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:y(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:y(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:y(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:y(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:y(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:y(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:y(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:y(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:y(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:y(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:y(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:y(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:y(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:y(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:y(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:y(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:y(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:y(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:y(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...Y.pie,useWidth:984},xyChart:{...Y.xyChart,useWidth:void 0},requirement:{...Y.requirement,useWidth:void 0},packet:{...Y.packet}},G=y((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:"object"==typeof t[i]&&null!==t[i]?[...r,e+i,...G(t[i],"")]:[...r,e+i],[]),"keyify"),X=new Set(G(V,"")),Q=V,K=y(t=>{if(k.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t){if(Array.isArray(t)){t.forEach(t=>K(t));return}for(let e of Object.keys(t)){if(k.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!X.has(e)||null==t[e]){k.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){k.debug("sanitizing object",e),K(t[e]);continue}for(let r of["themeCSS","fontFamily","altFontFamily"])e.includes(r)&&(k.debug("sanitizing css option",e),t[e]=J(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r?.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}k.debug("After sanitization",t)}},"sanitizeDirective"),J=y(t=>{let e=0,r=0;for(let i of t){if(e {let r=W({},t),i={};for(let t of e)tu(t),i=W(i,t);if(r=W(r,i),i.theme&&i.theme in U){let t=W({},n),e=W(t.themeVariables||{},i.themeVariables);r.theme&&r.theme in U&&(r.themeVariables=U[r.theme].getThemeVariables(e))}return ty(ti=r),ti},"updateCurrentConfig"),ta=y(t=>(te=W({},tt),te=W(te,t),t.theme&&U[t.theme]&&(te.themeVariables=U[t.theme].getThemeVariables(t.themeVariables)),tn(te,tr),te),"setSiteConfig"),to=y(t=>{n=W({},t)},"saveConfigFromInitialize"),ts=y(t=>(te=W(te,t),tn(te,tr),te),"updateSiteConfig"),tl=y(()=>W({},te),"getSiteConfig"),th=y(t=>(ty(t),W(ti,t),tc()),"setConfig"),tc=y(()=>W({},ti),"getConfig"),tu=y(t=>{t&&(["secure",...te.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(k.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])}),Object.keys(t).forEach(e=>{e.startsWith("__")&&delete t[e]}),Object.keys(t).forEach(e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&tu(t[e])}))},"sanitize"),td=y(t=>{K(t),t.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),tr.push(t),tn(te,tr)},"addDirective"),tf=y((t=te)=>{tn(t,tr=[])},"reset"),tp={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},tg={},tm=y(t=>{!tg[t]&&(k.warn(tp[t]),tg[t]=!0)},"issueWarning"),ty=y(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&tm("LAZY_LOAD_DEPRECATED")},"checkConfig"),tx=/
/gi,tb=y(t=>t?tL(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),tk=(i=!1,()=>{i||(tC(),i=!0)});function tC(){let t="data-temp-href-target";g.Z.addHook("beforeSanitizeAttributes",e=>{e instanceof Element&&"A"===e.tagName&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),g.Z.addHook("afterSanitizeAttributes",e=>{e instanceof Element&&"A"===e.tagName&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),"_blank"===e.getAttribute("target")&&e.setAttribute("rel","noopener"))})}y(tC,"setupDompurifyHooks");var tw=y(t=>(tk(),g.Z.sanitize(t)),"removeScript"),t_=y((t,e)=>{if(e.flowchart?.htmlLabels!==!1){let r=e.securityLevel;"antiscript"===r||"strict"===r?t=tw(t):"loose"!==r&&(t=tB(t=(t=(t=tL(t)).replace(/
'+(r?n:p(n,!0))+"
\n":""+(r?n:p(n,!0))+"
\n"}blockquote({tokens:t}){let e=this.parser.parse(t);return`+${e}+`}html({text:t}){return t}heading({tokens:t,depth:e}){return`
${this.parser.parseInline(t)}
+`}table(t){let e="",r="";for(let e=0;e${t}
`}br(t){return"An error occurred:
"+p(r.message+"",!0)+"";return e?Promise.resolve(t):t}if(e)return Promise.reject(r);throw r}}}let tf=new td;function tp(t,e){return tf.parse(t,e)}tp.options=tp.setOptions=function(t){return tf.setOptions(t),tp.defaults=tf.defaults,s=tp.defaults,tp},tp.getDefaults=o,tp.defaults=s,tp.use=function(...t){return tf.use(...t),tp.defaults=tf.defaults,s=tp.defaults,tp},tp.walkTokens=function(t,e){return tf.walkTokens(t,e)},tp.parseInline=tf.parseInline,tp.Parser=tc,tp.parser=tc.parse,tp.Renderer=tl,tp.TextRenderer=th,tp.Lexer=ts,tp.lexer=ts.lex,tp.Tokenizer=_,tp.Hooks=tu,tp.parse=tp,tp.options,tp.setOptions,tp.use,tp.walkTokens,tp.parseInline,tc.parse,ts.lex;var tg=r("8464");function tm(t,{markdownAutoWrap:e}){let r=t.replace(/
${t.tokens?.map(i).join("")}
`;if("space"===t.type)return"";else if("html"===t.type)return`${t.text}`;else if("escape"===t.type)return t.text;return`Unsupported markdown: ${t.type}`}return(0,n.eW)(i,"output"),r.map(i).join("")}function tb(t){return Intl.Segmenter?[...new Intl.Segmenter().segment(t)].map(t=>t.segment):[...t]}function tk(t,e){return tC(t,[],tb(e.content),e.type)}function tC(t,e,r,i){if(0===r.length)return[{content:e.join(""),type:i},{content:"",type:i}];let[n,...a]=r,o=[...e,n];return t([{content:o.join(""),type:i}])?tC(t,o,a,i):(0===e.length&&n&&(e.push(n),r.shift()),[{content:e.join(""),type:i},{content:r.join(""),type:i}])}function tw(t,e){if(t.some(({content:t})=>t.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return t_(t,e)}function t_(t,e,r=[],i=[]){if(0===t.length)return i.length>0&&r.push(i),r.length>0?r:[];let n="";" "===t[0].content&&(n=" ",t.shift());let a=t.shift()??{content:" ",type:"normal"},o=[...i];if(""!==n&&o.push({content:n,type:"normal"}),o.push(a),e(o))return t_(t,e,r,o);if(i.length>0)r.push(i),t.unshift(a);else if(a.content){let[i,n]=tk(e,a);r.push([i]),n.content&&t.unshift(n)}return t_(t,e,r)}function tv(t,e){e&&t.attr("style",e)}async function tT(t,e,r,i,a=!1){let o=t.append("foreignObject");o.attr("width",`${10*r}px`),o.attr("height",`${10*r}px`);let s=o.append("xhtml:div"),l=e.label;e.label&&(0,n.l0)(e.label)&&(l=await (0,n.uT)(e.label.replace(n.SY.lineBreakRegex,"\n"),(0,n.nV)()));let h=e.isNode?"nodeLabel":"edgeLabel",c=s.append("span");c.html(l),tv(c,e.labelStyle),c.attr("class",`${h} ${i}`),tv(s,e.labelStyle),s.style("display","table-cell"),s.style("white-space","nowrap"),s.style("line-height","1.5"),s.style("max-width",r+"px"),s.style("text-align","center"),s.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&s.attr("class","labelBkg");let u=s.node().getBoundingClientRect();return u.width===r&&(s.style("display","table"),s.style("white-space","break-spaces"),s.style("width",r+"px"),u=s.node().getBoundingClientRect()),o.node()}function tS(t,e,r){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*r-.1+"em").attr("dy",r+"em")}function tM(t,e,r){let i=t.append("text"),n=tS(i,1,e);tA(n,r);let a=n.node().getComputedTextLength();return i.remove(),a}function tB(t,e,r){let i=t.append("text"),n=tS(i,1,e);tA(n,[{content:r,type:"normal"}]);let a=n.node()?.getBoundingClientRect();return a&&i.remove(),a}function tL(t,e,r,i=!1){let a=e.append("g"),o=a.insert("rect").attr("class","background").attr("style","stroke: none"),s=a.append("text").attr("y","-10.1"),l=0;for(let e of r){let r=(0,n.eW)(e=>tM(a,1.1,e)<=t,"checkWidth");for(let t of r(e)?[e]:tw(e,r))tA(tS(s,l,1.1),t),l++}if(!i)return s.node();{let t=s.node().getBBox();return o.attr("x",t.x-2).attr("y",t.y-2).attr("width",t.width+4).attr("height",t.height+4),a.node()}}function tA(t,e){t.text(""),e.forEach((e,r)=>{let i=t.append("tspan").attr("font-style","em"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===r?i.text(e.content):i.text(" "+e.content)})}function tF(t){return t.replace(/fa[bklrs]?:fa-[\w-]+/g,t=>``)}(0,n.eW)(tm,"preprocessMarkdown"),(0,n.eW)(ty,"markdownToLines"),(0,n.eW)(tx,"markdownToHTML"),(0,n.eW)(tb,"splitTextToChars"),(0,n.eW)(tk,"splitWordToFitWidth"),(0,n.eW)(tC,"splitWordToFitWidthRecursion"),(0,n.eW)(tw,"splitLineToFitWidth"),(0,n.eW)(t_,"splitLineToFitWidthRecursion"),(0,n.eW)(tv,"applyStyle"),(0,n.eW)(tT,"addHtmlSpan"),(0,n.eW)(tS,"createTspan"),(0,n.eW)(tM,"computeWidthOfText"),(0,n.eW)(tB,"computeDimensionOfText"),(0,n.eW)(tL,"createFormattedText"),(0,n.eW)(tA,"updateTextContentAndStyles"),(0,n.eW)(tF,"replaceIconSubstring");var t$=(0,n.eW)(async(t,e="",{style:r="",isTitle:o=!1,classes:s="",useHtmlLabels:l=!0,isNode:h=!0,width:c=200,addSvgBackground:u=!1}={},d)=>{if(n.cM.debug("XYZ createText",e,r,o,s,l,h,"addSvgBackground: ",u),l){let a=tx(e,d),o=tF((0,i.SH)(a)),l=e.replace(/\\\\/g,"\\"),f={isNode:h,label:(0,n.l0)(e)?l:o,labelStyle:r.replace("fill:","color:")};return await tT(t,f,c,s,u)}{let i=tL(c,t,ty(e.replace(/