@chaibuilder/pages 0.16.9 → 0.16.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{2AITGKQY-BGZjtYdS.cjs → 2AITGKQY-C0A7leVc.cjs} +1 -1
- package/dist/{2AITGKQY-BmDJ4ubt.js → 2AITGKQY-LtoYzpXb.js} +2 -2
- package/dist/{NCMVHL6D-CRT9RlLF.cjs → NCMVHL6D-BbCiXTDR.cjs} +1 -1
- package/dist/{NCMVHL6D-Dk4_u4LD.js → NCMVHL6D-BqKNTZhH.js} +2 -2
- package/dist/{ZDWCUMSJ-Ktzz_Tsg.js → ZDWCUMSJ-CudD-G3A.js} +1 -1
- package/dist/{ZDWCUMSJ-DEHPTCDq.cjs → ZDWCUMSJ-DEjMuvHw.cjs} +1 -1
- package/dist/{_arrayEach-CvixaZ6g.cjs → _arrayEach-7nw56Qes.cjs} +1 -1
- package/dist/{_arrayEach-BoWUuJyH.js → _arrayEach-CBNlJl8q.js} +1 -1
- package/dist/{add-new-language-page-BLNVUYeo.js → add-new-language-page-C3R8vwOA.js} +2 -2
- package/dist/{add-new-language-page-jU1kF1AN.cjs → add-new-language-page-CTZglguY.cjs} +1 -1
- package/dist/{add-new-page-DKyY5ZY7.cjs → add-new-page-ByCsABU-.cjs} +1 -1
- package/dist/{add-new-page-X9ytZJiO.js → add-new-page-Dn-jphFf.js} +1 -1
- package/dist/{ai-panel-content-ChDHNrKg.js → ai-panel-content-CF7-wrq0.js} +17 -17
- package/dist/ai-panel-content-VYS5Bn3a.cjs +1 -0
- package/dist/{ai-panel-default-lang-CxmSDvNu.js → ai-panel-default-lang-C_zJzkZ4.js} +110 -104
- package/dist/ai-panel-default-lang-D5vpT3cL.cjs +3 -0
- package/dist/{ai-panel-other-lang-CicrT1I-.js → ai-panel-other-lang-5Hdkr4eJ.js} +19 -19
- package/dist/ai-panel-other-lang-BFnghH5Z.cjs +1 -0
- package/dist/{ai-prompt-input-L_bHFj7w.cjs → ai-prompt-input-BXp7SxcJ.cjs} +1 -1
- package/dist/{ai-prompt-input-BOAqFpAN.js → ai-prompt-input-CrBweB8X.js} +1 -1
- package/dist/{ai-translation-prompt-23g3VfWP.cjs → ai-translation-prompt-BYubvAxO.cjs} +1 -1
- package/dist/{ai-translation-prompt-DoeWqKDZ.js → ai-translation-prompt-E3TEDobP.js} +1 -1
- package/dist/{arc-CEYgkAY6.js → arc-CuYV2Z4i.js} +1 -1
- package/dist/{arc-DQcgp6fe.cjs → arc-Dzs-yn9V.cjs} +1 -1
- package/dist/{architecture-U656AL7Q-D9ThnYW7.js → architecture-U656AL7Q-BFW69Rn1.js} +1 -1
- package/dist/{architecture-U656AL7Q-DXHyXosc.cjs → architecture-U656AL7Q-C1RBosC-.cjs} +1 -1
- package/dist/{architectureDiagram-VXUJARFQ-xhCIZb18.js → architectureDiagram-VXUJARFQ-C7E-J7qp.js} +4 -4
- package/dist/{architectureDiagram-VXUJARFQ-DJkKSCT6.cjs → architectureDiagram-VXUJARFQ-i1olysFf.cjs} +1 -1
- package/dist/{blockDiagram-VD42YOAC-zvZU2M01.js → blockDiagram-VD42YOAC-8bGFphRU.js} +4 -4
- package/dist/{blockDiagram-VD42YOAC-DqXdnG8y.cjs → blockDiagram-VD42YOAC-DG8nN7FI.cjs} +1 -1
- package/dist/{c4Diagram-YG6GDRKO-BpDWqFJi.js → c4Diagram-YG6GDRKO-C5vTWKII.js} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-COF9vwh9.cjs → c4Diagram-YG6GDRKO-ojLwrHAZ.cjs} +1 -1
- package/dist/{channel-DMpDH8Tt.js → channel-Cdlcq82Q.js} +1 -1
- package/dist/{channel-DshxF_w-.cjs → channel-D8SQrHOQ.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-DOrHz66s.cjs → chunk-4BX2VUAB-D0Nkkvke.cjs} +1 -1
- package/dist/{chunk-4BX2VUAB-DcXzX0k2.js → chunk-4BX2VUAB-kRXCJxGQ.js} +1 -1
- package/dist/{chunk-55IACEB6-MgFQOjd_.cjs → chunk-55IACEB6-Ya_-e5Gj.cjs} +1 -1
- package/dist/{chunk-55IACEB6-yEIZuruo.js → chunk-55IACEB6-xzVewFKl.js} +1 -1
- package/dist/{chunk-B4BG7PRW-Dw8okTHN.cjs → chunk-B4BG7PRW-C8Sj4Rta.cjs} +1 -1
- package/dist/{chunk-B4BG7PRW-Bm0X0FwP.js → chunk-B4BG7PRW-DG5qX3ch.js} +4 -4
- package/dist/{chunk-DI55MBZ5-CY8rQYfB.cjs → chunk-DI55MBZ5-C9He0Rku.cjs} +1 -1
- package/dist/{chunk-DI55MBZ5-Dzl4K5YZ.js → chunk-DI55MBZ5-CI_Ti_F2.js} +3 -3
- package/dist/{chunk-FMBD7UC4-DsnO3YB7.js → chunk-FMBD7UC4-9Wx_99-Q.js} +1 -1
- package/dist/{chunk-FMBD7UC4-DeDzgDPq.cjs → chunk-FMBD7UC4-Be12B01Q.cjs} +1 -1
- package/dist/{chunk-QN33PNHL-D0hZD6ce.cjs → chunk-QN33PNHL-B65aZfT8.cjs} +1 -1
- package/dist/{chunk-QN33PNHL-eCpJSQLd.js → chunk-QN33PNHL-qSV2Zj2E.js} +1 -1
- package/dist/{chunk-QZHKN3VN-0xh2Brzo.js → chunk-QZHKN3VN-Dcw61eWf.js} +1 -1
- package/dist/{chunk-QZHKN3VN-DPT45Qxb.cjs → chunk-QZHKN3VN-V8GIXVhC.cjs} +1 -1
- package/dist/{chunk-TZMSLE5B-B0DNnH2K.cjs → chunk-TZMSLE5B-BUsuXR8P.cjs} +1 -1
- package/dist/{chunk-TZMSLE5B-v44khzET.js → chunk-TZMSLE5B-De8BBIp6.js} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-DZwYP3Mp.cjs → classDiagram-2ON5EDUG-DD8PWOat.cjs} +1 -1
- package/dist/{classDiagram-v2-WZHVMYZB-CatlwrWr.js → classDiagram-2ON5EDUG-DYXMSnp5.js} +2 -2
- package/dist/{classDiagram-2ON5EDUG-DZwYP3Mp.cjs → classDiagram-v2-WZHVMYZB-DD8PWOat.cjs} +1 -1
- package/dist/{classDiagram-2ON5EDUG-CatlwrWr.js → classDiagram-v2-WZHVMYZB-DYXMSnp5.js} +2 -2
- package/dist/{cose-bilkent-S5V4N54A-oJ7CCCne.cjs → cose-bilkent-S5V4N54A-BzynRFve.cjs} +1 -1
- package/dist/{cose-bilkent-S5V4N54A-CdqaV_In.js → cose-bilkent-S5V4N54A-C0LrMYq9.js} +2 -2
- package/dist/{dagre-6UL2VRFP-DwJsczXN.cjs → dagre-6UL2VRFP-CJe6baLS.cjs} +1 -1
- package/dist/{dagre-6UL2VRFP-ylnuUwh7.js → dagre-6UL2VRFP-DK7rwVEg.js} +1 -1
- package/dist/{delete-page-D8gUlElz.js → delete-page-BtWRzpTh.js} +1 -1
- package/dist/{delete-page-CSuwBSa6.cjs → delete-page-CecAr8Ev.cjs} +1 -1
- package/dist/{diagram-PSM6KHXK-me6JcFi2.js → diagram-PSM6KHXK-C_A00ng9.js} +4 -4
- package/dist/{diagram-PSM6KHXK-DPPOo04u.cjs → diagram-PSM6KHXK-X4v5dsQ4.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-atRnaXRv.cjs → diagram-QEK2KX5R-rhfU6qwd.cjs} +1 -1
- package/dist/{diagram-QEK2KX5R-CfDWc-r0.js → diagram-QEK2KX5R-tTChUtDg.js} +3 -3
- package/dist/{diagram-S2PKOQOG-DvQBNtA7.js → diagram-S2PKOQOG-CJixlBq7.js} +3 -3
- package/dist/{diagram-S2PKOQOG-BzM_Yydz.cjs → diagram-S2PKOQOG-XyZUZk_b.cjs} +1 -1
- package/dist/{digital-asset-manager-C-tiZy6C.js → digital-asset-manager-CyBlpHrq.js} +1 -1
- package/dist/{digital-asset-manager-B1NMros3.cjs → digital-asset-manager-Y8YMABE1.cjs} +1 -1
- package/dist/{duplicate-page-BgR_Z5mB.js → duplicate-page-3Dv56tPR.js} +2 -2
- package/dist/{duplicate-page-DfsShaR3.cjs → duplicate-page-nGQAYVQc.cjs} +1 -1
- package/dist/{dynamic-page-selector-B9LvdmAM.cjs → dynamic-page-selector-B9XaZMxt.cjs} +1 -1
- package/dist/{dynamic-page-selector-B_Il05Tb.js → dynamic-page-selector-BapENUmp.js} +1 -1
- package/dist/{erDiagram-Q2GNP2WA-BvcqZzam.js → erDiagram-Q2GNP2WA-B1QcX93p.js} +4 -4
- package/dist/{erDiagram-Q2GNP2WA-CIz-zXL5.cjs → erDiagram-Q2GNP2WA-Up8_IT91.cjs} +1 -1
- package/dist/{flowDiagram-NV44I4VS-H3UO6GU6.cjs → flowDiagram-NV44I4VS-BJffdKk6.cjs} +1 -1
- package/dist/{flowDiagram-NV44I4VS-DNDFiS4P.js → flowDiagram-NV44I4VS-Dq0-N_i3.js} +5 -5
- package/dist/{ganttDiagram-LVOFAZNH-3uLir5Ok.cjs → ganttDiagram-LVOFAZNH-CndRZUwp.cjs} +1 -1
- package/dist/{ganttDiagram-LVOFAZNH-CuEk_EPv.js → ganttDiagram-LVOFAZNH-DCuouHg6.js} +3 -3
- package/dist/{gitGraph-F6HP7TQM-DnzvXoTf.cjs → gitGraph-F6HP7TQM-1lOuaCHS.cjs} +1 -1
- package/dist/{gitGraph-F6HP7TQM-BNgutOCt.js → gitGraph-F6HP7TQM-Bwgh2Tgj.js} +1 -1
- package/dist/{gitGraphDiagram-NY62KEGX-DJ--wipu.js → gitGraphDiagram-NY62KEGX-BFpRv9B4.js} +4 -4
- package/dist/{gitGraphDiagram-NY62KEGX-CpjW-tAs.cjs → gitGraphDiagram-NY62KEGX-Cc8RVspd.cjs} +1 -1
- package/dist/{index-D_4YaLhN.cjs → index-C1bimRWu.cjs} +2 -2
- package/dist/{index-CSOKPmkj.js → index-C_34q9jG.js} +17 -17
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/{info-NVLQJR56-nlYJye66.cjs → info-NVLQJR56-C3piIB8L.cjs} +1 -1
- package/dist/info-NVLQJR56-DxpWS9Ek.js +5 -0
- package/dist/{infoDiagram-ER5ION4S-BYBSnMk9.cjs → infoDiagram-ER5ION4S-DqXS6eRb.cjs} +1 -1
- package/dist/{infoDiagram-ER5ION4S-D1ovR6Sb.js → infoDiagram-ER5ION4S-iBX13SKY.js} +2 -2
- package/dist/{journeyDiagram-XKPGCS4Q-aab6wkCY.js → journeyDiagram-XKPGCS4Q-CIELmZlO.js} +4 -4
- package/dist/{journeyDiagram-XKPGCS4Q-D-YRkdmZ.cjs → journeyDiagram-XKPGCS4Q-CJX0XVNj.cjs} +1 -1
- package/dist/{json-diff-viewer-BafhQd3C.cjs → json-diff-viewer-B9kQEwcr.cjs} +1 -1
- package/dist/{json-diff-viewer-eh2Twply.js → json-diff-viewer-D2tCblUU.js} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-D_bnY8Es.cjs → kanban-definition-3W4ZIXB7-DnhdFt_Y.cjs} +1 -1
- package/dist/{kanban-definition-3W4ZIXB7-BDK6FtYy.js → kanban-definition-3W4ZIXB7-WK7l1gdb.js} +2 -2
- package/dist/{lang-panel-koRXBdpN.cjs → lang-panel-ClCAoE4L.cjs} +1 -1
- package/dist/{lang-panel-Dha1mI9s.js → lang-panel-CsA6jzez.js} +2 -2
- package/dist/{linear-CBvDLesx.cjs → linear-CdbmJ0kA.cjs} +1 -1
- package/dist/{linear-DmFX6iHR.js → linear-CebAae2s.js} +1 -1
- package/dist/{mark-as-template-DojgcJFD.js → mark-as-template-BsOhlLYx.js} +1 -1
- package/dist/{mark-as-template-BHkftF1C.cjs → mark-as-template-DUeGBAgn.cjs} +1 -1
- package/dist/{mermaid-parser.core-Df9eyFSv.cjs → mermaid-parser.core-DKJdj2_U.cjs} +2 -2
- package/dist/{mermaid-parser.core-Crve7Cv1.js → mermaid-parser.core-GitSl6co.js} +9 -9
- package/dist/{mermaid.core-e6RNUZK7.js → mermaid.core-3NhAXOzj.js} +31 -31
- package/dist/{mermaid.core-DY8gIrXk.cjs → mermaid.core-Cop_RRH4.cjs} +4 -4
- package/dist/{mindmap-definition-VGOIOE7T-BqZKJ_7z.js → mindmap-definition-VGOIOE7T-BOk1rAbB.js} +3 -3
- package/dist/{mindmap-definition-VGOIOE7T-CFYCEGsR.cjs → mindmap-definition-VGOIOE7T-cJsasSc0.cjs} +1 -1
- package/dist/{no-language-page-content-ZlibO6-a.js → no-language-page-content-DveHrqZF.js} +1 -1
- package/dist/{no-language-page-content-BjlCydsa.cjs → no-language-page-content-KLiCVKWw.cjs} +1 -1
- package/dist/{packet-BFZMPI3H-CmnL1d8H.cjs → packet-BFZMPI3H-B0uDu6gg.cjs} +1 -1
- package/dist/{packet-BFZMPI3H-BNOgRfy4.js → packet-BFZMPI3H-tS-CKRal.js} +1 -1
- package/dist/{page-creator-CYxW-uMk.js → page-creator-Du1tv5PL.js} +2 -2
- package/dist/{page-creator-D-HTXuwL.cjs → page-creator-I5z6OA-y.cjs} +1 -1
- package/dist/{page-lock-request-DIqND4Zp.js → page-lock-request-C_FjXr4-.js} +1 -1
- package/dist/{page-lock-request-ggTN32LL.cjs → page-lock-request-DSCZ2b9Y.cjs} +1 -1
- package/dist/{page-locked-by-dialog-Dv1QMUs2.js → page-locked-by-dialog-DAJlxcUt.js} +1 -1
- package/dist/{page-locked-by-dialog-DF_r3NKB.cjs → page-locked-by-dialog-Daefw0-2.cjs} +1 -1
- package/dist/{page-manager-new-iuNdn54Y.js → page-manager-new-BNk_0XVK.js} +2 -2
- package/dist/{page-manager-new-B7nEY5DJ.cjs → page-manager-new-DmA0Ka0c.cjs} +1 -1
- package/dist/{page-manager-search-and-filter-BuQLf3EG.cjs → page-manager-search-and-filter-DkR8sFPh.cjs} +1 -1
- package/dist/{page-manager-search-and-filter-Dvt-nBOL.js → page-manager-search-and-filter-heV_U9x0.js} +1 -1
- package/dist/{page-revisions-content-CR_65Pri.cjs → page-revisions-content-BIhjzS21.cjs} +1 -1
- package/dist/{page-revisions-content-DH30uwKy.js → page-revisions-content-BVg59skx.js} +2 -2
- package/dist/pie-7BOR55EZ-CcDzfu0_.js +5 -0
- package/dist/{pie-7BOR55EZ-CM2pRchz.cjs → pie-7BOR55EZ-CqYqIXXG.cjs} +1 -1
- package/dist/{pieDiagram-ADFJNKIX-DhRe-2Yk.js → pieDiagram-ADFJNKIX-CFfE-HG7.js} +4 -4
- package/dist/{pieDiagram-ADFJNKIX-C_B1s9Ov.cjs → pieDiagram-ADFJNKIX-DWVdC3zW.cjs} +1 -1
- package/dist/{publish-pages-content-fwqyxl_3.js → publish-pages-content-BhJ_uRxQ.js} +2 -2
- package/dist/{publish-pages-content-DOniOjSV.cjs → publish-pages-content-CKydxoZ_.cjs} +1 -1
- package/dist/{quadrantDiagram-AYHSOK5B-DSaDCScU.js → quadrantDiagram-AYHSOK5B-6xSOcCxL.js} +2 -2
- package/dist/{quadrantDiagram-AYHSOK5B-CrS56DWV.cjs → quadrantDiagram-AYHSOK5B-J0R9fpox.cjs} +1 -1
- package/dist/radar-NHE76QYJ-C4G7hzu6.js +5 -0
- package/dist/{radar-NHE76QYJ-CPX8AaYO.cjs → radar-NHE76QYJ-EznHmPEg.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-D60OatrS.cjs → requirementDiagram-UZGBJVZJ-DXq0f3Op.cjs} +1 -1
- package/dist/{requirementDiagram-UZGBJVZJ-CbpHc5TO.js → requirementDiagram-UZGBJVZJ-p2d3AnQ8.js} +3 -3
- package/dist/{sankeyDiagram-TZEHDZUN-DklD-Q91.cjs → sankeyDiagram-TZEHDZUN-CLBuuob-.cjs} +1 -1
- package/dist/{sankeyDiagram-TZEHDZUN-AFuyaZMZ.js → sankeyDiagram-TZEHDZUN-CbASga1e.js} +1 -1
- package/dist/{save-to-lib-DKP-iiLU.js → save-to-lib-Byfa7tCG.js} +1 -1
- package/dist/{save-to-lib-DmZbKkm9.cjs → save-to-lib-C3mx8iXu.cjs} +1 -1
- package/dist/{selected-block-display-BPkRbRtv.js → selected-block-display-CZ3zwgqL.js} +2 -2
- package/dist/{selected-block-display-CMhOKq0c.cjs → selected-block-display-GwQBADhp.cjs} +2 -2
- package/dist/{seo-panel-D1FyS42r.js → seo-panel-CrpYigIp.js} +1 -1
- package/dist/{seo-panel-l-VdkTzp.cjs → seo-panel-DxaEiunO.cjs} +1 -1
- package/dist/{sequenceDiagram-WL72ISMW-p_o77zn1.js → sequenceDiagram-WL72ISMW-3T2mzAhA.js} +3 -3
- package/dist/{sequenceDiagram-WL72ISMW-CotOH2Xj.cjs → sequenceDiagram-WL72ISMW-DmS_WEPR.cjs} +1 -1
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -1
- package/dist/{shared-json-ld-0VORoKPu.cjs → shared-json-ld-CcUhox6j.cjs} +1 -1
- package/dist/{shared-json-ld-jn36kQ1J.js → shared-json-ld-DczSLaqw.js} +1 -1
- package/dist/{slug-input-DPMG1pMZ.js → slug-input-CjagPxIn.js} +1 -1
- package/dist/{slug-input-CPHwulQv.cjs → slug-input-CsniBgYf.cjs} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-B1pfSzZB.cjs → stateDiagram-FKZM4ZOC-BmMX9umD.cjs} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-Ch8gd7OX.js → stateDiagram-FKZM4ZOC-D9lkyJcL.js} +2 -2
- package/dist/{stateDiagram-v2-4FDKWEC3-DCj4svbU.cjs → stateDiagram-v2-4FDKWEC3-BwQkMtRv.cjs} +1 -1
- package/dist/{stateDiagram-v2-4FDKWEC3-BDxmTUgh.js → stateDiagram-v2-4FDKWEC3-D0yq-_gB.js} +2 -2
- package/dist/{theme-panel-footer-DsZ67xQ8.cjs → theme-panel-footer-BYI0_a19.cjs} +1 -1
- package/dist/{theme-panel-footer-XREndTvO.js → theme-panel-footer-C-uSbeOf.js} +1 -1
- package/dist/{timeline-definition-IT6M3QCI-CK1EW7lG.cjs → timeline-definition-IT6M3QCI-Bi9IiYMF.cjs} +1 -1
- package/dist/{timeline-definition-IT6M3QCI-CmX-2kfr.js → timeline-definition-IT6M3QCI-LtkAohDp.js} +2 -2
- package/dist/{treemap-KMMF4GRG-D5Rm845j.cjs → treemap-KMMF4GRG-DAuFMsAI.cjs} +1 -1
- package/dist/{treemap-KMMF4GRG-B51FyMCU.js → treemap-KMMF4GRG-vy1iI8-N.js} +1 -1
- package/dist/{unmark-as-template-VHopisw3.js → unmark-as-template-CGKkAZPZ.js} +1 -1
- package/dist/{unmark-as-template-BB_2lvTh.cjs → unmark-as-template-GuUssCYI.cjs} +1 -1
- package/dist/{unpublish-page-DJKgb2OG.cjs → unpublish-page-D67IrGmd.cjs} +1 -1
- package/dist/{unpublish-page-Cq5OwCf-.js → unpublish-page-ow8e1CXO.js} +1 -1
- package/dist/{web-preview-CGX6_m7_.cjs → web-preview-Dm8A9E8S.cjs} +1 -1
- package/dist/{web-preview-BEYsnCo4.js → web-preview-NCfHy3pB.js} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-BXSS1azt.cjs → xychartDiagram-PRI3JC2R-d5V8_6ka.cjs} +1 -1
- package/dist/{xychartDiagram-PRI3JC2R-vt3IdmK_.js → xychartDiagram-PRI3JC2R-ggiHJXU7.js} +2 -2
- package/package.json +12 -12
- package/dist/ai-panel-content-Bi18WMi2.cjs +0 -1
- package/dist/ai-panel-default-lang-B6tYYmxI.cjs +0 -3
- package/dist/ai-panel-other-lang-B0umwiEm.cjs +0 -1
- package/dist/info-NVLQJR56-cQ8VboSE.js +0 -5
- package/dist/pie-7BOR55EZ-B4yrare5.js +0 -5
- package/dist/radar-NHE76QYJ-CN3oBECV.js +0 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as i, Fragment as $, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import { C as G, a as H, b as Q, R as X, c as Y, d as Z, T as L, M as ee, e as te, f as ne, S as
|
|
2
|
+
import { C as G, a as H, b as Q, R as X, c as Y, d as Z, T as L, M as ee, e as te, f as ne, S as oe, g as se } from "./selected-block-display-CZ3zwgqL.js";
|
|
3
3
|
import { useTranslation as ae, useSelectedBlock as re, useSelectedBlockIds as ce, useI18nBlocks as ie, useStreamMultipleBlocksProps as le } from "@chaibuilder/sdk";
|
|
4
4
|
import { Bot as de } from "lucide-react";
|
|
5
|
-
import { lazy as v, useRef as
|
|
6
|
-
const me = v(() => import("./ai-translation-prompt-
|
|
5
|
+
import { lazy as v, useRef as ue, useEffect as he, Suspense as B, Fragment as ge } from "react";
|
|
6
|
+
const me = v(() => import("./ai-translation-prompt-E3TEDobP.js")), fe = v(() => import("./ai-prompt-input-CrBweB8X.js")), we = ({
|
|
7
7
|
fetch: A,
|
|
8
|
-
input:
|
|
8
|
+
input: s,
|
|
9
9
|
messages: l,
|
|
10
10
|
setInput: g,
|
|
11
11
|
isLoading: a,
|
|
@@ -15,17 +15,17 @@ const me = v(() => import("./ai-translation-prompt-DoeWqKDZ.js")), fe = v(() =>
|
|
|
15
15
|
selectedLang: r,
|
|
16
16
|
currentBlock: M,
|
|
17
17
|
fallbackLang: C,
|
|
18
|
-
abortController:
|
|
18
|
+
abortController: u,
|
|
19
19
|
setAbortController: O,
|
|
20
20
|
setCurrentBlock: f,
|
|
21
|
-
selectedModel:
|
|
21
|
+
selectedModel: p = "google/gemini-2.5-pro",
|
|
22
22
|
onModelChange: P
|
|
23
23
|
}) => {
|
|
24
|
-
const { t: n } = ae(), I =
|
|
24
|
+
const { t: n } = ae(), I = ue(null), c = re(), [, D] = ce(), k = ie(), F = le(), j = () => {
|
|
25
25
|
var e;
|
|
26
26
|
(e = I.current) == null || e.scrollIntoView({ behavior: "smooth" });
|
|
27
27
|
};
|
|
28
|
-
|
|
28
|
+
he(() => {
|
|
29
29
|
j();
|
|
30
30
|
}, [l, a]);
|
|
31
31
|
const T = async (e, y, _) => {
|
|
@@ -34,11 +34,11 @@ const me = v(() => import("./ai-translation-prompt-DoeWqKDZ.js")), fe = v(() =>
|
|
|
34
34
|
const S = (e == null ? void 0 : e.toLowerCase()) === "translate", w = {
|
|
35
35
|
id: Date.now().toString(),
|
|
36
36
|
role: "user",
|
|
37
|
-
content:
|
|
37
|
+
content: se({
|
|
38
38
|
fallbackLang: C,
|
|
39
39
|
userInput: y || e,
|
|
40
40
|
language: r,
|
|
41
|
-
blocks: S ?
|
|
41
|
+
blocks: S ? k() : k(r)
|
|
42
42
|
}),
|
|
43
43
|
userMessage: y || e || n("Translate the content")
|
|
44
44
|
}, q = {
|
|
@@ -55,24 +55,24 @@ const me = v(() => import("./ai-translation-prompt-DoeWqKDZ.js")), fe = v(() =>
|
|
|
55
55
|
const x = await A({ body: { action: "ASK_AI", data: {
|
|
56
56
|
messages: [w],
|
|
57
57
|
initiator: S ? "TRANSLATE_CONTENT" : "UPDATE_CONTENT",
|
|
58
|
-
model: _ ||
|
|
58
|
+
model: _ || p
|
|
59
59
|
} }, streamResponse: !0 });
|
|
60
60
|
if (!x.ok)
|
|
61
61
|
throw new Error(n("Failed to get AI response"));
|
|
62
62
|
const R = (N = x.body) == null ? void 0 : N.getReader(), U = new TextDecoder();
|
|
63
|
-
let
|
|
63
|
+
let o = "";
|
|
64
64
|
if (!R) throw new Error(n("Response body is not readable"));
|
|
65
65
|
for (; ; ) {
|
|
66
66
|
const { done: K, value: V } = await R.read();
|
|
67
67
|
if (K)
|
|
68
68
|
break;
|
|
69
69
|
const W = U.decode(V, { stream: !0 });
|
|
70
|
-
|
|
70
|
+
o += W, m((h) => (h[h.length - 1].content = o, [...h]));
|
|
71
71
|
}
|
|
72
|
-
const J = JSON.parse(
|
|
72
|
+
const J = JSON.parse(o == null ? void 0 : o.replace("```json", "").replace("```", ""));
|
|
73
73
|
F(J);
|
|
74
74
|
} catch {
|
|
75
|
-
|
|
75
|
+
u == null || u.abort();
|
|
76
76
|
} finally {
|
|
77
77
|
d(!1), g(""), f(null);
|
|
78
78
|
}
|
|
@@ -106,19 +106,19 @@ const me = v(() => import("./ai-translation-prompt-DoeWqKDZ.js")), fe = v(() =>
|
|
|
106
106
|
)
|
|
107
107
|
] }) }),
|
|
108
108
|
/* @__PURE__ */ i("div", { className: "border-gray-200 pb-2", children: [
|
|
109
|
-
/* @__PURE__ */ t(
|
|
109
|
+
/* @__PURE__ */ t(oe, { onRemove: () => D([]), isLoading: a }),
|
|
110
110
|
/* @__PURE__ */ t(B, { fallback: /* @__PURE__ */ t("div", { children: n("Loading...") }), children: /* @__PURE__ */ t(
|
|
111
111
|
fe,
|
|
112
112
|
{
|
|
113
|
-
input:
|
|
113
|
+
input: s,
|
|
114
114
|
setInput: g,
|
|
115
115
|
onSend: T,
|
|
116
116
|
onStop: E,
|
|
117
117
|
isLoading: a,
|
|
118
118
|
selectedLang: r,
|
|
119
119
|
currentBlock: c || M,
|
|
120
|
-
disabled: (
|
|
121
|
-
selectedModel:
|
|
120
|
+
disabled: (s == null ? void 0 : s.length) === 0,
|
|
121
|
+
selectedModel: p,
|
|
122
122
|
onModelChange: P
|
|
123
123
|
}
|
|
124
124
|
) })
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),n=require("./selected-block-display-GwQBADhp.cjs"),a=require("@chaibuilder/sdk"),G=require("lucide-react"),o=require("react"),H=o.lazy(()=>Promise.resolve().then(()=>require("./ai-translation-prompt-BYubvAxO.cjs"))),Q=o.lazy(()=>Promise.resolve().then(()=>require("./ai-prompt-input-BXp7SxcJ.cjs"))),X=({fetch:B,input:c,messages:u,setInput:j,isLoading:i,handleStop:A,setMessages:k,setIsLoading:h,selectedLang:l,currentBlock:P,fallbackLang:q,abortController:x,setAbortController:E,setCurrentBlock:y,selectedModel:S="google/gemini-2.5-pro",onModelChange:M})=>{const{t:s}=a.useTranslation(),O=o.useRef(null),d=a.useSelectedBlock(),[,C]=a.useSelectedBlockIds(),T=a.useI18nBlocks(),I=a.useStreamMultipleBlocksProps(),D=()=>{var t;(t=O.current)==null||t.scrollIntoView({behavior:"smooth"})};o.useEffect(()=>{D()},[u,i]);const f=async(t,m,F)=>{var b;d&&y(d);const p=(t==null?void 0:t.toLowerCase())==="translate",R={id:Date.now().toString(),role:"user",content:n.getTranslationUserPrompt({fallbackLang:q,userInput:m||t,language:l,blocks:p?T():T(l)}),userMessage:m||t||s("Translate the content")},_={id:(Date.now()+1).toString(),role:"assistant",content:"Thinking...",isReasoning:!0,isStreaming:!0};h(!0);const z=new AbortController;E(z),k(w=>[...w,R,_]),h(!0);try{const N=await B({body:{action:"ASK_AI",data:{messages:[R],initiator:p?"TRANSLATE_CONTENT":"UPDATE_CONTENT",model:F||S}},streamResponse:!0});if(!N.ok)throw new Error(s("Failed to get AI response"));const v=(b=N.body)==null?void 0:b.getReader(),U=new TextDecoder;let r="";if(!v)throw new Error(s("Response body is not readable"));for(;;){const{done:K,value:V}=await v.read();if(K)break;const W=U.decode(V,{stream:!0});r+=W,k(g=>(g[g.length-1].content=r,[...g]))}const J=JSON.parse(r==null?void 0:r.replace("```json","").replace("```",""));I(J)}catch{x==null||x.abort()}finally{h(!1),j(""),y(null)}};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"py-2",children:e.jsx(o.Suspense,{fallback:e.jsx("div",{children:s("Loading...")}),children:e.jsx(H,{isLoading:i,selectedBlock:d,selectedLang:l,onClick:f})})}),e.jsx(n.Conversation,{children:e.jsxs(n.ConversationContent,{className:"gap-4 px-0",children:[u.length===0&&e.jsx(n.ConversationEmptyState,{icon:e.jsx(G.Bot,{size:48,className:"text-gray-300"}),title:s("Start a conversation with the AI assistant to translate/edit your content"),description:s("Only content can be edited in secondary languages. To edit layout, styles and more, switch to the default language.")}),u.map(t=>t.role!=="system"&&e.jsx(o.Fragment,{children:t.isReasoning?e.jsxs(n.Reasoning,{isStreaming:t.isStreaming,defaultOpen:!0,children:[e.jsx(n.ReasoningTrigger,{className:"text-xs [&_p]:text-muted-foreground"}),e.jsx(n.ReasoningContent,{className:"p-0 text-xs",children:t.content})]}):t.isTask?e.jsx(n.TaskMessage,{content:t.content,isLoading:t.isTaskLoading}):e.jsx(n.Message,{from:t.role,children:e.jsx(n.MessageContent,{className:"p-0",children:t.role==="assistant"?e.jsx(n.MessageResponse,{className:"p-0 text-xs",children:t.content}):e.jsx("div",{className:"p-0 text-xs",children:t.userMessage||t.content})})})},t.id))]})}),e.jsxs("div",{className:"border-gray-200 pb-2",children:[e.jsx(n.SelectedBlockDisplay,{onRemove:()=>C([]),isLoading:i}),e.jsx(o.Suspense,{fallback:e.jsx("div",{children:s("Loading...")}),children:e.jsx(Q,{input:c,setInput:j,onSend:f,onStop:A,isLoading:i,selectedLang:l,currentBlock:d||P,disabled:(c==null?void 0:c.length)===0,selectedModel:S,onModelChange:M})})]})]})};exports.default=X;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("./selected-block-display-CMhOKq0c.cjs"),O=require("react"),pn=require("react-dom"),z=require("lucide-react"),zo=require("@chaibuilder/sdk");function mn(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const a=mn(O),vn=mn(pn);var Yo="Portal",We=a.forwardRef((e,n)=>{var l;const{container:t,...r}=e,[o,c]=a.useState(!1);i.useLayoutEffect2(()=>c(!0),[]);const u=t||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return u?pn.createPortal(s.jsx(i.Primitive.div,{...r,ref:n}),u):null});We.displayName=Yo;var Zt=1,qo=.9,Xo=.8,Zo=.17,it=.1,lt=.999,Qo=.9999,Jo=.99,ea=/[\\\/_+.#"@\[\(\{&]/,ta=/[\\\/_+.#"@\[\(\{&]/g,na=/[\s-]/,hn=/[\s-]/g;function bt(e,n,t,r,o,c,u){if(c===n.length)return o===e.length?Zt:Jo;var l=`${o},${c}`;if(u[l]!==void 0)return u[l];for(var f=r.charAt(c),p=t.indexOf(f,o),v=0,d,h,w,b;p>=0;)d=bt(e,n,t,r,p+1,c+1,u),d>v&&(p===o?d*=Zt:ea.test(e.charAt(p-1))?(d*=Xo,w=e.slice(o,p-1).match(ta),w&&o>0&&(d*=Math.pow(lt,w.length))):na.test(e.charAt(p-1))?(d*=qo,b=e.slice(o,p-1).match(hn),b&&o>0&&(d*=Math.pow(lt,b.length))):(d*=Zo,o>0&&(d*=Math.pow(lt,p-o))),e.charAt(p)!==n.charAt(c)&&(d*=Qo)),(d<it&&t.charAt(p-1)===r.charAt(c+1)||r.charAt(c+1)===r.charAt(c)&&t.charAt(p-1)!==r.charAt(c))&&(h=bt(e,n,t,r,p+1,c+2,u),h*it>d&&(d=h*it)),d>v&&(v=d),p=t.indexOf(f,p+1);return u[l]=v,v}function Qt(e){return e.toLowerCase().replace(hn," ")}function ra(e,n,t){return e=t&&t.length>0?`${e+" "+t.join(" ")}`:e,bt(e,n,Qt(e),Qt(n),0,0,{})}var ut="focusScope.autoFocusOnMount",dt="focusScope.autoFocusOnUnmount",Jt={bubbles:!1,cancelable:!0},oa="FocusScope",Ve=a.forwardRef((e,n)=>{const{loop:t=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...u}=e,[l,f]=a.useState(null),p=i.useCallbackRef(o),v=i.useCallbackRef(c),d=a.useRef(null),h=i.useComposedRefs(n,m=>f(m)),w=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let m=function(C){if(w.paused||!l)return;const N=C.target;l.contains(N)?d.current=N:se(d.current,{select:!0})},g=function(C){if(w.paused||!l)return;const N=C.relatedTarget;N!==null&&(l.contains(N)||se(d.current,{select:!0}))},S=function(C){if(document.activeElement===document.body)for(const D of C)D.removedNodes.length>0&&se(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",g);const x=new MutationObserver(S);return l&&x.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",g),x.disconnect()}}},[r,l,w.paused]),a.useEffect(()=>{if(l){tn.add(w);const m=document.activeElement;if(!l.contains(m)){const S=new CustomEvent(ut,Jt);l.addEventListener(ut,p),l.dispatchEvent(S),S.defaultPrevented||(aa(ua(gn(l)),{select:!0}),document.activeElement===m&&se(l))}return()=>{l.removeEventListener(ut,p),setTimeout(()=>{const S=new CustomEvent(dt,Jt);l.addEventListener(dt,v),l.dispatchEvent(S),S.defaultPrevented||se(m??document.body,{select:!0}),l.removeEventListener(dt,v),tn.remove(w)},0)}}},[l,p,v,w]);const b=a.useCallback(m=>{if(!t&&!r||w.paused)return;const g=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,S=document.activeElement;if(g&&S){const x=m.currentTarget,[C,N]=sa(x);C&&N?!m.shiftKey&&S===N?(m.preventDefault(),t&&se(C,{select:!0})):m.shiftKey&&S===C&&(m.preventDefault(),t&&se(N,{select:!0})):S===x&&m.preventDefault()}},[t,r,w.paused]);return s.jsx(i.Primitive.div,{tabIndex:-1,...u,ref:h,onKeyDown:b})});Ve.displayName=oa;function aa(e,{select:n=!1}={}){const t=document.activeElement;for(const r of e)if(se(r,{select:n}),document.activeElement!==t)return}function sa(e){const n=gn(e),t=en(n,e),r=en(n.reverse(),e);return[t,r]}function gn(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function en(e,n){for(const t of e)if(!ca(t,{upTo:n}))return t}function ca(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ia(e){return e instanceof HTMLInputElement&&"select"in e}function se(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&ia(e)&&n&&e.select()}}var tn=la();function la(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=nn(e,n),e.unshift(n)},remove(n){var t;e=nn(e,n),(t=e[0])==null||t.resume()}}}function nn(e,n){const t=[...e],r=t.indexOf(n);return r!==-1&&t.splice(r,1),t}function ua(e){return e.filter(n=>n.tagName!=="A")}var ft=0;function Tt(){a.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??rn()),document.body.insertAdjacentElement("beforeend",e[1]??rn()),ft++,()=>{ft===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),ft--}},[])}function rn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ae=function(){return ae=Object.assign||function(n){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(n[c]=t[c])}return n},ae.apply(this,arguments)};function xn(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t}function da(e,n,t){if(t||arguments.length===2)for(var r=0,o=n.length,c;r<o;r++)(c||!(r in n))&&(c||(c=Array.prototype.slice.call(n,0,r)),c[r]=n[r]);return e.concat(c||Array.prototype.slice.call(n))}var Le="right-scroll-bar-position",Fe="width-before-scroll-bar",fa="with-scroll-bars-hidden",pa="--removed-body-scroll-bar-size";function pt(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function ma(e,n){var t=O.useState(function(){return{value:e,callback:n,facade:{get current(){return t.value},set current(r){var o=t.value;o!==r&&(t.value=r,t.callback(r,o))}}}})[0];return t.callback=n,t.facade}var va=typeof window<"u"?a.useLayoutEffect:a.useEffect,on=new WeakMap;function ha(e,n){var t=ma(null,function(r){return e.forEach(function(o){return pt(o,r)})});return va(function(){var r=on.get(t);if(r){var o=new Set(r),c=new Set(e),u=t.current;o.forEach(function(l){c.has(l)||pt(l,null)}),c.forEach(function(l){o.has(l)||pt(l,u)})}on.set(t,e)},[e]),t}function ga(e){return e}function xa(e,n){n===void 0&&(n=ga);var t=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(c){var u=n(c,r);return t.push(u),function(){t=t.filter(function(l){return l!==u})}},assignSyncMedium:function(c){for(r=!0;t.length;){var u=t;t=[],u.forEach(c)}t={push:function(l){return c(l)},filter:function(){return t}}},assignMedium:function(c){r=!0;var u=[];if(t.length){var l=t;t=[],l.forEach(c),u=t}var f=function(){var v=u;u=[],v.forEach(c)},p=function(){return Promise.resolve().then(f)};p(),t={push:function(v){u.push(v),p()},filter:function(v){return u=u.filter(v),t}}}};return o}function wa(e){e===void 0&&(e={});var n=xa(null);return n.options=ae({async:!0,ssr:!1},e),n}var wn=function(e){var n=e.sideCar,t=xn(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,ae({},t))};wn.isSideCarExport=!0;function ba(e,n){return e.useMedium(n),wn}var bn=wa(),mt=function(){},ze=a.forwardRef(function(e,n){var t=a.useRef(null),r=a.useState({onScrollCapture:mt,onWheelCapture:mt,onTouchMoveCapture:mt}),o=r[0],c=r[1],u=e.forwardProps,l=e.children,f=e.className,p=e.removeScrollBar,v=e.enabled,d=e.shards,h=e.sideCar,w=e.noRelative,b=e.noIsolation,m=e.inert,g=e.allowPinchZoom,S=e.as,x=S===void 0?"div":S,C=e.gapMode,N=xn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=h,_=ha([t,n]),M=ae(ae({},N),o);return a.createElement(a.Fragment,null,v&&a.createElement(D,{sideCar:bn,removeScrollBar:p,shards:d,noRelative:w,noIsolation:b,inert:m,setCallbacks:c,allowPinchZoom:!!g,lockRef:t,gapMode:C}),u?a.cloneElement(a.Children.only(l),ae(ae({},M),{ref:_})):a.createElement(x,ae({},M,{className:f,ref:_}),l))});ze.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ze.classNames={fullWidth:Fe,zeroRight:Le};var ya=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ca(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=ya();return n&&e.setAttribute("nonce",n),e}function Sa(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function Ea(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var Ra=function(){var e=0,n=null;return{add:function(t){e==0&&(n=Ca())&&(Sa(n,t),Ea(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},Ia=function(){var e=Ra();return function(n,t){a.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},yn=function(){var e=Ia(),n=function(t){var r=t.styles,o=t.dynamic;return e(r,o),null};return n},Na={left:0,top:0,right:0,gap:0},vt=function(e){return parseInt(e||"",10)||0},Pa=function(e){var n=window.getComputedStyle(document.body),t=n[e==="padding"?"paddingLeft":"marginLeft"],r=n[e==="padding"?"paddingTop":"marginTop"],o=n[e==="padding"?"paddingRight":"marginRight"];return[vt(t),vt(r),vt(o)]},Ma=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Na;var n=Pa(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}},Ta=yn(),Ce="data-scroll-locked",_a=function(e,n,t,r){var o=e.left,c=e.top,u=e.right,l=e.gap;return t===void 0&&(t="margin"),`
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("react/jsx-runtime"),i=require("./selected-block-display-GwQBADhp.cjs"),O=require("react"),pn=require("react-dom"),z=require("lucide-react"),zo=require("@chaibuilder/sdk");function mn(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const a=mn(O),vn=mn(pn);var Yo="Portal",We=a.forwardRef((e,n)=>{var l;const{container:t,...r}=e,[o,c]=a.useState(!1);i.useLayoutEffect2(()=>c(!0),[]);const u=t||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return u?pn.createPortal(s.jsx(i.Primitive.div,{...r,ref:n}),u):null});We.displayName=Yo;var Zt=1,qo=.9,Xo=.8,Zo=.17,it=.1,lt=.999,Qo=.9999,Jo=.99,ea=/[\\\/_+.#"@\[\(\{&]/,ta=/[\\\/_+.#"@\[\(\{&]/g,na=/[\s-]/,hn=/[\s-]/g;function bt(e,n,t,r,o,c,u){if(c===n.length)return o===e.length?Zt:Jo;var l=`${o},${c}`;if(u[l]!==void 0)return u[l];for(var f=r.charAt(c),p=t.indexOf(f,o),v=0,d,h,w,b;p>=0;)d=bt(e,n,t,r,p+1,c+1,u),d>v&&(p===o?d*=Zt:ea.test(e.charAt(p-1))?(d*=Xo,w=e.slice(o,p-1).match(ta),w&&o>0&&(d*=Math.pow(lt,w.length))):na.test(e.charAt(p-1))?(d*=qo,b=e.slice(o,p-1).match(hn),b&&o>0&&(d*=Math.pow(lt,b.length))):(d*=Zo,o>0&&(d*=Math.pow(lt,p-o))),e.charAt(p)!==n.charAt(c)&&(d*=Qo)),(d<it&&t.charAt(p-1)===r.charAt(c+1)||r.charAt(c+1)===r.charAt(c)&&t.charAt(p-1)!==r.charAt(c))&&(h=bt(e,n,t,r,p+1,c+2,u),h*it>d&&(d=h*it)),d>v&&(v=d),p=t.indexOf(f,p+1);return u[l]=v,v}function Qt(e){return e.toLowerCase().replace(hn," ")}function ra(e,n,t){return e=t&&t.length>0?`${e+" "+t.join(" ")}`:e,bt(e,n,Qt(e),Qt(n),0,0,{})}var ut="focusScope.autoFocusOnMount",dt="focusScope.autoFocusOnUnmount",Jt={bubbles:!1,cancelable:!0},oa="FocusScope",Ve=a.forwardRef((e,n)=>{const{loop:t=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:c,...u}=e,[l,f]=a.useState(null),p=i.useCallbackRef(o),v=i.useCallbackRef(c),d=a.useRef(null),h=i.useComposedRefs(n,m=>f(m)),w=a.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;a.useEffect(()=>{if(r){let m=function(C){if(w.paused||!l)return;const N=C.target;l.contains(N)?d.current=N:se(d.current,{select:!0})},g=function(C){if(w.paused||!l)return;const N=C.relatedTarget;N!==null&&(l.contains(N)||se(d.current,{select:!0}))},S=function(C){if(document.activeElement===document.body)for(const D of C)D.removedNodes.length>0&&se(l)};document.addEventListener("focusin",m),document.addEventListener("focusout",g);const x=new MutationObserver(S);return l&&x.observe(l,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",g),x.disconnect()}}},[r,l,w.paused]),a.useEffect(()=>{if(l){tn.add(w);const m=document.activeElement;if(!l.contains(m)){const S=new CustomEvent(ut,Jt);l.addEventListener(ut,p),l.dispatchEvent(S),S.defaultPrevented||(aa(ua(gn(l)),{select:!0}),document.activeElement===m&&se(l))}return()=>{l.removeEventListener(ut,p),setTimeout(()=>{const S=new CustomEvent(dt,Jt);l.addEventListener(dt,v),l.dispatchEvent(S),S.defaultPrevented||se(m??document.body,{select:!0}),l.removeEventListener(dt,v),tn.remove(w)},0)}}},[l,p,v,w]);const b=a.useCallback(m=>{if(!t&&!r||w.paused)return;const g=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,S=document.activeElement;if(g&&S){const x=m.currentTarget,[C,N]=sa(x);C&&N?!m.shiftKey&&S===N?(m.preventDefault(),t&&se(C,{select:!0})):m.shiftKey&&S===C&&(m.preventDefault(),t&&se(N,{select:!0})):S===x&&m.preventDefault()}},[t,r,w.paused]);return s.jsx(i.Primitive.div,{tabIndex:-1,...u,ref:h,onKeyDown:b})});Ve.displayName=oa;function aa(e,{select:n=!1}={}){const t=document.activeElement;for(const r of e)if(se(r,{select:n}),document.activeElement!==t)return}function sa(e){const n=gn(e),t=en(n,e),r=en(n.reverse(),e);return[t,r]}function gn(e){const n=[],t=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;t.nextNode();)n.push(t.currentNode);return n}function en(e,n){for(const t of e)if(!ca(t,{upTo:n}))return t}function ca(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function ia(e){return e instanceof HTMLInputElement&&"select"in e}function se(e,{select:n=!1}={}){if(e&&e.focus){const t=document.activeElement;e.focus({preventScroll:!0}),e!==t&&ia(e)&&n&&e.select()}}var tn=la();function la(){let e=[];return{add(n){const t=e[0];n!==t&&(t==null||t.pause()),e=nn(e,n),e.unshift(n)},remove(n){var t;e=nn(e,n),(t=e[0])==null||t.resume()}}}function nn(e,n){const t=[...e],r=t.indexOf(n);return r!==-1&&t.splice(r,1),t}function ua(e){return e.filter(n=>n.tagName!=="A")}var ft=0;function Tt(){a.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??rn()),document.body.insertAdjacentElement("beforeend",e[1]??rn()),ft++,()=>{ft===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),ft--}},[])}function rn(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var ae=function(){return ae=Object.assign||function(n){for(var t,r=1,o=arguments.length;r<o;r++){t=arguments[r];for(var c in t)Object.prototype.hasOwnProperty.call(t,c)&&(n[c]=t[c])}return n},ae.apply(this,arguments)};function xn(e,n){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&n.indexOf(r)<0&&(t[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)n.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(t[r[o]]=e[r[o]]);return t}function da(e,n,t){if(t||arguments.length===2)for(var r=0,o=n.length,c;r<o;r++)(c||!(r in n))&&(c||(c=Array.prototype.slice.call(n,0,r)),c[r]=n[r]);return e.concat(c||Array.prototype.slice.call(n))}var Le="right-scroll-bar-position",Fe="width-before-scroll-bar",fa="with-scroll-bars-hidden",pa="--removed-body-scroll-bar-size";function pt(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function ma(e,n){var t=O.useState(function(){return{value:e,callback:n,facade:{get current(){return t.value},set current(r){var o=t.value;o!==r&&(t.value=r,t.callback(r,o))}}}})[0];return t.callback=n,t.facade}var va=typeof window<"u"?a.useLayoutEffect:a.useEffect,on=new WeakMap;function ha(e,n){var t=ma(null,function(r){return e.forEach(function(o){return pt(o,r)})});return va(function(){var r=on.get(t);if(r){var o=new Set(r),c=new Set(e),u=t.current;o.forEach(function(l){c.has(l)||pt(l,null)}),c.forEach(function(l){o.has(l)||pt(l,u)})}on.set(t,e)},[e]),t}function ga(e){return e}function xa(e,n){n===void 0&&(n=ga);var t=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return t.length?t[t.length-1]:e},useMedium:function(c){var u=n(c,r);return t.push(u),function(){t=t.filter(function(l){return l!==u})}},assignSyncMedium:function(c){for(r=!0;t.length;){var u=t;t=[],u.forEach(c)}t={push:function(l){return c(l)},filter:function(){return t}}},assignMedium:function(c){r=!0;var u=[];if(t.length){var l=t;t=[],l.forEach(c),u=t}var f=function(){var v=u;u=[],v.forEach(c)},p=function(){return Promise.resolve().then(f)};p(),t={push:function(v){u.push(v),p()},filter:function(v){return u=u.filter(v),t}}}};return o}function wa(e){e===void 0&&(e={});var n=xa(null);return n.options=ae({async:!0,ssr:!1},e),n}var wn=function(e){var n=e.sideCar,t=xn(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=n.read();if(!r)throw new Error("Sidecar medium not found");return a.createElement(r,ae({},t))};wn.isSideCarExport=!0;function ba(e,n){return e.useMedium(n),wn}var bn=wa(),mt=function(){},ze=a.forwardRef(function(e,n){var t=a.useRef(null),r=a.useState({onScrollCapture:mt,onWheelCapture:mt,onTouchMoveCapture:mt}),o=r[0],c=r[1],u=e.forwardProps,l=e.children,f=e.className,p=e.removeScrollBar,v=e.enabled,d=e.shards,h=e.sideCar,w=e.noRelative,b=e.noIsolation,m=e.inert,g=e.allowPinchZoom,S=e.as,x=S===void 0?"div":S,C=e.gapMode,N=xn(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),D=h,_=ha([t,n]),M=ae(ae({},N),o);return a.createElement(a.Fragment,null,v&&a.createElement(D,{sideCar:bn,removeScrollBar:p,shards:d,noRelative:w,noIsolation:b,inert:m,setCallbacks:c,allowPinchZoom:!!g,lockRef:t,gapMode:C}),u?a.cloneElement(a.Children.only(l),ae(ae({},M),{ref:_})):a.createElement(x,ae({},M,{className:f,ref:_}),l))});ze.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ze.classNames={fullWidth:Fe,zeroRight:Le};var ya=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Ca(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=ya();return n&&e.setAttribute("nonce",n),e}function Sa(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function Ea(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var Ra=function(){var e=0,n=null;return{add:function(t){e==0&&(n=Ca())&&(Sa(n,t),Ea(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},Ia=function(){var e=Ra();return function(n,t){a.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&t])}},yn=function(){var e=Ia(),n=function(t){var r=t.styles,o=t.dynamic;return e(r,o),null};return n},Na={left:0,top:0,right:0,gap:0},vt=function(e){return parseInt(e||"",10)||0},Pa=function(e){var n=window.getComputedStyle(document.body),t=n[e==="padding"?"paddingLeft":"marginLeft"],r=n[e==="padding"?"paddingTop":"marginTop"],o=n[e==="padding"?"paddingRight":"marginRight"];return[vt(t),vt(r),vt(o)]},Ma=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return Na;var n=Pa(e),t=document.documentElement.clientWidth,r=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,r-t+n[2]-n[0])}},Ta=yn(),Ce="data-scroll-locked",_a=function(e,n,t,r){var o=e.left,c=e.top,u=e.right,l=e.gap;return t===void 0&&(t="margin"),`
|
|
2
2
|
.`.concat(fa,` {
|
|
3
3
|
overflow: hidden `).concat(r,`;
|
|
4
4
|
padding-right: `).concat(l,"px ").concat(r,`;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as s, jsxs as V, Fragment as Ae } from "react/jsx-runtime";
|
|
2
|
-
import { u as le, P as H, k as ke, l as X, m as Re, n as I, o as me, D as st, p as ya, q as Ke, r as ct, s as re, t as ye, v as k, w as Oe, A as Yt, x as Xt, y as qt, z as Sa, B as Ln, E as Fn, F as $n, V as Ca } from "./selected-block-display-
|
|
2
|
+
import { u as le, P as H, k as ke, l as X, m as Re, n as I, o as me, D as st, p as ya, q as Ke, r as ct, s as re, t as ye, v as k, w as Oe, A as Yt, x as Xt, y as qt, z as Sa, B as Ln, E as Fn, F as $n, V as Ca } from "./selected-block-display-CZ3zwgqL.js";
|
|
3
3
|
import * as a from "react";
|
|
4
4
|
import be, { useState as fe, createContext as Zt, Fragment as xa, useRef as Ue, useEffect as de, useCallback as Qe, useMemo as Ra, Children as Ea, useContext as Qt } from "react";
|
|
5
5
|
import * as Bn from "react-dom";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),a=require("./index-C1bimRWu.cjs"),c=require("@chaibuilder/sdk"),r=require("@chaibuilder/sdk/ui"),o=require("lucide-react"),x=({selectedLang:s,isLoading:n,selectedBlock:l,onClick:i})=>{const{t}=c.useTranslation();return e.jsx("div",{className:"flex flex-col gap-2",children:e.jsx("div",{className:`flex flex-col gap-2 ${n?"pointer-events-none opacity-50":""}`,children:l?e.jsx(r.Button,{variant:"outline",className:"h-auto",onClick:()=>i("TRANSLATE"),children:e.jsxs("div",{className:"flex flex-col",children:[e.jsx("p",{className:"text-left text-xs font-thin",children:t("Quick Action:")}),e.jsxs("span",{className:"flex items-center gap-x-2 text-sm font-medium",children:[t("Translate Content")," ",t("to")," ",a.LANGUAGES[s]," ",e.jsx(o.ArrowRight,{className:"h-4 w-4"})]})]})}):null})})};exports.default=x;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as t, jsxs as l } from "react/jsx-runtime";
|
|
2
|
-
import { L as r } from "./index-
|
|
2
|
+
import { L as r } from "./index-C_34q9jG.js";
|
|
3
3
|
import { useTranslation as i } from "@chaibuilder/sdk";
|
|
4
4
|
import { Button as c } from "@chaibuilder/sdk/ui";
|
|
5
5
|
import { ArrowRight as m } from "lucide-react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { M as ln, N as an, O as y, P as tn, Q as Y, R as O, S as _, T as un, V as rn, W as j, X as o, Y as Q, Z as sn, $ as on, a0 as fn } from "./mermaid.core-
|
|
1
|
+
import { M as ln, N as an, O as y, P as tn, Q as Y, R as O, S as _, T as un, V as rn, W as j, X as o, Y as Q, Z as sn, $ as on, a0 as fn } from "./mermaid.core-3NhAXOzj.js";
|
|
2
2
|
function cn(l) {
|
|
3
3
|
return l.innerRadius;
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const n=require("./mermaid.core-
|
|
1
|
+
"use strict";const n=require("./mermaid.core-Cop_RRH4.cjs");function $(o){return o.innerRadius}function b(o){return o.outerRadius}function k(o){return o.startAngle}function _(o){return o.endAngle}function nn(o){return o&&o.padAngle}function en(o,x,D,P,h,v,j,i){var E=D-o,t=P-x,e=j-h,y=i-v,s=y*E-e*t;if(!(s*s<n.epsilon))return s=(e*(x-v)-y*(o-h))/s,[o+s*E,x+s*t]}function M(o,x,D,P,h,v,j){var i=o-D,E=x-P,t=(j?v:-v)/n.sqrt(i*i+E*E),e=t*E,y=-t*i,s=o+e,u=x+y,c=D+e,f=P+y,z=(s+c)/2,l=(u+f)/2,g=c-s,p=f-u,A=g*g+p*p,R=h-v,T=s*f-c*u,I=(p<0?-1:1)*n.sqrt(n.max(0,R*R*A-T*T)),O=(T*p-g*I)/A,S=(-T*g-p*I)/A,q=(T*p+g*I)/A,m=(-T*g+p*I)/A,d=O-z,a=S-l,r=q-z,B=m-l;return d*d+a*a>r*r+B*B&&(O=q,S=m),{cx:O,cy:S,x01:-e,y01:-y,x11:O*(h/R-1),y11:S*(h/R-1)}}function an(){var o=$,x=b,D=n.constant(0),P=null,h=k,v=_,j=nn,i=null,E=n.withPath(t);function t(){var e,y,s=+o.apply(this,arguments),u=+x.apply(this,arguments),c=h.apply(this,arguments)-n.halfPi,f=v.apply(this,arguments)-n.halfPi,z=n.abs(f-c),l=f>c;if(i||(i=e=E()),u<s&&(y=u,u=s,s=y),!(u>n.epsilon))i.moveTo(0,0);else if(z>n.tau-n.epsilon)i.moveTo(u*n.cos(c),u*n.sin(c)),i.arc(0,0,u,c,f,!l),s>n.epsilon&&(i.moveTo(s*n.cos(f),s*n.sin(f)),i.arc(0,0,s,f,c,l));else{var g=c,p=f,A=c,R=f,T=z,I=z,O=j.apply(this,arguments)/2,S=O>n.epsilon&&(P?+P.apply(this,arguments):n.sqrt(s*s+u*u)),q=n.min(n.abs(u-s)/2,+D.apply(this,arguments)),m=q,d=q,a,r;if(S>n.epsilon){var B=n.asin(S/s*n.sin(O)),G=n.asin(S/u*n.sin(O));(T-=B*2)>n.epsilon?(B*=l?1:-1,A+=B,R-=B):(T=0,A=R=(c+f)/2),(I-=G*2)>n.epsilon?(G*=l?1:-1,g+=G,p-=G):(I=0,g=p=(c+f)/2)}var C=u*n.cos(g),F=u*n.sin(g),H=s*n.cos(R),J=s*n.sin(R);if(q>n.epsilon){var K=u*n.cos(p),L=u*n.sin(p),N=s*n.cos(A),Q=s*n.sin(A),w;if(z<n.pi)if(w=en(C,F,N,Q,K,L,H,J)){var U=C-w[0],V=F-w[1],W=K-w[0],X=L-w[1],Y=1/n.sin(n.acos((U*W+V*X)/(n.sqrt(U*U+V*V)*n.sqrt(W*W+X*X)))/2),Z=n.sqrt(w[0]*w[0]+w[1]*w[1]);m=n.min(q,(s-Z)/(Y-1)),d=n.min(q,(u-Z)/(Y+1))}else m=d=0}I>n.epsilon?d>n.epsilon?(a=M(N,Q,C,F,u,d,l),r=M(K,L,H,J,u,d,l),i.moveTo(a.cx+a.x01,a.cy+a.y01),d<q?i.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(r.y01,r.x01),!l):(i.arc(a.cx,a.cy,d,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),i.arc(0,0,u,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(r.cy+r.y11,r.cx+r.x11),!l),i.arc(r.cx,r.cy,d,n.atan2(r.y11,r.x11),n.atan2(r.y01,r.x01),!l))):(i.moveTo(C,F),i.arc(0,0,u,g,p,!l)):i.moveTo(C,F),!(s>n.epsilon)||!(T>n.epsilon)?i.lineTo(H,J):m>n.epsilon?(a=M(H,J,K,L,s,-m,l),r=M(C,F,N,Q,s,-m,l),i.lineTo(a.cx+a.x01,a.cy+a.y01),m<q?i.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(r.y01,r.x01),!l):(i.arc(a.cx,a.cy,m,n.atan2(a.y01,a.x01),n.atan2(a.y11,a.x11),!l),i.arc(0,0,s,n.atan2(a.cy+a.y11,a.cx+a.x11),n.atan2(r.cy+r.y11,r.cx+r.x11),l),i.arc(r.cx,r.cy,m,n.atan2(r.y11,r.x11),n.atan2(r.y01,r.x01),!l))):i.arc(0,0,s,R,A,l)}if(i.closePath(),e)return i=null,e+""||null}return t.centroid=function(){var e=(+o.apply(this,arguments)+ +x.apply(this,arguments))/2,y=(+h.apply(this,arguments)+ +v.apply(this,arguments))/2-n.pi/2;return[n.cos(y)*e,n.sin(y)*e]},t.innerRadius=function(e){return arguments.length?(o=typeof e=="function"?e:n.constant(+e),t):o},t.outerRadius=function(e){return arguments.length?(x=typeof e=="function"?e:n.constant(+e),t):x},t.cornerRadius=function(e){return arguments.length?(D=typeof e=="function"?e:n.constant(+e),t):D},t.padRadius=function(e){return arguments.length?(P=e==null?null:typeof e=="function"?e:n.constant(+e),t):P},t.startAngle=function(e){return arguments.length?(h=typeof e=="function"?e:n.constant(+e),t):h},t.endAngle=function(e){return arguments.length?(v=typeof e=="function"?e:n.constant(+e),t):v},t.padAngle=function(e){return arguments.length?(j=typeof e=="function"?e:n.constant(+e),t):j},t.context=function(e){return arguments.length?(i=e??null,t):i},t}exports.d3arc=an;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./mermaid-parser.core-DKJdj2_U.cjs");exports.ArchitectureModule=e.ArchitectureModule;exports.createArchitectureServices=e.createArchitectureServices;
|
package/dist/{architectureDiagram-VXUJARFQ-xhCIZb18.js → architectureDiagram-VXUJARFQ-C7E-J7qp.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { E as Ze, s as ke, g as qe, o as Qe, p as Je, b as Ke, c as je, _ as dt, v as _e, F as tr, G as er, aB as rr, aC as ir, l as Se, j as ar, K as nr, ad as or, t as sr, aD as Ee, d as me, aE as pe, i as hr } from "./mermaid.core-
|
|
2
|
-
import { p as lr } from "./chunk-4BX2VUAB-
|
|
3
|
-
import { p as fr } from "./mermaid-parser.core-
|
|
1
|
+
import { E as Ze, s as ke, g as qe, o as Qe, p as Je, b as Ke, c as je, _ as dt, v as _e, F as tr, G as er, aB as rr, aC as ir, l as Se, j as ar, K as nr, ad as or, t as sr, aD as Ee, d as me, aE as pe, i as hr } from "./mermaid.core-3NhAXOzj.js";
|
|
2
|
+
import { p as lr } from "./chunk-4BX2VUAB-kRXCJxGQ.js";
|
|
3
|
+
import { p as fr } from "./mermaid-parser.core-GitSl6co.js";
|
|
4
4
|
import { c as Fe } from "./cytoscape.esm-DdQZKk9f.js";
|
|
5
|
-
import { j as cr } from "./selected-block-display-
|
|
5
|
+
import { j as cr } from "./selected-block-display-CZ3zwgqL.js";
|
|
6
6
|
var he = { exports: {} }, le = { exports: {} }, fe = { exports: {} }, gr = fe.exports, we;
|
|
7
7
|
function ur() {
|
|
8
8
|
return we || (we = 1, function(I, D) {
|