markdown-flow-ui 0.1.103-alpha.1 → 0.1.103-alpha.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/_virtual/index.cjs10.js +1 -1
- package/dist/_virtual/index.cjs7.js +1 -1
- package/dist/_virtual/index.cjs8.js +1 -1
- package/dist/_virtual/index.es10.js +2 -2
- package/dist/_virtual/index.es7.js +2 -3
- package/dist/_virtual/index.es7.js.map +1 -1
- package/dist/_virtual/index.es8.js +3 -2
- package/dist/_virtual/index.es8.js.map +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.cjs.js +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.cjs.js.map +1 -1
- package/dist/node_modules/@braintree/sanitize-url/dist/index.es.js +1 -1
- package/dist/node_modules/classnames/index.cjs.js +1 -1
- package/dist/node_modules/classnames/index.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AAMF2YG6.cjs.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-AAMF2YG6.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OMD6QJNC.cjs.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-OMD6QJNC.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.cjs.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/chunk-U37J5Y7L.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-WV7ZQ7D5.cjs.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-WV7ZQ7D5.es.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-4MX5Z3NR.cjs.js +1 -1
- package/dist/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-4MX5Z3NR.es.js +1 -1
- package/dist/node_modules/style-to-object/cjs/index.cjs.js +1 -1
- package/dist/node_modules/style-to-object/cjs/index.es.js +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs10.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={exports:{}};exports.__module=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs7.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../node_modules/@braintree/sanitize-url/dist/index.cjs.js");var r=e.__require();exports.distExports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es7.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es7.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es8.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es8.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("../../../../_virtual/index.cjs10.js"),v=require("./constants.cjs.js");var d;function x(){if(d)return c.__exports;d=1,Object.defineProperty(c.__exports,"__esModule",{value:!0}),c.__exports.sanitizeUrl=void 0;var e=v.__require();function m(r){return e.relativeFirstCharacters.indexOf(r[0])>-1}function p(r){var i=r.replace(e.ctrlCharactersRegex,"");return i.replace(e.htmlEntitiesRegex,function(t,a){return String.fromCharCode(a)})}function R(r){return URL.canParse(r)}function l(r){try{return decodeURIComponent(r)}catch{return r}}function f(r){if(!r)return e.BLANK_URL;var i,t=l(r.trim());do t=p(t).replace(e.htmlCtrlEntityRegex,"").replace(e.ctrlCharactersRegex,"").replace(e.whitespaceEscapeCharsRegex,"").trim(),t=l(t),i=t.match(e.ctrlCharactersRegex)||t.match(e.htmlEntitiesRegex)||t.match(e.htmlCtrlEntityRegex)||t.match(e.whitespaceEscapeCharsRegex);while(i&&i.length>0);var a=t;if(!a)return e.BLANK_URL;if(m(a))return a;var u=a.trimStart(),h=u.match(e.urlSchemeRegex);if(!h)return a;var n=h[0].toLowerCase().trim();if(e.invalidProtocolRegex.test(n))return e.BLANK_URL;var s=u.replace(/\\/g,"/");if(n==="mailto:"||n.includes("://"))return s;if(n==="http:"||n==="https:"){if(!R(s))return e.BLANK_URL;var o=new URL(s);return o.protocol=o.protocol.toLowerCase(),o.hostname=o.hostname.toLowerCase(),o.toString()}return s}return c.__exports.sanitizeUrl=f,c.__exports}exports.__require=x;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs.js","sources":["../../../../../node_modules/@braintree/sanitize-url/dist/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sanitizeUrl = void 0;\nvar constants_1 = require(\"./constants\");\nfunction isRelativeUrlWithoutProtocol(url) {\n return constants_1.relativeFirstCharacters.indexOf(url[0]) > -1;\n}\nfunction decodeHtmlCharacters(str) {\n var removedNullByte = str.replace(constants_1.ctrlCharactersRegex, \"\");\n return removedNullByte.replace(constants_1.htmlEntitiesRegex, function (match, dec) {\n return String.fromCharCode(dec);\n });\n}\nfunction isValidUrl(url) {\n return URL.canParse(url);\n}\nfunction decodeURI(uri) {\n try {\n return decodeURIComponent(uri);\n }\n catch (e) {\n // Ignoring error\n // It is possible that the URI contains a `%` not associated\n // with URI/URL-encoding.\n return uri;\n }\n}\nfunction sanitizeUrl(url) {\n if (!url) {\n return constants_1.BLANK_URL;\n }\n var charsToDecode;\n var decodedUrl = decodeURI(url.trim());\n do {\n decodedUrl = decodeHtmlCharacters(decodedUrl)\n .replace(constants_1.htmlCtrlEntityRegex, \"\")\n .replace(constants_1.ctrlCharactersRegex, \"\")\n .replace(constants_1.whitespaceEscapeCharsRegex, \"\")\n .trim();\n decodedUrl = decodeURI(decodedUrl);\n charsToDecode =\n decodedUrl.match(constants_1.ctrlCharactersRegex) ||\n decodedUrl.match(constants_1.htmlEntitiesRegex) ||\n decodedUrl.match(constants_1.htmlCtrlEntityRegex) ||\n decodedUrl.match(constants_1.whitespaceEscapeCharsRegex);\n } while (charsToDecode && charsToDecode.length > 0);\n var sanitizedUrl = decodedUrl;\n if (!sanitizedUrl) {\n return constants_1.BLANK_URL;\n }\n if (isRelativeUrlWithoutProtocol(sanitizedUrl)) {\n return sanitizedUrl;\n }\n // Remove any leading whitespace before checking the URL scheme\n var trimmedUrl = sanitizedUrl.trimStart();\n var urlSchemeParseResults = trimmedUrl.match(constants_1.urlSchemeRegex);\n if (!urlSchemeParseResults) {\n return sanitizedUrl;\n }\n var urlScheme = urlSchemeParseResults[0].toLowerCase().trim();\n if (constants_1.invalidProtocolRegex.test(urlScheme)) {\n return constants_1.BLANK_URL;\n }\n var backSanitized = trimmedUrl.replace(/\\\\/g, \"/\");\n // Handle special cases for mailto: and custom deep-link protocols\n if (urlScheme === \"mailto:\" || urlScheme.includes(\"://\")) {\n return backSanitized;\n }\n // For http and https URLs, perform additional validation\n if (urlScheme === \"http:\" || urlScheme === \"https:\") {\n if (!isValidUrl(backSanitized)) {\n return constants_1.BLANK_URL;\n }\n var url_1 = new URL(backSanitized);\n url_1.protocol = url_1.protocol.toLowerCase();\n url_1.hostname = url_1.hostname.toLowerCase();\n return url_1.toString();\n }\n return backSanitized;\n}\nexports.sanitizeUrl = sanitizeUrl;\n"],"names":["dist","constants_1","require$$0","isRelativeUrlWithoutProtocol","url","decodeHtmlCharacters","str","removedNullByte","match","dec","isValidUrl","decodeURI","uri","sanitizeUrl","charsToDecode","decodedUrl","sanitizedUrl","trimmedUrl","urlSchemeParseResults","urlScheme","backSanitized","url_1"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../../../node_modules/@braintree/sanitize-url/dist/index.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.sanitizeUrl = void 0;\nvar constants_1 = require(\"./constants\");\nfunction isRelativeUrlWithoutProtocol(url) {\n return constants_1.relativeFirstCharacters.indexOf(url[0]) > -1;\n}\nfunction decodeHtmlCharacters(str) {\n var removedNullByte = str.replace(constants_1.ctrlCharactersRegex, \"\");\n return removedNullByte.replace(constants_1.htmlEntitiesRegex, function (match, dec) {\n return String.fromCharCode(dec);\n });\n}\nfunction isValidUrl(url) {\n return URL.canParse(url);\n}\nfunction decodeURI(uri) {\n try {\n return decodeURIComponent(uri);\n }\n catch (e) {\n // Ignoring error\n // It is possible that the URI contains a `%` not associated\n // with URI/URL-encoding.\n return uri;\n }\n}\nfunction sanitizeUrl(url) {\n if (!url) {\n return constants_1.BLANK_URL;\n }\n var charsToDecode;\n var decodedUrl = decodeURI(url.trim());\n do {\n decodedUrl = decodeHtmlCharacters(decodedUrl)\n .replace(constants_1.htmlCtrlEntityRegex, \"\")\n .replace(constants_1.ctrlCharactersRegex, \"\")\n .replace(constants_1.whitespaceEscapeCharsRegex, \"\")\n .trim();\n decodedUrl = decodeURI(decodedUrl);\n charsToDecode =\n decodedUrl.match(constants_1.ctrlCharactersRegex) ||\n decodedUrl.match(constants_1.htmlEntitiesRegex) ||\n decodedUrl.match(constants_1.htmlCtrlEntityRegex) ||\n decodedUrl.match(constants_1.whitespaceEscapeCharsRegex);\n } while (charsToDecode && charsToDecode.length > 0);\n var sanitizedUrl = decodedUrl;\n if (!sanitizedUrl) {\n return constants_1.BLANK_URL;\n }\n if (isRelativeUrlWithoutProtocol(sanitizedUrl)) {\n return sanitizedUrl;\n }\n // Remove any leading whitespace before checking the URL scheme\n var trimmedUrl = sanitizedUrl.trimStart();\n var urlSchemeParseResults = trimmedUrl.match(constants_1.urlSchemeRegex);\n if (!urlSchemeParseResults) {\n return sanitizedUrl;\n }\n var urlScheme = urlSchemeParseResults[0].toLowerCase().trim();\n if (constants_1.invalidProtocolRegex.test(urlScheme)) {\n return constants_1.BLANK_URL;\n }\n var backSanitized = trimmedUrl.replace(/\\\\/g, \"/\");\n // Handle special cases for mailto: and custom deep-link protocols\n if (urlScheme === \"mailto:\" || urlScheme.includes(\"://\")) {\n return backSanitized;\n }\n // For http and https URLs, perform additional validation\n if (urlScheme === \"http:\" || urlScheme === \"https:\") {\n if (!isValidUrl(backSanitized)) {\n return constants_1.BLANK_URL;\n }\n var url_1 = new URL(backSanitized);\n url_1.protocol = url_1.protocol.toLowerCase();\n url_1.hostname = url_1.hostname.toLowerCase();\n return url_1.toString();\n }\n return backSanitized;\n}\nexports.sanitizeUrl = sanitizeUrl;\n"],"names":["dist","constants_1","require$$0","isRelativeUrlWithoutProtocol","url","decodeHtmlCharacters","str","removedNullByte","match","dec","isValidUrl","decodeURI","uri","sanitizeUrl","charsToDecode","decodedUrl","sanitizedUrl","trimmedUrl","urlSchemeParseResults","urlScheme","backSanitized","url_1"],"mappings":"sNACA,OAAO,eAAeA,EAAAA,UAAS,aAAc,CAAE,MAAO,GAAM,EAC5DA,EAAAA,UAAA,YAAsB,OACtB,IAAIC,EAAcC,EAAAA,UAAA,EAClB,SAASC,EAA6BC,EAAK,CACvC,OAAOH,EAAY,wBAAwB,QAAQG,EAAI,CAAC,CAAC,EAAI,EACjE,CACA,SAASC,EAAqBC,EAAK,CAC/B,IAAIC,EAAkBD,EAAI,QAAQL,EAAY,oBAAqB,EAAE,EACrE,OAAOM,EAAgB,QAAQN,EAAY,kBAAmB,SAAUO,EAAOC,EAAK,CAChF,OAAO,OAAO,aAAaA,CAAG,CACtC,CAAK,CACL,CACA,SAASC,EAAWN,EAAK,CACrB,OAAO,IAAI,SAASA,CAAG,CAC3B,CACA,SAASO,EAAUC,EAAK,CACpB,GAAI,CACA,OAAO,mBAAmBA,CAAG,CACrC,MACc,CAIN,OAAOA,CACf,CACA,CACA,SAASC,EAAYT,EAAK,CACtB,GAAI,CAACA,EACD,OAAOH,EAAY,UAEvB,IAAIa,EACAC,EAAaJ,EAAUP,EAAI,KAAI,CAAE,EACrC,GACIW,EAAaV,EAAqBU,CAAU,EACvC,QAAQd,EAAY,oBAAqB,EAAE,EAC3C,QAAQA,EAAY,oBAAqB,EAAE,EAC3C,QAAQA,EAAY,2BAA4B,EAAE,EAClD,KAAI,EACTc,EAAaJ,EAAUI,CAAU,EACjCD,EACIC,EAAW,MAAMd,EAAY,mBAAmB,GAC5Cc,EAAW,MAAMd,EAAY,iBAAiB,GAC9Cc,EAAW,MAAMd,EAAY,mBAAmB,GAChDc,EAAW,MAAMd,EAAY,0BAA0B,QAC1Da,GAAiBA,EAAc,OAAS,GACjD,IAAIE,EAAeD,EACnB,GAAI,CAACC,EACD,OAAOf,EAAY,UAEvB,GAAIE,EAA6Ba,CAAY,EACzC,OAAOA,EAGX,IAAIC,EAAaD,EAAa,UAAS,EACnCE,EAAwBD,EAAW,MAAMhB,EAAY,cAAc,EACvE,GAAI,CAACiB,EACD,OAAOF,EAEX,IAAIG,EAAYD,EAAsB,CAAC,EAAE,YAAW,EAAG,KAAI,EAC3D,GAAIjB,EAAY,qBAAqB,KAAKkB,CAAS,EAC/C,OAAOlB,EAAY,UAEvB,IAAImB,EAAgBH,EAAW,QAAQ,MAAO,GAAG,EAEjD,GAAIE,IAAc,WAAaA,EAAU,SAAS,KAAK,EACnD,OAAOC,EAGX,GAAID,IAAc,SAAWA,IAAc,SAAU,CACjD,GAAI,CAACT,EAAWU,CAAa,EACzB,OAAOnB,EAAY,UAEvB,IAAIoB,EAAQ,IAAI,IAAID,CAAa,EACjC,OAAAC,EAAM,SAAWA,EAAM,SAAS,YAAW,EAC3CA,EAAM,SAAWA,EAAM,SAAS,YAAW,EACpCA,EAAM,SAAQ,CAC7B,CACI,OAAOD,CACX,CACApB,OAAAA,EAAAA,UAAA,YAAsBa","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../../_virtual/index.cjs7.js");/*!
|
|
2
2
|
Copyright (c) 2018 Jed Watson.
|
|
3
3
|
Licensed under the MIT License (MIT), see
|
|
4
4
|
http://jedwatson.github.io/classnames
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const de=require("./chunk-OMD6QJNC.cjs.js"),Q=require("./chunk-U37J5Y7L.cjs.js"),_=require("./chunk-VIW5F6AA.cjs.js");require("../../../../d3-transition/src/selection/index.cjs.js");require("../../../../d3-zoom/src/transform.cjs.js");const we=require("../../../../../_virtual/index.cjs7.js"),Yt=require("../../../../d3-selection/src/select.cjs.js");var Ut=(function(){var e=_.__name(function(bt,b,x,v){for(x=x||{},v=bt.length;v--;x[bt[v]]=b);return x},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],i=[1,64],n=[1,65],u=[1,66],d=[1,67],y=[1,68],p=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],q=[1,35],G=[1,36],K=[1,37],J=[1,38],Z=[1,39],$=[1,40],tt=[1,41],et=[1,42],at=[1,43],nt=[1,44],it=[1,45],rt=[1,46],st=[1,47],lt=[1,48],ot=[1,50],ct=[1,51],ht=[1,52],ut=[1,53],dt=[1,54],_t=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],mt=[1,60],wt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],St=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],A=[1,82],k=[1,83],C=[1,84],w=[1,85],T=[12,14,42],re=[12,14,33,42],It=[12,14,33,42,76,77,79,80],Et=[12,33],Qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:_.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:_.__name(function(b,x,v,g,R,h,Dt){var f=h.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(h[f-3]);break;case 19:g.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 20:g.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 21:this.$=h[f].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=h[f].trim(),g.setAccDescription(this.$);break;case 28:h[f].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 29:h[f].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 30:g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 31:h[f].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[f]),this.$=h[f];break;case 32:g.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 33:g.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 34:g.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 40:g.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 41:g.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 42:g.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 43:g.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 44:g.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 45:g.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 46:g.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 47:g.addContainer("container",...h[f]),this.$=h[f];break;case 48:g.addContainer("container_db",...h[f]),this.$=h[f];break;case 49:g.addContainer("container_queue",...h[f]),this.$=h[f];break;case 50:g.addContainer("external_container",...h[f]),this.$=h[f];break;case 51:g.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 52:g.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 53:g.addComponent("component",...h[f]),this.$=h[f];break;case 54:g.addComponent("component_db",...h[f]),this.$=h[f];break;case 55:g.addComponent("component_queue",...h[f]),this.$=h[f];break;case 56:g.addComponent("external_component",...h[f]),this.$=h[f];break;case 57:g.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 58:g.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 60:g.addRel("rel",...h[f]),this.$=h[f];break;case 61:g.addRel("birel",...h[f]),this.$=h[f];break;case 62:g.addRel("rel_u",...h[f]),this.$=h[f];break;case 63:g.addRel("rel_d",...h[f]),this.$=h[f];break;case 64:g.addRel("rel_l",...h[f]),this.$=h[f];break;case 65:g.addRel("rel_r",...h[f]),this.$=h[f];break;case 66:g.addRel("rel_b",...h[f]),this.$=h[f];break;case 67:h[f].splice(0,1),g.addRel("rel",...h[f]),this.$=h[f];break;case 68:g.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 69:g.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 70:g.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 71:this.$=[h[f]];break;case 72:h[f].unshift(h[f-1]),this.$=h[f];break;case 73:case 75:this.$=h[f].trim();break;case 74:let At={};At[h[f-1].trim()]=h[f].trim(),this.$=At;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{14:[1,74]},e(wt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:i,37:n,38:u,39:d,40:y,41:p,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt}),e(wt,[2,14]),e(Xt,[2,16],{12:[1,76]}),e(wt,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:A,77:k,79:C,80:w},{35:86,75:81,76:A,77:k,79:C,80:w},{35:87,75:81,76:A,77:k,79:C,80:w},{35:88,75:81,76:A,77:k,79:C,80:w},{35:89,75:81,76:A,77:k,79:C,80:w},{35:90,75:81,76:A,77:k,79:C,80:w},{35:91,75:81,76:A,77:k,79:C,80:w},{35:92,75:81,76:A,77:k,79:C,80:w},{35:93,75:81,76:A,77:k,79:C,80:w},{35:94,75:81,76:A,77:k,79:C,80:w},{35:95,75:81,76:A,77:k,79:C,80:w},{35:96,75:81,76:A,77:k,79:C,80:w},{35:97,75:81,76:A,77:k,79:C,80:w},{35:98,75:81,76:A,77:k,79:C,80:w},{35:99,75:81,76:A,77:k,79:C,80:w},{35:100,75:81,76:A,77:k,79:C,80:w},{35:101,75:81,76:A,77:k,79:C,80:w},{35:102,75:81,76:A,77:k,79:C,80:w},{35:103,75:81,76:A,77:k,79:C,80:w},{35:104,75:81,76:A,77:k,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:A,77:k,79:C,80:w},{35:106,75:81,76:A,77:k,79:C,80:w},{35:107,75:81,76:A,77:k,79:C,80:w},{35:108,75:81,76:A,77:k,79:C,80:w},{35:109,75:81,76:A,77:k,79:C,80:w},{35:110,75:81,76:A,77:k,79:C,80:w},{35:111,75:81,76:A,77:k,79:C,80:w},{35:112,75:81,76:A,77:k,79:C,80:w},{35:113,75:81,76:A,77:k,79:C,80:w},{35:114,75:81,76:A,77:k,79:C,80:w},{35:115,75:81,76:A,77:k,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{12:[1,118],33:[1,117]},{35:119,75:81,76:A,77:k,79:C,80:w},{35:120,75:81,76:A,77:k,79:C,80:w},{35:121,75:81,76:A,77:k,79:C,80:w},{35:122,75:81,76:A,77:k,79:C,80:w},{35:123,75:81,76:A,77:k,79:C,80:w},{35:124,75:81,76:A,77:k,79:C,80:w},{35:125,75:81,76:A,77:k,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(wt,[2,15]),e(Xt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(wt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:i,37:n,38:u,39:d,40:y,41:p,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(re,[2,71],{75:81,35:132,76:A,77:k,79:C,80:w}),e(It,[2,73]),{78:[1,133]},e(It,[2,75]),e(It,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(Et,[2,28]),e(Et,[2,29]),e(Et,[2,30]),e(Et,[2,31]),e(Et,[2,32]),e(Et,[2,33]),e(Et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Xt,[2,18]),e(wt,[2,38]),e(re,[2,72]),e(It,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Qt,[2,25]),e(Qt,[2,26],{12:[1,138]}),e(Qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:_.__name(function(b,x){if(x.recoverable)this.trace(b);else{var v=new Error(b);throw v.hash=x,v}},"parseError"),parse:_.__name(function(b){var x=this,v=[0],g=[],R=[null],h=[],Dt=this.table,f="",At=0,se=0,Ee=2,le=1,Ae=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,qt)&&(kt.yy[qt]=this.yy[qt]);D.setInput(b,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Gt=D.yylloc;h.push(Gt);var ke=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ce(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}_.__name(Ce,"popStack");function oe(){var L;return L=g.pop()||D.lex()||le,typeof L!="number"&&(L instanceof Array&&(g=L,L=g.pop()),L=x.symbols_[L]||L),L}_.__name(oe,"lex");for(var I,Ct,N,Kt,Tt={},Lt,X,ce,Nt;;){if(Ct=v[v.length-1],this.defaultActions[Ct]?N=this.defaultActions[Ct]:((I===null||typeof I>"u")&&(I=oe()),N=Dt[Ct]&&Dt[Ct][I]),typeof N>"u"||!N.length||!N[0]){var Jt="";Nt=[];for(Lt in Dt[Ct])this.terminals_[Lt]&&Lt>Ee&&Nt.push("'"+this.terminals_[Lt]+"'");D.showPosition?Jt="Parse error on line "+(At+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const de=require("./chunk-OMD6QJNC.cjs.js"),Q=require("./chunk-U37J5Y7L.cjs.js"),_=require("./chunk-VIW5F6AA.cjs.js");require("../../../../d3-transition/src/selection/index.cjs.js");require("../../../../d3-zoom/src/transform.cjs.js");const we=require("../../../../../_virtual/index.cjs8.js"),Yt=require("../../../../d3-selection/src/select.cjs.js");var Ut=(function(){var e=_.__name(function(bt,b,x,v){for(x=x||{},v=bt.length;v--;x[bt[v]]=b);return x},"o"),t=[1,24],s=[1,25],o=[1,26],l=[1,27],a=[1,28],r=[1,63],i=[1,64],n=[1,65],u=[1,66],d=[1,67],y=[1,68],p=[1,69],E=[1,29],O=[1,30],S=[1,31],P=[1,32],M=[1,33],U=[1,34],q=[1,35],G=[1,36],K=[1,37],J=[1,38],Z=[1,39],$=[1,40],tt=[1,41],et=[1,42],at=[1,43],nt=[1,44],it=[1,45],rt=[1,46],st=[1,47],lt=[1,48],ot=[1,50],ct=[1,51],ht=[1,52],ut=[1,53],dt=[1,54],_t=[1,55],ft=[1,56],pt=[1,57],yt=[1,58],gt=[1,59],mt=[1,60],wt=[14,42],Xt=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],St=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],A=[1,82],k=[1,83],C=[1,84],w=[1,85],T=[12,14,42],re=[12,14,33,42],It=[12,14,33,42,76,77,79,80],Et=[12,33],Qt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],Ht={trace:_.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:_.__name(function(b,x,v,g,R,h,Dt){var f=h.length-1;switch(R){case 3:g.setDirection("TB");break;case 4:g.setDirection("BT");break;case 5:g.setDirection("RL");break;case 6:g.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:g.setC4Type(h[f-3]);break;case 19:g.setTitle(h[f].substring(6)),this.$=h[f].substring(6);break;case 20:g.setAccDescription(h[f].substring(15)),this.$=h[f].substring(15);break;case 21:this.$=h[f].trim(),g.setTitle(this.$);break;case 22:case 23:this.$=h[f].trim(),g.setAccDescription(this.$);break;case 28:h[f].splice(2,0,"ENTERPRISE"),g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 29:h[f].splice(2,0,"SYSTEM"),g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 30:g.addPersonOrSystemBoundary(...h[f]),this.$=h[f];break;case 31:h[f].splice(2,0,"CONTAINER"),g.addContainerBoundary(...h[f]),this.$=h[f];break;case 32:g.addDeploymentNode("node",...h[f]),this.$=h[f];break;case 33:g.addDeploymentNode("nodeL",...h[f]),this.$=h[f];break;case 34:g.addDeploymentNode("nodeR",...h[f]),this.$=h[f];break;case 35:g.popBoundaryParseStack();break;case 39:g.addPersonOrSystem("person",...h[f]),this.$=h[f];break;case 40:g.addPersonOrSystem("external_person",...h[f]),this.$=h[f];break;case 41:g.addPersonOrSystem("system",...h[f]),this.$=h[f];break;case 42:g.addPersonOrSystem("system_db",...h[f]),this.$=h[f];break;case 43:g.addPersonOrSystem("system_queue",...h[f]),this.$=h[f];break;case 44:g.addPersonOrSystem("external_system",...h[f]),this.$=h[f];break;case 45:g.addPersonOrSystem("external_system_db",...h[f]),this.$=h[f];break;case 46:g.addPersonOrSystem("external_system_queue",...h[f]),this.$=h[f];break;case 47:g.addContainer("container",...h[f]),this.$=h[f];break;case 48:g.addContainer("container_db",...h[f]),this.$=h[f];break;case 49:g.addContainer("container_queue",...h[f]),this.$=h[f];break;case 50:g.addContainer("external_container",...h[f]),this.$=h[f];break;case 51:g.addContainer("external_container_db",...h[f]),this.$=h[f];break;case 52:g.addContainer("external_container_queue",...h[f]),this.$=h[f];break;case 53:g.addComponent("component",...h[f]),this.$=h[f];break;case 54:g.addComponent("component_db",...h[f]),this.$=h[f];break;case 55:g.addComponent("component_queue",...h[f]),this.$=h[f];break;case 56:g.addComponent("external_component",...h[f]),this.$=h[f];break;case 57:g.addComponent("external_component_db",...h[f]),this.$=h[f];break;case 58:g.addComponent("external_component_queue",...h[f]),this.$=h[f];break;case 60:g.addRel("rel",...h[f]),this.$=h[f];break;case 61:g.addRel("birel",...h[f]),this.$=h[f];break;case 62:g.addRel("rel_u",...h[f]),this.$=h[f];break;case 63:g.addRel("rel_d",...h[f]),this.$=h[f];break;case 64:g.addRel("rel_l",...h[f]),this.$=h[f];break;case 65:g.addRel("rel_r",...h[f]),this.$=h[f];break;case 66:g.addRel("rel_b",...h[f]),this.$=h[f];break;case 67:h[f].splice(0,1),g.addRel("rel",...h[f]),this.$=h[f];break;case 68:g.updateElStyle("update_el_style",...h[f]),this.$=h[f];break;case 69:g.updateRelStyle("update_rel_style",...h[f]),this.$=h[f];break;case 70:g.updateLayoutConfig("update_layout_config",...h[f]),this.$=h[f];break;case 71:this.$=[h[f]];break;case 72:h[f].unshift(h[f-1]),this.$=h[f];break;case 73:case 75:this.$=h[f].trim();break;case 74:let At={};At[h[f-1].trim()]=h[f].trim(),this.$=At;break;case 76:this.$="";break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{13:70,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{13:71,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{13:72,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{13:73,19:20,20:21,21:22,22:t,23:s,24:o,26:l,28:a,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{14:[1,74]},e(wt,[2,13],{43:23,29:49,30:61,32:62,20:75,34:r,36:i,37:n,38:u,39:d,40:y,41:p,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt}),e(wt,[2,14]),e(Xt,[2,16],{12:[1,76]}),e(wt,[2,36],{12:[1,77]}),e(St,[2,19]),e(St,[2,20]),{25:[1,78]},{27:[1,79]},e(St,[2,23]),{35:80,75:81,76:A,77:k,79:C,80:w},{35:86,75:81,76:A,77:k,79:C,80:w},{35:87,75:81,76:A,77:k,79:C,80:w},{35:88,75:81,76:A,77:k,79:C,80:w},{35:89,75:81,76:A,77:k,79:C,80:w},{35:90,75:81,76:A,77:k,79:C,80:w},{35:91,75:81,76:A,77:k,79:C,80:w},{35:92,75:81,76:A,77:k,79:C,80:w},{35:93,75:81,76:A,77:k,79:C,80:w},{35:94,75:81,76:A,77:k,79:C,80:w},{35:95,75:81,76:A,77:k,79:C,80:w},{35:96,75:81,76:A,77:k,79:C,80:w},{35:97,75:81,76:A,77:k,79:C,80:w},{35:98,75:81,76:A,77:k,79:C,80:w},{35:99,75:81,76:A,77:k,79:C,80:w},{35:100,75:81,76:A,77:k,79:C,80:w},{35:101,75:81,76:A,77:k,79:C,80:w},{35:102,75:81,76:A,77:k,79:C,80:w},{35:103,75:81,76:A,77:k,79:C,80:w},{35:104,75:81,76:A,77:k,79:C,80:w},e(T,[2,59]),{35:105,75:81,76:A,77:k,79:C,80:w},{35:106,75:81,76:A,77:k,79:C,80:w},{35:107,75:81,76:A,77:k,79:C,80:w},{35:108,75:81,76:A,77:k,79:C,80:w},{35:109,75:81,76:A,77:k,79:C,80:w},{35:110,75:81,76:A,77:k,79:C,80:w},{35:111,75:81,76:A,77:k,79:C,80:w},{35:112,75:81,76:A,77:k,79:C,80:w},{35:113,75:81,76:A,77:k,79:C,80:w},{35:114,75:81,76:A,77:k,79:C,80:w},{35:115,75:81,76:A,77:k,79:C,80:w},{20:116,29:49,30:61,32:62,34:r,36:i,37:n,38:u,39:d,40:y,41:p,43:23,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt},{12:[1,118],33:[1,117]},{35:119,75:81,76:A,77:k,79:C,80:w},{35:120,75:81,76:A,77:k,79:C,80:w},{35:121,75:81,76:A,77:k,79:C,80:w},{35:122,75:81,76:A,77:k,79:C,80:w},{35:123,75:81,76:A,77:k,79:C,80:w},{35:124,75:81,76:A,77:k,79:C,80:w},{35:125,75:81,76:A,77:k,79:C,80:w},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},e(wt,[2,15]),e(Xt,[2,17],{21:22,19:130,22:t,23:s,24:o,26:l,28:a}),e(wt,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:t,23:s,24:o,26:l,28:a,34:r,36:i,37:n,38:u,39:d,40:y,41:p,44:E,45:O,46:S,47:P,48:M,49:U,50:q,51:G,52:K,53:J,54:Z,55:$,56:tt,57:et,58:at,59:nt,60:it,61:rt,62:st,63:lt,64:ot,65:ct,66:ht,67:ut,68:dt,69:_t,70:ft,71:pt,72:yt,73:gt,74:mt}),e(St,[2,21]),e(St,[2,22]),e(T,[2,39]),e(re,[2,71],{75:81,35:132,76:A,77:k,79:C,80:w}),e(It,[2,73]),{78:[1,133]},e(It,[2,75]),e(It,[2,76]),e(T,[2,40]),e(T,[2,41]),e(T,[2,42]),e(T,[2,43]),e(T,[2,44]),e(T,[2,45]),e(T,[2,46]),e(T,[2,47]),e(T,[2,48]),e(T,[2,49]),e(T,[2,50]),e(T,[2,51]),e(T,[2,52]),e(T,[2,53]),e(T,[2,54]),e(T,[2,55]),e(T,[2,56]),e(T,[2,57]),e(T,[2,58]),e(T,[2,60]),e(T,[2,61]),e(T,[2,62]),e(T,[2,63]),e(T,[2,64]),e(T,[2,65]),e(T,[2,66]),e(T,[2,67]),e(T,[2,68]),e(T,[2,69]),e(T,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},e(Et,[2,28]),e(Et,[2,29]),e(Et,[2,30]),e(Et,[2,31]),e(Et,[2,32]),e(Et,[2,33]),e(Et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},e(Xt,[2,18]),e(wt,[2,38]),e(re,[2,72]),e(It,[2,74]),e(T,[2,24]),e(T,[2,35]),e(Qt,[2,25]),e(Qt,[2,26],{12:[1,138]}),e(Qt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:_.__name(function(b,x){if(x.recoverable)this.trace(b);else{var v=new Error(b);throw v.hash=x,v}},"parseError"),parse:_.__name(function(b){var x=this,v=[0],g=[],R=[null],h=[],Dt=this.table,f="",At=0,se=0,Ee=2,le=1,Ae=h.slice.call(arguments,1),D=Object.create(this.lexer),kt={yy:{}};for(var qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,qt)&&(kt.yy[qt]=this.yy[qt]);D.setInput(b,kt.yy),kt.yy.lexer=D,kt.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var Gt=D.yylloc;h.push(Gt);var ke=D.options&&D.options.ranges;typeof kt.yy.parseError=="function"?this.parseError=kt.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function Ce(L){v.length=v.length-2*L,R.length=R.length-L,h.length=h.length-L}_.__name(Ce,"popStack");function oe(){var L;return L=g.pop()||D.lex()||le,typeof L!="number"&&(L instanceof Array&&(g=L,L=g.pop()),L=x.symbols_[L]||L),L}_.__name(oe,"lex");for(var I,Ct,N,Kt,Tt={},Lt,X,ce,Nt;;){if(Ct=v[v.length-1],this.defaultActions[Ct]?N=this.defaultActions[Ct]:((I===null||typeof I>"u")&&(I=oe()),N=Dt[Ct]&&Dt[Ct][I]),typeof N>"u"||!N.length||!N[0]){var Jt="";Nt=[];for(Lt in Dt[Ct])this.terminals_[Lt]&&Lt>Ee&&Nt.push("'"+this.terminals_[Lt]+"'");D.showPosition?Jt="Parse error on line "+(At+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+Nt.join(", ")+", got '"+(this.terminals_[I]||I)+"'":Jt="Parse error on line "+(At+1)+": Unexpected "+(I==le?"end of input":"'"+(this.terminals_[I]||I)+"'"),this.parseError(Jt,{text:D.match,token:this.terminals_[I]||I,line:D.yylineno,loc:Gt,expected:Nt})}if(N[0]instanceof Array&&N.length>1)throw new Error("Parse Error: multiple actions possible at state: "+Ct+", token: "+I);switch(N[0]){case 1:v.push(I),R.push(D.yytext),h.push(D.yylloc),v.push(N[1]),I=null,se=D.yyleng,f=D.yytext,At=D.yylineno,Gt=D.yylloc;break;case 2:if(X=this.productions_[N[1]][1],Tt.$=R[R.length-X],Tt._$={first_line:h[h.length-(X||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(X||1)].first_column,last_column:h[h.length-1].last_column},ke&&(Tt._$.range=[h[h.length-(X||1)].range[0],h[h.length-1].range[1]]),Kt=this.performAction.apply(Tt,[f,se,At,kt.yy,N[1],R,h].concat(Ae)),typeof Kt<"u")return Kt;X&&(v=v.slice(0,-1*X*2),R=R.slice(0,-1*X),h=h.slice(0,-1*X)),v.push(this.productions_[N[1]][0]),R.push(Tt.$),h.push(Tt._$),ce=Dt[v[v.length-2]][v[v.length-1]],v.push(ce);break;case 3:return!0}}return!0},"parse")},ve=(function(){var bt={EOF:1,parseError:_.__name(function(x,v){if(this.yy.parser)this.yy.parser.parseError(x,v);else throw new Error(x)},"parseError"),setInput:_.__name(function(b,x){return this.yy=x||this.yy||{},this._input=b,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:_.__name(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var x=b.match(/(?:\r\n?|\n).*/g);return x?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},"input"),unput:_.__name(function(b){var x=b.length,v=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-x),this.offset-=x;var g=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),v.length-1&&(this.yylineno-=v.length-1);var R=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:v?(v.length===g.length?this.yylloc.first_column:0)+g[g.length-v.length].length-v[0].length:this.yylloc.first_column-x},this.options.ranges&&(this.yylloc.range=[R[0],R[0]+this.yyleng-x]),this.yyleng=this.yytext.length,this},"unput"),more:_.__name(function(){return this._more=!0,this},"more"),reject:_.__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:_.__name(function(b){this.unput(this.match.slice(b))},"less"),pastInput:_.__name(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:_.__name(function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:_.__name(function(){var b=this.pastInput(),x=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
|
|
@@ -3,7 +3,7 @@ import { calculateTextWidth as Tt, wrapLabel as Pe, calculateTextHeight as de }
|
|
|
3
3
|
import { __name as g, setAccDescription as Be, getAccDescription as Ie, getAccTitle as Me, setAccTitle as Le, getConfig2 as Bt, log as fe, configureSvgSize as Ne, assignWithDepth_default as Ye, sanitizeText as ge, common_default as $t } from "./chunk-VIW5F6AA.es.js";
|
|
4
4
|
import "../../../../d3-transition/src/selection/index.es.js";
|
|
5
5
|
import "../../../../d3-zoom/src/transform.es.js";
|
|
6
|
-
import { d as je } from "../../../../../_virtual/index.
|
|
6
|
+
import { d as je } from "../../../../../_virtual/index.es8.js";
|
|
7
7
|
import jt from "../../../../d3-selection/src/select.es.js";
|
|
8
8
|
var Ft = (function() {
|
|
9
9
|
var e = /* @__PURE__ */ g(function(_t, x, m, v) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./chunk-VIW5F6AA.cjs.js"),d=require("../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./chunk-VIW5F6AA.cjs.js"),d=require("../../../../../_virtual/index.cjs8.js");var c=s.__name((a,t)=>{const e=a.append("rect");if(e.attr("x",t.x),e.attr("y",t.y),e.attr("fill",t.fill),e.attr("stroke",t.stroke),e.attr("width",t.width),e.attr("height",t.height),t.name&&e.attr("name",t.name),t.rx&&e.attr("rx",t.rx),t.ry&&e.attr("ry",t.ry),t.attrs!==void 0)for(const r in t.attrs)e.attr(r,t.attrs[r]);return t.class&&e.attr("class",t.class),e},"drawRect"),l=s.__name((a,t)=>{const e={x:t.startx,y:t.starty,width:t.stopx-t.startx,height:t.stopy-t.starty,fill:t.fill,stroke:t.stroke,class:"rect"};c(a,e).lower()},"drawBackgroundRect"),o=s.__name((a,t)=>{const e=t.text.replace(s.lineBreakRegex," "),r=a.append("text");r.attr("x",t.x),r.attr("y",t.y),r.attr("class","legend"),r.style("text-anchor",t.anchor),t.class&&r.attr("class",t.class);const n=r.append("tspan");return n.attr("x",t.x+t.textMargin*2),n.text(e),r},"drawText"),x=s.__name((a,t,e,r)=>{const n=a.append("image");n.attr("x",t),n.attr("y",e);const i=d.distExports.sanitizeUrl(r);n.attr("xlink:href",i)},"drawImage"),g=s.__name((a,t,e,r)=>{const n=a.append("use");n.attr("x",t),n.attr("y",e);const i=d.distExports.sanitizeUrl(r);n.attr("xlink:href",`#${i}`)},"drawEmbeddedImage"),m=s.__name(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),h=s.__name(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj");exports.drawBackgroundRect=l;exports.drawEmbeddedImage=g;exports.drawImage=x;exports.drawRect=c;exports.drawText=o;exports.getNoteRect=m;exports.getTextObj=h;
|
|
2
2
|
//# sourceMappingURL=chunk-OMD6QJNC.cjs.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __name as n, lineBreakRegex as o } from "./chunk-VIW5F6AA.es.js";
|
|
2
|
-
import { d as l } from "../../../../../_virtual/index.
|
|
2
|
+
import { d as l } from "../../../../../_virtual/index.es8.js";
|
|
3
3
|
var x = /* @__PURE__ */ n((s, t) => {
|
|
4
4
|
const r = s.append("rect");
|
|
5
5
|
if (r.attr("x", t.x), r.attr("y", t.y), r.attr("fill", t.fill), r.attr("stroke", t.stroke), r.attr("width", t.width), r.attr("height", t.height), t.name && r.attr("name", t.name), t.rx && r.attr("rx", t.rx), t.ry && r.attr("ry", t.ry), t.attrs !== void 0)
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunk-VIW5F6AA.cjs.js"),Z=require("../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./chunk-VIW5F6AA.cjs.js"),Z=require("../../../../../_virtual/index.cjs8.js");require("../../../../d3-transition/src/selection/index.cjs.js");require("../../../../d3-zoom/src/transform.cjs.js");const M=require("../../../../lodash-es/memoize.cjs.js"),V=require("../../../../lodash-es/merge.cjs.js"),b=require("../../../../d3-shape/src/curve/step.cjs.js"),K=require("../../../../d3-shape/src/curve/natural.cjs.js"),P=require("../../../../d3-shape/src/curve/monotone.cjs.js"),Q=require("../../../../d3-shape/src/curve/linearClosed.cjs.js"),ee=require("../../../../d3-shape/src/curve/linear.cjs.js"),te=require("../../../../d3-shape/src/curve/catmullRom.cjs.js"),ne=require("../../../../d3-shape/src/curve/catmullRomOpen.cjs.js"),re=require("../../../../d3-shape/src/curve/catmullRomClosed.cjs.js"),ie=require("../../../../d3-shape/src/curve/cardinal.cjs.js"),ae=require("../../../../d3-shape/src/curve/cardinalOpen.cjs.js"),oe=require("../../../../d3-shape/src/curve/cardinalClosed.cjs.js"),se=require("../../../../d3-shape/src/curve/bundle.cjs.js"),L=require("../../../../d3-shape/src/curve/bump.cjs.js"),ce=require("../../../../d3-shape/src/curve/basisOpen.cjs.js"),le=require("../../../../d3-shape/src/curve/basisClosed.cjs.js"),ue=require("../../../../d3-shape/src/curve/basis.cjs.js"),de=require("../../../../d3-selection/src/select.cjs.js");var F="",he={curveBasis:ue.default,curveBasisClosed:le.default,curveBasisOpen:ce.default,curveBumpX:L.bumpX,curveBumpY:L.bumpY,curveBundle:se.default,curveCardinalClosed:oe.default,curveCardinalOpen:ae.default,curveCardinal:ie.default,curveCatmullRomClosed:re.default,curveCatmullRomOpen:ne.default,curveCatmullRom:te.default,curveLinear:ee.default,curveLinearClosed:Q.default,curveMonotoneX:P.monotoneX,curveMonotoneY:P.monotoneY,curveNatural:K.default,curveStep:b.default,curveStepAfter:b.stepAfter,curveStepBefore:b.stepBefore},fe=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,me=o.__name(function(t,e){const r=R(t,/(?:init\b)|(?:initialize\b)/);let n={};if(Array.isArray(r)){const s=r.map(l=>l.args);o.sanitizeDirective(s),n=o.assignWithDepth_default(n,[...s])}else n=r.args;if(!n)return;let i=o.detectType(t,e);const a="config";return n[a]!==void 0&&(i==="flowchart-v2"&&(i="flowchart"),n[i]=n[a],delete n[a]),n},"detectInit"),R=o.__name(function(t,e=null){try{const r=new RegExp(`[%]{2}(?![{]${fe.source})(?=[}][%]{2}).*
|
|
2
2
|
`,"ig");t=t.trim().replace(r,"").replace(/'/gm,'"'),o.log.debug(`Detecting diagram directive${e!==null?" type:"+e:""} based on the text:${t}`);let n;const i=[];for(;(n=o.directiveRegex.exec(t))!==null;)if(n.index===o.directiveRegex.lastIndex&&o.directiveRegex.lastIndex++,n&&!e||e&&n[1]?.match(e)||e&&n[2]?.match(e)){const a=n[1]?n[1]:n[2],s=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;i.push({type:a,args:s})}return i.length===0?{type:t,args:null}:i.length===1?i[0]:i}catch(r){return o.log.error(`ERROR: ${r.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}},"detectDirective"),ge=o.__name(function(t){return t.replace(o.directiveRegex,"")},"removeDirectives"),ve=o.__name(function(t,e){for(const[r,n]of e.entries())if(n.match(t))return r;return-1},"isSubstringInArray");function w(t,e){if(!t)return e;const r=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return he[r]??e}o.__name(w,"interpolateToCurve");function D(t,e){const r=t.trim();if(r)return e.securityLevel!=="loose"?Z.distExports.sanitizeUrl(r):r}o.__name(D,"formatUrl");var _e=o.__name((t,...e)=>{const r=t.split("."),n=r.length-1,i=r[n];let a=window;for(let s=0;s<n;s++)if(a=a[r[s]],!a){o.log.error(`Function name: ${t} not found in window`);return}a[i](...e)},"runFunc");function $(t,e){return!t||!e?0:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}o.__name($,"distance");function O(t){let e,r=0;t.forEach(i=>{r+=$(i,e),e=i});const n=r/2;return S(t,n)}o.__name(O,"traverseEdge");function N(t){return t.length===1?t[0]:O(t)}o.__name(N,"calcLabelPosition");var q=o.__name((t,e=2)=>{const r=Math.pow(10,e);return Math.round(t*r)/r},"roundNumber"),S=o.__name((t,e)=>{let r,n=e;for(const i of t){if(r){const a=$(i,r);if(a===0)return r;if(a<n)n-=a;else{const s=n/a;if(s<=0)return r;if(s>=1)return{x:i.x,y:i.y};if(s>0&&s<1)return{x:q((1-s)*r.x+s*i.x,5),y:q((1-s)*r.y+s*i.y,5)}}}r=i}throw new Error("Could not find a suitable point for the given distance")},"calculatePoint"),ye=o.__name((t,e,r)=>{o.log.info(`our points ${JSON.stringify(e)}`),e[0]!==r&&(e=e.reverse());const i=S(e,25),a=t?10:5,s=Math.atan2(e[0].y-i.y,e[0].x-i.x),l={x:0,y:0};return l.x=Math.sin(s)*a+(e[0].x+i.x)/2,l.y=-Math.cos(s)*a+(e[0].y+i.y)/2,l},"calcCardinalityPosition");function H(t,e,r){const n=structuredClone(r);o.log.info("our points",n),e!=="start_left"&&e!=="start_right"&&n.reverse();const i=25+t,a=S(n,i),s=10+t*.5,l=Math.atan2(n[0].y-a.y,n[0].x-a.x),c={x:0,y:0};return e==="start_left"?(c.x=Math.sin(l+Math.PI)*s+(n[0].x+a.x)/2,c.y=-Math.cos(l+Math.PI)*s+(n[0].y+a.y)/2):e==="end_right"?(c.x=Math.sin(l-Math.PI)*s+(n[0].x+a.x)/2-5,c.y=-Math.cos(l-Math.PI)*s+(n[0].y+a.y)/2-5):e==="end_left"?(c.x=Math.sin(l)*s+(n[0].x+a.x)/2-5,c.y=-Math.cos(l)*s+(n[0].y+a.y)/2-5):(c.x=Math.sin(l)*s+(n[0].x+a.x)/2,c.y=-Math.cos(l)*s+(n[0].y+a.y)/2),c}o.__name(H,"calcTerminalLabelPosition");function C(t){let e="",r="";for(const n of t)n!==void 0&&(n.startsWith("color:")||n.startsWith("text-align:")?r=r+n+";":e=e+n+";");return{style:e,labelStyle:r}}o.__name(C,"getStylesFromArray");var A=0,z=o.__name(()=>(A++,"id-"+Math.random().toString(36).substr(2,12)+"-"+A),"generateId");function j(t){let e="";const r="0123456789abcdef",n=r.length;for(let i=0;i<t;i++)e+=r.charAt(Math.floor(Math.random()*n));return e}o.__name(j,"makeRandomHex");var U=o.__name(t=>j(t.length),"random"),xe=o.__name(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"),pe=o.__name(function(t,e){const r=e.text.replace(o.common_default.lineBreakRegex," "),[,n]=p(e.fontSize),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.style("text-anchor",e.anchor),i.style("font-family",e.fontFamily),i.style("font-size",n),i.style("font-weight",e.fontWeight),i.attr("fill",e.fill),e.class!==void 0&&i.attr("class",e.class);const a=i.append("tspan");return a.attr("x",e.x+e.textMargin*2),a.attr("fill",e.fill),a.text(r),i},"drawSimpleText"),k=M.default((t,e,r)=>{if(!t||(r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},r),o.common_default.lineBreakRegex.test(t)))return t;const n=t.split(" ").filter(Boolean),i=[];let a="";return n.forEach((s,l)=>{const c=m(`${s} `,r),u=m(a,r);if(c>e){const{hyphenatedStrings:g,remainingWord:d}=be(s,e,"-",r);i.push(a,...g),a=d}else u+c>=e?(i.push(a),a=s):a=[a,s].filter(Boolean).join(" ");l+1===n.length&&i.push(a)}),i.filter(s=>s!=="").join(r.joinWith)},(t,e,r)=>`${t}${e}${r.fontSize}${r.fontWeight}${r.fontFamily}${r.joinWith}`),be=M.default((t,e,r="-",n)=>{n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},n);const i=[...t],a=[];let s="";return i.forEach((l,c)=>{const u=`${s}${l}`;if(m(u,n)>=e){const _=c+1,g=i.length===_,d=`${u}${r}`;a.push(g?u:d),s=""}else s=u}),{hyphenatedStrings:a,remainingWord:s}},(t,e,r="-",n)=>`${t}${e}${r}${n.fontSize}${n.fontWeight}${n.fontFamily}`);function E(t,e){return T(t,e).height}o.__name(E,"calculateTextHeight");function m(t,e){return T(t,e).width}o.__name(m,"calculateTextWidth");var T=M.default((t,e)=>{const{fontSize:r=12,fontFamily:n="Arial",fontWeight:i=400}=e;if(!t)return{width:0,height:0};const[,a]=p(r),s=["sans-serif",n],l=t.split(o.common_default.lineBreakRegex),c=[],u=de.default("body");if(!u.remove)return{width:0,height:0,lineHeight:0};const v=u.append("svg");for(const g of s){let d=0;const h={width:0,height:0,lineHeight:0};for(const J of l){const I=xe();I.text=J||F;const B=pe(v,I).style("font-size",a).style("font-weight",i).style("font-family",g),y=(B._groups||B)[0][0].getBBox();if(y.width===0&&y.height===0)throw new Error("svg element not in render tree");h.width=Math.round(Math.max(h.width,y.width)),d=Math.round(y.height),h.height+=d,h.lineHeight=Math.round(Math.max(h.lineHeight,d))}c.push(h)}v.remove();const _=isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1;return c[_]},(t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`),f,Me=(f=class{constructor(e=!1,r){this.count=0,this.count=r?r.length:0,this.next=e?()=>this.count++:()=>Date.now()}},o.__name(f,"InitIDGenerator"),f),x,we=o.__name(function(t){return x=x||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),x.innerHTML=t,unescape(x.textContent)},"entityDecode");function X(t){return"str"in t}o.__name(X,"isDetailedError");var $e=o.__name((t,e,r,n)=>{if(!n)return;const i=t.node()?.getBBox();i&&t.append("text").text(n).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-r).attr("class",e)},"insertTitle"),p=o.__name(t=>{if(typeof t=="number")return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},"parseFontSize");function W(t,e){return V.default({},t,e)}o.__name(W,"cleanAndMerge");var Se={assignWithDepth:o.assignWithDepth_default,wrapLabel:k,calculateTextHeight:E,calculateTextWidth:m,calculateTextDimensions:T,cleanAndMerge:W,detectInit:me,detectDirective:R,isSubstringInArray:ve,interpolateToCurve:w,calcLabelPosition:N,calcCardinalityPosition:ye,calcTerminalLabelPosition:H,formatUrl:D,getStylesFromArray:C,generateId:z,random:U,runFunc:_e,entityDecode:we,insertTitle:$e,isLabelCoordinateInPath:G,parseFontSize:p,InitIDGenerator:Me},Ce=o.__name(function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/classDef.*:\S*#.*;/g,function(r){return r.substring(0,r.length-1)}),e=e.replace(/#\w+;/g,function(r){const n=r.substring(1,r.length-1);return/^\+?\d+$/.test(n)?"fl°°"+n+"¶ß":"fl°"+n+"¶ß"}),e},"encodeEntities"),Ee=o.__name(function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),Te=o.__name((t,e,{counter:r=0,prefix:n,suffix:i},a)=>a||`${n?`${n}_`:""}${t}_${e}_${r}${i?`_${i}`:""}`,"getEdgeId");function Y(t){return t??null}o.__name(Y,"handleUndefinedAttr");function G(t,e){const r=Math.round(t.x),n=Math.round(t.y),i=e.replace(/(\d+\.\d+)/g,a=>Math.round(parseFloat(a)).toString());return i.includes(r.toString())||i.includes(n.toString())}o.__name(G,"isLabelCoordinateInPath");exports.ZERO_WIDTH_SPACE=F;exports.calculateTextHeight=E;exports.calculateTextWidth=m;exports.cleanAndMerge=W;exports.decodeEntities=Ee;exports.encodeEntities=Ce;exports.generateId=z;exports.getEdgeId=Te;exports.getStylesFromArray=C;exports.handleUndefinedAttr=Y;exports.interpolateToCurve=w;exports.isDetailedError=X;exports.parseFontSize=p;exports.random=U;exports.removeDirectives=ge;exports.utils_default=Se;exports.wrapLabel=k;
|
|
3
3
|
//# sourceMappingURL=chunk-U37J5Y7L.cjs.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __name as s, log as g, common_default as b, assignWithDepth_default as E, directiveRegex as $, sanitizeDirective as X, detectType as Y } from "./chunk-VIW5F6AA.es.js";
|
|
2
|
-
import { d as G } from "../../../../../_virtual/index.
|
|
2
|
+
import { d as G } from "../../../../../_virtual/index.es8.js";
|
|
3
3
|
import "../../../../d3-transition/src/selection/index.es.js";
|
|
4
4
|
import "../../../../d3-zoom/src/transform.es.js";
|
|
5
5
|
import w from "../../../../lodash-es/memoize.es.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const at=require("./chunk-U37J5Y7L.cjs.js"),i=require("./chunk-VIW5F6AA.cjs.js"),it=require("../../../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const at=require("./chunk-U37J5Y7L.cjs.js"),i=require("./chunk-VIW5F6AA.cjs.js"),it=require("../../../../../_virtual/index.cjs8.js"),L=require("../../../../../_virtual/dayjs.min.cjs.js"),rt=require("../../../../../_virtual/isoWeek.cjs.js"),st=require("../../../../../_virtual/customParseFormat.cjs.js"),ct=require("../../../../../_virtual/advancedFormat.cjs.js");require("../../../../d3-transition/src/selection/index.cjs.js");require("../../../../d3-zoom/src/transform.cjs.js");const lt=require("../../../../d3-scale/src/time.cjs.js"),ot=require("../../../../d3-array/src/min.cjs.js"),ut=require("../../../../d3-array/src/max.cjs.js"),dt=require("../../../../d3-scale/src/linear.cjs.js"),ft=require("../../../../d3-interpolate/src/hcl.cjs.js"),We=require("../../../../d3-axis/src/axis.cjs.js"),Oe=require("../../../../d3-time-format/src/defaultLocale.cjs.js"),Pe=require("../../../../d3-time/src/month.cjs.js"),j=require("../../../../d3-time/src/week.cjs.js"),Re=require("../../../../d3-time/src/day.cjs.js"),Ye=require("../../../../d3-time/src/hour.cjs.js"),Be=require("../../../../d3-time/src/minute.cjs.js"),Ne=require("../../../../d3-time/src/second.cjs.js"),ze=require("../../../../d3-time/src/millisecond.cjs.js"),de=require("../../../../d3-selection/src/select.cjs.js");var pe=(function(){var e=i.__name(function(T,o,d,f){for(d=d||{},f=T.length;f--;d[T[f]]=o);return d},"o"),a=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],r=[1,26],c=[1,27],s=[1,28],k=[1,29],m=[1,30],q=[1,31],R=[1,32],Y=[1,33],E=[1,34],F=[1,9],N=[1,10],W=[1,11],O=[1,12],x=[1,13],Z=[1,14],$=[1,15],ee=[1,16],te=[1,19],ne=[1,20],ae=[1,21],ie=[1,22],re=[1,23],y=[1,25],p=[1,35],_={trace:i.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",20:"weekend_friday",21:"weekend_saturday",22:"dateFormat",23:"inclusiveEndDates",24:"topAxis",25:"axisFormat",26:"tickInterval",27:"excludes",28:"includes",29:"todayMarker",30:"title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"section",38:"taskTxt",39:"taskData",40:"click",41:"callbackname",42:"callbackargs",43:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:i.__name(function(o,d,f,u,h,n,l){var t=n.length-1;switch(h){case 1:return n[t-1];case 2:this.$=[];break;case 3:n[t-1].push(n[t]),this.$=n[t-1];break;case 4:case 5:this.$=n[t];break;case 6:case 7:this.$=[];break;case 8:u.setWeekday("monday");break;case 9:u.setWeekday("tuesday");break;case 10:u.setWeekday("wednesday");break;case 11:u.setWeekday("thursday");break;case 12:u.setWeekday("friday");break;case 13:u.setWeekday("saturday");break;case 14:u.setWeekday("sunday");break;case 15:u.setWeekend("friday");break;case 16:u.setWeekend("saturday");break;case 17:u.setDateFormat(n[t].substr(11)),this.$=n[t].substr(11);break;case 18:u.enableInclusiveEndDates(),this.$=n[t].substr(18);break;case 19:u.TopAxis(),this.$=n[t].substr(8);break;case 20:u.setAxisFormat(n[t].substr(11)),this.$=n[t].substr(11);break;case 21:u.setTickInterval(n[t].substr(13)),this.$=n[t].substr(13);break;case 22:u.setExcludes(n[t].substr(9)),this.$=n[t].substr(9);break;case 23:u.setIncludes(n[t].substr(9)),this.$=n[t].substr(9);break;case 24:u.setTodayMarker(n[t].substr(12)),this.$=n[t].substr(12);break;case 27:u.setDiagramTitle(n[t].substr(6)),this.$=n[t].substr(6);break;case 28:this.$=n[t].trim(),u.setAccTitle(this.$);break;case 29:case 30:this.$=n[t].trim(),u.setAccDescription(this.$);break;case 31:u.addSection(n[t].substr(8)),this.$=n[t].substr(8);break;case 33:u.addTask(n[t-1],n[t]),this.$="task";break;case 34:this.$=n[t-1],u.setClickEvent(n[t-1],n[t],null);break;case 35:this.$=n[t-2],u.setClickEvent(n[t-2],n[t-1],n[t]);break;case 36:this.$=n[t-2],u.setClickEvent(n[t-2],n[t-1],null),u.setLink(n[t-2],n[t]);break;case 37:this.$=n[t-3],u.setClickEvent(n[t-3],n[t-2],n[t-1]),u.setLink(n[t-3],n[t]);break;case 38:this.$=n[t-2],u.setClickEvent(n[t-2],n[t],null),u.setLink(n[t-2],n[t-1]);break;case 39:this.$=n[t-3],u.setClickEvent(n[t-3],n[t-1],n[t]),u.setLink(n[t-3],n[t-2]);break;case 40:this.$=n[t-1],u.setLink(n[t-1],n[t]);break;case 41:case 47:this.$=n[t-1]+" "+n[t];break;case 42:case 43:case 45:this.$=n[t-2]+" "+n[t-1]+" "+n[t];break;case 44:case 46:this.$=n[t-3]+" "+n[t-2]+" "+n[t-1]+" "+n[t];break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},e(a,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:r,13:c,14:s,15:k,16:m,17:q,18:R,19:18,20:Y,21:E,22:F,23:N,24:W,25:O,26:x,27:Z,28:$,29:ee,30:te,31:ne,33:ae,35:ie,36:re,37:24,38:y,40:p},e(a,[2,7],{1:[2,1]}),e(a,[2,3]),{9:36,11:17,12:r,13:c,14:s,15:k,16:m,17:q,18:R,19:18,20:Y,21:E,22:F,23:N,24:W,25:O,26:x,27:Z,28:$,29:ee,30:te,31:ne,33:ae,35:ie,36:re,37:24,38:y,40:p},e(a,[2,5]),e(a,[2,6]),e(a,[2,17]),e(a,[2,18]),e(a,[2,19]),e(a,[2,20]),e(a,[2,21]),e(a,[2,22]),e(a,[2,23]),e(a,[2,24]),e(a,[2,25]),e(a,[2,26]),e(a,[2,27]),{32:[1,37]},{34:[1,38]},e(a,[2,30]),e(a,[2,31]),e(a,[2,32]),{39:[1,39]},e(a,[2,8]),e(a,[2,9]),e(a,[2,10]),e(a,[2,11]),e(a,[2,12]),e(a,[2,13]),e(a,[2,14]),e(a,[2,15]),e(a,[2,16]),{41:[1,40],43:[1,41]},e(a,[2,4]),e(a,[2,28]),e(a,[2,29]),e(a,[2,33]),e(a,[2,34],{42:[1,42],43:[1,43]}),e(a,[2,40],{41:[1,44]}),e(a,[2,35],{43:[1,45]}),e(a,[2,36]),e(a,[2,38],{42:[1,46]}),e(a,[2,37]),e(a,[2,39])],defaultActions:{},parseError:i.__name(function(o,d){if(d.recoverable)this.trace(o);else{var f=new Error(o);throw f.hash=d,f}},"parseError"),parse:i.__name(function(o){var d=this,f=[0],u=[],h=[null],n=[],l=this.table,t="",D=0,b=0,w=2,A=1,C=n.slice.call(arguments,1),S=Object.create(this.lexer),z={yy:{}};for(var ye in this.yy)Object.prototype.hasOwnProperty.call(this.yy,ye)&&(z.yy[ye]=this.yy[ye]);S.setInput(o,z.yy),z.yy.lexer=S,z.yy.parser=this,typeof S.yylloc>"u"&&(S.yylloc={});var ge=S.yylloc;n.push(ge);var tt=S.options&&S.options.ranges;typeof z.yy.parseError=="function"?this.parseError=z.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function nt(V){f.length=f.length-2*V,h.length=h.length-V,n.length=n.length-V}i.__name(nt,"popStack");function qe(){var V;return V=u.pop()||S.lex()||A,typeof V!="number"&&(V instanceof Array&&(u=V,V=u.pop()),V=d.symbols_[V]||V),V}i.__name(qe,"lex");for(var M,X,P,_e,J={},oe,U,Ve,ue;;){if(X=f[f.length-1],this.defaultActions[X]?P=this.defaultActions[X]:((M===null||typeof M>"u")&&(M=qe()),P=l[X]&&l[X][M]),typeof P>"u"||!P.length||!P[0]){var ve="";ue=[];for(oe in l[X])this.terminals_[oe]&&oe>w&&ue.push("'"+this.terminals_[oe]+"'");S.showPosition?ve="Parse error on line "+(D+1)+`:
|
|
2
2
|
`+S.showPosition()+`
|
|
3
3
|
Expecting `+ue.join(", ")+", got '"+(this.terminals_[M]||M)+"'":ve="Parse error on line "+(D+1)+": Unexpected "+(M==A?"end of input":"'"+(this.terminals_[M]||M)+"'"),this.parseError(ve,{text:S.match,token:this.terminals_[M]||M,line:S.yylineno,loc:ge,expected:ue})}if(P[0]instanceof Array&&P.length>1)throw new Error("Parse Error: multiple actions possible at state: "+X+", token: "+M);switch(P[0]){case 1:f.push(M),h.push(S.yytext),n.push(S.yylloc),f.push(P[1]),M=null,b=S.yyleng,t=S.yytext,D=S.yylineno,ge=S.yylloc;break;case 2:if(U=this.productions_[P[1]][1],J.$=h[h.length-U],J._$={first_line:n[n.length-(U||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(U||1)].first_column,last_column:n[n.length-1].last_column},tt&&(J._$.range=[n[n.length-(U||1)].range[0],n[n.length-1].range[1]]),_e=this.performAction.apply(J,[t,b,D,z.yy,P[1],h,n].concat(C)),typeof _e<"u")return _e;U&&(f=f.slice(0,-1*U*2),h=h.slice(0,-1*U),n=n.slice(0,-1*U)),f.push(this.productions_[P[1]][0]),h.push(J.$),n.push(J._$),Ve=l[f[f.length-2]][f[f.length-1]],f.push(Ve);break;case 3:return!0}}return!0},"parse")},v=(function(){var T={EOF:1,parseError:i.__name(function(d,f){if(this.yy.parser)this.yy.parser.parseError(d,f);else throw new Error(d)},"parseError"),setInput:i.__name(function(o,d){return this.yy=d||this.yy||{},this._input=o,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:i.__name(function(){var o=this._input[0];this.yytext+=o,this.yyleng++,this.offset++,this.match+=o,this.matched+=o;var d=o.match(/(?:\r\n?|\n).*/g);return d?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),o},"input"),unput:i.__name(function(o){var d=o.length,f=o.split(/(?:\r\n?|\n)/g);this._input=o+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-d),this.offset-=d;var u=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),f.length-1&&(this.yylineno-=f.length-1);var h=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:f?(f.length===u.length?this.yylloc.first_column:0)+u[u.length-f.length].length-f[0].length:this.yylloc.first_column-d},this.options.ranges&&(this.yylloc.range=[h[0],h[0]+this.yyleng-d]),this.yyleng=this.yytext.length,this},"unput"),more:i.__name(function(){return this._more=!0,this},"more"),reject:i.__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:i.__name(function(o){this.unput(this.match.slice(o))},"less"),pastInput:i.__name(function(){var o=this.matched.substr(0,this.matched.length-this.match.length);return(o.length>20?"...":"")+o.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:i.__name(function(){var o=this.match;return o.length<20&&(o+=this._input.substr(0,20-o.length)),(o.substr(0,20)+(o.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:i.__name(function(){var o=this.pastInput(),d=new Array(o.length+1).join("-");return o+this.upcomingInput()+`
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { utils_default as ie } from "./chunk-U37J5Y7L.es.js";
|
|
2
2
|
import { __name as c, getAccDescription as se, setAccDescription as ne, getDiagramTitle as ae, setDiagramTitle as oe, getAccTitle as ce, setAccTitle as le, getConfig2 as K, configureSvgSize as ue, log as mt, common_default as de, clear as fe } from "./chunk-VIW5F6AA.es.js";
|
|
3
|
-
import { d as he } from "../../../../../_virtual/index.
|
|
3
|
+
import { d as he } from "../../../../../_virtual/index.es8.js";
|
|
4
4
|
import L from "../../../../../_virtual/dayjs.min.es.js";
|
|
5
5
|
import me from "../../../../../_virtual/isoWeek.es.js";
|
|
6
6
|
import ke from "../../../../../_virtual/customParseFormat.es.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const at=require("./chunk-OMD6QJNC.cjs.js"),ie=require("./chunk-FHKO5MBM.cjs.js"),O=require("./chunk-U37J5Y7L.cjs.js"),s=require("./chunk-VIW5F6AA.cjs.js");require("../../../../d3-transition/src/selection/index.cjs.js");require("../../../../d3-zoom/src/transform.cjs.js");const Wt=require("../../../../../_virtual/index.cjs7.js"),yt=require("../../../../d3-selection/src/select.cjs.js");var kt=(function(){var e=s.__name(function(ot,b,w,L){for(w=w||{},L=ot.length;L--;w[ot[L]]=b);return w},"o"),t=[1,2],l=[1,3],a=[1,4],r=[2,4],n=[1,9],o=[1,11],d=[1,13],u=[1,14],i=[1,16],f=[1,17],T=[1,18],g=[1,24],x=[1,25],y=[1,26],v=[1,27],P=[1,28],D=[1,29],N=[1,30],B=[1,31],R=[1,32],F=[1,33],W=[1,34],U=[1,35],Z=[1,36],q=[1,37],z=[1,38],Y=[1,39],S=[1,41],G=[1,42],H=[1,43],X=[1,44],j=[1,45],k=[1,46],_=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],I=[4,5,16,50,52,53],J=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],tt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],A=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Dt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],st=[68,69,70],it=[1,122],vt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:s.__name(function(b,w,L,E,M,h,mt){var p=h.length-1;switch(M){case 3:return E.apply(h[p]),h[p];case 4:case 9:this.$=[];break;case 5:case 10:h[p-1].push(h[p]),this.$=h[p-1];break;case 6:case 7:case 11:case 12:this.$=h[p];break;case 8:case 13:this.$=[];break;case 15:h[p].type="createParticipant",this.$=h[p];break;case 16:h[p-1].unshift({type:"boxStart",boxData:E.parseBoxData(h[p-2])}),h[p-1].push({type:"boxEnd",boxText:h[p-2]}),this.$=h[p-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(h[p-2]),sequenceIndexStep:Number(h[p-1]),sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(h[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:E.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:E.LINETYPE.ACTIVE_START,actor:h[p-1].actor};break;case 23:this.$={type:"activeEnd",signalType:E.LINETYPE.ACTIVE_END,actor:h[p-1].actor};break;case 29:E.setDiagramTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 30:E.setDiagramTitle(h[p].substring(7)),this.$=h[p].substring(7);break;case 31:this.$=h[p].trim(),E.setAccTitle(this.$);break;case 32:case 33:this.$=h[p].trim(),E.setAccDescription(this.$);break;case 34:h[p-1].unshift({type:"loopStart",loopText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.LOOP_START}),h[p-1].push({type:"loopEnd",loopText:h[p-2],signalType:E.LINETYPE.LOOP_END}),this.$=h[p-1];break;case 35:h[p-1].unshift({type:"rectStart",color:E.parseMessage(h[p-2]),signalType:E.LINETYPE.RECT_START}),h[p-1].push({type:"rectEnd",color:E.parseMessage(h[p-2]),signalType:E.LINETYPE.RECT_END}),this.$=h[p-1];break;case 36:h[p-1].unshift({type:"optStart",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.OPT_START}),h[p-1].push({type:"optEnd",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.OPT_END}),this.$=h[p-1];break;case 37:h[p-1].unshift({type:"altStart",altText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.ALT_START}),h[p-1].push({type:"altEnd",signalType:E.LINETYPE.ALT_END}),this.$=h[p-1];break;case 38:h[p-1].unshift({type:"parStart",parText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.PAR_START}),h[p-1].push({type:"parEnd",signalType:E.LINETYPE.PAR_END}),this.$=h[p-1];break;case 39:h[p-1].unshift({type:"parStart",parText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.PAR_OVER_START}),h[p-1].push({type:"parEnd",signalType:E.LINETYPE.PAR_END}),this.$=h[p-1];break;case 40:h[p-1].unshift({type:"criticalStart",criticalText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.CRITICAL_START}),h[p-1].push({type:"criticalEnd",signalType:E.LINETYPE.CRITICAL_END}),this.$=h[p-1];break;case 41:h[p-1].unshift({type:"breakStart",breakText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.BREAK_START}),h[p-1].push({type:"breakEnd",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.BREAK_END}),this.$=h[p-1];break;case 43:this.$=h[p-3].concat([{type:"option",optionText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.CRITICAL_OPTION},h[p]]);break;case 45:this.$=h[p-3].concat([{type:"and",parText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.PAR_AND},h[p]]);break;case 47:this.$=h[p-3].concat([{type:"else",altText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.ALT_ELSE},h[p]]);break;case 48:h[p-3].draw="participant",h[p-3].type="addParticipant",h[p-3].description=E.parseMessage(h[p-1]),this.$=h[p-3];break;case 49:h[p-1].draw="participant",h[p-1].type="addParticipant",this.$=h[p-1];break;case 50:h[p-3].draw="actor",h[p-3].type="addParticipant",h[p-3].description=E.parseMessage(h[p-1]),this.$=h[p-3];break;case 51:h[p-1].draw="actor",h[p-1].type="addParticipant",this.$=h[p-1];break;case 52:h[p-1].type="destroyParticipant",this.$=h[p-1];break;case 53:this.$=[h[p-1],{type:"addNote",placement:h[p-2],actor:h[p-1].actor,text:h[p]}];break;case 54:h[p-2]=[].concat(h[p-1],h[p-1]).slice(0,2),h[p-2][0]=h[p-2][0].actor,h[p-2][1]=h[p-2][1].actor,this.$=[h[p-1],{type:"addNote",placement:E.PLACEMENT.OVER,actor:h[p-2].slice(0,2),text:h[p]}];break;case 55:this.$=[h[p-1],{type:"addLinks",actor:h[p-1].actor,text:h[p]}];break;case 56:this.$=[h[p-1],{type:"addALink",actor:h[p-1].actor,text:h[p]}];break;case 57:this.$=[h[p-1],{type:"addProperties",actor:h[p-1].actor,text:h[p]}];break;case 58:this.$=[h[p-1],{type:"addDetails",actor:h[p-1].actor,text:h[p]}];break;case 61:this.$=[h[p-2],h[p]];break;case 62:this.$=h[p];break;case 63:this.$=E.PLACEMENT.LEFTOF;break;case 64:this.$=E.PLACEMENT.RIGHTOF;break;case 65:this.$=[h[p-4],h[p-1],{type:"addMessage",from:h[p-4].actor,to:h[p-1].actor,signalType:h[p-3],msg:h[p],activate:!0},{type:"activeStart",signalType:E.LINETYPE.ACTIVE_START,actor:h[p-1].actor}];break;case 66:this.$=[h[p-4],h[p-1],{type:"addMessage",from:h[p-4].actor,to:h[p-1].actor,signalType:h[p-3],msg:h[p]},{type:"activeEnd",signalType:E.LINETYPE.ACTIVE_END,actor:h[p-4].actor}];break;case 67:this.$=[h[p-3],h[p-1],{type:"addMessage",from:h[p-3].actor,to:h[p-1].actor,signalType:h[p-2],msg:h[p]}];break;case 68:this.$={type:"addParticipant",actor:h[p]};break;case 69:this.$=E.LINETYPE.SOLID_OPEN;break;case 70:this.$=E.LINETYPE.DOTTED_OPEN;break;case 71:this.$=E.LINETYPE.SOLID;break;case 72:this.$=E.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=E.LINETYPE.DOTTED;break;case 74:this.$=E.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=E.LINETYPE.SOLID_CROSS;break;case 76:this.$=E.LINETYPE.DOTTED_CROSS;break;case 77:this.$=E.LINETYPE.SOLID_POINT;break;case 78:this.$=E.LINETYPE.DOTTED_POINT;break;case 79:this.$=E.parseMessage(h[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:l,6:a},{1:[3]},{3:5,4:t,5:l,6:a},{3:6,4:t,5:l,6:a},e([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,12:12,13:d,14:u,17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},e(_,[2,5]),{9:47,12:12,13:d,14:u,17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},e(_,[2,7]),e(_,[2,8]),e(_,[2,14]),{12:48,50:q,52:z,53:Y},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:k},{22:55,70:k},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(_,[2,29]),e(_,[2,30]),{32:[1,61]},{34:[1,62]},e(_,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:k},{22:72,70:k},{22:73,70:k},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:k},{22:90,70:k},{22:91,70:k},{22:92,70:k},e([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),e(_,[2,6]),e(_,[2,15]),e(I,[2,9],{10:93}),e(_,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},e(_,[2,21]),{5:[1,97]},{5:[1,98]},e(_,[2,24]),e(_,[2,25]),e(_,[2,26]),e(_,[2,27]),e(_,[2,28]),e(_,[2,31]),e(_,[2,32]),e(J,r,{7:99}),e(J,r,{7:100}),e(J,r,{7:101}),e(tt,r,{40:102,7:103}),e(A,r,{42:104,7:105}),e(A,r,{7:105,42:106}),e(Dt,r,{45:107,7:108}),e(J,r,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:k},e(st,[2,69]),e(st,[2,70]),e(st,[2,71]),e(st,[2,72]),e(st,[2,73]),e(st,[2,74]),e(st,[2,75]),e(st,[2,76]),e(st,[2,77]),e(st,[2,78]),{22:118,70:k},{22:120,58:119,70:k},{70:[2,63]},{70:[2,64]},{56:121,81:it},{56:123,81:it},{56:124,81:it},{56:125,81:it},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:q,52:z,53:Y},{5:[1,131]},e(_,[2,19]),e(_,[2,20]),e(_,[2,22]),e(_,[2,23]),{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,132],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,133],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,134],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{16:[1,135]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,46],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,49:[1,136],50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{16:[1,137]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,44],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,48:[1,138],50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{16:[1,139]},{16:[1,140]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,42],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,47:[1,141],50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,142],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{15:[1,143]},e(_,[2,49]),{15:[1,144]},e(_,[2,51]),e(_,[2,52]),{22:145,70:k},{22:146,70:k},{56:147,81:it},{56:148,81:it},{56:149,81:it},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},e(_,[2,16]),e(I,[2,10]),{12:151,50:q,52:z,53:Y},e(I,[2,12]),e(I,[2,13]),e(_,[2,18]),e(_,[2,34]),e(_,[2,35]),e(_,[2,36]),e(_,[2,37]),{15:[1,152]},e(_,[2,38]),{15:[1,153]},e(_,[2,39]),e(_,[2,40]),{15:[1,154]},e(_,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:it},{56:158,81:it},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:k},e(I,[2,11]),e(tt,r,{7:103,40:160}),e(A,r,{7:105,42:161}),e(Dt,r,{7:108,45:162}),e(_,[2,48]),e(_,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:s.__name(function(b,w){if(w.recoverable)this.trace(b);else{var L=new Error(b);throw L.hash=w,L}},"parseError"),parse:s.__name(function(b){var w=this,L=[0],E=[],M=[null],h=[],mt=this.table,p="",_t=0,Ct=0,ee=2,Ot=1,ae=h.slice.call(arguments,1),V=Object.create(this.lexer),ct={yy:{}};for(var It in this.yy)Object.prototype.hasOwnProperty.call(this.yy,It)&&(ct.yy[It]=this.yy[It]);V.setInput(b,ct.yy),ct.yy.lexer=V,ct.yy.parser=this,typeof V.yylloc>"u"&&(V.yylloc={});var Lt=V.yylloc;h.push(Lt);var se=V.options&&V.options.ranges;typeof ct.yy.parseError=="function"?this.parseError=ct.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(Q){L.length=L.length-2*Q,M.length=M.length-Q,h.length=h.length-Q}s.__name(re,"popStack");function Bt(){var Q;return Q=E.pop()||V.lex()||Ot,typeof Q!="number"&&(Q instanceof Array&&(E=Q,Q=E.pop()),Q=w.symbols_[Q]||Q),Q}s.__name(Bt,"lex");for(var K,lt,$,Pt,ut={},Tt,nt,Vt,Et;;){if(lt=L[L.length-1],this.defaultActions[lt]?$=this.defaultActions[lt]:((K===null||typeof K>"u")&&(K=Bt()),$=mt[lt]&&mt[lt][K]),typeof $>"u"||!$.length||!$[0]){var At="";Et=[];for(Tt in mt[lt])this.terminals_[Tt]&&Tt>ee&&Et.push("'"+this.terminals_[Tt]+"'");V.showPosition?At="Parse error on line "+(_t+1)+`:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const at=require("./chunk-OMD6QJNC.cjs.js"),ie=require("./chunk-FHKO5MBM.cjs.js"),O=require("./chunk-U37J5Y7L.cjs.js"),s=require("./chunk-VIW5F6AA.cjs.js");require("../../../../d3-transition/src/selection/index.cjs.js");require("../../../../d3-zoom/src/transform.cjs.js");const Wt=require("../../../../../_virtual/index.cjs8.js"),yt=require("../../../../d3-selection/src/select.cjs.js");var kt=(function(){var e=s.__name(function(ot,b,w,L){for(w=w||{},L=ot.length;L--;w[ot[L]]=b);return w},"o"),t=[1,2],l=[1,3],a=[1,4],r=[2,4],n=[1,9],o=[1,11],d=[1,13],u=[1,14],i=[1,16],f=[1,17],T=[1,18],g=[1,24],x=[1,25],y=[1,26],v=[1,27],P=[1,28],D=[1,29],N=[1,30],B=[1,31],R=[1,32],F=[1,33],W=[1,34],U=[1,35],Z=[1,36],q=[1,37],z=[1,38],Y=[1,39],S=[1,41],G=[1,42],H=[1,43],X=[1,44],j=[1,45],k=[1,46],_=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],I=[4,5,16,50,52,53],J=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],tt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],A=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],Dt=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],st=[68,69,70],it=[1,122],vt={trace:s.__name(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,BIDIRECTIONAL_SOLID_ARROW:74,DOTTED_ARROW:75,BIDIRECTIONAL_DOTTED_ARROW:76,SOLID_CROSS:77,DOTTED_CROSS:78,SOLID_POINT:79,DOTTED_POINT:80,TXT:81,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"BIDIRECTIONAL_SOLID_ARROW",75:"DOTTED_ARROW",76:"BIDIRECTIONAL_DOTTED_ARROW",77:"SOLID_CROSS",78:"DOTTED_CROSS",79:"SOLID_POINT",80:"DOTTED_POINT",81:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:s.__name(function(b,w,L,E,M,h,mt){var p=h.length-1;switch(M){case 3:return E.apply(h[p]),h[p];case 4:case 9:this.$=[];break;case 5:case 10:h[p-1].push(h[p]),this.$=h[p-1];break;case 6:case 7:case 11:case 12:this.$=h[p];break;case 8:case 13:this.$=[];break;case 15:h[p].type="createParticipant",this.$=h[p];break;case 16:h[p-1].unshift({type:"boxStart",boxData:E.parseBoxData(h[p-2])}),h[p-1].push({type:"boxEnd",boxText:h[p-2]}),this.$=h[p-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(h[p-2]),sequenceIndexStep:Number(h[p-1]),sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(h[p-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:E.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:E.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:E.LINETYPE.ACTIVE_START,actor:h[p-1].actor};break;case 23:this.$={type:"activeEnd",signalType:E.LINETYPE.ACTIVE_END,actor:h[p-1].actor};break;case 29:E.setDiagramTitle(h[p].substring(6)),this.$=h[p].substring(6);break;case 30:E.setDiagramTitle(h[p].substring(7)),this.$=h[p].substring(7);break;case 31:this.$=h[p].trim(),E.setAccTitle(this.$);break;case 32:case 33:this.$=h[p].trim(),E.setAccDescription(this.$);break;case 34:h[p-1].unshift({type:"loopStart",loopText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.LOOP_START}),h[p-1].push({type:"loopEnd",loopText:h[p-2],signalType:E.LINETYPE.LOOP_END}),this.$=h[p-1];break;case 35:h[p-1].unshift({type:"rectStart",color:E.parseMessage(h[p-2]),signalType:E.LINETYPE.RECT_START}),h[p-1].push({type:"rectEnd",color:E.parseMessage(h[p-2]),signalType:E.LINETYPE.RECT_END}),this.$=h[p-1];break;case 36:h[p-1].unshift({type:"optStart",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.OPT_START}),h[p-1].push({type:"optEnd",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.OPT_END}),this.$=h[p-1];break;case 37:h[p-1].unshift({type:"altStart",altText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.ALT_START}),h[p-1].push({type:"altEnd",signalType:E.LINETYPE.ALT_END}),this.$=h[p-1];break;case 38:h[p-1].unshift({type:"parStart",parText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.PAR_START}),h[p-1].push({type:"parEnd",signalType:E.LINETYPE.PAR_END}),this.$=h[p-1];break;case 39:h[p-1].unshift({type:"parStart",parText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.PAR_OVER_START}),h[p-1].push({type:"parEnd",signalType:E.LINETYPE.PAR_END}),this.$=h[p-1];break;case 40:h[p-1].unshift({type:"criticalStart",criticalText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.CRITICAL_START}),h[p-1].push({type:"criticalEnd",signalType:E.LINETYPE.CRITICAL_END}),this.$=h[p-1];break;case 41:h[p-1].unshift({type:"breakStart",breakText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.BREAK_START}),h[p-1].push({type:"breakEnd",optText:E.parseMessage(h[p-2]),signalType:E.LINETYPE.BREAK_END}),this.$=h[p-1];break;case 43:this.$=h[p-3].concat([{type:"option",optionText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.CRITICAL_OPTION},h[p]]);break;case 45:this.$=h[p-3].concat([{type:"and",parText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.PAR_AND},h[p]]);break;case 47:this.$=h[p-3].concat([{type:"else",altText:E.parseMessage(h[p-1]),signalType:E.LINETYPE.ALT_ELSE},h[p]]);break;case 48:h[p-3].draw="participant",h[p-3].type="addParticipant",h[p-3].description=E.parseMessage(h[p-1]),this.$=h[p-3];break;case 49:h[p-1].draw="participant",h[p-1].type="addParticipant",this.$=h[p-1];break;case 50:h[p-3].draw="actor",h[p-3].type="addParticipant",h[p-3].description=E.parseMessage(h[p-1]),this.$=h[p-3];break;case 51:h[p-1].draw="actor",h[p-1].type="addParticipant",this.$=h[p-1];break;case 52:h[p-1].type="destroyParticipant",this.$=h[p-1];break;case 53:this.$=[h[p-1],{type:"addNote",placement:h[p-2],actor:h[p-1].actor,text:h[p]}];break;case 54:h[p-2]=[].concat(h[p-1],h[p-1]).slice(0,2),h[p-2][0]=h[p-2][0].actor,h[p-2][1]=h[p-2][1].actor,this.$=[h[p-1],{type:"addNote",placement:E.PLACEMENT.OVER,actor:h[p-2].slice(0,2),text:h[p]}];break;case 55:this.$=[h[p-1],{type:"addLinks",actor:h[p-1].actor,text:h[p]}];break;case 56:this.$=[h[p-1],{type:"addALink",actor:h[p-1].actor,text:h[p]}];break;case 57:this.$=[h[p-1],{type:"addProperties",actor:h[p-1].actor,text:h[p]}];break;case 58:this.$=[h[p-1],{type:"addDetails",actor:h[p-1].actor,text:h[p]}];break;case 61:this.$=[h[p-2],h[p]];break;case 62:this.$=h[p];break;case 63:this.$=E.PLACEMENT.LEFTOF;break;case 64:this.$=E.PLACEMENT.RIGHTOF;break;case 65:this.$=[h[p-4],h[p-1],{type:"addMessage",from:h[p-4].actor,to:h[p-1].actor,signalType:h[p-3],msg:h[p],activate:!0},{type:"activeStart",signalType:E.LINETYPE.ACTIVE_START,actor:h[p-1].actor}];break;case 66:this.$=[h[p-4],h[p-1],{type:"addMessage",from:h[p-4].actor,to:h[p-1].actor,signalType:h[p-3],msg:h[p]},{type:"activeEnd",signalType:E.LINETYPE.ACTIVE_END,actor:h[p-4].actor}];break;case 67:this.$=[h[p-3],h[p-1],{type:"addMessage",from:h[p-3].actor,to:h[p-1].actor,signalType:h[p-2],msg:h[p]}];break;case 68:this.$={type:"addParticipant",actor:h[p]};break;case 69:this.$=E.LINETYPE.SOLID_OPEN;break;case 70:this.$=E.LINETYPE.DOTTED_OPEN;break;case 71:this.$=E.LINETYPE.SOLID;break;case 72:this.$=E.LINETYPE.BIDIRECTIONAL_SOLID;break;case 73:this.$=E.LINETYPE.DOTTED;break;case 74:this.$=E.LINETYPE.BIDIRECTIONAL_DOTTED;break;case 75:this.$=E.LINETYPE.SOLID_CROSS;break;case 76:this.$=E.LINETYPE.DOTTED_CROSS;break;case 77:this.$=E.LINETYPE.SOLID_POINT;break;case 78:this.$=E.LINETYPE.DOTTED_POINT;break;case 79:this.$=E.parseMessage(h[p].trim().substring(1));break}},"anonymous"),table:[{3:1,4:t,5:l,6:a},{1:[3]},{3:5,4:t,5:l,6:a},{3:6,4:t,5:l,6:a},e([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,12:12,13:d,14:u,17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},e(_,[2,5]),{9:47,12:12,13:d,14:u,17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},e(_,[2,7]),e(_,[2,8]),e(_,[2,14]),{12:48,50:q,52:z,53:Y},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:k},{22:55,70:k},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},e(_,[2,29]),e(_,[2,30]),{32:[1,61]},{34:[1,62]},e(_,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:k},{22:72,70:k},{22:73,70:k},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82],79:[1,83],80:[1,84]},{55:85,57:[1,86],65:[1,87],66:[1,88]},{22:89,70:k},{22:90,70:k},{22:91,70:k},{22:92,70:k},e([5,51,64,71,72,73,74,75,76,77,78,79,80,81],[2,68]),e(_,[2,6]),e(_,[2,15]),e(I,[2,9],{10:93}),e(_,[2,17]),{5:[1,95],19:[1,94]},{5:[1,96]},e(_,[2,21]),{5:[1,97]},{5:[1,98]},e(_,[2,24]),e(_,[2,25]),e(_,[2,26]),e(_,[2,27]),e(_,[2,28]),e(_,[2,31]),e(_,[2,32]),e(J,r,{7:99}),e(J,r,{7:100}),e(J,r,{7:101}),e(tt,r,{40:102,7:103}),e(A,r,{42:104,7:105}),e(A,r,{7:105,42:106}),e(Dt,r,{45:107,7:108}),e(J,r,{7:109}),{5:[1,111],51:[1,110]},{5:[1,113],51:[1,112]},{5:[1,114]},{22:117,68:[1,115],69:[1,116],70:k},e(st,[2,69]),e(st,[2,70]),e(st,[2,71]),e(st,[2,72]),e(st,[2,73]),e(st,[2,74]),e(st,[2,75]),e(st,[2,76]),e(st,[2,77]),e(st,[2,78]),{22:118,70:k},{22:120,58:119,70:k},{70:[2,63]},{70:[2,64]},{56:121,81:it},{56:123,81:it},{56:124,81:it},{56:125,81:it},{4:[1,128],5:[1,130],11:127,12:129,16:[1,126],50:q,52:z,53:Y},{5:[1,131]},e(_,[2,19]),e(_,[2,20]),e(_,[2,22]),e(_,[2,23]),{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,132],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,133],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,134],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{16:[1,135]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,46],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,49:[1,136],50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{16:[1,137]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,44],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,48:[1,138],50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{16:[1,139]},{16:[1,140]},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[2,42],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,47:[1,141],50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{4:n,5:o,8:8,9:10,12:12,13:d,14:u,16:[1,142],17:15,18:i,21:f,22:40,23:T,24:19,25:20,26:21,27:22,28:23,29:g,30:x,31:y,33:v,35:P,36:D,37:N,38:B,39:R,41:F,43:W,44:U,46:Z,50:q,52:z,53:Y,54:S,59:G,60:H,61:X,62:j,70:k},{15:[1,143]},e(_,[2,49]),{15:[1,144]},e(_,[2,51]),e(_,[2,52]),{22:145,70:k},{22:146,70:k},{56:147,81:it},{56:148,81:it},{56:149,81:it},{64:[1,150],81:[2,62]},{5:[2,55]},{5:[2,79]},{5:[2,56]},{5:[2,57]},{5:[2,58]},e(_,[2,16]),e(I,[2,10]),{12:151,50:q,52:z,53:Y},e(I,[2,12]),e(I,[2,13]),e(_,[2,18]),e(_,[2,34]),e(_,[2,35]),e(_,[2,36]),e(_,[2,37]),{15:[1,152]},e(_,[2,38]),{15:[1,153]},e(_,[2,39]),e(_,[2,40]),{15:[1,154]},e(_,[2,41]),{5:[1,155]},{5:[1,156]},{56:157,81:it},{56:158,81:it},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:159,70:k},e(I,[2,11]),e(tt,r,{7:103,40:160}),e(A,r,{7:105,42:161}),e(Dt,r,{7:108,45:162}),e(_,[2,48]),e(_,[2,50]),{5:[2,65]},{5:[2,66]},{81:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],87:[2,63],88:[2,64],121:[2,55],122:[2,79],123:[2,56],124:[2,57],125:[2,58],147:[2,67],148:[2,53],149:[2,54],157:[2,65],158:[2,66],159:[2,61],160:[2,47],161:[2,45],162:[2,43]},parseError:s.__name(function(b,w){if(w.recoverable)this.trace(b);else{var L=new Error(b);throw L.hash=w,L}},"parseError"),parse:s.__name(function(b){var w=this,L=[0],E=[],M=[null],h=[],mt=this.table,p="",_t=0,Ct=0,ee=2,Ot=1,ae=h.slice.call(arguments,1),V=Object.create(this.lexer),ct={yy:{}};for(var It in this.yy)Object.prototype.hasOwnProperty.call(this.yy,It)&&(ct.yy[It]=this.yy[It]);V.setInput(b,ct.yy),ct.yy.lexer=V,ct.yy.parser=this,typeof V.yylloc>"u"&&(V.yylloc={});var Lt=V.yylloc;h.push(Lt);var se=V.options&&V.options.ranges;typeof ct.yy.parseError=="function"?this.parseError=ct.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function re(Q){L.length=L.length-2*Q,M.length=M.length-Q,h.length=h.length-Q}s.__name(re,"popStack");function Bt(){var Q;return Q=E.pop()||V.lex()||Ot,typeof Q!="number"&&(Q instanceof Array&&(E=Q,Q=E.pop()),Q=w.symbols_[Q]||Q),Q}s.__name(Bt,"lex");for(var K,lt,$,Pt,ut={},Tt,nt,Vt,Et;;){if(lt=L[L.length-1],this.defaultActions[lt]?$=this.defaultActions[lt]:((K===null||typeof K>"u")&&(K=Bt()),$=mt[lt]&&mt[lt][K]),typeof $>"u"||!$.length||!$[0]){var At="";Et=[];for(Tt in mt[lt])this.terminals_[Tt]&&Tt>ee&&Et.push("'"+this.terminals_[Tt]+"'");V.showPosition?At="Parse error on line "+(_t+1)+`:
|
|
2
2
|
`+V.showPosition()+`
|
|
3
3
|
Expecting `+Et.join(", ")+", got '"+(this.terminals_[K]||K)+"'":At="Parse error on line "+(_t+1)+": Unexpected "+(K==Ot?"end of input":"'"+(this.terminals_[K]||K)+"'"),this.parseError(At,{text:V.match,token:this.terminals_[K]||K,line:V.yylineno,loc:Lt,expected:Et})}if($[0]instanceof Array&&$.length>1)throw new Error("Parse Error: multiple actions possible at state: "+lt+", token: "+K);switch($[0]){case 1:L.push(K),M.push(V.yytext),h.push(V.yylloc),L.push($[1]),K=null,Ct=V.yyleng,p=V.yytext,_t=V.yylineno,Lt=V.yylloc;break;case 2:if(nt=this.productions_[$[1]][1],ut.$=M[M.length-nt],ut._$={first_line:h[h.length-(nt||1)].first_line,last_line:h[h.length-1].last_line,first_column:h[h.length-(nt||1)].first_column,last_column:h[h.length-1].last_column},se&&(ut._$.range=[h[h.length-(nt||1)].range[0],h[h.length-1].range[1]]),Pt=this.performAction.apply(ut,[p,Ct,_t,ct.yy,$[1],M,h].concat(ae)),typeof Pt<"u")return Pt;nt&&(L=L.slice(0,-1*nt*2),M=M.slice(0,-1*nt),h=h.slice(0,-1*nt)),L.push(this.productions_[$[1]][0]),M.push(ut.$),h.push(ut._$),Vt=mt[L[L.length-2]][L[L.length-1]],L.push(Vt);break;case 3:return!0}}return!0},"parse")},te=(function(){var ot={EOF:1,parseError:s.__name(function(w,L){if(this.yy.parser)this.yy.parser.parseError(w,L);else throw new Error(w)},"parseError"),setInput:s.__name(function(b,w){return this.yy=w||this.yy||{},this._input=b,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:s.__name(function(){var b=this._input[0];this.yytext+=b,this.yyleng++,this.offset++,this.match+=b,this.matched+=b;var w=b.match(/(?:\r\n?|\n).*/g);return w?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),b},"input"),unput:s.__name(function(b){var w=b.length,L=b.split(/(?:\r\n?|\n)/g);this._input=b+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-w),this.offset-=w;var E=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),L.length-1&&(this.yylineno-=L.length-1);var M=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:L?(L.length===E.length?this.yylloc.first_column:0)+E[E.length-L.length].length-L[0].length:this.yylloc.first_column-w},this.options.ranges&&(this.yylloc.range=[M[0],M[0]+this.yyleng-w]),this.yyleng=this.yytext.length,this},"unput"),more:s.__name(function(){return this._more=!0,this},"more"),reject:s.__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:s.__name(function(b){this.unput(this.match.slice(b))},"less"),pastInput:s.__name(function(){var b=this.matched.substr(0,this.matched.length-this.match.length);return(b.length>20?"...":"")+b.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:s.__name(function(){var b=this.match;return b.length<20&&(b+=this._input.substr(0,20-b.length)),(b.substr(0,20)+(b.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:s.__name(function(){var b=this.pastInput(),w=new Array(b.length+1).join("-");return b+this.upcomingInput()+`
|
|
@@ -4,7 +4,7 @@ import { utils_default as Y, parseFontSize as Qt, ZERO_WIDTH_SPACE as me } from
|
|
|
4
4
|
import { __name as u, setConfig2 as we, getConfig2 as $, log as G, configureSvgSize as ve, assignWithDepth_default as Ie, common_default as v, setAccTitle as Gt, setAccDescription as Le, setDiagramTitle as _e, getAccTitle as Pe, getAccDescription as Ae, getDiagramTitle as ke, clear as Ne, sanitizeText as Lt, hasKatex as ot, calculateMathMLDimensions as bt, getUrl as Se, renderKatexSanitized as Zt, getConfig as Ct } from "./chunk-VIW5F6AA.es.js";
|
|
5
5
|
import "../../../../d3-transition/src/selection/index.es.js";
|
|
6
6
|
import "../../../../d3-zoom/src/transform.es.js";
|
|
7
|
-
import { d as jt } from "../../../../../_virtual/index.
|
|
7
|
+
import { d as jt } from "../../../../../_virtual/index.es8.js";
|
|
8
8
|
import _t from "../../../../d3-selection/src/select.es.js";
|
|
9
9
|
var Ot = (function() {
|
|
10
10
|
var e = /* @__PURE__ */ u(function(ht, w, I, P) {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../_virtual/index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../../../_virtual/index.cjs9.js"),c=require("../../inline-style-parser/index.cjs.js");var o;function v(){if(o)return r.__exports;o=1;var f=r.__exports&&r.__exports.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r.__exports,"__esModule",{value:!0}),r.__exports.default=a;var s=f(c.__require());function a(e,n){var t=null;if(!e||typeof e!="string")return t;var p=(0,s.default)(e),l=typeof n=="function";return p.forEach(function(u){if(u.type==="declaration"){var i=u.property,_=u.value;l?n(i,_,u):_&&(t=t||{},t[i]=_)}}),t}return r.__exports}exports.__require=v;
|
|
2
2
|
//# sourceMappingURL=index.cjs.js.map
|