ryugi-artifacts 1.5.2 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (202) hide show
  1. package/dist/server.cjs +1078 -77
  2. package/dist/viewer/CloudDocument-Cmt0f5LX.js +1 -0
  3. package/dist/viewer/{DocumentPage-DdNmWoh_.js → DocumentEditor-RfVa-8pR.js} +169 -169
  4. package/dist/viewer/DocumentPage-Cg4Y7n8Z.js +1 -0
  5. package/dist/viewer/{abnfDiagram-VCTEODGH-DUjnpkq-.js → abnfDiagram-VCTEODGH-Ch1PrcW_.js} +1 -1
  6. package/dist/viewer/{ar-SA-G6X2FPQ2-mI8eD7-e.js → ar-SA-G6X2FPQ2-BZLJnXPp.js} +1 -1
  7. package/dist/viewer/{architecture-7GRP2DOG-BklKKRgi.js → architecture-7GRP2DOG-BTLY6ygE.js} +1 -1
  8. package/dist/viewer/{architectureDiagram-5GKGNRK7-ComXlUxJ.js → architectureDiagram-5GKGNRK7-Crf3vLUm.js} +1 -1
  9. package/dist/viewer/{az-AZ-76LH7QW2-CfrUcbev.js → az-AZ-76LH7QW2-CJCCtBBF.js} +1 -1
  10. package/dist/viewer/{bg-BG-XCXSNQG7-Dg5RyqcI.js → bg-BG-XCXSNQG7-A9uZROfi.js} +1 -1
  11. package/dist/viewer/{blockDiagram-I7D4REHJ-B4Mufofe.js → blockDiagram-I7D4REHJ-kmyfDg5y.js} +1 -1
  12. package/dist/viewer/{bn-BD-2XOGV67Q-D13ElBZK.js → bn-BD-2XOGV67Q-CMY785z7.js} +1 -1
  13. package/dist/viewer/{c4Diagram-7LVT6UL2-DNVvBVlj.js → c4Diagram-7LVT6UL2-DtRUOCrL.js} +1 -1
  14. package/dist/viewer/{ca-ES-6MX7JW3Y-BAw29ydH.js → ca-ES-6MX7JW3Y-BYYBxQ2h.js} +1 -1
  15. package/dist/viewer/channel-C7FdHgA5.js +1 -0
  16. package/dist/viewer/{chunk-4HAMMTFA-B6UXPokb.js → chunk-4HAMMTFA-D7lBPl2E.js} +1 -1
  17. package/dist/viewer/{chunk-75Z2AOVW-xTyaS-ou.js → chunk-75Z2AOVW-Dmt3SQH3.js} +1 -1
  18. package/dist/viewer/{chunk-DU6HZSFF-BnNI-hjm.js → chunk-DU6HZSFF-C0GRIO4w.js} +1 -1
  19. package/dist/viewer/{chunk-EIO257PC-Dsdwxebf.js → chunk-EIO257PC-BvW_EZuD.js} +1 -1
  20. package/dist/viewer/{chunk-F27PBJKO-PNrLZNah.js → chunk-F27PBJKO-cC_G0fXX.js} +1 -1
  21. package/dist/viewer/{chunk-GMAD6QVW-BWIKiLlp.js → chunk-GMAD6QVW-B0KZ3k-s.js} +1 -1
  22. package/dist/viewer/{chunk-GVQU2GXP-hJKBOJPC.js → chunk-GVQU2GXP-vAqsTjwW.js} +1 -1
  23. package/dist/viewer/{chunk-IMKFNOWR-C3ncrHH1.js → chunk-IMKFNOWR-CVmDn72x.js} +1 -1
  24. package/dist/viewer/{chunk-L3NEJ4N5-B5l5Mej0.js → chunk-L3NEJ4N5-DhAe4WGx.js} +1 -1
  25. package/dist/viewer/chunk-OSK3NFVY-CD-0X77m.js +10 -0
  26. package/dist/viewer/{chunk-P2QGCYS3-BM06KU7a.js → chunk-P2QGCYS3-BVqK-Rk9.js} +1 -1
  27. package/dist/viewer/{chunk-POPQ4Y6H-ap38DGDn.js → chunk-POPQ4Y6H-4s63FXj5.js} +1 -1
  28. package/dist/viewer/chunk-PWAF6VOD-Cku_5L2L.js +1 -0
  29. package/dist/viewer/{chunk-SHT3W25Y-B0cF1jqj.js → chunk-SHT3W25Y-DhRf-pGm.js} +1 -1
  30. package/dist/viewer/{chunk-SVP7TREG-DqK5Zrva.js → chunk-SVP7TREG-DmQ8yYT7.js} +1 -1
  31. package/dist/viewer/{chunk-TICWLB2K-CfU63rGI.js → chunk-TICWLB2K-ptqkK9g5.js} +1 -1
  32. package/dist/viewer/classDiagram-ZZMXUADV-D5iY4ZXd.js +1 -0
  33. package/dist/viewer/classDiagram-v2-VYDZK3BY-D5iY4ZXd.js +1 -0
  34. package/dist/viewer/{cs-CZ-2BRQDIVT-aRT5y-UA.js → cs-CZ-2BRQDIVT-Dzf23tSv.js} +1 -1
  35. package/dist/viewer/{cynefin-OW5HDTMX-DkcNTZzB.js → cynefin-OW5HDTMX-Bn02xX14.js} +1 -1
  36. package/dist/viewer/{cynefinDiagram-5FMLGOSQ-DL79KeHN.js → cynefinDiagram-5FMLGOSQ-CPkt5HTK.js} +1 -1
  37. package/dist/viewer/{da-DK-5WZEPLOC-UCzc43UR.js → da-DK-5WZEPLOC-kk5u8oeh.js} +1 -1
  38. package/dist/viewer/{dagre-GXQ25YYZ-1IhuF6dR.js → dagre-GXQ25YYZ-Bhb-6j9p.js} +1 -1
  39. package/dist/viewer/{de-DE-XR44H4JA-ChbdOPiO.js → de-DE-XR44H4JA-SMlX6klW.js} +1 -1
  40. package/dist/viewer/{diagram-S7CK7UJ4-DpWKuIWt.js → diagram-S7CK7UJ4-CvFeOngn.js} +1 -1
  41. package/dist/viewer/{diagram-UQ7AKVKN-Fd5dc17c.js → diagram-UQ7AKVKN-YhpPzvtc.js} +1 -1
  42. package/dist/viewer/{diagram-VSXAHHWV-CQKqNVdK.js → diagram-VSXAHHWV-HxtxJg2X.js} +1 -1
  43. package/dist/viewer/diagram-VX7I27RA-CHXupSCr.js +24 -0
  44. package/dist/viewer/{diagram-Z3DM3KII-W7k7bYij.js → diagram-Z3DM3KII-Q_9dAatE.js} +1 -1
  45. package/dist/viewer/dist-B5smEokn.js +1 -0
  46. package/dist/viewer/dist-B9MlS-yc.js +1 -0
  47. package/dist/viewer/{dist-D3QQcwrD.js → dist-B9dFSb2w.js} +4 -4
  48. package/dist/viewer/dist-B9l6xPFH.js +1 -0
  49. package/dist/viewer/dist-BUQddJyY.js +1 -0
  50. package/dist/viewer/dist-BYFhByvm.js +1 -0
  51. package/dist/viewer/dist-BiSGJruV.js +1 -0
  52. package/dist/viewer/dist-BuhqQu7t.js +9 -0
  53. package/dist/viewer/dist-CQLwSz5A.js +1 -0
  54. package/dist/viewer/dist-Caiv-ahd.js +2 -0
  55. package/dist/viewer/dist-CpeuWhgo.js +1 -0
  56. package/dist/viewer/dist-Cyyn2QnM.js +1 -0
  57. package/dist/viewer/dist-D54iKVBK.js +1 -0
  58. package/dist/viewer/dist-DCGRsZVI.js +1 -0
  59. package/dist/viewer/dist-DPsEN2aY.js +1 -0
  60. package/dist/viewer/dist-DUsSVxcw.js +1 -0
  61. package/dist/viewer/dist-DuN7MgQk.js +1 -0
  62. package/dist/viewer/dist-HBBjtVCs.js +23 -0
  63. package/dist/viewer/dist-HEpf722E.js +1 -0
  64. package/dist/viewer/dist-KarY-eub.js +1 -0
  65. package/dist/viewer/dist-f0EzsI-T.js +11 -0
  66. package/dist/viewer/dist-nBKLr6IT.js +1 -0
  67. package/dist/viewer/dist-paIVcwaQ.js +6 -0
  68. package/dist/viewer/dist-rV_cA3xa.js +1 -0
  69. package/dist/viewer/{ebnfDiagram-PWID7BFC-Be1xMnXN.js → ebnfDiagram-PWID7BFC-Hv9B-3hk.js} +1 -1
  70. package/dist/viewer/{el-GR-BZB4AONW-D7ypohOV.js → el-GR-BZB4AONW-DaH9owXi.js} +1 -1
  71. package/dist/viewer/{en-B4ZKOASM-BwQHpV0g.js → en-B4ZKOASM-YnGAFBsU.js} +1 -1
  72. package/dist/viewer/{erDiagram-RLTQ6QDP-bsW0qw8n.js → erDiagram-RLTQ6QDP-BTUs0BT2.js} +1 -1
  73. package/dist/viewer/{es-ES-U4NZUMDT-DfRye-0D.js → es-ES-U4NZUMDT-BuoQIO3M.js} +1 -1
  74. package/dist/viewer/{eu-ES-A7QVB2H4-BWCZjoDI.js → eu-ES-A7QVB2H4-DUhHVlZe.js} +1 -1
  75. package/dist/viewer/{eventmodeling-NTZA5JFV-BxSIs5tc.js → eventmodeling-NTZA5JFV-BCi8CKiX.js} +1 -1
  76. package/dist/viewer/{fa-IR-HGAKTJCU-CyRIVaan.js → fa-IR-HGAKTJCU-CjJKc0am.js} +1 -1
  77. package/dist/viewer/{fi-FI-Z5N7JZ37-BTOW9Wm8.js → fi-FI-Z5N7JZ37-CMFLRD0_.js} +1 -1
  78. package/dist/viewer/flowDiagram-HODETNUW-CNs3HB63.js +1 -0
  79. package/dist/viewer/{fr-FR-RHASNOE6-Cm51rPOH.js → fr-FR-RHASNOE6-BHoSntIq.js} +1 -1
  80. package/dist/viewer/ganttDiagram-EL5Y4UJY-CeEQLTco.js +292 -0
  81. package/dist/viewer/{gitGraph-4MIJSDKK-z7Gw08nk.js → gitGraph-4MIJSDKK-DfE6dNnv.js} +1 -1
  82. package/dist/viewer/{gitGraphDiagram-WWUBYQGX-WHGfcYN_.js → gitGraphDiagram-WWUBYQGX-CZxp-Wm4.js} +1 -1
  83. package/dist/viewer/{gl-ES-HMX3MZ6V-D5UecBmh.js → gl-ES-HMX3MZ6V-DICoY99I.js} +1 -1
  84. package/dist/viewer/{he-IL-6SHJWFNN-Oz-jJZDy.js → he-IL-6SHJWFNN-CEe7bLWa.js} +1 -1
  85. package/dist/viewer/{hi-IN-IWLTKZ5I-N5zzENnU.js → hi-IN-IWLTKZ5I-Dh_vRgBn.js} +1 -1
  86. package/dist/viewer/{hu-HU-A5ZG7DT2-DAwuPvi7.js → hu-HU-A5ZG7DT2-Bidop9I6.js} +1 -1
  87. package/dist/viewer/{id-ID-SAP4L64H-D_GNMEv3.js → id-ID-SAP4L64H-D183pYjJ.js} +1 -1
  88. package/dist/viewer/{image-GAAHSSAO-Ar9sm1AS.js → image-GAAHSSAO-DGMqto4h.js} +1 -1
  89. package/dist/viewer/index.css +1 -1062
  90. package/dist/viewer/index.html +1 -1
  91. package/dist/viewer/index.js +13 -12
  92. package/dist/viewer/index2.css +1082 -0
  93. package/dist/viewer/{info-A6RAGUB7-Cf5to2ar.js → info-A6RAGUB7-CYSfmlLx.js} +1 -1
  94. package/dist/viewer/{infoDiagram-27XIBGKW-DtnCMWLn.js → infoDiagram-27XIBGKW-BWBppJ8S.js} +1 -1
  95. package/dist/viewer/{ishikawaDiagram-5VMMS53U-DJITL75z.js → ishikawaDiagram-5VMMS53U-DwcqlxrU.js} +1 -1
  96. package/dist/viewer/{it-IT-JPQ66NNP-DPpOxig5.js → it-IT-JPQ66NNP-BmsXfM8K.js} +1 -1
  97. package/dist/viewer/{ja-JP-DBVTYXUO-czDcO5hY.js → ja-JP-DBVTYXUO-DyW8qb-0.js} +1 -1
  98. package/dist/viewer/{journeyDiagram-3NMN7TZE-C8QHQm2P.js → journeyDiagram-3NMN7TZE-DcgpwdKu.js} +7 -7
  99. package/dist/viewer/{kaa-6HZHGXH3-10EO2C3t.js → kaa-6HZHGXH3-DJYup-gx.js} +1 -1
  100. package/dist/viewer/{kab-KAB-ZGHBKWFO-jN9hQes5.js → kab-KAB-ZGHBKWFO-D1TTkU3Z.js} +1 -1
  101. package/dist/viewer/{kanban-definition-UXKFOSKX-BPwnRmy-.js → kanban-definition-UXKFOSKX-DY7wxWTD.js} +1 -1
  102. package/dist/viewer/{kk-KZ-P5N5QNE5-BXiW-6pN.js → kk-KZ-P5N5QNE5-Bi6KJaJ_.js} +1 -1
  103. package/dist/viewer/{km-KH-HSX4SM5Z-eJZcjbVY.js → km-KH-HSX4SM5Z-DUgQIxqu.js} +1 -1
  104. package/dist/viewer/{ko-KR-MTYHY66A-DJQ5t55Q.js → ko-KR-MTYHY66A-DBjXJgtG.js} +1 -1
  105. package/dist/viewer/{ku-TR-6OUDTVRD-SslXbW7I.js → ku-TR-6OUDTVRD-DZ7-3E8v.js} +1 -1
  106. package/dist/viewer/{lt-LT-XHIRWOB4-BQQH3p63.js → lt-LT-XHIRWOB4-CZq0sHVB.js} +1 -1
  107. package/dist/viewer/{lv-LV-5QDEKY6T-Clu0u2XA.js → lv-LV-5QDEKY6T-CSnpouGk.js} +1 -1
  108. package/dist/viewer/{mermaid-parser.core-BdSSxVU7.js → mermaid-parser.core-HxZZO7kh.js} +3 -3
  109. package/dist/viewer/{mindmap-definition-YA3MSWOX-DrF6TBI_.js → mindmap-definition-YA3MSWOX-B8Pb-wf1.js} +1 -1
  110. package/dist/viewer/{mr-IN-CRQNXWMA-CQxb20NT.js → mr-IN-CRQNXWMA-COt7YzBU.js} +1 -1
  111. package/dist/viewer/{my-MM-5M5IBNSE-DWucYt2w.js → my-MM-5M5IBNSE-D0Y1Da5n.js} +1 -1
  112. package/dist/viewer/{nb-NO-T6EIAALU-COGWygzu.js → nb-NO-T6EIAALU-oWyfOUMc.js} +1 -1
  113. package/dist/viewer/{nl-NL-IS3SIHDZ-BeHSFsZU.js → nl-NL-IS3SIHDZ-DmHiL8bF.js} +1 -1
  114. package/dist/viewer/{nn-NO-6E72VCQL-DpyrfPpI.js → nn-NO-6E72VCQL-aPmsjnhV.js} +1 -1
  115. package/dist/viewer/{oc-FR-POXYY2M6-Cs74HNSe.js → oc-FR-POXYY2M6-IX-_Z2L9.js} +1 -1
  116. package/dist/viewer/{pa-IN-N4M65BXN-BmXzYjy2.js → pa-IN-N4M65BXN-Bs_eqV6D.js} +1 -1
  117. package/dist/viewer/{packet-AYTQ26CC-usauJtTa.js → packet-AYTQ26CC-DszQqrn-.js} +1 -1
  118. package/dist/viewer/{pegDiagram-XKGWAZYB-BnXj64Ei.js → pegDiagram-XKGWAZYB-CUKB72zB.js} +1 -1
  119. package/dist/viewer/percentages-BXMCSKIN-B0uUmwNv.js +1 -0
  120. package/dist/viewer/{pie-WAS4IAKB-DknaY_2m.js → pie-WAS4IAKB-_7Cjr2yX.js} +1 -1
  121. package/dist/viewer/pieDiagram-E7YTZNPT-PGM-bC7i.js +39 -0
  122. package/dist/viewer/{pl-PL-T2D74RX3-T6Fe9mdT.js → pl-PL-T2D74RX3-B62vM7Wd.js} +1 -1
  123. package/dist/viewer/{prod-AmqxNzpE.js → prod-CXChZPSF.js} +12 -12
  124. package/dist/viewer/{pt-BR-5N22H2LF-CePhWINQ.js → pt-BR-5N22H2LF-DeO8w0-j.js} +1 -1
  125. package/dist/viewer/{pt-PT-UZXXM6DQ-DsHfrYs5.js → pt-PT-UZXXM6DQ-DHRKu_nC.js} +1 -1
  126. package/dist/viewer/{quadrantDiagram-AXDQQJYC-BANg6Bk_.js → quadrantDiagram-AXDQQJYC-BHGqqzJO.js} +6 -6
  127. package/dist/viewer/{radar-RG4KPBEZ-Dbo2ldml.js → radar-RG4KPBEZ-DUB0C2uH.js} +1 -1
  128. package/dist/viewer/{railroad-74A4TZTK-C5ptSrdP.js → railroad-74A4TZTK-BWFq_Uxa.js} +1 -1
  129. package/dist/viewer/{railroad-abnf-HS5TGJTU-B5-w1gmO.js → railroad-abnf-HS5TGJTU-CXi8H5jA.js} +1 -1
  130. package/dist/viewer/{railroad-ebnf-LZEXJU2U-DgzWo47b.js → railroad-ebnf-LZEXJU2U-BF6QoeOc.js} +1 -1
  131. package/dist/viewer/{railroad-peg-WCYAUIDC-Rohr0jWN.js → railroad-peg-WCYAUIDC-DZk9vECQ.js} +1 -1
  132. package/dist/viewer/{railroadDiagram-O6MQD6OU-BM43IHqe.js → railroadDiagram-O6MQD6OU-xkx7KBZh.js} +1 -1
  133. package/dist/viewer/{requirementDiagram-BXWQKSXE-BpfN-tyX.js → requirementDiagram-BXWQKSXE-YoHOz35u.js} +1 -1
  134. package/dist/viewer/{ro-RO-JPDTUUEW-8ghwmIee.js → ro-RO-JPDTUUEW-CZ7CkjNI.js} +1 -1
  135. package/dist/viewer/{ru-RU-B4JR7IUQ-HQRhTM2R.js → ru-RU-B4JR7IUQ-sQ2YRlyV.js} +1 -1
  136. package/dist/viewer/{sankeyDiagram-P5KCCOFB-wkQgztcK.js → sankeyDiagram-P5KCCOFB-D0ehFMRa.js} +1 -1
  137. package/dist/viewer/{sequenceDiagram-WJ2MYXX4-CgGiuRe0.js → sequenceDiagram-WJ2MYXX4-DdADoY-J.js} +1 -1
  138. package/dist/viewer/{si-LK-N5RQ5JYF-D67JK97H.js → si-LK-N5RQ5JYF-DLuQj109.js} +1 -1
  139. package/dist/viewer/{sk-SK-C5VTKIMK-B2W6Cezg.js → sk-SK-C5VTKIMK-CMe_YVPU.js} +1 -1
  140. package/dist/viewer/{sl-SI-NN7IZMDC-CXYpfWDT.js → sl-SI-NN7IZMDC-BPakRJTF.js} +1 -1
  141. package/dist/viewer/stateDiagram-D77RDMKH-DDcsZcrC.js +1 -0
  142. package/dist/viewer/stateDiagram-v2-MP3YSRHH-BEL5Pgsi.js +1 -0
  143. package/dist/viewer/subset-shared.chunk-CT_Q-SQa.js +1 -0
  144. package/dist/viewer/{subset-worker.chunk-Bp_PHA4h.js → subset-worker.chunk-CAdHeyaa.js} +1 -1
  145. package/dist/viewer/{sv-SE-XGPEYMSR-DEdFY4ZO.js → sv-SE-XGPEYMSR-qERuvZ6s.js} +1 -1
  146. package/dist/viewer/{swimlanes-42K2YHIH-Co-B4prm.js → swimlanes-42K2YHIH-C1_2L18N.js} +1 -1
  147. package/dist/viewer/swimlanesDiagram-VR7AAH4N-ZxKOyUwv.js +8 -0
  148. package/dist/viewer/{ta-IN-2NMHFXQM-EAJkqvlH.js → ta-IN-2NMHFXQM-CtrwjuD9.js} +1 -1
  149. package/dist/viewer/{th-TH-HPSO5L25-iFl_gUpg.js → th-TH-HPSO5L25-D2ykN4P-.js} +1 -1
  150. package/dist/viewer/{timeline-definition-24CTP7MA-CY4kJUpV.js → timeline-definition-24CTP7MA-Bw3z4a18.js} +7 -7
  151. package/dist/viewer/{tr-TR-DEFEU3FU-BY4Qxw4z.js → tr-TR-DEFEU3FU-DG1l6URL.js} +1 -1
  152. package/dist/viewer/{treeView-Q6P3EWNA-CZswEJX-.js → treeView-Q6P3EWNA-DEPHUB4h.js} +1 -1
  153. package/dist/viewer/{treemap-WGGIJYW6-Bxu2ANKb.js → treemap-WGGIJYW6-fyrd1JXW.js} +1 -1
  154. package/dist/viewer/{uk-UA-QMV73CPH-B0Pj5ITY.js → uk-UA-QMV73CPH-BOWgVI7Y.js} +1 -1
  155. package/dist/viewer/{vennDiagram-4TSXK5OY-R2fJVmFw.js → vennDiagram-4TSXK5OY-ba8MnyJG.js} +1 -1
  156. package/dist/viewer/{vi-VN-M7AON7JQ-DW-lWcLk.js → vi-VN-M7AON7JQ-uVRFZJH3.js} +1 -1
  157. package/dist/viewer/{wardley-WFR3VGLG-B5ClAPZx.js → wardley-WFR3VGLG-w1K3t7u7.js} +1 -1
  158. package/dist/viewer/{wardleyDiagram-VM6X3IG4-DSbOqXHD.js → wardleyDiagram-VM6X3IG4-BXqHV7Of.js} +1 -1
  159. package/dist/viewer/{xychartDiagram-S5SC5T6Z-B8TvP47z.js → xychartDiagram-S5SC5T6Z-DDAwmSA_.js} +6 -6
  160. package/dist/viewer/{zh-CN-LNUGB5OW-DoQdr1Gr.js → zh-CN-LNUGB5OW-CG6LZlkW.js} +1 -1
  161. package/dist/viewer/{zh-HK-E62DVLB3-CL8mO9m4.js → zh-HK-E62DVLB3-B1k0qvGq.js} +1 -1
  162. package/dist/viewer/{zh-TW-RAJ6MFWO-Bn2UsB-h.js → zh-TW-RAJ6MFWO-DnRoij4Q.js} +1 -1
  163. package/package.json +14 -14
  164. package/dist/viewer/DocumentPage-CWIKqaxW.css +0 -1
  165. package/dist/viewer/bundle-full-wBDeuAI3.js +0 -1
  166. package/dist/viewer/channel-9zFn1XUZ.js +0 -1
  167. package/dist/viewer/chunk-OSK3NFVY-BaVrPSZ1.js +0 -10
  168. package/dist/viewer/chunk-PWAF6VOD-Btkhupbq.js +0 -1
  169. package/dist/viewer/classDiagram-ZZMXUADV-BbfPk5VI.js +0 -1
  170. package/dist/viewer/classDiagram-v2-VYDZK3BY-BbfPk5VI.js +0 -1
  171. package/dist/viewer/diagram-VX7I27RA-CXEsN_TH.js +0 -24
  172. package/dist/viewer/dist-3_W2uhz9.js +0 -1
  173. package/dist/viewer/dist-6YtIYN9U.js +0 -11
  174. package/dist/viewer/dist-B1Uj0j6_.js +0 -1
  175. package/dist/viewer/dist-BH2W2_kH.js +0 -23
  176. package/dist/viewer/dist-BP31qiHB.js +0 -2
  177. package/dist/viewer/dist-BZMiS25s.js +0 -1
  178. package/dist/viewer/dist-BgEiCwCY.js +0 -1
  179. package/dist/viewer/dist-BqYTu_K0.js +0 -1
  180. package/dist/viewer/dist-CAA5JL-H.js +0 -1
  181. package/dist/viewer/dist-CQMhsU7V.js +0 -1
  182. package/dist/viewer/dist-CcnKrk8J.js +0 -1
  183. package/dist/viewer/dist-CvV1imaV.js +0 -1
  184. package/dist/viewer/dist-D5HYlhLP.js +0 -1
  185. package/dist/viewer/dist-DNc6xRYL.js +0 -6
  186. package/dist/viewer/dist-DOix3dB5.js +0 -1
  187. package/dist/viewer/dist-DPawvC3r.js +0 -1
  188. package/dist/viewer/dist-DV2vWKxQ.js +0 -9
  189. package/dist/viewer/dist-D_N9ry31.js +0 -1
  190. package/dist/viewer/dist-DmNyJ7xQ.js +0 -1
  191. package/dist/viewer/dist-DvsfYDhh.js +0 -1
  192. package/dist/viewer/dist-F63P6t_j.js +0 -1
  193. package/dist/viewer/dist-GfcCd8dY.js +0 -1
  194. package/dist/viewer/dist-xklV_v9R.js +0 -1
  195. package/dist/viewer/flowDiagram-HODETNUW-rE0pM-Yy.js +0 -1
  196. package/dist/viewer/ganttDiagram-EL5Y4UJY-DSUaNw2e.js +0 -292
  197. package/dist/viewer/percentages-BXMCSKIN-MiUOXNm2.js +0 -1
  198. package/dist/viewer/pieDiagram-E7YTZNPT-7IT3IkfR.js +0 -39
  199. package/dist/viewer/stateDiagram-D77RDMKH-CHn4O4ho.js +0 -1
  200. package/dist/viewer/stateDiagram-v2-MP3YSRHH-27y2SulA.js +0 -1
  201. package/dist/viewer/subset-shared.chunk-Re1K60kh.js +0 -1
  202. package/dist/viewer/swimlanesDiagram-VR7AAH4N--fzHsdcJ.js +0 -8
@@ -0,0 +1,292 @@
1
+ import{i as e,t}from"./rolldown-runtime-COiEfhsA.js";import{A as n,B as r,C as i,D as a,E as o,F as s,G as c,H as l,I as u,J as d,K as f,L as p,M as m,N as h,O as g,P as _,Q as v,R as y,S as b,T as x,U as S,V as C,W as w,X as T,Y as E,Z as D,b as O,j as k,k as A,nt as j,q as ee,rt as te,tt as ne,w as re,x as M,z as N}from"./DocumentEditor-RfVa-8pR.js";import{g as ie}from"./chunk-75Z2AOVW-Dmt3SQH3.js";import{i as ae,n as P,t as oe}from"./src-Caqqw6Gw.js";import{n as F}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{H as se,K as ce,U as le,a as ue,c as de,s as fe,v as pe,w as me,x as I,y as he}from"./chunk-DU6HZSFF-C0GRIO4w.js";import{t as ge}from"./init-C-OQMol4.js";import{t as _e}from"./dist-CN30VTUJ.js";var ve=t(((e,t,n)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(n,(function(){return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`YYYY-MM-DDTHH:mm:ssZ`).replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),ye=t(((e,t,n)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_customParseFormat=r()})(n,(function(){var e={LTS:`h:mm:ss A`,LT:`h:mm A`,L:`MM/DD/YYYY`,LL:`MMMM D, YYYY`,LLL:`MMMM D, YYYY h:mm A`,LLLL:`dddd, MMMM D, YYYY h:mm A`},t=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d/,r=/\d\d/,i=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,o={},s=function(e){return(e=+e)+(e>68?1900:2e3)},c=function(e){return function(t){this[e]=+t}},l=[/[+-]\d\d:?(\d\d)?|Z/,function(e){(this.zone||={}).offset=function(e){if(!e||e===`Z`)return 0;var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+(+t[2]||0);return n===0?0:t[0]===`+`?-n:n}(e)}],u=function(e){var t=o[e];return t&&(t.indexOf?t:t.s.concat(t.f))},d=function(e,t){var n,r=o.meridiem;if(r){for(var i=1;i<=24;i+=1)if(e.indexOf(r(i,0,t))>-1){n=i>12;break}}else n=e===(t?`pm`:`PM`);return n},f={A:[a,function(e){this.afternoon=d(e,!1)}],a:[a,function(e){this.afternoon=d(e,!0)}],Q:[n,function(e){this.month=3*(e-1)+1}],S:[n,function(e){this.milliseconds=100*e}],SS:[r,function(e){this.milliseconds=10*e}],SSS:[/\d{3}/,function(e){this.milliseconds=+e}],s:[i,c(`seconds`)],ss:[i,c(`seconds`)],m:[i,c(`minutes`)],mm:[i,c(`minutes`)],H:[i,c(`hours`)],h:[i,c(`hours`)],HH:[i,c(`hours`)],hh:[i,c(`hours`)],D:[i,c(`day`)],DD:[r,c(`day`)],Do:[a,function(e){var t=o.ordinal,n=e.match(/\d+/);if(this.day=n[0],t)for(var r=1;r<=31;r+=1)t(r).replace(/\[|\]/g,``)===e&&(this.day=r)}],w:[i,c(`week`)],ww:[r,c(`week`)],M:[i,c(`month`)],MM:[r,c(`month`)],MMM:[a,function(e){var t=u(`months`),n=(u(`monthsShort`)||t.map((function(e){return e.slice(0,3)}))).indexOf(e)+1;if(n<1)throw Error();this.month=n%12||n}],MMMM:[a,function(e){var t=u(`months`).indexOf(e)+1;if(t<1)throw Error();this.month=t%12||t}],Y:[/[+-]?\d+/,c(`year`)],YY:[r,function(e){this.year=s(e)}],YYYY:[/\d{4}/,c(`year`)],Z:l,ZZ:l};function p(n){for(var r=n,i=o&&o.formats,a=(n=r.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,n,r){var a=r&&r.toUpperCase();return n||i[r]||e[r]||i[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))).match(t),s=a.length,c=0;c<s;c+=1){var l=a[c],u=f[l],d=u&&u[0],p=u&&u[1];a[c]=p?{regex:d,parser:p}:l.replace(/^\[|\]$/g,``)}return function(e){for(var t={},n=0,r=0;n<s;n+=1){var i=a[n];if(typeof i==`string`)r+=i.length;else{var o=i.regex,c=i.parser,l=e.slice(r),u=o.exec(l)[0];c.call(t,u),e=e.replace(u,``)}}return function(e){var t=e.afternoon;if(t!==void 0){var n=e.hours;t?n<12&&(e.hours+=12):n===12&&(e.hours=0),delete e.afternoon}}(t),t}}return function(e,t,n){n.p.customParseFormat=!0,e&&e.parseTwoDigitYear&&(s=e.parseTwoDigitYear);var r=t.prototype,i=r.parse;r.parse=function(e){var t=e.date,r=e.utc,a=e.args;this.$u=r;var s=a[1];if(typeof s==`string`){var c=!0===a[2],l=!0===a[3],u=c||l,d=a[2];l&&(d=a[2]),o=this.$locale(),!c&&d&&(o=n.Ls[d]),this.$d=function(e,t,n,r){try{if([`x`,`X`].indexOf(t)>-1)return new Date((t===`X`?1e3:1)*e);var i=p(t)(e),a=i.year,o=i.month,s=i.day,c=i.hours,l=i.minutes,u=i.seconds,d=i.milliseconds,f=i.zone,m=i.week,h=new Date,g=s||(a||o?1:h.getDate()),_=a||h.getFullYear(),v=0;a&&!o||(v=o>0?o-1:h.getMonth());var y,b=c||0,x=l||0,S=u||0,C=d||0;return f?new Date(Date.UTC(_,v,g,b,x,S,C+60*f.offset*1e3)):n?new Date(Date.UTC(_,v,g,b,x,S,C)):(y=new Date(_,v,g,b,x,S,C),m&&(y=r(y).week(m).toDate()),y)}catch{return new Date(``)}}(t,s,r,n),this.init(),d&&!0!==d&&(this.$L=this.locale(d).$L),u&&t!=this.format(s)&&(this.$d=new Date(``)),o={}}else if(s instanceof Array)for(var f=s.length,m=1;m<=f;m+=1){a[1]=s[m-1];var h=n.apply(this,a);if(h.isValid()){this.$d=h.$d,this.$L=h.$L,this.init();break}m===f&&(this.$d=new Date(``))}else i.call(this,e)}}}))}));function be(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n<t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n<i||n===void 0&&i>=i)&&(n=i)}return n}function xe(e,t){let n;if(t===void 0)for(let t of e)t!=null&&(n>t||n===void 0&&t>=t)&&(n=t);else{let r=-1;for(let i of e)(i=t(i,++r,e))!=null&&(n>i||n===void 0&&i>=i)&&(n=i)}return n}function Se(e){return e}var Ce=1,we=2,Te=3,Ee=4,De=1e-6;function Oe(e){return`translate(`+e+`,0)`}function ke(e){return`translate(0,`+e+`)`}function Ae(e){return t=>+e(t)}function je(e,t){return t=Math.max(0,e.bandwidth()-t*2)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}function Me(){return!this.__axis}function Ne(e,t){var n=[],r=null,i=null,a=6,o=6,s=3,c=typeof window<`u`&&window.devicePixelRatio>1?0:.5,l=e===Ce||e===Ee?-1:1,u=e===Ee||e===we?`x`:`y`,d=e===Ce||e===Te?Oe:ke;function f(f){var p=r??(t.ticks?t.ticks.apply(t,n):t.domain()),m=i??(t.tickFormat?t.tickFormat.apply(t,n):Se),h=Math.max(a,0)+s,g=t.range(),_=+g[0]+c,v=+g[g.length-1]+c,y=(t.bandwidth?je:Ae)(t.copy(),c),b=f.selection?f.selection():f,x=b.selectAll(`.domain`).data([null]),S=b.selectAll(`.tick`).data(p,t).order(),C=S.exit(),w=S.enter().append(`g`).attr(`class`,`tick`),T=S.select(`line`),E=S.select(`text`);x=x.merge(x.enter().insert(`path`,`.tick`).attr(`class`,`domain`).attr(`stroke`,`currentColor`)),S=S.merge(w),T=T.merge(w.append(`line`).attr(`stroke`,`currentColor`).attr(u+`2`,l*a)),E=E.merge(w.append(`text`).attr(`fill`,`currentColor`).attr(u,l*h).attr(`dy`,e===Ce?`0em`:e===Te?`0.71em`:`0.32em`)),f!==b&&(x=x.transition(f),S=S.transition(f),T=T.transition(f),E=E.transition(f),C=C.transition(f).attr(`opacity`,De).attr(`transform`,function(e){return isFinite(e=y(e))?d(e+c):this.getAttribute(`transform`)}),w.attr(`opacity`,De).attr(`transform`,function(e){var t=this.parentNode.__axis;return d((t&&isFinite(t=t(e))?t:y(e))+c)})),C.remove(),x.attr(`d`,e===Ee||e===we?o?`M`+l*o+`,`+_+`H`+c+`V`+v+`H`+l*o:`M`+c+`,`+_+`V`+v:o?`M`+_+`,`+l*o+`V`+c+`H`+v+`V`+l*o:`M`+_+`,`+c+`H`+v),S.attr(`opacity`,1).attr(`transform`,function(e){return d(y(e)+c)}),T.attr(u+`2`,l*a),E.attr(u,l*h).text(m),b.filter(Me).attr(`fill`,`none`).attr(`font-size`,10).attr(`font-family`,`sans-serif`).attr(`text-anchor`,e===we?`start`:e===Ee?`end`:`middle`),b.each(function(){this.__axis=y})}return f.scale=function(e){return arguments.length?(t=e,f):t},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(e){return arguments.length?(n=e==null?[]:Array.from(e),f):n.slice()},f.tickValues=function(e){return arguments.length?(r=e==null?null:Array.from(e),f):r&&r.slice()},f.tickFormat=function(e){return arguments.length?(i=e,f):i},f.tickSize=function(e){return arguments.length?(a=o=+e,f):a},f.tickSizeInner=function(e){return arguments.length?(a=+e,f):a},f.tickSizeOuter=function(e){return arguments.length?(o=+e,f):o},f.tickPadding=function(e){return arguments.length?(s=+e,f):s},f.offset=function(e){return arguments.length?(c=+e,f):c},f}function Pe(e){return Ne(Ce,e)}function Fe(e){return Ne(Te,e)}function Ie(e,t){e=e.slice();var n=0,r=e.length-1,i=e[n],a=e[r],o;return a<i&&(o=n,n=r,r=o,o=i,i=a,a=o),e[n]=t.floor(i),e[r]=t.ceil(a),e}var L=E(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);L.every=e=>(e=Math.floor(e),!isFinite(e)||!(e>0)?null:e>1?E(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):L),L.range;function Le(e,t,n,r,i,a){let o=[[C,1,f],[C,5,5*f],[C,15,15*f],[C,30,30*f],[a,1,w],[a,5,5*w],[a,15,15*w],[a,30,30*w],[i,1,S],[i,3,3*S],[i,6,6*S],[i,12,12*S],[r,1,l],[r,2,2*l],[n,1,ee],[t,1,c],[t,3,3*c],[e,1,d]];function s(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&typeof n.range==`function`?n:u(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a}function u(t,n,r){let i=Math.abs(n-t)/r,a=te(([,,e])=>e).right(o,i);if(a===o.length)return e.every(j(t/d,n/d,r));if(a===0)return L.every(Math.max(j(t,n,r),1));let[s,c]=o[i/o[a-1][2]<o[a][2]/i?a-1:a];return s.every(c)}return[s,u]}var[Re,ze]=Le(M,i,m,s,y,r),[Be,Ve]=Le(O,b,a,_,p,N);function He(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Ue(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function R(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}function We(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,o=e.shortDays,s=e.months,c=e.shortMonths,l=V(i),d=H(i),f=V(a),p=H(a),m=V(o),h=H(o),g=V(s),v=H(s),y=V(c),b=H(c),S={a:N,A:ie,b:ae,B:P,c:null,d:ht,e:ht,f:bt,g:jt,G:Nt,H:gt,I:_t,j:vt,L:yt,m:xt,M:St,p:oe,q:F,Q:nn,s:rn,S:Ct,u:wt,U:Tt,V:Dt,w:Ot,W:kt,x:null,X:null,y:At,Y:Mt,Z:Pt,"%":tn},C={a:se,A:ce,b:le,B:ue,c:null,d:Ft,e:Ft,f:Bt,g:Zt,G:$t,H:It,I:Lt,j:Rt,L:zt,m:Vt,M:Ht,p:de,q:fe,Q:nn,s:rn,S:Ut,u:Wt,U:Gt,V:qt,w:Jt,W:Yt,x:null,X:null,y:Xt,Y:Qt,Z:en,"%":tn},w={a:A,A:j,b:ee,B:te,c:ne,d:at,e:at,f:dt,g:tt,G:et,H:st,I:st,j:ot,L:ut,m:it,M:ct,p:O,q:rt,Q:pt,s:mt,S:lt,u:Xe,U:Ze,V:Qe,w:Ye,W:$e,x:re,X:M,y:tt,Y:et,Z:nt,"%":ft};S.x=T(n,S),S.X=T(r,S),S.c=T(t,S),C.x=T(n,C),C.X=T(r,C),C.c=T(t,C);function T(e,t){return function(n){var r=[],i=-1,a=0,o=e.length,s,c,l;for(n instanceof Date||(n=new Date(+n));++i<o;)e.charCodeAt(i)===37&&(r.push(e.slice(a,i)),(c=Ge[s=e.charAt(++i)])==null?c=s===`e`?` `:`0`:s=e.charAt(++i),(l=t[s])&&(s=l(n,c)),r.push(s),a=i+1);return r.push(e.slice(a,i)),r.join(``)}}function E(e,t){return function(n){var r=R(1900,void 0,1),i=D(r,e,n+=``,0),a,o;if(i!=n.length)return null;if(`Q`in r)return new Date(r.Q);if(`s`in r)return new Date(r.s*1e3+(`L`in r?r.L:0));if(t&&!(`Z`in r)&&(r.Z=0),`p`in r&&(r.H=r.H%12+r.p*12),r.m===void 0&&(r.m=`q`in r?r.q:0),`V`in r){if(r.V<1||r.V>53)return null;`w`in r||(r.w=1),`Z`in r?(a=Ue(R(r.y,0,1)),o=a.getUTCDay(),a=o>4||o===0?k.ceil(a):k(a),a=u.offset(a,(r.V-1)*7),r.y=a.getUTCFullYear(),r.m=a.getUTCMonth(),r.d=a.getUTCDate()+(r.w+6)%7):(a=He(R(r.y,0,1)),o=a.getDay(),a=o>4||o===0?x.ceil(a):x(a),a=_.offset(a,(r.V-1)*7),r.y=a.getFullYear(),r.m=a.getMonth(),r.d=a.getDate()+(r.w+6)%7)}else(`W`in r||`U`in r)&&(`w`in r||(r.w=`u`in r?r.u%7:+(`W`in r)),o=`Z`in r?Ue(R(r.y,0,1)).getUTCDay():He(R(r.y,0,1)).getDay(),r.m=0,r.d=`W`in r?(r.w+6)%7+r.W*7-(o+5)%7:r.w+r.U*7-(o+6)%7);return`Z`in r?(r.H+=r.Z/100|0,r.M+=r.Z%100,Ue(r)):He(r)}}function D(e,t,n,r){for(var i=0,a=t.length,o=n.length,s,c;i<a;){if(r>=o)return-1;if(s=t.charCodeAt(i++),s===37){if(s=t.charAt(i++),c=w[s in Ge?t.charAt(i++):s],!c||(r=c(e,n,r))<0)return-1}else if(s!=n.charCodeAt(r++))return-1}return r}function O(e,t,n){var r=l.exec(t.slice(n));return r?(e.p=d.get(r[0].toLowerCase()),n+r[0].length):-1}function A(e,t,n){var r=m.exec(t.slice(n));return r?(e.w=h.get(r[0].toLowerCase()),n+r[0].length):-1}function j(e,t,n){var r=f.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1}function ee(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1}function te(e,t,n){var r=g.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1}function ne(e,n,r){return D(e,t,n,r)}function re(e,t,r){return D(e,n,t,r)}function M(e,t,n){return D(e,r,t,n)}function N(e){return o[e.getDay()]}function ie(e){return a[e.getDay()]}function ae(e){return c[e.getMonth()]}function P(e){return s[e.getMonth()]}function oe(e){return i[+(e.getHours()>=12)]}function F(e){return 1+~~(e.getMonth()/3)}function se(e){return o[e.getUTCDay()]}function ce(e){return a[e.getUTCDay()]}function le(e){return c[e.getUTCMonth()]}function ue(e){return s[e.getUTCMonth()]}function de(e){return i[+(e.getUTCHours()>=12)]}function fe(e){return 1+~~(e.getUTCMonth()/3)}return{format:function(e){var t=T(e+=``,S);return t.toString=function(){return e},t},parse:function(e){var t=E(e+=``,!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=T(e+=``,C);return t.toString=function(){return e},t},utcParse:function(e){var t=E(e+=``,!0);return t.toString=function(){return e},t}}}var Ge={"-":``,_:` `,0:`0`},z=/^\s*\d+/,Ke=/^%/,qe=/[\\^$*+?|[\]().{}]/g;function B(e,t,n){var r=e<0?`-`:``,i=(r?-e:e)+``,a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function Je(e){return e.replace(qe,`\\$&`)}function V(e){return RegExp(`^(?:`+e.map(Je).join(`|`)+`)`,`i`)}function H(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function Ye(e,t,n){var r=z.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function Xe(e,t,n){var r=z.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Ze(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Qe(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function $e(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function et(e,t,n){var r=z.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function tt(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function nt(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||`00`)),n+r[0].length):-1}function rt(e,t,n){var r=z.exec(t.slice(n,n+1));return r?(e.q=r[0]*3-3,n+r[0].length):-1}function it(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function at(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function ot(e,t,n){var r=z.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function st(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function ct(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function lt(e,t,n){var r=z.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function ut(e,t,n){var r=z.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function dt(e,t,n){var r=z.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function ft(e,t,n){var r=Ke.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function pt(e,t,n){var r=z.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function mt(e,t,n){var r=z.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function ht(e,t){return B(e.getDate(),t,2)}function gt(e,t){return B(e.getHours(),t,2)}function _t(e,t){return B(e.getHours()%12||12,t,2)}function vt(e,t){return B(1+_.count(O(e),e),t,3)}function yt(e,t){return B(e.getMilliseconds(),t,3)}function bt(e,t){return yt(e,t)+`000`}function xt(e,t){return B(e.getMonth()+1,t,2)}function St(e,t){return B(e.getMinutes(),t,2)}function Ct(e,t){return B(e.getSeconds(),t,2)}function wt(e){var t=e.getDay();return t===0?7:t}function Tt(e,t){return B(a.count(O(e)-1,e),t,2)}function Et(e){var t=e.getDay();return t>=4||t===0?g(e):g.ceil(e)}function Dt(e,t){return e=Et(e),B(g.count(O(e),e)+(O(e).getDay()===4),t,2)}function Ot(e){return e.getDay()}function kt(e,t){return B(x.count(O(e)-1,e),t,2)}function At(e,t){return B(e.getFullYear()%100,t,2)}function jt(e,t){return e=Et(e),B(e.getFullYear()%100,t,2)}function Mt(e,t){return B(e.getFullYear()%1e4,t,4)}function Nt(e,t){var n=e.getDay();return e=n>=4||n===0?g(e):g.ceil(e),B(e.getFullYear()%1e4,t,4)}function Pt(e){var t=e.getTimezoneOffset();return(t>0?`-`:(t*=-1,`+`))+B(t/60|0,`0`,2)+B(t%60,`0`,2)}function Ft(e,t){return B(e.getUTCDate(),t,2)}function It(e,t){return B(e.getUTCHours(),t,2)}function Lt(e,t){return B(e.getUTCHours()%12||12,t,2)}function Rt(e,t){return B(1+u.count(M(e),e),t,3)}function zt(e,t){return B(e.getUTCMilliseconds(),t,3)}function Bt(e,t){return zt(e,t)+`000`}function Vt(e,t){return B(e.getUTCMonth()+1,t,2)}function Ht(e,t){return B(e.getUTCMinutes(),t,2)}function Ut(e,t){return B(e.getUTCSeconds(),t,2)}function Wt(e){var t=e.getUTCDay();return t===0?7:t}function Gt(e,t){return B(m.count(M(e)-1,e),t,2)}function Kt(e){var t=e.getUTCDay();return t>=4||t===0?h(e):h.ceil(e)}function qt(e,t){return e=Kt(e),B(h.count(M(e),e)+(M(e).getUTCDay()===4),t,2)}function Jt(e){return e.getUTCDay()}function Yt(e,t){return B(k.count(M(e)-1,e),t,2)}function Xt(e,t){return B(e.getUTCFullYear()%100,t,2)}function Zt(e,t){return e=Kt(e),B(e.getUTCFullYear()%100,t,2)}function Qt(e,t){return B(e.getUTCFullYear()%1e4,t,4)}function $t(e,t){var n=e.getUTCDay();return e=n>=4||n===0?h(e):h.ceil(e),B(e.getUTCFullYear()%1e4,t,4)}function en(){return`+0000`}function tn(){return`%`}function nn(e){return+e}function rn(e){return Math.floor(e/1e3)}var U,an;on({dateTime:`%x, %X`,date:`%-m/%-d/%Y`,time:`%-I:%M:%S %p`,periods:[`AM`,`PM`],days:[`Sunday`,`Monday`,`Tuesday`,`Wednesday`,`Thursday`,`Friday`,`Saturday`],shortDays:[`Sun`,`Mon`,`Tue`,`Wed`,`Thu`,`Fri`,`Sat`],months:[`January`,`February`,`March`,`April`,`May`,`June`,`July`,`August`,`September`,`October`,`November`,`December`],shortMonths:[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`]});function on(e){return U=We(e),an=U.format,U.parse,U.utcFormat,U.utcParse,U}function sn(e){return new Date(e)}function cn(e){return e instanceof Date?+e:+new Date(+e)}function ln(e,t,n,r,i,a,o,s,c,l){var u=D(),d=u.invert,f=u.domain,p=l(`.%L`),m=l(`:%S`),h=l(`%I:%M`),g=l(`%I %p`),_=l(`%a %d`),y=l(`%b %d`),b=l(`%B`),x=l(`%Y`);function S(e){return(c(e)<e?p:s(e)<e?m:o(e)<e?h:a(e)<e?g:r(e)<e?i(e)<e?_:y:n(e)<e?b:x)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,cn)):f().map(sn)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return t==null?S:l(t)},u.nice=function(e){var n=f();return(!e||typeof e.range!=`function`)&&(e=t(n[0],n[n.length-1],e??10)),e?f(Ie(n,e)):u},u.copy=function(){return v(u,ln(e,t,n,r,i,a,o,s,c,l))},u}function un(){return ge.apply(ln(Be,Ve,O,b,a,_,p,N,C,an).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}var dn=t(((e,t,n)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isoWeek=r()})(n,(function(){return function(e,t,n){var r=function(e){return e.add(4-e.isoWeekday(),`day`)},i=t.prototype;i.isoWeekYear=function(){return r(this).year()},i.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),`day`);var t,i,a,o,s=r(this),c=(t=this.isoWeekYear(),i=this.$u,a=(i?n.utc:n)().year(t).startOf(`year`),o=4-a.isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,`day`));return s.diff(c,`week`)+1},i.isoWeekday=function(e){return this.$utils().u(e)?this.day()||7:this.day(this.day()%7?e:e-7)};var a=i.startOf;i.startOf=function(e,t){var n=this.$utils(),r=!!n.u(t)||t;return n.p(e)===`isoweek`?r?this.date(this.date()-(this.isoWeekday()-1)).startOf(`day`):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf(`day`):a.bind(this)(e,t)}}}))})),fn=t(((e,t,n)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_duration=r()})(n,(function(){var e,t,n=1e3,r=6e4,i=36e5,a=864e5,o=31536e6,s=2628e6,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,l=/\[([^\]]+)]|YYYY|YY|Y|M{1,2}|D{1,2}|H{1,2}|m{1,2}|s{1,2}|SSS/g,u={years:o,months:s,days:a,hours:i,minutes:r,seconds:n,milliseconds:1,weeks:6048e5},d=function(e){return e instanceof v},f=function(e,t,n){return new v(e,n,t.$l)},p=function(e){return t.p(e)+`s`},m=function(e){return e<0},h=function(e){return m(e)?Math.ceil(e):Math.floor(e)},g=function(e){return Math.abs(e)},_=function(e,t){return e?m(e)?{negative:!0,format:``+g(e)+t}:{negative:!1,format:``+e+t}:{negative:!1,format:``}},v=function(){function m(e,t,n){var r=this;if(this.$d={},this.$l=n,e===void 0&&(this.$ms=0,this.parseFromMilliseconds()),t)return f(e*u[p(t)],this);if(typeof e==`number`)return this.$ms=e,this.parseFromMilliseconds(),this;if(typeof e==`object`)return Object.keys(e).forEach((function(t){r.$d[p(t)]=e[t]})),this.calMilliseconds(),this;if(typeof e==`string`){var i=e.match(c);if(i){var a=i.slice(2).map((function(e){return e==null?0:Number(e)}));return this.$d.years=a[0],this.$d.months=a[1],this.$d.weeks=a[2],this.$d.days=a[3],this.$d.hours=a[4],this.$d.minutes=a[5],this.$d.seconds=a[6],this.calMilliseconds(),this}}return this}var g=m.prototype;return g.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},g.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=h(e/o),e%=o,this.$d.months=h(e/s),e%=s,this.$d.days=h(e/a),e%=a,this.$d.hours=h(e/i),e%=i,this.$d.minutes=h(e/r),e%=r,this.$d.seconds=h(e/n),e%=n,this.$d.milliseconds=e},g.toISOString=function(){var e=_(this.$d.years,`Y`),t=_(this.$d.months,`M`),n=+this.$d.days||0;this.$d.weeks&&(n+=7*this.$d.weeks);var r=_(n,`D`),i=_(this.$d.hours,`H`),a=_(this.$d.minutes,`M`),o=this.$d.seconds||0;this.$d.milliseconds&&(o+=this.$d.milliseconds/1e3,o=Math.round(1e3*o)/1e3);var s=_(o,`S`),c=e.negative||t.negative||r.negative||i.negative||a.negative||s.negative,l=i.format||a.format||s.format?`T`:``,u=(c?`-`:``)+`P`+e.format+t.format+r.format+l+i.format+a.format+s.format;return u===`P`||u===`-P`?`P0D`:u},g.toJSON=function(){return this.toISOString()},g.format=function(e){var n=e||`YYYY-MM-DDTHH:mm:ss`,r={Y:this.$d.years,YY:t.s(this.$d.years,2,`0`),YYYY:t.s(this.$d.years,4,`0`),M:this.$d.months,MM:t.s(this.$d.months,2,`0`),D:this.$d.days,DD:t.s(this.$d.days,2,`0`),H:this.$d.hours,HH:t.s(this.$d.hours,2,`0`),m:this.$d.minutes,mm:t.s(this.$d.minutes,2,`0`),s:this.$d.seconds,ss:t.s(this.$d.seconds,2,`0`),SSS:t.s(this.$d.milliseconds,3,`0`)};return n.replace(l,(function(e,t){return t||String(r[e])}))},g.as=function(e){return this.$ms/u[p(e)]},g.get=function(e){var t=this.$ms,n=p(e);return n===`milliseconds`?t%=1e3:t=n===`weeks`?h(t/u[n]):this.$d[n],t||0},g.add=function(e,t,n){var r=t?e*u[p(t)]:d(e)?e.$ms:f(e,this).$ms;return f(this.$ms+r*(n?-1:1),this)},g.subtract=function(e,t){return this.add(e,t,!0)},g.locale=function(e){var t=this.clone();return t.$l=e,t},g.clone=function(){return f(this.$ms,this)},g.humanize=function(t){return e().add(this.$ms,`ms`).locale(this.$l).fromNow(!t)},g.valueOf=function(){return this.asMilliseconds()},g.milliseconds=function(){return this.get(`milliseconds`)},g.asMilliseconds=function(){return this.as(`milliseconds`)},g.seconds=function(){return this.get(`seconds`)},g.asSeconds=function(){return this.as(`seconds`)},g.minutes=function(){return this.get(`minutes`)},g.asMinutes=function(){return this.as(`minutes`)},g.hours=function(){return this.get(`hours`)},g.asHours=function(){return this.as(`hours`)},g.days=function(){return this.get(`days`)},g.asDays=function(){return this.as(`days`)},g.weeks=function(){return this.get(`weeks`)},g.asWeeks=function(){return this.as(`weeks`)},g.months=function(){return this.get(`months`)},g.asMonths=function(){return this.as(`months`)},g.years=function(){return this.get(`years`)},g.asYears=function(){return this.as(`years`)},m}(),y=function(e,t,n){return e.add(t.years()*n,`y`).add(t.months()*n,`M`).add(t.days()*n,`d`).add(t.hours()*n,`h`).add(t.minutes()*n,`m`).add(t.seconds()*n,`s`).add(t.milliseconds()*n,`ms`)};return function(n,r,i){e=i,t=i().$utils(),i.duration=function(e,t){return f(e,{$l:i.locale()},t)},i.isDuration=d;var a=r.prototype.add,o=r.prototype.subtract;r.prototype.add=function(e,t){return d(e)?y(this,e,1):a.bind(this)(e,t)},r.prototype.subtract=function(e,t){return d(e)?y(this,e,-1):o.bind(this)(e,t)}}}))})),pn=_e(),W=e(ae(),1),mn=e(dn(),1),hn=e(ye(),1),gn=e(ve(),1),_n=e(fn(),1),vn=(function(){var e=F(function(e,t,n,r){for(n||={},r=e.length;r--;n[e[r]]=t);return n},`o`),t=[6,8,10,12,13,14,15,16,17,18,20,21,22,23,24,25,26,27,28,29,30,31,33,35,36,38,40],n=[1,26],r=[1,27],i=[1,28],a=[1,29],o=[1,30],s=[1,31],c=[1,32],l=[1,33],u=[1,34],d=[1,9],f=[1,10],p=[1,11],m=[1,12],h=[1,13],g=[1,14],_=[1,15],v=[1,16],y=[1,19],b=[1,20],x=[1,21],S=[1,22],C=[1,23],w=[1,25],T=[1,35],E={trace:F(function(){},`trace`),yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,weekend:19,weekend_friday:20,weekend_saturday:21,dateFormat:22,inclusiveEndDates:23,topAxis:24,axisFormat:25,tickInterval:26,excludes:27,includes:28,todayMarker:29,title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,section:36,clickStatement:37,taskTxt:38,taskData:39,click:40,callbackname:41,callbackargs:42,href:43,clickStatementDebug:44,$accept:0,$end:1},terminals_:{2:`error`,4:`gantt`,6:`EOF`,8:`SPACE`,10:`NL`,12:`weekday_monday`,13:`weekday_tuesday`,14:`weekday_wednesday`,15:`weekday_thursday`,16:`weekday_friday`,17:`weekday_saturday`,18:`weekday_sunday`,20:`weekend_friday`,21:`weekend_saturday`,22:`dateFormat`,23:`inclusiveEndDates`,24:`topAxis`,25:`axisFormat`,26:`tickInterval`,27:`excludes`,28:`includes`,29:`todayMarker`,30:`title`,31:`acc_title`,32:`acc_title_value`,33:`acc_descr`,34:`acc_descr_value`,35:`acc_descr_multiline_value`,36:`section`,38:`taskTxt`,39:`taskData`,40:`click`,41:`callbackname`,42:`callbackargs`,43:`href`},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[19,1],[19,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[37,2],[37,3],[37,3],[37,4],[37,3],[37,4],[37,2],[44,2],[44,3],[44,3],[44,4],[44,3],[44,4],[44,2]],performAction:F(function(e,t,n,r,i,a,o){var s=a.length-1;switch(i){case 1:return a[s-1];case 2:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 6:case 7:this.$=[];break;case 8:r.setWeekday(`monday`);break;case 9:r.setWeekday(`tuesday`);break;case 10:r.setWeekday(`wednesday`);break;case 11:r.setWeekday(`thursday`);break;case 12:r.setWeekday(`friday`);break;case 13:r.setWeekday(`saturday`);break;case 14:r.setWeekday(`sunday`);break;case 15:r.setWeekend(`friday`);break;case 16:r.setWeekend(`saturday`);break;case 17:r.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 18:r.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 19:r.TopAxis(),this.$=a[s].substr(8);break;case 20:r.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 21:r.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 22:r.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 23:r.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 24:r.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 27:r.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 28:this.$=a[s].trim(),r.setAccTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),r.setAccDescription(this.$);break;case 31:r.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 33:r.addTask(a[s-1],a[s]),this.$=`task`;break;case 34:this.$=a[s-1],r.setClickEvent(a[s-1],a[s],null);break;case 35:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],a[s]);break;case 36:this.$=a[s-2],r.setClickEvent(a[s-2],a[s-1],null),r.setLink(a[s-2],a[s]);break;case 37:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-2],a[s-1]),r.setLink(a[s-3],a[s]);break;case 38:this.$=a[s-2],r.setClickEvent(a[s-2],a[s],null),r.setLink(a[s-2],a[s-1]);break;case 39:this.$=a[s-3],r.setClickEvent(a[s-3],a[s-1],a[s]),r.setLink(a[s-3],a[s-2]);break;case 40:this.$=a[s-1],r.setLink(a[s-1],a[s]);break;case 41:case 47:this.$=a[s-1]+` `+a[s];break;case 42:case 43:case 45:this.$=a[s-2]+` `+a[s-1]+` `+a[s];break;case 44:case 46:this.$=a[s-3]+` `+a[s-2]+` `+a[s-1]+` `+a[s]}},`anonymous`),table:[{3:1,4:[1,2]},{1:[3]},e(t,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:r,14:i,15:a,16:o,17:s,18:c,19:18,20:l,21:u,22:d,23:f,24:p,25:m,26:h,27:g,28:_,29:v,30:y,31:b,33:x,35:S,36:C,37:24,38:w,40:T},e(t,[2,7],{1:[2,1]}),e(t,[2,3]),{9:36,11:17,12:n,13:r,14:i,15:a,16:o,17:s,18:c,19:18,20:l,21:u,22:d,23:f,24:p,25:m,26:h,27:g,28:_,29:v,30:y,31:b,33:x,35:S,36:C,37:24,38:w,40:T},e(t,[2,5]),e(t,[2,6]),e(t,[2,17]),e(t,[2,18]),e(t,[2,19]),e(t,[2,20]),e(t,[2,21]),e(t,[2,22]),e(t,[2,23]),e(t,[2,24]),e(t,[2,25]),e(t,[2,26]),e(t,[2,27]),{32:[1,37]},{34:[1,38]},e(t,[2,30]),e(t,[2,31]),e(t,[2,32]),{39:[1,39]},e(t,[2,8]),e(t,[2,9]),e(t,[2,10]),e(t,[2,11]),e(t,[2,12]),e(t,[2,13]),e(t,[2,14]),e(t,[2,15]),e(t,[2,16]),{41:[1,40],43:[1,41]},e(t,[2,4]),e(t,[2,28]),e(t,[2,29]),e(t,[2,33]),e(t,[2,34],{42:[1,42],43:[1,43]}),e(t,[2,40],{41:[1,44]}),e(t,[2,35],{43:[1,45]}),e(t,[2,36]),e(t,[2,38],{42:[1,46]}),e(t,[2,37]),e(t,[2,39])],defaultActions:{},parseError:F(function(e,t){if(t.recoverable)this.trace(e);else{var n=Error(e);throw n.hash=t,n}},`parseError`),parse:F(function(e){var t=this,n=[0],r=[],i=[null],a=[],o=this.table,s=``,c=0,l=0,u=0,d=2,f=1,p=a.slice.call(arguments,1),m=Object.create(this.lexer),h={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(h.yy[g]=this.yy[g]);m.setInput(e,h.yy),h.yy.lexer=m,h.yy.parser=this,m.yylloc===void 0&&(m.yylloc={});var _=m.yylloc;a.push(_);var v=m.options&&m.options.ranges;this.parseError=typeof h.yy.parseError==`function`?h.yy.parseError:Object.getPrototypeOf(this).parseError;function y(e){n.length-=2*e,i.length-=e,a.length-=e}F(y,`popStack`);function b(){var e=r.pop()||m.lex()||f;return typeof e!=`number`&&(e instanceof Array&&(r=e,e=r.pop()),e=t.symbols_[e]||e),e}F(b,`lex`);for(var x,S,C,w,T,E={},D,O,k,A;;){if(C=n[n.length-1],this.defaultActions[C]?w=this.defaultActions[C]:(x??=b(),w=o[C]&&o[C][x]),w===void 0||!w.length||!w[0]){var j=``;for(D in A=[],o[C])this.terminals_[D]&&D>d&&A.push(`'`+this.terminals_[D]+`'`);j=m.showPosition?`Parse error on line `+(c+1)+`:
2
+ `+m.showPosition()+`
3
+ Expecting `+A.join(`, `)+`, got '`+(this.terminals_[x]||x)+`'`:`Parse error on line `+(c+1)+`: Unexpected `+(x==f?`end of input`:`'`+(this.terminals_[x]||x)+`'`),this.parseError(j,{text:m.match,token:this.terminals_[x]||x,line:m.yylineno,loc:_,expected:A})}if(w[0]instanceof Array&&w.length>1)throw Error(`Parse Error: multiple actions possible at state: `+C+`, token: `+x);switch(w[0]){case 1:n.push(x),i.push(m.yytext),a.push(m.yylloc),n.push(w[1]),x=null,S?(x=S,S=null):(l=m.yyleng,s=m.yytext,c=m.yylineno,_=m.yylloc,u>0&&u--);break;case 2:if(O=this.productions_[w[1]][1],E.$=i[i.length-O],E._$={first_line:a[a.length-(O||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(O||1)].first_column,last_column:a[a.length-1].last_column},v&&(E._$.range=[a[a.length-(O||1)].range[0],a[a.length-1].range[1]]),T=this.performAction.apply(E,[s,l,c,h.yy,w[1],i,a].concat(p)),T!==void 0)return T;O&&(n=n.slice(0,-1*O*2),i=i.slice(0,-1*O),a=a.slice(0,-1*O)),n.push(this.productions_[w[1]][0]),i.push(E.$),a.push(E._$),k=o[n[n.length-2]][n[n.length-1]],n.push(k);break;case 3:return!0}}return!0},`parse`)};E.lexer=(function(){return{EOF:1,parseError:F(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},`parseError`),setInput:F(function(e,t){return this.yy=t||this.yy||{},this._input=e,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:F(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.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),e},`input`),unput:F(function(e){var t=e.length,n=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=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),n.length-1&&(this.yylineno-=n.length-1);var i=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:n?(n.length===r.length?this.yylloc.first_column:0)+r[r.length-n.length].length-n[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},`unput`),more:F(function(){return this._more=!0,this},`more`),reject:F(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError(`Lexical error on line `+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
+ `+this.showPosition(),{text:``,token:null,line:this.yylineno});return this},`reject`),less:F(function(e){this.unput(this.match.slice(e))},`less`),pastInput:F(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?`...`:``)+e.substr(-20).replace(/\n/g,``)},`pastInput`),upcomingInput:F(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?`...`:``)).replace(/\n/g,``)},`upcomingInput`),showPosition:F(function(){var e=this.pastInput(),t=Array(e.length+1).join(`-`);return e+this.upcomingInput()+`
5
+ `+t+`^`},`showPosition`),test_match:F(function(e,t){var n,r,i;if(this.options.backtrack_lexer&&(i={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&&(i.yylloc.range=this.yylloc.range.slice(0))),r=e[0].match(/(?:\r\n?|\n).*/g),r&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,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(e[0].length),this.matched+=e[0],n=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in i)this[a]=i[a];return!1}return!1},`test_match`),next:F(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var e,t,n,r;this._more||(this.yytext=``,this.match=``);for(var i=this._currentRules(),a=0;a<i.length;a++)if(n=this._input.match(this.rules[i[a]]),n&&(!t||n[0].length>t[0].length)){if(t=n,r=a,this.options.backtrack_lexer){if(e=this.test_match(n,i[a]),e!==!1)return e;if(this._backtrack){t=!1;continue}return!1}if(!this.options.flex)break}return t?(e=this.test_match(t,i[r]),e!==!1&&e):this._input===``?this.EOF:this.parseError(`Lexical error on line `+(this.yylineno+1)+`. Unrecognized text.
6
+ `+this.showPosition(),{text:``,token:null,line:this.yylineno})},`next`),lex:F(function(){return this.next()||this.lex()},`lex`),begin:F(function(e){this.conditionStack.push(e)},`begin`),popState:F(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},`popState`),_currentRules:F(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:F(function(e){return e=this.conditionStack.length-1-Math.abs(e||0),e>=0?this.conditionStack[e]:`INITIAL`},`topState`),pushState:F(function(e){this.begin(e)},`pushState`),stateStackSize:F(function(){return this.conditionStack.length},`stateStackSize`),options:{"case-insensitive":!0},performAction:F(function(e,t,n,r){switch(n){case 0:return this.begin(`open_directive`),`open_directive`;case 1:return this.begin(`acc_title`),31;case 2:return this.popState(),`acc_title_value`;case 3:return this.begin(`acc_descr`),33;case 4:return this.popState(),`acc_descr_value`;case 5:this.begin(`acc_descr_multiline`);break;case 6:this.popState();break;case 7:return`acc_descr_multiline_value`;case 8:break;case 9:break;case 10:break;case 11:return 10;case 12:break;case 13:break;case 14:this.begin(`href`);break;case 15:this.popState();break;case 16:return 43;case 17:this.begin(`callbackname`);break;case 18:this.popState();break;case 19:this.popState(),this.begin(`callbackargs`);break;case 20:return 41;case 21:this.popState();break;case 22:return 42;case 23:this.begin(`click`);break;case 24:this.popState();break;case 25:return 40;case 26:return 4;case 27:return 22;case 28:return 23;case 29:return 24;case 30:return 25;case 31:return 26;case 32:return 28;case 33:return 27;case 34:return 29;case 35:return 12;case 36:return 13;case 37:return 14;case 38:return 15;case 39:return 16;case 40:return 17;case 41:return 18;case 42:return 20;case 43:return 21;case 44:return`date`;case 45:return 30;case 46:return`accDescription`;case 47:return 36;case 48:return 38;case 49:return 39;case 50:return`:`;case 51:return 6;case 52:return`INVALID`}},`anonymous`),rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:weekend\s+friday\b)/i,/^(?:weekend\s+saturday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^\n]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^\n]+)/i,/^(?:[^:\n]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[21,22],inclusive:!1},callbackname:{rules:[18,19,20],inclusive:!1},href:{rules:[15,16],inclusive:!1},click:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,17,23,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52],inclusive:!0}}}})();function D(){this.yy={}}return F(D,`Parser`),D.prototype=E,E.Parser=D,new D})();vn.parser=vn;var yn=vn;W.default.extend(mn.default),W.default.extend(hn.default),W.default.extend(gn.default);var bn={friday:5,saturday:6},G=``,xn=``,Sn=void 0,Cn=``,K=[],q=[],wn=new Map,Tn=[],En=[],J=``,Dn=``,On=[`active`,`done`,`crit`,`milestone`,`vert`],kn=[],Y=``,An=!1,jn=!1,Mn=`sunday`,Nn=`saturday`,Pn=0,Fn=F(function(){Tn=[],En=[],J=``,kn=[],hr=0,vr=void 0,yr=void 0,Z=[],G=``,xn=``,Dn=``,Sn=void 0,Cn=``,K=[],q=[],An=!1,jn=!1,Pn=0,wn=new Map,Y=``,ue(),Mn=`sunday`,Nn=`saturday`},`clear`),In=F(function(e){Y=e},`setDiagramId`),Ln=F(function(e){xn=e},`setAxisFormat`),Rn=F(function(){return xn},`getAxisFormat`),zn=F(function(e){Sn=e},`setTickInterval`),Bn=F(function(){return Sn},`getTickInterval`),Vn=F(function(e){Cn=e},`setTodayMarker`),Hn=F(function(){return Cn},`getTodayMarker`),Un=F(function(e){G=e},`setDateFormat`),Wn=F(function(){An=!0},`enableInclusiveEndDates`),Gn=F(function(){return An},`endDatesAreInclusive`),Kn=F(function(){jn=!0},`enableTopAxis`),qn=F(function(){return jn},`topAxisEnabled`),Jn=F(function(e){Dn=e},`setDisplayMode`),Yn=F(function(){return Dn},`getDisplayMode`),Xn=F(function(){return G},`getDateFormat`),Zn=F((e,t)=>{let n=t.toLowerCase().split(/[\s,]+/).filter(e=>e!==``);return[...new Set([...e,...n])]},`mergeTokens`),Qn=F(function(e){K=Zn(K,e)},`setIncludes`),$n=F(function(){return K},`getIncludes`),er=F(function(e){q=Zn(q,e)},`setExcludes`),tr=F(function(){return q},`getExcludes`),nr=F(function(){return wn},`getLinks`),rr=F(function(e){J=e,Tn.push(e)},`addSection`),ir=F(function(){return Tn},`getSections`),ar=F(function(){let e=Cr(),t=0;for(;!e&&t<10;)e=Cr(),t++;return En=Z,En},`getTasks`),or=F(function(e,t,n,r){let i=e.format(t.trim()),a=e.format(`YYYY-MM-DD`);return r.includes(i)||r.includes(a)?!1:n.includes(`weekends`)&&(e.isoWeekday()===bn[Nn]||e.isoWeekday()===bn[Nn]+1)||n.includes(e.format(`dddd`).toLowerCase())?!0:n.includes(i)||n.includes(a)},`isInvalidDate`),sr=F(function(e){Mn=e},`setWeekday`),cr=F(function(){return Mn},`getWeekday`),lr=F(function(e){Nn=e},`setWeekend`),ur=F(function(e,t,n,r){if(!n.length||e.manualEndTime)return;let i;i=e.startTime instanceof Date?(0,W.default)(e.startTime):(0,W.default)(e.startTime,t,!0),i=i.add(1,`d`);let a;a=e.endTime instanceof Date?(0,W.default)(e.endTime):(0,W.default)(e.endTime,t,!0);let[o,s]=dr(i,a,t,n,r);e.endTime=o.toDate(),e.renderEndTime=s},`checkTaskDates`),dr=F(function(e,t,n,r,i){let a=!1,o=null,s=t.add(1e4,`d`);for(;e<=t;){if(a||(o=t.toDate()),a=or(e,n,r,i),a&&(t=t.add(1,`d`),t>s))throw Error("Failed to find a valid date that was not excluded by `excludes` after 10,000 iterations.");e=e.add(1,`d`)}return[t,o]},`fixTaskDates`),fr=F(function(e,t,n){if(n=n.trim(),F(e=>{let t=e.trim();return t===`x`||t===`X`},`isTimestampFormat`)(t)&&/^\d+$/.test(n))return new Date(Number(n));let r=/^after\s+(?<ids>[\d\w- ]+)/.exec(n);if(r!==null){let e=null;for(let t of r.groups.ids.split(` `)){let n=Q(t);n!==void 0&&(!e||n.endTime>e.endTime)&&(e=n)}if(e)return e.endTime;let t=new Date;return t.setHours(0,0,0,0),t}let i=(0,W.default)(n,t.trim(),!0);if(i.isValid())return i.toDate();{P.debug(`Invalid date:`+n),P.debug(`With date format:`+t.trim());let e=new Date(n);if(e===void 0||isNaN(e.getTime())||e.getFullYear()<-1e4||e.getFullYear()>1e4)throw Error(`Invalid date:`+n);return e}},`getStartDate`),pr=F(function(e){let t=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(e.trim());return t===null?[NaN,`ms`]:[Number.parseFloat(t[1]),t[2]]},`parseDuration`),mr=F(function(e,t,n,r=!1){n=n.trim();let i=/^until\s+(?<ids>[\d\w- ]+)/.exec(n);if(i!==null){let e=null;for(let t of i.groups.ids.split(` `)){let n=Q(t);n!==void 0&&(!e||n.startTime<e.startTime)&&(e=n)}if(e)return e.startTime;let t=new Date;return t.setHours(0,0,0,0),t}let a=(0,W.default)(n,t.trim(),!0);if(a.isValid())return r&&(a=a.add(1,`d`)),a.toDate();let o=(0,W.default)(e),[s,c]=pr(n);if(!Number.isNaN(s)){let e=o.add(s,c);e.isValid()&&(o=e)}return o.toDate()},`getEndDate`),hr=0,X=F(function(e){return e===void 0?(hr+=1,`task`+hr):e},`parseId`),gr=F(function(e,t){let n;n=t.substr(0,1)===`:`?t.substr(1,t.length):t;let r=n.split(`,`),i={};kr(r,i,On);for(let e=0;e<r.length;e++)r[e]=r[e].trim();let a=``;switch(r.length){case 1:i.id=X(),i.startTime=e.endTime,a=r[0];break;case 2:i.id=X(),i.startTime=fr(void 0,G,r[0]),a=r[1];break;case 3:i.id=X(r[0]),i.startTime=fr(void 0,G,r[1]),a=r[2]}return a&&(i.endTime=mr(i.startTime,G,a,An),i.manualEndTime=(0,W.default)(a,`YYYY-MM-DD`,!0).isValid(),ur(i,G,q,K)),i},`compileData`),_r=F(function(e,t){let n;n=t.substr(0,1)===`:`?t.substr(1,t.length):t;let r=n.split(`,`),i={};kr(r,i,On);for(let e=0;e<r.length;e++)r[e]=r[e].trim();switch(r.length){case 1:i.id=X(),i.startTime={type:`prevTaskEnd`,id:e},i.endTime={data:r[0]};break;case 2:i.id=X(),i.startTime={type:`getStartDate`,startData:r[0]},i.endTime={data:r[1]};break;case 3:i.id=X(r[0]),i.startTime={type:`getStartDate`,startData:r[1]},i.endTime={data:r[2]}}return i},`parseData`),vr,yr,Z=[],br={},xr=F(function(e,t){let n={section:J,type:J,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:t},task:e,classes:[]},r=_r(yr,t);n.raw.startTime=r.startTime,n.raw.endTime=r.endTime,n.id=r.id,n.prevTaskId=yr,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,n.vert?n.order=-1:(n.order=Pn,Pn++);let i=Z.push(n);yr=n.id,br[n.id]=i-1},`addTask`),Q=F(function(e){let t=br[e];return Z[t]},`findTaskById`),Sr=F(function(e,t){let n={section:J,type:J,description:e,task:e,classes:[]},r=gr(vr,t);n.startTime=r.startTime,n.endTime=r.endTime,n.id=r.id,n.active=r.active,n.done=r.done,n.crit=r.crit,n.milestone=r.milestone,n.vert=r.vert,vr=n,En.push(n)},`addTaskOrg`),Cr=F(function(){let e=F(function(e){let t=Z[e],n=``;switch(Z[e].raw.startTime.type){case`prevTaskEnd`:t.startTime=Q(t.prevTaskId).endTime;break;case`getStartDate`:n=fr(void 0,G,Z[e].raw.startTime.startData),n&&(Z[e].startTime=n)}return Z[e].startTime&&(Z[e].endTime=mr(Z[e].startTime,G,Z[e].raw.endTime.data,An),Z[e].endTime&&(Z[e].processed=!0,Z[e].manualEndTime=(0,W.default)(Z[e].raw.endTime.data,`YYYY-MM-DD`,!0).isValid(),ur(Z[e],G,q,K))),Z[e].processed},`compileTask`),t=!0;for(let[n,r]of Z.entries())e(n),t&&=r.processed;return t},`compileTasks`),wr=F(function(e,t){let n=t;I().securityLevel!==`loose`&&(n=(0,pn.sanitizeUrl)(t)),e.split(`,`).forEach(function(e){Q(e)!==void 0&&(Dr(e,()=>{window.open(n,`_self`)}),wn.set(e,n))}),Tr(e,`clickable`)},`setLink`),Tr=F(function(e,t){e.split(`,`).forEach(function(e){let n=Q(e);n!==void 0&&n.classes.push(t)})},`setClass`),Er=F(function(e,t,n){if(I().securityLevel!==`loose`||t===void 0)return;let r=[];if(typeof n==`string`){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<r.length;e++){let t=r[e].trim();t.startsWith(`"`)&&t.endsWith(`"`)&&(t=t.substr(1,t.length-2)),r[e]=t}}r.length===0&&r.push(e),Q(e)!==void 0&&Dr(e,()=>{ie.runFunc(t,...r)})},`setClickFun`),Dr=F(function(e,t){kn.push(function(){let n=Y?`${Y}-${e}`:e,r=document.querySelector(`[id="${n}"]`);r!==null&&r.addEventListener(`click`,function(){t()})},function(){let n=Y?`${Y}-${e}`:e,r=document.querySelector(`[id="${n}-text"]`);r!==null&&r.addEventListener(`click`,function(){t()})})},`pushFun`),Or={getConfig:F(()=>I().gantt,`getConfig`),clear:Fn,setDateFormat:Un,getDateFormat:Xn,enableInclusiveEndDates:Wn,endDatesAreInclusive:Gn,enableTopAxis:Kn,topAxisEnabled:qn,setAxisFormat:Ln,getAxisFormat:Rn,setTickInterval:zn,getTickInterval:Bn,setTodayMarker:Vn,getTodayMarker:Hn,setAccTitle:le,getAccTitle:he,setDiagramTitle:ce,getDiagramTitle:me,setDiagramId:In,setDisplayMode:Jn,getDisplayMode:Yn,setAccDescription:se,getAccDescription:pe,addSection:rr,getSections:ir,getTasks:ar,addTask:xr,findTaskById:Q,addTaskOrg:Sr,setIncludes:Qn,getIncludes:$n,setExcludes:er,getExcludes:tr,setClickEvent:F(function(e,t,n){e.split(`,`).forEach(function(e){Er(e,t,n)}),Tr(e,`clickable`)},`setClickEvent`),setLink:wr,getLinks:nr,bindFunctions:F(function(e){kn.forEach(function(t){t(e)})},`bindFunctions`),parseDuration:pr,isInvalidDate:or,setWeekday:sr,getWeekday:cr,setWeekend:lr};function kr(e,t,n){let r=!0;for(;r;)r=!1,n.forEach(function(n){let i=`^\\s*`+n+`\\s*$`,a=new RegExp(i);e[0].match(a)&&(t[n]=!0,e.shift(1),r=!0)})}F(kr,`getTaskTags`),W.default.extend(_n.default);var Ar=F(function(){P.debug(`Something is calling, setConf, remove the call`)},`setConf`),jr={monday:x,tuesday:A,wednesday:n,thursday:g,friday:re,saturday:o,sunday:a},Mr=F((e,t)=>{let n=[...e].map(()=>-1/0),r=[...e].sort((e,t)=>e.startTime-t.startTime||e.order-t.order),i=0;for(let e of r)for(let r=0;r<n.length;r++)if(e.startTime>=n[r]){n[r]=e.endTime,e.order=r+t,r>i&&(i=r);break}return i},`getMaxIntersections`),$,Nr=1e4,Pr={parser:yn,db:Or,renderer:{setConf:Ar,draw:F(function(e,t,n,r){let i=I().gantt;r.db.setDiagramId(t);let a=I().securityLevel,o;a===`sandbox`&&(o=oe(`#i`+t));let s=oe(a===`sandbox`?o.nodes()[0].contentDocument.body:`body`),c=a===`sandbox`?o.nodes()[0].contentDocument:document,l=c.getElementById(t);$=l.parentElement.offsetWidth,$===void 0&&($=1200),i.useWidth!==void 0&&($=i.useWidth);let u=r.db.getTasks(),d=u.filter(e=>!e.vert),f=[];for(let e of d)f.push(e.type);f=A(f);let m={},h=2*i.topPadding;if(r.db.getDisplayMode()===`compact`||i.displayMode===`compact`){let e={};for(let t of d)e[t.section]===void 0?e[t.section]=[t]:e[t.section].push(t);let t=0;for(let n of Object.keys(e)){let r=Mr(e[n],t)+1;t+=r,h+=r*(i.barHeight+i.barGap),m[n]=r}}else{h+=d.length*(i.barHeight+i.barGap);for(let e of f)m[e]=d.filter(t=>t.type===e).length}l.setAttribute(`viewBox`,`0 0 `+$+` `+h);let g=s.select(`[id="${t}"]`),v=un().domain([xe(u,function(e){return e.startTime}),be(u,function(e){return e.endTime})]).rangeRound([0,$-i.leftPadding-i.rightPadding]);function y(e,t){let n=e.startTime,r=t.startTime,i=0;return n>r?i=1:n<r&&(i=-1),i}F(y,`taskCompare`),u.sort(y),x(u,$,h),de(g,h,$,i.useMaxWidth),g.append(`text`).text(r.db.getDiagramTitle()).attr(`x`,$/2).attr(`y`,i.titleTopMargin).attr(`class`,`titleText`);function x(e,t,n){let a=i.barHeight,o=a+i.barGap,s=i.topPadding,c=i.leftPadding,l=T().domain([0,f.length]).range([`#00B9FA`,`#F95002`]).interpolate(ne);w(o,s,c,t,n,e,r.db.getExcludes(),r.db.getIncludes()),D(c,s,t,n),S(e,o,s,c,a,l,t,n),O(o,s,c,a,l),k(c,s,t,n)}F(x,`makeGantt`);function S(e,n,a,o,s,c,l){e.sort((e,t)=>e.vert===t.vert?0:e.vert?1:-1);let u=e.filter(e=>!e.vert),d=[...new Set(u.map(e=>e.order))].map(e=>u.find(t=>t.order===e));g.append(`g`).selectAll(`rect`).data(d).enter().append(`rect`).attr(`x`,0).attr(`y`,function(e,t){return t=e.order,t*n+a-2}).attr(`width`,function(){return l-i.rightPadding/2}).attr(`height`,n).attr(`class`,function(e){for(let[t,n]of f.entries())if(e.type===n)return`section section`+t%i.numberSectionStyles;return`section section0`}).enter();let p=g.append(`g`).selectAll(`rect`).data(e).enter(),m=r.db.getLinks();if(p.append(`rect`).attr(`id`,function(e){return t+`-`+e.id}).attr(`rx`,3).attr(`ry`,3).attr(`x`,function(e){return e.milestone?v(e.startTime)+o+.5*(v(e.endTime)-v(e.startTime))-.5*s:v(e.startTime)+o}).attr(`y`,function(e,t){return t=e.order,e.vert?i.gridLineStartPadding:t*n+a}).attr(`width`,function(e){return e.milestone?s:e.vert?.08*s:v(e.renderEndTime||e.endTime)-v(e.startTime)}).attr(`height`,function(e){return e.vert?u.length*(i.barHeight+i.barGap)+i.barHeight*2:s}).attr(`transform-origin`,function(e,t){return t=e.order,(v(e.startTime)+o+.5*(v(e.endTime)-v(e.startTime))).toString()+`px `+(t*n+a+.5*s).toString()+`px`}).attr(`class`,function(e){let t=``;e.classes.length>0&&(t=e.classes.join(` `));let n=0;for(let[t,r]of f.entries())e.type===r&&(n=t%i.numberSectionStyles);let r=``;return e.active?e.crit?r+=` activeCrit`:r=` active`:e.done?r=e.crit?` doneCrit`:` done`:e.crit&&(r+=` crit`),r.length===0&&(r=` task`),e.milestone&&(r=` milestone `+r),e.vert&&(r=` vert `+r),r+=n,r+=` `+t,`task`+r}),p.append(`text`).attr(`id`,function(e){return t+`-`+e.id+`-text`}).text(function(e){return e.task}).attr(`font-size`,i.fontSize).attr(`x`,function(e){let t=v(e.startTime),n=v(e.renderEndTime||e.endTime);if(e.milestone&&(t+=.5*(v(e.endTime)-v(e.startTime))-.5*s,n=t+s),e.vert)return v(e.startTime)+o;let r=this.getBBox().width;return r>n-t?n+r+1.5*i.leftPadding>l?t+o-5:n+o+5:(n-t)/2+t+o}).attr(`y`,function(e,t){return e.vert?i.gridLineStartPadding+u.length*(i.barHeight+i.barGap)+60:(t=e.order,t*n+i.barHeight/2+(i.fontSize/2-2)+a)}).attr(`text-height`,s).attr(`class`,function(e){let t=v(e.startTime),n=v(e.endTime);e.milestone&&(n=t+s);let r=this.getBBox().width,a=``;e.classes.length>0&&(a=e.classes.join(` `));let o=0;for(let[t,n]of f.entries())e.type===n&&(o=t%i.numberSectionStyles);let c=``;return e.active&&(c=e.crit?`activeCritText`+o:`activeText`+o),e.done?c=e.crit?c+` doneCritText`+o:c+` doneText`+o:e.crit&&(c=c+` critText`+o),e.milestone&&(c+=` milestoneText`),e.vert&&(c+=` vertText`),r>n-t?n+r+1.5*i.leftPadding>l?a+` taskTextOutsideLeft taskTextOutside`+o+` `+c:a+` taskTextOutsideRight taskTextOutside`+o+` `+c+` width-`+r:a+` taskText taskText`+o+` `+c+` width-`+r}),I().securityLevel===`sandbox`){let e;e=oe(`#i`+t);let n=e.nodes()[0].contentDocument;p.filter(function(e){return m.has(e.id)}).each(function(e){var r=n.querySelector(`#`+CSS.escape(t+`-`+e.id)),i=n.querySelector(`#`+CSS.escape(t+`-`+e.id+`-text`));let a=r.parentNode;var o=n.createElement(`a`);o.setAttribute(`xlink:href`,m.get(e.id)),o.setAttribute(`target`,`_top`),a.appendChild(o),o.appendChild(r),o.appendChild(i)})}}F(S,`drawRects`);function w(e,n,a,o,s,c,l,u){if(l.length===0&&u.length===0)return;let d,f;for(let{startTime:e,endTime:t}of c)(d===void 0||e<d)&&(d=e),(f===void 0||t>f)&&(f=t);if(!d||!f)return;if((0,W.default)(f).diff((0,W.default)(d),`year`)>5){P.warn(`The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.`);return}let p=r.db.getDateFormat(),m=[],h=null,_=(0,W.default)(d);for(;_.valueOf()<=f;)r.db.isInvalidDate(_,p,l,u)?h?h.end=_:h={start:_,end:_}:h&&=(m.push(h),null),_=_.add(1,`d`);g.append(`g`).selectAll(`rect`).data(m).enter().append(`rect`).attr(`id`,e=>t+`-exclude-`+e.start.format(`YYYY-MM-DD`)).attr(`x`,e=>v(e.start.startOf(`day`))+a).attr(`y`,i.gridLineStartPadding).attr(`width`,e=>v(e.end.endOf(`day`))-v(e.start.startOf(`day`))).attr(`height`,s-n-i.gridLineStartPadding).attr(`transform-origin`,function(t,n){return(v(t.start)+a+.5*(v(t.end)-v(t.start))).toString()+`px `+(n*e+.5*s).toString()+`px`}).attr(`class`,`exclude-range`)}F(w,`drawExcludeDays`);function E(e,t,n,r){if(n<=0||e>t)return 1/0;let i=t-e,a=W.default.duration({[r??`day`]:n}).asMilliseconds();return a<=0?1/0:Math.ceil(i/a)}F(E,`getEstimatedTickCount`);function D(e,t,n,a){let o=r.db.getDateFormat(),s=r.db.getAxisFormat(),c;c=s||(o===`D`?`%d`:i.axisFormat??`%Y-%m-%d`);let l=Fe(v).tickSize(-a+t+i.gridLineStartPadding).tickFormat(an(c)),u=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(r.db.getTickInterval()||i.tickInterval);if(u!==null){let e=parseInt(u[1],10);if(isNaN(e)||e<=0)P.warn(`Invalid tick interval value: "${u[1]}". Skipping custom tick interval.`);else{let t=u[2],n=r.db.getWeekday()||i.weekday,a=v.domain(),o=a[0],s=a[1],c=E(o,s,e,t);if(c>Nr)P.warn(`The tick interval "${e}${t}" would generate ${c} ticks, which exceeds the maximum allowed (${Nr}). This may indicate an invalid date or time range. Skipping custom tick interval.`);else switch(t){case`millisecond`:l.ticks(L.every(e));break;case`second`:l.ticks(C.every(e));break;case`minute`:l.ticks(N.every(e));break;case`hour`:l.ticks(p.every(e));break;case`day`:l.ticks(_.every(e));break;case`week`:l.ticks(jr[n].every(e));break;case`month`:l.ticks(b.every(e))}}}if(g.append(`g`).attr(`class`,`grid`).attr(`transform`,`translate(`+e+`, `+(a-50)+`)`).call(l).selectAll(`text`).style(`text-anchor`,`middle`).attr(`fill`,`#000`).attr(`stroke`,`none`).attr(`font-size`,10).attr(`dy`,`1em`),r.db.topAxisEnabled()||i.topAxis){let n=Pe(v).tickSize(-a+t+i.gridLineStartPadding).tickFormat(an(c));if(u!==null){let e=parseInt(u[1],10);if(isNaN(e)||e<=0)P.warn(`Invalid tick interval value: "${u[1]}". Skipping custom tick interval.`);else{let t=u[2],a=r.db.getWeekday()||i.weekday,o=v.domain(),s=o[0],c=o[1];if(E(s,c,e,t)<=Nr)switch(t){case`millisecond`:n.ticks(L.every(e));break;case`second`:n.ticks(C.every(e));break;case`minute`:n.ticks(N.every(e));break;case`hour`:n.ticks(p.every(e));break;case`day`:n.ticks(_.every(e));break;case`week`:n.ticks(jr[a].every(e));break;case`month`:n.ticks(b.every(e))}}}g.append(`g`).attr(`class`,`grid`).attr(`transform`,`translate(`+e+`, `+t+`)`).call(n).selectAll(`text`).style(`text-anchor`,`middle`).attr(`fill`,`#000`).attr(`stroke`,`none`).attr(`font-size`,10)}}F(D,`makeGrid`);function O(e,t){let n=0,r=Object.keys(m).map(e=>[e,m[e]]);g.append(`g`).selectAll(`text`).data(r).enter().append(function(e){let t=e[0].split(fe.lineBreakRegex),n=-(t.length-1)/2,r=c.createElementNS(`http://www.w3.org/2000/svg`,`text`);r.setAttribute(`dy`,n+`em`);for(let[e,n]of t.entries()){let t=c.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);t.setAttribute(`alignment-baseline`,`central`),t.setAttribute(`x`,`10`),e>0&&t.setAttribute(`dy`,`1em`),t.textContent=n,r.appendChild(t)}return r}).attr(`x`,10).attr(`y`,function(i,a){if(a>0)for(let o=0;o<a;o++)return n+=r[a-1][1],i[1]*e/2+n*e+t;else return i[1]*e/2+t}).attr(`font-size`,i.sectionFontSize).attr(`class`,function(e){for(let[t,n]of f.entries())if(e[0]===n)return`sectionTitle sectionTitle`+t%i.numberSectionStyles;return`sectionTitle`})}F(O,`vertLabels`);function k(e,t,n,a){let o=r.db.getTodayMarker();if(o===`off`)return;let s=g.append(`g`).attr(`class`,`today`),c=new Date,l=s.append(`line`);l.attr(`x1`,v(c)+e).attr(`x2`,v(c)+e).attr(`y1`,i.titleTopMargin).attr(`y2`,a-i.titleTopMargin).attr(`class`,`today`),o!==``&&l.attr(`style`,o.replace(/,/g,`;`))}F(k,`drawToday`);function A(e){let t={},n=[];for(let r=0,i=e.length;r<i;++r)Object.prototype.hasOwnProperty.call(t,e[r])||(t[e[r]]=!0,n.push(e[r]));return n}F(A,`checkUnique`)},`draw`)},styles:F(e=>`
7
+ .mermaid-main-font {
8
+ font-family: ${e.fontFamily};
9
+ }
10
+
11
+ .exclude-range {
12
+ fill: ${e.excludeBkgColor};
13
+ }
14
+
15
+ .section {
16
+ stroke: none;
17
+ opacity: 0.2;
18
+ }
19
+
20
+ .section0 {
21
+ fill: ${e.sectionBkgColor};
22
+ }
23
+
24
+ .section2 {
25
+ fill: ${e.sectionBkgColor2};
26
+ }
27
+
28
+ .section1,
29
+ .section3 {
30
+ fill: ${e.altSectionBkgColor};
31
+ opacity: 0.2;
32
+ }
33
+
34
+ .sectionTitle0 {
35
+ fill: ${e.titleColor};
36
+ }
37
+
38
+ .sectionTitle1 {
39
+ fill: ${e.titleColor};
40
+ }
41
+
42
+ .sectionTitle2 {
43
+ fill: ${e.titleColor};
44
+ }
45
+
46
+ .sectionTitle3 {
47
+ fill: ${e.titleColor};
48
+ }
49
+
50
+ .sectionTitle {
51
+ text-anchor: start;
52
+ font-family: ${e.fontFamily};
53
+ }
54
+
55
+
56
+ /* Grid and axis */
57
+
58
+ .grid .tick {
59
+ stroke: ${e.gridColor};
60
+ opacity: 0.8;
61
+ shape-rendering: crispEdges;
62
+ }
63
+
64
+ .grid .tick text {
65
+ font-family: ${e.fontFamily};
66
+ fill: ${e.textColor};
67
+ }
68
+
69
+ .grid path {
70
+ stroke-width: 0;
71
+ }
72
+
73
+
74
+ /* Today line */
75
+
76
+ .today {
77
+ fill: none;
78
+ stroke: ${e.todayLineColor};
79
+ stroke-width: 2px;
80
+ }
81
+
82
+
83
+ /* Task styling */
84
+
85
+ /* Default task */
86
+
87
+ .task {
88
+ stroke-width: 2;
89
+ }
90
+
91
+ .taskText {
92
+ text-anchor: middle;
93
+ font-family: ${e.fontFamily};
94
+ }
95
+
96
+ .taskTextOutsideRight {
97
+ fill: ${e.taskTextDarkColor};
98
+ text-anchor: start;
99
+ font-family: ${e.fontFamily};
100
+ }
101
+
102
+ .taskTextOutsideLeft {
103
+ fill: ${e.taskTextDarkColor};
104
+ text-anchor: end;
105
+ }
106
+
107
+
108
+ /* Special case clickable */
109
+
110
+ .task.clickable {
111
+ cursor: pointer;
112
+ }
113
+
114
+ .taskText.clickable {
115
+ cursor: pointer;
116
+ fill: ${e.taskTextClickableColor} !important;
117
+ font-weight: bold;
118
+ }
119
+
120
+ .taskTextOutsideLeft.clickable {
121
+ cursor: pointer;
122
+ fill: ${e.taskTextClickableColor} !important;
123
+ font-weight: bold;
124
+ }
125
+
126
+ .taskTextOutsideRight.clickable {
127
+ cursor: pointer;
128
+ fill: ${e.taskTextClickableColor} !important;
129
+ font-weight: bold;
130
+ }
131
+
132
+
133
+ /* Specific task settings for the sections*/
134
+
135
+ .taskText0,
136
+ .taskText1,
137
+ .taskText2,
138
+ .taskText3 {
139
+ fill: ${e.taskTextColor};
140
+ }
141
+
142
+ .task0,
143
+ .task1,
144
+ .task2,
145
+ .task3 {
146
+ fill: ${e.taskBkgColor};
147
+ stroke: ${e.taskBorderColor};
148
+ }
149
+
150
+ .taskTextOutside0,
151
+ .taskTextOutside2
152
+ {
153
+ fill: ${e.taskTextOutsideColor};
154
+ }
155
+
156
+ .taskTextOutside1,
157
+ .taskTextOutside3 {
158
+ fill: ${e.taskTextOutsideColor};
159
+ }
160
+
161
+
162
+ /* Active task */
163
+
164
+ .active0,
165
+ .active1,
166
+ .active2,
167
+ .active3 {
168
+ fill: ${e.activeTaskBkgColor};
169
+ stroke: ${e.activeTaskBorderColor};
170
+ }
171
+
172
+ .activeText0,
173
+ .activeText1,
174
+ .activeText2,
175
+ .activeText3 {
176
+ fill: ${e.taskTextDarkColor} !important;
177
+ }
178
+
179
+
180
+ /* Completed task */
181
+
182
+ .done0,
183
+ .done1,
184
+ .done2,
185
+ .done3 {
186
+ stroke: ${e.doneTaskBorderColor};
187
+ fill: ${e.doneTaskBkgColor};
188
+ stroke-width: 2;
189
+ }
190
+
191
+ .doneText0,
192
+ .doneText1,
193
+ .doneText2,
194
+ .doneText3 {
195
+ fill: ${e.taskTextDarkColor} !important;
196
+ }
197
+
198
+ /* Done task text displayed outside the bar sits against the diagram background,
199
+ not against the done-task bar, so it must use the outside/contrast color. */
200
+ .doneText0.taskTextOutsideLeft,
201
+ .doneText0.taskTextOutsideRight,
202
+ .doneText1.taskTextOutsideLeft,
203
+ .doneText1.taskTextOutsideRight,
204
+ .doneText2.taskTextOutsideLeft,
205
+ .doneText2.taskTextOutsideRight,
206
+ .doneText3.taskTextOutsideLeft,
207
+ .doneText3.taskTextOutsideRight {
208
+ fill: ${e.taskTextOutsideColor} !important;
209
+ }
210
+
211
+
212
+ /* Tasks on the critical line */
213
+
214
+ .crit0,
215
+ .crit1,
216
+ .crit2,
217
+ .crit3 {
218
+ stroke: ${e.critBorderColor};
219
+ fill: ${e.critBkgColor};
220
+ stroke-width: 2;
221
+ }
222
+
223
+ .activeCrit0,
224
+ .activeCrit1,
225
+ .activeCrit2,
226
+ .activeCrit3 {
227
+ stroke: ${e.critBorderColor};
228
+ fill: ${e.activeTaskBkgColor};
229
+ stroke-width: 2;
230
+ }
231
+
232
+ .doneCrit0,
233
+ .doneCrit1,
234
+ .doneCrit2,
235
+ .doneCrit3 {
236
+ stroke: ${e.critBorderColor};
237
+ fill: ${e.doneTaskBkgColor};
238
+ stroke-width: 2;
239
+ cursor: pointer;
240
+ shape-rendering: crispEdges;
241
+ }
242
+
243
+ .milestone {
244
+ transform: rotate(45deg) scale(0.8,0.8);
245
+ }
246
+
247
+ .milestoneText {
248
+ font-style: italic;
249
+ }
250
+ .doneCritText0,
251
+ .doneCritText1,
252
+ .doneCritText2,
253
+ .doneCritText3 {
254
+ fill: ${e.taskTextDarkColor} !important;
255
+ }
256
+
257
+ /* Done-crit task text outside the bar \u2014 same reasoning as doneText above. */
258
+ .doneCritText0.taskTextOutsideLeft,
259
+ .doneCritText0.taskTextOutsideRight,
260
+ .doneCritText1.taskTextOutsideLeft,
261
+ .doneCritText1.taskTextOutsideRight,
262
+ .doneCritText2.taskTextOutsideLeft,
263
+ .doneCritText2.taskTextOutsideRight,
264
+ .doneCritText3.taskTextOutsideLeft,
265
+ .doneCritText3.taskTextOutsideRight {
266
+ fill: ${e.taskTextOutsideColor} !important;
267
+ }
268
+
269
+ .vert {
270
+ stroke: ${e.vertLineColor};
271
+ }
272
+
273
+ .vertText {
274
+ font-size: 15px;
275
+ text-anchor: middle;
276
+ fill: ${e.vertLineColor} !important;
277
+ }
278
+
279
+ .activeCritText0,
280
+ .activeCritText1,
281
+ .activeCritText2,
282
+ .activeCritText3 {
283
+ fill: ${e.taskTextDarkColor} !important;
284
+ }
285
+
286
+ .titleText {
287
+ text-anchor: middle;
288
+ font-size: 18px;
289
+ fill: ${e.titleColor||e.textColor};
290
+ font-family: ${e.fontFamily};
291
+ }
292
+ `,`getStyles`)};export{Pr as diagram};
@@ -1 +1 @@
1
- import"./chunk-FOHPRMQF-DD4dKubD.js";export{E as createGitGraphServices}from"./mermaid-parser.core-BdSSxVU7.js";
1
+ import"./chunk-FOHPRMQF-DD4dKubD.js";export{E as createGitGraphServices}from"./mermaid-parser.core-HxZZO7kh.js";
@@ -1,4 +1,4 @@
1
- import{g as e,i as t,m as n}from"./chunk-75Z2AOVW-xTyaS-ou.js";import{n as r,t as i}from"./src-Caqqw6Gw.js";import{n as a}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{H as o,K as s,U as c,Y as l,a as u,b as d,f,s as p,v as m,w as h,x as g,y as _}from"./chunk-DU6HZSFF-BnNI-hjm.js";import{n as v}from"./mermaid-parser.core-BdSSxVU7.js";import{t as y}from"./chunk-JWPE2WC7-DVXcaiue.js";import{t as b}from"./chunk-2Q5K7J3B-C1jixKkw.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ee=f.gitGraph,S=a(()=>t({...ee,...d().gitGraph}),`getConfig`),C=new b(()=>{let e=S(),t=e.mainBranchName,n=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:n}]]),branches:new Map([[t,null]]),currBranch:t,direction:`LR`,seq:0,options:{}}});function w(){return n({length:7})}a(w,`getID`);function T(e,t){let n=Object.create(null);return e.reduce((e,r)=>{let i=t(r);return n[i]||(n[i]=!0,e.push(r)),e},[])}a(T,`uniqBy`);var te=a(function(e){C.records.direction=e},`setDirection`),ne=a(function(e){r.debug(`options str`,e),e=e?.trim(),e||=`{}`;try{C.records.options=JSON.parse(e)}catch(e){r.error(`error while parsing gitGraph options`,e.message)}},`setOptions`),re=a(function(){return C.records.options},`getOptions`),ie=a(function(e){let t=e.msg,n=e.id,i=e.type,a=e.tags;r.info(`commit`,t,n,i,a),r.debug(`Entering commit:`,t,n,i,a);let o=S();n=p.sanitizeText(n,o),t=p.sanitizeText(t,o),a=a?.map(e=>p.sanitizeText(e,o));let s={id:n||C.records.seq+`-`+w(),message:t,seq:C.records.seq++,type:i??x.NORMAL,tags:a??[],parents:C.records.head==null?[]:[C.records.head.id],branch:C.records.currBranch};C.records.head=s,r.info(`main branch`,o.mainBranchName),C.records.commits.has(s.id)&&r.warn(`Commit ID ${s.id} already exists`),C.records.commits.set(s.id,s),C.records.branches.set(C.records.currBranch,s.id),r.debug(`in pushCommit `+s.id)},`commit`),ae=a(function(e){let t=e.name,n=e.order;if(t=p.sanitizeText(t,S()),C.records.branches.has(t))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);C.records.branches.set(t,C.records.head==null?null:C.records.head.id),C.records.branchConfig.set(t,{name:t,order:n}),E(t),r.debug(`in createBranch`)},`branch`),oe=a(e=>{let t=e.branch,n=e.id,i=e.type,a=e.tags,o=S();t=p.sanitizeText(t,o),n&&=p.sanitizeText(n,o);let s=C.records.branches.get(C.records.currBranch),c=C.records.branches.get(t),l=s?C.records.commits.get(s):void 0,u=c?C.records.commits.get(c):void 0;if(l&&u&&l.branch===t)throw Error(`Cannot merge branch '${t}' into itself.`);if(C.records.currBranch===t){let e=Error(`Incorrect usage of "merge". Cannot merge a branch to itself`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch abc`]},e}if(l===void 0||!l){let e=Error(`Incorrect usage of "merge". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`commit`]},e}if(!C.records.branches.has(t)){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+t+`) does not exist`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch ${t}`]},e}if(u===void 0||!u){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+t+`) has no commits`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`"commit"`]},e}if(l===u){let e=Error(`Incorrect usage of "merge". Both branches have same head`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch abc`]},e}if(n&&C.records.commits.has(n)){let e=Error(`Incorrect usage of "merge". Commit with id:`+n+` already exists, use different custom id`);throw e.hash={text:`merge ${t} ${n} ${i} ${a?.join(` `)}`,token:`merge ${t} ${n} ${i} ${a?.join(` `)}`,expected:[`merge ${t} ${n}_UNIQUE ${i} ${a?.join(` `)}`]},e}let d=c||``,f={id:n||`${C.records.seq}-${w()}`,message:`merged branch ${t} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,d],branch:C.records.currBranch,type:x.MERGE,customType:i,customId:!!n,tags:a??[]};C.records.head=f,C.records.commits.set(f.id,f),C.records.branches.set(C.records.currBranch,f.id),r.debug(C.records.branches),r.debug(`in mergeBranch`)},`merge`),se=a(function(e){let t=e.id,n=e.targetId,i=e.tags,a=e.parent;r.debug(`Entering cherryPick:`,t,n,i);let o=S();if(t=p.sanitizeText(t,o),n=p.sanitizeText(n,o),i=i?.map(e=>p.sanitizeText(e,o)),a=p.sanitizeText(a,o),!t||!C.records.commits.has(t)){let e=Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);throw e.hash={text:`cherryPick ${t} ${n}`,token:`cherryPick ${t} ${n}`,expected:[`cherry-pick abc`]},e}let s=C.records.commits.get(t);if(s===void 0||!s)throw Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);if(a&&!(Array.isArray(s.parents)&&s.parents.includes(a)))throw Error(`Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.`);let c=s.branch;if(s.type===x.MERGE&&!a)throw Error(`Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.`);if(!n||!C.records.commits.has(n)){if(c===C.records.currBranch){let e=Error(`Incorrect usage of "cherryPick". Source commit is already on current branch`);throw e.hash={text:`cherryPick ${t} ${n}`,token:`cherryPick ${t} ${n}`,expected:[`cherry-pick abc`]},e}let e=C.records.branches.get(C.records.currBranch);if(e===void 0||!e){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${t} ${n}`,token:`cherryPick ${t} ${n}`,expected:[`cherry-pick abc`]},e}let o=C.records.commits.get(e);if(o===void 0||!o){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${t} ${n}`,token:`cherryPick ${t} ${n}`,expected:[`cherry-pick abc`]},e}let l={id:C.records.seq+`-`+w(),message:`cherry-picked ${s?.message} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,s.id],branch:C.records.currBranch,type:x.CHERRY_PICK,tags:i?i.filter(Boolean):[`cherry-pick:${s.id}${s.type===x.MERGE?`|parent:${a}`:``}`]};C.records.head=l,C.records.commits.set(l.id,l),C.records.branches.set(C.records.currBranch,l.id),r.debug(C.records.branches),r.debug(`in cherryPick`)}},`cherryPick`),E=a(function(e){if(e=p.sanitizeText(e,S()),C.records.branches.has(e)){C.records.currBranch=e;let t=C.records.branches.get(C.records.currBranch);t===void 0||!t?C.records.head=null:C.records.head=C.records.commits.get(t)??null}else{let t=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw t.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},t}},`checkout`);function D(e,t,n){let r=e.indexOf(t);r===-1?e.push(n):e.splice(r,1,n)}a(D,`upsert`);function O(e){let t=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),n=``;e.forEach(function(e){n+=e===t?` *`:` |`});let i=[n,t.id,t.seq];for(let e in C.records.branches)C.records.branches.get(e)===t.id&&i.push(e);if(r.debug(i.join(` `)),t.parents&&t.parents.length==2&&t.parents[0]&&t.parents[1]){let n=C.records.commits.get(t.parents[0]);D(e,t,n),t.parents[1]&&e.push(C.records.commits.get(t.parents[1]))}else if(t.parents.length==0)return;else if(t.parents[0]){let n=C.records.commits.get(t.parents[0]);D(e,t,n)}e=T(e,e=>e.id),O(e)}a(O,`prettyPrintCommitHistory`);var ce=a(function(){r.debug(C.records.commits);let e=k()[0];O([e])},`prettyPrint`),le=a(function(){C.reset(),u()},`clear`),ue=a(function(){return[...C.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},`getBranchesAsObjArray`),de=a(function(){return C.records.branches},`getBranches`),fe=a(function(){return C.records.commits},`getCommits`),k=a(function(){let e=[...C.records.commits.values()];return e.forEach(function(e){r.debug(e.id)}),e.sort((e,t)=>e.seq-t.seq),e},`getCommitsArray`),A={commitType:x,getConfig:S,setDirection:te,setOptions:ne,getOptions:re,commit:ie,branch:ae,merge:oe,cherryPick:se,checkout:E,prettyPrint:ce,clear:le,getBranchesAsObjArray:ue,getBranches:de,getCommits:fe,getCommitsArray:k,getCurrentBranch:a(function(){return C.records.currBranch},`getCurrentBranch`),getDirection:a(function(){return C.records.direction},`getDirection`),getHead:a(function(){return C.records.head},`getHead`),setAccTitle:c,getAccTitle:_,getAccDescription:m,setAccDescription:o,setDiagramTitle:s,getDiagramTitle:h},pe=a((e,t)=>{y(e,t),e.dir&&t.setDirection(e.dir);for(let n of e.statements)me(n,t)},`populate`),me=a((e,t)=>{let n={Commit:a(e=>t.commit(he(e)),`Commit`),Branch:a(e=>t.branch(ge(e)),`Branch`),Merge:a(e=>t.merge(_e(e)),`Merge`),Checkout:a(e=>t.checkout(ve(e)),`Checkout`),CherryPicking:a(e=>t.cherryPick(ye(e)),`CherryPicking`)}[e.$type];n?n(e):r.error(`Unknown statement type: ${e.$type}`)},`parseStatement`),he=a(e=>({id:e.id,msg:e.message??``,type:e.type===void 0?x.NORMAL:x[e.type],tags:e.tags??void 0}),`parseCommit`),ge=a(e=>({name:e.name,order:e.order??0}),`parseBranch`),_e=a(e=>({branch:e.branch,id:e.id??``,type:e.type===void 0?void 0:x[e.type],tags:e.tags??void 0}),`parseMerge`),ve=a(e=>e.branch,`parseCheckout`),ye=a(e=>({id:e.id,targetId:``,tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),`parseCherryPicking`),be={parse:a(async e=>{let t=await v(`gitGraph`,e);r.debug(t),pe(t,A)},`parse`)},j=10,M=40,N=4,P=2,F=8,I=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),L=12,R=new Set([`redux-color`,`redux-dark-color`]),xe=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),z=a((e,t,n=!1)=>n&&e>0?(e-1)%(t-1)+1:e%t,`calcColorIndex`),B=new Map,V=new Map,H=30,U=new Map,W=[],G=0,K=`LR`,q=a(()=>{B.clear(),V.clear(),U.clear(),G=0,W=[],K=`LR`},`clear`),J=a(e=>{let t=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);return(typeof e==`string`?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(e=>{let n=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);n.setAttributeNS(`http://www.w3.org/XML/1998/namespace`,`xml:space`,`preserve`),n.setAttribute(`dy`,`1em`),n.setAttribute(`x`,`0`),n.setAttribute(`class`,`row`),n.textContent=e.trim(),t.appendChild(n)}),t},`drawText`),Y=a(e=>{let t,n,r;return K===`BT`?(n=a((e,t)=>e<=t,`comparisonFunc`),r=1/0):(n=a((e,t)=>e>=t,`comparisonFunc`),r=0),e.forEach(e=>{let i=K===`TB`||K==`BT`?V.get(e)?.y:V.get(e)?.x;i!==void 0&&n(i,r)&&(t=e,r=i)}),t},`findClosestParent`),Se=a(e=>{let t=``,n=1/0;return e.forEach(e=>{let r=V.get(e).y;r<=n&&(t=e,n=r)}),t||void 0},`findClosestParentBT`),Ce=a((e,t,n)=>{let r=n,i=n,a=[];e.forEach(e=>{let n=t.get(e);if(!n)throw Error(`Commit not found for key ${e}`);n.parents.length?(r=Te(n),i=Math.max(r,i)):a.push(n),Ee(n,r)}),r=i,a.forEach(e=>{De(e,r,n)}),e.forEach(e=>{let n=t.get(e);if(n?.parents.length){let e=Se(n.parents);r=V.get(e).y-M,r<=i&&(i=r);let t=B.get(n.branch).pos,a=r-j;V.set(n.id,{x:t,y:a})}})},`setParallelBTPos`),we=a(e=>{let t=Y(e.parents.filter(e=>e!==null));if(!t)throw Error(`Closest parent not found for commit ${e.id}`);let n=V.get(t)?.y;if(n===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return n},`findClosestParentPos`),Te=a(e=>we(e)+M,`calculateCommitPosition`),Ee=a((e,t)=>{let n=B.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let r=n.pos,i=t+j;return V.set(e.id,{x:r,y:i}),{x:r,y:i}},`setCommitPosition`),De=a((e,t,n)=>{let r=B.get(e.branch);if(!r)throw Error(`Branch not found for commit ${e.id}`);let i=t+n,a=r.pos;V.set(e.id,{x:a,y:i})},`setRootPosition`),Oe=a((e,t,n,r,i,a)=>{let{theme:o}=g(),s=I.has(o??``),c=R.has(o??``),l=xe.has(o??``);if(a===x.HIGHLIGHT)e.append(`rect`).attr(`x`,n.x-10+(s?3:0)).attr(`y`,n.y-10+(s?3:0)).attr(`width`,s?14:20).attr(`height`,s?14:20).attr(`class`,`commit ${t.id} commit-highlight${z(i,F,c)} ${r}-outer`),e.append(`rect`).attr(`x`,n.x-6+(s?2:0)).attr(`y`,n.y-6+(s?2:0)).attr(`width`,s?8:12).attr(`height`,s?8:12).attr(`class`,`commit ${t.id} commit${z(i,F,c)} ${r}-inner`);else if(a===x.CHERRY_PICK)e.append(`circle`).attr(`cx`,n.x).attr(`cy`,n.y).attr(`r`,s?7:10).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x-3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x+3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x+3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x-3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`);else{let o=e.append(`circle`);if(o.attr(`cx`,n.x),o.attr(`cy`,n.y),o.attr(`r`,s?7:10),o.attr(`class`,`commit ${t.id} commit${z(i,F,c)}`),a===x.MERGE){let a=e.append(`circle`);a.attr(`cx`,n.x),a.attr(`cy`,n.y),a.attr(`r`,s?5:6),a.attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}if(a===x.REVERSE){let a=e.append(`path`),o=s?4:5;a.attr(`d`,`M ${n.x-o},${n.y-o}L${n.x+o},${n.y+o}M${n.x-o},${n.y+o}L${n.x+o},${n.y-o}`).attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}}},`drawCommitBullet`),ke=a((e,t,n,r,i)=>{if(t.type!==x.CHERRY_PICK&&(t.customId&&t.type===x.MERGE||t.type!==x.MERGE)&&i.showCommitLabel){let a=e.append(`g`),o=a.insert(`rect`).attr(`class`,`commit-label-bkg`),s=a.append(`text`).attr(`x`,r).attr(`y`,n.y+25).attr(`class`,`commit-label`).text(t.id),c=s.node()?.getBBox();if(c&&(o.attr(`x`,n.posWithOffset-c.width/2-P).attr(`y`,n.y+13.5).attr(`width`,c.width+2*P).attr(`height`,c.height+2*P),K===`TB`||K===`BT`?(o.attr(`x`,n.x-(c.width+4*N+5)).attr(`y`,n.y-12),s.attr(`x`,n.x-(c.width+4*N)).attr(`y`,n.y+c.height-12)):s.attr(`x`,n.posWithOffset-c.width/2),i.rotateCommitLabel)){if(K===`TB`||K===`BT`)s.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`),o.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`);else{let e=-7.5-(c.width+10)/25*9.5,t=10+c.width/25*8.5;a.attr(`transform`,`translate(`+e+`, `+t+`) rotate(-45, `+r+`, `+n.y+`)`)}}}},`drawCommitLabel`),Ae=a((e,t,n,r)=>{if(t.tags.length>0){let i=0,a=0,o=0,s=[];for(let r of t.tags.reverse()){let t=e.insert(`polygon`),c=e.append(`circle`),l=e.append(`text`).attr(`y`,n.y-16-i).attr(`class`,`tag-label`).text(r),u=l.node()?.getBBox();if(!u)throw Error(`Tag bbox not found`);a=Math.max(a,u.width),o=Math.max(o,u.height),l.attr(`x`,n.posWithOffset-u.width/2),s.push({tag:l,hole:c,rect:t,yOffset:i}),i+=20}for(let{tag:e,hole:t,rect:i,yOffset:c}of s){let s=o/2,l=n.y-19.2-c;if(i.attr(`class`,`tag-label-bkg`).attr(`points`,`
1
+ import{g as e,i as t,m as n}from"./chunk-75Z2AOVW-Dmt3SQH3.js";import{n as r,t as i}from"./src-Caqqw6Gw.js";import{n as a}from"./chunk-Y2CYZVJY-DsF7k-Jl.js";import{H as o,K as s,U as c,Y as l,a as u,b as d,f,s as p,v as m,w as h,x as g,y as _}from"./chunk-DU6HZSFF-C0GRIO4w.js";import{n as v}from"./mermaid-parser.core-HxZZO7kh.js";import{t as y}from"./chunk-JWPE2WC7-DVXcaiue.js";import{t as b}from"./chunk-2Q5K7J3B-C1jixKkw.js";var x={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},ee=f.gitGraph,S=a(()=>t({...ee,...d().gitGraph}),`getConfig`),C=new b(()=>{let e=S(),t=e.mainBranchName,n=e.mainBranchOrder;return{mainBranchName:t,commits:new Map,head:null,branchConfig:new Map([[t,{name:t,order:n}]]),branches:new Map([[t,null]]),currBranch:t,direction:`LR`,seq:0,options:{}}});function w(){return n({length:7})}a(w,`getID`);function T(e,t){let n=Object.create(null);return e.reduce((e,r)=>{let i=t(r);return n[i]||(n[i]=!0,e.push(r)),e},[])}a(T,`uniqBy`);var te=a(function(e){C.records.direction=e},`setDirection`),ne=a(function(e){r.debug(`options str`,e),e=e?.trim(),e||=`{}`;try{C.records.options=JSON.parse(e)}catch(e){r.error(`error while parsing gitGraph options`,e.message)}},`setOptions`),re=a(function(){return C.records.options},`getOptions`),ie=a(function(e){let t=e.msg,n=e.id,i=e.type,a=e.tags;r.info(`commit`,t,n,i,a),r.debug(`Entering commit:`,t,n,i,a);let o=S();n=p.sanitizeText(n,o),t=p.sanitizeText(t,o),a=a?.map(e=>p.sanitizeText(e,o));let s={id:n||C.records.seq+`-`+w(),message:t,seq:C.records.seq++,type:i??x.NORMAL,tags:a??[],parents:C.records.head==null?[]:[C.records.head.id],branch:C.records.currBranch};C.records.head=s,r.info(`main branch`,o.mainBranchName),C.records.commits.has(s.id)&&r.warn(`Commit ID ${s.id} already exists`),C.records.commits.set(s.id,s),C.records.branches.set(C.records.currBranch,s.id),r.debug(`in pushCommit `+s.id)},`commit`),ae=a(function(e){let t=e.name,n=e.order;if(t=p.sanitizeText(t,S()),C.records.branches.has(t))throw Error(`Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ${t}")`);C.records.branches.set(t,C.records.head==null?null:C.records.head.id),C.records.branchConfig.set(t,{name:t,order:n}),E(t),r.debug(`in createBranch`)},`branch`),oe=a(e=>{let t=e.branch,n=e.id,i=e.type,a=e.tags,o=S();t=p.sanitizeText(t,o),n&&=p.sanitizeText(n,o);let s=C.records.branches.get(C.records.currBranch),c=C.records.branches.get(t),l=s?C.records.commits.get(s):void 0,u=c?C.records.commits.get(c):void 0;if(l&&u&&l.branch===t)throw Error(`Cannot merge branch '${t}' into itself.`);if(C.records.currBranch===t){let e=Error(`Incorrect usage of "merge". Cannot merge a branch to itself`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch abc`]},e}if(l===void 0||!l){let e=Error(`Incorrect usage of "merge". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`commit`]},e}if(!C.records.branches.has(t)){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+t+`) does not exist`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch ${t}`]},e}if(u===void 0||!u){let e=Error(`Incorrect usage of "merge". Branch to be merged (`+t+`) has no commits`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`"commit"`]},e}if(l===u){let e=Error(`Incorrect usage of "merge". Both branches have same head`);throw e.hash={text:`merge ${t}`,token:`merge ${t}`,expected:[`branch abc`]},e}if(n&&C.records.commits.has(n)){let e=Error(`Incorrect usage of "merge". Commit with id:`+n+` already exists, use different custom id`);throw e.hash={text:`merge ${t} ${n} ${i} ${a?.join(` `)}`,token:`merge ${t} ${n} ${i} ${a?.join(` `)}`,expected:[`merge ${t} ${n}_UNIQUE ${i} ${a?.join(` `)}`]},e}let d=c||``,f={id:n||`${C.records.seq}-${w()}`,message:`merged branch ${t} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,d],branch:C.records.currBranch,type:x.MERGE,customType:i,customId:!!n,tags:a??[]};C.records.head=f,C.records.commits.set(f.id,f),C.records.branches.set(C.records.currBranch,f.id),r.debug(C.records.branches),r.debug(`in mergeBranch`)},`merge`),se=a(function(e){let t=e.id,n=e.targetId,i=e.tags,a=e.parent;r.debug(`Entering cherryPick:`,t,n,i);let o=S();if(t=p.sanitizeText(t,o),n=p.sanitizeText(n,o),i=i?.map(e=>p.sanitizeText(e,o)),a=p.sanitizeText(a,o),!t||!C.records.commits.has(t)){let e=Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);throw e.hash={text:`cherryPick ${t} ${n}`,token:`cherryPick ${t} ${n}`,expected:[`cherry-pick abc`]},e}let s=C.records.commits.get(t);if(s===void 0||!s)throw Error(`Incorrect usage of "cherryPick". Source commit id should exist and provided`);if(a&&!(Array.isArray(s.parents)&&s.parents.includes(a)))throw Error(`Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.`);let c=s.branch;if(s.type===x.MERGE&&!a)throw Error(`Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.`);if(!n||!C.records.commits.has(n)){if(c===C.records.currBranch){let e=Error(`Incorrect usage of "cherryPick". Source commit is already on current branch`);throw e.hash={text:`cherryPick ${t} ${n}`,token:`cherryPick ${t} ${n}`,expected:[`cherry-pick abc`]},e}let e=C.records.branches.get(C.records.currBranch);if(e===void 0||!e){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${t} ${n}`,token:`cherryPick ${t} ${n}`,expected:[`cherry-pick abc`]},e}let o=C.records.commits.get(e);if(o===void 0||!o){let e=Error(`Incorrect usage of "cherry-pick". Current branch (${C.records.currBranch})has no commits`);throw e.hash={text:`cherryPick ${t} ${n}`,token:`cherryPick ${t} ${n}`,expected:[`cherry-pick abc`]},e}let l={id:C.records.seq+`-`+w(),message:`cherry-picked ${s?.message} into ${C.records.currBranch}`,seq:C.records.seq++,parents:C.records.head==null?[]:[C.records.head.id,s.id],branch:C.records.currBranch,type:x.CHERRY_PICK,tags:i?i.filter(Boolean):[`cherry-pick:${s.id}${s.type===x.MERGE?`|parent:${a}`:``}`]};C.records.head=l,C.records.commits.set(l.id,l),C.records.branches.set(C.records.currBranch,l.id),r.debug(C.records.branches),r.debug(`in cherryPick`)}},`cherryPick`),E=a(function(e){if(e=p.sanitizeText(e,S()),C.records.branches.has(e)){C.records.currBranch=e;let t=C.records.branches.get(C.records.currBranch);t===void 0||!t?C.records.head=null:C.records.head=C.records.commits.get(t)??null}else{let t=Error(`Trying to checkout branch which is not yet created. (Help try using "branch ${e}")`);throw t.hash={text:`checkout ${e}`,token:`checkout ${e}`,expected:[`branch ${e}`]},t}},`checkout`);function D(e,t,n){let r=e.indexOf(t);r===-1?e.push(n):e.splice(r,1,n)}a(D,`upsert`);function O(e){let t=e.reduce((e,t)=>e.seq>t.seq?e:t,e[0]),n=``;e.forEach(function(e){n+=e===t?` *`:` |`});let i=[n,t.id,t.seq];for(let e in C.records.branches)C.records.branches.get(e)===t.id&&i.push(e);if(r.debug(i.join(` `)),t.parents&&t.parents.length==2&&t.parents[0]&&t.parents[1]){let n=C.records.commits.get(t.parents[0]);D(e,t,n),t.parents[1]&&e.push(C.records.commits.get(t.parents[1]))}else if(t.parents.length==0)return;else if(t.parents[0]){let n=C.records.commits.get(t.parents[0]);D(e,t,n)}e=T(e,e=>e.id),O(e)}a(O,`prettyPrintCommitHistory`);var ce=a(function(){r.debug(C.records.commits);let e=k()[0];O([e])},`prettyPrint`),le=a(function(){C.reset(),u()},`clear`),ue=a(function(){return[...C.records.branchConfig.values()].map((e,t)=>e.order!==null&&e.order!==void 0?e:{...e,order:parseFloat(`0.${t}`)}).sort((e,t)=>(e.order??0)-(t.order??0)).map(({name:e})=>({name:e}))},`getBranchesAsObjArray`),de=a(function(){return C.records.branches},`getBranches`),fe=a(function(){return C.records.commits},`getCommits`),k=a(function(){let e=[...C.records.commits.values()];return e.forEach(function(e){r.debug(e.id)}),e.sort((e,t)=>e.seq-t.seq),e},`getCommitsArray`),A={commitType:x,getConfig:S,setDirection:te,setOptions:ne,getOptions:re,commit:ie,branch:ae,merge:oe,cherryPick:se,checkout:E,prettyPrint:ce,clear:le,getBranchesAsObjArray:ue,getBranches:de,getCommits:fe,getCommitsArray:k,getCurrentBranch:a(function(){return C.records.currBranch},`getCurrentBranch`),getDirection:a(function(){return C.records.direction},`getDirection`),getHead:a(function(){return C.records.head},`getHead`),setAccTitle:c,getAccTitle:_,getAccDescription:m,setAccDescription:o,setDiagramTitle:s,getDiagramTitle:h},pe=a((e,t)=>{y(e,t),e.dir&&t.setDirection(e.dir);for(let n of e.statements)me(n,t)},`populate`),me=a((e,t)=>{let n={Commit:a(e=>t.commit(he(e)),`Commit`),Branch:a(e=>t.branch(ge(e)),`Branch`),Merge:a(e=>t.merge(_e(e)),`Merge`),Checkout:a(e=>t.checkout(ve(e)),`Checkout`),CherryPicking:a(e=>t.cherryPick(ye(e)),`CherryPicking`)}[e.$type];n?n(e):r.error(`Unknown statement type: ${e.$type}`)},`parseStatement`),he=a(e=>({id:e.id,msg:e.message??``,type:e.type===void 0?x.NORMAL:x[e.type],tags:e.tags??void 0}),`parseCommit`),ge=a(e=>({name:e.name,order:e.order??0}),`parseBranch`),_e=a(e=>({branch:e.branch,id:e.id??``,type:e.type===void 0?void 0:x[e.type],tags:e.tags??void 0}),`parseMerge`),ve=a(e=>e.branch,`parseCheckout`),ye=a(e=>({id:e.id,targetId:``,tags:e.tags?.length===0?void 0:e.tags,parent:e.parent}),`parseCherryPicking`),be={parse:a(async e=>{let t=await v(`gitGraph`,e);r.debug(t),pe(t,A)},`parse`)},j=10,M=40,N=4,P=2,F=8,I=new Set([`redux`,`redux-dark`,`redux-color`,`redux-dark-color`]),L=12,R=new Set([`redux-color`,`redux-dark-color`]),xe=new Set([`dark`,`redux-dark`,`redux-dark-color`,`neo-dark`]),z=a((e,t,n=!1)=>n&&e>0?(e-1)%(t-1)+1:e%t,`calcColorIndex`),B=new Map,V=new Map,H=30,U=new Map,W=[],G=0,K=`LR`,q=a(()=>{B.clear(),V.clear(),U.clear(),G=0,W=[],K=`LR`},`clear`),J=a(e=>{let t=document.createElementNS(`http://www.w3.org/2000/svg`,`text`);return(typeof e==`string`?e.split(/\\n|\n|<br\s*\/?>/gi):e).forEach(e=>{let n=document.createElementNS(`http://www.w3.org/2000/svg`,`tspan`);n.setAttributeNS(`http://www.w3.org/XML/1998/namespace`,`xml:space`,`preserve`),n.setAttribute(`dy`,`1em`),n.setAttribute(`x`,`0`),n.setAttribute(`class`,`row`),n.textContent=e.trim(),t.appendChild(n)}),t},`drawText`),Y=a(e=>{let t,n,r;return K===`BT`?(n=a((e,t)=>e<=t,`comparisonFunc`),r=1/0):(n=a((e,t)=>e>=t,`comparisonFunc`),r=0),e.forEach(e=>{let i=K===`TB`||K==`BT`?V.get(e)?.y:V.get(e)?.x;i!==void 0&&n(i,r)&&(t=e,r=i)}),t},`findClosestParent`),Se=a(e=>{let t=``,n=1/0;return e.forEach(e=>{let r=V.get(e).y;r<=n&&(t=e,n=r)}),t||void 0},`findClosestParentBT`),Ce=a((e,t,n)=>{let r=n,i=n,a=[];e.forEach(e=>{let n=t.get(e);if(!n)throw Error(`Commit not found for key ${e}`);n.parents.length?(r=Te(n),i=Math.max(r,i)):a.push(n),Ee(n,r)}),r=i,a.forEach(e=>{De(e,r,n)}),e.forEach(e=>{let n=t.get(e);if(n?.parents.length){let e=Se(n.parents);r=V.get(e).y-M,r<=i&&(i=r);let t=B.get(n.branch).pos,a=r-j;V.set(n.id,{x:t,y:a})}})},`setParallelBTPos`),we=a(e=>{let t=Y(e.parents.filter(e=>e!==null));if(!t)throw Error(`Closest parent not found for commit ${e.id}`);let n=V.get(t)?.y;if(n===void 0)throw Error(`Closest parent position not found for commit ${e.id}`);return n},`findClosestParentPos`),Te=a(e=>we(e)+M,`calculateCommitPosition`),Ee=a((e,t)=>{let n=B.get(e.branch);if(!n)throw Error(`Branch not found for commit ${e.id}`);let r=n.pos,i=t+j;return V.set(e.id,{x:r,y:i}),{x:r,y:i}},`setCommitPosition`),De=a((e,t,n)=>{let r=B.get(e.branch);if(!r)throw Error(`Branch not found for commit ${e.id}`);let i=t+n,a=r.pos;V.set(e.id,{x:a,y:i})},`setRootPosition`),Oe=a((e,t,n,r,i,a)=>{let{theme:o}=g(),s=I.has(o??``),c=R.has(o??``),l=xe.has(o??``);if(a===x.HIGHLIGHT)e.append(`rect`).attr(`x`,n.x-10+(s?3:0)).attr(`y`,n.y-10+(s?3:0)).attr(`width`,s?14:20).attr(`height`,s?14:20).attr(`class`,`commit ${t.id} commit-highlight${z(i,F,c)} ${r}-outer`),e.append(`rect`).attr(`x`,n.x-6+(s?2:0)).attr(`y`,n.y-6+(s?2:0)).attr(`width`,s?8:12).attr(`height`,s?8:12).attr(`class`,`commit ${t.id} commit${z(i,F,c)} ${r}-inner`);else if(a===x.CHERRY_PICK)e.append(`circle`).attr(`cx`,n.x).attr(`cy`,n.y).attr(`r`,s?7:10).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x-3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`circle`).attr(`cx`,n.x+3).attr(`cy`,n.y+2).attr(`r`,s?2.5:2.75).attr(`fill`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x+3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`),e.append(`line`).attr(`x1`,n.x-3).attr(`y1`,n.y+1).attr(`x2`,n.x).attr(`y2`,n.y-5).attr(`stroke`,l?`#000000`:`#fff`).attr(`class`,`commit ${t.id} ${r}`);else{let o=e.append(`circle`);if(o.attr(`cx`,n.x),o.attr(`cy`,n.y),o.attr(`r`,s?7:10),o.attr(`class`,`commit ${t.id} commit${z(i,F,c)}`),a===x.MERGE){let a=e.append(`circle`);a.attr(`cx`,n.x),a.attr(`cy`,n.y),a.attr(`r`,s?5:6),a.attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}if(a===x.REVERSE){let a=e.append(`path`),o=s?4:5;a.attr(`d`,`M ${n.x-o},${n.y-o}L${n.x+o},${n.y+o}M${n.x-o},${n.y+o}L${n.x+o},${n.y-o}`).attr(`class`,`commit ${r} ${t.id} commit${z(i,F,c)}`)}}},`drawCommitBullet`),ke=a((e,t,n,r,i)=>{if(t.type!==x.CHERRY_PICK&&(t.customId&&t.type===x.MERGE||t.type!==x.MERGE)&&i.showCommitLabel){let a=e.append(`g`),o=a.insert(`rect`).attr(`class`,`commit-label-bkg`),s=a.append(`text`).attr(`x`,r).attr(`y`,n.y+25).attr(`class`,`commit-label`).text(t.id),c=s.node()?.getBBox();if(c&&(o.attr(`x`,n.posWithOffset-c.width/2-P).attr(`y`,n.y+13.5).attr(`width`,c.width+2*P).attr(`height`,c.height+2*P),K===`TB`||K===`BT`?(o.attr(`x`,n.x-(c.width+4*N+5)).attr(`y`,n.y-12),s.attr(`x`,n.x-(c.width+4*N)).attr(`y`,n.y+c.height-12)):s.attr(`x`,n.posWithOffset-c.width/2),i.rotateCommitLabel)){if(K===`TB`||K===`BT`)s.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`),o.attr(`transform`,`rotate(-45, `+n.x+`, `+n.y+`)`);else{let e=-7.5-(c.width+10)/25*9.5,t=10+c.width/25*8.5;a.attr(`transform`,`translate(`+e+`, `+t+`) rotate(-45, `+r+`, `+n.y+`)`)}}}},`drawCommitLabel`),Ae=a((e,t,n,r)=>{if(t.tags.length>0){let i=0,a=0,o=0,s=[];for(let r of t.tags.reverse()){let t=e.insert(`polygon`),c=e.append(`circle`),l=e.append(`text`).attr(`y`,n.y-16-i).attr(`class`,`tag-label`).text(r),u=l.node()?.getBBox();if(!u)throw Error(`Tag bbox not found`);a=Math.max(a,u.width),o=Math.max(o,u.height),l.attr(`x`,n.posWithOffset-u.width/2),s.push({tag:l,hole:c,rect:t,yOffset:i}),i+=20}for(let{tag:e,hole:t,rect:i,yOffset:c}of s){let s=o/2,l=n.y-19.2-c;if(i.attr(`class`,`tag-label-bkg`).attr(`points`,`
2
2
  ${r-a/2-N/2},${l+P}
3
3
  ${r-a/2-N/2},${l-P}
4
4
  ${n.posWithOffset-a/2-N},${l-s-P}
@@ -1,4 +1,4 @@
1
- import"./prod-AmqxNzpE.js";var e={paste:`Pegar`,pasteAsPlaintext:`Pegar coma texto sen formato`,pasteCharts:`Pegar gráficos`,selectAll:`Seleccionar todo`,multiSelect:`Engadir elemento á selección`,moveCanvas:`Mover o lenzo`,cut:`Cortar`,copy:`Copiar`,copyAsPng:`Copiar no portapapeis como PNG`,copyAsSvg:`Copiar no portapapeis como SVG`,copyText:`Copia no portapapeis como texto`,copySource:``,convertToCode:``,bringForward:`Traer cara adiante`,sendToBack:`Enviar cara atrás`,bringToFront:`Traer á fronte`,sendBackward:`Enviar ao fondo`,delete:`Borrar`,copyStyles:`Copiar estilo`,pasteStyles:`Pegar estilo`,stroke:`Trazo`,background:`Fondo`,fill:`Recheo`,strokeWidth:`Largo do trazo`,strokeStyle:`Estilo do trazo`,strokeStyle_solid:`Sólido`,strokeStyle_dashed:`Liña de trazos`,strokeStyle_dotted:`Liña de puntos`,sloppiness:`Estilo de trazo`,opacity:`Opacidade`,textAlign:`Aliñar texto`,edges:`Bordos`,sharp:`Agudo`,round:`Redondo`,arrowheads:`Puntas de frecha`,arrowhead_none:`Ningunha`,arrowhead_arrow:`Frecha`,arrowhead_bar:`Barra`,arrowhead_circle:``,arrowhead_circle_outline:``,arrowhead_triangle:`Triángulo`,arrowhead_triangle_outline:``,arrowhead_diamond:``,arrowhead_diamond_outline:``,fontSize:`Tamaño da fonte`,fontFamily:`Tipo de fonte`,addWatermark:`Engadir "Feito con Excalidraw"`,handDrawn:`Debuxado a man`,normal:`Normal`,code:`Código`,small:`Pequeno`,medium:`Mediano`,large:`Grande`,veryLarge:`Moi grande`,solid:`Sólido`,hachure:`Folleto`,zigzag:`Zigzag`,crossHatch:`Raiado transversal`,thin:`Estreito`,bold:`Groso`,left:`Esquerda`,center:`Centrado`,right:`Dereita`,extraBold:`Moi groso`,architect:`Arquitecto`,artist:`Artista`,cartoonist:`Caricatura`,fileTitle:`Nome do arquivo`,colorPicker:`Selector de cor`,canvasColors:`Usado en lenzo`,canvasBackground:`Fondo do lenzo`,drawingCanvas:`Lenzo de debuxo`,layers:`Capas`,actions:`Accións`,language:`Idioma`,liveCollaboration:`Colaboración en directo...`,duplicateSelection:`Duplicar`,untitled:`Sen título`,name:`Nome`,yourName:`O teu nome`,madeWithExcalidraw:`Feito con Excalidraw`,group:`Agrupar selección`,ungroup:`Desagrupar selección`,collaborators:`Colaboradores`,showGrid:`Mostrar cuadrícula`,addToLibrary:`Engadir á biblioteca`,removeFromLibrary:`Eliminar da biblioteca`,libraryLoadingMessage:`Cargando biblioteca…`,libraries:`Explorar bibliotecas`,loadingScene:`Cargando escena…`,align:`Aliñamento`,alignTop:`Aliñamento superior`,alignBottom:`Aliñamento inferior`,alignLeft:`Aliñar a esquerda`,alignRight:`Aliñar a dereita`,centerVertically:`Centrar verticalmente`,centerHorizontally:`Centrar horizontalmente`,distributeHorizontally:`Distribuír horizontalmente`,distributeVertically:`Distribuír verticalmente`,flipHorizontal:`Virar horizontalmente`,flipVertical:`Virar verticalmente`,viewMode:`Modo de visualización`,share:`Compartir`,showStroke:`Mostrar selector de cores do trazo`,showBackground:`Mostrar selector de cores do fondo`,toggleTheme:`Alternar tema`,personalLib:`Biblioteca Persoal`,excalidrawLib:`Biblioteca Excalidraw`,decreaseFontSize:`Diminuír tamaño da fonte`,increaseFontSize:`Aumentar o tamaño da fonte`,unbindText:`Desvincular texto`,bindText:`Ligar o texto ao contedor`,createContainerFromText:`Envolver o texto nun contedor`,link:{edit:`Editar ligazón`,editEmbed:``,create:`Crear ligazón`,createEmbed:``,label:`Ligazón`,labelEmbed:``,empty:``},lineEditor:{edit:`Editar liña`,exit:`Saír do editor de liñas`},elementLock:{lock:`Bloquear`,unlock:`Desbloquear`,lockAll:`Bloquear todo`,unlockAll:`Desbloquear todo`},statusPublished:`Publicado`,sidebarLock:`Manter a barra lateral aberta`,selectAllElementsInFrame:``,removeAllElementsFromFrame:``,eyeDropper:``,textToDiagram:``,prompt:``},t={noItems:`Aínda non hai elementos engadidos...`,hint_emptyLibrary:`Seleccione un elemento no lenzo para engadilo aquí, ou instale unha biblioteca dende o repositorio público, como se detalla a continuación.`,hint_emptyPrivateLibrary:`Seleccione un elemento do lenzo para engadilo aquí.`},n={clearReset:`Limpar o lenzo`,exportJSON:`Exportar a arquivo`,exportImage:`Exportar imaxe...`,export:`Gardar en...`,copyToClipboard:`Copiar ao portapapeis`,save:`Gardar no ficheiro actual`,saveAs:`Gardar como`,load:`Abrir`,getShareableLink:`Obter unha ligazón que se poida compartir`,close:`Pechar`,selectLanguage:`Seleccionar idioma`,scrollBackToContent:`Volver ao contido`,zoomIn:`Ampliar`,zoomOut:`Reducir`,resetZoom:`Reiniciar zoom`,menu:`Menú`,done:`Feito`,edit:`Editar`,undo:`Desfacer`,redo:`Refacer`,resetLibrary:`Reiniciar biblioteca`,createNewRoom:`Crear nova sala`,fullScreen:`Pantalla completa`,darkMode:`Modo escuro`,lightMode:`Modo claro`,zenMode:`Modo zen`,objectsSnapMode:``,exitZenMode:`Saír do modo zen`,cancel:`Cancelar`,clear:`Limpar`,remove:`Eliminar`,embed:``,publishLibrary:`Publicar`,submit:`Enviar`,confirm:`Confirmar`,embeddableInteractionButton:`Faga clic para interactuar`},r={clearReset:`Isto limpará todo o lenzo. Estás seguro?`,couldNotCreateShareableLink:`Non se puido crear unha ligazón para compartir.`,couldNotCreateShareableLinkTooBig:`Non se puido crear a ligazón para compartir: a escena é demasiado grande`,couldNotLoadInvalidFile:`Non se puido cargar o ficheiro non válido`,importBackendFailed:`A importación dende o backend fallou.`,cannotExportEmptyCanvas:`Non se pode exportar un lenzo baleiro.`,couldNotCopyToClipboard:`Non se puido copiar ao portapapeis.`,decryptFailed:`Non se poideron descifrar os datos.`,uploadedSecurly:`A carga foi asegurada con cifrado de extremo a extremo, o que significa que o servidor de Excalidraw e terceiros non poden ler o contido.`,loadSceneOverridePrompt:`A carga dun debuxo externo substituirá o contido existente. Desexa continuar?`,collabStopOverridePrompt:`Deter a sesión, sobrescribirá o seu debuxo local previamente almacenado. Está seguro?
1
+ import"./prod-CXChZPSF.js";var e={paste:`Pegar`,pasteAsPlaintext:`Pegar coma texto sen formato`,pasteCharts:`Pegar gráficos`,selectAll:`Seleccionar todo`,multiSelect:`Engadir elemento á selección`,moveCanvas:`Mover o lenzo`,cut:`Cortar`,copy:`Copiar`,copyAsPng:`Copiar no portapapeis como PNG`,copyAsSvg:`Copiar no portapapeis como SVG`,copyText:`Copia no portapapeis como texto`,copySource:``,convertToCode:``,bringForward:`Traer cara adiante`,sendToBack:`Enviar cara atrás`,bringToFront:`Traer á fronte`,sendBackward:`Enviar ao fondo`,delete:`Borrar`,copyStyles:`Copiar estilo`,pasteStyles:`Pegar estilo`,stroke:`Trazo`,background:`Fondo`,fill:`Recheo`,strokeWidth:`Largo do trazo`,strokeStyle:`Estilo do trazo`,strokeStyle_solid:`Sólido`,strokeStyle_dashed:`Liña de trazos`,strokeStyle_dotted:`Liña de puntos`,sloppiness:`Estilo de trazo`,opacity:`Opacidade`,textAlign:`Aliñar texto`,edges:`Bordos`,sharp:`Agudo`,round:`Redondo`,arrowheads:`Puntas de frecha`,arrowhead_none:`Ningunha`,arrowhead_arrow:`Frecha`,arrowhead_bar:`Barra`,arrowhead_circle:``,arrowhead_circle_outline:``,arrowhead_triangle:`Triángulo`,arrowhead_triangle_outline:``,arrowhead_diamond:``,arrowhead_diamond_outline:``,fontSize:`Tamaño da fonte`,fontFamily:`Tipo de fonte`,addWatermark:`Engadir "Feito con Excalidraw"`,handDrawn:`Debuxado a man`,normal:`Normal`,code:`Código`,small:`Pequeno`,medium:`Mediano`,large:`Grande`,veryLarge:`Moi grande`,solid:`Sólido`,hachure:`Folleto`,zigzag:`Zigzag`,crossHatch:`Raiado transversal`,thin:`Estreito`,bold:`Groso`,left:`Esquerda`,center:`Centrado`,right:`Dereita`,extraBold:`Moi groso`,architect:`Arquitecto`,artist:`Artista`,cartoonist:`Caricatura`,fileTitle:`Nome do arquivo`,colorPicker:`Selector de cor`,canvasColors:`Usado en lenzo`,canvasBackground:`Fondo do lenzo`,drawingCanvas:`Lenzo de debuxo`,layers:`Capas`,actions:`Accións`,language:`Idioma`,liveCollaboration:`Colaboración en directo...`,duplicateSelection:`Duplicar`,untitled:`Sen título`,name:`Nome`,yourName:`O teu nome`,madeWithExcalidraw:`Feito con Excalidraw`,group:`Agrupar selección`,ungroup:`Desagrupar selección`,collaborators:`Colaboradores`,showGrid:`Mostrar cuadrícula`,addToLibrary:`Engadir á biblioteca`,removeFromLibrary:`Eliminar da biblioteca`,libraryLoadingMessage:`Cargando biblioteca…`,libraries:`Explorar bibliotecas`,loadingScene:`Cargando escena…`,align:`Aliñamento`,alignTop:`Aliñamento superior`,alignBottom:`Aliñamento inferior`,alignLeft:`Aliñar a esquerda`,alignRight:`Aliñar a dereita`,centerVertically:`Centrar verticalmente`,centerHorizontally:`Centrar horizontalmente`,distributeHorizontally:`Distribuír horizontalmente`,distributeVertically:`Distribuír verticalmente`,flipHorizontal:`Virar horizontalmente`,flipVertical:`Virar verticalmente`,viewMode:`Modo de visualización`,share:`Compartir`,showStroke:`Mostrar selector de cores do trazo`,showBackground:`Mostrar selector de cores do fondo`,toggleTheme:`Alternar tema`,personalLib:`Biblioteca Persoal`,excalidrawLib:`Biblioteca Excalidraw`,decreaseFontSize:`Diminuír tamaño da fonte`,increaseFontSize:`Aumentar o tamaño da fonte`,unbindText:`Desvincular texto`,bindText:`Ligar o texto ao contedor`,createContainerFromText:`Envolver o texto nun contedor`,link:{edit:`Editar ligazón`,editEmbed:``,create:`Crear ligazón`,createEmbed:``,label:`Ligazón`,labelEmbed:``,empty:``},lineEditor:{edit:`Editar liña`,exit:`Saír do editor de liñas`},elementLock:{lock:`Bloquear`,unlock:`Desbloquear`,lockAll:`Bloquear todo`,unlockAll:`Desbloquear todo`},statusPublished:`Publicado`,sidebarLock:`Manter a barra lateral aberta`,selectAllElementsInFrame:``,removeAllElementsFromFrame:``,eyeDropper:``,textToDiagram:``,prompt:``},t={noItems:`Aínda non hai elementos engadidos...`,hint_emptyLibrary:`Seleccione un elemento no lenzo para engadilo aquí, ou instale unha biblioteca dende o repositorio público, como se detalla a continuación.`,hint_emptyPrivateLibrary:`Seleccione un elemento do lenzo para engadilo aquí.`},n={clearReset:`Limpar o lenzo`,exportJSON:`Exportar a arquivo`,exportImage:`Exportar imaxe...`,export:`Gardar en...`,copyToClipboard:`Copiar ao portapapeis`,save:`Gardar no ficheiro actual`,saveAs:`Gardar como`,load:`Abrir`,getShareableLink:`Obter unha ligazón que se poida compartir`,close:`Pechar`,selectLanguage:`Seleccionar idioma`,scrollBackToContent:`Volver ao contido`,zoomIn:`Ampliar`,zoomOut:`Reducir`,resetZoom:`Reiniciar zoom`,menu:`Menú`,done:`Feito`,edit:`Editar`,undo:`Desfacer`,redo:`Refacer`,resetLibrary:`Reiniciar biblioteca`,createNewRoom:`Crear nova sala`,fullScreen:`Pantalla completa`,darkMode:`Modo escuro`,lightMode:`Modo claro`,zenMode:`Modo zen`,objectsSnapMode:``,exitZenMode:`Saír do modo zen`,cancel:`Cancelar`,clear:`Limpar`,remove:`Eliminar`,embed:``,publishLibrary:`Publicar`,submit:`Enviar`,confirm:`Confirmar`,embeddableInteractionButton:`Faga clic para interactuar`},r={clearReset:`Isto limpará todo o lenzo. Estás seguro?`,couldNotCreateShareableLink:`Non se puido crear unha ligazón para compartir.`,couldNotCreateShareableLinkTooBig:`Non se puido crear a ligazón para compartir: a escena é demasiado grande`,couldNotLoadInvalidFile:`Non se puido cargar o ficheiro non válido`,importBackendFailed:`A importación dende o backend fallou.`,cannotExportEmptyCanvas:`Non se pode exportar un lenzo baleiro.`,couldNotCopyToClipboard:`Non se puido copiar ao portapapeis.`,decryptFailed:`Non se poideron descifrar os datos.`,uploadedSecurly:`A carga foi asegurada con cifrado de extremo a extremo, o que significa que o servidor de Excalidraw e terceiros non poden ler o contido.`,loadSceneOverridePrompt:`A carga dun debuxo externo substituirá o contido existente. Desexa continuar?`,collabStopOverridePrompt:`Deter a sesión, sobrescribirá o seu debuxo local previamente almacenado. Está seguro?
2
2
 
3
3
  (Se quere manter o seu debuxo local, simplemente peche a lapela do navegador.)`,errorAddingToLibrary:`Non se puido engadir o elemento á biblioteca`,errorRemovingFromLibrary:`Non se puido eliminar o elemento da biblioteca`,confirmAddLibrary:`Isto engadirá {{numShapes}} forma(s) a túa biblioteca. Estás seguro?`,imageDoesNotContainScene:`Esta imaxe non parece conter ningún dato da escena. Activou a inserción de escenas durante a exportación?`,cannotRestoreFromImage:`Non se puido restaurar a escena dende este arquivo de imaxe`,invalidSceneUrl:`Non se puido importar a escena dende a URL proporcionada. Ou ben está malformada ou non contén un JSON con información válida para Excalidraw.`,resetLibrary:`Isto limpará a súa biblioteca. Está seguro?`,removeItemsFromsLibrary:`Eliminar {{count}} elemento(s) da biblioteca?`,invalidEncryptionKey:`A clave de cifrado debe ter 22 caracteres. A colaboración en directo está desactivada.`,collabOfflineWarning:`Non hai conexión a Internet dispoñible.
4
4
  Os teus cambios non serán gardados!`},i={unsupportedFileType:`Tipo de ficheiro non soportado.`,imageInsertError:`Non se puido inserir a imaxe. Probe de novo máis tarde...`,fileTooBig:`O ficheiro é demasiado grande. O tamaño máximo permitido é {{maxSize}}.`,svgImageInsertError:`Non se puido inserir como imaxe SVG. O marcado SVG semella inválido.`,failedToFetchImage:``,invalidSVGString:`SVG inválido.`,cannotResolveCollabServer:`Non se puido conectar ao servidor de colaboración. Por favor recargue a páxina e probe de novo.`,importLibraryError:`Non se puido cargar a biblioteca`,collabSaveFailed:`Non se puido gardar na base de datos. Se o problema persiste, deberías gardar o teu arquivo de maneira local para asegurarte de non perdelo teu traballo.`,collabSaveFailed_sizeExceeded:`Non se puido gardar na base de datos, o lenzo semella demasiado grande. Deberías gardar o teu arquivo de maneira local para asegurarte de non perdelo teu traballo.`,imageToolNotSupported:``,brave_measure_text_error:{line1:``,line2:``,line3:``,line4:``},libraryElementTypeError:{embeddable:``,iframe:``,image:``},asyncPasteFailedOnRead:``,asyncPasteFailedOnParse:``,copyToSystemClipboardFailed:``},a={selection:`Selección`,image:`Inserir imaxe`,rectangle:`Rectángulo`,diamond:`Diamante`,ellipse:`Elipse`,arrow:`Frecha`,line:`Liña`,freedraw:`Debuxar`,text:`Texto`,library:`Biblioteca`,lock:`Manter a ferramenta seleccionada activa despois de debuxar`,penMode:`Modo lapis - evitar o contacto`,link:`Engadir/ Actualizar ligazón para a forma seleccionada`,eraser:`Goma de borrar`,frame:``,magicframe:``,embeddable:`Inserir na web`,laser:`Punteiro láser`,hand:`Man (ferramenta de desprazamento)`,extraTools:`Máis ferramentas`,mermaidToExcalidraw:``,magicSettings:``},o={canvasActions:`Accións do lenzo`,selectedShapeActions:`Accións da forma seleccionada`,shapes:`Formas`},s={canvasPanning:`Para mover o lenzo, manteña pulsada a roda do rato ou a barra de espazo mentres arrastra, ou utilice a ferramenta da man`,linearElement:`Faga clic para iniciar varios puntos, arrastre para unha sola liña`,freeDraw:`Fai clic e arrastra, solta cando acabes`,text:`Consello: tamén podes engadir texto facendo dobre-clic en calquera lugar coa ferramenta de selección`,embeddable:`Faga clic e arrastre para crear un sitio web embebido`,text_selected:`Dobre-clic ou prema ENTER para editar o texto`,text_editing:`Prema Escape ou CtrlOrCmd+ENTER para finalizar a edición`,linearElementMulti:`Faga clic no último punto ou prema Escape ou Enter para rematar`,lockAngle:`Pode reducir o ángulo mantendo SHIFT`,resize:`Pode reducir as proporcións mantendo SHIFT mentres axusta o tamaño,
@@ -1,4 +1,4 @@
1
- import"./prod-AmqxNzpE.js";var e={paste:`הדבק`,pasteAsPlaintext:`הדבק ללא עיצוב`,pasteCharts:`הדבק גרפים`,selectAll:`בחר הכל`,multiSelect:`הוסף רכיב לבחירה`,moveCanvas:`הזז את הקנבס`,cut:`גזור`,copy:`העתק`,copyAsPng:`העתק ללוח כ PNG`,copyAsSvg:`העתק ללוח כ SVG`,copyText:`העתק ללוח כטקסט`,copySource:``,convertToCode:``,bringForward:`הבא שכבה קדימה`,sendToBack:`שלח אחורה`,bringToFront:`העבר לחזית`,sendBackward:`העבר שכבה אחורה`,delete:`מחק`,copyStyles:`העתק סגנון`,pasteStyles:`הדבק סגנון`,stroke:`קו מתאר`,background:`רקע`,fill:`מילוי`,strokeWidth:`עובי קו מתאר`,strokeStyle:`סגנון קו המתאר`,strokeStyle_solid:`מלא`,strokeStyle_dashed:`מקווקו`,strokeStyle_dotted:`מנוקד`,sloppiness:`רישול`,opacity:`אטימות`,textAlign:`יישור טקסט`,edges:`קצוות`,sharp:`חד`,round:`עגול`,arrowheads:`ראשי חצים`,arrowhead_none:`ללא`,arrowhead_arrow:`חץ`,arrowhead_bar:`קצה אנכי`,arrowhead_circle:``,arrowhead_circle_outline:``,arrowhead_triangle:`משולש`,arrowhead_triangle_outline:``,arrowhead_diamond:``,arrowhead_diamond_outline:``,fontSize:`גודל גופן`,fontFamily:`גופן`,addWatermark:`הוסף "נוצר באמצעות Excalidraw"`,handDrawn:`ציור יד`,normal:`רגיל`,code:`קוד`,small:`קטן`,medium:`בינוני`,large:`גדול`,veryLarge:`גדול מאוד`,solid:`מוצק`,hachure:`קווים מקבילים קצרים להצגת כיוון וחדות שיפוע במפה`,zigzag:`זיגזג`,crossHatch:`קווים מוצלבים שתי וערב`,thin:`דק`,bold:`מודגש`,left:`שמאל`,center:`מרכז`,right:`ימין`,extraBold:`מודגש במיוחד`,architect:`ארכיטקט`,artist:`אמן`,cartoonist:`קריקטוריסט`,fileTitle:`שם קובץ`,colorPicker:`בוחר צבעים`,canvasColors:`בשימוש בקנבס`,canvasBackground:`רקע קנבס`,drawingCanvas:`קנבס ציור`,layers:`שכבות`,actions:`פעולות`,language:`שפה`,liveCollaboration:`התחל שיתוף חי...`,duplicateSelection:`שכפל`,untitled:`ללא כותרת`,name:`שם`,yourName:`שמך`,madeWithExcalidraw:`נוצר באמצעות Excalidraw`,group:`קבץ`,ungroup:`פרק קבוצה`,collaborators:`שותפים`,showGrid:`הצג רשת`,addToLibrary:`הוסף לספריה`,removeFromLibrary:`הסר מספריה`,libraryLoadingMessage:`טוען ספריה…`,libraries:`עיין בספריות`,loadingScene:`טוען תצוגה…`,align:`יישר`,alignTop:`יישר למעלה`,alignBottom:`יישר למטה`,alignLeft:`יישר לשמאל`,alignRight:`יישר לימין`,centerVertically:`מרכז אנכית`,centerHorizontally:`מרכז אופקית`,distributeHorizontally:`חלוקה אופקית`,distributeVertically:`חלוקה אנכית`,flipHorizontal:`הפוך אופקית`,flipVertical:`הפוך אנכית`,viewMode:`מצב תצוגה`,share:`שתף`,showStroke:`הצג בוחר צבע מברשת`,showBackground:`הצג בוחר צבע רקע`,toggleTheme:`שינוי ערכת העיצוב`,personalLib:`ספריה פרטית`,excalidrawLib:`הספריה של Excalidraw`,decreaseFontSize:`הקטן את גודל הגופן`,increaseFontSize:`הגדל את גודל הגופן`,unbindText:`ביטול קיבוע הטקסט`,bindText:`קיבוע הטקסט למיכל`,createContainerFromText:`ארוז טקסט במיכל`,link:{edit:`עריכת קישור`,editEmbed:`ערוך קישור ושבץ`,create:`יצירת קישור`,createEmbed:`צור קישור ושבץ`,label:`קישור`,labelEmbed:`קשר ושבץ`,empty:`לא נקבע קישור`},lineEditor:{edit:`ערוך קו`,exit:`צא מעורך הקו`},elementLock:{lock:`נעילה`,unlock:`ביטול נעילה`,lockAll:`לנעול הכל`,unlockAll:`שחרור הכול`},statusPublished:`פורסם`,sidebarLock:`שמור את סרגל הצד פתוח`,selectAllElementsInFrame:`בחר את כל האלמנטים במסגרת`,removeAllElementsFromFrame:`הסר את כל האלמנטים שבמסגרת`,eyeDropper:``,textToDiagram:``,prompt:``},t={noItems:`עוד לא הוספת דברים...`,hint_emptyLibrary:`בחר משהו בקנבס כדי להוסיף אותו לכאן, או שתתקין ספריה מהספריה הציבורית מטה.`,hint_emptyPrivateLibrary:`בחר משהו בקנבס כדי להוסיף אותו לכאן.`},n={clearReset:`אפס את הקנבאס`,exportJSON:`ייצא לקובץ`,exportImage:`ייצוא התמונה...`,export:`שמור ל...`,copyToClipboard:`העתק ללוח`,save:`שמור לקובץ נוכחי`,saveAs:`שמירה בשם`,load:`פתח`,getShareableLink:`קבל קישור לשיתוף`,close:`סגור`,selectLanguage:`בחר שפה`,scrollBackToContent:`גלול בחזרה לתוכן`,zoomIn:`הגדל`,zoomOut:`הקטן`,resetZoom:`איפוס זום`,menu:`תפריט`,done:`בוצע`,edit:`ערוך`,undo:`בטל`,redo:`בצע מחדש`,resetLibrary:`איפוס ספריה`,createNewRoom:`צור חדר חדש`,fullScreen:`מסך מלא`,darkMode:`מצב כהה`,lightMode:`מצב בהיר`,zenMode:`מצב זן`,objectsSnapMode:``,exitZenMode:`צא ממצב זן`,cancel:`ביטול`,clear:`ניקוי`,remove:`הסר`,embed:``,publishLibrary:`פרסום`,submit:`שליחה`,confirm:`אשר`,embeddableInteractionButton:``},r={clearReset:`פעולה זו תנקה את כל הקנבס. אתה בטוח?`,couldNotCreateShareableLink:`יצירת קישור לשיתוף נכשל.`,couldNotCreateShareableLinkTooBig:`יצירת קישור לשיתוף נכשל: התצוגה גדולה מדי`,couldNotLoadInvalidFile:`טעינת קובץ לא תקין נכשלה`,importBackendFailed:`ייבוא מהשרת נכשל.`,cannotExportEmptyCanvas:`לא ניתן לייצא קנבאס ריק.`,couldNotCopyToClipboard:`לא ניתן היה להעתיק ללוח.`,decryptFailed:`פיענוח ההצפנה של המידע נכשל.`,uploadedSecurly:`ההעלאה אובטחה באמצעות הצפנה מקצה לקצה, פירוש הדבר שהשרת של Excalidraw וגורמי צד ג׳ לא יכולים לקרוא את התוכן.`,loadSceneOverridePrompt:`טעינה של ציור חיצוני תחליף את התוכן הקיים שלך. האם תרצה להמשיך?`,collabStopOverridePrompt:`עצירת השיתוף תוביל למחיקת הציור הקודם ששמור מקומית בדפדפן. האם אתה בטוח?
1
+ import"./prod-CXChZPSF.js";var e={paste:`הדבק`,pasteAsPlaintext:`הדבק ללא עיצוב`,pasteCharts:`הדבק גרפים`,selectAll:`בחר הכל`,multiSelect:`הוסף רכיב לבחירה`,moveCanvas:`הזז את הקנבס`,cut:`גזור`,copy:`העתק`,copyAsPng:`העתק ללוח כ PNG`,copyAsSvg:`העתק ללוח כ SVG`,copyText:`העתק ללוח כטקסט`,copySource:``,convertToCode:``,bringForward:`הבא שכבה קדימה`,sendToBack:`שלח אחורה`,bringToFront:`העבר לחזית`,sendBackward:`העבר שכבה אחורה`,delete:`מחק`,copyStyles:`העתק סגנון`,pasteStyles:`הדבק סגנון`,stroke:`קו מתאר`,background:`רקע`,fill:`מילוי`,strokeWidth:`עובי קו מתאר`,strokeStyle:`סגנון קו המתאר`,strokeStyle_solid:`מלא`,strokeStyle_dashed:`מקווקו`,strokeStyle_dotted:`מנוקד`,sloppiness:`רישול`,opacity:`אטימות`,textAlign:`יישור טקסט`,edges:`קצוות`,sharp:`חד`,round:`עגול`,arrowheads:`ראשי חצים`,arrowhead_none:`ללא`,arrowhead_arrow:`חץ`,arrowhead_bar:`קצה אנכי`,arrowhead_circle:``,arrowhead_circle_outline:``,arrowhead_triangle:`משולש`,arrowhead_triangle_outline:``,arrowhead_diamond:``,arrowhead_diamond_outline:``,fontSize:`גודל גופן`,fontFamily:`גופן`,addWatermark:`הוסף "נוצר באמצעות Excalidraw"`,handDrawn:`ציור יד`,normal:`רגיל`,code:`קוד`,small:`קטן`,medium:`בינוני`,large:`גדול`,veryLarge:`גדול מאוד`,solid:`מוצק`,hachure:`קווים מקבילים קצרים להצגת כיוון וחדות שיפוע במפה`,zigzag:`זיגזג`,crossHatch:`קווים מוצלבים שתי וערב`,thin:`דק`,bold:`מודגש`,left:`שמאל`,center:`מרכז`,right:`ימין`,extraBold:`מודגש במיוחד`,architect:`ארכיטקט`,artist:`אמן`,cartoonist:`קריקטוריסט`,fileTitle:`שם קובץ`,colorPicker:`בוחר צבעים`,canvasColors:`בשימוש בקנבס`,canvasBackground:`רקע קנבס`,drawingCanvas:`קנבס ציור`,layers:`שכבות`,actions:`פעולות`,language:`שפה`,liveCollaboration:`התחל שיתוף חי...`,duplicateSelection:`שכפל`,untitled:`ללא כותרת`,name:`שם`,yourName:`שמך`,madeWithExcalidraw:`נוצר באמצעות Excalidraw`,group:`קבץ`,ungroup:`פרק קבוצה`,collaborators:`שותפים`,showGrid:`הצג רשת`,addToLibrary:`הוסף לספריה`,removeFromLibrary:`הסר מספריה`,libraryLoadingMessage:`טוען ספריה…`,libraries:`עיין בספריות`,loadingScene:`טוען תצוגה…`,align:`יישר`,alignTop:`יישר למעלה`,alignBottom:`יישר למטה`,alignLeft:`יישר לשמאל`,alignRight:`יישר לימין`,centerVertically:`מרכז אנכית`,centerHorizontally:`מרכז אופקית`,distributeHorizontally:`חלוקה אופקית`,distributeVertically:`חלוקה אנכית`,flipHorizontal:`הפוך אופקית`,flipVertical:`הפוך אנכית`,viewMode:`מצב תצוגה`,share:`שתף`,showStroke:`הצג בוחר צבע מברשת`,showBackground:`הצג בוחר צבע רקע`,toggleTheme:`שינוי ערכת העיצוב`,personalLib:`ספריה פרטית`,excalidrawLib:`הספריה של Excalidraw`,decreaseFontSize:`הקטן את גודל הגופן`,increaseFontSize:`הגדל את גודל הגופן`,unbindText:`ביטול קיבוע הטקסט`,bindText:`קיבוע הטקסט למיכל`,createContainerFromText:`ארוז טקסט במיכל`,link:{edit:`עריכת קישור`,editEmbed:`ערוך קישור ושבץ`,create:`יצירת קישור`,createEmbed:`צור קישור ושבץ`,label:`קישור`,labelEmbed:`קשר ושבץ`,empty:`לא נקבע קישור`},lineEditor:{edit:`ערוך קו`,exit:`צא מעורך הקו`},elementLock:{lock:`נעילה`,unlock:`ביטול נעילה`,lockAll:`לנעול הכל`,unlockAll:`שחרור הכול`},statusPublished:`פורסם`,sidebarLock:`שמור את סרגל הצד פתוח`,selectAllElementsInFrame:`בחר את כל האלמנטים במסגרת`,removeAllElementsFromFrame:`הסר את כל האלמנטים שבמסגרת`,eyeDropper:``,textToDiagram:``,prompt:``},t={noItems:`עוד לא הוספת דברים...`,hint_emptyLibrary:`בחר משהו בקנבס כדי להוסיף אותו לכאן, או שתתקין ספריה מהספריה הציבורית מטה.`,hint_emptyPrivateLibrary:`בחר משהו בקנבס כדי להוסיף אותו לכאן.`},n={clearReset:`אפס את הקנבאס`,exportJSON:`ייצא לקובץ`,exportImage:`ייצוא התמונה...`,export:`שמור ל...`,copyToClipboard:`העתק ללוח`,save:`שמור לקובץ נוכחי`,saveAs:`שמירה בשם`,load:`פתח`,getShareableLink:`קבל קישור לשיתוף`,close:`סגור`,selectLanguage:`בחר שפה`,scrollBackToContent:`גלול בחזרה לתוכן`,zoomIn:`הגדל`,zoomOut:`הקטן`,resetZoom:`איפוס זום`,menu:`תפריט`,done:`בוצע`,edit:`ערוך`,undo:`בטל`,redo:`בצע מחדש`,resetLibrary:`איפוס ספריה`,createNewRoom:`צור חדר חדש`,fullScreen:`מסך מלא`,darkMode:`מצב כהה`,lightMode:`מצב בהיר`,zenMode:`מצב זן`,objectsSnapMode:``,exitZenMode:`צא ממצב זן`,cancel:`ביטול`,clear:`ניקוי`,remove:`הסר`,embed:``,publishLibrary:`פרסום`,submit:`שליחה`,confirm:`אשר`,embeddableInteractionButton:``},r={clearReset:`פעולה זו תנקה את כל הקנבס. אתה בטוח?`,couldNotCreateShareableLink:`יצירת קישור לשיתוף נכשל.`,couldNotCreateShareableLinkTooBig:`יצירת קישור לשיתוף נכשל: התצוגה גדולה מדי`,couldNotLoadInvalidFile:`טעינת קובץ לא תקין נכשלה`,importBackendFailed:`ייבוא מהשרת נכשל.`,cannotExportEmptyCanvas:`לא ניתן לייצא קנבאס ריק.`,couldNotCopyToClipboard:`לא ניתן היה להעתיק ללוח.`,decryptFailed:`פיענוח ההצפנה של המידע נכשל.`,uploadedSecurly:`ההעלאה אובטחה באמצעות הצפנה מקצה לקצה, פירוש הדבר שהשרת של Excalidraw וגורמי צד ג׳ לא יכולים לקרוא את התוכן.`,loadSceneOverridePrompt:`טעינה של ציור חיצוני תחליף את התוכן הקיים שלך. האם תרצה להמשיך?`,collabStopOverridePrompt:`עצירת השיתוף תוביל למחיקת הציור הקודם ששמור מקומית בדפדפן. האם אתה בטוח?
2
2
 
3
3
  (אם תרצה לשמור את הציור המקומי, סגור את הטאב של הדפדפן במקום.)`,errorAddingToLibrary:`לא ניתן להוסיף פריט לספרייה`,errorRemovingFromLibrary:`לא ניתן להסיר פריט מהספריה`,confirmAddLibrary:`זה יוסיף {{numShapes}} צורה(ות) לספריה שלך. האם אתה בטוח?`,imageDoesNotContainScene:`נראה שהתמונה לא מכילה מידע על הסצינה. האם אפשרת הטמעת מידע הסצינה בעת השמירה?`,cannotRestoreFromImage:`לא הצלחנו לשחזר את הסצנה מקובץ התמונה`,invalidSceneUrl:`ייבוא מידע סצנה מהקישור שסופק כשל. או שהוא משובש, או שאינו מכיל מידע של Excalidraw בפורמט JSON.`,resetLibrary:`פעולה זו תנקה את כל הספריה שלך. אתה בטוח?`,removeItemsFromsLibrary:`מחק {{count}} פריט(ים) מהספריה?`,invalidEncryptionKey:`מפתח ההצפנה חייב להיות בן 22 תוים. השיתוף החי מנוטרל.`,collabOfflineWarning:`אין חיבור זמין לאינטרנט.
4
4
  השינויים שלך לא ישמרו!`},i={unsupportedFileType:`סוג הקובץ אינו נתמך.`,imageInsertError:`לא ניתן היה להוסיף את התמונה. אנא נסה שוב מאוחר יותר...`,fileTooBig:`הקובץ גדול מדי. הגודל המירבי המותר הינו {{maxSize}}.`,svgImageInsertError:`לא ניתן היה להוסיף את תמונת ה-SVG. הסימונים בתוך קובץ ה-SVG עשויים להיות שגויים.`,failedToFetchImage:``,invalidSVGString:`SVG שגוי.`,cannotResolveCollabServer:`לא הצלחתי להתחבר לשרת השיתוף. אנא רענן את הדף ונסה שוב.`,importLibraryError:`לא ניתן היה לטעון את הספריה`,collabSaveFailed:`לא הצלחתי להתחבר למסד הנתונים האחורי. אם הבעיה ממשיכה, כדאי שתשמור את הקובץ מקומית כדי לוודא שלא תאבד את העבודה שלך.`,collabSaveFailed_sizeExceeded:`לא הצלחתי לשמור למסד הנתונים האחורי, נראה שהקנבס שלך גדול מדי. כדאי שתשמור את הקובץ מקומית כדי לוודא שלא תאבד את העבודה שלך.`,imageToolNotSupported:``,brave_measure_text_error:{line1:``,line2:``,line3:``,line4:``},libraryElementTypeError:{embeddable:``,iframe:``,image:``},asyncPasteFailedOnRead:``,asyncPasteFailedOnParse:``,copyToSystemClipboardFailed:``},a={selection:`בחירה`,image:`הוספת תמונה`,rectangle:`מלבן`,diamond:`יהלום`,ellipse:`אליפסה`,arrow:`חץ`,line:`קו`,freedraw:`צייר`,text:`טקסט`,library:`ספריה`,lock:`השאר את הכלי הנבחר פעיל גם לאחר סיום הציור`,penMode:`מצב עט - מנע נגיעה`,link:`הוספה/עדכון קישור של הצורה שנבחרה`,eraser:`מחק`,frame:``,magicframe:``,embeddable:``,laser:``,hand:`יד (כלי הזזה)`,extraTools:``,mermaidToExcalidraw:``,magicSettings:``},o={canvasActions:`פעולות קנבאס`,selectedShapeActions:`פעולות על הצורות שנבחרו`,shapes:`צורות`},s={canvasPanning:`כדי להזיז את הקנבס, החזק את גלגל העכבר לחוץ או את מקש הרווח לחוץ תוך כדי גרירה, או השתמש בכלי היד`,linearElement:`לחץ להתחלת מספר נקודות, גרור לקו יחיד`,freeDraw:`לחץ וגרור, שחרר כשסיימת`,text:`טיפ: אפשר להוסיף טקסט על ידי לחיצה כפולה בכל מקום עם כלי הבחירה`,embeddable:``,text_selected:`לחץ לחיצה כפולה או הקש על אנטר לעריכת הטקסט`,text_editing:`כדי לסיים את העריכה לחץ על מקש Escape או על Ctrl (Cmd במחשבי אפל) ומקש Enter`,linearElementMulti:`הקלק על הנקודה האחרונה או הקש Escape או Enter לסיום`,lockAngle:`ניתן להגביל את הזוויות על ידי החזקה של מקש ה- SHIFT`,resize:`ניתן להגביל פרופורציות על ידי לחיצה על SHIFT תוך כדי שינוי גודל,