@toimc/markdown 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CodeBlock.vue.d.ts → components/CodeBlock.vue.d.ts} +10 -1
- package/dist/components/CodeBlock.vue.d.ts.map +1 -0
- package/dist/components/LatexBlock.vue.d.ts.map +1 -0
- package/dist/components/MarkdownRenderer.vue.d.ts.map +1 -0
- package/dist/components/MermaidBlock.vue.d.ts.map +1 -0
- package/dist/composables/useMarkdownIt.d.ts.map +1 -1
- package/dist/index.cjs +62 -59
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +4536 -4331
- package/dist/markdown.css +1 -1
- package/dist/utils/formula-guard.d.ts +13 -0
- package/dist/utils/formula-guard.d.ts.map +1 -0
- package/dist/utils/split-lines.d.ts +10 -0
- package/dist/utils/split-lines.d.ts.map +1 -0
- package/package.json +6 -3
- package/dist/CodeBlock.test.d.ts +0 -2
- package/dist/CodeBlock.test.d.ts.map +0 -1
- package/dist/CodeBlock.vue.d.ts.map +0 -1
- package/dist/LatexBlock.test.d.ts +0 -2
- package/dist/LatexBlock.test.d.ts.map +0 -1
- package/dist/LatexBlock.vue.d.ts.map +0 -1
- package/dist/MarkdownRenderer.test.d.ts +0 -2
- package/dist/MarkdownRenderer.test.d.ts.map +0 -1
- package/dist/MarkdownRenderer.vue.d.ts.map +0 -1
- package/dist/MermaidBlock.test.d.ts +0 -2
- package/dist/MermaidBlock.test.d.ts.map +0 -1
- package/dist/MermaidBlock.vue.d.ts.map +0 -1
- package/dist/abnfDiagram-N423BO3Z-CpvDGmAd.cjs +0 -1
- package/dist/abnfDiagram-N423BO3Z-DuAPsGBR.js +0 -89
- package/dist/arc-CFxpoaLu.js +0 -82
- package/dist/arc-Dh2Zrypi.cjs +0 -1
- package/dist/architecture-TIHT7OUA-CUym9zMN.cjs +0 -1
- package/dist/architecture-TIHT7OUA-DDwCCw0y.js +0 -3
- package/dist/architectureDiagram-T3A2C74G-CS6-PQjR.cjs +0 -36
- package/dist/architectureDiagram-T3A2C74G-d7xzbLJQ.js +0 -4155
- package/dist/array-CApNbSU9.js +0 -6
- package/dist/array-DZSRzHA_.cjs +0 -1
- package/dist/blockDiagram-VBNYF7ZC-CnvNE8Hq.js +0 -3157
- package/dist/blockDiagram-VBNYF7ZC-DVl7vKmv.cjs +0 -132
- package/dist/c4Diagram-5PPSVZJV-B1RTcquO.js +0 -2982
- package/dist/c4Diagram-5PPSVZJV-Djkk0hzr.cjs +0 -10
- package/dist/channel-CNZiSge7.cjs +0 -1
- package/dist/channel-CqlbSsMQ.js +0 -5
- package/dist/chunk-2GRJ4B5K-BgeLbn06.cjs +0 -1
- package/dist/chunk-2GRJ4B5K-C5VToU5T.js +0 -61
- package/dist/chunk-2Q5K7J3B-B8v9mTdK.cjs +0 -1
- package/dist/chunk-2Q5K7J3B-C3WfnuyI.js +0 -15
- package/dist/chunk-4I5QYGJK-Bs8S-Wfu.js +0 -275
- package/dist/chunk-4I5QYGJK-CBqJO_mi.cjs +0 -1
- package/dist/chunk-5RXB4S5H-BnJ1P9K2.js +0 -2042
- package/dist/chunk-5RXB4S5H-BtEDiC1U.cjs +0 -231
- package/dist/chunk-5VM5RSS4-BsUXY5k9.js +0 -5
- package/dist/chunk-5VM5RSS4-CwDmQ9T_.cjs +0 -15
- package/dist/chunk-6Q2QTUOP-C0P-wtth.js +0 -490
- package/dist/chunk-6Q2QTUOP-UC-G8b3B.cjs +0 -88
- package/dist/chunk-7BUUIJ7U-CZdUK2qY.js +0 -82
- package/dist/chunk-7BUUIJ7U-MzS1pW_S.cjs +0 -1
- package/dist/chunk-7Z6QIM7H-CJdupq9f.js +0 -593
- package/dist/chunk-7Z6QIM7H-CUGcycR0.cjs +0 -10
- package/dist/chunk-GF5L2VYU-CDGpCl8Z.js +0 -3357
- package/dist/chunk-GF5L2VYU-DWhSvqYP.cjs +0 -206
- package/dist/chunk-I66GZJ75-D8wVRUgw.cjs +0 -127
- package/dist/chunk-I66GZJ75-xmbkwRyp.js +0 -3754
- package/dist/chunk-JQJVKLGR-B-jNEb9r.js +0 -4135
- package/dist/chunk-JQJVKLGR-CbhQdRxu.cjs +0 -156
- package/dist/chunk-JWPE2WC7-B8JIODrM.js +0 -8
- package/dist/chunk-JWPE2WC7-Cs1kjq8S.cjs +0 -1
- package/dist/chunk-KBJHAD2P-BMuT9eJO.cjs +0 -1
- package/dist/chunk-KBJHAD2P-CCpB6hWQ.js +0 -26
- package/dist/chunk-KEIR6QF5-RwFi50en.js +0 -21456
- package/dist/chunk-KEIR6QF5-rUKzMPy0.cjs +0 -161
- package/dist/chunk-NSK5VX7P-BO1SrWAL.js +0 -1335
- package/dist/chunk-NSK5VX7P-BiC_63US.cjs +0 -2
- package/dist/chunk-QR6OTTB3-BSxbyKp_.cjs +0 -62
- package/dist/chunk-QR6OTTB3-CGxJcV-X.js +0 -3738
- package/dist/chunk-RYQCIY6F-Lf2oVMMh.cjs +0 -1
- package/dist/chunk-RYQCIY6F-UBebC0ib.js +0 -241
- package/dist/chunk-UBXNYLIW-BURVNZm2.cjs +0 -1
- package/dist/chunk-UBXNYLIW-fOGkdEwd.js +0 -32
- package/dist/chunk-W5SLKNZC-BLFqePZ1.cjs +0 -1
- package/dist/chunk-W5SLKNZC-C2SYjJjL.js +0 -67
- package/dist/chunk-WRU74C26-Cr4HTCc1.cjs +0 -70
- package/dist/chunk-WRU74C26-UGtU6H2a.js +0 -1636
- package/dist/chunk-XXDRQBXY-GENMsCHk.js +0 -9
- package/dist/chunk-XXDRQBXY-yMT3rT5Y.cjs +0 -1
- package/dist/chunk-Y2CYZVJY-CnmLqFtv.cjs +0 -1
- package/dist/chunk-Y2CYZVJY-DO9UHHon.js +0 -12
- package/dist/classDiagram-JCYQIIEL-DUjWUDYG.cjs +0 -1
- package/dist/classDiagram-JCYQIIEL-Dm9anlJw.js +0 -30
- package/dist/classDiagram-v2-OCEON4UE-Bl-vyFyz.js +0 -30
- package/dist/classDiagram-v2-OCEON4UE-DUjWUDYG.cjs +0 -1
- package/dist/composables/useHighlighter.test.d.ts +0 -2
- package/dist/composables/useHighlighter.test.d.ts.map +0 -1
- package/dist/composables/useMarkdownIt.test.d.ts +0 -2
- package/dist/composables/useMarkdownIt.test.d.ts.map +0 -1
- package/dist/composables/useShikiTokenizer.test.d.ts +0 -2
- package/dist/composables/useShikiTokenizer.test.d.ts.map +0 -1
- package/dist/composables/useStreamingMarkdown.test.d.ts +0 -2
- package/dist/composables/useStreamingMarkdown.test.d.ts.map +0 -1
- package/dist/cose-bilkent-JH36ORCC-C1RCVzVZ.cjs +0 -1
- package/dist/cose-bilkent-JH36ORCC-C5FbROLY.js +0 -2254
- package/dist/cynefin-VYW2F7L2-CMgnLl46.js +0 -3
- package/dist/cynefin-VYW2F7L2-DVi1CF5b.cjs +0 -1
- package/dist/cynefinDiagram-MW4NZA55-CkZY080C.cjs +0 -62
- package/dist/cynefinDiagram-MW4NZA55-DbAAx9CC.js +0 -355
- package/dist/cytoscape.esm-BKhIYxsH.cjs +0 -321
- package/dist/cytoscape.esm-DMXbtFI-.js +0 -18145
- package/dist/dagre-DarAkhy1.cjs +0 -1
- package/dist/dagre-VZM6K2ZE-CpL0s3GG.js +0 -328
- package/dist/dagre-VZM6K2ZE-D1_S1oSj.cjs +0 -4
- package/dist/dagre-x4cMb6gU.js +0 -1699
- package/dist/defaultLocale-ybN1Vtvg.cjs +0 -1
- package/dist/defaultLocale-yzzuPw6P.js +0 -198
- package/dist/diagram-7IWD3JNH-BXvOBw2z.js +0 -300
- package/dist/diagram-7IWD3JNH-W-Kjft6l.cjs +0 -30
- package/dist/diagram-B4RE2ZJO-C4lLgW4X.cjs +0 -3
- package/dist/diagram-B4RE2ZJO-DyAAD_bR.js +0 -432
- package/dist/diagram-LBJQPF4R-BTgCWP5o.cjs +0 -24
- package/dist/diagram-LBJQPF4R-BbMQOpt2.js +0 -134
- package/dist/diagram-Q27KOJAE-ink_R6qE.js +0 -527
- package/dist/diagram-Q27KOJAE-v-ZMzCxs.cjs +0 -24
- package/dist/diagram-UB23O5K3-BXTm2BG0.cjs +0 -41
- package/dist/diagram-UB23O5K3-C6rqCJBb.js +0 -214
- package/dist/dist-BP2me-br.js +0 -59
- package/dist/dist-Dwv2VYAL.cjs +0 -1
- package/dist/ebnfDiagram-BXEA7PRR-C80cjdjP.js +0 -100
- package/dist/ebnfDiagram-BXEA7PRR-lKO9XwUp.cjs +0 -1
- package/dist/erDiagram-JOGREHBK-Blwfr6w3.js +0 -1727
- package/dist/erDiagram-JOGREHBK-ChgcmULa.cjs +0 -85
- package/dist/eventmodeling-45OFAUF4-BDhzj03B.js +0 -3
- package/dist/eventmodeling-45OFAUF4-BtU19idK.cjs +0 -1
- package/dist/flowDiagram-UKHOOZJN-Co0JpKUU.js +0 -16
- package/dist/flowDiagram-UKHOOZJN-db1Ur2LI.cjs +0 -1
- package/dist/ganttDiagram-PKOTCBZU-Byi4E8Ye.js +0 -3073
- package/dist/ganttDiagram-PKOTCBZU-C_Vwv1o8.cjs +0 -292
- package/dist/gitGraph-TEB2WS4Q-CAeGPNFR.cjs +0 -1
- package/dist/gitGraph-TEB2WS4Q-DJA_hE4G.js +0 -3
- package/dist/gitGraphDiagram-DS77QQ5N-BG8AQVtP.js +0 -733
- package/dist/gitGraphDiagram-DS77QQ5N-DK9VJTjf.cjs +0 -106
- package/dist/graphlib-BaETKKSa.cjs +0 -1
- package/dist/graphlib-DoD0LnUK.js +0 -1267
- package/dist/info-DKCQHKI2-BD_vOCz6.js +0 -3
- package/dist/info-DKCQHKI2-p0Lazone.cjs +0 -1
- package/dist/infoDiagram-6WML65LV-B6PBOy7T.js +0 -20
- package/dist/infoDiagram-6WML65LV-nBSrP53Z.cjs +0 -2
- package/dist/init-BJdqMO10.cjs +0 -1
- package/dist/init-sjaVZO3f.js +0 -13
- package/dist/ishikawaDiagram-WSZJBQD7-BxEkaF2A.js +0 -719
- package/dist/ishikawaDiagram-WSZJBQD7-CjyKQ_N6.cjs +0 -70
- package/dist/journeyDiagram-NVQOT4AX-BPCuqjbW.js +0 -884
- package/dist/journeyDiagram-NVQOT4AX-DKgEeNcy.cjs +0 -139
- package/dist/kanban-definition-27J2QSJJ-BeKnR9zB.cjs +0 -89
- package/dist/kanban-definition-27J2QSJJ-D1pVuCv2.js +0 -974
- package/dist/katex-BfeHGk4M.js +0 -21977
- package/dist/katex-CEF6MvLx.cjs +0 -257
- package/dist/line-8EHPtDZA.cjs +0 -1
- package/dist/line-BifI9Y7j.js +0 -34
- package/dist/linear-Nt9BuHfn.cjs +0 -1
- package/dist/linear-l8AD1ib_.js +0 -288
- package/dist/map-CCpPjiU9.cjs +0 -1
- package/dist/map-DUk1uXZC.js +0 -241
- package/dist/mermaid-parser.core-BupC9XGF.js +0 -638
- package/dist/mermaid-parser.core-aXxW1VLR.cjs +0 -6
- package/dist/mermaid.core-C05C5gh_.cjs +0 -41
- package/dist/mermaid.core-CxM-VhZd.js +0 -2297
- package/dist/mindmap-definition-FAOFIHXS-B_k8KOvw.js +0 -1006
- package/dist/mindmap-definition-FAOFIHXS-CKPAiVKf.cjs +0 -96
- package/dist/ordinal-Bm_chml2.cjs +0 -1
- package/dist/ordinal-CNQzPcrr.js +0 -65
- package/dist/packet-7NZHBO7P-CVdRavgo.cjs +0 -1
- package/dist/packet-7NZHBO7P-CgBlALV1.js +0 -3
- package/dist/path-DIS6ck99.cjs +0 -1
- package/dist/path-DVvH25eQ.js +0 -84
- package/dist/pegDiagram-VL7TDLO6-B5Jhedbv.cjs +0 -1
- package/dist/pegDiagram-VL7TDLO6-PP-A-3Lv.js +0 -94
- package/dist/pie-RZYD4A2V-CryPC-P_.js +0 -3
- package/dist/pie-RZYD4A2V-CwDJ0bEW.cjs +0 -1
- package/dist/pieDiagram-7S7Q4E2Y-CgDU9E10.cjs +0 -39
- package/dist/pieDiagram-7S7Q4E2Y-CxNt1xaN.js +0 -203
- package/dist/quadrantDiagram-CIZ2JOQS-CMUanfcR.js +0 -2001
- package/dist/quadrantDiagram-CIZ2JOQS-vybEBK1o.cjs +0 -7
- package/dist/radar-I7S5WNFK-DaVgEjvC.cjs +0 -1
- package/dist/radar-I7S5WNFK-DgzJDRy3.js +0 -3
- package/dist/railroad-3IZDKUUU-BPsrMjqz.cjs +0 -1
- package/dist/railroad-3IZDKUUU-DFp3mbpB.js +0 -3
- package/dist/railroad-abnf-AHOZXSZD-BRjidKH0.js +0 -3
- package/dist/railroad-abnf-AHOZXSZD-ZpHq_KEy.cjs +0 -1
- package/dist/railroad-ebnf-EBAXGLYW-B45niwuq.cjs +0 -1
- package/dist/railroad-ebnf-EBAXGLYW-PgrDWact.js +0 -3
- package/dist/railroad-peg-LSFZ7HO6-CMKir81Y.js +0 -3
- package/dist/railroad-peg-LSFZ7HO6-DUsuEX2Z.cjs +0 -1
- package/dist/railroadDiagram-AXF67PYL-D7y_2yAa.cjs +0 -1
- package/dist/railroadDiagram-AXF67PYL-iLkvx2oU.js +0 -76
- package/dist/renderers/tokensToHtml.test.d.ts +0 -2
- package/dist/renderers/tokensToHtml.test.d.ts.map +0 -1
- package/dist/requirementDiagram-LRYGKXZP-Bs2mCDzB.js +0 -2223
- package/dist/requirementDiagram-LRYGKXZP-lA2nVr6h.cjs +0 -84
- package/dist/rolldown-runtime-B0aSnxlc.js +0 -20
- package/dist/rolldown-runtime-DF3sbh8G.cjs +0 -1
- package/dist/rough.esm-B2w_aYoc.js +0 -1361
- package/dist/rough.esm-ChRLLRha.cjs +0 -1
- package/dist/sankeyDiagram-W5VNT64P-BxYQllhE.js +0 -972
- package/dist/sankeyDiagram-W5VNT64P-vPci5pOT.cjs +0 -40
- package/dist/sequenceDiagram-SI44F4Z6-BNu1-3EN.cjs +0 -162
- package/dist/sequenceDiagram-SI44F4Z6-E6AoYU_R.js +0 -4156
- package/dist/sizeCapture-X5ZJPWSS-8gbZlYqg.js +0 -46
- package/dist/sizeCapture-X5ZJPWSS-bJ2ZX4Du.cjs +0 -1
- package/dist/src-C7bjHtAI.js +0 -2139
- package/dist/src-D9o9TOtH.cjs +0 -1
- package/dist/stateDiagram-OKZ733FA-B7ITlY91.cjs +0 -1
- package/dist/stateDiagram-OKZ733FA-BfcOAK65.js +0 -220
- package/dist/stateDiagram-v2-UEYNNEHI-BHO-uUPG.js +0 -30
- package/dist/stateDiagram-v2-UEYNNEHI-lgGjJyRM.cjs +0 -1
- package/dist/swimlanes-SLNWSIFB-BHIPInzG.js +0 -5069
- package/dist/swimlanes-SLNWSIFB-C-Z31wMl.cjs +0 -1
- package/dist/swimlanesDiagram-ULZ7WXOC-C8pvRoyc.cjs +0 -8
- package/dist/swimlanesDiagram-ULZ7WXOC-CK6AVyRM.js +0 -30
- package/dist/timeline-definition-Z64GVDOM-C31otJwb.cjs +0 -120
- package/dist/timeline-definition-Z64GVDOM-rUKJY7cp.js +0 -1069
- package/dist/treeView-QDETBFTQ-BkNUN560.cjs +0 -1
- package/dist/treeView-QDETBFTQ-DVp4aTZQ.js +0 -3
- package/dist/treemap-6X3UGDF4-BbBnHMHJ.js +0 -3
- package/dist/treemap-6X3UGDF4-BcO657a2.cjs +0 -1
- package/dist/utils/extractCompleteMarkdown.test.d.ts +0 -2
- package/dist/utils/extractCompleteMarkdown.test.d.ts.map +0 -1
- package/dist/vennDiagram-T6HMQDX7-DjlTuTEH.cjs +0 -34
- package/dist/vennDiagram-T6HMQDX7-vxMe-3nF.js +0 -1880
- package/dist/wardley-OPB4EBWU-B-RXhnoN.js +0 -3
- package/dist/wardley-OPB4EBWU-CiILNYeL.cjs +0 -1
- package/dist/wardleyDiagram-T6FBY63Y-BMQLZV1W.cjs +0 -78
- package/dist/wardleyDiagram-T6FBY63Y-C_Q2NmJu.js +0 -645
- package/dist/xychartDiagram-ELKLHX3M-Bsa_zeyd.cjs +0 -7
- package/dist/xychartDiagram-ELKLHX3M-OcVmrPL6.js +0 -2101
- /package/dist/{LatexBlock.vue.d.ts → components/LatexBlock.vue.d.ts} +0 -0
- /package/dist/{MarkdownRenderer.vue.d.ts → components/MarkdownRenderer.vue.d.ts} +0 -0
- /package/dist/{MermaidBlock.vue.d.ts → components/MermaidBlock.vue.d.ts} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-D9o9TOtH.cjs"),n=require("./chunk-I66GZJ75-D8wVRUgw.cjs"),r=require("./dist-Dwv2VYAL.cjs");function i(e){this._context=e}i.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};function a(e){return new i(e)}var o=class{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}};function s(e){return new o(e,!0)}function c(e){return new o(e,!1)}function l(){}function u(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function d(e){this._context=e}d.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:u(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:u(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function f(e){return new d(e)}function p(e){this._context=e}p.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:u(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ee(e){return new p(e)}function te(e){this._context=e}te.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:u(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};function ne(e){return new te(e)}function re(e,t){this._basis=new d(e),this._beta=t}re.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r=e[0],i=t[0],a=e[n]-r,o=t[n]-i,s=-1,c;++s<=n;)c=s/n,this._basis.point(this._beta*e[s]+(1-this._beta)*(r+c*a),this._beta*t[s]+(1-this._beta)*(i+c*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};var ie=(function e(t){function n(e){return t===1?new d(e):new re(e,t)}return n.beta=function(t){return e(+t)},n})(.85);function m(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function h(e,t){this._context=e,this._k=(1-t)/6}h.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:m(this,this._x1,this._y1)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:m(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var ae=(function e(t){function n(e){return new h(e,t)}return n.tension=function(t){return e(+t)},n})(0);function g(e,t){this._context=e,this._k=(1-t)/6}g.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:m(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var oe=(function e(t){function n(e){return new g(e,t)}return n.tension=function(t){return e(+t)},n})(0);function _(e,t){this._context=e,this._k=(1-t)/6}_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:m(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var se=(function e(t){function n(e){return new _(e,t)}return n.tension=function(t){return e(+t)},n})(0);function v(e,t,n){var r=e._x1,i=e._y1,a=e._x2,o=e._y2;if(e._l01_a>1e-12){var s=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,c=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*s-e._x0*e._l12_2a+e._x2*e._l01_2a)/c,i=(i*s-e._y0*e._l12_2a+e._y2*e._l01_2a)/c}if(e._l23_a>1e-12){var l=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*l+e._x1*e._l23_2a-t*e._l12_2a)/u,o=(o*l+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,o,e._x2,e._y2)}function y(e,t){this._context=e,this._alpha=t}y.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:v(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var b=(function e(t){function n(e){return t?new y(e,t):new h(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function ce(e,t){this._context=e,this._alpha=t}ce.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:v(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var le=(function e(t){function n(e){return t?new ce(e,t):new g(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function ue(e,t){this._context=e,this._alpha=t}ue.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||this._line!==0&&this._point===3)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e=+e,t=+t,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=(n*n+r*r)**+this._alpha)}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:v(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};var de=(function e(t){function n(e){return t?new ue(e,t):new _(e,0)}return n.alpha=function(t){return e(+t)},n})(.5);function fe(e){this._context=e}fe.prototype={areaStart:l,areaEnd:l,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}};function pe(e){return new fe(e)}function me(e){return e<0?-1:1}function he(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),o=(n-e._y1)/(i||r<0&&-0),s=(a*i+o*r)/(r+i);return(me(a)+me(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function ge(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function x(e,t,n){var r=e._x0,i=e._y0,a=e._x1,o=e._y1,s=(a-r)/3;e._context.bezierCurveTo(r+s,i+s*t,a-s,o-s*n,a,o)}function S(e){this._context=e}S.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:x(this,this._t0,ge(this,this._t0))}(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(e=+e,t=+t,e!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,x(this,ge(this,n=he(this,e,t)),n);break;default:x(this,this._t0,n=he(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}};function _e(e){this._context=new ve(e)}(_e.prototype=Object.create(S.prototype)).point=function(e,t){S.prototype.point.call(this,t,e)};function ve(e){this._context=e}ve.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}};function ye(e){return new S(e)}function be(e){return new _e(e)}function xe(e){this._context=e}xe.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n){if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),n===2)this._context.lineTo(e[1],t[1]);else for(var r=Se(e),i=Se(t),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[o],t[o])}(this._line||this._line!==0&&n===1)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}};function Se(e){var t,n=e.length-1,r,i=Array(n),a=Array(n),o=Array(n);for(i[0]=0,a[0]=2,o[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,a[t]=4,o[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,a[n-1]=7,o[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/a[t-1],a[t]-=r,o[t]-=r*o[t-1];for(i[n-1]=o[n-1]/a[n-1],t=n-2;t>=0;--t)i[t]=(o[t]-i[t+1])/a[t];for(a[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function Ce(e){return new xe(e)}function C(e,t){this._context=e,this._t=t}C.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&this._point===2&&this._context.lineTo(this._x,this._y),(this._line||this._line!==0&&this._point===1)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};function we(e){return new C(e,.5)}function w(e){return new C(e,0)}function T(e){return new C(e,1)}function Te(e){return Number.isSafeInteger(e)&&e>=0}function Ee(e){return e!=null&&typeof e!=`function`&&Te(e.length)}function De(e){return e===`__proto__`}function E(e){return e==null||typeof e!=`object`&&typeof e!=`function`}function D(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function O(e){return e==null?e===void 0?`[object Undefined]`:`[object Null]`:Object.prototype.toString.call(e)}var k=`[object RegExp]`,A=`[object String]`,j=`[object Number]`,M=`[object Boolean]`,N=`[object Arguments]`,Oe=`[object Symbol]`,ke=`[object Date]`,Ae=`[object Map]`,je=`[object Set]`,Me=`[object Array]`,Ne=`[object ArrayBuffer]`,Pe=`[object Object]`,Fe=`[object DataView]`,Ie=`[object Uint8Array]`,Le=`[object Uint8ClampedArray]`,Re=`[object Uint16Array]`,ze=`[object Uint32Array]`,Be=`[object Int8Array]`,Ve=`[object Int16Array]`,He=`[object Int32Array]`,Ue=`[object Float32Array]`,We=`[object Float64Array]`,Ge=typeof globalThis==`object`&&globalThis||typeof window==`object`&&window||typeof self==`object`&&self||typeof global==`object`&&global||(function(){return this})()||Function(`return this`)();function P(e){return Ge.Buffer!==void 0&&Ge.Buffer.isBuffer(e)}function F(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function Ke(e,t){return I(e,void 0,e,new Map,t)}function I(e,t,n,r=new Map,i=void 0){let a=i?.(e,t,n,r);if(a!==void 0)return a;if(E(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=I(e[a],a,n,r,i);return Object.hasOwn(e,`index`)&&(t.index=e.index),Object.hasOwn(e,`input`)&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;r.set(e,t);for(let[a,o]of e)t.set(a,I(o,a,n,r,i));return t}if(e instanceof Set){let t=new Set;r.set(e,t);for(let a of e)t.add(I(a,void 0,n,r,i));return t}if(P(e))return e.subarray();if(F(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=I(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),L(t,e,n,r,i),t}if(typeof File<`u`&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),L(t,e,n,r,i),t}if(typeof Blob<`u`&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),L(t,e,n,r,i),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,L(t,e,n,r,i),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),L(t,e,n,r,i),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),L(t,e,n,r,i),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),L(t,e,n,r,i),t}if(typeof e==`object`&&qe(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),L(t,e,n,r,i),t}return e}function L(e,t,n=e,r,i){let a=[...Object.keys(t),...D(t)];for(let o=0;o<a.length;o++){let s=a[o],c=Object.getOwnPropertyDescriptor(e,s);(c==null||c.writable)&&(e[s]=I(t[s],s,n,r,i))}}function qe(e){switch(O(e)){case N:case Me:case Ne:case Fe:case M:case ke:case Ue:case We:case Be:case Ve:case He:case Ae:case j:case Pe:case k:case je:case A:case Oe:case Ie:case Le:case Re:case ze:return!0;default:return!1}}function Je(e,t){return Ke(e,(n,r,i,a)=>{let o=t?.(n,r,i,a);if(o!==void 0)return o;if(typeof e==`object`){if(O(e)===`[object Object]`&&typeof e.constructor!=`function`){let t={};return a.set(e,t),L(t,e,i,a),t}switch(Object.prototype.toString.call(e)){case j:case A:case M:{let t=new e.constructor(e?.valueOf());return L(t,e),t}case N:{let t={};return L(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}})}function Ye(e){return Je(e)}function R(e){return typeof e==`object`&&!!e&&O(e)===`[object Arguments]`}function z(e){return typeof e==`object`&&!!e}function Xe(e){return z(e)&&Ee(e)}function B(e,t){if(typeof e!=`function`||t!=null&&typeof t!=`function`)throw TypeError(`Expected a function`);let n=function(...r){let i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);let o=e.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(B.Cache||Map),n}B.Cache=Map;function Ze(){}function V(e){return F(e)}function H(e){if(typeof e!=`object`||!e)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!==`[object Object]`){let t=e[Symbol.toStringTag];return t==null||!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable?!1:e.toString()===`[object ${t}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Qe(e){if(E(e))return e;if(Array.isArray(e)||F(e)||e instanceof ArrayBuffer||typeof SharedArrayBuffer<`u`&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e);if(t==null)return Object.assign(Object.create(t),e);let n=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new n(e);if(e instanceof RegExp){let t=new n(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new n(e.buffer.slice(0));if(e instanceof Error){let t;return t=e instanceof AggregateError?new n(e.errors,e.message,{cause:e.cause}):new n(e.message,{cause:e.cause}),t.stack=e.stack,Object.assign(t,e),t}if(typeof File<`u`&&e instanceof File)return new n([e],e.name,{type:e.type,lastModified:e.lastModified});if(typeof e==`object`){let n=Object.create(t);return Object.assign(n,e)}return e}function $e(e,...t){let n=t.slice(0,-1),r=t[t.length-1],i=e;for(let e=0;e<n.length;e++){let t=n[e];i=U(i,t,r,new Map)}return i}function U(e,t,n,r){if(E(e)&&(e=Object(e)),typeof t!=`object`||!t)return e;if(r.has(t))return Qe(r.get(t));if(r.set(t,e),Array.isArray(t)){t=t.slice();for(let e=0;e<t.length;e++)t[e]=t[e]??void 0}let i=[...Object.keys(t),...D(t)];for(let a=0;a<i.length;a++){let o=i[a];if(De(o))continue;let s=t[o],c=e[o];if(R(s)&&(s={...s}),R(c)&&(c={...c}),P(s)&&(s=Ye(s)),Array.isArray(s)){if(Array.isArray(c)){let e=[],t=Reflect.ownKeys(c);for(let n=0;n<t.length;n++){let r=t[n];e[r]=c[r]}c=e}else if(Xe(c)){let e=[];for(let t=0;t<c.length;t++)e[t]=c[t];c=e}else c=[]}let l=n(c,s,o,e,t,r);l===void 0?Array.isArray(s)||z(c)&&z(s)&&(H(c)||H(s)||V(c)||V(s))?e[o]=U(c,s,n,r):c==null&&H(s)?e[o]=U({},s,n,r):c==null&&V(s)?e[o]=Ye(s):(c===void 0||s!==void 0)&&(e[o]=s):e[o]=l}return e}function et(e,...t){return $e(e,...t,Ze)}var tt=r.t(),nt={curveBasis:f,curveBasisClosed:ee,curveBasisOpen:ne,curveBumpX:s,curveBumpY:c,curveBundle:ie,curveCardinalClosed:oe,curveCardinalOpen:se,curveCardinal:ae,curveCatmullRomClosed:le,curveCatmullRomOpen:de,curveCatmullRom:b,curveLinear:a,curveLinearClosed:pe,curveMonotoneX:ye,curveMonotoneY:be,curveNatural:Ce,curveStep:we,curveStepAfter:T,curveStepBefore:w},rt=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,it=e.n(function(e,t){let r=at(e,/(?:init\b)|(?:initialize\b)/),i={};if(Array.isArray(r)){let e=r.map(e=>e.args);n.R(e),i=n.r(i,[...e])}else i=r.args;if(!i)return;let a=n.p(e,t),o=`config`;return i[o]!==void 0&&(a===`flowchart-v2`&&(a=`flowchart`),i[a]=i[o],delete i[o]),i},`detectInit`),at=e.n(function(e,r=null){try{let i=RegExp(`[%]{2}(?![{]${rt.source})(?=[}][%]{2}).*
|
|
2
|
-
`,`ig`);e=e.trim().replace(i,``).replace(/'/gm,`"`),t.m.debug(`Detecting diagram directive${r===null?``:` type:`+r} based on the text:${e}`);let a,o=[];for(;(a=n.h.exec(e))!==null;)if(a.index===n.h.lastIndex&&n.h.lastIndex++,a&&!r||r&&a[1]?.match(r)||r&&a[2]?.match(r)){let e=a[1]?a[1]:a[2],t=a[3]?a[3].trim():a[4]?JSON.parse(a[4].trim()):null;o.push({type:e,args:t})}return o.length===0?{type:e,args:null}:o.length===1?o[0]:o}catch(n){return t.m.error(`ERROR: ${n.message} - Unable to parse directive type: '${r}' based on the text: '${e}'`),{type:void 0,args:null}}},`detectDirective`),ot=e.n(function(e){return e.replace(n.h,``)},`removeDirectives`),st=e.n(function(e,t){for(let[n,r]of t.entries())if(r.match(e))return n;return-1},`isSubstringInArray`);function W(e,t){return e?nt[`curve${e.charAt(0).toUpperCase()+e.slice(1)}`]??t:t}e.n(W,`interpolateToCurve`);function ct(e,t){let n=e.trim();if(n)return t.securityLevel===`loose`?n:(0,tt.sanitizeUrl)(n)}e.n(ct,`formatUrl`);var lt=e.n((e,...n)=>{let r=e.split(`.`),i=r.length-1,a=r[i],o=window;for(let n=0;n<i;n++)if(o=o[r[n]],!o){t.m.error(`Function name: ${e} not found in window`);return}o[a](...n)},`runFunc`);function G(e,t){return!e||!t?0:Math.sqrt((t.x-e.x)**2+(t.y-e.y)**2)}e.n(G,`distance`);function ut(e){let t,n=0;return e.forEach(e=>{n+=G(e,t),t=e}),K(e,n/2)}e.n(ut,`traverseEdge`);function dt(e){return e.length===1?e[0]:ut(e)}e.n(dt,`calcLabelPosition`);var ft=e.n((e,t=2)=>{let n=10**t;return Math.round(e*n)/n},`roundNumber`),K=e.n((e,t)=>{let n,r=t;for(let t of e){if(n){let e=G(t,n);if(e===0)return n;if(e<r)r-=e;else{let i=r/e;if(i<=0)return n;if(i>=1)return{x:t.x,y:t.y};if(i>0&&i<1)return{x:ft((1-i)*n.x+i*t.x,5),y:ft((1-i)*n.y+i*t.y,5)}}}n=t}throw Error(`Could not find a suitable point for the given distance`)},`calculatePoint`),pt=e.n((e,n,r)=>{t.m.info(`our points ${JSON.stringify(n)}`),n[0]!==r&&(n=n.reverse());let i=K(n,25),a=e?10:5,o=Math.atan2(n[0].y-i.y,n[0].x-i.x),s={x:0,y:0};return s.x=Math.sin(o)*a+(n[0].x+i.x)/2,s.y=-Math.cos(o)*a+(n[0].y+i.y)/2,s},`calcCardinalityPosition`);function mt(e,n,r){let i=structuredClone(r);t.m.info(`our points`,i),n!==`start_left`&&n!==`start_right`&&i.reverse();let a=K(i,25+e),o=10+e*.5,s=Math.atan2(i[0].y-a.y,i[0].x-a.x),c={x:0,y:0};return n===`start_left`?(c.x=Math.sin(s+Math.PI)*o+(i[0].x+a.x)/2,c.y=-Math.cos(s+Math.PI)*o+(i[0].y+a.y)/2):n===`end_right`?(c.x=Math.sin(s-Math.PI)*o+(i[0].x+a.x)/2-5,c.y=-Math.cos(s-Math.PI)*o+(i[0].y+a.y)/2-5):n===`end_left`?(c.x=Math.sin(s)*o+(i[0].x+a.x)/2-5,c.y=-Math.cos(s)*o+(i[0].y+a.y)/2-5):(c.x=Math.sin(s)*o+(i[0].x+a.x)/2,c.y=-Math.cos(s)*o+(i[0].y+a.y)/2),c}e.n(mt,`calcTerminalLabelPosition`);function q(e){let t=``,n=``;for(let r of e)r!==void 0&&(r.startsWith(`color:`)||r.startsWith(`text-align:`)?n=n+r+`;`:t=t+r+`;`);return{style:t,labelStyle:n}}e.n(q,`getStylesFromArray`);var ht=0,gt=e.n(()=>(ht++,`id-`+Math.random().toString(36).substr(2,12)+`-`+ht),`generateId`);function _t(e){let t=``;for(let n=0;n<e;n++)t+=`0123456789abcdef`.charAt(Math.floor(Math.random()*16));return t}e.n(_t,`makeRandomHex`);var vt=e.n(e=>_t(e.length),`random`),yt=e.n(function(){return{x:0,y:0,fill:void 0,anchor:`start`,style:`#666`,width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:``}},`getTextObj`),bt=e.n(function(e,t){let r=t.text.replace(n.s.lineBreakRegex,` `),[,i]=Q(t.fontSize),a=e.append(`text`);a.attr(`x`,t.x),a.attr(`y`,t.y),a.style(`text-anchor`,t.anchor),a.style(`font-family`,t.fontFamily),a.style(`font-size`,i),a.style(`font-weight`,t.fontWeight),a.attr(`fill`,t.fill),t.class!==void 0&&a.attr(`class`,t.class);let o=a.append(`tspan`);return o.attr(`x`,t.x+t.textMargin*2),o.attr(`fill`,t.fill),o.text(r),a},`drawSimpleText`),xt=B((e,t,r)=>{if(!e||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:`Arial`,joinWith:`<br/>`},r),n.s.lineBreakRegex.test(e)))return e;let i=e.split(` `).filter(Boolean),a=[],o=``;return i.forEach((e,n)=>{let s=Y(`${e} `,r),c=Y(o,r);if(s>t){let{hyphenatedStrings:n,remainingWord:i}=St(e,t,`-`,r);a.push(o,...n),o=i}else c+s>=t?(a.push(o),o=e):o=[o,e].filter(Boolean).join(` `);n+1===i.length&&a.push(o)}),a.filter(e=>e!==``).join(r.joinWith)},(e,t,n)=>`${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),St=B((e,t,n=`-`,r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:`Arial`,margin:0},r);let i=[...e],a=[],o=``;return i.forEach((e,s)=>{let c=`${o}${e}`;if(Y(c,r)>=t){let e=s+1,t=i.length===e,r=`${c}${n}`;a.push(t?c:r),o=``}else o=c}),{hyphenatedStrings:a,remainingWord:o}},(e,t,n=`-`,r)=>`${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function J(e,t){return X(e,t).height}e.n(J,`calculateTextHeight`);function Y(e,t){return X(e,t).width}e.n(Y,`calculateTextWidth`);var X=B((e,r)=>{let{fontSize:i=12,fontFamily:a=`Arial`,fontWeight:o=400}=r;if(!e)return{width:0,height:0};let[,s]=Q(i),c=[`sans-serif`,a],l=e.split(n.s.lineBreakRegex),u=[],d=t.p(`body`);if(!d.remove)return{width:0,height:0,lineHeight:0};let f=d.append(`svg`);for(let e of c){let t=0,n={width:0,height:0,lineHeight:0};for(let r of l){let i=yt();i.text=r||``;let a=bt(f,i).style(`font-size`,s).style(`font-weight`,o).style(`font-family`,e),c=(a._groups||a)[0][0].getBBox();if(c.width===0&&c.height===0)throw Error(`svg element not in render tree`);n.width=Math.round(Math.max(n.width,c.width)),t=Math.round(c.height),n.height+=t,n.lineHeight=Math.round(Math.max(n.lineHeight,t))}u.push(n)}return f.remove(),u[isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1]},(e,t)=>`${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),Ct=class{constructor(e=!1,t){this.count=0,this.count=t?t.length:0,this.next=e?()=>this.count++:()=>Date.now()}static{e.n(this,`InitIDGenerator`)}},Z,wt=e.n(function(e){return Z||=document.createElement(`div`),e=escape(e).replace(/%26/g,`&`).replace(/%23/g,`#`).replace(/%3B/g,`;`),Z.innerHTML=e,unescape(Z.textContent)},`entityDecode`);function Tt(e){return`str`in e}e.n(Tt,`isDetailedError`);var Et=e.n((e,t,n,r)=>{if(!r)return;let i=e.node()?.getBBox();i&&e.append(`text`).text(r).attr(`text-anchor`,`middle`).attr(`x`,i.x+i.width/2).attr(`y`,-n).attr(`class`,t)},`insertTitle`),Q=e.n(e=>{if(typeof e==`number`)return[e,e+`px`];let t=parseInt(e??``,10);return Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+`px`]:[t,e]},`parseFontSize`);function $(e,t){return et({},e,t)}e.n($,`cleanAndMerge`);var Dt={assignWithDepth:n.r,wrapLabel:xt,calculateTextHeight:J,calculateTextWidth:Y,calculateTextDimensions:X,cleanAndMerge:$,detectInit:it,detectDirective:at,isSubstringInArray:st,interpolateToCurve:W,calcLabelPosition:dt,calcCardinalityPosition:pt,calcTerminalLabelPosition:mt,formatUrl:ct,getStylesFromArray:q,generateId:gt,random:vt,runFunc:lt,entityDecode:wt,insertTitle:Et,isLabelCoordinateInPath:Mt,parseFontSize:Q,InitIDGenerator:Ct},Ot=e.n(function(e){let t=e;return t=t.replace(/style.*:\S*#.*;/g,function(e){return e.substring(0,e.length-1)}),t=t.replace(/classDef.*:\S*#.*;/g,function(e){return e.substring(0,e.length-1)}),t=t.replace(/#\w+;/g,function(e){let t=e.substring(1,e.length-1);return/^\+?\d+$/.test(t)?`fl°°`+t+`¶ß`:`fl°`+t+`¶ß`}),t},`encodeEntities`),kt=e.n(function(e){return e.replace(/fl°°/g,`&#`).replace(/fl°/g,`&`).replace(/¶ß/g,`;`)},`decodeEntities`),At=e.n((e,t,{counter:n=0,prefix:r,suffix:i},a)=>a||`${r?`${r}_`:``}${e}_${t}_${n}${i?`_${i}`:``}`,`getEdgeId`);function jt(e){return e??null}e.n(jt,`handleUndefinedAttr`);function Mt(e,t){let n=Math.round(e.x),r=Math.round(e.y),i=t.replace(/(\d+\.\d+)/g,e=>Math.round(parseFloat(e)).toString());return i.includes(n.toString())||i.includes(r.toString())}e.n(Mt,`isLabelCoordinateInPath`),Object.defineProperty(exports,"$",{enumerable:!0,get:function(){return ae}}),Object.defineProperty(exports,"A",{enumerable:!0,get:function(){return He}}),Object.defineProperty(exports,"B",{enumerable:!0,get:function(){return ze}}),Object.defineProperty(exports,"C",{enumerable:!0,get:function(){return Me}}),Object.defineProperty(exports,"D",{enumerable:!0,get:function(){return Ue}}),Object.defineProperty(exports,"E",{enumerable:!0,get:function(){return ke}}),Object.defineProperty(exports,"F",{enumerable:!0,get:function(){return k}}),Object.defineProperty(exports,"G",{enumerable:!0,get:function(){return Ee}}),Object.defineProperty(exports,"H",{enumerable:!0,get:function(){return Le}}),Object.defineProperty(exports,"I",{enumerable:!0,get:function(){return je}}),Object.defineProperty(exports,"J",{enumerable:!0,get:function(){return we}}),Object.defineProperty(exports,"K",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"L",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"M",{enumerable:!0,get:function(){return Ae}}),Object.defineProperty(exports,"N",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"O",{enumerable:!0,get:function(){return We}}),Object.defineProperty(exports,"P",{enumerable:!0,get:function(){return Pe}}),Object.defineProperty(exports,"Q",{enumerable:!0,get:function(){return b}}),Object.defineProperty(exports,"R",{enumerable:!0,get:function(){return Oe}}),Object.defineProperty(exports,"S",{enumerable:!0,get:function(){return Ne}}),Object.defineProperty(exports,"T",{enumerable:!0,get:function(){return Fe}}),Object.defineProperty(exports,"U",{enumerable:!0,get:function(){return O}}),Object.defineProperty(exports,"V",{enumerable:!0,get:function(){return Ie}}),Object.defineProperty(exports,"W",{enumerable:!0,get:function(){return E}}),Object.defineProperty(exports,"X",{enumerable:!0,get:function(){return ye}}),Object.defineProperty(exports,"Y",{enumerable:!0,get:function(){return Ce}}),Object.defineProperty(exports,"Z",{enumerable:!0,get:function(){return be}}),Object.defineProperty(exports,"_",{enumerable:!0,get:function(){return xt}}),Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return kt}}),Object.defineProperty(exports,"b",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return At}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"et",{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return Tt}}),Object.defineProperty(exports,"g",{enumerable:!0,get:function(){return Dt}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return ot}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,"j",{enumerable:!0,get:function(){return Be}}),Object.defineProperty(exports,"k",{enumerable:!0,get:function(){return Ve}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return vt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"nt",{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return Ot}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"q",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"rt",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return gt}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"tt",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return jt}}),Object.defineProperty(exports,"v",{enumerable:!0,get:function(){return V}}),Object.defineProperty(exports,"w",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"x",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"y",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"z",{enumerable:!0,get:function(){return Re}});
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-Y2CYZVJY-CnmLqFtv.cjs"),t=require("./src-D9o9TOtH.cjs"),n=require("./chunk-I66GZJ75-D8wVRUgw.cjs"),r=require("./chunk-NSK5VX7P-BiC_63US.cjs"),i=require("./chunk-4I5QYGJK-CBqJO_mi.cjs"),a=require("./chunk-WRU74C26-Cr4HTCc1.cjs"),o=require("./chunk-UBXNYLIW-BURVNZm2.cjs"),s=require("./chunk-W5SLKNZC-BLFqePZ1.cjs"),c=require("./rough.esm-ChRLLRha.cjs");var l=e.n(async(e,i,s)=>{let c,l=i.useHtmlLabels||n.g(n.x()?.htmlLabels);c=s||`node default`;let u=e.insert(`g`).attr(`class`,c).attr(`id`,i.domId||i.id),d=u.insert(`g`).attr(`class`,`label`).attr(`style`,r.u(i.labelStyle)),f;f=i.label===void 0?``:typeof i.label==`string`?i.label:i.label[0];let p=!!i.icon||!!i.img,m=i.labelType===`markdown`,h=await a.n(d,n.z(r.a(f),n.x()),{useHtmlLabels:l,width:i.width||n.x().flowchart?.wrappingWidth,classes:m?`markdown-node-label`:``,style:i.labelStyle,addSvgBackground:p,markdown:m},n.x()),g=h.getBBox(),_=(i?.padding??0)/2;if(l){let e=h.children[0],n=t.p(h);await o.t(e,f),g=e.getBoundingClientRect(),n.attr(`width`,g.width),n.attr(`height`,g.height)}return l?d.attr(`transform`,`translate(`+-g.width/2+`, `+-g.height/2+`)`):d.attr(`transform`,`translate(0, `+-g.height/2+`)`),i.centerLabel&&d.attr(`transform`,`translate(`+-g.width/2+`, `+-g.height/2+`)`),d.insert(`rect`,`:first-child`),{shapeSvg:u,bbox:g,halfPadding:_,label:d}},`labelHelper`),u=e.n(async(e,i,o)=>{let s=o.useHtmlLabels??n.T(n.x()),c=e.insert(`g`).attr(`class`,`label`).attr(`style`,o.labelStyle||``),l=await a.n(c,n.z(r.a(i),n.x()),{useHtmlLabels:s,width:o.width||n.x()?.flowchart?.wrappingWidth,style:o.labelStyle,addSvgBackground:!!o.icon||!!o.img}),u=l.getBBox(),d=o.padding/2;if(n.T(n.x())){let e=l.children[0],n=t.p(l);u=e.getBoundingClientRect(),n.attr(`width`,u.width),n.attr(`height`,u.height)}return s?c.attr(`transform`,`translate(`+-u.width/2+`, `+-u.height/2+`)`):c.attr(`transform`,`translate(0, `+-u.height/2+`)`),o.centerLabel&&c.attr(`transform`,`translate(`+-u.width/2+`, `+-u.height/2+`)`),c.insert(`rect`,`:first-child`),{shapeSvg:e,bbox:u,halfPadding:d,label:c}},`insertLabel`),d=e.n((e,t)=>{let n=t.node().getBBox();e.width=n.width,e.height=n.height},`updateNodeBounds`),f=e.n((e,t)=>(e.look===`handDrawn`?`rough-node`:`node`)+` `+e.cssClasses+` `+(t||``),`getNodeClasses`);function p(e){let t=e.map((e,t)=>`${t===0?`M`:`L`}${e.x},${e.y}`);return t.push(`Z`),t.join(` `)}e.n(p,`createPathFromPoints`);function m(e,t,n,r,i,a){let o=[],s=n-e,c=r-t,l=s/a,u=2*Math.PI/l,d=t+c/2;for(let t=0;t<=50;t++){let n=e+t/50*s,r=d+i*Math.sin(u*(n-e));o.push({x:n,y:r})}return o}e.n(m,`generateFullSineWavePoints`);function h(e,t,n,r,i,a){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}e.n(h,`generateCirclePoints`);function g(t){let n=Array.from(t.childNodes).filter(e=>e.tagName===`path`),r=document.createElementNS(`http://www.w3.org/2000/svg`,`path`),i=n.map(e=>e.getAttribute(`d`)).filter(e=>e!==null).join(` `);r.setAttribute(`d`,i);let a=n.find(e=>e.getAttribute(`fill`)!==`none`),o=n.find(e=>e.getAttribute(`stroke`)!==`none`),s=e.n((e,t)=>e?.getAttribute(t)??void 0,`getAttr`);if(a){let e={fill:s(a,`fill`),"fill-opacity":s(a,`fill-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}if(o){let e={stroke:s(o,`stroke`),"stroke-width":s(o,`stroke-width`)??`1`,"stroke-opacity":s(o,`stroke-opacity`)??`1`};Object.entries(e).forEach(([e,t])=>{t&&r.setAttribute(e,t)})}let c=document.createElementNS(`http://www.w3.org/2000/svg`,`g`);return c.appendChild(r),c}e.n(g,`mergePaths`);var _=e.n((e,t)=>{var n=e.x,r=e.y,i=t.x-n,a=t.y-r,o=e.width/2,s=e.height/2,c,l;return Math.abs(a)*o>Math.abs(i)*s?(a<0&&(s=-s),c=a===0?0:s*i/a,l=s):(i<0&&(o=-o),c=o,l=i===0?0:o*a/i),{x:n+c,y:r+l}},`intersectRect`),v=e.n(async(e,t,r,i=!1,o=!1)=>{let s=t||``;typeof s==`object`&&(s=s[0]);let c=n.x(),l=n.T(c);return await a.n(e,s,{style:r,isTitle:i,useHtmlLabels:l,markdown:!1,isNode:o,width:1/0},c)},`createLabel`),y=e.n((e,t,n,r,i)=>[`M`,e+i,t,`H`,e+n-i,`A`,i,i,0,0,1,e+n,t+i,`V`,t+r-i,`A`,i,i,0,0,1,e+n-i,t+r,`H`,e+i,`A`,i,i,0,0,1,e,t+r-i,`V`,t+i,`A`,i,i,0,0,1,e+i,t,`Z`].join(` `),`createRoundedRectPathD`),b=e.n(async(e,r)=>{let i=n.x(),{themeVariables:o,handDrawnSeed:l}=i,{clusterBkg:u,clusterBorder:d}=o,f=d,{labelStyles:p,nodeStyles:m,borderStyles:h,backgroundStyles:g}=s.i(r),v=e.insert(`g`).attr(`class`,`cluster swimlane `+(r.cssClasses||``)).attr(`id`,r.id).attr(`data-id`,r.id).attr(`data-et`,`cluster`).attr(`data-look`,r.look),y=n.g(i.flowchart.htmlLabels),b=r.direction===`LR`,x=v.insert(`g`).attr(`class`,`cluster-label swimlane-label`),S=await a.n(x,r.label,{style:r.labelStyle,useHtmlLabels:y,isNode:!0,width:r.width}),C=S.getBBox();if(y){let e=S.children[0],n=t.p(S);C=e.getBoundingClientRect(),n.attr(`width`,C.width),n.attr(`height`,C.height)}let w=r.padding??0,T=r.width<=C.width+w?C.width+w:r.width;r.diff=r.width<=C.width+w?(T-r.width)/2-w:-w;let E=r.height,D=r.y-E/2,O=r.y+E/2,k=r.x-T/2,A=r.swimlaneContentTop===void 0?D+E/3:r.swimlaneContentTop,j=b?4:0,M=C.height+2*j,N,P;if(b){let e=Math.max(M,C.height+2*j),t=k+e,n=Math.max(0,T-e);if(r.look===`handDrawn`){let i=c.t.svg(v),a=s.a(r,{roughness:.7,fill:u,stroke:f,fillWeight:3,seed:l}),o=s.a(r,{roughness:.7,fill:`none`,stroke:f,seed:l}),d=i.rectangle(k,D,e,E,a);N=v.insert(()=>d,`:first-child`);let p=i.rectangle(t,D,n,E,o);P=v.insert(()=>p,`:first-child`),N.select(`path:nth-child(2)`).attr(`style`,h.join(`;`)),N.select(`path`).attr(`style`,g.join(`;`).replace(`fill`,`stroke`))}else N=v.insert(`rect`,`:first-child`),P=v.insert(`rect`,`:first-child`),N.attr(`class`,`swimlane-title`).attr(`style`,m).attr(`x`,k).attr(`y`,D).attr(`width`,e).attr(`height`,E).attr(`fill`,u).attr(`stroke`,f),P.attr(`class`,`swimlane-body`).attr(`style`,m).attr(`x`,t).attr(`y`,D).attr(`width`,n).attr(`height`,E).attr(`fill`,`none`).attr(`stroke`,f);let i=k+e/2,a=r.y;x.attr(`transform`,`translate(${i}, ${a}) rotate(-90) translate(${-C.width/2}, ${-C.height/2})`)}else{let e=Math.max(0,A-D),t=Math.min(M,e),n=D+t,i=Math.max(0,O-n),a=r.x-T/2;if(r.look===`handDrawn`){let e=c.t.svg(v),o=s.a(r,{roughness:.7,fill:u,stroke:f,fillWeight:3,seed:l}),d=s.a(r,{roughness:.7,fill:`none`,stroke:f,seed:l}),p=e.rectangle(a,D,T,t,o);N=v.insert(()=>p,`:first-child`);let m=e.rectangle(a,n,T,i,d);P=v.insert(()=>m,`:first-child`),N.select(`path:nth-child(2)`).attr(`style`,h.join(`;`)),N.select(`path`).attr(`style`,g.join(`;`).replace(`fill`,`stroke`))}else N=v.insert(`rect`,`:first-child`),P=v.insert(`rect`,`:first-child`),N.attr(`class`,`swimlane-title`).attr(`style`,m).attr(`x`,a).attr(`y`,D).attr(`width`,T).attr(`height`,t).attr(`fill`,u).attr(`stroke`,f),P.attr(`class`,`swimlane-body`).attr(`style`,m).attr(`x`,a).attr(`y`,n).attr(`width`,T).attr(`height`,i).attr(`fill`,`none`).attr(`stroke`,f);let o=r.x-C.width/2,d=D+(t-C.height)/2;x.attr(`transform`,`translate(${o}, ${d})`)}if(t.m.trace(`Swimlane data `,r,JSON.stringify(r)),p){let e=x.select(`span`);e&&e.attr(`style`,p)}return r.offsetX=0,r.width=T,r.height=E,r.offsetY=C.height-w/2,r.intersect=function(e){return _(r,e)},{cluster:v,labelBBox:C}},`swimlane`),x=e.n(async(e,r)=>{t.m.info(`Creating subgraph rect for `,r.id,r);let i=n.x(),{themeVariables:l,handDrawnSeed:u}=i,{clusterBkg:d,clusterBorder:f}=l,{labelStyles:p,nodeStyles:m,borderStyles:h,backgroundStyles:g}=s.i(r),b=e.insert(`g`).attr(`class`,`cluster `+r.cssClasses).attr(`id`,r.domId).attr(`data-look`,r.look),x=n.T(i),S=b.insert(`g`).attr(`class`,`cluster-label `),C;C=r.labelType===`markdown`?await a.n(S,r.label,{style:r.labelStyle,useHtmlLabels:x,isNode:!0,width:r.width}):await v(S,r.label,r.labelStyle||``,!1,!0);let w=C.getBBox();if(n.T(i)){let e=C.children[0],n=t.p(C);w=e.getBoundingClientRect(),n.attr(`width`,w.width),n.attr(`height`,w.height)}let T=r.width<=w.width+r.padding?w.width+r.padding:r.width;r.diff=r.width<=w.width+r.padding?(T-r.width)/2-r.padding:-r.padding;let E=r.height,D=r.x-T/2,O=r.y-E/2;t.m.trace(`Data `,r,JSON.stringify(r));let k;if(r.look===`handDrawn`){let e=c.t.svg(b),n=s.a(r,{roughness:.7,fill:d,stroke:f,fillWeight:3,seed:u}),i=e.path(y(D,O,T,E,0),n);k=b.insert(()=>(t.m.debug(`Rough node insert CXC`,i),i),`:first-child`),k.select(`path:nth-child(2)`).attr(`style`,h.join(`;`)),k.select(`path`).attr(`style`,g.join(`;`).replace(`fill`,`stroke`))}else k=b.insert(`rect`,`:first-child`),k.attr(`style`,m).attr(`rx`,r.rx).attr(`ry`,r.ry).attr(`x`,D).attr(`y`,O).attr(`width`,T).attr(`height`,E);let{subGraphTitleTopMargin:A}=o.n(i);if(S.attr(`transform`,`translate(${r.x-w.width/2}, ${r.y-r.height/2+A})`),p){let e=S.select(`span`);e&&e.attr(`style`,p)}let j=k.node().getBBox();return r.offsetX=0,r.width=j.width,r.height=j.height,r.offsetY=w.height-r.padding/2,r.intersect=function(e){return _(r,e)},{cluster:b,labelBBox:w}},`rect`),S={rect:x,squareRect:x,roundedWithTitle:e.n(async(e,r)=>{let i=n.x(),{themeVariables:a,handDrawnSeed:o}=i,{altBackground:s,compositeBackground:l,compositeTitleBackground:u,nodeBorder:d}=a,f=e.insert(`g`).attr(`class`,r.cssClasses).attr(`id`,r.domId).attr(`data-id`,r.id).attr(`data-look`,r.look),p=f.insert(`g`,`:first-child`),m=f.insert(`g`).attr(`class`,`cluster-label`),h=f.append(`rect`),g=await v(m,r.label,r.labelStyle,void 0,!0),b=g.getBBox();if(n.T(i)){let e=g.children[0],n=t.p(g);b=e.getBoundingClientRect(),n.attr(`width`,b.width),n.attr(`height`,b.height)}let x=0*r.padding,S=x/2,C=(r.width<=b.width+r.padding?b.width+r.padding:r.width)+x;r.diff=r.width<=b.width+r.padding?(C-r.width)/2-r.padding:-r.padding;let w=r.height+x,T=r.height+x-b.height-6,E=r.x-C/2,D=r.y-w/2;r.width=C;let O=r.y-r.height/2-S+b.height+2,k;if(r.look===`handDrawn`){let e=r.cssClasses.includes(`statediagram-cluster-alt`),t=c.t.svg(f),n=r.rx||r.ry?t.path(y(E,D,C,w,10),{roughness:.7,fill:u,fillStyle:`solid`,stroke:d,seed:o}):t.rectangle(E,D,C,w,{seed:o});k=f.insert(()=>n,`:first-child`);let i=t.rectangle(E,O,C,T,{fill:e?s:l,fillStyle:e?`hachure`:`solid`,stroke:d,seed:o});k=f.insert(()=>n,`:first-child`),h=f.insert(()=>i)}else k=p.insert(`rect`,`:first-child`),k.attr(`class`,`outer`).attr(`x`,E).attr(`y`,D).attr(`width`,C).attr(`height`,w).attr(`data-look`,r.look),h.attr(`class`,`inner`).attr(`x`,E).attr(`y`,O).attr(`width`,C).attr(`height`,T);return m.attr(`transform`,`translate(${r.x-b.width/2}, ${D+1-(n.T(i)?0:3)})`),r.height=k.node().getBBox().height,r.offsetX=0,r.offsetY=b.height-r.padding/2,r.labelBBox=b,r.intersect=function(e){return _(r,e)},{cluster:f,labelBBox:b}},`roundedWithTitle`),noteGroup:e.n((e,t)=>{let n=e.insert(`g`).attr(`class`,`note-cluster`).attr(`id`,t.domId),r=n.insert(`rect`,`:first-child`),i=0*t.padding,a=i/2;r.attr(`rx`,t.rx).attr(`ry`,t.ry).attr(`x`,t.x-t.width/2-a).attr(`y`,t.y-t.height/2-a).attr(`width`,t.width+i).attr(`height`,t.height+i).attr(`fill`,`none`);let o=r.node().getBBox();return t.width=o.width,t.height=o.height,t.intersect=function(e){return _(t,e)},{cluster:n,labelBBox:{width:0,height:0}}},`noteGroup`),divider:e.n((e,t)=>{let{themeVariables:r,handDrawnSeed:i}=n.x(),{nodeBorder:a}=r,o=e.insert(`g`).attr(`class`,t.cssClasses).attr(`id`,t.domId).attr(`data-look`,t.look),s=o.insert(`g`,`:first-child`),l=0*t.padding,u=t.width+l;t.diff=-t.padding;let d=t.height+l,f=t.x-u/2,p=t.y-d/2;t.width=u;let m;if(t.look===`handDrawn`){let e=c.t.svg(o).rectangle(f,p,u,d,{fill:`lightgrey`,roughness:.5,strokeLineDash:[5],stroke:a,seed:i});m=o.insert(()=>e,`:first-child`)}else{m=s.insert(`rect`,`:first-child`);let e=`outer`;e=(t.look,`divider`),m.attr(`class`,e).attr(`x`,f).attr(`y`,p).attr(`width`,u).attr(`height`,d).attr(`data-look`,t.look)}return t.height=m.node().getBBox().height,t.offsetX=0,t.offsetY=0,t.intersect=function(e){return _(t,e)},{cluster:o,labelBBox:{}}},`divider`),kanbanSection:e.n(async(e,r)=>{t.m.info(`Creating subgraph rect for `,r.id,r);let i=n.x(),{themeVariables:l,handDrawnSeed:u}=i,{clusterBkg:d,clusterBorder:f}=l,{labelStyles:p,nodeStyles:m,borderStyles:h,backgroundStyles:g}=s.i(r),v=e.insert(`g`).attr(`class`,`cluster `+r.cssClasses).attr(`id`,r.domId).attr(`data-look`,r.look),b=n.T(i),x=v.insert(`g`).attr(`class`,`cluster-label `),S=await a.n(x,r.label,{style:r.labelStyle,useHtmlLabels:b,isNode:!0,width:r.width}),C=S.getBBox();if(n.T(i)){let e=S.children[0],n=t.p(S);C=e.getBoundingClientRect(),n.attr(`width`,C.width),n.attr(`height`,C.height)}let w=r.width<=C.width+r.padding?C.width+r.padding:r.width;r.diff=r.width<=C.width+r.padding?(w-r.width)/2-r.padding:-r.padding;let T=r.height,E=r.x-w/2,D=r.y-T/2;t.m.trace(`Data `,r,JSON.stringify(r));let O;if(r.look===`handDrawn`){let e=c.t.svg(v),n=s.a(r,{roughness:.7,fill:d,stroke:f,fillWeight:4,seed:u}),i=e.path(y(E,D,w,T,r.rx),n);O=v.insert(()=>(t.m.debug(`Rough node insert CXC`,i),i),`:first-child`),O.select(`path:nth-child(2)`).attr(`style`,h.join(`;`)),O.select(`path`).attr(`style`,g.join(`;`).replace(`fill`,`stroke`))}else O=v.insert(`rect`,`:first-child`),O.attr(`style`,m).attr(`rx`,r.rx).attr(`ry`,r.ry).attr(`x`,E).attr(`y`,D).attr(`width`,w).attr(`height`,T);let{subGraphTitleTopMargin:k}=o.n(i);if(x.attr(`transform`,`translate(${r.x-C.width/2}, ${r.y-r.height/2+k})`),p){let e=x.select(`span`);e&&e.attr(`style`,p)}let A=O.node().getBBox();return r.offsetX=0,r.width=A.width,r.height=A.height,r.offsetY=C.height-r.padding/2,r.intersect=function(e){return _(r,e)},{cluster:v,labelBBox:C}},`kanbanSection`),swimlane:b},C=new Map,w=e.n(async(e,t)=>{let n=await S[t.shape||`rect`](e,t);return C.set(t.id,n),n},`insertCluster`),T=e.n(()=>{C=new Map},`clear`);function E(e,t){return e.intersect(t)}e.n(E,`intersectNode`);var D=E;function O(e,t,n,r){var i=e.x,a=e.y,o=i-r.x,s=a-r.y,c=Math.sqrt(t*t*s*s+n*n*o*o),l=Math.abs(t*n*o/c);r.x<i&&(l=-l);var u=Math.abs(t*n*s/c);return r.y<a&&(u=-u),{x:i+l,y:a+u}}e.n(O,`intersectEllipse`);var k=O;function A(e,t,n){return k(e,t,t,n)}e.n(A,`intersectCircle`);var j=A;function M(e,t,n,r){{let i=t.y-e.y,a=e.x-t.x,o=t.x*e.y-e.x*t.y,s=i*n.x+a*n.y+o,c=i*r.x+a*r.y+o,l=1e-6;if(s!==0&&c!==0&&N(s,c))return;let u=r.y-n.y,d=n.x-r.x,f=r.x*n.y-n.x*r.y,p=u*e.x+d*e.y+f,m=u*t.x+d*t.y+f;if(Math.abs(p)<l&&Math.abs(m)<l&&N(p,m))return;let h=i*d-u*a;if(h===0)return;let g=Math.abs(h/2),_=a*f-d*o,v=_<0?(_-g)/h:(_+g)/h;return _=u*o-i*f,{x:v,y:_<0?(_-g)/h:(_+g)/h}}}e.n(M,`intersectLine`);function N(e,t){return e*t>0}e.n(N,`sameSign`);var P=M;function F(e,t,n){let r=e.x,i=e.y,a=[],o=1/0,s=1/0;typeof t.forEach==`function`?t.forEach(function(e){o=Math.min(o,e.x),s=Math.min(s,e.y)}):(o=Math.min(o,t.x),s=Math.min(s,t.y));let c=r-e.width/2-o,l=i-e.height/2-s;for(let r=0;r<t.length;r++){let i=t[r],o=t[r<t.length-1?r+1:0],s=P(e,n,{x:c+i.x,y:l+i.y},{x:c+o.x,y:l+o.y});s&&a.push(s)}return a.length?(a.length>1&&a.sort(function(e,t){let r=e.x-n.x,i=e.y-n.y,a=Math.sqrt(r*r+i*i),o=t.x-n.x,s=t.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1}),a[0]):e}e.n(F,`intersectPolygon`);var I={node:D,circle:j,ellipse:k,polygon:F,rect:_};function L(e,n){let{labelStyles:i}=s.i(n);n.labelStyle=i;let a=f(n),o=a;a||(o=`anchor`);let l=e.insert(`g`).attr(`class`,o).attr(`id`,n.domId||n.id),{cssStyles:u}=n,p=c.t.svg(l),m=s.a(n,{fill:`black`,stroke:`none`,fillStyle:`solid`});n.look!==`handDrawn`&&(m.roughness=0);let h=p.circle(0,0,2,m),g=l.insert(()=>h,`:first-child`);return g.attr(`class`,`anchor`).attr(`style`,r.u(u)),d(n,g),n.intersect=function(e){return t.m.info(`Circle intersect`,n,1,e),I.circle(n,1,e)},l}e.n(L,`anchor`);function R(e,t,n,r,i,a,o){let s=(e+n)/2,c=(t+r)/2,l=Math.atan2(r-t,n-e),u=(n-e)/2,d=(r-t)/2,f=u/i,p=d/a,m=Math.sqrt(f**2+p**2);if(m>1)throw Error(`The given radii are too small to create an arc between the points.`);let h=Math.sqrt(1-m**2),g=s+h*a*Math.sin(l)*(o?-1:1),_=c-h*i*Math.cos(l)*(o?-1:1),v=Math.atan2((t-_)/a,(e-g)/i),y=Math.atan2((r-_)/a,(n-g)/i)-v;o&&y<0&&(y+=2*Math.PI),!o&&y>0&&(y-=2*Math.PI);let b=[];for(let e=0;e<20;e++){let t=v+e/19*y,n=g+i*Math.cos(t),r=_+a*Math.sin(t);b.push({x:n,y:r})}return b}e.n(R,`generateArcPoints`);function z(e,t,n){let[r,i]=[t,n].sort((e,t)=>t-e);return i*(1-Math.sqrt(1-(e/r/2)**2))}e.n(z,`calculateArcSagitta`);async function ee(t,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.labelStyle=r;let a=n.padding??0,o=n.look===`neo`?16:a,u=n.look===`neo`?12:a,m=e.n(e=>e+u,`calcTotalHeight`),h=e.n(e=>{let t=e/2;return[t/(2.5+e/50),t]},`calcEllipseRadius`),{shapeSvg:g,bbox:_}=await l(t,n,f(n)),v=m(n?.height?n?.height:_.height),[y,b]=h(v),x=z(v,y,b),S=(n?.width?n?.width:_.width)+o*2+x-x,C=v,{cssStyles:w}=n,T=[{x:S/2,y:-C/2},{x:-S/2,y:-C/2},...R(-S/2,-C/2,-S/2,C/2,y,b,!1),{x:S/2,y:C/2},...R(S/2,C/2,S/2,-C/2,y,b,!0)],E=c.t.svg(g),D=s.a(n,{});n.look!==`handDrawn`&&(D.roughness=0,D.fillStyle=`solid`);let O=p(T),k=E.path(O,D),A=g.insert(()=>k,`:first-child`);return A.attr(`class`,`basic label-container outer-path`),w&&n.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,w),i&&n.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,i),A.attr(`transform`,`translate(${y/2}, 0)`),d(n,A),n.intersect=function(e){return I.polygon(n,T,e)},g}e.n(ee,`bowTieRect`);function B(e,t,n,r){return e.insert(`polygon`,`:first-child`).attr(`points`,r.map(function(e){return e.x+`,`+e.y}).join(` `)).attr(`class`,`label-container`).attr(`transform`,`translate(`+-t/2+`,`+n/2+`)`)}e.n(B,`insertPolygonShape`);var V=12;async function H(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?28:i,o=t.look===`neo`?24:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.width??m.width)+(t.look===`neo`?a*2:a+V),g=(t?.height??m.height)+(t.look===`neo`?o*2:o),_=h,v=-g,y=[{x:0+V,y:v},{x:_,y:v},{x:_,y:0},{x:0,y:0},{x:0,y:v+V},{x:0+V,y:v}],b,{cssStyles:x}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(y),i=e.path(r,n);b=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-h/2}, ${g/2})`),x&&b.attr(`style`,x)}else b=B(u,h,g,y);return r&&b.attr(`style`,r),d(t,b),t.intersect=function(e){return I.polygon(t,y,e)},u}e.n(H,`card`);function U(e,t){let{nodeStyles:n}=s.i(t);t.label=``;let r=e.insert(`g`).attr(`class`,f(t)).attr(`id`,t.domId??t.id),{cssStyles:i}=t,a=Math.max(28,t.width??0),o=[{x:0,y:a/2},{x:a/2,y:0},{x:0,y:-a/2},{x:-a/2,y:0}],l=c.t.svg(r),u=s.a(t,{});t.look!==`handDrawn`&&(u.roughness=0,u.fillStyle=`solid`);let d=p(o),m=l.path(d,u),h=r.insert(()=>m,`:first-child`);return i&&t.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,i),n&&t.look!==`handDrawn`&&h.selectAll(`path`).attr(`style`,n),t.width=28,t.height=28,t.intersect=function(e){return I.polygon(t,o,e)},r}e.n(U,`choice`);async function te(e,n,i){let{labelStyles:a,nodeStyles:o}=s.i(n);n.labelStyle=a;let{shapeSvg:u,bbox:p,halfPadding:m}=await l(e,n,f(n)),h=i?.padding??m,g=n.look===`neo`?p.width/2+32:p.width/2+h,_,{cssStyles:v}=n;if(n.look===`handDrawn`){let e=c.t.svg(u),t=s.a(n,{}),i=e.circle(0,0,g*2,t);_=u.insert(()=>i,`:first-child`),_.attr(`class`,`basic label-container`).attr(`style`,r.u(v))}else _=u.insert(`circle`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,o).attr(`r`,g).attr(`cx`,0).attr(`cy`,0);return d(n,_),n.calcIntersect=function(e,t){let n=e.width/2;return I.circle(e,n,t)},n.intersect=function(e){return t.m.info(`Circle intersect`,n,g,e),I.circle(n,g,e)},u}e.n(te,`circle`);function ne(e){let t=Math.cos(Math.PI/4),n=Math.sin(Math.PI/4),r=e*2,i={x:r/2*t,y:r/2*n},a={x:-(r/2)*t,y:r/2*n},o={x:-(r/2)*t,y:-(r/2)*n},s={x:r/2*t,y:-(r/2)*n};return`M ${a.x},${a.y} L ${s.x},${s.y}
|
|
2
|
-
M ${i.x},${i.y} L ${o.x},${o.y}`}e.n(ne,`createLine`);function W(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.labelStyle=r,n.label=``;let a=e.insert(`g`).attr(`class`,f(n)).attr(`id`,n.domId??n.id),o=Math.max(30,n?.width??0),{cssStyles:l}=n,u=c.t.svg(a),p=s.a(n,{});n.look!==`handDrawn`&&(p.roughness=0,p.fillStyle=`solid`);let m=u.circle(0,0,o*2,p),h=ne(o),g=u.path(h,p),_=a.insert(()=>m,`:first-child`);return _.insert(()=>g),_.attr(`class`,`outer-path`),l&&n.look!==`handDrawn`&&_.selectAll(`path`).attr(`style`,l),i&&n.look!==`handDrawn`&&_.selectAll(`path`).attr(`style`,i),d(n,_),n.intersect=function(e){return t.m.info(`crossedCircle intersect`,n,{radius:o,point:e}),I.circle(n,o,e)},a}e.n(W,`crossedCircle`);function G(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}e.n(G,`generateCirclePoints`);async function K(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=t.look===`neo`?18:t.padding??0,m=t.look===`neo`?12:t.padding??0,h=a.width+u,g=a.height+m,_=Math.max(5,g*.1),{cssStyles:v}=t,y=[...G(h/2,-g/2,_,30,-90,0),{x:-h/2-_,y:_},...G(h/2+_*2,-_,_,20,-180,-270),...G(h/2+_*2,_,_,20,-90,-180),{x:-h/2-_,y:-g/2},...G(h/2,g/2,_,20,0,90)],b=[{x:h/2,y:-g/2-_},{x:-h/2,y:-g/2-_},...G(h/2,-g/2,_,20,-90,0),{x:-h/2-_,y:-_},...G(h/2+h*.1,-_,_,20,-180,-270),...G(h/2+h*.1,_,_,20,-90,-180),{x:-h/2-_,y:g/2},...G(h/2,g/2,_,20,0,90),{x:-h/2,y:g/2+_},{x:h/2,y:g/2+_}],x=c.t.svg(i),S=s.a(t,{fill:`none`});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=p(y).replace(`Z`,``),w=x.path(C,S),T=p(b),E=x.path(T,{...S}),D=i.insert(`g`,`:first-child`);return D.insert(()=>E,`:first-child`).attr(`stroke-opacity`,0),D.insert(()=>w,`:first-child`),D.attr(`class`,`text`),v&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,v),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${_}, 0)`),o.attr(`transform`,`translate(${-h/2+_-(a.x-(a.left??0))},${-g/2+(t.padding??0)/2-(a.y-(a.top??0))})`),d(t,D),t.intersect=function(e){return I.polygon(t,b,e)},i}e.n(K,`curlyBraceLeft`);function q(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:a,y:l})}return o}e.n(q,`generateCirclePoints`);async function re(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=t.look===`neo`?18:t.padding??0,m=t.look===`neo`?12:t.padding??0,h=a.width+(t.look===`neo`?u*2:u),g=a.height+(t.look===`neo`?m*2:m),_=Math.max(5,g*.1),{cssStyles:v}=t,y=[...q(h/2,-g/2,_,20,-90,0),{x:h/2+_,y:-_},...q(h/2+_*2,-_,_,20,-180,-270),...q(h/2+_*2,_,_,20,-90,-180),{x:h/2+_,y:g/2},...q(h/2,g/2,_,20,0,90)],b=[{x:-h/2,y:-g/2-_},{x:h/2,y:-g/2-_},...q(h/2,-g/2,_,20,-90,0),{x:h/2+_,y:-_},...q(h/2+_*2,-_,_,20,-180,-270),...q(h/2+_*2,_,_,20,-90,-180),{x:h/2+_,y:g/2},...q(h/2,g/2,_,20,0,90),{x:h/2,y:g/2+_},{x:-h/2,y:g/2+_}],x=c.t.svg(i),S=s.a(t,{fill:`none`});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=p(y).replace(`Z`,``),w=x.path(C,S),T=p(b),E=x.path(T,{...S}),D=i.insert(`g`,`:first-child`);return D.insert(()=>E,`:first-child`).attr(`stroke-opacity`,0),D.insert(()=>w,`:first-child`),D.attr(`class`,`text`),v&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,v),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${-_}, 0)`),o.attr(`transform`,`translate(${-h/2+(t.padding??0)/2-(a.x-(a.left??0))},${-g/2+(t.padding??0)/2-(a.y-(a.top??0))})`),d(t,D),t.intersect=function(e){return I.polygon(t,b,e)},i}e.n(re,`curlyBraceRight`);function J(e,t,n,r=100,i=0,a=180){let o=[],s=i*Math.PI/180,c=(a*Math.PI/180-s)/(r-1);for(let i=0;i<r;i++){let r=s+i*c,a=e+n*Math.cos(r),l=t+n*Math.sin(r);o.push({x:-a,y:-l})}return o}e.n(J,`generateCirclePoints`);async function ie(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=t.look===`neo`?18:t.padding??0,m=t.look===`neo`?12:t.padding??0,h=a.width+(t.look===`neo`?u*2:u),g=a.height+(t.look===`neo`?m*2:m),_=Math.max(5,g*.1),{cssStyles:v}=t,y=[...J(h/2,-g/2,_,30,-90,0),{x:-h/2-_,y:_},...J(h/2+_*2,-_,_,20,-180,-270),...J(h/2+_*2,_,_,20,-90,-180),{x:-h/2-_,y:-g/2},...J(h/2,g/2,_,20,0,90)],b=[...J(-h/2+_+_/2,-g/2,_,20,-90,-180),{x:h/2-_/2,y:_},...J(-h/2-_/2,-_,_,20,0,90),...J(-h/2-_/2,_,_,20,-90,0),{x:h/2-_/2,y:-_},...J(-h/2+_+_/2,g/2,_,30,-180,-270)],x=[{x:h/2,y:-g/2-_},{x:-h/2,y:-g/2-_},...J(h/2,-g/2,_,20,-90,0),{x:-h/2-_,y:-_},...J(h/2+_*2,-_,_,20,-180,-270),...J(h/2+_*2,_,_,20,-90,-180),{x:-h/2-_,y:g/2},...J(h/2,g/2,_,20,0,90),{x:-h/2,y:g/2+_},{x:h/2-_-_/2,y:g/2+_},...J(-h/2+_+_/2,-g/2,_,20,-90,-180),{x:h/2-_/2,y:_},...J(-h/2-_/2,-_,_,20,0,90),...J(-h/2-_/2,_,_,20,-90,0),{x:h/2-_/2,y:-_},...J(-h/2+_+_/2,g/2,_,30,-180,-270)],S=c.t.svg(i),C=s.a(t,{fill:`none`});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let w=p(y).replace(`Z`,``),T=S.path(w,C),E=p(b).replace(`Z`,``),D=S.path(E,C),O=p(x),k=S.path(O,{...C}),A=i.insert(`g`,`:first-child`);return A.insert(()=>k,`:first-child`).attr(`stroke-opacity`,0),A.insert(()=>T,`:first-child`),A.insert(()=>D,`:first-child`),A.attr(`class`,`text`),v&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,v),r&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,r),A.attr(`transform`,`translate(${_-_/4}, 0)`),o.attr(`transform`,`translate(${-h/2+(t.padding??0)/2-(a.x-(a.left??0))},${-g/2+(t.padding??0)/2-(a.y-(a.top??0))})`),d(t,A),t.intersect=function(e){return I.polygon(t,x,e)},i}e.n(ie,`curlyBraces`);async function ae(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),g=Math.max(20,(m.width+a*2)*1.25,t?.width??0),_=Math.max(5,m.height+o*2,t?.height??0),v=_/2,{cssStyles:y}=t,b=c.t.svg(u),x=s.a(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=g,C=_,w=S-v,T=C/4,E=[{x:w,y:0},{x:T,y:0},{x:0,y:C/2},{x:T,y:C},{x:w,y:C},...h(-w,-C/2,v,50,270,90)],D=p(E),O=b.path(D,x),k=u.insert(()=>O,`:first-child`);return k.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&k.selectChildren(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&k.selectChildren(`path`).attr(`style`,r),k.attr(`transform`,`translate(${-g/2}, ${-_/2})`),d(t,k),t.intersect=function(e){return I.polygon(t,E,e)},u}e.n(ae,`curvedTrapezoid`);var oe=e.n((e,t,n,r,i,a)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createCylinderPathD`),se=e.n((e,t,n,r,i,a)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`].join(` `),`createOuterCylinderPathD`),ce=e.n((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),le=8,ue=8;async function de(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?24:a,u=t.look===`neo`?24:a;if(t.width||t.height){let e=t.width??0;t.width=(t.width??0)-u,t.width<ue&&(t.width=ue);let n=e/2/(2.5+e/50);t.height=(t.height??0)-o-n*3,t.height<le&&(t.height=le)}let{shapeSvg:p,bbox:m,label:h}=await l(e,t,f(t)),g=(t.width?t.width:m.width)+u,_=g/2,v=_/(2.5+g/50),y=(t.height?t.height:m.height)+o+v,b,{cssStyles:x}=t;if(t.look===`handDrawn`){let e=c.t.svg(p),n=se(0,0,g,y,_,v),r=ce(0,v,g,y,_,v),i=s.a(t,{}),a=e.path(n,i),o=e.path(r,s.a(t,{fill:`none`}));b=p.insert(()=>o,`:first-child`),b=p.insert(()=>a,`:first-child`),b.attr(`class`,`basic label-container`),x&&b.attr(`style`,x)}else{let e=oe(0,0,g,y,_,v);b=p.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(x)).attr(`style`,i)}return b.attr(`label-offset-y`,v),b.attr(`transform`,`translate(${-g/2}, ${-(y/2+v)})`),d(t,b),h.attr(`transform`,`translate(${-(m.width/2)-(m.x-(m.left??0))}, ${-(m.height/2)+(t.padding??0)/1.5-(m.y-(m.top??0))})`),t.intersect=function(e){let n=I.rect(t,e),r=n.x-(t.x??0);if(_!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-v)){let i=v*v*(1-r*r/(_*_));i>0&&(i=Math.sqrt(i)),i=v-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},p}e.n(de,`cylinder`);async function Y(e,t,n){let{labelStyles:i,nodeStyles:a}=s.i(t);t.labelStyle=i;let{shapeSvg:o,bbox:u}=await l(e,t,f(t)),p=Math.max(u.width+n.labelPaddingX*2,t?.width||0),m=Math.max(u.height+n.labelPaddingY*2,t?.height||0),h=-p/2,g=-m/2,_,{rx:v,ry:b}=t,{cssStyles:x}=t;if(n?.rx&&n.ry&&(v=n.rx,b=n.ry),t.look===`handDrawn`){let e=c.t.svg(o),n=s.a(t,{}),i=v||b?e.path(y(h,g,p,m,v||0),n):e.rectangle(h,g,p,m,n);_=o.insert(()=>i,`:first-child`),_.attr(`class`,`basic label-container`).attr(`style`,r.u(x))}else _=o.insert(`rect`,`:first-child`),_.attr(`class`,`basic label-container`).attr(`style`,a).attr(`rx`,r.u(v)).attr(`ry`,r.u(b)).attr(`x`,h).attr(`y`,g).attr(`width`,p).attr(`height`,m);return d(t,_),t.calcIntersect=function(e,t){return I.rect(e,t)},t.intersect=function(e){return I.rect(t,e)},o}e.n(Y,`drawRect`);async function fe(e,t){let{cssClasses:n,labelPaddingX:r,labelPaddingY:i,padding:a,width:o,height:l}=t,u=await Y(e,t,{rx:0,ry:0,classes:n??``,labelPaddingX:r??(a??0)*2,labelPaddingY:i??a??0});if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=u.select(`.basic.label-container > path:nth-child(2)`),i=r.node();if(!i)return u;let a=null;if(i instanceof SVGGraphicsElement)a=i.getBBox();else return u;return u.insert(()=>e.line(a.x,a.y,a.x+a.width,a.y,n),`.basic.label-container g.label`),u.insert(()=>e.line(a.x,a.y+a.height,a.x+a.width,a.y+a.height,n),`.basic.label-container g.label`),r.remove(),u}let d=u.select(`.basic.label-container`),f=(Number(d.attr(`width`))||o)??0,p=(Number(d.attr(`height`))||l)??0;return f>0&&p>0&&d.attr(`stroke-dasharray`,`${f} ${p}`),u}e.n(fe,`datastore`);async function pe(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.look===`neo`?16:t.padding??0,a=t.look===`neo`?16:t.padding??0,{shapeSvg:o,bbox:u,label:p}=await l(e,t,f(t)),m=u.width+i,h=u.height+a,g=h*.2,_=-m/2,v=-h/2-g/2,{cssStyles:y}=t,b=c.t.svg(o),x=s.a(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:_,y:v+g},{x:-_,y:v+g},{x:-_,y:-v},{x:_,y:-v},{x:_,y:v},{x:-_,y:v},{x:-_,y:v+g}],C=b.polygon(S.map(e=>[e.x,e.y]),x),w=o.insert(()=>C,`:first-child`);return w.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&w.selectAll(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&w.selectAll(`path`).attr(`style`,r),p.attr(`transform`,`translate(${_+(t.padding??0)/2-(u.x-(u.left??0))}, ${v+g+(t.padding??0)/2-(u.y-(u.top??0))})`),d(t,w),t.intersect=function(e){return I.rect(t,e)},o}e.n(pe,`dividedRectangle`);async function me(e,n){let{labelStyles:i,nodeStyles:a}=s.i(n),o=n.look===`neo`?12:5;n.labelStyle=i;let u=n.padding??0,p=n.look===`neo`?16:u,{shapeSvg:m,bbox:h}=await l(e,n,f(n)),g=(n?.width?n?.width/2:h.width/2)+(p??0),_=g-o,v,{cssStyles:y}=n;if(n.look===`handDrawn`){let e=c.t.svg(m),t=s.a(n,{roughness:.2,strokeWidth:2.5}),i=s.a(n,{roughness:.2,strokeWidth:1.5}),a=e.circle(0,0,g*2,t),o=e.circle(0,0,_*2,i);v=m.insert(`g`,`:first-child`),v.attr(`class`,r.u(n.cssClasses)).attr(`style`,r.u(y)),v.node()?.appendChild(a),v.node()?.appendChild(o)}else{v=m.insert(`g`,`:first-child`);let e=v.insert(`circle`,`:first-child`),t=v.insert(`circle`);v.attr(`class`,`basic label-container`).attr(`style`,a),e.attr(`class`,`outer-circle`).attr(`style`,a).attr(`r`,g).attr(`cx`,0).attr(`cy`,0),t.attr(`class`,`inner-circle`).attr(`style`,a).attr(`r`,_).attr(`cx`,0).attr(`cy`,0)}return d(n,v),n.intersect=function(e){return t.m.info(`DoubleCircle intersect`,n,g,e),I.circle(n,g,e)},m}e.n(me,`doublecircle`);function he(e,n,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:a}=s.i(n);n.label=``,n.labelStyle=i;let o=e.insert(`g`).attr(`class`,f(n)).attr(`id`,n.domId??n.id),{cssStyles:l}=n,u=c.t.svg(o),{nodeBorder:p}=r,m=s.a(n,{fillStyle:`solid`});n.look!==`handDrawn`&&(m.roughness=0);let h=u.circle(0,0,14,m),g=o.insert(()=>h,`:first-child`);return g.selectAll(`path`).attr(`style`,`fill: ${p} !important;`),l&&l.length>0&&n.look!==`handDrawn`&&g.selectAll(`path`).attr(`style`,l),a&&n.look!==`handDrawn`&&g.selectAll(`path`).attr(`style`,a),d(n,g),n.intersect=function(e){return t.m.info(`filledCircle intersect`,n,{radius:7,point:e}),I.circle(n,7,e)},o}e.n(he,`filledCircle`);var ge=10,_e=10;async function ve(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.labelStyle=r;let a=n.padding??0,o=n.look===`neo`?a*2:a;(n.width||n.height)&&(n.height=n?.height??0,n.height<ge&&(n.height=ge),n.width=(n?.width??0)-o-o/2,n.width<_e&&(n.width=_e));let{shapeSvg:u,bbox:m,label:h}=await l(e,n,f(n)),g=(n?.width?n?.width:m.width)+(o??0),_=n?.height?n?.height:g+m.height,v=_,y=[{x:0,y:-_},{x:v,y:-_},{x:v/2,y:0}],{cssStyles:b}=n,x=c.t.svg(u),S=s.a(n,{});n.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=p(y),w=x.path(C,S),T=u.insert(()=>w,`:first-child`).attr(`transform`,`translate(${-_/2}, ${_/2})`).attr(`class`,`outer-path`);return b&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,b),i&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,i),n.width=g,n.height=_,d(n,T),h.attr(`transform`,`translate(${-m.width/2-(m.x-(m.left??0))}, ${-_/2+(n.padding??0)/2+(m.y-(m.top??0))})`),n.intersect=function(e){return t.m.info(`Triangle intersect`,n,y,e),I.polygon(n,y,e)},u}e.n(ve,`flippedTriangle`);function ye(e,t,{dir:n,config:{state:r,themeVariables:i}}){let{nodeStyles:a}=s.i(t);t.label=``;let o=e.insert(`g`).attr(`class`,f(t)).attr(`id`,t.domId??t.id),{cssStyles:l}=t,u=Math.max(70,t?.width??0),p=Math.max(10,t?.height??0);n===`LR`&&(u=Math.max(10,t?.width??0),p=Math.max(70,t?.height??0));let m=-1*u/2,h=-1*p/2,g=c.t.svg(o),_=s.a(t,{stroke:i.lineColor,fill:i.lineColor});t.look!==`handDrawn`&&(_.roughness=0,_.fillStyle=`solid`);let v=g.rectangle(m,h,u,p,_),y=o.insert(()=>v,`:first-child`);l&&t.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,l),a&&t.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,a),d(t,y);let b=r?.padding??0;return t.width&&t.height&&(t.width+=b/2||0,t.height+=b/2||0),t.intersect=function(e){return I.rect(t,e)},o}e.n(ye,`forkJoin`);async function be(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.labelStyle=r;let a=n.look===`neo`?16:n.padding??0,o=n.look===`neo`?12:n.padding??0;(n.width||n.height)&&(n.height=(n?.height??0)-o*2,n.height<10&&(n.height=10),n.width=(n?.width??0)-a*2,n.width<15&&(n.width=15));let{shapeSvg:u,bbox:m}=await l(e,n,f(n)),g=(n?.width?n?.width:Math.max(15,m.width))+a*2,_=(n?.height?n?.height:Math.max(10,m.height))+o*2,v=_/2,{cssStyles:y}=n,b=c.t.svg(u),x=s.a(n,{});n.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:-g/2,y:-_/2},{x:g/2-v,y:-_/2},...h(-g/2+v,0,v,50,90,270),{x:g/2-v,y:_/2},{x:-g/2,y:_/2}],C=p(S),w=b.path(C,x),T=u.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),y&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,y),i&&n.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,i),d(n,T),n.intersect=function(e){return t.m.info(`Pill intersect`,n,{radius:v,point:e}),I.polygon(n,S,e)},u}e.n(be,`halfRoundedRectangle`);var xe=e.n((e,t,n,r,i)=>[`M${e+i},${t}`,`L${e+n-i},${t}`,`L${e+n},${t-r/2}`,`L${e+n-i},${t-r}`,`L${e+i},${t-r}`,`L${e},${t-r/2}`,`Z`].join(` `),`createHexagonPathD`);async function Se(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t),i=t.look===`neo`?3.5:4;t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?70:a,u=t.look===`neo`?32:a;if(t.width||t.height){let e=(t.height??0)/i;t.width=(t?.width??0)-2*e-u,t.height=(t.height??0)-o}let{shapeSvg:p,bbox:m}=await l(e,t,f(t)),h=(t?.height?t?.height:m.height)+o,g=h/i,_=(t?.width?t?.width:m.width)+2*g+u,v=[{x:g,y:0},{x:_-g,y:0},{x:_,y:-h/2},{x:_-g,y:-h},{x:g,y:-h},{x:0,y:-h/2}],y,{cssStyles:b}=t;if(t.look===`handDrawn`){let e=c.t.svg(p),n=s.a(t,{}),r=xe(0,0,_,h,g),i=e.path(r,n);y=p.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-_/2}, ${h/2})`),b&&y.attr(`style`,b)}else y=B(p,_,h,v);return r&&y.attr(`style`,r),t.width=_,t.height=h,d(t,y),t.intersect=function(e){return I.polygon(t,v,e)},p}e.n(Se,`hexagon`);async function Ce(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.label=``,n.labelStyle=r;let{shapeSvg:a}=await l(e,n,f(n)),o=Math.max(30,n?.width??0),u=Math.max(30,n?.height??0),{cssStyles:m}=n,h=c.t.svg(a),g=s.a(n,{});n.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=[{x:0,y:0},{x:o,y:0},{x:0,y:u},{x:o,y:u}],v=p(_),y=h.path(v,g),b=a.insert(()=>y,`:first-child`);return b.attr(`class`,`basic label-container outer-path`),m&&n.look!==`handDrawn`&&b.selectChildren(`path`).attr(`style`,m),i&&n.look!==`handDrawn`&&b.selectChildren(`path`).attr(`style`,i),b.attr(`transform`,`translate(${-o/2}, ${-u/2})`),d(n,b),n.intersect=function(e){return t.m.info(`Pill intersect`,n,{points:_}),I.polygon(n,_,e)},a}e.n(Ce,`hourglass`);async function we(e,n,{config:{themeVariables:r,flowchart:a}}){let{labelStyles:o}=s.i(n);n.labelStyle=o;let u=n.assetHeight??48,f=n.assetWidth??48,p=Math.max(u,f),m=a?.wrappingWidth;n.width=Math.max(p,m??0);let{shapeSvg:h,bbox:g,label:_}=await l(e,n,`icon-shape default`),v=n.pos===`t`,y=p,b=p,{nodeBorder:x}=r,{stylesMap:S}=s.t(n),C=-b/2,w=-y/2,T=n.label?8:0,E=c.t.svg(h),D=s.a(n,{stroke:`none`,fill:`none`});n.look!==`handDrawn`&&(D.roughness=0,D.fillStyle=`solid`);let O=E.rectangle(C,w,b,y,D),k=Math.max(b,g.width),A=y+g.height+T,j=E.rectangle(-k/2,-A/2,k,A,{...D,fill:`transparent`,stroke:`none`}),M=h.insert(()=>O,`:first-child`),N=h.insert(()=>j);if(n.icon){let e=h.append(`g`);e.html(`<g>${await i.t(n.icon,{height:p,width:p,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,a=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${v?g.height/2+T/2-a/2-s:-g.height/2-T/2-a/2-s})`),e.attr(`style`,`color: ${S.get(`stroke`)??x};`)}return _.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${v?-A/2:A/2-g.height})`),M.attr(`transform`,`translate(0,${v?g.height/2+T/2:-g.height/2-T/2})`),d(n,N),n.intersect=function(e){if(t.m.info(`iconSquare intersect`,n,e),!n.label)return I.rect(n,e);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=v?[{x:r-g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2+g.height+T},{x:r+b/2,y:i-a/2+g.height+T},{x:r+b/2,y:i+a/2},{x:r-b/2,y:i+a/2},{x:r-b/2,y:i-a/2+g.height+T},{x:r-g.width/2,y:i-a/2+g.height+T}]:[{x:r-b/2,y:i-a/2},{x:r+b/2,y:i-a/2},{x:r+b/2,y:i-a/2+y},{x:r+g.width/2,y:i-a/2+y},{x:r+g.width/2/2,y:i+a/2},{x:r-g.width/2,y:i+a/2},{x:r-g.width/2,y:i-a/2+y},{x:r-b/2,y:i-a/2+y}],I.polygon(n,o,e)},h}e.n(we,`icon`);async function Te(e,n,{config:{themeVariables:r,flowchart:a}}){let{labelStyles:o}=s.i(n);n.labelStyle=o;let u=n.assetHeight??48,f=n.assetWidth??48,p=Math.max(u,f),m=a?.wrappingWidth;n.width=Math.max(p,m??0);let{shapeSvg:h,bbox:g,label:_}=await l(e,n,`icon-shape default`),v=n.label?8:0,y=n.pos===`t`,{nodeBorder:b,mainBkg:x}=r,{stylesMap:S}=s.t(n),C=c.t.svg(h),w=s.a(n,{});n.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`),w.stroke=S.get(`fill`)??x;let T=h.append(`g`);n.icon&&T.html(`<g>${await i.t(n.icon,{height:p,width:p,fallbackPrefix:``})}</g>`);let E=T.node().getBBox(),D=E.width,O=E.height,k=E.x,A=E.y,j=Math.max(D,O)*Math.SQRT2+40,M=C.circle(0,0,j,w),N=Math.max(j,g.width),P=j+g.height+v,F=C.rectangle(-N/2,-P/2,N,P,{...w,fill:`transparent`,stroke:`none`}),L=h.insert(()=>M,`:first-child`),R=h.insert(()=>F);return T.attr(`transform`,`translate(${-D/2-k},${y?g.height/2+v/2-O/2-A:-g.height/2-v/2-O/2-A})`),T.attr(`style`,`color: ${S.get(`stroke`)??b};`),_.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${y?-P/2:P/2-g.height})`),L.attr(`transform`,`translate(0,${y?g.height/2+v/2:-g.height/2-v/2})`),d(n,R),n.intersect=function(e){return t.m.info(`iconSquare intersect`,n,e),I.rect(n,e)},h}e.n(Te,`iconCircle`);async function Ee(e,n,{config:{themeVariables:r,flowchart:a}}){let{labelStyles:o}=s.i(n);n.labelStyle=o;let u=n.assetHeight??48,f=n.assetWidth??48,p=Math.max(u,f),m=a?.wrappingWidth;n.width=Math.max(p,m??0);let{shapeSvg:h,bbox:g,halfPadding:_,label:v}=await l(e,n,`icon-shape default`),b=n.pos===`t`,x=p+_*2,S=p+_*2,{nodeBorder:C,mainBkg:w}=r,{stylesMap:T}=s.t(n),E=-S/2,D=-x/2,O=n.label?8:0,k=c.t.svg(h),A=s.a(n,{});n.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`),A.stroke=T.get(`fill`)??w;let j=k.path(y(E,D,S,x,5),A),M=Math.max(S,g.width),N=x+g.height+O,P=k.rectangle(-M/2,-N/2,M,N,{...A,fill:`transparent`,stroke:`none`}),F=h.insert(()=>j,`:first-child`).attr(`class`,`icon-shape2`),L=h.insert(()=>P);if(n.icon){let e=h.append(`g`);e.html(`<g>${await i.t(n.icon,{height:p,width:p,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,a=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${b?g.height/2+O/2-a/2-s:-g.height/2-O/2-a/2-s})`),e.attr(`style`,`color: ${T.get(`stroke`)??C};`)}return v.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${b?-N/2:N/2-g.height})`),F.attr(`transform`,`translate(0,${b?g.height/2+O/2:-g.height/2-O/2})`),d(n,L),n.intersect=function(e){if(t.m.info(`iconSquare intersect`,n,e),!n.label)return I.rect(n,e);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=b?[{x:r-g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2+g.height+O},{x:r+S/2,y:i-a/2+g.height+O},{x:r+S/2,y:i+a/2},{x:r-S/2,y:i+a/2},{x:r-S/2,y:i-a/2+g.height+O},{x:r-g.width/2,y:i-a/2+g.height+O}]:[{x:r-S/2,y:i-a/2},{x:r+S/2,y:i-a/2},{x:r+S/2,y:i-a/2+x},{x:r+g.width/2,y:i-a/2+x},{x:r+g.width/2/2,y:i+a/2},{x:r-g.width/2,y:i+a/2},{x:r-g.width/2,y:i-a/2+x},{x:r-S/2,y:i-a/2+x}],I.polygon(n,o,e)},h}e.n(Ee,`iconRounded`);async function De(e,n,{config:{themeVariables:r,flowchart:a}}){let{labelStyles:o}=s.i(n);n.labelStyle=o;let u=n.assetHeight??48,f=n.assetWidth??48,p=Math.max(u,f),m=a?.wrappingWidth;n.width=Math.max(p,m??0);let{shapeSvg:h,bbox:g,halfPadding:_,label:v}=await l(e,n,`icon-shape default`),b=n.pos===`t`,x=p+_*2,S=p+_*2,{nodeBorder:C,mainBkg:w}=r,{stylesMap:T}=s.t(n),E=-S/2,D=-x/2,O=n.label?8:0,k=c.t.svg(h),A=s.a(n,{});n.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`),A.stroke=T.get(`fill`)??w;let j=k.path(y(E,D,S,x,.1),A),M=Math.max(S,g.width),N=x+g.height+O,P=k.rectangle(-M/2,-N/2,M,N,{...A,fill:`transparent`,stroke:`none`}),F=h.insert(()=>j,`:first-child`),L=h.insert(()=>P);if(n.icon){let e=h.append(`g`);e.html(`<g>${await i.t(n.icon,{height:p,width:p,fallbackPrefix:``})}</g>`);let t=e.node().getBBox(),r=t.width,a=t.height,o=t.x,s=t.y;e.attr(`transform`,`translate(${-r/2-o},${b?g.height/2+O/2-a/2-s:-g.height/2-O/2-a/2-s})`),e.attr(`style`,`color: ${T.get(`stroke`)??C};`)}return v.attr(`transform`,`translate(${-g.width/2-(g.x-(g.left??0))},${b?-N/2:N/2-g.height})`),F.attr(`transform`,`translate(0,${b?g.height/2+O/2:-g.height/2-O/2})`),d(n,L),n.intersect=function(e){if(t.m.info(`iconSquare intersect`,n,e),!n.label)return I.rect(n,e);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=b?[{x:r-g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2},{x:r+g.width/2,y:i-a/2+g.height+O},{x:r+S/2,y:i-a/2+g.height+O},{x:r+S/2,y:i+a/2},{x:r-S/2,y:i+a/2},{x:r-S/2,y:i-a/2+g.height+O},{x:r-g.width/2,y:i-a/2+g.height+O}]:[{x:r-S/2,y:i-a/2},{x:r+S/2,y:i-a/2},{x:r+S/2,y:i-a/2+x},{x:r+g.width/2,y:i-a/2+x},{x:r+g.width/2/2,y:i+a/2},{x:r-g.width/2,y:i+a/2},{x:r-g.width/2,y:i-a/2+x},{x:r-S/2,y:i-a/2+x}],I.polygon(n,o,e)},h}e.n(De,`iconSquare`);async function Oe(e,n,{config:{flowchart:r}}){let i=new Image;i.src=n?.img??``,await i.decode();let a=Number(i.naturalWidth.toString().replace(`px`,``)),o=Number(i.naturalHeight.toString().replace(`px`,``));n.imageAspectRatio=a/o;let{labelStyles:u}=s.i(n);n.labelStyle=u;let f=r?.wrappingWidth;n.defaultWidth=r?.wrappingWidth;let p=Math.max(n.label?f??0:0,n?.assetWidth??a),m=n.constraint===`on`&&n?.assetHeight?n.assetHeight*n.imageAspectRatio:p,h=n.constraint===`on`?m/n.imageAspectRatio:n?.assetHeight??o;n.width=Math.max(m,f??0);let{shapeSvg:g,bbox:_,label:v}=await l(e,n,`image-shape default`),y=n.pos===`t`,b=-m/2,x=-h/2,S=n.label?8:0,C=c.t.svg(g),w=s.a(n,{});n.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=C.rectangle(b,x,m,h,w),E=Math.max(m,_.width),D=h+_.height+S,O=C.rectangle(-E/2,-D/2,E,D,{...w,fill:`none`,stroke:`none`}),k=g.insert(()=>T,`:first-child`),A=g.insert(()=>O);if(n.img){let e=g.append(`image`);e.attr(`href`,n.img),e.attr(`width`,m),e.attr(`height`,h),e.attr(`preserveAspectRatio`,`none`),e.attr(`transform`,`translate(${-m/2},${y?D/2-h:-D/2})`)}return v.attr(`transform`,`translate(${-_.width/2-(_.x-(_.left??0))},${y?-h/2-_.height/2-S/2:h/2-_.height/2+S/2})`),k.attr(`transform`,`translate(0,${y?_.height/2+S/2:-_.height/2-S/2})`),d(n,A),n.intersect=function(e){if(t.m.info(`iconSquare intersect`,n,e),!n.label)return I.rect(n,e);let r=n.x??0,i=n.y??0,a=n.height??0,o=[];return o=y?[{x:r-_.width/2,y:i-a/2},{x:r+_.width/2,y:i-a/2},{x:r+_.width/2,y:i-a/2+_.height+S},{x:r+m/2,y:i-a/2+_.height+S},{x:r+m/2,y:i+a/2},{x:r-m/2,y:i+a/2},{x:r-m/2,y:i-a/2+_.height+S},{x:r-_.width/2,y:i-a/2+_.height+S}]:[{x:r-m/2,y:i-a/2},{x:r+m/2,y:i-a/2},{x:r+m/2,y:i-a/2+h},{x:r+_.width/2,y:i-a/2+h},{x:r+_.width/2/2,y:i+a/2},{x:r-_.width/2,y:i+a/2},{x:r-_.width/2,y:i-a/2+h},{x:r-m/2,y:i-a/2+h}],I.polygon(n,o,e)},g}e.n(Oe,`imageSquare`);async function ke(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=Math.max(m.width+(o??0)*2,t?.width??0),g=Math.max(m.height+(a??0)*2,t?.height??0),_=[{x:0,y:0},{x:h,y:0},{x:h+3*g/6,y:-g},{x:-3*g/6,y:-g}],v,{cssStyles:y}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(_),i=e.path(r,n);v=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-h/2}, ${g/2})`),y&&v.attr(`style`,y)}else v=B(u,h,g,_);return r&&v.attr(`style`,r),t.width=h,t.height=g,d(t,v),t.intersect=function(e){return I.polygon(t,_,e)},u}e.n(ke,`inv_trapezoid`);async function Ae(e,t){let{shapeSvg:n,bbox:r,label:i}=await l(e,t,`label`),a=n.insert(`rect`,`:first-child`);return a.attr(`width`,.1).attr(`height`,.1),n.attr(`class`,`label edgeLabel`),i.attr(`transform`,`translate(${-(r.width/2)-(r.x-(r.left??0))}, ${-(r.height/2)-(r.y-(r.top??0))})`),d(t,a),t.intersect=function(e){return I.rect(t,e)},n}e.n(Ae,`labelRect`);async function je(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.height??m.height)+a,g=(t?.width??m.width)+o,_=[{x:0,y:0},{x:g+3*h/6,y:0},{x:g,y:-h},{x:-(3*h)/6,y:-h}],v,{cssStyles:y}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(_),i=e.path(r,n);v=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-g/2}, ${h/2})`),y&&v.attr(`style`,y)}else v=B(u,g,h,_);return r&&v.attr(`style`,r),t.width=g,t.height=h,d(t,v),t.intersect=function(e){return I.polygon(t,_,e)},u}e.n(je,`lean_left`);async function Me(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=i,o=t.look===`neo`?i*2:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.height??m.height)+a,g=(t?.width??m.width)+o,_=[{x:-3*h/6,y:0},{x:g,y:0},{x:g+3*h/6,y:-h},{x:0,y:-h}],v,{cssStyles:y}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(_),i=e.path(r,n);v=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-g/2}, ${h/2})`),y&&v.attr(`style`,y)}else v=B(u,g,h,_);return r&&v.attr(`style`,r),t.width=g,t.height=h,d(t,v),t.intersect=function(e){return I.polygon(t,_,e)},u}e.n(Me,`lean_right`);function Ne(e,n){let{labelStyles:r,nodeStyles:i}=s.i(n);n.label=``,n.labelStyle=r;let a=e.insert(`g`).attr(`class`,f(n)).attr(`id`,n.domId??n.id),{cssStyles:o}=n,l=Math.max(35,n?.width??0),u=Math.max(35,n?.height??0),m=[{x:l,y:0},{x:0,y:u+7/2},{x:l-14,y:u+7/2},{x:0,y:2*u},{x:l,y:u-7/2},{x:14,y:u-7/2}],h=c.t.svg(a),g=s.a(n,{});n.look!==`handDrawn`&&(g.roughness=0,g.fillStyle=`solid`);let _=p(m),v=h.path(_,g),y=a.insert(()=>v,`:first-child`);return y.attr(`class`,`outer-path`),o&&n.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,o),i&&n.look!==`handDrawn`&&y.selectAll(`path`).attr(`style`,i),y.attr(`transform`,`translate(-${l/2},${-u})`),d(n,y),n.intersect=function(e){return t.m.info(`lightningBolt intersect`,n,e),I.polygon(n,m,e)},a}e.n(Ne,`lightningBolt`);var Pe=e.n((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`a${i},${a} 0,0,0 ${n},0`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createCylinderPathD`),Fe=e.n((e,t,n,r,i,a,o)=>[`M${e},${t+a}`,`M${e+n},${t+a}`,`a${i},${a} 0,0,0 ${-n},0`,`l0,${r}`,`a${i},${a} 0,0,0 ${n},0`,`l0,${-r}`,`M${e},${t+a+o}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createOuterCylinderPathD`),Ie=e.n((e,t,n,r,i,a)=>[`M${e-n/2},${-r/2}`,`a${i},${a} 0,0,0 ${n},0`].join(` `),`createInnerCylinderPathD`),Le=10,Re=10;async function ze(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?16:a,u=t.look===`neo`?24:a;if(t.width||t.height){let e=t.width??0;t.width=(t.width??0)-o,t.width<Re&&(t.width=Re);let n=e/2/(2.5+e/50);t.height=(t.height??0)-u-n*3,t.height<Le&&(t.height=Le)}let{shapeSvg:p,bbox:m,label:h}=await l(e,t,f(t)),g=(t?.width?t?.width:m.width)+o*2,_=g/2,v=_/(2.5+g/50),y=(t?.height?t?.height:m.height)+v+u*2,b=y*.1,x,{cssStyles:S}=t;if(t.look===`handDrawn`){let e=c.t.svg(p),n=Fe(0,0,g,y,_,v,b),r=Ie(0,v,g,y,_,v),i=s.a(t,{}),a=e.path(n,i),o=e.path(r,i);p.insert(()=>o,`:first-child`).attr(`class`,`line`),x=p.insert(()=>a,`:first-child`),x.attr(`class`,`basic label-container`),S&&x.attr(`style`,S)}else{let e=Pe(0,0,g,y,_,v,b);x=p.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(S)).attr(`style`,i)}return x.attr(`label-offset-y`,v),x.attr(`transform`,`translate(${-g/2}, ${-(y/2+v)})`),d(t,x),h.attr(`transform`,`translate(${-(m.width/2)-(m.x-(m.left??0))}, ${-(m.height/2)+v-(m.y-(m.top??0))})`),t.intersect=function(e){let n=I.rect(t,e),r=n.x-(t.x??0);if(_!=0&&(Math.abs(r)<(t.width??0)/2||Math.abs(r)==(t.width??0)/2&&Math.abs(n.y-(t.y??0))>(t.height??0)/2-v)){let i=v*v*(1-r*r/(_*_));i>0&&(i=Math.sqrt(i)),i=v-i,e.y-(t.y??0)>0&&(i=-i),n.y+=i}return n},p}e.n(ze,`linedCylinder`);async function Be(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.width=(t.width??0)*10/11-a*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-o*2,t.height<10&&(t.height=10));let{shapeSvg:u,bbox:p,label:h}=await l(e,t,f(t)),g=(t?.width?t?.width:p.width)+(a??0)*2,_=(t?.height?t?.height:p.height)+(o??0)*2,v=t.look===`neo`?_/4:_/8,y=_+v,{cssStyles:b}=t,x=c.t.svg(u),S=s.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-g/2-g/2*.1,y:-y/2},{x:-g/2-g/2*.1,y:y/2},...m(-g/2-g/2*.1,y/2,g/2+g/2*.1,y/2,v,.8),{x:g/2+g/2*.1,y:-y/2},{x:-g/2-g/2*.1,y:-y/2},{x:-g/2,y:-y/2},{x:-g/2,y:y/2*1.1},{x:-g/2,y:-y/2}],w=x.polygon(C.map(e=>[e.x,e.y]),S),T=u.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),b&&t.look!==`handDrawn`&&T.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&T.selectAll(`path`).attr(`style`,r),T.attr(`transform`,`translate(0,${-v/2})`),h.attr(`transform`,`translate(${-g/2+(t.padding??0)+g/2*.1/2-(p.x-(p.left??0))},${-_/2+(t.padding??0)-v/2-(p.y-(p.top??0))})`),d(t,T),t.intersect=function(e){return I.polygon(t,C,e)},u}e.n(Be,`linedWaveEdgedRect`);async function Ve(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,u=t.look===`neo`?10:5;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2-2*u,10),t.height=Math.max((t?.height??0)-o*2-2*u,10));let{shapeSvg:m,bbox:h,label:_}=await l(e,t,f(t)),v=(t?.width?t?.width:h.width)+a*2+2*u,y=(t?.height?t?.height:h.height)+o*2+2*u,b=v-2*u,x=y-2*u,S=-b/2,C=-x/2,{cssStyles:w}=t,T=c.t.svg(m),E=s.a(t,{}),D=[{x:S-u,y:C+u},{x:S-u,y:C+x+u},{x:S+b-u,y:C+x+u},{x:S+b-u,y:C+x},{x:S+b,y:C+x},{x:S+b,y:C+x-u},{x:S+b+u,y:C+x-u},{x:S+b+u,y:C-u},{x:S+u,y:C-u},{x:S+u,y:C},{x:S,y:C},{x:S,y:C+u}],O=[{x:S,y:C+u},{x:S+b-u,y:C+u},{x:S+b-u,y:C+x},{x:S+b,y:C+x},{x:S+b,y:C},{x:S,y:C}];t.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let k=p(D),A=T.path(k,E),j=p(O),M=T.path(j,E);t.look!==`handDrawn`&&(A=g(A),M=g(M));let N=m.insert(`g`,`:first-child`);return N.insert(()=>A),N.insert(()=>M),N.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&N.selectAll(`path`).attr(`style`,w),r&&t.look!==`handDrawn`&&N.selectAll(`path`).attr(`style`,r),_.attr(`transform`,`translate(${-(h.width/2)-u-(h.x-(h.left??0))}, ${-(h.height/2)+u-(h.y-(h.top??0))})`),d(t,N),t.intersect=function(e){return I.polygon(t,D,e)},m}e.n(Ve,`multiRect`);async function He(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=t.padding??0,h=t.look===`neo`?16:u,g=t.look===`neo`?12:u,_=!0;(t.width||t.height)&&(_=!1,t.width=(t?.width??0)-h*2,t.height=(t?.height??0)-g*3);let v=Math.max(a.width,t?.width??0)+h*2,y=Math.max(a.height,t?.height??0)+g*3,b=t.look===`neo`?y/4:y/8,x=y+(_?b/2:-b/2),S=-v/2,C=-x/2,{cssStyles:w}=t,T=m(S-10,C+x+10,S+v-10,C+x+10,b,.8),E=T?.[T.length-1],D=[{x:S-10,y:C+10},{x:S-10,y:C+x+10},...T,{x:S+v-10,y:E.y-10},{x:S+v,y:E.y-10},{x:S+v,y:E.y-20},{x:S+v+10,y:E.y-20},{x:S+v+10,y:C-10},{x:S+10,y:C-10},{x:S+10,y:C},{x:S,y:C},{x:S,y:C+10}],O=[{x:S,y:C+10},{x:S+v-10,y:C+10},{x:S+v-10,y:E.y-10},{x:S+v,y:E.y-10},{x:S+v,y:C},{x:S,y:C}],k=c.t.svg(i),A=s.a(t,{});t.look!==`handDrawn`&&(A.roughness=0,A.fillStyle=`solid`);let j=p(D),M=k.path(j,A),N=p(O),P=k.path(N,A),F=i.insert(()=>M,`:first-child`);return F.insert(()=>P),F.attr(`class`,`basic label-container outer-path`),w&&t.look!==`handDrawn`&&F.selectAll(`path`).attr(`style`,w),r&&t.look!==`handDrawn`&&F.selectAll(`path`).attr(`style`,r),F.attr(`transform`,`translate(0,${-b/2})`),o.attr(`transform`,`translate(${-(a.width/2)-10-(a.x-(a.left??0))}, ${-(a.height/2)+10-b/2-(a.y-(a.top??0))})`),d(t,F),t.intersect=function(e){return I.polygon(t,D,e)},i}e.n(He,`multiWaveEdgedRectangle`);async function Ue(e,t,{config:{themeVariables:r}}){let{labelStyles:i,nodeStyles:a}=s.i(t);t.labelStyle=i,t.useHtmlLabels||n.T(n.b())||(t.centerLabel=!0);let{shapeSvg:o,bbox:u,label:p}=await l(e,t,f(t)),m=Math.max(u.width+(t.padding??0)*2,t?.width??0),h=Math.max(u.height+(t.padding??0)*2,t?.height??0),g=-m/2,_=-h/2,{cssStyles:v}=t,y=c.t.svg(o),b=s.a(t,{fill:r.noteBkgColor,stroke:r.noteBorderColor});t.look!==`handDrawn`&&(b.roughness=0,b.fillStyle=`solid`);let x=y.rectangle(g,_,m,h,b),S=o.insert(()=>x,`:first-child`);return S.attr(`class`,`basic label-container outer-path`),p.attr(`class`,`label noteLabel`),v&&t.look!==`handDrawn`&&S.selectAll(`path`).attr(`style`,v),a&&t.look!==`handDrawn`&&S.selectAll(`path`).attr(`style`,a),p.attr(`transform`,`translate(${-u.width/2-(u.x-(u.left??0))}, ${-(u.height/2)-(u.y-(u.top??0))})`),d(t,S),t.intersect=function(e){return I.rect(t,e)},o}e.n(Ue,`note`);var We=e.n((e,t,n)=>[`M${e+n/2},${t}`,`L${e+n},${t-n/2}`,`L${e+n/2},${t-n}`,`L${e},${t-n/2}`,`Z`].join(` `),`createDecisionBoxPathD`);async function Ge(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a}=await l(e,t,f(t)),o=a.width+(t.padding??0)+(a.height+(t.padding??0)),u=.5,p=[{x:o/2,y:0},{x:o,y:-o/2},{x:o/2,y:-o},{x:0,y:-o/2}],m,{cssStyles:h}=t;if(t.look===`handDrawn`){let e=c.t.svg(i),n=s.a(t,{}),r=We(0,0,o),a=e.path(r,n);m=i.insert(()=>a,`:first-child`).attr(`transform`,`translate(${-o/2+u}, ${o/2})`),h&&m.attr(`style`,h)}else m=B(i,o,o,p),m.attr(`transform`,`translate(${-o/2+u}, ${o/2})`);return r&&m.attr(`style`,r),d(t,m),t.calcIntersect=function(e,t){let n=e.width,r=[{x:n/2,y:0},{x:n,y:-n/2},{x:n/2,y:-n},{x:0,y:-n/2}],i=I.polygon(e,r,t);return{x:i.x-.5,y:i.y-.5}},t.intersect=function(e){return this.calcIntersect(t,e)},i}e.n(Ge,`question`);async function Ke(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?21:i??0,o=t.look===`neo`?12:i??0,{shapeSvg:u,bbox:m,label:h}=await l(e,t,f(t)),g=(t?.width??m.width)+(t.look===`neo`?a*2:a),_=(t?.height??m.height)+(t.look===`neo`?o*2:o),v=-g/2,y=-_/2,b=y/2,x=[{x:v+b,y},{x:v,y:0},{x:v+b,y:-y},{x:-v,y:-y},{x:-v,y}],{cssStyles:S}=t,C=c.t.svg(u),w=s.a(t,{});t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=p(x),E=C.path(T,w),D=u.insert(()=>E,`:first-child`);return D.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&D.selectAll(`path`).attr(`style`,r),D.attr(`transform`,`translate(${-b/2},0)`),h.attr(`transform`,`translate(${-b/2-m.width/2-(m.x-(m.left??0))}, ${-(m.height/2)-(m.y-(m.top??0))})`),d(t,D),t.intersect=function(e){return I.polygon(t,x,e)},u}e.n(Ke,`rect_left_inv_arrow`);async function qe(e,r){let{labelStyles:i,nodeStyles:a}=s.i(r);r.labelStyle=i;let o;o=r.cssClasses?`node `+r.cssClasses:`node default`;let l=e.insert(`g`).attr(`class`,o).attr(`id`,r.domId||r.id),u=l.insert(`g`),f=l.insert(`g`).attr(`class`,`label`).attr(`style`,a),p=r.description,m=r.label,h=await v(f,m,r.labelStyle,!0,!0),g={width:0,height:0};if(n.T(n.x())){let e=h.children[0],n=t.p(h);g=e.getBoundingClientRect(),n.attr(`width`,g.width),n.attr(`height`,g.height)}t.m.info(`Text 2`,p);let _=p||[],b=h.getBBox(),x=await v(f,Array.isArray(_)?_.join(`<br/>`):_,r.labelStyle,!0,!0),S=x.children[0],C=t.p(x);g=S.getBoundingClientRect(),C.attr(`width`,g.width),C.attr(`height`,g.height);let w=(r.padding||0)/2;t.p(x).attr(`transform`,`translate( `+(g.width>b.width?0:(b.width-g.width)/2)+`, `+(b.height+w+5)+`)`),t.p(h).attr(`transform`,`translate( `+(g.width<b.width?0:-(b.width-g.width)/2)+`, 0)`),g=f.node().getBBox(),f.attr(`transform`,`translate(`+-g.width/2+`, `+(-g.height/2-w+3)+`)`);let T=g.width+(r.padding||0),E=g.height+(r.padding||0),D=-g.width/2-w,O=-g.height/2-w,k,A;if(r.look===`handDrawn`){let e=c.t.svg(l),n=s.a(r,{}),i=e.path(y(D,O,T,E,r.rx||0),n),a=e.line(-g.width/2-w,-g.height/2-w+b.height+w,g.width/2+w,-g.height/2-w+b.height+w,n);A=l.insert(()=>(t.m.debug(`Rough node insert CXC`,i),a),`:first-child`),k=l.insert(()=>(t.m.debug(`Rough node insert CXC`,i),i),`:first-child`)}else k=u.insert(`rect`,`:first-child`),A=u.insert(`line`),k.attr(`class`,`outer title-state`).attr(`style`,a).attr(`x`,-g.width/2-w).attr(`y`,-g.height/2-w).attr(`width`,g.width+(r.padding||0)).attr(`height`,g.height+(r.padding||0)),A.attr(`class`,`divider`).attr(`x1`,-g.width/2-w).attr(`x2`,g.width/2+w).attr(`y1`,-g.height/2-w+b.height+w).attr(`y2`,-g.height/2-w+b.height+w);return d(r,k),r.intersect=function(e){return I.rect(r,e)},l}e.n(qe,`rectWithTitle`);async function Je(e,t,{config:{themeVariables:n}}){let r=n?.radius??5;return Y(e,t,{rx:r,ry:r,classes:``,labelPaddingX:(t?.padding??0)*1,labelPaddingY:(t?.padding??0)*1})}e.n(Je,`roundedRect`);var X=8;async function Ye(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t.look===`neo`?16:t.padding??0,o=t.look===`neo`?12:t.padding??0,{shapeSvg:u,bbox:p,label:m}=await l(e,t,f(t)),h=(t?.width??p.width)+a*2+(t.look===`neo`?X:X*2),g=(t?.height??p.height)+o*2,_=h-X,v=g,y=X-h/2,b=-g/2,{cssStyles:x}=t,S=c.t.svg(u),C=s.a(t,{});t.look!==`handDrawn`&&(C.roughness=0,C.fillStyle=`solid`);let w=[{x:y,y:b},{x:y+_,y:b},{x:y+_,y:b+v},{x:y-X,y:b+v},{x:y-X,y:b},{x:y,y:b},{x:y,y:b+v}],T=S.polygon(w.map(e=>[e.x,e.y]),C),E=u.insert(()=>T,`:first-child`);return E.attr(`class`,`basic label-container outer-path`).attr(`style`,r.u(x)),i&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,i),x&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,i),m.attr(`transform`,`translate(${X/2-p.width/2-(p.x-(p.left??0))}, ${-(p.height/2)-(p.y-(p.top??0))})`),d(t,E),t.intersect=function(e){return I.rect(t,e)},u}e.n(Ye,`shadedProcess`);async function Xe(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-a*2,10),t.height=Math.max((t?.height??0)/1.5-o*2,10));let{shapeSvg:u,bbox:m,label:h}=await l(e,t,f(t)),g=(t?.width?t?.width:m.width)+a*2,_=((t?.height?t?.height:m.height)+o*2)*1.5,v=g,y=_/1.5,b=-v/2,x=-y/2,{cssStyles:S}=t,C=c.t.svg(u),w=s.a(t,{});t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=[{x:b,y:x},{x:b,y:x+y},{x:b+v,y:x+y},{x:b+v,y:x-y/2}],E=p(T),D=C.path(E,w),O=u.insert(()=>D,`:first-child`);return O.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&O.selectChildren(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&O.selectChildren(`path`).attr(`style`,r),O.attr(`transform`,`translate(0, ${y/4})`),h.attr(`transform`,`translate(${-v/2+(t.padding??0)-(m.x-(m.left??0))}, ${-y/4+(t.padding??0)-(m.y-(m.top??0))})`),d(t,O),t.intersect=function(e){return I.polygon(t,T,e)},u}e.n(Xe,`slopedRect`);async function Ze(e,t){let n=t.padding??0,r=t.look===`neo`?16:n*2,i=t.look===`neo`?12:n;return Y(e,t,{rx:0,ry:0,classes:``,labelPaddingX:t.labelPaddingX??r,labelPaddingY:i})}e.n(Ze,`squareRect`);async function Qe(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?20:i,o=t.look===`neo`?12:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),g=m.height+(t.look===`neo`?o*2:o),_=m.width+g/4+(t.look===`neo`?a*2:a),v=g/2,{cssStyles:y}=t,b=c.t.svg(u),x=s.a(t,{});t.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=[{x:-_/2+v,y:-g/2},{x:_/2-v,y:-g/2},...h(-_/2+v,0,v,50,90,270),{x:_/2-v,y:g/2},...h(_/2-v,0,v,50,270,450)],C=p(S),w=b.path(C,x),T=u.insert(()=>w,`:first-child`);return T.attr(`class`,`basic label-container outer-path`),y&&t.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,y),r&&t.look!==`handDrawn`&&T.selectChildren(`path`).attr(`style`,r),d(t,T),t.intersect=function(e){return I.polygon(t,S,e)},u}e.n(Qe,`stadium`);async function $e(e,t){return Y(e,t,{rx:t.look===`neo`?3:5,ry:t.look===`neo`?3:5,classes:`flowchart-node`})}e.n($e,`state`);function et(e,t,{config:{themeVariables:n}}){let{labelStyles:r,nodeStyles:i}=s.i(t);t.labelStyle=r;let{cssStyles:a}=t,{lineColor:o,stateBorder:l,nodeBorder:u,nodeShadow:f}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let p=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId??t.id),m=c.t.svg(p),h=s.a(t,{});t.look!==`handDrawn`&&(h.roughness=0,h.fillStyle=`solid`);let g=m.circle(0,0,t.width,{...h,stroke:o,strokeWidth:2}),_=l??u,v=(t.width??0)*5/14,y=m.circle(0,0,v,{...h,fill:_,stroke:_,strokeWidth:2,fillStyle:`solid`}),b=p.insert(()=>g,`:first-child`);if(b.insert(()=>y),t.look!==`handDrawn`&&b.attr(`class`,`outer-path`),a&&b.selectAll(`path`).attr(`style`,a),i&&b.selectAll(`path`).attr(`style`,i),t.width<25&&f&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;b.attr(`style`,`filter:url(#${n})`)}return d(t,b),t.intersect=function(e){return I.circle(t,(t.width??0)/2,e)},p}e.n(et,`stateEnd`);function tt(e,t,{config:{themeVariables:n}}){let{lineColor:r,nodeShadow:i}=n;(t.width||t.height)&&((t.width??0)<14&&(t.width=14),(t.height??0)<14&&(t.height=14)),t.width||=14,t.height||=14;let a=e.insert(`g`).attr(`class`,`node default`).attr(`id`,t.domId||t.id),o;if(t.look===`handDrawn`){let e=c.t.svg(a).circle(0,0,t.width,s.r(r));o=a.insert(()=>e),o.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14)}else o=a.insert(`circle`,`:first-child`),o.attr(`class`,`state-start`).attr(`r`,(t.width??7)/2).attr(`width`,t.width??14).attr(`height`,t.height??14);if(t.width<25&&i&&t.look!==`handDrawn`){let t=e.node()?.ownerSVGElement?.id??``,n=t?`${t}-drop-shadow-small`:`drop-shadow-small`;o.attr(`style`,`filter:url(#${n})`)}return d(t,o),t.intersect=function(e){return I.circle(t,(t.width??7)/2,e)},a}e.n(tt,`stateStart`);var Z=8;async function nt(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t?.padding??8,o=t.look===`neo`?28:a,u=t.look===`neo`?12:a,{shapeSvg:p,bbox:m}=await l(e,t,f(t)),h=(t?.width??m.width)+2*Z+o,g=(t?.height??m.height)+u,_=h-2*Z,v=g,y=-h/2,b=-g/2,x=[{x:0,y:0},{x:_,y:0},{x:_,y:-v},{x:0,y:-v},{x:0,y:0},{x:-8,y:0},{x:_+8,y:0},{x:_+8,y:-v},{x:-8,y:-v},{x:-8,y:0}];if(t.look===`handDrawn`){let e=c.t.svg(p),n=s.a(t,{}),i=e.rectangle(y,b,_+16,v,n),a=e.line(y+Z,b,y+Z,b+v,n),o=e.line(y+Z+_,b,y+Z+_,b+v,n);p.insert(()=>a,`:first-child`),p.insert(()=>o,`:first-child`);let l=p.insert(()=>i,`:first-child`),{cssStyles:u}=t;l.attr(`class`,`basic label-container`).attr(`style`,r.u(u)),d(t,l)}else{let e=B(p,_,v,x);i&&e.attr(`style`,i),d(t,e)}return t.intersect=function(e){return I.polygon(t,x,e)},p}e.n(nt,`subroutine`);var rt=.2;async function it(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.height=Math.max((t?.height??0)-o*2,10),t.width=Math.max((t?.width??0)-a*2-rt*(t.height+o*2),10));let{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.height?t?.height:m.height)+o*2,g=rt*h,_=rt*h,v=(t?.width?t?.width:m.width)+a*2+g-g,y=h,b=-v/2,x=-y/2,{cssStyles:S}=t,C=c.t.svg(u),w=s.a(t,{}),T=[{x:b-g/2,y:x},{x:b+v+g/2,y:x},{x:b+v+g/2,y:x+y},{x:b-g/2,y:x+y}],E=[{x:b+v-g/2,y:x+y},{x:b+v+g/2,y:x+y},{x:b+v+g/2,y:x+y-_}];t.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let D=p(T),O=C.path(D,w),k=p(E),A=C.path(k,{...w,fillStyle:`solid`}),j=u.insert(()=>A,`:first-child`);return j.insert(()=>O,`:first-child`),j.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),d(t,j),t.intersect=function(e){return I.polygon(t,T,e)},u}e.n(it,`taggedRect`);async function at(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,label:o}=await l(e,t,f(t)),u=Math.max(a.width+(t.padding??0)*2,t?.width??0),h=Math.max(a.height+(t.padding??0)*2,t?.height??0),g=h/8,_=.2*u,v=.2*h,y=h+g,{cssStyles:b}=t,x=c.t.svg(i),S=s.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-u/2-u/2*.1,y:y/2},...m(-u/2-u/2*.1,y/2,u/2+u/2*.1,y/2,g,.8),{x:u/2+u/2*.1,y:-y/2},{x:-u/2-u/2*.1,y:-y/2}],w=-u/2+u/2*.1,T=-y/2-v*.4,E=[{x:w+u-_,y:(T+h)*1.3},{x:w+u,y:T+h-v},{x:w+u,y:(T+h)*.9},...m(w+u,(T+h)*1.25,w+u-_,(T+h)*1.3,-h*.02,.5)],D=p(C),O=x.path(D,S),k=p(E),A=x.path(k,{...S,fillStyle:`solid`}),j=i.insert(()=>A,`:first-child`);return j.insert(()=>O,`:first-child`),j.attr(`class`,`basic label-container outer-path`),b&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&j.selectAll(`path`).attr(`style`,r),j.attr(`transform`,`translate(0,${-g/2})`),o.attr(`transform`,`translate(${-u/2+(t.padding??0)-(a.x-(a.left??0))},${-h/2+(t.padding??0)-g/2-(a.y-(a.top??0))})`),d(t,j),t.intersect=function(e){return I.polygon(t,C,e)},i}e.n(at,`taggedWaveEdgedRectangle`);async function ot(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a}=await l(e,t,f(t)),o=Math.max(a.width+(t.padding??0),t?.width||0),c=Math.max(a.height+(t.padding??0),t?.height||0),u=-o/2,p=-c/2,m=i.insert(`rect`,`:first-child`);return m.attr(`class`,`text`).attr(`style`,r).attr(`rx`,0).attr(`ry`,0).attr(`x`,u).attr(`y`,p).attr(`width`,o).attr(`height`,c),d(t,m),t.intersect=function(e){return I.rect(t,e)},i}e.n(ot,`text`);var st=e.n((e,t,n,r,i,a)=>`M${e},${t}
|
|
3
|
-
a${i},${a} 0,0,1 0,${-r}
|
|
4
|
-
l${n},0
|
|
5
|
-
a${i},${a} 0,0,1 0,${r}
|
|
6
|
-
M${n},${-r}
|
|
7
|
-
a${i},${a} 0,0,0 0,${r}
|
|
8
|
-
l${-n},0`,`createCylinderPathD`),ct=e.n((e,t,n,r,i,a)=>[`M${e},${t}`,`M${e+n},${t}`,`a${i},${a} 0,0,0 0,${-r}`,`l${-n},0`,`a${i},${a} 0,0,0 0,${r}`,`l${n},0`].join(` `),`createOuterCylinderPathD`),lt=e.n((e,t,n,r,i,a)=>[`M${e+n/2},${-r/2}`,`a${i},${a} 0,0,0 0,${r}`].join(` `),`createInnerCylinderPathD`),ut=5,dt=10;async function ft(e,t){let{labelStyles:n,nodeStyles:i}=s.i(t);t.labelStyle=n;let a=t.padding??0,o=t.look===`neo`?12:a/2;if(t.width||t.height){let e=t.height??0;t.height=(t.height??0)-o,t.height<ut&&(t.height=ut);let n=e/2/(2.5+e/50);t.width=(t.width??0)-o-n*3,t.width<dt&&(t.width=dt)}let{shapeSvg:u,bbox:p,label:m}=await l(e,t,f(t)),h=(t.height?t.height:p.height)+o,g=h/2,_=g/(2.5+h/50),v=(t.width?t.width:p.width)+_+o,{cssStyles:y}=t,b;if(t.look===`handDrawn`){let e=c.t.svg(u),n=ct(0,0,v,h,_,g),r=lt(0,0,v,h,_,g),i=e.path(n,s.a(t,{})),a=e.path(r,s.a(t,{fill:`none`}));b=u.insert(()=>a,`:first-child`),b=u.insert(()=>i,`:first-child`),b.attr(`class`,`basic label-container`),y&&b.attr(`style`,y)}else{let e=st(0,0,v,h,_,g);b=u.insert(`path`,`:first-child`).attr(`d`,e).attr(`class`,`basic label-container`).attr(`style`,r.u(y)).attr(`style`,i),b.attr(`class`,`basic label-container outer-path`),y&&b.selectAll(`path`).attr(`style`,y),i&&b.selectAll(`path`).attr(`style`,i)}return b.attr(`label-offset-x`,_),b.attr(`transform`,`translate(${-v/2}, ${h/2} )`),m.attr(`transform`,`translate(${-(p.width/2)-_-(p.x-(p.left??0))}, ${-(p.height/2)-(p.y-(p.top??0))})`),d(t,b),t.intersect=function(e){let n=I.rect(t,e),r=n.y-(t.y??0);if(g!=0&&(Math.abs(r)<(t.height??0)/2||Math.abs(r)==(t.height??0)/2&&Math.abs(n.x-(t.x??0))>(t.width??0)/2-_)){let i=_*_*(1-r*r/(g*g));i!=0&&(i=Math.sqrt(Math.abs(i))),i=_-i,e.x-(t.x??0)>0&&(i=-i),n.x+=i}return n},u}e.n(ft,`tiltedCylinder`);async function pt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=(t.look,i),o=t.look===`neo`?i*2:i,{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.height??m.height)+a,g=(t?.width??m.width)+o,_=[{x:-3*h/6,y:0},{x:g+3*h/6,y:0},{x:g,y:-h},{x:0,y:-h}],v,{cssStyles:y}=t;if(t.look===`handDrawn`){let e=c.t.svg(u),n=s.a(t,{}),r=p(_),i=e.path(r,n);v=u.insert(()=>i,`:first-child`).attr(`transform`,`translate(${-g/2}, ${h/2})`),y&&v.attr(`style`,y)}else v=B(u,g,h,_);return r&&v.attr(`style`,r),t.width=g,t.height=h,d(t,v),t.intersect=function(e){return I.polygon(t,_,e)},u}e.n(pt,`trapezoid`);async function mt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i;(t.width||t.height)&&(t.height=(t.height??0)-o*2,t.height<5&&(t.height=5),t.width=(t.width??0)-a*2,t.width<15&&(t.width=15));let{shapeSvg:u,bbox:m}=await l(e,t,f(t)),h=(t?.width?t?.width:m.width)+a*2,g=(t?.height?t?.height:m.height)+o*2,{cssStyles:_}=t,v=c.t.svg(u),y=s.a(t,{});t.look!==`handDrawn`&&(y.roughness=0,y.fillStyle=`solid`);let b=[{x:-h/2*.8,y:-g/2},{x:h/2*.8,y:-g/2},{x:h/2,y:-g/2*.6},{x:h/2,y:g/2},{x:-h/2,y:g/2},{x:-h/2,y:-g/2*.6}],x=p(b),S=v.path(x,y),C=u.insert(()=>S,`:first-child`);return C.attr(`class`,`basic label-container outer-path`),_&&t.look!==`handDrawn`&&C.selectChildren(`path`).attr(`style`,_),r&&t.look!==`handDrawn`&&C.selectChildren(`path`).attr(`style`,r),d(t,C),t.intersect=function(e){return I.polygon(t,b,e)},u}e.n(mt,`trapezoidalPentagon`);var ht=10,gt=10;async function _t(e,r){let{labelStyles:i,nodeStyles:a}=s.i(r);r.labelStyle=i;let o=r.padding??0,u=r.look===`neo`?o*2:o;(r.width||r.height)&&(r.width=((r?.width??0)-u)/2,r.width<gt&&(r.width=gt),r.height=r?.height??0,r.height<ht&&(r.height=ht));let{shapeSvg:m,bbox:h,label:g}=await l(e,r,f(r)),_=n.g(n.x().flowchart?.htmlLabels),v=(r?.width?r?.width:h.width)+u,y=r?.height?r?.height:v+h.height,b=y,x=[{x:0,y:0},{x:b,y:0},{x:b/2,y:-y}],{cssStyles:S}=r,C=c.t.svg(m),w=s.a(r,{});r.look!==`handDrawn`&&(w.roughness=0,w.fillStyle=`solid`);let T=p(x),E=C.path(T,w),D=m.insert(()=>E,`:first-child`).attr(`transform`,`translate(${-y/2}, ${y/2})`).attr(`class`,`outer-path`);return S&&r.look!==`handDrawn`&&D.selectChildren(`path`).attr(`style`,S),a&&r.look!==`handDrawn`&&D.selectChildren(`path`).attr(`style`,a),r.width=v,r.height=y,d(r,D),g.attr(`transform`,`translate(${-h.width/2-(h.x-(h.left??0))}, ${y/2-(h.height+(r.padding??0)/(_?2:1)-(h.y-(h.top??0)))})`),r.intersect=function(e){return t.m.info(`Triangle intersect`,r,x,e),I.polygon(r,x,e)},m}e.n(_t,`triangle`);async function vt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?12:i,u=!0;(t.width||t.height)&&(u=!1,t.width=(t?.width??0)-a*2,t.width<10&&(t.width=10),t.height=(t?.height??0)-o*2,t.height<10&&(t.height=10));let{shapeSvg:h,bbox:g,label:_}=await l(e,t,f(t)),v=(t?.width?t?.width:g.width)+(a??0)*2,y=(t?.height?t?.height:g.height)+(o??0)*2,b=t.look===`neo`?y/4:y/8,x=y+(u?b:-b),{cssStyles:S}=t,C=14-v,w=C>0?C/2:0,T=c.t.svg(h),E=s.a(t,{});t.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let D=[{x:-v/2-w,y:x/2},...m(-v/2-w,x/2,v/2+w,x/2,b,.8),{x:v/2+w,y:-x/2},{x:-v/2-w,y:-x/2}],O=p(D),k=T.path(O,E),A=h.insert(()=>k,`:first-child`);return A.attr(`class`,`basic label-container outer-path`),S&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,S),r&&t.look!==`handDrawn`&&A.selectAll(`path`).attr(`style`,r),A.attr(`transform`,`translate(0,${-b/2})`),_.attr(`transform`,`translate(${-v/2+(t.padding??0)-(g.x-(g.left??0))},${-y/2+(t.padding??0)-b-(g.y-(g.top??0))})`),d(t,A),t.intersect=function(e){return I.polygon(t,D,e)},h}e.n(vt,`waveEdgedRectangle`);async function yt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.padding??0,a=t.look===`neo`?16:i,o=t.look===`neo`?20:i;if(t.width||t.height){t.width=t?.width??0,t.width<20&&(t.width=20),t.height=t?.height??0,t.height<10&&(t.height=10);let e=Math.min(t.height*.2,t.height/4);t.height=Math.ceil(t.height-o-20/9*e),t.width-=a*2}let{shapeSvg:u,bbox:h}=await l(e,t,f(t)),g=(t?.width?t?.width:h.width)+a*2,_=(t?.height?t?.height:h.height)+o,v=_/8,y=_+v*2,{cssStyles:b}=t,x=c.t.svg(u),S=s.a(t,{});t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let C=[{x:-g/2,y:y/2},...m(-g/2,y/2,g/2,y/2,v,1),{x:g/2,y:-y/2},...m(g/2,-y/2,-g/2,-y/2,v,-1)],w=p(C),T=x.path(w,S),E=u.insert(()=>T,`:first-child`);return E.attr(`class`,`basic label-container`),b&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,r),d(t,E),t.intersect=function(e){return I.polygon(t,C,e)},u}e.n(yt,`waveRectangle`);var Q=10;async function bt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let i=t.look===`neo`?16:t.padding??0,a=t.look===`neo`?12:t.padding??0;(t.width||t.height)&&(t.width=Math.max((t?.width??0)-i*2-Q,10),t.height=Math.max((t?.height??0)-a*2-Q,10));let{shapeSvg:o,bbox:u,label:p}=await l(e,t,f(t)),m=(t?.width?t?.width:u.width)+i*2+Q,h=(t?.height?t?.height:u.height)+a*2+Q,g=m-Q,_=h-Q,v=-g/2,y=-_/2,{cssStyles:b}=t,x=c.t.svg(o),S=s.a(t,{}),C=[{x:v-Q,y:y-Q},{x:v-Q,y:y+_},{x:v+g,y:y+_},{x:v+g,y:y-Q}],w=`M${v-Q},${y-Q} L${v+g},${y-Q} L${v+g},${y+_} L${v-Q},${y+_} L${v-Q},${y-Q}
|
|
9
|
-
M${v-Q},${y} L${v+g},${y}
|
|
10
|
-
M${v},${y-Q} L${v},${y+_}`;t.look!==`handDrawn`&&(S.roughness=0,S.fillStyle=`solid`);let T=x.path(w,S),E=o.insert(()=>T,`:first-child`);return E.attr(`transform`,`translate(${Q/2}, ${Q/2})`),E.attr(`class`,`basic label-container outer-path`),b&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,b),r&&t.look!==`handDrawn`&&E.selectAll(`path`).attr(`style`,r),p.attr(`transform`,`translate(${-(u.width/2)+Q/2-(u.x-(u.left??0))}, ${-(u.height/2)+Q/2-(u.y-(u.top??0))})`),d(t,E),t.intersect=function(e){return I.polygon(t,C,e)},o}e.n(bt,`windowPane`);var xt=new Set([`redux-color`,`redux-dark-color`]),St=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]);async function Ct(e,i){let a=i;a.alias&&(i.label=a.alias);let{theme:o,themeVariables:l}=n.b(),{rowEven:u,rowOdd:p,nodeBorder:m,borderColorArray:h}=l;if(i.look===`handDrawn`){let{themeVariables:t}=n.b(),{background:r}=t;await Ct(e,{...i,id:i.id+`-background`,domId:(i.domId||i.id)+`-background`,look:`default`,cssStyles:[`stroke: none`,`fill: ${r}`]})}let g=n.b();i.useHtmlLabels=g.htmlLabels;let _=g.er?.diagramPadding??10,v=g.er?.entityPadding??6,{cssStyles:y}=i,{labelStyles:b,nodeStyles:x}=s.i(i);if(a.attributes.length===0&&i.label){let t={rx:0,ry:0,labelPaddingX:_,labelPaddingY:_*1.5,classes:``};r.r(i.label,g)+t.labelPaddingX*2<g.er.minEntityWidth&&(i.width=g.er.minEntityWidth);let s=await Y(e,i,t);if(o!=null&&xt.has(o)){let e=a.colorIndex??0;s.attr(`data-color-id`,`color-${e%h.length}`)}if(!n.g(g.htmlLabels)){let e=s.select(`text`),t=e.node()?.getBBox();e.attr(`transform`,`translate(${-t.width/2}, 0)`)}return s}g.htmlLabels||(_*=1.25,v*=1.25);let S=f(i);S||=`node default`;let C=e.insert(`g`).attr(`class`,S).attr(`id`,i.domId||i.id),w=await wt(C,i.label??``,g,0,0,[`name`],b);w.height+=v;let T=0,E=[],D=[],O=0,k=0,A=0,j=0,M=!0,N=!0;for(let e of a.attributes){let t=await wt(C,e.type,g,0,T,[`attribute-type`],b);O=Math.max(O,t.width+_);let n=await wt(C,e.name,g,0,T,[`attribute-name`],b);k=Math.max(k,n.width+_);let r=await wt(C,e.keys.join(),g,0,T,[`attribute-keys`],b);A=Math.max(A,r.width+_);let i=await wt(C,e.comment,g,0,T,[`attribute-comment`],b);j=Math.max(j,i.width+_);let a=Math.max(t.height,n.height,r.height,i.height)+v;D.push({yOffset:T,rowHeight:a}),T+=a}let P=4;A<=_&&(M=!1,A=0,P--),j<=_&&(N=!1,j=0,P--);let F=C.node().getBBox();if(w.width+_*2-(O+k+A+j)>0){let e=w.width+_*2-(O+k+A+j);O+=e/P,k+=e/P,A>0&&(A+=e/P),j>0&&(j+=e/P)}let L=O+k+A+j,R=c.t.svg(C),z=s.a(i,{});i.look!==`handDrawn`&&(z.roughness=0,z.fillStyle=`solid`);let ee=0;D.length>0&&(ee=D.reduce((e,t)=>e+(t?.rowHeight??0),0));let B=Math.max(F.width+_*2,i?.width||0,L),V=Math.max((ee??0)+w.height,i?.height||0),H=-B/2,U=-V/2;if(C.selectAll(`g:not(:first-child)`).each((e,n,r)=>{let i=t.p(r[n]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]),i.attr(`class`).includes(`attribute-name`)?o+=O:i.attr(`class`).includes(`attribute-keys`)?o+=O+k:i.attr(`class`).includes(`attribute-comment`)&&(o+=O+k+A))}i.attr(`transform`,`translate(${H+_/2+o}, ${s+U+w.height+v/2})`)}),C.select(`.name`).attr(`transform`,`translate(`+-w.width/2+`, `+(U+v/2)+`)`),o!=null&&xt.has(o)){let e=a.colorIndex??0;C.attr(`data-color-id`,`color-${e%h.length}`)}let te=R.rectangle(H,U,B,V,z),ne=C.insert(()=>te,`:first-child`).attr(`class`,`outer-path`).attr(`style`,y.join(``));E.push(0);for(let[e,t]of D.entries()){let n=(e+1)%2==0&&t.yOffset!==0,r=R.rectangle(H,w.height+U+t?.yOffset,B,t?.rowHeight,{...z,fill:n?u:p,stroke:m});C.insert(()=>r,`g.label`).attr(`style`,y.join(``)).attr(`class`,`row-rect-${n?`even`:`odd`}`)}let W=1e-4,G=Tt(H,w.height+U,B+H,w.height+U,W),K=R.polygon(G.map(e=>[e.x,e.y]),z);if(C.insert(()=>K).attr(`class`,`divider`),G=Tt(O+H,w.height+U,O+H,V+U,W),K=R.polygon(G.map(e=>[e.x,e.y]),z),C.insert(()=>K).attr(`class`,`divider`),M){let e=O+k+H;G=Tt(e,w.height+U,e,V+U,W),K=R.polygon(G.map(e=>[e.x,e.y]),z),C.insert(()=>K).attr(`class`,`divider`)}if(N){let e=O+k+A+H;G=Tt(e,w.height+U,e,V+U,W),K=R.polygon(G.map(e=>[e.x,e.y]),z),C.insert(()=>K).attr(`class`,`divider`)}for(let e of E){let t=w.height+U+e;G=Tt(H,t,B+H,t,W),K=R.polygon(G.map(e=>[e.x,e.y]),z),C.insert(()=>K).attr(`class`,`divider`)}if(d(i,ne),x&&i.look!==`handDrawn`){if(o!=null&&St.has(o))C.selectAll(`path`).attr(`style`,x);else{let e=x.split(`;`)?.filter(e=>e.includes(`stroke`))?.map(e=>`${e}`).join(`; `);C.selectAll(`path`).attr(`style`,e??``),C.selectAll(`.row-rect-even path`).attr(`style`,x)}}return i.intersect=function(e){return I.rect(i,e)},C}e.n(Ct,`erBox`);async function wt(e,i,o,s=0,c=0,l=[],u=``){let d=e.insert(`g`).attr(`class`,`label ${l.join(` `)}`).attr(`transform`,`translate(${s}, ${c})`).attr(`style`,u);i!==n.M(i)&&(i=n.M(i),i=i.replaceAll(`<`,`<`).replaceAll(`>`,`>`));let f=d.node().appendChild(await a.n(d,i,{width:r.r(i,o)+100,style:u,useHtmlLabels:o.htmlLabels},o));if(i.includes(`<`)||i.includes(`>`)){let e=f.children[0];for(e.textContent=e.textContent.replaceAll(`<`,`<`).replaceAll(`>`,`>`);e.childNodes[0];)e=e.childNodes[0],e.textContent=e.textContent.replaceAll(`<`,`<`).replaceAll(`>`,`>`)}let p=f.getBBox();if(n.g(o.htmlLabels)){let e=f.children[0];e.style.textAlign=`start`;let n=t.p(f);p=e.getBoundingClientRect(),n.attr(`width`,p.width),n.attr(`height`,p.height)}return p}e.n(wt,`addText`);function Tt(e,t,n,r,i){return e===n?[{x:e-i/2,y:t},{x:e+i/2,y:t},{x:n+i/2,y:r},{x:n-i/2,y:r}]:[{x:e,y:t-i/2},{x:e,y:t+i/2},{x:n,y:r+i/2},{x:n,y:r-i/2}]}e.n(Tt,`lineToPolygon`);async function Et(e,t,n,r,i=n.class.padding??12){let a=r?0:3,o=e.insert(`g`).attr(`class`,f(t)).attr(`id`,t.domId||t.id),s=null,c=null,l=null,u=null,d=0,p=0,m=0;if(s=o.insert(`g`).attr(`class`,`annotation-group text`),t.annotations.length>0){let e=t.annotations[0];await Dt(s,{text:`\xAB${e}\xBB`},0),d=s.node().getBBox().height}c=o.insert(`g`).attr(`class`,`label-group text`),await Dt(c,t,0,[`font-weight: bolder`]);let h=c.node().getBBox();p=h.height,l=o.insert(`g`).attr(`class`,`members-group text`);let g=0;for(let e of t.members){let t=await Dt(l,e,g,[e.parseClassifier()]);g+=t+a}m=l.node().getBBox().height,m<=0&&(m=i/2),u=o.insert(`g`).attr(`class`,`methods-group text`);let _=0;for(let e of t.methods){let t=await Dt(u,e,_,[e.parseClassifier()]);_+=t+a}let v=o.node().getBBox();if(s!==null){let e=s.node().getBBox();s.attr(`transform`,`translate(${-e.width/2})`)}return c.attr(`transform`,`translate(${-h.width/2}, ${d})`),v=o.node().getBBox(),l.attr(`transform`,`translate(0, ${d+p+i*2})`),v=o.node().getBBox(),u.attr(`transform`,`translate(0, ${d+p+(m?m+i*4:i*2)})`),v=o.node().getBBox(),{shapeSvg:o,bbox:v}}e.n(Et,`textHelper`);async function Dt(i,o,s,c=[]){let l=i.insert(`g`).attr(`class`,`label`).attr(`style`,c.join(`; `)),u=n.b(),d=`useHtmlLabels`in o?o.useHtmlLabels:n.g(u.htmlLabels)??!0,f=``;f=`text`in o?o.text:o.label,!d&&f.startsWith(`\\`)&&(f=f.substring(1)),n.A(f)&&(d=!0);let p=await a.n(l,n.B(r.a(f)),{width:r.r(f,u)+50,classes:`markdown-node-label`,useHtmlLabels:d},u),m,h=1;if(d){let n=p.children[0],r=t.p(p);h=n.innerHTML.split(`<br>`).length,n.innerHTML.includes(`</math>`)&&(h+=n.innerHTML.split(`<mrow>`).length-1);let i=n.getElementsByTagName(`img`);if(i){let t=f.replace(/<img[^>]*>/g,``).trim()===``;await Promise.all([...i].map(n=>new Promise(r=>{function i(){if(n.style.display=`flex`,n.style.flexDirection=`column`,t){let e=u.fontSize?.toString()??window.getComputedStyle(document.body).fontSize,t=parseInt(e,10)*5+`px`;n.style.minWidth=t,n.style.maxWidth=t}else n.style.width=`100%`;r(n)}e.n(i,`setupImage`),setTimeout(()=>{n.complete&&i()}),n.addEventListener(`error`,i),n.addEventListener(`load`,i)})))}m=n.getBoundingClientRect(),r.attr(`width`,m.width),r.attr(`height`,m.height)}else{c.includes(`font-weight: bolder`)&&t.p(p).selectAll(`tspan`).attr(`font-weight`,``),h=p.children.length;let e=p.children[0];(p.textContent===``||p.textContent.includes(`>`))&&(e.textContent=f[0]+f.substring(1).replaceAll(`>`,`>`).replaceAll(`<`,`<`).trim(),f[1]===` `&&(e.textContent=e.textContent[0]+` `+e.textContent.substring(1))),e.textContent===`undefined`&&(e.textContent=``),m=p.getBBox()}return l.attr(`transform`,`translate(0,`+(-m.height/(2*h)+s)+`)`),m.height}e.n(Dt,`addText`);async function Ot(e,r){let i=n.x(),{themeVariables:a}=i,{useGradient:o}=a,l=i.class.padding??12,u=l,f=r.useHtmlLabels??n.g(i.htmlLabels)??!0,p=r;p.annotations=p.annotations??[],p.members=p.members??[],p.methods=p.methods??[];let{shapeSvg:m,bbox:h}=await Et(e,r,i,f,u),{labelStyles:g,nodeStyles:_}=s.i(r);r.labelStyle=g,r.cssStyles=p.styles||``;let v=p.styles?.join(`;`)||_||``;r.cssStyles||=v.replaceAll(`!important`,``).split(`;`);let y=p.members.length===0&&p.methods.length===0&&!i.class?.hideEmptyMembersBox,b=c.t.svg(m),x=s.a(r,{});r.look!==`handDrawn`&&(x.roughness=0,x.fillStyle=`solid`);let S=Math.max(r.width??0,h.width),C=Math.max(r.height??0,h.height),w=(r.height??0)>h.height;p.members.length===0&&p.methods.length===0?C+=u:p.members.length>0&&p.methods.length===0&&(C+=u*2);let T=-S/2,E=-C/2,D=y?l*2:p.members.length===0&&p.methods.length===0?-l:0;w&&(D=l*2);let O=b.rectangle(T-l,E-l-(y?l:p.members.length===0&&p.methods.length===0?-l/2:0),S+2*l,C+2*l+D,x),k=m.insert(()=>O,`:first-child`);k.attr(`class`,`basic label-container outer-path`);let A=k.node().getBBox(),j=m.select(`.annotation-group`).node().getBBox().height-(y?l/2:0)||0,M=m.select(`.label-group`).node().getBBox().height-(y?l/2:0)||0,N=m.select(`.members-group`).node().getBBox().height-(y?l/2:0)||0,P=(j+M+E+l-(E-l-(y?l:p.members.length===0&&p.methods.length===0?-l/2:0)))/2;if(m.selectAll(`.text`).each((e,n,r)=>{let a=t.p(r[n]),o=a.attr(`transform`),s=0;if(o){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(o);e&&(s=parseFloat(e[2]))}let c=s+E+l-(y?l:p.members.length===0&&p.methods.length===0?-l/2:0);if(a.attr(`class`).includes(`methods-group`)){let e=Math.max(N,u/2);c=w?Math.max(P,j+M+e+E+u*2+l)+u*2:j+M+e+E+u*4+l}p.members.length===0&&p.methods.length===0&&i.class?.hideEmptyMembersBox&&(c=p.annotations.length>0?s-u:s),f||(c-=4);let d=T;(a.attr(`class`).includes(`label-group`)||a.attr(`class`).includes(`annotation-group`))&&(d=-a.node()?.getBBox().width/2||0,m.selectAll(`text`).each(function(e,t,n){window.getComputedStyle(n[t]).textAnchor===`middle`&&(d=0)})),a.attr(`transform`,`translate(${d}, ${c})`)}),p.members.length>0||p.methods.length>0||y){let e=j+M+E+l,t=b.line(A.x,e,A.x+A.width,e+.001,x);m.insert(()=>t).attr(`class`,`divider${r.look===`neo`&&!o?` neo-line`:``}`).attr(`style`,v)}if(y||p.members.length>0||p.methods.length>0){let e=j+M+N+E+u*2+l,t=b.line(A.x,w?Math.max(P,e):e,A.x+A.width,(w?Math.max(P,e):e)+.001,x);m.insert(()=>t).attr(`class`,`divider${r.look===`neo`&&!o?` neo-line`:``}`).attr(`style`,v)}if(p.look!==`handDrawn`&&m.selectAll(`path`).attr(`style`,v),k.select(`:nth-child(2)`).attr(`style`,v),m.selectAll(`.divider`).select(`path`).attr(`style`,v),r.labelStyle?m.selectAll(`span`).attr(`style`,r.labelStyle):m.selectAll(`span`).attr(`style`,v),!f){let e=RegExp(/color\s*:\s*([^;]*)/),t=e.exec(v);if(t){let e=t[0].replace(`color`,`fill`);m.selectAll(`tspan`).attr(`style`,e)}else if(g){let t=e.exec(g);if(t){let e=t[0].replace(`color`,`fill`);m.selectAll(`tspan`).attr(`style`,e)}}}return d(r,k),r.intersect=function(e){return I.rect(r,e)},m}e.n(Ot,`classBox`);async function kt(e,r){let{labelStyles:i,nodeStyles:a}=s.i(r);r.labelStyle=i;let o=r,l=r,u=`verifyMethod`in r,p=f(r),{themeVariables:m}=n.x(),{borderColorArray:h,requirementEdgeLabelBackground:g}=m,_=e.insert(`g`).attr(`class`,p).attr(`id`,r.domId??r.id),v;v=u?await $(_,`<<${o.type}>>`,0,r.labelStyle):await $(_,`<<Element>>`,0,r.labelStyle);let y=v,b=await $(_,o.name,y,r.labelStyle+`; font-weight: bold;`);if(y+=b+20,u){let e=await $(_,`${o.requirementId?`ID: ${o.requirementId}`:``}`,y,r.labelStyle);y+=e;let t=await $(_,`${o.text?`Text: ${o.text}`:``}`,y,r.labelStyle);y+=t;let n=await $(_,`${o.risk?`Risk: ${o.risk}`:``}`,y,r.labelStyle);y+=n,await $(_,`${o.verifyMethod?`Verification: ${o.verifyMethod}`:``}`,y,r.labelStyle)}else{let e=await $(_,`${l.type?`Type: ${l.type}`:``}`,y,r.labelStyle);y+=e,await $(_,`${l.docRef?`Doc Ref: ${l.docRef}`:``}`,y,r.labelStyle)}let x=(_.node()?.getBBox().width??200)+20,S=(_.node()?.getBBox().height??200)+20,C=-x/2,w=-S/2,T=c.t.svg(_),E=s.a(r,{});r.look!==`handDrawn`&&(E.roughness=0,E.fillStyle=`solid`);let D=T.rectangle(C,w,x,S,E),O=_.insert(()=>D,`:first-child`);if(O.attr(`class`,`basic label-container outer-path`).attr(`style`,a),h?.length){let e=r.colorIndex??0;_.attr(`data-color-id`,`color-${e%h.length}`)}if(_.selectAll(`.label`).each((e,n,r)=>{let i=t.p(r[n]),a=i.attr(`transform`),o=0,s=0;if(a){let e=RegExp(/translate\(([^,]+),([^)]+)\)/).exec(a);e&&(o=parseFloat(e[1]),s=parseFloat(e[2]))}let c=s-S/2,l=C+10;(n===0||n===1)&&(l=o),i.attr(`transform`,`translate(${l}, ${c+20})`)}),y>v+b+20){let e=w+v+b+20,t;if(r.look===`neo`){let n=.001,r=[[C,e],[C+x,e],[C+x,e+n],[C,e+n]];t=T.polygon(r,E)}else t=T.line(C,e,C+x,e,E);_.insert(()=>t).attr(`class`,`divider`)}return d(r,O),r.intersect=function(e){return I.rect(r,e)},a&&r.look!==`handDrawn`&&(g||h?.length)&&_.selectAll(`path`).attr(`style`,a),_}e.n(kt,`requirementBox`);async function $(e,i,o,s=``){if(i===``)return 0;let c=e.insert(`g`).attr(`class`,`label`).attr(`style`,s),l=n.x(),u=l.htmlLabels??!0,d=await a.n(c,n.B(r.a(i)),{width:r.r(i,l)+50,classes:`markdown-node-label`,useHtmlLabels:u,style:s},l),f;if(u){let e=d.children[0],n=t.p(d);f=e.getBoundingClientRect(),n.attr(`width`,f.width),n.attr(`height`,f.height)}else{let e=d.children[0];for(let t of e.children)s&&t.setAttribute(`style`,s);f=d.getBBox(),f.height+=6}return c.attr(`transform`,`translate(${-f.width/2},${-f.height/2+o})`),f.height}e.n($,`addText`);var At=e.n(e=>{switch(e){case`Very High`:return`red`;case`High`:return`orange`;case`Medium`:return null;case`Low`:return`blue`;case`Very Low`:return`lightblue`}},`colorFromPriority`);async function jt(e,t,{config:n}){let{labelStyles:r,nodeStyles:i}=s.i(t);t.labelStyle=r||``;let a=t.width;t.width=(t.width??200)-10;let{shapeSvg:o,bbox:p,label:m}=await l(e,t,f(t)),h=t.padding||10,g=``,_;`ticket`in t&&t.ticket&&n?.kanban?.ticketBaseUrl&&(g=n?.kanban?.ticketBaseUrl.replace(`#TICKET#`,t.ticket),_=o.insert(`svg:a`,`:first-child`).attr(`class`,`kanban-ticket-link`).attr(`xlink:href`,g).attr(`target`,`_blank`));let v={useHtmlLabels:t.useHtmlLabels,labelStyle:t.labelStyle||``,width:t.width,img:t.img,padding:t.padding||8,centerLabel:!1},b,x;_?{label:b,bbox:x}=await u(_,`ticket`in t&&t.ticket||``,v):{label:b,bbox:x}=await u(o,`ticket`in t&&t.ticket||``,v);let{label:S,bbox:C}=await u(o,`assigned`in t&&t.assigned||``,v);t.width=a;let w=t?.width||0,T=Math.max(x.height,C.height)/2,E=Math.max(p.height+20,t?.height||0)+T,D=-w/2,O=-E/2;m.attr(`transform`,`translate(`+(h-w/2)+`, `+(-T-p.height/2)+`)`),b.attr(`transform`,`translate(`+(h-w/2)+`, `+(-T+p.height/2)+`)`),S.attr(`transform`,`translate(`+(h+w/2-C.width-20)+`, `+(-T+p.height/2)+`)`);let k,{rx:A,ry:j}=t,{cssStyles:M}=t;if(t.look===`handDrawn`){let e=c.t.svg(o),n=s.a(t,{}),r=A||j?e.path(y(D,O,w,E,A||0),n):e.rectangle(D,O,w,E,n);k=o.insert(()=>r,`:first-child`),k.attr(`class`,`basic label-container`).attr(`style`,M||null)}else{k=o.insert(`rect`,`:first-child`),k.attr(`class`,`basic label-container __APA__`).attr(`style`,i).attr(`rx`,A??5).attr(`ry`,j??5).attr(`x`,D).attr(`y`,O).attr(`width`,w).attr(`height`,E);let e=`priority`in t&&t.priority;if(e){let t=o.append(`line`),n=D+2,r=O+Math.floor((A??0)/2),i=O+E-Math.floor((A??0)/2);t.attr(`x1`,n).attr(`y1`,r).attr(`x2`,n).attr(`y2`,i).attr(`stroke-width`,`4`).attr(`stroke`,At(e))}}return d(t,k),t.height=E,t.intersect=function(e){return I.rect(t,e)},o}e.n(jt,`kanbanItem`);async function Mt(e,n){let{labelStyles:i,nodeStyles:a}=s.i(n);n.labelStyle=i;let{shapeSvg:o,bbox:u,halfPadding:p,label:m}=await l(e,n,f(n)),h=u.width+10*p,g=u.height+8*p,_=.15*h,{cssStyles:v}=n,y=u.width+20,b=u.height+20,x=Math.max(h,y),S=Math.max(g,b);m.attr(`transform`,`translate(${-u.width/2}, ${-u.height/2})`);let C,w=`M0 0
|
|
11
|
-
a${_},${_} 1 0,0 ${x*.25},${-1*S*.1}
|
|
12
|
-
a${_},${_} 1 0,0 ${x*.25},0
|
|
13
|
-
a${_},${_} 1 0,0 ${x*.25},0
|
|
14
|
-
a${_},${_} 1 0,0 ${x*.25},${S*.1}
|
|
15
|
-
|
|
16
|
-
a${_},${_} 1 0,0 ${x*.15},${S*.33}
|
|
17
|
-
a${_*.8},${_*.8} 1 0,0 0,${S*.34}
|
|
18
|
-
a${_},${_} 1 0,0 ${-1*x*.15},${S*.33}
|
|
19
|
-
|
|
20
|
-
a${_},${_} 1 0,0 ${-1*x*.25},${S*.15}
|
|
21
|
-
a${_},${_} 1 0,0 ${-1*x*.25},0
|
|
22
|
-
a${_},${_} 1 0,0 ${-1*x*.25},0
|
|
23
|
-
a${_},${_} 1 0,0 ${-1*x*.25},${-1*S*.15}
|
|
24
|
-
|
|
25
|
-
a${_},${_} 1 0,0 ${-1*x*.1},${-1*S*.33}
|
|
26
|
-
a${_*.8},${_*.8} 1 0,0 0,${-1*S*.34}
|
|
27
|
-
a${_},${_} 1 0,0 ${x*.1},${-1*S*.33}
|
|
28
|
-
H0 V0 Z`;if(n.look===`handDrawn`){let e=c.t.svg(o),t=s.a(n,{}),i=e.path(w,t);C=o.insert(()=>i,`:first-child`),C.attr(`class`,`basic label-container`).attr(`style`,r.u(v))}else C=o.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,a).attr(`d`,w);return C.attr(`transform`,`translate(${-x/2}, ${-S/2})`),d(n,C),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(e){return t.m.info(`Bang intersect`,n,e),I.rect(n,e)},o}e.n(Mt,`bang`);async function Nt(e,n){let{labelStyles:i,nodeStyles:a}=s.i(n);n.labelStyle=i;let{shapeSvg:o,bbox:u,halfPadding:p,label:m}=await l(e,n,f(n)),h=u.width+2*p,g=u.height+2*p,_=.15*h,v=.25*h,y=.35*h,b=.2*h,{cssStyles:x}=n,S,C=`M0 0
|
|
29
|
-
a${_},${_} 0 0,1 ${h*.25},${-1*h*.1}
|
|
30
|
-
a${y},${y} 1 0,1 ${h*.4},${-1*h*.1}
|
|
31
|
-
a${v},${v} 1 0,1 ${h*.35},${h*.2}
|
|
32
|
-
|
|
33
|
-
a${_},${_} 1 0,1 ${h*.15},${g*.35}
|
|
34
|
-
a${b},${b} 1 0,1 ${-1*h*.15},${g*.65}
|
|
35
|
-
|
|
36
|
-
a${v},${_} 1 0,1 ${-1*h*.25},${h*.15}
|
|
37
|
-
a${y},${y} 1 0,1 ${-1*h*.5},0
|
|
38
|
-
a${_},${_} 1 0,1 ${-1*h*.25},${-1*h*.15}
|
|
39
|
-
|
|
40
|
-
a${_},${_} 1 0,1 ${-1*h*.1},${-1*g*.35}
|
|
41
|
-
a${b},${b} 1 0,1 ${h*.1},${-1*g*.65}
|
|
42
|
-
H0 V0 Z`;if(n.look===`handDrawn`){let e=c.t.svg(o),t=s.a(n,{}),i=e.path(C,t);S=o.insert(()=>i,`:first-child`),S.attr(`class`,`basic label-container`).attr(`style`,r.u(x))}else S=o.insert(`path`,`:first-child`).attr(`class`,`basic label-container`).attr(`style`,a).attr(`d`,C);return m.attr(`transform`,`translate(${-u.width/2}, ${-u.height/2})`),S.attr(`transform`,`translate(${-h/2}, ${-g/2})`),d(n,S),n.calcIntersect=function(e,t){return I.rect(e,t)},n.intersect=function(e){return t.m.info(`Cloud intersect`,n,e),I.rect(n,e)},o}e.n(Nt,`cloud`);async function Pt(e,t){let{labelStyles:n,nodeStyles:r}=s.i(t);t.labelStyle=n;let{shapeSvg:i,bbox:a,halfPadding:o,label:c}=await l(e,t,f(t)),u=a.width+8*o,p=a.height+2*o,m=t.look===`neo`?`
|
|
43
|
-
M${-u/2} ${p/2-5}
|
|
44
|
-
v${-p+10}
|
|
45
|
-
q0,-5 5,-5
|
|
46
|
-
h${u-10}
|
|
47
|
-
q5,0 5,5
|
|
48
|
-
v${p-5}
|
|
49
|
-
H${-u/2}
|
|
50
|
-
Z
|
|
51
|
-
`:`
|
|
52
|
-
M${-u/2} ${p/2-5}
|
|
53
|
-
v${-p+10}
|
|
54
|
-
q0,-5 5,-5
|
|
55
|
-
h${u-10}
|
|
56
|
-
q5,0 5,5
|
|
57
|
-
v${p-10}
|
|
58
|
-
q0,5 -5,5
|
|
59
|
-
h${-(u-10)}
|
|
60
|
-
q-5,0 -5,-5
|
|
61
|
-
Z
|
|
62
|
-
`;if(!t.domId)throw Error(`defaultMindmapNode: node "${t.id}" is missing a domId \u2014 was render.ts domId prefixing skipped?`);let h=i.append(`path`).attr(`id`,t.domId).attr(`class`,`node-bkg node-`+t.type).attr(`style`,r).attr(`d`,m);return i.append(`line`).attr(`class`,`node-line-`).attr(`x1`,-u/2).attr(`y1`,p/2).attr(`x2`,u/2).attr(`y2`,p/2),c.attr(`transform`,`translate(${-a.width/2}, ${-a.height/2})`),i.append(()=>c.node()),d(t,h),t.calcIntersect=function(e,t){return I.rect(e,t)},t.intersect=function(e){return I.rect(t,e)},i}e.n(Pt,`defaultMindmapNode`);async function Ft(e,t){return te(e,t,{padding:t.padding??0})}e.n(Ft,`mindmapCircle`);var It=[{semanticName:`Process`,name:`Rectangle`,shortName:`rect`,description:`Standard process shape`,aliases:[`proc`,`process`,`rectangle`],internalAliases:[`squareRect`],handler:Ze},{semanticName:`Event`,name:`Rounded Rectangle`,shortName:`rounded`,description:`Represents an event`,aliases:[`event`],internalAliases:[`roundedRect`],handler:Je},{semanticName:`Terminal Point`,name:`Stadium`,shortName:`stadium`,description:`Terminal point`,aliases:[`terminal`,`pill`],handler:Qe},{semanticName:`Subprocess`,name:`Framed Rectangle`,shortName:`fr-rect`,description:`Subprocess`,aliases:[`subprocess`,`subproc`,`framed-rectangle`,`subroutine`],handler:nt},{semanticName:`Database`,name:`Cylinder`,shortName:`cyl`,description:`Database storage`,aliases:[`db`,`database`,`cylinder`],handler:de},{semanticName:`Data Store`,name:`Data Store`,shortName:`datastore`,description:`Data flow diagram data store`,aliases:[`data-store`],handler:fe},{semanticName:`Start`,name:`Circle`,shortName:`circle`,description:`Starting point`,aliases:[`circ`],handler:te},{semanticName:`Bang`,name:`Bang`,shortName:`bang`,description:`Bang`,aliases:[`bang`],handler:Mt},{semanticName:`Cloud`,name:`Cloud`,shortName:`cloud`,description:`cloud`,aliases:[`cloud`],handler:Nt},{semanticName:`Decision`,name:`Diamond`,shortName:`diam`,description:`Decision-making step`,aliases:[`decision`,`diamond`,`question`],handler:Ge},{semanticName:`Prepare Conditional`,name:`Hexagon`,shortName:`hex`,description:`Preparation or condition step`,aliases:[`hexagon`,`prepare`],handler:Se},{semanticName:`Data Input/Output`,name:`Lean Right`,shortName:`lean-r`,description:`Represents input or output`,aliases:[`lean-right`,`in-out`],internalAliases:[`lean_right`],handler:Me},{semanticName:`Data Input/Output`,name:`Lean Left`,shortName:`lean-l`,description:`Represents output or input`,aliases:[`lean-left`,`out-in`],internalAliases:[`lean_left`],handler:je},{semanticName:`Priority Action`,name:`Trapezoid Base Bottom`,shortName:`trap-b`,description:`Priority action`,aliases:[`priority`,`trapezoid-bottom`,`trapezoid`],handler:pt},{semanticName:`Manual Operation`,name:`Trapezoid Base Top`,shortName:`trap-t`,description:`Represents a manual task`,aliases:[`manual`,`trapezoid-top`,`inv-trapezoid`],internalAliases:[`inv_trapezoid`],handler:ke},{semanticName:`Stop`,name:`Double Circle`,shortName:`dbl-circ`,description:`Represents a stop point`,aliases:[`double-circle`],internalAliases:[`doublecircle`],handler:me},{semanticName:`Text Block`,name:`Text Block`,shortName:`text`,description:`Text block`,handler:ot},{semanticName:`Card`,name:`Notched Rectangle`,shortName:`notch-rect`,description:`Represents a card`,aliases:[`card`,`notched-rectangle`],handler:H},{semanticName:`Lined/Shaded Process`,name:`Lined Rectangle`,shortName:`lin-rect`,description:`Lined process shape`,aliases:[`lined-rectangle`,`lined-process`,`lin-proc`,`shaded-process`],handler:Ye},{semanticName:`Start`,name:`Small Circle`,shortName:`sm-circ`,description:`Small starting point`,aliases:[`start`,`small-circle`],internalAliases:[`stateStart`],handler:tt},{semanticName:`Stop`,name:`Framed Circle`,shortName:`fr-circ`,description:`Stop point`,aliases:[`stop`,`framed-circle`],internalAliases:[`stateEnd`],handler:et},{semanticName:`Fork/Join`,name:`Filled Rectangle`,shortName:`fork`,description:`Fork or join in process flow`,aliases:[`join`],internalAliases:[`forkJoin`],handler:ye},{semanticName:`Collate`,name:`Hourglass`,shortName:`hourglass`,description:`Represents a collate operation`,aliases:[`hourglass`,`collate`],handler:Ce},{semanticName:`Comment`,name:`Curly Brace`,shortName:`brace`,description:`Adds a comment`,aliases:[`comment`,`brace-l`],handler:K},{semanticName:`Comment Right`,name:`Curly Brace`,shortName:`brace-r`,description:`Adds a comment`,handler:re},{semanticName:`Comment with braces on both sides`,name:`Curly Braces`,shortName:`braces`,description:`Adds a comment`,handler:ie},{semanticName:`Com Link`,name:`Lightning Bolt`,shortName:`bolt`,description:`Communication link`,aliases:[`com-link`,`lightning-bolt`],handler:Ne},{semanticName:`Document`,name:`Document`,shortName:`doc`,description:`Represents a document`,aliases:[`doc`,`document`],handler:vt},{semanticName:`Delay`,name:`Half-Rounded Rectangle`,shortName:`delay`,description:`Represents a delay`,aliases:[`half-rounded-rectangle`],handler:be},{semanticName:`Direct Access Storage`,name:`Horizontal Cylinder`,shortName:`h-cyl`,description:`Direct access storage`,aliases:[`das`,`horizontal-cylinder`],handler:ft},{semanticName:`Disk Storage`,name:`Lined Cylinder`,shortName:`lin-cyl`,description:`Disk storage`,aliases:[`disk`,`lined-cylinder`],handler:ze},{semanticName:`Display`,name:`Curved Trapezoid`,shortName:`curv-trap`,description:`Represents a display`,aliases:[`curved-trapezoid`,`display`],handler:ae},{semanticName:`Divided Process`,name:`Divided Rectangle`,shortName:`div-rect`,description:`Divided process shape`,aliases:[`div-proc`,`divided-rectangle`,`divided-process`],handler:pe},{semanticName:`Extract`,name:`Triangle`,shortName:`tri`,description:`Extraction process`,aliases:[`extract`,`triangle`],handler:_t},{semanticName:`Internal Storage`,name:`Window Pane`,shortName:`win-pane`,description:`Internal storage`,aliases:[`internal-storage`,`window-pane`],handler:bt},{semanticName:`Junction`,name:`Filled Circle`,shortName:`f-circ`,description:`Junction point`,aliases:[`junction`,`filled-circle`],handler:he},{semanticName:`Loop Limit`,name:`Trapezoidal Pentagon`,shortName:`notch-pent`,description:`Loop limit step`,aliases:[`loop-limit`,`notched-pentagon`],handler:mt},{semanticName:`Manual File`,name:`Flipped Triangle`,shortName:`flip-tri`,description:`Manual file operation`,aliases:[`manual-file`,`flipped-triangle`],handler:ve},{semanticName:`Manual Input`,name:`Sloped Rectangle`,shortName:`sl-rect`,description:`Manual input step`,aliases:[`manual-input`,`sloped-rectangle`],handler:Xe},{semanticName:`Multi-Document`,name:`Stacked Document`,shortName:`docs`,description:`Multiple documents`,aliases:[`documents`,`st-doc`,`stacked-document`],handler:He},{semanticName:`Multi-Process`,name:`Stacked Rectangle`,shortName:`st-rect`,description:`Multiple processes`,aliases:[`procs`,`processes`,`stacked-rectangle`],handler:Ve},{semanticName:`Stored Data`,name:`Bow Tie Rectangle`,shortName:`bow-rect`,description:`Stored data`,aliases:[`stored-data`,`bow-tie-rectangle`],handler:ee},{semanticName:`Summary`,name:`Crossed Circle`,shortName:`cross-circ`,description:`Summary`,aliases:[`summary`,`crossed-circle`],handler:W},{semanticName:`Tagged Document`,name:`Tagged Document`,shortName:`tag-doc`,description:`Tagged document`,aliases:[`tag-doc`,`tagged-document`],handler:at},{semanticName:`Tagged Process`,name:`Tagged Rectangle`,shortName:`tag-rect`,description:`Tagged process`,aliases:[`tagged-rectangle`,`tag-proc`,`tagged-process`],handler:it},{semanticName:`Paper Tape`,name:`Flag`,shortName:`flag`,description:`Paper tape`,aliases:[`paper-tape`],handler:yt},{semanticName:`Odd`,name:`Odd`,shortName:`odd`,description:`Odd shape`,internalAliases:[`rect_left_inv_arrow`],handler:Ke},{semanticName:`Lined Document`,name:`Lined Document`,shortName:`lin-doc`,description:`Lined document`,aliases:[`lined-document`],handler:Be}],Lt=e.n(()=>{let e=[...Object.entries({state:$e,choice:U,note:Ue,rectWithTitle:qe,labelRect:Ae,iconSquare:De,iconCircle:Te,icon:we,iconRounded:Ee,imageSquare:Oe,anchor:L,kanbanItem:jt,mindmapCircle:Ft,defaultMindmapNode:Pt,classBox:Ot,erBox:Ct,requirementBox:kt}),...It.flatMap(e=>[e.shortName,...`aliases`in e?e.aliases:[],...`internalAliases`in e?e.internalAliases:[]].map(t=>[t,e.handler]))];return Object.fromEntries(e)},`generateShapeMap`)();function Rt(e){return e in Lt}e.n(Rt,`isValidShape`);var zt=new Map;async function Bt(e,t,n){let i,a;t.shape===`rect`&&(t.shape=t.rx&&t.ry?`roundedRect`:`squareRect`);let o=t.shape?Lt[t.shape]:void 0;if(!o)throw Error(`No such shape: ${t.shape}. Please check your syntax.`);if(t.link){let r;n.config.securityLevel===`sandbox`?r=`_top`:t.linkTarget&&(r=t.linkTarget||`_blank`),i=e.insert(`svg:a`).attr(`xlink:href`,t.link).attr(`target`,r??null),a=await o(i,t,n)}else a=await o(e,t,n),i=a;return i.attr(`data-look`,r.u(t.look)),t.tooltip&&a.attr(`title`,t.tooltip),zt.set(t.id,i),t.haveCallback&&i.attr(`class`,i.attr(`class`)+` clickable`),i}e.n(Bt,`insertNode`);var Vt=e.n((e,t)=>{zt.set(t.id,e)},`setNodeElem`),Ht=e.n(()=>{zt.clear()},`clear`),Ut=e.n(e=>{let n=zt.get(e.id);t.m.trace(`Transforming node`,e.diff,e,`translate(`+(e.x-e.width/2-5)+`, `+e.width/2+`)`);let r=e.diff||0;return e.clusterNode?n.attr(`transform`,`translate(`+(e.x+r-e.width/2)+`, `+(e.y-e.height/2-8)+`)`):n.attr(`transform`,`translate(`+e.x+`, `+e.y+`)`),r},`positionNode`);Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return Bt}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return Ut}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return w}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return Vt}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Ht}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return Rt}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return v}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return l}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return d}});
|