@nivora/matrix 0.3.12 → 0.4.1
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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +12 -9
- package/.next/build-manifest.json +6 -6
- package/.next/prerender-manifest.json +3 -3
- package/.next/react-loadable-manifest.json +251 -6
- package/.next/routes-manifest.json +20 -0
- package/.next/server/app/_global-error/page.js +2 -2
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +7 -7
- package/.next/server/app/_global-error.segments/_full.segment.rsc +7 -7
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_head.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_index.segment.rsc +3 -3
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page.js +2 -2
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +11 -11
- package/.next/server/app/_not-found.segments/_full.segment.rsc +11 -11
- package/.next/server/app/_not-found.segments/_head.segment.rsc +4 -4
- package/.next/server/app/_not-found.segments/_index.segment.rsc +6 -6
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +3 -3
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js.nft.json +1 -1
- package/.next/server/app/matrix/page.js +2 -2
- package/.next/server/app/matrix/page.js.nft.json +1 -1
- package/.next/server/app/matrix/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page.js +2 -2
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/releases/[id]/page.js +7 -245
- package/.next/server/app/releases/[id]/page.js.nft.json +1 -1
- package/.next/server/app/releases/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/releases/page.js +2 -240
- package/.next/server/app/releases/page.js.nft.json +1 -1
- package/.next/server/app/releases/page_client-reference-manifest.js +1 -1
- package/.next/server/app/specs/[id]/page.js +2 -2
- package/.next/server/app/specs/[id]/page.js.nft.json +1 -1
- package/.next/server/app/specs/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/archive/page.js +2 -2
- package/.next/server/app/traceability/archive/page.js.nft.json +1 -1
- package/.next/server/app/traceability/archive/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/design/[id]/page.js +2 -0
- package/.next/server/app/traceability/design/[id]/page.js.nft.json +1 -0
- package/.next/server/app/traceability/design/[id]/page_client-reference-manifest.js +1 -0
- package/.next/server/app/traceability/design/new/page.js +2 -0
- package/.next/server/app/traceability/design/new/page.js.nft.json +1 -0
- package/.next/server/app/traceability/design/new/page_client-reference-manifest.js +1 -0
- package/.next/server/app/traceability/design/page.js +2 -0
- package/.next/server/app/traceability/design/page.js.nft.json +1 -0
- package/.next/server/app/traceability/design/page_client-reference-manifest.js +1 -0
- package/.next/server/app/traceability/fs/[id]/page.js +3 -3
- package/.next/server/app/traceability/fs/[id]/page.js.nft.json +1 -1
- package/.next/server/app/traceability/fs/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/fs/page.js +2 -2
- package/.next/server/app/traceability/fs/page.js.nft.json +1 -1
- package/.next/server/app/traceability/fs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/page.js +2 -2
- package/.next/server/app/traceability/page.js.nft.json +1 -1
- package/.next/server/app/traceability/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/risk/[id]/page.js +2 -2
- package/.next/server/app/traceability/risk/[id]/page.js.nft.json +1 -1
- package/.next/server/app/traceability/risk/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/risk/page.js +2 -2
- package/.next/server/app/traceability/risk/page.js.nft.json +1 -1
- package/.next/server/app/traceability/risk/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/urs/[id]/page.js +2 -2
- package/.next/server/app/traceability/urs/[id]/page.js.nft.json +1 -1
- package/.next/server/app/traceability/urs/[id]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/traceability/urs/page.js +1 -1
- package/.next/server/app/traceability/urs/page.js.nft.json +1 -1
- package/.next/server/app/traceability/urs/page_client-reference-manifest.js +1 -1
- package/.next/server/app-paths-manifest.json +12 -9
- package/.next/server/chunks/1001.js +41 -0
- package/.next/server/chunks/1030.js +1 -0
- package/.next/server/chunks/1058.js +1 -0
- package/.next/server/chunks/120.js +1 -0
- package/.next/server/chunks/1205.js +1 -0
- package/.next/server/chunks/1361.js +62 -0
- package/.next/server/chunks/1687.js +1 -0
- package/.next/server/chunks/2002.js +262 -0
- package/.next/server/chunks/2146.js +1 -0
- package/.next/server/chunks/{476.js → 2160.js} +2 -2
- package/.next/server/chunks/2325.js +60 -0
- package/.next/server/chunks/3274.js +136 -0
- package/.next/server/chunks/{445.js → 3445.js} +1 -1
- package/.next/server/chunks/3504.js +1 -0
- package/.next/server/chunks/3870.js +1 -0
- package/.next/server/chunks/4228.js +1 -0
- package/.next/server/chunks/4322.js +43 -0
- package/.next/server/chunks/4379.js +5 -0
- package/.next/server/chunks/4405.js +63 -0
- package/.next/server/chunks/4643.js +1 -0
- package/.next/server/chunks/4694.js +55 -0
- package/.next/server/chunks/4696.js +1 -0
- package/.next/server/chunks/4977.js +1 -0
- package/.next/server/chunks/515.js +1 -0
- package/.next/server/chunks/{658.js → 5352.js} +63 -2
- package/.next/server/chunks/5460.js +201 -0
- package/.next/server/chunks/549.js +1 -0
- package/.next/server/chunks/5899.js +36 -0
- package/.next/server/chunks/5935.js +24 -0
- package/.next/server/chunks/5943.js +93 -0
- package/.next/server/chunks/6164.js +1 -0
- package/.next/server/chunks/6346.js +1 -0
- package/.next/server/chunks/6542.js +148 -0
- package/.next/server/chunks/6589.js +24 -0
- package/.next/server/chunks/6658.js +236 -0
- package/.next/server/chunks/6980.js +1 -0
- package/.next/server/chunks/7135.js +1 -0
- package/.next/server/chunks/720.js +1 -0
- package/.next/server/chunks/7307.js +1 -0
- package/.next/server/chunks/7390.js +1 -0
- package/.next/server/chunks/7391.js +1 -0
- package/.next/server/chunks/{471.js → 7471.js} +1 -1
- package/.next/server/chunks/7792.js +1 -0
- package/.next/server/chunks/7919.js +4 -0
- package/.next/server/chunks/{907.js → 7954.js} +44 -2
- package/.next/server/chunks/802.js +131 -0
- package/.next/server/chunks/8142.js +1 -0
- package/.next/server/chunks/8167.js +1 -0
- package/.next/server/chunks/8212.js +174 -0
- package/.next/server/chunks/8350.js +215 -0
- package/.next/server/chunks/8734.js +59 -0
- package/.next/server/chunks/8818.js +29 -0
- package/.next/server/chunks/8921.js +56 -0
- package/.next/server/chunks/9109.js +1 -0
- package/.next/server/chunks/9231.js +60 -0
- package/.next/server/chunks/9252.js +1 -0
- package/.next/server/chunks/9285.js +166 -0
- package/.next/server/chunks/972.js +1 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/static/chunks/0dbeb660-d1591a6fb5c3509e.js +53 -0
- package/.next/static/chunks/1157-41840e6b30f8aab3.js +1 -0
- package/.next/static/chunks/1371.e9c049ff15fa0424.js +24 -0
- package/.next/static/chunks/1455.4b25458cc615feec.js +1 -0
- package/.next/static/chunks/1633.5050d8d1007aa587.js +1 -0
- package/.next/static/chunks/1816.a66aacf78a1f2b9e.js +1 -0
- package/.next/static/chunks/213-b6da81c7f9f1689d.js +1 -0
- package/.next/static/chunks/2594-b6da81c7f9f1689d.js +1 -0
- package/.next/static/chunks/2765.8adcf70b75e6aeef.js +4 -0
- package/.next/static/chunks/288.eec78353ed692c58.js +1 -0
- package/.next/static/chunks/2947.f836f6410050c641.js +56 -0
- package/.next/static/chunks/2951.8c1f9418d93f794e.js +1 -0
- package/.next/static/chunks/2cdb6380.d41c2c1792d85cbd.js +136 -0
- package/.next/static/chunks/3164.23a30fb4d0160788.js +1 -0
- package/.next/static/chunks/3197.d8e82b560a160022.js +1 -0
- package/.next/static/chunks/3242.bb0fe7b7913ef780.js +262 -0
- package/.next/static/chunks/3398.dcb200a913a6c354.js +59 -0
- package/.next/static/chunks/3477.ec9165cd3e012b87.js +1 -0
- package/.next/static/chunks/3619.14ab2b037411c8dd.js +1 -0
- package/.next/static/chunks/3794-81fca6cc7041ced6.js +2 -0
- package/.next/static/chunks/4016-aa5761d6944c564e.js +60 -0
- package/.next/static/chunks/4410.667e7a91b32268d8.js +1 -0
- package/.next/static/chunks/448.00c3a4af8c45f64c.js +1 -0
- package/.next/static/chunks/4631.fb52c10c618eda8d.js +166 -0
- package/.next/static/chunks/4839.47666b4d0dd6793d.js +63 -0
- package/.next/static/chunks/4bd1b696-1400c1b9494d4acb.js +1 -0
- package/.next/static/chunks/5176.4f4e736e3be7cf15.js +55 -0
- package/.next/static/chunks/5290.d0e93eb9d345026e.js +174 -0
- package/.next/static/chunks/5838.5c3810ae9f41fb2d.js +148 -0
- package/.next/static/chunks/6034.4c6801c982ca9779.js +1 -0
- package/.next/static/chunks/6173.85c05df7afadd80f.js +1 -0
- package/.next/static/chunks/6184.1deabc6af2557dbb.js +1 -0
- package/.next/static/chunks/6257.4802e493b197340d.js +5 -0
- package/.next/static/chunks/628.38b81cd56aaf4cf1.js +1 -0
- package/.next/static/chunks/6454.7f2f7cf37c6cb691.js +29 -0
- package/.next/static/chunks/6971.ffe28a433af5503c.js +1 -0
- package/.next/static/chunks/7048.fae262ca1df0ad90.js +215 -0
- package/.next/static/chunks/7465.55e7c3c6cc146535.js +93 -0
- package/.next/static/chunks/7874.574b3fc13af99551.js +1 -0
- package/.next/static/chunks/8037.c5f9113a6cb1dbb7.js +1 -0
- package/.next/static/chunks/8284.b907c17d2a294557.js +43 -0
- package/.next/static/chunks/8365.9b15b21e000887e5.js +36 -0
- package/.next/static/chunks/8486.357508328aef1d93.js +131 -0
- package/.next/static/chunks/8500-27e7d9770d119ae1.js +1 -0
- package/.next/static/chunks/8776-c5f9302cd8f68651.js +149 -0
- package/.next/static/chunks/8863.b065187bd644df7b.js +60 -0
- package/.next/static/chunks/8904.c3becf8cf19ec1eb.js +1 -0
- package/.next/static/chunks/90542734.d84bb73ebd95167a.js +1 -0
- package/.next/static/chunks/9133.c96e717400860724.js +24 -0
- package/.next/static/chunks/9203.577b14724e972a55.js +62 -0
- package/.next/static/chunks/9447.55ff38194a755c72.js +1 -0
- package/.next/static/chunks/9536.0478cfe5e9cfc9d5.js +1 -0
- package/.next/static/chunks/991.718b573be77108f0.js +1 -0
- package/.next/static/chunks/app/_global-error/page-e3669dc4b4461f82.js +1 -0
- package/.next/static/chunks/app/_not-found/page-193559d8ddda5268.js +1 -0
- package/.next/static/chunks/app/layout-9e89a157ef4bea50.js +1 -0
- package/.next/static/chunks/app/matrix/page-30ba744d4792b0b1.js +1 -0
- package/.next/static/chunks/app/page-3f11d63c52c3e248.js +1 -0
- package/.next/static/chunks/app/releases/[id]/{page-6230a07f6e8c9f23.js → page-ed5f3932911176e1.js} +2 -2
- package/.next/static/chunks/app/releases/page-4e43a538a0e874d8.js +1 -0
- package/.next/static/chunks/app/specs/[id]/page-8c890ab08da58f84.js +1 -0
- package/.next/static/chunks/app/traceability/archive/page-c458b43550f7034d.js +1 -0
- package/.next/static/chunks/app/traceability/design/[id]/page-daa33c88e02d9251.js +1 -0
- package/.next/static/chunks/app/traceability/design/new/page-9e6d6307a049b872.js +1 -0
- package/.next/static/chunks/app/traceability/design/page-3f11d63c52c3e248.js +1 -0
- package/.next/static/chunks/app/traceability/fs/[id]/page-88def3234ccdc0ff.js +7 -0
- package/.next/static/chunks/app/traceability/fs/page-3f11d63c52c3e248.js +1 -0
- package/.next/static/chunks/app/traceability/layout-e3669dc4b4461f82.js +1 -0
- package/.next/static/chunks/app/traceability/page-24a203b49af0c6ce.js +1 -0
- package/.next/static/chunks/app/traceability/risk/[id]/page-adc9c209850269e5.js +1 -0
- package/.next/static/chunks/app/traceability/risk/page-3f11d63c52c3e248.js +1 -0
- package/.next/static/chunks/app/traceability/urs/[id]/page-850d1a36c8348af1.js +1 -0
- package/.next/static/chunks/app/traceability/urs/page-3f11d63c52c3e248.js +1 -0
- package/.next/static/chunks/d3ac728e.4b57bd9bce7cd3c1.js +1 -0
- package/.next/static/chunks/framework-d7945a8ad0653f37.js +1 -0
- package/.next/static/chunks/main-app-341bfb00b20e150e.js +1 -0
- package/.next/static/chunks/main-d9b455c88e68699e.js +5 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-e3669dc4b4461f82.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-e3669dc4b4461f82.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/global-error-feea5487bf2c221c.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-e3669dc4b4461f82.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-e3669dc4b4461f82.js +1 -0
- package/.next/static/chunks/webpack-3cbbd068a3e89965.js +1 -0
- package/.next/static/css/{2693864a24fbccd0.css → cdae95cc512ce762.css} +1 -1
- package/.next/static/q_cOKaae4m3MSKJsyyYq4/_buildManifest.js +1 -0
- package/bin/cli.js +31 -0
- package/package.json +2 -1
- package/.next/server/chunks/352.js +0 -1
- package/.next/server/chunks/390.js +0 -1
- package/.next/server/chunks/391.js +0 -1
- package/.next/server/chunks/733.js +0 -32
- package/.next/server/chunks/821.js +0 -1
- package/.next/server/chunks/870.js +0 -1
- package/.next/static/ELYfmsCGy7GuuiGH2cFLn/_buildManifest.js +0 -1
- package/.next/static/chunks/444-1331cf1713bba53d.js +0 -1
- package/.next/static/chunks/4bd1b696-67e30520d621c4dd.js +0 -1
- package/.next/static/chunks/500-b84d19d842172eba.js +0 -1
- package/.next/static/chunks/594-41cff04930a1423e.js +0 -1
- package/.next/static/chunks/692.c2bb854f5d78c149.js +0 -1
- package/.next/static/chunks/794-9353bb3ab9a73e90.js +0 -2
- package/.next/static/chunks/app/_global-error/page-435048b8215f07c0.js +0 -1
- package/.next/static/chunks/app/_not-found/page-90fe62e7982fba87.js +0 -1
- package/.next/static/chunks/app/layout-0f51af36ad0921db.js +0 -1
- package/.next/static/chunks/app/matrix/page-b2418abb52a7acd8.js +0 -1
- package/.next/static/chunks/app/page-b6683055d30b04b4.js +0 -1
- package/.next/static/chunks/app/releases/page-888a9033446031e8.js +0 -1
- package/.next/static/chunks/app/specs/[id]/page-9f5688d1e93ae4d1.js +0 -1
- package/.next/static/chunks/app/traceability/archive/page-544eb2053bc31ad7.js +0 -1
- package/.next/static/chunks/app/traceability/fs/[id]/page-84bad96512599c17.js +0 -7
- package/.next/static/chunks/app/traceability/fs/page-b6683055d30b04b4.js +0 -1
- package/.next/static/chunks/app/traceability/layout-435048b8215f07c0.js +0 -1
- package/.next/static/chunks/app/traceability/page-11103f39281e68c4.js +0 -1
- package/.next/static/chunks/app/traceability/risk/[id]/page-56b430a30cf92a59.js +0 -1
- package/.next/static/chunks/app/traceability/risk/page-b6683055d30b04b4.js +0 -1
- package/.next/static/chunks/app/traceability/urs/[id]/page-11e1f447c7333110.js +0 -1
- package/.next/static/chunks/app/traceability/urs/page-b6683055d30b04b4.js +0 -1
- package/.next/static/chunks/framework-d7de93249215fb06.js +0 -1
- package/.next/static/chunks/main-17e3a04cf2f94dca.js +0 -5
- package/.next/static/chunks/main-app-6d93e914b4a54c7e.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-435048b8215f07c0.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-435048b8215f07c0.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/global-error-ebbdf863aa6a4349.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-435048b8215f07c0.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-435048b8215f07c0.js +0 -1
- package/.next/static/chunks/webpack-9a7fa060b199dfb3.js +0 -1
- /package/.next/static/{ELYfmsCGy7GuuiGH2cFLn → q_cOKaae4m3MSKJsyyYq4}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
exports.id=9231,exports.ids=[9231],exports.modules={11390:(a,b,c)=>{"use strict";c.d(b,{R:()=>h});var d=c(48249),e=c(73142),f=c.n(e);function g({isOpen:a,onClose:b,children:c,width:e="500px"}){return a?(0,d.jsxs)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",backdropFilter:"blur(4px)",background:"rgba(0, 0, 0, 0.5)",animation:"fadeIn 0.2s ease-out"},className:"jsx-5d567d25508aa188",children:[(0,d.jsx)("div",{onClick:a=>a.stopPropagation(),style:{background:"var(--bg-primary)",borderRadius:"12px",boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",width:e,maxWidth:"90%",maxHeight:"90vh",overflow:"auto",border:"1px solid var(--border)",animation:"slideUp 0.2s ease-out"},className:"jsx-5d567d25508aa188",children:c}),(0,d.jsx)(f(),{id:"5d567d25508aa188",children:"@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideUp{from{opacity:0;transform:scale(.95)translatey(10px)}to{opacity:1;transform:scale(1)translatey(0)}}"})]}):null}function h({isOpen:a,onClose:b,onConfirm:c,title:e,message:f,confirmLabel:h="Confirm",cancelLabel:i="Cancel",isDangerous:j=!1}){return(0,d.jsx)(g,{isOpen:a,onClose:b,width:"400px",children:(0,d.jsxs)("div",{style:{padding:"1.5rem"},children:[(0,d.jsx)("h3",{style:{margin:"0 0 0.5rem 0",fontSize:"1.25rem",fontWeight:600},children:e}),(0,d.jsx)("p",{style:{margin:"0 0 1.5rem 0",color:"var(--text-secondary)",lineHeight:1.5},children:f}),(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",gap:"0.75rem"},children:[(0,d.jsx)("button",{onClick:b,className:"btn",style:{background:"transparent",border:"1px solid var(--border)",color:"var(--text-primary)"},children:i}),(0,d.jsx)("button",{onClick:()=>{c(),b()},className:"btn",style:{background:j?"var(--error)":"var(--accent)",color:"white",border:"none",fontWeight:600},children:h})]})]})})}c(67484)},11851:(a,b,c)=>{"use strict";c.r(b),c.d(b,{default:()=>e});var d=c(5735);function e({children:a}){return(0,d.jsx)("div",{children:a})}},28232:(a,b,c)=>{Promise.resolve().then(c.bind(c,62517))},33359:(a,b,c)=>{"use strict";c.d(b,{DesignClient:()=>d});let d=(0,c(77943).registerClientReference)(function(){throw Error("Attempted to call DesignClient() from the server but DesignClient is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/Users/matthew/Code/github/p11o/machine/docs/src/app/traceability/design/[id]/client.tsx","DesignClient")},57736:(a,b,c)=>{Promise.resolve().then(c.bind(c,33359))},58165:(a,b,c)=>{"use strict";c.d(b,{j:()=>f});var d=c(48249),e=c(67484);function f({options:a,selected:b,onChange:c,placeholder:f,multi:g=!0,allowCustom:h=!0}){let[i,j]=(0,e.useState)(!1),[k,l]=(0,e.useState)(""),m=(0,e.useRef)(null),n=a.filter(a=>a.label.toLowerCase().includes(k.toLowerCase())&&(!g||!b.includes(a.value)));return(0,d.jsxs)("div",{ref:m,style:{position:"relative",flex:1},children:[g&&b.length>0&&(0,d.jsx)("div",{style:{display:"flex",gap:"0.25rem",flexWrap:"wrap",marginBottom:"0.5rem"},children:b.map(e=>{let f=a.find(a=>a.value===e);return(0,d.jsxs)("span",{className:"badge badge-success",style:{display:"flex",alignItems:"center",gap:"0.25rem"},children:[f?.value||e,(0,d.jsx)("button",{onClick:()=>{c(b.filter(a=>a!==e))},style:{background:"none",border:"none",cursor:"pointer",padding:0,fontSize:"1rem",color:"inherit"},children:"\xd7"})]},e)})}),(0,d.jsx)("input",{type:"text",value:g||i?k:(()=>{if(!g&&b.length>0){let c=a.find(a=>a.value===b[0]);return c?.label||b[0]}return""})(),onChange:a=>l(a.target.value),onFocus:()=>j(!0),placeholder:0!==b.length&&g?"Add more...":f,className:"input",style:{width:"100%"}}),i&&(0,d.jsxs)("div",{style:{position:"absolute",top:"100%",left:0,right:0,marginTop:"0.25rem",background:"var(--bg-card)",border:"1px solid var(--border)",borderRadius:"8px",maxHeight:"200px",overflowY:"auto",zIndex:100,boxShadow:"0 4px 12px rgba(0,0,0,0.3)"},children:[0===n.length?(0,d.jsx)("div",{style:{padding:"0.75rem",color:"var(--text-secondary)",fontSize:"0.875rem"},children:h?"No matches - type to create":"No matching steps"}):n.slice(0,20).map(a=>(0,d.jsxs)("div",{onClick:()=>{var d;return d=a.value,void(g?c([...b,d]):(c([d]),j(!1)),l(""))},style:{padding:"0.625rem 0.75rem",cursor:"pointer",fontSize:"0.875rem",borderBottom:"1px solid var(--border)",transition:"background 0.15s"},onMouseEnter:a=>a.currentTarget.style.background="var(--bg-hover)",onMouseLeave:a=>a.currentTarget.style.background="transparent",children:[(0,d.jsx)("div",{style:{fontWeight:500},children:a.value}),a.label!==a.value&&(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)",marginTop:"0.125rem"},children:a.label})]},a.value)),n.length>20&&(0,d.jsxs)("div",{style:{padding:"0.5rem",color:"var(--text-secondary)",fontSize:"0.75rem",textAlign:"center"},children:["+",n.length-20," more..."]})]})]})}},62517:(a,b,c)=>{"use strict";c.d(b,{DesignClient:()=>p});var d=c(48249),e=c(67484),f=c(19099),g=c(42761);function h({content:a}){let[b,c]=(0,e.useState)(!1),f=(0,e.useMemo)(()=>({code:({className:a,children:c,...e})=>{let f=/language-(\w+)/.exec(a||""),g=f?f[1]:"",h=String(c).replace(/\n$/,"");return"mermaid"===g&&b?(0,d.jsx)(i,{code:h}):(0,d.jsx)("pre",{style:{background:"var(--bg-secondary)",padding:"1rem",borderRadius:"8px",overflow:"auto",fontSize:"0.875rem",lineHeight:1.6},children:(0,d.jsx)("code",{className:a,...e,children:c})})}}),[b]);return(0,d.jsx)("div",{className:"prose",style:{maxWidth:"none"},children:(0,d.jsx)(g.oz,{components:f,children:a})})}function i({code:a}){let b=(0,e.useRef)(null),[c,f]=(0,e.useState)(""),[g,h]=(0,e.useState)(null);return((0,e.useRef)(`mermaid-${Math.random().toString(36).substr(2,9)}`),g)?(0,d.jsxs)("div",{style:{padding:"1rem",margin:"1rem 0",background:"rgba(239, 68, 68, 0.1)",border:"1px solid var(--error)",borderRadius:"8px",color:"var(--error)",fontSize:"0.875rem"},children:[(0,d.jsx)("strong",{children:"Diagram Error:"})," ",g,(0,d.jsx)("pre",{style:{marginTop:"0.5rem",fontSize:"0.75rem",opacity:.8},children:a})]}):c?(0,d.jsx)("div",{ref:b,style:{background:"var(--bg-secondary)",borderRadius:"8px",padding:"1rem",margin:"1rem 0",overflow:"auto"},dangerouslySetInnerHTML:{__html:c}}):(0,d.jsx)("div",{style:{padding:"2rem",margin:"1rem 0",textAlign:"center",color:"var(--text-secondary)",background:"var(--bg-secondary)",borderRadius:"8px"},children:"Loading diagram..."})}function j(a,b="flowchart"){return a+"\n"+({flowchart:`
|
|
2
|
+
\`\`\`mermaid
|
|
3
|
+
flowchart TD
|
|
4
|
+
A[Start] --> B{Decision}
|
|
5
|
+
B -->|Yes| C[Action 1]
|
|
6
|
+
B -->|No| D[Action 2]
|
|
7
|
+
C --> E[End]
|
|
8
|
+
D --> E
|
|
9
|
+
\`\`\`
|
|
10
|
+
`,sequence:`
|
|
11
|
+
\`\`\`mermaid
|
|
12
|
+
sequenceDiagram
|
|
13
|
+
participant User
|
|
14
|
+
participant System
|
|
15
|
+
participant Database
|
|
16
|
+
|
|
17
|
+
User->>System: Request
|
|
18
|
+
System->>Database: Query
|
|
19
|
+
Database-->>System: Result
|
|
20
|
+
System-->>User: Response
|
|
21
|
+
\`\`\`
|
|
22
|
+
`,erd:`
|
|
23
|
+
\`\`\`mermaid
|
|
24
|
+
erDiagram
|
|
25
|
+
USER ||--o{ ORDER : places
|
|
26
|
+
ORDER ||--|{ LINE_ITEM : contains
|
|
27
|
+
PRODUCT ||--o{ LINE_ITEM : "ordered in"
|
|
28
|
+
\`\`\`
|
|
29
|
+
`,classDiagram:`
|
|
30
|
+
\`\`\`mermaid
|
|
31
|
+
classDiagram
|
|
32
|
+
class Component {
|
|
33
|
+
+render()
|
|
34
|
+
+update()
|
|
35
|
+
}
|
|
36
|
+
class Container {
|
|
37
|
+
+children
|
|
38
|
+
+add()
|
|
39
|
+
}
|
|
40
|
+
Component <|-- Container
|
|
41
|
+
\`\`\`
|
|
42
|
+
`})[b]}c(25460);var k=c(58165),l=c(88960),m=c(11390);let n=[{value:"architecture",label:"\uD83C\uDFD7️ Architecture"},{value:"data-flow",label:"\uD83D\uDD04 Data Flow"},{value:"sequence",label:"\uD83D\uDCCA Sequence"},{value:"erd",label:"\uD83D\uDDC3️ ERD"},{value:"other",label:"\uD83D\uDCC4 Other"}],o=`# Design Title
|
|
43
|
+
|
|
44
|
+
## Overview
|
|
45
|
+
Describe the purpose of this design.
|
|
46
|
+
|
|
47
|
+
## Diagram
|
|
48
|
+
|
|
49
|
+
\`\`\`mermaid
|
|
50
|
+
flowchart TD
|
|
51
|
+
A[Start] --> B{Decision}
|
|
52
|
+
B -->|Yes| C[Action 1]
|
|
53
|
+
B -->|No| D[Action 2]
|
|
54
|
+
C --> E[End]
|
|
55
|
+
D --> E
|
|
56
|
+
\`\`\`
|
|
57
|
+
|
|
58
|
+
## Notes
|
|
59
|
+
Additional documentation here.
|
|
60
|
+
`;function p({design:a,isNew:b=!1,allURS:g=[]}){let i=(0,f.useRouter)(),[p,r]=(0,e.useState)(b),[s,t]=(0,e.useState)(a?.title||""),[u,v]=(0,e.useState)(a?.status||"draft"),[w,x]=(0,e.useState)(a?.owner||""),[y,z]=(0,e.useState)(a?.category||"architecture"),[A,B]=(0,e.useState)(a?.content||o),[C,D]=(0,e.useState)(a?.urs_ids||[]),[E,F]=(0,e.useState)(null),[G,H]=(0,e.useState)({type:"idle"}),[I,J]=(0,e.useTransition)(),[K,L]=(0,e.useState)(!1),[M,N]=(0,e.useState)(!1),O=async()=>{let{archiveDesignAction:b}=await c.e(4228).then(c.bind(c,54228));await b(a.id),i.refresh(),r(!1)},P=async()=>{let{restoreDesignAction:b}=await c.e(4228).then(c.bind(c,54228));await b(a.id),i.refresh()};return!p&&a?(0,d.jsxs)("div",{style:{maxWidth:"1400px"},children:[a.is_archived&&(0,d.jsxs)("div",{style:{background:"rgba(239, 68, 68, 0.1)",border:"1px solid var(--error)",padding:"1rem",borderRadius:"8px",marginBottom:"1.5rem",color:"var(--error)",display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,d.jsxs)("span",{children:[(0,d.jsx)("strong",{children:"Archived:"})," This design is soft-deleted."]}),(0,d.jsx)("button",{onClick:()=>N(!0),className:"btn",style:{background:"var(--bg-hover)",border:"1px solid var(--error)",color:"var(--error)"},children:"Restore"})]}),(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem"},children:[(0,d.jsxs)("div",{children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"1rem",marginBottom:"0.5rem"},children:[(0,d.jsx)("span",{style:{fontSize:"0.75rem",fontWeight:600,padding:"0.25rem 0.75rem",background:"linear-gradient(135deg, #8b5cf6, #6366f1)",borderRadius:"6px",color:"white"},children:a.id}),(0,d.jsxs)("span",{className:`badge ${"approved"===a.status?"badge-success":"review"===a.status?"badge-warning":""}`,style:{textTransform:"capitalize"},children:["approved"===a.status?"✅":"review"===a.status?"\uD83D\uDC40":"\uD83D\uDCDD"," ",a.status]})]}),(0,d.jsx)("h1",{style:{margin:0,fontSize:"1.5rem",fontWeight:600},children:a.title})]}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.75rem"},children:[!a.is_archived&&(0,d.jsx)("button",{onClick:()=>L(!0),className:"btn",style:{background:"transparent",border:"1px solid var(--error)",color:"var(--error)"},children:"\uD83D\uDDD1️ Archive"}),(0,d.jsx)("button",{onClick:()=>r(!0),disabled:!!a.is_archived,className:"btn btn-primary",style:{opacity:a.is_archived?.5:1},children:"✏️ Edit"})]})]}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"1rem"},children:[(0,d.jsx)(q,{label:"Category",value:n.find(b=>b.value===a.category)?.label||a.category}),(0,d.jsx)(q,{label:"Owner",value:a.owner}),(0,d.jsx)(q,{label:"Created",value:a.created_at}),(0,d.jsx)(q,{label:"Linked URS",value:a.urs_ids.length>0?a.urs_ids.join(", "):"None"})]})]}),(0,d.jsx)("div",{className:"card",children:(0,d.jsx)(h,{content:a.content})}),(0,d.jsx)(m.R,{isOpen:K,onClose:()=>L(!1),onConfirm:O,title:"Archive Design",message:"Are you sure you want to archive this design?",confirmLabel:"Archive",isDangerous:!0}),(0,d.jsx)(m.R,{isOpen:M,onClose:()=>N(!1),onConfirm:P,title:"Restore Design",message:"Are you sure you want to restore this design?",confirmLabel:"Restore"})]}):(0,d.jsxs)("div",{style:{maxWidth:"1400px"},children:[(0,d.jsxs)("div",{className:"card",style:{marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1.5rem"},children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("h2",{style:{margin:0,fontSize:"1.25rem",fontWeight:600},children:b?"New Design":`Editing ${a?.id}`}),(0,d.jsx)("p",{style:{margin:"0.25rem 0 0",color:"var(--text-secondary)",fontSize:"0.875rem"},children:b?"Create a design document with Mermaid diagrams":"Update design details"})]}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.75rem"},children:[(0,d.jsx)("button",{onClick:()=>{b?i.back():(t(a?.title||""),v(a?.status||"draft"),x(a?.owner||""),z(a?.category||"architecture"),B(a?.content||""),D(a?.urs_ids||[]),r(!1))},className:"btn",style:{background:"var(--bg-hover)"},children:"Cancel"}),(0,d.jsx)(l.yY,{onClick:()=>{H({type:"idle"}),J(async()=>{try{let d,e={title:s,status:u,owner:w,category:y,content:A,urs_ids:C};if(b){let{saveDesign:a}=await c.e(4228).then(c.bind(c,54228));d=await a(e)}else{let{updateDesignAction:b}=await c.e(4228).then(c.bind(c,54228));d=await b(a.id,e)}if(!d.success)return void H({type:"error",message:d.error});H({type:"success",message:`Saved ${d.id}`}),b?i.push(`/traceability/design/${d.id}`):(i.refresh(),r(!1))}catch(a){H({type:"error",message:"Failed to save"})}})},disabled:I||!s.trim()||!w.trim(),isPending:I,label:"Save Design"})]})]}),(0,d.jsx)(l.t3,{status:G}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(4, 1fr)",gap:"1rem",marginBottom:"1.5rem"},children:[(0,d.jsx)(l.zB,{label:"Title",required:!0,compact:!0,children:(0,d.jsx)("input",{type:"text",value:s,onChange:a=>t(a.target.value),onFocus:()=>F("title"),onBlur:()=>F(null),placeholder:"Design title",style:(0,l.wI)("title",E)})}),(0,d.jsx)(l.zB,{label:"Category",compact:!0,children:(0,d.jsx)("select",{value:y,onChange:a=>z(a.target.value),onFocus:()=>F("category"),onBlur:()=>F(null),style:(0,l.mQ)("category",E),children:n.map(a=>(0,d.jsx)("option",{value:a.value,children:a.label},a.value))})}),(0,d.jsx)(l.zB,{label:"Status",compact:!0,children:(0,d.jsxs)("select",{value:u,onChange:a=>v(a.target.value),onFocus:()=>F("status"),onBlur:()=>F(null),style:(0,l.mQ)("status",E),children:[(0,d.jsx)("option",{value:"draft",children:"\uD83D\uDCDD Draft"}),(0,d.jsx)("option",{value:"review",children:"\uD83D\uDC40 Review"}),(0,d.jsx)("option",{value:"approved",children:"✅ Approved"})]})}),(0,d.jsx)(l.zB,{label:"Owner",required:!0,compact:!0,children:(0,d.jsx)("input",{type:"text",value:w,onChange:a=>x(a.target.value),onFocus:()=>F("owner"),onBlur:()=>F(null),placeholder:"Owner name",style:(0,l.wI)("owner",E)})})]}),(0,d.jsx)(l.zB,{label:"Linked Requirements (URS)",hint:"Select URS that this design addresses",children:(0,d.jsx)(k.j,{options:g.map(a=>({value:a.id,label:`${a.id} - ${a.title}`})),selected:C,onChange:D,placeholder:"Search URS...",multi:!0})})]}),(0,d.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"1fr 1fr",gap:"1.5rem",alignItems:"start"},children:[(0,d.jsxs)("div",{className:"card",style:{position:"sticky",top:"1rem",display:"flex",flexDirection:"column",height:"calc(100vh - 2rem)",maxHeight:"800px",overflow:"hidden"},children:[(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",marginBottom:"1rem",flexShrink:0},children:[(0,d.jsxs)("h3",{style:{margin:0,fontSize:"1rem",fontWeight:600,display:"flex",alignItems:"center",gap:"0.5rem"},children:[(0,d.jsx)("span",{children:"✍️"})," Editor",(0,d.jsx)("span",{style:{fontSize:"0.75rem",fontWeight:400,color:"var(--text-secondary)"},children:"(Markdown + Mermaid)"})]}),(0,d.jsxs)("div",{style:{display:"flex",gap:"0.5rem"},children:[(0,d.jsx)("button",{type:"button",onClick:()=>B(j(A,"flowchart")),className:"btn",style:{padding:"0.375rem 0.75rem",fontSize:"0.75rem",background:"var(--bg-hover)"},children:"+ Flowchart"}),(0,d.jsx)("button",{type:"button",onClick:()=>B(j(A,"sequence")),className:"btn",style:{padding:"0.375rem 0.75rem",fontSize:"0.75rem",background:"var(--bg-hover)"},children:"+ Sequence"}),(0,d.jsx)("button",{type:"button",onClick:()=>B(j(A,"erd")),className:"btn",style:{padding:"0.375rem 0.75rem",fontSize:"0.75rem",background:"var(--bg-hover)"},children:"+ ERD"})]})]}),(0,d.jsx)("textarea",{value:A,onChange:a=>B(a.target.value),onFocus:()=>F("content"),onBlur:()=>F(null),placeholder:"Write your design document with Mermaid diagrams...",style:{...(0,l.KN)("content",E),flex:1,fontFamily:"ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace",fontSize:"0.875rem",lineHeight:1.6,resize:"none",overflow:"auto"}})]}),(0,d.jsxs)("div",{className:"card",style:{overflow:"hidden"},children:[(0,d.jsxs)("h3",{style:{margin:"0 0 1rem",fontSize:"1rem",fontWeight:600,display:"flex",alignItems:"center",gap:"0.5rem"},children:[(0,d.jsx)("span",{children:"\uD83D\uDC41️"})," Live Preview"]}),(0,d.jsx)("div",{style:{overflowX:"auto"},children:A.trim()?(0,d.jsx)(h,{content:A}):(0,d.jsxs)("div",{style:{padding:"2rem",textAlign:"center",color:"var(--text-secondary)",border:"2px dashed var(--border)",borderRadius:"8px"},children:[(0,d.jsx)("div",{style:{fontSize:"2rem",marginBottom:"0.5rem"},children:"\uD83D\uDCDD"}),(0,d.jsx)("p",{style:{margin:0},children:"Start writing to see a preview"})]})})]})]})]})}function q({label:a,value:b}){return(0,d.jsxs)("div",{children:[(0,d.jsx)("div",{style:{fontSize:"0.75rem",color:"var(--text-secondary)",fontWeight:500,marginBottom:"0.25rem"},children:a}),(0,d.jsx)("div",{style:{fontSize:"1rem",fontWeight:500},children:b||"—"})]})}},85671:(a,b,c)=>{"use strict";c.r(b),c.d(b,{"403552e4b842bfe24d95e67c6d13d49bac9211e837":()=>g,"404beeb5e8ef1f16054a1ebe26ebcb20ba1cb4397f":()=>j,"40a7881142602d0cdce526e8075bd303ffeadab996":()=>i,"60a9843cc78dc99dc97b4a36b2acd68f67ae7876c9":()=>h});var d=c(95349),e=c(42650),f=c(27954);async function g(a){try{let b=(0,f.x9)(a);return(0,e.revalidatePath)("/traceability/design"),{success:!0,id:b.id}}catch(a){return{success:!1,error:String(a)}}}async function h(a,b){try{let c=(0,f.i5)(a,b);if(!c)return{success:!1,error:"Design not found"};return(0,e.revalidatePath)("/traceability/design"),(0,e.revalidatePath)(`/traceability/design/${a}`),{success:!0,id:c.id}}catch(a){return{success:!1,error:String(a)}}}async function i(a){(0,f.DO)(a),(0,e.revalidatePath)("/traceability/design"),(0,e.revalidatePath)(`/traceability/design/${a}`)}async function j(a){(0,f.hx)(a),(0,e.revalidatePath)("/traceability/design"),(0,e.revalidatePath)(`/traceability/design/${a}`)}(0,c(89337).D)([g,h,i,j]),(0,d.A)(g,"403552e4b842bfe24d95e67c6d13d49bac9211e837",null),(0,d.A)(h,"60a9843cc78dc99dc97b4a36b2acd68f67ae7876c9",null),(0,d.A)(i,"40a7881142602d0cdce526e8075bd303ffeadab996",null),(0,d.A)(j,"404beeb5e8ef1f16054a1ebe26ebcb20ba1cb4397f",null)},88960:(a,b,c)=>{"use strict";c.d(b,{KN:()=>k,Mo:()=>n,d0:()=>p,mQ:()=>j,t3:()=>m,wI:()=>i,yY:()=>o,zB:()=>l});var d=c(48249);c(67484);let e={width:"100%",padding:"0.875rem 1rem",fontSize:"0.9375rem",lineHeight:"1.5",color:"var(--text-primary)",background:"var(--bg-secondary)",borderWidth:"1px",borderStyle:"solid",borderColor:"var(--border)",borderRadius:"10px",outline:"none",transition:"all 0.2s ease"},f={borderColor:"var(--accent)",boxShadow:"0 0 0 3px rgba(99, 102, 241, 0.15)"},g={...e,cursor:"pointer",appearance:"none",backgroundImage:"url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238888a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E\")",backgroundRepeat:"no-repeat",backgroundPosition:"right 1rem center",paddingRight:"2.5rem"},h={...e,resize:"vertical",minHeight:"120px",fontFamily:"inherit"};function i(a,b){return{...e,...b===a?f:{}}}function j(a,b){return{...g,...b===a?f:{}}}function k(a,b){return{...h,...b===a?f:{}}}function l({label:a,children:b,required:c,compact:e,hint:f,action:g}){return(0,d.jsxs)("div",{style:{marginBottom:e?"0":"1.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"0.5rem"},children:[(0,d.jsxs)("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[(0,d.jsx)("label",{style:{fontWeight:500,fontSize:"0.875rem",color:"var(--text-primary)"},children:a}),c&&(0,d.jsx)("span",{style:{color:"var(--accent)",fontSize:"0.75rem"},children:"Required"}),f&&(0,d.jsxs)("span",{style:{color:"var(--text-secondary)",fontSize:"0.8125rem",fontWeight:400},children:["— ",f]})]}),g&&(0,d.jsx)("button",{onClick:g.onClick,style:{padding:"0.375rem 0.75rem",fontSize:"0.8125rem",fontWeight:500,background:"transparent",border:"1px solid var(--accent)",borderRadius:"6px",color:"var(--accent)",cursor:"pointer",transition:"all 0.2s"},children:g.label})]}),b]})}function m({status:a}){return"idle"===a.type?null:(0,d.jsxs)("div",{style:{marginBottom:"1.5rem",padding:"1rem 1.25rem",borderRadius:"10px",background:"success"===a.type?"rgba(16, 185, 129, 0.1)":"rgba(239, 68, 68, 0.1)",color:"success"===a.type?"var(--success)":"var(--error)",fontSize:"0.9375rem",display:"flex",alignItems:"center",gap:"0.5rem",borderWidth:"1px",borderStyle:"solid",borderColor:"success"===a.type?"rgba(16, 185, 129, 0.2)":"rgba(239, 68, 68, 0.2)"},children:["success"===a.type?"✅":"❌"," ",a.message]})}function n({icon:a,title:b,subtitle:c}){return(0,d.jsxs)("div",{style:{marginBottom:"2rem",paddingBottom:"1.5rem",borderBottom:"1px solid var(--border)"},children:[(0,d.jsxs)("h2",{style:{margin:0,fontSize:"1.25rem",fontWeight:600},children:[a," ",b]}),(0,d.jsx)("p",{style:{margin:"0.25rem 0 0",color:"var(--text-secondary)",fontSize:"0.875rem"},children:c})]})}function o({onClick:a,disabled:b,isPending:c,label:e="Save"}){return(0,d.jsx)("button",{onClick:a,disabled:b,style:{padding:"0.75rem 1.5rem",fontSize:"0.9375rem",fontWeight:600,borderRadius:"10px",border:"none",cursor:b?"not-allowed":"pointer",background:b?"var(--bg-hover)":"linear-gradient(135deg, var(--gradient-start), var(--gradient-end))",color:b?"var(--text-secondary)":"white",transition:"all 0.2s ease",boxShadow:b?"none":"0 4px 12px rgba(99, 102, 241, 0.25)"},children:c?"\uD83D\uDCBE Saving...":`💾 ${e}`})}function p({onClick:a}){return(0,d.jsx)("button",{onClick:a,style:{padding:"0.5rem",background:"transparent",border:"1px solid var(--border)",borderRadius:"8px",color:"var(--text-secondary)",cursor:"pointer",transition:"all 0.2s",lineHeight:1},title:"Remove",children:"✕"})}}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=9252,exports.ids=[9252],exports.modules={99252:(a,b,c)=>{c.d(b,{diagram:()=>D});var d,e=c(8350);c(80339),c(9974),c(85535),c(29490),c(94964),c(77464),c(46887),c(75517),c(46938);var f=c(70760),g=c(96779),h=c(21143),i=c(99123),j=c(21205),k=c(74367),l=(0,h.K2)(a=>a.append("circle").attr("class","start-state").attr("r",(0,g.D7)().state.sizeUnit).attr("cx",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit).attr("cy",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit),"drawStartState"),m=(0,h.K2)(a=>a.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,g.D7)().state.textHeight).attr("class","divider").attr("x2",2*(0,g.D7)().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),n=(0,h.K2)((a,b)=>{let c=a.append("text").attr("x",2*(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.textHeight+2*(0,g.D7)().state.padding).attr("font-size",(0,g.D7)().state.fontSize).attr("class","state-title").text(b.id),d=c.node().getBBox();return a.insert("rect",":first-child").attr("x",(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.padding).attr("width",d.width+2*(0,g.D7)().state.padding).attr("height",d.height+2*(0,g.D7)().state.padding).attr("rx",(0,g.D7)().state.radius),c},"drawSimpleState"),o=(0,h.K2)((a,b)=>{let c=(0,h.K2)(function(a,b,c){let d=a.append("tspan").attr("x",2*(0,g.D7)().state.padding).text(b);c||d.attr("dy",(0,g.D7)().state.textHeight)},"addTspan"),d=a.append("text").attr("x",2*(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.textHeight+1.3*(0,g.D7)().state.padding).attr("font-size",(0,g.D7)().state.fontSize).attr("class","state-title").text(b.descriptions[0]).node().getBBox(),e=d.height,f=a.append("text").attr("x",(0,g.D7)().state.padding).attr("y",e+.4*(0,g.D7)().state.padding+(0,g.D7)().state.dividerMargin+(0,g.D7)().state.textHeight).attr("class","state-description"),i=!0,j=!0;b.descriptions.forEach(function(a){i||(c(f,a,j),j=!1),i=!1});let k=a.append("line").attr("x1",(0,g.D7)().state.padding).attr("y1",(0,g.D7)().state.padding+e+(0,g.D7)().state.dividerMargin/2).attr("y2",(0,g.D7)().state.padding+e+(0,g.D7)().state.dividerMargin/2).attr("class","descr-divider"),l=f.node().getBBox(),m=Math.max(l.width,d.width);return k.attr("x2",m+3*(0,g.D7)().state.padding),a.insert("rect",":first-child").attr("x",(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.padding).attr("width",m+2*(0,g.D7)().state.padding).attr("height",l.height+e+2*(0,g.D7)().state.padding).attr("rx",(0,g.D7)().state.radius),a},"drawDescrState"),p=(0,h.K2)((a,b,c)=>{let d,e=(0,g.D7)().state.padding,f=2*(0,g.D7)().state.padding,h=a.node().getBBox(),i=h.width,j=h.x,k=a.append("text").attr("x",0).attr("y",(0,g.D7)().state.titleShift).attr("font-size",(0,g.D7)().state.fontSize).attr("class","state-title").text(b.id),l=k.node().getBBox().width+f,m=Math.max(l,i);m===i&&(m+=f);let n=a.node().getBBox();b.doc,d=j-e,l>i&&(d=(i-m)/2+e),Math.abs(j-n.x)<e&&l>i&&(d=j-(l-i)/2);let o=1-(0,g.D7)().state.textHeight;return a.insert("rect",":first-child").attr("x",d).attr("y",o).attr("class",c?"alt-composit":"composit").attr("width",m).attr("height",n.height+(0,g.D7)().state.textHeight+(0,g.D7)().state.titleShift+1).attr("rx","0"),k.attr("x",d+e),l<=i&&k.attr("x",j+(m-f)/2-l/2+e),a.insert("rect",":first-child").attr("x",d).attr("y",(0,g.D7)().state.titleShift-(0,g.D7)().state.textHeight-(0,g.D7)().state.padding).attr("width",m).attr("height",3*(0,g.D7)().state.textHeight).attr("rx",(0,g.D7)().state.radius),a.insert("rect",":first-child").attr("x",d).attr("y",(0,g.D7)().state.titleShift-(0,g.D7)().state.textHeight-(0,g.D7)().state.padding).attr("width",m).attr("height",n.height+3+2*(0,g.D7)().state.textHeight).attr("rx",(0,g.D7)().state.radius),a},"addTitleAndBox"),q=(0,h.K2)(a=>(a.append("circle").attr("class","end-state-outer").attr("r",(0,g.D7)().state.sizeUnit+(0,g.D7)().state.miniPadding).attr("cx",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit+(0,g.D7)().state.miniPadding).attr("cy",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit+(0,g.D7)().state.miniPadding),a.append("circle").attr("class","end-state-inner").attr("r",(0,g.D7)().state.sizeUnit).attr("cx",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit+2).attr("cy",(0,g.D7)().state.padding+(0,g.D7)().state.sizeUnit+2)),"drawEndState"),r=(0,h.K2)((a,b)=>{let c=(0,g.D7)().state.forkWidth,d=(0,g.D7)().state.forkHeight;if(b.parentId){let a=c;c=d,d=a}return a.append("rect").style("stroke","black").style("fill","black").attr("width",c).attr("height",d).attr("x",(0,g.D7)().state.padding).attr("y",(0,g.D7)().state.padding)},"drawForkJoinState"),s=(0,h.K2)((a,b,c,d)=>{let e=0,f=d.append("text");f.style("text-anchor","start"),f.attr("class","noteText");let h=a.replace(/\r\n/g,"<br/>"),i=(h=h.replace(/\n/g,"<br/>")).split(g.Y2.lineBreakRegex),j=1.25*(0,g.D7)().state.noteMargin;for(let a of i){let d=a.trim();if(d.length>0){let a=f.append("tspan");a.text(d),0===j&&(j+=a.node().getBBox().height),e+=j,a.attr("x",b+(0,g.D7)().state.noteMargin),a.attr("y",c+e+1.25*(0,g.D7)().state.noteMargin)}}return{textWidth:f.node().getBBox().width,textHeight:e}},"_drawLongText"),t=(0,h.K2)((a,b)=>{b.attr("class","state-note");let c=b.append("rect").attr("x",0).attr("y",(0,g.D7)().state.padding),{textWidth:d,textHeight:e}=s(a,0,0,b.append("g"));return c.attr("height",e+2*(0,g.D7)().state.noteMargin),c.attr("width",d+2*(0,g.D7)().state.noteMargin),c},"drawNote"),u=(0,h.K2)(function(a,b){let c=b.id,d={id:c,label:b.id,width:0,height:0},e=a.append("g").attr("id",c).attr("class","stateGroup");"start"===b.type&&l(e),"end"===b.type&&q(e),("fork"===b.type||"join"===b.type)&&r(e,b),"note"===b.type&&t(b.note.text,e),"divider"===b.type&&m(e),"default"===b.type&&0===b.descriptions.length&&n(e,b),"default"===b.type&&b.descriptions.length>0&&o(e,b);let f=e.node().getBBox();return d.width=f.width+2*(0,g.D7)().state.padding,d.height=f.height+2*(0,g.D7)().state.padding,d},"drawState"),v=0,w=(0,h.K2)(function(a,b,c){let d=(0,h.K2)(function(a){switch(a){case e.u4.relationType.AGGREGATION:return"aggregation";case e.u4.relationType.EXTENSION:return"extension";case e.u4.relationType.COMPOSITION:return"composition";case e.u4.relationType.DEPENDENCY:return"dependency"}},"getRelationType");b.points=b.points.filter(a=>!Number.isNaN(a.y));let j=b.points,k=(0,i.n8j)().x(function(a){return a.x}).y(function(a){return a.y}).curve(i.qrM),l=a.append("path").attr("d",k(j)).attr("id","edge"+v).attr("class","transition"),m="";if((0,g.D7)().state.arrowMarkerAbsolute&&(m=(0,g.ID)(!0)),l.attr("marker-end","url("+m+"#"+d(e.u4.relationType.DEPENDENCY)+"End)"),void 0!==c.title){let d=a.append("g").attr("class","stateLabel"),{x:e,y:i}=f._K.calcLabelPosition(b.points),j=g.Y2.getRows(c.title),k=0,l=[],m=0,n=0;for(let a=0;a<=j.length;a++){let b=d.append("text").attr("text-anchor","middle").text(j[a]).attr("x",e).attr("y",i+k),c=b.node().getBBox();m=Math.max(m,c.width),n=Math.min(n,c.x),h.Rm.info(c.x,e,i+k),0===k&&(k=b.node().getBBox().height,h.Rm.info("Title height",k,i)),l.push(b)}let o=k*j.length;if(j.length>1){let a=(j.length-1)*k*.5;l.forEach((b,c)=>b.attr("y",i+c*k-a)),o=k*j.length}let p=d.node().getBBox();d.insert("rect",":first-child").attr("class","box").attr("x",e-m/2-(0,g.D7)().state.padding/2).attr("y",i-o/2-(0,g.D7)().state.padding/2-3.5).attr("width",m+(0,g.D7)().state.padding).attr("height",o+(0,g.D7)().state.padding),h.Rm.info(p)}v++},"drawEdge"),x={},y=(0,h.K2)(function(){},"setConf"),z=(0,h.K2)(function(a){a.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),A=(0,h.K2)(function(a,b,c,e){let f;d=(0,g.D7)().state;let j=(0,g.D7)().securityLevel;"sandbox"===j&&(f=(0,i.Ltv)("#i"+b));let k="sandbox"===j?(0,i.Ltv)(f.nodes()[0].contentDocument.body):(0,i.Ltv)("body"),l="sandbox"===j?f.nodes()[0].contentDocument:document;h.Rm.debug("Rendering diagram "+a);let m=k.select(`[id='${b}']`);z(m),C(e.db.getRootDoc(),m,void 0,!1,k,l,e);let n=d.padding,o=m.node().getBBox(),p=o.width+2*n,q=o.height+2*n;(0,g.a$)(m,q,1.75*p,d.useMaxWidth),m.attr("viewBox",`${o.x-d.padding} ${o.y-d.padding} `+p+" "+q)},"draw"),B=(0,h.K2)(a=>a?a.length*d.fontSizeFactor:1,"getLabelWidth"),C=(0,h.K2)((a,b,c,e,f,i,l)=>{let m,n=new k.T({compound:!0,multigraph:!0}),o=!0;for(m=0;m<a.length;m++)if("relation"===a[m].stmt){o=!1;break}c?n.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:o?1:d.edgeLengthFactor,nodeSep:o?1:50,isMultiGraph:!0}):n.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:o?1:d.edgeLengthFactor,nodeSep:o?1:50,ranker:"tight-tree",isMultiGraph:!0}),n.setDefaultEdgeLabel(function(){return{}});let q=l.db.getStates(),r=l.db.getRelations();for(let a of Object.keys(q)){let g,h=q[a];if(c&&(h.parentId=c),h.doc){let a=b.append("g").attr("id",h.id).attr("class","stateGroup");g=C(h.doc,a,h.id,!e,f,i,l);{let b=(a=p(a,h,e)).node().getBBox();g.width=b.width,g.height=b.height+d.padding/2,x[h.id]={y:d.compositTitleSize}}}else g=u(b,h,n);if(h.note){let a=u(b,{descriptions:[],id:h.id+"-note",note:h.note,type:"note"},n);"left of"===h.note.position?(n.setNode(g.id+"-note",a),n.setNode(g.id,g)):(n.setNode(g.id,g),n.setNode(g.id+"-note",a)),n.setParent(g.id,g.id+"-group"),n.setParent(g.id+"-note",g.id+"-group")}else n.setNode(g.id,g)}h.Rm.debug("Count=",n.nodeCount(),n);let s=0;r.forEach(function(a){s++,h.Rm.debug("Setting edge",a),n.setEdge(a.id1,a.id2,{relation:a,width:B(a.title),height:d.labelHeight*g.Y2.getRows(a.title).length,labelpos:"c"},"id"+s)}),(0,j.Zp)(n),h.Rm.debug("Graph after layout",n.nodes());let t=b.node();n.nodes().forEach(function(a){void 0!==a&&void 0!==n.node(a)?(h.Rm.warn("Node "+a+": "+JSON.stringify(n.node(a))),f.select("#"+t.id+" #"+a).attr("transform","translate("+(n.node(a).x-n.node(a).width/2)+","+(n.node(a).y+(x[a]?x[a].y:0)-n.node(a).height/2)+" )"),f.select("#"+t.id+" #"+a).attr("data-x-shift",n.node(a).x-n.node(a).width/2),i.querySelectorAll("#"+t.id+" #"+a+" .divider").forEach(a=>{let b=a.parentElement,c=0,d=0;b&&(b.parentElement&&(c=b.parentElement.getBBox().width),Number.isNaN(d=parseInt(b.getAttribute("data-x-shift"),10))&&(d=0)),a.setAttribute("x1",0-d+8),a.setAttribute("x2",c-d-8)})):h.Rm.debug("No Node "+a+": "+JSON.stringify(n.node(a)))});let v=t.getBBox();n.edges().forEach(function(a){void 0!==a&&void 0!==n.edge(a)&&(h.Rm.debug("Edge "+a.v+" -> "+a.w+": "+JSON.stringify(n.edge(a))),w(b,n.edge(a),n.edge(a).relation))});let y={id:c||"root",label:c||"root",width:0,height:0};return y.width=(v=t.getBBox()).width+2*d.padding,y.height=v.height+2*d.padding,h.Rm.debug("Doc rendered",y,n),y},"renderDoc"),D={parser:e.Zk,get db(){return new e.u4(1)},renderer:{setConf:y,draw:A},styles:e.tM,init:(0,h.K2)(a=>{a.state||(a.state={}),a.state.arrowMarkerAbsolute=a.arrowMarkerAbsolute},"init")}}};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";exports.id=9285,exports.ids=[9285],exports.modules={9974:(a,b,c)=>{c.d(b,{P:()=>f});var d=c(96779),e=c(21143),f=(0,e.K2)((a,b,c,f)=>{a.attr("class",c);let{width:i,height:j,x:k,y:l}=g(a,b);(0,d.a$)(a,j,i,f);let m=h(k,l,i,j,b);a.attr("viewBox",m),e.Rm.debug(`viewBox configured: ${m} with padding: ${b}`)},"setupViewPortForSVG"),g=(0,e.K2)((a,b)=>{let c=a.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:c.width+2*b,height:c.height+2*b,x:c.x,y:c.y}},"calculateDimensionsWithPadding"),h=(0,e.K2)((a,b,c,d,e)=>`${a-e} ${b-e} ${c} ${d}`,"createViewBox")},29285:(a,b,c)=>{c.d(b,{diagram:()=>v});var d=c(61827),e=c(65243),f=c(80339),g=c(9974),h=c(85535);c(29490),c(94964);var i=c(77464);c(46887),c(75517),c(46938);var j=c(70760),k=c(96779),l=c(21143),m=c(99123),n=c(75899),o=c(14120),p=class{constructor(){this.vertexCounter=0,this.config=(0,k.D7)(),this.vertices=new Map,this.edges=[],this.classes=new Map,this.subGraphs=[],this.subGraphLookup=new Map,this.tooltips=new Map,this.subCount=0,this.firstGraphFlag=!0,this.secCount=-1,this.posCrossRef=[],this.funs=[],this.setAccTitle=k.SV,this.setAccDescription=k.EI,this.setDiagramTitle=k.ke,this.getAccTitle=k.iN,this.getAccDescription=k.m7,this.getDiagramTitle=k.ab,this.funs.push(this.setupToolTips.bind(this)),this.addVertex=this.addVertex.bind(this),this.firstGraph=this.firstGraph.bind(this),this.setDirection=this.setDirection.bind(this),this.addSubGraph=this.addSubGraph.bind(this),this.addLink=this.addLink.bind(this),this.setLink=this.setLink.bind(this),this.updateLink=this.updateLink.bind(this),this.addClass=this.addClass.bind(this),this.setClass=this.setClass.bind(this),this.destructLink=this.destructLink.bind(this),this.setClickEvent=this.setClickEvent.bind(this),this.setTooltip=this.setTooltip.bind(this),this.updateLinkInterpolate=this.updateLinkInterpolate.bind(this),this.setClickFun=this.setClickFun.bind(this),this.bindFunctions=this.bindFunctions.bind(this),this.lex={firstGraph:this.firstGraph.bind(this)},this.clear(),this.setGen("gen-2")}static{(0,l.K2)(this,"FlowDB")}sanitizeText(a){return k.Y2.sanitizeText(a,this.config)}lookUpDomId(a){for(let b of this.vertices.values())if(b.id===a)return b.domId;return a}addVertex(a,b,c,d,f,g,h={},j){let l,m;if(!a||0===a.trim().length)return;if(void 0!==j){let a;a=j.includes("\n")?j+"\n":"{\n"+j+"\n}",l=(0,e.H)(a,{schema:e.r})}let n=this.edges.find(b=>b.id===a);if(n){let a=l;a?.animate!==void 0&&(n.animate=a.animate),a?.animation!==void 0&&(n.animation=a.animation),a?.curve!==void 0&&(n.interpolate=a.curve);return}let o=this.vertices.get(a);if(void 0===o&&(o={id:a,labelType:"text",domId:"flowchart-"+a+"-"+this.vertexCounter,styles:[],classes:[]},this.vertices.set(a,o)),this.vertexCounter++,void 0!==b?(this.config=(0,k.D7)(),m=this.sanitizeText(b.text.trim()),o.labelType=b.type,m.startsWith('"')&&m.endsWith('"')&&(m=m.substring(1,m.length-1)),o.text=m):void 0===o.text&&(o.text=a),void 0!==c&&(o.type=c),null!=d&&d.forEach(a=>{o.styles.push(a)}),null!=f&&f.forEach(a=>{o.classes.push(a)}),void 0!==g&&(o.dir=g),void 0===o.props?o.props=h:void 0!==h&&Object.assign(o.props,h),void 0!==l){if(l.shape){if(l.shape!==l.shape.toLowerCase()||l.shape.includes("_"))throw Error(`No such shape: ${l.shape}. Shape names should be lowercase.`);if(!(0,i.aP)(l.shape))throw Error(`No such shape: ${l.shape}.`);o.type=l?.shape}l?.label&&(o.text=l?.label),l?.icon&&(o.icon=l?.icon,l.label?.trim()||o.text!==a||(o.text="")),l?.form&&(o.form=l?.form),l?.pos&&(o.pos=l?.pos),l?.img&&(o.img=l?.img,l.label?.trim()||o.text!==a||(o.text="")),l?.constraint&&(o.constraint=l.constraint),l.w&&(o.assetWidth=Number(l.w)),l.h&&(o.assetHeight=Number(l.h))}}addSingleLink(a,b,c,d){let e={start:a,end:b,type:void 0,text:"",labelType:"text",classes:[],isUserDefinedId:!1,interpolate:this.edges.defaultInterpolate};l.Rm.info("abc78 Got edge...",e);let f=c.text;if(void 0!==f&&(e.text=this.sanitizeText(f.text.trim()),e.text.startsWith('"')&&e.text.endsWith('"')&&(e.text=e.text.substring(1,e.text.length-1)),e.labelType=f.type),void 0!==c&&(e.type=c.type,e.stroke=c.stroke,e.length=c.length>10?10:c.length),d&&!this.edges.some(a=>a.id===d))e.id=d,e.isUserDefinedId=!0;else{let a=this.edges.filter(a=>a.start===e.start&&a.end===e.end);0===a.length?e.id=(0,j.rY)(e.start,e.end,{counter:0,prefix:"L"}):e.id=(0,j.rY)(e.start,e.end,{counter:a.length+1,prefix:"L"})}if(this.edges.length<(this.config.maxEdges??500))l.Rm.info("Pushing edge..."),this.edges.push(e);else throw Error(`Edge limit exceeded. ${this.edges.length} edges found, but the limit is ${this.config.maxEdges}.
|
|
2
|
+
|
|
3
|
+
Initialize mermaid with maxEdges set to a higher number to allow more edges.
|
|
4
|
+
You cannot set this config via configuration inside the diagram as it is a secure config.
|
|
5
|
+
You have to call mermaid.initialize.`)}isLinkData(a){return null!==a&&"object"==typeof a&&"id"in a&&"string"==typeof a.id}addLink(a,b,c){let d=this.isLinkData(c)?c.id.replace("@",""):void 0;for(let e of(l.Rm.info("addLink",a,b,d),a))for(let f of b){let g=e===a[a.length-1],h=f===b[0];g&&h?this.addSingleLink(e,f,c,d):this.addSingleLink(e,f,c,void 0)}}updateLinkInterpolate(a,b){a.forEach(a=>{"default"===a?this.edges.defaultInterpolate=b:this.edges[a].interpolate=b})}updateLink(a,b){a.forEach(a=>{if("number"==typeof a&&a>=this.edges.length)throw Error(`The index ${a} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${this.edges.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===a?this.edges.defaultStyle=b:(this.edges[a].style=b,(this.edges[a]?.style?.length??0)>0&&!this.edges[a]?.style?.some(a=>a?.startsWith("fill"))&&this.edges[a]?.style?.push("fill:none"))})}addClass(a,b){let c=b.join().replace(/\\,/g,"\xa7\xa7\xa7").replace(/,/g,";").replace(/§§§/g,",").split(";");a.split(",").forEach(a=>{let b=this.classes.get(a);void 0===b&&(b={id:a,styles:[],textStyles:[]},this.classes.set(a,b)),null!=c&&c.forEach(a=>{if(/color/.exec(a)){let c=a.replace("fill","bgFill");b.textStyles.push(c)}b.styles.push(a)})})}setDirection(a){this.direction=a.trim(),/.*</.exec(this.direction)&&(this.direction="RL"),/.*\^/.exec(this.direction)&&(this.direction="BT"),/.*>/.exec(this.direction)&&(this.direction="LR"),/.*v/.exec(this.direction)&&(this.direction="TB"),"TD"===this.direction&&(this.direction="TB")}setClass(a,b){for(let c of a.split(",")){let a=this.vertices.get(c);a&&a.classes.push(b);let d=this.edges.find(a=>a.id===c);d&&d.classes.push(b);let e=this.subGraphLookup.get(c);e&&e.classes.push(b)}}setTooltip(a,b){if(void 0!==b)for(let c of(b=this.sanitizeText(b),a.split(",")))this.tooltips.set("gen-1"===this.version?this.lookUpDomId(c):c,b)}setClickFun(a,b,c){let d=this.lookUpDomId(a);if("loose"!==(0,k.D7)().securityLevel||void 0===b)return;let e=[];if("string"==typeof c){e=c.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let a=0;a<e.length;a++){let b=e[a].trim();b.startsWith('"')&&b.endsWith('"')&&(b=b.substr(1,b.length-2)),e[a]=b}}0===e.length&&e.push(a);let f=this.vertices.get(a);f&&(f.haveCallback=!0,this.funs.push(()=>{let a=document.querySelector(`[id="${d}"]`);null!==a&&a.addEventListener("click",()=>{j._K.runFunc(b,...e)},!1)}))}setLink(a,b,c){a.split(",").forEach(a=>{let d=this.vertices.get(a);void 0!==d&&(d.link=j._K.formatUrl(b,this.config),d.linkTarget=c)}),this.setClass(a,"clickable")}getTooltip(a){return this.tooltips.get(a)}setClickEvent(a,b,c){a.split(",").forEach(a=>{this.setClickFun(a,b,c)}),this.setClass(a,"clickable")}bindFunctions(a){this.funs.forEach(b=>{b(a)})}getDirection(){return this.direction?.trim()}getVertices(){return this.vertices}getEdges(){return this.edges}getClasses(){return this.classes}setupToolTips(a){let b=(0,m.Ltv)(".mermaidTooltip");null===(b._groups||b)[0][0]&&(b=(0,m.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,m.Ltv)(a).select("svg").selectAll("g.node").on("mouseover",a=>{let c=(0,m.Ltv)(a.currentTarget);if(null===c.attr("title"))return;let d=a.currentTarget?.getBoundingClientRect();b.transition().duration(200).style("opacity",".9"),b.text(c.attr("title")).style("left",window.scrollX+d.left+(d.right-d.left)/2+"px").style("top",window.scrollY+d.bottom+"px"),b.html(b.html().replace(/<br\/>/g,"<br/>")),c.classed("hover",!0)}).on("mouseout",a=>{b.transition().duration(500).style("opacity",0),(0,m.Ltv)(a.currentTarget).classed("hover",!1)})}clear(a="gen-2"){this.vertices=new Map,this.classes=new Map,this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.subGraphs=[],this.subGraphLookup=new Map,this.subCount=0,this.tooltips=new Map,this.firstGraphFlag=!0,this.version=a,this.config=(0,k.D7)(),(0,k.IU)()}setGen(a){this.version=a||"gen-2"}defaultStyle(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"}addSubGraph(a,b,c){let d=a.text.trim(),e=c.text;a===c&&/\s/.exec(c.text)&&(d=void 0);let f=(0,l.K2)(a=>{let b,c={boolean:{},number:{},string:{}},d=[];return{nodeList:a.filter(function(a){let e=typeof a;return a.stmt&&"dir"===a.stmt?(b=a.value,!1):""!==a.trim()&&(e in c?!c[e].hasOwnProperty(a)&&(c[e][a]=!0):!d.includes(a)&&d.push(a))}),dir:b}},"uniq")(b.flat()),g=f.nodeList,h=f.dir,i=(0,k.D7)().flowchart??{};if(h=h??(i.inheritDir?this.getDirection()??(0,k.D7)().direction??void 0:void 0),"gen-1"===this.version)for(let a=0;a<g.length;a++)g[a]=this.lookUpDomId(g[a]);d=d??"subGraph"+this.subCount,e=e||"",e=this.sanitizeText(e),this.subCount=this.subCount+1;let j={id:d,nodes:g,title:e.trim(),classes:[],dir:h,labelType:c.type};return l.Rm.info("Adding",j.id,j.nodes,j.dir),j.nodes=this.makeUniq(j,this.subGraphs).nodes,this.subGraphs.push(j),this.subGraphLookup.set(d,j),d}getPosForId(a){for(let[b,c]of this.subGraphs.entries())if(c.id===a)return b;return -1}indexNodes2(a,b){let c=this.subGraphs[b].nodes;if(this.secCount=this.secCount+1,this.secCount>2e3)return{result:!1,count:0};if(this.posCrossRef[this.secCount]=b,this.subGraphs[b].id===a)return{result:!0,count:0};let d=0,e=1;for(;d<c.length;){let b=this.getPosForId(c[d]);if(b>=0){let c=this.indexNodes2(a,b);if(c.result)return{result:!0,count:e+c.count};e+=c.count}d+=1}return{result:!1,count:e}}getDepthFirstPos(a){return this.posCrossRef[a]}indexNodes(){this.secCount=-1,this.subGraphs.length>0&&this.indexNodes2("none",this.subGraphs.length-1)}getSubGraphs(){return this.subGraphs}firstGraph(){return!!this.firstGraphFlag&&(this.firstGraphFlag=!1,!0)}destructStartLink(a){let b=a.trim(),c="arrow_open";switch(b[0]){case"<":c="arrow_point",b=b.slice(1);break;case"x":c="arrow_cross",b=b.slice(1);break;case"o":c="arrow_circle",b=b.slice(1)}let d="normal";return b.includes("=")&&(d="thick"),b.includes(".")&&(d="dotted"),{type:c,stroke:d}}countChar(a,b){let c=b.length,d=0;for(let e=0;e<c;++e)b[e]===a&&++d;return d}destructEndLink(a){let b=a.trim(),c=b.slice(0,-1),d="arrow_open";switch(b.slice(-1)){case"x":d="arrow_cross",b.startsWith("x")&&(d="double_"+d,c=c.slice(1));break;case">":d="arrow_point",b.startsWith("<")&&(d="double_"+d,c=c.slice(1));break;case"o":d="arrow_circle",b.startsWith("o")&&(d="double_"+d,c=c.slice(1))}let e="normal",f=c.length-1;c.startsWith("=")&&(e="thick"),c.startsWith("~")&&(e="invisible");let g=this.countChar(".",c);return g&&(e="dotted",f=g),{type:d,stroke:e,length:f}}destructLink(a,b){let c,d=this.destructEndLink(a);if(b){if((c=this.destructStartLink(b)).stroke!==d.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===c.type)c.type=d.type;else{if(c.type!==d.type)return{type:"INVALID",stroke:"INVALID"};c.type="double_"+c.type}return"double_arrow"===c.type&&(c.type="double_arrow_point"),c.length=d.length,c}return d}exists(a,b){for(let c of a)if(c.nodes.includes(b))return!0;return!1}makeUniq(a,b){let c=[];return a.nodes.forEach((d,e)=>{this.exists(b,d)||c.push(a.nodes[e])}),{nodes:c}}getTypeFromVertex(a){if(a.img)return"imageSquare";if(a.icon)return"circle"===a.form?"iconCircle":"square"===a.form?"iconSquare":"rounded"===a.form?"iconRounded":"icon";switch(a.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return a.type}}findNode(a,b){return a.find(a=>a.id===b)}destructEdgeType(a){let b="none",c="arrow_point";switch(a){case"arrow_point":case"arrow_circle":case"arrow_cross":c=a;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":c=b=a.replace("double_","")}return{arrowTypeStart:b,arrowTypeEnd:c}}addNodeFromVertex(a,b,c,d,e,f){let g=c.get(a.id),h=d.get(a.id)??!1,i=this.findNode(b,a.id);if(i)i.cssStyles=a.styles,i.cssCompiledStyles=this.getCompiledStyles(a.classes),i.cssClasses=a.classes.join(" ");else{let c={id:a.id,label:a.text,labelStyle:"",parentId:g,padding:e.flowchart?.padding||8,cssStyles:a.styles,cssCompiledStyles:this.getCompiledStyles(["default","node",...a.classes]),cssClasses:"default "+a.classes.join(" "),dir:a.dir,domId:a.domId,look:f,link:a.link,linkTarget:a.linkTarget,tooltip:this.getTooltip(a.id),icon:a.icon,pos:a.pos,img:a.img,assetWidth:a.assetWidth,assetHeight:a.assetHeight,constraint:a.constraint};h?b.push({...c,isGroup:!0,shape:"rect"}):b.push({...c,isGroup:!1,shape:this.getTypeFromVertex(a)})}}getCompiledStyles(a){let b=[];for(let c of a){let a=this.classes.get(c);a?.styles&&(b=[...b,...a.styles??[]].map(a=>a.trim())),a?.textStyles&&(b=[...b,...a.textStyles??[]].map(a=>a.trim()))}return b}getData(){let a=(0,k.D7)(),b=[],c=[],d=this.getSubGraphs(),e=new Map,f=new Map;for(let a=d.length-1;a>=0;a--){let b=d[a];for(let a of(b.nodes.length>0&&f.set(b.id,!0),b.nodes))e.set(a,b.id)}for(let c=d.length-1;c>=0;c--){let f=d[c];b.push({id:f.id,label:f.title,labelStyle:"",parentId:e.get(f.id),padding:8,cssCompiledStyles:this.getCompiledStyles(f.classes),cssClasses:f.classes.join(" "),shape:"rect",dir:f.dir,isGroup:!0,look:a.look})}this.getVertices().forEach(c=>{this.addNodeFromVertex(c,b,e,f,a,a.look||"classic")});let g=this.getEdges();return g.forEach((b,d)=>{let{arrowTypeStart:e,arrowTypeEnd:f}=this.destructEdgeType(b.type),h=[...g.defaultStyle??[]];b.style&&h.push(...b.style);let i={id:(0,j.rY)(b.start,b.end,{counter:d,prefix:"L"},b.id),isUserDefinedId:b.isUserDefinedId,start:b.start,end:b.end,type:b.type??"normal",label:b.text,labelpos:"c",thickness:b.stroke,minlen:b.length,classes:b?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:b?.stroke==="invisible"||b?.type==="arrow_open"?"none":e,arrowTypeEnd:b?.stroke==="invisible"||b?.type==="arrow_open"?"none":f,arrowheadStyle:"fill: #333",cssCompiledStyles:this.getCompiledStyles(b.classes),labelStyle:h,style:h,pattern:b.stroke,look:a.look,animate:b.animate,animation:b.animation,curve:b.interpolate||this.edges.defaultInterpolate||a.flowchart?.curve};c.push(i)}),{nodes:b,edges:c,other:{},config:a}}defaultConfig(){return k.ME.flowchart}},q=(0,l.K2)(function(a,b){return b.db.getClasses()},"getClasses"),r=(0,l.K2)(async function(a,b,c,d){let e;l.Rm.info("REF0:"),l.Rm.info("Drawing state diagram (v2)",b);let{securityLevel:i,flowchart:n,layout:o}=(0,k.D7)();"sandbox"===i&&(e=(0,m.Ltv)("#i"+b));let p="sandbox"===i?e.nodes()[0].contentDocument:document;l.Rm.debug("Before getData: ");let q=d.db.getData();l.Rm.debug("Data: ",q);let r=(0,f.A)(b,i),s=d.db.getDirection();q.type=d.type,q.layoutAlgorithm=(0,h.q7)(o),"dagre"===q.layoutAlgorithm&&"elk"===o&&l.Rm.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),q.direction=s,q.nodeSpacing=n?.nodeSpacing||50,q.rankSpacing=n?.rankSpacing||50,q.markers=["point","circle","cross"],q.diagramId=b,l.Rm.debug("REF1:",q),await (0,h.XX)(q,r);let t=q.config.flowchart?.diagramPadding??8;for(let a of(j._K.insertTitle(r,"flowchartTitleText",n?.titleTopMargin||0,d.db.getDiagramTitle()),(0,g.P)(r,t,"flowchart",n?.useMaxWidth||!1),q.nodes)){let c=(0,m.Ltv)(`#${b} [id="${a.id}"]`);if(!c||!a.link)continue;let d=p.createElementNS("http://www.w3.org/2000/svg","a");d.setAttributeNS("http://www.w3.org/2000/svg","class",a.cssClasses),d.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===i?d.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):a.linkTarget&&d.setAttributeNS("http://www.w3.org/2000/svg","target",a.linkTarget);let e=c.insert(function(){return d},":first-child"),f=c.select(".label-container");f&&e.append(function(){return f.node()});let g=c.select(".label");g&&e.append(function(){return g.node()})}},"draw"),s=function(){var a=(0,l.K2)(function(a,b,c,d){for(c=c||{},d=a.length;d--;c[a[d]]=b);return c},"o"),b=[1,4],c=[1,3],d=[1,5],e=[1,8,9,10,11,27,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],f=[2,2],g=[1,13],h=[1,14],i=[1,15],j=[1,16],k=[1,23],m=[1,25],n=[1,26],o=[1,27],p=[1,49],q=[1,48],r=[1,29],s=[1,30],t=[1,31],u=[1,32],v=[1,33],w=[1,44],x=[1,46],y=[1,42],z=[1,47],A=[1,43],B=[1,50],C=[1,45],D=[1,51],E=[1,52],F=[1,34],G=[1,35],H=[1,36],I=[1,37],J=[1,57],K=[1,8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],L=[1,61],M=[1,60],N=[1,62],O=[8,9,11,75,77,78],P=[1,78],Q=[1,91],R=[1,96],S=[1,95],T=[1,92],U=[1,88],V=[1,94],W=[1,90],X=[1,97],Y=[1,93],Z=[1,98],$=[1,89],_=[8,9,10,11,40,75,77,78],aa=[8,9,10,11,40,46,75,77,78],ab=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,78,89,102,105,106,109,111,114,115,116],ac=[8,9,11,44,60,75,77,78,89,102,105,106,109,111,114,115,116],ad=[44,60,89,102,105,106,109,111,114,115,116],ae=[1,121],af=[1,122],ag=[1,124],ah=[1,123],ai=[44,60,62,74,89,102,105,106,109,111,114,115,116],aj=[1,133],ak=[1,147],al=[1,148],am=[1,149],an=[1,150],ao=[1,135],ap=[1,137],aq=[1,141],ar=[1,142],as=[1,143],at=[1,144],au=[1,145],av=[1,146],aw=[1,151],ax=[1,152],ay=[1,131],az=[1,132],aA=[1,139],aB=[1,134],aC=[1,138],aD=[1,136],aE=[8,9,10,11,27,32,34,36,38,44,60,84,85,86,87,88,89,102,105,106,109,111,114,115,116,121,122,123,124],aF=[1,154],aG=[1,156],aH=[8,9,11],aI=[8,9,10,11,14,44,60,89,105,106,109,111,114,115,116],aJ=[1,176],aK=[1,172],aL=[1,173],aM=[1,177],aN=[1,174],aO=[1,175],aP=[77,116,119],aQ=[8,9,10,11,12,14,27,29,32,44,60,75,84,85,86,87,88,89,90,105,109,111,114,115,116],aR=[10,106],aS=[31,49,51,53,55,57,62,64,66,67,69,71,116,117,118],aT=[1,247],aU=[1,245],aV=[1,249],aW=[1,243],aX=[1,244],aY=[1,246],aZ=[1,248],a$=[1,250],a_=[1,268],a0=[8,9,11,106],a1=[8,9,10,11,60,84,105,106,109,110,111,112],a2={trace:(0,l.K2)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,LINK_ID:78,edgeTextToken:79,STR:80,MD_STR:81,textToken:82,keywords:83,STYLE:84,LINKSTYLE:85,CLASSDEF:86,CLASS:87,CLICK:88,DOWN:89,UP:90,textNoTagsToken:91,stylesOpt:92,"idString[vertex]":93,"idString[class]":94,CALLBACKNAME:95,CALLBACKARGS:96,HREF:97,LINK_TARGET:98,"STR[link]":99,"STR[tooltip]":100,alphaNum:101,DEFAULT:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,NODE_STRING:109,UNIT:110,BRKT:111,PCT:112,idStringToken:113,MINUS:114,MULT:115,UNICODE_TEXT:116,TEXT:117,TAGSTART:118,EDGE_TEXT:119,alphaNumToken:120,direction_tb:121,direction_bt:122,direction_rl:123,direction_lr:124,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",78:"LINK_ID",80:"STR",81:"MD_STR",84:"STYLE",85:"LINKSTYLE",86:"CLASSDEF",87:"CLASS",88:"CLICK",89:"DOWN",90:"UP",93:"idString[vertex]",94:"idString[class]",95:"CALLBACKNAME",96:"CALLBACKARGS",97:"HREF",98:"LINK_TARGET",99:"STR[link]",100:"STR[tooltip]",102:"DEFAULT",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"NODE_STRING",110:"UNIT",111:"BRKT",112:"PCT",114:"MINUS",115:"MULT",116:"UNICODE_TEXT",117:"TEXT",118:"TAGSTART",119:"EDGE_TEXT",121:"direction_tb",122:"direction_bt",123:"direction_rl",124:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[41,4],[76,1],[76,2],[76,1],[76,1],[72,1],[72,2],[73,3],[30,1],[30,2],[30,1],[30,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[103,1],[103,3],[92,1],[92,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[113,1],[82,1],[82,1],[82,1],[82,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[91,1],[79,1],[79,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[120,1],[47,1],[47,2],[101,1],[101,2],[33,1],[33,1],[33,1],[33,1]],performAction:(0,l.K2)(function(a,b,c,d,e,f,g){var h=f.length-1;switch(e){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(f[h])||f[h].length>0)&&f[h-1].push(f[h]),this.$=f[h-1];break;case 4:case 183:case 44:case 54:case 76:case 181:this.$=f[h];break;case 11:d.setDirection("TB"),this.$="TB";break;case 12:d.setDirection(f[h-1]),this.$=f[h-1];break;case 27:this.$=f[h-1].nodes;break;case 33:this.$=d.addSubGraph(f[h-6],f[h-1],f[h-4]);break;case 34:this.$=d.addSubGraph(f[h-3],f[h-1],f[h-3]);break;case 35:this.$=d.addSubGraph(void 0,f[h-1],void 0);break;case 37:this.$=f[h].trim(),d.setAccTitle(this.$);break;case 38:case 39:this.$=f[h].trim(),d.setAccDescription(this.$);break;case 43:case 133:this.$=f[h-1]+f[h];break;case 45:d.addVertex(f[h-1][f[h-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,f[h]),d.addLink(f[h-3].stmt,f[h-1],f[h-2]),this.$={stmt:f[h-1],nodes:f[h-1].concat(f[h-3].nodes)};break;case 46:d.addLink(f[h-2].stmt,f[h],f[h-1]),this.$={stmt:f[h],nodes:f[h].concat(f[h-2].nodes)};break;case 47:d.addLink(f[h-3].stmt,f[h-1],f[h-2]),this.$={stmt:f[h-1],nodes:f[h-1].concat(f[h-3].nodes)};break;case 48:this.$={stmt:f[h-1],nodes:f[h-1]};break;case 49:d.addVertex(f[h-1][f[h-1].length-1],void 0,void 0,void 0,void 0,void 0,void 0,f[h]),this.$={stmt:f[h-1],nodes:f[h-1],shapeData:f[h]};break;case 50:this.$={stmt:f[h],nodes:f[h]};break;case 51:case 128:case 130:this.$=[f[h]];break;case 52:d.addVertex(f[h-5][f[h-5].length-1],void 0,void 0,void 0,void 0,void 0,void 0,f[h-4]),this.$=f[h-5].concat(f[h]);break;case 53:this.$=f[h-4].concat(f[h]);break;case 55:this.$=f[h-2],d.setClass(f[h-2],f[h]);break;case 56:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"square");break;case 57:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"doublecircle");break;case 58:this.$=f[h-5],d.addVertex(f[h-5],f[h-2],"circle");break;case 59:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"ellipse");break;case 60:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"stadium");break;case 61:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"subroutine");break;case 62:this.$=f[h-7],d.addVertex(f[h-7],f[h-1],"rect",void 0,void 0,void 0,Object.fromEntries([[f[h-5],f[h-3]]]));break;case 63:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"cylinder");break;case 64:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"round");break;case 65:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"diamond");break;case 66:this.$=f[h-5],d.addVertex(f[h-5],f[h-2],"hexagon");break;case 67:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"odd");break;case 68:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"trapezoid");break;case 69:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"inv_trapezoid");break;case 70:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"lean_right");break;case 71:this.$=f[h-3],d.addVertex(f[h-3],f[h-1],"lean_left");break;case 72:this.$=f[h],d.addVertex(f[h]);break;case 73:f[h-1].text=f[h],this.$=f[h-1];break;case 74:case 75:f[h-2].text=f[h-1],this.$=f[h-2];break;case 77:var i=d.destructLink(f[h],f[h-2]);this.$={type:i.type,stroke:i.stroke,length:i.length,text:f[h-1]};break;case 78:var i=d.destructLink(f[h],f[h-2]);this.$={type:i.type,stroke:i.stroke,length:i.length,text:f[h-1],id:f[h-3]};break;case 79:case 86:case 101:case 103:this.$={text:f[h],type:"text"};break;case 80:case 87:case 102:this.$={text:f[h-1].text+""+f[h],type:f[h-1].type};break;case 81:case 88:this.$={text:f[h],type:"string"};break;case 82:case 89:case 104:this.$={text:f[h],type:"markdown"};break;case 83:var i=d.destructLink(f[h]);this.$={type:i.type,stroke:i.stroke,length:i.length};break;case 84:var i=d.destructLink(f[h]);this.$={type:i.type,stroke:i.stroke,length:i.length,id:f[h-1]};break;case 85:this.$=f[h-1];break;case 105:this.$=f[h-4],d.addClass(f[h-2],f[h]);break;case 106:this.$=f[h-4],d.setClass(f[h-2],f[h]);break;case 107:case 115:this.$=f[h-1],d.setClickEvent(f[h-1],f[h]);break;case 108:case 116:this.$=f[h-3],d.setClickEvent(f[h-3],f[h-2]),d.setTooltip(f[h-3],f[h]);break;case 109:this.$=f[h-2],d.setClickEvent(f[h-2],f[h-1],f[h]);break;case 110:this.$=f[h-4],d.setClickEvent(f[h-4],f[h-3],f[h-2]),d.setTooltip(f[h-4],f[h]);break;case 111:this.$=f[h-2],d.setLink(f[h-2],f[h]);break;case 112:this.$=f[h-4],d.setLink(f[h-4],f[h-2]),d.setTooltip(f[h-4],f[h]);break;case 113:this.$=f[h-4],d.setLink(f[h-4],f[h-2],f[h]);break;case 114:this.$=f[h-6],d.setLink(f[h-6],f[h-4],f[h]),d.setTooltip(f[h-6],f[h-2]);break;case 117:this.$=f[h-1],d.setLink(f[h-1],f[h]);break;case 118:this.$=f[h-3],d.setLink(f[h-3],f[h-2]),d.setTooltip(f[h-3],f[h]);break;case 119:this.$=f[h-3],d.setLink(f[h-3],f[h-2],f[h]);break;case 120:this.$=f[h-5],d.setLink(f[h-5],f[h-4],f[h]),d.setTooltip(f[h-5],f[h-2]);break;case 121:this.$=f[h-4],d.addVertex(f[h-2],void 0,void 0,f[h]);break;case 122:this.$=f[h-4],d.updateLink([f[h-2]],f[h]);break;case 123:this.$=f[h-4],d.updateLink(f[h-2],f[h]);break;case 124:this.$=f[h-8],d.updateLinkInterpolate([f[h-6]],f[h-2]),d.updateLink([f[h-6]],f[h]);break;case 125:this.$=f[h-8],d.updateLinkInterpolate(f[h-6],f[h-2]),d.updateLink(f[h-6],f[h]);break;case 126:this.$=f[h-6],d.updateLinkInterpolate([f[h-4]],f[h]);break;case 127:this.$=f[h-6],d.updateLinkInterpolate(f[h-4],f[h]);break;case 129:case 131:f[h-2].push(f[h]),this.$=f[h-2];break;case 182:case 184:this.$=f[h-1]+""+f[h];break;case 185:this.$={stmt:"dir",value:"TB"};break;case 186:this.$={stmt:"dir",value:"BT"};break;case 187:this.$={stmt:"dir",value:"RL"};break;case 188:this.$={stmt:"dir",value:"LR"}}},"anonymous"),table:[{3:1,4:2,9:b,10:c,12:d},{1:[3]},a(e,f,{5:6}),{4:7,9:b,10:c,12:d},{4:8,9:b,10:c,12:d},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:g,9:h,10:i,11:j,20:17,22:18,23:19,24:20,25:21,26:22,27:k,33:24,34:m,36:n,38:o,42:28,43:38,44:p,45:39,47:40,60:q,84:r,85:s,86:t,87:u,88:v,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E,121:F,122:G,123:H,124:I},a(e,[2,9]),a(e,[2,10]),a(e,[2,11]),{8:[1,54],9:[1,55],10:J,15:53,18:56},a(K,[2,3]),a(K,[2,4]),a(K,[2,5]),a(K,[2,6]),a(K,[2,7]),a(K,[2,8]),{8:L,9:M,11:N,21:58,41:59,72:63,75:[1,64],77:[1,66],78:[1,65]},{8:L,9:M,11:N,21:67},{8:L,9:M,11:N,21:68},{8:L,9:M,11:N,21:69},{8:L,9:M,11:N,21:70},{8:L,9:M,11:N,21:71},{8:L,9:M,10:[1,72],11:N,21:73},a(K,[2,36]),{35:[1,74]},{37:[1,75]},a(K,[2,39]),a(O,[2,50],{18:76,39:77,10:J,40:P}),{10:[1,79]},{10:[1,80]},{10:[1,81]},{10:[1,82]},{14:Q,44:R,60:S,80:[1,86],89:T,95:[1,83],97:[1,84],101:85,105:U,106:V,109:W,111:X,114:Y,115:Z,116:$,120:87},a(K,[2,185]),a(K,[2,186]),a(K,[2,187]),a(K,[2,188]),a(_,[2,51]),a(_,[2,54],{46:[1,99]}),a(aa,[2,72],{113:112,29:[1,100],44:p,48:[1,101],50:[1,102],52:[1,103],54:[1,104],56:[1,105],58:[1,106],60:q,63:[1,107],65:[1,108],67:[1,109],68:[1,110],70:[1,111],89:w,102:x,105:y,106:z,109:A,111:B,114:C,115:D,116:E}),a(ab,[2,181]),a(ab,[2,142]),a(ab,[2,143]),a(ab,[2,144]),a(ab,[2,145]),a(ab,[2,146]),a(ab,[2,147]),a(ab,[2,148]),a(ab,[2,149]),a(ab,[2,150]),a(ab,[2,151]),a(ab,[2,152]),a(e,[2,12]),a(e,[2,18]),a(e,[2,19]),{9:[1,113]},a(ac,[2,26],{18:114,10:J}),a(K,[2,27]),{42:115,43:38,44:p,45:39,47:40,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E},a(K,[2,40]),a(K,[2,41]),a(K,[2,42]),a(ad,[2,76],{73:116,62:[1,118],74:[1,117]}),{76:119,79:120,80:ae,81:af,116:ag,119:ah},{75:[1,125],77:[1,126]},a(ai,[2,83]),a(K,[2,28]),a(K,[2,29]),a(K,[2,30]),a(K,[2,31]),a(K,[2,32]),{10:aj,12:ak,14:al,27:am,28:127,32:an,44:ao,60:ap,75:aq,80:[1,129],81:[1,130],83:140,84:ar,85:as,86:at,87:au,88:av,89:aw,90:ax,91:128,105:ay,109:az,111:aA,114:aB,115:aC,116:aD},a(aE,f,{5:153}),a(K,[2,37]),a(K,[2,38]),a(O,[2,48],{44:aF}),a(O,[2,49],{18:155,10:J,40:aG}),a(_,[2,44]),{44:p,47:157,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E},{102:[1,158],103:159,105:[1,160]},{44:p,47:161,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E},{44:p,47:162,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E},a(aH,[2,107],{10:[1,163],96:[1,164]}),{80:[1,165]},a(aH,[2,115],{120:167,10:[1,166],14:Q,44:R,60:S,89:T,105:U,106:V,109:W,111:X,114:Y,115:Z,116:$}),a(aH,[2,117],{10:[1,168]}),a(aI,[2,183]),a(aI,[2,170]),a(aI,[2,171]),a(aI,[2,172]),a(aI,[2,173]),a(aI,[2,174]),a(aI,[2,175]),a(aI,[2,176]),a(aI,[2,177]),a(aI,[2,178]),a(aI,[2,179]),a(aI,[2,180]),{44:p,47:169,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E},{30:170,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:178,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:180,50:[1,179],67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:181,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:182,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:183,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{109:[1,184]},{30:185,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:186,65:[1,187],67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:188,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:189,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{30:190,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},a(ab,[2,182]),a(e,[2,20]),a(ac,[2,25]),a(O,[2,46],{39:191,18:192,10:J,40:P}),a(ad,[2,73],{10:[1,193]}),{10:[1,194]},{30:195,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{77:[1,196],79:197,116:ag,119:ah},a(aP,[2,79]),a(aP,[2,81]),a(aP,[2,82]),a(aP,[2,168]),a(aP,[2,169]),{76:198,79:120,80:ae,81:af,116:ag,119:ah},a(ai,[2,84]),{8:L,9:M,10:aj,11:N,12:ak,14:al,21:200,27:am,29:[1,199],32:an,44:ao,60:ap,75:aq,83:140,84:ar,85:as,86:at,87:au,88:av,89:aw,90:ax,91:201,105:ay,109:az,111:aA,114:aB,115:aC,116:aD},a(aQ,[2,101]),a(aQ,[2,103]),a(aQ,[2,104]),a(aQ,[2,157]),a(aQ,[2,158]),a(aQ,[2,159]),a(aQ,[2,160]),a(aQ,[2,161]),a(aQ,[2,162]),a(aQ,[2,163]),a(aQ,[2,164]),a(aQ,[2,165]),a(aQ,[2,166]),a(aQ,[2,167]),a(aQ,[2,90]),a(aQ,[2,91]),a(aQ,[2,92]),a(aQ,[2,93]),a(aQ,[2,94]),a(aQ,[2,95]),a(aQ,[2,96]),a(aQ,[2,97]),a(aQ,[2,98]),a(aQ,[2,99]),a(aQ,[2,100]),{6:11,7:12,8:g,9:h,10:i,11:j,20:17,22:18,23:19,24:20,25:21,26:22,27:k,32:[1,202],33:24,34:m,36:n,38:o,42:28,43:38,44:p,45:39,47:40,60:q,84:r,85:s,86:t,87:u,88:v,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E,121:F,122:G,123:H,124:I},{10:J,18:203},{44:[1,204]},a(_,[2,43]),{10:[1,205],44:p,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:112,114:C,115:D,116:E},{10:[1,206]},{10:[1,207],106:[1,208]},a(aR,[2,128]),{10:[1,209],44:p,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:112,114:C,115:D,116:E},{10:[1,210],44:p,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:112,114:C,115:D,116:E},{80:[1,211]},a(aH,[2,109],{10:[1,212]}),a(aH,[2,111],{10:[1,213]}),{80:[1,214]},a(aI,[2,184]),{80:[1,215],98:[1,216]},a(_,[2,55],{113:112,44:p,60:q,89:w,102:x,105:y,106:z,109:A,111:B,114:C,115:D,116:E}),{31:[1,217],67:aJ,82:218,116:aM,117:aN,118:aO},a(aS,[2,86]),a(aS,[2,88]),a(aS,[2,89]),a(aS,[2,153]),a(aS,[2,154]),a(aS,[2,155]),a(aS,[2,156]),{49:[1,219],67:aJ,82:218,116:aM,117:aN,118:aO},{30:220,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{51:[1,221],67:aJ,82:218,116:aM,117:aN,118:aO},{53:[1,222],67:aJ,82:218,116:aM,117:aN,118:aO},{55:[1,223],67:aJ,82:218,116:aM,117:aN,118:aO},{57:[1,224],67:aJ,82:218,116:aM,117:aN,118:aO},{60:[1,225]},{64:[1,226],67:aJ,82:218,116:aM,117:aN,118:aO},{66:[1,227],67:aJ,82:218,116:aM,117:aN,118:aO},{30:228,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},{31:[1,229],67:aJ,82:218,116:aM,117:aN,118:aO},{67:aJ,69:[1,230],71:[1,231],82:218,116:aM,117:aN,118:aO},{67:aJ,69:[1,233],71:[1,232],82:218,116:aM,117:aN,118:aO},a(O,[2,45],{18:155,10:J,40:aG}),a(O,[2,47],{44:aF}),a(ad,[2,75]),a(ad,[2,74]),{62:[1,234],67:aJ,82:218,116:aM,117:aN,118:aO},a(ad,[2,77]),a(aP,[2,80]),{77:[1,235],79:197,116:ag,119:ah},{30:236,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},a(aE,f,{5:237}),a(aQ,[2,102]),a(K,[2,35]),{43:238,44:p,45:39,47:40,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E},{10:J,18:239},{10:aT,60:aU,84:aV,92:240,105:aW,107:241,108:242,109:aX,110:aY,111:aZ,112:a$},{10:aT,60:aU,84:aV,92:251,104:[1,252],105:aW,107:241,108:242,109:aX,110:aY,111:aZ,112:a$},{10:aT,60:aU,84:aV,92:253,104:[1,254],105:aW,107:241,108:242,109:aX,110:aY,111:aZ,112:a$},{105:[1,255]},{10:aT,60:aU,84:aV,92:256,105:aW,107:241,108:242,109:aX,110:aY,111:aZ,112:a$},{44:p,47:257,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E},a(aH,[2,108]),{80:[1,258]},{80:[1,259],98:[1,260]},a(aH,[2,116]),a(aH,[2,118],{10:[1,261]}),a(aH,[2,119]),a(aa,[2,56]),a(aS,[2,87]),a(aa,[2,57]),{51:[1,262],67:aJ,82:218,116:aM,117:aN,118:aO},a(aa,[2,64]),a(aa,[2,59]),a(aa,[2,60]),a(aa,[2,61]),{109:[1,263]},a(aa,[2,63]),a(aa,[2,65]),{66:[1,264],67:aJ,82:218,116:aM,117:aN,118:aO},a(aa,[2,67]),a(aa,[2,68]),a(aa,[2,70]),a(aa,[2,69]),a(aa,[2,71]),a([10,44,60,89,102,105,106,109,111,114,115,116],[2,85]),a(ad,[2,78]),{31:[1,265],67:aJ,82:218,116:aM,117:aN,118:aO},{6:11,7:12,8:g,9:h,10:i,11:j,20:17,22:18,23:19,24:20,25:21,26:22,27:k,32:[1,266],33:24,34:m,36:n,38:o,42:28,43:38,44:p,45:39,47:40,60:q,84:r,85:s,86:t,87:u,88:v,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E,121:F,122:G,123:H,124:I},a(_,[2,53]),{43:267,44:p,45:39,47:40,60:q,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E},a(aH,[2,121],{106:a_}),a(a0,[2,130],{108:269,10:aT,60:aU,84:aV,105:aW,109:aX,110:aY,111:aZ,112:a$}),a(a1,[2,132]),a(a1,[2,134]),a(a1,[2,135]),a(a1,[2,136]),a(a1,[2,137]),a(a1,[2,138]),a(a1,[2,139]),a(a1,[2,140]),a(a1,[2,141]),a(aH,[2,122],{106:a_}),{10:[1,270]},a(aH,[2,123],{106:a_}),{10:[1,271]},a(aR,[2,129]),a(aH,[2,105],{106:a_}),a(aH,[2,106],{113:112,44:p,60:q,89:w,102:x,105:y,106:z,109:A,111:B,114:C,115:D,116:E}),a(aH,[2,110]),a(aH,[2,112],{10:[1,272]}),a(aH,[2,113]),{98:[1,273]},{51:[1,274]},{62:[1,275]},{66:[1,276]},{8:L,9:M,11:N,21:277},a(K,[2,34]),a(_,[2,52]),{10:aT,60:aU,84:aV,105:aW,107:278,108:242,109:aX,110:aY,111:aZ,112:a$},a(a1,[2,133]),{14:Q,44:R,60:S,89:T,101:279,105:U,106:V,109:W,111:X,114:Y,115:Z,116:$,120:87},{14:Q,44:R,60:S,89:T,101:280,105:U,106:V,109:W,111:X,114:Y,115:Z,116:$,120:87},{98:[1,281]},a(aH,[2,120]),a(aa,[2,58]),{30:282,67:aJ,80:aK,81:aL,82:171,116:aM,117:aN,118:aO},a(aa,[2,66]),a(aE,f,{5:283}),a(a0,[2,131],{108:269,10:aT,60:aU,84:aV,105:aW,109:aX,110:aY,111:aZ,112:a$}),a(aH,[2,126],{120:167,10:[1,284],14:Q,44:R,60:S,89:T,105:U,106:V,109:W,111:X,114:Y,115:Z,116:$}),a(aH,[2,127],{120:167,10:[1,285],14:Q,44:R,60:S,89:T,105:U,106:V,109:W,111:X,114:Y,115:Z,116:$}),a(aH,[2,114]),{31:[1,286],67:aJ,82:218,116:aM,117:aN,118:aO},{6:11,7:12,8:g,9:h,10:i,11:j,20:17,22:18,23:19,24:20,25:21,26:22,27:k,32:[1,287],33:24,34:m,36:n,38:o,42:28,43:38,44:p,45:39,47:40,60:q,84:r,85:s,86:t,87:u,88:v,89:w,102:x,105:y,106:z,109:A,111:B,113:41,114:C,115:D,116:E,121:F,122:G,123:H,124:I},{10:aT,60:aU,84:aV,92:288,105:aW,107:241,108:242,109:aX,110:aY,111:aZ,112:a$},{10:aT,60:aU,84:aV,92:289,105:aW,107:241,108:242,109:aX,110:aY,111:aZ,112:a$},a(aa,[2,62]),a(K,[2,33]),a(aH,[2,124],{106:a_}),a(aH,[2,125],{106:a_})],defaultActions:{},parseError:(0,l.K2)(function(a,b){if(b.recoverable)this.trace(a);else{var c=Error(a);throw c.hash=b,c}},"parseError"),parse:(0,l.K2)(function(a){var b=this,c=[0],d=[],e=[null],f=[],g=this.table,h="",i=0,j=0,k=0,m=f.slice.call(arguments,1),n=Object.create(this.lexer),o={};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(o[p]=this.yy[p]);n.setInput(a,o),o.lexer=n,o.parser=this,void 0===n.yylloc&&(n.yylloc={});var q=n.yylloc;f.push(q);var r=n.options&&n.options.ranges;function s(){var a;return"number"!=typeof(a=d.pop()||n.lex()||1)&&(a instanceof Array&&(a=(d=a).pop()),a=b.symbols_[a]||a),a}"function"==typeof o.parseError?this.parseError=o.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,l.K2)(function(a){c.length=c.length-2*a,e.length=e.length-a,f.length=f.length-a},"popStack"),(0,l.K2)(s,"lex");for(var t,u,v,w,x,y,z,A,B,C={};;){if(v=c[c.length-1],this.defaultActions[v]?w=this.defaultActions[v]:(null==t&&(t=s()),w=g[v]&&g[v][t]),void 0===w||!w.length||!w[0]){var D="";for(y in B=[],g[v])this.terminals_[y]&&y>2&&B.push("'"+this.terminals_[y]+"'");D=n.showPosition?"Parse error on line "+(i+1)+":\n"+n.showPosition()+"\nExpecting "+B.join(", ")+", got '"+(this.terminals_[t]||t)+"'":"Parse error on line "+(i+1)+": Unexpected "+(1==t?"end of input":"'"+(this.terminals_[t]||t)+"'"),this.parseError(D,{text:n.match,token:this.terminals_[t]||t,line:n.yylineno,loc:q,expected:B})}if(w[0]instanceof Array&&w.length>1)throw Error("Parse Error: multiple actions possible at state: "+v+", token: "+t);switch(w[0]){case 1:c.push(t),e.push(n.yytext),f.push(n.yylloc),c.push(w[1]),t=null,u?(t=u,u=null):(j=n.yyleng,h=n.yytext,i=n.yylineno,q=n.yylloc,k>0&&k--);break;case 2:if(z=this.productions_[w[1]][1],C.$=e[e.length-z],C._$={first_line:f[f.length-(z||1)].first_line,last_line:f[f.length-1].last_line,first_column:f[f.length-(z||1)].first_column,last_column:f[f.length-1].last_column},r&&(C._$.range=[f[f.length-(z||1)].range[0],f[f.length-1].range[1]]),void 0!==(x=this.performAction.apply(C,[h,j,i,o,w[1],e,f].concat(m))))return x;z&&(c=c.slice(0,-1*z*2),e=e.slice(0,-1*z),f=f.slice(0,-1*z)),c.push(this.productions_[w[1]][0]),e.push(C.$),f.push(C._$),A=g[c[c.length-2]][c[c.length-1]],c.push(A);break;case 3:return!0}}return!0},"parse")};function a3(){this.yy={}}return a2.lexer={EOF:1,parseError:(0,l.K2)(function(a,b){if(this.yy.parser)this.yy.parser.parseError(a,b);else throw Error(a)},"parseError"),setInput:(0,l.K2)(function(a,b){return this.yy=b||this.yy||{},this._input=a,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,l.K2)(function(){var a=this._input[0];return this.yytext+=a,this.yyleng++,this.offset++,this.match+=a,this.matched+=a,a.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),a},"input"),unput:(0,l.K2)(function(a){var b=a.length,c=a.split(/(?:\r\n?|\n)/g);this._input=a+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-b),this.offset-=b;var d=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var e=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===d.length?this.yylloc.first_column:0)+d[d.length-c.length].length-c[0].length:this.yylloc.first_column-b},this.options.ranges&&(this.yylloc.range=[e[0],e[0]+this.yyleng-b]),this.yyleng=this.yytext.length,this},"unput"),more:(0,l.K2)(function(){return this._more=!0,this},"more"),reject:(0,l.K2)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,l.K2)(function(a){this.unput(this.match.slice(a))},"less"),pastInput:(0,l.K2)(function(){var a=this.matched.substr(0,this.matched.length-this.match.length);return(a.length>20?"...":"")+a.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,l.K2)(function(){var a=this.match;return a.length<20&&(a+=this._input.substr(0,20-a.length)),(a.substr(0,20)+(a.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,l.K2)(function(){var a=this.pastInput(),b=Array(a.length+1).join("-");return a+this.upcomingInput()+"\n"+b+"^"},"showPosition"),test_match:(0,l.K2)(function(a,b){var c,d,e;if(this.options.backtrack_lexer&&(e={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(e.yylloc.range=this.yylloc.range.slice(0))),(d=a[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=d.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:d?d[d.length-1].length-d[d.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],c=this.performAction.call(this,this.yy,this,b,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),c)return c;if(this._backtrack)for(var f in e)this[f]=e[f];return!1},"test_match"),next:(0,l.K2)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var a,b,c,d,e=this._currentRules(),f=0;f<e.length;f++)if((c=this._input.match(this.rules[e[f]]))&&(!b||c[0].length>b[0].length)){if(b=c,d=f,this.options.backtrack_lexer){if(!1!==(a=this.test_match(c,e[f])))return a;if(!this._backtrack)return!1;b=!1;continue}if(!this.options.flex)break}return b?!1!==(a=this.test_match(b,e[d]))&&a:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,l.K2)(function(){var a=this.next();return a||this.lex()},"lex"),begin:(0,l.K2)(function(a){this.conditionStack.push(a)},"begin"),popState:(0,l.K2)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,l.K2)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,l.K2)(function(a){return(a=this.conditionStack.length-1-Math.abs(a||0))>=0?this.conditionStack[a]:"INITIAL"},"topState"),pushState:(0,l.K2)(function(a){this.begin(a)},"pushState"),stateStackSize:(0,l.K2)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,l.K2)(function(a,b,c,d){switch(c){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 12:case 14:case 17:case 20:case 23:case 33:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),b.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:return b.yytext=b.yytext.replace(/\n\s*/g,"<br/>"),40;case 11:return 40;case 13:this.begin("callbackname");break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 95;case 18:return 96;case 19:return"MD_STR";case 21:this.begin("md_string");break;case 22:return"STR";case 24:this.pushState("string");break;case 25:return 84;case 26:return 102;case 27:return 85;case 28:return 104;case 29:return 86;case 30:return 87;case 31:return 97;case 32:this.begin("click");break;case 34:return 88;case 35:case 36:case 37:return a.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:case 41:case 42:case 43:return 98;case 44:return this.popState(),13;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),14;case 55:return 121;case 56:return 122;case 57:return 123;case 58:return 124;case 59:return 78;case 60:return 105;case 61:case 102:return 111;case 62:return 46;case 63:return 60;case 64:case 103:return 44;case 65:return 8;case 66:return 106;case 67:case 101:return 115;case 68:case 71:case 74:return this.popState(),77;case 69:return this.pushState("edgeText"),75;case 70:case 73:case 76:return 119;case 72:return this.pushState("thickEdgeText"),75;case 75:return this.pushState("dottedEdgeText"),75;case 77:return 77;case 78:return this.popState(),53;case 79:case 115:return"TEXT";case 80:return this.pushState("ellipseText"),52;case 81:return this.popState(),55;case 82:return this.pushState("text"),54;case 83:return this.popState(),57;case 84:return this.pushState("text"),56;case 85:return 58;case 86:return this.pushState("text"),67;case 87:return this.popState(),64;case 88:return this.pushState("text"),63;case 89:return this.popState(),49;case 90:return this.pushState("text"),48;case 91:return this.popState(),69;case 92:return this.popState(),71;case 93:return 117;case 94:return this.pushState("trapText"),68;case 95:return this.pushState("trapText"),70;case 96:return 118;case 97:return 67;case 98:return 90;case 99:return"SEP";case 100:return 89;case 104:return 109;case 105:return 114;case 106:return 116;case 107:return this.popState(),62;case 108:return this.pushState("text"),62;case 109:return this.popState(),51;case 110:return this.pushState("text"),50;case 111:return this.popState(),31;case 112:return this.pushState("text"),29;case 113:return this.popState(),66;case 114:return this.pushState("text"),65;case 116:return"QUOTE";case 117:return 9;case 118:return 10;case 119:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[^\s\"]+@(?=[^\{\"]))/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},shapeData:{rules:[8,11,12,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},callbackargs:{rules:[17,18,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},callbackname:{rules:[14,15,16,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},href:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},click:{rules:[21,24,33,34,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},dottedEdgeText:{rules:[21,24,74,76,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},thickEdgeText:{rules:[21,24,71,73,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},edgeText:{rules:[21,24,68,70,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},trapText:{rules:[21,24,77,80,82,84,88,90,91,92,93,94,95,108,110,112,114],inclusive:!1},ellipseText:{rules:[21,24,77,78,79,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},text:{rules:[21,24,77,80,81,82,83,84,87,88,89,90,94,95,107,108,109,110,111,112,113,114,115],inclusive:!1},vertex:{rules:[21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_descr:{rules:[3,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},acc_title:{rules:[1,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},md_string:{rules:[19,20,21,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},string:{rules:[21,22,23,24,77,80,82,84,88,90,94,95,108,110,112,114],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,71,72,74,75,77,80,82,84,85,86,88,90,94,95,96,97,98,99,100,101,102,103,104,105,106,108,110,112,114,116,117,118,119],inclusive:!0}}},(0,l.K2)(a3,"Parser"),a3.prototype=a2,a2.Parser=a3,new a3}();s.parser=s;var t=Object.assign({},s);t.parse=a=>{let b=a.replace(/}\s*\n/g,"}\n");return s.parse(b)};var u=(0,l.K2)((a,b)=>{let c=n.A,d=c(a,"r"),e=c(a,"g"),f=c(a,"b");return o.A(d,e,f,b)},"fade"),v={parser:t,get db(){return new p},renderer:{getClasses:q,draw:r},styles:(0,l.K2)(a=>`.label {
|
|
6
|
+
font-family: ${a.fontFamily};
|
|
7
|
+
color: ${a.nodeTextColor||a.textColor};
|
|
8
|
+
}
|
|
9
|
+
.cluster-label text {
|
|
10
|
+
fill: ${a.titleColor};
|
|
11
|
+
}
|
|
12
|
+
.cluster-label span {
|
|
13
|
+
color: ${a.titleColor};
|
|
14
|
+
}
|
|
15
|
+
.cluster-label span p {
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.label text,span {
|
|
20
|
+
fill: ${a.nodeTextColor||a.textColor};
|
|
21
|
+
color: ${a.nodeTextColor||a.textColor};
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.node rect,
|
|
25
|
+
.node circle,
|
|
26
|
+
.node ellipse,
|
|
27
|
+
.node polygon,
|
|
28
|
+
.node path {
|
|
29
|
+
fill: ${a.mainBkg};
|
|
30
|
+
stroke: ${a.nodeBorder};
|
|
31
|
+
stroke-width: 1px;
|
|
32
|
+
}
|
|
33
|
+
.rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
|
|
34
|
+
text-anchor: middle;
|
|
35
|
+
}
|
|
36
|
+
// .flowchart-label .text-outer-tspan {
|
|
37
|
+
// text-anchor: middle;
|
|
38
|
+
// }
|
|
39
|
+
// .flowchart-label .text-inner-tspan {
|
|
40
|
+
// text-anchor: start;
|
|
41
|
+
// }
|
|
42
|
+
|
|
43
|
+
.node .katex path {
|
|
44
|
+
fill: #000;
|
|
45
|
+
stroke: #000;
|
|
46
|
+
stroke-width: 1px;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
|
|
50
|
+
text-align: center;
|
|
51
|
+
}
|
|
52
|
+
.node.clickable {
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
.root .anchor path {
|
|
58
|
+
fill: ${a.lineColor} !important;
|
|
59
|
+
stroke-width: 0;
|
|
60
|
+
stroke: ${a.lineColor};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.arrowheadPath {
|
|
64
|
+
fill: ${a.arrowheadColor};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.edgePath .path {
|
|
68
|
+
stroke: ${a.lineColor};
|
|
69
|
+
stroke-width: 2.0px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.flowchart-link {
|
|
73
|
+
stroke: ${a.lineColor};
|
|
74
|
+
fill: none;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.edgeLabel {
|
|
78
|
+
background-color: ${a.edgeLabelBackground};
|
|
79
|
+
p {
|
|
80
|
+
background-color: ${a.edgeLabelBackground};
|
|
81
|
+
}
|
|
82
|
+
rect {
|
|
83
|
+
opacity: 0.5;
|
|
84
|
+
background-color: ${a.edgeLabelBackground};
|
|
85
|
+
fill: ${a.edgeLabelBackground};
|
|
86
|
+
}
|
|
87
|
+
text-align: center;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* For html labels only */
|
|
91
|
+
.labelBkg {
|
|
92
|
+
background-color: ${u(a.edgeLabelBackground,.5)};
|
|
93
|
+
// background-color:
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.cluster rect {
|
|
97
|
+
fill: ${a.clusterBkg};
|
|
98
|
+
stroke: ${a.clusterBorder};
|
|
99
|
+
stroke-width: 1px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.cluster text {
|
|
103
|
+
fill: ${a.titleColor};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cluster span {
|
|
107
|
+
color: ${a.titleColor};
|
|
108
|
+
}
|
|
109
|
+
/* .cluster div {
|
|
110
|
+
color: ${a.titleColor};
|
|
111
|
+
} */
|
|
112
|
+
|
|
113
|
+
div.mermaidTooltip {
|
|
114
|
+
position: absolute;
|
|
115
|
+
text-align: center;
|
|
116
|
+
max-width: 200px;
|
|
117
|
+
padding: 2px;
|
|
118
|
+
font-family: ${a.fontFamily};
|
|
119
|
+
font-size: 12px;
|
|
120
|
+
background: ${a.tertiaryColor};
|
|
121
|
+
border: 1px solid ${a.border2};
|
|
122
|
+
border-radius: 2px;
|
|
123
|
+
pointer-events: none;
|
|
124
|
+
z-index: 100;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.flowchartTitleText {
|
|
128
|
+
text-anchor: middle;
|
|
129
|
+
font-size: 18px;
|
|
130
|
+
fill: ${a.textColor};
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
rect.text {
|
|
134
|
+
fill: none;
|
|
135
|
+
stroke-width: 0;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.icon-shape, .image-shape {
|
|
139
|
+
background-color: ${a.edgeLabelBackground};
|
|
140
|
+
p {
|
|
141
|
+
background-color: ${a.edgeLabelBackground};
|
|
142
|
+
padding: 2px;
|
|
143
|
+
}
|
|
144
|
+
rect {
|
|
145
|
+
opacity: 0.5;
|
|
146
|
+
background-color: ${a.edgeLabelBackground};
|
|
147
|
+
fill: ${a.edgeLabelBackground};
|
|
148
|
+
}
|
|
149
|
+
text-align: center;
|
|
150
|
+
}
|
|
151
|
+
${(0,d.o)()}
|
|
152
|
+
`,"getStyles"),init:(0,l.K2)(a=>{a.flowchart||(a.flowchart={}),a.layout&&(0,k.XV)({layout:a.layout}),a.flowchart.arrowMarkerAbsolute=a.arrowMarkerAbsolute,(0,k.XV)({flowchart:{arrowMarkerAbsolute:a.arrowMarkerAbsolute}})},"init")}},61827:(a,b,c)=>{c.d(b,{o:()=>d});var d=(0,c(21143).K2)(()=>`
|
|
153
|
+
/* Font Awesome icon styling - consolidated */
|
|
154
|
+
.label-icon {
|
|
155
|
+
display: inline-block;
|
|
156
|
+
height: 1em;
|
|
157
|
+
overflow: visible;
|
|
158
|
+
vertical-align: -0.125em;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.node .label-icon path {
|
|
162
|
+
fill: currentColor;
|
|
163
|
+
stroke: revert;
|
|
164
|
+
stroke-width: revert;
|
|
165
|
+
}
|
|
166
|
+
`,"getIconStyles")},75899:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(73946),e=c(363);let f=(a,b)=>d.A.lang.round(e.A.parse(a)[b])},80339:(a,b,c)=>{c.d(b,{A:()=>f});var d=c(21143),e=c(99123),f=(0,d.K2)((a,b)=>{let c;return"sandbox"===b&&(c=(0,e.Ltv)("#i"+a)),("sandbox"===b?(0,e.Ltv)(c.nodes()[0].contentDocument.body):(0,e.Ltv)("body")).select(`[id="${a}"]`)},"getDiagramElement")}};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";exports.id=972,exports.ids=[972],exports.modules={11390:(a,b,c)=>{c.d(b,{R:()=>h});var d=c(48249),e=c(73142),f=c.n(e);function g({isOpen:a,onClose:b,children:c,width:e="500px"}){return a?(0,d.jsxs)("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center",backdropFilter:"blur(4px)",background:"rgba(0, 0, 0, 0.5)",animation:"fadeIn 0.2s ease-out"},className:"jsx-5d567d25508aa188",children:[(0,d.jsx)("div",{onClick:a=>a.stopPropagation(),style:{background:"var(--bg-primary)",borderRadius:"12px",boxShadow:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)",width:e,maxWidth:"90%",maxHeight:"90vh",overflow:"auto",border:"1px solid var(--border)",animation:"slideUp 0.2s ease-out"},className:"jsx-5d567d25508aa188",children:c}),(0,d.jsx)(f(),{id:"5d567d25508aa188",children:"@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideUp{from{opacity:0;transform:scale(.95)translatey(10px)}to{opacity:1;transform:scale(1)translatey(0)}}"})]}):null}function h({isOpen:a,onClose:b,onConfirm:c,title:e,message:f,confirmLabel:h="Confirm",cancelLabel:i="Cancel",isDangerous:j=!1}){return(0,d.jsx)(g,{isOpen:a,onClose:b,width:"400px",children:(0,d.jsxs)("div",{style:{padding:"1.5rem"},children:[(0,d.jsx)("h3",{style:{margin:"0 0 0.5rem 0",fontSize:"1.25rem",fontWeight:600},children:e}),(0,d.jsx)("p",{style:{margin:"0 0 1.5rem 0",color:"var(--text-secondary)",lineHeight:1.5},children:f}),(0,d.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",gap:"0.75rem"},children:[(0,d.jsx)("button",{onClick:b,className:"btn",style:{background:"transparent",border:"1px solid var(--border)",color:"var(--text-primary)"},children:i}),(0,d.jsx)("button",{onClick:()=>{c(),b()},className:"btn",style:{background:j?"var(--error)":"var(--accent)",color:"white",border:"none",fontWeight:600},children:h})]})]})})}c(67484)},11851:(a,b,c)=>{c.r(b),c.d(b,{default:()=>e});var d=c(5735);function e({children:a}){return(0,d.jsx)("div",{children:a})}},87767:(a,b,c)=>{c.r(b),c.d(b,{"4018ccaaa027ba7f3593e5d745a6fe390f7342043e":()=>w,"4020f05a9672914a4f917930d4c932391d5246a769":()=>t,"402d9b235abd2968da2b1e42d1730b1638c9c32124":()=>v,"407ab6ae77072963ae1d27ba83a2fb372a0035d7e1":()=>u,"40ce3b864634c94182c09d0f6ac7fefb5b0e53bbe6":()=>x,"40e96b65ed586a5cdd7c12132f5aa2a39f475b0217":()=>p,"40f8a2e055e173114c24aab3d7166e4cf6b15cd287":()=>s,"40f9ba2859ee6de602a9d91376776693376aa0fa4f":()=>n,"608454aa0d8a293604466726d6a7733176599501d9":()=>r,"60b0f91c1e708a26dd7569d2ba8dba9832072d5075":()=>o,"60de5dda007eff227330d7fd062850db87aae271e1":()=>q,"705401a4cb2a9767d77fc7819cc1e9818cc888c2f5":()=>m});var d=c(95349),e=c(29021),f=c.n(e),g=c(33873),h=c.n(g),i=c(42650),j=c(27954),k=c(13454);function l(a,b){let c=a.split("\n"),d=[],e=[],f=!1;for(let a of c){let b=a.trim();if(b.startsWith("@")&&!f){let a=b.split(/\s+/).filter(a=>a.startsWith("@"));e.push(...a)}else if(b.startsWith("Feature:")){f=!0;break}}let g=c.find(a=>a.trim().startsWith("Feature:")),i=g?.match(/Feature:\s*(.+)/),j=i?.[1]||h().basename(b),k=e.find(a=>/^@FS-\d+$/i.test(a))?.replace("@","").toUpperCase(),l=j.match(/^(FS-\d+)/i),m=h().basename(b).match(/^(FS-\d+)/i),n=k||l?.[1].toUpperCase()||m?.[1].toUpperCase()||h().basename(b,".feature").toUpperCase(),o=j;l&&(o=(o=o.substring(l[1].length).trim()).replace(/^[:\-\s]+/,""));let p=c.findIndex(a=>a.trim().startsWith("Feature:")),q="",r=[];for(let a=p+1;a<c.length;a++){let b=c[a].trim();if(b.startsWith("Scenario")||b.startsWith("Background")||b.startsWith("@"))break;b.startsWith("-")?r.push(b.substring(1).trim()):b&&!b.startsWith("Requirements:")&&(q+=(q?" ":"")+b)}let s=null;for(let a=0;a<c.length;a++){let b=c[a].trim();if(b.startsWith("Scenario Outline:")||b.startsWith("Scenario:")){s&&d.push(s);let e=b.startsWith("Scenario Outline:"),f=b.replace(/Scenario( Outline)?:\s*/,""),g=[];for(let b=a-1;b>=0;b--){let a=c[b].trim();if(a.startsWith("@")){let b=a.split(/\s+/).filter(a=>a.startsWith("@"));g.unshift(...b)}else if(a)break}s={name:f,tags:g,steps:[],line:a+1,is_outline:e}}s&&/^(Given|When|Then|And|But)\s/.test(b)&&s.steps.push(b)}s&&d.push(s);let t=e.filter(a=>a.match(/@URS-\d+/)).map(a=>a.replace("@","")),u=e.filter(a=>a.match(/@RISK-\d+/)).map(a=>a.replace("@","")),v=new Date().toISOString().split("T")[0];return{id:n,type:"fs",title:o,file_path:b,description:q,requirements:r,urs_ids:t,risk_ids:u,scenarios:d,scenario_count:d.length,created_at:v,updated_at:v}}async function m(a,b,d){try{let e,g=process.env.MACHINE_SPECS_DIR||h().join(process.cwd(),"specs"),j=a,m=b;if(!d&&a.startsWith("FS-NEW-")){let{getNextId:a}=await Promise.resolve().then(c.bind(c,624));e=a("FS","fs");let d=(m=b.includes("@FS-XXX")?b.replace("@FS-XXX",`@${e}`):b.replace(/Feature: FS-[A-Z0-9]+/,`Feature: ${e}`)).match(/Feature:\s*(.+)/),f=d?.[1]?.trim()||"Untitled",g=(f=f.replace(/^FS-\d+[:\-\s]*/,"")).toLowerCase().replace(/[^a-z0-9]+/g,"-");j=`${e}-${g}.feature`}else{let b=l(m,d||a),c=b.title.toLowerCase().replace(/[^a-z0-9]+/g,"-"),e=b.id;j=`${e}-${c}.feature`}let n=j.replace(/[^a-zA-Z0-9\-_\.]/g,"-").toLowerCase();if(!n.endsWith(".feature"))return{success:!1,error:"Filename must end with .feature"};let o=h().join(g,"fs",n);if(d&&d!==o&&f().existsSync(d)&&f().unlinkSync(d),!d&&f().existsSync(o))return{success:!1,error:`File ${n} already exists`};f().writeFileSync(o,m,"utf-8");let p=l(m,o);return(0,k.Dl)(p),(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),(0,i.revalidatePath)("/traceability"),{success:!0,id:p.id}}catch(a){return{success:!1,error:String(a)}}}async function n(a){try{let b=(0,j.r_)(a);return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),(0,i.revalidatePath)("/traceability"),{success:!0,id:b.id}}catch(a){return{success:!1,error:String(a)}}}async function o(a,b){try{let{updateURS:d}=await Promise.resolve().then(c.bind(c,15177)),e=d(a,b);if(!e)return{success:!1,error:"URS not found"};return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),(0,i.revalidatePath)("/traceability"),{success:!0,id:e.id}}catch(a){return{success:!1,error:String(a)}}}async function p(a){try{let b=(0,j.w)(a);return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),(0,i.revalidatePath)("/traceability"),{success:!0,id:b.id}}catch(a){return{success:!1,error:String(a)}}}async function q(a,b){try{let{updateRisk:d}=await Promise.resolve().then(c.bind(c,18986)),e=d(a,b);if(!e)return{success:!1,error:"Risk not found"};return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/builder"),(0,i.revalidatePath)("/traceability"),{success:!0,id:e.id}}catch(a){return{success:!1,error:String(a)}}}async function r(a,b){try{let{updateFSURSLinks:d}=await Promise.resolve().then(c.bind(c,13454));if(!d(a,b))return{success:!1,error:"Failed to update links"};return(0,i.revalidatePath)("/"),(0,i.revalidatePath)("/matrix"),(0,i.revalidatePath)("/traceability"),{success:!0,id:a}}catch(a){return{success:!1,error:String(a)}}}async function s(a){(0,j.PM)(a),(0,i.revalidatePath)("/traceability/urs"),(0,i.revalidatePath)(`/traceability/urs/${a}`)}async function t(a){(0,j.tf)(a),(0,i.revalidatePath)("/traceability/urs"),(0,i.revalidatePath)("/traceability/archive")}async function u(a){(0,j.kW)(a),(0,i.revalidatePath)("/traceability/fs"),(0,i.revalidatePath)(`/traceability/fs/${a}`)}async function v(a){(0,j.wO)(a),(0,i.revalidatePath)("/traceability/fs"),(0,i.revalidatePath)("/traceability/archive")}async function w(a){(0,j.Ei)(a),(0,i.revalidatePath)("/traceability/risk"),(0,i.revalidatePath)(`/traceability/risk/${a}`)}async function x(a){(0,j.og)(a),(0,i.revalidatePath)("/traceability/risk"),(0,i.revalidatePath)("/traceability/archive")}(0,c(89337).D)([m,n,o,p,q,r,s,t,u,v,w,x]),(0,d.A)(m,"705401a4cb2a9767d77fc7819cc1e9818cc888c2f5",null),(0,d.A)(n,"40f9ba2859ee6de602a9d91376776693376aa0fa4f",null),(0,d.A)(o,"60b0f91c1e708a26dd7569d2ba8dba9832072d5075",null),(0,d.A)(p,"40e96b65ed586a5cdd7c12132f5aa2a39f475b0217",null),(0,d.A)(q,"60de5dda007eff227330d7fd062850db87aae271e1",null),(0,d.A)(r,"608454aa0d8a293604466726d6a7733176599501d9",null),(0,d.A)(s,"40f8a2e055e173114c24aab3d7166e4cf6b15cd287",null),(0,d.A)(t,"4020f05a9672914a4f917930d4c932391d5246a769",null),(0,d.A)(u,"407ab6ae77072963ae1d27ba83a2fb372a0035d7e1",null),(0,d.A)(v,"402d9b235abd2968da2b1e42d1730b1638c9c32124",null),(0,d.A)(w,"4018ccaaa027ba7f3593e5d745a6fe390f7342043e",null),(0,d.A)(x,"40ce3b864634c94182c09d0f6ac7fefb5b0e53bbe6",null)},99829:(a,b,c)=>{Object.defineProperty(b,"__esModule",{value:!0});var d={callServer:function(){return f.callServer},createServerReference:function(){return h.createServerReference},findSourceMapURL:function(){return g.findSourceMapURL}};for(var e in d)Object.defineProperty(b,e,{enumerable:!0,get:d[e]});let f=c(35766),g=c(87006),h=c(35569)}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:[],rootMainFiles:["static/chunks/webpack-
|
|
1
|
+
globalThis.__BUILD_MANIFEST={polyfillFiles:["static/chunks/polyfills-42372ed130431b0a.js"],devFiles:[],lowPriorityFiles:[],rootMainFiles:["static/chunks/webpack-3cbbd068a3e89965.js","static/chunks/4bd1b696-1400c1b9494d4acb.js","static/chunks/3794-81fca6cc7041ced6.js","static/chunks/main-app-341bfb00b20e150e.js"],rootMainFilesTree:{},pages:{"/_app":[]}},globalThis.__BUILD_MANIFEST.lowPriorityFiles=["/static/"+process.env.__NEXT_BUILD_ID+"/_buildManifest.js","/static/"+process.env.__NEXT_BUILD_ID+"/_ssgManifest.js"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
self.__REACT_LOADABLE_MANIFEST='{"app/traceability/fs/[id]/client.tsx -> ../../../builder/actions":{"id":
|
|
1
|
+
self.__REACT_LOADABLE_MANIFEST='{"../node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs -> ./chunks/mermaid-parser.core/architecture-U656AL7Q.mjs":{"id":60628,"files":["static/chunks/628.38b81cd56aaf4cf1.js"]},"../node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs -> ./chunks/mermaid-parser.core/gitGraph-F6HP7TQM.mjs":{"id":32951,"files":["static/chunks/2951.8c1f9418d93f794e.js"]},"../node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs -> ./chunks/mermaid-parser.core/info-NVLQJR56.mjs":{"id":43164,"files":["static/chunks/3164.23a30fb4d0160788.js"]},"../node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs -> ./chunks/mermaid-parser.core/packet-BFZMPI3H.mjs":{"id":96971,"files":["static/chunks/6971.ffe28a433af5503c.js"]},"../node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs -> ./chunks/mermaid-parser.core/pie-7BOR55EZ.mjs":{"id":78037,"files":["static/chunks/8037.c5f9113a6cb1dbb7.js"]},"../node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs -> ./chunks/mermaid-parser.core/radar-NHE76QYJ.mjs":{"id":88904,"files":["static/chunks/8904.c3becf8cf19ec1eb.js"]},"../node_modules/@mermaid-js/parser/dist/mermaid-parser.core.mjs -> ./chunks/mermaid-parser.core/treemap-KMMF4GRG.mjs":{"id":16173,"files":["static/chunks/6173.85c05df7afadd80f.js"]},"../node_modules/mermaid/dist/chunks/mermaid.core/chunk-ABZYJK2D.mjs -> katex":{"id":71876,"files":["static/chunks/d3ac728e.4b57bd9bce7cd3c1.js"]},"../node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.mjs -> ./cose-bilkent-S5V4N54A.mjs":{"id":67874,"files":["static/chunks/90542734.d84bb73ebd95167a.js","static/chunks/7874.574b3fc13af99551.js"]},"../node_modules/mermaid/dist/chunks/mermaid.core/chunk-N4CR4FBY.mjs -> ./dagre-6UL2VRFP.mjs":{"id":19536,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/288.eec78353ed692c58.js","static/chunks/1455.4b25458cc615feec.js","static/chunks/9536.0478cfe5e9cfc9d5.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/architectureDiagram-VXUJARFQ.mjs":{"id":8365,"files":["static/chunks/90542734.d84bb73ebd95167a.js","static/chunks/1633.5050d8d1007aa587.js","static/chunks/8863.b065187bd644df7b.js","static/chunks/8365.9b15b21e000887e5.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/blockDiagram-VD42YOAC.mjs":{"id":38486,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/288.eec78353ed692c58.js","static/chunks/8486.357508328aef1d93.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/c4Diagram-YG6GDRKO.mjs":{"id":6257,"files":["static/chunks/6257.4802e493b197340d.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/classDiagram-2ON5EDUG.mjs":{"id":41816,"files":["static/chunks/5290.d0e93eb9d345026e.js","static/chunks/1816.a66aacf78a1f2b9e.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/classDiagram-v2-WZHVMYZB.mjs":{"id":33619,"files":["static/chunks/5290.d0e93eb9d345026e.js","static/chunks/3619.14ab2b037411c8dd.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/diagram-PSM6KHXK.mjs":{"id":9133,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/8863.b065187bd644df7b.js","static/chunks/9133.c96e717400860724.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/diagram-QEK2KX5R.mjs":{"id":38284,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/8863.b065187bd644df7b.js","static/chunks/8284.b907c17d2a294557.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/diagram-S2PKOQOG.mjs":{"id":61371,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/8863.b065187bd644df7b.js","static/chunks/1371.e9c049ff15fa0424.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/erDiagram-Q2GNP2WA.mjs":{"id":85176,"files":["static/chunks/5176.4f4e736e3be7cf15.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/flowDiagram-NV44I4VS.mjs":{"id":64631,"files":["static/chunks/4631.fb52c10c618eda8d.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/ganttDiagram-JELNMOA3.mjs":{"id":13242,"files":["static/chunks/3242.bb0fe7b7913ef780.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/gitGraphDiagram-NY62KEGX.mjs":{"id":4839,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/8863.b065187bd644df7b.js","static/chunks/4839.47666b4d0dd6793d.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/infoDiagram-WHAUD3N6.mjs":{"id":63197,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/8863.b065187bd644df7b.js","static/chunks/3197.d8e82b560a160022.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs":{"id":95838,"files":["static/chunks/5838.5c3810ae9f41fb2d.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs":{"id":47465,"files":["static/chunks/7465.55e7c3c6cc146535.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/mindmap-definition-VGOIOE7T.mjs":{"id":29203,"files":["static/chunks/9203.577b14724e972a55.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs":{"id":56454,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/8863.b065187bd644df7b.js","static/chunks/6454.7f2f7cf37c6cb691.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/quadrantDiagram-AYHSOK5B.mjs":{"id":40991,"files":["static/chunks/991.718b573be77108f0.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/requirementDiagram-UZGBJVZJ.mjs":{"id":63398,"files":["static/chunks/3398.dcb200a913a6c354.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/sankeyDiagram-TZEHDZUN.mjs":{"id":32765,"files":["static/chunks/2765.8adcf70b75e6aeef.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/sequenceDiagram-WL72ISMW.mjs":{"id":54268,"files":["static/chunks/2cdb6380.d41c2c1792d85cbd.js","static/chunks/6034.4c6801c982ca9779.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs":{"id":30448,"files":["static/chunks/1633.5050d8d1007aa587.js","static/chunks/288.eec78353ed692c58.js","static/chunks/1455.4b25458cc615feec.js","static/chunks/7048.fae262ca1df0ad90.js","static/chunks/448.00c3a4af8c45f64c.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs":{"id":14410,"files":["static/chunks/7048.fae262ca1df0ad90.js","static/chunks/4410.667e7a91b32268d8.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/timeline-definition-IT6M3QCI.mjs":{"id":72947,"files":["static/chunks/2947.f836f6410050c641.js"]},"../node_modules/mermaid/dist/mermaid.core.mjs -> ./chunks/mermaid.core/xychartDiagram-PRI3JC2R.mjs":{"id":13477,"files":["static/chunks/3477.ec9165cd3e012b87.js"]},"app/traceability/design/[id]/client.tsx -> ../actions":{"id":86184,"files":["static/chunks/6184.1deabc6af2557dbb.js"]},"app/traceability/fs/[id]/client.tsx -> ../../../builder/actions":{"id":39447,"files":["static/chunks/9447.55ff38194a755c72.js"]},"app/traceability/risk/[id]/client.tsx -> ../../../builder/actions":{"id":39447,"files":["static/chunks/9447.55ff38194a755c72.js"]},"app/traceability/urs/[id]/client.tsx -> ../../../builder/actions":{"id":39447,"files":["static/chunks/9447.55ff38194a755c72.js"]}}';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><!--ELYfmsCGy7GuuiGH2cFLn--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/2693864a24fbccd0.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-9a7fa060b199dfb3.js"/><script src="/_next/static/chunks/4bd1b696-67e30520d621c4dd.js" async=""></script><script src="/_next/static/chunks/794-9353bb3ab9a73e90.js" async=""></script><script src="/_next/static/chunks/main-app-6d93e914b4a54c7e.js" async=""></script><script src="/_next/static/chunks/500-b84d19d842172eba.js" async=""></script><script src="/_next/static/chunks/app/page-b6683055d30b04b4.js" async=""></script><script src="/_next/static/chunks/app/layout-0f51af36ad0921db.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>GAMP 5 Traceability</title><meta name="description" content="V-Model Documentation & Test Management"/><link rel="icon" href="/favicon.ico?603d046c9a6fdfbb" type="image/x-icon" sizes="16x16"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div class="layout"><aside class="sidebar"><div class="sidebar-header"><h1 style="font-size:1.25rem;font-weight:700;margin:0">GAMP 5</h1><span style="font-size:0.75rem;color:var(--text-secondary)">V-Model System</span></div><nav class="sidebar-nav"><ul style="list-style:none;padding:0;margin:0"><li><a class="nav-link" href="/"><span>📊</span><span>Dashboard</span></a></li><li><button class="nav-link" style="width:100%;display:flex;align-items:center;justify-content:space-between;background:transparent;border:none;cursor:pointer"><span style="display:flex;align-items:center;gap:0.75rem"><span>📑</span><span>Specs</span></span><span style="font-size:0.625rem;transition:transform 0.2s;transform:rotate(180deg)">▼</span></button><ul style="list-style:none;padding:0;margin:0"><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability"><span>🔍</span><span>Search</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/urs"><span>📋</span><span>URS</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/fs"><span>⚙️</span><span>Functional Specs</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/risk"><span>⚠️</span><span>Risk Assessments</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/archive"><span>🗑️</span><span>Archive</span></a></li></ul></li><li><a class="nav-link" href="/releases"><span>📦</span><span>Releases</span></a></li></ul></nav><div style="margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border)"><div style="font-size:0.75rem;color:var(--text-secondary)">GAMP 5 Compliant</div><div style="font-size:0.75rem;color:var(--text-secondary);margin-top:0.25rem">21 CFR Part 11 Ready</div></div></aside><main class="main-content"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div><script src="/_next/static/chunks/webpack-9a7fa060b199dfb3.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[8500,[\"500\",\"static/chunks/500-b84d19d842172eba.js\",\"974\",\"static/chunks/app/page-b6683055d30b04b4.js\"],\"\"]\n3:I[1864,[\"500\",\"static/chunks/500-b84d19d842172eba.js\",\"177\",\"static/chunks/app/layout-0f51af36ad0921db.js\"],\"NavSection\"]\n4:I[7121,[],\"\"]\n5:I[4581,[],\"\"]\n6:I[484,[],\"OutletBoundary\"]\n7:\"$Sreact.suspense\"\n9:I[484,[],\"ViewportBoundary\"]\nb:I[484,[],\"MetadataBoundary\"]\nd:I[7123,[],\"\"]\n:HL[\"/_next/static/css/2693864a24fbccd0.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"ELYfmsCGy7GuuiGH2cFLn\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/2693864a24fbccd0.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"layout\",\"children\":[[\"$\",\"aside\",null,{\"className\":\"sidebar\",\"children\":[[\"$\",\"div\",null,{\"className\":\"sidebar-header\",\"children\":[[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"1.25rem\",\"fontWeight\":700,\"margin\":0},\"children\":\"GAMP 5\"}],[\"$\",\"span\",null,{\"style\":{\"fontSize\":\"0.75rem\",\"color\":\"var(--text-secondary)\"},\"children\":\"V-Model System\"}]]}],[\"$\",\"nav\",null,{\"className\":\"sidebar-nav\",\"children\":[\"$\",\"ul\",null,{\"style\":{\"listStyle\":\"none\",\"padding\":0,\"margin\":0},\"children\":[[\"$\",\"li\",null,{\"children\":[\"$\",\"$L2\",null,{\"href\":\"/\",\"className\":\"nav-link\",\"children\":[[\"$\",\"span\",null,{\"children\":\"📊\"}],[\"$\",\"span\",null,{\"children\":\"Dashboard\"}]]}]}],[\"$\",\"$L3\",null,{\"label\":\"Specs\",\"icon\":\"📑\",\"storageKey\":\"specs\",\"items\":[{\"href\":\"/traceability\",\"label\":\"Search\",\"icon\":\"🔍\"},{\"href\":\"/traceability/urs\",\"label\":\"URS\",\"icon\":\"📋\"},{\"href\":\"/traceability/fs\",\"label\":\"Functional Specs\",\"icon\":\"⚙️\"},{\"href\":\"/traceability/risk\",\"label\":\"Risk Assessments\",\"icon\":\"⚠️\"},{\"href\":\"/traceability/archive\",\"label\":\"Archive\",\"icon\":\"🗑️\"}]}],[\"$\",\"li\",null,{\"children\":[\"$\",\"$L2\",null,{\"href\":\"/releases\",\"className\":\"nav-link\",\"children\":[[\"$\",\"span\",null,{\"children\":\"📦\"}],[\"$\",\"span\",null,{\"children\":\"Releases\"}]]}]}]]}]}],[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"2rem\",\"paddingTop\":\"2rem\",\"borderTop\":\"1px solid var(--border)\"},\"children\":[[\"$\",\"div\",null,{\"style\":{\"fontSize\":\"0.75rem\",\"color\":\"var(--text-secondary)\"},\"children\":\"GAMP 5 Compliant\"}],[\"$\",\"div\",null,{\"style\":{\"fontSize\":\"0.75rem\",\"color\":\"var(--text-secondary)\",\"marginTop\":\"0.25rem\"},\"children\":\"21 CFR Part 11 Ready\"}]]}]]}],[\"$\",\"main\",null,{\"className\":\"main-content\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$7\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@8\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$7\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"S\":true}\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[6869,[],\"IconMark\"]\n8:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"GAMP 5 Traceability\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"V-Model Documentation \u0026 Test Management\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?603d046c9a6fdfbb\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"$Le\",\"3\",{}]]\n"])</script></body></html>
|
|
1
|
+
<!DOCTYPE html><!--q_cOKaae4m3MSKJsyyYq4--><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/cdae95cc512ce762.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-3cbbd068a3e89965.js"/><script src="/_next/static/chunks/4bd1b696-1400c1b9494d4acb.js" async=""></script><script src="/_next/static/chunks/3794-81fca6cc7041ced6.js" async=""></script><script src="/_next/static/chunks/main-app-341bfb00b20e150e.js" async=""></script><script src="/_next/static/chunks/8500-27e7d9770d119ae1.js" async=""></script><script src="/_next/static/chunks/app/page-3f11d63c52c3e248.js" async=""></script><script src="/_next/static/chunks/app/layout-9e89a157ef4bea50.js" async=""></script><meta name="robots" content="noindex"/><title>404: This page could not be found.</title><title>GAMP 5 Traceability</title><meta name="description" content="V-Model Documentation & Test Management"/><link rel="icon" href="/favicon.ico?603d046c9a6fdfbb" type="image/x-icon" sizes="16x16"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script></head><body><div hidden=""><!--$--><!--/$--></div><div class="layout"><aside class="sidebar"><div class="sidebar-header"><h1 style="font-size:1.25rem;font-weight:700;margin:0">GAMP 5</h1><span style="font-size:0.75rem;color:var(--text-secondary)">V-Model System</span></div><nav class="sidebar-nav"><ul style="list-style:none;padding:0;margin:0"><li><a class="nav-link" href="/"><span>📊</span><span>Dashboard</span></a></li><li><button class="nav-link" style="width:100%;display:flex;align-items:center;justify-content:space-between;background:transparent;border:none;cursor:pointer"><span style="display:flex;align-items:center;gap:0.75rem"><span>📑</span><span>Specs</span></span><span style="font-size:0.625rem;transition:transform 0.2s;transform:rotate(180deg)">▼</span></button><ul style="list-style:none;padding:0;margin:0"><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability"><span>🔍</span><span>Search</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/urs"><span>📋</span><span>URS</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/design"><span>🎨</span><span>Designs</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/fs"><span>⚙️</span><span>Functional Specs</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/risk"><span>⚠️</span><span>Risk Assessments</span></a></li><li><a class="nav-link" style="padding-left:2.5rem;font-size:0.875rem;background:transparent" href="/traceability/archive"><span>🗑️</span><span>Archive</span></a></li></ul></li><li><a class="nav-link" href="/releases"><span>📦</span><span>Releases</span></a></li></ul></nav><div style="margin-top:2rem;padding-top:2rem;border-top:1px solid var(--border)"><div style="font-size:0.75rem;color:var(--text-secondary)">GAMP 5 Compliant</div><div style="font-size:0.75rem;color:var(--text-secondary);margin-top:0.25rem">21 CFR Part 11 Ready</div></div></aside><main class="main-content"><div style="font-family:system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";height:100vh;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center"><div><style>body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}</style><h1 class="next-error-h1" style="display:inline-block;margin:0 20px 0 0;padding:0 23px 0 0;font-size:24px;font-weight:500;vertical-align:top;line-height:49px">404</h1><div style="display:inline-block"><h2 style="font-size:14px;font-weight:400;line-height:49px;margin:0">This page could not be found.</h2></div></div></div><!--$--><!--/$--></main></div><script src="/_next/static/chunks/webpack-3cbbd068a3e89965.js" id="_R_" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0])</script><script>self.__next_f.push([1,"1:\"$Sreact.fragment\"\n2:I[98500,[\"8500\",\"static/chunks/8500-27e7d9770d119ae1.js\",\"8974\",\"static/chunks/app/page-3f11d63c52c3e248.js\"],\"\"]\n3:I[81864,[\"8500\",\"static/chunks/8500-27e7d9770d119ae1.js\",\"7177\",\"static/chunks/app/layout-9e89a157ef4bea50.js\"],\"NavSection\"]\n4:I[57121,[],\"\"]\n5:I[74581,[],\"\"]\n6:I[90484,[],\"OutletBoundary\"]\n7:\"$Sreact.suspense\"\n9:I[90484,[],\"ViewportBoundary\"]\nb:I[90484,[],\"MetadataBoundary\"]\nd:I[27123,[],\"\"]\n:HL[\"/_next/static/css/cdae95cc512ce762.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"0:{\"P\":null,\"b\":\"q_cOKaae4m3MSKJsyyYq4\",\"c\":[\"\",\"_not-found\"],\"q\":\"\",\"i\":false,\"f\":[[[\"\",{\"children\":[\"_not-found\",{\"children\":[\"__PAGE__\",{}]}]},\"$undefined\",\"$undefined\",true],[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/cdae95cc512ce762.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\",\"nonce\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"suppressHydrationWarning\":true,\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"className\":\"layout\",\"children\":[[\"$\",\"aside\",null,{\"className\":\"sidebar\",\"children\":[[\"$\",\"div\",null,{\"className\":\"sidebar-header\",\"children\":[[\"$\",\"h1\",null,{\"style\":{\"fontSize\":\"1.25rem\",\"fontWeight\":700,\"margin\":0},\"children\":\"GAMP 5\"}],[\"$\",\"span\",null,{\"style\":{\"fontSize\":\"0.75rem\",\"color\":\"var(--text-secondary)\"},\"children\":\"V-Model System\"}]]}],[\"$\",\"nav\",null,{\"className\":\"sidebar-nav\",\"children\":[\"$\",\"ul\",null,{\"style\":{\"listStyle\":\"none\",\"padding\":0,\"margin\":0},\"children\":[[\"$\",\"li\",null,{\"children\":[\"$\",\"$L2\",null,{\"href\":\"/\",\"className\":\"nav-link\",\"children\":[[\"$\",\"span\",null,{\"children\":\"📊\"}],[\"$\",\"span\",null,{\"children\":\"Dashboard\"}]]}]}],[\"$\",\"$L3\",null,{\"label\":\"Specs\",\"icon\":\"📑\",\"storageKey\":\"specs\",\"items\":[{\"href\":\"/traceability\",\"label\":\"Search\",\"icon\":\"🔍\"},{\"href\":\"/traceability/urs\",\"label\":\"URS\",\"icon\":\"📋\"},{\"href\":\"/traceability/design\",\"label\":\"Designs\",\"icon\":\"🎨\"},{\"href\":\"/traceability/fs\",\"label\":\"Functional Specs\",\"icon\":\"⚙️\"},{\"href\":\"/traceability/risk\",\"label\":\"Risk Assessments\",\"icon\":\"⚠️\"},{\"href\":\"/traceability/archive\",\"label\":\"Archive\",\"icon\":\"🗑️\"}]}],[\"$\",\"li\",null,{\"children\":[\"$\",\"$L2\",null,{\"href\":\"/releases\",\"className\":\"nav-link\",\"children\":[[\"$\",\"span\",null,{\"children\":\"📦\"}],[\"$\",\"span\",null,{\"children\":\"Releases\"}]]}]}]]}]}],[\"$\",\"div\",null,{\"style\":{\"marginTop\":\"2rem\",\"paddingTop\":\"2rem\",\"borderTop\":\"1px solid var(--border)\"},\"children\":[[\"$\",\"div\",null,{\"style\":{\"fontSize\":\"0.75rem\",\"color\":\"var(--text-secondary)\"},\"children\":\"GAMP 5 Compliant\"}],[\"$\",\"div\",null,{\"style\":{\"fontSize\":\"0.75rem\",\"color\":\"var(--text-secondary)\",\"marginTop\":\"0.25rem\"},\"children\":\"21 CFR Part 11 Ready\"}]]}]]}],[\"$\",\"main\",null,{\"className\":\"main-content\",\"children\":[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]}]]}]}]}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[null,[\"$\",\"$L4\",null,{\"parallelRouterKey\":\"children\",\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L5\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"forbidden\":\"$undefined\",\"unauthorized\":\"$undefined\"}]]}],{\"children\":[[\"$\",\"$1\",\"c\",{\"children\":[[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":404}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],null,[\"$\",\"$L6\",null,{\"children\":[\"$\",\"$7\",null,{\"name\":\"Next.MetadataOutlet\",\"children\":\"$@8\"}]}]]}],{},null,false,false]},null,false,false]},null,false,false],[\"$\",\"$1\",\"h\",{\"children\":[[\"$\",\"meta\",null,{\"name\":\"robots\",\"content\":\"noindex\"}],[\"$\",\"$L9\",null,{\"children\":\"$La\"}],[\"$\",\"div\",null,{\"hidden\":true,\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$7\",null,{\"name\":\"Next.Metadata\",\"children\":\"$Lc\"}]}]}],null]}],false]],\"m\":\"$undefined\",\"G\":[\"$d\",[]],\"S\":true}\n"])</script><script>self.__next_f.push([1,"a:[[\"$\",\"meta\",\"0\",{\"charSet\":\"utf-8\"}],[\"$\",\"meta\",\"1\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}]]\n"])</script><script>self.__next_f.push([1,"e:I[86869,[],\"IconMark\"]\n8:null\nc:[[\"$\",\"title\",\"0\",{\"children\":\"GAMP 5 Traceability\"}],[\"$\",\"meta\",\"1\",{\"name\":\"description\",\"content\":\"V-Model Documentation \u0026 Test Management\"}],[\"$\",\"link\",\"2\",{\"rel\":\"icon\",\"href\":\"/favicon.ico?603d046c9a6fdfbb\",\"type\":\"image/x-icon\",\"sizes\":\"16x16\"}],[\"$\",\"$Le\",\"3\",{}]]\n"])</script></body></html>
|