mio-previewer 0.1.7 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/README.zh-CN.md +26 -1
- package/dist/_basePickBy-DX8HyU0P.cjs +1 -0
- package/dist/{_basePickBy-CFTZygnR.js → _basePickBy-DcS5DfHY.js} +8 -8
- package/dist/{_baseUniq-COpRdEZm.js → _baseUniq-l83jS7_4.js} +1 -1
- package/dist/_baseUniq-vU0U1MCI.cjs +1 -0
- package/dist/arc-B70jSpTY.cjs +1 -0
- package/dist/{arc-CA-zaVHH.js → arc-bi7W8tLs.js} +15 -15
- package/dist/{architecture-O4VJ6CD3-DhXiEYF9.js → architecture-O4VJ6CD3-C8ByyxUN.js} +1 -1
- package/dist/{architecture-O4VJ6CD3-CpYFg8kG.cjs → architecture-O4VJ6CD3-jex9YPqE.cjs} +1 -1
- package/dist/architectureDiagram-VXUJARFQ-BSJVVbTt.cjs +36 -0
- package/dist/{architectureDiagram-VXUJARFQ-CMDGkfwW.js → architectureDiagram-VXUJARFQ-b-BL2UdP.js} +132 -132
- package/dist/{blockDiagram-VD42YOAC-BboMD6jZ.cjs → blockDiagram-VD42YOAC-D4nmxP-J.cjs} +4 -4
- package/dist/{blockDiagram-VD42YOAC-B6yyyBoP.js → blockDiagram-VD42YOAC-DhCRAnFr.js} +45 -45
- package/dist/{c4Diagram-YG6GDRKO-CAnMUU5Q.cjs → c4Diagram-YG6GDRKO-Bp_YQG1M.cjs} +1 -1
- package/dist/{c4Diagram-YG6GDRKO-Bk3UfYds.js → c4Diagram-YG6GDRKO-CM4iNQrU.js} +2 -2
- package/dist/channel-Bt4_zqKM.cjs +1 -0
- package/dist/{channel-CGHeB_wL.js → channel-C7wjr4b0.js} +1 -1
- package/dist/chunk-4BX2VUAB-DN9_7iVV.cjs +1 -0
- package/dist/{chunk-4BX2VUAB-DQLiny3u.js → chunk-4BX2VUAB-InZ28TEE.js} +1 -1
- package/dist/chunk-55IACEB6-BssN5TPL.cjs +1 -0
- package/dist/{chunk-55IACEB6-BvzkNW0T.js → chunk-55IACEB6-DuQdcZe5.js} +3 -3
- package/dist/{chunk-B4BG7PRW-DNWDyosT.cjs → chunk-B4BG7PRW-BLtyK5WN.cjs} +3 -3
- package/dist/{chunk-B4BG7PRW-XH3xle9g.js → chunk-B4BG7PRW-CZmD1mOP.js} +10 -10
- package/dist/{chunk-DI55MBZ5-7cI7r4vk.js → chunk-DI55MBZ5-BhYOpZgL.js} +3 -3
- package/dist/{chunk-DI55MBZ5-DBabq0PW.cjs → chunk-DI55MBZ5-Cq5UKCn9.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-BSSIfQJH.cjs → chunk-FMBD7UC4-D8L83VzX.cjs} +1 -1
- package/dist/{chunk-FMBD7UC4-Z_IXsR9N.js → chunk-FMBD7UC4-DieuQ34J.js} +1 -1
- package/dist/chunk-QN33PNHL-BVzK2uit.cjs +1 -0
- package/dist/{chunk-QN33PNHL-dvg-wDdg.js → chunk-QN33PNHL-D-qtZN_m.js} +1 -1
- package/dist/chunk-QZHKN3VN-BVy_lsPP.cjs +1 -0
- package/dist/{chunk-QZHKN3VN-Chg9twhX.js → chunk-QZHKN3VN-iq-B0BYI.js} +1 -1
- package/dist/chunk-TZMSLE5B-BdG0scu4.cjs +1 -0
- package/dist/{chunk-TZMSLE5B-CIgbKyu_.js → chunk-TZMSLE5B-CLskNwI1.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CC9xOx_t.js → classDiagram-2ON5EDUG-CRW-UrMH.js} +2 -2
- package/dist/classDiagram-2ON5EDUG-DynvEPIH.cjs +1 -0
- package/dist/{classDiagram-2ON5EDUG-CC9xOx_t.js → classDiagram-v2-WZHVMYZB-CRW-UrMH.js} +2 -2
- package/dist/classDiagram-v2-WZHVMYZB-DynvEPIH.cjs +1 -0
- package/dist/{clone-BrZZgHT6.js → clone-BTfuqUhz.js} +1 -1
- package/dist/clone-Tk5CWuEC.cjs +1 -0
- package/dist/cose-bilkent-S5V4N54A-BayjyXzv.cjs +1 -0
- package/dist/{cose-bilkent-S5V4N54A-CDs3BBYp.js → cose-bilkent-S5V4N54A-DWvW5ZH-.js} +1 -1
- package/dist/dagre-6UL2VRFP-CqJhtHGg.cjs +4 -0
- package/dist/{dagre-6UL2VRFP-BlMhpFnF.js → dagre-6UL2VRFP-CyO_II0i.js} +119 -119
- package/dist/diagram-PSM6KHXK-Deqqk-7H.cjs +24 -0
- package/dist/{diagram-PSM6KHXK-CoqSYWPX.js → diagram-PSM6KHXK-vEG2EZir.js} +53 -53
- package/dist/{diagram-QEK2KX5R-FqbXBaqH.js → diagram-QEK2KX5R-CcthhOYo.js} +20 -20
- package/dist/diagram-QEK2KX5R-CyVwjmz8.cjs +43 -0
- package/dist/{diagram-S2PKOQOG-u-4zOtyY.js → diagram-S2PKOQOG-C1nkRl8o.js} +23 -23
- package/dist/diagram-S2PKOQOG-D5cCXDLc.cjs +24 -0
- package/dist/{erDiagram-Q2GNP2WA-DWDeWLTL.cjs → erDiagram-Q2GNP2WA-BOk9K4o8.cjs} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-CXn9GtvJ.js → erDiagram-Q2GNP2WA-DYZDQY9P.js} +4 -4
- package/dist/{flowDiagram-NV44I4VS-C60QhUiz.cjs → flowDiagram-NV44I4VS-CbBS7kpH.cjs} +3 -3
- package/dist/{flowDiagram-NV44I4VS-CvRJQSEg.js → flowDiagram-NV44I4VS-Cm5rGHKr.js} +14 -14
- package/dist/{ganttDiagram-LVOFAZNH-bsx5CB5d.js → ganttDiagram-LVOFAZNH-C9H8dTYM.js} +2 -2
- package/dist/ganttDiagram-LVOFAZNH-grl-NYJD.cjs +267 -0
- package/dist/{gitGraph-ZV4HHKMB-BjAayPSR.js → gitGraph-ZV4HHKMB-BMRuODZ5.js} +1 -1
- package/dist/{gitGraph-ZV4HHKMB-kRwxNQnW.cjs → gitGraph-ZV4HHKMB-DQol4cxY.cjs} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-DPM59sAG.js → gitGraphDiagram-NY62KEGX-C8kfg2Wb.js} +45 -45
- package/dist/gitGraphDiagram-NY62KEGX-XHIAsakR.cjs +65 -0
- package/dist/graph-BP4aclXr.cjs +1 -0
- package/dist/{graph-CilVg985.js → graph-Cmal1ypF.js} +8 -8
- package/dist/info-63CPKGFF-BbRjNBBe.js +5 -0
- package/dist/{info-63CPKGFF-BKQtOsLZ.cjs → info-63CPKGFF-CxN4GUYe.cjs} +1 -1
- package/dist/{infoDiagram-F6ZHWCRC-B6bTTLIe.js → infoDiagram-F6ZHWCRC-D2_K2jLW.js} +2 -2
- package/dist/infoDiagram-F6ZHWCRC-DgwWwR_a.cjs +2 -0
- package/dist/{journeyDiagram-XKPGCS4Q-BKPpLUXu.js → journeyDiagram-XKPGCS4Q-BNauHD12.js} +4 -4
- package/dist/{journeyDiagram-XKPGCS4Q-CkWQvbbC.cjs → journeyDiagram-XKPGCS4Q-Cd1ptemy.cjs} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-DzI_mEvf.cjs → kanban-definition-3W4ZIXB7-BsVJ9Zr_.cjs} +2 -2
- package/dist/{kanban-definition-3W4ZIXB7-CLac2PpK.js → kanban-definition-3W4ZIXB7-aXwg7GQC.js} +44 -44
- package/dist/{layout-DOxjVt30.js → layout-CNXo_UYD.js} +4 -4
- package/dist/layout-UdmmrcAy.cjs +1 -0
- package/dist/{linear-nITCRSwN.js → linear-BJYenDkp.js} +25 -25
- package/dist/linear-yobfjqoN.cjs +1 -0
- package/dist/{mermaid-parser.core-YAHoRfr_.cjs → mermaid-parser.core-BGNM1z13.cjs} +2 -2
- package/dist/{mermaid-parser.core-BvyFzRhX.js → mermaid-parser.core-D65Eg7MW.js} +205 -205
- package/dist/{mindmap-definition-VGOIOE7T-8Pk45I0T.cjs → mindmap-definition-VGOIOE7T-BWwajGM9.cjs} +2 -2
- package/dist/{mindmap-definition-VGOIOE7T-BTlAV786.js → mindmap-definition-VGOIOE7T-Cj2T7UQL.js} +18 -18
- package/dist/mio-previewer.cjs.js +21 -13
- package/dist/mio-previewer.css +9 -1
- package/dist/mio-previewer.es.js +3624 -2018
- package/dist/{packet-HUATNLJX-Cn2d6cbh.js → packet-HUATNLJX-14SEU0O4.js} +1 -1
- package/dist/{packet-HUATNLJX-CNiEJWxQ.cjs → packet-HUATNLJX-Ckyin10q.cjs} +1 -1
- package/dist/{pie-WTHONI2E-CEUZL-GO.cjs → pie-WTHONI2E-BtmYKmK7.cjs} +1 -1
- package/dist/pie-WTHONI2E-C6yV7-lW.js +5 -0
- package/dist/{pieDiagram-ADFJNKIX-CgDIBKwo.js → pieDiagram-ADFJNKIX-BWiplVXs.js} +44 -44
- package/dist/pieDiagram-ADFJNKIX-DqeDsWS0.cjs +30 -0
- package/dist/plugins/custom.cjs.js +1 -1
- package/dist/plugins/custom.es.js +79 -5
- package/dist/{quadrantDiagram-AYHSOK5B-CExSZwWH.cjs → quadrantDiagram-AYHSOK5B-Bminc_qJ.cjs} +1 -1
- package/dist/{quadrantDiagram-AYHSOK5B-TlBxKPiG.js → quadrantDiagram-AYHSOK5B-FXg2sS-E.js} +2 -2
- package/dist/radar-NJJJXTRR-CF8VuBoZ.js +5 -0
- package/dist/{radar-NJJJXTRR-D3p36qrE.cjs → radar-NJJJXTRR-Dbtyn_33.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-Dl5ijlU7.js → requirementDiagram-UZGBJVZJ-Ciz2mLOm.js} +27 -27
- package/dist/{requirementDiagram-UZGBJVZJ-BEcIIQ5C.cjs → requirementDiagram-UZGBJVZJ-Ct1bmEYE.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-bIR5yy8v.js → sankeyDiagram-TZEHDZUN-B2xkf9t6.js} +56 -56
- package/dist/sankeyDiagram-TZEHDZUN-TSSR-gzu.cjs +10 -0
- package/dist/{sequenceDiagram-WL72ISMW-DT79Xx9V.js → sequenceDiagram-WL72ISMW-DIpwERDr.js} +3 -3
- package/dist/{sequenceDiagram-WL72ISMW-BG5OjhGw.cjs → sequenceDiagram-WL72ISMW-DtCHtJNZ.cjs} +9 -9
- package/dist/stateDiagram-FKZM4ZOC-B1VqtZxH.cjs +1 -0
- package/dist/{stateDiagram-FKZM4ZOC-CDfDuz0s.js → stateDiagram-FKZM4ZOC-DSCBCFG_.js} +16 -16
- package/dist/stateDiagram-v2-4FDKWEC3-CH9hsq70.cjs +1 -0
- package/dist/{stateDiagram-v2-4FDKWEC3-DroYR31A.js → stateDiagram-v2-4FDKWEC3-DeOAmcI6.js} +2 -2
- package/dist/{timeline-definition-IT6M3QCI-CzA493Rr.js → timeline-definition-IT6M3QCI-C2CJErQP.js} +24 -24
- package/dist/{timeline-definition-IT6M3QCI-BxCHgT34.cjs → timeline-definition-IT6M3QCI-Da0A3jAO.cjs} +5 -5
- package/dist/{treemap-75Q7IDZK-B7s32RV1.js → treemap-75Q7IDZK-BMEJe5sG.js} +1 -1
- package/dist/{treemap-75Q7IDZK-hLeVdex4.cjs → treemap-75Q7IDZK-obpm_ohS.cjs} +1 -1
- package/dist/types/composables/useImageViewerManager.d.ts +11 -0
- package/dist/types/main-image-viewer-demo.d.ts +1 -0
- package/dist/types/plugins/custom/imageViewerPlugin.d.ts +57 -0
- package/dist/types/plugins/custom/index.d.ts +2 -0
- package/dist/types/plugins/custom/mermaidPlugin.d.ts +15 -1
- package/dist/types/plugins/index.d.ts +2 -0
- package/dist/types/types.d.ts +23 -1
- package/dist/{cursorPlugin-vB5SgZWZ.cjs → viewer-3haLPWOp.cjs} +40 -40
- package/dist/{cursorPlugin-CLM_tkck.js → viewer-BVjz3IFH.js} +203 -202
- package/dist/{xychartDiagram-PRI3JC2R-DQLU-dCp.cjs → xychartDiagram-PRI3JC2R-DkdcvnXd.cjs} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-Bb_Kt4vj.js → xychartDiagram-PRI3JC2R-ttlQ38E3.js} +29 -29
- package/package.json +2 -1
- package/dist/_basePickBy-tPOC0EMH.cjs +0 -1
- package/dist/_baseUniq-DqpG5gxq.cjs +0 -1
- package/dist/arc-D6SpLjCN.cjs +0 -1
- package/dist/architectureDiagram-VXUJARFQ-C-ZDGP3T.cjs +0 -36
- package/dist/channel-By4yEUpY.cjs +0 -1
- package/dist/chunk-4BX2VUAB-r3h9zqZy.cjs +0 -1
- package/dist/chunk-55IACEB6-F8U2tzR2.cjs +0 -1
- package/dist/chunk-QN33PNHL-Cb-RTcJE.cjs +0 -1
- package/dist/chunk-QZHKN3VN-DR2ed2kF.cjs +0 -1
- package/dist/chunk-TZMSLE5B-D3CSz4N0.cjs +0 -1
- package/dist/classDiagram-2ON5EDUG-De8Dohf7.cjs +0 -1
- package/dist/classDiagram-v2-WZHVMYZB-De8Dohf7.cjs +0 -1
- package/dist/clone-CXoO9ncp.cjs +0 -1
- package/dist/cose-bilkent-S5V4N54A-0DFD6rcw.cjs +0 -1
- package/dist/dagre-6UL2VRFP-DuUBkSw0.cjs +0 -4
- package/dist/diagram-PSM6KHXK-CmQ4F2JN.cjs +0 -24
- package/dist/diagram-QEK2KX5R-DqSiNmiR.cjs +0 -43
- package/dist/diagram-S2PKOQOG-DYEcRvla.cjs +0 -24
- package/dist/ganttDiagram-LVOFAZNH-DuTD48a9.cjs +0 -267
- package/dist/gitGraphDiagram-NY62KEGX-DsyQIiCo.cjs +0 -65
- package/dist/graph-T55iHwif.cjs +0 -1
- package/dist/info-63CPKGFF-D-_lE7q9.js +0 -5
- package/dist/infoDiagram-F6ZHWCRC-Dfs9venE.cjs +0 -2
- package/dist/layout-LjH1X4pD.cjs +0 -1
- package/dist/linear-BZdfTIw6.cjs +0 -1
- package/dist/pie-WTHONI2E-COsOPmmh.js +0 -5
- package/dist/pieDiagram-ADFJNKIX-8mFQx_vI.cjs +0 -30
- package/dist/radar-NJJJXTRR-hKx4VhDB.js +0 -5
- package/dist/sankeyDiagram-TZEHDZUN-_AuPE8rx.cjs +0 -10
- package/dist/stateDiagram-FKZM4ZOC-CaZkY5ch.cjs +0 -1
- package/dist/stateDiagram-v2-4FDKWEC3-GfIoqgb_.cjs +0 -1
package/dist/{requirementDiagram-UZGBJVZJ-Dl5ijlU7.js → requirementDiagram-UZGBJVZJ-Ciz2mLOm.js}
RENAMED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { g as Ge } from "./chunk-55IACEB6-
|
|
2
|
-
import { s as ze } from "./chunk-QN33PNHL-
|
|
3
|
-
import { _ as f,
|
|
1
|
+
import { g as Ge } from "./chunk-55IACEB6-DuQdcZe5.js";
|
|
2
|
+
import { s as ze } from "./chunk-QN33PNHL-D-qtZN_m.js";
|
|
3
|
+
import { _ as f, b as Xe, a as Je, s as Ze, g as et, p as tt, q as st, c as Ne, l as qe, y as it, B as rt, o as nt, r as at, u as lt } from "./viewer-BVjz3IFH.js";
|
|
4
4
|
var Ae = (function() {
|
|
5
5
|
var e = /* @__PURE__ */ f(function(P, i, n, c) {
|
|
6
6
|
for (n = n || {}, c = P.length; c--; n[P[c]] = i) ;
|
|
7
7
|
return n;
|
|
8
|
-
}, "o"), l = [1, 3], u = [1, 4], h = [1, 5], r = [1, 6], o = [5, 6, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], m = [1, 22], y = [2, 7], _ = [1, 26], b = [1, 27], N = [1, 28], q = [1, 29], A = [1, 33], C = [1, 34], V = [1, 35], v = [1, 36], x = [1, 37], L = [1, 38], D = [1, 24], O = [1, 31], w = [1, 32], M = [1, 30], p = [1, 39], R = [1, 40],
|
|
8
|
+
}, "o"), l = [1, 3], u = [1, 4], h = [1, 5], r = [1, 6], o = [5, 6, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], m = [1, 22], y = [2, 7], _ = [1, 26], b = [1, 27], N = [1, 28], q = [1, 29], A = [1, 33], C = [1, 34], V = [1, 35], v = [1, 36], x = [1, 37], L = [1, 38], D = [1, 24], O = [1, 31], w = [1, 32], M = [1, 30], p = [1, 39], R = [1, 40], d = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 77, 89, 90], $ = [1, 61], X = [89, 90], Ce = [5, 8, 9, 11, 13, 21, 22, 23, 24, 27, 29, 41, 42, 43, 44, 45, 46, 54, 61, 63, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], de = [27, 29], Ve = [1, 70], ve = [1, 71], xe = [1, 72], Le = [1, 73], De = [1, 74], Oe = [1, 75], we = [1, 76], ee = [1, 83], U = [1, 80], te = [1, 84], se = [1, 85], ie = [1, 86], re = [1, 87], ne = [1, 88], ae = [1, 89], le = [1, 90], ce = [1, 91], oe = [1, 92], pe = [5, 8, 9, 11, 13, 21, 22, 23, 24, 27, 41, 42, 43, 44, 45, 46, 54, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], Y = [63, 64], Me = [1, 101], Fe = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 76, 77, 89, 90], T = [5, 8, 9, 11, 13, 21, 22, 23, 24, 41, 42, 43, 44, 45, 46, 54, 72, 74, 75, 76, 77, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90], B = [1, 110], Q = [1, 106], H = [1, 107], K = [1, 108], W = [1, 109], j = [1, 111], he = [1, 116], ue = [1, 117], fe = [1, 114], me = [1, 115], Se = {
|
|
9
9
|
trace: /* @__PURE__ */ f(function() {
|
|
10
10
|
}, "trace"),
|
|
11
11
|
yy: {},
|
|
12
12
|
symbols_: { error: 2, start: 3, directive: 4, NEWLINE: 5, RD: 6, diagram: 7, EOF: 8, acc_title: 9, acc_title_value: 10, acc_descr: 11, acc_descr_value: 12, acc_descr_multiline_value: 13, requirementDef: 14, elementDef: 15, relationshipDef: 16, direction: 17, styleStatement: 18, classDefStatement: 19, classStatement: 20, direction_tb: 21, direction_bt: 22, direction_rl: 23, direction_lr: 24, requirementType: 25, requirementName: 26, STRUCT_START: 27, requirementBody: 28, STYLE_SEPARATOR: 29, idList: 30, ID: 31, COLONSEP: 32, id: 33, TEXT: 34, text: 35, RISK: 36, riskLevel: 37, VERIFYMTHD: 38, verifyType: 39, STRUCT_STOP: 40, REQUIREMENT: 41, FUNCTIONAL_REQUIREMENT: 42, INTERFACE_REQUIREMENT: 43, PERFORMANCE_REQUIREMENT: 44, PHYSICAL_REQUIREMENT: 45, DESIGN_CONSTRAINT: 46, LOW_RISK: 47, MED_RISK: 48, HIGH_RISK: 49, VERIFY_ANALYSIS: 50, VERIFY_DEMONSTRATION: 51, VERIFY_INSPECTION: 52, VERIFY_TEST: 53, ELEMENT: 54, elementName: 55, elementBody: 56, TYPE: 57, type: 58, DOCREF: 59, ref: 60, END_ARROW_L: 61, relationship: 62, LINE: 63, END_ARROW_R: 64, CONTAINS: 65, COPIES: 66, DERIVES: 67, SATISFIES: 68, VERIFIES: 69, REFINES: 70, TRACES: 71, CLASSDEF: 72, stylesOpt: 73, CLASS: 74, ALPHA: 75, COMMA: 76, STYLE: 77, style: 78, styleComponent: 79, NUM: 80, COLON: 81, UNIT: 82, SPACE: 83, BRKT: 84, PCT: 85, MINUS: 86, LABEL: 87, SEMICOLON: 88, unqString: 89, qString: 90, $accept: 0, $end: 1 },
|
|
13
13
|
terminals_: { 2: "error", 5: "NEWLINE", 6: "RD", 8: "EOF", 9: "acc_title", 10: "acc_title_value", 11: "acc_descr", 12: "acc_descr_value", 13: "acc_descr_multiline_value", 21: "direction_tb", 22: "direction_bt", 23: "direction_rl", 24: "direction_lr", 27: "STRUCT_START", 29: "STYLE_SEPARATOR", 31: "ID", 32: "COLONSEP", 34: "TEXT", 36: "RISK", 38: "VERIFYMTHD", 40: "STRUCT_STOP", 41: "REQUIREMENT", 42: "FUNCTIONAL_REQUIREMENT", 43: "INTERFACE_REQUIREMENT", 44: "PERFORMANCE_REQUIREMENT", 45: "PHYSICAL_REQUIREMENT", 46: "DESIGN_CONSTRAINT", 47: "LOW_RISK", 48: "MED_RISK", 49: "HIGH_RISK", 50: "VERIFY_ANALYSIS", 51: "VERIFY_DEMONSTRATION", 52: "VERIFY_INSPECTION", 53: "VERIFY_TEST", 54: "ELEMENT", 57: "TYPE", 59: "DOCREF", 61: "END_ARROW_L", 63: "LINE", 64: "END_ARROW_R", 65: "CONTAINS", 66: "COPIES", 67: "DERIVES", 68: "SATISFIES", 69: "VERIFIES", 70: "REFINES", 71: "TRACES", 72: "CLASSDEF", 74: "CLASS", 75: "ALPHA", 76: "COMMA", 77: "STYLE", 80: "NUM", 81: "COLON", 82: "UNIT", 83: "SPACE", 84: "BRKT", 85: "PCT", 86: "MINUS", 87: "LABEL", 88: "SEMICOLON", 89: "unqString", 90: "qString" },
|
|
14
14
|
productions_: [0, [3, 3], [3, 2], [3, 4], [4, 2], [4, 2], [4, 1], [7, 0], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [7, 2], [17, 1], [17, 1], [17, 1], [17, 1], [14, 5], [14, 7], [28, 5], [28, 5], [28, 5], [28, 5], [28, 2], [28, 1], [25, 1], [25, 1], [25, 1], [25, 1], [25, 1], [25, 1], [37, 1], [37, 1], [37, 1], [39, 1], [39, 1], [39, 1], [39, 1], [15, 5], [15, 7], [56, 5], [56, 5], [56, 2], [56, 1], [16, 5], [16, 5], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [62, 1], [19, 3], [20, 3], [20, 3], [30, 1], [30, 3], [30, 1], [30, 3], [18, 3], [73, 1], [73, 3], [78, 1], [78, 2], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [79, 1], [26, 1], [26, 1], [33, 1], [33, 1], [35, 1], [35, 1], [55, 1], [55, 1], [58, 1], [58, 1], [60, 1], [60, 1]],
|
|
15
|
-
performAction: /* @__PURE__ */ f(function(i, n, c, s,
|
|
15
|
+
performAction: /* @__PURE__ */ f(function(i, n, c, s, E, t, Ee) {
|
|
16
16
|
var a = t.length - 1;
|
|
17
|
-
switch (
|
|
17
|
+
switch (E) {
|
|
18
18
|
case 4:
|
|
19
19
|
this.$ = t[a].trim(), s.setAccTitle(this.$);
|
|
20
20
|
break;
|
|
@@ -164,7 +164,7 @@ var Ae = (function() {
|
|
|
164
164
|
break;
|
|
165
165
|
}
|
|
166
166
|
}, "anonymous"),
|
|
167
|
-
table: [{ 3: 1, 4: 2, 6: l, 9: u, 11: h, 13: r }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: l, 9: u, 11: h, 13: r }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, e(o, [2, 6]), { 3: 12, 4: 2, 6: l, 9: u, 11: h, 13: r }, { 1: [2, 2] }, { 4: 17, 5: m, 7: 13, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, e(o, [2, 4]), e(o, [2, 5]), { 1: [2, 1] }, { 8: [1, 41] }, { 4: 17, 5: m, 7: 42, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 43, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 44, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 45, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 46, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 47, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 48, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 49, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 50, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 26: 51, 89: [1, 52], 90: [1, 53] }, { 55: 54, 89: [1, 55], 90: [1, 56] }, { 29: [1, 59], 61: [1, 57], 63: [1, 58] }, e(
|
|
167
|
+
table: [{ 3: 1, 4: 2, 6: l, 9: u, 11: h, 13: r }, { 1: [3] }, { 3: 8, 4: 2, 5: [1, 7], 6: l, 9: u, 11: h, 13: r }, { 5: [1, 9] }, { 10: [1, 10] }, { 12: [1, 11] }, e(o, [2, 6]), { 3: 12, 4: 2, 6: l, 9: u, 11: h, 13: r }, { 1: [2, 2] }, { 4: 17, 5: m, 7: 13, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, e(o, [2, 4]), e(o, [2, 5]), { 1: [2, 1] }, { 8: [1, 41] }, { 4: 17, 5: m, 7: 42, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 43, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 44, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 45, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 46, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 47, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 48, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 49, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 4: 17, 5: m, 7: 50, 8: y, 9: u, 11: h, 13: r, 14: 14, 15: 15, 16: 16, 17: 18, 18: 19, 19: 20, 20: 21, 21: _, 22: b, 23: N, 24: q, 25: 23, 33: 25, 41: A, 42: C, 43: V, 44: v, 45: x, 46: L, 54: D, 72: O, 74: w, 77: M, 89: p, 90: R }, { 26: 51, 89: [1, 52], 90: [1, 53] }, { 55: 54, 89: [1, 55], 90: [1, 56] }, { 29: [1, 59], 61: [1, 57], 63: [1, 58] }, e(d, [2, 17]), e(d, [2, 18]), e(d, [2, 19]), e(d, [2, 20]), { 30: 60, 33: 62, 75: $, 89: p, 90: R }, { 30: 63, 33: 62, 75: $, 89: p, 90: R }, { 30: 64, 33: 62, 75: $, 89: p, 90: R }, e(X, [2, 29]), e(X, [2, 30]), e(X, [2, 31]), e(X, [2, 32]), e(X, [2, 33]), e(X, [2, 34]), e(Ce, [2, 81]), e(Ce, [2, 82]), { 1: [2, 3] }, { 8: [2, 8] }, { 8: [2, 9] }, { 8: [2, 10] }, { 8: [2, 11] }, { 8: [2, 12] }, { 8: [2, 13] }, { 8: [2, 14] }, { 8: [2, 15] }, { 8: [2, 16] }, { 27: [1, 65], 29: [1, 66] }, e(de, [2, 79]), e(de, [2, 80]), { 27: [1, 67], 29: [1, 68] }, e(de, [2, 85]), e(de, [2, 86]), { 62: 69, 65: Ve, 66: ve, 67: xe, 68: Le, 69: De, 70: Oe, 71: we }, { 62: 77, 65: Ve, 66: ve, 67: xe, 68: Le, 69: De, 70: Oe, 71: we }, { 30: 78, 33: 62, 75: $, 89: p, 90: R }, { 73: 79, 75: ee, 76: U, 78: 81, 79: 82, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }, e(pe, [2, 60]), e(pe, [2, 62]), { 73: 93, 75: ee, 76: U, 78: 81, 79: 82, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }, { 30: 94, 33: 62, 75: $, 76: U, 89: p, 90: R }, { 5: [1, 95] }, { 30: 96, 33: 62, 75: $, 89: p, 90: R }, { 5: [1, 97] }, { 30: 98, 33: 62, 75: $, 89: p, 90: R }, { 63: [1, 99] }, e(Y, [2, 50]), e(Y, [2, 51]), e(Y, [2, 52]), e(Y, [2, 53]), e(Y, [2, 54]), e(Y, [2, 55]), e(Y, [2, 56]), { 64: [1, 100] }, e(d, [2, 59], { 76: U }), e(d, [2, 64], { 76: Me }), { 33: 103, 75: [1, 102], 89: p, 90: R }, e(Fe, [2, 65], { 79: 104, 75: ee, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }), e(T, [2, 67]), e(T, [2, 69]), e(T, [2, 70]), e(T, [2, 71]), e(T, [2, 72]), e(T, [2, 73]), e(T, [2, 74]), e(T, [2, 75]), e(T, [2, 76]), e(T, [2, 77]), e(T, [2, 78]), e(d, [2, 57], { 76: Me }), e(d, [2, 58], { 76: U }), { 5: B, 28: 105, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 27: [1, 112], 76: U }, { 5: he, 40: ue, 56: 113, 57: fe, 59: me }, { 27: [1, 118], 76: U }, { 33: 119, 89: p, 90: R }, { 33: 120, 89: p, 90: R }, { 75: ee, 78: 121, 79: 82, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }, e(pe, [2, 61]), e(pe, [2, 63]), e(T, [2, 68]), e(d, [2, 21]), { 32: [1, 122] }, { 32: [1, 123] }, { 32: [1, 124] }, { 32: [1, 125] }, { 5: B, 28: 126, 31: Q, 34: H, 36: K, 38: W, 40: j }, e(d, [2, 28]), { 5: [1, 127] }, e(d, [2, 42]), { 32: [1, 128] }, { 32: [1, 129] }, { 5: he, 40: ue, 56: 130, 57: fe, 59: me }, e(d, [2, 47]), { 5: [1, 131] }, e(d, [2, 48]), e(d, [2, 49]), e(Fe, [2, 66], { 79: 104, 75: ee, 80: te, 81: se, 82: ie, 83: re, 84: ne, 85: ae, 86: le, 87: ce, 88: oe }), { 33: 132, 89: p, 90: R }, { 35: 133, 89: [1, 134], 90: [1, 135] }, { 37: 136, 47: [1, 137], 48: [1, 138], 49: [1, 139] }, { 39: 140, 50: [1, 141], 51: [1, 142], 52: [1, 143], 53: [1, 144] }, e(d, [2, 27]), { 5: B, 28: 145, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 58: 146, 89: [1, 147], 90: [1, 148] }, { 60: 149, 89: [1, 150], 90: [1, 151] }, e(d, [2, 46]), { 5: he, 40: ue, 56: 152, 57: fe, 59: me }, { 5: [1, 153] }, { 5: [1, 154] }, { 5: [2, 83] }, { 5: [2, 84] }, { 5: [1, 155] }, { 5: [2, 35] }, { 5: [2, 36] }, { 5: [2, 37] }, { 5: [1, 156] }, { 5: [2, 38] }, { 5: [2, 39] }, { 5: [2, 40] }, { 5: [2, 41] }, e(d, [2, 22]), { 5: [1, 157] }, { 5: [2, 87] }, { 5: [2, 88] }, { 5: [1, 158] }, { 5: [2, 89] }, { 5: [2, 90] }, e(d, [2, 43]), { 5: B, 28: 159, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 5: B, 28: 160, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 5: B, 28: 161, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 5: B, 28: 162, 31: Q, 34: H, 36: K, 38: W, 40: j }, { 5: he, 40: ue, 56: 163, 57: fe, 59: me }, { 5: he, 40: ue, 56: 164, 57: fe, 59: me }, e(d, [2, 23]), e(d, [2, 24]), e(d, [2, 25]), e(d, [2, 26]), e(d, [2, 44]), e(d, [2, 45])],
|
|
168
168
|
defaultActions: { 8: [2, 2], 12: [2, 1], 41: [2, 3], 42: [2, 8], 43: [2, 9], 44: [2, 10], 45: [2, 11], 46: [2, 12], 47: [2, 13], 48: [2, 14], 49: [2, 15], 50: [2, 16], 134: [2, 83], 135: [2, 84], 137: [2, 35], 138: [2, 36], 139: [2, 37], 141: [2, 38], 142: [2, 39], 143: [2, 40], 144: [2, 41], 147: [2, 87], 148: [2, 88], 150: [2, 89], 151: [2, 90] },
|
|
169
169
|
parseError: /* @__PURE__ */ f(function(i, n) {
|
|
170
170
|
if (n.recoverable)
|
|
@@ -175,7 +175,7 @@ var Ae = (function() {
|
|
|
175
175
|
}
|
|
176
176
|
}, "parseError"),
|
|
177
177
|
parse: /* @__PURE__ */ f(function(i) {
|
|
178
|
-
var n = this, c = [0], s = [],
|
|
178
|
+
var n = this, c = [0], s = [], E = [null], t = [], Ee = this.table, a = "", ye = 0, Pe = 0, He = 2, $e = 1, Ke = t.slice.call(arguments, 1), g = Object.create(this.lexer), G = { yy: {} };
|
|
179
179
|
for (var Ie in this.yy)
|
|
180
180
|
Object.prototype.hasOwnProperty.call(this.yy, Ie) && (G.yy[Ie] = this.yy[Ie]);
|
|
181
181
|
g.setInput(i, G.yy), G.yy.lexer = g, G.yy.parser = this, typeof g.yylloc > "u" && (g.yylloc = {});
|
|
@@ -184,7 +184,7 @@ var Ae = (function() {
|
|
|
184
184
|
var We = g.options && g.options.ranges;
|
|
185
185
|
typeof G.yy.parseError == "function" ? this.parseError = G.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
186
186
|
function je(I) {
|
|
187
|
-
c.length = c.length - 2 * I,
|
|
187
|
+
c.length = c.length - 2 * I, E.length = E.length - I, t.length = t.length - I;
|
|
188
188
|
}
|
|
189
189
|
f(je, "popStack");
|
|
190
190
|
function Ue() {
|
|
@@ -193,10 +193,10 @@ var Ae = (function() {
|
|
|
193
193
|
}
|
|
194
194
|
f(Ue, "lex");
|
|
195
195
|
for (var S, z, k, Te, J = {}, ge, F, Ye, _e; ; ) {
|
|
196
|
-
if (z = c[c.length - 1], this.defaultActions[z] ? k = this.defaultActions[z] : ((S === null || typeof S > "u") && (S = Ue()), k =
|
|
196
|
+
if (z = c[c.length - 1], this.defaultActions[z] ? k = this.defaultActions[z] : ((S === null || typeof S > "u") && (S = Ue()), k = Ee[z] && Ee[z][S]), typeof k > "u" || !k.length || !k[0]) {
|
|
197
197
|
var ke = "";
|
|
198
198
|
_e = [];
|
|
199
|
-
for (ge in
|
|
199
|
+
for (ge in Ee[z])
|
|
200
200
|
this.terminals_[ge] && ge > He && _e.push("'" + this.terminals_[ge] + "'");
|
|
201
201
|
g.showPosition ? ke = "Parse error on line " + (ye + 1) + `:
|
|
202
202
|
` + g.showPosition() + `
|
|
@@ -212,10 +212,10 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
212
212
|
throw new Error("Parse Error: multiple actions possible at state: " + z + ", token: " + S);
|
|
213
213
|
switch (k[0]) {
|
|
214
214
|
case 1:
|
|
215
|
-
c.push(S),
|
|
215
|
+
c.push(S), E.push(g.yytext), t.push(g.yylloc), c.push(k[1]), S = null, Pe = g.yyleng, a = g.yytext, ye = g.yylineno, be = g.yylloc;
|
|
216
216
|
break;
|
|
217
217
|
case 2:
|
|
218
|
-
if (F = this.productions_[k[1]][1], J.$ =
|
|
218
|
+
if (F = this.productions_[k[1]][1], J.$ = E[E.length - F], J._$ = {
|
|
219
219
|
first_line: t[t.length - (F || 1)].first_line,
|
|
220
220
|
last_line: t[t.length - 1].last_line,
|
|
221
221
|
first_column: t[t.length - (F || 1)].first_column,
|
|
@@ -229,11 +229,11 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
229
229
|
ye,
|
|
230
230
|
G.yy,
|
|
231
231
|
k[1],
|
|
232
|
-
|
|
232
|
+
E,
|
|
233
233
|
t
|
|
234
234
|
].concat(Ke)), typeof Te < "u")
|
|
235
235
|
return Te;
|
|
236
|
-
F && (c = c.slice(0, -1 * F * 2),
|
|
236
|
+
F && (c = c.slice(0, -1 * F * 2), E = E.slice(0, -1 * F), t = t.slice(0, -1 * F)), c.push(this.productions_[k[1]][0]), E.push(J.$), t.push(J._$), Ye = Ee[c[c.length - 2]][c[c.length - 1]], c.push(Ye);
|
|
237
237
|
break;
|
|
238
238
|
case 3:
|
|
239
239
|
return !0;
|
|
@@ -272,13 +272,13 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
272
272
|
this._input = i + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
|
|
273
273
|
var s = this.match.split(/(?:\r\n?|\n)/g);
|
|
274
274
|
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), c.length - 1 && (this.yylineno -= c.length - 1);
|
|
275
|
-
var
|
|
275
|
+
var E = this.yylloc.range;
|
|
276
276
|
return this.yylloc = {
|
|
277
277
|
first_line: this.yylloc.first_line,
|
|
278
278
|
last_line: this.yylineno + 1,
|
|
279
279
|
first_column: this.yylloc.first_column,
|
|
280
280
|
last_column: c ? (c.length === s.length ? this.yylloc.first_column : 0) + s[s.length - c.length].length - c[0].length : this.yylloc.first_column - n
|
|
281
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
281
|
+
}, this.options.ranges && (this.yylloc.range = [E[0], E[0] + this.yyleng - n]), this.yyleng = this.yytext.length, this;
|
|
282
282
|
}, "unput"),
|
|
283
283
|
// When called from action, caches matched text and appends it on next action
|
|
284
284
|
more: /* @__PURE__ */ f(function() {
|
|
@@ -319,8 +319,8 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
319
319
|
}, "showPosition"),
|
|
320
320
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
321
321
|
test_match: /* @__PURE__ */ f(function(i, n) {
|
|
322
|
-
var c, s,
|
|
323
|
-
if (this.options.backtrack_lexer && (
|
|
322
|
+
var c, s, E;
|
|
323
|
+
if (this.options.backtrack_lexer && (E = {
|
|
324
324
|
yylineno: this.yylineno,
|
|
325
325
|
yylloc: {
|
|
326
326
|
first_line: this.yylloc.first_line,
|
|
@@ -339,7 +339,7 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
339
339
|
yy: this.yy,
|
|
340
340
|
conditionStack: this.conditionStack.slice(0),
|
|
341
341
|
done: this.done
|
|
342
|
-
}, this.options.ranges && (
|
|
342
|
+
}, this.options.ranges && (E.yylloc.range = this.yylloc.range.slice(0))), s = i[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
|
|
343
343
|
first_line: this.yylloc.last_line,
|
|
344
344
|
last_line: this.yylineno + 1,
|
|
345
345
|
first_column: this.yylloc.last_column,
|
|
@@ -347,8 +347,8 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
347
347
|
}, this.yytext += i[0], this.match += i[0], this.matches = i, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(i[0].length), this.matched += i[0], c = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), c)
|
|
348
348
|
return c;
|
|
349
349
|
if (this._backtrack) {
|
|
350
|
-
for (var t in
|
|
351
|
-
this[t] =
|
|
350
|
+
for (var t in E)
|
|
351
|
+
this[t] = E[t];
|
|
352
352
|
return !1;
|
|
353
353
|
}
|
|
354
354
|
return !1;
|
|
@@ -360,10 +360,10 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
360
360
|
this._input || (this.done = !0);
|
|
361
361
|
var i, n, c, s;
|
|
362
362
|
this._more || (this.yytext = "", this.match = "");
|
|
363
|
-
for (var
|
|
364
|
-
if (c = this._input.match(this.rules[
|
|
363
|
+
for (var E = this._currentRules(), t = 0; t < E.length; t++)
|
|
364
|
+
if (c = this._input.match(this.rules[E[t]]), c && (!n || c[0].length > n[0].length)) {
|
|
365
365
|
if (n = c, s = t, this.options.backtrack_lexer) {
|
|
366
|
-
if (i = this.test_match(c,
|
|
366
|
+
if (i = this.test_match(c, E[t]), i !== !1)
|
|
367
367
|
return i;
|
|
368
368
|
if (this._backtrack) {
|
|
369
369
|
n = !1;
|
|
@@ -373,7 +373,7 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
373
373
|
} else if (!this.options.flex)
|
|
374
374
|
break;
|
|
375
375
|
}
|
|
376
|
-
return n ? (i = this.test_match(n,
|
|
376
|
+
return n ? (i = this.test_match(n, E[s]), i !== !1 ? i : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
377
377
|
` + this.showPosition(), {
|
|
378
378
|
text: "",
|
|
379
379
|
token: null,
|
|
@@ -411,7 +411,7 @@ Expecting ` + _e.join(", ") + ", got '" + (this.terminals_[S] || S) + "'" : ke =
|
|
|
411
411
|
return this.conditionStack.length;
|
|
412
412
|
}, "stateStackSize"),
|
|
413
413
|
options: { "case-insensitive": !0 },
|
|
414
|
-
performAction: /* @__PURE__ */ f(function(n, c, s,
|
|
414
|
+
performAction: /* @__PURE__ */ f(function(n, c, s, E) {
|
|
415
415
|
switch (s) {
|
|
416
416
|
case 0:
|
|
417
417
|
return "title";
|
package/dist/{requirementDiagram-UZGBJVZJ-BEcIIQ5C.cjs → requirementDiagram-UZGBJVZJ-Ct1bmEYE.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const je=require("./chunk-55IACEB6-F8U2tzR2.cjs"),We=require("./chunk-QN33PNHL-Cb-RTcJE.cjs"),r=require("./cursorPlugin-vB5SgZWZ.cjs");var Ne=(function(){var e=r.__name(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),c=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],R=[2,7],g=[1,26],b=[1,27],N=[1,28],q=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],O=[1,24],D=[1,31],w=[1,32],M=[1,30],E=[1,39],p=[1,40],d=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],de=[27,29],Ae=[1,70],Ce=[1,71],Ve=[1,72],ve=[1,73],xe=[1,74],Le=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],Ee=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],De=[1,101],we=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],j=[1,109],W=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:r.__name(function(i,a,o,s,_,t,_e){var l=t.length-1;switch(_){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:c,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:c,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:c,9:m,11:u,13:n},{1:[2,2]},{4:17,5:f,7:13,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:43,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:44,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:45,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:46,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:47,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:48,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:49,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{4:17,5:f,7:50,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:D,74:w,77:M,89:E,90:p},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(d,[2,17]),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),{30:60,33:62,75:$,89:E,90:p},{30:63,33:62,75:$,89:E,90:p},{30:64,33:62,75:$,89:E,90:p},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(qe,[2,81]),e(qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(de,[2,79]),e(de,[2,80]),{27:[1,67],29:[1,68]},e(de,[2,85]),e(de,[2,86]),{62:69,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{62:77,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{30:78,33:62,75:$,89:E,90:p},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,60]),e(Ee,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:$,76:U,89:E,90:p},{5:[1,95]},{30:96,33:62,75:$,89:E,90:p},{5:[1,97]},{30:98,33:62,75:$,89:E,90:p},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(d,[2,59],{76:U}),e(d,[2,64],{76:De}),{33:103,75:[1,102],89:E,90:p},e(we,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(d,[2,57],{76:De}),e(d,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:j,40:W},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:E,90:p},{33:120,89:E,90:p},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,61]),e(Ee,[2,63]),e(T,[2,68]),e(d,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:j,40:W},e(d,[2,28]),{5:[1,127]},e(d,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(d,[2,47]),{5:[1,131]},e(d,[2,48]),e(d,[2,49]),e(we,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:E,90:p},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(d,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:j,40:W},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(d,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(d,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(d,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:j,40:W},{5:B,28:160,31:Q,34:H,36:K,38:j,40:W},{5:B,28:161,31:Q,34:H,36:K,38:j,40:W},{5:B,28:162,31:Q,34:H,36:K,38:j,40:W},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(d,[2,23]),e(d,[2,24]),e(d,[2,25]),e(d,[2,26]),e(d,[2,44]),e(d,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:r.__name(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),parse:r.__name(function(i){var a=this,o=[0],s=[],_=[null],t=[],_e=this.table,l="",Re=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(G.yy[Ie]=this.yy[Ie]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var be=y.yylloc;t.push(be);var He=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(I){o.length=o.length-2*I,_.length=_.length-I,t.length=t.length-I}r.__name(Ke,"popStack");function Pe(){var I;return I=s.pop()||y.lex()||Fe,typeof I!="number"&&(I instanceof Array&&(s=I,I=s.pop()),I=a.symbols_[I]||I),I}r.__name(Pe,"lex");for(var S,z,k,Te,J={},ye,F,$e,ge;;){if(z=o[o.length-1],this.defaultActions[z]?k=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Pe()),k=_e[z]&&_e[z][S]),typeof k>"u"||!k.length||!k[0]){var ke="";ge=[];for(ye in _e[z])this.terminals_[ye]&&ye>Be&&ge.push("'"+this.terminals_[ye]+"'");y.showPosition?ke="Parse error on line "+(Re+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const je=require("./chunk-55IACEB6-BssN5TPL.cjs"),We=require("./chunk-QN33PNHL-BVzK2uit.cjs"),r=require("./viewer-3haLPWOp.cjs");var Ne=(function(){var e=r.__name(function(P,i,a,o){for(a=a||{},o=P.length;o--;a[P[o]]=i);return a},"o"),c=[1,3],m=[1,4],u=[1,5],n=[1,6],h=[5,6,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],f=[1,22],R=[2,7],g=[1,26],b=[1,27],N=[1,28],q=[1,29],A=[1,33],C=[1,34],V=[1,35],v=[1,36],x=[1,37],L=[1,38],O=[1,24],w=[1,31],D=[1,32],M=[1,30],E=[1,39],p=[1,40],d=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,77,89,90],$=[1,61],X=[89,90],qe=[5,8,9,11,13,21,22,23,24,27,29,41,42,43,44,45,46,54,61,63,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],de=[27,29],Ae=[1,70],Ce=[1,71],Ve=[1,72],ve=[1,73],xe=[1,74],Le=[1,75],Oe=[1,76],ee=[1,83],U=[1,80],te=[1,84],se=[1,85],ie=[1,86],re=[1,87],ne=[1,88],ae=[1,89],le=[1,90],ce=[1,91],oe=[1,92],Ee=[5,8,9,11,13,21,22,23,24,27,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],Y=[63,64],we=[1,101],De=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,76,77,89,90],T=[5,8,9,11,13,21,22,23,24,41,42,43,44,45,46,54,72,74,75,76,77,80,81,82,83,84,85,86,87,88,89,90],B=[1,110],Q=[1,106],H=[1,107],K=[1,108],j=[1,109],W=[1,111],he=[1,116],ue=[1,117],me=[1,114],fe=[1,115],Se={trace:r.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,direction:17,styleStatement:18,classDefStatement:19,classStatement:20,direction_tb:21,direction_bt:22,direction_rl:23,direction_lr:24,requirementType:25,requirementName:26,STRUCT_START:27,requirementBody:28,STYLE_SEPARATOR:29,idList:30,ID:31,COLONSEP:32,id:33,TEXT:34,text:35,RISK:36,riskLevel:37,VERIFYMTHD:38,verifyType:39,STRUCT_STOP:40,REQUIREMENT:41,FUNCTIONAL_REQUIREMENT:42,INTERFACE_REQUIREMENT:43,PERFORMANCE_REQUIREMENT:44,PHYSICAL_REQUIREMENT:45,DESIGN_CONSTRAINT:46,LOW_RISK:47,MED_RISK:48,HIGH_RISK:49,VERIFY_ANALYSIS:50,VERIFY_DEMONSTRATION:51,VERIFY_INSPECTION:52,VERIFY_TEST:53,ELEMENT:54,elementName:55,elementBody:56,TYPE:57,type:58,DOCREF:59,ref:60,END_ARROW_L:61,relationship:62,LINE:63,END_ARROW_R:64,CONTAINS:65,COPIES:66,DERIVES:67,SATISFIES:68,VERIFIES:69,REFINES:70,TRACES:71,CLASSDEF:72,stylesOpt:73,CLASS:74,ALPHA:75,COMMA:76,STYLE:77,style:78,styleComponent:79,NUM:80,COLON:81,UNIT:82,SPACE:83,BRKT:84,PCT:85,MINUS:86,LABEL:87,SEMICOLON:88,unqString:89,qString:90,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",21:"direction_tb",22:"direction_bt",23:"direction_rl",24:"direction_lr",27:"STRUCT_START",29:"STYLE_SEPARATOR",31:"ID",32:"COLONSEP",34:"TEXT",36:"RISK",38:"VERIFYMTHD",40:"STRUCT_STOP",41:"REQUIREMENT",42:"FUNCTIONAL_REQUIREMENT",43:"INTERFACE_REQUIREMENT",44:"PERFORMANCE_REQUIREMENT",45:"PHYSICAL_REQUIREMENT",46:"DESIGN_CONSTRAINT",47:"LOW_RISK",48:"MED_RISK",49:"HIGH_RISK",50:"VERIFY_ANALYSIS",51:"VERIFY_DEMONSTRATION",52:"VERIFY_INSPECTION",53:"VERIFY_TEST",54:"ELEMENT",57:"TYPE",59:"DOCREF",61:"END_ARROW_L",63:"LINE",64:"END_ARROW_R",65:"CONTAINS",66:"COPIES",67:"DERIVES",68:"SATISFIES",69:"VERIFIES",70:"REFINES",71:"TRACES",72:"CLASSDEF",74:"CLASS",75:"ALPHA",76:"COMMA",77:"STYLE",80:"NUM",81:"COLON",82:"UNIT",83:"SPACE",84:"BRKT",85:"PCT",86:"MINUS",87:"LABEL",88:"SEMICOLON",89:"unqString",90:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[17,1],[17,1],[17,1],[17,1],[14,5],[14,7],[28,5],[28,5],[28,5],[28,5],[28,2],[28,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[37,1],[37,1],[37,1],[39,1],[39,1],[39,1],[39,1],[15,5],[15,7],[56,5],[56,5],[56,2],[56,1],[16,5],[16,5],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[62,1],[19,3],[20,3],[20,3],[30,1],[30,3],[30,1],[30,3],[18,3],[73,1],[73,3],[78,1],[78,2],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[79,1],[26,1],[26,1],[33,1],[33,1],[35,1],[35,1],[55,1],[55,1],[58,1],[58,1],[60,1],[60,1]],performAction:r.__name(function(i,a,o,s,_,t,_e){var l=t.length-1;switch(_){case 4:this.$=t[l].trim(),s.setAccTitle(this.$);break;case 5:case 6:this.$=t[l].trim(),s.setAccDescription(this.$);break;case 7:this.$=[];break;case 17:s.setDirection("TB");break;case 18:s.setDirection("BT");break;case 19:s.setDirection("RL");break;case 20:s.setDirection("LR");break;case 21:s.addRequirement(t[l-3],t[l-4]);break;case 22:s.addRequirement(t[l-5],t[l-6]),s.setClass([t[l-5]],t[l-3]);break;case 23:s.setNewReqId(t[l-2]);break;case 24:s.setNewReqText(t[l-2]);break;case 25:s.setNewReqRisk(t[l-2]);break;case 26:s.setNewReqVerifyMethod(t[l-2]);break;case 29:this.$=s.RequirementType.REQUIREMENT;break;case 30:this.$=s.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 31:this.$=s.RequirementType.INTERFACE_REQUIREMENT;break;case 32:this.$=s.RequirementType.PERFORMANCE_REQUIREMENT;break;case 33:this.$=s.RequirementType.PHYSICAL_REQUIREMENT;break;case 34:this.$=s.RequirementType.DESIGN_CONSTRAINT;break;case 35:this.$=s.RiskLevel.LOW_RISK;break;case 36:this.$=s.RiskLevel.MED_RISK;break;case 37:this.$=s.RiskLevel.HIGH_RISK;break;case 38:this.$=s.VerifyType.VERIFY_ANALYSIS;break;case 39:this.$=s.VerifyType.VERIFY_DEMONSTRATION;break;case 40:this.$=s.VerifyType.VERIFY_INSPECTION;break;case 41:this.$=s.VerifyType.VERIFY_TEST;break;case 42:s.addElement(t[l-3]);break;case 43:s.addElement(t[l-5]),s.setClass([t[l-5]],t[l-3]);break;case 44:s.setNewElementType(t[l-2]);break;case 45:s.setNewElementDocRef(t[l-2]);break;case 48:s.addRelationship(t[l-2],t[l],t[l-4]);break;case 49:s.addRelationship(t[l-2],t[l-4],t[l]);break;case 50:this.$=s.Relationships.CONTAINS;break;case 51:this.$=s.Relationships.COPIES;break;case 52:this.$=s.Relationships.DERIVES;break;case 53:this.$=s.Relationships.SATISFIES;break;case 54:this.$=s.Relationships.VERIFIES;break;case 55:this.$=s.Relationships.REFINES;break;case 56:this.$=s.Relationships.TRACES;break;case 57:this.$=t[l-2],s.defineClass(t[l-1],t[l]);break;case 58:s.setClass(t[l-1],t[l]);break;case 59:s.setClass([t[l-2]],t[l]);break;case 60:case 62:this.$=[t[l]];break;case 61:case 63:this.$=t[l-2].concat([t[l]]);break;case 64:this.$=t[l-2],s.setCssStyle(t[l-1],t[l]);break;case 65:this.$=[t[l]];break;case 66:t[l-2].push(t[l]),this.$=t[l-2];break;case 68:this.$=t[l-1]+t[l];break}},"anonymous"),table:[{3:1,4:2,6:c,9:m,11:u,13:n},{1:[3]},{3:8,4:2,5:[1,7],6:c,9:m,11:u,13:n},{5:[1,9]},{10:[1,10]},{12:[1,11]},e(h,[2,6]),{3:12,4:2,6:c,9:m,11:u,13:n},{1:[2,2]},{4:17,5:f,7:13,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},e(h,[2,4]),e(h,[2,5]),{1:[2,1]},{8:[1,41]},{4:17,5:f,7:42,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{4:17,5:f,7:43,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{4:17,5:f,7:44,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{4:17,5:f,7:45,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{4:17,5:f,7:46,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{4:17,5:f,7:47,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{4:17,5:f,7:48,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{4:17,5:f,7:49,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{4:17,5:f,7:50,8:R,9:m,11:u,13:n,14:14,15:15,16:16,17:18,18:19,19:20,20:21,21:g,22:b,23:N,24:q,25:23,33:25,41:A,42:C,43:V,44:v,45:x,46:L,54:O,72:w,74:D,77:M,89:E,90:p},{26:51,89:[1,52],90:[1,53]},{55:54,89:[1,55],90:[1,56]},{29:[1,59],61:[1,57],63:[1,58]},e(d,[2,17]),e(d,[2,18]),e(d,[2,19]),e(d,[2,20]),{30:60,33:62,75:$,89:E,90:p},{30:63,33:62,75:$,89:E,90:p},{30:64,33:62,75:$,89:E,90:p},e(X,[2,29]),e(X,[2,30]),e(X,[2,31]),e(X,[2,32]),e(X,[2,33]),e(X,[2,34]),e(qe,[2,81]),e(qe,[2,82]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{8:[2,13]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{27:[1,65],29:[1,66]},e(de,[2,79]),e(de,[2,80]),{27:[1,67],29:[1,68]},e(de,[2,85]),e(de,[2,86]),{62:69,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{62:77,65:Ae,66:Ce,67:Ve,68:ve,69:xe,70:Le,71:Oe},{30:78,33:62,75:$,89:E,90:p},{73:79,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,60]),e(Ee,[2,62]),{73:93,75:ee,76:U,78:81,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},{30:94,33:62,75:$,76:U,89:E,90:p},{5:[1,95]},{30:96,33:62,75:$,89:E,90:p},{5:[1,97]},{30:98,33:62,75:$,89:E,90:p},{63:[1,99]},e(Y,[2,50]),e(Y,[2,51]),e(Y,[2,52]),e(Y,[2,53]),e(Y,[2,54]),e(Y,[2,55]),e(Y,[2,56]),{64:[1,100]},e(d,[2,59],{76:U}),e(d,[2,64],{76:we}),{33:103,75:[1,102],89:E,90:p},e(De,[2,65],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),e(T,[2,67]),e(T,[2,69]),e(T,[2,70]),e(T,[2,71]),e(T,[2,72]),e(T,[2,73]),e(T,[2,74]),e(T,[2,75]),e(T,[2,76]),e(T,[2,77]),e(T,[2,78]),e(d,[2,57],{76:we}),e(d,[2,58],{76:U}),{5:B,28:105,31:Q,34:H,36:K,38:j,40:W},{27:[1,112],76:U},{5:he,40:ue,56:113,57:me,59:fe},{27:[1,118],76:U},{33:119,89:E,90:p},{33:120,89:E,90:p},{75:ee,78:121,79:82,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe},e(Ee,[2,61]),e(Ee,[2,63]),e(T,[2,68]),e(d,[2,21]),{32:[1,122]},{32:[1,123]},{32:[1,124]},{32:[1,125]},{5:B,28:126,31:Q,34:H,36:K,38:j,40:W},e(d,[2,28]),{5:[1,127]},e(d,[2,42]),{32:[1,128]},{32:[1,129]},{5:he,40:ue,56:130,57:me,59:fe},e(d,[2,47]),{5:[1,131]},e(d,[2,48]),e(d,[2,49]),e(De,[2,66],{79:104,75:ee,80:te,81:se,82:ie,83:re,84:ne,85:ae,86:le,87:ce,88:oe}),{33:132,89:E,90:p},{35:133,89:[1,134],90:[1,135]},{37:136,47:[1,137],48:[1,138],49:[1,139]},{39:140,50:[1,141],51:[1,142],52:[1,143],53:[1,144]},e(d,[2,27]),{5:B,28:145,31:Q,34:H,36:K,38:j,40:W},{58:146,89:[1,147],90:[1,148]},{60:149,89:[1,150],90:[1,151]},e(d,[2,46]),{5:he,40:ue,56:152,57:me,59:fe},{5:[1,153]},{5:[1,154]},{5:[2,83]},{5:[2,84]},{5:[1,155]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[1,156]},{5:[2,38]},{5:[2,39]},{5:[2,40]},{5:[2,41]},e(d,[2,22]),{5:[1,157]},{5:[2,87]},{5:[2,88]},{5:[1,158]},{5:[2,89]},{5:[2,90]},e(d,[2,43]),{5:B,28:159,31:Q,34:H,36:K,38:j,40:W},{5:B,28:160,31:Q,34:H,36:K,38:j,40:W},{5:B,28:161,31:Q,34:H,36:K,38:j,40:W},{5:B,28:162,31:Q,34:H,36:K,38:j,40:W},{5:he,40:ue,56:163,57:me,59:fe},{5:he,40:ue,56:164,57:me,59:fe},e(d,[2,23]),e(d,[2,24]),e(d,[2,25]),e(d,[2,26]),e(d,[2,44]),e(d,[2,45])],defaultActions:{8:[2,2],12:[2,1],41:[2,3],42:[2,8],43:[2,9],44:[2,10],45:[2,11],46:[2,12],47:[2,13],48:[2,14],49:[2,15],50:[2,16],134:[2,83],135:[2,84],137:[2,35],138:[2,36],139:[2,37],141:[2,38],142:[2,39],143:[2,40],144:[2,41],147:[2,87],148:[2,88],150:[2,89],151:[2,90]},parseError:r.__name(function(i,a){if(a.recoverable)this.trace(i);else{var o=new Error(i);throw o.hash=a,o}},"parseError"),parse:r.__name(function(i){var a=this,o=[0],s=[],_=[null],t=[],_e=this.table,l="",Re=0,Me=0,Be=2,Fe=1,Qe=t.slice.call(arguments,1),y=Object.create(this.lexer),G={yy:{}};for(var Ie in this.yy)Object.prototype.hasOwnProperty.call(this.yy,Ie)&&(G.yy[Ie]=this.yy[Ie]);y.setInput(i,G.yy),G.yy.lexer=y,G.yy.parser=this,typeof y.yylloc>"u"&&(y.yylloc={});var be=y.yylloc;t.push(be);var He=y.options&&y.options.ranges;typeof G.yy.parseError=="function"?this.parseError=G.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ke(I){o.length=o.length-2*I,_.length=_.length-I,t.length=t.length-I}r.__name(Ke,"popStack");function Pe(){var I;return I=s.pop()||y.lex()||Fe,typeof I!="number"&&(I instanceof Array&&(s=I,I=s.pop()),I=a.symbols_[I]||I),I}r.__name(Pe,"lex");for(var S,z,k,Te,J={},ye,F,$e,ge;;){if(z=o[o.length-1],this.defaultActions[z]?k=this.defaultActions[z]:((S===null||typeof S>"u")&&(S=Pe()),k=_e[z]&&_e[z][S]),typeof k>"u"||!k.length||!k[0]){var ke="";ge=[];for(ye in _e[z])this.terminals_[ye]&&ye>Be&&ge.push("'"+this.terminals_[ye]+"'");y.showPosition?ke="Parse error on line "+(Re+1)+`:
|
|
2
2
|
`+y.showPosition()+`
|
|
3
3
|
Expecting `+ge.join(", ")+", got '"+(this.terminals_[S]||S)+"'":ke="Parse error on line "+(Re+1)+": Unexpected "+(S==Fe?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError(ke,{text:y.match,token:this.terminals_[S]||S,line:y.yylineno,loc:be,expected:ge})}if(k[0]instanceof Array&&k.length>1)throw new Error("Parse Error: multiple actions possible at state: "+z+", token: "+S);switch(k[0]){case 1:o.push(S),_.push(y.yytext),t.push(y.yylloc),o.push(k[1]),S=null,Me=y.yyleng,l=y.yytext,Re=y.yylineno,be=y.yylloc;break;case 2:if(F=this.productions_[k[1]][1],J.$=_[_.length-F],J._$={first_line:t[t.length-(F||1)].first_line,last_line:t[t.length-1].last_line,first_column:t[t.length-(F||1)].first_column,last_column:t[t.length-1].last_column},He&&(J._$.range=[t[t.length-(F||1)].range[0],t[t.length-1].range[1]]),Te=this.performAction.apply(J,[l,Me,Re,G.yy,k[1],_,t].concat(Qe)),typeof Te<"u")return Te;F&&(o=o.slice(0,-1*F*2),_=_.slice(0,-1*F),t=t.slice(0,-1*F)),o.push(this.productions_[k[1]][0]),_.push(J.$),t.push(J._$),$e=_e[o[o.length-2]][o[o.length-1]],o.push($e);break;case 3:return!0}}return!0},"parse")},Ye=(function(){var P={EOF:1,parseError:r.__name(function(a,o){if(this.yy.parser)this.yy.parser.parseError(a,o);else throw new Error(a)},"parseError"),setInput:r.__name(function(i,a){return this.yy=a||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:r.__name(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:r.__name(function(i){var a=i.length,o=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a),this.offset-=a;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),o.length-1&&(this.yylineno-=o.length-1);var _=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:o?(o.length===s.length?this.yylloc.first_column:0)+s[s.length-o.length].length-o[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[_[0],_[0]+this.yyleng-a]),this.yyleng=this.yytext.length,this},"unput"),more:r.__name(function(){return this._more=!0,this},"more"),reject:r.__name(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:r.__name(function(i){this.unput(this.match.slice(i))},"less"),pastInput:r.__name(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:r.__name(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:r.__name(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as g,
|
|
1
|
+
import { _ as g, p as _t, q as xt, s as vt, g as bt, b as wt, a as St, c as lt, z as Lt, d as H, V as Et, y as At, k as Tt } from "./viewer-BVjz3IFH.js";
|
|
2
2
|
import { o as Mt } from "./ordinal-DfAQgscy.js";
|
|
3
3
|
function Nt(t) {
|
|
4
4
|
for (var e = t.length / 6 | 0, i = new Array(e), a = 0; a < e; ) i[a] = "#" + t.slice(a * 6, ++a * 6);
|
|
@@ -53,10 +53,10 @@ function Ot(t, e) {
|
|
|
53
53
|
function mt(t, e) {
|
|
54
54
|
return t.sourceLinks.length ? t.depth : e - 1;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function zt(t) {
|
|
57
57
|
return t.targetLinks.length ? t.depth : t.sourceLinks.length ? pt(t.sourceLinks, Pt) - 1 : 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function X(t) {
|
|
60
60
|
return function() {
|
|
61
61
|
return t;
|
|
62
62
|
};
|
|
@@ -73,10 +73,10 @@ function Q(t, e) {
|
|
|
73
73
|
function it(t) {
|
|
74
74
|
return t.value;
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Dt(t) {
|
|
77
77
|
return t.index;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function $t(t) {
|
|
80
80
|
return t.nodes;
|
|
81
81
|
}
|
|
82
82
|
function jt(t) {
|
|
@@ -97,7 +97,7 @@ function yt({ nodes: t }) {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
function Bt() {
|
|
100
|
-
let t = 0, e = 0, i = 1, a = 1, h = 24, b = 8, p, k =
|
|
100
|
+
let t = 0, e = 0, i = 1, a = 1, h = 24, b = 8, p, k = Dt, s = mt, o, l, _ = $t, x = jt, y = 6;
|
|
101
101
|
function v() {
|
|
102
102
|
const n = { nodes: _.apply(null, arguments), links: x.apply(null, arguments) };
|
|
103
103
|
return M(n), T(n), N(n), C(n), S(n), yt(n), n;
|
|
@@ -105,9 +105,9 @@ function Bt() {
|
|
|
105
105
|
v.update = function(n) {
|
|
106
106
|
return yt(n), n;
|
|
107
107
|
}, v.nodeId = function(n) {
|
|
108
|
-
return arguments.length ? (k = typeof n == "function" ? n :
|
|
108
|
+
return arguments.length ? (k = typeof n == "function" ? n : X(n), v) : k;
|
|
109
109
|
}, v.nodeAlign = function(n) {
|
|
110
|
-
return arguments.length ? (s = typeof n == "function" ? n :
|
|
110
|
+
return arguments.length ? (s = typeof n == "function" ? n : X(n), v) : s;
|
|
111
111
|
}, v.nodeSort = function(n) {
|
|
112
112
|
return arguments.length ? (o = n, v) : o;
|
|
113
113
|
}, v.nodeWidth = function(n) {
|
|
@@ -115,9 +115,9 @@ function Bt() {
|
|
|
115
115
|
}, v.nodePadding = function(n) {
|
|
116
116
|
return arguments.length ? (b = p = +n, v) : b;
|
|
117
117
|
}, v.nodes = function(n) {
|
|
118
|
-
return arguments.length ? (_ = typeof n == "function" ? n :
|
|
118
|
+
return arguments.length ? (_ = typeof n == "function" ? n : X(n), v) : _;
|
|
119
119
|
}, v.links = function(n) {
|
|
120
|
-
return arguments.length ? (x = typeof n == "function" ? n :
|
|
120
|
+
return arguments.length ? (x = typeof n == "function" ? n : X(n), v) : x;
|
|
121
121
|
}, v.linkSort = function(n) {
|
|
122
122
|
return arguments.length ? (l = n, v) : l;
|
|
123
123
|
}, v.size = function(n) {
|
|
@@ -170,7 +170,7 @@ function Bt() {
|
|
|
170
170
|
u = c, c = /* @__PURE__ */ new Set();
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function D({ nodes: n }) {
|
|
174
174
|
const f = ct(n, (r) => r.depth) + 1, u = (i - t - h) / (f - 1), c = new Array(f);
|
|
175
175
|
for (const r of n) {
|
|
176
176
|
const m = Math.max(0, Math.min(f - 1, Math.floor(s.call(null, r, f))));
|
|
@@ -198,7 +198,7 @@ function Bt() {
|
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
function S(n) {
|
|
201
|
-
const f =
|
|
201
|
+
const f = D(n);
|
|
202
202
|
p = Math.min(b, (a - e) / (ct(f, (u) => u.length) - 1)), R(f);
|
|
203
203
|
for (let u = 0; u < y; ++u) {
|
|
204
204
|
const c = Math.pow(0.99, u), r = Math.max(1 - c, (u + 1) / y);
|
|
@@ -209,13 +209,13 @@ function Bt() {
|
|
|
209
209
|
for (let c = 1, r = n.length; c < r; ++c) {
|
|
210
210
|
const m = n[c];
|
|
211
211
|
for (const w of m) {
|
|
212
|
-
let L = 0,
|
|
212
|
+
let L = 0, V = 0;
|
|
213
213
|
for (const { source: Y, value: et } of w.targetLinks) {
|
|
214
|
-
let
|
|
215
|
-
L +=
|
|
214
|
+
let q = et * (w.layer - Y.layer);
|
|
215
|
+
L += $(Y, w) * q, V += q;
|
|
216
216
|
}
|
|
217
|
-
if (!(
|
|
218
|
-
let G = (L /
|
|
217
|
+
if (!(V > 0)) continue;
|
|
218
|
+
let G = (L / V - w.y0) * f;
|
|
219
219
|
w.y0 += G, w.y1 += G, E(w);
|
|
220
220
|
}
|
|
221
221
|
o === void 0 && m.sort(Q), O(m, u);
|
|
@@ -225,13 +225,13 @@ function Bt() {
|
|
|
225
225
|
for (let c = n.length, r = c - 2; r >= 0; --r) {
|
|
226
226
|
const m = n[r];
|
|
227
227
|
for (const w of m) {
|
|
228
|
-
let L = 0,
|
|
228
|
+
let L = 0, V = 0;
|
|
229
229
|
for (const { target: Y, value: et } of w.sourceLinks) {
|
|
230
|
-
let
|
|
231
|
-
L += I(w, Y) *
|
|
230
|
+
let q = et * (Y.layer - w.layer);
|
|
231
|
+
L += I(w, Y) * q, V += q;
|
|
232
232
|
}
|
|
233
|
-
if (!(
|
|
234
|
-
let G = (L /
|
|
233
|
+
if (!(V > 0)) continue;
|
|
234
|
+
let G = (L / V - w.y0) * f;
|
|
235
235
|
w.y0 += G, w.y1 += G, E(w);
|
|
236
236
|
}
|
|
237
237
|
o === void 0 && m.sort(Q), O(m, u);
|
|
@@ -239,9 +239,9 @@ function Bt() {
|
|
|
239
239
|
}
|
|
240
240
|
function O(n, f) {
|
|
241
241
|
const u = n.length >> 1, c = n[u];
|
|
242
|
-
d(n, c.y0 - p, u - 1, f),
|
|
242
|
+
d(n, c.y0 - p, u - 1, f), z(n, c.y1 + p, u + 1, f), d(n, a, n.length - 1, f), z(n, e, 0, f);
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function z(n, f, u, c) {
|
|
245
245
|
for (; u < n.length; ++u) {
|
|
246
246
|
const r = n[u], m = (f - r.y0) * c;
|
|
247
247
|
m > 1e-6 && (r.y0 += m, r.y1 += m), f = r.y1 + p;
|
|
@@ -266,7 +266,7 @@ function Bt() {
|
|
|
266
266
|
for (const { sourceLinks: f, targetLinks: u } of n)
|
|
267
267
|
f.sort(ht), u.sort(ut);
|
|
268
268
|
}
|
|
269
|
-
function
|
|
269
|
+
function $(n, f) {
|
|
270
270
|
let u = n.y0 - (n.sourceLinks.length - 1) * p / 2;
|
|
271
271
|
for (const { target: c, width: r } of n.sourceLinks) {
|
|
272
272
|
if (c === f) break;
|
|
@@ -292,7 +292,7 @@ function Bt() {
|
|
|
292
292
|
}
|
|
293
293
|
return v;
|
|
294
294
|
}
|
|
295
|
-
var st = Math.PI, rt = 2 * st,
|
|
295
|
+
var st = Math.PI, rt = 2 * st, F = 1e-6, Rt = rt - F;
|
|
296
296
|
function ot() {
|
|
297
297
|
this._x0 = this._y0 = // start of current subpath
|
|
298
298
|
this._x1 = this._y1 = null, this._ = "";
|
|
@@ -323,18 +323,18 @@ ot.prototype = kt.prototype = {
|
|
|
323
323
|
if (h < 0) throw new Error("negative radius: " + h);
|
|
324
324
|
if (this._x1 === null)
|
|
325
325
|
this._ += "M" + (this._x1 = t) + "," + (this._y1 = e);
|
|
326
|
-
else if (_ >
|
|
326
|
+
else if (_ > F) if (!(Math.abs(l * k - s * o) > F) || !h)
|
|
327
327
|
this._ += "L" + (this._x1 = t) + "," + (this._y1 = e);
|
|
328
328
|
else {
|
|
329
|
-
var x = i - b, y = a - p, v = k * k + s * s, M = x * x + y * y, T = Math.sqrt(v), N = Math.sqrt(_), C = h * Math.tan((st - Math.acos((v + _ - M) / (2 * T * N))) / 2),
|
|
330
|
-
Math.abs(
|
|
329
|
+
var x = i - b, y = a - p, v = k * k + s * s, M = x * x + y * y, T = Math.sqrt(v), N = Math.sqrt(_), C = h * Math.tan((st - Math.acos((v + _ - M) / (2 * T * N))) / 2), D = C / N, R = C / T;
|
|
330
|
+
Math.abs(D - 1) > F && (this._ += "L" + (t + D * o) + "," + (e + D * l)), this._ += "A" + h + "," + h + ",0,0," + +(l * x > o * y) + "," + (this._x1 = t + R * k) + "," + (this._y1 = e + R * s);
|
|
331
331
|
}
|
|
332
332
|
},
|
|
333
333
|
arc: function(t, e, i, a, h, b) {
|
|
334
334
|
t = +t, e = +e, i = +i, b = !!b;
|
|
335
335
|
var p = i * Math.cos(a), k = i * Math.sin(a), s = t + p, o = e + k, l = 1 ^ b, _ = b ? a - h : h - a;
|
|
336
336
|
if (i < 0) throw new Error("negative radius: " + i);
|
|
337
|
-
this._x1 === null ? this._ += "M" + s + "," + o : (Math.abs(this._x1 - s) >
|
|
337
|
+
this._x1 === null ? this._ += "M" + s + "," + o : (Math.abs(this._x1 - s) > F || Math.abs(this._y1 - o) > F) && (this._ += "L" + s + "," + o), i && (_ < 0 && (_ = _ % rt + rt), _ > Rt ? this._ += "A" + i + "," + i + ",0,1," + l + "," + (t - p) + "," + (e - k) + "A" + i + "," + i + ",0,1," + l + "," + (this._x1 = s) + "," + (this._y1 = o) : _ > F && (this._ += "A" + i + "," + i + ",0," + +(_ >= st) + "," + l + "," + (this._x1 = t + i * Math.cos(h)) + "," + (this._y1 = e + i * Math.sin(h))));
|
|
338
338
|
},
|
|
339
339
|
rect: function(t, e, i, a) {
|
|
340
340
|
this._ += "M" + (this._x0 = this._x1 = +t) + "," + (this._y0 = this._y1 = +e) + "h" + +i + "v" + +a + "h" + -i + "Z";
|
|
@@ -348,10 +348,10 @@ function dt(t) {
|
|
|
348
348
|
return t;
|
|
349
349
|
};
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function Vt(t) {
|
|
352
352
|
return t[0];
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function Ft(t) {
|
|
355
355
|
return t[1];
|
|
356
356
|
}
|
|
357
357
|
var Wt = Array.prototype.slice;
|
|
@@ -362,7 +362,7 @@ function Gt(t) {
|
|
|
362
362
|
return t.target;
|
|
363
363
|
}
|
|
364
364
|
function Yt(t) {
|
|
365
|
-
var e = Ut, i = Gt, a =
|
|
365
|
+
var e = Ut, i = Gt, a = Vt, h = Ft, b = null;
|
|
366
366
|
function p() {
|
|
367
367
|
var k, s = Wt.call(arguments), o = e.apply(this, s), l = i.apply(this, s);
|
|
368
368
|
if (b || (b = k = kt()), t(b, +a.apply(this, (s[0] = o, s)), +h.apply(this, s), +a.apply(this, (s[0] = l, s)), +h.apply(this, s)), k) return b = null, k + "" || null;
|
|
@@ -379,20 +379,20 @@ function Yt(t) {
|
|
|
379
379
|
return arguments.length ? (b = k ?? null, p) : b;
|
|
380
380
|
}, p;
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function qt(t, e, i, a, h) {
|
|
383
383
|
t.moveTo(e, i), t.bezierCurveTo(e = (e + a) / 2, i, e, h, a, h);
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
return Yt(
|
|
385
|
+
function Ht() {
|
|
386
|
+
return Yt(qt);
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function Xt(t) {
|
|
389
389
|
return [t.source.x1, t.y0];
|
|
390
390
|
}
|
|
391
391
|
function Qt(t) {
|
|
392
392
|
return [t.target.x0, t.y1];
|
|
393
393
|
}
|
|
394
394
|
function Kt() {
|
|
395
|
-
return
|
|
395
|
+
return Ht().source(Xt).target(Qt);
|
|
396
396
|
}
|
|
397
397
|
var at = (function() {
|
|
398
398
|
var t = /* @__PURE__ */ g(function(k, s, o, l) {
|
|
@@ -433,13 +433,13 @@ var at = (function() {
|
|
|
433
433
|
}
|
|
434
434
|
}, "parseError"),
|
|
435
435
|
parse: /* @__PURE__ */ g(function(s) {
|
|
436
|
-
var o = this, l = [0], _ = [], x = [null], y = [], v = this.table, M = "", T = 0, N = 0, C = 2,
|
|
436
|
+
var o = this, l = [0], _ = [], x = [null], y = [], v = this.table, M = "", T = 0, N = 0, C = 2, D = 1, R = y.slice.call(arguments, 1), S = Object.create(this.lexer), P = { yy: {} };
|
|
437
437
|
for (var B in this.yy)
|
|
438
438
|
Object.prototype.hasOwnProperty.call(this.yy, B) && (P.yy[B] = this.yy[B]);
|
|
439
439
|
S.setInput(s, P.yy), P.yy.lexer = S, P.yy.parser = this, typeof S.yylloc > "u" && (S.yylloc = {});
|
|
440
440
|
var O = S.yylloc;
|
|
441
441
|
y.push(O);
|
|
442
|
-
var
|
|
442
|
+
var z = S.options && S.options.ranges;
|
|
443
443
|
typeof P.yy.parseError == "function" ? this.parseError = P.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
444
444
|
function d(L) {
|
|
445
445
|
l.length = l.length - 2 * L, x.length = x.length - L, y.length = y.length - L;
|
|
@@ -447,18 +447,18 @@ var at = (function() {
|
|
|
447
447
|
g(d, "popStack");
|
|
448
448
|
function E() {
|
|
449
449
|
var L;
|
|
450
|
-
return L = _.pop() || S.lex() ||
|
|
450
|
+
return L = _.pop() || S.lex() || D, typeof L != "number" && (L instanceof Array && (_ = L, L = _.pop()), L = o.symbols_[L] || L), L;
|
|
451
451
|
}
|
|
452
452
|
g(E, "lex");
|
|
453
|
-
for (var A,
|
|
454
|
-
if (
|
|
453
|
+
for (var A, $, I, n, f = {}, u, c, r, m; ; ) {
|
|
454
|
+
if ($ = l[l.length - 1], this.defaultActions[$] ? I = this.defaultActions[$] : ((A === null || typeof A > "u") && (A = E()), I = v[$] && v[$][A]), typeof I > "u" || !I.length || !I[0]) {
|
|
455
455
|
var w = "";
|
|
456
456
|
m = [];
|
|
457
|
-
for (u in v[
|
|
457
|
+
for (u in v[$])
|
|
458
458
|
this.terminals_[u] && u > C && m.push("'" + this.terminals_[u] + "'");
|
|
459
459
|
S.showPosition ? w = "Parse error on line " + (T + 1) + `:
|
|
460
460
|
` + S.showPosition() + `
|
|
461
|
-
Expecting ` + m.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : w = "Parse error on line " + (T + 1) + ": Unexpected " + (A ==
|
|
461
|
+
Expecting ` + m.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : w = "Parse error on line " + (T + 1) + ": Unexpected " + (A == D ? "end of input" : "'" + (this.terminals_[A] || A) + "'"), this.parseError(w, {
|
|
462
462
|
text: S.match,
|
|
463
463
|
token: this.terminals_[A] || A,
|
|
464
464
|
line: S.yylineno,
|
|
@@ -467,7 +467,7 @@ Expecting ` + m.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : w = "
|
|
|
467
467
|
});
|
|
468
468
|
}
|
|
469
469
|
if (I[0] instanceof Array && I.length > 1)
|
|
470
|
-
throw new Error("Parse Error: multiple actions possible at state: " +
|
|
470
|
+
throw new Error("Parse Error: multiple actions possible at state: " + $ + ", token: " + A);
|
|
471
471
|
switch (I[0]) {
|
|
472
472
|
case 1:
|
|
473
473
|
l.push(A), x.push(S.yytext), y.push(S.yylloc), l.push(I[1]), A = null, N = S.yyleng, M = S.yytext, T = S.yylineno, O = S.yylloc;
|
|
@@ -478,7 +478,7 @@ Expecting ` + m.join(", ") + ", got '" + (this.terminals_[A] || A) + "'" : w = "
|
|
|
478
478
|
last_line: y[y.length - 1].last_line,
|
|
479
479
|
first_column: y[y.length - (c || 1)].first_column,
|
|
480
480
|
last_column: y[y.length - 1].last_column
|
|
481
|
-
},
|
|
481
|
+
}, z && (f._$.range = [
|
|
482
482
|
y[y.length - (c || 1)].range[0],
|
|
483
483
|
y[y.length - 1].range[1]
|
|
484
484
|
]), n = this.performAction.apply(f, [
|
|
@@ -754,13 +754,13 @@ var K = at, J = [], tt = [], Z = /* @__PURE__ */ new Map(), Zt = /* @__PURE__ */
|
|
|
754
754
|
}, g(j, "Uid"), j.count = 0, j), ae = {
|
|
755
755
|
left: Ct,
|
|
756
756
|
right: Ot,
|
|
757
|
-
center:
|
|
757
|
+
center: zt,
|
|
758
758
|
justify: mt
|
|
759
759
|
}, le = /* @__PURE__ */ g(function(t, e, i, a) {
|
|
760
760
|
const { securityLevel: h, sankey: b } = lt(), p = Lt.sankey;
|
|
761
761
|
let k;
|
|
762
|
-
h === "sandbox" && (k =
|
|
763
|
-
const s = h === "sandbox" ?
|
|
762
|
+
h === "sandbox" && (k = H("#i" + e));
|
|
763
|
+
const s = h === "sandbox" ? H(k.nodes()[0].contentDocument.body) : H("body"), o = h === "sandbox" ? s.select(`[id="${e}"]`) : H(`[id="${e}"]`), l = b?.width ?? p.width, _ = b?.height ?? p.width, x = b?.useMaxWidth ?? p.useMaxWidth, y = b?.nodeAlignment ?? p.nodeAlignment, v = b?.prefix ?? p.prefix, M = b?.suffix ?? p.suffix, T = b?.showValues ?? p.showValues, N = a.db.getGraph(), C = ae[y];
|
|
764
764
|
Bt().nodeId((d) => d.id).nodeWidth(10).nodePadding(10 + (T ? 15 : 0)).nodeAlign(C).extent([
|
|
765
765
|
[0, 0],
|
|
766
766
|
[l, _]
|
|
@@ -777,21 +777,21 @@ ${v}${Math.round(E * 100) / 100}${M}` : d, "getText");
|
|
|
777
777
|
const d = B.append("linearGradient").attr("id", (E) => (E.uid = gt.next("linearGradient-")).id).attr("gradientUnits", "userSpaceOnUse").attr("x1", (E) => E.source.x1).attr("x2", (E) => E.target.x0);
|
|
778
778
|
d.append("stop").attr("offset", "0%").attr("stop-color", (E) => S(E.source.id)), d.append("stop").attr("offset", "100%").attr("stop-color", (E) => S(E.target.id));
|
|
779
779
|
}
|
|
780
|
-
let
|
|
780
|
+
let z;
|
|
781
781
|
switch (O) {
|
|
782
782
|
case "gradient":
|
|
783
|
-
|
|
783
|
+
z = /* @__PURE__ */ g((d) => d.uid, "coloring");
|
|
784
784
|
break;
|
|
785
785
|
case "source":
|
|
786
|
-
|
|
786
|
+
z = /* @__PURE__ */ g((d) => S(d.source.id), "coloring");
|
|
787
787
|
break;
|
|
788
788
|
case "target":
|
|
789
|
-
|
|
789
|
+
z = /* @__PURE__ */ g((d) => S(d.target.id), "coloring");
|
|
790
790
|
break;
|
|
791
791
|
default:
|
|
792
|
-
|
|
792
|
+
z = O;
|
|
793
793
|
}
|
|
794
|
-
B.append("path").attr("d", Kt()).attr("stroke",
|
|
794
|
+
B.append("path").attr("d", Kt()).attr("stroke", z).attr("stroke-width", (d) => Math.max(1, d.width)), Et(void 0, o, 0, x);
|
|
795
795
|
}, "draw"), ce = {
|
|
796
796
|
draw: le
|
|
797
797
|
}, ue = /* @__PURE__ */ g((t) => t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g, "").replaceAll(/([\n\r])+/g, `
|