elanous 0.2.43 → 0.2.44
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/apps/pwa/out/404/index.html +1 -1
- package/apps/pwa/out/404.html +1 -1
- package/apps/pwa/out/_next/static/{Om5xS9jpjSXJCeTNGYEi4 → HMXsxdy5MIIcHPMHv1wD4}/_buildManifest.js +1 -1
- package/apps/pwa/out/_next/static/chunks/{3557ac4a.c8931684475018ad.js → 08334415.f0e80896acbef722.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/1032-78ba4f6391258cab.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1082-53f86a26e03d309d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1109-7d0e264f6f2edbc7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1124-7c26330402481143.js +1 -0
- package/apps/pwa/out/_next/static/chunks/118.2a89982fe4276880.js +23 -0
- package/apps/pwa/out/_next/static/chunks/1244.6c435dbf1bf21d8a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1252.9e665904d3aa3b1a.js +32 -0
- package/apps/pwa/out/_next/static/chunks/1266.a46cc33cb6a72d75.js +104 -0
- package/apps/pwa/out/_next/static/chunks/{3955.6922286237f2ac2b.js → 1306.967240ede9a0f757.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/1344.3b95f3bd1b77a3fe.js +94 -0
- package/apps/pwa/out/_next/static/chunks/{5628.6ddb2d5ffba4ff4c.js → 1401.22dfe92640a2b1ac.js} +4 -4
- package/apps/pwa/out/_next/static/chunks/1431-f7c78bd5be21e011.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1451-cdd35a8a0b31834b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{2573.387a707f6f9d720c.js → 1694.18debfd77562e56d.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/1708-f03d587b7a7545c8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1775-fa7152bdeff6c95f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/178-4da509cd7266672a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{7910-6f139bcafd238b9f.js → 1850-522de4ee34957210.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/1876-c6f6e0ddcc76c6a1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/1976.097066b072432242.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{1406.a1dc2ab6f8449374.js → 1978.eeb60a606dc5deac.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/{3402.44b565b314f2263c.js → 2043.e233e3b5a3e790f5.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/2150.71b94e3348107c83.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2158.ebc6fc5a10280ab7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3694.e0099884345f0198.js → 2216.802962c04f40a26e.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/2294.7890edcfa046c97d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/235.c89aaae4bcd6233a.js +74 -0
- package/apps/pwa/out/_next/static/chunks/239.de075467b5523469.js +287 -0
- package/apps/pwa/out/_next/static/chunks/{1200.6a37c202f9f17e9a.js → 249.ba7051590d603c8f.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/2571.a6ac4e26c8618403.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2610.e149cd564a08913e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2705.9816f3c244f8b85f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/2801.afeb8a4dae22f85f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3935.16701e33f8982dc9.js → 2954.bbefc95d6b20e0d8.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{aa57532f.510551854ff239b1.js → 2e0f720a.a0697c08e3806a60.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3042.96ec235fe41c8d4e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3097-8e358f158acef46b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3205-93b1abe28b4fb16a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3273.b4434f0dcae7eb29.js +1 -0
- package/apps/pwa/out/_next/static/chunks/3311.9cbc43ea0c90d60c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5930.8b4df3b46c32b05a.js → 3349.b5f09ee474d9533e.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{5866.366966af47fdde5d.js → 3503.a47a9755fb4d97b0.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/3506-5f429b3b7e1392b0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{7900.096f455c7c1efc53.js → 3843.bad404d008893291.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/3877-4b40e530b47e3bf9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/435-ce2958253cf7de61.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{8588.d1c6a2903727ce87.js → 4393.28fa5228d0eec217.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/4404.7281c847c6e10dfc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{8062-7cd0bcc7f01455ba.js → 4415-b9d6a90960920a4a.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/{8313-dfa1021bb58a46d6.js → 447-5b304de1fe098f43.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/4484-8ebea83d431e6fae.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6944.309f4e3ea54d1537.js → 4502.bdcc877abd437a05.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/4599-f95790fc5c65b8df.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3072.01338851ca21a6f7.js → 46.57c783fa4884714f.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/463-b9114e411f33728e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4659.a57d1f0c5d754cd2.js +36 -0
- package/apps/pwa/out/_next/static/chunks/4722-a847e7a28115035f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{8986.8e2e4efbfa655c59.js → 4757.67c6d7473a038e78.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/4874-c86f878ec4502ad3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/4891.3f80ba517a3b2373.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{8205.282ca4bb62d54a0a.js → 4998.810ca8833084caa9.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/4f98febc.ea5841d4d616bfb2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{5789.2da35c258292e1e5.js → 5052.7dbb12a55d4f18f5.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/5166-ca73b3e361085a6d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5180-039f4a18b07ad387.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5232.5a2ce4daf7a9e11d.js +115 -0
- package/apps/pwa/out/_next/static/chunks/{9770.5f75bc6088b16109.js → 5439.3fec6dbce29ecb36.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{1313-19f737e0222c4444.js → 5612-074d9a5e00dfac6a.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/5675-01989d524a84c505.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5751.af641a1adf5ec697.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5758-c6cb98714d18ab0c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/578eded8.b582637306e16964.js +122 -0
- package/apps/pwa/out/_next/static/chunks/{3969.272ee7f9fd6c62e5.js → 5790.5eb06a653ebd8571.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/5853-4033e5bd5afbe06b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/5904.97d70bb7f46b2db7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{6540.c7bef57ad8f90a87.js → 5989.7ecd362c5c44b747.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/{0ad6802e.ae7afb63fdcb4491.js → 5a34fb2f.52f1b4e1baebb48a.js} +3 -3
- package/apps/pwa/out/_next/static/chunks/{0966f8a1.745fcd44f64a87ea.js → 5a5078f8.2099200e5ea95e16.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/6036-c302c34ff0b3d410.js +1 -0
- package/apps/pwa/out/_next/static/chunks/606.ef81c313381f4264.js +1 -0
- package/apps/pwa/out/_next/static/chunks/616.1af54a928b1ba704.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6201.bc936f71f613a8e9.js +41 -0
- package/apps/pwa/out/_next/static/chunks/6204-fdc86e0e64c4f92d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{2144.25b292396712196d.js → 6245.1182e007e9d230d9.js} +2 -2
- package/apps/pwa/out/_next/static/chunks/{363bfab3.9623b9f89363541f.js → 63699a35.17262e162bc514b2.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/6420.494801a80030160c.js +27 -0
- package/apps/pwa/out/_next/static/chunks/{d96660fb.cbc21a2a88539dbb.js → 6549dad0.2740b25e51bf8f05.js} +7 -7
- package/apps/pwa/out/_next/static/chunks/{5564.9e72532188f57586.js → 6881.9e7955847640c7fe.js} +4 -4
- package/apps/pwa/out/_next/static/chunks/6931.fcdfb94141e67b3d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/6991-8e081c6ce38c0ba1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{3903.3ef4656c67572764.js → 7010.1bbd17a7f2b3e376.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7029.d1466acf55fae2ed.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7152-a123aa8e129c131f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7455.196168fffac3b9c4.js +24 -0
- package/apps/pwa/out/_next/static/chunks/7638.6ca4770dd1129138.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7649-f37d76260e5e2a5a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{2312.0c8b61e22d3136d7.js → 7679.32c40cdd14f20b4a.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/7751.04bfbd16b4c6cd0a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/7864.b1ff31d4030b8994.js +148 -0
- package/apps/pwa/out/_next/static/chunks/7869-c47bd2c075c1fefa.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{4199.ce86b281fd0a60b7.js → 8442.2f09ca969d631615.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/8445.2738dbd59a78c78c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8447.5510c439f9938c6d.js +286 -0
- package/apps/pwa/out/_next/static/chunks/8551.f762945c2cda2e95.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8635-57a9d8d9db70f4f1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{fb7d20d5-6892502b6ee39ca6.js → 86961958-4b0689a5048f756b.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/8709.3c6019bb18f8554f.js +8 -0
- package/apps/pwa/out/_next/static/chunks/8759.c999528a0a907bf6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/87f498e5-0881de09f2e44707.js +1 -0
- package/apps/pwa/out/_next/static/chunks/8843.c3197f904c952b81.js +1 -0
- package/apps/pwa/out/_next/static/chunks/{cb0f8df8.09a4a6be97e3fc5f.js → 892fd990.456232f326cc39c2.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/{837-81336ebaca8198a8.js → 8965-135a2c9eaa2464cb.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/8971-8d3b9c96f8a6c958.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9059.c8598d96f8e5e9cd.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9115.90447ae198b84eae.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9147.d9b0a02e0babc9b4.js +93 -0
- package/apps/pwa/out/_next/static/chunks/9204-83075f4b70c61cdc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/9244-c32ef14b5dc72bdf.js +1 -0
- package/apps/pwa/out/_next/static/chunks/930.2a9a30f964350c66.js +90 -0
- package/apps/pwa/out/_next/static/chunks/{8637.90f92d5c8db4732c.js → 9398.1f56e3f17795f43f.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/9527.3e5ad31c891c5fcb.js +79 -0
- package/apps/pwa/out/_next/static/chunks/9571-4ac933e774d1225c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-9fc644de2d8edae3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-0c9dace2db62bee8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-f5e65c3dc9d89f2a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/board/page-2a9c19b9a140b7b1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-61533ad92141adfb.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/bots/page-112004ced6fd0329.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-f733318c237a49d8.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/chat/page-51ea677d2d33bbc0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/consult/page-428b41f2f9566e3c.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/control/page-1b29396ea90a61e5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-cf83ec613ac904bf.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-3f4c0ecbc284bb5f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/editor/page-b63c322f54f70cc6.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/exec/page-fe328c4ee9aac6b4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/field/page-bfb855c584f0fb98.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-9fc644de2d8edae3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/inside/page-47b1710c110eabd7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/intake/page-42895214458bc6d2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/layout-d03de0ebd8366e23.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live/page-3ed6c47e4b1c61c2.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-ae653e9bf261c738.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/loops/page-23f3f0a0209c0ac4.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/market/page-88c691273aae66f9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-e187ac52a95538b3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/morning/page-6e45828daed1295e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/not-found-edb5d7287bb46186.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-4a7eaacd93c3f6a5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-3ca073d43d74cc84.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-1e9fee67b1199436.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-df1283ea963c6816.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-19fcf8d8301ccd18.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/page-5ab699e0303bbb40.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-7cde0d29756984c5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-9d4c598e8ee22f7a.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-cc1609a71f44ec62.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-7659a9a1345bfaa9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/settings/page-0afef60ecc0c4af5.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-a3553949f8f34f5f.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-9fc644de2d8edae3.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/setup/page-057a69702f3c67c7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/share/page-c0f0e570f3f74c73.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-1825071ae34e3b89.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-6244e3e135d8ccfc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/term/{page-0a815f34367b6db6.js → page-da787e8a10b8a82e.js} +1 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-1316d32498e2be42.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/trace/page-4df94572e343de2e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/vault/page-708969f7475e88c1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-c58add08c919a1dc.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-a24847f45e5d5bf9.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-acfec65a3a60e22e.js +1 -0
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-3dfc598e6fbde245.js +1 -0
- package/apps/pwa/out/_next/static/chunks/framework-c658a626118411b7.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-4c73685fd891445b.js +1 -0
- package/apps/pwa/out/_next/static/chunks/main-app-6310f7e5de7dd01d.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_app-51c326bf48610be1.js +1 -0
- package/apps/pwa/out/_next/static/chunks/pages/_error-d0beadf754da59b0.js +1 -0
- package/apps/pwa/out/_next/static/chunks/webpack-acd243bfbf3f6732.js +1 -0
- package/apps/pwa/out/approvals/index.html +1 -1
- package/apps/pwa/out/approvals/index.txt +22 -22
- package/apps/pwa/out/autopilot/index.html +1 -1
- package/apps/pwa/out/autopilot/index.txt +22 -22
- package/apps/pwa/out/board/index.html +1 -1
- package/apps/pwa/out/board/index.txt +22 -22
- package/apps/pwa/out/botlab/index.html +1 -1
- package/apps/pwa/out/botlab/index.txt +21 -21
- package/apps/pwa/out/bots/index.html +1 -1
- package/apps/pwa/out/bots/index.txt +21 -21
- package/apps/pwa/out/ceo/index.html +1 -1
- package/apps/pwa/out/ceo/index.txt +22 -22
- package/apps/pwa/out/chat/index.html +1 -1
- package/apps/pwa/out/chat/index.txt +21 -21
- package/apps/pwa/out/consult/index.html +1 -1
- package/apps/pwa/out/consult/index.txt +22 -22
- package/apps/pwa/out/control/index.html +1 -1
- package/apps/pwa/out/control/index.txt +22 -22
- package/apps/pwa/out/decisions/index.html +1 -1
- package/apps/pwa/out/decisions/index.txt +21 -21
- package/apps/pwa/out/design-check/index.html +1 -1
- package/apps/pwa/out/design-check/index.txt +22 -22
- package/apps/pwa/out/editor/index.html +1 -1
- package/apps/pwa/out/editor/index.txt +22 -22
- package/apps/pwa/out/exec/index.html +1 -1
- package/apps/pwa/out/exec/index.txt +22 -22
- package/apps/pwa/out/field/index.html +1 -1
- package/apps/pwa/out/field/index.txt +22 -22
- package/apps/pwa/out/healthz +1 -1
- package/apps/pwa/out/index.html +1 -1
- package/apps/pwa/out/index.txt +21 -21
- package/apps/pwa/out/inside/index.html +1 -1
- package/apps/pwa/out/inside/index.txt +21 -21
- package/apps/pwa/out/intake/index.html +1 -1
- package/apps/pwa/out/intake/index.txt +22 -22
- package/apps/pwa/out/live/index.html +1 -1
- package/apps/pwa/out/live/index.txt +22 -22
- package/apps/pwa/out/live-run/index.html +1 -1
- package/apps/pwa/out/live-run/index.txt +22 -22
- package/apps/pwa/out/loops/index.html +1 -1
- package/apps/pwa/out/loops/index.txt +21 -21
- package/apps/pwa/out/market/index.html +1 -1
- package/apps/pwa/out/market/index.txt +21 -21
- package/apps/pwa/out/missions/placeholder/index.html +1 -1
- package/apps/pwa/out/missions/placeholder/index.txt +21 -21
- package/apps/pwa/out/morning/index.html +1 -1
- package/apps/pwa/out/morning/index.txt +22 -22
- package/apps/pwa/out/observatory/index.html +1 -1
- package/apps/pwa/out/observatory/index.txt +22 -22
- package/apps/pwa/out/ops/checklist/index.html +1 -1
- package/apps/pwa/out/ops/checklist/index.txt +21 -21
- package/apps/pwa/out/ops/release/index.html +1 -1
- package/apps/pwa/out/ops/release/index.txt +21 -21
- package/apps/pwa/out/ops/seats/index.html +1 -1
- package/apps/pwa/out/ops/seats/index.txt +21 -21
- package/apps/pwa/out/outputs/index.html +1 -1
- package/apps/pwa/out/outputs/index.txt +21 -21
- package/apps/pwa/out/reflection/index.html +1 -1
- package/apps/pwa/out/reflection/index.txt +22 -22
- package/apps/pwa/out/scheduler/index.html +1 -1
- package/apps/pwa/out/scheduler/index.txt +22 -22
- package/apps/pwa/out/sessions/index.html +1 -1
- package/apps/pwa/out/sessions/index.txt +21 -21
- package/apps/pwa/out/settings/devices/index.html +1 -1
- package/apps/pwa/out/settings/devices/index.txt +22 -22
- package/apps/pwa/out/settings/index.html +1 -1
- package/apps/pwa/out/settings/index.txt +22 -22
- package/apps/pwa/out/setup/done/index.html +1 -1
- package/apps/pwa/out/setup/done/index.txt +22 -22
- package/apps/pwa/out/setup/index.html +1 -1
- package/apps/pwa/out/setup/index.txt +22 -22
- package/apps/pwa/out/share/index.html +1 -1
- package/apps/pwa/out/share/index.txt +22 -22
- package/apps/pwa/out/showroom/index.html +1 -1
- package/apps/pwa/out/showroom/index.txt +21 -21
- package/apps/pwa/out/tasks/index.html +1 -1
- package/apps/pwa/out/tasks/index.txt +22 -22
- package/apps/pwa/out/term/index.html +1 -1
- package/apps/pwa/out/term/index.txt +22 -22
- package/apps/pwa/out/today/index.html +1 -1
- package/apps/pwa/out/today/index.txt +22 -22
- package/apps/pwa/out/trace/index.html +1 -1
- package/apps/pwa/out/trace/index.txt +22 -22
- package/apps/pwa/out/vault/index.html +1 -1
- package/apps/pwa/out/vault/index.txt +22 -22
- package/apps/pwa/out/workflows/chat-ui/index.html +1 -1
- package/apps/pwa/out/workflows/chat-ui/index.txt +22 -22
- package/apps/pwa/out/workflows/index.html +1 -1
- package/apps/pwa/out/workflows/index.txt +22 -22
- package/apps/pwa/out/workspace/index.html +1 -1
- package/apps/pwa/out/workspace/index.txt +22 -22
- package/apps/pwa/out/worktrees/index.html +1 -1
- package/apps/pwa/out/worktrees/index.txt +22 -22
- package/graphs/overlays/README.md +6 -0
- package/graphs/release/release-loop.yaml +33 -17
- package/graphs/units/verbs/make-doc.yaml +1 -0
- package/package.json +1 -1
- package/scripts/bench-metering-plan.ts +229 -0
- package/scripts/demo/demo1104-parallel-host.ts +56 -0
- package/scripts/demo/demo1104-parallel.ts +72 -0
- package/scripts/public-leak-baseline.txt +0 -1
- package/scripts/release-loop/docs-node.ts +4 -2
- package/scripts/release-loop/gate-image-pin.ts +116 -2
- package/scripts/release-loop/gate-node.ts +217 -25
- package/scripts/release-loop/gate-progress-sim.ts +73 -0
- package/scripts/release-loop/notes-repair.ts +18 -1
- package/scripts/release-loop/preflight.ts +188 -8
- package/scripts/release-loop/render-warm-control-manifest.ts +22 -0
- package/scripts/release-loop/resume-release.ts +9 -7
- package/scripts/release-loop/resume.ts +13 -4
- package/scripts/release-loop/warm-control-forward.ts +178 -0
- package/scripts/retro-cycle.ts +30 -8
- package/scripts/rhythm/daily.ts +4 -1
- package/scripts/rhythm/linear-progress-sync.ts +28 -15
- package/scripts/ux-sim.ts +7 -1
- package/scripts/warm-pool-provider-config.ts +6 -1
- package/src/agent-mission/grok-auth-status.ts +78 -18
- package/src/agent-mission/mission-out.ts +2 -2
- package/src/agent-substrate/pr-reviewer.ts +147 -11
- package/src/agent-substrate/self-review-cli.ts +10 -2
- package/src/auto-research/research-fanout.ts +221 -0
- package/src/auto-research/research-turn.ts +282 -36
- package/src/autopilot/mission-codebase-gate.ts +7 -3
- package/src/cli/control-cli.ts +15 -6
- package/src/cli/log-event-names.ts +8 -0
- package/src/cli/setup-keys.ts +20 -8
- package/src/cli/tui-test-cli.ts +9 -5
- package/src/control-plane/ledger.ts +42 -4
- package/src/control-plane/member-tokens.ts +25 -2
- package/src/control-plane/ports.ts +8 -3
- package/src/control-plane/server.ts +26 -5
- package/src/core-turn/research-policy.ts +7 -1
- package/src/core-turn/run-core-turn.ts +186 -39
- package/src/core-turn/types.ts +2 -0
- package/src/dashboard/classic-sidetab-mission-job.ts +113 -24
- package/src/dashboard/classic-sidetab-mission-pair.ts +3 -2
- package/src/dashboard/classic-sidetab-mission-trio.ts +35 -12
- package/src/dashboard/classic-sidetab-mission.ts +2 -0
- package/src/dashboard/index.ts +9 -1
- package/src/dashboard/sidetab-runtime.ts +2 -0
- package/src/dashboard/visible-mission-diagnostics.ts +16 -0
- package/src/domains/retro-cycle-observation.ts +43 -0
- package/src/domains/retro-cycle.ts +13 -2
- package/src/domains/retro-proposals.ts +92 -0
- package/src/domains/retro-report.ts +6 -1
- package/src/graph-runner/graph-cli.ts +24 -1
- package/src/graph-runner/graph-grow-llm.ts +3 -1
- package/src/graph-runner/runner.ts +226 -30
- package/src/harness/harness-cli-command.ts +4 -2
- package/src/harness/harness-pod-dispatch.ts +3 -0
- package/src/index.ts +2 -2
- package/src/llm/child-first-llm-observation.ts +112 -0
- package/src/llm/provider-credentials.ts +60 -4
- package/src/llm/provider-failure-evidence.ts +44 -0
- package/src/llm.ts +170 -11
- package/src/mcp/client.ts +7 -0
- package/src/mcp/proxy-runtime.ts +6 -1
- package/src/mcp/server.ts +54 -0
- package/src/native-tool-catalog.ts +2 -2
- package/src/nexus/api/consult-requests.ts +18 -6
- package/src/nexus/api/discord-trigger-bot.ts +6 -6
- package/src/nexus/api/graphs-api.ts +4 -2
- package/src/nexus/api/grokbot-trigger-bot.ts +206 -0
- package/src/nexus/api/telegram-trigger-bot.ts +6 -6
- package/src/nexus/boot/register-mcp-clients.ts +114 -8
- package/src/nexus/index.ts +15 -0
- package/src/nexus/outbound/grokbot-adapter.ts +71 -0
- package/src/nexus/outbound/router.ts +33 -13
- package/src/oauth/codex-owner-mirror.ts +47 -10
- package/src/onboarding/first-run.ts +44 -6
- package/src/preview/terminal.ts +22 -7
- package/src/prompt-enhance/enhance.ts +10 -0
- package/src/pty-shell/pty-write-provenance.ts +21 -3
- package/src/pty-shell/registry.ts +9 -2
- package/src/release-loop/proposal-auto-place.ts +83 -0
- package/src/research/axis-fanout.ts +40 -5
- package/src/research/lenses/second-order.ts +312 -0
- package/src/self-dev/dev-cli.ts +3 -1
- package/src/self-dev/draft-sweep.ts +31 -10
- package/src/self-dev/draft-triage-rules.ts +60 -3
- package/src/self-dev/run-supervisor.ts +152 -2
- package/src/self-implement/goal-author.ts +208 -23
- package/src/self-implement/graph-overlay-yaml.ts +151 -0
- package/src/self-implement/graph-yaml.ts +68 -2
- package/src/self-implement/orchestrator.ts +62 -15
- package/src/self-implement/test-scenario-request.ts +37 -6
- package/src/session/chat.ts +2 -2
- package/src/session-runtime/index.ts +37 -5
- package/src/sidetab-core/model.ts +205 -10
- package/src/sidetab-core/visible-agent-mission-pair.ts +51 -0
- package/src/sidetab-core/visible-agent-mission.ts +105 -47
- package/src/skills/tools/omni-search.ts +4 -2
- package/src/task-agent/parent-host.ts +19 -1
- package/src/task-agent/recall-inject.ts +98 -0
- package/src/task-agent/task-hand.ts +26 -7
- package/src/task-orchestrator/surfaces/pod-artifact-return.ts +19 -1
- package/src/task-orchestrator/surfaces/pod-failure-reason.ts +15 -0
- package/src/task-orchestrator/surfaces/pod-si-warm-host.ts +21 -9
- package/src/task-orchestrator/surfaces/pod-warm-worker-pod.ts +1 -1
- package/src/task-orchestrator/surfaces/pod-warm-worker-provider.ts +460 -96
- package/src/task-orchestrator/surfaces/pod-warm-worker-runtime.ts +45 -3
- package/src/task-orchestrator/surfaces/self-implement-pod.ts +38 -8
- package/src/tool-hints/gate.ts +45 -14
- package/src/tool-hints/signals.ts +1 -1
- package/src/tool-hints/types.ts +2 -0
- package/src/tool-runtime/browser-hand-runtime.ts +11 -1
- package/src/tool-runtime/browser-runtime.ts +31 -18
- package/src/tool-runtime/elanous-linear-secretary-runtime.ts +152 -36
- package/src/tool-runtime/types.ts +2 -0
- package/src/tui/entry.ts +27 -7
- package/src/tui/sidetab/attach.ts +112 -0
- package/src/tui/sidetab/list.ts +3 -2
- package/src/tui-client/next-dashboard-runtime.ts +52 -0
- package/src/ux-sim/draft-inventory-builder.ts +2 -1
- package/src/ux-sim/linear-secretary.ts +4 -12
- package/src/ux-sim/mock-scenario-catalog.json +32 -29
- package/src/ux-sim/mock-scenario-catalog.ts +55 -3
- package/src/ux-sim/release-sim-rig.ts +62 -18
- package/src/ux-sim/service-key-setup.ts +63 -0
- package/src/version/packed-revision.json +1 -1
- package/apps/pwa/out/_next/static/chunks/114.2b90424d1a3ce84c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1151-5c2bb8f002ca2dd6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1261-a616d5728e02e624.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1357.3bbef3976c37f94a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1362-20adddfaf662b0fa.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1737-9491fc6ab29b9ec6.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1803-4f91a8e7dcaf042c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1961.a81b12872c3e93a9.js +0 -23
- package/apps/pwa/out/_next/static/chunks/1970cf59.2d4d8ce5d6c81853.js +0 -1
- package/apps/pwa/out/_next/static/chunks/1971-8890f3962ba7ee0a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2073-ba274e00e4f9efb4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2268-53861f339e0b65a2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/273.f156eee28f11af77.js +0 -1
- package/apps/pwa/out/_next/static/chunks/2873.d2140e5a82546401.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3091.a5a4143dea33d197.js +0 -90
- package/apps/pwa/out/_next/static/chunks/3095.dc44586a5f83b86d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3113.d7472bbc27d580c7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/3228-9650b6447b6fa288.js +0 -1
- package/apps/pwa/out/_next/static/chunks/360.ae9f9f4c33c395e8.js +0 -79
- package/apps/pwa/out/_next/static/chunks/3638.80412ea63aae8f3f.js +0 -286
- package/apps/pwa/out/_next/static/chunks/3744.54f87db52acfd1ab.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4311-6dd3144002cc0c2d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4426-2b230fad00c88930.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4445.7990c76b3751a918.js +0 -115
- package/apps/pwa/out/_next/static/chunks/4447-14c5161fa59166c7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4856-b0b8075bba8c53f4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4870-de370d65e73c0bb5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4885-2c989165c4b29fad.js +0 -1
- package/apps/pwa/out/_next/static/chunks/4894.fec2ca9e99caefa2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5093.8f04b7f8cb899a95.js +0 -94
- package/apps/pwa/out/_next/static/chunks/5122-2bb177cebf89e19a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5154.5f56dc3902e3d275.js +0 -36
- package/apps/pwa/out/_next/static/chunks/529.64ff7257180b2ac9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5394.5dabeb0c62293a28.js +0 -93
- package/apps/pwa/out/_next/static/chunks/5461.08bf2404ff38ec85.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5474-22e08a85583209b2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5567-265df39ed8fe9dcb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5570-a94ae19811cb2046.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5574-b47c9ef2dceff1fd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5730.43d7ccc09988e646.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5824.da9527b15a3221e5.js +0 -1
- package/apps/pwa/out/_next/static/chunks/5963-c4d8469c52a0828b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6001.ec4049ceb3c43418.js +0 -27
- package/apps/pwa/out/_next/static/chunks/6120-471f03db1e299c0c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6175-41479e643aca1878.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6291.a2de4f9787637075.js +0 -104
- package/apps/pwa/out/_next/static/chunks/6400-6699907c3537436a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6428.1f4327d6ae5fdf9a.js +0 -287
- package/apps/pwa/out/_next/static/chunks/644.02cb026fa44bcd0a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6466-6c87d60d3dd174fb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6773.d4264665ab31bec0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/6822.3c789f1a8443e774.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7261-8ff69d3b2ee671fd.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7266.084c6bbc70035140.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7271.5c0100e7320aa856.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7429-bf5731358c8f2f68.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7464.01f7a0ae1215fbe7.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7479.0fcad5f37eb64f0c.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7483.427a2fe2049e388d.js +0 -148
- package/apps/pwa/out/_next/static/chunks/7502-be74718178e13e56.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7530.0889722b19572065.js +0 -24
- package/apps/pwa/out/_next/static/chunks/7645.5b2ee3ad45c55ea3.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7788.7d1c79f1a8e18946.js +0 -1
- package/apps/pwa/out/_next/static/chunks/7966.f71c8958d1637548.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8073.f6cf2f2c71aafbd0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8201.190b94088980f430.js +0 -74
- package/apps/pwa/out/_next/static/chunks/8447.7963352ef5f71b76.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8574-868e8129525ef6d9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/868.6e953be05bcf6dca.js +0 -41
- package/apps/pwa/out/_next/static/chunks/8706-e1fe0309343a2273.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8749-06384cdfc4520add.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8861-cc1fa1c7b920fa8e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8967-7dfebf710c9dec9d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/8997-3c564dbb3b58b055.js +0 -1
- package/apps/pwa/out/_next/static/chunks/923.2034d10ae91e9c20.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9312.bc1b89c5d4368033.js +0 -1
- package/apps/pwa/out/_next/static/chunks/943.39ae5e82f4f1893f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9469.0500480de55fb205.js +0 -32
- package/apps/pwa/out/_next/static/chunks/9810-2543267050e58b82.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9870.8419702475254745.js +0 -8
- package/apps/pwa/out/_next/static/chunks/9941-376d1b74d51b01a4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/9958.385434ab04241758.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/_not-found/page-deea1450b17cb8dc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/approvals/page-70985b904f8650ef.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/autopilot/page-a2e15e33e56a4353.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/board/page-fc72ce2db12d6ca9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/botlab/page-be03e41f9436ebd9.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/bots/page-35a35999382da3f2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ceo/page-3ff5b1e6ca88b848.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/chat/page-a65101300a0ee5c1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/consult/page-3aca5b6d67dba511.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/control/page-45b8ab0a71e61314.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/decisions/page-53046e282d4cda8e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/design-check/page-17809e60e8354c17.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/editor/page-fd2442d347bf5898.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/exec/page-e9d720d6fc082e21.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/field/page-6b8b4267bab0a677.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/healthz/route-deea1450b17cb8dc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/inside/page-8bcf6233ac7c17af.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/intake/page-7cc25591cfc2126f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/layout-053e871f35c9beba.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live/page-eff819f0c2d5e084.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/live-run/page-4d7e9d8db5274a87.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/loops/page-2b2d8f5aa5f69ad4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/market/page-0b8f92c5062e68b1.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/missions/[id]/page-1bd9d0fdac2ced3d.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/morning/page-9ee28f7df07428ea.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/not-found-44b7a1ff468c6648.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/observatory/page-cbc6523711dc1b65.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/checklist/page-fdad47899c2695be.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/release/page-79a8b5fee4c20871.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/ops/seats/page-03e8ac9606aeaffb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/outputs/page-4cd55c55ec287e2f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/page-db17b4305404161e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/reflection/page-30041d848350fd02.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/scheduler/page-c540da022dbf86b0.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/sessions/page-9399efc538da057f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/devices/page-ca2d09128c585ca4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/settings/page-0e2635aecd343038.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/done/page-ef7f4399b6b7726e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/layout-deea1450b17cb8dc.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/setup/page-caf530535b875468.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/share/page-eaa20c1543a5fd8e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/showroom/page-c541eb1b75120f61.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/tasks/page-ab5e213eda9479f4.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/today/page-e858ba0ed9393b68.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/trace/page-1638ee9dd6e0582f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/vault/page-4cf5a399109391f2.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/chat-ui/page-b4396321238798ec.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workflows/page-cb72bfd21006781a.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/workspace/page-6135d0242afbc434.js +0 -1
- package/apps/pwa/out/_next/static/chunks/app/worktrees/page-a1dccf907eddb856.js +0 -1
- package/apps/pwa/out/_next/static/chunks/c7945435-b44d4dbe90ba0dcb.js +0 -1
- package/apps/pwa/out/_next/static/chunks/ea514caa.05a24f78d9dffe5f.js +0 -122
- package/apps/pwa/out/_next/static/chunks/framework-e8a911e19b1be41f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-7022f418fabba021.js +0 -1
- package/apps/pwa/out/_next/static/chunks/main-app-e5f15df755756a1e.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_app-4525f91e36940c9b.js +0 -1
- package/apps/pwa/out/_next/static/chunks/pages/_error-140f0e519c085b0f.js +0 -1
- package/apps/pwa/out/_next/static/chunks/webpack-8f22ef63dcb865b1.js +0 -1
- /package/apps/pwa/out/_next/static/{Om5xS9jpjSXJCeTNGYEi4 → HMXsxdy5MIIcHPMHv1wD4}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7869],{7869:(e,t,n)=>{"use strict";n.d(t,{Yd:()=>N});var a=n(68063),r=n(66231),l=n(60178),o=n(83447),i=n(30821);n(52673),n(96134),n(20008);var s=n(84002),d=n(57695),c=n(52562),u=n(9427),m=n(30520);let p="미계측";var x=n(45602),h=n(74099);let f={agent:"#3b82f6",gate:"#f59e0b",git:"#10b981",judge:"#a855f7",observe:"#06b6d4",hitl:"#f43f5e",subgraph:"#8b5cf6"},g={pending:"var(--border, #cbd5e1)",running:"#f59e0b",passed:"var(--chart-2, #16a34a)",failed:"var(--destructive, #ef4444)"},y={pending:"대기",running:"도는 중",passed:"통과",failed:"실패"},b={pending:"workflow-node-status",running:"workflow-node-status workflow-node-status-running",passed:"workflow-node-status workflow-node-status-done",failed:"workflow-node-status workflow-node-status-failed"},v=[1,4,16],w=v[1],k={live:function(e){var t;let{data:n}=e;return(0,a.jsxs)("div",{"data-testid":"live-node-".concat(n.label),"data-state":n.state,"data-adaptive-event":n.adaptiveLabel,className:"relative rounded-lg border-2 bg-surface px-3 py-2 shadow-sm transition-opacity duration-300 ".concat(b[n.state]," ").concat("pending"===n.state?n.unrecorded?"opacity-35":"opacity-60":""," ").concat(n.adaptiveLabel?"animate-pulse ring-2 ring-primary/60":""),style:{width:d.EP,height:n.height,borderColor:g[n.state],borderLeft:"5px solid ".concat(null!=(t=f[n.kind])?t:"#64748b"),outline:n.focused?"2px solid var(--accent, #8b5cf6)":void 0,outlineOffset:3},children:[(0,a.jsx)(o.h7,{id:"in",type:"target",position:i.yX.Left,className:"!pointer-events-none !opacity-0"}),(0,a.jsxs)("div",{"data-testid":"live-node-meta-".concat(n.label),className:"flex items-center gap-1 overflow-hidden text-[11px] text-text-tertiary",children:[(0,a.jsx)("span",{className:"truncate",children:"subgraph"===n.kind?"묶음 \xb7 눌러서 펼치기":n.kind}),n.entry&&(0,a.jsx)("span",{className:"shrink-0 rounded bg-success/15 px-1 text-success",children:"시작"}),n.terminal&&(0,a.jsx)("span",{className:"shrink-0 rounded bg-accent/15 px-1 text-accent",children:"끝"}),n.adaptiveLabel&&(0,a.jsx)("span",{"data-testid":"adaptive-event-".concat(n.label),className:"shrink-0 rounded bg-primary/15 px-1 text-primary animate-pulse",children:n.adaptiveLabel}),(0,a.jsx)("span",{"data-state-word":!0,className:"ml-auto shrink-0 font-medium",style:{color:g[n.state]},children:n.unrecorded?"기록 없음":y[n.state]})]}),(0,a.jsx)("div",{className:"overflow-x-auto whitespace-nowrap font-mono text-sm font-semibold text-text-primary",title:n.label,children:(0,x.Fi)(n.label)?"▣ ".concat(n.label.slice(x.EQ.length)):n.label}),(0,a.jsxs)("div",{className:"truncate text-[11px] text-text-tertiary",title:n.recipe,children:[n.recipe," \xb7 최대 ",n.maxVisits,"회"]}),n.visits>1&&(0,a.jsxs)("span",{"data-testid":"visit-badge-".concat(n.label),className:"absolute -right-2 -top-2 rounded-full bg-amber-500 px-1.5 text-xs font-bold text-white shadow",children:["\xd7",n.visits]}),(0,a.jsx)(o.h7,{id:"out",type:"source",position:i.yX.Right,className:"!pointer-events-none !opacity-0"})]})},...h.r},j={live:function(e){let{id:t,data:n,markerEnd:r,style:l}=e;if(!(null==n?void 0:n.route))return null;let{route:i}=n,s=c.Bu[i.family],d="back"===i.kind||"fallback"===i.family,u="fallback"===i.family?"8 4":"6 4";return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("g",{"data-testid":n.taken?"edge-token-".concat(i.from,"-").concat(i.to):void 0,children:(0,a.jsx)(o.tE,{id:t,path:i.path,markerEnd:r,style:{stroke:s,strokeWidth:n.active?4:n.taken?3:1.5,opacity:n.active||n.taken?1:.22,transition:"opacity 300ms, stroke-width 300ms",...d?{strokeDasharray:u}:{},...l,...(null==l?void 0:l.stroke)?{opacity:1}:{}}})}),n.active&&(0,a.jsxs)("g",{opacity:null==l?void 0:l.opacity,children:[(0,a.jsx)("circle",{r:7,fill:s,opacity:.25,children:(0,a.jsx)("animateMotion",{dur:"".concat(n.tokenMs,"ms"),fill:"freeze",path:i.path})}),(0,a.jsx)("circle",{r:4.5,fill:s,stroke:"var(--background, #fff)",strokeWidth:1.5,children:(0,a.jsx)("animateMotion",{dur:"".concat(n.tokenMs,"ms"),fill:"freeze",path:i.path})})]},n.tokenKey),i.label&&(0,a.jsx)(o.rV,{children:(0,a.jsx)("div",{className:"nodrag nopan pointer-events-none absolute whitespace-nowrap rounded-full border px-1.5 font-mono text-[11px] leading-4",style:{transform:"translate(-50%, -50%) translate(".concat(i.label.x,"px, ").concat(i.label.y,"px)"),width:i.label.width,textAlign:"center",borderColor:s,color:s,background:"var(--background, #fff)",opacity:n.active||n.taken?1:.35,fontWeight:n.active?700:500,...(null==l?void 0:l.opacity)!==void 0?{opacity:l.opacity}:{}},children:i.label.text})})]})}};function N(e){var t,n,i,h,f,g;let{runId:y,initialFolded:b=!1,clearFocusVersion:N=0,onNodeSelect:M}=e,S=(0,s.M1)(),C=(0,l.I)({queryKey:["harness-run-traversal",y],queryFn:()=>S.getHarnessRunTraversal(y),refetchInterval:e=>{var t;return(null==(t=e.state.data)?void 0:t.status)==="running"&&4e3}}),_=C.data,E=(0,l.I)({queryKey:["run-graph",null==_?void 0:_.graphId],queryFn:()=>S.getRunGraph(_.graphId),enabled:!!(null==_?void 0:_.graphId),retry:!1,staleTime:6e4}),I=(0,r.useMemo)(()=>{var e;return null!=(e=null==_?void 0:_.steps)?e:[]},[_]),q=(0,r.useMemo)(()=>{var e,t;if(!_)return null;let n=E.data,a=n?(0,m.D6)(n,I):E.isLoading&&_.graphId?null:(0,m.Q)(null!=(e=_.graphId)?e:_.runId,I);return a?(0,d.RC)(a,null!=(t=_.graphEvents)?t:[]):null},[_,E.data,E.isLoading,I]),[z,F]=(0,r.useState)(()=>new Set),L=(0,r.useMemo)(()=>q?(0,x.S0)(q):[],[q]),O=(0,r.useMemo)(()=>q?(0,x.F8)(q):new Map,[q]),D=(0,r.useRef)(!1);(0,r.useEffect)(()=>{b&&!D.current&&0!==L.length&&(D.current=!0,F(new Set(L)))},[b,L]);let A=(0,r.useMemo)(()=>q?(0,x.ws)(q,z):null,[q,z]),T=(0,r.useMemo)(()=>A?(0,d.hl)(A.graph):null,[A]),V=(0,r.useMemo)(()=>A?I.map(e=>({...e,node:A.resolve(e.node)})):I,[A,I]),Y=(0,r.useMemo)(()=>{var e;return null!=(e=null==T?void 0:T.edges.map(e=>({id:e.id,from:e.source,to:e.target,outcomes:e.data.route.outcomes})))?e:[]},[T]),R=(null==_?void 0:_.status)==="running",[B,W]=(0,r.useState)(null),Z=null!=B?B:R?"live":"replay",[P,$]=(0,r.useState)(-1),[H,K]=(0,r.useState)(!1),[Q,X]=(0,r.useState)(!1),[G,U]=(0,r.useState)(w),[J,ee]=(0,r.useState)(null),[et,en]=(0,r.useState)(null),[ea,er]=(0,r.useState)(!0),el=(0,r.useRef)(null),eo=(0,r.useRef)(null),[ei,es]=(0,r.useState)(0),ed=(0,r.useRef)(!1),ec=(0,r.useRef)(y),[eu,em]=(0,r.useState)(()=>window.innerWidth>0?window.innerWidth:1024);(0,r.useEffect)(()=>{let e=()=>em(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let ep=eu<700;(0,r.useEffect)(()=>{ec.current!==y&&(ec.current=y,ed.current=!1,D.current=!1,F(new Set),W(null),$(-1),K(!1),X(!1),U(w),ee(null),en(null),er(!0))},[y]),(0,r.useEffect)(()=>{_&&!ed.current&&0!==I.length&&(ed.current=!0,"running"===_.status?($(I.length-1),K(null===I.at(-1).outcome)):($(0),K(!0),X(!0)))},[_,I]),(0,r.useEffect)(()=>{"live"===Z&&0!==I.length&&($(I.length-1),K(null===I.at(-1).outcome))},[Z,I]),(0,r.useEffect)(()=>{if("replay"!==Z||!Q||0===I.length)return;let e=(0,u.bB)(I,P,G),t=window.setTimeout(()=>K(!1),e/2),n=window.setTimeout(()=>{if(P>=I.length-1)return void X(!1);$(e=>e+1),K(!0)},e);return()=>{window.clearTimeout(t),window.clearTimeout(n)}},[Z,Q,P,G,I]);let ex=(0,r.useMemo)(()=>new Set(V.map(e=>e.node)),[V]),eh=(0,r.useMemo)(()=>{var e;let t=new Map;for(let n of(null!=(e=null==_?void 0:_.graphEvents)?e:[]).slice(-8))"node-added"===n.type?t.set(n.node,"hand"===n.kind?"손 노드":"새 노드"):"unit-expanded"===n.type?t.set(n.node,"깊이 상승"):"edge-rerouted"===n.type&&(t.set(n.from,"경로 수리"),t.set(n.to,"경로 수리"));if(E.data){let e=new Set(E.data.nodes.map(e=>e.node_id));for(let n of I)e.has(n.node)||t.has(n.node)||t.set(n.node,"새로 추가")}return t},[null==_?void 0:_.graphEvents,E.data,I]),ef=(0,r.useMemo)(()=>{var e;return(0,u.aZ)(null!=(e=null==T?void 0:T.nodes.map(e=>e.id))?e:[],Y,V,P,H)},[T,Y,V,P,H]),eg=(0,r.useCallback)(e=>F(t=>{let n=new Set(t);return n.has(e)?n.delete(e):n.add(e),n}),[]),ey="replay"===Z?Math.max(250,.6*(0,u.bB)(I,Math.max(0,P-1),G)):1200,eb=(0,r.useMemo)(()=>{var e;return(0,c.d1)((null==T?void 0:T.nodes.some(e=>e.id===et))?et:null,null!=(e=null==T?void 0:T.edges.map(e=>({id:e.id,from:e.source,to:e.target})))?e:[])},[et,T]),ev=(0,r.useMemo)(()=>{if(!T)return[];let e=T.nodes.map(e=>{var t,n;return{...e,type:"live",zIndex:1,...eb&&!eb.nodes.has(e.id)?{style:{...e.style,opacity:c.zZ.dimNode}}:{},data:{...e.data,state:null!=(t=ef.nodeState[e.id])?t:"pending",visits:null!=(n=ef.visits[e.id])?n:0,focused:J===e.id,...eh.has(e.id)?{adaptiveLabel:eh.get(e.id)}:{},unrecorded:!R&&!ex.has(e.id)}}});return[...(0,x.Vc)(T.nodes.map(e=>({id:e.id,position:e.position,width:d.EP,height:e.data.height})),O).map(e=>({id:e.id,type:"groupBox",position:{x:e.x,y:e.y},zIndex:0,selectable:!1,draggable:!1,focusable:!1,data:{group:e.group,memberCount:e.members.length,width:e.width,height:e.height,onCollapse:eg,state:(0,x.Oc)(e.members.map(e=>{var t;return null!=(t=ef.nodeState[e])?t:"pending"})),unrecorded:!R&&e.members.every(e=>!ex.has(e))}})),...e]},[T,ef,J,eb,R,ex,O,eg,eh]),ew=(0,r.useMemo)(()=>{var e;return null!=(e=null==T?void 0:T.edges.map(e=>({...e,type:"live",...(0,c.f_)(eb,e.id),className:(null==eb?void 0:eb.edges.has(e.id))?"wiring-edge-flow":void 0,data:{...e.data,taken:ef.takenEdges.has(e.id),active:ef.activeEdge===e.id,tokenKey:"".concat(e.id,":").concat(ef.cursor),tokenMs:ey}})))?e:[]},[T,ef,ey,eb]),ek=(0,r.useCallback)(e=>{ee(e);let t=el.current;t&&(e?t.fitView({nodes:[{id:e}],duration:600,maxZoom:1.4,padding:.6}):t.fitView({duration:600,padding:.08,minZoom:.5}))},[]),ej=(0,r.useRef)(N);(0,r.useEffect)(()=>{ej.current!==N&&(ej.current=N,ek(null))},[N,ek]);let eN=(0,r.useRef)(y);(0,r.useEffect)(()=>{eN.current!==y&&(eN.current=y,ek(null))},[y,ek]);let eM=null!=(n=null==(t=V[P])?void 0:t.node)?n:null;(0,r.useEffect)(()=>{var e,t,n;if(!ea||J||!eM||!T)return;let a=T.nodes.find(e=>e.id===eM),r=el.current;if(!a||!r)return;let l=Math.min(1,Math.max((n=null!=(t=null==(e=eo.current)?void 0:e.clientWidth)?t:1e3)<700?.72:.78,n/900));r.setCenter(a.position.x+d.EP/2,a.position.y+a.data.height/2,{zoom:l,duration:400})},[ea,J,eM,T,ei]);let eS="replay"===Z&&!Q&&I.length>0&&P===I.length-1;(0,r.useEffect)(()=>{let e=ep?null:.5;if(!eS||!ea||J||null===e)return;let t=window.setTimeout(()=>{var t;null==(t=el.current)||t.fitView({nodes:[...ex].map(e=>({id:e})),duration:800,padding:.08,minZoom:e})},1200);return()=>window.clearTimeout(t)},[eS,ea,J,ex,ep]);let eC=e=>{W("replay"),X(!1),$(e),K(!1)};if(C.isLoading)return(0,a.jsx)("p",{className:"p-4 text-sm text-text-tertiary",children:"런 원장을 읽는 중…"});if(C.isError||!_)return(0,a.jsxs)("p",{role:"alert",className:"p-4 text-sm text-error",children:["이 런의 원장을 읽지 못했습니다 (",y,")."]});let e_=J?I.map((e,t)=>({step:e,index:t})).filter(e=>{var t;let{step:n}=e;return(null!=(t=null==A?void 0:A.resolve(n.node))?t:n.node)===J}):[],eE=P>=0?I[P]:void 0,eI=function(e,t){var n;let a=t?new Set(t.nodes.map(e=>e.node_id)).size:new Set(e.steps.map(e=>e.node)).size,r=t?t.edges.length:Math.max(0,new Set(e.steps.map(e=>e.node)).size>0?e.steps.length-1:0),l=function(e){let t=e.startedAt?Date.parse(e.startedAt):NaN,n=e.endedAt?Date.parse(e.endedAt):NaN;if(Number.isFinite(t)&&Number.isFinite(n)&&n>=t)return n-t;let a=e.steps.map(e=>Date.parse(e.at)).filter(e=>Number.isFinite(e)).at(-1);if(Number.isFinite(t)&&void 0!==a&&a>=t)return a-t;let r=e.steps.map(e=>e.durationMs).filter(e=>"number"==typeof e&&Number.isFinite(e)&&e>=0);return r.length>0&&r.length===e.steps.length?r.reduce((e,t)=>e+t,0):null}(e),o="number"==typeof(n=e.cost)&&Number.isFinite(n)?n:null;return{nodeCount:a,edgeCount:r,elapsed:null===l?p:(0,u.vV)(l),cost:null===o?p:String(o)}}(_,q);return(0,a.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-3",children:[(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[(0,a.jsx)("span",{className:"rounded-full px-2 py-0.5 text-xs font-semibold ".concat(R?"bg-amber-500/15 text-amber-600 dark:text-amber-400":"completed"===_.status?"bg-success/15 text-success":"bg-error/15 text-error"),children:(0,m.az)(_.status)}),(0,a.jsx)("h2",{className:"order-first min-w-0 basis-full truncate text-sm font-semibold text-text-primary sm:order-none sm:basis-0 sm:flex-1",title:null!=(i=_.title)?i:void 0,children:null!=(h=_.title)?h:_.runId}),null!==_.prNumber&&(0,a.jsxs)("span",{className:"text-xs text-text-secondary",children:["PR #",_.prNumber]}),(0,a.jsxs)("span",{className:"font-mono text-[11px] text-text-tertiary",children:[_.runId.slice(0,12)," \xb7 ",null!=(f=_.graphId)?f:"그래프 모름",_.substrate?" \xb7 ".concat(_.substrate):""]})]}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-2 text-xs",children:[(0,a.jsxs)("div",{role:"group","aria-label":"보기",className:"flex overflow-hidden rounded border border-border",children:[(0,a.jsx)("button",{type:"button",disabled:!R,onClick:()=>{W("live"),X(!1)},className:"px-2 py-1 ".concat("live"===Z?"bg-primary text-primary-foreground":""," disabled:opacity-40"),children:"● 라이브"}),(0,a.jsx)("button",{type:"button",onClick:()=>{W("replay")},className:"px-2 py-1 ".concat("replay"===Z?"bg-primary text-primary-foreground":""),children:"리플레이"})]}),"replay"===Z&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("button",{type:"button","aria-label":Q?"일시정지":"재생",onClick:()=>{!Q&&P>=I.length-1&&($(0),K(!0)),X(!Q)},className:"rounded border border-border px-2.5 py-1 font-semibold",children:Q?"⏸ 일시정지":"▶ 재생"}),(0,a.jsx)("button",{type:"button",onClick:()=>{$(0),K(!0),X(!1)},className:"rounded border border-border px-2 py-1",children:"처음"}),(0,a.jsx)("div",{role:"group","aria-label":"속도",className:"flex overflow-hidden rounded border border-border",children:v.map(e=>(0,a.jsxs)("button",{type:"button",onClick:()=>U(e),"aria-pressed":G===e,className:"px-2 py-1 ".concat(G===e?"bg-accent/20 font-semibold text-text-primary":"text-text-secondary"),children:[e,"\xd7"]},e))}),(0,a.jsx)("input",{type:"range","aria-label":"재생 위치",min:0,max:Math.max(0,I.length-1),value:Math.max(0,P),onChange:e=>eC(Number(e.target.value)),className:"min-w-[120px] flex-1"})]}),(0,a.jsxs)("span",{className:"text-text-tertiary",children:[Math.max(0,P+1),"/",I.length," 단계",eE?" \xb7 ".concat(eE.node," \xd7").concat(eE.visit):""]}),(0,a.jsx)("button",{type:"button",onClick:()=>{er(!1),null==M||M(null),ek(null)},className:"rounded border border-border px-2 py-1",children:"전체 보기"}),(0,a.jsx)("button",{type:"button","aria-pressed":ea,onClick:()=>{er(!ea),null==M||M(null),ee(null)},className:"rounded border px-2 py-1 ".concat(ea?"border-primary text-primary":"border-border"),children:"카메라 따라가기"}),L.length>0&&(0,a.jsx)("button",{type:"button","data-testid":"toggle-units",onClick:()=>{null==M||M(null),ee(null),F(z.size===L.length?new Set:new Set(L))},className:"rounded border border-border px-2 py-1",children:z.size===L.length?"묶음 펼치기 (통합 보기)":"묶음 접기"})]}),(0,a.jsxs)("dl",{"data-testid":"live-run-metrics","aria-label":"런 지표",className:"grid grid-cols-2 gap-2 text-xs sm:grid-cols-4",children:[(0,a.jsxs)("div",{"data-testid":"metric-nodes",className:"rounded border border-border bg-surface px-2 py-1",children:[(0,a.jsx)("dt",{className:"text-text-tertiary",children:"노드 수"}),(0,a.jsx)("dd",{className:"font-mono font-semibold text-text-primary",children:eI.nodeCount})]}),(0,a.jsxs)("div",{"data-testid":"metric-edges",className:"rounded border border-border bg-surface px-2 py-1",children:[(0,a.jsx)("dt",{className:"text-text-tertiary",children:"간선 수"}),(0,a.jsx)("dd",{className:"font-mono font-semibold text-text-primary",children:eI.edgeCount})]}),(0,a.jsxs)("div",{"data-testid":"metric-elapsed",className:"rounded border border-border bg-surface px-2 py-1",children:[(0,a.jsx)("dt",{className:"text-text-tertiary",children:"경과 시간"}),(0,a.jsx)("dd",{className:"font-mono font-semibold text-text-primary",children:eI.elapsed})]}),(0,a.jsxs)("div",{"data-testid":"metric-cost",className:"rounded border border-border bg-surface px-2 py-1",children:[(0,a.jsx)("dt",{className:"text-text-tertiary",children:"비용"}),(0,a.jsx)("dd",{className:"font-mono font-semibold text-text-primary",children:eI.cost})]})]}),(0,a.jsxs)("div",{className:"flex min-h-0 flex-1 flex-col gap-3 lg:flex-row",children:[(0,a.jsxs)("section",{ref:eo,"aria-label":"실행 그래프","data-viewport":ep?"narrow":"wide",className:"relative min-w-0 overflow-hidden rounded-lg border border-border bg-surface ".concat(ep?"h-[65dvh] min-h-[380px]":"h-[60dvh] min-h-[340px]"," lg:h-[calc(100dvh-230px)] lg:min-h-[520px] lg:flex-1"),children:[0===I.length&&(0,a.jsx)("p",{className:"absolute left-3 top-3 z-10 text-xs text-text-tertiary",children:"아직 노드에 들어가지 않았습니다(원장에 `pipeline-node-entry` 없음)."}),T&&(0,a.jsxs)(o.Gc,{nodes:ev,edges:ew,nodeTypes:k,edgeTypes:j,onInit:e=>{el.current=e,es(e=>e+1)},onNodeMouseEnter:(e,t)=>{"groupBox"!==t.type&&en(t.id)},onNodeMouseLeave:()=>en(null),onNodeClick:(e,t)=>{if("groupBox"!==t.type){if((0,x.Fi)(t.id)){var n;let e=null!=(n=t.data.group)?n:t.id.slice(6);eg(e),null==M||M(null),ee(null),window.setTimeout(()=>{var t;null==(t=el.current)||t.fitView({nodes:[{id:"box:".concat(e)}],duration:600,maxZoom:1.4,padding:.2})},80);return}null==M||M(J===t.id?null:t.id),ek(J===t.id?null:t.id)}},onPaneClick:()=>{J&&(null==M||M(null),ek(null))},fitView:!0,fitViewOptions:{padding:.08,minZoom:.5},minZoom:.2,maxZoom:2,nodesDraggable:!1,nodesConnectable:!1,elementsSelectable:!1,edgesFocusable:!1,deleteKeyCode:null,proOptions:{hideAttribution:!0},className:"!bg-surface",children:[(0,a.jsx)(o.VS,{}),(0,a.jsx)(o.H2,{showInteractive:!1})]},"".concat(null!=(g=null==q?void 0:q.id)?g:"graph",":").concat([...z].sort().join(","))),J&&(0,a.jsxs)("div",{"data-testid":"node-detail",className:"absolute bottom-3 left-3 right-3 z-10 max-h-[45%] overflow-y-auto rounded-lg border border-border bg-background/95 p-3 text-xs shadow-lg backdrop-blur sm:right-auto sm:w-[320px]",children:[(0,a.jsxs)("div",{className:"mb-1 flex items-center gap-2",children:[(0,a.jsx)("span",{className:"font-mono text-sm font-semibold text-text-primary",children:J}),(0,a.jsxs)("span",{className:"text-text-tertiary",children:["방문 ",e_.length,"회"]}),(0,a.jsx)("button",{type:"button",onClick:()=>ek(null),className:"ml-auto rounded border border-border px-1.5",children:"닫기"})]}),0===e_.length&&(0,a.jsx)("p",{className:"text-text-tertiary",children:R?"아직 이 노드에 들어가지 않았습니다.":"기록 없음 — 이 런의 원장에 이 노드의 사건이 없습니다."}),(0,a.jsx)("ul",{className:"space-y-1",children:e_.map(e=>{var t;let{step:n,index:r}=e;return(0,a.jsx)("li",{children:(0,a.jsxs)("button",{type:"button",onClick:()=>eC(r),className:"w-full rounded px-1 py-0.5 text-left hover:bg-surface-elevated",children:[(0,a.jsx)("span",{className:"font-mono text-text-secondary",children:(0,u.Xf)(n.at)})," ",(0,a.jsxs)("span",{className:"font-semibold",children:["\xd7",n.visit]})," ",(0,a.jsx)("span",{className:"fail"===n.outcome?"text-error":null===n.outcome?"text-amber-500":"text-success",children:null!=(t=n.outcome)?t:"도는 중"})," ",(0,a.jsx)("span",{className:"text-text-tertiary",children:(0,u.vV)(n.durationMs)}),n.detail&&(0,a.jsx)("span",{className:"block text-text-secondary",children:n.detail})]})},r)})})]})]}),(0,a.jsxs)("aside",{"aria-label":"실행 타임라인",className:"overflow-y-auto rounded-lg border border-border bg-surface ".concat(ep?"max-h-[300px]":"max-h-[420px]"," lg:max-h-[calc(100dvh-230px)] lg:w-[340px] lg:shrink-0"),children:[(0,a.jsx)("h3",{className:"sticky top-0 border-b border-border bg-surface px-3 py-2 text-xs font-semibold",children:"타임라인 (KST)"}),(0,a.jsx)("ol",{children:I.map((e,t)=>{var n,r;let l=t>P,o=t===P;return(0,a.jsx)("li",{children:(0,a.jsxs)("button",{type:"button",onClick:()=>{var n;eC(t),ek(null!=(n=null==A?void 0:A.resolve(e.node))?n:e.node)},"data-testid":"timeline-step-".concat(t),className:"grid w-full grid-cols-[64px_1fr_auto] items-baseline gap-x-2 border-b border-border/60 px-3 py-1.5 text-left text-xs transition-opacity ".concat(l?"opacity-35":""," ").concat(o?"bg-accent/10":"hover:bg-surface-elevated"),children:[(0,a.jsx)("span",{className:"font-mono text-text-tertiary",children:(0,u.Xf)(e.at)}),(0,a.jsxs)("span",{className:"font-mono font-semibold text-text-primary",children:[e.node,e.visit>1?" \xd7".concat(e.visit):""]}),(0,a.jsx)("span",{className:"fail"===e.outcome?"text-error":null===e.outcome?"text-amber-500":"text-success",children:null===e.outcome?"도는 중":"fail"===e.outcome?"실패":"통과"}),(0,a.jsx)("span",{className:"text-[11px] text-text-tertiary",children:(0,u.vV)(e.durationMs)}),(0,a.jsx)("span",{className:"col-span-2 truncate text-[11px] text-text-secondary",title:null!=(n=e.detail)?n:void 0,children:null!=(r=e.detail)?r:""})]})},t)})})]})]}),(0,a.jsxs)("p",{className:"shrink-0 text-[11px] text-text-tertiary",children:["배선도 디자인: ",(0,a.jsx)("a",{href:"https://malfoy-meme-making.vercel.app/wiring/index.html",target:"_blank",rel:"noopener noreferrer",className:"underline",children:"공냥이 AI 실험실"})]})]})}},9427:(e,t,n)=>{"use strict";n.d(t,{Xf:()=>o,aZ:()=>r,bB:()=>l,vV:()=>i});let a=new Set(["fail","failed","error","blocked","rejected","aborted","unconvergeable","timeout"]);function r(e,t,n,r){let l=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Object.fromEntries(e.map(e=>[e,"pending"])),i={},s=new Set,d=null,c=Math.min(r,n.length-1);for(let e=0;e<=c;e+=1){var u,m;let r=n[e];if(i[r.node]=(null!=(u=i[r.node])?u:0)+1,o[r.node]=e===c&&l||null===(m=r.outcome)?"running":a.has(m.toLowerCase())?"failed":"passed",e>0){let a=n[e-1],l=function(e,t,n,a){var r;let l=e.filter(e=>e.from===t&&e.to===a);return 0===l.length?null:null!=(r=l.find(e=>null!==n&&e.outcomes.includes(n)))?r:l[0]}(t,a.node,a.outcome,r.node);l&&(s.add(l.id),e===c&&(d=l.id))}}return{nodeState:o,visits:i,takenEdges:s,activeEdge:d,cursor:c}}function l(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:900,r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:4e3,l=e[t],o=e[t+1];if(!l||!o)return a/n;let i=Date.parse(o.at)-Date.parse(l.at);return(Number.isFinite(i)?Math.min(r,Math.max(a,i/60)):a)/Math.max(1,n)}function o(e){let t=Date.parse(e);return Number.isFinite(t)?new Date(t+324e5).toISOString().slice(11,19):"—"}function i(e){if(null===e||!Number.isFinite(e)||e<0)return"—";if(e<1e3)return"".concat(Math.round(e),"ms");let t=Math.round(e/1e3);if(t<60)return"".concat(t,"초");let n=Math.floor(t/60);return n<60?"".concat(n,"분 ").concat(t%60,"초"):"".concat(Math.floor(n/60),"시간 ").concat(n%60,"분")}},20008:()=>{},30520:(e,t,n)=>{"use strict";function a(e,t){var n,a,r;let l=[...new Set(t.map(e=>e.node))],o=new Map;for(let e=1;e<t.length;e+=1){let r=t[e-1],l=null!=(n=o.get(r.node))?n:{},i=null!=(a=r.outcome)?a:"pass";Object.values(l).includes(t[e].node)||(l[l[i]?"".concat(i,"\xb7").concat(t[e].node):i]=t[e].node),o.set(r.node,l)}return{id:e,source:"core",editable:!1,entry_node:null!=(r=l[0])?r:"",terminal_nodes:t.length?[t.at(-1).node]:[],nodes:l.map(e=>({node_id:e,kind:"agent",recipe:"원장에서 본 노드",max_visits:t.filter(t=>t.node===e).length})),edges:[...o.entries()].map(e=>{let[t,n]=e;return{from:t,on:"outcome",map:n}})}}function r(e,t){let n=new Set(e.nodes.map(e=>e.node_id)),a=[...new Set(t.map(e=>e.node))].filter(e=>!n.has(e)),r=t=>e.edges.filter(e=>e.from===t).flatMap(e=>e.map?Object.values(e.map):e.to?[e.to]:[]),l=[];for(let e=1;e<t.length;e+=1){let n=t[e-1].node,a=t[e].node;r(n).includes(a)||l.some(e=>e.from===n&&e.to===a)||l.push({from:n,to:a})}return 0===a.length&&0===l.length?e:{...e,nodes:[...e.nodes,...a.map(e=>({node_id:e,kind:"agent",recipe:"원장에서 본 노드(선언 밖)",max_visits:t.filter(t=>t.node===e).length}))],edges:[...e.edges,...l]}}function l(e){switch(e){case"running":return"● 도는 중";case"completed":return"완료";case"failed":return"실패";case"abandoned":return"버려짐";case"cancelled":return"취소됨";default:return e}}function o(e,t){let n=e=>(function(e){var t;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:60,a=(null!=(t=null==e?void 0:e.split("\n").map(e=>e.trim()).find(Boolean))?t:"").replace(/\s*\[truncated[^\]]*\]\s*$/,"").replace(/(?:~|\.{0,2})?\/?(?:[\w.@-]+\/)+([\w.@-]+)/g,"$1");return a.length>n?"".concat(a.slice(0,n-1),"…"):a})(e),a=[...e].sort((e,t)=>{var n,a;return Date.parse(null!=(n=t.lastActivityTimestamp)?n:"")-Date.parse(null!=(a=e.lastActivityTimestamp)?a:"")||0}).map(e=>{var t;return{runId:e.runId,label:n(e.objective)||e.runId,live:!0,at:null!=(t=e.lastActivityTimestamp)?t:null}}),r=new Set(a.map(e=>e.runId));return[...a,...t.filter(e=>!r.has(e.runId)).map(e=>({runId:e.runId,label:n(e.objective)||e.runId,live:!1,at:e.endedAt}))]}n.d(t,{D6:()=>r,Q:()=>a,az:()=>l,wk:()=>o})},45602:(e,t,n)=>{"use strict";n.d(t,{EQ:()=>a,F8:()=>l,Fi:()=>r,Oc:()=>d,S0:()=>o,Vc:()=>s,ws:()=>i});let a="group:",r=e=>e.startsWith(a);function l(e){let t=new Map;for(let n of e.nodes){let e="string"==typeof n.group?n.group.trim():"";e&&t.set(n.node_id,e)}return t}function o(e){return[...new Set(l(e).values())]}function i(e,t){let n=l(e),r=e=>{let r=n.get(e);return r&&t.has(r)?"".concat(a).concat(r):e};if(![...n.values()].some(e=>t.has(e)))return{graph:e,resolve:r};let o=[],i=new Set;for(let t of e.nodes){let a=r(t.node_id);if(i.has(a))continue;if(i.add(a),a===t.node_id){o.push(t);continue}let l=n.get(t.node_id),s=e.nodes.filter(e=>n.get(e.node_id)===l);o.push({node_id:a,kind:"subgraph",recipe:"묶음 \xb7 노드 ".concat(s.length,"개"),max_visits:Math.max(...s.map(e=>e.max_visits)),group:l})}let s=[];for(let t of e.edges){let e=r(t.from);if(t.map){let n={};for(let[a,l]of Object.entries(t.map)){let t=r(l);t!==e&&(n[a]=t)}Object.keys(n).length&&s.push({from:e,...t.on?{on:t.on}:{},map:n})}else if(t.to){let n=r(t.to);n!==e&&s.push({from:e,to:n})}}let d=[];for(let e of s){let t=d.find(t=>t.from===e.from&&!!t.map==!!e.map&&(e.map||t.to===e.to));if(!t){d.push(e.map?{...e,map:{...e.map}}:e);continue}if(e.map&&t.map)for(let[n,r]of Object.entries(e.map))n in t.map?t.map[n]===r||Object.values(t.map).includes(r)||(t.map["".concat(n,"\xb7").concat(r.replace(a,""))]=r):t.map[n]=r}let c=r(e.entry_node),u=[...new Set(e.terminal_nodes.map(r))];return{graph:{...e,entry_node:c,terminal_nodes:u,nodes:o,edges:d},resolve:r}}function s(e,t){let n=new Map;for(let l of e){var a;let e=t.get(l.id);!e||r(l.id)||n.set(e,[...null!=(a=n.get(e))?a:[],l])}return[...n.entries()].map(e=>{let[t,n]=e,a=Math.min(...n.map(e=>e.position.x)),r=Math.min(...n.map(e=>e.position.y)),l=Math.max(...n.map(e=>e.position.x+e.width)),o=Math.max(...n.map(e=>e.position.y+e.height));return{id:"box:".concat(t),group:t,members:n.map(e=>e.id),x:a-18,y:r-18-26,width:l-a+36,height:o-r+36+26}})}function d(e){return e.includes("running")?"running":e.includes("failed")?"failed":e.includes("passed")?"passed":"pending"}},52562:(e,t,n)=>{"use strict";n.d(t,{Bu:()=>s,Fq:()=>h,IU:()=>m,d1:()=>u,f_:()=>c,gL:()=>w,zZ:()=>d});var a=n(5758);let r=new Set(["pass","ok","passed","success","done","merged","approved"]),l=new Set(["fail","failed","error","blocked","rejected","aborted"]),o=new Set(["rework","retry","changes-requested"]),i=new Set(["fallback"]),s={pass:"var(--chart-2, #16a34a)",fail:"var(--destructive, #ef4444)",rework:"var(--chart-3, #f59e0b)",fallback:"var(--chart-4, #8b5cf6)",neutral:"var(--muted-foreground, #64748b)"},d={gold:"#D4AF37",flowDash:"3 14",dimNode:.22,dimEdge:.15,width:3};function c(e,t){return null===e?{}:e.edges.has(t)?{style:{stroke:d.gold,strokeWidth:d.width,strokeDasharray:d.flowDash},animated:!0}:{style:{opacity:d.dimEdge}}}function u(e,t){if(null===e)return null;let n=new Set([e]),a=new Set;for(let r of t)(r.from===e||r.to===e)&&(n.add(r.from===e?r.to:r.from),a.add(r.id));return{nodes:n,edges:a}}function m(e){let t=new Map;return e.forEach((e,n)=>{var a,r,l;let o="".concat(e.from,"\0").concat(e.to)+"\0"+("fallback"===e.family?"fallback":"regular"),i=t.get(o),s="fallback"===e.family?[e.outcome,...null!=(a=e.requires)?a:[]].filter((e,t,n)=>!!e&&n.indexOf(e)===t):e.outcome?[e.outcome]:[];if(i){for(let e of(i.indexes.push(n),s))i.outcomes.includes(e)||i.outcomes.push(e);if(null==(r=e.requires)?void 0:r.length)for(let t of(null!=i.requires||(i.requires=[]),e.requires))i.requires.includes(t)||i.requires.push(t)}else t.set(o,{id:"e".concat(n),from:e.from,to:e.to,outcomes:s,indexes:[n],...e.family?{family:e.family}:{},...(null==(l=e.requires)?void 0:l.length)?{requires:[...e.requires]}:{}})}),[...t.values()]}function p(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e=>e;return e.length?e.map(t).join(" \xb7 "):null}function x(e){let t=0;for(let n of e)t+=n.charCodeAt(0)>11904?1.7:1;return{width:Math.ceil(7.2*t+14),height:20}}function h(e,t){var n,r,l,o;let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=null!=(n=i.flow)?n:"horizontal",d=e.map(e=>e.id),c=new Set(d),u=m(t.filter(e=>c.has(e.from)&&c.has(e.to)&&e.from!==e.to)),h=function(e,t,n){var a;let r=new Map;for(let e of t)r.set(e.from,[...null!=(a=r.get(e.from))?a:[],e.to]);let l=new Map,o=new Set,i=t=>{let n=[{id:t,next:0}];for(l.set(t,1);n.length;){var a;let t=n[n.length-1],i=null!=(a=r.get(t.id))?a:[];if(t.next>=i.length){l.set(t.id,2),n.pop();continue}let s=i[t.next++],d=l.get(s);1===d?o.add("".concat(t.id,"\0").concat(s)):void 0===d&&e.includes(s)&&(l.set(s,1),n.push({id:s,next:0}))}};for(let t of n&&e.includes(n)?[n,...e.filter(e=>e!==n)]:[...e])l.has(t)||i(t);return o}(d,u,i.entry),b=u.filter(e=>!h.has("".concat(e.from,"\0").concat(e.to))),v=Math.max(0,...b.map(e=>{let t=p(e.outcomes,i.rename);return t?x(t)["horizontal"===s?"width":"height"]:0})),w=new a.Ay.graphlib.Graph;for(let t of(w.setDefaultEdgeLabel(()=>({})),w.setGraph({rankdir:"horizontal"===s?"LR":"TB",ranksep:Math.max("horizontal"===s?80:70,v+28),nodesep:"horizontal"===s?70:60,marginx:null!=(r=i.margin)?r:40,marginy:null!=(l=i.margin)?l:40}),e))w.setNode(t.id,{width:t.width,height:t.height});for(let e of b)w.setEdge(e.from,e.to);a.Ay.layout(w);let k=new Map;for(let t of e){let e=w.node(t.id);k.set(t.id,e?{x:Math.round(e.x-t.width/2),y:Math.round(e.y-t.height/2)}:{x:0,y:0})}return void 0!==i.lineLength&&function(e,t,n,a,r,l){let o="vertical"===n,i=e=>o?e.y:e.x,s=e=>o?e.x:e.y,d=e=>o?e.height:e.width,c=[...new Set(e.map(e=>i(t.get(e.id))+d(e)/2))].sort((e,t)=>e-t),u=new Map,m=[];for(let e of c)(!m.length||e-m[m.length-1]>4)&&m.push(e);for(let n of e){let e=i(t.get(n.id))+d(n)/2;u.set(n.id,m.findIndex(t=>4>=Math.abs(t-e)||t>e))}if(m.length<2)return;let p=(m[m.length-1]-m[0])/(m.length-1),x=Math.max(2,Math.floor((a-2*l-Math.max(...e.map(d)))/p)+1);if(m.length<=x)return;let h=Math.min(...e.map(e=>s(t.get(e.id)))),b=Math.max(...e.map(e=>s(t.get(e.id))+(o?e.width:e.height)))-h+Math.max(y+40,2*f+g*(r+1));for(let n of e){let e=t.get(n.id),a=Math.max(0,u.get(n.id)),r=Math.floor(a/x),l=(a-a%x)*p,i=o?{x:e.x+r*b,y:e.y-l}:{x:e.x-l,y:e.y+r*b};t.set(n.id,{x:Math.round(i.x),y:Math.round(i.y)})}}(e,k,s,i.lineLength,h.size,null!=(o=i.margin)?o:40),k}let f=24,g=26,y=80;function b(e,t,n,a,r){let l=1-r;return{x:l*l*l*e.x+3*l*l*r*t.x+3*l*r*r*n.x+r*r*r*a.x,y:l*l*l*e.y+3*l*l*r*t.y+3*l*r*r*n.y+r*r*r*a.y}}function v(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,a=Math.min(e.x+e.width/2,t.x+t.width/2)-Math.max(e.x-e.width/2,t.x-t.width/2)+n,r=Math.min(e.y+e.height/2,t.y+t.height/2)-Math.max(e.y-e.height/2,t.y-t.height/2)+n;return a>0&&r>0?a*r:0}function w(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a="vertical"===n.flow,s=e.map(e=>a?{id:e.id,x:e.y,y:e.x,w:e.height,h:e.width}:{id:e.id,x:e.x,y:e.y,w:e.width,h:e.height}),d=new Map(s.map(e=>[e.id,e])),c=e=>a?{x:e.y,y:e.x}:e,u=[];for(let e of t){let t=d.get(e.from),n=d.get(e.to);if(!t||!n||t===n)continue;let a=n.x+1<=t.x||n.x<t.x+t.w&&n.x+n.w>t.x,r=a?"back":"forward";if(!a){let e={x:t.x+t.w,y:t.y+t.h/2},a={x:n.x,y:n.y+n.h/2},l=Math.max(30,(a.x-e.x)/2),o=Array.from({length:17},(t,n)=>b(e,{x:e.x+l,y:e.y},{x:a.x-l,y:a.y},a,n/16)),i=e=>o.some((t,n)=>n>0&&function(e,t,n){let a=n.x-8,r=n.x+n.w+8,l=n.y-8,o=n.y+n.h+8,i=0,s=1,d=t.x-e.x,c=t.y-e.y;for(let[t,n]of[[-d,e.x-a],[d,r-e.x],[-c,e.y-l],[c,o-e.y]]){if(0===t){if(n<0)return!1;continue}let e=n/t;if(t<0){if(e>s)return!1;e>i&&(i=e)}else{if(e<i)return!1;e<s&&(s=e)}}return!0}(o[n-1],t,e));s.some(e=>e!==t&&e!==n&&i(e))&&(r="detour")}let l=Math.min(t.x,n.x),o=Math.max(t.x+t.w,n.x+n.w);u.push({...e,kind:r,s:t,t:n,lane:0,laneY:0,lo:l,hi:o})}for(let e of["back","detour"]){let t=u.filter(t=>t.kind===e).sort((e,t)=>e.hi-e.lo-(t.hi-t.lo)||e.indexes[0]-t.indexes[0]),n=[];for(let a of t){let t=0;for(;n.some(e=>e.lane===t&&e.lo<a.hi+18&&a.lo<e.hi+18);)t++;a.lane=t,n.push(a);let r=function(e,t,n,a){let r="back"===a&&n.y>=t.y+t.h,l=r?t.y:Math.min(t.y,n.y),o=r?t.y+t.h:Math.max(t.y+t.h,n.y+n.h),i=new Set([t,n].filter(e=>!r||e===t));for(let t=!0;t;)for(let a of(t=!1,e))i.has(a)||r&&a.y>=n.y||a.y<o+y&&a.y+a.h>l-y&&(i.add(a),l=Math.min(l,a.y),o=Math.max(o,a.y+a.h),t=!0);return[...i]}(s.filter(e=>e.x<a.hi&&e.x+e.w>a.lo),a.s,a.t,e);if(a.laneY="back"===e?Math.max(...r.map(e=>e.y+e.h))+f+t*g:Math.min(...r.map(e=>e.y))-f-t*g,"back"===e)for(;;){let e=s.find(e=>e!==a.s&&e!==a.t&&e.x<a.hi&&e.x+e.w>a.lo&&a.laneY>e.y-8&&a.laneY<e.y+e.h+8);if(e){a.laneY=e.y+e.h+f;continue}if(n.some(e=>e!==a&&e.laneY===a.laneY)){a.laneY+=g;continue}break}}}let m=new Map,h=(e,t)=>"forward"===e.kind?"s"===t?e.t.y+e.t.h/2:e.s.y+e.s.h/2:e.laneY;for(let e of s)for(let t of["s","t"]){let n=u.filter(n=>n[t]===e).sort((e,n)=>h(e,t)-h(n,t));n.forEach((a,r)=>m.set("".concat(e.id,"|").concat(t,"|").concat(a.id),e.y+e.h*(r+1)/(n.length+1)))}let w=u.map(e=>{var t,a;let s,d,u,{s:h,t:f}=e;if("back"===e.kind){let t=m.get("".concat(h.id,"|s|").concat(e.id)),n=m.get("".concat(f.id,"|t|").concat(e.id)),a=18+8*e.lane,r=h.x+h.w+a,l=f.x-a;s=[{x:h.x+h.w,y:t},{x:r,y:t},{x:r,y:e.laneY},{x:l,y:e.laneY},{x:l,y:n},{x:f.x,y:n}],u=[.5,.35,.65,.2,.8,.1,.9].map(t=>({x:r+(l-r)*t,y:e.laneY}))}else{let t=m.get("".concat(h.id,"|s|").concat(e.id)),n=m.get("".concat(f.id,"|t|").concat(e.id)),a={x:h.x+h.w,y:t},r={x:f.x,y:n};if("detour"===e.kind)s=[a,{x:a.x+18,y:t},{x:a.x+18,y:e.laneY},{x:r.x-18,y:e.laneY},{x:r.x-18,y:n},r],u=[.5,.35,.65,.2,.8].map(t=>({x:a.x+18+(r.x-a.x-36)*t,y:e.laneY}));else{let e=Math.max(30,(r.x-a.x)/2),t={x:a.x+e,y:a.y},n={x:r.x-e,y:r.y};s=Array.from({length:17},(e,l)=>b(a,t,n,r,l/16)),u=[.5,.4,.6,.3,.7,.22,.78].map(e=>b(a,t,n,r,e));let l=[a,t,n,r].map(c);d="M ".concat(l[0].x," ").concat(l[0].y," C ").concat(l[1].x," ").concat(l[1].y,", ").concat(l[2].x," ").concat(l[2].y,", ").concat(l[3].x," ").concat(l[3].y)}}let g=s.map(c);null!=d||(d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;if(e.length<2)return"";let n="M ".concat(e[0].x," ").concat(e[0].y);for(let a=1;a<e.length-1;a++){let r=e[a-1],l=e[a],o=e[a+1],i=Math.hypot(l.x-r.x,l.y-r.y),s=Math.hypot(o.x-l.x,o.y-l.y),d=Math.min(t,i/2,s/2);if(d<=.5){n+=" L ".concat(l.x," ").concat(l.y);continue}let c={x:l.x-(l.x-r.x)/i*d,y:l.y-(l.y-r.y)/i*d},u={x:l.x+(o.x-l.x)/s*d,y:l.y+(o.y-l.y)/s*d};n+=" L ".concat(c.x," ").concat(c.y," Q ").concat(l.x," ").concat(l.y," ").concat(u.x," ").concat(u.y)}let a=e[e.length-1];return"".concat(n," L ").concat(a.x," ").concat(a.y)}(g));let y=d,v=p(e.outcomes,n.rename);return{id:e.id,from:e.from,to:e.to,outcomes:e.outcomes,indexes:e.indexes,...e.requires?{requires:e.requires}:{},kind:e.kind,lane:e.lane,family:null!=(t=e.family)?t:0===(a=e.outcomes).length?"neutral":"fallback"===a[0]||a.every(e=>i.has(e))?"fallback":a.every(e=>r.has(e))?"pass":a.every(e=>l.has(e))?"fail":a.every(e=>o.has(e))?"rework":"neutral",points:g,path:y,label:v?{text:v,x:0,y:0,...x(v)}:null,candidates:u.map(c)}}),k=e.map(e=>({x:e.x+e.width/2,y:e.y+e.height/2,width:e.width,height:e.height})),j=[];for(let e of[...w].sort((e,t)=>("forward"!==e.kind)-("forward"!==t.kind))){if(!e.label)continue;let t=null,n=(a?e.label.width:e.label.height)+6,r=[1,-1,2,-2,3,-3,4,-4,6,-6].flatMap(t=>e.candidates.slice(0,3).map(e=>a?{x:e.x+t*n,y:e.y}:{x:e.x,y:e.y+t*n}));for(let n of[...e.candidates,...r]){let a={x:Math.round(n.x),y:Math.round(n.y),width:e.label.width,height:e.label.height},r=k.reduce((e,t)=>e+4*v(a,t,2),0)+j.reduce((e,t)=>e+v(a,t),0);if((!t||r<t.cost)&&(t={box:a,cost:r}),0===r)break}Object.assign(e.label,{x:t.box.x,y:t.box.y}),j.push(t.box)}return w.map(e=>{let{candidates:t,...n}=e;return n})}},57695:(e,t,n)=>{"use strict";n.d(t,{EP:()=>r,RC:()=>i,hl:()=>s,rl:()=>o});var a=n(52562);let r=190,l="horizontal";function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[...e].sort((e,t)=>e.seq-t.seq),n=t.filter(e=>"node-added"===e.type);return{orderedEvents:t.filter(e=>"node-added"===e.type||"unit-expanded"===e.type||"unit-collapsed"===e.type||"edge-rerouted"===e.type),addedNodes:n,depthChanges:t.filter(e=>"unit-expanded"===e.type||"unit-collapsed"===e.type),repairs:t.filter(e=>"edge-rerouted"===e.type),handNodes:n.filter(e=>"hand"===e.kind)}}function i(e,t){return[...t].sort((e,t)=>e.seq-t.seq).reduce((e,t)=>{if("node-added"===t.type)return e.nodes.some(e=>e.node_id===t.node)?e:{...e,nodes:[...e.nodes,{node_id:t.node,kind:t.kind,recipe:"runtime:".concat(t.decider),max_visits:1}]};if("edge-rerouted"!==t.type)return e;let n=!1,a=e.edges.map(e=>{if(e.from!==t.from)return e;if(e.map&&"$default"!==t.outcome&&Object.hasOwn(e.map,t.outcome))return n=!0,{...e,map:{...e.map,[t.outcome]:t.to}};if(e.map&&"$absent"!==t.was){var a;let r=null==(a=Object.entries(e.map).find(e=>{let[,n]=e;return n===t.was}))?void 0:a[0];if(r)return n=!0,{...e,map:{...e.map,[r]:t.to}}}return e.to===t.was&&"$default"===t.outcome?(n=!0,{...e,to:t.to}):e});if(n)return{...e,edges:a};if("$absent"!==t.was)return e;let r="$default"!==t.outcome?a.map(e=>e.from===t.from&&e.map?{...e,map:{...e.map,[t.outcome]:t.to}}:e):a;return"$default"!==t.outcome&&r.some((e,t)=>e!==a[t])?{...e,edges:r}:{...e,edges:[...a,{from:t.from,to:t.to}]}},e)}function s(e){let t=e.edges.flatMap(e=>{var t;let n=e.map?Object.entries(e.map).map(t=>{let[n,a]=t;return{from:e.from,to:a,outcome:n}}):e.to?[{from:e.from,to:e.to,outcome:""}]:[],a=new Set(n.map(e=>e.to));return[...n,...(null!=(t=e.fallback)?t:[]).filter(e=>!a.has(e.node)).map(t=>({from:e.from,to:t.node,outcome:"fallback",family:"fallback",requires:t.requires}))]}),n=e=>t.filter(t=>t.from===e&&t.outcome&&"fallback"!==t.family).map(e=>e.outcome),o=e.nodes.map(e=>({id:e.node_id,width:r,height:n(e.node_id).length?86:70})),i=(0,a.Fq)(o,t,{entry:e.entry_node,flow:l,margin:25}),s=o.map(e=>{var t;return{...e,...null!=(t=i.get(e.id))?t:{x:0,y:0}}}),d=(0,a.gL)(s,(0,a.IU)(t),{flow:l}).map(e=>({id:e.id,source:e.from,target:e.to,sourceHandle:"out",targetHandle:"in",type:"tidy",...e.label?{label:e.label.text}:{},data:{route:e}})),c=new Set(e.terminal_nodes);return{nodes:e.nodes.map((t,a)=>({id:t.node_id,position:{x:s[a].x,y:s[a].y},data:{label:t.node_id,kind:t.kind,recipe:t.recipe,maxVisits:t.max_visits,entry:e.entry_node===t.node_id,terminal:c.has(t.node_id),outcomes:n(t.node_id),inputHandles:["in"],outputHandles:["out"],height:s[a].height}})),edges:d}}},74099:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var a=n(68063);let r={pending:"var(--border, #94a3b8)",running:"#f59e0b",passed:"var(--chart-2, #16a34a)",failed:"var(--destructive, #ef4444)"},l={pending:"대기",running:"도는 중",passed:"통과",failed:"실패"},o={groupBox:function(e){let{data:t}=e,n=r[t.state];return(0,a.jsx)("div",{"data-testid":"group-box-".concat(t.group),"data-state":t.state,className:"pointer-events-none rounded-xl border-2 border-dashed ".concat(t.unrecorded?"opacity-60":""),style:{width:t.width,height:t.height,borderColor:n,background:"color-mix(in srgb, ".concat(n," 6%, transparent)")},children:(0,a.jsxs)("div",{className:"pointer-events-auto flex items-center gap-2 px-2.5 py-1 text-xs",children:[(0,a.jsx)("span",{className:"font-mono font-semibold text-text-primary",children:t.group}),(0,a.jsx)("span",{className:"text-[11px]",style:{color:n},children:t.unrecorded?"기록 없음":l[t.state]}),(0,a.jsx)("span",{className:"text-[11px] text-text-tertiary",children:void 0===t.stepCount?"노드 ".concat(t.memberCount):"걸음 ".concat(t.stepCount)}),t.onCollapse&&(0,a.jsx)("button",{type:"button",onClick:e=>{var n;e.stopPropagation(),null==(n=t.onCollapse)||n.call(t,t.group)},className:"nodrag ml-auto rounded border border-border bg-background px-1.5 text-[11px] text-text-secondary",children:"접기"})]})})}}},84002:(e,t,n)=>{"use strict";n.d(t,{M1:()=>d,Qj:()=>c,tI:()=>s});var a=n(68063),r=n(66231),l=n(95033),o=n(26924);let i=(0,r.createContext)(null);function s(e){let{client:t,queryClient:n,defaultStaleTimeMs:s,children:d}=e,c=(0,r.useMemo)(()=>null!=n?n:new l.E({defaultOptions:{queries:{staleTime:null!=s?s:2e3,refetchOnWindowFocus:!1}}}),[n,s]);return(0,a.jsx)(i.Provider,{value:t,children:(0,a.jsx)(o.Ht,{client:c,children:d})})}function d(){let e=(0,r.useContext)(i);if(!e)throw Error("useNexusClient must be used within <NexusProvider>");return e}function c(){return(0,r.useContext)(i)}},96134:()=>{}}]);
|
package/apps/pwa/out/_next/static/chunks/{4199.ce86b281fd0a60b7.js → 8442.2f09ca969d631615.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8442],{58442:(e,t,n)=>{n.r(t),n.d(t,{PtyLiveView:()=>m});var r=n(68063),s=n(66231),l=n(97073),a=n(48153),c=n(87345);n(58349);let o={failures:0,stopped:!1,message:null,screen:null},u=/^\[screen \d+x\d+ cursor=[^\]\n]*\]\r?\n/;function i(e){let t=e.replace(u,"").replace(/\r?\n/g,"\r\n");return"\x1b[H\x1b[2J".concat(t)}function d(e,t){var n;if(e.stopped)return e;if((null==t?void 0:t.status)==="success"&&"string"==typeof t.screen)return{failures:0,stopped:!1,message:null,screen:i(t.screen)};if((null==t?void 0:t.status)==="unknown-pty")return{...e,stopped:!0,message:"PTY 가 끝났습니다"};if((null==t?void 0:t.status)==="denied")return{...e,failures:0,stopped:!0,message:t.reason||"화면 조회가 거부되었습니다"};let r=e.failures+1;return(null==t?void 0:t.status)!=="owner-unreachable"?{...e,failures:r,stopped:r>=5,message:(null==t?void 0:t.reason)||"화면 조회에 실패했습니다"}:{...e,failures:r,stopped:r>=5,message:r>=5?"소유 프로세스에 닿지 않습니다":null!=(n=t.reason)?n:null}}var p=n(82167);function m(e){var t,n;let{terminal:u,client:m,onClose:f}=e,h=(0,s.useRef)(null),v=(0,s.useRef)(null),g=(0,s.useRef)(null),b=(0,s.useRef)(o),[w,x]=(0,s.useState)(!1),[y,k]=(0,s.useState)(!1),T=(0,s.useRef)(!1),[R,S]=(0,s.useState)(null),[P,M]=(0,s.useState)("connecting");return(0,s.useEffect)(()=>{var e,t,n;let r;if(!h.current)return;let s={closed:!1,owned:!1,accepting:!1,queue:Promise.resolve(),takeover:null,release:null};g.current=s,T.current=!1,k(!1);let f={sourceRoot:null==(e=u.sourceRoot)?void 0:e.dbPath},w=new l.B({cols:110,rows:40,fontFamily:'"JetBrainsMono Nerd Font", "JetBrains Mono", monospace',fontSize:13,theme:{background:"#0d0c08",foreground:"#e9e3d4",cursor:"#e9e3d4"},cursorBlink:!1,disableStdin:!0,scrollback:0,allowProposedApi:!0});w.loadAddon(new a.c),w.loadAddon(new c.I),w.unicode.activeVersion="11",w.open(h.current),w.write("\x1b[?25l"),v.current=w,b.current=o,x(!1),S(null);let y=w.onData(e=>{if(!s.accepting||s.closed||!e)return;let t=e.startsWith("\x1b")||"\r"===e||"\n"===e||""===e||" "===e||"\x03"===e;s.queue=s.queue.then(async()=>{try{let n=t?await m.sendTerminalKey(u.id,e,f):await m.sendTerminalText(u.id,e,f);if(s.closed)return;"success"!==n.status&&("denied"===n.status&&(s.accepting=!1,x(!1),w.options.disableStdin=!0),S(n.reason||"입력 실패: ".concat(n.status)))}catch(e){s.closed||S("입력 전송 실패: ".concat(String(e)))}})}),R=h.current,P=!1,j=e=>{s.queue=s.queue.then(async()=>{try{var t;if(!m.sendTerminalMouse)return;let n=await m.sendTerminalMouse(u.id,e,f);if(s.closed||"success"===n.status)return;if((t=n.reason)&&/mouse mode is off|\?1006/i.test(t)){"click"!==e.kind||P||(P=!0,S("이 앱은 마우스를 받지 않는다(마우스 모드 꺼짐) — 키보드로 조작하세요."));return}S(n.reason||"마우스 전송 실패: ".concat(n.status))}catch(e){s.closed||S("마우스 전송 실패: ".concat(String(e)))}})},E=e=>{var t;let n=null==(t=w.element)?void 0:t.querySelector(".xterm-screen");return n?function(e,t,n,r,s){if(!(n.width>0)||!(n.height>0)||r<1||s<1)return null;let l=Math.floor((e-n.left)/n.width*r)+1,a=Math.floor((t-n.top)/n.height*s)+1;return{x:Math.min(r,Math.max(1,l)),y:Math.min(s,Math.max(1,a))}}(e.clientX,e.clientY,n.getBoundingClientRect(),w.cols,w.rows):null},N=()=>s.accepting&&!s.closed&&"none"===w.modes.mouseTrackingMode,Y=e=>{var t;if(!N())return;let n=0===(t=e.button)?"left":1===t?"middle":2===t?"right":null,r=E(e);n&&r&&j({...r,kind:"click",button:n})},q=e=>{if(!N()||0===e.deltaY)return;let t=E(e);t&&(e.preventDefault(),e.stopPropagation(),j({...t,kind:e.deltaY<0?"scroll-up":"scroll-down"}))};null==(t=R.addEventListener)||t.call(R,"mousedown",Y,{capture:!0}),null==(n=R.addEventListener)||n.call(R,"wheel",q,{passive:!1,capture:!0});let L=async()=>{var e,t,n,l;if(!s.closed&&(e=!document.hidden,t=b.current,e&&!t.stopped)){try{let e=await m.snapshotTerminal(u.id,{ansi:!0,sourceRoot:f.sourceRoot});if(s.closed)return;let t=d(b.current,e);b.current=t,null!==t.screen&&"success"===e.status&&w.write(t.screen+"\x1b[?25l"),S(t.message)}catch(t){if(s.closed)return;let e=d(b.current,null);b.current=e,S(e.message)}s.closed||(n=!document.hidden,l=b.current,!n||l.stopped)||(r=setTimeout(()=>{L()},800))}},z=!m.streamTerminal,B=null,C=()=>{!m.streamTerminal||s.closed||z||(M("connecting"),B=m.streamTerminal(u.id,{sourceRoot:f.sourceRoot},e=>{s.closed||("mode"===e.type?M("bytes"===e.mode?"stream-bytes":"stream-screen"):"reset"===e.type||"screen"===e.type?(w.write(i(e.screen)+"\x1b[?25l"),S(null)):"data"===e.type?w.write(e.chunk):"end"===e.type?(S("PTY 가 끝났습니다"),b.current={...b.current,stopped:!0}):"status"===e.type&&S("화면 조회: ".concat(e.status)))},e=>{s.closed||((0,p.cY)("pwa.terminal.stream-fallback",{id:u.id,reason:e}),z=!0,M("poll"),L())}))},_=()=>{if(r&&clearTimeout(r),r=void 0,!z)return void(document.hidden?(null==B||B(),B=null):B||b.current.stopped||C());document.hidden||s.closed||b.current.stopped||L()};return document.addEventListener("visibilitychange",_),z?(M("poll"),L()):C(),()=>{var e,t;s.closed=!0,s.accepting=!1,r&&clearTimeout(r),null==B||B(),document.removeEventListener("visibilitychange",_),y.dispose(),null==(e=R.removeEventListener)||e.call(R,"mousedown",Y,{capture:!0}),null==(t=R.removeEventListener)||t.call(R,"wheel",q,{capture:!0}),(async()=>{if(await s.takeover,s.release&&await s.release,s.owned){await s.queue;try{let e=await m.controlTerminal(u.id,"release",f);"success"===e.status&&(s.owned=!1)}catch(e){}}})(),g.current===s&&(g.current=null),v.current=null,w.dispose()}},[m,u.id,null==(t=u.sourceRoot)?void 0:t.dbPath]),(0,r.jsxs)("section",{className:"flex h-full min-h-0 flex-col bg-[#0d0c08]","aria-label":"PTY 라이브 화면",children:[(0,r.jsxs)("header",{className:"flex flex-wrap items-center gap-3 border-b border-zinc-700 px-3 py-2 text-sm text-zinc-100",children:[(0,r.jsx)("span",{className:"font-mono",children:u.id}),(0,r.jsx)("span",{children:null!=(n=u.kind)?n:"PTY"}),(0,r.jsx)("span",{children:w?"입력 가능":"읽기 전용"}),(0,r.jsx)("span",{className:"rounded bg-zinc-800 px-1.5 py-0.5 font-mono text-[10px] text-zinc-300","data-pty-feed":P,title:"화면을 받는 방식",children:"stream-bytes"===P?"● 실시간":"stream-screen"===P?"● 실시간(화면)":"poll"===P?"폴링 0.8s":"연결 중"}),(0,r.jsx)("button",{type:"button",disabled:y,onClick:()=>{(e=>{var t;let n=g.current;if(!n||n.closed||T.current)return;T.current=!0,k(!0);let r={sourceRoot:null==(t=u.sourceRoot)?void 0:t.dbPath};"release"===e&&(n.accepting=!1,v.current&&(v.current.options.disableStdin=!0));let s=(async()=>{try{"release"===e&&await n.queue;let t=await m.controlTerminal(u.id,e,r);if("success"===t.status&&(n.owned="takeover"===e),n.closed)return;"success"===t.status?(n.accepting="takeover"===e,x(n.accepting),v.current&&(v.current.options.disableStdin=!n.accepting),S(null)):("release"===e&&(n.accepting=n.owned,v.current&&(v.current.options.disableStdin=!n.accepting)),S(t.reason||("denied"===t.status?"제어 거부: 권한이 없습니다":"제어 실패: ".concat(t.status))))}catch(t){n.closed||("release"===e&&(n.accepting=n.owned,v.current&&(v.current.options.disableStdin=!n.accepting)),S("제어 요청 실패: ".concat(String(t))))}finally{n.closed||(T.current=!1,k(!1))}})();"takeover"===e?n.takeover=s:n.release=s})(w?"release":"takeover")},children:w?"release":"takeover"}),(0,r.jsx)("button",{type:"button",onClick:f,"aria-label":"PTY 라이브 닫기",children:"닫기"})]}),R&&(0,r.jsx)("p",{role:"status",className:"px-3 py-1 text-amber-300",children:R}),(0,r.jsx)("div",{ref:h,className:"min-h-0 flex-1 overflow-auto","aria-label":"".concat(u.id," 화면")})]})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8445],{38445:(e,s,a)=>{a.d(s,{createRailroadAbnfServices:()=>c.s});var c=a(21066);a(50357)}}]);
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8447],{5310:(t,e,s)=>{s.d(e,{A:()=>a});var i=s(87718),r=s(6467),a=(0,i.K)((t,e)=>{let s;return"sandbox"===e&&(s=(0,r.Ltv)("#i"+t)),("sandbox"===e?(0,r.Ltv)(s.nodes()[0].contentDocument.body):(0,r.Ltv)("body")).select(`[id="${t}"]`)},"getDiagramElement")},43109:(t,e,s)=>{s.d(e,{CP:()=>d,Ck:()=>y,HT:()=>p,PB:()=>u,aC:()=>h,lC:()=>l,m:()=>c,tk:()=>o});var i=s(80650),r=s(87718),a=s(18392),n=s(6467),o=(0,r.K)((t,e)=>{let s=t.append("rect");if(s.attr("x",e.x),s.attr("y",e.y),s.attr("fill",e.fill),s.attr("stroke",e.stroke),s.attr("width",e.width),s.attr("height",e.height),e.name&&s.attr("name",e.name),e.rx&&s.attr("rx",e.rx),e.ry&&s.attr("ry",e.ry),void 0!==e.attrs)for(let t in e.attrs)s.attr(t,e.attrs[t]);return e.class&&s.attr("class",e.class),s},"drawRect"),l=(0,r.K)((t,e)=>{o(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},"drawBackgroundRect"),c=(0,r.K)((t,e)=>{let s=e.text.replace(i.H1," "),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.attr("class","legend"),r.style("text-anchor",e.anchor),e.class&&r.attr("class",e.class);let a=r.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(s),r},"drawText"),h=(0,r.K)((t,e,s,i)=>{let r=t.append("image");r.attr("x",e),r.attr("y",s);let n=(0,a.J)(i);r.attr("xlink:href",n)},"drawImage"),d=(0,r.K)((t,e,s,i)=>{let r=t.append("use");r.attr("x",e),r.attr("y",s);let n=(0,a.J)(i);r.attr("xlink:href",`#${n}`)},"drawEmbeddedImage"),u=(0,r.K)(()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),"getNoteRect"),p=(0,r.K)(()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0}),"getTextObj"),y=(0,r.K)(()=>{let t=(0,n.Ltv)(".mermaidTooltip");return t.empty()&&(t=(0,n.Ltv)("body").append("div").attr("class","mermaidTooltip").style("opacity",0).style("position","absolute").style("text-align","center").style("max-width","200px").style("padding","2px").style("font-size","12px").style("background","#ffffde").style("border","1px solid #333").style("border-radius","2px").style("pointer-events","none").style("z-index","100")),t},"createTooltip")},48447:(t,e,s)=>{s.d(e,{diagram:()=>tc});var i=s(5310),r=s(92777),a=s(73863);s(86394);var n=s(43109);s(65060),s(89709),s(20675),s(60793),s(90454),s(76555),s(20643);var o=s(22280),l=s(75622),c=s(80650),h=s(62424),d=s(87718),u=s(6467),p=s(22775),y=function(){var t=(0,d.K)(function(t,e,s,i){for(s=s||{},i=t.length;i--;s[t[i]]=e);return s},"o"),e=[1,2],s=[1,3],i=[1,4],r=[2,4],a=[1,9],n=[1,11],o=[1,16],l=[1,17],c=[1,18],h=[1,19],u=[1,33],p=[1,20],y=[1,21],g=[1,22],f=[1,23],m=[1,24],S=[1,26],k=[1,27],b=[1,28],T=[1,29],_=[1,30],E=[1,31],x=[1,32],D=[1,35],$=[1,36],C=[1,37],v=[1,38],w=[1,34],I=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],L=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],A=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],R={trace:(0,d.K)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,d.K)(function(t,e,s,i,r,a,n){var o=a.length-1;switch(r){case 3:return i.setRootDoc(a[o]),a[o];case 4:this.$=[];break;case 5:"nl"!=a[o]&&(a[o-1].push(a[o]),this.$=a[o-1]);break;case 6:case 7:case 12:this.$=a[o];break;case 8:this.$="nl";break;case 13:let l=a[o-1];l.description=i.trimColon(a[o]),this.$=l;break;case 14:this.$={stmt:"relation",state1:a[o-2],state2:a[o]};break;case 15:let c=i.trimColon(a[o]);this.$={stmt:"relation",state1:a[o-3],state2:a[o-1],description:c};break;case 19:this.$={stmt:"state",id:a[o-3],type:"default",description:"",doc:a[o-1]};break;case 20:var h=a[o],d=a[o-2].trim();if(a[o].match(":")){var u=a[o].split(":");h=u[0],d=[d,u[1]]}this.$={stmt:"state",id:h,type:"default",description:d};break;case 21:this.$={stmt:"state",id:a[o-3],type:"default",description:a[o-5],doc:a[o-1]};break;case 22:this.$={stmt:"state",id:a[o],type:"fork"};break;case 23:this.$={stmt:"state",id:a[o],type:"join"};break;case 24:this.$={stmt:"state",id:a[o],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[o-1].trim(),note:{position:a[o-2].trim(),text:a[o].trim()}};break;case 29:this.$=a[o].trim(),i.setAccTitle(this.$);break;case 30:case 31:this.$=a[o].trim(),i.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:a[o-3],url:a[o-2],tooltip:a[o-1]};break;case 33:this.$={stmt:"click",id:a[o-3],url:a[o-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:a[o-1].trim(),classes:a[o].trim()};break;case 36:this.$={stmt:"style",id:a[o-1].trim(),styleClass:a[o].trim()};break;case 37:this.$={stmt:"applyClass",id:a[o-1].trim(),styleClass:a[o].trim()};break;case 38:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[o].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:a[o-2].trim(),classes:[a[o].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:s,6:i},{1:[3]},{3:5,4:e,5:s,6:i},{3:6,4:e,5:s,6:i},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:n,8:8,9:10,10:12,11:13,12:14,13:15,16:o,17:l,19:c,22:h,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:D,52:$,53:C,54:v,57:w},t(I,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:o,17:l,19:c,22:h,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:D,52:$,53:C,54:v,57:w},t(I,[2,7]),t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12],{14:[1,40],15:[1,41]}),t(I,[2,16]),{18:[1,42]},t(I,[2,18],{20:[1,43]}),{23:[1,44]},t(I,[2,22]),t(I,[2,23]),t(I,[2,24]),t(I,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(I,[2,28]),{34:[1,49]},{36:[1,50]},t(I,[2,31]),{13:51,24:u,57:w},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(L,[2,44],{58:[1,56]}),t(L,[2,45],{58:[1,57]}),t(I,[2,38]),t(I,[2,39]),t(I,[2,40]),t(I,[2,41]),t(I,[2,6]),t(I,[2,13]),{13:58,24:u,57:w},t(I,[2,17]),t(A,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(I,[2,29]),t(I,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(I,[2,14],{14:[1,71]}),{4:a,5:n,8:8,9:10,10:12,11:13,12:14,13:15,16:o,17:l,19:c,21:[1,72],22:h,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:D,52:$,53:C,54:v,57:w},t(I,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(I,[2,34]),t(I,[2,35]),t(I,[2,36]),t(I,[2,37]),t(L,[2,46]),t(L,[2,47]),t(I,[2,15]),t(I,[2,19]),t(A,r,{7:78}),t(I,[2,26]),t(I,[2,27]),{5:[1,79]},{5:[1,80]},{4:a,5:n,8:8,9:10,10:12,11:13,12:14,13:15,16:o,17:l,19:c,21:[1,81],22:h,24:u,25:p,26:y,27:g,28:f,29:m,32:25,33:S,35:k,37:b,38:T,41:_,45:E,48:x,51:D,52:$,53:C,54:v,57:w},t(I,[2,32]),t(I,[2,33]),t(I,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:(0,d.K)(function(t,e){if(e.recoverable)this.trace(t);else{var s=Error(t);throw s.hash=e,s}},"parseError"),parse:(0,d.K)(function(t){var e=this,s=[0],i=[],r=[null],a=[],n=this.table,o="",l=0,c=0,h=0,u=a.slice.call(arguments,1),p=Object.create(this.lexer),y={};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(y[g]=this.yy[g]);p.setInput(t,y),y.lexer=p,y.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;a.push(f);var m=p.options&&p.options.ranges;function S(){var t;return"number"!=typeof(t=i.pop()||p.lex()||1)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof y.parseError?this.parseError=y.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,d.K)(function(t){s.length=s.length-2*t,r.length=r.length-t,a.length=a.length-t},"popStack"),(0,d.K)(S,"lex");for(var k,b,T,_,E,x,D,$,C,v={};;){if(T=s[s.length-1],this.defaultActions[T]?_=this.defaultActions[T]:(null==k&&(k=S()),_=n[T]&&n[T][k]),void 0===_||!_.length||!_[0]){var w="";for(x in C=[],n[T])this.terminals_[x]&&x>2&&C.push("'"+this.terminals_[x]+"'");w=p.showPosition?"Parse error on line "+(l+1)+":\n"+p.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(l+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(w,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:f,expected:C})}if(_[0]instanceof Array&&_.length>1)throw Error("Parse Error: multiple actions possible at state: "+T+", token: "+k);switch(_[0]){case 1:s.push(k),r.push(p.yytext),a.push(p.yylloc),s.push(_[1]),k=null,b?(k=b,b=null):(c=p.yyleng,o=p.yytext,l=p.yylineno,f=p.yylloc,h>0&&h--);break;case 2:if(D=this.productions_[_[1]][1],v.$=r[r.length-D],v._$={first_line:a[a.length-(D||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(D||1)].first_column,last_column:a[a.length-1].last_column},m&&(v._$.range=[a[a.length-(D||1)].range[0],a[a.length-1].range[1]]),void 0!==(E=this.performAction.apply(v,[o,c,l,y,_[1],r,a].concat(u))))return E;D&&(s=s.slice(0,-1*D*2),r=r.slice(0,-1*D),a=a.slice(0,-1*D)),s.push(this.productions_[_[1]][0]),r.push(v.$),a.push(v._$),$=n[s[s.length-2]][s[s.length-1]],s.push($);break;case 3:return!0}}return!0},"parse")};function N(){this.yy={}}return R.lexer={EOF:1,parseError:(0,d.K)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,d.K)(function(t,e){return this.yy=e||this.yy||{},this._input=t,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,d.K)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.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),t},"input"),unput:(0,d.K)(function(t){var e=t.length,s=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=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),s.length-1&&(this.yylineno-=s.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===i.length?this.yylloc.first_column:0)+i[i.length-s.length].length-s[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,d.K)(function(){return this._more=!0,this},"more"),reject:(0,d.K)(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,d.K)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,d.K)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,d.K)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,d.K)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,d.K)(function(t,e){var s,i,r;if(this.options.backtrack_lexer&&(r={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&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,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(t[0].length),this.matched+=t[0],s=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var a in r)this[a]=r[a];return!1},"test_match"),next:(0,d.K)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,s,i,r=this._currentRules(),a=0;a<r.length;a++)if((s=this._input.match(this.rules[r[a]]))&&(!e||s[0].length>e[0].length)){if(e=s,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(s,r[a])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===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,d.K)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,d.K)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,d.K)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,d.K)(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,d.K)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,d.K)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,d.K)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,d.K)(function(t,e,s,i){function r(){let s=e.yytext.indexOf("%%");if(0===s)return!1;if(s>0){let i=e.yytext.slice(0,s),r=e.yytext.slice(s);r&&t.lexer.unput(r),e.yytext=i}return!0}switch((0,d.K)(r,"processId"),s){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:case 43:return 51;case 5:case 44:return 52;case 6:case 45:return 53;case 7:case 46:return 54;case 8:case 78:return 5;case 9:case 10:case 11:case 12:case 57:case 63:break;case 13:case 33:return this.pushState("SCALE"),17;case 14:case 34:return 18;case 15:case 21:case 35:case 50:case 54:this.popState();break;case 16:return this.begin("acc_title"),33;case 17:return this.popState(),"acc_title_value";case 18:return this.begin("acc_descr"),35;case 19:return this.popState(),"acc_descr_value";case 20:this.begin("acc_descr_multiline");break;case 22:return"acc_descr_multiline_value";case 23:return this.pushState("CLASSDEF"),41;case 24:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 25:return this.popState(),this.pushState("CLASSDEFID"),42;case 26:return this.popState(),43;case 27:return this.pushState("CLASS"),48;case 28:return this.popState(),this.pushState("CLASS_STYLE"),49;case 29:return this.popState(),50;case 30:return this.pushState("STYLE"),45;case 31:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 32:return this.popState(),47;case 36:this.pushState("STATE");break;case 37:case 40:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 47:this.pushState("STATE_STRING");break;case 48:return this.pushState("STATE_ID"),"AS";case 49:case 65:if(!r())return;return this.popState(),"ID";case 51:return"STATE_DESCR";case 52:throw Error('Error: State name must be a single word. Found: "'+e.yytext.trim()+'"');case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 56:return this.popState(),21;case 58:return this.begin("NOTE"),29;case 59:return this.popState(),this.pushState("NOTE_ID"),59;case 60:return this.popState(),this.pushState("NOTE_ID"),60;case 61:this.popState(),this.pushState("FLOATING_NOTE");break;case 62:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 64:return"NOTE_TEXT";case 66:if(!r())return;return this.popState(),this.pushState("NOTE_TEXT"),24;case 67:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 68:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 69:case 70:return 6;case 71:return 16;case 72:return 57;case 73:if(!r())return;return 24;case 74:return e.yytext=e.yytext.trim(),14;case 75:return 15;case 76:return 28;case 77:return 58;case 79:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\w+\s+\w+.*?\{)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?\n\s*end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:(?:[^:\n;]|:[^:\n;])+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[10,11,12],inclusive:!1},struct:{rules:[10,11,12,23,27,30,36,43,44,45,46,56,57,58,72,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[65],inclusive:!1},FLOATING_NOTE:{rules:[62,63,64],inclusive:!1},NOTE_TEXT:{rules:[67,68],inclusive:!1},NOTE_ID:{rules:[66],inclusive:!1},NOTE:{rules:[59,60,61],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[32],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[31],inclusive:!1},CLASS_STYLE:{rules:[29],inclusive:!1},CLASS:{rules:[28],inclusive:!1},CLASSDEFID:{rules:[26],inclusive:!1},CLASSDEF:{rules:[24,25],inclusive:!1},acc_descr_multiline:{rules:[21,22],inclusive:!1},acc_descr:{rules:[19],inclusive:!1},acc_title:{rules:[17],inclusive:!1},SCALE:{rules:[14,15,34,35],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[49],inclusive:!1},STATE_STRING:{rules:[50,51],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[10,11,12,37,38,39,40,41,42,47,48,52,53,54,55],inclusive:!1},ID:{rules:[10,11,12],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,11,12,13,16,18,20,23,27,30,33,36,55,58,69,70,71,72,73,74,75,77,78,79],inclusive:!0}}},(0,d.K)(N,"Parser"),N.prototype=R,R.Parser=N,new N}();y.parser=y;var g="TB",f="state",m="root",S="relation",k="default",b="divider",T="fill:none",_="fill: #333",E="markdown",x="normal",D="rect",$="rectWithTitle",C="divider",v="roundedWithTitle",w="statediagram",I=`${w}-state`,L="transition",A=`${L} note-edge`,R=`${w}-note`,N=`${w}-cluster`,O=`${w}-cluster-alt`,K="parent",B="note",Y="----",F=`${Y}${B}`,P=`${Y}${K}`,G=new Map,W=0,j=0,M=new Map,z=(0,d.K)((t,e,s,i)=>{if(t===C&&s?.id!==void 0&&M.has(s.id)){let t=M.get(s.id);return M.set(e,t),t}let r=j++,a=i?void 0:r;return M.set(e,a),a},"colorSlotFor");function U(t="",e=0,s="",i=Y){let r=null!==s&&s.length>0?`${i}${s}`:"";return`state-${t}${r}-${e}`}(0,d.K)(U,"stateDomId");var H=(0,d.K)((t,e,s,i,r,a,n,o)=>{h.R.trace("items",e),e.forEach(e=>{switch(e.stmt){case f:case k:Q(t,e,s,i,r,a,n,o);break;case S:{Q(t,e.state1,s,i,r,a,n,o),Q(t,e.state2,s,i,r,a,n,o);let l="neo"===n,h={id:"edge"+W,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:l?"arrow_barb_neo":"arrow_barb",style:T,labelStyle:"",label:c.Y2.sanitizeText(e.description??"",(0,c.D7)()),arrowheadStyle:_,labelpos:"c",labelType:E,thickness:x,classes:L,look:n};r.push(h),W++}}})},"setupDoc"),X=(0,d.K)((t,e=g)=>{let s=e;if(t.doc)for(let e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir");function V(t,e,s){if(!e.id||"</join></fork>"===e.id||"</choice>"===e.id)return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(t=>{let i=s.get(t);i&&(e.cssCompiledStyles=[...e.cssCompiledStyles??[],...i.styles])}));let i=t.find(t=>t.id===e.id);i?Object.assign(i,e):t.push(e)}function J(t){return t?.classes?.join(" ")??""}function q(t){return t?.styles??[]}(0,d.K)(V,"insertOrUpdateNode"),(0,d.K)(J,"getClassesFromDbInfo"),(0,d.K)(q,"getStylesFromDbInfo");var Q=(0,d.K)((t,e,s,i,r,a,n,o)=>{let l=e.id,d=s.get(l),u=J(d),p=q(d),y=(0,c.D7)(),g=""!==u.trim()||p.length>0;if(h.R.info("dataFetcher parsedItem",e,d,p),"root"!==l){let s=D;!0===e.start?s="stateStart":!1===e.start&&(s="stateEnd"),e.type!==k&&(s=e.type),G.get(l)||G.set(l,{id:l,shape:s,description:c.Y2.sanitizeText(l,y),cssClasses:`${u} ${I}`,cssStyles:p});let d=G.get(l);e.description&&(Array.isArray(d.description)?(d.shape=$,d.description.push(e.description)):d.description?.length&&d.description.length>0?(d.shape=$,d.description===l?d.description=[e.description]:d.description=[d.description,e.description]):(d.shape=D,d.description=e.description),d.description=c.Y2.sanitizeTextOrArray(d.description,y)),d.description?.length===1&&d.shape===$&&("group"===d.type?d.shape=v:d.shape=D),!d.type&&e.doc&&(h.R.info("Setting cluster for XCX",l,X(e)),d.type="group",d.isGroup=!0,d.dir=X(e),d.shape=e.type===b?C:v,d.colorIndex=z(d.shape,l,t,g),d.cssClasses=`${d.cssClasses} ${N} ${a?O:""}`);let f={labelStyle:"",shape:d.shape,label:d.description,cssClasses:d.cssClasses,cssCompiledStyles:[],cssStyles:d.cssStyles,id:l,dir:d.dir,domId:U(l,W),type:d.type,isGroup:"group"===d.type,colorIndex:d.colorIndex,padding:8,rx:10,ry:10,look:n,labelType:"markdown"};if(f.shape===C&&(f.label=""),t&&"root"!==t.id&&(h.R.trace("Setting node ",l," to be child of its parent ",t.id),f.parentId=t.id),f.centerLabel=!0,e.note){let t={labelStyle:"",shape:"note",label:e.note.text,labelType:"markdown",cssClasses:R,cssStyles:[],cssCompiledStyles:[],id:l+F+"-"+W,domId:U(l,W,B),type:"node",isGroup:!1,padding:y.flowchart?.padding,look:n,position:e.note.position},s=l+P,a={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:d.cssClasses,cssStyles:[],id:l+P,domId:U(l,W,K),type:"group",isGroup:!0,padding:16,look:n,position:e.note.position};W++,a.id=s,t.parentId=s,V(i,a,o),V(i,t,o),V(i,f,o);let c=l,h=t.id;"left of"===e.note.position&&(c=t.id,h=l),r.push({id:c+"-"+h,start:c,end:h,arrowhead:"none",arrowTypeEnd:"",style:T,labelStyle:"",classes:A,pattern:"dashed",arrowheadStyle:_,labelpos:"c",labelType:E,thickness:x,look:n})}else V(i,f,o)}e.doc&&(h.R.trace("Adding nodes children "),H(e,e.doc,s,i,r,!a,n,o))},"dataFetcher"),Z=(0,d.K)(()=>{G.clear(),W=0,j=0,M.clear()},"reset"),tt=(0,d.K)((t,e=g)=>{if(!t.doc)return e;let s=e;for(let e of t.doc)"dir"===e.stmt&&(s=e.value);return s},"getDir"),te=(0,d.K)(function(t,e){return e.db.getClasses()},"getClasses"),ts=(0,d.K)(async function(t,e,s,n){h.R.info("REF0:"),h.R.info("Drawing state diagram (v2)",e);let{securityLevel:o,state:d,layout:u}=(0,c.D7)();n.db.extract(n.db.getRootDocV2());let p=n.db.getData(),y=(0,i.A)(e,o);p.type=n.type,p.layoutAlgorithm=(0,a.q7)(u),p.nodeSpacing=d?.nodeSpacing||50,p.rankSpacing=d?.rankSpacing||50,"neo"===(0,c.D7)().look?p.markers=["barbNeo"]:p.markers=["barb"],p.diagramId=e,await (0,a.XX)(p,y);try{("function"==typeof n.db.getLinks?n.db.getLinks():new Map).forEach((t,e)=>{let s,i="string"==typeof e?e:"string"==typeof e?.id?e.id:"",r=p.nodes.find(t=>t.id===i);if(!i)return void h.R.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(e));let a=y.node()?.querySelectorAll("g.node, g.rough-node");if(a?.forEach(t=>{let e=t.textContent?.trim();(t.id===r?.domId||e===i)&&(s=t)}),!s)return void h.R.warn("⚠️ Could not find node matching text:",i);let n=s.parentNode;if(!n)return void h.R.warn("⚠️ Node has no parent, cannot wrap:",i);let o=document.createElementNS("http://www.w3.org/2000/svg","a"),l=t.url.replace(/^"+|"+$/g,"");if(o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l),o.setAttribute("target","_blank"),t.tooltip){let e=t.tooltip.replace(/^"+|"+$/g,"");o.setAttribute("title",e),s.setAttribute("title",e)}n.replaceChild(o,s),o.appendChild(s),h.R.info("\uD83D\uDD17 Wrapped node in <a> tag for:",i,t.url)})}catch(t){h.R.error("❌ Error injecting clickable links:",t)}l._K.insertTitle(y,"statediagramTitleText",d?.titleTopMargin??25,n.db.getDiagramTitle()),(0,r.P)(y,8,w,d?.useMaxWidth??!0)},"draw"),ti={START_NODE:"[*]",START_TYPE:"start",END_NODE:"[*]",END_TYPE:"end",COLOR_KEYWORD:"color",FILL_KEYWORD:"fill",BG_FILL:"bgFill",STYLECLASS_SEP:","},tr=(0,d.K)(()=>new Map,"newClassesList"),ta=(0,d.K)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),tn=(0,d.K)(t=>JSON.parse(JSON.stringify(t)),"clone"),to=class{constructor(t){this.version=t,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=tr(),this.documents={root:ta()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.funs=[],this.getAccTitle=c.iN,this.setAccTitle=c.SV,this.getAccDescription=c.m7,this.setAccDescription=c.EI,this.setDiagramTitle=c.ke,this.getDiagramTitle=c.ab,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this),this.bindFunctions=this.bindFunctions.bind(this)}static{(0,d.K)(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(t){for(let e of(this.clear(!0),Array.isArray(t)?t:t.doc))switch(e.stmt){case f:this.addState(e.id.trim(),e.type,e.doc,e.description,e.note);break;case S:this.addRelation(e.state1,e.state2,e.description);break;case"classDef":this.addStyleClass(e.id.trim(),e.classes);break;case"style":this.handleStyleDef(e);break;case"applyClass":this.setCssClass(e.id.trim(),e.styleClass);break;case"click":this.addLink(e.id,e.url,e.tooltip)}let e=this.getStates(),s=(0,c.D7)();for(let t of(Z(),Q(void 0,this.getRootDocV2(),e,this.nodes,this.edges,!0,s.look,this.classes),this.nodes))if(Array.isArray(t.label)){if(t.description=t.label.slice(1),t.isGroup&&t.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${t.id}]`);t.label=t.label[0]}}handleStyleDef(t){let e=t.id.trim().split(","),s=t.styleClass.split(",");for(let t of e){let e=this.getState(t);if(!e){let s=t.trim();this.addState(s),e=this.getState(s)}e&&(e.styles=s.map(t=>t.replace(/;/g,"")?.trim()))}}setRootDoc(t){h.R.info("Setting root doc",t),this.rootDoc=t,1===this.version?this.extract(t):this.extract(this.getRootDocV2())}docTranslator(t,e,s){if(e.stmt===S){this.docTranslator(t,e.state1,!0),this.docTranslator(t,e.state2,!1);return}if(e.stmt===f&&(e.id===ti.START_NODE?(e.id=t.id+(s?"_start":"_end"),e.start=s):e.id=e.id.trim()),e.stmt!==m&&e.stmt!==f||!e.doc)return;let i=[],r=[];for(let t of e.doc)if(t.type===b){let e=tn(t);e.doc=tn(r),i.push(e),r=[]}else r.push(t);if(i.length>0&&r.length>0){let t={stmt:f,id:(0,l.$C)(),type:"divider",doc:tn(r)};i.push(tn(t)),e.doc=i}e.doc.forEach(t=>this.docTranslator(e,t,!0))}getRootDocV2(){return this.docTranslator({id:m,stmt:m},{id:m,stmt:m,doc:this.rootDoc},!0),{id:m,doc:this.rootDoc}}addState(t,e=k,s,i,r,a,n,o){let l=t?.trim();if(this.currentDocument.states.has(l)){let t=this.currentDocument.states.get(l);if(!t)throw Error(`State not found: ${l}`);t.doc||(t.doc=s),t.type||(t.type=e)}else h.R.info("Adding state ",l,i),this.currentDocument.states.set(l,{stmt:f,id:l,descriptions:[],type:e,doc:s,note:r,classes:[],styles:[],textStyles:[]});if(i&&(h.R.info("Setting state description",l,i),(Array.isArray(i)?i:[i]).forEach(t=>this.addDescription(l,t.trim()))),r){let t=this.currentDocument.states.get(l);if(!t)throw Error(`State not found: ${l}`);t.note=r,t.note.text=c.Y2.sanitizeText(t.note.text,(0,c.D7)())}a&&(h.R.info("Setting state classes",l,a),(Array.isArray(a)?a:[a]).forEach(t=>this.setCssClass(l,t.trim()))),n&&(h.R.info("Setting state styles",l,n),(Array.isArray(n)?n:[n]).forEach(t=>this.setStyle(l,t.trim()))),o&&(h.R.info("Setting state styles",l,n),(Array.isArray(o)?o:[o]).forEach(t=>this.setTextStyle(l,t.trim())))}clear(t){this.nodes=[],this.edges=[],this.funs=[this.setupToolTips.bind(this)],this.documents={root:ta()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=tr(),t||(this.links=new Map,(0,c.IU)())}getState(t){return this.currentDocument.states.get(t)}getStates(){return this.currentDocument.states}logDocuments(){h.R.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(t,e,s){this.links.set(t,{url:e,tooltip:s}),h.R.warn("Adding link",t,e,s)}getLinks(){return this.links}startIdIfNeeded(t=""){return t===ti.START_NODE?(this.startEndCount++,`${ti.START_TYPE}${this.startEndCount}`):t}startTypeIfNeeded(t="",e=k){return t===ti.START_NODE?ti.START_TYPE:e}endIdIfNeeded(t=""){return t===ti.END_NODE?(this.startEndCount++,`${ti.END_TYPE}${this.startEndCount}`):t}endTypeIfNeeded(t="",e=k){return t===ti.END_NODE?ti.END_TYPE:e}addRelationObjs(t,e,s=""){let i=this.startIdIfNeeded(t.id.trim()),r=this.startTypeIfNeeded(t.id.trim(),t.type),a=this.startIdIfNeeded(e.id.trim()),n=this.startTypeIfNeeded(e.id.trim(),e.type);this.addState(i,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.addState(a,n,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.currentDocument.relations.push({id1:i,id2:a,relationTitle:c.Y2.sanitizeText(s,(0,c.D7)())})}addRelation(t,e,s){if("object"==typeof t&&"object"==typeof e)this.addRelationObjs(t,e,s);else if("string"==typeof t&&"string"==typeof e){let i=this.startIdIfNeeded(t.trim()),r=this.startTypeIfNeeded(t),a=this.endIdIfNeeded(e.trim()),n=this.endTypeIfNeeded(e);this.addState(i,r),this.addState(a,n),this.currentDocument.relations.push({id1:i,id2:a,relationTitle:s?c.Y2.sanitizeText(s,(0,c.D7)()):void 0})}}addDescription(t,e){let s=this.currentDocument.states.get(t),i=e.startsWith(":")?e.replace(":","").trim():e;s?.descriptions?.push(c.Y2.sanitizeText(i,(0,c.D7)()))}cleanupLabel(t){return t.startsWith(":")?t.slice(2).trim():t.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(t,e=""){this.classes.has(t)||this.classes.set(t,{id:t,styles:[],textStyles:[]});let s=this.classes.get(t);e&&s&&e.split(ti.STYLECLASS_SEP).forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(ti.COLOR_KEYWORD).exec(t)){let t=e.replace(ti.FILL_KEYWORD,ti.BG_FILL).replace(ti.COLOR_KEYWORD,ti.FILL_KEYWORD);s.textStyles.push(t)}s.styles.push(e)})}getClasses(){return this.classes}setupToolTips(t){let e=(0,n.Ck)();(0,u.Ltv)(t).select("svg").selectAll("g.node, g.rough-node").on("mouseover",t=>{let s=(0,u.Ltv)(t.currentTarget),i=s.attr("title");if(null===i)return;let r=t.currentTarget?.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.style("left",window.scrollX+r.left+(r.right-r.left)/2+"px").style("top",window.scrollY+r.bottom+"px"),e.html(p.A.sanitize(i)),s.classed("hover",!0)}).on("mouseout",t=>{e.transition().duration(500).style("opacity",0),(0,u.Ltv)(t.currentTarget).classed("hover",!1)})}setCssClass(t,e){t.split(",").forEach(t=>{let s=this.getState(t);if(!s){let e=t.trim();this.addState(e),s=this.getState(e)}s?.classes?.push(e)})}setStyle(t,e){this.getState(t)?.styles?.push(e)}setTextStyle(t,e){this.getState(t)?.textStyles?.push(e)}bindFunctions(t){this.funs.forEach(e=>{e(t)})}getDirectionStatement(){return this.rootDoc.find(t=>"dir"===t.stmt)}getDirection(){return this.getDirectionStatement()?.value??"TB"}setDirection(t){let e=this.getDirectionStatement();e?e.value=t:this.rootDoc.unshift({stmt:"dir",value:t})}trimColon(t){return t.startsWith(":")?t.slice(1).trim():t.trim()}getData(){let t=(0,c.D7)();for(let e of this.nodes)e.wrappingWidth??=t.state?.wrappingWidth,e.isGroup||(e.minWidth??=t.state?.minNodeWidth);return{nodes:this.nodes,edges:this.edges,other:{},config:t,direction:tt(this.getRootDocV2())}}getConfig(){return(0,c.D7)().state}},tl=(0,d.K)(t=>{let{theme:e,bkgColorArray:s,borderColorArray:i}=t;if(!(0,o.P1)(e,i))return"";let r=(0,o.rq)(t.look),a=(0,o.Ic)(s),n="";for(let t=0;t<(0,o.Hu)(i);t++){let e=i[t],o=a?`fill: ${s[t%s.length]};`:"",l=`[data-look="${r}"][data-color-id="color-${t}"]`;n+=`
|
|
2
|
+
|
|
3
|
+
/* The title strip: \`rect.outer\` spans the whole composite and \`rect.inner\` covers
|
|
4
|
+
the body, so what stays visible of \`outer\` is the band behind the label. */
|
|
5
|
+
${l}.statediagram-cluster rect.outer {
|
|
6
|
+
stroke: ${e};
|
|
7
|
+
${o}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
${l}.statediagram-cluster rect.inner {
|
|
11
|
+
stroke: ${e};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/* Concurrency regions. Siblings of one composite share a slot, so a divided composite
|
|
15
|
+
reads as one thing split into parts rather than as several composites. */
|
|
16
|
+
${l}.statediagram-cluster rect.divider {
|
|
17
|
+
stroke: ${e};
|
|
18
|
+
${o}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* handDrawn draws the same container as roughjs shapes rather than plain rects, so it
|
|
22
|
+
needs its own rules. \`roundedWithTitle\` and \`divider\` name those groups \`outer\`,
|
|
23
|
+
\`inner\` and \`divider\` to match the classic branch, which is what lets these
|
|
24
|
+
discriminate -- a bare \`.statediagram-cluster path\` rule reached the body as well and
|
|
25
|
+
tinted the whole composite, losing \`compositeBackground\` and diverging from what
|
|
26
|
+
classic and neo do.
|
|
27
|
+
|
|
28
|
+
roughjs emits two paths per shape and marks them: the filled shape carries
|
|
29
|
+
\`stroke="none"\` and the sketched outline carries \`fill="none"\`. Splitting on that is
|
|
30
|
+
what keeps \`fill\` off the outline -- a rough outline is open squiggles, not a closed
|
|
31
|
+
region, so filling it produces smears -- and keeps \`stroke\` off the fill shape, which
|
|
32
|
+
would otherwise gain an edge it was drawn without. */
|
|
33
|
+
${l}.statediagram-cluster .outer path[stroke='none'] {
|
|
34
|
+
${o}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
${l}.statediagram-cluster .outer path[fill='none'] {
|
|
38
|
+
stroke: ${e};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/* No \`.inner\` rule on purpose. The body shape is left entirely alone under handDrawn,
|
|
42
|
+
where a rect's \`inner\` counterpart cannot be recoloured safely: roughjs draws a
|
|
43
|
+
hachure fill as *stroked* lines, so its fill paths carry \`fill="none"\` exactly like
|
|
44
|
+
the outline and no selector separates them. An \`.inner\` stroke rule therefore
|
|
45
|
+
repainted the hatching of every alt composite in the palette colour instead of
|
|
46
|
+
leaving it on \`altBackground\`. The container still reads as palette-coloured: the
|
|
47
|
+
\`outer\` shape spans the whole composite, so its outline already frames the body. */
|
|
48
|
+
|
|
49
|
+
/* Regions split the same way, which is why \`divider\` fills solid rather than taking
|
|
50
|
+
roughjs's default hachure -- see the note on that call. Hatched, both of its paths
|
|
51
|
+
carried \`fill="none"\` and these two rules degenerated: the tint matched nothing and
|
|
52
|
+
the border rule repainted the hatching. */
|
|
53
|
+
${l}.statediagram-cluster .divider path[stroke='none'] {
|
|
54
|
+
${o}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
${l}.statediagram-cluster .divider path[fill='none'] {
|
|
58
|
+
stroke: ${e};
|
|
59
|
+
}
|
|
60
|
+
`}return n},"genColor"),tc={parser:y,get db(){return new to(2)},renderer:{getClasses:te,draw:ts,getDir:tt},styles:(0,d.K)(t=>`
|
|
61
|
+
${tl(t)}
|
|
62
|
+
defs [id$="-barbEnd"] {
|
|
63
|
+
fill: ${t.transitionColor};
|
|
64
|
+
stroke: ${t.transitionColor};
|
|
65
|
+
}
|
|
66
|
+
g.stateGroup text {
|
|
67
|
+
fill: ${t.nodeBorder};
|
|
68
|
+
stroke: none;
|
|
69
|
+
font-size: 10px;
|
|
70
|
+
}
|
|
71
|
+
g.stateGroup text {
|
|
72
|
+
fill: ${t.textColor};
|
|
73
|
+
stroke: none;
|
|
74
|
+
font-size: 10px;
|
|
75
|
+
|
|
76
|
+
}
|
|
77
|
+
g.stateGroup .state-title {
|
|
78
|
+
font-weight: bolder;
|
|
79
|
+
fill: ${t.stateLabelColor};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
g.stateGroup rect {
|
|
83
|
+
fill: ${t.mainBkg};
|
|
84
|
+
stroke: ${t.nodeBorder};
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
g.stateGroup line {
|
|
88
|
+
stroke: ${t.lineColor};
|
|
89
|
+
stroke-width: ${t.strokeWidth||1};
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.transition {
|
|
93
|
+
stroke: ${t.transitionColor};
|
|
94
|
+
stroke-width: ${t.strokeWidth||1};
|
|
95
|
+
fill: none;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.stateGroup .composit {
|
|
99
|
+
fill: ${t.background};
|
|
100
|
+
border-bottom: 1px
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.stateGroup .alt-composit {
|
|
104
|
+
fill: #e0e0e0;
|
|
105
|
+
border-bottom: 1px
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.state-note {
|
|
109
|
+
stroke: ${t.noteBorderColor};
|
|
110
|
+
fill: ${t.noteBkgColor};
|
|
111
|
+
|
|
112
|
+
text {
|
|
113
|
+
fill: ${t.noteTextColor};
|
|
114
|
+
stroke: none;
|
|
115
|
+
font-size: 10px;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.stateLabel .box {
|
|
120
|
+
stroke: none;
|
|
121
|
+
stroke-width: 0;
|
|
122
|
+
fill: ${t.mainBkg};
|
|
123
|
+
opacity: 0.5;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.edgeLabel .label rect {
|
|
127
|
+
fill: ${t.labelBackgroundColor};
|
|
128
|
+
opacity: 0.5;
|
|
129
|
+
}
|
|
130
|
+
.edgeLabel {
|
|
131
|
+
background-color: ${t.edgeLabelBackground};
|
|
132
|
+
p {
|
|
133
|
+
background-color: ${t.edgeLabelBackground};
|
|
134
|
+
}
|
|
135
|
+
rect {
|
|
136
|
+
opacity: 0.5;
|
|
137
|
+
background-color: ${t.edgeLabelBackground};
|
|
138
|
+
fill: ${t.edgeLabelBackground};
|
|
139
|
+
}
|
|
140
|
+
text-align: center;
|
|
141
|
+
}
|
|
142
|
+
.edgeLabel .label text {
|
|
143
|
+
fill: ${t.transitionLabelColor||t.tertiaryTextColor};
|
|
144
|
+
}
|
|
145
|
+
.label div .edgeLabel {
|
|
146
|
+
color: ${t.transitionLabelColor||t.tertiaryTextColor};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.stateLabel text {
|
|
150
|
+
fill: ${t.stateLabelColor};
|
|
151
|
+
font-size: 10px;
|
|
152
|
+
font-weight: bold;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.node circle.state-start {
|
|
156
|
+
fill: ${t.specialStateColor};
|
|
157
|
+
stroke: ${t.specialStateColor};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.node .fork-join {
|
|
161
|
+
fill: ${t.specialStateColor};
|
|
162
|
+
stroke: ${t.specialStateColor};
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.node circle.state-end {
|
|
166
|
+
fill: ${t.innerEndBackground};
|
|
167
|
+
stroke: ${t.background};
|
|
168
|
+
stroke-width: 1.5
|
|
169
|
+
}
|
|
170
|
+
.end-state-inner {
|
|
171
|
+
fill: ${t.compositeBackground||t.background};
|
|
172
|
+
// stroke: ${t.background};
|
|
173
|
+
stroke-width: 1.5
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.node rect {
|
|
177
|
+
fill: ${t.stateBkg||t.mainBkg};
|
|
178
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
179
|
+
stroke-width: ${t.strokeWidth||1}px;
|
|
180
|
+
}
|
|
181
|
+
.node polygon {
|
|
182
|
+
fill: ${t.mainBkg};
|
|
183
|
+
stroke: ${t.stateBorder||t.nodeBorder};;
|
|
184
|
+
stroke-width: ${t.strokeWidth||1}px;
|
|
185
|
+
}
|
|
186
|
+
[id$="-barbEnd"] {
|
|
187
|
+
fill: ${t.lineColor};
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
.statediagram-cluster rect {
|
|
191
|
+
fill: ${t.compositeTitleBackground};
|
|
192
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
193
|
+
stroke-width: ${t.strokeWidth||1}px;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.cluster-label, .nodeLabel {
|
|
197
|
+
color: ${t.stateLabelColor};
|
|
198
|
+
// line-height: 1;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.statediagram-cluster rect.outer {
|
|
202
|
+
rx: 5px;
|
|
203
|
+
ry: 5px;
|
|
204
|
+
}
|
|
205
|
+
.statediagram-state .divider {
|
|
206
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.statediagram-state .title-state {
|
|
210
|
+
rx: 5px;
|
|
211
|
+
ry: 5px;
|
|
212
|
+
}
|
|
213
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
214
|
+
fill: ${t.compositeBackground||t.background};
|
|
215
|
+
}
|
|
216
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
217
|
+
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.statediagram-cluster .inner {
|
|
221
|
+
rx:0;
|
|
222
|
+
ry:0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
.statediagram-state rect.basic {
|
|
226
|
+
rx: 5px;
|
|
227
|
+
ry: 5px;
|
|
228
|
+
}
|
|
229
|
+
.statediagram-state rect.divider {
|
|
230
|
+
stroke-dasharray: 10,10;
|
|
231
|
+
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.note-edge {
|
|
235
|
+
stroke-dasharray: 5;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.statediagram-note rect {
|
|
239
|
+
fill: ${t.noteBkgColor};
|
|
240
|
+
stroke: ${t.noteBorderColor};
|
|
241
|
+
stroke-width: 1px;
|
|
242
|
+
rx: 0;
|
|
243
|
+
ry: 0;
|
|
244
|
+
}
|
|
245
|
+
.statediagram-note rect {
|
|
246
|
+
fill: ${t.noteBkgColor};
|
|
247
|
+
stroke: ${t.noteBorderColor};
|
|
248
|
+
stroke-width: 1px;
|
|
249
|
+
rx: 0;
|
|
250
|
+
ry: 0;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.statediagram-note text {
|
|
254
|
+
fill: ${t.noteTextColor};
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.statediagram-note .nodeLabel {
|
|
258
|
+
color: ${t.noteTextColor};
|
|
259
|
+
}
|
|
260
|
+
.statediagram .edgeLabel {
|
|
261
|
+
color: red; // ${t.noteTextColor};
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
[id$="-dependencyStart"], [id$="-dependencyEnd"] {
|
|
265
|
+
fill: ${t.lineColor};
|
|
266
|
+
stroke: ${t.lineColor};
|
|
267
|
+
stroke-width: ${t.strokeWidth||1};
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
.statediagramTitleText {
|
|
271
|
+
text-anchor: middle;
|
|
272
|
+
font-size: 18px;
|
|
273
|
+
fill: ${t.textColor};
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
[data-look="neo"].statediagram-cluster rect {
|
|
277
|
+
fill: ${t.mainBkg};
|
|
278
|
+
stroke: ${t.useGradient?"url("+t.svgId+"-gradient)":t.stateBorder||t.nodeBorder};
|
|
279
|
+
stroke-width: ${t.strokeWidth??1};
|
|
280
|
+
}
|
|
281
|
+
[data-look="neo"].statediagram-cluster rect.outer {
|
|
282
|
+
rx: ${t.radius}px;
|
|
283
|
+
ry: ${t.radius}px;
|
|
284
|
+
filter: ${t.dropShadow?t.dropShadow.replace("url(#drop-shadow)",`url(${t.svgId}-drop-shadow)`):"none"}
|
|
285
|
+
}
|
|
286
|
+
`,"getStyles"),init:(0,d.K)(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")}},92777:(t,e,s)=>{s.d(e,{P:()=>n});var i=s(80650),r=s(62424),a=s(87718),n=(0,a.K)((t,e,s,a)=>{t.attr("class",s);let{width:n,height:c,x:h,y:d}=o(t,e);(0,i.a$)(t,c,n,a);let u=l(h,d,n,c,e);t.attr("viewBox",u),r.R.debug(`viewBox configured: ${u} with padding: ${e}`)},"setupViewPortForSVG"),o=(0,a.K)((t,e)=>{let s=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*e,height:s.height+2*e,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),l=(0,a.K)((t,e,s,i,r)=>`${t-r} ${e-r} ${s} ${i}`,"createViewBox")}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8551],{78551:(e,s,t)=>{t.d(s,{parseTerminalSse:()=>n});function n(e){let s,t=[],n=e;for(;(s=n.indexOf("\n\n"))>=0;){let e,r=n.slice(0,s);n=n.slice(s+2);let p="message",o=[];for(let e of r.split("\n"))e.startsWith("event: ")?p=e.slice(7).trim():e.startsWith("data: ")&&o.push(e.slice(6));if(0===o.length)continue;try{e=JSON.parse(o.join("\n"))}catch(e){continue}let a=null!=e?e:{};"mode"===p&&("bytes"===a.mode||"screen"===a.mode)?t.push({type:"mode",mode:a.mode,..."number"==typeof a.pollMs?{pollMs:a.pollMs}:{}}):"reset"===p&&"string"==typeof a.screen?t.push({type:"reset",screen:a.screen}):"data"===p&&"string"==typeof e?t.push({type:"data",chunk:e}):"screen"===p&&"string"==typeof a.screen?t.push({type:"screen",screen:a.screen}):"status"===p&&"string"==typeof a.status?t.push({type:"status",status:a.status}):"end"===p&&t.push({type:"end",reason:"string"==typeof a.reason?a.reason:"end"})}return{events:t,rest:n}}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8635],{6247:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("square-kanban",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 7v7",key:"1x2jlm"}],["path",{d:"M12 7v4",key:"xawao1"}],["path",{d:"M16 7v9",key:"1hp2iy"}]])},19812:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("layers",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]])},20127:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("git-branch",[["path",{d:"M15 6a9 9 0 0 0-9 9V3",key:"1cii5b"}],["circle",{cx:"18",cy:"6",r:"3",key:"1h7g24"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}]])},21529:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("message-square",[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]])},31071:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},32341:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("lightbulb",[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]])},36824:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]])},37640:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("compass",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}]])},38060:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},38502:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("square-terminal",[["path",{d:"m7 11 2-2-2-2",key:"1lz0vl"}],["path",{d:"M11 13h4",key:"1p7l4v"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}]])},39029:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},47053:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("calendar-clock",[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]])},53656:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("telescope",[["path",{d:"m10.065 12.493-6.18 1.318a.934.934 0 0 1-1.108-.702l-.537-2.15a1.07 1.07 0 0 1 .691-1.265l13.504-4.44",key:"k4qptu"}],["path",{d:"m13.56 11.747 4.332-.924",key:"19l80z"}],["path",{d:"m16 21-3.105-6.21",key:"7oh9d"}],["path",{d:"M16.485 5.94a2 2 0 0 1 1.455-2.425l1.09-.272a1 1 0 0 1 1.212.727l1.515 6.06a1 1 0 0 1-.727 1.213l-1.09.272a2 2 0 0 1-2.425-1.455z",key:"m7xp4m"}],["path",{d:"m6.158 8.633 1.114 4.456",key:"74o979"}],["path",{d:"m8 21 3.105-6.21",key:"1fvxut"}],["circle",{cx:"12",cy:"13",r:"2",key:"1c1ljs"}]])},60757:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("palette",[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]])},65110:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("git-pull-request",[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M13 6h3a2 2 0 0 1 2 2v7",key:"1yeb86"}],["line",{x1:"6",x2:"6",y1:"9",y2:"21",key:"rroup"}]])},65900:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]])},66472:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]])},70457:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("layers-2",[["path",{d:"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z",key:"15q6uc"}],["path",{d:"m20 14.285 1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845",key:"byia6g"}]])},74267:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("sliders-vertical",[["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M12 21v-9",key:"17s77i"}],["path",{d:"M12 8V3",key:"13r4qs"}],["path",{d:"M17 16h4",key:"h1uq16"}],["path",{d:"M19 12V3",key:"o1uvq1"}],["path",{d:"M19 21v-5",key:"qua636"}],["path",{d:"M3 14h4",key:"bcjad9"}],["path",{d:"M5 10V3",key:"cb8scm"}],["path",{d:"M5 21v-7",key:"1w1uti"}]])},74475:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]])},83585:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},83644:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]])},98879:(e,t,a)=>{a.d(t,{A:()=>l});let l=(0,a(99619).A)("store",[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]])},99619:(e,t,a)=>{a.d(t,{A:()=>k});var l=a(66231);let r=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim()},y=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var h={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let c=(0,l.createContext)({}),d=(0,l.forwardRef)((e,t)=>{var a,y,d;let{color:k,size:i,strokeWidth:p,absoluteStrokeWidth:o,className:n="",children:s,iconNode:x,...u}=e,{size:A=24,strokeWidth:M=2,absoluteStrokeWidth:v=!1,color:m="currentColor",className:g=""}=null!=(a=(0,l.useContext)(c))?a:{},w=(null!=o?o:v)?24*Number(null!=p?p:M)/Number(null!=i?i:A):null!=p?p:M;return(0,l.createElement)("svg",{ref:t,...h,width:null!=(y=null!=i?i:A)?y:h.width,height:null!=(d=null!=i?i:A)?d:h.height,stroke:null!=k?k:m,strokeWidth:w,className:r("lucide",g,n),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(u)&&{"aria-hidden":"true"},...u},[...x.map(e=>{let[t,a]=e;return(0,l.createElement)(t,a)}),...Array.isArray(s)?s:[s]])}),k=(e,t)=>{let a=(0,l.forwardRef)((a,h)=>{let{className:c,...k}=a;return(0,l.createElement)(d,{ref:h,iconNode:t,className:r("lucide-".concat(y(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),c),...k})});return a.displayName=y(e),a}}}]);
|