@foris/avocado-not-front 1.12.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (343) hide show
  1. package/dist/avocado-not-front.es.js +2191 -8
  2. package/dist/avocado-not-front.umd.js +3 -4642
  3. package/dist/hooks/useAction.d.ts +3 -3
  4. package/dist/services/axios/useFetchAndLoad.d.ts +1 -1
  5. package/dist/types/builder.type.d.ts +1 -0
  6. package/dist/types/components.type.d.ts +9 -1
  7. package/package.json +35 -18
  8. package/dist/abap-Y8Dl9g_6-Y8Dl9g_6.js +0 -6
  9. package/dist/actionscript-3-DZzbMeqX-DZzbMeqX.js +0 -6
  10. package/dist/ada-vP6ak0IW-vP6ak0IW.js +0 -6
  11. package/dist/andromeeda-BIpZ7gaU-BIpZ7gaU.js +0 -4
  12. package/dist/angular-html-DPB4Rf0C-1_1_4tyh.js +0 -34
  13. package/dist/angular-ts-CeqPwKaz-ohSx1G-R.js +0 -24
  14. package/dist/apache-BUjz-sD2-BUjz-sD2.js +0 -6
  15. package/dist/apex-oLhhs58q-oLhhs58q.js +0 -6
  16. package/dist/apl-Bfz1rp5e-DI6exAvT.js +0 -17
  17. package/dist/applescript-BPx7YFFu-BPx7YFFu.js +0 -6
  18. package/dist/ara-Z2fSOxSw-Z2fSOxSw.js +0 -6
  19. package/dist/arc-DHSZg76Q-C6o4oFmD.js +0 -85
  20. package/dist/architectureDiagram-VXUJARFQ-Cp8vugxX-9O3-degh.js +0 -4672
  21. package/dist/asciidoc-B-pCoB3G-B-pCoB3G.js +0 -6
  22. package/dist/asm-BTWLY5ym-BTWLY5ym.js +0 -6
  23. package/dist/astro-CFFExE8Q-D857V_mk.js +0 -18
  24. package/dist/aurora-x-BwoVEUWZ-BwoVEUWZ.js +0 -4
  25. package/dist/awk-Fb0P9dkn-Fb0P9dkn.js +0 -6
  26. package/dist/ayu-dark-CxPZkpb2-CxPZkpb2.js +0 -4
  27. package/dist/ballerina-oZK-YekG-oZK-YekG.js +0 -6
  28. package/dist/bat-0FvbqU9S-0FvbqU9S.js +0 -6
  29. package/dist/beancount-DqJEb89h-DqJEb89h.js +0 -6
  30. package/dist/berry-DODBq_Ff-DODBq_Ff.js +0 -6
  31. package/dist/bibtex-EULQRLY5-EULQRLY5.js +0 -6
  32. package/dist/bicep-BorU73w0-BorU73w0.js +0 -6
  33. package/dist/blade-DRRSiTQz-DuQj1Sqy.js +0 -21
  34. package/dist/blockDiagram-VD42YOAC-B4cTulr6-CNlYtTjf.js +0 -2407
  35. package/dist/bsl-NkNNwerW-DeWv6DbE.js +0 -8
  36. package/dist/c-eeMepfLm-eeMepfLm.js +0 -6
  37. package/dist/c4Diagram-YG6GDRKO-B8--s8xx-CZw1PsLU.js +0 -1585
  38. package/dist/cadence-02UX7mW8-02UX7mW8.js +0 -6
  39. package/dist/cairo-DM6WF2e3-BLxuUSuB.js +0 -8
  40. package/dist/catppuccin-frappe-D3cH2rXe-D3cH2rXe.js +0 -4
  41. package/dist/catppuccin-latte-C0LRGUW4-C0LRGUW4.js +0 -4
  42. package/dist/catppuccin-macchiato-c5wQ11TT-c5wQ11TT.js +0 -4
  43. package/dist/catppuccin-mocha-WMD6Qvya-WMD6Qvya.js +0 -4
  44. package/dist/channel-Cqk_cOiy-72hMZ_v0.js +0 -5
  45. package/dist/chunk-4BX2VUAB-Cb-wAjVN-DlY_dtbp.js +0 -9
  46. package/dist/chunk-55IACEB6-QFXfbMHG-AnxyrPT-.js +0 -8
  47. package/dist/chunk-B4BG7PRW-CFs53zrP-DB12fnkn.js +0 -1375
  48. package/dist/chunk-DI55MBZ5-CKjAOeh7-D98MsfUL.js +0 -1383
  49. package/dist/chunk-FMBD7UC4-B29MtLTn-tjtGIWPm.js +0 -19
  50. package/dist/chunk-QN33PNHL-5bU-bM6A-vK9OZVa6.js +0 -20
  51. package/dist/chunk-QZHKN3VN-B_Q6cMrq-78n0e61s.js +0 -15
  52. package/dist/chunk-TZMSLE5B-DlULRafu-BlGLxuE_.js +0 -64
  53. package/dist/clarity-PKm5CwqM-PKm5CwqM.js +0 -6
  54. package/dist/classDiagram-2ON5EDUG-DJmXfcVi-CF8YlvOv.js +0 -22
  55. package/dist/classDiagram-v2-WZHVMYZB-DJmXfcVi-CF8YlvOv.js +0 -22
  56. package/dist/clojure-CXJfHrL3-CXJfHrL3.js +0 -6
  57. package/dist/cmake-BJz8BOTU-BJz8BOTU.js +0 -6
  58. package/dist/cobol-DYTFdEK1-1eoMdnt0.js +0 -12
  59. package/dist/code-block-QI2IAROF-C_F85uim-MNaL7yo9.js +0 -2805
  60. package/dist/codeowners-Bt9yU6NX-Bt9yU6NX.js +0 -6
  61. package/dist/codeql-DHkodjjI-DHkodjjI.js +0 -6
  62. package/dist/coffee-DGBR_nr_-Cu5d6u6p.js +0 -8
  63. package/dist/common-lisp-EVqT9Zhp-EVqT9Zhp.js +0 -6
  64. package/dist/coq-B0L9upzn-B0L9upzn.js +0 -6
  65. package/dist/cose-bilkent-S5V4N54A-N3jM_XQd-BbbJbKzj.js +0 -2612
  66. package/dist/cpp-ZFnOq6fV-CkUSzFY-.js +0 -19
  67. package/dist/crystal-CRJyc4G--B_7jzPPy.js +0 -18
  68. package/dist/csharp-C7yUs7-w-C7yUs7-w.js +0 -6
  69. package/dist/css-CECN5uSL-CECN5uSL.js +0 -6
  70. package/dist/csv-CmYOceLb-DlI6xKnA.js +0 -6
  71. package/dist/cue-ZzumE7IT-ZzumE7IT.js +0 -6
  72. package/dist/cypher-jpdmjtA6-jpdmjtA6.js +0 -6
  73. package/dist/cytoscape.esm-ClN43hhW-Dh4GqQxb.js +0 -18836
  74. package/dist/d-CBagWSwH-CBagWSwH.js +0 -6
  75. package/dist/dagre-6UL2VRFP-CJdrtgOu-CLaqjT6l.js +0 -451
  76. package/dist/dark-plus-pUHDTVV0-pUHDTVV0.js +0 -4
  77. package/dist/dart-6ObCrKr9-6ObCrKr9.js +0 -6
  78. package/dist/dax-CcDT-8dH-CcDT-8dH.js +0 -6
  79. package/dist/defaultLocale-DcQU6Vee-C62bXCQv.js +0 -177
  80. package/dist/desktop-B93p9R9O-B93p9R9O.js +0 -6
  81. package/dist/diagram-PSM6KHXK-DSaDqHvO-DVH1Sew6.js +0 -544
  82. package/dist/diagram-QEK2KX5R-BbxboH_--DYDmO4S1.js +0 -224
  83. package/dist/diagram-S2PKOQOG-DWsCb5He--yPVUK-A.js +0 -146
  84. package/dist/diff-BxzP2J8R-BxzP2J8R.js +0 -6
  85. package/dist/docker-CsHqm9tx-CsHqm9tx.js +0 -6
  86. package/dist/dotenv-BMjVjUL1-BMjVjUL1.js +0 -6
  87. package/dist/dracula-BtZx2Kac-BtZx2Kac.js +0 -4
  88. package/dist/dracula-soft-BKa-aqBv-BKa-aqBv.js +0 -4
  89. package/dist/dream-maker-PAx17jaB-PAx17jaB.js +0 -6
  90. package/dist/edge-B882-fmN-CXsL8OuZ.js +0 -14
  91. package/dist/elixir-DRzNHQCz-EnC5QsDh.js +0 -10
  92. package/dist/elm-DZPAA5Qn-BCPZo0aa.js +0 -9
  93. package/dist/emacs-lisp-Cfxdx5D--Cfxdx5D-.js +0 -6
  94. package/dist/erDiagram-Q2GNP2WA-Bl0uHx93-Cm6cgw10.js +0 -844
  95. package/dist/erb-DB1DqdBc-CnAEHkSC.js +0 -27
  96. package/dist/erlang-DNcDT8Hi-Cs3llSSi.js +0 -8
  97. package/dist/everforest-dark-DMCBqXCK-DMCBqXCK.js +0 -4
  98. package/dist/everforest-light-BbXl82Em-BbXl82Em.js +0 -4
  99. package/dist/fennel-N4WcXuKx-N4WcXuKx.js +0 -6
  100. package/dist/fish-BTDEUgqH-BTDEUgqH.js +0 -6
  101. package/dist/flowDiagram-NV44I4VS-Dq0mXT8f-BL0sk42H.js +0 -1631
  102. package/dist/fluent-BMXUxfv1-BMXUxfv1.js +0 -6
  103. package/dist/fortran-fixed-form-DUsA-VGo-CYX4aMfD.js +0 -8
  104. package/dist/fortran-free-form-DPIT_jbP-DPIT_jbP.js +0 -6
  105. package/dist/fsharp-CYOiIVNx-D3KYyprZ.js +0 -8
  106. package/dist/ganttDiagram-JELNMOA3-Dj1adndm-BODWVm5T.js +0 -2702
  107. package/dist/gdresource-BwtMIoBm-DVtwhfL2.js +0 -10
  108. package/dist/gdscript-BifyeYhI-BifyeYhI.js +0 -6
  109. package/dist/gdshader-Bk8fF6yr-Bk8fF6yr.js +0 -6
  110. package/dist/genie-DzUvd7U9-DzUvd7U9.js +0 -6
  111. package/dist/gherkin-DHRaV0YP-DHRaV0YP.js +0 -6
  112. package/dist/git-commit-Bd32YZ0K-D9qSjMiw.js +0 -8
  113. package/dist/git-rebase-ZWUFO_T4-uqUGWt5o.js +0 -8
  114. package/dist/gitGraphDiagram-NY62KEGX-DIFZugA1-BsIE257G.js +0 -715
  115. package/dist/github-dark-DenFmJkN-DenFmJkN.js +0 -4
  116. package/dist/github-dark-default-BJPUVz4H-BJPUVz4H.js +0 -4
  117. package/dist/github-dark-dimmed-DUshB20C-DUshB20C.js +0 -4
  118. package/dist/github-dark-high-contrast-D3aGCnF8-D3aGCnF8.js +0 -4
  119. package/dist/github-light-JYsPkUQd-JYsPkUQd.js +0 -4
  120. package/dist/github-light-default-D99KPAby-D99KPAby.js +0 -4
  121. package/dist/github-light-high-contrast-BbmZE-Mp-BbmZE-Mp.js +0 -4
  122. package/dist/gleam-Bv284lvN-Bv284lvN.js +0 -6
  123. package/dist/glimmer-js-DkxNrfPT-Dr8vv_dk.js +0 -14
  124. package/dist/glimmer-ts-D6YZEmK_-CeJS1lkt.js +0 -14
  125. package/dist/glsl-CkUcVZNK-D6P60Alb.js +0 -8
  126. package/dist/gnuplot-yPG9-sE_-yPG9-sE_.js +0 -6
  127. package/dist/go-ChxJuLYK-ChxJuLYK.js +0 -6
  128. package/dist/graph-DB2UxkYH-Bs-uwV4G.js +0 -1190
  129. package/dist/graphql-CBu2ehBn-B9KpeKh4.js +0 -14
  130. package/dist/groovy-CJQTphOW-CJQTphOW.js +0 -6
  131. package/dist/gruvbox-dark-hard-C5HOtKIh-C5HOtKIh.js +0 -4
  132. package/dist/gruvbox-dark-medium-FVgwJHuz-FVgwJHuz.js +0 -4
  133. package/dist/gruvbox-dark-soft-B46F314v-B46F314v.js +0 -4
  134. package/dist/gruvbox-light-hard-CJD38wDZ-CJD38wDZ.js +0 -4
  135. package/dist/gruvbox-light-medium-BlIhMYTA-BlIhMYTA.js +0 -4
  136. package/dist/gruvbox-light-soft-DoPHyLVZ-DoPHyLVZ.js +0 -4
  137. package/dist/hack-DVWgrvc2-CFszvyOs.js +0 -12
  138. package/dist/haml-NZLVzu_R-6sAynSNG.js +0 -10
  139. package/dist/handlebars-mxStpSE7-C1GOcwW1.js +0 -14
  140. package/dist/haskell-WeIwNIP6-WeIwNIP6.js +0 -6
  141. package/dist/haxe-TztHsm5T-TztHsm5T.js +0 -6
  142. package/dist/hcl-D438OF-I-D438OF-I.js +0 -6
  143. package/dist/hjson-DYBUbqOl-DYBUbqOl.js +0 -6
  144. package/dist/hlsl-Bk8TCZNL-Bk8TCZNL.js +0 -6
  145. package/dist/houston-BDYrDoDW-BDYrDoDW.js +0 -4
  146. package/dist/html-B50bmoVb-BJ3eCZKL.js +0 -10
  147. package/dist/html-derivative-ByyNxAP5-BxLhKRHw.js +0 -10
  148. package/dist/http-BVIWqb92-CjnDmEd8.js +0 -19
  149. package/dist/hurl-B8OTiYoQ-DoRwHSAy.js +0 -17
  150. package/dist/hxml-GbqSQCLa-BnvJylRx.js +0 -8
  151. package/dist/hy-Brt5EZ7--Brt5EZ7-.js +0 -6
  152. package/dist/imba-CimUv-Uh-CimUv-Uh.js +0 -6
  153. package/dist/infoDiagram-WHAUD3N6-DPjzRs82-ChgGSBbk.js +0 -27
  154. package/dist/ini-BZIuRIvJ-BZIuRIvJ.js +0 -6
  155. package/dist/init-DjUOC4st-C8Nwz6AJ.js +0 -16
  156. package/dist/java-DY6VlHhP-DY6VlHhP.js +0 -6
  157. package/dist/javascript-C25yR2R2-C25yR2R2.js +0 -6
  158. package/dist/jinja-CI-LSgSv-BEWEZ83m.js +0 -13
  159. package/dist/jison-DdreslRX-DzaoIrEq.js +0 -8
  160. package/dist/journeyDiagram-XKPGCS4Q-DLrlPVyq-DYzqQ6Qu.js +0 -840
  161. package/dist/json-DxJze_jm-DxJze_jm.js +0 -6
  162. package/dist/json5-BT4Fjg39-BT4Fjg39.js +0 -6
  163. package/dist/jsonc-CHjZD8gR-CHjZD8gR.js +0 -6
  164. package/dist/jsonl-BGuvDmy9-BGuvDmy9.js +0 -6
  165. package/dist/jsonnet-Bx2cfsXg-Bx2cfsXg.js +0 -6
  166. package/dist/jssm-BcADi6EI-BcADi6EI.js +0 -6
  167. package/dist/jsx-BtKADgXT-BtKADgXT.js +0 -6
  168. package/dist/julia-ll8P6QXy-CifMye9u.js +0 -19
  169. package/dist/kanagawa-dragon-CiKur4Hl-CiKur4Hl.js +0 -4
  170. package/dist/kanagawa-lotus-BKu-smKu-BKu-smKu.js +0 -4
  171. package/dist/kanagawa-wave-CQwozSzG-CQwozSzG.js +0 -4
  172. package/dist/kanban-definition-3W4ZIXB7-BTI5yGHx-Bz8MmnxI.js +0 -724
  173. package/dist/katex.min-l0sNRNKZ-l0sNRNKZ.js +0 -1
  174. package/dist/kdl-BNOv9TC3-0Q4F1UAs.js +0 -6
  175. package/dist/kotlin-ByBMgTeR-ByBMgTeR.js +0 -6
  176. package/dist/kusto-VWFLl2T0-VWFLl2T0.js +0 -6
  177. package/dist/laserwave-6a00oqik-6a00oqik.js +0 -4
  178. package/dist/latex-DF20280u-RMy1LUrW.js +0 -9
  179. package/dist/layout-Q6wQN5dr-BC95Y2G0.js +0 -1727
  180. package/dist/lean-D5yRrexI-D5yRrexI.js +0 -6
  181. package/dist/less-B1GLI2Di-B1GLI2Di.js +0 -6
  182. package/dist/light-plus-CZuVqSLX-CZuVqSLX.js +0 -4
  183. package/dist/linear-UL3ZZUJv-CWZvrkAD.js +0 -277
  184. package/dist/liquid-CHzkx3jT-G75tv0iE.js +0 -14
  185. package/dist/llvm-co1rIKs3-co1rIKs3.js +0 -6
  186. package/dist/log-Al8wyEFV-Al8wyEFV.js +0 -6
  187. package/dist/logo-DBa4JDzV-DBa4JDzV.js +0 -6
  188. package/dist/lua-kX5WP_P5-DxLUTRud.js +0 -8
  189. package/dist/luau-DtBSxLyz-DtBSxLyz.js +0 -6
  190. package/dist/make-CsMclxtr-CsMclxtr.js +0 -6
  191. package/dist/markdown-CrScaQ96-CrScaQ96.js +0 -6
  192. package/dist/marko-ls0Jg2j8-BHrfxEh0.js +0 -14
  193. package/dist/material-theme-D6KBX41T-D6KBX41T.js +0 -4
  194. package/dist/material-theme-darker-CkRroheE-CkRroheE.js +0 -4
  195. package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +0 -4
  196. package/dist/material-theme-ocean-ClGX14Ja-ClGX14Ja.js +0 -4
  197. package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +0 -4
  198. package/dist/matlab-BOAaUVP0-BOAaUVP0.js +0 -6
  199. package/dist/mdc-DIP5_jeM-Cff0amyo.js +0 -15
  200. package/dist/mdx-BOhZZUJ8-BOhZZUJ8.js +0 -6
  201. package/dist/mermaid-B0ixDHKN-B0ixDHKN.js +0 -6
  202. package/dist/mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js +0 -140994
  203. package/dist/mermaid.core-Cpfp0NBU-DQS-fLaZ.js +0 -14401
  204. package/dist/min-dark-C7ak0t6c-C7ak0t6c.js +0 -4
  205. package/dist/min-light-CKFxVcPp-CKFxVcPp.js +0 -4
  206. package/dist/mindmap-definition-VGOIOE7T-B6ovfeib-CXlRkpn9.js +0 -790
  207. package/dist/mipsasm-CTx18fBl-CTx18fBl.js +0 -6
  208. package/dist/mojo-BD611d7o-BD611d7o.js +0 -6
  209. package/dist/monokai-C1KBYcO0-C1KBYcO0.js +0 -4
  210. package/dist/move-F-dICmj2-F-dICmj2.js +0 -6
  211. package/dist/narrat-DmhDCBs--DmhDCBs-.js +0 -6
  212. package/dist/nextflow-DmSVRGjG-DmSVRGjG.js +0 -6
  213. package/dist/nginx-COxS3qoU-CvZmIOfz.js +0 -9
  214. package/dist/night-owl-Bm2rzalh-Bm2rzalh.js +0 -4
  215. package/dist/nim-CCwXZLHG-CVhjPGL5.js +0 -21
  216. package/dist/nix-BZK5F767-BZK5F767.js +0 -9
  217. package/dist/nord-CC5OiUXg-CC5OiUXg.js +0 -4
  218. package/dist/nushell-D8j3dhT--D8j3dhT-.js +0 -6
  219. package/dist/objective-c-Itk8tzmv-Itk8tzmv.js +0 -6
  220. package/dist/objective-cpp-DGt5UKRO-DGt5UKRO.js +0 -6
  221. package/dist/ocaml-eSVK32Eg-eSVK32Eg.js +0 -6
  222. package/dist/one-dark-pro-DTA3VF0_-DTA3VF0_.js +0 -4
  223. package/dist/one-light-D9sNaUtq-D9sNaUtq.js +0 -4
  224. package/dist/openscad-Sp5uZ6f2-Sp5uZ6f2.js +0 -6
  225. package/dist/ordinal-MUacOSdK-B1MUT0BL.js +0 -65
  226. package/dist/pascal-xy8pJNns-xy8pJNns.js +0 -6
  227. package/dist/perl-NvKK8p2P-DbsmNmLT.js +0 -17
  228. package/dist/php-CK5hNnT0-DEpqLZ_n.js +0 -19
  229. package/dist/pieDiagram-ADFJNKIX-Bn24elWA-iGwy_4tX.js +0 -166
  230. package/dist/pkl-C-zSNmaA-C-zSNmaA.js +0 -6
  231. package/dist/plastic-CSTz3KZp-CSTz3KZp.js +0 -4
  232. package/dist/plsql-pVbGZfOv-pVbGZfOv.js +0 -6
  233. package/dist/po-BNfHvqmm-BNfHvqmm.js +0 -6
  234. package/dist/poimandres-C-VADXHD-C-VADXHD.js +0 -4
  235. package/dist/polar-CAZahv3u-CAZahv3u.js +0 -6
  236. package/dist/postcss-05aHdL-n-05aHdL-n.js +0 -6
  237. package/dist/powerquery-DI9HkTvs-DI9HkTvs.js +0 -6
  238. package/dist/powershell-Clc4ydu--Clc4ydu-.js +0 -6
  239. package/dist/prisma-FZjmVtSl-FZjmVtSl.js +0 -6
  240. package/dist/prolog-C5-yg4TO-C5-yg4TO.js +0 -6
  241. package/dist/proto-MmCPeFAD-MmCPeFAD.js +0 -6
  242. package/dist/pug-XOw9Q1Ho-BO4tUzTj.js +0 -12
  243. package/dist/puppet-CUJHmnxV-CUJHmnxV.js +0 -6
  244. package/dist/purescript-rUfGld-4-rUfGld-4.js +0 -6
  245. package/dist/python-BFNSHbwJ-BFNSHbwJ.js +0 -6
  246. package/dist/qml-rTNXsquU-DeTe0b4l.js +0 -8
  247. package/dist/qmldir-BInDYbpo-BInDYbpo.js +0 -6
  248. package/dist/qss-AeJTysr_-AeJTysr_.js +0 -6
  249. package/dist/quadrantDiagram-AYHSOK5B-CsbmyLll-CFP8fgtI.js +0 -1030
  250. package/dist/r-Bm0uF0U2-Bm0uF0U2.js +0 -6
  251. package/dist/racket-B83wSAja-B83wSAja.js +0 -6
  252. package/dist/raku-nEQ4ZJJ7-nEQ4ZJJ7.js +0 -6
  253. package/dist/razor-CoqPuKQU-DUBs-Qe6.js +0 -12
  254. package/dist/red-7y8PH7HH-7y8PH7HH.js +0 -4
  255. package/dist/reg-m_s_Kiip-m_s_Kiip.js +0 -6
  256. package/dist/regexp-BazyLpPg-BazyLpPg.js +0 -6
  257. package/dist/rel-BcRfyd6Q-BcRfyd6Q.js +0 -6
  258. package/dist/requirementDiagram-UZGBJVZJ--9rfbKaz-CC8EZoyz.js +0 -854
  259. package/dist/riscv-Ce8MAQLP-Ce8MAQLP.js +0 -6
  260. package/dist/rose-pine-BKc3yVeu-BKc3yVeu.js +0 -4
  261. package/dist/rose-pine-dawn-BulJcPZT-BulJcPZT.js +0 -4
  262. package/dist/rose-pine-moon-j6jiXKV8-j6jiXKV8.js +0 -4
  263. package/dist/rosmsg-Cz0w1km8-Cz0w1km8.js +0 -6
  264. package/dist/rst-AoEjemIj-Dr7TcJwd.js +0 -36
  265. package/dist/ruby-CGSl8JoB-D4hDjzwe.js +0 -36
  266. package/dist/rust-CLzF9zIN-CLzF9zIN.js +0 -6
  267. package/dist/sankeyDiagram-TZEHDZUN-Cp2id-3k-DhByp8vU.js +0 -830
  268. package/dist/sas-fpEvgATw-D9dNv8Ej.js +0 -8
  269. package/dist/sass-DxHp5rTx-DxHp5rTx.js +0 -6
  270. package/dist/scala-D4grkFkl-D4grkFkl.js +0 -6
  271. package/dist/scheme-BCRWuEm4-BCRWuEm4.js +0 -6
  272. package/dist/scss-B1FaCqwR-DbNEJJFR.js +0 -8
  273. package/dist/sdbl-B7T8abf4-B7T8abf4.js +0 -6
  274. package/dist/sequenceDiagram-WL72ISMW-Bdoz1Co7-DcFuWrLs.js +0 -2526
  275. package/dist/shaderlab-Cr62-Wb4-D_jbKjpl.js +0 -8
  276. package/dist/shellscript-InADTalH-InADTalH.js +0 -6
  277. package/dist/shellsession-DiDJNQdy-BGvYrs9g.js +0 -8
  278. package/dist/slack-dark-i7wN4OET-i7wN4OET.js +0 -4
  279. package/dist/slack-ochin-ndHf0LoP-ndHf0LoP.js +0 -4
  280. package/dist/smalltalk-BlI1_OkM-BlI1_OkM.js +0 -6
  281. package/dist/snazzy-light-BlSJXAu4-BlSJXAu4.js +0 -4
  282. package/dist/solarized-dark-UTmkh7lw-UTmkh7lw.js +0 -4
  283. package/dist/solarized-light-BheCkDPT-BheCkDPT.js +0 -4
  284. package/dist/solidity-DUWnFhS6-DUWnFhS6.js +0 -6
  285. package/dist/soy-YPoZ1G2p-C1q7UQeu.js +0 -10
  286. package/dist/sparql-B0KWFEri-CqC-y0Su.js +0 -8
  287. package/dist/splunk-CRXR8A9s-CRXR8A9s.js +0 -6
  288. package/dist/sql-Cn_v3PB0-Cn_v3PB0.js +0 -6
  289. package/dist/ssh-config-DP-hNVbF-DP-hNVbF.js +0 -6
  290. package/dist/stata-B8c5fTjX-Bf3brRPV.js +0 -8
  291. package/dist/stateDiagram-FKZM4ZOC-BLHxjrc8-FBnBvaVW.js +0 -268
  292. package/dist/stateDiagram-v2-4FDKWEC3-CbxCwS8b-B_Pfgmu4.js +0 -21
  293. package/dist/stylus-CyKEU1Ej-CyKEU1Ej.js +0 -6
  294. package/dist/svelte-5UasyOg7-e8KUCojE.js +0 -14
  295. package/dist/swift-9UzSvamq-9UzSvamq.js +0 -6
  296. package/dist/synthwave-84-NU3C_KFZ-NU3C_KFZ.js +0 -4
  297. package/dist/system-verilog-BCm7smPJ-BCm7smPJ.js +0 -6
  298. package/dist/systemd-C-4qm6XH-C-4qm6XH.js +0 -6
  299. package/dist/talonscript-CFF3LF_O-CvtCkGGO.js +0 -6
  300. package/dist/tasl-Cg_WBUAe-Cg_WBUAe.js +0 -6
  301. package/dist/tcl-DN7buRTF-DN7buRTF.js +0 -6
  302. package/dist/templ-peLZIM2D-DkTUdVi-.js +0 -12
  303. package/dist/terraform-DGvcn9zM-DGvcn9zM.js +0 -6
  304. package/dist/tex-DpOayVob-BjP51rYh.js +0 -8
  305. package/dist/timeline-definition-IT6M3QCI-s3Wsbz6h-DfdfMl2Q.js +0 -805
  306. package/dist/tokyo-night-DP4TmcQl-DP4TmcQl.js +0 -4
  307. package/dist/toml-DY62mUL_-DY62mUL_.js +0 -6
  308. package/dist/treemap-KMMF4GRG-D_L55G0b-CANAYd5X.js +0 -15006
  309. package/dist/ts-tags-CWmBp2js-DrKIoTCJ.js +0 -43
  310. package/dist/tsv-BtvSkaG0-BtvSkaG0.js +0 -6
  311. package/dist/tsx-B8rCNbgL-B8rCNbgL.js +0 -6
  312. package/dist/turtle-_H59FV7D-_H59FV7D.js +0 -6
  313. package/dist/twig-Cpoho6oi-CQE9XWXP.js +0 -35
  314. package/dist/typescript-RycA9KXf-RycA9KXf.js +0 -6
  315. package/dist/typespec-DWqp-kUU-DWqp-kUU.js +0 -6
  316. package/dist/typst-D_1QKWns-D_1QKWns.js +0 -6
  317. package/dist/v-BPCNiyYe-BPCNiyYe.js +0 -6
  318. package/dist/vala-uxaPR7d1-uxaPR7d1.js +0 -6
  319. package/dist/vb-D8_c5-KN-D8_c5-KN.js +0 -6
  320. package/dist/verilog-B-bybjPF-B-bybjPF.js +0 -6
  321. package/dist/vesper-BckBta1U-BckBta1U.js +0 -4
  322. package/dist/vhdl-CUlNa8ac-CUlNa8ac.js +0 -6
  323. package/dist/viml-DsfA-sWm-DsfA-sWm.js +0 -6
  324. package/dist/vitesse-black-BoGvW84i-BoGvW84i.js +0 -4
  325. package/dist/vitesse-dark-Cym-eLtO-Cym-eLtO.js +0 -4
  326. package/dist/vitesse-light-CcmG315c-CcmG315c.js +0 -4
  327. package/dist/vue-DmFKWfEU-DXvRBLDJ.js +0 -31
  328. package/dist/vue-html-BB2aI7Yc-e0S8MQFq.js +0 -15
  329. package/dist/vue-vine-CznNap4x-DAbzn77p.js +0 -24
  330. package/dist/vyper-CPQuu50u-CPQuu50u.js +0 -6
  331. package/dist/wasm-BBXxrAl7-BBXxrAl7.js +0 -6
  332. package/dist/wasm-DQxwEHae-DQxwEHae.js +0 -7
  333. package/dist/wenyan-pbVjoM9_-pbVjoM9_.js +0 -6
  334. package/dist/wgsl-DY4iK1q1-DY4iK1q1.js +0 -6
  335. package/dist/wikitext-Z-MoUasO-Z-MoUasO.js +0 -6
  336. package/dist/wit-CQMQOlTg-CQMQOlTg.js +0 -6
  337. package/dist/wolfram-Dz4KXISs-Dz4KXISs.js +0 -6
  338. package/dist/xml-C2J0sS9M-IZlib8U3.js +0 -8
  339. package/dist/xsl-CbTBIiv3-CgleMmCH.js +0 -9
  340. package/dist/xychartDiagram-PRI3JC2R-D3ejwy7u-CFsnZXTL.js +0 -1345
  341. package/dist/yaml-DaO7k5B1-DaO7k5B1.js +0 -6
  342. package/dist/zenscript-CxBjpf9c-CxBjpf9c.js +0 -6
  343. package/dist/zig-Vm0PO9wB-Vm0PO9wB.js +0 -6
@@ -1,2702 +0,0 @@
1
- import { b4 as Ke, b5 as Qe, b6 as Ge, b7 as tn, _ as f, bb as rt, d as Ct, s as An, g as En, o as Ln, p as Un, c as In, b as Hn, b8 as On, v as Wn, m as Pn, l as vt, j as qt, k as Nn, e as zn, u as Bn, b9 as ie, ba as jn } from "./mermaid.core-Cpfp0NBU-DQS-fLaZ.js";
2
- import { V as ee, A as ne } from "./mermaid-NA5CF7SZ-BDJrKfjz-Cq0tva8U.js";
3
- import { f as qn, u as Zn, e as Rn, R as Vn, G as Ue } from "./linear-UL3ZZUJv-CWZvrkAD.js";
4
- import { t as Xn } from "./init-DjUOC4st-C8Nwz6AJ.js";
5
- import "react";
6
- import "react-dom";
7
- import "./defaultLocale-DcQU6Vee-C62bXCQv.js";
8
- function Jn(t, e) {
9
- let n;
10
- if (e === void 0)
11
- for (const r of t)
12
- r != null && (n < r || n === void 0 && r >= r) && (n = r);
13
- else {
14
- let r = -1;
15
- for (let i of t)
16
- (i = e(i, ++r, t)) != null && (n < i || n === void 0 && i >= i) && (n = i);
17
- }
18
- return n;
19
- }
20
- function Kn(t, e) {
21
- let n;
22
- if (e === void 0)
23
- for (const r of t)
24
- r != null && (n > r || n === void 0 && r >= r) && (n = r);
25
- else {
26
- let r = -1;
27
- for (let i of t)
28
- (i = e(i, ++r, t)) != null && (n > i || n === void 0 && i >= i) && (n = i);
29
- }
30
- return n;
31
- }
32
- function Qn(t) {
33
- return t;
34
- }
35
- var Rt = 1, se = 2, ye = 3, Zt = 4, Ie = 1e-6;
36
- function Gn(t) {
37
- return "translate(" + t + ",0)";
38
- }
39
- function tr(t) {
40
- return "translate(0," + t + ")";
41
- }
42
- function er(t) {
43
- return (e) => +t(e);
44
- }
45
- function nr(t, e) {
46
- return e = Math.max(0, t.bandwidth() - e * 2) / 2, t.round() && (e = Math.round(e)), (n) => +t(n) + e;
47
- }
48
- function rr() {
49
- return !this.__axis;
50
- }
51
- function en(t, e) {
52
- var n = [], r = null, i = null, s = 6, c = 6, x = 3, F = typeof window < "u" && window.devicePixelRatio > 1 ? 0 : 0.5, w = t === Rt || t === Zt ? -1 : 1, b = t === Zt || t === se ? "x" : "y", I = t === Rt || t === ye ? Gn : tr;
53
- function C(_) {
54
- var j = r ?? (e.ticks ? e.ticks.apply(e, n) : e.domain()), L = i ?? (e.tickFormat ? e.tickFormat.apply(e, n) : Qn), Y = Math.max(s, 0) + x, E = e.range(), W = +E[0] + F, U = +E[E.length - 1] + F, B = (e.bandwidth ? nr : er)(e.copy(), F), X = _.selection ? _.selection() : _, v = X.selectAll(".domain").data([null]), y = X.selectAll(".tick").data(j, e).order(), k = y.exit(), g = y.enter().append("g").attr("class", "tick"), M = y.select("line"), D = y.select("text");
55
- v = v.merge(v.enter().insert("path", ".tick").attr("class", "domain").attr("stroke", "currentColor")), y = y.merge(g), M = M.merge(g.append("line").attr("stroke", "currentColor").attr(b + "2", w * s)), D = D.merge(g.append("text").attr("fill", "currentColor").attr(b, w * Y).attr("dy", t === Rt ? "0em" : t === ye ? "0.71em" : "0.32em")), _ !== X && (v = v.transition(_), y = y.transition(_), M = M.transition(_), D = D.transition(_), k = k.transition(_).attr("opacity", Ie).attr("transform", function(T) {
56
- return isFinite(T = B(T)) ? I(T + F) : this.getAttribute("transform");
57
- }), g.attr("opacity", Ie).attr("transform", function(T) {
58
- var p = this.parentNode.__axis;
59
- return I((p && isFinite(p = p(T)) ? p : B(T)) + F);
60
- })), k.remove(), v.attr("d", t === Zt || t === se ? c ? "M" + w * c + "," + W + "H" + F + "V" + U + "H" + w * c : "M" + F + "," + W + "V" + U : c ? "M" + W + "," + w * c + "V" + F + "H" + U + "V" + w * c : "M" + W + "," + F + "H" + U), y.attr("opacity", 1).attr("transform", function(T) {
61
- return I(B(T) + F);
62
- }), M.attr(b + "2", w * s), D.attr(b, w * Y).text(L), X.filter(rr).attr("fill", "none").attr("font-size", 10).attr("font-family", "sans-serif").attr("text-anchor", t === se ? "start" : t === Zt ? "end" : "middle"), X.each(function() {
63
- this.__axis = B;
64
- });
65
- }
66
- return C.scale = function(_) {
67
- return arguments.length ? (e = _, C) : e;
68
- }, C.ticks = function() {
69
- return n = Array.from(arguments), C;
70
- }, C.tickArguments = function(_) {
71
- return arguments.length ? (n = _ == null ? [] : Array.from(_), C) : n.slice();
72
- }, C.tickValues = function(_) {
73
- return arguments.length ? (r = _ == null ? null : Array.from(_), C) : r && r.slice();
74
- }, C.tickFormat = function(_) {
75
- return arguments.length ? (i = _, C) : i;
76
- }, C.tickSize = function(_) {
77
- return arguments.length ? (s = c = +_, C) : s;
78
- }, C.tickSizeInner = function(_) {
79
- return arguments.length ? (s = +_, C) : s;
80
- }, C.tickSizeOuter = function(_) {
81
- return arguments.length ? (c = +_, C) : c;
82
- }, C.tickPadding = function(_) {
83
- return arguments.length ? (x = +_, C) : x;
84
- }, C.offset = function(_) {
85
- return arguments.length ? (F = +_, C) : F;
86
- }, C;
87
- }
88
- function ir(t) {
89
- return en(Rt, t);
90
- }
91
- function sr(t) {
92
- return en(ye, t);
93
- }
94
- const ar = Math.PI / 180, or = 180 / Math.PI, Jt = 18, nn = 0.96422, rn = 1, sn = 0.82521, an = 4 / 29, _t = 6 / 29, on = 3 * _t * _t, cr = _t * _t * _t;
95
- function cn(t) {
96
- if (t instanceof lt)
97
- return new lt(t.l, t.a, t.b, t.opacity);
98
- if (t instanceof ht)
99
- return un(t);
100
- t instanceof Ge || (t = On(t));
101
- var e = ue(t.r), n = ue(t.g), r = ue(t.b), i = ae((0.2225045 * e + 0.7168786 * n + 0.0606169 * r) / rn), s, c;
102
- return e === n && n === r ? s = c = i : (s = ae((0.4360747 * e + 0.3850649 * n + 0.1430804 * r) / nn), c = ae((0.0139322 * e + 0.0971045 * n + 0.7141733 * r) / sn)), new lt(116 * i - 16, 500 * (s - i), 200 * (i - c), t.opacity);
103
- }
104
- function ur(t, e, n, r) {
105
- return arguments.length === 1 ? cn(t) : new lt(t, e, n, r ?? 1);
106
- }
107
- function lt(t, e, n, r) {
108
- this.l = +t, this.a = +e, this.b = +n, this.opacity = +r;
109
- }
110
- Ke(lt, ur, Qe(tn, {
111
- brighter(t) {
112
- return new lt(this.l + Jt * (t ?? 1), this.a, this.b, this.opacity);
113
- },
114
- darker(t) {
115
- return new lt(this.l - Jt * (t ?? 1), this.a, this.b, this.opacity);
116
- },
117
- rgb() {
118
- var t = (this.l + 16) / 116, e = isNaN(this.a) ? t : t + this.a / 500, n = isNaN(this.b) ? t : t - this.b / 200;
119
- return e = nn * oe(e), t = rn * oe(t), n = sn * oe(n), new Ge(
120
- ce(3.1338561 * e - 1.6168667 * t - 0.4906146 * n),
121
- ce(-0.9787684 * e + 1.9161415 * t + 0.033454 * n),
122
- ce(0.0719453 * e - 0.2289914 * t + 1.4052427 * n),
123
- this.opacity
124
- );
125
- }
126
- }));
127
- function ae(t) {
128
- return t > cr ? Math.pow(t, 1 / 3) : t / on + an;
129
- }
130
- function oe(t) {
131
- return t > _t ? t * t * t : on * (t - an);
132
- }
133
- function ce(t) {
134
- return 255 * (t <= 31308e-7 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - 0.055);
135
- }
136
- function ue(t) {
137
- return (t /= 255) <= 0.04045 ? t / 12.92 : Math.pow((t + 0.055) / 1.055, 2.4);
138
- }
139
- function lr(t) {
140
- if (t instanceof ht)
141
- return new ht(t.h, t.c, t.l, t.opacity);
142
- if (t instanceof lt || (t = cn(t)), t.a === 0 && t.b === 0)
143
- return new ht(NaN, 0 < t.l && t.l < 100 ? 0 : NaN, t.l, t.opacity);
144
- var e = Math.atan2(t.b, t.a) * or;
145
- return new ht(e < 0 ? e + 360 : e, Math.sqrt(t.a * t.a + t.b * t.b), t.l, t.opacity);
146
- }
147
- function ke(t, e, n, r) {
148
- return arguments.length === 1 ? lr(t) : new ht(t, e, n, r ?? 1);
149
- }
150
- function ht(t, e, n, r) {
151
- this.h = +t, this.c = +e, this.l = +n, this.opacity = +r;
152
- }
153
- function un(t) {
154
- if (isNaN(t.h))
155
- return new lt(t.l, 0, 0, t.opacity);
156
- var e = t.h * ar;
157
- return new lt(t.l, Math.cos(e) * t.c, Math.sin(e) * t.c, t.opacity);
158
- }
159
- Ke(ht, ke, Qe(tn, {
160
- brighter(t) {
161
- return new ht(this.h, this.c, this.l + Jt * (t ?? 1), this.opacity);
162
- },
163
- darker(t) {
164
- return new ht(this.h, this.c, this.l - Jt * (t ?? 1), this.opacity);
165
- },
166
- rgb() {
167
- return un(this).rgb();
168
- }
169
- }));
170
- function dr(t) {
171
- return function(e, n) {
172
- var r = t((e = ke(e)).h, (n = ke(n)).h), i = ie(e.c, n.c), s = ie(e.l, n.l), c = ie(e.opacity, n.opacity);
173
- return function(x) {
174
- return e.h = r(x), e.c = i(x), e.l = s(x), e.opacity = c(x), e + "";
175
- };
176
- };
177
- }
178
- const hr = dr(jn);
179
- function fr(t, e) {
180
- t = t.slice();
181
- var n = 0, r = t.length - 1, i = t[n], s = t[r], c;
182
- return s < i && (c = n, n = r, r = c, c = i, i = s, s = c), t[n] = e.floor(i), t[r] = e.ceil(s), t;
183
- }
184
- const le = /* @__PURE__ */ new Date(), de = /* @__PURE__ */ new Date();
185
- function tt(t, e, n, r) {
186
- function i(s) {
187
- return t(s = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+s)), s;
188
- }
189
- return i.floor = (s) => (t(s = /* @__PURE__ */ new Date(+s)), s), i.ceil = (s) => (t(s = new Date(s - 1)), e(s, 1), t(s), s), i.round = (s) => {
190
- const c = i(s), x = i.ceil(s);
191
- return s - c < x - s ? c : x;
192
- }, i.offset = (s, c) => (e(s = /* @__PURE__ */ new Date(+s), c == null ? 1 : Math.floor(c)), s), i.range = (s, c, x) => {
193
- const F = [];
194
- if (s = i.ceil(s), x = x == null ? 1 : Math.floor(x), !(s < c) || !(x > 0))
195
- return F;
196
- let w;
197
- do
198
- F.push(w = /* @__PURE__ */ new Date(+s)), e(s, x), t(s);
199
- while (w < s && s < c);
200
- return F;
201
- }, i.filter = (s) => tt((c) => {
202
- if (c >= c)
203
- for (; t(c), !s(c); )
204
- c.setTime(c - 1);
205
- }, (c, x) => {
206
- if (c >= c)
207
- if (x < 0)
208
- for (; ++x <= 0; )
209
- for (; e(c, -1), !s(c); )
210
- ;
211
- else
212
- for (; --x >= 0; )
213
- for (; e(c, 1), !s(c); )
214
- ;
215
- }), n && (i.count = (s, c) => (le.setTime(+s), de.setTime(+c), t(le), t(de), Math.floor(n(le, de))), i.every = (s) => (s = Math.floor(s), !isFinite(s) || !(s > 0) ? null : s > 1 ? i.filter(r ? (c) => r(c) % s === 0 : (c) => i.count(0, c) % s === 0) : i)), i;
216
- }
217
- const Yt = tt(() => {
218
- }, (t, e) => {
219
- t.setTime(+t + e);
220
- }, (t, e) => e - t);
221
- Yt.every = (t) => (t = Math.floor(t), !isFinite(t) || !(t > 0) ? null : t > 1 ? tt((e) => {
222
- e.setTime(Math.floor(e / t) * t);
223
- }, (e, n) => {
224
- e.setTime(+e + n * t);
225
- }, (e, n) => (n - e) / t) : Yt);
226
- Yt.range;
227
- const ft = 1e3, ot = ft * 60, gt = ot * 60, mt = gt * 24, xe = mt * 7, He = mt * 30, he = mt * 365, kt = tt((t) => {
228
- t.setTime(t - t.getMilliseconds());
229
- }, (t, e) => {
230
- t.setTime(+t + e * ft);
231
- }, (t, e) => (e - t) / ft, (t) => t.getUTCSeconds());
232
- kt.range;
233
- const It = tt((t) => {
234
- t.setTime(t - t.getMilliseconds() - t.getSeconds() * ft);
235
- }, (t, e) => {
236
- t.setTime(+t + e * ot);
237
- }, (t, e) => (e - t) / ot, (t) => t.getMinutes());
238
- It.range;
239
- const gr = tt((t) => {
240
- t.setUTCSeconds(0, 0);
241
- }, (t, e) => {
242
- t.setTime(+t + e * ot);
243
- }, (t, e) => (e - t) / ot, (t) => t.getUTCMinutes());
244
- gr.range;
245
- const Ht = tt((t) => {
246
- t.setTime(t - t.getMilliseconds() - t.getSeconds() * ft - t.getMinutes() * ot);
247
- }, (t, e) => {
248
- t.setTime(+t + e * gt);
249
- }, (t, e) => (e - t) / gt, (t) => t.getHours());
250
- Ht.range;
251
- const mr = tt((t) => {
252
- t.setUTCMinutes(0, 0, 0);
253
- }, (t, e) => {
254
- t.setTime(+t + e * gt);
255
- }, (t, e) => (e - t) / gt, (t) => t.getUTCHours());
256
- mr.range;
257
- const Tt = tt(
258
- (t) => t.setHours(0, 0, 0, 0),
259
- (t, e) => t.setDate(t.getDate() + e),
260
- (t, e) => (e - t - (e.getTimezoneOffset() - t.getTimezoneOffset()) * ot) / mt,
261
- (t) => t.getDate() - 1
262
- );
263
- Tt.range;
264
- const we = tt((t) => {
265
- t.setUTCHours(0, 0, 0, 0);
266
- }, (t, e) => {
267
- t.setUTCDate(t.getUTCDate() + e);
268
- }, (t, e) => (e - t) / mt, (t) => t.getUTCDate() - 1);
269
- we.range;
270
- const yr = tt((t) => {
271
- t.setUTCHours(0, 0, 0, 0);
272
- }, (t, e) => {
273
- t.setUTCDate(t.getUTCDate() + e);
274
- }, (t, e) => (e - t) / mt, (t) => Math.floor(t / mt));
275
- yr.range;
276
- function wt(t) {
277
- return tt((e) => {
278
- e.setDate(e.getDate() - (e.getDay() + 7 - t) % 7), e.setHours(0, 0, 0, 0);
279
- }, (e, n) => {
280
- e.setDate(e.getDate() + n * 7);
281
- }, (e, n) => (n - e - (n.getTimezoneOffset() - e.getTimezoneOffset()) * ot) / xe);
282
- }
283
- const Pt = wt(0), Ot = wt(1), ln = wt(2), dn = wt(3), bt = wt(4), hn = wt(5), fn = wt(6);
284
- Pt.range;
285
- Ot.range;
286
- ln.range;
287
- dn.range;
288
- bt.range;
289
- hn.range;
290
- fn.range;
291
- function Dt(t) {
292
- return tt((e) => {
293
- e.setUTCDate(e.getUTCDate() - (e.getUTCDay() + 7 - t) % 7), e.setUTCHours(0, 0, 0, 0);
294
- }, (e, n) => {
295
- e.setUTCDate(e.getUTCDate() + n * 7);
296
- }, (e, n) => (n - e) / xe);
297
- }
298
- const gn = Dt(0), Kt = Dt(1), kr = Dt(2), pr = Dt(3), Ft = Dt(4), vr = Dt(5), Tr = Dt(6);
299
- gn.range;
300
- Kt.range;
301
- kr.range;
302
- pr.range;
303
- Ft.range;
304
- vr.range;
305
- Tr.range;
306
- const Wt = tt((t) => {
307
- t.setDate(1), t.setHours(0, 0, 0, 0);
308
- }, (t, e) => {
309
- t.setMonth(t.getMonth() + e);
310
- }, (t, e) => e.getMonth() - t.getMonth() + (e.getFullYear() - t.getFullYear()) * 12, (t) => t.getMonth());
311
- Wt.range;
312
- const br = tt((t) => {
313
- t.setUTCDate(1), t.setUTCHours(0, 0, 0, 0);
314
- }, (t, e) => {
315
- t.setUTCMonth(t.getUTCMonth() + e);
316
- }, (t, e) => e.getUTCMonth() - t.getUTCMonth() + (e.getUTCFullYear() - t.getUTCFullYear()) * 12, (t) => t.getUTCMonth());
317
- br.range;
318
- const yt = tt((t) => {
319
- t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
320
- }, (t, e) => {
321
- t.setFullYear(t.getFullYear() + e);
322
- }, (t, e) => e.getFullYear() - t.getFullYear(), (t) => t.getFullYear());
323
- yt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : tt((e) => {
324
- e.setFullYear(Math.floor(e.getFullYear() / t) * t), e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
325
- }, (e, n) => {
326
- e.setFullYear(e.getFullYear() + n * t);
327
- });
328
- yt.range;
329
- const xt = tt((t) => {
330
- t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
331
- }, (t, e) => {
332
- t.setUTCFullYear(t.getUTCFullYear() + e);
333
- }, (t, e) => e.getUTCFullYear() - t.getUTCFullYear(), (t) => t.getUTCFullYear());
334
- xt.every = (t) => !isFinite(t = Math.floor(t)) || !(t > 0) ? null : tt((e) => {
335
- e.setUTCFullYear(Math.floor(e.getUTCFullYear() / t) * t), e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
336
- }, (e, n) => {
337
- e.setUTCFullYear(e.getUTCFullYear() + n * t);
338
- });
339
- xt.range;
340
- function xr(t, e, n, r, i, s) {
341
- const c = [
342
- [kt, 1, ft],
343
- [kt, 5, 5 * ft],
344
- [kt, 15, 15 * ft],
345
- [kt, 30, 30 * ft],
346
- [s, 1, ot],
347
- [s, 5, 5 * ot],
348
- [s, 15, 15 * ot],
349
- [s, 30, 30 * ot],
350
- [i, 1, gt],
351
- [i, 3, 3 * gt],
352
- [i, 6, 6 * gt],
353
- [i, 12, 12 * gt],
354
- [r, 1, mt],
355
- [r, 2, 2 * mt],
356
- [n, 1, xe],
357
- [e, 1, He],
358
- [e, 3, 3 * He],
359
- [t, 1, he]
360
- ];
361
- function x(w, b, I) {
362
- const C = b < w;
363
- C && ([w, b] = [b, w]);
364
- const _ = I && typeof I.range == "function" ? I : F(w, b, I), j = _ ? _.range(w, +b + 1) : [];
365
- return C ? j.reverse() : j;
366
- }
367
- function F(w, b, I) {
368
- const C = Math.abs(b - w) / I, _ = Vn(([, , Y]) => Y).right(c, C);
369
- if (_ === c.length)
370
- return t.every(Ue(w / he, b / he, I));
371
- if (_ === 0)
372
- return Yt.every(Math.max(Ue(w, b, I), 1));
373
- const [j, L] = c[C / c[_ - 1][2] < c[_][2] / C ? _ - 1 : _];
374
- return j.every(L);
375
- }
376
- return [x, F];
377
- }
378
- const [wr, Dr] = xr(yt, Wt, Pt, Tt, Ht, It);
379
- function fe(t) {
380
- if (0 <= t.y && t.y < 100) {
381
- var e = new Date(-1, t.m, t.d, t.H, t.M, t.S, t.L);
382
- return e.setFullYear(t.y), e;
383
- }
384
- return new Date(t.y, t.m, t.d, t.H, t.M, t.S, t.L);
385
- }
386
- function ge(t) {
387
- if (0 <= t.y && t.y < 100) {
388
- var e = new Date(Date.UTC(-1, t.m, t.d, t.H, t.M, t.S, t.L));
389
- return e.setUTCFullYear(t.y), e;
390
- }
391
- return new Date(Date.UTC(t.y, t.m, t.d, t.H, t.M, t.S, t.L));
392
- }
393
- function Et(t, e, n) {
394
- return { y: t, m: e, d: n, H: 0, M: 0, S: 0, L: 0 };
395
- }
396
- function Mr(t) {
397
- var e = t.dateTime, n = t.date, r = t.time, i = t.periods, s = t.days, c = t.shortDays, x = t.months, F = t.shortMonths, w = Lt(i), b = Ut(i), I = Lt(s), C = Ut(s), _ = Lt(c), j = Ut(c), L = Lt(x), Y = Ut(x), E = Lt(F), W = Ut(F), U = {
398
- a: S,
399
- A: a,
400
- b: o,
401
- B: u,
402
- c: null,
403
- d: Be,
404
- e: Be,
405
- f: Vr,
406
- g: ii,
407
- G: ai,
408
- H: qr,
409
- I: Zr,
410
- j: Rr,
411
- L: mn,
412
- m: Xr,
413
- M: Jr,
414
- p: A,
415
- q: z,
416
- Q: Ze,
417
- s: Re,
418
- S: Kr,
419
- u: Qr,
420
- U: Gr,
421
- V: ti,
422
- w: ei,
423
- W: ni,
424
- x: null,
425
- X: null,
426
- y: ri,
427
- Y: si,
428
- Z: oi,
429
- "%": qe
430
- }, B = {
431
- a: H,
432
- A: V,
433
- b: J,
434
- B: K,
435
- c: null,
436
- d: je,
437
- e: je,
438
- f: di,
439
- g: bi,
440
- G: wi,
441
- H: ci,
442
- I: ui,
443
- j: li,
444
- L: kn,
445
- m: hi,
446
- M: fi,
447
- p: it,
448
- q: pt,
449
- Q: Ze,
450
- s: Re,
451
- S: gi,
452
- u: mi,
453
- U: yi,
454
- V: ki,
455
- w: pi,
456
- W: vi,
457
- x: null,
458
- X: null,
459
- y: Ti,
460
- Y: xi,
461
- Z: Di,
462
- "%": qe
463
- }, X = {
464
- a: M,
465
- A: D,
466
- b: T,
467
- B: p,
468
- c: l,
469
- d: Ne,
470
- e: Ne,
471
- f: Nr,
472
- g: Pe,
473
- G: We,
474
- H: ze,
475
- I: ze,
476
- j: Hr,
477
- L: Pr,
478
- m: Ir,
479
- M: Or,
480
- p: g,
481
- q: Ur,
482
- Q: Br,
483
- s: jr,
484
- S: Wr,
485
- u: Yr,
486
- U: Fr,
487
- V: Ar,
488
- w: Sr,
489
- W: Er,
490
- x: m,
491
- X: h,
492
- y: Pe,
493
- Y: We,
494
- Z: Lr,
495
- "%": zr
496
- };
497
- U.x = v(n, U), U.X = v(r, U), U.c = v(e, U), B.x = v(n, B), B.X = v(r, B), B.c = v(e, B);
498
- function v($, O) {
499
- return function(N) {
500
- var d = [], q = -1, P = 0, R = $.length, Q, et, ct;
501
- for (N instanceof Date || (N = /* @__PURE__ */ new Date(+N)); ++q < R; )
502
- $.charCodeAt(q) === 37 && (d.push($.slice(P, q)), (et = Oe[Q = $.charAt(++q)]) != null ? Q = $.charAt(++q) : et = Q === "e" ? " " : "0", (ct = O[Q]) && (Q = ct(N, et)), d.push(Q), P = q + 1);
503
- return d.push($.slice(P, q)), d.join("");
504
- };
505
- }
506
- function y($, O) {
507
- return function(N) {
508
- var d = Et(1900, void 0, 1), q = k(d, $, N += "", 0), P, R;
509
- if (q != N.length)
510
- return null;
511
- if ("Q" in d)
512
- return new Date(d.Q);
513
- if ("s" in d)
514
- return new Date(d.s * 1e3 + ("L" in d ? d.L : 0));
515
- if (O && !("Z" in d) && (d.Z = 0), "p" in d && (d.H = d.H % 12 + d.p * 12), d.m === void 0 && (d.m = "q" in d ? d.q : 0), "V" in d) {
516
- if (d.V < 1 || d.V > 53)
517
- return null;
518
- "w" in d || (d.w = 1), "Z" in d ? (P = ge(Et(d.y, 0, 1)), R = P.getUTCDay(), P = R > 4 || R === 0 ? Kt.ceil(P) : Kt(P), P = we.offset(P, (d.V - 1) * 7), d.y = P.getUTCFullYear(), d.m = P.getUTCMonth(), d.d = P.getUTCDate() + (d.w + 6) % 7) : (P = fe(Et(d.y, 0, 1)), R = P.getDay(), P = R > 4 || R === 0 ? Ot.ceil(P) : Ot(P), P = Tt.offset(P, (d.V - 1) * 7), d.y = P.getFullYear(), d.m = P.getMonth(), d.d = P.getDate() + (d.w + 6) % 7);
519
- } else
520
- ("W" in d || "U" in d) && ("w" in d || (d.w = "u" in d ? d.u % 7 : "W" in d ? 1 : 0), R = "Z" in d ? ge(Et(d.y, 0, 1)).getUTCDay() : fe(Et(d.y, 0, 1)).getDay(), d.m = 0, d.d = "W" in d ? (d.w + 6) % 7 + d.W * 7 - (R + 5) % 7 : d.w + d.U * 7 - (R + 6) % 7);
521
- return "Z" in d ? (d.H += d.Z / 100 | 0, d.M += d.Z % 100, ge(d)) : fe(d);
522
- };
523
- }
524
- function k($, O, N, d) {
525
- for (var q = 0, P = O.length, R = N.length, Q, et; q < P; ) {
526
- if (d >= R)
527
- return -1;
528
- if (Q = O.charCodeAt(q++), Q === 37) {
529
- if (Q = O.charAt(q++), et = X[Q in Oe ? O.charAt(q++) : Q], !et || (d = et($, N, d)) < 0)
530
- return -1;
531
- } else if (Q != N.charCodeAt(d++))
532
- return -1;
533
- }
534
- return d;
535
- }
536
- function g($, O, N) {
537
- var d = w.exec(O.slice(N));
538
- return d ? ($.p = b.get(d[0].toLowerCase()), N + d[0].length) : -1;
539
- }
540
- function M($, O, N) {
541
- var d = _.exec(O.slice(N));
542
- return d ? ($.w = j.get(d[0].toLowerCase()), N + d[0].length) : -1;
543
- }
544
- function D($, O, N) {
545
- var d = I.exec(O.slice(N));
546
- return d ? ($.w = C.get(d[0].toLowerCase()), N + d[0].length) : -1;
547
- }
548
- function T($, O, N) {
549
- var d = E.exec(O.slice(N));
550
- return d ? ($.m = W.get(d[0].toLowerCase()), N + d[0].length) : -1;
551
- }
552
- function p($, O, N) {
553
- var d = L.exec(O.slice(N));
554
- return d ? ($.m = Y.get(d[0].toLowerCase()), N + d[0].length) : -1;
555
- }
556
- function l($, O, N) {
557
- return k($, e, O, N);
558
- }
559
- function m($, O, N) {
560
- return k($, n, O, N);
561
- }
562
- function h($, O, N) {
563
- return k($, r, O, N);
564
- }
565
- function S($) {
566
- return c[$.getDay()];
567
- }
568
- function a($) {
569
- return s[$.getDay()];
570
- }
571
- function o($) {
572
- return F[$.getMonth()];
573
- }
574
- function u($) {
575
- return x[$.getMonth()];
576
- }
577
- function A($) {
578
- return i[+($.getHours() >= 12)];
579
- }
580
- function z($) {
581
- return 1 + ~~($.getMonth() / 3);
582
- }
583
- function H($) {
584
- return c[$.getUTCDay()];
585
- }
586
- function V($) {
587
- return s[$.getUTCDay()];
588
- }
589
- function J($) {
590
- return F[$.getUTCMonth()];
591
- }
592
- function K($) {
593
- return x[$.getUTCMonth()];
594
- }
595
- function it($) {
596
- return i[+($.getUTCHours() >= 12)];
597
- }
598
- function pt($) {
599
- return 1 + ~~($.getUTCMonth() / 3);
600
- }
601
- return {
602
- format: function($) {
603
- var O = v($ += "", U);
604
- return O.toString = function() {
605
- return $;
606
- }, O;
607
- },
608
- parse: function($) {
609
- var O = y($ += "", !1);
610
- return O.toString = function() {
611
- return $;
612
- }, O;
613
- },
614
- utcFormat: function($) {
615
- var O = v($ += "", B);
616
- return O.toString = function() {
617
- return $;
618
- }, O;
619
- },
620
- utcParse: function($) {
621
- var O = y($ += "", !0);
622
- return O.toString = function() {
623
- return $;
624
- }, O;
625
- }
626
- };
627
- }
628
- var Oe = { "-": "", _: " ", 0: "0" }, nt = /^\s*\d+/, $r = /^%/, Cr = /[\\^$*+?|[\]().{}]/g;
629
- function Z(t, e, n) {
630
- var r = t < 0 ? "-" : "", i = (r ? -t : t) + "", s = i.length;
631
- return r + (s < n ? new Array(n - s + 1).join(e) + i : i);
632
- }
633
- function _r(t) {
634
- return t.replace(Cr, "\\$&");
635
- }
636
- function Lt(t) {
637
- return new RegExp("^(?:" + t.map(_r).join("|") + ")", "i");
638
- }
639
- function Ut(t) {
640
- return new Map(t.map((e, n) => [e.toLowerCase(), n]));
641
- }
642
- function Sr(t, e, n) {
643
- var r = nt.exec(e.slice(n, n + 1));
644
- return r ? (t.w = +r[0], n + r[0].length) : -1;
645
- }
646
- function Yr(t, e, n) {
647
- var r = nt.exec(e.slice(n, n + 1));
648
- return r ? (t.u = +r[0], n + r[0].length) : -1;
649
- }
650
- function Fr(t, e, n) {
651
- var r = nt.exec(e.slice(n, n + 2));
652
- return r ? (t.U = +r[0], n + r[0].length) : -1;
653
- }
654
- function Ar(t, e, n) {
655
- var r = nt.exec(e.slice(n, n + 2));
656
- return r ? (t.V = +r[0], n + r[0].length) : -1;
657
- }
658
- function Er(t, e, n) {
659
- var r = nt.exec(e.slice(n, n + 2));
660
- return r ? (t.W = +r[0], n + r[0].length) : -1;
661
- }
662
- function We(t, e, n) {
663
- var r = nt.exec(e.slice(n, n + 4));
664
- return r ? (t.y = +r[0], n + r[0].length) : -1;
665
- }
666
- function Pe(t, e, n) {
667
- var r = nt.exec(e.slice(n, n + 2));
668
- return r ? (t.y = +r[0] + (+r[0] > 68 ? 1900 : 2e3), n + r[0].length) : -1;
669
- }
670
- function Lr(t, e, n) {
671
- var r = /^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n, n + 6));
672
- return r ? (t.Z = r[1] ? 0 : -(r[2] + (r[3] || "00")), n + r[0].length) : -1;
673
- }
674
- function Ur(t, e, n) {
675
- var r = nt.exec(e.slice(n, n + 1));
676
- return r ? (t.q = r[0] * 3 - 3, n + r[0].length) : -1;
677
- }
678
- function Ir(t, e, n) {
679
- var r = nt.exec(e.slice(n, n + 2));
680
- return r ? (t.m = r[0] - 1, n + r[0].length) : -1;
681
- }
682
- function Ne(t, e, n) {
683
- var r = nt.exec(e.slice(n, n + 2));
684
- return r ? (t.d = +r[0], n + r[0].length) : -1;
685
- }
686
- function Hr(t, e, n) {
687
- var r = nt.exec(e.slice(n, n + 3));
688
- return r ? (t.m = 0, t.d = +r[0], n + r[0].length) : -1;
689
- }
690
- function ze(t, e, n) {
691
- var r = nt.exec(e.slice(n, n + 2));
692
- return r ? (t.H = +r[0], n + r[0].length) : -1;
693
- }
694
- function Or(t, e, n) {
695
- var r = nt.exec(e.slice(n, n + 2));
696
- return r ? (t.M = +r[0], n + r[0].length) : -1;
697
- }
698
- function Wr(t, e, n) {
699
- var r = nt.exec(e.slice(n, n + 2));
700
- return r ? (t.S = +r[0], n + r[0].length) : -1;
701
- }
702
- function Pr(t, e, n) {
703
- var r = nt.exec(e.slice(n, n + 3));
704
- return r ? (t.L = +r[0], n + r[0].length) : -1;
705
- }
706
- function Nr(t, e, n) {
707
- var r = nt.exec(e.slice(n, n + 6));
708
- return r ? (t.L = Math.floor(r[0] / 1e3), n + r[0].length) : -1;
709
- }
710
- function zr(t, e, n) {
711
- var r = $r.exec(e.slice(n, n + 1));
712
- return r ? n + r[0].length : -1;
713
- }
714
- function Br(t, e, n) {
715
- var r = nt.exec(e.slice(n));
716
- return r ? (t.Q = +r[0], n + r[0].length) : -1;
717
- }
718
- function jr(t, e, n) {
719
- var r = nt.exec(e.slice(n));
720
- return r ? (t.s = +r[0], n + r[0].length) : -1;
721
- }
722
- function Be(t, e) {
723
- return Z(t.getDate(), e, 2);
724
- }
725
- function qr(t, e) {
726
- return Z(t.getHours(), e, 2);
727
- }
728
- function Zr(t, e) {
729
- return Z(t.getHours() % 12 || 12, e, 2);
730
- }
731
- function Rr(t, e) {
732
- return Z(1 + Tt.count(yt(t), t), e, 3);
733
- }
734
- function mn(t, e) {
735
- return Z(t.getMilliseconds(), e, 3);
736
- }
737
- function Vr(t, e) {
738
- return mn(t, e) + "000";
739
- }
740
- function Xr(t, e) {
741
- return Z(t.getMonth() + 1, e, 2);
742
- }
743
- function Jr(t, e) {
744
- return Z(t.getMinutes(), e, 2);
745
- }
746
- function Kr(t, e) {
747
- return Z(t.getSeconds(), e, 2);
748
- }
749
- function Qr(t) {
750
- var e = t.getDay();
751
- return e === 0 ? 7 : e;
752
- }
753
- function Gr(t, e) {
754
- return Z(Pt.count(yt(t) - 1, t), e, 2);
755
- }
756
- function yn(t) {
757
- var e = t.getDay();
758
- return e >= 4 || e === 0 ? bt(t) : bt.ceil(t);
759
- }
760
- function ti(t, e) {
761
- return t = yn(t), Z(bt.count(yt(t), t) + (yt(t).getDay() === 4), e, 2);
762
- }
763
- function ei(t) {
764
- return t.getDay();
765
- }
766
- function ni(t, e) {
767
- return Z(Ot.count(yt(t) - 1, t), e, 2);
768
- }
769
- function ri(t, e) {
770
- return Z(t.getFullYear() % 100, e, 2);
771
- }
772
- function ii(t, e) {
773
- return t = yn(t), Z(t.getFullYear() % 100, e, 2);
774
- }
775
- function si(t, e) {
776
- return Z(t.getFullYear() % 1e4, e, 4);
777
- }
778
- function ai(t, e) {
779
- var n = t.getDay();
780
- return t = n >= 4 || n === 0 ? bt(t) : bt.ceil(t), Z(t.getFullYear() % 1e4, e, 4);
781
- }
782
- function oi(t) {
783
- var e = t.getTimezoneOffset();
784
- return (e > 0 ? "-" : (e *= -1, "+")) + Z(e / 60 | 0, "0", 2) + Z(e % 60, "0", 2);
785
- }
786
- function je(t, e) {
787
- return Z(t.getUTCDate(), e, 2);
788
- }
789
- function ci(t, e) {
790
- return Z(t.getUTCHours(), e, 2);
791
- }
792
- function ui(t, e) {
793
- return Z(t.getUTCHours() % 12 || 12, e, 2);
794
- }
795
- function li(t, e) {
796
- return Z(1 + we.count(xt(t), t), e, 3);
797
- }
798
- function kn(t, e) {
799
- return Z(t.getUTCMilliseconds(), e, 3);
800
- }
801
- function di(t, e) {
802
- return kn(t, e) + "000";
803
- }
804
- function hi(t, e) {
805
- return Z(t.getUTCMonth() + 1, e, 2);
806
- }
807
- function fi(t, e) {
808
- return Z(t.getUTCMinutes(), e, 2);
809
- }
810
- function gi(t, e) {
811
- return Z(t.getUTCSeconds(), e, 2);
812
- }
813
- function mi(t) {
814
- var e = t.getUTCDay();
815
- return e === 0 ? 7 : e;
816
- }
817
- function yi(t, e) {
818
- return Z(gn.count(xt(t) - 1, t), e, 2);
819
- }
820
- function pn(t) {
821
- var e = t.getUTCDay();
822
- return e >= 4 || e === 0 ? Ft(t) : Ft.ceil(t);
823
- }
824
- function ki(t, e) {
825
- return t = pn(t), Z(Ft.count(xt(t), t) + (xt(t).getUTCDay() === 4), e, 2);
826
- }
827
- function pi(t) {
828
- return t.getUTCDay();
829
- }
830
- function vi(t, e) {
831
- return Z(Kt.count(xt(t) - 1, t), e, 2);
832
- }
833
- function Ti(t, e) {
834
- return Z(t.getUTCFullYear() % 100, e, 2);
835
- }
836
- function bi(t, e) {
837
- return t = pn(t), Z(t.getUTCFullYear() % 100, e, 2);
838
- }
839
- function xi(t, e) {
840
- return Z(t.getUTCFullYear() % 1e4, e, 4);
841
- }
842
- function wi(t, e) {
843
- var n = t.getUTCDay();
844
- return t = n >= 4 || n === 0 ? Ft(t) : Ft.ceil(t), Z(t.getUTCFullYear() % 1e4, e, 4);
845
- }
846
- function Di() {
847
- return "+0000";
848
- }
849
- function qe() {
850
- return "%";
851
- }
852
- function Ze(t) {
853
- return +t;
854
- }
855
- function Re(t) {
856
- return Math.floor(+t / 1e3);
857
- }
858
- var $t, Qt;
859
- Mi({
860
- dateTime: "%x, %X",
861
- date: "%-m/%-d/%Y",
862
- time: "%-I:%M:%S %p",
863
- periods: ["AM", "PM"],
864
- days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
865
- shortDays: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
866
- months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
867
- shortMonths: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
868
- });
869
- function Mi(t) {
870
- return $t = Mr(t), Qt = $t.format, $t.parse, $t.utcFormat, $t.utcParse, $t;
871
- }
872
- function $i(t) {
873
- return new Date(t);
874
- }
875
- function Ci(t) {
876
- return t instanceof Date ? +t : +/* @__PURE__ */ new Date(+t);
877
- }
878
- function vn(t, e, n, r, i, s, c, x, F, w) {
879
- var b = Zn(), I = b.invert, C = b.domain, _ = w(".%L"), j = w(":%S"), L = w("%I:%M"), Y = w("%I %p"), E = w("%a %d"), W = w("%b %d"), U = w("%B"), B = w("%Y");
880
- function X(v) {
881
- return (F(v) < v ? _ : x(v) < v ? j : c(v) < v ? L : s(v) < v ? Y : r(v) < v ? i(v) < v ? E : W : n(v) < v ? U : B)(v);
882
- }
883
- return b.invert = function(v) {
884
- return new Date(I(v));
885
- }, b.domain = function(v) {
886
- return arguments.length ? C(Array.from(v, Ci)) : C().map($i);
887
- }, b.ticks = function(v) {
888
- var y = C();
889
- return t(y[0], y[y.length - 1], v ?? 10);
890
- }, b.tickFormat = function(v, y) {
891
- return y == null ? X : w(y);
892
- }, b.nice = function(v) {
893
- var y = C();
894
- return (!v || typeof v.range != "function") && (v = e(y[0], y[y.length - 1], v ?? 10)), v ? C(fr(y, v)) : b;
895
- }, b.copy = function() {
896
- return Rn(b, vn(t, e, n, r, i, s, c, x, F, w));
897
- }, b;
898
- }
899
- function _i() {
900
- return Xn.apply(vn(wr, Dr, yt, Wt, Pt, Tt, Ht, It, kt, Qt).domain([new Date(2e3, 0, 1), new Date(2e3, 0, 2)]), arguments);
901
- }
902
- var Tn = { exports: {} };
903
- (function(t, e) {
904
- (function(n, r) {
905
- t.exports = r();
906
- })(ee, function() {
907
- var n = "day";
908
- return function(r, i, s) {
909
- var c = function(w) {
910
- return w.add(4 - w.isoWeekday(), n);
911
- }, x = i.prototype;
912
- x.isoWeekYear = function() {
913
- return c(this).year();
914
- }, x.isoWeek = function(w) {
915
- if (!this.$utils().u(w))
916
- return this.add(7 * (w - this.isoWeek()), n);
917
- var b, I, C, _, j = c(this), L = (b = this.isoWeekYear(), I = this.$u, C = (I ? s.utc : s)().year(b).startOf("year"), _ = 4 - C.isoWeekday(), C.isoWeekday() > 4 && (_ += 7), C.add(_, n));
918
- return j.diff(L, "week") + 1;
919
- }, x.isoWeekday = function(w) {
920
- return this.$utils().u(w) ? this.day() || 7 : this.day(this.day() % 7 ? w : w - 7);
921
- };
922
- var F = x.startOf;
923
- x.startOf = function(w, b) {
924
- var I = this.$utils(), C = !!I.u(b) || b;
925
- return I.p(w) === "isoweek" ? C ? this.date(this.date() - (this.isoWeekday() - 1)).startOf("day") : this.date(this.date() - 1 - (this.isoWeekday() - 1) + 7).endOf("day") : F.bind(this)(w, b);
926
- };
927
- };
928
- });
929
- })(Tn);
930
- var Si = Tn.exports;
931
- const Yi = /* @__PURE__ */ ne(Si);
932
- var bn = { exports: {} };
933
- (function(t, e) {
934
- (function(n, r) {
935
- t.exports = r();
936
- })(ee, function() {
937
- var n = { 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" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, i = /\d/, s = /\d\d/, c = /\d\d?/, x = /\d*[^-_:/,()\s\d]+/, F = {}, w = function(Y) {
938
- return (Y = +Y) + (Y > 68 ? 1900 : 2e3);
939
- }, b = function(Y) {
940
- return function(E) {
941
- this[Y] = +E;
942
- };
943
- }, I = [/[+-]\d\d:?(\d\d)?|Z/, function(Y) {
944
- (this.zone || (this.zone = {})).offset = function(E) {
945
- if (!E || E === "Z")
946
- return 0;
947
- var W = E.match(/([+-]|\d\d)/g), U = 60 * W[1] + (+W[2] || 0);
948
- return U === 0 ? 0 : W[0] === "+" ? -U : U;
949
- }(Y);
950
- }], C = function(Y) {
951
- var E = F[Y];
952
- return E && (E.indexOf ? E : E.s.concat(E.f));
953
- }, _ = function(Y, E) {
954
- var W, U = F.meridiem;
955
- if (U) {
956
- for (var B = 1; B <= 24; B += 1)
957
- if (Y.indexOf(U(B, 0, E)) > -1) {
958
- W = B > 12;
959
- break;
960
- }
961
- } else
962
- W = Y === (E ? "pm" : "PM");
963
- return W;
964
- }, j = { A: [x, function(Y) {
965
- this.afternoon = _(Y, !1);
966
- }], a: [x, function(Y) {
967
- this.afternoon = _(Y, !0);
968
- }], Q: [i, function(Y) {
969
- this.month = 3 * (Y - 1) + 1;
970
- }], S: [i, function(Y) {
971
- this.milliseconds = 100 * +Y;
972
- }], SS: [s, function(Y) {
973
- this.milliseconds = 10 * +Y;
974
- }], SSS: [/\d{3}/, function(Y) {
975
- this.milliseconds = +Y;
976
- }], s: [c, b("seconds")], ss: [c, b("seconds")], m: [c, b("minutes")], mm: [c, b("minutes")], H: [c, b("hours")], h: [c, b("hours")], HH: [c, b("hours")], hh: [c, b("hours")], D: [c, b("day")], DD: [s, b("day")], Do: [x, function(Y) {
977
- var E = F.ordinal, W = Y.match(/\d+/);
978
- if (this.day = W[0], E)
979
- for (var U = 1; U <= 31; U += 1)
980
- E(U).replace(/\[|\]/g, "") === Y && (this.day = U);
981
- }], w: [c, b("week")], ww: [s, b("week")], M: [c, b("month")], MM: [s, b("month")], MMM: [x, function(Y) {
982
- var E = C("months"), W = (C("monthsShort") || E.map(function(U) {
983
- return U.slice(0, 3);
984
- })).indexOf(Y) + 1;
985
- if (W < 1)
986
- throw new Error();
987
- this.month = W % 12 || W;
988
- }], MMMM: [x, function(Y) {
989
- var E = C("months").indexOf(Y) + 1;
990
- if (E < 1)
991
- throw new Error();
992
- this.month = E % 12 || E;
993
- }], Y: [/[+-]?\d+/, b("year")], YY: [s, function(Y) {
994
- this.year = w(Y);
995
- }], YYYY: [/\d{4}/, b("year")], Z: I, ZZ: I };
996
- function L(Y) {
997
- var E, W;
998
- E = Y, W = F && F.formats;
999
- for (var U = (Y = E.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(M, D, T) {
1000
- var p = T && T.toUpperCase();
1001
- return D || W[T] || n[T] || W[p].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(l, m, h) {
1002
- return m || h.slice(1);
1003
- });
1004
- })).match(r), B = U.length, X = 0; X < B; X += 1) {
1005
- var v = U[X], y = j[v], k = y && y[0], g = y && y[1];
1006
- U[X] = g ? { regex: k, parser: g } : v.replace(/^\[|\]$/g, "");
1007
- }
1008
- return function(M) {
1009
- for (var D = {}, T = 0, p = 0; T < B; T += 1) {
1010
- var l = U[T];
1011
- if (typeof l == "string")
1012
- p += l.length;
1013
- else {
1014
- var m = l.regex, h = l.parser, S = M.slice(p), a = m.exec(S)[0];
1015
- h.call(D, a), M = M.replace(a, "");
1016
- }
1017
- }
1018
- return function(o) {
1019
- var u = o.afternoon;
1020
- if (u !== void 0) {
1021
- var A = o.hours;
1022
- u ? A < 12 && (o.hours += 12) : A === 12 && (o.hours = 0), delete o.afternoon;
1023
- }
1024
- }(D), D;
1025
- };
1026
- }
1027
- return function(Y, E, W) {
1028
- W.p.customParseFormat = !0, Y && Y.parseTwoDigitYear && (w = Y.parseTwoDigitYear);
1029
- var U = E.prototype, B = U.parse;
1030
- U.parse = function(X) {
1031
- var v = X.date, y = X.utc, k = X.args;
1032
- this.$u = y;
1033
- var g = k[1];
1034
- if (typeof g == "string") {
1035
- var M = k[2] === !0, D = k[3] === !0, T = M || D, p = k[2];
1036
- D && (p = k[2]), F = this.$locale(), !M && p && (F = W.Ls[p]), this.$d = function(S, a, o, u) {
1037
- try {
1038
- if (["x", "X"].indexOf(a) > -1)
1039
- return new Date((a === "X" ? 1e3 : 1) * S);
1040
- var A = L(a)(S), z = A.year, H = A.month, V = A.day, J = A.hours, K = A.minutes, it = A.seconds, pt = A.milliseconds, $ = A.zone, O = A.week, N = /* @__PURE__ */ new Date(), d = V || (z || H ? 1 : N.getDate()), q = z || N.getFullYear(), P = 0;
1041
- z && !H || (P = H > 0 ? H - 1 : N.getMonth());
1042
- var R, Q = J || 0, et = K || 0, ct = it || 0, st = pt || 0;
1043
- return $ ? new Date(Date.UTC(q, P, d, Q, et, ct, st + 60 * $.offset * 1e3)) : o ? new Date(Date.UTC(q, P, d, Q, et, ct, st)) : (R = new Date(q, P, d, Q, et, ct, st), O && (R = u(R).week(O).toDate()), R);
1044
- } catch {
1045
- return /* @__PURE__ */ new Date("");
1046
- }
1047
- }(v, g, y, W), this.init(), p && p !== !0 && (this.$L = this.locale(p).$L), T && v != this.format(g) && (this.$d = /* @__PURE__ */ new Date("")), F = {};
1048
- } else if (g instanceof Array)
1049
- for (var l = g.length, m = 1; m <= l; m += 1) {
1050
- k[1] = g[m - 1];
1051
- var h = W.apply(this, k);
1052
- if (h.isValid()) {
1053
- this.$d = h.$d, this.$L = h.$L, this.init();
1054
- break;
1055
- }
1056
- m === l && (this.$d = /* @__PURE__ */ new Date(""));
1057
- }
1058
- else
1059
- B.call(this, X);
1060
- };
1061
- };
1062
- });
1063
- })(bn);
1064
- var Fi = bn.exports;
1065
- const Ai = /* @__PURE__ */ ne(Fi);
1066
- var xn = { exports: {} };
1067
- (function(t, e) {
1068
- (function(n, r) {
1069
- t.exports = r();
1070
- })(ee, function() {
1071
- return function(n, r) {
1072
- var i = r.prototype, s = i.format;
1073
- i.format = function(c) {
1074
- var x = this, F = this.$locale();
1075
- if (!this.isValid())
1076
- return s.bind(this)(c);
1077
- var w = this.$utils(), b = (c || "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(I) {
1078
- switch (I) {
1079
- case "Q":
1080
- return Math.ceil((x.$M + 1) / 3);
1081
- case "Do":
1082
- return F.ordinal(x.$D);
1083
- case "gggg":
1084
- return x.weekYear();
1085
- case "GGGG":
1086
- return x.isoWeekYear();
1087
- case "wo":
1088
- return F.ordinal(x.week(), "W");
1089
- case "w":
1090
- case "ww":
1091
- return w.s(x.week(), I === "w" ? 1 : 2, "0");
1092
- case "W":
1093
- case "WW":
1094
- return w.s(x.isoWeek(), I === "W" ? 1 : 2, "0");
1095
- case "k":
1096
- case "kk":
1097
- return w.s(String(x.$H === 0 ? 24 : x.$H), I === "k" ? 1 : 2, "0");
1098
- case "X":
1099
- return Math.floor(x.$d.getTime() / 1e3);
1100
- case "x":
1101
- return x.$d.getTime();
1102
- case "z":
1103
- return "[" + x.offsetName() + "]";
1104
- case "zzz":
1105
- return "[" + x.offsetName("long") + "]";
1106
- default:
1107
- return I;
1108
- }
1109
- });
1110
- return s.bind(this)(b);
1111
- };
1112
- };
1113
- });
1114
- })(xn);
1115
- var Ei = xn.exports;
1116
- const Li = /* @__PURE__ */ ne(Ei);
1117
- var wn = { exports: {} };
1118
- (function(t, e) {
1119
- (function(n, r) {
1120
- t.exports = r();
1121
- })(ee, function() {
1122
- var n, r, i = 1e3, s = 6e4, c = 36e5, x = 864e5, F = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, w = 31536e6, b = 2628e6, I = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/, C = { years: w, months: b, days: x, hours: c, minutes: s, seconds: i, milliseconds: 1, weeks: 6048e5 }, _ = function(v) {
1123
- return v instanceof B;
1124
- }, j = function(v, y, k) {
1125
- return new B(v, k, y.$l);
1126
- }, L = function(v) {
1127
- return r.p(v) + "s";
1128
- }, Y = function(v) {
1129
- return v < 0;
1130
- }, E = function(v) {
1131
- return Y(v) ? Math.ceil(v) : Math.floor(v);
1132
- }, W = function(v) {
1133
- return Math.abs(v);
1134
- }, U = function(v, y) {
1135
- return v ? Y(v) ? { negative: !0, format: "" + W(v) + y } : { negative: !1, format: "" + v + y } : { negative: !1, format: "" };
1136
- }, B = function() {
1137
- function v(k, g, M) {
1138
- var D = this;
1139
- if (this.$d = {}, this.$l = M, k === void 0 && (this.$ms = 0, this.parseFromMilliseconds()), g)
1140
- return j(k * C[L(g)], this);
1141
- if (typeof k == "number")
1142
- return this.$ms = k, this.parseFromMilliseconds(), this;
1143
- if (typeof k == "object")
1144
- return Object.keys(k).forEach(function(l) {
1145
- D.$d[L(l)] = k[l];
1146
- }), this.calMilliseconds(), this;
1147
- if (typeof k == "string") {
1148
- var T = k.match(I);
1149
- if (T) {
1150
- var p = T.slice(2).map(function(l) {
1151
- return l != null ? Number(l) : 0;
1152
- });
1153
- return this.$d.years = p[0], this.$d.months = p[1], this.$d.weeks = p[2], this.$d.days = p[3], this.$d.hours = p[4], this.$d.minutes = p[5], this.$d.seconds = p[6], this.calMilliseconds(), this;
1154
- }
1155
- }
1156
- return this;
1157
- }
1158
- var y = v.prototype;
1159
- return y.calMilliseconds = function() {
1160
- var k = this;
1161
- this.$ms = Object.keys(this.$d).reduce(function(g, M) {
1162
- return g + (k.$d[M] || 0) * C[M];
1163
- }, 0);
1164
- }, y.parseFromMilliseconds = function() {
1165
- var k = this.$ms;
1166
- this.$d.years = E(k / w), k %= w, this.$d.months = E(k / b), k %= b, this.$d.days = E(k / x), k %= x, this.$d.hours = E(k / c), k %= c, this.$d.minutes = E(k / s), k %= s, this.$d.seconds = E(k / i), k %= i, this.$d.milliseconds = k;
1167
- }, y.toISOString = function() {
1168
- var k = U(this.$d.years, "Y"), g = U(this.$d.months, "M"), M = +this.$d.days || 0;
1169
- this.$d.weeks && (M += 7 * this.$d.weeks);
1170
- var D = U(M, "D"), T = U(this.$d.hours, "H"), p = U(this.$d.minutes, "M"), l = this.$d.seconds || 0;
1171
- this.$d.milliseconds && (l += this.$d.milliseconds / 1e3, l = Math.round(1e3 * l) / 1e3);
1172
- var m = U(l, "S"), h = k.negative || g.negative || D.negative || T.negative || p.negative || m.negative, S = T.format || p.format || m.format ? "T" : "", a = (h ? "-" : "") + "P" + k.format + g.format + D.format + S + T.format + p.format + m.format;
1173
- return a === "P" || a === "-P" ? "P0D" : a;
1174
- }, y.toJSON = function() {
1175
- return this.toISOString();
1176
- }, y.format = function(k) {
1177
- var g = k || "YYYY-MM-DDTHH:mm:ss", M = { Y: this.$d.years, YY: r.s(this.$d.years, 2, "0"), YYYY: r.s(this.$d.years, 4, "0"), M: this.$d.months, MM: r.s(this.$d.months, 2, "0"), D: this.$d.days, DD: r.s(this.$d.days, 2, "0"), H: this.$d.hours, HH: r.s(this.$d.hours, 2, "0"), m: this.$d.minutes, mm: r.s(this.$d.minutes, 2, "0"), s: this.$d.seconds, ss: r.s(this.$d.seconds, 2, "0"), SSS: r.s(this.$d.milliseconds, 3, "0") };
1178
- return g.replace(F, function(D, T) {
1179
- return T || String(M[D]);
1180
- });
1181
- }, y.as = function(k) {
1182
- return this.$ms / C[L(k)];
1183
- }, y.get = function(k) {
1184
- var g = this.$ms, M = L(k);
1185
- return M === "milliseconds" ? g %= 1e3 : g = M === "weeks" ? E(g / C[M]) : this.$d[M], g || 0;
1186
- }, y.add = function(k, g, M) {
1187
- var D;
1188
- return D = g ? k * C[L(g)] : _(k) ? k.$ms : j(k, this).$ms, j(this.$ms + D * (M ? -1 : 1), this);
1189
- }, y.subtract = function(k, g) {
1190
- return this.add(k, g, !0);
1191
- }, y.locale = function(k) {
1192
- var g = this.clone();
1193
- return g.$l = k, g;
1194
- }, y.clone = function() {
1195
- return j(this.$ms, this);
1196
- }, y.humanize = function(k) {
1197
- return n().add(this.$ms, "ms").locale(this.$l).fromNow(!k);
1198
- }, y.valueOf = function() {
1199
- return this.asMilliseconds();
1200
- }, y.milliseconds = function() {
1201
- return this.get("milliseconds");
1202
- }, y.asMilliseconds = function() {
1203
- return this.as("milliseconds");
1204
- }, y.seconds = function() {
1205
- return this.get("seconds");
1206
- }, y.asSeconds = function() {
1207
- return this.as("seconds");
1208
- }, y.minutes = function() {
1209
- return this.get("minutes");
1210
- }, y.asMinutes = function() {
1211
- return this.as("minutes");
1212
- }, y.hours = function() {
1213
- return this.get("hours");
1214
- }, y.asHours = function() {
1215
- return this.as("hours");
1216
- }, y.days = function() {
1217
- return this.get("days");
1218
- }, y.asDays = function() {
1219
- return this.as("days");
1220
- }, y.weeks = function() {
1221
- return this.get("weeks");
1222
- }, y.asWeeks = function() {
1223
- return this.as("weeks");
1224
- }, y.months = function() {
1225
- return this.get("months");
1226
- }, y.asMonths = function() {
1227
- return this.as("months");
1228
- }, y.years = function() {
1229
- return this.get("years");
1230
- }, y.asYears = function() {
1231
- return this.as("years");
1232
- }, v;
1233
- }(), X = function(v, y, k) {
1234
- return v.add(y.years() * k, "y").add(y.months() * k, "M").add(y.days() * k, "d").add(y.hours() * k, "h").add(y.minutes() * k, "m").add(y.seconds() * k, "s").add(y.milliseconds() * k, "ms");
1235
- };
1236
- return function(v, y, k) {
1237
- n = k, r = k().$utils(), k.duration = function(D, T) {
1238
- var p = k.locale();
1239
- return j(D, { $l: p }, T);
1240
- }, k.isDuration = _;
1241
- var g = y.prototype.add, M = y.prototype.subtract;
1242
- y.prototype.add = function(D, T) {
1243
- return _(D) ? X(this, D, 1) : g.bind(this)(D, T);
1244
- }, y.prototype.subtract = function(D, T) {
1245
- return _(D) ? X(this, D, -1) : M.bind(this)(D, T);
1246
- };
1247
- };
1248
- });
1249
- })(wn);
1250
- var Ui = wn.exports;
1251
- const Ii = /* @__PURE__ */ ne(Ui);
1252
- var pe = function() {
1253
- var t = /* @__PURE__ */ f(function(p, l, m, h) {
1254
- for (m = m || {}, h = p.length; h--; m[p[h]] = l)
1255
- ;
1256
- return m;
1257
- }, "o"), e = [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], s = [1, 29], c = [1, 30], x = [1, 31], F = [1, 32], w = [1, 33], b = [1, 34], I = [1, 9], C = [1, 10], _ = [1, 11], j = [1, 12], L = [1, 13], Y = [1, 14], E = [1, 15], W = [1, 16], U = [1, 19], B = [1, 20], X = [1, 21], v = [1, 22], y = [1, 23], k = [1, 25], g = [1, 35], M = {
1258
- trace: /* @__PURE__ */ f(function() {
1259
- }, "trace"),
1260
- yy: {},
1261
- 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 },
1262
- 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" },
1263
- 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]],
1264
- performAction: /* @__PURE__ */ f(function(p, l, m, h, S, a, o) {
1265
- var u = a.length - 1;
1266
- switch (S) {
1267
- case 1:
1268
- return a[u - 1];
1269
- case 2:
1270
- this.$ = [];
1271
- break;
1272
- case 3:
1273
- a[u - 1].push(a[u]), this.$ = a[u - 1];
1274
- break;
1275
- case 4:
1276
- case 5:
1277
- this.$ = a[u];
1278
- break;
1279
- case 6:
1280
- case 7:
1281
- this.$ = [];
1282
- break;
1283
- case 8:
1284
- h.setWeekday("monday");
1285
- break;
1286
- case 9:
1287
- h.setWeekday("tuesday");
1288
- break;
1289
- case 10:
1290
- h.setWeekday("wednesday");
1291
- break;
1292
- case 11:
1293
- h.setWeekday("thursday");
1294
- break;
1295
- case 12:
1296
- h.setWeekday("friday");
1297
- break;
1298
- case 13:
1299
- h.setWeekday("saturday");
1300
- break;
1301
- case 14:
1302
- h.setWeekday("sunday");
1303
- break;
1304
- case 15:
1305
- h.setWeekend("friday");
1306
- break;
1307
- case 16:
1308
- h.setWeekend("saturday");
1309
- break;
1310
- case 17:
1311
- h.setDateFormat(a[u].substr(11)), this.$ = a[u].substr(11);
1312
- break;
1313
- case 18:
1314
- h.enableInclusiveEndDates(), this.$ = a[u].substr(18);
1315
- break;
1316
- case 19:
1317
- h.TopAxis(), this.$ = a[u].substr(8);
1318
- break;
1319
- case 20:
1320
- h.setAxisFormat(a[u].substr(11)), this.$ = a[u].substr(11);
1321
- break;
1322
- case 21:
1323
- h.setTickInterval(a[u].substr(13)), this.$ = a[u].substr(13);
1324
- break;
1325
- case 22:
1326
- h.setExcludes(a[u].substr(9)), this.$ = a[u].substr(9);
1327
- break;
1328
- case 23:
1329
- h.setIncludes(a[u].substr(9)), this.$ = a[u].substr(9);
1330
- break;
1331
- case 24:
1332
- h.setTodayMarker(a[u].substr(12)), this.$ = a[u].substr(12);
1333
- break;
1334
- case 27:
1335
- h.setDiagramTitle(a[u].substr(6)), this.$ = a[u].substr(6);
1336
- break;
1337
- case 28:
1338
- this.$ = a[u].trim(), h.setAccTitle(this.$);
1339
- break;
1340
- case 29:
1341
- case 30:
1342
- this.$ = a[u].trim(), h.setAccDescription(this.$);
1343
- break;
1344
- case 31:
1345
- h.addSection(a[u].substr(8)), this.$ = a[u].substr(8);
1346
- break;
1347
- case 33:
1348
- h.addTask(a[u - 1], a[u]), this.$ = "task";
1349
- break;
1350
- case 34:
1351
- this.$ = a[u - 1], h.setClickEvent(a[u - 1], a[u], null);
1352
- break;
1353
- case 35:
1354
- this.$ = a[u - 2], h.setClickEvent(a[u - 2], a[u - 1], a[u]);
1355
- break;
1356
- case 36:
1357
- this.$ = a[u - 2], h.setClickEvent(a[u - 2], a[u - 1], null), h.setLink(a[u - 2], a[u]);
1358
- break;
1359
- case 37:
1360
- this.$ = a[u - 3], h.setClickEvent(a[u - 3], a[u - 2], a[u - 1]), h.setLink(a[u - 3], a[u]);
1361
- break;
1362
- case 38:
1363
- this.$ = a[u - 2], h.setClickEvent(a[u - 2], a[u], null), h.setLink(a[u - 2], a[u - 1]);
1364
- break;
1365
- case 39:
1366
- this.$ = a[u - 3], h.setClickEvent(a[u - 3], a[u - 1], a[u]), h.setLink(a[u - 3], a[u - 2]);
1367
- break;
1368
- case 40:
1369
- this.$ = a[u - 1], h.setLink(a[u - 1], a[u]);
1370
- break;
1371
- case 41:
1372
- case 47:
1373
- this.$ = a[u - 1] + " " + a[u];
1374
- break;
1375
- case 42:
1376
- case 43:
1377
- case 45:
1378
- this.$ = a[u - 2] + " " + a[u - 1] + " " + a[u];
1379
- break;
1380
- case 44:
1381
- case 46:
1382
- this.$ = a[u - 3] + " " + a[u - 2] + " " + a[u - 1] + " " + a[u];
1383
- break;
1384
- }
1385
- }, "anonymous"),
1386
- table: [{ 3: 1, 4: [1, 2] }, { 1: [3] }, t(e, [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: s, 16: c, 17: x, 18: F, 19: 18, 20: w, 21: b, 22: I, 23: C, 24: _, 25: j, 26: L, 27: Y, 28: E, 29: W, 30: U, 31: B, 33: X, 35: v, 36: y, 37: 24, 38: k, 40: g }, t(e, [2, 7], { 1: [2, 1] }), t(e, [2, 3]), { 9: 36, 11: 17, 12: n, 13: r, 14: i, 15: s, 16: c, 17: x, 18: F, 19: 18, 20: w, 21: b, 22: I, 23: C, 24: _, 25: j, 26: L, 27: Y, 28: E, 29: W, 30: U, 31: B, 33: X, 35: v, 36: y, 37: 24, 38: k, 40: g }, t(e, [2, 5]), t(e, [2, 6]), t(e, [2, 17]), t(e, [2, 18]), t(e, [2, 19]), t(e, [2, 20]), t(e, [2, 21]), t(e, [2, 22]), t(e, [2, 23]), t(e, [2, 24]), t(e, [2, 25]), t(e, [2, 26]), t(e, [2, 27]), { 32: [1, 37] }, { 34: [1, 38] }, t(e, [2, 30]), t(e, [2, 31]), t(e, [2, 32]), { 39: [1, 39] }, t(e, [2, 8]), t(e, [2, 9]), t(e, [2, 10]), t(e, [2, 11]), t(e, [2, 12]), t(e, [2, 13]), t(e, [2, 14]), t(e, [2, 15]), t(e, [2, 16]), { 41: [1, 40], 43: [1, 41] }, t(e, [2, 4]), t(e, [2, 28]), t(e, [2, 29]), t(e, [2, 33]), t(e, [2, 34], { 42: [1, 42], 43: [1, 43] }), t(e, [2, 40], { 41: [1, 44] }), t(e, [2, 35], { 43: [1, 45] }), t(e, [2, 36]), t(e, [2, 38], { 42: [1, 46] }), t(e, [2, 37]), t(e, [2, 39])],
1387
- defaultActions: {},
1388
- parseError: /* @__PURE__ */ f(function(p, l) {
1389
- if (l.recoverable)
1390
- this.trace(p);
1391
- else {
1392
- var m = new Error(p);
1393
- throw m.hash = l, m;
1394
- }
1395
- }, "parseError"),
1396
- parse: /* @__PURE__ */ f(function(p) {
1397
- var l = this, m = [0], h = [], S = [null], a = [], o = this.table, u = "", A = 0, z = 0, H = 2, V = 1, J = a.slice.call(arguments, 1), K = Object.create(this.lexer), it = { yy: {} };
1398
- for (var pt in this.yy)
1399
- Object.prototype.hasOwnProperty.call(this.yy, pt) && (it.yy[pt] = this.yy[pt]);
1400
- K.setInput(p, it.yy), it.yy.lexer = K, it.yy.parser = this, typeof K.yylloc > "u" && (K.yylloc = {});
1401
- var $ = K.yylloc;
1402
- a.push($);
1403
- var O = K.options && K.options.ranges;
1404
- typeof it.yy.parseError == "function" ? this.parseError = it.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1405
- function N(at) {
1406
- m.length = m.length - 2 * at, S.length = S.length - at, a.length = a.length - at;
1407
- }
1408
- f(N, "popStack");
1409
- function d() {
1410
- var at;
1411
- return at = h.pop() || K.lex() || V, typeof at != "number" && (at instanceof Array && (h = at, at = h.pop()), at = l.symbols_[at] || at), at;
1412
- }
1413
- f(d, "lex");
1414
- for (var q, P, R, Q, et = {}, ct, st, Le, jt; ; ) {
1415
- if (P = m[m.length - 1], this.defaultActions[P] ? R = this.defaultActions[P] : ((q === null || typeof q > "u") && (q = d()), R = o[P] && o[P][q]), typeof R > "u" || !R.length || !R[0]) {
1416
- var re = "";
1417
- jt = [];
1418
- for (ct in o[P])
1419
- this.terminals_[ct] && ct > H && jt.push("'" + this.terminals_[ct] + "'");
1420
- K.showPosition ? re = "Parse error on line " + (A + 1) + `:
1421
- ` + K.showPosition() + `
1422
- Expecting ` + jt.join(", ") + ", got '" + (this.terminals_[q] || q) + "'" : re = "Parse error on line " + (A + 1) + ": Unexpected " + (q == V ? "end of input" : "'" + (this.terminals_[q] || q) + "'"), this.parseError(re, {
1423
- text: K.match,
1424
- token: this.terminals_[q] || q,
1425
- line: K.yylineno,
1426
- loc: $,
1427
- expected: jt
1428
- });
1429
- }
1430
- if (R[0] instanceof Array && R.length > 1)
1431
- throw new Error("Parse Error: multiple actions possible at state: " + P + ", token: " + q);
1432
- switch (R[0]) {
1433
- case 1:
1434
- m.push(q), S.push(K.yytext), a.push(K.yylloc), m.push(R[1]), q = null, z = K.yyleng, u = K.yytext, A = K.yylineno, $ = K.yylloc;
1435
- break;
1436
- case 2:
1437
- if (st = this.productions_[R[1]][1], et.$ = S[S.length - st], et._$ = {
1438
- first_line: a[a.length - (st || 1)].first_line,
1439
- last_line: a[a.length - 1].last_line,
1440
- first_column: a[a.length - (st || 1)].first_column,
1441
- last_column: a[a.length - 1].last_column
1442
- }, O && (et._$.range = [
1443
- a[a.length - (st || 1)].range[0],
1444
- a[a.length - 1].range[1]
1445
- ]), Q = this.performAction.apply(et, [
1446
- u,
1447
- z,
1448
- A,
1449
- it.yy,
1450
- R[1],
1451
- S,
1452
- a
1453
- ].concat(J)), typeof Q < "u")
1454
- return Q;
1455
- st && (m = m.slice(0, -1 * st * 2), S = S.slice(0, -1 * st), a = a.slice(0, -1 * st)), m.push(this.productions_[R[1]][0]), S.push(et.$), a.push(et._$), Le = o[m[m.length - 2]][m[m.length - 1]], m.push(Le);
1456
- break;
1457
- case 3:
1458
- return !0;
1459
- }
1460
- }
1461
- return !0;
1462
- }, "parse")
1463
- }, D = /* @__PURE__ */ function() {
1464
- var p = {
1465
- EOF: 1,
1466
- parseError: /* @__PURE__ */ f(function(l, m) {
1467
- if (this.yy.parser)
1468
- this.yy.parser.parseError(l, m);
1469
- else
1470
- throw new Error(l);
1471
- }, "parseError"),
1472
- // resets the lexer, sets new input
1473
- setInput: /* @__PURE__ */ f(function(l, m) {
1474
- return this.yy = m || this.yy || {}, this._input = l, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
1475
- first_line: 1,
1476
- first_column: 0,
1477
- last_line: 1,
1478
- last_column: 0
1479
- }, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
1480
- }, "setInput"),
1481
- // consumes and returns one char from the input
1482
- input: /* @__PURE__ */ f(function() {
1483
- var l = this._input[0];
1484
- this.yytext += l, this.yyleng++, this.offset++, this.match += l, this.matched += l;
1485
- var m = l.match(/(?:\r\n?|\n).*/g);
1486
- return m ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), l;
1487
- }, "input"),
1488
- // unshifts one char (or a string) into the input
1489
- unput: /* @__PURE__ */ f(function(l) {
1490
- var m = l.length, h = l.split(/(?:\r\n?|\n)/g);
1491
- this._input = l + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - m), this.offset -= m;
1492
- var S = this.match.split(/(?:\r\n?|\n)/g);
1493
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), h.length - 1 && (this.yylineno -= h.length - 1);
1494
- var a = this.yylloc.range;
1495
- return this.yylloc = {
1496
- first_line: this.yylloc.first_line,
1497
- last_line: this.yylineno + 1,
1498
- first_column: this.yylloc.first_column,
1499
- last_column: h ? (h.length === S.length ? this.yylloc.first_column : 0) + S[S.length - h.length].length - h[0].length : this.yylloc.first_column - m
1500
- }, this.options.ranges && (this.yylloc.range = [a[0], a[0] + this.yyleng - m]), this.yyleng = this.yytext.length, this;
1501
- }, "unput"),
1502
- // When called from action, caches matched text and appends it on next action
1503
- more: /* @__PURE__ */ f(function() {
1504
- return this._more = !0, this;
1505
- }, "more"),
1506
- // When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
1507
- reject: /* @__PURE__ */ f(function() {
1508
- if (this.options.backtrack_lexer)
1509
- this._backtrack = !0;
1510
- else
1511
- 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).
1512
- ` + this.showPosition(), {
1513
- text: "",
1514
- token: null,
1515
- line: this.yylineno
1516
- });
1517
- return this;
1518
- }, "reject"),
1519
- // retain first n characters of the match
1520
- less: /* @__PURE__ */ f(function(l) {
1521
- this.unput(this.match.slice(l));
1522
- }, "less"),
1523
- // displays already matched input, i.e. for error messages
1524
- pastInput: /* @__PURE__ */ f(function() {
1525
- var l = this.matched.substr(0, this.matched.length - this.match.length);
1526
- return (l.length > 20 ? "..." : "") + l.substr(-20).replace(/\n/g, "");
1527
- }, "pastInput"),
1528
- // displays upcoming input, i.e. for error messages
1529
- upcomingInput: /* @__PURE__ */ f(function() {
1530
- var l = this.match;
1531
- return l.length < 20 && (l += this._input.substr(0, 20 - l.length)), (l.substr(0, 20) + (l.length > 20 ? "..." : "")).replace(/\n/g, "");
1532
- }, "upcomingInput"),
1533
- // displays the character position where the lexing error occurred, i.e. for error messages
1534
- showPosition: /* @__PURE__ */ f(function() {
1535
- var l = this.pastInput(), m = new Array(l.length + 1).join("-");
1536
- return l + this.upcomingInput() + `
1537
- ` + m + "^";
1538
- }, "showPosition"),
1539
- // test the lexed token: return FALSE when not a match, otherwise return token
1540
- test_match: /* @__PURE__ */ f(function(l, m) {
1541
- var h, S, a;
1542
- if (this.options.backtrack_lexer && (a = {
1543
- yylineno: this.yylineno,
1544
- yylloc: {
1545
- first_line: this.yylloc.first_line,
1546
- last_line: this.last_line,
1547
- first_column: this.yylloc.first_column,
1548
- last_column: this.yylloc.last_column
1549
- },
1550
- yytext: this.yytext,
1551
- match: this.match,
1552
- matches: this.matches,
1553
- matched: this.matched,
1554
- yyleng: this.yyleng,
1555
- offset: this.offset,
1556
- _more: this._more,
1557
- _input: this._input,
1558
- yy: this.yy,
1559
- conditionStack: this.conditionStack.slice(0),
1560
- done: this.done
1561
- }, this.options.ranges && (a.yylloc.range = this.yylloc.range.slice(0))), S = l[0].match(/(?:\r\n?|\n).*/g), S && (this.yylineno += S.length), this.yylloc = {
1562
- first_line: this.yylloc.last_line,
1563
- last_line: this.yylineno + 1,
1564
- first_column: this.yylloc.last_column,
1565
- last_column: S ? S[S.length - 1].length - S[S.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + l[0].length
1566
- }, this.yytext += l[0], this.match += l[0], this.matches = l, 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(l[0].length), this.matched += l[0], h = this.performAction.call(this, this.yy, this, m, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), h)
1567
- return h;
1568
- if (this._backtrack) {
1569
- for (var o in a)
1570
- this[o] = a[o];
1571
- return !1;
1572
- }
1573
- return !1;
1574
- }, "test_match"),
1575
- // return next match in input
1576
- next: /* @__PURE__ */ f(function() {
1577
- if (this.done)
1578
- return this.EOF;
1579
- this._input || (this.done = !0);
1580
- var l, m, h, S;
1581
- this._more || (this.yytext = "", this.match = "");
1582
- for (var a = this._currentRules(), o = 0; o < a.length; o++)
1583
- if (h = this._input.match(this.rules[a[o]]), h && (!m || h[0].length > m[0].length)) {
1584
- if (m = h, S = o, this.options.backtrack_lexer) {
1585
- if (l = this.test_match(h, a[o]), l !== !1)
1586
- return l;
1587
- if (this._backtrack) {
1588
- m = !1;
1589
- continue;
1590
- } else
1591
- return !1;
1592
- } else if (!this.options.flex)
1593
- break;
1594
- }
1595
- return m ? (l = this.test_match(m, a[S]), l !== !1 ? l : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
1596
- ` + this.showPosition(), {
1597
- text: "",
1598
- token: null,
1599
- line: this.yylineno
1600
- });
1601
- }, "next"),
1602
- // return next match that has a token
1603
- lex: /* @__PURE__ */ f(function() {
1604
- var l = this.next();
1605
- return l || this.lex();
1606
- }, "lex"),
1607
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1608
- begin: /* @__PURE__ */ f(function(l) {
1609
- this.conditionStack.push(l);
1610
- }, "begin"),
1611
- // pop the previously active lexer condition state off the condition stack
1612
- popState: /* @__PURE__ */ f(function() {
1613
- var l = this.conditionStack.length - 1;
1614
- return l > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1615
- }, "popState"),
1616
- // produce the lexer rule set which is active for the currently active lexer condition state
1617
- _currentRules: /* @__PURE__ */ f(function() {
1618
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1619
- }, "_currentRules"),
1620
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1621
- topState: /* @__PURE__ */ f(function(l) {
1622
- return l = this.conditionStack.length - 1 - Math.abs(l || 0), l >= 0 ? this.conditionStack[l] : "INITIAL";
1623
- }, "topState"),
1624
- // alias for begin(condition)
1625
- pushState: /* @__PURE__ */ f(function(l) {
1626
- this.begin(l);
1627
- }, "pushState"),
1628
- // return the number of states currently on the stack
1629
- stateStackSize: /* @__PURE__ */ f(function() {
1630
- return this.conditionStack.length;
1631
- }, "stateStackSize"),
1632
- options: { "case-insensitive": !0 },
1633
- performAction: /* @__PURE__ */ f(function(l, m, h, S) {
1634
- switch (h) {
1635
- case 0:
1636
- return this.begin("open_directive"), "open_directive";
1637
- case 1:
1638
- return this.begin("acc_title"), 31;
1639
- case 2:
1640
- return this.popState(), "acc_title_value";
1641
- case 3:
1642
- return this.begin("acc_descr"), 33;
1643
- case 4:
1644
- return this.popState(), "acc_descr_value";
1645
- case 5:
1646
- this.begin("acc_descr_multiline");
1647
- break;
1648
- case 6:
1649
- this.popState();
1650
- break;
1651
- case 7:
1652
- return "acc_descr_multiline_value";
1653
- case 8:
1654
- break;
1655
- case 9:
1656
- break;
1657
- case 10:
1658
- break;
1659
- case 11:
1660
- return 10;
1661
- case 12:
1662
- break;
1663
- case 13:
1664
- break;
1665
- case 14:
1666
- this.begin("href");
1667
- break;
1668
- case 15:
1669
- this.popState();
1670
- break;
1671
- case 16:
1672
- return 43;
1673
- case 17:
1674
- this.begin("callbackname");
1675
- break;
1676
- case 18:
1677
- this.popState();
1678
- break;
1679
- case 19:
1680
- this.popState(), this.begin("callbackargs");
1681
- break;
1682
- case 20:
1683
- return 41;
1684
- case 21:
1685
- this.popState();
1686
- break;
1687
- case 22:
1688
- return 42;
1689
- case 23:
1690
- this.begin("click");
1691
- break;
1692
- case 24:
1693
- this.popState();
1694
- break;
1695
- case 25:
1696
- return 40;
1697
- case 26:
1698
- return 4;
1699
- case 27:
1700
- return 22;
1701
- case 28:
1702
- return 23;
1703
- case 29:
1704
- return 24;
1705
- case 30:
1706
- return 25;
1707
- case 31:
1708
- return 26;
1709
- case 32:
1710
- return 28;
1711
- case 33:
1712
- return 27;
1713
- case 34:
1714
- return 29;
1715
- case 35:
1716
- return 12;
1717
- case 36:
1718
- return 13;
1719
- case 37:
1720
- return 14;
1721
- case 38:
1722
- return 15;
1723
- case 39:
1724
- return 16;
1725
- case 40:
1726
- return 17;
1727
- case 41:
1728
- return 18;
1729
- case 42:
1730
- return 20;
1731
- case 43:
1732
- return 21;
1733
- case 44:
1734
- return "date";
1735
- case 45:
1736
- return 30;
1737
- case 46:
1738
- return "accDescription";
1739
- case 47:
1740
- return 36;
1741
- case 48:
1742
- return 38;
1743
- case 49:
1744
- return 39;
1745
- case 50:
1746
- return ":";
1747
- case 51:
1748
- return 6;
1749
- case 52:
1750
- return "INVALID";
1751
- }
1752
- }, "anonymous"),
1753
- 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],
1754
- 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 } }
1755
- };
1756
- return p;
1757
- }();
1758
- M.lexer = D;
1759
- function T() {
1760
- this.yy = {};
1761
- }
1762
- return f(T, "Parser"), T.prototype = M, M.Parser = T, new T();
1763
- }();
1764
- pe.parser = pe;
1765
- var Hi = pe;
1766
- rt.extend(Yi);
1767
- rt.extend(Ai);
1768
- rt.extend(Li);
1769
- var Ve = { friday: 5, saturday: 6 }, ut = "", De = "", Me = void 0, $e = "", Nt = [], zt = [], Ce = /* @__PURE__ */ new Map(), _e = [], Gt = [], At = "", Se = "", Dn = ["active", "done", "crit", "milestone", "vert"], Ye = [], Bt = !1, Fe = !1, Ae = "sunday", te = "saturday", ve = 0, Oi = /* @__PURE__ */ f(function() {
1770
- _e = [], Gt = [], At = "", Ye = [], Vt = 0, be = void 0, Xt = void 0, G = [], ut = "", De = "", Se = "", Me = void 0, $e = "", Nt = [], zt = [], Bt = !1, Fe = !1, ve = 0, Ce = /* @__PURE__ */ new Map(), Wn(), Ae = "sunday", te = "saturday";
1771
- }, "clear"), Wi = /* @__PURE__ */ f(function(t) {
1772
- De = t;
1773
- }, "setAxisFormat"), Pi = /* @__PURE__ */ f(function() {
1774
- return De;
1775
- }, "getAxisFormat"), Ni = /* @__PURE__ */ f(function(t) {
1776
- Me = t;
1777
- }, "setTickInterval"), zi = /* @__PURE__ */ f(function() {
1778
- return Me;
1779
- }, "getTickInterval"), Bi = /* @__PURE__ */ f(function(t) {
1780
- $e = t;
1781
- }, "setTodayMarker"), ji = /* @__PURE__ */ f(function() {
1782
- return $e;
1783
- }, "getTodayMarker"), qi = /* @__PURE__ */ f(function(t) {
1784
- ut = t;
1785
- }, "setDateFormat"), Zi = /* @__PURE__ */ f(function() {
1786
- Bt = !0;
1787
- }, "enableInclusiveEndDates"), Ri = /* @__PURE__ */ f(function() {
1788
- return Bt;
1789
- }, "endDatesAreInclusive"), Vi = /* @__PURE__ */ f(function() {
1790
- Fe = !0;
1791
- }, "enableTopAxis"), Xi = /* @__PURE__ */ f(function() {
1792
- return Fe;
1793
- }, "topAxisEnabled"), Ji = /* @__PURE__ */ f(function(t) {
1794
- Se = t;
1795
- }, "setDisplayMode"), Ki = /* @__PURE__ */ f(function() {
1796
- return Se;
1797
- }, "getDisplayMode"), Qi = /* @__PURE__ */ f(function() {
1798
- return ut;
1799
- }, "getDateFormat"), Gi = /* @__PURE__ */ f(function(t) {
1800
- Nt = t.toLowerCase().split(/[\s,]+/);
1801
- }, "setIncludes"), ts = /* @__PURE__ */ f(function() {
1802
- return Nt;
1803
- }, "getIncludes"), es = /* @__PURE__ */ f(function(t) {
1804
- zt = t.toLowerCase().split(/[\s,]+/);
1805
- }, "setExcludes"), ns = /* @__PURE__ */ f(function() {
1806
- return zt;
1807
- }, "getExcludes"), rs = /* @__PURE__ */ f(function() {
1808
- return Ce;
1809
- }, "getLinks"), is = /* @__PURE__ */ f(function(t) {
1810
- At = t, _e.push(t);
1811
- }, "addSection"), ss = /* @__PURE__ */ f(function() {
1812
- return _e;
1813
- }, "getSections"), as = /* @__PURE__ */ f(function() {
1814
- let t = Xe();
1815
- const e = 10;
1816
- let n = 0;
1817
- for (; !t && n < e; )
1818
- t = Xe(), n++;
1819
- return Gt = G, Gt;
1820
- }, "getTasks"), Mn = /* @__PURE__ */ f(function(t, e, n, r) {
1821
- const i = t.format(e.trim()), s = t.format("YYYY-MM-DD");
1822
- return r.includes(i) || r.includes(s) ? !1 : n.includes("weekends") && (t.isoWeekday() === Ve[te] || t.isoWeekday() === Ve[te] + 1) || n.includes(t.format("dddd").toLowerCase()) ? !0 : n.includes(i) || n.includes(s);
1823
- }, "isInvalidDate"), os = /* @__PURE__ */ f(function(t) {
1824
- Ae = t;
1825
- }, "setWeekday"), cs = /* @__PURE__ */ f(function() {
1826
- return Ae;
1827
- }, "getWeekday"), us = /* @__PURE__ */ f(function(t) {
1828
- te = t;
1829
- }, "setWeekend"), $n = /* @__PURE__ */ f(function(t, e, n, r) {
1830
- if (!n.length || t.manualEndTime)
1831
- return;
1832
- let i;
1833
- t.startTime instanceof Date ? i = rt(t.startTime) : i = rt(t.startTime, e, !0), i = i.add(1, "d");
1834
- let s;
1835
- t.endTime instanceof Date ? s = rt(t.endTime) : s = rt(t.endTime, e, !0);
1836
- const [c, x] = ls(
1837
- i,
1838
- s,
1839
- e,
1840
- n,
1841
- r
1842
- );
1843
- t.endTime = c.toDate(), t.renderEndTime = x;
1844
- }, "checkTaskDates"), ls = /* @__PURE__ */ f(function(t, e, n, r, i) {
1845
- let s = !1, c = null;
1846
- for (; t <= e; )
1847
- s || (c = e.toDate()), s = Mn(t, n, r, i), s && (e = e.add(1, "d")), t = t.add(1, "d");
1848
- return [e, c];
1849
- }, "fixTaskDates"), Te = /* @__PURE__ */ f(function(t, e, n) {
1850
- if (n = n.trim(), (/* @__PURE__ */ f((s) => {
1851
- const c = s.trim();
1852
- return c === "x" || c === "X";
1853
- }, "isTimestampFormat"))(e) && /^\d+$/.test(n))
1854
- return new Date(Number(n));
1855
- const r = /^after\s+(?<ids>[\d\w- ]+)/.exec(n);
1856
- if (r !== null) {
1857
- let s = null;
1858
- for (const x of r.groups.ids.split(" ")) {
1859
- let F = Mt(x);
1860
- F !== void 0 && (!s || F.endTime > s.endTime) && (s = F);
1861
- }
1862
- if (s)
1863
- return s.endTime;
1864
- const c = /* @__PURE__ */ new Date();
1865
- return c.setHours(0, 0, 0, 0), c;
1866
- }
1867
- let i = rt(n, e.trim(), !0);
1868
- if (i.isValid())
1869
- return i.toDate();
1870
- {
1871
- vt.debug("Invalid date:" + n), vt.debug("With date format:" + e.trim());
1872
- const s = new Date(n);
1873
- if (s === void 0 || isNaN(s.getTime()) || // WebKit browsers can mis-parse invalid dates to be ridiculously
1874
- // huge numbers, e.g. new Date('202304') gets parsed as January 1, 202304.
1875
- // This can cause virtually infinite loops while rendering, so for the
1876
- // purposes of Gantt charts we'll just treat any date beyond 10,000 AD/BC as
1877
- // invalid.
1878
- s.getFullYear() < -1e4 || s.getFullYear() > 1e4)
1879
- throw new Error("Invalid date:" + n);
1880
- return s;
1881
- }
1882
- }, "getStartDate"), Cn = /* @__PURE__ */ f(function(t) {
1883
- const e = /^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());
1884
- return e !== null ? [Number.parseFloat(e[1]), e[2]] : [NaN, "ms"];
1885
- }, "parseDuration"), _n = /* @__PURE__ */ f(function(t, e, n, r = !1) {
1886
- n = n.trim();
1887
- const i = /^until\s+(?<ids>[\d\w- ]+)/.exec(n);
1888
- if (i !== null) {
1889
- let w = null;
1890
- for (const I of i.groups.ids.split(" ")) {
1891
- let C = Mt(I);
1892
- C !== void 0 && (!w || C.startTime < w.startTime) && (w = C);
1893
- }
1894
- if (w)
1895
- return w.startTime;
1896
- const b = /* @__PURE__ */ new Date();
1897
- return b.setHours(0, 0, 0, 0), b;
1898
- }
1899
- let s = rt(n, e.trim(), !0);
1900
- if (s.isValid())
1901
- return r && (s = s.add(1, "d")), s.toDate();
1902
- let c = rt(t);
1903
- const [x, F] = Cn(n);
1904
- if (!Number.isNaN(x)) {
1905
- const w = c.add(x, F);
1906
- w.isValid() && (c = w);
1907
- }
1908
- return c.toDate();
1909
- }, "getEndDate"), Vt = 0, St = /* @__PURE__ */ f(function(t) {
1910
- return t === void 0 ? (Vt = Vt + 1, "task" + Vt) : t;
1911
- }, "parseId"), ds = /* @__PURE__ */ f(function(t, e) {
1912
- let n;
1913
- e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
1914
- const r = n.split(","), i = {};
1915
- Ee(r, i, Dn);
1916
- for (let c = 0; c < r.length; c++)
1917
- r[c] = r[c].trim();
1918
- let s = "";
1919
- switch (r.length) {
1920
- case 1:
1921
- i.id = St(), i.startTime = t.endTime, s = r[0];
1922
- break;
1923
- case 2:
1924
- i.id = St(), i.startTime = Te(void 0, ut, r[0]), s = r[1];
1925
- break;
1926
- case 3:
1927
- i.id = St(r[0]), i.startTime = Te(void 0, ut, r[1]), s = r[2];
1928
- break;
1929
- }
1930
- return s && (i.endTime = _n(i.startTime, ut, s, Bt), i.manualEndTime = rt(s, "YYYY-MM-DD", !0).isValid(), $n(i, ut, zt, Nt)), i;
1931
- }, "compileData"), hs = /* @__PURE__ */ f(function(t, e) {
1932
- let n;
1933
- e.substr(0, 1) === ":" ? n = e.substr(1, e.length) : n = e;
1934
- const r = n.split(","), i = {};
1935
- Ee(r, i, Dn);
1936
- for (let s = 0; s < r.length; s++)
1937
- r[s] = r[s].trim();
1938
- switch (r.length) {
1939
- case 1:
1940
- i.id = St(), i.startTime = {
1941
- type: "prevTaskEnd",
1942
- id: t
1943
- }, i.endTime = {
1944
- data: r[0]
1945
- };
1946
- break;
1947
- case 2:
1948
- i.id = St(), i.startTime = {
1949
- type: "getStartDate",
1950
- startData: r[0]
1951
- }, i.endTime = {
1952
- data: r[1]
1953
- };
1954
- break;
1955
- case 3:
1956
- i.id = St(r[0]), i.startTime = {
1957
- type: "getStartDate",
1958
- startData: r[1]
1959
- }, i.endTime = {
1960
- data: r[2]
1961
- };
1962
- break;
1963
- }
1964
- return i;
1965
- }, "parseData"), be, Xt, G = [], Sn = {}, fs = /* @__PURE__ */ f(function(t, e) {
1966
- const n = {
1967
- section: At,
1968
- type: At,
1969
- processed: !1,
1970
- manualEndTime: !1,
1971
- renderEndTime: null,
1972
- raw: { data: e },
1973
- task: t,
1974
- classes: []
1975
- }, r = hs(Xt, e);
1976
- n.raw.startTime = r.startTime, n.raw.endTime = r.endTime, n.id = r.id, n.prevTaskId = Xt, n.active = r.active, n.done = r.done, n.crit = r.crit, n.milestone = r.milestone, n.vert = r.vert, n.order = ve, ve++;
1977
- const i = G.push(n);
1978
- Xt = n.id, Sn[n.id] = i - 1;
1979
- }, "addTask"), Mt = /* @__PURE__ */ f(function(t) {
1980
- const e = Sn[t];
1981
- return G[e];
1982
- }, "findTaskById"), gs = /* @__PURE__ */ f(function(t, e) {
1983
- const n = {
1984
- section: At,
1985
- type: At,
1986
- description: t,
1987
- task: t,
1988
- classes: []
1989
- }, r = ds(be, e);
1990
- 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, be = n, Gt.push(n);
1991
- }, "addTaskOrg"), Xe = /* @__PURE__ */ f(function() {
1992
- const t = /* @__PURE__ */ f(function(n) {
1993
- const r = G[n];
1994
- let i = "";
1995
- switch (G[n].raw.startTime.type) {
1996
- case "prevTaskEnd": {
1997
- const s = Mt(r.prevTaskId);
1998
- r.startTime = s.endTime;
1999
- break;
2000
- }
2001
- case "getStartDate":
2002
- i = Te(void 0, ut, G[n].raw.startTime.startData), i && (G[n].startTime = i);
2003
- break;
2004
- }
2005
- return G[n].startTime && (G[n].endTime = _n(
2006
- G[n].startTime,
2007
- ut,
2008
- G[n].raw.endTime.data,
2009
- Bt
2010
- ), G[n].endTime && (G[n].processed = !0, G[n].manualEndTime = rt(
2011
- G[n].raw.endTime.data,
2012
- "YYYY-MM-DD",
2013
- !0
2014
- ).isValid(), $n(G[n], ut, zt, Nt))), G[n].processed;
2015
- }, "compileTask");
2016
- let e = !0;
2017
- for (const [n, r] of G.entries())
2018
- t(n), e = e && r.processed;
2019
- return e;
2020
- }, "compileTasks"), ms = /* @__PURE__ */ f(function(t, e) {
2021
- let n = e;
2022
- Ct().securityLevel !== "loose" && (n = Pn(e)), t.split(",").forEach(function(r) {
2023
- Mt(r) !== void 0 && (Fn(r, () => {
2024
- window.open(n, "_self");
2025
- }), Ce.set(r, n));
2026
- }), Yn(t, "clickable");
2027
- }, "setLink"), Yn = /* @__PURE__ */ f(function(t, e) {
2028
- t.split(",").forEach(function(n) {
2029
- let r = Mt(n);
2030
- r !== void 0 && r.classes.push(e);
2031
- });
2032
- }, "setClass"), ys = /* @__PURE__ */ f(function(t, e, n) {
2033
- if (Ct().securityLevel !== "loose" || e === void 0)
2034
- return;
2035
- let r = [];
2036
- if (typeof n == "string") {
2037
- r = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
2038
- for (let i = 0; i < r.length; i++) {
2039
- let s = r[i].trim();
2040
- s.startsWith('"') && s.endsWith('"') && (s = s.substr(1, s.length - 2)), r[i] = s;
2041
- }
2042
- }
2043
- r.length === 0 && r.push(t), Mt(t) !== void 0 && Fn(t, () => {
2044
- Bn.runFunc(e, ...r);
2045
- });
2046
- }, "setClickFun"), Fn = /* @__PURE__ */ f(function(t, e) {
2047
- Ye.push(
2048
- function() {
2049
- const n = document.querySelector(`[id="${t}"]`);
2050
- n !== null && n.addEventListener("click", function() {
2051
- e();
2052
- });
2053
- },
2054
- function() {
2055
- const n = document.querySelector(`[id="${t}-text"]`);
2056
- n !== null && n.addEventListener("click", function() {
2057
- e();
2058
- });
2059
- }
2060
- );
2061
- }, "pushFun"), ks = /* @__PURE__ */ f(function(t, e, n) {
2062
- t.split(",").forEach(function(r) {
2063
- ys(r, e, n);
2064
- }), Yn(t, "clickable");
2065
- }, "setClickEvent"), ps = /* @__PURE__ */ f(function(t) {
2066
- Ye.forEach(function(e) {
2067
- e(t);
2068
- });
2069
- }, "bindFunctions"), vs = {
2070
- getConfig: /* @__PURE__ */ f(() => Ct().gantt, "getConfig"),
2071
- clear: Oi,
2072
- setDateFormat: qi,
2073
- getDateFormat: Qi,
2074
- enableInclusiveEndDates: Zi,
2075
- endDatesAreInclusive: Ri,
2076
- enableTopAxis: Vi,
2077
- topAxisEnabled: Xi,
2078
- setAxisFormat: Wi,
2079
- getAxisFormat: Pi,
2080
- setTickInterval: Ni,
2081
- getTickInterval: zi,
2082
- setTodayMarker: Bi,
2083
- getTodayMarker: ji,
2084
- setAccTitle: An,
2085
- getAccTitle: En,
2086
- setDiagramTitle: Ln,
2087
- getDiagramTitle: Un,
2088
- setDisplayMode: Ji,
2089
- getDisplayMode: Ki,
2090
- setAccDescription: In,
2091
- getAccDescription: Hn,
2092
- addSection: is,
2093
- getSections: ss,
2094
- getTasks: as,
2095
- addTask: fs,
2096
- findTaskById: Mt,
2097
- addTaskOrg: gs,
2098
- setIncludes: Gi,
2099
- getIncludes: ts,
2100
- setExcludes: es,
2101
- getExcludes: ns,
2102
- setClickEvent: ks,
2103
- setLink: ms,
2104
- getLinks: rs,
2105
- bindFunctions: ps,
2106
- parseDuration: Cn,
2107
- isInvalidDate: Mn,
2108
- setWeekday: os,
2109
- getWeekday: cs,
2110
- setWeekend: us
2111
- };
2112
- function Ee(t, e, n) {
2113
- let r = !0;
2114
- for (; r; )
2115
- r = !1, n.forEach(function(i) {
2116
- const s = "^\\s*" + i + "\\s*$", c = new RegExp(s);
2117
- t[0].match(c) && (e[i] = !0, t.shift(1), r = !0);
2118
- });
2119
- }
2120
- f(Ee, "getTaskTags");
2121
- rt.extend(Ii);
2122
- var Ts = /* @__PURE__ */ f(function() {
2123
- vt.debug("Something is calling, setConf, remove the call");
2124
- }, "setConf"), Je = {
2125
- monday: Ot,
2126
- tuesday: ln,
2127
- wednesday: dn,
2128
- thursday: bt,
2129
- friday: hn,
2130
- saturday: fn,
2131
- sunday: Pt
2132
- }, bs = /* @__PURE__ */ f((t, e) => {
2133
- let n = [...t].map(() => -1 / 0), r = [...t].sort((s, c) => s.startTime - c.startTime || s.order - c.order), i = 0;
2134
- for (const s of r)
2135
- for (let c = 0; c < n.length; c++)
2136
- if (s.startTime >= n[c]) {
2137
- n[c] = s.endTime, s.order = c + e, c > i && (i = c);
2138
- break;
2139
- }
2140
- return i;
2141
- }, "getMaxIntersections"), dt, me = 1e4, xs = /* @__PURE__ */ f(function(t, e, n, r) {
2142
- const i = Ct().gantt, s = Ct().securityLevel;
2143
- let c;
2144
- s === "sandbox" && (c = qt("#i" + e));
2145
- const x = s === "sandbox" ? qt(c.nodes()[0].contentDocument.body) : qt("body"), F = s === "sandbox" ? c.nodes()[0].contentDocument : document, w = F.getElementById(e);
2146
- dt = w.parentElement.offsetWidth, dt === void 0 && (dt = 1200), i.useWidth !== void 0 && (dt = i.useWidth);
2147
- const b = r.db.getTasks();
2148
- let I = [];
2149
- for (const g of b)
2150
- I.push(g.type);
2151
- I = k(I);
2152
- const C = {};
2153
- let _ = 2 * i.topPadding;
2154
- if (r.db.getDisplayMode() === "compact" || i.displayMode === "compact") {
2155
- const g = {};
2156
- for (const D of b)
2157
- g[D.section] === void 0 ? g[D.section] = [D] : g[D.section].push(D);
2158
- let M = 0;
2159
- for (const D of Object.keys(g)) {
2160
- const T = bs(g[D], M) + 1;
2161
- M += T, _ += T * (i.barHeight + i.barGap), C[D] = T;
2162
- }
2163
- } else {
2164
- _ += b.length * (i.barHeight + i.barGap);
2165
- for (const g of I)
2166
- C[g] = b.filter((M) => M.type === g).length;
2167
- }
2168
- w.setAttribute("viewBox", "0 0 " + dt + " " + _);
2169
- const j = x.select(`[id="${e}"]`), L = _i().domain([
2170
- Kn(b, function(g) {
2171
- return g.startTime;
2172
- }),
2173
- Jn(b, function(g) {
2174
- return g.endTime;
2175
- })
2176
- ]).rangeRound([0, dt - i.leftPadding - i.rightPadding]);
2177
- function Y(g, M) {
2178
- const D = g.startTime, T = M.startTime;
2179
- let p = 0;
2180
- return D > T ? p = 1 : D < T && (p = -1), p;
2181
- }
2182
- f(Y, "taskCompare"), b.sort(Y), E(b, dt, _), Nn(j, _, dt, i.useMaxWidth), j.append("text").text(r.db.getDiagramTitle()).attr("x", dt / 2).attr("y", i.titleTopMargin).attr("class", "titleText");
2183
- function E(g, M, D) {
2184
- const T = i.barHeight, p = T + i.barGap, l = i.topPadding, m = i.leftPadding, h = qn().domain([0, I.length]).range(["#00B9FA", "#F95002"]).interpolate(hr);
2185
- U(
2186
- p,
2187
- l,
2188
- m,
2189
- M,
2190
- D,
2191
- g,
2192
- r.db.getExcludes(),
2193
- r.db.getIncludes()
2194
- ), X(m, l, M, D), W(g, p, l, m, T, h, M), v(p, l), y(m, l, M, D);
2195
- }
2196
- f(E, "makeGantt");
2197
- function W(g, M, D, T, p, l, m) {
2198
- g.sort((o, u) => o.vert === u.vert ? 0 : o.vert ? 1 : -1);
2199
- const h = [...new Set(g.map((o) => o.order))].map((o) => g.find((u) => u.order === o));
2200
- j.append("g").selectAll("rect").data(h).enter().append("rect").attr("x", 0).attr("y", function(o, u) {
2201
- return u = o.order, u * M + D - 2;
2202
- }).attr("width", function() {
2203
- return m - i.rightPadding / 2;
2204
- }).attr("height", M).attr("class", function(o) {
2205
- for (const [u, A] of I.entries())
2206
- if (o.type === A)
2207
- return "section section" + u % i.numberSectionStyles;
2208
- return "section section0";
2209
- }).enter();
2210
- const S = j.append("g").selectAll("rect").data(g).enter(), a = r.db.getLinks();
2211
- if (S.append("rect").attr("id", function(o) {
2212
- return o.id;
2213
- }).attr("rx", 3).attr("ry", 3).attr("x", function(o) {
2214
- return o.milestone ? L(o.startTime) + T + 0.5 * (L(o.endTime) - L(o.startTime)) - 0.5 * p : L(o.startTime) + T;
2215
- }).attr("y", function(o, u) {
2216
- return u = o.order, o.vert ? i.gridLineStartPadding : u * M + D;
2217
- }).attr("width", function(o) {
2218
- return o.milestone ? p : o.vert ? 0.08 * p : L(o.renderEndTime || o.endTime) - L(o.startTime);
2219
- }).attr("height", function(o) {
2220
- return o.vert ? b.length * (i.barHeight + i.barGap) + i.barHeight * 2 : p;
2221
- }).attr("transform-origin", function(o, u) {
2222
- return u = o.order, (L(o.startTime) + T + 0.5 * (L(o.endTime) - L(o.startTime))).toString() + "px " + (u * M + D + 0.5 * p).toString() + "px";
2223
- }).attr("class", function(o) {
2224
- const u = "task";
2225
- let A = "";
2226
- o.classes.length > 0 && (A = o.classes.join(" "));
2227
- let z = 0;
2228
- for (const [V, J] of I.entries())
2229
- o.type === J && (z = V % i.numberSectionStyles);
2230
- let H = "";
2231
- return o.active ? o.crit ? H += " activeCrit" : H = " active" : o.done ? o.crit ? H = " doneCrit" : H = " done" : o.crit && (H += " crit"), H.length === 0 && (H = " task"), o.milestone && (H = " milestone " + H), o.vert && (H = " vert " + H), H += z, H += " " + A, u + H;
2232
- }), S.append("text").attr("id", function(o) {
2233
- return o.id + "-text";
2234
- }).text(function(o) {
2235
- return o.task;
2236
- }).attr("font-size", i.fontSize).attr("x", function(o) {
2237
- let u = L(o.startTime), A = L(o.renderEndTime || o.endTime);
2238
- if (o.milestone && (u += 0.5 * (L(o.endTime) - L(o.startTime)) - 0.5 * p, A = u + p), o.vert)
2239
- return L(o.startTime) + T;
2240
- const z = this.getBBox().width;
2241
- return z > A - u ? A + z + 1.5 * i.leftPadding > m ? u + T - 5 : A + T + 5 : (A - u) / 2 + u + T;
2242
- }).attr("y", function(o, u) {
2243
- return o.vert ? i.gridLineStartPadding + b.length * (i.barHeight + i.barGap) + 60 : (u = o.order, u * M + i.barHeight / 2 + (i.fontSize / 2 - 2) + D);
2244
- }).attr("text-height", p).attr("class", function(o) {
2245
- const u = L(o.startTime);
2246
- let A = L(o.endTime);
2247
- o.milestone && (A = u + p);
2248
- const z = this.getBBox().width;
2249
- let H = "";
2250
- o.classes.length > 0 && (H = o.classes.join(" "));
2251
- let V = 0;
2252
- for (const [K, it] of I.entries())
2253
- o.type === it && (V = K % i.numberSectionStyles);
2254
- let J = "";
2255
- return o.active && (o.crit ? J = "activeCritText" + V : J = "activeText" + V), o.done ? o.crit ? J = J + " doneCritText" + V : J = J + " doneText" + V : o.crit && (J = J + " critText" + V), o.milestone && (J += " milestoneText"), o.vert && (J += " vertText"), z > A - u ? A + z + 1.5 * i.leftPadding > m ? H + " taskTextOutsideLeft taskTextOutside" + V + " " + J : H + " taskTextOutsideRight taskTextOutside" + V + " " + J + " width-" + z : H + " taskText taskText" + V + " " + J + " width-" + z;
2256
- }), Ct().securityLevel === "sandbox") {
2257
- let o;
2258
- o = qt("#i" + e);
2259
- const u = o.nodes()[0].contentDocument;
2260
- S.filter(function(A) {
2261
- return a.has(A.id);
2262
- }).each(function(A) {
2263
- var z = u.querySelector("#" + A.id), H = u.querySelector("#" + A.id + "-text");
2264
- const V = z.parentNode;
2265
- var J = u.createElement("a");
2266
- J.setAttribute("xlink:href", a.get(A.id)), J.setAttribute("target", "_top"), V.appendChild(J), J.appendChild(z), J.appendChild(H);
2267
- });
2268
- }
2269
- }
2270
- f(W, "drawRects");
2271
- function U(g, M, D, T, p, l, m, h) {
2272
- if (m.length === 0 && h.length === 0)
2273
- return;
2274
- let S, a;
2275
- for (const { startTime: H, endTime: V } of l)
2276
- (S === void 0 || H < S) && (S = H), (a === void 0 || V > a) && (a = V);
2277
- if (!S || !a)
2278
- return;
2279
- if (rt(a).diff(rt(S), "year") > 5) {
2280
- vt.warn(
2281
- "The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days."
2282
- );
2283
- return;
2284
- }
2285
- const o = r.db.getDateFormat(), u = [];
2286
- let A = null, z = rt(S);
2287
- for (; z.valueOf() <= a; )
2288
- r.db.isInvalidDate(z, o, m, h) ? A ? A.end = z : A = {
2289
- start: z,
2290
- end: z
2291
- } : A && (u.push(A), A = null), z = z.add(1, "d");
2292
- j.append("g").selectAll("rect").data(u).enter().append("rect").attr("id", (H) => "exclude-" + H.start.format("YYYY-MM-DD")).attr("x", (H) => L(H.start.startOf("day")) + D).attr("y", i.gridLineStartPadding).attr("width", (H) => L(H.end.endOf("day")) - L(H.start.startOf("day"))).attr("height", p - M - i.gridLineStartPadding).attr("transform-origin", function(H, V) {
2293
- return (L(H.start) + D + 0.5 * (L(H.end) - L(H.start))).toString() + "px " + (V * g + 0.5 * p).toString() + "px";
2294
- }).attr("class", "exclude-range");
2295
- }
2296
- f(U, "drawExcludeDays");
2297
- function B(g, M, D, T) {
2298
- if (D <= 0 || g > M)
2299
- return 1 / 0;
2300
- const p = M - g, l = rt.duration({ [T ?? "day"]: D }).asMilliseconds();
2301
- return l <= 0 ? 1 / 0 : Math.ceil(p / l);
2302
- }
2303
- f(B, "getEstimatedTickCount");
2304
- function X(g, M, D, T) {
2305
- const p = r.db.getDateFormat(), l = r.db.getAxisFormat();
2306
- let m;
2307
- l ? m = l : p === "D" ? m = "%d" : m = i.axisFormat ?? "%Y-%m-%d";
2308
- let h = sr(L).tickSize(-T + M + i.gridLineStartPadding).tickFormat(Qt(m));
2309
- const S = /^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(
2310
- r.db.getTickInterval() || i.tickInterval
2311
- );
2312
- if (S !== null) {
2313
- const a = parseInt(S[1], 10);
2314
- if (isNaN(a) || a <= 0)
2315
- vt.warn(
2316
- `Invalid tick interval value: "${S[1]}". Skipping custom tick interval.`
2317
- );
2318
- else {
2319
- const o = S[2], u = r.db.getWeekday() || i.weekday, A = L.domain(), z = A[0], H = A[1], V = B(z, H, a, o);
2320
- if (V > me)
2321
- vt.warn(
2322
- `The tick interval "${a}${o}" would generate ${V} ticks, which exceeds the maximum allowed (${me}). This may indicate an invalid date or time range. Skipping custom tick interval.`
2323
- );
2324
- else
2325
- switch (o) {
2326
- case "millisecond":
2327
- h.ticks(Yt.every(a));
2328
- break;
2329
- case "second":
2330
- h.ticks(kt.every(a));
2331
- break;
2332
- case "minute":
2333
- h.ticks(It.every(a));
2334
- break;
2335
- case "hour":
2336
- h.ticks(Ht.every(a));
2337
- break;
2338
- case "day":
2339
- h.ticks(Tt.every(a));
2340
- break;
2341
- case "week":
2342
- h.ticks(Je[u].every(a));
2343
- break;
2344
- case "month":
2345
- h.ticks(Wt.every(a));
2346
- break;
2347
- }
2348
- }
2349
- }
2350
- if (j.append("g").attr("class", "grid").attr("transform", "translate(" + g + ", " + (T - 50) + ")").call(h).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10).attr("dy", "1em"), r.db.topAxisEnabled() || i.topAxis) {
2351
- let a = ir(L).tickSize(-T + M + i.gridLineStartPadding).tickFormat(Qt(m));
2352
- if (S !== null) {
2353
- const o = parseInt(S[1], 10);
2354
- if (isNaN(o) || o <= 0)
2355
- vt.warn(
2356
- `Invalid tick interval value: "${S[1]}". Skipping custom tick interval.`
2357
- );
2358
- else {
2359
- const u = S[2], A = r.db.getWeekday() || i.weekday, z = L.domain(), H = z[0], V = z[1];
2360
- if (B(H, V, o, u) <= me)
2361
- switch (u) {
2362
- case "millisecond":
2363
- a.ticks(Yt.every(o));
2364
- break;
2365
- case "second":
2366
- a.ticks(kt.every(o));
2367
- break;
2368
- case "minute":
2369
- a.ticks(It.every(o));
2370
- break;
2371
- case "hour":
2372
- a.ticks(Ht.every(o));
2373
- break;
2374
- case "day":
2375
- a.ticks(Tt.every(o));
2376
- break;
2377
- case "week":
2378
- a.ticks(Je[A].every(o));
2379
- break;
2380
- case "month":
2381
- a.ticks(Wt.every(o));
2382
- break;
2383
- }
2384
- }
2385
- }
2386
- j.append("g").attr("class", "grid").attr("transform", "translate(" + g + ", " + M + ")").call(a).selectAll("text").style("text-anchor", "middle").attr("fill", "#000").attr("stroke", "none").attr("font-size", 10);
2387
- }
2388
- }
2389
- f(X, "makeGrid");
2390
- function v(g, M) {
2391
- let D = 0;
2392
- const T = Object.keys(C).map((p) => [p, C[p]]);
2393
- j.append("g").selectAll("text").data(T).enter().append(function(p) {
2394
- const l = p[0].split(zn.lineBreakRegex), m = -(l.length - 1) / 2, h = F.createElementNS("http://www.w3.org/2000/svg", "text");
2395
- h.setAttribute("dy", m + "em");
2396
- for (const [S, a] of l.entries()) {
2397
- const o = F.createElementNS("http://www.w3.org/2000/svg", "tspan");
2398
- o.setAttribute("alignment-baseline", "central"), o.setAttribute("x", "10"), S > 0 && o.setAttribute("dy", "1em"), o.textContent = a, h.appendChild(o);
2399
- }
2400
- return h;
2401
- }).attr("x", 10).attr("y", function(p, l) {
2402
- if (l > 0)
2403
- for (let m = 0; m < l; m++)
2404
- return D += T[l - 1][1], p[1] * g / 2 + D * g + M;
2405
- else
2406
- return p[1] * g / 2 + M;
2407
- }).attr("font-size", i.sectionFontSize).attr("class", function(p) {
2408
- for (const [l, m] of I.entries())
2409
- if (p[0] === m)
2410
- return "sectionTitle sectionTitle" + l % i.numberSectionStyles;
2411
- return "sectionTitle";
2412
- });
2413
- }
2414
- f(v, "vertLabels");
2415
- function y(g, M, D, T) {
2416
- const p = r.db.getTodayMarker();
2417
- if (p === "off")
2418
- return;
2419
- const l = j.append("g").attr("class", "today"), m = /* @__PURE__ */ new Date(), h = l.append("line");
2420
- h.attr("x1", L(m) + g).attr("x2", L(m) + g).attr("y1", i.titleTopMargin).attr("y2", T - i.titleTopMargin).attr("class", "today"), p !== "" && h.attr("style", p.replace(/,/g, ";"));
2421
- }
2422
- f(y, "drawToday");
2423
- function k(g) {
2424
- const M = {}, D = [];
2425
- for (let T = 0, p = g.length; T < p; ++T)
2426
- Object.prototype.hasOwnProperty.call(M, g[T]) || (M[g[T]] = !0, D.push(g[T]));
2427
- return D;
2428
- }
2429
- f(k, "checkUnique");
2430
- }, "draw"), ws = {
2431
- setConf: Ts,
2432
- draw: xs
2433
- }, Ds = /* @__PURE__ */ f((t) => `
2434
- .mermaid-main-font {
2435
- font-family: ${t.fontFamily};
2436
- }
2437
-
2438
- .exclude-range {
2439
- fill: ${t.excludeBkgColor};
2440
- }
2441
-
2442
- .section {
2443
- stroke: none;
2444
- opacity: 0.2;
2445
- }
2446
-
2447
- .section0 {
2448
- fill: ${t.sectionBkgColor};
2449
- }
2450
-
2451
- .section2 {
2452
- fill: ${t.sectionBkgColor2};
2453
- }
2454
-
2455
- .section1,
2456
- .section3 {
2457
- fill: ${t.altSectionBkgColor};
2458
- opacity: 0.2;
2459
- }
2460
-
2461
- .sectionTitle0 {
2462
- fill: ${t.titleColor};
2463
- }
2464
-
2465
- .sectionTitle1 {
2466
- fill: ${t.titleColor};
2467
- }
2468
-
2469
- .sectionTitle2 {
2470
- fill: ${t.titleColor};
2471
- }
2472
-
2473
- .sectionTitle3 {
2474
- fill: ${t.titleColor};
2475
- }
2476
-
2477
- .sectionTitle {
2478
- text-anchor: start;
2479
- font-family: ${t.fontFamily};
2480
- }
2481
-
2482
-
2483
- /* Grid and axis */
2484
-
2485
- .grid .tick {
2486
- stroke: ${t.gridColor};
2487
- opacity: 0.8;
2488
- shape-rendering: crispEdges;
2489
- }
2490
-
2491
- .grid .tick text {
2492
- font-family: ${t.fontFamily};
2493
- fill: ${t.textColor};
2494
- }
2495
-
2496
- .grid path {
2497
- stroke-width: 0;
2498
- }
2499
-
2500
-
2501
- /* Today line */
2502
-
2503
- .today {
2504
- fill: none;
2505
- stroke: ${t.todayLineColor};
2506
- stroke-width: 2px;
2507
- }
2508
-
2509
-
2510
- /* Task styling */
2511
-
2512
- /* Default task */
2513
-
2514
- .task {
2515
- stroke-width: 2;
2516
- }
2517
-
2518
- .taskText {
2519
- text-anchor: middle;
2520
- font-family: ${t.fontFamily};
2521
- }
2522
-
2523
- .taskTextOutsideRight {
2524
- fill: ${t.taskTextDarkColor};
2525
- text-anchor: start;
2526
- font-family: ${t.fontFamily};
2527
- }
2528
-
2529
- .taskTextOutsideLeft {
2530
- fill: ${t.taskTextDarkColor};
2531
- text-anchor: end;
2532
- }
2533
-
2534
-
2535
- /* Special case clickable */
2536
-
2537
- .task.clickable {
2538
- cursor: pointer;
2539
- }
2540
-
2541
- .taskText.clickable {
2542
- cursor: pointer;
2543
- fill: ${t.taskTextClickableColor} !important;
2544
- font-weight: bold;
2545
- }
2546
-
2547
- .taskTextOutsideLeft.clickable {
2548
- cursor: pointer;
2549
- fill: ${t.taskTextClickableColor} !important;
2550
- font-weight: bold;
2551
- }
2552
-
2553
- .taskTextOutsideRight.clickable {
2554
- cursor: pointer;
2555
- fill: ${t.taskTextClickableColor} !important;
2556
- font-weight: bold;
2557
- }
2558
-
2559
-
2560
- /* Specific task settings for the sections*/
2561
-
2562
- .taskText0,
2563
- .taskText1,
2564
- .taskText2,
2565
- .taskText3 {
2566
- fill: ${t.taskTextColor};
2567
- }
2568
-
2569
- .task0,
2570
- .task1,
2571
- .task2,
2572
- .task3 {
2573
- fill: ${t.taskBkgColor};
2574
- stroke: ${t.taskBorderColor};
2575
- }
2576
-
2577
- .taskTextOutside0,
2578
- .taskTextOutside2
2579
- {
2580
- fill: ${t.taskTextOutsideColor};
2581
- }
2582
-
2583
- .taskTextOutside1,
2584
- .taskTextOutside3 {
2585
- fill: ${t.taskTextOutsideColor};
2586
- }
2587
-
2588
-
2589
- /* Active task */
2590
-
2591
- .active0,
2592
- .active1,
2593
- .active2,
2594
- .active3 {
2595
- fill: ${t.activeTaskBkgColor};
2596
- stroke: ${t.activeTaskBorderColor};
2597
- }
2598
-
2599
- .activeText0,
2600
- .activeText1,
2601
- .activeText2,
2602
- .activeText3 {
2603
- fill: ${t.taskTextDarkColor} !important;
2604
- }
2605
-
2606
-
2607
- /* Completed task */
2608
-
2609
- .done0,
2610
- .done1,
2611
- .done2,
2612
- .done3 {
2613
- stroke: ${t.doneTaskBorderColor};
2614
- fill: ${t.doneTaskBkgColor};
2615
- stroke-width: 2;
2616
- }
2617
-
2618
- .doneText0,
2619
- .doneText1,
2620
- .doneText2,
2621
- .doneText3 {
2622
- fill: ${t.taskTextDarkColor} !important;
2623
- }
2624
-
2625
-
2626
- /* Tasks on the critical line */
2627
-
2628
- .crit0,
2629
- .crit1,
2630
- .crit2,
2631
- .crit3 {
2632
- stroke: ${t.critBorderColor};
2633
- fill: ${t.critBkgColor};
2634
- stroke-width: 2;
2635
- }
2636
-
2637
- .activeCrit0,
2638
- .activeCrit1,
2639
- .activeCrit2,
2640
- .activeCrit3 {
2641
- stroke: ${t.critBorderColor};
2642
- fill: ${t.activeTaskBkgColor};
2643
- stroke-width: 2;
2644
- }
2645
-
2646
- .doneCrit0,
2647
- .doneCrit1,
2648
- .doneCrit2,
2649
- .doneCrit3 {
2650
- stroke: ${t.critBorderColor};
2651
- fill: ${t.doneTaskBkgColor};
2652
- stroke-width: 2;
2653
- cursor: pointer;
2654
- shape-rendering: crispEdges;
2655
- }
2656
-
2657
- .milestone {
2658
- transform: rotate(45deg) scale(0.8,0.8);
2659
- }
2660
-
2661
- .milestoneText {
2662
- font-style: italic;
2663
- }
2664
- .doneCritText0,
2665
- .doneCritText1,
2666
- .doneCritText2,
2667
- .doneCritText3 {
2668
- fill: ${t.taskTextDarkColor} !important;
2669
- }
2670
-
2671
- .vert {
2672
- stroke: ${t.vertLineColor};
2673
- }
2674
-
2675
- .vertText {
2676
- font-size: 15px;
2677
- text-anchor: middle;
2678
- fill: ${t.vertLineColor} !important;
2679
- }
2680
-
2681
- .activeCritText0,
2682
- .activeCritText1,
2683
- .activeCritText2,
2684
- .activeCritText3 {
2685
- fill: ${t.taskTextDarkColor} !important;
2686
- }
2687
-
2688
- .titleText {
2689
- text-anchor: middle;
2690
- font-size: 18px;
2691
- fill: ${t.titleColor || t.textColor};
2692
- font-family: ${t.fontFamily};
2693
- }
2694
- `, "getStyles"), Ms = Ds, Es = {
2695
- parser: Hi,
2696
- db: vs,
2697
- renderer: ws,
2698
- styles: Ms
2699
- };
2700
- export {
2701
- Es as diagram
2702
- };