From c36ed0772c21278b15174250c8b6aad486d606c1 Mon Sep 17 00:00:00 2001 From: Ken Chau Date: Thu, 28 Nov 2024 08:03:12 +0000 Subject: [PATCH] Updates --- 404.html | 6 +++--- assets/404.html-8lF3VuLs.js | 1 + assets/404.html-Bm21nomF.js | 1 - assets/{app-DQKFxOg7.js => app-3oaVMpRs.js} | 4 ++-- ...PZ7.js => architectureDiagram-QTIGHTN5-CzjpVlhi.js} | 2 +- ...Q-QBsgXq_V.js => blockDiagram-MYUW6R5Q-Dp3_LaDK.js} | 2 +- ...tml-B11qoe0y.js => bump-algorithm.html-MucxXYNP.js} | 4 ++-- assets/bump.html-gM6GveX4.js | 2 ++ assets/bump.html-xePwqbBf.js | 2 -- ...UION-mbP9p-CA.js => c4Diagram-AKI3UION-BTYE-EgU.js} | 2 +- ....html-Cc4CbNuI.js => change-files.html-BpzBBXBG.js} | 4 ++-- ...change.html-D0ZFQx1X.js => change.html-D3usk9-d.js} | 4 ++-- .../{check.html-BDS2ZdmA.js => check.html-vTMcxGh2.js} | 4 ++-- ...4KE642ED-DNyS68x8.js => chunk-4KE642ED-DF3NZIv7.js} | 2 +- ...4YMK7POB-1jnwl01V.js => chunk-4YMK7POB-jWkf0GjT.js} | 2 +- ...5ZJXQJOJ-DIZvkofk.js => chunk-5ZJXQJOJ-CLUFfhem.js} | 2 +- ...7H3BNXSV-Bzj2CIfR.js => chunk-7H3BNXSV-oVg3sKqn.js} | 2 +- ...BERL53GW-CPe116Kq.js => chunk-BERL53GW-CnPewdp0.js} | 2 +- ...FASC7IG4-Cf3UQ1W4.js => chunk-FASC7IG4-D006d5mv.js} | 2 +- ...PWCSEZZ4-BDfDPSKS.js => chunk-PWCSEZZ4-BMVq3ufo.js} | 2 +- ...UBDM6ZOM-2OqPPdFm.js => chunk-UBDM6ZOM-Ds8YQakE.js} | 2 +- ...VSLJSFIP-C769YIqn.js => chunk-VSLJSFIP-SOmXOiGP.js} | 2 +- ...ZN7TASNU-DRzcILnV.js => chunk-ZN7TASNU-CG0HzbXE.js} | 2 +- ...tml-BGVT7Bbf.js => ci-integration.html-BF9VyETV.js} | 4 ++-- assets/classDiagram-LGTRVITY-njouX_e9.js | 1 + assets/classDiagram-LGTRVITY-uCUyMHA9.js | 1 - assets/classDiagram-v2-UI22WKGF-njouX_e9.js | 1 + assets/classDiagram-v2-UI22WKGF-uCUyMHA9.js | 1 - ...html-B9NQ-Pwr.js => configuration.html-GRsludP4.js} | 4 ++-- ...2P6XN26F-CNdnaWyC.js => dagre-2P6XN26F-RlaDZ2ZP.js} | 2 +- ...J2JSCM-B7vOaT1V.js => diagram-D2J2JSCM-Mepf3JVW.js} | 2 +- ...UBQT-GmnSGfYe.js => erDiagram-SZV2UBQT-CjIuZmDH.js} | 2 +- ...3V-BDN-Qq5Z.js => flowDiagram-INP2BB3V-DhvBIwO4.js} | 2 +- ...5-ZkMggwVG.js => ganttDiagram-547IIDY5-BwT6k_6j.js} | 2 +- assets/getting-started.html-CU7WGsTA.js | 1 + assets/getting-started.html-J-c_CveC.js | 1 - ...v7Xw4.js => gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js} | 2 +- ...4uP3NYa.js => gitGraphDiagram-6HF727YA-BvE4YJEN.js} | 2 +- ...groups.html-B7uNYbVb.js => groups.html-DP5QHLqo.js} | 4 ++-- assets/index.html-BhshogFw.js | 1 + assets/index.html-D-vXa0FR.js | 1 - ...65-Dz3r-dhe.js => infoDiagram-A4XEPD65-Dq9v5deA.js} | 2 +- ....html-CcqcPTar.js => installation.html-BrekOTCC.js} | 4 ++-- ...TYBVFke4.js => journeyDiagram-5ML6LF3B-CkpgwWmY.js} | 2 +- ...vYgH1.js => kanban-definition-EGOKAUOG-CnpypVV5.js} | 2 +- ...SWYD7GD6-DZYxwJk4.js => katex-SWYD7GD6--uQSGgMc.js} | 2 +- ...esm.min-DnxZBvzk.js => mermaid.esm.min-Bq5H-fqC.js} | 10 +++++----- ...jrRT.js => mindmap-definition-PE66ZM2U-Dm4I9RRj.js} | 2 +- assets/options.html-Cim9h2-d.js | 1 - assets/options.html-D-kxD7oF.js | 1 + ...GBI-myoNvJLr.js => pieDiagram-XPKEEGBI-u-lQA-ja.js} | 2 +- ...blish.html-CHvDqTie.js => publish.html-CYwk5_5I.js} | 2 +- ...ZjrxgY7.js => quadrantDiagram-QS23HHJP-D8y1EWcf.js} | 2 +- ...XcJ8.js => requirementDiagram-5WTT3577-DzQTgrX3.js} | 2 +- ...-Duct998W.js => sankeyDiagram-HGVHE3RK-BHM_B7TP.js} | 2 +- ...7d5k5uv.js => sequenceDiagram-7SUASMRF-D-m-Zysl.js} | 2 +- ...-DwlLzZE_.js => setupDevtools-7MC2TMWH-BKGvGW0Q.js} | 2 +- ...U-DDaxo5HN.js => stateDiagram-SUF43ZVU-bU0rojpS.js} | 2 +- assets/stateDiagram-v2-DVB4EDRD-Burek0lL.js | 1 - assets/stateDiagram-v2-DVB4EDRD-DKpk7Koi.js | 1 + assets/sync.html-9zIQDlew.js | 1 - assets/sync.html-DRJDbe4_.js | 1 + ...9AK.js => timeline-definition-QPOBMAB2-XvDspPyg.js} | 2 +- ...DkqpAe_J.js => xychartDiagram-MWHWHLMU-DLhXyo9i.js} | 2 +- cli/bump.html | 8 ++++---- cli/change.html | 8 ++++---- cli/check.html | 8 ++++---- cli/options.html | 8 ++++---- cli/publish.html | 8 ++++---- cli/sync.html | 8 ++++---- concepts/bump-algorithm.html | 8 ++++---- concepts/change-files.html | 8 ++++---- concepts/ci-integration.html | 8 ++++---- concepts/groups.html | 8 ++++---- index.html | 6 +++--- overview/configuration.html | 8 ++++---- overview/getting-started.html | 8 ++++---- overview/installation.html | 8 ++++---- 78 files changed, 126 insertions(+), 126 deletions(-) create mode 100644 assets/404.html-8lF3VuLs.js delete mode 100644 assets/404.html-Bm21nomF.js rename assets/{app-DQKFxOg7.js => app-3oaVMpRs.js} (97%) rename assets/{architectureDiagram-QTIGHTN5-CaU-lPZ7.js => architectureDiagram-QTIGHTN5-CzjpVlhi.js} (99%) rename assets/{blockDiagram-MYUW6R5Q-QBsgXq_V.js => blockDiagram-MYUW6R5Q-Dp3_LaDK.js} (99%) rename assets/{bump-algorithm.html-B11qoe0y.js => bump-algorithm.html-MucxXYNP.js} (92%) create mode 100644 assets/bump.html-gM6GveX4.js delete mode 100644 assets/bump.html-xePwqbBf.js rename assets/{c4Diagram-AKI3UION-mbP9p-CA.js => c4Diagram-AKI3UION-BTYE-EgU.js} (99%) rename assets/{change-files.html-Cc4CbNuI.js => change-files.html-BpzBBXBG.js} (96%) rename assets/{change.html-D0ZFQx1X.js => change.html-D3usk9-d.js} (96%) rename assets/{check.html-BDS2ZdmA.js => check.html-vTMcxGh2.js} (87%) rename assets/{chunk-4KE642ED-DNyS68x8.js => chunk-4KE642ED-DF3NZIv7.js} (78%) rename assets/{chunk-4YMK7POB-1jnwl01V.js => chunk-4YMK7POB-jWkf0GjT.js} (81%) rename assets/{chunk-5ZJXQJOJ-DIZvkofk.js => chunk-5ZJXQJOJ-CLUFfhem.js} (99%) rename assets/{chunk-7H3BNXSV-Bzj2CIfR.js => chunk-7H3BNXSV-oVg3sKqn.js} (99%) rename assets/{chunk-BERL53GW-CPe116Kq.js => chunk-BERL53GW-CnPewdp0.js} (91%) rename assets/{chunk-FASC7IG4-Cf3UQ1W4.js => chunk-FASC7IG4-D006d5mv.js} (99%) rename assets/{chunk-PWCSEZZ4-BDfDPSKS.js => chunk-PWCSEZZ4-BMVq3ufo.js} (99%) rename assets/{chunk-UBDM6ZOM-2OqPPdFm.js => chunk-UBDM6ZOM-Ds8YQakE.js} (99%) rename assets/{chunk-VSLJSFIP-C769YIqn.js => chunk-VSLJSFIP-SOmXOiGP.js} (67%) rename assets/{chunk-ZN7TASNU-DRzcILnV.js => chunk-ZN7TASNU-CG0HzbXE.js} (97%) rename assets/{ci-integration.html-BGVT7Bbf.js => ci-integration.html-BF9VyETV.js} (69%) create mode 100644 assets/classDiagram-LGTRVITY-njouX_e9.js delete mode 100644 assets/classDiagram-LGTRVITY-uCUyMHA9.js create mode 100644 assets/classDiagram-v2-UI22WKGF-njouX_e9.js delete mode 100644 assets/classDiagram-v2-UI22WKGF-uCUyMHA9.js rename assets/{configuration.html-B9NQ-Pwr.js => configuration.html-GRsludP4.js} (88%) rename assets/{dagre-2P6XN26F-CNdnaWyC.js => dagre-2P6XN26F-RlaDZ2ZP.js} (97%) rename assets/{diagram-D2J2JSCM-B7vOaT1V.js => diagram-D2J2JSCM-Mepf3JVW.js} (93%) rename assets/{erDiagram-SZV2UBQT-GmnSGfYe.js => erDiagram-SZV2UBQT-CjIuZmDH.js} (98%) rename assets/{flowDiagram-INP2BB3V-BDN-Qq5Z.js => flowDiagram-INP2BB3V-DhvBIwO4.js} (99%) rename assets/{ganttDiagram-547IIDY5-ZkMggwVG.js => ganttDiagram-547IIDY5-BwT6k_6j.js} (99%) create mode 100644 assets/getting-started.html-CU7WGsTA.js delete mode 100644 assets/getting-started.html-J-c_CveC.js rename assets/{gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js => gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js} (99%) rename assets/{gitGraphDiagram-6HF727YA-B4uP3NYa.js => gitGraphDiagram-6HF727YA-BvE4YJEN.js} (98%) rename assets/{groups.html-B7uNYbVb.js => groups.html-DP5QHLqo.js} (66%) create mode 100644 assets/index.html-BhshogFw.js delete mode 100644 assets/index.html-D-vXa0FR.js rename assets/{infoDiagram-A4XEPD65-Dz3r-dhe.js => infoDiagram-A4XEPD65-Dq9v5deA.js} (69%) rename assets/{installation.html-CcqcPTar.js => installation.html-BrekOTCC.js} (95%) rename assets/{journeyDiagram-5ML6LF3B-TYBVFke4.js => journeyDiagram-5ML6LF3B-CkpgwWmY.js} (99%) rename assets/{kanban-definition-EGOKAUOG-B-dvYgH1.js => kanban-definition-EGOKAUOG-CnpypVV5.js} (99%) rename assets/{katex-SWYD7GD6-DZYxwJk4.js => katex-SWYD7GD6--uQSGgMc.js} (99%) rename assets/{mermaid.esm.min-DnxZBvzk.js => mermaid.esm.min-Bq5H-fqC.js} (99%) rename assets/{mindmap-definition-PE66ZM2U-C--zjrRT.js => mindmap-definition-PE66ZM2U-Dm4I9RRj.js} (99%) delete mode 100644 assets/options.html-Cim9h2-d.js create mode 100644 assets/options.html-D-kxD7oF.js rename assets/{pieDiagram-XPKEEGBI-myoNvJLr.js => pieDiagram-XPKEEGBI-u-lQA-ja.js} (93%) rename assets/{publish.html-CHvDqTie.js => publish.html-CYwk5_5I.js} (95%) rename assets/{quadrantDiagram-QS23HHJP-pZjrxgY7.js => quadrantDiagram-QS23HHJP-D8y1EWcf.js} (99%) rename assets/{requirementDiagram-5WTT3577-CJ34XcJ8.js => requirementDiagram-5WTT3577-DzQTgrX3.js} (99%) rename assets/{sankeyDiagram-HGVHE3RK-Duct998W.js => sankeyDiagram-HGVHE3RK-BHM_B7TP.js} (99%) rename assets/{sequenceDiagram-7SUASMRF-B7d5k5uv.js => sequenceDiagram-7SUASMRF-D-m-Zysl.js} (99%) rename assets/{setupDevtools-7MC2TMWH-DwlLzZE_.js => setupDevtools-7MC2TMWH-BKGvGW0Q.js} (93%) rename assets/{stateDiagram-SUF43ZVU-DDaxo5HN.js => stateDiagram-SUF43ZVU-bU0rojpS.js} (96%) delete mode 100644 assets/stateDiagram-v2-DVB4EDRD-Burek0lL.js create mode 100644 assets/stateDiagram-v2-DVB4EDRD-DKpk7Koi.js delete mode 100644 assets/sync.html-9zIQDlew.js create mode 100644 assets/sync.html-DRJDbe4_.js rename assets/{timeline-definition-QPOBMAB2-BKUeN9AK.js => timeline-definition-QPOBMAB2-XvDspPyg.js} (99%) rename assets/{xychartDiagram-MWHWHLMU-DkqpAe_J.js => xychartDiagram-MWHWHLMU-DLhXyo9i.js} (99%) diff --git a/404.html b/404.html index ab120785..1066cf09 100644 --- a/404.html +++ b/404.html @@ -33,11 +33,11 @@ beachball - - + +

404

There's nothing here.
Take me home
- + diff --git a/assets/404.html-8lF3VuLs.js b/assets/404.html-8lF3VuLs.js new file mode 100644 index 00000000..d5f0497c --- /dev/null +++ b/assets/404.html-8lF3VuLs.js @@ -0,0 +1 @@ +import{_ as e,c as o,a,o as n}from"./app-3oaVMpRs.js";const l={};function r(s,t){return n(),o("div",null,t[0]||(t[0]=[a("p",null,"404 Not Found",-1)]))}const _=e(l,[["render",r],["__file","404.html.vue"]]),i=JSON.parse('{"path":"/404.html","title":"","lang":"en-US","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{_ as comp,i as data}; diff --git a/assets/404.html-Bm21nomF.js b/assets/404.html-Bm21nomF.js deleted file mode 100644 index 551577d0..00000000 --- a/assets/404.html-Bm21nomF.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as o,b as n,o as a}from"./app-DQKFxOg7.js";const l={};function r(s,t){return a(),o("div",null,t[0]||(t[0]=[n("p",null,"404 Not Found",-1)]))}const _=e(l,[["render",r],["__file","404.html.vue"]]),i=JSON.parse('{"path":"/404.html","title":"","lang":"en-US","frontmatter":{"layout":"NotFound"},"headers":[],"git":{},"filePathRelative":null}');export{_ as comp,i as data}; diff --git a/assets/app-DQKFxOg7.js b/assets/app-3oaVMpRs.js similarity index 97% rename from assets/app-DQKFxOg7.js rename to assets/app-3oaVMpRs.js index 39b2f3f3..718fbeee 100644 --- a/assets/app-DQKFxOg7.js +++ b/assets/app-3oaVMpRs.js @@ -30,7 +30,7 @@ Server rendered element contains fewer child nodes than client vdom.`),C=!0),vn( * @vue/runtime-dom v3.5.13 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Hs;const wl=typeof window<"u"&&window.trustedTypes;if(wl)try{Hs=wl.createPolicy("vue",{createHTML:e=>e})}catch{}const Vc=Hs?e=>Hs.createHTML(e):e=>e,qh="http://www.w3.org/2000/svg",Yh="http://www.w3.org/1998/Math/MathML",Ut=typeof document<"u"?document:null,Cl=Ut&&Ut.createElement("template"),Xh={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ut.createElementNS(qh,e):t==="mathml"?Ut.createElementNS(Yh,e):n?Ut.createElement(e,{is:n}):Ut.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ut.createTextNode(e),createComment:e=>Ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Cl.innerHTML=Vc(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Cl.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Qt="transition",pr="animation",Br=Symbol("_vtc"),Mc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Zh=Be({},tc,Mc),Jh=e=>(e.displayName="Transition",e.props=Zh,e),Ai=Jh((e,{slots:t})=>re(Hp,Qh(e),t)),bn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Al=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function Qh(e){const t={};for(const C in e)C in Mc||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:c=i,appearToClass:f=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=eg(o),_=v&&v[0],y=v&&v[1],{onBeforeEnter:E,onEnter:S,onEnterCancelled:h,onLeave:b,onLeaveCancelled:I,onBeforeAppear:U=E,onAppear:V=S,onAppearCancelled:A=h}=t,H=(C,N,Z,ee)=>{C._enterCancelled=ee,yn(C,N?f:l),yn(C,N?c:i),Z&&Z()},k=(C,N)=>{C._isLeaving=!1,yn(C,u),yn(C,p),yn(C,d),N&&N()},M=C=>(N,Z)=>{const ee=C?V:S,O=()=>H(N,C,Z);bn(ee,[N,O]),kl(()=>{yn(N,C?a:s),Ft(N,C?f:l),Al(ee)||Tl(N,r,_,O)})};return Be(t,{onBeforeEnter(C){bn(E,[C]),Ft(C,s),Ft(C,i)},onBeforeAppear(C){bn(U,[C]),Ft(C,a),Ft(C,c)},onEnter:M(!1),onAppear:M(!0),onLeave(C,N){C._isLeaving=!0;const Z=()=>k(C,N);Ft(C,u),C._enterCancelled?(Ft(C,d),Pl()):(Pl(),Ft(C,d)),kl(()=>{C._isLeaving&&(yn(C,u),Ft(C,p),Al(b)||Tl(C,r,y,Z))}),bn(b,[C,Z])},onEnterCancelled(C){H(C,!1,void 0,!0),bn(h,[C])},onAppearCancelled(C){H(C,!0,void 0,!0),bn(A,[C])},onLeaveCancelled(C){k(C),bn(I,[C])}})}function eg(e){if(e==null)return null;if(ke(e))return[hs(e.enter),hs(e.leave)];{const t=hs(e);return[t,t]}}function hs(e){return Rd(e)}function Ft(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Br]||(e[Br]=new Set)).add(t)}function yn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Br];n&&(n.delete(t),n.size||(e[Br]=void 0))}function kl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tg=0;function Tl(e,t,n,r){const o=e._endId=++tg,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=ng(e,t);if(!i)return r();const c=i+"end";let f=0;const u=()=>{e.removeEventListener(c,d),s()},d=p=>{p.target===e&&++f>=a&&u()};setTimeout(()=>{f(n[v]||"").split(", "),o=r(`${Qt}Delay`),s=r(`${Qt}Duration`),i=xl(o,s),l=r(`${pr}Delay`),a=r(`${pr}Duration`),c=xl(l,a);let f=null,u=0,d=0;t===Qt?i>0&&(f=Qt,u=i,d=s.length):t===pr?c>0&&(f=pr,u=c,d=a.length):(u=Math.max(i,c),f=u>0?i>c?Qt:pr:null,d=f?f===Qt?s.length:a.length:0);const p=f===Qt&&/\b(transform|all)(,|$)/.test(r(`${Qt}Property`).toString());return{type:f,timeout:u,propCount:d,hasTransform:p}}function xl(e,t){for(;e.lengthOl(n)+Ol(e[r])))}function Ol(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pl(){return document.body.offsetHeight}function rg(e,t,n){const r=e[Br];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ro=Symbol("_vod"),Fc=Symbol("_vsh"),Do={beforeMount(e,{value:t},{transition:n}){e[Ro]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),hr(e,!0),r.enter(e)):r.leave(e,()=>{hr(e,!1)}):hr(e,t))},beforeUnmount(e,{value:t}){hr(e,t)}};function hr(e,t){e.style.display=t?e[Ro]:"none",e[Fc]=!t}const og=Symbol(""),sg=/(^|;)\s*display\s*:/;function ig(e,t,n){const r=e.style,o=Oe(n);let s=!1;if(n&&!o){if(t)if(Oe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&yo(r,l,"")}else for(const i in t)n[i]==null&&yo(r,i,"");for(const i in n)i==="display"&&(s=!0),yo(r,i,n[i])}else if(o){if(t!==n){const i=r[og];i&&(n+=";"+i),r.cssText=n,s=sg.test(n)}}else t&&e.removeAttribute("style");Ro in e&&(e[Ro]=s?r.display:"",e[Fc]&&(r.display="none"))}const Ll=/\s*!important$/;function yo(e,t,n){if(se(n))n.forEach(r=>yo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=lg(e,t);Ll.test(n)?e.setProperty(qt(r),n.replace(Ll,""),"important"):e[r]=n}}const Il=["Webkit","Moz","ms"],gs={};function lg(e,t){const n=gs[t];if(n)return n;let r=it(t);if(r!=="filter"&&r in e)return gs[t]=r;r=qr(r);for(let o=0;oms||(dg.then(()=>ms=0),ms=Date.now());function hg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Tt(gg(r,n.value),t,5,[r])};return n.value=e,n.attached=pg(),n}function gg(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Fl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,mg=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?rg(e,r,i):t==="style"?ig(e,n,r):Gr(t)?ii(t)||cg(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vg(e,t,r,i))?(Nl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Dl(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?Nl(e,it(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Dl(e,t,r,i))};function vg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fl(t)&&ie(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Fl(t)&&Oe(n)?!1:t in e}const _g={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},bg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=qt(o.key);if(t.some(i=>i===s||_g[i]===s))return e(o)})},yg=Be({patchProp:mg},Xh);let vs,Bl=!1;function Eg(){return vs=Bl?vs:Sh(yg),Bl=!0,vs}const Sg=(...e)=>{const t=Eg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Cg(r);if(o)return n(o,!0,wg(o))},t};function wg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Cg(e){return Oe(e)?document.querySelector(e):e}var eo=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),Ag=/.md((\?|#).*)?$/,kg=(e,t="/")=>eo(e)||e.startsWith("/")&&!e.startsWith(t)&&!Ag.test(e),qo=e=>/^(https?:)?\/\//.test(e),Hl=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},Tg="http://.",xg=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Hl(new URL(`${n}/${e}`,Tg).pathname)}return Hl(e)},Og=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Pg=/(#|\?)/,Bc=e=>{const[t,...n]=e.split(Pg);return{pathname:t,hashAndQueries:n.join("")}},Lg=["link","meta","script","style","noscript","template"],Ig=["title","base"],Rg=([e,t,n])=>Ig.includes(e)?e:Lg.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,Dg=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Rg(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Ng=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,Hc=e=>e.endsWith("/")?e.slice(0,-1):e,$c=e=>e.startsWith("/")?e.slice(1):e,Vg=e=>typeof e=="function",ki=e=>Object.prototype.toString.call(e)==="[object Object]",Et=e=>typeof e=="string";const Mg=JSON.parse("{}"),Fg=Object.fromEntries([["/",{loader:()=>Ge(()=>import("./index.html-D-vXa0FR.js"),[]),meta:{title:""}}],["/cli/bump.html",{loader:()=>Ge(()=>import("./bump.html-xePwqbBf.js"),[]),meta:{title:"bump"}}],["/cli/change.html",{loader:()=>Ge(()=>import("./change.html-D0ZFQx1X.js"),[]),meta:{title:"change"}}],["/cli/check.html",{loader:()=>Ge(()=>import("./check.html-BDS2ZdmA.js"),[]),meta:{title:"check"}}],["/cli/options.html",{loader:()=>Ge(()=>import("./options.html-Cim9h2-d.js"),[]),meta:{title:"Common options"}}],["/cli/publish.html",{loader:()=>Ge(()=>import("./publish.html-CHvDqTie.js"),[]),meta:{title:"publish"}}],["/cli/sync.html",{loader:()=>Ge(()=>import("./sync.html-9zIQDlew.js"),[]),meta:{title:"sync"}}],["/concepts/bump-algorithm.html",{loader:()=>Ge(()=>import("./bump-algorithm.html-B11qoe0y.js"),[]),meta:{title:"Bump algorithm"}}],["/concepts/change-files.html",{loader:()=>Ge(()=>import("./change-files.html-Cc4CbNuI.js"),[]),meta:{title:"Change files"}}],["/concepts/ci-integration.html",{loader:()=>Ge(()=>import("./ci-integration.html-BGVT7Bbf.js"),[]),meta:{title:"CI integration"}}],["/concepts/groups.html",{loader:()=>Ge(()=>import("./groups.html-B7uNYbVb.js"),[]),meta:{title:"Groups"}}],["/overview/configuration.html",{loader:()=>Ge(()=>import("./configuration.html-B9NQ-Pwr.js"),[]),meta:{title:"Configuration"}}],["/overview/getting-started.html",{loader:()=>Ge(()=>import("./getting-started.html-J-c_CveC.js"),[]),meta:{title:"Getting started"}}],["/overview/installation.html",{loader:()=>Ge(()=>import("./installation.html-CcqcPTar.js"),[]),meta:{title:"Installation"}}],["/404.html",{loader:()=>Ge(()=>import("./404.html-Bm21nomF.js"),[]),meta:{title:""}}]]);function Bg(){return Uc().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Uc(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Hg=typeof Proxy=="function",$g="devtools-plugin:setup",Ug="plugin:settings:set";let Rn,$s;function zg(){var e;return Rn!==void 0||(typeof window<"u"&&window.performance?(Rn=!0,$s=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Rn=!0,$s=globalThis.perf_hooks.performance):Rn=!1),Rn}function jg(){return zg()?$s.now():Date.now()}class Kg{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const l=t.settings[i];r[i]=l.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),l=JSON.parse(i);Object.assign(s,l)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return jg()}},n&&n.on(Ug,(i,l)=>{i===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(i,l)=>this.target?this.target.on[l]:(...a)=>{this.onQueue.push({method:l,args:a})}}),this.proxiedTarget=new Proxy({},{get:(i,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...a)=>(this.targetQueue.push({method:l,args:a,resolve:()=>{}}),this.fallbacks[l](...a)):(...a)=>new Promise(c=>{this.targetQueue.push({method:l,args:a,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Wg(e,t){const n=e,r=Uc(),o=Bg(),s=Hg&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit($g,e,t);else{const i=s?new Kg(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! +**/let Hs;const wl=typeof window<"u"&&window.trustedTypes;if(wl)try{Hs=wl.createPolicy("vue",{createHTML:e=>e})}catch{}const Vc=Hs?e=>Hs.createHTML(e):e=>e,qh="http://www.w3.org/2000/svg",Yh="http://www.w3.org/1998/Math/MathML",Ut=typeof document<"u"?document:null,Cl=Ut&&Ut.createElement("template"),Xh={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Ut.createElementNS(qh,e):t==="mathml"?Ut.createElementNS(Yh,e):n?Ut.createElement(e,{is:n}):Ut.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ut.createTextNode(e),createComment:e=>Ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Cl.innerHTML=Vc(r==="svg"?`${e}`:r==="mathml"?`${e}`:e);const l=Cl.content;if(r==="svg"||r==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Qt="transition",pr="animation",Br=Symbol("_vtc"),Mc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Zh=Be({},tc,Mc),Jh=e=>(e.displayName="Transition",e.props=Zh,e),Ai=Jh((e,{slots:t})=>re(Hp,Qh(e),t)),bn=(e,t=[])=>{se(e)?e.forEach(n=>n(...t)):e&&e(...t)},Al=e=>e?se(e)?e.some(t=>t.length>1):e.length>1:!1;function Qh(e){const t={};for(const C in e)C in Mc||(t[C]=e[C]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=s,appearActiveClass:c=i,appearToClass:f=l,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,v=eg(o),_=v&&v[0],y=v&&v[1],{onBeforeEnter:E,onEnter:S,onEnterCancelled:h,onLeave:b,onLeaveCancelled:I,onBeforeAppear:U=E,onAppear:V=S,onAppearCancelled:A=h}=t,H=(C,N,Z,ee)=>{C._enterCancelled=ee,yn(C,N?f:l),yn(C,N?c:i),Z&&Z()},k=(C,N)=>{C._isLeaving=!1,yn(C,u),yn(C,p),yn(C,d),N&&N()},M=C=>(N,Z)=>{const ee=C?V:S,O=()=>H(N,C,Z);bn(ee,[N,O]),kl(()=>{yn(N,C?a:s),Ft(N,C?f:l),Al(ee)||Tl(N,r,_,O)})};return Be(t,{onBeforeEnter(C){bn(E,[C]),Ft(C,s),Ft(C,i)},onBeforeAppear(C){bn(U,[C]),Ft(C,a),Ft(C,c)},onEnter:M(!1),onAppear:M(!0),onLeave(C,N){C._isLeaving=!0;const Z=()=>k(C,N);Ft(C,u),C._enterCancelled?(Ft(C,d),Pl()):(Pl(),Ft(C,d)),kl(()=>{C._isLeaving&&(yn(C,u),Ft(C,p),Al(b)||Tl(C,r,y,Z))}),bn(b,[C,Z])},onEnterCancelled(C){H(C,!1,void 0,!0),bn(h,[C])},onAppearCancelled(C){H(C,!0,void 0,!0),bn(A,[C])},onLeaveCancelled(C){k(C),bn(I,[C])}})}function eg(e){if(e==null)return null;if(ke(e))return[hs(e.enter),hs(e.leave)];{const t=hs(e);return[t,t]}}function hs(e){return Rd(e)}function Ft(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Br]||(e[Br]=new Set)).add(t)}function yn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Br];n&&(n.delete(t),n.size||(e[Br]=void 0))}function kl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let tg=0;function Tl(e,t,n,r){const o=e._endId=++tg,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:l,propCount:a}=ng(e,t);if(!i)return r();const c=i+"end";let f=0;const u=()=>{e.removeEventListener(c,d),s()},d=p=>{p.target===e&&++f>=a&&u()};setTimeout(()=>{f(n[v]||"").split(", "),o=r(`${Qt}Delay`),s=r(`${Qt}Duration`),i=xl(o,s),l=r(`${pr}Delay`),a=r(`${pr}Duration`),c=xl(l,a);let f=null,u=0,d=0;t===Qt?i>0&&(f=Qt,u=i,d=s.length):t===pr?c>0&&(f=pr,u=c,d=a.length):(u=Math.max(i,c),f=u>0?i>c?Qt:pr:null,d=f?f===Qt?s.length:a.length:0);const p=f===Qt&&/\b(transform|all)(,|$)/.test(r(`${Qt}Property`).toString());return{type:f,timeout:u,propCount:d,hasTransform:p}}function xl(e,t){for(;e.lengthOl(n)+Ol(e[r])))}function Ol(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pl(){return document.body.offsetHeight}function rg(e,t,n){const r=e[Br];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ro=Symbol("_vod"),Fc=Symbol("_vsh"),Do={beforeMount(e,{value:t},{transition:n}){e[Ro]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):hr(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),hr(e,!0),r.enter(e)):r.leave(e,()=>{hr(e,!1)}):hr(e,t))},beforeUnmount(e,{value:t}){hr(e,t)}};function hr(e,t){e.style.display=t?e[Ro]:"none",e[Fc]=!t}const og=Symbol(""),sg=/(^|;)\s*display\s*:/;function ig(e,t,n){const r=e.style,o=Oe(n);let s=!1;if(n&&!o){if(t)if(Oe(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&yo(r,l,"")}else for(const i in t)n[i]==null&&yo(r,i,"");for(const i in n)i==="display"&&(s=!0),yo(r,i,n[i])}else if(o){if(t!==n){const i=r[og];i&&(n+=";"+i),r.cssText=n,s=sg.test(n)}}else t&&e.removeAttribute("style");Ro in e&&(e[Ro]=s?r.display:"",e[Fc]&&(r.display="none"))}const Ll=/\s*!important$/;function yo(e,t,n){if(se(n))n.forEach(r=>yo(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=lg(e,t);Ll.test(n)?e.setProperty(qt(r),n.replace(Ll,""),"important"):e[r]=n}}const Il=["Webkit","Moz","ms"],gs={};function lg(e,t){const n=gs[t];if(n)return n;let r=it(t);if(r!=="filter"&&r in e)return gs[t]=r;r=qr(r);for(let o=0;oms||(dg.then(()=>ms=0),ms=Date.now());function hg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Tt(gg(r,n.value),t,5,[r])};return n.value=e,n.attached=pg(),n}function gg(e,t){if(se(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Fl=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,mg=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?rg(e,r,i):t==="style"?ig(e,n,r):Gr(t)?ii(t)||cg(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):vg(e,t,r,i))?(Nl(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Dl(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Oe(r))?Nl(e,it(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Dl(e,t,r,i))};function vg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fl(t)&&ie(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return Fl(t)&&Oe(n)?!1:t in e}const _g={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},bg=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=qt(o.key);if(t.some(i=>i===s||_g[i]===s))return e(o)})},yg=Be({patchProp:mg},Xh);let vs,Bl=!1;function Eg(){return vs=Bl?vs:Sh(yg),Bl=!0,vs}const Sg=(...e)=>{const t=Eg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Cg(r);if(o)return n(o,!0,wg(o))},t};function wg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Cg(e){return Oe(e)?document.querySelector(e):e}var eo=e=>/^[a-z][a-z0-9+.-]*:/.test(e)||e.startsWith("//"),Ag=/.md((\?|#).*)?$/,kg=(e,t="/")=>eo(e)||e.startsWith("/")&&!e.startsWith(t)&&!Ag.test(e),qo=e=>/^(https?:)?\/\//.test(e),Hl=e=>{if(!e||e.endsWith("/"))return e;let t=e.replace(/(^|\/)README.md$/i,"$1index.html");return t.endsWith(".md")?t=`${t.substring(0,t.length-3)}.html`:t.endsWith(".html")||(t=`${t}.html`),t.endsWith("/index.html")&&(t=t.substring(0,t.length-10)),t},Tg="http://.",xg=(e,t)=>{if(!e.startsWith("/")&&t){const n=t.slice(0,t.lastIndexOf("/"));return Hl(new URL(`${n}/${e}`,Tg).pathname)}return Hl(e)},Og=(e,t)=>{const n=Object.keys(e).sort((r,o)=>{const s=o.split("/").length-r.split("/").length;return s!==0?s:o.length-r.length});for(const r of n)if(t.startsWith(r))return r;return"/"},Pg=/(#|\?)/,Bc=e=>{const[t,...n]=e.split(Pg);return{pathname:t,hashAndQueries:n.join("")}},Lg=["link","meta","script","style","noscript","template"],Ig=["title","base"],Rg=([e,t,n])=>Ig.includes(e)?e:Lg.includes(e)?e==="meta"&&t.name?`${e}.${t.name}`:e==="template"&&t.id?`${e}.${t.id}`:JSON.stringify([e,Object.entries(t).map(([r,o])=>typeof o=="boolean"?o?[r,""]:null:[r,o]).filter(r=>r!=null).sort(([r],[o])=>r.localeCompare(o)),n]):null,Dg=e=>{const t=new Set,n=[];return e.forEach(r=>{const o=Rg(r);o&&!t.has(o)&&(t.add(o),n.push(r))}),n},Ng=e=>e.endsWith("/")||e.endsWith(".html")?e:`${e}/`,Hc=e=>e.endsWith("/")?e.slice(0,-1):e,$c=e=>e.startsWith("/")?e.slice(1):e,Vg=e=>typeof e=="function",ki=e=>Object.prototype.toString.call(e)==="[object Object]",Et=e=>typeof e=="string";const Mg=JSON.parse("{}"),Fg=Object.fromEntries([["/",{loader:()=>Ge(()=>import("./index.html-BhshogFw.js"),[]),meta:{title:""}}],["/concepts/bump-algorithm.html",{loader:()=>Ge(()=>import("./bump-algorithm.html-MucxXYNP.js"),[]),meta:{title:"Bump algorithm"}}],["/concepts/change-files.html",{loader:()=>Ge(()=>import("./change-files.html-BpzBBXBG.js"),[]),meta:{title:"Change files"}}],["/concepts/ci-integration.html",{loader:()=>Ge(()=>import("./ci-integration.html-BF9VyETV.js"),[]),meta:{title:"CI integration"}}],["/concepts/groups.html",{loader:()=>Ge(()=>import("./groups.html-DP5QHLqo.js"),[]),meta:{title:"Groups"}}],["/cli/bump.html",{loader:()=>Ge(()=>import("./bump.html-gM6GveX4.js"),[]),meta:{title:"bump"}}],["/cli/change.html",{loader:()=>Ge(()=>import("./change.html-D3usk9-d.js"),[]),meta:{title:"change"}}],["/cli/check.html",{loader:()=>Ge(()=>import("./check.html-vTMcxGh2.js"),[]),meta:{title:"check"}}],["/cli/options.html",{loader:()=>Ge(()=>import("./options.html-D-kxD7oF.js"),[]),meta:{title:"Common options"}}],["/cli/publish.html",{loader:()=>Ge(()=>import("./publish.html-CYwk5_5I.js"),[]),meta:{title:"publish"}}],["/cli/sync.html",{loader:()=>Ge(()=>import("./sync.html-DRJDbe4_.js"),[]),meta:{title:"sync"}}],["/overview/configuration.html",{loader:()=>Ge(()=>import("./configuration.html-GRsludP4.js"),[]),meta:{title:"Configuration"}}],["/overview/getting-started.html",{loader:()=>Ge(()=>import("./getting-started.html-CU7WGsTA.js"),[]),meta:{title:"Getting started"}}],["/overview/installation.html",{loader:()=>Ge(()=>import("./installation.html-BrekOTCC.js"),[]),meta:{title:"Installation"}}],["/404.html",{loader:()=>Ge(()=>import("./404.html-8lF3VuLs.js"),[]),meta:{title:""}}]]);function Bg(){return Uc().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Uc(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Hg=typeof Proxy=="function",$g="devtools-plugin:setup",Ug="plugin:settings:set";let Rn,$s;function zg(){var e;return Rn!==void 0||(typeof window<"u"&&window.performance?(Rn=!0,$s=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?(Rn=!0,$s=globalThis.perf_hooks.performance):Rn=!1),Rn}function jg(){return zg()?$s.now():Date.now()}class Kg{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const l=t.settings[i];r[i]=l.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),l=JSON.parse(i);Object.assign(s,l)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return jg()}},n&&n.on(Ug,(i,l)=>{i===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(i,l)=>this.target?this.target.on[l]:(...a)=>{this.onQueue.push({method:l,args:a})}}),this.proxiedTarget=new Proxy({},{get:(i,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...a)=>(this.targetQueue.push({method:l,args:a,resolve:()=>{}}),this.fallbacks[l](...a)):(...a)=>new Promise(c=>{this.targetQueue.push({method:l,args:a,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Wg(e,t){const n=e,r=Uc(),o=Bg(),s=Hg&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit($g,e,t);else{const i=s?new Kg(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*! * vue-router v4.4.5 * (c) 2024 Eduardo San Martin Morote * @license MIT @@ -39,4 +39,4 @@ Expects a CSS selector, a Node element, a NodeList or an array. See: https://github.com/francoischalifour/medium-zoom`)}},O_=function(t){var n=document.createElement("div");return n.classList.add("medium-zoom-overlay"),n.style.background=t,n},P_=function(t){var n=t.getBoundingClientRect(),r=n.top,o=n.left,s=n.width,i=n.height,l=t.cloneNode(),a=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,c=window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0;return l.removeAttribute("id"),l.style.position="absolute",l.style.top=r+a+"px",l.style.left=o+c+"px",l.style.width=s+"px",l.style.height=i+"px",l.style.transform="",l},Dn=function(t,n){var r=wn({bubbles:!1,cancelable:!1,detail:void 0},n);if(typeof window.CustomEvent=="function")return new CustomEvent(t,r);var o=document.createEvent("CustomEvent");return o.initCustomEvent(t,r.bubbles,r.cancelable,r.detail),o},L_=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=window.Promise||function(C){function N(){}C(N,N)},o=function(C){var N=C.target;if(N===H){v();return}h.indexOf(N)!==-1&&_({target:N})},s=function(){if(!(I||!A.original)){var C=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(U-C)>V.scrollOffset&&setTimeout(v,150)}},i=function(C){var N=C.key||C.keyCode;(N==="Escape"||N==="Esc"||N===27)&&v()},l=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=C;if(C.background&&(H.style.background=C.background),C.container&&C.container instanceof Object&&(N.container=wn({},V.container,C.container)),C.template){var Z=Eo(C.template)?C.template:document.querySelector(C.template);N.template=Z}return V=wn({},V,N),h.forEach(function(ee){ee.dispatchEvent(Dn("medium-zoom:update",{detail:{zoom:k}}))}),k},a=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return e(wn({},V,C))},c=function(){for(var C=arguments.length,N=Array(C),Z=0;Z0?N.reduce(function(O,R){return[].concat(O,aa(R))},[]):h;return ee.forEach(function(O){O.classList.remove("medium-zoom-image"),O.dispatchEvent(Dn("medium-zoom:detach",{detail:{zoom:k}}))}),h=h.filter(function(O){return ee.indexOf(O)===-1}),k},u=function(C,N){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return h.forEach(function(ee){ee.addEventListener("medium-zoom:"+C,N,Z)}),b.push({type:"medium-zoom:"+C,listener:N,options:Z}),k},d=function(C,N){var Z=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return h.forEach(function(ee){ee.removeEventListener("medium-zoom:"+C,N,Z)}),b=b.filter(function(ee){return!(ee.type==="medium-zoom:"+C&&ee.listener.toString()===N.toString())}),k},p=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=C.target,Z=function(){var O={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},R=void 0,K=void 0;if(V.container)if(V.container instanceof Object)O=wn({},O,V.container),R=O.width-O.left-O.right-V.margin*2,K=O.height-O.top-O.bottom-V.margin*2;else{var te=Eo(V.container)?V.container:document.querySelector(V.container),ve=te.getBoundingClientRect(),Te=ve.width,he=ve.height,Re=ve.left,ot=ve.top;O=wn({},O,{width:Te,height:he,left:Re,top:ot})}R=R||O.width-V.margin*2,K=K||O.height-V.margin*2;var Ve=A.zoomedHd||A.original,je=la(Ve)?R:Ve.naturalWidth||R,T=la(Ve)?K:Ve.naturalHeight||K,W=Ve.getBoundingClientRect(),j=W.top,J=W.left,fe=W.width,me=W.height,g=Math.min(Math.max(fe,je),R)/fe,m=Math.min(Math.max(me,T),K)/me,w=Math.min(g,m),P=(-J+(R-fe)/2+V.margin+O.left)/w,x=(-j+(K-me)/2+V.margin+O.top)/w,D="scale("+w+") translate3d("+P+"px, "+x+"px, 0)";A.zoomed.style.transform=D,A.zoomedHd&&(A.zoomedHd.style.transform=D)};return new r(function(ee){if(N&&h.indexOf(N)===-1){ee(k);return}var O=function Te(){I=!1,A.zoomed.removeEventListener("transitionend",Te),A.original.dispatchEvent(Dn("medium-zoom:opened",{detail:{zoom:k}})),ee(k)};if(A.zoomed){ee(k);return}if(N)A.original=N;else if(h.length>0){var R=h;A.original=R[0]}else{ee(k);return}if(A.original.dispatchEvent(Dn("medium-zoom:open",{detail:{zoom:k}})),U=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,I=!0,A.zoomed=P_(A.original),document.body.appendChild(H),V.template){var K=Eo(V.template)?V.template:document.querySelector(V.template);A.template=document.createElement("div"),A.template.appendChild(K.content.cloneNode(!0)),document.body.appendChild(A.template)}if(A.original.parentElement&&A.original.parentElement.tagName==="PICTURE"&&A.original.currentSrc&&(A.zoomed.src=A.original.currentSrc),document.body.appendChild(A.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),A.original.classList.add("medium-zoom-image--hidden"),A.zoomed.classList.add("medium-zoom-image--opened"),A.zoomed.addEventListener("click",v),A.zoomed.addEventListener("transitionend",O),A.original.getAttribute("data-zoom-src")){A.zoomedHd=A.zoomed.cloneNode(),A.zoomedHd.removeAttribute("srcset"),A.zoomedHd.removeAttribute("sizes"),A.zoomedHd.removeAttribute("loading"),A.zoomedHd.src=A.zoomed.getAttribute("data-zoom-src"),A.zoomedHd.onerror=function(){clearInterval(te),console.warn("Unable to reach the zoom image target "+A.zoomedHd.src),A.zoomedHd=null,Z()};var te=setInterval(function(){A.zoomedHd.complete&&(clearInterval(te),A.zoomedHd.classList.add("medium-zoom-image--opened"),A.zoomedHd.addEventListener("click",v),document.body.appendChild(A.zoomedHd),Z())},10)}else if(A.original.hasAttribute("srcset")){A.zoomedHd=A.zoomed.cloneNode(),A.zoomedHd.removeAttribute("sizes"),A.zoomedHd.removeAttribute("loading");var ve=A.zoomedHd.addEventListener("load",function(){A.zoomedHd.removeEventListener("load",ve),A.zoomedHd.classList.add("medium-zoom-image--opened"),A.zoomedHd.addEventListener("click",v),document.body.appendChild(A.zoomedHd),Z()})}else Z()})},v=function(){return new r(function(C){if(I||!A.original){C(k);return}var N=function Z(){A.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild(A.zoomed),A.zoomedHd&&document.body.removeChild(A.zoomedHd),document.body.removeChild(H),A.zoomed.classList.remove("medium-zoom-image--opened"),A.template&&document.body.removeChild(A.template),I=!1,A.zoomed.removeEventListener("transitionend",Z),A.original.dispatchEvent(Dn("medium-zoom:closed",{detail:{zoom:k}})),A.original=null,A.zoomed=null,A.zoomedHd=null,A.template=null,C(k)};I=!0,document.body.classList.remove("medium-zoom--opened"),A.zoomed.style.transform="",A.zoomedHd&&(A.zoomedHd.style.transform=""),A.template&&(A.template.style.transition="opacity 150ms",A.template.style.opacity=0),A.original.dispatchEvent(Dn("medium-zoom:close",{detail:{zoom:k}})),A.zoomed.addEventListener("transitionend",N)})},_=function(){var C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},N=C.target;return A.original?v():p({target:N})},y=function(){return V},E=function(){return h},S=function(){return A.original},h=[],b=[],I=!1,U=0,V=n,A={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(t)==="[object Object]"?V=t:(t||typeof t=="string")&&c(t),V=wn({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},V);var H=O_(V.background);document.addEventListener("click",o),document.addEventListener("keyup",i),document.addEventListener("scroll",s),window.addEventListener("resize",v);var k={open:p,close:v,toggle:_,update:l,clone:a,attach:c,detach:f,on:u,off:d,getOptions:y,getImages:E,getZoomedImage:S};return k};function I_(e,t){t===void 0&&(t={});var n=t.insertAt;if(!(typeof document>"u")){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css",n==="top"&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}var R_=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";I_(R_);const D_=Symbol("mediumZoom");var N_={};const V_="[vp-content] > img, [vp-content] :not(a) > img",M_=N_,F_=300,B_=Vt({enhance({app:e,router:t}){const n=L_(M_);n.refresh=(r=V_)=>{n.detach(),n.attach(r)},e.provide(D_,n),t.afterEach(()=>{Cf(F_).then(()=>{n.refresh()})})}}),H_=Object.freeze(Object.defineProperty({__proto__:null,default:B_},Symbol.toStringTag,{value:"Module"}));/** * NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress * @license MIT - */const ua=(e,t)=>{e.classList.add(t)},ca=(e,t)=>{e.classList.remove(t)},$_=e=>{var t;(t=e==null?void 0:e.parentNode)==null||t.removeChild(e)},ws=(e,t,n)=>en?n:e,fa=e=>(-1+e)*100,U_=(()=>{const e=[],t=()=>{const n=e.shift();n&&n(t)};return n=>{e.push(n),e.length===1&&t()}})(),z_=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,n)=>n.toUpperCase()),go=(()=>{const e=["Webkit","O","Moz","ms"],t={},n=s=>{const{style:i}=document.body;if(s in i)return s;const l=s.charAt(0).toUpperCase()+s.slice(1);let a=e.length;for(;a--;){const c=`${e[a]}${l}`;if(c in i)return c}return s},r=s=>{const i=z_(s);return t[i]??(t[i]=n(i))},o=(s,i,l)=>{s.style[r(i)]=l};return(s,i)=>{for(const l in i){const a=i[l];Object.hasOwn(i,l)&&p_(a)&&o(s,l,a)}}})(),Ht={minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},Le={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:n}=Ht,r=Le.isStarted(),o=ws(e,Ht.minimum,1);Le.percent=o===1?null:o;const s=Le.render(!r),i=s.querySelector(Ht.barSelector);return s.offsetWidth,U_(l=>{go(i,{transform:`translate3d(${fa(o)}%,0,0)`,transition:`all ${t}ms ${n}`}),o===1?(go(s,{transition:"none",opacity:"1"}),s.offsetWidth,setTimeout(()=>{go(s,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{Le.remove(),l()},t)},t)):setTimeout(()=>{l()},t)}),Le},isStarted:()=>typeof Le.percent=="number",start:()=>{Le.percent||Le.set(0);const e=()=>{setTimeout(()=>{Le.percent&&(Le.trickle(),e())},Ht.trickleSpeed)};return e(),Le},done:e=>!e&&!Le.percent?Le:Le.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=Le;return t?(t=ws(t+(typeof e=="number"?e:(1-t)*ws(Math.random()*t,.1,.95)),0,.994),Le.set(t)):Le.start()},trickle:()=>Le.increase(Math.random()*Ht.trickleRate),render:e=>{if(Le.isRendered())return document.getElementById("nprogress");ua(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Ht.template;const n=t.querySelector(Ht.barSelector),r=document.querySelector(Ht.parent),o=e?"-100":fa(Le.percent??0);return go(n,{transition:"all 0 linear",transform:`translate3d(${o}%,0,0)`}),r&&(r!==document.body&&ua(r,"nprogress-custom-parent"),r.appendChild(t)),t},remove:()=>{ca(document.documentElement,"nprogress-busy"),ca(document.querySelector(Ht.parent),"nprogress-custom-parent"),$_(document.getElementById("nprogress"))}},j_=()=>{Ye(()=>{const e=mn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Le.start()}),e.afterEach(n=>{t.add(n.path),Le.done()})})},K_=Vt({setup(){j_()}}),W_=Object.freeze(Object.defineProperty({__proto__:null,default:K_},Symbol.toStringTag,{value:"Module"})),G_=({selector:e='div[class*="language-"].has-collapsed-lines > .collapsed-lines'}={})=>{gt("click",t=>{const n=t.target;if(n.matches(e)){const r=n.parentElement;r!=null&&r.classList.toggle("collapsed")&&r.scrollIntoView({block:"center",behavior:"instant"})}})},q_={setup(){G_()}},Y_=Object.freeze(Object.defineProperty({__proto__:null,default:q_},Symbol.toStringTag,{value:"Module"})),X_="VUEPRESS_CODE_TAB_STORE",mo=Mi(X_,{}),Z_=ge({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=ce(e.active),r=kt([]),o=()=>{e.tabId&&(mo.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},l=(c,f)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=f):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),e.tabId&&(mo.value[e.tabId]=e.data[n.value].id)},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:f})=>mo.value[e.tabId]===f);if(c!==-1)return c}return e.active};return Ye(()=>{n.value=a(),Fe(()=>mo.value[e.tabId],(c,f)=>{if(e.tabId&&c!==f){const u=e.data.findIndex(({id:d})=>d===c);u!==-1&&(n.value=u)}})}),()=>e.data.length?re("div",{class:"vp-code-tabs"},[re("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},f)=>{const u=f===n.value;return re("button",{type:"button",ref:d=>{d&&(r.value[f]=d)},class:["vp-code-tab-nav",{active:u}],role:"tab","aria-controls":`codetab-${e.id}-${f}`,"aria-selected":u,onClick:()=>{n.value=f,o()},onKeydown:d=>{l(d,f)}},t[`title${f}`]({value:c,isActive:u}))})),e.data.map(({id:c},f)=>{const u=f===n.value;return re("div",{class:["vp-code-tab",{active:u}],id:`codetab-${e.id}-${f}`,role:"tabpanel","aria-expanded":u},[re("div",{class:"vp-code-tab-title"},t[`title${f}`]({value:c,isActive:u})),t[`tab${f}`]({value:c,isActive:u})])})]):null}}),J_="VUEPRESS_TAB_STORE",Cs=Mi(J_,{}),Q_=ge({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=ce(e.active),r=kt([]),o=()=>{e.tabId&&(Cs.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},l=(c,f)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=f):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),o()},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:f})=>Cs.value[e.tabId]===f);if(c!==-1)return c}return e.active};return Ye(()=>{n.value=a(),Fe(()=>Cs.value[e.tabId],(c,f)=>{if(e.tabId&&c!==f){const u=e.data.findIndex(({id:d})=>d===c);u!==-1&&(n.value=u)}})}),()=>e.data.length?re("div",{class:"vp-tabs"},[re("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},f)=>{const u=f===n.value;return re("button",{type:"button",ref:d=>{d&&(r.value[f]=d)},class:["vp-tab-nav",{active:u}],role:"tab","aria-controls":`tab-${e.id}-${f}`,"aria-selected":u,onClick:()=>{n.value=f,o()},onKeydown:d=>{l(d,f)}},t[`title${f}`]({value:c,isActive:u}))})),e.data.map(({id:c},f)=>{const u=f===n.value;return re("div",{class:["vp-tab",{active:u}],id:`tab-${e.id}-${f}`,role:"tabpanel","aria-expanded":u},[re("div",{class:"vp-tab-title"},t[`title${f}`]({value:c,isActive:u})),t[`tab${f}`]({value:c,isActive:u})])})]):null}}),e0={enhance:({app:e})=>{e.component("CodeTabs",Z_),e.component("Tabs",Q_)}},t0=Object.freeze(Object.defineProperty({__proto__:null,default:e0},Symbol.toStringTag,{value:"Module"}));var n0=Object.create,xf=Object.defineProperty,r0=Object.getOwnPropertyDescriptor,Fi=Object.getOwnPropertyNames,o0=Object.getPrototypeOf,s0=Object.prototype.hasOwnProperty,i0=(e,t)=>function(){return e&&(t=(0,e[Fi(e)[0]])(e=0)),t},l0=(e,t)=>function(){return t||(0,e[Fi(e)[0]])((t={exports:{}}).exports,t),t.exports},a0=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Fi(t))!s0.call(e,o)&&o!==n&&xf(e,o,{get:()=>t[o],enumerable:!(r=r0(t,o))||r.enumerable});return e},u0=(e,t,n)=>(n=e!=null?n0(o0(e)):{},a0(xf(n,"default",{value:e,enumerable:!0}),e)),oo=i0({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.43.0_@types+node@22.9.0__@swc+core@1.5.29_jiti@2.0.0_po_lnt5yfvawfblpk67opvcdwbq7u/node_modules/tsup/assets/esm_shims.js"(){}}),c0=l0({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){oo(),t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);const i=new Map;if(i.set(Date,u=>new Date(u)),i.set(Map,(u,d)=>new Map(a(Array.from(u),d))),i.set(Set,(u,d)=>new Set(a(Array.from(u),d))),s.constructorHandlers)for(const u of s.constructorHandlers)i.set(u[0],u[1]);let l=null;return s.proto?f:c;function a(u,d){const p=Object.keys(u),v=new Array(p.length);for(let _=0;_new Date(p)),a.set(Map,(p,v)=>new Map(f(Array.from(p),v))),a.set(Set,(p,v)=>new Set(f(Array.from(p),v))),s.constructorHandlers)for(const p of s.constructorHandlers)a.set(p[0],p[1]);let c=null;return s.proto?d:u;function f(p,v){const _=Object.keys(p),y=new Array(_.length);for(let E=0;E<_.length;E++){const S=_[E],h=p[S];if(typeof h!="object"||h===null)y[S]=h;else if(h.constructor!==Object&&(c=a.get(h.constructor)))y[S]=c(h,v);else if(ArrayBuffer.isView(h))y[S]=n(h);else{const b=i.indexOf(h);b!==-1?y[S]=l[b]:y[S]=v(h)}}return y}function u(p){if(typeof p!="object"||p===null)return p;if(Array.isArray(p))return f(p,u);if(p.constructor!==Object&&(c=a.get(p.constructor)))return c(p,u);const v={};i.push(p),l.push(v);for(const _ in p){if(Object.hasOwnProperty.call(p,_)===!1)continue;const y=p[_];if(typeof y!="object"||y===null)v[_]=y;else if(y.constructor!==Object&&(c=a.get(y.constructor)))v[_]=c(y,u);else if(ArrayBuffer.isView(y))v[_]=n(y);else{const E=i.indexOf(y);E!==-1?v[_]=l[E]:v[_]=u(y)}}return i.pop(),l.pop(),v}function d(p){if(typeof p!="object"||p===null)return p;if(Array.isArray(p))return f(p,d);if(p.constructor!==Object&&(c=a.get(p.constructor)))return c(p,d);const v={};i.push(p),l.push(v);for(const _ in p){const y=p[_];if(typeof y!="object"||y===null)v[_]=y;else if(y.constructor!==Object&&(c=a.get(y.constructor)))v[_]=c(y,d);else if(ArrayBuffer.isView(y))v[_]=n(y);else{const E=i.indexOf(y);E!==-1?v[_]=l[E]:v[_]=d(y)}}return i.pop(),l.pop(),v}}}});oo();oo();oo();var Of=typeof navigator<"u",X=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof X.chrome<"u"&&X.chrome.devtools;Of&&(X.self,X.top);var da;typeof navigator<"u"&&((da=navigator.userAgent)==null||da.toLowerCase().includes("electron"));oo();var f0=u0(c0()),d0=/(?:^|[-_/])(\w)/g;function p0(e,t){return t?t.toUpperCase():""}function h0(e){return e&&`${e}`.replace(d0,p0)}function g0(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const r=n.lastIndexOf("/"),o=n.substring(r+1);{const s=o.lastIndexOf(t);return o.substring(0,s)}}var pa=(0,f0.default)({circles:!0});const m0={trailing:!0};function Jn(e,t=25,n={}){if(n={...m0,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,s=[],i,l;const a=(c,f)=>(i=v0(e,c,f),i.finally(()=>{if(i=null,n.trailing&&l&&!o){const u=a(c,l);return l=null,u}}),i);return function(...c){return i?(n.trailing&&(l=c),i):new Promise(f=>{const u=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:a(this,c);for(const p of s)p(d);s=[]},t),u?(r=a(this,c),f(r)):s.push(f)})}}async function v0(e,t,n){return await e.apply(t,n)}function Xs(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Xs(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const _0={run:e=>e()},b0=()=>_0,Pf=typeof console.createTask<"u"?console.createTask:b0;function y0(e,t){const n=t.shift(),r=Pf(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function E0(e,t){const n=t.shift(),r=Pf(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function As(e,t){for(const n of[...e])n(t)}class S0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Xs(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Xs(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(y0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(E0,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&As(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&As(this._after,o)}):(this._after&&o&&As(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Lf(){return new S0}var w0=Object.create,If=Object.defineProperty,C0=Object.getOwnPropertyDescriptor,Bi=Object.getOwnPropertyNames,A0=Object.getPrototypeOf,k0=Object.prototype.hasOwnProperty,T0=(e,t)=>function(){return e&&(t=(0,e[Bi(e)[0]])(e=0)),t},Rf=(e,t)=>function(){return t||(0,e[Bi(e)[0]])((t={exports:{}}).exports,t),t.exports},x0=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Bi(t))!k0.call(e,o)&&o!==n&&If(e,o,{get:()=>t[o],enumerable:!(r=C0(t,o))||r.enumerable});return e},O0=(e,t,n)=>(n=e!=null?w0(A0(e)):{},x0(If(n,"default",{value:e,enumerable:!0}),e)),L=T0({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.43.0_@types+node@22.9.0__@swc+core@1.5.29_jiti@2.0.0_po_lnt5yfvawfblpk67opvcdwbq7u/node_modules/tsup/assets/esm_shims.js"(){}}),P0=Rf({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){L(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},l={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},a=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),f=[".","!","~","*","'","(",")"].join(""),u=function(y,E){var S="-",h="",b="",I=!0,U={},V,A,H,k,M,C,N,Z,ee,O,R,K,te,ve,Te="";if(typeof y!="string")return"";if(typeof E=="string"&&(S=E),N=l.en,Z=i.en,typeof E=="object"){V=E.maintainCase||!1,U=E.custom&&typeof E.custom=="object"?E.custom:U,H=+E.truncate>1&&E.truncate||!1,k=E.uric||!1,M=E.uricNoSlash||!1,C=E.mark||!1,I=!(E.symbols===!1||E.lang===!1),S=E.separator||S,k&&(Te+=a),M&&(Te+=c),C&&(Te+=f),N=E.lang&&l[E.lang]&&I?l[E.lang]:I?l.en:{},Z=E.lang&&i[E.lang]?i[E.lang]:E.lang===!1||E.lang===!0?{}:i.en,E.titleCase&&typeof E.titleCase.length=="number"&&Array.prototype.toString.call(E.titleCase)?(E.titleCase.forEach(function(he){U[he+""]=he+""}),A=!0):A=!!E.titleCase,E.custom&&typeof E.custom.length=="number"&&Array.prototype.toString.call(E.custom)&&E.custom.forEach(function(he){U[he+""]=he+""}),Object.keys(U).forEach(function(he){var Re;he.length>1?Re=new RegExp("\\b"+p(he)+"\\b","gi"):Re=new RegExp(p(he),"gi"),y=y.replace(Re,U[he])});for(R in U)Te+=R}for(Te+=S,Te=p(Te),y=y.replace(/(^\s+|\s+$)/g,""),te=!1,ve=!1,O=0,K=y.length;O=0?(b+=R,R=""):ve===!0?(R=s[b]+r[R],b=""):R=te&&r[R].match(/[A-Za-z0-9]/)?" "+r[R]:r[R],te=!1,ve=!1):R in s?(b+=R,R="",O===K-1&&(R=s[b]),ve=!0):N[R]&&!(k&&a.indexOf(R)!==-1)&&!(M&&c.indexOf(R)!==-1)?(R=te||h.substr(-1).match(/[A-Za-z0-9]/)?S+N[R]:N[R],R+=y[O+1]!==void 0&&y[O+1].match(/[A-Za-z0-9]/)?S:"",te=!0):(ve===!0?(R=s[b]+R,b="",ve=!1):te&&(/[A-Za-z0-9]/.test(R)||h.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),te=!1),h+=R.replace(new RegExp("[^\\w\\s"+Te+"_-]","g"),S);return A&&(h=h.replace(/(\w)(\S*)/g,function(he,Re,ot){var Ve=Re.toUpperCase()+(ot!==null?ot:"");return Object.keys(U).indexOf(Ve.toLowerCase())<0?Ve:Ve.toLowerCase()})),h=h.replace(/\s+/g,S).replace(new RegExp("\\"+S+"+","g"),S).replace(new RegExp("(^\\"+S+"+|\\"+S+"+$)","g"),""),H&&h.length>H&&(ee=h.charAt(H)===S,h=h.slice(0,H),ee||(h=h.slice(0,h.lastIndexOf(S)))),!V&&!A&&(h=h.toLowerCase()),h},d=function(y){return function(S){return u(S,y)}},p=function(y){return y.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},v=function(_,y){for(var E in y)if(y[E]===_)return!0};if(typeof t<"u"&&t.exports)t.exports=u,t.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return u});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=u,n.createSlug=d}catch{}}(e)}}),L0=Rf({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){L(),t.exports=P0()}});L();L();L();L();L();L();L();function I0(e){return!!(e&&e.__v_isReadonly)}function Df(e){return I0(e)?Df(e.__v_raw):!!(e&&e.__v_isReactive)}function ks(e){return!!(e&&e.__v_isRef===!0)}function Er(e){const t=e&&e.__v_raw;return t?Er(t):e}L();function R0(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function D0(e){const t=e.__file;if(t)return h0(g0(t,".vue"))}function ha(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Jo(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function N0(e){const{app:t,uid:n,instance:r}=e;try{if(r.__VUE_DEVTOOLS_NEXT_UID__)return r.__VUE_DEVTOOLS_NEXT_UID__;const o=await Jo(t);if(!o)return null;const s=o.rootInstance===r;return`${o.id}:${s?"root":n}`}catch{}}function Nf(e){var t,n;const r=(t=e.subTree)==null?void 0:t.type,o=Jo(e);return o?((n=o==null?void 0:o.types)==null?void 0:n.Fragment)===r:!1}function Qo(e){var t,n,r;const o=R0((e==null?void 0:e.type)||{});if(o)return o;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return ha(e,i);for(const i in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return ha(e,i);const s=D0((e==null?void 0:e.type)||{});return s||"Anonymous Component"}function Zs(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}var V0=class{constructor(){this.refEditor=new M0}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const l=o.shift();e instanceof Map&&(e=e.get(l)),e instanceof Set?e=Array.from(e.values())[l]:e=e[l],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],i=this.refEditor.get(e)[s];r?r(e,s,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const s=r.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):Er(t)instanceof Map?t.delete(n):Er(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):Er(t)instanceof Map?t.set(e.newKey||n,r):Er(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},M0=class{set(e,t){if(ks(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return ks(e)?e.value:e}isRef(e){return ks(e)||Df(e)}};L();function Hi(e){return Nf(e)?F0(e.subTree):e.subTree?[e.subTree.el]:[]}function F0(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Hi(n.component)):n!=null&&n.el&&t.push(n.el)}),t}L();L();function B0(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var vo;function H0(e){return vo||(vo=document.createRange()),vo.selectNode(e),vo.getBoundingClientRect()}function $0(e){const t=B0();if(!e.children)return t;for(let n=0,r=e.children.length;ne.bottom)&&(e.bottom=t.bottom),(!e.left||t.lefte.right)&&(e.right=t.right),e}var ga={top:0,left:0,right:0,bottom:0,width:0,height:0};function Ln(e){const t=e.subTree.el;return typeof window>"u"?ga:Nf(e)?$0(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?Ln(e.subTree.component):ga}var Vf="__vue-devtools-component-inspector__",Mf="__vue-devtools-component-inspector__card__",Ff="__vue-devtools-component-inspector__name__",Bf="__vue-devtools-component-inspector__indicator__",Hf={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},z0={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},j0={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function ur(){return document.getElementById(Vf)}function K0(){return document.getElementById(Mf)}function W0(){return document.getElementById(Bf)}function G0(){return document.getElementById(Ff)}function $i(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function Ui(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Vf,Object.assign(n.style,{...Hf,...$i(e.bounds),...e.style});const r=document.createElement("span");r.id=Mf,Object.assign(r.style,{...z0,top:e.bounds.top<35?0:"-35px"});const o=document.createElement("span");o.id=Ff,o.innerHTML=`<${e.name}>  `;const s=document.createElement("i");return s.id=Bf,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(s.style,j0),r.appendChild(o),r.appendChild(s),n.appendChild(r),document.body.appendChild(n),n}function zi(e){const t=ur(),n=K0(),r=G0(),o=W0();t&&(Object.assign(t.style,{...Hf,...$i(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`<${e.name}>  `,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function q0(e){const t=Ln(e);if(!t.width&&!t.height)return;const n=Qo(e);ur()?zi({bounds:t,name:n}):Ui({bounds:t,name:n})}function $f(){const e=ur();e&&(e.style.display="none")}var Js=null;function Qs(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Js=n,n.vnode.el)){const o=Ln(n),s=Qo(n);ur()?zi({bounds:o,name:s}):Ui({bounds:o,name:s})}}}function Y0(e,t){var n;if(e.preventDefault(),e.stopPropagation(),Js){const r=(n=Qe.value)==null?void 0:n.app;N0({app:r,uid:r.uid,instance:Js}).then(o=>{t(o)})}}var No=null;function X0(){$f(),window.removeEventListener("mouseover",Qs),window.removeEventListener("click",No,!0),No=null}function Z0(){return window.addEventListener("mouseover",Qs),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),Y0(n,r=>{window.removeEventListener("click",t,!0),No=null,window.removeEventListener("mouseover",Qs);const o=ur();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}No=t,window.addEventListener("click",t,!0)})}function J0(e){const t=Zs(Qe.value,e.id);if(t){const[n]=Hi(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Ln(t),o=document.createElement("div"),s={...$i(r),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=Ln(t);if(r.width||r.height){const o=Qo(t),s=ur();s?zi({...e,name:o,bounds:r}):Ui({...e,name:o,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}L();var ma,va;(va=(ma=X).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(ma.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Q0(e){let t=0;const n=setInterval(()=>{X.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function e1(){const e=X.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function t1(){return new Promise(e=>{function t(){e1(),e(X.__VUE_INSPECTOR__)}X.__VUE_INSPECTOR__?t():Q0(()=>{t()})})}L();L();L();var n1="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function r1(){if(!Of||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(n1);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}L();L();L();var _a,ba;(ba=(_a=X).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(_a.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var o1=new Proxy(X.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function s1(e,t){$e.timelineLayersState[t.id]=!1,o1.push({...e,descriptorId:t.id,appRecord:Jo(t.app)})}var ya,Ea;(Ea=(ya=X).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(ya.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var ji=new Proxy(X.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Uf=Jn(()=>{cr.hooks.callHook("sendInspectorToClient",zf())});function i1(e,t){var n,r;ji.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(r=e.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:Jo(t.app)}),Uf()}function zf(){return ji.filter(e=>e.descriptor.app===Qe.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,r=e.options;return{id:r.id,label:r.label,logo:n.logo,icon:`custom-ic-baseline-${(t=r==null?void 0:r.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function So(e,t){return ji.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function l1(){const e=Lf();e.hook("addInspector",({inspector:r,plugin:o})=>{i1(r,o.descriptor)});const t=Jn(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||$e.highPerfModeEnabled)return;const i=So(r,o.descriptor.app),l={app:o.descriptor.app,inspectorId:r,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(a=>{e.callHookWith(async c=>{await Promise.all(c.map(f=>f(l))),a()},"getInspectorTree")}),e.callHookWith(async a=>{await Promise.all(a.map(c=>c({inspectorId:r,rootNodes:l.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=Jn(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||$e.highPerfModeEnabled)return;const i=So(r,o.descriptor.app),l={app:o.descriptor.app,inspectorId:r,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},a={currentTab:`custom-inspector:${r}`};l.nodeId&&await new Promise(c=>{e.callHookWith(async f=>{await Promise.all(f.map(u=>u(l,a))),c()},"getInspectorState")}),e.callHookWith(async c=>{await Promise.all(c.map(f=>f({inspectorId:r,nodeId:l.nodeId,state:l.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:r,nodeId:o,plugin:s})=>{const i=So(r,s.descriptor.app);i&&(i.selectedNodeId=o)}),e.hook("timelineLayerAdded",({options:r,plugin:o})=>{s1(r,o.descriptor)}),e.hook("timelineEventAdded",({options:r,plugin:o})=>{var s;const i=["performance","component-event","keyboard","mouse"];$e.highPerfModeEnabled||!((s=$e.timelineLayersState)!=null&&s[o.descriptor.id])&&!i.includes(r.layerId)||e.callHookWith(async l=>{await Promise.all(l.map(a=>a(r)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:r})=>{const o=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const s=o.id.toString();return[...o.instanceMap].filter(([l])=>l.split(":")[0]===s).map(([,l])=>l)}),e.hook("getComponentBounds",async({instance:r})=>Ln(r)),e.hook("getComponentName",({instance:r})=>Qo(r)),e.hook("componentHighlight",({uid:r})=>{const o=Qe.value.instanceMap.get(r);o&&q0(o)}),e.hook("componentUnhighlight",()=>{$f()}),e}var Sa,wa;(wa=(Sa=X).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(Sa.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Ca,Aa;(Aa=(Ca=X).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Ca.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var ka,Ta;(Ta=(ka=X).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(ka.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var xa,Oa;(Oa=(xa=X).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(xa.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Pa,La;(La=(Pa=X).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Pa.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var kn="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function a1(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:r1()}}var Ia,Ra;(Ra=(Ia=X)[kn])!=null||(Ia[kn]=a1());var u1=Jn(e=>{cr.hooks.callHook("devtoolsStateUpdated",{state:e})});Jn((e,t)=>{cr.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var es=new Proxy(X.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?X.__VUE_DEVTOOLS_KIT_APP_RECORDS__:X.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),Qe=new Proxy(X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function jf(){u1({...X[kn],appRecords:es.value,activeAppRecordId:Qe.id,tabs:X.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:X.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function c1(e){X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,jf()}function f1(e){X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,jf()}var $e=new Proxy(X[kn],{get(e,t){return t==="appRecords"?es:t==="activeAppRecordId"?Qe.id:t==="tabs"?X.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?X.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:X[kn][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...X[kn]},e[t]=n,X[kn][t]=n,!0}});function d1(e={}){var t,n,r;const{file:o,host:s,baseUrl:i=window.location.origin,line:l=0,column:a=0}=e;if(o){if(s==="chrome-extension"){const c=o.replace(/\\/g,"\\\\"),f=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${f}__open-in-editor?file=${encodeURI(o)}`).then(u=>{if(!u.ok){const d=`Opening component ${c} failed`;console.log(`%c${d}`,"color:red")}})}else if($e.vitePluginDetected){const c=(r=X.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:i;X.__VUE_INSPECTOR__.openInEditor(c,o,l,a)}}}L();L();L();L();L();var Da,Na;(Na=(Da=X).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Da.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Ki=new Proxy(X.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function ei(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Wi(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function p1(e){var t,n,r;const o=(n=(t=Ki.find(s=>{var i;return s[0].id===e&&!!((i=s[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(r=o==null?void 0:o.settings)!=null?r:null}function Kf(e,t){var n,r,o;const s=Wi(e);if(s){const i=localStorage.getItem(s);if(i)return JSON.parse(i)}if(e){const i=(r=(n=Ki.find(l=>l[0].id===e))==null?void 0:n[0])!=null?r:null;return ei((o=i==null?void 0:i.settings)!=null?o:{})}return ei(t)}function h1(e,t){const n=Wi(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(ei(t)))}function g1(e,t,n){const r=Wi(e),o=localStorage.getItem(r),s=JSON.parse(o||"{}"),i={...s,[t]:n};localStorage.setItem(r,JSON.stringify(i)),cr.hooks.callHookWith(l=>{l.forEach(a=>a({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:i}))},"setPluginSettings")}L();L();L();L();L();L();L();L();L();L();L();var Va,Ma,ft=(Ma=(Va=X).__VUE_DEVTOOLS_HOOK)!=null?Ma:Va.__VUE_DEVTOOLS_HOOK=Lf(),m1={vueAppInit(e){ft.hook("app:init",e)},vueAppUnmount(e){ft.hook("app:unmount",e)},vueAppConnected(e){ft.hook("app:connected",e)},componentAdded(e){return ft.hook("component:added",e)},componentEmit(e){return ft.hook("component:emit",e)},componentUpdated(e){return ft.hook("component:updated",e)},componentRemoved(e){return ft.hook("component:removed",e)},setupDevtoolsPlugin(e){ft.hook("devtools-plugin:setup",e)},perfStart(e){return ft.hook("perf:start",e)},perfEnd(e){return ft.hook("perf:end",e)}},Wf={on:m1,setupDevToolsPlugin(e,t){return ft.callHook("devtools-plugin:setup",e,t)}},v1=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if($e.highPerfModeEnabled)return;const n=zf().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const r=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];ft.callHook("component:updated",...r)}else ft.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&h1(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){$e.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){$e.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return $e.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){$e.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Kf(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},_1=v1;L();L();L();L();var b1="__vue_devtool_undefined__",y1="__vue_devtool_infinity__",E1="__vue_devtool_negative_infinity__",S1="__vue_devtool_nan__";L();L();var w1={[b1]:"undefined",[S1]:"NaN",[y1]:"Infinity",[E1]:"-Infinity"};Object.entries(w1).reduce((e,[t,n])=>(e[n]=t,e),{});L();L();L();L();L();var Fa,Ba;(Ba=(Fa=X).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Fa.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function C1(e,t){return Wf.setupDevToolsPlugin(e,t)}function A1(e,t){const[n,r]=e;if(n.app!==t)return;const o=new _1({plugin:{setupFn:r,descriptor:n},ctx:cr});n.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),r(o)}function Gf(e){X.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||$e.highPerfModeEnabled||(X.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Ki.forEach(t=>{A1(t,e)}))}L();L();var Ur="__VUE_DEVTOOLS_ROUTER__",Qn="__VUE_DEVTOOLS_ROUTER_INFO__",Ha,$a;($a=(Ha=X)[Qn])!=null||(Ha[Qn]={currentRoute:null,routes:[]});var Ua,za;(za=(Ua=X)[Ur])!=null||(Ua[Ur]={});new Proxy(X[Qn],{get(e,t){return X[Qn][t]}});new Proxy(X[Ur],{get(e,t){if(t==="value")return X[Ur]}});function k1(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Gi(e){return e.map(t=>{let{path:n,name:r,children:o,meta:s}=t;return o!=null&&o.length&&(o=Gi(o)),{path:n,name:r,children:o,meta:s}})}function T1(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:i,params:l,query:a}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:l,query:a,matched:Gi(i)}}return e}function x1(e,t){function n(){var r;const o=(r=e.app)==null?void 0:r.config.globalProperties.$router,s=T1(o==null?void 0:o.currentRoute.value),i=Gi(k1(o)),l=console.warn;console.warn=()=>{},X[Qn]={currentRoute:s?pa(s):{},routes:pa(i)},X[Ur]=o,console.warn=l}n(),Wf.on.componentUpdated(Jn(()=>{var r;((r=t.value)==null?void 0:r.app)===e.app&&(n(),!$e.highPerfModeEnabled&&cr.hooks.callHook("routerInfoUpdated",{state:X[Qn]}))},200))}function O1(e){return{async getInspectorTree(t){const n={...t,app:Qe.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:Qe.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(i=>i(n,r))),o()},"getInspectorState")}),n.state},editInspectorState(t){const n=new V0,r={...t,app:Qe.value.app,set:(o,s=t.path,i=t.state.value,l)=>{n.set(o,s,i,l||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(r))},"editInspectorState")},sendInspectorState(t){const n=So(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return Z0()},cancelInspectComponentInspector(){return X0()},getComponentRenderCode(t){const n=Zs(Qe.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return J0({id:t})},openInEditor:d1,getVueInspector:t1,toggleApp(t){const n=es.value.find(r=>r.id===t);n&&(f1(t),c1(n),x1(n,Qe),Uf(),Gf(n.app))},inspectDOM(t){const n=Zs(Qe.value,t);if(n){const[r]=Hi(n);r&&(X.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){g1(t,n,r)},getPluginSettings(t){return{options:p1(t),values:Kf(t)}}}}L();var ja,Ka;(Ka=(ja=X).__VUE_DEVTOOLS_ENV__)!=null||(ja.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var Wa=l1(),Ga,qa;(qa=(Ga=X).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Ga.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:Wa,get state(){return{...$e,activeAppRecordId:Qe.id,activeAppRecord:Qe.value,appRecords:es.value}},api:O1(Wa)});var cr=X.__VUE_DEVTOOLS_KIT_CONTEXT__;L();O0(L0());var Ya,Xa;(Xa=(Ya=X).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(Ya.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});L();function P1(e){$e.highPerfModeEnabled=e??!$e.highPerfModeEnabled,!e&&Qe.value&&Gf(Qe.value.app)}L();L();L();function L1(e){$e.devtoolsClientDetected={...$e.devtoolsClientDetected,...e};const t=Object.values($e.devtoolsClientDetected).some(Boolean);P1(!t)}var Za,Ja;(Ja=(Za=X).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Za.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=L1);L();L();L();L();L();L();L();var I1=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},qf=class{constructor(e){this.generateIdentifier=e,this.kv=new I1}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},R1=class extends qf{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};L();L();function D1(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function N1(e,t){const n=D1(e);if("find"in n)return n.find(t);const r=n;for(let o=0;ot(r,n))}function wo(e,t){return e.indexOf(t)!==-1}function Qa(e,t){for(let n=0;nt.isApplicable(e))}findByName(e){return this.transfomers[e]}};L();L();var M1=e=>Object.prototype.toString.call(e).slice(8,-1),Yf=e=>typeof e>"u",F1=e=>e===null,zr=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,ti=e=>zr(e)&&Object.keys(e).length===0,gn=e=>Array.isArray(e),B1=e=>typeof e=="string",H1=e=>typeof e=="number"&&!isNaN(e),$1=e=>typeof e=="boolean",U1=e=>e instanceof RegExp,jr=e=>e instanceof Map,Kr=e=>e instanceof Set,Xf=e=>M1(e)==="Symbol",z1=e=>e instanceof Date&&!isNaN(e.valueOf()),j1=e=>e instanceof Error,eu=e=>typeof e=="number"&&isNaN(e),K1=e=>$1(e)||F1(e)||Yf(e)||H1(e)||B1(e)||Xf(e),W1=e=>typeof e=="bigint",G1=e=>e===1/0||e===-1/0,q1=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Y1=e=>e instanceof URL;L();var Zf=e=>e.replace(/\./g,"\\."),Ts=e=>e.map(String).map(Zf).join("."),Lr=e=>{const t=[];let n="";for(let o=0;onull,()=>{}),Pt(W1,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Pt(z1,"Date",e=>e.toISOString(),e=>new Date(e)),Pt(j1,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),Pt(U1,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Pt(Kr,"set",e=>[...e.values()],e=>new Set(e)),Pt(jr,"map",e=>[...e.entries()],e=>new Map(e)),Pt(e=>eu(e)||G1(e),"number",e=>eu(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Pt(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Pt(Y1,"URL",e=>e.toString(),e=>new URL(e))];function ts(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Qf=ts((e,t)=>Xf(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),X1=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),ed=ts(q1,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=X1[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function td(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var nd=ts(td,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),rd=ts((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Z1=[nd,Qf,rd,ed],tu=(e,t)=>{const n=Qa(Z1,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=Qa(Jf,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},od={};Jf.forEach(e=>{od[e.annotation]=e});var J1=(e,t,n)=>{if(gn(t))switch(t[0]){case"symbol":return Qf.untransform(e,t,n);case"class":return nd.untransform(e,t,n);case"custom":return rd.untransform(e,t,n);case"typed-array":return ed.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=od[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}};L();var Fn=(e,t)=>{const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function sd(e){if(wo(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(wo(e,"prototype"))throw new Error("prototype is not allowed as a property");if(wo(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Q1=(e,t)=>{sd(t);for(let n=0;n{if(sd(t),t.length===0)return n(e);let r=e;for(let s=0;sri(s,t,[...n,...Lr(i)]));return}const[r,o]=e;o&&er(o,(s,i)=>{ri(s,t,[...n,...Lr(i)])}),t(r,n)}function eb(e,t,n){return ri(t,(r,o)=>{e=ni(e,o,s=>J1(s,r,n))}),e}function tb(e,t){function n(r,o){const s=Q1(e,Lr(o));r.map(Lr).forEach(i=>{e=ni(e,i,()=>s)})}if(gn(t)){const[r,o]=t;r.forEach(s=>{e=ni(e,Lr(s),()=>e)}),o&&er(o,n)}else er(t,n);return e}var nb=(e,t)=>zr(e)||gn(e)||jr(e)||Kr(e)||td(e,t);function rb(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function ob(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(l=>l.map(String)).sort((l,a)=>l.length-a.length));const[s,...i]=o;s.length===0?r=i.map(Ts):n[Ts(s)]=i.map(Ts)}),r?ti(n)?[r]:[r,n]:ti(n)?void 0:n}var id=(e,t,n,r,o=[],s=[],i=new Map)=>{var l;const a=K1(e);if(!a){rb(e,o,t);const v=i.get(e);if(v)return r?{transformedValue:null}:v}if(!nb(e,n)){const v=tu(e,n),_=v?{transformedValue:v.value,annotations:[v.type]}:{transformedValue:e};return a||i.set(e,_),_}if(wo(s,e))return{transformedValue:null};const c=tu(e,n),f=(l=c==null?void 0:c.value)!=null?l:e,u=gn(f)?[]:{},d={};er(f,(v,_)=>{if(_==="__proto__"||_==="constructor"||_==="prototype")throw new Error(`Detected property ${_}. This is a prototype pollution risk, please remove it from your object.`);const y=id(v,t,n,r,[...o,_],[...s,e],i);u[_]=y.transformedValue,gn(y.annotations)?d[_]=y.annotations:zr(y.annotations)&&er(y.annotations,(E,S)=>{d[Zf(_)+"."+S]=E})});const p=ti(d)?{transformedValue:u,annotations:c?[c.type]:void 0}:{transformedValue:u,annotations:c?[c.type,d]:d};return a||i.set(e,p),p};L();L();function ld(e){return Object.prototype.toString.call(e).slice(8,-1)}function nu(e){return ld(e)==="Array"}function sb(e){if(ld(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function ib(e,t,n,r,o){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function oi(e,t={}){if(nu(e))return e.map(o=>oi(o,t));if(!sb(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,s)=>{if(nu(t.props)&&!t.props.includes(s))return o;const i=e[s],l=oi(i,t);return ib(o,s,l,e,t.nonenumerable),o},{})}var Ae=class{constructor({dedupe:e=!1}={}){this.classRegistry=new R1,this.symbolRegistry=new qf(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new V1,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=id(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=ob(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=oi(t);return n!=null&&n.values&&(r=eb(r,n.values,this)),n!=null&&n.referentialEqualities&&(r=tb(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};Ae.defaultInstance=new Ae;Ae.serialize=Ae.defaultInstance.serialize.bind(Ae.defaultInstance);Ae.deserialize=Ae.defaultInstance.deserialize.bind(Ae.defaultInstance);Ae.stringify=Ae.defaultInstance.stringify.bind(Ae.defaultInstance);Ae.parse=Ae.defaultInstance.parse.bind(Ae.defaultInstance);Ae.registerClass=Ae.defaultInstance.registerClass.bind(Ae.defaultInstance);Ae.registerSymbol=Ae.defaultInstance.registerSymbol.bind(Ae.defaultInstance);Ae.registerCustom=Ae.defaultInstance.registerCustom.bind(Ae.defaultInstance);Ae.allowErrorProps=Ae.defaultInstance.allowErrorProps.bind(Ae.defaultInstance);L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();var ru,ou;(ou=(ru=X).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(ru.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var su,iu;(iu=(su=X).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(su.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var lu,au;(au=(lu=X).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(lu.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var uu,cu;(cu=(uu=X).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(uu.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var fu,du;(du=(fu=X).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(fu.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var pu,hu;(hu=(pu=X).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(pu.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);L();L();L();L();L();L();L();const lb=JSON.parse(`{"navbar":[{"text":"Home","link":"/"},{"text":"Getting started","link":"/overview/getting-started"},{"text":"GitHub","link":"https://github.com/microsoft/beachball"}],"sidebar":[{"text":"Overview","collapsible":false,"children":["/overview/getting-started","/overview/installation","/overview/configuration"]},{"text":"Concepts","collapsible":false,"children":["/concepts/bump-algorithm","/concepts/change-files","/concepts/ci-integration","/concepts/groups"]},{"text":"CLI commands","collapsible":false,"children":["/cli/options","/cli/bump","/cli/change","/cli/check","/cli/publish","/cli/sync"]}],"locales":{"/":{"selectLanguageName":"English"}},"colorMode":"auto","colorModeSwitch":true,"logo":null,"repo":null,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","sidebarDepth":2,"editLink":true,"editLinkText":"Edit this page","lastUpdated":true,"lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleColorMode":"toggle color mode","toggleSidebar":"toggle sidebar"}`),ab=ce(lb),ad=()=>ab,ud=Symbol(""),ub=()=>{const e=et(ud);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},cb=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},fb=Vt({enhance({app:e}){const t=ad(),n=e._context.provides[Oi],r=B(()=>cb(t.value,n.routeLocale.value));e.provide(ud,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}}),C1({app:e,id:"org.vuejs.vuepress.plugin-theme-data",label:"VuePress Theme Data Plugin",packageName:"@vuepress/plugin-theme-data",homepage:"https://v2.vuepress.vuejs.org",logo:"https://v2.vuepress.vuejs.org/images/hero.png",componentStateTypes:["VuePress"]},o=>{o.on.inspectComponent(s=>{s.instanceData.state.push({type:"VuePress",key:"themeData",editable:!1,value:t.value},{type:"VuePress",key:"themeLocaleData",editable:!1,value:r.value})})})}}),db=Object.freeze(Object.defineProperty({__proto__:null,default:fb},Symbol.toStringTag,{value:"Module"})),pb=()=>ad(),ze=()=>ub(),cd=Symbol(""),hb=e=>{const t=(n=e.value)=>{const r=window.document.documentElement;r.dataset.theme=n?"dark":"light"};Ye(()=>{Fe(e,t,{immediate:!0})}),Ko(()=>{t()})},qi=()=>{const e=et(cd);if(!e)throw new Error("useDarkMode() is called without provider.");return e},gb=()=>{const e=ze(),t=Iv(),n=Mi("vuepress-color-scheme",e.value.colorMode),r=B({get(){return e.value.colorModeSwitch?n.value==="auto"?t.value:n.value==="dark":e.value.colorMode==="dark"},set(o){o===t.value?n.value="auto":n.value=o?"dark":"light"}});On(cd,r),hb(r)};let xs=null,vr=null;const mb={wait:()=>xs,pending:()=>{xs=new Promise(e=>{vr=e})},resolve:()=>{vr==null||vr(),xs=null,vr=null}},fd=()=>mb,tr=(e,t)=>{const{notFound:n,meta:r,path:o}=$r(e,t);return n?{text:o,link:o}:{text:r.title||o,link:o}},gu=e=>decodeURI(e).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),vb=(e,t)=>{if(t.hash===e)return!0;const n=gu(t.path),r=gu(e);return n===r},dd=(e,t)=>e.link&&vb(e.link,t)?!0:"children"in e?e.children.some(n=>dd(n,t)):!1,pd=e=>!kg(e)&&!eo(e),hd=e=>!qo(e)||e.includes("github.com")?"GitHub":e.includes("bitbucket.org")?"Bitbucket":e.includes("gitlab.com")?"GitLab":e.includes("gitee.com")?"Gitee":null,_b={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},bb=({docsRepo:e,editLinkPattern:t})=>{if(t)return t;const n=hd(e);return n!==null?_b[n]:null},yb=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=bb({docsRepo:e,editLinkPattern:o});return s?s.replace(/:repo/,qo(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,$c(`${Hc(n)}/${r}`)):null},Gn=(e="",t="")=>Tf(t)||eo(t)?t:`${Ng(e)}${t}`,Co=ce([]),Eb=()=>{const e=mn(),t=ze(),n=xt(),r=B(()=>n.value.sidebarDepth??t.value.sidebarDepth??2);e.beforeEach((s,i)=>{s.path!==i.path&&(Co.value=[])});const o=()=>{if(r.value<=0){Co.value=[];return}Co.value=f_({levels:[2,r.value+1],ignore:[".vp-badge"]})};Fe(r,o),Ye(o)},Sb=()=>Co,wb=e=>({text:e.title,link:e.link,children:Yi(e.children)}),Yi=e=>e?e.map(t=>wb(t)):[],gd=(e,t)=>[{text:e.title,children:Yi(t)}],md=(e,t,n,r="")=>{const o=(s,i)=>{var a;const l=Et(s)?tr(Gn(i,s)):Et(s.link)?{...s,link:pd(s.link)?tr(Gn(i,s.link)).link:s.link}:s;if("children"in l)return{...l,children:l.children.map(c=>o(c,Gn(i,l.prefix)))};if(l.link===n){const c=((a=t[0])==null?void 0:a.level)===1?t[0].children:t;return{...l,children:Yi(c)}}return l};return e.map(s=>o(s,r))},Cb=(e,t,n,r)=>{const o=h_(e).sort((s,i)=>i.length-s.length);for(const s of o)if(kf(decodeURI(r),s)){const i=e[s];return i?i==="heading"?gd(t,n):md(i,n,r,s):[]}return console.warn(`${decodeURI(r)} is missing sidebar config.`),[]},vd=Symbol("sidebarItems"),Xi=()=>{const e=et(vd);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},Ab=(e,t,n,r,o)=>e===!1?[]:e==="heading"?gd(t,o):Array.isArray(e)?md(e,o,n,r):ki(e)?Cb(e,t,o,n):[],kb=()=>{const e=ze(),t=xt(),n=ir(),r=Jt(),o=lr(),s=Sb(),i=B(()=>t.value.home?!1:t.value.sidebar??e.value.sidebar??"heading"),l=B(()=>Ab(i.value,n.value,r.path,o.value,s.value));On(vd,l)},Tb=ge({__name:"Badge",props:{type:{default:"tip"},text:{default:""},vertical:{default:void 0}},setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),Pe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function xb(e,t,n,r,o,s){return Y(),oe("span",{class:st(["vp-badge",n.type]),style:rr({verticalAlign:n.vertical})},[De(e.$slots,"default",{},()=>[pn(Ie(n.text),1)])],6)}const Ob=Pe(Tb,[["render",xb],["__file","Badge.vue"]]),Pb=ge({__name:"VPHomeFeatures",setup(e,{expose:t}){t();const n=xt(),r=B(()=>n.value.features??[]),o={frontmatter:n,features:r};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),Lb={key:0,class:"vp-features"};function Ib(e,t,n,r,o,s){return r.features.length?(Y(),oe("div",Lb,[(Y(!0),oe(Ee,null,fn(r.features,i=>(Y(),oe("div",{key:i.title,class:"vp-feature"},[ae("h2",null,Ie(i.title),1),ae("p",null,Ie(i.details),1)]))),128))])):Ue("",!0)}const Rb=Pe(Pb,[["render",Ib],["__file","VPHomeFeatures.vue"]]),Db=ge({__name:"VPHomeFooter",setup(e,{expose:t}){t();const n=xt(),r=B(()=>n.value.footer),o=B(()=>n.value.footerHtml),s={frontmatter:n,footer:r,footerHtml:o};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),Nb=["innerHTML"],Vb=["textContent"];function Mb(e,t,n,r,o,s){return r.footer?(Y(),oe(Ee,{key:0},[r.footerHtml?(Y(),oe("div",{key:0,class:"vp-footer","vp-footer":"",innerHTML:r.footer},null,8,Nb)):(Y(),oe("div",{key:1,class:"vp-footer","vp-footer":"",textContent:Ie(r.footer)},null,8,Vb))],64)):Ue("",!0)}const Fb=Pe(Db,[["render",Mb],["__file","VPHomeFooter.vue"]]),Bb=ge({__name:"VPHomeHero",setup(e,{expose:t}){t();const n=xt(),r=Pi(),o=qi(),s=B(()=>n.value.heroText===null?null:n.value.heroText||r.value.title||"Hello"),i=B(()=>n.value.tagline===null?null:n.value.tagline||r.value.description||"Welcome to your VuePress site"),l=B(()=>o.value&&n.value.heroImageDark!==void 0?n.value.heroImageDark:n.value.heroImage),a=B(()=>n.value.heroAlt||s.value||"hero"),c=B(()=>n.value.heroHeight??280),f=B(()=>Array.isArray(n.value.actions)?n.value.actions.map(({text:p,link:v,type:_="primary"})=>({text:p,link:v,type:_})):[]),d={frontmatter:n,siteLocale:r,isDarkMode:o,heroText:s,tagline:i,heroImage:l,heroAlt:a,heroHeight:c,actions:f,HomeHeroImage:()=>{if(!l.value)return null;const p=re("img",{class:"vp-hero-image",src:Ri(l.value),alt:a.value,height:c.value});return n.value.heroImageDark===void 0?p:re(Li,()=>p)},get AutoLink(){return ar}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),Hb={class:"vp-hero"},$b={key:0,id:"main-title"},Ub={key:1,class:"vp-hero-description"},zb={key:2,class:"vp-hero-actions"};function jb(e,t,n,r,o,s){return Y(),oe("header",Hb,[ue(r.HomeHeroImage),r.heroText?(Y(),oe("h1",$b,Ie(r.heroText),1)):Ue("",!0),r.tagline?(Y(),oe("p",Ub,Ie(r.tagline),1)):Ue("",!0),r.actions.length?(Y(),oe("p",zb,[(Y(!0),oe(Ee,null,fn(r.actions,i=>(Y(),Ne(r.AutoLink,{key:i.text,class:st(["vp-hero-action-button",[i.type]]),config:i},null,8,["class","config"]))),128))])):Ue("",!0)])}const Kb=Pe(Bb,[["render",jb],["__file","VPHomeHero.vue"]]),Wb=ge({__name:"VPHome",setup(e,{expose:t}){t();const n={VPHomeFeatures:Rb,VPHomeFooter:Fb,VPHomeHero:Kb,get Content(){return Ii}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),Gb={class:"vp-home"},qb={class:"theme-default-content","vp-content":""};function Yb(e,t,n,r,o,s){return Y(),oe("main",Gb,[ue(r.VPHomeHero),ue(r.VPHomeFeatures),ae("div",qb,[ue(r.Content)]),ue(r.VPHomeFooter)])}const Xb=Pe(Wb,[["render",Yb],["__file","VPHome.vue"]]),Zb=ge({__name:"VPNavbarBrand",setup(e,{expose:t}){t();const n=lr(),r=Pi(),o=ze(),s=qi(),i=B(()=>o.value.home||n.value),l=B(()=>r.value.title),a=B(()=>s.value&&o.value.logoDark!==void 0?o.value.logoDark:o.value.logo),c=B(()=>o.value.logoAlt??l.value),f=B(()=>l.value.toLocaleUpperCase().trim()===c.value.toLocaleUpperCase().trim()),d={routeLocale:n,siteLocale:r,themeLocale:o,isDarkMode:s,navbarBrandLink:i,navbarBrandTitle:l,navbarBrandLogo:a,navbarBrandLogoAlt:c,navBarLogoAltMatchesTitle:f,NavbarBrandLogo:()=>{if(!a.value)return null;const p=re("img",{class:"vp-site-logo",src:Ri(a.value),alt:c.value});return o.value.logoDark===void 0?p:re(Li,()=>p)},get RouteLink(){return Zo}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),Jb=["aria-hidden"];function Qb(e,t,n,r,o,s){return Y(),Ne(r.RouteLink,{to:r.navbarBrandLink},{default:He(()=>[ue(r.NavbarBrandLogo),r.navbarBrandTitle?(Y(),oe("span",{key:0,class:st(["vp-site-name",{"vp-hide-mobile":r.navbarBrandLogo}]),"aria-hidden":r.navBarLogoAltMatchesTitle},Ie(r.navbarBrandTitle),11,Jb)):Ue("",!0)]),_:1},8,["to"])}const ey=Pe(Zb,[["render",Qb],["__file","VPNavbarBrand.vue"]]),ty=ge({__name:"VPDropdownTransition",setup(e,{expose:t}){t();const o={setHeight:s=>{s.style.height=`${s.scrollHeight}px`},unsetHeight:s=>{s.style.height=""}};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function ny(e,t,n,r,o,s){return Y(),Ne(Ai,{name:"vp-dropdown",onEnter:r.setHeight,onAfterEnter:r.unsetHeight,onBeforeLeave:r.setHeight},{default:He(()=>[De(e.$slots,"default")]),_:3})}const _d=Pe(ty,[["render",ny],["__file","VPDropdownTransition.vue"]]),ry=ge({__name:"VPNavbarDropdown",props:{config:{}},setup(e,{expose:t}){t();const n=e,{config:r}=mi(n),o=Jt(),[s,i]=hf(!1),l=B(()=>r.value.ariaLabel||r.value.text),a=(u,d)=>d[d.length-1]===u,c=u=>{u.detail===0?i():i(!1)};Fe(()=>o.path,()=>{i(!1)});const f={props:n,config:r,route:o,open:s,toggleOpen:i,dropdownAriaLabel:l,isLastItemOfArray:a,handleDropdown:c,VPDropdownTransition:_d,get AutoLink(){return ar}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),oy=["aria-label"],sy={class:"title"},iy=["aria-label"],ly={class:"title"},ay={class:"vp-navbar-dropdown"},uy={class:"vp-navbar-dropdown-subtitle"},cy={key:1},fy={class:"vp-navbar-dropdown-subitem-wrapper"};function dy(e,t,n,r,o,s){return Y(),oe("div",{class:st(["vp-navbar-dropdown-wrapper",{open:r.open}])},[ae("button",{class:"vp-navbar-dropdown-title",type:"button","aria-label":r.dropdownAriaLabel,onClick:r.handleDropdown},[ae("span",sy,Ie(r.config.text),1),t[1]||(t[1]=ae("span",{class:"arrow down"},null,-1))],8,oy),ae("button",{class:"vp-navbar-dropdown-title-mobile",type:"button","aria-label":r.dropdownAriaLabel,onClick:t[0]||(t[0]=()=>r.toggleOpen())},[ae("span",ly,Ie(r.config.text),1),ae("span",{class:st(["arrow",r.open?"down":"right"])},null,2)],8,iy),ue(r.VPDropdownTransition,null,{default:He(()=>[Po(ae("ul",ay,[(Y(!0),oe(Ee,null,fn(r.config.children,i=>(Y(),oe("li",{key:i.text,class:"vp-navbar-dropdown-item"},["children"in i?(Y(),oe(Ee,{key:0},[ae("h4",uy,[i.link?(Y(),Ne(r.AutoLink,{key:0,config:i,onFocusout:()=>{r.isLastItemOfArray(i,r.config.children)&&i.children.length===0&&(r.open=!1)}},null,8,["config","onFocusout"])):(Y(),oe("span",cy,Ie(i.text),1))]),ae("ul",fy,[(Y(!0),oe(Ee,null,fn(i.children,l=>(Y(),oe("li",{key:l.link,class:"vp-navbar-dropdown-subitem"},[ue(r.AutoLink,{config:l,onFocusout:()=>{r.isLastItemOfArray(l,i.children)&&r.isLastItemOfArray(i,r.config.children)&&r.toggleOpen(!1)}},null,8,["config","onFocusout"])]))),128))])],64)):(Y(),Ne(r.AutoLink,{key:1,config:i,onFocusout:()=>{r.isLastItemOfArray(i,r.config.children)&&r.toggleOpen(!1)}},null,8,["config","onFocusout"]))]))),128))],512),[[Do,r.open]])]),_:1})],2)}const py=Pe(ry,[["render",dy],["__file","VPNavbarDropdown.vue"]]),bd=(e,t="")=>Et(e)?tr(Gn(t,e)):"children"in e?{...e,children:e.children.map(n=>bd(n,Gn(t,e.prefix)))}:{...e,link:pd(e.link)?tr(Gn(t,e.link)).link:e.link},hy=()=>{const e=ze();return B(()=>(e.value.navbar||[]).map(t=>bd(t)))},gy=()=>{const e=ze(),t=B(()=>e.value.repo),n=B(()=>t.value?hd(t.value):null),r=B(()=>t.value&&!qo(t.value)?`https://github.com/${t.value}`:t.value),o=B(()=>r.value?e.value.repoLabel?e.value.repoLabel:n.value===null?"Source":n.value:null);return B(()=>!r.value||!o.value?[]:[{text:o.value,link:r.value}])},my=()=>{const e=Jt(),t=d_(),n=lr(),r=cf(),o=Pi(),s=pb(),i=ze();return B(()=>{const l=Object.keys(r.value.locales);if(l.length<2)return[];const a=e.path,c=e.fullPath;return[{text:`${i.value.selectLanguageText}`,ariaLabel:`${i.value.selectLanguageAriaLabel??i.value.selectLanguageText}`,children:l.map(u=>{var E,S;const d=((E=r.value.locales)==null?void 0:E[u])??{},p=((S=s.value.locales)==null?void 0:S[u])??{},v=`${d.lang}`,_=p.selectLanguageName??v;if(v===o.value.lang)return{text:_,activeMatch:".",link:e.fullPath};const y=a.replace(n.value,u);return{text:_,link:t.value.some(h=>h===y)?c.replace(a,y):p.home??u}})}]})},vy="719px",_y={mobile:vy};var Wr;(function(e){e.Mobile="mobile"})(Wr||(Wr={}));const by={[Wr.Mobile]:Number.parseInt(_y.mobile.replace("px",""),10)},yd=(e,t)=>{const n=by[e];Number.isInteger(n)&&(gt("orientationchange",()=>{t(n)},!1),gt("resize",()=>{t(n)},!1),Ye(()=>{t(n)}))},yy=ge({__name:"VPNavbarItems",setup(e,{expose:t}){t();const n=hy(),r=my(),o=gy(),s=ce(!1),i=B(()=>ze().value.navbarLabel??"site navigation"),l=B(()=>[...n.value,...r.value,...o.value]);yd(Wr.Mobile,c=>{s.value=window.innerWidth(Y(),oe("div",{key:i.text,class:"vp-navbar-item"},["children"in i?(Y(),Ne(r.VPNavbarDropdown,{key:0,class:st({mobile:r.isMobile}),config:i},null,8,["class","config"])):(Y(),Ne(r.AutoLink,{key:1,config:i},null,8,["config"]))]))),128))],8,Ey)):Ue("",!0)}const Ed=Pe(yy,[["render",Sy],["__file","VPNavbarItems.vue"]]),wy={},Cy={class:"dark-icon",viewBox:"0 0 32 32"};function Ay(e,t){return Y(),oe("svg",Cy,t[0]||(t[0]=[ae("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1)]))}const ky=Pe(wy,[["render",Ay],["__file","VPDarkIcon.vue"]]),Ty={},xy={class:"light-icon",viewBox:"0 0 32 32"};function Oy(e,t){return Y(),oe("svg",xy,t[0]||(t[0]=[Vh('',9)]))}const Py=Pe(Ty,[["render",Oy],["__file","VPLightIcon.vue"]]),Ly=ge({__name:"VPToggleColorModeButton",setup(e,{expose:t}){t();const n=ze(),r=qi(),s={themeLocale:n,isDarkMode:r,toggleColorMode:()=>{r.value=!r.value},VPDarkIcon:ky,VPLightIcon:Py};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),Iy=["title"];function Ry(e,t,n,r,o,s){return Y(),oe("button",{type:"button",class:"vp-toggle-color-mode-button",title:r.themeLocale.toggleColorMode,onClick:r.toggleColorMode},[Po(ue(r.VPLightIcon,null,null,512),[[Do,!r.isDarkMode]]),Po(ue(r.VPDarkIcon,null,null,512),[[Do,r.isDarkMode]])],8,Iy)}const Dy=Pe(Ly,[["render",Ry],["__file","VPToggleColorModeButton.vue"]]),Ny=ge({__name:"VPToggleSidebarButton",emits:["toggle"],setup(e,{expose:t}){t();const r={themeLocale:ze()};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),Vy=["title"];function My(e,t,n,r,o,s){return Y(),oe("div",{class:"vp-toggle-sidebar-button",title:r.themeLocale.toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},t[1]||(t[1]=[ae("div",{class:"icon","aria-hidden":"true"},[ae("span"),ae("span"),ae("span")],-1)]),8,Vy)}const Fy=Pe(Ny,[["render",My],["__file","VPToggleSidebarButton.vue"]]),By=ge({__name:"VPNavbar",emits:["toggleSidebar"],setup(e,{expose:t}){t();const n=wf("SearchBox")?yi("SearchBox"):()=>null,r=ze(),o=ce(null),s=ce(null),i=ce(0),l=B(()=>i.value?{maxWidth:`${i.value}px`}:{}),a=(f,u)=>{var v;const d=(v=f==null?void 0:f.ownerDocument.defaultView)==null?void 0:v.getComputedStyle(f,null)[u],p=Number.parseInt(d,10);return Number.isNaN(p)?0:p};yd(Wr.Mobile,f=>{var d;const u=a(o.value,"paddingLeft")+a(o.value,"paddingRight");window.innerWidthe.$emit("toggleSidebar"))}),ae("span",$y,[ue(r.VPNavbarBrand)],512),ae("div",{class:"vp-navbar-items-wrapper",style:rr(r.linksWrapperStyle)},[De(e.$slots,"before"),ue(r.VPNavbarItems,{class:"vp-hide-mobile"}),De(e.$slots,"after"),r.themeLocale.colorModeSwitch?(Y(),Ne(r.VPToggleColorModeButton,{key:0})):Ue("",!0),ue(r.SearchBox)],4)],512)}const zy=Pe(By,[["render",Uy],["__file","VPNavbar.vue"]]),jy={},Ky={class:"edit-icon",viewBox:"0 0 1024 1024"};function Wy(e,t){return Y(),oe("svg",Ky,t[0]||(t[0]=[ae("g",{fill:"currentColor"},[ae("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),ae("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})],-1)]))}const Gy=Pe(jy,[["render",Wy],["__file","VPEditIcon.vue"]]),qy=()=>{const e=ze(),t=ir(),n=xt();return B(()=>{var o;return n.value.contributors??e.value.contributors??!0?((o=t.value.git)==null?void 0:o.contributors)??null:null})},Yy=()=>{const e=ze(),t=ir(),n=xt();return B(()=>{if(!(n.value.editLink??e.value.editLink??!0))return null;const{repo:o,docsRepo:s=o,docsBranch:i="main",docsDir:l="",editLinkText:a}=e.value;if(!s)return null;const c=yb({docsRepo:s,docsBranch:i,docsDir:l,filePathRelative:t.value.filePathRelative,editLinkPattern:n.value.editLinkPattern??e.value.editLinkPattern});return c?{text:a??"Edit this page",link:c}:null})},Xy=()=>{const e=ze(),t=ir(),n=xt();return B(()=>{var s;return!(n.value.lastUpdated??e.value.lastUpdated??!0)||!((s=t.value.git)!=null&&s.updatedTime)?null:new Date(t.value.git.updatedTime).toLocaleString()})},Zy=ge({__name:"VPPageMeta",setup(e,{expose:t}){t();const n=ze(),r=Yy(),o=Xy(),s=qy(),i={themeLocale:n,editLink:r,lastUpdated:o,contributors:s,VPEditIcon:Gy,get AutoLink(){return ar}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),Jy={class:"vp-page-meta"},Qy={key:0,class:"vp-meta-item edit-link"},eE={class:"vp-meta-item git-info"},tE={key:0,class:"vp-meta-item last-updated"},nE={class:"meta-item-label"},rE={class:"meta-item-info"},oE={key:1,class:"vp-meta-item contributors"},sE={class:"meta-item-label"},iE={class:"meta-item-info"},lE=["title"];function aE(e,t,n,r,o,s){const i=yi("ClientOnly");return Y(),oe("footer",Jy,[r.editLink?(Y(),oe("div",Qy,[ue(r.AutoLink,{class:"label",config:r.editLink},{before:He(()=>[ue(r.VPEditIcon)]),_:1},8,["config"])])):Ue("",!0),ae("div",eE,[r.lastUpdated?(Y(),oe("div",tE,[ae("span",nE,Ie(r.themeLocale.lastUpdatedText)+": ",1),ue(i,null,{default:He(()=>[ae("span",rE,Ie(r.lastUpdated),1)]),_:1})])):Ue("",!0),r.contributors&&r.contributors.length?(Y(),oe("div",oE,[ae("span",sE,Ie(r.themeLocale.contributorsText)+": ",1),ae("span",iE,[(Y(!0),oe(Ee,null,fn(r.contributors,(l,a)=>(Y(),oe(Ee,{key:a},[ae("span",{class:"contributor",title:`email: ${l.email}`},Ie(l.name),9,lE),a!==r.contributors.length-1?(Y(),oe(Ee,{key:0},[pn(", ")],64)):Ue("",!0)],64))),128))])])):Ue("",!0)])])}const uE=Pe(Zy,[["render",aE],["__file","VPPageMeta.vue"]]),cE=()=>{const e=mn(),t=Jt();return n=>{n&&(Tf(n)?t.path!==n&&e.push(n):eo(n)?window.open(n):e.push(encodeURI(n)))}},mu=(e,t)=>e===!1?!1:Et(e)?tr(e,t):ki(e)?{...e,link:tr(e.link,t).link}:null,si=(e,t,n)=>{const r=e.findIndex(s=>s.link===t);if(r!==-1){const s=e[r+n];return s?s.link?s:"prefix"in s&&!$r(s.prefix).notFound?{...s,link:s.prefix}:null:null}for(const s of e)if("children"in s){const i=si(s.children,t,n);if(i)return i}const o=e.findIndex(s=>"prefix"in s&&s.prefix===t);if(o!==-1){const s=e[o+n];return s?s.link?s:"prefix"in s&&!$r(s.prefix).notFound?{...s,link:s.prefix}:null:null}return null},fE=()=>{const e=xt(),t=ze(),n=Xi(),r=Jt(),o=B(()=>{const i=mu(e.value.prev,r.path);return i===!1?null:i??(t.value.prev===!1?null:si(n.value,r.path,-1))}),s=B(()=>{const i=mu(e.value.next,r.path);return i===!1?null:i??(t.value.next===!1?null:si(n.value,r.path,1))});return{prevLink:o,nextLink:s}},dE=ge({__name:"VPPageNav",setup(e,{expose:t}){t();const n=ze(),r=cE(),{prevLink:o,nextLink:s}=fE(),i=B(()=>n.value.pageNavbarLabel??"page navigation");gt("keydown",a=>{a.altKey&&(a.key==="ArrowRight"?s.value&&(r(s.value.link),a.preventDefault()):a.key==="ArrowLeft"&&o.value&&(r(o.value.link),a.preventDefault()))});const l={themeLocale:n,navigate:r,prevLink:o,nextLink:s,navbarLabel:i,get AutoLink(){return ar}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),pE=["aria-label"],hE={class:"hint"},gE={class:"link"},mE={class:"hint"},vE={class:"link"};function _E(e,t,n,r,o,s){return r.prevLink||r.nextLink?(Y(),oe("nav",{key:0,class:"vp-page-nav","aria-label":r.navbarLabel},[r.prevLink?(Y(),Ne(r.AutoLink,{key:0,class:"prev",config:r.prevLink},{default:He(()=>[ae("div",hE,[t[0]||(t[0]=ae("span",{class:"arrow left"},null,-1)),pn(" "+Ie(r.themeLocale.prev??"Prev"),1)]),ae("div",gE,[ae("span",null,Ie(r.prevLink.text),1)])]),_:1},8,["config"])):Ue("",!0),r.nextLink?(Y(),Ne(r.AutoLink,{key:1,class:"next",config:r.nextLink},{default:He(()=>[ae("div",mE,[pn(Ie(r.themeLocale.next??"Next")+" ",1),t[1]||(t[1]=ae("span",{class:"arrow right"},null,-1))]),ae("div",vE,[ae("span",null,Ie(r.nextLink.text),1)])]),_:1},8,["config"])):Ue("",!0)],8,pE)):Ue("",!0)}const bE=Pe(dE,[["render",_E],["__file","VPPageNav.vue"]]),yE=ge({__name:"VPPage",setup(e,{expose:t}){t(),Eb();const n={VPPageMeta:uE,VPPageNav:bE,get Content(){return Ii}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),EE={class:"vp-page"},SE={class:"theme-default-content","vp-content":""};function wE(e,t,n,r,o,s){return Y(),oe("main",EE,[De(e.$slots,"top"),ae("div",SE,[De(e.$slots,"content-top"),ue(r.Content),De(e.$slots,"content-bottom")]),ue(r.VPPageMeta),ue(r.VPPageNav),De(e.$slots,"bottom")])}const CE=Pe(yE,[["render",wE],["__file","VPPage.vue"]]),AE=ge({__name:"VPSidebarItem",props:{item:{},depth:{default:0}},setup(e,{expose:t}){t();const n=e,{item:r,depth:o}=mi(n),s=Jt(),i=mn(),l=B(()=>"collapsible"in r.value&&r.value.collapsible),a=B(()=>dd(r.value,s)),c=B(()=>({"vp-sidebar-item":!0,"vp-sidebar-heading":o.value===0,active:a.value,collapsible:l.value})),f=B(()=>l.value?a.value:!0),[u,d]=hf(f.value),p=y=>{l.value&&(y.preventDefault(),d())},v=i.afterEach(()=>{sr(()=>{u.value=f.value})});jo(()=>{v()});const _={props:n,item:r,depth:o,route:s,router:i,collapsible:l,isActive:a,itemClass:c,isOpenDefault:f,isOpen:u,toggleIsOpen:d,onClick:p,unregisterRouterHook:v,VPDropdownTransition:_d,get AutoLink(){return ar}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}}),kE={class:"vp-sidebar-children"};function TE(e,t,n,r,o,s){const i=yi("VPSidebarItem",!0);return Y(),oe("li",null,[r.item.link?(Y(),Ne(r.AutoLink,{key:0,class:st(r.itemClass),config:r.item},null,8,["class","config"])):(Y(),oe("p",{key:1,tabindex:"0",class:st(r.itemClass),onClick:r.onClick,onKeydown:bg(r.onClick,["enter"])},[pn(Ie(r.item.text)+" ",1),r.collapsible?(Y(),oe("span",{key:0,class:st(["arrow",r.isOpen?"down":"right"])},null,2)):Ue("",!0)],34)),"children"in r.item&&r.item.children.length?(Y(),Ne(r.VPDropdownTransition,{key:2},{default:He(()=>[Po(ae("ul",kE,[(Y(!0),oe(Ee,null,fn(r.item.children,l=>(Y(),Ne(i,{key:`${r.depth}${l.text}${l.link}`,item:l,depth:r.depth+1},null,8,["item","depth"]))),128))],512),[[Do,r.isOpen]])]),_:1})):Ue("",!0)])}const xE=Pe(AE,[["render",TE],["__file","VPSidebarItem.vue"]]),OE=ge({__name:"VPSidebarItems",setup(e,{expose:t}){t();const n=Jt(),r=Xi();Ye(()=>{Fe(()=>n.hash,s=>{const i=document.querySelector(".vp-sidebar");if(!i)return;const l=document.querySelector(`.vp-sidebar a.vp-sidebar-item[href="${n.path}${s}"]`);if(!l)return;const{top:a,height:c}=i.getBoundingClientRect(),{top:f,height:u}=l.getBoundingClientRect();fa+c&&l.scrollIntoView(!1)})});const o={route:n,sidebarItems:r,VPSidebarItem:xE};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),PE={key:0,class:"vp-sidebar-items"};function LE(e,t,n,r,o,s){return r.sidebarItems.length?(Y(),oe("ul",PE,[(Y(!0),oe(Ee,null,fn(r.sidebarItems,i=>(Y(),Ne(r.VPSidebarItem,{key:`${i.text}${i.link}`,item:i},null,8,["item"]))),128))])):Ue("",!0)}const IE=Pe(OE,[["render",LE],["__file","VPSidebarItems.vue"]]),RE=ge({__name:"VPSidebar",setup(e,{expose:t}){t();const n={VPNavbarItems:Ed,VPSidebarItems:IE};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),DE={class:"vp-sidebar","vp-sidebar":""};function NE(e,t,n,r,o,s){return Y(),oe("aside",DE,[ue(r.VPNavbarItems),De(e.$slots,"top"),ue(r.VPSidebarItems),De(e.$slots,"bottom")])}const VE=Pe(RE,[["render",NE],["__file","VPSidebar.vue"]]),ME=ge({__name:"Layout",setup(e,{expose:t}){t();const n=ir(),r=xt(),o=ze(),s=B(()=>r.value.navbar!==!1&&o.value.navbar!==!1),i=Xi(),l=ce(!1),a=h=>{l.value=typeof h=="boolean"?h:!l.value},c={x:0,y:0},f=h=>{c.x=h.changedTouches[0].clientX,c.y=h.changedTouches[0].clientY},u=h=>{const b=h.changedTouches[0].clientX-c.x,I=h.changedTouches[0].clientY-c.y;Math.abs(b)>Math.abs(I)&&Math.abs(b)>40&&(b>0&&c.x<=80?a(!0):a(!1))},d=B(()=>r.value.externalLinkIcon??o.value.externalLinkIcon??!0),p=B(()=>[{"no-navbar":!s.value,"no-sidebar":!i.value.length,"sidebar-open":l.value,"external-link-icon":d.value},r.value.pageClass]);let v;Ye(()=>{v=mn().afterEach(()=>{a(!1)})}),Ko(()=>{v()});const _=fd(),y=_.resolve,E=_.pending,S={page:n,frontmatter:r,themeLocale:o,shouldShowNavbar:s,sidebarItems:i,isSidebarOpen:l,toggleSidebar:a,touchStart:c,onTouchStart:f,onTouchEnd:u,enableExternalLinkIcon:d,containerClass:p,get unregisterRouterHook(){return v},set unregisterRouterHook(h){v=h},scrollPromise:_,onBeforeEnter:y,onBeforeLeave:E,VPHome:Xb,VPNavbar:zy,VPPage:CE,VPSidebar:VE};return Object.defineProperty(S,"__isScriptSetup",{enumerable:!1,value:!0}),S}});function FE(e,t,n,r,o,s){return Y(),oe("div",{class:st(["vp-theme-container",r.containerClass]),"vp-container":"",onTouchstart:r.onTouchStart,onTouchend:r.onTouchEnd},[De(e.$slots,"navbar",{},()=>[r.shouldShowNavbar?(Y(),Ne(r.VPNavbar,{key:0,onToggleSidebar:r.toggleSidebar},{before:He(()=>[De(e.$slots,"navbar-before")]),after:He(()=>[De(e.$slots,"navbar-after")]),_:3})):Ue("",!0)]),ae("div",{class:"vp-sidebar-mask",onClick:t[0]||(t[0]=i=>r.toggleSidebar(!1))}),De(e.$slots,"sidebar",{},()=>[ue(r.VPSidebar,null,{top:He(()=>[De(e.$slots,"sidebar-top")]),bottom:He(()=>[De(e.$slots,"sidebar-bottom")]),_:3})]),De(e.$slots,"page",{},()=>[r.frontmatter.home?(Y(),Ne(r.VPHome,{key:0})):(Y(),Ne(Ai,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:r.onBeforeEnter,onBeforeLeave:r.onBeforeLeave},{default:He(()=>[(Y(),Ne(r.VPPage,{key:r.page.path},{top:He(()=>[De(e.$slots,"page-top")]),"content-top":He(()=>[De(e.$slots,"page-content-top")]),"content-bottom":He(()=>[De(e.$slots,"page-content-bottom")]),bottom:He(()=>[De(e.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34)}const BE=Pe(ME,[["render",FE],["__file","Layout.vue"]]),HE=ge({__name:"NotFound",setup(e,{expose:t}){t();const n=lr(),r=ze(),o=r.value.notFound??["Not Found"],s=()=>o[Math.floor(Math.random()*o.length)],i=r.value.home??n.value,l=r.value.backToHome??"Back to home",a={routeLocale:n,themeLocale:r,messages:o,getMsg:s,homeLink:i,homeText:l,get RouteLink(){return Zo}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),$E={class:"vp-theme-container","vp-container":""},UE={class:"page"},zE={class:"theme-default-content","vp-content":""};function jE(e,t,n,r,o,s){return Y(),oe("div",$E,[ae("main",UE,[ae("div",zE,[t[0]||(t[0]=ae("h1",null,"404",-1)),ae("blockquote",null,Ie(r.getMsg()),1),ue(r.RouteLink,{to:r.homeLink},{default:He(()=>[pn(Ie(r.homeText),1)]),_:1},8,["to"])])])])}const KE=Pe(HE,[["render",jE],["__scopeId","data-v-03d0ea91"],["__file","NotFound.vue"]]),WE=Vt({enhance({app:e,router:t}){wf("Badge")||e.component("Badge",Ob);const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...r)=>(await fd().wait(),n(...r))},setup(){gb(),kb()},layouts:{Layout:BE,NotFound:KE}}),GE=Object.freeze(Object.defineProperty({__proto__:null,default:WE},Symbol.toStringTag,{value:"Module"})),qE=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Sd=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=re("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[re("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),re("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[re("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),re("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?re("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Sd.displayName="LoadingIcon";const vu=e=>{const t=atob(e);return a_(o_(l_(t)))},YE=e=>new Promise(t=>{setTimeout(t,e)});let wd={};const Cd=Symbol(""),XE=e=>{wd=e},ZE=()=>et(Cd),JE=e=>{e.provide(Cd,wd)},_u=()=>{const e=document.documentElement;return e.classList.contains("dark")||e.getAttribute("data-theme")==="dark"},Nn={useMaxWidth:!1},QE=e=>({dark:e,background:e?"#1e1e1e":"#fff",primaryColor:e?"#389d70":"#4abf8a",primaryBorderColor:e?"#389d70":"#4abf8a",primaryTextColor:e?"#fff":"#000",secondaryColor:"#ffb500",secondaryBorderColor:e?"#fff":"#000",secondaryTextColor:e?"#ddd":"#333",tertiaryColor:e?"#282828":"#efeef4",tertiaryBorderColor:e?"#bbb":"#242424",tertiaryTextColor:e?"#ddd":"#333",noteBkgColor:e?"#f6d365":"#fff5ad",noteTextColor:"#242424",noteBorderColor:e?"#f6d365":"#333",lineColor:e?"#d3d3d3":"#333",textColor:e?"#fff":"#242424",mainBkg:e?"#389d70":"#4abf8a",errorBkgColor:"#eb4d5d",errorTextColor:"#fff",nodeBorder:e?"#389d70":"#4abf8a",nodeTextColor:e?"#fff":"#242424",signalTextColor:e?"#9e9e9e":"#242424",classText:"#fff",labelColor:"#fff",attributeBackgroundColorEven:e?"#0d1117":"#fff",attributeBackgroundColorOdd:e?"#161b22":"#f8f8f8",fillType0:e?"#cf1322":"#f1636e",fillType1:"#f39c12",fillType2:"#2ecc71",fillType3:"#fa541c",fillType4:"#25a55b",fillType5:"#13c2c2",fillType6:"#096dd9",fillType7:"#aa6fe9"});var eS=ge({name:"Mermaid",props:{id:{type:String,required:!0},code:{type:String,required:!0},title:{type:String,default:""}},setup(e){const{themeVariables:t,...n}=ZE(),r=kt(),o=B(()=>vu(e.code)),s=ce(""),i=ce(!1);let l=!1;const a=async()=>{const[{default:u}]=await Promise.all([Ge(()=>import("./mermaid.esm.min-DnxZBvzk.js").then(d=>d.bz),[]),l?Promise.resolve():(l=!0,YE(800))]);u.initialize({theme:"base",themeVariables:{...QE(i.value),...Vg(t)?t(i.value):t},flowchart:Nn,sequence:Nn,journey:Nn,gantt:Nn,er:Nn,pie:Nn,...n,startOnLoad:!1}),s.value=(await u.render(e.id,o.value)).svg},c=()=>{const{body:u}=document,d=document.createElement("div");d.classList.add("mermaid-preview"),d.innerHTML=s.value,u.appendChild(d),d.addEventListener("click",()=>{u.removeChild(d)})},f=()=>{const u=`data:image/svg+xml;charset=utf8,${s.value.replace(/
/g,"
").replace(/%/g,"%25").replace(/"/g,"%22").replace(/'/g,"%27").replace(/&/g,"%26").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(//g,"%3E")}`,d=document.createElement("a");d.setAttribute("href",u),d.setAttribute("download",`${e.title?vu(e.title):e.id}.svg`),d.click()};return Ye(()=>{i.value=_u(),a(),Tv(document.documentElement,()=>{i.value=_u()},{attributeFilter:["class","data-theme"],attributes:!0}),Fe(i,()=>a())}),()=>[re("div",{class:"mermaid-actions"},[re("button",{class:"preview-button",onClick:()=>c(),title:"preview",innerHTML:''}),re("button",{class:"download-button",onClick:()=>f(),title:"download",innerHTML:''})]),re("div",{ref:r,class:"mermaid-wrapper"},s.value?re("div",{class:"mermaid-content",innerHTML:s.value}):re(Sd,{class:"mermaid-loading",height:96}))]}});const tS={enhance:({app:e})=>{JE(e),e.component("Mermaid",eS)}},nS=Object.freeze(Object.defineProperty({__proto__:null,default:tS},Symbol.toStringTag,{value:"Module"})),rS=[{title:"",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"bump",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]}],path:"/cli/bump.html",pathLocale:"/",extraFields:[]},{title:"change",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]},{level:3,title:"Examples",slug:"examples",link:"#examples",children:[]},{level:3,title:"Prompt walkthrough",slug:"prompt-walkthrough",link:"#prompt-walkthrough",children:[]}],path:"/cli/change.html",pathLocale:"/",extraFields:[]},{title:"check",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]},{level:3,title:"Options",slug:"options-1",link:"#options-1",children:[]},{level:3,title:"Where should check be run?",slug:"where-should-check-be-run",link:"#where-should-check-be-run",children:[]}],path:"/cli/check.html",pathLocale:"/",extraFields:[]},{title:"Common options",headers:[{level:2,title:"General options",slug:"general-options",link:"#general-options",children:[]}],path:"/cli/options.html",pathLocale:"/",extraFields:[]},{title:"publish",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]},{level:3,title:"Algorithm",slug:"algorithm",link:"#algorithm",children:[]},{level:3,title:"Example CI workflow",slug:"example-ci-workflow",link:"#example-ci-workflow",children:[]},{level:3,title:"Recovering from failed publish",slug:"recovering-from-failed-publish",link:"#recovering-from-failed-publish",children:[]}],path:"/cli/publish.html",pathLocale:"/",extraFields:[]},{title:"sync",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]}],path:"/cli/sync.html",pathLocale:"/",extraFields:[]},{title:"Bump algorithm",headers:[{level:3,title:"Dependent version bumping",slug:"dependent-version-bumping",link:"#dependent-version-bumping",children:[]},{level:3,title:"Grouped bumping",slug:"grouped-bumping",link:"#grouped-bumping",children:[]}],path:"/concepts/bump-algorithm.html",pathLocale:"/",extraFields:[]},{title:"Change files",headers:[{level:2,title:"What is a change file?",slug:"what-is-a-change-file",link:"#what-is-a-change-file",children:[{level:3,title:"Grouped change files",slug:"grouped-change-files",link:"#grouped-change-files",children:[]}]},{level:2,title:"Generating a change file",slug:"generating-a-change-file",link:"#generating-a-change-file",children:[]},{level:2,title:"Validating change files",slug:"validating-change-files",link:"#validating-change-files",children:[]}],path:"/concepts/change-files.html",pathLocale:"/",extraFields:[]},{title:"CI integration",headers:[{level:2,title:"Authentication",slug:"authentication",link:"#authentication",children:[{level:3,title:"Generating tokens",slug:"generating-tokens",link:"#generating-tokens",children:[]},{level:3,title:"Storing tokens",slug:"storing-tokens",link:"#storing-tokens",children:[]}]},{level:2,title:"Setting options for publishing",slug:"setting-options-for-publishing",link:"#setting-options-for-publishing",children:[]},{level:2,title:"Publishing",slug:"publishing",link:"#publishing",children:[{level:3,title:"GitHub repo + GitHub Actions",slug:"github-repo-github-actions",link:"#github-repo-github-actions",children:[]},{level:3,title:"GitHub repo + Azure Pipelines",slug:"github-repo-azure-pipelines",link:"#github-repo-azure-pipelines",children:[]},{level:3,title:"Azure Repos + Azure Pipelines",slug:"azure-repos-azure-pipelines",link:"#azure-repos-azure-pipelines",children:[]}]}],path:"/concepts/ci-integration.html",pathLocale:"/",extraFields:[]},{title:"Groups",headers:[{level:2,title:"Version groups",slug:"version-groups",link:"#version-groups",children:[{level:3,title:"Configuring version groups",slug:"configuring-version-groups",link:"#configuring-version-groups",children:[]}]},{level:2,title:"Grouped changelogs",slug:"grouped-changelogs",link:"#grouped-changelogs",children:[]}],path:"/concepts/groups.html",pathLocale:"/",extraFields:[]},{title:"Configuration",headers:[{level:2,title:"Repository config",slug:"repository-config",link:"#repository-config",children:[]},{level:2,title:"Package config",slug:"package-config",link:"#package-config",children:[]},{level:2,title:"Options",slug:"options",link:"#options",children:[{level:3,title:"Glob matching",slug:"glob-matching",link:"#glob-matching",children:[]},{level:3,title:"Scoping",slug:"scoping",link:"#scoping",children:[]},{level:3,title:"Determining the target branch and remote",slug:"determining-the-target-branch-and-remote",link:"#determining-the-target-branch-and-remote",children:[]}]}],path:"/overview/configuration.html",pathLocale:"/",extraFields:[]},{title:"Getting started",headers:[{level:2,title:"Why Beachball?",slug:"why-beachball",link:"#why-beachball",children:[]},{level:2,title:"Beachball workflow",slug:"beachball-workflow",link:"#beachball-workflow",children:[]},{level:2,title:"Next steps",slug:"next-steps",link:"#next-steps",children:[]}],path:"/overview/getting-started.html",pathLocale:"/",extraFields:[]},{title:"Installation",headers:[{level:2,title:"CLI setup",slug:"cli-setup",link:"#cli-setup",children:[{level:3,title:"Automatic setup",slug:"automatic-setup",link:"#automatic-setup",children:[]},{level:3,title:"Manual setup",slug:"manual-setup",link:"#manual-setup",children:[]}]},{level:2,title:"Local development workflow",slug:"local-development-workflow",link:"#local-development-workflow",children:[]},{level:2,title:"CI integration",slug:"ci-integration",link:"#ci-integration",children:[]}],path:"/overview/installation.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],oS=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,sS=(e,t)=>t.some(n=>{if(Et(n))return n===e.key;const{key:r,ctrl:o=!1,shift:s=!1,alt:i=!1}=n;return r===e.key&&o===e.ctrlKey&&s===e.shiftKey&&i===e.altKey}),iS=/[^\x00-\x7F]/,lS=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),bu=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),yu=(e,t)=>{const n=t.join(" "),r=lS(e);if(iS.test(e))return r.some(s=>n.toLowerCase().includes(s));const o=e.endsWith(" ");return new RegExp(`${r.map((s,i)=>r.length===i+1&&!o?`(?=.*\\b${bu(s)})`:`(?=.*\\b${bu(s)}\\b)`).join("")}.+`,"gi").test(n)},aS=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&sS(r,t.value)&&!oS(r.target)&&(r.preventDefault(),e.value.focus())};Ye(()=>{document.addEventListener("keydown",n)}),jo(()=>{document.removeEventListener("keydown",n)})},uS=ce(rS),cS=()=>uS,fS=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=B(()=>e.value.filter(s=>s.pathLocale===t.value));return B(()=>{const s=n.value.trim().toLowerCase();if(!s)return[];const i=[],l=(a,c)=>{yu(s,[c.title])&&i.push({link:`${a.path}#${c.slug}`,title:a.title,header:c.title});for(const f of c.children){if(i.length>=r.value)return;l(a,f)}};for(const a of o.value){if(i.length>=r.value)break;if(yu(s,[a.title,...a.extraFields])){i.push({link:a.path,title:a.title});continue}for(const c of a.headers){if(i.length>=r.value)break;l(a,c)}}return i})},dS=e=>{const t=ce(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},pS=ge({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=mi(e),o=mn(),s=lr(),i=cS(),l=ce(null),a=ce(!1),c=ce(""),f=B(()=>t.value[s.value]??{}),u=fS({searchIndex:i,routeLocale:s,query:c,maxSuggestions:r}),{focusIndex:d,focusNext:p,focusPrev:v}=dS(u);aS({input:l,hotKeys:n});const _=B(()=>a.value&&!!u.value.length),y=()=>{_.value&&v()},E=()=>{_.value&&p()},S=h=>{if(!_.value)return;const b=u.value[h];b&&o.push(b.link).then(()=>{c.value="",d.value=0})};return()=>re("form",{class:"search-box",role:"search"},[re("input",{ref:l,type:"search",placeholder:f.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>{a.value=!0},onBlur:()=>{a.value=!1},onInput:h=>{c.value=h.target.value},onKeydown:h=>{switch(h.key){case"ArrowUp":{y();break}case"ArrowDown":{E();break}case"Enter":{h.preventDefault(),S(d.value);break}}}}),_.value&&re("ul",{class:"suggestions",onMouseleave:()=>{d.value=-1}},u.value.map(({link:h,title:b,header:I},U)=>re("li",{class:["suggestion",{focus:d.value===U}],onMouseenter:()=>{d.value=U},onMousedown:()=>{S(U)}},re("a",{href:h,onClick:V=>{V.preventDefault()}},[re("span",{class:"page-title"},b),I&&re("span",{class:"page-header"},`> ${I}`)]))))])}});var hS=["s","/"],gS={};const mS=gS,vS=hS,_S=5;var bS=Vt({enhance({app:e}){e.component("SearchBox",t=>re(pS,{locales:mS,hotKeys:vS,maxSuggestions:_S,...t}))}});const yS=Object.freeze(Object.defineProperty({__proto__:null,default:bS},Symbol.toStringTag,{value:"Module"}));XE({fontFamily:"var(--font-family)",themeVariables:{mainBkg:"#fff5cc",nodeBorder:"#cb9f0c",edgeLabelBackground:"#f8de87"}});const ES=Vt({enhance:e=>{e.app.directive}}),SS=Object.freeze(Object.defineProperty({__proto__:null,default:ES},Symbol.toStringTag,{value:"Module"})),_o=[Kv,__,A_,T_,H_,W_,Y_,t0,db,GE,qE,nS,yS,SS].map(e=>e.default).filter(Boolean),wS=JSON.parse('{"base":"/beachball/","lang":"en-US","title":"beachball","description":"The Sunniest Semantic Version Bumper","head":[],"locales":{}}');var Sr=kt(wS),CS=wm,AS=()=>{const e=rv({history:CS(Hc("/beachball/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===$t){const r=$r(t.fullPath);if(r.path!==t.fullPath)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},kS=e=>{e.component("ClientOnly",Li),e.component("Content",Ii),e.component("RouteLink",Zo)},TS=(e,t,n)=>{const r=B(()=>t.currentRoute.value.path),o=mp((y,E)=>({get(){return y(),t.currentRoute.value.meta._pageChunk},set(S){t.currentRoute.value.meta._pageChunk=S,E()}})),s=B(()=>En.resolveLayouts(n)),i=B(()=>En.resolveRouteLocale(Sr.value.locales,r.value)),l=B(()=>En.resolveSiteLocaleData(Sr.value,i.value)),a=B(()=>o.value.comp),c=B(()=>o.value.data),f=B(()=>c.value.frontmatter),u=B(()=>En.resolvePageHeadTitle(c.value,l.value)),d=B(()=>En.resolvePageHead(u.value,f.value,l.value)),p=B(()=>En.resolvePageLang(c.value,l.value)),v=B(()=>En.resolvePageLayout(c.value,s.value)),_={layouts:s,pageData:c,pageComponent:a,pageFrontmatter:f,pageHead:d,pageHeadTitle:u,pageLang:p,pageLayout:v,redirects:Ws,routeLocale:i,routePath:r,routes:Wn,siteData:Sr,siteLocaleData:l};return e.provide(Oi,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>f.value},$head:{get:()=>d.value},$headTitle:{get:()=>u.value},$lang:{get:()=>p.value},$page:{get:()=>c.value},$routeLocale:{get:()=>i.value},$site:{get:()=>Sr.value},$siteLocale:{get:()=>l.value},$withBase:{get:()=>Ri}}),_},xS=([e,t,n=""])=>{const r=Object.entries(t).map(([l,a])=>Et(a)?`[${l}=${JSON.stringify(a)}]`:a?`[${l}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(l=>l.innerText===n)??null},OS=([e,t,n])=>{if(!Et(e))return null;const r=document.createElement(e);return ki(t)&&Object.entries(t).forEach(([o,s])=>{Et(s)?r.setAttribute(o,s):s&&r.setAttribute(o,"")}),Et(n)&&r.appendChild(document.createTextNode(n)),r},PS=()=>{const e=iv(),t=lv();let n=[];const r=()=>{e.value.forEach(i=>{const l=xS(i);l&&n.push(l)})},o=()=>{const i=[];return e.value.forEach(l=>{const a=OS(l);a&&i.push(a)}),i},s=()=>{document.documentElement.lang=t.value;const i=o();n.forEach((l,a)=>{const c=i.findIndex(f=>l.isEqualNode(f));c===-1?(l.remove(),delete n[a]):i.splice(c,1)}),i.forEach(l=>document.head.appendChild(l)),n=[...n.filter(l=>!!l),...i]};On(cv,s),Ye(()=>{r(),Fe(e,s,{immediate:!1})})},LS=Sg,IS=async()=>{var r;const e=LS({name:"Vuepress",setup(){var i;PS();for(const l of _o)(i=l.setup)==null||i.call(l);const o=_o.flatMap(({rootComponents:l=[]})=>l.map(a=>re(a))),s=av();return()=>[re(s.value),o]}}),t=AS();kS(e);const n=TS(e,t,_o);{const{setupDevtools:o}=await Ge(async()=>{const{setupDevtools:s}=await import("./setupDevtools-7MC2TMWH-DwlLzZE_.js");return{setupDevtools:s}},[]);o(e,n)}for(const o of _o)await((r=o.enhance)==null?void 0:r.call(o,{app:e,router:t,siteData:Sr}));return e.use(t),{app:e,router:t}};IS().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Pe as _,Vh as a,ae as b,oe as c,IS as createVueApp,ue as d,Ge as e,Y as o,yi as r,C1 as s,Fe as w}; + */const ua=(e,t)=>{e.classList.add(t)},ca=(e,t)=>{e.classList.remove(t)},$_=e=>{var t;(t=e==null?void 0:e.parentNode)==null||t.removeChild(e)},ws=(e,t,n)=>en?n:e,fa=e=>(-1+e)*100,U_=(()=>{const e=[],t=()=>{const n=e.shift();n&&n(t)};return n=>{e.push(n),e.length===1&&t()}})(),z_=e=>e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,(t,n)=>n.toUpperCase()),go=(()=>{const e=["Webkit","O","Moz","ms"],t={},n=s=>{const{style:i}=document.body;if(s in i)return s;const l=s.charAt(0).toUpperCase()+s.slice(1);let a=e.length;for(;a--;){const c=`${e[a]}${l}`;if(c in i)return c}return s},r=s=>{const i=z_(s);return t[i]??(t[i]=n(i))},o=(s,i,l)=>{s.style[r(i)]=l};return(s,i)=>{for(const l in i){const a=i[l];Object.hasOwn(i,l)&&p_(a)&&o(s,l,a)}}})(),Ht={minimum:.08,easing:"ease",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,barSelector:'[role="bar"]',parent:"body",template:'
'},Le={percent:null,isRendered:()=>!!document.getElementById("nprogress"),set:e=>{const{speed:t,easing:n}=Ht,r=Le.isStarted(),o=ws(e,Ht.minimum,1);Le.percent=o===1?null:o;const s=Le.render(!r),i=s.querySelector(Ht.barSelector);return s.offsetWidth,U_(l=>{go(i,{transform:`translate3d(${fa(o)}%,0,0)`,transition:`all ${t}ms ${n}`}),o===1?(go(s,{transition:"none",opacity:"1"}),s.offsetWidth,setTimeout(()=>{go(s,{transition:`all ${t}ms linear`,opacity:"0"}),setTimeout(()=>{Le.remove(),l()},t)},t)):setTimeout(()=>{l()},t)}),Le},isStarted:()=>typeof Le.percent=="number",start:()=>{Le.percent||Le.set(0);const e=()=>{setTimeout(()=>{Le.percent&&(Le.trickle(),e())},Ht.trickleSpeed)};return e(),Le},done:e=>!e&&!Le.percent?Le:Le.increase(.3+.5*Math.random()).set(1),increase:e=>{let{percent:t}=Le;return t?(t=ws(t+(typeof e=="number"?e:(1-t)*ws(Math.random()*t,.1,.95)),0,.994),Le.set(t)):Le.start()},trickle:()=>Le.increase(Math.random()*Ht.trickleRate),render:e=>{if(Le.isRendered())return document.getElementById("nprogress");ua(document.documentElement,"nprogress-busy");const t=document.createElement("div");t.id="nprogress",t.innerHTML=Ht.template;const n=t.querySelector(Ht.barSelector),r=document.querySelector(Ht.parent),o=e?"-100":fa(Le.percent??0);return go(n,{transition:"all 0 linear",transform:`translate3d(${o}%,0,0)`}),r&&(r!==document.body&&ua(r,"nprogress-custom-parent"),r.appendChild(t)),t},remove:()=>{ca(document.documentElement,"nprogress-busy"),ca(document.querySelector(Ht.parent),"nprogress-custom-parent"),$_(document.getElementById("nprogress"))}},j_=()=>{Ye(()=>{const e=mn(),t=new Set;t.add(e.currentRoute.value.path),e.beforeEach(n=>{t.has(n.path)||Le.start()}),e.afterEach(n=>{t.add(n.path),Le.done()})})},K_=Vt({setup(){j_()}}),W_=Object.freeze(Object.defineProperty({__proto__:null,default:K_},Symbol.toStringTag,{value:"Module"})),G_=({selector:e='div[class*="language-"].has-collapsed-lines > .collapsed-lines'}={})=>{gt("click",t=>{const n=t.target;if(n.matches(e)){const r=n.parentElement;r!=null&&r.classList.toggle("collapsed")&&r.scrollIntoView({block:"center",behavior:"instant"})}})},q_={setup(){G_()}},Y_=Object.freeze(Object.defineProperty({__proto__:null,default:q_},Symbol.toStringTag,{value:"Module"})),X_="VUEPRESS_CODE_TAB_STORE",mo=Mi(X_,{}),Z_=ge({name:"CodeTabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=ce(e.active),r=kt([]),o=()=>{e.tabId&&(mo.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},l=(c,f)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=f):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),e.tabId&&(mo.value[e.tabId]=e.data[n.value].id)},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:f})=>mo.value[e.tabId]===f);if(c!==-1)return c}return e.active};return Ye(()=>{n.value=a(),Fe(()=>mo.value[e.tabId],(c,f)=>{if(e.tabId&&c!==f){const u=e.data.findIndex(({id:d})=>d===c);u!==-1&&(n.value=u)}})}),()=>e.data.length?re("div",{class:"vp-code-tabs"},[re("div",{class:"vp-code-tabs-nav",role:"tablist"},e.data.map(({id:c},f)=>{const u=f===n.value;return re("button",{type:"button",ref:d=>{d&&(r.value[f]=d)},class:["vp-code-tab-nav",{active:u}],role:"tab","aria-controls":`codetab-${e.id}-${f}`,"aria-selected":u,onClick:()=>{n.value=f,o()},onKeydown:d=>{l(d,f)}},t[`title${f}`]({value:c,isActive:u}))})),e.data.map(({id:c},f)=>{const u=f===n.value;return re("div",{class:["vp-code-tab",{active:u}],id:`codetab-${e.id}-${f}`,role:"tabpanel","aria-expanded":u},[re("div",{class:"vp-code-tab-title"},t[`title${f}`]({value:c,isActive:u})),t[`tab${f}`]({value:c,isActive:u})])})]):null}}),J_="VUEPRESS_TAB_STORE",Cs=Mi(J_,{}),Q_=ge({name:"Tabs",props:{active:{type:Number,default:0},data:{type:Array,required:!0},id:{type:String,required:!0},tabId:{type:String,default:""}},slots:Object,setup(e,{slots:t}){const n=ce(e.active),r=kt([]),o=()=>{e.tabId&&(Cs.value[e.tabId]=e.data[n.value].id)},s=(c=n.value)=>{n.value=c{n.value=c>0?c-1:r.value.length-1,r.value[n.value].focus()},l=(c,f)=>{c.key===" "||c.key==="Enter"?(c.preventDefault(),n.value=f):c.key==="ArrowRight"?(c.preventDefault(),s()):c.key==="ArrowLeft"&&(c.preventDefault(),i()),o()},a=()=>{if(e.tabId){const c=e.data.findIndex(({id:f})=>Cs.value[e.tabId]===f);if(c!==-1)return c}return e.active};return Ye(()=>{n.value=a(),Fe(()=>Cs.value[e.tabId],(c,f)=>{if(e.tabId&&c!==f){const u=e.data.findIndex(({id:d})=>d===c);u!==-1&&(n.value=u)}})}),()=>e.data.length?re("div",{class:"vp-tabs"},[re("div",{class:"vp-tabs-nav",role:"tablist"},e.data.map(({id:c},f)=>{const u=f===n.value;return re("button",{type:"button",ref:d=>{d&&(r.value[f]=d)},class:["vp-tab-nav",{active:u}],role:"tab","aria-controls":`tab-${e.id}-${f}`,"aria-selected":u,onClick:()=>{n.value=f,o()},onKeydown:d=>{l(d,f)}},t[`title${f}`]({value:c,isActive:u}))})),e.data.map(({id:c},f)=>{const u=f===n.value;return re("div",{class:["vp-tab",{active:u}],id:`tab-${e.id}-${f}`,role:"tabpanel","aria-expanded":u},[re("div",{class:"vp-tab-title"},t[`title${f}`]({value:c,isActive:u})),t[`tab${f}`]({value:c,isActive:u})])})]):null}}),e0={enhance:({app:e})=>{e.component("CodeTabs",Z_),e.component("Tabs",Q_)}},t0=Object.freeze(Object.defineProperty({__proto__:null,default:e0},Symbol.toStringTag,{value:"Module"}));var n0=Object.create,xf=Object.defineProperty,r0=Object.getOwnPropertyDescriptor,Fi=Object.getOwnPropertyNames,o0=Object.getPrototypeOf,s0=Object.prototype.hasOwnProperty,i0=(e,t)=>function(){return e&&(t=(0,e[Fi(e)[0]])(e=0)),t},l0=(e,t)=>function(){return t||(0,e[Fi(e)[0]])((t={exports:{}}).exports,t),t.exports},a0=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Fi(t))!s0.call(e,o)&&o!==n&&xf(e,o,{get:()=>t[o],enumerable:!(r=r0(t,o))||r.enumerable});return e},u0=(e,t,n)=>(n=e!=null?n0(o0(e)):{},a0(xf(n,"default",{value:e,enumerable:!0}),e)),oo=i0({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.43.0_@types+node@22.9.0__@swc+core@1.5.29_jiti@2.0.0_po_lnt5yfvawfblpk67opvcdwbq7u/node_modules/tsup/assets/esm_shims.js"(){}}),c0=l0({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){oo(),t.exports=r;function n(s){return s instanceof Buffer?Buffer.from(s):new s.constructor(s.buffer.slice(),s.byteOffset,s.length)}function r(s){if(s=s||{},s.circles)return o(s);const i=new Map;if(i.set(Date,u=>new Date(u)),i.set(Map,(u,d)=>new Map(a(Array.from(u),d))),i.set(Set,(u,d)=>new Set(a(Array.from(u),d))),s.constructorHandlers)for(const u of s.constructorHandlers)i.set(u[0],u[1]);let l=null;return s.proto?f:c;function a(u,d){const p=Object.keys(u),v=new Array(p.length);for(let _=0;_new Date(p)),a.set(Map,(p,v)=>new Map(f(Array.from(p),v))),a.set(Set,(p,v)=>new Set(f(Array.from(p),v))),s.constructorHandlers)for(const p of s.constructorHandlers)a.set(p[0],p[1]);let c=null;return s.proto?d:u;function f(p,v){const _=Object.keys(p),y=new Array(_.length);for(let E=0;E<_.length;E++){const S=_[E],h=p[S];if(typeof h!="object"||h===null)y[S]=h;else if(h.constructor!==Object&&(c=a.get(h.constructor)))y[S]=c(h,v);else if(ArrayBuffer.isView(h))y[S]=n(h);else{const b=i.indexOf(h);b!==-1?y[S]=l[b]:y[S]=v(h)}}return y}function u(p){if(typeof p!="object"||p===null)return p;if(Array.isArray(p))return f(p,u);if(p.constructor!==Object&&(c=a.get(p.constructor)))return c(p,u);const v={};i.push(p),l.push(v);for(const _ in p){if(Object.hasOwnProperty.call(p,_)===!1)continue;const y=p[_];if(typeof y!="object"||y===null)v[_]=y;else if(y.constructor!==Object&&(c=a.get(y.constructor)))v[_]=c(y,u);else if(ArrayBuffer.isView(y))v[_]=n(y);else{const E=i.indexOf(y);E!==-1?v[_]=l[E]:v[_]=u(y)}}return i.pop(),l.pop(),v}function d(p){if(typeof p!="object"||p===null)return p;if(Array.isArray(p))return f(p,d);if(p.constructor!==Object&&(c=a.get(p.constructor)))return c(p,d);const v={};i.push(p),l.push(v);for(const _ in p){const y=p[_];if(typeof y!="object"||y===null)v[_]=y;else if(y.constructor!==Object&&(c=a.get(y.constructor)))v[_]=c(y,d);else if(ArrayBuffer.isView(y))v[_]=n(y);else{const E=i.indexOf(y);E!==-1?v[_]=l[E]:v[_]=d(y)}}return i.pop(),l.pop(),v}}}});oo();oo();oo();var Of=typeof navigator<"u",X=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof X.chrome<"u"&&X.chrome.devtools;Of&&(X.self,X.top);var da;typeof navigator<"u"&&((da=navigator.userAgent)==null||da.toLowerCase().includes("electron"));oo();var f0=u0(c0()),d0=/(?:^|[-_/])(\w)/g;function p0(e,t){return t?t.toUpperCase():""}function h0(e){return e&&`${e}`.replace(d0,p0)}function g0(e,t){let n=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");n.endsWith(`index${t}`)&&(n=n.replace(`/index${t}`,t));const r=n.lastIndexOf("/"),o=n.substring(r+1);{const s=o.lastIndexOf(t);return o.substring(0,s)}}var pa=(0,f0.default)({circles:!0});const m0={trailing:!0};function Jn(e,t=25,n={}){if(n={...m0,...n},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let r,o,s=[],i,l;const a=(c,f)=>(i=v0(e,c,f),i.finally(()=>{if(i=null,n.trailing&&l&&!o){const u=a(c,l);return l=null,u}}),i);return function(...c){return i?(n.trailing&&(l=c),i):new Promise(f=>{const u=!o&&n.leading;clearTimeout(o),o=setTimeout(()=>{o=null;const d=n.leading?r:a(this,c);for(const p of s)p(d);s=[]},t),u?(r=a(this,c),f(r)):s.push(f)})}}async function v0(e,t,n){return await e.apply(t,n)}function Xs(e,t={},n){for(const r in e){const o=e[r],s=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Xs(o,t,s):typeof o=="function"&&(t[s]=o)}return t}const _0={run:e=>e()},b0=()=>_0,Pf=typeof console.createTask<"u"?console.createTask:b0;function y0(e,t){const n=t.shift(),r=Pf(n);return e.reduce((o,s)=>o.then(()=>r.run(()=>s(...t))),Promise.resolve())}function E0(e,t){const n=t.shift(),r=Pf(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function As(e,t){for(const n of[...e])n(t)}class S0{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,n,r={}){if(!t||typeof n!="function")return()=>{};const o=t;let s;for(;this._deprecatedHooks[t];)s=this._deprecatedHooks[t],t=s.to;if(s&&!r.allowDeprecated){let i=s.message;i||(i=`${o} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!n.name)try{Object.defineProperty(n,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(n),()=>{n&&(this.removeHook(t,n),n=void 0)}}hookOnce(t,n){let r,o=(...s)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...s));return r=this.hook(t,o),r}removeHook(t,n){if(this._hooks[t]){const r=this._hooks[t].indexOf(n);r!==-1&&this._hooks[t].splice(r,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,n){this._deprecatedHooks[t]=typeof n=="string"?{to:n}:n;const r=this._hooks[t]||[];delete this._hooks[t];for(const o of r)this.hook(t,o)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const n in t)this.deprecateHook(n,t[n])}addHooks(t){const n=Xs(t),r=Object.keys(n).map(o=>this.hook(o,n[o]));return()=>{for(const o of r.splice(0,r.length))o()}}removeHooks(t){const n=Xs(t);for(const r in n)this.removeHook(r,n[r])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...n){return n.unshift(t),this.callHookWith(y0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(E0,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&As(this._before,o);const s=t(n in this._hooks?[...this._hooks[n]]:[],r);return s instanceof Promise?s.finally(()=>{this._after&&o&&As(this._after,o)}):(this._after&&o&&As(this._after,o),s)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const n=this._before.indexOf(t);n!==-1&&this._before.splice(n,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const n=this._after.indexOf(t);n!==-1&&this._after.splice(n,1)}}}}function Lf(){return new S0}var w0=Object.create,If=Object.defineProperty,C0=Object.getOwnPropertyDescriptor,Bi=Object.getOwnPropertyNames,A0=Object.getPrototypeOf,k0=Object.prototype.hasOwnProperty,T0=(e,t)=>function(){return e&&(t=(0,e[Bi(e)[0]])(e=0)),t},Rf=(e,t)=>function(){return t||(0,e[Bi(e)[0]])((t={exports:{}}).exports,t),t.exports},x0=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Bi(t))!k0.call(e,o)&&o!==n&&If(e,o,{get:()=>t[o],enumerable:!(r=C0(t,o))||r.enumerable});return e},O0=(e,t,n)=>(n=e!=null?w0(A0(e)):{},x0(If(n,"default",{value:e,enumerable:!0}),e)),L=T0({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.43.0_@types+node@22.9.0__@swc+core@1.5.29_jiti@2.0.0_po_lnt5yfvawfblpk67opvcdwbq7u/node_modules/tsup/assets/esm_shims.js"(){}}),P0=Rf({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){L(),function(n){var r={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},o=["်","ް"],s={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},l={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},a=[";","?",":","@","&","=","+","$",",","/"].join(""),c=[";","?",":","@","&","=","+","$",","].join(""),f=[".","!","~","*","'","(",")"].join(""),u=function(y,E){var S="-",h="",b="",I=!0,U={},V,A,H,k,M,C,N,Z,ee,O,R,K,te,ve,Te="";if(typeof y!="string")return"";if(typeof E=="string"&&(S=E),N=l.en,Z=i.en,typeof E=="object"){V=E.maintainCase||!1,U=E.custom&&typeof E.custom=="object"?E.custom:U,H=+E.truncate>1&&E.truncate||!1,k=E.uric||!1,M=E.uricNoSlash||!1,C=E.mark||!1,I=!(E.symbols===!1||E.lang===!1),S=E.separator||S,k&&(Te+=a),M&&(Te+=c),C&&(Te+=f),N=E.lang&&l[E.lang]&&I?l[E.lang]:I?l.en:{},Z=E.lang&&i[E.lang]?i[E.lang]:E.lang===!1||E.lang===!0?{}:i.en,E.titleCase&&typeof E.titleCase.length=="number"&&Array.prototype.toString.call(E.titleCase)?(E.titleCase.forEach(function(he){U[he+""]=he+""}),A=!0):A=!!E.titleCase,E.custom&&typeof E.custom.length=="number"&&Array.prototype.toString.call(E.custom)&&E.custom.forEach(function(he){U[he+""]=he+""}),Object.keys(U).forEach(function(he){var Re;he.length>1?Re=new RegExp("\\b"+p(he)+"\\b","gi"):Re=new RegExp(p(he),"gi"),y=y.replace(Re,U[he])});for(R in U)Te+=R}for(Te+=S,Te=p(Te),y=y.replace(/(^\s+|\s+$)/g,""),te=!1,ve=!1,O=0,K=y.length;O=0?(b+=R,R=""):ve===!0?(R=s[b]+r[R],b=""):R=te&&r[R].match(/[A-Za-z0-9]/)?" "+r[R]:r[R],te=!1,ve=!1):R in s?(b+=R,R="",O===K-1&&(R=s[b]),ve=!0):N[R]&&!(k&&a.indexOf(R)!==-1)&&!(M&&c.indexOf(R)!==-1)?(R=te||h.substr(-1).match(/[A-Za-z0-9]/)?S+N[R]:N[R],R+=y[O+1]!==void 0&&y[O+1].match(/[A-Za-z0-9]/)?S:"",te=!0):(ve===!0?(R=s[b]+R,b="",ve=!1):te&&(/[A-Za-z0-9]/.test(R)||h.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),te=!1),h+=R.replace(new RegExp("[^\\w\\s"+Te+"_-]","g"),S);return A&&(h=h.replace(/(\w)(\S*)/g,function(he,Re,ot){var Ve=Re.toUpperCase()+(ot!==null?ot:"");return Object.keys(U).indexOf(Ve.toLowerCase())<0?Ve:Ve.toLowerCase()})),h=h.replace(/\s+/g,S).replace(new RegExp("\\"+S+"+","g"),S).replace(new RegExp("(^\\"+S+"+|\\"+S+"+$)","g"),""),H&&h.length>H&&(ee=h.charAt(H)===S,h=h.slice(0,H),ee||(h=h.slice(0,h.lastIndexOf(S)))),!V&&!A&&(h=h.toLowerCase()),h},d=function(y){return function(S){return u(S,y)}},p=function(y){return y.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},v=function(_,y){for(var E in y)if(y[E]===_)return!0};if(typeof t<"u"&&t.exports)t.exports=u,t.exports.createSlug=d;else if(typeof define<"u"&&define.amd)define([],function(){return u});else try{if(n.getSlug||n.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";n.getSlug=u,n.createSlug=d}catch{}}(e)}}),L0=Rf({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){L(),t.exports=P0()}});L();L();L();L();L();L();L();function I0(e){return!!(e&&e.__v_isReadonly)}function Df(e){return I0(e)?Df(e.__v_raw):!!(e&&e.__v_isReactive)}function ks(e){return!!(e&&e.__v_isRef===!0)}function Er(e){const t=e&&e.__v_raw;return t?Er(t):e}L();function R0(e){var t;const n=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return n==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":n}function D0(e){const t=e.__file;if(t)return h0(g0(t,".vue"))}function ha(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function Jo(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function N0(e){const{app:t,uid:n,instance:r}=e;try{if(r.__VUE_DEVTOOLS_NEXT_UID__)return r.__VUE_DEVTOOLS_NEXT_UID__;const o=await Jo(t);if(!o)return null;const s=o.rootInstance===r;return`${o.id}:${s?"root":n}`}catch{}}function Nf(e){var t,n;const r=(t=e.subTree)==null?void 0:t.type,o=Jo(e);return o?((n=o==null?void 0:o.types)==null?void 0:n.Fragment)===r:!1}function Qo(e){var t,n,r;const o=R0((e==null?void 0:e.type)||{});if(o)return o;if((e==null?void 0:e.root)===e)return"Root";for(const i in(n=(t=e.parent)==null?void 0:t.type)==null?void 0:n.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return ha(e,i);for(const i in(r=e.appContext)==null?void 0:r.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return ha(e,i);const s=D0((e==null?void 0:e.type)||{});return s||"Anonymous Component"}function Zs(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}var V0=class{constructor(){this.refEditor=new M0}set(e,t,n,r){const o=Array.isArray(t)?t:t.split(".");for(;o.length>1;){const l=o.shift();e instanceof Map&&(e=e.get(l)),e instanceof Set?e=Array.from(e.values())[l]:e=e[l],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const s=o[0],i=this.refEditor.get(e)[s];r?r(e,s,n):this.refEditor.isRef(i)?this.refEditor.set(i,n):e[s]=n}get(e,t){const n=Array.isArray(t)?t:t.split(".");for(let r=0;r"u")return!1;const r=Array.isArray(t)?t.slice():t.split("."),o=n?2:1;for(;e&&r.length>o;){const s=r.shift();e=e[s],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,r[0])}createDefaultSetCallback(e){return(t,n,r)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(n,1):Er(t)instanceof Map?t.delete(n):Er(t)instanceof Set?t.delete(Array.from(t.values())[n]):Reflect.deleteProperty(t,n)),!e.remove){const o=t[e.newKey||n];this.refEditor.isRef(o)?this.refEditor.set(o,r):Er(t)instanceof Map?t.set(e.newKey||n,r):Er(t)instanceof Set?t.add(r):t[e.newKey||n]=r}}}},M0=class{set(e,t){if(ks(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(o=>e.add(o));return}const n=Object.keys(t);if(e instanceof Map){const o=new Set(e.keys());n.forEach(s=>{e.set(s,Reflect.get(t,s)),o.delete(s)}),o.forEach(s=>e.delete(s));return}const r=new Set(Object.keys(e));n.forEach(o=>{Reflect.set(e,o,Reflect.get(t,o)),r.delete(o)}),r.forEach(o=>Reflect.deleteProperty(e,o))}}get(e){return ks(e)?e.value:e}isRef(e){return ks(e)||Df(e)}};L();function Hi(e){return Nf(e)?F0(e.subTree):e.subTree?[e.subTree.el]:[]}function F0(e){if(!e.children)return[];const t=[];return e.children.forEach(n=>{n.component?t.push(...Hi(n.component)):n!=null&&n.el&&t.push(n.el)}),t}L();L();function B0(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var vo;function H0(e){return vo||(vo=document.createRange()),vo.selectNode(e),vo.getBoundingClientRect()}function $0(e){const t=B0();if(!e.children)return t;for(let n=0,r=e.children.length;ne.bottom)&&(e.bottom=t.bottom),(!e.left||t.lefte.right)&&(e.right=t.right),e}var ga={top:0,left:0,right:0,bottom:0,width:0,height:0};function Ln(e){const t=e.subTree.el;return typeof window>"u"?ga:Nf(e)?$0(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?Ln(e.subTree.component):ga}var Vf="__vue-devtools-component-inspector__",Mf="__vue-devtools-component-inspector__card__",Ff="__vue-devtools-component-inspector__name__",Bf="__vue-devtools-component-inspector__indicator__",Hf={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},z0={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},j0={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function ur(){return document.getElementById(Vf)}function K0(){return document.getElementById(Mf)}function W0(){return document.getElementById(Bf)}function G0(){return document.getElementById(Ff)}function $i(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function Ui(e){var t;const n=document.createElement("div");n.id=(t=e.elementId)!=null?t:Vf,Object.assign(n.style,{...Hf,...$i(e.bounds),...e.style});const r=document.createElement("span");r.id=Mf,Object.assign(r.style,{...z0,top:e.bounds.top<35?0:"-35px"});const o=document.createElement("span");o.id=Ff,o.innerHTML=`<${e.name}>  `;const s=document.createElement("i");return s.id=Bf,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(s.style,j0),r.appendChild(o),r.appendChild(s),n.appendChild(r),document.body.appendChild(n),n}function zi(e){const t=ur(),n=K0(),r=G0(),o=W0();t&&(Object.assign(t.style,{...Hf,...$i(e.bounds)}),Object.assign(n.style,{top:e.bounds.top<35?0:"-35px"}),r.innerHTML=`<${e.name}>  `,o.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function q0(e){const t=Ln(e);if(!t.width&&!t.height)return;const n=Qo(e);ur()?zi({bounds:t,name:n}):Ui({bounds:t,name:n})}function $f(){const e=ur();e&&(e.style.display="none")}var Js=null;function Qs(e){const t=e.target;if(t){const n=t.__vueParentComponent;if(n&&(Js=n,n.vnode.el)){const o=Ln(n),s=Qo(n);ur()?zi({bounds:o,name:s}):Ui({bounds:o,name:s})}}}function Y0(e,t){var n;if(e.preventDefault(),e.stopPropagation(),Js){const r=(n=Qe.value)==null?void 0:n.app;N0({app:r,uid:r.uid,instance:Js}).then(o=>{t(o)})}}var No=null;function X0(){$f(),window.removeEventListener("mouseover",Qs),window.removeEventListener("click",No,!0),No=null}function Z0(){return window.addEventListener("mouseover",Qs),new Promise(e=>{function t(n){n.preventDefault(),n.stopPropagation(),Y0(n,r=>{window.removeEventListener("click",t,!0),No=null,window.removeEventListener("mouseover",Qs);const o=ur();o&&(o.style.display="none"),e(JSON.stringify({id:r}))})}No=t,window.addEventListener("click",t,!0)})}function J0(e){const t=Zs(Qe.value,e.id);if(t){const[n]=Hi(t);if(typeof n.scrollIntoView=="function")n.scrollIntoView({behavior:"smooth"});else{const r=Ln(t),o=document.createElement("div"),s={...$i(r),position:"absolute"};Object.assign(o.style,s),document.body.appendChild(o),o.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(o)},2e3)}setTimeout(()=>{const r=Ln(t);if(r.width||r.height){const o=Qo(t),s=ur();s?zi({...e,name:o,bounds:r}):Ui({...e,name:o,bounds:r}),setTimeout(()=>{s&&(s.style.display="none")},1500)}},1200)}}L();var ma,va;(va=(ma=X).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(ma.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Q0(e){let t=0;const n=setInterval(()=>{X.__VUE_INSPECTOR__&&(clearInterval(n),t+=30,e()),t>=5e3&&clearInterval(n)},30)}function e1(){const e=X.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...n)=>{e.disable(),t(...n)}}function t1(){return new Promise(e=>{function t(){e1(),e(X.__VUE_INSPECTOR__)}X.__VUE_INSPECTOR__?t():Q0(()=>{t()})})}L();L();L();var n1="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function r1(){if(!Of||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(n1);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}L();L();L();var _a,ba;(ba=(_a=X).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(_a.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var o1=new Proxy(X.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,n){return Reflect.get(e,t,n)}});function s1(e,t){$e.timelineLayersState[t.id]=!1,o1.push({...e,descriptorId:t.id,appRecord:Jo(t.app)})}var ya,Ea;(Ea=(ya=X).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(ya.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var ji=new Proxy(X.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,n){return Reflect.get(e,t,n)}}),Uf=Jn(()=>{cr.hooks.callHook("sendInspectorToClient",zf())});function i1(e,t){var n,r;ji.push({options:e,descriptor:t,treeFilterPlaceholder:(n=e.treeFilterPlaceholder)!=null?n:"Search tree...",stateFilterPlaceholder:(r=e.stateFilterPlaceholder)!=null?r:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:Jo(t.app)}),Uf()}function zf(){return ji.filter(e=>e.descriptor.app===Qe.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const n=e.descriptor,r=e.options;return{id:r.id,label:r.label,logo:n.logo,icon:`custom-ic-baseline-${(t=r==null?void 0:r.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:n.packageName,homepage:n.homepage,pluginId:n.id}})}function So(e,t){return ji.find(n=>n.options.id===e&&(t?n.descriptor.app===t:!0))}function l1(){const e=Lf();e.hook("addInspector",({inspector:r,plugin:o})=>{i1(r,o.descriptor)});const t=Jn(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||$e.highPerfModeEnabled)return;const i=So(r,o.descriptor.app),l={app:o.descriptor.app,inspectorId:r,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(a=>{e.callHookWith(async c=>{await Promise.all(c.map(f=>f(l))),a()},"getInspectorTree")}),e.callHookWith(async a=>{await Promise.all(a.map(c=>c({inspectorId:r,rootNodes:l.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const n=Jn(async({inspectorId:r,plugin:o})=>{var s;if(!r||!((s=o==null?void 0:o.descriptor)!=null&&s.app)||$e.highPerfModeEnabled)return;const i=So(r,o.descriptor.app),l={app:o.descriptor.app,inspectorId:r,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},a={currentTab:`custom-inspector:${r}`};l.nodeId&&await new Promise(c=>{e.callHookWith(async f=>{await Promise.all(f.map(u=>u(l,a))),c()},"getInspectorState")}),e.callHookWith(async c=>{await Promise.all(c.map(f=>f({inspectorId:r,nodeId:l.nodeId,state:l.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",n),e.hook("customInspectorSelectNode",({inspectorId:r,nodeId:o,plugin:s})=>{const i=So(r,s.descriptor.app);i&&(i.selectedNodeId=o)}),e.hook("timelineLayerAdded",({options:r,plugin:o})=>{s1(r,o.descriptor)}),e.hook("timelineEventAdded",({options:r,plugin:o})=>{var s;const i=["performance","component-event","keyboard","mouse"];$e.highPerfModeEnabled||!((s=$e.timelineLayersState)!=null&&s[o.descriptor.id])&&!i.includes(r.layerId)||e.callHookWith(async l=>{await Promise.all(l.map(a=>a(r)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:r})=>{const o=r.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!o)return null;const s=o.id.toString();return[...o.instanceMap].filter(([l])=>l.split(":")[0]===s).map(([,l])=>l)}),e.hook("getComponentBounds",async({instance:r})=>Ln(r)),e.hook("getComponentName",({instance:r})=>Qo(r)),e.hook("componentHighlight",({uid:r})=>{const o=Qe.value.instanceMap.get(r);o&&q0(o)}),e.hook("componentUnhighlight",()=>{$f()}),e}var Sa,wa;(wa=(Sa=X).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(Sa.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Ca,Aa;(Aa=(Ca=X).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Ca.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var ka,Ta;(Ta=(ka=X).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(ka.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var xa,Oa;(Oa=(xa=X).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(xa.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var Pa,La;(La=(Pa=X).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(Pa.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var kn="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function a1(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:r1()}}var Ia,Ra;(Ra=(Ia=X)[kn])!=null||(Ia[kn]=a1());var u1=Jn(e=>{cr.hooks.callHook("devtoolsStateUpdated",{state:e})});Jn((e,t)=>{cr.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var es=new Proxy(X.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,n){return t==="value"?X.__VUE_DEVTOOLS_KIT_APP_RECORDS__:X.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),Qe=new Proxy(X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,n){return t==="value"?X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function jf(){u1({...X[kn],appRecords:es.value,activeAppRecordId:Qe.id,tabs:X.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:X.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function c1(e){X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,jf()}function f1(e){X.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,jf()}var $e=new Proxy(X[kn],{get(e,t){return t==="appRecords"?es:t==="activeAppRecordId"?Qe.id:t==="tabs"?X.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?X.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:X[kn][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,n){return{...X[kn]},e[t]=n,X[kn][t]=n,!0}});function d1(e={}){var t,n,r;const{file:o,host:s,baseUrl:i=window.location.origin,line:l=0,column:a=0}=e;if(o){if(s==="chrome-extension"){const c=o.replace(/\\/g,"\\\\"),f=(n=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?n:"/";fetch(`${f}__open-in-editor?file=${encodeURI(o)}`).then(u=>{if(!u.ok){const d=`Opening component ${c} failed`;console.log(`%c${d}`,"color:red")}})}else if($e.vitePluginDetected){const c=(r=X.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?r:i;X.__VUE_INSPECTOR__.openInEditor(c,o,l,a)}}}L();L();L();L();L();var Da,Na;(Na=(Da=X).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Da.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var Ki=new Proxy(X.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,n){return Reflect.get(e,t,n)}});function ei(e){const t={};return Object.keys(e).forEach(n=>{t[n]=e[n].defaultValue}),t}function Wi(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function p1(e){var t,n,r;const o=(n=(t=Ki.find(s=>{var i;return s[0].id===e&&!!((i=s[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?n:null;return(r=o==null?void 0:o.settings)!=null?r:null}function Kf(e,t){var n,r,o;const s=Wi(e);if(s){const i=localStorage.getItem(s);if(i)return JSON.parse(i)}if(e){const i=(r=(n=Ki.find(l=>l[0].id===e))==null?void 0:n[0])!=null?r:null;return ei((o=i==null?void 0:i.settings)!=null?o:{})}return ei(t)}function h1(e,t){const n=Wi(e);localStorage.getItem(n)||localStorage.setItem(n,JSON.stringify(ei(t)))}function g1(e,t,n){const r=Wi(e),o=localStorage.getItem(r),s=JSON.parse(o||"{}"),i={...s,[t]:n};localStorage.setItem(r,JSON.stringify(i)),cr.hooks.callHookWith(l=>{l.forEach(a=>a({pluginId:e,key:t,oldValue:s[t],newValue:n,settings:i}))},"setPluginSettings")}L();L();L();L();L();L();L();L();L();L();L();var Va,Ma,ft=(Ma=(Va=X).__VUE_DEVTOOLS_HOOK)!=null?Ma:Va.__VUE_DEVTOOLS_HOOK=Lf(),m1={vueAppInit(e){ft.hook("app:init",e)},vueAppUnmount(e){ft.hook("app:unmount",e)},vueAppConnected(e){ft.hook("app:connected",e)},componentAdded(e){return ft.hook("component:added",e)},componentEmit(e){return ft.hook("component:emit",e)},componentUpdated(e){return ft.hook("component:updated",e)},componentRemoved(e){return ft.hook("component:removed",e)},setupDevtoolsPlugin(e){ft.hook("devtools-plugin:setup",e)},perfStart(e){return ft.hook("perf:start",e)},perfEnd(e){return ft.hook("perf:end",e)}},Wf={on:m1,setupDevToolsPlugin(e,t){return ft.callHook("devtools-plugin:setup",e,t)}},v1=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if($e.highPerfModeEnabled)return;const n=zf().find(r=>r.packageName===this.plugin.descriptor.packageName);if(n!=null&&n.id){if(e){const r=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];ft.callHook("component:updated",...r)}else ft.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:n.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&h1(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){$e.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){$e.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return $e.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){$e.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return Kf(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},_1=v1;L();L();L();L();var b1="__vue_devtool_undefined__",y1="__vue_devtool_infinity__",E1="__vue_devtool_negative_infinity__",S1="__vue_devtool_nan__";L();L();var w1={[b1]:"undefined",[S1]:"NaN",[y1]:"Infinity",[E1]:"-Infinity"};Object.entries(w1).reduce((e,[t,n])=>(e[n]=t,e),{});L();L();L();L();L();var Fa,Ba;(Ba=(Fa=X).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Fa.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function C1(e,t){return Wf.setupDevToolsPlugin(e,t)}function A1(e,t){const[n,r]=e;if(n.app!==t)return;const o=new _1({plugin:{setupFn:r,descriptor:n},ctx:cr});n.packageName==="vuex"&&o.on.editInspectorState(s=>{o.sendInspectorState(s.inspectorId)}),r(o)}function Gf(e){X.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||$e.highPerfModeEnabled||(X.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),Ki.forEach(t=>{A1(t,e)}))}L();L();var Ur="__VUE_DEVTOOLS_ROUTER__",Qn="__VUE_DEVTOOLS_ROUTER_INFO__",Ha,$a;($a=(Ha=X)[Qn])!=null||(Ha[Qn]={currentRoute:null,routes:[]});var Ua,za;(za=(Ua=X)[Ur])!=null||(Ua[Ur]={});new Proxy(X[Qn],{get(e,t){return X[Qn][t]}});new Proxy(X[Ur],{get(e,t){if(t==="value")return X[Ur]}});function k1(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(n=>!t.has(n.path)&&t.set(n.path,1))}function Gi(e){return e.map(t=>{let{path:n,name:r,children:o,meta:s}=t;return o!=null&&o.length&&(o=Gi(o)),{path:n,name:r,children:o,meta:s}})}function T1(e){if(e){const{fullPath:t,hash:n,href:r,path:o,name:s,matched:i,params:l,query:a}=e;return{fullPath:t,hash:n,href:r,path:o,name:s,params:l,query:a,matched:Gi(i)}}return e}function x1(e,t){function n(){var r;const o=(r=e.app)==null?void 0:r.config.globalProperties.$router,s=T1(o==null?void 0:o.currentRoute.value),i=Gi(k1(o)),l=console.warn;console.warn=()=>{},X[Qn]={currentRoute:s?pa(s):{},routes:pa(i)},X[Ur]=o,console.warn=l}n(),Wf.on.componentUpdated(Jn(()=>{var r;((r=t.value)==null?void 0:r.app)===e.app&&(n(),!$e.highPerfModeEnabled&&cr.hooks.callHook("routerInfoUpdated",{state:X[Qn]}))},200))}function O1(e){return{async getInspectorTree(t){const n={...t,app:Qe.value.app,rootNodes:[]};return await new Promise(r=>{e.callHookWith(async o=>{await Promise.all(o.map(s=>s(n))),r()},"getInspectorTree")}),n.rootNodes},async getInspectorState(t){const n={...t,app:Qe.value.app,state:null},r={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(o=>{e.callHookWith(async s=>{await Promise.all(s.map(i=>i(n,r))),o()},"getInspectorState")}),n.state},editInspectorState(t){const n=new V0,r={...t,app:Qe.value.app,set:(o,s=t.path,i=t.state.value,l)=>{n.set(o,s,i,l||n.createDefaultSetCallback(t.state))}};e.callHookWith(o=>{o.forEach(s=>s(r))},"editInspectorState")},sendInspectorState(t){const n=So(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:n.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return Z0()},cancelInspectComponentInspector(){return X0()},getComponentRenderCode(t){const n=Zs(Qe.value,t);if(n)return(n==null?void 0:n.type)instanceof Function?n.type.toString():n.render.toString()},scrollToComponent(t){return J0({id:t})},openInEditor:d1,getVueInspector:t1,toggleApp(t){const n=es.value.find(r=>r.id===t);n&&(f1(t),c1(n),x1(n,Qe),Uf(),Gf(n.app))},inspectDOM(t){const n=Zs(Qe.value,t);if(n){const[r]=Hi(n);r&&(X.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=r)}},updatePluginSettings(t,n,r){g1(t,n,r)},getPluginSettings(t){return{options:p1(t),values:Kf(t)}}}}L();var ja,Ka;(Ka=(ja=X).__VUE_DEVTOOLS_ENV__)!=null||(ja.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var Wa=l1(),Ga,qa;(qa=(Ga=X).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(Ga.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:Wa,get state(){return{...$e,activeAppRecordId:Qe.id,activeAppRecord:Qe.value,appRecords:es.value}},api:O1(Wa)});var cr=X.__VUE_DEVTOOLS_KIT_CONTEXT__;L();O0(L0());var Ya,Xa;(Xa=(Ya=X).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(Ya.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set});L();function P1(e){$e.highPerfModeEnabled=e??!$e.highPerfModeEnabled,!e&&Qe.value&&Gf(Qe.value.app)}L();L();L();function L1(e){$e.devtoolsClientDetected={...$e.devtoolsClientDetected,...e};const t=Object.values($e.devtoolsClientDetected).some(Boolean);P1(!t)}var Za,Ja;(Ja=(Za=X).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(Za.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=L1);L();L();L();L();L();L();L();var I1=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},qf=class{constructor(e){this.generateIdentifier=e,this.kv=new I1}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},R1=class extends qf{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};L();L();function D1(e){if("values"in Object)return Object.values(e);const t=[];for(const n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}function N1(e,t){const n=D1(e);if("find"in n)return n.find(t);const r=n;for(let o=0;ot(r,n))}function wo(e,t){return e.indexOf(t)!==-1}function Qa(e,t){for(let n=0;nt.isApplicable(e))}findByName(e){return this.transfomers[e]}};L();L();var M1=e=>Object.prototype.toString.call(e).slice(8,-1),Yf=e=>typeof e>"u",F1=e=>e===null,zr=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,ti=e=>zr(e)&&Object.keys(e).length===0,gn=e=>Array.isArray(e),B1=e=>typeof e=="string",H1=e=>typeof e=="number"&&!isNaN(e),$1=e=>typeof e=="boolean",U1=e=>e instanceof RegExp,jr=e=>e instanceof Map,Kr=e=>e instanceof Set,Xf=e=>M1(e)==="Symbol",z1=e=>e instanceof Date&&!isNaN(e.valueOf()),j1=e=>e instanceof Error,eu=e=>typeof e=="number"&&isNaN(e),K1=e=>$1(e)||F1(e)||Yf(e)||H1(e)||B1(e)||Xf(e),W1=e=>typeof e=="bigint",G1=e=>e===1/0||e===-1/0,q1=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Y1=e=>e instanceof URL;L();var Zf=e=>e.replace(/\./g,"\\."),Ts=e=>e.map(String).map(Zf).join("."),Lr=e=>{const t=[];let n="";for(let o=0;onull,()=>{}),Pt(W1,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),Pt(z1,"Date",e=>e.toISOString(),e=>new Date(e)),Pt(j1,"Error",(e,t)=>{const n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n},(e,t)=>{const n=new Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(r=>{n[r]=e[r]}),n}),Pt(U1,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),n=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,n)}),Pt(Kr,"set",e=>[...e.values()],e=>new Set(e)),Pt(jr,"map",e=>[...e.entries()],e=>new Map(e)),Pt(e=>eu(e)||G1(e),"number",e=>eu(e)?"NaN":e>0?"Infinity":"-Infinity",Number),Pt(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),Pt(Y1,"URL",e=>e.toString(),e=>new URL(e))];function ts(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var Qf=ts((e,t)=>Xf(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,n)=>{const r=n.symbolRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown symbol");return r}),X1=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),ed=ts(q1,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const n=X1[t[1]];if(!n)throw new Error("Trying to deserialize unknown typed array");return new n(e)});function td(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var nd=ts(td,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return{...e};const r={};return n.forEach(o=>{r[o]=e[o]}),r},(e,t,n)=>{const r=n.classRegistry.getValue(t[1]);if(!r)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),rd=ts((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,n)=>{const r=n.customTransformerRegistry.findByName(t[1]);if(!r)throw new Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),Z1=[nd,Qf,rd,ed],tu=(e,t)=>{const n=Qa(Z1,o=>o.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};const r=Qa(Jf,o=>o.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation}},od={};Jf.forEach(e=>{od[e.annotation]=e});var J1=(e,t,n)=>{if(gn(t))switch(t[0]){case"symbol":return Qf.untransform(e,t,n);case"class":return nd.untransform(e,t,n);case"custom":return rd.untransform(e,t,n);case"typed-array":return ed.untransform(e,t,n);default:throw new Error("Unknown transformation: "+t)}else{const r=od[t];if(!r)throw new Error("Unknown transformation: "+t);return r.untransform(e,n)}};L();var Fn=(e,t)=>{const n=e.keys();for(;t>0;)n.next(),t--;return n.next().value};function sd(e){if(wo(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(wo(e,"prototype"))throw new Error("prototype is not allowed as a property");if(wo(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Q1=(e,t)=>{sd(t);for(let n=0;n{if(sd(t),t.length===0)return n(e);let r=e;for(let s=0;sri(s,t,[...n,...Lr(i)]));return}const[r,o]=e;o&&er(o,(s,i)=>{ri(s,t,[...n,...Lr(i)])}),t(r,n)}function eb(e,t,n){return ri(t,(r,o)=>{e=ni(e,o,s=>J1(s,r,n))}),e}function tb(e,t){function n(r,o){const s=Q1(e,Lr(o));r.map(Lr).forEach(i=>{e=ni(e,i,()=>s)})}if(gn(t)){const[r,o]=t;r.forEach(s=>{e=ni(e,Lr(s),()=>e)}),o&&er(o,n)}else er(t,n);return e}var nb=(e,t)=>zr(e)||gn(e)||jr(e)||Kr(e)||td(e,t);function rb(e,t,n){const r=n.get(e);r?r.push(t):n.set(e,[t])}function ob(e,t){const n={};let r;return e.forEach(o=>{if(o.length<=1)return;t||(o=o.map(l=>l.map(String)).sort((l,a)=>l.length-a.length));const[s,...i]=o;s.length===0?r=i.map(Ts):n[Ts(s)]=i.map(Ts)}),r?ti(n)?[r]:[r,n]:ti(n)?void 0:n}var id=(e,t,n,r,o=[],s=[],i=new Map)=>{var l;const a=K1(e);if(!a){rb(e,o,t);const v=i.get(e);if(v)return r?{transformedValue:null}:v}if(!nb(e,n)){const v=tu(e,n),_=v?{transformedValue:v.value,annotations:[v.type]}:{transformedValue:e};return a||i.set(e,_),_}if(wo(s,e))return{transformedValue:null};const c=tu(e,n),f=(l=c==null?void 0:c.value)!=null?l:e,u=gn(f)?[]:{},d={};er(f,(v,_)=>{if(_==="__proto__"||_==="constructor"||_==="prototype")throw new Error(`Detected property ${_}. This is a prototype pollution risk, please remove it from your object.`);const y=id(v,t,n,r,[...o,_],[...s,e],i);u[_]=y.transformedValue,gn(y.annotations)?d[_]=y.annotations:zr(y.annotations)&&er(y.annotations,(E,S)=>{d[Zf(_)+"."+S]=E})});const p=ti(d)?{transformedValue:u,annotations:c?[c.type]:void 0}:{transformedValue:u,annotations:c?[c.type,d]:d};return a||i.set(e,p),p};L();L();function ld(e){return Object.prototype.toString.call(e).slice(8,-1)}function nu(e){return ld(e)==="Array"}function sb(e){if(ld(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function ib(e,t,n,r,o){const s={}.propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";s==="enumerable"&&(e[t]=n),o&&s==="nonenumerable"&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}function oi(e,t={}){if(nu(e))return e.map(o=>oi(o,t));if(!sb(e))return e;const n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertySymbols(e);return[...n,...r].reduce((o,s)=>{if(nu(t.props)&&!t.props.includes(s))return o;const i=e[s],l=oi(i,t);return ib(o,s,l,e,t.nonenumerable),o},{})}var Ae=class{constructor({dedupe:e=!1}={}){this.classRegistry=new R1,this.symbolRegistry=new qf(t=>{var n;return(n=t.description)!=null?n:""}),this.customTransformerRegistry=new V1,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,n=id(e,t,this,this.dedupe),r={json:n.transformedValue};n.annotations&&(r.meta={...r.meta,values:n.annotations});const o=ob(t,this.dedupe);return o&&(r.meta={...r.meta,referentialEqualities:o}),r}deserialize(e){const{json:t,meta:n}=e;let r=oi(t);return n!=null&&n.values&&(r=eb(r,n.values,this)),n!=null&&n.referentialEqualities&&(r=tb(r,n.referentialEqualities)),r}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};Ae.defaultInstance=new Ae;Ae.serialize=Ae.defaultInstance.serialize.bind(Ae.defaultInstance);Ae.deserialize=Ae.defaultInstance.deserialize.bind(Ae.defaultInstance);Ae.stringify=Ae.defaultInstance.stringify.bind(Ae.defaultInstance);Ae.parse=Ae.defaultInstance.parse.bind(Ae.defaultInstance);Ae.registerClass=Ae.defaultInstance.registerClass.bind(Ae.defaultInstance);Ae.registerSymbol=Ae.defaultInstance.registerSymbol.bind(Ae.defaultInstance);Ae.registerCustom=Ae.defaultInstance.registerCustom.bind(Ae.defaultInstance);Ae.allowErrorProps=Ae.defaultInstance.allowErrorProps.bind(Ae.defaultInstance);L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();L();var ru,ou;(ou=(ru=X).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(ru.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var su,iu;(iu=(su=X).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(su.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var lu,au;(au=(lu=X).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(lu.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var uu,cu;(cu=(uu=X).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(uu.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var fu,du;(du=(fu=X).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(fu.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var pu,hu;(hu=(pu=X).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(pu.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null);L();L();L();L();L();L();L();const lb=JSON.parse(`{"navbar":[{"text":"Home","link":"/"},{"text":"Getting started","link":"/overview/getting-started"},{"text":"GitHub","link":"https://github.com/microsoft/beachball"}],"sidebar":[{"text":"Overview","collapsible":false,"children":["/overview/getting-started","/overview/installation","/overview/configuration"]},{"text":"Concepts","collapsible":false,"children":["/concepts/bump-algorithm","/concepts/change-files","/concepts/ci-integration","/concepts/groups"]},{"text":"CLI commands","collapsible":false,"children":["/cli/options","/cli/bump","/cli/change","/cli/check","/cli/publish","/cli/sync"]}],"locales":{"/":{"selectLanguageName":"English"}},"colorMode":"auto","colorModeSwitch":true,"logo":null,"repo":null,"selectLanguageText":"Languages","selectLanguageAriaLabel":"Select language","sidebarDepth":2,"editLink":true,"editLinkText":"Edit this page","lastUpdated":true,"lastUpdatedText":"Last Updated","contributors":true,"contributorsText":"Contributors","notFound":["There's nothing here.","How did we get here?","That's a Four-Oh-Four.","Looks like we've got some broken links."],"backToHome":"Take me home","openInNewWindow":"open in new window","toggleColorMode":"toggle color mode","toggleSidebar":"toggle sidebar"}`),ab=ce(lb),ad=()=>ab,ud=Symbol(""),ub=()=>{const e=et(ud);if(!e)throw new Error("useThemeLocaleData() is called without provider.");return e},cb=(e,t)=>{const{locales:n,...r}=e;return{...r,...n==null?void 0:n[t]}},fb=Vt({enhance({app:e}){const t=ad(),n=e._context.provides[Oi],r=B(()=>cb(t.value,n.routeLocale.value));e.provide(ud,r),Object.defineProperties(e.config.globalProperties,{$theme:{get(){return t.value}},$themeLocale:{get(){return r.value}}}),C1({app:e,id:"org.vuejs.vuepress.plugin-theme-data",label:"VuePress Theme Data Plugin",packageName:"@vuepress/plugin-theme-data",homepage:"https://v2.vuepress.vuejs.org",logo:"https://v2.vuepress.vuejs.org/images/hero.png",componentStateTypes:["VuePress"]},o=>{o.on.inspectComponent(s=>{s.instanceData.state.push({type:"VuePress",key:"themeData",editable:!1,value:t.value},{type:"VuePress",key:"themeLocaleData",editable:!1,value:r.value})})})}}),db=Object.freeze(Object.defineProperty({__proto__:null,default:fb},Symbol.toStringTag,{value:"Module"})),pb=()=>ad(),ze=()=>ub(),cd=Symbol(""),hb=e=>{const t=(n=e.value)=>{const r=window.document.documentElement;r.dataset.theme=n?"dark":"light"};Ye(()=>{Fe(e,t,{immediate:!0})}),Ko(()=>{t()})},qi=()=>{const e=et(cd);if(!e)throw new Error("useDarkMode() is called without provider.");return e},gb=()=>{const e=ze(),t=Iv(),n=Mi("vuepress-color-scheme",e.value.colorMode),r=B({get(){return e.value.colorModeSwitch?n.value==="auto"?t.value:n.value==="dark":e.value.colorMode==="dark"},set(o){o===t.value?n.value="auto":n.value=o?"dark":"light"}});On(cd,r),hb(r)};let xs=null,vr=null;const mb={wait:()=>xs,pending:()=>{xs=new Promise(e=>{vr=e})},resolve:()=>{vr==null||vr(),xs=null,vr=null}},fd=()=>mb,tr=(e,t)=>{const{notFound:n,meta:r,path:o}=$r(e,t);return n?{text:o,link:o}:{text:r.title||o,link:o}},gu=e=>decodeURI(e).replace(/#.*$/,"").replace(/(index)?\.(md|html)$/,""),vb=(e,t)=>{if(t.hash===e)return!0;const n=gu(t.path),r=gu(e);return n===r},dd=(e,t)=>e.link&&vb(e.link,t)?!0:"children"in e?e.children.some(n=>dd(n,t)):!1,pd=e=>!kg(e)&&!eo(e),hd=e=>!qo(e)||e.includes("github.com")?"GitHub":e.includes("bitbucket.org")?"Bitbucket":e.includes("gitlab.com")?"GitLab":e.includes("gitee.com")?"Gitee":null,_b={GitHub:":repo/edit/:branch/:path",GitLab:":repo/-/edit/:branch/:path",Gitee:":repo/edit/:branch/:path",Bitbucket:":repo/src/:branch/:path?mode=edit&spa=0&at=:branch&fileviewer=file-view-default"},bb=({docsRepo:e,editLinkPattern:t})=>{if(t)return t;const n=hd(e);return n!==null?_b[n]:null},yb=({docsRepo:e,docsBranch:t,docsDir:n,filePathRelative:r,editLinkPattern:o})=>{if(!r)return null;const s=bb({docsRepo:e,editLinkPattern:o});return s?s.replace(/:repo/,qo(e)?e:`https://github.com/${e}`).replace(/:branch/,t).replace(/:path/,$c(`${Hc(n)}/${r}`)):null},Gn=(e="",t="")=>Tf(t)||eo(t)?t:`${Ng(e)}${t}`,Co=ce([]),Eb=()=>{const e=mn(),t=ze(),n=xt(),r=B(()=>n.value.sidebarDepth??t.value.sidebarDepth??2);e.beforeEach((s,i)=>{s.path!==i.path&&(Co.value=[])});const o=()=>{if(r.value<=0){Co.value=[];return}Co.value=f_({levels:[2,r.value+1],ignore:[".vp-badge"]})};Fe(r,o),Ye(o)},Sb=()=>Co,wb=e=>({text:e.title,link:e.link,children:Yi(e.children)}),Yi=e=>e?e.map(t=>wb(t)):[],gd=(e,t)=>[{text:e.title,children:Yi(t)}],md=(e,t,n,r="")=>{const o=(s,i)=>{var a;const l=Et(s)?tr(Gn(i,s)):Et(s.link)?{...s,link:pd(s.link)?tr(Gn(i,s.link)).link:s.link}:s;if("children"in l)return{...l,children:l.children.map(c=>o(c,Gn(i,l.prefix)))};if(l.link===n){const c=((a=t[0])==null?void 0:a.level)===1?t[0].children:t;return{...l,children:Yi(c)}}return l};return e.map(s=>o(s,r))},Cb=(e,t,n,r)=>{const o=h_(e).sort((s,i)=>i.length-s.length);for(const s of o)if(kf(decodeURI(r),s)){const i=e[s];return i?i==="heading"?gd(t,n):md(i,n,r,s):[]}return console.warn(`${decodeURI(r)} is missing sidebar config.`),[]},vd=Symbol("sidebarItems"),Xi=()=>{const e=et(vd);if(!e)throw new Error("useSidebarItems() is called without provider.");return e},Ab=(e,t,n,r,o)=>e===!1?[]:e==="heading"?gd(t,o):Array.isArray(e)?md(e,o,n,r):ki(e)?Cb(e,t,o,n):[],kb=()=>{const e=ze(),t=xt(),n=ir(),r=Jt(),o=lr(),s=Sb(),i=B(()=>t.value.home?!1:t.value.sidebar??e.value.sidebar??"heading"),l=B(()=>Ab(i.value,n.value,r.path,o.value,s.value));On(vd,l)},Tb=ge({__name:"Badge",props:{type:{default:"tip"},text:{default:""},vertical:{default:void 0}},setup(e,{expose:t}){t();const n={};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),Pe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function xb(e,t,n,r,o,s){return Y(),oe("span",{class:st(["vp-badge",n.type]),style:rr({verticalAlign:n.vertical})},[De(e.$slots,"default",{},()=>[pn(Ie(n.text),1)])],6)}const Ob=Pe(Tb,[["render",xb],["__file","Badge.vue"]]),Pb=ge({__name:"VPHomeFeatures",setup(e,{expose:t}){t();const n=xt(),r=B(()=>n.value.features??[]),o={frontmatter:n,features:r};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),Lb={key:0,class:"vp-features"};function Ib(e,t,n,r,o,s){return r.features.length?(Y(),oe("div",Lb,[(Y(!0),oe(Ee,null,fn(r.features,i=>(Y(),oe("div",{key:i.title,class:"vp-feature"},[ae("h2",null,Ie(i.title),1),ae("p",null,Ie(i.details),1)]))),128))])):Ue("",!0)}const Rb=Pe(Pb,[["render",Ib],["__file","VPHomeFeatures.vue"]]),Db=ge({__name:"VPHomeFooter",setup(e,{expose:t}){t();const n=xt(),r=B(()=>n.value.footer),o=B(()=>n.value.footerHtml),s={frontmatter:n,footer:r,footerHtml:o};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),Nb=["innerHTML"],Vb=["textContent"];function Mb(e,t,n,r,o,s){return r.footer?(Y(),oe(Ee,{key:0},[r.footerHtml?(Y(),oe("div",{key:0,class:"vp-footer","vp-footer":"",innerHTML:r.footer},null,8,Nb)):(Y(),oe("div",{key:1,class:"vp-footer","vp-footer":"",textContent:Ie(r.footer)},null,8,Vb))],64)):Ue("",!0)}const Fb=Pe(Db,[["render",Mb],["__file","VPHomeFooter.vue"]]),Bb=ge({__name:"VPHomeHero",setup(e,{expose:t}){t();const n=xt(),r=Pi(),o=qi(),s=B(()=>n.value.heroText===null?null:n.value.heroText||r.value.title||"Hello"),i=B(()=>n.value.tagline===null?null:n.value.tagline||r.value.description||"Welcome to your VuePress site"),l=B(()=>o.value&&n.value.heroImageDark!==void 0?n.value.heroImageDark:n.value.heroImage),a=B(()=>n.value.heroAlt||s.value||"hero"),c=B(()=>n.value.heroHeight??280),f=B(()=>Array.isArray(n.value.actions)?n.value.actions.map(({text:p,link:v,type:_="primary"})=>({text:p,link:v,type:_})):[]),d={frontmatter:n,siteLocale:r,isDarkMode:o,heroText:s,tagline:i,heroImage:l,heroAlt:a,heroHeight:c,actions:f,HomeHeroImage:()=>{if(!l.value)return null;const p=re("img",{class:"vp-hero-image",src:Ri(l.value),alt:a.value,height:c.value});return n.value.heroImageDark===void 0?p:re(Li,()=>p)},get AutoLink(){return ar}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),Hb={class:"vp-hero"},$b={key:0,id:"main-title"},Ub={key:1,class:"vp-hero-description"},zb={key:2,class:"vp-hero-actions"};function jb(e,t,n,r,o,s){return Y(),oe("header",Hb,[ue(r.HomeHeroImage),r.heroText?(Y(),oe("h1",$b,Ie(r.heroText),1)):Ue("",!0),r.tagline?(Y(),oe("p",Ub,Ie(r.tagline),1)):Ue("",!0),r.actions.length?(Y(),oe("p",zb,[(Y(!0),oe(Ee,null,fn(r.actions,i=>(Y(),Ne(r.AutoLink,{key:i.text,class:st(["vp-hero-action-button",[i.type]]),config:i},null,8,["class","config"]))),128))])):Ue("",!0)])}const Kb=Pe(Bb,[["render",jb],["__file","VPHomeHero.vue"]]),Wb=ge({__name:"VPHome",setup(e,{expose:t}){t();const n={VPHomeFeatures:Rb,VPHomeFooter:Fb,VPHomeHero:Kb,get Content(){return Ii}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),Gb={class:"vp-home"},qb={class:"theme-default-content","vp-content":""};function Yb(e,t,n,r,o,s){return Y(),oe("main",Gb,[ue(r.VPHomeHero),ue(r.VPHomeFeatures),ae("div",qb,[ue(r.Content)]),ue(r.VPHomeFooter)])}const Xb=Pe(Wb,[["render",Yb],["__file","VPHome.vue"]]),Zb=ge({__name:"VPNavbarBrand",setup(e,{expose:t}){t();const n=lr(),r=Pi(),o=ze(),s=qi(),i=B(()=>o.value.home||n.value),l=B(()=>r.value.title),a=B(()=>s.value&&o.value.logoDark!==void 0?o.value.logoDark:o.value.logo),c=B(()=>o.value.logoAlt??l.value),f=B(()=>l.value.toLocaleUpperCase().trim()===c.value.toLocaleUpperCase().trim()),d={routeLocale:n,siteLocale:r,themeLocale:o,isDarkMode:s,navbarBrandLink:i,navbarBrandTitle:l,navbarBrandLogo:a,navbarBrandLogoAlt:c,navBarLogoAltMatchesTitle:f,NavbarBrandLogo:()=>{if(!a.value)return null;const p=re("img",{class:"vp-site-logo",src:Ri(a.value),alt:c.value});return o.value.logoDark===void 0?p:re(Li,()=>p)},get RouteLink(){return Zo}};return Object.defineProperty(d,"__isScriptSetup",{enumerable:!1,value:!0}),d}}),Jb=["aria-hidden"];function Qb(e,t,n,r,o,s){return Y(),Ne(r.RouteLink,{to:r.navbarBrandLink},{default:He(()=>[ue(r.NavbarBrandLogo),r.navbarBrandTitle?(Y(),oe("span",{key:0,class:st(["vp-site-name",{"vp-hide-mobile":r.navbarBrandLogo}]),"aria-hidden":r.navBarLogoAltMatchesTitle},Ie(r.navbarBrandTitle),11,Jb)):Ue("",!0)]),_:1},8,["to"])}const ey=Pe(Zb,[["render",Qb],["__file","VPNavbarBrand.vue"]]),ty=ge({__name:"VPDropdownTransition",setup(e,{expose:t}){t();const o={setHeight:s=>{s.style.height=`${s.scrollHeight}px`},unsetHeight:s=>{s.style.height=""}};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}});function ny(e,t,n,r,o,s){return Y(),Ne(Ai,{name:"vp-dropdown",onEnter:r.setHeight,onAfterEnter:r.unsetHeight,onBeforeLeave:r.setHeight},{default:He(()=>[De(e.$slots,"default")]),_:3})}const _d=Pe(ty,[["render",ny],["__file","VPDropdownTransition.vue"]]),ry=ge({__name:"VPNavbarDropdown",props:{config:{}},setup(e,{expose:t}){t();const n=e,{config:r}=mi(n),o=Jt(),[s,i]=hf(!1),l=B(()=>r.value.ariaLabel||r.value.text),a=(u,d)=>d[d.length-1]===u,c=u=>{u.detail===0?i():i(!1)};Fe(()=>o.path,()=>{i(!1)});const f={props:n,config:r,route:o,open:s,toggleOpen:i,dropdownAriaLabel:l,isLastItemOfArray:a,handleDropdown:c,VPDropdownTransition:_d,get AutoLink(){return ar}};return Object.defineProperty(f,"__isScriptSetup",{enumerable:!1,value:!0}),f}}),oy=["aria-label"],sy={class:"title"},iy=["aria-label"],ly={class:"title"},ay={class:"vp-navbar-dropdown"},uy={class:"vp-navbar-dropdown-subtitle"},cy={key:1},fy={class:"vp-navbar-dropdown-subitem-wrapper"};function dy(e,t,n,r,o,s){return Y(),oe("div",{class:st(["vp-navbar-dropdown-wrapper",{open:r.open}])},[ae("button",{class:"vp-navbar-dropdown-title",type:"button","aria-label":r.dropdownAriaLabel,onClick:r.handleDropdown},[ae("span",sy,Ie(r.config.text),1),t[1]||(t[1]=ae("span",{class:"arrow down"},null,-1))],8,oy),ae("button",{class:"vp-navbar-dropdown-title-mobile",type:"button","aria-label":r.dropdownAriaLabel,onClick:t[0]||(t[0]=()=>r.toggleOpen())},[ae("span",ly,Ie(r.config.text),1),ae("span",{class:st(["arrow",r.open?"down":"right"])},null,2)],8,iy),ue(r.VPDropdownTransition,null,{default:He(()=>[Po(ae("ul",ay,[(Y(!0),oe(Ee,null,fn(r.config.children,i=>(Y(),oe("li",{key:i.text,class:"vp-navbar-dropdown-item"},["children"in i?(Y(),oe(Ee,{key:0},[ae("h4",uy,[i.link?(Y(),Ne(r.AutoLink,{key:0,config:i,onFocusout:()=>{r.isLastItemOfArray(i,r.config.children)&&i.children.length===0&&(r.open=!1)}},null,8,["config","onFocusout"])):(Y(),oe("span",cy,Ie(i.text),1))]),ae("ul",fy,[(Y(!0),oe(Ee,null,fn(i.children,l=>(Y(),oe("li",{key:l.link,class:"vp-navbar-dropdown-subitem"},[ue(r.AutoLink,{config:l,onFocusout:()=>{r.isLastItemOfArray(l,i.children)&&r.isLastItemOfArray(i,r.config.children)&&r.toggleOpen(!1)}},null,8,["config","onFocusout"])]))),128))])],64)):(Y(),Ne(r.AutoLink,{key:1,config:i,onFocusout:()=>{r.isLastItemOfArray(i,r.config.children)&&r.toggleOpen(!1)}},null,8,["config","onFocusout"]))]))),128))],512),[[Do,r.open]])]),_:1})],2)}const py=Pe(ry,[["render",dy],["__file","VPNavbarDropdown.vue"]]),bd=(e,t="")=>Et(e)?tr(Gn(t,e)):"children"in e?{...e,children:e.children.map(n=>bd(n,Gn(t,e.prefix)))}:{...e,link:pd(e.link)?tr(Gn(t,e.link)).link:e.link},hy=()=>{const e=ze();return B(()=>(e.value.navbar||[]).map(t=>bd(t)))},gy=()=>{const e=ze(),t=B(()=>e.value.repo),n=B(()=>t.value?hd(t.value):null),r=B(()=>t.value&&!qo(t.value)?`https://github.com/${t.value}`:t.value),o=B(()=>r.value?e.value.repoLabel?e.value.repoLabel:n.value===null?"Source":n.value:null);return B(()=>!r.value||!o.value?[]:[{text:o.value,link:r.value}])},my=()=>{const e=Jt(),t=d_(),n=lr(),r=cf(),o=Pi(),s=pb(),i=ze();return B(()=>{const l=Object.keys(r.value.locales);if(l.length<2)return[];const a=e.path,c=e.fullPath;return[{text:`${i.value.selectLanguageText}`,ariaLabel:`${i.value.selectLanguageAriaLabel??i.value.selectLanguageText}`,children:l.map(u=>{var E,S;const d=((E=r.value.locales)==null?void 0:E[u])??{},p=((S=s.value.locales)==null?void 0:S[u])??{},v=`${d.lang}`,_=p.selectLanguageName??v;if(v===o.value.lang)return{text:_,activeMatch:".",link:e.fullPath};const y=a.replace(n.value,u);return{text:_,link:t.value.some(h=>h===y)?c.replace(a,y):p.home??u}})}]})},vy="719px",_y={mobile:vy};var Wr;(function(e){e.Mobile="mobile"})(Wr||(Wr={}));const by={[Wr.Mobile]:Number.parseInt(_y.mobile.replace("px",""),10)},yd=(e,t)=>{const n=by[e];Number.isInteger(n)&&(gt("orientationchange",()=>{t(n)},!1),gt("resize",()=>{t(n)},!1),Ye(()=>{t(n)}))},yy=ge({__name:"VPNavbarItems",setup(e,{expose:t}){t();const n=hy(),r=my(),o=gy(),s=ce(!1),i=B(()=>ze().value.navbarLabel??"site navigation"),l=B(()=>[...n.value,...r.value,...o.value]);yd(Wr.Mobile,c=>{s.value=window.innerWidth(Y(),oe("div",{key:i.text,class:"vp-navbar-item"},["children"in i?(Y(),Ne(r.VPNavbarDropdown,{key:0,class:st({mobile:r.isMobile}),config:i},null,8,["class","config"])):(Y(),Ne(r.AutoLink,{key:1,config:i},null,8,["config"]))]))),128))],8,Ey)):Ue("",!0)}const Ed=Pe(yy,[["render",Sy],["__file","VPNavbarItems.vue"]]),wy={},Cy={class:"dark-icon",viewBox:"0 0 32 32"};function Ay(e,t){return Y(),oe("svg",Cy,t[0]||(t[0]=[ae("path",{d:"M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z",fill:"currentColor"},null,-1)]))}const ky=Pe(wy,[["render",Ay],["__file","VPDarkIcon.vue"]]),Ty={},xy={class:"light-icon",viewBox:"0 0 32 32"};function Oy(e,t){return Y(),oe("svg",xy,t[0]||(t[0]=[Vh('',9)]))}const Py=Pe(Ty,[["render",Oy],["__file","VPLightIcon.vue"]]),Ly=ge({__name:"VPToggleColorModeButton",setup(e,{expose:t}){t();const n=ze(),r=qi(),s={themeLocale:n,isDarkMode:r,toggleColorMode:()=>{r.value=!r.value},VPDarkIcon:ky,VPLightIcon:Py};return Object.defineProperty(s,"__isScriptSetup",{enumerable:!1,value:!0}),s}}),Iy=["title"];function Ry(e,t,n,r,o,s){return Y(),oe("button",{type:"button",class:"vp-toggle-color-mode-button",title:r.themeLocale.toggleColorMode,onClick:r.toggleColorMode},[Po(ue(r.VPLightIcon,null,null,512),[[Do,!r.isDarkMode]]),Po(ue(r.VPDarkIcon,null,null,512),[[Do,r.isDarkMode]])],8,Iy)}const Dy=Pe(Ly,[["render",Ry],["__file","VPToggleColorModeButton.vue"]]),Ny=ge({__name:"VPToggleSidebarButton",emits:["toggle"],setup(e,{expose:t}){t();const r={themeLocale:ze()};return Object.defineProperty(r,"__isScriptSetup",{enumerable:!1,value:!0}),r}}),Vy=["title"];function My(e,t,n,r,o,s){return Y(),oe("div",{class:"vp-toggle-sidebar-button",title:r.themeLocale.toggleSidebar,"aria-expanded":"false",role:"button",tabindex:"0",onClick:t[0]||(t[0]=i=>e.$emit("toggle"))},t[1]||(t[1]=[ae("div",{class:"icon","aria-hidden":"true"},[ae("span"),ae("span"),ae("span")],-1)]),8,Vy)}const Fy=Pe(Ny,[["render",My],["__file","VPToggleSidebarButton.vue"]]),By=ge({__name:"VPNavbar",emits:["toggleSidebar"],setup(e,{expose:t}){t();const n=wf("SearchBox")?yi("SearchBox"):()=>null,r=ze(),o=ce(null),s=ce(null),i=ce(0),l=B(()=>i.value?{maxWidth:`${i.value}px`}:{}),a=(f,u)=>{var v;const d=(v=f==null?void 0:f.ownerDocument.defaultView)==null?void 0:v.getComputedStyle(f,null)[u],p=Number.parseInt(d,10);return Number.isNaN(p)?0:p};yd(Wr.Mobile,f=>{var d;const u=a(o.value,"paddingLeft")+a(o.value,"paddingRight");window.innerWidthe.$emit("toggleSidebar"))}),ae("span",$y,[ue(r.VPNavbarBrand)],512),ae("div",{class:"vp-navbar-items-wrapper",style:rr(r.linksWrapperStyle)},[De(e.$slots,"before"),ue(r.VPNavbarItems,{class:"vp-hide-mobile"}),De(e.$slots,"after"),r.themeLocale.colorModeSwitch?(Y(),Ne(r.VPToggleColorModeButton,{key:0})):Ue("",!0),ue(r.SearchBox)],4)],512)}const zy=Pe(By,[["render",Uy],["__file","VPNavbar.vue"]]),jy={},Ky={class:"edit-icon",viewBox:"0 0 1024 1024"};function Wy(e,t){return Y(),oe("svg",Ky,t[0]||(t[0]=[ae("g",{fill:"currentColor"},[ae("path",{d:"M430.818 653.65a60.46 60.46 0 0 1-50.96-93.281l71.69-114.012 7.773-10.365L816.038 80.138A60.46 60.46 0 0 1 859.225 62a60.46 60.46 0 0 1 43.186 18.138l43.186 43.186a60.46 60.46 0 0 1 0 86.373L588.879 565.55l-8.637 8.637-117.466 68.234a60.46 60.46 0 0 1-31.958 11.229z"}),ae("path",{d:"M728.802 962H252.891A190.883 190.883 0 0 1 62.008 771.98V296.934a190.883 190.883 0 0 1 190.883-192.61h267.754a60.46 60.46 0 0 1 0 120.92H252.891a69.962 69.962 0 0 0-69.098 69.099V771.98a69.962 69.962 0 0 0 69.098 69.098h475.911A69.962 69.962 0 0 0 797.9 771.98V503.363a60.46 60.46 0 1 1 120.922 0V771.98A190.883 190.883 0 0 1 728.802 962z"})],-1)]))}const Gy=Pe(jy,[["render",Wy],["__file","VPEditIcon.vue"]]),qy=()=>{const e=ze(),t=ir(),n=xt();return B(()=>{var o;return n.value.contributors??e.value.contributors??!0?((o=t.value.git)==null?void 0:o.contributors)??null:null})},Yy=()=>{const e=ze(),t=ir(),n=xt();return B(()=>{if(!(n.value.editLink??e.value.editLink??!0))return null;const{repo:o,docsRepo:s=o,docsBranch:i="main",docsDir:l="",editLinkText:a}=e.value;if(!s)return null;const c=yb({docsRepo:s,docsBranch:i,docsDir:l,filePathRelative:t.value.filePathRelative,editLinkPattern:n.value.editLinkPattern??e.value.editLinkPattern});return c?{text:a??"Edit this page",link:c}:null})},Xy=()=>{const e=ze(),t=ir(),n=xt();return B(()=>{var s;return!(n.value.lastUpdated??e.value.lastUpdated??!0)||!((s=t.value.git)!=null&&s.updatedTime)?null:new Date(t.value.git.updatedTime).toLocaleString()})},Zy=ge({__name:"VPPageMeta",setup(e,{expose:t}){t();const n=ze(),r=Yy(),o=Xy(),s=qy(),i={themeLocale:n,editLink:r,lastUpdated:o,contributors:s,VPEditIcon:Gy,get AutoLink(){return ar}};return Object.defineProperty(i,"__isScriptSetup",{enumerable:!1,value:!0}),i}}),Jy={class:"vp-page-meta"},Qy={key:0,class:"vp-meta-item edit-link"},eE={class:"vp-meta-item git-info"},tE={key:0,class:"vp-meta-item last-updated"},nE={class:"meta-item-label"},rE={class:"meta-item-info"},oE={key:1,class:"vp-meta-item contributors"},sE={class:"meta-item-label"},iE={class:"meta-item-info"},lE=["title"];function aE(e,t,n,r,o,s){const i=yi("ClientOnly");return Y(),oe("footer",Jy,[r.editLink?(Y(),oe("div",Qy,[ue(r.AutoLink,{class:"label",config:r.editLink},{before:He(()=>[ue(r.VPEditIcon)]),_:1},8,["config"])])):Ue("",!0),ae("div",eE,[r.lastUpdated?(Y(),oe("div",tE,[ae("span",nE,Ie(r.themeLocale.lastUpdatedText)+": ",1),ue(i,null,{default:He(()=>[ae("span",rE,Ie(r.lastUpdated),1)]),_:1})])):Ue("",!0),r.contributors&&r.contributors.length?(Y(),oe("div",oE,[ae("span",sE,Ie(r.themeLocale.contributorsText)+": ",1),ae("span",iE,[(Y(!0),oe(Ee,null,fn(r.contributors,(l,a)=>(Y(),oe(Ee,{key:a},[ae("span",{class:"contributor",title:`email: ${l.email}`},Ie(l.name),9,lE),a!==r.contributors.length-1?(Y(),oe(Ee,{key:0},[pn(", ")],64)):Ue("",!0)],64))),128))])])):Ue("",!0)])])}const uE=Pe(Zy,[["render",aE],["__file","VPPageMeta.vue"]]),cE=()=>{const e=mn(),t=Jt();return n=>{n&&(Tf(n)?t.path!==n&&e.push(n):eo(n)?window.open(n):e.push(encodeURI(n)))}},mu=(e,t)=>e===!1?!1:Et(e)?tr(e,t):ki(e)?{...e,link:tr(e.link,t).link}:null,si=(e,t,n)=>{const r=e.findIndex(s=>s.link===t);if(r!==-1){const s=e[r+n];return s?s.link?s:"prefix"in s&&!$r(s.prefix).notFound?{...s,link:s.prefix}:null:null}for(const s of e)if("children"in s){const i=si(s.children,t,n);if(i)return i}const o=e.findIndex(s=>"prefix"in s&&s.prefix===t);if(o!==-1){const s=e[o+n];return s?s.link?s:"prefix"in s&&!$r(s.prefix).notFound?{...s,link:s.prefix}:null:null}return null},fE=()=>{const e=xt(),t=ze(),n=Xi(),r=Jt(),o=B(()=>{const i=mu(e.value.prev,r.path);return i===!1?null:i??(t.value.prev===!1?null:si(n.value,r.path,-1))}),s=B(()=>{const i=mu(e.value.next,r.path);return i===!1?null:i??(t.value.next===!1?null:si(n.value,r.path,1))});return{prevLink:o,nextLink:s}},dE=ge({__name:"VPPageNav",setup(e,{expose:t}){t();const n=ze(),r=cE(),{prevLink:o,nextLink:s}=fE(),i=B(()=>n.value.pageNavbarLabel??"page navigation");gt("keydown",a=>{a.altKey&&(a.key==="ArrowRight"?s.value&&(r(s.value.link),a.preventDefault()):a.key==="ArrowLeft"&&o.value&&(r(o.value.link),a.preventDefault()))});const l={themeLocale:n,navigate:r,prevLink:o,nextLink:s,navbarLabel:i,get AutoLink(){return ar}};return Object.defineProperty(l,"__isScriptSetup",{enumerable:!1,value:!0}),l}}),pE=["aria-label"],hE={class:"hint"},gE={class:"link"},mE={class:"hint"},vE={class:"link"};function _E(e,t,n,r,o,s){return r.prevLink||r.nextLink?(Y(),oe("nav",{key:0,class:"vp-page-nav","aria-label":r.navbarLabel},[r.prevLink?(Y(),Ne(r.AutoLink,{key:0,class:"prev",config:r.prevLink},{default:He(()=>[ae("div",hE,[t[0]||(t[0]=ae("span",{class:"arrow left"},null,-1)),pn(" "+Ie(r.themeLocale.prev??"Prev"),1)]),ae("div",gE,[ae("span",null,Ie(r.prevLink.text),1)])]),_:1},8,["config"])):Ue("",!0),r.nextLink?(Y(),Ne(r.AutoLink,{key:1,class:"next",config:r.nextLink},{default:He(()=>[ae("div",mE,[pn(Ie(r.themeLocale.next??"Next")+" ",1),t[1]||(t[1]=ae("span",{class:"arrow right"},null,-1))]),ae("div",vE,[ae("span",null,Ie(r.nextLink.text),1)])]),_:1},8,["config"])):Ue("",!0)],8,pE)):Ue("",!0)}const bE=Pe(dE,[["render",_E],["__file","VPPageNav.vue"]]),yE=ge({__name:"VPPage",setup(e,{expose:t}){t(),Eb();const n={VPPageMeta:uE,VPPageNav:bE,get Content(){return Ii}};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),EE={class:"vp-page"},SE={class:"theme-default-content","vp-content":""};function wE(e,t,n,r,o,s){return Y(),oe("main",EE,[De(e.$slots,"top"),ae("div",SE,[De(e.$slots,"content-top"),ue(r.Content),De(e.$slots,"content-bottom")]),ue(r.VPPageMeta),ue(r.VPPageNav),De(e.$slots,"bottom")])}const CE=Pe(yE,[["render",wE],["__file","VPPage.vue"]]),AE=ge({__name:"VPSidebarItem",props:{item:{},depth:{default:0}},setup(e,{expose:t}){t();const n=e,{item:r,depth:o}=mi(n),s=Jt(),i=mn(),l=B(()=>"collapsible"in r.value&&r.value.collapsible),a=B(()=>dd(r.value,s)),c=B(()=>({"vp-sidebar-item":!0,"vp-sidebar-heading":o.value===0,active:a.value,collapsible:l.value})),f=B(()=>l.value?a.value:!0),[u,d]=hf(f.value),p=y=>{l.value&&(y.preventDefault(),d())},v=i.afterEach(()=>{sr(()=>{u.value=f.value})});jo(()=>{v()});const _={props:n,item:r,depth:o,route:s,router:i,collapsible:l,isActive:a,itemClass:c,isOpenDefault:f,isOpen:u,toggleIsOpen:d,onClick:p,unregisterRouterHook:v,VPDropdownTransition:_d,get AutoLink(){return ar}};return Object.defineProperty(_,"__isScriptSetup",{enumerable:!1,value:!0}),_}}),kE={class:"vp-sidebar-children"};function TE(e,t,n,r,o,s){const i=yi("VPSidebarItem",!0);return Y(),oe("li",null,[r.item.link?(Y(),Ne(r.AutoLink,{key:0,class:st(r.itemClass),config:r.item},null,8,["class","config"])):(Y(),oe("p",{key:1,tabindex:"0",class:st(r.itemClass),onClick:r.onClick,onKeydown:bg(r.onClick,["enter"])},[pn(Ie(r.item.text)+" ",1),r.collapsible?(Y(),oe("span",{key:0,class:st(["arrow",r.isOpen?"down":"right"])},null,2)):Ue("",!0)],34)),"children"in r.item&&r.item.children.length?(Y(),Ne(r.VPDropdownTransition,{key:2},{default:He(()=>[Po(ae("ul",kE,[(Y(!0),oe(Ee,null,fn(r.item.children,l=>(Y(),Ne(i,{key:`${r.depth}${l.text}${l.link}`,item:l,depth:r.depth+1},null,8,["item","depth"]))),128))],512),[[Do,r.isOpen]])]),_:1})):Ue("",!0)])}const xE=Pe(AE,[["render",TE],["__file","VPSidebarItem.vue"]]),OE=ge({__name:"VPSidebarItems",setup(e,{expose:t}){t();const n=Jt(),r=Xi();Ye(()=>{Fe(()=>n.hash,s=>{const i=document.querySelector(".vp-sidebar");if(!i)return;const l=document.querySelector(`.vp-sidebar a.vp-sidebar-item[href="${n.path}${s}"]`);if(!l)return;const{top:a,height:c}=i.getBoundingClientRect(),{top:f,height:u}=l.getBoundingClientRect();fa+c&&l.scrollIntoView(!1)})});const o={route:n,sidebarItems:r,VPSidebarItem:xE};return Object.defineProperty(o,"__isScriptSetup",{enumerable:!1,value:!0}),o}}),PE={key:0,class:"vp-sidebar-items"};function LE(e,t,n,r,o,s){return r.sidebarItems.length?(Y(),oe("ul",PE,[(Y(!0),oe(Ee,null,fn(r.sidebarItems,i=>(Y(),Ne(r.VPSidebarItem,{key:`${i.text}${i.link}`,item:i},null,8,["item"]))),128))])):Ue("",!0)}const IE=Pe(OE,[["render",LE],["__file","VPSidebarItems.vue"]]),RE=ge({__name:"VPSidebar",setup(e,{expose:t}){t();const n={VPNavbarItems:Ed,VPSidebarItems:IE};return Object.defineProperty(n,"__isScriptSetup",{enumerable:!1,value:!0}),n}}),DE={class:"vp-sidebar","vp-sidebar":""};function NE(e,t,n,r,o,s){return Y(),oe("aside",DE,[ue(r.VPNavbarItems),De(e.$slots,"top"),ue(r.VPSidebarItems),De(e.$slots,"bottom")])}const VE=Pe(RE,[["render",NE],["__file","VPSidebar.vue"]]),ME=ge({__name:"Layout",setup(e,{expose:t}){t();const n=ir(),r=xt(),o=ze(),s=B(()=>r.value.navbar!==!1&&o.value.navbar!==!1),i=Xi(),l=ce(!1),a=h=>{l.value=typeof h=="boolean"?h:!l.value},c={x:0,y:0},f=h=>{c.x=h.changedTouches[0].clientX,c.y=h.changedTouches[0].clientY},u=h=>{const b=h.changedTouches[0].clientX-c.x,I=h.changedTouches[0].clientY-c.y;Math.abs(b)>Math.abs(I)&&Math.abs(b)>40&&(b>0&&c.x<=80?a(!0):a(!1))},d=B(()=>r.value.externalLinkIcon??o.value.externalLinkIcon??!0),p=B(()=>[{"no-navbar":!s.value,"no-sidebar":!i.value.length,"sidebar-open":l.value,"external-link-icon":d.value},r.value.pageClass]);let v;Ye(()=>{v=mn().afterEach(()=>{a(!1)})}),Ko(()=>{v()});const _=fd(),y=_.resolve,E=_.pending,S={page:n,frontmatter:r,themeLocale:o,shouldShowNavbar:s,sidebarItems:i,isSidebarOpen:l,toggleSidebar:a,touchStart:c,onTouchStart:f,onTouchEnd:u,enableExternalLinkIcon:d,containerClass:p,get unregisterRouterHook(){return v},set unregisterRouterHook(h){v=h},scrollPromise:_,onBeforeEnter:y,onBeforeLeave:E,VPHome:Xb,VPNavbar:zy,VPPage:CE,VPSidebar:VE};return Object.defineProperty(S,"__isScriptSetup",{enumerable:!1,value:!0}),S}});function FE(e,t,n,r,o,s){return Y(),oe("div",{class:st(["vp-theme-container",r.containerClass]),"vp-container":"",onTouchstart:r.onTouchStart,onTouchend:r.onTouchEnd},[De(e.$slots,"navbar",{},()=>[r.shouldShowNavbar?(Y(),Ne(r.VPNavbar,{key:0,onToggleSidebar:r.toggleSidebar},{before:He(()=>[De(e.$slots,"navbar-before")]),after:He(()=>[De(e.$slots,"navbar-after")]),_:3})):Ue("",!0)]),ae("div",{class:"vp-sidebar-mask",onClick:t[0]||(t[0]=i=>r.toggleSidebar(!1))}),De(e.$slots,"sidebar",{},()=>[ue(r.VPSidebar,null,{top:He(()=>[De(e.$slots,"sidebar-top")]),bottom:He(()=>[De(e.$slots,"sidebar-bottom")]),_:3})]),De(e.$slots,"page",{},()=>[r.frontmatter.home?(Y(),Ne(r.VPHome,{key:0})):(Y(),Ne(Ai,{key:1,name:"fade-slide-y",mode:"out-in",onBeforeEnter:r.onBeforeEnter,onBeforeLeave:r.onBeforeLeave},{default:He(()=>[(Y(),Ne(r.VPPage,{key:r.page.path},{top:He(()=>[De(e.$slots,"page-top")]),"content-top":He(()=>[De(e.$slots,"page-content-top")]),"content-bottom":He(()=>[De(e.$slots,"page-content-bottom")]),bottom:He(()=>[De(e.$slots,"page-bottom")]),_:3}))]),_:3},8,["onBeforeEnter","onBeforeLeave"]))])],34)}const BE=Pe(ME,[["render",FE],["__file","Layout.vue"]]),HE=ge({__name:"NotFound",setup(e,{expose:t}){t();const n=lr(),r=ze(),o=r.value.notFound??["Not Found"],s=()=>o[Math.floor(Math.random()*o.length)],i=r.value.home??n.value,l=r.value.backToHome??"Back to home",a={routeLocale:n,themeLocale:r,messages:o,getMsg:s,homeLink:i,homeText:l,get RouteLink(){return Zo}};return Object.defineProperty(a,"__isScriptSetup",{enumerable:!1,value:!0}),a}}),$E={class:"vp-theme-container","vp-container":""},UE={class:"page"},zE={class:"theme-default-content","vp-content":""};function jE(e,t,n,r,o,s){return Y(),oe("div",$E,[ae("main",UE,[ae("div",zE,[t[0]||(t[0]=ae("h1",null,"404",-1)),ae("blockquote",null,Ie(r.getMsg()),1),ue(r.RouteLink,{to:r.homeLink},{default:He(()=>[pn(Ie(r.homeText),1)]),_:1},8,["to"])])])])}const KE=Pe(HE,[["render",jE],["__scopeId","data-v-03d0ea91"],["__file","NotFound.vue"]]),WE=Vt({enhance({app:e,router:t}){wf("Badge")||e.component("Badge",Ob);const n=t.options.scrollBehavior;t.options.scrollBehavior=async(...r)=>(await fd().wait(),n(...r))},setup(){gb(),kb()},layouts:{Layout:BE,NotFound:KE}}),GE=Object.freeze(Object.defineProperty({__proto__:null,default:WE},Symbol.toStringTag,{value:"Module"})),qE=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"})),Sd=({size:e=48,stroke:t=4,wrapper:n=!0,height:r=2*e})=>{const o=re("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,preserveAspectRatio:"xMidYMid",viewBox:"25 25 50 50"},[re("animateTransform",{attributeName:"transform",type:"rotate",dur:"2s",keyTimes:"0;1",repeatCount:"indefinite",values:"0;360"}),re("circle",{cx:"50",cy:"50",r:"20",fill:"none",stroke:"currentColor","stroke-width":t,"stroke-linecap":"round"},[re("animate",{attributeName:"stroke-dasharray",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"1,200;90,200;1,200"}),re("animate",{attributeName:"stroke-dashoffset",dur:"1.5s",keyTimes:"0;0.5;1",repeatCount:"indefinite",values:"0;-35px;-125px"})])]);return n?re("div",{class:"loading-icon-wrapper",style:`display:flex;align-items:center;justify-content:center;height:${r}px`},o):o};Sd.displayName="LoadingIcon";const vu=e=>{const t=atob(e);return a_(o_(l_(t)))},YE=e=>new Promise(t=>{setTimeout(t,e)});let wd={};const Cd=Symbol(""),XE=e=>{wd=e},ZE=()=>et(Cd),JE=e=>{e.provide(Cd,wd)},_u=()=>{const e=document.documentElement;return e.classList.contains("dark")||e.getAttribute("data-theme")==="dark"},Nn={useMaxWidth:!1},QE=e=>({dark:e,background:e?"#1e1e1e":"#fff",primaryColor:e?"#389d70":"#4abf8a",primaryBorderColor:e?"#389d70":"#4abf8a",primaryTextColor:e?"#fff":"#000",secondaryColor:"#ffb500",secondaryBorderColor:e?"#fff":"#000",secondaryTextColor:e?"#ddd":"#333",tertiaryColor:e?"#282828":"#efeef4",tertiaryBorderColor:e?"#bbb":"#242424",tertiaryTextColor:e?"#ddd":"#333",noteBkgColor:e?"#f6d365":"#fff5ad",noteTextColor:"#242424",noteBorderColor:e?"#f6d365":"#333",lineColor:e?"#d3d3d3":"#333",textColor:e?"#fff":"#242424",mainBkg:e?"#389d70":"#4abf8a",errorBkgColor:"#eb4d5d",errorTextColor:"#fff",nodeBorder:e?"#389d70":"#4abf8a",nodeTextColor:e?"#fff":"#242424",signalTextColor:e?"#9e9e9e":"#242424",classText:"#fff",labelColor:"#fff",attributeBackgroundColorEven:e?"#0d1117":"#fff",attributeBackgroundColorOdd:e?"#161b22":"#f8f8f8",fillType0:e?"#cf1322":"#f1636e",fillType1:"#f39c12",fillType2:"#2ecc71",fillType3:"#fa541c",fillType4:"#25a55b",fillType5:"#13c2c2",fillType6:"#096dd9",fillType7:"#aa6fe9"});var eS=ge({name:"Mermaid",props:{id:{type:String,required:!0},code:{type:String,required:!0},title:{type:String,default:""}},setup(e){const{themeVariables:t,...n}=ZE(),r=kt(),o=B(()=>vu(e.code)),s=ce(""),i=ce(!1);let l=!1;const a=async()=>{const[{default:u}]=await Promise.all([Ge(()=>import("./mermaid.esm.min-Bq5H-fqC.js").then(d=>d.bz),[]),l?Promise.resolve():(l=!0,YE(800))]);u.initialize({theme:"base",themeVariables:{...QE(i.value),...Vg(t)?t(i.value):t},flowchart:Nn,sequence:Nn,journey:Nn,gantt:Nn,er:Nn,pie:Nn,...n,startOnLoad:!1}),s.value=(await u.render(e.id,o.value)).svg},c=()=>{const{body:u}=document,d=document.createElement("div");d.classList.add("mermaid-preview"),d.innerHTML=s.value,u.appendChild(d),d.addEventListener("click",()=>{u.removeChild(d)})},f=()=>{const u=`data:image/svg+xml;charset=utf8,${s.value.replace(/
/g,"
").replace(/%/g,"%25").replace(/"/g,"%22").replace(/'/g,"%27").replace(/&/g,"%26").replace(/#/g,"%23").replace(/{/g,"%7B").replace(/}/g,"%7D").replace(//g,"%3E")}`,d=document.createElement("a");d.setAttribute("href",u),d.setAttribute("download",`${e.title?vu(e.title):e.id}.svg`),d.click()};return Ye(()=>{i.value=_u(),a(),Tv(document.documentElement,()=>{i.value=_u()},{attributeFilter:["class","data-theme"],attributes:!0}),Fe(i,()=>a())}),()=>[re("div",{class:"mermaid-actions"},[re("button",{class:"preview-button",onClick:()=>c(),title:"preview",innerHTML:''}),re("button",{class:"download-button",onClick:()=>f(),title:"download",innerHTML:''})]),re("div",{ref:r,class:"mermaid-wrapper"},s.value?re("div",{class:"mermaid-content",innerHTML:s.value}):re(Sd,{class:"mermaid-loading",height:96}))]}});const tS={enhance:({app:e})=>{JE(e),e.component("Mermaid",eS)}},nS=Object.freeze(Object.defineProperty({__proto__:null,default:tS},Symbol.toStringTag,{value:"Module"})),rS=[{title:"",headers:[],path:"/",pathLocale:"/",extraFields:[]},{title:"Bump algorithm",headers:[{level:3,title:"Dependent version bumping",slug:"dependent-version-bumping",link:"#dependent-version-bumping",children:[]},{level:3,title:"Grouped bumping",slug:"grouped-bumping",link:"#grouped-bumping",children:[]}],path:"/concepts/bump-algorithm.html",pathLocale:"/",extraFields:[]},{title:"Change files",headers:[{level:2,title:"What is a change file?",slug:"what-is-a-change-file",link:"#what-is-a-change-file",children:[{level:3,title:"Grouped change files",slug:"grouped-change-files",link:"#grouped-change-files",children:[]}]},{level:2,title:"Generating a change file",slug:"generating-a-change-file",link:"#generating-a-change-file",children:[]},{level:2,title:"Validating change files",slug:"validating-change-files",link:"#validating-change-files",children:[]}],path:"/concepts/change-files.html",pathLocale:"/",extraFields:[]},{title:"CI integration",headers:[{level:2,title:"Authentication",slug:"authentication",link:"#authentication",children:[{level:3,title:"Generating tokens",slug:"generating-tokens",link:"#generating-tokens",children:[]},{level:3,title:"Storing tokens",slug:"storing-tokens",link:"#storing-tokens",children:[]}]},{level:2,title:"Setting options for publishing",slug:"setting-options-for-publishing",link:"#setting-options-for-publishing",children:[]},{level:2,title:"Publishing",slug:"publishing",link:"#publishing",children:[{level:3,title:"GitHub repo + GitHub Actions",slug:"github-repo-github-actions",link:"#github-repo-github-actions",children:[]},{level:3,title:"GitHub repo + Azure Pipelines",slug:"github-repo-azure-pipelines",link:"#github-repo-azure-pipelines",children:[]},{level:3,title:"Azure Repos + Azure Pipelines",slug:"azure-repos-azure-pipelines",link:"#azure-repos-azure-pipelines",children:[]}]}],path:"/concepts/ci-integration.html",pathLocale:"/",extraFields:[]},{title:"Groups",headers:[{level:2,title:"Version groups",slug:"version-groups",link:"#version-groups",children:[{level:3,title:"Configuring version groups",slug:"configuring-version-groups",link:"#configuring-version-groups",children:[]}]},{level:2,title:"Grouped changelogs",slug:"grouped-changelogs",link:"#grouped-changelogs",children:[]}],path:"/concepts/groups.html",pathLocale:"/",extraFields:[]},{title:"bump",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]}],path:"/cli/bump.html",pathLocale:"/",extraFields:[]},{title:"change",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]},{level:3,title:"Examples",slug:"examples",link:"#examples",children:[]},{level:3,title:"Prompt walkthrough",slug:"prompt-walkthrough",link:"#prompt-walkthrough",children:[]}],path:"/cli/change.html",pathLocale:"/",extraFields:[]},{title:"check",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]},{level:3,title:"Options",slug:"options-1",link:"#options-1",children:[]},{level:3,title:"Where should check be run?",slug:"where-should-check-be-run",link:"#where-should-check-be-run",children:[]}],path:"/cli/check.html",pathLocale:"/",extraFields:[]},{title:"Common options",headers:[{level:2,title:"General options",slug:"general-options",link:"#general-options",children:[]}],path:"/cli/options.html",pathLocale:"/",extraFields:[]},{title:"publish",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]},{level:3,title:"Algorithm",slug:"algorithm",link:"#algorithm",children:[]},{level:3,title:"Example CI workflow",slug:"example-ci-workflow",link:"#example-ci-workflow",children:[]},{level:3,title:"Recovering from failed publish",slug:"recovering-from-failed-publish",link:"#recovering-from-failed-publish",children:[]}],path:"/cli/publish.html",pathLocale:"/",extraFields:[]},{title:"sync",headers:[{level:3,title:"Options",slug:"options",link:"#options",children:[]}],path:"/cli/sync.html",pathLocale:"/",extraFields:[]},{title:"Configuration",headers:[{level:2,title:"Repository config",slug:"repository-config",link:"#repository-config",children:[]},{level:2,title:"Package config",slug:"package-config",link:"#package-config",children:[]},{level:2,title:"Options",slug:"options",link:"#options",children:[{level:3,title:"Glob matching",slug:"glob-matching",link:"#glob-matching",children:[]},{level:3,title:"Scoping",slug:"scoping",link:"#scoping",children:[]},{level:3,title:"Determining the target branch and remote",slug:"determining-the-target-branch-and-remote",link:"#determining-the-target-branch-and-remote",children:[]}]}],path:"/overview/configuration.html",pathLocale:"/",extraFields:[]},{title:"Getting started",headers:[{level:2,title:"Why Beachball?",slug:"why-beachball",link:"#why-beachball",children:[]},{level:2,title:"Beachball workflow",slug:"beachball-workflow",link:"#beachball-workflow",children:[]},{level:2,title:"Next steps",slug:"next-steps",link:"#next-steps",children:[]}],path:"/overview/getting-started.html",pathLocale:"/",extraFields:[]},{title:"Installation",headers:[{level:2,title:"CLI setup",slug:"cli-setup",link:"#cli-setup",children:[{level:3,title:"Automatic setup",slug:"automatic-setup",link:"#automatic-setup",children:[]},{level:3,title:"Manual setup",slug:"manual-setup",link:"#manual-setup",children:[]}]},{level:2,title:"Local development workflow",slug:"local-development-workflow",link:"#local-development-workflow",children:[]},{level:2,title:"CI integration",slug:"ci-integration",link:"#ci-integration",children:[]}],path:"/overview/installation.html",pathLocale:"/",extraFields:[]},{title:"",headers:[],path:"/404.html",pathLocale:"/",extraFields:[]}],oS=e=>e instanceof Element?document.activeElement===e&&(["TEXTAREA","SELECT","INPUT"].includes(e.tagName)||e.hasAttribute("contenteditable")):!1,sS=(e,t)=>t.some(n=>{if(Et(n))return n===e.key;const{key:r,ctrl:o=!1,shift:s=!1,alt:i=!1}=n;return r===e.key&&o===e.ctrlKey&&s===e.shiftKey&&i===e.altKey}),iS=/[^\x00-\x7F]/,lS=e=>e.split(/\s+/g).map(t=>t.trim()).filter(t=>!!t),bu=e=>e.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),yu=(e,t)=>{const n=t.join(" "),r=lS(e);if(iS.test(e))return r.some(s=>n.toLowerCase().includes(s));const o=e.endsWith(" ");return new RegExp(`${r.map((s,i)=>r.length===i+1&&!o?`(?=.*\\b${bu(s)})`:`(?=.*\\b${bu(s)}\\b)`).join("")}.+`,"gi").test(n)},aS=({input:e,hotKeys:t})=>{if(t.value.length===0)return;const n=r=>{e.value&&sS(r,t.value)&&!oS(r.target)&&(r.preventDefault(),e.value.focus())};Ye(()=>{document.addEventListener("keydown",n)}),jo(()=>{document.removeEventListener("keydown",n)})},uS=ce(rS),cS=()=>uS,fS=({searchIndex:e,routeLocale:t,query:n,maxSuggestions:r})=>{const o=B(()=>e.value.filter(s=>s.pathLocale===t.value));return B(()=>{const s=n.value.trim().toLowerCase();if(!s)return[];const i=[],l=(a,c)=>{yu(s,[c.title])&&i.push({link:`${a.path}#${c.slug}`,title:a.title,header:c.title});for(const f of c.children){if(i.length>=r.value)return;l(a,f)}};for(const a of o.value){if(i.length>=r.value)break;if(yu(s,[a.title,...a.extraFields])){i.push({link:a.path,title:a.title});continue}for(const c of a.headers){if(i.length>=r.value)break;l(a,c)}}return i})},dS=e=>{const t=ce(0);return{focusIndex:t,focusNext:()=>{t.value{t.value>0?t.value-=1:t.value=e.value.length-1}}},pS=ge({name:"SearchBox",props:{locales:{type:Object,default:()=>({})},hotKeys:{type:Array,default:()=>[]},maxSuggestions:{type:Number,default:5}},setup(e){const{locales:t,hotKeys:n,maxSuggestions:r}=mi(e),o=mn(),s=lr(),i=cS(),l=ce(null),a=ce(!1),c=ce(""),f=B(()=>t.value[s.value]??{}),u=fS({searchIndex:i,routeLocale:s,query:c,maxSuggestions:r}),{focusIndex:d,focusNext:p,focusPrev:v}=dS(u);aS({input:l,hotKeys:n});const _=B(()=>a.value&&!!u.value.length),y=()=>{_.value&&v()},E=()=>{_.value&&p()},S=h=>{if(!_.value)return;const b=u.value[h];b&&o.push(b.link).then(()=>{c.value="",d.value=0})};return()=>re("form",{class:"search-box",role:"search"},[re("input",{ref:l,type:"search",placeholder:f.value.placeholder,autocomplete:"off",spellcheck:!1,value:c.value,onFocus:()=>{a.value=!0},onBlur:()=>{a.value=!1},onInput:h=>{c.value=h.target.value},onKeydown:h=>{switch(h.key){case"ArrowUp":{y();break}case"ArrowDown":{E();break}case"Enter":{h.preventDefault(),S(d.value);break}}}}),_.value&&re("ul",{class:"suggestions",onMouseleave:()=>{d.value=-1}},u.value.map(({link:h,title:b,header:I},U)=>re("li",{class:["suggestion",{focus:d.value===U}],onMouseenter:()=>{d.value=U},onMousedown:()=>{S(U)}},re("a",{href:h,onClick:V=>{V.preventDefault()}},[re("span",{class:"page-title"},b),I&&re("span",{class:"page-header"},`> ${I}`)]))))])}});var hS=["s","/"],gS={};const mS=gS,vS=hS,_S=5;var bS=Vt({enhance({app:e}){e.component("SearchBox",t=>re(pS,{locales:mS,hotKeys:vS,maxSuggestions:_S,...t}))}});const yS=Object.freeze(Object.defineProperty({__proto__:null,default:bS},Symbol.toStringTag,{value:"Module"}));XE({fontFamily:"var(--font-family)",themeVariables:{mainBkg:"#fff5cc",nodeBorder:"#cb9f0c",edgeLabelBackground:"#f8de87"}});const ES=Vt({enhance:e=>{e.app.directive}}),SS=Object.freeze(Object.defineProperty({__proto__:null,default:ES},Symbol.toStringTag,{value:"Module"})),_o=[Kv,__,A_,T_,H_,W_,Y_,t0,db,GE,qE,nS,yS,SS].map(e=>e.default).filter(Boolean),wS=JSON.parse('{"base":"/beachball/","lang":"en-US","title":"beachball","description":"The Sunniest Semantic Version Bumper","head":[],"locales":{}}');var Sr=kt(wS),CS=wm,AS=()=>{const e=rv({history:CS(Hc("/beachball/")),routes:[{name:"vuepress-route",path:"/:catchAll(.*)",components:{}}],scrollBehavior:(t,n,r)=>r||(t.hash?{el:t.hash}:{top:0})});return e.beforeResolve(async(t,n)=>{if(t.path!==n.path||n===$t){const r=$r(t.fullPath);if(r.path!==t.fullPath)return r.path;const o=await r.loader();t.meta={...r.meta,_pageChunk:o}}else t.path===n.path&&(t.meta=n.meta)}),e},kS=e=>{e.component("ClientOnly",Li),e.component("Content",Ii),e.component("RouteLink",Zo)},TS=(e,t,n)=>{const r=B(()=>t.currentRoute.value.path),o=mp((y,E)=>({get(){return y(),t.currentRoute.value.meta._pageChunk},set(S){t.currentRoute.value.meta._pageChunk=S,E()}})),s=B(()=>En.resolveLayouts(n)),i=B(()=>En.resolveRouteLocale(Sr.value.locales,r.value)),l=B(()=>En.resolveSiteLocaleData(Sr.value,i.value)),a=B(()=>o.value.comp),c=B(()=>o.value.data),f=B(()=>c.value.frontmatter),u=B(()=>En.resolvePageHeadTitle(c.value,l.value)),d=B(()=>En.resolvePageHead(u.value,f.value,l.value)),p=B(()=>En.resolvePageLang(c.value,l.value)),v=B(()=>En.resolvePageLayout(c.value,s.value)),_={layouts:s,pageData:c,pageComponent:a,pageFrontmatter:f,pageHead:d,pageHeadTitle:u,pageLang:p,pageLayout:v,redirects:Ws,routeLocale:i,routePath:r,routes:Wn,siteData:Sr,siteLocaleData:l};return e.provide(Oi,_),Object.defineProperties(e.config.globalProperties,{$frontmatter:{get:()=>f.value},$head:{get:()=>d.value},$headTitle:{get:()=>u.value},$lang:{get:()=>p.value},$page:{get:()=>c.value},$routeLocale:{get:()=>i.value},$site:{get:()=>Sr.value},$siteLocale:{get:()=>l.value},$withBase:{get:()=>Ri}}),_},xS=([e,t,n=""])=>{const r=Object.entries(t).map(([l,a])=>Et(a)?`[${l}=${JSON.stringify(a)}]`:a?`[${l}]`:"").join(""),o=`head > ${e}${r}`;return Array.from(document.querySelectorAll(o)).find(l=>l.innerText===n)??null},OS=([e,t,n])=>{if(!Et(e))return null;const r=document.createElement(e);return ki(t)&&Object.entries(t).forEach(([o,s])=>{Et(s)?r.setAttribute(o,s):s&&r.setAttribute(o,"")}),Et(n)&&r.appendChild(document.createTextNode(n)),r},PS=()=>{const e=iv(),t=lv();let n=[];const r=()=>{e.value.forEach(i=>{const l=xS(i);l&&n.push(l)})},o=()=>{const i=[];return e.value.forEach(l=>{const a=OS(l);a&&i.push(a)}),i},s=()=>{document.documentElement.lang=t.value;const i=o();n.forEach((l,a)=>{const c=i.findIndex(f=>l.isEqualNode(f));c===-1?(l.remove(),delete n[a]):i.splice(c,1)}),i.forEach(l=>document.head.appendChild(l)),n=[...n.filter(l=>!!l),...i]};On(cv,s),Ye(()=>{r(),Fe(e,s,{immediate:!1})})},LS=Sg,IS=async()=>{var r;const e=LS({name:"Vuepress",setup(){var i;PS();for(const l of _o)(i=l.setup)==null||i.call(l);const o=_o.flatMap(({rootComponents:l=[]})=>l.map(a=>re(a))),s=av();return()=>[re(s.value),o]}}),t=AS();kS(e);const n=TS(e,t,_o);{const{setupDevtools:o}=await Ge(async()=>{const{setupDevtools:s}=await import("./setupDevtools-7MC2TMWH-BKGvGW0Q.js");return{setupDevtools:s}},[]);o(e,n)}for(const o of _o)await((r=o.enhance)==null?void 0:r.call(o,{app:e,router:t,siteData:Sr}));return e.use(t),{app:e,router:t}};IS().then(({app:e,router:t})=>{t.isReady().then(()=>{e.mount("#app")})});export{Pe as _,ae as a,ue as b,oe as c,IS as createVueApp,Vh as d,Ge as e,Y as o,yi as r,C1 as s,Fe as w}; diff --git a/assets/architectureDiagram-QTIGHTN5-CaU-lPZ7.js b/assets/architectureDiagram-QTIGHTN5-CzjpVlhi.js similarity index 99% rename from assets/architectureDiagram-QTIGHTN5-CaU-lPZ7.js rename to assets/architectureDiagram-QTIGHTN5-CzjpVlhi.js index 787dca54..63e53f4f 100644 --- a/assets/architectureDiagram-QTIGHTN5-CaU-lPZ7.js +++ b/assets/architectureDiagram-QTIGHTN5-CzjpVlhi.js @@ -1,4 +1,4 @@ -import{F as xe}from"./chunk-PWCSEZZ4-BDfDPSKS.js";import{s as He}from"./chunk-VSLJSFIP-C769YIqn.js";import{c as Ve}from"./chunk-4KE642ED-DNyS68x8.js";import{p as Be}from"./gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js";import{m as T,n as We,v as je,J as Me,q as $e,bm as qe,bb as ve,Q as le,bn as fe,bo as Ze,a8 as Je,b7 as Ke,a0 as me,L as Qe,A as ti,w as ei,B as ii,F as ri,M as ni,b as oi}from"./mermaid.esm.min-DnxZBvzk.js";import"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";var _e=me((w,H)=>{T(function(C,F){typeof w=="object"&&typeof H=="object"?H.exports=F():typeof define=="function"&&define.amd?define([],F):typeof w=="object"?w.layoutBase=F():C.layoutBase=F()},"webpackUniversalModuleDefinition")(w,function(){return function(C){var F={};function A(g){if(F[g])return F[g].exports;var s=F[g]={i:g,l:!1,exports:{}};return C[g].call(s.exports,s,s.exports,A),s.l=!0,s.exports}return T(A,"__webpack_require__"),A.m=C,A.c=F,A.i=function(g){return g},A.d=function(g,s,r){A.o(g,s)||Object.defineProperty(g,s,{configurable:!1,enumerable:!0,get:r})},A.n=function(g){var s=g&&g.__esModule?T(function(){return g.default},"getDefault"):T(function(){return g},"getModuleExports");return A.d(s,"a",s),s},A.o=function(g,s){return Object.prototype.hasOwnProperty.call(g,s)},A.p="",A(A.s=28)}([function(C,F,A){function g(){}T(g,"LayoutConstants"),g.QUALITY=1,g.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,g.DEFAULT_INCREMENTAL=!1,g.DEFAULT_ANIMATION_ON_LAYOUT=!0,g.DEFAULT_ANIMATION_DURING_LAYOUT=!1,g.DEFAULT_ANIMATION_PERIOD=50,g.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,g.DEFAULT_GRAPH_MARGIN=15,g.NODE_DIMENSIONS_INCLUDE_LABELS=!1,g.SIMPLE_NODE_SIZE=40,g.SIMPLE_NODE_HALF_SIZE=g.SIMPLE_NODE_SIZE/2,g.EMPTY_COMPOUND_NODE_SIZE=40,g.MIN_EDGE_LENGTH=1,g.WORLD_BOUNDARY=1e6,g.INITIAL_WORLD_BOUNDARY=g.WORLD_BOUNDARY/1e3,g.WORLD_CENTER_X=1200,g.WORLD_CENTER_Y=900,C.exports=g},function(C,F,A){var g=A(2),s=A(8),r=A(9);function i(h,n,v){g.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=h,this.target=n}T(i,"LEdge"),i.prototype=Object.create(g.prototype);for(var t in g)i[t]=g[t];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(h){if(this.source===h)return this.target;if(this.target===h)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(h,n){for(var v=this.getOtherEnd(h),o=n.getGraphManager().getRoot();;){if(v.getOwner()==n)return v;if(v.getOwner()==o)break;v=v.getOwner().getParent()}return null},i.prototype.updateLength=function(){var h=new Array(4);this.isOverlapingSourceAndTarget=s.getIntersection(this.target.getRect(),this.source.getRect(),h),this.isOverlapingSourceAndTarget||(this.lengthX=h[0]-h[2],this.lengthY=h[1]-h[3],Math.abs(this.lengthX)<1&&(this.lengthX=r.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=r.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=r.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=r.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},C.exports=i},function(C,F,A){function g(s){this.vGraphObject=s}T(g,"LGraphObject"),C.exports=g},function(C,F,A){var g=A(2),s=A(10),r=A(13),i=A(0),t=A(16),h=A(5);function n(o,e,d,f){d==null&&f==null&&(f=e),g.call(this,f),o.graphManager!=null&&(o=o.graphManager),this.estimatedSize=s.MIN_VALUE,this.inclusionTreeDepth=s.MAX_VALUE,this.vGraphObject=f,this.edges=[],this.graphManager=o,d!=null&&e!=null?this.rect=new r(e.x,e.y,d.width,d.height):this.rect=new r}T(n,"LNode"),n.prototype=Object.create(g.prototype);for(var v in g)n[v]=g[v];n.prototype.getEdges=function(){return this.edges},n.prototype.getChild=function(){return this.child},n.prototype.getOwner=function(){return this.owner},n.prototype.getWidth=function(){return this.rect.width},n.prototype.setWidth=function(o){this.rect.width=o},n.prototype.getHeight=function(){return this.rect.height},n.prototype.setHeight=function(o){this.rect.height=o},n.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},n.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},n.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},n.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},n.prototype.getRect=function(){return this.rect},n.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},n.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},n.prototype.setRect=function(o,e){this.rect.x=o.x,this.rect.y=o.y,this.rect.width=e.width,this.rect.height=e.height},n.prototype.setCenter=function(o,e){this.rect.x=o-this.rect.width/2,this.rect.y=e-this.rect.height/2},n.prototype.setLocation=function(o,e){this.rect.x=o,this.rect.y=e},n.prototype.moveBy=function(o,e){this.rect.x+=o,this.rect.y+=e},n.prototype.getEdgeListToNode=function(o){var e=[],d=this;return d.edges.forEach(function(f){if(f.target==o){if(f.source!=d)throw"Incorrect edge source!";e.push(f)}}),e},n.prototype.getEdgesBetween=function(o){var e=[],d=this;return d.edges.forEach(function(f){if(!(f.source==d||f.target==d))throw"Incorrect edge source and/or target";(f.target==o||f.source==o)&&e.push(f)}),e},n.prototype.getNeighborsList=function(){var o=new Set,e=this;return e.edges.forEach(function(d){if(d.source==e)o.add(d.target);else{if(d.target!=e)throw"Incorrect incidency!";o.add(d.source)}}),o},n.prototype.withChildren=function(){var o=new Set,e,d;if(o.add(this),this.child!=null)for(var f=this.child.getNodes(),l=0;le?(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(e+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(d+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>d?(this.rect.y-=(this.labelHeight-d)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(d+this.labelHeight))}}},n.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},n.prototype.transform=function(o){var e=this.rect.x;e>i.WORLD_BOUNDARY?e=i.WORLD_BOUNDARY:e<-i.WORLD_BOUNDARY&&(e=-i.WORLD_BOUNDARY);var d=this.rect.y;d>i.WORLD_BOUNDARY?d=i.WORLD_BOUNDARY:d<-i.WORLD_BOUNDARY&&(d=-i.WORLD_BOUNDARY);var f=new h(e,d),l=o.inverseTransformPoint(f);this.setLocation(l.x,l.y)},n.prototype.getLeft=function(){return this.rect.x},n.prototype.getRight=function(){return this.rect.x+this.rect.width},n.prototype.getTop=function(){return this.rect.y},n.prototype.getBottom=function(){return this.rect.y+this.rect.height},n.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},C.exports=n},function(C,F,A){var g=A(0);function s(){}T(s,"FDLayoutConstants");for(var r in g)s[r]=g[r];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,C.exports=s},function(C,F,A){function g(s,r){s==null&&r==null?(this.x=0,this.y=0):(this.x=s,this.y=r)}T(g,"PointD"),g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(s){this.x=s},g.prototype.setY=function(s){this.y=s},g.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},C.exports=g},function(C,F,A){var g=A(2),s=A(10),r=A(0),i=A(7),t=A(3),h=A(1),n=A(13),v=A(12),o=A(11);function e(f,l,N){g.call(this,N),this.estimatedSize=s.MIN_VALUE,this.margin=r.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=f,l!=null&&l instanceof i?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}T(e,"LGraph"),e.prototype=Object.create(g.prototype);for(var d in g)e[d]=g[d];e.prototype.getNodes=function(){return this.nodes},e.prototype.getEdges=function(){return this.edges},e.prototype.getGraphManager=function(){return this.graphManager},e.prototype.getParent=function(){return this.parent},e.prototype.getLeft=function(){return this.left},e.prototype.getRight=function(){return this.right},e.prototype.getTop=function(){return this.top},e.prototype.getBottom=function(){return this.bottom},e.prototype.isConnected=function(){return this.isConnected},e.prototype.add=function(f,l,N){if(l==null&&N==null){var c=f;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(c)>-1)throw"Node already in graph!";return c.owner=this,this.getNodes().push(c),c}else{var E=f;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(N)>-1))throw"Source or target not in graph!";if(!(l.owner==N.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=N.owner?null:(E.source=l,E.target=N,E.isInterGraph=!1,this.getEdges().push(E),l.edges.push(E),N!=l&&N.edges.push(E),E)}},e.prototype.remove=function(f){var l=f;if(f instanceof t){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var N=l.edges.slice(),c,E=N.length,_=0;_-1&&z>-1))throw"Source and/or target doesn't know this edge!";c.source.edges.splice(X,1),c.target!=c.source&&c.target.edges.splice(z,1);var L=c.source.owner.getEdges().indexOf(c);if(L==-1)throw"Not in owner's edge list!";c.source.owner.getEdges().splice(L,1)}},e.prototype.updateLeftTop=function(){for(var f=s.MAX_VALUE,l=s.MAX_VALUE,N,c,E,_=this.getNodes(),L=_.length,X=0;XN&&(f=N),l>c&&(l=c)}return f==s.MAX_VALUE?null:(_[0].getParent().paddingLeft!=null?E=_[0].getParent().paddingLeft:E=this.margin,this.left=l-E,this.top=f-E,new v(this.left,this.top))},e.prototype.updateBounds=function(f){for(var l=s.MAX_VALUE,N=-s.MAX_VALUE,c=s.MAX_VALUE,E=-s.MAX_VALUE,_,L,X,z,V,B=this.nodes,q=B.length,x=0;x_&&(l=_),NX&&(c=X),E_&&(l=_),NX&&(c=X),E=this.nodes.length){var q=0;N.forEach(function(x){x.owner==f&&q++}),q==this.nodes.length&&(this.isConnected=!0)}},C.exports=e},function(C,F,A){var g,s=A(1);function r(i){g=A(6),this.layout=i,this.graphs=[],this.edges=[]}T(r,"LGraphManager"),r.prototype.addRoot=function(){var i=this.layout.newGraph(),t=this.layout.newNode(null),h=this.add(i,t);return this.setRootGraph(h),this.rootGraph},r.prototype.add=function(i,t,h,n,v){if(h==null&&n==null&&v==null){if(i==null)throw"Graph is null!";if(t==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(t.child!=null)throw"Already has a child!";return i.parent=t,t.child=i,i}else{v=h,n=t,h=i;var o=n.getOwner(),e=v.getOwner();if(!(o!=null&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(e!=null&&e.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==e)return h.isInterGraph=!1,o.add(h,n,v);if(h.isInterGraph=!0,h.source=n,h.target=v,this.edges.indexOf(h)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(h),!(h.source!=null&&h.target!=null))throw"Edge source and/or target is null!";if(!(h.source.edges.indexOf(h)==-1&&h.target.edges.indexOf(h)==-1))throw"Edge already in source and/or target incidency list!";return h.source.edges.push(h),h.target.edges.push(h),h}},r.prototype.remove=function(i){if(i instanceof g){var t=i;if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||t.parent!=null&&t.parent.graphManager==this))throw"Invalid parent node!";var h=[];h=h.concat(t.getEdges());for(var n,v=h.length,o=0;o=i.getRight()?t[0]+=Math.min(i.getX()-r.getX(),r.getRight()-i.getRight()):i.getX()<=r.getX()&&i.getRight()>=r.getRight()&&(t[0]+=Math.min(r.getX()-i.getX(),i.getRight()-r.getRight())),r.getY()<=i.getY()&&r.getBottom()>=i.getBottom()?t[1]+=Math.min(i.getY()-r.getY(),r.getBottom()-i.getBottom()):i.getY()<=r.getY()&&i.getBottom()>=r.getBottom()&&(t[1]+=Math.min(r.getY()-i.getY(),i.getBottom()-r.getBottom()));var v=Math.abs((i.getCenterY()-r.getCenterY())/(i.getCenterX()-r.getCenterX()));i.getCenterY()===r.getCenterY()&&i.getCenterX()===r.getCenterX()&&(v=1);var o=v*t[0],e=t[1]/v;t[0]o)return t[0]=h,t[1]=d,t[2]=v,t[3]=B,!1;if(nv)return t[0]=e,t[1]=n,t[2]=z,t[3]=o,!1;if(hv?(t[0]=l,t[1]=N,a=!0):(t[0]=f,t[1]=d,a=!0):p===u&&(h>v?(t[0]=e,t[1]=d,a=!0):(t[0]=c,t[1]=N,a=!0)),-m===u?v>h?(t[2]=V,t[3]=B,y=!0):(t[2]=z,t[3]=X,y=!0):m===u&&(v>h?(t[2]=L,t[3]=X,y=!0):(t[2]=q,t[3]=B,y=!0)),a&&y)return!1;if(h>v?n>o?(D=this.getCardinalDirection(p,u,4),O=this.getCardinalDirection(m,u,2)):(D=this.getCardinalDirection(-p,u,3),O=this.getCardinalDirection(-m,u,1)):n>o?(D=this.getCardinalDirection(-p,u,1),O=this.getCardinalDirection(-m,u,3)):(D=this.getCardinalDirection(p,u,2),O=this.getCardinalDirection(m,u,4)),!a)switch(D){case 1:k=d,M=h+-_/u,t[0]=M,t[1]=k;break;case 2:M=c,k=n+E*u,t[0]=M,t[1]=k;break;case 3:k=N,M=h+_/u,t[0]=M,t[1]=k;break;case 4:M=l,k=n+-E*u,t[0]=M,t[1]=k;break}if(!y)switch(O){case 1:W=X,U=v+-nt/u,t[2]=U,t[3]=W;break;case 2:U=q,W=o+x*u,t[2]=U,t[3]=W;break;case 3:W=B,U=v+nt/u,t[2]=U,t[3]=W;break;case 4:U=V,W=o+-x*u,t[2]=U,t[3]=W;break}}return!1},s.getCardinalDirection=function(r,i,t){return r>i?t:1+t%4},s.getIntersection=function(r,i,t,h){if(h==null)return this.getIntersection2(r,i,t);var n=r.x,v=r.y,o=i.x,e=i.y,d=t.x,f=t.y,l=h.x,N=h.y,c=void 0,E=void 0,_=void 0,L=void 0,X=void 0,z=void 0,V=void 0,B=void 0,q=void 0;return _=e-v,X=n-o,V=o*v-n*e,L=N-f,z=d-l,B=l*f-d*N,q=_*z-L*X,q===0?null:(c=(X*B-z*V)/q,E=(L*V-_*B)/q,new g(c,E))},s.angleOfVector=function(r,i,t,h){var n=void 0;return r!==t?(n=Math.atan((h-i)/(t-r)),t=0){var N=(-d+Math.sqrt(d*d-4*e*f))/(2*e),c=(-d-Math.sqrt(d*d-4*e*f))/(2*e),E=null;return N>=0&&N<=1?[N]:c>=0&&c<=1?[c]:E}else return null},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,C.exports=s},function(C,F,A){function g(){}T(g,"IMath"),g.sign=function(s){return s>0?1:s<0?-1:0},g.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},g.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},C.exports=g},function(C,F,A){function g(){}T(g,"Integer"),g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,C.exports=g},function(C,F,A){var g=function(){function n(v,o){for(var e=0;e"u"?"undefined":g(r);return r==null||i!="object"&&i!="function"},C.exports=s},function(C,F,A){function g(d){if(Array.isArray(d)){for(var f=0,l=Array(d.length);f0&&f;){for(_.push(X[0]);_.length>0&&f;){var z=_[0];_.splice(0,1),E.add(z);for(var V=z.getEdges(),c=0;c-1&&X.splice(nt,1)}E=new Set,L=new Map}}return d},e.prototype.createDummyNodesForBendpoints=function(d){for(var f=[],l=d.source,N=this.graphManager.calcLowestCommonAncestor(d.source,d.target),c=0;c0){for(var N=this.edgeToDummyNodes.get(l),c=0;c=0&&f.splice(B,1);var q=L.getNeighborsList();q.forEach(function(a){if(l.indexOf(a)<0){var y=N.get(a),p=y-1;p==1&&z.push(a),N.set(a,p)}})}l=l.concat(z),(f.length==1||f.length==2)&&(c=!0,E=f[0])}return E},e.prototype.setGraphManager=function(d){this.graphManager=d},C.exports=e},function(C,F,A){function g(){}T(g,"RandomSeed"),g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},C.exports=g},function(C,F,A){var g=A(5);function s(r,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}T(s,"Transform"),s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(r){this.lworldOrgX=r},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(r){this.lworldOrgY=r},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(r){this.lworldExtX=r},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(r){this.lworldExtY=r},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(r){this.ldeviceOrgX=r},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(r){this.ldeviceOrgY=r},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(r){this.ldeviceExtX=r},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(r){this.ldeviceExtY=r},s.prototype.transformX=function(r){var i=0,t=this.lworldExtX;return t!=0&&(i=this.ldeviceOrgX+(r-this.lworldOrgX)*this.ldeviceExtX/t),i},s.prototype.transformY=function(r){var i=0,t=this.lworldExtY;return t!=0&&(i=this.ldeviceOrgY+(r-this.lworldOrgY)*this.ldeviceExtY/t),i},s.prototype.inverseTransformX=function(r){var i=0,t=this.ldeviceExtX;return t!=0&&(i=this.lworldOrgX+(r-this.ldeviceOrgX)*this.lworldExtX/t),i},s.prototype.inverseTransformY=function(r){var i=0,t=this.ldeviceExtY;return t!=0&&(i=this.lworldOrgY+(r-this.ldeviceOrgY)*this.lworldExtY/t),i},s.prototype.inverseTransformPoint=function(r){var i=new g(this.inverseTransformX(r.x),this.inverseTransformY(r.y));return i},C.exports=s},function(C,F,A){function g(o){if(Array.isArray(o)){for(var e=0,d=Array(o.length);er.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(o-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(o>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(o-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},n.prototype.calcSpringForces=function(){for(var o=this.getAllEdges(),e,d=0;d0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d,f,l,N,c=this.getAllNodes(),E;if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),E=new Set,d=0;d_||E>_)&&(o.gravitationForceX=-this.gravityConstant*l,o.gravitationForceY=-this.gravityConstant*N)):(_=e.getEstimatedSize()*this.compoundGravityRangeFactor,(c>_||E>_)&&(o.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,o.gravitationForceY=-this.gravityConstant*N*this.compoundGravityConstant))},n.prototype.isConverged=function(){var o,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),o=this.totalDisplacement=c.length||_>=c[0].length)){for(var L=0;Lh},"_defaultCompareFunction")}]),t}();C.exports=i},function(C,F,A){function g(){}T(g,"SVD"),g.svd=function(s){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=s.length,this.n=s[0].length;var r=Math.min(this.m,this.n);this.s=function(At){for(var wt=[];At-- >0;)wt.push(0);return wt}(Math.min(this.m+1,this.n)),this.U=function(At){var wt=T(function Gt(Pt){if(Pt.length==0)return 0;for(var Bt=[],qt=0;qt0;)wt.push(0);return wt}(this.n),t=function(At){for(var wt=[];At-- >0;)wt.push(0);return wt}(this.m),h=!0,n=!0,v=Math.min(this.m-1,this.n),o=Math.max(0,Math.min(this.n-2,this.m)),e=0;e=0;u--)if(this.s[u]!==0){for(var D=u+1;D=0;Y--){if(function(At,wt){return At&&wt}(Y0;){var S=void 0,rt=void 0;for(S=y-2;S>=-1&&S!==-1;S--)if(Math.abs(i[S])<=Dt+It*(Math.abs(this.s[S])+Math.abs(this.s[S+1]))){i[S]=0;break}if(S===y-2)rt=4;else{var ht=void 0;for(ht=y-1;ht>=S&&ht!==S;ht--){var mt=(ht!==y?Math.abs(i[ht]):0)+(ht!==S+1?Math.abs(i[ht-1]):0);if(Math.abs(this.s[ht])<=Dt+It*mt){this.s[ht]=0;break}}ht===S?rt=3:ht===y-1?rt=1:(rt=2,S=ht)}switch(S++,rt){case 1:{var Ct=i[y-2];i[y-2]=0;for(var yt=y-2;yt>=S;yt--){var Et=g.hypot(this.s[yt],Ct),xt=this.s[yt]/Et,Vt=Ct/Et;if(this.s[yt]=Et,yt!==S&&(Ct=-Vt*i[yt-1],i[yt-1]=xt*i[yt-1]),n)for(var Ut=0;Ut=this.s[S+1]);){var bt=this.s[S];if(this.s[S]=this.s[S+1],this.s[S+1]=bt,n&&SMath.abs(r)?(i=r/s,i=Math.abs(s)*Math.sqrt(1+i*i)):r!=0?(i=s/r,i=Math.abs(r)*Math.sqrt(1+i*i)):i=0,i},C.exports=g},function(C,F,A){var g=function(){function i(t,h){for(var n=0;n2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,i),this.sequence1=t,this.sequence2=h,this.match_score=n,this.mismatch_penalty=v,this.gap_penalty=o,this.iMax=t.length+1,this.jMax=h.length+1,this.grid=new Array(this.iMax);for(var e=0;e=0;t--){var h=this.listeners[t];h.event===r&&h.callback===i&&this.listeners.splice(t,1)}},s.emit=function(r,i){for(var t=0;t{T(function(C,F){typeof w=="object"&&typeof H=="object"?H.exports=F(_e()):typeof define=="function"&&define.amd?define(["layout-base"],F):typeof w=="object"?w.coseBase=F(_e()):C.coseBase=F(C.layoutBase)},"webpackUniversalModuleDefinition")(w,function(C){return(()=>{var F={45:(r,i,t)=>{var h={};h.layoutBase=t(551),h.CoSEConstants=t(806),h.CoSEEdge=t(767),h.CoSEGraph=t(880),h.CoSEGraphManager=t(578),h.CoSELayout=t(765),h.CoSENode=t(991),h.ConstraintHandler=t(902),r.exports=h},806:(r,i,t)=>{var h=t(551).FDLayoutConstants;function n(){}T(n,"CoSEConstants");for(var v in h)n[v]=h[v];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=h.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,n.ENFORCE_CONSTRAINTS=!0,n.APPLY_LAYOUT=!0,n.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,n.TREE_REDUCTION_ON_INCREMENTAL=!0,n.PURE_INCREMENTAL=n.DEFAULT_INCREMENTAL,r.exports=n},767:(r,i,t)=>{var h=t(551).FDLayoutEdge;function n(o,e,d){h.call(this,o,e,d)}T(n,"CoSEEdge"),n.prototype=Object.create(h.prototype);for(var v in h)n[v]=h[v];r.exports=n},880:(r,i,t)=>{var h=t(551).LGraph;function n(o,e,d){h.call(this,o,e,d)}T(n,"CoSEGraph"),n.prototype=Object.create(h.prototype);for(var v in h)n[v]=h[v];r.exports=n},578:(r,i,t)=>{var h=t(551).LGraphManager;function n(o){h.call(this,o)}T(n,"CoSEGraphManager"),n.prototype=Object.create(h.prototype);for(var v in h)n[v]=h[v];r.exports=n},765:(r,i,t)=>{var h=t(551).FDLayout,n=t(578),v=t(880),o=t(991),e=t(767),d=t(806),f=t(902),l=t(551).FDLayoutConstants,N=t(551).LayoutConstants,c=t(551).Point,E=t(551).PointD,_=t(551).DimensionD,L=t(551).Layout,X=t(551).Integer,z=t(551).IGeometry,V=t(551).LGraph,B=t(551).Transform,q=t(551).LinkedList;function x(){h.call(this),this.toBeTiled={},this.constraints={}}T(x,"CoSELayout"),x.prototype=Object.create(h.prototype);for(var nt in h)x[nt]=h[nt];x.prototype.newGraphManager=function(){var a=new n(this);return this.graphManager=a,a},x.prototype.newGraph=function(a){return new v(null,this.graphManager,a)},x.prototype.newNode=function(a){return new o(this.graphManager,a)},x.prototype.newEdge=function(a){return new e(null,null,a)},x.prototype.initParameters=function(){h.prototype.initParameters.call(this,arguments),this.isSubLayout||(d.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=d.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=d.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},x.prototype.initSpringEmbedder=function(){h.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},x.prototype.layout=function(){var a=N.DEFAULT_CREATE_BENDS_AS_NEEDED;return a&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},x.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(d.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var a=new Set(this.getAllNodes()),y=this.nodesWithGravity.filter(function(m){return a.has(m)});this.graphManager.setAllNodesToApplyGravitation(y)}}else{var p=this.getFlatForest();if(p.length>0)this.positionNodesRadially(p);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var a=new Set(this.getAllNodes()),y=this.nodesWithGravity.filter(function(D){return a.has(D)});this.graphManager.setAllNodesToApplyGravitation(y),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(f.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),d.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},x.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var a=new Set(this.getAllNodes()),y=this.nodesWithGravity.filter(function(u){return a.has(u)});this.graphManager.setAllNodesToApplyGravitation(y),this.graphManager.updateBounds(),this.updateGrid(),d.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),d.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var p=!this.isTreeGrowing&&!this.isGrowthFinished,m=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(p,m),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},x.prototype.getPositionsData=function(){for(var a=this.graphManager.getAllNodes(),y={},p=0;p0&&this.updateDisplacements();for(var p=0;p0&&(m.fixedNodeWeight=D)}}if(this.constraints.relativePlacementConstraint){var O=new Map,M=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(b){a.fixedNodesOnHorizontal.add(b),a.fixedNodesOnVertical.add(b)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var k=this.constraints.alignmentConstraint.vertical,p=0;p=2*b.length/3;it--)G=Math.floor(Math.random()*(it+1)),Z=b[it],b[it]=b[G],b[G]=Z;return b},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(b){if(b.left){var G=O.has(b.left)?O.get(b.left):b.left,Z=O.has(b.right)?O.get(b.right):b.right;a.nodesInRelativeHorizontal.includes(G)||(a.nodesInRelativeHorizontal.push(G),a.nodeToRelativeConstraintMapHorizontal.set(G,[]),a.dummyToNodeForVerticalAlignment.has(G)?a.nodeToTempPositionMapHorizontal.set(G,a.idToNodeMap.get(a.dummyToNodeForVerticalAlignment.get(G)[0]).getCenterX()):a.nodeToTempPositionMapHorizontal.set(G,a.idToNodeMap.get(G).getCenterX())),a.nodesInRelativeHorizontal.includes(Z)||(a.nodesInRelativeHorizontal.push(Z),a.nodeToRelativeConstraintMapHorizontal.set(Z,[]),a.dummyToNodeForVerticalAlignment.has(Z)?a.nodeToTempPositionMapHorizontal.set(Z,a.idToNodeMap.get(a.dummyToNodeForVerticalAlignment.get(Z)[0]).getCenterX()):a.nodeToTempPositionMapHorizontal.set(Z,a.idToNodeMap.get(Z).getCenterX())),a.nodeToRelativeConstraintMapHorizontal.get(G).push({right:Z,gap:b.gap}),a.nodeToRelativeConstraintMapHorizontal.get(Z).push({left:G,gap:b.gap})}else{var it=M.has(b.top)?M.get(b.top):b.top,ut=M.has(b.bottom)?M.get(b.bottom):b.bottom;a.nodesInRelativeVertical.includes(it)||(a.nodesInRelativeVertical.push(it),a.nodeToRelativeConstraintMapVertical.set(it,[]),a.dummyToNodeForHorizontalAlignment.has(it)?a.nodeToTempPositionMapVertical.set(it,a.idToNodeMap.get(a.dummyToNodeForHorizontalAlignment.get(it)[0]).getCenterY()):a.nodeToTempPositionMapVertical.set(it,a.idToNodeMap.get(it).getCenterY())),a.nodesInRelativeVertical.includes(ut)||(a.nodesInRelativeVertical.push(ut),a.nodeToRelativeConstraintMapVertical.set(ut,[]),a.dummyToNodeForHorizontalAlignment.has(ut)?a.nodeToTempPositionMapVertical.set(ut,a.idToNodeMap.get(a.dummyToNodeForHorizontalAlignment.get(ut)[0]).getCenterY()):a.nodeToTempPositionMapVertical.set(ut,a.idToNodeMap.get(ut).getCenterY())),a.nodeToRelativeConstraintMapVertical.get(it).push({bottom:ut,gap:b.gap}),a.nodeToRelativeConstraintMapVertical.get(ut).push({top:it,gap:b.gap})}});else{var W=new Map,j=new Map;this.constraints.relativePlacementConstraint.forEach(function(b){if(b.left){var G=O.has(b.left)?O.get(b.left):b.left,Z=O.has(b.right)?O.get(b.right):b.right;W.has(G)?W.get(G).push(Z):W.set(G,[Z]),W.has(Z)?W.get(Z).push(G):W.set(Z,[G])}else{var it=M.has(b.top)?M.get(b.top):b.top,ut=M.has(b.bottom)?M.get(b.bottom):b.bottom;j.has(it)?j.get(it).push(ut):j.set(it,[ut]),j.has(ut)?j.get(ut).push(it):j.set(ut,[it])}});var Y=T(function(b,G){var Z=[],it=[],ut=new q,It=new Set,Dt=0;return b.forEach(function(S,rt){if(!It.has(rt)){Z[Dt]=[],it[Dt]=!1;var ht=rt;for(ut.push(ht),It.add(ht),Z[Dt].push(ht);ut.length!=0;){ht=ut.shift(),G.has(ht)&&(it[Dt]=!0);var mt=b.get(ht);mt.forEach(function(Ct){It.has(Ct)||(ut.push(Ct),It.add(Ct),Z[Dt].push(Ct))})}Dt++}}),{components:Z,isFixed:it}},"constructComponents"),K=Y(W,a.fixedNodesOnHorizontal);this.componentsOnHorizontal=K.components,this.fixedComponentsOnHorizontal=K.isFixed;var P=Y(j,a.fixedNodesOnVertical);this.componentsOnVertical=P.components,this.fixedComponentsOnVertical=P.isFixed}}},x.prototype.updateDisplacements=function(){var a=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(P){var b=a.idToNodeMap.get(P.nodeId);b.displacementX=0,b.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var y=this.constraints.alignmentConstraint.vertical,p=0;p1){var M;for(M=0;Mm&&(m=Math.floor(O.y)),D=Math.floor(O.x+d.DEFAULT_COMPONENT_SEPERATION)}this.transform(new E(N.WORLD_CENTER_X-O.x/2,N.WORLD_CENTER_Y-O.y/2))},x.radialLayout=function(a,y,p){var m=Math.max(this.maxDiagonalInTree(a),d.DEFAULT_RADIAL_SEPARATION);x.branchRadialLayout(y,null,0,359,0,m);var u=V.calculateBounds(a),D=new B;D.setDeviceOrgX(u.getMinX()),D.setDeviceOrgY(u.getMinY()),D.setWorldOrgX(p.x),D.setWorldOrgY(p.y);for(var O=0;O1;){var Z=G[0];G.splice(0,1);var it=j.indexOf(Z);it>=0&&j.splice(it,1),P--,Y--}y!=null?b=(j.indexOf(G[0])+1)%P:b=0;for(var ut=Math.abs(m-p)/Y,It=b;K!=Y;It=++It%P){var Dt=j[It].getOtherEnd(a);if(Dt!=y){var S=(p+K*ut)%360,rt=(S+ut)%360;x.branchRadialLayout(Dt,a,S,rt,u+D,D),K++}}},x.maxDiagonalInTree=function(a){for(var y=X.MIN_VALUE,p=0;py&&(y=u)}return y},x.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},x.prototype.groupZeroDegreeMembers=function(){var a=this,y={};this.memberGroups={},this.idToDummyNode={};for(var p=[],m=this.graphManager.getAllNodes(),u=0;u"u"&&(y[M]=[]),y[M]=y[M].concat(D)}Object.keys(y).forEach(function(k){if(y[k].length>1){var U="DummyCompound_"+k;a.memberGroups[U]=y[k];var W=y[k][0].getParent(),j=new o(a.graphManager);j.id=U,j.paddingLeft=W.paddingLeft||0,j.paddingRight=W.paddingRight||0,j.paddingBottom=W.paddingBottom||0,j.paddingTop=W.paddingTop||0,a.idToDummyNode[U]=j;var Y=a.getGraphManager().add(a.newGraph(),j),K=W.getChild();K.add(j);for(var P=0;Pu?(m.rect.x-=(m.labelWidth-u)/2,m.setWidth(m.labelWidth),m.labelMarginLeft=(m.labelWidth-u)/2):m.labelPosHorizontal=="right"&&m.setWidth(u+m.labelWidth)),m.labelHeight&&(m.labelPosVertical=="top"?(m.rect.y-=m.labelHeight,m.setHeight(D+m.labelHeight),m.labelMarginTop=m.labelHeight):m.labelPosVertical=="center"&&m.labelHeight>D?(m.rect.y-=(m.labelHeight-D)/2,m.setHeight(m.labelHeight),m.labelMarginTop=(m.labelHeight-D)/2):m.labelPosVertical=="bottom"&&m.setHeight(D+m.labelHeight))}})},x.prototype.repopulateCompounds=function(){for(var a=this.compoundOrder.length-1;a>=0;a--){var y=this.compoundOrder[a],p=y.id,m=y.paddingLeft,u=y.paddingTop,D=y.labelMarginLeft,O=y.labelMarginTop;this.adjustLocations(this.tiledMemberPack[p],y.rect.x,y.rect.y,m,u,D,O)}},x.prototype.repopulateZeroDegreeMembers=function(){var a=this,y=this.tiledZeroDegreePack;Object.keys(y).forEach(function(p){var m=a.idToDummyNode[p],u=m.paddingLeft,D=m.paddingTop,O=m.labelMarginLeft,M=m.labelMarginTop;a.adjustLocations(y[p],m.rect.x,m.rect.y,u,D,O,M)})},x.prototype.getToBeTiled=function(a){var y=a.id;if(this.toBeTiled[y]!=null)return this.toBeTiled[y];var p=a.getChild();if(p==null)return this.toBeTiled[y]=!1,!1;for(var m=p.getNodes(),u=0;u0)return this.toBeTiled[y]=!1,!1;if(D.getChild()==null){this.toBeTiled[D.id]=!1;continue}if(!this.getToBeTiled(D))return this.toBeTiled[y]=!1,!1}return this.toBeTiled[y]=!0,!0},x.prototype.getNodeDegree=function(a){for(var y=a.id,p=a.getEdges(),m=0,u=0;uW&&(W=Y.rect.height)}p+=W+a.verticalPadding}},x.prototype.tileCompoundMembers=function(a,y){var p=this;this.tiledMemberPack=[],Object.keys(a).forEach(function(m){var u=y[m];if(p.tiledMemberPack[m]=p.tileNodes(a[m],u.paddingLeft+u.paddingRight),u.rect.width=p.tiledMemberPack[m].width,u.rect.height=p.tiledMemberPack[m].height,u.setCenter(p.tiledMemberPack[m].centerX,p.tiledMemberPack[m].centerY),u.labelMarginLeft=0,u.labelMarginTop=0,d.NODE_DIMENSIONS_INCLUDE_LABELS){var D=u.rect.width,O=u.rect.height;u.labelWidth&&(u.labelPosHorizontal=="left"?(u.rect.x-=u.labelWidth,u.setWidth(D+u.labelWidth),u.labelMarginLeft=u.labelWidth):u.labelPosHorizontal=="center"&&u.labelWidth>D?(u.rect.x-=(u.labelWidth-D)/2,u.setWidth(u.labelWidth),u.labelMarginLeft=(u.labelWidth-D)/2):u.labelPosHorizontal=="right"&&u.setWidth(D+u.labelWidth)),u.labelHeight&&(u.labelPosVertical=="top"?(u.rect.y-=u.labelHeight,u.setHeight(O+u.labelHeight),u.labelMarginTop=u.labelHeight):u.labelPosVertical=="center"&&u.labelHeight>O?(u.rect.y-=(u.labelHeight-O)/2,u.setHeight(u.labelHeight),u.labelMarginTop=(u.labelHeight-O)/2):u.labelPosVertical=="bottom"&&u.setHeight(O+u.labelHeight))}})},x.prototype.tileNodes=function(a,y){var p=this.tileNodesByFavoringDim(a,y,!0),m=this.tileNodesByFavoringDim(a,y,!1),u=this.getOrgRatio(p),D=this.getOrgRatio(m),O;return DM&&(M=P.getWidth())});var k=D/u,U=O/u,W=Math.pow(p-m,2)+4*(k+m)*(U+p)*u,j=(m-p+Math.sqrt(W))/(2*(k+m)),Y;y?(Y=Math.ceil(j),Y==j&&Y++):Y=Math.floor(j);var K=Y*(k+m)-m;return M>K&&(K=M),K+=m*2,K},x.prototype.tileNodesByFavoringDim=function(a,y,p){var m=d.TILING_PADDING_VERTICAL,u=d.TILING_PADDING_HORIZONTAL,D=d.TILING_COMPARE_BY,O={rows:[],rowWidth:[],rowHeight:[],width:0,height:y,verticalPadding:m,horizontalPadding:u,centerX:0,centerY:0};D&&(O.idealRowWidth=this.calcIdealRowWidth(a,p));var M=T(function(P){return P.rect.width*P.rect.height},"getNodeArea"),k=T(function(P,b){return M(b)-M(P)},"areaCompareFcn");a.sort(function(P,b){var G=k;return O.idealRowWidth?(G=D,G(P.id,b.id)):G(P,b)});for(var U=0,W=0,j=0;j0&&(O+=a.horizontalPadding),a.rowWidth[p]=O,a.width0&&(M+=a.verticalPadding);var k=0;M>a.rowHeight[p]&&(k=a.rowHeight[p],a.rowHeight[p]=M,k=a.rowHeight[p]-k),a.height+=k,a.rows[p].push(y)},x.prototype.getShortestRowIndex=function(a){for(var y=-1,p=Number.MAX_VALUE,m=0;mp&&(y=m,p=a.rowWidth[m]);return y},x.prototype.canAddHorizontal=function(a,y,p){if(a.idealRowWidth){var m=a.rows.length-1,u=a.rowWidth[m];return u+y+a.horizontalPadding<=a.idealRowWidth}var D=this.getShortestRowIndex(a);if(D<0)return!0;var O=a.rowWidth[D];if(O+a.horizontalPadding+y<=a.width)return!0;var M=0;a.rowHeight[D]0&&(M=p+a.verticalPadding-a.rowHeight[D]);var k;a.width-O>=y+a.horizontalPadding?k=(a.height+M)/(O+y+a.horizontalPadding):k=(a.height+M)/a.width,M=p+a.verticalPadding;var U;return a.widthD&&y!=p){m.splice(-1,1),a.rows[p].push(u),a.rowWidth[y]=a.rowWidth[y]-D,a.rowWidth[p]=a.rowWidth[p]+D,a.width=a.rowWidth[instance.getLongestRowIndex(a)];for(var O=Number.MIN_VALUE,M=0;MO&&(O=m[M].height);y>0&&(O+=a.verticalPadding);var k=a.rowHeight[y]+a.rowHeight[p];a.rowHeight[y]=O,a.rowHeight[p]0)for(var K=u;K<=D;K++)Y[0]+=this.grid[K][O-1].length+this.grid[K][O].length-1;if(D0)for(var K=O;K<=M;K++)Y[3]+=this.grid[u-1][K].length+this.grid[u][K].length-1;for(var P=X.MAX_VALUE,b,G,Z=0;Z{var h=t(551).FDLayoutNode,n=t(551).IMath;function v(e,d,f,l){h.call(this,e,d,f,l)}T(v,"CoSENode"),v.prototype=Object.create(h.prototype);for(var o in h)v[o]=h[o];v.prototype.calculateDisplacement=function(){var e=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementX=e.coolingFactor*e.maxNodeDisplacement*n.sign(this.displacementX)),Math.abs(this.displacementY)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementY=e.coolingFactor*e.maxNodeDisplacement*n.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},v.prototype.propogateDisplacementToChildren=function(e,d){for(var f=this.getChild().getNodes(),l,N=0;N{function h(f){if(Array.isArray(f)){for(var l=0,N=Array(f.length);l0){var at=0;st.forEach(function(ft){R=="horizontal"?(tt.set(ft,c.has(ft)?E[c.get(ft)]:J.get(ft)),at+=tt.get(ft)):(tt.set(ft,c.has(ft)?_[c.get(ft)]:J.get(ft)),at+=tt.get(ft))}),at=at/st.length,ot.forEach(function(ft){$.has(ft)||tt.set(ft,at)})}else{var Tt=0;ot.forEach(function(ft){R=="horizontal"?Tt+=c.has(ft)?E[c.get(ft)]:J.get(ft):Tt+=c.has(ft)?_[c.get(ft)]:J.get(ft)}),Tt=Tt/ot.length,ot.forEach(function(ft){tt.set(ft,Tt)})}});for(var _t=T(function(){var ot=Nt.shift(),st=I.get(ot);st.forEach(function(at){if(tt.get(at.id)ft&&(ft=Pt),Btbt&&(bt=Bt)}}catch(Kt){Ft=!0,jt=Kt}finally{try{!Rt&&At.return&&At.return()}finally{if(Ft)throw jt}}var qt=(at+ft)/2-(Tt+bt)/2,ne=!0,Qt=!1,te=void 0;try{for(var Jt=ot[Symbol.iterator](),ee;!(ne=(ee=Jt.next()).done);ne=!0){var ae=ee.value;tt.set(ae,tt.get(ae)+qt)}}catch(Kt){Qt=!0,te=Kt}finally{try{!ne&&Jt.return&&Jt.return()}finally{if(Qt)throw te}}})}return tt},"findAppropriatePositionForRelativePlacement"),nt=T(function(I){var R=0,$=0,J=0,Q=0;if(I.forEach(function(gt){gt.left?E[c.get(gt.left)]-E[c.get(gt.right)]>=0?R++:$++:_[c.get(gt.top)]-_[c.get(gt.bottom)]>=0?J++:Q++}),R>$&&J>Q)for(var pt=0;pt$)for(var dt=0;dtQ)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(I,R){m[R]=[I.position.x,I.position.y],u[R]=[E[c.get(I.nodeId)],_[c.get(I.nodeId)]]}),D=!0;else if(l.alignmentConstraint)(function(){var I=0;if(l.alignmentConstraint.vertical){for(var R=l.alignmentConstraint.vertical,$=T(function(tt){var gt=new Set;R[tt].forEach(function(et){gt.add(et)});var Nt=new Set([].concat(h(gt)).filter(function(et){return M.has(et)})),_t=void 0;Nt.size>0?_t=E[c.get(Nt.values().next().value)]:_t=q(gt).x,R[tt].forEach(function(et){m[I]=[_t,_[c.get(et)]],u[I]=[E[c.get(et)],_[c.get(et)]],I++})},"_loop2"),J=0;J0?_t=E[c.get(Nt.values().next().value)]:_t=q(gt).y,Q[tt].forEach(function(et){m[I]=[E[c.get(et)],_t],u[I]=[E[c.get(et)],_[c.get(et)]],I++})},"_loop3"),dt=0;dtj&&(j=W[K].length,Y=K);if(j0){var xt={x:0,y:0};l.fixedNodeConstraint.forEach(function(I,R){var $={x:E[c.get(I.nodeId)],y:_[c.get(I.nodeId)]},J=I.position,Q=B(J,$);xt.x+=Q.x,xt.y+=Q.y}),xt.x/=l.fixedNodeConstraint.length,xt.y/=l.fixedNodeConstraint.length,E.forEach(function(I,R){E[R]+=xt.x}),_.forEach(function(I,R){_[R]+=xt.y}),l.fixedNodeConstraint.forEach(function(I){E[c.get(I.nodeId)]=I.position.x,_[c.get(I.nodeId)]=I.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var Vt=l.alignmentConstraint.vertical,Ut=T(function(I){var R=new Set;Vt[I].forEach(function(Q){R.add(Q)});var $=new Set([].concat(h(R)).filter(function(Q){return M.has(Q)})),J=void 0;$.size>0?J=E[c.get($.values().next().value)]:J=q(R).x,R.forEach(function(Q){M.has(Q)||(E[c.get(Q)]=J)})},"_loop4"),kt=0;kt0?J=_[c.get($.values().next().value)]:J=q(R).y,R.forEach(function(Q){M.has(Q)||(_[c.get(Q)]=J)})},"_loop5"),Yt=0;Yt{r.exports=C}},A={};function g(r){var i=A[r];if(i!==void 0)return i.exports;var t=A[r]={exports:{}};return F[r](t,t.exports,g),t.exports}T(g,"__webpack_require__");var s=g(45);return s})()})}),ai=me((w,H)=>{T(function(C,F){typeof w=="object"&&typeof H=="object"?H.exports=F(Le()):typeof define=="function"&&define.amd?define(["cose-base"],F):typeof w=="object"?w.cytoscapeFcose=F(Le()):C.cytoscapeFcose=F(C.coseBase)},"webpackUniversalModuleDefinition")(w,function(C){return(()=>{var F={658:r=>{r.exports=Object.assign!=null?Object.assign.bind(Object):function(i){for(var t=arguments.length,h=Array(t>1?t-1:0),n=1;n{var h=function(){function o(e,d){var f=[],l=!0,N=!1,c=void 0;try{for(var E=e[Symbol.iterator](),_;!(l=(_=E.next()).done)&&(f.push(_.value),!(d&&f.length===d));l=!0);}catch(L){N=!0,c=L}finally{try{!l&&E.return&&E.return()}finally{if(N)throw c}}return f}return T(o,"sliceIterator"),function(e,d){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return o(e,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=t(140).layoutBase.LinkedList,v={};v.getTopMostNodes=function(o){for(var e={},d=0;d0&&m.merge(M)});for(var u=0;u1){_=c[0],L=_.connectedEdges().length,c.forEach(function(m){m.connectedEdges().length0&&f.set("dummy"+(f.size+1),V),B},v.relocateComponent=function(o,e,d){if(!d.fixedNodeConstraint){var f=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,N=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY;if(d.quality=="draft"){var E=!0,_=!1,L=void 0;try{for(var X=e.nodeIndexes[Symbol.iterator](),z;!(E=(z=X.next()).done);E=!0){var V=z.value,B=h(V,2),q=B[0],x=B[1],nt=d.cy.getElementById(q);if(nt){var a=nt.boundingBox(),y=e.xCoords[x]-a.w/2,p=e.xCoords[x]+a.w/2,m=e.yCoords[x]-a.h/2,u=e.yCoords[x]+a.h/2;yl&&(l=p),mc&&(c=u)}}}catch(U){_=!0,L=U}finally{try{!E&&X.return&&X.return()}finally{if(_)throw L}}var D=o.x-(l+f)/2,O=o.y-(c+N)/2;e.xCoords=e.xCoords.map(function(U){return U+D}),e.yCoords=e.yCoords.map(function(U){return U+O})}else{Object.keys(e).forEach(function(U){var W=e[U],j=W.getRect().x,Y=W.getRect().x+W.getRect().width,K=W.getRect().y,P=W.getRect().y+W.getRect().height;jl&&(l=Y),Kc&&(c=P)});var M=o.x-(l+f)/2,k=o.y-(c+N)/2;Object.keys(e).forEach(function(U){var W=e[U];W.setCenter(W.getCenterX()+M,W.getCenterY()+k)})}}},v.calcBoundingBox=function(o,e,d,f){for(var l=Number.MAX_SAFE_INTEGER,N=Number.MIN_SAFE_INTEGER,c=Number.MAX_SAFE_INTEGER,E=Number.MIN_SAFE_INTEGER,_=void 0,L=void 0,X=void 0,z=void 0,V=o.descendants().not(":parent"),B=V.length,q=0;q_&&(l=_),NX&&(c=X),E{var h=t(548),n=t(140).CoSELayout,v=t(140).CoSENode,o=t(140).layoutBase.PointD,e=t(140).layoutBase.DimensionD,d=t(140).layoutBase.LayoutConstants,f=t(140).layoutBase.FDLayoutConstants,l=t(140).CoSEConstants,N=T(function(c,E){var _=c.cy,L=c.eles,X=L.nodes(),z=L.edges(),V=void 0,B=void 0,q=void 0,x={};c.randomize&&(V=E.nodeIndexes,B=E.xCoords,q=E.yCoords);var nt=T(function(M){return typeof M=="function"},"isFn"),a=T(function(M,k){return nt(M)?M(k):M},"optFn"),y=h.calcParentsWithoutChildren(_,L),p=T(function M(k,U,W,j){for(var Y=U.length,K=0;K0){var ut=void 0;ut=W.getGraphManager().add(W.newGraph(),G),M(ut,b,W,j)}}},"processChildrenList"),m=T(function(M,k,U){for(var W=0,j=0,Y=0;Y0?l.DEFAULT_EDGE_LENGTH=f.DEFAULT_EDGE_LENGTH=W/j:nt(c.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=f.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=f.DEFAULT_EDGE_LENGTH=c.idealEdgeLength,l.MIN_REPULSION_DIST=f.MIN_REPULSION_DIST=f.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH)},"processEdges"),u=T(function(M,k){k.fixedNodeConstraint&&(M.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(M.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(M.constraints.relativePlacementConstraint=k.relativePlacementConstraint)},"processConstraints");c.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=f.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.nestingFactor),c.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=f.DEFAULT_GRAVITY_STRENGTH=c.gravity),c.numIter!=null&&(l.MAX_ITERATIONS=f.MAX_ITERATIONS=c.numIter),c.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=f.DEFAULT_GRAVITY_RANGE_FACTOR=c.gravityRange),c.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=f.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.gravityCompound),c.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=f.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.gravityRangeCompound),c.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=f.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.initialEnergyOnIncremental),c.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=c.tilingCompareBy),c.quality=="proof"?d.QUALITY=2:d.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=f.NODE_DIMENSIONS_INCLUDE_LABELS=d.NODE_DIMENSIONS_INCLUDE_LABELS=c.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=f.DEFAULT_INCREMENTAL=d.DEFAULT_INCREMENTAL=!c.randomize,l.ANIMATE=f.ANIMATE=d.ANIMATE=c.animate,l.TILE=c.tile,l.TILING_PADDING_VERTICAL=typeof c.tilingPaddingVertical=="function"?c.tilingPaddingVertical.call():c.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof c.tilingPaddingHorizontal=="function"?c.tilingPaddingHorizontal.call():c.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=f.DEFAULT_INCREMENTAL=d.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!c.randomize,d.DEFAULT_UNIFORM_LEAF_NODE_SIZES=c.uniformNodeDimensions,c.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),c.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),c.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),c.step=="all"&&(c.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),c.fixedNodeConstraint||c.alignmentConstraint||c.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var D=new n,O=D.newGraphManager();return p(O.addRoot(),h.getTopMostNodes(X),D,c),m(D,O,z),u(D,c),D.runLayout(),x},"coseLayout");r.exports={coseLayout:N}},212:(r,i,t)=>{var h=function(){function E(_,L){for(var X=0;X0)if(y){var p=o.getTopMostNodes(L.eles.nodes());if(q=o.connectComponents(X,L.eles,p),q.forEach(function(S){var rt=S.boundingBox();x.push({x:rt.x1+rt.w/2,y:rt.y1+rt.h/2})}),L.randomize&&q.forEach(function(S){L.eles=S,V.push(d(L))}),L.quality=="default"||L.quality=="proof"){var m=X.collection();if(L.tile){var u=new Map,D=[],O=[],M=0,k={nodeIndexes:u,xCoords:D,yCoords:O},U=[];if(q.forEach(function(S,rt){S.edges().length==0&&(S.nodes().forEach(function(ht,mt){m.merge(S.nodes()[mt]),ht.isParent()||(k.nodeIndexes.set(S.nodes()[mt].id(),M++),k.xCoords.push(S.nodes()[0].position().x),k.yCoords.push(S.nodes()[0].position().y))}),U.push(rt))}),m.length>1){var W=m.boundingBox();x.push({x:W.x1+W.w/2,y:W.y1+W.h/2}),q.push(m),V.push(k);for(var j=U.length-1;j>=0;j--)q.splice(U[j],1),V.splice(U[j],1),x.splice(U[j],1)}}q.forEach(function(S,rt){L.eles=S,B.push(l(L,V[rt])),o.relocateComponent(x[rt],B[rt],L)})}else q.forEach(function(S,rt){o.relocateComponent(x[rt],V[rt],L)});var Y=new Set;if(q.length>1){var K=[],P=z.filter(function(S){return S.css("display")=="none"});q.forEach(function(S,rt){var ht=void 0;if(L.quality=="draft"&&(ht=V[rt].nodeIndexes),S.nodes().not(P).length>0){var mt={};mt.edges=[],mt.nodes=[];var Ct=void 0;S.nodes().not(P).forEach(function(yt){if(L.quality=="draft")if(!yt.isParent())Ct=ht.get(yt.id()),mt.nodes.push({x:V[rt].xCoords[Ct]-yt.boundingbox().w/2,y:V[rt].yCoords[Ct]-yt.boundingbox().h/2,width:yt.boundingbox().w,height:yt.boundingbox().h});else{var Et=o.calcBoundingBox(yt,V[rt].xCoords,V[rt].yCoords,ht);mt.nodes.push({x:Et.topLeftX,y:Et.topLeftY,width:Et.width,height:Et.height})}else B[rt][yt.id()]&&mt.nodes.push({x:B[rt][yt.id()].getLeft(),y:B[rt][yt.id()].getTop(),width:B[rt][yt.id()].getWidth(),height:B[rt][yt.id()].getHeight()})}),S.edges().forEach(function(yt){var Et=yt.source(),xt=yt.target();if(Et.css("display")!="none"&&xt.css("display")!="none")if(L.quality=="draft"){var Vt=ht.get(Et.id()),Ut=ht.get(xt.id()),kt=[],Mt=[];if(Et.isParent()){var Xt=o.calcBoundingBox(Et,V[rt].xCoords,V[rt].yCoords,ht);kt.push(Xt.topLeftX+Xt.width/2),kt.push(Xt.topLeftY+Xt.height/2)}else kt.push(V[rt].xCoords[Vt]),kt.push(V[rt].yCoords[Vt]);if(xt.isParent()){var Yt=o.calcBoundingBox(xt,V[rt].xCoords,V[rt].yCoords,ht);Mt.push(Yt.topLeftX+Yt.width/2),Mt.push(Yt.topLeftY+Yt.height/2)}else Mt.push(V[rt].xCoords[Ut]),Mt.push(V[rt].yCoords[Ut]);mt.edges.push({startX:kt[0],startY:kt[1],endX:Mt[0],endY:Mt[1]})}else B[rt][Et.id()]&&B[rt][xt.id()]&&mt.edges.push({startX:B[rt][Et.id()].getCenterX(),startY:B[rt][Et.id()].getCenterY(),endX:B[rt][xt.id()].getCenterX(),endY:B[rt][xt.id()].getCenterY()})}),mt.nodes.length>0&&(K.push(mt),Y.add(rt))}});var b=a.packComponents(K,L.randomize).shifts;if(L.quality=="draft")V.forEach(function(S,rt){var ht=S.xCoords.map(function(Ct){return Ct+b[rt].dx}),mt=S.yCoords.map(function(Ct){return Ct+b[rt].dy});S.xCoords=ht,S.yCoords=mt});else{var G=0;Y.forEach(function(S){Object.keys(B[S]).forEach(function(rt){var ht=B[S][rt];ht.setCenter(ht.getCenterX()+b[G].dx,ht.getCenterY()+b[G].dy)}),G++})}}}else{var Z=L.eles.boundingBox();if(x.push({x:Z.x1+Z.w/2,y:Z.y1+Z.h/2}),L.randomize){var it=d(L);V.push(it)}L.quality=="default"||L.quality=="proof"?(B.push(l(L,V[0])),o.relocateComponent(x[0],B[0],L)):o.relocateComponent(x[0],V[0],L)}var ut=T(function(S,rt){if(L.quality=="default"||L.quality=="proof"){typeof S=="number"&&(S=rt);var ht=void 0,mt=void 0,Ct=S.data("id");return B.forEach(function(Et){Ct in Et&&(ht={x:Et[Ct].getRect().getCenterX(),y:Et[Ct].getRect().getCenterY()},mt=Et[Ct])}),L.nodeDimensionsIncludeLabels&&(mt.labelWidth&&(mt.labelPosHorizontal=="left"?ht.x+=mt.labelWidth/2:mt.labelPosHorizontal=="right"&&(ht.x-=mt.labelWidth/2)),mt.labelHeight&&(mt.labelPosVertical=="top"?ht.y+=mt.labelHeight/2:mt.labelPosVertical=="bottom"&&(ht.y-=mt.labelHeight/2))),ht==null&&(ht={x:S.position("x"),y:S.position("y")}),{x:ht.x,y:ht.y}}else{var yt=void 0;return V.forEach(function(Et){var xt=Et.nodeIndexes.get(S.id());xt!=null&&(yt={x:Et.xCoords[xt],y:Et.yCoords[xt]})}),yt==null&&(yt={x:S.position("x"),y:S.position("y")}),{x:yt.x,y:yt.y}}},"getPositions");if(L.quality=="default"||L.quality=="proof"||L.randomize){var It=o.calcParentsWithoutChildren(X,z),Dt=z.filter(function(S){return S.css("display")=="none"});L.eles=z.not(Dt),z.nodes().not(":parent").not(Dt).layoutPositions(_,L,ut),It.length>0&&It.forEach(function(S){S.position(ut(S))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")},"run")}]),E}();r.exports=c},657:(r,i,t)=>{var h=t(548),n=t(140).layoutBase.Matrix,v=t(140).layoutBase.SVD,o=T(function(e){var d=e.cy,f=e.eles,l=f.nodes(),N=f.nodes(":parent"),c=new Map,E=new Map,_=new Map,L=[],X=[],z=[],V=[],B=[],q=[],x=[],nt=[],a=void 0,y=1e8,p=1e-9,m=e.piTol,u=e.samplingType,D=e.nodeSeparation,O=void 0,M=T(function(){for(var lt=0,I=0,R=!1;I=J;){pt=$[J++];for(var et=L[pt],Ot=0;Otgt&&(gt=B[st],Nt=st)}return Nt},"BFS"),U=T(function(lt){var I=void 0;if(lt){I=Math.floor(Math.random()*a);for(var R=0;R=1)break;gt=tt}for(var et=0;et=1)break;gt=tt}for(var ot=0;ot0&&(R.isParent()?L[I].push(_.get(R.id())):L[I].push(R.id()))})});var Dt=T(function(lt){var I=E.get(lt),R=void 0;c.get(lt).forEach(function($){d.getElementById($).isParent()?R=_.get($):R=$,L[I].push(R),L[E.get(R)].push(lt)})},"_loop"),S=!0,rt=!1,ht=void 0;try{for(var mt=c.keys()[Symbol.iterator](),Ct;!(S=(Ct=mt.next()).done);S=!0){var yt=Ct.value;Dt(yt)}}catch(lt){rt=!0,ht=lt}finally{try{!S&&mt.return&&mt.return()}finally{if(rt)throw ht}}a=E.size;var Et=void 0;if(a>2){O=a{var h=t(212),n=T(function(v){v&&v("layout","fcose",h)},"register");typeof cytoscape<"u"&&n(cytoscape),r.exports=n},140:r=>{r.exports=C}},A={};function g(r){var i=A[r];if(i!==void 0)return i.exports;var t=A[r]={exports:{}};return F[r](t,t.exports,g),t.exports}T(g,"__webpack_require__");var s=g(579);return s})()})}),Ie={L:"left",R:"right",T:"top",B:"bottom"},Ce={L:T(w=>`${w},${w/2} 0,${w} 0,0`,"L"),R:T(w=>`0,${w/2} ${w},0 ${w},${w}`,"R"),T:T(w=>`0,0 ${w},0 ${w/2},${w}`,"T"),B:T(w=>`${w/2},0 ${w},${w} 0,${w}`,"B")},se={L:T((w,H)=>w-H+2,"L"),R:T((w,H)=>w-2,"R"),T:T((w,H)=>w-H+2,"T"),B:T((w,H)=>w-2,"B")},si=T(function(w){return Ht(w)?w==="L"?"R":"L":w==="T"?"B":"T"},"getOppositeArchitectureDirection"),Oe=T(function(w){let H=w;return H==="L"||H==="R"||H==="T"||H==="B"},"isArchitectureDirection"),Ht=T(function(w){let H=w;return H==="L"||H==="R"},"isArchitectureDirectionX"),Zt=T(function(w){let H=w;return H==="T"||H==="B"},"isArchitectureDirectionY"),De=T(function(w,H){let C=Ht(w)&&Zt(H),F=Zt(w)&&Ht(H);return C||F},"isArchitectureDirectionXY"),hi=T(function(w){let H=w[0],C=w[1],F=Ht(H)&&Zt(C),A=Zt(H)&&Ht(C);return F||A},"isArchitecturePairXY"),li=T(function(w){return w!=="LL"&&w!=="RR"&&w!=="TT"&&w!=="BB"},"isValidArchitectureDirectionPair"),pe=T(function(w,H){let C=`${w}${H}`;return li(C)?C:void 0},"getArchitectureDirectionPair"),di=T(function([w,H],C){let F=C[0],A=C[1];return Ht(F)?Zt(A)?[w+(F==="L"?-1:1),H+(A==="T"?1:-1)]:[w+(F==="L"?-1:1),H]:Ht(A)?[w+(A==="L"?1:-1),H+(F==="T"?1:-1)]:[w,H+(F==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),ci=T(function(w){return w==="LT"||w==="TL"?[1,1]:w==="BL"||w==="LB"?[1,-1]:w==="BR"||w==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),gi=T(function(w){return w.type==="service"},"isArchitectureService"),ui=T(function(w){return w.type==="junction"},"isArchitectureJunction"),be=T(w=>w.data(),"edgeData"),re=T(w=>w.data(),"nodeData"),Re=We.architecture,vt=new He(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Re,dataStructures:void 0,elements:{}})),fi=T(()=>{vt.reset(),je()},"clear"),pi=T(function({id:w,icon:H,in:C,title:F,iconText:A}){if(vt.records.registeredIds[w]!==void 0)throw new Error(`The service id [${w}] is already in use by another ${vt.records.registeredIds[w]}`);if(C!==void 0){if(w===C)throw new Error(`The service [${w}] cannot be placed within itself`);if(vt.records.registeredIds[C]===void 0)throw new Error(`The service [${w}]'s parent does not exist. Please make sure the parent is created before this service`);if(vt.records.registeredIds[C]==="node")throw new Error(`The service [${w}]'s parent is not a group`)}vt.records.registeredIds[w]="node",vt.records.nodes[w]={id:w,type:"service",icon:H,iconText:A,title:F,edges:[],in:C}},"addService"),vi=T(()=>Object.values(vt.records.nodes).filter(gi),"getServices"),mi=T(function({id:w,in:H}){vt.records.registeredIds[w]="node",vt.records.nodes[w]={id:w,type:"junction",edges:[],in:H}},"addJunction"),yi=T(()=>Object.values(vt.records.nodes).filter(ui),"getJunctions"),Ei=T(()=>Object.values(vt.records.nodes),"getNodes"),Ni=T(w=>vt.records.nodes[w],"getNode"),Ti=T(function({id:w,icon:H,in:C,title:F}){if(vt.records.registeredIds[w]!==void 0)throw new Error(`The group id [${w}] is already in use by another ${vt.records.registeredIds[w]}`);if(C!==void 0){if(w===C)throw new Error(`The group [${w}] cannot be placed within itself`);if(vt.records.registeredIds[C]===void 0)throw new Error(`The group [${w}]'s parent does not exist. Please make sure the parent is created before this group`);if(vt.records.registeredIds[C]==="node")throw new Error(`The group [${w}]'s parent is not a group`)}vt.records.registeredIds[w]="group",vt.records.groups[w]={id:w,icon:H,title:F,in:C}},"addGroup"),Ai=T(()=>Object.values(vt.records.groups),"getGroups"),wi=T(function({lhsId:w,rhsId:H,lhsDir:C,rhsDir:F,lhsInto:A,rhsInto:g,lhsGroup:s,rhsGroup:r,title:i}){if(!Oe(C))throw new Error(`Invalid direction given for left hand side of edge ${w}--${H}. Expected (L,R,T,B) got ${C}`);if(!Oe(F))throw new Error(`Invalid direction given for right hand side of edge ${w}--${H}. Expected (L,R,T,B) got ${F}`);if(vt.records.nodes[w]===void 0&&vt.records.groups[w]===void 0)throw new Error(`The left-hand id [${w}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(vt.records.nodes[H]===void 0&&vt.records.groups[w]===void 0)throw new Error(`The right-hand id [${H}] does not yet exist. Please create the service/group before declaring an edge to it.`);let t=vt.records.nodes[w].in,h=vt.records.nodes[H].in;if(s&&t&&h&&t==h)throw new Error(`The left-hand id [${w}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(r&&t&&h&&t==h)throw new Error(`The right-hand id [${H}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let n={lhsId:w,lhsDir:C,lhsInto:A,lhsGroup:s,rhsId:H,rhsDir:F,rhsInto:g,rhsGroup:r,title:i};vt.records.edges.push(n),vt.records.nodes[w]&&vt.records.nodes[H]&&(vt.records.nodes[w].edges.push(vt.records.edges[vt.records.edges.length-1]),vt.records.nodes[H].edges.push(vt.records.edges[vt.records.edges.length-1]))},"addEdge"),_i=T(()=>vt.records.edges,"getEdges"),Li=T(()=>{if(vt.records.dataStructures===void 0){let w=Object.entries(vt.records.nodes).reduce((s,[r,i])=>(s[r]=i.edges.reduce((t,h)=>{if(h.lhsId===r){let n=pe(h.lhsDir,h.rhsDir);n&&(t[n]=h.rhsId)}else{let n=pe(h.rhsDir,h.lhsDir);n&&(t[n]=h.lhsId)}return t},{}),s),{}),H=Object.keys(w)[0],C={[H]:1},F=Object.keys(w).reduce((s,r)=>r===H?s:{...s,[r]:1},{}),A=T(s=>{let r={[s]:[0,0]},i=[s];for(;i.length>0;){let t=i.shift();if(t){C[t]=1,delete F[t];let h=w[t],[n,v]=r[t];Object.entries(h).forEach(([o,e])=>{C[e]||(r[e]=di([n,v],o),i.push(e))})}}return r},"BFS"),g=[A(H)];for(;Object.keys(F).length>0;)g.push(A(Object.keys(F)[0]));vt.records.dataStructures={adjList:w,spatialMaps:g}}return vt.records.dataStructures},"getDataStructures"),Ii=T((w,H)=>{vt.records.elements[w]=H},"setElementForId"),Ci=T(w=>vt.records.elements[w],"getElementById"),he={clear:fi,setDiagramTitle:Qe,getDiagramTitle:ti,setAccTitle:ei,getAccTitle:ii,setAccDescription:ri,getAccDescription:ni,addService:pi,getServices:vi,addJunction:mi,getJunctions:yi,getNodes:Ei,getNode:Ni,addGroup:Ti,getGroups:Ai,addEdge:wi,getEdges:_i,setElementForId:Ii,getElementById:Ci,getDataStructures:Li};function St(w){let H=le().architecture;return H!=null&&H[w]?H[w]:Re[w]}T(St,"getConfigField");var Oi=T((w,H)=>{Ve(w,H),w.groups.map(H.addGroup),w.services.map(C=>H.addService({...C,type:"service"})),w.junctions.map(C=>H.addJunction({...C,type:"junction"})),w.edges.map(H.addEdge)},"populateDb"),xi={parse:T(async w=>{let H=await Be("architecture",w);Me.debug(H),Oi(H,he)},"parse")},Mi=T(w=>` +import{F as xe}from"./chunk-PWCSEZZ4-BMVq3ufo.js";import{s as He}from"./chunk-VSLJSFIP-SOmXOiGP.js";import{c as Ve}from"./chunk-4KE642ED-DF3NZIv7.js";import{p as Be}from"./gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js";import{m as T,n as We,v as je,J as Me,q as $e,bm as qe,bb as ve,Q as le,bn as fe,bo as Ze,a8 as Je,b7 as Ke,a0 as me,L as Qe,A as ti,w as ei,B as ii,F as ri,M as ni,b as oi}from"./mermaid.esm.min-Bq5H-fqC.js";import"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var _e=me((w,H)=>{T(function(C,F){typeof w=="object"&&typeof H=="object"?H.exports=F():typeof define=="function"&&define.amd?define([],F):typeof w=="object"?w.layoutBase=F():C.layoutBase=F()},"webpackUniversalModuleDefinition")(w,function(){return function(C){var F={};function A(g){if(F[g])return F[g].exports;var s=F[g]={i:g,l:!1,exports:{}};return C[g].call(s.exports,s,s.exports,A),s.l=!0,s.exports}return T(A,"__webpack_require__"),A.m=C,A.c=F,A.i=function(g){return g},A.d=function(g,s,r){A.o(g,s)||Object.defineProperty(g,s,{configurable:!1,enumerable:!0,get:r})},A.n=function(g){var s=g&&g.__esModule?T(function(){return g.default},"getDefault"):T(function(){return g},"getModuleExports");return A.d(s,"a",s),s},A.o=function(g,s){return Object.prototype.hasOwnProperty.call(g,s)},A.p="",A(A.s=28)}([function(C,F,A){function g(){}T(g,"LayoutConstants"),g.QUALITY=1,g.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,g.DEFAULT_INCREMENTAL=!1,g.DEFAULT_ANIMATION_ON_LAYOUT=!0,g.DEFAULT_ANIMATION_DURING_LAYOUT=!1,g.DEFAULT_ANIMATION_PERIOD=50,g.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,g.DEFAULT_GRAPH_MARGIN=15,g.NODE_DIMENSIONS_INCLUDE_LABELS=!1,g.SIMPLE_NODE_SIZE=40,g.SIMPLE_NODE_HALF_SIZE=g.SIMPLE_NODE_SIZE/2,g.EMPTY_COMPOUND_NODE_SIZE=40,g.MIN_EDGE_LENGTH=1,g.WORLD_BOUNDARY=1e6,g.INITIAL_WORLD_BOUNDARY=g.WORLD_BOUNDARY/1e3,g.WORLD_CENTER_X=1200,g.WORLD_CENTER_Y=900,C.exports=g},function(C,F,A){var g=A(2),s=A(8),r=A(9);function i(h,n,v){g.call(this,v),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=v,this.bendpoints=[],this.source=h,this.target=n}T(i,"LEdge"),i.prototype=Object.create(g.prototype);for(var t in g)i[t]=g[t];i.prototype.getSource=function(){return this.source},i.prototype.getTarget=function(){return this.target},i.prototype.isInterGraph=function(){return this.isInterGraph},i.prototype.getLength=function(){return this.length},i.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},i.prototype.getBendpoints=function(){return this.bendpoints},i.prototype.getLca=function(){return this.lca},i.prototype.getSourceInLca=function(){return this.sourceInLca},i.prototype.getTargetInLca=function(){return this.targetInLca},i.prototype.getOtherEnd=function(h){if(this.source===h)return this.target;if(this.target===h)return this.source;throw"Node is not incident with this edge"},i.prototype.getOtherEndInGraph=function(h,n){for(var v=this.getOtherEnd(h),o=n.getGraphManager().getRoot();;){if(v.getOwner()==n)return v;if(v.getOwner()==o)break;v=v.getOwner().getParent()}return null},i.prototype.updateLength=function(){var h=new Array(4);this.isOverlapingSourceAndTarget=s.getIntersection(this.target.getRect(),this.source.getRect(),h),this.isOverlapingSourceAndTarget||(this.lengthX=h[0]-h[2],this.lengthY=h[1]-h[3],Math.abs(this.lengthX)<1&&(this.lengthX=r.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=r.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},i.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=r.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=r.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},C.exports=i},function(C,F,A){function g(s){this.vGraphObject=s}T(g,"LGraphObject"),C.exports=g},function(C,F,A){var g=A(2),s=A(10),r=A(13),i=A(0),t=A(16),h=A(5);function n(o,e,d,f){d==null&&f==null&&(f=e),g.call(this,f),o.graphManager!=null&&(o=o.graphManager),this.estimatedSize=s.MIN_VALUE,this.inclusionTreeDepth=s.MAX_VALUE,this.vGraphObject=f,this.edges=[],this.graphManager=o,d!=null&&e!=null?this.rect=new r(e.x,e.y,d.width,d.height):this.rect=new r}T(n,"LNode"),n.prototype=Object.create(g.prototype);for(var v in g)n[v]=g[v];n.prototype.getEdges=function(){return this.edges},n.prototype.getChild=function(){return this.child},n.prototype.getOwner=function(){return this.owner},n.prototype.getWidth=function(){return this.rect.width},n.prototype.setWidth=function(o){this.rect.width=o},n.prototype.getHeight=function(){return this.rect.height},n.prototype.setHeight=function(o){this.rect.height=o},n.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},n.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},n.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},n.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},n.prototype.getRect=function(){return this.rect},n.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},n.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},n.prototype.setRect=function(o,e){this.rect.x=o.x,this.rect.y=o.y,this.rect.width=e.width,this.rect.height=e.height},n.prototype.setCenter=function(o,e){this.rect.x=o-this.rect.width/2,this.rect.y=e-this.rect.height/2},n.prototype.setLocation=function(o,e){this.rect.x=o,this.rect.y=e},n.prototype.moveBy=function(o,e){this.rect.x+=o,this.rect.y+=e},n.prototype.getEdgeListToNode=function(o){var e=[],d=this;return d.edges.forEach(function(f){if(f.target==o){if(f.source!=d)throw"Incorrect edge source!";e.push(f)}}),e},n.prototype.getEdgesBetween=function(o){var e=[],d=this;return d.edges.forEach(function(f){if(!(f.source==d||f.target==d))throw"Incorrect edge source and/or target";(f.target==o||f.source==o)&&e.push(f)}),e},n.prototype.getNeighborsList=function(){var o=new Set,e=this;return e.edges.forEach(function(d){if(d.source==e)o.add(d.target);else{if(d.target!=e)throw"Incorrect incidency!";o.add(d.source)}}),o},n.prototype.withChildren=function(){var o=new Set,e,d;if(o.add(this),this.child!=null)for(var f=this.child.getNodes(),l=0;le?(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)):this.labelPosHorizontal=="right"&&this.setWidth(e+this.labelWidth)),this.labelHeight&&(this.labelPosVertical=="top"?(this.rect.y-=this.labelHeight,this.setHeight(d+this.labelHeight)):this.labelPosVertical=="center"&&this.labelHeight>d?(this.rect.y-=(this.labelHeight-d)/2,this.setHeight(this.labelHeight)):this.labelPosVertical=="bottom"&&this.setHeight(d+this.labelHeight))}}},n.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==s.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},n.prototype.transform=function(o){var e=this.rect.x;e>i.WORLD_BOUNDARY?e=i.WORLD_BOUNDARY:e<-i.WORLD_BOUNDARY&&(e=-i.WORLD_BOUNDARY);var d=this.rect.y;d>i.WORLD_BOUNDARY?d=i.WORLD_BOUNDARY:d<-i.WORLD_BOUNDARY&&(d=-i.WORLD_BOUNDARY);var f=new h(e,d),l=o.inverseTransformPoint(f);this.setLocation(l.x,l.y)},n.prototype.getLeft=function(){return this.rect.x},n.prototype.getRight=function(){return this.rect.x+this.rect.width},n.prototype.getTop=function(){return this.rect.y},n.prototype.getBottom=function(){return this.rect.y+this.rect.height},n.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},C.exports=n},function(C,F,A){var g=A(0);function s(){}T(s,"FDLayoutConstants");for(var r in g)s[r]=g[r];s.MAX_ITERATIONS=2500,s.DEFAULT_EDGE_LENGTH=50,s.DEFAULT_SPRING_STRENGTH=.45,s.DEFAULT_REPULSION_STRENGTH=4500,s.DEFAULT_GRAVITY_STRENGTH=.4,s.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,s.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,s.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,s.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,s.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,s.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,s.COOLING_ADAPTATION_FACTOR=.33,s.ADAPTATION_LOWER_NODE_LIMIT=1e3,s.ADAPTATION_UPPER_NODE_LIMIT=5e3,s.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,s.MAX_NODE_DISPLACEMENT=s.MAX_NODE_DISPLACEMENT_INCREMENTAL*3,s.MIN_REPULSION_DIST=s.DEFAULT_EDGE_LENGTH/10,s.CONVERGENCE_CHECK_PERIOD=100,s.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,s.MIN_EDGE_LENGTH=1,s.GRID_CALCULATION_CHECK_PERIOD=10,C.exports=s},function(C,F,A){function g(s,r){s==null&&r==null?(this.x=0,this.y=0):(this.x=s,this.y=r)}T(g,"PointD"),g.prototype.getX=function(){return this.x},g.prototype.getY=function(){return this.y},g.prototype.setX=function(s){this.x=s},g.prototype.setY=function(s){this.y=s},g.prototype.getDifference=function(s){return new DimensionD(this.x-s.x,this.y-s.y)},g.prototype.getCopy=function(){return new g(this.x,this.y)},g.prototype.translate=function(s){return this.x+=s.width,this.y+=s.height,this},C.exports=g},function(C,F,A){var g=A(2),s=A(10),r=A(0),i=A(7),t=A(3),h=A(1),n=A(13),v=A(12),o=A(11);function e(f,l,N){g.call(this,N),this.estimatedSize=s.MIN_VALUE,this.margin=r.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=f,l!=null&&l instanceof i?this.graphManager=l:l!=null&&l instanceof Layout&&(this.graphManager=l.graphManager)}T(e,"LGraph"),e.prototype=Object.create(g.prototype);for(var d in g)e[d]=g[d];e.prototype.getNodes=function(){return this.nodes},e.prototype.getEdges=function(){return this.edges},e.prototype.getGraphManager=function(){return this.graphManager},e.prototype.getParent=function(){return this.parent},e.prototype.getLeft=function(){return this.left},e.prototype.getRight=function(){return this.right},e.prototype.getTop=function(){return this.top},e.prototype.getBottom=function(){return this.bottom},e.prototype.isConnected=function(){return this.isConnected},e.prototype.add=function(f,l,N){if(l==null&&N==null){var c=f;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(c)>-1)throw"Node already in graph!";return c.owner=this,this.getNodes().push(c),c}else{var E=f;if(!(this.getNodes().indexOf(l)>-1&&this.getNodes().indexOf(N)>-1))throw"Source or target not in graph!";if(!(l.owner==N.owner&&l.owner==this))throw"Both owners must be this graph!";return l.owner!=N.owner?null:(E.source=l,E.target=N,E.isInterGraph=!1,this.getEdges().push(E),l.edges.push(E),N!=l&&N.edges.push(E),E)}},e.prototype.remove=function(f){var l=f;if(f instanceof t){if(l==null)throw"Node is null!";if(!(l.owner!=null&&l.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var N=l.edges.slice(),c,E=N.length,_=0;_-1&&z>-1))throw"Source and/or target doesn't know this edge!";c.source.edges.splice(X,1),c.target!=c.source&&c.target.edges.splice(z,1);var L=c.source.owner.getEdges().indexOf(c);if(L==-1)throw"Not in owner's edge list!";c.source.owner.getEdges().splice(L,1)}},e.prototype.updateLeftTop=function(){for(var f=s.MAX_VALUE,l=s.MAX_VALUE,N,c,E,_=this.getNodes(),L=_.length,X=0;XN&&(f=N),l>c&&(l=c)}return f==s.MAX_VALUE?null:(_[0].getParent().paddingLeft!=null?E=_[0].getParent().paddingLeft:E=this.margin,this.left=l-E,this.top=f-E,new v(this.left,this.top))},e.prototype.updateBounds=function(f){for(var l=s.MAX_VALUE,N=-s.MAX_VALUE,c=s.MAX_VALUE,E=-s.MAX_VALUE,_,L,X,z,V,B=this.nodes,q=B.length,x=0;x_&&(l=_),NX&&(c=X),E_&&(l=_),NX&&(c=X),E=this.nodes.length){var q=0;N.forEach(function(x){x.owner==f&&q++}),q==this.nodes.length&&(this.isConnected=!0)}},C.exports=e},function(C,F,A){var g,s=A(1);function r(i){g=A(6),this.layout=i,this.graphs=[],this.edges=[]}T(r,"LGraphManager"),r.prototype.addRoot=function(){var i=this.layout.newGraph(),t=this.layout.newNode(null),h=this.add(i,t);return this.setRootGraph(h),this.rootGraph},r.prototype.add=function(i,t,h,n,v){if(h==null&&n==null&&v==null){if(i==null)throw"Graph is null!";if(t==null)throw"Parent node is null!";if(this.graphs.indexOf(i)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(i),i.parent!=null)throw"Already has a parent!";if(t.child!=null)throw"Already has a child!";return i.parent=t,t.child=i,i}else{v=h,n=t,h=i;var o=n.getOwner(),e=v.getOwner();if(!(o!=null&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(e!=null&&e.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==e)return h.isInterGraph=!1,o.add(h,n,v);if(h.isInterGraph=!0,h.source=n,h.target=v,this.edges.indexOf(h)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(h),!(h.source!=null&&h.target!=null))throw"Edge source and/or target is null!";if(!(h.source.edges.indexOf(h)==-1&&h.target.edges.indexOf(h)==-1))throw"Edge already in source and/or target incidency list!";return h.source.edges.push(h),h.target.edges.push(h),h}},r.prototype.remove=function(i){if(i instanceof g){var t=i;if(t.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(t==this.rootGraph||t.parent!=null&&t.parent.graphManager==this))throw"Invalid parent node!";var h=[];h=h.concat(t.getEdges());for(var n,v=h.length,o=0;o=i.getRight()?t[0]+=Math.min(i.getX()-r.getX(),r.getRight()-i.getRight()):i.getX()<=r.getX()&&i.getRight()>=r.getRight()&&(t[0]+=Math.min(r.getX()-i.getX(),i.getRight()-r.getRight())),r.getY()<=i.getY()&&r.getBottom()>=i.getBottom()?t[1]+=Math.min(i.getY()-r.getY(),r.getBottom()-i.getBottom()):i.getY()<=r.getY()&&i.getBottom()>=r.getBottom()&&(t[1]+=Math.min(r.getY()-i.getY(),i.getBottom()-r.getBottom()));var v=Math.abs((i.getCenterY()-r.getCenterY())/(i.getCenterX()-r.getCenterX()));i.getCenterY()===r.getCenterY()&&i.getCenterX()===r.getCenterX()&&(v=1);var o=v*t[0],e=t[1]/v;t[0]o)return t[0]=h,t[1]=d,t[2]=v,t[3]=B,!1;if(nv)return t[0]=e,t[1]=n,t[2]=z,t[3]=o,!1;if(hv?(t[0]=l,t[1]=N,a=!0):(t[0]=f,t[1]=d,a=!0):p===u&&(h>v?(t[0]=e,t[1]=d,a=!0):(t[0]=c,t[1]=N,a=!0)),-m===u?v>h?(t[2]=V,t[3]=B,y=!0):(t[2]=z,t[3]=X,y=!0):m===u&&(v>h?(t[2]=L,t[3]=X,y=!0):(t[2]=q,t[3]=B,y=!0)),a&&y)return!1;if(h>v?n>o?(D=this.getCardinalDirection(p,u,4),O=this.getCardinalDirection(m,u,2)):(D=this.getCardinalDirection(-p,u,3),O=this.getCardinalDirection(-m,u,1)):n>o?(D=this.getCardinalDirection(-p,u,1),O=this.getCardinalDirection(-m,u,3)):(D=this.getCardinalDirection(p,u,2),O=this.getCardinalDirection(m,u,4)),!a)switch(D){case 1:k=d,M=h+-_/u,t[0]=M,t[1]=k;break;case 2:M=c,k=n+E*u,t[0]=M,t[1]=k;break;case 3:k=N,M=h+_/u,t[0]=M,t[1]=k;break;case 4:M=l,k=n+-E*u,t[0]=M,t[1]=k;break}if(!y)switch(O){case 1:W=X,U=v+-nt/u,t[2]=U,t[3]=W;break;case 2:U=q,W=o+x*u,t[2]=U,t[3]=W;break;case 3:W=B,U=v+nt/u,t[2]=U,t[3]=W;break;case 4:U=V,W=o+-x*u,t[2]=U,t[3]=W;break}}return!1},s.getCardinalDirection=function(r,i,t){return r>i?t:1+t%4},s.getIntersection=function(r,i,t,h){if(h==null)return this.getIntersection2(r,i,t);var n=r.x,v=r.y,o=i.x,e=i.y,d=t.x,f=t.y,l=h.x,N=h.y,c=void 0,E=void 0,_=void 0,L=void 0,X=void 0,z=void 0,V=void 0,B=void 0,q=void 0;return _=e-v,X=n-o,V=o*v-n*e,L=N-f,z=d-l,B=l*f-d*N,q=_*z-L*X,q===0?null:(c=(X*B-z*V)/q,E=(L*V-_*B)/q,new g(c,E))},s.angleOfVector=function(r,i,t,h){var n=void 0;return r!==t?(n=Math.atan((h-i)/(t-r)),t=0){var N=(-d+Math.sqrt(d*d-4*e*f))/(2*e),c=(-d-Math.sqrt(d*d-4*e*f))/(2*e),E=null;return N>=0&&N<=1?[N]:c>=0&&c<=1?[c]:E}else return null},s.HALF_PI=.5*Math.PI,s.ONE_AND_HALF_PI=1.5*Math.PI,s.TWO_PI=2*Math.PI,s.THREE_PI=3*Math.PI,C.exports=s},function(C,F,A){function g(){}T(g,"IMath"),g.sign=function(s){return s>0?1:s<0?-1:0},g.floor=function(s){return s<0?Math.ceil(s):Math.floor(s)},g.ceil=function(s){return s<0?Math.floor(s):Math.ceil(s)},C.exports=g},function(C,F,A){function g(){}T(g,"Integer"),g.MAX_VALUE=2147483647,g.MIN_VALUE=-2147483648,C.exports=g},function(C,F,A){var g=function(){function n(v,o){for(var e=0;e"u"?"undefined":g(r);return r==null||i!="object"&&i!="function"},C.exports=s},function(C,F,A){function g(d){if(Array.isArray(d)){for(var f=0,l=Array(d.length);f0&&f;){for(_.push(X[0]);_.length>0&&f;){var z=_[0];_.splice(0,1),E.add(z);for(var V=z.getEdges(),c=0;c-1&&X.splice(nt,1)}E=new Set,L=new Map}}return d},e.prototype.createDummyNodesForBendpoints=function(d){for(var f=[],l=d.source,N=this.graphManager.calcLowestCommonAncestor(d.source,d.target),c=0;c0){for(var N=this.edgeToDummyNodes.get(l),c=0;c=0&&f.splice(B,1);var q=L.getNeighborsList();q.forEach(function(a){if(l.indexOf(a)<0){var y=N.get(a),p=y-1;p==1&&z.push(a),N.set(a,p)}})}l=l.concat(z),(f.length==1||f.length==2)&&(c=!0,E=f[0])}return E},e.prototype.setGraphManager=function(d){this.graphManager=d},C.exports=e},function(C,F,A){function g(){}T(g,"RandomSeed"),g.seed=1,g.x=0,g.nextDouble=function(){return g.x=Math.sin(g.seed++)*1e4,g.x-Math.floor(g.x)},C.exports=g},function(C,F,A){var g=A(5);function s(r,i){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}T(s,"Transform"),s.prototype.getWorldOrgX=function(){return this.lworldOrgX},s.prototype.setWorldOrgX=function(r){this.lworldOrgX=r},s.prototype.getWorldOrgY=function(){return this.lworldOrgY},s.prototype.setWorldOrgY=function(r){this.lworldOrgY=r},s.prototype.getWorldExtX=function(){return this.lworldExtX},s.prototype.setWorldExtX=function(r){this.lworldExtX=r},s.prototype.getWorldExtY=function(){return this.lworldExtY},s.prototype.setWorldExtY=function(r){this.lworldExtY=r},s.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},s.prototype.setDeviceOrgX=function(r){this.ldeviceOrgX=r},s.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},s.prototype.setDeviceOrgY=function(r){this.ldeviceOrgY=r},s.prototype.getDeviceExtX=function(){return this.ldeviceExtX},s.prototype.setDeviceExtX=function(r){this.ldeviceExtX=r},s.prototype.getDeviceExtY=function(){return this.ldeviceExtY},s.prototype.setDeviceExtY=function(r){this.ldeviceExtY=r},s.prototype.transformX=function(r){var i=0,t=this.lworldExtX;return t!=0&&(i=this.ldeviceOrgX+(r-this.lworldOrgX)*this.ldeviceExtX/t),i},s.prototype.transformY=function(r){var i=0,t=this.lworldExtY;return t!=0&&(i=this.ldeviceOrgY+(r-this.lworldOrgY)*this.ldeviceExtY/t),i},s.prototype.inverseTransformX=function(r){var i=0,t=this.ldeviceExtX;return t!=0&&(i=this.lworldOrgX+(r-this.ldeviceOrgX)*this.lworldExtX/t),i},s.prototype.inverseTransformY=function(r){var i=0,t=this.ldeviceExtY;return t!=0&&(i=this.lworldOrgY+(r-this.ldeviceOrgY)*this.lworldExtY/t),i},s.prototype.inverseTransformPoint=function(r){var i=new g(this.inverseTransformX(r.x),this.inverseTransformY(r.y));return i},C.exports=s},function(C,F,A){function g(o){if(Array.isArray(o)){for(var e=0,d=Array(o.length);er.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(o-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(o>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(o-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},n.prototype.calcSpringForces=function(){for(var o=this.getAllEdges(),e,d=0;d0&&arguments[0]!==void 0?arguments[0]:!0,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,d,f,l,N,c=this.getAllNodes(),E;if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),E=new Set,d=0;d_||E>_)&&(o.gravitationForceX=-this.gravityConstant*l,o.gravitationForceY=-this.gravityConstant*N)):(_=e.getEstimatedSize()*this.compoundGravityRangeFactor,(c>_||E>_)&&(o.gravitationForceX=-this.gravityConstant*l*this.compoundGravityConstant,o.gravitationForceY=-this.gravityConstant*N*this.compoundGravityConstant))},n.prototype.isConverged=function(){var o,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),o=this.totalDisplacement=c.length||_>=c[0].length)){for(var L=0;Lh},"_defaultCompareFunction")}]),t}();C.exports=i},function(C,F,A){function g(){}T(g,"SVD"),g.svd=function(s){this.U=null,this.V=null,this.s=null,this.m=0,this.n=0,this.m=s.length,this.n=s[0].length;var r=Math.min(this.m,this.n);this.s=function(At){for(var wt=[];At-- >0;)wt.push(0);return wt}(Math.min(this.m+1,this.n)),this.U=function(At){var wt=T(function Gt(Pt){if(Pt.length==0)return 0;for(var Bt=[],qt=0;qt0;)wt.push(0);return wt}(this.n),t=function(At){for(var wt=[];At-- >0;)wt.push(0);return wt}(this.m),h=!0,n=!0,v=Math.min(this.m-1,this.n),o=Math.max(0,Math.min(this.n-2,this.m)),e=0;e=0;u--)if(this.s[u]!==0){for(var D=u+1;D=0;Y--){if(function(At,wt){return At&&wt}(Y0;){var S=void 0,rt=void 0;for(S=y-2;S>=-1&&S!==-1;S--)if(Math.abs(i[S])<=Dt+It*(Math.abs(this.s[S])+Math.abs(this.s[S+1]))){i[S]=0;break}if(S===y-2)rt=4;else{var ht=void 0;for(ht=y-1;ht>=S&&ht!==S;ht--){var mt=(ht!==y?Math.abs(i[ht]):0)+(ht!==S+1?Math.abs(i[ht-1]):0);if(Math.abs(this.s[ht])<=Dt+It*mt){this.s[ht]=0;break}}ht===S?rt=3:ht===y-1?rt=1:(rt=2,S=ht)}switch(S++,rt){case 1:{var Ct=i[y-2];i[y-2]=0;for(var yt=y-2;yt>=S;yt--){var Et=g.hypot(this.s[yt],Ct),xt=this.s[yt]/Et,Vt=Ct/Et;if(this.s[yt]=Et,yt!==S&&(Ct=-Vt*i[yt-1],i[yt-1]=xt*i[yt-1]),n)for(var Ut=0;Ut=this.s[S+1]);){var bt=this.s[S];if(this.s[S]=this.s[S+1],this.s[S+1]=bt,n&&SMath.abs(r)?(i=r/s,i=Math.abs(s)*Math.sqrt(1+i*i)):r!=0?(i=s/r,i=Math.abs(r)*Math.sqrt(1+i*i)):i=0,i},C.exports=g},function(C,F,A){var g=function(){function i(t,h){for(var n=0;n2&&arguments[2]!==void 0?arguments[2]:1,v=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;s(this,i),this.sequence1=t,this.sequence2=h,this.match_score=n,this.mismatch_penalty=v,this.gap_penalty=o,this.iMax=t.length+1,this.jMax=h.length+1,this.grid=new Array(this.iMax);for(var e=0;e=0;t--){var h=this.listeners[t];h.event===r&&h.callback===i&&this.listeners.splice(t,1)}},s.emit=function(r,i){for(var t=0;t{T(function(C,F){typeof w=="object"&&typeof H=="object"?H.exports=F(_e()):typeof define=="function"&&define.amd?define(["layout-base"],F):typeof w=="object"?w.coseBase=F(_e()):C.coseBase=F(C.layoutBase)},"webpackUniversalModuleDefinition")(w,function(C){return(()=>{var F={45:(r,i,t)=>{var h={};h.layoutBase=t(551),h.CoSEConstants=t(806),h.CoSEEdge=t(767),h.CoSEGraph=t(880),h.CoSEGraphManager=t(578),h.CoSELayout=t(765),h.CoSENode=t(991),h.ConstraintHandler=t(902),r.exports=h},806:(r,i,t)=>{var h=t(551).FDLayoutConstants;function n(){}T(n,"CoSEConstants");for(var v in h)n[v]=h[v];n.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,n.DEFAULT_RADIAL_SEPARATION=h.DEFAULT_EDGE_LENGTH,n.DEFAULT_COMPONENT_SEPERATION=60,n.TILE=!0,n.TILING_PADDING_VERTICAL=10,n.TILING_PADDING_HORIZONTAL=10,n.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,n.ENFORCE_CONSTRAINTS=!0,n.APPLY_LAYOUT=!0,n.RELAX_MOVEMENT_ON_CONSTRAINTS=!0,n.TREE_REDUCTION_ON_INCREMENTAL=!0,n.PURE_INCREMENTAL=n.DEFAULT_INCREMENTAL,r.exports=n},767:(r,i,t)=>{var h=t(551).FDLayoutEdge;function n(o,e,d){h.call(this,o,e,d)}T(n,"CoSEEdge"),n.prototype=Object.create(h.prototype);for(var v in h)n[v]=h[v];r.exports=n},880:(r,i,t)=>{var h=t(551).LGraph;function n(o,e,d){h.call(this,o,e,d)}T(n,"CoSEGraph"),n.prototype=Object.create(h.prototype);for(var v in h)n[v]=h[v];r.exports=n},578:(r,i,t)=>{var h=t(551).LGraphManager;function n(o){h.call(this,o)}T(n,"CoSEGraphManager"),n.prototype=Object.create(h.prototype);for(var v in h)n[v]=h[v];r.exports=n},765:(r,i,t)=>{var h=t(551).FDLayout,n=t(578),v=t(880),o=t(991),e=t(767),d=t(806),f=t(902),l=t(551).FDLayoutConstants,N=t(551).LayoutConstants,c=t(551).Point,E=t(551).PointD,_=t(551).DimensionD,L=t(551).Layout,X=t(551).Integer,z=t(551).IGeometry,V=t(551).LGraph,B=t(551).Transform,q=t(551).LinkedList;function x(){h.call(this),this.toBeTiled={},this.constraints={}}T(x,"CoSELayout"),x.prototype=Object.create(h.prototype);for(var nt in h)x[nt]=h[nt];x.prototype.newGraphManager=function(){var a=new n(this);return this.graphManager=a,a},x.prototype.newGraph=function(a){return new v(null,this.graphManager,a)},x.prototype.newNode=function(a){return new o(this.graphManager,a)},x.prototype.newEdge=function(a){return new e(null,null,a)},x.prototype.initParameters=function(){h.prototype.initParameters.call(this,arguments),this.isSubLayout||(d.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=d.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=d.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.gravityConstant=l.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=l.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=l.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1)},x.prototype.initSpringEmbedder=function(){h.prototype.initSpringEmbedder.call(this),this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/l.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=.04,this.coolingAdjuster=1},x.prototype.layout=function(){var a=N.DEFAULT_CREATE_BENDS_AS_NEEDED;return a&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},x.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental){if(d.TREE_REDUCTION_ON_INCREMENTAL){this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var a=new Set(this.getAllNodes()),y=this.nodesWithGravity.filter(function(m){return a.has(m)});this.graphManager.setAllNodesToApplyGravitation(y)}}else{var p=this.getFlatForest();if(p.length>0)this.positionNodesRadially(p);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var a=new Set(this.getAllNodes()),y=this.nodesWithGravity.filter(function(D){return a.has(D)});this.graphManager.setAllNodesToApplyGravitation(y),this.positionNodesRandomly()}}return Object.keys(this.constraints).length>0&&(f.handleConstraints(this),this.initConstraintVariables()),this.initSpringEmbedder(),d.APPLY_LAYOUT&&this.runSpringEmbedder(),!0},x.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%l.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var a=new Set(this.getAllNodes()),y=this.nodesWithGravity.filter(function(u){return a.has(u)});this.graphManager.setAllNodesToApplyGravitation(y),this.graphManager.updateBounds(),this.updateGrid(),d.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2:this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),d.PURE_INCREMENTAL?this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL/2*((100-this.afterGrowthIterations)/100):this.coolingFactor=l.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var p=!this.isTreeGrowing&&!this.isGrowthFinished,m=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(p,m),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},x.prototype.getPositionsData=function(){for(var a=this.graphManager.getAllNodes(),y={},p=0;p0&&this.updateDisplacements();for(var p=0;p0&&(m.fixedNodeWeight=D)}}if(this.constraints.relativePlacementConstraint){var O=new Map,M=new Map;if(this.dummyToNodeForVerticalAlignment=new Map,this.dummyToNodeForHorizontalAlignment=new Map,this.fixedNodesOnHorizontal=new Set,this.fixedNodesOnVertical=new Set,this.fixedNodeSet.forEach(function(b){a.fixedNodesOnHorizontal.add(b),a.fixedNodesOnVertical.add(b)}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var k=this.constraints.alignmentConstraint.vertical,p=0;p=2*b.length/3;it--)G=Math.floor(Math.random()*(it+1)),Z=b[it],b[it]=b[G],b[G]=Z;return b},this.nodesInRelativeHorizontal=[],this.nodesInRelativeVertical=[],this.nodeToRelativeConstraintMapHorizontal=new Map,this.nodeToRelativeConstraintMapVertical=new Map,this.nodeToTempPositionMapHorizontal=new Map,this.nodeToTempPositionMapVertical=new Map,this.constraints.relativePlacementConstraint.forEach(function(b){if(b.left){var G=O.has(b.left)?O.get(b.left):b.left,Z=O.has(b.right)?O.get(b.right):b.right;a.nodesInRelativeHorizontal.includes(G)||(a.nodesInRelativeHorizontal.push(G),a.nodeToRelativeConstraintMapHorizontal.set(G,[]),a.dummyToNodeForVerticalAlignment.has(G)?a.nodeToTempPositionMapHorizontal.set(G,a.idToNodeMap.get(a.dummyToNodeForVerticalAlignment.get(G)[0]).getCenterX()):a.nodeToTempPositionMapHorizontal.set(G,a.idToNodeMap.get(G).getCenterX())),a.nodesInRelativeHorizontal.includes(Z)||(a.nodesInRelativeHorizontal.push(Z),a.nodeToRelativeConstraintMapHorizontal.set(Z,[]),a.dummyToNodeForVerticalAlignment.has(Z)?a.nodeToTempPositionMapHorizontal.set(Z,a.idToNodeMap.get(a.dummyToNodeForVerticalAlignment.get(Z)[0]).getCenterX()):a.nodeToTempPositionMapHorizontal.set(Z,a.idToNodeMap.get(Z).getCenterX())),a.nodeToRelativeConstraintMapHorizontal.get(G).push({right:Z,gap:b.gap}),a.nodeToRelativeConstraintMapHorizontal.get(Z).push({left:G,gap:b.gap})}else{var it=M.has(b.top)?M.get(b.top):b.top,ut=M.has(b.bottom)?M.get(b.bottom):b.bottom;a.nodesInRelativeVertical.includes(it)||(a.nodesInRelativeVertical.push(it),a.nodeToRelativeConstraintMapVertical.set(it,[]),a.dummyToNodeForHorizontalAlignment.has(it)?a.nodeToTempPositionMapVertical.set(it,a.idToNodeMap.get(a.dummyToNodeForHorizontalAlignment.get(it)[0]).getCenterY()):a.nodeToTempPositionMapVertical.set(it,a.idToNodeMap.get(it).getCenterY())),a.nodesInRelativeVertical.includes(ut)||(a.nodesInRelativeVertical.push(ut),a.nodeToRelativeConstraintMapVertical.set(ut,[]),a.dummyToNodeForHorizontalAlignment.has(ut)?a.nodeToTempPositionMapVertical.set(ut,a.idToNodeMap.get(a.dummyToNodeForHorizontalAlignment.get(ut)[0]).getCenterY()):a.nodeToTempPositionMapVertical.set(ut,a.idToNodeMap.get(ut).getCenterY())),a.nodeToRelativeConstraintMapVertical.get(it).push({bottom:ut,gap:b.gap}),a.nodeToRelativeConstraintMapVertical.get(ut).push({top:it,gap:b.gap})}});else{var W=new Map,j=new Map;this.constraints.relativePlacementConstraint.forEach(function(b){if(b.left){var G=O.has(b.left)?O.get(b.left):b.left,Z=O.has(b.right)?O.get(b.right):b.right;W.has(G)?W.get(G).push(Z):W.set(G,[Z]),W.has(Z)?W.get(Z).push(G):W.set(Z,[G])}else{var it=M.has(b.top)?M.get(b.top):b.top,ut=M.has(b.bottom)?M.get(b.bottom):b.bottom;j.has(it)?j.get(it).push(ut):j.set(it,[ut]),j.has(ut)?j.get(ut).push(it):j.set(ut,[it])}});var Y=T(function(b,G){var Z=[],it=[],ut=new q,It=new Set,Dt=0;return b.forEach(function(S,rt){if(!It.has(rt)){Z[Dt]=[],it[Dt]=!1;var ht=rt;for(ut.push(ht),It.add(ht),Z[Dt].push(ht);ut.length!=0;){ht=ut.shift(),G.has(ht)&&(it[Dt]=!0);var mt=b.get(ht);mt.forEach(function(Ct){It.has(Ct)||(ut.push(Ct),It.add(Ct),Z[Dt].push(Ct))})}Dt++}}),{components:Z,isFixed:it}},"constructComponents"),K=Y(W,a.fixedNodesOnHorizontal);this.componentsOnHorizontal=K.components,this.fixedComponentsOnHorizontal=K.isFixed;var P=Y(j,a.fixedNodesOnVertical);this.componentsOnVertical=P.components,this.fixedComponentsOnVertical=P.isFixed}}},x.prototype.updateDisplacements=function(){var a=this;if(this.constraints.fixedNodeConstraint&&this.constraints.fixedNodeConstraint.forEach(function(P){var b=a.idToNodeMap.get(P.nodeId);b.displacementX=0,b.displacementY=0}),this.constraints.alignmentConstraint){if(this.constraints.alignmentConstraint.vertical)for(var y=this.constraints.alignmentConstraint.vertical,p=0;p1){var M;for(M=0;Mm&&(m=Math.floor(O.y)),D=Math.floor(O.x+d.DEFAULT_COMPONENT_SEPERATION)}this.transform(new E(N.WORLD_CENTER_X-O.x/2,N.WORLD_CENTER_Y-O.y/2))},x.radialLayout=function(a,y,p){var m=Math.max(this.maxDiagonalInTree(a),d.DEFAULT_RADIAL_SEPARATION);x.branchRadialLayout(y,null,0,359,0,m);var u=V.calculateBounds(a),D=new B;D.setDeviceOrgX(u.getMinX()),D.setDeviceOrgY(u.getMinY()),D.setWorldOrgX(p.x),D.setWorldOrgY(p.y);for(var O=0;O1;){var Z=G[0];G.splice(0,1);var it=j.indexOf(Z);it>=0&&j.splice(it,1),P--,Y--}y!=null?b=(j.indexOf(G[0])+1)%P:b=0;for(var ut=Math.abs(m-p)/Y,It=b;K!=Y;It=++It%P){var Dt=j[It].getOtherEnd(a);if(Dt!=y){var S=(p+K*ut)%360,rt=(S+ut)%360;x.branchRadialLayout(Dt,a,S,rt,u+D,D),K++}}},x.maxDiagonalInTree=function(a){for(var y=X.MIN_VALUE,p=0;py&&(y=u)}return y},x.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},x.prototype.groupZeroDegreeMembers=function(){var a=this,y={};this.memberGroups={},this.idToDummyNode={};for(var p=[],m=this.graphManager.getAllNodes(),u=0;u"u"&&(y[M]=[]),y[M]=y[M].concat(D)}Object.keys(y).forEach(function(k){if(y[k].length>1){var U="DummyCompound_"+k;a.memberGroups[U]=y[k];var W=y[k][0].getParent(),j=new o(a.graphManager);j.id=U,j.paddingLeft=W.paddingLeft||0,j.paddingRight=W.paddingRight||0,j.paddingBottom=W.paddingBottom||0,j.paddingTop=W.paddingTop||0,a.idToDummyNode[U]=j;var Y=a.getGraphManager().add(a.newGraph(),j),K=W.getChild();K.add(j);for(var P=0;Pu?(m.rect.x-=(m.labelWidth-u)/2,m.setWidth(m.labelWidth),m.labelMarginLeft=(m.labelWidth-u)/2):m.labelPosHorizontal=="right"&&m.setWidth(u+m.labelWidth)),m.labelHeight&&(m.labelPosVertical=="top"?(m.rect.y-=m.labelHeight,m.setHeight(D+m.labelHeight),m.labelMarginTop=m.labelHeight):m.labelPosVertical=="center"&&m.labelHeight>D?(m.rect.y-=(m.labelHeight-D)/2,m.setHeight(m.labelHeight),m.labelMarginTop=(m.labelHeight-D)/2):m.labelPosVertical=="bottom"&&m.setHeight(D+m.labelHeight))}})},x.prototype.repopulateCompounds=function(){for(var a=this.compoundOrder.length-1;a>=0;a--){var y=this.compoundOrder[a],p=y.id,m=y.paddingLeft,u=y.paddingTop,D=y.labelMarginLeft,O=y.labelMarginTop;this.adjustLocations(this.tiledMemberPack[p],y.rect.x,y.rect.y,m,u,D,O)}},x.prototype.repopulateZeroDegreeMembers=function(){var a=this,y=this.tiledZeroDegreePack;Object.keys(y).forEach(function(p){var m=a.idToDummyNode[p],u=m.paddingLeft,D=m.paddingTop,O=m.labelMarginLeft,M=m.labelMarginTop;a.adjustLocations(y[p],m.rect.x,m.rect.y,u,D,O,M)})},x.prototype.getToBeTiled=function(a){var y=a.id;if(this.toBeTiled[y]!=null)return this.toBeTiled[y];var p=a.getChild();if(p==null)return this.toBeTiled[y]=!1,!1;for(var m=p.getNodes(),u=0;u0)return this.toBeTiled[y]=!1,!1;if(D.getChild()==null){this.toBeTiled[D.id]=!1;continue}if(!this.getToBeTiled(D))return this.toBeTiled[y]=!1,!1}return this.toBeTiled[y]=!0,!0},x.prototype.getNodeDegree=function(a){for(var y=a.id,p=a.getEdges(),m=0,u=0;uW&&(W=Y.rect.height)}p+=W+a.verticalPadding}},x.prototype.tileCompoundMembers=function(a,y){var p=this;this.tiledMemberPack=[],Object.keys(a).forEach(function(m){var u=y[m];if(p.tiledMemberPack[m]=p.tileNodes(a[m],u.paddingLeft+u.paddingRight),u.rect.width=p.tiledMemberPack[m].width,u.rect.height=p.tiledMemberPack[m].height,u.setCenter(p.tiledMemberPack[m].centerX,p.tiledMemberPack[m].centerY),u.labelMarginLeft=0,u.labelMarginTop=0,d.NODE_DIMENSIONS_INCLUDE_LABELS){var D=u.rect.width,O=u.rect.height;u.labelWidth&&(u.labelPosHorizontal=="left"?(u.rect.x-=u.labelWidth,u.setWidth(D+u.labelWidth),u.labelMarginLeft=u.labelWidth):u.labelPosHorizontal=="center"&&u.labelWidth>D?(u.rect.x-=(u.labelWidth-D)/2,u.setWidth(u.labelWidth),u.labelMarginLeft=(u.labelWidth-D)/2):u.labelPosHorizontal=="right"&&u.setWidth(D+u.labelWidth)),u.labelHeight&&(u.labelPosVertical=="top"?(u.rect.y-=u.labelHeight,u.setHeight(O+u.labelHeight),u.labelMarginTop=u.labelHeight):u.labelPosVertical=="center"&&u.labelHeight>O?(u.rect.y-=(u.labelHeight-O)/2,u.setHeight(u.labelHeight),u.labelMarginTop=(u.labelHeight-O)/2):u.labelPosVertical=="bottom"&&u.setHeight(O+u.labelHeight))}})},x.prototype.tileNodes=function(a,y){var p=this.tileNodesByFavoringDim(a,y,!0),m=this.tileNodesByFavoringDim(a,y,!1),u=this.getOrgRatio(p),D=this.getOrgRatio(m),O;return DM&&(M=P.getWidth())});var k=D/u,U=O/u,W=Math.pow(p-m,2)+4*(k+m)*(U+p)*u,j=(m-p+Math.sqrt(W))/(2*(k+m)),Y;y?(Y=Math.ceil(j),Y==j&&Y++):Y=Math.floor(j);var K=Y*(k+m)-m;return M>K&&(K=M),K+=m*2,K},x.prototype.tileNodesByFavoringDim=function(a,y,p){var m=d.TILING_PADDING_VERTICAL,u=d.TILING_PADDING_HORIZONTAL,D=d.TILING_COMPARE_BY,O={rows:[],rowWidth:[],rowHeight:[],width:0,height:y,verticalPadding:m,horizontalPadding:u,centerX:0,centerY:0};D&&(O.idealRowWidth=this.calcIdealRowWidth(a,p));var M=T(function(P){return P.rect.width*P.rect.height},"getNodeArea"),k=T(function(P,b){return M(b)-M(P)},"areaCompareFcn");a.sort(function(P,b){var G=k;return O.idealRowWidth?(G=D,G(P.id,b.id)):G(P,b)});for(var U=0,W=0,j=0;j0&&(O+=a.horizontalPadding),a.rowWidth[p]=O,a.width0&&(M+=a.verticalPadding);var k=0;M>a.rowHeight[p]&&(k=a.rowHeight[p],a.rowHeight[p]=M,k=a.rowHeight[p]-k),a.height+=k,a.rows[p].push(y)},x.prototype.getShortestRowIndex=function(a){for(var y=-1,p=Number.MAX_VALUE,m=0;mp&&(y=m,p=a.rowWidth[m]);return y},x.prototype.canAddHorizontal=function(a,y,p){if(a.idealRowWidth){var m=a.rows.length-1,u=a.rowWidth[m];return u+y+a.horizontalPadding<=a.idealRowWidth}var D=this.getShortestRowIndex(a);if(D<0)return!0;var O=a.rowWidth[D];if(O+a.horizontalPadding+y<=a.width)return!0;var M=0;a.rowHeight[D]0&&(M=p+a.verticalPadding-a.rowHeight[D]);var k;a.width-O>=y+a.horizontalPadding?k=(a.height+M)/(O+y+a.horizontalPadding):k=(a.height+M)/a.width,M=p+a.verticalPadding;var U;return a.widthD&&y!=p){m.splice(-1,1),a.rows[p].push(u),a.rowWidth[y]=a.rowWidth[y]-D,a.rowWidth[p]=a.rowWidth[p]+D,a.width=a.rowWidth[instance.getLongestRowIndex(a)];for(var O=Number.MIN_VALUE,M=0;MO&&(O=m[M].height);y>0&&(O+=a.verticalPadding);var k=a.rowHeight[y]+a.rowHeight[p];a.rowHeight[y]=O,a.rowHeight[p]0)for(var K=u;K<=D;K++)Y[0]+=this.grid[K][O-1].length+this.grid[K][O].length-1;if(D0)for(var K=O;K<=M;K++)Y[3]+=this.grid[u-1][K].length+this.grid[u][K].length-1;for(var P=X.MAX_VALUE,b,G,Z=0;Z{var h=t(551).FDLayoutNode,n=t(551).IMath;function v(e,d,f,l){h.call(this,e,d,f,l)}T(v,"CoSENode"),v.prototype=Object.create(h.prototype);for(var o in h)v[o]=h[o];v.prototype.calculateDisplacement=function(){var e=this.graphManager.getLayout();this.getChild()!=null&&this.fixedNodeWeight?(this.displacementX+=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.fixedNodeWeight,this.displacementY+=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.fixedNodeWeight):(this.displacementX+=e.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY+=e.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren),Math.abs(this.displacementX)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementX=e.coolingFactor*e.maxNodeDisplacement*n.sign(this.displacementX)),Math.abs(this.displacementY)>e.coolingFactor*e.maxNodeDisplacement&&(this.displacementY=e.coolingFactor*e.maxNodeDisplacement*n.sign(this.displacementY)),this.child&&this.child.getNodes().length>0&&this.propogateDisplacementToChildren(this.displacementX,this.displacementY)},v.prototype.propogateDisplacementToChildren=function(e,d){for(var f=this.getChild().getNodes(),l,N=0;N{function h(f){if(Array.isArray(f)){for(var l=0,N=Array(f.length);l0){var at=0;st.forEach(function(ft){R=="horizontal"?(tt.set(ft,c.has(ft)?E[c.get(ft)]:J.get(ft)),at+=tt.get(ft)):(tt.set(ft,c.has(ft)?_[c.get(ft)]:J.get(ft)),at+=tt.get(ft))}),at=at/st.length,ot.forEach(function(ft){$.has(ft)||tt.set(ft,at)})}else{var Tt=0;ot.forEach(function(ft){R=="horizontal"?Tt+=c.has(ft)?E[c.get(ft)]:J.get(ft):Tt+=c.has(ft)?_[c.get(ft)]:J.get(ft)}),Tt=Tt/ot.length,ot.forEach(function(ft){tt.set(ft,Tt)})}});for(var _t=T(function(){var ot=Nt.shift(),st=I.get(ot);st.forEach(function(at){if(tt.get(at.id)ft&&(ft=Pt),Btbt&&(bt=Bt)}}catch(Kt){Ft=!0,jt=Kt}finally{try{!Rt&&At.return&&At.return()}finally{if(Ft)throw jt}}var qt=(at+ft)/2-(Tt+bt)/2,ne=!0,Qt=!1,te=void 0;try{for(var Jt=ot[Symbol.iterator](),ee;!(ne=(ee=Jt.next()).done);ne=!0){var ae=ee.value;tt.set(ae,tt.get(ae)+qt)}}catch(Kt){Qt=!0,te=Kt}finally{try{!ne&&Jt.return&&Jt.return()}finally{if(Qt)throw te}}})}return tt},"findAppropriatePositionForRelativePlacement"),nt=T(function(I){var R=0,$=0,J=0,Q=0;if(I.forEach(function(gt){gt.left?E[c.get(gt.left)]-E[c.get(gt.right)]>=0?R++:$++:_[c.get(gt.top)]-_[c.get(gt.bottom)]>=0?J++:Q++}),R>$&&J>Q)for(var pt=0;pt$)for(var dt=0;dtQ)for(var tt=0;tt1)l.fixedNodeConstraint.forEach(function(I,R){m[R]=[I.position.x,I.position.y],u[R]=[E[c.get(I.nodeId)],_[c.get(I.nodeId)]]}),D=!0;else if(l.alignmentConstraint)(function(){var I=0;if(l.alignmentConstraint.vertical){for(var R=l.alignmentConstraint.vertical,$=T(function(tt){var gt=new Set;R[tt].forEach(function(et){gt.add(et)});var Nt=new Set([].concat(h(gt)).filter(function(et){return M.has(et)})),_t=void 0;Nt.size>0?_t=E[c.get(Nt.values().next().value)]:_t=q(gt).x,R[tt].forEach(function(et){m[I]=[_t,_[c.get(et)]],u[I]=[E[c.get(et)],_[c.get(et)]],I++})},"_loop2"),J=0;J0?_t=E[c.get(Nt.values().next().value)]:_t=q(gt).y,Q[tt].forEach(function(et){m[I]=[E[c.get(et)],_t],u[I]=[E[c.get(et)],_[c.get(et)]],I++})},"_loop3"),dt=0;dtj&&(j=W[K].length,Y=K);if(j0){var xt={x:0,y:0};l.fixedNodeConstraint.forEach(function(I,R){var $={x:E[c.get(I.nodeId)],y:_[c.get(I.nodeId)]},J=I.position,Q=B(J,$);xt.x+=Q.x,xt.y+=Q.y}),xt.x/=l.fixedNodeConstraint.length,xt.y/=l.fixedNodeConstraint.length,E.forEach(function(I,R){E[R]+=xt.x}),_.forEach(function(I,R){_[R]+=xt.y}),l.fixedNodeConstraint.forEach(function(I){E[c.get(I.nodeId)]=I.position.x,_[c.get(I.nodeId)]=I.position.y})}if(l.alignmentConstraint){if(l.alignmentConstraint.vertical)for(var Vt=l.alignmentConstraint.vertical,Ut=T(function(I){var R=new Set;Vt[I].forEach(function(Q){R.add(Q)});var $=new Set([].concat(h(R)).filter(function(Q){return M.has(Q)})),J=void 0;$.size>0?J=E[c.get($.values().next().value)]:J=q(R).x,R.forEach(function(Q){M.has(Q)||(E[c.get(Q)]=J)})},"_loop4"),kt=0;kt0?J=_[c.get($.values().next().value)]:J=q(R).y,R.forEach(function(Q){M.has(Q)||(_[c.get(Q)]=J)})},"_loop5"),Yt=0;Yt{r.exports=C}},A={};function g(r){var i=A[r];if(i!==void 0)return i.exports;var t=A[r]={exports:{}};return F[r](t,t.exports,g),t.exports}T(g,"__webpack_require__");var s=g(45);return s})()})}),ai=me((w,H)=>{T(function(C,F){typeof w=="object"&&typeof H=="object"?H.exports=F(Le()):typeof define=="function"&&define.amd?define(["cose-base"],F):typeof w=="object"?w.cytoscapeFcose=F(Le()):C.cytoscapeFcose=F(C.coseBase)},"webpackUniversalModuleDefinition")(w,function(C){return(()=>{var F={658:r=>{r.exports=Object.assign!=null?Object.assign.bind(Object):function(i){for(var t=arguments.length,h=Array(t>1?t-1:0),n=1;n{var h=function(){function o(e,d){var f=[],l=!0,N=!1,c=void 0;try{for(var E=e[Symbol.iterator](),_;!(l=(_=E.next()).done)&&(f.push(_.value),!(d&&f.length===d));l=!0);}catch(L){N=!0,c=L}finally{try{!l&&E.return&&E.return()}finally{if(N)throw c}}return f}return T(o,"sliceIterator"),function(e,d){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return o(e,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=t(140).layoutBase.LinkedList,v={};v.getTopMostNodes=function(o){for(var e={},d=0;d0&&m.merge(M)});for(var u=0;u1){_=c[0],L=_.connectedEdges().length,c.forEach(function(m){m.connectedEdges().length0&&f.set("dummy"+(f.size+1),V),B},v.relocateComponent=function(o,e,d){if(!d.fixedNodeConstraint){var f=Number.POSITIVE_INFINITY,l=Number.NEGATIVE_INFINITY,N=Number.POSITIVE_INFINITY,c=Number.NEGATIVE_INFINITY;if(d.quality=="draft"){var E=!0,_=!1,L=void 0;try{for(var X=e.nodeIndexes[Symbol.iterator](),z;!(E=(z=X.next()).done);E=!0){var V=z.value,B=h(V,2),q=B[0],x=B[1],nt=d.cy.getElementById(q);if(nt){var a=nt.boundingBox(),y=e.xCoords[x]-a.w/2,p=e.xCoords[x]+a.w/2,m=e.yCoords[x]-a.h/2,u=e.yCoords[x]+a.h/2;yl&&(l=p),mc&&(c=u)}}}catch(U){_=!0,L=U}finally{try{!E&&X.return&&X.return()}finally{if(_)throw L}}var D=o.x-(l+f)/2,O=o.y-(c+N)/2;e.xCoords=e.xCoords.map(function(U){return U+D}),e.yCoords=e.yCoords.map(function(U){return U+O})}else{Object.keys(e).forEach(function(U){var W=e[U],j=W.getRect().x,Y=W.getRect().x+W.getRect().width,K=W.getRect().y,P=W.getRect().y+W.getRect().height;jl&&(l=Y),Kc&&(c=P)});var M=o.x-(l+f)/2,k=o.y-(c+N)/2;Object.keys(e).forEach(function(U){var W=e[U];W.setCenter(W.getCenterX()+M,W.getCenterY()+k)})}}},v.calcBoundingBox=function(o,e,d,f){for(var l=Number.MAX_SAFE_INTEGER,N=Number.MIN_SAFE_INTEGER,c=Number.MAX_SAFE_INTEGER,E=Number.MIN_SAFE_INTEGER,_=void 0,L=void 0,X=void 0,z=void 0,V=o.descendants().not(":parent"),B=V.length,q=0;q_&&(l=_),NX&&(c=X),E{var h=t(548),n=t(140).CoSELayout,v=t(140).CoSENode,o=t(140).layoutBase.PointD,e=t(140).layoutBase.DimensionD,d=t(140).layoutBase.LayoutConstants,f=t(140).layoutBase.FDLayoutConstants,l=t(140).CoSEConstants,N=T(function(c,E){var _=c.cy,L=c.eles,X=L.nodes(),z=L.edges(),V=void 0,B=void 0,q=void 0,x={};c.randomize&&(V=E.nodeIndexes,B=E.xCoords,q=E.yCoords);var nt=T(function(M){return typeof M=="function"},"isFn"),a=T(function(M,k){return nt(M)?M(k):M},"optFn"),y=h.calcParentsWithoutChildren(_,L),p=T(function M(k,U,W,j){for(var Y=U.length,K=0;K0){var ut=void 0;ut=W.getGraphManager().add(W.newGraph(),G),M(ut,b,W,j)}}},"processChildrenList"),m=T(function(M,k,U){for(var W=0,j=0,Y=0;Y0?l.DEFAULT_EDGE_LENGTH=f.DEFAULT_EDGE_LENGTH=W/j:nt(c.idealEdgeLength)?l.DEFAULT_EDGE_LENGTH=f.DEFAULT_EDGE_LENGTH=50:l.DEFAULT_EDGE_LENGTH=f.DEFAULT_EDGE_LENGTH=c.idealEdgeLength,l.MIN_REPULSION_DIST=f.MIN_REPULSION_DIST=f.DEFAULT_EDGE_LENGTH/10,l.DEFAULT_RADIAL_SEPARATION=f.DEFAULT_EDGE_LENGTH)},"processEdges"),u=T(function(M,k){k.fixedNodeConstraint&&(M.constraints.fixedNodeConstraint=k.fixedNodeConstraint),k.alignmentConstraint&&(M.constraints.alignmentConstraint=k.alignmentConstraint),k.relativePlacementConstraint&&(M.constraints.relativePlacementConstraint=k.relativePlacementConstraint)},"processConstraints");c.nestingFactor!=null&&(l.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=f.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=c.nestingFactor),c.gravity!=null&&(l.DEFAULT_GRAVITY_STRENGTH=f.DEFAULT_GRAVITY_STRENGTH=c.gravity),c.numIter!=null&&(l.MAX_ITERATIONS=f.MAX_ITERATIONS=c.numIter),c.gravityRange!=null&&(l.DEFAULT_GRAVITY_RANGE_FACTOR=f.DEFAULT_GRAVITY_RANGE_FACTOR=c.gravityRange),c.gravityCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_STRENGTH=f.DEFAULT_COMPOUND_GRAVITY_STRENGTH=c.gravityCompound),c.gravityRangeCompound!=null&&(l.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=f.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=c.gravityRangeCompound),c.initialEnergyOnIncremental!=null&&(l.DEFAULT_COOLING_FACTOR_INCREMENTAL=f.DEFAULT_COOLING_FACTOR_INCREMENTAL=c.initialEnergyOnIncremental),c.tilingCompareBy!=null&&(l.TILING_COMPARE_BY=c.tilingCompareBy),c.quality=="proof"?d.QUALITY=2:d.QUALITY=0,l.NODE_DIMENSIONS_INCLUDE_LABELS=f.NODE_DIMENSIONS_INCLUDE_LABELS=d.NODE_DIMENSIONS_INCLUDE_LABELS=c.nodeDimensionsIncludeLabels,l.DEFAULT_INCREMENTAL=f.DEFAULT_INCREMENTAL=d.DEFAULT_INCREMENTAL=!c.randomize,l.ANIMATE=f.ANIMATE=d.ANIMATE=c.animate,l.TILE=c.tile,l.TILING_PADDING_VERTICAL=typeof c.tilingPaddingVertical=="function"?c.tilingPaddingVertical.call():c.tilingPaddingVertical,l.TILING_PADDING_HORIZONTAL=typeof c.tilingPaddingHorizontal=="function"?c.tilingPaddingHorizontal.call():c.tilingPaddingHorizontal,l.DEFAULT_INCREMENTAL=f.DEFAULT_INCREMENTAL=d.DEFAULT_INCREMENTAL=!0,l.PURE_INCREMENTAL=!c.randomize,d.DEFAULT_UNIFORM_LEAF_NODE_SIZES=c.uniformNodeDimensions,c.step=="transformed"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!1),c.step=="enforced"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!1),c.step=="cose"&&(l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!1,l.APPLY_LAYOUT=!0),c.step=="all"&&(c.randomize?l.TRANSFORM_ON_CONSTRAINT_HANDLING=!0:l.TRANSFORM_ON_CONSTRAINT_HANDLING=!1,l.ENFORCE_CONSTRAINTS=!0,l.APPLY_LAYOUT=!0),c.fixedNodeConstraint||c.alignmentConstraint||c.relativePlacementConstraint?l.TREE_REDUCTION_ON_INCREMENTAL=!1:l.TREE_REDUCTION_ON_INCREMENTAL=!0;var D=new n,O=D.newGraphManager();return p(O.addRoot(),h.getTopMostNodes(X),D,c),m(D,O,z),u(D,c),D.runLayout(),x},"coseLayout");r.exports={coseLayout:N}},212:(r,i,t)=>{var h=function(){function E(_,L){for(var X=0;X0)if(y){var p=o.getTopMostNodes(L.eles.nodes());if(q=o.connectComponents(X,L.eles,p),q.forEach(function(S){var rt=S.boundingBox();x.push({x:rt.x1+rt.w/2,y:rt.y1+rt.h/2})}),L.randomize&&q.forEach(function(S){L.eles=S,V.push(d(L))}),L.quality=="default"||L.quality=="proof"){var m=X.collection();if(L.tile){var u=new Map,D=[],O=[],M=0,k={nodeIndexes:u,xCoords:D,yCoords:O},U=[];if(q.forEach(function(S,rt){S.edges().length==0&&(S.nodes().forEach(function(ht,mt){m.merge(S.nodes()[mt]),ht.isParent()||(k.nodeIndexes.set(S.nodes()[mt].id(),M++),k.xCoords.push(S.nodes()[0].position().x),k.yCoords.push(S.nodes()[0].position().y))}),U.push(rt))}),m.length>1){var W=m.boundingBox();x.push({x:W.x1+W.w/2,y:W.y1+W.h/2}),q.push(m),V.push(k);for(var j=U.length-1;j>=0;j--)q.splice(U[j],1),V.splice(U[j],1),x.splice(U[j],1)}}q.forEach(function(S,rt){L.eles=S,B.push(l(L,V[rt])),o.relocateComponent(x[rt],B[rt],L)})}else q.forEach(function(S,rt){o.relocateComponent(x[rt],V[rt],L)});var Y=new Set;if(q.length>1){var K=[],P=z.filter(function(S){return S.css("display")=="none"});q.forEach(function(S,rt){var ht=void 0;if(L.quality=="draft"&&(ht=V[rt].nodeIndexes),S.nodes().not(P).length>0){var mt={};mt.edges=[],mt.nodes=[];var Ct=void 0;S.nodes().not(P).forEach(function(yt){if(L.quality=="draft")if(!yt.isParent())Ct=ht.get(yt.id()),mt.nodes.push({x:V[rt].xCoords[Ct]-yt.boundingbox().w/2,y:V[rt].yCoords[Ct]-yt.boundingbox().h/2,width:yt.boundingbox().w,height:yt.boundingbox().h});else{var Et=o.calcBoundingBox(yt,V[rt].xCoords,V[rt].yCoords,ht);mt.nodes.push({x:Et.topLeftX,y:Et.topLeftY,width:Et.width,height:Et.height})}else B[rt][yt.id()]&&mt.nodes.push({x:B[rt][yt.id()].getLeft(),y:B[rt][yt.id()].getTop(),width:B[rt][yt.id()].getWidth(),height:B[rt][yt.id()].getHeight()})}),S.edges().forEach(function(yt){var Et=yt.source(),xt=yt.target();if(Et.css("display")!="none"&&xt.css("display")!="none")if(L.quality=="draft"){var Vt=ht.get(Et.id()),Ut=ht.get(xt.id()),kt=[],Mt=[];if(Et.isParent()){var Xt=o.calcBoundingBox(Et,V[rt].xCoords,V[rt].yCoords,ht);kt.push(Xt.topLeftX+Xt.width/2),kt.push(Xt.topLeftY+Xt.height/2)}else kt.push(V[rt].xCoords[Vt]),kt.push(V[rt].yCoords[Vt]);if(xt.isParent()){var Yt=o.calcBoundingBox(xt,V[rt].xCoords,V[rt].yCoords,ht);Mt.push(Yt.topLeftX+Yt.width/2),Mt.push(Yt.topLeftY+Yt.height/2)}else Mt.push(V[rt].xCoords[Ut]),Mt.push(V[rt].yCoords[Ut]);mt.edges.push({startX:kt[0],startY:kt[1],endX:Mt[0],endY:Mt[1]})}else B[rt][Et.id()]&&B[rt][xt.id()]&&mt.edges.push({startX:B[rt][Et.id()].getCenterX(),startY:B[rt][Et.id()].getCenterY(),endX:B[rt][xt.id()].getCenterX(),endY:B[rt][xt.id()].getCenterY()})}),mt.nodes.length>0&&(K.push(mt),Y.add(rt))}});var b=a.packComponents(K,L.randomize).shifts;if(L.quality=="draft")V.forEach(function(S,rt){var ht=S.xCoords.map(function(Ct){return Ct+b[rt].dx}),mt=S.yCoords.map(function(Ct){return Ct+b[rt].dy});S.xCoords=ht,S.yCoords=mt});else{var G=0;Y.forEach(function(S){Object.keys(B[S]).forEach(function(rt){var ht=B[S][rt];ht.setCenter(ht.getCenterX()+b[G].dx,ht.getCenterY()+b[G].dy)}),G++})}}}else{var Z=L.eles.boundingBox();if(x.push({x:Z.x1+Z.w/2,y:Z.y1+Z.h/2}),L.randomize){var it=d(L);V.push(it)}L.quality=="default"||L.quality=="proof"?(B.push(l(L,V[0])),o.relocateComponent(x[0],B[0],L)):o.relocateComponent(x[0],V[0],L)}var ut=T(function(S,rt){if(L.quality=="default"||L.quality=="proof"){typeof S=="number"&&(S=rt);var ht=void 0,mt=void 0,Ct=S.data("id");return B.forEach(function(Et){Ct in Et&&(ht={x:Et[Ct].getRect().getCenterX(),y:Et[Ct].getRect().getCenterY()},mt=Et[Ct])}),L.nodeDimensionsIncludeLabels&&(mt.labelWidth&&(mt.labelPosHorizontal=="left"?ht.x+=mt.labelWidth/2:mt.labelPosHorizontal=="right"&&(ht.x-=mt.labelWidth/2)),mt.labelHeight&&(mt.labelPosVertical=="top"?ht.y+=mt.labelHeight/2:mt.labelPosVertical=="bottom"&&(ht.y-=mt.labelHeight/2))),ht==null&&(ht={x:S.position("x"),y:S.position("y")}),{x:ht.x,y:ht.y}}else{var yt=void 0;return V.forEach(function(Et){var xt=Et.nodeIndexes.get(S.id());xt!=null&&(yt={x:Et.xCoords[xt],y:Et.yCoords[xt]})}),yt==null&&(yt={x:S.position("x"),y:S.position("y")}),{x:yt.x,y:yt.y}}},"getPositions");if(L.quality=="default"||L.quality=="proof"||L.randomize){var It=o.calcParentsWithoutChildren(X,z),Dt=z.filter(function(S){return S.css("display")=="none"});L.eles=z.not(Dt),z.nodes().not(":parent").not(Dt).layoutPositions(_,L,ut),It.length>0&&It.forEach(function(S){S.position(ut(S))})}else console.log("If randomize option is set to false, then quality option must be 'default' or 'proof'.")},"run")}]),E}();r.exports=c},657:(r,i,t)=>{var h=t(548),n=t(140).layoutBase.Matrix,v=t(140).layoutBase.SVD,o=T(function(e){var d=e.cy,f=e.eles,l=f.nodes(),N=f.nodes(":parent"),c=new Map,E=new Map,_=new Map,L=[],X=[],z=[],V=[],B=[],q=[],x=[],nt=[],a=void 0,y=1e8,p=1e-9,m=e.piTol,u=e.samplingType,D=e.nodeSeparation,O=void 0,M=T(function(){for(var lt=0,I=0,R=!1;I=J;){pt=$[J++];for(var et=L[pt],Ot=0;Otgt&&(gt=B[st],Nt=st)}return Nt},"BFS"),U=T(function(lt){var I=void 0;if(lt){I=Math.floor(Math.random()*a);for(var R=0;R=1)break;gt=tt}for(var et=0;et=1)break;gt=tt}for(var ot=0;ot0&&(R.isParent()?L[I].push(_.get(R.id())):L[I].push(R.id()))})});var Dt=T(function(lt){var I=E.get(lt),R=void 0;c.get(lt).forEach(function($){d.getElementById($).isParent()?R=_.get($):R=$,L[I].push(R),L[E.get(R)].push(lt)})},"_loop"),S=!0,rt=!1,ht=void 0;try{for(var mt=c.keys()[Symbol.iterator](),Ct;!(S=(Ct=mt.next()).done);S=!0){var yt=Ct.value;Dt(yt)}}catch(lt){rt=!0,ht=lt}finally{try{!S&&mt.return&&mt.return()}finally{if(rt)throw ht}}a=E.size;var Et=void 0;if(a>2){O=a{var h=t(212),n=T(function(v){v&&v("layout","fcose",h)},"register");typeof cytoscape<"u"&&n(cytoscape),r.exports=n},140:r=>{r.exports=C}},A={};function g(r){var i=A[r];if(i!==void 0)return i.exports;var t=A[r]={exports:{}};return F[r](t,t.exports,g),t.exports}T(g,"__webpack_require__");var s=g(579);return s})()})}),Ie={L:"left",R:"right",T:"top",B:"bottom"},Ce={L:T(w=>`${w},${w/2} 0,${w} 0,0`,"L"),R:T(w=>`0,${w/2} ${w},0 ${w},${w}`,"R"),T:T(w=>`0,0 ${w},0 ${w/2},${w}`,"T"),B:T(w=>`${w/2},0 ${w},${w} 0,${w}`,"B")},se={L:T((w,H)=>w-H+2,"L"),R:T((w,H)=>w-2,"R"),T:T((w,H)=>w-H+2,"T"),B:T((w,H)=>w-2,"B")},si=T(function(w){return Ht(w)?w==="L"?"R":"L":w==="T"?"B":"T"},"getOppositeArchitectureDirection"),Oe=T(function(w){let H=w;return H==="L"||H==="R"||H==="T"||H==="B"},"isArchitectureDirection"),Ht=T(function(w){let H=w;return H==="L"||H==="R"},"isArchitectureDirectionX"),Zt=T(function(w){let H=w;return H==="T"||H==="B"},"isArchitectureDirectionY"),De=T(function(w,H){let C=Ht(w)&&Zt(H),F=Zt(w)&&Ht(H);return C||F},"isArchitectureDirectionXY"),hi=T(function(w){let H=w[0],C=w[1],F=Ht(H)&&Zt(C),A=Zt(H)&&Ht(C);return F||A},"isArchitecturePairXY"),li=T(function(w){return w!=="LL"&&w!=="RR"&&w!=="TT"&&w!=="BB"},"isValidArchitectureDirectionPair"),pe=T(function(w,H){let C=`${w}${H}`;return li(C)?C:void 0},"getArchitectureDirectionPair"),di=T(function([w,H],C){let F=C[0],A=C[1];return Ht(F)?Zt(A)?[w+(F==="L"?-1:1),H+(A==="T"?1:-1)]:[w+(F==="L"?-1:1),H]:Ht(A)?[w+(A==="L"?1:-1),H+(F==="T"?1:-1)]:[w,H+(F==="T"?1:-1)]},"shiftPositionByArchitectureDirectionPair"),ci=T(function(w){return w==="LT"||w==="TL"?[1,1]:w==="BL"||w==="LB"?[1,-1]:w==="BR"||w==="RB"?[-1,-1]:[-1,1]},"getArchitectureDirectionXYFactors"),gi=T(function(w){return w.type==="service"},"isArchitectureService"),ui=T(function(w){return w.type==="junction"},"isArchitectureJunction"),be=T(w=>w.data(),"edgeData"),re=T(w=>w.data(),"nodeData"),Re=We.architecture,vt=new He(()=>({nodes:{},groups:{},edges:[],registeredIds:{},config:Re,dataStructures:void 0,elements:{}})),fi=T(()=>{vt.reset(),je()},"clear"),pi=T(function({id:w,icon:H,in:C,title:F,iconText:A}){if(vt.records.registeredIds[w]!==void 0)throw new Error(`The service id [${w}] is already in use by another ${vt.records.registeredIds[w]}`);if(C!==void 0){if(w===C)throw new Error(`The service [${w}] cannot be placed within itself`);if(vt.records.registeredIds[C]===void 0)throw new Error(`The service [${w}]'s parent does not exist. Please make sure the parent is created before this service`);if(vt.records.registeredIds[C]==="node")throw new Error(`The service [${w}]'s parent is not a group`)}vt.records.registeredIds[w]="node",vt.records.nodes[w]={id:w,type:"service",icon:H,iconText:A,title:F,edges:[],in:C}},"addService"),vi=T(()=>Object.values(vt.records.nodes).filter(gi),"getServices"),mi=T(function({id:w,in:H}){vt.records.registeredIds[w]="node",vt.records.nodes[w]={id:w,type:"junction",edges:[],in:H}},"addJunction"),yi=T(()=>Object.values(vt.records.nodes).filter(ui),"getJunctions"),Ei=T(()=>Object.values(vt.records.nodes),"getNodes"),Ni=T(w=>vt.records.nodes[w],"getNode"),Ti=T(function({id:w,icon:H,in:C,title:F}){if(vt.records.registeredIds[w]!==void 0)throw new Error(`The group id [${w}] is already in use by another ${vt.records.registeredIds[w]}`);if(C!==void 0){if(w===C)throw new Error(`The group [${w}] cannot be placed within itself`);if(vt.records.registeredIds[C]===void 0)throw new Error(`The group [${w}]'s parent does not exist. Please make sure the parent is created before this group`);if(vt.records.registeredIds[C]==="node")throw new Error(`The group [${w}]'s parent is not a group`)}vt.records.registeredIds[w]="group",vt.records.groups[w]={id:w,icon:H,title:F,in:C}},"addGroup"),Ai=T(()=>Object.values(vt.records.groups),"getGroups"),wi=T(function({lhsId:w,rhsId:H,lhsDir:C,rhsDir:F,lhsInto:A,rhsInto:g,lhsGroup:s,rhsGroup:r,title:i}){if(!Oe(C))throw new Error(`Invalid direction given for left hand side of edge ${w}--${H}. Expected (L,R,T,B) got ${C}`);if(!Oe(F))throw new Error(`Invalid direction given for right hand side of edge ${w}--${H}. Expected (L,R,T,B) got ${F}`);if(vt.records.nodes[w]===void 0&&vt.records.groups[w]===void 0)throw new Error(`The left-hand id [${w}] does not yet exist. Please create the service/group before declaring an edge to it.`);if(vt.records.nodes[H]===void 0&&vt.records.groups[w]===void 0)throw new Error(`The right-hand id [${H}] does not yet exist. Please create the service/group before declaring an edge to it.`);let t=vt.records.nodes[w].in,h=vt.records.nodes[H].in;if(s&&t&&h&&t==h)throw new Error(`The left-hand id [${w}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);if(r&&t&&h&&t==h)throw new Error(`The right-hand id [${H}] is modified to traverse the group boundary, but the edge does not pass through two groups.`);let n={lhsId:w,lhsDir:C,lhsInto:A,lhsGroup:s,rhsId:H,rhsDir:F,rhsInto:g,rhsGroup:r,title:i};vt.records.edges.push(n),vt.records.nodes[w]&&vt.records.nodes[H]&&(vt.records.nodes[w].edges.push(vt.records.edges[vt.records.edges.length-1]),vt.records.nodes[H].edges.push(vt.records.edges[vt.records.edges.length-1]))},"addEdge"),_i=T(()=>vt.records.edges,"getEdges"),Li=T(()=>{if(vt.records.dataStructures===void 0){let w=Object.entries(vt.records.nodes).reduce((s,[r,i])=>(s[r]=i.edges.reduce((t,h)=>{if(h.lhsId===r){let n=pe(h.lhsDir,h.rhsDir);n&&(t[n]=h.rhsId)}else{let n=pe(h.rhsDir,h.lhsDir);n&&(t[n]=h.lhsId)}return t},{}),s),{}),H=Object.keys(w)[0],C={[H]:1},F=Object.keys(w).reduce((s,r)=>r===H?s:{...s,[r]:1},{}),A=T(s=>{let r={[s]:[0,0]},i=[s];for(;i.length>0;){let t=i.shift();if(t){C[t]=1,delete F[t];let h=w[t],[n,v]=r[t];Object.entries(h).forEach(([o,e])=>{C[e]||(r[e]=di([n,v],o),i.push(e))})}}return r},"BFS"),g=[A(H)];for(;Object.keys(F).length>0;)g.push(A(Object.keys(F)[0]));vt.records.dataStructures={adjList:w,spatialMaps:g}}return vt.records.dataStructures},"getDataStructures"),Ii=T((w,H)=>{vt.records.elements[w]=H},"setElementForId"),Ci=T(w=>vt.records.elements[w],"getElementById"),he={clear:fi,setDiagramTitle:Qe,getDiagramTitle:ti,setAccTitle:ei,getAccTitle:ii,setAccDescription:ri,getAccDescription:ni,addService:pi,getServices:vi,addJunction:mi,getJunctions:yi,getNodes:Ei,getNode:Ni,addGroup:Ti,getGroups:Ai,addEdge:wi,getEdges:_i,setElementForId:Ii,getElementById:Ci,getDataStructures:Li};function St(w){let H=le().architecture;return H!=null&&H[w]?H[w]:Re[w]}T(St,"getConfigField");var Oi=T((w,H)=>{Ve(w,H),w.groups.map(H.addGroup),w.services.map(C=>H.addService({...C,type:"service"})),w.junctions.map(C=>H.addJunction({...C,type:"junction"})),w.edges.map(H.addEdge)},"populateDb"),xi={parse:T(async w=>{let H=await Be("architecture",w);Me.debug(H),Oi(H,he)},"parse")},Mi=T(w=>` .edge { stroke-width: ${w.archEdgeWidth}; stroke: ${w.archEdgeColor}; diff --git a/assets/blockDiagram-MYUW6R5Q-QBsgXq_V.js b/assets/blockDiagram-MYUW6R5Q-Dp3_LaDK.js similarity index 99% rename from assets/blockDiagram-MYUW6R5Q-QBsgXq_V.js rename to assets/blockDiagram-MYUW6R5Q-Dp3_LaDK.js index c4e0352c..fcad0991 100644 --- a/assets/blockDiagram-MYUW6R5Q-QBsgXq_V.js +++ b/assets/blockDiagram-MYUW6R5Q-Dp3_LaDK.js @@ -1,4 +1,4 @@ -import{m as u,Q as O,d as ge,J as L,v as ue,H as at,u as ye,bg as q,bh as pe,bi as bt,bb as Wt,b as B,bj as xe,I as tt,bk as be,j as fe,N as $t,k as me,G as we,l as Le,bl as Se}from"./mermaid.esm.min-DnxZBvzk.js";import{m as ke}from"./chunk-ZN7TASNU-DRzcILnV.js";import{_ as _e}from"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";var ft=function(){var e=u(function(v,c,y,b){for(y=y||{},b=v.length;b--;y[v[b]]=c);return y},"o"),t=[1,7],r=[1,13],n=[1,14],s=[1,15],a=[1,19],i=[1,16],l=[1,17],o=[1,18],p=[8,30],h=[8,21,28,29,30,31,32,40,44,47],x=[1,23],f=[1,24],w=[8,15,16,21,28,29,30,31,32,40,44,47],S=[8,15,16,21,27,28,29,30,31,32,40,44,47],E=[1,49],k={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(v,c,y,b,D,d,m){var g=d.length-1;switch(D){case 4:b.getLogger().debug("Rule: separator (NL) ");break;case 5:b.getLogger().debug("Rule: separator (Space) ");break;case 6:b.getLogger().debug("Rule: separator (EOF) ");break;case 7:b.getLogger().debug("Rule: hierarchy: ",d[g-1]),b.setHierarchy(d[g-1]);break;case 8:b.getLogger().debug("Stop NL ");break;case 9:b.getLogger().debug("Stop EOF ");break;case 10:b.getLogger().debug("Stop NL2 ");break;case 11:b.getLogger().debug("Stop EOF2 ");break;case 12:b.getLogger().debug("Rule: statement: ",d[g]),typeof d[g].length=="number"?this.$=d[g]:this.$=[d[g]];break;case 13:b.getLogger().debug("Rule: statement #2: ",d[g-1]),this.$=[d[g-1]].concat(d[g]);break;case 14:b.getLogger().debug("Rule: link: ",d[g],v),this.$={edgeTypeStr:d[g],label:""};break;case 15:b.getLogger().debug("Rule: LABEL link: ",d[g-3],d[g-1],d[g]),this.$={edgeTypeStr:d[g],label:d[g-1]};break;case 18:let C=parseInt(d[g]),M=b.generateId();this.$={id:M,type:"space",label:"",width:C,children:[]};break;case 23:b.getLogger().debug("Rule: (nodeStatement link node) ",d[g-2],d[g-1],d[g]," typestr: ",d[g-1].edgeTypeStr);let R=b.edgeStrToEdgeData(d[g-1].edgeTypeStr);this.$=[{id:d[g-2].id,label:d[g-2].label,type:d[g-2].type,directions:d[g-2].directions},{id:d[g-2].id+"-"+d[g].id,start:d[g-2].id,end:d[g].id,label:d[g-1].label,type:"edge",directions:d[g].directions,arrowTypeEnd:R,arrowTypeStart:"arrow_open"},{id:d[g].id,label:d[g].label,type:b.typeStr2Type(d[g].typeStr),directions:d[g].directions}];break;case 24:b.getLogger().debug("Rule: nodeStatement (abc88 node size) ",d[g-1],d[g]),this.$={id:d[g-1].id,label:d[g-1].label,type:b.typeStr2Type(d[g-1].typeStr),directions:d[g-1].directions,widthInColumns:parseInt(d[g],10)};break;case 25:b.getLogger().debug("Rule: nodeStatement (node) ",d[g]),this.$={id:d[g].id,label:d[g].label,type:b.typeStr2Type(d[g].typeStr),directions:d[g].directions,widthInColumns:1};break;case 26:b.getLogger().debug("APA123",this?this:"na"),b.getLogger().debug("COLUMNS: ",d[g]),this.$={type:"column-setting",columns:d[g]==="auto"?-1:parseInt(d[g])};break;case 27:b.getLogger().debug("Rule: id-block statement : ",d[g-2],d[g-1]),b.generateId(),this.$={...d[g-2],type:"composite",children:d[g-1]};break;case 28:b.getLogger().debug("Rule: blockStatement : ",d[g-2],d[g-1],d[g]);let U=b.generateId();this.$={id:U,type:"composite",label:"",children:d[g-1]};break;case 29:b.getLogger().debug("Rule: node (NODE_ID separator): ",d[g]),this.$={id:d[g]};break;case 30:b.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",d[g-1],d[g]),this.$={id:d[g-1],label:d[g].label,typeStr:d[g].typeStr,directions:d[g].directions};break;case 31:b.getLogger().debug("Rule: dirList: ",d[g]),this.$=[d[g]];break;case 32:b.getLogger().debug("Rule: dirList: ",d[g-1],d[g]),this.$=[d[g-1]].concat(d[g]);break;case 33:b.getLogger().debug("Rule: nodeShapeNLabel: ",d[g-2],d[g-1],d[g]),this.$={typeStr:d[g-2]+d[g],label:d[g-1]};break;case 34:b.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",d[g-3],d[g-2]," #3:",d[g-1],d[g]),this.$={typeStr:d[g-3]+d[g],label:d[g-2],directions:d[g-1]};break;case 35:case 36:this.$={type:"classDef",id:d[g-1].trim(),css:d[g].trim()};break;case 37:this.$={type:"applyClass",id:d[g-1].trim(),styleClass:d[g].trim()};break;case 38:this.$={type:"applyStyles",id:d[g-1].trim(),stylesStr:d[g].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:s,32:a,40:i,44:l,47:o},{8:[1,20]},e(p,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:r,29:n,31:s,32:a,40:i,44:l,47:o}),e(h,[2,16],{14:22,15:x,16:f}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(w,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:a},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:s,32:a,40:i,44:l,47:o},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(S,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(p,[2,13]),{26:35,32:a},{32:[2,14]},{17:[1,36]},e(w,[2,24]),{11:37,13:4,14:22,15:x,16:f,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:s,32:a,40:i,44:l,47:o},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(S,[2,30]),{18:[1,43]},{18:[1,44]},e(w,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:E},{15:[1,50]},e(h,[2,27]),e(S,[2,33]),{39:[1,51]},{34:52,35:E,39:[2,31]},{32:[2,15]},e(S,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(v,c){if(c.recoverable)this.trace(v);else{var y=new Error(v);throw y.hash=c,y}},"parseError"),parse:u(function(v){var c=this,y=[0],b=[],D=[null],d=[],m=this.table,g="",C=0,M=0,R=0,U=2,X=1,ce=d.slice.call(arguments,1),z=Object.create(this.lexer),J={yy:{}};for(var gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,gt)&&(J.yy[gt]=this.yy[gt]);z.setInput(v,J.yy),J.yy.lexer=z,J.yy.parser=this,typeof z.yylloc>"u"&&(z.yylloc={});var ut=z.yylloc;d.push(ut);var de=z.options&&z.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(W){y.length=y.length-2*W,D.length=D.length-W,d.length=d.length-W}u(he,"popStack");function Nt(){var W;return W=b.pop()||z.lex()||X,typeof W!="number"&&(W instanceof Array&&(b=W,W=b.pop()),W=c.symbols_[W]||W),W}u(Nt,"lex");for(var Y,yt,G,j,qr,pt,Q={},it,V,Tt,st;;){if(G=y[y.length-1],this.defaultActions[G]?j=this.defaultActions[G]:((Y===null||typeof Y>"u")&&(Y=Nt()),j=m[G]&&m[G][Y]),typeof j>"u"||!j.length||!j[0]){var xt="";st=[];for(it in m[G])this.terminals_[it]&&it>U&&st.push("'"+this.terminals_[it]+"'");z.showPosition?xt="Parse error on line "+(C+1)+`: +import{m as u,Q as O,d as ge,J as L,v as ue,H as at,u as ye,bg as q,bh as pe,bi as bt,bb as Wt,b as B,bj as xe,I as tt,bk as be,j as fe,N as $t,k as me,G as we,l as Le,bl as Se}from"./mermaid.esm.min-Bq5H-fqC.js";import{m as ke}from"./chunk-ZN7TASNU-CG0HzbXE.js";import{_ as _e}from"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var ft=function(){var e=u(function(v,c,y,b){for(y=y||{},b=v.length;b--;y[v[b]]=c);return y},"o"),t=[1,7],r=[1,13],n=[1,14],s=[1,15],a=[1,19],i=[1,16],l=[1,17],o=[1,18],p=[8,30],h=[8,21,28,29,30,31,32,40,44,47],x=[1,23],f=[1,24],w=[8,15,16,21,28,29,30,31,32,40,44,47],S=[8,15,16,21,27,28,29,30,31,32,40,44,47],E=[1,49],k={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,spaceLines:3,SPACELINE:4,NL:5,separator:6,SPACE:7,EOF:8,start:9,BLOCK_DIAGRAM_KEY:10,document:11,stop:12,statement:13,link:14,LINK:15,START_LINK:16,LINK_LABEL:17,STR:18,nodeStatement:19,columnsStatement:20,SPACE_BLOCK:21,blockStatement:22,classDefStatement:23,cssClassStatement:24,styleStatement:25,node:26,SIZE:27,COLUMNS:28,"id-block":29,end:30,block:31,NODE_ID:32,nodeShapeNLabel:33,dirList:34,DIR:35,NODE_DSTART:36,NODE_DEND:37,BLOCK_ARROW_START:38,BLOCK_ARROW_END:39,classDef:40,CLASSDEF_ID:41,CLASSDEF_STYLEOPTS:42,DEFAULT:43,class:44,CLASSENTITY_IDS:45,STYLECLASS:46,style:47,STYLE_ENTITY_IDS:48,STYLE_DEFINITION_DATA:49,$accept:0,$end:1},terminals_:{2:"error",4:"SPACELINE",5:"NL",7:"SPACE",8:"EOF",10:"BLOCK_DIAGRAM_KEY",15:"LINK",16:"START_LINK",17:"LINK_LABEL",18:"STR",21:"SPACE_BLOCK",27:"SIZE",28:"COLUMNS",29:"id-block",30:"end",31:"block",32:"NODE_ID",35:"DIR",36:"NODE_DSTART",37:"NODE_DEND",38:"BLOCK_ARROW_START",39:"BLOCK_ARROW_END",40:"classDef",41:"CLASSDEF_ID",42:"CLASSDEF_STYLEOPTS",43:"DEFAULT",44:"class",45:"CLASSENTITY_IDS",46:"STYLECLASS",47:"style",48:"STYLE_ENTITY_IDS",49:"STYLE_DEFINITION_DATA"},productions_:[0,[3,1],[3,2],[3,2],[6,1],[6,1],[6,1],[9,3],[12,1],[12,1],[12,2],[12,2],[11,1],[11,2],[14,1],[14,4],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[13,1],[19,3],[19,2],[19,1],[20,1],[22,4],[22,3],[26,1],[26,2],[34,1],[34,2],[33,3],[33,4],[23,3],[23,3],[24,3],[25,3]],performAction:u(function(v,c,y,b,D,d,m){var g=d.length-1;switch(D){case 4:b.getLogger().debug("Rule: separator (NL) ");break;case 5:b.getLogger().debug("Rule: separator (Space) ");break;case 6:b.getLogger().debug("Rule: separator (EOF) ");break;case 7:b.getLogger().debug("Rule: hierarchy: ",d[g-1]),b.setHierarchy(d[g-1]);break;case 8:b.getLogger().debug("Stop NL ");break;case 9:b.getLogger().debug("Stop EOF ");break;case 10:b.getLogger().debug("Stop NL2 ");break;case 11:b.getLogger().debug("Stop EOF2 ");break;case 12:b.getLogger().debug("Rule: statement: ",d[g]),typeof d[g].length=="number"?this.$=d[g]:this.$=[d[g]];break;case 13:b.getLogger().debug("Rule: statement #2: ",d[g-1]),this.$=[d[g-1]].concat(d[g]);break;case 14:b.getLogger().debug("Rule: link: ",d[g],v),this.$={edgeTypeStr:d[g],label:""};break;case 15:b.getLogger().debug("Rule: LABEL link: ",d[g-3],d[g-1],d[g]),this.$={edgeTypeStr:d[g],label:d[g-1]};break;case 18:let C=parseInt(d[g]),M=b.generateId();this.$={id:M,type:"space",label:"",width:C,children:[]};break;case 23:b.getLogger().debug("Rule: (nodeStatement link node) ",d[g-2],d[g-1],d[g]," typestr: ",d[g-1].edgeTypeStr);let R=b.edgeStrToEdgeData(d[g-1].edgeTypeStr);this.$=[{id:d[g-2].id,label:d[g-2].label,type:d[g-2].type,directions:d[g-2].directions},{id:d[g-2].id+"-"+d[g].id,start:d[g-2].id,end:d[g].id,label:d[g-1].label,type:"edge",directions:d[g].directions,arrowTypeEnd:R,arrowTypeStart:"arrow_open"},{id:d[g].id,label:d[g].label,type:b.typeStr2Type(d[g].typeStr),directions:d[g].directions}];break;case 24:b.getLogger().debug("Rule: nodeStatement (abc88 node size) ",d[g-1],d[g]),this.$={id:d[g-1].id,label:d[g-1].label,type:b.typeStr2Type(d[g-1].typeStr),directions:d[g-1].directions,widthInColumns:parseInt(d[g],10)};break;case 25:b.getLogger().debug("Rule: nodeStatement (node) ",d[g]),this.$={id:d[g].id,label:d[g].label,type:b.typeStr2Type(d[g].typeStr),directions:d[g].directions,widthInColumns:1};break;case 26:b.getLogger().debug("APA123",this?this:"na"),b.getLogger().debug("COLUMNS: ",d[g]),this.$={type:"column-setting",columns:d[g]==="auto"?-1:parseInt(d[g])};break;case 27:b.getLogger().debug("Rule: id-block statement : ",d[g-2],d[g-1]),b.generateId(),this.$={...d[g-2],type:"composite",children:d[g-1]};break;case 28:b.getLogger().debug("Rule: blockStatement : ",d[g-2],d[g-1],d[g]);let U=b.generateId();this.$={id:U,type:"composite",label:"",children:d[g-1]};break;case 29:b.getLogger().debug("Rule: node (NODE_ID separator): ",d[g]),this.$={id:d[g]};break;case 30:b.getLogger().debug("Rule: node (NODE_ID nodeShapeNLabel separator): ",d[g-1],d[g]),this.$={id:d[g-1],label:d[g].label,typeStr:d[g].typeStr,directions:d[g].directions};break;case 31:b.getLogger().debug("Rule: dirList: ",d[g]),this.$=[d[g]];break;case 32:b.getLogger().debug("Rule: dirList: ",d[g-1],d[g]),this.$=[d[g-1]].concat(d[g]);break;case 33:b.getLogger().debug("Rule: nodeShapeNLabel: ",d[g-2],d[g-1],d[g]),this.$={typeStr:d[g-2]+d[g],label:d[g-1]};break;case 34:b.getLogger().debug("Rule: BLOCK_ARROW nodeShapeNLabel: ",d[g-3],d[g-2]," #3:",d[g-1],d[g]),this.$={typeStr:d[g-3]+d[g],label:d[g-2],directions:d[g-1]};break;case 35:case 36:this.$={type:"classDef",id:d[g-1].trim(),css:d[g].trim()};break;case 37:this.$={type:"applyClass",id:d[g-1].trim(),styleClass:d[g].trim()};break;case 38:this.$={type:"applyStyles",id:d[g-1].trim(),stylesStr:d[g].trim()};break}},"anonymous"),table:[{9:1,10:[1,2]},{1:[3]},{11:3,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:s,32:a,40:i,44:l,47:o},{8:[1,20]},e(p,[2,12],{13:4,19:5,20:6,22:8,23:9,24:10,25:11,26:12,11:21,21:t,28:r,29:n,31:s,32:a,40:i,44:l,47:o}),e(h,[2,16],{14:22,15:x,16:f}),e(h,[2,17]),e(h,[2,18]),e(h,[2,19]),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(w,[2,25],{27:[1,25]}),e(h,[2,26]),{19:26,26:12,32:a},{11:27,13:4,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:s,32:a,40:i,44:l,47:o},{41:[1,28],43:[1,29]},{45:[1,30]},{48:[1,31]},e(S,[2,29],{33:32,36:[1,33],38:[1,34]}),{1:[2,7]},e(p,[2,13]),{26:35,32:a},{32:[2,14]},{17:[1,36]},e(w,[2,24]),{11:37,13:4,14:22,15:x,16:f,19:5,20:6,21:t,22:8,23:9,24:10,25:11,26:12,28:r,29:n,31:s,32:a,40:i,44:l,47:o},{30:[1,38]},{42:[1,39]},{42:[1,40]},{46:[1,41]},{49:[1,42]},e(S,[2,30]),{18:[1,43]},{18:[1,44]},e(w,[2,23]),{18:[1,45]},{30:[1,46]},e(h,[2,28]),e(h,[2,35]),e(h,[2,36]),e(h,[2,37]),e(h,[2,38]),{37:[1,47]},{34:48,35:E},{15:[1,50]},e(h,[2,27]),e(S,[2,33]),{39:[1,51]},{34:52,35:E,39:[2,31]},{32:[2,15]},e(S,[2,34]),{39:[2,32]}],defaultActions:{20:[2,7],23:[2,14],50:[2,15],52:[2,32]},parseError:u(function(v,c){if(c.recoverable)this.trace(v);else{var y=new Error(v);throw y.hash=c,y}},"parseError"),parse:u(function(v){var c=this,y=[0],b=[],D=[null],d=[],m=this.table,g="",C=0,M=0,R=0,U=2,X=1,ce=d.slice.call(arguments,1),z=Object.create(this.lexer),J={yy:{}};for(var gt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,gt)&&(J.yy[gt]=this.yy[gt]);z.setInput(v,J.yy),J.yy.lexer=z,J.yy.parser=this,typeof z.yylloc>"u"&&(z.yylloc={});var ut=z.yylloc;d.push(ut);var de=z.options&&z.options.ranges;typeof J.yy.parseError=="function"?this.parseError=J.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function he(W){y.length=y.length-2*W,D.length=D.length-W,d.length=d.length-W}u(he,"popStack");function Nt(){var W;return W=b.pop()||z.lex()||X,typeof W!="number"&&(W instanceof Array&&(b=W,W=b.pop()),W=c.symbols_[W]||W),W}u(Nt,"lex");for(var Y,yt,G,j,qr,pt,Q={},it,V,Tt,st;;){if(G=y[y.length-1],this.defaultActions[G]?j=this.defaultActions[G]:((Y===null||typeof Y>"u")&&(Y=Nt()),j=m[G]&&m[G][Y]),typeof j>"u"||!j.length||!j[0]){var xt="";st=[];for(it in m[G])this.terminals_[it]&&it>U&&st.push("'"+this.terminals_[it]+"'");z.showPosition?xt="Parse error on line "+(C+1)+`: `+z.showPosition()+` Expecting `+st.join(", ")+", got '"+(this.terminals_[Y]||Y)+"'":xt="Parse error on line "+(C+1)+": Unexpected "+(Y==X?"end of input":"'"+(this.terminals_[Y]||Y)+"'"),this.parseError(xt,{text:z.match,token:this.terminals_[Y]||Y,line:z.yylineno,loc:ut,expected:st})}if(j[0]instanceof Array&&j.length>1)throw new Error("Parse Error: multiple actions possible at state: "+G+", token: "+Y);switch(j[0]){case 1:y.push(Y),D.push(z.yytext),d.push(z.yylloc),y.push(j[1]),Y=null,yt?(Y=yt,yt=null):(M=z.yyleng,g=z.yytext,C=z.yylineno,ut=z.yylloc,R>0);break;case 2:if(V=this.productions_[j[1]][1],Q.$=D[D.length-V],Q._$={first_line:d[d.length-(V||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(V||1)].first_column,last_column:d[d.length-1].last_column},de&&(Q._$.range=[d[d.length-(V||1)].range[0],d[d.length-1].range[1]]),pt=this.performAction.apply(Q,[g,M,C,J.yy,j[1],D,d].concat(ce)),typeof pt<"u")return pt;V&&(y=y.slice(0,-1*V*2),D=D.slice(0,-1*V),d=d.slice(0,-1*V)),y.push(this.productions_[j[1]][0]),D.push(Q.$),d.push(Q._$),Tt=m[y[y.length-2]][y[y.length-1]],y.push(Tt);break;case 3:return!0}}return!0},"parse")},N=function(){var v={EOF:1,parseError:u(function(c,y){if(this.yy.parser)this.yy.parser.parseError(c,y);else throw new Error(c)},"parseError"),setInput:u(function(c,y){return this.yy=y||this.yy||{},this._input=c,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var c=this._input[0];this.yytext+=c,this.yyleng++,this.offset++,this.match+=c,this.matched+=c;var y=c.match(/(?:\r\n?|\n).*/g);return y?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),c},"input"),unput:u(function(c){var y=c.length,b=c.split(/(?:\r\n?|\n)/g);this._input=c+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-y),this.offset-=y;var D=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),b.length-1&&(this.yylineno-=b.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:b?(b.length===D.length?this.yylloc.first_column:0)+D[D.length-b.length].length-b[0].length:this.yylloc.first_column-y},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-y]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(c){this.unput(this.match.slice(c))},"less"),pastInput:u(function(){var c=this.matched.substr(0,this.matched.length-this.match.length);return(c.length>20?"...":"")+c.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var c=this.match;return c.length<20&&(c+=this._input.substr(0,20-c.length)),(c.substr(0,20)+(c.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var c=this.pastInput(),y=new Array(c.length+1).join("-");return c+this.upcomingInput()+` diff --git a/assets/bump-algorithm.html-B11qoe0y.js b/assets/bump-algorithm.html-MucxXYNP.js similarity index 92% rename from assets/bump-algorithm.html-B11qoe0y.js rename to assets/bump-algorithm.html-MucxXYNP.js index 63659dcb..7c92756d 100644 --- a/assets/bump-algorithm.html-B11qoe0y.js +++ b/assets/bump-algorithm.html-MucxXYNP.js @@ -1,4 +1,4 @@ -import{_ as t,c as i,b as n,d as s,a as o,o as p,r as l}from"./app-DQKFxOg7.js";const d={};function c(r,e){const a=l("Mermaid");return p(),i("div",null,[e[0]||(e[0]=n("h1",{id:"bump-algorithm",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#bump-algorithm"},[n("span",null,"Bump algorithm")])],-1)),e[1]||(e[1]=n("p",null,"Bumping a single package is a simple task of just looking up a change file for its change type and using semver to bump the version according to what that change type is.",-1)),e[2]||(e[2]=n("p",null,"Things get a bit more complicated when we introduce the concepts of version groups and dependent package bumping. For the sake of describing this algorithm, we can take a look at the following graph:",-1)),s(a,{id:"mermaid-9",code:"eJxLL0osyFAIceFSUEgsKFDQ1bVTSMvP98lMAgpAGDCx0JLMnGIkZcn5uQX5eal5JSDFQPHi0iSIYUqlIJVKQCGwEWB9YB3FJZU5qTBj0ORSEkvgUql5KVwA25gu1w=="}),e[3]||(e[3]=o('

Dependent version bumping

In the above example, the app package is dependent on fooLib. Let's assume that the developer has created a minor change inside fooLib. By default, beachball will also bump app with a patch change type, like this:

',2)),s(a,{id:"mermaid-16",code:"eJxLL0osyFAIceFSUEgsKFDQ1VMoSCxJzlDQ07UDCfilVpREKwEZ6kqxQCVp+fk+mUkgVbmZeflFYFUQMYhCCBukFqi4uDQJYrpScmlRUWpeiRJQEGoNXB9QKDUvBVV5UmluQWoKXDXIaCQdIC5UFwAosjjC"}),e[4]||(e[4]=o(`

To modify what the dependent package bumped change type would be (e.g. making app also bump with minor in the above example), you have to modify the change file to specify this. Here's an example of a change file under /changes:

{
+import{_ as t,c as i,a as n,b as s,d as o,o as p,r as l}from"./app-3oaVMpRs.js";const d={};function c(u,e){const a=l("Mermaid");return p(),i("div",null,[e[0]||(e[0]=n("h1",{id:"bump-algorithm",tabindex:"-1"},[n("a",{class:"header-anchor",href:"#bump-algorithm"},[n("span",null,"Bump algorithm")])],-1)),e[1]||(e[1]=n("p",null,"Bumping a single package is a simple task of just looking up a change file for its change type and using semver to bump the version according to what that change type is.",-1)),e[2]||(e[2]=n("p",null,"Things get a bit more complicated when we introduce the concepts of version groups and dependent package bumping. For the sake of describing this algorithm, we can take a look at the following graph:",-1)),s(a,{id:"mermaid-9",code:"eJxLL0osyFAIceFSUEgsKFDQ1bVTSMvP98lMAgpAGDCx0JLMnGIkZcn5uQX5eal5JSDFQPHi0iSIYUqlIJVKQCGwEWB9YB3FJZU5qTBj0ORSEkvgUql5KVwA25gu1w=="}),e[3]||(e[3]=o('

Dependent version bumping

In the above example, the app package is dependent on fooLib. Let's assume that the developer has created a minor change inside fooLib. By default, beachball will also bump app with a patch change type, like this:

',2)),s(a,{id:"mermaid-16",code:"eJxLL0osyFAIceFSUEgsKFDQ1VMoSCxJzlDQ07UDCfilVpREKwEZ6kqxQCVp+fk+mUkgVbmZeflFYFUQMYhCCBukFqi4uDQJYrpScmlRUWpeiRJQEGoNXB9QKDUvBVV5UmluQWoKXDXIaCQdIC5UFwAosjjC"}),e[4]||(e[4]=o(`

To modify what the dependent package bumped change type would be (e.g. making app also bump with minor in the above example), you have to modify the change file to specify this. Here's an example of a change file under /changes:

{
   "comment": "Upgrading fooLib",
   "type": "patch",
   "packageName": "fooLib",
@@ -7,4 +7,4 @@ import{_ as t,c as i,b as n,d as s,a as o,o as p,r as l}from"./app-DQKFxOg7.js";
   "date": "2019-06-20T22:54:59.172Z",
 + "dependentChangeType": "minor"
 }
-

Grouped bumping

In the above example, fooUtils, styleUtils, dateUtils all belong to a utils group. Whenever one of those packages get bumped, the entire group would get bumped by the same change type. We can illustrate it like so:

`,4)),s(a,{id:"mermaid-27",code:"eJxLL0osyFAIceFSUCguTYLwlEpLMnOKlYBCCgpp+fmhIJ6Crq6dQnFJZU4qmIspl5JYApdKzUvhwjRQHdVEv9SKkmgYRz0WzQKwrBKCr64Ui6Eb1V6IDjgXogHqEoRL9RRyM/PyixT0gFqRzQI5F24ZqjJURwEVwu1AUYfiEC4AQeNxHw=="}),e[5]||(e[5]=n("blockquote",null,[n("p",null,"NOTE: the group get bumped together even if it is part of a dependent package bump. In other words, package bumps propagate their changes via dependent package bumps as well as group package bumps.")],-1))])}const m=t(d,[["render",c],["__file","bump-algorithm.html.vue"]]),g=JSON.parse('{"path":"/concepts/bump-algorithm.html","title":"Bump algorithm","lang":"en-US","frontmatter":{"tags":["bump"],"category":"doc"},"headers":[{"level":3,"title":"Dependent version bumping","slug":"dependent-version-bumping","link":"#dependent-version-bumping","children":[]},{"level":3,"title":"Grouped bumping","slug":"grouped-bumping","link":"#grouped-bumping","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"concepts/bump-algorithm.md"}');export{m as comp,g as data}; +

Grouped bumping

In the above example, fooUtils, styleUtils, dateUtils all belong to a utils group. Whenever one of those packages get bumped, the entire group would get bumped by the same change type. We can illustrate it like so:

`,4)),s(a,{id:"mermaid-27",code:"eJxLL0osyFAIceFSUCguTYLwlEpLMnOKlYBCCgpp+fmhIJ6Crq6dQnFJZU4qmIspl5JYApdKzUvhwjRQHdVEv9SKkmgYRz0WzQKwrBKCr64Ui6Eb1V6IDjgXogHqEoRL9RRyM/PyixT0gFqRzQI5F24ZqjJURwEVwu1AUYfiEC4AQeNxHw=="}),e[5]||(e[5]=n("blockquote",null,[n("p",null,"NOTE: the group get bumped together even if it is part of a dependent package bump. In other words, package bumps propagate their changes via dependent package bumps as well as group package bumps.")],-1))])}const m=t(d,[["render",c],["__file","bump-algorithm.html.vue"]]),g=JSON.parse('{"path":"/concepts/bump-algorithm.html","title":"Bump algorithm","lang":"en-US","frontmatter":{"tags":["bump"],"category":"doc"},"headers":[{"level":3,"title":"Dependent version bumping","slug":"dependent-version-bumping","link":"#dependent-version-bumping","children":[]},{"level":3,"title":"Grouped bumping","slug":"grouped-bumping","link":"#grouped-bumping","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"concepts/bump-algorithm.md"}');export{m as comp,g as data}; diff --git a/assets/bump.html-gM6GveX4.js b/assets/bump.html-gM6GveX4.js new file mode 100644 index 00000000..466ec68b --- /dev/null +++ b/assets/bump.html-gM6GveX4.js @@ -0,0 +1,2 @@ +import{_ as t,c as a,d as s,o}from"./app-3oaVMpRs.js";const i={};function n(r,e){return o(),a("div",null,e[0]||(e[0]=[s(`

bump

Bumps versions locally without publishing to the remote git repo or npm registry. This command will also generate changelogs.

This is the same logic that is used by the publish command, so it's a good practice to bump things locally to see what kind of changes will be made before those changes are published to the npm registry and the remote git repo.

Since this affects files locally only, it's up to you to synchronize the package versions in the remote git repo as well as the npm registry after running this command. (Or if you were using it for testing, simply revert the local changes and run beachball publish.)

$ beachball bump
+

Options

General options also apply for this command.

OptionDescription
--keep-change-filesdon't delete the change files from disk after bumping
--prerelease-prefixprerelease prefix (e.g. beta) for packages that will receive a prerelease bump
`,8)]))}const c=t(i,[["render",n],["__file","bump.html.vue"]]),p=JSON.parse('{"path":"/cli/bump.html","title":"bump","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"cli/bump.md"}');export{c as comp,p as data}; diff --git a/assets/bump.html-xePwqbBf.js b/assets/bump.html-xePwqbBf.js deleted file mode 100644 index 8073efaf..00000000 --- a/assets/bump.html-xePwqbBf.js +++ /dev/null @@ -1,2 +0,0 @@ -import{_ as t,c as a,a as i,o as s}from"./app-DQKFxOg7.js";const o={};function r(n,e){return s(),a("div",null,e[0]||(e[0]=[i(`

bump

Bumps versions locally without publishing to the remote git repo or npm registry. This command will also generate changelogs.

This is the same logic that is used by the publish command, so it's a good practice to bump things locally to see what kind of changes will be made before those changes are published to the npm registry and the remote git repo.

Since this affects files locally only, it's up to you to synchronize the package versions in the remote git repo as well as the npm registry after running this command. (Or if you were using it for testing, simply revert the local changes and run beachball publish.)

$ beachball bump
-

Options

General options also apply for this command.

OptionDescription
--keep-change-filesdon't delete the change files from disk after bumping
--prerelease-prefixprerelease prefix (e.g. beta) for packages that will receive a prerelease bump
`,8)]))}const c=t(o,[["render",r],["__file","bump.html.vue"]]),p=JSON.parse('{"path":"/cli/bump.html","title":"bump","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"cli/bump.md"}');export{c as comp,p as data}; diff --git a/assets/c4Diagram-AKI3UION-mbP9p-CA.js b/assets/c4Diagram-AKI3UION-BTYE-EgU.js similarity index 99% rename from assets/c4Diagram-AKI3UION-mbP9p-CA.js rename to assets/c4Diagram-AKI3UION-BTYE-EgU.js index 72a4e678..8f69714e 100644 --- a/assets/c4Diagram-AKI3UION-mbP9p-CA.js +++ b/assets/c4Diagram-AKI3UION-BTYE-EgU.js @@ -1,4 +1,4 @@ -import{x as De,h as Ne}from"./chunk-BERL53GW-CPe116Kq.js";import{m as f,N as fe,Q as Nt,w as Pe,B as Be,M as je,F as Le,q as Ye,f as Me,R as Ie,a as Ot,b as Mt,J as ue,k as Ue,d as Zt,$ as Fe,W as pe}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var Ut=function(){var e=f(function(z,_,m,g){for(m=m||{},g=z.length;g--;m[z[g]]=_);return m},"o"),t=[1,24],s=[1,25],h=[1,26],l=[1,27],a=[1,28],r=[1,63],i=[1,64],n=[1,65],d=[1,66],u=[1,67],p=[1,68],b=[1,69],E=[1,29],T=[1,30],v=[1,31],B=[1,32],X=[1,33],I=[1,34],H=[1,35],V=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],tt=[1,41],et=[1,42],at=[1,43],nt=[1,44],it=[1,45],rt=[1,46],st=[1,47],lt=[1,48],ot=[1,50],ct=[1,51],ht=[1,52],dt=[1,53],ut=[1,54],pt=[1,55],yt=[1,56],bt=[1,57],ft=[1,58],gt=[1,59],_t=[1,60],kt=[14,42],$t=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Rt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],A=[1,83],C=[1,84],k=[1,85],w=[12,14,42],le=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],Et=[12,33],Wt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:f(function(z,_,m,g,O,o,P){var y=o.length-1;switch(O){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(o[y-3]);break;case 19:g.setTitle(o[y].substring(6)),this.$=o[y].substring(6);break;case 20:g.setAccDescription(o[y].substring(15)),this.$=o[y].substring(15);break;case 21:this.$=o[y].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=o[y].trim(),g.setAccDescription(this.$);break;case 28:o[y].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...o[y]),this.$=o[y];break;case 29:o[y].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...o[y]),this.$=o[y];break;case 30:g.addPersonOrSystemBoundary(...o[y]),this.$=o[y];break;case 31:o[y].splice(2,0,"CONTAINER"),g.addContainerBoundary(...o[y]),this.$=o[y];break;case 32:g.addDeploymentNode("node",...o[y]),this.$=o[y];break;case 33:g.addDeploymentNode("nodeL",...o[y]),this.$=o[y];break;case 34:g.addDeploymentNode("nodeR",...o[y]),this.$=o[y];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...o[y]),this.$=o[y];break;case 40:g.addPersonOrSystem("external_person",...o[y]),this.$=o[y];break;case 41:g.addPersonOrSystem("system",...o[y]),this.$=o[y];break;case 42:g.addPersonOrSystem("system_db",...o[y]),this.$=o[y];break;case 43:g.addPersonOrSystem("system_queue",...o[y]),this.$=o[y];break;case 44:g.addPersonOrSystem("external_system",...o[y]),this.$=o[y];break;case 45:g.addPersonOrSystem("external_system_db",...o[y]),this.$=o[y];break;case 46:g.addPersonOrSystem("external_system_queue",...o[y]),this.$=o[y];break;case 47:g.addContainer("container",...o[y]),this.$=o[y];break;case 48:g.addContainer("container_db",...o[y]),this.$=o[y];break;case 49:g.addContainer("container_queue",...o[y]),this.$=o[y];break;case 50:g.addContainer("external_container",...o[y]),this.$=o[y];break;case 51:g.addContainer("external_container_db",...o[y]),this.$=o[y];break;case 52:g.addContainer("external_container_queue",...o[y]),this.$=o[y];break;case 53:g.addComponent("component",...o[y]),this.$=o[y];break;case 54:g.addComponent("component_db",...o[y]),this.$=o[y];break;case 55:g.addComponent("component_queue",...o[y]),this.$=o[y];break;case 56:g.addComponent("external_component",...o[y]),this.$=o[y];break;case 57:g.addComponent("external_component_db",...o[y]),this.$=o[y];break;case 58:g.addComponent("external_component_queue",...o[y]),this.$=o[y];break;case 60:g.addRel("rel",...o[y]),this.$=o[y];break;case 61:g.addRel("birel",...o[y]),this.$=o[y];break;case 62:g.addRel("rel_u",...o[y]),this.$=o[y];break;case 63:g.addRel("rel_d",...o[y]),this.$=o[y];break;case 64:g.addRel("rel_l",...o[y]),this.$=o[y];break;case 65:g.addRel("rel_r",...o[y]),this.$=o[y];break;case 66:g.addRel("rel_b",...o[y]),this.$=o[y];break;case 67:o[y].splice(0,1),g.addRel("rel",...o[y]),this.$=o[y];break;case 68:g.updateElStyle("update_el_style",...o[y]),this.$=o[y];break;case 69:g.updateRelStyle("update_rel_style",...o[y]),this.$=o[y];break;case 70:g.updateLayoutConfig("update_layout_config",...o[y]),this.$=o[y];break;case 71:this.$=[o[y]];break;case 72:o[y].unshift(o[y-1]),this.$=o[y];break;case 73:case 75:this.$=o[y].trim();break;case 74:let St={};St[o[y-1].trim()]=o[y].trim(),this.$=St;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{13:70,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{13:71,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{13:72,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{13:73,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{14:[1,74]},e(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:i,37:n,38:d,39:u,40:p,41:b,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t}),e(kt,[2,14]),e($t,[2,16],{12:[1,76]}),e(kt,[2,36],{12:[1,77]}),e(Rt,[2,19]),e(Rt,[2,20]),{25:[1,78]},{27:[1,79]},e(Rt,[2,23]),{35:80,75:81,76:S,77:A,79:C,80:k},{35:86,75:81,76:S,77:A,79:C,80:k},{35:87,75:81,76:S,77:A,79:C,80:k},{35:88,75:81,76:S,77:A,79:C,80:k},{35:89,75:81,76:S,77:A,79:C,80:k},{35:90,75:81,76:S,77:A,79:C,80:k},{35:91,75:81,76:S,77:A,79:C,80:k},{35:92,75:81,76:S,77:A,79:C,80:k},{35:93,75:81,76:S,77:A,79:C,80:k},{35:94,75:81,76:S,77:A,79:C,80:k},{35:95,75:81,76:S,77:A,79:C,80:k},{35:96,75:81,76:S,77:A,79:C,80:k},{35:97,75:81,76:S,77:A,79:C,80:k},{35:98,75:81,76:S,77:A,79:C,80:k},{35:99,75:81,76:S,77:A,79:C,80:k},{35:100,75:81,76:S,77:A,79:C,80:k},{35:101,75:81,76:S,77:A,79:C,80:k},{35:102,75:81,76:S,77:A,79:C,80:k},{35:103,75:81,76:S,77:A,79:C,80:k},{35:104,75:81,76:S,77:A,79:C,80:k},e(w,[2,59]),{35:105,75:81,76:S,77:A,79:C,80:k},{35:106,75:81,76:S,77:A,79:C,80:k},{35:107,75:81,76:S,77:A,79:C,80:k},{35:108,75:81,76:S,77:A,79:C,80:k},{35:109,75:81,76:S,77:A,79:C,80:k},{35:110,75:81,76:S,77:A,79:C,80:k},{35:111,75:81,76:S,77:A,79:C,80:k},{35:112,75:81,76:S,77:A,79:C,80:k},{35:113,75:81,76:S,77:A,79:C,80:k},{35:114,75:81,76:S,77:A,79:C,80:k},{35:115,75:81,76:S,77:A,79:C,80:k},{20:116,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:A,79:C,80:k},{35:120,75:81,76:S,77:A,79:C,80:k},{35:121,75:81,76:S,77:A,79:C,80:k},{35:122,75:81,76:S,77:A,79:C,80:k},{35:123,75:81,76:S,77:A,79:C,80:k},{35:124,75:81,76:S,77:A,79:C,80:k},{35:125,75:81,76:S,77:A,79:C,80:k},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(kt,[2,15]),e($t,[2,17],{21:22,19:130,22:t,23:s,24:h,26:l,28:a}),e(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:h,26:l,28:a,34:r,36:i,37:n,38:d,39:u,40:p,41:b,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t}),e(Rt,[2,21]),e(Rt,[2,22]),e(w,[2,39]),e(le,[2,71],{75:81,35:132,76:S,77:A,79:C,80:k}),e(Bt,[2,73]),{78:[1,133]},e(Bt,[2,75]),e(Bt,[2,76]),e(w,[2,40]),e(w,[2,41]),e(w,[2,42]),e(w,[2,43]),e(w,[2,44]),e(w,[2,45]),e(w,[2,46]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),e(w,[2,53]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),e(w,[2,57]),e(w,[2,58]),e(w,[2,60]),e(w,[2,61]),e(w,[2,62]),e(w,[2,63]),e(w,[2,64]),e(w,[2,65]),e(w,[2,66]),e(w,[2,67]),e(w,[2,68]),e(w,[2,69]),e(w,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(Et,[2,28]),e(Et,[2,29]),e(Et,[2,30]),e(Et,[2,31]),e(Et,[2,32]),e(Et,[2,33]),e(Et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e($t,[2,18]),e(kt,[2,38]),e(le,[2,72]),e(Bt,[2,74]),e(w,[2,24]),e(w,[2,35]),e(Wt,[2,25]),e(Wt,[2,26],{12:[1,138]}),e(Wt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:f(function(z,_){if(_.recoverable)this.trace(z);else{var m=new Error(z);throw m.hash=_,m}},"parseError"),parse:f(function(z){var _=this,m=[0],g=[],O=[null],o=[],P=this.table,y="",St=0,oe=0,we=0,Oe=2,ce=1,Te=o.slice.call(arguments,1),R=Object.create(this.lexer),At={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(At.yy[Ht]=this.yy[Ht]);R.setInput(z,At.yy),At.yy.lexer=R,At.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var Vt=R.yylloc;o.push(Vt);var ve=R.options&&R.options.ranges;typeof At.yy.parseError=="function"?this.parseError=At.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(j){m.length=m.length-2*j,O.length=O.length-j,o.length=o.length-j}f(Re,"popStack");function he(){var j;return j=g.pop()||R.lex()||ce,typeof j!="number"&&(j instanceof Array&&(g=j,j=g.pop()),j=_.symbols_[j]||j),j}f(he,"lex");for(var D,Gt,Ct,L,L0,Kt,wt={},Lt,W,de,Yt;;){if(Ct=m[m.length-1],this.defaultActions[Ct]?L=this.defaultActions[Ct]:((D===null||typeof D>"u")&&(D=he()),L=P[Ct]&&P[Ct][D]),typeof L>"u"||!L.length||!L[0]){var Jt="";Yt=[];for(Lt in P[Ct])this.terminals_[Lt]&&Lt>Oe&&Yt.push("'"+this.terminals_[Lt]+"'");R.showPosition?Jt="Parse error on line "+(St+1)+`: +import{x as De,h as Ne}from"./chunk-BERL53GW-CnPewdp0.js";import{m as f,N as fe,Q as Nt,w as Pe,B as Be,M as je,F as Le,q as Ye,f as Me,R as Ie,a as Ot,b as Mt,J as ue,k as Ue,d as Zt,$ as Fe,W as pe}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var Ut=function(){var e=f(function(z,_,m,g){for(m=m||{},g=z.length;g--;m[z[g]]=_);return m},"o"),t=[1,24],s=[1,25],h=[1,26],l=[1,27],a=[1,28],r=[1,63],i=[1,64],n=[1,65],d=[1,66],u=[1,67],p=[1,68],b=[1,69],E=[1,29],T=[1,30],v=[1,31],B=[1,32],X=[1,33],I=[1,34],H=[1,35],V=[1,36],G=[1,37],K=[1,38],J=[1,39],Z=[1,40],tt=[1,41],et=[1,42],at=[1,43],nt=[1,44],it=[1,45],rt=[1,46],st=[1,47],lt=[1,48],ot=[1,50],ct=[1,51],ht=[1,52],dt=[1,53],ut=[1,54],pt=[1,55],yt=[1,56],bt=[1,57],ft=[1,58],gt=[1,59],_t=[1,60],kt=[14,42],$t=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Rt=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],S=[1,82],A=[1,83],C=[1,84],k=[1,85],w=[12,14,42],le=[12,14,33,42],Bt=[12,14,33,42,76,77,79,80],Et=[12,33],Wt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],qt={trace:f(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:f(function(z,_,m,g,O,o,P){var y=o.length-1;switch(O){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(o[y-3]);break;case 19:g.setTitle(o[y].substring(6)),this.$=o[y].substring(6);break;case 20:g.setAccDescription(o[y].substring(15)),this.$=o[y].substring(15);break;case 21:this.$=o[y].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=o[y].trim(),g.setAccDescription(this.$);break;case 28:o[y].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...o[y]),this.$=o[y];break;case 29:o[y].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...o[y]),this.$=o[y];break;case 30:g.addPersonOrSystemBoundary(...o[y]),this.$=o[y];break;case 31:o[y].splice(2,0,"CONTAINER"),g.addContainerBoundary(...o[y]),this.$=o[y];break;case 32:g.addDeploymentNode("node",...o[y]),this.$=o[y];break;case 33:g.addDeploymentNode("nodeL",...o[y]),this.$=o[y];break;case 34:g.addDeploymentNode("nodeR",...o[y]),this.$=o[y];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...o[y]),this.$=o[y];break;case 40:g.addPersonOrSystem("external_person",...o[y]),this.$=o[y];break;case 41:g.addPersonOrSystem("system",...o[y]),this.$=o[y];break;case 42:g.addPersonOrSystem("system_db",...o[y]),this.$=o[y];break;case 43:g.addPersonOrSystem("system_queue",...o[y]),this.$=o[y];break;case 44:g.addPersonOrSystem("external_system",...o[y]),this.$=o[y];break;case 45:g.addPersonOrSystem("external_system_db",...o[y]),this.$=o[y];break;case 46:g.addPersonOrSystem("external_system_queue",...o[y]),this.$=o[y];break;case 47:g.addContainer("container",...o[y]),this.$=o[y];break;case 48:g.addContainer("container_db",...o[y]),this.$=o[y];break;case 49:g.addContainer("container_queue",...o[y]),this.$=o[y];break;case 50:g.addContainer("external_container",...o[y]),this.$=o[y];break;case 51:g.addContainer("external_container_db",...o[y]),this.$=o[y];break;case 52:g.addContainer("external_container_queue",...o[y]),this.$=o[y];break;case 53:g.addComponent("component",...o[y]),this.$=o[y];break;case 54:g.addComponent("component_db",...o[y]),this.$=o[y];break;case 55:g.addComponent("component_queue",...o[y]),this.$=o[y];break;case 56:g.addComponent("external_component",...o[y]),this.$=o[y];break;case 57:g.addComponent("external_component_db",...o[y]),this.$=o[y];break;case 58:g.addComponent("external_component_queue",...o[y]),this.$=o[y];break;case 60:g.addRel("rel",...o[y]),this.$=o[y];break;case 61:g.addRel("birel",...o[y]),this.$=o[y];break;case 62:g.addRel("rel_u",...o[y]),this.$=o[y];break;case 63:g.addRel("rel_d",...o[y]),this.$=o[y];break;case 64:g.addRel("rel_l",...o[y]),this.$=o[y];break;case 65:g.addRel("rel_r",...o[y]),this.$=o[y];break;case 66:g.addRel("rel_b",...o[y]),this.$=o[y];break;case 67:o[y].splice(0,1),g.addRel("rel",...o[y]),this.$=o[y];break;case 68:g.updateElStyle("update_el_style",...o[y]),this.$=o[y];break;case 69:g.updateRelStyle("update_rel_style",...o[y]),this.$=o[y];break;case 70:g.updateLayoutConfig("update_layout_config",...o[y]),this.$=o[y];break;case 71:this.$=[o[y]];break;case 72:o[y].unshift(o[y-1]),this.$=o[y];break;case 73:case 75:this.$=o[y].trim();break;case 74:let St={};St[o[y-1].trim()]=o[y].trim(),this.$=St;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{13:70,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{13:71,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{13:72,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{13:73,19:20,20:21,21:22,22:t,23:s,24:h,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{14:[1,74]},e(kt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:i,37:n,38:d,39:u,40:p,41:b,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t}),e(kt,[2,14]),e($t,[2,16],{12:[1,76]}),e(kt,[2,36],{12:[1,77]}),e(Rt,[2,19]),e(Rt,[2,20]),{25:[1,78]},{27:[1,79]},e(Rt,[2,23]),{35:80,75:81,76:S,77:A,79:C,80:k},{35:86,75:81,76:S,77:A,79:C,80:k},{35:87,75:81,76:S,77:A,79:C,80:k},{35:88,75:81,76:S,77:A,79:C,80:k},{35:89,75:81,76:S,77:A,79:C,80:k},{35:90,75:81,76:S,77:A,79:C,80:k},{35:91,75:81,76:S,77:A,79:C,80:k},{35:92,75:81,76:S,77:A,79:C,80:k},{35:93,75:81,76:S,77:A,79:C,80:k},{35:94,75:81,76:S,77:A,79:C,80:k},{35:95,75:81,76:S,77:A,79:C,80:k},{35:96,75:81,76:S,77:A,79:C,80:k},{35:97,75:81,76:S,77:A,79:C,80:k},{35:98,75:81,76:S,77:A,79:C,80:k},{35:99,75:81,76:S,77:A,79:C,80:k},{35:100,75:81,76:S,77:A,79:C,80:k},{35:101,75:81,76:S,77:A,79:C,80:k},{35:102,75:81,76:S,77:A,79:C,80:k},{35:103,75:81,76:S,77:A,79:C,80:k},{35:104,75:81,76:S,77:A,79:C,80:k},e(w,[2,59]),{35:105,75:81,76:S,77:A,79:C,80:k},{35:106,75:81,76:S,77:A,79:C,80:k},{35:107,75:81,76:S,77:A,79:C,80:k},{35:108,75:81,76:S,77:A,79:C,80:k},{35:109,75:81,76:S,77:A,79:C,80:k},{35:110,75:81,76:S,77:A,79:C,80:k},{35:111,75:81,76:S,77:A,79:C,80:k},{35:112,75:81,76:S,77:A,79:C,80:k},{35:113,75:81,76:S,77:A,79:C,80:k},{35:114,75:81,76:S,77:A,79:C,80:k},{35:115,75:81,76:S,77:A,79:C,80:k},{20:116,29:49,30:61,32:62,34:r,36:i,37:n,38:d,39:u,40:p,41:b,43:23,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t},{12:[1,118],33:[1,117]},{35:119,75:81,76:S,77:A,79:C,80:k},{35:120,75:81,76:S,77:A,79:C,80:k},{35:121,75:81,76:S,77:A,79:C,80:k},{35:122,75:81,76:S,77:A,79:C,80:k},{35:123,75:81,76:S,77:A,79:C,80:k},{35:124,75:81,76:S,77:A,79:C,80:k},{35:125,75:81,76:S,77:A,79:C,80:k},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(kt,[2,15]),e($t,[2,17],{21:22,19:130,22:t,23:s,24:h,26:l,28:a}),e(kt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:h,26:l,28:a,34:r,36:i,37:n,38:d,39:u,40:p,41:b,44:E,45:T,46:v,47:B,48:X,49:I,50:H,51:V,52:G,53:K,54:J,55:Z,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:dt,68:ut,69:pt,70:yt,71:bt,72:ft,73:gt,74:_t}),e(Rt,[2,21]),e(Rt,[2,22]),e(w,[2,39]),e(le,[2,71],{75:81,35:132,76:S,77:A,79:C,80:k}),e(Bt,[2,73]),{78:[1,133]},e(Bt,[2,75]),e(Bt,[2,76]),e(w,[2,40]),e(w,[2,41]),e(w,[2,42]),e(w,[2,43]),e(w,[2,44]),e(w,[2,45]),e(w,[2,46]),e(w,[2,47]),e(w,[2,48]),e(w,[2,49]),e(w,[2,50]),e(w,[2,51]),e(w,[2,52]),e(w,[2,53]),e(w,[2,54]),e(w,[2,55]),e(w,[2,56]),e(w,[2,57]),e(w,[2,58]),e(w,[2,60]),e(w,[2,61]),e(w,[2,62]),e(w,[2,63]),e(w,[2,64]),e(w,[2,65]),e(w,[2,66]),e(w,[2,67]),e(w,[2,68]),e(w,[2,69]),e(w,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(Et,[2,28]),e(Et,[2,29]),e(Et,[2,30]),e(Et,[2,31]),e(Et,[2,32]),e(Et,[2,33]),e(Et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e($t,[2,18]),e(kt,[2,38]),e(le,[2,72]),e(Bt,[2,74]),e(w,[2,24]),e(w,[2,35]),e(Wt,[2,25]),e(Wt,[2,26],{12:[1,138]}),e(Wt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:f(function(z,_){if(_.recoverable)this.trace(z);else{var m=new Error(z);throw m.hash=_,m}},"parseError"),parse:f(function(z){var _=this,m=[0],g=[],O=[null],o=[],P=this.table,y="",St=0,oe=0,we=0,Oe=2,ce=1,Te=o.slice.call(arguments,1),R=Object.create(this.lexer),At={yy:{}};for(var Ht in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ht)&&(At.yy[Ht]=this.yy[Ht]);R.setInput(z,At.yy),At.yy.lexer=R,At.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var Vt=R.yylloc;o.push(Vt);var ve=R.options&&R.options.ranges;typeof At.yy.parseError=="function"?this.parseError=At.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Re(j){m.length=m.length-2*j,O.length=O.length-j,o.length=o.length-j}f(Re,"popStack");function he(){var j;return j=g.pop()||R.lex()||ce,typeof j!="number"&&(j instanceof Array&&(g=j,j=g.pop()),j=_.symbols_[j]||j),j}f(he,"lex");for(var D,Gt,Ct,L,L0,Kt,wt={},Lt,W,de,Yt;;){if(Ct=m[m.length-1],this.defaultActions[Ct]?L=this.defaultActions[Ct]:((D===null||typeof D>"u")&&(D=he()),L=P[Ct]&&P[Ct][D]),typeof L>"u"||!L.length||!L[0]){var Jt="";Yt=[];for(Lt in P[Ct])this.terminals_[Lt]&&Lt>Oe&&Yt.push("'"+this.terminals_[Lt]+"'");R.showPosition?Jt="Parse error on line "+(St+1)+`: `+R.showPosition()+` Expecting `+Yt.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Jt="Parse error on line "+(St+1)+": Unexpected "+(D==ce?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Jt,{text:R.match,token:this.terminals_[D]||D,line:R.yylineno,loc:Vt,expected:Yt})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ct+", token: "+D);switch(L[0]){case 1:m.push(D),O.push(R.yytext),o.push(R.yylloc),m.push(L[1]),D=null,Gt?(D=Gt,Gt=null):(oe=R.yyleng,y=R.yytext,St=R.yylineno,Vt=R.yylloc,we>0);break;case 2:if(W=this.productions_[L[1]][1],wt.$=O[O.length-W],wt._$={first_line:o[o.length-(W||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(W||1)].first_column,last_column:o[o.length-1].last_column},ve&&(wt._$.range=[o[o.length-(W||1)].range[0],o[o.length-1].range[1]]),Kt=this.performAction.apply(wt,[y,oe,St,At.yy,L[1],O,o].concat(Te)),typeof Kt<"u")return Kt;W&&(m=m.slice(0,-1*W*2),O=O.slice(0,-1*W),o=o.slice(0,-1*W)),m.push(this.productions_[L[1]][0]),O.push(wt.$),o.push(wt._$),de=P[m[m.length-2]][m[m.length-1]],m.push(de);break;case 3:return!0}}return!0},"parse")},ke=function(){var z={EOF:1,parseError:f(function(_,m){if(this.yy.parser)this.yy.parser.parseError(_,m);else throw new Error(_)},"parseError"),setInput:f(function(_,m){return this.yy=m||this.yy||{},this._input=_,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:f(function(){var _=this._input[0];this.yytext+=_,this.yyleng++,this.offset++,this.match+=_,this.matched+=_;var m=_.match(/(?:\r\n?|\n).*/g);return m?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),_},"input"),unput:f(function(_){var m=_.length,g=_.split(/(?:\r\n?|\n)/g);this._input=_+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-m),this.offset-=m;var O=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),g.length-1&&(this.yylineno-=g.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:g?(g.length===O.length?this.yylloc.first_column:0)+O[O.length-g.length].length-g[0].length:this.yylloc.first_column-m},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-m]),this.yyleng=this.yytext.length,this},"unput"),more:f(function(){return this._more=!0,this},"more"),reject:f(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:f(function(_){this.unput(this.match.slice(_))},"less"),pastInput:f(function(){var _=this.matched.substr(0,this.matched.length-this.match.length);return(_.length>20?"...":"")+_.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:f(function(){var _=this.match;return _.length<20&&(_+=this._input.substr(0,20-_.length)),(_.substr(0,20)+(_.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:f(function(){var _=this.pastInput(),m=new Array(_.length+1).join("-");return _+this.upcomingInput()+` diff --git a/assets/change-files.html-Cc4CbNuI.js b/assets/change-files.html-BpzBBXBG.js similarity index 96% rename from assets/change-files.html-Cc4CbNuI.js rename to assets/change-files.html-BpzBBXBG.js index a05ff7e2..f56ebf76 100644 --- a/assets/change-files.html-Cc4CbNuI.js +++ b/assets/change-files.html-BpzBBXBG.js @@ -1,4 +1,4 @@ -import{_ as a,c as n,a as s,o as t}from"./app-DQKFxOg7.js";const i={};function o(l,e){return t(),n("div",null,e[0]||(e[0]=[s(`

Change files

There are very popular and excellent packages available which manage package versioning based on commit messages. beachball works differently, using something called a change file.

What is a change file?

Change files are generated by the beachball change command and live under the /change folder. They look something like this:

{
+import{_ as a,c as n,d as s,o as t}from"./app-3oaVMpRs.js";const i={};function o(l,e){return t(),n("div",null,e[0]||(e[0]=[s(`

Change files

There are very popular and excellent packages available which manage package versioning based on commit messages. beachball works differently, using something called a change file.

What is a change file?

Change files are generated by the beachball change command and live under the /change folder. They look something like this:

{
   "comment": "Upgrading React to 16.8.x to use hooks",
   "type": "minor",
   "packageName": "my-amazing-app",
@@ -23,4 +23,4 @@ import{_ as a,c as n,a as s,o as t}from"./app-DQKFxOg7.js";const i={};function o
 - script: npm run checkchange
 ### With yarn:
 - script: yarn checkchange
-

An alternative if desired is to define a separate required workflow/pipeline which skips the main install step and only runs npx beachball check. This has the advantage of providing faster validation and not blocking the main PR build (and hiding any later build/test/lint errors) simply for missing change files.

To prevent change files from being required for changes that will never affect the published package (such as tests, snapshots, or certain config files), use the ignorePatterns option.

Note: In the past, it was necessary to check out the repo's whole history for beachball check to work properly (such as setting fetch-depth: 0 in actions/checkout for GitHub workflows). This should no longer be needed because if beachball detects a shallow clone, it will automatically fetch more history, and exit with an error if the current branch and target branch don't appear to share history.

`,27)]))}const r=a(i,[["render",o],["__file","change-files.html.vue"]]),p=JSON.parse('{"path":"/concepts/change-files.html","title":"Change files","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"What is a change file?","slug":"what-is-a-change-file","link":"#what-is-a-change-file","children":[{"level":3,"title":"Grouped change files","slug":"grouped-change-files","link":"#grouped-change-files","children":[]}]},{"level":2,"title":"Generating a change file","slug":"generating-a-change-file","link":"#generating-a-change-file","children":[]},{"level":2,"title":"Validating change files","slug":"validating-change-files","link":"#validating-change-files","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"concepts/change-files.md"}');export{r as comp,p as data}; +

An alternative if desired is to define a separate required workflow/pipeline which skips the main install step and only runs npx beachball check. This has the advantage of providing faster validation and not blocking the main PR build (and hiding any later build/test/lint errors) simply for missing change files.

To prevent change files from being required for changes that will never affect the published package (such as tests, snapshots, or certain config files), use the ignorePatterns option.

Note: In the past, it was necessary to check out the repo's whole history for beachball check to work properly (such as setting fetch-depth: 0 in actions/checkout for GitHub workflows). This should no longer be needed because if beachball detects a shallow clone, it will automatically fetch more history, and exit with an error if the current branch and target branch don't appear to share history.

`,27)]))}const r=a(i,[["render",o],["__file","change-files.html.vue"]]),p=JSON.parse('{"path":"/concepts/change-files.html","title":"Change files","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"What is a change file?","slug":"what-is-a-change-file","link":"#what-is-a-change-file","children":[{"level":3,"title":"Grouped change files","slug":"grouped-change-files","link":"#grouped-change-files","children":[]}]},{"level":2,"title":"Generating a change file","slug":"generating-a-change-file","link":"#generating-a-change-file","children":[]},{"level":2,"title":"Validating change files","slug":"validating-change-files","link":"#validating-change-files","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"concepts/change-files.md"}');export{r as comp,p as data}; diff --git a/assets/change.html-D0ZFQx1X.js b/assets/change.html-D3usk9-d.js similarity index 96% rename from assets/change.html-D0ZFQx1X.js rename to assets/change.html-D3usk9-d.js index 8eedaba5..63c149f2 100644 --- a/assets/change.html-D0ZFQx1X.js +++ b/assets/change.html-D3usk9-d.js @@ -1,4 +1,4 @@ -import{_ as a,c as s,a as t,o as n}from"./app-DQKFxOg7.js";const i={};function l(c,e){return n(),s("div",null,e[0]||(e[0]=[t(`

change

This command walks you through a couple of questions and will generate the appropriate change file in the /change directory. The generated file will be committed automatically.

One of the niceties of using this utility to generate change files is that it will check whether or not you even need a change file. Also, it will load recent commit messages to ease change file generation.

$ beachball change
+import{_ as a,c as s,d as t,o as n}from"./app-3oaVMpRs.js";const i={};function l(c,e){return n(),s("div",null,e[0]||(e[0]=[t(`

change

This command walks you through a couple of questions and will generate the appropriate change file in the /change directory. The generated file will be committed automatically.

One of the niceties of using this utility to generate change files is that it will check whether or not you even need a change file. Also, it will load recent commit messages to ease change file generation.

$ beachball change
 

Options

Some general options including --branch and --scope also apply for this command.

OptionAliasDefaultDescription
--allfalseGenerate change files for all packages
--dependent-change-typepatchuse this change type for dependent packages
--message-m(prompt)Description for all change files
--no-commitfalseStage the change files rather than committing
--package(changed packages)Generate change files for these packages (can be specified multiple times)
--type(prompt)Type for all the change files (must be valid for each package)

Examples

Basic interactive prompt (see walkthrough for details):

beachball change
 

Skip the interactive prompt by specifying a message and type for all changed packages:

beachball change --type patch --message 'some message'
 

Generate change file for specific package(s), regardless of changes, and even if a change file already exists for the package in this branch. Each package must be specified with a separate --package option. (You can also use the --message and --type options here.)

beachball change --package foo --package bar
@@ -22,4 +22,4 @@ import{_ as a,c as s,a as t,o as n}from"./app-DQKFxOg7.js";const i={};function l
 

Next, it asks for a description of the change. You can type any text or choose from a list of recent commit messages.

Tip: These descriptions will be collated into a changelog when the change is published by beachball publish, so think about how to describe your change in a way that's helpful and relevant for consumers of the package.

Please describe the changes for: some-pkg
 ? Describe changes (type or choose one) ›
 adding a new file
-
`,27)]))}const r=a(i,[["render",l],["__file","change.html.vue"]]),o=JSON.parse('{"path":"/cli/change.html","title":"change","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]},{"level":3,"title":"Examples","slug":"examples","link":"#examples","children":[]},{"level":3,"title":"Prompt walkthrough","slug":"prompt-walkthrough","link":"#prompt-walkthrough","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"cli/change.md"}');export{r as comp,o as data}; +
`,27)]))}const r=a(i,[["render",l],["__file","change.html.vue"]]),o=JSON.parse('{"path":"/cli/change.html","title":"change","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]},{"level":3,"title":"Examples","slug":"examples","link":"#examples","children":[]},{"level":3,"title":"Prompt walkthrough","slug":"prompt-walkthrough","link":"#prompt-walkthrough","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"cli/change.md"}');export{r as comp,o as data}; diff --git a/assets/check.html-BDS2ZdmA.js b/assets/check.html-vTMcxGh2.js similarity index 87% rename from assets/check.html-BDS2ZdmA.js rename to assets/check.html-vTMcxGh2.js index bb1cecd9..7c4064d8 100644 --- a/assets/check.html-BDS2ZdmA.js +++ b/assets/check.html-vTMcxGh2.js @@ -1,2 +1,2 @@ -import{_ as a,c as t,a as n,o}from"./app-DQKFxOg7.js";const s={};function i(h,e){return o(),t("div",null,e[0]||(e[0]=[n(`

check

It's recommended to enforce that change files are included with each PR. This way, all changes are captured and affect semver appropriately.

To ensure that all changes are captured in change files, simply run:

$ beachball check
-

This command also checks for misconfigurations that would result in problems when attempting to publish.

Options

Options

General options also apply for this command.

OptionDefaultDescription
--changehint'Run "beachball change" to create a change file'Hint message if the developer forgot to add a change file.
--disallow-deleted-change-filesfalseverifies that no change files were deleted between head and target branch

Where should check be run?

As a step in the PR review gate

See the change files page for how to set this up.

While running beachball check as a pre-push hook may seem appealing, it has some downsides: it will substantially slow down running git push and could be annoying when pushing work-in-progress changes to remote branches. Our experience with repos enabling this hook is that it will quickly be removed due to developer feedback.

If you want to try this, take a look at this documentation about git hooks.

`,15)]))}const r=a(s,[["render",i],["__file","check.html.vue"]]),l=JSON.parse('{"path":"/cli/check.html","title":"check","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]},{"level":3,"title":"Options","slug":"options-1","link":"#options-1","children":[]},{"level":3,"title":"Where should check be run?","slug":"where-should-check-be-run","link":"#where-should-check-be-run","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"cli/check.md"}');export{r as comp,l as data}; +import{_ as a,c as t,d as n,o}from"./app-3oaVMpRs.js";const s={};function h(i,e){return o(),t("div",null,e[0]||(e[0]=[n(`

check

It's recommended to enforce that change files are included with each PR. This way, all changes are captured and affect semver appropriately.

To ensure that all changes are captured in change files, simply run:

$ beachball check
+

This command also checks for misconfigurations that would result in problems when attempting to publish.

Options

Options

General options also apply for this command.

OptionDefaultDescription
--changehint'Run "beachball change" to create a change file'Hint message if the developer forgot to add a change file.
--disallow-deleted-change-filesfalseverifies that no change files were deleted between head and target branch

Where should check be run?

As a step in the PR review gate

See the change files page for how to set this up.

While running beachball check as a pre-push hook may seem appealing, it has some downsides: it will substantially slow down running git push and could be annoying when pushing work-in-progress changes to remote branches. Our experience with repos enabling this hook is that it will quickly be removed due to developer feedback.

If you want to try this, take a look at this documentation about git hooks.

`,15)]))}const r=a(s,[["render",h],["__file","check.html.vue"]]),d=JSON.parse('{"path":"/cli/check.html","title":"check","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]},{"level":3,"title":"Options","slug":"options-1","link":"#options-1","children":[]},{"level":3,"title":"Where should check be run?","slug":"where-should-check-be-run","link":"#where-should-check-be-run","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"cli/check.md"}');export{r as comp,d as data}; diff --git a/assets/chunk-4KE642ED-DNyS68x8.js b/assets/chunk-4KE642ED-DF3NZIv7.js similarity index 78% rename from assets/chunk-4KE642ED-DNyS68x8.js rename to assets/chunk-4KE642ED-DF3NZIv7.js index 0fa77923..260a1e00 100644 --- a/assets/chunk-4KE642ED-DNyS68x8.js +++ b/assets/chunk-4KE642ED-DF3NZIv7.js @@ -1 +1 @@ -import{m}from"./mermaid.esm.min-DnxZBvzk.js";function r(t,c){var a,o,l;t.accDescr&&((a=c.setAccDescription)==null||a.call(c,t.accDescr)),t.accTitle&&((o=c.setAccTitle)==null||o.call(c,t.accTitle)),t.title&&((l=c.setDiagramTitle)==null||l.call(c,t.title))}m(r,"populateCommonDb");export{r as c}; +import{m}from"./mermaid.esm.min-Bq5H-fqC.js";function r(t,c){var a,o,l;t.accDescr&&((a=c.setAccDescription)==null||a.call(c,t.accDescr)),t.accTitle&&((o=c.setAccTitle)==null||o.call(c,t.accTitle)),t.title&&((l=c.setDiagramTitle)==null||l.call(c,t.title))}m(r,"populateCommonDb");export{r as c}; diff --git a/assets/chunk-4YMK7POB-1jnwl01V.js b/assets/chunk-4YMK7POB-jWkf0GjT.js similarity index 81% rename from assets/chunk-4YMK7POB-1jnwl01V.js rename to assets/chunk-4YMK7POB-jWkf0GjT.js index 839de29e..5aa145af 100644 --- a/assets/chunk-4YMK7POB-1jnwl01V.js +++ b/assets/chunk-4YMK7POB-jWkf0GjT.js @@ -1 +1 @@ -import{m as h,b as r,k as g,J as w}from"./mermaid.esm.min-DnxZBvzk.js";var $=h((e,t)=>{let i;return t==="sandbox"&&(i=r("#i"+e)),(t==="sandbox"?r(i.nodes()[0].contentDocument.body):r("body")).select(`[id="${e}"]`)},"getDiagramElement"),u=h((e,t,i,a)=>{e.attr("class",i);let{width:d,height:n,x:s,y:x}=c(e,t);g(e,n,d,a);let o=l(s,x,d,n,t);e.attr("viewBox",o),w.debug(`viewBox configured: ${o} with padding: ${t}`)},"setupViewPortForSVG"),c=h((e,t)=>{var a;let i=((a=e.node())==null?void 0:a.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),l=h((e,t,i,a,d)=>`${e-d} ${t-d} ${i} ${a}`,"createViewBox");export{u as $,$ as w}; +import{m as h,b as r,k as g,J as w}from"./mermaid.esm.min-Bq5H-fqC.js";var $=h((e,t)=>{let i;return t==="sandbox"&&(i=r("#i"+e)),(t==="sandbox"?r(i.nodes()[0].contentDocument.body):r("body")).select(`[id="${e}"]`)},"getDiagramElement"),u=h((e,t,i,a)=>{e.attr("class",i);let{width:d,height:n,x:s,y:x}=c(e,t);g(e,n,d,a);let o=l(s,x,d,n,t);e.attr("viewBox",o),w.debug(`viewBox configured: ${o} with padding: ${t}`)},"setupViewPortForSVG"),c=h((e,t)=>{var a;let i=((a=e.node())==null?void 0:a.getBBox())||{width:0,height:0,x:0,y:0};return{width:i.width+t*2,height:i.height+t*2,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),l=h((e,t,i,a,d)=>`${e-d} ${t-d} ${i} ${a}`,"createViewBox");export{u as $,$ as w}; diff --git a/assets/chunk-5ZJXQJOJ-DIZvkofk.js b/assets/chunk-5ZJXQJOJ-CLUFfhem.js similarity index 99% rename from assets/chunk-5ZJXQJOJ-DIZvkofk.js rename to assets/chunk-5ZJXQJOJ-CLUFfhem.js index 0e821e18..738aa49e 100644 --- a/assets/chunk-5ZJXQJOJ-DIZvkofk.js +++ b/assets/chunk-5ZJXQJOJ-CLUFfhem.js @@ -1,4 +1,4 @@ -import{m as u,ar as A,as as M,at as X,au as Q,av as at,aw as rt,ax as E,ay as tt,az as qn,aA as U,aB as k,an as p,aC as Vn,aD as ut,aE as $,aF as P,aG as B,aH as it,aI as nn,aJ as ot,aK as ct,aL as R,aM as Z,aN as F,aO as zn,aP as Kn,aQ as N,aR as ft,aS as An,aT as vt,aU as un,aV as st,aW as lt,aX as Tn,aY as Ln,aZ as Gn,a_ as bt,a$ as ht,b0 as en,b1 as pt,b2 as q,b3 as gt}from"./mermaid.esm.min-DnxZBvzk.js";function Hn(n){return E(n)?tt(n):qn(n)}u(Hn,"keys");var S=Hn;function Xn(n,e){for(var a=-1,r=n==null?0:n.length;++a2?e[2]:void 0;for(t&&F(e[0],e[1],t)&&(r=1);++ac))return!1;var v=i.get(n),s=i.get(e);if(v&&s)return v==e&&s==n;var l=-1,b=!0,O=a&zu?new ln:void 0;for(i.set(n,e),i.set(e,n);++le}u($a,"baseGt");var ki=$a;function _a(n){return n&&n.length?dn(n,N,ki):void 0}u(_a,"max");var Uc=_a;function Ea(n,e,a,r){if(!B(n))return n;e=J(e,n);for(var t=-1,i=e.length,o=i-1,c=n;c!=null&&++t0&&a(c)?e>1?mn(c,e-1,a,r,t):fn(t,c):r||(t[t.length]=c)}return t}u(mn,"baseFlatten");var z=mn;function Fa(n){var e=n==null?0:n.length;return e?z(n,1):[]}u(Fa,"flatten");var zi=Fa;function Ra(n){return bt(ht(n,void 0,zi),n+"")}u(Ra,"flatRest");var Ki=Ra,Ti=Ki(function(n,e){return n==null?{}:qi(n,e)}),kc=Ti;function Ca(n,e,a,r){var t=-1,i=n==null?0:n.length;for(r&&i&&(a=n[++t]);++t-1}u(Ka,"arrayIncludes");var Ta=Ka;function La(n,e,a){for(var r=-1,t=n==null?0:n.length;++r=Yi){var v=e?null:Qi(n);if(v)return hn(v);o=!1,t=bn,f=new ln}else f=e?[]:c;n:for(;++rt?0:t+e),a=a>t?t:a,a<0&&(a+=t),t=e>a?0:a-e>>>0,e>>>=0;for(var i=Array(t);++r=Mo&&(i=bn,o=!1,e=new ln(e));n:for(;++t-1?t[i?e[o]:o]:void 0}}u(hr,"createFind");var Co=hr,Do=Math.max;function pr(n,e,a){var r=n==null?0:n.length;if(!r)return-1;var t=a==null?0:K(a);return t<0&&(t=Do(r+t,0)),Na(n,j(e),t)}u(pr,"findIndex");var Uo=pr,ko=Co(Uo),Zc=ko;function gr(n){return n&&n.length?n[0]:void 0}u(gr,"head");var Jc=gr;function yr(n,e){return z(Ci(n,e),1)}u(yr,"flatMap");var Wc=yr;function dr(n,e){return n==null?n:Kn(n,sn(e),k)}u(dr,"forIn");var Qc=dr;function mr(n,e){return n&&vn(n,sn(e))}u(mr,"forOwn");var Yc=mr,No=Object.prototype,qo=No.hasOwnProperty,Vo=Eo(function(n,e,a){qo.call(n,a)?n[a].push(e):Gn(n,a,[e])}),nf=Vo,zo=Object.prototype,Ko=zo.hasOwnProperty;function jr(n,e){return n!=null&&Ko.call(n,e)}u(jr,"baseHas");var To=jr;function Or(n,e){return n!=null&&ca(n,e,To)}u(Or,"has");var ef=Or,Lo="[object String]";function wr(n){return typeof n=="string"||!p(n)&&$(n)&&un(n)==Lo}u(wr,"isString");var Ar=wr,Go=Math.max;function Sr(n,e,a,r){n=E(n)?n:Ui(n),a=a&&!r?K(a):0;var t=n.length;return a<0&&(a=Go(t+a,0)),Ar(n)?a<=t&&n.indexOf(e,a)>-1:!!t&&jn(n,e,a)>-1}u(Sr,"includes");var af=Sr,Ho=Math.max;function Ir(n,e,a){var r=n==null?0:n.length;if(!r)return-1;var t=a==null?0:K(a);return t<0&&(t=Ho(r+t,0)),jn(n,e,t)}u(Ir,"indexOf");var rf=Ir,Xo="[object RegExp]";function $r(n){return $(n)&&un(n)==Xo}u($r,"baseIsRegExp");var Zo=$r,kn=M&&M.isRegExp,Jo=kn?q(kn):Zo,tf=Jo;function _r(n,e){return ne||i&&o&&f&&!c&&!v||r&&o&&f||!a&&f||!t)return 1;if(!r&&!i&&!v&&n=c)return f;var v=a[r];return f*(v=="desc"?-1:1)}}return n.index-e.index}u(Cr,"compareMultiple");var ec=Cr;function Dr(n,e,a){e.length?e=w(e,function(i){return p(i)?function(o){return W(o,i.length===1?i[0]:i)}:i}):e=[N];var r=-1;e=w(e,q(j));var t=ma(n,function(i,o,c){var f=w(e,function(v){return v(i)});return{criteria:f,index:++r,value:i}});return Yo(t,function(i,o){return ec(i,o,a)})}u(Dr,"baseOrderBy");var ac=Dr,rc=ba("length"),tc=rc,Ur="\\ud800-\\udfff",uc="\\u0300-\\u036f",ic="\\ufe20-\\ufe2f",oc="\\u20d0-\\u20ff",cc=uc+ic+oc,fc="\\ufe0e\\ufe0f",vc="["+Ur+"]",rn="["+cc+"]",tn="\\ud83c[\\udffb-\\udfff]",sc="(?:"+rn+"|"+tn+")",kr="[^"+Ur+"]",Nr="(?:\\ud83c[\\udde6-\\uddff]){2}",qr="[\\ud800-\\udbff][\\udc00-\\udfff]",lc="\\u200d",Vr=sc+"?",zr="["+fc+"]?",bc="(?:"+lc+"(?:"+[kr,Nr,qr].join("|")+")"+zr+Vr+")*",hc=zr+Vr+bc,pc="(?:"+[kr+rn+"?",rn,Nr,qr,vc].join("|")+")",Nn=RegExp(tn+"(?="+tn+")|"+pc+hc,"g");function Kr(n){for(var e=Nn.lastIndex=0;Nn.test(n);)++e;return e}u(Kr,"unicodeSize");var gc=Kr;function Tr(n){return Ao(n)?gc(n):tc(n)}u(Tr,"stringSize");var yc=Tr,dc=Math.ceil,mc=Math.max;function Lr(n,e,a,r){for(var t=-1,i=mc(dc((e-n)/(a||1)),0),o=Array(i);i--;)o[r?i:++t]=n,n+=a;return o}u(Lr,"baseRange");var jc=Lr;function Gr(n){return function(e,a,r){return r&&typeof r!="number"&&F(e,a,r)&&(a=r=void 0),e=H(e),a===void 0?(a=e,e=0):a=H(a),r=r===void 0?e1&&F(n,e[0],e[1])?e=[]:a>2&&F(e[0],e[1],e[2])&&(e=[e[0]]),ac(n,z(e,1),[])}),bf=$c;function Wr(n){return n&&n.length?On(n):[]}u(Wr,"uniq");var hf=Wr;function Qr(n,e){return n&&n.length?On(n,j(e)):[]}u(Qr,"uniqBy");var pf=Qr,_c=0;function Yr(n){var e=++_c;return ea(n)+e}u(Yr,"uniqueId");var gf=Yr;function nt(n,e,a){for(var r=-1,t=n.length,i=e.length,o={};++r2?e[2]:void 0;for(t&&F(e[0],e[1],t)&&(r=1);++ac))return!1;var v=i.get(n),s=i.get(e);if(v&&s)return v==e&&s==n;var l=-1,b=!0,O=a&zu?new ln:void 0;for(i.set(n,e),i.set(e,n);++le}u($a,"baseGt");var ki=$a;function _a(n){return n&&n.length?dn(n,N,ki):void 0}u(_a,"max");var Uc=_a;function Ea(n,e,a,r){if(!B(n))return n;e=J(e,n);for(var t=-1,i=e.length,o=i-1,c=n;c!=null&&++t0&&a(c)?e>1?mn(c,e-1,a,r,t):fn(t,c):r||(t[t.length]=c)}return t}u(mn,"baseFlatten");var z=mn;function Fa(n){var e=n==null?0:n.length;return e?z(n,1):[]}u(Fa,"flatten");var zi=Fa;function Ra(n){return bt(ht(n,void 0,zi),n+"")}u(Ra,"flatRest");var Ki=Ra,Ti=Ki(function(n,e){return n==null?{}:qi(n,e)}),kc=Ti;function Ca(n,e,a,r){var t=-1,i=n==null?0:n.length;for(r&&i&&(a=n[++t]);++t-1}u(Ka,"arrayIncludes");var Ta=Ka;function La(n,e,a){for(var r=-1,t=n==null?0:n.length;++r=Yi){var v=e?null:Qi(n);if(v)return hn(v);o=!1,t=bn,f=new ln}else f=e?[]:c;n:for(;++rt?0:t+e),a=a>t?t:a,a<0&&(a+=t),t=e>a?0:a-e>>>0,e>>>=0;for(var i=Array(t);++r=Mo&&(i=bn,o=!1,e=new ln(e));n:for(;++t-1?t[i?e[o]:o]:void 0}}u(hr,"createFind");var Co=hr,Do=Math.max;function pr(n,e,a){var r=n==null?0:n.length;if(!r)return-1;var t=a==null?0:K(a);return t<0&&(t=Do(r+t,0)),Na(n,j(e),t)}u(pr,"findIndex");var Uo=pr,ko=Co(Uo),Zc=ko;function gr(n){return n&&n.length?n[0]:void 0}u(gr,"head");var Jc=gr;function yr(n,e){return z(Ci(n,e),1)}u(yr,"flatMap");var Wc=yr;function dr(n,e){return n==null?n:Kn(n,sn(e),k)}u(dr,"forIn");var Qc=dr;function mr(n,e){return n&&vn(n,sn(e))}u(mr,"forOwn");var Yc=mr,No=Object.prototype,qo=No.hasOwnProperty,Vo=Eo(function(n,e,a){qo.call(n,a)?n[a].push(e):Gn(n,a,[e])}),nf=Vo,zo=Object.prototype,Ko=zo.hasOwnProperty;function jr(n,e){return n!=null&&Ko.call(n,e)}u(jr,"baseHas");var To=jr;function Or(n,e){return n!=null&&ca(n,e,To)}u(Or,"has");var ef=Or,Lo="[object String]";function wr(n){return typeof n=="string"||!p(n)&&$(n)&&un(n)==Lo}u(wr,"isString");var Ar=wr,Go=Math.max;function Sr(n,e,a,r){n=E(n)?n:Ui(n),a=a&&!r?K(a):0;var t=n.length;return a<0&&(a=Go(t+a,0)),Ar(n)?a<=t&&n.indexOf(e,a)>-1:!!t&&jn(n,e,a)>-1}u(Sr,"includes");var af=Sr,Ho=Math.max;function Ir(n,e,a){var r=n==null?0:n.length;if(!r)return-1;var t=a==null?0:K(a);return t<0&&(t=Ho(r+t,0)),jn(n,e,t)}u(Ir,"indexOf");var rf=Ir,Xo="[object RegExp]";function $r(n){return $(n)&&un(n)==Xo}u($r,"baseIsRegExp");var Zo=$r,kn=M&&M.isRegExp,Jo=kn?q(kn):Zo,tf=Jo;function _r(n,e){return ne||i&&o&&f&&!c&&!v||r&&o&&f||!a&&f||!t)return 1;if(!r&&!i&&!v&&n=c)return f;var v=a[r];return f*(v=="desc"?-1:1)}}return n.index-e.index}u(Cr,"compareMultiple");var ec=Cr;function Dr(n,e,a){e.length?e=w(e,function(i){return p(i)?function(o){return W(o,i.length===1?i[0]:i)}:i}):e=[N];var r=-1;e=w(e,q(j));var t=ma(n,function(i,o,c){var f=w(e,function(v){return v(i)});return{criteria:f,index:++r,value:i}});return Yo(t,function(i,o){return ec(i,o,a)})}u(Dr,"baseOrderBy");var ac=Dr,rc=ba("length"),tc=rc,Ur="\\ud800-\\udfff",uc="\\u0300-\\u036f",ic="\\ufe20-\\ufe2f",oc="\\u20d0-\\u20ff",cc=uc+ic+oc,fc="\\ufe0e\\ufe0f",vc="["+Ur+"]",rn="["+cc+"]",tn="\\ud83c[\\udffb-\\udfff]",sc="(?:"+rn+"|"+tn+")",kr="[^"+Ur+"]",Nr="(?:\\ud83c[\\udde6-\\uddff]){2}",qr="[\\ud800-\\udbff][\\udc00-\\udfff]",lc="\\u200d",Vr=sc+"?",zr="["+fc+"]?",bc="(?:"+lc+"(?:"+[kr,Nr,qr].join("|")+")"+zr+Vr+")*",hc=zr+Vr+bc,pc="(?:"+[kr+rn+"?",rn,Nr,qr,vc].join("|")+")",Nn=RegExp(tn+"(?="+tn+")|"+pc+hc,"g");function Kr(n){for(var e=Nn.lastIndex=0;Nn.test(n);)++e;return e}u(Kr,"unicodeSize");var gc=Kr;function Tr(n){return Ao(n)?gc(n):tc(n)}u(Tr,"stringSize");var yc=Tr,dc=Math.ceil,mc=Math.max;function Lr(n,e,a,r){for(var t=-1,i=mc(dc((e-n)/(a||1)),0),o=Array(i);i--;)o[r?i:++t]=n,n+=a;return o}u(Lr,"baseRange");var jc=Lr;function Gr(n){return function(e,a,r){return r&&typeof r!="number"&&F(e,a,r)&&(a=r=void 0),e=H(e),a===void 0?(a=e,e=0):a=H(a),r=r===void 0?e1&&F(n,e[0],e[1])?e=[]:a>2&&F(e[0],e[1],e[2])&&(e=[e[0]]),ac(n,z(e,1),[])}),bf=$c;function Wr(n){return n&&n.length?On(n):[]}u(Wr,"uniq");var hf=Wr;function Qr(n,e){return n&&n.length?On(n,j(e)):[]}u(Qr,"uniqBy");var pf=Qr,_c=0;function Yr(n){var e=++_c;return ea(n)+e}u(Yr,"uniqueId");var gf=Yr;function nt(n,e,a){for(var r=-1,t=n.length,i=e.length,o={};++r":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:i(function(L,a,n,y,m,s,T){var u=s.length-1;switch(m){case 3:return y.setRootDoc(s[u]),s[u];case 4:this.$=[];break;case 5:s[u]!="nl"&&(s[u-1].push(s[u]),this.$=s[u-1]);break;case 6:case 7:this.$=s[u];break;case 8:this.$="nl";break;case 12:this.$=s[u];break;case 13:let ht=s[u-1];ht.description=y.trimColon(s[u]),this.$=ht;break;case 14:this.$={stmt:"relation",state1:s[u-2],state2:s[u]};break;case 15:let ut=y.trimColon(s[u]);this.$={stmt:"relation",state1:s[u-3],state2:s[u-1],description:ut};break;case 19:this.$={stmt:"state",id:s[u-3],type:"default",description:"",doc:s[u-1]};break;case 20:var z=s[u],U=s[u-2].trim();if(s[u].match(":")){var ct=s[u].split(":");z=ct[0],U=[U,ct[1]]}this.$={stmt:"state",id:z,type:"default",description:U};break;case 21:this.$={stmt:"state",id:s[u-3],type:"default",description:s[u-5],doc:s[u-1]};break;case 22:this.$={stmt:"state",id:s[u],type:"fork"};break;case 23:this.$={stmt:"state",id:s[u],type:"join"};break;case 24:this.$={stmt:"state",id:s[u],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:s[u-1].trim(),note:{position:s[u-2].trim(),text:s[u].trim()}};break;case 29:this.$=s[u].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=s[u].trim(),y.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:s[u-1].trim(),classes:s[u].trim()};break;case 34:this.$={stmt:"style",id:s[u-1].trim(),styleClass:s[u].trim()};break;case 35:this.$={stmt:"applyClass",id:s[u-1].trim(),styleClass:s[u].trim()};break;case 36:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:s[u].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:s[u-2].trim(),classes:[s[u].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:s[u-2].trim(),classes:[s[u].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:c,6:o},{1:[3]},{3:5,4:e,5:c,6:o},{3:6,4:e,5:c,6:o},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:h,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:f,17:l,19:S,22:v,24:O,25:P,26:Y,27:I,28:d,29:C,32:25,33:A,35:G,37:j,38:R,42:N,45:st,48:it,49:rt,50:at,51:nt,54:Q},t(g,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:f,17:l,19:S,22:v,24:O,25:P,26:Y,27:I,28:d,29:C,32:25,33:A,35:G,37:j,38:R,42:N,45:st,48:it,49:rt,50:at,51:nt,54:Q},t(g,[2,7]),t(g,[2,8]),t(g,[2,9]),t(g,[2,10]),t(g,[2,11]),t(g,[2,12],{14:[1,39],15:[1,40]}),t(g,[2,16]),{18:[1,41]},t(g,[2,18],{20:[1,42]}),{23:[1,43]},t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(g,[2,28]),{34:[1,48]},{36:[1,49]},t(g,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ot,[2,42],{55:[1,54]}),t(ot,[2,43],{55:[1,55]}),t(g,[2,36]),t(g,[2,37]),t(g,[2,38]),t(g,[2,39]),t(g,[2,6]),t(g,[2,13]),{13:56,24:O,54:Q},t(g,[2,17]),t(jt,r,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(g,[2,29]),t(g,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(g,[2,14],{14:[1,67]}),{4:h,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:f,17:l,19:S,21:[1,68],22:v,24:O,25:P,26:Y,27:I,28:d,29:C,32:25,33:A,35:G,37:j,38:R,42:N,45:st,48:it,49:rt,50:at,51:nt,54:Q},t(g,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(g,[2,32]),t(g,[2,33]),t(g,[2,34]),t(g,[2,35]),t(ot,[2,44]),t(ot,[2,45]),t(g,[2,15]),t(g,[2,19]),t(jt,r,{7:72}),t(g,[2,26]),t(g,[2,27]),{4:h,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:f,17:l,19:S,21:[1,73],22:v,24:O,25:P,26:Y,27:I,28:d,29:C,32:25,33:A,35:G,37:j,38:R,42:N,45:st,48:it,49:rt,50:at,51:nt,54:Q},t(g,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:i(function(L,a){if(a.recoverable)this.trace(L);else{var n=new Error(L);throw n.hash=a,n}},"parseError"),parse:i(function(L){var a=this,n=[0],y=[],m=[null],s=[],T=this.table,u="",z=0,U=0,ct=0,ht=2,ut=1,Ee=s.slice.call(arguments,1),_=Object.create(this.lexer),M={yy:{}};for(var $t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$t)&&(M.yy[$t]=this.yy[$t]);_.setInput(L,M.yy),M.yy.lexer=_,M.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Dt=_.yylloc;s.push(Dt);var xe=_.options&&_.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $e(x){n.length=n.length-2*x,m.length=m.length-x,s.length=s.length-x}i($e,"popStack");function zt(){var x;return x=y.pop()||_.lex()||ut,typeof x!="number"&&(x instanceof Array&&(y=x,x=y.pop()),x=a.symbols_[x]||x),x}i(zt,"lex");for(var k,Ct,X,$,Cs,Lt,V={},dt,w,Mt,pt;;){if(X=n[n.length-1],this.defaultActions[X]?$=this.defaultActions[X]:((k===null||typeof k>"u")&&(k=zt()),$=T[X]&&T[X][k]),typeof $>"u"||!$.length||!$[0]){var vt="";pt=[];for(dt in T[X])this.terminals_[dt]&&dt>ht&&pt.push("'"+this.terminals_[dt]+"'");_.showPosition?vt="Parse error on line "+(z+1)+`: +import{w as De,$ as Ce}from"./chunk-4YMK7POB-jWkf0GjT.js";import{m as i,J as b,Q as D,S as Le,I as ve,d as H,b4 as Ie,v as Ae,B as we,w as Oe,M as Re,F as Ne,L as Be,A as Fe}from"./mermaid.esm.min-Bq5H-fqC.js";var wt=function(){var t=i(function(L,a,n,y){for(n=n||{},y=L.length;y--;n[L[y]]=a);return n},"o"),e=[1,2],c=[1,3],o=[1,4],r=[2,4],h=[1,9],p=[1,11],f=[1,16],l=[1,17],S=[1,18],v=[1,19],O=[1,32],P=[1,20],Y=[1,21],I=[1,22],d=[1,23],C=[1,24],A=[1,26],G=[1,27],j=[1,28],R=[1,29],N=[1,30],st=[1,31],it=[1,34],rt=[1,35],at=[1,36],nt=[1,37],Q=[1,33],g=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],ot=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],jt=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],xt={trace:i(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,style:42,STYLE_IDS:43,STYLEDEF_STYLEOPTS:44,class:45,CLASSENTITY_IDS:46,STYLECLASS:47,direction_tb:48,direction_bt:49,direction_rl:50,direction_lr:51,eol:52,";":53,EDGE_STATE:54,STYLE_SEPARATOR:55,left_of:56,right_of:57,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"style",43:"STYLE_IDS",44:"STYLEDEF_STYLEOPTS",45:"class",46:"CLASSENTITY_IDS",47:"STYLECLASS",48:"direction_tb",49:"direction_bt",50:"direction_rl",51:"direction_lr",53:";",54:"EDGE_STATE",55:"STYLE_SEPARATOR",56:"left_of",57:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[52,1],[52,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:i(function(L,a,n,y,m,s,T){var u=s.length-1;switch(m){case 3:return y.setRootDoc(s[u]),s[u];case 4:this.$=[];break;case 5:s[u]!="nl"&&(s[u-1].push(s[u]),this.$=s[u-1]);break;case 6:case 7:this.$=s[u];break;case 8:this.$="nl";break;case 12:this.$=s[u];break;case 13:let ht=s[u-1];ht.description=y.trimColon(s[u]),this.$=ht;break;case 14:this.$={stmt:"relation",state1:s[u-2],state2:s[u]};break;case 15:let ut=y.trimColon(s[u]);this.$={stmt:"relation",state1:s[u-3],state2:s[u-1],description:ut};break;case 19:this.$={stmt:"state",id:s[u-3],type:"default",description:"",doc:s[u-1]};break;case 20:var z=s[u],U=s[u-2].trim();if(s[u].match(":")){var ct=s[u].split(":");z=ct[0],U=[U,ct[1]]}this.$={stmt:"state",id:z,type:"default",description:U};break;case 21:this.$={stmt:"state",id:s[u-3],type:"default",description:s[u-5],doc:s[u-1]};break;case 22:this.$={stmt:"state",id:s[u],type:"fork"};break;case 23:this.$={stmt:"state",id:s[u],type:"join"};break;case 24:this.$={stmt:"state",id:s[u],type:"choice"};break;case 25:this.$={stmt:"state",id:y.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:s[u-1].trim(),note:{position:s[u-2].trim(),text:s[u].trim()}};break;case 29:this.$=s[u].trim(),y.setAccTitle(this.$);break;case 30:case 31:this.$=s[u].trim(),y.setAccDescription(this.$);break;case 32:case 33:this.$={stmt:"classDef",id:s[u-1].trim(),classes:s[u].trim()};break;case 34:this.$={stmt:"style",id:s[u-1].trim(),styleClass:s[u].trim()};break;case 35:this.$={stmt:"applyClass",id:s[u-1].trim(),styleClass:s[u].trim()};break;case 36:y.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 37:y.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 38:y.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 39:y.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 42:case 43:this.$={stmt:"state",id:s[u].trim(),type:"default",description:""};break;case 44:this.$={stmt:"state",id:s[u-2].trim(),classes:[s[u].trim()],type:"default",description:""};break;case 45:this.$={stmt:"state",id:s[u-2].trim(),classes:[s[u].trim()],type:"default",description:""};break}},"anonymous"),table:[{3:1,4:e,5:c,6:o},{1:[3]},{3:5,4:e,5:c,6:o},{3:6,4:e,5:c,6:o},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,45,48,49,50,51,54],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:h,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:f,17:l,19:S,22:v,24:O,25:P,26:Y,27:I,28:d,29:C,32:25,33:A,35:G,37:j,38:R,42:N,45:st,48:it,49:rt,50:at,51:nt,54:Q},t(g,[2,5]),{9:38,10:12,11:13,12:14,13:15,16:f,17:l,19:S,22:v,24:O,25:P,26:Y,27:I,28:d,29:C,32:25,33:A,35:G,37:j,38:R,42:N,45:st,48:it,49:rt,50:at,51:nt,54:Q},t(g,[2,7]),t(g,[2,8]),t(g,[2,9]),t(g,[2,10]),t(g,[2,11]),t(g,[2,12],{14:[1,39],15:[1,40]}),t(g,[2,16]),{18:[1,41]},t(g,[2,18],{20:[1,42]}),{23:[1,43]},t(g,[2,22]),t(g,[2,23]),t(g,[2,24]),t(g,[2,25]),{30:44,31:[1,45],56:[1,46],57:[1,47]},t(g,[2,28]),{34:[1,48]},{36:[1,49]},t(g,[2,31]),{39:[1,50],41:[1,51]},{43:[1,52]},{46:[1,53]},t(ot,[2,42],{55:[1,54]}),t(ot,[2,43],{55:[1,55]}),t(g,[2,36]),t(g,[2,37]),t(g,[2,38]),t(g,[2,39]),t(g,[2,6]),t(g,[2,13]),{13:56,24:O,54:Q},t(g,[2,17]),t(jt,r,{7:57}),{24:[1,58]},{24:[1,59]},{23:[1,60]},{24:[2,46]},{24:[2,47]},t(g,[2,29]),t(g,[2,30]),{40:[1,61]},{40:[1,62]},{44:[1,63]},{47:[1,64]},{24:[1,65]},{24:[1,66]},t(g,[2,14],{14:[1,67]}),{4:h,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:f,17:l,19:S,21:[1,68],22:v,24:O,25:P,26:Y,27:I,28:d,29:C,32:25,33:A,35:G,37:j,38:R,42:N,45:st,48:it,49:rt,50:at,51:nt,54:Q},t(g,[2,20],{20:[1,69]}),{31:[1,70]},{24:[1,71]},t(g,[2,32]),t(g,[2,33]),t(g,[2,34]),t(g,[2,35]),t(ot,[2,44]),t(ot,[2,45]),t(g,[2,15]),t(g,[2,19]),t(jt,r,{7:72}),t(g,[2,26]),t(g,[2,27]),{4:h,5:p,8:8,9:10,10:12,11:13,12:14,13:15,16:f,17:l,19:S,21:[1,73],22:v,24:O,25:P,26:Y,27:I,28:d,29:C,32:25,33:A,35:G,37:j,38:R,42:N,45:st,48:it,49:rt,50:at,51:nt,54:Q},t(g,[2,21])],defaultActions:{5:[2,1],6:[2,2],46:[2,46],47:[2,47]},parseError:i(function(L,a){if(a.recoverable)this.trace(L);else{var n=new Error(L);throw n.hash=a,n}},"parseError"),parse:i(function(L){var a=this,n=[0],y=[],m=[null],s=[],T=this.table,u="",z=0,U=0,ct=0,ht=2,ut=1,Ee=s.slice.call(arguments,1),_=Object.create(this.lexer),M={yy:{}};for(var $t in this.yy)Object.prototype.hasOwnProperty.call(this.yy,$t)&&(M.yy[$t]=this.yy[$t]);_.setInput(L,M.yy),M.yy.lexer=_,M.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var Dt=_.yylloc;s.push(Dt);var xe=_.options&&_.options.ranges;typeof M.yy.parseError=="function"?this.parseError=M.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function $e(x){n.length=n.length-2*x,m.length=m.length-x,s.length=s.length-x}i($e,"popStack");function zt(){var x;return x=y.pop()||_.lex()||ut,typeof x!="number"&&(x instanceof Array&&(y=x,x=y.pop()),x=a.symbols_[x]||x),x}i(zt,"lex");for(var k,Ct,X,$,Cs,Lt,V={},dt,w,Mt,pt;;){if(X=n[n.length-1],this.defaultActions[X]?$=this.defaultActions[X]:((k===null||typeof k>"u")&&(k=zt()),$=T[X]&&T[X][k]),typeof $>"u"||!$.length||!$[0]){var vt="";pt=[];for(dt in T[X])this.terminals_[dt]&&dt>ht&&pt.push("'"+this.terminals_[dt]+"'");_.showPosition?vt="Parse error on line "+(z+1)+`: `+_.showPosition()+` Expecting `+pt.join(", ")+", got '"+(this.terminals_[k]||k)+"'":vt="Parse error on line "+(z+1)+": Unexpected "+(k==ut?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(vt,{text:_.match,token:this.terminals_[k]||k,line:_.yylineno,loc:Dt,expected:pt})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+X+", token: "+k);switch($[0]){case 1:n.push(k),m.push(_.yytext),s.push(_.yylloc),n.push($[1]),k=null,Ct?(k=Ct,Ct=null):(U=_.yyleng,u=_.yytext,z=_.yylineno,Dt=_.yylloc,ct>0);break;case 2:if(w=this.productions_[$[1]][1],V.$=m[m.length-w],V._$={first_line:s[s.length-(w||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(w||1)].first_column,last_column:s[s.length-1].last_column},xe&&(V._$.range=[s[s.length-(w||1)].range[0],s[s.length-1].range[1]]),Lt=this.performAction.apply(V,[u,U,z,M.yy,$[1],m,s].concat(Ee)),typeof Lt<"u")return Lt;w&&(n=n.slice(0,-1*w*2),m=m.slice(0,-1*w),s=s.slice(0,-1*w)),n.push(this.productions_[$[1]][0]),m.push(V.$),s.push(V._$),Mt=T[n[n.length-2]][n[n.length-1]],n.push(Mt);break;case 3:return!0}}return!0},"parse")},Te=function(){var L={EOF:1,parseError:i(function(a,n){if(this.yy.parser)this.yy.parser.parseError(a,n);else throw new Error(a)},"parseError"),setInput:i(function(a,n){return this.yy=n||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var n=a.match(/(?:\r\n?|\n).*/g);return n?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:i(function(a){var n=a.length,y=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var m=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),y.length-1&&(this.yylineno-=y.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:y?(y.length===m.length?this.yylloc.first_column:0)+m[m.length-y.length].length-y[0].length:this.yylloc.first_column-n},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-n]),this.yyleng=this.yytext.length,this},"unput"),more:i(function(){return this._more=!0,this},"more"),reject:i(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:i(function(a){this.unput(this.match.slice(a))},"less"),pastInput:i(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i(function(){var a=this.pastInput(),n=new Array(a.length+1).join("-");return a+this.upcomingInput()+` diff --git a/assets/chunk-BERL53GW-CPe116Kq.js b/assets/chunk-BERL53GW-CnPewdp0.js similarity index 91% rename from assets/chunk-BERL53GW-CPe116Kq.js rename to assets/chunk-BERL53GW-CnPewdp0.js index e00c3995..2270fddb 100644 --- a/assets/chunk-BERL53GW-CPe116Kq.js +++ b/assets/chunk-BERL53GW-CnPewdp0.js @@ -1 +1 @@ -import{q as n,f as d,m as l,al as h}from"./mermaid.esm.min-DnxZBvzk.js";var i=n(d()),y=l((s,t)=>{let r=s.append("rect");if(r.attr("x",t.x),r.attr("y",t.y),r.attr("fill",t.fill),r.attr("stroke",t.stroke),r.attr("width",t.width),r.attr("height",t.height),t.name&&r.attr("name",t.name),t.rx&&r.attr("rx",t.rx),t.ry&&r.attr("ry",t.ry),t.attrs!==void 0)for(let a in t.attrs)r.attr(a,t.attrs[a]);return t.class&&r.attr("class",t.class),r},"drawRect"),o=l((s,t)=>{let r={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};y(s,r).lower()},"drawBackgroundRect"),p=l((s,t)=>{let r=t.text.replace(h," "),a=s.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class&&a.attr("class",t.class);let e=a.append("tspan");return e.attr("x",t.x+t.textMargin*2),e.text(r),a},"drawText"),g=l((s,t,r,a)=>{let e=s.append("image");e.attr("x",t),e.attr("y",r);let x=(0,i.sanitizeUrl)(a);e.attr("xlink:href",x)},"drawImage"),f=l((s,t,r,a)=>{let e=s.append("use");e.attr("x",t),e.attr("y",r);let x=(0,i.sanitizeUrl)(a);e.attr("xlink:href",`#${x}`)},"drawEmbeddedImage"),m=l(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),w=l(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{f as E,g as d,w as f,o as g,m as h,y as x,p as y}; +import{q as n,f as d,m as l,al as h}from"./mermaid.esm.min-Bq5H-fqC.js";var i=n(d()),y=l((s,t)=>{let r=s.append("rect");if(r.attr("x",t.x),r.attr("y",t.y),r.attr("fill",t.fill),r.attr("stroke",t.stroke),r.attr("width",t.width),r.attr("height",t.height),t.name&&r.attr("name",t.name),t.rx&&r.attr("rx",t.rx),t.ry&&r.attr("ry",t.ry),t.attrs!==void 0)for(let a in t.attrs)r.attr(a,t.attrs[a]);return t.class&&r.attr("class",t.class),r},"drawRect"),o=l((s,t)=>{let r={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};y(s,r).lower()},"drawBackgroundRect"),p=l((s,t)=>{let r=t.text.replace(h," "),a=s.append("text");a.attr("x",t.x),a.attr("y",t.y),a.attr("class","legend"),a.style("text-anchor",t.anchor),t.class&&a.attr("class",t.class);let e=a.append("tspan");return e.attr("x",t.x+t.textMargin*2),e.text(r),a},"drawText"),g=l((s,t,r,a)=>{let e=s.append("image");e.attr("x",t),e.attr("y",r);let x=(0,i.sanitizeUrl)(a);e.attr("xlink:href",x)},"drawImage"),f=l((s,t,r,a)=>{let e=s.append("use");e.attr("x",t),e.attr("y",r);let x=(0,i.sanitizeUrl)(a);e.attr("xlink:href",`#${x}`)},"drawEmbeddedImage"),m=l(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),w=l(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");export{f as E,g as d,w as f,o as g,m as h,y as x,p as y}; diff --git a/assets/chunk-FASC7IG4-Cf3UQ1W4.js b/assets/chunk-FASC7IG4-D006d5mv.js similarity index 99% rename from assets/chunk-FASC7IG4-Cf3UQ1W4.js rename to assets/chunk-FASC7IG4-D006d5mv.js index 233ca5c3..7e78f8cb 100644 --- a/assets/chunk-FASC7IG4-Cf3UQ1W4.js +++ b/assets/chunk-FASC7IG4-D006d5mv.js @@ -1 +1 @@ -import{m as y}from"./chunk-ZN7TASNU-DRzcILnV.js";import{l as ie,Z as f,J as m,a as O,s as b,y as _,f as Ne,b as x,T as Ee,Q as R,O as ae,t as ot,K as de,c as T,X as I,R as q,g as rt,n as S,d as Y,D,h as it,e as at,i as z,j as dt,N as ut}from"./chunk-5ZJXQJOJ-DIZvkofk.js";import{m as u,am as X,an as st,ao as ct}from"./mermaid.esm.min-DnxZBvzk.js";function E(e,n,t,o){var r;do r=ie(o);while(e.hasNode(r));return t.dummy=n,e.setNode(r,t),r}u(E,"addDummyNode");function Oe(e){var n=new y().setGraph(e.graph());return f(e.nodes(),function(t){n.setNode(t,e.node(t))}),f(e.edges(),function(t){var o=n.edge(t.v,t.w)||{weight:0,minlen:1},r=e.edge(t);n.setEdge(t.v,t.w,{weight:o.weight+r.weight,minlen:Math.max(o.minlen,r.minlen)})}),n}u(Oe,"simplify");function ue(e){var n=new y({multigraph:e.isMultigraph()}).setGraph(e.graph());return f(e.nodes(),function(t){e.children(t).length||n.setNode(t,e.node(t))}),f(e.edges(),function(t){n.setEdge(t,e.edge(t))}),n}u(ue,"asNonCompoundGraph");function H(e,n){var t=e.x,o=e.y,r=n.x-t,i=n.y-o,a=e.width/2,d=e.height/2;if(!r&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var s,c;return Math.abs(i)*a>Math.abs(r)*d?(i<0&&(d=-d),s=d*r/i,c=d):(r<0&&(a=-a),s=a,c=a*i/r),{x:t+s,y:o+c}}u(H,"intersectRect");function j(e){var n=m(O(se(e)+1),function(){return[]});return f(e.nodes(),function(t){var o=e.node(t),r=o.rank;b(r)||(n[r][o.order]=t)}),n}u(j,"buildLayerMatrix");function Ie(e){var n=_(m(e.nodes(),function(t){return e.node(t).rank}));f(e.nodes(),function(t){var o=e.node(t);Ne(o,"rank")&&(o.rank-=n)})}u(Ie,"normalizeRanks");function Ce(e){var n=_(m(e.nodes(),function(i){return e.node(i).rank})),t=[];f(e.nodes(),function(i){var a=e.node(i).rank-n;t[a]||(t[a]=[]),t[a].push(i)});var o=0,r=e.graph().nodeRankFactor;f(t,function(i,a){b(i)&&a%r!==0?--o:o&&f(i,function(d){e.node(d).rank+=o})})}u(Ce,"removeEmptyRanks");function K(e,n,t,o){var r={width:0,height:0};return arguments.length>=4&&(r.rank=t,r.order=o),E(e,"border",r,n)}u(K,"addBorderNode");function se(e){return x(m(e.nodes(),function(n){var t=e.node(n).rank;if(!b(t))return t}))}u(se,"maxRank");function Le(e,n){var t={lhs:[],rhs:[]};return f(e,function(o){n(o)?t.lhs.push(o):t.rhs.push(o)}),t}u(Le,"partition");function _e(e,n){var t=Ee();try{return n()}finally{console.log(e+" time: "+(Ee()-t)+"ms")}}u(_e,"time");function Pe(e,n){return n()}u(Pe,"notime");function Re(e){function n(t){var o=e.children(t),r=e.node(t);if(o.length&&f(o,n),Object.prototype.hasOwnProperty.call(r,"minRank")){r.borderLeft=[],r.borderRight=[];for(var i=r.minRank,a=r.maxRank+1;i0;--d)if(a=n[d].dequeue(),a){o=o.concat(B(e,n,t,a,!0));break}}}return o}u(Fe,"doGreedyFAS");function B(e,n,t,o,r){var i=r?[]:void 0;return f(e.inEdges(o.v),function(a){var d=e.edge(a),s=e.node(a.v);r&&i.push({v:a.v,w:a.w}),s.out-=d,$(n,t,s)}),f(e.outEdges(o.v),function(a){var d=e.edge(a),s=a.w,c=e.node(s);c.in-=d,$(n,t,c)}),e.removeNode(o.v),i}u(B,"removeNode");function Ve(e,n){var t=new y,o=0,r=0;f(e.nodes(),function(d){t.setNode(d,{v:d,in:0,out:0})}),f(e.edges(),function(d){var s=t.edge(d.v,d.w)||0,c=n(d),h=s+c;t.setEdge(d.v,d.w,h),r=Math.max(r,t.node(d.v).out+=c),o=Math.max(o,t.node(d.w).in+=c)});var i=O(r+o+3).map(function(){return new ft}),a=o+1;return f(t.nodes(),function(d){$(i,a,t.node(d))}),{graph:t,buckets:i,zeroIdx:a}}u(Ve,"buildState");function $(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}u($,"assignBucket");function Ye(e){var n=e.graph().acyclicer==="greedy"?Be(e,t(e)):De(e);f(n,function(o){var r=e.edge(o);e.removeEdge(o),r.forwardName=o.name,r.reversed=!0,e.setEdge(o.w,o.v,r,ie("rev"))});function t(o){return function(r){return o.edge(r).weight}}u(t,"weightFn")}u(Ye,"run");function De(e){var n=[],t={},o={};function r(i){Object.prototype.hasOwnProperty.call(o,i)||(o[i]=!0,t[i]=!0,f(e.outEdges(i),function(a){Object.prototype.hasOwnProperty.call(t,a.w)?n.push(a):r(a.w)}),delete t[i])}return u(r,"dfs"),f(e.nodes(),r),n}u(De,"dfsFAS");function $e(e){f(e.edges(),function(n){var t=e.edge(n);if(t.reversed){e.removeEdge(n);var o=t.forwardName;delete t.reversed,delete t.forwardName,e.setEdge(n.w,n.v,t,o)}})}u($e,"undo");function qe(e){e.graph().dummyChains=[],f(e.edges(),function(n){ze(e,n)})}u(qe,"run");function ze(e,n){var t=n.v,o=e.node(t).rank,r=n.w,i=e.node(r).rank,a=n.name,d=e.edge(n),s=d.labelRank;if(i!==o+1){e.removeEdge(n);var c=void 0,h,g;for(g=0,++o;oa.lim&&(d=a,s=!0);var c=T(n.edges(),function(h){return s===ee(e,e.node(h.v),d)&&s!==ee(e,e.node(h.w),d)});return ae(c,function(h){return C(n,h)})}u(me,"enterEdge");function we(e,n,t,o){var r=t.v,i=t.w;e.removeEdge(r,i),e.setEdge(o.v,o.w,{}),W(e),J(e,n),Ue(e,n)}u(we,"exchangeEdges");function Ue(e,n){var t=de(e.nodes(),function(r){return!n.node(r).parent}),o=Ze(e,t);o=o.slice(1),f(o,function(r){var i=e.node(r).parent,a=n.edge(r,i),d=!1;a||(a=n.edge(i,r),d=!0),n.node(r).rank=n.node(i).rank+(d?a.minlen:-a.minlen)})}u(Ue,"updateRanks");function en(e,n,t){return e.hasEdge(n,t)}u(en,"isTreeEdge");function ee(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}u(ee,"isDescendant");function nn(e){switch(e.graph().ranker){case"network-simplex":ne(e);break;case"tight-tree":tn(e);break;case"longest-path":gt(e);break;default:ne(e)}}u(nn,"rank");var gt=A;function tn(e){A(e),fe(e)}u(tn,"tightTreeRanker");function ne(e){k(e)}u(ne,"networkSimplexRanker");function on(e){var n=E(e,"root",{},"_root"),t=rn(e),o=x(I(t))-1,r=2*o+1;e.graph().nestingRoot=n,f(e.edges(),function(a){e.edge(a).minlen*=r});var i=an(e)+1;f(e.children(),function(a){be(e,n,r,i,o,t,a)}),e.graph().nodeRankFactor=r}u(on,"run");function be(e,n,t,o,r,i,a){var d=e.children(a);if(!d.length){a!==n&&e.setEdge(n,a,{weight:0,minlen:t});return}var s=K(e,"_bt"),c=K(e,"_bb"),h=e.node(a);e.setParent(s,a),h.borderTop=s,e.setParent(c,a),h.borderBottom=c,f(d,function(g){be(e,n,t,o,r,i,g);var l=e.node(g),p=l.borderTop?l.borderTop:g,v=l.borderBottom?l.borderBottom:g,w=l.borderTop?o:2*o,L=p!==v?1:r-i[a]+1;e.setEdge(s,p,{weight:w,minlen:L,nestingEdge:!0}),e.setEdge(v,c,{weight:w,minlen:L,nestingEdge:!0})}),e.parent(a)||e.setEdge(n,s,{weight:0,minlen:r+i[a]})}u(be,"dfs");function rn(e){var n={};function t(o,r){var i=e.children(o);i&&i.length&&f(i,function(a){t(a,r+1)}),n[o]=r}return u(t,"dfs"),f(e.children(),function(o){t(o,1)}),n}u(rn,"treeDepths");function an(e){return q(e.edges(),function(n,t){return n+e.edge(t).weight},0)}u(an,"sumWeights");function dn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,f(e.edges(),function(t){var o=e.edge(t);o.nestingEdge&&e.removeEdge(t)})}u(dn,"cleanup");function un(e,n,t){var o={},r;f(t,function(i){for(var a=e.parent(i),d,s;a;){if(d=e.parent(a),d?(s=o[d],o[d]=a):(s=r,r=a),s&&s!==a){n.setEdge(s,a);return}a=d}})}u(un,"addSubgraphConstraints");function sn(e,n,t){var o=cn(e),r=new y({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(i){return e.node(i)});return f(e.nodes(),function(i){var a=e.node(i),d=e.parent(i);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(r.setNode(i),r.setParent(i,d||o),f(e[t](i),function(s){var c=s.v===i?s.w:s.v,h=r.edge(c,i),g=b(h)?0:h.weight;r.setEdge(c,i,{weight:e.edge(s).weight+g})}),Object.prototype.hasOwnProperty.call(a,"minRank")&&r.setNode(i,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))}),r}u(sn,"buildLayerGraph");function cn(e){for(var n;e.hasNode(n=ie("_root")););return n}u(cn,"createRootNode");function fn(e,n){for(var t=0,o=1;o0;)h%2&&(g+=d[h+1]),h=h-1>>1,d[h]+=c.weight;s+=c.weight*g})),s}u(hn,"twoLayerCrossCount");function gn(e){var n={},t=T(e.nodes(),function(d){return!e.children(d).length}),o=x(m(t,function(d){return e.node(d).rank})),r=m(O(o+1),function(){return[]});function i(d){if(!Ne(n,d)){n[d]=!0;var s=e.node(d);r[s.rank].push(d),f(e.successors(d),i)}}u(i,"dfs");var a=S(t,function(d){return e.node(d).rank});return f(a,i),r}u(gn,"initOrder");function ln(e,n){return m(n,function(t){var o=e.inEdges(t);if(o.length){var r=q(o,function(i,a){var d=e.edge(a),s=e.node(a.v);return{sum:i.sum+d.weight*s.order,weight:i.weight+d.weight}},{sum:0,weight:0});return{v:t,barycenter:r.sum/r.weight,weight:r.weight}}else return{v:t}})}u(ln,"barycenter");function pn(e,n){var t={};f(e,function(r,i){var a=t[r.v]={indegree:0,in:[],out:[],vs:[r.v],i};b(r.barycenter)||(a.barycenter=r.barycenter,a.weight=r.weight)}),f(n.edges(),function(r){var i=t[r.v],a=t[r.w];!b(i)&&!b(a)&&(a.indegree++,i.out.push(t[r.w]))});var o=T(t,function(r){return!r.indegree});return vn(o)}u(pn,"resolveConflicts");function vn(e){var n=[];function t(i){return function(a){a.merged||(b(a.barycenter)||b(i.barycenter)||a.barycenter>=i.barycenter)&&mn(i,a)}}u(t,"handleIn");function o(i){return function(a){a.in.push(i),--a.indegree===0&&e.push(a)}}for(u(o,"handleOut");e.length;){var r=e.pop();n.push(r),f(r.in.reverse(),t(r)),f(r.out,o(r))}return m(T(n,function(i){return!i.merged}),function(i){return Y(i,["vs","i","barycenter","weight"])})}u(vn,"doResolveConflicts");function mn(e,n){var t=0,o=0;e.weight&&(t+=e.barycenter*e.weight,o+=e.weight),n.weight&&(t+=n.barycenter*n.weight,o+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/o,e.weight=o,e.i=Math.min(n.i,e.i),n.merged=!0}u(mn,"mergeEntries");function wn(e,n){var t=Le(e,function(h){return Object.prototype.hasOwnProperty.call(h,"barycenter")}),o=t.lhs,r=S(t.rhs,function(h){return-h.i}),i=[],a=0,d=0,s=0;o.sort(bn(!!n)),s=te(i,r,s),f(o,function(h){s+=h.vs.length,i.push(h.vs),a+=h.barycenter*h.weight,d+=h.weight,s=te(i,r,s)});var c={vs:R(i)};return d&&(c.barycenter=a/d,c.weight=d),c}u(wn,"sort");function te(e,n,t){for(var o;n.length&&(o=D(n)).i<=t;)n.pop(),e.push(o.vs),t++;return t}u(te,"consumeUnsortable");function bn(e){return function(n,t){return n.barycentert.barycenter?1:e?t.i-n.i:n.i-t.i}}u(bn,"compareWithBias");function ye(e,n,t,o){var r=e.children(n),i=e.node(n),a=i?i.borderLeft:void 0,d=i?i.borderRight:void 0,s={};a&&(r=T(r,function(v){return v!==a&&v!==d}));var c=ln(e,r);f(c,function(v){if(e.children(v.v).length){var w=ye(e,v.v,t,o);s[v.v]=w,Object.prototype.hasOwnProperty.call(w,"barycenter")&&kn(v,w)}});var h=pn(c,t);yn(h,s);var g=wn(h,o);if(a&&(g.vs=R([a,g.vs,d]),e.predecessors(a).length)){var l=e.node(e.predecessors(a)[0]),p=e.node(e.predecessors(d)[0]);Object.prototype.hasOwnProperty.call(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+l.order+p.order)/(g.weight+2),g.weight+=2}return g}u(ye,"sortSubgraph");function yn(e,n){f(e,function(t){t.vs=R(t.vs.map(function(o){return n[o]?n[o].vs:o}))})}u(yn,"expandSubgraphs");function kn(e,n){b(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}u(kn,"mergeBarycenters");function xn(e){var n=se(e),t=oe(e,O(1,n+1),"inEdges"),o=oe(e,O(n-1,-1,-1),"outEdges"),r=gn(e);re(e,r);for(var i=Number.POSITIVE_INFINITY,a,d=0,s=0;s<4;++d,++s){En(d%2?t:o,d%4>=2),r=j(e);var c=fn(e,r);ca||d>n[s].lim));for(c=s,s=o;(s=e.parent(s))!==c;)i.push(s);return{path:r.concat(i.reverse()),lca:c}}u(On,"findPath");function In(e){var n={},t=0;function o(r){var i=t;f(e.children(r),o),n[r]={low:i,lim:t++}}return u(o,"dfs"),f(e.children(),o),n}u(In,"postorder");function Cn(e,n){var t={};function o(r,i){var a=0,d=0,s=r.length,c=D(i);return f(i,function(h,g){var l=_n(e,h),p=l?e.node(l).order:s;(l||h===c)&&(f(i.slice(d,g+1),function(v){f(e.predecessors(v),function(w){var L=e.node(w),xe=L.order;(xec)&&ke(t,l,h)})})}u(o,"scan");function r(i,a){var d=-1,s,c=0;return f(a,function(h,g){if(e.node(h).dummy==="border"){var l=e.predecessors(h);l.length&&(s=e.node(l[0]).order,o(a,c,g,d,s),c=g,d=s)}o(a,c,a.length,s,i.length)}),a}return u(r,"visitLayer"),q(n,r),t}u(Ln,"findType2Conflicts");function _n(e,n){if(e.node(n).dummy)return de(e.predecessors(n),function(t){return e.node(t).dummy})}u(_n,"findOtherInnerSegmentNode");function ke(e,n,t){if(n>t){var o=n;n=t,t=o}var r=e[n];r||(e[n]=r={}),r[t]=!0}u(ke,"addConflict");function Pn(e,n,t){if(n>t){var o=n;n=t,t=o}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],t)}u(Pn,"hasConflict");function Rn(e,n,t,o){var r={},i={},a={};return f(n,function(d){f(d,function(s,c){r[s]=s,i[s]=s,a[s]=c})}),f(n,function(d){var s=-1;f(d,function(c){var h=o(c);if(h.length){h=S(h,function(w){return a[w]});for(var g=(h.length-1)/2,l=Math.floor(g),p=Math.ceil(g);l<=p;++l){var v=h[l];i[c]===c&&s{var o=t(" buildLayoutGraph",()=>zn(e));t(" runLayout",()=>$n(o,t)),t(" updateInputGraph",()=>qn(e,o))})}u(lt,"layout");function $n(e,n){n(" makeSpaceForEdgeLabels",()=>An(e)),n(" removeSelfEdges",()=>et(e)),n(" acyclic",()=>Ye(e)),n(" nestingGraph.run",()=>on(e)),n(" rank",()=>nn(ue(e))),n(" injectEdgeLabelProxies",()=>Jn(e)),n(" removeEmptyRanks",()=>Ce(e)),n(" nestingGraph.cleanup",()=>dn(e)),n(" normalizeRanks",()=>Ie(e)),n(" assignRankMinMax",()=>Wn(e)),n(" removeEdgeLabelProxies",()=>Xn(e)),n(" normalize.run",()=>qe(e)),n(" parentDummyChains",()=>Nn(e)),n(" addBorderSegments",()=>Re(e)),n(" order",()=>xn(e)),n(" insertSelfEdges",()=>nt(e)),n(" adjustCoordinateSystem",()=>Te(e)),n(" position",()=>Yn(e)),n(" positionSelfEdges",()=>tt(e)),n(" removeBorderNodes",()=>Un(e)),n(" normalize.undo",()=>Ae(e)),n(" fixupEdgeLabelCoords",()=>Zn(e)),n(" undoCoordinateSystem",()=>Se(e)),n(" translateGraph",()=>Hn(e)),n(" assignNodeIntersects",()=>Kn(e)),n(" reversePoints",()=>Qn(e)),n(" acyclic.undo",()=>$e(e))}u($n,"runLayout");function qn(e,n){f(e.nodes(),function(t){var o=e.node(t),r=n.node(t);o&&(o.x=r.x,o.y=r.y,n.children(t).length&&(o.width=r.width,o.height=r.height))}),f(e.edges(),function(t){var o=e.edge(t),r=n.edge(t);o.points=r.points,Object.prototype.hasOwnProperty.call(r,"x")&&(o.x=r.x,o.y=r.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}u(qn,"updateInputGraph");var pt=["nodesep","edgesep","ranksep","marginx","marginy"],vt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},mt=["acyclicer","ranker","rankdir","align"],wt=["width","height"],bt={width:0,height:0},yt=["minlen","weight","width","height","labeloffset"],kt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},xt=["labelpos"];function zn(e){var n=new y({multigraph:!0,compound:!0}),t=V(e.graph());return n.setGraph(X({},vt,F(t,pt),Y(t,mt))),f(e.nodes(),function(o){var r=V(e.node(o));n.setNode(o,ut(F(r,wt),bt)),n.setParent(o,e.parent(o))}),f(e.edges(),function(o){var r=V(e.edge(o));n.setEdge(o,X({},kt,F(r,yt),Y(r,xt)))}),n}u(zn,"buildLayoutGraph");function An(e){var n=e.graph();n.ranksep/=2,f(e.edges(),function(t){var o=e.edge(t);o.minlen*=2,o.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?o.width+=o.labeloffset:o.height+=o.labeloffset)})}u(An,"makeSpaceForEdgeLabels");function Jn(e){f(e.edges(),function(n){var t=e.edge(n);if(t.width&&t.height){var o=e.node(n.v),r=e.node(n.w),i={rank:(r.rank-o.rank)/2+o.rank,e:n};E(e,"edge-proxy",i,"_ep")}})}u(Jn,"injectEdgeLabelProxies");function Wn(e){var n=0;f(e.nodes(),function(t){var o=e.node(t);o.borderTop&&(o.minRank=e.node(o.borderTop).rank,o.maxRank=e.node(o.borderBottom).rank,n=x(n,o.maxRank))}),e.graph().maxRank=n}u(Wn,"assignRankMinMax");function Xn(e){f(e.nodes(),function(n){var t=e.node(n);t.dummy==="edge-proxy"&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))})}u(Xn,"removeEdgeLabelProxies");function Hn(e){var n=Number.POSITIVE_INFINITY,t=0,o=Number.POSITIVE_INFINITY,r=0,i=e.graph(),a=i.marginx||0,d=i.marginy||0;function s(c){var h=c.x,g=c.y,l=c.width,p=c.height;n=Math.min(n,h-l/2),t=Math.max(t,h+l/2),o=Math.min(o,g-p/2),r=Math.max(r,g+p/2)}u(s,"getExtremes"),f(e.nodes(),function(c){s(e.node(c))}),f(e.edges(),function(c){var h=e.edge(c);Object.prototype.hasOwnProperty.call(h,"x")&&s(h)}),n-=a,o-=d,f(e.nodes(),function(c){var h=e.node(c);h.x-=n,h.y-=o}),f(e.edges(),function(c){var h=e.edge(c);f(h.points,function(g){g.x-=n,g.y-=o}),Object.prototype.hasOwnProperty.call(h,"x")&&(h.x-=n),Object.prototype.hasOwnProperty.call(h,"y")&&(h.y-=o)}),i.width=t-n+a,i.height=r-o+d}u(Hn,"translateGraph");function Kn(e){f(e.edges(),function(n){var t=e.edge(n),o=e.node(n.v),r=e.node(n.w),i,a;t.points?(i=t.points[0],a=t.points[t.points.length-1]):(t.points=[],i=r,a=o),t.points.unshift(H(o,i)),t.points.push(H(r,a))})}u(Kn,"assignNodeIntersects");function Zn(e){f(e.edges(),function(n){var t=e.edge(n);if(Object.prototype.hasOwnProperty.call(t,"x"))switch((t.labelpos==="l"||t.labelpos==="r")&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset;break}})}u(Zn,"fixupEdgeLabelCoords");function Qn(e){f(e.edges(),function(n){var t=e.edge(n);t.reversed&&t.points.reverse()})}u(Qn,"reversePointsForReversedEdges");function Un(e){f(e.nodes(),function(n){if(e.children(n).length){var t=e.node(n),o=e.node(t.borderTop),r=e.node(t.borderBottom),i=e.node(D(t.borderLeft)),a=e.node(D(t.borderRight));t.width=Math.abs(a.x-i.x),t.height=Math.abs(r.y-o.y),t.x=i.x+t.width/2,t.y=o.y+t.height/2}}),f(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}u(Un,"removeBorderNodes");function et(e){f(e.edges(),function(n){if(n.v===n.w){var t=e.node(n.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}u(et,"removeSelfEdges");function nt(e){var n=j(e);f(n,function(t){var o=0;f(t,function(r,i){var a=e.node(r);a.order=i+o,f(a.selfEdges,function(d){E(e,"selfedge",{width:d.label.width,height:d.label.height,rank:a.rank,order:i+ ++o,e:d.e,label:d.label},"_se")}),delete a.selfEdges})})}u(nt,"insertSelfEdges");function tt(e){f(e.nodes(),function(n){var t=e.node(n);if(t.dummy==="selfedge"){var o=e.node(t.e.v),r=o.x+o.width/2,i=o.y,a=t.x-r,d=o.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:r+2*a/3,y:i-d},{x:r+5*a/6,y:i-d},{x:r+a,y:i},{x:r+5*a/6,y:i+d},{x:r+2*a/3,y:i+d}],t.label.x=t.x,t.label.y=t.y}})}u(tt,"positionSelfEdges");function F(e,n){return z(Y(e,n),Number)}u(F,"selectNumberAttrs");function V(e){var n={};return f(e,function(t,o){n[o.toLowerCase()]=t}),n}u(V,"canonicalize");export{lt as f}; +import{m as y}from"./chunk-ZN7TASNU-CG0HzbXE.js";import{l as ie,Z as f,J as m,a as O,s as b,y as _,f as Ne,b as x,T as Ee,Q as R,O as ae,t as ot,K as de,c as T,X as I,R as q,g as rt,n as S,d as Y,D,h as it,e as at,i as z,j as dt,N as ut}from"./chunk-5ZJXQJOJ-CLUFfhem.js";import{m as u,am as X,an as st,ao as ct}from"./mermaid.esm.min-Bq5H-fqC.js";function E(e,n,t,o){var r;do r=ie(o);while(e.hasNode(r));return t.dummy=n,e.setNode(r,t),r}u(E,"addDummyNode");function Oe(e){var n=new y().setGraph(e.graph());return f(e.nodes(),function(t){n.setNode(t,e.node(t))}),f(e.edges(),function(t){var o=n.edge(t.v,t.w)||{weight:0,minlen:1},r=e.edge(t);n.setEdge(t.v,t.w,{weight:o.weight+r.weight,minlen:Math.max(o.minlen,r.minlen)})}),n}u(Oe,"simplify");function ue(e){var n=new y({multigraph:e.isMultigraph()}).setGraph(e.graph());return f(e.nodes(),function(t){e.children(t).length||n.setNode(t,e.node(t))}),f(e.edges(),function(t){n.setEdge(t,e.edge(t))}),n}u(ue,"asNonCompoundGraph");function H(e,n){var t=e.x,o=e.y,r=n.x-t,i=n.y-o,a=e.width/2,d=e.height/2;if(!r&&!i)throw new Error("Not possible to find intersection inside of the rectangle");var s,c;return Math.abs(i)*a>Math.abs(r)*d?(i<0&&(d=-d),s=d*r/i,c=d):(r<0&&(a=-a),s=a,c=a*i/r),{x:t+s,y:o+c}}u(H,"intersectRect");function j(e){var n=m(O(se(e)+1),function(){return[]});return f(e.nodes(),function(t){var o=e.node(t),r=o.rank;b(r)||(n[r][o.order]=t)}),n}u(j,"buildLayerMatrix");function Ie(e){var n=_(m(e.nodes(),function(t){return e.node(t).rank}));f(e.nodes(),function(t){var o=e.node(t);Ne(o,"rank")&&(o.rank-=n)})}u(Ie,"normalizeRanks");function Ce(e){var n=_(m(e.nodes(),function(i){return e.node(i).rank})),t=[];f(e.nodes(),function(i){var a=e.node(i).rank-n;t[a]||(t[a]=[]),t[a].push(i)});var o=0,r=e.graph().nodeRankFactor;f(t,function(i,a){b(i)&&a%r!==0?--o:o&&f(i,function(d){e.node(d).rank+=o})})}u(Ce,"removeEmptyRanks");function K(e,n,t,o){var r={width:0,height:0};return arguments.length>=4&&(r.rank=t,r.order=o),E(e,"border",r,n)}u(K,"addBorderNode");function se(e){return x(m(e.nodes(),function(n){var t=e.node(n).rank;if(!b(t))return t}))}u(se,"maxRank");function Le(e,n){var t={lhs:[],rhs:[]};return f(e,function(o){n(o)?t.lhs.push(o):t.rhs.push(o)}),t}u(Le,"partition");function _e(e,n){var t=Ee();try{return n()}finally{console.log(e+" time: "+(Ee()-t)+"ms")}}u(_e,"time");function Pe(e,n){return n()}u(Pe,"notime");function Re(e){function n(t){var o=e.children(t),r=e.node(t);if(o.length&&f(o,n),Object.prototype.hasOwnProperty.call(r,"minRank")){r.borderLeft=[],r.borderRight=[];for(var i=r.minRank,a=r.maxRank+1;i0;--d)if(a=n[d].dequeue(),a){o=o.concat(B(e,n,t,a,!0));break}}}return o}u(Fe,"doGreedyFAS");function B(e,n,t,o,r){var i=r?[]:void 0;return f(e.inEdges(o.v),function(a){var d=e.edge(a),s=e.node(a.v);r&&i.push({v:a.v,w:a.w}),s.out-=d,$(n,t,s)}),f(e.outEdges(o.v),function(a){var d=e.edge(a),s=a.w,c=e.node(s);c.in-=d,$(n,t,c)}),e.removeNode(o.v),i}u(B,"removeNode");function Ve(e,n){var t=new y,o=0,r=0;f(e.nodes(),function(d){t.setNode(d,{v:d,in:0,out:0})}),f(e.edges(),function(d){var s=t.edge(d.v,d.w)||0,c=n(d),h=s+c;t.setEdge(d.v,d.w,h),r=Math.max(r,t.node(d.v).out+=c),o=Math.max(o,t.node(d.w).in+=c)});var i=O(r+o+3).map(function(){return new ft}),a=o+1;return f(t.nodes(),function(d){$(i,a,t.node(d))}),{graph:t,buckets:i,zeroIdx:a}}u(Ve,"buildState");function $(e,n,t){t.out?t.in?e[t.out-t.in+n].enqueue(t):e[e.length-1].enqueue(t):e[0].enqueue(t)}u($,"assignBucket");function Ye(e){var n=e.graph().acyclicer==="greedy"?Be(e,t(e)):De(e);f(n,function(o){var r=e.edge(o);e.removeEdge(o),r.forwardName=o.name,r.reversed=!0,e.setEdge(o.w,o.v,r,ie("rev"))});function t(o){return function(r){return o.edge(r).weight}}u(t,"weightFn")}u(Ye,"run");function De(e){var n=[],t={},o={};function r(i){Object.prototype.hasOwnProperty.call(o,i)||(o[i]=!0,t[i]=!0,f(e.outEdges(i),function(a){Object.prototype.hasOwnProperty.call(t,a.w)?n.push(a):r(a.w)}),delete t[i])}return u(r,"dfs"),f(e.nodes(),r),n}u(De,"dfsFAS");function $e(e){f(e.edges(),function(n){var t=e.edge(n);if(t.reversed){e.removeEdge(n);var o=t.forwardName;delete t.reversed,delete t.forwardName,e.setEdge(n.w,n.v,t,o)}})}u($e,"undo");function qe(e){e.graph().dummyChains=[],f(e.edges(),function(n){ze(e,n)})}u(qe,"run");function ze(e,n){var t=n.v,o=e.node(t).rank,r=n.w,i=e.node(r).rank,a=n.name,d=e.edge(n),s=d.labelRank;if(i!==o+1){e.removeEdge(n);var c=void 0,h,g;for(g=0,++o;oa.lim&&(d=a,s=!0);var c=T(n.edges(),function(h){return s===ee(e,e.node(h.v),d)&&s!==ee(e,e.node(h.w),d)});return ae(c,function(h){return C(n,h)})}u(me,"enterEdge");function we(e,n,t,o){var r=t.v,i=t.w;e.removeEdge(r,i),e.setEdge(o.v,o.w,{}),W(e),J(e,n),Ue(e,n)}u(we,"exchangeEdges");function Ue(e,n){var t=de(e.nodes(),function(r){return!n.node(r).parent}),o=Ze(e,t);o=o.slice(1),f(o,function(r){var i=e.node(r).parent,a=n.edge(r,i),d=!1;a||(a=n.edge(i,r),d=!0),n.node(r).rank=n.node(i).rank+(d?a.minlen:-a.minlen)})}u(Ue,"updateRanks");function en(e,n,t){return e.hasEdge(n,t)}u(en,"isTreeEdge");function ee(e,n,t){return t.low<=n.lim&&n.lim<=t.lim}u(ee,"isDescendant");function nn(e){switch(e.graph().ranker){case"network-simplex":ne(e);break;case"tight-tree":tn(e);break;case"longest-path":gt(e);break;default:ne(e)}}u(nn,"rank");var gt=A;function tn(e){A(e),fe(e)}u(tn,"tightTreeRanker");function ne(e){k(e)}u(ne,"networkSimplexRanker");function on(e){var n=E(e,"root",{},"_root"),t=rn(e),o=x(I(t))-1,r=2*o+1;e.graph().nestingRoot=n,f(e.edges(),function(a){e.edge(a).minlen*=r});var i=an(e)+1;f(e.children(),function(a){be(e,n,r,i,o,t,a)}),e.graph().nodeRankFactor=r}u(on,"run");function be(e,n,t,o,r,i,a){var d=e.children(a);if(!d.length){a!==n&&e.setEdge(n,a,{weight:0,minlen:t});return}var s=K(e,"_bt"),c=K(e,"_bb"),h=e.node(a);e.setParent(s,a),h.borderTop=s,e.setParent(c,a),h.borderBottom=c,f(d,function(g){be(e,n,t,o,r,i,g);var l=e.node(g),p=l.borderTop?l.borderTop:g,v=l.borderBottom?l.borderBottom:g,w=l.borderTop?o:2*o,L=p!==v?1:r-i[a]+1;e.setEdge(s,p,{weight:w,minlen:L,nestingEdge:!0}),e.setEdge(v,c,{weight:w,minlen:L,nestingEdge:!0})}),e.parent(a)||e.setEdge(n,s,{weight:0,minlen:r+i[a]})}u(be,"dfs");function rn(e){var n={};function t(o,r){var i=e.children(o);i&&i.length&&f(i,function(a){t(a,r+1)}),n[o]=r}return u(t,"dfs"),f(e.children(),function(o){t(o,1)}),n}u(rn,"treeDepths");function an(e){return q(e.edges(),function(n,t){return n+e.edge(t).weight},0)}u(an,"sumWeights");function dn(e){var n=e.graph();e.removeNode(n.nestingRoot),delete n.nestingRoot,f(e.edges(),function(t){var o=e.edge(t);o.nestingEdge&&e.removeEdge(t)})}u(dn,"cleanup");function un(e,n,t){var o={},r;f(t,function(i){for(var a=e.parent(i),d,s;a;){if(d=e.parent(a),d?(s=o[d],o[d]=a):(s=r,r=a),s&&s!==a){n.setEdge(s,a);return}a=d}})}u(un,"addSubgraphConstraints");function sn(e,n,t){var o=cn(e),r=new y({compound:!0}).setGraph({root:o}).setDefaultNodeLabel(function(i){return e.node(i)});return f(e.nodes(),function(i){var a=e.node(i),d=e.parent(i);(a.rank===n||a.minRank<=n&&n<=a.maxRank)&&(r.setNode(i),r.setParent(i,d||o),f(e[t](i),function(s){var c=s.v===i?s.w:s.v,h=r.edge(c,i),g=b(h)?0:h.weight;r.setEdge(c,i,{weight:e.edge(s).weight+g})}),Object.prototype.hasOwnProperty.call(a,"minRank")&&r.setNode(i,{borderLeft:a.borderLeft[n],borderRight:a.borderRight[n]}))}),r}u(sn,"buildLayerGraph");function cn(e){for(var n;e.hasNode(n=ie("_root")););return n}u(cn,"createRootNode");function fn(e,n){for(var t=0,o=1;o0;)h%2&&(g+=d[h+1]),h=h-1>>1,d[h]+=c.weight;s+=c.weight*g})),s}u(hn,"twoLayerCrossCount");function gn(e){var n={},t=T(e.nodes(),function(d){return!e.children(d).length}),o=x(m(t,function(d){return e.node(d).rank})),r=m(O(o+1),function(){return[]});function i(d){if(!Ne(n,d)){n[d]=!0;var s=e.node(d);r[s.rank].push(d),f(e.successors(d),i)}}u(i,"dfs");var a=S(t,function(d){return e.node(d).rank});return f(a,i),r}u(gn,"initOrder");function ln(e,n){return m(n,function(t){var o=e.inEdges(t);if(o.length){var r=q(o,function(i,a){var d=e.edge(a),s=e.node(a.v);return{sum:i.sum+d.weight*s.order,weight:i.weight+d.weight}},{sum:0,weight:0});return{v:t,barycenter:r.sum/r.weight,weight:r.weight}}else return{v:t}})}u(ln,"barycenter");function pn(e,n){var t={};f(e,function(r,i){var a=t[r.v]={indegree:0,in:[],out:[],vs:[r.v],i};b(r.barycenter)||(a.barycenter=r.barycenter,a.weight=r.weight)}),f(n.edges(),function(r){var i=t[r.v],a=t[r.w];!b(i)&&!b(a)&&(a.indegree++,i.out.push(t[r.w]))});var o=T(t,function(r){return!r.indegree});return vn(o)}u(pn,"resolveConflicts");function vn(e){var n=[];function t(i){return function(a){a.merged||(b(a.barycenter)||b(i.barycenter)||a.barycenter>=i.barycenter)&&mn(i,a)}}u(t,"handleIn");function o(i){return function(a){a.in.push(i),--a.indegree===0&&e.push(a)}}for(u(o,"handleOut");e.length;){var r=e.pop();n.push(r),f(r.in.reverse(),t(r)),f(r.out,o(r))}return m(T(n,function(i){return!i.merged}),function(i){return Y(i,["vs","i","barycenter","weight"])})}u(vn,"doResolveConflicts");function mn(e,n){var t=0,o=0;e.weight&&(t+=e.barycenter*e.weight,o+=e.weight),n.weight&&(t+=n.barycenter*n.weight,o+=n.weight),e.vs=n.vs.concat(e.vs),e.barycenter=t/o,e.weight=o,e.i=Math.min(n.i,e.i),n.merged=!0}u(mn,"mergeEntries");function wn(e,n){var t=Le(e,function(h){return Object.prototype.hasOwnProperty.call(h,"barycenter")}),o=t.lhs,r=S(t.rhs,function(h){return-h.i}),i=[],a=0,d=0,s=0;o.sort(bn(!!n)),s=te(i,r,s),f(o,function(h){s+=h.vs.length,i.push(h.vs),a+=h.barycenter*h.weight,d+=h.weight,s=te(i,r,s)});var c={vs:R(i)};return d&&(c.barycenter=a/d,c.weight=d),c}u(wn,"sort");function te(e,n,t){for(var o;n.length&&(o=D(n)).i<=t;)n.pop(),e.push(o.vs),t++;return t}u(te,"consumeUnsortable");function bn(e){return function(n,t){return n.barycentert.barycenter?1:e?t.i-n.i:n.i-t.i}}u(bn,"compareWithBias");function ye(e,n,t,o){var r=e.children(n),i=e.node(n),a=i?i.borderLeft:void 0,d=i?i.borderRight:void 0,s={};a&&(r=T(r,function(v){return v!==a&&v!==d}));var c=ln(e,r);f(c,function(v){if(e.children(v.v).length){var w=ye(e,v.v,t,o);s[v.v]=w,Object.prototype.hasOwnProperty.call(w,"barycenter")&&kn(v,w)}});var h=pn(c,t);yn(h,s);var g=wn(h,o);if(a&&(g.vs=R([a,g.vs,d]),e.predecessors(a).length)){var l=e.node(e.predecessors(a)[0]),p=e.node(e.predecessors(d)[0]);Object.prototype.hasOwnProperty.call(g,"barycenter")||(g.barycenter=0,g.weight=0),g.barycenter=(g.barycenter*g.weight+l.order+p.order)/(g.weight+2),g.weight+=2}return g}u(ye,"sortSubgraph");function yn(e,n){f(e,function(t){t.vs=R(t.vs.map(function(o){return n[o]?n[o].vs:o}))})}u(yn,"expandSubgraphs");function kn(e,n){b(e.barycenter)?(e.barycenter=n.barycenter,e.weight=n.weight):(e.barycenter=(e.barycenter*e.weight+n.barycenter*n.weight)/(e.weight+n.weight),e.weight+=n.weight)}u(kn,"mergeBarycenters");function xn(e){var n=se(e),t=oe(e,O(1,n+1),"inEdges"),o=oe(e,O(n-1,-1,-1),"outEdges"),r=gn(e);re(e,r);for(var i=Number.POSITIVE_INFINITY,a,d=0,s=0;s<4;++d,++s){En(d%2?t:o,d%4>=2),r=j(e);var c=fn(e,r);ca||d>n[s].lim));for(c=s,s=o;(s=e.parent(s))!==c;)i.push(s);return{path:r.concat(i.reverse()),lca:c}}u(On,"findPath");function In(e){var n={},t=0;function o(r){var i=t;f(e.children(r),o),n[r]={low:i,lim:t++}}return u(o,"dfs"),f(e.children(),o),n}u(In,"postorder");function Cn(e,n){var t={};function o(r,i){var a=0,d=0,s=r.length,c=D(i);return f(i,function(h,g){var l=_n(e,h),p=l?e.node(l).order:s;(l||h===c)&&(f(i.slice(d,g+1),function(v){f(e.predecessors(v),function(w){var L=e.node(w),xe=L.order;(xec)&&ke(t,l,h)})})}u(o,"scan");function r(i,a){var d=-1,s,c=0;return f(a,function(h,g){if(e.node(h).dummy==="border"){var l=e.predecessors(h);l.length&&(s=e.node(l[0]).order,o(a,c,g,d,s),c=g,d=s)}o(a,c,a.length,s,i.length)}),a}return u(r,"visitLayer"),q(n,r),t}u(Ln,"findType2Conflicts");function _n(e,n){if(e.node(n).dummy)return de(e.predecessors(n),function(t){return e.node(t).dummy})}u(_n,"findOtherInnerSegmentNode");function ke(e,n,t){if(n>t){var o=n;n=t,t=o}var r=e[n];r||(e[n]=r={}),r[t]=!0}u(ke,"addConflict");function Pn(e,n,t){if(n>t){var o=n;n=t,t=o}return!!e[n]&&Object.prototype.hasOwnProperty.call(e[n],t)}u(Pn,"hasConflict");function Rn(e,n,t,o){var r={},i={},a={};return f(n,function(d){f(d,function(s,c){r[s]=s,i[s]=s,a[s]=c})}),f(n,function(d){var s=-1;f(d,function(c){var h=o(c);if(h.length){h=S(h,function(w){return a[w]});for(var g=(h.length-1)/2,l=Math.floor(g),p=Math.ceil(g);l<=p;++l){var v=h[l];i[c]===c&&s{var o=t(" buildLayoutGraph",()=>zn(e));t(" runLayout",()=>$n(o,t)),t(" updateInputGraph",()=>qn(e,o))})}u(lt,"layout");function $n(e,n){n(" makeSpaceForEdgeLabels",()=>An(e)),n(" removeSelfEdges",()=>et(e)),n(" acyclic",()=>Ye(e)),n(" nestingGraph.run",()=>on(e)),n(" rank",()=>nn(ue(e))),n(" injectEdgeLabelProxies",()=>Jn(e)),n(" removeEmptyRanks",()=>Ce(e)),n(" nestingGraph.cleanup",()=>dn(e)),n(" normalizeRanks",()=>Ie(e)),n(" assignRankMinMax",()=>Wn(e)),n(" removeEdgeLabelProxies",()=>Xn(e)),n(" normalize.run",()=>qe(e)),n(" parentDummyChains",()=>Nn(e)),n(" addBorderSegments",()=>Re(e)),n(" order",()=>xn(e)),n(" insertSelfEdges",()=>nt(e)),n(" adjustCoordinateSystem",()=>Te(e)),n(" position",()=>Yn(e)),n(" positionSelfEdges",()=>tt(e)),n(" removeBorderNodes",()=>Un(e)),n(" normalize.undo",()=>Ae(e)),n(" fixupEdgeLabelCoords",()=>Zn(e)),n(" undoCoordinateSystem",()=>Se(e)),n(" translateGraph",()=>Hn(e)),n(" assignNodeIntersects",()=>Kn(e)),n(" reversePoints",()=>Qn(e)),n(" acyclic.undo",()=>$e(e))}u($n,"runLayout");function qn(e,n){f(e.nodes(),function(t){var o=e.node(t),r=n.node(t);o&&(o.x=r.x,o.y=r.y,n.children(t).length&&(o.width=r.width,o.height=r.height))}),f(e.edges(),function(t){var o=e.edge(t),r=n.edge(t);o.points=r.points,Object.prototype.hasOwnProperty.call(r,"x")&&(o.x=r.x,o.y=r.y)}),e.graph().width=n.graph().width,e.graph().height=n.graph().height}u(qn,"updateInputGraph");var pt=["nodesep","edgesep","ranksep","marginx","marginy"],vt={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},mt=["acyclicer","ranker","rankdir","align"],wt=["width","height"],bt={width:0,height:0},yt=["minlen","weight","width","height","labeloffset"],kt={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},xt=["labelpos"];function zn(e){var n=new y({multigraph:!0,compound:!0}),t=V(e.graph());return n.setGraph(X({},vt,F(t,pt),Y(t,mt))),f(e.nodes(),function(o){var r=V(e.node(o));n.setNode(o,ut(F(r,wt),bt)),n.setParent(o,e.parent(o))}),f(e.edges(),function(o){var r=V(e.edge(o));n.setEdge(o,X({},kt,F(r,yt),Y(r,xt)))}),n}u(zn,"buildLayoutGraph");function An(e){var n=e.graph();n.ranksep/=2,f(e.edges(),function(t){var o=e.edge(t);o.minlen*=2,o.labelpos.toLowerCase()!=="c"&&(n.rankdir==="TB"||n.rankdir==="BT"?o.width+=o.labeloffset:o.height+=o.labeloffset)})}u(An,"makeSpaceForEdgeLabels");function Jn(e){f(e.edges(),function(n){var t=e.edge(n);if(t.width&&t.height){var o=e.node(n.v),r=e.node(n.w),i={rank:(r.rank-o.rank)/2+o.rank,e:n};E(e,"edge-proxy",i,"_ep")}})}u(Jn,"injectEdgeLabelProxies");function Wn(e){var n=0;f(e.nodes(),function(t){var o=e.node(t);o.borderTop&&(o.minRank=e.node(o.borderTop).rank,o.maxRank=e.node(o.borderBottom).rank,n=x(n,o.maxRank))}),e.graph().maxRank=n}u(Wn,"assignRankMinMax");function Xn(e){f(e.nodes(),function(n){var t=e.node(n);t.dummy==="edge-proxy"&&(e.edge(t.e).labelRank=t.rank,e.removeNode(n))})}u(Xn,"removeEdgeLabelProxies");function Hn(e){var n=Number.POSITIVE_INFINITY,t=0,o=Number.POSITIVE_INFINITY,r=0,i=e.graph(),a=i.marginx||0,d=i.marginy||0;function s(c){var h=c.x,g=c.y,l=c.width,p=c.height;n=Math.min(n,h-l/2),t=Math.max(t,h+l/2),o=Math.min(o,g-p/2),r=Math.max(r,g+p/2)}u(s,"getExtremes"),f(e.nodes(),function(c){s(e.node(c))}),f(e.edges(),function(c){var h=e.edge(c);Object.prototype.hasOwnProperty.call(h,"x")&&s(h)}),n-=a,o-=d,f(e.nodes(),function(c){var h=e.node(c);h.x-=n,h.y-=o}),f(e.edges(),function(c){var h=e.edge(c);f(h.points,function(g){g.x-=n,g.y-=o}),Object.prototype.hasOwnProperty.call(h,"x")&&(h.x-=n),Object.prototype.hasOwnProperty.call(h,"y")&&(h.y-=o)}),i.width=t-n+a,i.height=r-o+d}u(Hn,"translateGraph");function Kn(e){f(e.edges(),function(n){var t=e.edge(n),o=e.node(n.v),r=e.node(n.w),i,a;t.points?(i=t.points[0],a=t.points[t.points.length-1]):(t.points=[],i=r,a=o),t.points.unshift(H(o,i)),t.points.push(H(r,a))})}u(Kn,"assignNodeIntersects");function Zn(e){f(e.edges(),function(n){var t=e.edge(n);if(Object.prototype.hasOwnProperty.call(t,"x"))switch((t.labelpos==="l"||t.labelpos==="r")&&(t.width-=t.labeloffset),t.labelpos){case"l":t.x-=t.width/2+t.labeloffset;break;case"r":t.x+=t.width/2+t.labeloffset;break}})}u(Zn,"fixupEdgeLabelCoords");function Qn(e){f(e.edges(),function(n){var t=e.edge(n);t.reversed&&t.points.reverse()})}u(Qn,"reversePointsForReversedEdges");function Un(e){f(e.nodes(),function(n){if(e.children(n).length){var t=e.node(n),o=e.node(t.borderTop),r=e.node(t.borderBottom),i=e.node(D(t.borderLeft)),a=e.node(D(t.borderRight));t.width=Math.abs(a.x-i.x),t.height=Math.abs(r.y-o.y),t.x=i.x+t.width/2,t.y=o.y+t.height/2}}),f(e.nodes(),function(n){e.node(n).dummy==="border"&&e.removeNode(n)})}u(Un,"removeBorderNodes");function et(e){f(e.edges(),function(n){if(n.v===n.w){var t=e.node(n.v);t.selfEdges||(t.selfEdges=[]),t.selfEdges.push({e:n,label:e.edge(n)}),e.removeEdge(n)}})}u(et,"removeSelfEdges");function nt(e){var n=j(e);f(n,function(t){var o=0;f(t,function(r,i){var a=e.node(r);a.order=i+o,f(a.selfEdges,function(d){E(e,"selfedge",{width:d.label.width,height:d.label.height,rank:a.rank,order:i+ ++o,e:d.e,label:d.label},"_se")}),delete a.selfEdges})})}u(nt,"insertSelfEdges");function tt(e){f(e.nodes(),function(n){var t=e.node(n);if(t.dummy==="selfedge"){var o=e.node(t.e.v),r=o.x+o.width/2,i=o.y,a=t.x-r,d=o.height/2;e.setEdge(t.e,t.label),e.removeNode(n),t.label.points=[{x:r+2*a/3,y:i-d},{x:r+5*a/6,y:i-d},{x:r+a,y:i},{x:r+5*a/6,y:i+d},{x:r+2*a/3,y:i+d}],t.label.x=t.x,t.label.y=t.y}})}u(tt,"positionSelfEdges");function F(e,n){return z(Y(e,n),Number)}u(F,"selectNumberAttrs");function V(e){var n={};return f(e,function(t,o){n[o.toLowerCase()]=t}),n}u(V,"canonicalize");export{lt as f}; diff --git a/assets/chunk-PWCSEZZ4-BDfDPSKS.js b/assets/chunk-PWCSEZZ4-BMVq3ufo.js similarity index 99% rename from assets/chunk-PWCSEZZ4-BDfDPSKS.js rename to assets/chunk-PWCSEZZ4-BMVq3ufo.js index 365793a6..5f1e4ff3 100644 --- a/assets/chunk-PWCSEZZ4-BDfDPSKS.js +++ b/assets/chunk-PWCSEZZ4-BMVq3ufo.js @@ -1,4 +1,4 @@ -import{m as u}from"./mermaid.esm.min-DnxZBvzk.js";function Ve(e){"@babel/helpers - typeof";return Ve=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ve(e)}u(Ve,"_typeof");function va(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}u(va,"_classCallCheck");function Ga(e,t){for(var n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},"n"),e:u(function(l){throw l},"e"),f:a}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o=!0,i=!1,c;return{s:u(function(){n=n.call(e)},"s"),n:u(function(){var l=n.next();return o=l.done,l},"n"),e:u(function(l){i=!0,c=l},"e"),f:u(function(){try{!o&&n.return!=null&&n.return()}finally{if(i)throw c}},"f")}}u(ki,"_createForOfIteratorHelper");var Ye=typeof window>"u"?null:window,lo=Ye?Ye.navigator:null;Ye&&Ye.document;var Qu=Ve(""),gs=Ve({}),Ju=Ve(function(){}),ec=typeof HTMLElement>"u"?"undefined":Ve(HTMLElement),xr=u(function(e){return e&&e.instanceString&&ze(e.instanceString)?e.instanceString():null},"instanceStr"),pe=u(function(e){return e!=null&&Ve(e)==Qu},"string"),ze=u(function(e){return e!=null&&Ve(e)===Ju},"fn"),Me=u(function(e){return!gt(e)&&(Array.isArray?Array.isArray(e):e!=null&&e instanceof Array)},"array"),Ce=u(function(e){return e!=null&&Ve(e)===gs&&!Me(e)&&e.constructor===Object},"plainObject"),tc=u(function(e){return e!=null&&Ve(e)===gs},"object"),re=u(function(e){return e!=null&&Ve(e)===Ve(1)&&!isNaN(e)},"number"),nc=u(function(e){return re(e)&&Math.floor(e)===e},"integer"),ia=u(function(e){if(ec!=="undefined")return e!=null&&e instanceof HTMLElement},"htmlElement"),gt=u(function(e){return wr(e)||vs(e)},"elementOrCollection"),wr=u(function(e){return xr(e)==="collection"&&e._private.single},"element"),vs=u(function(e){return xr(e)==="collection"&&!e._private.single},"collection"),Ci=u(function(e){return xr(e)==="core"},"core"),ys=u(function(e){return xr(e)==="stylesheet"},"stylesheet"),rc=u(function(e){return xr(e)==="event"},"event"),$t=u(function(e){return e==null?!0:!!(e===""||e.match(/^\s+$/))},"emptyString"),ac=u(function(e){return typeof HTMLElement>"u"?!1:e instanceof HTMLElement},"domElement"),ic=u(function(e){return Ce(e)&&re(e.x1)&&re(e.x2)&&re(e.y1)&&re(e.y2)},"boundingBox"),oc=u(function(e){return tc(e)&&ze(e.then)},"promise"),sc=u(function(){return lo&&lo.userAgent.match(/msie|trident|edge/i)},"ms"),ur=u(function(e,t){t||(t=u(function(){if(arguments.length===1)return arguments[0];if(arguments.length===0)return"undefined";for(var r=[],a=0;at?1:0},"ascending"),fc=u(function(e,t){return-1*bs(e,t)},"descending"),ve=Object.assign!=null?Object.assign.bind(Object):function(e){for(var t=arguments,n=1;n1&&(y-=1),y<1/6?f+(g-f)*6*y:y<1/2?g:y<2/3?f+(g-f)*(2/3-y)*6:f}u(s,"hue2rgb");var d=new RegExp("^"+cc+"$").exec(e);if(d){if(n=parseInt(d[1]),n<0?n=(360- -1*n%360)%360:n>360&&(n=n%360),n/=360,r=parseFloat(d[2]),r<0||r>100||(r=r/100,a=parseFloat(d[3]),a<0||a>100)||(a=a/100,o=d[4],o!==void 0&&(o=parseFloat(o),o<0||o>1)))return;if(r===0)i=c=l=Math.round(a*255);else{var h=a<.5?a*(1+r):a+r-a*r,p=2*a-h;i=Math.round(255*s(p,h,n+1/3)),c=Math.round(255*s(p,h,n)),l=Math.round(255*s(p,h,n-1/3))}t=[i,c,l,o]}return t},"hsl2tuple"),yc=u(function(e){var t,n=new RegExp("^"+lc+"$").exec(e);if(n){t=[];for(var r=[],a=1;a<=3;a++){var o=n[a];if(o[o.length-1]==="%"&&(r[a]=!0),o=parseFloat(o),r[a]&&(o=o/100*255),o<0||o>255)return;t.push(Math.floor(o))}var i=r[1]||r[2]||r[3],c=r[1]&&r[2]&&r[3];if(i&&!c)return;var l=n[4];if(l!==void 0){if(l=parseFloat(l),l<0||l>1)return;t.push(l)}}return t},"rgb2tuple"),mc=u(function(e){return xc[e.toLowerCase()]},"colorname2tuple"),bc=u(function(e){return(Me(e)?e:null)||mc(e)||gc(e)||yc(e)||vc(e)},"color2tuple"),xc={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},xs=u(function(e){for(var t=e.map,n=e.keys,r=n.length,a=0;a=t||w<0||h&&S>=o}u(b,"shouldInvoke");function v(){var C=Ra();if(b(C))return m(C);c=setTimeout(v,y(C))}u(v,"timerExpired");function m(C){return c=void 0,p&&r?f(C):(r=a=void 0,i)}u(m,"trailingEdge");function x(){c!==void 0&&clearTimeout(c),s=0,r=l=a=c=void 0}u(x,"cancel");function E(){return c===void 0?i:m(Ra())}u(E,"flush");function P(){var C=Ra(),w=b(C);if(r=arguments,a=this,l=C,w){if(c===void 0)return g(l);if(h)return clearTimeout(c),c=setTimeout(v,t),f(l)}return c===void 0&&(c=setTimeout(v,t)),i}return u(P,"debounced"),P.cancel=x,P.flush=E,P}u(Ns,"debounce");var xa=Ns,Fa=Ye?Ye.performance:null,Os=Fa&&Fa.now?function(){return Fa.now()}:function(){return Date.now()},Gc=function(){if(Ye){if(Ye.requestAnimationFrame)return function(e){Ye.requestAnimationFrame(e)};if(Ye.mozRequestAnimationFrame)return function(e){Ye.mozRequestAnimationFrame(e)};if(Ye.webkitRequestAnimationFrame)return function(e){Ye.webkitRequestAnimationFrame(e)};if(Ye.msRequestAnimationFrame)return function(e){Ye.msRequestAnimationFrame(e)}}return function(e){e&&setTimeout(function(){e(Os())},1e3/60)}}(),oa=u(function(e){return Gc(e)},"requestAnimationFrame"),Vt=Os,Mn=9261,Ls=65599,nr=5381,zs=u(function(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mn,n=t,r;r=e.next(),!r.done;)n=n*Ls+r.value|0;return n},"hashIterableInts"),cr=u(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Mn;return t*Ls+e|0},"hashInt"),dr=u(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:nr;return(t<<5)+t+e|0},"hashIntAlt"),Kc=u(function(e,t){return e*2097152+t},"combineHashes"),Ht=u(function(e){return e[0]*2097152+e[1]},"combineHashesArray"),Lr=u(function(e,t){return[cr(e[0],t[0]),dr(e[1],t[1])]},"hashArrays"),Zc=u(function(e,t){var n={value:0,done:!1},r=0,a=e.length,o={next:u(function(){return r=0&&!(e[r]===t&&(e.splice(r,1),n));r--);},"removeFromArray"),_i=u(function(e){e.splice(0,e.length)},"clearArray"),rd=u(function(e,t){for(var n=0;n"u"?"undefined":Ve(Set))!==id?Set:od,wa=u(function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(e===void 0||t===void 0||!Ci(e)){Re("An element must have a core reference and parameters set");return}var r=t.group;if(r==null&&(t.data&&t.data.source!=null&&t.data.target!=null?r="edges":r="nodes"),r!=="nodes"&&r!=="edges"){Re("An element must be of type `nodes` or `edges`; you specified `"+r+"`");return}this.length=1,this[0]=this;var a=this._private={cy:e,single:!0,data:t.data||{},position:t.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:r,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!t.selected,selectable:t.selectable===void 0?!0:!!t.selectable,locked:!!t.locked,grabbed:!1,grabbable:t.grabbable===void 0?!0:!!t.grabbable,pannable:t.pannable===void 0?r==="edges":!!t.pannable,active:!1,classes:new Yn,animation:{current:[],queue:[]},rscratch:{},scratch:t.scratch||{},edges:[],children:[],parent:t.parent&&t.parent.isNode()?t.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(a.position.x==null&&(a.position.x=0),a.position.y==null&&(a.position.y=0),t.renderedPosition){var o=t.renderedPosition,i=e.pan(),c=e.zoom();a.position={x:(o.x-i.x)/c,y:(o.y-i.y)/c}}var l=[];Me(t.classes)?l=t.classes:pe(t.classes)&&(l=t.classes.split(/\s+/));for(var s=0,d=l.length;sm?1:0},"defaultCmp"),d=u(function(v,m,x,E,P){var C;if(x==null&&(x=0),P==null&&(P=r),x<0)throw new Error("lo must be non-negative");for(E==null&&(E=v.length);xD;0<=D?I++:I--)S.push(I);return S}).apply(this).reverse(),w=[],E=0,P=C.length;EB;0<=B?++S:--S)T.push(i(v,x));return T},"nsmallest"),y=u(function(v,m,x,E){var P,C,w;for(E==null&&(E=r),P=v[x];x>m;){if(w=x-1>>1,C=v[w],E(P,C)<0){v[x]=C,x=w;continue}break}return v[x]=P},"_siftdown"),b=u(function(v,m,x){var E,P,C,w,S;for(x==null&&(x=r),P=v.length,S=m,C=v[m],E=2*m+1;E0;){var P=v.pop(),C=y(P),w=P.id();if(h[w]=C,C!==1/0)for(var S=P.neighborhood().intersect(f),I=0;I0)for(L.unshift(O);d[A];){var R=d[A];L.unshift(R.edge),L.unshift(R.node),z=R.node,A=z.id()}return i.spawn(L)},"pathTo")}},"dijkstra")},cd={kruskal:u(function(e){e=e||function(m){return 1};for(var t=this.byGroup(),n=t.nodes,r=t.edges,a=n.length,o=new Array(a),i=n,c=u(function(m){for(var x=0;x0;){if(E(),C++,x===s){for(var w=[],S=a,I=s,D=b[I];w.unshift(S),D!=null&&w.unshift(D),S=y[I],S!=null;)I=S.id(),D=b[I];return{found:!0,distance:d[x],path:this.spawn(w),steps:C}}p[x]=!0;for(var B=m._private.edges,T=0;TD&&(f[I]=D,v[I]=S,m[I]=E),!a){var B=S*s+w;!a&&f[B]>D&&(f[B]=D,v[B]=w,m[B]=E)}}}for(var T=0;T1&&arguments[1]!==void 0?arguments[1]:o,ye=m(ie),xe=[],we=ye;;){if(we==null)return t.spawn();var Be=v(we),Ee=Be.edge,Se=Be.pred;if(xe.unshift(we[0]),we.same(he)&&xe.length>0)break;Ee!=null&&xe.unshift(Ee),we=Se}return c.spawn(xe)},"pathTo"),P=0;P=0;s--){var d=l[s],h=d[1],p=d[2];(t[h]===i&&t[p]===c||t[h]===c&&t[p]===i)&&l.splice(s,1)}for(var f=0;fr;){var a=Math.floor(Math.random()*t.length);t=md(a,e,t),n--}return t},"contractUntil"),bd={kargerStein:u(function(){var e=this,t=this.byGroup(),n=t.nodes,r=t.edges;r.unmergeBy(function(z){return z.isLoop()});var a=n.length,o=r.length,i=Math.ceil(Math.pow(Math.log(a)/Math.LN2,2)),c=Math.floor(a/yd);if(a<2){Re("At least 2 nodes are required for Karger-Stein algorithm");return}for(var l=[],s=0;s1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,r=1/0,a=t;a1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,r=-1/0,a=t;a1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,r=0,a=0,o=t;o1&&arguments[1]!==void 0?arguments[1]:0,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:e.length,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!0;r?e=e.slice(t,n):(n0&&e.splice(0,t));for(var i=0,c=e.length-1;c>=0;c--){var l=e[c];o?isFinite(l)||(e[c]=-1/0,i++):e.splice(c,1)}a&&e.sort(function(h,p){return h-p});var s=e.length,d=Math.floor(s/2);return s%2!==0?e[d+1+i]:(e[d-1+i]+e[d+i])/2},"median"),Sd=u(function(e){return Math.PI*e/180},"deg2rad"),zr=u(function(e,t){return Math.atan2(t,e)-Math.PI/2},"getAngleFromDisp"),Di=Math.log2||function(e){return Math.log(e)/Math.log(2)},Ys=u(function(e){return e>0?1:e<0?-1:0},"signum"),vn=u(function(e,t){return Math.sqrt(sn(e,t))},"dist"),sn=u(function(e,t){var n=t.x-e.x,r=t.y-e.y;return n*n+r*r},"sqdist"),Pd=u(function(e){for(var t=e.length,n=0,r=0;r=e.x1&&e.y2>=e.y1)return{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,w:e.x2-e.x1,h:e.y2-e.y1};if(e.w!=null&&e.h!=null&&e.w>=0&&e.h>=0)return{x1:e.x1,y1:e.y1,x2:e.x1+e.w,y2:e.y1+e.h,w:e.w,h:e.h}}},"makeBoundingBox"),_d=u(function(e){return{x1:e.x1,x2:e.x2,w:e.w,y1:e.y1,y2:e.y2,h:e.h}},"copyBoundingBox"),Dd=u(function(e){e.x1=1/0,e.y1=1/0,e.x2=-1/0,e.y2=-1/0,e.w=0,e.h=0},"clearBoundingBox"),Bd=u(function(e,t,n){return{x1:e.x1+t,x2:e.x2+t,y1:e.y1+n,y2:e.y2+n,w:e.w,h:e.h}},"shiftBoundingBox"),Hs=u(function(e,t){e.x1=Math.min(e.x1,t.x1),e.x2=Math.max(e.x2,t.x2),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,t.y1),e.y2=Math.max(e.y2,t.y2),e.h=e.y2-e.y1},"updateBoundingBox"),Id=u(function(e,t,n){e.x1=Math.min(e.x1,t),e.x2=Math.max(e.x2,t),e.w=e.x2-e.x1,e.y1=Math.min(e.y1,n),e.y2=Math.max(e.y2,n),e.h=e.y2-e.y1},"expandBoundingBoxByPoint"),Ur=u(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return e.x1-=t,e.x2+=t,e.y1-=t,e.y2+=t,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},"expandBoundingBox"),Gr=u(function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0],n,r,a,o;if(t.length===1)n=r=a=o=t[0];else if(t.length===2)n=a=t[0],o=r=t[1];else if(t.length===4){var i=mt(t,4);n=i[0],r=i[1],a=i[2],o=i[3]}return e.x1-=o,e.x2+=r,e.y1-=n,e.y2+=a,e.w=e.x2-e.x1,e.h=e.y2-e.y1,e},"expandBoundingBoxSides"),yo=u(function(e,t){e.x1=t.x1,e.y1=t.y1,e.x2=t.x2,e.y2=t.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1},"assignBoundingBox"),Bi=u(function(e,t){return!(e.x1>t.x2||t.x1>e.x2||e.x2t.y2||t.y1>e.y2)},"boundingBoxesIntersect"),Vn=u(function(e,t,n){return e.x1<=t&&t<=e.x2&&e.y1<=n&&n<=e.y2},"inBoundingBox"),Md=u(function(e,t){return Vn(e,t.x,t.y)},"pointInBoundingBox"),Ws=u(function(e,t){return Vn(e,t.x1,t.y1)&&Vn(e,t.x2,t.y2)},"boundingBoxInBoundingBox"),Us=u(function(e,t,n,r,a,o,i){var c=arguments.length>7&&arguments[7]!==void 0?arguments[7]:"auto",l=c==="auto"?yn(a,o):c,s=a/2,d=o/2;l=Math.min(l,s,d);var h=l!==s,p=l!==d,f;if(h){var g=n-s+l-i,y=r-d-i,b=n+s-l+i,v=y;if(f=Gt(e,t,n,r,g,y,b,v,!1),f.length>0)return f}if(p){var m=n+s+i,x=r-d+l-i,E=m,P=r+d-l+i;if(f=Gt(e,t,n,r,m,x,E,P,!1),f.length>0)return f}if(h){var C=n-s+l-i,w=r+d+i,S=n+s-l+i,I=w;if(f=Gt(e,t,n,r,C,w,S,I,!1),f.length>0)return f}if(p){var D=n-s-i,B=r-d+l-i,T=D,M=r+d-l+i;if(f=Gt(e,t,n,r,D,B,T,M,!1),f.length>0)return f}var _;{var O=n-s+l,L=r-d+l;if(_=rr(e,t,n,r,O,L,l+i),_.length>0&&_[0]<=O&&_[1]<=L)return[_[0],_[1]]}{var z=n+s-l,A=r-d+l;if(_=rr(e,t,n,r,z,A,l+i),_.length>0&&_[0]>=z&&_[1]<=A)return[_[0],_[1]]}{var R=n+s-l,Y=r+d-l;if(_=rr(e,t,n,r,R,Y,l+i),_.length>0&&_[0]>=R&&_[1]>=Y)return[_[0],_[1]]}{var V=n-s+l,j=r+d-l;if(_=rr(e,t,n,r,V,j,l+i),_.length>0&&_[0]<=V&&_[1]>=j)return[_[0],_[1]]}return[]},"roundRectangleIntersectLine"),Ad=u(function(e,t,n,r,a,o,i){var c=i,l=Math.min(n,a),s=Math.max(n,a),d=Math.min(r,o),h=Math.max(r,o);return l-c<=e&&e<=s+c&&d-c<=t&&t<=h+c},"inLineVicinity"),Nd=u(function(e,t,n,r,a,o,i,c,l){var s={x1:Math.min(n,i,a)-l,x2:Math.max(n,i,a)+l,y1:Math.min(r,c,o)-l,y2:Math.max(r,c,o)+l};return!(es.x2||ts.y2)},"inBezierVicinity"),Od=u(function(e,t,n,r){n-=r;var a=t*t-4*e*n;if(a<0)return[];var o=Math.sqrt(a),i=2*e,c=(-t+o)/i,l=(-t-o)/i;return[c,l]},"solveQuadratic"),Ld=u(function(e,t,n,r,a){var o=1e-5;e===0&&(e=o),t/=e,n/=e,r/=e;var i,c,l,s,d,h,p,f;if(c=(3*n-t*t)/9,l=-(27*r)+t*(9*n-2*(t*t)),l/=54,i=c*c*c+l*l,a[1]=0,p=t/3,i>0){d=l+Math.sqrt(i),d=d<0?-Math.pow(-d,1/3):Math.pow(d,1/3),h=l-Math.sqrt(i),h=h<0?-Math.pow(-h,1/3):Math.pow(h,1/3),a[0]=-p+d+h,p+=(d+h)/2,a[4]=a[2]=-p,p=Math.sqrt(3)*(-h+d)/2,a[3]=p,a[5]=-p;return}if(a[5]=a[3]=0,i===0){f=l<0?-Math.pow(-l,1/3):Math.pow(l,1/3),a[0]=-p+2*f,a[4]=a[2]=-(f+p);return}c=-c,s=c*c*c,s=Math.acos(l/Math.sqrt(s)),f=2*Math.sqrt(c),a[0]=-p+f*Math.cos(s/3),a[2]=-p+f*Math.cos((s+2*Math.PI)/3),a[4]=-p+f*Math.cos((s+4*Math.PI)/3)},"solveCubic"),zd=u(function(e,t,n,r,a,o,i,c){var l=1*n*n-4*n*a+2*n*i+4*a*a-4*a*i+i*i+r*r-4*r*o+2*r*c+4*o*o-4*o*c+c*c,s=1*9*n*a-3*n*n-3*n*i-6*a*a+3*a*i+9*r*o-3*r*r-3*r*c-6*o*o+3*o*c,d=1*3*n*n-6*n*a+n*i-n*e+2*a*a+2*a*e-i*e+3*r*r-6*r*o+r*c-r*t+2*o*o+2*o*t-c*t,h=1*n*a-n*n+n*e-a*e+r*o-r*r+r*t-o*t,p=[];Ld(l,s,d,h,p);for(var f=1e-7,g=[],y=0;y<6;y+=2)Math.abs(p[y+1])=0&&p[y]<=1&&g.push(p[y]);g.push(1),g.push(0);for(var b=-1,v,m,x,E=0;E=0?xl?(e-a)*(e-a)+(t-o)*(t-o):s-h},"sqdistToFiniteLine"),ht=u(function(e,t,n){for(var r,a,o,i,c,l=0,s=0;s=e&&e>=o||r<=e&&e<=o)c=(e-r)/(o-r)*(i-a)+a,c>t&&l++;else continue;return l%2!==0},"pointInsidePolygonPoints"),jt=u(function(e,t,n,r,a,o,i,c,l){var s=new Array(n.length),d;c[0]!=null?(d=Math.atan(c[1]/c[0]),c[0]<0?d=d+Math.PI/2:d=-d-Math.PI/2):d=c;for(var h=Math.cos(-d),p=Math.sin(-d),f=0;f0){var y=ua(s,-l);g=la(y)}else g=s;return ht(e,t,g)},"pointInsidePolygon"),Fd=u(function(e,t,n,r,a,o,i,c){for(var l=new Array(n.length*2),s=0;s=0&&y<=1&&v.push(y),b>=0&&b<=1&&v.push(b),v.length===0)return[];var m=v[0]*c[0]+e,x=v[0]*c[1]+t;if(v.length>1){if(v[0]==v[1])return[m,x];var E=v[1]*c[0]+e,P=v[1]*c[1]+t;return[m,x,E,P]}else return[m,x]},"intersectLineCircle"),ja=u(function(e,t,n){return t<=e&&e<=n||n<=e&&e<=t?e:e<=t&&t<=n||n<=t&&t<=e?t:n},"midOfThree"),Gt=u(function(e,t,n,r,a,o,i,c,l){var s=e-a,d=n-e,h=i-a,p=t-o,f=r-t,g=c-o,y=h*p-g*s,b=d*p-f*s,v=g*d-h*f;if(v!==0){var m=y/v,x=b/v,E=.001,P=0-E,C=1+E;return P<=m&&m<=C&&P<=x&&x<=C?[e+m*d,t+m*f]:l?[e+m*d,t+m*f]:[]}else return y===0||b===0?ja(e,n,i)===i?[i,c]:ja(e,n,a)===a?[a,o]:ja(a,i,n)===n?[n,r]:[]:[]},"finiteLinesIntersect"),fr=u(function(e,t,n,r,a,o,i,c){var l=[],s,d=new Array(n.length),h=!0;o==null&&(h=!1);var p;if(h){for(var f=0;f0){var g=ua(d,-c);p=la(g)}else p=d}else p=n;for(var y,b,v,m,x=0;x2){for(var f=[s[0],s[1]],g=Math.pow(f[0]-e,2)+Math.pow(f[1]-t,2),y=1;ys&&(s=m)},"set"),get:u(function(v){return l[v]},"get")},h=0;h0?_=M.edgesTo(T)[0]:_=T.edgesTo(M)[0];var O=r(_);T=T.id(),C[T]>C[D]+O&&(C[T]=C[D]+O,w.nodes.indexOf(T)<0?w.push(T):w.updateItem(T),P[T]=0,E[T]=[]),C[T]==C[D]+O&&(P[T]=P[T]+P[D],E[T].push(D))}else for(var L=0;L0;){for(var Y=x.pop(),V=0;V0&&i.push(n[c]);i.length!==0&&a.push(r.collection(i))}return a},"assign"),th=u(function(e,t){for(var n=0;n5&&arguments[5]!==void 0?arguments[5]:ah,i=r,c,l,s=0;s=2?Jn(e,t,n,0,Eo,ih):Jn(e,t,n,0,wo)},"euclidean"),squaredEuclidean:u(function(e,t,n){return Jn(e,t,n,0,Eo)},"squaredEuclidean"),manhattan:u(function(e,t,n){return Jn(e,t,n,0,wo)},"manhattan"),max:u(function(e,t,n){return Jn(e,t,n,-1/0,oh)},"max")};jn["squared-euclidean"]=jn.squaredEuclidean;jn.squaredeuclidean=jn.squaredEuclidean;function Cr(e,t,n,r,a,o){var i;return ze(e)?i=e:i=jn[e]||jn.euclidean,t===0&&ze(e)?i(a,o):i(t,n,r,a,o)}u(Cr,"clusteringDistance");var sh=et({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Mi=u(function(e){return sh(e)},"setOptions"),ca=u(function(e,t,n,r,a){var o=a!=="kMedoids",i=o?function(d){return n[d]}:function(d){return r[d](n)},c=u(function(d){return r[d](t)},"getQ"),l=n,s=t;return Cr(e,r.length,i,c,l,s)},"getDist"),qa=u(function(e,t,n){for(var r=n.length,a=new Array(r),o=new Array(r),i=new Array(t),c=null,l=0;ln)return!1}return!0},"haveMatricesConverged"),ch=u(function(e,t,n){for(var r=0;ri&&(i=t[l][s],c=s);a[c].push(e[l])}for(var d=0;d=a.threshold||a.mode==="dendrogram"&&e.length===1)return!1;var f=t[o],g=t[r[o]],y;a.mode==="dendrogram"?y={left:f,right:g,key:f.key}:y={value:f.value.concat(g.value),key:f.key},e[f.index]=y,e.splice(g.index,1),t[f.key]=y;for(var b=0;bn[g.key][v.key]&&(c=n[g.key][v.key])):a.linkage==="max"?(c=n[f.key][v.key],n[f.key][v.key]0&&r.push(a);return r},"findExemplars"),_o=u(function(e,t,n){for(var r=[],a=0;ai&&(o=l,i=t[a*e+l])}o>0&&r.push(o)}for(var s=0;sl&&(c=s,l=d)}n[a]=o[c]}return r=_o(e,t,n),r},"assign"),Do=u(function(e){for(var t=this.cy(),n=this.nodes(),r=Ch(e),a={},o=0;o=D?(B=D,D=M,T=_):M>B&&(B=M);for(var O=0;O0?1:0;C[S%r.minIterations*i+V]=j,Y+=j}if(Y>0&&(S>=r.minIterations-1||S==r.maxIterations-1)){for(var W=0,J=0;J1||P>1)&&(i=!0),d[m]=[],v.outgoers().forEach(function(w){w.isEdge()&&d[m].push(w.id())})}else h[m]=[void 0,v.target().id()]}):o.forEach(function(v){var m=v.id();if(v.isNode()){var x=v.degree(!0);x%2&&(c?l?i=!0:l=m:c=m),d[m]=[],v.connectedEdges().forEach(function(E){return d[m].push(E.id())})}else h[m]=[v.source().id(),v.target().id()]});var p={found:!1,trail:void 0};if(i)return p;if(l&&c)if(a){if(s&&l!=s)return p;s=l}else{if(s&&l!=s&&c!=s)return p;s||(s=l)}else s||(s=o[0].id());var f=u(function(v){for(var m=v,x=[v],E,P,C;d[m].length;)E=d[m].shift(),P=h[E][0],C=h[E][1],m!=C?(d[C]=d[C].filter(function(w){return w!=E}),m=C):!a&&m!=P&&(d[P]=d[P].filter(function(w){return w!=E}),m=P),x.unshift(E),x.unshift(m);return x},"walk"),g=[],y=[];for(y=f(s);y.length!=1;)d[y[0]].length==0?(g.unshift(o.getElementById(y.shift())),g.unshift(o.getElementById(y.shift()))):y=f(y.shift()).concat(y);g.unshift(o.getElementById(y.shift()));for(var b in d)if(d[b].length)return p;return p.found=!0,p.trail=this.spawn(g,!0),p},"hierholzer")},Vr=u(function(){var e=this,t={},n=0,r=0,a=[],o=[],i={},c=u(function(d,h){for(var p=o.length-1,f=[],g=e.spawn();o[p].x!=d||o[p].y!=h;)f.push(o.pop().edge),p--;f.push(o.pop().edge),f.forEach(function(y){var b=y.connectedNodes().intersection(e);g.merge(y),b.forEach(function(v){var m=v.id(),x=v.connectedEdges().intersection(e);g.merge(v),t[m].cutVertex?g.merge(x.filter(function(E){return E.isLoop()})):g.merge(x)})}),a.push(g)},"buildComponent"),l=u(function d(h,p,f){h===f&&(r+=1),t[p]={id:n,low:n++,cutVertex:!1};var g=e.getElementById(p).connectedEdges().intersection(e);if(g.size()===0)a.push(e.spawn(e.getElementById(p)));else{var y,b,v,m;g.forEach(function(x){y=x.source().id(),b=x.target().id(),v=y===p?b:y,v!==f&&(m=x.id(),i[m]||(i[m]=!0,o.push({x:p,y:v,edge:x})),v in t?t[p].low=Math.min(t[p].low,t[v].id):(d(h,v,p),t[p].low=Math.min(t[p].low,t[v].low),t[p].id<=t[v].low&&(t[p].cutVertex=!0,c(p,v))))})}},"biconnectedSearch");e.forEach(function(d){if(d.isNode()){var h=d.id();h in t||(r=0,l(h,h),t[h].cutVertex=r>1)}});var s=Object.keys(t).filter(function(d){return t[d].cutVertex}).map(function(d){return e.getElementById(d)});return{cut:e.spawn(s),components:a}},"hopcroftTarjanBiconnected"),Mh={hopcroftTarjanBiconnected:Vr,htbc:Vr,htb:Vr,hopcroftTarjanBiconnectedComponents:Vr},jr=u(function(){var e=this,t={},n=0,r=[],a=[],o=e.spawn(e),i=u(function c(l){a.push(l),t[l]={index:n,low:n++,explored:!1};var s=e.getElementById(l).connectedEdges().intersection(e);if(s.forEach(function(g){var y=g.target().id();y!==l&&(y in t||c(y),t[y].explored||(t[l].low=Math.min(t[l].low,t[y].low)))}),t[l].index===t[l].low){for(var d=e.spawn();;){var h=a.pop();if(d.merge(e.getElementById(h)),t[h].low=t[l].index,t[h].explored=!0,h===l)break}var p=d.edgesWith(d),f=d.merge(p);r.push(f),o=o.difference(f)}},"stronglyConnectedSearch");return e.forEach(function(c){if(c.isNode()){var l=c.id();l in t||i(l)}}),{cut:o,components:r}},"tarjanStronglyConnected"),Ah={tarjanStronglyConnected:jr,tsc:jr,tscc:jr,tarjanStronglyConnectedComponents:jr},el={};[hr,ud,cd,hd,fd,vd,bd,Yd,Ln,zn,Qa,rh,vh,Eh,Dh,Ih,Mh,Ah].forEach(function(e){ve(el,e)});var tl=0,nl=1,rl=2,qt=u(function e(t){if(!(this instanceof e))return new e(t);this.id="Thenable/1.0.7",this.state=tl,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},typeof t=="function"&&t.call(this,this.fulfill.bind(this),this.reject.bind(this))},"api");qt.prototype={fulfill:u(function(e){return Bo(this,nl,"fulfillValue",e)},"fulfill"),reject:u(function(e){return Bo(this,rl,"rejectReason",e)},"reject"),then:u(function(e,t){var n=this,r=new qt;return n.onFulfilled.push(Mo(e,r,"fulfill")),n.onRejected.push(Mo(t,r,"reject")),al(n),r.proxy},"then")};var Bo=u(function(e,t,n,r){return e.state===tl&&(e.state=t,e[n]=r,al(e)),e},"deliver"),al=u(function(e){e.state===nl?Io(e,"onFulfilled",e.fulfillValue):e.state===rl&&Io(e,"onRejected",e.rejectReason)},"execute"),Io=u(function(e,t,n){if(e[t].length!==0){var r=e[t];e[t]=[];var a=u(function(){for(var o=0;o0},"animatedImpl")},"animated"),clearQueue:u(function(){return u(function(){var e=this,t=e.length!==void 0,n=t?e:[e],r=this._private.cy||this;if(!r.styleEnabled())return this;for(var a=0;a-1}u(kl,"listCacheHas");var Ep=kl;function Cl(e,t){var n=this.__data__,r=Ca(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}u(Cl,"listCacheSet");var kp=Cl;function En(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t-1&&e%1==0&&e0&&this.spawn(r).updateStyle().emit("class"),t},"classes"),addClass:u(function(e){return this.toggleClass(e,!0)},"addClass"),hasClass:u(function(e){var t=this[0];return t!=null&&t._private.classes.has(e)},"hasClass"),toggleClass:u(function(e,t){Me(e)||(e=e.match(/\S+/g)||[]);for(var n=this,r=t===void 0,a=[],o=0,i=n.length;o0&&this.spawn(a).updateStyle().emit("class"),n},"toggleClass"),removeClass:u(function(e){return this.toggleClass(e,!1)},"removeClass"),flashClass:u(function(e,t){var n=this;if(t==null)t=250;else if(t===0)return n;return n.addClass(e),setTimeout(function(){n.removeClass(e)},t),n},"flashClass")};Kr.className=Kr.classNames=Kr.classes;var ke={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:`"(?:\\\\"|[^"])*"|'(?:\\\\'|[^'])*'`,number:He,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};ke.variable="(?:[\\w-.]|(?:\\\\"+ke.metaChar+"))+";ke.className="(?:[\\w-]|(?:\\\\"+ke.metaChar+"))+";ke.value=ke.string+"|"+ke.number;ke.id=ke.variable;(function(){var e,t,n;for(e=ke.comparatorOp.split("|"),n=0;n=0)&&t!=="="&&(ke.comparatorOp+="|\\!"+t)})();var Ie=u(function(){return{checks:[]}},"newQuery"),oe={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},ei=[{selector:":selected",matches:u(function(e){return e.selected()},"matches")},{selector:":unselected",matches:u(function(e){return!e.selected()},"matches")},{selector:":selectable",matches:u(function(e){return e.selectable()},"matches")},{selector:":unselectable",matches:u(function(e){return!e.selectable()},"matches")},{selector:":locked",matches:u(function(e){return e.locked()},"matches")},{selector:":unlocked",matches:u(function(e){return!e.locked()},"matches")},{selector:":visible",matches:u(function(e){return e.visible()},"matches")},{selector:":hidden",matches:u(function(e){return!e.visible()},"matches")},{selector:":transparent",matches:u(function(e){return e.transparent()},"matches")},{selector:":grabbed",matches:u(function(e){return e.grabbed()},"matches")},{selector:":free",matches:u(function(e){return!e.grabbed()},"matches")},{selector:":removed",matches:u(function(e){return e.removed()},"matches")},{selector:":inside",matches:u(function(e){return!e.removed()},"matches")},{selector:":grabbable",matches:u(function(e){return e.grabbable()},"matches")},{selector:":ungrabbable",matches:u(function(e){return!e.grabbable()},"matches")},{selector:":animated",matches:u(function(e){return e.animated()},"matches")},{selector:":unanimated",matches:u(function(e){return!e.animated()},"matches")},{selector:":parent",matches:u(function(e){return e.isParent()},"matches")},{selector:":childless",matches:u(function(e){return e.isChildless()},"matches")},{selector:":child",matches:u(function(e){return e.isChild()},"matches")},{selector:":orphan",matches:u(function(e){return e.isOrphan()},"matches")},{selector:":nonorphan",matches:u(function(e){return e.isChild()},"matches")},{selector:":compound",matches:u(function(e){return e.isNode()?e.isParent():e.source().isParent()||e.target().isParent()},"matches")},{selector:":loop",matches:u(function(e){return e.isLoop()},"matches")},{selector:":simple",matches:u(function(e){return e.isSimple()},"matches")},{selector:":active",matches:u(function(e){return e.active()},"matches")},{selector:":inactive",matches:u(function(e){return!e.active()},"matches")},{selector:":backgrounding",matches:u(function(e){return e.backgrounding()},"matches")},{selector:":nonbackgrounding",matches:u(function(e){return!e.backgrounding()},"matches")}].sort(function(e,t){return fc(e.selector,t.selector)}),sf=function(){for(var e={},t,n=0;n0&&s.edgeCount>0)return De("The selector `"+e+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(s.edgeCount>1)return De("The selector `"+e+"` is invalid because it uses multiple edge selectors"),!1;s.edgeCount===1&&De("The selector `"+e+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},"parse"),pf=u(function(){if(this.toStringCache!=null)return this.toStringCache;for(var e=u(function(l){return l??""},"clean"),t=u(function(l){return pe(l)?'"'+l+'"':e(l)},"cleanVal"),n=u(function(l){return" "+l+" "},"space"),r=u(function(l,s){var d=l.type,h=l.value;switch(d){case oe.GROUP:{var p=e(h);return p.substring(0,p.length-1)}case oe.DATA_COMPARE:{var f=l.field,g=l.operator;return"["+f+n(e(g))+t(h)+"]"}case oe.DATA_BOOL:{var y=l.operator,b=l.field;return"["+e(y)+b+"]"}case oe.DATA_EXIST:{var v=l.field;return"["+v+"]"}case oe.META_COMPARE:{var m=l.operator,x=l.field;return"[["+x+n(e(m))+t(h)+"]]"}case oe.STATE:return h;case oe.ID:return"#"+h;case oe.CLASS:return"."+h;case oe.PARENT:case oe.CHILD:return a(l.parent,s)+n(">")+a(l.child,s);case oe.ANCESTOR:case oe.DESCENDANT:return a(l.ancestor,s)+" "+a(l.descendant,s);case oe.COMPOUND_SPLIT:{var E=a(l.left,s),P=a(l.subject,s),C=a(l.right,s);return E+(E.length>0?" ":"")+P+C}case oe.TRUE:return""}},"checkToString"),a=u(function(l,s){return l.checks.reduce(function(d,h,p){return d+(s===l&&p===0?"$":"")+r(h,s)},"")},"queryToString"),o="",i=0;i1&&i=0&&(t=t.replace("!",""),d=!0),t.indexOf("@")>=0&&(t=t.replace("@",""),s=!0),(a||i||s)&&(c=!a&&!o?"":""+e,l=""+n),s&&(e=c=c.toLowerCase(),n=l=l.toLowerCase()),t){case"*=":r=c.indexOf(l)>=0;break;case"$=":r=c.indexOf(l,c.length-l.length)>=0;break;case"^=":r=c.indexOf(l)===0;break;case"=":r=e===n;break;case">":h=!0,r=e>n;break;case">=":h=!0,r=e>=n;break;case"<":h=!0,r=e0;){var d=a.shift();t(d),o.add(d.id()),c&&r(a,o,d)}return e}u(Ta,"forEachCompound");function zi(e,t,n){if(n.isParent())for(var r=n._private.children,a=0;a1&&arguments[1]!==void 0?arguments[1]:!0;return Ta(this,e,t,zi)};function Ri(e,t,n){if(n.isChild()){var r=n._private.parent;t.has(r.id())||e.push(r)}}u(Ri,"addParent");qn.forEachUp=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Ta(this,e,t,Ri)};function Ql(e,t,n){Ri(e,t,n),zi(e,t,n)}u(Ql,"addParentAndChildren");qn.forEachUpAndDown=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return Ta(this,e,t,Ql)};qn.ancestors=qn.parents;var vr,Jl;vr=Jl={data:_e.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:_e.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:_e.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:_e.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:_e.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:_e.removeData({field:"rscratch",triggerEvent:!1}),id:u(function(){var e=this[0];if(e)return e._private.data.id},"id")};vr.attr=vr.data;vr.removeAttr=vr.removeData;var wf=Jl,_a={};function Zr(e){return function(t){var n=this;if(t===void 0&&(t=!0),n.length!==0)if(n.isNode()&&!n.removed()){for(var r=0,a=n[0],o=a._private.edges,i=0;it}),minIndegree:ln("indegree",function(e,t){return et}),minOutdegree:ln("outdegree",function(e,t){return et})});ve(_a,{totalDegree:u(function(e){for(var t=0,n=this.nodes(),r=0;r0,h=d;d&&(s=s[0]);var p=h?s.position():{x:0,y:0};t!==void 0?l.position(e,t+p[e]):a!==void 0&&l.position({x:a.x+p.x,y:a.y+p.y})}else{var f=n.position(),g=i?n.parent():null,y=g&&g.length>0,b=y;y&&(g=g[0]);var v=b?g.position():{x:0,y:0};return a={x:f.x-v.x,y:f.y-v.y},e===void 0?a:a[e]}else if(!o)return;return this},"relativePosition")};_t.modelPosition=_t.point=_t.position;_t.modelPositions=_t.points=_t.positions;_t.renderedPoint=_t.renderedPosition;_t.relativePoint=_t.relativePosition;var Ef=eu,Rn,nn;Rn=nn={};nn.renderedBoundingBox=function(e){var t=this.boundingBox(e),n=this.cy(),r=n.zoom(),a=n.pan(),o=t.x1*r+a.x,i=t.x2*r+a.x,c=t.y1*r+a.y,l=t.y2*r+a.y;return{x1:o,x2:i,y1:c,y2:l,w:i-o,h:l-c}};nn.dirtyCompoundBoundsCache=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.cy();return!t.styleEnabled()||!t.hasCompoundNodes()?this:(this.forEachUp(function(n){if(n.isParent()){var r=n._private;r.compoundBoundsClean=!1,r.bbCache=null,e||n.emitAndNotify("bounds")}}),this)};nn.updateCompoundBounds=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=this.cy();if(!t.styleEnabled()||!t.hasCompoundNodes())return this;if(!e&&t.batching())return this;function n(i){if(!i.isParent())return;var c=i._private,l=i.children(),s=i.pstyle("compound-sizing-wrt-labels").value==="include",d={width:{val:i.pstyle("min-width").pfValue,left:i.pstyle("min-width-bias-left"),right:i.pstyle("min-width-bias-right")},height:{val:i.pstyle("min-height").pfValue,top:i.pstyle("min-height-bias-top"),bottom:i.pstyle("min-height-bias-bottom")}},h=l.boundingBox({includeLabels:s,includeOverlays:!1,useCache:!1}),p=c.position;(h.w===0||h.h===0)&&(h={w:i.pstyle("width").pfValue,h:i.pstyle("height").pfValue},h.x1=p.x-h.w/2,h.x2=p.x+h.w/2,h.y1=p.y-h.h/2,h.y2=p.y+h.h/2);function f(I,D,B){var T=0,M=0,_=D+B;return I>0&&_>0&&(T=D/_*I,M=B/_*I),{biasDiff:T,biasComplementDiff:M}}u(f,"computeBiasValues");function g(I,D,B,T){if(B.units==="%")switch(T){case"width":return I>0?B.pfValue*I:0;case"height":return D>0?B.pfValue*D:0;case"average":return I>0&&D>0?B.pfValue*(I+D)/2:0;case"min":return I>0&&D>0?I>D?B.pfValue*D:B.pfValue*I:0;case"max":return I>0&&D>0?I>D?B.pfValue*I:B.pfValue*D:0;default:return 0}else return B.units==="px"?B.pfValue:0}u(g,"computePaddingValues");var y=d.width.left.value;d.width.left.units==="px"&&d.width.val>0&&(y=y*100/d.width.val);var b=d.width.right.value;d.width.right.units==="px"&&d.width.val>0&&(b=b*100/d.width.val);var v=d.height.top.value;d.height.top.units==="px"&&d.height.val>0&&(v=v*100/d.height.val);var m=d.height.bottom.value;d.height.bottom.units==="px"&&d.height.val>0&&(m=m*100/d.height.val);var x=f(d.width.val-h.w,y,b),E=x.biasDiff,P=x.biasComplementDiff,C=f(d.height.val-h.h,v,m),w=C.biasDiff,S=C.biasComplementDiff;c.autoPadding=g(h.w,h.h,i.pstyle("padding"),i.pstyle("padding-relative-to").value),c.autoWidth=Math.max(h.w,d.width.val),p.x=(-E+h.x1+h.x2+P)/2,c.autoHeight=Math.max(h.h,d.height.val),p.y=(-w+h.y1+h.y2+S)/2}u(n,"update");for(var r=0;re.x2?r:e.x2,e.y1=ne.y2?a:e.y2,e.w=e.x2-e.x1,e.h=e.y2-e.y1)},"updateBounds"),un=u(function(e,t){return t==null?e:Pt(e,t.x1,t.y1,t.x2,t.y2)},"updateBoundsFromBox"),er=u(function(e,t,n){return Tt(e,t,n)},"prefixedProperty"),qr=u(function(e,t,n){if(!t.cy().headless()){var r=t._private,a=r.rstyle,o=a.arrowWidth/2,i=t.pstyle(n+"-arrow-shape").value,c,l;if(i!=="none"){n==="source"?(c=a.srcX,l=a.srcY):n==="target"?(c=a.tgtX,l=a.tgtY):(c=a.midX,l=a.midY);var s=r.arrowBounds=r.arrowBounds||{},d=s[n]=s[n]||{};d.x1=c-o,d.y1=l-o,d.x2=c+o,d.y2=l+o,d.w=d.x2-d.x1,d.h=d.y2-d.y1,Ur(d,1),Pt(e,d.x1,d.y1,d.x2,d.y2)}}},"updateBoundsFromArrow"),Ya=u(function(e,t,n){if(!t.cy().headless()){var r;n?r=n+"-":r="";var a=t._private,o=a.rstyle,i=t.pstyle(r+"label").strValue;if(i){var c=t.pstyle("text-halign"),l=t.pstyle("text-valign"),s=er(o,"labelWidth",n),d=er(o,"labelHeight",n),h=er(o,"labelX",n),p=er(o,"labelY",n),f=t.pstyle(r+"text-margin-x").pfValue,g=t.pstyle(r+"text-margin-y").pfValue,y=t.isEdge(),b=t.pstyle(r+"text-rotation"),v=t.pstyle("text-outline-width").pfValue,m=t.pstyle("text-border-width").pfValue,x=m/2,E=t.pstyle("text-background-padding").pfValue,P=2,C=d,w=s,S=w/2,I=C/2,D,B,T,M;if(y)D=h-S,B=h+S,T=p-I,M=p+I;else{switch(c.value){case"left":D=h-w,B=h;break;case"center":D=h-S,B=h+S;break;case"right":D=h,B=h+w;break}switch(l.value){case"top":T=p-C,M=p;break;case"center":T=p-I,M=p+I;break;case"bottom":T=p,M=p+C;break}}D+=f-Math.max(v,x)-E-P,B+=f+Math.max(v,x)+E+P,T+=g-Math.max(v,x)-E-P,M+=g+Math.max(v,x)+E+P;var _=n||"main",O=a.labelBounds,L=O[_]=O[_]||{};L.x1=D,L.y1=T,L.x2=B,L.y2=M,L.w=B-D,L.h=M-T;var z=y&&b.strValue==="autorotate",A=b.pfValue!=null&&b.pfValue!==0;if(z||A){var R=z?er(a.rstyle,"labelAngle",n):b.pfValue,Y=Math.cos(R),V=Math.sin(R),j=(D+B)/2,W=(T+M)/2;if(!y){switch(c.value){case"left":j=B;break;case"right":j=D;break}switch(l.value){case"top":W=M;break;case"bottom":W=T;break}}var J=u(function(ne,de){return ne=ne-j,de=de-W,{x:ne*Y-de*V+j,y:ne*V+de*Y+W}},"rotate"),ae=J(D,T),Z=J(D,M),$=J(B,T),N=J(B,M);D=Math.min(ae.x,Z.x,$.x,N.x),B=Math.max(ae.x,Z.x,$.x,N.x),T=Math.min(ae.y,Z.y,$.y,N.y),M=Math.max(ae.y,Z.y,$.y,N.y)}var G=_+"Rot",U=O[G]=O[G]||{};U.x1=D,U.y1=T,U.x2=B,U.y2=M,U.w=B-D,U.h=M-T,Pt(e,D,T,B,M),Pt(a.labelBounds.all,D,T,B,M)}return e}},"updateBoundsFromLabel"),kf=u(function(e,t){if(!t.cy().headless()){var n=t.pstyle("outline-opacity").value,r=t.pstyle("outline-width").value;if(n>0&&r>0){var a=t.pstyle("outline-offset").value,o=t.pstyle("shape").value,i=r+a,c=(e.w+i*2)/e.w,l=(e.h+i*2)/e.h,s=0,d=0;["diamond","pentagon","round-triangle"].includes(o)?(c=(e.w+i*2.4)/e.w,d=-i/3.6):["concave-hexagon","rhomboid","right-rhomboid"].includes(o)?c=(e.w+i*2.4)/e.w:o==="star"?(c=(e.w+i*2.8)/e.w,l=(e.h+i*2.6)/e.h,d=-i/3.8):o==="triangle"?(c=(e.w+i*2.8)/e.w,l=(e.h+i*2.4)/e.h,d=-i/1.4):o==="vee"&&(c=(e.w+i*4.4)/e.w,l=(e.h+i*3.8)/e.h,d=-i*.5);var h=e.h*l-e.h,p=e.w*c-e.w;if(Gr(e,[Math.ceil(h/2),Math.ceil(p/2)]),s!=0||d!==0){var f=Bd(e,s,d);Hs(e,f)}}}},"updateBoundsFromOutline"),Cf=u(function(e,t){var n=e._private.cy,r=n.styleEnabled(),a=n.headless(),o=pt(),i=e._private,c=e.isNode(),l=e.isEdge(),s,d,h,p,f,g,y=i.rstyle,b=c&&r?e.pstyle("bounds-expansion").pfValue:[0],v=u(function(Q){return Q.pstyle("display").value!=="none"},"isDisplayed"),m=!r||v(e)&&(!l||v(e.source())&&v(e.target()));if(m){var x=0,E=0;r&&t.includeOverlays&&(x=e.pstyle("overlay-opacity").value,x!==0&&(E=e.pstyle("overlay-padding").value));var P=0,C=0;r&&t.includeUnderlays&&(P=e.pstyle("underlay-opacity").value,P!==0&&(C=e.pstyle("underlay-padding").value));var w=Math.max(E,C),S=0,I=0;if(r&&(S=e.pstyle("width").pfValue,I=S/2),c&&t.includeNodes){var D=e.position();f=D.x,g=D.y;var B=e.outerWidth(),T=B/2,M=e.outerHeight(),_=M/2;s=f-T,d=f+T,h=g-_,p=g+_,Pt(o,s,h,d,p),r&&t.includeOutlines&&kf(o,e)}else if(l&&t.includeEdges)if(r&&!a){var O=e.pstyle("curve-style").strValue;if(s=Math.min(y.srcX,y.midX,y.tgtX),d=Math.max(y.srcX,y.midX,y.tgtX),h=Math.min(y.srcY,y.midY,y.tgtY),p=Math.max(y.srcY,y.midY,y.tgtY),s-=I,d+=I,h-=I,p+=I,Pt(o,s,h,d,p),O==="haystack"){var L=y.haystackPts;if(L&&L.length===2){if(s=L[0].x,h=L[0].y,d=L[1].x,p=L[1].y,s>d){var z=s;s=d,d=z}if(h>p){var A=h;h=p,p=A}Pt(o,s-I,h-I,d+I,p+I)}}else if(O==="bezier"||O==="unbundled-bezier"||O.endsWith("segments")||O.endsWith("taxi")){var R;switch(O){case"bezier":case"unbundled-bezier":R=y.bezierPts;break;case"segments":case"taxi":case"round-segments":case"round-taxi":R=y.linePts;break}if(R!=null)for(var Y=0;Yd){var Z=s;s=d,d=Z}if(h>p){var $=h;h=p,p=$}s-=I,d+=I,h-=I,p+=I,Pt(o,s,h,d,p)}if(r&&t.includeEdges&&l&&(qr(o,e,"mid-source"),qr(o,e,"mid-target"),qr(o,e,"source"),qr(o,e,"target")),r){var N=e.pstyle("ghost").value==="yes";if(N){var G=e.pstyle("ghost-offset-x").pfValue,U=e.pstyle("ghost-offset-y").pfValue;Pt(o,o.x1+G,o.y1+U,o.x2+G,o.y2+U)}}var ne=i.bodyBounds=i.bodyBounds||{};yo(ne,o),Gr(ne,b),Ur(ne,1),r&&(s=o.x1,d=o.x2,h=o.y1,p=o.y2,Pt(o,s-w,h-w,d+w,p+w));var de=i.overlayBounds=i.overlayBounds||{};yo(de,o),Gr(de,b),Ur(de,1);var be=i.labelBounds=i.labelBounds||{};be.all!=null?Dd(be.all):be.all=pt(),r&&t.includeLabels&&(t.includeMainLabels&&Ya(o,e,null),l&&(t.includeSourceLabels&&Ya(o,e,"source"),t.includeTargetLabels&&Ya(o,e,"target")))}return o.x1=bt(o.x1),o.y1=bt(o.y1),o.x2=bt(o.x2),o.y2=bt(o.y2),o.w=bt(o.x2-o.x1),o.h=bt(o.y2-o.y1),o.w>0&&o.h>0&&m&&(Gr(o,b),Ur(o,1)),o},"boundingBoxImpl"),nu=u(function(e){var t=0,n=u(function(a){return(a?1:0)<0&&arguments[0]!==void 0?arguments[0]:Ff,t=arguments.length>1?arguments[1]:void 0,n=0;n=0;c--)i(c);return this};tn.removeAllListeners=function(){return this.removeListener("*")};tn.emit=tn.trigger=function(e,t,n){var r=this.listeners,a=r.length;return this.emitting++,Me(t)||(t=[t]),Vf(this,function(o,i){n!=null&&(r=[{event:i.event,type:i.type,namespace:i.namespace,callback:n}],a=r.length);for(var c=u(function(s){var d=r[s];if(d.type===i.type&&(!d.namespace||d.namespace===i.namespace||d.namespace===Rf)&&o.eventMatches(o.context,d,i)){var h=[i];t!=null&&rd(h,t),o.beforeEmit(o.context,d,i),d.conf&&d.conf.one&&(o.listeners=o.listeners.filter(function(g){return g!==d}));var p=o.callbackContext(o.context,d,i),f=d.callback.apply(p,h);o.afterEmit(o.context,d,i),f===!1&&(i.stopPropagation(),i.preventDefault())}},"_loop2"),l=0;l1&&!o){var i=this.length-1,c=this[i],l=c._private.data.id;this[i]=void 0,this[e]=c,a.set(l,{ele:c,index:e})}return this.length--,this},"unmergeAt"),unmergeOne:u(function(e){e=e[0];var t=this._private,n=e._private.data.id,r=t.map,a=r.get(n);if(!a)return this;var o=a.index;return this.unmergeAt(o),this},"unmergeOne"),unmerge:u(function(e){var t=this._private.cy;if(!e)return this;if(e&&pe(e)){var n=e;e=t.mutableElements().filter(n)}for(var r=0;r=0;t--){var n=this[t];e(n)&&this.unmergeAt(t)}return this},"unmergeBy"),map:u(function(e,t){for(var n=[],r=this,a=0;an&&(n=c,r=i)}return{value:n,ele:r}},"max"),min:u(function(e,t){for(var n=1/0,r,a=this,o=0;o=0&&a"u"?"undefined":Ve(Symbol))!=e&&Ve(Symbol.iterator)!=e;t&&(da[Symbol.iterator]=function(){var n=this,r={value:void 0,done:!1},a=0,o=this.length;return wi({next:u(function(){return a1&&arguments[1]!==void 0?arguments[1]:!0,n=this[0],r=n.cy();if(r.styleEnabled()&&n){this.cleanStyle();var a=n._private.style[e];return a??(t?r.style().getDefaultProperty(e):null)}},"parsedStyle"),numericStyle:u(function(e){var t=this[0];if(t.cy().styleEnabled()&&t){var n=t.pstyle(e);return n.pfValue!==void 0?n.pfValue:n.value}},"numericStyle"),numericStyleUnits:u(function(e){var t=this[0];if(t.cy().styleEnabled()&&t)return t.pstyle(e).units},"numericStyleUnits"),renderedStyle:u(function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=this[0];if(n)return t.style().getRenderedStyle(n,e)},"renderedStyle"),style:u(function(e,t){var n=this.cy();if(!n.styleEnabled())return this;var r=!1,a=n.style();if(Ce(e)){var o=e;a.applyBypass(this,o,r),this.emitAndNotify("style")}else if(pe(e))if(t===void 0){var i=this[0];return i?a.getStylePropertyValue(i,e):void 0}else a.applyBypass(this,e,t,r),this.emitAndNotify("style");else if(e===void 0){var c=this[0];return c?a.getRawStyle(c):void 0}return this},"style"),removeStyle:u(function(e){var t=this.cy();if(!t.styleEnabled())return this;var n=!1,r=t.style(),a=this;if(e===void 0)for(var o=0;o0&&t.push(d[0]),t.push(c[0])}return this.spawn(t,!0).filter(e)},"neighborhood"),closedNeighborhood:u(function(e){return this.neighborhood().add(this).filter(e)},"closedNeighborhood"),openNeighborhood:u(function(e){return this.neighborhood(e)},"openNeighborhood")});at.neighbourhood=at.neighborhood;at.closedNeighbourhood=at.closedNeighborhood;at.openNeighbourhood=at.openNeighborhood;ve(at,{source:xt(u(function(e){var t=this[0],n;return t&&(n=t._private.source||t.cy().collection()),n&&e?n.filter(e):n},"sourceImpl"),"source"),target:xt(u(function(e){var t=this[0],n;return t&&(n=t._private.target||t.cy().collection()),n&&e?n.filter(e):n},"targetImpl"),"target"),sources:ri({attr:"source"}),targets:ri({attr:"target"})});function ri(e){return u(function(t){for(var n=[],r=0;r0);return o},"components"),component:u(function(){var e=this[0];return e.cy().mutableElements().components(e)[0]},"component")});at.componentsOf=at.components;var Je=u(function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(e===void 0){Re("A collection must have a reference to the core");return}var a=new Nt,o=!1;if(!t)t=[];else if(t.length>0&&Ce(t[0])&&!wr(t[0])){o=!0;for(var i=[],c=new Yn,l=0,s=t.length;l0&&arguments[0]!==void 0?arguments[0]:!0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n=this,r=n.cy(),a=r._private,o=[],i=[],c,l=0,s=n.length;l0){for(var R=c.length===n.length?n:new Je(r,c),Y=0;Y0&&arguments[0]!==void 0?arguments[0]:!0,t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,n=this,r=[],a={},o=n._private.cy;function i(_){for(var O=_._private.edges,L=0;L0&&(e?B.emitAndNotify("remove"):t&&B.emit("remove"));for(var T=0;T0?T=_:B=_;while(Math.abs(M)>i&&++O=o?m(D,O):L===0?O:E(D,B,B+s)}u(P,"getTForX");var C=!1;function w(){C=!0,(e!==t||n!==r)&&x()}u(w,"precompute");var S=u(function(D){return C||w(),e===t&&n===r?D:D===0?0:D===1?1:b(P(D),t,r)},"f");S.getControlPoints=function(){return[{x:e,y:t},{x:n,y:r}]};var I="generateBezier("+[e,t,n,r]+")";return S.toString=function(){return I},S}u(hu,"generateCubicBezier");var Zf=function(){function e(r){return-r.tension*r.x-r.friction*r.v}u(e,"springAccelerationForState");function t(r,a,o){var i={x:r.x+o.dx*a,v:r.v+o.dv*a,tension:r.tension,friction:r.friction};return{dx:i.v,dv:e(i)}}u(t,"springEvaluateStateWithDerivative");function n(r,a){var o={dx:r.v,dv:e(r)},i=t(r,a*.5,o),c=t(r,a*.5,i),l=t(r,a,c),s=1/6*(o.dx+2*(i.dx+c.dx)+l.dx),d=1/6*(o.dv+2*(i.dv+c.dv)+l.dv);return r.x=r.x+s*a,r.v=r.v+d*a,r}return u(n,"springIntegrateState"),u(function r(a,o,i){var c={x:-1,v:0,tension:null,friction:null},l=[0],s=0,d=1/1e4,h=16/1e3,p,f,g;for(a=parseFloat(a)||500,o=parseFloat(o)||20,i=i||null,c.tension=a,c.friction=o,p=i!==null,p?(s=r(a,o),f=s/i*h):f=h;g=n(g||c,f),l.push(1+g.x),s+=16,Math.abs(g.x)>d&&Math.abs(g.v)>d;);return p?function(y){return l[y*(l.length-1)|0]}:s},"springRK4Factory")}(),Ae=u(function(e,t,n,r){var a=hu(e,t,n,r);return function(o,i,c){return o+(i-o)*a(c)}},"cubicBezier"),Jr={linear:u(function(e,t,n){return e+(t-e)*n},"linear"),ease:Ae(.25,.1,.25,1),"ease-in":Ae(.42,0,1,1),"ease-out":Ae(0,0,.58,1),"ease-in-out":Ae(.42,0,.58,1),"ease-in-sine":Ae(.47,0,.745,.715),"ease-out-sine":Ae(.39,.575,.565,1),"ease-in-out-sine":Ae(.445,.05,.55,.95),"ease-in-quad":Ae(.55,.085,.68,.53),"ease-out-quad":Ae(.25,.46,.45,.94),"ease-in-out-quad":Ae(.455,.03,.515,.955),"ease-in-cubic":Ae(.55,.055,.675,.19),"ease-out-cubic":Ae(.215,.61,.355,1),"ease-in-out-cubic":Ae(.645,.045,.355,1),"ease-in-quart":Ae(.895,.03,.685,.22),"ease-out-quart":Ae(.165,.84,.44,1),"ease-in-out-quart":Ae(.77,0,.175,1),"ease-in-quint":Ae(.755,.05,.855,.06),"ease-out-quint":Ae(.23,1,.32,1),"ease-in-out-quint":Ae(.86,0,.07,1),"ease-in-expo":Ae(.95,.05,.795,.035),"ease-out-expo":Ae(.19,1,.22,1),"ease-in-out-expo":Ae(1,0,0,1),"ease-in-circ":Ae(.6,.04,.98,.335),"ease-out-circ":Ae(.075,.82,.165,1),"ease-in-out-circ":Ae(.785,.135,.15,.86),spring:u(function(e,t,n){if(n===0)return Jr.linear;var r=Zf(e,t,n);return function(a,o,i){return a+(o-a)*r(i)}},"spring"),"cubic-bezier":Ae};function oi(e,t,n,r,a){if(r===1||t===n)return n;var o=a(t,n,r);return e==null||((e.roundValue||e.color)&&(o=Math.round(o)),e.min!==void 0&&(o=Math.max(o,e.min)),e.max!==void 0&&(o=Math.min(o,e.max))),o}u(oi,"getEasedValue");function si(e,t){return e.pfValue!=null||e.value!=null?e.pfValue!=null&&(t==null||t.type.units!=="%")?e.pfValue:e.value:e}u(si,"getValue");function cn(e,t,n,r,a){var o=a!=null?a.type:null;n<0?n=0:n>1&&(n=1);var i=si(e,a),c=si(t,a);if(re(i)&&re(c))return oi(o,i,c,n,r);if(Me(i)&&Me(c)){for(var l=[],s=0;s0?(f==="spring"&&g.push(i.duration),i.easingImpl=Jr[f].apply(null,g)):i.easingImpl=Jr[f]}var y=i.easingImpl,b;if(i.duration===0?b=1:b=(n-l)/i.duration,i.applying&&(b=i.progress),b<0?b=0:b>1&&(b=1),i.delay==null){var v=i.startPosition,m=i.position;if(m&&a&&!e.locked()){var x={};In(v.x,m.x)&&(x.x=cn(v.x,m.x,b,y)),In(v.y,m.y)&&(x.y=cn(v.y,m.y,b,y)),e.position(x)}var E=i.startPan,P=i.pan,C=o.pan,w=P!=null&&r;w&&(In(E.x,P.x)&&(C.x=cn(E.x,P.x,b,y)),In(E.y,P.y)&&(C.y=cn(E.y,P.y,b,y)),e.emit("pan"));var S=i.startZoom,I=i.zoom,D=I!=null&&r;D&&(In(S,I)&&(o.zoom=pr(o.minZoom,cn(S,I,b,y),o.maxZoom)),e.emit("zoom")),(w||D)&&e.emit("viewport");var B=i.style;if(B&&B.length>0&&a){for(var T=0;T=0;C--){var w=P[C];w()}P.splice(0,P.length)},"callbacks"),m=f.length-1;m>=0;m--){var x=f[m],E=x._private;if(E.stopped){f.splice(m,1),E.hooked=!1,E.playing=!1,E.started=!1,v(E.frames);continue}!E.playing&&!E.applying||(E.playing&&E.applying&&(E.applying=!1),E.started||fu(d,x,e),pu(d,x,e,h),E.applying&&(E.applying=!1),v(E.frames),E.step!=null&&E.step(e),x.completed()&&(f.splice(m,1),E.hooked=!1,E.playing=!1,E.started=!1,v(E.completes)),y=!0)}return!h&&f.length===0&&g.length===0&&r.push(d),y}u(a,"stepOne");for(var o=!1,i=0;i0?t.notify("draw",n):t.notify("draw")),n.unmerge(r),t.emit("step")}u(li,"stepAll");var $f={animate:_e.animate(),animation:_e.animation(),animated:_e.animated(),clearQueue:_e.clearQueue(),delay:_e.delay(),delayAnimation:_e.delayAnimation(),stop:_e.stop(),addToAnimationPool:u(function(e){var t=this;t.styleEnabled()&&t._private.aniEles.merge(e)},"addToAnimationPool"),stopAnimationLoop:u(function(){this._private.animationsRunning=!1},"stopAnimationLoop"),startAnimationLoop:u(function(){var e=this;if(e._private.animationsRunning=!0,!e.styleEnabled())return;function t(){e._private.animationsRunning&&oa(u(function(r){li(r,e),t()},"animationStep"))}u(t,"headlessStep");var n=e.renderer();n&&n.beforeRender?n.beforeRender(u(function(r,a){li(a,e)},"rendererAnimationStep"),n.beforeRenderPriorities.animations):t()},"startAnimationLoop")},Qf={qualifierCompare:u(function(e,t){return e==null||t==null?e==null&&t==null:e.sameText(t)},"qualifierCompare"),eventMatches:u(function(e,t,n){var r=t.qualifier;return r!=null?e!==n.target&&wr(n.target)&&r.matches(n.target):!0},"eventMatches"),addEventFields:u(function(e,t){t.cy=e,t.target=e},"addEventFields"),callbackContext:u(function(e,t,n){return t.qualifier!=null?n.target:e},"callbackContext")},Yr=u(function(e){return pe(e)?new Jt(e):e},"argSelector"),gu={createEmitter:u(function(){var e=this._private;return e.emitter||(e.emitter=new Pr(Qf,this)),this},"createEmitter"),emitter:u(function(){return this._private.emitter},"emitter"),on:u(function(e,t,n){return this.emitter().on(e,Yr(t),n),this},"on"),removeListener:u(function(e,t,n){return this.emitter().removeListener(e,Yr(t),n),this},"removeListener"),removeAllListeners:u(function(){return this.emitter().removeAllListeners(),this},"removeAllListeners"),one:u(function(e,t,n){return this.emitter().one(e,Yr(t),n),this},"one"),once:u(function(e,t,n){return this.emitter().one(e,Yr(t),n),this},"once"),emit:u(function(e,t){return this.emitter().emit(e,t),this},"emit"),emitAndNotify:u(function(e,t){return this.emit(e),this.notify(e,t),this},"emitAndNotify")};_e.eventAliasesOn(gu);var ui={png:u(function(e){var t=this._private.renderer;return e=e||{},t.png(e)},"png"),jpg:u(function(e){var t=this._private.renderer;return e=e||{},e.bg=e.bg||"#fff",t.jpg(e)},"jpg")};ui.jpeg=ui.jpg;var ea={layout:u(function(e){var t=this;if(e==null){Re("Layout options must be specified to make a layout");return}if(e.name==null){Re("A `name` must be specified to make a layout");return}var n=e.name,r=t.extension("layout",n);if(r==null){Re("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?");return}var a;pe(e.eles)?a=t.$(e.eles):a=e.eles!=null?e.eles:t.$();var o=new r(ve({},e,{cy:t,eles:a}));return o},"layout")};ea.createLayout=ea.makeLayout=ea.layout;var Jf={notify:u(function(e,t){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var r=n.batchNotifications[e]=n.batchNotifications[e]||this.collection();t!=null&&r.merge(t);return}if(n.notificationsEnabled){var a=this.renderer();this.destroyed()||!a||a.notify(e,t)}},"notify"),notifications:u(function(e){var t=this._private;return e===void 0?t.notificationsEnabled:(t.notificationsEnabled=!!e,this)},"notifications"),noNotifications:u(function(e){this.notifications(!1),e(),this.notifications(!0)},"noNotifications"),batching:u(function(){return this._private.batchCount>0},"batching"),startBatch:u(function(){var e=this._private;return e.batchCount==null&&(e.batchCount=0),e.batchCount===0&&(e.batchStyleEles=this.collection(),e.batchNotifications={}),e.batchCount++,this},"startBatch"),endBatch:u(function(){var e=this._private;if(e.batchCount===0)return this;if(e.batchCount--,e.batchCount===0){e.batchStyleEles.updateStyle();var t=this.renderer();Object.keys(e.batchNotifications).forEach(function(n){var r=e.batchNotifications[n];r.empty()?t.notify(n):t.notify(n,r)})}return this},"endBatch"),batch:u(function(e){return this.startBatch(),e(),this.endBatch(),this},"batch"),batchData:u(function(e){var t=this;return this.batch(function(){for(var n=Object.keys(e),r=0;r0;)t.removeChild(t.childNodes[0]);e._private.renderer=null,e.mutableElements().forEach(function(n){var r=n._private;r.rscratch={},r.rstyle={},r.animation.current=[],r.animation.queue=[]})},"destroyRenderer"),onRender:u(function(e){return this.on("render",e)},"onRender"),offRender:u(function(e){return this.off("render",e)},"offRender")};ci.invalidateDimensions=ci.resize;var ta={collection:u(function(e,t){return pe(e)?this.$(e):gt(e)?e.collection():Me(e)?(t||(t={}),new Je(this,e,t.unique,t.removed)):new Je(this)},"collection"),nodes:u(function(e){var t=this.$(function(n){return n.isNode()});return e?t.filter(e):t},"nodes"),edges:u(function(e){var t=this.$(function(n){return n.isEdge()});return e?t.filter(e):t},"edges"),$:u(function(e){var t=this._private.elements;return e?t.filter(e):t.spawnSelf()},"$"),mutableElements:u(function(){return this._private.elements},"mutableElements")};ta.elements=ta.filter=ta.$;var ot={},sr="t",tg="f";ot.apply=function(e){for(var t=this,n=t._private,r=n.cy,a=r.collection(),o=0;o0;if(p||h&&f){var g=void 0;p&&f||p?g=s.properties:f&&(g=s.mappedProperties);for(var y=0;y1&&(E=1),c.color){var C=r.valueMin[0],w=r.valueMax[0],S=r.valueMin[1],I=r.valueMax[1],D=r.valueMin[2],B=r.valueMax[2],T=r.valueMin[3]==null?1:r.valueMin[3],M=r.valueMax[3]==null?1:r.valueMax[3],_=[Math.round(C+(w-C)*E),Math.round(S+(I-S)*E),Math.round(D+(B-D)*E),Math.round(T+(M-T)*E)];o={bypass:r.bypass,name:r.name,value:_,strValue:"rgb("+_[0]+", "+_[1]+", "+_[2]+")"}}else if(c.number){var O=r.valueMin+(r.valueMax-r.valueMin)*E;o=this.parse(r.name,O,r.bypass,p)}else return!1;if(!o)return y(),!1;o.mapping=r,r=o;break}case i.data:{for(var L=r.field.split("."),z=h.data,A=0;A0&&o>0){for(var c={},l=!1,s=0;s0?e.delayAnimation(i).play().promise().then(x):x()}).then(function(){return e.animation({style:c,duration:o,easing:e.pstyle("transition-timing-function").value,queue:!1}).play().promise()}).then(function(){n.removeBypasses(e,a),e.emitAndNotify("style"),r.transitioning=!1})}else r.transitioning&&(this.removeBypasses(e,a),e.emitAndNotify("style"),r.transitioning=!1)};ot.checkTrigger=function(e,t,n,r,a,o){var i=this.properties[t],c=a(i);c!=null&&c(n,r)&&o(i)};ot.checkZOrderTrigger=function(e,t,n,r){var a=this;this.checkTrigger(e,t,n,r,function(o){return o.triggersZOrder},function(){a._private.cy.notify("zorder",e)})};ot.checkBoundsTrigger=function(e,t,n,r){this.checkTrigger(e,t,n,r,function(a){return a.triggersBounds},function(a){e.dirtyCompoundBoundsCache(),e.dirtyBoundingBoxCache(),a.triggersBoundsOfParallelBeziers&&t==="curve-style"&&(n==="bezier"||r==="bezier")&&e.parallelEdges().forEach(function(o){o.isBundledBezier()&&o.dirtyBoundingBoxCache()}),a.triggersBoundsOfConnectedEdges&&t==="display"&&(n==="none"||r==="none")&&e.connectedEdges().forEach(function(o){o.dirtyBoundingBoxCache()})})};ot.checkTriggers=function(e,t,n,r){e.dirtyStyleCache(),this.checkZOrderTrigger(e,t,n,r),this.checkBoundsTrigger(e,t,n,r)};var Dr={};Dr.applyBypass=function(e,t,n,r){var a=this,o=[],i=!0;if(t==="*"||t==="**"){if(n!==void 0)for(var c=0;ca.length?r=r.substr(a.length):r=""}u(c,"removeSelAndBlockFromRemaining");function l(){o.length>i.length?o=o.substr(i.length):o=""}for(u(l,"removePropAndValFromRem");;){var s=r.match(/^\s*$/);if(s)break;var d=r.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!d){De("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+r);break}a=d[0];var h=d[1];if(h!=="core"){var p=new Jt(h);if(p.invalid){De("Skipping parsing of block: Invalid selector found in string stylesheet: "+h),c();continue}}var f=d[2],g=!1;o=f;for(var y=[];;){var b=o.match(/^\s*$/);if(b)break;var v=o.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!v){De("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+f),g=!0;break}i=v[0];var m=v[1],x=v[2],E=t.properties[m];if(!E){De("Skipping property: Invalid property name in: "+i),l();continue}var P=n.parse(m,x);if(!P){De("Skipping property: Invalid property definition in: "+i),l();continue}y.push({name:m,val:x}),l()}if(g){c();break}n.selector(h);for(var C=0;C=7&&t[0]==="d"&&(d=new RegExp(c.data.regex).exec(t))){if(n)return!1;var p=c.data;return{name:e,value:d,strValue:""+t,mapped:p,field:d[1],bypass:n}}else if(t.length>=10&&t[0]==="m"&&(h=new RegExp(c.mapData.regex).exec(t))){if(n||s.multiple)return!1;var f=c.mapData;if(!(s.color||s.number))return!1;var g=this.parse(e,h[4]);if(!g||g.mapped)return!1;var y=this.parse(e,h[5]);if(!y||y.mapped)return!1;if(g.pfValue===y.pfValue||g.strValue===y.strValue)return De("`"+e+": "+t+"` is not a valid mapper because the output range is zero; converting to `"+e+": "+g.strValue+"`"),this.parse(e,g.strValue);if(s.color){var b=g.value,v=y.value,m=b[0]===v[0]&&b[1]===v[1]&&b[2]===v[2]&&(b[3]===v[3]||(b[3]==null||b[3]===1)&&(v[3]==null||v[3]===1));if(m)return!1}return{name:e,value:h,strValue:""+t,mapped:f,field:h[1],fieldMin:parseFloat(h[2]),fieldMax:parseFloat(h[3]),valueMin:g.value,valueMax:y.value,bypass:n}}}if(s.multiple&&r!=="multiple"){var x;if(l?x=t.split(/\s+/):Me(t)?x=t:x=[t],s.evenMultiple&&x.length%2!==0)return null;for(var E=[],P=[],C=[],w="",S=!1,I=0;I0?" ":"")+D.strValue}return s.validate&&!s.validate(E,P)?null:s.singleEnum&&S?E.length===1&&pe(E[0])?{name:e,value:E[0],strValue:E[0],bypass:n}:null:{name:e,value:E,pfValue:C,strValue:w,bypass:n,units:P}}var B=u(function(){for(var N=0;Ns.max||s.strictMax&&t===s.max))return null;var L={name:e,value:t,strValue:""+t+(T||""),units:T,bypass:n};return s.unitless||T!=="px"&&T!=="em"?L.pfValue=t:L.pfValue=T==="px"||!T?t:this.getEmSizeInPixels()*t,(T==="ms"||T==="s")&&(L.pfValue=T==="ms"?t:1e3*t),(T==="deg"||T==="rad")&&(L.pfValue=T==="rad"?t:Sd(t)),T==="%"&&(L.pfValue=t/100),L}else if(s.propList){var z=[],A=""+t;if(A!=="none"){for(var R=A.split(/\s*,\s*|\s+/),Y=0;Y0&&i>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0){c=Math.min((o-2*t)/n.w,(i-2*t)/n.h),c=c>this._private.maxZoom?this._private.maxZoom:c,c=c=n.minZoom&&(n.maxZoom=t),this},"zoomRange"),minZoom:u(function(e){return e===void 0?this._private.minZoom:this.zoomRange({min:e})},"minZoom"),maxZoom:u(function(e){return e===void 0?this._private.maxZoom:this.zoomRange({max:e})},"maxZoom"),getZoomedViewport:u(function(e){var t=this._private,n=t.pan,r=t.zoom,a,o,i=!1;if(t.zoomingEnabled||(i=!0),re(e)?o=e:Ce(e)&&(o=e.level,e.position!=null?a=Ea(e.position,r,n):e.renderedPosition!=null&&(a=e.renderedPosition),a!=null&&!t.panningEnabled&&(i=!0)),o=o>t.maxZoom?t.maxZoom:o,o=ot.maxZoom||!t.zoomingEnabled?o=!0:(t.zoom=c,a.push("zoom"))}if(r&&(!o||!e.cancelOnFailedZoom)&&t.panningEnabled){var l=e.pan;re(l.x)&&(t.pan.x=l.x,i=!1),re(l.y)&&(t.pan.y=l.y,i=!1),i||a.push("pan")}return a.length>0&&(a.push("viewport"),this.emit(a.join(" ")),this.notify("viewport")),this},"viewport"),center:u(function(e){var t=this.getCenterPan(e);return t&&(this._private.pan=t,this.emit("pan viewport"),this.notify("viewport")),this},"center"),getCenterPan:u(function(e,t){if(this._private.panningEnabled){if(pe(e)){var n=e;e=this.mutableElements().filter(n)}else gt(e)||(e=this.mutableElements());if(e.length!==0){var r=e.boundingBox(),a=this.width(),o=this.height();t=t===void 0?this._private.zoom:t;var i={x:(a-t*(r.x1+r.x2))/2,y:(o-t*(r.y1+r.y2))/2};return i}}},"getCenterPan"),reset:u(function(){return!this._private.panningEnabled||!this._private.zoomingEnabled?this:(this.viewport({pan:{x:0,y:0},zoom:1}),this)},"reset"),invalidateSize:u(function(){this._private.sizeCache=null},"invalidateSize"),size:u(function(){var e=this._private,t=e.container,n=this;return e.sizeCache=e.sizeCache||(t?function(){var r=n.window().getComputedStyle(t),a=u(function(o){return parseFloat(r.getPropertyValue(o))},"val");return{width:t.clientWidth-a("padding-left")-a("padding-right"),height:t.clientHeight-a("padding-top")-a("padding-bottom")}}():{width:1,height:1})},"size"),width:u(function(){return this.size().width},"width"),height:u(function(){return this.size().height},"height"),extent:u(function(){var e=this._private.pan,t=this._private.zoom,n=this.renderedExtent(),r={x1:(n.x1-e.x)/t,x2:(n.x2-e.x)/t,y1:(n.y1-e.y)/t,y2:(n.y2-e.y)/t};return r.w=r.x2-r.x1,r.h=r.y2-r.y1,r},"extent"),renderedExtent:u(function(){var e=this.width(),t=this.height();return{x1:0,y1:0,x2:e,y2:t,w:e,h:t}},"renderedExtent"),multiClickDebounceTime:u(function(e){if(e)this._private.multiClickDebounceTime=e;else return this._private.multiClickDebounceTime;return this},"multiClickDebounceTime")};bn.centre=bn.center;bn.autolockNodes=bn.autolock;bn.autoungrabifyNodes=bn.autoungrabify;var mr={data:_e.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:_e.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:_e.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:_e.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};mr.attr=mr.data;mr.removeAttr=mr.removeData;var br=u(function(e){var t=this;e=ve({},e);var n=e.container;n&&!ia(n)&&ia(n[0])&&(n=n[0]);var r=n?n._cyreg:null;r=r||{},r&&r.cy&&(r.cy.destroy(),r={});var a=r.readies=r.readies||[];n&&(n._cyreg=r),r.cy=t;var o=Ye!==void 0&&n!==void 0&&!e.headless,i=e;i.layout=ve({name:o?"grid":"null"},i.layout),i.renderer=ve({name:o?"canvas":"null"},i.renderer);var c=u(function(p,f,g){return f!==void 0?f:g!==void 0?g:p},"defVal"),l=this._private={container:n,ready:!1,options:i,elements:new Je(this),listeners:[],aniEles:new Je(this),data:i.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:c(!0,i.zoomingEnabled),userZoomingEnabled:c(!0,i.userZoomingEnabled),panningEnabled:c(!0,i.panningEnabled),userPanningEnabled:c(!0,i.userPanningEnabled),boxSelectionEnabled:c(!0,i.boxSelectionEnabled),autolock:c(!1,i.autolock,i.autolockNodes),autoungrabify:c(!1,i.autoungrabify,i.autoungrabifyNodes),autounselectify:c(!1,i.autounselectify),styleEnabled:i.styleEnabled===void 0?o:i.styleEnabled,zoom:re(i.zoom)?i.zoom:1,pan:{x:Ce(i.pan)&&re(i.pan.x)?i.pan.x:0,y:Ce(i.pan)&&re(i.pan.y)?i.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:c(250,i.multiClickDebounceTime)};this.createEmitter(),this.selectionType(i.selectionType),this.zoomRange({min:i.minZoom,max:i.maxZoom});var s=u(function(p,f){var g=p.some(oc);if(g)return Hn.all(p).then(f);f(p)},"loadExtData");l.styleEnabled&&t.setStyle([]);var d=ve({},i,i.renderer);t.initRenderer(d);var h=u(function(p,f,g){t.notifications(!1);var y=t.mutableElements();y.length>0&&y.remove(),p!=null&&(Ce(p)||Me(p))&&t.add(p),t.one("layoutready",function(v){t.notifications(!0),t.emit(v),t.one("load",f),t.emitAndNotify("load")}).one("layoutstop",function(){t.one("done",g),t.emit("done")});var b=ve({},t._private.options.layout);b.eles=t.elements(),t.layout(b).run()},"setElesAndLayout");s([i.style,i.elements],function(p){var f=p[0],g=p[1];l.styleEnabled&&t.style().append(f),h(g,function(){t.startAnimationLoop(),l.ready=!0,ze(i.ready)&&t.on("ready",i.ready);for(var y=0;y0,l=pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),s;if(gt(t.roots))s=t.roots;else if(Me(t.roots)){for(var d=[],h=0;h0;){var O=_(),L=D(O,T);if(L)O.outgoers().filter(function(Q){return Q.isNode()&&r.has(Q)}).forEach(M);else if(L===null){De("Detected double maximal shift for node `"+O.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}I();var z=0;if(t.avoidOverlap)for(var A=0;A0&&v[0].length<=3?Be/2:0),Se=2*Math.PI/v[ie].length*he;return ie===0&&v[0].length===1&&(Ee=1),{x:ne.x+Ee*Math.cos(Se),y:ne.y+Ee*Math.sin(Se)}}else{var k={x:ne.x+(he+1-(ye+1)/2)*xe,y:(ie+1)*we};return k}},"getPosition");return r.nodes().layoutPositions(this,t,be),this};var og={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:u(function(e,t){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:u(function(e,t){return t},"transform")};function Xi(e){this.options=ve({},og,e)}u(Xi,"CircleLayout");Xi.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,a=t.counterclockwise!==void 0?!t.counterclockwise:t.clockwise,o=r.nodes().not(":parent");t.sort&&(o=o.sort(t.sort));for(var i=pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c={x:i.x1+i.w/2,y:i.y1+i.h/2},l=t.sweep===void 0?2*Math.PI-2*Math.PI/o.length:t.sweep,s=l/Math.max(1,o.length-1),d,h=0,p=0;p1&&t.avoidOverlap){h*=1.75;var v=Math.cos(s)-Math.cos(0),m=Math.sin(s)-Math.sin(0),x=Math.sqrt(h*h/(v*v+m*m));d=Math.max(x,d)}var E=u(function(P,C){var w=t.startAngle+C*s*(a?1:-1),S=d*Math.cos(w),I=d*Math.sin(w),D={x:c.x+S,y:c.y+I};return D},"getPos");return r.nodes().layoutPositions(this,t,E),this};var sg={fit:!0,padding:30,startAngle:3/2*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:u(function(e){return e.degree()},"concentric"),levelWidth:u(function(e){return e.maxDegree()/4},"levelWidth"),animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:u(function(e,t){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:u(function(e,t){return t},"transform")};function Yi(e){this.options=ve({},sg,e)}u(Yi,"ConcentricLayout");Yi.prototype.run=function(){for(var e=this.options,t=e,n=t.counterclockwise!==void 0?!t.counterclockwise:t.clockwise,r=e.cy,a=t.eles,o=a.nodes().not(":parent"),i=pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:r.width(),h:r.height()}),c={x:i.x1+i.w/2,y:i.y1+i.h/2},l=[],s=0,d=0;d0){var P=Math.abs(m[0].value-E.value);P>=b&&(m=[],v.push(m))}m.push(E)}var C=s+t.minNodeSpacing;if(!t.avoidOverlap){var w=v.length>0&&v[0].length>1,S=Math.min(i.w,i.h)/2-C,I=S/(v.length+w?1:0);C=Math.min(C,I)}for(var D=0,B=0;B1&&t.avoidOverlap){var O=Math.cos(_)-Math.cos(0),L=Math.sin(_)-Math.sin(0),z=Math.sqrt(C*C/(O*O+L*L));D=Math.max(z,D)}T.r=D,D+=C}if(t.equidistant){for(var A=0,R=0,Y=0;Y=e.numIter||(gg(r,e),r.temperature=r.temperature*e.coolingFactor,r.temperature=e.animationThreshold&&o(),oa(h)}},"frame");d()}else{for(;s;)s=i(l),l++;Zo(r,e),c()}return this};Br.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this};Br.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var ug=u(function(e,t,n){for(var r=n.eles.edges(),a=n.eles.nodes(),o=pt(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),i={isCompound:e.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:a.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:r.size(),temperature:n.initialTemp,clientWidth:o.w,clientHeight:o.h,boundingBox:o},c=n.eles.components(),l={},s=0;s0){i.graphSet.push(w);for(var s=0;sr.count?0:r.graph},"findLCA"),dg=u(function e(t,n,r,a){var o=a.graphSet[r];if(-10)var b=r.nodeOverlap*s,y=Math.sqrt(i*i+c*c),v=b*i/y,m=b*c/y;else var d=pa(e,i,c),h=pa(t,-1*i,-1*c),p=h.x-d.x,f=h.y-d.y,g=p*p+f*f,y=Math.sqrt(g),b=(e.nodeRepulsion+t.nodeRepulsion)/g,v=b*p/y,m=b*f/y;e.isLocked||(e.offsetX-=v,e.offsetY-=m),t.isLocked||(t.offsetX+=v,t.offsetY+=m)}},"nodeRepulsion"),mg=u(function(e,t,n,r){if(n>0)var a=e.maxX-t.minX;else var a=t.maxX-e.minX;if(r>0)var o=e.maxY-t.minY;else var o=t.maxY-e.minY;return a>=0&&o>=0?Math.sqrt(a*a+o*o):0},"nodesOverlap"),pa=u(function(e,t,n){var r=e.positionX,a=e.positionY,o=e.height||1,i=e.width||1,c=n/t,l=o/i,s={};return t===0&&0n?(s.x=r,s.y=a+o/2,s):0t&&-1*l<=c&&c<=l?(s.x=r-i/2,s.y=a-i*n/2/t,s):0=l)?(s.x=r+o*t/2/n,s.y=a+o/2,s):(0>n&&(c<=-1*l||c>=l)&&(s.x=r-o*t/2/n,s.y=a-o/2),s)},"findClippingPoint"),bg=u(function(e,t){for(var n=0;nn){var y=t.gravity*p/g,b=t.gravity*f/g;h.offsetX+=y,h.offsetY+=b}}}}},"calculateGravityForces"),wg=u(function(e,t){var n=[],r=0,a=-1;for(n.push.apply(n,e.graphSet[0]),a+=e.graphSet[0].length;r<=a;){var o=n[r++],i=e.idToIndex[o],c=e.layoutNodes[i],l=c.children;if(0n)var a={x:n*e/r,y:n*t/r};else var a={x:e,y:t};return a},"limitForce"),Cg=u(function e(t,n){var r=t.parentId;if(r!=null){var a=n.layoutNodes[n.idToIndex[r]],o=!1;if((a.maxX==null||t.maxX+a.padRight>a.maxX)&&(a.maxX=t.maxX+a.padRight,o=!0),(a.minX==null||t.minX-a.padLefta.maxY)&&(a.maxY=t.maxY+a.padBottom,o=!0),(a.minY==null||t.minY-a.padTopb&&(f+=y+t.componentSpacing,p=0,g=0,y=0)}}},"separateComponents"),Sg={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:u(function(e){},"position"),sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:u(function(e,t){return!0},"animateFilter"),ready:void 0,stop:void 0,transform:u(function(e,t){return t},"transform")};function Hi(e){this.options=ve({},Sg,e)}u(Hi,"GridLayout");Hi.prototype.run=function(){var e=this.options,t=e,n=e.cy,r=t.eles,a=r.nodes().not(":parent");t.sort&&(a=a.sort(t.sort));var o=pt(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(o.h===0||o.w===0)r.nodes().layoutPositions(this,t,function(W){return{x:o.x1,y:o.y1}});else{var i=a.size(),c=Math.sqrt(i*o.h/o.w),l=Math.round(c),s=Math.round(o.w/o.h*c),d=u(function(W){if(W==null)return Math.min(l,s);var J=Math.min(l,s);J==l?l=W:s=W},"small"),h=u(function(W){if(W==null)return Math.max(l,s);var J=Math.max(l,s);J==l?l=W:s=W},"large"),p=t.rows,f=t.cols!=null?t.cols:t.columns;if(p!=null&&f!=null)l=p,s=f;else if(p!=null&&f==null)l=p,s=Math.ceil(i/l);else if(p==null&&f!=null)s=f,l=Math.ceil(i/s);else if(s*l>i){var g=d(),y=h();(g-1)*y>=i?d(g-1):(y-1)*g>=i&&h(y-1)}else for(;s*l=i?h(v+1):d(b+1)}var m=o.w/s,x=o.h/l;if(t.condense&&(m=0,x=0),t.avoidOverlap)for(var E=0;E=s&&(O=0,_++)},"moveToNextCell"),z={},A=0;A(z=Rd(e,t,A[R],A[R+1],A[R+2],A[R+3])))return b(w,z),!0}else if(I.edgeType==="bezier"||I.edgeType==="multibezier"||I.edgeType==="self"||I.edgeType==="compound"){for(var A=I.allpts,R=0;R+5(z=zd(e,t,A[R],A[R+1],A[R+2],A[R+3],A[R+4],A[R+5])))return b(w,z),!0}for(var O=O||S.source,L=L||S.target,Y=a.getArrowWidth(D,B),V=[{name:"source",x:I.arrowStartX,y:I.arrowStartY,angle:I.srcArrowAngle},{name:"target",x:I.arrowEndX,y:I.arrowEndY,angle:I.tgtArrowAngle},{name:"mid-source",x:I.midX,y:I.midY,angle:I.midsrcArrowAngle},{name:"mid-target",x:I.midX,y:I.midY,angle:I.midtgtArrowAngle}],R=0;R0&&(v(O),v(L))}u(m,"checkEdge");function x(w,S,I){return Tt(w,S,I)}u(x,"preprop");function E(w,S){var I=w._private,D=p,B;S?B=S+"-":B="",w.boundingBox();var T=I.labelBounds[S||"main"],M=w.pstyle(B+"label").value,_=w.pstyle("text-events").strValue==="yes";if(!(!_||!M)){var O=x(I.rscratch,"labelX",S),L=x(I.rscratch,"labelY",S),z=x(I.rscratch,"labelAngle",S),A=w.pstyle(B+"text-margin-x").pfValue,R=w.pstyle(B+"text-margin-y").pfValue,Y=T.x1-D-A,V=T.x2+D-A,j=T.y1-D-R,W=T.y2+D-R;if(z){var J=Math.cos(z),ae=Math.sin(z),Z=u(function(de,be){return de=de-O,be=be-L,{x:de*J-be*ae+O,y:de*ae+be*J+L}},"rotate"),$=Z(Y,j),N=Z(Y,W),G=Z(V,j),U=Z(V,W),ne=[$.x+A,$.y+R,G.x+A,G.y+R,U.x+A,U.y+R,N.x+A,N.y+R];if(ht(e,t,ne))return b(w),!0}else if(Vn(T,e,t))return b(w),!0}}u(E,"checkLabel");for(var P=i.length-1;P>=0;P--){var C=i[P];C.isNode()?v(C)||E(C):m(C)||E(C)||E(C,"source")||E(C,"target")}return c};Sn.getAllInBox=function(e,t,n,r){var a=this.getCachedZSortedEles().interactive,o=[],i=Math.min(e,n),c=Math.max(e,n),l=Math.min(t,r),s=Math.max(t,r);e=i,n=c,t=l,r=s;for(var d=pt({x1:e,y1:t,x2:n,y2:r}),h=0;h0?-(Math.PI-e.ang):Math.PI+e.ang},"invertVec"),Ig=u(function(e,t,n,r,a){if(e!==ts?ns(t,e,Mt):Bg(yt,Mt),ns(t,n,yt),Jo=Mt.nx*yt.ny-Mt.ny*yt.nx,es=Mt.nx*yt.nx-Mt.ny*-yt.ny,Ft=Math.asin(Math.max(-1,Math.min(1,Jo))),Math.abs(Ft)<1e-6){di=t.x,hi=t.y,dn=Dn=0;return}hn=1,na=!1,es<0?Ft<0?Ft=Math.PI+Ft:(Ft=Math.PI-Ft,hn=-1,na=!0):Ft>0&&(hn=-1,na=!0),t.radius!==void 0?Dn=t.radius:Dn=r,an=Ft/2,Hr=Math.min(Mt.len/2,yt.len/2),a?(It=Math.abs(Math.cos(an)*Dn/Math.sin(an)),It>Hr?(It=Hr,dn=Math.abs(It*Math.sin(an)/Math.cos(an))):dn=Dn):(It=Math.min(Hr,Dn),dn=Math.abs(It*Math.sin(an)/Math.cos(an))),pi=t.x+yt.nx*It,fi=t.y+yt.ny*It,di=pi-yt.ny*dn*hn,hi=fi+yt.nx*dn*hn,yu=t.x+Mt.nx*It,mu=t.y+Mt.ny*It,ts=t},"calcCornerArc");function Zi(e,t){t.radius===0?e.lineTo(t.cx,t.cy):e.arc(t.cx,t.cy,t.radius,t.startAngle,t.endAngle,t.counterClockwise)}u(Zi,"drawPreparedRoundCorner");function Aa(e,t,n,r){var a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;return r===0||t.radius===0?{cx:t.x,cy:t.y,radius:0,startX:t.x,startY:t.y,stopX:t.x,stopY:t.y,startAngle:void 0,endAngle:void 0,counterClockwise:void 0}:(Ig(e,t,n,r,a),{cx:di,cy:hi,radius:dn,startX:yu,startY:mu,stopX:pi,stopY:fi,startAngle:Mt.ang+Math.PI/2*hn,endAngle:yt.ang-Math.PI/2*hn,counterClockwise:na})}u(Aa,"getRoundCorner");var st={};st.findMidptPtsEtc=function(e,t){var n=t.posPts,r=t.intersectionPts,a=t.vectorNormInverse,o,i=e.pstyle("source-endpoint"),c=e.pstyle("target-endpoint"),l=i.units!=null&&c.units!=null,s=u(function(E,P,C,w){var S=w-P,I=C-E,D=Math.sqrt(I*I+S*S);return{x:-S/D,y:I/D}},"recalcVectorNormInverse"),d=e.pstyle("edge-distances").value;switch(d){case"node-position":o=n;break;case"intersection":o=r;break;case"endpoints":{if(l){var h=this.manualEndptToPx(e.source()[0],i),p=mt(h,2),f=p[0],g=p[1],y=this.manualEndptToPx(e.target()[0],c),b=mt(y,2),v=b[0],m=b[1],x={x1:f,y1:g,x2:v,y2:m};a=s(f,g,v,m),o=x}else De("Edge ".concat(e.id()," has edge-distances:endpoints specified without manual endpoints specified via source-endpoint and target-endpoint. Falling back on edge-distances:intersection (default).")),o=r;break}}return{midptPts:o,vectorNormInverse:a}};st.findHaystackPoints=function(e){for(var t=0;t0?Math.max(fe-ge,0):Math.min(fe+ge,0)},"subDWH"),M=T(D,S),_=T(B,I),O=!1;m===s?v=Math.abs(M)>Math.abs(_)?a:r:m===l||m===c?(v=r,O=!0):(m===o||m===i)&&(v=a,O=!0);var L=v===r,z=L?_:M,A=L?B:D,R=Ys(A),Y=!1;!(O&&(E||C))&&(m===c&&A<0||m===l&&A>0||m===o&&A>0||m===i&&A<0)&&(R*=-1,z=R*Math.abs(z),Y=!0);var V;if(E){var j=P<0?1+P:P;V=j*z}else{var W=P<0?z:0;V=W+P*R}var J=u(function(fe){return Math.abs(fe)=Math.abs(z)},"getIsTooClose"),ae=J(V),Z=J(Math.abs(z)-Math.abs(V)),$=ae||Z;if($&&!Y)if(L){var N=Math.abs(A)<=p/2,G=Math.abs(D)<=f/2;if(N){var U=(d.x1+d.x2)/2,ne=d.y1,de=d.y2;n.segpts=[U,ne,U,de]}else if(G){var be=(d.y1+d.y2)/2,Q=d.x1,se=d.x2;n.segpts=[Q,be,se,be]}else n.segpts=[d.x1,d.y2]}else{var ie=Math.abs(A)<=h/2,he=Math.abs(B)<=g/2;if(ie){var ye=(d.y1+d.y2)/2,xe=d.x1,we=d.x2;n.segpts=[xe,ye,we,ye]}else if(he){var Be=(d.x1+d.x2)/2,Ee=d.y1,Se=d.y2;n.segpts=[Be,Ee,Be,Se]}else n.segpts=[d.x2,d.y1]}else if(L){var k=d.y1+V+(b?p/2*R:0),F=d.x1,K=d.x2;n.segpts=[F,k,K,k]}else{var H=d.x1+V+(b?h/2*R:0),q=d.y1,te=d.y2;n.segpts=[H,q,H,te]}if(n.isRound){var X=e.pstyle("taxi-radius").value,ee=e.pstyle("radius-type").value[0]==="arc-radius";n.radii=new Array(n.segpts.length/2).fill(X),n.isArcRadius=new Array(n.segpts.length/2).fill(ee)}};st.tryToCorrectInvalidPoints=function(e,t){var n=e._private.rscratch;if(n.edgeType==="bezier"){var r=t.srcPos,a=t.tgtPos,o=t.srcW,i=t.srcH,c=t.tgtW,l=t.tgtH,s=t.srcShape,d=t.tgtShape,h=t.srcCornerRadius,p=t.tgtCornerRadius,f=t.srcRs,g=t.tgtRs,y=!re(n.startX)||!re(n.startY),b=!re(n.arrowStartX)||!re(n.arrowStartY),v=!re(n.endX)||!re(n.endY),m=!re(n.arrowEndX)||!re(n.arrowEndY),x=3,E=this.getArrowWidth(e.pstyle("width").pfValue,e.pstyle("arrow-scale").value)*this.arrowShapeWidth,P=x*E,C=vn({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=CM.poolIndex()){var _=T;T=M,M=_}var O=S.srcPos=T.position(),L=S.tgtPos=M.position(),z=S.srcW=T.outerWidth(),A=S.srcH=T.outerHeight(),R=S.tgtW=M.outerWidth(),Y=S.tgtH=M.outerHeight(),V=S.srcShape=n.nodeShapes[t.getNodeShape(T)],j=S.tgtShape=n.nodeShapes[t.getNodeShape(M)],W=S.srcCornerRadius=T.pstyle("corner-radius").value==="auto"?"auto":T.pstyle("corner-radius").pfValue,J=S.tgtCornerRadius=M.pstyle("corner-radius").value==="auto"?"auto":M.pstyle("corner-radius").pfValue,ae=S.tgtRs=M._private.rscratch,Z=S.srcRs=T._private.rscratch;S.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var $=0;$0){var de=o,be=sn(de,An(n)),Q=sn(de,An(ne)),se=be;if(Q2){var ie=sn(de,{x:ne[2],y:ne[3]});ie0){var te=i,X=sn(te,An(n)),ee=sn(te,An(q)),fe=X;if(ee2){var ge=sn(te,{x:q[2],y:q[3]});ge=f||C){y={cp:x,segment:P};break}}if(y)break}var w=y.cp,S=y.segment,I=(f-b)/S.length,D=S.t1-S.t0,B=p?S.t0+D*I:S.t1-D*I;B=pr(0,B,1),t=On(w.p0,w.p1,w.p2,B),h=Mg(w.p0,w.p1,w.p2,B);break}case"straight":case"segments":case"haystack":{for(var T=0,M,_,O,L,z=r.allpts.length,A=0;A+3=f));A+=2);var R=f-_,Y=R/M;Y=pr(0,Y,1),t=Td(O,L,Y),h=wu(O,L);break}}i("labelX",d,t.x),i("labelY",d,t.y),i("labelAutoAngle",d,h)}},"calculateEndProjection");s("source"),s("target"),this.applyLabelDimensions(e)}};Lt.applyLabelDimensions=function(e){this.applyPrefixedLabelDimensions(e),e.isEdge()&&(this.applyPrefixedLabelDimensions(e,"source"),this.applyPrefixedLabelDimensions(e,"target"))};Lt.applyPrefixedLabelDimensions=function(e,t){var n=e._private,r=this.getLabelText(e,t),a=this.calculateLabelDimensions(e,r),o=e.pstyle("line-height").pfValue,i=e.pstyle("text-wrap").strValue,c=Tt(n.rscratch,"labelWrapCachedLines",t)||[],l=i!=="wrap"?1:Math.max(c.length,1),s=a.height/l,d=s*o,h=a.width,p=a.height+(l-1)*(o-1)*s;Ut(n.rstyle,"labelWidth",t,h),Ut(n.rscratch,"labelWidth",t,h),Ut(n.rstyle,"labelHeight",t,p),Ut(n.rscratch,"labelHeight",t,p),Ut(n.rscratch,"labelLineHeight",t,d)};Lt.getLabelText=function(e,t){var n=e._private,r=t?t+"-":"",a=e.pstyle(r+"label").strValue,o=e.pstyle("text-transform").value,i=u(function(j,W){return W?(Ut(n.rscratch,j,t,W),W):Tt(n.rscratch,j,t)},"rscratch");if(!a)return"";o=="none"||(o=="uppercase"?a=a.toUpperCase():o=="lowercase"&&(a=a.toLowerCase()));var c=e.pstyle("text-wrap").value;if(c==="wrap"){var l=i("labelKey");if(l!=null&&i("labelWrapKey")===l)return i("labelWrapCachedText");for(var s="​",d=a.split(` `),h=e.pstyle("text-max-width").pfValue,p=e.pstyle("text-overflow-wrap").value,f=p==="anywhere",g=[],y=/[\s\u200b]+|$/g,b=0;bh){var P=v.matchAll(y),C="",w=0,S=ki(P),I;try{for(S.s();!(I=S.n()).done;){var D=I.value,B=D[0],T=v.substring(w,D.index);w=D.index+B.length;var M=C.length===0?T:C+T+B,_=this.calculateLabelDimensions(e,M),O=_.width;O<=h?C+=T+B:(C&&g.push(C),C=T+B)}}catch(j){S.e(j)}finally{S.f()}C.match(/^[\s\u200b]+$/)||g.push(C)}else g.push(v)}i("labelWrapCachedLines",g),a=i("labelWrapCachedText",g.join(` diff --git a/assets/chunk-UBDM6ZOM-2OqPPdFm.js b/assets/chunk-UBDM6ZOM-Ds8YQakE.js similarity index 99% rename from assets/chunk-UBDM6ZOM-2OqPPdFm.js rename to assets/chunk-UBDM6ZOM-Ds8YQakE.js index cc8aef87..3fc2b332 100644 --- a/assets/chunk-UBDM6ZOM-2OqPPdFm.js +++ b/assets/chunk-UBDM6ZOM-Ds8YQakE.js @@ -1,4 +1,4 @@ -import{w as Et,$ as bt}from"./chunk-4YMK7POB-1jnwl01V.js";import{m as u,N as mt,Q as D,i as U,d as O,v as kt,J as Ye,I as je,b as te,Y as Tt,w as Ft,B as Dt,M as Bt,F as _t,L as St,A as Nt,V as $t,S as Lt}from"./mermaid.esm.min-DnxZBvzk.js";var Qe=function(){var e=u(function(L,l,p,n){for(p=p||{},n=L.length;n--;p[L[n]]=l);return p},"o"),i=[1,18],a=[1,19],r=[1,20],c=[1,41],o=[1,42],A=[1,26],d=[1,24],k=[1,25],ne=[1,32],be=[1,33],me=[1,34],f=[1,45],ke=[1,35],Te=[1,36],Fe=[1,37],De=[1,38],Be=[1,27],_e=[1,28],Se=[1,29],Ne=[1,30],$e=[1,31],C=[1,44],E=[1,46],b=[1,43],T=[1,47],Le=[1,9],h=[1,8,9],ae=[1,58],ue=[1,59],re=[1,60],le=[1,61],oe=[1,62],Ie=[1,63],Oe=[1,64],ce=[1,8,9,41],He=[1,76],M=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],he=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],pe=[13,58,84,99,101,102],W=[13,58,71,72,84,99,101,102],qe=[13,58,66,67,68,69,70,84,99,101,102],xe=[1,98],j=[1,115],z=[1,107],X=[1,113],H=[1,108],q=[1,109],V=[1,110],J=[1,111],Z=[1,112],ee=[1,114],Ve=[22,58,59,80,84,85,86,87,88,89],ve=[1,8,9,39,41,44],Ae=[1,8,9,22],Je=[1,143],Ze=[1,8,9,59],N=[1,8,9,22,58,59,80,84,85,86,87,88,89],we={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:u(function(L,l,p,n,y,t,B){var s=t.length-1;switch(y){case 8:this.$=t[s-1];break;case 9:case 12:case 14:this.$=t[s];break;case 10:case 13:this.$=t[s-2]+"."+t[s];break;case 11:case 15:this.$=t[s-1]+t[s];break;case 16:case 17:this.$=t[s-1]+"~"+t[s]+"~";break;case 18:n.addRelation(t[s]);break;case 19:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 30:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 31:case 32:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 33:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 34:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 35:this.$=t[s],n.addNamespace(t[s]);break;case 36:this.$=[t[s]];break;case 37:this.$=[t[s-1]];break;case 38:t[s].unshift(t[s-2]),this.$=t[s];break;case 40:n.setCssClass(t[s-2],t[s]);break;case 41:n.addMembers(t[s-3],t[s-1]);break;case 42:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],n.addClass(t[s]);break;case 44:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 45:n.addAnnotation(t[s],t[s-2]);break;case 46:case 59:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:break;case 49:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 50:break;case 51:break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:n.addNote(t[s],t[s-1]);break;case 57:n.addNote(t[s]);break;case 58:this.$=t[s-2],n.defineClass(t[s-1],t[s]);break;case 60:this.$=t[s-2].concat([t[s]]);break;case 61:n.setDirection("TB");break;case 62:n.setDirection("BT");break;case 63:n.setDirection("RL");break;case 64:n.setDirection("LR");break;case 65:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 66:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 67:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 68:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 69:this.$=n.relationType.AGGREGATION;break;case 70:this.$=n.relationType.EXTENSION;break;case 71:this.$=n.relationType.COMPOSITION;break;case 72:this.$=n.relationType.DEPENDENCY;break;case 73:this.$=n.relationType.LOLLIPOP;break;case 74:this.$=n.lineType.LINE;break;case 75:this.$=n.lineType.DOTTED_LINE;break;case 76:case 82:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 77:case 83:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 78:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 79:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 84:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 85:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 86:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 87:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 88:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 89:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 90:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 91:n.setCssClass(t[s-1],t[s]);break;case 92:this.$=[t[s]];break;case 93:t[s-2].push(t[s]),this.$=t[s-2];break;case 95:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:c,43:23,46:o,47:A,49:d,50:k,52:ne,54:be,55:me,58:f,60:ke,61:Te,62:Fe,63:De,73:Be,74:_e,76:Se,80:Ne,81:$e,84:C,99:E,101:b,102:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Le,[2,5],{8:[1,48]}),{8:[1,49]},e(h,[2,18],{22:[1,50]}),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(h,[2,23]),e(h,[2,24]),e(h,[2,25]),e(h,[2,26]),e(h,[2,27]),e(h,[2,28]),e(h,[2,29]),{34:[1,51]},{36:[1,52]},e(h,[2,32]),e(h,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:ae,67:ue,68:re,69:le,70:oe,71:Ie,72:Oe}),{39:[1,65]},e(ce,[2,39],{39:[1,67],44:[1,66]}),e(h,[2,50]),e(h,[2,51]),{16:68,58:f,84:C,99:E,101:b},{16:39,18:69,19:40,58:f,84:C,99:E,101:b,102:T},{16:39,18:70,19:40,58:f,84:C,99:E,101:b,102:T},{16:39,18:71,19:40,58:f,84:C,99:E,101:b,102:T},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:f,84:C,99:E,101:b,102:T},{13:He,53:75},{56:77,58:[1,78]},e(h,[2,61]),e(h,[2,62]),e(h,[2,63]),e(h,[2,64]),e(M,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:f,84:C,99:E,101:b,102:T}),e(M,[2,14],{20:[1,82]}),{15:83,16:84,58:f,84:C,99:E,101:b},{16:39,18:85,19:40,58:f,84:C,99:E,101:b,102:T},e(he,[2,118]),e(he,[2,119]),e(he,[2,120]),e(he,[2,121]),e([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),e(Le,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:i,35:a,37:r,42:c,46:o,47:A,49:d,50:k,52:ne,54:be,55:me,58:f,60:ke,61:Te,62:Fe,63:De,73:Be,74:_e,76:Se,80:Ne,81:$e,84:C,99:E,101:b,102:T}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:c,43:23,46:o,47:A,49:d,50:k,52:ne,54:be,55:me,58:f,60:ke,61:Te,62:Fe,63:De,73:Be,74:_e,76:Se,80:Ne,81:$e,84:C,99:E,101:b,102:T},e(h,[2,19]),e(h,[2,30]),e(h,[2,31]),{13:[1,89],16:39,18:88,19:40,58:f,84:C,99:E,101:b,102:T},{51:90,64:56,65:57,66:ae,67:ue,68:re,69:le,70:oe,71:Ie,72:Oe},e(h,[2,49]),{65:91,71:Ie,72:Oe},e(pe,[2,68],{64:92,66:ae,67:ue,68:re,69:le,70:oe}),e(W,[2,69]),e(W,[2,70]),e(W,[2,71]),e(W,[2,72]),e(W,[2,73]),e(qe,[2,74]),e(qe,[2,75]),{8:[1,94],24:95,40:93,43:23,46:o},{16:96,58:f,84:C,99:E,101:b},{45:97,49:xe},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:j,57:104,58:z,80:X,82:105,83:106,84:H,85:q,86:V,87:J,88:Z,89:ee},{58:[1,116]},{13:He,53:117},e(h,[2,57]),e(h,[2,123]),{22:j,57:118,58:z,59:[1,119],80:X,82:105,83:106,84:H,85:q,86:V,87:J,88:Z,89:ee},e(Ve,[2,59]),{16:39,18:120,19:40,58:f,84:C,99:E,101:b,102:T},e(M,[2,15]),e(M,[2,16]),e(M,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:f,84:C,99:E,101:b},e(ve,[2,43],{11:123,12:[1,124]}),e(Le,[2,7]),{9:[1,125]},e(Ae,[2,52]),{16:39,18:126,19:40,58:f,84:C,99:E,101:b,102:T},{13:[1,128],16:39,18:127,19:40,58:f,84:C,99:E,101:b,102:T},e(pe,[2,67],{64:129,66:ae,67:ue,68:re,69:le,70:oe}),e(pe,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:o},{8:[1,132],41:[2,36]},e(ce,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:xe},{16:39,18:136,19:40,58:f,84:C,99:E,101:b,102:T},e(h,[2,76],{13:[1,137]}),e(h,[2,78],{13:[1,139],75:[1,138]}),e(h,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},e(h,[2,90],{59:Je}),e(Ze,[2,92],{83:144,22:j,58:z,80:X,84:H,85:q,86:V,87:J,88:Z,89:ee}),e(N,[2,94]),e(N,[2,96]),e(N,[2,97]),e(N,[2,98]),e(N,[2,99]),e(N,[2,100]),e(N,[2,101]),e(N,[2,102]),e(N,[2,103]),e(N,[2,104]),e(h,[2,91]),e(h,[2,56]),e(h,[2,58],{59:Je}),{58:[1,145]},e(M,[2,13]),{15:146,16:84,58:f,84:C,99:E,101:b},{39:[2,11]},e(ve,[2,44]),{13:[1,147]},{1:[2,4]},e(Ae,[2,54]),e(Ae,[2,53]),{16:39,18:148,19:40,58:f,84:C,99:E,101:b,102:T},e(pe,[2,65]),e(h,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:o},{45:151,49:xe},e(ce,[2,41]),{41:[2,47]},e(h,[2,45]),e(h,[2,77]),e(h,[2,79]),e(h,[2,80],{75:[1,152]}),e(h,[2,83]),e(h,[2,84],{13:[1,153]}),e(h,[2,86],{13:[1,155],75:[1,154]}),{22:j,58:z,80:X,82:156,83:106,84:H,85:q,86:V,87:J,88:Z,89:ee},e(N,[2,95]),e(Ve,[2,60]),{39:[2,10]},{14:[1,157]},e(Ae,[2,55]),e(h,[2,34]),{41:[2,38]},{41:[1,158]},e(h,[2,81]),e(h,[2,85]),e(h,[2,87]),e(h,[2,88],{75:[1,159]}),e(Ze,[2,93],{83:144,22:j,58:z,80:X,84:H,85:q,86:V,87:J,88:Z,89:ee}),e(ve,[2,8]),e(ce,[2,42]),e(h,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:u(function(L,l){if(l.recoverable)this.trace(L);else{var p=new Error(L);throw p.hash=l,p}},"parseError"),parse:u(function(L){var l=this,p=[0],n=[],y=[null],t=[],B=this.table,s="",ye=0,et=0,dt=0,yt=2,tt=1,gt=t.slice.call(arguments,1),m=Object.create(this.lexer),v={yy:{}};for(var Re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Re)&&(v.yy[Re]=this.yy[Re]);m.setInput(L,v.yy),v.yy.lexer=m,v.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Pe=m.yylloc;t.push(Pe);var ft=m.options&&m.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ct(_){p.length=p.length-2*_,y.length=y.length-_,t.length=t.length-_}u(Ct,"popStack");function st(){var _;return _=n.pop()||m.lex()||tt,typeof _!="number"&&(_ instanceof Array&&(n=_,_=n.pop()),_=l.symbols_[_]||_),_}u(st,"lex");for(var F,Me,w,S,ls,Ge,G={},ge,I,it,fe;;){if(w=p[p.length-1],this.defaultActions[w]?S=this.defaultActions[w]:((F===null||typeof F>"u")&&(F=st()),S=B[w]&&B[w][F]),typeof S>"u"||!S.length||!S[0]){var Ue="";fe=[];for(ge in B[w])this.terminals_[ge]&&ge>yt&&fe.push("'"+this.terminals_[ge]+"'");m.showPosition?Ue="Parse error on line "+(ye+1)+`: +import{w as Et,$ as bt}from"./chunk-4YMK7POB-jWkf0GjT.js";import{m as u,N as mt,Q as D,i as U,d as O,v as kt,J as Ye,I as je,b as te,Y as Tt,w as Ft,B as Dt,M as Bt,F as _t,L as St,A as Nt,V as $t,S as Lt}from"./mermaid.esm.min-Bq5H-fqC.js";var Qe=function(){var e=u(function(L,l,p,n){for(p=p||{},n=L.length;n--;p[L[n]]=l);return p},"o"),i=[1,18],a=[1,19],r=[1,20],c=[1,41],o=[1,42],A=[1,26],d=[1,24],k=[1,25],ne=[1,32],be=[1,33],me=[1,34],f=[1,45],ke=[1,35],Te=[1,36],Fe=[1,37],De=[1,38],Be=[1,27],_e=[1,28],Se=[1,29],Ne=[1,30],$e=[1,31],C=[1,44],E=[1,46],b=[1,43],T=[1,47],Le=[1,9],h=[1,8,9],ae=[1,58],ue=[1,59],re=[1,60],le=[1,61],oe=[1,62],Ie=[1,63],Oe=[1,64],ce=[1,8,9,41],He=[1,76],M=[1,8,9,12,13,22,39,41,44,66,67,68,69,70,71,72,77,79],he=[1,8,9,12,13,17,20,22,39,41,44,48,58,66,67,68,69,70,71,72,77,79,84,99,101,102],pe=[13,58,84,99,101,102],W=[13,58,71,72,84,99,101,102],qe=[13,58,66,67,68,69,70,84,99,101,102],xe=[1,98],j=[1,115],z=[1,107],X=[1,113],H=[1,108],q=[1,109],V=[1,110],J=[1,111],Z=[1,112],ee=[1,114],Ve=[22,58,59,80,84,85,86,87,88,89],ve=[1,8,9,39,41,44],Ae=[1,8,9,22],Je=[1,143],Ze=[1,8,9,59],N=[1,8,9,22,58,59,80,84,85,86,87,88,89],we={trace:u(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,DOT:17,className:18,classLiteralName:19,GENERICTYPE:20,relationStatement:21,LABEL:22,namespaceStatement:23,classStatement:24,memberStatement:25,annotationStatement:26,clickStatement:27,styleStatement:28,cssClassStatement:29,noteStatement:30,classDefStatement:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,namespaceIdentifier:38,STRUCT_START:39,classStatements:40,STRUCT_STOP:41,NAMESPACE:42,classIdentifier:43,STYLE_SEPARATOR:44,members:45,CLASS:46,ANNOTATION_START:47,ANNOTATION_END:48,MEMBER:49,SEPARATOR:50,relation:51,NOTE_FOR:52,noteText:53,NOTE:54,CLASSDEF:55,classList:56,stylesOpt:57,ALPHA:58,COMMA:59,direction_tb:60,direction_bt:61,direction_rl:62,direction_lr:63,relationType:64,lineType:65,AGGREGATION:66,EXTENSION:67,COMPOSITION:68,DEPENDENCY:69,LOLLIPOP:70,LINE:71,DOTTED_LINE:72,CALLBACK:73,LINK:74,LINK_TARGET:75,CLICK:76,CALLBACK_NAME:77,CALLBACK_ARGS:78,HREF:79,STYLE:80,CSSCLASS:81,style:82,styleComponent:83,NUM:84,COLON:85,UNIT:86,SPACE:87,BRKT:88,PCT:89,commentToken:90,textToken:91,graphCodeTokens:92,textNoTagsToken:93,TAGSTART:94,TAGEND:95,"==":96,"--":97,DEFAULT:98,MINUS:99,keywords:100,UNICODE_TEXT:101,BQUOTE_STR:102,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",17:"DOT",20:"GENERICTYPE",22:"LABEL",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",39:"STRUCT_START",41:"STRUCT_STOP",42:"NAMESPACE",44:"STYLE_SEPARATOR",46:"CLASS",47:"ANNOTATION_START",48:"ANNOTATION_END",49:"MEMBER",50:"SEPARATOR",52:"NOTE_FOR",54:"NOTE",55:"CLASSDEF",58:"ALPHA",59:"COMMA",60:"direction_tb",61:"direction_bt",62:"direction_rl",63:"direction_lr",66:"AGGREGATION",67:"EXTENSION",68:"COMPOSITION",69:"DEPENDENCY",70:"LOLLIPOP",71:"LINE",72:"DOTTED_LINE",73:"CALLBACK",74:"LINK",75:"LINK_TARGET",76:"CLICK",77:"CALLBACK_NAME",78:"CALLBACK_ARGS",79:"HREF",80:"STYLE",81:"CSSCLASS",84:"NUM",85:"COLON",86:"UNIT",87:"SPACE",88:"BRKT",89:"PCT",92:"graphCodeTokens",94:"TAGSTART",95:"TAGEND",96:"==",97:"--",98:"DEFAULT",99:"MINUS",100:"keywords",101:"UNICODE_TEXT",102:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,3],[15,2],[18,1],[18,3],[18,1],[18,2],[18,2],[18,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[23,4],[23,5],[38,2],[40,1],[40,2],[40,3],[24,1],[24,3],[24,4],[24,6],[43,2],[43,3],[26,4],[45,1],[45,2],[25,1],[25,2],[25,1],[25,1],[21,3],[21,4],[21,4],[21,5],[30,3],[30,2],[31,3],[56,1],[56,3],[32,1],[32,1],[32,1],[32,1],[51,3],[51,2],[51,2],[51,1],[64,1],[64,1],[64,1],[64,1],[64,1],[65,1],[65,1],[27,3],[27,4],[27,3],[27,4],[27,4],[27,5],[27,3],[27,4],[27,4],[27,5],[27,4],[27,5],[27,5],[27,6],[28,3],[29,3],[57,1],[57,3],[82,1],[82,2],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[90,1],[90,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[93,1],[93,1],[93,1],[93,1],[16,1],[16,1],[16,1],[16,1],[19,1],[53,1]],performAction:u(function(L,l,p,n,y,t,B){var s=t.length-1;switch(y){case 8:this.$=t[s-1];break;case 9:case 12:case 14:this.$=t[s];break;case 10:case 13:this.$=t[s-2]+"."+t[s];break;case 11:case 15:this.$=t[s-1]+t[s];break;case 16:case 17:this.$=t[s-1]+"~"+t[s]+"~";break;case 18:n.addRelation(t[s]);break;case 19:t[s-1].title=n.cleanupLabel(t[s]),n.addRelation(t[s-1]);break;case 30:this.$=t[s].trim(),n.setAccTitle(this.$);break;case 31:case 32:this.$=t[s].trim(),n.setAccDescription(this.$);break;case 33:n.addClassesToNamespace(t[s-3],t[s-1]);break;case 34:n.addClassesToNamespace(t[s-4],t[s-1]);break;case 35:this.$=t[s],n.addNamespace(t[s]);break;case 36:this.$=[t[s]];break;case 37:this.$=[t[s-1]];break;case 38:t[s].unshift(t[s-2]),this.$=t[s];break;case 40:n.setCssClass(t[s-2],t[s]);break;case 41:n.addMembers(t[s-3],t[s-1]);break;case 42:n.setCssClass(t[s-5],t[s-3]),n.addMembers(t[s-5],t[s-1]);break;case 43:this.$=t[s],n.addClass(t[s]);break;case 44:this.$=t[s-1],n.addClass(t[s-1]),n.setClassLabel(t[s-1],t[s]);break;case 45:n.addAnnotation(t[s],t[s-2]);break;case 46:case 59:this.$=[t[s]];break;case 47:t[s].push(t[s-1]),this.$=t[s];break;case 48:break;case 49:n.addMember(t[s-1],n.cleanupLabel(t[s]));break;case 50:break;case 51:break;case 52:this.$={id1:t[s-2],id2:t[s],relation:t[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 53:this.$={id1:t[s-3],id2:t[s],relation:t[s-1],relationTitle1:t[s-2],relationTitle2:"none"};break;case 54:this.$={id1:t[s-3],id2:t[s],relation:t[s-2],relationTitle1:"none",relationTitle2:t[s-1]};break;case 55:this.$={id1:t[s-4],id2:t[s],relation:t[s-2],relationTitle1:t[s-3],relationTitle2:t[s-1]};break;case 56:n.addNote(t[s],t[s-1]);break;case 57:n.addNote(t[s]);break;case 58:this.$=t[s-2],n.defineClass(t[s-1],t[s]);break;case 60:this.$=t[s-2].concat([t[s]]);break;case 61:n.setDirection("TB");break;case 62:n.setDirection("BT");break;case 63:n.setDirection("RL");break;case 64:n.setDirection("LR");break;case 65:this.$={type1:t[s-2],type2:t[s],lineType:t[s-1]};break;case 66:this.$={type1:"none",type2:t[s],lineType:t[s-1]};break;case 67:this.$={type1:t[s-1],type2:"none",lineType:t[s]};break;case 68:this.$={type1:"none",type2:"none",lineType:t[s]};break;case 69:this.$=n.relationType.AGGREGATION;break;case 70:this.$=n.relationType.EXTENSION;break;case 71:this.$=n.relationType.COMPOSITION;break;case 72:this.$=n.relationType.DEPENDENCY;break;case 73:this.$=n.relationType.LOLLIPOP;break;case 74:this.$=n.lineType.LINE;break;case 75:this.$=n.lineType.DOTTED_LINE;break;case 76:case 82:this.$=t[s-2],n.setClickEvent(t[s-1],t[s]);break;case 77:case 83:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 78:this.$=t[s-2],n.setLink(t[s-1],t[s]);break;case 79:this.$=t[s-3],n.setLink(t[s-2],t[s-1],t[s]);break;case 80:this.$=t[s-3],n.setLink(t[s-2],t[s-1]),n.setTooltip(t[s-2],t[s]);break;case 81:this.$=t[s-4],n.setLink(t[s-3],t[s-2],t[s]),n.setTooltip(t[s-3],t[s-1]);break;case 84:this.$=t[s-3],n.setClickEvent(t[s-2],t[s-1],t[s]);break;case 85:this.$=t[s-4],n.setClickEvent(t[s-3],t[s-2],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 86:this.$=t[s-3],n.setLink(t[s-2],t[s]);break;case 87:this.$=t[s-4],n.setLink(t[s-3],t[s-1],t[s]);break;case 88:this.$=t[s-4],n.setLink(t[s-3],t[s-1]),n.setTooltip(t[s-3],t[s]);break;case 89:this.$=t[s-5],n.setLink(t[s-4],t[s-2],t[s]),n.setTooltip(t[s-4],t[s-1]);break;case 90:this.$=t[s-2],n.setCssStyle(t[s-1],t[s]);break;case 91:n.setCssClass(t[s-1],t[s]);break;case 92:this.$=[t[s]];break;case 93:t[s-2].push(t[s]),this.$=t[s-2];break;case 95:this.$=t[s-1]+t[s];break}},"anonymous"),table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:c,43:23,46:o,47:A,49:d,50:k,52:ne,54:be,55:me,58:f,60:ke,61:Te,62:Fe,63:De,73:Be,74:_e,76:Se,80:Ne,81:$e,84:C,99:E,101:b,102:T},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},e(Le,[2,5],{8:[1,48]}),{8:[1,49]},e(h,[2,18],{22:[1,50]}),e(h,[2,20]),e(h,[2,21]),e(h,[2,22]),e(h,[2,23]),e(h,[2,24]),e(h,[2,25]),e(h,[2,26]),e(h,[2,27]),e(h,[2,28]),e(h,[2,29]),{34:[1,51]},{36:[1,52]},e(h,[2,32]),e(h,[2,48],{51:53,64:56,65:57,13:[1,54],22:[1,55],66:ae,67:ue,68:re,69:le,70:oe,71:Ie,72:Oe}),{39:[1,65]},e(ce,[2,39],{39:[1,67],44:[1,66]}),e(h,[2,50]),e(h,[2,51]),{16:68,58:f,84:C,99:E,101:b},{16:39,18:69,19:40,58:f,84:C,99:E,101:b,102:T},{16:39,18:70,19:40,58:f,84:C,99:E,101:b,102:T},{16:39,18:71,19:40,58:f,84:C,99:E,101:b,102:T},{58:[1,72]},{13:[1,73]},{16:39,18:74,19:40,58:f,84:C,99:E,101:b,102:T},{13:He,53:75},{56:77,58:[1,78]},e(h,[2,61]),e(h,[2,62]),e(h,[2,63]),e(h,[2,64]),e(M,[2,12],{16:39,19:40,18:80,17:[1,79],20:[1,81],58:f,84:C,99:E,101:b,102:T}),e(M,[2,14],{20:[1,82]}),{15:83,16:84,58:f,84:C,99:E,101:b},{16:39,18:85,19:40,58:f,84:C,99:E,101:b,102:T},e(he,[2,118]),e(he,[2,119]),e(he,[2,120]),e(he,[2,121]),e([1,8,9,12,13,20,22,39,41,44,66,67,68,69,70,71,72,77,79],[2,122]),e(Le,[2,6],{10:5,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,18:21,38:22,43:23,16:39,19:40,5:86,33:i,35:a,37:r,42:c,46:o,47:A,49:d,50:k,52:ne,54:be,55:me,58:f,60:ke,61:Te,62:Fe,63:De,73:Be,74:_e,76:Se,80:Ne,81:$e,84:C,99:E,101:b,102:T}),{5:87,10:5,16:39,18:21,19:40,21:7,23:8,24:9,25:10,26:11,27:12,28:13,29:14,30:15,31:16,32:17,33:i,35:a,37:r,38:22,42:c,43:23,46:o,47:A,49:d,50:k,52:ne,54:be,55:me,58:f,60:ke,61:Te,62:Fe,63:De,73:Be,74:_e,76:Se,80:Ne,81:$e,84:C,99:E,101:b,102:T},e(h,[2,19]),e(h,[2,30]),e(h,[2,31]),{13:[1,89],16:39,18:88,19:40,58:f,84:C,99:E,101:b,102:T},{51:90,64:56,65:57,66:ae,67:ue,68:re,69:le,70:oe,71:Ie,72:Oe},e(h,[2,49]),{65:91,71:Ie,72:Oe},e(pe,[2,68],{64:92,66:ae,67:ue,68:re,69:le,70:oe}),e(W,[2,69]),e(W,[2,70]),e(W,[2,71]),e(W,[2,72]),e(W,[2,73]),e(qe,[2,74]),e(qe,[2,75]),{8:[1,94],24:95,40:93,43:23,46:o},{16:96,58:f,84:C,99:E,101:b},{45:97,49:xe},{48:[1,99]},{13:[1,100]},{13:[1,101]},{77:[1,102],79:[1,103]},{22:j,57:104,58:z,80:X,82:105,83:106,84:H,85:q,86:V,87:J,88:Z,89:ee},{58:[1,116]},{13:He,53:117},e(h,[2,57]),e(h,[2,123]),{22:j,57:118,58:z,59:[1,119],80:X,82:105,83:106,84:H,85:q,86:V,87:J,88:Z,89:ee},e(Ve,[2,59]),{16:39,18:120,19:40,58:f,84:C,99:E,101:b,102:T},e(M,[2,15]),e(M,[2,16]),e(M,[2,17]),{39:[2,35]},{15:122,16:84,17:[1,121],39:[2,9],58:f,84:C,99:E,101:b},e(ve,[2,43],{11:123,12:[1,124]}),e(Le,[2,7]),{9:[1,125]},e(Ae,[2,52]),{16:39,18:126,19:40,58:f,84:C,99:E,101:b,102:T},{13:[1,128],16:39,18:127,19:40,58:f,84:C,99:E,101:b,102:T},e(pe,[2,67],{64:129,66:ae,67:ue,68:re,69:le,70:oe}),e(pe,[2,66]),{41:[1,130]},{24:95,40:131,43:23,46:o},{8:[1,132],41:[2,36]},e(ce,[2,40],{39:[1,133]}),{41:[1,134]},{41:[2,46],45:135,49:xe},{16:39,18:136,19:40,58:f,84:C,99:E,101:b,102:T},e(h,[2,76],{13:[1,137]}),e(h,[2,78],{13:[1,139],75:[1,138]}),e(h,[2,82],{13:[1,140],78:[1,141]}),{13:[1,142]},e(h,[2,90],{59:Je}),e(Ze,[2,92],{83:144,22:j,58:z,80:X,84:H,85:q,86:V,87:J,88:Z,89:ee}),e(N,[2,94]),e(N,[2,96]),e(N,[2,97]),e(N,[2,98]),e(N,[2,99]),e(N,[2,100]),e(N,[2,101]),e(N,[2,102]),e(N,[2,103]),e(N,[2,104]),e(h,[2,91]),e(h,[2,56]),e(h,[2,58],{59:Je}),{58:[1,145]},e(M,[2,13]),{15:146,16:84,58:f,84:C,99:E,101:b},{39:[2,11]},e(ve,[2,44]),{13:[1,147]},{1:[2,4]},e(Ae,[2,54]),e(Ae,[2,53]),{16:39,18:148,19:40,58:f,84:C,99:E,101:b,102:T},e(pe,[2,65]),e(h,[2,33]),{41:[1,149]},{24:95,40:150,41:[2,37],43:23,46:o},{45:151,49:xe},e(ce,[2,41]),{41:[2,47]},e(h,[2,45]),e(h,[2,77]),e(h,[2,79]),e(h,[2,80],{75:[1,152]}),e(h,[2,83]),e(h,[2,84],{13:[1,153]}),e(h,[2,86],{13:[1,155],75:[1,154]}),{22:j,58:z,80:X,82:156,83:106,84:H,85:q,86:V,87:J,88:Z,89:ee},e(N,[2,95]),e(Ve,[2,60]),{39:[2,10]},{14:[1,157]},e(Ae,[2,55]),e(h,[2,34]),{41:[2,38]},{41:[1,158]},e(h,[2,81]),e(h,[2,85]),e(h,[2,87]),e(h,[2,88],{75:[1,159]}),e(Ze,[2,93],{83:144,22:j,58:z,80:X,84:H,85:q,86:V,87:J,88:Z,89:ee}),e(ve,[2,8]),e(ce,[2,42]),e(h,[2,89])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],83:[2,35],122:[2,11],125:[2,4],135:[2,47],146:[2,10],150:[2,38]},parseError:u(function(L,l){if(l.recoverable)this.trace(L);else{var p=new Error(L);throw p.hash=l,p}},"parseError"),parse:u(function(L){var l=this,p=[0],n=[],y=[null],t=[],B=this.table,s="",ye=0,et=0,dt=0,yt=2,tt=1,gt=t.slice.call(arguments,1),m=Object.create(this.lexer),v={yy:{}};for(var Re in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Re)&&(v.yy[Re]=this.yy[Re]);m.setInput(L,v.yy),v.yy.lexer=m,v.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var Pe=m.yylloc;t.push(Pe);var ft=m.options&&m.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ct(_){p.length=p.length-2*_,y.length=y.length-_,t.length=t.length-_}u(Ct,"popStack");function st(){var _;return _=n.pop()||m.lex()||tt,typeof _!="number"&&(_ instanceof Array&&(n=_,_=n.pop()),_=l.symbols_[_]||_),_}u(st,"lex");for(var F,Me,w,S,ls,Ge,G={},ge,I,it,fe;;){if(w=p[p.length-1],this.defaultActions[w]?S=this.defaultActions[w]:((F===null||typeof F>"u")&&(F=st()),S=B[w]&&B[w][F]),typeof S>"u"||!S.length||!S[0]){var Ue="";fe=[];for(ge in B[w])this.terminals_[ge]&&ge>yt&&fe.push("'"+this.terminals_[ge]+"'");m.showPosition?Ue="Parse error on line "+(ye+1)+`: `+m.showPosition()+` Expecting `+fe.join(", ")+", got '"+(this.terminals_[F]||F)+"'":Ue="Parse error on line "+(ye+1)+": Unexpected "+(F==tt?"end of input":"'"+(this.terminals_[F]||F)+"'"),this.parseError(Ue,{text:m.match,token:this.terminals_[F]||F,line:m.yylineno,loc:Pe,expected:fe})}if(S[0]instanceof Array&&S.length>1)throw new Error("Parse Error: multiple actions possible at state: "+w+", token: "+F);switch(S[0]){case 1:p.push(F),y.push(m.yytext),t.push(m.yylloc),p.push(S[1]),F=null,Me?(F=Me,Me=null):(et=m.yyleng,s=m.yytext,ye=m.yylineno,Pe=m.yylloc,dt>0);break;case 2:if(I=this.productions_[S[1]][1],G.$=y[y.length-I],G._$={first_line:t[t.length-(I||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(I||1)].first_column,last_column:t[t.length-1].last_column},ft&&(G._$.range=[t[t.length-(I||1)].range[0],t[t.length-1].range[1]]),Ge=this.performAction.apply(G,[s,et,ye,v.yy,S[1],y,t].concat(gt)),typeof Ge<"u")return Ge;I&&(p=p.slice(0,-1*I*2),y=y.slice(0,-1*I),t=t.slice(0,-1*I)),p.push(this.productions_[S[1]][0]),y.push(G.$),t.push(G._$),it=B[p[p.length-2]][p[p.length-1]],p.push(it);break;case 3:return!0}}return!0},"parse")},At=function(){var L={EOF:1,parseError:u(function(l,p){if(this.yy.parser)this.yy.parser.parseError(l,p);else throw new Error(l)},"parseError"),setInput:u(function(l,p){return this.yy=p||this.yy||{},this._input=l,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:u(function(){var l=this._input[0];this.yytext+=l,this.yyleng++,this.offset++,this.match+=l,this.matched+=l;var p=l.match(/(?:\r\n?|\n).*/g);return p?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),l},"input"),unput:u(function(l){var p=l.length,n=l.split(/(?:\r\n?|\n)/g);this._input=l+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-p),this.offset-=p;var y=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var t=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===y.length?this.yylloc.first_column:0)+y[y.length-n.length].length-n[0].length:this.yylloc.first_column-p},this.options.ranges&&(this.yylloc.range=[t[0],t[0]+this.yyleng-p]),this.yyleng=this.yytext.length,this},"unput"),more:u(function(){return this._more=!0,this},"more"),reject:u(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:u(function(l){this.unput(this.match.slice(l))},"less"),pastInput:u(function(){var l=this.matched.substr(0,this.matched.length-this.match.length);return(l.length>20?"...":"")+l.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:u(function(){var l=this.match;return l.length<20&&(l+=this._input.substr(0,20-l.length)),(l.substr(0,20)+(l.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:u(function(){var l=this.pastInput(),p=new Array(l.length+1).join("-");return l+this.upcomingInput()+` diff --git a/assets/chunk-VSLJSFIP-C769YIqn.js b/assets/chunk-VSLJSFIP-SOmXOiGP.js similarity index 67% rename from assets/chunk-VSLJSFIP-C769YIqn.js rename to assets/chunk-VSLJSFIP-SOmXOiGP.js index 8207314c..30f24a4d 100644 --- a/assets/chunk-VSLJSFIP-C769YIqn.js +++ b/assets/chunk-VSLJSFIP-SOmXOiGP.js @@ -1 +1 @@ -import{m as s}from"./mermaid.esm.min-DnxZBvzk.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as s}; +import{m as s}from"./mermaid.esm.min-Bq5H-fqC.js";var t,e=(t=class{constructor(i){this.init=i,this.records=this.init()}reset(){this.records=this.init()}},s(t,"ImperativeState"),t);export{e as s}; diff --git a/assets/chunk-ZN7TASNU-DRzcILnV.js b/assets/chunk-ZN7TASNU-CG0HzbXE.js similarity index 97% rename from assets/chunk-ZN7TASNU-DRzcILnV.js rename to assets/chunk-ZN7TASNU-CG0HzbXE.js index d2cdbe1b..f5b42ac5 100644 --- a/assets/chunk-ZN7TASNU-DRzcILnV.js +++ b/assets/chunk-ZN7TASNU-CG0HzbXE.js @@ -1 +1 @@ -import{k as l,c as m,Z as a,s as c,m as N,X as b,R as P}from"./chunk-5ZJXQJOJ-DIZvkofk.js";import{m as d,ao as f,ap as w,aq as y}from"./mermaid.esm.min-DnxZBvzk.js";var D="\0",u="\0",E="",p,j=(p=class{constructor(t={}){this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=f(void 0),this._defaultEdgeLabelFn=f(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[u]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return w(t)||(t=f(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return l(this._nodes)}sources(){var t=this;return m(this.nodes(),function(e){return y(t._in[e])})}sinks(){var t=this;return m(this.nodes(),function(e){return y(t._out[e])})}setNodes(t,e){var s=arguments,r=this;return a(t,function(i){s.length>1?r.setNode(i,e):r.setNode(i)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=u,this._children[t]={},this._children[u][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=d(s=>this.removeEdge(this._edgeObjs[s]),"removeEdge");delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],a(this.children(t),s=>{this.setParent(s)}),delete this._children[t]),a(l(this._in[t]),e),delete this._in[t],delete this._preds[t],a(l(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(c(e))e=u;else{e+="";for(var s=e;!c(s);s=this.parent(s))if(s===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==u)return e}}children(t){if(c(t)&&(t=u),this._isCompound){var e=this._children[t];if(e)return l(e)}else{if(t===u)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return l(e)}successors(t){var e=this._sucs[t];if(e)return l(e)}neighbors(t){var e=this.predecessors(t);if(e)return N(e,this.successors(t))}isLeaf(t){var e;return this.isDirected()?e=this.successors(t):e=this.neighbors(t),e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var s=this;a(this._nodes,function(n,h){t(h)&&e.setNode(h,n)}),a(this._edgeObjs,function(n){e.hasNode(n.v)&&e.hasNode(n.w)&&e.setEdge(n,s.edge(n))});var r={};function i(n){var h=s.parent(n);return h===void 0||e.hasNode(h)?(r[n]=h,h):h in r?r[h]:i(h)}return d(i,"findParent"),this._isCompound&&a(e.nodes(),function(n){e.setParent(n,i(n))}),e}setDefaultEdgeLabel(t){return w(t)||(t=f(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return b(this._edgeObjs)}setPath(t,e){var s=this,r=arguments;return P(t,function(i,n){return r.length>1?s.setEdge(i,n,e):s.setEdge(i,n),n}),this}setEdge(){var t,e,s,r,i=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(t=n.v,e=n.w,s=n.name,arguments.length===2&&(r=arguments[1],i=!0)):(t=n,e=arguments[1],s=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),t=""+t,e=""+e,c(s)||(s=""+s);var h=g(this._isDirected,t,e,s);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,h))return i&&(this._edgeLabels[h]=r),this;if(!c(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[h]=i?r:this._defaultEdgeLabelFn(t,e,s);var _=L(this._isDirected,t,e,s);return t=_.v,e=_.w,Object.freeze(_),this._edgeObjs[h]=_,O(this._preds[e],t),O(this._sucs[t],e),this._in[e][h]=_,this._out[t][h]=_,this._edgeCount++,this}edge(t,e,s){var r=arguments.length===1?v(this._isDirected,arguments[0]):g(this._isDirected,t,e,s);return this._edgeLabels[r]}hasEdge(t,e,s){var r=arguments.length===1?v(this._isDirected,arguments[0]):g(this._isDirected,t,e,s);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(t,e,s){var r=arguments.length===1?v(this._isDirected,arguments[0]):g(this._isDirected,t,e,s),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],C(this._preds[e],t),C(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this}inEdges(t,e){var s=this._in[t];if(s){var r=b(s);return e?m(r,function(i){return i.v===e}):r}}outEdges(t,e){var s=this._out[t];if(s){var r=b(s);return e?m(r,function(i){return i.w===e}):r}}nodeEdges(t,e){var s=this.inEdges(t,e);if(s)return s.concat(this.outEdges(t,e))}},d(p,"Graph"),p);j.prototype._nodeCount=0;j.prototype._edgeCount=0;function O(o,t){o[t]?o[t]++:o[t]=1}d(O,"incrementOrInitEntry");function C(o,t){--o[t]||delete o[t]}d(C,"decrementOrRemoveEntry");function g(o,t,e,s){var r=""+t,i=""+e;if(!o&&r>i){var n=r;r=i,i=n}return r+E+i+E+(c(s)?D:s)}d(g,"edgeArgsToId");function L(o,t,e,s){var r=""+t,i=""+e;if(!o&&r>i){var n=r;r=i,i=n}var h={v:r,w:i};return s&&(h.name=s),h}d(L,"edgeArgsToObj");function v(o,t){return g(o,t.v,t.w,t.name)}d(v,"edgeObjToId");export{j as m}; +import{k as l,c as m,Z as a,s as c,m as N,X as b,R as P}from"./chunk-5ZJXQJOJ-CLUFfhem.js";import{m as d,ao as f,ap as w,aq as y}from"./mermaid.esm.min-Bq5H-fqC.js";var D="\0",u="\0",E="",p,j=(p=class{constructor(t={}){this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=f(void 0),this._defaultEdgeLabelFn=f(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[u]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return w(t)||(t=f(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return l(this._nodes)}sources(){var t=this;return m(this.nodes(),function(e){return y(t._in[e])})}sinks(){var t=this;return m(this.nodes(),function(e){return y(t._out[e])})}setNodes(t,e){var s=arguments,r=this;return a(t,function(i){s.length>1?r.setNode(i,e):r.setNode(i)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=u,this._children[t]={},this._children[u][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=d(s=>this.removeEdge(this._edgeObjs[s]),"removeEdge");delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],a(this.children(t),s=>{this.setParent(s)}),delete this._children[t]),a(l(this._in[t]),e),delete this._in[t],delete this._preds[t],a(l(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(c(e))e=u;else{e+="";for(var s=e;!c(s);s=this.parent(s))if(s===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==u)return e}}children(t){if(c(t)&&(t=u),this._isCompound){var e=this._children[t];if(e)return l(e)}else{if(t===u)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return l(e)}successors(t){var e=this._sucs[t];if(e)return l(e)}neighbors(t){var e=this.predecessors(t);if(e)return N(e,this.successors(t))}isLeaf(t){var e;return this.isDirected()?e=this.successors(t):e=this.neighbors(t),e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var s=this;a(this._nodes,function(n,h){t(h)&&e.setNode(h,n)}),a(this._edgeObjs,function(n){e.hasNode(n.v)&&e.hasNode(n.w)&&e.setEdge(n,s.edge(n))});var r={};function i(n){var h=s.parent(n);return h===void 0||e.hasNode(h)?(r[n]=h,h):h in r?r[h]:i(h)}return d(i,"findParent"),this._isCompound&&a(e.nodes(),function(n){e.setParent(n,i(n))}),e}setDefaultEdgeLabel(t){return w(t)||(t=f(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return b(this._edgeObjs)}setPath(t,e){var s=this,r=arguments;return P(t,function(i,n){return r.length>1?s.setEdge(i,n,e):s.setEdge(i,n),n}),this}setEdge(){var t,e,s,r,i=!1,n=arguments[0];typeof n=="object"&&n!==null&&"v"in n?(t=n.v,e=n.w,s=n.name,arguments.length===2&&(r=arguments[1],i=!0)):(t=n,e=arguments[1],s=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),t=""+t,e=""+e,c(s)||(s=""+s);var h=g(this._isDirected,t,e,s);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,h))return i&&(this._edgeLabels[h]=r),this;if(!c(s)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[h]=i?r:this._defaultEdgeLabelFn(t,e,s);var _=L(this._isDirected,t,e,s);return t=_.v,e=_.w,Object.freeze(_),this._edgeObjs[h]=_,O(this._preds[e],t),O(this._sucs[t],e),this._in[e][h]=_,this._out[t][h]=_,this._edgeCount++,this}edge(t,e,s){var r=arguments.length===1?v(this._isDirected,arguments[0]):g(this._isDirected,t,e,s);return this._edgeLabels[r]}hasEdge(t,e,s){var r=arguments.length===1?v(this._isDirected,arguments[0]):g(this._isDirected,t,e,s);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(t,e,s){var r=arguments.length===1?v(this._isDirected,arguments[0]):g(this._isDirected,t,e,s),i=this._edgeObjs[r];return i&&(t=i.v,e=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],C(this._preds[e],t),C(this._sucs[t],e),delete this._in[e][r],delete this._out[t][r],this._edgeCount--),this}inEdges(t,e){var s=this._in[t];if(s){var r=b(s);return e?m(r,function(i){return i.v===e}):r}}outEdges(t,e){var s=this._out[t];if(s){var r=b(s);return e?m(r,function(i){return i.w===e}):r}}nodeEdges(t,e){var s=this.inEdges(t,e);if(s)return s.concat(this.outEdges(t,e))}},d(p,"Graph"),p);j.prototype._nodeCount=0;j.prototype._edgeCount=0;function O(o,t){o[t]?o[t]++:o[t]=1}d(O,"incrementOrInitEntry");function C(o,t){--o[t]||delete o[t]}d(C,"decrementOrRemoveEntry");function g(o,t,e,s){var r=""+t,i=""+e;if(!o&&r>i){var n=r;r=i,i=n}return r+E+i+E+(c(s)?D:s)}d(g,"edgeArgsToId");function L(o,t,e,s){var r=""+t,i=""+e;if(!o&&r>i){var n=r;r=i,i=n}var h={v:r,w:i};return s&&(h.name=s),h}d(L,"edgeArgsToObj");function v(o,t){return g(o,t.v,t.w,t.name)}d(v,"edgeObjToId");export{j as m}; diff --git a/assets/ci-integration.html-BGVT7Bbf.js b/assets/ci-integration.html-BF9VyETV.js similarity index 69% rename from assets/ci-integration.html-BGVT7Bbf.js rename to assets/ci-integration.html-BF9VyETV.js index d4ef36b5..a9e413fa 100644 --- a/assets/ci-integration.html-BGVT7Bbf.js +++ b/assets/ci-integration.html-BF9VyETV.js @@ -1,4 +1,4 @@ -import{_ as n,c as s,a,o as i}from"./app-DQKFxOg7.js";const t={};function o(l,e){return i(),s("div",null,e[0]||(e[0]=[a(`

CI integration

There are two parts to CI integration with beachball:

  1. Add a PR build step to call beachball check to validate that change files are included.
  2. Add a release build step to call beachball publish to publish to npm and push back to git (this page).

To automate the bumping of package versions based on change files, you'll need to configure your release workflow/pipeline so that beachball publish has write access to the git repo and npm registry. The exact steps will vary between CI systems, but general concepts as well as steps for some common setups are outlined below.

Authentication

Automated publishing from a GitHub repo to the public npm registry (registry.npmjs.org) typically uses personal access tokens for authentication. These tokens are stored as secrets in your CI system. You should ensure that these secrets are only available to release builds.

For Azure DevOps repos publishing to a private registry, there are other possible approaches (such as using a service account with credentials stored in a key vault) which are not currently covered by these docs.

Generating tokens

npm token

If publishing to the public npm registry (registry.npmjs.org), create a granular access token with write access to only the relevant package(s) and/or scope(s). Classic automation tokens are not recommended due to their overly broad permissions.

GitHub token

You should use branch protection for your main/master branch, but this creates some difficulties for pushing changes back during automated publishing.

The main way to allow beachball to push back to a repo with branch protections is by using a classic personal access token with repo permissions. (If the repo is part of an organization that uses SAML single sign-on (SSO), be sure to authorize the token for SSO access.) Since classic PATs have broad permissions, they must only be accessible to release builds—instructions below.

An alternative approach is creating a classic PAT with a "machine user" account. Create a new account with an alternate email or subaddress (+ address), give it contributor permissions to only this repo, and add it under "Restrict who can push to matching branches" in the branch protection rule.

(It's unclear if/when branch policy bypass support will be added for fine-grained PATs; it's been requested by users with no response and doesn't seem to be on the public roadmap. The built-in GITHUB_TOKEN won't work for the same reason.)

Storing tokens

GitHub Actions

To restrict secret access to appropriate branches, use an environment. (The docs for environments focus on cloud deployments or resources, but environments can also be used only for secret storage.)

  1. Create an environment.
  2. Restrict deployment branches to "Selected branches" and add a rule to allow only your release branch(es) (often main/master).
  3. Add secrets for the npm and GitHub tokens.
  4. To use the environment, add a key environment: your-env-name in your release workflow job. (Full example below.)

Azure Pipelines

There are a couple of options here:

Setting options for publishing

If you're passing any custom options besides the npm token to beachball publish, it's recommended to set them in either the beachball config (if they don't interfere with other commands), or a package.json script (if specific to publish).

For example, the following script could be used for publishing public scoped packages:

{
+import{_ as n,c as s,d as a,o as i}from"./app-3oaVMpRs.js";const t={};function o(l,e){return i(),s("div",null,e[0]||(e[0]=[a(`

CI integration

There are two parts to CI integration with beachball:

  1. Add a PR build step to call beachball check to validate that change files are included.
  2. Add a release build step to call beachball publish to publish to npm and push back to git (this page).

To automate the bumping of package versions based on change files, you'll need to configure your release workflow/pipeline so that beachball publish has write access to the git repo and npm registry. The exact steps will vary between CI systems, but general concepts as well as steps for some common setups are outlined below.

Authentication

Automated publishing from a GitHub repo to the public npm registry (registry.npmjs.org) typically uses personal access tokens for authentication. These tokens are stored as secrets in your CI system. You should ensure that these secrets are only available to release builds.

For Azure DevOps repos publishing to a private registry, there are other possible approaches (such as using a service account with credentials stored in a key vault) which are not currently covered by these docs.

Generating tokens

npm token

If publishing to the public npm registry (registry.npmjs.org), create a granular access token with write access to only the relevant package(s) and/or scope(s). Classic automation tokens are not recommended due to their overly broad permissions.

GitHub token

You should use branch protection for your main/master branch, but this creates some difficulties for pushing changes back during automated publishing.

The main way to allow beachball to push back to a repo with branch protections is by using a classic personal access token with repo permissions. (If the repo is part of an organization that uses SAML single sign-on (SSO), be sure to authorize the token for SSO access.) Since classic PATs have broad permissions, they must only be accessible to release builds—instructions below.

An alternative approach is creating a classic PAT with a "machine user" account. Create a new account with an alternate email or subaddress (+ address), give it contributor permissions to only this repo, and add it under "Restrict who can push to matching branches" in the branch protection rule.

(It's unclear if/when branch policy bypass support will be added for fine-grained PATs; it's been requested by users with no response and doesn't seem to be on the public roadmap. The built-in GITHUB_TOKEN won't work for the same reason.)

Storing tokens

GitHub Actions

To restrict secret access to appropriate branches, use an environment. (The docs for environments focus on cloud deployments or resources, but environments can also be used only for secret storage.)

  1. Create an environment.
  2. Restrict deployment branches to "Selected branches" and add a rule to allow only your release branch(es) (often main/master).
  3. Add secrets for the npm and GitHub tokens.
  4. To use the environment, add a key environment: your-env-name in your release workflow job. (Full example below.)

Azure Pipelines

There are a couple of options here:

Setting options for publishing

If you're passing any custom options besides the npm token to beachball publish, it's recommended to set them in either the beachball config (if they don't interfere with other commands), or a package.json script (if specific to publish).

For example, the following script could be used for publishing public scoped packages:

{
   "scripts": {
     "release": "beachball publish --access public"
   }
@@ -82,4 +82,4 @@ import{_ as n,c as s,a,o as i}from"./app-DQKFxOg7.js";const t={};function o(l,e)
   # Pass the token on the command line for publishing
   - script: npm run release -- --token "$(NPM_TOKEN)"
     name: Publish
-

Azure Repos + Azure Pipelines

This should be very similar to the GitHub version, aside from possibly the authentication method. You could potentially use personal access tokens for git and npm feed authentication (similar to above), or other methods are available which aren't currently covered here.

If you're publishing to a private Azure Artifacts npm feed, be sure to set registry in the beachball config as described above.

`,45)]))}const p=n(t,[["render",o],["__file","ci-integration.html.vue"]]),r=JSON.parse('{"path":"/concepts/ci-integration.html","title":"CI integration","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"Authentication","slug":"authentication","link":"#authentication","children":[{"level":3,"title":"Generating tokens","slug":"generating-tokens","link":"#generating-tokens","children":[]},{"level":3,"title":"Storing tokens","slug":"storing-tokens","link":"#storing-tokens","children":[]}]},{"level":2,"title":"Setting options for publishing","slug":"setting-options-for-publishing","link":"#setting-options-for-publishing","children":[]},{"level":2,"title":"Publishing","slug":"publishing","link":"#publishing","children":[{"level":3,"title":"GitHub repo + GitHub Actions","slug":"github-repo-github-actions","link":"#github-repo-github-actions","children":[]},{"level":3,"title":"GitHub repo + Azure Pipelines","slug":"github-repo-azure-pipelines","link":"#github-repo-azure-pipelines","children":[]},{"level":3,"title":"Azure Repos + Azure Pipelines","slug":"azure-repos-azure-pipelines","link":"#azure-repos-azure-pipelines","children":[]}]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"concepts/ci-integration.md"}');export{p as comp,r as data}; +

Azure Repos + Azure Pipelines

This should be very similar to the GitHub version, aside from possibly the authentication method. You could potentially use personal access tokens for git and npm feed authentication (similar to above), or other methods are available which aren't currently covered here.

If you're publishing to a private Azure Artifacts npm feed, be sure to set registry in the beachball config as described above.

`,45)]))}const p=n(t,[["render",o],["__file","ci-integration.html.vue"]]),r=JSON.parse('{"path":"/concepts/ci-integration.html","title":"CI integration","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"Authentication","slug":"authentication","link":"#authentication","children":[{"level":3,"title":"Generating tokens","slug":"generating-tokens","link":"#generating-tokens","children":[]},{"level":3,"title":"Storing tokens","slug":"storing-tokens","link":"#storing-tokens","children":[]}]},{"level":2,"title":"Setting options for publishing","slug":"setting-options-for-publishing","link":"#setting-options-for-publishing","children":[]},{"level":2,"title":"Publishing","slug":"publishing","link":"#publishing","children":[{"level":3,"title":"GitHub repo + GitHub Actions","slug":"github-repo-github-actions","link":"#github-repo-github-actions","children":[]},{"level":3,"title":"GitHub repo + Azure Pipelines","slug":"github-repo-azure-pipelines","link":"#github-repo-azure-pipelines","children":[]},{"level":3,"title":"Azure Repos + Azure Pipelines","slug":"azure-repos-azure-pipelines","link":"#azure-repos-azure-pipelines","children":[]}]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"concepts/ci-integration.md"}');export{p as comp,r as data}; diff --git a/assets/classDiagram-LGTRVITY-njouX_e9.js b/assets/classDiagram-LGTRVITY-njouX_e9.js new file mode 100644 index 00000000..69ffce2a --- /dev/null +++ b/assets/classDiagram-LGTRVITY-njouX_e9.js @@ -0,0 +1 @@ +import{l as a,T as r,w as e,B as o}from"./chunk-UBDM6ZOM-Ds8YQakE.js";import"./chunk-4YMK7POB-jWkf0GjT.js";import{m as t}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var c={parser:a,db:r,renderer:e,styles:o,init:t(s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,r.clear()},"init")};export{c as diagram}; diff --git a/assets/classDiagram-LGTRVITY-uCUyMHA9.js b/assets/classDiagram-LGTRVITY-uCUyMHA9.js deleted file mode 100644 index 7b665029..00000000 --- a/assets/classDiagram-LGTRVITY-uCUyMHA9.js +++ /dev/null @@ -1 +0,0 @@ -import{l as a,T as r,w as e,B as o}from"./chunk-UBDM6ZOM-2OqPPdFm.js";import"./chunk-4YMK7POB-1jnwl01V.js";import{m as t}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var c={parser:a,db:r,renderer:e,styles:o,init:t(s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,r.clear()},"init")};export{c as diagram}; diff --git a/assets/classDiagram-v2-UI22WKGF-njouX_e9.js b/assets/classDiagram-v2-UI22WKGF-njouX_e9.js new file mode 100644 index 00000000..69ffce2a --- /dev/null +++ b/assets/classDiagram-v2-UI22WKGF-njouX_e9.js @@ -0,0 +1 @@ +import{l as a,T as r,w as e,B as o}from"./chunk-UBDM6ZOM-Ds8YQakE.js";import"./chunk-4YMK7POB-jWkf0GjT.js";import{m as t}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var c={parser:a,db:r,renderer:e,styles:o,init:t(s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,r.clear()},"init")};export{c as diagram}; diff --git a/assets/classDiagram-v2-UI22WKGF-uCUyMHA9.js b/assets/classDiagram-v2-UI22WKGF-uCUyMHA9.js deleted file mode 100644 index 7b665029..00000000 --- a/assets/classDiagram-v2-UI22WKGF-uCUyMHA9.js +++ /dev/null @@ -1 +0,0 @@ -import{l as a,T as r,w as e,B as o}from"./chunk-UBDM6ZOM-2OqPPdFm.js";import"./chunk-4YMK7POB-1jnwl01V.js";import{m as t}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var c={parser:a,db:r,renderer:e,styles:o,init:t(s=>{s.class||(s.class={}),s.class.arrowMarkerAbsolute=s.arrowMarkerAbsolute,r.clear()},"init")};export{c as diagram}; diff --git a/assets/configuration.html-B9NQ-Pwr.js b/assets/configuration.html-GRsludP4.js similarity index 88% rename from assets/configuration.html-B9NQ-Pwr.js rename to assets/configuration.html-GRsludP4.js index db91f97a..c8c40059 100644 --- a/assets/configuration.html-B9NQ-Pwr.js +++ b/assets/configuration.html-GRsludP4.js @@ -1,4 +1,4 @@ -import{_ as t,c as o,a,o as n}from"./app-DQKFxOg7.js";const s={};function d(c,e){return n(),o("div",null,e[0]||(e[0]=[a(`

Configuration

For most uses you probably do not need any specific configuration on each package within your repository. But there are a few options to customize beachball's behavior.

There are two types of configurations:

  1. repository config
  2. package config

Repository config

beachball uses cosmiconfig to read its configuration, so you can specify configuration in several ways (in addition to CLI arguments).

  • "beachball" key inside package.json
  • .beachballrc
  • .beachballrc.json
  • beachball.config.js (CJS or ESM depending on your project setup; explicit .cjs or .mjs is also supported)

It's most common to use a JavaScript file for the repo-level config, since it's the most flexible and allows comments. Usually this file is at the repo root.

The beachball.config.js example below uses JSDoc type annotations to enable intellisense in some editors (these are optional).

// @ts-check
+import{_ as t,c as o,d as a,o as n}from"./app-3oaVMpRs.js";const s={};function d(c,e){return n(),o("div",null,e[0]||(e[0]=[a(`

Configuration

For most uses you probably do not need any specific configuration on each package within your repository. But there are a few options to customize beachball's behavior.

There are two types of configurations:

  1. repository config
  2. package config

Repository config

beachball uses cosmiconfig to read its configuration, so you can specify configuration in several ways (in addition to CLI arguments).

  • "beachball" key inside package.json
  • .beachballrc
  • .beachballrc.json
  • beachball.config.js (CJS or ESM depending on your project setup; explicit .cjs or .mjs is also supported)

It's most common to use a JavaScript file for the repo-level config, since it's the most flexible and allows comments. Usually this file is at the repo root.

The beachball.config.js example below uses JSDoc type annotations to enable intellisense in some editors (these are optional).

// @ts-check
 /** @type {import('beachball').BeachallConfig} */
 const config = {
   disallowedChangeTypes: ['major'],
@@ -23,4 +23,4 @@ import{_ as t,c as o,a,o as n}from"./app-DQKFxOg7.js";const s={};function d(c,e)
 

Options

For the latest full list of supported options, see RepoOptions in this file.

"Applies to" indicates where the settings can be specified: repo-level config or package-level config.

OptionTypeDefaultApplies toDescription
access'public' or 'restricted''restricted'repopublish access level for scoped package names (e.g. @foo/bar)
branchstringsee notesrepotarget branch; see notes
bumpDepsbooleantruerepobump dependent packages during publish (if B is bumped, and A depends on B, also bump A)
changeFilePromptChangeFilePromptOptionsrepocustomize the prompt for change files (can be used to add custom fields)
changehintstringrepohint message for when change files are not detected but required
changeDirstringchangerepodirectory where change files are stored (relative to repo root)
changelogChangelogOptionsrepochangelog rendering and grouping options
defaultNpmTagstring'latest'repo, packagethe default dist-tag used for NPM publish
disallowedChangeTypesstring[]repo, packagewhat change types are disallowed
fetchbooleantruerepofetch from remote before doing diff comparisons
generateChangelogboolean | 'md' | 'json'truerepowhether to generate CHANGELOG.md/json ('md' or 'json' to generate only that type)
gitTagsbooleantruerepo, packagewhether to create git tags for published packages (eg: foo_v1.0.1)
groupsVersionGroupOptions[]repobump these packages together (see details)
groupChangesbooleanfalserepowrite multiple changes to a single changefile
hooksHooksOptionsrepohooks for custom pre/post publish actions
ignorePatternsstring[]repoignore changes in files matching these glob patterns (see notes)
packagestringrepospecifies which package the command relates to (overrides change detection based on git diff)
prereleasePrefixstringrepoprerelease prefix for packages that are specified to receive a prerelease bump
publishbooleantruerepowhether to publish to npm registry
pushbooleantruerepowhether to push to the remote git branch
registrystringrepotarget NPM registry to publish
retriesnumber3reponumber of retries for a package publish before failing
scopestring[]repoonly consider package paths matching these patterns (see details)
shouldPublishfalse | undefinedpackagemanually disable publishing of a package by beachball (does not work to force publishing)
tagstring'latest'repo, packagedist-tag for npm when published
transformTransformOptionsrepotransformations for change files

Glob matching

Glob matching is implemented using minimatch, which supports most glob syntax.

All glob patterns are relative to the repo or monorepo root and must use forward slashes only.

Unless otherwise noted (such as for scope), using gitignore-style negated patterns to modify previous matches is not supported.

Scoping

The scope option allows limiting which packages are considered. You can set it in the config file if it should always apply, or on the command line for a specific operation.

This option takes a list of patterns which are matched against package paths. Patterns are relative to the monorepo root and must use forward slashes. Negations are supported, similar to how gitignore works.

Example: with this config, beachball will only consider packages under packages/foo (excluding packages/foo/bar).

{
   "scope": ["packages/foo/*", "!packages/foo/bar"]
 }
-

On the command line, this could be specified as --scope 'packages/foo/*' --scope '!packages/foo/bar' (don't forget the quotes!).

Note: if you have multiple sets of packages in the repo with different scopes, groupChanges is not supported.

Determining the target branch and remote

The branch option is the official target branch to compare against when determining changes. Usually it should be a name only, though you can also include a remote. The default is the system default branch name (main or master) and the official remote.

To let beachball reliably determine the official remote, it's recommended to specify repository in the repo root package.json. This allows matching via URL regardless of what the user decided to call the remote.

If repository isn't specified and branch doesn't include a remote, the fallback is upstream if defined, origin if defined, or the first defined remote.

`,35)]))}const i=t(s,[["render",d],["__file","configuration.html.vue"]]),p=JSON.parse('{"path":"/overview/configuration.html","title":"Configuration","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"Repository config","slug":"repository-config","link":"#repository-config","children":[]},{"level":2,"title":"Package config","slug":"package-config","link":"#package-config","children":[]},{"level":2,"title":"Options","slug":"options","link":"#options","children":[{"level":3,"title":"Glob matching","slug":"glob-matching","link":"#glob-matching","children":[]},{"level":3,"title":"Scoping","slug":"scoping","link":"#scoping","children":[]},{"level":3,"title":"Determining the target branch and remote","slug":"determining-the-target-branch-and-remote","link":"#determining-the-target-branch-and-remote","children":[]}]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"overview/configuration.md"}');export{i as comp,p as data}; +

On the command line, this could be specified as --scope 'packages/foo/*' --scope '!packages/foo/bar' (don't forget the quotes!).

Note: if you have multiple sets of packages in the repo with different scopes, groupChanges is not supported.

Determining the target branch and remote

The branch option is the official target branch to compare against when determining changes. Usually it should be a name only, though you can also include a remote. The default is the system default branch name (main or master) and the official remote.

To let beachball reliably determine the official remote, it's recommended to specify repository in the repo root package.json. This allows matching via URL regardless of what the user decided to call the remote.

If repository isn't specified and branch doesn't include a remote, the fallback is upstream if defined, origin if defined, or the first defined remote.

`,35)]))}const i=t(s,[["render",d],["__file","configuration.html.vue"]]),p=JSON.parse('{"path":"/overview/configuration.html","title":"Configuration","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"Repository config","slug":"repository-config","link":"#repository-config","children":[]},{"level":2,"title":"Package config","slug":"package-config","link":"#package-config","children":[]},{"level":2,"title":"Options","slug":"options","link":"#options","children":[{"level":3,"title":"Glob matching","slug":"glob-matching","link":"#glob-matching","children":[]},{"level":3,"title":"Scoping","slug":"scoping","link":"#scoping","children":[]},{"level":3,"title":"Determining the target branch and remote","slug":"determining-the-target-branch-and-remote","link":"#determining-the-target-branch-and-remote","children":[]}]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"overview/configuration.md"}');export{i as comp,p as data}; diff --git a/assets/dagre-2P6XN26F-CNdnaWyC.js b/assets/dagre-2P6XN26F-RlaDZ2ZP.js similarity index 97% rename from assets/dagre-2P6XN26F-CNdnaWyC.js rename to assets/dagre-2P6XN26F-RlaDZ2ZP.js index a7a77652..09f1f250 100644 --- a/assets/dagre-2P6XN26F-CNdnaWyC.js +++ b/assets/dagre-2P6XN26F-RlaDZ2ZP.js @@ -1,4 +1,4 @@ -import{m as w,J as a,bp as M,bq as j,bd as Y,br as $,bj as H,be as D,bc as Q,bs as _,bt as q,bu as W,bv as Z,bw as z,bx as K,Q as U}from"./mermaid.esm.min-DnxZBvzk.js";import{f as V}from"./chunk-FASC7IG4-Cf3UQ1W4.js";import{m as J}from"./chunk-ZN7TASNU-DRzcILnV.js";import{s as x,_ as ee,J as k}from"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";function X(e){var r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:G(e),edges:P(e)};return x(e.graph())||(r.value=ee(e.graph())),r}w(X,"write");function G(e){return k(e.nodes(),function(r){var n=e.node(r),d=e.parent(r),l={v:r};return x(n)||(l.value=n),x(d)||(l.parent=d),l})}w(G,"writeNodes");function P(e){return k(e.edges(),function(r){var n=e.edge(r),d={v:r.v,w:r.w};return x(r.name)||(d.name=r.name),x(n)||(d.value=n),d})}w(P,"writeEdges");var c=new Map,E=new Map,B=new Map,ne=w(()=>{E.clear(),B.clear(),c.clear()},"clear"),I=w((e,r)=>{let n=E.get(r)||[];return a.trace("In isDescendant",r," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),re=w((e,r)=>{let n=E.get(r)||[];return a.info("Descendants of ",r," is ",n),a.info("Edge is ",e),e.v===r||e.w===r?!1:n?n.includes(e.v)||I(e.v,r)||I(e.w,r)||n.includes(e.w):(a.debug("Tilt, ",r,",not in descendants"),!1)},"edgeInCluster"),A=w((e,r,n,d)=>{a.warn("Copying children of ",e,"root",d,"data",r.node(e),d);let l=r.children(e)||[];e!==d&&l.push(e),a.warn("Copying (nodes) clusterId",e,"nodes",l),l.forEach(o=>{if(r.children(o).length>0)A(o,r,n,d);else{let i=r.node(o);a.info("cp ",o," to ",d," with parent ",e),n.setNode(o,i),d!==r.parent(o)&&(a.warn("Setting parent",o,r.parent(o)),n.setParent(o,r.parent(o))),e!==d&&o!==e?(a.debug("Setting parent",o,e),n.setParent(o,e)):(a.info("In copy ",e,"root",d,"data",r.node(e),d),a.debug("Not Setting parent for node=",o,"cluster!==rootId",e!==d,"node!==clusterId",o!==e));let s=r.edges(o);a.debug("Copying Edges",s),s.forEach(h=>{a.info("Edge",h);let b=r.edge(h.v,h.w,h.name);a.info("Edge data",b,d);try{re(h,d)?(a.info("Copying as ",h.v,h.w,b,h.name),n.setEdge(h.v,h.w,b,h.name),a.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):a.info("Skipping copy of edge ",h.v,"-->",h.w," rootId: ",d," clusterId:",e)}catch(N){a.error(N)}})}a.debug("Removing node",o),r.removeNode(o)})},"copy"),R=w((e,r)=>{let n=r.children(e),d=[...n];for(let l of n)B.set(l,e),d=[...d,...R(l,r)];return d},"extractDescendants"),te=w((e,r,n)=>{let d=e.edges().filter(s=>s.v===r||s.w===r),l=e.edges().filter(s=>s.v===n||s.w===n),o=d.map(s=>({v:s.v===r?n:s.v,w:s.w===r?r:s.w})),i=l.map(s=>({v:s.v,w:s.w}));return o.filter(s=>i.some(h=>s.v===h.v&&s.w===h.w))},"findCommonEdges"),S=w((e,r,n)=>{let d=r.children(e);if(a.trace("Searching children of id ",e,d),d.length<1)return e;let l;for(let o of d){let i=S(o,r,n),s=te(r,n,i);if(i)if(s.length>0)l=i;else return i}return l},"findNonClusterChild"),O=w(e=>!c.has(e)||!c.get(e).externalConnections?e:c.has(e)?c.get(e).id:e,"getAnchorId"),ae=w((e,r)=>{if(!e||r>10){a.debug("Opting out, no graph ");return}else a.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(a.warn("Cluster identified",n," Replacement id in edges: ",S(n,e,n)),E.set(n,R(n,e)),c.set(n,{id:S(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){let d=e.children(n),l=e.edges();d.length>0?(a.debug("Cluster identified",n,E),l.forEach(o=>{let i=I(o.v,n),s=I(o.w,n);i^s&&(a.warn("Edge: ",o," leaves cluster ",n),a.warn("Descendants of XXX ",n,": ",E.get(n)),c.get(n).externalConnections=!0)})):a.debug("Not a cluster ",n,E)});for(let n of c.keys()){let d=c.get(n).id,l=e.parent(d);l!==n&&c.has(l)&&!c.get(l).externalConnections&&(c.get(n).id=l)}e.edges().forEach(function(n){let d=e.edge(n);a.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),a.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let l=n.v,o=n.w;if(a.warn("Fix XXX",c,"ids:",n.v,n.w,"Translating: ",c.get(n.v)," --- ",c.get(n.w)),c.get(n.v)||c.get(n.w)){if(a.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),l=O(n.v),o=O(n.w),e.removeEdge(n.v,n.w,n.name),l!==n.v){let i=e.parent(l);c.get(i).externalConnections=!0,d.fromCluster=n.v}if(o!==n.w){let i=e.parent(o);c.get(i).externalConnections=!0,d.toCluster=n.w}a.warn("Fix Replacing with XXX",l,o,n.name),e.setEdge(l,o,d,n.name)}}),a.warn("Adjusted Graph",X(e)),T(e,0),a.trace(c)},"adjustClustersAndEdges"),T=w((e,r)=>{var l,o;if(a.warn("extractor - ",r,X(e),e.children("D")),r>10){a.error("Bailing out");return}let n=e.nodes(),d=!1;for(let i of n){let s=e.children(i);d=d||s.length>0}if(!d){a.debug("Done, no node has children",e.nodes());return}a.debug("Nodes = ",n,r);for(let i of n)if(a.debug("Extracting node",i,c,c.has(i)&&!c.get(i).externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",r),!c.has(i))a.debug("Not a cluster",i,r);else if(!c.get(i).externalConnections&&e.children(i)&&e.children(i).length>0){a.warn("Cluster without external connections, without a parent and with children",i,r);let s=e.graph().rankdir==="TB"?"LR":"TB";(o=(l=c.get(i))==null?void 0:l.clusterData)!=null&&o.dir&&(s=c.get(i).clusterData.dir,a.warn("Fixing dir",c.get(i).clusterData.dir,s));let h=new J({multigraph:!0,compound:!0}).setGraph({rankdir:s,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});a.warn("Old graph before copy",X(e)),A(i,e,h,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:c.get(i).clusterData,label:c.get(i).label,graph:h}),a.warn("New graph after copy node: (",i,")",X(h)),a.debug("Old graph after copy",X(e))}else a.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!c.get(i).externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),r),a.debug(c);n=e.nodes(),a.warn("New list of nodes",n);for(let i of n){let s=e.node(i);a.warn(" Now next level",i,s),s!=null&&s.clusterNode&&T(s.graph,r+1)}},"extractor"),L=w((e,r)=>{if(r.length===0)return[];let n=Object.assign([],r);return r.forEach(d=>{let l=e.children(d),o=L(e,l);n=[...n,...o]}),n},"sorter"),ie=w(e=>L(e,e.children()),"sortNodesByHierarchy"),F=w(async(e,r,n,d,l,o)=>{a.warn("Graph in recursive render:XAX",X(r),l);let i=r.graph().rankdir;a.trace("Dir in recursive render - dir:",i);let s=e.insert("g").attr("class","root");r.nodes()?a.info("Recursive render XXX",r.nodes()):a.info("No nodes found for",r),r.edges().length>0&&a.info("Recursive edges",r.edge(r.edges()[0]));let h=s.insert("g").attr("class","clusters"),b=s.insert("g").attr("class","edgePaths"),N=s.insert("g").attr("class","edgeLabels"),p=s.insert("g").attr("class","nodes");await Promise.all(r.nodes().map(async function(g){let t=r.node(g);if(l!==void 0){let f=JSON.parse(JSON.stringify(l.clusterData));a.trace(`Setting data for parent cluster XXX +import{m as w,J as a,bp as M,bq as j,bd as Y,br as $,bj as H,be as D,bc as Q,bs as _,bt as q,bu as W,bv as Z,bw as z,bx as K,Q as U}from"./mermaid.esm.min-Bq5H-fqC.js";import{f as V}from"./chunk-FASC7IG4-D006d5mv.js";import{m as J}from"./chunk-ZN7TASNU-CG0HzbXE.js";import{s as x,_ as ee,J as k}from"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";function X(e){var r={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:G(e),edges:P(e)};return x(e.graph())||(r.value=ee(e.graph())),r}w(X,"write");function G(e){return k(e.nodes(),function(r){var n=e.node(r),d=e.parent(r),l={v:r};return x(n)||(l.value=n),x(d)||(l.parent=d),l})}w(G,"writeNodes");function P(e){return k(e.edges(),function(r){var n=e.edge(r),d={v:r.v,w:r.w};return x(r.name)||(d.name=r.name),x(n)||(d.value=n),d})}w(P,"writeEdges");var c=new Map,E=new Map,B=new Map,ne=w(()=>{E.clear(),B.clear(),c.clear()},"clear"),I=w((e,r)=>{let n=E.get(r)||[];return a.trace("In isDescendant",r," ",e," = ",n.includes(e)),n.includes(e)},"isDescendant"),re=w((e,r)=>{let n=E.get(r)||[];return a.info("Descendants of ",r," is ",n),a.info("Edge is ",e),e.v===r||e.w===r?!1:n?n.includes(e.v)||I(e.v,r)||I(e.w,r)||n.includes(e.w):(a.debug("Tilt, ",r,",not in descendants"),!1)},"edgeInCluster"),A=w((e,r,n,d)=>{a.warn("Copying children of ",e,"root",d,"data",r.node(e),d);let l=r.children(e)||[];e!==d&&l.push(e),a.warn("Copying (nodes) clusterId",e,"nodes",l),l.forEach(o=>{if(r.children(o).length>0)A(o,r,n,d);else{let i=r.node(o);a.info("cp ",o," to ",d," with parent ",e),n.setNode(o,i),d!==r.parent(o)&&(a.warn("Setting parent",o,r.parent(o)),n.setParent(o,r.parent(o))),e!==d&&o!==e?(a.debug("Setting parent",o,e),n.setParent(o,e)):(a.info("In copy ",e,"root",d,"data",r.node(e),d),a.debug("Not Setting parent for node=",o,"cluster!==rootId",e!==d,"node!==clusterId",o!==e));let s=r.edges(o);a.debug("Copying Edges",s),s.forEach(h=>{a.info("Edge",h);let b=r.edge(h.v,h.w,h.name);a.info("Edge data",b,d);try{re(h,d)?(a.info("Copying as ",h.v,h.w,b,h.name),n.setEdge(h.v,h.w,b,h.name),a.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):a.info("Skipping copy of edge ",h.v,"-->",h.w," rootId: ",d," clusterId:",e)}catch(N){a.error(N)}})}a.debug("Removing node",o),r.removeNode(o)})},"copy"),R=w((e,r)=>{let n=r.children(e),d=[...n];for(let l of n)B.set(l,e),d=[...d,...R(l,r)];return d},"extractDescendants"),te=w((e,r,n)=>{let d=e.edges().filter(s=>s.v===r||s.w===r),l=e.edges().filter(s=>s.v===n||s.w===n),o=d.map(s=>({v:s.v===r?n:s.v,w:s.w===r?r:s.w})),i=l.map(s=>({v:s.v,w:s.w}));return o.filter(s=>i.some(h=>s.v===h.v&&s.w===h.w))},"findCommonEdges"),S=w((e,r,n)=>{let d=r.children(e);if(a.trace("Searching children of id ",e,d),d.length<1)return e;let l;for(let o of d){let i=S(o,r,n),s=te(r,n,i);if(i)if(s.length>0)l=i;else return i}return l},"findNonClusterChild"),O=w(e=>!c.has(e)||!c.get(e).externalConnections?e:c.has(e)?c.get(e).id:e,"getAnchorId"),ae=w((e,r)=>{if(!e||r>10){a.debug("Opting out, no graph ");return}else a.debug("Opting in, graph ");e.nodes().forEach(function(n){e.children(n).length>0&&(a.warn("Cluster identified",n," Replacement id in edges: ",S(n,e,n)),E.set(n,R(n,e)),c.set(n,{id:S(n,e,n),clusterData:e.node(n)}))}),e.nodes().forEach(function(n){let d=e.children(n),l=e.edges();d.length>0?(a.debug("Cluster identified",n,E),l.forEach(o=>{let i=I(o.v,n),s=I(o.w,n);i^s&&(a.warn("Edge: ",o," leaves cluster ",n),a.warn("Descendants of XXX ",n,": ",E.get(n)),c.get(n).externalConnections=!0)})):a.debug("Not a cluster ",n,E)});for(let n of c.keys()){let d=c.get(n).id,l=e.parent(d);l!==n&&c.has(l)&&!c.get(l).externalConnections&&(c.get(n).id=l)}e.edges().forEach(function(n){let d=e.edge(n);a.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(n)),a.warn("Edge "+n.v+" -> "+n.w+": "+JSON.stringify(e.edge(n)));let l=n.v,o=n.w;if(a.warn("Fix XXX",c,"ids:",n.v,n.w,"Translating: ",c.get(n.v)," --- ",c.get(n.w)),c.get(n.v)||c.get(n.w)){if(a.warn("Fixing and trying - removing XXX",n.v,n.w,n.name),l=O(n.v),o=O(n.w),e.removeEdge(n.v,n.w,n.name),l!==n.v){let i=e.parent(l);c.get(i).externalConnections=!0,d.fromCluster=n.v}if(o!==n.w){let i=e.parent(o);c.get(i).externalConnections=!0,d.toCluster=n.w}a.warn("Fix Replacing with XXX",l,o,n.name),e.setEdge(l,o,d,n.name)}}),a.warn("Adjusted Graph",X(e)),T(e,0),a.trace(c)},"adjustClustersAndEdges"),T=w((e,r)=>{var l,o;if(a.warn("extractor - ",r,X(e),e.children("D")),r>10){a.error("Bailing out");return}let n=e.nodes(),d=!1;for(let i of n){let s=e.children(i);d=d||s.length>0}if(!d){a.debug("Done, no node has children",e.nodes());return}a.debug("Nodes = ",n,r);for(let i of n)if(a.debug("Extracting node",i,c,c.has(i)&&!c.get(i).externalConnections,!e.parent(i),e.node(i),e.children("D")," Depth ",r),!c.has(i))a.debug("Not a cluster",i,r);else if(!c.get(i).externalConnections&&e.children(i)&&e.children(i).length>0){a.warn("Cluster without external connections, without a parent and with children",i,r);let s=e.graph().rankdir==="TB"?"LR":"TB";(o=(l=c.get(i))==null?void 0:l.clusterData)!=null&&o.dir&&(s=c.get(i).clusterData.dir,a.warn("Fixing dir",c.get(i).clusterData.dir,s));let h=new J({multigraph:!0,compound:!0}).setGraph({rankdir:s,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}});a.warn("Old graph before copy",X(e)),A(i,e,h,i),e.setNode(i,{clusterNode:!0,id:i,clusterData:c.get(i).clusterData,label:c.get(i).label,graph:h}),a.warn("New graph after copy node: (",i,")",X(h)),a.debug("Old graph after copy",X(e))}else a.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!c.get(i).externalConnections," no parent: ",!e.parent(i)," children ",e.children(i)&&e.children(i).length>0,e.children("D"),r),a.debug(c);n=e.nodes(),a.warn("New list of nodes",n);for(let i of n){let s=e.node(i);a.warn(" Now next level",i,s),s!=null&&s.clusterNode&&T(s.graph,r+1)}},"extractor"),L=w((e,r)=>{if(r.length===0)return[];let n=Object.assign([],r);return r.forEach(d=>{let l=e.children(d),o=L(e,l);n=[...n,...o]}),n},"sorter"),ie=w(e=>L(e,e.children()),"sortNodesByHierarchy"),F=w(async(e,r,n,d,l,o)=>{a.warn("Graph in recursive render:XAX",X(r),l);let i=r.graph().rankdir;a.trace("Dir in recursive render - dir:",i);let s=e.insert("g").attr("class","root");r.nodes()?a.info("Recursive render XXX",r.nodes()):a.info("No nodes found for",r),r.edges().length>0&&a.info("Recursive edges",r.edge(r.edges()[0]));let h=s.insert("g").attr("class","clusters"),b=s.insert("g").attr("class","edgePaths"),N=s.insert("g").attr("class","edgeLabels"),p=s.insert("g").attr("class","nodes");await Promise.all(r.nodes().map(async function(g){let t=r.node(g);if(l!==void 0){let f=JSON.parse(JSON.stringify(l.clusterData));a.trace(`Setting data for parent cluster XXX Node.id = `,g,` data=`,f.height,` Parent cluster`,l.height),r.setNode(l.id,f),r.parent(g)||(a.trace("Setting parent",g,l.id),r.setParent(g,l.id,f))}if(a.info("(Insert) Node XXX"+g+": "+JSON.stringify(r.node(g))),t==null?void 0:t.clusterNode){a.info("Cluster identified XBX",g,t.width,r.node(g));let{ranksep:f,nodesep:v}=r.graph();t.graph.setGraph({...t.graph.graph(),ranksep:f+25,nodesep:v});let m=await F(p,t.graph,n,d,r.node(g),o),C=m.elem;M(t,C),t.diff=m.diff||0,a.info("New compound node after recursive render XAX",g,"width",t.width,"height",t.height),j(C,t)}else r.children(g).length>0?(a.trace("Cluster - the non recursive path XBX",g,t.id,t,t.width,"Graph:",r),a.trace(S(t.id,r)),c.set(t.id,{id:S(t.id,r),node:t})):(a.trace("Node - the non recursive path XAX",g,p,r.node(g),i),await Y(p,r.node(g),{config:o,dir:i}))})),await w(async()=>{let g=r.edges().map(async function(t){let f=r.edge(t.v,t.w,t.name);a.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),a.info("Edge "+t.v+" -> "+t.w+": ",t," ",JSON.stringify(r.edge(t))),a.info("Fix",c,"ids:",t.v,t.w,"Translating: ",c.get(t.v),c.get(t.w)),await $(N,f)});await Promise.all(g)},"processEdges")(),a.info("Graph before layout:",JSON.stringify(X(r))),a.info("############################################# XXX"),a.info("### Layout ### XXX"),a.info("############################################# XXX"),V(r),a.info("Graph after layout:",JSON.stringify(X(r)));let u=0,{subGraphTitleTotalMargin:y}=H(o);return await Promise.all(ie(r).map(async function(g){var f;let t=r.node(g);if(a.info("Position XBX => "+g+": ("+t.x,","+t.y,") width: ",t.width," height: ",t.height),t==null?void 0:t.clusterNode)t.y+=y,a.info("A tainted cluster node XBX1",g,t.id,t.width,t.height,t.x,t.y,r.parent(g)),c.get(t.id).node=t,D(t);else if(r.children(g).length>0){a.info("A pure cluster node XBX1",g,t.id,t.x,t.y,t.width,t.height,r.parent(g)),t.height+=y,r.node(t.parentId);let v=(t==null?void 0:t.padding)/2||0,m=((f=t==null?void 0:t.labelBBox)==null?void 0:f.height)||0,C=m-v||0;a.debug("OffsetY",C,"labelHeight",m,"halfPadding",v),await Q(h,t),c.get(t.id).node=t}else{let v=r.node(t.parentId);t.y+=y/2,a.info("A regular node XBX1 - using the padding",t.id,"parent",t.parentId,t.width,t.height,t.x,t.y,"offsetY",t.offsetY,"parent",v,v==null?void 0:v.offsetY,t),D(t)}})),r.edges().forEach(function(g){let t=r.edge(g);a.info("Edge "+g.v+" -> "+g.w+": "+JSON.stringify(t),t),t.points.forEach(C=>C.y+=y/2);let f=r.node(g.v);var v=r.node(g.w);let m=_(b,t,c,n,f,v,d);q(t,m)}),r.nodes().forEach(function(g){let t=r.node(g);a.info(g,t.type,t.diff),t.isGroup&&(u=t.diff)}),a.warn("Returning from recursive render XAX",s,u),{elem:s,diff:u}},"recursiveRender"),ce=w(async(e,r)=>{var o,i,s,h,b,N;let n=new J({multigraph:!0,compound:!0}).setGraph({rankdir:e.direction,nodesep:((o=e.config)==null?void 0:o.nodeSpacing)||((s=(i=e.config)==null?void 0:i.flowchart)==null?void 0:s.nodeSpacing)||e.nodeSpacing,ranksep:((h=e.config)==null?void 0:h.rankSpacing)||((N=(b=e.config)==null?void 0:b.flowchart)==null?void 0:N.rankSpacing)||e.rankSpacing,marginx:8,marginy:8}).setDefaultEdgeLabel(function(){return{}}),d=r.select("g");W(d,e.markers,e.type,e.diagramId),Z(),z(),K(),ne(),e.nodes.forEach(p=>{n.setNode(p.id,{...p}),p.parentId&&n.setParent(p.id,p.parentId)}),a.debug("Edges:",e.edges),e.edges.forEach(p=>{if(p.start===p.end){let u=p.start,y=u+"---"+u+"---1",g=u+"---"+u+"---2",t=n.node(u);n.setNode(y,{domId:y,id:y,parentId:t.parentId,labelStyle:"",label:"",padding:0,shape:"labelRect",style:"",width:10,height:10}),n.setParent(y,t.parentId),n.setNode(g,{domId:g,id:g,parentId:t.parentId,labelStyle:"",padding:0,shape:"labelRect",label:"",style:"",width:10,height:10}),n.setParent(g,t.parentId);let f=structuredClone(p),v=structuredClone(p),m=structuredClone(p);f.label="",f.arrowTypeEnd="none",f.id=u+"-cyclic-special-1",v.arrowTypeEnd="none",v.id=u+"-cyclic-special-mid",m.label="",t.isGroup&&(f.fromCluster=u,m.toCluster=u),m.id=u+"-cyclic-special-2",n.setEdge(u,y,f,u+"-cyclic-special-0"),n.setEdge(y,g,v,u+"-cyclic-special-1"),n.setEdge(g,u,m,u+"-cyc{let t=u({...M,...F().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),Y=i(()=>$.packet,"getPacket"),N=i(t=>{t.length>0&&$.packet.push(t)},"pushWord"),I=i(()=>{S(),$=structuredClone(w)},"clear"),m={pushWord:N,getPacket:Y,getConfig:R,clear:I,setAccTitle:T,getAccTitle:A,setDiagramTitle:D,getDiagramTitle:L,getAccDescription:E,setAccDescription:H},X=1e4,q=i(t=>{B(t,m);let e=-1,l=[],s=1,{bitsPerRow:n}=m.getConfig();for(let{start:a,end:r,label:p}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*l?[t,void 0]:[{start:t.start,end:e*l-1,label:t.label},{start:e*l,end:t.end,label:t.label}]},"getNextFittingBlock"),K={parse:i(async t=>{let e=await P("packet",t);x.debug(e),q(e)},"parse")},O=i((t,e,l,s)=>{let n=s.db,a=n.getConfig(),{rowHeight:r,paddingY:p,bitWidth:g,bitsPerRow:d}=a,h=n.getPacket(),o=n.getDiagramTitle(),k=r+p,c=k*(h.length+1)-(o?0:r),b=g*d+2,f=W(e);f.attr("viewbox",`0 0 ${b} ${c}`),z(f,c,b,a.useMaxWidth);for(let[y,C]of h.entries())U(f,C,y,a);f.append("text").text(o).attr("x",b/2).attr("y",c-k/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),U=i((t,e,l,{rowHeight:s,paddingX:n,paddingY:a,bitWidth:r,bitsPerRow:p,showBits:g})=>{let d=t.append("g"),h=l*(s+a)+a;for(let o of e){let k=o.start%p*r+1,c=(o.end-o.start+1)*r-n;if(d.append("rect").attr("x",k).attr("y",h).attr("width",c).attr("height",s).attr("class","packetBlock"),d.append("text").attr("x",k+c/2).attr("y",h+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(o.label),!g)continue;let b=o.end===o.start,f=h-2;d.append("text").attr("x",k+(b?c/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",b?"middle":"start").text(o.start),b||d.append("text").attr("x",k+c).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(o.end)}},"drawWord"),V={draw:O},_={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},j=i(({packet:t}={})=>{let e=u(_,t);return` +import{c as B}from"./chunk-4KE642ED-DF3NZIv7.js";import{p as P}from"./gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js";import{n as v,m as i,o as u,H as F,v as S,J as x,a8 as W,k as z,w as T,B as A,L as D,A as L,M as E,F as H}from"./mermaid.esm.min-Bq5H-fqC.js";import"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var w={packet:[]},$=structuredClone(w),M=v.packet,R=i(()=>{let t=u({...M,...F().packet});return t.showBits&&(t.paddingY+=10),t},"getConfig"),Y=i(()=>$.packet,"getPacket"),N=i(t=>{t.length>0&&$.packet.push(t)},"pushWord"),I=i(()=>{S(),$=structuredClone(w)},"clear"),m={pushWord:N,getPacket:Y,getConfig:R,clear:I,setAccTitle:T,getAccTitle:A,setDiagramTitle:D,getDiagramTitle:L,getAccDescription:E,setAccDescription:H},X=1e4,q=i(t=>{B(t,m);let e=-1,l=[],s=1,{bitsPerRow:n}=m.getConfig();for(let{start:a,end:r,label:p}of t.blocks){if(r&&r{if(t.end===void 0&&(t.end=t.start),t.start>t.end)throw new Error(`Block start ${t.start} is greater than block end ${t.end}.`);return t.end+1<=e*l?[t,void 0]:[{start:t.start,end:e*l-1,label:t.label},{start:e*l,end:t.end,label:t.label}]},"getNextFittingBlock"),K={parse:i(async t=>{let e=await P("packet",t);x.debug(e),q(e)},"parse")},O=i((t,e,l,s)=>{let n=s.db,a=n.getConfig(),{rowHeight:r,paddingY:p,bitWidth:g,bitsPerRow:d}=a,h=n.getPacket(),o=n.getDiagramTitle(),k=r+p,c=k*(h.length+1)-(o?0:r),b=g*d+2,f=W(e);f.attr("viewbox",`0 0 ${b} ${c}`),z(f,c,b,a.useMaxWidth);for(let[y,C]of h.entries())U(f,C,y,a);f.append("text").text(o).attr("x",b/2).attr("y",c-k/2).attr("dominant-baseline","middle").attr("text-anchor","middle").attr("class","packetTitle")},"draw"),U=i((t,e,l,{rowHeight:s,paddingX:n,paddingY:a,bitWidth:r,bitsPerRow:p,showBits:g})=>{let d=t.append("g"),h=l*(s+a)+a;for(let o of e){let k=o.start%p*r+1,c=(o.end-o.start+1)*r-n;if(d.append("rect").attr("x",k).attr("y",h).attr("width",c).attr("height",s).attr("class","packetBlock"),d.append("text").attr("x",k+c/2).attr("y",h+s/2).attr("class","packetLabel").attr("dominant-baseline","middle").attr("text-anchor","middle").text(o.label),!g)continue;let b=o.end===o.start,f=h-2;d.append("text").attr("x",k+(b?c/2:0)).attr("y",f).attr("class","packetByte start").attr("dominant-baseline","auto").attr("text-anchor",b?"middle":"start").text(o.start),b||d.append("text").attr("x",k+c).attr("y",f).attr("class","packetByte end").attr("dominant-baseline","auto").attr("text-anchor","end").text(o.end)}},"drawWord"),V={draw:O},_={byteFontSize:"10px",startByteColor:"black",endByteColor:"black",labelColor:"black",labelFontSize:"12px",titleColor:"black",titleFontSize:"14px",blockStrokeColor:"black",blockStrokeWidth:"1",blockFillColor:"#efefef"},j=i(({packet:t}={})=>{let e=u(_,t);return` .packetByte { font-size: ${e.byteFontSize}; } diff --git a/assets/erDiagram-SZV2UBQT-GmnSGfYe.js b/assets/erDiagram-SZV2UBQT-CjIuZmDH.js similarity index 98% rename from assets/erDiagram-SZV2UBQT-GmnSGfYe.js rename to assets/erDiagram-SZV2UBQT-CjIuZmDH.js index 6e81e608..3f78ab59 100644 --- a/assets/erDiagram-SZV2UBQT-GmnSGfYe.js +++ b/assets/erDiagram-SZV2UBQT-CjIuZmDH.js @@ -1,4 +1,4 @@ -import{f as Mt}from"./chunk-FASC7IG4-Cf3UQ1W4.js";import{m as wt}from"./chunk-ZN7TASNU-DRzcILnV.js";import{m as s,J as U,v as vt,Q as W,w as St,B as $t,F as Dt,M as It,L as Lt,A as Bt,i as Ct,j as Pt,l as Yt,b as at,I as Zt,k as Ft}from"./mermaid.esm.min-DnxZBvzk.js";import"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";var nt=function(){var t=s(function(v,a,o,n){for(o=o||{},n=v.length;n--;o[v[n]]=a);return o},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],y=[1,11],h=[1,12],_=[1,13],d=[1,14],c=[1,15],u=[1,21],g=[1,22],E=[1,23],m=[1,24],k=[1,25],f=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],x=[1,34],w=[27,28,46,47],P=[41,42,43,44,45],Y=[17,34],Z=[1,54],T=[1,53],S=[17,34,36,38],O={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:s(function(v,a,o,n,p,i,A){var l=i.length-1;switch(p){case 1:break;case 2:this.$=[];break;case 3:i[l-1].push(i[l]),this.$=i[l-1];break;case 4:case 5:this.$=i[l];break;case 6:case 7:this.$=[];break;case 8:n.addEntity(i[l-4]),n.addEntity(i[l-2]),n.addRelationship(i[l-4],i[l],i[l-2],i[l-3]);break;case 9:n.addEntity(i[l-3]),n.addAttributes(i[l-3],i[l-1]);break;case 10:n.addEntity(i[l-2]);break;case 11:n.addEntity(i[l]);break;case 12:n.addEntity(i[l-6],i[l-4]),n.addAttributes(i[l-6],i[l-1]);break;case 13:n.addEntity(i[l-5],i[l-3]);break;case 14:n.addEntity(i[l-3],i[l-1]);break;case 15:case 16:this.$=i[l].trim(),n.setAccTitle(this.$);break;case 17:case 18:this.$=i[l].trim(),n.setAccDescription(this.$);break;case 19:case 43:this.$=i[l];break;case 20:case 41:case 42:this.$=i[l].replace(/"/g,"");break;case 21:case 29:this.$=[i[l]];break;case 22:i[l].push(i[l-1]),this.$=i[l];break;case 23:this.$={attributeType:i[l-1],attributeName:i[l]};break;case 24:this.$={attributeType:i[l-2],attributeName:i[l-1],attributeKeyTypeList:i[l]};break;case 25:this.$={attributeType:i[l-2],attributeName:i[l-1],attributeComment:i[l]};break;case 26:this.$={attributeType:i[l-3],attributeName:i[l-2],attributeKeyTypeList:i[l-1],attributeComment:i[l]};break;case 27:case 28:case 31:this.$=i[l];break;case 30:i[l-2].push(i[l]),this.$=i[l-2];break;case 32:this.$=i[l].replace(/"/g,"");break;case 33:this.$={cardA:i[l],relType:i[l-1],cardB:i[l-2]};break;case 34:this.$=n.Cardinality.ZERO_OR_ONE;break;case 35:this.$=n.Cardinality.ZERO_OR_MORE;break;case 36:this.$=n.Cardinality.ONE_OR_MORE;break;case 37:this.$=n.Cardinality.ONLY_ONE;break;case 38:this.$=n.Cardinality.MD_PARENT;break;case 39:this.$=n.Identification.NON_IDENTIFYING;break;case 40:this.$=n.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:y,24:h,26:_,27:d,28:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:y,24:h,26:_,27:d,28:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:u,42:g,43:E,44:m,45:k}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(f,[2,19]),t(f,[2,20]),t(e,[2,4]),{11:29,27:d,28:c},{16:30,17:[1,31],29:32,30:33,34:x},{11:35,27:d,28:c},{40:36,46:[1,37],47:[1,38]},t(w,[2,34]),t(w,[2,35]),t(w,[2,36]),t(w,[2,37]),t(w,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:x},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:u,42:g,43:E,44:m,45:k},t(P,[2,39]),t(P,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(Y,[2,23],{32:50,33:51,35:52,37:Z,38:T}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(Y,[2,24],{33:56,36:[1,57],38:T}),t(Y,[2,25]),t(S,[2,29]),t(Y,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:x},t(Y,[2,26]),{35:60,37:Z},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:s(function(v,a){if(a.recoverable)this.trace(v);else{var o=new Error(v);throw o.hash=a,o}},"parseError"),parse:s(function(v){var a=this,o=[0],n=[],p=[null],i=[],A=this.table,l="",j=0,lt=0,Rt=0,Nt=2,ct=1,xt=i.slice.call(arguments,1),N=Object.create(this.lexer),K={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(K.yy[J]=this.yy[J]);N.setInput(v,K.yy),K.yy.lexer=N,K.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var tt=N.yylloc;i.push(tt);var Tt=N.options&&N.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function At(D){o.length=o.length-2*D,p.length=p.length-D,i.length=i.length-D}s(At,"popStack");function ht(){var D;return D=n.pop()||N.lex()||ct,typeof D!="number"&&(D instanceof Array&&(n=D,D=n.pop()),D=a.symbols_[D]||D),D}s(ht,"lex");for(var $,et,z,L,ge,rt,Q={},G,F,dt,q;;){if(z=o[o.length-1],this.defaultActions[z]?L=this.defaultActions[z]:(($===null||typeof $>"u")&&($=ht()),L=A[z]&&A[z][$]),typeof L>"u"||!L.length||!L[0]){var it="";q=[];for(G in A[z])this.terminals_[G]&&G>Nt&&q.push("'"+this.terminals_[G]+"'");N.showPosition?it="Parse error on line "+(j+1)+`: +import{f as Mt}from"./chunk-FASC7IG4-D006d5mv.js";import{m as wt}from"./chunk-ZN7TASNU-CG0HzbXE.js";import{m as s,J as U,v as vt,Q as W,w as St,B as $t,F as Dt,M as It,L as Lt,A as Bt,i as Ct,j as Pt,l as Yt,b as at,I as Zt,k as Ft}from"./mermaid.esm.min-Bq5H-fqC.js";import"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var nt=function(){var t=s(function(v,a,o,n){for(o=o||{},n=v.length;n--;o[v[n]]=a);return o},"o"),e=[6,8,10,20,22,24,26,27,28],r=[1,10],y=[1,11],h=[1,12],_=[1,13],d=[1,14],c=[1,15],u=[1,21],g=[1,22],E=[1,23],m=[1,24],k=[1,25],f=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],x=[1,34],w=[27,28,46,47],P=[41,42,43,44,45],Y=[17,34],Z=[1,54],T=[1,53],S=[17,34,36,38],O={trace:s(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:s(function(v,a,o,n,p,i,A){var l=i.length-1;switch(p){case 1:break;case 2:this.$=[];break;case 3:i[l-1].push(i[l]),this.$=i[l-1];break;case 4:case 5:this.$=i[l];break;case 6:case 7:this.$=[];break;case 8:n.addEntity(i[l-4]),n.addEntity(i[l-2]),n.addRelationship(i[l-4],i[l],i[l-2],i[l-3]);break;case 9:n.addEntity(i[l-3]),n.addAttributes(i[l-3],i[l-1]);break;case 10:n.addEntity(i[l-2]);break;case 11:n.addEntity(i[l]);break;case 12:n.addEntity(i[l-6],i[l-4]),n.addAttributes(i[l-6],i[l-1]);break;case 13:n.addEntity(i[l-5],i[l-3]);break;case 14:n.addEntity(i[l-3],i[l-1]);break;case 15:case 16:this.$=i[l].trim(),n.setAccTitle(this.$);break;case 17:case 18:this.$=i[l].trim(),n.setAccDescription(this.$);break;case 19:case 43:this.$=i[l];break;case 20:case 41:case 42:this.$=i[l].replace(/"/g,"");break;case 21:case 29:this.$=[i[l]];break;case 22:i[l].push(i[l-1]),this.$=i[l];break;case 23:this.$={attributeType:i[l-1],attributeName:i[l]};break;case 24:this.$={attributeType:i[l-2],attributeName:i[l-1],attributeKeyTypeList:i[l]};break;case 25:this.$={attributeType:i[l-2],attributeName:i[l-1],attributeComment:i[l]};break;case 26:this.$={attributeType:i[l-3],attributeName:i[l-2],attributeKeyTypeList:i[l-1],attributeComment:i[l]};break;case 27:case 28:case 31:this.$=i[l];break;case 30:i[l-2].push(i[l]),this.$=i[l-2];break;case 32:this.$=i[l].replace(/"/g,"");break;case 33:this.$={cardA:i[l],relType:i[l-1],cardB:i[l-2]};break;case 34:this.$=n.Cardinality.ZERO_OR_ONE;break;case 35:this.$=n.Cardinality.ZERO_OR_MORE;break;case 36:this.$=n.Cardinality.ONE_OR_MORE;break;case 37:this.$=n.Cardinality.ONLY_ONE;break;case 38:this.$=n.Cardinality.MD_PARENT;break;case 39:this.$=n.Identification.NON_IDENTIFYING;break;case 40:this.$=n.Identification.IDENTIFYING;break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:r,22:y,24:h,26:_,27:d,28:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:r,22:y,24:h,26:_,27:d,28:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:u,42:g,43:E,44:m,45:k}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(f,[2,19]),t(f,[2,20]),t(e,[2,4]),{11:29,27:d,28:c},{16:30,17:[1,31],29:32,30:33,34:x},{11:35,27:d,28:c},{40:36,46:[1,37],47:[1,38]},t(w,[2,34]),t(w,[2,35]),t(w,[2,36]),t(w,[2,37]),t(w,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:x},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:u,42:g,43:E,44:m,45:k},t(P,[2,39]),t(P,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(Y,[2,23],{32:50,33:51,35:52,37:Z,38:T}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(Y,[2,24],{33:56,36:[1,57],38:T}),t(Y,[2,25]),t(S,[2,29]),t(Y,[2,32]),t(S,[2,31]),{16:58,17:[1,59],29:32,30:33,34:x},t(Y,[2,26]),{35:60,37:Z},{17:[1,61]},t(e,[2,13]),t(S,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:s(function(v,a){if(a.recoverable)this.trace(v);else{var o=new Error(v);throw o.hash=a,o}},"parseError"),parse:s(function(v){var a=this,o=[0],n=[],p=[null],i=[],A=this.table,l="",j=0,lt=0,Rt=0,Nt=2,ct=1,xt=i.slice.call(arguments,1),N=Object.create(this.lexer),K={yy:{}};for(var J in this.yy)Object.prototype.hasOwnProperty.call(this.yy,J)&&(K.yy[J]=this.yy[J]);N.setInput(v,K.yy),K.yy.lexer=N,K.yy.parser=this,typeof N.yylloc>"u"&&(N.yylloc={});var tt=N.yylloc;i.push(tt);var Tt=N.options&&N.options.ranges;typeof K.yy.parseError=="function"?this.parseError=K.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function At(D){o.length=o.length-2*D,p.length=p.length-D,i.length=i.length-D}s(At,"popStack");function ht(){var D;return D=n.pop()||N.lex()||ct,typeof D!="number"&&(D instanceof Array&&(n=D,D=n.pop()),D=a.symbols_[D]||D),D}s(ht,"lex");for(var $,et,z,L,ge,rt,Q={},G,F,dt,q;;){if(z=o[o.length-1],this.defaultActions[z]?L=this.defaultActions[z]:(($===null||typeof $>"u")&&($=ht()),L=A[z]&&A[z][$]),typeof L>"u"||!L.length||!L[0]){var it="";q=[];for(G in A[z])this.terminals_[G]&&G>Nt&&q.push("'"+this.terminals_[G]+"'");N.showPosition?it="Parse error on line "+(j+1)+`: `+N.showPosition()+` Expecting `+q.join(", ")+", got '"+(this.terminals_[$]||$)+"'":it="Parse error on line "+(j+1)+": Unexpected "+($==ct?"end of input":"'"+(this.terminals_[$]||$)+"'"),this.parseError(it,{text:N.match,token:this.terminals_[$]||$,line:N.yylineno,loc:tt,expected:q})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+$);switch(L[0]){case 1:o.push($),p.push(N.yytext),i.push(N.yylloc),o.push(L[1]),$=null,et?($=et,et=null):(lt=N.yyleng,l=N.yytext,j=N.yylineno,tt=N.yylloc,Rt>0);break;case 2:if(F=this.productions_[L[1]][1],Q.$=p[p.length-F],Q._$={first_line:i[i.length-(F||1)].first_line,last_line:i[i.length-1].last_line,first_column:i[i.length-(F||1)].first_column,last_column:i[i.length-1].last_column},Tt&&(Q._$.range=[i[i.length-(F||1)].range[0],i[i.length-1].range[1]]),rt=this.performAction.apply(Q,[l,lt,j,K.yy,L[1],p,i].concat(xt)),typeof rt<"u")return rt;F&&(o=o.slice(0,-1*F*2),p=p.slice(0,-1*F),i=i.slice(0,-1*F)),o.push(this.productions_[L[1]][0]),p.push(Q.$),i.push(Q._$),dt=A[o[o.length-2]][o[o.length-1]],o.push(dt);break;case 3:return!0}}return!0},"parse")},R=function(){var v={EOF:1,parseError:s(function(a,o){if(this.yy.parser)this.yy.parser.parseError(a,o);else throw new Error(a)},"parseError"),setInput:s(function(a,o){return this.yy=o||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var o=a.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:s(function(a){var o=a.length,n=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===p.length?this.yylloc.first_column:0)+p[p.length-n.length].length-n[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:s(function(){return this._more=!0,this},"more"),reject:s(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:s(function(a){this.unput(this.match.slice(a))},"less"),pastInput:s(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s(function(){var a=this.pastInput(),o=new Array(a.length+1).join("-");return a+this.upcomingInput()+` diff --git a/assets/flowDiagram-INP2BB3V-BDN-Qq5Z.js b/assets/flowDiagram-INP2BB3V-DhvBIwO4.js similarity index 99% rename from assets/flowDiagram-INP2BB3V-BDN-Qq5Z.js rename to assets/flowDiagram-INP2BB3V-DhvBIwO4.js index 3632f974..256b8277 100644 --- a/assets/flowDiagram-INP2BB3V-BDN-Qq5Z.js +++ b/assets/flowDiagram-INP2BB3V-DhvBIwO4.js @@ -1,4 +1,4 @@ -import{w as ft,$ as yt}from"./chunk-4YMK7POB-1jnwl01V.js";import{Q as U1,m as o,d as kt,g as bt,c as Et,e as mt,J as t1,I as Ae,b as D1,v as xt,Y as St,h as Dt,w as Tt,B as Ct,M as Ft,F as _t,L as Bt,A as vt,V as wt,S as $t,u as Lt,O as Ze,G as It}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var Rt="flowchart-",Qe=0,V1=U1(),y1=new Map,j=[],Y1=new Map,g1=[],fe=new Map,ye=new Map,Q1=0,pe=!0,J,te,se=[],re=o(e=>kt.sanitizeText(e,V1),"sanitizeText"),ie=o(function(e){for(let r of y1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Nt=o(function(e,r,u,i,a,g,f={},d){var F,V;if(!e||e.trim().length===0)return;let A,h=y1.get(e);if(h===void 0&&(h={id:e,labelType:"text",domId:Rt+e+"-"+Qe,styles:[],classes:[]},y1.set(e,h)),Qe++,r!==void 0?(V1=U1(),A=re(r.text.trim()),h.labelType=r.type,A.startsWith('"')&&A.endsWith('"')&&(A=A.substring(1,A.length-1)),h.text=A):h.text===void 0&&(h.text=e),u!==void 0&&(h.type=u),i==null||i.forEach(function(_){h.styles.push(_)}),a==null||a.forEach(function(_){h.classes.push(_)}),g!==void 0&&(h.dir=g),h.props===void 0?h.props=f:f!==void 0&&Object.assign(h.props,f),d!==void 0){let _;d.includes(` +import{w as ft,$ as yt}from"./chunk-4YMK7POB-jWkf0GjT.js";import{Q as U1,m as o,d as kt,g as bt,c as Et,e as mt,J as t1,I as Ae,b as D1,v as xt,Y as St,h as Dt,w as Tt,B as Ct,M as Ft,F as _t,L as Bt,A as vt,V as wt,S as $t,u as Lt,O as Ze,G as It}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var Rt="flowchart-",Qe=0,V1=U1(),y1=new Map,j=[],Y1=new Map,g1=[],fe=new Map,ye=new Map,Q1=0,pe=!0,J,te,se=[],re=o(e=>kt.sanitizeText(e,V1),"sanitizeText"),ie=o(function(e){for(let r of y1.values())if(r.id===e)return r.domId;return e},"lookUpDomId"),Nt=o(function(e,r,u,i,a,g,f={},d){var F,V;if(!e||e.trim().length===0)return;let A,h=y1.get(e);if(h===void 0&&(h={id:e,labelType:"text",domId:Rt+e+"-"+Qe,styles:[],classes:[]},y1.set(e,h)),Qe++,r!==void 0?(V1=U1(),A=re(r.text.trim()),h.labelType=r.type,A.startsWith('"')&&A.endsWith('"')&&(A=A.substring(1,A.length-1)),h.text=A):h.text===void 0&&(h.text=e),u!==void 0&&(h.type=u),i==null||i.forEach(function(_){h.styles.push(_)}),a==null||a.forEach(function(_){h.classes.push(_)}),g!==void 0&&(h.dir=g),h.props===void 0?h.props=f:f!==void 0&&Object.assign(h.props,f),d!==void 0){let _;d.includes(` `)?_=d+` `:_=`{ `+d+` diff --git a/assets/ganttDiagram-547IIDY5-ZkMggwVG.js b/assets/ganttDiagram-547IIDY5-BwT6k_6j.js similarity index 99% rename from assets/ganttDiagram-547IIDY5-ZkMggwVG.js rename to assets/ganttDiagram-547IIDY5-BwT6k_6j.js index 98b8ef7b..b0cd1a56 100644 --- a/assets/ganttDiagram-547IIDY5-ZkMggwVG.js +++ b/assets/ganttDiagram-547IIDY5-BwT6k_6j.js @@ -1,4 +1,4 @@ -import{m as l,q as dt,f as ce,s as te,v as de,J as wt,Q as ot,I as ue,w as he,B as fe,L as ye,A as ke,F as me,M as pe,b as Tt,t as ge,x as be,y as Te,k as ve,U as xe,z as we,K as _e,C as Ut,D as Zt,E as qt,P as Kt,_ as Ht,T as Jt,X as Rt,Z as De,d as $e,a0 as Lt,a1 as Se,a2 as Ce,a3 as Ee,a4 as Me,a5 as Ae,a6 as Le,a7 as Ye}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var Ie=Lt((e,i)=>{(function(s,r){typeof e=="object"&&typeof i<"u"?i.exports=r():typeof define=="function"&&define.amd?define(r):(s=typeof globalThis<"u"?globalThis:s||self).dayjs_plugin_isoWeek=r()})(e,function(){var s="day";return function(r,n,u){var y=l(function($){return $.add(4-$.isoWeekday(),s)},"a"),D=n.prototype;D.isoWeekYear=function(){return y(this).year()},D.isoWeek=function($){if(!this.$utils().u($))return this.add(7*($-this.isoWeek()),s);var x,E,F,j,z=y(this),C=(x=this.isoWeekYear(),E=this.$u,F=(E?u.utc:u)().year(x).startOf("year"),j=4-F.isoWeekday(),F.isoWeekday()>4&&(j+=7),F.add(j,s));return z.diff(C,"week")+1},D.isoWeekday=function($){return this.$utils().u($)?this.day()||7:this.day(this.day()%7?$:$-7)};var Y=D.startOf;D.startOf=function($,x){var E=this.$utils(),F=!!E.u(x)||x;return E.p($)==="isoweek"?F?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):Y.bind(this)($,x)}}})}),Fe=Lt((e,i)=>{(function(s,r){typeof e=="object"&&typeof i<"u"?i.exports=r():typeof define=="function"&&define.amd?define(r):(s=typeof globalThis<"u"?globalThis:s||self).dayjs_plugin_customParseFormat=r()})(e,function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,u=/\d\d/,y=/\d\d?/,D=/\d*[^-_:/,()\s\d]+/,Y={},$=l(function(g){return(g=+g)+(g>68?1900:2e3)},"a"),x=l(function(g){return function(S){this[g]=+S}},"f"),E=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var M=S.match(/([+-]|\d\d)/g),A=60*M[1]+(+M[2]||0);return A===0?0:M[0]==="+"?-A:A}(g)}],F=l(function(g){var S=Y[g];return S&&(S.indexOf?S:S.s.concat(S.f))},"u"),j=l(function(g,S){var M,A=Y.meridiem;if(A){for(var G=1;G<=24;G+=1)if(g.indexOf(A(G,0,S))>-1){M=G>12;break}}else M=g===(S?"pm":"PM");return M},"d"),z={A:[D,function(g){this.afternoon=j(g,!1)}],a:[D,function(g){this.afternoon=j(g,!0)}],Q:[n,function(g){this.month=3*(g-1)+1}],S:[n,function(g){this.milliseconds=100*+g}],SS:[u,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[y,x("seconds")],ss:[y,x("seconds")],m:[y,x("minutes")],mm:[y,x("minutes")],H:[y,x("hours")],h:[y,x("hours")],HH:[y,x("hours")],hh:[y,x("hours")],D:[y,x("day")],DD:[u,x("day")],Do:[D,function(g){var S=Y.ordinal,M=g.match(/\d+/);if(this.day=M[0],S)for(var A=1;A<=31;A+=1)S(A).replace(/\[|\]/g,"")===g&&(this.day=A)}],w:[y,x("week")],ww:[u,x("week")],M:[y,x("month")],MM:[u,x("month")],MMM:[D,function(g){var S=F("months"),M=(F("monthsShort")||S.map(function(A){return A.slice(0,3)})).indexOf(g)+1;if(M<1)throw new Error;this.month=M%12||M}],MMMM:[D,function(g){var S=F("months").indexOf(g)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,x("year")],YY:[u,function(g){this.year=$(g)}],YYYY:[/\d{4}/,x("year")],Z:E,ZZ:E};function C(g){var S,M;S=g,M=Y&&Y.formats;for(var A=(g=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,v,h){var m=h&&h.toUpperCase();return v||M[h]||s[h]||M[m].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(a,d,c){return d||c.slice(1)})})).match(r),G=A.length,N=0;N-1)return new Date((t==="X"?1e3:1)*p);var _=C(t)(p),w=_.year,L=_.month,I=_.day,it=_.hours,ut=_.minutes,W=_.seconds,R=_.milliseconds,st=_.zone,rt=_.week,ht=new Date,ft=I||(w||L?1:ht.getDate()),at=w||ht.getFullYear(),O=0;w&&!L||(O=L>0?L-1:ht.getMonth());var V,H=it||0,B=ut||0,pt=W||0,tt=R||0;return st?new Date(Date.UTC(at,O,ft,H,B,pt,tt+60*st.offset*1e3)):f?new Date(Date.UTC(at,O,ft,H,B,pt,tt)):(V=new Date(at,O,ft,H,B,pt,tt),rt&&(V=o(V).week(rt).toDate()),V)}catch{return new Date("")}}(K,b,U,M),this.init(),m&&m!==!0&&(this.$L=this.locale(m).$L),h&&K!=this.format(b)&&(this.$d=new Date("")),Y={}}else if(b instanceof Array)for(var a=b.length,d=1;d<=a;d+=1){k[1]=b[d-1];var c=M.apply(this,k);if(c.isValid()){this.$d=c.$d,this.$L=c.$L,this.init();break}d===a&&(this.$d=new Date(""))}else G.call(this,N)}}})}),We=Lt((e,i)=>{(function(s,r){typeof e=="object"&&typeof i<"u"?i.exports=r():typeof define=="function"&&define.amd?define(r):(s=typeof globalThis<"u"?globalThis:s||self).dayjs_plugin_advancedFormat=r()})(e,function(){return function(s,r){var n=r.prototype,u=n.format;n.format=function(y){var D=this,Y=this.$locale();if(!this.isValid())return u.bind(this)(y);var $=this.$utils(),x=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(E){switch(E){case"Q":return Math.ceil((D.$M+1)/3);case"Do":return Y.ordinal(D.$D);case"gggg":return D.weekYear();case"GGGG":return D.isoWeekYear();case"wo":return Y.ordinal(D.week(),"W");case"w":case"ww":return $.s(D.week(),E==="w"?1:2,"0");case"W":case"WW":return $.s(D.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return $.s(String(D.$H===0?24:D.$H),E==="k"?1:2,"0");case"X":return Math.floor(D.$d.getTime()/1e3);case"x":return D.$d.getTime();case"z":return"["+D.offsetName()+"]";case"zzz":return"["+D.offsetName("long")+"]";default:return E}});return u.bind(this)(x)}}})}),Ct=function(){var e=l(function(m,a,d,c){for(d=d||{},c=m.length;c--;d[m[c]]=a);return d},"o"),i=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],n=[1,28],u=[1,29],y=[1,30],D=[1,31],Y=[1,32],$=[1,33],x=[1,34],E=[1,9],F=[1,10],j=[1,11],z=[1,12],C=[1,13],g=[1,14],S=[1,15],M=[1,16],A=[1,19],G=[1,20],N=[1,21],K=[1,22],U=[1,23],k=[1,25],b=[1,35],T={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(m,a,d,c,p,t,f){var o=t.length-1;switch(p){case 1:return t[o-1];case 2:this.$=[];break;case 3:t[o-1].push(t[o]),this.$=t[o-1];break;case 4:case 5:this.$=t[o];break;case 6:case 7:this.$=[];break;case 8:c.setWeekday("monday");break;case 9:c.setWeekday("tuesday");break;case 10:c.setWeekday("wednesday");break;case 11:c.setWeekday("thursday");break;case 12:c.setWeekday("friday");break;case 13:c.setWeekday("saturday");break;case 14:c.setWeekday("sunday");break;case 15:c.setWeekend("friday");break;case 16:c.setWeekend("saturday");break;case 17:c.setDateFormat(t[o].substr(11)),this.$=t[o].substr(11);break;case 18:c.enableInclusiveEndDates(),this.$=t[o].substr(18);break;case 19:c.TopAxis(),this.$=t[o].substr(8);break;case 20:c.setAxisFormat(t[o].substr(11)),this.$=t[o].substr(11);break;case 21:c.setTickInterval(t[o].substr(13)),this.$=t[o].substr(13);break;case 22:c.setExcludes(t[o].substr(9)),this.$=t[o].substr(9);break;case 23:c.setIncludes(t[o].substr(9)),this.$=t[o].substr(9);break;case 24:c.setTodayMarker(t[o].substr(12)),this.$=t[o].substr(12);break;case 27:c.setDiagramTitle(t[o].substr(6)),this.$=t[o].substr(6);break;case 28:this.$=t[o].trim(),c.setAccTitle(this.$);break;case 29:case 30:this.$=t[o].trim(),c.setAccDescription(this.$);break;case 31:c.addSection(t[o].substr(8)),this.$=t[o].substr(8);break;case 33:c.addTask(t[o-1],t[o]),this.$="task";break;case 34:this.$=t[o-1],c.setClickEvent(t[o-1],t[o],null);break;case 35:this.$=t[o-2],c.setClickEvent(t[o-2],t[o-1],t[o]);break;case 36:this.$=t[o-2],c.setClickEvent(t[o-2],t[o-1],null),c.setLink(t[o-2],t[o]);break;case 37:this.$=t[o-3],c.setClickEvent(t[o-3],t[o-2],t[o-1]),c.setLink(t[o-3],t[o]);break;case 38:this.$=t[o-2],c.setClickEvent(t[o-2],t[o],null),c.setLink(t[o-2],t[o-1]);break;case 39:this.$=t[o-3],c.setClickEvent(t[o-3],t[o-1],t[o]),c.setLink(t[o-3],t[o-2]);break;case 40:this.$=t[o-1],c.setLink(t[o-1],t[o]);break;case 41:case 47:this.$=t[o-1]+" "+t[o];break;case 42:case 43:case 45:this.$=t[o-2]+" "+t[o-1]+" "+t[o];break;case 44:case 46:this.$=t[o-3]+" "+t[o-2]+" "+t[o-1]+" "+t[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(i,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:n,15:u,16:y,17:D,18:Y,19:18,20:$,21:x,22:E,23:F,24:j,25:z,26:C,27:g,28:S,29:M,30:A,31:G,33:N,35:K,36:U,37:24,38:k,40:b},e(i,[2,7],{1:[2,1]}),e(i,[2,3]),{9:36,11:17,12:s,13:r,14:n,15:u,16:y,17:D,18:Y,19:18,20:$,21:x,22:E,23:F,24:j,25:z,26:C,27:g,28:S,29:M,30:A,31:G,33:N,35:K,36:U,37:24,38:k,40:b},e(i,[2,5]),e(i,[2,6]),e(i,[2,17]),e(i,[2,18]),e(i,[2,19]),e(i,[2,20]),e(i,[2,21]),e(i,[2,22]),e(i,[2,23]),e(i,[2,24]),e(i,[2,25]),e(i,[2,26]),e(i,[2,27]),{32:[1,37]},{34:[1,38]},e(i,[2,30]),e(i,[2,31]),e(i,[2,32]),{39:[1,39]},e(i,[2,8]),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,15]),e(i,[2,16]),{41:[1,40],43:[1,41]},e(i,[2,4]),e(i,[2,28]),e(i,[2,29]),e(i,[2,33]),e(i,[2,34],{42:[1,42],43:[1,43]}),e(i,[2,40],{41:[1,44]}),e(i,[2,35],{43:[1,45]}),e(i,[2,36]),e(i,[2,38],{42:[1,46]}),e(i,[2,37]),e(i,[2,39])],defaultActions:{},parseError:l(function(m,a){if(a.recoverable)this.trace(m);else{var d=new Error(m);throw d.hash=a,d}},"parseError"),parse:l(function(m){var a=this,d=[0],c=[],p=[null],t=[],f=this.table,o="",_=0,w=0,L=0,I=2,it=1,ut=t.slice.call(arguments,1),W=Object.create(this.lexer),R={yy:{}};for(var st in this.yy)Object.prototype.hasOwnProperty.call(this.yy,st)&&(R.yy[st]=this.yy[st]);W.setInput(m,R.yy),R.yy.lexer=W,R.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var rt=W.yylloc;t.push(rt);var ht=W.options&&W.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(Z){d.length=d.length-2*Z,p.length=p.length-Z,t.length=t.length-Z}l(ft,"popStack");function at(){var Z;return Z=c.pop()||W.lex()||it,typeof Z!="number"&&(Z instanceof Array&&(c=Z,Z=c.pop()),Z=a.symbols_[Z]||Z),Z}l(at,"lex");for(var O,V,H,B,pt,tt,nt={},gt,X,Nt,bt;;){if(H=d[d.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((O===null||typeof O>"u")&&(O=at()),B=f[H]&&f[H][O]),typeof B>"u"||!B.length||!B[0]){var $t="";bt=[];for(gt in f[H])this.terminals_[gt]&>>I&&bt.push("'"+this.terminals_[gt]+"'");W.showPosition?$t="Parse error on line "+(_+1)+`: +import{m as l,q as dt,f as ce,s as te,v as de,J as wt,Q as ot,I as ue,w as he,B as fe,L as ye,A as ke,F as me,M as pe,b as Tt,t as ge,x as be,y as Te,k as ve,U as xe,z as we,K as _e,C as Ut,D as Zt,E as qt,P as Kt,_ as Ht,T as Jt,X as Rt,Z as De,d as $e,a0 as Lt,a1 as Se,a2 as Ce,a3 as Ee,a4 as Me,a5 as Ae,a6 as Le,a7 as Ye}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var Ie=Lt((e,i)=>{(function(s,r){typeof e=="object"&&typeof i<"u"?i.exports=r():typeof define=="function"&&define.amd?define(r):(s=typeof globalThis<"u"?globalThis:s||self).dayjs_plugin_isoWeek=r()})(e,function(){var s="day";return function(r,n,u){var y=l(function($){return $.add(4-$.isoWeekday(),s)},"a"),D=n.prototype;D.isoWeekYear=function(){return y(this).year()},D.isoWeek=function($){if(!this.$utils().u($))return this.add(7*($-this.isoWeek()),s);var x,E,F,j,z=y(this),C=(x=this.isoWeekYear(),E=this.$u,F=(E?u.utc:u)().year(x).startOf("year"),j=4-F.isoWeekday(),F.isoWeekday()>4&&(j+=7),F.add(j,s));return z.diff(C,"week")+1},D.isoWeekday=function($){return this.$utils().u($)?this.day()||7:this.day(this.day()%7?$:$-7)};var Y=D.startOf;D.startOf=function($,x){var E=this.$utils(),F=!!E.u(x)||x;return E.p($)==="isoweek"?F?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):Y.bind(this)($,x)}}})}),Fe=Lt((e,i)=>{(function(s,r){typeof e=="object"&&typeof i<"u"?i.exports=r():typeof define=="function"&&define.amd?define(r):(s=typeof globalThis<"u"?globalThis:s||self).dayjs_plugin_customParseFormat=r()})(e,function(){var s={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,u=/\d\d/,y=/\d\d?/,D=/\d*[^-_:/,()\s\d]+/,Y={},$=l(function(g){return(g=+g)+(g>68?1900:2e3)},"a"),x=l(function(g){return function(S){this[g]=+S}},"f"),E=[/[+-]\d\d:?(\d\d)?|Z/,function(g){(this.zone||(this.zone={})).offset=function(S){if(!S||S==="Z")return 0;var M=S.match(/([+-]|\d\d)/g),A=60*M[1]+(+M[2]||0);return A===0?0:M[0]==="+"?-A:A}(g)}],F=l(function(g){var S=Y[g];return S&&(S.indexOf?S:S.s.concat(S.f))},"u"),j=l(function(g,S){var M,A=Y.meridiem;if(A){for(var G=1;G<=24;G+=1)if(g.indexOf(A(G,0,S))>-1){M=G>12;break}}else M=g===(S?"pm":"PM");return M},"d"),z={A:[D,function(g){this.afternoon=j(g,!1)}],a:[D,function(g){this.afternoon=j(g,!0)}],Q:[n,function(g){this.month=3*(g-1)+1}],S:[n,function(g){this.milliseconds=100*+g}],SS:[u,function(g){this.milliseconds=10*+g}],SSS:[/\d{3}/,function(g){this.milliseconds=+g}],s:[y,x("seconds")],ss:[y,x("seconds")],m:[y,x("minutes")],mm:[y,x("minutes")],H:[y,x("hours")],h:[y,x("hours")],HH:[y,x("hours")],hh:[y,x("hours")],D:[y,x("day")],DD:[u,x("day")],Do:[D,function(g){var S=Y.ordinal,M=g.match(/\d+/);if(this.day=M[0],S)for(var A=1;A<=31;A+=1)S(A).replace(/\[|\]/g,"")===g&&(this.day=A)}],w:[y,x("week")],ww:[u,x("week")],M:[y,x("month")],MM:[u,x("month")],MMM:[D,function(g){var S=F("months"),M=(F("monthsShort")||S.map(function(A){return A.slice(0,3)})).indexOf(g)+1;if(M<1)throw new Error;this.month=M%12||M}],MMMM:[D,function(g){var S=F("months").indexOf(g)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,x("year")],YY:[u,function(g){this.year=$(g)}],YYYY:[/\d{4}/,x("year")],Z:E,ZZ:E};function C(g){var S,M;S=g,M=Y&&Y.formats;for(var A=(g=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(T,v,h){var m=h&&h.toUpperCase();return v||M[h]||s[h]||M[m].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(a,d,c){return d||c.slice(1)})})).match(r),G=A.length,N=0;N-1)return new Date((t==="X"?1e3:1)*p);var _=C(t)(p),w=_.year,L=_.month,I=_.day,it=_.hours,ut=_.minutes,W=_.seconds,R=_.milliseconds,st=_.zone,rt=_.week,ht=new Date,ft=I||(w||L?1:ht.getDate()),at=w||ht.getFullYear(),O=0;w&&!L||(O=L>0?L-1:ht.getMonth());var V,H=it||0,B=ut||0,pt=W||0,tt=R||0;return st?new Date(Date.UTC(at,O,ft,H,B,pt,tt+60*st.offset*1e3)):f?new Date(Date.UTC(at,O,ft,H,B,pt,tt)):(V=new Date(at,O,ft,H,B,pt,tt),rt&&(V=o(V).week(rt).toDate()),V)}catch{return new Date("")}}(K,b,U,M),this.init(),m&&m!==!0&&(this.$L=this.locale(m).$L),h&&K!=this.format(b)&&(this.$d=new Date("")),Y={}}else if(b instanceof Array)for(var a=b.length,d=1;d<=a;d+=1){k[1]=b[d-1];var c=M.apply(this,k);if(c.isValid()){this.$d=c.$d,this.$L=c.$L,this.init();break}d===a&&(this.$d=new Date(""))}else G.call(this,N)}}})}),We=Lt((e,i)=>{(function(s,r){typeof e=="object"&&typeof i<"u"?i.exports=r():typeof define=="function"&&define.amd?define(r):(s=typeof globalThis<"u"?globalThis:s||self).dayjs_plugin_advancedFormat=r()})(e,function(){return function(s,r){var n=r.prototype,u=n.format;n.format=function(y){var D=this,Y=this.$locale();if(!this.isValid())return u.bind(this)(y);var $=this.$utils(),x=(y||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(E){switch(E){case"Q":return Math.ceil((D.$M+1)/3);case"Do":return Y.ordinal(D.$D);case"gggg":return D.weekYear();case"GGGG":return D.isoWeekYear();case"wo":return Y.ordinal(D.week(),"W");case"w":case"ww":return $.s(D.week(),E==="w"?1:2,"0");case"W":case"WW":return $.s(D.isoWeek(),E==="W"?1:2,"0");case"k":case"kk":return $.s(String(D.$H===0?24:D.$H),E==="k"?1:2,"0");case"X":return Math.floor(D.$d.getTime()/1e3);case"x":return D.$d.getTime();case"z":return"["+D.offsetName()+"]";case"zzz":return"["+D.offsetName("long")+"]";default:return E}});return u.bind(this)(x)}}})}),Ct=function(){var e=l(function(m,a,d,c){for(d=d||{},c=m.length;c--;d[m[c]]=a);return d},"o"),i=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],s=[1,26],r=[1,27],n=[1,28],u=[1,29],y=[1,30],D=[1,31],Y=[1,32],$=[1,33],x=[1,34],E=[1,9],F=[1,10],j=[1,11],z=[1,12],C=[1,13],g=[1,14],S=[1,15],M=[1,16],A=[1,19],G=[1,20],N=[1,21],K=[1,22],U=[1,23],k=[1,25],b=[1,35],T={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:l(function(m,a,d,c,p,t,f){var o=t.length-1;switch(p){case 1:return t[o-1];case 2:this.$=[];break;case 3:t[o-1].push(t[o]),this.$=t[o-1];break;case 4:case 5:this.$=t[o];break;case 6:case 7:this.$=[];break;case 8:c.setWeekday("monday");break;case 9:c.setWeekday("tuesday");break;case 10:c.setWeekday("wednesday");break;case 11:c.setWeekday("thursday");break;case 12:c.setWeekday("friday");break;case 13:c.setWeekday("saturday");break;case 14:c.setWeekday("sunday");break;case 15:c.setWeekend("friday");break;case 16:c.setWeekend("saturday");break;case 17:c.setDateFormat(t[o].substr(11)),this.$=t[o].substr(11);break;case 18:c.enableInclusiveEndDates(),this.$=t[o].substr(18);break;case 19:c.TopAxis(),this.$=t[o].substr(8);break;case 20:c.setAxisFormat(t[o].substr(11)),this.$=t[o].substr(11);break;case 21:c.setTickInterval(t[o].substr(13)),this.$=t[o].substr(13);break;case 22:c.setExcludes(t[o].substr(9)),this.$=t[o].substr(9);break;case 23:c.setIncludes(t[o].substr(9)),this.$=t[o].substr(9);break;case 24:c.setTodayMarker(t[o].substr(12)),this.$=t[o].substr(12);break;case 27:c.setDiagramTitle(t[o].substr(6)),this.$=t[o].substr(6);break;case 28:this.$=t[o].trim(),c.setAccTitle(this.$);break;case 29:case 30:this.$=t[o].trim(),c.setAccDescription(this.$);break;case 31:c.addSection(t[o].substr(8)),this.$=t[o].substr(8);break;case 33:c.addTask(t[o-1],t[o]),this.$="task";break;case 34:this.$=t[o-1],c.setClickEvent(t[o-1],t[o],null);break;case 35:this.$=t[o-2],c.setClickEvent(t[o-2],t[o-1],t[o]);break;case 36:this.$=t[o-2],c.setClickEvent(t[o-2],t[o-1],null),c.setLink(t[o-2],t[o]);break;case 37:this.$=t[o-3],c.setClickEvent(t[o-3],t[o-2],t[o-1]),c.setLink(t[o-3],t[o]);break;case 38:this.$=t[o-2],c.setClickEvent(t[o-2],t[o],null),c.setLink(t[o-2],t[o-1]);break;case 39:this.$=t[o-3],c.setClickEvent(t[o-3],t[o-1],t[o]),c.setLink(t[o-3],t[o-2]);break;case 40:this.$=t[o-1],c.setLink(t[o-1],t[o]);break;case 41:case 47:this.$=t[o-1]+" "+t[o];break;case 42:case 43:case 45:this.$=t[o-2]+" "+t[o-1]+" "+t[o];break;case 44:case 46:this.$=t[o-3]+" "+t[o-2]+" "+t[o-1]+" "+t[o];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(i,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:s,13:r,14:n,15:u,16:y,17:D,18:Y,19:18,20:$,21:x,22:E,23:F,24:j,25:z,26:C,27:g,28:S,29:M,30:A,31:G,33:N,35:K,36:U,37:24,38:k,40:b},e(i,[2,7],{1:[2,1]}),e(i,[2,3]),{9:36,11:17,12:s,13:r,14:n,15:u,16:y,17:D,18:Y,19:18,20:$,21:x,22:E,23:F,24:j,25:z,26:C,27:g,28:S,29:M,30:A,31:G,33:N,35:K,36:U,37:24,38:k,40:b},e(i,[2,5]),e(i,[2,6]),e(i,[2,17]),e(i,[2,18]),e(i,[2,19]),e(i,[2,20]),e(i,[2,21]),e(i,[2,22]),e(i,[2,23]),e(i,[2,24]),e(i,[2,25]),e(i,[2,26]),e(i,[2,27]),{32:[1,37]},{34:[1,38]},e(i,[2,30]),e(i,[2,31]),e(i,[2,32]),{39:[1,39]},e(i,[2,8]),e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),e(i,[2,12]),e(i,[2,13]),e(i,[2,14]),e(i,[2,15]),e(i,[2,16]),{41:[1,40],43:[1,41]},e(i,[2,4]),e(i,[2,28]),e(i,[2,29]),e(i,[2,33]),e(i,[2,34],{42:[1,42],43:[1,43]}),e(i,[2,40],{41:[1,44]}),e(i,[2,35],{43:[1,45]}),e(i,[2,36]),e(i,[2,38],{42:[1,46]}),e(i,[2,37]),e(i,[2,39])],defaultActions:{},parseError:l(function(m,a){if(a.recoverable)this.trace(m);else{var d=new Error(m);throw d.hash=a,d}},"parseError"),parse:l(function(m){var a=this,d=[0],c=[],p=[null],t=[],f=this.table,o="",_=0,w=0,L=0,I=2,it=1,ut=t.slice.call(arguments,1),W=Object.create(this.lexer),R={yy:{}};for(var st in this.yy)Object.prototype.hasOwnProperty.call(this.yy,st)&&(R.yy[st]=this.yy[st]);W.setInput(m,R.yy),R.yy.lexer=W,R.yy.parser=this,typeof W.yylloc>"u"&&(W.yylloc={});var rt=W.yylloc;t.push(rt);var ht=W.options&&W.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(Z){d.length=d.length-2*Z,p.length=p.length-Z,t.length=t.length-Z}l(ft,"popStack");function at(){var Z;return Z=c.pop()||W.lex()||it,typeof Z!="number"&&(Z instanceof Array&&(c=Z,Z=c.pop()),Z=a.symbols_[Z]||Z),Z}l(at,"lex");for(var O,V,H,B,pt,tt,nt={},gt,X,Nt,bt;;){if(H=d[d.length-1],this.defaultActions[H]?B=this.defaultActions[H]:((O===null||typeof O>"u")&&(O=at()),B=f[H]&&f[H][O]),typeof B>"u"||!B.length||!B[0]){var $t="";bt=[];for(gt in f[H])this.terminals_[gt]&>>I&&bt.push("'"+this.terminals_[gt]+"'");W.showPosition?$t="Parse error on line "+(_+1)+`: `+W.showPosition()+` Expecting `+bt.join(", ")+", got '"+(this.terminals_[O]||O)+"'":$t="Parse error on line "+(_+1)+": Unexpected "+(O==it?"end of input":"'"+(this.terminals_[O]||O)+"'"),this.parseError($t,{text:W.match,token:this.terminals_[O]||O,line:W.yylineno,loc:rt,expected:bt})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+O);switch(B[0]){case 1:d.push(O),p.push(W.yytext),t.push(W.yylloc),d.push(B[1]),O=null,V?(O=V,V=null):(w=W.yyleng,o=W.yytext,_=W.yylineno,rt=W.yylloc,L>0);break;case 2:if(X=this.productions_[B[1]][1],nt.$=p[p.length-X],nt._$={first_line:t[t.length-(X||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(X||1)].first_column,last_column:t[t.length-1].last_column},ht&&(nt._$.range=[t[t.length-(X||1)].range[0],t[t.length-1].range[1]]),tt=this.performAction.apply(nt,[o,w,_,R.yy,B[1],p,t].concat(ut)),typeof tt<"u")return tt;X&&(d=d.slice(0,-1*X*2),p=p.slice(0,-1*X),t=t.slice(0,-1*X)),d.push(this.productions_[B[1]][0]),p.push(nt.$),t.push(nt._$),Nt=f[d[d.length-2]][d[d.length-1]],d.push(Nt);break;case 3:return!0}}return!0},"parse")},v=function(){var m={EOF:1,parseError:l(function(a,d){if(this.yy.parser)this.yy.parser.parseError(a,d);else throw new Error(a)},"parseError"),setInput:l(function(a,d){return this.yy=d||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:l(function(){var a=this._input[0];this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a;var d=a.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:l(function(a){var d=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var t=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===p.length?this.yylloc.first_column:0)+p[p.length-c.length].length-c[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[t[0],t[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(a){this.unput(this.match.slice(a))},"less"),pastInput:l(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var a=this.pastInput(),d=new Array(a.length+1).join("-");return a+this.upcomingInput()+` diff --git a/assets/getting-started.html-CU7WGsTA.js b/assets/getting-started.html-CU7WGsTA.js new file mode 100644 index 00000000..83e5decb --- /dev/null +++ b/assets/getting-started.html-CU7WGsTA.js @@ -0,0 +1 @@ +import{_ as s,c as i,d as a,b as o,o as l,r as n}from"./app-3oaVMpRs.js";const r={};function h(c,e){const t=n("Mermaid");return l(),i("div",null,[e[0]||(e[0]=a('

Getting started

Why Beachball?

The JavaScript ecosystem moves fast. One reason that this ecosystem is so vibrant and agile is its ability to share code via npm packages. Developers publishing npm packages have to keep track of what's changed in their code to determine how to bump versions, then make sure the versions in their git repo stay in sync with the npm registry...what a hassle!

beachball helps streamline this process. As developers make PRs, it helps track the types and details of changes being made. Then when it's time to publish a new version, beachball automates publishing version bumps to npm, generating changelogs, and syncing changes back to the git repo.

Beachball workflow

beachball fits into your workflow without any extra configuration (by default).

For the workflow, a picture diagram is worth a thousand words, so here it is:

',7)),o(t,{id:"mermaid-21",code:"eJxdkD0OwjAMhfeewmIqQzkCAxsSQwVsVYemtZKgNAn5Gbg9TgKldLDs9+zIn8PdYAXcTxWAxxBt3TrzwDHALak92VJrdMoYW59TBRcqk29d3Ual4IrPiD5kKzIlvSA/52SNYtAcleHdUh3mqacOl6GjAIfWJK3t3FGQ5tIH9+qrLxM0zfGHsUaiDjAcRsEGIikb8rR1mfC//8ErA6VOO9b2ArnxCXTjEGoGjKx84Q52JFcHZ1Xe5eMoo56qNzoWdUc="}),e[1]||(e[1]=a('

Inner loop: When you've made some commits to your branch, simply run beachball change to generate change files.

Pull request: The PR build runs beachball check to verify change files are included. Your colleagues can review the change file description and type, and easily propose changes if needed. The PR with change files then gets merged to the target branch (e.g. main).

Publish: When it's time to release, beachball publish is either called by a continuous integration (CI) system or manually by a developer. This does three things:

  1. All change files are deleted
  2. Versions are bumped, checked in locally and pushed remotely
  3. npm packages are published to a public or private registry

At that point, your repo is ready for the next change!

Next steps

',7))])}const p=s(r,[["render",h],["__file","getting-started.html.vue"]]),g=JSON.parse('{"path":"/overview/getting-started.html","title":"Getting started","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"Why Beachball?","slug":"why-beachball","link":"#why-beachball","children":[]},{"level":2,"title":"Beachball workflow","slug":"beachball-workflow","link":"#beachball-workflow","children":[]},{"level":2,"title":"Next steps","slug":"next-steps","link":"#next-steps","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"overview/getting-started.md"}');export{p as comp,g as data}; diff --git a/assets/getting-started.html-J-c_CveC.js b/assets/getting-started.html-J-c_CveC.js deleted file mode 100644 index 93991bfe..00000000 --- a/assets/getting-started.html-J-c_CveC.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as s,c as i,a,d as l,o,r as n}from"./app-DQKFxOg7.js";const r={};function c(h,e){const t=n("Mermaid");return o(),i("div",null,[e[0]||(e[0]=a('

Getting started

Why Beachball?

The JavaScript ecosystem moves fast. One reason that this ecosystem is so vibrant and agile is its ability to share code via npm packages. Developers publishing npm packages have to keep track of what's changed in their code to determine how to bump versions, then make sure the versions in their git repo stay in sync with the npm registry...what a hassle!

beachball helps streamline this process. As developers make PRs, it helps track the types and details of changes being made. Then when it's time to publish a new version, beachball automates publishing version bumps to npm, generating changelogs, and syncing changes back to the git repo.

Beachball workflow

beachball fits into your workflow without any extra configuration (by default).

For the workflow, a picture diagram is worth a thousand words, so here it is:

',7)),l(t,{id:"mermaid-21",code:"eJxdkD0OwjAMhfeewmIqQzkCAxsSQwVsVYemtZKgNAn5Gbg9TgKldLDs9+zIn8PdYAXcTxWAxxBt3TrzwDHALak92VJrdMoYW59TBRcqk29d3Ual4IrPiD5kKzIlvSA/52SNYtAcleHdUh3mqacOl6GjAIfWJK3t3FGQ5tIH9+qrLxM0zfGHsUaiDjAcRsEGIikb8rR1mfC//8ErA6VOO9b2ArnxCXTjEGoGjKx84Q52JFcHZ1Xe5eMoo56qNzoWdUc="}),e[1]||(e[1]=a('

Inner loop: When you've made some commits to your branch, simply run beachball change to generate change files.

Pull request: The PR build runs beachball check to verify change files are included. Your colleagues can review the change file description and type, and easily propose changes if needed. The PR with change files then gets merged to the target branch (e.g. main).

Publish: When it's time to release, beachball publish is either called by a continuous integration (CI) system or manually by a developer. This does three things:

  1. All change files are deleted
  2. Versions are bumped, checked in locally and pushed remotely
  3. npm packages are published to a public or private registry

At that point, your repo is ready for the next change!

Next steps

',7))])}const p=s(r,[["render",c],["__file","getting-started.html.vue"]]),g=JSON.parse('{"path":"/overview/getting-started.html","title":"Getting started","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"Why Beachball?","slug":"why-beachball","link":"#why-beachball","children":[]},{"level":2,"title":"Beachball workflow","slug":"beachball-workflow","link":"#beachball-workflow","children":[]},{"level":2,"title":"Next steps","slug":"next-steps","link":"#next-steps","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"overview/getting-started.md"}');export{p as comp,g as data}; diff --git a/assets/gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js b/assets/gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js similarity index 99% rename from assets/gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js rename to assets/gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js index e8476c8a..4ed2f097 100644 --- a/assets/gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js +++ b/assets/gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js @@ -1,4 +1,4 @@ -var ny=Object.defineProperty;var ry=(n,e,t)=>e in n?ny(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var ht=(n,e,t)=>ry(n,typeof e!="symbol"?e+"":e,t);import{e as Mi}from"./app-DQKFxOg7.js";import{b5 as qt,m as s,an as be,aq as F,aQ as Kc,aG as iy,ap as Yt,by as ps,q as Th,a0 as ms}from"./mermaid.esm.min-DnxZBvzk.js";import{Z as $,o as ke,p as Ue,q as le,_ as ne,k as Yi,J as I,r as J,R as ae,D as yi,X as Q,u as Fe,f as L,v as Xi,K as Ti,Q as we,z as Ee,s as et,U as Me,w as Bo,x as vh,y as ay,A as sy,B as Se,C as tt,M as ee,N as Vo,E as gs,F as Wc,c as Ie,G as ys,H as ua,V as oy}from"./chunk-5ZJXQJOJ-DIZvkofk.js";var Rh=ms(n=>{Object.defineProperty(n,"__esModule",{value:!0});var e;function t(){if(e===void 0)throw new Error("No runtime abstraction layer installed");return e}s(t,"RAL"),function(r){function i(a){if(a===void 0)throw new Error("No runtime abstraction layer provided");e=a}s(i,"install"),r.install=i}(t||(t={})),n.default=t}),ly=ms(n=>{Object.defineProperty(n,"__esModule",{value:!0}),n.stringArray=n.array=n.func=n.error=n.number=n.string=n.boolean=void 0;function e(u){return u===!0||u===!1}s(e,"boolean"),n.boolean=e;function t(u){return typeof u=="string"||u instanceof String}s(t,"string"),n.string=t;function r(u){return typeof u=="number"||u instanceof Number}s(r,"number"),n.number=r;function i(u){return u instanceof Error}s(i,"error"),n.error=i;function a(u){return typeof u=="function"}s(a,"func"),n.func=a;function o(u){return Array.isArray(u)}s(o,"array"),n.array=o;function l(u){return o(u)&&u.every(c=>t(c))}s(l,"stringArray"),n.stringArray=l}),Ah=ms(n=>{var a,o;Object.defineProperty(n,"__esModule",{value:!0}),n.Emitter=n.Event=void 0;var e=Rh(),t;(function(l){let u={dispose(){}};l.None=function(){return u}})(t||(n.Event=t={}));var r=(a=class{add(u,c=null,d){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(u),this._contexts.push(c),Array.isArray(d)&&d.push({dispose:s(()=>this.remove(u,c),"dispose")})}remove(u,c=null){if(!this._callbacks)return;let d=!1;for(let h=0,f=this._callbacks.length;h{this._callbacks||(this._callbacks=new r),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(u,c);let h={dispose:s(()=>{this._callbacks&&(this._callbacks.remove(u,c),h.dispose=o._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(d)&&d.push(h),h}),this._event}fire(u){this._callbacks&&this._callbacks.invoke.call(this._callbacks,u)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}},s(o,"Emitter"),o);n.Emitter=i,i._noop=function(){}}),uy=ms(n=>{var u,c;Object.defineProperty(n,"__esModule",{value:!0}),n.CancellationTokenSource=n.CancellationToken=void 0;var e=Rh(),t=ly(),r=Ah(),i;(function(d){d.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.Event.None}),d.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r.Event.None});function h(f){let p=f;return p&&(p===d.None||p===d.Cancelled||t.boolean(p.isCancellationRequested)&&!!p.onCancellationRequested)}s(h,"is"),d.is=h})(i||(n.CancellationToken=i={}));var a=Object.freeze(function(d,h){let f=(0,e.default)().timer.setTimeout(d.bind(h),0);return{dispose(){f.dispose()}}}),o=(u=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||(this._emitter=new r.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},s(u,"MutableToken"),u),l=(c=class{get token(){return this._token||(this._token=new o),this._token}cancel(){this._token?this._token.cancel():this._token=i.Cancelled}dispose(){this._token?this._token instanceof o&&this._token.dispose():this._token=i.None}},s(c,"CancellationTokenSource"),c);n.CancellationTokenSource=l}),Eh={};qt(Eh,{AbstractAstReflection:()=>Wo,AbstractCstNode:()=>nc,AbstractLangiumParser:()=>ic,AbstractParserErrorMessageProvider:()=>Dm,AbstractThreadedAsyncParser:()=>uT,AstUtils:()=>ru,BiMap:()=>cs,Cancellation:()=>W,CompositeCstNodeImpl:()=>Hs,ContextCache:()=>Ys,CstNodeBuilder:()=>Pm,CstUtils:()=>jo,DONE_RESULT:()=>ce,DatatypeSymbol:()=>ss,DefaultAstNodeDescriptionProvider:()=>ug,DefaultAstNodeLocator:()=>dg,DefaultAsyncParser:()=>$g,DefaultCommentProvider:()=>Ng,DefaultConfigurationProvider:()=>hg,DefaultDocumentBuilder:()=>fg,DefaultDocumentValidator:()=>lg,DefaultHydrator:()=>bg,DefaultIndexManager:()=>pg,DefaultJsonSerializer:()=>ag,DefaultLangiumDocumentFactory:()=>Xm,DefaultLangiumDocuments:()=>Jm,DefaultLexer:()=>gg,DefaultLinker:()=>Qm,DefaultNameProvider:()=>Zm,DefaultReferenceDescriptionProvider:()=>cg,DefaultReferences:()=>eg,DefaultScopeComputation:()=>tg,DefaultScopeProvider:()=>ig,DefaultServiceRegistry:()=>sg,DefaultTokenBuilder:()=>fc,DefaultValueConverter:()=>pc,DefaultWorkspaceLock:()=>Lg,DefaultWorkspaceManager:()=>mg,Deferred:()=>ot,Disposable:()=>Ci,DisposableCache:()=>qs,DocumentCache:()=>rg,DocumentState:()=>U,DocumentValidator:()=>Je,EMPTY_SCOPE:()=>aT,EMPTY_STREAM:()=>vs,EmptyFileSystem:()=>tn,EmptyFileSystemProvider:()=>wg,ErrorWithLocation:()=>As,GrammarAST:()=>Lh,GrammarUtils:()=>el,JSDocDocumentationProvider:()=>xg,LangiumCompletionParser:()=>Mm,LangiumParser:()=>_m,LangiumParserErrorMessageProvider:()=>ac,LeafCstNodeImpl:()=>as,MapScope:()=>ng,Module:()=>Fo,MultiMap:()=>Ra,OperationCancelled:()=>Tt,ParserWorker:()=>cT,Reduction:()=>Qi,RegExpUtils:()=>ou,RootCstNodeImpl:()=>rc,SimpleCache:()=>Rc,StreamImpl:()=>Ke,StreamScope:()=>Oo,TextDocument:()=>ls,TreeStreamImpl:()=>vi,URI:()=>vt,UriUtils:()=>ze,ValidationCategory:()=>oa,ValidationRegistry:()=>og,ValueConverter:()=>Ve,WorkspaceCache:()=>Ac,assertUnreachable:()=>Jt,createCompletionParser:()=>cc,createDefaultCoreModule:()=>Et,createDefaultSharedCoreModule:()=>kt,createGrammarConfig:()=>Iu,createLangiumParser:()=>dc,delayNextTick:()=>zs,diagnosticData:()=>ds,eagerLoad:()=>wc,getDiagnosticRange:()=>kc,inject:()=>ge,interruptAndCheck:()=>fe,isAstNode:()=>Y,isAstNodeDescription:()=>Ko,isAstNodeWithComment:()=>Ec,isCompositeCstNode:()=>He,isIMultiModeLexerDefinition:()=>Xs,isJSDoc:()=>Ic,isLeafCstNode:()=>Xt,isLinkingError:()=>on,isNamed:()=>vc,isOperationCancelled:()=>Oi,isReference:()=>de,isRootCstNode:()=>Ts,isTokenTypeArray:()=>Sc,isTokenTypeDictionary:()=>hs,loadGrammarFromJson:()=>St,parseJSDoc:()=>Cc,prepareLangiumParser:()=>hc,setInterruptionPeriod:()=>gc,startCancelableOperation:()=>mc,stream:()=>q,toDiagnosticSeverity:()=>qi});var jo={};qt(jo,{DefaultNameRegexp:()=>Yo,RangeComparison:()=>Qe,compareRange:()=>zo,findCommentNode:()=>Xo,findDeclarationNodeAtOffset:()=>Ch,findLeafNodeAtOffset:()=>Rs,findLeafNodeBeforeOffset:()=>Jo,flattenCst:()=>Sh,getInteriorNodes:()=>Nh,getNextNode:()=>Ih,getPreviousNode:()=>Zo,getStartlineNode:()=>xh,inRange:()=>qo,isChildNode:()=>Ho,isCommentNode:()=>_a,streamCst:()=>Ri,toDocumentSegment:()=>Ai,tokenToRange:()=>Zi});function Y(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}s(Y,"isAstNode");function de(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}s(de,"isReference");function Ko(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}s(Ko,"isAstNodeDescription");function on(n){return typeof n=="object"&&n!==null&&Y(n.container)&&de(n.reference)&&typeof n.message=="string"}s(on,"isLinkingError");var ln,Wo=(ln=class{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return Y(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});let i=r[t];if(i!==void 0)return i;{let a=this.computeIsSubtype(e,t);return r[t]=a,a}}getAllSubTypes(e){let t=this.allSubtypes[e];if(t)return t;{let r=this.getAllTypes(),i=[];for(let a of r)this.isSubtype(a,e)&&i.push(a);return this.allSubtypes[e]=i,i}}},s(ln,"AbstractAstReflection"),ln);function He(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}s(He,"isCompositeCstNode");function Xt(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}s(Xt,"isLeafCstNode");function Ts(n){return He(n)&&typeof n.fullText=="string"}s(Ts,"isRootCstNode");var Ae,Ke=(Ae=class{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){let e={state:this.startFn(),next:s(()=>this.nextFn(e.state),"next"),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){let e=this.iterator(),t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){let e=[],t=this.iterator(),r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){let r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){let t=e[Symbol.iterator]();return new Ae(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return ce})}join(e=","){let t=this.iterator(),r="",i,a=!1;do i=t.next(),i.done||(a&&(r+=e),r+=kh(i.value)),a=!0;while(!i.done);return r}indexOf(e,t=0){let r=this.iterator(),i=0,a=r.next();for(;!a.done;){if(i>=t&&a.value===e)return i;a=r.next(),i++}return-1}every(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){let t=this.iterator(),r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new Ae(this.startFn,t=>{let{done:r,value:i}=this.nextFn(t);return r?ce:{done:!1,value:e(i)}})}filter(e){return new Ae(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return ce})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){let r=this.iterator(),i=t,a=r.next();for(;!a.done;)i===void 0?i=a.value:i=e(i,a.value),a=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){let i=e.next();if(i.done)return r;let a=this.recursiveReduce(e,t,r);return a===void 0?i.value:t(a,i.value)}find(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){let t=this.iterator(),r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new Ae(()=>({this:this.startFn()}),t=>{do{if(t.iterator){let a=t.iterator.next();if(a.done)t.iterator=void 0;else return a}let{done:r,value:i}=this.nextFn(t.this);if(!r){let a=e(i);if(Ji(a))t.iterator=a[Symbol.iterator]();else return{done:!1,value:a}}}while(t.iterator);return ce})}flat(e){if(e===void 0&&(e=1),e<=0)return this;let t=e>1?this.flat(e-1):this;return new Ae(()=>({this:t.startFn()}),r=>{do{if(r.iterator){let o=r.iterator.next();if(o.done)r.iterator=void 0;else return o}let{done:i,value:a}=t.nextFn(r.this);if(!i)if(Ji(a))r.iterator=a[Symbol.iterator]();else return{done:!1,value:a}}while(r.iterator);return ce})}head(){let e=this.iterator().next();if(!e.done)return e.value}tail(e=1){return new Ae(()=>{let t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?ce:this.nextFn(t.state)))}distinct(e){let t=new Set;return this.filter(r=>{let i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){let r=new Set;for(let i of e){let a=t?t(i):i;r.add(a)}return this.filter(i=>{let a=t?t(i):i;return!r.has(a)})}},s(Ae,"StreamImpl"),Ae);function kh(n){return typeof n=="string"?n:typeof n>"u"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}s(kh,"toString");function Ji(n){return!!n&&typeof n[Symbol.iterator]=="function"}s(Ji,"isIterable");var vs=new Ke(()=>{},()=>ce),ce=Object.freeze({done:!0,value:void 0});function q(...n){if(n.length===1){let e=n[0];if(e instanceof Ke)return e;if(Ji(e))return new Ke(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new Ke(()=>({index:0}),t=>t.index1?new Ke(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){let t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){let a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return ce})}iterator(){let e={state:this.startFn(),next:s(()=>this.nextFn(e.state),"next"),prune:s(()=>{e.state.pruned=!0},"prune"),[Symbol.iterator]:()=>e};return e}},s(un,"TreeStreamImpl"),un),Qi;(function(n){function e(a){return a.reduce((o,l)=>o+l,0)}s(e,"sum"),n.sum=e;function t(a){return a.reduce((o,l)=>o*l,0)}s(t,"product"),n.product=t;function r(a){return a.reduce((o,l)=>Math.min(o,l))}s(r,"min"),n.min=r;function i(a){return a.reduce((o,l)=>Math.max(o,l))}s(i,"max"),n.max=i})(Qi||(Qi={}));function Ri(n){return new vi(n,e=>He(e)?e.content:[],{includeRoot:!0})}s(Ri,"streamCst");function Sh(n){return Ri(n).filter(Xt)}s(Sh,"flattenCst");function Ho(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}s(Ho,"isChildNode");function Zi(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}s(Zi,"tokenToRange");function Ai(n){if(!n)return;let{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}s(Ai,"toDocumentSegment");var Qe;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(Qe||(Qe={}));function zo(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return Qe.After;let t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineQe.After}s(qo,"inRange");var Yo=/^[\w\p{L}]$/u;function Ch(n,e,t=Yo){if(n){if(e>0){let r=e-n.offset,i=n.text.charAt(r);t.test(i)||e--}return Rs(n,e)}}s(Ch,"findDeclarationNodeAtOffset");function Xo(n,e){if(n){let t=Zo(n,!0);if(t&&_a(t,e))return t;if(Ts(n)){let r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){let a=n.content[i];if(_a(a,e))return a}}}}s(Xo,"findCommentNode");function _a(n,e){return Xt(n)&&e.includes(n.tokenType.name)}s(_a,"isCommentNode");function Rs(n,e){if(Xt(n))return n;if(He(n)){let t=Qo(n,e,!1);if(t)return Rs(t,e)}}s(Rs,"findLeafNodeAtOffset");function Jo(n,e){if(Xt(n))return n;if(He(n)){let t=Qo(n,e,!0);if(t)return Jo(t,e)}}s(Jo,"findLeafNodeBeforeOffset");function Qo(n,e,t){let r=0,i=n.content.length-1,a;for(;r<=i;){let o=Math.floor((r+i)/2),l=n.content[o];if(l.offset<=e&&l.end>e)return l;l.end<=e?(a=t?l:void 0,r=o+1):i=o-1}return a}s(Qo,"binarySearch");function Zo(n,e=!0){for(;n.container;){let t=n.container,r=t.content.indexOf(n);for(;r>0;){r--;let i=t.content[r];if(e||!i.hidden)return i}n=t}}s(Zo,"getPreviousNode");function Ih(n,e=!0){for(;n.container;){let t=n.container,r=t.content.indexOf(n),i=t.content.length-1;for(;rvu,findNameAssignment:()=>_s,findNodeForKeyword:()=>Tu,findNodeForProperty:()=>ws,findNodesForKeyword:()=>tf,findNodesForKeywordInternal:()=>Os,findNodesForProperty:()=>yu,getActionAtElement:()=>Au,getActionType:()=>ku,getAllReachableRules:()=>bs,getCrossReferenceTerminal:()=>mu,getEntryRule:()=>hu,getExplicitRuleType:()=>Ds,getHiddenRules:()=>fu,getRuleType:()=>Su,getTypeName:()=>Ni,isArrayCardinality:()=>rf,isArrayOperator:()=>af,isCommentTerminal:()=>gu,isDataType:()=>sf,isDataTypeRule:()=>pa,isOptionalCardinality:()=>nf,terminalRegex:()=>ma});var cn,As=(cn=class extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}},s(cn,"ErrorWithLocation"),cn);function Jt(n){throw new Error("Error! The input value was not handled.")}s(Jt,"assertUnreachable");var Lh={};qt(Lh,{AbstractElement:()=>rl,AbstractRule:()=>Ki,AbstractType:()=>Wi,Action:()=>bl,Alternatives:()=>wl,ArrayLiteral:()=>il,ArrayType:()=>al,Assignment:()=>Pl,BooleanLiteral:()=>ol,CharacterRange:()=>Ol,Condition:()=>Da,Conjunction:()=>ul,CrossReference:()=>Dl,Disjunction:()=>dl,EndOfFile:()=>Ml,Grammar:()=>fl,GrammarImport:()=>Uh,Group:()=>Ul,InferredType:()=>pl,Interface:()=>ml,Keyword:()=>Gl,LangiumGrammarAstReflection:()=>nu,LangiumGrammarTerminals:()=>cy,NamedArgument:()=>Bh,NegatedToken:()=>Bl,Negation:()=>gl,NumberLiteral:()=>Tl,Parameter:()=>vl,ParameterReference:()=>Rl,ParserRule:()=>El,ReferenceType:()=>kl,RegexToken:()=>jl,ReturnType:()=>Wh,RuleCall:()=>Wl,SimpleType:()=>Il,StringLiteral:()=>xl,TerminalAlternatives:()=>Hl,TerminalGroup:()=>ql,TerminalRule:()=>Fa,TerminalRuleCall:()=>Xl,Type:()=>Nl,TypeAttribute:()=>zh,TypeDefinition:()=>nl,UnionType:()=>$l,UnorderedGroup:()=>Jl,UntilToken:()=>Ql,ValueLiteral:()=>Ma,Wildcard:()=>eu,isAbstractElement:()=>Es,isAbstractRule:()=>bh,isAbstractType:()=>wh,isAction:()=>pt,isAlternatives:()=>Is,isArrayLiteral:()=>Mh,isArrayType:()=>sl,isAssignment:()=>nt,isBooleanLiteral:()=>ll,isCharacterRange:()=>_l,isCondition:()=>Ph,isConjunction:()=>cl,isCrossReference:()=>da,isDisjunction:()=>hl,isEndOfFile:()=>Fl,isFeatureName:()=>Oh,isGrammar:()=>Fh,isGrammarImport:()=>Gh,isGroup:()=>Qt,isInferredType:()=>ks,isInterface:()=>Ss,isKeyword:()=>rt,isNamedArgument:()=>Vh,isNegatedToken:()=>Vl,isNegation:()=>yl,isNumberLiteral:()=>jh,isParameter:()=>Kh,isParameterReference:()=>Al,isParserRule:()=>pe,isPrimitiveType:()=>tl,isReferenceType:()=>Sl,isRegexToken:()=>Kl,isReturnType:()=>Cl,isRuleCall:()=>it,isSimpleType:()=>Cs,isStringLiteral:()=>Hh,isTerminalAlternatives:()=>zl,isTerminalGroup:()=>Yl,isTerminalRule:()=>lt,isTerminalRuleCall:()=>xs,isType:()=>ca,isTypeAttribute:()=>qh,isTypeDefinition:()=>_h,isUnionType:()=>Ll,isUnorderedGroup:()=>Ns,isUntilToken:()=>Zl,isValueLiteral:()=>Dh,isWildcard:()=>tu,reflection:()=>w});var cy={ID:/\^?[_a-zA-Z][\w_]*/,STRING:/"(\\.|[^"\\])*"|'(\\.|[^'\\])*'/,NUMBER:/NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity)/,RegexLiteral:/\/(?![*+?])(?:[^\r\n\[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*\])+\/[a-z]*/,WS:/\s+/,ML_COMMENT:/\/\*[\s\S]*?\*\//,SL_COMMENT:/\/\/[^\n\r]*/},Ki="AbstractRule";function bh(n){return w.isInstance(n,Ki)}s(bh,"isAbstractRule");var Wi="AbstractType";function wh(n){return w.isInstance(n,Wi)}s(wh,"isAbstractType");var Da="Condition";function Ph(n){return w.isInstance(n,Da)}s(Ph,"isCondition");function Oh(n){return tl(n)||n==="current"||n==="entry"||n==="extends"||n==="false"||n==="fragment"||n==="grammar"||n==="hidden"||n==="import"||n==="interface"||n==="returns"||n==="terminal"||n==="true"||n==="type"||n==="infer"||n==="infers"||n==="with"||typeof n=="string"&&/\^?[_a-zA-Z][\w_]*/.test(n)}s(Oh,"isFeatureName");function tl(n){return n==="string"||n==="number"||n==="boolean"||n==="Date"||n==="bigint"}s(tl,"isPrimitiveType");var nl="TypeDefinition";function _h(n){return w.isInstance(n,nl)}s(_h,"isTypeDefinition");var Ma="ValueLiteral";function Dh(n){return w.isInstance(n,Ma)}s(Dh,"isValueLiteral");var rl="AbstractElement";function Es(n){return w.isInstance(n,rl)}s(Es,"isAbstractElement");var il="ArrayLiteral";function Mh(n){return w.isInstance(n,il)}s(Mh,"isArrayLiteral");var al="ArrayType";function sl(n){return w.isInstance(n,al)}s(sl,"isArrayType");var ol="BooleanLiteral";function ll(n){return w.isInstance(n,ol)}s(ll,"isBooleanLiteral");var ul="Conjunction";function cl(n){return w.isInstance(n,ul)}s(cl,"isConjunction");var dl="Disjunction";function hl(n){return w.isInstance(n,dl)}s(hl,"isDisjunction");var fl="Grammar";function Fh(n){return w.isInstance(n,fl)}s(Fh,"isGrammar");var Uh="GrammarImport";function Gh(n){return w.isInstance(n,Uh)}s(Gh,"isGrammarImport");var pl="InferredType";function ks(n){return w.isInstance(n,pl)}s(ks,"isInferredType");var ml="Interface";function Ss(n){return w.isInstance(n,ml)}s(Ss,"isInterface");var Bh="NamedArgument";function Vh(n){return w.isInstance(n,Bh)}s(Vh,"isNamedArgument");var gl="Negation";function yl(n){return w.isInstance(n,gl)}s(yl,"isNegation");var Tl="NumberLiteral";function jh(n){return w.isInstance(n,Tl)}s(jh,"isNumberLiteral");var vl="Parameter";function Kh(n){return w.isInstance(n,vl)}s(Kh,"isParameter");var Rl="ParameterReference";function Al(n){return w.isInstance(n,Rl)}s(Al,"isParameterReference");var El="ParserRule";function pe(n){return w.isInstance(n,El)}s(pe,"isParserRule");var kl="ReferenceType";function Sl(n){return w.isInstance(n,kl)}s(Sl,"isReferenceType");var Wh="ReturnType";function Cl(n){return w.isInstance(n,Wh)}s(Cl,"isReturnType");var Il="SimpleType";function Cs(n){return w.isInstance(n,Il)}s(Cs,"isSimpleType");var xl="StringLiteral";function Hh(n){return w.isInstance(n,xl)}s(Hh,"isStringLiteral");var Fa="TerminalRule";function lt(n){return w.isInstance(n,Fa)}s(lt,"isTerminalRule");var Nl="Type";function ca(n){return w.isInstance(n,Nl)}s(ca,"isType");var zh="TypeAttribute";function qh(n){return w.isInstance(n,zh)}s(qh,"isTypeAttribute");var $l="UnionType";function Ll(n){return w.isInstance(n,$l)}s(Ll,"isUnionType");var bl="Action";function pt(n){return w.isInstance(n,bl)}s(pt,"isAction");var wl="Alternatives";function Is(n){return w.isInstance(n,wl)}s(Is,"isAlternatives");var Pl="Assignment";function nt(n){return w.isInstance(n,Pl)}s(nt,"isAssignment");var Ol="CharacterRange";function _l(n){return w.isInstance(n,Ol)}s(_l,"isCharacterRange");var Dl="CrossReference";function da(n){return w.isInstance(n,Dl)}s(da,"isCrossReference");var Ml="EndOfFile";function Fl(n){return w.isInstance(n,Ml)}s(Fl,"isEndOfFile");var Ul="Group";function Qt(n){return w.isInstance(n,Ul)}s(Qt,"isGroup");var Gl="Keyword";function rt(n){return w.isInstance(n,Gl)}s(rt,"isKeyword");var Bl="NegatedToken";function Vl(n){return w.isInstance(n,Bl)}s(Vl,"isNegatedToken");var jl="RegexToken";function Kl(n){return w.isInstance(n,jl)}s(Kl,"isRegexToken");var Wl="RuleCall";function it(n){return w.isInstance(n,Wl)}s(it,"isRuleCall");var Hl="TerminalAlternatives";function zl(n){return w.isInstance(n,Hl)}s(zl,"isTerminalAlternatives");var ql="TerminalGroup";function Yl(n){return w.isInstance(n,ql)}s(Yl,"isTerminalGroup");var Xl="TerminalRuleCall";function xs(n){return w.isInstance(n,Xl)}s(xs,"isTerminalRuleCall");var Jl="UnorderedGroup";function Ns(n){return w.isInstance(n,Jl)}s(Ns,"isUnorderedGroup");var Ql="UntilToken";function Zl(n){return w.isInstance(n,Ql)}s(Zl,"isUntilToken");var eu="Wildcard";function tu(n){return w.isInstance(n,eu)}s(tu,"isWildcard");var dn,nu=(dn=class extends Wo{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case bl:case wl:case Pl:case Ol:case Dl:case Ml:case Ul:case Gl:case Bl:case jl:case Wl:case Hl:case ql:case Xl:case Jl:case Ql:case eu:return this.isSubtype(rl,t);case il:case Tl:case xl:return this.isSubtype(Ma,t);case al:case kl:case Il:case $l:return this.isSubtype(nl,t);case ol:return this.isSubtype(Da,t)||this.isSubtype(Ma,t);case ul:case dl:case gl:case Rl:return this.isSubtype(Da,t);case pl:case ml:case Nl:return this.isSubtype(Wi,t);case El:return this.isSubtype(Ki,t)||this.isSubtype(Wi,t);case Fa:return this.isSubtype(Ki,t);default:return!1}}getReferenceType(e){let t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return Wi;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return Ki;case"Grammar:usedGrammars":return fl;case"NamedArgument:parameter":case"ParameterReference:parameter":return vl;case"TerminalRuleCall:rule":return Fa;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}},s(dn,"LangiumGrammarAstReflection"),dn),w=new nu,ru={};qt(ru,{assignMandatoryProperties:()=>au,copyAstNode:()=>Ga,findLocalReferences:()=>Xh,findRootNode:()=>iu,getContainerOfType:()=>Ii,getDocument:()=>Ce,hasContainerOfType:()=>Yh,linkContentToContainer:()=>$s,streamAllContents:()=>Rt,streamAst:()=>Ze,streamContents:()=>ha,streamReferences:()=>fa});function $s(n){for(let[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{Y(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):Y(t)&&(t.$container=n,t.$containerProperty=e))}s($s,"linkContentToContainer");function Ii(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}s(Ii,"getContainerOfType");function Yh(n,e){let t=n;for(;t;){if(e(t))return!0;t=t.$container}return!1}s(Yh,"hasContainerOfType");function Ce(n){let e=iu(n).$document;if(!e)throw new Error("AST node has no document.");return e}s(Ce,"getDocument");function iu(n){for(;n.$container;)n=n.$container;return n}s(iu,"findRootNode");function ha(n,e){if(!n)throw new Error("Node must be an AstNode.");let t=e==null?void 0:e.range;return new Ke(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexha(t,e))}s(Rt,"streamAllContents");function Ze(n,e){if(n){if(e!=null&&e.range&&!Ua(n,e.range))return new vi(n,()=>[])}else throw new Error("Root node must be an AstNode.");return new vi(n,t=>ha(t,e),{includeRoot:!0})}s(Ze,"streamAst");function Ua(n,e){var t;if(!e)return!0;let r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?qo(r,e):!1}s(Ua,"isAstNodeInRange");function fa(n){return new Ke(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndex{fa(r).forEach(i=>{i.reference.ref===n&&t.push(i.reference)})}),q(t)}s(Xh,"findLocalReferences");function au(n,e){let t=n.getTypeMetaData(e.$type),r=e;for(let i of t.properties)i.defaultValue!==void 0&&r[i.name]===void 0&&(r[i.name]=su(i.defaultValue))}s(au,"assignMandatoryProperties");function su(n){return Array.isArray(n)?[...n.map(su)]:n}s(su,"copyDefaultValue");function Ga(n,e){let t={$type:n.$type};for(let[r,i]of Object.entries(n))if(!r.startsWith("$"))if(Y(i))t[r]=Ga(i,e);else if(de(i))t[r]=e(t,r,i.$refNode,i.$refText);else if(Array.isArray(i)){let a=[];for(let o of i)Y(o)?a.push(Ga(o,e)):de(o)?a.push(e(t,r,o.$refNode,o.$refText)):a.push(o);t[r]=a}else t[r]=i;return $s(t),t}s(Ga,"copyAstNode");var ou={};qt(ou,{NEWLINE_REGEXP:()=>Qh,escapeRegExp:()=>xi,getCaseInsensitivePattern:()=>uu,getTerminalParts:()=>ef,isMultilineComment:()=>lu,isWhitespace:()=>ja,partialMatches:()=>cu,partialRegExp:()=>du});function b(n){return n.charCodeAt(0)}s(b,"cc");function Ca(n,e){Array.isArray(n)?n.forEach(function(t){e.push(t)}):e.push(n)}s(Ca,"insertToSet");function rn(n,e){if(n[e]===!0)throw"duplicate flag "+e;n[e],n[e]=!0}s(rn,"addFlag");function It(n){if(n===void 0)throw Error("Internal Error - Should never get here!");return!0}s(It,"ASSERT_EXISTS");function Ui(){throw Error("Internal Error - Should never get here!")}s(Ui,"ASSERT_NEVER_REACH_HERE");function no(n){return n.type==="Character"}s(no,"isCharacter");var Ba=[];for(let n=b("0");n<=b("9");n++)Ba.push(n);var Va=[b("_")].concat(Ba);for(let n=b("a");n<=b("z");n++)Va.push(n);for(let n=b("A");n<=b("Z");n++)Va.push(n);var Hc=[b(" "),b("\f"),b(` +var ny=Object.defineProperty;var ry=(n,e,t)=>e in n?ny(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var ht=(n,e,t)=>ry(n,typeof e!="symbol"?e+"":e,t);import{e as Mi}from"./app-3oaVMpRs.js";import{b5 as qt,m as s,an as be,aq as F,aQ as Kc,aG as iy,ap as Yt,by as ps,q as Th,a0 as ms}from"./mermaid.esm.min-Bq5H-fqC.js";import{Z as $,o as ke,p as Ue,q as le,_ as ne,k as Yi,J as I,r as J,R as ae,D as yi,X as Q,u as Fe,f as L,v as Xi,K as Ti,Q as we,z as Ee,s as et,U as Me,w as Bo,x as vh,y as ay,A as sy,B as Se,C as tt,M as ee,N as Vo,E as gs,F as Wc,c as Ie,G as ys,H as ua,V as oy}from"./chunk-5ZJXQJOJ-CLUFfhem.js";var Rh=ms(n=>{Object.defineProperty(n,"__esModule",{value:!0});var e;function t(){if(e===void 0)throw new Error("No runtime abstraction layer installed");return e}s(t,"RAL"),function(r){function i(a){if(a===void 0)throw new Error("No runtime abstraction layer provided");e=a}s(i,"install"),r.install=i}(t||(t={})),n.default=t}),ly=ms(n=>{Object.defineProperty(n,"__esModule",{value:!0}),n.stringArray=n.array=n.func=n.error=n.number=n.string=n.boolean=void 0;function e(u){return u===!0||u===!1}s(e,"boolean"),n.boolean=e;function t(u){return typeof u=="string"||u instanceof String}s(t,"string"),n.string=t;function r(u){return typeof u=="number"||u instanceof Number}s(r,"number"),n.number=r;function i(u){return u instanceof Error}s(i,"error"),n.error=i;function a(u){return typeof u=="function"}s(a,"func"),n.func=a;function o(u){return Array.isArray(u)}s(o,"array"),n.array=o;function l(u){return o(u)&&u.every(c=>t(c))}s(l,"stringArray"),n.stringArray=l}),Ah=ms(n=>{var a,o;Object.defineProperty(n,"__esModule",{value:!0}),n.Emitter=n.Event=void 0;var e=Rh(),t;(function(l){let u={dispose(){}};l.None=function(){return u}})(t||(n.Event=t={}));var r=(a=class{add(u,c=null,d){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(u),this._contexts.push(c),Array.isArray(d)&&d.push({dispose:s(()=>this.remove(u,c),"dispose")})}remove(u,c=null){if(!this._callbacks)return;let d=!1;for(let h=0,f=this._callbacks.length;h{this._callbacks||(this._callbacks=new r),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(u,c);let h={dispose:s(()=>{this._callbacks&&(this._callbacks.remove(u,c),h.dispose=o._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))},"dispose")};return Array.isArray(d)&&d.push(h),h}),this._event}fire(u){this._callbacks&&this._callbacks.invoke.call(this._callbacks,u)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}},s(o,"Emitter"),o);n.Emitter=i,i._noop=function(){}}),uy=ms(n=>{var u,c;Object.defineProperty(n,"__esModule",{value:!0}),n.CancellationTokenSource=n.CancellationToken=void 0;var e=Rh(),t=ly(),r=Ah(),i;(function(d){d.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:r.Event.None}),d.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:r.Event.None});function h(f){let p=f;return p&&(p===d.None||p===d.Cancelled||t.boolean(p.isCancellationRequested)&&!!p.onCancellationRequested)}s(h,"is"),d.is=h})(i||(n.CancellationToken=i={}));var a=Object.freeze(function(d,h){let f=(0,e.default)().timer.setTimeout(d.bind(h),0);return{dispose(){f.dispose()}}}),o=(u=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?a:(this._emitter||(this._emitter=new r.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},s(u,"MutableToken"),u),l=(c=class{get token(){return this._token||(this._token=new o),this._token}cancel(){this._token?this._token.cancel():this._token=i.Cancelled}dispose(){this._token?this._token instanceof o&&this._token.dispose():this._token=i.None}},s(c,"CancellationTokenSource"),c);n.CancellationTokenSource=l}),Eh={};qt(Eh,{AbstractAstReflection:()=>Wo,AbstractCstNode:()=>nc,AbstractLangiumParser:()=>ic,AbstractParserErrorMessageProvider:()=>Dm,AbstractThreadedAsyncParser:()=>uT,AstUtils:()=>ru,BiMap:()=>cs,Cancellation:()=>W,CompositeCstNodeImpl:()=>Hs,ContextCache:()=>Ys,CstNodeBuilder:()=>Pm,CstUtils:()=>jo,DONE_RESULT:()=>ce,DatatypeSymbol:()=>ss,DefaultAstNodeDescriptionProvider:()=>ug,DefaultAstNodeLocator:()=>dg,DefaultAsyncParser:()=>$g,DefaultCommentProvider:()=>Ng,DefaultConfigurationProvider:()=>hg,DefaultDocumentBuilder:()=>fg,DefaultDocumentValidator:()=>lg,DefaultHydrator:()=>bg,DefaultIndexManager:()=>pg,DefaultJsonSerializer:()=>ag,DefaultLangiumDocumentFactory:()=>Xm,DefaultLangiumDocuments:()=>Jm,DefaultLexer:()=>gg,DefaultLinker:()=>Qm,DefaultNameProvider:()=>Zm,DefaultReferenceDescriptionProvider:()=>cg,DefaultReferences:()=>eg,DefaultScopeComputation:()=>tg,DefaultScopeProvider:()=>ig,DefaultServiceRegistry:()=>sg,DefaultTokenBuilder:()=>fc,DefaultValueConverter:()=>pc,DefaultWorkspaceLock:()=>Lg,DefaultWorkspaceManager:()=>mg,Deferred:()=>ot,Disposable:()=>Ci,DisposableCache:()=>qs,DocumentCache:()=>rg,DocumentState:()=>U,DocumentValidator:()=>Je,EMPTY_SCOPE:()=>aT,EMPTY_STREAM:()=>vs,EmptyFileSystem:()=>tn,EmptyFileSystemProvider:()=>wg,ErrorWithLocation:()=>As,GrammarAST:()=>Lh,GrammarUtils:()=>el,JSDocDocumentationProvider:()=>xg,LangiumCompletionParser:()=>Mm,LangiumParser:()=>_m,LangiumParserErrorMessageProvider:()=>ac,LeafCstNodeImpl:()=>as,MapScope:()=>ng,Module:()=>Fo,MultiMap:()=>Ra,OperationCancelled:()=>Tt,ParserWorker:()=>cT,Reduction:()=>Qi,RegExpUtils:()=>ou,RootCstNodeImpl:()=>rc,SimpleCache:()=>Rc,StreamImpl:()=>Ke,StreamScope:()=>Oo,TextDocument:()=>ls,TreeStreamImpl:()=>vi,URI:()=>vt,UriUtils:()=>ze,ValidationCategory:()=>oa,ValidationRegistry:()=>og,ValueConverter:()=>Ve,WorkspaceCache:()=>Ac,assertUnreachable:()=>Jt,createCompletionParser:()=>cc,createDefaultCoreModule:()=>Et,createDefaultSharedCoreModule:()=>kt,createGrammarConfig:()=>Iu,createLangiumParser:()=>dc,delayNextTick:()=>zs,diagnosticData:()=>ds,eagerLoad:()=>wc,getDiagnosticRange:()=>kc,inject:()=>ge,interruptAndCheck:()=>fe,isAstNode:()=>Y,isAstNodeDescription:()=>Ko,isAstNodeWithComment:()=>Ec,isCompositeCstNode:()=>He,isIMultiModeLexerDefinition:()=>Xs,isJSDoc:()=>Ic,isLeafCstNode:()=>Xt,isLinkingError:()=>on,isNamed:()=>vc,isOperationCancelled:()=>Oi,isReference:()=>de,isRootCstNode:()=>Ts,isTokenTypeArray:()=>Sc,isTokenTypeDictionary:()=>hs,loadGrammarFromJson:()=>St,parseJSDoc:()=>Cc,prepareLangiumParser:()=>hc,setInterruptionPeriod:()=>gc,startCancelableOperation:()=>mc,stream:()=>q,toDiagnosticSeverity:()=>qi});var jo={};qt(jo,{DefaultNameRegexp:()=>Yo,RangeComparison:()=>Qe,compareRange:()=>zo,findCommentNode:()=>Xo,findDeclarationNodeAtOffset:()=>Ch,findLeafNodeAtOffset:()=>Rs,findLeafNodeBeforeOffset:()=>Jo,flattenCst:()=>Sh,getInteriorNodes:()=>Nh,getNextNode:()=>Ih,getPreviousNode:()=>Zo,getStartlineNode:()=>xh,inRange:()=>qo,isChildNode:()=>Ho,isCommentNode:()=>_a,streamCst:()=>Ri,toDocumentSegment:()=>Ai,tokenToRange:()=>Zi});function Y(n){return typeof n=="object"&&n!==null&&typeof n.$type=="string"}s(Y,"isAstNode");function de(n){return typeof n=="object"&&n!==null&&typeof n.$refText=="string"}s(de,"isReference");function Ko(n){return typeof n=="object"&&n!==null&&typeof n.name=="string"&&typeof n.type=="string"&&typeof n.path=="string"}s(Ko,"isAstNodeDescription");function on(n){return typeof n=="object"&&n!==null&&Y(n.container)&&de(n.reference)&&typeof n.message=="string"}s(on,"isLinkingError");var ln,Wo=(ln=class{constructor(){this.subtypes={},this.allSubtypes={}}isInstance(e,t){return Y(e)&&this.isSubtype(e.$type,t)}isSubtype(e,t){if(e===t)return!0;let r=this.subtypes[e];r||(r=this.subtypes[e]={});let i=r[t];if(i!==void 0)return i;{let a=this.computeIsSubtype(e,t);return r[t]=a,a}}getAllSubTypes(e){let t=this.allSubtypes[e];if(t)return t;{let r=this.getAllTypes(),i=[];for(let a of r)this.isSubtype(a,e)&&i.push(a);return this.allSubtypes[e]=i,i}}},s(ln,"AbstractAstReflection"),ln);function He(n){return typeof n=="object"&&n!==null&&Array.isArray(n.content)}s(He,"isCompositeCstNode");function Xt(n){return typeof n=="object"&&n!==null&&typeof n.tokenType=="object"}s(Xt,"isLeafCstNode");function Ts(n){return He(n)&&typeof n.fullText=="string"}s(Ts,"isRootCstNode");var Ae,Ke=(Ae=class{constructor(e,t){this.startFn=e,this.nextFn=t}iterator(){let e={state:this.startFn(),next:s(()=>this.nextFn(e.state),"next"),[Symbol.iterator]:()=>e};return e}[Symbol.iterator](){return this.iterator()}isEmpty(){return!!this.iterator().next().done}count(){let e=this.iterator(),t=0,r=e.next();for(;!r.done;)t++,r=e.next();return t}toArray(){let e=[],t=this.iterator(),r;do r=t.next(),r.value!==void 0&&e.push(r.value);while(!r.done);return e}toSet(){return new Set(this)}toMap(e,t){let r=this.map(i=>[e?e(i):i,t?t(i):i]);return new Map(r)}toString(){return this.join()}concat(e){let t=e[Symbol.iterator]();return new Ae(()=>({first:this.startFn(),firstDone:!1}),r=>{let i;if(!r.firstDone){do if(i=this.nextFn(r.first),!i.done)return i;while(!i.done);r.firstDone=!0}do if(i=t.next(),!i.done)return i;while(!i.done);return ce})}join(e=","){let t=this.iterator(),r="",i,a=!1;do i=t.next(),i.done||(a&&(r+=e),r+=kh(i.value)),a=!0;while(!i.done);return r}indexOf(e,t=0){let r=this.iterator(),i=0,a=r.next();for(;!a.done;){if(i>=t&&a.value===e)return i;a=r.next(),i++}return-1}every(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(!e(r.value))return!1;r=t.next()}return!0}some(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return!0;r=t.next()}return!1}forEach(e){let t=this.iterator(),r=0,i=t.next();for(;!i.done;)e(i.value,r),i=t.next(),r++}map(e){return new Ae(this.startFn,t=>{let{done:r,value:i}=this.nextFn(t);return r?ce:{done:!1,value:e(i)}})}filter(e){return new Ae(this.startFn,t=>{let r;do if(r=this.nextFn(t),!r.done&&e(r.value))return r;while(!r.done);return ce})}nonNullable(){return this.filter(e=>e!=null)}reduce(e,t){let r=this.iterator(),i=t,a=r.next();for(;!a.done;)i===void 0?i=a.value:i=e(i,a.value),a=r.next();return i}reduceRight(e,t){return this.recursiveReduce(this.iterator(),e,t)}recursiveReduce(e,t,r){let i=e.next();if(i.done)return r;let a=this.recursiveReduce(e,t,r);return a===void 0?i.value:t(a,i.value)}find(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(e(r.value))return r.value;r=t.next()}}findIndex(e){let t=this.iterator(),r=0,i=t.next();for(;!i.done;){if(e(i.value))return r;i=t.next(),r++}return-1}includes(e){let t=this.iterator(),r=t.next();for(;!r.done;){if(r.value===e)return!0;r=t.next()}return!1}flatMap(e){return new Ae(()=>({this:this.startFn()}),t=>{do{if(t.iterator){let a=t.iterator.next();if(a.done)t.iterator=void 0;else return a}let{done:r,value:i}=this.nextFn(t.this);if(!r){let a=e(i);if(Ji(a))t.iterator=a[Symbol.iterator]();else return{done:!1,value:a}}}while(t.iterator);return ce})}flat(e){if(e===void 0&&(e=1),e<=0)return this;let t=e>1?this.flat(e-1):this;return new Ae(()=>({this:t.startFn()}),r=>{do{if(r.iterator){let o=r.iterator.next();if(o.done)r.iterator=void 0;else return o}let{done:i,value:a}=t.nextFn(r.this);if(!i)if(Ji(a))r.iterator=a[Symbol.iterator]();else return{done:!1,value:a}}while(r.iterator);return ce})}head(){let e=this.iterator().next();if(!e.done)return e.value}tail(e=1){return new Ae(()=>{let t=this.startFn();for(let r=0;r({size:0,state:this.startFn()}),t=>(t.size++,t.size>e?ce:this.nextFn(t.state)))}distinct(e){let t=new Set;return this.filter(r=>{let i=e?e(r):r;return t.has(i)?!1:(t.add(i),!0)})}exclude(e,t){let r=new Set;for(let i of e){let a=t?t(i):i;r.add(a)}return this.filter(i=>{let a=t?t(i):i;return!r.has(a)})}},s(Ae,"StreamImpl"),Ae);function kh(n){return typeof n=="string"?n:typeof n>"u"?"undefined":typeof n.toString=="function"?n.toString():Object.prototype.toString.call(n)}s(kh,"toString");function Ji(n){return!!n&&typeof n[Symbol.iterator]=="function"}s(Ji,"isIterable");var vs=new Ke(()=>{},()=>ce),ce=Object.freeze({done:!0,value:void 0});function q(...n){if(n.length===1){let e=n[0];if(e instanceof Ke)return e;if(Ji(e))return new Ke(()=>e[Symbol.iterator](),t=>t.next());if(typeof e.length=="number")return new Ke(()=>({index:0}),t=>t.index1?new Ke(()=>({collIndex:0,arrIndex:0}),e=>{do{if(e.iterator){let t=e.iterator.next();if(!t.done)return t;e.iterator=void 0}if(e.array){if(e.arrIndex({iterators:r!=null&&r.includeRoot?[[e][Symbol.iterator]()]:[t(e)[Symbol.iterator]()],pruned:!1}),i=>{for(i.pruned&&(i.iterators.pop(),i.pruned=!1);i.iterators.length>0;){let a=i.iterators[i.iterators.length-1].next();if(a.done)i.iterators.pop();else return i.iterators.push(t(a.value)[Symbol.iterator]()),a}return ce})}iterator(){let e={state:this.startFn(),next:s(()=>this.nextFn(e.state),"next"),prune:s(()=>{e.state.pruned=!0},"prune"),[Symbol.iterator]:()=>e};return e}},s(un,"TreeStreamImpl"),un),Qi;(function(n){function e(a){return a.reduce((o,l)=>o+l,0)}s(e,"sum"),n.sum=e;function t(a){return a.reduce((o,l)=>o*l,0)}s(t,"product"),n.product=t;function r(a){return a.reduce((o,l)=>Math.min(o,l))}s(r,"min"),n.min=r;function i(a){return a.reduce((o,l)=>Math.max(o,l))}s(i,"max"),n.max=i})(Qi||(Qi={}));function Ri(n){return new vi(n,e=>He(e)?e.content:[],{includeRoot:!0})}s(Ri,"streamCst");function Sh(n){return Ri(n).filter(Xt)}s(Sh,"flattenCst");function Ho(n,e){for(;n.container;)if(n=n.container,n===e)return!0;return!1}s(Ho,"isChildNode");function Zi(n){return{start:{character:n.startColumn-1,line:n.startLine-1},end:{character:n.endColumn,line:n.endLine-1}}}s(Zi,"tokenToRange");function Ai(n){if(!n)return;let{offset:e,end:t,range:r}=n;return{range:r,offset:e,end:t,length:t-e}}s(Ai,"toDocumentSegment");var Qe;(function(n){n[n.Before=0]="Before",n[n.After=1]="After",n[n.OverlapFront=2]="OverlapFront",n[n.OverlapBack=3]="OverlapBack",n[n.Inside=4]="Inside"})(Qe||(Qe={}));function zo(n,e){if(n.end.linee.end.line||n.start.line===e.end.line&&n.start.character>e.end.character)return Qe.After;let t=n.start.line>e.start.line||n.start.line===e.start.line&&n.start.character>=e.start.character,r=n.end.lineQe.After}s(qo,"inRange");var Yo=/^[\w\p{L}]$/u;function Ch(n,e,t=Yo){if(n){if(e>0){let r=e-n.offset,i=n.text.charAt(r);t.test(i)||e--}return Rs(n,e)}}s(Ch,"findDeclarationNodeAtOffset");function Xo(n,e){if(n){let t=Zo(n,!0);if(t&&_a(t,e))return t;if(Ts(n)){let r=n.content.findIndex(i=>!i.hidden);for(let i=r-1;i>=0;i--){let a=n.content[i];if(_a(a,e))return a}}}}s(Xo,"findCommentNode");function _a(n,e){return Xt(n)&&e.includes(n.tokenType.name)}s(_a,"isCommentNode");function Rs(n,e){if(Xt(n))return n;if(He(n)){let t=Qo(n,e,!1);if(t)return Rs(t,e)}}s(Rs,"findLeafNodeAtOffset");function Jo(n,e){if(Xt(n))return n;if(He(n)){let t=Qo(n,e,!0);if(t)return Jo(t,e)}}s(Jo,"findLeafNodeBeforeOffset");function Qo(n,e,t){let r=0,i=n.content.length-1,a;for(;r<=i;){let o=Math.floor((r+i)/2),l=n.content[o];if(l.offset<=e&&l.end>e)return l;l.end<=e?(a=t?l:void 0,r=o+1):i=o-1}return a}s(Qo,"binarySearch");function Zo(n,e=!0){for(;n.container;){let t=n.container,r=t.content.indexOf(n);for(;r>0;){r--;let i=t.content[r];if(e||!i.hidden)return i}n=t}}s(Zo,"getPreviousNode");function Ih(n,e=!0){for(;n.container;){let t=n.container,r=t.content.indexOf(n),i=t.content.length-1;for(;rvu,findNameAssignment:()=>_s,findNodeForKeyword:()=>Tu,findNodeForProperty:()=>ws,findNodesForKeyword:()=>tf,findNodesForKeywordInternal:()=>Os,findNodesForProperty:()=>yu,getActionAtElement:()=>Au,getActionType:()=>ku,getAllReachableRules:()=>bs,getCrossReferenceTerminal:()=>mu,getEntryRule:()=>hu,getExplicitRuleType:()=>Ds,getHiddenRules:()=>fu,getRuleType:()=>Su,getTypeName:()=>Ni,isArrayCardinality:()=>rf,isArrayOperator:()=>af,isCommentTerminal:()=>gu,isDataType:()=>sf,isDataTypeRule:()=>pa,isOptionalCardinality:()=>nf,terminalRegex:()=>ma});var cn,As=(cn=class extends Error{constructor(e,t){super(e?`${t} at ${e.range.start.line}:${e.range.start.character}`:t)}},s(cn,"ErrorWithLocation"),cn);function Jt(n){throw new Error("Error! The input value was not handled.")}s(Jt,"assertUnreachable");var Lh={};qt(Lh,{AbstractElement:()=>rl,AbstractRule:()=>Ki,AbstractType:()=>Wi,Action:()=>bl,Alternatives:()=>wl,ArrayLiteral:()=>il,ArrayType:()=>al,Assignment:()=>Pl,BooleanLiteral:()=>ol,CharacterRange:()=>Ol,Condition:()=>Da,Conjunction:()=>ul,CrossReference:()=>Dl,Disjunction:()=>dl,EndOfFile:()=>Ml,Grammar:()=>fl,GrammarImport:()=>Uh,Group:()=>Ul,InferredType:()=>pl,Interface:()=>ml,Keyword:()=>Gl,LangiumGrammarAstReflection:()=>nu,LangiumGrammarTerminals:()=>cy,NamedArgument:()=>Bh,NegatedToken:()=>Bl,Negation:()=>gl,NumberLiteral:()=>Tl,Parameter:()=>vl,ParameterReference:()=>Rl,ParserRule:()=>El,ReferenceType:()=>kl,RegexToken:()=>jl,ReturnType:()=>Wh,RuleCall:()=>Wl,SimpleType:()=>Il,StringLiteral:()=>xl,TerminalAlternatives:()=>Hl,TerminalGroup:()=>ql,TerminalRule:()=>Fa,TerminalRuleCall:()=>Xl,Type:()=>Nl,TypeAttribute:()=>zh,TypeDefinition:()=>nl,UnionType:()=>$l,UnorderedGroup:()=>Jl,UntilToken:()=>Ql,ValueLiteral:()=>Ma,Wildcard:()=>eu,isAbstractElement:()=>Es,isAbstractRule:()=>bh,isAbstractType:()=>wh,isAction:()=>pt,isAlternatives:()=>Is,isArrayLiteral:()=>Mh,isArrayType:()=>sl,isAssignment:()=>nt,isBooleanLiteral:()=>ll,isCharacterRange:()=>_l,isCondition:()=>Ph,isConjunction:()=>cl,isCrossReference:()=>da,isDisjunction:()=>hl,isEndOfFile:()=>Fl,isFeatureName:()=>Oh,isGrammar:()=>Fh,isGrammarImport:()=>Gh,isGroup:()=>Qt,isInferredType:()=>ks,isInterface:()=>Ss,isKeyword:()=>rt,isNamedArgument:()=>Vh,isNegatedToken:()=>Vl,isNegation:()=>yl,isNumberLiteral:()=>jh,isParameter:()=>Kh,isParameterReference:()=>Al,isParserRule:()=>pe,isPrimitiveType:()=>tl,isReferenceType:()=>Sl,isRegexToken:()=>Kl,isReturnType:()=>Cl,isRuleCall:()=>it,isSimpleType:()=>Cs,isStringLiteral:()=>Hh,isTerminalAlternatives:()=>zl,isTerminalGroup:()=>Yl,isTerminalRule:()=>lt,isTerminalRuleCall:()=>xs,isType:()=>ca,isTypeAttribute:()=>qh,isTypeDefinition:()=>_h,isUnionType:()=>Ll,isUnorderedGroup:()=>Ns,isUntilToken:()=>Zl,isValueLiteral:()=>Dh,isWildcard:()=>tu,reflection:()=>w});var cy={ID:/\^?[_a-zA-Z][\w_]*/,STRING:/"(\\.|[^"\\])*"|'(\\.|[^'\\])*'/,NUMBER:/NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity)/,RegexLiteral:/\/(?![*+?])(?:[^\r\n\[/\\]|\\.|\[(?:[^\r\n\]\\]|\\.)*\])+\/[a-z]*/,WS:/\s+/,ML_COMMENT:/\/\*[\s\S]*?\*\//,SL_COMMENT:/\/\/[^\n\r]*/},Ki="AbstractRule";function bh(n){return w.isInstance(n,Ki)}s(bh,"isAbstractRule");var Wi="AbstractType";function wh(n){return w.isInstance(n,Wi)}s(wh,"isAbstractType");var Da="Condition";function Ph(n){return w.isInstance(n,Da)}s(Ph,"isCondition");function Oh(n){return tl(n)||n==="current"||n==="entry"||n==="extends"||n==="false"||n==="fragment"||n==="grammar"||n==="hidden"||n==="import"||n==="interface"||n==="returns"||n==="terminal"||n==="true"||n==="type"||n==="infer"||n==="infers"||n==="with"||typeof n=="string"&&/\^?[_a-zA-Z][\w_]*/.test(n)}s(Oh,"isFeatureName");function tl(n){return n==="string"||n==="number"||n==="boolean"||n==="Date"||n==="bigint"}s(tl,"isPrimitiveType");var nl="TypeDefinition";function _h(n){return w.isInstance(n,nl)}s(_h,"isTypeDefinition");var Ma="ValueLiteral";function Dh(n){return w.isInstance(n,Ma)}s(Dh,"isValueLiteral");var rl="AbstractElement";function Es(n){return w.isInstance(n,rl)}s(Es,"isAbstractElement");var il="ArrayLiteral";function Mh(n){return w.isInstance(n,il)}s(Mh,"isArrayLiteral");var al="ArrayType";function sl(n){return w.isInstance(n,al)}s(sl,"isArrayType");var ol="BooleanLiteral";function ll(n){return w.isInstance(n,ol)}s(ll,"isBooleanLiteral");var ul="Conjunction";function cl(n){return w.isInstance(n,ul)}s(cl,"isConjunction");var dl="Disjunction";function hl(n){return w.isInstance(n,dl)}s(hl,"isDisjunction");var fl="Grammar";function Fh(n){return w.isInstance(n,fl)}s(Fh,"isGrammar");var Uh="GrammarImport";function Gh(n){return w.isInstance(n,Uh)}s(Gh,"isGrammarImport");var pl="InferredType";function ks(n){return w.isInstance(n,pl)}s(ks,"isInferredType");var ml="Interface";function Ss(n){return w.isInstance(n,ml)}s(Ss,"isInterface");var Bh="NamedArgument";function Vh(n){return w.isInstance(n,Bh)}s(Vh,"isNamedArgument");var gl="Negation";function yl(n){return w.isInstance(n,gl)}s(yl,"isNegation");var Tl="NumberLiteral";function jh(n){return w.isInstance(n,Tl)}s(jh,"isNumberLiteral");var vl="Parameter";function Kh(n){return w.isInstance(n,vl)}s(Kh,"isParameter");var Rl="ParameterReference";function Al(n){return w.isInstance(n,Rl)}s(Al,"isParameterReference");var El="ParserRule";function pe(n){return w.isInstance(n,El)}s(pe,"isParserRule");var kl="ReferenceType";function Sl(n){return w.isInstance(n,kl)}s(Sl,"isReferenceType");var Wh="ReturnType";function Cl(n){return w.isInstance(n,Wh)}s(Cl,"isReturnType");var Il="SimpleType";function Cs(n){return w.isInstance(n,Il)}s(Cs,"isSimpleType");var xl="StringLiteral";function Hh(n){return w.isInstance(n,xl)}s(Hh,"isStringLiteral");var Fa="TerminalRule";function lt(n){return w.isInstance(n,Fa)}s(lt,"isTerminalRule");var Nl="Type";function ca(n){return w.isInstance(n,Nl)}s(ca,"isType");var zh="TypeAttribute";function qh(n){return w.isInstance(n,zh)}s(qh,"isTypeAttribute");var $l="UnionType";function Ll(n){return w.isInstance(n,$l)}s(Ll,"isUnionType");var bl="Action";function pt(n){return w.isInstance(n,bl)}s(pt,"isAction");var wl="Alternatives";function Is(n){return w.isInstance(n,wl)}s(Is,"isAlternatives");var Pl="Assignment";function nt(n){return w.isInstance(n,Pl)}s(nt,"isAssignment");var Ol="CharacterRange";function _l(n){return w.isInstance(n,Ol)}s(_l,"isCharacterRange");var Dl="CrossReference";function da(n){return w.isInstance(n,Dl)}s(da,"isCrossReference");var Ml="EndOfFile";function Fl(n){return w.isInstance(n,Ml)}s(Fl,"isEndOfFile");var Ul="Group";function Qt(n){return w.isInstance(n,Ul)}s(Qt,"isGroup");var Gl="Keyword";function rt(n){return w.isInstance(n,Gl)}s(rt,"isKeyword");var Bl="NegatedToken";function Vl(n){return w.isInstance(n,Bl)}s(Vl,"isNegatedToken");var jl="RegexToken";function Kl(n){return w.isInstance(n,jl)}s(Kl,"isRegexToken");var Wl="RuleCall";function it(n){return w.isInstance(n,Wl)}s(it,"isRuleCall");var Hl="TerminalAlternatives";function zl(n){return w.isInstance(n,Hl)}s(zl,"isTerminalAlternatives");var ql="TerminalGroup";function Yl(n){return w.isInstance(n,ql)}s(Yl,"isTerminalGroup");var Xl="TerminalRuleCall";function xs(n){return w.isInstance(n,Xl)}s(xs,"isTerminalRuleCall");var Jl="UnorderedGroup";function Ns(n){return w.isInstance(n,Jl)}s(Ns,"isUnorderedGroup");var Ql="UntilToken";function Zl(n){return w.isInstance(n,Ql)}s(Zl,"isUntilToken");var eu="Wildcard";function tu(n){return w.isInstance(n,eu)}s(tu,"isWildcard");var dn,nu=(dn=class extends Wo{getAllTypes(){return["AbstractElement","AbstractRule","AbstractType","Action","Alternatives","ArrayLiteral","ArrayType","Assignment","BooleanLiteral","CharacterRange","Condition","Conjunction","CrossReference","Disjunction","EndOfFile","Grammar","GrammarImport","Group","InferredType","Interface","Keyword","NamedArgument","NegatedToken","Negation","NumberLiteral","Parameter","ParameterReference","ParserRule","ReferenceType","RegexToken","ReturnType","RuleCall","SimpleType","StringLiteral","TerminalAlternatives","TerminalGroup","TerminalRule","TerminalRuleCall","Type","TypeAttribute","TypeDefinition","UnionType","UnorderedGroup","UntilToken","ValueLiteral","Wildcard"]}computeIsSubtype(e,t){switch(e){case bl:case wl:case Pl:case Ol:case Dl:case Ml:case Ul:case Gl:case Bl:case jl:case Wl:case Hl:case ql:case Xl:case Jl:case Ql:case eu:return this.isSubtype(rl,t);case il:case Tl:case xl:return this.isSubtype(Ma,t);case al:case kl:case Il:case $l:return this.isSubtype(nl,t);case ol:return this.isSubtype(Da,t)||this.isSubtype(Ma,t);case ul:case dl:case gl:case Rl:return this.isSubtype(Da,t);case pl:case ml:case Nl:return this.isSubtype(Wi,t);case El:return this.isSubtype(Ki,t)||this.isSubtype(Wi,t);case Fa:return this.isSubtype(Ki,t);default:return!1}}getReferenceType(e){let t=`${e.container.$type}:${e.property}`;switch(t){case"Action:type":case"CrossReference:type":case"Interface:superTypes":case"ParserRule:returnType":case"SimpleType:typeRef":return Wi;case"Grammar:hiddenTokens":case"ParserRule:hiddenTokens":case"RuleCall:rule":return Ki;case"Grammar:usedGrammars":return fl;case"NamedArgument:parameter":case"ParameterReference:parameter":return vl;case"TerminalRuleCall:rule":return Fa;default:throw new Error(`${t} is not a valid reference id.`)}}getTypeMetaData(e){switch(e){case"AbstractElement":return{name:"AbstractElement",properties:[{name:"cardinality"},{name:"lookahead"}]};case"ArrayLiteral":return{name:"ArrayLiteral",properties:[{name:"elements",defaultValue:[]}]};case"ArrayType":return{name:"ArrayType",properties:[{name:"elementType"}]};case"BooleanLiteral":return{name:"BooleanLiteral",properties:[{name:"true",defaultValue:!1}]};case"Conjunction":return{name:"Conjunction",properties:[{name:"left"},{name:"right"}]};case"Disjunction":return{name:"Disjunction",properties:[{name:"left"},{name:"right"}]};case"Grammar":return{name:"Grammar",properties:[{name:"definesHiddenTokens",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"imports",defaultValue:[]},{name:"interfaces",defaultValue:[]},{name:"isDeclared",defaultValue:!1},{name:"name"},{name:"rules",defaultValue:[]},{name:"types",defaultValue:[]},{name:"usedGrammars",defaultValue:[]}]};case"GrammarImport":return{name:"GrammarImport",properties:[{name:"path"}]};case"InferredType":return{name:"InferredType",properties:[{name:"name"}]};case"Interface":return{name:"Interface",properties:[{name:"attributes",defaultValue:[]},{name:"name"},{name:"superTypes",defaultValue:[]}]};case"NamedArgument":return{name:"NamedArgument",properties:[{name:"calledByName",defaultValue:!1},{name:"parameter"},{name:"value"}]};case"Negation":return{name:"Negation",properties:[{name:"value"}]};case"NumberLiteral":return{name:"NumberLiteral",properties:[{name:"value"}]};case"Parameter":return{name:"Parameter",properties:[{name:"name"}]};case"ParameterReference":return{name:"ParameterReference",properties:[{name:"parameter"}]};case"ParserRule":return{name:"ParserRule",properties:[{name:"dataType"},{name:"definesHiddenTokens",defaultValue:!1},{name:"definition"},{name:"entry",defaultValue:!1},{name:"fragment",defaultValue:!1},{name:"hiddenTokens",defaultValue:[]},{name:"inferredType"},{name:"name"},{name:"parameters",defaultValue:[]},{name:"returnType"},{name:"wildcard",defaultValue:!1}]};case"ReferenceType":return{name:"ReferenceType",properties:[{name:"referenceType"}]};case"ReturnType":return{name:"ReturnType",properties:[{name:"name"}]};case"SimpleType":return{name:"SimpleType",properties:[{name:"primitiveType"},{name:"stringType"},{name:"typeRef"}]};case"StringLiteral":return{name:"StringLiteral",properties:[{name:"value"}]};case"TerminalRule":return{name:"TerminalRule",properties:[{name:"definition"},{name:"fragment",defaultValue:!1},{name:"hidden",defaultValue:!1},{name:"name"},{name:"type"}]};case"Type":return{name:"Type",properties:[{name:"name"},{name:"type"}]};case"TypeAttribute":return{name:"TypeAttribute",properties:[{name:"defaultValue"},{name:"isOptional",defaultValue:!1},{name:"name"},{name:"type"}]};case"UnionType":return{name:"UnionType",properties:[{name:"types",defaultValue:[]}]};case"Action":return{name:"Action",properties:[{name:"cardinality"},{name:"feature"},{name:"inferredType"},{name:"lookahead"},{name:"operator"},{name:"type"}]};case"Alternatives":return{name:"Alternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"Assignment":return{name:"Assignment",properties:[{name:"cardinality"},{name:"feature"},{name:"lookahead"},{name:"operator"},{name:"terminal"}]};case"CharacterRange":return{name:"CharacterRange",properties:[{name:"cardinality"},{name:"left"},{name:"lookahead"},{name:"right"}]};case"CrossReference":return{name:"CrossReference",properties:[{name:"cardinality"},{name:"deprecatedSyntax",defaultValue:!1},{name:"lookahead"},{name:"terminal"},{name:"type"}]};case"EndOfFile":return{name:"EndOfFile",properties:[{name:"cardinality"},{name:"lookahead"}]};case"Group":return{name:"Group",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"guardCondition"},{name:"lookahead"}]};case"Keyword":return{name:"Keyword",properties:[{name:"cardinality"},{name:"lookahead"},{name:"value"}]};case"NegatedToken":return{name:"NegatedToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"RegexToken":return{name:"RegexToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"regex"}]};case"RuleCall":return{name:"RuleCall",properties:[{name:"arguments",defaultValue:[]},{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"TerminalAlternatives":return{name:"TerminalAlternatives",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalGroup":return{name:"TerminalGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"TerminalRuleCall":return{name:"TerminalRuleCall",properties:[{name:"cardinality"},{name:"lookahead"},{name:"rule"}]};case"UnorderedGroup":return{name:"UnorderedGroup",properties:[{name:"cardinality"},{name:"elements",defaultValue:[]},{name:"lookahead"}]};case"UntilToken":return{name:"UntilToken",properties:[{name:"cardinality"},{name:"lookahead"},{name:"terminal"}]};case"Wildcard":return{name:"Wildcard",properties:[{name:"cardinality"},{name:"lookahead"}]};default:return{name:e,properties:[]}}}},s(dn,"LangiumGrammarAstReflection"),dn),w=new nu,ru={};qt(ru,{assignMandatoryProperties:()=>au,copyAstNode:()=>Ga,findLocalReferences:()=>Xh,findRootNode:()=>iu,getContainerOfType:()=>Ii,getDocument:()=>Ce,hasContainerOfType:()=>Yh,linkContentToContainer:()=>$s,streamAllContents:()=>Rt,streamAst:()=>Ze,streamContents:()=>ha,streamReferences:()=>fa});function $s(n){for(let[e,t]of Object.entries(n))e.startsWith("$")||(Array.isArray(t)?t.forEach((r,i)=>{Y(r)&&(r.$container=n,r.$containerProperty=e,r.$containerIndex=i)}):Y(t)&&(t.$container=n,t.$containerProperty=e))}s($s,"linkContentToContainer");function Ii(n,e){let t=n;for(;t;){if(e(t))return t;t=t.$container}}s(Ii,"getContainerOfType");function Yh(n,e){let t=n;for(;t;){if(e(t))return!0;t=t.$container}return!1}s(Yh,"hasContainerOfType");function Ce(n){let e=iu(n).$document;if(!e)throw new Error("AST node has no document.");return e}s(Ce,"getDocument");function iu(n){for(;n.$container;)n=n.$container;return n}s(iu,"findRootNode");function ha(n,e){if(!n)throw new Error("Node must be an AstNode.");let t=e==null?void 0:e.range;return new Ke(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),r=>{for(;r.keyIndexha(t,e))}s(Rt,"streamAllContents");function Ze(n,e){if(n){if(e!=null&&e.range&&!Ua(n,e.range))return new vi(n,()=>[])}else throw new Error("Root node must be an AstNode.");return new vi(n,t=>ha(t,e),{includeRoot:!0})}s(Ze,"streamAst");function Ua(n,e){var t;if(!e)return!0;let r=(t=n.$cstNode)===null||t===void 0?void 0:t.range;return r?qo(r,e):!1}s(Ua,"isAstNodeInRange");function fa(n){return new Ke(()=>({keys:Object.keys(n),keyIndex:0,arrayIndex:0}),e=>{for(;e.keyIndex{fa(r).forEach(i=>{i.reference.ref===n&&t.push(i.reference)})}),q(t)}s(Xh,"findLocalReferences");function au(n,e){let t=n.getTypeMetaData(e.$type),r=e;for(let i of t.properties)i.defaultValue!==void 0&&r[i.name]===void 0&&(r[i.name]=su(i.defaultValue))}s(au,"assignMandatoryProperties");function su(n){return Array.isArray(n)?[...n.map(su)]:n}s(su,"copyDefaultValue");function Ga(n,e){let t={$type:n.$type};for(let[r,i]of Object.entries(n))if(!r.startsWith("$"))if(Y(i))t[r]=Ga(i,e);else if(de(i))t[r]=e(t,r,i.$refNode,i.$refText);else if(Array.isArray(i)){let a=[];for(let o of i)Y(o)?a.push(Ga(o,e)):de(o)?a.push(e(t,r,o.$refNode,o.$refText)):a.push(o);t[r]=a}else t[r]=i;return $s(t),t}s(Ga,"copyAstNode");var ou={};qt(ou,{NEWLINE_REGEXP:()=>Qh,escapeRegExp:()=>xi,getCaseInsensitivePattern:()=>uu,getTerminalParts:()=>ef,isMultilineComment:()=>lu,isWhitespace:()=>ja,partialMatches:()=>cu,partialRegExp:()=>du});function b(n){return n.charCodeAt(0)}s(b,"cc");function Ca(n,e){Array.isArray(n)?n.forEach(function(t){e.push(t)}):e.push(n)}s(Ca,"insertToSet");function rn(n,e){if(n[e]===!0)throw"duplicate flag "+e;n[e],n[e]=!0}s(rn,"addFlag");function It(n){if(n===void 0)throw Error("Internal Error - Should never get here!");return!0}s(It,"ASSERT_EXISTS");function Ui(){throw Error("Internal Error - Should never get here!")}s(Ui,"ASSERT_NEVER_REACH_HERE");function no(n){return n.type==="Character"}s(no,"isCharacter");var Ba=[];for(let n=b("0");n<=b("9");n++)Ba.push(n);var Va=[b("_")].concat(Ba);for(let n=b("a");n<=b("z");n++)Va.push(n);for(let n=b("A");n<=b("Z");n++)Va.push(n);var Hc=[b(" "),b("\f"),b(` `),b("\r"),b(" "),b("\v"),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b(" "),b("\u2028"),b("\u2029"),b(" "),b(" "),b(" "),b("\uFEFF")],dy=/[0-9a-fA-F]/,Ea=/[0-9]/,hy=/[1-9]/,hn,Jh=(hn=class{constructor(){this.idx=0,this.input="",this.groupIdx=0}saveState(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}}restoreState(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx}pattern(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");let t=this.disjunction();this.consumeChar("/");let r={type:"Flags",loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};for(;this.isRegExpFlag();)switch(this.popChar()){case"g":rn(r,"global");break;case"i":rn(r,"ignoreCase");break;case"m":rn(r,"multiLine");break;case"u":rn(r,"unicode");break;case"y":rn(r,"sticky");break}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:r,value:t,loc:this.loc(0)}}disjunction(){let e=[],t=this.idx;for(e.push(this.alternative());this.peekChar()==="|";)this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e,loc:this.loc(t)}}alternative(){let e=[],t=this.idx;for(;this.isTerm();)e.push(this.term());return{type:"Alternative",value:e,loc:this.loc(t)}}term(){return this.isAssertion()?this.assertion():this.atom()}assertion(){let e=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(e)};case"$":return{type:"EndAnchor",loc:this.loc(e)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(e)};case"B":return{type:"NonWordBoundary",loc:this.loc(e)}}throw Error("Invalid Assertion Escape");case"(":this.consumeChar("?");let t;switch(this.popChar()){case"=":t="Lookahead";break;case"!":t="NegativeLookahead";break}It(t);let r=this.disjunction();return this.consumeChar(")"),{type:t,value:r,loc:this.loc(e)}}return Ui()}quantifier(e=!1){let t,r=this.idx;switch(this.popChar()){case"*":t={atLeast:0,atMost:1/0};break;case"+":t={atLeast:1,atMost:1/0};break;case"?":t={atLeast:0,atMost:1};break;case"{":let i=this.integerIncludingZero();switch(this.popChar()){case"}":t={atLeast:i,atMost:i};break;case",":let a;this.isDigit()?(a=this.integerIncludingZero(),t={atLeast:i,atMost:a}):t={atLeast:i,atMost:1/0},this.consumeChar("}");break}if(e===!0&&t===void 0)return;It(t);break}if(!(e===!0&&t===void 0)&&It(t))return this.peekChar(0)==="?"?(this.consumeChar("?"),t.greedy=!1):t.greedy=!0,t.type="Quantifier",t.loc=this.loc(r),t}atom(){let e,t=this.idx;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group();break}return e===void 0&&this.isPatternCharacter()&&(e=this.patternCharacter()),It(e)?(e.loc=this.loc(t),this.isQuantifier()&&(e.quantifier=this.quantifier()),e):Ui()}dotAll(){return this.consumeChar("."),{type:"Set",complement:!0,value:[b(` `),b("\r"),b("\u2028"),b("\u2029")]}}atomEscape(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}}decimalEscapeAtom(){return{type:"GroupBackReference",value:this.positiveInteger()}}characterClassEscape(){let e,t=!1;switch(this.popChar()){case"d":e=Ba;break;case"D":e=Ba,t=!0;break;case"s":e=Hc;break;case"S":e=Hc,t=!0;break;case"w":e=Va;break;case"W":e=Va,t=!0;break}return It(e)?{type:"Set",value:e,complement:t}:Ui()}controlEscapeAtom(){let e;switch(this.popChar()){case"f":e=b("\f");break;case"n":e=b(` `);break;case"r":e=b("\r");break;case"t":e=b(" ");break;case"v":e=b("\v");break}return It(e)?{type:"Character",value:e}:Ui()}controlLetterEscapeAtom(){this.consumeChar("c");let e=this.popChar();if(/[a-zA-Z]/.test(e)===!1)throw Error("Invalid ");return{type:"Character",value:e.toUpperCase().charCodeAt(0)-64}}nulCharacterAtom(){return this.consumeChar("0"),{type:"Character",value:b("\0")}}hexEscapeSequenceAtom(){return this.consumeChar("x"),this.parseHexDigits(2)}regExpUnicodeEscapeSequenceAtom(){return this.consumeChar("u"),this.parseHexDigits(4)}identityEscapeAtom(){let e=this.popChar();return{type:"Character",value:b(e)}}classPatternCharacterAtom(){switch(this.peekChar()){case` diff --git a/assets/gitGraphDiagram-6HF727YA-B4uP3NYa.js b/assets/gitGraphDiagram-6HF727YA-BvE4YJEN.js similarity index 98% rename from assets/gitGraphDiagram-6HF727YA-B4uP3NYa.js rename to assets/gitGraphDiagram-6HF727YA-BvE4YJEN.js index d953b16d..f1e3e928 100644 --- a/assets/gitGraphDiagram-6HF727YA-B4uP3NYa.js +++ b/assets/gitGraphDiagram-6HF727YA-BvE4YJEN.js @@ -1,4 +1,4 @@ -import{s as J}from"./chunk-VSLJSFIP-C769YIqn.js";import{c as X}from"./chunk-4KE642ED-DNyS68x8.js";import{p as Z}from"./gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js";import{n as tt,m as d,o as et,H as rt,J as w,d as C,v as at,Q as it,b as nt,I as ot,p as st,r as ct,w as ht,B as dt,M as mt,F as lt,L as $t,A as gt}from"./mermaid.esm.min-DnxZBvzk.js";import"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";var p={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yt=tt.gitGraph,G=d(()=>et({...yt,...rt().gitGraph}),"getConfig"),c=new J(()=>{let e=G(),t=e.mainBranchName,a=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:a}]]),branches:new Map([[t,null]]),currBranch:t,direction:"LR",seq:0,options:{}}});function S(){return ct({length:7})}d(S,"getID");function K(e,t){let a=Object.create(null);return e.reduce((n,r)=>{let i=t(r);return a[i]||(a[i]=!0,n.push(r)),n},[])}d(K,"uniqBy");var pt=d(function(e){c.records.direction=e},"setDirection"),ft=d(function(e){w.debug("options str",e),e=e==null?void 0:e.trim(),e=e||"{}";try{c.records.options=JSON.parse(e)}catch(t){w.error("error while parsing gitGraph options",t.message)}},"setOptions"),xt=d(function(){return c.records.options},"getOptions"),ut=d(function(e){let t=e.msg,a=e.id,n=e.type,r=e.tags;w.info("commit",t,a,n,r),w.debug("Entering commit:",t,a,n,r);let i=G();a=C.sanitizeText(a,i),t=C.sanitizeText(t,i),r=r==null?void 0:r.map(o=>C.sanitizeText(o,i));let s={id:a||c.records.seq+"-"+S(),message:t,seq:c.records.seq++,type:n??p.NORMAL,tags:r??[],parents:c.records.head==null?[]:[c.records.head.id],branch:c.records.currBranch};c.records.head=s,w.info("main branch",i.mainBranchName),c.records.commits.set(s.id,s),c.records.branches.set(c.records.currBranch,s.id),w.debug("in pushCommit "+s.id)},"commit"),bt=d(function(e){let t=e.name,a=e.order;if(t=C.sanitizeText(t,G()),c.records.branches.has(t))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);c.records.branches.set(t,c.records.head!=null?c.records.head.id:null),c.records.branchConfig.set(t,{name:t,order:a}),_(t),w.debug("in createBranch")},"branch"),wt=d(e=>{let t=e.branch,a=e.id,n=e.type,r=e.tags,i=G();t=C.sanitizeText(t,i),a&&(a=C.sanitizeText(a,i));let s=c.records.branches.get(c.records.currBranch),o=c.records.branches.get(t),m=s?c.records.commits.get(s):void 0,$=o?c.records.commits.get(o):void 0;if(m&&$&&m.branch===t)throw new Error(`Cannot merge branch '${t}' into itself.`);if(c.records.currBranch===t){let h=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["branch abc"]},h}if(m===void 0||!m){let h=new Error(`Incorrect usage of "merge". Current branch (${c.records.currBranch})has no commits`);throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["commit"]},h}if(!c.records.branches.has(t)){let h=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch ${t}`]},h}if($===void 0||!$){let h=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:['"commit"']},h}if(m===$){let h=new Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["branch abc"]},h}if(a&&c.records.commits.has(a)){let h=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw h.hash={text:`merge ${t} ${a} ${n} ${r==null?void 0:r.join(" ")}`,token:`merge ${t} ${a} ${n} ${r==null?void 0:r.join(" ")}`,expected:[`merge ${t} ${a}_UNIQUE ${n} ${r==null?void 0:r.join(" ")}`]},h}let l=o||"",g={id:a||`${c.records.seq}-${S()}`,message:`merged branch ${t} into ${c.records.currBranch}`,seq:c.records.seq++,parents:c.records.head==null?[]:[c.records.head.id,l],branch:c.records.currBranch,type:p.MERGE,customType:n,customId:!!a,tags:r??[]};c.records.head=g,c.records.commits.set(g.id,g),c.records.branches.set(c.records.currBranch,g.id),w.debug(c.records.branches),w.debug("in mergeBranch")},"merge"),Bt=d(function(e){let t=e.id,a=e.targetId,n=e.tags,r=e.parent;w.debug("Entering cherryPick:",t,a,n);let i=G();if(t=C.sanitizeText(t,i),a=C.sanitizeText(a,i),n=n==null?void 0:n.map(m=>C.sanitizeText(m,i)),r=C.sanitizeText(r,i),!t||!c.records.commits.has(t)){let m=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw m.hash={text:`cherryPick ${t} ${a}`,token:`cherryPick ${t} ${a}`,expected:["cherry-pick abc"]},m}let s=c.records.commits.get(t);if(s===void 0||!s)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(r&&!(Array.isArray(s.parents)&&s.parents.includes(r)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let o=s.branch;if(s.type===p.MERGE&&!r)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!c.records.commits.has(a)){if(o===c.records.currBranch){let g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${t} ${a}`,token:`cherryPick ${t} ${a}`,expected:["cherry-pick abc"]},g}let m=c.records.branches.get(c.records.currBranch);if(m===void 0||!m){let g=new Error(`Incorrect usage of "cherry-pick". Current branch (${c.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${t} ${a}`,token:`cherryPick ${t} ${a}`,expected:["cherry-pick abc"]},g}let $=c.records.commits.get(m);if($===void 0||!$){let g=new Error(`Incorrect usage of "cherry-pick". Current branch (${c.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${t} ${a}`,token:`cherryPick ${t} ${a}`,expected:["cherry-pick abc"]},g}let l={id:c.records.seq+"-"+S(),message:`cherry-picked ${s==null?void 0:s.message} into ${c.records.currBranch}`,seq:c.records.seq++,parents:c.records.head==null?[]:[c.records.head.id,s.id],branch:c.records.currBranch,type:p.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===p.MERGE?`|parent:${r}`:""}`]};c.records.head=l,c.records.commits.set(l.id,l),c.records.branches.set(c.records.currBranch,l.id),w.debug(c.records.branches),w.debug("in cherryPick")}},"cherryPick"),_=d(function(e){if(e=C.sanitizeText(e,G()),c.records.branches.has(e)){c.records.currBranch=e;let t=c.records.branches.get(c.records.currBranch);t===void 0||!t?c.records.head=null:c.records.head=c.records.commits.get(t)??null}else{let t=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw t.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},t}},"checkout");function N(e,t,a){let n=e.indexOf(t);n===-1?e.push(a):e.splice(n,1,a)}d(N,"upsert");function W(e){let t=e.reduce((r,i)=>r.seq>i.seq?r:i,e[0]),a="";e.forEach(function(r){r===t?a+=" *":a+=" |"});let n=[a,t.id,t.seq];for(let r in c.records.branches)c.records.branches.get(r)===t.id&&n.push(r);if(w.debug(n.join(" ")),t.parents&&t.parents.length==2&&t.parents[0]&&t.parents[1]){let r=c.records.commits.get(t.parents[0]);N(e,t,r),t.parents[1]&&e.push(c.records.commits.get(t.parents[1]))}else{if(t.parents.length==0)return;if(t.parents[0]){let r=c.records.commits.get(t.parents[0]);N(e,t,r)}}e=K(e,r=>r.id),W(e)}d(W,"prettyPrintCommitHistory");var Et=d(function(){w.debug(c.records.commits);let e=Y()[0];W([e])},"prettyPrint"),Lt=d(function(){c.reset(),at()},"clear"),Ct=d(function(){return[...c.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),kt=d(function(){return c.records.branches},"getBranches"),Tt=d(function(){return c.records.commits},"getCommits"),Y=d(function(){let e=[...c.records.commits.values()];return e.forEach(function(t){w.debug(t.id)}),e.sort((t,a)=>t.seq-a.seq),e},"getCommitsArray"),Mt=d(function(){return c.records.currBranch},"getCurrentBranch"),vt=d(function(){return c.records.direction},"getDirection"),Pt=d(function(){return c.records.head},"getHead"),Q={commitType:p,getConfig:G,setDirection:pt,setOptions:ft,getOptions:xt,commit:ut,branch:bt,merge:wt,cherryPick:Bt,checkout:_,prettyPrint:Et,clear:Lt,getBranchesAsObjArray:Ct,getBranches:kt,getCommits:Tt,getCommitsArray:Y,getCurrentBranch:Mt,getDirection:vt,getHead:Pt,setAccTitle:ht,getAccTitle:dt,getAccDescription:mt,setAccDescription:lt,setDiagramTitle:$t,getDiagramTitle:gt},Rt=d((e,t)=>{X(e,t),e.dir&&t.setDirection(e.dir);for(let a of e.statements)At(a,t)},"populate"),At=d((e,t)=>{let a={Commit:d(n=>t.commit(It(n)),"Commit"),Branch:d(n=>t.branch(Gt(n)),"Branch"),Merge:d(n=>t.merge(Ot(n)),"Merge"),Checkout:d(n=>t.checkout(qt(n)),"Checkout"),CherryPicking:d(n=>t.cherryPick(Ht(n)),"CherryPicking")}[e.$type];a?a(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),It=d(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?p[e.type]:p.NORMAL,tags:e.tags??void 0}),"parseCommit"),Gt=d(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ot=d(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?p[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),qt=d(e=>e.branch,"parseCheckout"),Ht=d(e=>{var t;return{id:e.id,targetId:"",tags:((t=e.tags)==null?void 0:t.length)===0?void 0:e.tags,parent:e.parent}},"parseCherryPicking"),zt={parse:d(async e=>{let t=await Z("gitGraph",e);w.debug(t),Rt(t,Q)},"parse")},D=it(),x=D==null?void 0:D.gitGraph,P=10,R=40,k=4,T=2,I=8,E=new Map,L=new Map,H=30,O=new Map,z=[],v=0,y="LR",St=d(()=>{E.clear(),L.clear(),O.clear(),v=0,z=[],y="LR"},"clear"),U=d(e=>{let t=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|/gi):e).forEach(a=>{let n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),n.setAttribute("class","row"),n.textContent=a.trim(),t.appendChild(n)}),t},"drawText"),V=d(e=>{let t,a,n;return y==="BT"?(a=d((r,i)=>r<=i,"comparisonFunc"),n=1/0):(a=d((r,i)=>r>=i,"comparisonFunc"),n=0),e.forEach(r=>{var s,o;let i=y==="TB"||y=="BT"?(s=L.get(r))==null?void 0:s.y:(o=L.get(r))==null?void 0:o.x;i!==void 0&&a(i,n)&&(t=r,n=i)}),t},"findClosestParent"),Dt=d(e=>{let t="",a=1/0;return e.forEach(n=>{let r=L.get(n).y;r<=a&&(t=n,a=r)}),t||void 0},"findClosestParentBT"),Nt=d((e,t,a)=>{let n=a,r=a,i=[];e.forEach(s=>{let o=t.get(s);if(!o)throw new Error(`Commit not found for key ${s}`);o.parents.length?(n=jt(o),r=Math.max(n,r)):i.push(o),Ft(o,n)}),n=r,i.forEach(s=>{Kt(s,n,a)}),e.forEach(s=>{let o=t.get(s);if(o!=null&&o.parents.length){let m=Dt(o.parents);n=L.get(m).y-R,n<=r&&(r=n);let $=E.get(o.branch).pos,l=n-P;L.set(o.id,{x:$,y:l})}})},"setParallelBTPos"),Wt=d(e=>{var n;let t=V(e.parents.filter(r=>r!==null));if(!t)throw new Error(`Closest parent not found for commit ${e.id}`);let a=(n=L.get(t))==null?void 0:n.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return a},"findClosestParentPos"),jt=d(e=>Wt(e)+R,"calculateCommitPosition"),Ft=d((e,t)=>{let a=E.get(e.branch);if(!a)throw new Error(`Branch not found for commit ${e.id}`);let n=a.pos,r=t+P;return L.set(e.id,{x:n,y:r}),{x:n,y:r}},"setCommitPosition"),Kt=d((e,t,a)=>{let n=E.get(e.branch);if(!n)throw new Error(`Branch not found for commit ${e.id}`);let r=t+a,i=n.pos;L.set(e.id,{x:i,y:r})},"setRootPosition"),_t=d((e,t,a,n,r,i)=>{if(i===p.HIGHLIGHT)e.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${t.id} commit-highlight${r%I} ${n}-outer`),e.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${t.id} commit${r%I} ${n}-inner`);else if(i===p.CHERRY_PICK)e.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${t.id} ${n}`),e.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${t.id} ${n}`),e.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${t.id} ${n}`),e.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${t.id} ${n}`),e.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${t.id} ${n}`);else{let s=e.append("circle");if(s.attr("cx",a.x),s.attr("cy",a.y),s.attr("r",t.type===p.MERGE?9:10),s.attr("class",`commit ${t.id} commit${r%I}`),i===p.MERGE){let o=e.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${n} ${t.id} commit${r%I}`)}i===p.REVERSE&&e.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${n} ${t.id} commit${r%I}`)}},"drawCommitBullet"),Yt=d((e,t,a,n)=>{var r;if(t.type!==p.CHERRY_PICK&&(t.customId&&t.type===p.MERGE||t.type!==p.MERGE)&&(x!=null&&x.showCommitLabel)){let i=e.append("g"),s=i.insert("rect").attr("class","commit-label-bkg"),o=i.append("text").attr("x",n).attr("y",a.y+25).attr("class","commit-label").text(t.id),m=(r=o.node())==null?void 0:r.getBBox();if(m&&(s.attr("x",a.posWithOffset-m.width/2-T).attr("y",a.y+13.5).attr("width",m.width+2*T).attr("height",m.height+2*T),y==="TB"||y==="BT"?(s.attr("x",a.x-(m.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-(m.width+4*k)).attr("y",a.y+m.height-12)):o.attr("x",a.posWithOffset-m.width/2),x.rotateCommitLabel))if(y==="TB"||y==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),s.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let $=-7.5-(m.width+10)/25*9.5,l=10+m.width/25*8.5;i.attr("transform","translate("+$+", "+l+") rotate(-45, "+n+", "+a.y+")")}}},"drawCommitLabel"),Qt=d((e,t,a,n)=>{var r;if(t.tags.length>0){let i=0,s=0,o=0,m=[];for(let $ of t.tags.reverse()){let l=e.insert("polygon"),g=e.append("circle"),h=e.append("text").attr("y",a.y-16-i).attr("class","tag-label").text($),f=(r=h.node())==null?void 0:r.getBBox();if(!f)throw new Error("Tag bbox not found");s=Math.max(s,f.width),o=Math.max(o,f.height),h.attr("x",a.posWithOffset-f.width/2),m.push({tag:h,hole:g,rect:l,yOffset:i}),i+=20}for(let{tag:$,hole:l,rect:g,yOffset:h}of m){let f=o/2,u=a.y-19.2-h;if(g.attr("class","tag-label-bkg").attr("points",` +import{s as J}from"./chunk-VSLJSFIP-SOmXOiGP.js";import{c as X}from"./chunk-4KE642ED-DF3NZIv7.js";import{p as Z}from"./gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js";import{n as tt,m as d,o as et,H as rt,J as w,d as C,v as at,Q as it,b as nt,I as ot,p as st,r as ct,w as ht,B as dt,M as mt,F as lt,L as $t,A as gt}from"./mermaid.esm.min-Bq5H-fqC.js";import"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var p={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},yt=tt.gitGraph,G=d(()=>et({...yt,...rt().gitGraph}),"getConfig"),c=new J(()=>{let e=G(),t=e.mainBranchName,a=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:a}]]),branches:new Map([[t,null]]),currBranch:t,direction:"LR",seq:0,options:{}}});function S(){return ct({length:7})}d(S,"getID");function K(e,t){let a=Object.create(null);return e.reduce((n,r)=>{let i=t(r);return a[i]||(a[i]=!0,n.push(r)),n},[])}d(K,"uniqBy");var pt=d(function(e){c.records.direction=e},"setDirection"),ft=d(function(e){w.debug("options str",e),e=e==null?void 0:e.trim(),e=e||"{}";try{c.records.options=JSON.parse(e)}catch(t){w.error("error while parsing gitGraph options",t.message)}},"setOptions"),xt=d(function(){return c.records.options},"getOptions"),ut=d(function(e){let t=e.msg,a=e.id,n=e.type,r=e.tags;w.info("commit",t,a,n,r),w.debug("Entering commit:",t,a,n,r);let i=G();a=C.sanitizeText(a,i),t=C.sanitizeText(t,i),r=r==null?void 0:r.map(o=>C.sanitizeText(o,i));let s={id:a||c.records.seq+"-"+S(),message:t,seq:c.records.seq++,type:n??p.NORMAL,tags:r??[],parents:c.records.head==null?[]:[c.records.head.id],branch:c.records.currBranch};c.records.head=s,w.info("main branch",i.mainBranchName),c.records.commits.set(s.id,s),c.records.branches.set(c.records.currBranch,s.id),w.debug("in pushCommit "+s.id)},"commit"),bt=d(function(e){let t=e.name,a=e.order;if(t=C.sanitizeText(t,G()),c.records.branches.has(t))throw new Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);c.records.branches.set(t,c.records.head!=null?c.records.head.id:null),c.records.branchConfig.set(t,{name:t,order:a}),_(t),w.debug("in createBranch")},"branch"),wt=d(e=>{let t=e.branch,a=e.id,n=e.type,r=e.tags,i=G();t=C.sanitizeText(t,i),a&&(a=C.sanitizeText(a,i));let s=c.records.branches.get(c.records.currBranch),o=c.records.branches.get(t),m=s?c.records.commits.get(s):void 0,$=o?c.records.commits.get(o):void 0;if(m&&$&&m.branch===t)throw new Error(`Cannot merge branch '${t}' into itself.`);if(c.records.currBranch===t){let h=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["branch abc"]},h}if(m===void 0||!m){let h=new Error(`Incorrect usage of "merge". Current branch (${c.records.currBranch})has no commits`);throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["commit"]},h}if(!c.records.branches.has(t)){let h=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch ${t}`]},h}if($===void 0||!$){let h=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:['"commit"']},h}if(m===$){let h=new Error('Incorrect usage of "merge". Both branches have same head');throw h.hash={text:`merge ${t}`,token:`merge ${t}`,expected:["branch abc"]},h}if(a&&c.records.commits.has(a)){let h=new Error('Incorrect usage of "merge". Commit with id:'+a+" already exists, use different custom Id");throw h.hash={text:`merge ${t} ${a} ${n} ${r==null?void 0:r.join(" ")}`,token:`merge ${t} ${a} ${n} ${r==null?void 0:r.join(" ")}`,expected:[`merge ${t} ${a}_UNIQUE ${n} ${r==null?void 0:r.join(" ")}`]},h}let l=o||"",g={id:a||`${c.records.seq}-${S()}`,message:`merged branch ${t} into ${c.records.currBranch}`,seq:c.records.seq++,parents:c.records.head==null?[]:[c.records.head.id,l],branch:c.records.currBranch,type:p.MERGE,customType:n,customId:!!a,tags:r??[]};c.records.head=g,c.records.commits.set(g.id,g),c.records.branches.set(c.records.currBranch,g.id),w.debug(c.records.branches),w.debug("in mergeBranch")},"merge"),Bt=d(function(e){let t=e.id,a=e.targetId,n=e.tags,r=e.parent;w.debug("Entering cherryPick:",t,a,n);let i=G();if(t=C.sanitizeText(t,i),a=C.sanitizeText(a,i),n=n==null?void 0:n.map(m=>C.sanitizeText(m,i)),r=C.sanitizeText(r,i),!t||!c.records.commits.has(t)){let m=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw m.hash={text:`cherryPick ${t} ${a}`,token:`cherryPick ${t} ${a}`,expected:["cherry-pick abc"]},m}let s=c.records.commits.get(t);if(s===void 0||!s)throw new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');if(r&&!(Array.isArray(s.parents)&&s.parents.includes(r)))throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");let o=s.branch;if(s.type===p.MERGE&&!r)throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");if(!a||!c.records.commits.has(a)){if(o===c.records.currBranch){let g=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw g.hash={text:`cherryPick ${t} ${a}`,token:`cherryPick ${t} ${a}`,expected:["cherry-pick abc"]},g}let m=c.records.branches.get(c.records.currBranch);if(m===void 0||!m){let g=new Error(`Incorrect usage of "cherry-pick". Current branch (${c.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${t} ${a}`,token:`cherryPick ${t} ${a}`,expected:["cherry-pick abc"]},g}let $=c.records.commits.get(m);if($===void 0||!$){let g=new Error(`Incorrect usage of "cherry-pick". Current branch (${c.records.currBranch})has no commits`);throw g.hash={text:`cherryPick ${t} ${a}`,token:`cherryPick ${t} ${a}`,expected:["cherry-pick abc"]},g}let l={id:c.records.seq+"-"+S(),message:`cherry-picked ${s==null?void 0:s.message} into ${c.records.currBranch}`,seq:c.records.seq++,parents:c.records.head==null?[]:[c.records.head.id,s.id],branch:c.records.currBranch,type:p.CHERRY_PICK,tags:n?n.filter(Boolean):[`cherry-pick:${s.id}${s.type===p.MERGE?`|parent:${r}`:""}`]};c.records.head=l,c.records.commits.set(l.id,l),c.records.branches.set(c.records.currBranch,l.id),w.debug(c.records.branches),w.debug("in cherryPick")}},"cherryPick"),_=d(function(e){if(e=C.sanitizeText(e,G()),c.records.branches.has(e)){c.records.currBranch=e;let t=c.records.branches.get(c.records.currBranch);t===void 0||!t?c.records.head=null:c.records.head=c.records.commits.get(t)??null}else{let t=new Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw t.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},t}},"checkout");function N(e,t,a){let n=e.indexOf(t);n===-1?e.push(a):e.splice(n,1,a)}d(N,"upsert");function W(e){let t=e.reduce((r,i)=>r.seq>i.seq?r:i,e[0]),a="";e.forEach(function(r){r===t?a+=" *":a+=" |"});let n=[a,t.id,t.seq];for(let r in c.records.branches)c.records.branches.get(r)===t.id&&n.push(r);if(w.debug(n.join(" ")),t.parents&&t.parents.length==2&&t.parents[0]&&t.parents[1]){let r=c.records.commits.get(t.parents[0]);N(e,t,r),t.parents[1]&&e.push(c.records.commits.get(t.parents[1]))}else{if(t.parents.length==0)return;if(t.parents[0]){let r=c.records.commits.get(t.parents[0]);N(e,t,r)}}e=K(e,r=>r.id),W(e)}d(W,"prettyPrintCommitHistory");var Et=d(function(){w.debug(c.records.commits);let e=Y()[0];W([e])},"prettyPrint"),Lt=d(function(){c.reset(),at()},"clear"),Ct=d(function(){return[...c.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},"getBranchesAsObjArray"),kt=d(function(){return c.records.branches},"getBranches"),Tt=d(function(){return c.records.commits},"getCommits"),Y=d(function(){let e=[...c.records.commits.values()];return e.forEach(function(t){w.debug(t.id)}),e.sort((t,a)=>t.seq-a.seq),e},"getCommitsArray"),Mt=d(function(){return c.records.currBranch},"getCurrentBranch"),vt=d(function(){return c.records.direction},"getDirection"),Pt=d(function(){return c.records.head},"getHead"),Q={commitType:p,getConfig:G,setDirection:pt,setOptions:ft,getOptions:xt,commit:ut,branch:bt,merge:wt,cherryPick:Bt,checkout:_,prettyPrint:Et,clear:Lt,getBranchesAsObjArray:Ct,getBranches:kt,getCommits:Tt,getCommitsArray:Y,getCurrentBranch:Mt,getDirection:vt,getHead:Pt,setAccTitle:ht,getAccTitle:dt,getAccDescription:mt,setAccDescription:lt,setDiagramTitle:$t,getDiagramTitle:gt},Rt=d((e,t)=>{X(e,t),e.dir&&t.setDirection(e.dir);for(let a of e.statements)At(a,t)},"populate"),At=d((e,t)=>{let a={Commit:d(n=>t.commit(It(n)),"Commit"),Branch:d(n=>t.branch(Gt(n)),"Branch"),Merge:d(n=>t.merge(Ot(n)),"Merge"),Checkout:d(n=>t.checkout(qt(n)),"Checkout"),CherryPicking:d(n=>t.cherryPick(Ht(n)),"CherryPicking")}[e.$type];a?a(e):w.error(`Unknown statement type: ${e.$type}`)},"parseStatement"),It=d(e=>({id:e.id,msg:e.message??"",type:e.type!==void 0?p[e.type]:p.NORMAL,tags:e.tags??void 0}),"parseCommit"),Gt=d(e=>({name:e.name,order:e.order??0}),"parseBranch"),Ot=d(e=>({branch:e.branch,id:e.id??"",type:e.type!==void 0?p[e.type]:void 0,tags:e.tags??void 0}),"parseMerge"),qt=d(e=>e.branch,"parseCheckout"),Ht=d(e=>{var t;return{id:e.id,targetId:"",tags:((t=e.tags)==null?void 0:t.length)===0?void 0:e.tags,parent:e.parent}},"parseCherryPicking"),zt={parse:d(async e=>{let t=await Z("gitGraph",e);w.debug(t),Rt(t,Q)},"parse")},D=it(),x=D==null?void 0:D.gitGraph,P=10,R=40,k=4,T=2,I=8,E=new Map,L=new Map,H=30,O=new Map,z=[],v=0,y="LR",St=d(()=>{E.clear(),L.clear(),O.clear(),v=0,z=[],y="LR"},"clear"),U=d(e=>{let t=document.createElementNS("http://www.w3.org/2000/svg","text");return(typeof e=="string"?e.split(/\\n|\n|/gi):e).forEach(a=>{let n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),n.setAttribute("class","row"),n.textContent=a.trim(),t.appendChild(n)}),t},"drawText"),V=d(e=>{let t,a,n;return y==="BT"?(a=d((r,i)=>r<=i,"comparisonFunc"),n=1/0):(a=d((r,i)=>r>=i,"comparisonFunc"),n=0),e.forEach(r=>{var s,o;let i=y==="TB"||y=="BT"?(s=L.get(r))==null?void 0:s.y:(o=L.get(r))==null?void 0:o.x;i!==void 0&&a(i,n)&&(t=r,n=i)}),t},"findClosestParent"),Dt=d(e=>{let t="",a=1/0;return e.forEach(n=>{let r=L.get(n).y;r<=a&&(t=n,a=r)}),t||void 0},"findClosestParentBT"),Nt=d((e,t,a)=>{let n=a,r=a,i=[];e.forEach(s=>{let o=t.get(s);if(!o)throw new Error(`Commit not found for key ${s}`);o.parents.length?(n=jt(o),r=Math.max(n,r)):i.push(o),Ft(o,n)}),n=r,i.forEach(s=>{Kt(s,n,a)}),e.forEach(s=>{let o=t.get(s);if(o!=null&&o.parents.length){let m=Dt(o.parents);n=L.get(m).y-R,n<=r&&(r=n);let $=E.get(o.branch).pos,l=n-P;L.set(o.id,{x:$,y:l})}})},"setParallelBTPos"),Wt=d(e=>{var n;let t=V(e.parents.filter(r=>r!==null));if(!t)throw new Error(`Closest parent not found for commit ${e.id}`);let a=(n=L.get(t))==null?void 0:n.y;if(a===void 0)throw new Error(`Closest parent position not found for commit ${e.id}`);return a},"findClosestParentPos"),jt=d(e=>Wt(e)+R,"calculateCommitPosition"),Ft=d((e,t)=>{let a=E.get(e.branch);if(!a)throw new Error(`Branch not found for commit ${e.id}`);let n=a.pos,r=t+P;return L.set(e.id,{x:n,y:r}),{x:n,y:r}},"setCommitPosition"),Kt=d((e,t,a)=>{let n=E.get(e.branch);if(!n)throw new Error(`Branch not found for commit ${e.id}`);let r=t+a,i=n.pos;L.set(e.id,{x:i,y:r})},"setRootPosition"),_t=d((e,t,a,n,r,i)=>{if(i===p.HIGHLIGHT)e.append("rect").attr("x",a.x-10).attr("y",a.y-10).attr("width",20).attr("height",20).attr("class",`commit ${t.id} commit-highlight${r%I} ${n}-outer`),e.append("rect").attr("x",a.x-6).attr("y",a.y-6).attr("width",12).attr("height",12).attr("class",`commit ${t.id} commit${r%I} ${n}-inner`);else if(i===p.CHERRY_PICK)e.append("circle").attr("cx",a.x).attr("cy",a.y).attr("r",10).attr("class",`commit ${t.id} ${n}`),e.append("circle").attr("cx",a.x-3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${t.id} ${n}`),e.append("circle").attr("cx",a.x+3).attr("cy",a.y+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${t.id} ${n}`),e.append("line").attr("x1",a.x+3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${t.id} ${n}`),e.append("line").attr("x1",a.x-3).attr("y1",a.y+1).attr("x2",a.x).attr("y2",a.y-5).attr("stroke","#fff").attr("class",`commit ${t.id} ${n}`);else{let s=e.append("circle");if(s.attr("cx",a.x),s.attr("cy",a.y),s.attr("r",t.type===p.MERGE?9:10),s.attr("class",`commit ${t.id} commit${r%I}`),i===p.MERGE){let o=e.append("circle");o.attr("cx",a.x),o.attr("cy",a.y),o.attr("r",6),o.attr("class",`commit ${n} ${t.id} commit${r%I}`)}i===p.REVERSE&&e.append("path").attr("d",`M ${a.x-5},${a.y-5}L${a.x+5},${a.y+5}M${a.x-5},${a.y+5}L${a.x+5},${a.y-5}`).attr("class",`commit ${n} ${t.id} commit${r%I}`)}},"drawCommitBullet"),Yt=d((e,t,a,n)=>{var r;if(t.type!==p.CHERRY_PICK&&(t.customId&&t.type===p.MERGE||t.type!==p.MERGE)&&(x!=null&&x.showCommitLabel)){let i=e.append("g"),s=i.insert("rect").attr("class","commit-label-bkg"),o=i.append("text").attr("x",n).attr("y",a.y+25).attr("class","commit-label").text(t.id),m=(r=o.node())==null?void 0:r.getBBox();if(m&&(s.attr("x",a.posWithOffset-m.width/2-T).attr("y",a.y+13.5).attr("width",m.width+2*T).attr("height",m.height+2*T),y==="TB"||y==="BT"?(s.attr("x",a.x-(m.width+4*k+5)).attr("y",a.y-12),o.attr("x",a.x-(m.width+4*k)).attr("y",a.y+m.height-12)):o.attr("x",a.posWithOffset-m.width/2),x.rotateCommitLabel))if(y==="TB"||y==="BT")o.attr("transform","rotate(-45, "+a.x+", "+a.y+")"),s.attr("transform","rotate(-45, "+a.x+", "+a.y+")");else{let $=-7.5-(m.width+10)/25*9.5,l=10+m.width/25*8.5;i.attr("transform","translate("+$+", "+l+") rotate(-45, "+n+", "+a.y+")")}}},"drawCommitLabel"),Qt=d((e,t,a,n)=>{var r;if(t.tags.length>0){let i=0,s=0,o=0,m=[];for(let $ of t.tags.reverse()){let l=e.insert("polygon"),g=e.append("circle"),h=e.append("text").attr("y",a.y-16-i).attr("class","tag-label").text($),f=(r=h.node())==null?void 0:r.getBBox();if(!f)throw new Error("Tag bbox not found");s=Math.max(s,f.width),o=Math.max(o,f.height),h.attr("x",a.posWithOffset-f.width/2),m.push({tag:h,hole:g,rect:l,yOffset:i}),i+=20}for(let{tag:$,hole:l,rect:g,yOffset:h}of m){let f=o/2,u=a.y-19.2-h;if(g.attr("class","tag-label-bkg").attr("points",` ${n-s/2-k/2},${u+T} ${n-s/2-k/2},${u-T} ${a.posWithOffset-s/2-k},${u-f-T} diff --git a/assets/groups.html-B7uNYbVb.js b/assets/groups.html-DP5QHLqo.js similarity index 66% rename from assets/groups.html-B7uNYbVb.js rename to assets/groups.html-DP5QHLqo.js index eb30c970..dbd6c7f5 100644 --- a/assets/groups.html-B7uNYbVb.js +++ b/assets/groups.html-DP5QHLqo.js @@ -1,4 +1,4 @@ -import{_ as s,c as n,a,o}from"./app-DQKFxOg7.js";const t={};function i(l,e){return o(),n("div",null,e[0]||(e[0]=[a(`

Groups

beachball supports different ways of grouping packages together or limiting the packages considered.

You can also use scoping to limit which packages are considered, either for a specific operation or at all.

Version groups

By default, all packages in the repository are only bumped based on the changes specified in their own change files (or if their in-repo dependencies are bumped and bumpDeps is enabled). Developers are expected to create change files specifying the bump type for each package as they go.

For cases where it's necessary to bump packages together, beachball also provides a concept of version groups. Whenever one package in a group is bumped, the versions of all packages in the group will be updated with the same bump type.

Note: this is slightly different from lock step versioning (where all packages use the exact same version): beachball only applies the same bump type to each package's current version. There's an open feature request discussing full lock step versioning.

Note: a package cannot belong to multiple groups - beachball will not allow its commands to work with that configuration

Configuring version groups

Groups can be added to the configuration file. See the VersionGroupOptions source for full details.

NameTypeDescription
namestringName of the version group
includestring | string[] | trueglob pattern(s) for package paths to include (see notes on globs). If true, include all packages except those matching exclude.
excludestring | string[]glob pattern(s) for package paths to exclude (see notes on globs). This currently must use negated patterns only (will be fixed in version 3).
disallowedChangeTypesChangeType[] | nullDisallow these change types for the group.

Example:

{
+import{_ as s,c as n,d as a,o}from"./app-3oaVMpRs.js";const t={};function i(l,e){return o(),n("div",null,e[0]||(e[0]=[a(`

Groups

beachball supports different ways of grouping packages together or limiting the packages considered.

You can also use scoping to limit which packages are considered, either for a specific operation or at all.

Version groups

By default, all packages in the repository are only bumped based on the changes specified in their own change files (or if their in-repo dependencies are bumped and bumpDeps is enabled). Developers are expected to create change files specifying the bump type for each package as they go.

For cases where it's necessary to bump packages together, beachball also provides a concept of version groups. Whenever one package in a group is bumped, the versions of all packages in the group will be updated with the same bump type.

Note: this is slightly different from lock step versioning (where all packages use the exact same version): beachball only applies the same bump type to each package's current version. There's an open feature request discussing full lock step versioning.

Note: a package cannot belong to multiple groups - beachball will not allow its commands to work with that configuration

Configuring version groups

Groups can be added to the configuration file. See the VersionGroupOptions source for full details.

NameTypeDescription
namestringName of the version group
includestring | string[] | trueglob pattern(s) for package paths to include (see notes on globs). If true, include all packages except those matching exclude.
excludestring | string[]glob pattern(s) for package paths to exclude (see notes on globs). This currently must use negated patterns only (will be fixed in version 3).
disallowedChangeTypesChangeType[] | nullDisallow these change types for the group.

Example:

{
   "groups": [
     {
       "name": "group name",
@@ -33,4 +33,4 @@ import{_ as s,c as n,a,o}from"./app-DQKFxOg7.js";const t={};function i(l,e){retu
   - other change (example@example.com)
 - \`bar\`
   - bar change (example@example.com)
-
`,23)]))}const c=s(t,[["render",i],["__file","groups.html.vue"]]),r=JSON.parse('{"path":"/concepts/groups.html","title":"Groups","lang":"en-US","frontmatter":{"tags":["groups","lock step"],"category":"doc"},"headers":[{"level":2,"title":"Version groups","slug":"version-groups","link":"#version-groups","children":[{"level":3,"title":"Configuring version groups","slug":"configuring-version-groups","link":"#configuring-version-groups","children":[]}]},{"level":2,"title":"Grouped changelogs","slug":"grouped-changelogs","link":"#grouped-changelogs","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"concepts/groups.md"}');export{c as comp,r as data}; +
`,23)]))}const c=s(t,[["render",i],["__file","groups.html.vue"]]),r=JSON.parse('{"path":"/concepts/groups.html","title":"Groups","lang":"en-US","frontmatter":{"tags":["groups","lock step"],"category":"doc"},"headers":[{"level":2,"title":"Version groups","slug":"version-groups","link":"#version-groups","children":[{"level":3,"title":"Configuring version groups","slug":"configuring-version-groups","link":"#configuring-version-groups","children":[]}]},{"level":2,"title":"Grouped changelogs","slug":"grouped-changelogs","link":"#grouped-changelogs","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"concepts/groups.md"}');export{c as comp,r as data}; diff --git a/assets/index.html-BhshogFw.js b/assets/index.html-BhshogFw.js new file mode 100644 index 00000000..f0f05a88 --- /dev/null +++ b/assets/index.html-BhshogFw.js @@ -0,0 +1 @@ +import{_ as e,c as t,o}from"./app-3oaVMpRs.js";const i={};function n(r,a){return o(),t("div")}const l=e(i,[["render",n],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"","lang":"en-US","frontmatter":{"home":true,"heroText":"The Sunniest Semantic Version Bumper","tagline":"Makes automating npm publishing a breeze","actions":[{"text":"Get Started →","link":"/overview/getting-started","type":"primary"}],"features":[{"title":"Synchronized in git and npm","details":"keep your git and npm versions in sync in CI and local workflows"},{"title":"Generates Changelogs","details":"same command will generate changelogs for your users"},{"title":"Automated Version Bumps","details":"one command line to bump package(s) in your repo with semver"},{"title":"Single or Monorepo","details":"compatible out of the box for single repo or monorepos"},{"title":"Pre-Publish Validation Checks","details":"double and triple check git repo and npm registry before publish"},{"title":"Zero Config Versioning","details":"no config is required to get started, do more in one line"}],"footer":"MIT Licensed | Copyright © 2019-present Microsoft"},"headers":[],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"README.md"}');export{l as comp,m as data}; diff --git a/assets/index.html-D-vXa0FR.js b/assets/index.html-D-vXa0FR.js deleted file mode 100644 index 57d9b2e5..00000000 --- a/assets/index.html-D-vXa0FR.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as t,o as i}from"./app-DQKFxOg7.js";const o={};function n(r,a){return i(),t("div")}const l=e(o,[["render",n],["__file","index.html.vue"]]),m=JSON.parse('{"path":"/","title":"","lang":"en-US","frontmatter":{"home":true,"heroText":"The Sunniest Semantic Version Bumper","tagline":"Makes automating npm publishing a breeze","actions":[{"text":"Get Started →","link":"/overview/getting-started","type":"primary"}],"features":[{"title":"Synchronized in git and npm","details":"keep your git and npm versions in sync in CI and local workflows"},{"title":"Generates Changelogs","details":"same command will generate changelogs for your users"},{"title":"Automated Version Bumps","details":"one command line to bump package(s) in your repo with semver"},{"title":"Single or Monorepo","details":"compatible out of the box for single repo or monorepos"},{"title":"Pre-Publish Validation Checks","details":"double and triple check git repo and npm registry before publish"},{"title":"Zero Config Versioning","details":"no config is required to get started, do more in one line"}],"footer":"MIT Licensed | Copyright © 2019-present Microsoft"},"headers":[],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"README.md"}');export{l as comp,m as data}; diff --git a/assets/infoDiagram-A4XEPD65-Dz3r-dhe.js b/assets/infoDiagram-A4XEPD65-Dq9v5deA.js similarity index 69% rename from assets/infoDiagram-A4XEPD65-Dz3r-dhe.js rename to assets/infoDiagram-A4XEPD65-Dq9v5deA.js index 18934e01..7cf64c91 100644 --- a/assets/infoDiagram-A4XEPD65-Dz3r-dhe.js +++ b/assets/infoDiagram-A4XEPD65-Dq9v5deA.js @@ -1,2 +1,2 @@ -import{p as o}from"./gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js";import{m as e,J as i,a8 as n,k as d,a9 as p}from"./mermaid.esm.min-DnxZBvzk.js";import"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";var m={parse:e(async r=>{let a=await o("info",r);i.debug(a)},"parse")},g={version:p},v=e(()=>g.version,"getVersion"),f={getVersion:v},l=e((r,a,s)=>{i.debug(`rendering info diagram +import{p as o}from"./gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js";import{m as e,J as i,a8 as n,k as d,a9 as p}from"./mermaid.esm.min-Bq5H-fqC.js";import"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var m={parse:e(async r=>{let a=await o("info",r);i.debug(a)},"parse")},g={version:p},v=e(()=>g.version,"getVersion"),f={getVersion:v},l=e((r,a,s)=>{i.debug(`rendering info diagram `+r);let t=n(a);d(t,100,400,!0),t.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${s}`)},"draw"),x={draw:l},k={parser:m,db:f,renderer:x};export{k as diagram}; diff --git a/assets/installation.html-CcqcPTar.js b/assets/installation.html-BrekOTCC.js similarity index 95% rename from assets/installation.html-CcqcPTar.js rename to assets/installation.html-BrekOTCC.js index 9542425f..4ad58789 100644 --- a/assets/installation.html-CcqcPTar.js +++ b/assets/installation.html-BrekOTCC.js @@ -1,4 +1,4 @@ -import{_ as e,c as n,a as s,o as t}from"./app-DQKFxOg7.js";const l={};function o(i,a){return t(),n("div",null,a[0]||(a[0]=[s(`

Installation

CLI setup

The primary way to use beachball is by installing it as a devDependency and configuring wrapper scripts. (You can also run beachball via npx.)

Note: In a monorepo, beachball should be installed at and run from the repo root only.

Automatic setup

Run npx beachball init to automatically run the steps outlined below.

Manual setup

To get started, install beachball as a devDependency:

npm install -D beachball
+import{_ as e,c as n,d as s,o as t}from"./app-3oaVMpRs.js";const l={};function o(i,a){return t(),n("div",null,a[0]||(a[0]=[s(`

Installation

CLI setup

The primary way to use beachball is by installing it as a devDependency and configuring wrapper scripts. (You can also run beachball via npx.)

Note: In a monorepo, beachball should be installed at and run from the repo root only.

Automatic setup

Run npx beachball init to automatically run the steps outlined below.

Manual setup

To get started, install beachball as a devDependency:

npm install -D beachball
 

or for yarn users (add -W if in a monorepo):

yarn add -D beachball
 

After that, add some scripts to call beachball commands:

{
   "scripts": {
@@ -13,4 +13,4 @@ import{_ as e,c as n,a as s,o as t}from"./app-DQKFxOg7.js";const l={};function o
     "url": "https://github.com/your-org-name/your-repo-name.git"
   }
 }
-

Local development workflow

After making and committing changes in a branch, run npm run change or yarn change to generate change files. See the change files page for more details.

CI integration

There are two parts to CI integration with beachball:

  1. Add a PR build step to call beachball check to validate that change files are included.
  2. Add a release build step to call beachball publish to publish to npm and push back to git.
`,20)]))}const p=e(l,[["render",o],["__file","installation.html.vue"]]),r=JSON.parse('{"path":"/overview/installation.html","title":"Installation","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"CLI setup","slug":"cli-setup","link":"#cli-setup","children":[{"level":3,"title":"Automatic setup","slug":"automatic-setup","link":"#automatic-setup","children":[]},{"level":3,"title":"Manual setup","slug":"manual-setup","link":"#manual-setup","children":[]}]},{"level":2,"title":"Local development workflow","slug":"local-development-workflow","link":"#local-development-workflow","children":[]},{"level":2,"title":"CI integration","slug":"ci-integration","link":"#ci-integration","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"overview/installation.md"}');export{p as comp,r as data}; +

Local development workflow

After making and committing changes in a branch, run npm run change or yarn change to generate change files. See the change files page for more details.

CI integration

There are two parts to CI integration with beachball:

  1. Add a PR build step to call beachball check to validate that change files are included.
  2. Add a release build step to call beachball publish to publish to npm and push back to git.
`,20)]))}const p=e(l,[["render",o],["__file","installation.html.vue"]]),r=JSON.parse('{"path":"/overview/installation.html","title":"Installation","lang":"en-US","frontmatter":{"tags":["overview"],"category":"doc"},"headers":[{"level":2,"title":"CLI setup","slug":"cli-setup","link":"#cli-setup","children":[{"level":3,"title":"Automatic setup","slug":"automatic-setup","link":"#automatic-setup","children":[]},{"level":3,"title":"Manual setup","slug":"manual-setup","link":"#manual-setup","children":[]}]},{"level":2,"title":"Local development workflow","slug":"local-development-workflow","link":"#local-development-workflow","children":[]},{"level":2,"title":"CI integration","slug":"ci-integration","link":"#ci-integration","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"overview/installation.md"}');export{p as comp,r as data}; diff --git a/assets/journeyDiagram-5ML6LF3B-TYBVFke4.js b/assets/journeyDiagram-5ML6LF3B-CkpgwWmY.js similarity index 99% rename from assets/journeyDiagram-5ML6LF3B-TYBVFke4.js rename to assets/journeyDiagram-5ML6LF3B-CkpgwWmY.js index bfaf6efa..8cb0ba20 100644 --- a/assets/journeyDiagram-5ML6LF3B-TYBVFke4.js +++ b/assets/journeyDiagram-5ML6LF3B-CkpgwWmY.js @@ -1,4 +1,4 @@ -import{x as gt,y as mt,h as st,g as xt}from"./chunk-BERL53GW-CPe116Kq.js";import{m as r,v as kt,Q as C,L as _t,A as bt,w as vt,B as $t,F as wt,M as Mt,b as G,k as Tt,ac as tt}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var U=function(){var t=r(function(g,i,s,u){for(s=s||{},u=g.length;u--;s[g[u]]=i);return s},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],l=[1,10],a=[1,11],h=[1,12],c=[1,13],y=[1,14],d={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:r(function(g,i,s,u,p,o,m){var k=o.length-1;switch(p){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 13:u.addTask(o[k-1],o[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:l,14:a,16:h,17:c,18:y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:l,14:a,16:h,17:c,18:y},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:r(function(g,i){if(i.recoverable)this.trace(g);else{var s=new Error(g);throw s.hash=i,s}},"parseError"),parse:r(function(g){var i=this,s=[0],u=[],p=[null],o=[],m=this.table,k="",F=0,H=0,ut=0,pt=2,Z=1,yt=o.slice.call(arguments,1),_=Object.create(this.lexer),E={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(E.yy[R]=this.yy[R]);_.setInput(g,E.yy),E.yy.lexer=_,E.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var D=_.yylloc;o.push(D);var dt=_.options&&_.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(v){s.length=s.length-2*v,p.length=p.length-v,o.length=o.length-v}r(ft,"popStack");function J(){var v;return v=u.pop()||_.lex()||Z,typeof v!="number"&&(v instanceof Array&&(u=v,v=u.pop()),v=i.symbols_[v]||v),v}r(J,"lex");for(var b,z,S,$,Ut,Y,A={},N,M,K,O;;){if(S=s[s.length-1],this.defaultActions[S]?$=this.defaultActions[S]:((b===null||typeof b>"u")&&(b=J()),$=m[S]&&m[S][b]),typeof $>"u"||!$.length||!$[0]){var q="";O=[];for(N in m[S])this.terminals_[N]&&N>pt&&O.push("'"+this.terminals_[N]+"'");_.showPosition?q="Parse error on line "+(F+1)+`: +import{x as gt,y as mt,h as st,g as xt}from"./chunk-BERL53GW-CnPewdp0.js";import{m as r,v as kt,Q as C,L as _t,A as bt,w as vt,B as $t,F as wt,M as Mt,b as G,k as Tt,ac as tt}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var U=function(){var t=r(function(g,i,s,u){for(s=s||{},u=g.length;u--;s[g[u]]=i);return s},"o"),e=[6,8,10,11,12,14,16,17,18],n=[1,9],l=[1,10],a=[1,11],h=[1,12],c=[1,13],y=[1,14],d={trace:r(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:r(function(g,i,s,u,p,o,m){var k=o.length-1;switch(p){case 1:return o[k-1];case 2:this.$=[];break;case 3:o[k-1].push(o[k]),this.$=o[k-1];break;case 4:case 5:this.$=o[k];break;case 6:case 7:this.$=[];break;case 8:u.setDiagramTitle(o[k].substr(6)),this.$=o[k].substr(6);break;case 9:this.$=o[k].trim(),u.setAccTitle(this.$);break;case 10:case 11:this.$=o[k].trim(),u.setAccDescription(this.$);break;case 12:u.addSection(o[k].substr(8)),this.$=o[k].substr(8);break;case 13:u.addTask(o[k-1],o[k]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:l,14:a,16:h,17:c,18:y},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:l,14:a,16:h,17:c,18:y},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:r(function(g,i){if(i.recoverable)this.trace(g);else{var s=new Error(g);throw s.hash=i,s}},"parseError"),parse:r(function(g){var i=this,s=[0],u=[],p=[null],o=[],m=this.table,k="",F=0,H=0,ut=0,pt=2,Z=1,yt=o.slice.call(arguments,1),_=Object.create(this.lexer),E={yy:{}};for(var R in this.yy)Object.prototype.hasOwnProperty.call(this.yy,R)&&(E.yy[R]=this.yy[R]);_.setInput(g,E.yy),E.yy.lexer=_,E.yy.parser=this,typeof _.yylloc>"u"&&(_.yylloc={});var D=_.yylloc;o.push(D);var dt=_.options&&_.options.ranges;typeof E.yy.parseError=="function"?this.parseError=E.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ft(v){s.length=s.length-2*v,p.length=p.length-v,o.length=o.length-v}r(ft,"popStack");function J(){var v;return v=u.pop()||_.lex()||Z,typeof v!="number"&&(v instanceof Array&&(u=v,v=u.pop()),v=i.symbols_[v]||v),v}r(J,"lex");for(var b,z,S,$,Ut,Y,A={},N,M,K,O;;){if(S=s[s.length-1],this.defaultActions[S]?$=this.defaultActions[S]:((b===null||typeof b>"u")&&(b=J()),$=m[S]&&m[S][b]),typeof $>"u"||!$.length||!$[0]){var q="";O=[];for(N in m[S])this.terminals_[N]&&N>pt&&O.push("'"+this.terminals_[N]+"'");_.showPosition?q="Parse error on line "+(F+1)+`: `+_.showPosition()+` Expecting `+O.join(", ")+", got '"+(this.terminals_[b]||b)+"'":q="Parse error on line "+(F+1)+": Unexpected "+(b==Z?"end of input":"'"+(this.terminals_[b]||b)+"'"),this.parseError(q,{text:_.match,token:this.terminals_[b]||b,line:_.yylineno,loc:D,expected:O})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+S+", token: "+b);switch($[0]){case 1:s.push(b),p.push(_.yytext),o.push(_.yylloc),s.push($[1]),b=null,z?(b=z,z=null):(H=_.yyleng,k=_.yytext,F=_.yylineno,D=_.yylloc,ut>0);break;case 2:if(M=this.productions_[$[1]][1],A.$=p[p.length-M],A._$={first_line:o[o.length-(M||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(M||1)].first_column,last_column:o[o.length-1].last_column},dt&&(A._$.range=[o[o.length-(M||1)].range[0],o[o.length-1].range[1]]),Y=this.performAction.apply(A,[k,H,F,E.yy,$[1],p,o].concat(yt)),typeof Y<"u")return Y;M&&(s=s.slice(0,-1*M*2),p=p.slice(0,-1*M),o=o.slice(0,-1*M)),s.push(this.productions_[$[1]][0]),p.push(A.$),o.push(A._$),K=m[s[s.length-2]][s[s.length-1]],s.push(K);break;case 3:return!0}}return!0},"parse")},x=function(){var g={EOF:1,parseError:r(function(i,s){if(this.yy.parser)this.yy.parser.parseError(i,s);else throw new Error(i)},"parseError"),setInput:r(function(i,s){return this.yy=s||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var s=i.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r(function(i){var s=i.length,u=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var p=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var o=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===p.length?this.yylloc.first_column:0)+p[p.length-u.length].length-u[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[o[0],o[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:r(function(){return this._more=!0,this},"more"),reject:r(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r(function(){var i=this.pastInput(),s=new Array(i.length+1).join("-");return i+this.upcomingInput()+` diff --git a/assets/kanban-definition-EGOKAUOG-B-dvYgH1.js b/assets/kanban-definition-EGOKAUOG-CnpypVV5.js similarity index 99% rename from assets/kanban-definition-EGOKAUOG-B-dvYgH1.js rename to assets/kanban-definition-EGOKAUOG-CnpypVV5.js index 5e14cb45..df1a6e11 100644 --- a/assets/kanban-definition-EGOKAUOG-B-dvYgH1.js +++ b/assets/kanban-definition-EGOKAUOG-CnpypVV5.js @@ -1,4 +1,4 @@ -import{m as o,Q as W,N as U,n as J,g as fe,c as me,J as te,a8 as be,bc as _e,bd as ke,be as Se,b7 as Ee,b8 as Ne,b9 as le,ba as ce}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var Z=function(){var i=o(function(S,e,s,a){for(s=s||{},a=S.length;a--;s[S[a]]=e);return s},"o"),u=[1,4],d=[1,13],r=[1,12],g=[1,15],p=[1,16],k=[1,20],c=[1,19],D=[6,7,8],I=[1,26],O=[1,24],v=[1,25],n=[6,7,11],T=[1,31],C=[6,7,11,24],F=[1,6,13,16,17,20,23],M=[1,35],H=[1,36],w=[1,6,7,11,13,16,17,20,23],G=[1,38],f={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(S,e,s,a,h,t,b){var l=t.length-1;switch(h){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[l-1].id),a.addNode(t[l-2].length,t[l-1].id,t[l-1].descr,t[l-1].type,t[l]);break;case 16:a.getLogger().info("Node: ",t[l].id),a.addNode(t[l-1].length,t[l].id,t[l].descr,t[l].type);break;case 17:a.getLogger().trace("Icon: ",t[l]),a.decorateNode({icon:t[l]});break;case 18:case 23:a.decorateNode({class:t[l]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[l-1].id),a.addNode(0,t[l-1].id,t[l-1].descr,t[l-1].type,t[l]);break;case 21:a.getLogger().trace("Node: ",t[l].id),a.addNode(0,t[l].id,t[l].descr,t[l].type);break;case 22:a.decorateNode({icon:t[l]});break;case 27:a.getLogger().trace("node found ..",t[l-2]),this.$={id:t[l-1],descr:t[l-1],type:a.getType(t[l-2],t[l])};break;case 28:this.$={id:t[l],descr:t[l],type:0};break;case 29:a.getLogger().trace("node found ..",t[l-3]),this.$={id:t[l-3],descr:t[l-1],type:a.getType(t[l-2],t[l])};break;case 30:this.$=t[l-1]+t[l];break;case 31:this.$=t[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:u},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:u},{6:d,7:[1,10],9:9,12:11,13:r,14:14,16:g,17:p,18:17,19:18,20:k,23:c},i(D,[2,3]),{1:[2,2]},i(D,[2,4]),i(D,[2,5]),{1:[2,6],6:d,12:21,13:r,14:14,16:g,17:p,18:17,19:18,20:k,23:c},{6:d,9:22,12:11,13:r,14:14,16:g,17:p,18:17,19:18,20:k,23:c},{6:I,7:O,10:23,11:v},i(n,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:k,23:c}),i(n,[2,19]),i(n,[2,21],{15:30,24:T}),i(n,[2,22]),i(n,[2,23]),i(C,[2,25]),i(C,[2,26]),i(C,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:O,10:34,11:v},{1:[2,7],6:d,12:21,13:r,14:14,16:g,17:p,18:17,19:18,20:k,23:c},i(F,[2,14],{7:M,11:H}),i(w,[2,8]),i(w,[2,9]),i(w,[2,10]),i(n,[2,16],{15:37,24:T}),i(n,[2,17]),i(n,[2,18]),i(n,[2,20],{24:G}),i(C,[2,31]),{21:[1,39]},{22:[1,40]},i(F,[2,13],{7:M,11:H}),i(w,[2,11]),i(w,[2,12]),i(n,[2,15],{24:G}),i(C,[2,30]),{22:[1,41]},i(C,[2,27]),i(C,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(S,e){if(e.recoverable)this.trace(S);else{var s=new Error(S);throw s.hash=e,s}},"parseError"),parse:o(function(S){var e=this,s=[0],a=[],h=[null],t=[],b=this.table,l="",j=0,se=0,ue=0,ge=2,re=1,de=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(R.yy[Q]=this.yy[Q]);m.setInput(S,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var V=m.yylloc;t.push(V);var pe=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ye(E){s.length=s.length-2*E,h.length=h.length-E,t.length=t.length-E}o(ye,"popStack");function ae(){var E;return E=a.pop()||m.lex()||re,typeof E!="number"&&(E instanceof Array&&(a=E,E=a.pop()),E=e.symbols_[E]||E),E}o(ae,"lex");for(var _,X,P,L,Ge,Y,B={},K,A,oe,z;;){if(P=s[s.length-1],this.defaultActions[P]?L=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),L=b[P]&&b[P][_]),typeof L>"u"||!L.length||!L[0]){var q="";z=[];for(K in b[P])this.terminals_[K]&&K>ge&&z.push("'"+this.terminals_[K]+"'");m.showPosition?q="Parse error on line "+(j+1)+`: +import{m as o,Q as W,N as U,n as J,g as fe,c as me,J as te,a8 as be,bc as _e,bd as ke,be as Se,b7 as Ee,b8 as Ne,b9 as le,ba as ce}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var Z=function(){var i=o(function(S,e,s,a){for(s=s||{},a=S.length;a--;s[S[a]]=e);return s},"o"),u=[1,4],d=[1,13],r=[1,12],g=[1,15],p=[1,16],k=[1,20],c=[1,19],D=[6,7,8],I=[1,26],O=[1,24],v=[1,25],n=[6,7,11],T=[1,31],C=[6,7,11,24],F=[1,6,13,16,17,20,23],M=[1,35],H=[1,36],w=[1,6,7,11,13,16,17,20,23],G=[1,38],f={trace:o(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,KANBAN:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,shapeData:15,ICON:16,CLASS:17,nodeWithId:18,nodeWithoutId:19,NODE_DSTART:20,NODE_DESCR:21,NODE_DEND:22,NODE_ID:23,SHAPE_DATA:24,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"KANBAN",11:"EOF",13:"SPACELIST",16:"ICON",17:"CLASS",20:"NODE_DSTART",21:"NODE_DESCR",22:"NODE_DEND",23:"NODE_ID",24:"SHAPE_DATA"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,3],[12,2],[12,2],[12,2],[12,1],[12,2],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[19,3],[18,1],[18,4],[15,2],[15,1]],performAction:o(function(S,e,s,a,h,t,b){var l=t.length-1;switch(h){case 6:case 7:return a;case 8:a.getLogger().trace("Stop NL ");break;case 9:a.getLogger().trace("Stop EOF ");break;case 11:a.getLogger().trace("Stop NL2 ");break;case 12:a.getLogger().trace("Stop EOF2 ");break;case 15:a.getLogger().info("Node: ",t[l-1].id),a.addNode(t[l-2].length,t[l-1].id,t[l-1].descr,t[l-1].type,t[l]);break;case 16:a.getLogger().info("Node: ",t[l].id),a.addNode(t[l-1].length,t[l].id,t[l].descr,t[l].type);break;case 17:a.getLogger().trace("Icon: ",t[l]),a.decorateNode({icon:t[l]});break;case 18:case 23:a.decorateNode({class:t[l]});break;case 19:a.getLogger().trace("SPACELIST");break;case 20:a.getLogger().trace("Node: ",t[l-1].id),a.addNode(0,t[l-1].id,t[l-1].descr,t[l-1].type,t[l]);break;case 21:a.getLogger().trace("Node: ",t[l].id),a.addNode(0,t[l].id,t[l].descr,t[l].type);break;case 22:a.decorateNode({icon:t[l]});break;case 27:a.getLogger().trace("node found ..",t[l-2]),this.$={id:t[l-1],descr:t[l-1],type:a.getType(t[l-2],t[l])};break;case 28:this.$={id:t[l],descr:t[l],type:0};break;case 29:a.getLogger().trace("node found ..",t[l-3]),this.$={id:t[l-3],descr:t[l-1],type:a.getType(t[l-2],t[l])};break;case 30:this.$=t[l-1]+t[l];break;case 31:this.$=t[l];break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:u},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:u},{6:d,7:[1,10],9:9,12:11,13:r,14:14,16:g,17:p,18:17,19:18,20:k,23:c},i(D,[2,3]),{1:[2,2]},i(D,[2,4]),i(D,[2,5]),{1:[2,6],6:d,12:21,13:r,14:14,16:g,17:p,18:17,19:18,20:k,23:c},{6:d,9:22,12:11,13:r,14:14,16:g,17:p,18:17,19:18,20:k,23:c},{6:I,7:O,10:23,11:v},i(n,[2,24],{18:17,19:18,14:27,16:[1,28],17:[1,29],20:k,23:c}),i(n,[2,19]),i(n,[2,21],{15:30,24:T}),i(n,[2,22]),i(n,[2,23]),i(C,[2,25]),i(C,[2,26]),i(C,[2,28],{20:[1,32]}),{21:[1,33]},{6:I,7:O,10:34,11:v},{1:[2,7],6:d,12:21,13:r,14:14,16:g,17:p,18:17,19:18,20:k,23:c},i(F,[2,14],{7:M,11:H}),i(w,[2,8]),i(w,[2,9]),i(w,[2,10]),i(n,[2,16],{15:37,24:T}),i(n,[2,17]),i(n,[2,18]),i(n,[2,20],{24:G}),i(C,[2,31]),{21:[1,39]},{22:[1,40]},i(F,[2,13],{7:M,11:H}),i(w,[2,11]),i(w,[2,12]),i(n,[2,15],{24:G}),i(C,[2,30]),{22:[1,41]},i(C,[2,27]),i(C,[2,29])],defaultActions:{2:[2,1],6:[2,2]},parseError:o(function(S,e){if(e.recoverable)this.trace(S);else{var s=new Error(S);throw s.hash=e,s}},"parseError"),parse:o(function(S){var e=this,s=[0],a=[],h=[null],t=[],b=this.table,l="",j=0,se=0,ue=0,ge=2,re=1,de=t.slice.call(arguments,1),m=Object.create(this.lexer),R={yy:{}};for(var Q in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Q)&&(R.yy[Q]=this.yy[Q]);m.setInput(S,R.yy),R.yy.lexer=m,R.yy.parser=this,typeof m.yylloc>"u"&&(m.yylloc={});var V=m.yylloc;t.push(V);var pe=m.options&&m.options.ranges;typeof R.yy.parseError=="function"?this.parseError=R.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function ye(E){s.length=s.length-2*E,h.length=h.length-E,t.length=t.length-E}o(ye,"popStack");function ae(){var E;return E=a.pop()||m.lex()||re,typeof E!="number"&&(E instanceof Array&&(a=E,E=a.pop()),E=e.symbols_[E]||E),E}o(ae,"lex");for(var _,X,P,L,Ge,Y,B={},K,A,oe,z;;){if(P=s[s.length-1],this.defaultActions[P]?L=this.defaultActions[P]:((_===null||typeof _>"u")&&(_=ae()),L=b[P]&&b[P][_]),typeof L>"u"||!L.length||!L[0]){var q="";z=[];for(K in b[P])this.terminals_[K]&&K>ge&&z.push("'"+this.terminals_[K]+"'");m.showPosition?q="Parse error on line "+(j+1)+`: `+m.showPosition()+` Expecting `+z.join(", ")+", got '"+(this.terminals_[_]||_)+"'":q="Parse error on line "+(j+1)+": Unexpected "+(_==re?"end of input":"'"+(this.terminals_[_]||_)+"'"),this.parseError(q,{text:m.match,token:this.terminals_[_]||_,line:m.yylineno,loc:V,expected:z})}if(L[0]instanceof Array&&L.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+_);switch(L[0]){case 1:s.push(_),h.push(m.yytext),t.push(m.yylloc),s.push(L[1]),_=null,X?(_=X,X=null):(se=m.yyleng,l=m.yytext,j=m.yylineno,V=m.yylloc,ue>0);break;case 2:if(A=this.productions_[L[1]][1],B.$=h[h.length-A],B._$={first_line:t[t.length-(A||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(A||1)].first_column,last_column:t[t.length-1].last_column},pe&&(B._$.range=[t[t.length-(A||1)].range[0],t[t.length-1].range[1]]),Y=this.performAction.apply(B,[l,se,j,R.yy,L[1],h,t].concat(de)),typeof Y<"u")return Y;A&&(s=s.slice(0,-1*A*2),h=h.slice(0,-1*A),t=t.slice(0,-1*A)),s.push(this.productions_[L[1]][0]),h.push(B.$),t.push(B._$),oe=b[s[s.length-2]][s[s.length-1]],s.push(oe);break;case 3:return!0}}return!0},"parse")},$=function(){var S={EOF:1,parseError:o(function(e,s){if(this.yy.parser)this.yy.parser.parseError(e,s);else throw new Error(e)},"parseError"),setInput:o(function(e,s){return this.yy=s||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var e=this._input[0];this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e;var s=e.match(/(?:\r\n?|\n).*/g);return s?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:o(function(e){var s=e.length,a=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var h=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),a.length-1&&(this.yylineno-=a.length-1);var t=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:a?(a.length===h.length?this.yylloc.first_column:0)+h[h.length-a.length].length-a[0].length:this.yylloc.first_column-s},this.options.ranges&&(this.yylloc.range=[t[0],t[0]+this.yyleng-s]),this.yyleng=this.yytext.length,this},"unput"),more:o(function(){return this._more=!0,this},"more"),reject:o(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:o(function(e){this.unput(this.match.slice(e))},"less"),pastInput:o(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var e=this.pastInput(),s=new Array(e.length+1).join("-");return e+this.upcomingInput()+` diff --git a/assets/katex-SWYD7GD6-DZYxwJk4.js b/assets/katex-SWYD7GD6--uQSGgMc.js similarity index 99% rename from assets/katex-SWYD7GD6-DZYxwJk4.js rename to assets/katex-SWYD7GD6--uQSGgMc.js index 0e0a2c8e..f51d6d58 100644 --- a/assets/katex-SWYD7GD6-DZYxwJk4.js +++ b/assets/katex-SWYD7GD6--uQSGgMc.js @@ -1,4 +1,4 @@ -import{m as p}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var Y0,v0=(Y0=class{constructor(e,r,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=a}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new Y0(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}},p(Y0,"SourceLocation"),Y0),j0,k0=(j0=class{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new j0(r,v0.range(this,e))}},p(j0,"Token"),j0),_0,M=(_0=class{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+e,i,s,u=r&&r.loc;if(u&&u.start<=u.end){var h=u.lexer.input;i=u.start,s=u.end,i===h.length?a+=" at end of input: ":a+=" at position "+(i+1)+": ";var c=h.slice(i,s).replace(/[^]/g,"$&̲"),f;i>15?f="…"+h.slice(i-15,i):f=h.slice(0,i);var b;s+15":">","<":"<",'"':""","'":"'"},Y1=/[&><"']/g;function Lr(t){return String(t).replace(Y1,e=>X1[e])}p(Lr,"escape");var Pr=p(function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},"getBaseElem"),j1=p(function(t){var e=Pr(t);return e.type==="mathord"||e.type==="textord"||e.type==="atom"},"isCharacterBox"),_1=p(function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},"assert"),Z1=p(function(t){var e=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},"protocolFromUrl"),F={contains:G1,deflt:U1,escape:Lr,hyphenate:$1,getBaseElem:Pr,isCharacterBox:j1,protocolFromUrl:Z1},Ke={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:p(t=>"#"+t,"cliProcessor")},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:p((t,e)=>(e.push(t),e),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:p(t=>Math.max(0,t),"processor"),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:p(t=>Math.max(0,t),"processor"),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:p(t=>Math.max(0,t),"processor"),cli:"-e, --max-expand ",cliProcessor:p(t=>t==="Infinity"?1/0:parseInt(t),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};function Vr(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}p(Vr,"getDefaultValue");var ie,Vt=(ie=class{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in Ke)if(Ke.hasOwnProperty(r)){var a=Ke[r];this[r]=e[r]!==void 0?a.processor?a.processor(e[r]):e[r]:Vr(a)}}reportNonstrict(e,r,a){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,a)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new M("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),a);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,a){var i=this.strict;if(typeof i=="function")try{i=i(e,r,a)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=F.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}},p(ie,"Settings"),ie),ne,O0=(ne=class{constructor(e,r,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=a}sup(){return x0[K1[this.id]]}sub(){return x0[J1[this.id]]}fracNum(){return x0[Q1[this.id]]}fracDen(){return x0[ea[this.id]]}cramp(){return x0[ta[this.id]]}text(){return x0[ra[this.id]]}isTight(){return this.size>=2}},p(ne,"Style"),ne),Gt=0,Qe=1,ae=2,C0=3,Te=4,p0=5,xe=6,i0=7,x0=[new O0(Gt,0,!1),new O0(Qe,0,!0),new O0(ae,1,!1),new O0(C0,1,!0),new O0(Te,2,!1),new O0(p0,2,!0),new O0(xe,3,!1),new O0(i0,3,!0)],K1=[Te,p0,Te,p0,xe,i0,xe,i0],J1=[p0,p0,p0,p0,i0,i0,i0,i0],Q1=[ae,C0,Te,p0,xe,i0,xe,i0],ea=[C0,C0,p0,p0,i0,i0,i0,i0],ta=[Qe,Qe,C0,C0,p0,p0,i0,i0],ra=[Gt,Qe,ae,C0,ae,C0,ae,C0],R={DISPLAY:x0[Gt],TEXT:x0[ae],SCRIPT:x0[Te],SCRIPTSCRIPT:x0[xe]},Et=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Gr(t){for(var e=0;e=i[0]&&t<=i[1])return r.name}return null}p(Gr,"scriptFromCodepoint");var Je=[];Et.forEach(t=>t.blocks.forEach(e=>Je.push(...e)));function Ut(t){for(var e=0;e=Je[e]&&t<=Je[e+1])return!0;return!1}p(Ut,"supportedCodepoint");var re=80,aa=p(function(t,e){return"M95,"+(622+t+e)+` +import{m as p}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var Y0,v0=(Y0=class{constructor(e,r,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=a}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new Y0(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}},p(Y0,"SourceLocation"),Y0),j0,k0=(j0=class{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new j0(r,v0.range(this,e))}},p(j0,"Token"),j0),_0,M=(_0=class{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+e,i,s,u=r&&r.loc;if(u&&u.start<=u.end){var h=u.lexer.input;i=u.start,s=u.end,i===h.length?a+=" at end of input: ":a+=" at position "+(i+1)+": ";var c=h.slice(i,s).replace(/[^]/g,"$&̲"),f;i>15?f="…"+h.slice(i-15,i):f=h.slice(0,i);var b;s+15":">","<":"<",'"':""","'":"'"},Y1=/[&><"']/g;function Lr(t){return String(t).replace(Y1,e=>X1[e])}p(Lr,"escape");var Pr=p(function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},"getBaseElem"),j1=p(function(t){var e=Pr(t);return e.type==="mathord"||e.type==="textord"||e.type==="atom"},"isCharacterBox"),_1=p(function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},"assert"),Z1=p(function(t){var e=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return e?e[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(e[1])?null:e[1].toLowerCase():"_relative"},"protocolFromUrl"),F={contains:G1,deflt:U1,escape:Lr,hyphenate:$1,getBaseElem:Pr,isCharacterBox:j1,protocolFromUrl:Z1},Ke={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:p(t=>"#"+t,"cliProcessor")},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:p((t,e)=>(e.push(t),e),"cliProcessor")},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:p(t=>Math.max(0,t),"processor"),cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:p(t=>Math.max(0,t),"processor"),cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:p(t=>Math.max(0,t),"processor"),cli:"-e, --max-expand ",cliProcessor:p(t=>t==="Infinity"?1/0:parseInt(t),"cliProcessor")},globalGroup:{type:"boolean",cli:!1}};function Vr(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}p(Vr,"getDefaultValue");var ie,Vt=(ie=class{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in Ke)if(Ke.hasOwnProperty(r)){var a=Ke[r];this[r]=e[r]!==void 0?a.processor?a.processor(e[r]):e[r]:Vr(a)}}reportNonstrict(e,r,a){var i=this.strict;if(typeof i=="function"&&(i=i(e,r,a)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new M("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),a);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,a){var i=this.strict;if(typeof i=="function")try{i=i(e,r,a)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=F.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}},p(ie,"Settings"),ie),ne,O0=(ne=class{constructor(e,r,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=a}sup(){return x0[K1[this.id]]}sub(){return x0[J1[this.id]]}fracNum(){return x0[Q1[this.id]]}fracDen(){return x0[ea[this.id]]}cramp(){return x0[ta[this.id]]}text(){return x0[ra[this.id]]}isTight(){return this.size>=2}},p(ne,"Style"),ne),Gt=0,Qe=1,ae=2,C0=3,Te=4,p0=5,xe=6,i0=7,x0=[new O0(Gt,0,!1),new O0(Qe,0,!0),new O0(ae,1,!1),new O0(C0,1,!0),new O0(Te,2,!1),new O0(p0,2,!0),new O0(xe,3,!1),new O0(i0,3,!0)],K1=[Te,p0,Te,p0,xe,i0,xe,i0],J1=[p0,p0,p0,p0,i0,i0,i0,i0],Q1=[ae,C0,Te,p0,xe,i0,xe,i0],ea=[C0,C0,p0,p0,i0,i0,i0,i0],ta=[Qe,Qe,C0,C0,p0,p0,i0,i0],ra=[Gt,Qe,ae,C0,ae,C0,ae,C0],R={DISPLAY:x0[Gt],TEXT:x0[ae],SCRIPT:x0[Te],SCRIPTSCRIPT:x0[xe]},Et=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Gr(t){for(var e=0;e=i[0]&&t<=i[1])return r.name}return null}p(Gr,"scriptFromCodepoint");var Je=[];Et.forEach(t=>t.blocks.forEach(e=>Je.push(...e)));function Ut(t){for(var e=0;e=Je[e]&&t<=Je[e+1])return!0;return!1}p(Ut,"supportedCodepoint");var re=80,aa=p(function(t,e){return"M95,"+(622+t+e)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 diff --git a/assets/mermaid.esm.min-DnxZBvzk.js b/assets/mermaid.esm.min-Bq5H-fqC.js similarity index 99% rename from assets/mermaid.esm.min-DnxZBvzk.js rename to assets/mermaid.esm.min-Bq5H-fqC.js index 079093a1..a97c3d06 100644 --- a/assets/mermaid.esm.min-DnxZBvzk.js +++ b/assets/mermaid.esm.min-Bq5H-fqC.js @@ -1,7 +1,7 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/katex-SWYD7GD6-DZYxwJk4.js","assets/app-DQKFxOg7.js","assets/dagre-2P6XN26F-CNdnaWyC.js","assets/chunk-FASC7IG4-Cf3UQ1W4.js","assets/chunk-ZN7TASNU-DRzcILnV.js","assets/chunk-5ZJXQJOJ-DIZvkofk.js","assets/c4Diagram-AKI3UION-mbP9p-CA.js","assets/chunk-BERL53GW-CPe116Kq.js","assets/flowDiagram-INP2BB3V-BDN-Qq5Z.js","assets/chunk-4YMK7POB-1jnwl01V.js","assets/erDiagram-SZV2UBQT-GmnSGfYe.js","assets/gitGraphDiagram-6HF727YA-B4uP3NYa.js","assets/chunk-VSLJSFIP-C769YIqn.js","assets/chunk-4KE642ED-DNyS68x8.js","assets/gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js","assets/ganttDiagram-547IIDY5-ZkMggwVG.js","assets/infoDiagram-A4XEPD65-Dz3r-dhe.js","assets/pieDiagram-XPKEEGBI-myoNvJLr.js","assets/quadrantDiagram-QS23HHJP-pZjrxgY7.js","assets/xychartDiagram-MWHWHLMU-DkqpAe_J.js","assets/requirementDiagram-5WTT3577-CJ34XcJ8.js","assets/sequenceDiagram-7SUASMRF-B7d5k5uv.js","assets/classDiagram-LGTRVITY-uCUyMHA9.js","assets/chunk-UBDM6ZOM-2OqPPdFm.js","assets/classDiagram-v2-UI22WKGF-uCUyMHA9.js","assets/stateDiagram-SUF43ZVU-DDaxo5HN.js","assets/chunk-7H3BNXSV-Bzj2CIfR.js","assets/stateDiagram-v2-DVB4EDRD-Burek0lL.js","assets/journeyDiagram-5ML6LF3B-TYBVFke4.js","assets/timeline-definition-QPOBMAB2-BKUeN9AK.js","assets/mindmap-definition-PE66ZM2U-C--zjrRT.js","assets/chunk-PWCSEZZ4-BDfDPSKS.js","assets/kanban-definition-EGOKAUOG-B-dvYgH1.js","assets/sankeyDiagram-HGVHE3RK-Duct998W.js","assets/diagram-D2J2JSCM-B7vOaT1V.js","assets/blockDiagram-MYUW6R5Q-QBsgXq_V.js","assets/architectureDiagram-QTIGHTN5-CaU-lPZ7.js"])))=>i.map(i=>d[i]); -var q_=Object.defineProperty;var Md=t=>{throw TypeError(t)};var j_=(t,e,r)=>e in t?q_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var vt=(t,e,r)=>j_(t,typeof e!="symbol"?e+"":e,r),W_=(t,e,r)=>e.has(t)||Md("Cannot "+r);var Bd=(t,e,r)=>e.has(t)?Md("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var yn=(t,e,r)=>(W_(t,e,"access private method"),r);import{e as _t}from"./app-DQKFxOg7.js";var Ad="11.4.0",U_=Object.create,ls=Object.defineProperty,H_=Object.getOwnPropertyDescriptor,Y_=Object.getOwnPropertyNames,V_=Object.getPrototypeOf,G_=Object.prototype.hasOwnProperty,l=(t,e)=>ls(t,"name",{value:e,configurable:!0}),zr=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),X_=(t,e)=>{for(var r in e)ls(t,r,{get:e[r],enumerable:!0})},Ap=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Y_(e))!G_.call(t,n)&&n!==r&&ls(t,n,{get:()=>e[n],enumerable:!(i=H_(e,n))||i.enumerable});return t},t4=(t,e,r)=>(Ap(t,e,"default"),r),ma=(t,e,r)=>(r=t!=null?U_(V_(t)):{},Ap(ls(r,"default",{value:t,enumerable:!0}),t)),Z_=zr((t,e)=>{(function(r,i){typeof t=="object"&&typeof e<"u"?e.exports=i():typeof define=="function"&&define.amd?define(i):(r=typeof globalThis<"u"?globalThis:r||self).dayjs=i()})(t,function(){var r=1e3,i=6e4,n=36e5,a="millisecond",s="second",o="minute",h="hour",c="day",u="week",p="month",d="quarter",f="year",g="date",m="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:l(function(M){var F=["th","st","nd","rd"],B=M%100;return"["+M+(F[(B-20)%10]||F[B]||F[0])+"]"},"ordinal")},C=l(function(M,F,B){var D=String(M);return!D||D.length>=F?M:""+Array(F+1-D.length).join(B)+M},"m"),v={s:C,z:l(function(M){var F=-M.utcOffset(),B=Math.abs(F),D=Math.floor(B/60),A=B%60;return(F<=0?"+":"-")+C(D,2,"0")+":"+C(A,2,"0")},"z"),m:l(function M(F,B){if(F.date()1)return M(U[0])}else{var lt=F.name;_[lt]=F,A=lt}return!D&&A&&(w=A),A||!D&&w},"t"),E=l(function(M,F){if(O(M))return M.clone();var B=typeof F=="object"?F:{};return B.date=M,B.args=arguments,new N(B)},"O"),T=v;T.l=P,T.i=O,T.w=function(M,F){return E(M,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var N=function(){function M(B){this.$L=P(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[$]=!0}l(M,"M");var F=M.prototype;return F.parse=function(B){this.$d=function(D){var A=D.date,z=D.utc;if(A===null)return new Date(NaN);if(T.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var U=A.match(x);if(U){var lt=U[2]-1||0,ht=(U[7]||"0").substring(0,3);return z?new Date(Date.UTC(U[1],lt,U[3]||1,U[4]||0,U[5]||0,U[6]||0,ht)):new Date(U[1],lt,U[3]||1,U[4]||0,U[5]||0,U[6]||0,ht)}}return new Date(A)}(B),this.init()},F.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},F.$utils=function(){return T},F.isValid=function(){return this.$d.toString()!==m},F.isSame=function(B,D){var A=E(B);return this.startOf(D)<=A&&A<=this.endOf(D)},F.isAfter=function(B,D){return E(B){(function(r,i){typeof t=="object"&&typeof e<"u"?e.exports=i():typeof define=="function"&&define.amd?define(i):(r=typeof globalThis<"u"?globalThis:r||self,r.DOMPurify=i())})(t,function(){let{entries:r,setPrototypeOf:i,isFrozen:n,getPrototypeOf:a,getOwnPropertyDescriptor:s}=Object,{freeze:o,seal:h,create:c}=Object,{apply:u,construct:p}=typeof Reflect<"u"&&Reflect;o||(o=l(function(st){return st},"freeze")),h||(h=l(function(st){return st},"seal")),u||(u=l(function(st,tt,gt){return st.apply(tt,gt)},"apply")),p||(p=l(function(st,tt){return new st(...tt)},"construct"));let d=O(Array.prototype.forEach),f=O(Array.prototype.pop),g=O(Array.prototype.push),m=O(String.prototype.toLowerCase),x=O(String.prototype.toString),y=O(String.prototype.match),b=O(String.prototype.replace),C=O(String.prototype.indexOf),v=O(String.prototype.trim),w=O(Object.prototype.hasOwnProperty),_=O(RegExp.prototype.test),$=P(TypeError);function O(st){return function(tt){for(var gt=arguments.length,dt=new Array(gt>1?gt-1:0),te=1;te2&&arguments[2]!==void 0?arguments[2]:m;i&&i(st,null);let dt=tt.length;for(;dt--;){let te=tt[dt];if(typeof te=="string"){let Me=gt(te);Me!==te&&(n(tt)||(tt[dt]=Me),te=Me)}st[te]=!0}return st}l(E,"addToSet");function T(st){for(let tt=0;tt/gm),Yt=h(/\${[\w\W]*}/gm),oe=h(/^data-[\-\w.\u00B7-\uFFFF]/),j=h(/^aria-[\-\w]+$/),X=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ot=h(/^(?:\w+script|data):/i),R=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Tt=h(/^html$/i),kt=h(/^[a-z][.\w]*(-[.\w]+)+$/i);var Vt=Object.freeze({__proto__:null,MUSTACHE_EXPR:wt,ERB_EXPR:Jt,TMPLIT_EXPR:Yt,DATA_ATTR:oe,ARIA_ATTR:j,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:ot,ATTR_WHITESPACE:R,DOCTYPE_NAME:Tt,CUSTOM_ELEMENT:kt});let Dt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Re=l(function(){return typeof window>"u"?null:window},"getGlobal"),Ea=l(function(st,tt){if(typeof st!="object"||typeof st.createPolicy!="function")return null;let gt=null,dt="data-tt-policy-suffix";tt&&tt.hasAttribute(dt)&&(gt=tt.getAttribute(dt));let te="dompurify"+(gt?"#"+gt:"");try{return st.createPolicy(te,{createHTML(Me){return Me},createScriptURL(Me){return Me}})}catch{return console.warn("TrustedTypes policy "+te+" could not be created."),null}},"_createTrustedTypesPolicy");function Zs(){let st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Re(),tt=l(k=>Zs(k),"DOMPurify");if(tt.version="3.1.6",tt.removed=[],!st||!st.document||st.document.nodeType!==Dt.document)return tt.isSupported=!1,tt;let{document:gt}=st,dt=gt,te=dt.currentScript,{DocumentFragment:Me,HTMLTemplateElement:m_,Node:Ks,Element:td,NodeFilter:un,NamedNodeMap:y_=st.NamedNodeMap||st.MozNamedAttrMap,HTMLFormElement:x_,DOMParser:b_,trustedTypes:Da}=st,dn=td.prototype,C_=L(dn,"cloneNode"),k_=L(dn,"remove"),w_=L(dn,"nextSibling"),__=L(dn,"childNodes"),Oa=L(dn,"parentNode");if(typeof m_=="function"){let k=gt.createElement("template");k.content&&k.content.ownerDocument&&(gt=k.content.ownerDocument)}let ee,pn="",{implementation:Qs,createNodeIterator:v_,createDocumentFragment:$_,getElementsByTagName:S_}=gt,{importNode:T_}=dt,Be={};tt.isSupported=typeof r=="function"&&typeof Oa=="function"&&Qs&&Qs.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Js,ERB_EXPR:tl,TMPLIT_EXPR:el,DATA_ATTR:M_,ARIA_ATTR:B_,IS_SCRIPT_OR_DATA:A_,ATTR_WHITESPACE:ed,CUSTOM_ELEMENT:L_}=Vt,{IS_ALLOWED_URI:rd}=Vt,It=null,id=E({},[...M,...F,...B,...A,...U]),Nt=null,nd=E({},[...lt,...ht,...bt,...Ct]),Bt=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}})),fn=null,rl=null,ad=!0,il=!0,od=!1,sd=!0,Xr=!1,nl=!0,mr=!1,al=!1,ol=!1,Zr=!1,Ia=!1,Na=!1,ld=!0,hd=!1,F_="user-content-",sl=!0,gn=!1,Kr={},Qr=null,cd=E({},["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"]),ud=null,dd=E({},["audio","video","img","source","image","track"]),ll=null,pd=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ra="http://www.w3.org/1998/Math/MathML",Pa="http://www.w3.org/2000/svg",Pe="http://www.w3.org/1999/xhtml",Jr=Pe,hl=!1,cl=null,E_=E({},[Ra,Pa,Pe],x),mn=null,D_=["application/xhtml+xml","text/html"],O_="text/html",Rt=null,ti=null,I_=gt.createElement("form"),fd=l(function(k){return k instanceof RegExp||k instanceof Function},"isRegexOrFunction"),ul=l(function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ti&&ti===k)){if((!k||typeof k!="object")&&(k={}),k=N(k),mn=D_.indexOf(k.PARSER_MEDIA_TYPE)===-1?O_:k.PARSER_MEDIA_TYPE,Rt=mn==="application/xhtml+xml"?x:m,It=w(k,"ALLOWED_TAGS")?E({},k.ALLOWED_TAGS,Rt):id,Nt=w(k,"ALLOWED_ATTR")?E({},k.ALLOWED_ATTR,Rt):nd,cl=w(k,"ALLOWED_NAMESPACES")?E({},k.ALLOWED_NAMESPACES,x):E_,ll=w(k,"ADD_URI_SAFE_ATTR")?E(N(pd),k.ADD_URI_SAFE_ATTR,Rt):pd,ud=w(k,"ADD_DATA_URI_TAGS")?E(N(dd),k.ADD_DATA_URI_TAGS,Rt):dd,Qr=w(k,"FORBID_CONTENTS")?E({},k.FORBID_CONTENTS,Rt):cd,fn=w(k,"FORBID_TAGS")?E({},k.FORBID_TAGS,Rt):{},rl=w(k,"FORBID_ATTR")?E({},k.FORBID_ATTR,Rt):{},Kr=w(k,"USE_PROFILES")?k.USE_PROFILES:!1,ad=k.ALLOW_ARIA_ATTR!==!1,il=k.ALLOW_DATA_ATTR!==!1,od=k.ALLOW_UNKNOWN_PROTOCOLS||!1,sd=k.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Xr=k.SAFE_FOR_TEMPLATES||!1,nl=k.SAFE_FOR_XML!==!1,mr=k.WHOLE_DOCUMENT||!1,Zr=k.RETURN_DOM||!1,Ia=k.RETURN_DOM_FRAGMENT||!1,Na=k.RETURN_TRUSTED_TYPE||!1,ol=k.FORCE_BODY||!1,ld=k.SANITIZE_DOM!==!1,hd=k.SANITIZE_NAMED_PROPS||!1,sl=k.KEEP_CONTENT!==!1,gn=k.IN_PLACE||!1,rd=k.ALLOWED_URI_REGEXP||X,Jr=k.NAMESPACE||Pe,Bt=k.CUSTOM_ELEMENT_HANDLING||{},k.CUSTOM_ELEMENT_HANDLING&&fd(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Bt.tagNameCheck=k.CUSTOM_ELEMENT_HANDLING.tagNameCheck),k.CUSTOM_ELEMENT_HANDLING&&fd(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Bt.attributeNameCheck=k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),k.CUSTOM_ELEMENT_HANDLING&&typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Bt.allowCustomizedBuiltInElements=k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Xr&&(il=!1),Ia&&(Zr=!0),Kr&&(It=E({},U),Nt=[],Kr.html===!0&&(E(It,M),E(Nt,lt)),Kr.svg===!0&&(E(It,F),E(Nt,ht),E(Nt,Ct)),Kr.svgFilters===!0&&(E(It,B),E(Nt,ht),E(Nt,Ct)),Kr.mathMl===!0&&(E(It,A),E(Nt,bt),E(Nt,Ct))),k.ADD_TAGS&&(It===id&&(It=N(It)),E(It,k.ADD_TAGS,Rt)),k.ADD_ATTR&&(Nt===nd&&(Nt=N(Nt)),E(Nt,k.ADD_ATTR,Rt)),k.ADD_URI_SAFE_ATTR&&E(ll,k.ADD_URI_SAFE_ATTR,Rt),k.FORBID_CONTENTS&&(Qr===cd&&(Qr=N(Qr)),E(Qr,k.FORBID_CONTENTS,Rt)),sl&&(It["#text"]=!0),mr&&E(It,["html","head","body"]),It.table&&(E(It,["tbody"]),delete fn.tbody),k.TRUSTED_TYPES_POLICY){if(typeof k.TRUSTED_TYPES_POLICY.createHTML!="function")throw $('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof k.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw $('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ee=k.TRUSTED_TYPES_POLICY,pn=ee.createHTML("")}else ee===void 0&&(ee=Ea(Da,te)),ee!==null&&typeof pn=="string"&&(pn=ee.createHTML(""));o&&o(k),ti=k}},"_parseConfig"),gd=E({},["mi","mo","mn","ms","mtext"]),md=E({},["foreignobject","annotation-xml"]),N_=E({},["title","style","font","a","script"]),yd=E({},[...F,...B,...D]),xd=E({},[...A,...z]),R_=l(function(k){let H=Oa(k);(!H||!H.tagName)&&(H={namespaceURI:Jr,tagName:"template"});let W=m(k.tagName),yt=m(H.tagName);return cl[k.namespaceURI]?k.namespaceURI===Pa?H.namespaceURI===Pe?W==="svg":H.namespaceURI===Ra?W==="svg"&&(yt==="annotation-xml"||gd[yt]):!!yd[W]:k.namespaceURI===Ra?H.namespaceURI===Pe?W==="math":H.namespaceURI===Pa?W==="math"&&md[yt]:!!xd[W]:k.namespaceURI===Pe?H.namespaceURI===Pa&&!md[yt]||H.namespaceURI===Ra&&!gd[yt]?!1:!xd[W]&&(N_[W]||!yd[W]):!!(mn==="application/xhtml+xml"&&cl[k.namespaceURI]):!1},"_checkValidNamespace"),yr=l(function(k){g(tt.removed,{element:k});try{Oa(k).removeChild(k)}catch{k_(k)}},"_forceRemove"),za=l(function(k,H){try{g(tt.removed,{attribute:H.getAttributeNode(k),from:H})}catch{g(tt.removed,{attribute:null,from:H})}if(H.removeAttribute(k),k==="is"&&!Nt[k])if(Zr||Ia)try{yr(H)}catch{}else try{H.setAttribute(k,"")}catch{}},"_removeAttribute"),bd=l(function(k){let H=null,W=null;if(ol)k=""+k;else{let Lt=y(k,/^[\r\n\t ]+/);W=Lt&&Lt[0]}mn==="application/xhtml+xml"&&Jr===Pe&&(k=''+k+"");let yt=ee?ee.createHTML(k):k;if(Jr===Pe)try{H=new b_().parseFromString(yt,mn)}catch{}if(!H||!H.documentElement){H=Qs.createDocument(Jr,"template",null);try{H.documentElement.innerHTML=hl?pn:yt}catch{}}let zt=H.body||H.documentElement;return k&&W&&zt.insertBefore(gt.createTextNode(W),zt.childNodes[0]||null),Jr===Pe?S_.call(H,mr?"html":"body")[0]:mr?H.documentElement:zt},"_initDocument"),Cd=l(function(k){return v_.call(k.ownerDocument||k,k,un.SHOW_ELEMENT|un.SHOW_COMMENT|un.SHOW_TEXT|un.SHOW_PROCESSING_INSTRUCTION|un.SHOW_CDATA_SECTION,null)},"_createNodeIterator"),kd=l(function(k){return k instanceof x_&&(typeof k.nodeName!="string"||typeof k.textContent!="string"||typeof k.removeChild!="function"||!(k.attributes instanceof y_)||typeof k.removeAttribute!="function"||typeof k.setAttribute!="function"||typeof k.namespaceURI!="string"||typeof k.insertBefore!="function"||typeof k.hasChildNodes!="function")},"_isClobbered"),wd=l(function(k){return typeof Ks=="function"&&k instanceof Ks},"_isNode"),ze=l(function(k,H,W){Be[k]&&d(Be[k],yt=>{yt.call(tt,H,W,ti)})},"_executeHook"),_d=l(function(k){let H=null;if(ze("beforeSanitizeElements",k,null),kd(k))return yr(k),!0;let W=Rt(k.nodeName);if(ze("uponSanitizeElement",k,{tagName:W,allowedTags:It}),k.hasChildNodes()&&!wd(k.firstElementChild)&&_(/<[/\w]/g,k.innerHTML)&&_(/<[/\w]/g,k.textContent)||k.nodeType===Dt.progressingInstruction||nl&&k.nodeType===Dt.comment&&_(/<[/\w]/g,k.data))return yr(k),!0;if(!It[W]||fn[W]){if(!fn[W]&&$d(W)&&(Bt.tagNameCheck instanceof RegExp&&_(Bt.tagNameCheck,W)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(W)))return!1;if(sl&&!Qr[W]){let yt=Oa(k)||k.parentNode,zt=__(k)||k.childNodes;if(zt&&yt){let Lt=zt.length;for(let qe=Lt-1;qe>=0;--qe){let fe=C_(zt[qe],!0);fe.__removalCount=(k.__removalCount||0)+1,yt.insertBefore(fe,w_(k))}}}return yr(k),!0}return k instanceof td&&!R_(k)||(W==="noscript"||W==="noembed"||W==="noframes")&&_(/<\/no(script|embed|frames)/i,k.innerHTML)?(yr(k),!0):(Xr&&k.nodeType===Dt.text&&(H=k.textContent,d([Js,tl,el],yt=>{H=b(H,yt," ")}),k.textContent!==H&&(g(tt.removed,{element:k.cloneNode()}),k.textContent=H)),ze("afterSanitizeElements",k,null),!1)},"_sanitizeElements"),vd=l(function(k,H,W){if(ld&&(H==="id"||H==="name")&&(W in gt||W in I_))return!1;if(!(il&&!rl[H]&&_(M_,H))&&!(ad&&_(B_,H))){if(!Nt[H]||rl[H]){if(!($d(k)&&(Bt.tagNameCheck instanceof RegExp&&_(Bt.tagNameCheck,k)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(k))&&(Bt.attributeNameCheck instanceof RegExp&&_(Bt.attributeNameCheck,H)||Bt.attributeNameCheck instanceof Function&&Bt.attributeNameCheck(H))||H==="is"&&Bt.allowCustomizedBuiltInElements&&(Bt.tagNameCheck instanceof RegExp&&_(Bt.tagNameCheck,W)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(W))))return!1}else if(!ll[H]&&!_(rd,b(W,ed,""))&&!((H==="src"||H==="xlink:href"||H==="href")&&k!=="script"&&C(W,"data:")===0&&ud[k])&&!(od&&!_(A_,b(W,ed,"")))&&W)return!1}return!0},"_isValidAttribute"),$d=l(function(k){return k!=="annotation-xml"&&y(k,L_)},"_isBasicCustomElement"),Sd=l(function(k){ze("beforeSanitizeAttributes",k,null);let{attributes:H}=k;if(!H)return;let W={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Nt},yt=H.length;for(;yt--;){let zt=H[yt],{name:Lt,namespaceURI:qe,value:fe}=zt,Ae=Rt(Lt),re=Lt==="value"?fe:v(fe);if(W.attrName=Ae,W.attrValue=re,W.keepAttr=!0,W.forceKeepAttr=void 0,ze("uponSanitizeAttribute",k,W),re=W.attrValue,nl&&_(/((--!?|])>)|<\/(style|title)/i,re)){za(Lt,k);continue}if(W.forceKeepAttr||(za(Lt,k),!W.keepAttr))continue;if(!sd&&_(/\/>/i,re)){za(Lt,k);continue}Xr&&d([Js,tl,el],z_=>{re=b(re,z_," ")});let Td=Rt(k.nodeName);if(vd(Td,Ae,re)){if(hd&&(Ae==="id"||Ae==="name")&&(za(Lt,k),re=F_+re),ee&&typeof Da=="object"&&typeof Da.getAttributeType=="function"&&!qe)switch(Da.getAttributeType(Td,Ae)){case"TrustedHTML":{re=ee.createHTML(re);break}case"TrustedScriptURL":{re=ee.createScriptURL(re);break}}try{qe?k.setAttributeNS(qe,Lt,re):k.setAttribute(Lt,re),kd(k)?yr(k):f(tt.removed)}catch{}}}ze("afterSanitizeAttributes",k,null)},"_sanitizeAttributes"),P_=l(function k(H){let W=null,yt=Cd(H);for(ze("beforeSanitizeShadowDOM",H,null);W=yt.nextNode();)ze("uponSanitizeShadowNode",W,null),!_d(W)&&(W.content instanceof Me&&k(W.content),Sd(W));ze("afterSanitizeShadowDOM",H,null)},"_sanitizeShadowDOM");return tt.sanitize=function(k){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=null,yt=null,zt=null,Lt=null;if(hl=!k,hl&&(k=""),typeof k!="string"&&!wd(k))if(typeof k.toString=="function"){if(k=k.toString(),typeof k!="string")throw $("dirty is not a string, aborting")}else throw $("toString is not a function");if(!tt.isSupported)return k;if(al||ul(H),tt.removed=[],typeof k=="string"&&(gn=!1),gn){if(k.nodeName){let Ae=Rt(k.nodeName);if(!It[Ae]||fn[Ae])throw $("root node is forbidden and cannot be sanitized in-place")}}else if(k instanceof Ks)W=bd(""),yt=W.ownerDocument.importNode(k,!0),yt.nodeType===Dt.element&&yt.nodeName==="BODY"||yt.nodeName==="HTML"?W=yt:W.appendChild(yt);else{if(!Zr&&!Xr&&!mr&&k.indexOf("<")===-1)return ee&&Na?ee.createHTML(k):k;if(W=bd(k),!W)return Zr?null:Na?pn:""}W&&ol&&yr(W.firstChild);let qe=Cd(gn?k:W);for(;zt=qe.nextNode();)_d(zt)||(zt.content instanceof Me&&P_(zt.content),Sd(zt));if(gn)return k;if(Zr){if(Ia)for(Lt=$_.call(W.ownerDocument);W.firstChild;)Lt.appendChild(W.firstChild);else Lt=W;return(Nt.shadowroot||Nt.shadowrootmode)&&(Lt=T_.call(dt,Lt,!0)),Lt}let fe=mr?W.outerHTML:W.innerHTML;return mr&&It["!doctype"]&&W.ownerDocument&&W.ownerDocument.doctype&&W.ownerDocument.doctype.name&&_(Tt,W.ownerDocument.doctype.name)&&(fe=" +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/katex-SWYD7GD6--uQSGgMc.js","assets/app-3oaVMpRs.js","assets/dagre-2P6XN26F-RlaDZ2ZP.js","assets/chunk-FASC7IG4-D006d5mv.js","assets/chunk-ZN7TASNU-CG0HzbXE.js","assets/chunk-5ZJXQJOJ-CLUFfhem.js","assets/c4Diagram-AKI3UION-BTYE-EgU.js","assets/chunk-BERL53GW-CnPewdp0.js","assets/flowDiagram-INP2BB3V-DhvBIwO4.js","assets/chunk-4YMK7POB-jWkf0GjT.js","assets/erDiagram-SZV2UBQT-CjIuZmDH.js","assets/gitGraphDiagram-6HF727YA-BvE4YJEN.js","assets/chunk-VSLJSFIP-SOmXOiGP.js","assets/chunk-4KE642ED-DF3NZIv7.js","assets/gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js","assets/ganttDiagram-547IIDY5-BwT6k_6j.js","assets/infoDiagram-A4XEPD65-Dq9v5deA.js","assets/pieDiagram-XPKEEGBI-u-lQA-ja.js","assets/quadrantDiagram-QS23HHJP-D8y1EWcf.js","assets/xychartDiagram-MWHWHLMU-DLhXyo9i.js","assets/requirementDiagram-5WTT3577-DzQTgrX3.js","assets/sequenceDiagram-7SUASMRF-D-m-Zysl.js","assets/classDiagram-LGTRVITY-njouX_e9.js","assets/chunk-UBDM6ZOM-Ds8YQakE.js","assets/classDiagram-v2-UI22WKGF-njouX_e9.js","assets/stateDiagram-SUF43ZVU-bU0rojpS.js","assets/chunk-7H3BNXSV-oVg3sKqn.js","assets/stateDiagram-v2-DVB4EDRD-DKpk7Koi.js","assets/journeyDiagram-5ML6LF3B-CkpgwWmY.js","assets/timeline-definition-QPOBMAB2-XvDspPyg.js","assets/mindmap-definition-PE66ZM2U-Dm4I9RRj.js","assets/chunk-PWCSEZZ4-BMVq3ufo.js","assets/kanban-definition-EGOKAUOG-CnpypVV5.js","assets/sankeyDiagram-HGVHE3RK-BHM_B7TP.js","assets/diagram-D2J2JSCM-Mepf3JVW.js","assets/blockDiagram-MYUW6R5Q-Dp3_LaDK.js","assets/architectureDiagram-QTIGHTN5-CzjpVlhi.js"])))=>i.map(i=>d[i]); +var q_=Object.defineProperty;var Md=t=>{throw TypeError(t)};var j_=(t,e,r)=>e in t?q_(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var vt=(t,e,r)=>j_(t,typeof e!="symbol"?e+"":e,r),W_=(t,e,r)=>e.has(t)||Md("Cannot "+r);var Bd=(t,e,r)=>e.has(t)?Md("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var yn=(t,e,r)=>(W_(t,e,"access private method"),r);import{e as _t}from"./app-3oaVMpRs.js";var Ad="11.4.0",U_=Object.create,ls=Object.defineProperty,H_=Object.getOwnPropertyDescriptor,Y_=Object.getOwnPropertyNames,V_=Object.getPrototypeOf,G_=Object.prototype.hasOwnProperty,l=(t,e)=>ls(t,"name",{value:e,configurable:!0}),zr=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),X_=(t,e)=>{for(var r in e)ls(t,r,{get:e[r],enumerable:!0})},Ap=(t,e,r,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Y_(e))!G_.call(t,n)&&n!==r&&ls(t,n,{get:()=>e[n],enumerable:!(i=H_(e,n))||i.enumerable});return t},t4=(t,e,r)=>(Ap(t,e,"default"),r),ma=(t,e,r)=>(r=t!=null?U_(V_(t)):{},Ap(ls(r,"default",{value:t,enumerable:!0}),t)),Z_=zr((t,e)=>{(function(r,i){typeof t=="object"&&typeof e<"u"?e.exports=i():typeof define=="function"&&define.amd?define(i):(r=typeof globalThis<"u"?globalThis:r||self).dayjs=i()})(t,function(){var r=1e3,i=6e4,n=36e5,a="millisecond",s="second",o="minute",h="hour",c="day",u="week",p="month",d="quarter",f="year",g="date",m="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:l(function(M){var F=["th","st","nd","rd"],B=M%100;return"["+M+(F[(B-20)%10]||F[B]||F[0])+"]"},"ordinal")},C=l(function(M,F,B){var D=String(M);return!D||D.length>=F?M:""+Array(F+1-D.length).join(B)+M},"m"),v={s:C,z:l(function(M){var F=-M.utcOffset(),B=Math.abs(F),D=Math.floor(B/60),A=B%60;return(F<=0?"+":"-")+C(D,2,"0")+":"+C(A,2,"0")},"z"),m:l(function M(F,B){if(F.date()1)return M(U[0])}else{var lt=F.name;_[lt]=F,A=lt}return!D&&A&&(w=A),A||!D&&w},"t"),E=l(function(M,F){if(O(M))return M.clone();var B=typeof F=="object"?F:{};return B.date=M,B.args=arguments,new N(B)},"O"),T=v;T.l=P,T.i=O,T.w=function(M,F){return E(M,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var N=function(){function M(B){this.$L=P(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[$]=!0}l(M,"M");var F=M.prototype;return F.parse=function(B){this.$d=function(D){var A=D.date,z=D.utc;if(A===null)return new Date(NaN);if(T.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var U=A.match(x);if(U){var lt=U[2]-1||0,ht=(U[7]||"0").substring(0,3);return z?new Date(Date.UTC(U[1],lt,U[3]||1,U[4]||0,U[5]||0,U[6]||0,ht)):new Date(U[1],lt,U[3]||1,U[4]||0,U[5]||0,U[6]||0,ht)}}return new Date(A)}(B),this.init()},F.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},F.$utils=function(){return T},F.isValid=function(){return this.$d.toString()!==m},F.isSame=function(B,D){var A=E(B);return this.startOf(D)<=A&&A<=this.endOf(D)},F.isAfter=function(B,D){return E(B){(function(r,i){typeof t=="object"&&typeof e<"u"?e.exports=i():typeof define=="function"&&define.amd?define(i):(r=typeof globalThis<"u"?globalThis:r||self,r.DOMPurify=i())})(t,function(){let{entries:r,setPrototypeOf:i,isFrozen:n,getPrototypeOf:a,getOwnPropertyDescriptor:s}=Object,{freeze:o,seal:h,create:c}=Object,{apply:u,construct:p}=typeof Reflect<"u"&&Reflect;o||(o=l(function(st){return st},"freeze")),h||(h=l(function(st){return st},"seal")),u||(u=l(function(st,tt,gt){return st.apply(tt,gt)},"apply")),p||(p=l(function(st,tt){return new st(...tt)},"construct"));let d=O(Array.prototype.forEach),f=O(Array.prototype.pop),g=O(Array.prototype.push),m=O(String.prototype.toLowerCase),x=O(String.prototype.toString),y=O(String.prototype.match),b=O(String.prototype.replace),C=O(String.prototype.indexOf),v=O(String.prototype.trim),w=O(Object.prototype.hasOwnProperty),_=O(RegExp.prototype.test),$=P(TypeError);function O(st){return function(tt){for(var gt=arguments.length,dt=new Array(gt>1?gt-1:0),te=1;te2&&arguments[2]!==void 0?arguments[2]:m;i&&i(st,null);let dt=tt.length;for(;dt--;){let te=tt[dt];if(typeof te=="string"){let Me=gt(te);Me!==te&&(n(tt)||(tt[dt]=Me),te=Me)}st[te]=!0}return st}l(E,"addToSet");function T(st){for(let tt=0;tt/gm),Yt=h(/\${[\w\W]*}/gm),oe=h(/^data-[\-\w.\u00B7-\uFFFF]/),j=h(/^aria-[\-\w]+$/),X=h(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ot=h(/^(?:\w+script|data):/i),R=h(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Tt=h(/^html$/i),kt=h(/^[a-z][.\w]*(-[.\w]+)+$/i);var Vt=Object.freeze({__proto__:null,MUSTACHE_EXPR:wt,ERB_EXPR:Jt,TMPLIT_EXPR:Yt,DATA_ATTR:oe,ARIA_ATTR:j,IS_ALLOWED_URI:X,IS_SCRIPT_OR_DATA:ot,ATTR_WHITESPACE:R,DOCTYPE_NAME:Tt,CUSTOM_ELEMENT:kt});let Dt={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Re=l(function(){return typeof window>"u"?null:window},"getGlobal"),Ea=l(function(st,tt){if(typeof st!="object"||typeof st.createPolicy!="function")return null;let gt=null,dt="data-tt-policy-suffix";tt&&tt.hasAttribute(dt)&&(gt=tt.getAttribute(dt));let te="dompurify"+(gt?"#"+gt:"");try{return st.createPolicy(te,{createHTML(Me){return Me},createScriptURL(Me){return Me}})}catch{return console.warn("TrustedTypes policy "+te+" could not be created."),null}},"_createTrustedTypesPolicy");function Zs(){let st=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Re(),tt=l(k=>Zs(k),"DOMPurify");if(tt.version="3.1.6",tt.removed=[],!st||!st.document||st.document.nodeType!==Dt.document)return tt.isSupported=!1,tt;let{document:gt}=st,dt=gt,te=dt.currentScript,{DocumentFragment:Me,HTMLTemplateElement:m_,Node:Ks,Element:td,NodeFilter:un,NamedNodeMap:y_=st.NamedNodeMap||st.MozNamedAttrMap,HTMLFormElement:x_,DOMParser:b_,trustedTypes:Da}=st,dn=td.prototype,C_=L(dn,"cloneNode"),k_=L(dn,"remove"),w_=L(dn,"nextSibling"),__=L(dn,"childNodes"),Oa=L(dn,"parentNode");if(typeof m_=="function"){let k=gt.createElement("template");k.content&&k.content.ownerDocument&&(gt=k.content.ownerDocument)}let ee,pn="",{implementation:Qs,createNodeIterator:v_,createDocumentFragment:$_,getElementsByTagName:S_}=gt,{importNode:T_}=dt,Be={};tt.isSupported=typeof r=="function"&&typeof Oa=="function"&&Qs&&Qs.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Js,ERB_EXPR:tl,TMPLIT_EXPR:el,DATA_ATTR:M_,ARIA_ATTR:B_,IS_SCRIPT_OR_DATA:A_,ATTR_WHITESPACE:ed,CUSTOM_ELEMENT:L_}=Vt,{IS_ALLOWED_URI:rd}=Vt,It=null,id=E({},[...M,...F,...B,...A,...U]),Nt=null,nd=E({},[...lt,...ht,...bt,...Ct]),Bt=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}})),fn=null,rl=null,ad=!0,il=!0,od=!1,sd=!0,Xr=!1,nl=!0,mr=!1,al=!1,ol=!1,Zr=!1,Ia=!1,Na=!1,ld=!0,hd=!1,F_="user-content-",sl=!0,gn=!1,Kr={},Qr=null,cd=E({},["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"]),ud=null,dd=E({},["audio","video","img","source","image","track"]),ll=null,pd=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ra="http://www.w3.org/1998/Math/MathML",Pa="http://www.w3.org/2000/svg",Pe="http://www.w3.org/1999/xhtml",Jr=Pe,hl=!1,cl=null,E_=E({},[Ra,Pa,Pe],x),mn=null,D_=["application/xhtml+xml","text/html"],O_="text/html",Rt=null,ti=null,I_=gt.createElement("form"),fd=l(function(k){return k instanceof RegExp||k instanceof Function},"isRegexOrFunction"),ul=l(function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(ti&&ti===k)){if((!k||typeof k!="object")&&(k={}),k=N(k),mn=D_.indexOf(k.PARSER_MEDIA_TYPE)===-1?O_:k.PARSER_MEDIA_TYPE,Rt=mn==="application/xhtml+xml"?x:m,It=w(k,"ALLOWED_TAGS")?E({},k.ALLOWED_TAGS,Rt):id,Nt=w(k,"ALLOWED_ATTR")?E({},k.ALLOWED_ATTR,Rt):nd,cl=w(k,"ALLOWED_NAMESPACES")?E({},k.ALLOWED_NAMESPACES,x):E_,ll=w(k,"ADD_URI_SAFE_ATTR")?E(N(pd),k.ADD_URI_SAFE_ATTR,Rt):pd,ud=w(k,"ADD_DATA_URI_TAGS")?E(N(dd),k.ADD_DATA_URI_TAGS,Rt):dd,Qr=w(k,"FORBID_CONTENTS")?E({},k.FORBID_CONTENTS,Rt):cd,fn=w(k,"FORBID_TAGS")?E({},k.FORBID_TAGS,Rt):{},rl=w(k,"FORBID_ATTR")?E({},k.FORBID_ATTR,Rt):{},Kr=w(k,"USE_PROFILES")?k.USE_PROFILES:!1,ad=k.ALLOW_ARIA_ATTR!==!1,il=k.ALLOW_DATA_ATTR!==!1,od=k.ALLOW_UNKNOWN_PROTOCOLS||!1,sd=k.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Xr=k.SAFE_FOR_TEMPLATES||!1,nl=k.SAFE_FOR_XML!==!1,mr=k.WHOLE_DOCUMENT||!1,Zr=k.RETURN_DOM||!1,Ia=k.RETURN_DOM_FRAGMENT||!1,Na=k.RETURN_TRUSTED_TYPE||!1,ol=k.FORCE_BODY||!1,ld=k.SANITIZE_DOM!==!1,hd=k.SANITIZE_NAMED_PROPS||!1,sl=k.KEEP_CONTENT!==!1,gn=k.IN_PLACE||!1,rd=k.ALLOWED_URI_REGEXP||X,Jr=k.NAMESPACE||Pe,Bt=k.CUSTOM_ELEMENT_HANDLING||{},k.CUSTOM_ELEMENT_HANDLING&&fd(k.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Bt.tagNameCheck=k.CUSTOM_ELEMENT_HANDLING.tagNameCheck),k.CUSTOM_ELEMENT_HANDLING&&fd(k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Bt.attributeNameCheck=k.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),k.CUSTOM_ELEMENT_HANDLING&&typeof k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Bt.allowCustomizedBuiltInElements=k.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Xr&&(il=!1),Ia&&(Zr=!0),Kr&&(It=E({},U),Nt=[],Kr.html===!0&&(E(It,M),E(Nt,lt)),Kr.svg===!0&&(E(It,F),E(Nt,ht),E(Nt,Ct)),Kr.svgFilters===!0&&(E(It,B),E(Nt,ht),E(Nt,Ct)),Kr.mathMl===!0&&(E(It,A),E(Nt,bt),E(Nt,Ct))),k.ADD_TAGS&&(It===id&&(It=N(It)),E(It,k.ADD_TAGS,Rt)),k.ADD_ATTR&&(Nt===nd&&(Nt=N(Nt)),E(Nt,k.ADD_ATTR,Rt)),k.ADD_URI_SAFE_ATTR&&E(ll,k.ADD_URI_SAFE_ATTR,Rt),k.FORBID_CONTENTS&&(Qr===cd&&(Qr=N(Qr)),E(Qr,k.FORBID_CONTENTS,Rt)),sl&&(It["#text"]=!0),mr&&E(It,["html","head","body"]),It.table&&(E(It,["tbody"]),delete fn.tbody),k.TRUSTED_TYPES_POLICY){if(typeof k.TRUSTED_TYPES_POLICY.createHTML!="function")throw $('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof k.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw $('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ee=k.TRUSTED_TYPES_POLICY,pn=ee.createHTML("")}else ee===void 0&&(ee=Ea(Da,te)),ee!==null&&typeof pn=="string"&&(pn=ee.createHTML(""));o&&o(k),ti=k}},"_parseConfig"),gd=E({},["mi","mo","mn","ms","mtext"]),md=E({},["foreignobject","annotation-xml"]),N_=E({},["title","style","font","a","script"]),yd=E({},[...F,...B,...D]),xd=E({},[...A,...z]),R_=l(function(k){let H=Oa(k);(!H||!H.tagName)&&(H={namespaceURI:Jr,tagName:"template"});let W=m(k.tagName),yt=m(H.tagName);return cl[k.namespaceURI]?k.namespaceURI===Pa?H.namespaceURI===Pe?W==="svg":H.namespaceURI===Ra?W==="svg"&&(yt==="annotation-xml"||gd[yt]):!!yd[W]:k.namespaceURI===Ra?H.namespaceURI===Pe?W==="math":H.namespaceURI===Pa?W==="math"&&md[yt]:!!xd[W]:k.namespaceURI===Pe?H.namespaceURI===Pa&&!md[yt]||H.namespaceURI===Ra&&!gd[yt]?!1:!xd[W]&&(N_[W]||!yd[W]):!!(mn==="application/xhtml+xml"&&cl[k.namespaceURI]):!1},"_checkValidNamespace"),yr=l(function(k){g(tt.removed,{element:k});try{Oa(k).removeChild(k)}catch{k_(k)}},"_forceRemove"),za=l(function(k,H){try{g(tt.removed,{attribute:H.getAttributeNode(k),from:H})}catch{g(tt.removed,{attribute:null,from:H})}if(H.removeAttribute(k),k==="is"&&!Nt[k])if(Zr||Ia)try{yr(H)}catch{}else try{H.setAttribute(k,"")}catch{}},"_removeAttribute"),bd=l(function(k){let H=null,W=null;if(ol)k=""+k;else{let Lt=y(k,/^[\r\n\t ]+/);W=Lt&&Lt[0]}mn==="application/xhtml+xml"&&Jr===Pe&&(k=''+k+"");let yt=ee?ee.createHTML(k):k;if(Jr===Pe)try{H=new b_().parseFromString(yt,mn)}catch{}if(!H||!H.documentElement){H=Qs.createDocument(Jr,"template",null);try{H.documentElement.innerHTML=hl?pn:yt}catch{}}let zt=H.body||H.documentElement;return k&&W&&zt.insertBefore(gt.createTextNode(W),zt.childNodes[0]||null),Jr===Pe?S_.call(H,mr?"html":"body")[0]:mr?H.documentElement:zt},"_initDocument"),Cd=l(function(k){return v_.call(k.ownerDocument||k,k,un.SHOW_ELEMENT|un.SHOW_COMMENT|un.SHOW_TEXT|un.SHOW_PROCESSING_INSTRUCTION|un.SHOW_CDATA_SECTION,null)},"_createNodeIterator"),kd=l(function(k){return k instanceof x_&&(typeof k.nodeName!="string"||typeof k.textContent!="string"||typeof k.removeChild!="function"||!(k.attributes instanceof y_)||typeof k.removeAttribute!="function"||typeof k.setAttribute!="function"||typeof k.namespaceURI!="string"||typeof k.insertBefore!="function"||typeof k.hasChildNodes!="function")},"_isClobbered"),wd=l(function(k){return typeof Ks=="function"&&k instanceof Ks},"_isNode"),ze=l(function(k,H,W){Be[k]&&d(Be[k],yt=>{yt.call(tt,H,W,ti)})},"_executeHook"),_d=l(function(k){let H=null;if(ze("beforeSanitizeElements",k,null),kd(k))return yr(k),!0;let W=Rt(k.nodeName);if(ze("uponSanitizeElement",k,{tagName:W,allowedTags:It}),k.hasChildNodes()&&!wd(k.firstElementChild)&&_(/<[/\w]/g,k.innerHTML)&&_(/<[/\w]/g,k.textContent)||k.nodeType===Dt.progressingInstruction||nl&&k.nodeType===Dt.comment&&_(/<[/\w]/g,k.data))return yr(k),!0;if(!It[W]||fn[W]){if(!fn[W]&&$d(W)&&(Bt.tagNameCheck instanceof RegExp&&_(Bt.tagNameCheck,W)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(W)))return!1;if(sl&&!Qr[W]){let yt=Oa(k)||k.parentNode,zt=__(k)||k.childNodes;if(zt&&yt){let Lt=zt.length;for(let qe=Lt-1;qe>=0;--qe){let fe=C_(zt[qe],!0);fe.__removalCount=(k.__removalCount||0)+1,yt.insertBefore(fe,w_(k))}}}return yr(k),!0}return k instanceof td&&!R_(k)||(W==="noscript"||W==="noembed"||W==="noframes")&&_(/<\/no(script|embed|frames)/i,k.innerHTML)?(yr(k),!0):(Xr&&k.nodeType===Dt.text&&(H=k.textContent,d([Js,tl,el],yt=>{H=b(H,yt," ")}),k.textContent!==H&&(g(tt.removed,{element:k.cloneNode()}),k.textContent=H)),ze("afterSanitizeElements",k,null),!1)},"_sanitizeElements"),vd=l(function(k,H,W){if(ld&&(H==="id"||H==="name")&&(W in gt||W in I_))return!1;if(!(il&&!rl[H]&&_(M_,H))&&!(ad&&_(B_,H))){if(!Nt[H]||rl[H]){if(!($d(k)&&(Bt.tagNameCheck instanceof RegExp&&_(Bt.tagNameCheck,k)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(k))&&(Bt.attributeNameCheck instanceof RegExp&&_(Bt.attributeNameCheck,H)||Bt.attributeNameCheck instanceof Function&&Bt.attributeNameCheck(H))||H==="is"&&Bt.allowCustomizedBuiltInElements&&(Bt.tagNameCheck instanceof RegExp&&_(Bt.tagNameCheck,W)||Bt.tagNameCheck instanceof Function&&Bt.tagNameCheck(W))))return!1}else if(!ll[H]&&!_(rd,b(W,ed,""))&&!((H==="src"||H==="xlink:href"||H==="href")&&k!=="script"&&C(W,"data:")===0&&ud[k])&&!(od&&!_(A_,b(W,ed,"")))&&W)return!1}return!0},"_isValidAttribute"),$d=l(function(k){return k!=="annotation-xml"&&y(k,L_)},"_isBasicCustomElement"),Sd=l(function(k){ze("beforeSanitizeAttributes",k,null);let{attributes:H}=k;if(!H)return;let W={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Nt},yt=H.length;for(;yt--;){let zt=H[yt],{name:Lt,namespaceURI:qe,value:fe}=zt,Ae=Rt(Lt),re=Lt==="value"?fe:v(fe);if(W.attrName=Ae,W.attrValue=re,W.keepAttr=!0,W.forceKeepAttr=void 0,ze("uponSanitizeAttribute",k,W),re=W.attrValue,nl&&_(/((--!?|])>)|<\/(style|title)/i,re)){za(Lt,k);continue}if(W.forceKeepAttr||(za(Lt,k),!W.keepAttr))continue;if(!sd&&_(/\/>/i,re)){za(Lt,k);continue}Xr&&d([Js,tl,el],z_=>{re=b(re,z_," ")});let Td=Rt(k.nodeName);if(vd(Td,Ae,re)){if(hd&&(Ae==="id"||Ae==="name")&&(za(Lt,k),re=F_+re),ee&&typeof Da=="object"&&typeof Da.getAttributeType=="function"&&!qe)switch(Da.getAttributeType(Td,Ae)){case"TrustedHTML":{re=ee.createHTML(re);break}case"TrustedScriptURL":{re=ee.createScriptURL(re);break}}try{qe?k.setAttributeNS(qe,Lt,re):k.setAttribute(Lt,re),kd(k)?yr(k):f(tt.removed)}catch{}}}ze("afterSanitizeAttributes",k,null)},"_sanitizeAttributes"),P_=l(function k(H){let W=null,yt=Cd(H);for(ze("beforeSanitizeShadowDOM",H,null);W=yt.nextNode();)ze("uponSanitizeShadowNode",W,null),!_d(W)&&(W.content instanceof Me&&k(W.content),Sd(W));ze("afterSanitizeShadowDOM",H,null)},"_sanitizeShadowDOM");return tt.sanitize=function(k){let H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=null,yt=null,zt=null,Lt=null;if(hl=!k,hl&&(k=""),typeof k!="string"&&!wd(k))if(typeof k.toString=="function"){if(k=k.toString(),typeof k!="string")throw $("dirty is not a string, aborting")}else throw $("toString is not a function");if(!tt.isSupported)return k;if(al||ul(H),tt.removed=[],typeof k=="string"&&(gn=!1),gn){if(k.nodeName){let Ae=Rt(k.nodeName);if(!It[Ae]||fn[Ae])throw $("root node is forbidden and cannot be sanitized in-place")}}else if(k instanceof Ks)W=bd(""),yt=W.ownerDocument.importNode(k,!0),yt.nodeType===Dt.element&&yt.nodeName==="BODY"||yt.nodeName==="HTML"?W=yt:W.appendChild(yt);else{if(!Zr&&!Xr&&!mr&&k.indexOf("<")===-1)return ee&&Na?ee.createHTML(k):k;if(W=bd(k),!W)return Zr?null:Na?pn:""}W&&ol&&yr(W.firstChild);let qe=Cd(gn?k:W);for(;zt=qe.nextNode();)_d(zt)||(zt.content instanceof Me&&P_(zt.content),Sd(zt));if(gn)return k;if(Zr){if(Ia)for(Lt=$_.call(W.ownerDocument);W.firstChild;)Lt.appendChild(W.firstChild);else Lt=W;return(Nt.shadowroot||Nt.shadowrootmode)&&(Lt=T_.call(dt,Lt,!0)),Lt}let fe=mr?W.outerHTML:W.innerHTML;return mr&&It["!doctype"]&&W.ownerDocument&&W.ownerDocument.doctype&&W.ownerDocument.doctype.name&&_(Tt,W.ownerDocument.doctype.name)&&(fe=" `+fe),Xr&&d([Js,tl,el],Ae=>{fe=b(fe,Ae," ")}),ee&&Na?ee.createHTML(fe):fe},tt.setConfig=function(){let k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ul(k),al=!0},tt.clearConfig=function(){ti=null,al=!1},tt.isValidAttribute=function(k,H,W){ti||ul({});let yt=Rt(k),zt=Rt(H);return vd(yt,zt,W)},tt.addHook=function(k,H){typeof H=="function"&&(Be[k]=Be[k]||[],g(Be[k],H))},tt.removeHook=function(k){if(Be[k])return f(Be[k])},tt.removeHooks=function(k){Be[k]&&(Be[k]=[])},tt.removeAllHooks=function(){Be={}},tt}l(Zs,"createDOMPurify");var g_=Zs();return g_})}),K_=ma(Z_()),je={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},I={trace:l((...t)=>{},"trace"),debug:l((...t)=>{},"debug"),info:l((...t)=>{},"info"),warn:l((...t)=>{},"warn"),error:l((...t)=>{},"error"),fatal:l((...t)=>{},"fatal")},ec=l(function(t="fatal"){let e=je.fatal;typeof t=="string"?t.toLowerCase()in je&&(e=je[t]):typeof t=="number"&&(e=t),I.trace=()=>{},I.debug=()=>{},I.info=()=>{},I.warn=()=>{},I.error=()=>{},I.fatal=()=>{},e<=je.fatal&&(I.fatal=console.error?console.error.bind(console,ge("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",ge("FATAL"))),e<=je.error&&(I.error=console.error?console.error.bind(console,ge("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",ge("ERROR"))),e<=je.warn&&(I.warn=console.warn?console.warn.bind(console,ge("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",ge("WARN"))),e<=je.info&&(I.info=console.info?console.info.bind(console,ge("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",ge("INFO"))),e<=je.debug&&(I.debug=console.debug?console.debug.bind(console,ge("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",ge("DEBUG"))),e<=je.trace&&(I.trace=console.debug?console.debug.bind(console,ge("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",ge("TRACE")))},"setLogLevel"),ge=l(t=>`%c${(0,K_.default)().format("ss.SSS")} : ${t} : `,"format"),Fp=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,Fn=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Q_=/\s*%%.*\n/gm,gi,Ep=(gi=class extends Error{constructor(e){super(e),this.name="UnknownDiagramError"}},l(gi,"UnknownDiagramError"),gi),ji={},rc=l(function(t,e){t=t.replace(Fp,"").replace(Fn,"").replace(Q_,` -`);for(let[r,{detector:i}]of Object.entries(ji))if(i(t,e))return r;throw new Ep(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),Dp=l((...t)=>{for(let{id:e,detector:r,loader:i}of t)Op(e,r,i)},"registerLazyLoadedDiagrams"),Op=l((t,e,r)=>{ji[t]&&I.warn(`Detector with key ${t} already exists. Overwriting.`),ji[t]={detector:e,loader:r},I.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),J_=l(t=>ji[t].loader,"getDiagramLoader"),$l=l((t,e,{depth:r=2,clobber:i=!1}={})=>{let n={depth:r,clobber:i};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(a=>$l(t,a,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(a=>{t.includes(a)||t.push(a)}),t):t===void 0||r<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(a=>{typeof e[a]=="object"&&(t[a]===void 0||typeof t[a]=="object")?(t[a]===void 0&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=$l(t[a],e[a],{depth:r-1,clobber:i})):(i||typeof t[a]!="object"&&typeof e[a]!="object")&&(t[a]=e[a])}),t)},"assignWithDepth"),Wt=$l,Za={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:l(t=>t>=255?255:t<0?0:t,"r"),g:l(t=>t>=255?255:t<0?0:t,"g"),b:l(t=>t>=255?255:t<0?0:t,"b"),h:l(t=>t%360,"h"),s:l(t=>t>=100?100:t<0?0:t,"s"),l:l(t=>t>=100?100:t<0?0:t,"l"),a:l(t=>t>=1?1:t<0?0:t,"a")},toLinear:l(t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},"toLinear"),hue2rgb:l((t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<.16666666666666666?t+(e-t)*6*r:r<.5?e:r<.6666666666666666?t+(e-t)*(.6666666666666666-r)*6:t),"hue2rgb"),hsl2rgb:l(({h:t,s:e,l:r},i)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;let n=r<.5?r*(1+e):r+e-r*e,a=2*r-n;switch(i){case"r":return Za.hue2rgb(a,n,t+.3333333333333333)*255;case"g":return Za.hue2rgb(a,n,t)*255;case"b":return Za.hue2rgb(a,n,t-.3333333333333333)*255}},"hsl2rgb"),rgb2hsl:l(({r:t,g:e,b:r},i)=>{t/=255,e/=255,r/=255;let n=Math.max(t,e,r),a=Math.min(t,e,r),s=(n+a)/2;if(i==="l")return s*100;if(n===a)return 0;let o=n-a,h=s>.5?o/(2-n-a):o/(n+a);if(i==="s")return h*100;switch(n){case t:return((e-r)/o+(ee>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),"clamp"),round:l(t=>Math.round(t*1e10)/1e10,"round")},rv=ev,iv={dec2hex:l(t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`},"dec2hex")},nv=iv,av={channel:tv,lang:rv,unit:nv},it=av,rr={};for(let t=0;t<=255;t++)rr[t]=it.unit.dec2hex(t);var Xt={ALL:0,RGB:1,HSL:2},mi,ov=(mi=class{constructor(){this.type=Xt.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=Xt.ALL}is(e){return this.type===e}},l(mi,"Type"),mi),sv=ov,yi,lv=(yi=class{constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new sv}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=Xt.ALL,this}_ensureHSL(){let e=this.data,{h:r,s:i,l:n}=e;r===void 0&&(e.h=it.channel.rgb2hsl(e,"h")),i===void 0&&(e.s=it.channel.rgb2hsl(e,"s")),n===void 0&&(e.l=it.channel.rgb2hsl(e,"l"))}_ensureRGB(){let e=this.data,{r,g:i,b:n}=e;r===void 0&&(e.r=it.channel.hsl2rgb(e,"r")),i===void 0&&(e.g=it.channel.hsl2rgb(e,"g")),n===void 0&&(e.b=it.channel.hsl2rgb(e,"b"))}get r(){let e=this.data,r=e.r;return!this.type.is(Xt.HSL)&&r!==void 0?r:(this._ensureHSL(),it.channel.hsl2rgb(e,"r"))}get g(){let e=this.data,r=e.g;return!this.type.is(Xt.HSL)&&r!==void 0?r:(this._ensureHSL(),it.channel.hsl2rgb(e,"g"))}get b(){let e=this.data,r=e.b;return!this.type.is(Xt.HSL)&&r!==void 0?r:(this._ensureHSL(),it.channel.hsl2rgb(e,"b"))}get h(){let e=this.data,r=e.h;return!this.type.is(Xt.RGB)&&r!==void 0?r:(this._ensureRGB(),it.channel.rgb2hsl(e,"h"))}get s(){let e=this.data,r=e.s;return!this.type.is(Xt.RGB)&&r!==void 0?r:(this._ensureRGB(),it.channel.rgb2hsl(e,"s"))}get l(){let e=this.data,r=e.l;return!this.type.is(Xt.RGB)&&r!==void 0?r:(this._ensureRGB(),it.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(Xt.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(Xt.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(Xt.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(Xt.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(Xt.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(Xt.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}},l(yi,"Channels"),yi),hv=lv,cv=new hv({r:0,g:0,b:0,a:0},"transparent"),hs=cv,Ip={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:l(t=>{if(t.charCodeAt(0)!==35)return;let e=t.match(Ip.re);if(!e)return;let r=e[1],i=parseInt(r,16),n=r.length,a=n%4===0,s=n>4,o=s?1:17,h=s?8:4,c=a?0:-1,u=s?255:15;return hs.set({r:(i>>h*(c+3)&u)*o,g:(i>>h*(c+2)&u)*o,b:(i>>h*(c+1)&u)*o,a:a?(i&u)*o/255:1},t)},"parse"),stringify:l(t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`#${rr[Math.round(e)]}${rr[Math.round(r)]}${rr[Math.round(i)]}${rr[Math.round(n*255)]}`:`#${rr[Math.round(e)]}${rr[Math.round(r)]}${rr[Math.round(i)]}`},"stringify")},En=Ip,Ka={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:l(t=>{let e=t.match(Ka.hueRe);if(e){let[,r,i]=e;switch(i){case"grad":return it.channel.clamp.h(parseFloat(r)*.9);case"rad":return it.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return it.channel.clamp.h(parseFloat(r)*360)}}return it.channel.clamp.h(parseFloat(t))},"_hue2deg"),parse:l(t=>{let e=t.charCodeAt(0);if(e!==104&&e!==72)return;let r=t.match(Ka.re);if(!r)return;let[,i,n,a,s,o]=r;return hs.set({h:Ka._hue2deg(i),s:it.channel.clamp.s(parseFloat(n)),l:it.channel.clamp.l(parseFloat(a)),a:s?it.channel.clamp.a(o?parseFloat(s)/100:parseFloat(s)):1},t)},"parse"),stringify:l(t=>{let{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${it.lang.round(e)}, ${it.lang.round(r)}%, ${it.lang.round(i)}%, ${n})`:`hsl(${it.lang.round(e)}, ${it.lang.round(r)}%, ${it.lang.round(i)}%)`},"stringify")},qa=Ka,Qa={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:l(t=>{t=t.toLowerCase();let e=Qa.colors[t];if(e)return En.parse(e)},"parse"),stringify:l(t=>{let e=En.stringify(t);for(let r in Qa.colors)if(Qa.colors[r]===e)return r},"stringify")},Ld=Qa,Np={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:l(t=>{let e=t.charCodeAt(0);if(e!==114&&e!==82)return;let r=t.match(Np.re);if(!r)return;let[,i,n,a,s,o,h,c,u]=r;return hs.set({r:it.channel.clamp.r(n?parseFloat(i)*2.55:parseFloat(i)),g:it.channel.clamp.g(s?parseFloat(a)*2.55:parseFloat(a)),b:it.channel.clamp.b(h?parseFloat(o)*2.55:parseFloat(o)),a:c?it.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},t)},"parse"),stringify:l(t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${it.lang.round(e)}, ${it.lang.round(r)}, ${it.lang.round(i)}, ${it.lang.round(n)})`:`rgb(${it.lang.round(e)}, ${it.lang.round(r)}, ${it.lang.round(i)})`},"stringify")},ja=Np,uv={format:{keyword:Ld,hex:En,rgb:ja,rgba:ja,hsl:qa,hsla:qa},parse:l(t=>{if(typeof t!="string")return t;let e=En.parse(t)||ja.parse(t)||qa.parse(t)||Ld.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},"parse"),stringify:l(t=>!t.changed&&t.color?t.color:t.type.is(Xt.HSL)||t.data.r===void 0?qa.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?ja.stringify(t):En.stringify(t),"stringify")},$e=uv,dv=l((t,e)=>{let r=$e.parse(t);for(let i in e)r[i]=it.channel.clamp[i](e[i]);return $e.stringify(r)},"change"),Rp=dv,pv=l((t,e,r=0,i=1)=>{if(typeof t!="number")return Rp(t,{a:e});let n=hs.set({r:it.channel.clamp.r(t),g:it.channel.clamp.g(e),b:it.channel.clamp.b(r),a:it.channel.clamp.a(i)});return $e.stringify(n)},"rgba"),Dn=pv,fv=l((t,e)=>it.lang.round($e.parse(t)[e]),"channel"),e4=fv,gv=l(t=>{let{r:e,g:r,b:i}=$e.parse(t),n=.2126*it.channel.toLinear(e)+.7152*it.channel.toLinear(r)+.0722*it.channel.toLinear(i);return it.lang.round(n)},"luminance"),mv=gv,yv=l(t=>mv(t)>=.5,"isLight"),xv=yv,bv=l(t=>!xv(t),"isDark"),ya=bv,Cv=l((t,e,r)=>{let i=$e.parse(t),n=i[e],a=it.channel.clamp[e](n+r);return n!==a&&(i[e]=a),$e.stringify(i)},"adjustChannel"),Pp=Cv,kv=l((t,e)=>Pp(t,"l",e),"lighten"),K=kv,wv=l((t,e)=>Pp(t,"l",-e),"darken"),et=wv,_v=l((t,e)=>{let r=$e.parse(t),i={};for(let n in e)e[n]&&(i[n]=r[n]+e[n]);return Rp(t,i)},"adjust"),S=_v,vv=l((t,e,r=50)=>{let{r:i,g:n,b:a,a:s}=$e.parse(t),{r:o,g:h,b:c,a:u}=$e.parse(e),p=r/100,d=p*2-1,f=s-u,g=((d*f===-1?d:(d+f)/(1+d*f))+1)/2,m=1-g,x=i*g+o*m,y=n*g+h*m,b=a*g+c*m,C=s*p+u*(1-p);return Dn(x,y,b,C)},"mix"),$v=vv,Sv=l((t,e=100)=>{let r=$e.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,$v(r,t,e)},"invert"),q=Sv,cs="#ffffff",us="#f2f2f2",ie=l((t,e)=>e?S(t,{s:-40,l:10}):S(t,{s:-40,l:-10}),"mkBorder"),xi,Tv=(xi=class{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(){var r,i,n,a,s,o,h,c,u,p,d;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||S(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||S(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ie(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ie(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ie(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||q(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||q(this.tertiaryColor),this.lineColor=this.lineColor||q(this.background),this.arrowheadColor=this.arrowheadColor||q(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?et(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||et(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||q(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||K(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||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.darkMode)for(let f=0;f{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(xi,"Theme"),xi),Mv=l(t=>{let e=new Tv;return e.calculate(t),e},"getThemeVariables"),bi,Bv=(bi=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=K(this.primaryColor,16),this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=q(this.background),this.secondaryBorderColor=ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ie(this.tertiaryColor,this.darkMode),this.primaryTextColor=q(this.primaryColor),this.secondaryTextColor=q(this.secondaryColor),this.tertiaryTextColor=q(this.tertiaryColor),this.lineColor=q(this.background),this.textColor=q(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=K(q("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Dn(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=et("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=et(this.sectionBkgColor,10),this.taskBorderColor=Dn(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Dn(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(){var e,r,i,n,a,s,o,h,c,u,p;this.secondBkg=K(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=K(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=K(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=S(this.primaryColor,{h:64}),this.fillType3=S(this.secondaryColor,{h:64}),this.fillType4=S(this.primaryColor,{h:-64}),this.fillType5=S(this.secondaryColor,{h:-64}),this.fillType6=S(this.primaryColor,{h:128}),this.fillType7=S(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||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330});for(let d=0;d{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(bi,"Theme"),bi),Av=l(t=>{let e=new Bv;return e.calculate(t),e},"getThemeVariables"),Ci,Lv=(Ci=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=S(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=ie(this.primaryColor,this.darkMode),this.secondaryBorderColor=ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ie(this.tertiaryColor,this.darkMode),this.primaryTextColor=q(this.primaryColor),this.secondaryTextColor=q(this.secondaryColor),this.tertiaryTextColor=q(this.tertiaryColor),this.lineColor=q(this.background),this.textColor=q(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=Dn(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(){var e,r,i,n,a,s,o,h,c,u,p;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||et(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||et(this.tertiaryColor,40);for(let d=0;d{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(Ci,"Theme"),Ci),Fv=l(t=>{let e=new Lv;return e.calculate(t),e},"getThemeVariables"),ki,Ev=(ki=class{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=K("#cde498",10),this.primaryBorderColor=ie(this.primaryColor,this.darkMode),this.secondaryBorderColor=ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ie(this.tertiaryColor,this.darkMode),this.primaryTextColor=q(this.primaryColor),this.secondaryTextColor=q(this.secondaryColor),this.tertiaryTextColor=q(this.primaryColor),this.lineColor=q(this.background),this.textColor=q(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(){var e,r,i,n,a,s,o,h,c,u,p;this.actorBorder=et(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||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||et(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||et(this.tertiaryColor,40);for(let d=0;d{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(ki,"Theme"),ki),Dv=l(t=>{let e=new Ev;return e.calculate(t),e},"getThemeVariables"),wi,Ov=(wi=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=K(this.contrast,55),this.background="#ffffff",this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=ie(this.primaryColor,this.darkMode),this.secondaryBorderColor=ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ie(this.tertiaryColor,this.darkMode),this.primaryTextColor=q(this.primaryColor),this.secondaryTextColor=q(this.secondaryColor),this.tertiaryTextColor=q(this.tertiaryColor),this.lineColor=q(this.background),this.textColor=q(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(){var e,r,i,n,a,s,o,h,c,u,p;this.secondBkg=K(this.contrast,55),this.border2=this.contrast,this.actorBorder=K(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 d=0;d{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(wi,"Theme"),wi),Iv=l(t=>{let e=new Ov;return e.calculate(t),e},"getThemeVariables"),Ve={base:{getThemeVariables:Mv},dark:{getThemeVariables:Av},default:{getThemeVariables:Fv},forest:{getThemeVariables:Dv},neutral:{getThemeVariables:Iv}},er={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},zp={...er,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:Ve.default.getThemeVariables(),sequence:{...er.sequence,messageFont:l(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:l(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:l(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...er.gantt,tickInterval:void 0,useWidth:void 0},c4:{...er.c4,useWidth:void 0,personFont:l(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:l(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:l(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:l(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:l(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:l(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:l(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:l(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:l(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:l(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:l(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:l(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:l(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:l(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:l(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:l(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:l(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:l(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:l(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:l(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:l(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:l(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...er.pie,useWidth:984},xyChart:{...er.xyChart,useWidth:void 0},requirement:{...er.requirement,useWidth:void 0},packet:{...er.packet}},qp=l((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:typeof t[i]=="object"&&t[i]!==null?[...r,e+i,...qp(t[i],"")]:[...r,e+i],[]),"keyify"),Nv=new Set(qp(zp,"")),jp=zp,ko=l(t=>{if(I.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>ko(e));return}for(let e of Object.keys(t)){if(I.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Nv.has(e)||t[e]==null){I.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){I.debug("sanitizing object",e),ko(t[e]);continue}let r=["themeCSS","fontFamily","altFontFamily"];for(let i of r)e.includes(i)&&(I.debug("sanitizing css option",e),t[e]=Rv(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r!=null&&r.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}I.debug("After sanitization",t)}},"sanitizeDirective"),Rv=l(t=>{let e=0,r=0;for(let i of t){if(e{let r=Wt({},t),i={};for(let n of e)Yp(n),i=Wt(i,n);if(r=Wt(r,i),i.theme&&i.theme in Ve){let n=Wt({},Wp),a=Wt(n.themeVariables||{},i.themeVariables);r.theme&&r.theme in Ve&&(r.themeVariables=Ve[r.theme].getThemeVariables(a))}return On=r,Vp(On),On},"updateCurrentConfig"),Pv=l(t=>(he=Wt({},Wi),he=Wt(he,t),t.theme&&Ve[t.theme]&&(he.themeVariables=Ve[t.theme].getThemeVariables(t.themeVariables)),ds(he,Ui),he),"setSiteConfig"),zv=l(t=>{Wp=Wt({},t)},"saveConfigFromInitialize"),qv=l(t=>(he=Wt(he,t),ds(he,Ui),he),"updateSiteConfig"),Up=l(()=>Wt({},he),"getSiteConfig"),Hp=l(t=>(Vp(t),Wt(On,t),Se()),"setConfig"),Se=l(()=>Wt({},On),"getConfig"),Yp=l(t=>{t&&(["secure",...he.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(I.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=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&Yp(t[e])}))},"sanitize"),jv=l(t=>{var e;ko(t),t.fontFamily&&!((e=t.themeVariables)!=null&&e.fontFamily)&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),Ui.push(t),ds(he,Ui)},"addDirective"),wo=l((t=he)=>{Ui=[],ds(t,Ui)},"reset"),Wv={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Fd={},Uv=l(t=>{Fd[t]||(I.warn(Wv[t]),Fd[t]=!0)},"issueWarning"),Vp=l(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Uv("LAZY_LOAD_DEPRECATED")},"checkConfig"),Hn=ma(Lp()),xa=//gi,Hv=l(t=>t?Zp(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Yv=(()=>{let t=!1;return()=>{t||(Gp(),t=!0)}})();function Gp(){let t="data-temp-href-target";Hn.default.addHook("beforeSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),Hn.default.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}l(Gp,"setupDompurifyHooks");var Xp=l(t=>(Yv(),Hn.default.sanitize(t)),"removeScript"),Ed=l((t,e)=>{var r;if(((r=e.flowchart)==null?void 0:r.htmlLabels)!==!1){let i=e.securityLevel;i==="antiscript"||i==="strict"?t=Xp(t):i!=="loose"&&(t=Zp(t),t=t.replace(//g,">"),t=t.replace(/=/g,"="),t=Zv(t))}return t},"sanitizeMore"),Fr=l((t,e)=>t&&(e.dompurifyConfig?t=Hn.default.sanitize(Ed(t,e),e.dompurifyConfig).toString():t=Hn.default.sanitize(Ed(t,e),{FORBID_TAGS:["style"]}).toString(),t),"sanitizeText"),Vv=l((t,e)=>typeof t=="string"?Fr(t,e):t.flat().map(r=>Fr(r,e)),"sanitizeTextOrArray"),Gv=l(t=>xa.test(t),"hasBreaks"),Xv=l(t=>t.split(xa),"splitBreaks"),Zv=l(t=>t.replace(/#br#/g,"
"),"placeholderToBreak"),Zp=l(t=>t.replace(xa,"#br#"),"breakToPlaceholder"),Kv=l(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},"getUrl"),Ht=l(t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),Qv=l(function(...t){let e=t.filter(r=>!isNaN(r));return Math.max(...e)},"getMax"),Jv=l(function(...t){let e=t.filter(r=>!isNaN(r));return Math.min(...e)},"getMin"),r4=l(function(t){let e=t.split(/(,)/),r=[];for(let i=0;i0&&i+1Math.max(0,t.split(e).length-1),"countOccurrence"),t$=l((t,e)=>{let r=Sl(t,"~"),i=Sl(e,"~");return r===1&&i===1},"shouldCombineSets"),e$=l(t=>{let e=Sl(t,"~"),r=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let i=[...t],n=i.indexOf("~"),a=i.lastIndexOf("~");for(;n!==-1&&a!==-1&&n!==a;)i[n]="<",i[a]=">",n=i.indexOf("~"),a=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),Dd=l(()=>window.MathMLElement!==void 0,"isMathMLSupported"),Tl=/\$\$(.*)\$\$/g,Hi=l(t=>{var e;return(((e=t.match(Tl))==null?void 0:e.length)??0)>0},"hasKatex"),i4=l(async(t,e)=>{var n;t=await ic(t,e);let r=document.createElement("div");r.innerHTML=t,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",(n=document.querySelector("body"))==null||n.insertAdjacentElement("beforeend",r);let i={width:r.clientWidth,height:r.clientHeight};return r.remove(),i},"calculateMathMLDimensions"),ic=l(async(t,e)=>{if(!Hi(t))return t;if(!(Dd()||e.legacyMathML||e.forceLegacyMathML))return t.replace(Tl,"MathML is unsupported in this environment.");let{default:r}=await _t(()=>import("./katex-SWYD7GD6-DZYxwJk4.js"),__vite__mapDeps([0,1])),i=e.forceLegacyMathML||!Dd()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(xa).map(n=>Hi(n)?`
${n}
`:`
${n}
`).join("").replace(Tl,(n,a)=>r.renderToString(a,{throwOnError:!0,displayMode:!0,output:i}).replace(/\n/g," ").replace(//g,""))},"renderKatex"),en={getRows:Hv,sanitizeText:Fr,sanitizeTextOrArray:Vv,hasBreaks:Gv,splitBreaks:Xv,lineBreakRegex:xa,removeScript:Xp,getUrl:Kv,evaluate:Ht,getMax:Qv,getMin:Jv},r$=l(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),i$=l(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),Kp=l(function(t,e,r,i){let n=i$(e,r,i);r$(t,n)},"configureSvgSize"),n$=l(function(t,e,r,i){let n=e.node().getBBox(),a=n.width,s=n.height;I.info(`SVG bounds: ${a}x${s}`,n);let o=0,h=0;I.info(`Graph bounds: ${o}x${h}`,t),o=a+r*2,h=s+r*2,I.info(`Calculated bounds: ${o}x${h}`),Kp(e,h,o,i);let c=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",c)},"setupGraphViewbox"),Ja={},a$=l((t,e,r)=>{let i="";return t in Ja&&Ja[t]?i=Ja[t](r):I.warn(`No theme found for ${t}`),` & { +`);for(let[r,{detector:i}]of Object.entries(ji))if(i(t,e))return r;throw new Ep(`No diagram type detected matching given configuration for text: ${t}`)},"detectType"),Dp=l((...t)=>{for(let{id:e,detector:r,loader:i}of t)Op(e,r,i)},"registerLazyLoadedDiagrams"),Op=l((t,e,r)=>{ji[t]&&I.warn(`Detector with key ${t} already exists. Overwriting.`),ji[t]={detector:e,loader:r},I.debug(`Detector with key ${t} added${r?" with loader":""}`)},"addDetector"),J_=l(t=>ji[t].loader,"getDiagramLoader"),$l=l((t,e,{depth:r=2,clobber:i=!1}={})=>{let n={depth:r,clobber:i};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach(a=>$l(t,a,n)),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach(a=>{t.includes(a)||t.push(a)}),t):t===void 0||r<=0?t!=null&&typeof t=="object"&&typeof e=="object"?Object.assign(t,e):e:(e!==void 0&&typeof t=="object"&&typeof e=="object"&&Object.keys(e).forEach(a=>{typeof e[a]=="object"&&(t[a]===void 0||typeof t[a]=="object")?(t[a]===void 0&&(t[a]=Array.isArray(e[a])?[]:{}),t[a]=$l(t[a],e[a],{depth:r-1,clobber:i})):(i||typeof t[a]!="object"&&typeof e[a]!="object")&&(t[a]=e[a])}),t)},"assignWithDepth"),Wt=$l,Za={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:l(t=>t>=255?255:t<0?0:t,"r"),g:l(t=>t>=255?255:t<0?0:t,"g"),b:l(t=>t>=255?255:t<0?0:t,"b"),h:l(t=>t%360,"h"),s:l(t=>t>=100?100:t<0?0:t,"s"),l:l(t=>t>=100?100:t<0?0:t,"l"),a:l(t=>t>=1?1:t<0?0:t,"a")},toLinear:l(t=>{let e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},"toLinear"),hue2rgb:l((t,e,r)=>(r<0&&(r+=1),r>1&&(r-=1),r<.16666666666666666?t+(e-t)*6*r:r<.5?e:r<.6666666666666666?t+(e-t)*(.6666666666666666-r)*6:t),"hue2rgb"),hsl2rgb:l(({h:t,s:e,l:r},i)=>{if(!e)return r*2.55;t/=360,e/=100,r/=100;let n=r<.5?r*(1+e):r+e-r*e,a=2*r-n;switch(i){case"r":return Za.hue2rgb(a,n,t+.3333333333333333)*255;case"g":return Za.hue2rgb(a,n,t)*255;case"b":return Za.hue2rgb(a,n,t-.3333333333333333)*255}},"hsl2rgb"),rgb2hsl:l(({r:t,g:e,b:r},i)=>{t/=255,e/=255,r/=255;let n=Math.max(t,e,r),a=Math.min(t,e,r),s=(n+a)/2;if(i==="l")return s*100;if(n===a)return 0;let o=n-a,h=s>.5?o/(2-n-a):o/(n+a);if(i==="s")return h*100;switch(n){case t:return((e-r)/o+(ee>r?Math.min(e,Math.max(r,t)):Math.min(r,Math.max(e,t)),"clamp"),round:l(t=>Math.round(t*1e10)/1e10,"round")},rv=ev,iv={dec2hex:l(t=>{let e=Math.round(t).toString(16);return e.length>1?e:`0${e}`},"dec2hex")},nv=iv,av={channel:tv,lang:rv,unit:nv},it=av,rr={};for(let t=0;t<=255;t++)rr[t]=it.unit.dec2hex(t);var Xt={ALL:0,RGB:1,HSL:2},mi,ov=(mi=class{constructor(){this.type=Xt.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=Xt.ALL}is(e){return this.type===e}},l(mi,"Type"),mi),sv=ov,yi,lv=(yi=class{constructor(e,r){this.color=r,this.changed=!1,this.data=e,this.type=new sv}set(e,r){return this.color=r,this.changed=!1,this.data=e,this.type.type=Xt.ALL,this}_ensureHSL(){let e=this.data,{h:r,s:i,l:n}=e;r===void 0&&(e.h=it.channel.rgb2hsl(e,"h")),i===void 0&&(e.s=it.channel.rgb2hsl(e,"s")),n===void 0&&(e.l=it.channel.rgb2hsl(e,"l"))}_ensureRGB(){let e=this.data,{r,g:i,b:n}=e;r===void 0&&(e.r=it.channel.hsl2rgb(e,"r")),i===void 0&&(e.g=it.channel.hsl2rgb(e,"g")),n===void 0&&(e.b=it.channel.hsl2rgb(e,"b"))}get r(){let e=this.data,r=e.r;return!this.type.is(Xt.HSL)&&r!==void 0?r:(this._ensureHSL(),it.channel.hsl2rgb(e,"r"))}get g(){let e=this.data,r=e.g;return!this.type.is(Xt.HSL)&&r!==void 0?r:(this._ensureHSL(),it.channel.hsl2rgb(e,"g"))}get b(){let e=this.data,r=e.b;return!this.type.is(Xt.HSL)&&r!==void 0?r:(this._ensureHSL(),it.channel.hsl2rgb(e,"b"))}get h(){let e=this.data,r=e.h;return!this.type.is(Xt.RGB)&&r!==void 0?r:(this._ensureRGB(),it.channel.rgb2hsl(e,"h"))}get s(){let e=this.data,r=e.s;return!this.type.is(Xt.RGB)&&r!==void 0?r:(this._ensureRGB(),it.channel.rgb2hsl(e,"s"))}get l(){let e=this.data,r=e.l;return!this.type.is(Xt.RGB)&&r!==void 0?r:(this._ensureRGB(),it.channel.rgb2hsl(e,"l"))}get a(){return this.data.a}set r(e){this.type.set(Xt.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(Xt.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(Xt.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(Xt.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(Xt.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(Xt.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}},l(yi,"Channels"),yi),hv=lv,cv=new hv({r:0,g:0,b:0,a:0},"transparent"),hs=cv,Ip={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:l(t=>{if(t.charCodeAt(0)!==35)return;let e=t.match(Ip.re);if(!e)return;let r=e[1],i=parseInt(r,16),n=r.length,a=n%4===0,s=n>4,o=s?1:17,h=s?8:4,c=a?0:-1,u=s?255:15;return hs.set({r:(i>>h*(c+3)&u)*o,g:(i>>h*(c+2)&u)*o,b:(i>>h*(c+1)&u)*o,a:a?(i&u)*o/255:1},t)},"parse"),stringify:l(t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`#${rr[Math.round(e)]}${rr[Math.round(r)]}${rr[Math.round(i)]}${rr[Math.round(n*255)]}`:`#${rr[Math.round(e)]}${rr[Math.round(r)]}${rr[Math.round(i)]}`},"stringify")},En=Ip,Ka={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:l(t=>{let e=t.match(Ka.hueRe);if(e){let[,r,i]=e;switch(i){case"grad":return it.channel.clamp.h(parseFloat(r)*.9);case"rad":return it.channel.clamp.h(parseFloat(r)*180/Math.PI);case"turn":return it.channel.clamp.h(parseFloat(r)*360)}}return it.channel.clamp.h(parseFloat(t))},"_hue2deg"),parse:l(t=>{let e=t.charCodeAt(0);if(e!==104&&e!==72)return;let r=t.match(Ka.re);if(!r)return;let[,i,n,a,s,o]=r;return hs.set({h:Ka._hue2deg(i),s:it.channel.clamp.s(parseFloat(n)),l:it.channel.clamp.l(parseFloat(a)),a:s?it.channel.clamp.a(o?parseFloat(s)/100:parseFloat(s)):1},t)},"parse"),stringify:l(t=>{let{h:e,s:r,l:i,a:n}=t;return n<1?`hsla(${it.lang.round(e)}, ${it.lang.round(r)}%, ${it.lang.round(i)}%, ${n})`:`hsl(${it.lang.round(e)}, ${it.lang.round(r)}%, ${it.lang.round(i)}%)`},"stringify")},qa=Ka,Qa={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:l(t=>{t=t.toLowerCase();let e=Qa.colors[t];if(e)return En.parse(e)},"parse"),stringify:l(t=>{let e=En.stringify(t);for(let r in Qa.colors)if(Qa.colors[r]===e)return r},"stringify")},Ld=Qa,Np={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:l(t=>{let e=t.charCodeAt(0);if(e!==114&&e!==82)return;let r=t.match(Np.re);if(!r)return;let[,i,n,a,s,o,h,c,u]=r;return hs.set({r:it.channel.clamp.r(n?parseFloat(i)*2.55:parseFloat(i)),g:it.channel.clamp.g(s?parseFloat(a)*2.55:parseFloat(a)),b:it.channel.clamp.b(h?parseFloat(o)*2.55:parseFloat(o)),a:c?it.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},t)},"parse"),stringify:l(t=>{let{r:e,g:r,b:i,a:n}=t;return n<1?`rgba(${it.lang.round(e)}, ${it.lang.round(r)}, ${it.lang.round(i)}, ${it.lang.round(n)})`:`rgb(${it.lang.round(e)}, ${it.lang.round(r)}, ${it.lang.round(i)})`},"stringify")},ja=Np,uv={format:{keyword:Ld,hex:En,rgb:ja,rgba:ja,hsl:qa,hsla:qa},parse:l(t=>{if(typeof t!="string")return t;let e=En.parse(t)||ja.parse(t)||qa.parse(t)||Ld.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},"parse"),stringify:l(t=>!t.changed&&t.color?t.color:t.type.is(Xt.HSL)||t.data.r===void 0?qa.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?ja.stringify(t):En.stringify(t),"stringify")},$e=uv,dv=l((t,e)=>{let r=$e.parse(t);for(let i in e)r[i]=it.channel.clamp[i](e[i]);return $e.stringify(r)},"change"),Rp=dv,pv=l((t,e,r=0,i=1)=>{if(typeof t!="number")return Rp(t,{a:e});let n=hs.set({r:it.channel.clamp.r(t),g:it.channel.clamp.g(e),b:it.channel.clamp.b(r),a:it.channel.clamp.a(i)});return $e.stringify(n)},"rgba"),Dn=pv,fv=l((t,e)=>it.lang.round($e.parse(t)[e]),"channel"),e4=fv,gv=l(t=>{let{r:e,g:r,b:i}=$e.parse(t),n=.2126*it.channel.toLinear(e)+.7152*it.channel.toLinear(r)+.0722*it.channel.toLinear(i);return it.lang.round(n)},"luminance"),mv=gv,yv=l(t=>mv(t)>=.5,"isLight"),xv=yv,bv=l(t=>!xv(t),"isDark"),ya=bv,Cv=l((t,e,r)=>{let i=$e.parse(t),n=i[e],a=it.channel.clamp[e](n+r);return n!==a&&(i[e]=a),$e.stringify(i)},"adjustChannel"),Pp=Cv,kv=l((t,e)=>Pp(t,"l",e),"lighten"),K=kv,wv=l((t,e)=>Pp(t,"l",-e),"darken"),et=wv,_v=l((t,e)=>{let r=$e.parse(t),i={};for(let n in e)e[n]&&(i[n]=r[n]+e[n]);return Rp(t,i)},"adjust"),S=_v,vv=l((t,e,r=50)=>{let{r:i,g:n,b:a,a:s}=$e.parse(t),{r:o,g:h,b:c,a:u}=$e.parse(e),p=r/100,d=p*2-1,f=s-u,g=((d*f===-1?d:(d+f)/(1+d*f))+1)/2,m=1-g,x=i*g+o*m,y=n*g+h*m,b=a*g+c*m,C=s*p+u*(1-p);return Dn(x,y,b,C)},"mix"),$v=vv,Sv=l((t,e=100)=>{let r=$e.parse(t);return r.r=255-r.r,r.g=255-r.g,r.b=255-r.b,$v(r,t,e)},"invert"),q=Sv,cs="#ffffff",us="#f2f2f2",ie=l((t,e)=>e?S(t,{s:-40,l:10}):S(t,{s:-40,l:-10}),"mkBorder"),xi,Tv=(xi=class{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(){var r,i,n,a,s,o,h,c,u,p,d;if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||S(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||S(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||ie(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||ie(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||ie(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||q(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||q(this.tertiaryColor),this.lineColor=this.lineColor||q(this.background),this.arrowheadColor=this.arrowheadColor||q(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?et(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||et(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||q(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||K(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||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.darkMode)for(let f=0;f{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(xi,"Theme"),xi),Mv=l(t=>{let e=new Tv;return e.calculate(t),e},"getThemeVariables"),bi,Bv=(bi=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=K(this.primaryColor,16),this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=q(this.background),this.secondaryBorderColor=ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ie(this.tertiaryColor,this.darkMode),this.primaryTextColor=q(this.primaryColor),this.secondaryTextColor=q(this.secondaryColor),this.tertiaryTextColor=q(this.tertiaryColor),this.lineColor=q(this.background),this.textColor=q(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=K(q("#323D47"),10),this.lineColor="calculated",this.border1="#ccc",this.border2=Dn(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=et("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=et(this.sectionBkgColor,10),this.taskBorderColor=Dn(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=Dn(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(){var e,r,i,n,a,s,o,h,c,u,p;this.secondBkg=K(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=K(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=K(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=S(this.primaryColor,{h:64}),this.fillType3=S(this.secondaryColor,{h:64}),this.fillType4=S(this.primaryColor,{h:-64}),this.fillType5=S(this.secondaryColor,{h:-64}),this.fillType6=S(this.primaryColor,{h:128}),this.fillType7=S(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||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330});for(let d=0;d{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(bi,"Theme"),bi),Av=l(t=>{let e=new Bv;return e.calculate(t),e},"getThemeVariables"),Ci,Lv=(Ci=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=S(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=ie(this.primaryColor,this.darkMode),this.secondaryBorderColor=ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ie(this.tertiaryColor,this.darkMode),this.primaryTextColor=q(this.primaryColor),this.secondaryTextColor=q(this.secondaryColor),this.tertiaryTextColor=q(this.tertiaryColor),this.lineColor=q(this.background),this.textColor=q(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=Dn(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(){var e,r,i,n,a,s,o,h,c,u,p;this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||et(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||et(this.tertiaryColor,40);for(let d=0;d{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(Ci,"Theme"),Ci),Fv=l(t=>{let e=new Lv;return e.calculate(t),e},"getThemeVariables"),ki,Ev=(ki=class{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=K("#cde498",10),this.primaryBorderColor=ie(this.primaryColor,this.darkMode),this.secondaryBorderColor=ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ie(this.tertiaryColor,this.darkMode),this.primaryTextColor=q(this.primaryColor),this.secondaryTextColor=q(this.secondaryColor),this.tertiaryTextColor=q(this.primaryColor),this.lineColor=q(this.background),this.textColor=q(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(){var e,r,i,n,a,s,o,h,c,u,p;this.actorBorder=et(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||S(this.primaryColor,{h:30}),this.cScale4=this.cScale4||S(this.primaryColor,{h:60}),this.cScale5=this.cScale5||S(this.primaryColor,{h:90}),this.cScale6=this.cScale6||S(this.primaryColor,{h:120}),this.cScale7=this.cScale7||S(this.primaryColor,{h:150}),this.cScale8=this.cScale8||S(this.primaryColor,{h:210}),this.cScale9=this.cScale9||S(this.primaryColor,{h:270}),this.cScale10=this.cScale10||S(this.primaryColor,{h:300}),this.cScale11=this.cScale11||S(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||et(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||et(this.tertiaryColor,40);for(let d=0;d{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(ki,"Theme"),ki),Dv=l(t=>{let e=new Ev;return e.calculate(t),e},"getThemeVariables"),wi,Ov=(wi=class{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=K(this.contrast,55),this.background="#ffffff",this.tertiaryColor=S(this.primaryColor,{h:-160}),this.primaryBorderColor=ie(this.primaryColor,this.darkMode),this.secondaryBorderColor=ie(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=ie(this.tertiaryColor,this.darkMode),this.primaryTextColor=q(this.primaryColor),this.secondaryTextColor=q(this.secondaryColor),this.tertiaryTextColor=q(this.tertiaryColor),this.lineColor=q(this.background),this.textColor=q(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(){var e,r,i,n,a,s,o,h,c,u,p;this.secondBkg=K(this.contrast,55),this.border2=this.contrast,this.actorBorder=K(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 d=0;d{this[i]=e[i]}),this.updateColors(),r.forEach(i=>{this[i]=e[i]})}},l(wi,"Theme"),wi),Iv=l(t=>{let e=new Ov;return e.calculate(t),e},"getThemeVariables"),Ve={base:{getThemeVariables:Mv},dark:{getThemeVariables:Av},default:{getThemeVariables:Fv},forest:{getThemeVariables:Dv},neutral:{getThemeVariables:Iv}},er={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},zp={...er,deterministicIDSeed:void 0,elk:{mergeEdges:!1,nodePlacementStrategy:"BRANDES_KOEPF"},themeCSS:void 0,themeVariables:Ve.default.getThemeVariables(),sequence:{...er.sequence,messageFont:l(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont"),noteFont:l(function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},"noteFont"),actorFont:l(function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}},"actorFont")},class:{hideEmptyMembersBox:!1},gantt:{...er.gantt,tickInterval:void 0,useWidth:void 0},c4:{...er.c4,useWidth:void 0,personFont:l(function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},"personFont"),external_personFont:l(function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},"external_personFont"),systemFont:l(function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},"systemFont"),external_systemFont:l(function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},"external_systemFont"),system_dbFont:l(function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},"system_dbFont"),external_system_dbFont:l(function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},"external_system_dbFont"),system_queueFont:l(function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},"system_queueFont"),external_system_queueFont:l(function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},"external_system_queueFont"),containerFont:l(function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},"containerFont"),external_containerFont:l(function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},"external_containerFont"),container_dbFont:l(function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},"container_dbFont"),external_container_dbFont:l(function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},"external_container_dbFont"),container_queueFont:l(function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},"container_queueFont"),external_container_queueFont:l(function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},"external_container_queueFont"),componentFont:l(function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},"componentFont"),external_componentFont:l(function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},"external_componentFont"),component_dbFont:l(function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},"component_dbFont"),external_component_dbFont:l(function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},"external_component_dbFont"),component_queueFont:l(function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},"component_queueFont"),external_component_queueFont:l(function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},"external_component_queueFont"),boundaryFont:l(function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},"boundaryFont"),messageFont:l(function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},"messageFont")},pie:{...er.pie,useWidth:984},xyChart:{...er.xyChart,useWidth:void 0},requirement:{...er.requirement,useWidth:void 0},packet:{...er.packet}},qp=l((t,e="")=>Object.keys(t).reduce((r,i)=>Array.isArray(t[i])?r:typeof t[i]=="object"&&t[i]!==null?[...r,e+i,...qp(t[i],"")]:[...r,e+i],[]),"keyify"),Nv=new Set(qp(zp,"")),jp=zp,ko=l(t=>{if(I.debug("sanitizeDirective called with",t),!(typeof t!="object"||t==null)){if(Array.isArray(t)){t.forEach(e=>ko(e));return}for(let e of Object.keys(t)){if(I.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Nv.has(e)||t[e]==null){I.debug("sanitize deleting key: ",e),delete t[e];continue}if(typeof t[e]=="object"){I.debug("sanitizing object",e),ko(t[e]);continue}let r=["themeCSS","fontFamily","altFontFamily"];for(let i of r)e.includes(i)&&(I.debug("sanitizing css option",e),t[e]=Rv(t[e]))}if(t.themeVariables)for(let e of Object.keys(t.themeVariables)){let r=t.themeVariables[e];r!=null&&r.match&&!r.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}I.debug("After sanitization",t)}},"sanitizeDirective"),Rv=l(t=>{let e=0,r=0;for(let i of t){if(e{let r=Wt({},t),i={};for(let n of e)Yp(n),i=Wt(i,n);if(r=Wt(r,i),i.theme&&i.theme in Ve){let n=Wt({},Wp),a=Wt(n.themeVariables||{},i.themeVariables);r.theme&&r.theme in Ve&&(r.themeVariables=Ve[r.theme].getThemeVariables(a))}return On=r,Vp(On),On},"updateCurrentConfig"),Pv=l(t=>(he=Wt({},Wi),he=Wt(he,t),t.theme&&Ve[t.theme]&&(he.themeVariables=Ve[t.theme].getThemeVariables(t.themeVariables)),ds(he,Ui),he),"setSiteConfig"),zv=l(t=>{Wp=Wt({},t)},"saveConfigFromInitialize"),qv=l(t=>(he=Wt(he,t),ds(he,Ui),he),"updateSiteConfig"),Up=l(()=>Wt({},he),"getSiteConfig"),Hp=l(t=>(Vp(t),Wt(On,t),Se()),"setConfig"),Se=l(()=>Wt({},On),"getConfig"),Yp=l(t=>{t&&(["secure",...he.secure??[]].forEach(e=>{Object.hasOwn(t,e)&&(I.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=>{typeof t[e]=="string"&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],typeof t[e]=="object"&&Yp(t[e])}))},"sanitize"),jv=l(t=>{var e;ko(t),t.fontFamily&&!((e=t.themeVariables)!=null&&e.fontFamily)&&(t.themeVariables={...t.themeVariables,fontFamily:t.fontFamily}),Ui.push(t),ds(he,Ui)},"addDirective"),wo=l((t=he)=>{Ui=[],ds(t,Ui)},"reset"),Wv={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Fd={},Uv=l(t=>{Fd[t]||(I.warn(Wv[t]),Fd[t]=!0)},"issueWarning"),Vp=l(t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Uv("LAZY_LOAD_DEPRECATED")},"checkConfig"),Hn=ma(Lp()),xa=//gi,Hv=l(t=>t?Zp(t).replace(/\\n/g,"#br#").split("#br#"):[""],"getRows"),Yv=(()=>{let t=!1;return()=>{t||(Gp(),t=!0)}})();function Gp(){let t="data-temp-href-target";Hn.default.addHook("beforeSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute("target")&&e.setAttribute(t,e.getAttribute("target")??"")}),Hn.default.addHook("afterSanitizeAttributes",e=>{e.tagName==="A"&&e.hasAttribute(t)&&(e.setAttribute("target",e.getAttribute(t)??""),e.removeAttribute(t),e.getAttribute("target")==="_blank"&&e.setAttribute("rel","noopener"))})}l(Gp,"setupDompurifyHooks");var Xp=l(t=>(Yv(),Hn.default.sanitize(t)),"removeScript"),Ed=l((t,e)=>{var r;if(((r=e.flowchart)==null?void 0:r.htmlLabels)!==!1){let i=e.securityLevel;i==="antiscript"||i==="strict"?t=Xp(t):i!=="loose"&&(t=Zp(t),t=t.replace(//g,">"),t=t.replace(/=/g,"="),t=Zv(t))}return t},"sanitizeMore"),Fr=l((t,e)=>t&&(e.dompurifyConfig?t=Hn.default.sanitize(Ed(t,e),e.dompurifyConfig).toString():t=Hn.default.sanitize(Ed(t,e),{FORBID_TAGS:["style"]}).toString(),t),"sanitizeText"),Vv=l((t,e)=>typeof t=="string"?Fr(t,e):t.flat().map(r=>Fr(r,e)),"sanitizeTextOrArray"),Gv=l(t=>xa.test(t),"hasBreaks"),Xv=l(t=>t.split(xa),"splitBreaks"),Zv=l(t=>t.replace(/#br#/g,"
"),"placeholderToBreak"),Zp=l(t=>t.replace(xa,"#br#"),"breakToPlaceholder"),Kv=l(t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},"getUrl"),Ht=l(t=>!(t===!1||["false","null","0"].includes(String(t).trim().toLowerCase())),"evaluate"),Qv=l(function(...t){let e=t.filter(r=>!isNaN(r));return Math.max(...e)},"getMax"),Jv=l(function(...t){let e=t.filter(r=>!isNaN(r));return Math.min(...e)},"getMin"),r4=l(function(t){let e=t.split(/(,)/),r=[];for(let i=0;i0&&i+1Math.max(0,t.split(e).length-1),"countOccurrence"),t$=l((t,e)=>{let r=Sl(t,"~"),i=Sl(e,"~");return r===1&&i===1},"shouldCombineSets"),e$=l(t=>{let e=Sl(t,"~"),r=!1;if(e<=1)return t;e%2!==0&&t.startsWith("~")&&(t=t.substring(1),r=!0);let i=[...t],n=i.indexOf("~"),a=i.lastIndexOf("~");for(;n!==-1&&a!==-1&&n!==a;)i[n]="<",i[a]=">",n=i.indexOf("~"),a=i.lastIndexOf("~");return r&&i.unshift("~"),i.join("")},"processSet"),Dd=l(()=>window.MathMLElement!==void 0,"isMathMLSupported"),Tl=/\$\$(.*)\$\$/g,Hi=l(t=>{var e;return(((e=t.match(Tl))==null?void 0:e.length)??0)>0},"hasKatex"),i4=l(async(t,e)=>{var n;t=await ic(t,e);let r=document.createElement("div");r.innerHTML=t,r.id="katex-temp",r.style.visibility="hidden",r.style.position="absolute",r.style.top="0",(n=document.querySelector("body"))==null||n.insertAdjacentElement("beforeend",r);let i={width:r.clientWidth,height:r.clientHeight};return r.remove(),i},"calculateMathMLDimensions"),ic=l(async(t,e)=>{if(!Hi(t))return t;if(!(Dd()||e.legacyMathML||e.forceLegacyMathML))return t.replace(Tl,"MathML is unsupported in this environment.");let{default:r}=await _t(()=>import("./katex-SWYD7GD6--uQSGgMc.js"),__vite__mapDeps([0,1])),i=e.forceLegacyMathML||!Dd()&&e.legacyMathML?"htmlAndMathml":"mathml";return t.split(xa).map(n=>Hi(n)?`
${n}
`:`
${n}
`).join("").replace(Tl,(n,a)=>r.renderToString(a,{throwOnError:!0,displayMode:!0,output:i}).replace(/\n/g," ").replace(//g,""))},"renderKatex"),en={getRows:Hv,sanitizeText:Fr,sanitizeTextOrArray:Vv,hasBreaks:Gv,splitBreaks:Xv,lineBreakRegex:xa,removeScript:Xp,getUrl:Kv,evaluate:Ht,getMax:Qv,getMin:Jv},r$=l(function(t,e){for(let r of e)t.attr(r[0],r[1])},"d3Attrs"),i$=l(function(t,e,r){let i=new Map;return r?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},"calculateSvgSizeAttrs"),Kp=l(function(t,e,r,i){let n=i$(e,r,i);r$(t,n)},"configureSvgSize"),n$=l(function(t,e,r,i){let n=e.node().getBBox(),a=n.width,s=n.height;I.info(`SVG bounds: ${a}x${s}`,n);let o=0,h=0;I.info(`Graph bounds: ${o}x${h}`,t),o=a+r*2,h=s+r*2,I.info(`Calculated bounds: ${o}x${h}`),Kp(e,h,o,i);let c=`${n.x-r} ${n.y-r} ${n.width+2*r} ${n.height+2*r}`;e.attr("viewBox",c)},"setupGraphViewbox"),Ja={},a$=l((t,e,r)=>{let i="";return t in Ja&&Ja[t]?i=Ja[t](r):I.warn(`No theme found for ${t}`),` & { font-family: ${r.fontFamily}; font-size: ${r.fontSize}; fill: ${r.textColor} @@ -179,8 +179,8 @@ res:`,Y.polygon(e,c,d)),Y.polygon(e,c,d)},n}l(Ok,"question");async function Ik(t M${u},${p-c} L${u},${p+h}`;e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let y=f.path(x,g),b=n.insert(()=>y,":first-child");return b.attr("transform",`translate(${c/2}, ${c/2})`),b.attr("class","basic label-container"),d&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",d),i&&e.look!=="handDrawn"&&b.selectAll("path").attr("style",i),s.attr("transform",`translate(${-(a.width/2)+c/2-(a.x-(a.left??0))}, ${-(a.height/2)+c/2-(a.y-(a.top??0))})`),Q(e,b),e.intersect=function(C){return Y.polygon(e,m,C)},n}l(rw,"windowPane");async function iw(t,e,r,i,n=r.class.padding??12){let a=i?0:3,s=t.insert("g").attr("class",at(e)).attr("id",e.domId||e.id),o=null,h=null,c=null,u=null,p=0,d=0,f=0;if(o=s.insert("g").attr("class","annotation-group text"),e.annotations.length>0){let b=e.annotations[0];await Mn(o,{text:`«${b}»`},0),p=o.node().getBBox().height}h=s.insert("g").attr("class","label-group text"),await Mn(h,e,0,["font-weight: bolder"]);let g=h.node().getBBox();d=g.height,c=s.insert("g").attr("class","members-group text");let m=0;for(let b of e.members){let C=await Mn(c,b,m,[b.parseClassifier()]);m+=C+a}f=c.node().getBBox().height,f<=0&&(f=n/2),u=s.insert("g").attr("class","methods-group text");let x=0;for(let b of e.methods){let C=await Mn(u,b,x,[b.parseClassifier()]);x+=C+a}let y=s.node().getBBox();if(o!==null){let b=o.node().getBBox();o.attr("transform",`translate(${-b.width/2})`)}return h.attr("transform",`translate(${-g.width/2}, ${p})`),y=s.node().getBBox(),c.attr("transform",`translate(0, ${p+d+n*2})`),y=s.node().getBBox(),u.attr("transform",`translate(0, ${p+d+(f?f+n*4:n*2)})`),y=s.node().getBBox(),{shapeSvg:s,bbox:y}}l(iw,"textHelper");async function Mn(t,e,r,i=[]){let n=t.insert("g").attr("class","label").attr("style",i.join("; ")),a=Se(),s="useHtmlLabels"in e?e.useHtmlLabels:Ht(a.htmlLabels)??!0,o="";"text"in e?o=e.text:o=e.label,!s&&o.startsWith("\\")&&(o=o.substring(1)),Hi(o)&&(s=!0);let h=await on(n,Jp(an(o)),{width:Ki(o,a)+50,classes:"markdown-node-label",useHtmlLabels:s},a),c,u=1;if(s){let p=h.children[0],d=pt(h);u=p.innerHTML.split("
").length,p.innerHTML.includes("")&&(u+=p.innerHTML.split("").length-1);let f=p.getElementsByTagName("img");if(f){let g=o.replace(/]*>/g,"").trim()==="";await Promise.all([...f].map(m=>new Promise(x=>{function y(){var b;if(m.style.display="flex",m.style.flexDirection="column",g){let C=((b=a.fontSize)==null?void 0:b.toString())??window.getComputedStyle(document.body).fontSize,v=parseInt(C,10)*5+"px";m.style.minWidth=v,m.style.maxWidth=v}else m.style.width="100%";x(m)}l(y,"setupImage"),setTimeout(()=>{m.complete&&y()}),m.addEventListener("error",y),m.addEventListener("load",y)})))}c=p.getBoundingClientRect(),d.attr("width",c.width),d.attr("height",c.height)}else{i.includes("font-weight: bolder")&&pt(h).selectAll("tspan").attr("font-weight",""),u=h.children.length;let p=h.children[0];(h.textContent===""||h.textContent.includes(">"))&&(p.textContent=o[0]+o.substring(1).replaceAll(">",">").replaceAll("<","<").trim(),o[1]===" "&&(p.textContent=p.textContent[0]+" "+p.textContent.substring(1))),p.textContent==="undefined"&&(p.textContent=""),c=h.getBBox()}return n.attr("transform","translate(0,"+(-c.height/(2*u)+r)+")"),c.height}l(Mn,"addText");async function nw(t,e){var P,E;let r=mt(),i=r.class.padding??12,n=i,a=e.useHtmlLabels??Ht(r.htmlLabels)??!0,s=e;s.annotations=s.annotations??[],s.members=s.members??[],s.methods=s.methods??[];let{shapeSvg:o,bbox:h}=await iw(t,e,r,a,n),{labelStyles:c,nodeStyles:u}=J(e);e.labelStyle=c,e.cssStyles=s.styles||"";let p=((P=s.styles)==null?void 0:P.join(";"))||u||"";e.cssStyles||(e.cssStyles=p.replaceAll("!important","").split(";"));let d=s.members.length===0&&s.methods.length===0&&!((E=r.class)!=null&&E.hideEmptyMembersBox),f=V.svg(o),g=G(e,{});e.look!=="handDrawn"&&(g.roughness=0,g.fillStyle="solid");let m=h.width,x=h.height;s.members.length===0&&s.methods.length===0?x+=n:s.members.length>0&&s.methods.length===0&&(x+=n*2);let y=-m/2,b=-x/2,C=f.rectangle(y-i,b-i-(d?i:s.members.length===0&&s.methods.length===0?-i/2:0),m+2*i,x+2*i+(d?i*2:s.members.length===0&&s.methods.length===0?-i:0),g),v=o.insert(()=>C,":first-child");v.attr("class","basic label-container");let w=v.node().getBBox();o.selectAll(".text").each((T,N,L)=>{var z;let M=pt(L[N]),F=M.attr("transform"),B=0;if(F){let U=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(F);U&&(B=parseFloat(U[2]))}let D=B+b+i-(d?i:s.members.length===0&&s.methods.length===0?-i/2:0);a||(D-=4);let A=y;(M.attr("class").includes("label-group")||M.attr("class").includes("annotation-group"))&&(A=-((z=M.node())==null?void 0:z.getBBox().width)/2||0,o.selectAll("text").each(function(U,lt,ht){window.getComputedStyle(ht[lt]).textAnchor==="middle"&&(A=0)})),M.attr("transform",`translate(${A}, ${D})`)});let _=o.select(".annotation-group").node().getBBox().height-(d?i/2:0)||0,$=o.select(".label-group").node().getBBox().height-(d?i/2:0)||0,O=o.select(".members-group").node().getBBox().height-(d?i/2:0)||0;if(s.members.length>0||s.methods.length>0||d){let T=f.line(w.x,_+$+b+i,w.x+w.width,_+$+b+i,g);o.insert(()=>T).attr("class","divider").attr("style",p)}if(d||s.members.length>0||s.methods.length>0){let T=f.line(w.x,_+$+O+b+n*2+i,w.x+w.width,_+$+O+b+i+n*2,g);o.insert(()=>T).attr("class","divider").attr("style",p)}if(s.look!=="handDrawn"&&o.selectAll("path").attr("style",p),v.select(":nth-child(2)").attr("style",p),o.selectAll(".divider").select("path").attr("style",p),e.labelStyle?o.selectAll("span").attr("style",e.labelStyle):o.selectAll("span").attr("style",p),!a){let T=RegExp(/color\s*:\s*([^;]*)/),N=T.exec(p);if(N){let L=N[0].replace("color","fill");o.selectAll("tspan").attr("style",L)}else if(c){let L=T.exec(c);if(L){let M=L[0].replace("color","fill");o.selectAll("tspan").attr("style",M)}}}return Q(e,v),e.intersect=function(T){return Y.rect(e,T)},o}l(nw,"classBox");var TA=l(t=>{switch(t){case"Very High":return"red";case"High":return"orange";case"Medium":return null;case"Low":return"blue";case"Very Low":return"lightblue"}},"colorFromPriority");async function aw(t,e,{config:r}){var N,L;let{labelStyles:i,nodeStyles:n}=J(e);e.labelStyle=i||"";let a=10,s=e.width;e.width=(e.width??200)-10;let{shapeSvg:o,bbox:h,label:c}=await nt(t,e,at(e)),u=e.padding||10,p="",d;"ticket"in e&&e.ticket&&((N=r==null?void 0:r.kanban)!=null&&N.ticketBaseUrl)&&(p=(L=r==null?void 0:r.kanban)==null?void 0:L.ticketBaseUrl.replace("#TICKET#",e.ticket),d=o.insert("svg:a",":first-child").attr("class","kanban-ticket-link").attr("xlink:href",p).attr("target","_blank"));let f={useHtmlLabels:e.useHtmlLabels,labelStyle:e.labelStyle||"",width:e.width,img:e.img,padding:e.padding||8,centerLabel:!1},g,m;d?{label:g,bbox:m}=await wl(d,"ticket"in e&&e.ticket||"",f):{label:g,bbox:m}=await wl(o,"ticket"in e&&e.ticket||"",f);let{label:x,bbox:y}=await wl(o,"assigned"in e&&e.assigned||"",f);e.width=s;let b=10,C=(e==null?void 0:e.width)||0,v=Math.max(m.height,y.height)/2,w=Math.max(h.height+b*2,(e==null?void 0:e.height)||0)+v,_=-C/2,$=-w/2;c.attr("transform","translate("+(u-C/2)+", "+(-v-h.height/2)+")"),g.attr("transform","translate("+(u-C/2)+", "+(-v+h.height/2)+")"),x.attr("transform","translate("+(u+C/2-y.width-2*a)+", "+(-v+h.height/2)+")");let O,{rx:P,ry:E}=e,{cssStyles:T}=e;if(e.look==="handDrawn"){let M=V.svg(o),F=G(e,{}),B=P||E?M.path(Je(_,$,C,w,P||0),F):M.rectangle(_,$,C,w,F);O=o.insert(()=>B,":first-child"),O.attr("class","basic label-container").attr("style",T||null)}else{O=o.insert("rect",":first-child"),O.attr("class","basic label-container __APA__").attr("style",n).attr("rx",P??5).attr("ry",E??5).attr("x",_).attr("y",$).attr("width",C).attr("height",w);let M="priority"in e&&e.priority;if(M){let F=o.append("line"),B=_+2,D=$+Math.floor((P??0)/2),A=$+w-Math.floor((P??0)/2);F.attr("x1",B).attr("y1",D).attr("x2",B).attr("y2",A).attr("stroke-width","4").attr("stroke",TA(M))}}return Q(e,O),e.height=w,e.intersect=function(M){return Y.rect(e,M)},o}l(aw,"kanbanItem");var MA=[{semanticName:"Process",name:"Rectangle",shortName:"rect",description:"Standard process shape",aliases:["proc","process","rectangle"],internalAliases:["squareRect"],handler:qk},{semanticName:"Event",name:"Rounded Rectangle",shortName:"rounded",description:"Represents an event",aliases:["event"],internalAliases:["roundedRect"],handler:Rk},{semanticName:"Terminal Point",name:"Stadium",shortName:"stadium",description:"Terminal point",aliases:["terminal","pill"],handler:jk},{semanticName:"Subprocess",name:"Framed Rectangle",shortName:"fr-rect",description:"Subprocess",aliases:["subprocess","subproc","framed-rectangle","subroutine"],handler:Yk},{semanticName:"Database",name:"Cylinder",shortName:"cyl",description:"Database storage",aliases:["db","database","cylinder"],handler:uk},{semanticName:"Start",name:"Circle",shortName:"circle",description:"Starting point",aliases:["circ"],handler:nk},{semanticName:"Decision",name:"Diamond",shortName:"diam",description:"Decision-making step",aliases:["decision","diamond","question"],handler:Ok},{semanticName:"Prepare Conditional",name:"Hexagon",shortName:"hex",description:"Preparation or condition step",aliases:["hexagon","prepare"],handler:xk},{semanticName:"Data Input/Output",name:"Lean Right",shortName:"lean-r",description:"Represents input or output",aliases:["lean-right","in-out"],internalAliases:["lean_right"],handler:Mk},{semanticName:"Data Input/Output",name:"Lean Left",shortName:"lean-l",description:"Represents output or input",aliases:["lean-left","out-in"],internalAliases:["lean_left"],handler:Tk},{semanticName:"Priority Action",name:"Trapezoid Base Bottom",shortName:"trap-b",description:"Priority action",aliases:["priority","trapezoid-bottom","trapezoid"],handler:Kk},{semanticName:"Manual Operation",name:"Trapezoid Base Top",shortName:"trap-t",description:"Represents a manual task",aliases:["manual","trapezoid-top","inv-trapezoid"],internalAliases:["inv_trapezoid"],handler:$k},{semanticName:"Stop",name:"Double Circle",shortName:"dbl-circ",description:"Represents a stop point",aliases:["double-circle"],internalAliases:["doublecircle"],handler:pk},{semanticName:"Text Block",name:"Text Block",shortName:"text",description:"Text block",handler:Xk},{semanticName:"Card",name:"Notched Rectangle",shortName:"notch-rect",description:"Represents a card",aliases:["card","notched-rectangle"],handler:rk},{semanticName:"Lined/Shaded Process",name:"Lined Rectangle",shortName:"lin-rect",description:"Lined process shape",aliases:["lined-rectangle","lined-process","lin-proc","shaded-process"],handler:Pk},{semanticName:"Start",name:"Small Circle",shortName:"sm-circ",description:"Small starting point",aliases:["start","small-circle"],internalAliases:["stateStart"],handler:Hk},{semanticName:"Stop",name:"Framed Circle",shortName:"fr-circ",description:"Stop point",aliases:["stop","framed-circle"],internalAliases:["stateEnd"],handler:Uk},{semanticName:"Fork/Join",name:"Filled Rectangle",shortName:"fork",description:"Fork or join in process flow",aliases:["join"],internalAliases:["forkJoin"],handler:mk},{semanticName:"Collate",name:"Hourglass",shortName:"hourglass",description:"Represents a collate operation",aliases:["hourglass","collate"],handler:bk},{semanticName:"Comment",name:"Curly Brace",shortName:"brace",description:"Adds a comment",aliases:["comment","brace-l"],handler:sk},{semanticName:"Comment Right",name:"Curly Brace",shortName:"brace-r",description:"Adds a comment",handler:lk},{semanticName:"Comment with braces on both sides",name:"Curly Braces",shortName:"braces",description:"Adds a comment",handler:hk},{semanticName:"Com Link",name:"Lightning Bolt",shortName:"bolt",description:"Communication link",aliases:["com-link","lightning-bolt"],handler:Bk},{semanticName:"Document",name:"Document",shortName:"doc",description:"Represents a document",aliases:["doc","document"],handler:tw},{semanticName:"Delay",name:"Half-Rounded Rectangle",shortName:"delay",description:"Represents a delay",aliases:["half-rounded-rectangle"],handler:yk},{semanticName:"Direct Access Storage",name:"Horizontal Cylinder",shortName:"h-cyl",description:"Direct access storage",aliases:["das","horizontal-cylinder"],handler:Zk},{semanticName:"Disk Storage",name:"Lined Cylinder",shortName:"lin-cyl",description:"Disk storage",aliases:["disk","lined-cylinder"],handler:Ak},{semanticName:"Display",name:"Curved Trapezoid",shortName:"curv-trap",description:"Represents a display",aliases:["curved-trapezoid","display"],handler:ck},{semanticName:"Divided Process",name:"Divided Rectangle",shortName:"div-rect",description:"Divided process shape",aliases:["div-proc","divided-rectangle","divided-process"],handler:dk},{semanticName:"Extract",name:"Triangle",shortName:"tri",description:"Extraction process",aliases:["extract","triangle"],handler:Jk},{semanticName:"Internal Storage",name:"Window Pane",shortName:"win-pane",description:"Internal storage",aliases:["internal-storage","window-pane"],handler:rw},{semanticName:"Junction",name:"Filled Circle",shortName:"f-circ",description:"Junction point",aliases:["junction","filled-circle"],handler:fk},{semanticName:"Loop Limit",name:"Trapezoidal Pentagon",shortName:"notch-pent",description:"Loop limit step",aliases:["loop-limit","notched-pentagon"],handler:Qk},{semanticName:"Manual File",name:"Flipped Triangle",shortName:"flip-tri",description:"Manual file operation",aliases:["manual-file","flipped-triangle"],handler:gk},{semanticName:"Manual Input",name:"Sloped Rectangle",shortName:"sl-rect",description:"Manual input step",aliases:["manual-input","sloped-rectangle"],handler:zk},{semanticName:"Multi-Document",name:"Stacked Document",shortName:"docs",description:"Multiple documents",aliases:["documents","st-doc","stacked-document"],handler:Ek},{semanticName:"Multi-Process",name:"Stacked Rectangle",shortName:"st-rect",description:"Multiple processes",aliases:["procs","processes","stacked-rectangle"],handler:Fk},{semanticName:"Stored Data",name:"Bow Tie Rectangle",shortName:"bow-rect",description:"Stored data",aliases:["stored-data","bow-tie-rectangle"],handler:ek},{semanticName:"Summary",name:"Crossed Circle",shortName:"cross-circ",description:"Summary",aliases:["summary","crossed-circle"],handler:ok},{semanticName:"Tagged Document",name:"Tagged Document",shortName:"tag-doc",description:"Tagged document",aliases:["tag-doc","tagged-document"],handler:Gk},{semanticName:"Tagged Process",name:"Tagged Rectangle",shortName:"tag-rect",description:"Tagged process",aliases:["tagged-rectangle","tag-proc","tagged-process"],handler:Vk},{semanticName:"Paper Tape",name:"Flag",shortName:"flag",description:"Paper tape",aliases:["paper-tape"],handler:ew},{semanticName:"Odd",name:"Odd",shortName:"odd",description:"Odd shape",internalAliases:["rect_left_inv_arrow"],handler:Ik},{semanticName:"Lined Document",name:"Lined Document",shortName:"lin-doc",description:"Lined document",aliases:["lined-document"],handler:Lk}],BA=l(()=>{let t=[...Object.entries({state:Wk,choice:ik,note:Dk,rectWithTitle:Nk,labelRect:Sk,iconSquare:_k,iconCircle:kk,icon:Ck,iconRounded:wk,imageSquare:vk,anchor:tk,kanbanItem:aw,classBox:nw}),...MA.flatMap(e=>[e.shortName,..."aliases"in e?e.aliases:[],..."internalAliases"in e?e.internalAliases:[]].map(r=>[r,e.handler]))];return Object.fromEntries(t)},"generateShapeMap"),ow=BA();function AA(t){return t in ow}l(AA,"isValidShape");var Ys=new Map;async function sw(t,e,r){let i,n;e.shape==="rect"&&(e.rx&&e.ry?e.shape="roundedRect":e.shape="squareRect");let a=e.shape?ow[e.shape]:void 0;if(!a)throw new Error(`No such shape: ${e.shape}. Please check your syntax.`);if(e.link){let s;r.config.securityLevel==="sandbox"?s="_top":e.linkTarget&&(s=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",s??null),n=await a(i,e,r)}else n=await a(t,e,r),i=n;return e.tooltip&&n.attr("title",e.tooltip),Ys.set(e.id,i),e.haveCallback&&i.attr("class",i.attr("class")+" clickable"),i}l(sw,"insertNode");var c4=l((t,e)=>{Ys.set(e.id,t)},"setNodeElem"),u4=l(()=>{Ys.clear()},"clear"),d4=l(t=>{let e=Ys.get(t.id);I.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");let r=8,i=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+i-t.width/2)+", "+(t.y-t.height/2-r)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),i},"positionNode"),me={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:4};function Bn(t,e){if(t===void 0||e===void 0)return{angle:0,deltaX:0,deltaY:0};t=St(t),e=St(e);let[r,i]=[t.x,t.y],[n,a]=[e.x,e.y],s=n-r,o=a-i;return{angle:Math.atan(o/s),deltaX:s,deltaY:o}}l(Bn,"calculateDeltaAndAngle");var St=l(t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,"pointTransformer"),LA=l(t=>({x:l(function(e,r,i){let n=0,a=St(i[0]).x=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(me,t.arrowTypeEnd)){let{angle:f,deltaX:g}=Bn(i[i.length-1],i[i.length-2]);n=me[t.arrowTypeEnd]*Math.cos(f)*(g>=0?1:-1)}let s=Math.abs(St(e).x-St(i[i.length-1]).x),o=Math.abs(St(e).y-St(i[i.length-1]).y),h=Math.abs(St(e).x-St(i[0]).x),c=Math.abs(St(e).y-St(i[0]).y),u=me[t.arrowTypeStart],p=me[t.arrowTypeEnd],d=1;if(s0&&o0&&c=0?1:-1)}else if(r===i.length-1&&Object.hasOwn(me,t.arrowTypeEnd)){let{angle:f,deltaY:g}=Bn(i[i.length-1],i[i.length-2]);n=me[t.arrowTypeEnd]*Math.abs(Math.sin(f))*(g>=0?1:-1)}let s=Math.abs(St(e).y-St(i[i.length-1]).y),o=Math.abs(St(e).x-St(i[i.length-1]).x),h=Math.abs(St(e).y-St(i[0]).y),c=Math.abs(St(e).x-St(i[0]).x),u=me[t.arrowTypeStart],p=me[t.arrowTypeEnd],d=1;if(s0&&o0&&c{e.arrowTypeStart&&yp(t,"start",e.arrowTypeStart,r,i,n),e.arrowTypeEnd&&yp(t,"end",e.arrowTypeEnd,r,i,n)},"addEdgeMarkers"),EA={arrow_cross:"cross",arrow_point:"point",arrow_barb:"barb",arrow_circle:"circle",aggregation:"aggregation",extension:"extension",composition:"composition",dependency:"dependency",lollipop:"lollipop"},yp=l((t,e,r,i,n,a)=>{let s=EA[r];if(!s){I.warn(`Unknown arrow type: ${r}`);return}let o=e==="start"?"Start":"End";t.attr(`marker-${e}`,`url(${i}#${n}_${a}-${s}${o})`)},"addEdgeMarker"),ns=new Map,jt=new Map,p4=l(()=>{ns.clear(),jt.clear()},"clear"),kn=l(t=>t?t.reduce((e,r)=>e+";"+r,""):"","getLabelStyles"),DA=l(async(t,e)=>{let r=Ht(mt().flowchart.htmlLabels),i=await on(t,e.label,{style:kn(e.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1});I.info("abc82",e,e.labelType);let n=t.insert("g").attr("class","edgeLabel"),a=n.insert("g").attr("class","label");a.node().appendChild(i);let s=i.getBBox();if(r){let h=i.children[0],c=pt(i);s=h.getBoundingClientRect(),c.attr("width",s.width),c.attr("height",s.height)}a.attr("transform","translate("+-s.width/2+", "+-s.height/2+")"),ns.set(e.id,n),e.width=s.width,e.height=s.height;let o;if(e.startLabelLeft){let h=await Br(e.startLabelLeft,kn(e.labelStyle)),c=t.insert("g").attr("class","edgeTerminals"),u=c.insert("g").attr("class","inner");o=u.node().appendChild(h);let p=h.getBBox();u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),jt.get(e.id)||jt.set(e.id,{}),jt.get(e.id).startLeft=c,An(o,e.startLabelLeft)}if(e.startLabelRight){let h=await Br(e.startLabelRight,kn(e.labelStyle)),c=t.insert("g").attr("class","edgeTerminals"),u=c.insert("g").attr("class","inner");o=c.node().appendChild(h),u.node().appendChild(h);let p=h.getBBox();u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),jt.get(e.id)||jt.set(e.id,{}),jt.get(e.id).startRight=c,An(o,e.startLabelRight)}if(e.endLabelLeft){let h=await Br(e.endLabelLeft,kn(e.labelStyle)),c=t.insert("g").attr("class","edgeTerminals"),u=c.insert("g").attr("class","inner");o=u.node().appendChild(h);let p=h.getBBox();u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),c.node().appendChild(h),jt.get(e.id)||jt.set(e.id,{}),jt.get(e.id).endLeft=c,An(o,e.endLabelLeft)}if(e.endLabelRight){let h=await Br(e.endLabelRight,kn(e.labelStyle)),c=t.insert("g").attr("class","edgeTerminals"),u=c.insert("g").attr("class","inner");o=u.node().appendChild(h);let p=h.getBBox();u.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),c.node().appendChild(h),jt.get(e.id)||jt.set(e.id,{}),jt.get(e.id).endRight=c,An(o,e.endLabelRight)}return i},"insertEdgeLabel");function An(t,e){mt().flowchart.htmlLabels&&t&&(t.style.width=e.length*9+"px",t.style.height="12px")}l(An,"setTerminalWidth");var OA=l((t,e)=>{I.debug("Moving label abc88 ",t.id,t.label,ns.get(t.id),e);let r=e.updatedPath?e.updatedPath:e.originalPath,i=mt(),{subGraphTitleTotalMargin:n}=bu(i);if(t.label){let a=ns.get(t.id),s=t.x,o=t.y;if(r){let h=Fe.calcLabelPosition(r);I.debug("Moving label "+t.label+" from (",s,",",o,") to (",h.x,",",h.y,") abc88"),e.updatedPath&&(s=h.x,o=h.y)}a.attr("transform",`translate(${s}, ${o+n/2})`)}if(t.startLabelLeft){let a=jt.get(t.id).startLeft,s=t.x,o=t.y;if(r){let h=Fe.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",r);s=h.x,o=h.y}a.attr("transform",`translate(${s}, ${o})`)}if(t.startLabelRight){let a=jt.get(t.id).startRight,s=t.x,o=t.y;if(r){let h=Fe.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",r);s=h.x,o=h.y}a.attr("transform",`translate(${s}, ${o})`)}if(t.endLabelLeft){let a=jt.get(t.id).endLeft,s=t.x,o=t.y;if(r){let h=Fe.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",r);s=h.x,o=h.y}a.attr("transform",`translate(${s}, ${o})`)}if(t.endLabelRight){let a=jt.get(t.id).endRight,s=t.x,o=t.y;if(r){let h=Fe.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",r);s=h.x,o=h.y}a.attr("transform",`translate(${s}, ${o})`)}},"positionEdgeLabel"),IA=l((t,e)=>{let r=t.x,i=t.y,n=Math.abs(e.x-r),a=Math.abs(e.y-i),s=t.width/2,o=t.height/2;return n>=s||a>=o},"outsideNode"),NA=l((t,e,r)=>{I.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),s=t.width/2,o=r.xMath.abs(i-e.x)*h){let p=r.y{I.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach(a=>{if(I.info("abc88 checking point",a,e),!IA(e,a)&&!n){let s=NA(e,i,a);I.debug("abc88 inside",a,i,s),I.debug("abc88 intersection",s,e);let o=!1;r.forEach(h=>{o=o||h.x===s.x&&h.y===s.y}),r.some(h=>h.x===s.x&&h.y===s.y)?I.warn("abc88 no intersect",s,r):r.push(s),n=!0}else I.warn("abc88 outside",a,i),i=a,n||r.push(a)}),I.debug("returning points",r),r},"cutPathAtIntersect");function lw(t){let e=[],r=[];for(let i=1;i5&&Math.abs(a.y-n.y)>5||n.y===a.y&&a.x===s.x&&Math.abs(a.x-n.x)>5&&Math.abs(a.y-s.y)>5)&&(e.push(a),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}l(lw,"extractCornerPoints");var bp=l(function(t,e,r){let i=e.x-t.x,n=e.y-t.y,a=Math.sqrt(i*i+n*n),s=r/a;return{x:e.x-s*i,y:e.y-s*n}},"findAdjacentPoint"),RA=l(function(t){let{cornerPointPositions:e}=lw(t),r=[];for(let i=0;i10&&Math.abs(a.y-n.y)>=10){I.debug("Corner point fixing",Math.abs(a.x-n.x),Math.abs(a.y-n.y));let f=5;s.x===o.x?d={x:c<0?o.x-f+p:o.x+f-p,y:u<0?o.y-p:o.y+p}:d={x:c<0?o.x-p:o.x+p,y:u<0?o.y-f+p:o.y+f-p}}else I.debug("Corner point skipping fixing",Math.abs(a.x-n.x),Math.abs(a.y-n.y));r.push(d,h)}else r.push(t[i]);return r},"fixCorners"),PA=l(function(t,e,r,i,n,a,s){let{handDrawnSeed:o}=mt(),h=e.points,c=!1,u=n;var p=a;p.intersect&&u.intersect&&(h=h.slice(1,e.points.length-1),h.unshift(u.intersect(h[0])),I.debug("Last point APA12",e.start,"-->",e.end,h[h.length-1],p,p.intersect(h[h.length-1])),h.push(p.intersect(h[h.length-1]))),e.toCluster&&(I.info("to cluster abc88",r.get(e.toCluster)),h=xp(e.points,r.get(e.toCluster).node),c=!0),e.fromCluster&&(I.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(h,null,2)),h=xp(h.reverse(),r.get(e.fromCluster).node).reverse(),c=!0);let d=h.filter($=>!Number.isNaN($.y));d=RA(d);let f=Zc;e.curve&&(f=e.curve);let{x:g,y:m}=LA(e),x=oy().x(g).y(m).curve(f),y;switch(e.thickness){case"normal":y="edge-thickness-normal";break;case"thick":y="edge-thickness-thick";break;case"invisible":y="edge-thickness-invisible";break;default:y="edge-thickness-normal"}switch(e.pattern){case"solid":y+=" edge-pattern-solid";break;case"dotted":y+=" edge-pattern-dotted";break;case"dashed":y+=" edge-pattern-dashed";break;default:y+=" edge-pattern-solid"}let b,C=x(d),v=Array.isArray(e.style)?e.style:[e.style];if(e.look==="handDrawn"){let $=V.svg(t);Object.assign([],d);let O=$.path(C,{roughness:.3,seed:o});y+=" transition",b=pt(O).select("path").attr("id",e.id).attr("class"," "+y+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((E,T)=>E+";"+T,""):"");let P=b.attr("d");b.attr("d",P),t.node().appendChild(b.node())}else b=t.append("path").attr("d",C).attr("id",e.id).attr("class"," "+y+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce(($,O)=>$+";"+O,""):"");let w="";(mt().flowchart.arrowMarkerAbsolute||mt().state.arrowMarkerAbsolute)&&(w=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,w=w.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),I.info("arrowTypeStart",e.arrowTypeStart),I.info("arrowTypeEnd",e.arrowTypeEnd),FA(b,e,w,s,i);let _={};return c&&(_.updatedPath=h),_.originalPath=e.points,_},"insertEdge"),zA=l((t,e,r,i)=>{e.forEach(n=>{ZA[n](t,r,i)})},"insertMarkers"),qA=l((t,e,r)=>{I.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"),jA=l((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"),WA=l((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"),UA=l((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"),HA=l((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"),YA=l((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"),VA=l((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"),GA=l((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"),XA=l((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"),ZA={extension:qA,composition:jA,aggregation:WA,dependency:UA,lollipop:HA,point:YA,circle:VA,cross:GA,barb:XA},KA=zA,QA={common:en,getConfig:Se,insertCluster:uA,insertEdge:PA,insertEdgeLabel:DA,insertMarkers:KA,insertNode:sw,interpolateToCurve:Tu,labelHelper:nt,log:I,positionEdgeLabel:OA},ga={},hw=l(t=>{for(let e of t)ga[e.name]=e},"registerLayoutLoaders"),JA=l(()=>{hw([{name:"dagre",loader:l(async()=>await _t(()=>import("./dagre-2P6XN26F-CNdnaWyC.js"),__vite__mapDeps([2,3,4,5,1])),"loader")}])},"registerDefaultLayoutLoaders");JA();var f4=l(async(t,e)=>{if(!(t.layoutAlgorithm in ga))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=ga[t.layoutAlgorithm];return(await r.loader()).render(t,e,QA,{algorithm:r.algorithm})},"render"),g4=l((t="",{fallback:e="dagre"}={})=>{if(t in ga)return t;if(e in ga)return I.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm"),tL=k2(Object.keys,Object),eL=tL,rL=Object.prototype,iL=rL.hasOwnProperty;function cw(t){if(!Ns(t))return eL(t);var e=[];for(var r in Object(t))iL.call(t,r)&&r!="constructor"&&e.push(r);return e}l(cw,"baseKeys");var nL=cw,aL=Wr(Ne,"DataView"),Vh=aL,oL=Wr(Ne,"Promise"),Gh=oL,sL=Wr(Ne,"Set"),Xh=sL,lL=Wr(Ne,"WeakMap"),Zh=lL,Cp="[object Map]",hL="[object Object]",kp="[object Promise]",wp="[object Set]",_p="[object WeakMap]",vp="[object DataView]",cL=jr(Vh),uL=jr(ua),dL=jr(Gh),pL=jr(Xh),fL=jr(Zh),wr=nn;(Vh&&wr(new Vh(new ArrayBuffer(1)))!=vp||ua&&wr(new ua)!=Cp||Gh&&wr(Gh.resolve())!=kp||Xh&&wr(new Xh)!=wp||Zh&&wr(new Zh)!=_p)&&(wr=l(function(t){var e=nn(t),r=e==hL?t.constructor:void 0,i=r?jr(r):"";if(i)switch(i){case cL:return vp;case uL:return Cp;case dL:return kp;case pL:return wp;case fL:return _p}return e},"getTag"));var gL=wr,mL="[object Map]",yL="[object Set]",xL=Object.prototype,bL=xL.hasOwnProperty;function uw(t){if(t==null)return!0;if(Rs(t)&&(Xo(t)||typeof t=="string"||typeof t.splice=="function"||vu(t)||$u(t)||Go(t)))return!t.length;var e=gL(t);if(e==mL||e==yL)return!t.size;if(Ns(t))return!nL(t).length;for(var r in t)if(bL.call(t,r))return!1;return!0}l(uw,"isEmpty");var $p=uw,dw="c4",CL=l(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),kL=l(async()=>{let{diagram:t}=await _t(()=>import("./c4Diagram-AKI3UION-mbP9p-CA.js"),__vite__mapDeps([6,7,1]));return{id:dw,diagram:t}},"loader"),wL={id:dw,detector:CL,loader:kL},_L=wL,pw="flowchart",vL=l((t,e)=>{var r,i;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-wrapper"||((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},"detector"),$L=l(async()=>{let{diagram:t}=await _t(()=>import("./flowDiagram-INP2BB3V-BDN-Qq5Z.js"),__vite__mapDeps([8,9,1]));return{id:pw,diagram:t}},"loader"),SL={id:pw,detector:vL,loader:$L},TL=SL,fw="flowchart-v2",ML=l((t,e)=>{var r,i,n;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-d3"?!1:(((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"&&(e.layout="elk"),/^\s*graph/.test(t)&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t))},"detector"),BL=l(async()=>{let{diagram:t}=await _t(()=>import("./flowDiagram-INP2BB3V-BDN-Qq5Z.js"),__vite__mapDeps([8,9,1]));return{id:fw,diagram:t}},"loader"),AL={id:fw,detector:ML,loader:BL},LL=AL,gw="er",FL=l(t=>/^\s*erDiagram/.test(t),"detector"),EL=l(async()=>{let{diagram:t}=await _t(()=>import("./erDiagram-SZV2UBQT-GmnSGfYe.js"),__vite__mapDeps([10,3,4,5,1]));return{id:gw,diagram:t}},"loader"),DL={id:gw,detector:FL,loader:EL},OL=DL,mw="gitGraph",IL=l(t=>/^\s*gitGraph/.test(t),"detector"),NL=l(async()=>{let{diagram:t}=await _t(()=>import("./gitGraphDiagram-6HF727YA-B4uP3NYa.js"),__vite__mapDeps([11,12,13,14,1,5]));return{id:mw,diagram:t}},"loader"),RL={id:mw,detector:IL,loader:NL},PL=RL,yw="gantt",zL=l(t=>/^\s*gantt/.test(t),"detector"),qL=l(async()=>{let{diagram:t}=await _t(()=>import("./ganttDiagram-547IIDY5-ZkMggwVG.js"),__vite__mapDeps([15,1]));return{id:yw,diagram:t}},"loader"),jL={id:yw,detector:zL,loader:qL},WL=jL,xw="info",UL=l(t=>/^\s*info/.test(t),"detector"),HL=l(async()=>{let{diagram:t}=await _t(()=>import("./infoDiagram-A4XEPD65-Dz3r-dhe.js"),__vite__mapDeps([16,14,1,5]));return{id:xw,diagram:t}},"loader"),YL={id:xw,detector:UL,loader:HL},bw="pie",VL=l(t=>/^\s*pie/.test(t),"detector"),GL=l(async()=>{let{diagram:t}=await _t(()=>import("./pieDiagram-XPKEEGBI-myoNvJLr.js"),__vite__mapDeps([17,13,14,1,5]));return{id:bw,diagram:t}},"loader"),XL={id:bw,detector:VL,loader:GL},Cw="quadrantChart",ZL=l(t=>/^\s*quadrantChart/.test(t),"detector"),KL=l(async()=>{let{diagram:t}=await _t(()=>import("./quadrantDiagram-QS23HHJP-pZjrxgY7.js"),__vite__mapDeps([18,1]));return{id:Cw,diagram:t}},"loader"),QL={id:Cw,detector:ZL,loader:KL},JL=QL,kw="xychart",tF=l(t=>/^\s*xychart-beta/.test(t),"detector"),eF=l(async()=>{let{diagram:t}=await _t(()=>import("./xychartDiagram-MWHWHLMU-DkqpAe_J.js"),__vite__mapDeps([19,1]));return{id:kw,diagram:t}},"loader"),rF={id:kw,detector:tF,loader:eF},iF=rF,ww="requirement",nF=l(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),aF=l(async()=>{let{diagram:t}=await _t(()=>import("./requirementDiagram-5WTT3577-CJ34XcJ8.js"),__vite__mapDeps([20,3,4,5,1]));return{id:ww,diagram:t}},"loader"),oF={id:ww,detector:nF,loader:aF},sF=oF,_w="sequence",lF=l(t=>/^\s*sequenceDiagram/.test(t),"detector"),hF=l(async()=>{let{diagram:t}=await _t(()=>import("./sequenceDiagram-7SUASMRF-B7d5k5uv.js"),__vite__mapDeps([21,12,7,1]));return{id:_w,diagram:t}},"loader"),cF={id:_w,detector:lF,loader:hF},uF=cF,vw="class",dF=l((t,e)=>{var r;return((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},"detector"),pF=l(async()=>{let{diagram:t}=await _t(()=>import("./classDiagram-LGTRVITY-uCUyMHA9.js"),__vite__mapDeps([22,23,9,1]));return{id:vw,diagram:t}},"loader"),fF={id:vw,detector:dF,loader:pF},gF=fF,$w="classDiagram",mF=l((t,e)=>{var r;return/^\s*classDiagram/.test(t)&&((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},"detector"),yF=l(async()=>{let{diagram:t}=await _t(()=>import("./classDiagram-v2-UI22WKGF-uCUyMHA9.js"),__vite__mapDeps([24,23,9,1]));return{id:$w,diagram:t}},"loader"),xF={id:$w,detector:mF,loader:yF},bF=xF,Sw="state",CF=l((t,e)=>{var r;return((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},"detector"),kF=l(async()=>{let{diagram:t}=await _t(()=>import("./stateDiagram-SUF43ZVU-DDaxo5HN.js"),__vite__mapDeps([25,26,9,3,4,5,1]));return{id:Sw,diagram:t}},"loader"),wF={id:Sw,detector:CF,loader:kF},_F=wF,Tw="stateDiagram",vF=l((t,e)=>{var r;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},"detector"),$F=l(async()=>{let{diagram:t}=await _t(()=>import("./stateDiagram-v2-DVB4EDRD-Burek0lL.js"),__vite__mapDeps([27,26,9,1]));return{id:Tw,diagram:t}},"loader"),SF={id:Tw,detector:vF,loader:$F},TF=SF,Mw="journey",MF=l(t=>/^\s*journey/.test(t),"detector"),BF=l(async()=>{let{diagram:t}=await _t(()=>import("./journeyDiagram-5ML6LF3B-TYBVFke4.js"),__vite__mapDeps([28,7,1]));return{id:Mw,diagram:t}},"loader"),AF={id:Mw,detector:MF,loader:BF},LF=AF,FF=l((t,e,r)=>{I.debug(`rendering svg for syntax error -`);let i=vS(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),Kp(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"),Bw={draw:FF},EF=Bw,DF={db:{},renderer:Bw,parser:{parse:l(()=>{},"parse")}},OF=DF,Aw="flowchart-elk",IF=l((t,e={})=>{var r;return/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?(e.layout="elk",!0):!1},"detector"),NF=l(async()=>{let{diagram:t}=await _t(()=>import("./flowDiagram-INP2BB3V-BDN-Qq5Z.js"),__vite__mapDeps([8,9,1]));return{id:Aw,diagram:t}},"loader"),RF={id:Aw,detector:IF,loader:NF},PF=RF,Lw="timeline",zF=l(t=>/^\s*timeline/.test(t),"detector"),qF=l(async()=>{let{diagram:t}=await _t(()=>import("./timeline-definition-QPOBMAB2-BKUeN9AK.js"),__vite__mapDeps([29,1]));return{id:Lw,diagram:t}},"loader"),jF={id:Lw,detector:zF,loader:qF},WF=jF,Fw="mindmap",UF=l(t=>/^\s*mindmap/.test(t),"detector"),HF=l(async()=>{let{diagram:t}=await _t(()=>import("./mindmap-definition-PE66ZM2U-C--zjrRT.js"),__vite__mapDeps([30,31,1]));return{id:Fw,diagram:t}},"loader"),YF={id:Fw,detector:UF,loader:HF},VF=YF,Ew="kanban",GF=l(t=>/^\s*kanban/.test(t),"detector"),XF=l(async()=>{let{diagram:t}=await _t(()=>import("./kanban-definition-EGOKAUOG-B-dvYgH1.js"),__vite__mapDeps([32,1]));return{id:Ew,diagram:t}},"loader"),ZF={id:Ew,detector:GF,loader:XF},KF=ZF,Dw="sankey",QF=l(t=>/^\s*sankey-beta/.test(t),"detector"),JF=l(async()=>{let{diagram:t}=await _t(()=>import("./sankeyDiagram-HGVHE3RK-Duct998W.js"),__vite__mapDeps([33,1]));return{id:Dw,diagram:t}},"loader"),t6={id:Dw,detector:QF,loader:JF},e6=t6,Ow="packet",r6=l(t=>/^\s*packet-beta/.test(t),"detector"),i6=l(async()=>{let{diagram:t}=await _t(()=>import("./diagram-D2J2JSCM-B7vOaT1V.js"),__vite__mapDeps([34,13,14,1,5]));return{id:Ow,diagram:t}},"loader"),n6={id:Ow,detector:r6,loader:i6},Iw="block",a6=l(t=>/^\s*block-beta/.test(t),"detector"),o6=l(async()=>{let{diagram:t}=await _t(()=>import("./blockDiagram-MYUW6R5Q-QBsgXq_V.js"),__vite__mapDeps([35,4,5,1]));return{id:Iw,diagram:t}},"loader"),s6={id:Iw,detector:a6,loader:o6},l6=s6,Nw="architecture",h6=l(t=>/^\s*architecture/.test(t),"detector"),c6=l(async()=>{let{diagram:t}=await _t(()=>import("./architectureDiagram-QTIGHTN5-CaU-lPZ7.js"),__vite__mapDeps([36,31,12,13,14,1,5]));return{id:Nw,diagram:t}},"loader"),u6={id:Nw,detector:h6,loader:c6},d6=u6,Sp=!1,Vs=l(()=>{Sp||(Sp=!0,vo("error",OF,t=>t.toLowerCase().trim()==="error"),vo("---",{db:{clear:l(()=>{},"clear")},styles:{},renderer:{draw:l(()=>{},"draw")},parser:{parse:l(()=>{throw new 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:l(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),Dp(_L,KF,bF,gF,OL,WL,YL,XL,sF,uF,PF,LL,TL,VF,WF,PL,TF,_F,LF,JL,e6,n6,iF,l6,d6))},"addDiagrams"),p6=l(async()=>{I.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(ji).map(async([e,{detector:r,loader:i}])=>{if(i)try{Ml(e)}catch{try{let{diagram:n,id:a}=await i();vo(a,n,r)}catch(n){throw I.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete ji[e],n}}}))).filter(e=>e.status==="rejected");if(t.length>0){I.error(`Failed to load ${t.length} external diagrams`);for(let e of t)I.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),Rw="comm",Pw="rule",zw="decl",f6="@import",g6="@keyframes",m6="@layer",qw=Math.abs,Zu=String.fromCharCode;function Ku(t){return t.trim()}l(Ku,"trim");function jn(t,e,r){return t.replace(e,r)}l(jn,"replace");function jw(t,e,r){return t.indexOf(e,r)}l(jw,"indexof");function Qi(t,e){return t.charCodeAt(e)|0}l(Qi,"charat");function Rr(t,e,r){return t.slice(e,r)}l(Rr,"substr");function we(t){return t.length}l(we,"strlen");function Ww(t){return t.length}l(Ww,"sizeof");function Ln(t,e){return e.push(t),t}l(Ln,"append");var Gs=1,Ji=1,Uw=0,Ce=0,Ft=0,cn="";function Xs(t,e,r,i,n,a,s,o){return{value:t,root:e,parent:r,type:i,props:n,children:a,line:Gs,column:Ji,length:s,return:"",siblings:o}}l(Xs,"node");function Hw(){return Ft}l(Hw,"char");function Yw(){return Ft=Ce>0?Qi(cn,--Ce):0,Ji--,Ft===10&&(Ji=1,Gs--),Ft}l(Yw,"prev");function be(){return Ft=Ce2||tn(Ft)>3?"":" "}l(Xw,"whitespace");function Zw(t,e){for(;--e&&be()&&!(Ft<48||Ft>102||Ft>57&&Ft<65||Ft>70&&Ft<97););return Fa(t,Wn()+(e<6&&Ye()==32&&be()==32))}l(Zw,"escaping");function as(t){for(;be();)switch(Ft){case t:return Ce;case 34:case 39:t!==34&&t!==39&&as(Ft);break;case 40:t===41&&as(t);break;case 92:be();break}return Ce}l(as,"delimiter");function Kw(t,e){for(;be()&&t+Ft!==57&&!(t+Ft===84&&Ye()===47););return"/*"+Fa(e,Ce-1)+"*"+Zu(t===47?t:be())}l(Kw,"commenter");function Qw(t){for(;!tn(Ye());)be();return Fa(t,Ce)}l(Qw,"identifier");function Jw(t){return Gw(Un("",null,null,null,[""],t=Vw(t),0,[0],t))}l(Jw,"compile");function Un(t,e,r,i,n,a,s,o,h){for(var c=0,u=0,p=s,d=0,f=0,g=0,m=1,x=1,y=1,b=0,C="",v=n,w=a,_=i,$=C;x;)switch(g=b,b=be()){case 40:if(g!=108&&Qi($,p-1)==58){jw($+=jn(Co(b),"&","&\f"),"&\f",qw(c?o[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:$+=Co(b);break;case 9:case 10:case 13:case 32:$+=Xw(g);break;case 92:$+=Zw(Wn()-1,7);continue;case 47:switch(Ye()){case 42:case 47:Ln(t_(Kw(be(),Wn()),e,r,h),h),(tn(g||1)==5||tn(Ye()||1)==5)&&we($)&&Rr($,-1,void 0)!==" "&&($+=" ");break;default:$+="/"}break;case 123*m:o[c++]=we($)*y;case 125*m:case 59:case 0:switch(b){case 0:case 125:x=0;case 59+u:y==-1&&($=jn($,/\f/g,"")),f>0&&(we($)-p||m===0&&g===47)&&Ln(f>32?Qh($+";",i,r,p-1,h):Qh(jn($," ","")+";",i,r,p-2,h),h);break;case 59:$+=";";default:if(Ln(_=Kh($,e,r,c,u,n,o,C,v=[],w=[],p,a),a),b===123)if(u===0)Un($,e,_,_,v,a,p,o,w);else switch(d===99&&Qi($,3)===110?100:d){case 100:case 108:case 109:case 115:Un(t,_,_,i&&Ln(Kh(t,_,_,0,0,n,o,C,n,v=[],p,w),w),n,w,p,o,i?v:w);break;default:Un($,_,_,_,[""],w,0,o,w)}}c=u=f=0,m=y=1,C=$="",p=s;break;case 58:p=1+we($),f=g;default:if(m<1){if(b==123)--m;else if(b==125&&m++==0&&Yw()==125)continue}switch($+=Zu(b),b*m){case 38:y=u>0?1:($+="\f",-1);break;case 44:o[c++]=(we($)-1)*y,y=1;break;case 64:Ye()===45&&($+=Co(be())),d=Ye(),u=p=we(C=$+=Qw(Wn())),b++;break;case 45:g===45&&we($)==2&&(m=0)}}return a}l(Un,"parse");function Kh(t,e,r,i,n,a,s,o,h,c,u,p){for(var d=n-1,f=n===0?a:[""],g=Ww(f),m=0,x=0,y=0;m0?f[b]+" "+C:jn(C,/&\f/g,f[b])))&&(h[y++]=v);return Xs(t,e,r,n===0?Pw:o,h,c,u,p)}l(Kh,"ruleset");function t_(t,e,r,i){return Xs(t,e,r,Rw,Zu(Hw()),Rr(t,2,-2),0,i)}l(t_,"comment");function Qh(t,e,r,i,n){return Xs(t,e,r,zw,Rr(t,0,i),Rr(t,i+1,-1),i,n)}l(Qh,"declaration");function os(t,e){for(var r="",i=0;iMath.abs(i-e.x)*h){let p=r.y{I.warn("abc88 cutPathAtIntersect",t,e);let r=[],i=t[0],n=!1;return t.forEach(a=>{if(I.info("abc88 checking point",a,e),!IA(e,a)&&!n){let s=NA(e,i,a);I.debug("abc88 inside",a,i,s),I.debug("abc88 intersection",s,e);let o=!1;r.forEach(h=>{o=o||h.x===s.x&&h.y===s.y}),r.some(h=>h.x===s.x&&h.y===s.y)?I.warn("abc88 no intersect",s,r):r.push(s),n=!0}else I.warn("abc88 outside",a,i),i=a,n||r.push(a)}),I.debug("returning points",r),r},"cutPathAtIntersect");function lw(t){let e=[],r=[];for(let i=1;i5&&Math.abs(a.y-n.y)>5||n.y===a.y&&a.x===s.x&&Math.abs(a.x-n.x)>5&&Math.abs(a.y-s.y)>5)&&(e.push(a),r.push(i))}return{cornerPoints:e,cornerPointPositions:r}}l(lw,"extractCornerPoints");var bp=l(function(t,e,r){let i=e.x-t.x,n=e.y-t.y,a=Math.sqrt(i*i+n*n),s=r/a;return{x:e.x-s*i,y:e.y-s*n}},"findAdjacentPoint"),RA=l(function(t){let{cornerPointPositions:e}=lw(t),r=[];for(let i=0;i10&&Math.abs(a.y-n.y)>=10){I.debug("Corner point fixing",Math.abs(a.x-n.x),Math.abs(a.y-n.y));let f=5;s.x===o.x?d={x:c<0?o.x-f+p:o.x+f-p,y:u<0?o.y-p:o.y+p}:d={x:c<0?o.x-p:o.x+p,y:u<0?o.y-f+p:o.y+f-p}}else I.debug("Corner point skipping fixing",Math.abs(a.x-n.x),Math.abs(a.y-n.y));r.push(d,h)}else r.push(t[i]);return r},"fixCorners"),PA=l(function(t,e,r,i,n,a,s){let{handDrawnSeed:o}=mt(),h=e.points,c=!1,u=n;var p=a;p.intersect&&u.intersect&&(h=h.slice(1,e.points.length-1),h.unshift(u.intersect(h[0])),I.debug("Last point APA12",e.start,"-->",e.end,h[h.length-1],p,p.intersect(h[h.length-1])),h.push(p.intersect(h[h.length-1]))),e.toCluster&&(I.info("to cluster abc88",r.get(e.toCluster)),h=xp(e.points,r.get(e.toCluster).node),c=!0),e.fromCluster&&(I.debug("from cluster abc88",r.get(e.fromCluster),JSON.stringify(h,null,2)),h=xp(h.reverse(),r.get(e.fromCluster).node).reverse(),c=!0);let d=h.filter($=>!Number.isNaN($.y));d=RA(d);let f=Zc;e.curve&&(f=e.curve);let{x:g,y:m}=LA(e),x=oy().x(g).y(m).curve(f),y;switch(e.thickness){case"normal":y="edge-thickness-normal";break;case"thick":y="edge-thickness-thick";break;case"invisible":y="edge-thickness-invisible";break;default:y="edge-thickness-normal"}switch(e.pattern){case"solid":y+=" edge-pattern-solid";break;case"dotted":y+=" edge-pattern-dotted";break;case"dashed":y+=" edge-pattern-dashed";break;default:y+=" edge-pattern-solid"}let b,C=x(d),v=Array.isArray(e.style)?e.style:[e.style];if(e.look==="handDrawn"){let $=V.svg(t);Object.assign([],d);let O=$.path(C,{roughness:.3,seed:o});y+=" transition",b=pt(O).select("path").attr("id",e.id).attr("class"," "+y+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce((E,T)=>E+";"+T,""):"");let P=b.attr("d");b.attr("d",P),t.node().appendChild(b.node())}else b=t.append("path").attr("d",C).attr("id",e.id).attr("class"," "+y+(e.classes?" "+e.classes:"")).attr("style",v?v.reduce(($,O)=>$+";"+O,""):"");let w="";(mt().flowchart.arrowMarkerAbsolute||mt().state.arrowMarkerAbsolute)&&(w=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,w=w.replace(/\(/g,"\\(").replace(/\)/g,"\\)")),I.info("arrowTypeStart",e.arrowTypeStart),I.info("arrowTypeEnd",e.arrowTypeEnd),FA(b,e,w,s,i);let _={};return c&&(_.updatedPath=h),_.originalPath=e.points,_},"insertEdge"),zA=l((t,e,r,i)=>{e.forEach(n=>{ZA[n](t,r,i)})},"insertMarkers"),qA=l((t,e,r)=>{I.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"),jA=l((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"),WA=l((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"),UA=l((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"),HA=l((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"),YA=l((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"),VA=l((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"),GA=l((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"),XA=l((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"),ZA={extension:qA,composition:jA,aggregation:WA,dependency:UA,lollipop:HA,point:YA,circle:VA,cross:GA,barb:XA},KA=zA,QA={common:en,getConfig:Se,insertCluster:uA,insertEdge:PA,insertEdgeLabel:DA,insertMarkers:KA,insertNode:sw,interpolateToCurve:Tu,labelHelper:nt,log:I,positionEdgeLabel:OA},ga={},hw=l(t=>{for(let e of t)ga[e.name]=e},"registerLayoutLoaders"),JA=l(()=>{hw([{name:"dagre",loader:l(async()=>await _t(()=>import("./dagre-2P6XN26F-RlaDZ2ZP.js"),__vite__mapDeps([2,3,4,5,1])),"loader")}])},"registerDefaultLayoutLoaders");JA();var f4=l(async(t,e)=>{if(!(t.layoutAlgorithm in ga))throw new Error(`Unknown layout algorithm: ${t.layoutAlgorithm}`);let r=ga[t.layoutAlgorithm];return(await r.loader()).render(t,e,QA,{algorithm:r.algorithm})},"render"),g4=l((t="",{fallback:e="dagre"}={})=>{if(t in ga)return t;if(e in ga)return I.warn(`Layout algorithm ${t} is not registered. Using ${e} as fallback.`),e;throw new Error(`Both layout algorithms ${t} and ${e} are not registered.`)},"getRegisteredLayoutAlgorithm"),tL=k2(Object.keys,Object),eL=tL,rL=Object.prototype,iL=rL.hasOwnProperty;function cw(t){if(!Ns(t))return eL(t);var e=[];for(var r in Object(t))iL.call(t,r)&&r!="constructor"&&e.push(r);return e}l(cw,"baseKeys");var nL=cw,aL=Wr(Ne,"DataView"),Vh=aL,oL=Wr(Ne,"Promise"),Gh=oL,sL=Wr(Ne,"Set"),Xh=sL,lL=Wr(Ne,"WeakMap"),Zh=lL,Cp="[object Map]",hL="[object Object]",kp="[object Promise]",wp="[object Set]",_p="[object WeakMap]",vp="[object DataView]",cL=jr(Vh),uL=jr(ua),dL=jr(Gh),pL=jr(Xh),fL=jr(Zh),wr=nn;(Vh&&wr(new Vh(new ArrayBuffer(1)))!=vp||ua&&wr(new ua)!=Cp||Gh&&wr(Gh.resolve())!=kp||Xh&&wr(new Xh)!=wp||Zh&&wr(new Zh)!=_p)&&(wr=l(function(t){var e=nn(t),r=e==hL?t.constructor:void 0,i=r?jr(r):"";if(i)switch(i){case cL:return vp;case uL:return Cp;case dL:return kp;case pL:return wp;case fL:return _p}return e},"getTag"));var gL=wr,mL="[object Map]",yL="[object Set]",xL=Object.prototype,bL=xL.hasOwnProperty;function uw(t){if(t==null)return!0;if(Rs(t)&&(Xo(t)||typeof t=="string"||typeof t.splice=="function"||vu(t)||$u(t)||Go(t)))return!t.length;var e=gL(t);if(e==mL||e==yL)return!t.size;if(Ns(t))return!nL(t).length;for(var r in t)if(bL.call(t,r))return!1;return!0}l(uw,"isEmpty");var $p=uw,dw="c4",CL=l(t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),"detector"),kL=l(async()=>{let{diagram:t}=await _t(()=>import("./c4Diagram-AKI3UION-BTYE-EgU.js"),__vite__mapDeps([6,7,1]));return{id:dw,diagram:t}},"loader"),wL={id:dw,detector:CL,loader:kL},_L=wL,pw="flowchart",vL=l((t,e)=>{var r,i;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-wrapper"||((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"?!1:/^\s*graph/.test(t)},"detector"),$L=l(async()=>{let{diagram:t}=await _t(()=>import("./flowDiagram-INP2BB3V-DhvBIwO4.js"),__vite__mapDeps([8,9,1]));return{id:pw,diagram:t}},"loader"),SL={id:pw,detector:vL,loader:$L},TL=SL,fw="flowchart-v2",ML=l((t,e)=>{var r,i,n;return((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="dagre-d3"?!1:(((i=e==null?void 0:e.flowchart)==null?void 0:i.defaultRenderer)==="elk"&&(e.layout="elk"),/^\s*graph/.test(t)&&((n=e==null?void 0:e.flowchart)==null?void 0:n.defaultRenderer)==="dagre-wrapper"?!0:/^\s*flowchart/.test(t))},"detector"),BL=l(async()=>{let{diagram:t}=await _t(()=>import("./flowDiagram-INP2BB3V-DhvBIwO4.js"),__vite__mapDeps([8,9,1]));return{id:fw,diagram:t}},"loader"),AL={id:fw,detector:ML,loader:BL},LL=AL,gw="er",FL=l(t=>/^\s*erDiagram/.test(t),"detector"),EL=l(async()=>{let{diagram:t}=await _t(()=>import("./erDiagram-SZV2UBQT-CjIuZmDH.js"),__vite__mapDeps([10,3,4,5,1]));return{id:gw,diagram:t}},"loader"),DL={id:gw,detector:FL,loader:EL},OL=DL,mw="gitGraph",IL=l(t=>/^\s*gitGraph/.test(t),"detector"),NL=l(async()=>{let{diagram:t}=await _t(()=>import("./gitGraphDiagram-6HF727YA-BvE4YJEN.js"),__vite__mapDeps([11,12,13,14,1,5]));return{id:mw,diagram:t}},"loader"),RL={id:mw,detector:IL,loader:NL},PL=RL,yw="gantt",zL=l(t=>/^\s*gantt/.test(t),"detector"),qL=l(async()=>{let{diagram:t}=await _t(()=>import("./ganttDiagram-547IIDY5-BwT6k_6j.js"),__vite__mapDeps([15,1]));return{id:yw,diagram:t}},"loader"),jL={id:yw,detector:zL,loader:qL},WL=jL,xw="info",UL=l(t=>/^\s*info/.test(t),"detector"),HL=l(async()=>{let{diagram:t}=await _t(()=>import("./infoDiagram-A4XEPD65-Dq9v5deA.js"),__vite__mapDeps([16,14,1,5]));return{id:xw,diagram:t}},"loader"),YL={id:xw,detector:UL,loader:HL},bw="pie",VL=l(t=>/^\s*pie/.test(t),"detector"),GL=l(async()=>{let{diagram:t}=await _t(()=>import("./pieDiagram-XPKEEGBI-u-lQA-ja.js"),__vite__mapDeps([17,13,14,1,5]));return{id:bw,diagram:t}},"loader"),XL={id:bw,detector:VL,loader:GL},Cw="quadrantChart",ZL=l(t=>/^\s*quadrantChart/.test(t),"detector"),KL=l(async()=>{let{diagram:t}=await _t(()=>import("./quadrantDiagram-QS23HHJP-D8y1EWcf.js"),__vite__mapDeps([18,1]));return{id:Cw,diagram:t}},"loader"),QL={id:Cw,detector:ZL,loader:KL},JL=QL,kw="xychart",tF=l(t=>/^\s*xychart-beta/.test(t),"detector"),eF=l(async()=>{let{diagram:t}=await _t(()=>import("./xychartDiagram-MWHWHLMU-DLhXyo9i.js"),__vite__mapDeps([19,1]));return{id:kw,diagram:t}},"loader"),rF={id:kw,detector:tF,loader:eF},iF=rF,ww="requirement",nF=l(t=>/^\s*requirement(Diagram)?/.test(t),"detector"),aF=l(async()=>{let{diagram:t}=await _t(()=>import("./requirementDiagram-5WTT3577-DzQTgrX3.js"),__vite__mapDeps([20,3,4,5,1]));return{id:ww,diagram:t}},"loader"),oF={id:ww,detector:nF,loader:aF},sF=oF,_w="sequence",lF=l(t=>/^\s*sequenceDiagram/.test(t),"detector"),hF=l(async()=>{let{diagram:t}=await _t(()=>import("./sequenceDiagram-7SUASMRF-D-m-Zysl.js"),__vite__mapDeps([21,12,7,1]));return{id:_w,diagram:t}},"loader"),cF={id:_w,detector:lF,loader:hF},uF=cF,vw="class",dF=l((t,e)=>{var r;return((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*classDiagram/.test(t)},"detector"),pF=l(async()=>{let{diagram:t}=await _t(()=>import("./classDiagram-LGTRVITY-njouX_e9.js"),__vite__mapDeps([22,23,9,1]));return{id:vw,diagram:t}},"loader"),fF={id:vw,detector:dF,loader:pF},gF=fF,$w="classDiagram",mF=l((t,e)=>{var r;return/^\s*classDiagram/.test(t)&&((r=e==null?void 0:e.class)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!0:/^\s*classDiagram-v2/.test(t)},"detector"),yF=l(async()=>{let{diagram:t}=await _t(()=>import("./classDiagram-v2-UI22WKGF-njouX_e9.js"),__vite__mapDeps([24,23,9,1]));return{id:$w,diagram:t}},"loader"),xF={id:$w,detector:mF,loader:yF},bF=xF,Sw="state",CF=l((t,e)=>{var r;return((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper"?!1:/^\s*stateDiagram/.test(t)},"detector"),kF=l(async()=>{let{diagram:t}=await _t(()=>import("./stateDiagram-SUF43ZVU-bU0rojpS.js"),__vite__mapDeps([25,26,9,3,4,5,1]));return{id:Sw,diagram:t}},"loader"),wF={id:Sw,detector:CF,loader:kF},_F=wF,Tw="stateDiagram",vF=l((t,e)=>{var r;return!!(/^\s*stateDiagram-v2/.test(t)||/^\s*stateDiagram/.test(t)&&((r=e==null?void 0:e.state)==null?void 0:r.defaultRenderer)==="dagre-wrapper")},"detector"),$F=l(async()=>{let{diagram:t}=await _t(()=>import("./stateDiagram-v2-DVB4EDRD-DKpk7Koi.js"),__vite__mapDeps([27,26,9,1]));return{id:Tw,diagram:t}},"loader"),SF={id:Tw,detector:vF,loader:$F},TF=SF,Mw="journey",MF=l(t=>/^\s*journey/.test(t),"detector"),BF=l(async()=>{let{diagram:t}=await _t(()=>import("./journeyDiagram-5ML6LF3B-CkpgwWmY.js"),__vite__mapDeps([28,7,1]));return{id:Mw,diagram:t}},"loader"),AF={id:Mw,detector:MF,loader:BF},LF=AF,FF=l((t,e,r)=>{I.debug(`rendering svg for syntax error +`);let i=vS(e),n=i.append("g");i.attr("viewBox","0 0 2412 512"),Kp(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"),Bw={draw:FF},EF=Bw,DF={db:{},renderer:Bw,parser:{parse:l(()=>{},"parse")}},OF=DF,Aw="flowchart-elk",IF=l((t,e={})=>{var r;return/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&((r=e==null?void 0:e.flowchart)==null?void 0:r.defaultRenderer)==="elk"?(e.layout="elk",!0):!1},"detector"),NF=l(async()=>{let{diagram:t}=await _t(()=>import("./flowDiagram-INP2BB3V-DhvBIwO4.js"),__vite__mapDeps([8,9,1]));return{id:Aw,diagram:t}},"loader"),RF={id:Aw,detector:IF,loader:NF},PF=RF,Lw="timeline",zF=l(t=>/^\s*timeline/.test(t),"detector"),qF=l(async()=>{let{diagram:t}=await _t(()=>import("./timeline-definition-QPOBMAB2-XvDspPyg.js"),__vite__mapDeps([29,1]));return{id:Lw,diagram:t}},"loader"),jF={id:Lw,detector:zF,loader:qF},WF=jF,Fw="mindmap",UF=l(t=>/^\s*mindmap/.test(t),"detector"),HF=l(async()=>{let{diagram:t}=await _t(()=>import("./mindmap-definition-PE66ZM2U-Dm4I9RRj.js"),__vite__mapDeps([30,31,1]));return{id:Fw,diagram:t}},"loader"),YF={id:Fw,detector:UF,loader:HF},VF=YF,Ew="kanban",GF=l(t=>/^\s*kanban/.test(t),"detector"),XF=l(async()=>{let{diagram:t}=await _t(()=>import("./kanban-definition-EGOKAUOG-CnpypVV5.js"),__vite__mapDeps([32,1]));return{id:Ew,diagram:t}},"loader"),ZF={id:Ew,detector:GF,loader:XF},KF=ZF,Dw="sankey",QF=l(t=>/^\s*sankey-beta/.test(t),"detector"),JF=l(async()=>{let{diagram:t}=await _t(()=>import("./sankeyDiagram-HGVHE3RK-BHM_B7TP.js"),__vite__mapDeps([33,1]));return{id:Dw,diagram:t}},"loader"),t6={id:Dw,detector:QF,loader:JF},e6=t6,Ow="packet",r6=l(t=>/^\s*packet-beta/.test(t),"detector"),i6=l(async()=>{let{diagram:t}=await _t(()=>import("./diagram-D2J2JSCM-Mepf3JVW.js"),__vite__mapDeps([34,13,14,1,5]));return{id:Ow,diagram:t}},"loader"),n6={id:Ow,detector:r6,loader:i6},Iw="block",a6=l(t=>/^\s*block-beta/.test(t),"detector"),o6=l(async()=>{let{diagram:t}=await _t(()=>import("./blockDiagram-MYUW6R5Q-Dp3_LaDK.js"),__vite__mapDeps([35,4,5,1]));return{id:Iw,diagram:t}},"loader"),s6={id:Iw,detector:a6,loader:o6},l6=s6,Nw="architecture",h6=l(t=>/^\s*architecture/.test(t),"detector"),c6=l(async()=>{let{diagram:t}=await _t(()=>import("./architectureDiagram-QTIGHTN5-CzjpVlhi.js"),__vite__mapDeps([36,31,12,13,14,1,5]));return{id:Nw,diagram:t}},"loader"),u6={id:Nw,detector:h6,loader:c6},d6=u6,Sp=!1,Vs=l(()=>{Sp||(Sp=!0,vo("error",OF,t=>t.toLowerCase().trim()==="error"),vo("---",{db:{clear:l(()=>{},"clear")},styles:{},renderer:{draw:l(()=>{},"draw")},parser:{parse:l(()=>{throw new 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:l(()=>null,"init")},t=>t.toLowerCase().trimStart().startsWith("---")),Dp(_L,KF,bF,gF,OL,WL,YL,XL,sF,uF,PF,LL,TL,VF,WF,PL,TF,_F,LF,JL,e6,n6,iF,l6,d6))},"addDiagrams"),p6=l(async()=>{I.debug("Loading registered diagrams");let t=(await Promise.allSettled(Object.entries(ji).map(async([e,{detector:r,loader:i}])=>{if(i)try{Ml(e)}catch{try{let{diagram:n,id:a}=await i();vo(a,n,r)}catch(n){throw I.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete ji[e],n}}}))).filter(e=>e.status==="rejected");if(t.length>0){I.error(`Failed to load ${t.length} external diagrams`);for(let e of t)I.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}},"loadRegisteredDiagrams"),Rw="comm",Pw="rule",zw="decl",f6="@import",g6="@keyframes",m6="@layer",qw=Math.abs,Zu=String.fromCharCode;function Ku(t){return t.trim()}l(Ku,"trim");function jn(t,e,r){return t.replace(e,r)}l(jn,"replace");function jw(t,e,r){return t.indexOf(e,r)}l(jw,"indexof");function Qi(t,e){return t.charCodeAt(e)|0}l(Qi,"charat");function Rr(t,e,r){return t.slice(e,r)}l(Rr,"substr");function we(t){return t.length}l(we,"strlen");function Ww(t){return t.length}l(Ww,"sizeof");function Ln(t,e){return e.push(t),t}l(Ln,"append");var Gs=1,Ji=1,Uw=0,Ce=0,Ft=0,cn="";function Xs(t,e,r,i,n,a,s,o){return{value:t,root:e,parent:r,type:i,props:n,children:a,line:Gs,column:Ji,length:s,return:"",siblings:o}}l(Xs,"node");function Hw(){return Ft}l(Hw,"char");function Yw(){return Ft=Ce>0?Qi(cn,--Ce):0,Ji--,Ft===10&&(Ji=1,Gs--),Ft}l(Yw,"prev");function be(){return Ft=Ce2||tn(Ft)>3?"":" "}l(Xw,"whitespace");function Zw(t,e){for(;--e&&be()&&!(Ft<48||Ft>102||Ft>57&&Ft<65||Ft>70&&Ft<97););return Fa(t,Wn()+(e<6&&Ye()==32&&be()==32))}l(Zw,"escaping");function as(t){for(;be();)switch(Ft){case t:return Ce;case 34:case 39:t!==34&&t!==39&&as(Ft);break;case 40:t===41&&as(t);break;case 92:be();break}return Ce}l(as,"delimiter");function Kw(t,e){for(;be()&&t+Ft!==57&&!(t+Ft===84&&Ye()===47););return"/*"+Fa(e,Ce-1)+"*"+Zu(t===47?t:be())}l(Kw,"commenter");function Qw(t){for(;!tn(Ye());)be();return Fa(t,Ce)}l(Qw,"identifier");function Jw(t){return Gw(Un("",null,null,null,[""],t=Vw(t),0,[0],t))}l(Jw,"compile");function Un(t,e,r,i,n,a,s,o,h){for(var c=0,u=0,p=s,d=0,f=0,g=0,m=1,x=1,y=1,b=0,C="",v=n,w=a,_=i,$=C;x;)switch(g=b,b=be()){case 40:if(g!=108&&Qi($,p-1)==58){jw($+=jn(Co(b),"&","&\f"),"&\f",qw(c?o[c-1]:0))!=-1&&(y=-1);break}case 34:case 39:case 91:$+=Co(b);break;case 9:case 10:case 13:case 32:$+=Xw(g);break;case 92:$+=Zw(Wn()-1,7);continue;case 47:switch(Ye()){case 42:case 47:Ln(t_(Kw(be(),Wn()),e,r,h),h),(tn(g||1)==5||tn(Ye()||1)==5)&&we($)&&Rr($,-1,void 0)!==" "&&($+=" ");break;default:$+="/"}break;case 123*m:o[c++]=we($)*y;case 125*m:case 59:case 0:switch(b){case 0:case 125:x=0;case 59+u:y==-1&&($=jn($,/\f/g,"")),f>0&&(we($)-p||m===0&&g===47)&&Ln(f>32?Qh($+";",i,r,p-1,h):Qh(jn($," ","")+";",i,r,p-2,h),h);break;case 59:$+=";";default:if(Ln(_=Kh($,e,r,c,u,n,o,C,v=[],w=[],p,a),a),b===123)if(u===0)Un($,e,_,_,v,a,p,o,w);else switch(d===99&&Qi($,3)===110?100:d){case 100:case 108:case 109:case 115:Un(t,_,_,i&&Ln(Kh(t,_,_,0,0,n,o,C,n,v=[],p,w),w),n,w,p,o,i?v:w);break;default:Un($,_,_,_,[""],w,0,o,w)}}c=u=f=0,m=y=1,C=$="",p=s;break;case 58:p=1+we($),f=g;default:if(m<1){if(b==123)--m;else if(b==125&&m++==0&&Yw()==125)continue}switch($+=Zu(b),b*m){case 38:y=u>0?1:($+="\f",-1);break;case 44:o[c++]=(we($)-1)*y,y=1;break;case 64:Ye()===45&&($+=Co(be())),d=Ye(),u=p=we(C=$+=Qw(Wn())),b++;break;case 45:g===45&&we($)==2&&(m=0)}}return a}l(Un,"parse");function Kh(t,e,r,i,n,a,s,o,h,c,u,p){for(var d=n-1,f=n===0?a:[""],g=Ww(f),m=0,x=0,y=0;m0?f[b]+" "+C:jn(C,/&\f/g,f[b])))&&(h[y++]=v);return Xs(t,e,r,n===0?Pw:o,h,c,u,p)}l(Kh,"ruleset");function t_(t,e,r,i){return Xs(t,e,r,Rw,Zu(Hw()),Rr(t,2,-2),0,i)}l(t_,"comment");function Qh(t,e,r,i,n){return Xs(t,e,r,zw,Rr(t,0,i),Rr(t,i+1,-1),i,n)}l(Qh,"declaration");function os(t,e){for(var r="",i=0;i{Tp.forEach(t=>{t()}),Tp=[]},"attachFunctions"),C6=l(t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function n_(t){let e=t.match(Fp);if(!e)return{text:t,metadata:{}};let r=LT(e[1],{schema:AT})??{};r=typeof r=="object"&&!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}}l(n_,"extractFrontMatter");var k6=l(t=>t.replace(/\r\n?/g,` `).replace(/<(\w+)([^>]*)>/g,(e,r,i)=>"<"+r+i.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),w6=l(t=>{let{text:e,metadata:r}=n_(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"),_6=l(t=>{let e=Fe.detectInit(t)??{},r=Fe.detectDirective(t,"wrap");return Array.isArray(r)?e.wrap=r.some(({type:i})=>i==="wrap"):(r==null?void 0:r.type)==="wrap"&&(e.wrap=!0),{text:QB(t),directive:e}},"processDirectives");function Qu(t){let e=k6(t),r=w6(e),i=_6(r.text),n=Fu(r.config,i.directive);return t=C6(i.text),{code:t,title:r.title,config:n}}l(Qu,"preprocessDiagram");function a_(t){let e=new TextEncoder().encode(t),r=Array.from(e,i=>String.fromCodePoint(i)).join("");return btoa(r)}l(a_,"toBase64");var v6=5e4,$6="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",S6="sandbox",T6="loose",M6="http://www.w3.org/2000/svg",B6="http://www.w3.org/1999/xlink",A6="http://www.w3.org/1999/xhtml",L6="100%",F6="100%",E6="border:0;margin:0;",D6="margin:0",O6="allow-top-navigation-by-user-activation allow-popups",I6='The "iframe" tag is not supported by your browser.',N6=["foreignobject"],R6=["dominant-baseline"];function Ju(t){let e=Qu(t);return wo(),jv(e.config??{}),e}l(Ju,"processAndSetConfigs");async function o_(t,e){Vs();try{let{code:r,config:i}=Ju(t);return{diagramType:(await l_(r)).type,config:i}}catch(r){if(e!=null&&e.suppressErrors)return!1;throw r}}l(o_,"parse");var Mp=l((t,e,r=[])=>` .${t} ${e} { ${r.join(" !important; ")} !important; }`,"cssImportantStyles"),P6=l((t,e=new Map)=>{var i;let r="";if(t.themeCSS!==void 0&&(r+=` diff --git a/assets/mindmap-definition-PE66ZM2U-C--zjrRT.js b/assets/mindmap-definition-PE66ZM2U-Dm4I9RRj.js similarity index 99% rename from assets/mindmap-definition-PE66ZM2U-C--zjrRT.js rename to assets/mindmap-definition-PE66ZM2U-Dm4I9RRj.js index 41d94a22..d0ea0262 100644 --- a/assets/mindmap-definition-PE66ZM2U-C--zjrRT.js +++ b/assets/mindmap-definition-PE66ZM2U-Dm4I9RRj.js @@ -1,4 +1,4 @@ -import{F as pt}from"./chunk-PWCSEZZ4-BDfDPSKS.js";import{m as T,J as Z,Q as st,n as et,N as it,q as mt,bb as Lt,ab as Nt,a8 as At,b7 as Tt,b8 as It,b9 as Ot,ba as Dt,a0 as at,b as wt}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var ut=at((O,x)=>{T(function(p,A){typeof O=="object"&&typeof x=="object"?x.exports=A():typeof define=="function"&&define.amd?define([],A):typeof O=="object"?O.layoutBase=A():p.layoutBase=A()},"webpackUniversalModuleDefinition")(O,function(){return function(p){var A={};function y(i){if(A[i])return A[i].exports;var t=A[i]={i,l:!1,exports:{}};return p[i].call(t.exports,t,t.exports,y),t.l=!0,t.exports}return T(y,"__webpack_require__"),y.m=p,y.c=A,y.i=function(i){return i},y.d=function(i,t,e){y.o(i,t)||Object.defineProperty(i,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(i){var t=i&&i.__esModule?T(function(){return i.default},"getDefault"):T(function(){return i},"getModuleExports");return y.d(t,"a",t),t},y.o=function(i,t){return Object.prototype.hasOwnProperty.call(i,t)},y.p="",y(y.s=26)}([function(p,A,y){function i(){}T(i,"LayoutConstants"),i.QUALITY=1,i.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,i.DEFAULT_INCREMENTAL=!1,i.DEFAULT_ANIMATION_ON_LAYOUT=!0,i.DEFAULT_ANIMATION_DURING_LAYOUT=!1,i.DEFAULT_ANIMATION_PERIOD=50,i.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,i.DEFAULT_GRAPH_MARGIN=15,i.NODE_DIMENSIONS_INCLUDE_LABELS=!1,i.SIMPLE_NODE_SIZE=40,i.SIMPLE_NODE_HALF_SIZE=i.SIMPLE_NODE_SIZE/2,i.EMPTY_COMPOUND_NODE_SIZE=40,i.MIN_EDGE_LENGTH=1,i.WORLD_BOUNDARY=1e6,i.INITIAL_WORLD_BOUNDARY=i.WORLD_BOUNDARY/1e3,i.WORLD_CENTER_X=1200,i.WORLD_CENTER_Y=900,p.exports=i},function(p,A,y){var i=y(2),t=y(8),e=y(9);function n(h,s,f){i.call(this,f),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=f,this.bendpoints=[],this.source=h,this.target=s}T(n,"LEdge"),n.prototype=Object.create(i.prototype);for(var a in i)n[a]=i[a];n.prototype.getSource=function(){return this.source},n.prototype.getTarget=function(){return this.target},n.prototype.isInterGraph=function(){return this.isInterGraph},n.prototype.getLength=function(){return this.length},n.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},n.prototype.getBendpoints=function(){return this.bendpoints},n.prototype.getLca=function(){return this.lca},n.prototype.getSourceInLca=function(){return this.sourceInLca},n.prototype.getTargetInLca=function(){return this.targetInLca},n.prototype.getOtherEnd=function(h){if(this.source===h)return this.target;if(this.target===h)return this.source;throw"Node is not incident with this edge"},n.prototype.getOtherEndInGraph=function(h,s){for(var f=this.getOtherEnd(h),o=s.getGraphManager().getRoot();;){if(f.getOwner()==s)return f;if(f.getOwner()==o)break;f=f.getOwner().getParent()}return null},n.prototype.updateLength=function(){var h=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),h),this.isOverlapingSourceAndTarget||(this.lengthX=h[0]-h[2],this.lengthY=h[1]-h[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},n.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},p.exports=n},function(p,A,y){function i(t){this.vGraphObject=t}T(i,"LGraphObject"),p.exports=i},function(p,A,y){var i=y(2),t=y(10),e=y(13),n=y(0),a=y(16),h=y(4);function s(o,u,c,E){c==null&&E==null&&(E=u),i.call(this,E),o.graphManager!=null&&(o=o.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=o,c!=null&&u!=null?this.rect=new e(u.x,u.y,c.width,c.height):this.rect=new e}T(s,"LNode"),s.prototype=Object.create(i.prototype);for(var f in i)s[f]=i[f];s.prototype.getEdges=function(){return this.edges},s.prototype.getChild=function(){return this.child},s.prototype.getOwner=function(){return this.owner},s.prototype.getWidth=function(){return this.rect.width},s.prototype.setWidth=function(o){this.rect.width=o},s.prototype.getHeight=function(){return this.rect.height},s.prototype.setHeight=function(o){this.rect.height=o},s.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},s.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},s.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},s.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},s.prototype.getRect=function(){return this.rect},s.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},s.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},s.prototype.setRect=function(o,u){this.rect.x=o.x,this.rect.y=o.y,this.rect.width=u.width,this.rect.height=u.height},s.prototype.setCenter=function(o,u){this.rect.x=o-this.rect.width/2,this.rect.y=u-this.rect.height/2},s.prototype.setLocation=function(o,u){this.rect.x=o,this.rect.y=u},s.prototype.moveBy=function(o,u){this.rect.x+=o,this.rect.y+=u},s.prototype.getEdgeListToNode=function(o){var u=[],c=this;return c.edges.forEach(function(E){if(E.target==o){if(E.source!=c)throw"Incorrect edge source!";u.push(E)}}),u},s.prototype.getEdgesBetween=function(o){var u=[],c=this;return c.edges.forEach(function(E){if(!(E.source==c||E.target==c))throw"Incorrect edge source and/or target";(E.target==o||E.source==o)&&u.push(E)}),u},s.prototype.getNeighborsList=function(){var o=new Set,u=this;return u.edges.forEach(function(c){if(c.source==u)o.add(c.target);else{if(c.target!=u)throw"Incorrect incidency!";o.add(c.source)}}),o},s.prototype.withChildren=function(){var o=new Set,u,c;if(o.add(this),this.child!=null)for(var E=this.child.getNodes(),v=0;vu&&(this.rect.x-=(this.labelWidth-u)/2,this.setWidth(this.labelWidth)),this.labelHeight>c&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-c)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-c),this.setHeight(this.labelHeight))}}},s.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},s.prototype.transform=function(o){var u=this.rect.x;u>n.WORLD_BOUNDARY?u=n.WORLD_BOUNDARY:u<-n.WORLD_BOUNDARY&&(u=-n.WORLD_BOUNDARY);var c=this.rect.y;c>n.WORLD_BOUNDARY?c=n.WORLD_BOUNDARY:c<-n.WORLD_BOUNDARY&&(c=-n.WORLD_BOUNDARY);var E=new h(u,c),v=o.inverseTransformPoint(E);this.setLocation(v.x,v.y)},s.prototype.getLeft=function(){return this.rect.x},s.prototype.getRight=function(){return this.rect.x+this.rect.width},s.prototype.getTop=function(){return this.rect.y},s.prototype.getBottom=function(){return this.rect.y+this.rect.height},s.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},p.exports=s},function(p,A,y){function i(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}T(i,"PointD"),i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.setX=function(t){this.x=t},i.prototype.setY=function(t){this.y=t},i.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},i.prototype.getCopy=function(){return new i(this.x,this.y)},i.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},p.exports=i},function(p,A,y){var i=y(2),t=y(10),e=y(0),n=y(6),a=y(3),h=y(1),s=y(13),f=y(12),o=y(11);function u(E,v,_){i.call(this,_),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,v!=null&&v instanceof n?this.graphManager=v:v!=null&&v instanceof Layout&&(this.graphManager=v.graphManager)}T(u,"LGraph"),u.prototype=Object.create(i.prototype);for(var c in i)u[c]=i[c];u.prototype.getNodes=function(){return this.nodes},u.prototype.getEdges=function(){return this.edges},u.prototype.getGraphManager=function(){return this.graphManager},u.prototype.getParent=function(){return this.parent},u.prototype.getLeft=function(){return this.left},u.prototype.getRight=function(){return this.right},u.prototype.getTop=function(){return this.top},u.prototype.getBottom=function(){return this.bottom},u.prototype.isConnected=function(){return this.isConnected},u.prototype.add=function(E,v,_){if(v==null&&_==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var I=E;if(!(this.getNodes().indexOf(v)>-1&&this.getNodes().indexOf(_)>-1))throw"Source or target not in graph!";if(!(v.owner==_.owner&&v.owner==this))throw"Both owners must be this graph!";return v.owner!=_.owner?null:(I.source=v,I.target=_,I.isInterGraph=!1,this.getEdges().push(I),v.edges.push(I),_!=v&&_.edges.push(I),I)}},u.prototype.remove=function(E){var v=E;if(E instanceof a){if(v==null)throw"Node is null!";if(!(v.owner!=null&&v.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var _=v.edges.slice(),L,I=_.length,g=0;g-1&&d>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(r,1),L.target!=L.source&&L.target.edges.splice(d,1);var D=L.source.owner.getEdges().indexOf(L);if(D==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(D,1)}},u.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,v=t.MAX_VALUE,_,L,I,g=this.getNodes(),D=g.length,r=0;r_&&(E=_),v>L&&(v=L)}return E==t.MAX_VALUE?null:(g[0].getParent().paddingLeft!=null?I=g[0].getParent().paddingLeft:I=this.margin,this.left=v-I,this.top=E-I,new f(this.left,this.top))},u.prototype.updateBounds=function(E){for(var v=t.MAX_VALUE,_=-t.MAX_VALUE,L=t.MAX_VALUE,I=-t.MAX_VALUE,g,D,r,d,l,m=this.nodes,N=m.length,w=0;wg&&(v=g),_r&&(L=r),Ig&&(v=g),_r&&(L=r),I=this.nodes.length){var N=0;_.forEach(function(w){w.owner==E&&N++}),N==this.nodes.length&&(this.isConnected=!0)}},p.exports=u},function(p,A,y){var i,t=y(1);function e(n){i=y(5),this.layout=n,this.graphs=[],this.edges=[]}T(e,"LGraphManager"),e.prototype.addRoot=function(){var n=this.layout.newGraph(),a=this.layout.newNode(null),h=this.add(n,a);return this.setRootGraph(h),this.rootGraph},e.prototype.add=function(n,a,h,s,f){if(h==null&&s==null&&f==null){if(n==null)throw"Graph is null!";if(a==null)throw"Parent node is null!";if(this.graphs.indexOf(n)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(n),n.parent!=null)throw"Already has a parent!";if(a.child!=null)throw"Already has a child!";return n.parent=a,a.child=n,n}else{f=h,s=a,h=n;var o=s.getOwner(),u=f.getOwner();if(!(o!=null&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(u!=null&&u.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==u)return h.isInterGraph=!1,o.add(h,s,f);if(h.isInterGraph=!0,h.source=s,h.target=f,this.edges.indexOf(h)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(h),!(h.source!=null&&h.target!=null))throw"Edge source and/or target is null!";if(!(h.source.edges.indexOf(h)==-1&&h.target.edges.indexOf(h)==-1))throw"Edge already in source and/or target incidency list!";return h.source.edges.push(h),h.target.edges.push(h),h}},e.prototype.remove=function(n){if(n instanceof i){var a=n;if(a.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(a==this.rootGraph||a.parent!=null&&a.parent.graphManager==this))throw"Invalid parent node!";var h=[];h=h.concat(a.getEdges());for(var s,f=h.length,o=0;o=n.getRight()?a[0]+=Math.min(n.getX()-e.getX(),e.getRight()-n.getRight()):n.getX()<=e.getX()&&n.getRight()>=e.getRight()&&(a[0]+=Math.min(e.getX()-n.getX(),n.getRight()-e.getRight())),e.getY()<=n.getY()&&e.getBottom()>=n.getBottom()?a[1]+=Math.min(n.getY()-e.getY(),e.getBottom()-n.getBottom()):n.getY()<=e.getY()&&n.getBottom()>=e.getBottom()&&(a[1]+=Math.min(e.getY()-n.getY(),n.getBottom()-e.getBottom()));var f=Math.abs((n.getCenterY()-e.getCenterY())/(n.getCenterX()-e.getCenterX()));n.getCenterY()===e.getCenterY()&&n.getCenterX()===e.getCenterX()&&(f=1);var o=f*a[0],u=a[1]/f;a[0]o)return a[0]=h,a[1]=c,a[2]=f,a[3]=m,!1;if(sf)return a[0]=u,a[1]=s,a[2]=d,a[3]=o,!1;if(hf?(a[0]=v,a[1]=_,R=!0):(a[0]=E,a[1]=c,R=!0):F===M&&(h>f?(a[0]=u,a[1]=c,R=!0):(a[0]=L,a[1]=_,R=!0)),-P===M?f>h?(a[2]=l,a[3]=m,G=!0):(a[2]=d,a[3]=r,G=!0):P===M&&(f>h?(a[2]=D,a[3]=r,G=!0):(a[2]=N,a[3]=m,G=!0)),R&&G)return!1;if(h>f?s>o?(b=this.getCardinalDirection(F,M,4),S=this.getCardinalDirection(P,M,2)):(b=this.getCardinalDirection(-F,M,3),S=this.getCardinalDirection(-P,M,1)):s>o?(b=this.getCardinalDirection(-F,M,1),S=this.getCardinalDirection(-P,M,3)):(b=this.getCardinalDirection(F,M,2),S=this.getCardinalDirection(P,M,4)),!R)switch(b){case 1:Y=c,U=h+-g/M,a[0]=U,a[1]=Y;break;case 2:U=L,Y=s+I*M,a[0]=U,a[1]=Y;break;case 3:Y=_,U=h+g/M,a[0]=U,a[1]=Y;break;case 4:U=v,Y=s+-I*M,a[0]=U,a[1]=Y;break}if(!G)switch(S){case 1:B=r,X=f+-C/M,a[2]=X,a[3]=B;break;case 2:X=N,B=o+w*M,a[2]=X,a[3]=B;break;case 3:B=m,X=f+C/M,a[2]=X,a[3]=B;break;case 4:X=l,B=o+-w*M,a[2]=X,a[3]=B;break}}return!1},t.getCardinalDirection=function(e,n,a){return e>n?a:1+a%4},t.getIntersection=function(e,n,a,h){if(h==null)return this.getIntersection2(e,n,a);var s=e.x,f=e.y,o=n.x,u=n.y,c=a.x,E=a.y,v=h.x,_=h.y,L=void 0,I=void 0,g=void 0,D=void 0,r=void 0,d=void 0,l=void 0,m=void 0,N=void 0;return g=u-f,r=s-o,l=o*f-s*u,D=_-E,d=c-v,m=v*E-c*_,N=g*d-D*r,N===0?null:(L=(r*m-d*l)/N,I=(D*l-g*m)/N,new i(L,I))},t.angleOfVector=function(e,n,a,h){var s=void 0;return e!==a?(s=Math.atan((h-n)/(a-e)),a0?1:t<0?-1:0},i.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},i.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},p.exports=i},function(p,A,y){function i(){}T(i,"Integer"),i.MAX_VALUE=2147483647,i.MIN_VALUE=-2147483648,p.exports=i},function(p,A,y){var i=function(){function s(f,o){for(var u=0;u"u"?"undefined":i(e);return e==null||n!="object"&&n!="function"},p.exports=t},function(p,A,y){function i(c){if(Array.isArray(c)){for(var E=0,v=Array(c.length);E0&&E;){for(g.push(r[0]);g.length>0&&E;){var d=g[0];g.splice(0,1),I.add(d);for(var l=d.getEdges(),L=0;L-1&&r.splice(C,1)}I=new Set,D=new Map}}return c},u.prototype.createDummyNodesForBendpoints=function(c){for(var E=[],v=c.source,_=this.graphManager.calcLowestCommonAncestor(c.source,c.target),L=0;L0){for(var _=this.edgeToDummyNodes.get(v),L=0;L<_.length;L++){var I=_[L],g=new s(I.getCenterX(),I.getCenterY()),D=v.bendpoints.get(L);D.x=g.x,D.y=g.y,I.getOwner().remove(I)}this.graphManager.add(v,v.source,v.target)}}},u.transform=function(c,E,v,_){if(v!=null&&_!=null){var L=E;if(c<=50){var I=E/v;L-=(E-I)/50*(50-c)}else{var g=E*_;L+=(g-E)/50*(c-50)}return L}else{var D,r;return c<=50?(D=9*E/500,r=E/10):(D=9*E/50,r=-8*E),D*c+r}},u.findCenterOfTree=function(c){var E=[];E=E.concat(c);var v=[],_=new Map,L=!1,I=null;(E.length==1||E.length==2)&&(L=!0,I=E[0]);for(var g=0;g=0&&E.splice(m,1);var N=D.getNeighborsList();N.forEach(function(R){if(v.indexOf(R)<0){var G=_.get(R),F=G-1;F==1&&d.push(R),_.set(R,F)}})}v=v.concat(d),(E.length==1||E.length==2)&&(L=!0,I=E[0])}return I},u.prototype.setGraphManager=function(c){this.graphManager=c},p.exports=u},function(p,A,y){function i(){}T(i,"RandomSeed"),i.seed=1,i.x=0,i.nextDouble=function(){return i.x=Math.sin(i.seed++)*1e4,i.x-Math.floor(i.x)},p.exports=i},function(p,A,y){var i=y(4);function t(e,n){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}T(t,"Transform"),t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var n=0,a=this.lworldExtX;return a!=0&&(n=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/a),n},t.prototype.transformY=function(e){var n=0,a=this.lworldExtY;return a!=0&&(n=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/a),n},t.prototype.inverseTransformX=function(e){var n=0,a=this.ldeviceExtX;return a!=0&&(n=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/a),n},t.prototype.inverseTransformY=function(e){var n=0,a=this.ldeviceExtY;return a!=0&&(n=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/a),n},t.prototype.inverseTransformPoint=function(e){var n=new i(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return n},p.exports=t},function(p,A,y){function i(o){if(Array.isArray(o)){for(var u=0,c=Array(o.length);ue.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(o-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(o>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(o-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},s.prototype.calcSpringForces=function(){for(var o=this.getAllEdges(),u,c=0;c0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c,E,v,_,L=this.getAllNodes(),I;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),I=new Set,c=0;cg||I>g)&&(o.gravitationForceX=-this.gravityConstant*v,o.gravitationForceY=-this.gravityConstant*_)):(g=u.getEstimatedSize()*this.compoundGravityRangeFactor,(L>g||I>g)&&(o.gravitationForceX=-this.gravityConstant*v*this.compoundGravityConstant,o.gravitationForceY=-this.gravityConstant*_*this.compoundGravityConstant))},s.prototype.isConverged=function(){var o,u=!1;return this.totalIterations>this.maxIterations/3&&(u=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),o=this.totalDisplacement=L.length||g>=L[0].length)){for(var D=0;Dh},"_defaultCompareFunction")}]),a}();p.exports=n},function(p,A,y){var i=function(){function n(a,h){for(var s=0;s2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,n),this.sequence1=a,this.sequence2=h,this.match_score=s,this.mismatch_penalty=f,this.gap_penalty=o,this.iMax=a.length+1,this.jMax=h.length+1,this.grid=new Array(this.iMax);for(var u=0;u=0;a--){var h=this.listeners[a];h.event===e&&h.callback===n&&this.listeners.splice(a,1)}},t.emit=function(e,n){for(var a=0;a{T(function(p,A){typeof O=="object"&&typeof x=="object"?x.exports=A(ut()):typeof define=="function"&&define.amd?define(["layout-base"],A):typeof O=="object"?O.coseBase=A(ut()):p.coseBase=A(p.layoutBase)},"webpackUniversalModuleDefinition")(O,function(p){return function(A){var y={};function i(t){if(y[t])return y[t].exports;var e=y[t]={i:t,l:!1,exports:{}};return A[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return T(i,"__webpack_require__"),i.m=A,i.c=y,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?T(function(){return t.default},"getDefault"):T(function(){return t},"getModuleExports");return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(A,y){A.exports=p},function(A,y,i){var t=i(0).FDLayoutConstants;function e(){}T(e,"CoSEConstants");for(var n in t)e[n]=t[n];e.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,e.DEFAULT_RADIAL_SEPARATION=t.DEFAULT_EDGE_LENGTH,e.DEFAULT_COMPONENT_SEPERATION=60,e.TILE=!0,e.TILING_PADDING_VERTICAL=10,e.TILING_PADDING_HORIZONTAL=10,e.TREE_REDUCTION_ON_INCREMENTAL=!1,A.exports=e},function(A,y,i){var t=i(0).FDLayoutEdge;function e(a,h,s){t.call(this,a,h,s)}T(e,"CoSEEdge"),e.prototype=Object.create(t.prototype);for(var n in t)e[n]=t[n];A.exports=e},function(A,y,i){var t=i(0).LGraph;function e(a,h,s){t.call(this,a,h,s)}T(e,"CoSEGraph"),e.prototype=Object.create(t.prototype);for(var n in t)e[n]=t[n];A.exports=e},function(A,y,i){var t=i(0).LGraphManager;function e(a){t.call(this,a)}T(e,"CoSEGraphManager"),e.prototype=Object.create(t.prototype);for(var n in t)e[n]=t[n];A.exports=e},function(A,y,i){var t=i(0).FDLayoutNode,e=i(0).IMath;function n(h,s,f,o){t.call(this,h,s,f,o)}T(n,"CoSENode"),n.prototype=Object.create(t.prototype);for(var a in t)n[a]=t[a];n.prototype.move=function(){var h=this.graphManager.getLayout();this.displacementX=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),h.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},n.prototype.propogateDisplacementToChildren=function(h,s){for(var f=this.getChild().getNodes(),o,u=0;u0)this.positionNodesRadially(l);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var r=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(w){return r.has(w)});this.graphManager.setAllNodesToApplyGravitation(d),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},g.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%f.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var r=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(N){return r.has(N)});this.graphManager.setAllNodesToApplyGravitation(d),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=f.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=f.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var l=!this.isTreeGrowing&&!this.isGrowthFinished,m=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(l,m),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},g.prototype.getPositionsData=function(){for(var r=this.graphManager.getAllNodes(),d={},l=0;l1){var R;for(R=0;Rm&&(m=Math.floor(C.y)),w=Math.floor(C.x+s.DEFAULT_COMPONENT_SEPERATION)}this.transform(new c(o.WORLD_CENTER_X-C.x/2,o.WORLD_CENTER_Y-C.y/2))},g.radialLayout=function(r,d,l){var m=Math.max(this.maxDiagonalInTree(r),s.DEFAULT_RADIAL_SEPARATION);g.branchRadialLayout(d,null,0,359,0,m);var N=L.calculateBounds(r),w=new I;w.setDeviceOrgX(N.getMinX()),w.setDeviceOrgY(N.getMinY()),w.setWorldOrgX(l.x),w.setWorldOrgY(l.y);for(var C=0;C1;){var B=X[0];X.splice(0,1);var k=M.indexOf(B);k>=0&&M.splice(k,1),U--,b--}d!=null?Y=(M.indexOf(X[0])+1)%U:Y=0;for(var j=Math.abs(m-l)/b,H=Y;S!=b;H=++H%U){var W=M[H].getOtherEnd(r);if(W!=d){var nt=(l+S*j)%360,K=(nt+j)%360;g.branchRadialLayout(W,r,nt,K,N+w,w),S++}}},g.maxDiagonalInTree=function(r){for(var d=v.MIN_VALUE,l=0;ld&&(d=N)}return d},g.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},g.prototype.groupZeroDegreeMembers=function(){var r=this,d={};this.memberGroups={},this.idToDummyNode={};for(var l=[],m=this.graphManager.getAllNodes(),N=0;N"u"&&(d[R]=[]),d[R]=d[R].concat(w)}Object.keys(d).forEach(function(G){if(d[G].length>1){var F="DummyCompound_"+G;r.memberGroups[F]=d[G];var P=d[G][0].getParent(),M=new a(r.graphManager);M.id=F,M.paddingLeft=P.paddingLeft||0,M.paddingRight=P.paddingRight||0,M.paddingBottom=P.paddingBottom||0,M.paddingTop=P.paddingTop||0,r.idToDummyNode[F]=M;var b=r.getGraphManager().add(r.newGraph(),M),S=P.getChild();S.add(M);for(var U=0;U=0;r--){var d=this.compoundOrder[r],l=d.id,m=d.paddingLeft,N=d.paddingTop;this.adjustLocations(this.tiledMemberPack[l],d.rect.x,d.rect.y,m,N)}},g.prototype.repopulateZeroDegreeMembers=function(){var r=this,d=this.tiledZeroDegreePack;Object.keys(d).forEach(function(l){var m=r.idToDummyNode[l],N=m.paddingLeft,w=m.paddingTop;r.adjustLocations(d[l],m.rect.x,m.rect.y,N,w)})},g.prototype.getToBeTiled=function(r){var d=r.id;if(this.toBeTiled[d]!=null)return this.toBeTiled[d];var l=r.getChild();if(l==null)return this.toBeTiled[d]=!1,!1;for(var m=l.getNodes(),N=0;N0)return this.toBeTiled[d]=!1,!1;if(w.getChild()==null){this.toBeTiled[w.id]=!1;continue}if(!this.getToBeTiled(w))return this.toBeTiled[d]=!1,!1}return this.toBeTiled[d]=!0,!0},g.prototype.getNodeDegree=function(r){for(var d=r.id,l=r.getEdges(),m=0,N=0;NG&&(G=P.rect.height)}l+=G+r.verticalPadding}},g.prototype.tileCompoundMembers=function(r,d){var l=this;this.tiledMemberPack=[],Object.keys(r).forEach(function(m){var N=d[m];l.tiledMemberPack[m]=l.tileNodes(r[m],N.paddingLeft+N.paddingRight),N.rect.width=l.tiledMemberPack[m].width,N.rect.height=l.tiledMemberPack[m].height})},g.prototype.tileNodes=function(r,d){var l=s.TILING_PADDING_VERTICAL,m=s.TILING_PADDING_HORIZONTAL,N={rows:[],rowWidth:[],rowHeight:[],width:0,height:d,verticalPadding:l,horizontalPadding:m};r.sort(function(R,G){return R.rect.width*R.rect.height>G.rect.width*G.rect.height?-1:R.rect.width*R.rect.height0&&(C+=r.horizontalPadding),r.rowWidth[l]=C,r.width0&&(R+=r.verticalPadding);var G=0;R>r.rowHeight[l]&&(G=r.rowHeight[l],r.rowHeight[l]=R,G=r.rowHeight[l]-G),r.height+=G,r.rows[l].push(d)},g.prototype.getShortestRowIndex=function(r){for(var d=-1,l=Number.MAX_VALUE,m=0;ml&&(d=m,l=r.rowWidth[m]);return d},g.prototype.canAddHorizontal=function(r,d,l){var m=this.getShortestRowIndex(r);if(m<0)return!0;var N=r.rowWidth[m];if(N+r.horizontalPadding+d<=r.width)return!0;var w=0;r.rowHeight[m]0&&(w=l+r.verticalPadding-r.rowHeight[m]);var C;r.width-N>=d+r.horizontalPadding?C=(r.height+w)/(N+d+r.horizontalPadding):C=(r.height+w)/r.width,w=l+r.verticalPadding;var R;return r.widthw&&d!=l){m.splice(-1,1),r.rows[l].push(N),r.rowWidth[d]=r.rowWidth[d]-w,r.rowWidth[l]=r.rowWidth[l]+w,r.width=r.rowWidth[instance.getLongestRowIndex(r)];for(var C=Number.MIN_VALUE,R=0;RC&&(C=m[R].height);d>0&&(C+=r.verticalPadding);var G=r.rowHeight[d]+r.rowHeight[l];r.rowHeight[d]=C,r.rowHeight[l]0)for(var S=N;S<=w;S++)b[0]+=this.grid[S][C-1].length+this.grid[S][C].length-1;if(w0)for(var S=C;S<=R;S++)b[3]+=this.grid[N-1][S].length+this.grid[N][S].length-1;for(var U=v.MAX_VALUE,Y,X,B=0;B{T(function(p,A){typeof O=="object"&&typeof x=="object"?x.exports=A(dt()):typeof define=="function"&&define.amd?define(["cose-base"],A):typeof O=="object"?O.cytoscapeCoseBilkent=A(dt()):p.cytoscapeCoseBilkent=A(p.coseBase)},"webpackUniversalModuleDefinition")(O,function(p){return function(A){var y={};function i(t){if(y[t])return y[t].exports;var e=y[t]={i:t,l:!1,exports:{}};return A[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return T(i,"__webpack_require__"),i.m=A,i.c=y,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?T(function(){return t.default},"getDefault"):T(function(){return t},"getModuleExports");return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(A,y){A.exports=p},function(A,y,i){var t=i(0).layoutBase.LayoutConstants,e=i(0).layoutBase.FDLayoutConstants,n=i(0).CoSEConstants,a=i(0).CoSELayout,h=i(0).CoSENode,s=i(0).layoutBase.PointD,f=i(0).layoutBase.DimensionD,o={ready:T(function(){},"ready"),stop:T(function(){},"stop"),quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function u(_,L){var I={};for(var g in _)I[g]=_[g];for(var g in L)I[g]=L[g];return I}T(u,"extend");function c(_){this.options=u(o,_),E(this.options)}T(c,"_CoSELayout");var E=T(function(_){_.nodeRepulsion!=null&&(n.DEFAULT_REPULSION_STRENGTH=e.DEFAULT_REPULSION_STRENGTH=_.nodeRepulsion),_.idealEdgeLength!=null&&(n.DEFAULT_EDGE_LENGTH=e.DEFAULT_EDGE_LENGTH=_.idealEdgeLength),_.edgeElasticity!=null&&(n.DEFAULT_SPRING_STRENGTH=e.DEFAULT_SPRING_STRENGTH=_.edgeElasticity),_.nestingFactor!=null&&(n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=_.nestingFactor),_.gravity!=null&&(n.DEFAULT_GRAVITY_STRENGTH=e.DEFAULT_GRAVITY_STRENGTH=_.gravity),_.numIter!=null&&(n.MAX_ITERATIONS=e.MAX_ITERATIONS=_.numIter),_.gravityRange!=null&&(n.DEFAULT_GRAVITY_RANGE_FACTOR=e.DEFAULT_GRAVITY_RANGE_FACTOR=_.gravityRange),_.gravityCompound!=null&&(n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=e.DEFAULT_COMPOUND_GRAVITY_STRENGTH=_.gravityCompound),_.gravityRangeCompound!=null&&(n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=_.gravityRangeCompound),_.initialEnergyOnIncremental!=null&&(n.DEFAULT_COOLING_FACTOR_INCREMENTAL=e.DEFAULT_COOLING_FACTOR_INCREMENTAL=_.initialEnergyOnIncremental),_.quality=="draft"?t.QUALITY=0:_.quality=="proof"?t.QUALITY=2:t.QUALITY=1,n.NODE_DIMENSIONS_INCLUDE_LABELS=e.NODE_DIMENSIONS_INCLUDE_LABELS=t.NODE_DIMENSIONS_INCLUDE_LABELS=_.nodeDimensionsIncludeLabels,n.DEFAULT_INCREMENTAL=e.DEFAULT_INCREMENTAL=t.DEFAULT_INCREMENTAL=!_.randomize,n.ANIMATE=e.ANIMATE=t.ANIMATE=_.animate,n.TILE=_.tile,n.TILING_PADDING_VERTICAL=typeof _.tilingPaddingVertical=="function"?_.tilingPaddingVertical.call():_.tilingPaddingVertical,n.TILING_PADDING_HORIZONTAL=typeof _.tilingPaddingHorizontal=="function"?_.tilingPaddingHorizontal.call():_.tilingPaddingHorizontal},"getUserOptions");c.prototype.run=function(){var _,L,I=this.options;this.idToLNode={};var g=this.layout=new a,D=this;D.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var r=g.newGraphManager();this.gm=r;var d=this.options.eles.nodes(),l=this.options.eles.edges();this.root=r.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(d),g);for(var m=0;m0){var R;R=I.getGraphManager().add(I.newGraph(),l),this.processChildrenList(R,d,I)}}},c.prototype.stop=function(){return this.stopped=!0,this};var v=T(function(_){_("layout","cose-bilkent",c)},"register");typeof cytoscape<"u"&&v(cytoscape),A.exports=v}])})}),ot=function(){var O=T(function(I,g,D,r){for(D=D||{},r=I.length;r--;D[I[r]]=g);return D},"o"),x=[1,4],p=[1,13],A=[1,12],y=[1,15],i=[1,16],t=[1,20],e=[1,19],n=[6,7,8],a=[1,26],h=[1,24],s=[1,25],f=[6,7,11],o=[1,6,13,15,16,19,22],u=[1,33],c=[1,34],E=[1,6,7,11,13,15,16,19,22],v={trace:T(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:T(function(I,g,D,r,d,l,m){var N=l.length-1;switch(d){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",l[N].id),r.addNode(l[N-1].length,l[N].id,l[N].descr,l[N].type);break;case 16:r.getLogger().trace("Icon: ",l[N]),r.decorateNode({icon:l[N]});break;case 17:case 21:r.decorateNode({class:l[N]});break;case 18:r.getLogger().trace("SPACELIST");break;case 19:r.getLogger().trace("Node: ",l[N].id),r.addNode(0,l[N].id,l[N].descr,l[N].type);break;case 20:r.decorateNode({icon:l[N]});break;case 25:r.getLogger().trace("node found ..",l[N-2]),this.$={id:l[N-1],descr:l[N-1],type:r.getType(l[N-2],l[N])};break;case 26:this.$={id:l[N],descr:l[N],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace("node found ..",l[N-3]),this.$={id:l[N-3],descr:l[N-1],type:r.getType(l[N-2],l[N])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:x},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:x},{6:p,7:[1,10],9:9,12:11,13:A,14:14,15:y,16:i,17:17,18:18,19:t,22:e},O(n,[2,3]),{1:[2,2]},O(n,[2,4]),O(n,[2,5]),{1:[2,6],6:p,12:21,13:A,14:14,15:y,16:i,17:17,18:18,19:t,22:e},{6:p,9:22,12:11,13:A,14:14,15:y,16:i,17:17,18:18,19:t,22:e},{6:a,7:h,10:23,11:s},O(f,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),O(f,[2,18]),O(f,[2,19]),O(f,[2,20]),O(f,[2,21]),O(f,[2,23]),O(f,[2,24]),O(f,[2,26],{19:[1,30]}),{20:[1,31]},{6:a,7:h,10:32,11:s},{1:[2,7],6:p,12:21,13:A,14:14,15:y,16:i,17:17,18:18,19:t,22:e},O(o,[2,14],{7:u,11:c}),O(E,[2,8]),O(E,[2,9]),O(E,[2,10]),O(f,[2,15]),O(f,[2,16]),O(f,[2,17]),{20:[1,35]},{21:[1,36]},O(o,[2,13],{7:u,11:c}),O(E,[2,11]),O(E,[2,12]),{21:[1,37]},O(f,[2,25]),O(f,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:T(function(I,g){if(g.recoverable)this.trace(I);else{var D=new Error(I);throw D.hash=g,D}},"parseError"),parse:T(function(I){var g=this,D=[0],r=[],d=[null],l=[],m=this.table,N="",w=0,C=0,R=0,G=2,F=1,P=l.slice.call(arguments,1),M=Object.create(this.lexer),b={yy:{}};for(var S in this.yy)Object.prototype.hasOwnProperty.call(this.yy,S)&&(b.yy[S]=this.yy[S]);M.setInput(I,b.yy),b.yy.lexer=M,b.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var U=M.yylloc;l.push(U);var Y=M.options&&M.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function X(V){D.length=D.length-2*V,d.length=d.length-V,l.length=l.length-V}T(X,"popStack");function B(){var V;return V=r.pop()||M.lex()||F,typeof V!="number"&&(V instanceof Array&&(r=V,V=r.pop()),V=g.symbols_[V]||V),V}T(B,"lex");for(var k,j,H,W,nt,K,Q={},J,z,gt,tt;;){if(H=D[D.length-1],this.defaultActions[H]?W=this.defaultActions[H]:((k===null||typeof k>"u")&&(k=B()),W=m[H]&&m[H][k]),typeof W>"u"||!W.length||!W[0]){var rt="";tt=[];for(J in m[H])this.terminals_[J]&&J>G&&tt.push("'"+this.terminals_[J]+"'");M.showPosition?rt="Parse error on line "+(w+1)+`: +import{F as pt}from"./chunk-PWCSEZZ4-BMVq3ufo.js";import{m as T,J as Z,Q as st,n as et,N as it,q as mt,bb as Lt,ab as Nt,a8 as At,b7 as Tt,b8 as It,b9 as Ot,ba as Dt,a0 as at,b as wt}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var ut=at((O,x)=>{T(function(p,A){typeof O=="object"&&typeof x=="object"?x.exports=A():typeof define=="function"&&define.amd?define([],A):typeof O=="object"?O.layoutBase=A():p.layoutBase=A()},"webpackUniversalModuleDefinition")(O,function(){return function(p){var A={};function y(i){if(A[i])return A[i].exports;var t=A[i]={i,l:!1,exports:{}};return p[i].call(t.exports,t,t.exports,y),t.l=!0,t.exports}return T(y,"__webpack_require__"),y.m=p,y.c=A,y.i=function(i){return i},y.d=function(i,t,e){y.o(i,t)||Object.defineProperty(i,t,{configurable:!1,enumerable:!0,get:e})},y.n=function(i){var t=i&&i.__esModule?T(function(){return i.default},"getDefault"):T(function(){return i},"getModuleExports");return y.d(t,"a",t),t},y.o=function(i,t){return Object.prototype.hasOwnProperty.call(i,t)},y.p="",y(y.s=26)}([function(p,A,y){function i(){}T(i,"LayoutConstants"),i.QUALITY=1,i.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,i.DEFAULT_INCREMENTAL=!1,i.DEFAULT_ANIMATION_ON_LAYOUT=!0,i.DEFAULT_ANIMATION_DURING_LAYOUT=!1,i.DEFAULT_ANIMATION_PERIOD=50,i.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,i.DEFAULT_GRAPH_MARGIN=15,i.NODE_DIMENSIONS_INCLUDE_LABELS=!1,i.SIMPLE_NODE_SIZE=40,i.SIMPLE_NODE_HALF_SIZE=i.SIMPLE_NODE_SIZE/2,i.EMPTY_COMPOUND_NODE_SIZE=40,i.MIN_EDGE_LENGTH=1,i.WORLD_BOUNDARY=1e6,i.INITIAL_WORLD_BOUNDARY=i.WORLD_BOUNDARY/1e3,i.WORLD_CENTER_X=1200,i.WORLD_CENTER_Y=900,p.exports=i},function(p,A,y){var i=y(2),t=y(8),e=y(9);function n(h,s,f){i.call(this,f),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=f,this.bendpoints=[],this.source=h,this.target=s}T(n,"LEdge"),n.prototype=Object.create(i.prototype);for(var a in i)n[a]=i[a];n.prototype.getSource=function(){return this.source},n.prototype.getTarget=function(){return this.target},n.prototype.isInterGraph=function(){return this.isInterGraph},n.prototype.getLength=function(){return this.length},n.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},n.prototype.getBendpoints=function(){return this.bendpoints},n.prototype.getLca=function(){return this.lca},n.prototype.getSourceInLca=function(){return this.sourceInLca},n.prototype.getTargetInLca=function(){return this.targetInLca},n.prototype.getOtherEnd=function(h){if(this.source===h)return this.target;if(this.target===h)return this.source;throw"Node is not incident with this edge"},n.prototype.getOtherEndInGraph=function(h,s){for(var f=this.getOtherEnd(h),o=s.getGraphManager().getRoot();;){if(f.getOwner()==s)return f;if(f.getOwner()==o)break;f=f.getOwner().getParent()}return null},n.prototype.updateLength=function(){var h=new Array(4);this.isOverlapingSourceAndTarget=t.getIntersection(this.target.getRect(),this.source.getRect(),h),this.isOverlapingSourceAndTarget||(this.lengthX=h[0]-h[2],this.lengthY=h[1]-h[3],Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},n.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=e.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=e.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},p.exports=n},function(p,A,y){function i(t){this.vGraphObject=t}T(i,"LGraphObject"),p.exports=i},function(p,A,y){var i=y(2),t=y(10),e=y(13),n=y(0),a=y(16),h=y(4);function s(o,u,c,E){c==null&&E==null&&(E=u),i.call(this,E),o.graphManager!=null&&(o=o.graphManager),this.estimatedSize=t.MIN_VALUE,this.inclusionTreeDepth=t.MAX_VALUE,this.vGraphObject=E,this.edges=[],this.graphManager=o,c!=null&&u!=null?this.rect=new e(u.x,u.y,c.width,c.height):this.rect=new e}T(s,"LNode"),s.prototype=Object.create(i.prototype);for(var f in i)s[f]=i[f];s.prototype.getEdges=function(){return this.edges},s.prototype.getChild=function(){return this.child},s.prototype.getOwner=function(){return this.owner},s.prototype.getWidth=function(){return this.rect.width},s.prototype.setWidth=function(o){this.rect.width=o},s.prototype.getHeight=function(){return this.rect.height},s.prototype.setHeight=function(o){this.rect.height=o},s.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},s.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},s.prototype.getCenter=function(){return new h(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},s.prototype.getLocation=function(){return new h(this.rect.x,this.rect.y)},s.prototype.getRect=function(){return this.rect},s.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},s.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},s.prototype.setRect=function(o,u){this.rect.x=o.x,this.rect.y=o.y,this.rect.width=u.width,this.rect.height=u.height},s.prototype.setCenter=function(o,u){this.rect.x=o-this.rect.width/2,this.rect.y=u-this.rect.height/2},s.prototype.setLocation=function(o,u){this.rect.x=o,this.rect.y=u},s.prototype.moveBy=function(o,u){this.rect.x+=o,this.rect.y+=u},s.prototype.getEdgeListToNode=function(o){var u=[],c=this;return c.edges.forEach(function(E){if(E.target==o){if(E.source!=c)throw"Incorrect edge source!";u.push(E)}}),u},s.prototype.getEdgesBetween=function(o){var u=[],c=this;return c.edges.forEach(function(E){if(!(E.source==c||E.target==c))throw"Incorrect edge source and/or target";(E.target==o||E.source==o)&&u.push(E)}),u},s.prototype.getNeighborsList=function(){var o=new Set,u=this;return u.edges.forEach(function(c){if(c.source==u)o.add(c.target);else{if(c.target!=u)throw"Incorrect incidency!";o.add(c.source)}}),o},s.prototype.withChildren=function(){var o=new Set,u,c;if(o.add(this),this.child!=null)for(var E=this.child.getNodes(),v=0;vu&&(this.rect.x-=(this.labelWidth-u)/2,this.setWidth(this.labelWidth)),this.labelHeight>c&&(this.labelPos=="center"?this.rect.y-=(this.labelHeight-c)/2:this.labelPos=="top"&&(this.rect.y-=this.labelHeight-c),this.setHeight(this.labelHeight))}}},s.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==t.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},s.prototype.transform=function(o){var u=this.rect.x;u>n.WORLD_BOUNDARY?u=n.WORLD_BOUNDARY:u<-n.WORLD_BOUNDARY&&(u=-n.WORLD_BOUNDARY);var c=this.rect.y;c>n.WORLD_BOUNDARY?c=n.WORLD_BOUNDARY:c<-n.WORLD_BOUNDARY&&(c=-n.WORLD_BOUNDARY);var E=new h(u,c),v=o.inverseTransformPoint(E);this.setLocation(v.x,v.y)},s.prototype.getLeft=function(){return this.rect.x},s.prototype.getRight=function(){return this.rect.x+this.rect.width},s.prototype.getTop=function(){return this.rect.y},s.prototype.getBottom=function(){return this.rect.y+this.rect.height},s.prototype.getParent=function(){return this.owner==null?null:this.owner.getParent()},p.exports=s},function(p,A,y){function i(t,e){t==null&&e==null?(this.x=0,this.y=0):(this.x=t,this.y=e)}T(i,"PointD"),i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.setX=function(t){this.x=t},i.prototype.setY=function(t){this.y=t},i.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},i.prototype.getCopy=function(){return new i(this.x,this.y)},i.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},p.exports=i},function(p,A,y){var i=y(2),t=y(10),e=y(0),n=y(6),a=y(3),h=y(1),s=y(13),f=y(12),o=y(11);function u(E,v,_){i.call(this,_),this.estimatedSize=t.MIN_VALUE,this.margin=e.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=E,v!=null&&v instanceof n?this.graphManager=v:v!=null&&v instanceof Layout&&(this.graphManager=v.graphManager)}T(u,"LGraph"),u.prototype=Object.create(i.prototype);for(var c in i)u[c]=i[c];u.prototype.getNodes=function(){return this.nodes},u.prototype.getEdges=function(){return this.edges},u.prototype.getGraphManager=function(){return this.graphManager},u.prototype.getParent=function(){return this.parent},u.prototype.getLeft=function(){return this.left},u.prototype.getRight=function(){return this.right},u.prototype.getTop=function(){return this.top},u.prototype.getBottom=function(){return this.bottom},u.prototype.isConnected=function(){return this.isConnected},u.prototype.add=function(E,v,_){if(v==null&&_==null){var L=E;if(this.graphManager==null)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(L)>-1)throw"Node already in graph!";return L.owner=this,this.getNodes().push(L),L}else{var I=E;if(!(this.getNodes().indexOf(v)>-1&&this.getNodes().indexOf(_)>-1))throw"Source or target not in graph!";if(!(v.owner==_.owner&&v.owner==this))throw"Both owners must be this graph!";return v.owner!=_.owner?null:(I.source=v,I.target=_,I.isInterGraph=!1,this.getEdges().push(I),v.edges.push(I),_!=v&&_.edges.push(I),I)}},u.prototype.remove=function(E){var v=E;if(E instanceof a){if(v==null)throw"Node is null!";if(!(v.owner!=null&&v.owner==this))throw"Owner graph is invalid!";if(this.graphManager==null)throw"Owner graph manager is invalid!";for(var _=v.edges.slice(),L,I=_.length,g=0;g-1&&d>-1))throw"Source and/or target doesn't know this edge!";L.source.edges.splice(r,1),L.target!=L.source&&L.target.edges.splice(d,1);var D=L.source.owner.getEdges().indexOf(L);if(D==-1)throw"Not in owner's edge list!";L.source.owner.getEdges().splice(D,1)}},u.prototype.updateLeftTop=function(){for(var E=t.MAX_VALUE,v=t.MAX_VALUE,_,L,I,g=this.getNodes(),D=g.length,r=0;r_&&(E=_),v>L&&(v=L)}return E==t.MAX_VALUE?null:(g[0].getParent().paddingLeft!=null?I=g[0].getParent().paddingLeft:I=this.margin,this.left=v-I,this.top=E-I,new f(this.left,this.top))},u.prototype.updateBounds=function(E){for(var v=t.MAX_VALUE,_=-t.MAX_VALUE,L=t.MAX_VALUE,I=-t.MAX_VALUE,g,D,r,d,l,m=this.nodes,N=m.length,w=0;wg&&(v=g),_r&&(L=r),Ig&&(v=g),_r&&(L=r),I=this.nodes.length){var N=0;_.forEach(function(w){w.owner==E&&N++}),N==this.nodes.length&&(this.isConnected=!0)}},p.exports=u},function(p,A,y){var i,t=y(1);function e(n){i=y(5),this.layout=n,this.graphs=[],this.edges=[]}T(e,"LGraphManager"),e.prototype.addRoot=function(){var n=this.layout.newGraph(),a=this.layout.newNode(null),h=this.add(n,a);return this.setRootGraph(h),this.rootGraph},e.prototype.add=function(n,a,h,s,f){if(h==null&&s==null&&f==null){if(n==null)throw"Graph is null!";if(a==null)throw"Parent node is null!";if(this.graphs.indexOf(n)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(n),n.parent!=null)throw"Already has a parent!";if(a.child!=null)throw"Already has a child!";return n.parent=a,a.child=n,n}else{f=h,s=a,h=n;var o=s.getOwner(),u=f.getOwner();if(!(o!=null&&o.getGraphManager()==this))throw"Source not in this graph mgr!";if(!(u!=null&&u.getGraphManager()==this))throw"Target not in this graph mgr!";if(o==u)return h.isInterGraph=!1,o.add(h,s,f);if(h.isInterGraph=!0,h.source=s,h.target=f,this.edges.indexOf(h)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(h),!(h.source!=null&&h.target!=null))throw"Edge source and/or target is null!";if(!(h.source.edges.indexOf(h)==-1&&h.target.edges.indexOf(h)==-1))throw"Edge already in source and/or target incidency list!";return h.source.edges.push(h),h.target.edges.push(h),h}},e.prototype.remove=function(n){if(n instanceof i){var a=n;if(a.getGraphManager()!=this)throw"Graph not in this graph mgr";if(!(a==this.rootGraph||a.parent!=null&&a.parent.graphManager==this))throw"Invalid parent node!";var h=[];h=h.concat(a.getEdges());for(var s,f=h.length,o=0;o=n.getRight()?a[0]+=Math.min(n.getX()-e.getX(),e.getRight()-n.getRight()):n.getX()<=e.getX()&&n.getRight()>=e.getRight()&&(a[0]+=Math.min(e.getX()-n.getX(),n.getRight()-e.getRight())),e.getY()<=n.getY()&&e.getBottom()>=n.getBottom()?a[1]+=Math.min(n.getY()-e.getY(),e.getBottom()-n.getBottom()):n.getY()<=e.getY()&&n.getBottom()>=e.getBottom()&&(a[1]+=Math.min(e.getY()-n.getY(),n.getBottom()-e.getBottom()));var f=Math.abs((n.getCenterY()-e.getCenterY())/(n.getCenterX()-e.getCenterX()));n.getCenterY()===e.getCenterY()&&n.getCenterX()===e.getCenterX()&&(f=1);var o=f*a[0],u=a[1]/f;a[0]o)return a[0]=h,a[1]=c,a[2]=f,a[3]=m,!1;if(sf)return a[0]=u,a[1]=s,a[2]=d,a[3]=o,!1;if(hf?(a[0]=v,a[1]=_,R=!0):(a[0]=E,a[1]=c,R=!0):F===M&&(h>f?(a[0]=u,a[1]=c,R=!0):(a[0]=L,a[1]=_,R=!0)),-P===M?f>h?(a[2]=l,a[3]=m,G=!0):(a[2]=d,a[3]=r,G=!0):P===M&&(f>h?(a[2]=D,a[3]=r,G=!0):(a[2]=N,a[3]=m,G=!0)),R&&G)return!1;if(h>f?s>o?(b=this.getCardinalDirection(F,M,4),S=this.getCardinalDirection(P,M,2)):(b=this.getCardinalDirection(-F,M,3),S=this.getCardinalDirection(-P,M,1)):s>o?(b=this.getCardinalDirection(-F,M,1),S=this.getCardinalDirection(-P,M,3)):(b=this.getCardinalDirection(F,M,2),S=this.getCardinalDirection(P,M,4)),!R)switch(b){case 1:Y=c,U=h+-g/M,a[0]=U,a[1]=Y;break;case 2:U=L,Y=s+I*M,a[0]=U,a[1]=Y;break;case 3:Y=_,U=h+g/M,a[0]=U,a[1]=Y;break;case 4:U=v,Y=s+-I*M,a[0]=U,a[1]=Y;break}if(!G)switch(S){case 1:B=r,X=f+-C/M,a[2]=X,a[3]=B;break;case 2:X=N,B=o+w*M,a[2]=X,a[3]=B;break;case 3:B=m,X=f+C/M,a[2]=X,a[3]=B;break;case 4:X=l,B=o+-w*M,a[2]=X,a[3]=B;break}}return!1},t.getCardinalDirection=function(e,n,a){return e>n?a:1+a%4},t.getIntersection=function(e,n,a,h){if(h==null)return this.getIntersection2(e,n,a);var s=e.x,f=e.y,o=n.x,u=n.y,c=a.x,E=a.y,v=h.x,_=h.y,L=void 0,I=void 0,g=void 0,D=void 0,r=void 0,d=void 0,l=void 0,m=void 0,N=void 0;return g=u-f,r=s-o,l=o*f-s*u,D=_-E,d=c-v,m=v*E-c*_,N=g*d-D*r,N===0?null:(L=(r*m-d*l)/N,I=(D*l-g*m)/N,new i(L,I))},t.angleOfVector=function(e,n,a,h){var s=void 0;return e!==a?(s=Math.atan((h-n)/(a-e)),a0?1:t<0?-1:0},i.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},i.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},p.exports=i},function(p,A,y){function i(){}T(i,"Integer"),i.MAX_VALUE=2147483647,i.MIN_VALUE=-2147483648,p.exports=i},function(p,A,y){var i=function(){function s(f,o){for(var u=0;u"u"?"undefined":i(e);return e==null||n!="object"&&n!="function"},p.exports=t},function(p,A,y){function i(c){if(Array.isArray(c)){for(var E=0,v=Array(c.length);E0&&E;){for(g.push(r[0]);g.length>0&&E;){var d=g[0];g.splice(0,1),I.add(d);for(var l=d.getEdges(),L=0;L-1&&r.splice(C,1)}I=new Set,D=new Map}}return c},u.prototype.createDummyNodesForBendpoints=function(c){for(var E=[],v=c.source,_=this.graphManager.calcLowestCommonAncestor(c.source,c.target),L=0;L0){for(var _=this.edgeToDummyNodes.get(v),L=0;L<_.length;L++){var I=_[L],g=new s(I.getCenterX(),I.getCenterY()),D=v.bendpoints.get(L);D.x=g.x,D.y=g.y,I.getOwner().remove(I)}this.graphManager.add(v,v.source,v.target)}}},u.transform=function(c,E,v,_){if(v!=null&&_!=null){var L=E;if(c<=50){var I=E/v;L-=(E-I)/50*(50-c)}else{var g=E*_;L+=(g-E)/50*(c-50)}return L}else{var D,r;return c<=50?(D=9*E/500,r=E/10):(D=9*E/50,r=-8*E),D*c+r}},u.findCenterOfTree=function(c){var E=[];E=E.concat(c);var v=[],_=new Map,L=!1,I=null;(E.length==1||E.length==2)&&(L=!0,I=E[0]);for(var g=0;g=0&&E.splice(m,1);var N=D.getNeighborsList();N.forEach(function(R){if(v.indexOf(R)<0){var G=_.get(R),F=G-1;F==1&&d.push(R),_.set(R,F)}})}v=v.concat(d),(E.length==1||E.length==2)&&(L=!0,I=E[0])}return I},u.prototype.setGraphManager=function(c){this.graphManager=c},p.exports=u},function(p,A,y){function i(){}T(i,"RandomSeed"),i.seed=1,i.x=0,i.nextDouble=function(){return i.x=Math.sin(i.seed++)*1e4,i.x-Math.floor(i.x)},p.exports=i},function(p,A,y){var i=y(4);function t(e,n){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}T(t,"Transform"),t.prototype.getWorldOrgX=function(){return this.lworldOrgX},t.prototype.setWorldOrgX=function(e){this.lworldOrgX=e},t.prototype.getWorldOrgY=function(){return this.lworldOrgY},t.prototype.setWorldOrgY=function(e){this.lworldOrgY=e},t.prototype.getWorldExtX=function(){return this.lworldExtX},t.prototype.setWorldExtX=function(e){this.lworldExtX=e},t.prototype.getWorldExtY=function(){return this.lworldExtY},t.prototype.setWorldExtY=function(e){this.lworldExtY=e},t.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},t.prototype.setDeviceOrgX=function(e){this.ldeviceOrgX=e},t.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},t.prototype.setDeviceOrgY=function(e){this.ldeviceOrgY=e},t.prototype.getDeviceExtX=function(){return this.ldeviceExtX},t.prototype.setDeviceExtX=function(e){this.ldeviceExtX=e},t.prototype.getDeviceExtY=function(){return this.ldeviceExtY},t.prototype.setDeviceExtY=function(e){this.ldeviceExtY=e},t.prototype.transformX=function(e){var n=0,a=this.lworldExtX;return a!=0&&(n=this.ldeviceOrgX+(e-this.lworldOrgX)*this.ldeviceExtX/a),n},t.prototype.transformY=function(e){var n=0,a=this.lworldExtY;return a!=0&&(n=this.ldeviceOrgY+(e-this.lworldOrgY)*this.ldeviceExtY/a),n},t.prototype.inverseTransformX=function(e){var n=0,a=this.ldeviceExtX;return a!=0&&(n=this.lworldOrgX+(e-this.ldeviceOrgX)*this.lworldExtX/a),n},t.prototype.inverseTransformY=function(e){var n=0,a=this.ldeviceExtY;return a!=0&&(n=this.lworldOrgY+(e-this.ldeviceOrgY)*this.lworldExtY/a),n},t.prototype.inverseTransformPoint=function(e){var n=new i(this.inverseTransformX(e.x),this.inverseTransformY(e.y));return n},p.exports=t},function(p,A,y){function i(o){if(Array.isArray(o)){for(var u=0,c=Array(o.length);ue.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*e.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(o-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-e.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT_INCREMENTAL):(o>e.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(e.COOLING_ADAPTATION_FACTOR,1-(o-e.ADAPTATION_LOWER_NODE_LIMIT)/(e.ADAPTATION_UPPER_NODE_LIMIT-e.ADAPTATION_LOWER_NODE_LIMIT)*(1-e.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=e.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(this.getAllNodes().length*5,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},s.prototype.calcSpringForces=function(){for(var o=this.getAllEdges(),u,c=0;c0&&arguments[0]!==void 0?arguments[0]:!0,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,c,E,v,_,L=this.getAllNodes(),I;if(this.useFRGridVariant)for(this.totalIterations%e.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),I=new Set,c=0;cg||I>g)&&(o.gravitationForceX=-this.gravityConstant*v,o.gravitationForceY=-this.gravityConstant*_)):(g=u.getEstimatedSize()*this.compoundGravityRangeFactor,(L>g||I>g)&&(o.gravitationForceX=-this.gravityConstant*v*this.compoundGravityConstant,o.gravitationForceY=-this.gravityConstant*_*this.compoundGravityConstant))},s.prototype.isConverged=function(){var o,u=!1;return this.totalIterations>this.maxIterations/3&&(u=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),o=this.totalDisplacement=L.length||g>=L[0].length)){for(var D=0;Dh},"_defaultCompareFunction")}]),a}();p.exports=n},function(p,A,y){var i=function(){function n(a,h){for(var s=0;s2&&arguments[2]!==void 0?arguments[2]:1,f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:-1,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:-1;t(this,n),this.sequence1=a,this.sequence2=h,this.match_score=s,this.mismatch_penalty=f,this.gap_penalty=o,this.iMax=a.length+1,this.jMax=h.length+1,this.grid=new Array(this.iMax);for(var u=0;u=0;a--){var h=this.listeners[a];h.event===e&&h.callback===n&&this.listeners.splice(a,1)}},t.emit=function(e,n){for(var a=0;a{T(function(p,A){typeof O=="object"&&typeof x=="object"?x.exports=A(ut()):typeof define=="function"&&define.amd?define(["layout-base"],A):typeof O=="object"?O.coseBase=A(ut()):p.coseBase=A(p.layoutBase)},"webpackUniversalModuleDefinition")(O,function(p){return function(A){var y={};function i(t){if(y[t])return y[t].exports;var e=y[t]={i:t,l:!1,exports:{}};return A[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return T(i,"__webpack_require__"),i.m=A,i.c=y,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?T(function(){return t.default},"getDefault"):T(function(){return t},"getModuleExports");return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=7)}([function(A,y){A.exports=p},function(A,y,i){var t=i(0).FDLayoutConstants;function e(){}T(e,"CoSEConstants");for(var n in t)e[n]=t[n];e.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,e.DEFAULT_RADIAL_SEPARATION=t.DEFAULT_EDGE_LENGTH,e.DEFAULT_COMPONENT_SEPERATION=60,e.TILE=!0,e.TILING_PADDING_VERTICAL=10,e.TILING_PADDING_HORIZONTAL=10,e.TREE_REDUCTION_ON_INCREMENTAL=!1,A.exports=e},function(A,y,i){var t=i(0).FDLayoutEdge;function e(a,h,s){t.call(this,a,h,s)}T(e,"CoSEEdge"),e.prototype=Object.create(t.prototype);for(var n in t)e[n]=t[n];A.exports=e},function(A,y,i){var t=i(0).LGraph;function e(a,h,s){t.call(this,a,h,s)}T(e,"CoSEGraph"),e.prototype=Object.create(t.prototype);for(var n in t)e[n]=t[n];A.exports=e},function(A,y,i){var t=i(0).LGraphManager;function e(a){t.call(this,a)}T(e,"CoSEGraphManager"),e.prototype=Object.create(t.prototype);for(var n in t)e[n]=t[n];A.exports=e},function(A,y,i){var t=i(0).FDLayoutNode,e=i(0).IMath;function n(h,s,f,o){t.call(this,h,s,f,o)}T(n,"CoSENode"),n.prototype=Object.create(t.prototype);for(var a in t)n[a]=t[a];n.prototype.move=function(){var h=this.graphManager.getLayout();this.displacementX=h.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=h.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementX=h.coolingFactor*h.maxNodeDisplacement*e.sign(this.displacementX)),Math.abs(this.displacementY)>h.coolingFactor*h.maxNodeDisplacement&&(this.displacementY=h.coolingFactor*h.maxNodeDisplacement*e.sign(this.displacementY)),this.child==null?this.moveBy(this.displacementX,this.displacementY):this.child.getNodes().length==0?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),h.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},n.prototype.propogateDisplacementToChildren=function(h,s){for(var f=this.getChild().getNodes(),o,u=0;u0)this.positionNodesRadially(l);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var r=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(w){return r.has(w)});this.graphManager.setAllNodesToApplyGravitation(d),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},g.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished)if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;if(this.totalIterations%f.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged())if(this.prunedNodesAll.length>0)this.isTreeGrowing=!0;else return!0;this.coolingCycle++,this.layoutQuality==0?this.coolingAdjuster=this.coolingCycle:this.layoutQuality==1&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var r=new Set(this.getAllNodes()),d=this.nodesWithGravity.filter(function(N){return r.has(N)});this.graphManager.setAllNodesToApplyGravitation(d),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=f.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=f.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var l=!this.isTreeGrowing&&!this.isGrowthFinished,m=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(l,m),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},g.prototype.getPositionsData=function(){for(var r=this.graphManager.getAllNodes(),d={},l=0;l1){var R;for(R=0;Rm&&(m=Math.floor(C.y)),w=Math.floor(C.x+s.DEFAULT_COMPONENT_SEPERATION)}this.transform(new c(o.WORLD_CENTER_X-C.x/2,o.WORLD_CENTER_Y-C.y/2))},g.radialLayout=function(r,d,l){var m=Math.max(this.maxDiagonalInTree(r),s.DEFAULT_RADIAL_SEPARATION);g.branchRadialLayout(d,null,0,359,0,m);var N=L.calculateBounds(r),w=new I;w.setDeviceOrgX(N.getMinX()),w.setDeviceOrgY(N.getMinY()),w.setWorldOrgX(l.x),w.setWorldOrgY(l.y);for(var C=0;C1;){var B=X[0];X.splice(0,1);var k=M.indexOf(B);k>=0&&M.splice(k,1),U--,b--}d!=null?Y=(M.indexOf(X[0])+1)%U:Y=0;for(var j=Math.abs(m-l)/b,H=Y;S!=b;H=++H%U){var W=M[H].getOtherEnd(r);if(W!=d){var nt=(l+S*j)%360,K=(nt+j)%360;g.branchRadialLayout(W,r,nt,K,N+w,w),S++}}},g.maxDiagonalInTree=function(r){for(var d=v.MIN_VALUE,l=0;ld&&(d=N)}return d},g.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},g.prototype.groupZeroDegreeMembers=function(){var r=this,d={};this.memberGroups={},this.idToDummyNode={};for(var l=[],m=this.graphManager.getAllNodes(),N=0;N"u"&&(d[R]=[]),d[R]=d[R].concat(w)}Object.keys(d).forEach(function(G){if(d[G].length>1){var F="DummyCompound_"+G;r.memberGroups[F]=d[G];var P=d[G][0].getParent(),M=new a(r.graphManager);M.id=F,M.paddingLeft=P.paddingLeft||0,M.paddingRight=P.paddingRight||0,M.paddingBottom=P.paddingBottom||0,M.paddingTop=P.paddingTop||0,r.idToDummyNode[F]=M;var b=r.getGraphManager().add(r.newGraph(),M),S=P.getChild();S.add(M);for(var U=0;U=0;r--){var d=this.compoundOrder[r],l=d.id,m=d.paddingLeft,N=d.paddingTop;this.adjustLocations(this.tiledMemberPack[l],d.rect.x,d.rect.y,m,N)}},g.prototype.repopulateZeroDegreeMembers=function(){var r=this,d=this.tiledZeroDegreePack;Object.keys(d).forEach(function(l){var m=r.idToDummyNode[l],N=m.paddingLeft,w=m.paddingTop;r.adjustLocations(d[l],m.rect.x,m.rect.y,N,w)})},g.prototype.getToBeTiled=function(r){var d=r.id;if(this.toBeTiled[d]!=null)return this.toBeTiled[d];var l=r.getChild();if(l==null)return this.toBeTiled[d]=!1,!1;for(var m=l.getNodes(),N=0;N0)return this.toBeTiled[d]=!1,!1;if(w.getChild()==null){this.toBeTiled[w.id]=!1;continue}if(!this.getToBeTiled(w))return this.toBeTiled[d]=!1,!1}return this.toBeTiled[d]=!0,!0},g.prototype.getNodeDegree=function(r){for(var d=r.id,l=r.getEdges(),m=0,N=0;NG&&(G=P.rect.height)}l+=G+r.verticalPadding}},g.prototype.tileCompoundMembers=function(r,d){var l=this;this.tiledMemberPack=[],Object.keys(r).forEach(function(m){var N=d[m];l.tiledMemberPack[m]=l.tileNodes(r[m],N.paddingLeft+N.paddingRight),N.rect.width=l.tiledMemberPack[m].width,N.rect.height=l.tiledMemberPack[m].height})},g.prototype.tileNodes=function(r,d){var l=s.TILING_PADDING_VERTICAL,m=s.TILING_PADDING_HORIZONTAL,N={rows:[],rowWidth:[],rowHeight:[],width:0,height:d,verticalPadding:l,horizontalPadding:m};r.sort(function(R,G){return R.rect.width*R.rect.height>G.rect.width*G.rect.height?-1:R.rect.width*R.rect.height0&&(C+=r.horizontalPadding),r.rowWidth[l]=C,r.width0&&(R+=r.verticalPadding);var G=0;R>r.rowHeight[l]&&(G=r.rowHeight[l],r.rowHeight[l]=R,G=r.rowHeight[l]-G),r.height+=G,r.rows[l].push(d)},g.prototype.getShortestRowIndex=function(r){for(var d=-1,l=Number.MAX_VALUE,m=0;ml&&(d=m,l=r.rowWidth[m]);return d},g.prototype.canAddHorizontal=function(r,d,l){var m=this.getShortestRowIndex(r);if(m<0)return!0;var N=r.rowWidth[m];if(N+r.horizontalPadding+d<=r.width)return!0;var w=0;r.rowHeight[m]0&&(w=l+r.verticalPadding-r.rowHeight[m]);var C;r.width-N>=d+r.horizontalPadding?C=(r.height+w)/(N+d+r.horizontalPadding):C=(r.height+w)/r.width,w=l+r.verticalPadding;var R;return r.widthw&&d!=l){m.splice(-1,1),r.rows[l].push(N),r.rowWidth[d]=r.rowWidth[d]-w,r.rowWidth[l]=r.rowWidth[l]+w,r.width=r.rowWidth[instance.getLongestRowIndex(r)];for(var C=Number.MIN_VALUE,R=0;RC&&(C=m[R].height);d>0&&(C+=r.verticalPadding);var G=r.rowHeight[d]+r.rowHeight[l];r.rowHeight[d]=C,r.rowHeight[l]0)for(var S=N;S<=w;S++)b[0]+=this.grid[S][C-1].length+this.grid[S][C].length-1;if(w0)for(var S=C;S<=R;S++)b[3]+=this.grid[N-1][S].length+this.grid[N][S].length-1;for(var U=v.MAX_VALUE,Y,X,B=0;B{T(function(p,A){typeof O=="object"&&typeof x=="object"?x.exports=A(dt()):typeof define=="function"&&define.amd?define(["cose-base"],A):typeof O=="object"?O.cytoscapeCoseBilkent=A(dt()):p.cytoscapeCoseBilkent=A(p.coseBase)},"webpackUniversalModuleDefinition")(O,function(p){return function(A){var y={};function i(t){if(y[t])return y[t].exports;var e=y[t]={i:t,l:!1,exports:{}};return A[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}return T(i,"__webpack_require__"),i.m=A,i.c=y,i.i=function(t){return t},i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.n=function(t){var e=t&&t.__esModule?T(function(){return t.default},"getDefault"):T(function(){return t},"getModuleExports");return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(A,y){A.exports=p},function(A,y,i){var t=i(0).layoutBase.LayoutConstants,e=i(0).layoutBase.FDLayoutConstants,n=i(0).CoSEConstants,a=i(0).CoSELayout,h=i(0).CoSENode,s=i(0).layoutBase.PointD,f=i(0).layoutBase.DimensionD,o={ready:T(function(){},"ready"),stop:T(function(){},"stop"),quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function u(_,L){var I={};for(var g in _)I[g]=_[g];for(var g in L)I[g]=L[g];return I}T(u,"extend");function c(_){this.options=u(o,_),E(this.options)}T(c,"_CoSELayout");var E=T(function(_){_.nodeRepulsion!=null&&(n.DEFAULT_REPULSION_STRENGTH=e.DEFAULT_REPULSION_STRENGTH=_.nodeRepulsion),_.idealEdgeLength!=null&&(n.DEFAULT_EDGE_LENGTH=e.DEFAULT_EDGE_LENGTH=_.idealEdgeLength),_.edgeElasticity!=null&&(n.DEFAULT_SPRING_STRENGTH=e.DEFAULT_SPRING_STRENGTH=_.edgeElasticity),_.nestingFactor!=null&&(n.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=e.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=_.nestingFactor),_.gravity!=null&&(n.DEFAULT_GRAVITY_STRENGTH=e.DEFAULT_GRAVITY_STRENGTH=_.gravity),_.numIter!=null&&(n.MAX_ITERATIONS=e.MAX_ITERATIONS=_.numIter),_.gravityRange!=null&&(n.DEFAULT_GRAVITY_RANGE_FACTOR=e.DEFAULT_GRAVITY_RANGE_FACTOR=_.gravityRange),_.gravityCompound!=null&&(n.DEFAULT_COMPOUND_GRAVITY_STRENGTH=e.DEFAULT_COMPOUND_GRAVITY_STRENGTH=_.gravityCompound),_.gravityRangeCompound!=null&&(n.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=e.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=_.gravityRangeCompound),_.initialEnergyOnIncremental!=null&&(n.DEFAULT_COOLING_FACTOR_INCREMENTAL=e.DEFAULT_COOLING_FACTOR_INCREMENTAL=_.initialEnergyOnIncremental),_.quality=="draft"?t.QUALITY=0:_.quality=="proof"?t.QUALITY=2:t.QUALITY=1,n.NODE_DIMENSIONS_INCLUDE_LABELS=e.NODE_DIMENSIONS_INCLUDE_LABELS=t.NODE_DIMENSIONS_INCLUDE_LABELS=_.nodeDimensionsIncludeLabels,n.DEFAULT_INCREMENTAL=e.DEFAULT_INCREMENTAL=t.DEFAULT_INCREMENTAL=!_.randomize,n.ANIMATE=e.ANIMATE=t.ANIMATE=_.animate,n.TILE=_.tile,n.TILING_PADDING_VERTICAL=typeof _.tilingPaddingVertical=="function"?_.tilingPaddingVertical.call():_.tilingPaddingVertical,n.TILING_PADDING_HORIZONTAL=typeof _.tilingPaddingHorizontal=="function"?_.tilingPaddingHorizontal.call():_.tilingPaddingHorizontal},"getUserOptions");c.prototype.run=function(){var _,L,I=this.options;this.idToLNode={};var g=this.layout=new a,D=this;D.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var r=g.newGraphManager();this.gm=r;var d=this.options.eles.nodes(),l=this.options.eles.edges();this.root=r.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(d),g);for(var m=0;m0){var R;R=I.getGraphManager().add(I.newGraph(),l),this.processChildrenList(R,d,I)}}},c.prototype.stop=function(){return this.stopped=!0,this};var v=T(function(_){_("layout","cose-bilkent",c)},"register");typeof cytoscape<"u"&&v(cytoscape),A.exports=v}])})}),ot=function(){var O=T(function(I,g,D,r){for(D=D||{},r=I.length;r--;D[I[r]]=g);return D},"o"),x=[1,4],p=[1,13],A=[1,12],y=[1,15],i=[1,16],t=[1,20],e=[1,19],n=[6,7,8],a=[1,26],h=[1,24],s=[1,25],f=[6,7,11],o=[1,6,13,15,16,19,22],u=[1,33],c=[1,34],E=[1,6,7,11,13,15,16,19,22],v={trace:T(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:T(function(I,g,D,r,d,l,m){var N=l.length-1;switch(d){case 6:case 7:return r;case 8:r.getLogger().trace("Stop NL ");break;case 9:r.getLogger().trace("Stop EOF ");break;case 11:r.getLogger().trace("Stop NL2 ");break;case 12:r.getLogger().trace("Stop EOF2 ");break;case 15:r.getLogger().info("Node: ",l[N].id),r.addNode(l[N-1].length,l[N].id,l[N].descr,l[N].type);break;case 16:r.getLogger().trace("Icon: ",l[N]),r.decorateNode({icon:l[N]});break;case 17:case 21:r.decorateNode({class:l[N]});break;case 18:r.getLogger().trace("SPACELIST");break;case 19:r.getLogger().trace("Node: ",l[N].id),r.addNode(0,l[N].id,l[N].descr,l[N].type);break;case 20:r.decorateNode({icon:l[N]});break;case 25:r.getLogger().trace("node found ..",l[N-2]),this.$={id:l[N-1],descr:l[N-1],type:r.getType(l[N-2],l[N])};break;case 26:this.$={id:l[N],descr:l[N],type:r.nodeType.DEFAULT};break;case 27:r.getLogger().trace("node found ..",l[N-3]),this.$={id:l[N-3],descr:l[N-1],type:r.getType(l[N-2],l[N])};break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:x},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:x},{6:p,7:[1,10],9:9,12:11,13:A,14:14,15:y,16:i,17:17,18:18,19:t,22:e},O(n,[2,3]),{1:[2,2]},O(n,[2,4]),O(n,[2,5]),{1:[2,6],6:p,12:21,13:A,14:14,15:y,16:i,17:17,18:18,19:t,22:e},{6:p,9:22,12:11,13:A,14:14,15:y,16:i,17:17,18:18,19:t,22:e},{6:a,7:h,10:23,11:s},O(f,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:t,22:e}),O(f,[2,18]),O(f,[2,19]),O(f,[2,20]),O(f,[2,21]),O(f,[2,23]),O(f,[2,24]),O(f,[2,26],{19:[1,30]}),{20:[1,31]},{6:a,7:h,10:32,11:s},{1:[2,7],6:p,12:21,13:A,14:14,15:y,16:i,17:17,18:18,19:t,22:e},O(o,[2,14],{7:u,11:c}),O(E,[2,8]),O(E,[2,9]),O(E,[2,10]),O(f,[2,15]),O(f,[2,16]),O(f,[2,17]),{20:[1,35]},{21:[1,36]},O(o,[2,13],{7:u,11:c}),O(E,[2,11]),O(E,[2,12]),{21:[1,37]},O(f,[2,25]),O(f,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:T(function(I,g){if(g.recoverable)this.trace(I);else{var D=new Error(I);throw D.hash=g,D}},"parseError"),parse:T(function(I){var g=this,D=[0],r=[],d=[null],l=[],m=this.table,N="",w=0,C=0,R=0,G=2,F=1,P=l.slice.call(arguments,1),M=Object.create(this.lexer),b={yy:{}};for(var S in this.yy)Object.prototype.hasOwnProperty.call(this.yy,S)&&(b.yy[S]=this.yy[S]);M.setInput(I,b.yy),b.yy.lexer=M,b.yy.parser=this,typeof M.yylloc>"u"&&(M.yylloc={});var U=M.yylloc;l.push(U);var Y=M.options&&M.options.ranges;typeof b.yy.parseError=="function"?this.parseError=b.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function X(V){D.length=D.length-2*V,d.length=d.length-V,l.length=l.length-V}T(X,"popStack");function B(){var V;return V=r.pop()||M.lex()||F,typeof V!="number"&&(V instanceof Array&&(r=V,V=r.pop()),V=g.symbols_[V]||V),V}T(B,"lex");for(var k,j,H,W,nt,K,Q={},J,z,gt,tt;;){if(H=D[D.length-1],this.defaultActions[H]?W=this.defaultActions[H]:((k===null||typeof k>"u")&&(k=B()),W=m[H]&&m[H][k]),typeof W>"u"||!W.length||!W[0]){var rt="";tt=[];for(J in m[H])this.terminals_[J]&&J>G&&tt.push("'"+this.terminals_[J]+"'");M.showPosition?rt="Parse error on line "+(w+1)+`: `+M.showPosition()+` Expecting `+tt.join(", ")+", got '"+(this.terminals_[k]||k)+"'":rt="Parse error on line "+(w+1)+": Unexpected "+(k==F?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(rt,{text:M.match,token:this.terminals_[k]||k,line:M.yylineno,loc:U,expected:tt})}if(W[0]instanceof Array&&W.length>1)throw new Error("Parse Error: multiple actions possible at state: "+H+", token: "+k);switch(W[0]){case 1:D.push(k),d.push(M.yytext),l.push(M.yylloc),D.push(W[1]),k=null,j?(k=j,j=null):(C=M.yyleng,N=M.yytext,w=M.yylineno,U=M.yylloc,R>0);break;case 2:if(z=this.productions_[W[1]][1],Q.$=d[d.length-z],Q._$={first_line:l[l.length-(z||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(z||1)].first_column,last_column:l[l.length-1].last_column},Y&&(Q._$.range=[l[l.length-(z||1)].range[0],l[l.length-1].range[1]]),K=this.performAction.apply(Q,[N,C,w,b.yy,W[1],d,l].concat(P)),typeof K<"u")return K;z&&(D=D.slice(0,-1*z*2),d=d.slice(0,-1*z),l=l.slice(0,-1*z)),D.push(this.productions_[W[1]][0]),d.push(Q.$),l.push(Q._$),gt=m[D[D.length-2]][D[D.length-1]],D.push(gt);break;case 3:return!0}}return!0},"parse")},_=function(){var I={EOF:1,parseError:T(function(g,D){if(this.yy.parser)this.yy.parser.parseError(g,D);else throw new Error(g)},"parseError"),setInput:T(function(g,D){return this.yy=D||this.yy||{},this._input=g,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:T(function(){var g=this._input[0];this.yytext+=g,this.yyleng++,this.offset++,this.match+=g,this.matched+=g;var D=g.match(/(?:\r\n?|\n).*/g);return D?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),g},"input"),unput:T(function(g){var D=g.length,r=g.split(/(?:\r\n?|\n)/g);this._input=g+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-D),this.offset-=D;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===d.length?this.yylloc.first_column:0)+d[d.length-r.length].length-r[0].length:this.yylloc.first_column-D},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-D]),this.yyleng=this.yytext.length,this},"unput"),more:T(function(){return this._more=!0,this},"more"),reject:T(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:T(function(g){this.unput(this.match.slice(g))},"less"),pastInput:T(function(){var g=this.matched.substr(0,this.matched.length-this.match.length);return(g.length>20?"...":"")+g.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:T(function(){var g=this.match;return g.length<20&&(g+=this._input.substr(0,20-g.length)),(g.substr(0,20)+(g.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:T(function(){var g=this.pastInput(),D=new Array(g.length+1).join("-");return g+this.upcomingInput()+` diff --git a/assets/options.html-Cim9h2-d.js b/assets/options.html-Cim9h2-d.js deleted file mode 100644 index 1dbf6bec..00000000 --- a/assets/options.html-Cim9h2-d.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,c as o,a,o as i}from"./app-DQKFxOg7.js";const n={};function d(r,t){return i(),o("div",null,t[0]||(t[0]=[a('

Beachball CLI options

For the latest full list of supported options, see CliOptions in this file.

Most options can also be specified in the configuration file, which is generally preferable as it's easier to read and maintain.

General options

The options below apply to most CLI commands.

OptionAliasDefaultDescription
--branch, -b-btarget branch; see config docs for details
--config-path-ccosmiconfig defaultscustom beachball config path
--no-fetchskip fetching from the remote
--change-dir'change'name of the directory to store change files
--scopeonly consider matching package paths (can be specified multiple times); see config docs
--sinceonly consider changes or change files since this git ref (branch name, commit SHA)
--verboseprints additional information to the console
',6)]))}const s=e(n,[["render",d],["__file","options.html.vue"]]),l=JSON.parse('{"path":"/cli/options.html","title":"Common options","lang":"en-US","frontmatter":{"title":"Common options","tags":["cli"],"category":"doc"},"headers":[{"level":2,"title":"General options","slug":"general-options","link":"#general-options","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"cli/options.md"}');export{s as comp,l as data}; diff --git a/assets/options.html-D-kxD7oF.js b/assets/options.html-D-kxD7oF.js new file mode 100644 index 00000000..b0bc53c2 --- /dev/null +++ b/assets/options.html-D-kxD7oF.js @@ -0,0 +1 @@ +import{_ as e,c as o,d as a,o as n}from"./app-3oaVMpRs.js";const d={};function i(r,t){return n(),o("div",null,t[0]||(t[0]=[a('

Beachball CLI options

For the latest full list of supported options, see CliOptions in this file.

Most options can also be specified in the configuration file, which is generally preferable as it's easier to read and maintain.

General options

The options below apply to most CLI commands.

OptionAliasDefaultDescription
--branch, -b-btarget branch; see config docs for details
--config-path-ccosmiconfig defaultscustom beachball config path
--no-fetchskip fetching from the remote
--change-dir'change'name of the directory to store change files
--scopeonly consider matching package paths (can be specified multiple times); see config docs
--sinceonly consider changes or change files since this git ref (branch name, commit SHA)
--verboseprints additional information to the console
',6)]))}const s=e(d,[["render",i],["__file","options.html.vue"]]),l=JSON.parse('{"path":"/cli/options.html","title":"Common options","lang":"en-US","frontmatter":{"title":"Common options","tags":["cli"],"category":"doc"},"headers":[{"level":2,"title":"General options","slug":"general-options","link":"#general-options","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"cli/options.md"}');export{s as comp,l as data}; diff --git a/assets/pieDiagram-XPKEEGBI-myoNvJLr.js b/assets/pieDiagram-XPKEEGBI-u-lQA-ja.js similarity index 93% rename from assets/pieDiagram-XPKEEGBI-myoNvJLr.js rename to assets/pieDiagram-XPKEEGBI-u-lQA-ja.js index 8ee98fcf..d9fec1c7 100644 --- a/assets/pieDiagram-XPKEEGBI-myoNvJLr.js +++ b/assets/pieDiagram-XPKEEGBI-u-lQA-ja.js @@ -1,4 +1,4 @@ -import{c as G}from"./chunk-4KE642ED-DNyS68x8.js";import{p as I}from"./gitGraph-YCYPL57B-MEVJTYR7-uq5v7Xw4.js";import{n as K,m as r,v as V,J as y,aa as X,Q as Y,o as j,a8 as q,ab as H,ac as L,ad as U,k as Z,L as _,A as ee,w as te,B as ae,F as ie,M as re}from"./mermaid.esm.min-DnxZBvzk.js";import"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";var O=K.pie,D={sections:new Map,showData:!1,config:O},u=D.sections,v=D.showData,le=structuredClone(O),se=r(()=>structuredClone(le),"getConfig"),oe=r(()=>{u=new Map,v=D.showData,V()},"clear"),ne=r(({label:e,value:a})=>{u.has(e)||(u.set(e,a),y.debug(`added new section: ${e}, with value: ${a}`))},"addSection"),pe=r(()=>u,"getSections"),de=r(e=>{v=e},"setShowData"),ce=r(()=>v,"getShowData"),R={getConfig:se,clear:oe,setDiagramTitle:_,getDiagramTitle:ee,setAccTitle:te,getAccTitle:ae,setAccDescription:ie,getAccDescription:re,addSection:ne,getSections:pe,setShowData:de,getShowData:ce},fe=r((e,a)=>{G(e,a),a.setShowData(e.showData),e.sections.map(a.addSection)},"populateDb"),ge={parse:r(async e=>{let a=await I("pie",e);y.debug(a),fe(a,R)},"parse")},me=r(e=>` +import{c as G}from"./chunk-4KE642ED-DF3NZIv7.js";import{p as I}from"./gitGraph-YCYPL57B-MEVJTYR7-bKObne2o.js";import{n as K,m as r,v as V,J as y,aa as X,Q as Y,o as j,a8 as q,ab as H,ac as L,ad as U,k as Z,L as _,A as ee,w as te,B as ae,F as ie,M as re}from"./mermaid.esm.min-Bq5H-fqC.js";import"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var O=K.pie,D={sections:new Map,showData:!1,config:O},u=D.sections,v=D.showData,le=structuredClone(O),se=r(()=>structuredClone(le),"getConfig"),oe=r(()=>{u=new Map,v=D.showData,V()},"clear"),ne=r(({label:e,value:a})=>{u.has(e)||(u.set(e,a),y.debug(`added new section: ${e}, with value: ${a}`))},"addSection"),pe=r(()=>u,"getSections"),de=r(e=>{v=e},"setShowData"),ce=r(()=>v,"getShowData"),R={getConfig:se,clear:oe,setDiagramTitle:_,getDiagramTitle:ee,setAccTitle:te,getAccTitle:ae,setAccDescription:ie,getAccDescription:re,addSection:ne,getSections:pe,setShowData:de,getShowData:ce},fe=r((e,a)=>{G(e,a),a.setShowData(e.showData),e.sections.map(a.addSection)},"populateDb"),ge={parse:r(async e=>{let a=await I("pie",e);y.debug(a),fe(a,R)},"parse")},me=r(e=>` .pieCircle{ stroke: ${e.pieStrokeColor}; stroke-width : ${e.pieStrokeWidth}; diff --git a/assets/publish.html-CHvDqTie.js b/assets/publish.html-CYwk5_5I.js similarity index 95% rename from assets/publish.html-CHvDqTie.js rename to assets/publish.html-CYwk5_5I.js index 6bd04b2d..86f052a9 100644 --- a/assets/publish.html-CHvDqTie.js +++ b/assets/publish.html-CYwk5_5I.js @@ -1 +1 @@ -import{_ as t,c as d,a as o,o as i}from"./app-DQKFxOg7.js";const a={};function s(l,e){return i(),d("div",null,e[0]||(e[0]=[o('

publish

Publishing automates all the bumping and synchronizing of package versions in the git remote as well as the npm registry.

Options

General options also apply for this command.

OptionAliasDefaultDescription
--auth-type-a'authtoken'npm auth type: 'authtoken' or 'password'
--git-tags, --no-git-tagstrue (--git-tags)whether to create git tags for published package versions
--keep-change-filesdon't delete the change files from disk after bumping
--message-m'applying package updates'custom commit message
--prerelease-prefixprerelease prefix (e.g. beta) for packages that will receive a prerelease bump
--publish, --no-publishtrue (--publish)whether to publish to the npm registry
--push, --no-pushtrue (--push)whether to commit changes and push them back to the git remote
--registry-r'https://registry.npmjs.org'npm registry for publishing
--retries3number of retries for a package publish before failing
--tag-t'latest'dist-tag for npm publishes
--token-ncredential to use with npm commands (type specified by --auth-type)
--verbosefalseprints additional information to the console
--yes-yif CI detected, trueskips the prompts for publish

Algorithm

The publish command is designed to run steps in an order that minimizes the chances of mid-publish failure by doing validation upfront.

beachball publish performs the following steps:

  1. Validate that options and change files are valid
  2. Bump and publish to npm (unless disabled):
    1. Bump the package versions locally
    2. Generate the changelog files (unless disabled)
    3. Delete change files locally (unless disabled)
    4. Validate that nothing to be published depends on a private package
    5. Publish packages to npm in topological order based on the dependency graph (to reduce the chances that if there's a failure partway through, a published package might require unpublished versions)
  3. Bump and push to git (unless bumping or pushing is disabled):
    1. Revert any previous changes (from the publish step)
    2. Merge the latest changes from the remote branch to avoid merge conflicts (unless fetching is disabled)
    3. Bump the versions locally
    4. Generate the changelog files (unless disabled)
    5. Delete change files locally (unless disabled)
    6. Commit the changes
    7. Create git tags for new package versions (unless disabled)
    8. Push the changes and tags

It might be surprising that beachball publish does so many steps, especially the step about reverting changes! In most version bumping systems that automate syncing the git repo and npm registry, they assume that the source code is still fresh once it's time to push changes back to the git repository. This is rarely the case for large repos with many developers. So, beachball fetches the latest changes before pushing back to the target branch to avoid merge conflicts.

Example CI workflow

See the CI integration page details and examples for how to run beachball publish in CI.

Recovering from failed publish

If the publish command fails partway through, after some versions have been published to the registry, you'll need to run beachball sync and commit the changes.

',14)]))}const c=t(a,[["render",s],["__file","publish.html.vue"]]),h=JSON.parse('{"path":"/cli/publish.html","title":"publish","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]},{"level":3,"title":"Algorithm","slug":"algorithm","link":"#algorithm","children":[]},{"level":3,"title":"Example CI workflow","slug":"example-ci-workflow","link":"#example-ci-workflow","children":[]},{"level":3,"title":"Recovering from failed publish","slug":"recovering-from-failed-publish","link":"#recovering-from-failed-publish","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"cli/publish.md"}');export{c as comp,h as data}; +import{_ as t,c as d,d as o,o as i}from"./app-3oaVMpRs.js";const a={};function s(l,e){return i(),d("div",null,e[0]||(e[0]=[o('

publish

Publishing automates all the bumping and synchronizing of package versions in the git remote as well as the npm registry.

Options

General options also apply for this command.

OptionAliasDefaultDescription
--auth-type-a'authtoken'npm auth type: 'authtoken' or 'password'
--git-tags, --no-git-tagstrue (--git-tags)whether to create git tags for published package versions
--keep-change-filesdon't delete the change files from disk after bumping
--message-m'applying package updates'custom commit message
--prerelease-prefixprerelease prefix (e.g. beta) for packages that will receive a prerelease bump
--publish, --no-publishtrue (--publish)whether to publish to the npm registry
--push, --no-pushtrue (--push)whether to commit changes and push them back to the git remote
--registry-r'https://registry.npmjs.org'npm registry for publishing
--retries3number of retries for a package publish before failing
--tag-t'latest'dist-tag for npm publishes
--token-ncredential to use with npm commands (type specified by --auth-type)
--verbosefalseprints additional information to the console
--yes-yif CI detected, trueskips the prompts for publish

Algorithm

The publish command is designed to run steps in an order that minimizes the chances of mid-publish failure by doing validation upfront.

beachball publish performs the following steps:

  1. Validate that options and change files are valid
  2. Bump and publish to npm (unless disabled):
    1. Bump the package versions locally
    2. Generate the changelog files (unless disabled)
    3. Delete change files locally (unless disabled)
    4. Validate that nothing to be published depends on a private package
    5. Publish packages to npm in topological order based on the dependency graph (to reduce the chances that if there's a failure partway through, a published package might require unpublished versions)
  3. Bump and push to git (unless bumping or pushing is disabled):
    1. Revert any previous changes (from the publish step)
    2. Merge the latest changes from the remote branch to avoid merge conflicts (unless fetching is disabled)
    3. Bump the versions locally
    4. Generate the changelog files (unless disabled)
    5. Delete change files locally (unless disabled)
    6. Commit the changes
    7. Create git tags for new package versions (unless disabled)
    8. Push the changes and tags

It might be surprising that beachball publish does so many steps, especially the step about reverting changes! In most version bumping systems that automate syncing the git repo and npm registry, they assume that the source code is still fresh once it's time to push changes back to the git repository. This is rarely the case for large repos with many developers. So, beachball fetches the latest changes before pushing back to the target branch to avoid merge conflicts.

Example CI workflow

See the CI integration page details and examples for how to run beachball publish in CI.

Recovering from failed publish

If the publish command fails partway through, after some versions have been published to the registry, you'll need to run beachball sync and commit the changes.

',14)]))}const c=t(a,[["render",s],["__file","publish.html.vue"]]),h=JSON.parse('{"path":"/cli/publish.html","title":"publish","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]},{"level":3,"title":"Algorithm","slug":"algorithm","link":"#algorithm","children":[]},{"level":3,"title":"Example CI workflow","slug":"example-ci-workflow","link":"#example-ci-workflow","children":[]},{"level":3,"title":"Recovering from failed publish","slug":"recovering-from-failed-publish","link":"#recovering-from-failed-publish","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"cli/publish.md"}');export{c as comp,h as data}; diff --git a/assets/quadrantDiagram-QS23HHJP-pZjrxgY7.js b/assets/quadrantDiagram-QS23HHJP-D8y1EWcf.js similarity index 99% rename from assets/quadrantDiagram-QS23HHJP-pZjrxgY7.js rename to assets/quadrantDiagram-QS23HHJP-D8y1EWcf.js index b3ec4868..c71de3b8 100644 --- a/assets/quadrantDiagram-QS23HHJP-pZjrxgY7.js +++ b/assets/quadrantDiagram-QS23HHJP-D8y1EWcf.js @@ -1,4 +1,4 @@ -import{m as l,ae as _e,n as E,J as bt,U as ee,Q as wt,v as ke,b as Et,k as Fe,N as Pe,A as ie,w as Ce,B as ve,L as Le,M as Ee,F as De}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var Dt=function(){var t=l(function(H,s,c,o){for(c=c||{},o=H.length;o--;c[H[o]]=s);return c},"o"),n=[1,3],u=[1,4],d=[1,5],h=[1,6],f=[1,7],g=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],T=[2,36],p=[1,37],y=[1,36],A=[1,38],m=[1,35],x=[1,43],q=[1,41],X=[1,14],j=[1,23],K=[1,18],pt=[1,19],dt=[1,20],ut=[1,21],xt=[1,22],ft=[1,24],gt=[1,25],i=[1,26],zt=[1,27],Nt=[1,28],Bt=[1,29],$=[1,32],Q=[1,33],_=[1,34],k=[1,39],F=[1,40],P=[1,42],C=[1,44],M=[1,62],O=[1,61],v=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Wt=[1,65],Rt=[1,66],$t=[1,67],Qt=[1,68],Ht=[1,69],Ut=[1,70],Xt=[1,71],Mt=[1,72],Ot=[1,73],Yt=[1,74],jt=[1,75],Kt=[1,76],z=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],Z=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],lt=[1,98],_t=[1,102],Gt=[10,55,56,57],W=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:l(function(H,s,c,o,b,e,N){var r=e.length-1;switch(b){case 23:this.$=e[r];break;case 24:this.$=e[r-1]+""+e[r];break;case 26:this.$=e[r-1]+e[r];break;case 27:this.$=[e[r].trim()];break;case 28:e[r-2].push(e[r].trim()),this.$=e[r-2];break;case 29:this.$=e[r-4],o.addClass(e[r-2],e[r]);break;case 37:this.$=[];break;case 42:this.$=e[r].trim(),o.setDiagramTitle(this.$);break;case 43:this.$=e[r].trim(),o.setAccTitle(this.$);break;case 44:case 45:this.$=e[r].trim(),o.setAccDescription(this.$);break;case 46:o.addSection(e[r].substr(8)),this.$=e[r].substr(8);break;case 47:o.addPoint(e[r-3],"",e[r-1],e[r],[]);break;case 48:o.addPoint(e[r-4],e[r-3],e[r-1],e[r],[]);break;case 49:o.addPoint(e[r-4],"",e[r-2],e[r-1],e[r]);break;case 50:o.addPoint(e[r-5],e[r-4],e[r-2],e[r-1],e[r]);break;case 51:o.setXAxisLeftText(e[r-2]),o.setXAxisRightText(e[r]);break;case 52:e[r-1].text+=" ⟶ ",o.setXAxisLeftText(e[r-1]);break;case 53:o.setXAxisLeftText(e[r]);break;case 54:o.setYAxisBottomText(e[r-2]),o.setYAxisTopText(e[r]);break;case 55:e[r-1].text+=" ⟶ ",o.setYAxisBottomText(e[r-1]);break;case 56:o.setYAxisBottomText(e[r]);break;case 57:o.setQuadrant1Text(e[r]);break;case 58:o.setQuadrant2Text(e[r]);break;case 59:o.setQuadrant3Text(e[r]);break;case 60:o.setQuadrant4Text(e[r]);break;case 64:this.$={text:e[r],type:"text"};break;case 65:this.$={text:e[r-1].text+""+e[r],type:e[r-1].type};break;case 66:this.$={text:e[r],type:"text"};break;case 67:this.$={text:e[r],type:"markdown"};break;case 68:this.$=e[r];break;case 69:this.$=e[r-1]+""+e[r];break}},"anonymous"),table:[{18:n,26:1,27:2,28:u,55:d,56:h,57:f},{1:[3]},{18:n,26:8,27:2,28:u,55:d,56:h,57:f},{18:n,26:9,27:2,28:u,55:d,56:h,57:f},t(g,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(a,T,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:p,5:y,10:A,12:m,13:x,14:q,18:X,25:j,35:K,37:pt,39:dt,41:ut,42:xt,48:ft,50:gt,51:i,52:zt,53:Nt,54:Bt,60:$,61:Q,63:_,64:k,65:F,66:P,67:C}),t(g,[2,34]),{27:45,55:d,56:h,57:f},t(a,[2,37]),t(a,T,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:p,5:y,10:A,12:m,13:x,14:q,18:X,25:j,35:K,37:pt,39:dt,41:ut,42:xt,48:ft,50:gt,51:i,52:zt,53:Nt,54:Bt,60:$,61:Q,63:_,64:k,65:F,66:P,67:C}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(a,[2,45]),t(a,[2,46]),{18:[1,50]},{4:p,5:y,10:A,12:m,13:x,14:q,43:51,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:52,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:53,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:54,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:55,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:56,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,44:[1,57],47:[1,58],58:60,59:59,63:_,64:k,65:F,66:P,67:C},t(v,[2,64]),t(v,[2,66]),t(v,[2,67]),t(v,[2,70]),t(v,[2,71]),t(v,[2,72]),t(v,[2,73]),t(v,[2,74]),t(v,[2,75]),t(v,[2,76]),t(v,[2,77]),t(v,[2,78]),t(v,[2,79]),t(v,[2,80]),t(g,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:64,4:Wt,5:Rt,6:$t,7:Qt,8:Ht,9:Ut,10:Xt,11:Mt,12:Ot,13:Yt,14:jt,15:Kt,21:63},t(a,[2,53],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,49:[1,77],63:_,64:k,65:F,66:P,67:C}),t(a,[2,56],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,49:[1,78],63:_,64:k,65:F,66:P,67:C}),t(a,[2,57],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,58],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,59],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,60],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),{45:[1,79]},{44:[1,80]},t(v,[2,65]),t(v,[2,81]),t(v,[2,82]),t(v,[2,83]),{3:82,4:Wt,5:Rt,6:$t,7:Qt,8:Ht,9:Ut,10:Xt,11:Mt,12:Ot,13:Yt,14:jt,15:Kt,18:[1,81]},t(z,[2,23]),t(z,[2,1]),t(z,[2,2]),t(z,[2,3]),t(z,[2,4]),t(z,[2,5]),t(z,[2,6]),t(z,[2,7]),t(z,[2,8]),t(z,[2,9]),t(z,[2,10]),t(z,[2,11]),t(z,[2,12]),t(a,[2,52],{58:31,43:83,4:p,5:y,10:A,12:m,13:x,14:q,60:$,61:Q,63:_,64:k,65:F,66:P,67:C}),t(a,[2,55],{58:31,43:84,4:p,5:y,10:A,12:m,13:x,14:q,60:$,61:Q,63:_,64:k,65:F,66:P,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:Z,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:lt,22:88,23:87},t(z,[2,24]),t(a,[2,51],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,54],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,47],{22:88,16:89,23:100,4:J,5:Z,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:lt}),{46:[1,101]},t(a,[2,29],{10:_t}),t(Gt,[2,27],{16:103,4:J,5:Z,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:lt}),t(W,[2,25]),t(W,[2,13]),t(W,[2,14]),t(W,[2,15]),t(W,[2,16]),t(W,[2,17]),t(W,[2,18]),t(W,[2,19]),t(W,[2,20]),t(W,[2,21]),t(W,[2,22]),t(a,[2,49],{10:_t}),t(a,[2,48],{22:88,16:89,23:104,4:J,5:Z,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:lt}),{4:J,5:Z,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:lt,22:105},t(W,[2,26]),t(a,[2,50],{10:_t}),t(Gt,[2,28],{16:103,4:J,5:Z,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:lt})],defaultActions:{8:[2,30],9:[2,31]},parseError:l(function(H,s){if(s.recoverable)this.trace(H);else{var c=new Error(H);throw c.hash=s,c}},"parseError"),parse:l(function(H){var s=this,c=[0],o=[],b=[null],e=[],N=this.table,r="",Tt=0,Vt=0,me=0,qe=2,Jt=1,Ae=e.slice.call(arguments,1),L=Object.create(this.lexer),G={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(G.yy[Ft]=this.yy[Ft]);L.setInput(H,G.yy),G.yy.lexer=L,G.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var Pt=L.yylloc;e.push(Pt);var be=L.options&&L.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(B){c.length=c.length-2*B,b.length=b.length-B,e.length=e.length-B}l(Se,"popStack");function Zt(){var B;return B=o.pop()||L.lex()||Jt,typeof B!="number"&&(B instanceof Array&&(o=B,B=o.pop()),B=s.symbols_[B]||B),B}l(Zt,"lex");for(var I,Ct,V,R,$e,vt,ot={},mt,Y,te,qt;;){if(V=c[c.length-1],this.defaultActions[V]?R=this.defaultActions[V]:((I===null||typeof I>"u")&&(I=Zt()),R=N[V]&&N[V][I]),typeof R>"u"||!R.length||!R[0]){var Lt="";qt=[];for(mt in N[V])this.terminals_[mt]&&mt>qe&&qt.push("'"+this.terminals_[mt]+"'");L.showPosition?Lt="Parse error on line "+(Tt+1)+`: +import{m as l,ae as _e,n as E,J as bt,U as ee,Q as wt,v as ke,b as Et,k as Fe,N as Pe,A as ie,w as Ce,B as ve,L as Le,M as Ee,F as De}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var Dt=function(){var t=l(function(H,s,c,o){for(c=c||{},o=H.length;o--;c[H[o]]=s);return c},"o"),n=[1,3],u=[1,4],d=[1,5],h=[1,6],f=[1,7],g=[1,4,5,10,12,13,14,18,25,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],S=[1,4,5,10,12,13,14,18,25,28,35,37,39,41,42,48,50,51,52,53,54,55,56,57,60,61,63,64,65,66,67],a=[55,56,57],T=[2,36],p=[1,37],y=[1,36],A=[1,38],m=[1,35],x=[1,43],q=[1,41],X=[1,14],j=[1,23],K=[1,18],pt=[1,19],dt=[1,20],ut=[1,21],xt=[1,22],ft=[1,24],gt=[1,25],i=[1,26],zt=[1,27],Nt=[1,28],Bt=[1,29],$=[1,32],Q=[1,33],_=[1,34],k=[1,39],F=[1,40],P=[1,42],C=[1,44],M=[1,62],O=[1,61],v=[4,5,8,10,12,13,14,18,44,47,49,55,56,57,63,64,65,66,67],Wt=[1,65],Rt=[1,66],$t=[1,67],Qt=[1,68],Ht=[1,69],Ut=[1,70],Xt=[1,71],Mt=[1,72],Ot=[1,73],Yt=[1,74],jt=[1,75],Kt=[1,76],z=[4,5,6,7,8,9,10,11,12,13,14,15,18],J=[1,90],Z=[1,91],tt=[1,92],et=[1,99],it=[1,93],at=[1,96],nt=[1,94],st=[1,95],rt=[1,97],lt=[1,98],_t=[1,102],Gt=[10,55,56,57],W=[4,5,6,8,10,11,13,17,18,19,20,55,56,57],kt={trace:l(function(){},"trace"),yy:{},symbols_:{error:2,idStringToken:3,ALPHA:4,NUM:5,NODE_STRING:6,DOWN:7,MINUS:8,DEFAULT:9,COMMA:10,COLON:11,AMP:12,BRKT:13,MULT:14,UNICODE_TEXT:15,styleComponent:16,UNIT:17,SPACE:18,STYLE:19,PCT:20,idString:21,style:22,stylesOpt:23,classDefStatement:24,CLASSDEF:25,start:26,eol:27,QUADRANT:28,document:29,line:30,statement:31,axisDetails:32,quadrantDetails:33,points:34,title:35,title_value:36,acc_title:37,acc_title_value:38,acc_descr:39,acc_descr_value:40,acc_descr_multiline_value:41,section:42,text:43,point_start:44,point_x:45,point_y:46,class_name:47,"X-AXIS":48,"AXIS-TEXT-DELIMITER":49,"Y-AXIS":50,QUADRANT_1:51,QUADRANT_2:52,QUADRANT_3:53,QUADRANT_4:54,NEWLINE:55,SEMI:56,EOF:57,alphaNumToken:58,textNoTagsToken:59,STR:60,MD_STR:61,alphaNum:62,PUNCTUATION:63,PLUS:64,EQUALS:65,DOT:66,UNDERSCORE:67,$accept:0,$end:1},terminals_:{2:"error",4:"ALPHA",5:"NUM",6:"NODE_STRING",7:"DOWN",8:"MINUS",9:"DEFAULT",10:"COMMA",11:"COLON",12:"AMP",13:"BRKT",14:"MULT",15:"UNICODE_TEXT",17:"UNIT",18:"SPACE",19:"STYLE",20:"PCT",25:"CLASSDEF",28:"QUADRANT",35:"title",36:"title_value",37:"acc_title",38:"acc_title_value",39:"acc_descr",40:"acc_descr_value",41:"acc_descr_multiline_value",42:"section",44:"point_start",45:"point_x",46:"point_y",47:"class_name",48:"X-AXIS",49:"AXIS-TEXT-DELIMITER",50:"Y-AXIS",51:"QUADRANT_1",52:"QUADRANT_2",53:"QUADRANT_3",54:"QUADRANT_4",55:"NEWLINE",56:"SEMI",57:"EOF",60:"STR",61:"MD_STR",63:"PUNCTUATION",64:"PLUS",65:"EQUALS",66:"DOT",67:"UNDERSCORE"},productions_:[0,[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[16,1],[21,1],[21,2],[22,1],[22,2],[23,1],[23,3],[24,5],[26,2],[26,2],[26,2],[29,0],[29,2],[30,2],[31,0],[31,1],[31,2],[31,1],[31,1],[31,1],[31,2],[31,2],[31,2],[31,1],[31,1],[34,4],[34,5],[34,5],[34,6],[32,4],[32,3],[32,2],[32,4],[32,3],[32,2],[33,2],[33,2],[33,2],[33,2],[27,1],[27,1],[27,1],[43,1],[43,2],[43,1],[43,1],[62,1],[62,2],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[59,1]],performAction:l(function(H,s,c,o,b,e,N){var r=e.length-1;switch(b){case 23:this.$=e[r];break;case 24:this.$=e[r-1]+""+e[r];break;case 26:this.$=e[r-1]+e[r];break;case 27:this.$=[e[r].trim()];break;case 28:e[r-2].push(e[r].trim()),this.$=e[r-2];break;case 29:this.$=e[r-4],o.addClass(e[r-2],e[r]);break;case 37:this.$=[];break;case 42:this.$=e[r].trim(),o.setDiagramTitle(this.$);break;case 43:this.$=e[r].trim(),o.setAccTitle(this.$);break;case 44:case 45:this.$=e[r].trim(),o.setAccDescription(this.$);break;case 46:o.addSection(e[r].substr(8)),this.$=e[r].substr(8);break;case 47:o.addPoint(e[r-3],"",e[r-1],e[r],[]);break;case 48:o.addPoint(e[r-4],e[r-3],e[r-1],e[r],[]);break;case 49:o.addPoint(e[r-4],"",e[r-2],e[r-1],e[r]);break;case 50:o.addPoint(e[r-5],e[r-4],e[r-2],e[r-1],e[r]);break;case 51:o.setXAxisLeftText(e[r-2]),o.setXAxisRightText(e[r]);break;case 52:e[r-1].text+=" ⟶ ",o.setXAxisLeftText(e[r-1]);break;case 53:o.setXAxisLeftText(e[r]);break;case 54:o.setYAxisBottomText(e[r-2]),o.setYAxisTopText(e[r]);break;case 55:e[r-1].text+=" ⟶ ",o.setYAxisBottomText(e[r-1]);break;case 56:o.setYAxisBottomText(e[r]);break;case 57:o.setQuadrant1Text(e[r]);break;case 58:o.setQuadrant2Text(e[r]);break;case 59:o.setQuadrant3Text(e[r]);break;case 60:o.setQuadrant4Text(e[r]);break;case 64:this.$={text:e[r],type:"text"};break;case 65:this.$={text:e[r-1].text+""+e[r],type:e[r-1].type};break;case 66:this.$={text:e[r],type:"text"};break;case 67:this.$={text:e[r],type:"markdown"};break;case 68:this.$=e[r];break;case 69:this.$=e[r-1]+""+e[r];break}},"anonymous"),table:[{18:n,26:1,27:2,28:u,55:d,56:h,57:f},{1:[3]},{18:n,26:8,27:2,28:u,55:d,56:h,57:f},{18:n,26:9,27:2,28:u,55:d,56:h,57:f},t(g,[2,33],{29:10}),t(S,[2,61]),t(S,[2,62]),t(S,[2,63]),{1:[2,30]},{1:[2,31]},t(a,T,{30:11,31:12,24:13,32:15,33:16,34:17,43:30,58:31,1:[2,32],4:p,5:y,10:A,12:m,13:x,14:q,18:X,25:j,35:K,37:pt,39:dt,41:ut,42:xt,48:ft,50:gt,51:i,52:zt,53:Nt,54:Bt,60:$,61:Q,63:_,64:k,65:F,66:P,67:C}),t(g,[2,34]),{27:45,55:d,56:h,57:f},t(a,[2,37]),t(a,T,{24:13,32:15,33:16,34:17,43:30,58:31,31:46,4:p,5:y,10:A,12:m,13:x,14:q,18:X,25:j,35:K,37:pt,39:dt,41:ut,42:xt,48:ft,50:gt,51:i,52:zt,53:Nt,54:Bt,60:$,61:Q,63:_,64:k,65:F,66:P,67:C}),t(a,[2,39]),t(a,[2,40]),t(a,[2,41]),{36:[1,47]},{38:[1,48]},{40:[1,49]},t(a,[2,45]),t(a,[2,46]),{18:[1,50]},{4:p,5:y,10:A,12:m,13:x,14:q,43:51,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:52,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:53,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:54,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:55,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,10:A,12:m,13:x,14:q,43:56,58:31,60:$,61:Q,63:_,64:k,65:F,66:P,67:C},{4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,44:[1,57],47:[1,58],58:60,59:59,63:_,64:k,65:F,66:P,67:C},t(v,[2,64]),t(v,[2,66]),t(v,[2,67]),t(v,[2,70]),t(v,[2,71]),t(v,[2,72]),t(v,[2,73]),t(v,[2,74]),t(v,[2,75]),t(v,[2,76]),t(v,[2,77]),t(v,[2,78]),t(v,[2,79]),t(v,[2,80]),t(g,[2,35]),t(a,[2,38]),t(a,[2,42]),t(a,[2,43]),t(a,[2,44]),{3:64,4:Wt,5:Rt,6:$t,7:Qt,8:Ht,9:Ut,10:Xt,11:Mt,12:Ot,13:Yt,14:jt,15:Kt,21:63},t(a,[2,53],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,49:[1,77],63:_,64:k,65:F,66:P,67:C}),t(a,[2,56],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,49:[1,78],63:_,64:k,65:F,66:P,67:C}),t(a,[2,57],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,58],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,59],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,60],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),{45:[1,79]},{44:[1,80]},t(v,[2,65]),t(v,[2,81]),t(v,[2,82]),t(v,[2,83]),{3:82,4:Wt,5:Rt,6:$t,7:Qt,8:Ht,9:Ut,10:Xt,11:Mt,12:Ot,13:Yt,14:jt,15:Kt,18:[1,81]},t(z,[2,23]),t(z,[2,1]),t(z,[2,2]),t(z,[2,3]),t(z,[2,4]),t(z,[2,5]),t(z,[2,6]),t(z,[2,7]),t(z,[2,8]),t(z,[2,9]),t(z,[2,10]),t(z,[2,11]),t(z,[2,12]),t(a,[2,52],{58:31,43:83,4:p,5:y,10:A,12:m,13:x,14:q,60:$,61:Q,63:_,64:k,65:F,66:P,67:C}),t(a,[2,55],{58:31,43:84,4:p,5:y,10:A,12:m,13:x,14:q,60:$,61:Q,63:_,64:k,65:F,66:P,67:C}),{46:[1,85]},{45:[1,86]},{4:J,5:Z,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:lt,22:88,23:87},t(z,[2,24]),t(a,[2,51],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,54],{59:59,58:60,4:p,5:y,8:M,10:A,12:m,13:x,14:q,18:O,63:_,64:k,65:F,66:P,67:C}),t(a,[2,47],{22:88,16:89,23:100,4:J,5:Z,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:lt}),{46:[1,101]},t(a,[2,29],{10:_t}),t(Gt,[2,27],{16:103,4:J,5:Z,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:lt}),t(W,[2,25]),t(W,[2,13]),t(W,[2,14]),t(W,[2,15]),t(W,[2,16]),t(W,[2,17]),t(W,[2,18]),t(W,[2,19]),t(W,[2,20]),t(W,[2,21]),t(W,[2,22]),t(a,[2,49],{10:_t}),t(a,[2,48],{22:88,16:89,23:104,4:J,5:Z,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:lt}),{4:J,5:Z,6:tt,8:et,11:it,13:at,16:89,17:nt,18:st,19:rt,20:lt,22:105},t(W,[2,26]),t(a,[2,50],{10:_t}),t(Gt,[2,28],{16:103,4:J,5:Z,6:tt,8:et,11:it,13:at,17:nt,18:st,19:rt,20:lt})],defaultActions:{8:[2,30],9:[2,31]},parseError:l(function(H,s){if(s.recoverable)this.trace(H);else{var c=new Error(H);throw c.hash=s,c}},"parseError"),parse:l(function(H){var s=this,c=[0],o=[],b=[null],e=[],N=this.table,r="",Tt=0,Vt=0,me=0,qe=2,Jt=1,Ae=e.slice.call(arguments,1),L=Object.create(this.lexer),G={yy:{}};for(var Ft in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ft)&&(G.yy[Ft]=this.yy[Ft]);L.setInput(H,G.yy),G.yy.lexer=L,G.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var Pt=L.yylloc;e.push(Pt);var be=L.options&&L.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Se(B){c.length=c.length-2*B,b.length=b.length-B,e.length=e.length-B}l(Se,"popStack");function Zt(){var B;return B=o.pop()||L.lex()||Jt,typeof B!="number"&&(B instanceof Array&&(o=B,B=o.pop()),B=s.symbols_[B]||B),B}l(Zt,"lex");for(var I,Ct,V,R,$e,vt,ot={},mt,Y,te,qt;;){if(V=c[c.length-1],this.defaultActions[V]?R=this.defaultActions[V]:((I===null||typeof I>"u")&&(I=Zt()),R=N[V]&&N[V][I]),typeof R>"u"||!R.length||!R[0]){var Lt="";qt=[];for(mt in N[V])this.terminals_[mt]&&mt>qe&&qt.push("'"+this.terminals_[mt]+"'");L.showPosition?Lt="Parse error on line "+(Tt+1)+`: `+L.showPosition()+` Expecting `+qt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Lt="Parse error on line "+(Tt+1)+": Unexpected "+(I==Jt?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Lt,{text:L.match,token:this.terminals_[I]||I,line:L.yylineno,loc:Pt,expected:qt})}if(R[0]instanceof Array&&R.length>1)throw new Error("Parse Error: multiple actions possible at state: "+V+", token: "+I);switch(R[0]){case 1:c.push(I),b.push(L.yytext),e.push(L.yylloc),c.push(R[1]),I=null,Ct?(I=Ct,Ct=null):(Vt=L.yyleng,r=L.yytext,Tt=L.yylineno,Pt=L.yylloc,me>0);break;case 2:if(Y=this.productions_[R[1]][1],ot.$=b[b.length-Y],ot._$={first_line:e[e.length-(Y||1)].first_line,last_line:e[e.length-1].last_line,first_column:e[e.length-(Y||1)].first_column,last_column:e[e.length-1].last_column},be&&(ot._$.range=[e[e.length-(Y||1)].range[0],e[e.length-1].range[1]]),vt=this.performAction.apply(ot,[r,Vt,Tt,G.yy,R[1],b,e].concat(Ae)),typeof vt<"u")return vt;Y&&(c=c.slice(0,-1*Y*2),b=b.slice(0,-1*Y),e=e.slice(0,-1*Y)),c.push(this.productions_[R[1]][0]),b.push(ot.$),e.push(ot._$),te=N[c[c.length-2]][c[c.length-1]],c.push(te);break;case 3:return!0}}return!0},"parse")},Te=function(){var H={EOF:1,parseError:l(function(s,c){if(this.yy.parser)this.yy.parser.parseError(s,c);else throw new Error(s)},"parseError"),setInput:l(function(s,c){return this.yy=c||this.yy||{},this._input=s,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:l(function(){var s=this._input[0];this.yytext+=s,this.yyleng++,this.offset++,this.match+=s,this.matched+=s;var c=s.match(/(?:\r\n?|\n).*/g);return c?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),s},"input"),unput:l(function(s){var c=s.length,o=s.split(/(?:\r\n?|\n)/g);this._input=s+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-c),this.offset-=c;var b=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===b.length?this.yylloc.first_column:0)+b[b.length-o.length].length-o[0].length:this.yylloc.first_column-c},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-c]),this.yyleng=this.yytext.length,this},"unput"),more:l(function(){return this._more=!0,this},"more"),reject:l(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:l(function(s){this.unput(this.match.slice(s))},"less"),pastInput:l(function(){var s=this.matched.substr(0,this.matched.length-this.match.length);return(s.length>20?"...":"")+s.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:l(function(){var s=this.match;return s.length<20&&(s+=this._input.substr(0,20-s.length)),(s.substr(0,20)+(s.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:l(function(){var s=this.pastInput(),c=new Array(s.length+1).join("-");return s+this.upcomingInput()+` diff --git a/assets/requirementDiagram-5WTT3577-CJ34XcJ8.js b/assets/requirementDiagram-5WTT3577-DzQTgrX3.js similarity index 99% rename from assets/requirementDiagram-5WTT3577-CJ34XcJ8.js rename to assets/requirementDiagram-5WTT3577-DzQTgrX3.js index a716e1c7..32f69d98 100644 --- a/assets/requirementDiagram-5WTT3577-CJ34XcJ8.js +++ b/assets/requirementDiagram-5WTT3577-DzQTgrX3.js @@ -1,4 +1,4 @@ -import{f as Pe}from"./chunk-FASC7IG4-Cf3UQ1W4.js";import{m as Ue}from"./chunk-ZN7TASNU-DRzcILnV.js";import{m as n,J as xe,v as Ye,Q as we,w as Ve,B as Be,F as Qe,M as We,j as Ke,d as Te,b as he,k as He}from"./mermaid.esm.min-DnxZBvzk.js";import"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";var ce=function(){var e=n(function(v,t,a,r){for(a=a||{},r=v.length;r--;a[v[r]]=t);return a},"o"),i=[1,3],o=[1,4],c=[1,5],h=[1,6],y=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],u=[1,18],l=[2,7],p=[1,22],g=[1,23],m=[1,24],f=[1,25],S=[1,26],q=[1,27],A=[1,20],w=[1,28],$=[1,29],D=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],de=[1,47],_e=[1,48],ge=[1,49],Ee=[1,50],me=[1,51],Re=[1,52],fe=[1,53],L=[53,54],P=[1,64],U=[1,60],Y=[1,61],V=[1,62],B=[1,63],Q=[1,65],G=[1,69],z=[1,70],X=[1,67],J=[1,68],k=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],re={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:n(function(v,t,a,r,d,s,N){var E=s.length-1;switch(d){case 4:this.$=s[E].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[E-3],s[E-4]);break;case 14:r.setNewReqId(s[E-2]);break;case 15:r.setNewReqText(s[E-2]);break;case 16:r.setNewReqRisk(s[E-2]);break;case 17:r.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[E-3]);break;case 34:r.setNewElementType(s[E-2]);break;case 35:r.setNewElementDocRef(s[E-2]);break;case 38:r.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:r.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:i,9:o,11:c,13:h},{1:[3]},{3:8,4:2,5:[1,7],6:i,9:o,11:c,13:h},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(y,[2,6]),{3:12,4:2,6:i,9:o,11:c,13:h},{1:[2,2]},{4:17,5:u,7:13,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},e(y,[2,4]),e(y,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:u,7:31,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{4:17,5:u,7:32,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{4:17,5:u,7:33,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{4:17,5:u,7:34,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{4:17,5:u,7:35,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(D,[2,20]),e(D,[2,21]),e(D,[2,22]),e(D,[2,23]),e(D,[2,24]),e(D,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:de,56:_e,57:ge,58:Ee,59:me,60:Re,61:fe},{52:54,55:de,56:_e,57:ge,58:Ee,59:me,60:Re,61:fe},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(L,[2,43]),e(L,[2,44]),e(L,[2,45]),e(L,[2,46]),{54:[1,58]},{5:P,20:59,21:U,24:Y,26:V,28:B,30:Q},{5:G,30:z,46:66,47:X,49:J},{23:71,62:w,63:$},{23:72,62:w,63:$},e(k,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:P,20:77,21:U,24:Y,26:V,28:B,30:Q},e(k,[2,19]),e(k,[2,33]),{22:[1,78]},{22:[1,79]},{5:G,30:z,46:80,47:X,49:J},e(k,[2,37]),e(k,[2,38]),e(k,[2,39]),{23:81,62:w,63:$},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(k,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(k,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:P,20:106,21:U,24:Y,26:V,28:B,30:Q},{5:P,20:107,21:U,24:Y,26:V,28:B,30:Q},{5:P,20:108,21:U,24:Y,26:V,28:B,30:Q},{5:P,20:109,21:U,24:Y,26:V,28:B,30:Q},{5:G,30:z,46:110,47:X,49:J},{5:G,30:z,46:111,47:X,49:J},e(k,[2,14]),e(k,[2,15]),e(k,[2,16]),e(k,[2,17]),e(k,[2,34]),e(k,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:n(function(v,t){if(t.recoverable)this.trace(v);else{var a=new Error(v);throw a.hash=t,a}},"parseError"),parse:n(function(v){var t=this,a=[0],r=[],d=[null],s=[],N=this.table,E="",ee=0,Ie=0,Ce=0,Le=2,Se=1,Fe=s.slice.call(arguments,1),R=Object.create(this.lexer),F={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(F.yy[ne]=this.yy[ne]);R.setInput(v,F.yy),F.yy.lexer=R,F.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var se=R.yylloc;s.push(se);var Me=R.options&&R.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(b){a.length=a.length-2*b,d.length=d.length-b,s.length=s.length-b}n(De,"popStack");function ke(){var b;return b=r.pop()||R.lex()||Se,typeof b!="number"&&(b instanceof Array&&(r=b,b=r.pop()),b=t.symbols_[b]||b),b}n(ke,"lex");for(var I,ae,M,x,Nt,le,W={},te,O,Ne,ie;;){if(M=a[a.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((I===null||typeof I>"u")&&(I=ke()),x=N[M]&&N[M][I]),typeof x>"u"||!x.length||!x[0]){var oe="";ie=[];for(te in N[M])this.terminals_[te]&&te>Le&&ie.push("'"+this.terminals_[te]+"'");R.showPosition?oe="Parse error on line "+(ee+1)+`: +import{f as Pe}from"./chunk-FASC7IG4-D006d5mv.js";import{m as Ue}from"./chunk-ZN7TASNU-CG0HzbXE.js";import{m as n,J as xe,v as Ye,Q as we,w as Ve,B as Be,F as Qe,M as We,j as Ke,d as Te,b as he,k as He}from"./mermaid.esm.min-Bq5H-fqC.js";import"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var ce=function(){var e=n(function(v,t,a,r){for(a=a||{},r=v.length;r--;a[v[r]]=t);return a},"o"),i=[1,3],o=[1,4],c=[1,5],h=[1,6],y=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],u=[1,18],l=[2,7],p=[1,22],g=[1,23],m=[1,24],f=[1,25],S=[1,26],q=[1,27],A=[1,20],w=[1,28],$=[1,29],D=[62,63],pe=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],de=[1,47],_e=[1,48],ge=[1,49],Ee=[1,50],me=[1,51],Re=[1,52],fe=[1,53],L=[53,54],P=[1,64],U=[1,60],Y=[1,61],V=[1,62],B=[1,63],Q=[1,65],G=[1,69],z=[1,70],X=[1,67],J=[1,68],k=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],re={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:n(function(v,t,a,r,d,s,N){var E=s.length-1;switch(d){case 4:this.$=s[E].trim(),r.setAccTitle(this.$);break;case 5:case 6:this.$=s[E].trim(),r.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:r.addRequirement(s[E-3],s[E-4]);break;case 14:r.setNewReqId(s[E-2]);break;case 15:r.setNewReqText(s[E-2]);break;case 16:r.setNewReqRisk(s[E-2]);break;case 17:r.setNewReqVerifyMethod(s[E-2]);break;case 20:this.$=r.RequirementType.REQUIREMENT;break;case 21:this.$=r.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=r.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=r.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=r.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=r.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=r.RiskLevel.LOW_RISK;break;case 27:this.$=r.RiskLevel.MED_RISK;break;case 28:this.$=r.RiskLevel.HIGH_RISK;break;case 29:this.$=r.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=r.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=r.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=r.VerifyType.VERIFY_TEST;break;case 33:r.addElement(s[E-3]);break;case 34:r.setNewElementType(s[E-2]);break;case 35:r.setNewElementDocRef(s[E-2]);break;case 38:r.addRelationship(s[E-2],s[E],s[E-4]);break;case 39:r.addRelationship(s[E-2],s[E-4],s[E]);break;case 40:this.$=r.Relationships.CONTAINS;break;case 41:this.$=r.Relationships.COPIES;break;case 42:this.$=r.Relationships.DERIVES;break;case 43:this.$=r.Relationships.SATISFIES;break;case 44:this.$=r.Relationships.VERIFIES;break;case 45:this.$=r.Relationships.REFINES;break;case 46:this.$=r.Relationships.TRACES;break}},"anonymous"),table:[{3:1,4:2,6:i,9:o,11:c,13:h},{1:[3]},{3:8,4:2,5:[1,7],6:i,9:o,11:c,13:h},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(y,[2,6]),{3:12,4:2,6:i,9:o,11:c,13:h},{1:[2,2]},{4:17,5:u,7:13,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},e(y,[2,4]),e(y,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:u,7:31,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{4:17,5:u,7:32,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{4:17,5:u,7:33,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{4:17,5:u,7:34,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{4:17,5:u,7:35,8:l,9:o,11:c,13:h,14:14,15:15,16:16,17:19,23:21,31:p,32:g,33:m,34:f,35:S,36:q,44:A,62:w,63:$},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},e(D,[2,20]),e(D,[2,21]),e(D,[2,22]),e(D,[2,23]),e(D,[2,24]),e(D,[2,25]),e(pe,[2,49]),e(pe,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:de,56:_e,57:ge,58:Ee,59:me,60:Re,61:fe},{52:54,55:de,56:_e,57:ge,58:Ee,59:me,60:Re,61:fe},{5:[1,55]},{5:[1,56]},{53:[1,57]},e(L,[2,40]),e(L,[2,41]),e(L,[2,42]),e(L,[2,43]),e(L,[2,44]),e(L,[2,45]),e(L,[2,46]),{54:[1,58]},{5:P,20:59,21:U,24:Y,26:V,28:B,30:Q},{5:G,30:z,46:66,47:X,49:J},{23:71,62:w,63:$},{23:72,62:w,63:$},e(k,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:P,20:77,21:U,24:Y,26:V,28:B,30:Q},e(k,[2,19]),e(k,[2,33]),{22:[1,78]},{22:[1,79]},{5:G,30:z,46:80,47:X,49:J},e(k,[2,37]),e(k,[2,38]),e(k,[2,39]),{23:81,62:w,63:$},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},e(k,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},e(k,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:P,20:106,21:U,24:Y,26:V,28:B,30:Q},{5:P,20:107,21:U,24:Y,26:V,28:B,30:Q},{5:P,20:108,21:U,24:Y,26:V,28:B,30:Q},{5:P,20:109,21:U,24:Y,26:V,28:B,30:Q},{5:G,30:z,46:110,47:X,49:J},{5:G,30:z,46:111,47:X,49:J},e(k,[2,14]),e(k,[2,15]),e(k,[2,16]),e(k,[2,17]),e(k,[2,34]),e(k,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:n(function(v,t){if(t.recoverable)this.trace(v);else{var a=new Error(v);throw a.hash=t,a}},"parseError"),parse:n(function(v){var t=this,a=[0],r=[],d=[null],s=[],N=this.table,E="",ee=0,Ie=0,Ce=0,Le=2,Se=1,Fe=s.slice.call(arguments,1),R=Object.create(this.lexer),F={yy:{}};for(var ne in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ne)&&(F.yy[ne]=this.yy[ne]);R.setInput(v,F.yy),F.yy.lexer=R,F.yy.parser=this,typeof R.yylloc>"u"&&(R.yylloc={});var se=R.yylloc;s.push(se);var Me=R.options&&R.options.ranges;typeof F.yy.parseError=="function"?this.parseError=F.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function De(b){a.length=a.length-2*b,d.length=d.length-b,s.length=s.length-b}n(De,"popStack");function ke(){var b;return b=r.pop()||R.lex()||Se,typeof b!="number"&&(b instanceof Array&&(r=b,b=r.pop()),b=t.symbols_[b]||b),b}n(ke,"lex");for(var I,ae,M,x,Nt,le,W={},te,O,Ne,ie;;){if(M=a[a.length-1],this.defaultActions[M]?x=this.defaultActions[M]:((I===null||typeof I>"u")&&(I=ke()),x=N[M]&&N[M][I]),typeof x>"u"||!x.length||!x[0]){var oe="";ie=[];for(te in N[M])this.terminals_[te]&&te>Le&&ie.push("'"+this.terminals_[te]+"'");R.showPosition?oe="Parse error on line "+(ee+1)+`: `+R.showPosition()+` Expecting `+ie.join(", ")+", got '"+(this.terminals_[I]||I)+"'":oe="Parse error on line "+(ee+1)+": Unexpected "+(I==Se?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(oe,{text:R.match,token:this.terminals_[I]||I,line:R.yylineno,loc:se,expected:ie})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+M+", token: "+I);switch(x[0]){case 1:a.push(I),d.push(R.yytext),s.push(R.yylloc),a.push(x[1]),I=null,ae?(I=ae,ae=null):(Ie=R.yyleng,E=R.yytext,ee=R.yylineno,se=R.yylloc,Ce>0);break;case 2:if(O=this.productions_[x[1]][1],W.$=d[d.length-O],W._$={first_line:s[s.length-(O||1)].first_line,last_line:s[s.length-1].last_line,first_column:s[s.length-(O||1)].first_column,last_column:s[s.length-1].last_column},Me&&(W._$.range=[s[s.length-(O||1)].range[0],s[s.length-1].range[1]]),le=this.performAction.apply(W,[E,Ie,ee,F.yy,x[1],d,s].concat(Fe)),typeof le<"u")return le;O&&(a=a.slice(0,-1*O*2),d=d.slice(0,-1*O),s=s.slice(0,-1*O)),a.push(this.productions_[x[1]][0]),d.push(W.$),s.push(W._$),Ne=N[a[a.length-2]][a[a.length-1]],a.push(Ne);break;case 3:return!0}}return!0},"parse")},Oe=function(){var v={EOF:1,parseError:n(function(t,a){if(this.yy.parser)this.yy.parser.parseError(t,a);else throw new Error(t)},"parseError"),setInput:n(function(t,a){return this.yy=a||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var t=this._input[0];this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t;var a=t.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:n(function(t){var a=t.length,r=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),r.length-1&&(this.yylineno-=r.length-1);var s=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:r?(r.length===d.length?this.yylloc.first_column:0)+d[d.length-r.length].length-r[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[s[0],s[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(t){this.unput(this.match.slice(t))},"less"),pastInput:n(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var t=this.pastInput(),a=new Array(t.length+1).join("-");return t+this.upcomingInput()+` diff --git a/assets/sankeyDiagram-HGVHE3RK-Duct998W.js b/assets/sankeyDiagram-HGVHE3RK-BHM_B7TP.js similarity index 99% rename from assets/sankeyDiagram-HGVHE3RK-Duct998W.js rename to assets/sankeyDiagram-HGVHE3RK-BHM_B7TP.js index e6fd7c87..84b50aac 100644 --- a/assets/sankeyDiagram-HGVHE3RK-Duct998W.js +++ b/assets/sankeyDiagram-HGVHE3RK-BHM_B7TP.js @@ -1,4 +1,4 @@ -import{m as n,v as jt,d as zt,Q as dt,B as Bt,w as Ft,M as Rt,F as Gt,A as Ut,L as Wt,h as qt,b as K,ad as Qt,b7 as Vt,bf as Ht}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var st=function(){var t=n(function(x,r,a,f){for(a=a||{},f=x.length;f--;a[x[f]]=r);return a},"o"),i=[1,9],s=[1,10],l=[1,5,10,12],h={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:n(function(x,r,a,f,k,d,b){var v=d.length-1;switch(k){case 7:let C=f.findOrCreateNode(d[v-4].trim().replaceAll('""','"')),A=f.findOrCreateNode(d[v-2].trim().replaceAll('""','"')),N=parseFloat(d[v].trim());f.addLink(C,A,N);break;case 8:case 9:case 11:this.$=d[v];break;case 10:this.$=d[v-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:n(function(x,r){if(r.recoverable)this.trace(x);else{var a=new Error(x);throw a.hash=r,a}},"parseError"),parse:n(function(x){var r=this,a=[0],f=[],k=[null],d=[],b=this.table,v="",C=0,A=0,N=0,j=2,M=1,z=d.slice.call(arguments,1),L=Object.create(this.lexer),I={yy:{}};for(var D in this.yy)Object.prototype.hasOwnProperty.call(this.yy,D)&&(I.yy[D]=this.yy[D]);L.setInput(x,I.yy),I.yy.lexer=L,I.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var g=L.yylloc;d.push(g);var S=L.options&&L.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function q(E){a.length=a.length-2*E,k.length=k.length-E,d.length=d.length-E}n(q,"popStack");function R(){var E;return E=f.pop()||L.lex()||M,typeof E!="number"&&(E instanceof Array&&(f=E,E=f.pop()),E=r.symbols_[E]||E),E}n(R,"lex");for(var T,G,P,e,y,u,c={},o,p,w,$;;){if(P=a[a.length-1],this.defaultActions[P]?e=this.defaultActions[P]:((T===null||typeof T>"u")&&(T=R()),e=b[P]&&b[P][T]),typeof e>"u"||!e.length||!e[0]){var O="";$=[];for(o in b[P])this.terminals_[o]&&o>j&&$.push("'"+this.terminals_[o]+"'");L.showPosition?O="Parse error on line "+(C+1)+`: +import{m as n,v as jt,d as zt,Q as dt,B as Bt,w as Ft,M as Rt,F as Gt,A as Ut,L as Wt,h as qt,b as K,ad as Qt,b7 as Vt,bf as Ht}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var st=function(){var t=n(function(x,r,a,f){for(a=a||{},f=x.length;f--;a[x[f]]=r);return a},"o"),i=[1,9],s=[1,10],l=[1,5,10,12],h={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:n(function(x,r,a,f,k,d,b){var v=d.length-1;switch(k){case 7:let C=f.findOrCreateNode(d[v-4].trim().replaceAll('""','"')),A=f.findOrCreateNode(d[v-2].trim().replaceAll('""','"')),N=parseFloat(d[v].trim());f.addLink(C,A,N);break;case 8:case 9:case 11:this.$=d[v];break;case 10:this.$=d[v-1];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:i,20:s},{1:[2,6],7:11,10:[1,12]},t(s,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(l,[2,8]),t(l,[2,9]),{19:[1,16]},t(l,[2,11]),{1:[2,1]},{1:[2,5]},t(s,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:i,20:s},{15:18,16:7,17:8,18:i,20:s},{18:[1,19]},t(s,[2,3]),{12:[1,20]},t(l,[2,10]),{15:21,16:7,17:8,18:i,20:s},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:n(function(x,r){if(r.recoverable)this.trace(x);else{var a=new Error(x);throw a.hash=r,a}},"parseError"),parse:n(function(x){var r=this,a=[0],f=[],k=[null],d=[],b=this.table,v="",C=0,A=0,N=0,j=2,M=1,z=d.slice.call(arguments,1),L=Object.create(this.lexer),I={yy:{}};for(var D in this.yy)Object.prototype.hasOwnProperty.call(this.yy,D)&&(I.yy[D]=this.yy[D]);L.setInput(x,I.yy),I.yy.lexer=L,I.yy.parser=this,typeof L.yylloc>"u"&&(L.yylloc={});var g=L.yylloc;d.push(g);var S=L.options&&L.options.ranges;typeof I.yy.parseError=="function"?this.parseError=I.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function q(E){a.length=a.length-2*E,k.length=k.length-E,d.length=d.length-E}n(q,"popStack");function R(){var E;return E=f.pop()||L.lex()||M,typeof E!="number"&&(E instanceof Array&&(f=E,E=f.pop()),E=r.symbols_[E]||E),E}n(R,"lex");for(var T,G,P,e,y,u,c={},o,p,w,$;;){if(P=a[a.length-1],this.defaultActions[P]?e=this.defaultActions[P]:((T===null||typeof T>"u")&&(T=R()),e=b[P]&&b[P][T]),typeof e>"u"||!e.length||!e[0]){var O="";$=[];for(o in b[P])this.terminals_[o]&&o>j&&$.push("'"+this.terminals_[o]+"'");L.showPosition?O="Parse error on line "+(C+1)+`: `+L.showPosition()+` Expecting `+$.join(", ")+", got '"+(this.terminals_[T]||T)+"'":O="Parse error on line "+(C+1)+": Unexpected "+(T==M?"end of input":"'"+(this.terminals_[T]||T)+"'"),this.parseError(O,{text:L.match,token:this.terminals_[T]||T,line:L.yylineno,loc:g,expected:$})}if(e[0]instanceof Array&&e.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+T);switch(e[0]){case 1:a.push(T),k.push(L.yytext),d.push(L.yylloc),a.push(e[1]),T=null,G?(T=G,G=null):(A=L.yyleng,v=L.yytext,C=L.yylineno,g=L.yylloc,N>0);break;case 2:if(p=this.productions_[e[1]][1],c.$=k[k.length-p],c._$={first_line:d[d.length-(p||1)].first_line,last_line:d[d.length-1].last_line,first_column:d[d.length-(p||1)].first_column,last_column:d[d.length-1].last_column},S&&(c._$.range=[d[d.length-(p||1)].range[0],d[d.length-1].range[1]]),u=this.performAction.apply(c,[v,A,C,I.yy,e[1],k,d].concat(z)),typeof u<"u")return u;p&&(a=a.slice(0,-1*p*2),k=k.slice(0,-1*p),d=d.slice(0,-1*p)),a.push(this.productions_[e[1]][0]),k.push(c.$),d.push(c._$),w=b[a[a.length-2]][a[a.length-1]],a.push(w);break;case 3:return!0}}return!0},"parse")},m=function(){var x={EOF:1,parseError:n(function(r,a){if(this.yy.parser)this.yy.parser.parseError(r,a);else throw new Error(r)},"parseError"),setInput:n(function(r,a){return this.yy=a||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var a=r.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var a=r.length,f=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var k=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var d=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===k.length?this.yylloc.first_column:0)+k[k.length-f.length].length-f[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[d[0],d[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),a=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/assets/sequenceDiagram-7SUASMRF-B7d5k5uv.js b/assets/sequenceDiagram-7SUASMRF-D-m-Zysl.js similarity index 99% rename from assets/sequenceDiagram-7SUASMRF-B7d5k5uv.js rename to assets/sequenceDiagram-7SUASMRF-D-m-Zysl.js index bed06fda..3f5967d5 100644 --- a/assets/sequenceDiagram-7SUASMRF-B7d5k5uv.js +++ b/assets/sequenceDiagram-7SUASMRF-D-m-Zysl.js @@ -1,4 +1,4 @@ -import{s as Oe}from"./chunk-VSLJSFIP-C769YIqn.js";import{x as De,h as At,E as Se,d as Re,f as Ht,g as Ce}from"./chunk-BERL53GW-CPe116Kq.js";import{m as d,Q as st,v as $e,J as G,N as Mt,w as re,B as Be,A as Ye,L as Ve,F as Fe,M as We,q as qe,f as ze,ah as se,H as Vt,d as _,ab as ie,ai as dt,I as Y,R as He,b as kt,k as je,aj as wt,ak as Ue}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var Ft=function(){var t=d(function(ct,E,P,T){for(P=P||{},T=ct.length;T--;P[ct[T]]=E);return P},"o"),e=[1,2],n=[1,3],a=[1,4],s=[2,4],i=[1,9],c=[1,11],h=[1,13],p=[1,14],r=[1,16],x=[1,17],f=[1,18],u=[1,24],b=[1,25],w=[1,26],L=[1,27],k=[1,28],$=[1,29],O=[1,30],B=[1,31],S=[1,32],W=[1,33],q=[1,34],J=[1,35],et=[1,36],z=[1,37],H=[1,38],F=[1,39],D=[1,41],Q=[1,42],U=[1,43],Z=[1,44],at=[1,45],M=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],v=[4,5,16,50,52,53],X=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],it=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Gt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],nt=[68,69,70],ht=[1,122],St={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:d(function(ct,E,P,T,A,l,K){var g=l.length-1;switch(A){case 3:return T.apply(l[g]),l[g];case 4:case 9:this.$=[];break;case 5:case 10:l[g-1].push(l[g]),this.$=l[g-1];break;case 6:case 7:case 11:case 12:this.$=l[g];break;case 8:case 13:this.$=[];break;case 15:l[g].type="createParticipant",this.$=l[g];break;case 16:l[g-1].unshift({type:"boxStart",boxData:T.parseBoxData(l[g-2])}),l[g-1].push({type:"boxEnd",boxText:l[g-2]}),this.$=l[g-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[g-2]),sequenceIndexStep:Number(l[g-1]),sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[g-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:T.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:T.LINETYPE.ACTIVE_START,actor:l[g-1].actor};break;case 23:this.$={type:"activeEnd",signalType:T.LINETYPE.ACTIVE_END,actor:l[g-1].actor};break;case 29:T.setDiagramTitle(l[g].substring(6)),this.$=l[g].substring(6);break;case 30:T.setDiagramTitle(l[g].substring(7)),this.$=l[g].substring(7);break;case 31:this.$=l[g].trim(),T.setAccTitle(this.$);break;case 32:case 33:this.$=l[g].trim(),T.setAccDescription(this.$);break;case 34:l[g-1].unshift({type:"loopStart",loopText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.LOOP_START}),l[g-1].push({type:"loopEnd",loopText:l[g-2],signalType:T.LINETYPE.LOOP_END}),this.$=l[g-1];break;case 35:l[g-1].unshift({type:"rectStart",color:T.parseMessage(l[g-2]),signalType:T.LINETYPE.RECT_START}),l[g-1].push({type:"rectEnd",color:T.parseMessage(l[g-2]),signalType:T.LINETYPE.RECT_END}),this.$=l[g-1];break;case 36:l[g-1].unshift({type:"optStart",optText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.OPT_START}),l[g-1].push({type:"optEnd",optText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.OPT_END}),this.$=l[g-1];break;case 37:l[g-1].unshift({type:"altStart",altText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.ALT_START}),l[g-1].push({type:"altEnd",signalType:T.LINETYPE.ALT_END}),this.$=l[g-1];break;case 38:l[g-1].unshift({type:"parStart",parText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.PAR_START}),l[g-1].push({type:"parEnd",signalType:T.LINETYPE.PAR_END}),this.$=l[g-1];break;case 39:l[g-1].unshift({type:"parStart",parText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.PAR_OVER_START}),l[g-1].push({type:"parEnd",signalType:T.LINETYPE.PAR_END}),this.$=l[g-1];break;case 40:l[g-1].unshift({type:"criticalStart",criticalText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.CRITICAL_START}),l[g-1].push({type:"criticalEnd",signalType:T.LINETYPE.CRITICAL_END}),this.$=l[g-1];break;case 41:l[g-1].unshift({type:"breakStart",breakText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.BREAK_START}),l[g-1].push({type:"breakEnd",optText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.BREAK_END}),this.$=l[g-1];break;case 43:this.$=l[g-3].concat([{type:"option",optionText:T.parseMessage(l[g-1]),signalType:T.LINETYPE.CRITICAL_OPTION},l[g]]);break;case 45:this.$=l[g-3].concat([{type:"and",parText:T.parseMessage(l[g-1]),signalType:T.LINETYPE.PAR_AND},l[g]]);break;case 47:this.$=l[g-3].concat([{type:"else",altText:T.parseMessage(l[g-1]),signalType:T.LINETYPE.ALT_ELSE},l[g]]);break;case 48:l[g-3].draw="participant",l[g-3].type="addParticipant",l[g-3].description=T.parseMessage(l[g-1]),this.$=l[g-3];break;case 49:l[g-1].draw="participant",l[g-1].type="addParticipant",this.$=l[g-1];break;case 50:l[g-3].draw="actor",l[g-3].type="addParticipant",l[g-3].description=T.parseMessage(l[g-1]),this.$=l[g-3];break;case 51:l[g-1].draw="actor",l[g-1].type="addParticipant",this.$=l[g-1];break;case 52:l[g-1].type="destroyParticipant",this.$=l[g-1];break;case 53:this.$=[l[g-1],{type:"addNote",placement:l[g-2],actor:l[g-1].actor,text:l[g]}];break;case 54:l[g-2]=[].concat(l[g-1],l[g-1]).slice(0,2),l[g-2][0]=l[g-2][0].actor,l[g-2][1]=l[g-2][1].actor,this.$=[l[g-1],{type:"addNote",placement:T.PLACEMENT.OVER,actor:l[g-2].slice(0,2),text:l[g]}];break;case 55:this.$=[l[g-1],{type:"addLinks",actor:l[g-1].actor,text:l[g]}];break;case 56:this.$=[l[g-1],{type:"addALink",actor:l[g-1].actor,text:l[g]}];break;case 57:this.$=[l[g-1],{type:"addProperties",actor:l[g-1].actor,text:l[g]}];break;case 58:this.$=[l[g-1],{type:"addDetails",actor:l[g-1].actor,text:l[g]}];break;case 61:this.$=[l[g-2],l[g]];break;case 62:this.$=l[g];break;case 63:this.$=T.PLACEMENT.LEFTOF;break;case 64:this.$=T.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[g-4],l[g-1],{type:"addMessage",from:l[g-4].actor,to:l[g-1].actor,signalType:l[g-3],msg:l[g],activate:!0},{type:"activeStart",signalType:T.LINETYPE.ACTIVE_START,actor:l[g-1].actor}];break;case 66:this.$=[l[g-4],l[g-1],{type:"addMessage",from:l[g-4].actor,to:l[g-1].actor,signalType:l[g-3],msg:l[g]},{type:"activeEnd",signalType:T.LINETYPE.ACTIVE_END,actor:l[g-4].actor}];break;case 67:this.$=[l[g-3],l[g-1],{type:"addMessage",from:l[g-3].actor,to:l[g-1].actor,signalType:l[g-2],msg:l[g]}];break;case 68:this.$={type:"addParticipant",actor:l[g]};break;case 69:this.$=T.LINETYPE.SOLID_OPEN;break;case 70:this.$=T.LINETYPE.DOTTED_OPEN;break;case 71:this.$=T.LINETYPE.SOLID;break;case 72:this.$=T.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=T.LINETYPE.DOTTED;break;case 74:this.$=T.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=T.LINETYPE.SOLID_CROSS;break;case 76:this.$=T.LINETYPE.DOTTED_CROSS;break;case 77:this.$=T.LINETYPE.SOLID_POINT;break;case 78:this.$=T.LINETYPE.DOTTED_POINT;break;case 79:this.$=T.parseMessage(l[g].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:n,6:a},{1:[3]},{3:5,4:e,5:n,6:a},{3:6,4:e,5:n,6:a},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],s,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},t(y,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:z,52:H,53:F},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:M},{22:55,70:M},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:M},{22:72,70:M},{22:73,70:M},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:M},{22:90,70:M},{22:91,70:M},{22:92,70:M},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(v,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t(X,s,{7:99}),t(X,s,{7:100}),t(X,s,{7:101}),t(it,s,{40:102,7:103}),t(N,s,{42:104,7:105}),t(N,s,{7:105,42:106}),t(Gt,s,{45:107,7:108}),t(X,s,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:M},t(nt,[2,69]),t(nt,[2,70]),t(nt,[2,71]),t(nt,[2,72]),t(nt,[2,73]),t(nt,[2,74]),t(nt,[2,75]),t(nt,[2,76]),t(nt,[2,77]),t(nt,[2,78]),{22:118,70:M},{22:120,58:119,70:M},{70:[2,63]},{70:[2,64]},{56:121,81:ht},{56:123,81:ht},{56:124,81:ht},{56:125,81:ht},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:z,52:H,53:F},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,133],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,134],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,49:[1,136],50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,48:[1,138],50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,47:[1,141],50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,142],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:M},{22:146,70:M},{56:147,81:ht},{56:148,81:ht},{56:149,81:ht},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(v,[2,10]),{12:151,50:z,52:H,53:F},t(v,[2,12]),t(v,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:ht},{56:158,81:ht},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:M},t(v,[2,11]),t(it,s,{7:103,40:160}),t(N,s,{7:105,42:161}),t(Gt,s,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:d(function(ct,E){if(E.recoverable)this.trace(ct);else{var P=new Error(ct);throw P.hash=E,P}},"parseError"),parse:d(function(ct){var E=this,P=[0],T=[],A=[null],l=[],K=this.table,g="",_t=0,Jt=0,ve=0,ke=2,Qt=1,Ne=l.slice.call(arguments,1),V=Object.create(this.lexer),gt={yy:{}};for(var Rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Rt)&&(gt.yy[Rt]=this.yy[Rt]);V.setInput(ct,gt.yy),gt.yy.lexer=V,gt.yy.parser=this,typeof V.yylloc>"u"&&(V.yylloc={});var Ct=V.yylloc;l.push(Ct);var Ae=V.options&&V.options.ranges;typeof gt.yy.parseError=="function"?this.parseError=gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(tt){P.length=P.length-2*tt,A.length=A.length-tt,l.length=l.length-tt}d(Me,"popStack");function Zt(){var tt;return tt=T.pop()||V.lex()||Qt,typeof tt!="number"&&(tt instanceof Array&&(T=tt,tt=T.pop()),tt=E.symbols_[tt]||tt),tt}d(Zt,"lex");for(var j,$t,ut,rt,U0,Bt,yt={},Pt,pt,Xt,vt;;){if(ut=P[P.length-1],this.defaultActions[ut]?rt=this.defaultActions[ut]:((j===null||typeof j>"u")&&(j=Zt()),rt=K[ut]&&K[ut][j]),typeof rt>"u"||!rt.length||!rt[0]){var Yt="";vt=[];for(Pt in K[ut])this.terminals_[Pt]&&Pt>ke&&vt.push("'"+this.terminals_[Pt]+"'");V.showPosition?Yt="Parse error on line "+(_t+1)+`: +import{s as Oe}from"./chunk-VSLJSFIP-SOmXOiGP.js";import{x as De,h as At,E as Se,d as Re,f as Ht,g as Ce}from"./chunk-BERL53GW-CnPewdp0.js";import{m as d,Q as st,v as $e,J as G,N as Mt,w as re,B as Be,A as Ye,L as Ve,F as Fe,M as We,q as qe,f as ze,ah as se,H as Vt,d as _,ab as ie,ai as dt,I as Y,R as He,b as kt,k as je,aj as wt,ak as Ue}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var Ft=function(){var t=d(function(ct,E,P,T){for(P=P||{},T=ct.length;T--;P[ct[T]]=E);return P},"o"),e=[1,2],n=[1,3],a=[1,4],s=[2,4],i=[1,9],c=[1,11],h=[1,13],p=[1,14],r=[1,16],x=[1,17],f=[1,18],u=[1,24],b=[1,25],w=[1,26],L=[1,27],k=[1,28],$=[1,29],O=[1,30],B=[1,31],S=[1,32],W=[1,33],q=[1,34],J=[1,35],et=[1,36],z=[1,37],H=[1,38],F=[1,39],D=[1,41],Q=[1,42],U=[1,43],Z=[1,44],at=[1,45],M=[1,46],y=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],v=[4,5,16,50,52,53],X=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],it=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],N=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Gt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],nt=[68,69,70],ht=[1,122],St={trace:d(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:d(function(ct,E,P,T,A,l,K){var g=l.length-1;switch(A){case 3:return T.apply(l[g]),l[g];case 4:case 9:this.$=[];break;case 5:case 10:l[g-1].push(l[g]),this.$=l[g-1];break;case 6:case 7:case 11:case 12:this.$=l[g];break;case 8:case 13:this.$=[];break;case 15:l[g].type="createParticipant",this.$=l[g];break;case 16:l[g-1].unshift({type:"boxStart",boxData:T.parseBoxData(l[g-2])}),l[g-1].push({type:"boxEnd",boxText:l[g-2]}),this.$=l[g-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(l[g-2]),sequenceIndexStep:Number(l[g-1]),sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(l[g-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:T.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:T.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:T.LINETYPE.ACTIVE_START,actor:l[g-1].actor};break;case 23:this.$={type:"activeEnd",signalType:T.LINETYPE.ACTIVE_END,actor:l[g-1].actor};break;case 29:T.setDiagramTitle(l[g].substring(6)),this.$=l[g].substring(6);break;case 30:T.setDiagramTitle(l[g].substring(7)),this.$=l[g].substring(7);break;case 31:this.$=l[g].trim(),T.setAccTitle(this.$);break;case 32:case 33:this.$=l[g].trim(),T.setAccDescription(this.$);break;case 34:l[g-1].unshift({type:"loopStart",loopText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.LOOP_START}),l[g-1].push({type:"loopEnd",loopText:l[g-2],signalType:T.LINETYPE.LOOP_END}),this.$=l[g-1];break;case 35:l[g-1].unshift({type:"rectStart",color:T.parseMessage(l[g-2]),signalType:T.LINETYPE.RECT_START}),l[g-1].push({type:"rectEnd",color:T.parseMessage(l[g-2]),signalType:T.LINETYPE.RECT_END}),this.$=l[g-1];break;case 36:l[g-1].unshift({type:"optStart",optText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.OPT_START}),l[g-1].push({type:"optEnd",optText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.OPT_END}),this.$=l[g-1];break;case 37:l[g-1].unshift({type:"altStart",altText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.ALT_START}),l[g-1].push({type:"altEnd",signalType:T.LINETYPE.ALT_END}),this.$=l[g-1];break;case 38:l[g-1].unshift({type:"parStart",parText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.PAR_START}),l[g-1].push({type:"parEnd",signalType:T.LINETYPE.PAR_END}),this.$=l[g-1];break;case 39:l[g-1].unshift({type:"parStart",parText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.PAR_OVER_START}),l[g-1].push({type:"parEnd",signalType:T.LINETYPE.PAR_END}),this.$=l[g-1];break;case 40:l[g-1].unshift({type:"criticalStart",criticalText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.CRITICAL_START}),l[g-1].push({type:"criticalEnd",signalType:T.LINETYPE.CRITICAL_END}),this.$=l[g-1];break;case 41:l[g-1].unshift({type:"breakStart",breakText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.BREAK_START}),l[g-1].push({type:"breakEnd",optText:T.parseMessage(l[g-2]),signalType:T.LINETYPE.BREAK_END}),this.$=l[g-1];break;case 43:this.$=l[g-3].concat([{type:"option",optionText:T.parseMessage(l[g-1]),signalType:T.LINETYPE.CRITICAL_OPTION},l[g]]);break;case 45:this.$=l[g-3].concat([{type:"and",parText:T.parseMessage(l[g-1]),signalType:T.LINETYPE.PAR_AND},l[g]]);break;case 47:this.$=l[g-3].concat([{type:"else",altText:T.parseMessage(l[g-1]),signalType:T.LINETYPE.ALT_ELSE},l[g]]);break;case 48:l[g-3].draw="participant",l[g-3].type="addParticipant",l[g-3].description=T.parseMessage(l[g-1]),this.$=l[g-3];break;case 49:l[g-1].draw="participant",l[g-1].type="addParticipant",this.$=l[g-1];break;case 50:l[g-3].draw="actor",l[g-3].type="addParticipant",l[g-3].description=T.parseMessage(l[g-1]),this.$=l[g-3];break;case 51:l[g-1].draw="actor",l[g-1].type="addParticipant",this.$=l[g-1];break;case 52:l[g-1].type="destroyParticipant",this.$=l[g-1];break;case 53:this.$=[l[g-1],{type:"addNote",placement:l[g-2],actor:l[g-1].actor,text:l[g]}];break;case 54:l[g-2]=[].concat(l[g-1],l[g-1]).slice(0,2),l[g-2][0]=l[g-2][0].actor,l[g-2][1]=l[g-2][1].actor,this.$=[l[g-1],{type:"addNote",placement:T.PLACEMENT.OVER,actor:l[g-2].slice(0,2),text:l[g]}];break;case 55:this.$=[l[g-1],{type:"addLinks",actor:l[g-1].actor,text:l[g]}];break;case 56:this.$=[l[g-1],{type:"addALink",actor:l[g-1].actor,text:l[g]}];break;case 57:this.$=[l[g-1],{type:"addProperties",actor:l[g-1].actor,text:l[g]}];break;case 58:this.$=[l[g-1],{type:"addDetails",actor:l[g-1].actor,text:l[g]}];break;case 61:this.$=[l[g-2],l[g]];break;case 62:this.$=l[g];break;case 63:this.$=T.PLACEMENT.LEFTOF;break;case 64:this.$=T.PLACEMENT.RIGHTOF;break;case 65:this.$=[l[g-4],l[g-1],{type:"addMessage",from:l[g-4].actor,to:l[g-1].actor,signalType:l[g-3],msg:l[g],activate:!0},{type:"activeStart",signalType:T.LINETYPE.ACTIVE_START,actor:l[g-1].actor}];break;case 66:this.$=[l[g-4],l[g-1],{type:"addMessage",from:l[g-4].actor,to:l[g-1].actor,signalType:l[g-3],msg:l[g]},{type:"activeEnd",signalType:T.LINETYPE.ACTIVE_END,actor:l[g-4].actor}];break;case 67:this.$=[l[g-3],l[g-1],{type:"addMessage",from:l[g-3].actor,to:l[g-1].actor,signalType:l[g-2],msg:l[g]}];break;case 68:this.$={type:"addParticipant",actor:l[g]};break;case 69:this.$=T.LINETYPE.SOLID_OPEN;break;case 70:this.$=T.LINETYPE.DOTTED_OPEN;break;case 71:this.$=T.LINETYPE.SOLID;break;case 72:this.$=T.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=T.LINETYPE.DOTTED;break;case 74:this.$=T.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=T.LINETYPE.SOLID_CROSS;break;case 76:this.$=T.LINETYPE.DOTTED_CROSS;break;case 77:this.$=T.LINETYPE.SOLID_POINT;break;case 78:this.$=T.LINETYPE.DOTTED_POINT;break;case 79:this.$=T.parseMessage(l[g].trim().substring(1));break}},"anonymous"),table:[{3:1,4:e,5:n,6:a},{1:[3]},{3:5,4:e,5:n,6:a},{3:6,4:e,5:n,6:a},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],s,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:i,5:c,8:8,9:10,12:12,13:h,14:p,17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},t(y,[2,5]),{9:47,12:12,13:h,14:p,17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},t(y,[2,7]),t(y,[2,8]),t(y,[2,14]),{12:48,50:z,52:H,53:F},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:M},{22:55,70:M},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(y,[2,29]),t(y,[2,30]),{32:[1,61]},{34:[1,62]},t(y,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:M},{22:72,70:M},{22:73,70:M},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:M},{22:90,70:M},{22:91,70:M},{22:92,70:M},t([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),t(y,[2,6]),t(y,[2,15]),t(v,[2,9],{10:93}),t(y,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},t(y,[2,21]),{5:[1,97]},{5:[1,98]},t(y,[2,24]),t(y,[2,25]),t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,31]),t(y,[2,32]),t(X,s,{7:99}),t(X,s,{7:100}),t(X,s,{7:101}),t(it,s,{40:102,7:103}),t(N,s,{42:104,7:105}),t(N,s,{7:105,42:106}),t(Gt,s,{45:107,7:108}),t(X,s,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:M},t(nt,[2,69]),t(nt,[2,70]),t(nt,[2,71]),t(nt,[2,72]),t(nt,[2,73]),t(nt,[2,74]),t(nt,[2,75]),t(nt,[2,76]),t(nt,[2,77]),t(nt,[2,78]),{22:118,70:M},{22:120,58:119,70:M},{70:[2,63]},{70:[2,64]},{56:121,81:ht},{56:123,81:ht},{56:124,81:ht},{56:125,81:ht},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:z,52:H,53:F},{5:[1,131]},t(y,[2,19]),t(y,[2,20]),t(y,[2,22]),t(y,[2,23]),{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,132],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,133],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,134],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{16:[1,135]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,46],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,49:[1,136],50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{16:[1,137]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,44],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,48:[1,138],50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{16:[1,139]},{16:[1,140]},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[2,42],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,47:[1,141],50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{4:i,5:c,8:8,9:10,12:12,13:h,14:p,16:[1,142],17:15,18:r,21:x,22:40,23:f,24:19,25:20,26:21,27:22,28:23,29:u,30:b,31:w,33:L,35:k,36:$,37:O,38:B,39:S,41:W,43:q,44:J,46:et,50:z,52:H,53:F,54:D,59:Q,60:U,61:Z,62:at,70:M},{15:[1,143]},t(y,[2,49]),{15:[1,144]},t(y,[2,51]),t(y,[2,52]),{22:145,70:M},{22:146,70:M},{56:147,81:ht},{56:148,81:ht},{56:149,81:ht},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(y,[2,16]),t(v,[2,10]),{12:151,50:z,52:H,53:F},t(v,[2,12]),t(v,[2,13]),t(y,[2,18]),t(y,[2,34]),t(y,[2,35]),t(y,[2,36]),t(y,[2,37]),{15:[1,152]},t(y,[2,38]),{15:[1,153]},t(y,[2,39]),t(y,[2,40]),{15:[1,154]},t(y,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:ht},{56:158,81:ht},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:M},t(v,[2,11]),t(it,s,{7:103,40:160}),t(N,s,{7:105,42:161}),t(Gt,s,{7:108,45:162}),t(y,[2,48]),t(y,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:d(function(ct,E){if(E.recoverable)this.trace(ct);else{var P=new Error(ct);throw P.hash=E,P}},"parseError"),parse:d(function(ct){var E=this,P=[0],T=[],A=[null],l=[],K=this.table,g="",_t=0,Jt=0,ve=0,ke=2,Qt=1,Ne=l.slice.call(arguments,1),V=Object.create(this.lexer),gt={yy:{}};for(var Rt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Rt)&&(gt.yy[Rt]=this.yy[Rt]);V.setInput(ct,gt.yy),gt.yy.lexer=V,gt.yy.parser=this,typeof V.yylloc>"u"&&(V.yylloc={});var Ct=V.yylloc;l.push(Ct);var Ae=V.options&&V.options.ranges;typeof gt.yy.parseError=="function"?this.parseError=gt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Me(tt){P.length=P.length-2*tt,A.length=A.length-tt,l.length=l.length-tt}d(Me,"popStack");function Zt(){var tt;return tt=T.pop()||V.lex()||Qt,typeof tt!="number"&&(tt instanceof Array&&(T=tt,tt=T.pop()),tt=E.symbols_[tt]||tt),tt}d(Zt,"lex");for(var j,$t,ut,rt,U0,Bt,yt={},Pt,pt,Xt,vt;;){if(ut=P[P.length-1],this.defaultActions[ut]?rt=this.defaultActions[ut]:((j===null||typeof j>"u")&&(j=Zt()),rt=K[ut]&&K[ut][j]),typeof rt>"u"||!rt.length||!rt[0]){var Yt="";vt=[];for(Pt in K[ut])this.terminals_[Pt]&&Pt>ke&&vt.push("'"+this.terminals_[Pt]+"'");V.showPosition?Yt="Parse error on line "+(_t+1)+`: `+V.showPosition()+` Expecting `+vt.join(", ")+", got '"+(this.terminals_[j]||j)+"'":Yt="Parse error on line "+(_t+1)+": Unexpected "+(j==Qt?"end of input":"'"+(this.terminals_[j]||j)+"'"),this.parseError(Yt,{text:V.match,token:this.terminals_[j]||j,line:V.yylineno,loc:Ct,expected:vt})}if(rt[0]instanceof Array&&rt.length>1)throw new Error("Parse Error: multiple actions possible at state: "+ut+", token: "+j);switch(rt[0]){case 1:P.push(j),A.push(V.yytext),l.push(V.yylloc),P.push(rt[1]),j=null,$t?(j=$t,$t=null):(Jt=V.yyleng,g=V.yytext,_t=V.yylineno,Ct=V.yylloc,ve>0);break;case 2:if(pt=this.productions_[rt[1]][1],yt.$=A[A.length-pt],yt._$={first_line:l[l.length-(pt||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(pt||1)].first_column,last_column:l[l.length-1].last_column},Ae&&(yt._$.range=[l[l.length-(pt||1)].range[0],l[l.length-1].range[1]]),Bt=this.performAction.apply(yt,[g,Jt,_t,gt.yy,rt[1],A,l].concat(Ne)),typeof Bt<"u")return Bt;pt&&(P=P.slice(0,-1*pt*2),A=A.slice(0,-1*pt),l=l.slice(0,-1*pt)),P.push(this.productions_[rt[1]][0]),A.push(yt.$),l.push(yt._$),Xt=K[P[P.length-2]][P[P.length-1]],P.push(Xt);break;case 3:return!0}}return!0},"parse")},Pe=function(){var ct={EOF:1,parseError:d(function(E,P){if(this.yy.parser)this.yy.parser.parseError(E,P);else throw new Error(E)},"parseError"),setInput:d(function(E,P){return this.yy=P||this.yy||{},this._input=E,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:d(function(){var E=this._input[0];this.yytext+=E,this.yyleng++,this.offset++,this.match+=E,this.matched+=E;var P=E.match(/(?:\r\n?|\n).*/g);return P?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),E},"input"),unput:d(function(E){var P=E.length,T=E.split(/(?:\r\n?|\n)/g);this._input=E+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-P),this.offset-=P;var A=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),T.length-1&&(this.yylineno-=T.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:T?(T.length===A.length?this.yylloc.first_column:0)+A[A.length-T.length].length-T[0].length:this.yylloc.first_column-P},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-P]),this.yyleng=this.yytext.length,this},"unput"),more:d(function(){return this._more=!0,this},"more"),reject:d(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:d(function(E){this.unput(this.match.slice(E))},"less"),pastInput:d(function(){var E=this.matched.substr(0,this.matched.length-this.match.length);return(E.length>20?"...":"")+E.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:d(function(){var E=this.match;return E.length<20&&(E+=this._input.substr(0,20-E.length)),(E.substr(0,20)+(E.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:d(function(){var E=this.pastInput(),P=new Array(E.length+1).join("-");return E+this.upcomingInput()+` diff --git a/assets/setupDevtools-7MC2TMWH-DwlLzZE_.js b/assets/setupDevtools-7MC2TMWH-BKGvGW0Q.js similarity index 93% rename from assets/setupDevtools-7MC2TMWH-DwlLzZE_.js rename to assets/setupDevtools-7MC2TMWH-BKGvGW0Q.js index 391ae1b0..062ce04a 100644 --- a/assets/setupDevtools-7MC2TMWH-DwlLzZE_.js +++ b/assets/setupDevtools-7MC2TMWH-BKGvGW0Q.js @@ -1 +1 @@ -import{s as T,w as E}from"./app-DQKFxOg7.js";var l="org.vuejs.vuepress",v="VuePress",I=v,r=l,N=v,i="client-data",a="Client Data",g=(p,n)=>{T({app:p,id:l,label:v,packageName:"@vuepress/client",homepage:"https://vuepress.vuejs.org",logo:"https://vuepress.vuejs.org/images/hero.png",componentStateTypes:[I]},t=>{const c=Object.entries(n),u=Object.keys(n),d=Object.values(n);t.on.inspectComponent(e=>{e.instanceData.state.push(...c.map(([s,o])=>({type:I,editable:!1,key:s,value:o.value})))}),t.addInspector({id:r,label:N,icon:"article"}),t.on.getInspectorTree(e=>{e.inspectorId===r&&(e.rootNodes=[{id:i,label:a,children:u.map(s=>({id:s,label:s}))}])}),t.on.getInspectorState(e=>{e.inspectorId===r&&(e.nodeId===i&&(e.state={[a]:c.map(([s,o])=>({key:s,value:o.value}))}),u.includes(e.nodeId)&&(e.state={[a]:[{key:e.nodeId,value:n[e.nodeId].value}]}))}),E(d,()=>{t.notifyComponentUpdate(),t.sendInspectorState(r)})})};export{g as setupDevtools}; +import{s as T,w as E}from"./app-3oaVMpRs.js";var l="org.vuejs.vuepress",v="VuePress",I=v,r=l,N=v,i="client-data",a="Client Data",g=(p,n)=>{T({app:p,id:l,label:v,packageName:"@vuepress/client",homepage:"https://vuepress.vuejs.org",logo:"https://vuepress.vuejs.org/images/hero.png",componentStateTypes:[I]},t=>{const c=Object.entries(n),u=Object.keys(n),d=Object.values(n);t.on.inspectComponent(e=>{e.instanceData.state.push(...c.map(([s,o])=>({type:I,editable:!1,key:s,value:o.value})))}),t.addInspector({id:r,label:N,icon:"article"}),t.on.getInspectorTree(e=>{e.inspectorId===r&&(e.rootNodes=[{id:i,label:a,children:u.map(s=>({id:s,label:s}))}])}),t.on.getInspectorState(e=>{e.inspectorId===r&&(e.nodeId===i&&(e.state={[a]:c.map(([s,o])=>({key:s,value:o.value}))}),u.includes(e.nodeId)&&(e.state={[a]:[{key:e.nodeId,value:n[e.nodeId].value}]}))}),E(d,()=>{t.notifyComponentUpdate(),t.sendInspectorState(r)})})};export{g as setupDevtools}; diff --git a/assets/stateDiagram-SUF43ZVU-DDaxo5HN.js b/assets/stateDiagram-SUF43ZVU-bU0rojpS.js similarity index 96% rename from assets/stateDiagram-SUF43ZVU-DDaxo5HN.js rename to assets/stateDiagram-SUF43ZVU-bU0rojpS.js index 8fd453fd..d050d87f 100644 --- a/assets/stateDiagram-SUF43ZVU-DDaxo5HN.js +++ b/assets/stateDiagram-SUF43ZVU-bU0rojpS.js @@ -1 +1 @@ -import{r as v,I as O,a as R}from"./chunk-7H3BNXSV-Bzj2CIfR.js";import"./chunk-4YMK7POB-1jnwl01V.js";import{m as f,Q as t,d as T,j as C,l as P,I as U,J as k,b as z,k as W}from"./mermaid.esm.min-DnxZBvzk.js";import{f as $}from"./chunk-FASC7IG4-Cf3UQ1W4.js";import{m as j}from"./chunk-ZN7TASNU-DRzcILnV.js";import"./chunk-5ZJXQJOJ-DIZvkofk.js";import"./app-DQKFxOg7.js";var D={},J=f((e,i)=>{D[e]=i},"set"),F=f(e=>D[e],"get"),A=f(()=>Object.keys(D),"keys"),Y=f(()=>A().length,"size"),Q={get:F,set:J,keys:A,size:Y},q=f(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),X=f(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Z=f((e,i)=>{let o=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),n=o.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",n.width+2*t().state.padding).attr("height",n.height+2*t().state.padding).attr("rx",t().state.radius),o},"drawSimpleState"),_=f((e,i)=>{let o=f(function(g,u,m){let b=g.append("tspan").attr("x",2*t().state.padding).text(u);m||b.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),d=n.height,h=e.append("text").attr("x",t().state.padding).attr("y",d+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description"),c=!0,a=!0;i.descriptions.forEach(function(g){c||(o(h,g,a),a=!1),c=!1});let s=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+d+t().state.dividerMargin/2).attr("y2",t().state.padding+d+t().state.dividerMargin/2).attr("class","descr-divider"),x=h.node().getBBox(),p=Math.max(x.width,n.width);return s.attr("x2",p+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",p+2*t().state.padding).attr("height",x.height+d+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),K=f((e,i,o)=>{let n=t().state.padding,d=2*t().state.padding,h=e.node().getBBox(),c=h.width,a=h.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+d,p=Math.max(x,c);p===c&&(p=p+d);let g,u=e.node().getBBox();i.doc,g=a-n,x>c&&(g=(c-p)/2+n),Math.abs(a-u.x)c&&(g=a-(x-c)/2);let m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",g).attr("y",m).attr("class",o?"alt-composit":"composit").attr("width",p).attr("height",u.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",g+n),x<=c&&s.attr("x",a+(p-d)/2-x/2+n),e.insert("rect",":first-child").attr("x",g).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",p).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",g).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",p).attr("height",u.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=f(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=f((e,i)=>{let o=t().state.forkWidth,n=t().state.forkHeight;if(i.parentId){let d=o;o=n,n=d}return e.append("rect").style("stroke","black").style("fill","black").attr("width",o).attr("height",n).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=f((e,i,o,n)=>{let d=0,h=n.append("text");h.style("text-anchor","start"),h.attr("class","noteText");let c=e.replace(/\r\n/g,"
");c=c.replace(/\n/g,"
");let a=c.split(T.lineBreakRegex),s=1.25*t().state.noteMargin;for(let x of a){let p=x.trim();if(p.length>0){let g=h.append("tspan");if(g.text(p),s===0){let u=g.node().getBBox();s+=u.height}d+=s,g.attr("x",i+t().state.noteMargin),g.attr("y",o+d+1.25*t().state.noteMargin)}}return{textWidth:h.node().getBBox().width,textHeight:d}},"_drawLongText"),at=f((e,i)=>{i.attr("class","state-note");let o=i.append("rect").attr("x",0).attr("y",t().state.padding),n=i.append("g"),{textWidth:d,textHeight:h}=et(e,0,0,n);return o.attr("height",h+2*t().state.noteMargin),o.attr("width",d+t().state.noteMargin*2),o},"drawNote"),I=f(function(e,i){let o=i.id,n={id:o,label:i.id,width:0,height:0},d=e.append("g").attr("id",o).attr("class","stateGroup");i.type==="start"&&q(d),i.type==="end"&&V(d),(i.type==="fork"||i.type==="join")&&tt(d,i),i.type==="note"&&at(i.note.text,d),i.type==="divider"&&X(d),i.type==="default"&&i.descriptions.length===0&&Z(d,i),i.type==="default"&&i.descriptions.length>0&&_(d,i);let h=d.node().getBBox();return n.width=h.width+2*t().state.padding,n.height=h.height+2*t().state.padding,Q.set(o,n),n},"drawState"),L=0,it=f(function(e,i,o){let n=f(function(s){switch(s){case v.relationType.AGGREGATION:return"aggregation";case v.relationType.EXTENSION:return"extension";case v.relationType.COMPOSITION:return"composition";case v.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));let d=i.points,h=C().x(function(s){return s.x}).y(function(s){return s.y}).curve(P),c=e.append("path").attr("d",h(d)).attr("id","edge"+L).attr("class","transition"),a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),c.attr("marker-end","url("+a+"#"+n(v.relationType.DEPENDENCY)+"End)"),o.title!==void 0){let s=e.append("g").attr("class","stateLabel"),{x,y:p}=U.calcLabelPosition(i.points),g=T.getRows(o.title),u=0,m=[],b=0,S=0;for(let r=0;r<=g.length;r++){let y=s.append("text").attr("text-anchor","middle").text(g[r]).attr("x",x).attr("y",p+u),l=y.node().getBBox();b=Math.max(b,l.width),S=Math.min(S,l.x),k.info(l.x,x,p+u),u===0&&(u=y.node().getBBox().height,k.info("Title height",u,p)),m.push(y)}let N=u*g.length;if(g.length>1){let r=(g.length-1)*u*.5;m.forEach((y,l)=>y.attr("y",p+l*u-r)),N=u*g.length}let M=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",x-b/2-t().state.padding/2).attr("y",p-N/2-t().state.padding/2-3.5).attr("width",b+t().state.padding).attr("height",N+t().state.padding),k.info(M)}L++},"drawEdge"),w,H={},rt=f(function(){},"setConf"),dt=f(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),nt=f(function(e,i,o,n){w=t().state;let d=t().securityLevel,h;d==="sandbox"&&(h=z("#i"+i));let c=d==="sandbox"?z(h.nodes()[0].contentDocument.body):z("body"),a=d==="sandbox"?h.nodes()[0].contentDocument:document;k.debug("Rendering diagram "+e);let s=c.select(`[id='${i}']`);dt(s);let x=n.db.getRootDoc();G(x,s,void 0,!1,c,a,n);let p=w.padding,g=s.node().getBBox(),u=g.width+p*2,m=g.height+p*2,b=u*1.75;W(s,m,b,w.useMaxWidth),s.attr("viewBox",`${g.x-w.padding} ${g.y-w.padding} `+u+" "+m)},"draw"),st=f(e=>e?e.length*w.fontSizeFactor:1,"getLabelWidth"),G=f((e,i,o,n,d,h,c)=>{let a=new j({compound:!0,multigraph:!0}),s,x=!0;for(s=0;s{let l=y.parentElement,E=0,B=0;l&&(l.parentElement&&(E=l.parentElement.getBBox().width),B=parseInt(l.getAttribute("data-x-shift"),10),Number.isNaN(B)&&(B=0)),y.setAttribute("x1",0-B+8),y.setAttribute("x2",E-B-8)})):k.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let N=S.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(k.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),N=S.getBBox();let M={id:o||"root",label:o||"root",width:0,height:0};return M.width=N.width+2*w.padding,M.height=N.height+2*w.padding,k.debug("Doc rendered",M,a),M},"renderDoc"),ot={setConf:rt,draw:nt},ut={parser:O,db:v,renderer:ot,styles:R,init:f(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,v.clear()},"init")};export{ut as diagram}; +import{r as v,I as O,a as R}from"./chunk-7H3BNXSV-oVg3sKqn.js";import"./chunk-4YMK7POB-jWkf0GjT.js";import{m as f,Q as t,d as T,j as C,l as P,I as U,J as k,b as z,k as W}from"./mermaid.esm.min-Bq5H-fqC.js";import{f as $}from"./chunk-FASC7IG4-D006d5mv.js";import{m as j}from"./chunk-ZN7TASNU-CG0HzbXE.js";import"./chunk-5ZJXQJOJ-CLUFfhem.js";import"./app-3oaVMpRs.js";var D={},J=f((e,i)=>{D[e]=i},"set"),F=f(e=>D[e],"get"),A=f(()=>Object.keys(D),"keys"),Y=f(()=>A().length,"size"),Q={get:F,set:J,keys:A,size:Y},q=f(e=>e.append("circle").attr("class","start-state").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit).attr("cy",t().state.padding+t().state.sizeUnit),"drawStartState"),X=f(e=>e.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",t().state.textHeight).attr("class","divider").attr("x2",t().state.textHeight*2).attr("y1",0).attr("y2",0),"drawDivider"),Z=f((e,i)=>{let o=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+2*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),n=o.node().getBBox();return e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",n.width+2*t().state.padding).attr("height",n.height+2*t().state.padding).attr("rx",t().state.radius),o},"drawSimpleState"),_=f((e,i)=>{let o=f(function(g,u,m){let b=g.append("tspan").attr("x",2*t().state.padding).text(u);m||b.attr("dy",t().state.textHeight)},"addTspan"),n=e.append("text").attr("x",2*t().state.padding).attr("y",t().state.textHeight+1.3*t().state.padding).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.descriptions[0]).node().getBBox(),d=n.height,h=e.append("text").attr("x",t().state.padding).attr("y",d+t().state.padding*.4+t().state.dividerMargin+t().state.textHeight).attr("class","state-description"),c=!0,a=!0;i.descriptions.forEach(function(g){c||(o(h,g,a),a=!1),c=!1});let s=e.append("line").attr("x1",t().state.padding).attr("y1",t().state.padding+d+t().state.dividerMargin/2).attr("y2",t().state.padding+d+t().state.dividerMargin/2).attr("class","descr-divider"),x=h.node().getBBox(),p=Math.max(x.width,n.width);return s.attr("x2",p+3*t().state.padding),e.insert("rect",":first-child").attr("x",t().state.padding).attr("y",t().state.padding).attr("width",p+2*t().state.padding).attr("height",x.height+d+2*t().state.padding).attr("rx",t().state.radius),e},"drawDescrState"),K=f((e,i,o)=>{let n=t().state.padding,d=2*t().state.padding,h=e.node().getBBox(),c=h.width,a=h.x,s=e.append("text").attr("x",0).attr("y",t().state.titleShift).attr("font-size",t().state.fontSize).attr("class","state-title").text(i.id),x=s.node().getBBox().width+d,p=Math.max(x,c);p===c&&(p=p+d);let g,u=e.node().getBBox();i.doc,g=a-n,x>c&&(g=(c-p)/2+n),Math.abs(a-u.x)c&&(g=a-(x-c)/2);let m=1-t().state.textHeight;return e.insert("rect",":first-child").attr("x",g).attr("y",m).attr("class",o?"alt-composit":"composit").attr("width",p).attr("height",u.height+t().state.textHeight+t().state.titleShift+1).attr("rx","0"),s.attr("x",g+n),x<=c&&s.attr("x",a+(p-d)/2-x/2+n),e.insert("rect",":first-child").attr("x",g).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",p).attr("height",t().state.textHeight*3).attr("rx",t().state.radius),e.insert("rect",":first-child").attr("x",g).attr("y",t().state.titleShift-t().state.textHeight-t().state.padding).attr("width",p).attr("height",u.height+3+2*t().state.textHeight).attr("rx",t().state.radius),e},"addTitleAndBox"),V=f(e=>(e.append("circle").attr("class","end-state-outer").attr("r",t().state.sizeUnit+t().state.miniPadding).attr("cx",t().state.padding+t().state.sizeUnit+t().state.miniPadding).attr("cy",t().state.padding+t().state.sizeUnit+t().state.miniPadding),e.append("circle").attr("class","end-state-inner").attr("r",t().state.sizeUnit).attr("cx",t().state.padding+t().state.sizeUnit+2).attr("cy",t().state.padding+t().state.sizeUnit+2)),"drawEndState"),tt=f((e,i)=>{let o=t().state.forkWidth,n=t().state.forkHeight;if(i.parentId){let d=o;o=n,n=d}return e.append("rect").style("stroke","black").style("fill","black").attr("width",o).attr("height",n).attr("x",t().state.padding).attr("y",t().state.padding)},"drawForkJoinState"),et=f((e,i,o,n)=>{let d=0,h=n.append("text");h.style("text-anchor","start"),h.attr("class","noteText");let c=e.replace(/\r\n/g,"
");c=c.replace(/\n/g,"
");let a=c.split(T.lineBreakRegex),s=1.25*t().state.noteMargin;for(let x of a){let p=x.trim();if(p.length>0){let g=h.append("tspan");if(g.text(p),s===0){let u=g.node().getBBox();s+=u.height}d+=s,g.attr("x",i+t().state.noteMargin),g.attr("y",o+d+1.25*t().state.noteMargin)}}return{textWidth:h.node().getBBox().width,textHeight:d}},"_drawLongText"),at=f((e,i)=>{i.attr("class","state-note");let o=i.append("rect").attr("x",0).attr("y",t().state.padding),n=i.append("g"),{textWidth:d,textHeight:h}=et(e,0,0,n);return o.attr("height",h+2*t().state.noteMargin),o.attr("width",d+t().state.noteMargin*2),o},"drawNote"),I=f(function(e,i){let o=i.id,n={id:o,label:i.id,width:0,height:0},d=e.append("g").attr("id",o).attr("class","stateGroup");i.type==="start"&&q(d),i.type==="end"&&V(d),(i.type==="fork"||i.type==="join")&&tt(d,i),i.type==="note"&&at(i.note.text,d),i.type==="divider"&&X(d),i.type==="default"&&i.descriptions.length===0&&Z(d,i),i.type==="default"&&i.descriptions.length>0&&_(d,i);let h=d.node().getBBox();return n.width=h.width+2*t().state.padding,n.height=h.height+2*t().state.padding,Q.set(o,n),n},"drawState"),L=0,it=f(function(e,i,o){let n=f(function(s){switch(s){case v.relationType.AGGREGATION:return"aggregation";case v.relationType.EXTENSION:return"extension";case v.relationType.COMPOSITION:return"composition";case v.relationType.DEPENDENCY:return"dependency"}},"getRelationType");i.points=i.points.filter(s=>!Number.isNaN(s.y));let d=i.points,h=C().x(function(s){return s.x}).y(function(s){return s.y}).curve(P),c=e.append("path").attr("d",h(d)).attr("id","edge"+L).attr("class","transition"),a="";if(t().state.arrowMarkerAbsolute&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),c.attr("marker-end","url("+a+"#"+n(v.relationType.DEPENDENCY)+"End)"),o.title!==void 0){let s=e.append("g").attr("class","stateLabel"),{x,y:p}=U.calcLabelPosition(i.points),g=T.getRows(o.title),u=0,m=[],b=0,S=0;for(let r=0;r<=g.length;r++){let y=s.append("text").attr("text-anchor","middle").text(g[r]).attr("x",x).attr("y",p+u),l=y.node().getBBox();b=Math.max(b,l.width),S=Math.min(S,l.x),k.info(l.x,x,p+u),u===0&&(u=y.node().getBBox().height,k.info("Title height",u,p)),m.push(y)}let N=u*g.length;if(g.length>1){let r=(g.length-1)*u*.5;m.forEach((y,l)=>y.attr("y",p+l*u-r)),N=u*g.length}let M=s.node().getBBox();s.insert("rect",":first-child").attr("class","box").attr("x",x-b/2-t().state.padding/2).attr("y",p-N/2-t().state.padding/2-3.5).attr("width",b+t().state.padding).attr("height",N+t().state.padding),k.info(M)}L++},"drawEdge"),w,H={},rt=f(function(){},"setConf"),dt=f(function(e){e.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),nt=f(function(e,i,o,n){w=t().state;let d=t().securityLevel,h;d==="sandbox"&&(h=z("#i"+i));let c=d==="sandbox"?z(h.nodes()[0].contentDocument.body):z("body"),a=d==="sandbox"?h.nodes()[0].contentDocument:document;k.debug("Rendering diagram "+e);let s=c.select(`[id='${i}']`);dt(s);let x=n.db.getRootDoc();G(x,s,void 0,!1,c,a,n);let p=w.padding,g=s.node().getBBox(),u=g.width+p*2,m=g.height+p*2,b=u*1.75;W(s,m,b,w.useMaxWidth),s.attr("viewBox",`${g.x-w.padding} ${g.y-w.padding} `+u+" "+m)},"draw"),st=f(e=>e?e.length*w.fontSizeFactor:1,"getLabelWidth"),G=f((e,i,o,n,d,h,c)=>{let a=new j({compound:!0,multigraph:!0}),s,x=!0;for(s=0;s{let l=y.parentElement,E=0,B=0;l&&(l.parentElement&&(E=l.parentElement.getBBox().width),B=parseInt(l.getAttribute("data-x-shift"),10),Number.isNaN(B)&&(B=0)),y.setAttribute("x1",0-B+8),y.setAttribute("x2",E-B-8)})):k.debug("No Node "+r+": "+JSON.stringify(a.node(r)))});let N=S.getBBox();a.edges().forEach(function(r){r!==void 0&&a.edge(r)!==void 0&&(k.debug("Edge "+r.v+" -> "+r.w+": "+JSON.stringify(a.edge(r))),it(i,a.edge(r),a.edge(r).relation))}),N=S.getBBox();let M={id:o||"root",label:o||"root",width:0,height:0};return M.width=N.width+2*w.padding,M.height=N.height+2*w.padding,k.debug("Doc rendered",M,a),M},"renderDoc"),ot={setConf:rt,draw:nt},ut={parser:O,db:v,renderer:ot,styles:R,init:f(e=>{e.state||(e.state={}),e.state.arrowMarkerAbsolute=e.arrowMarkerAbsolute,v.clear()},"init")};export{ut as diagram}; diff --git a/assets/stateDiagram-v2-DVB4EDRD-Burek0lL.js b/assets/stateDiagram-v2-DVB4EDRD-Burek0lL.js deleted file mode 100644 index 1d8d1b5b..00000000 --- a/assets/stateDiagram-v2-DVB4EDRD-Burek0lL.js +++ /dev/null @@ -1 +0,0 @@ -import{I as s,r as a,B as t,a as e}from"./chunk-7H3BNXSV-Bzj2CIfR.js";import"./chunk-4YMK7POB-1jnwl01V.js";import{m as o}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var l={parser:s,db:a,renderer:t,styles:e,init:o(r=>{r.state||(r.state={}),r.state.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.clear()},"init")};export{l as diagram}; diff --git a/assets/stateDiagram-v2-DVB4EDRD-DKpk7Koi.js b/assets/stateDiagram-v2-DVB4EDRD-DKpk7Koi.js new file mode 100644 index 00000000..125e8387 --- /dev/null +++ b/assets/stateDiagram-v2-DVB4EDRD-DKpk7Koi.js @@ -0,0 +1 @@ +import{I as s,r as a,B as t,a as e}from"./chunk-7H3BNXSV-oVg3sKqn.js";import"./chunk-4YMK7POB-jWkf0GjT.js";import{m as o}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var l={parser:s,db:a,renderer:t,styles:e,init:o(r=>{r.state||(r.state={}),r.state.arrowMarkerAbsolute=r.arrowMarkerAbsolute,a.clear()},"init")};export{l as diagram}; diff --git a/assets/sync.html-9zIQDlew.js b/assets/sync.html-9zIQDlew.js deleted file mode 100644 index 30206c9e..00000000 --- a/assets/sync.html-9zIQDlew.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as t,c as o,a,o as s}from"./app-DQKFxOg7.js";const n={};function i(c,e){return s(),o("div",null,e[0]||(e[0]=[a('

sync

Synchronizes the local version number of each package to the current version of the given dist-tag in the npm registry. This is useful for helping get a repo back into a valid state after publishing fails partway through.

By default, the local version will only be updated if it's older than the version the specified dist-tag points to. Use --force to override this behavior.

After syncing, be sure to commit and push the changes.

Options

In addition to the options below, certain common options also apply.

--force

Force the sync command to skip the version comparison and use the version in the registry as is.

--tag, -t

Sync with the version this dist-tag points to. Defaults to the tag from repo, group, or package level beachball configs if present, falling back to latest.

',10)]))}const h=t(n,[["render",i],["__file","sync.html.vue"]]),p=JSON.parse('{"path":"/cli/sync.html","title":"sync","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]}],"git":{"updatedTime":1732651601000,"contributors":[{"name":"Elizabeth Craig","email":"elcraig@microsoft.com","commits":1,"url":"https://github.com/Elizabeth Craig"}]},"filePathRelative":"cli/sync.md"}');export{h as comp,p as data}; diff --git a/assets/sync.html-DRJDbe4_.js b/assets/sync.html-DRJDbe4_.js new file mode 100644 index 00000000..16bbe7da --- /dev/null +++ b/assets/sync.html-DRJDbe4_.js @@ -0,0 +1 @@ +import{_ as t,c as o,d as a,o as s}from"./app-3oaVMpRs.js";const n={};function i(c,e){return s(),o("div",null,e[0]||(e[0]=[a('

sync

Synchronizes the local version number of each package to the current version of the given dist-tag in the npm registry. This is useful for helping get a repo back into a valid state after publishing fails partway through.

By default, the local version will only be updated if it's older than the version the specified dist-tag points to. Use --force to override this behavior.

After syncing, be sure to commit and push the changes.

Options

In addition to the options below, certain common options also apply.

--force

Force the sync command to skip the version comparison and use the version in the registry as is.

--tag, -t

Sync with the version this dist-tag points to. Defaults to the tag from repo, group, or package level beachball configs if present, falling back to latest.

',10)]))}const h=t(n,[["render",i],["__file","sync.html.vue"]]),p=JSON.parse('{"path":"/cli/sync.html","title":"sync","lang":"en-US","frontmatter":{"tags":["cli"],"category":"doc"},"headers":[{"level":3,"title":"Options","slug":"options","link":"#options","children":[]}],"git":{"updatedTime":1732694555000,"contributors":[{"name":"Ken Chau","email":"kchau@microsoft.com","commits":1,"url":"https://github.com/Ken Chau"}]},"filePathRelative":"cli/sync.md"}');export{h as comp,p as data}; diff --git a/assets/timeline-definition-QPOBMAB2-BKUeN9AK.js b/assets/timeline-definition-QPOBMAB2-XvDspPyg.js similarity index 99% rename from assets/timeline-definition-QPOBMAB2-BKUeN9AK.js rename to assets/timeline-definition-QPOBMAB2-XvDspPyg.js index 14e28fc9..ab6b3f7d 100644 --- a/assets/timeline-definition-QPOBMAB2-BKUeN9AK.js +++ b/assets/timeline-definition-QPOBMAB2-XvDspPyg.js @@ -1,4 +1,4 @@ -import{m as a,b5 as bt,b6 as kt,v as _t,Q as vt,J as S,b as B,b7 as wt,b8 as St,b9 as Et,ba as $t,ac as nt}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var Z=function(){var i=a(function(f,r,o,d){for(o=o||{},d=f.length;d--;o[f[d]]=r);return o},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],s=[1,10],n=[1,11],h=[1,12],c=[1,13],y=[1,16],p=[1,17],m={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:a(function(f,r,o,d,u,l,x){var _=l.length-1;switch(u){case 1:return l[_-1];case 2:this.$=[];break;case 3:l[_-1].push(l[_]),this.$=l[_-1];break;case 4:case 5:this.$=l[_];break;case 6:case 7:this.$=[];break;case 8:d.getCommonDb().setDiagramTitle(l[_].substr(6)),this.$=l[_].substr(6);break;case 9:this.$=l[_].trim(),d.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=l[_].trim(),d.getCommonDb().setAccDescription(this.$);break;case 12:d.addSection(l[_].substr(8)),this.$=l[_].substr(8);break;case 15:d.addTask(l[_],0,""),this.$=l[_];break;case 16:d.addEvent(l[_].substr(2)),this.$=l[_];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},i(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:s,14:n,16:h,17:c,18:14,19:15,20:y,21:p},i(t,[2,7],{1:[2,1]}),i(t,[2,3]),{9:18,11:e,12:s,14:n,16:h,17:c,18:14,19:15,20:y,21:p},i(t,[2,5]),i(t,[2,6]),i(t,[2,8]),{13:[1,19]},{15:[1,20]},i(t,[2,11]),i(t,[2,12]),i(t,[2,13]),i(t,[2,14]),i(t,[2,15]),i(t,[2,16]),i(t,[2,4]),i(t,[2,9]),i(t,[2,10])],defaultActions:{},parseError:a(function(f,r){if(r.recoverable)this.trace(f);else{var o=new Error(f);throw o.hash=r,o}},"parseError"),parse:a(function(f){var r=this,o=[0],d=[],u=[null],l=[],x=this.table,_="",T=0,L=0,j=0,R=2,z=1,C=l.slice.call(arguments,1),g=Object.create(this.lexer),v={yy:{}};for(var I in this.yy)Object.prototype.hasOwnProperty.call(this.yy,I)&&(v.yy[I]=this.yy[I]);g.setInput(f,v.yy),v.yy.lexer=g,v.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var A=g.yylloc;l.push(A);var F=g.options&&g.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function q(E){o.length=o.length-2*E,u.length=u.length-E,l.length=l.length-E}a(q,"popStack");function et(){var E;return E=d.pop()||g.lex()||z,typeof E!="number"&&(E instanceof Array&&(d=E,E=d.pop()),E=r.symbols_[E]||E),E}a(et,"lex");for(var w,Y,P,$,qt,Q,O={},W,N,it,V;;){if(P=o[o.length-1],this.defaultActions[P]?$=this.defaultActions[P]:((w===null||typeof w>"u")&&(w=et()),$=x[P]&&x[P][w]),typeof $>"u"||!$.length||!$[0]){var X="";V=[];for(W in x[P])this.terminals_[W]&&W>R&&V.push("'"+this.terminals_[W]+"'");g.showPosition?X="Parse error on line "+(T+1)+`: +import{m as a,b5 as bt,b6 as kt,v as _t,Q as vt,J as S,b as B,b7 as wt,b8 as St,b9 as Et,ba as $t,ac as nt}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var Z=function(){var i=a(function(f,r,o,d){for(o=o||{},d=f.length;d--;o[f[d]]=r);return o},"o"),t=[6,8,10,11,12,14,16,17,20,21],e=[1,9],s=[1,10],n=[1,11],h=[1,12],c=[1,13],y=[1,16],p=[1,17],m={trace:a(function(){},"trace"),yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:a(function(f,r,o,d,u,l,x){var _=l.length-1;switch(u){case 1:return l[_-1];case 2:this.$=[];break;case 3:l[_-1].push(l[_]),this.$=l[_-1];break;case 4:case 5:this.$=l[_];break;case 6:case 7:this.$=[];break;case 8:d.getCommonDb().setDiagramTitle(l[_].substr(6)),this.$=l[_].substr(6);break;case 9:this.$=l[_].trim(),d.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=l[_].trim(),d.getCommonDb().setAccDescription(this.$);break;case 12:d.addSection(l[_].substr(8)),this.$=l[_].substr(8);break;case 15:d.addTask(l[_],0,""),this.$=l[_];break;case 16:d.addEvent(l[_].substr(2)),this.$=l[_];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},i(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:e,12:s,14:n,16:h,17:c,18:14,19:15,20:y,21:p},i(t,[2,7],{1:[2,1]}),i(t,[2,3]),{9:18,11:e,12:s,14:n,16:h,17:c,18:14,19:15,20:y,21:p},i(t,[2,5]),i(t,[2,6]),i(t,[2,8]),{13:[1,19]},{15:[1,20]},i(t,[2,11]),i(t,[2,12]),i(t,[2,13]),i(t,[2,14]),i(t,[2,15]),i(t,[2,16]),i(t,[2,4]),i(t,[2,9]),i(t,[2,10])],defaultActions:{},parseError:a(function(f,r){if(r.recoverable)this.trace(f);else{var o=new Error(f);throw o.hash=r,o}},"parseError"),parse:a(function(f){var r=this,o=[0],d=[],u=[null],l=[],x=this.table,_="",T=0,L=0,j=0,R=2,z=1,C=l.slice.call(arguments,1),g=Object.create(this.lexer),v={yy:{}};for(var I in this.yy)Object.prototype.hasOwnProperty.call(this.yy,I)&&(v.yy[I]=this.yy[I]);g.setInput(f,v.yy),v.yy.lexer=g,v.yy.parser=this,typeof g.yylloc>"u"&&(g.yylloc={});var A=g.yylloc;l.push(A);var F=g.options&&g.options.ranges;typeof v.yy.parseError=="function"?this.parseError=v.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function q(E){o.length=o.length-2*E,u.length=u.length-E,l.length=l.length-E}a(q,"popStack");function et(){var E;return E=d.pop()||g.lex()||z,typeof E!="number"&&(E instanceof Array&&(d=E,E=d.pop()),E=r.symbols_[E]||E),E}a(et,"lex");for(var w,Y,P,$,qt,Q,O={},W,N,it,V;;){if(P=o[o.length-1],this.defaultActions[P]?$=this.defaultActions[P]:((w===null||typeof w>"u")&&(w=et()),$=x[P]&&x[P][w]),typeof $>"u"||!$.length||!$[0]){var X="";V=[];for(W in x[P])this.terminals_[W]&&W>R&&V.push("'"+this.terminals_[W]+"'");g.showPosition?X="Parse error on line "+(T+1)+`: `+g.showPosition()+` Expecting `+V.join(", ")+", got '"+(this.terminals_[w]||w)+"'":X="Parse error on line "+(T+1)+": Unexpected "+(w==z?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(X,{text:g.match,token:this.terminals_[w]||w,line:g.yylineno,loc:A,expected:V})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+P+", token: "+w);switch($[0]){case 1:o.push(w),u.push(g.yytext),l.push(g.yylloc),o.push($[1]),w=null,Y?(w=Y,Y=null):(L=g.yyleng,_=g.yytext,T=g.yylineno,A=g.yylloc,j>0);break;case 2:if(N=this.productions_[$[1]][1],O.$=u[u.length-N],O._$={first_line:l[l.length-(N||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(N||1)].first_column,last_column:l[l.length-1].last_column},F&&(O._$.range=[l[l.length-(N||1)].range[0],l[l.length-1].range[1]]),Q=this.performAction.apply(O,[_,L,T,v.yy,$[1],u,l].concat(C)),typeof Q<"u")return Q;N&&(o=o.slice(0,-1*N*2),u=u.slice(0,-1*N),l=l.slice(0,-1*N)),o.push(this.productions_[$[1]][0]),u.push(O.$),l.push(O._$),it=x[o[o.length-2]][o[o.length-1]],o.push(it);break;case 3:return!0}}return!0},"parse")},b=function(){var f={EOF:1,parseError:a(function(r,o){if(this.yy.parser)this.yy.parser.parseError(r,o);else throw new Error(r)},"parseError"),setInput:a(function(r,o){return this.yy=o||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:a(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var o=r.match(/(?:\r\n?|\n).*/g);return o?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:a(function(r){var o=r.length,d=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-o),this.offset-=o;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),d.length-1&&(this.yylineno-=d.length-1);var l=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:d?(d.length===u.length?this.yylloc.first_column:0)+u[u.length-d.length].length-d[0].length:this.yylloc.first_column-o},this.options.ranges&&(this.yylloc.range=[l[0],l[0]+this.yyleng-o]),this.yyleng=this.yytext.length,this},"unput"),more:a(function(){return this._more=!0,this},"more"),reject:a(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:a(function(r){this.unput(this.match.slice(r))},"less"),pastInput:a(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:a(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:a(function(){var r=this.pastInput(),o=new Array(r.length+1).join("-");return r+this.upcomingInput()+` diff --git a/assets/xychartDiagram-MWHWHLMU-DkqpAe_J.js b/assets/xychartDiagram-MWHWHLMU-DLhXyo9i.js similarity index 99% rename from assets/xychartDiagram-MWHWHLMU-DkqpAe_J.js rename to assets/xychartDiagram-MWHWHLMU-DLhXyo9i.js index 72004a30..7021dbcb 100644 --- a/assets/xychartDiagram-MWHWHLMU-DkqpAe_J.js +++ b/assets/xychartDiagram-MWHWHLMU-DLhXyo9i.js @@ -1,4 +1,4 @@ -import{m as h,af as ci,ag as Bt,J as Ot,U as Mt,j as zt,ae as gi,H as bt,o as Ft,n as ui,v as xi,a8 as di,k as pi,N as fi,A as Nt,w as yi,B as mi,L as bi,M as Ai,F as Si}from"./mermaid.esm.min-DnxZBvzk.js";import"./app-DQKFxOg7.js";var pt=function(){var s=h(function(B,o,l,c){for(l=l||{},c=B.length;c--;l[B[c]]=o);return l},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],e=[1,3],a=[1,5],g=[1,6],u=[1,7],y=[1,5,10,12,14,16,18,19,21,23,34,35,36],m=[1,25],R=[1,26],k=[1,28],L=[1,29],$=[1,30],I=[1,31],_=[1,32],v=[1,33],p=[1,34],S=[1,35],r=[1,36],D=[1,37],J=[1,43],Lt=[1,42],Dt=[1,47],it=[1,50],b=[1,10,12,14,16,18,19,21,23,34,35,36],rt=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],P=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],Pt=[1,64],lt={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:h(function(B,o,l,c,f,n,C){var x=n.length-1;switch(f){case 5:c.setOrientation(n[x]);break;case 9:c.setDiagramTitle(n[x].text.trim());break;case 12:c.setLineData({text:"",type:"text"},n[x]);break;case 13:c.setLineData(n[x-1],n[x]);break;case 14:c.setBarData({text:"",type:"text"},n[x]);break;case 15:c.setBarData(n[x-1],n[x]);break;case 16:this.$=n[x].trim(),c.setAccTitle(this.$);break;case 17:case 18:this.$=n[x].trim(),c.setAccDescription(this.$);break;case 19:this.$=n[x-1];break;case 20:this.$=[Number(n[x-2]),...n[x]];break;case 21:this.$=[Number(n[x])];break;case 22:c.setXAxisTitle(n[x]);break;case 23:c.setXAxisTitle(n[x-1]);break;case 24:c.setXAxisTitle({type:"text",text:""});break;case 25:c.setXAxisBand(n[x]);break;case 26:c.setXAxisRangeData(Number(n[x-2]),Number(n[x]));break;case 27:this.$=n[x-1];break;case 28:this.$=[n[x-2],...n[x]];break;case 29:this.$=[n[x]];break;case 30:c.setYAxisTitle(n[x]);break;case 31:c.setYAxisTitle(n[x-1]);break;case 32:c.setYAxisTitle({type:"text",text:""});break;case 33:c.setYAxisRangeData(Number(n[x-2]),Number(n[x]));break;case 37:this.$={text:n[x],type:"text"};break;case 38:this.$={text:n[x],type:"text"};break;case 39:this.$={text:n[x],type:"markdown"};break;case 40:this.$=n[x];break;case 41:this.$=n[x-1]+""+n[x];break}},"anonymous"),table:[s(t,i,{3:1,4:2,7:4,5:e,34:a,35:g,36:u}),{1:[3]},s(t,i,{4:2,7:4,3:8,5:e,34:a,35:g,36:u}),s(t,i,{4:2,7:4,6:9,3:10,5:e,8:[1,11],34:a,35:g,36:u}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},s(y,[2,34]),s(y,[2,35]),s(y,[2,36]),{1:[2,1]},s(t,i,{4:2,7:4,3:21,5:e,34:a,35:g,36:u}),{1:[2,3]},s(y,[2,5]),s(t,[2,7],{4:22,34:a,35:g,36:u}),{11:23,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{11:39,13:38,24:J,27:Lt,29:40,30:41,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{11:45,15:44,27:Dt,33:46,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{11:49,17:48,24:it,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{11:52,17:51,24:it,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{20:[1,53]},{22:[1,54]},s(b,[2,18]),{1:[2,2]},s(b,[2,8]),s(b,[2,9]),s(rt,[2,37],{40:55,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D}),s(rt,[2,38]),s(rt,[2,39]),s(P,[2,40]),s(P,[2,42]),s(P,[2,43]),s(P,[2,44]),s(P,[2,45]),s(P,[2,46]),s(P,[2,47]),s(P,[2,48]),s(P,[2,49]),s(P,[2,50]),s(P,[2,51]),s(b,[2,10]),s(b,[2,22],{30:41,29:56,24:J,27:Lt}),s(b,[2,24]),s(b,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},s(b,[2,11]),s(b,[2,30],{33:60,27:Dt}),s(b,[2,32]),{31:[1,61]},s(b,[2,12]),{17:62,24:it},{25:63,27:Pt},s(b,[2,14]),{17:65,24:it},s(b,[2,16]),s(b,[2,17]),s(P,[2,41]),s(b,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},s(b,[2,31]),{27:[1,69]},s(b,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},s(b,[2,15]),s(b,[2,26]),s(b,[2,27]),{11:59,32:72,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},s(b,[2,33]),s(b,[2,19]),{25:73,27:Pt},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:h(function(B,o){if(o.recoverable)this.trace(B);else{var l=new Error(B);throw l.hash=o,l}},"parseError"),parse:h(function(B){var o=this,l=[0],c=[],f=[null],n=[],C=this.table,x="",st=0,Et=0,ni=0,hi=2,vt=1,oi=n.slice.call(arguments,1),A=Object.create(this.lexer),z={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(z.yy[ct]=this.yy[ct]);A.setInput(B,z.yy),z.yy.lexer=A,z.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var gt=A.yylloc;n.push(gt);var ri=A.options&&A.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function li(T){l.length=l.length-2*T,f.length=f.length-T,n.length=n.length-T}h(li,"popStack");function $t(){var T;return T=c.pop()||A.lex()||vt,typeof T!="number"&&(T instanceof Array&&(c=T,T=c.pop()),T=o.symbols_[T]||T),T}h($t,"lex");for(var w,ut,O,E,Bi,xt,F={},at,M,It,nt;;){if(O=l[l.length-1],this.defaultActions[O]?E=this.defaultActions[O]:((w===null||typeof w>"u")&&(w=$t()),E=C[O]&&C[O][w]),typeof E>"u"||!E.length||!E[0]){var dt="";nt=[];for(at in C[O])this.terminals_[at]&&at>hi&&nt.push("'"+this.terminals_[at]+"'");A.showPosition?dt="Parse error on line "+(st+1)+`: +import{m as h,af as ci,ag as Bt,J as Ot,U as Mt,j as zt,ae as gi,H as bt,o as Ft,n as ui,v as xi,a8 as di,k as pi,N as fi,A as Nt,w as yi,B as mi,L as bi,M as Ai,F as Si}from"./mermaid.esm.min-Bq5H-fqC.js";import"./app-3oaVMpRs.js";var pt=function(){var s=h(function(B,o,l,c){for(l=l||{},c=B.length;c--;l[B[c]]=o);return l},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],e=[1,3],a=[1,5],g=[1,6],u=[1,7],y=[1,5,10,12,14,16,18,19,21,23,34,35,36],m=[1,25],R=[1,26],k=[1,28],L=[1,29],$=[1,30],I=[1,31],_=[1,32],v=[1,33],p=[1,34],S=[1,35],r=[1,36],D=[1,37],J=[1,43],Lt=[1,42],Dt=[1,47],it=[1,50],b=[1,10,12,14,16,18,19,21,23,34,35,36],rt=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36],P=[1,10,12,14,16,18,19,21,23,24,26,27,28,34,35,36,41,42,43,44,45,46,47,48,49,50],Pt=[1,64],lt={trace:h(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,commaSeparatedNumbers:25,SQUARE_BRACES_END:26,NUMBER_WITH_DECIMAL:27,COMMA:28,xAxisData:29,bandData:30,ARROW_DELIMITER:31,commaSeparatedTexts:32,yAxisData:33,NEWLINE:34,SEMI:35,EOF:36,alphaNum:37,STR:38,MD_STR:39,alphaNumToken:40,AMP:41,NUM:42,ALPHA:43,PLUS:44,EQUALS:45,MULT:46,DOT:47,BRKT:48,MINUS:49,UNDERSCORE:50,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",27:"NUMBER_WITH_DECIMAL",28:"COMMA",31:"ARROW_DELIMITER",34:"NEWLINE",35:"SEMI",36:"EOF",38:"STR",39:"MD_STR",41:"AMP",42:"NUM",43:"ALPHA",44:"PLUS",45:"EQUALS",46:"MULT",47:"DOT",48:"BRKT",49:"MINUS",50:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[13,1],[13,2],[13,1],[29,1],[29,3],[30,3],[32,3],[32,1],[15,1],[15,2],[15,1],[33,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[37,1],[37,2],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1],[40,1]],performAction:h(function(B,o,l,c,f,n,C){var x=n.length-1;switch(f){case 5:c.setOrientation(n[x]);break;case 9:c.setDiagramTitle(n[x].text.trim());break;case 12:c.setLineData({text:"",type:"text"},n[x]);break;case 13:c.setLineData(n[x-1],n[x]);break;case 14:c.setBarData({text:"",type:"text"},n[x]);break;case 15:c.setBarData(n[x-1],n[x]);break;case 16:this.$=n[x].trim(),c.setAccTitle(this.$);break;case 17:case 18:this.$=n[x].trim(),c.setAccDescription(this.$);break;case 19:this.$=n[x-1];break;case 20:this.$=[Number(n[x-2]),...n[x]];break;case 21:this.$=[Number(n[x])];break;case 22:c.setXAxisTitle(n[x]);break;case 23:c.setXAxisTitle(n[x-1]);break;case 24:c.setXAxisTitle({type:"text",text:""});break;case 25:c.setXAxisBand(n[x]);break;case 26:c.setXAxisRangeData(Number(n[x-2]),Number(n[x]));break;case 27:this.$=n[x-1];break;case 28:this.$=[n[x-2],...n[x]];break;case 29:this.$=[n[x]];break;case 30:c.setYAxisTitle(n[x]);break;case 31:c.setYAxisTitle(n[x-1]);break;case 32:c.setYAxisTitle({type:"text",text:""});break;case 33:c.setYAxisRangeData(Number(n[x-2]),Number(n[x]));break;case 37:this.$={text:n[x],type:"text"};break;case 38:this.$={text:n[x],type:"text"};break;case 39:this.$={text:n[x],type:"markdown"};break;case 40:this.$=n[x];break;case 41:this.$=n[x-1]+""+n[x];break}},"anonymous"),table:[s(t,i,{3:1,4:2,7:4,5:e,34:a,35:g,36:u}),{1:[3]},s(t,i,{4:2,7:4,3:8,5:e,34:a,35:g,36:u}),s(t,i,{4:2,7:4,6:9,3:10,5:e,8:[1,11],34:a,35:g,36:u}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},s(y,[2,34]),s(y,[2,35]),s(y,[2,36]),{1:[2,1]},s(t,i,{4:2,7:4,3:21,5:e,34:a,35:g,36:u}),{1:[2,3]},s(y,[2,5]),s(t,[2,7],{4:22,34:a,35:g,36:u}),{11:23,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{11:39,13:38,24:J,27:Lt,29:40,30:41,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{11:45,15:44,27:Dt,33:46,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{11:49,17:48,24:it,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{11:52,17:51,24:it,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},{20:[1,53]},{22:[1,54]},s(b,[2,18]),{1:[2,2]},s(b,[2,8]),s(b,[2,9]),s(rt,[2,37],{40:55,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D}),s(rt,[2,38]),s(rt,[2,39]),s(P,[2,40]),s(P,[2,42]),s(P,[2,43]),s(P,[2,44]),s(P,[2,45]),s(P,[2,46]),s(P,[2,47]),s(P,[2,48]),s(P,[2,49]),s(P,[2,50]),s(P,[2,51]),s(b,[2,10]),s(b,[2,22],{30:41,29:56,24:J,27:Lt}),s(b,[2,24]),s(b,[2,25]),{31:[1,57]},{11:59,32:58,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},s(b,[2,11]),s(b,[2,30],{33:60,27:Dt}),s(b,[2,32]),{31:[1,61]},s(b,[2,12]),{17:62,24:it},{25:63,27:Pt},s(b,[2,14]),{17:65,24:it},s(b,[2,16]),s(b,[2,17]),s(P,[2,41]),s(b,[2,23]),{27:[1,66]},{26:[1,67]},{26:[2,29],28:[1,68]},s(b,[2,31]),{27:[1,69]},s(b,[2,13]),{26:[1,70]},{26:[2,21],28:[1,71]},s(b,[2,15]),s(b,[2,26]),s(b,[2,27]),{11:59,32:72,37:24,38:m,39:R,40:27,41:k,42:L,43:$,44:I,45:_,46:v,47:p,48:S,49:r,50:D},s(b,[2,33]),s(b,[2,19]),{25:73,27:Pt},{26:[2,28]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],72:[2,28],73:[2,20]},parseError:h(function(B,o){if(o.recoverable)this.trace(B);else{var l=new Error(B);throw l.hash=o,l}},"parseError"),parse:h(function(B){var o=this,l=[0],c=[],f=[null],n=[],C=this.table,x="",st=0,Et=0,ni=0,hi=2,vt=1,oi=n.slice.call(arguments,1),A=Object.create(this.lexer),z={yy:{}};for(var ct in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ct)&&(z.yy[ct]=this.yy[ct]);A.setInput(B,z.yy),z.yy.lexer=A,z.yy.parser=this,typeof A.yylloc>"u"&&(A.yylloc={});var gt=A.yylloc;n.push(gt);var ri=A.options&&A.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function li(T){l.length=l.length-2*T,f.length=f.length-T,n.length=n.length-T}h(li,"popStack");function $t(){var T;return T=c.pop()||A.lex()||vt,typeof T!="number"&&(T instanceof Array&&(c=T,T=c.pop()),T=o.symbols_[T]||T),T}h($t,"lex");for(var w,ut,O,E,Bi,xt,F={},at,M,It,nt;;){if(O=l[l.length-1],this.defaultActions[O]?E=this.defaultActions[O]:((w===null||typeof w>"u")&&(w=$t()),E=C[O]&&C[O][w]),typeof E>"u"||!E.length||!E[0]){var dt="";nt=[];for(at in C[O])this.terminals_[at]&&at>hi&&nt.push("'"+this.terminals_[at]+"'");A.showPosition?dt="Parse error on line "+(st+1)+`: `+A.showPosition()+` Expecting `+nt.join(", ")+", got '"+(this.terminals_[w]||w)+"'":dt="Parse error on line "+(st+1)+": Unexpected "+(w==vt?"end of input":"'"+(this.terminals_[w]||w)+"'"),this.parseError(dt,{text:A.match,token:this.terminals_[w]||w,line:A.yylineno,loc:gt,expected:nt})}if(E[0]instanceof Array&&E.length>1)throw new Error("Parse Error: multiple actions possible at state: "+O+", token: "+w);switch(E[0]){case 1:l.push(w),f.push(A.yytext),n.push(A.yylloc),l.push(E[1]),w=null,ut?(w=ut,ut=null):(Et=A.yyleng,x=A.yytext,st=A.yylineno,gt=A.yylloc,ni>0);break;case 2:if(M=this.productions_[E[1]][1],F.$=f[f.length-M],F._$={first_line:n[n.length-(M||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(M||1)].first_column,last_column:n[n.length-1].last_column},ri&&(F._$.range=[n[n.length-(M||1)].range[0],n[n.length-1].range[1]]),xt=this.performAction.apply(F,[x,Et,st,z.yy,E[1],f,n].concat(oi)),typeof xt<"u")return xt;M&&(l=l.slice(0,-1*M*2),f=f.slice(0,-1*M),n=n.slice(0,-1*M)),l.push(this.productions_[E[1]][0]),f.push(F.$),n.push(F._$),It=C[l[l.length-2]][l[l.length-1]],l.push(It);break;case 3:return!0}}return!0},"parse")},ai=function(){var B={EOF:1,parseError:h(function(o,l){if(this.yy.parser)this.yy.parser.parseError(o,l);else throw new Error(o)},"parseError"),setInput:h(function(o,l){return this.yy=l||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:h(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var l=o.match(/(?:\r\n?|\n).*/g);return l?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:h(function(o){var l=o.length,c=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-l),this.offset-=l;var f=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var n=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===f.length?this.yylloc.first_column:0)+f[f.length-c.length].length-c[0].length:this.yylloc.first_column-l},this.options.ranges&&(this.yylloc.range=[n[0],n[0]+this.yyleng-l]),this.yyleng=this.yytext.length,this},"unput"),more:h(function(){return this._more=!0,this},"more"),reject:h(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true). `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:h(function(o){this.unput(this.match.slice(o))},"less"),pastInput:h(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:h(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:h(function(){var o=this.pastInput(),l=new Array(o.length+1).join("-");return o+this.upcomingInput()+` diff --git a/cli/bump.html b/cli/bump.html index a363f1fe..3a6a820e 100644 --- a/cli/bump.html +++ b/cli/bump.html @@ -33,12 +33,12 @@ bump | beachball - - + +
- +

Options

General options also apply for this command.

OptionDescription
--keep-change-filesdon't delete the change files from disk after bumping
--prerelease-prefixprerelease prefix (e.g. beta) for packages that will receive a prerelease bump
Last Updated:
Contributors: Ken Chau
+ diff --git a/cli/change.html b/cli/change.html index 97b48cf6..b5e6c3f8 100644 --- a/cli/change.html +++ b/cli/change.html @@ -33,8 +33,8 @@ change | beachball - - + +
- +
Last Updated:
Contributors: Ken Chau
+ diff --git a/cli/check.html b/cli/check.html index daca31df..d026fb34 100644 --- a/cli/check.html +++ b/cli/check.html @@ -33,12 +33,12 @@ check | beachball - - + +
- +

This command also checks for misconfigurations that would result in problems when attempting to publish.

Options

Options

General options also apply for this command.

OptionDefaultDescription
--changehint'Run "beachball change" to create a change file'Hint message if the developer forgot to add a change file.
--disallow-deleted-change-filesfalseverifies that no change files were deleted between head and target branch

Where should check be run?

As a step in the PR review gate

See the change files page for how to set this up.

While running beachball check as a pre-push hook may seem appealing, it has some downsides: it will substantially slow down running git push and could be annoying when pushing work-in-progress changes to remote branches. Our experience with repos enabling this hook is that it will quickly be removed due to developer feedback.

If you want to try this, take a look at this documentation about git hooks.

Last Updated:
Contributors: Ken Chau
+ diff --git a/cli/options.html b/cli/options.html index e9bd9382..f33636ba 100644 --- a/cli/options.html +++ b/cli/options.html @@ -33,11 +33,11 @@ Common options | beachball - - + + -
- +
+ diff --git a/cli/publish.html b/cli/publish.html index 918edd9d..507766a1 100644 --- a/cli/publish.html +++ b/cli/publish.html @@ -33,11 +33,11 @@ publish | beachball - - + + -
- +
+ diff --git a/cli/sync.html b/cli/sync.html index ffc4510f..2b7c0056 100644 --- a/cli/sync.html +++ b/cli/sync.html @@ -33,11 +33,11 @@ sync | beachball - - + + -
- +
+ diff --git a/concepts/bump-algorithm.html b/concepts/bump-algorithm.html index 9475a32a..a947aa12 100644 --- a/concepts/bump-algorithm.html +++ b/concepts/bump-algorithm.html @@ -33,8 +33,8 @@ Bump algorithm | beachball - - + +
- +

Grouped bumping

In the above example, fooUtils, styleUtils, dateUtils all belong to a utils group. Whenever one of those packages get bumped, the entire group would get bumped by the same change type. We can illustrate it like so:

NOTE: the group get bumped together even if it is part of a dependent package bump. In other words, package bumps propagate their changes via dependent package bumps as well as group package bumps.

Last Updated:
Contributors: Ken Chau
+ diff --git a/concepts/change-files.html b/concepts/change-files.html index 75df0020..cd8d37cb 100644 --- a/concepts/change-files.html +++ b/concepts/change-files.html @@ -33,8 +33,8 @@ Change files | beachball - - + +
- +

An alternative if desired is to define a separate required workflow/pipeline which skips the main install step and only runs npx beachball check. This has the advantage of providing faster validation and not blocking the main PR build (and hiding any later build/test/lint errors) simply for missing change files.

To prevent change files from being required for changes that will never affect the published package (such as tests, snapshots, or certain config files), use the ignorePatterns option.

Note: In the past, it was necessary to check out the repo's whole history for beachball check to work properly (such as setting fetch-depth: 0 in actions/checkout for GitHub workflows). This should no longer be needed because if beachball detects a shallow clone, it will automatically fetch more history, and exit with an error if the current branch and target branch don't appear to share history.

Last Updated:
Contributors: Ken Chau
+ diff --git a/concepts/ci-integration.html b/concepts/ci-integration.html index 78574ca1..0eae9673 100644 --- a/concepts/ci-integration.html +++ b/concepts/ci-integration.html @@ -33,8 +33,8 @@ CI integration | beachball - - + +
- +

Azure Repos + Azure Pipelines

This should be very similar to the GitHub version, aside from possibly the authentication method. You could potentially use personal access tokens for git and npm feed authentication (similar to above), or other methods are available which aren't currently covered here.

If you're publishing to a private Azure Artifacts npm feed, be sure to set registry in the beachball config as described above.

Last Updated:
Contributors: Ken Chau
+ diff --git a/concepts/groups.html b/concepts/groups.html index 70be3a2a..c40f8c8c 100644 --- a/concepts/groups.html +++ b/concepts/groups.html @@ -33,8 +33,8 @@ Groups | beachball - - + +
- +
Last Updated:
Contributors: Ken Chau
+ diff --git a/index.html b/index.html index 90f539f7..2eb65245 100644 --- a/index.html +++ b/index.html @@ -33,11 +33,11 @@ beachball - - + +
- + diff --git a/overview/configuration.html b/overview/configuration.html index 16db07ca..eafa2acc 100644 --- a/overview/configuration.html +++ b/overview/configuration.html @@ -33,8 +33,8 @@ Configuration | beachball - - + +
- +

On the command line, this could be specified as --scope 'packages/foo/*' --scope '!packages/foo/bar' (don't forget the quotes!).

Note: if you have multiple sets of packages in the repo with different scopes, groupChanges is not supported.

Determining the target branch and remote

The branch option is the official target branch to compare against when determining changes. Usually it should be a name only, though you can also include a remote. The default is the system default branch name (main or master) and the official remote.

To let beachball reliably determine the official remote, it's recommended to specify repository in the repo root package.json. This allows matching via URL regardless of what the user decided to call the remote.

If repository isn't specified and branch doesn't include a remote, the fallback is upstream if defined, origin if defined, or the first defined remote.

Last Updated:
Contributors: Ken Chau
+ diff --git a/overview/getting-started.html b/overview/getting-started.html index cbd3e7de..7c5925c3 100644 --- a/overview/getting-started.html +++ b/overview/getting-started.html @@ -33,11 +33,11 @@ Getting started | beachball - - + + -
- +
+ diff --git a/overview/installation.html b/overview/installation.html index 9c7a353b..0e73c3b1 100644 --- a/overview/installation.html +++ b/overview/installation.html @@ -33,8 +33,8 @@ Installation | beachball - - + +
- +

Local development workflow

After making and committing changes in a branch, run npm run change or yarn change to generate change files. See the change files page for more details.

CI integration

There are two parts to CI integration with beachball:

  1. Add a PR build step to call beachball check to validate that change files are included.
  2. Add a release build step to call beachball publish to publish to npm and push back to git.
Last Updated:
Contributors: Ken Chau
+