@staticbolt/docs 0.0.1-beta.3 → 0.0.1-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -19
- package/lib/index.d.mts +62 -35
- package/lib/mermaid/abnfDiagram-PAR5IXJI-Ibbj5eGO.js +1 -0
- package/lib/mermaid/architecture-7GRP2DOG-M7G3SWCO-BJAoKIRD.js +1 -0
- package/lib/mermaid/architectureDiagram-2PNWDENW-CI3fLWIN.js +36 -0
- package/lib/mermaid/blockDiagram-PUWGUBOA-DAfWpjz7.js +129 -0
- package/lib/mermaid/c4Diagram-3NLNHZP5-at-f4FDi.js +38 -0
- package/lib/mermaid/chunk-2NMSUPJH-DuxvnX1p.js +1 -0
- package/lib/mermaid/chunk-32MCUW2P-D8U-Oy6M.js +206 -0
- package/lib/mermaid/chunk-3NPNU5GP-8WYybYAh.js +1 -0
- package/lib/mermaid/chunk-3SMGFRGC-C0WC5bhP.js +1 -0
- package/lib/mermaid/chunk-4CAJECRU-C_QnaDal.js +15 -0
- package/lib/mermaid/chunk-4OADUZ5Q-DHE3k_pb.js +10 -0
- package/lib/mermaid/chunk-5IMINLNL-Cl3N81sR.js +1 -0
- package/lib/mermaid/chunk-5IQCK5RY-Df5Ppxew.js +3 -0
- package/lib/mermaid/chunk-5MVFYWFU-DgXg5u6h.js +1 -0
- package/lib/mermaid/chunk-AQ6EADP3-CZhslHi-.js +1 -0
- package/lib/mermaid/chunk-AZZRMDJM-y-xJBuMz.js +15 -0
- package/lib/mermaid/chunk-CLS4B6BI-BRLlisnG.js +168 -0
- package/lib/mermaid/chunk-DZP67EKU-9RpG5Rdc.js +70 -0
- package/lib/mermaid/chunk-EICP7K5X-8YS1Gtlr.js +1 -0
- package/lib/mermaid/chunk-GDY2UAB4-QtXfmDIW.js +1 -0
- package/lib/mermaid/chunk-H7VHZCWX-CwFRFlEn.js +1 -0
- package/lib/mermaid/chunk-IJBDOHL6-CgcssvZb.js +1 -0
- package/lib/mermaid/chunk-JFFVMJIA-Cx1_ZSMR.js +1 -0
- package/lib/mermaid/chunk-JQRUD6KW-Dbva2Z17.js +1 -0
- package/lib/mermaid/chunk-JZGDI5JK-BspJQ1vQ.js +1 -0
- package/lib/mermaid/chunk-KD6SPIPN-4bKl37hM.js +2 -0
- package/lib/mermaid/chunk-NF366YI6-D1lnbapv.js +231 -0
- package/lib/mermaid/chunk-NUDPKBEF-CL0e9XiQ.js +34 -0
- package/lib/mermaid/chunk-OJINMHTS-rKnCIFV0.js +1 -0
- package/lib/mermaid/chunk-Q6NGPIAH-CM9NYxWM.js +2 -0
- package/lib/mermaid/chunk-QJSWEUOL-kvKBktmc.js +133 -0
- package/lib/mermaid/chunk-R7JDMUKV-CSyCOfYj.js +1 -0
- package/lib/mermaid/chunk-RCXAM2GK-BeKcutEV.js +1 -0
- package/lib/mermaid/chunk-RT4MAWR3-Cv_8LyN5.js +1 -0
- package/lib/mermaid/chunk-SFMINX4W-BW2NSwFJ.js +1 -0
- package/lib/mermaid/chunk-SLDQ463B-D15xTdNW.js +88 -0
- package/lib/mermaid/chunk-STOV2HOB-GnExfzIX.js +1 -0
- package/lib/mermaid/chunk-T5OCTHI4-DdZvN-9i.js +1 -0
- package/lib/mermaid/chunk-TCEHX7R3-BXjgPiQF.js +1 -0
- package/lib/mermaid/chunk-VQC2EELJ-sGo2yn97.js +1 -0
- package/lib/mermaid/chunk-VRZKL3EH-BzaZ6KlD.js +1 -0
- package/lib/mermaid/chunk-VTHDQ7BV-BqUEu5Ml.js +1 -0
- package/lib/mermaid/chunk-VY2OSTJR-BYk2nUI_.js +2 -0
- package/lib/mermaid/chunk-WUBWJARI-Z8MI6quX.js +1 -0
- package/lib/mermaid/chunk-YBMQ5JGJ-DlZ1nCKo.js +2 -0
- package/lib/mermaid/chunk-YDMLL4PJ-BHgx6nXf.js +1 -0
- package/lib/mermaid/chunk-Z6V44ARX-CWGOZvke.js +62 -0
- package/lib/mermaid/chunk-ZJJ7VQJP-CZ7qJzqZ.js +340 -0
- package/lib/mermaid/chunk-ZNLK7HRR-B-wIfXTw.js +1 -0
- package/lib/mermaid/chunk-ZQN7UHIL-CNp35E78.js +1 -0
- package/lib/mermaid/chunk-ZS6VBONO-D-IFTJgn.js +175 -0
- package/lib/mermaid/chunk-ZUNWM646-DRKPDcQl.js +1 -0
- package/lib/mermaid/classDiagram-FGAMPOII-D1sf64vv.js +1 -0
- package/lib/mermaid/classDiagram-v2-AI5RJEK4-D1sf64vv.js +1 -0
- package/lib/mermaid/cose-bilkent-Q72C2OJ3-iX90typn.js +1 -0
- package/lib/mermaid/cynefin-OW5HDTMX-6OCTWOGG-6jDAiaRu.js +1 -0
- package/lib/mermaid/cynefinDiagram-2OOWUY4M-5ACKe62t.js +62 -0
- package/lib/mermaid/dagre-MPVFI544-BUrJjGwd.js +4 -0
- package/lib/mermaid/diagram-AE4NWXFW-B3Lkw8MS.js +24 -0
- package/lib/mermaid/diagram-BUJID5UG-p2ajLLgr.js +41 -0
- package/lib/mermaid/diagram-C44CZ5NI-CO0U1GX-.js +24 -0
- package/lib/mermaid/diagram-EYOLEXXS-DDoUndBV.js +30 -0
- package/lib/mermaid/diagram-P7B6PWOJ-C_dSNQyG.js +3 -0
- package/lib/mermaid/ebnfDiagram-FTPZ3PV6-DIwB5te0.js +1 -0
- package/lib/mermaid/erDiagram-H3ERR26V-CN4pCzIq.js +99 -0
- package/lib/mermaid/eventmodeling-NTZA5JFV-WKSWQHFS-Ruta89_N.js +1 -0
- package/lib/mermaid/flowDiagram-YHGXBVSY-CrSHzFwR.js +1 -0
- package/lib/mermaid/ganttDiagram-RWFTB7ED-C-rfEOn5.js +292 -0
- package/lib/mermaid/gitGraph-4MIJSDKK-JH2HKYUO-B76vihW5.js +1 -0
- package/lib/mermaid/gitGraphDiagram-MAR6GKOP-peAd7EYO.js +106 -0
- package/lib/mermaid/index.js +15 -0
- package/lib/mermaid/info-A6RAGUB7-3TX3OFWW-DykwOJ0Z.js +1 -0
- package/lib/mermaid/infoDiagram-LV547AFH-C46dOKDG.js +2 -0
- package/lib/mermaid/ishikawaDiagram-PUJQGNDS-DUmHXvO9.js +70 -0
- package/lib/mermaid/journeyDiagram-EW5QJT4W-CNAhUHsQ.js +139 -0
- package/lib/mermaid/kanban-definition-JSQERAZB-uOEoksHt.js +89 -0
- package/lib/mermaid/katex-CZ4GXH2S-CaEE-8Xf.js +257 -0
- package/lib/mermaid/mindmap-definition-VBJCLQLM-DZceCWFq.js +96 -0
- package/lib/mermaid/packet-AYTQ26CC-MKII6P3Y-XqJQX7OO.js +1 -0
- package/lib/mermaid/pegDiagram-7WILOQTJ-DMKA8PUf.js +1 -0
- package/lib/mermaid/pie-WAS4IAKB-6B4OPMJ5-DpoRuAye.js +1 -0
- package/lib/mermaid/pieDiagram-EFA7CBSB-BzO4xw8C.js +39 -0
- package/lib/mermaid/quadrantDiagram-WARVYA7P-DMQd2xKZ.js +7 -0
- package/lib/mermaid/radar-RG4KPBEZ-UPTR3XUL-BcwE6tO1.js +1 -0
- package/lib/mermaid/railroad-74A4TZTK-MEFUPFMS-B2Kwx3Uk.js +1 -0
- package/lib/mermaid/railroad-abnf-HS5TGJTU-R5YG2S5D-uBY3fYzG.js +1 -0
- package/lib/mermaid/railroad-ebnf-LZEXJU2U-G5QEX2L6-AhpzdU_3.js +1 -0
- package/lib/mermaid/railroad-peg-WCYAUIDC-H5I2ZRY2-CrsmP7-8.js +1 -0
- package/lib/mermaid/railroadDiagram-5NIQVNLQ-BGyZ628g.js +1 -0
- package/lib/mermaid/requirementDiagram-SXREGOKZ-CtCO7u9U.js +84 -0
- package/lib/mermaid/sankeyDiagram-VV74M2VP-CPXqmSKK.js +40 -0
- package/lib/mermaid/sequenceDiagram-52ZFIFDL-B1rSqWZp.js +162 -0
- package/lib/mermaid/sizeCapture-FGA5AGYP-BEqQzsxs.js +1 -0
- package/lib/mermaid/stateDiagram-3QAKPIVI-3KzWPUq3.js +1 -0
- package/lib/mermaid/stateDiagram-v2-HN2P4RDZ-dXASbYMy.js +1 -0
- package/lib/mermaid/swimlanes-QLVP42QD-CLpR90IY.js +1 -0
- package/lib/mermaid/swimlanesDiagram-JKPDBFCN-C2sgVGQE.js +8 -0
- package/lib/mermaid/timeline-definition-GS45XAXW-DLn0_RV5.js +120 -0
- package/lib/mermaid/treeView-Q6P3EWNA-ZRJGANNQ-u1bD1sZ1.js +1 -0
- package/lib/mermaid/treemap-WGGIJYW6-K64VN5AS-DrIaTBlj.js +1 -0
- package/lib/mermaid/vennDiagram-QIQU2ZRJ-FxbUp7-Z.js +34 -0
- package/lib/mermaid/wardley-WFR3VGLG-D67OWCCH-Br9hyuFK.js +1 -0
- package/lib/mermaid/wardleyDiagram-U6YNM66N-l-Kvr0Az.js +78 -0
- package/lib/mermaid/xychartDiagram-XJAZEDNM-O9bztWNh.js +7 -0
- package/lib/plugins.mjs +213 -162
- package/package.json +3 -10
- package/sources/parts/document/document.part.html +7 -7
- package/sources/parts/header/header.part.html +2 -2
- package/sources/parts/header/header.style.css +4 -2
- package/sources/parts/mermaid/mermaid.part.html +1 -1
- package/sources/parts/pagefind/pagefind.part.html +5 -3
- package/sources/parts/sidebar/sidebar.part.html +1 -1
- package/sources/parts/sidebar/sidebar.style.css +10 -0
- package/sources/parts/table-of-content/table-of-content-desktop.part.html +2 -2
- package/sources/scripts/mermaid.ts +3 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{t as e}from"./chunk-AQ6EADP3-CZhslHi-.js";var t=typeof global==`object`&&global&&global.Object===Object&&global,n=typeof self==`object`&&self&&self.Object===Object&&self,r=t||n||Function(`return this`)(),i=r.Symbol,a=Object.prototype,o=a.hasOwnProperty,s=a.toString,c=i?i.toStringTag:void 0;function l(e){var t=o.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch{}var i=s.call(e);return r&&(t?e[c]=n:delete e[c]),i}e(l,`getRawTag`);var u=l,d=Object.prototype.toString;function f(e){return d.call(e)}e(f,`objectToString`);var p=f,m=`[object Null]`,h=`[object Undefined]`,g=i?i.toStringTag:void 0;function ee(e){return e==null?e===void 0?h:m:g&&g in Object(e)?u(e):p(e)}e(ee,`baseGetTag`);var _=ee;function v(e){return typeof e==`object`&&!!e}e(v,`isObjectLike`);var y=v,te=`[object Symbol]`;function ne(e){return typeof e==`symbol`||y(e)&&_(e)==te}e(ne,`isSymbol`);var b=ne;function re(e,t){for(var n=-1,r=e==null?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i}e(re,`arrayMap`);var x=re,S=Array.isArray,ie=1/0,ae=i?i.prototype:void 0,oe=ae?ae.toString:void 0;function se(e){if(typeof e==`string`)return e;if(S(e))return x(e,se)+``;if(b(e))return oe?oe.call(e):``;var t=e+``;return t==`0`&&1/e==-ie?`-0`:t}e(se,`baseToString`);var ce=se,le=/\s/;function ue(e){for(var t=e.length;t--&&le.test(e.charAt(t)););return t}e(ue,`trimmedEndIndex`);var de=ue,fe=/^\s+/;function pe(e){return e&&e.slice(0,de(e)+1).replace(fe,``)}e(pe,`baseTrim`);var me=pe;function he(e){var t=typeof e;return e!=null&&(t==`object`||t==`function`)}e(he,`isObject`);var C=he,ge=NaN,_e=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,ye=/^0o[0-7]+$/i,be=parseInt;function xe(e){if(typeof e==`number`)return e;if(b(e))return ge;if(C(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=C(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=me(e);var n=ve.test(e);return n||ye.test(e)?be(e.slice(2),n?2:8):_e.test(e)?ge:+e}e(xe,`toNumber`);var Se=xe,Ce=1/0,we=17976931348623157e292;function Te(e){return e?(e=Se(e),e===Ce||e===-Ce?(e<0?-1:1)*we:e===e?e:0):e===0?e:0}e(Te,`toFinite`);var Ee=Te;function De(e){var t=Ee(e),n=t%1;return t===t?n?t-n:t:0}e(De,`toInteger`);var Oe=De;function ke(e){return e}e(ke,`identity`);var w=ke,Ae=`[object AsyncFunction]`,je=`[object Function]`,Me=`[object GeneratorFunction]`,Ne=`[object Proxy]`;function Pe(e){if(!C(e))return!1;var t=_(e);return t==je||t==Me||t==Ae||t==Ne}e(Pe,`isFunction`);var T=Pe,Fe=r[`__core-js_shared__`],Ie=(function(){var e=/[^.]+$/.exec(Fe&&Fe.keys&&Fe.keys.IE_PROTO||``);return e?`Symbol(src)_1.`+e:``})();function Le(e){return!!Ie&&Ie in e}e(Le,`isMasked`);var Re=Le,ze=Function.prototype.toString;function Be(e){if(e!=null){try{return ze.call(e)}catch{}try{return e+``}catch{}}return``}e(Be,`toSource`);var E=Be,Ve=/[\\^$.*+?()[\]{}|]/g,He=/^\[object .+?Constructor\]$/,Ue=Function.prototype,We=Object.prototype,Ge=Ue.toString,Ke=We.hasOwnProperty,qe=RegExp(`^`+Ge.call(Ke).replace(Ve,`\\$&`).replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,`$1.*?`)+`$`);function Je(e){return!C(e)||Re(e)?!1:(T(e)?qe:He).test(E(e))}e(Je,`baseIsNative`);var Ye=Je;function Xe(e,t){return e?.[t]}e(Xe,`getValue`);var Ze=Xe;function Qe(e,t){var n=Ze(e,t);return Ye(n)?n:void 0}e(Qe,`getNative`);var D=Qe,$e=D(r,`WeakMap`),et=Object.create,tt=(function(){function t(){}return e(t,`object`),function(e){if(!C(e))return{};if(et)return et(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}})();function nt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e(nt,`apply`);var rt=nt;function it(){}e(it,`noop`);var at=it;function ot(e,t){var n=-1,r=e.length;for(t||=Array(r);++n<r;)t[n]=e[n];return t}e(ot,`copyArray`);var st=ot,ct=800,lt=16,ut=Date.now;function dt(e){var t=0,n=0;return function(){var r=ut(),i=lt-(r-n);if(n=r,i>0){if(++t>=ct)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}e(dt,`shortOut`);var ft=dt;function pt(e){return function(){return e}}e(pt,`constant`);var O=pt,mt=(function(){try{var e=D(Object,`defineProperty`);return e({},``,{}),e}catch{}})(),ht=ft(mt?function(e,t){return mt(e,`toString`,{configurable:!0,enumerable:!1,value:O(t),writable:!0})}:w);function gt(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}e(gt,`arrayEach`);var _t=gt;function vt(e,t,n,r){for(var i=e.length,a=n+(r?1:-1);r?a--:++a<i;)if(t(e[a],a,e))return a;return-1}e(vt,`baseFindIndex`);var yt=vt;function bt(e){return e!==e}e(bt,`baseIsNaN`);var xt=bt;function St(e,t,n){for(var r=n-1,i=e.length;++r<i;)if(e[r]===t)return r;return-1}e(St,`strictIndexOf`);var Ct=St;function wt(e,t,n){return t===t?Ct(e,t,n):yt(e,xt,n)}e(wt,`baseIndexOf`);var Tt=wt;function Et(e,t){return!!(e!=null&&e.length)&&Tt(e,t,0)>-1}e(Et,`arrayIncludes`);var Dt=Et,Ot=9007199254740991,kt=/^(?:0|[1-9]\d*)$/;function At(e,t){var n=typeof e;return t??=Ot,!!t&&(n==`number`||n!=`symbol`&&kt.test(e))&&e>-1&&e%1==0&&e<t}e(At,`isIndex`);var jt=At;function Mt(e,t,n){t==`__proto__`&&mt?mt(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}e(Mt,`baseAssignValue`);var Nt=Mt;function Pt(e,t){return e===t||e!==e&&t!==t}e(Pt,`eq`);var k=Pt,Ft=Object.prototype.hasOwnProperty;function It(e,t,n){var r=e[t];(!(Ft.call(e,t)&&k(r,n))||n===void 0&&!(t in e))&&Nt(e,t,n)}e(It,`assignValue`);var Lt=It;function Rt(e,t,n,r){var i=!n;n||={};for(var a=-1,o=t.length;++a<o;){var s=t[a],c=r?r(n[s],e[s],s,n,e):void 0;c===void 0&&(c=e[s]),i?Nt(n,s,c):Lt(n,s,c)}return n}e(Rt,`copyObject`);var zt=Rt,Bt=Math.max;function Vt(e,t,n){return t=Bt(t===void 0?e.length-1:t,0),function(){for(var r=arguments,i=-1,a=Bt(r.length-t,0),o=Array(a);++i<a;)o[i]=r[t+i];i=-1;for(var s=Array(t+1);++i<t;)s[i]=r[i];return s[t]=n(o),rt(e,this,s)}}e(Vt,`overRest`);var Ht=Vt;function Ut(e,t){return ht(Ht(e,t,w),e+``)}e(Ut,`baseRest`);var Wt=Ut,Gt=9007199254740991;function Kt(e){return typeof e==`number`&&e>-1&&e%1==0&&e<=Gt}e(Kt,`isLength`);var qt=Kt;function Jt(e){return e!=null&&qt(e.length)&&!T(e)}e(Jt,`isArrayLike`);var A=Jt;function Yt(e,t,n){if(!C(n))return!1;var r=typeof t;return(r==`number`?A(n)&&jt(t,n.length):r==`string`&&t in n)?k(n[t],e):!1}e(Yt,`isIterateeCall`);var Xt=Yt;function Zt(e){return Wt(function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,o=i>2?n[2]:void 0;for(a=e.length>3&&typeof a==`function`?(i--,a):void 0,o&&Xt(n[0],n[1],o)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var s=n[r];s&&e(t,s,r,a)}return t})}e(Zt,`createAssigner`);var Qt=Zt,$t=Object.prototype;function en(e){var t=e&&e.constructor;return e===(typeof t==`function`&&t.prototype||$t)}e(en,`isPrototype`);var tn=en;function nn(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}e(nn,`baseTimes`);var rn=nn,an=`[object Arguments]`;function on(e){return y(e)&&_(e)==an}e(on,`baseIsArguments`);var sn=on,cn=Object.prototype,ln=cn.hasOwnProperty,un=cn.propertyIsEnumerable,j=sn((function(){return arguments})())?sn:function(e){return y(e)&&ln.call(e,`callee`)&&!un.call(e,`callee`)};function dn(){return!1}e(dn,`stubFalse`);var fn=dn,pn=typeof exports==`object`&&exports&&!exports.nodeType&&exports,mn=pn&&typeof module==`object`&&module&&!module.nodeType&&module,hn=mn&&mn.exports===pn?r.Buffer:void 0,M=(hn?hn.isBuffer:void 0)||fn,gn=`[object Arguments]`,_n=`[object Array]`,vn=`[object Boolean]`,yn=`[object Date]`,bn=`[object Error]`,xn=`[object Function]`,Sn=`[object Map]`,Cn=`[object Number]`,wn=`[object Object]`,Tn=`[object RegExp]`,En=`[object Set]`,Dn=`[object String]`,On=`[object WeakMap]`,kn=`[object ArrayBuffer]`,An=`[object DataView]`,jn=`[object Float32Array]`,Mn=`[object Float64Array]`,Nn=`[object Int8Array]`,Pn=`[object Int16Array]`,Fn=`[object Int32Array]`,In=`[object Uint8Array]`,Ln=`[object Uint8ClampedArray]`,Rn=`[object Uint16Array]`,zn=`[object Uint32Array]`,N={};N[jn]=N[Mn]=N[Nn]=N[Pn]=N[Fn]=N[In]=N[Ln]=N[Rn]=N[zn]=!0,N[gn]=N[_n]=N[kn]=N[vn]=N[An]=N[yn]=N[bn]=N[xn]=N[Sn]=N[Cn]=N[wn]=N[Tn]=N[En]=N[Dn]=N[On]=!1;function Bn(e){return y(e)&&qt(e.length)&&!!N[_(e)]}e(Bn,`baseIsTypedArray`);var Vn=Bn;function Hn(e){return function(t){return e(t)}}e(Hn,`baseUnary`);var Un=Hn,Wn=typeof exports==`object`&&exports&&!exports.nodeType&&exports,P=Wn&&typeof module==`object`&&module&&!module.nodeType&&module,Gn=P&&P.exports===Wn&&t.process,F=(function(){try{return P&&P.require&&P.require(`util`).types||Gn&&Gn.binding&&Gn.binding(`util`)}catch{}})(),Kn=F&&F.isTypedArray,qn=Kn?Un(Kn):Vn,Jn=Object.prototype.hasOwnProperty;function Yn(e,t){var n=S(e),r=!n&&j(e),i=!n&&!r&&M(e),a=!n&&!r&&!i&&qn(e),o=n||r||i||a,s=o?rn(e.length,String):[],c=s.length;for(var l in e)(t||Jn.call(e,l))&&!(o&&(l==`length`||i&&(l==`offset`||l==`parent`)||a&&(l==`buffer`||l==`byteLength`||l==`byteOffset`)||jt(l,c)))&&s.push(l);return s}e(Yn,`arrayLikeKeys`);var Xn=Yn;function Zn(e,t){return function(n){return e(t(n))}}e(Zn,`overArg`);var Qn=Zn,$n=Qn(Object.keys,Object),er=Object.prototype.hasOwnProperty;function tr(e){if(!tn(e))return $n(e);var t=[];for(var n in Object(e))er.call(e,n)&&n!=`constructor`&&t.push(n);return t}e(tr,`baseKeys`);var nr=tr;function rr(e){return A(e)?Xn(e):nr(e)}e(rr,`keys`);var I=rr;function ir(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}e(ir,`nativeKeysIn`);var ar=ir,or=Object.prototype.hasOwnProperty;function sr(e){if(!C(e))return ar(e);var t=tn(e),n=[];for(var r in e)r==`constructor`&&(t||!or.call(e,r))||n.push(r);return n}e(sr,`baseKeysIn`);var cr=sr;function lr(e){return A(e)?Xn(e,!0):cr(e)}e(lr,`keysIn`);var L=lr,ur=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,dr=/^\w*$/;function fr(e,t){if(S(e))return!1;var n=typeof e;return n==`number`||n==`symbol`||n==`boolean`||e==null||b(e)?!0:dr.test(e)||!ur.test(e)||t!=null&&e in Object(t)}e(fr,`isKey`);var pr=fr,R=D(Object,`create`);function mr(){this.__data__=R?R(null):{},this.size=0}e(mr,`hashClear`);var hr=mr;function gr(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=+!!t,t}e(gr,`hashDelete`);var _r=gr,vr=`__lodash_hash_undefined__`,yr=Object.prototype.hasOwnProperty;function br(e){var t=this.__data__;if(R){var n=t[e];return n===vr?void 0:n}return yr.call(t,e)?t[e]:void 0}e(br,`hashGet`);var xr=br,Sr=Object.prototype.hasOwnProperty;function Cr(e){var t=this.__data__;return R?t[e]!==void 0:Sr.call(t,e)}e(Cr,`hashHas`);var wr=Cr,Tr=`__lodash_hash_undefined__`;function Er(e,t){var n=this.__data__;return this.size+=+!this.has(e),n[e]=R&&t===void 0?Tr:t,this}e(Er,`hashSet`);var Dr=Er;function z(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}e(z,`Hash`),z.prototype.clear=hr,z.prototype.delete=_r,z.prototype.get=xr,z.prototype.has=wr,z.prototype.set=Dr;var Or=z;function kr(){this.__data__=[],this.size=0}e(kr,`listCacheClear`);var Ar=kr;function jr(e,t){for(var n=e.length;n--;)if(k(e[n][0],t))return n;return-1}e(jr,`assocIndexOf`);var Mr=jr,Nr=Array.prototype.splice;function Pr(e){var t=this.__data__,n=Mr(t,e);return n<0?!1:(n==t.length-1?t.pop():Nr.call(t,n,1),--this.size,!0)}e(Pr,`listCacheDelete`);var Fr=Pr;function Ir(e){var t=this.__data__,n=Mr(t,e);return n<0?void 0:t[n][1]}e(Ir,`listCacheGet`);var Lr=Ir;function Rr(e){return Mr(this.__data__,e)>-1}e(Rr,`listCacheHas`);var zr=Rr;function Br(e,t){var n=this.__data__,r=Mr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}e(Br,`listCacheSet`);var Vr=Br;function B(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}e(B,`ListCache`),B.prototype.clear=Ar,B.prototype.delete=Fr,B.prototype.get=Lr,B.prototype.has=zr,B.prototype.set=Vr;var Hr=B,V=D(r,`Map`);function Ur(){this.size=0,this.__data__={hash:new Or,map:new(V||Hr),string:new Or}}e(Ur,`mapCacheClear`);var Wr=Ur;function Gr(e){var t=typeof e;return t==`string`||t==`number`||t==`symbol`||t==`boolean`?e!==`__proto__`:e===null}e(Gr,`isKeyable`);var Kr=Gr;function qr(e,t){var n=e.__data__;return Kr(t)?n[typeof t==`string`?`string`:`hash`]:n.map}e(qr,`getMapData`);var Jr=qr;function Yr(e){var t=Jr(this,e).delete(e);return this.size-=+!!t,t}e(Yr,`mapCacheDelete`);var Xr=Yr;function Zr(e){return Jr(this,e).get(e)}e(Zr,`mapCacheGet`);var Qr=Zr;function $r(e){return Jr(this,e).has(e)}e($r,`mapCacheHas`);var ei=$r;function ti(e,t){var n=Jr(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}e(ti,`mapCacheSet`);var ni=ti;function H(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}e(H,`MapCache`),H.prototype.clear=Wr,H.prototype.delete=Xr,H.prototype.get=Qr,H.prototype.has=ei,H.prototype.set=ni;var ri=H,ii=`Expected a function`;function ai(t,n){if(typeof t!=`function`||n!=null&&typeof n!=`function`)throw TypeError(ii);var r=e(function(){var e=arguments,i=n?n.apply(this,e):e[0],a=r.cache;if(a.has(i))return a.get(i);var o=t.apply(this,e);return r.cache=a.set(i,o)||a,o},`memoized`);return r.cache=new(ai.Cache||ri),r}e(ai,`memoize`),ai.Cache=ri;var oi=ai,si=500;function ci(e){var t=oi(e,function(e){return n.size===si&&n.clear(),e}),n=t.cache;return t}e(ci,`memoizeCapped`);var li=ci,ui=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,di=/\\(\\)?/g,fi=li(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(``),e.replace(ui,function(e,n,r,i){t.push(r?i.replace(di,`$1`):n||e)}),t});function pi(e){return e==null?``:ce(e)}e(pi,`toString`);var mi=pi;function hi(e,t){return S(e)?e:pr(e,t)?[e]:fi(mi(e))}e(hi,`castPath`);var gi=hi,_i=1/0;function vi(e){if(typeof e==`string`||b(e))return e;var t=e+``;return t==`0`&&1/e==-_i?`-0`:t}e(vi,`toKey`);var yi=vi;function bi(e,t){t=gi(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[yi(t[n++])];return n&&n==r?e:void 0}e(bi,`baseGet`);var xi=bi;function Si(e,t,n){var r=e==null?void 0:xi(e,t);return r===void 0?n:r}e(Si,`get`);var Ci=Si;function wi(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}e(wi,`arrayPush`);var Ti=wi,Ei=i?i.isConcatSpreadable:void 0;function Di(e){return S(e)||j(e)||!!(Ei&&e&&e[Ei])}e(Di,`isFlattenable`);var Oi=Di;function ki(e,t,n,r,i){var a=-1,o=e.length;for(n||=Oi,i||=[];++a<o;){var s=e[a];t>0&&n(s)?t>1?ki(s,t-1,n,r,i):Ti(i,s):r||(i[i.length]=s)}return i}e(ki,`baseFlatten`);var Ai=ki;function ji(e){return e!=null&&e.length?Ai(e,1):[]}e(ji,`flatten`);var Mi=ji;function Ni(e){return ht(Ht(e,void 0,Mi),e+``)}e(Ni,`flatRest`);var Pi=Ni,Fi=Qn(Object.getPrototypeOf,Object),Ii=`[object Object]`,Li=Function.prototype,Ri=Object.prototype,zi=Li.toString,Bi=Ri.hasOwnProperty,Vi=zi.call(Object);function Hi(e){if(!y(e)||_(e)!=Ii)return!1;var t=Fi(e);if(t===null)return!0;var n=Bi.call(t,`constructor`)&&t.constructor;return typeof n==`function`&&n instanceof n&&zi.call(n)==Vi}e(Hi,`isPlainObject`);var Ui=Hi,Wi=RegExp(`[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]`);function Gi(e){return Wi.test(e)}e(Gi,`hasUnicode`);var Ki=Gi;function qi(e,t,n,r){var i=-1,a=e==null?0:e.length;for(r&&a&&(n=e[++i]);++i<a;)n=t(n,e[i],i,e);return n}e(qi,`arrayReduce`);var Ji=qi;function Yi(){this.__data__=new Hr,this.size=0}e(Yi,`stackClear`);var Xi=Yi;function Zi(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}e(Zi,`stackDelete`);var Qi=Zi;function $i(e){return this.__data__.get(e)}e($i,`stackGet`);var ea=$i;function ta(e){return this.__data__.has(e)}e(ta,`stackHas`);var na=ta,ra=200;function ia(e,t){var n=this.__data__;if(n instanceof Hr){var r=n.__data__;if(!V||r.length<ra-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ri(r)}return n.set(e,t),this.size=n.size,this}e(ia,`stackSet`);var aa=ia;function U(e){var t=this.__data__=new Hr(e);this.size=t.size}e(U,`Stack`),U.prototype.clear=Xi,U.prototype.delete=Qi,U.prototype.get=ea,U.prototype.has=na,U.prototype.set=aa;var W=U;function oa(e,t){return e&&zt(t,I(t),e)}e(oa,`baseAssign`);var sa=oa;function ca(e,t){return e&&zt(t,L(t),e)}e(ca,`baseAssignIn`);var la=ca,ua=typeof exports==`object`&&exports&&!exports.nodeType&&exports,da=ua&&typeof module==`object`&&module&&!module.nodeType&&module,fa=da&&da.exports===ua?r.Buffer:void 0,pa=fa?fa.allocUnsafe:void 0;function ma(e,t){if(t)return e.slice();var n=e.length,r=pa?pa(n):new e.constructor(n);return e.copy(r),r}e(ma,`cloneBuffer`);var ha=ma;function ga(e,t){for(var n=-1,r=e==null?0:e.length,i=0,a=[];++n<r;){var o=e[n];t(o,n,e)&&(a[i++]=o)}return a}e(ga,`arrayFilter`);var _a=ga;function va(){return[]}e(va,`stubArray`);var ya=va,ba=Object.prototype.propertyIsEnumerable,xa=Object.getOwnPropertySymbols,Sa=xa?function(e){return e==null?[]:(e=Object(e),_a(xa(e),function(t){return ba.call(e,t)}))}:ya;function Ca(e,t){return zt(e,Sa(e),t)}e(Ca,`copySymbols`);var wa=Ca,Ta=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)Ti(t,Sa(e)),e=Fi(e);return t}:ya;function Ea(e,t){return zt(e,Ta(e),t)}e(Ea,`copySymbolsIn`);var Da=Ea;function Oa(e,t,n){var r=t(e);return S(e)?r:Ti(r,n(e))}e(Oa,`baseGetAllKeys`);var ka=Oa;function Aa(e){return ka(e,I,Sa)}e(Aa,`getAllKeys`);var ja=Aa;function Ma(e){return ka(e,L,Ta)}e(Ma,`getAllKeysIn`);var Na=Ma,Pa=D(r,`DataView`),Fa=D(r,`Promise`),G=D(r,`Set`),Ia=`[object Map]`,La=`[object Object]`,Ra=`[object Promise]`,za=`[object Set]`,Ba=`[object WeakMap]`,Va=`[object DataView]`,Ha=E(Pa),Ua=E(V),Wa=E(Fa),Ga=E(G),Ka=E($e),K=_;(Pa&&K(new Pa(new ArrayBuffer(1)))!=Va||V&&K(new V)!=Ia||Fa&&K(Fa.resolve())!=Ra||G&&K(new G)!=za||$e&&K(new $e)!=Ba)&&(K=e(function(e){var t=_(e),n=t==La?e.constructor:void 0,r=n?E(n):``;if(r)switch(r){case Ha:return Va;case Ua:return Ia;case Wa:return Ra;case Ga:return za;case Ka:return Ba}return t},`getTag`));var q=K,qa=Object.prototype.hasOwnProperty;function Ja(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]==`string`&&qa.call(e,`index`)&&(n.index=e.index,n.input=e.input),n}e(Ja,`initCloneArray`);var Ya=Ja,Xa=r.Uint8Array;function Za(e){var t=new e.constructor(e.byteLength);return new Xa(t).set(new Xa(e)),t}e(Za,`cloneArrayBuffer`);var Qa=Za;function $a(e,t){var n=t?Qa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}e($a,`cloneDataView`);var eo=$a,to=/\w*$/;function no(e){var t=new e.constructor(e.source,to.exec(e));return t.lastIndex=e.lastIndex,t}e(no,`cloneRegExp`);var ro=no,io=i?i.prototype:void 0,ao=io?io.valueOf:void 0;function oo(e){return ao?Object(ao.call(e)):{}}e(oo,`cloneSymbol`);var so=oo;function co(e,t){var n=t?Qa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}e(co,`cloneTypedArray`);var lo=co,uo=`[object Boolean]`,fo=`[object Date]`,po=`[object Map]`,mo=`[object Number]`,ho=`[object RegExp]`,go=`[object Set]`,_o=`[object String]`,vo=`[object Symbol]`,yo=`[object ArrayBuffer]`,bo=`[object DataView]`,xo=`[object Float32Array]`,So=`[object Float64Array]`,Co=`[object Int8Array]`,wo=`[object Int16Array]`,To=`[object Int32Array]`,Eo=`[object Uint8Array]`,Do=`[object Uint8ClampedArray]`,Oo=`[object Uint16Array]`,ko=`[object Uint32Array]`;function Ao(e,t,n){var r=e.constructor;switch(t){case yo:return Qa(e);case uo:case fo:return new r(+e);case bo:return eo(e,n);case xo:case So:case Co:case wo:case To:case Eo:case Do:case Oo:case ko:return lo(e,n);case po:return new r;case mo:case _o:return new r(e);case ho:return ro(e);case go:return new r;case vo:return so(e)}}e(Ao,`initCloneByTag`);var jo=Ao;function Mo(e){return typeof e.constructor==`function`&&!tn(e)?tt(Fi(e)):{}}e(Mo,`initCloneObject`);var No=Mo,Po=`[object Map]`;function Fo(e){return y(e)&&q(e)==Po}e(Fo,`baseIsMap`);var Io=Fo,Lo=F&&F.isMap,Ro=Lo?Un(Lo):Io,zo=`[object Set]`;function Bo(e){return y(e)&&q(e)==zo}e(Bo,`baseIsSet`);var Vo=Bo,Ho=F&&F.isSet,Uo=Ho?Un(Ho):Vo,Wo=1,Go=2,Ko=4,qo=`[object Arguments]`,Jo=`[object Array]`,Yo=`[object Boolean]`,Xo=`[object Date]`,Zo=`[object Error]`,Qo=`[object Function]`,$o=`[object GeneratorFunction]`,es=`[object Map]`,ts=`[object Number]`,ns=`[object Object]`,rs=`[object RegExp]`,is=`[object Set]`,as=`[object String]`,os=`[object Symbol]`,ss=`[object WeakMap]`,cs=`[object ArrayBuffer]`,ls=`[object DataView]`,us=`[object Float32Array]`,ds=`[object Float64Array]`,fs=`[object Int8Array]`,ps=`[object Int16Array]`,ms=`[object Int32Array]`,hs=`[object Uint8Array]`,gs=`[object Uint8ClampedArray]`,_s=`[object Uint16Array]`,vs=`[object Uint32Array]`,J={};J[qo]=J[Jo]=J[cs]=J[ls]=J[Yo]=J[Xo]=J[us]=J[ds]=J[fs]=J[ps]=J[ms]=J[es]=J[ts]=J[ns]=J[rs]=J[is]=J[as]=J[os]=J[hs]=J[gs]=J[_s]=J[vs]=!0,J[Zo]=J[Qo]=J[ss]=!1;function ys(e,t,n,r,i,a){var o,s=t&Wo,c=t&Go,l=t&Ko;if(n&&(o=i?n(e,r,i,a):n(e)),o!==void 0)return o;if(!C(e))return e;var u=S(e);if(u){if(o=Ya(e),!s)return st(e,o)}else{var d=q(e),f=d==Qo||d==$o;if(M(e))return ha(e,s);if(d==ns||d==qo||f&&!i){if(o=c||f?{}:No(e),!s)return c?Da(e,la(o,e)):wa(e,sa(o,e))}else{if(!J[d])return i?e:{};o=jo(e,d,s)}}a||=new W;var p=a.get(e);if(p)return p;a.set(e,o),Uo(e)?e.forEach(function(r){o.add(ys(r,t,n,r,e,a))}):Ro(e)&&e.forEach(function(r,i){o.set(i,ys(r,t,n,i,e,a))});var m=u?void 0:(l?c?Na:ja:c?L:I)(e);return _t(m||e,function(r,i){m&&(i=r,r=e[i]),Lt(o,i,ys(r,t,n,i,e,a))}),o}e(ys,`baseClone`);var bs=ys,xs=1,Ss=4;function Cs(e){return bs(e,xs|Ss)}e(Cs,`cloneDeep`);var ws=Cs,Ts=`__lodash_hash_undefined__`;function Es(e){return this.__data__.set(e,Ts),this}e(Es,`setCacheAdd`);var Ds=Es;function Os(e){return this.__data__.has(e)}e(Os,`setCacheHas`);var ks=Os;function As(e){var t=-1,n=e==null?0:e.length;for(this.__data__=new ri;++t<n;)this.add(e[t])}e(As,`SetCache`),As.prototype.add=As.prototype.push=Ds,As.prototype.has=ks;var js=As;function Ms(e,t){for(var n=-1,r=e==null?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}e(Ms,`arraySome`);var Ns=Ms;function Ps(e,t){return e.has(t)}e(Ps,`cacheHas`);var Fs=Ps,Is=1,Ls=2;function Rs(e,t,n,r,i,a){var o=n&Is,s=e.length,c=t.length;if(s!=c&&!(o&&c>s))return!1;var l=a.get(e),u=a.get(t);if(l&&u)return l==t&&u==e;var d=-1,f=!0,p=n&Ls?new js:void 0;for(a.set(e,t),a.set(t,e);++d<s;){var m=e[d],h=t[d];if(r)var g=o?r(h,m,d,t,e,a):r(m,h,d,e,t,a);if(g!==void 0){if(g)continue;f=!1;break}if(p){if(!Ns(t,function(e,t){if(!Fs(p,t)&&(m===e||i(m,e,n,r,a)))return p.push(t)})){f=!1;break}}else if(!(m===h||i(m,h,n,r,a))){f=!1;break}}return a.delete(e),a.delete(t),f}e(Rs,`equalArrays`);var zs=Rs;function Bs(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}e(Bs,`mapToArray`);var Vs=Bs;function Hs(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}e(Hs,`setToArray`);var Us=Hs,Ws=1,Gs=2,Ks=`[object Boolean]`,qs=`[object Date]`,Js=`[object Error]`,Ys=`[object Map]`,Xs=`[object Number]`,Zs=`[object RegExp]`,Qs=`[object Set]`,$s=`[object String]`,ec=`[object Symbol]`,tc=`[object ArrayBuffer]`,nc=`[object DataView]`,rc=i?i.prototype:void 0,ic=rc?rc.valueOf:void 0;function ac(e,t,n,r,i,a,o){switch(n){case nc:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case tc:return!(e.byteLength!=t.byteLength||!a(new Xa(e),new Xa(t)));case Ks:case qs:case Xs:return k(+e,+t);case Js:return e.name==t.name&&e.message==t.message;case Zs:case $s:return e==t+``;case Ys:var s=Vs;case Qs:var c=r&Ws;if(s||=Us,e.size!=t.size&&!c)return!1;var l=o.get(e);if(l)return l==t;r|=Gs,o.set(e,t);var u=zs(s(e),s(t),r,i,a,o);return o.delete(e),u;case ec:if(ic)return ic.call(e)==ic.call(t)}return!1}e(ac,`equalByTag`);var oc=ac,sc=1,cc=Object.prototype.hasOwnProperty;function lc(e,t,n,r,i,a){var o=n&sc,s=ja(e),c=s.length;if(c!=ja(t).length&&!o)return!1;for(var l=c;l--;){var u=s[l];if(!(o?u in t:cc.call(t,u)))return!1}var d=a.get(e),f=a.get(t);if(d&&f)return d==t&&f==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=o;++l<c;){u=s[l];var h=e[u],g=t[u];if(r)var ee=o?r(g,h,u,t,e,a):r(h,g,u,e,t,a);if(!(ee===void 0?h===g||i(h,g,n,r,a):ee)){p=!1;break}m||=u==`constructor`}if(p&&!m){var _=e.constructor,v=t.constructor;_!=v&&`constructor`in e&&`constructor`in t&&!(typeof _==`function`&&_ instanceof _&&typeof v==`function`&&v instanceof v)&&(p=!1)}return a.delete(e),a.delete(t),p}e(lc,`equalObjects`);var uc=lc,dc=1,fc=`[object Arguments]`,pc=`[object Array]`,mc=`[object Object]`,hc=Object.prototype.hasOwnProperty;function gc(e,t,n,r,i,a){var o=S(e),s=S(t),c=o?pc:q(e),l=s?pc:q(t);c=c==fc?mc:c,l=l==fc?mc:l;var u=c==mc,d=l==mc,f=c==l;if(f&&M(e)){if(!M(t))return!1;o=!0,u=!1}if(f&&!u)return a||=new W,o||qn(e)?zs(e,t,n,r,i,a):oc(e,t,c,n,r,i,a);if(!(n&dc)){var p=u&&hc.call(e,`__wrapped__`),m=d&&hc.call(t,`__wrapped__`);if(p||m){var h=p?e.value():e,g=m?t.value():t;return a||=new W,i(h,g,n,r,a)}}return f?(a||=new W,uc(e,t,n,r,i,a)):!1}e(gc,`baseIsEqualDeep`);var _c=gc;function vc(e,t,n,r,i){return e===t?!0:e==null||t==null||!y(e)&&!y(t)?e!==e&&t!==t:_c(e,t,n,r,vc,i)}e(vc,`baseIsEqual`);var yc=vc,bc=1,xc=2;function Sc(e,t,n,r){var i=n.length,a=i,o=!r;if(e==null)return!a;for(e=Object(e);i--;){var s=n[i];if(o&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++i<a;){s=n[i];var c=s[0],l=e[c],u=s[1];if(o&&s[2]){if(l===void 0&&!(c in e))return!1}else{var d=new W;if(r)var f=r(l,u,c,e,t,d);if(!(f===void 0?yc(u,l,bc|xc,r,d):f))return!1}}return!0}e(Sc,`baseIsMatch`);var Cc=Sc;function wc(e){return e===e&&!C(e)}e(wc,`isStrictComparable`);var Tc=wc;function Ec(e){for(var t=I(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Tc(i)]}return t}e(Ec,`getMatchData`);var Dc=Ec;function Oc(e,t){return function(n){return n!=null&&n[e]===t&&(t!==void 0||e in Object(n))}}e(Oc,`matchesStrictComparable`);var kc=Oc;function Ac(e){var t=Dc(e);return t.length==1&&t[0][2]?kc(t[0][0],t[0][1]):function(n){return n===e||Cc(n,e,t)}}e(Ac,`baseMatches`);var jc=Ac;function Mc(e,t){return e!=null&&t in Object(e)}e(Mc,`baseHasIn`);var Nc=Mc;function Pc(e,t,n){t=gi(t,e);for(var r=-1,i=t.length,a=!1;++r<i;){var o=yi(t[r]);if(!(a=e!=null&&n(e,o)))break;e=e[o]}return a||++r!=i?a:(i=e==null?0:e.length,!!i&&qt(i)&&jt(o,i)&&(S(e)||j(e)))}e(Pc,`hasPath`);var Fc=Pc;function Ic(e,t){return e!=null&&Fc(e,t,Nc)}e(Ic,`hasIn`);var Lc=Ic,Rc=1,zc=2;function Bc(e,t){return pr(e)&&Tc(t)?kc(yi(e),t):function(n){var r=Ci(n,e);return r===void 0&&r===t?Lc(n,e):yc(t,r,Rc|zc)}}e(Bc,`baseMatchesProperty`);var Vc=Bc;function Hc(e){return function(t){return t?.[e]}}e(Hc,`baseProperty`);var Uc=Hc;function Wc(e){return function(t){return xi(t,e)}}e(Wc,`basePropertyDeep`);var Gc=Wc;function Kc(e){return pr(e)?Uc(yi(e)):Gc(e)}e(Kc,`property`);var qc=Kc;function Jc(e){return typeof e==`function`?e:e==null?w:typeof e==`object`?S(e)?Vc(e[0],e[1]):jc(e):qc(e)}e(Jc,`baseIteratee`);var Y=Jc;function Yc(e){return function(t,n,r){for(var i=-1,a=Object(t),o=r(t),s=o.length;s--;){var c=o[e?s:++i];if(n(a[c],c,a)===!1)break}return t}}e(Yc,`createBaseFor`);var Xc=Yc();function Zc(e,t){return e&&Xc(e,t,I)}e(Zc,`baseForOwn`);var Qc=Zc;function $c(e,t){return function(n,r){if(n==null)return n;if(!A(n))return e(n,r);for(var i=n.length,a=t?i:-1,o=Object(n);(t?a--:++a<i)&&r(o[a],a,o)!==!1;);return n}}e($c,`createBaseEach`);var el=$c(Qc),tl=e(function(){return r.Date.now()},`now`),nl=Object.prototype,rl=nl.hasOwnProperty,il=Wt(function(e,t){e=Object(e);var n=-1,r=t.length,i=r>2?t[2]:void 0;for(i&&Xt(t[0],t[1],i)&&(r=1);++n<r;)for(var a=t[n],o=L(a),s=-1,c=o.length;++s<c;){var l=o[s],u=e[l];(u===void 0||k(u,nl[l])&&!rl.call(e,l))&&(e[l]=a[l])}return e});function al(e,t,n){(n!==void 0&&!k(e[t],n)||n===void 0&&!(t in e))&&Nt(e,t,n)}e(al,`assignMergeValue`);var ol=al;function sl(e){return y(e)&&A(e)}e(sl,`isArrayLikeObject`);var cl=sl;function ll(e,t){if((t!==`constructor`||typeof e[t]!=`function`)&&t!=`__proto__`)return e[t]}e(ll,`safeGet`);var ul=ll;function dl(e){return zt(e,L(e))}e(dl,`toPlainObject`);var fl=dl;function pl(e,t,n,r,i,a,o){var s=ul(e,n),c=ul(t,n),l=o.get(c);if(l){ol(e,n,l);return}var u=a?a(s,c,n+``,e,t,o):void 0,d=u===void 0;if(d){var f=S(c),p=!f&&M(c),m=!f&&!p&&qn(c);u=c,f||p||m?S(s)?u=s:cl(s)?u=st(s):p?(d=!1,u=ha(c,!0)):m?(d=!1,u=lo(c,!0)):u=[]:Ui(c)||j(c)?(u=s,j(s)?u=fl(s):(!C(s)||T(s))&&(u=No(c))):d=!1}d&&(o.set(c,u),i(u,c,r,a,o),o.delete(c)),ol(e,n,u)}e(pl,`baseMergeDeep`);var ml=pl;function hl(e,t,n,r,i){e!==t&&Xc(t,function(a,o){if(i||=new W,C(a))ml(e,t,o,n,hl,r,i);else{var s=r?r(ul(e,o),a,o+``,e,t,i):void 0;s===void 0&&(s=a),ol(e,o,s)}},L)}e(hl,`baseMerge`);var gl=hl;function _l(e,t,n){for(var r=-1,i=e==null?0:e.length;++r<i;)if(n(t,e[r]))return!0;return!1}e(_l,`arrayIncludesWith`);var vl=_l;function yl(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}e(yl,`last`);var bl=yl;function xl(e){return typeof e==`function`?e:w}e(xl,`castFunction`);var Sl=xl;function Cl(e,t){return(S(e)?_t:el)(e,Sl(t))}e(Cl,`forEach`);var X=Cl;function wl(e,t){var n=[];return el(e,function(e,r,i){t(e,r,i)&&n.push(e)}),n}e(wl,`baseFilter`);var Tl=wl;function El(e,t){return(S(e)?_a:Tl)(e,Y(t,3))}e(El,`filter`);var Dl=El;function Ol(t){return function(n,r,i){var a=Object(n);if(!A(n)){var o=Y(r,3);n=I(n),r=e(function(e){return o(a[e],e,a)},`predicate`)}var s=t(n,r,i);return s>-1?a[o?n[s]:s]:void 0}}e(Ol,`createFind`);var kl=Ol,Al=Math.max;function jl(e,t,n){var r=e==null?0:e.length;if(!r)return-1;var i=n==null?0:Oe(n);return i<0&&(i=Al(r+i,0)),yt(e,Y(t,3),i)}e(jl,`findIndex`);var Ml=kl(jl);function Nl(e,t){var n=-1,r=A(e)?Array(e.length):[];return el(e,function(e,i,a){r[++n]=t(e,i,a)}),r}e(Nl,`baseMap`);var Pl=Nl;function Fl(e,t){return(S(e)?x:Pl)(e,Y(t,3))}e(Fl,`map`);var Il=Fl;function Ll(e,t){return e==null?e:Xc(e,Sl(t),L)}e(Ll,`forIn`);var Rl=Ll;function zl(e,t){return e&&Qc(e,Sl(t))}e(zl,`forOwn`);var Bl=zl;function Vl(e,t){return e>t}e(Vl,`baseGt`);var Hl=Vl,Ul=Object.prototype.hasOwnProperty;function Wl(e,t){return e!=null&&Ul.call(e,t)}e(Wl,`baseHas`);var Gl=Wl;function Kl(e,t){return e!=null&&Fc(e,t,Gl)}e(Kl,`has`);var ql=Kl,Jl=`[object String]`;function Yl(e){return typeof e==`string`||!S(e)&&y(e)&&_(e)==Jl}e(Yl,`isString`);var Xl=Yl;function Zl(e,t){return x(t,function(t){return e[t]})}e(Zl,`baseValues`);var Ql=Zl;function $l(e){return e==null?[]:Ql(e,I(e))}e($l,`values`);var eu=$l,tu=`[object Map]`,nu=`[object Set]`,ru=Object.prototype.hasOwnProperty;function iu(e){if(e==null)return!0;if(A(e)&&(S(e)||typeof e==`string`||typeof e.splice==`function`||M(e)||qn(e)||j(e)))return!e.length;var t=q(e);if(t==tu||t==nu)return!e.size;if(tn(e))return!nr(e).length;for(var n in e)if(ru.call(e,n))return!1;return!0}e(iu,`isEmpty`);var au=iu;function ou(e){return e===void 0}e(ou,`isUndefined`);var Z=ou;function su(e,t){return e<t}e(su,`baseLt`);var cu=su;function lu(e,t){var n={};return t=Y(t,3),Qc(e,function(e,r,i){Nt(n,r,t(e,r,i))}),n}e(lu,`mapValues`);var uu=lu;function du(e,t,n){for(var r=-1,i=e.length;++r<i;){var a=e[r],o=t(a);if(o!=null&&(s===void 0?o===o&&!b(o):n(o,s)))var s=o,c=a}return c}e(du,`baseExtremum`);var fu=du;function pu(e){return e&&e.length?fu(e,w,Hl):void 0}e(pu,`max`);var mu=pu,hu=Qt(function(e,t,n){gl(e,t,n)});function gu(e){return e&&e.length?fu(e,w,cu):void 0}e(gu,`min`);var _u=gu;function vu(e,t){return e&&e.length?fu(e,Y(t,2),cu):void 0}e(vu,`minBy`);var yu=vu;function bu(e,t,n,r){if(!C(e))return e;t=gi(t,e);for(var i=-1,a=t.length,o=a-1,s=e;s!=null&&++i<a;){var c=yi(t[i]),l=n;if(c===`__proto__`||c===`constructor`||c===`prototype`)return e;if(i!=o){var u=s[c];l=r?r(u,c,s):void 0,l===void 0&&(l=C(u)?u:jt(t[i+1])?[]:{})}Lt(s,c,l),s=s[c]}return e}e(bu,`baseSet`);var xu=bu;function Su(e,t,n){for(var r=-1,i=t.length,a={};++r<i;){var o=t[r],s=xi(e,o);n(s,o)&&xu(a,gi(o,e),s)}return a}e(Su,`basePickBy`);var Cu=Su;function wu(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}e(wu,`baseSortBy`);var Tu=wu;function Eu(e,t){if(e!==t){var n=e!==void 0,r=e===null,i=e===e,a=b(e),o=t!==void 0,s=t===null,c=t===t,l=b(t);if(!s&&!l&&!a&&e>t||a&&o&&c&&!s&&!l||r&&o&&c||!n&&c||!i)return 1;if(!r&&!a&&!l&&e<t||l&&n&&i&&!r&&!a||s&&n&&i||!o&&i||!c)return-1}return 0}e(Eu,`compareAscending`);var Du=Eu;function Ou(e,t,n){for(var r=-1,i=e.criteria,a=t.criteria,o=i.length,s=n.length;++r<o;){var c=Du(i[r],a[r]);if(c)return r>=s?c:c*(n[r]==`desc`?-1:1)}return e.index-t.index}e(Ou,`compareMultiple`);var ku=Ou;function Au(e,t,n){t=t.length?x(t,function(e){return S(e)?function(t){return xi(t,e.length===1?e[0]:e)}:e}):[w];var r=-1;return t=x(t,Un(Y)),Tu(Pl(e,function(e,n,i){return{criteria:x(t,function(t){return t(e)}),index:++r,value:e}}),function(e,t){return ku(e,t,n)})}e(Au,`baseOrderBy`);var ju=Au,Mu=Uc(`length`),Nu=`\\ud800-\\udfff`,Pu=`\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff`,Fu=`\\ufe0e\\ufe0f`,Iu=`[`+Nu+`]`,Lu=`[`+Pu+`]`,Ru=`\\ud83c[\\udffb-\\udfff]`,zu=`(?:`+Lu+`|`+Ru+`)`,Bu=`[^`+Nu+`]`,Vu=`(?:\\ud83c[\\udde6-\\uddff]){2}`,Hu=`[\\ud800-\\udbff][\\udc00-\\udfff]`,Uu=`\\u200d`,Wu=zu+`?`,Gu=`[`+Fu+`]?`,Ku=`(?:`+Uu+`(?:`+[Bu,Vu,Hu].join(`|`)+`)`+Gu+Wu+`)*`,qu=Gu+Wu+Ku,Ju=`(?:`+[Bu+Lu+`?`,Lu,Vu,Hu,Iu].join(`|`)+`)`,Yu=RegExp(Ru+`(?=`+Ru+`)|`+Ju+qu,`g`);function Xu(e){for(var t=Yu.lastIndex=0;Yu.test(e);)++t;return t}e(Xu,`unicodeSize`);var Zu=Xu;function Qu(e){return Ki(e)?Zu(e):Mu(e)}e(Qu,`stringSize`);var $u=Qu;function ed(e,t){return Cu(e,t,function(t,n){return Lc(e,n)})}e(ed,`basePick`);var td=ed,nd=Pi(function(e,t){return e==null?{}:td(e,t)}),rd=Math.ceil,id=Math.max;function ad(e,t,n,r){for(var i=-1,a=id(rd((t-e)/(n||1)),0),o=Array(a);a--;)o[r?a:++i]=e,e+=n;return o}e(ad,`baseRange`);var od=ad;function sd(e){return function(t,n,r){return r&&typeof r!=`number`&&Xt(t,n,r)&&(n=r=void 0),t=Ee(t),n===void 0?(n=t,t=0):n=Ee(n),r=r===void 0?t<n?1:-1:Ee(r),od(t,n,r,e)}}e(sd,`createRange`);var cd=sd();function ld(e,t,n,r,i){return i(e,function(e,i,a){n=r?(r=!1,e):t(n,e,i,a)}),n}e(ld,`baseReduce`);var ud=ld;function dd(e,t,n){var r=S(e)?Ji:ud,i=arguments.length<3;return r(e,Y(t,4),n,i,el)}e(dd,`reduce`);var fd=dd,pd=`[object Map]`,md=`[object Set]`;function hd(e){if(e==null)return 0;if(A(e))return Xl(e)?$u(e):e.length;var t=q(e);return t==pd||t==md?e.size:nr(e).length}e(hd,`size`);var gd=hd,_d=Wt(function(e,t){if(e==null)return[];var n=t.length;return n>1&&Xt(e,t[0],t[1])?t=[]:n>2&&Xt(t[0],t[1],t[2])&&(t=[t[0]]),ju(e,Ai(t,1),[])}),vd=G&&1/Us(new G([,-0]))[1]==1/0?function(e){return new G(e)}:at,yd=200;function bd(e,t,n){var r=-1,i=Dt,a=e.length,o=!0,s=[],c=s;if(n)o=!1,i=vl;else if(a>=yd){var l=t?null:vd(e);if(l)return Us(l);o=!1,i=Fs,c=new js}else c=t?[]:s;r:for(;++r<a;){var u=e[r],d=t?t(u):u;if(u=n||u!==0?u:0,o&&d===d){for(var f=c.length;f--;)if(c[f]===d)continue r;t&&c.push(d),s.push(u)}else i(c,d,n)||(c!==s&&c.push(d),s.push(u))}return s}e(bd,`baseUniq`);var xd=bd,Sd=Wt(function(e){return xd(Ai(e,1,cl,!0))}),Cd=0;function wd(e){var t=++Cd;return mi(e)+t}e(wd,`uniqueId`);var Td=wd;function Ed(e,t,n){for(var r=-1,i=e.length,a=t.length,o={};++r<i;){var s=r<a?t[r]:void 0;n(o,e[r],s)}return o}e(Ed,`baseZipObject`);var Dd=Ed;function Od(e,t){return Dd(e||[],t||[],Lt)}e(Od,`zipObject`);var kd=Od,Ad=`\0`,Q=`\0`,jd=``,Md=class{static{e(this,`Graph`)}constructor(e={}){this._isDirected=!Object.prototype.hasOwnProperty.call(e,`directed`)||e.directed,this._isMultigraph=Object.prototype.hasOwnProperty.call(e,`multigraph`)?e.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(e,`compound`)?e.compound:!1,this._label=void 0,this._defaultNodeLabelFn=O(void 0),this._defaultEdgeLabelFn=O(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[Q]={}),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(e){return this._label=e,this}graph(){return this._label}setDefaultNodeLabel(e){return T(e)||(e=O(e)),this._defaultNodeLabelFn=e,this}nodeCount(){return this._nodeCount}nodes(){return I(this._nodes)}sources(){var e=this;return Dl(this.nodes(),function(t){return au(e._in[t])})}sinks(){var e=this;return Dl(this.nodes(),function(t){return au(e._out[t])})}setNodes(e,t){var n=arguments,r=this;return X(e,function(e){n.length>1?r.setNode(e,t):r.setNode(e)}),this}setNode(e,t){return Object.prototype.hasOwnProperty.call(this._nodes,e)?(arguments.length>1&&(this._nodes[e]=t),this):(this._nodes[e]=arguments.length>1?t:this._defaultNodeLabelFn(e),this._isCompound&&(this._parent[e]=Q,this._children[e]={},this._children[Q][e]=!0),this._in[e]={},this._preds[e]={},this._out[e]={},this._sucs[e]={},++this._nodeCount,this)}node(e){return this._nodes[e]}hasNode(e){return Object.prototype.hasOwnProperty.call(this._nodes,e)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var n=e(e=>this.removeEdge(this._edgeObjs[e]),`removeEdge`);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],X(this.children(t),e=>{this.setParent(e)}),delete this._children[t]),X(I(this._in[t]),n),delete this._in[t],delete this._preds[t],X(I(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(e,t){if(!this._isCompound)throw Error(`Cannot set parent in a non-compound graph`);if(Z(t))t=Q;else{t+=``;for(var n=t;!Z(n);n=this.parent(n))if(n===e)throw Error(`Setting `+t+` as parent of `+e+` would create a cycle`);this.setNode(t)}return this.setNode(e),this._removeFromParentsChildList(e),this._parent[e]=t,this._children[t][e]=!0,this}_removeFromParentsChildList(e){delete this._children[this._parent[e]][e]}parent(e){if(this._isCompound){var t=this._parent[e];if(t!==Q)return t}}children(e){if(Z(e)&&(e=Q),this._isCompound){var t=this._children[e];if(t)return I(t)}else{if(e===Q)return this.nodes();if(this.hasNode(e))return[]}}predecessors(e){var t=this._preds[e];if(t)return I(t)}successors(e){var t=this._sucs[e];if(t)return I(t)}neighbors(e){var t=this.predecessors(e);if(t)return Sd(t,this.successors(e))}isLeaf(e){var t;return t=this.isDirected()?this.successors(e):this.neighbors(e),t.length===0}filterNodes(t){var n=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});n.setGraph(this.graph());var r=this;X(this._nodes,function(e,r){t(r)&&n.setNode(r,e)}),X(this._edgeObjs,function(e){n.hasNode(e.v)&&n.hasNode(e.w)&&n.setEdge(e,r.edge(e))});var i={};function a(e){var t=r.parent(e);return t===void 0||n.hasNode(t)?(i[e]=t,t):t in i?i[t]:a(t)}return e(a,`findParent`),this._isCompound&&X(n.nodes(),function(e){n.setParent(e,a(e))}),n}setDefaultEdgeLabel(e){return T(e)||(e=O(e)),this._defaultEdgeLabelFn=e,this}edgeCount(){return this._edgeCount}edges(){return eu(this._edgeObjs)}setPath(e,t){var n=this,r=arguments;return fd(e,function(e,i){return r.length>1?n.setEdge(e,i,t):n.setEdge(e,i),i}),this}setEdge(){var e,t,n,r,i=!1,a=arguments[0];typeof a==`object`&&a&&`v`in a?(e=a.v,t=a.w,n=a.name,arguments.length===2&&(r=arguments[1],i=!0)):(e=a,t=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],i=!0)),e=``+e,t=``+t,Z(n)||(n=``+n);var o=$(this._isDirected,e,t,n);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,o))return i&&(this._edgeLabels[o]=r),this;if(!Z(n)&&!this._isMultigraph)throw Error(`Cannot set a named edge when isMultigraph = false`);this.setNode(e),this.setNode(t),this._edgeLabels[o]=i?r:this._defaultEdgeLabelFn(e,t,n);var s=Fd(this._isDirected,e,t,n);return e=s.v,t=s.w,Object.freeze(s),this._edgeObjs[o]=s,Nd(this._preds[t],e),Nd(this._sucs[e],t),this._in[t][o]=s,this._out[e][o]=s,this._edgeCount++,this}edge(e,t,n){var r=arguments.length===1?Id(this._isDirected,arguments[0]):$(this._isDirected,e,t,n);return this._edgeLabels[r]}hasEdge(e,t,n){var r=arguments.length===1?Id(this._isDirected,arguments[0]):$(this._isDirected,e,t,n);return Object.prototype.hasOwnProperty.call(this._edgeLabels,r)}removeEdge(e,t,n){var r=arguments.length===1?Id(this._isDirected,arguments[0]):$(this._isDirected,e,t,n),i=this._edgeObjs[r];return i&&(e=i.v,t=i.w,delete this._edgeLabels[r],delete this._edgeObjs[r],Pd(this._preds[t],e),Pd(this._sucs[e],t),delete this._in[t][r],delete this._out[e][r],this._edgeCount--),this}inEdges(e,t){var n=this._in[e];if(n){var r=eu(n);return t?Dl(r,function(e){return e.v===t}):r}}outEdges(e,t){var n=this._out[e];if(n){var r=eu(n);return t?Dl(r,function(e){return e.w===t}):r}}nodeEdges(e,t){var n=this.inEdges(e,t);if(n)return n.concat(this.outEdges(e,t))}};Md.prototype._nodeCount=0,Md.prototype._edgeCount=0;function Nd(e,t){e[t]?e[t]++:e[t]=1}e(Nd,`incrementOrInitEntry`);function Pd(e,t){--e[t]||delete e[t]}e(Pd,`decrementOrRemoveEntry`);function $(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}return i+jd+a+jd+(Z(r)?Ad:r)}e($,`edgeArgsToId`);function Fd(e,t,n,r){var i=``+t,a=``+n;if(!e&&i>a){var o=i;i=a,a=o}var s={v:i,w:a};return r&&(s.name=r),s}e(Fd,`edgeArgsToObj`);function Id(e,t){return $(e,t.v,t.w,t.name)}e(Id,`edgeObjToId`);
|
|
2
|
+
/*! Bundled license information:
|
|
3
|
+
|
|
4
|
+
lodash-es/lodash.js:
|
|
5
|
+
(**
|
|
6
|
+
* @license
|
|
7
|
+
* Lodash (Custom Build) <https://lodash.com/>
|
|
8
|
+
* Build: `lodash modularize exports="es" --repo lodash/lodash#4.18.1 -o ./`
|
|
9
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
10
|
+
* Released under MIT license <https://lodash.com/license>
|
|
11
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
12
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
13
|
+
*)
|
|
14
|
+
*/
|
|
15
|
+
export{S as C,Z as D,ql as E,Td as O,nd as S,Rl as T,O as _,Dl as a,Bl as b,eu as c,fd as d,Il as f,bl as g,mu as h,yu as i,uu as k,il as l,kd as m,_u as n,Md as o,hu as p,ws as r,tl as s,X as t,Mi as u,Ml as v,gd as w,cd as x,_d as y};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import{t as e}from"./chunk-AQ6EADP3-CZhslHi-.js";import{D as t,L as n,O as r,Q as i,V as a,_ as o,a as s,b as c,g as l,h as u,o as d,q as f,r as p,x as m,z as h}from"./chunk-H7VHZCWX-CwFRFlEn.js";import{B as g,i as _,l as v}from"./chunk-QJSWEUOL-kvKBktmc.js";import{t as y}from"./chunk-5IMINLNL-Cl3N81sR.js";import{n as b,t as x}from"./chunk-ZNLK7HRR-B-wIfXTw.js";import{i as S,o as C}from"./chunk-VY2OSTJR-BYk2nUI_.js";import{n as ee,t as w}from"./chunk-DZP67EKU-9RpG5Rdc.js";import{r as T}from"./chunk-Z6V44ARX-CWGOZvke.js";import{i as E}from"./chunk-VRZKL3EH-BzaZ6KlD.js";var D=e((e,t)=>{if(t)return`translate(`+-e.width/2+`, `+-e.height/2+`)`;let n=e.x??0,r=e.y??0;return`translate(`+-(n+e.width/2)+`, `+-(r+e.height/2)+`)`},`computeLabelTransform`),O={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},k={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function A(e,t){if(e===void 0||t===void 0)return{angle:0,deltaX:0,deltaY:0};e=j(e),t=j(t);let[n,r]=[e.x,e.y],[i,a]=[t.x,t.y],o=i-n,s=a-r;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}e(A,`calculateDeltaAndAngle`);var j=e(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,`pointTransformer`),te=e(t=>({x:e(function(e,n,r){let i=0,a=j(r[0]).x<j(r[r.length-1]).x?`left`:`right`;if(n===0&&Object.hasOwn(O,t.arrowTypeStart)){let{angle:e,deltaX:n}=A(r[0],r[1]);i=O[t.arrowTypeStart]*Math.cos(e)*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(O,t.arrowTypeEnd)){let{angle:e,deltaX:n}=A(r[r.length-1],r[r.length-2]);i=O[t.arrowTypeEnd]*Math.cos(e)*(n>=0?1:-1)}let o=Math.abs(j(e).x-j(r[r.length-1]).x),s=Math.abs(j(e).y-j(r[r.length-1]).y),c=Math.abs(j(e).x-j(r[0]).x),l=Math.abs(j(e).y-j(r[0]).y),u=O[t.arrowTypeStart],d=O[t.arrowTypeEnd];if(o<d&&o>0&&s<d){let e=d+1-o;e*=a===`right`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`right`?-1:1,i+=e}return j(e).x+i},`x`),y:e(function(e,n,r){let i=0,a=j(r[0]).y<j(r[r.length-1]).y?`down`:`up`;if(n===0&&Object.hasOwn(O,t.arrowTypeStart)){let{angle:e,deltaY:n}=A(r[0],r[1]);i=O[t.arrowTypeStart]*Math.abs(Math.sin(e))*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(O,t.arrowTypeEnd)){let{angle:e,deltaY:n}=A(r[r.length-1],r[r.length-2]);i=O[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(n>=0?1:-1)}let o=Math.abs(j(e).y-j(r[r.length-1]).y),s=Math.abs(j(e).x-j(r[r.length-1]).x),c=Math.abs(j(e).y-j(r[0]).y),l=Math.abs(j(e).x-j(r[0]).x),u=O[t.arrowTypeStart],d=O[t.arrowTypeEnd];if(o<d&&o>0&&s<d){let e=d+1-o;e*=a===`up`?-1:1,i-=e}if(c<u&&c>0&&l<u){let e=u+1-c;e*=a===`up`?-1:1,i+=e}return j(e).y+i},`y`)}),`getLineFunctionsWithOffset`),ne=e((e,t,n,r,i,a=!1,o)=>{t.arrowTypeStart&&P(e,`start`,t.arrowTypeStart,n,r,i,a,o),t.arrowTypeEnd&&P(e,`end`,t.arrowTypeEnd,n,r,i,a,o)},`addEdgeMarkers`),M={arrow_cross:{type:`cross`,fill:!1},arrow_point:{type:`point`,fill:!0},arrow_barb:{type:`barb`,fill:!0},arrow_barb_neo:{type:`barb`,fill:!0},arrow_circle:{type:`circle`,fill:!1},aggregation:{type:`aggregation`,fill:!1},extension:{type:`extension`,fill:!1},composition:{type:`composition`,fill:!0},dependency:{type:`dependency`,fill:!0},lollipop:{type:`lollipop`,fill:!1},only_one:{type:`onlyOne`,fill:!1},zero_or_one:{type:`zeroOrOne`,fill:!1},one_or_more:{type:`oneOrMore`,fill:!1},zero_or_more:{type:`zeroOrMore`,fill:!1},requirement_arrow:{type:`requirement_arrow`,fill:!1},requirement_contains:{type:`requirement_contains`,fill:!1}},N=[`cross`,`point`,`circle`,`lollipop`,`aggregation`,`extension`,`composition`,`dependency`,`barb`],P=e((e,t,n,r,i,a,o=!1,s)=>{if(!n||n===`none`)return;let c=M[n],l=c&&N.includes(c.type);if(!c){f.warn(`Unknown arrow type: ${n}`);return}let u=`${i}_${a}-${c.type}${t===`start`?`Start`:`End`}${o&&l?`-margin`:``}`;if(s&&s.trim()!==``){let n=`${u}_${s.replace(/[^\dA-Za-z]/g,`_`)}`;if(!document.getElementById(n)){let e=document.getElementById(u);if(e){let t=e.cloneNode(!0);t.id=n,t.querySelectorAll(`path, circle, line`).forEach(e=>{e.setAttribute(`stroke`,s),c.fill&&e.setAttribute(`fill`,s)}),e.parentNode?.appendChild(t)}}e.attr(`marker-${t}`,`url(${r}#${n})`)}else e.attr(`marker-${t}`,`url(${r}#${u})`)},`addEdgeMarker`),re=e(e=>typeof e==`string`?e:g()?.flowchart?.curve,`resolveEdgeCurveType`),F=new Map,I=new Map,L=e(()=>{F.clear(),I.clear()},`clear`),R=e(e=>!!(e.label||e.startLabelLeft||e.startLabelRight||e.endLabelLeft||e.endLabelRight),`hasEdgeLabel`),z=e(e=>e?typeof e==`string`?e:e.reduce((e,t)=>e+`;`+t,``):``,`getLabelStyles`),B=e(async(e,t)=>{let n=g(),r=_(n),{labelStyles:i}=x(t);t.labelStyle=i;let o=e.insert(`g`).attr(`class`,`edgeLabel`),s=o.insert(`g`).attr(`class`,`label`).attr(`data-id`,t.id),c=t.labelType===`markdown`,l=await ee(e,t.label,{style:z(t.labelStyle),useHtmlLabels:r,addSvgBackground:!0,isNode:!1,markdown:c,width:void 0},n);s.node().appendChild(l),f.info(`abc82`,t,t.labelType);let u,d;if(r){let e=l.children[0],t=a(l);u=await w.measure(()=>e.getBoundingClientRect()),d=u,t.attr(`width`,u.width),t.attr(`height`,u.height)}else{let e=a(l).select(`text`).node();await w.measure(()=>{u=l.getBBox(),d=e&&typeof e.getBBox==`function`?e.getBBox():u})}s.attr(`transform`,D(d,r)),F.set(t.id,o),t.width=u.width,t.height=u.height;let p;if(t.startLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),o=await T(i,t.startLabelLeft,z(t.labelStyle)||``,!1,!1);p=o;let s=o.getBBox();if(r){let e=o.children[0],t=a(o);s=e.getBoundingClientRect(),t.attr(`width`,s.width),t.attr(`height`,s.height)}i.attr(`transform`,D(s,r)),I.get(t.id)||I.set(t.id,{}),I.get(t.id).startLeft=n,V(p,t.startLabelLeft)}if(t.startLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),o=await T(i,t.startLabelRight,z(t.labelStyle)||``,!1,!1);p=o;let s=o.getBBox();if(r){let e=o.children[0],t=a(o);s=e.getBoundingClientRect(),t.attr(`width`,s.width),t.attr(`height`,s.height)}i.attr(`transform`,D(s,r)),I.get(t.id)||I.set(t.id,{}),I.get(t.id).startRight=n,V(p,t.startLabelRight)}if(t.endLabelLeft){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),o=await T(n,t.endLabelLeft,z(t.labelStyle)||``,!1,!1);p=o;let s=o.getBBox();if(r){let e=o.children[0],t=a(o);s=e.getBoundingClientRect(),t.attr(`width`,s.width),t.attr(`height`,s.height)}i.attr(`transform`,D(s,r)),I.get(t.id)||I.set(t.id,{}),I.get(t.id).endLeft=n,V(p,t.endLabelLeft)}if(t.endLabelRight){let n=e.insert(`g`).attr(`class`,`edgeTerminals`),i=n.insert(`g`).attr(`class`,`inner`),o=await T(n,t.endLabelRight,z(t.labelStyle)||``,!1,!1);p=o;let s=o.getBBox();if(r){let e=o.children[0],t=a(o);s=e.getBoundingClientRect(),t.attr(`width`,s.width),t.attr(`height`,s.height)}i.attr(`transform`,D(s,r)),I.get(t.id)||I.set(t.id,{}),I.get(t.id).endRight=n,V(p,t.endLabelRight)}return l},`insertEdgeLabel`);function V(e,t){_(g())&&e&&(e.style.width=t.length*9+`px`,e.style.height=`12px`)}e(V,`setTerminalWidth`);var H=e((e,t)=>{f.debug(`Moving label abc88 `,e.id,e.label,F.get(e.id),t);let n=t.updatedPath?t.updatedPath:t.originalPath,r=g(),{subGraphTitleTotalMargin:i}=E(r);if(e.label){let r=F.get(e.id),a=e.x,o=e.y;if(n){let r=C.calcLabelPosition(n);f.debug(`Moving label `+e.label+` from (`,a,`,`,o,`) to (`,r.x,`,`,r.y,`) abc88`),t.updatedPath&&(a=r.x,o=r.y)}r.attr(`transform`,`translate(${a}, ${o+i/2})`)}if(e.startLabelLeft){let t=I.get(e.id).startLeft,r=e.x,i=e.y;if(n){let t=C.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.startLabelRight){let t=I.get(e.id).startRight,r=e.x,i=e.y;if(n){let t=C.calcTerminalLabelPosition(e.arrowTypeStart?10:0,`start_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelLeft){let t=I.get(e.id).endLeft,r=e.x,i=e.y;if(n){let t=C.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_left`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}if(e.endLabelRight){let t=I.get(e.id).endRight,r=e.x,i=e.y;if(n){let t=C.calcTerminalLabelPosition(e.arrowTypeEnd?10:0,`end_right`,n);r=t.x,i=t.y}t.attr(`transform`,`translate(${r}, ${i})`)}},`positionEdgeLabel`),ie=e((e,t)=>{if(!e?.isLabelEdge||!e?.id?.endsWith(`-to-label`)||!Array.isArray(t)||t.length!==2)return t;let[n,r]=t,i=Math.abs(r.x-n.x),a=Math.abs(r.y-n.y);return i<.001||a<.001?t:a>=i?[n,{x:n.x,y:r.y},r]:[n,{x:r.x,y:n.y},r]},`orthogonalizeToLabelClippedPoints`),U=e((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),o=e.width/2,s=e.height/2;return i>=o||a>=s},`outsideNode`),W=e((e,t,n)=>{f.debug(`intersection calc abc89:
|
|
2
|
+
outsidePoint: ${JSON.stringify(t)}
|
|
3
|
+
insidePoint : ${JSON.stringify(n)}
|
|
4
|
+
node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);let r=e.x,i=e.y,a=Math.abs(r-n.x),o=e.width/2,s=n.x<t.x?o-a:o+a,c=e.height/2,l=Math.abs(t.y-n.y),u=Math.abs(t.x-n.x);if(Math.abs(i-t.y)*o>Math.abs(r-t.x)*c){let e=n.y<t.y?t.y-c-i:i-c-t.y;s=u*e/l;let r={x:n.x<t.x?n.x+s:n.x-u+s,y:n.y<t.y?n.y+l-e:n.y-l+e};return s===0&&(r.x=t.x,r.y=t.y),u===0&&(r.x=t.x),l===0&&(r.y=t.y),f.debug(`abc89 top/bottom calc, Q ${l}, q ${e}, R ${u}, r ${s}`,r),r}{s=n.x<t.x?t.x-o-r:r-o-t.x;let e=l*s/u,i=n.x<t.x?n.x+u-s:n.x-u+s,a=n.y<t.y?n.y+e:n.y-e;return f.debug(`sides calc abc89, Q ${l}, q ${e}, R ${u}, r ${s}`,{_x:i,_y:a}),s===0&&(i=t.x,a=t.y),u===0&&(i=t.x),l===0&&(a=t.y),{x:i,y:a}}},`intersection`),G=e((e,t)=>{f.warn(`abc88 cutPathAtIntersect`,e,t);let n=[],r=e[0],i=!1;return e.forEach(e=>{if(f.info(`abc88 checking point`,e,t),!U(t,e)&&!i){let a=W(t,r,e);f.debug(`abc88 inside`,e,r,a),f.debug(`abc88 intersection`,a,t);let o=!1;n.forEach(e=>{o||=e.x===a.x&&e.y===a.y}),n.some(e=>e.x===a.x&&e.y===a.y)?f.warn(`abc88 no intersect`,a,n):n.push(a),i=!0}else f.warn(`abc88 outside`,e,r),r=e,i||n.push(e)}),f.debug(`returning points`,n),n},`cutPathAtIntersect`);function K(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],o=e[r+1];(i.x===a.x&&a.y===o.y&&Math.abs(a.x-o.x)>5&&Math.abs(a.y-i.y)>5||i.y===a.y&&a.x===o.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-o.y)>5)&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}e(K,`extractCornerPoints`);var q=e(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},`findAdjacentPoint`),ae=e(function(e){let{cornerPointPositions:t}=K(e),n=[];for(let r=0;r<e.length;r++)if(t.includes(r)){let t=e[r-1],i=e[r+1],a=e[r],o=q(t,a,5),s=q(i,a,5),c=s.x-o.x,l=s.y-o.y;n.push(o);let u=Math.sqrt(2)*2,d={x:a.x,y:a.y};Math.abs(i.x-t.x)>10&&Math.abs(i.y-t.y)>=10?(f.debug(`Corner point fixing`,Math.abs(i.x-t.x),Math.abs(i.y-t.y)),d=a.x===o.x?{x:c<0?o.x-5+u:o.x+5-u,y:l<0?o.y-u:o.y+u}:{x:c<0?o.x-u:o.x+u,y:l<0?o.y-5+u:o.y+5-u}):f.debug(`Corner point skipping fixing`,Math.abs(i.x-t.x),Math.abs(i.y-t.y)),n.push(d,s)}else n.push(e[r]);return n},`fixCorners`),oe=e((e,t,n)=>{let r=e-t-n,i=Math.floor(r/4);return`0 ${t} ${Array(Number.isFinite(i)?Math.max(0,i):0).fill(`2 2`).join(` `)} ${n}`},`generateDashArray`),J=e(function(e,_,v,x,ee,w,T,E=!1){if(!T)throw Error(`insertEdge: missing diagramId for edge "${_.id}" \u2014 edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:D,layout:O}=g(),A=_.points,j=!1,M=ee;var N=w;let P=[];for(let e in _.cssCompiledStyles)b(e)||P.push(_.cssCompiledStyles[e]);if(O===`swimlane`){if(N.intersect&&M.intersect&&Array.isArray(A)&&A.length>=2){if(A.length===2)A=[M.intersect(A[0]),N.intersect(A[1])];else{let e=A.slice(1,-1),t=e[0],n=e[e.length-1],r=.5,i=Math.abs(A[A.length-1].x-n.x)<r&&Math.abs(A[A.length-1].y-n.y)<r,a=M.intersect(t),o=i?n:N.intersect(n),s=Math.abs(o.x-n.x)<r&&Math.abs(o.y-n.y)<r,c=Math.abs(a.x-t.x)<r&&Math.abs(a.y-t.y)<r?[]:[a],l=s?[]:[o];A=[...c,...e,...l]}}A=ie(_,A)}else N.intersect&&M.intersect&&!E&&(A=A.slice(1,_.points.length-1),A.unshift(M.intersect(A[0])),A.push(N.intersect(A[A.length-1])));let F=btoa(JSON.stringify(A));_.toCluster&&(f.info(`to cluster abc88`,v.get(_.toCluster)),A=G(_.points,v.get(_.toCluster).node),j=!0),_.fromCluster&&(f.debug(`from cluster abc88`,v.get(_.fromCluster),JSON.stringify(A,null,2)),A=G(A.reverse(),v.get(_.fromCluster).node).reverse(),j=!0);let I=A.filter(e=>!Number.isNaN(e.y)),L=re(_.curve);L!==`rounded`&&(I=ae(I));let R=r;switch(L){case`linear`:R=r;break;case`basis`:R=p;break;case`cardinal`:R=d;break;case`bumpX`:R=o;break;case`bumpY`:R=i;break;case`catmullRom`:R=t;break;case`monotoneX`:R=n;break;case`monotoneY`:R=c;break;case`natural`:R=h;break;case`step`:R=m;break;case`stepAfter`:R=u;break;case`stepBefore`:R=l;break;case`rounded`:R=r;break;default:R=p}let{x:z,y:B}=te(_),V=s().x(z).y(B).curve(R),H;switch(_.thickness){case`normal`:H=`edge-thickness-normal`;break;case`thick`:H=`edge-thickness-thick`;break;case`invisible`:H=`edge-thickness-invisible`;break;default:H=`edge-thickness-normal`}switch(_.pattern){case`solid`:H+=` edge-pattern-solid`;break;case`dotted`:H+=` edge-pattern-dotted`;break;case`dashed`:H+=` edge-pattern-dashed`;break;default:H+=` edge-pattern-solid`}let U,W=L===`rounded`?Y(Z(I,_),5):V(I),K=Array.isArray(_.style)?_.style:[_.style],q=K.find(e=>e?.startsWith(`stroke:`)),J=``;_.animate&&(J=`edge-animation-fast`),_.animation&&(J=`edge-animation-`+_.animation);let X=!1;if(_.look===`handDrawn`){let t=y.svg(e);Object.assign([],I);let n=t.path(W,{roughness:.3,seed:D});H+=` transition`,U=a(n).select(`path`).attr(`id`,`${T}-${_.id}`).attr(`class`,` `+H+(_.classes?` `+_.classes:``)+(J?` `+J:``)).attr(`style`,K?K.reduce((e,t)=>e+`;`+t,``):``);let r=U.attr(`d`);U.attr(`d`,r),e.node().appendChild(U.node())}else{let t=P.join(`;`),n=K?K.reduce((e,t)=>e+t+`;`,``):``,r=(t?t+`;`+n+`;`:n)+`;`+(K?K.reduce((e,t)=>e+`;`+t,``):``);U=e.append(`path`).attr(`d`,W).attr(`id`,`${T}-${_.id}`).attr(`class`,` `+H+(_.classes?` `+_.classes:``)+(J?` `+J:``)).attr(`style`,r),q=r.match(/stroke:([^;]+)/)?.[1],X=_.animate===!0||!!_.animation||t.includes(`animation`);let i=U.node(),a=typeof i.getTotalLength==`function`?i.getTotalLength():0,o=k[_.arrowTypeStart]||0,s=k[_.arrowTypeEnd]||0;if(_.look===`neo`&&!X){let e=`stroke-dasharray: ${_.pattern===`dotted`||_.pattern===`dashed`?oe(a,o,s):`0 ${o} ${a-o-s} ${s}`}; stroke-dashoffset: 0;`;U.attr(`style`,e+U.attr(`style`))}}U.attr(`data-edge`,!0),U.attr(`data-et`,`edge`),U.attr(`data-id`,_.id),U.attr(`data-points`,F),U.attr(`data-look`,S(_.look)),_.showPoints&&I.forEach(t=>{e.append(`circle`).style(`stroke`,`red`).style(`fill`,`red`).attr(`r`,1).attr(`cx`,t.x).attr(`cy`,t.y)});let Q=``;(g().flowchart.arrowMarkerAbsolute||g().state.arrowMarkerAbsolute)&&(Q=window.location.protocol+`//`+window.location.host+window.location.pathname+window.location.search,Q=Q.replace(/\(/g,`\\(`).replace(/\)/g,`\\)`)),f.info(`arrowTypeStart`,_.arrowTypeStart),f.info(`arrowTypeEnd`,_.arrowTypeEnd);let se=!X&&_?.look===`neo`;ne(U,_,Q,T,x,se,q);let ce=Math.floor(A.length/2),le=A[ce];C.isLabelCoordinateInPath(le,U.attr(`d`))||(j=!0);let $={};return j&&($.updatedPath=A),$.originalPath=_.points,$},`insertEdge`);function Y(e,t){if(e.length<2)return``;let n=``,r=e.length,i=1e-5;for(let a=0;a<r;a++){let o=e[a],s=e[a-1],c=e[a+1];if(a===0)n+=`M${o.x},${o.y}`;else if(a===r-1)n+=`L${o.x},${o.y}`;else{let e=o.x-s.x,r=o.y-s.y,a=c.x-o.x,l=c.y-o.y,u=Math.hypot(e,r),d=Math.hypot(a,l);if(u<i||d<i){n+=`L${o.x},${o.y}`;continue}let f=e/u,p=r/u,m=a/d,h=l/d,g=f*m+p*h,_=Math.acos(Math.max(-1,Math.min(1,g)));if(_<i||Math.abs(Math.PI-_)<i){n+=`L${o.x},${o.y}`;continue}let v=Math.min(t/Math.sin(_/2),u/2,d/2),y=o.x-f*v,b=o.y-p*v,x=o.x+m*v,S=o.y+h*v;n+=`L${y},${b}`,n+=`Q${o.x},${o.y} ${x},${S}`}}return n}e(Y,`generateRoundedPath`);function X(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}e(X,`calculateDeltaAndAngle`);function Z(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&O[t.arrowTypeStart]){let r=O[t.arrowTypeStart],i=e[0],a=e[1],{angle:o}=X(i,a),s=r*Math.cos(o),c=r*Math.sin(o);n[0].x=i.x+s,n[0].y=i.y+c}let r=e.length;if(r>=2&&O[t.arrowTypeEnd]){let i=O[t.arrowTypeEnd],a=e[r-1],o=e[r-2],{angle:s}=X(o,a),c=i*Math.cos(s),l=i*Math.sin(s);n[r-1].x=a.x-c,n[r-1].y=a.y-l}return n}e(Z,`applyMarkerOffsetsToPoints`);var Q=e((e,t,n,r)=>{t.forEach(t=>{Ee[t](e,n,r)})},`insertMarkers`),se=e((e,t,n)=>{f.trace(`Making markers for `,n),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionStart`).attr(`class`,`marker extension `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,7 L18,13 V 1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionEnd`).attr(`class`,`marker extension `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 1,1 V 13 L18,7 Z`),e.append(`marker`).attr(`id`,n+`_`+t+`-extensionStart-margin`).attr(`class`,`marker extension `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,7 18,13 18,1`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-extensionEnd-margin`).attr(`class`,`marker extension `+t).attr(`refX`,9).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`viewBox`,`0 0 20 14`).append(`polygon`).attr(`points`,`10,1 10,13 18,7`).style(`stroke-width`,2).style(`stroke-dasharray`,`0`)},`extension`),ce=e((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart`).attr(`class`,`marker composition `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd`).attr(`class`,`marker composition `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionStart-margin`).attr(`class`,`marker composition `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`viewBox`,`0 0 15 15`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-compositionEnd-margin`).attr(`class`,`marker composition `+t).attr(`refX`,3.5).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`composition`),le=e((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart`).attr(`class`,`marker aggregation `+t).attr(`refX`,18).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationStart-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,15).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-aggregationEnd-margin`).attr(`class`,`marker aggregation `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,2).attr(`d`,`M 18,7 L9,13 L1,7 L9,1 Z`)},`aggregation`),$=e((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart`).attr(`class`,`marker dependency `+t).attr(`refX`,6).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd`).attr(`class`,`marker dependency `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyStart-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,4).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 5,7 L9,13 L1,7 L9,1 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-dependencyEnd-margin`).attr(`class`,`marker dependency `+t).attr(`refX`,16).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,28).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).style(`stroke-width`,0).attr(`d`,`M 18,7 L9,13 L14,7 L9,1 Z`)},`dependency`),ue=e((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopStart-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,13).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-lollipopEnd-margin`).attr(`class`,`marker lollipop `+t).attr(`refX`,1).attr(`refY`,7).attr(`markerWidth`,190).attr(`markerHeight`,240).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`circle`).attr(`fill`,`transparent`).attr(`cx`,7).attr(`cy`,7).attr(`r`,6).attr(`stroke-width`,2)},`lollipop`),de=e((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd`).attr(`class`,`marker `+t).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`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart`).attr(`class`,`marker `+t).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`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,11.5).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,10.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 0 0 L 11.5 7 L 0 14 z`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-pointStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 11.5 14`).attr(`refX`,1).attr(`refY`,7).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,11.5).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`polygon`).attr(`points`,`0,7 11.5,14 11.5,0`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`point`),fe=e((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd`).attr(`class`,`marker `+t).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`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart`).attr(`class`,`marker `+t).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`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleEnd-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refY`,5).attr(`refX`,12.25).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`),e.append(`marker`).attr(`id`,n+`_`+t+`-circleStart-margin`).attr(`class`,`marker `+t).attr(`viewBox`,`0 0 10 10`).attr(`refX`,-2).attr(`refY`,5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,14).attr(`markerHeight`,14).attr(`orient`,`auto`).append(`circle`).attr(`cx`,`5`).attr(`cy`,`5`).attr(`r`,`5`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,0).style(`stroke-dasharray`,`1,0`)},`circle`),pe=e((e,t,n)=>{e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd`).attr(`class`,`marker cross `+t).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`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart`).attr(`class`,`marker cross `+t).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`),e.append(`marker`).attr(`id`,n+`_`+t+`-crossEnd-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,17.7).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5),e.append(`marker`).attr(`id`,n+`_`+t+`-crossStart-margin`).attr(`class`,`marker cross `+t).attr(`viewBox`,`0 0 15 15`).attr(`refX`,-3.5).attr(`refY`,7.5).attr(`markerUnits`,`userSpaceOnUse`).attr(`markerWidth`,12).attr(`markerHeight`,12).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 1,1 L 14,14 M 1,14 L 14,1`).attr(`class`,`arrowMarkerPath`).style(`stroke-width`,2.5).style(`stroke-dasharray`,`1,0`)},`cross`),me=e((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-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`),he=e((e,t,n)=>{let{themeVariables:r}=v(),{transitionColor:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd`).attr(`refX`,19).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`strokeWidth`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-barbEnd-margin`).attr(`refX`,17).attr(`refY`,7).attr(`markerWidth`,20).attr(`markerHeight`,14).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M 19,7 L11,14 L13,7 L11,0 Z`).attr(`fill`,`${i}`)},`barbNeo`),ge=e((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`)},`only_one`),_e=e((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,21).attr(`cy`,9).attr(`r`,6),r.append(`path`).attr(`d`,`M9,0 L9,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,9).attr(`r`,6),i.append(`path`).attr(`d`,`M21,0 L21,18`)},`zero_or_one`),ve=e((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`)},`one_or_more`),ye=e((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);r.append(`circle`).attr(`fill`,`white`).attr(`cx`,48).attr(`cy`,18).attr(`r`,6),r.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`);let i=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`);i.append(`circle`).attr(`fill`,`white`).attr(`cx`,9).attr(`cy`,18).attr(`r`,6),i.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`)},`zero_or_more`),be=e((e,t,n)=>{let{themeVariables:r}=v(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneStart`).attr(`class`,`marker onlyOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M9,0 L9,18 M15,0 L15,18`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-onlyOneEnd`).attr(`class`,`marker onlyOne `+t).attr(`refX`,18).attr(`refY`,9).attr(`markerWidth`,18).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M3,0 L3,18 M9,0 L9,18`).attr(`stroke-width`,`${i}`)},`only_one_neo`),xe=e((e,t,n)=>{let{themeVariables:r}=v(),{strokeWidth:i,mainBkg:a}=r,o=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneStart`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,0).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);o.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,21).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),o.append(`path`).attr(`d`,`M9,0 L9,18`).attr(`stroke-width`,`${i}`);let s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrOneEnd`).attr(`class`,`marker zeroOrOne `+t).attr(`refX`,30).attr(`refY`,9).attr(`markerWidth`,30).attr(`markerHeight`,18).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);s.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,9).attr(`cy`,9).attr(`stroke-width`,`${i}`).attr(`r`,6),s.append(`path`).attr(`d`,`M21,0 L21,18`).attr(`stroke-width`,`${i}`)},`zero_or_one_neo`),Se=e((e,t,n)=>{let{themeVariables:r}=v(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreStart`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`path`).attr(`d`,`M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27`).attr(`stroke-width`,`${i}`),e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-oneOrMoreEnd`).attr(`class`,`marker oneOrMore `+t).attr(`refX`,27).attr(`refY`,18).attr(`markerWidth`,45).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`).append(`path`).attr(`d`,`M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18`).attr(`stroke-width`,`${i}`)},`one_or_more_neo`),Ce=e((e,t,n)=>{let{themeVariables:r}=v(),{strokeWidth:i,mainBkg:a}=r,o=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreStart`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,18).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`markerUnits`,`userSpaceOnUse`).attr(`orient`,`auto`);o.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,45.5).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),o.append(`path`).attr(`d`,`M0,18 Q18,0 36,18 Q18,36 0,18`).attr(`stroke-width`,`${i}`);let s=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-zeroOrMoreEnd`).attr(`class`,`marker zeroOrMore `+t).attr(`refX`,39).attr(`refY`,18).attr(`markerWidth`,57).attr(`markerHeight`,36).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`);s.append(`circle`).attr(`fill`,a??`white`).attr(`cx`,11).attr(`cy`,18).attr(`r`,6).attr(`stroke-width`,`${i}`),s.append(`path`).attr(`d`,`M21,18 Q39,0 57,18 Q39,36 21,18`).attr(`stroke-width`,`${i}`)},`zero_or_more_neo`),we=e((e,t,n)=>{e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`path`).attr(`d`,`M0,0
|
|
5
|
+
L20,10
|
|
6
|
+
M20,10
|
|
7
|
+
L0,20`)},`requirement_arrow`),Te=e((e,t,n)=>{let{themeVariables:r}=v(),{strokeWidth:i}=r;e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_arrowEnd`).attr(`refX`,20).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).attr(`stroke-width`,`${i}`).attr(`viewBox`,`0 0 25 20`).append(`path`).attr(`d`,`M0,0
|
|
8
|
+
L20,10
|
|
9
|
+
M20,10
|
|
10
|
+
L0,20`).attr(`stroke-linejoin`,`miter`)},`requirement_arrow_neo`),Ee={extension:se,composition:ce,aggregation:le,dependency:$,lollipop:ue,point:de,circle:fe,cross:pe,barb:me,barbNeo:he,only_one:ge,zero_or_one:_e,one_or_more:ve,zero_or_more:ye,only_one_neo:be,zero_or_one_neo:xe,one_or_more_neo:Se,zero_or_more_neo:Ce,requirement_arrow:we,requirement_contains:e((e,t,n)=>{let r=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_containsStart`).attr(`refX`,0).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).append(`g`);r.append(`circle`).attr(`cx`,10).attr(`cy`,10).attr(`r`,9).attr(`fill`,`none`),r.append(`line`).attr(`x1`,1).attr(`x2`,19).attr(`y1`,10).attr(`y2`,10),r.append(`line`).attr(`y1`,1).attr(`y2`,19).attr(`x1`,10).attr(`x2`,10)},`requirement_contains`),requirement_arrow_neo:Te,requirement_contains_neo:e((e,t,n)=>{let{themeVariables:r}=v(),{strokeWidth:i}=r,a=e.append(`defs`).append(`marker`).attr(`id`,n+`_`+t+`-requirement_containsStart`).attr(`refX`,0).attr(`refY`,10).attr(`markerWidth`,20).attr(`markerHeight`,20).attr(`orient`,`auto`).attr(`markerUnits`,`userSpaceOnUse`).append(`g`);a.append(`circle`).attr(`cx`,10).attr(`cy`,10).attr(`r`,9).attr(`fill`,`none`),a.append(`line`).attr(`x1`,1).attr(`x2`,19).attr(`y1`,10).attr(`y2`,10),a.append(`line`).attr(`y1`,1).attr(`y2`,19).attr(`x1`,10).attr(`x2`,10),a.selectAll(`*`).attr(`stroke-width`,`${i}`)},`requirement_contains_neo`)},De=Q;export{De as a,H as c,F as i,O as l,L as n,I as o,B as r,J as s,R as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./chunk-AQ6EADP3-CZhslHi-.js";function t(e,t,n){if(e&&e.length){let[r,i]=t,a=Math.PI/180*n,o=Math.cos(a),s=Math.sin(a);for(let t of e){let[e,n]=t;t[0]=(e-r)*o-(n-i)*s+r,t[1]=(e-r)*s+(n-i)*o+i}}}e(t,`t`);function n(e,t){return e[0]===t[0]&&e[1]===t[1]}e(n,`e`);function r(e,r,i,a=1){let o=i,s=Math.max(r,.1),c=e[0]&&e[0][0]&&typeof e[0][0]==`number`?[e]:e,l=[0,0];if(o)for(let e of c)t(e,l,o);let u=(function(e,t,r){let i=[];for(let t of e){let e=[...t];n(e[0],e[e.length-1])||e.push([e[0][0],e[0][1]]),e.length>2&&i.push(e)}let a=[];t=Math.max(t,.1);let o=[];for(let e of i)for(let t=0;t<e.length-1;t++){let n=e[t],r=e[t+1];if(n[1]!==r[1]){let e=Math.min(n[1],r[1]);o.push({ymin:e,ymax:Math.max(n[1],r[1]),x:e===n[1]?n[0]:r[0],islope:(r[0]-n[0])/(r[1]-n[1])})}}if(o.sort(((e,t)=>e.ymin<t.ymin?-1:e.ymin>t.ymin?1:e.x<t.x?-1:e.x>t.x?1:e.ymax===t.ymax?0:(e.ymax-t.ymax)/Math.abs(e.ymax-t.ymax))),!o.length)return a;let s=[],c=o[0].ymin,l=0;for(;s.length||o.length;){if(o.length){let e=-1;for(let t=0;t<o.length&&!(o[t].ymin>c);t++)e=t;o.splice(0,e+1).forEach((e=>{s.push({s:c,edge:e})}))}if(s=s.filter((e=>!(e.edge.ymax<=c))),s.sort(((e,t)=>e.edge.x===t.edge.x?0:(e.edge.x-t.edge.x)/Math.abs(e.edge.x-t.edge.x))),(r!==1||l%t==0)&&s.length>1)for(let e=0;e<s.length;e+=2){let t=e+1;if(t>=s.length)break;let n=s[e].edge,r=s[t].edge;a.push([[Math.round(n.x),c],[Math.round(r.x),c]])}c+=r,s.forEach((e=>{e.edge.x=e.edge.x+r*e.edge.islope})),l++}return a})(c,s,a);if(o){for(let e of c)t(e,l,-o);(function(e,n,r){let i=[];e.forEach((e=>i.push(...e))),t(i,n,r)})(u,l,-o)}return u}e(r,`s`);function i(e,t){let n=t.hachureAngle+90,i=t.hachureGap;i<0&&(i=4*t.strokeWidth),i=Math.round(Math.max(i,.1));let a=1;return t.roughness>=1&&(t.randomizer?.next()||Math.random())>.7&&(a=i),r(e,i,n,a||1)}e(i,`n`);var a=class{static{e(this,`o`)}constructor(e){this.helper=e}fillPolygons(e,t){return this._fillPolygons(e,t)}_fillPolygons(e,t){let n=i(e,t);return{type:`fillSketch`,ops:this.renderLines(n,t)}}renderLines(e,t){let n=[];for(let r of e)n.push(...this.helper.doubleLineOps(r[0][0],r[0][1],r[1][0],r[1][1],t));return n}};function o(e){let t=e[0],n=e[1];return Math.sqrt((t[0]-n[0])**2+(t[1]-n[1])**2)}e(o,`a`);var s=class extends a{static{e(this,`h`)}fillPolygons(e,t){let n=t.hachureGap;n<0&&(n=4*t.strokeWidth),n=Math.max(n,.1);let r=i(e,Object.assign({},t,{hachureGap:n})),a=Math.PI/180*t.hachureAngle,s=[],c=.5*n*Math.cos(a),l=.5*n*Math.sin(a);for(let[e,t]of r)o([e,t])&&s.push([[e[0]-c,e[1]+l],[...t]],[[e[0]+c,e[1]-l],[...t]]);return{type:`fillSketch`,ops:this.renderLines(s,t)}}},c=class extends a{static{e(this,`r`)}fillPolygons(e,t){let n=this._fillPolygons(e,t),r=Object.assign({},t,{hachureAngle:t.hachureAngle+90}),i=this._fillPolygons(e,r);return n.ops=n.ops.concat(i.ops),n}},l=class{static{e(this,`i`)}constructor(e){this.helper=e}fillPolygons(e,t){let n=i(e,t=Object.assign({},t,{hachureAngle:0}));return this.dotsOnLines(n,t)}dotsOnLines(e,t){let n=[],r=t.hachureGap;r<0&&(r=4*t.strokeWidth),r=Math.max(r,.1);let i=t.fillWeight;i<0&&(i=t.strokeWidth/2);let a=r/4;for(let s of e){let e=o(s),c=e/r,l=Math.ceil(c)-1,u=e-l*r,d=(s[0][0]+s[1][0])/2-r/4,f=Math.min(s[0][1],s[1][1]);for(let e=0;e<l;e++){let o=f+u+e*r,s=d-a+2*Math.random()*a,c=o-a+2*Math.random()*a,l=this.helper.ellipse(s,c,i,i,t);n.push(...l.ops)}}return{type:`fillSketch`,ops:n}}},u=class{static{e(this,`c`)}constructor(e){this.helper=e}fillPolygons(e,t){let n=i(e,t);return{type:`fillSketch`,ops:this.dashedLine(n,t)}}dashedLine(e,t){let n=t.dashOffset<0?t.hachureGap<0?4*t.strokeWidth:t.hachureGap:t.dashOffset,r=t.dashGap<0?t.hachureGap<0?4*t.strokeWidth:t.hachureGap:t.dashGap,i=[];return e.forEach((e=>{let a=o(e),s=Math.floor(a/(n+r)),c=(a+r-s*(n+r))/2,l=e[0],u=e[1];l[0]>u[0]&&(l=e[1],u=e[0]);let d=Math.atan((u[1]-l[1])/(u[0]-l[0]));for(let e=0;e<s;e++){let a=e*(n+r),o=a+n,s=[l[0]+a*Math.cos(d)+c*Math.cos(d),l[1]+a*Math.sin(d)+c*Math.sin(d)],u=[l[0]+o*Math.cos(d)+c*Math.cos(d),l[1]+o*Math.sin(d)+c*Math.sin(d)];i.push(...this.helper.doubleLineOps(s[0],s[1],u[0],u[1],t))}})),i}},d=class{static{e(this,`l`)}constructor(e){this.helper=e}fillPolygons(e,t){let n=t.hachureGap<0?4*t.strokeWidth:t.hachureGap,r=t.zigzagOffset<0?n:t.zigzagOffset,a=i(e,t=Object.assign({},t,{hachureGap:n+r}));return{type:`fillSketch`,ops:this.zigzagLines(a,r,t)}}zigzagLines(e,t,n){let r=[];return e.forEach((e=>{let i=o(e),a=Math.round(i/(2*t)),s=e[0],c=e[1];s[0]>c[0]&&(s=e[1],c=e[0]);let l=Math.atan((c[1]-s[1])/(c[0]-s[0]));for(let e=0;e<a;e++){let i=2*e*t,a=2*(e+1)*t,o=Math.sqrt(2*t**2),c=[s[0]+i*Math.cos(l),s[1]+i*Math.sin(l)],u=[s[0]+a*Math.cos(l),s[1]+a*Math.sin(l)],d=[c[0]+o*Math.cos(l+Math.PI/4),c[1]+o*Math.sin(l+Math.PI/4)];r.push(...this.helper.doubleLineOps(c[0],c[1],d[0],d[1],n),...this.helper.doubleLineOps(d[0],d[1],u[0],u[1],n))}})),r}},f={},p=class{static{e(this,`p`)}constructor(e){this.seed=e}next(){return this.seed?(2**31-1&(this.seed=Math.imul(48271,this.seed)))/2**31:Math.random()}},m=0,h=1,g=2,_={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function v(e,t){return e.type===t}e(v,`k`);function y(e){let t=[],n=(function(e){let t=[];for(;e!==``;)if(e.match(/^([ \t\r\n,]+)/))e=e.substr(RegExp.$1.length);else if(e.match(/^([aAcChHlLmMqQsStTvVzZ])/))t[t.length]={type:m,text:RegExp.$1},e=e.substr(RegExp.$1.length);else{if(!e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];t[t.length]={type:h,text:`${parseFloat(RegExp.$1)}`},e=e.substr(RegExp.$1.length)}return t[t.length]={type:g,text:``},t})(e),r=`BOD`,i=0,a=n[i];for(;!v(a,g);){let o=0,s=[];if(r===`BOD`){if(a.text!==`M`&&a.text!==`m`)return y(`M0,0`+e);i++,o=_[a.text],r=a.text}else v(a,h)?o=_[r]:(i++,o=_[a.text],r=a.text);if(!(i+o<n.length))throw Error(`Path data ended short`);for(let e=i;e<i+o;e++){let t=n[e];if(!v(t,h))throw Error(`Param not a number: `+r+`,`+t.text);s[s.length]=+t.text}if(typeof _[r]!=`number`)throw Error(`Bad segment: `+r);{let e={key:r,data:s};t.push(e),i+=o,a=n[i],r===`M`&&(r=`L`),r===`m`&&(r=`l`)}}return t}e(y,`b`);function b(e){let t=0,n=0,r=0,i=0,a=[];for(let{key:o,data:s}of e)switch(o){case`M`:a.push({key:`M`,data:[...s]}),[t,n]=s,[r,i]=s;break;case`m`:t+=s[0],n+=s[1],a.push({key:`M`,data:[t,n]}),r=t,i=n;break;case`L`:a.push({key:`L`,data:[...s]}),[t,n]=s;break;case`l`:t+=s[0],n+=s[1],a.push({key:`L`,data:[t,n]});break;case`C`:a.push({key:`C`,data:[...s]}),t=s[4],n=s[5];break;case`c`:{let e=s.map(((e,r)=>r%2?e+n:e+t));a.push({key:`C`,data:e}),t=e[4],n=e[5];break}case`Q`:a.push({key:`Q`,data:[...s]}),t=s[2],n=s[3];break;case`q`:{let e=s.map(((e,r)=>r%2?e+n:e+t));a.push({key:`Q`,data:e}),t=e[2],n=e[3];break}case`A`:a.push({key:`A`,data:[...s]}),t=s[5],n=s[6];break;case`a`:t+=s[5],n+=s[6],a.push({key:`A`,data:[s[0],s[1],s[2],s[3],s[4],t,n]});break;case`H`:a.push({key:`H`,data:[...s]}),t=s[0];break;case`h`:t+=s[0],a.push({key:`H`,data:[t]});break;case`V`:a.push({key:`V`,data:[...s]}),n=s[0];break;case`v`:n+=s[0],a.push({key:`V`,data:[n]});break;case`S`:a.push({key:`S`,data:[...s]}),t=s[2],n=s[3];break;case`s`:{let e=s.map(((e,r)=>r%2?e+n:e+t));a.push({key:`S`,data:e}),t=e[2],n=e[3];break}case`T`:a.push({key:`T`,data:[...s]}),t=s[0],n=s[1];break;case`t`:t+=s[0],n+=s[1],a.push({key:`T`,data:[t,n]});break;case`Z`:case`z`:a.push({key:`Z`,data:[]}),t=r,n=i}return a}e(b,`y`);function x(e){let t=[],n=``,r=0,i=0,a=0,o=0,s=0,c=0;for(let{key:l,data:u}of e){switch(l){case`M`:t.push({key:`M`,data:[...u]}),[r,i]=u,[a,o]=u;break;case`C`:t.push({key:`C`,data:[...u]}),r=u[4],i=u[5],s=u[2],c=u[3];break;case`L`:t.push({key:`L`,data:[...u]}),[r,i]=u;break;case`H`:r=u[0],t.push({key:`L`,data:[r,i]});break;case`V`:i=u[0],t.push({key:`L`,data:[r,i]});break;case`S`:{let e=0,a=0;n===`C`||n===`S`?(e=r+(r-s),a=i+(i-c)):(e=r,a=i),t.push({key:`C`,data:[e,a,...u]}),s=u[0],c=u[1],r=u[2],i=u[3];break}case`T`:{let[e,a]=u,o=0,l=0;n===`Q`||n===`T`?(o=r+(r-s),l=i+(i-c)):(o=r,l=i);let d=r+2*(o-r)/3,f=i+2*(l-i)/3,p=e+2*(o-e)/3,m=a+2*(l-a)/3;t.push({key:`C`,data:[d,f,p,m,e,a]}),s=o,c=l,r=e,i=a;break}case`Q`:{let[e,n,a,o]=u,l=r+2*(e-r)/3,d=i+2*(n-i)/3,f=a+2*(e-a)/3,p=o+2*(n-o)/3;t.push({key:`C`,data:[l,d,f,p,a,o]}),s=e,c=n,r=a,i=o;break}case`A`:{let e=Math.abs(u[0]),n=Math.abs(u[1]),a=u[2],o=u[3],s=u[4],c=u[5],l=u[6];e===0||n===0?(t.push({key:`C`,data:[r,i,c,l,c,l]}),r=c,i=l):(r!==c||i!==l)&&(C(r,i,c,l,e,n,a,o,s).forEach((function(e){t.push({key:`C`,data:e})})),r=c,i=l);break}case`Z`:t.push({key:`Z`,data:[]}),r=a,i=o}n=l}return t}e(x,`m`);function S(e,t,n){return[e*Math.cos(n)-t*Math.sin(n),e*Math.sin(n)+t*Math.cos(n)]}e(S,`w`);function C(e,t,n,r,i,a,o,s,c,l){let u=(d=o,Math.PI*d/180);var d;let f=[],p=0,m=0,h=0,g=0;if(l)[p,m,h,g]=l;else{[e,t]=S(e,t,-u),[n,r]=S(n,r,-u);let o=(e-n)/2,l=(t-r)/2,d=o*o/(i*i)+l*l/(a*a);d>1&&(d=Math.sqrt(d),i*=d,a*=d);let f=i*i,_=a*a,v=f*_-f*l*l-_*o*o,y=f*l*l+_*o*o,b=(s===c?-1:1)*Math.sqrt(Math.abs(v/y));h=b*i*l/a+(e+n)/2,g=b*-a*o/i+(t+r)/2,p=Math.asin(parseFloat(((t-g)/a).toFixed(9))),m=Math.asin(parseFloat(((r-g)/a).toFixed(9))),e<h&&(p=Math.PI-p),n<h&&(m=Math.PI-m),p<0&&(p=2*Math.PI+p),m<0&&(m=2*Math.PI+m),c&&p>m&&(p-=2*Math.PI),!c&&m>p&&(m-=2*Math.PI)}let _=m-p;if(Math.abs(_)>120*Math.PI/180){let e=m,t=n,s=r;m=c&&m>p?p+120*Math.PI/180*1:p+120*Math.PI/180*-1,f=C(n=h+i*Math.cos(m),r=g+a*Math.sin(m),t,s,i,a,o,0,c,[m,e,h,g])}_=m-p;let v=Math.cos(p),y=Math.sin(p),b=Math.cos(m),x=Math.sin(m),w=Math.tan(_/4),T=4/3*i*w,E=4/3*a*w,D=[e,t],O=[e+T*y,t-E*v],k=[n+T*x,r-E*b],A=[n,r];if(O[0]=2*D[0]-O[0],O[1]=2*D[1]-O[1],l)return[O,k,A].concat(f);{f=[O,k,A].concat(f);let e=[];for(let t=0;t<f.length;t+=3){let n=S(f[t][0],f[t][1],u),r=S(f[t+1][0],f[t+1][1],u),i=S(f[t+2][0],f[t+2][1],u);e.push([n[0],n[1],r[0],r[1],i[0],i[1]])}return e}}e(C,`x`);var w={randOffset:e(function(e,t){return L(e,t)},`randOffset`),randOffsetWithRange:e(function(e,t,n){return I(e,t,n)},`randOffsetWithRange`),ellipse:e(function(e,t,n,r,i){return A(e,t,i,k(n,r,i)).opset},`ellipse`),doubleLineOps:e(function(e,t,n,r,i){return R(e,t,n,r,i,!0)},`doubleLineOps`)};function T(e,t,n,r,i){return{type:`path`,ops:R(e,t,n,r,i)}}e(T,`v`);function E(e,t,n){let r=(e||[]).length;if(r>2){let i=[];for(let t=0;t<r-1;t++)i.push(...R(e[t][0],e[t][1],e[t+1][0],e[t+1][1],n));return t&&i.push(...R(e[r-1][0],e[r-1][1],e[0][0],e[0][1],n)),{type:`path`,ops:i}}return r===2?T(e[0][0],e[0][1],e[1][0],e[1][1],n):{type:`path`,ops:[]}}e(E,`S`);function D(e,t,n,r,i){return(function(e,t){return E(e,!0,t)})([[e,t],[e+n,t],[e+n,t+r],[e,t+r]],i)}e(D,`O`);function O(e,t){if(e.length){let n=typeof e[0][0]==`number`?[e]:e,r=B(n[0],1*(1+.2*t.roughness),t),i=t.disableMultiStroke?[]:B(n[0],1.5*(1+.22*t.roughness),P(t));for(let e=1;e<n.length;e++){let a=n[e];if(a.length){let e=B(a,1*(1+.2*t.roughness),t),n=t.disableMultiStroke?[]:B(a,1.5*(1+.22*t.roughness),P(t));for(let t of e)t.op!==`move`&&r.push(t);for(let e of n)e.op!==`move`&&i.push(e)}}return{type:`path`,ops:r.concat(i)}}return{type:`path`,ops:[]}}e(O,`L`);function k(e,t,n){let r=Math.sqrt(2*Math.PI*Math.sqrt(((e/2)**2+(t/2)**2)/2)),i=Math.ceil(Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*r)),a=2*Math.PI/i,o=Math.abs(e/2),s=Math.abs(t/2),c=1-n.curveFitting;return o+=L(o*c,n),s+=L(s*c,n),{increment:a,rx:o,ry:s}}e(k,`T`);function A(e,t,n,r){let[i,a]=H(r.increment,e,t,r.rx,r.ry,1,r.increment*I(.1,I(.4,1,n),n),n),o=V(i,null,n);if(!n.disableMultiStroke&&n.roughness!==0){let[i]=H(r.increment,e,t,r.rx,r.ry,1.5,0,n),a=V(i,null,n);o=o.concat(a)}return{estimatedPoints:a,opset:{type:`path`,ops:o}}}e(A,`D`);function j(e,t,n,r,i,a,o,s,c){let l=e,u=t,d=Math.abs(n/2),f=Math.abs(r/2);d+=L(.01*d,c),f+=L(.01*f,c);let p=i,m=a;for(;p<0;)p+=2*Math.PI,m+=2*Math.PI;m-p>2*Math.PI&&(p=0,m=2*Math.PI);let h=2*Math.PI/c.curveStepCount,g=Math.min(h/2,(m-p)/2),_=U(g,l,u,d,f,p,m,1,c);if(!c.disableMultiStroke){let e=U(g,l,u,d,f,p,m,1.5,c);_.push(...e)}return o&&(s?_.push(...R(l,u,l+d*Math.cos(p),u+f*Math.sin(p),c),...R(l,u,l+d*Math.cos(m),u+f*Math.sin(m),c)):_.push({op:`lineTo`,data:[l,u]},{op:`lineTo`,data:[l+d*Math.cos(p),u+f*Math.sin(p)]})),{type:`path`,ops:_}}e(j,`A`);function ee(e,t){let n=x(b(y(e))),r=[],i=[0,0],a=[0,0];for(let{key:e,data:o}of n)switch(e){case`M`:a=[o[0],o[1]],i=[o[0],o[1]];break;case`L`:r.push(...R(a[0],a[1],o[0],o[1],t)),a=[o[0],o[1]];break;case`C`:{let[e,n,i,s,c,l]=o;r.push(...te(e,n,i,s,c,l,a,t)),a=[c,l];break}case`Z`:r.push(...R(a[0],a[1],i[0],i[1],t)),a=[i[0],i[1]]}return{type:`path`,ops:r}}e(ee,`_`);function M(e,t){let n=[];for(let r of e)if(r.length){let e=t.maxRandomnessOffset||0,i=r.length;if(i>2){n.push({op:`move`,data:[r[0][0]+L(e,t),r[0][1]+L(e,t)]});for(let a=1;a<i;a++)n.push({op:`lineTo`,data:[r[a][0]+L(e,t),r[a][1]+L(e,t)]})}}return{type:`fillPath`,ops:n}}e(M,`I`);function N(e,t){return(function(e,t){let n=e.fillStyle||`hachure`;if(!f[n])switch(n){case`zigzag`:f[n]||(f[n]=new s(t));break;case`cross-hatch`:f[n]||(f[n]=new c(t));break;case`dots`:f[n]||(f[n]=new l(t));break;case`dashed`:f[n]||(f[n]=new u(t));break;case`zigzag-line`:f[n]||(f[n]=new d(t));break;default:n=`hachure`,f[n]||(f[n]=new a(t))}return f[n]})(t,w).fillPolygons(e,t)}e(N,`C`);function P(e){let t=Object.assign({},e);return t.randomizer=void 0,e.seed&&(t.seed=e.seed+1),t}e(P,`z`);function F(e){return e.randomizer||=new p(e.seed||0),e.randomizer.next()}e(F,`W`);function I(e,t,n,r=1){return n.roughness*r*(F(n)*(t-e)+e)}e(I,`E`);function L(e,t,n=1){return I(-e,e,t,n)}e(L,`G`);function R(e,t,n,r,i,a=!1){let o=a?i.disableMultiStrokeFill:i.disableMultiStroke,s=z(e,t,n,r,i,!0,!1);if(o)return s;let c=z(e,t,n,r,i,!0,!0);return s.concat(c)}e(R,`$`);function z(t,n,r,i,a,o,s){let c=(t-r)**2+(n-i)**2,l=Math.sqrt(c),u=1;u=l<200?1:l>500?.4:-.0016668*l+1.233334;let d=a.maxRandomnessOffset||0;d*d*100>c&&(d=l/10);let f=d/2,p=.2+.2*F(a),m=a.bowing*a.maxRandomnessOffset*(i-n)/200,h=a.bowing*a.maxRandomnessOffset*(t-r)/200;m=L(m,a,u),h=L(h,a,u);let g=[],_=e(()=>L(f,a,u),`M`),v=e(()=>L(d,a,u),`k`),y=a.preserveVertices;return o&&(s?g.push({op:`move`,data:[t+(y?0:_()),n+(y?0:_())]}):g.push({op:`move`,data:[t+(y?0:L(d,a,u)),n+(y?0:L(d,a,u))]})),s?g.push({op:`bcurveTo`,data:[m+t+(r-t)*p+_(),h+n+(i-n)*p+_(),m+t+2*(r-t)*p+_(),h+n+2*(i-n)*p+_(),r+(y?0:_()),i+(y?0:_())]}):g.push({op:`bcurveTo`,data:[m+t+(r-t)*p+v(),h+n+(i-n)*p+v(),m+t+2*(r-t)*p+v(),h+n+2*(i-n)*p+v(),r+(y?0:v()),i+(y?0:v())]}),g}e(z,`R`);function B(e,t,n){if(!e.length)return[];let r=[];r.push([e[0][0]+L(t,n),e[0][1]+L(t,n)]),r.push([e[0][0]+L(t,n),e[0][1]+L(t,n)]);for(let i=1;i<e.length;i++)r.push([e[i][0]+L(t,n),e[i][1]+L(t,n)]),i===e.length-1&&r.push([e[i][0]+L(t,n),e[i][1]+L(t,n)]);return V(r,null,n)}e(B,`j`);function V(e,t,n){let r=e.length,i=[];if(r>3){let a=[],o=1-n.curveTightness;i.push({op:`move`,data:[e[1][0],e[1][1]]});for(let t=1;t+2<r;t++){let n=e[t];a[0]=[n[0],n[1]],a[1]=[n[0]+(o*e[t+1][0]-o*e[t-1][0])/6,n[1]+(o*e[t+1][1]-o*e[t-1][1])/6],a[2]=[e[t+1][0]+(o*e[t][0]-o*e[t+2][0])/6,e[t+1][1]+(o*e[t][1]-o*e[t+2][1])/6],a[3]=[e[t+1][0],e[t+1][1]],i.push({op:`bcurveTo`,data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(t&&t.length===2){let e=n.maxRandomnessOffset;i.push({op:`lineTo`,data:[t[0]+L(e,n),t[1]+L(e,n)]})}}else r===3?(i.push({op:`move`,data:[e[1][0],e[1][1]]}),i.push({op:`bcurveTo`,data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):r===2&&i.push(...z(e[0][0],e[0][1],e[1][0],e[1][1],n,!0,!0));return i}e(V,`q`);function H(e,t,n,r,i,a,o,s){let c=[],l=[];if(s.roughness===0){e/=4,l.push([t+r*Math.cos(-e),n+i*Math.sin(-e)]);for(let a=0;a<=2*Math.PI;a+=e){let e=[t+r*Math.cos(a),n+i*Math.sin(a)];c.push(e),l.push(e)}l.push([t+r*Math.cos(0),n+i*Math.sin(0)]),l.push([t+r*Math.cos(e),n+i*Math.sin(e)])}else{let u=L(.5,s)-Math.PI/2;l.push([L(a,s)+t+.9*r*Math.cos(u-e),L(a,s)+n+.9*i*Math.sin(u-e)]);let d=2*Math.PI+u-.01;for(let o=u;o<d;o+=e){let e=[L(a,s)+t+r*Math.cos(o),L(a,s)+n+i*Math.sin(o)];c.push(e),l.push(e)}l.push([L(a,s)+t+r*Math.cos(u+2*Math.PI+.5*o),L(a,s)+n+i*Math.sin(u+2*Math.PI+.5*o)]),l.push([L(a,s)+t+.98*r*Math.cos(u+o),L(a,s)+n+.98*i*Math.sin(u+o)]),l.push([L(a,s)+t+.9*r*Math.cos(u+.5*o),L(a,s)+n+.9*i*Math.sin(u+.5*o)])}return[l,c]}e(H,`F`);function U(e,t,n,r,i,a,o,s,c){let l=a+L(.1,c),u=[];u.push([L(s,c)+t+.9*r*Math.cos(l-e),L(s,c)+n+.9*i*Math.sin(l-e)]);for(let a=l;a<=o;a+=e)u.push([L(s,c)+t+r*Math.cos(a),L(s,c)+n+i*Math.sin(a)]);return u.push([t+r*Math.cos(o),n+i*Math.sin(o)]),u.push([t+r*Math.cos(o),n+i*Math.sin(o)]),V(u,null,c)}e(U,`V`);function te(e,t,n,r,i,a,o,s){let c=[],l=[s.maxRandomnessOffset||1,(s.maxRandomnessOffset||1)+.3],u=[0,0],d=s.disableMultiStroke?1:2,f=s.preserveVertices;for(let p=0;p<d;p++)p===0?c.push({op:`move`,data:[o[0],o[1]]}):c.push({op:`move`,data:[o[0]+(f?0:L(l[0],s)),o[1]+(f?0:L(l[0],s))]}),u=f?[i,a]:[i+L(l[p],s),a+L(l[p],s)],c.push({op:`bcurveTo`,data:[e+L(l[p],s),t+L(l[p],s),n+L(l[p],s),r+L(l[p],s),u[0],u[1]]});return c}e(te,`Z`);function W(e){return[...e]}e(W,`Q`);function G(e,t=0){let n=e.length;if(n<3)throw Error(`A curve must have at least three points.`);let r=[];if(n===3)r.push(W(e[0]),W(e[1]),W(e[2]),W(e[2]));else{let n=[];n.push(e[0],e[0]);for(let t=1;t<e.length;t++)n.push(e[t]),t===e.length-1&&n.push(e[t]);let i=[],a=1-t;r.push(W(n[0]));for(let e=1;e+2<n.length;e++){let t=n[e];i[0]=[t[0],t[1]],i[1]=[t[0]+(a*n[e+1][0]-a*n[e-1][0])/6,t[1]+(a*n[e+1][1]-a*n[e-1][1])/6],i[2]=[n[e+1][0]+(a*n[e][0]-a*n[e+2][0])/6,n[e+1][1]+(a*n[e][1]-a*n[e+2][1])/6],i[3]=[n[e+1][0],n[e+1][1]],r.push(i[1],i[2],i[3])}}return r}e(G,`H`);function K(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2}e(K,`N`);function ne(e,t,n){let r=K(t,n);if(r===0)return K(e,t);let i=((e[0]-t[0])*(n[0]-t[0])+(e[1]-t[1])*(n[1]-t[1]))/r;return i=Math.max(0,Math.min(1,i)),K(e,q(t,n,i))}e(ne,`B`);function q(e,t,n){return[e[0]+(t[0]-e[0])*n,e[1]+(t[1]-e[1])*n]}e(q,`J`);function J(e,t,n,r){let i=r||[];if((function(e,t){let n=e[t+0],r=e[t+1],i=e[t+2],a=e[t+3],o=3*r[0]-2*n[0]-a[0];o*=o;let s=3*r[1]-2*n[1]-a[1];s*=s;let c=3*i[0]-2*a[0]-n[0];c*=c;let l=3*i[1]-2*a[1]-n[1];return l*=l,o<c&&(o=c),s<l&&(s=l),o+s})(e,t)<n){let n=e[t+0];i.length?(a=i[i.length-1],o=n,Math.sqrt(K(a,o))>1&&i.push(n)):i.push(n),i.push(e[t+3])}else{let r=e[t+0],a=e[t+1],o=e[t+2],s=e[t+3],c=q(r,a,.5),l=q(a,o,.5),u=q(o,s,.5),d=q(c,l,.5),f=q(l,u,.5),p=q(d,f,.5);J([r,c,d,p],0,n,i),J([p,f,u,s],0,n,i)}var a,o;return i}e(J,`K`);function re(e,t){return Y(e,0,e.length,t)}e(re,`U`);function Y(e,t,n,r,i){let a=i||[],o=e[t],s=e[n-1],c=0,l=1;for(let r=t+1;r<n-1;++r){let t=ne(e[r],o,s);t>c&&(c=t,l=r)}return Math.sqrt(c)>r?(Y(e,t,l+1,r,a),Y(e,l,n,r,a)):(a.length||a.push(o),a.push(s)),a}e(Y,`X`);function X(e,t=.15,n){let r=[],i=(e.length-1)/3;for(let n=0;n<i;n++)J(e,3*n,t,r);return n&&n>0?Y(r,0,r.length,n):r}e(X,`Y`);var Z=`none`,Q=class{static{e(this,`et`)}constructor(e){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:`#000`,strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:`hachure`,fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=e||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(Math.random()*2**31)}_o(e){return e?Object.assign({},this.defaultOptions,e):this.defaultOptions}_d(e,t,n){return{shape:e,sets:t||[],options:n||this.defaultOptions}}line(e,t,n,r,i){let a=this._o(i);return this._d(`line`,[T(e,t,n,r,a)],a)}rectangle(e,t,n,r,i){let a=this._o(i),o=[],s=D(e,t,n,r,a);if(a.fill){let i=[[e,t],[e+n,t],[e+n,t+r],[e,t+r]];a.fillStyle===`solid`?o.push(M([i],a)):o.push(N([i],a))}return a.stroke!==Z&&o.push(s),this._d(`rectangle`,o,a)}ellipse(e,t,n,r,i){let a=this._o(i),o=[],s=k(n,r,a),c=A(e,t,a,s);if(a.fill){if(a.fillStyle===`solid`){let n=A(e,t,a,s).opset;n.type=`fillPath`,o.push(n)}else o.push(N([c.estimatedPoints],a))}return a.stroke!==Z&&o.push(c.opset),this._d(`ellipse`,o,a)}circle(e,t,n,r){let i=this.ellipse(e,t,n,n,r);return i.shape=`circle`,i}linearPath(e,t){let n=this._o(t);return this._d(`linearPath`,[E(e,!1,n)],n)}arc(e,t,n,r,i,a,o=!1,s){let c=this._o(s),l=[],u=j(e,t,n,r,i,a,o,!0,c);if(o&&c.fill){if(c.fillStyle===`solid`){let o=Object.assign({},c);o.disableMultiStroke=!0;let s=j(e,t,n,r,i,a,!0,!1,o);s.type=`fillPath`,l.push(s)}else l.push((function(e,t,n,r,i,a,o){let s=e,c=t,l=Math.abs(n/2),u=Math.abs(r/2);l+=L(.01*l,o),u+=L(.01*u,o);let d=i,f=a;for(;d<0;)d+=2*Math.PI,f+=2*Math.PI;f-d>2*Math.PI&&(d=0,f=2*Math.PI);let p=(f-d)/o.curveStepCount,m=[];for(let e=d;e<=f;e+=p)m.push([s+l*Math.cos(e),c+u*Math.sin(e)]);return m.push([s+l*Math.cos(f),c+u*Math.sin(f)]),m.push([s,c]),N([m],o)})(e,t,n,r,i,a,c))}return c.stroke!==Z&&l.push(u),this._d(`arc`,l,c)}curve(e,t){let n=this._o(t),r=[],i=O(e,n);if(n.fill&&n.fill!==Z){if(n.fillStyle===`solid`){let t=O(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));r.push({type:`fillPath`,ops:this._mergedShape(t.ops)})}else{let t=[],i=e;if(i.length){let e=typeof i[0][0]==`number`?[i]:i;for(let r of e)r.length<3?t.push(...r):r.length===3?t.push(...X(G([r[0],r[0],r[1],r[2]]),10,(1+n.roughness)/2)):t.push(...X(G(r),10,(1+n.roughness)/2))}t.length&&r.push(N([t],n))}}return n.stroke!==Z&&r.push(i),this._d(`curve`,r,n)}polygon(e,t){let n=this._o(t),r=[],i=E(e,!0,n);return n.fill&&(n.fillStyle===`solid`?r.push(M([e],n)):r.push(N([e],n))),n.stroke!==Z&&r.push(i),this._d(`polygon`,r,n)}path(t,n){let r=this._o(n),i=[];if(!t)return this._d(`path`,i,r);t=(t||``).replace(/\n/g,` `).replace(/(-\s)/g,`-`).replace(`/(ss)/g`,` `);let a=r.fill&&r.fill!==`transparent`&&r.fill!==Z,o=r.stroke!==Z,s=!!(r.simplification&&r.simplification<1),c=(function(t,n,r){let i=x(b(y(t))),a=[],o=[],s=[0,0],c=[],l=e(()=>{c.length>=4&&o.push(...X(c,n)),c=[]},`i`),u=e(()=>{l(),o.length&&(a.push(o),o=[])},`c`);for(let{key:e,data:t}of i)switch(e){case`M`:u(),s=[t[0],t[1]],o.push(s);break;case`L`:l(),o.push([t[0],t[1]]);break;case`C`:if(!c.length){let e=o.length?o[o.length-1]:s;c.push([e[0],e[1]])}c.push([t[0],t[1]]),c.push([t[2],t[3]]),c.push([t[4],t[5]]);break;case`Z`:l(),o.push([s[0],s[1]])}if(u(),!r)return a;let d=[];for(let e of a){let t=re(e,r);t.length&&d.push(t)}return d})(t,1,s?4-4*(r.simplification||1):(1+r.roughness)/2),l=ee(t,r);if(a){if(r.fillStyle===`solid`){if(c.length===1){let e=ee(t,Object.assign(Object.assign({},r),{disableMultiStroke:!0,roughness:r.roughness?r.roughness+r.fillShapeRoughnessGain:0}));i.push({type:`fillPath`,ops:this._mergedShape(e.ops)})}else i.push(M(c,r))}else i.push(N(c,r))}return o&&(s?c.forEach((e=>{i.push(E(e,!1,r))})):i.push(l)),this._d(`path`,i,r)}opsToPath(e,t){let n=``;for(let r of e.ops){let e=typeof t==`number`&&t>=0?r.data.map((e=>+e.toFixed(t))):r.data;switch(r.op){case`move`:n+=`M${e[0]} ${e[1]} `;break;case`bcurveTo`:n+=`C${e[0]} ${e[1]}, ${e[2]} ${e[3]}, ${e[4]} ${e[5]} `;break;case`lineTo`:n+=`L${e[0]} ${e[1]} `}}return n.trim()}toPaths(e){let t=e.sets||[],n=e.options||this.defaultOptions,r=[];for(let e of t){let t=null;switch(e.type){case`path`:t={d:this.opsToPath(e),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:Z};break;case`fillPath`:t={d:this.opsToPath(e),stroke:Z,strokeWidth:0,fill:n.fill||Z};break;case`fillSketch`:t=this.fillSketch(e,n)}t&&r.push(t)}return r}fillSketch(e,t){let n=t.fillWeight;return n<0&&(n=t.strokeWidth/2),{d:this.opsToPath(e),stroke:t.fill||Z,strokeWidth:n,fill:Z}}_mergedShape(e){return e.filter(((e,t)=>t===0||e.op!==`move`))}},ie=class{static{e(this,`st`)}constructor(e,t){this.canvas=e,this.ctx=this.canvas.getContext(`2d`),this.gen=new Q(t)}draw(e){let t=e.sets||[],n=e.options||this.getDefaultOptions(),r=this.ctx,i=e.options.fixedDecimalPlaceDigits;for(let a of t)switch(a.type){case`path`:r.save(),r.strokeStyle=n.stroke===`none`?`transparent`:n.stroke,r.lineWidth=n.strokeWidth,n.strokeLineDash&&r.setLineDash(n.strokeLineDash),n.strokeLineDashOffset&&(r.lineDashOffset=n.strokeLineDashOffset),this._drawToContext(r,a,i),r.restore();break;case`fillPath`:{r.save(),r.fillStyle=n.fill||``;let t=e.shape===`curve`||e.shape===`polygon`||e.shape===`path`?`evenodd`:`nonzero`;this._drawToContext(r,a,i,t),r.restore();break}case`fillSketch`:this.fillSketch(r,a,n)}}fillSketch(e,t,n){let r=n.fillWeight;r<0&&(r=n.strokeWidth/2),e.save(),n.fillLineDash&&e.setLineDash(n.fillLineDash),n.fillLineDashOffset&&(e.lineDashOffset=n.fillLineDashOffset),e.strokeStyle=n.fill||``,e.lineWidth=r,this._drawToContext(e,t,n.fixedDecimalPlaceDigits),e.restore()}_drawToContext(e,t,n,r=`nonzero`){e.beginPath();for(let r of t.ops){let t=typeof n==`number`&&n>=0?r.data.map((e=>+e.toFixed(n))):r.data;switch(r.op){case`move`:e.moveTo(t[0],t[1]);break;case`bcurveTo`:e.bezierCurveTo(t[0],t[1],t[2],t[3],t[4],t[5]);break;case`lineTo`:e.lineTo(t[0],t[1])}}t.type===`fillPath`?e.fill(r):e.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(e,t,n,r,i){let a=this.gen.line(e,t,n,r,i);return this.draw(a),a}rectangle(e,t,n,r,i){let a=this.gen.rectangle(e,t,n,r,i);return this.draw(a),a}ellipse(e,t,n,r,i){let a=this.gen.ellipse(e,t,n,r,i);return this.draw(a),a}circle(e,t,n,r){let i=this.gen.circle(e,t,n,r);return this.draw(i),i}linearPath(e,t){let n=this.gen.linearPath(e,t);return this.draw(n),n}polygon(e,t){let n=this.gen.polygon(e,t);return this.draw(n),n}arc(e,t,n,r,i,a,o=!1,s){let c=this.gen.arc(e,t,n,r,i,a,o,s);return this.draw(c),c}curve(e,t){let n=this.gen.curve(e,t);return this.draw(n),n}path(e,t){let n=this.gen.path(e,t);return this.draw(n),n}},$=`http://www.w3.org/2000/svg`,ae=class{static{e(this,`ot`)}constructor(e,t){this.svg=e,this.gen=new Q(t)}draw(e){let t=e.sets||[],n=e.options||this.getDefaultOptions(),r=this.svg.ownerDocument||window.document,i=r.createElementNS($,`g`),a=e.options.fixedDecimalPlaceDigits;for(let o of t){let t=null;switch(o.type){case`path`:t=r.createElementNS($,`path`),t.setAttribute(`d`,this.opsToPath(o,a)),t.setAttribute(`stroke`,n.stroke),t.setAttribute(`stroke-width`,n.strokeWidth+``),t.setAttribute(`fill`,`none`),n.strokeLineDash&&t.setAttribute(`stroke-dasharray`,n.strokeLineDash.join(` `).trim()),n.strokeLineDashOffset&&t.setAttribute(`stroke-dashoffset`,`${n.strokeLineDashOffset}`);break;case`fillPath`:t=r.createElementNS($,`path`),t.setAttribute(`d`,this.opsToPath(o,a)),t.setAttribute(`stroke`,`none`),t.setAttribute(`stroke-width`,`0`),t.setAttribute(`fill`,n.fill||``),e.shape!==`curve`&&e.shape!==`polygon`||t.setAttribute(`fill-rule`,`evenodd`);break;case`fillSketch`:t=this.fillSketch(r,o,n)}t&&i.appendChild(t)}return i}fillSketch(e,t,n){let r=n.fillWeight;r<0&&(r=n.strokeWidth/2);let i=e.createElementNS($,`path`);return i.setAttribute(`d`,this.opsToPath(t,n.fixedDecimalPlaceDigits)),i.setAttribute(`stroke`,n.fill||``),i.setAttribute(`stroke-width`,r+``),i.setAttribute(`fill`,`none`),n.fillLineDash&&i.setAttribute(`stroke-dasharray`,n.fillLineDash.join(` `).trim()),n.fillLineDashOffset&&i.setAttribute(`stroke-dashoffset`,`${n.fillLineDashOffset}`),i}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(e,t){return this.gen.opsToPath(e,t)}line(e,t,n,r,i){let a=this.gen.line(e,t,n,r,i);return this.draw(a)}rectangle(e,t,n,r,i){let a=this.gen.rectangle(e,t,n,r,i);return this.draw(a)}ellipse(e,t,n,r,i){let a=this.gen.ellipse(e,t,n,r,i);return this.draw(a)}circle(e,t,n,r){let i=this.gen.circle(e,t,n,r);return this.draw(i)}linearPath(e,t){let n=this.gen.linearPath(e,t);return this.draw(n)}polygon(e,t){let n=this.gen.polygon(e,t);return this.draw(n)}arc(e,t,n,r,i,a,o=!1,s){let c=this.gen.arc(e,t,n,r,i,a,o,s);return this.draw(c)}curve(e,t){let n=this.gen.curve(e,t);return this.draw(n)}path(e,t){let n=this.gen.path(e,t);return this.draw(n)}},oe={canvas:e((e,t)=>new ie(e,t),`canvas`),svg:e((e,t)=>new ae(e,t),`svg`),generator:e(e=>new Q(e),`generator`),newSeed:e(()=>Q.newSeed(),`newSeed`)};export{oe as t};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{t as e}from"./chunk-AQ6EADP3-CZhslHi-.js";import{y as t}from"./chunk-ZS6VBONO-D-IFTJgn.js";var n={},r={info:t(async()=>{let{createInfoServices:e}=await import(`./info-A6RAGUB7-3TX3OFWW-DykwOJ0Z.js`);n.info=e().Info.parser.LangiumParser},`info`),packet:t(async()=>{let{createPacketServices:e}=await import(`./packet-AYTQ26CC-MKII6P3Y-XqJQX7OO.js`);n.packet=e().Packet.parser.LangiumParser},`packet`),pie:t(async()=>{let{createPieServices:e}=await import(`./pie-WAS4IAKB-6B4OPMJ5-DpoRuAye.js`);n.pie=e().Pie.parser.LangiumParser},`pie`),treeView:t(async()=>{let{createTreeViewServices:e}=await import(`./treeView-Q6P3EWNA-ZRJGANNQ-u1bD1sZ1.js`);n.treeView=e().TreeView.parser.LangiumParser},`treeView`),architecture:t(async()=>{let{createArchitectureServices:e}=await import(`./architecture-7GRP2DOG-M7G3SWCO-BJAoKIRD.js`);n.architecture=e().Architecture.parser.LangiumParser},`architecture`),gitGraph:t(async()=>{let{createGitGraphServices:e}=await import(`./gitGraph-4MIJSDKK-JH2HKYUO-B76vihW5.js`);n.gitGraph=e().GitGraph.parser.LangiumParser},`gitGraph`),eventmodeling:t(async()=>{let{createEventModelingServices:e}=await import(`./eventmodeling-NTZA5JFV-WKSWQHFS-Ruta89_N.js`);n.eventmodeling=e().EventModel.parser.LangiumParser},`eventmodeling`),radar:t(async()=>{let{createRadarServices:e}=await import(`./radar-RG4KPBEZ-UPTR3XUL-BcwE6tO1.js`);n.radar=e().Radar.parser.LangiumParser},`radar`),railroad:t(async()=>{let{createRailroadServices:e}=await import(`./railroad-74A4TZTK-MEFUPFMS-B2Kwx3Uk.js`);n.railroad=e().Railroad.parser.LangiumParser},`railroad`),railroadEbnf:t(async()=>{let{createRailroadEbnfServices:e}=await import(`./railroad-ebnf-LZEXJU2U-G5QEX2L6-AhpzdU_3.js`);n.railroadEbnf=e().RailroadEbnf.parser.LangiumParser},`railroadEbnf`),railroadAbnf:t(async()=>{let{createRailroadAbnfServices:e}=await import(`./railroad-abnf-HS5TGJTU-R5YG2S5D-uBY3fYzG.js`);n.railroadAbnf=e().RailroadAbnf.parser.LangiumParser},`railroadAbnf`),railroadPeg:t(async()=>{let{createRailroadPegServices:e}=await import(`./railroad-peg-WCYAUIDC-H5I2ZRY2-CrsmP7-8.js`);n.railroadPeg=e().RailroadPeg.parser.LangiumParser},`railroadPeg`),treemap:t(async()=>{let{createTreemapServices:e}=await import(`./treemap-WGGIJYW6-K64VN5AS-DrIaTBlj.js`);n.treemap=e().Treemap.parser.LangiumParser},`treemap`),wardley:t(async()=>{let{createWardleyServices:e}=await import(`./wardley-WFR3VGLG-D67OWCCH-Br9hyuFK.js`);n.wardley=e().Wardley.parser.LangiumParser},`wardley`),cynefin:t(async()=>{let{createCynefinServices:e}=await import(`./cynefin-OW5HDTMX-6OCTWOGG-6jDAiaRu.js`);n.cynefin=e().Cynefin.parser.LangiumParser},`cynefin`)};async function i(e,t){let i=r[e];if(!i)throw Error(`Unknown diagram type: ${e}`);n[e]||await i();let o=n[e].parse(t);if(o.lexerErrors.length>0||o.parserErrors.length>0)throw new a(o);return o.value}e(i,`parse`),t(i,`parse`);var a=class extends Error{static{e(this,`MermaidParseError`)}constructor(e){let t=e.lexerErrors.map(e=>`Lexer error on line ${e.line!==void 0&&!isNaN(e.line)?e.line:`?`}, column ${e.column!==void 0&&!isNaN(e.column)?e.column:`?`}: ${e.message}`).join(`
|
|
2
|
+
`),n=e.parserErrors.map(e=>`Parse error on line ${e.token.startLine!==void 0&&!isNaN(e.token.startLine)?e.token.startLine:`?`}, column ${e.token.startColumn!==void 0&&!isNaN(e.token.startColumn)?e.token.startColumn:`?`}: ${e.message}`).join(`
|
|
3
|
+
`);super(`Parsing failed: ${t} ${n}`),this.result=e}static{t(this,`MermaidParseError`)}};export{a as n,i as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as e}from"./chunk-AQ6EADP3-CZhslHi-.js";import{C as t,a as n,c as r,i,n as a,o,r as s,t as c,y as l}from"./chunk-ZS6VBONO-D-IFTJgn.js";var u=class extends i{static{e(this,`PieTokenBuilder`)}static{l(this,`PieTokenBuilder`)}constructor(){super([`pie`,`showData`])}},d=class extends n{static{e(this,`PieValueConverter`)}static{l(this,`PieValueConverter`)}runCustomConverter(e,t,n){if(e.name===`PIE_SECTION_LABEL`)return t.replace(/"/g,``).trim()}},f={parser:{TokenBuilder:l(()=>new u,`TokenBuilder`),ValueConverter:l(()=>new d,`ValueConverter`)}};function p(e=r){let n=s(o(e),a),i=s(c({shared:n}),t,f);return n.ServiceRegistry.register(i),{shared:n,Pie:i}}e(p,`createPieServices`),l(p,`createPieServices`);export{p as n,f as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,n)=>t(e,`name`,{value:n,configurable:!0}),s=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),c=(e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(let c of r(i))!a.call(e,c)&&c!==o&&t(e,c,{get:()=>i[c],enumerable:!(s=n(i,c))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n));export{u as i,s as n,c as r,o as t};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import{t as e}from"./chunk-AQ6EADP3-CZhslHi-.js";var t=e(()=>`
|
|
2
|
+
/* Font Awesome icon styling - consolidated */
|
|
3
|
+
.label-icon {
|
|
4
|
+
display: inline-block;
|
|
5
|
+
height: 1em;
|
|
6
|
+
overflow: visible;
|
|
7
|
+
vertical-align: -0.125em;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.node .label-icon path {
|
|
11
|
+
fill: currentColor;
|
|
12
|
+
stroke: revert;
|
|
13
|
+
stroke-width: revert;
|
|
14
|
+
}
|
|
15
|
+
`,`getIconStyles`);export{t};
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import{t as e}from"./chunk-AQ6EADP3-CZhslHi-.js";import{V as t,q as n}from"./chunk-H7VHZCWX-CwFRFlEn.js";import{B as r,F as i,Q as a,R as o,S as s,V as c,X as l,Y as u,_ as d,a as f,b as p,h as m,k as h,q as g,t as ee}from"./chunk-QJSWEUOL-kvKBktmc.js";import{n as _,o as te}from"./chunk-VY2OSTJR-BYk2nUI_.js";import{i as ne}from"./chunk-Z6V44ARX-CWGOZvke.js";import{n as re,t as v}from"./chunk-NUDPKBEF-CL0e9XiQ.js";import{n as y,r as b}from"./chunk-YDMLL4PJ-BHgx6nXf.js";import{t as x}from"./chunk-AZZRMDJM-y-xJBuMz.js";import{r as S}from"./chunk-EICP7K5X-8YS1Gtlr.js";import{t as C}from"./chunk-RCXAM2GK-BeKcutEV.js";import{t as w}from"./chunk-VTHDQ7BV-BqUEu5Ml.js";var T=`flowchart-`,E=class{constructor(){this.vertexCounter=0,this.config=r(),this.diagramId=``,this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=a,this.setAccDescription=u,this.setDiagramTitle=i,this.getAccTitle=c,this.getAccDescription=g,this.getDiagramTitle=l,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen(`gen-2`)}static{e(this,`FlowDB`)}sanitizeText(e){return o.sanitizeText(e,this.config)}sanitizeNodeLabelType(e){switch(e){case`markdown`:case`string`:case`text`:return e;default:return`markdown`}}setDiagramId(e){this.diagramId=e}lookUpDomId(e){for(let t of this.vertices.values())if(t.id===e)return this.diagramId?`${this.diagramId}-${t.domId}`:t.domId;return this.diagramId?`${this.diagramId}-${e}`:e}addVertex(e,t,i,a,o,s,c={},l){if(!e||e.trim().length===0)return;let u;if(l!==void 0){let e;e=l.includes(`
|
|
2
|
+
`)?l+`
|
|
3
|
+
`:`{
|
|
4
|
+
`+l+`
|
|
5
|
+
}`,u=re(e,{schema:v})}let d=this.subGraphLookup.get(e);if(d&&u){d.metadata={...d.metadata,...u};return}let f=this.edges.find(t=>t.id===e);if(f){let e=u;e?.animate!==void 0&&(f.animate=e.animate),e?.animation!==void 0&&(f.animation=e.animation),e?.curve!==void 0&&(f.interpolate=e.curve);return}let p,m=this.vertices.get(e);if(m===void 0&&(t===void 0&&i===void 0&&a!=null&&n.warn(`Style applied to unknown node "${e}". This may indicate a typo. The node will be created automatically.`),m={id:e,labelType:`text`,domId:T+e+`-`+this.vertexCounter,styles:[],classes:[]},this.vertices.set(e,m)),this.vertexCounter++,t===void 0?m.text===void 0&&(m.text=e):(this.config=r(),p=this.sanitizeText(t.text.trim()),m.labelType=t.type,p.startsWith(`"`)&&p.endsWith(`"`)&&(p=p.substring(1,p.length-1)),m.text=p),i!==void 0&&(m.type=i),a?.forEach(e=>{m.styles.push(e)}),o?.forEach(e=>{m.classes.push(e)}),s!==void 0&&(m.dir=s),m.props===void 0?m.props=c:c!==void 0&&Object.assign(m.props,c),u!==void 0){if(u.shape){if(u.shape!==u.shape.toLowerCase()||u.shape.includes(`_`))throw Error(`No such shape: ${u.shape}. Shape names should be lowercase.`);if(!ne(u.shape))throw Error(`No such shape: ${u.shape}.`);m.type=u?.shape}u?.label&&(m.text=u?.label,m.labelType=this.sanitizeNodeLabelType(u?.labelType)),u?.icon&&(m.icon=u?.icon,!u.label?.trim()&&m.text===e&&(m.text=``)),u?.form&&(m.form=u?.form),u?.pos&&(m.pos=u?.pos),u?.img&&(m.img=u?.img,!u.label?.trim()&&m.text===e&&(m.text=``)),u?.constraint&&(m.constraint=u.constraint),u.w&&(m.assetWidth=Number(u.w)),u.h&&(m.assetHeight=Number(u.h))}}addSingleLink(e,t,r,i){let a={start:e,end:t,type:void 0,text:``,labelType:`text`,classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};n.info(`abc78 Got edge...`,a);let o=r.text;if(o!==void 0&&(a.text=this.sanitizeText(o.text.trim()),a.text.startsWith(`"`)&&a.text.endsWith(`"`)&&(a.text=a.text.substring(1,a.text.length-1)),a.labelType=this.sanitizeNodeLabelType(o.type)),r!==void 0&&(a.type=r.type,a.stroke=r.stroke,a.length=r.length>10?10:r.length),i&&!this.edges.some(e=>e.id===i))a.id=i,a.isUserDefinedId=!0;else{let e=this.edges.filter(e=>e.start===a.start&&e.end===a.end);a.id=e.length===0?_(a.start,a.end,{counter:0,prefix:`L`}):_(a.start,a.end,{counter:e.length+1,prefix:`L`})}if(this.edges.length<(this.config.maxEdges??500))n.info(`Pushing edge...`),this.edges.push(a);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
6
|
+
|
|
7
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
8
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
9
|
+
You have to call mermaid.initialize.`)}isLinkData(e){return typeof e==`object`&&!!e&&`id`in e&&typeof e.id==`string`}addLink(e,t,r){let i=this.isLinkData(r)?r.id.replace(`@`,``):void 0;n.info(`addLink`,e,t,i);for(let n of e)for(let a of t){let o=n===e[e.length-1],s=a===t[0];o&&s?this.addSingleLink(n,a,r,i):this.addSingleLink(n,a,r,void 0)}}updateLinkInterpolate(e,t){e.forEach(e=>{e==="default"?this.edges.defaultInterpolate=t:this.edges[e].interpolate=t})}updateLink(e,t){e.forEach(e=>{if(typeof e==`number`&&e>=this.edges.length)throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);e==="default"?this.edges.defaultStyle=t:(this.edges[e].style=t,(this.edges[e]?.style?.length??0)>0&&!this.edges[e]?.style?.some(e=>e?.startsWith(`fill`))&&this.edges[e]?.style?.push(`fill:none`))})}addClass(e,t){let n=t.join().replace(/\\,/g,`§§§`).replace(/,/g,`;`).replace(/§§§/g,`,`).split(`;`);e.split(`,`).forEach(e=>{let t=this.classes.get(e);t===void 0&&(t={id:e,styles:[],textStyles:[]},this.classes.set(e,t)),n?.forEach(e=>{if(/color/.exec(e)){let n=e.replace(`fill`,`bgFill`);t.textStyles.push(n)}t.styles.push(e)})})}setDirection(e){this.direction=e.trim(),/.*</.exec(this.direction)&&(this.direction=`RL`),/.*\^/.exec(this.direction)&&(this.direction=`BT`),/.*>/.exec(this.direction)&&(this.direction=`LR`),/.*v/.exec(this.direction)&&(this.direction=`TB`),this.direction===`TD`&&(this.direction=`TB`)}setClass(e,t){for(let n of e.split(`,`)){let e=this.vertices.get(n);e&&e.classes.push(t);let r=this.edges.find(e=>e.id===n);r&&r.classes.push(t);let i=this.subGraphLookup.get(n);i&&i.classes.push(t)}}setTooltip(e,t){if(t!==void 0){t=this.sanitizeText(t);for(let n of e.split(`,`))this.tooltips.set(this.version===`gen-1`?this.lookUpDomId(n):n,t)}}setClickFun(e,t,n){if(r().securityLevel!==`loose`||t===void 0)return;let i=[];if(typeof n==`string`){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<i.length;e++){let t=i[e].trim();t.startsWith(`"`)&&t.endsWith(`"`)&&(t=t.substr(1,t.length-2)),i[e]=t}}i.length===0&&i.push(e);let a=this.vertices.get(e);a&&(a.haveCallback=!0,this.funs.push(()=>{let n=this.lookUpDomId(e),r=document.querySelector(`[id="${n}"]`);r!==null&&r.addEventListener(`click`,()=>{te.runFunc(t,...i)},!1)}))}setLink(e,t,n){e.split(`,`).forEach(e=>{let r=this.vertices.get(e);r!==void 0&&(r.link=te.formatUrl(t,this.config),r.linkTarget=n)}),this.setClass(e,`clickable`)}getTooltip(e){return this.tooltips.get(e)}setClickEvent(e,t,n){e.split(`,`).forEach(e=>{this.setClickFun(e,t,n)}),this.setClass(e,`clickable`)}bindFunctions(e){this.funs.forEach(t=>{t(e)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(e){let n=S();t(e).select(`svg`).selectAll(`g.node`).on(`mouseover`,e=>{let r=t(e.currentTarget),i=r.attr(`title`);if(i===null)return;let a=e.currentTarget?.getBoundingClientRect();n.transition().duration(200).style(`opacity`,`.9`),n.text(r.attr(`title`)).style(`left`,window.scrollX+a.left+(a.right-a.left)/2+`px`).style(`top`,window.scrollY+a.bottom+`px`),n.html(d.sanitize(i)),r.classed(`hover`,!0)}).on(`mouseout`,e=>{n.transition().duration(500).style(`opacity`,0),t(e.currentTarget).classed(`hover`,!1)})}clear(e=`gen-2`){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.diagramId=``,this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=e,this.config=r(),m()}setGen(e){this.version=e||`gen-2`}defaultStyle(){return`fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;`}addSubGraph(t,i,a){let o=t.text.trim(),s=a.text;t===a&&/\s/.exec(a.text)&&(o=void 0);let c=e(e=>{let t={boolean:{},number:{},string:{}},n=[],r;return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&e.stmt===`dir`?(r=e.value,!1):e.trim()===``?!1:i in t?t[i].hasOwnProperty(e)?!1:t[i][e]=!0:!n.includes(e)&&n.push(e)}),dir:r}},`uniq`)(i.flat()),l=c.nodeList,u=c.dir,d=r().flowchart??{};if(u??=d.inheritDir?this.getDirection()??r().direction??void 0:void 0,this.version===`gen-1`)for(let e=0;e<l.length;e++)l[e]=this.lookUpDomId(l[e]);o??=`subGraph`+this.subCount,s||=``,s=this.sanitizeText(s),this.subCount+=1;let f={id:o,nodes:l,title:s.trim(),classes:[],dir:u,labelType:this.sanitizeNodeLabelType(a?.type)};return n.info(`Adding`,f.id,f.nodes,f.dir),f.nodes=this.makeUniq(f,this.subGraphs).nodes,this.subGraphs.push(f),this.subGraphLookup.set(o,f),o}getPosForId(e){for(let[t,n]of this.subGraphs.entries())if(n.id===e)return t;return-1}indexNodes2(e,t){let n=this.subGraphs[t].nodes;if(this.secCount+=1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=t,this.subGraphs[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r<n.length;){let t=this.getPosForId(n[r]);if(t>=0){let n=this.indexNodes2(e,t);if(n.result)return{result:!0,count:i+n.count};i+=n.count}r+=1}return{result:!1,count:i}}getDepthFirstPos(e){return this.posCrossRef[e]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2(`none`,this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return this.firstGraphFlag?(this.firstGraphFlag=!1,!0):!1}destructStartLink(e){let t=e.trim(),n=`arrow_open`;switch(t[0]){case`<`:n=`arrow_point`,t=t.slice(1);break;case`x`:n=`arrow_cross`,t=t.slice(1);break;case`o`:n=`arrow_circle`,t=t.slice(1)}let r=`normal`;return t.includes(`=`)&&(r=`thick`),t.includes(`.`)&&(r=`dotted`),{type:n,stroke:r}}countChar(e,t){let n=t.length,r=0;for(let i=0;i<n;++i)t[i]===e&&++r;return r}destructEndLink(e){let t=e.trim(),n=t.slice(0,-1),r=`arrow_open`;switch(t.slice(-1)){case`x`:r=`arrow_cross`,t.startsWith(`x`)&&(r=`double_`+r,n=n.slice(1));break;case`>`:r=`arrow_point`,t.startsWith(`<`)&&(r=`double_`+r,n=n.slice(1));break;case`o`:r=`arrow_circle`,t.startsWith(`o`)&&(r=`double_`+r,n=n.slice(1))}let i=`normal`,a=n.length-1;n.startsWith(`=`)&&(i=`thick`),n.startsWith(`~`)&&(i=`invisible`);let o=this.countChar(`.`,n);return o&&(i=`dotted`,a=o),{type:r,stroke:i,length:a}}destructLink(e,t){let n=this.destructEndLink(e),r;if(t){if(r=this.destructStartLink(t),r.stroke!==n.stroke)return{type:`INVALID`,stroke:`INVALID`};if(r.type===`arrow_open`)r.type=n.type;else{if(r.type!==n.type)return{type:`INVALID`,stroke:`INVALID`};r.type=`double_`+r.type}return r.type===`double_arrow`&&(r.type=`double_arrow_point`),r.length=n.length,r}return n}exists(e,t){for(let n of e)if(n.nodes.includes(t))return!0;return!1}makeUniq(e,t){let n=[];return e.nodes.forEach((r,i)=>{this.exists(t,r)||n.push(e.nodes[i])}),{nodes:n}}getTypeFromVertex(e){if(e.img)return`imageSquare`;if(e.icon)return e.form===`circle`?`iconCircle`:e.form===`square`?`iconSquare`:e.form===`rounded`?`iconRounded`:`icon`;switch(e.type){case`square`:case void 0:return`squareRect`;case`round`:return`roundedRect`;case`ellipse`:return`ellipse`;default:return e.type}}findNode(e,t){return e.find(e=>e.id===t)}destructEdgeType(e){let t=`none`,n=`arrow_point`;switch(e){case`arrow_point`:case`arrow_circle`:case`arrow_cross`:n=e;break;case`double_arrow_point`:case`double_arrow_circle`:case`double_arrow_cross`:t=e.replace(`double_`,``),n=t}return{arrowTypeStart:t,arrowTypeEnd:n}}addNodeFromVertex(e,t,n,r,i,a){let o=n.get(e.id),s=r.get(e.id)??!1,c=this.findNode(t,e.id);if(c)c.cssStyles=e.styles,c.cssCompiledStyles=this.getCompiledStyles(e.classes),c.cssClasses=e.classes.join(` `);else{let n={id:e.id,label:e.text,labelType:e.labelType,labelStyle:``,parentId:o,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:this.getCompiledStyles([`default`,`node`,...e.classes]),cssClasses:`default `+e.classes.join(` `),dir:e.dir,domId:e.domId,look:a,link:e.link,linkTarget:e.linkTarget,tooltip:this.getTooltip(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};s?t.push({...n,isGroup:!0,shape:`rect`}):t.push({...n,isGroup:!1,shape:this.getTypeFromVertex(e)})}}getCompiledStyles(e){let t=[];for(let n of e){let e=this.classes.get(n);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}getData(){let t=r(),n=[],i=[],a=this.getSubGraphs(),o=new Map,s=new Map,c=new Map;for(let e of a)for(let t of e.nodes)this.subGraphLookup.has(t)&&c.set(t,e.id);let l=e(e=>this.subGraphLookup.get(e)?.metadata?.view===`collapsed`,`isCollapsed`),u=e(e=>{let t,n=new Set,r=e;for(;r!==void 0&&!n.has(r);)n.add(r),l(r)&&(t=r),r=c.get(r);return t},`outermostCollapsed`),d=new Set,f=new Map;for(let e of a){let t=u(e.id);if(t!==void 0){e.id!==t&&(d.add(e.id),f.set(e.id,t));for(let n of e.nodes)n!==t&&(d.add(n),f.set(n,t))}}for(let e=a.length-1;e>=0;e--){let t=a[e];if(!d.has(t.id)){t.nodes.length>0&&s.set(t.id,!0);for(let e of t.nodes)o.set(e,t.id)}}for(let e=a.length-1;e>=0;e--){let r=a[e];d.has(r.id)||(r.metadata?.view===`collapsed`?n.push({id:r.id,label:r.title,labelStyle:``,labelType:r.labelType,parentId:o.get(r.id),padding:8,cssCompiledStyles:this.getCompiledStyles(r.classes),cssClasses:r.classes.join(` `),shape:`collapsedGroup`,dir:r.dir,isGroup:!1,look:t.look}):n.push({id:r.id,label:r.title,labelStyle:``,labelType:r.labelType,parentId:o.get(r.id),padding:8,cssCompiledStyles:this.getCompiledStyles(r.classes),cssClasses:r.classes.join(` `),shape:`rect`,dir:r.dir,isGroup:!0,look:t.look}))}this.getVertices().forEach(e=>{d.has(e.id)||this.addNodeFromVertex(e,n,o,s,t,t.look||`classic`)});let p=this.getEdges();return p.forEach((e,n)=>{let{arrowTypeStart:r,arrowTypeEnd:a}=this.destructEdgeType(e.type),o=[...p.defaultStyle??[]],s=f.get(e.start)??e.start,c=f.get(e.end)??e.end;if(s===c&&(f.has(e.start)||f.has(e.end)))return;e.style&&o.push(...e.style);let l={id:_(s,c,{counter:n,prefix:`L`},e.id),isUserDefinedId:e.isUserDefinedId,start:s,end:c,type:e.type??`normal`,label:e.text,labelType:e.labelType,labelpos:`c`,thickness:e.stroke,minlen:e.length,classes:e?.stroke===`invisible`?``:`edge-thickness-normal edge-pattern-solid flowchart-link`,arrowTypeStart:e?.stroke===`invisible`||e?.type===`arrow_open`?`none`:r,arrowTypeEnd:e?.stroke===`invisible`||e?.type===`arrow_open`?`none`:a,arrowheadStyle:`fill: #333`,cssCompiledStyles:this.getCompiledStyles(e.classes),labelStyle:o,style:o,pattern:e.stroke,look:t.look,animate:e.animate,animation:e.animation,curve:e.interpolate||this.edges.defaultInterpolate||t.flowchart?.curve};i.push(l)}),{nodes:n,edges:i,other:{},config:t}}defaultConfig(){return ee.flowchart}},D={getClasses:e(function(e,t){return t.db.getClasses()},`getClasses`),draw:e(async function(e,t,i,a){n.info(`REF0:`),n.info(`Drawing state diagram (v2)`,t);let{securityLevel:o,flowchart:s,layout:c}=r();a.db.setDiagramId(t),n.debug(`Before getData: `);let l=a.db.getData();n.debug(`Data: `,l);let u=C(t,o),d=a.db.getDirection();l.type=a.type,l.layoutAlgorithm=y(c),l.layoutAlgorithm===`dagre`&&c===`elk`&&n.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),l.direction=d,l.nodeSpacing=s?.nodeSpacing||50,l.rankSpacing=s?.rankSpacing||50,l.markers=[`point`,`circle`,`cross`],l.diagramId=t,n.debug(`REF1:`,l),await b(l,u);let f=l.config.flowchart?.diagramPadding??8;te.insertTitle(u,`flowchartTitleText`,s?.titleTopMargin||0,a.db.getDiagramTitle()),w(u,f,`flowchart`,s?.useMaxWidth||!1)},`draw`)},O=(function(){var t=e(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),n=[1,4],r=[1,3],i=[1,5],a=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],o=[2,2],s=[1,13],c=[1,14],l=[1,15],u=[1,16],d=[1,23],f=[1,25],p=[1,26],m=[1,27],h=[1,50],g=[1,49],ee=[1,29],_=[1,30],te=[1,31],ne=[1,32],re=[1,33],v=[1,45],y=[1,47],b=[1,43],x=[1,48],S=[1,44],C=[1,51],w=[1,46],T=[1,52],E=[1,53],D=[1,34],O=[1,35],ie=[1,36],ae=[1,37],oe=[1,38],k=[1,58],A=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],j=[1,62],M=[1,61],N=[1,63],se=[8,9,11,75,77,78],ce=[1,79],le=[1,92],ue=[1,97],de=[1,96],fe=[1,93],pe=[1,89],me=[1,95],he=[1,91],ge=[1,98],_e=[1,94],ve=[1,99],ye=[1,90],be=[8,9,10,11,40,75,77,78],P=[8,9,10,11,40,46,75,77,78],F=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],xe=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],Se=[44,60,89,102,105,106,109,111,114,115,116],Ce=[1,122],we=[1,123],Te=[1,125],Ee=[1,124],De=[44,60,62,74,89,102,105,106,109,111,114,115,116],Oe=[1,134],ke=[1,148],Ae=[1,149],je=[1,150],Me=[1,151],Ne=[1,136],Pe=[1,138],Fe=[1,142],Ie=[1,143],Le=[1,144],Re=[1,145],ze=[1,146],Be=[1,147],Ve=[1,152],He=[1,153],Ue=[1,132],We=[1,133],Ge=[1,140],Ke=[1,135],qe=[1,139],Je=[1,137],Ye=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124,125],Xe=[1,155],Ze=[1,157],I=[8,9,11],L=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],R=[1,177],z=[1,173],B=[1,174],V=[1,178],H=[1,175],U=[1,176],Qe=[77,116,119],W=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],$e=[10,106],et=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],G=[1,248],K=[1,246],q=[1,250],J=[1,244],Y=[1,245],X=[1,247],Z=[1,249],Q=[1,251],tt=[1,269],nt=[8,9,11,106],$=[8,9,10,11,60,84,105,106,109,110,111,112],rt={trace:e(function(){},`trace`),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,direction_td:125,$accept:0,$end:1},terminals_:{2:`error`,8:`SEMI`,9:`NEWLINE`,10:`SPACE`,11:`EOF`,12:`GRAPH`,13:`NODIR`,14:`DIR`,27:`subgraph`,29:`SQS`,31:`SQE`,32:`end`,34:`acc_title`,35:`acc_title_value`,36:`acc_descr`,37:`acc_descr_value`,38:`acc_descr_multiline_value`,40:`SHAPE_DATA`,44:`AMP`,46:`STYLE_SEPARATOR`,48:`DOUBLECIRCLESTART`,49:`DOUBLECIRCLEEND`,50:`PS`,51:`PE`,52:`(-`,53:`-)`,54:`STADIUMSTART`,55:`STADIUMEND`,56:`SUBROUTINESTART`,57:`SUBROUTINEEND`,58:`VERTEX_WITH_PROPS_START`,59:`NODE_STRING[field]`,60:`COLON`,61:`NODE_STRING[value]`,62:`PIPE`,63:`CYLINDERSTART`,64:`CYLINDEREND`,65:`DIAMOND_START`,66:`DIAMOND_STOP`,67:`TAGEND`,68:`TRAPSTART`,69:`TRAPEND`,70:`INVTRAPSTART`,71:`INVTRAPEND`,74:`TESTSTR`,75:`START_LINK`,77:`LINK`,78:`LINK_ID`,80:`STR`,81:`MD_STR`,84:`STYLE`,85:`LINKSTYLE`,86:`CLASSDEF`,87:`CLASS`,88:`CLICK`,89:`DOWN`,90:`UP`,93:`idString[vertex]`,94:`idString[class]`,95:`CALLBACKNAME`,96:`CALLBACKARGS`,97:`HREF`,98:`LINK_TARGET`,99:`STR[link]`,100:`STR[tooltip]`,102:`DEFAULT`,104:`INTERPOLATE`,105:`NUM`,106:`COMMA`,109:`NODE_STRING`,110:`UNIT`,111:`BRKT`,112:`PCT`,114:`MINUS`,115:`MULT`,116:`UNICODE_TEXT`,117:`TEXT`,118:`TAGSTART`,119:`EDGE_TEXT`,121:`direction_tb`,122:`direction_bt`,123:`direction_rl`,124:`direction_lr`,125:`direction_td`},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1],[33,1]],performAction:e(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 2:this.$=[];break;case 3:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 183:this.$=a[s];break;case 11:r.setDirection(`TB`),this.$=`TB`;break;case 12:r.setDirection(a[s-1]),this.$=a[s-1];break;case 27:this.$=a[s-1].nodes;break;case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 33:this.$=r.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 34:this.$=r.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 35:this.$=r.addSubGraph(void 0,a[s-1],void 0);break;case 37:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 43:this.$=a[s-1]+a[s];break;case 44:this.$=a[s];break;case 45:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 46:r.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 47:r.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 48:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 49:r.addVertex(a[s-1][a[s-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s]),this.$={stmt:a[s-1],nodes:a[s-1],shapeData:a[s]};break;case 50:this.$={stmt:a[s],nodes:a[s]};break;case 51:this.$=[a[s]];break;case 52:r.addVertex(a[s-5][a[s-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,a[s-4]),this.$=a[s-5].concat(a[s]);break;case 53:this.$=a[s-4].concat(a[s]);break;case 54:this.$=a[s];break;case 55:this.$=a[s-2],r.setClass(a[s-2],a[s]);break;case 56:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`square`);break;case 57:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`doublecircle`);break;case 58:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`circle`);break;case 59:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`ellipse`);break;case 60:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`stadium`);break;case 61:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`subroutine`);break;case 62:this.$=a[s-7],r.addVertex(a[s-7],a[s-1],`rect`,void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 63:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`cylinder`);break;case 64:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`round`);break;case 65:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`diamond`);break;case 66:this.$=a[s-5],r.addVertex(a[s-5],a[s-2],`hexagon`);break;case 67:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`odd`);break;case 68:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`trapezoid`);break;case 69:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`inv_trapezoid`);break;case 70:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_right`);break;case 71:this.$=a[s-3],r.addVertex(a[s-3],a[s-1],`lean_left`);break;case 72:this.$=a[s],r.addVertex(a[s]);break;case 73:a[s-1].text=a[s],this.$=a[s-1];break;case 74:case 75:a[s-2].text=a[s-1],this.$=a[s-2];break;case 76:this.$=a[s];break;case 77:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 78:var c=r.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1],id:a[s-3]};break;case 79:this.$={text:a[s],type:`text`};break;case 80:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 81:this.$={text:a[s],type:`string`};break;case 82:this.$={text:a[s],type:`markdown`};break;case 83:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 84:var c=r.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length,id:a[s-1]};break;case 85:this.$=a[s-1];break;case 86:this.$={text:a[s],type:`text`};break;case 87:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 88:this.$={text:a[s],type:`string`};break;case 89:case 104:this.$={text:a[s],type:`markdown`};break;case 101:this.$={text:a[s],type:`text`};break;case 102:this.$={text:a[s-1].text+``+a[s],type:a[s-1].type};break;case 103:this.$={text:a[s],type:`text`};break;case 105:this.$=a[s-4],r.addClass(a[s-2],a[s]);break;case 106:this.$=a[s-4],r.setClass(a[s-2],a[s]);break;case 107:case 115:this.$=a[s-1],r.setClickEvent(a[s-1],a[s]);break;case 108:case 116:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 109:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 110:this.$=a[s-4],r.setClickEvent(a[s-4],a[s-3],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 111:this.$=a[s-2],r.setLink(a[s-2],a[s]);break;case 112:this.$=a[s-4],r.setLink(a[s-4],a[s-2]),r.setTooltip(a[s-4],a[s]);break;case 113:this.$=a[s-4],r.setLink(a[s-4],a[s-2],a[s]);break;case 114:this.$=a[s-6],r.setLink(a[s-6],a[s-4],a[s]),r.setTooltip(a[s-6],a[s-2]);break;case 117:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 118:this.$=a[s-3],r.setLink(a[s-3],a[s-2]),r.setTooltip(a[s-3],a[s]);break;case 119:this.$=a[s-3],r.setLink(a[s-3],a[s-2],a[s]);break;case 120:this.$=a[s-5],r.setLink(a[s-5],a[s-4],a[s]),r.setTooltip(a[s-5],a[s-2]);break;case 121:this.$=a[s-4],r.addVertex(a[s-2],void 0,void 0,a[s]);break;case 122:this.$=a[s-4],r.updateLink([a[s-2]],a[s]);break;case 123:this.$=a[s-4],r.updateLink(a[s-2],a[s]);break;case 124:this.$=a[s-8],r.updateLinkInterpolate([a[s-6]],a[s-2]),r.updateLink([a[s-6]],a[s]);break;case 125:this.$=a[s-8],r.updateLinkInterpolate(a[s-6],a[s-2]),r.updateLink(a[s-6],a[s]);break;case 126:this.$=a[s-6],r.updateLinkInterpolate([a[s-4]],a[s]);break;case 127:this.$=a[s-6],r.updateLinkInterpolate(a[s-4],a[s]);break;case 128:case 130:this.$=[a[s]];break;case 129:case 131:a[s-2].push(a[s]),this.$=a[s-2];break;case 133:this.$=a[s-1]+a[s];break;case 181:this.$=a[s];break;case 182:this.$=a[s-1]+``+a[s];break;case 184:this.$=a[s-1]+``+a[s];break;case 185:this.$={stmt:`dir`,value:`TB`};break;case 186:this.$={stmt:`dir`,value:`BT`};break;case 187:this.$={stmt:`dir`,value:`RL`};break;case 188:this.$={stmt:`dir`,value:`LR`};break;case 189:this.$={stmt:`dir`,value:`TD`}}},`anonymous`),table:[{3:1,4:2,9:n,10:r,12:i},{1:[3]},t(a,o,{5:6}),{4:7,9:n,10:r,12:i},{4:8,9:n,10:r,12:i},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:ee,85:_,86:te,87:ne,88:re,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E,121:D,122:O,123:ie,124:ae,125:oe},t(a,[2,9]),t(a,[2,10]),t(a,[2,11]),{8:[1,55],9:[1,56],10:k,15:54,18:57},t(A,[2,3]),t(A,[2,4]),t(A,[2,5]),t(A,[2,6]),t(A,[2,7]),t(A,[2,8]),{8:j,9:M,11:N,21:59,41:60,72:64,75:[1,65],77:[1,67],78:[1,66]},{8:j,9:M,11:N,21:68},{8:j,9:M,11:N,21:69},{8:j,9:M,11:N,21:70},{8:j,9:M,11:N,21:71},{8:j,9:M,11:N,21:72},{8:j,9:M,10:[1,73],11:N,21:74},t(A,[2,36]),{35:[1,75]},{37:[1,76]},t(A,[2,39]),t(se,[2,50],{18:77,39:78,10:k,40:ce}),{10:[1,80]},{10:[1,81]},{10:[1,82]},{10:[1,83]},{14:le,44:ue,60:de,80:[1,87],89:fe,95:[1,84],97:[1,85],101:86,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye,120:88},t(A,[2,185]),t(A,[2,186]),t(A,[2,187]),t(A,[2,188]),t(A,[2,189]),t(be,[2,51]),t(be,[2,54],{46:[1,100]}),t(P,[2,72],{113:113,29:[1,101],44:h,48:[1,102],50:[1,103],52:[1,104],54:[1,105],56:[1,106],58:[1,107],60:g,63:[1,108],65:[1,109],67:[1,110],68:[1,111],70:[1,112],89:v,102:y,105:b,106:x,109:S,111:C,114:w,115:T,116:E}),t(F,[2,181]),t(F,[2,142]),t(F,[2,143]),t(F,[2,144]),t(F,[2,145]),t(F,[2,146]),t(F,[2,147]),t(F,[2,148]),t(F,[2,149]),t(F,[2,150]),t(F,[2,151]),t(F,[2,152]),t(a,[2,12]),t(a,[2,18]),t(a,[2,19]),{9:[1,114]},t(xe,[2,26],{18:115,10:k}),t(A,[2,27]),{42:116,43:39,44:h,45:40,47:41,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},t(A,[2,40]),t(A,[2,41]),t(A,[2,42]),t(Se,[2,76],{73:117,62:[1,119],74:[1,118]}),{76:120,79:121,80:Ce,81:we,116:Te,119:Ee},{75:[1,126],77:[1,127]},t(De,[2,83]),t(A,[2,28]),t(A,[2,29]),t(A,[2,30]),t(A,[2,31]),t(A,[2,32]),{10:Oe,12:ke,14:Ae,27:je,28:128,32:Me,44:Ne,60:Pe,75:Fe,80:[1,130],81:[1,131],83:141,84:Ie,85:Le,86:Re,87:ze,88:Be,89:Ve,90:He,91:129,105:Ue,109:We,111:Ge,114:Ke,115:qe,116:Je},t(Ye,o,{5:154}),t(A,[2,37]),t(A,[2,38]),t(se,[2,48],{44:Xe}),t(se,[2,49],{18:156,10:k,40:Ze}),t(be,[2,44]),{44:h,47:158,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},{102:[1,159],103:160,105:[1,161]},{44:h,47:162,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},{44:h,47:163,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},t(I,[2,107],{10:[1,164],96:[1,165]}),{80:[1,166]},t(I,[2,115],{120:168,10:[1,167],14:le,44:ue,60:de,89:fe,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye}),t(I,[2,117],{10:[1,169]}),t(L,[2,183]),t(L,[2,170]),t(L,[2,171]),t(L,[2,172]),t(L,[2,173]),t(L,[2,174]),t(L,[2,175]),t(L,[2,176]),t(L,[2,177]),t(L,[2,178]),t(L,[2,179]),t(L,[2,180]),{44:h,47:170,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},{30:171,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:179,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:181,50:[1,180],67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:182,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:183,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:184,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{109:[1,185]},{30:186,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:187,65:[1,188],67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:189,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:190,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{30:191,67:R,80:z,81:B,82:172,116:V,117:H,118:U},t(F,[2,182]),t(a,[2,20]),t(xe,[2,25]),t(se,[2,46],{39:192,18:193,10:k,40:ce}),t(Se,[2,73],{10:[1,194]}),{10:[1,195]},{30:196,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{77:[1,197],79:198,116:Te,119:Ee},t(Qe,[2,79]),t(Qe,[2,81]),t(Qe,[2,82]),t(Qe,[2,168]),t(Qe,[2,169]),{76:199,79:121,80:Ce,81:we,116:Te,119:Ee},t(De,[2,84]),{8:j,9:M,10:Oe,11:N,12:ke,14:Ae,21:201,27:je,29:[1,200],32:Me,44:Ne,60:Pe,75:Fe,83:141,84:Ie,85:Le,86:Re,87:ze,88:Be,89:Ve,90:He,91:202,105:Ue,109:We,111:Ge,114:Ke,115:qe,116:Je},t(W,[2,101]),t(W,[2,103]),t(W,[2,104]),t(W,[2,157]),t(W,[2,158]),t(W,[2,159]),t(W,[2,160]),t(W,[2,161]),t(W,[2,162]),t(W,[2,163]),t(W,[2,164]),t(W,[2,165]),t(W,[2,166]),t(W,[2,167]),t(W,[2,90]),t(W,[2,91]),t(W,[2,92]),t(W,[2,93]),t(W,[2,94]),t(W,[2,95]),t(W,[2,96]),t(W,[2,97]),t(W,[2,98]),t(W,[2,99]),t(W,[2,100]),{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,203],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:ee,85:_,86:te,87:ne,88:re,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E,121:D,122:O,123:ie,124:ae,125:oe},{10:k,18:204},{44:[1,205]},t(be,[2,43]),{10:[1,206],44:h,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:113,114:w,115:T,116:E},{10:[1,207]},{10:[1,208],106:[1,209]},t($e,[2,128]),{10:[1,210],44:h,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:113,114:w,115:T,116:E},{10:[1,211],44:h,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:113,114:w,115:T,116:E},{80:[1,212]},t(I,[2,109],{10:[1,213]}),t(I,[2,111],{10:[1,214]}),{80:[1,215]},t(L,[2,184]),{80:[1,216],98:[1,217]},t(be,[2,55],{113:113,44:h,60:g,89:v,102:y,105:b,106:x,109:S,111:C,114:w,115:T,116:E}),{31:[1,218],67:R,82:219,116:V,117:H,118:U},t(et,[2,86]),t(et,[2,88]),t(et,[2,89]),t(et,[2,153]),t(et,[2,154]),t(et,[2,155]),t(et,[2,156]),{49:[1,220],67:R,82:219,116:V,117:H,118:U},{30:221,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{51:[1,222],67:R,82:219,116:V,117:H,118:U},{53:[1,223],67:R,82:219,116:V,117:H,118:U},{55:[1,224],67:R,82:219,116:V,117:H,118:U},{57:[1,225],67:R,82:219,116:V,117:H,118:U},{60:[1,226]},{64:[1,227],67:R,82:219,116:V,117:H,118:U},{66:[1,228],67:R,82:219,116:V,117:H,118:U},{30:229,67:R,80:z,81:B,82:172,116:V,117:H,118:U},{31:[1,230],67:R,82:219,116:V,117:H,118:U},{67:R,69:[1,231],71:[1,232],82:219,116:V,117:H,118:U},{67:R,69:[1,234],71:[1,233],82:219,116:V,117:H,118:U},t(se,[2,45],{18:156,10:k,40:Ze}),t(se,[2,47],{44:Xe}),t(Se,[2,75]),t(Se,[2,74]),{62:[1,235],67:R,82:219,116:V,117:H,118:U},t(Se,[2,77]),t(Qe,[2,80]),{77:[1,236],79:198,116:Te,119:Ee},{30:237,67:R,80:z,81:B,82:172,116:V,117:H,118:U},t(Ye,o,{5:238}),t(W,[2,102]),t(A,[2,35]),{43:239,44:h,45:40,47:41,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},{10:k,18:240},{10:G,60:K,84:q,92:241,105:J,107:242,108:243,109:Y,110:X,111:Z,112:Q},{10:G,60:K,84:q,92:252,104:[1,253],105:J,107:242,108:243,109:Y,110:X,111:Z,112:Q},{10:G,60:K,84:q,92:254,104:[1,255],105:J,107:242,108:243,109:Y,110:X,111:Z,112:Q},{105:[1,256]},{10:G,60:K,84:q,92:257,105:J,107:242,108:243,109:Y,110:X,111:Z,112:Q},{44:h,47:258,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},t(I,[2,108]),{80:[1,259]},{80:[1,260],98:[1,261]},t(I,[2,116]),t(I,[2,118],{10:[1,262]}),t(I,[2,119]),t(P,[2,56]),t(et,[2,87]),t(P,[2,57]),{51:[1,263],67:R,82:219,116:V,117:H,118:U},t(P,[2,64]),t(P,[2,59]),t(P,[2,60]),t(P,[2,61]),{109:[1,264]},t(P,[2,63]),t(P,[2,65]),{66:[1,265],67:R,82:219,116:V,117:H,118:U},t(P,[2,67]),t(P,[2,68]),t(P,[2,70]),t(P,[2,69]),t(P,[2,71]),t([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),t(Se,[2,78]),{31:[1,266],67:R,82:219,116:V,117:H,118:U},{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,267],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:ee,85:_,86:te,87:ne,88:re,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E,121:D,122:O,123:ie,124:ae,125:oe},t(be,[2,53]),{43:268,44:h,45:40,47:41,60:g,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E},t(I,[2,121],{106:tt}),t(nt,[2,130],{108:270,10:G,60:K,84:q,105:J,109:Y,110:X,111:Z,112:Q}),t($,[2,132]),t($,[2,134]),t($,[2,135]),t($,[2,136]),t($,[2,137]),t($,[2,138]),t($,[2,139]),t($,[2,140]),t($,[2,141]),t(I,[2,122],{106:tt}),{10:[1,271]},t(I,[2,123],{106:tt}),{10:[1,272]},t($e,[2,129]),t(I,[2,105],{106:tt}),t(I,[2,106],{113:113,44:h,60:g,89:v,102:y,105:b,106:x,109:S,111:C,114:w,115:T,116:E}),t(I,[2,110]),t(I,[2,112],{10:[1,273]}),t(I,[2,113]),{98:[1,274]},{51:[1,275]},{62:[1,276]},{66:[1,277]},{8:j,9:M,11:N,21:278},t(A,[2,34]),t(be,[2,52]),{10:G,60:K,84:q,105:J,107:279,108:243,109:Y,110:X,111:Z,112:Q},t($,[2,133]),{14:le,44:ue,60:de,89:fe,101:280,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye,120:88},{14:le,44:ue,60:de,89:fe,101:281,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye,120:88},{98:[1,282]},t(I,[2,120]),t(P,[2,58]),{30:283,67:R,80:z,81:B,82:172,116:V,117:H,118:U},t(P,[2,66]),t(Ye,o,{5:284}),t(nt,[2,131],{108:270,10:G,60:K,84:q,105:J,109:Y,110:X,111:Z,112:Q}),t(I,[2,126],{120:168,10:[1,285],14:le,44:ue,60:de,89:fe,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye}),t(I,[2,127],{120:168,10:[1,286],14:le,44:ue,60:de,89:fe,105:pe,106:me,109:he,111:ge,114:_e,115:ve,116:ye}),t(I,[2,114]),{31:[1,287],67:R,82:219,116:V,117:H,118:U},{6:11,7:12,8:s,9:c,10:l,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:d,32:[1,288],33:24,34:f,36:p,38:m,42:28,43:39,44:h,45:40,47:41,60:g,84:ee,85:_,86:te,87:ne,88:re,89:v,102:y,105:b,106:x,109:S,111:C,113:42,114:w,115:T,116:E,121:D,122:O,123:ie,124:ae,125:oe},{10:G,60:K,84:q,92:289,105:J,107:242,108:243,109:Y,110:X,111:Z,112:Q},{10:G,60:K,84:q,92:290,105:J,107:242,108:243,109:Y,110:X,111:Z,112:Q},t(P,[2,62]),t(A,[2,33]),t(I,[2,124],{106:tt}),t(I,[2,125],{106:tt})],defaultActions:{},parseError:e(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:e(function(t){var n=this,r=[0],i=[],a=[null],o=[],s=this.table,c=``,l=0,u=0,d=0,f=2,p=1,m=o.slice.call(arguments,1),h=Object.create(this.lexer),g={yy:{}};for(var ee in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ee)&&(g.yy[ee]=this.yy[ee]);h.setInput(t,g.yy),g.yy.lexer=h,g.yy.parser=this,typeof h.yylloc>`u`&&(h.yylloc={});var _=h.yylloc;o.push(_);var te=h.options&&h.options.ranges;this.parseError=typeof g.yy.parseError==`function`?g.yy.parseError:Object.getPrototypeOf(this).parseError;function ne(e){r.length-=2*e,a.length-=e,o.length-=e}e(ne,`popStack`);function re(){var e;return e=i.pop()||h.lex()||p,typeof e!=`number`&&(e instanceof Array&&(i=e,e=i.pop()),e=n.symbols_[e]||e),e}e(re,`lex`);for(var v,y,b,x,S,C={},w,T,E,D;;){if(b=r[r.length-1],this.defaultActions[b]?x=this.defaultActions[b]:((v===null||typeof v>`u`)&&(v=re()),x=s[b]&&s[b][v]),typeof x>`u`||!x.length||!x[0]){var O=``;for(w in D=[],s[b])this.terminals_[w]&&w>f&&D.push(`'`+this.terminals_[w]+`'`);O=h.showPosition?`Parse error on line `+(l+1)+`:
|
|
10
|
+
`+h.showPosition()+`
|
|
11
|
+
Expecting `+D.join(`, `)+`, got '`+(this.terminals_[v]||v)+`'`:`Parse error on line `+(l+1)+`: Unexpected `+(v==p?`end of input`:`'`+(this.terminals_[v]||v)+`'`),this.parseError(O,{text:h.match,token:this.terminals_[v]||v,line:h.yylineno,loc:_,expected:D})}if(x[0]instanceof Array&&x.length>1)throw Error(`Parse Error: multiple actions possible at state: `+b+`, token: `+v);switch(x[0]){case 1:r.push(v),a.push(h.yytext),o.push(h.yylloc),r.push(x[1]),v=null,y?(v=y,y=null):(u=h.yyleng,c=h.yytext,l=h.yylineno,_=h.yylloc,d>0&&d--);break;case 2:if(T=this.productions_[x[1]][1],C.$=a[a.length-T],C._$={first_line:o[o.length-(T||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(T||1)].first_column,last_column:o[o.length-1].last_column},te&&(C._$.range=[o[o.length-(T||1)].range[0],o[o.length-1].range[1]]),S=this.performAction.apply(C,[c,u,l,g.yy,x[1],a,o].concat(m)),typeof S<`u`)return S;T&&(r=r.slice(0,-1*T*2),a=a.slice(0,-1*T),o=o.slice(0,-1*T)),r.push(this.productions_[x[1]][0]),a.push(C.$),o.push(C._$),E=s[r[r.length-2]][r[r.length-1]],r.push(E);break;case 3:return!0}}return!0},`parse`)};rt.lexer=(function(){return{EOF:1,parseError:e(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:e(function(e,t){return this.yy=t||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:e(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(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:e(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:e(function(){return this._more=!0,this},`more`),reject:e(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).
|
|
12
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:e(function(e){this.unput(this.match.slice(e))},`less`),pastInput:e(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:e(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:e(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
|
|
13
|
+
`+t+`^`},`showPosition`),test_match:e(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:e(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
|
|
14
|
+
`+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:e(function(){return this.next()||this.lex()},`lex`),begin:e(function(e){this.conditionStack.push(e)},`begin`),popState:e(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:e(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},`_currentRules`),topState:e(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:e(function(e){this.begin(e)},`pushState`),stateStackSize:e(function(){return this.conditionStack.length},`stateStackSize`),options:{},performAction:e(function(e,t,n,r){switch(n){case 0:return this.begin(`acc_title`),34;case 1:return this.popState(),`acc_title_value`;case 2:return this.begin(`acc_descr`),36;case 3:return this.popState(),`acc_descr_value`;case 4:this.begin(`acc_descr_multiline`);break;case 5:this.popState();break;case 6:return`acc_descr_multiline_value`;case 7:return this.pushState(`shapeData`),t.yytext=``,40;case 8:return this.pushState(`shapeDataStr`),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,`<br/>`),40;case 11:return 40;case 12:this.popState();break;case 13:this.begin(`callbackname`);break;case 14:this.popState();break;case 15:this.popState(),this.begin(`callbackargs`);break;case 16:return 95;case 17:this.popState();break;case 18:return 96;case 19:return`MD_STR`;case 20:this.popState();break;case 21:this.begin(`md_string`);break;case 22:return`STR`;case 23:this.popState();break;case 24:this.pushState(`string`);break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin(`click`);break;case 33:this.popState();break;case 34:return 88;case 35:return e.lex.firstGraph()&&this.begin(`dir`),12;case 36:return e.lex.firstGraph()&&this.begin(`dir`),12;case 37:return e.lex.firstGraph()&&this.begin(`dir`),12;case 38:return e.lex.firstGraph()&&this.begin(`dir`),12;case 39:return 27;case 40:return 32;case 41:return 98;case 42:return 98;case 43:return 98;case 44:return 98;case 45:return this.popState(),13;case 46:return this.popState(),14;case 47:return this.popState(),14;case 48:return this.popState(),14;case 49:return this.popState(),14;case 50:return this.popState(),14;case 51:return this.popState(),14;case 52:return this.popState(),14;case 53:return this.popState(),14;case 54:return this.popState(),14;case 55:return this.popState(),14;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 124;case 60:return 125;case 61:return 78;case 62:return 105;case 63:return 111;case 64:return 46;case 65:return 60;case 66:return 44;case 67:return 8;case 68:return 106;case 69:return 115;case 70:return this.popState(),77;case 71:return this.pushState(`edgeText`),75;case 72:return 119;case 73:return this.popState(),77;case 74:return this.pushState(`thickEdgeText`),75;case 75:return 119;case 76:return this.popState(),77;case 77:return this.pushState(`dottedEdgeText`),75;case 78:return 119;case 79:return 77;case 80:return this.popState(),53;case 81:return`TEXT`;case 82:return this.pushState(`ellipseText`),52;case 83:return this.popState(),55;case 84:return this.pushState(`text`),54;case 85:return this.popState(),57;case 86:return this.pushState(`text`),56;case 87:return 58;case 88:return this.pushState(`text`),67;case 89:return this.popState(),64;case 90:return this.pushState(`text`),63;case 91:return this.popState(),49;case 92:return this.pushState(`text`),48;case 93:return this.popState(),69;case 94:return this.popState(),71;case 95:return 117;case 96:return this.pushState(`trapText`),68;case 97:return this.pushState(`trapText`),70;case 98:return 118;case 99:return 67;case 100:return 90;case 101:return`SEP`;case 102:return 89;case 103:return 115;case 104:return 111;case 105:return 44;case 106:return 109;case 107:return 114;case 108:return 116;case 109:return this.popState(),62;case 110:return this.pushState(`text`),62;case 111:return this.popState(),51;case 112:return this.pushState(`text`),50;case 113:return this.popState(),31;case 114:return this.pushState(`text`),29;case 115:return this.popState(),66;case 116:return this.pushState(`text`),65;case 117:return`TEXT`;case 118:return`QUOTE`;case 119:return 9;case 120:return 10;case 121:return 11}},`anonymous`),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:swimlane-beta\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:.*direction\s+TD[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},shapeData:{rules:[8,11,12,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackargs:{rules:[17,18,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},callbackname:{rules:[14,15,16,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},href:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},click:{rules:[21,24,33,34,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dottedEdgeText:{rules:[21,24,76,78,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},thickEdgeText:{rules:[21,24,73,75,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},edgeText:{rules:[21,24,70,72,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},trapText:{rules:[21,24,79,82,84,86,90,92,93,94,95,96,97,110,112,114,116],inclusive:!1},ellipseText:{rules:[21,24,79,80,81,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},text:{rules:[21,24,79,82,83,84,85,86,89,90,91,92,96,97,109,110,111,112,113,114,115,116,117],inclusive:!1},vertex:{rules:[21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},dir:{rules:[21,24,45,46,47,48,49,50,51,52,53,54,55,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_descr:{rules:[3,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},acc_title:{rules:[1,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},md_string:{rules:[19,20,21,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},string:{rules:[21,22,23,24,79,82,84,86,90,92,96,97,110,112,114,116],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,44,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,73,74,76,77,79,82,84,86,87,88,90,92,96,97,98,99,100,101,102,103,104,105,106,107,108,110,112,114,116,118,119,120,121],inclusive:!0}}}})();function it(){this.yy={}}return e(it,`Parser`),it.prototype=rt,rt.Parser=it,new it})();O.parser=O;var ie=O,ae=Object.assign({},ie);ae.parse=e=>{let t=e.replace(/}\s*\n/g,`}
|
|
15
|
+
`);return ie.parse(t)};var oe=ae,k=e((e,t)=>{let n=s,r=n(e,`r`),i=n(e,`g`),a=n(e,`b`);return p(r,i,a,t)},`fade`),A=e(e=>`.label {
|
|
16
|
+
font-family: ${e.fontFamily};
|
|
17
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
18
|
+
}
|
|
19
|
+
.cluster-label text {
|
|
20
|
+
fill: ${e.titleColor};
|
|
21
|
+
}
|
|
22
|
+
.cluster-label span {
|
|
23
|
+
color: ${e.titleColor};
|
|
24
|
+
}
|
|
25
|
+
.cluster-label span p {
|
|
26
|
+
background-color: transparent;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.label text,span {
|
|
30
|
+
fill: ${e.nodeTextColor||e.textColor};
|
|
31
|
+
color: ${e.nodeTextColor||e.textColor};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.node rect,
|
|
35
|
+
.node circle,
|
|
36
|
+
.node ellipse,
|
|
37
|
+
.node polygon,
|
|
38
|
+
.node path {
|
|
39
|
+
fill: ${e.mainBkg};
|
|
40
|
+
stroke: ${e.nodeBorder};
|
|
41
|
+
stroke-width: ${e.strokeWidth??1}px;
|
|
42
|
+
}
|
|
43
|
+
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
44
|
+
text-anchor: middle;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.node .katex path {
|
|
48
|
+
fill: #000;
|
|
49
|
+
stroke: #000;
|
|
50
|
+
stroke-width: 1px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
54
|
+
text-align: center;
|
|
55
|
+
}
|
|
56
|
+
.node.clickable {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
.root .anchor path {
|
|
62
|
+
fill: ${e.lineColor} !important;
|
|
63
|
+
stroke-width: 0;
|
|
64
|
+
stroke: ${e.lineColor};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.arrowheadPath {
|
|
68
|
+
fill: ${e.arrowheadColor};
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.edgePaths .path {
|
|
72
|
+
stroke: ${e.lineColor};
|
|
73
|
+
stroke-width: ${e.strokeWidth??2}px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.flowchart-link {
|
|
77
|
+
stroke: ${e.lineColor};
|
|
78
|
+
fill: none;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.edgeLabel {
|
|
82
|
+
background-color: ${e.edgeLabelBackground};
|
|
83
|
+
p {
|
|
84
|
+
background-color: ${e.edgeLabelBackground};
|
|
85
|
+
}
|
|
86
|
+
rect {
|
|
87
|
+
opacity: 0.5;
|
|
88
|
+
background-color: ${e.edgeLabelBackground};
|
|
89
|
+
fill: ${e.edgeLabelBackground};
|
|
90
|
+
}
|
|
91
|
+
text-align: center;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* For html labels only */
|
|
95
|
+
.labelBkg {
|
|
96
|
+
background-color: ${k(e.edgeLabelBackground,.5)};
|
|
97
|
+
// background-color:
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.cluster rect {
|
|
101
|
+
fill: ${e.clusterBkg};
|
|
102
|
+
stroke: ${e.clusterBorder};
|
|
103
|
+
stroke-width: 1px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cluster text {
|
|
107
|
+
fill: ${e.titleColor};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.cluster span {
|
|
111
|
+
color: ${e.titleColor};
|
|
112
|
+
}
|
|
113
|
+
/* .cluster div {
|
|
114
|
+
color: ${e.titleColor};
|
|
115
|
+
} */
|
|
116
|
+
|
|
117
|
+
/* Collapsed subgraph node (@{ view: collapsed }) */
|
|
118
|
+
.node .collapsed-indicator {
|
|
119
|
+
fill: ${e.clusterBorder};
|
|
120
|
+
stroke: none;
|
|
121
|
+
opacity: 0.6;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.node .collapsed-separator {
|
|
125
|
+
stroke: ${e.clusterBorder};
|
|
126
|
+
stroke-width: 0.75px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
div.mermaidTooltip {
|
|
130
|
+
position: absolute;
|
|
131
|
+
text-align: center;
|
|
132
|
+
max-width: 200px;
|
|
133
|
+
padding: 2px;
|
|
134
|
+
font-family: ${e.fontFamily};
|
|
135
|
+
font-size: 12px;
|
|
136
|
+
background: ${e.tertiaryColor};
|
|
137
|
+
border: 1px solid ${e.border2};
|
|
138
|
+
border-radius: 2px;
|
|
139
|
+
pointer-events: none;
|
|
140
|
+
z-index: 100;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.flowchartTitleText {
|
|
144
|
+
text-anchor: middle;
|
|
145
|
+
font-size: 18px;
|
|
146
|
+
fill: ${e.textColor};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
rect.text {
|
|
150
|
+
fill: none;
|
|
151
|
+
stroke-width: 0;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.icon-shape, .image-shape {
|
|
155
|
+
background-color: ${e.edgeLabelBackground};
|
|
156
|
+
p {
|
|
157
|
+
background-color: ${e.edgeLabelBackground};
|
|
158
|
+
padding: 2px;
|
|
159
|
+
}
|
|
160
|
+
.label rect {
|
|
161
|
+
opacity: 0.5;
|
|
162
|
+
background-color: ${e.edgeLabelBackground};
|
|
163
|
+
fill: ${e.edgeLabelBackground};
|
|
164
|
+
}
|
|
165
|
+
text-align: center;
|
|
166
|
+
}
|
|
167
|
+
${x()}
|
|
168
|
+
`,`getStyles`),j=e(({defaultLayout:t,styles:n=A}={})=>({parser:oe,get db(){return new E},renderer:D,styles:n,init:e(e=>{e.flowchart||={};let n=f().layout??t??e.layout;n&&h({layout:n}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,h({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}})},`init`)}),`createFlowDiagram`),M=j();export{A as n,M as r,j as t};
|