@omg-dev/app 0.1.308

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