@marimo-team/islands 0.23.17-dev53 → 0.23.17-dev55

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 (558) hide show
  1. package/dist/{ConnectedDataExplorerComponent-BBZRR1-C.js → ConnectedDataExplorerComponent-BUC1MrsF.js} +24 -24
  2. package/dist/{ErrorBoundary-CptUP1_t.js → ErrorBoundary-BniTEhHn.js} +7 -7
  3. package/dist/{ImageComparisonComponent-fdY0LUuf.js → ImageComparisonComponent-B7b8DcJI.js} +4 -4
  4. package/dist/{Plot-YQOuVIei.js → Plot-eTseCFf_.js} +4 -4
  5. package/dist/_initCloneObject-DNUst5Cg.js +91 -0
  6. package/dist/abnfDiagram-N423BO3Z-DA4j92-C.js +112 -0
  7. package/dist/{any-language-editor-BnIS9Mvg.js → any-language-editor-LHl8ZmVN.js} +26 -26
  8. package/dist/apl-Cwo7GIH7.js +4 -0
  9. package/dist/{arc-CTIpFoOn.js → arc-9nABupDE.js} +2 -2
  10. package/dist/architecture-TIHT7OUA-DxLlkuAK.js +5 -0
  11. package/dist/{architectureDiagram-VXUJARFQ-DXwkyAaM.js → architectureDiagram-T3A2C74G-BBlBK1Oh.js} +327 -214
  12. package/dist/{arrays-sEtDRoG4.js → arrays-C56grfjL.js} +1 -1
  13. package/dist/asciiarmor-jrfEZ3j_.js +4 -0
  14. package/dist/asn1-BNEiJ4nQ.js +4 -0
  15. package/dist/blockDiagram-VBNYF7ZC-Datz1WNn.js +3284 -0
  16. package/dist/brainfuck-BCunvTbd.js +4 -0
  17. package/dist/{button-8aS1QcHr.js → button-Dr2uAwhT.js} +5 -5
  18. package/dist/{c4Diagram-YG6GDRKO-B6dZC_oU.js → c4Diagram-5PPSVZJV-DTIsibpE.js} +165 -162
  19. package/dist/{capabilities-D23lgbH_.js → capabilities-BilXeZ7p.js} +2 -2
  20. package/dist/{channel-BN070S0F.js → channel-CuV_jmG4.js} +1 -1
  21. package/dist/{chat-ui-DH9M4L-6.js → chat-ui-o-tATfmW.js} +32 -33
  22. package/dist/{check-D-BaEjEh.js → check-58HHfHKy.js} +1 -1
  23. package/dist/chunk-2GRJ4B5K-DRayWnnu.js +68 -0
  24. package/dist/{chunk-QZHKN3VN-Dym5BS7y.js → chunk-2Q5K7J3B-BSLyFOHa.js} +1 -1
  25. package/dist/chunk-3NCLNEKW-BPlp8K7N.js +11 -0
  26. package/dist/chunk-4I5QYGJK-CYJC3pkC.js +260 -0
  27. package/dist/chunk-5FCAYU7R-C3cMIeyz.js +24 -0
  28. package/dist/{chunk-5FQGJX7Z-B9WoXK1R.js → chunk-5FQGJX7Z-BRZ_XYUw.js} +6 -6
  29. package/dist/chunk-5HE753X5-D2jFCVXb.js +34 -0
  30. package/dist/chunk-5JV3BV7I-B7tzprBU.js +50 -0
  31. package/dist/{chunk-DI55MBZ5-D4Y8yV8B.js → chunk-5RXB4S5H-DcCPfb0q.js} +373 -327
  32. package/dist/chunk-5TONJI2A-LRqbgPte.js +59 -0
  33. package/dist/{chunk-FMBD7UC4-quJmebXa.js → chunk-5VM5RSS4-ChXEBudA.js} +1 -1
  34. package/dist/chunk-6Q2QTUOP-zcnb3OaV.js +503 -0
  35. package/dist/{chunk-HN2XXSSU-Bv0QkeMr.js → chunk-7BUUIJ7U-CkIbJNZo.js} +32 -25
  36. package/dist/chunk-7Z6QIM7H-1j-x7ddW.js +606 -0
  37. package/dist/{chunk-FRFDVMJY-BHBqN-vD.js → chunk-BIQX33UG-B-BYk6sM.js} +3 -3
  38. package/dist/chunk-Bfp04NdC.js +25 -0
  39. package/dist/chunk-CQNSW5MT-DBXDKSOU.js +34 -0
  40. package/dist/{chunk-4F5CHEZ2-VlodlEGo.js → chunk-CYSBUYHQ-Cv-vKQV-.js} +1 -1
  41. package/dist/{chunk-SJTYNZTY-DnXoKWpW.js → chunk-EMLP6XTP-DCtMkXLF.js} +1 -1
  42. package/dist/{chunk-B4BG7PRW-B_z2FEHm.js → chunk-GF5L2VYU-esTxzELH.js} +878 -636
  43. package/dist/chunk-I66GZJ75-9xAsFrdW.js +3744 -0
  44. package/dist/chunk-J7OUQ5F2-CbNBTlFM.js +81 -0
  45. package/dist/chunk-JG7HCLWE-CZIm6axg.js +59 -0
  46. package/dist/{flowDiagram-NV44I4VS-BRhSg-ro.js → chunk-JQJVKLGR-ZALkKVji.js} +1019 -1001
  47. package/dist/{chunk-4BX2VUAB-iU5lQTDI.js → chunk-JWPE2WC7-C_Daz-Oc.js} +1 -1
  48. package/dist/{chunk-QN33PNHL-DPBNNzpR.js → chunk-KBJHAD2P-B7m9DztL.js} +3 -2
  49. package/dist/chunk-KEIR6QF5-aP6TmWQ-.js +21095 -0
  50. package/dist/{chunk-UMXZTB3W-D1uHz8MN.js → chunk-MOZMSUNE-BQi-ggQx.js} +7 -4
  51. package/dist/{chunk-S3R3BYOJ-BdgLc8AM.js → chunk-NSK5VX7P-BmmoJBbx.js} +320 -29
  52. package/dist/chunk-OSBZ3O6U-BcrmpSY_.js +22 -0
  53. package/dist/{chunk-TQ3KTPDO-CsDx6v37.js → chunk-QBLGF6JB-BACuPUWb.js} +3 -3
  54. package/dist/chunk-QR6OTTB3-C4L1dLRd.js +3762 -0
  55. package/dist/{chunk-B2363JML-zL3VngtH.js → chunk-R7FJI6CG-BYAXJpIb.js} +3 -3
  56. package/dist/chunk-RYQCIY6F-poA0Ugpr.js +243 -0
  57. package/dist/chunk-U6XO7XAA-I8tCjTeT.js +60 -0
  58. package/dist/chunk-UBXNYLIW-C8LueN5Q.js +34 -0
  59. package/dist/{chunk-ATLVNIR6-qFiszptQ.js → chunk-W5SLKNZC-DK-_KuKT.js} +2 -2
  60. package/dist/{chunk-JA3XYJ7Z-CY4CRbV5.js → chunk-WRU74C26-DLgw-V0j.js} +262 -451
  61. package/dist/chunk-XXDRQBXY-Dzcp3rUR.js +9 -0
  62. package/dist/chunk-Y2CYZVJY-DX3DSigL.js +13 -0
  63. package/dist/{chunk-PL6DKKU2-CAHKc95s.js → chunk-YOTPTUD7-C8qfgaz5.js} +5 -5
  64. package/dist/{chunk-MI3HLSF2-HGWI-8Pg.js → chunk-ZIRB5QZD-_JX1DzEJ.js} +12 -8
  65. package/dist/classDiagram-JCYQIIEL-D8A6ZyXv.js +32 -0
  66. package/dist/classDiagram-v2-OCEON4UE-DIdYl-t3.js +32 -0
  67. package/dist/{click-outside-container-BSIeYt4y.js → click-outside-container-BZNsAj09.js} +2 -2
  68. package/dist/{clike-7lgyEYRk.js → clike-CWndBX_M.js} +1 -1
  69. package/dist/clojure-2X0Rfij9.js +4 -0
  70. package/dist/cmake-DEwzCy9U.js +4 -0
  71. package/dist/cobol-Ck4eCoAB.js +4 -0
  72. package/dist/{code-block-37QAKDTI-MSxEjskJ.js → code-block-37QAKDTI-B4pWe5MI.js} +4 -4
  73. package/dist/coffeescript-bB1IDwhg.js +4 -0
  74. package/dist/{common-CqUKKV6M.js → common-D2ngWI-H.js} +36 -36
  75. package/dist/commonlisp-BDYrVBNC.js +4 -0
  76. package/dist/{compiler-runtime-CEbnTgxf.js → compiler-runtime-DsR6imPN.js} +2 -2
  77. package/dist/{copy-BkA3t7rJ.js → copy-C7ZKMKox.js} +5 -5
  78. package/dist/{cose-bilkent-S5V4N54A-BYj0aL7z.js → cose-bilkent-JH36ORCC-D6iQzSi6.js} +6 -5
  79. package/dist/crystal-BSoiVUiH.js +4 -0
  80. package/dist/css-w1h9i21f.js +4 -0
  81. package/dist/cynefin-VYW2F7L2-DnZOHyNF.js +5 -0
  82. package/dist/cynefinDiagram-MW4NZA55-B1GNPS2u.js +367 -0
  83. package/dist/cypher-B4xzuKGP.js +4 -0
  84. package/dist/{cytoscape.esm-Dr8XzXWK.js → cytoscape.esm-BPa26Dup.js} +393 -334
  85. package/dist/d-D50Bz34p.js +4 -0
  86. package/dist/{dagre-By_QsQgc.js → dagre-ThTNj8pe.js} +60 -45
  87. package/dist/dagre-VZM6K2ZE-DEs5dfXA.js +343 -0
  88. package/dist/{data-grid-overlay-editor-BWRG2b_o.js → data-grid-overlay-editor-Ci7TXVf5.js} +5 -5
  89. package/dist/{debounce-BOD3DbfP.js → debounce-D784bpms.js} +2 -2
  90. package/dist/diagram-7IWD3JNH-Bdk1_wJO.js +321 -0
  91. package/dist/diagram-B4RE2ZJO-Be9eYLJ0.js +464 -0
  92. package/dist/{diagram-S2PKOQOG-CGh4OMEV.js → diagram-LBJQPF4R-BNSnzxFw.js} +26 -18
  93. package/dist/{diagram-PSM6KHXK-D3GsWNcQ.js → diagram-Q27KOJAE-NPRzyGtd.js} +68 -63
  94. package/dist/diagram-UB23O5K3-Dogz4itg.js +236 -0
  95. package/dist/diff-BMdzfXq-.js +4 -0
  96. package/dist/{dist-DQj6A7SE.js → dist-72nb8Uag.js} +3 -3
  97. package/dist/{dist-CV79CsQ0.js → dist-9PC5KxMl.js} +2 -2
  98. package/dist/{dist-BNeJ8P-4.js → dist-Awj73yUw.js} +3 -3
  99. package/dist/{dist-v-kAJfMq.js → dist-B0Ctcrt9.js} +1 -1
  100. package/dist/{dist-DjQRRttD.js → dist-B1Donbpk.js} +2 -2
  101. package/dist/dist-BC6wzWNb.js +5 -0
  102. package/dist/dist-BMd_RcOy.js +5 -0
  103. package/dist/dist-BZEWjN6r.js +5 -0
  104. package/dist/{dist-B-upo54Y.js → dist-B_K4AAkc.js} +1 -1
  105. package/dist/dist-BeuGjR3n.js +6 -0
  106. package/dist/dist-BfDQCUe6.js +5 -0
  107. package/dist/dist-BhNblTOV.js +8 -0
  108. package/dist/{dist-DGQmYLkh.js → dist-C0ifRfXi.js} +1 -1
  109. package/dist/{dist-BxR-g1ig.js → dist-C3mEki35.js} +2 -2
  110. package/dist/{dist-BT96P4oR.js → dist-CNfV2vDI.js} +2 -2
  111. package/dist/{dist-CBraAJlT.js → dist-COcQ5Vyc.js} +4 -4
  112. package/dist/dist-CRCm4Fuo.js +5 -0
  113. package/dist/{dist-Slyx4vXr.js → dist-CSZpLb9d.js} +1 -1
  114. package/dist/{dist-BvvQUFUK.js → dist-CWswQBvu.js} +1 -1
  115. package/dist/{dist-DFQ91Mx1.js → dist-CXYro_Nw.js} +4 -4
  116. package/dist/{dist-BrKNRKC8.js → dist-Ckfsc8C3.js} +2 -2
  117. package/dist/{dist-CWYsUX_O.js → dist-Cyq6Pxtv.js} +1 -1
  118. package/dist/{dist-Ba1WFESi.js → dist-D-BWPyoX.js} +5 -5
  119. package/dist/{dist-BDwn6WIk.js → dist-D-YB6j-O.js} +2 -2
  120. package/dist/{dist-dJeh9ef4.js → dist-D1vYHETp.js} +2 -2
  121. package/dist/{dist-3F1XDSYc.js → dist-D9-ePb6D.js} +2 -2
  122. package/dist/dist-DBPEbGkd.js +8 -0
  123. package/dist/{dist-DK0pFEmc.js → dist-DC409ROm.js} +1 -1
  124. package/dist/{dist-B1W12VzQ.js → dist-DJRUd9aM.js} +2 -2
  125. package/dist/{dist-Ddb0VFS3.js → dist-DLvxZEAK.js} +2 -2
  126. package/dist/dist-DSsl8IAI.js +5 -0
  127. package/dist/{dist-B6au1PTB.js → dist-D_ulymry.js} +2 -2
  128. package/dist/{dist-DgkJegw4.js → dist-DgY27bJ4.js} +3 -3
  129. package/dist/{dist-CDBV8n0I.js → dist-DiwVZiK7.js} +1 -1
  130. package/dist/{dist-CdKRSqjo.js → dist-DnYHhW6c.js} +2 -2
  131. package/dist/dist-Dx0kkrek.js +5 -0
  132. package/dist/{dist-DsoKosxi.js → dist-HaLHv0k5.js} +2 -3
  133. package/dist/dist-NKA1TU8a.js +6 -0
  134. package/dist/dist-ZFcsIdHj.js +8 -0
  135. package/dist/{dist-D8SX5Qdg.js → dist-iZ8-rtUy.js} +2 -2
  136. package/dist/{dist-DarwE0ZO.js → dist-j30bBjjN.js} +6 -6
  137. package/dist/{dist-SXNmlE8A.js → dist-kOCFEa1U.js} +3 -3
  138. package/dist/{dist-BUzxp0Xf.js → dist-sxRUVPmt.js} +1 -1
  139. package/dist/dist-uA2RbGmY.js +5 -0
  140. package/dist/{dist-PQDZaPEo.js → dist-xVU82Nq7.js} +2 -2
  141. package/dist/dist-zSCo-xCB.js +8 -0
  142. package/dist/{dockerfile-B82Pkz_V.js → dockerfile-DImRFUlA.js} +1 -1
  143. package/dist/dtd-B9dCT0pu.js +4 -0
  144. package/dist/dylan-DLghDyuR.js +4 -0
  145. package/dist/ebnfDiagram-BXEA7PRR-CqRWkG7L.js +129 -0
  146. package/dist/ecl-w0qdPHDB.js +4 -0
  147. package/dist/eiffel-C5AWRCNP.js +4 -0
  148. package/dist/elm-CT8FZrOm.js +4 -0
  149. package/dist/{erDiagram-Q2GNP2WA-BcKAHFqF.js → erDiagram-JOGREHBK-BZMJX-Au.js} +568 -436
  150. package/dist/erlang-DPD-9M5g.js +4 -0
  151. package/dist/{error-banner-dmkbm21G.js → error-banner-BwCLtmkH.js} +6 -6
  152. package/dist/{esm-CuQHjs36.js → esm-BJ4n0NUT.js} +1 -1
  153. package/dist/{esm-DEQU-LUO.js → esm-Dusmf6uu.js} +105 -105
  154. package/dist/{esm-D8vjxCyn.js → esm-QLUgkqzZ.js} +6 -6
  155. package/dist/eventmodeling-45OFAUF4-D8Kbnsr6.js +5 -0
  156. package/dist/{extends-DDOVg_b8.js → extends-iFBneQO_.js} +9 -9
  157. package/dist/{factor-Bq2mGIHt.js → factor-BonZgUGg.js} +1 -1
  158. package/dist/factor-rFfeJu3r.js +4 -0
  159. package/dist/flowDiagram-UKHOOZJN-DqIE8_b3.js +21 -0
  160. package/dist/{formats-xc-Msa0v.js → formats-HSfYlcA8.js} +7 -7
  161. package/dist/forth-C-3AyQx4.js +4 -0
  162. package/dist/fortran-BSN9TeT7.js +4 -0
  163. package/dist/ganttDiagram-PKOTCBZU-Bc9puoXb.js +2207 -0
  164. package/dist/gas-DwmuvQpB.js +4 -0
  165. package/dist/gherkin-gmCjL-Sn.js +4 -0
  166. package/dist/{gitGraph-G5XIXVHT-BjTx0kww.js → gitGraph-TEB2WS4Q-DVzLmQHc.js} +2 -3
  167. package/dist/gitGraphDiagram-DS77QQ5N-CqKr-Dfg.js +766 -0
  168. package/dist/{glide-data-editor-CyTNN635.js → glide-data-editor-BI2i_IEE.js} +18 -18
  169. package/dist/graphlib-DMVIRZap.js +614 -0
  170. package/dist/groovy-DCjvesOy.js +4 -0
  171. package/dist/hasIn-synBnXn4.js +119 -0
  172. package/dist/haskell-C1p0D9L8.js +4 -0
  173. package/dist/haxe-q-fgv0zr.js +5 -0
  174. package/dist/{html-to-image-DrEMf75G.js → html-to-image-BOiFHx3u.js} +7464 -2995
  175. package/dist/idl-Bmg4bsnK.js +4 -0
  176. package/dist/{info-VBDWY6EO-CA67FznA.js → info-DKCQHKI2-BxOTqQHM.js} +2 -3
  177. package/dist/infoDiagram-6WML65LV-B869X2KY.js +37 -0
  178. package/dist/{input-B4ddy8Jy.js → input-BRE2a7Ay.js} +13 -13
  179. package/dist/{_baseFor-4jw-lnCC.js → isArrayLikeObject-CBUaLibE.js} +96 -29
  180. package/dist/{isEmpty-CJJMn-QP.js → isEmpty-CgME6WRV.js} +15 -15
  181. package/dist/{isSymbol-CoUCgMCM.js → isSymbol-Ch3GYg4S.js} +1 -1
  182. package/dist/ishikawaDiagram-WSZJBQD7-BrOMFBYy.js +731 -0
  183. package/dist/javascript-BY5QZ-eN.js +4 -0
  184. package/dist/{journeyDiagram-XKPGCS4Q-DEal0aT1.js → journeyDiagram-NVQOT4AX-CTwHlsTm.js} +124 -123
  185. package/dist/{jsx-runtime-DebpN0FN.js → jsx-runtime-Dp_oQwaf.js} +1 -1
  186. package/dist/julia-DbR1YalK.js +4 -0
  187. package/dist/{kanban-definition-3W4ZIXB7-Dl90wENN.js → kanban-definition-27J2QSJJ-CKowzO9_.js} +51 -45
  188. package/dist/{katex-C4t-BmrK.js → katex-Ci33kJVq.js} +1 -1
  189. package/dist/{katex-Bld7b-fk.js → katex-Dp22h6yO.js} +2871 -3002
  190. package/dist/{label-CzHncDvS.js → label-CMh2d8pJ.js} +6 -6
  191. package/dist/{line-C43FIPBd.js → line-Bc27KE1D.js} +3 -3
  192. package/dist/{linear-BOGUO8Cd.js → linear-6pDlrp1I.js} +4 -4
  193. package/dist/livescript-BDUooIeL.js +4 -0
  194. package/dist/{loader-C7SfUdOD.js → loader-DTnbNSVZ.js} +3 -3
  195. package/dist/lua-CswAWSkH.js +4 -0
  196. package/dist/main.js +70 -71
  197. package/dist/map-BQ_Xp80D.js +137 -0
  198. package/dist/mathematica-Bw7v11B5.js +4 -0
  199. package/dist/mbox-j35IMz1j.js +4 -0
  200. package/dist/merge-CDbSrd9f.js +69 -0
  201. package/dist/mermaid-4DMBBIKO-BZSpTmcx.js +6 -0
  202. package/dist/mermaid-DpAz2sTy.js +1265 -0
  203. package/dist/mermaid-parser.core-BQzz3_BI.js +87 -0
  204. package/dist/{mhchem-EGhUZR1V.js → mhchem-BDHjke3h.js} +1 -1
  205. package/dist/{micromark-factory-space-CwHmg6iz.js → micromark-factory-space-Cr4NxAt3.js} +1 -1
  206. package/dist/{mindmap-definition-VGOIOE7T-CCDupjWW.js → mindmap-definition-FAOFIHXS-CTsi-HFj.js} +126 -80
  207. package/dist/mirc-Ba_RHVXO.js +4 -0
  208. package/dist/mllike-DbTP2dPp.js +6 -0
  209. package/dist/modelica-lpT3V1X6.js +4 -0
  210. package/dist/mscgen-BN4ZSJMx.js +6 -0
  211. package/dist/mumps-uI5g1A0g.js +4 -0
  212. package/dist/{node-sql-parser-v1Vi-Fft.js → node-sql-parser-BaLGWQe1.js} +1 -1
  213. package/dist/{now-Ch98bJO_.js → now-sFWt-GLC.js} +2 -2
  214. package/dist/{nsis-i9_sgigf.js → nsis-C68fFq_o.js} +1 -1
  215. package/dist/nsis-Df56GiRg.js +4 -0
  216. package/dist/ntriples-B3LWuG7W.js +4 -0
  217. package/dist/{number-overlay-editor-Ck_mc_gT.js → number-overlay-editor-CeBHRJvI.js} +3 -3
  218. package/dist/octave-CovfQgOx.js +4 -0
  219. package/dist/{once-B60G2fuJ.js → once-Boutk_9X.js} +1 -1
  220. package/dist/{ordinal-Bkv2-veX.js → ordinal-Bdajf2BE.js} +1 -1
  221. package/dist/oz-DQQAvVFb.js +4 -0
  222. package/dist/{packet-DYOGHKS2-Bkgofxf3.js → packet-7NZHBO7P-BG8whXXH.js} +2 -3
  223. package/dist/pascal-xz94P9sf.js +4 -0
  224. package/dist/pegDiagram-VL7TDLO6-CNpT8Sqz.js +124 -0
  225. package/dist/perl-aEWKE-1n.js +4 -0
  226. package/dist/pick-CaEWivSF.js +47 -0
  227. package/dist/{pie-VRWISCQL-B1AMhN_7.js → pie-RZYD4A2V-Cc_QhFbT.js} +2 -3
  228. package/dist/pieDiagram-7S7Q4E2Y-Ct8jRpe_.js +219 -0
  229. package/dist/pig-DB6DOZl7.js +4 -0
  230. package/dist/powershell-DM5saUx1.js +4 -0
  231. package/dist/{precisionRound-Bq50n-bG.js → precisionRound-BOoJTbDj.js} +1 -1
  232. package/dist/{process-output-B9IHQuus.js → process-output-HrsM52f8.js} +7 -7
  233. package/dist/properties-BGjYQuGo.js +4 -0
  234. package/dist/protobuf-BPpEyPud.js +4 -0
  235. package/dist/{pug-BhE2JRSg.js → pug-DFPPZ3LA.js} +1 -1
  236. package/dist/pug-uJzB88ft.js +4 -0
  237. package/dist/puppet-oIm2d_Lg.js +4 -0
  238. package/dist/{purify.es-EnR5yhgI.js → purify.es-DR5PNXwx.js} +160 -155
  239. package/dist/python-WE57eUzD.js +4 -0
  240. package/dist/q-CR8xPodo.js +4 -0
  241. package/dist/{quadrantDiagram-AYHSOK5B-DD4QBdSv.js → quadrantDiagram-CIZ2JOQS-B5n_xFcF.js} +429 -401
  242. package/dist/r-CJdmQZNj.js +4 -0
  243. package/dist/{radar-ZZBFDIW7-C2b7A32s.js → radar-I7S5WNFK-OhUkecXA.js} +2 -3
  244. package/dist/railroad-3IZDKUUU-1CmOpo1B.js +5 -0
  245. package/dist/railroad-abnf-AHOZXSZD-DmH4lsDS.js +5 -0
  246. package/dist/railroad-ebnf-EBAXGLYW-CzK0md4e.js +5 -0
  247. package/dist/railroad-peg-LSFZ7HO6-DOklooKz.js +5 -0
  248. package/dist/railroadDiagram-AXF67PYL-BbUWbtf8.js +100 -0
  249. package/dist/{react-DA-nE2FX.js → react-DhGsCS90.js} +1 -1
  250. package/dist/{react-dom-BTJzcVJ9.js → react-dom-CmENFV8Q.js} +2 -2
  251. package/dist/{react-vega-Cg17A6rO.js → react-vega-zyfTF9SY.js} +26 -26
  252. package/dist/{requirementDiagram-UZGBJVZJ-KbVt8SPH.js → requirementDiagram-LRYGKXZP-CpoDmKSf.js} +137 -105
  253. package/dist/{reveal-component-DMUYNXN6.js → reveal-component-BnID65Ih.js} +27 -28
  254. package/dist/rough.esm-lGyFQ0B-.js +1363 -0
  255. package/dist/rpm-Cm5K4RH9.js +5 -0
  256. package/dist/ruby-ArsuTozQ.js +4 -0
  257. package/dist/sankeyDiagram-W5VNT64P-D82rYiAG.js +942 -0
  258. package/dist/sas-DShligrE.js +4 -0
  259. package/dist/scheme-kDLirQL7.js +4 -0
  260. package/dist/sequenceDiagram-SI44F4Z6-DgVKU1s5.js +4281 -0
  261. package/dist/shell-CVQuWP_N.js +4 -0
  262. package/dist/sieve-BW-ePwnq.js +4 -0
  263. package/dist/sizeCapture-X5ZJPWSS-BQgxHTji.js +48 -0
  264. package/dist/smalltalk-DI4aAXxY.js +4 -0
  265. package/dist/sparql-B2sp0oiz.js +4 -0
  266. package/dist/{spec-uMKNvMRZ.js → spec-BL1GSUUF.js} +4 -4
  267. package/dist/{src-DV3ha_nA.js → src-BwVZVGyf.js} +13 -22
  268. package/dist/{stateDiagram-FKZM4ZOC-ByOvQf2n.js → stateDiagram-OKZ733FA-Cc9BchXz.js} +61 -58
  269. package/dist/stateDiagram-v2-UEYNNEHI-Dd4Tuw6F.js +32 -0
  270. package/dist/{step-BqHnkgWE.js → step-BqVgkWtk.js} +1 -1
  271. package/dist/stex-D2rme5UG.js +4 -0
  272. package/dist/{strings-BUDhKc0s.js → strings-DMLVGXRo.js} +10 -10
  273. package/dist/stylus-xxO-85eO.js +4 -0
  274. package/dist/swift-Ctg533nZ.js +4 -0
  275. package/dist/swimlanes-SLNWSIFB-BHvhO5uv.js +5564 -0
  276. package/dist/swimlanesDiagram-ULZ7WXOC-aI_zgQ8O.js +33 -0
  277. package/dist/{swiper-component-dl1H9WIW.js → swiper-component-Cx0cRWLk.js} +6 -6
  278. package/dist/tcl-phm9c5Nd.js +4 -0
  279. package/dist/textile-CphjAg90.js +4 -0
  280. package/dist/{time-CQnohwNM.js → time-DAJu9fnj.js} +4 -4
  281. package/dist/timeline-definition-Z64GVDOM-BAHuDYyA.js +1107 -0
  282. package/dist/{timer-BpI_FKSA.js → timer-aIIabkbI.js} +1 -1
  283. package/dist/{toDate-BiyuFdnT.js → toDate-BGM7kFtQ.js} +6 -6
  284. package/dist/toml-BUuMK772.js +4 -0
  285. package/dist/{tooltip-CkCWlUOf.js → tooltip-BtUxZT5h.js} +7 -7
  286. package/dist/treeView-QDETBFTQ-DsLN_c8p.js +5 -0
  287. package/dist/{treemap-GDKQZRPO-SDux0AV8.js → treemap-6X3UGDF4-K1bi3LJm.js} +2 -3
  288. package/dist/troff-lCtc05A3.js +4 -0
  289. package/dist/ttcn-CcykzBcW.js +4 -0
  290. package/dist/ttcn-cfg-C-XYdqpE.js +4 -0
  291. package/dist/turtle-CpfVZs8G.js +4 -0
  292. package/dist/{types-uENjXsiC.js → types-DT8UHI5w.js} +1 -1
  293. package/dist/{use-vega-container-remeasure-DGNrIQSk.js → use-vega-container-remeasure-B7OD7yUY.js} +3 -3
  294. package/dist/{useAsyncData-DqJLysjC.js → useAsyncData-CDcbh-Qv.js} +5 -5
  295. package/dist/{useDateFormatter-BeN3fHMH.js → useDateFormatter-B_vTzxpm.js} +4 -4
  296. package/dist/{useDeepCompareMemoize-CvlmHAmy.js → useDeepCompareMemoize-Bj6QvwiG.js} +3 -3
  297. package/dist/{useIframeCapabilities-pLC-ceDP.js → useIframeCapabilities-CxuXXwjj.js} +4 -4
  298. package/dist/{useLifecycle-D4N02q82.js → useLifecycle-Bw4wRj_O.js} +7 -7
  299. package/dist/{useTheme-Dur2p3iC.js → useTheme-BzEXeAR5.js} +6 -6
  300. package/dist/vb-VOIzXwm9.js +4 -0
  301. package/dist/vbscript-D0WfcnVk.js +4 -0
  302. package/dist/{vega-component-Cft458Sr.js → vega-component-CJug-VdR.js} +24 -24
  303. package/dist/{vega-embed-container-S9gRu4TZ.js → vega-embed-container-BRjjqRGz.js} +9 -9
  304. package/dist/{vega-loader.browser-CmLRI3wk.js → vega-loader.browser-CGb-2Kwi.js} +4 -4
  305. package/dist/velocity-CCrc5n-0.js +4 -0
  306. package/dist/vennDiagram-T6HMQDX7-CTyzMewS.js +1913 -0
  307. package/dist/verilog-BLFhaDBH.js +4 -0
  308. package/dist/vhdl-DjuqPE9b.js +4 -0
  309. package/dist/wardley-OPB4EBWU-CP99MvU1.js +5 -0
  310. package/dist/wardleyDiagram-T6FBY63Y-vcno_rbk.js +669 -0
  311. package/dist/webidl-Cc7RrfeK.js +4 -0
  312. package/dist/xquery-BiCRLnNG.js +4 -0
  313. package/dist/{xychartDiagram-PRI3JC2R-D9DgEtKn.js → xychartDiagram-ELKLHX3M-DyFDERhM.js} +417 -353
  314. package/dist/yacas-CWcjav-O.js +4 -0
  315. package/dist/z80-DpYS2lE7.js +4 -0
  316. package/dist/{zod-yTHHzJiv.js → zod-BFY2SnzC.js} +6 -6
  317. package/package.json +1 -1
  318. package/dist/_baseUniq-B_2Hw7zG.js +0 -380
  319. package/dist/apl-e1B5LPEL.js +0 -4
  320. package/dist/architecture-7HQA4BMR-DHUrQjL4.js +0 -6
  321. package/dist/asciiarmor-B-gwgesP.js +0 -4
  322. package/dist/asn1-DF2ckRB4.js +0 -4
  323. package/dist/blockDiagram-VD42YOAC-CIOjvxeD.js +0 -3131
  324. package/dist/brainfuck-4G-7_gq_.js +0 -4
  325. package/dist/chunk-55IACEB6-7h71GwyW.js +0 -8
  326. package/dist/chunk-ABZYJK2D-BxBDji1u.js +0 -2438
  327. package/dist/chunk-BNovOVIE.js +0 -28
  328. package/dist/chunk-CVBHYZKI-CwazXVlJ.js +0 -13
  329. package/dist/chunk-DR5Q36YT-5Yp2GWwR.js +0 -137
  330. package/dist/chunk-EXTU4WIE-BQPBhApE.js +0 -10
  331. package/dist/chunk-JZLCHNYA-DWIR9m5O.js +0 -4901
  332. package/dist/chunk-N4CR4FBY-Bw2HcMNc.js +0 -65
  333. package/dist/chunk-QXUST7PY-DtC2t9Mk.js +0 -498
  334. package/dist/chunk-TCCFYFTB-DPWJa9zL.js +0 -13948
  335. package/dist/chunk-TZMSLE5B-BzSHcq-K.js +0 -63
  336. package/dist/classDiagram-2ON5EDUG-BiQPjMNY.js +0 -30
  337. package/dist/classDiagram-v2-WZHVMYZB-YHdR8fqM.js +0 -30
  338. package/dist/clojure-CUybM11R.js +0 -4
  339. package/dist/clone-Q4Fqwn6q.js +0 -9
  340. package/dist/cmake-BPjGcuDL.js +0 -4
  341. package/dist/cobol-BETk_nb6.js +0 -4
  342. package/dist/coffeescript-CManZxXL.js +0 -4
  343. package/dist/commonlisp-DWkn7GW8.js +0 -4
  344. package/dist/crystal-CCbg5EUH.js +0 -4
  345. package/dist/css-By8eo-XS.js +0 -4
  346. package/dist/cypher-DwfHg3nP.js +0 -4
  347. package/dist/d-Brs1wNbw.js +0 -4
  348. package/dist/dagre-6UL2VRFP-DpYjBqQs.js +0 -296
  349. package/dist/diagram-QEK2KX5R-DVlUOgs1.js +0 -228
  350. package/dist/diff-DJIRmJ1g.js +0 -4
  351. package/dist/dist-BDzVdDo2.js +0 -8
  352. package/dist/dist-BH2Tq1S1.js +0 -5
  353. package/dist/dist-BIhBrzqg.js +0 -5
  354. package/dist/dist-BLCsvXTG.js +0 -6
  355. package/dist/dist-BNVtuFdd.js +0 -5
  356. package/dist/dist-CEJ6Lowi.js +0 -5
  357. package/dist/dist-CYoa69kj.js +0 -5
  358. package/dist/dist-CnZyXFq3.js +0 -8
  359. package/dist/dist-D-4HaJKc.js +0 -8
  360. package/dist/dist-DIGyvbg3.js +0 -5
  361. package/dist/dist-DIhaoCL4.js +0 -5
  362. package/dist/dist-DgQleHmb.js +0 -8
  363. package/dist/dist-JaoLzZmt.js +0 -5
  364. package/dist/dist-pEX0t8ZV.js +0 -6
  365. package/dist/dtd-Dyiazv4N.js +0 -4
  366. package/dist/dylan-D8Fcw7NA.js +0 -4
  367. package/dist/ecl-CjKp8Vii.js +0 -4
  368. package/dist/eiffel-K9ViOX5r.js +0 -4
  369. package/dist/elm-B5NVtRco.js +0 -4
  370. package/dist/erlang-BnLzgk7R.js +0 -4
  371. package/dist/factor-C7f9Jz5R.js +0 -4
  372. package/dist/flatten-Bbw7g6-K.js +0 -8
  373. package/dist/forth-rGM8jLao.js +0 -4
  374. package/dist/fortran-B3acSe0i.js +0 -4
  375. package/dist/ganttDiagram-JELNMOA3-D9ywbC5g.js +0 -2170
  376. package/dist/gas-Bb1Vmv_N.js +0 -4
  377. package/dist/gherkin-C9Lyidgd.js +0 -4
  378. package/dist/gitGraphDiagram-V2S2FVAM-BOlkMSqK.js +0 -652
  379. package/dist/graphlib-Ns7y5crs.js +0 -359
  380. package/dist/groovy-DQk6XcGH.js +0 -4
  381. package/dist/hasIn-Deg7jl_j.js +0 -108
  382. package/dist/haskell-mV0Vw9gv.js +0 -4
  383. package/dist/haxe-DqxN89zH.js +0 -5
  384. package/dist/idl-ya8W561J.js +0 -4
  385. package/dist/infoDiagram-HS3SLOUP-D3TyKnL_.js +0 -30
  386. package/dist/javascript-CgqgptVu.js +0 -4
  387. package/dist/julia-CFQ-HusI.js +0 -4
  388. package/dist/livescript-D__3TmDo.js +0 -4
  389. package/dist/lua-Bytcgj_W.js +0 -4
  390. package/dist/main-B1Jo_8pC.js +0 -4321
  391. package/dist/mathematica-DJhvVKvl.js +0 -4
  392. package/dist/mbox-IGHPCjfR.js +0 -4
  393. package/dist/memoize-BOtf2yFf.js +0 -17
  394. package/dist/merge-Be1CqGnU.js +0 -222
  395. package/dist/mermaid-4DMBBIKO-FXbOziy9.js +0 -6
  396. package/dist/mermaid-CpL8y5pw.js +0 -1100
  397. package/dist/mermaid-parser.core-DoivvxPd.js +0 -54
  398. package/dist/min-Dtgc8txR.js +0 -38
  399. package/dist/mirc-tcwvVugm.js +0 -4
  400. package/dist/mllike-Dx91i62r.js +0 -6
  401. package/dist/modelica-_SRt-yU5.js +0 -4
  402. package/dist/mscgen-GZrGS9gt.js +0 -6
  403. package/dist/mumps-Cv3ygyod.js +0 -4
  404. package/dist/nsis-BU7GeGbI.js +0 -4
  405. package/dist/ntriples-CL-FCYXb.js +0 -4
  406. package/dist/octave-Dc6_3DIu.js +0 -4
  407. package/dist/oz-DpUAJCXf.js +0 -4
  408. package/dist/pascal-B17mncXs.js +0 -4
  409. package/dist/perl-BTpK97q9.js +0 -4
  410. package/dist/pick-D1Qo8s2C.js +0 -43
  411. package/dist/pieDiagram-ADFJNKIX-JvXG_6hk.js +0 -170
  412. package/dist/pig-CFb638Ap.js +0 -4
  413. package/dist/powershell-Cxo-_2A5.js +0 -4
  414. package/dist/properties-BPgT1xTB.js +0 -4
  415. package/dist/protobuf-BgHBaIIK.js +0 -4
  416. package/dist/pug-25-oS0SG.js +0 -4
  417. package/dist/puppet-DarIr20S.js +0 -4
  418. package/dist/python-BqmOsBsi.js +0 -4
  419. package/dist/q-D3QJCTup.js +0 -4
  420. package/dist/r-Cz_yBX4z.js +0 -4
  421. package/dist/rpm-DGOtYwAI.js +0 -5
  422. package/dist/ruby-DBZu4rPc.js +0 -4
  423. package/dist/sankeyDiagram-TZEHDZUN-DgkF38jx.js +0 -892
  424. package/dist/sas-Dd1D9qTq.js +0 -4
  425. package/dist/scheme-BmDjvTHX.js +0 -4
  426. package/dist/sequenceDiagram-WL72ISMW-BDmx9n95.js +0 -3652
  427. package/dist/shell-BL8zFSaj.js +0 -4
  428. package/dist/sieve-BAx2WqUP.js +0 -4
  429. package/dist/smalltalk-CYRzF7VV.js +0 -4
  430. package/dist/sparql-YWaDRO4A.js +0 -4
  431. package/dist/stateDiagram-v2-4FDKWEC3-C3xqeavR.js +0 -29
  432. package/dist/stex-B5O-env2.js +0 -4
  433. package/dist/stylus-lYsyLFc1.js +0 -4
  434. package/dist/swift-ClQz9z1n.js +0 -4
  435. package/dist/tcl-B3jhsfqY.js +0 -4
  436. package/dist/textile-Cb1Dw7Aq.js +0 -4
  437. package/dist/timeline-definition-IT6M3QCI-CkD_trIn.js +0 -856
  438. package/dist/toml-nHZhetdO.js +0 -4
  439. package/dist/troff-DuJAGWKH.js +0 -4
  440. package/dist/ttcn-BxrcwP21.js +0 -4
  441. package/dist/ttcn-cfg-BAg_9dcc.js +0 -4
  442. package/dist/turtle-zCq949as.js +0 -4
  443. package/dist/vb-De5hElus.js +0 -4
  444. package/dist/vbscript-Cypcpv4F.js +0 -4
  445. package/dist/velocity-Di7l-yhe.js +0 -4
  446. package/dist/verilog-Bzi-S3g2.js +0 -4
  447. package/dist/vhdl-B0ZZITaW.js +0 -4
  448. package/dist/webidl-0sviiRcN.js +0 -4
  449. package/dist/xquery-B4qMVWaB.js +0 -4
  450. package/dist/yacas-Jt25Fuv8.js +0 -4
  451. package/dist/z80-CrcbYzmp.js +0 -4
  452. /package/dist/{apl-99A7dLQe.js → apl-CMUKiT2b.js} +0 -0
  453. /package/dist/{array-O78LT16Y.js → array-CEIRxyh3.js} +0 -0
  454. /package/dist/{asciiarmor-DLEhpFDx.js → asciiarmor-C_r6K6db.js} +0 -0
  455. /package/dist/{asn1-CMrcTsT4.js → asn1-DnlnCQTu.js} +0 -0
  456. /package/dist/{asterisk-CqykImq7.js → asterisk-DaVJJDnV.js} +0 -0
  457. /package/dist/{brainfuck-ChPt5yBe.js → brainfuck-CtQoQVkV.js} +0 -0
  458. /package/dist/{clike-CE0fXfM_.js → clike-CIAs0ABt.js} +0 -0
  459. /package/dist/{clojure-QkBEMU-g.js → clojure-C6tKQYjD.js} +0 -0
  460. /package/dist/{cmake-CU1jX7Mo.js → cmake-D-nfcg14.js} +0 -0
  461. /package/dist/{cobol-DMOKzzky.js → cobol-DYTC58p9.js} +0 -0
  462. /package/dist/{coffeescript-DjnjLyfk.js → coffeescript-DctDWA58.js} +0 -0
  463. /package/dist/{colors-DmiH1bIH.js → colors-DR_aHfmQ.js} +0 -0
  464. /package/dist/{common-keywords-D3nPJNQP.js → common-keywords-FBrXPTcz.js} +0 -0
  465. /package/dist/{commonlisp-CYd9iOSe.js → commonlisp-BmvTqU5y.js} +0 -0
  466. /package/dist/{crystal-Dy55yoYG.js → crystal-BPIK2UMa.js} +0 -0
  467. /package/dist/{css-CNU8w3HJ.js → css-CDo_Lwzn.js} +0 -0
  468. /package/dist/{cypher-q47DGzK7.js → cypher-KztbD63v.js} +0 -0
  469. /package/dist/{d-jEkaLvxX.js → d-HXBWOoe9.js} +0 -0
  470. /package/dist/{defaultLocale-BsfI21d_.js → defaultLocale-CMezyvMc.js} +0 -0
  471. /package/dist/{defaultLocale-DoeErsX2.js → defaultLocale-DMZFeDB8.js} +0 -0
  472. /package/dist/{diff-vb2-unFN.js → diff-B9rWZH0m.js} +0 -0
  473. /package/dist/{dist-Cds3J-EE.js → dist-BJ2IUa0l.js} +0 -0
  474. /package/dist/{dtd-C9kR-bXa.js → dtd-LtAMP5y8.js} +0 -0
  475. /package/dist/{duckdb-keywords-B6HYCMOT.js → duckdb-keywords-CvJhR_Yd.js} +0 -0
  476. /package/dist/{dylan-BLckrK-V.js → dylan-DXMK92pf.js} +0 -0
  477. /package/dist/{ebnf-Cnp3L9jg.js → ebnf-2D4Ctp3y.js} +0 -0
  478. /package/dist/{ecl-CEsf6XVg.js → ecl-Dqq8ser2.js} +0 -0
  479. /package/dist/{eiffel-2KGZNzx6.js → eiffel-ChExWBDx.js} +0 -0
  480. /package/dist/{elm-D2s3K5wF.js → elm-BMBz2xbZ.js} +0 -0
  481. /package/dist/{emotion-is-prop-valid.esm-DdVSF4FD.js → emotion-is-prop-valid.esm-_z-EwK5u.js} +0 -0
  482. /package/dist/{erlang-0PMFOndk.js → erlang-CGSDzg9P.js} +0 -0
  483. /package/dist/{fcl-D9nccAWI.js → fcl-Ccj8Z5Xd.js} +0 -0
  484. /package/dist/{forth-DG89iUsu.js → forth-vTkfR0aY.js} +0 -0
  485. /package/dist/{fortran-ytKsAVvu.js → fortran-CF4LAVFn.js} +0 -0
  486. /package/dist/{gas-Cg2Fm0N2.js → gas-mMFbQ2x4.js} +0 -0
  487. /package/dist/{gherkin-B87FEnZ-.js → gherkin-DLS1q0XM.js} +0 -0
  488. /package/dist/{groovy-Dcs08AWD.js → groovy-Zt6CNPxV.js} +0 -0
  489. /package/dist/{haskell-cwkOuhx6.js → haskell-kVOgzpVy.js} +0 -0
  490. /package/dist/{haxe-DWEo4q10.js → haxe-Bo21F6gc.js} +0 -0
  491. /package/dist/{http-B8jdG64J.js → http-_DVAYWoR.js} +0 -0
  492. /package/dist/{idl-WWQwDcRV.js → idl-B865GSM-.js} +0 -0
  493. /package/dist/{init-DNBbYZd_.js → init-TaqZJsBY.js} +0 -0
  494. /package/dist/{invariant-wRzNXIsJ.js → invariant-hOqqBz8A.js} +0 -0
  495. /package/dist/{javascript-BeR74dxD.js → javascript-CSLuHpxZ.js} +0 -0
  496. /package/dist/{julia-UlvCUYGL.js → julia-BCOLeQif.js} +0 -0
  497. /package/dist/{livescript-GPmFcmYV.js → livescript-DqUzLZFs.js} +0 -0
  498. /package/dist/{lua-DYoT_0zM.js → lua-D0ciLwkO.js} +0 -0
  499. /package/dist/{math-CBNc2Ib0.js → math-CTnb-N1W.js} +0 -0
  500. /package/dist/{mathematica-DSFIQlbG.js → mathematica-DujD1RDf.js} +0 -0
  501. /package/dist/{mbox-ej8lFMdL.js → mbox-8OkSQMDn.js} +0 -0
  502. /package/dist/{mirc-CAdIdvHQ.js → mirc-D47x8yRQ.js} +0 -0
  503. /package/dist/{mllike-CjTB1lHF.js → mllike-Dcfw-g6D.js} +0 -0
  504. /package/dist/{modelica-BB68FYMa.js → modelica-BHtr9gKR.js} +0 -0
  505. /package/dist/{mscgen-BkbzgGGI.js → mscgen-uZedQc_A.js} +0 -0
  506. /package/dist/{mumps-Cu-28E9F.js → mumps-Bc9QS1-K.js} +0 -0
  507. /package/dist/{nginx-C1ofKPst.js → nginx-DasThI7R.js} +0 -0
  508. /package/dist/{ntriples-D9cQiZxZ.js → ntriples-Clpn9Mrg.js} +0 -0
  509. /package/dist/{objects-De59twF-.js → objects-UzwQd5gx.js} +0 -0
  510. /package/dist/{octave-BvtAnPX0.js → octave-DA2esRWi.js} +0 -0
  511. /package/dist/{oz-COaVHk2E.js → oz-D8i-brWx.js} +0 -0
  512. /package/dist/{pascal-BFpqVD2x.js → pascal-Dt1a0CeN.js} +0 -0
  513. /package/dist/{path-DwWbhZFI.js → path-7gr7eZmp.js} +0 -0
  514. /package/dist/{perl-DaiORxHP.js → perl-CXy9EfRp.js} +0 -0
  515. /package/dist/{pig-DFzRhmsF.js → pig-DnXnrjQg.js} +0 -0
  516. /package/dist/{powershell-BG2LQNKN.js → powershell-BYE6u-Qk.js} +0 -0
  517. /package/dist/{properties-CqJJR5QY.js → properties-DlhyusaK.js} +0 -0
  518. /package/dist/{protobuf-WwDYV1yY.js → protobuf-DoMSrsPi.js} +0 -0
  519. /package/dist/{puppet-QNY3w_uN.js → puppet-DGi4idFA.js} +0 -0
  520. /package/dist/{python-4QrQ3Ugi.js → python-CYhALYh0.js} +0 -0
  521. /package/dist/{q-DhwXuxE2.js → q-Cs_qWJkU.js} +0 -0
  522. /package/dist/{r-Df-nkR25.js → r-DWJSQl1c.js} +0 -0
  523. /package/dist/{range-BOiA8qqU.js → range-Bieq5MNc.js} +0 -0
  524. /package/dist/{rpm-Cokue07s.js → rpm-DIip1m0n.js} +0 -0
  525. /package/dist/{ruby-DrYcL3qF.js → ruby-NgZGoa7Q.js} +0 -0
  526. /package/dist/{sas-CoiPirA5.js → sas-DEKzCzM2.js} +0 -0
  527. /package/dist/{scheme-CwFLjzHv.js → scheme-CBrGar2n.js} +0 -0
  528. /package/dist/{semaphore-C8rmHdhj.js → semaphore-P832H4YT.js} +0 -0
  529. /package/dist/{shell-BFV-R24I.js → shell-D7XFPOM_.js} +0 -0
  530. /package/dist/{sieve-CxwXF5T9.js → sieve-BOxOVQ18.js} +0 -0
  531. /package/dist/{simple-mode-DTaJtKPt.js → simple-mode-D-FXBgPn.js} +0 -0
  532. /package/dist/{smalltalk-QivVOCtX.js → smalltalk-DYK-HkUK.js} +0 -0
  533. /package/dist/{solr-BLvysN-c.js → solr-RZ9uTl59.js} +0 -0
  534. /package/dist/{sparql-nKsFk8j7.js → sparql-CU1uk9Py.js} +0 -0
  535. /package/dist/{spreadsheet-BWc8C2FT.js → spreadsheet-BNNUNXA2.js} +0 -0
  536. /package/dist/{sql-CWfUjlV1.js → sql-B4x8IkwU.js} +0 -0
  537. /package/dist/{stex-DtMAhV4-.js → stex-DIvyJfNO.js} +0 -0
  538. /package/dist/{stylus-BLKQAycn.js → stylus-BokZhKWB.js} +0 -0
  539. /package/dist/{swift-CJoKqiKj.js → swift-TlA42tbT.js} +0 -0
  540. /package/dist/{tcl-YTeYFNUc.js → tcl-C-m7N_9k.js} +0 -0
  541. /package/dist/{textile-C6rKQqMQ.js → textile-BWOWG894.js} +0 -0
  542. /package/dist/{tiddlywiki-ZXwTHGNT.js → tiddlywiki-DI0mF2WJ.js} +0 -0
  543. /package/dist/{tiki-C628O_u4.js → tiki-2HU6XLLn.js} +0 -0
  544. /package/dist/{toml-DxlPGbRy.js → toml-GapOS-6U.js} +0 -0
  545. /package/dist/{treemap-DY3NBr79.js → treemap-CQJ0bIDy.js} +0 -0
  546. /package/dist/{troff-DFCfH7Ku.js → troff-ChPXSGgg.js} +0 -0
  547. /package/dist/{ttcn-DAW-ERVP.js → ttcn-CGf_ktUb.js} +0 -0
  548. /package/dist/{ttcn-cfg-CpJ8b7EN.js → ttcn-cfg-E0kw_vEm.js} +0 -0
  549. /package/dist/{turtle-BneV2f8L.js → turtle-DDIYttZr.js} +0 -0
  550. /package/dist/{vb-D973Vxxh.js → vb-DsGz8YA-.js} +0 -0
  551. /package/dist/{vbscript-Dckaq3YO.js → vbscript-BfQcpKZn.js} +0 -0
  552. /package/dist/{velocity-DKty-GUC.js → velocity-BMi53hPb.js} +0 -0
  553. /package/dist/{verilog-aNaK_biA.js → verilog-B_WDxmCB.js} +0 -0
  554. /package/dist/{vhdl-CQuehnQy.js → vhdl-C52-TT0z.js} +0 -0
  555. /package/dist/{webidl-Bhg8vaMr.js → webidl-Cnphjlul.js} +0 -0
  556. /package/dist/{xquery-D2q16GaM.js → xquery-X_kWyOft.js} +0 -0
  557. /package/dist/{yacas-DHGOHnNa.js → yacas-Dpp9zAZ5.js} +0 -0
  558. /package/dist/{z80-BPhTmO22.js → z80-BZLZAthF.js} +0 -0
@@ -0,0 +1,1363 @@
1
+ function t(ee, Me, Ne) {
2
+ if (ee && ee.length) {
3
+ let [Pe, Fe] = Me, Ie = Math.PI / 180 * Ne, Le = Math.cos(Ie), Re = Math.sin(Ie);
4
+ for (let Me2 of ee) {
5
+ let [ee2, Ne2] = Me2;
6
+ Me2[0] = (ee2 - Pe) * Le - (Ne2 - Fe) * Re + Pe, Me2[1] = (ee2 - Pe) * Re + (Ne2 - Fe) * Le + Fe;
7
+ }
8
+ }
9
+ }
10
+ function e(ee, Me) {
11
+ return ee[0] === Me[0] && ee[1] === Me[1];
12
+ }
13
+ function s(Ne, Pe, Fe, Ie = 1) {
14
+ let Le = Fe, Re = Math.max(Pe, 0.1), ze = Ne[0] && Ne[0][0] && typeof Ne[0][0] == "number" ? [Ne] : Ne, Be = [0, 0];
15
+ if (Le) for (let Me of ze) t(Me, Be, Le);
16
+ let Ve = (function(ee, Ne2, Pe2) {
17
+ let Fe2 = [];
18
+ for (let Ne3 of ee) {
19
+ let ee2 = [...Ne3];
20
+ e(ee2[0], ee2[ee2.length - 1]) || ee2.push([ee2[0][0], ee2[0][1]]), ee2.length > 2 && Fe2.push(ee2);
21
+ }
22
+ let Ie2 = [];
23
+ Ne2 = Math.max(Ne2, 0.1);
24
+ let Le2 = [];
25
+ for (let ee2 of Fe2) for (let Me = 0; Me < ee2.length - 1; Me++) {
26
+ let Ne3 = ee2[Me], Pe3 = ee2[Me + 1];
27
+ if (Ne3[1] !== Pe3[1]) {
28
+ let ee3 = Math.min(Ne3[1], Pe3[1]);
29
+ Le2.push({
30
+ ymin: ee3,
31
+ ymax: Math.max(Ne3[1], Pe3[1]),
32
+ x: ee3 === Ne3[1] ? Ne3[0] : Pe3[0],
33
+ islope: (Pe3[0] - Ne3[0]) / (Pe3[1] - Ne3[1])
34
+ });
35
+ }
36
+ }
37
+ if (Le2.sort(((ee2, Me) => ee2.ymin < Me.ymin ? -1 : ee2.ymin > Me.ymin ? 1 : ee2.x < Me.x ? -1 : ee2.x > Me.x ? 1 : ee2.ymax === Me.ymax ? 0 : (ee2.ymax - Me.ymax) / Math.abs(ee2.ymax - Me.ymax))), !Le2.length) return Ie2;
38
+ let Re2 = [], ze2 = Le2[0].ymin, Be2 = 0;
39
+ for (; Re2.length || Le2.length; ) {
40
+ if (Le2.length) {
41
+ let ee2 = -1;
42
+ for (let Me = 0; Me < Le2.length && !(Le2[Me].ymin > ze2); Me++) ee2 = Me;
43
+ Le2.splice(0, ee2 + 1).forEach(((ee3) => {
44
+ Re2.push({
45
+ s: ze2,
46
+ edge: ee3
47
+ });
48
+ }));
49
+ }
50
+ if (Re2 = Re2.filter(((ee2) => !(ee2.edge.ymax <= ze2))), Re2.sort(((ee2, Me) => ee2.edge.x === Me.edge.x ? 0 : (ee2.edge.x - Me.edge.x) / Math.abs(ee2.edge.x - Me.edge.x))), (Pe2 !== 1 || Be2 % Ne2 == 0) && Re2.length > 1) for (let ee2 = 0; ee2 < Re2.length; ee2 += 2) {
51
+ let Me = ee2 + 1;
52
+ if (Me >= Re2.length) break;
53
+ let Ne3 = Re2[ee2].edge, Pe3 = Re2[Me].edge;
54
+ Ie2.push([[Math.round(Ne3.x), ze2], [Math.round(Pe3.x), ze2]]);
55
+ }
56
+ ze2 += Pe2, Re2.forEach(((ee2) => {
57
+ ee2.edge.x = ee2.edge.x + Pe2 * ee2.edge.islope;
58
+ })), Be2++;
59
+ }
60
+ return Ie2;
61
+ })(ze, Re, Ie);
62
+ if (Le) {
63
+ for (let Me of ze) t(Me, Be, -Le);
64
+ (function(Me, Ne2, Pe2) {
65
+ let Fe2 = [];
66
+ Me.forEach(((ee) => Fe2.push(...ee))), t(Fe2, Ne2, Pe2);
67
+ })(Ve, Be, -Le);
68
+ }
69
+ return Ve;
70
+ }
71
+ function n(ee, Me) {
72
+ var _a;
73
+ let Pe = Me.hachureAngle + 90, Fe = Me.hachureGap;
74
+ Fe < 0 && (Fe = 4 * Me.strokeWidth), Fe = Math.round(Math.max(Fe, 0.1));
75
+ let Ie = 1;
76
+ return Me.roughness >= 1 && (((_a = Me.randomizer) == null ? void 0 : _a.next()) || Math.random()) > 0.7 && (Ie = Fe), s(ee, Fe, Pe, Ie || 1);
77
+ }
78
+ var o = class {
79
+ constructor(ee) {
80
+ this.helper = ee;
81
+ }
82
+ fillPolygons(ee, Me) {
83
+ return this._fillPolygons(ee, Me);
84
+ }
85
+ _fillPolygons(ee, Me) {
86
+ let Ne = n(ee, Me);
87
+ return {
88
+ type: "fillSketch",
89
+ ops: this.renderLines(Ne, Me)
90
+ };
91
+ }
92
+ renderLines(ee, Me) {
93
+ let Ne = [];
94
+ for (let Pe of ee) Ne.push(...this.helper.doubleLineOps(Pe[0][0], Pe[0][1], Pe[1][0], Pe[1][1], Me));
95
+ return Ne;
96
+ }
97
+ };
98
+ function a(ee) {
99
+ let Me = ee[0], Ne = ee[1];
100
+ return Math.sqrt((Me[0] - Ne[0]) ** 2 + (Me[1] - Ne[1]) ** 2);
101
+ }
102
+ var h = class extends o {
103
+ fillPolygons(ee, Me) {
104
+ let Ne = Me.hachureGap;
105
+ Ne < 0 && (Ne = 4 * Me.strokeWidth), Ne = Math.max(Ne, 0.1);
106
+ let Fe = n(ee, Object.assign({}, Me, { hachureGap: Ne })), Le = Math.PI / 180 * Me.hachureAngle, Re = [], ze = 0.5 * Ne * Math.cos(Le), Be = 0.5 * Ne * Math.sin(Le);
107
+ for (let [ee2, Me2] of Fe) a([ee2, Me2]) && Re.push([[ee2[0] - ze, ee2[1] + Be], [...Me2]], [[ee2[0] + ze, ee2[1] - Be], [...Me2]]);
108
+ return {
109
+ type: "fillSketch",
110
+ ops: this.renderLines(Re, Me)
111
+ };
112
+ }
113
+ }, r = class extends o {
114
+ fillPolygons(ee, Me) {
115
+ let Ne = this._fillPolygons(ee, Me), Pe = Object.assign({}, Me, { hachureAngle: Me.hachureAngle + 90 }), Fe = this._fillPolygons(ee, Pe);
116
+ return Ne.ops = Ne.ops.concat(Fe.ops), Ne;
117
+ }
118
+ }, i = class {
119
+ constructor(ee) {
120
+ this.helper = ee;
121
+ }
122
+ fillPolygons(ee, Me) {
123
+ let Ne = n(ee, Me = Object.assign({}, Me, { hachureAngle: 0 }));
124
+ return this.dotsOnLines(Ne, Me);
125
+ }
126
+ dotsOnLines(ee, Me) {
127
+ let Ne = [], Pe = Me.hachureGap;
128
+ Pe < 0 && (Pe = 4 * Me.strokeWidth), Pe = Math.max(Pe, 0.1);
129
+ let Fe = Me.fillWeight;
130
+ Fe < 0 && (Fe = Me.strokeWidth / 2);
131
+ let Le = Pe / 4;
132
+ for (let Re of ee) {
133
+ let ee2 = a(Re), ze = ee2 / Pe, Be = Math.ceil(ze) - 1, Ve = ee2 - Be * Pe, He = (Re[0][0] + Re[1][0]) / 2 - Pe / 4, Ue = Math.min(Re[0][1], Re[1][1]);
134
+ for (let ee3 = 0; ee3 < Be; ee3++) {
135
+ let Ie = Ue + Ve + ee3 * Pe, Re2 = He - Le + 2 * Math.random() * Le, ze2 = Ie - Le + 2 * Math.random() * Le, Be2 = this.helper.ellipse(Re2, ze2, Fe, Fe, Me);
136
+ Ne.push(...Be2.ops);
137
+ }
138
+ }
139
+ return {
140
+ type: "fillSketch",
141
+ ops: Ne
142
+ };
143
+ }
144
+ }, c = class {
145
+ constructor(ee) {
146
+ this.helper = ee;
147
+ }
148
+ fillPolygons(ee, Me) {
149
+ let Ne = n(ee, Me);
150
+ return {
151
+ type: "fillSketch",
152
+ ops: this.dashedLine(Ne, Me)
153
+ };
154
+ }
155
+ dashedLine(ee, Me) {
156
+ let Ne = Me.dashOffset < 0 ? Me.hachureGap < 0 ? 4 * Me.strokeWidth : Me.hachureGap : Me.dashOffset, Pe = Me.dashGap < 0 ? Me.hachureGap < 0 ? 4 * Me.strokeWidth : Me.hachureGap : Me.dashGap, Fe = [];
157
+ return ee.forEach(((ee2) => {
158
+ let Le = a(ee2), Re = Math.floor(Le / (Ne + Pe)), ze = (Le + Pe - Re * (Ne + Pe)) / 2, Be = ee2[0], Ve = ee2[1];
159
+ Be[0] > Ve[0] && (Be = ee2[1], Ve = ee2[0]);
160
+ let He = Math.atan((Ve[1] - Be[1]) / (Ve[0] - Be[0]));
161
+ for (let ee3 = 0; ee3 < Re; ee3++) {
162
+ let Ie = ee3 * (Ne + Pe), Le2 = Ie + Ne, Re2 = [Be[0] + Ie * Math.cos(He) + ze * Math.cos(He), Be[1] + Ie * Math.sin(He) + ze * Math.sin(He)], Ve2 = [Be[0] + Le2 * Math.cos(He) + ze * Math.cos(He), Be[1] + Le2 * Math.sin(He) + ze * Math.sin(He)];
163
+ Fe.push(...this.helper.doubleLineOps(Re2[0], Re2[1], Ve2[0], Ve2[1], Me));
164
+ }
165
+ })), Fe;
166
+ }
167
+ }, l = class {
168
+ constructor(ee) {
169
+ this.helper = ee;
170
+ }
171
+ fillPolygons(ee, Me) {
172
+ let Ne = Me.hachureGap < 0 ? 4 * Me.strokeWidth : Me.hachureGap, Fe = Me.zigzagOffset < 0 ? Ne : Me.zigzagOffset, Ie = n(ee, Me = Object.assign({}, Me, { hachureGap: Ne + Fe }));
173
+ return {
174
+ type: "fillSketch",
175
+ ops: this.zigzagLines(Ie, Fe, Me)
176
+ };
177
+ }
178
+ zigzagLines(ee, Me, Ne) {
179
+ let Pe = [];
180
+ return ee.forEach(((ee2) => {
181
+ let Fe = a(ee2), Le = Math.round(Fe / (2 * Me)), Re = ee2[0], ze = ee2[1];
182
+ Re[0] > ze[0] && (Re = ee2[1], ze = ee2[0]);
183
+ let Be = Math.atan((ze[1] - Re[1]) / (ze[0] - Re[0]));
184
+ for (let ee3 = 0; ee3 < Le; ee3++) {
185
+ let Fe2 = 2 * ee3 * Me, Ie = 2 * (ee3 + 1) * Me, Le2 = Math.sqrt(2 * Me ** 2), ze2 = [Re[0] + Fe2 * Math.cos(Be), Re[1] + Fe2 * Math.sin(Be)], Ve = [Re[0] + Ie * Math.cos(Be), Re[1] + Ie * Math.sin(Be)], He = [ze2[0] + Le2 * Math.cos(Be + Math.PI / 4), ze2[1] + Le2 * Math.sin(Be + Math.PI / 4)];
186
+ Pe.push(...this.helper.doubleLineOps(ze2[0], ze2[1], He[0], He[1], Ne), ...this.helper.doubleLineOps(He[0], He[1], Ve[0], Ve[1], Ne));
187
+ }
188
+ })), Pe;
189
+ }
190
+ }, u = {}, p = class {
191
+ constructor(ee) {
192
+ this.seed = ee;
193
+ }
194
+ next() {
195
+ return this.seed ? (2 ** 31 - 1 & (this.seed = Math.imul(48271, this.seed))) / 2 ** 31 : Math.random();
196
+ }
197
+ }, f = 0, d = 1, g = 2, M = {
198
+ A: 7,
199
+ a: 7,
200
+ C: 6,
201
+ c: 6,
202
+ H: 1,
203
+ h: 1,
204
+ L: 2,
205
+ l: 2,
206
+ M: 2,
207
+ m: 2,
208
+ Q: 4,
209
+ q: 4,
210
+ S: 4,
211
+ s: 4,
212
+ T: 2,
213
+ t: 2,
214
+ V: 1,
215
+ v: 1,
216
+ Z: 0,
217
+ z: 0
218
+ };
219
+ function k(ee, Me) {
220
+ return ee.type === Me;
221
+ }
222
+ function b(ee) {
223
+ let Me = [], Ne = (function(ee2) {
224
+ let Me2 = [];
225
+ for (; ee2 !== ""; ) if (ee2.match(/^([ \t\r\n,]+)/)) ee2 = ee2.substr(RegExp.$1.length);
226
+ else if (ee2.match(/^([aAcChHlLmMqQsStTvVzZ])/)) Me2[Me2.length] = {
227
+ type: f,
228
+ text: RegExp.$1
229
+ }, ee2 = ee2.substr(RegExp.$1.length);
230
+ else {
231
+ if (!ee2.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/)) return [];
232
+ Me2[Me2.length] = {
233
+ type: d,
234
+ text: `${parseFloat(RegExp.$1)}`
235
+ }, ee2 = ee2.substr(RegExp.$1.length);
236
+ }
237
+ return Me2[Me2.length] = {
238
+ type: g,
239
+ text: ""
240
+ }, Me2;
241
+ })(ee), Pe = "BOD", Fe = 0, Ie = Ne[Fe];
242
+ for (; !k(Ie, g); ) {
243
+ let Le = 0, Re = [];
244
+ if (Pe === "BOD") {
245
+ if (Ie.text !== "M" && Ie.text !== "m") return b("M0,0" + ee);
246
+ Fe++, Le = M[Ie.text], Pe = Ie.text;
247
+ } else k(Ie, d) ? Le = M[Pe] : (Fe++, Le = M[Ie.text], Pe = Ie.text);
248
+ if (!(Fe + Le < Ne.length)) throw Error("Path data ended short");
249
+ for (let ee2 = Fe; ee2 < Fe + Le; ee2++) {
250
+ let Me2 = Ne[ee2];
251
+ if (!k(Me2, d)) throw Error("Param not a number: " + Pe + "," + Me2.text);
252
+ Re[Re.length] = +Me2.text;
253
+ }
254
+ if (typeof M[Pe] != "number") throw Error("Bad segment: " + Pe);
255
+ {
256
+ let ee2 = {
257
+ key: Pe,
258
+ data: Re
259
+ };
260
+ Me.push(ee2), Fe += Le, Ie = Ne[Fe], Pe === "M" && (Pe = "L"), Pe === "m" && (Pe = "l");
261
+ }
262
+ }
263
+ return Me;
264
+ }
265
+ function y(ee) {
266
+ let Me = 0, Ne = 0, Pe = 0, Fe = 0, Ie = [];
267
+ for (let { key: Le, data: Re } of ee) switch (Le) {
268
+ case "M":
269
+ Ie.push({
270
+ key: "M",
271
+ data: [...Re]
272
+ }), [Me, Ne] = Re, [Pe, Fe] = Re;
273
+ break;
274
+ case "m":
275
+ Me += Re[0], Ne += Re[1], Ie.push({
276
+ key: "M",
277
+ data: [Me, Ne]
278
+ }), Pe = Me, Fe = Ne;
279
+ break;
280
+ case "L":
281
+ Ie.push({
282
+ key: "L",
283
+ data: [...Re]
284
+ }), [Me, Ne] = Re;
285
+ break;
286
+ case "l":
287
+ Me += Re[0], Ne += Re[1], Ie.push({
288
+ key: "L",
289
+ data: [Me, Ne]
290
+ });
291
+ break;
292
+ case "C":
293
+ Ie.push({
294
+ key: "C",
295
+ data: [...Re]
296
+ }), Me = Re[4], Ne = Re[5];
297
+ break;
298
+ case "c": {
299
+ let ee2 = Re.map(((ee3, Pe2) => Pe2 % 2 ? ee3 + Ne : ee3 + Me));
300
+ Ie.push({
301
+ key: "C",
302
+ data: ee2
303
+ }), Me = ee2[4], Ne = ee2[5];
304
+ break;
305
+ }
306
+ case "Q":
307
+ Ie.push({
308
+ key: "Q",
309
+ data: [...Re]
310
+ }), Me = Re[2], Ne = Re[3];
311
+ break;
312
+ case "q": {
313
+ let ee2 = Re.map(((ee3, Pe2) => Pe2 % 2 ? ee3 + Ne : ee3 + Me));
314
+ Ie.push({
315
+ key: "Q",
316
+ data: ee2
317
+ }), Me = ee2[2], Ne = ee2[3];
318
+ break;
319
+ }
320
+ case "A":
321
+ Ie.push({
322
+ key: "A",
323
+ data: [...Re]
324
+ }), Me = Re[5], Ne = Re[6];
325
+ break;
326
+ case "a":
327
+ Me += Re[5], Ne += Re[6], Ie.push({
328
+ key: "A",
329
+ data: [
330
+ Re[0],
331
+ Re[1],
332
+ Re[2],
333
+ Re[3],
334
+ Re[4],
335
+ Me,
336
+ Ne
337
+ ]
338
+ });
339
+ break;
340
+ case "H":
341
+ Ie.push({
342
+ key: "H",
343
+ data: [...Re]
344
+ }), Me = Re[0];
345
+ break;
346
+ case "h":
347
+ Me += Re[0], Ie.push({
348
+ key: "H",
349
+ data: [Me]
350
+ });
351
+ break;
352
+ case "V":
353
+ Ie.push({
354
+ key: "V",
355
+ data: [...Re]
356
+ }), Ne = Re[0];
357
+ break;
358
+ case "v":
359
+ Ne += Re[0], Ie.push({
360
+ key: "V",
361
+ data: [Ne]
362
+ });
363
+ break;
364
+ case "S":
365
+ Ie.push({
366
+ key: "S",
367
+ data: [...Re]
368
+ }), Me = Re[2], Ne = Re[3];
369
+ break;
370
+ case "s": {
371
+ let ee2 = Re.map(((ee3, Pe2) => Pe2 % 2 ? ee3 + Ne : ee3 + Me));
372
+ Ie.push({
373
+ key: "S",
374
+ data: ee2
375
+ }), Me = ee2[2], Ne = ee2[3];
376
+ break;
377
+ }
378
+ case "T":
379
+ Ie.push({
380
+ key: "T",
381
+ data: [...Re]
382
+ }), Me = Re[0], Ne = Re[1];
383
+ break;
384
+ case "t":
385
+ Me += Re[0], Ne += Re[1], Ie.push({
386
+ key: "T",
387
+ data: [Me, Ne]
388
+ });
389
+ break;
390
+ case "Z":
391
+ case "z":
392
+ Ie.push({
393
+ key: "Z",
394
+ data: []
395
+ }), Me = Pe, Ne = Fe;
396
+ }
397
+ return Ie;
398
+ }
399
+ function m(ee) {
400
+ let Me = [], Ne = "", Pe = 0, Fe = 0, Ie = 0, Le = 0, Re = 0, ze = 0;
401
+ for (let { key: Be, data: Ve } of ee) {
402
+ switch (Be) {
403
+ case "M":
404
+ Me.push({
405
+ key: "M",
406
+ data: [...Ve]
407
+ }), [Pe, Fe] = Ve, [Ie, Le] = Ve;
408
+ break;
409
+ case "C":
410
+ Me.push({
411
+ key: "C",
412
+ data: [...Ve]
413
+ }), Pe = Ve[4], Fe = Ve[5], Re = Ve[2], ze = Ve[3];
414
+ break;
415
+ case "L":
416
+ Me.push({
417
+ key: "L",
418
+ data: [...Ve]
419
+ }), [Pe, Fe] = Ve;
420
+ break;
421
+ case "H":
422
+ Pe = Ve[0], Me.push({
423
+ key: "L",
424
+ data: [Pe, Fe]
425
+ });
426
+ break;
427
+ case "V":
428
+ Fe = Ve[0], Me.push({
429
+ key: "L",
430
+ data: [Pe, Fe]
431
+ });
432
+ break;
433
+ case "S": {
434
+ let ee2 = 0, Ie2 = 0;
435
+ Ne === "C" || Ne === "S" ? (ee2 = Pe + (Pe - Re), Ie2 = Fe + (Fe - ze)) : (ee2 = Pe, Ie2 = Fe), Me.push({
436
+ key: "C",
437
+ data: [
438
+ ee2,
439
+ Ie2,
440
+ ...Ve
441
+ ]
442
+ }), Re = Ve[0], ze = Ve[1], Pe = Ve[2], Fe = Ve[3];
443
+ break;
444
+ }
445
+ case "T": {
446
+ let [ee2, Ie2] = Ve, Le2 = 0, Be2 = 0;
447
+ Ne === "Q" || Ne === "T" ? (Le2 = Pe + (Pe - Re), Be2 = Fe + (Fe - ze)) : (Le2 = Pe, Be2 = Fe);
448
+ let He = Pe + 2 * (Le2 - Pe) / 3, Ue = Fe + 2 * (Be2 - Fe) / 3, We = ee2 + 2 * (Le2 - ee2) / 3, Ge = Ie2 + 2 * (Be2 - Ie2) / 3;
449
+ Me.push({
450
+ key: "C",
451
+ data: [
452
+ He,
453
+ Ue,
454
+ We,
455
+ Ge,
456
+ ee2,
457
+ Ie2
458
+ ]
459
+ }), Re = Le2, ze = Be2, Pe = ee2, Fe = Ie2;
460
+ break;
461
+ }
462
+ case "Q": {
463
+ let [ee2, Ne2, Ie2, Le2] = Ve, Be2 = Pe + 2 * (ee2 - Pe) / 3, He = Fe + 2 * (Ne2 - Fe) / 3, Ue = Ie2 + 2 * (ee2 - Ie2) / 3, We = Le2 + 2 * (Ne2 - Le2) / 3;
464
+ Me.push({
465
+ key: "C",
466
+ data: [
467
+ Be2,
468
+ He,
469
+ Ue,
470
+ We,
471
+ Ie2,
472
+ Le2
473
+ ]
474
+ }), Re = ee2, ze = Ne2, Pe = Ie2, Fe = Le2;
475
+ break;
476
+ }
477
+ case "A": {
478
+ let ee2 = Math.abs(Ve[0]), Ne2 = Math.abs(Ve[1]), Ie2 = Ve[2], Le2 = Ve[3], Re2 = Ve[4], ze2 = Ve[5], Be2 = Ve[6];
479
+ ee2 === 0 || Ne2 === 0 ? (Me.push({
480
+ key: "C",
481
+ data: [
482
+ Pe,
483
+ Fe,
484
+ ze2,
485
+ Be2,
486
+ ze2,
487
+ Be2
488
+ ]
489
+ }), Pe = ze2, Fe = Be2) : (Pe !== ze2 || Fe !== Be2) && (x(Pe, Fe, ze2, Be2, ee2, Ne2, Ie2, Le2, Re2).forEach((function(ee3) {
490
+ Me.push({
491
+ key: "C",
492
+ data: ee3
493
+ });
494
+ })), Pe = ze2, Fe = Be2);
495
+ break;
496
+ }
497
+ case "Z":
498
+ Me.push({
499
+ key: "Z",
500
+ data: []
501
+ }), Pe = Ie, Fe = Le;
502
+ }
503
+ Ne = Be;
504
+ }
505
+ return Me;
506
+ }
507
+ function w(ee, Me, Ne) {
508
+ return [ee * Math.cos(Ne) - Me * Math.sin(Ne), ee * Math.sin(Ne) + Me * Math.cos(Ne)];
509
+ }
510
+ function x(ee, Me, Ne, Pe, Fe, Ie, Le, Re, ze, Be) {
511
+ let Ve = (He = Le, Math.PI * He / 180);
512
+ var He;
513
+ let Ue = [], We = 0, Ge = 0, Ke = 0, qe = 0;
514
+ if (Be) [We, Ge, Ke, qe] = Be;
515
+ else {
516
+ [ee, Me] = w(ee, Me, -Ve), [Ne, Pe] = w(Ne, Pe, -Ve);
517
+ let Le2 = (ee - Ne) / 2, Be2 = (Me - Pe) / 2, He2 = Le2 * Le2 / (Fe * Fe) + Be2 * Be2 / (Ie * Ie);
518
+ He2 > 1 && (He2 = Math.sqrt(He2), Fe *= He2, Ie *= He2);
519
+ let Ue2 = Fe * Fe, Je2 = Ie * Ie, Ye2 = Ue2 * Je2 - Ue2 * Be2 * Be2 - Je2 * Le2 * Le2, Xe2 = Ue2 * Be2 * Be2 + Je2 * Le2 * Le2, Ze2 = (Re === ze ? -1 : 1) * Math.sqrt(Math.abs(Ye2 / Xe2));
520
+ Ke = Ze2 * Fe * Be2 / Ie + (ee + Ne) / 2, qe = Ze2 * -Ie * Le2 / Fe + (Me + Pe) / 2, We = Math.asin(parseFloat(((Me - qe) / Ie).toFixed(9))), Ge = Math.asin(parseFloat(((Pe - qe) / Ie).toFixed(9))), ee < Ke && (We = Math.PI - We), Ne < Ke && (Ge = Math.PI - Ge), We < 0 && (We = 2 * Math.PI + We), Ge < 0 && (Ge = 2 * Math.PI + Ge), ze && We > Ge && (We -= 2 * Math.PI), !ze && Ge > We && (Ge -= 2 * Math.PI);
521
+ }
522
+ let Je = Ge - We;
523
+ if (Math.abs(Je) > 120 * Math.PI / 180) {
524
+ let ee2 = Ge, Me2 = Ne, Re2 = Pe;
525
+ Ge = ze && Ge > We ? We + 120 * Math.PI / 180 * 1 : We + 120 * Math.PI / 180 * -1, Ue = x(Ne = Ke + Fe * Math.cos(Ge), Pe = qe + Ie * Math.sin(Ge), Me2, Re2, Fe, Ie, Le, 0, ze, [
526
+ Ge,
527
+ ee2,
528
+ Ke,
529
+ qe
530
+ ]);
531
+ }
532
+ Je = Ge - We;
533
+ let Ye = Math.cos(We), Xe = Math.sin(We), Ze = Math.cos(Ge), Qe = Math.sin(Ge), $e = Math.tan(Je / 4), rt = 4 / 3 * Fe * $e, it = 4 / 3 * Ie * $e, ct = [ee, Me], lt = [ee + rt * Xe, Me - it * Ye], ut = [Ne + rt * Qe, Pe - it * Ze], dt = [Ne, Pe];
534
+ if (lt[0] = 2 * ct[0] - lt[0], lt[1] = 2 * ct[1] - lt[1], Be) return [
535
+ lt,
536
+ ut,
537
+ dt
538
+ ].concat(Ue);
539
+ {
540
+ Ue = [
541
+ lt,
542
+ ut,
543
+ dt
544
+ ].concat(Ue);
545
+ let ee2 = [];
546
+ for (let Me2 = 0; Me2 < Ue.length; Me2 += 3) {
547
+ let Ne2 = w(Ue[Me2][0], Ue[Me2][1], Ve), Pe2 = w(Ue[Me2 + 1][0], Ue[Me2 + 1][1], Ve), Fe2 = w(Ue[Me2 + 2][0], Ue[Me2 + 2][1], Ve);
548
+ ee2.push([
549
+ Ne2[0],
550
+ Ne2[1],
551
+ Pe2[0],
552
+ Pe2[1],
553
+ Fe2[0],
554
+ Fe2[1]
555
+ ]);
556
+ }
557
+ return ee2;
558
+ }
559
+ }
560
+ var P = {
561
+ randOffset: function(ee, Me) {
562
+ return G(ee, Me);
563
+ },
564
+ randOffsetWithRange: function(ee, Me, Ne) {
565
+ return E(ee, Me, Ne);
566
+ },
567
+ ellipse: function(ee, Me, Ne, Pe, Fe) {
568
+ return D(ee, Me, Fe, T(Ne, Pe, Fe)).opset;
569
+ },
570
+ doubleLineOps: function(ee, Me, Ne, Pe, Fe) {
571
+ return $(ee, Me, Ne, Pe, Fe, true);
572
+ }
573
+ };
574
+ function v(ee, Me, Ne, Pe, Fe) {
575
+ return {
576
+ type: "path",
577
+ ops: $(ee, Me, Ne, Pe, Fe)
578
+ };
579
+ }
580
+ function S(ee, Me, Ne) {
581
+ let Pe = (ee || []).length;
582
+ if (Pe > 2) {
583
+ let Fe = [];
584
+ for (let Me2 = 0; Me2 < Pe - 1; Me2++) Fe.push(...$(ee[Me2][0], ee[Me2][1], ee[Me2 + 1][0], ee[Me2 + 1][1], Ne));
585
+ return Me && Fe.push(...$(ee[Pe - 1][0], ee[Pe - 1][1], ee[0][0], ee[0][1], Ne)), {
586
+ type: "path",
587
+ ops: Fe
588
+ };
589
+ }
590
+ return Pe === 2 ? v(ee[0][0], ee[0][1], ee[1][0], ee[1][1], Ne) : {
591
+ type: "path",
592
+ ops: []
593
+ };
594
+ }
595
+ function O(ee, Me, Ne, Pe, Fe) {
596
+ return (function(ee2, Me2) {
597
+ return S(ee2, true, Me2);
598
+ })([
599
+ [ee, Me],
600
+ [ee + Ne, Me],
601
+ [ee + Ne, Me + Pe],
602
+ [ee, Me + Pe]
603
+ ], Fe);
604
+ }
605
+ function L(ee, Me) {
606
+ if (ee.length) {
607
+ let Ne = typeof ee[0][0] == "number" ? [ee] : ee, Pe = j(Ne[0], 1 * (1 + 0.2 * Me.roughness), Me), Fe = Me.disableMultiStroke ? [] : j(Ne[0], 1.5 * (1 + 0.22 * Me.roughness), z(Me));
608
+ for (let ee2 = 1; ee2 < Ne.length; ee2++) {
609
+ let Ie = Ne[ee2];
610
+ if (Ie.length) {
611
+ let ee3 = j(Ie, 1 * (1 + 0.2 * Me.roughness), Me), Ne2 = Me.disableMultiStroke ? [] : j(Ie, 1.5 * (1 + 0.22 * Me.roughness), z(Me));
612
+ for (let Me2 of ee3) Me2.op !== "move" && Pe.push(Me2);
613
+ for (let ee4 of Ne2) ee4.op !== "move" && Fe.push(ee4);
614
+ }
615
+ }
616
+ return {
617
+ type: "path",
618
+ ops: Pe.concat(Fe)
619
+ };
620
+ }
621
+ return {
622
+ type: "path",
623
+ ops: []
624
+ };
625
+ }
626
+ function T(ee, Me, Ne) {
627
+ let Pe = Math.sqrt(2 * Math.PI * Math.sqrt(((ee / 2) ** 2 + (Me / 2) ** 2) / 2)), Fe = Math.ceil(Math.max(Ne.curveStepCount, Ne.curveStepCount / Math.sqrt(200) * Pe)), Ie = 2 * Math.PI / Fe, Le = Math.abs(ee / 2), Re = Math.abs(Me / 2), ze = 1 - Ne.curveFitting;
628
+ return Le += G(Le * ze, Ne), Re += G(Re * ze, Ne), {
629
+ increment: Ie,
630
+ rx: Le,
631
+ ry: Re
632
+ };
633
+ }
634
+ function D(ee, Me, Ne, Pe) {
635
+ let [Fe, Ie] = F(Pe.increment, ee, Me, Pe.rx, Pe.ry, 1, Pe.increment * E(0.1, E(0.4, 1, Ne), Ne), Ne), Le = q(Fe, null, Ne);
636
+ if (!Ne.disableMultiStroke && Ne.roughness !== 0) {
637
+ let [Fe2] = F(Pe.increment, ee, Me, Pe.rx, Pe.ry, 1.5, 0, Ne), Ie2 = q(Fe2, null, Ne);
638
+ Le = Le.concat(Ie2);
639
+ }
640
+ return {
641
+ estimatedPoints: Ie,
642
+ opset: {
643
+ type: "path",
644
+ ops: Le
645
+ }
646
+ };
647
+ }
648
+ function A(ee, Me, Ne, Pe, Fe, Ie, Le, Re, ze) {
649
+ let Be = ee, Ve = Me, He = Math.abs(Ne / 2), Ue = Math.abs(Pe / 2);
650
+ He += G(0.01 * He, ze), Ue += G(0.01 * Ue, ze);
651
+ let We = Fe, Ge = Ie;
652
+ for (; We < 0; ) We += 2 * Math.PI, Ge += 2 * Math.PI;
653
+ Ge - We > 2 * Math.PI && (We = 0, Ge = 2 * Math.PI);
654
+ let Ke = 2 * Math.PI / ze.curveStepCount, qe = Math.min(Ke / 2, (Ge - We) / 2), Je = V(qe, Be, Ve, He, Ue, We, Ge, 1, ze);
655
+ if (!ze.disableMultiStroke) {
656
+ let ee2 = V(qe, Be, Ve, He, Ue, We, Ge, 1.5, ze);
657
+ Je.push(...ee2);
658
+ }
659
+ return Le && (Re ? Je.push(...$(Be, Ve, Be + He * Math.cos(We), Ve + Ue * Math.sin(We), ze), ...$(Be, Ve, Be + He * Math.cos(Ge), Ve + Ue * Math.sin(Ge), ze)) : Je.push({
660
+ op: "lineTo",
661
+ data: [Be, Ve]
662
+ }, {
663
+ op: "lineTo",
664
+ data: [Be + He * Math.cos(We), Ve + Ue * Math.sin(We)]
665
+ })), {
666
+ type: "path",
667
+ ops: Je
668
+ };
669
+ }
670
+ function _(ee, Me) {
671
+ let Ne = m(y(b(ee))), Pe = [], Fe = [0, 0], Ie = [0, 0];
672
+ for (let { key: ee2, data: Le } of Ne) switch (ee2) {
673
+ case "M":
674
+ Ie = [Le[0], Le[1]], Fe = [Le[0], Le[1]];
675
+ break;
676
+ case "L":
677
+ Pe.push(...$(Ie[0], Ie[1], Le[0], Le[1], Me)), Ie = [Le[0], Le[1]];
678
+ break;
679
+ case "C": {
680
+ let [ee3, Ne2, Fe2, Re, ze, Be] = Le;
681
+ Pe.push(...Z(ee3, Ne2, Fe2, Re, ze, Be, Ie, Me)), Ie = [ze, Be];
682
+ break;
683
+ }
684
+ case "Z":
685
+ Pe.push(...$(Ie[0], Ie[1], Fe[0], Fe[1], Me)), Ie = [Fe[0], Fe[1]];
686
+ }
687
+ return {
688
+ type: "path",
689
+ ops: Pe
690
+ };
691
+ }
692
+ function I(ee, Me) {
693
+ let Ne = [];
694
+ for (let Pe of ee) if (Pe.length) {
695
+ let ee2 = Me.maxRandomnessOffset || 0, Fe = Pe.length;
696
+ if (Fe > 2) {
697
+ Ne.push({
698
+ op: "move",
699
+ data: [Pe[0][0] + G(ee2, Me), Pe[0][1] + G(ee2, Me)]
700
+ });
701
+ for (let Ie = 1; Ie < Fe; Ie++) Ne.push({
702
+ op: "lineTo",
703
+ data: [Pe[Ie][0] + G(ee2, Me), Pe[Ie][1] + G(ee2, Me)]
704
+ });
705
+ }
706
+ }
707
+ return {
708
+ type: "fillPath",
709
+ ops: Ne
710
+ };
711
+ }
712
+ function C(ee, Me) {
713
+ return (function(ee2, Me2) {
714
+ let Ne = ee2.fillStyle || "hachure";
715
+ if (!u[Ne]) switch (Ne) {
716
+ case "zigzag":
717
+ u[Ne] || (u[Ne] = new h(Me2));
718
+ break;
719
+ case "cross-hatch":
720
+ u[Ne] || (u[Ne] = new r(Me2));
721
+ break;
722
+ case "dots":
723
+ u[Ne] || (u[Ne] = new i(Me2));
724
+ break;
725
+ case "dashed":
726
+ u[Ne] || (u[Ne] = new c(Me2));
727
+ break;
728
+ case "zigzag-line":
729
+ u[Ne] || (u[Ne] = new l(Me2));
730
+ break;
731
+ default:
732
+ Ne = "hachure", u[Ne] || (u[Ne] = new o(Me2));
733
+ }
734
+ return u[Ne];
735
+ })(Me, P).fillPolygons(ee, Me);
736
+ }
737
+ function z(ee) {
738
+ let Me = Object.assign({}, ee);
739
+ return Me.randomizer = void 0, ee.seed && (Me.seed = ee.seed + 1), Me;
740
+ }
741
+ function W(ee) {
742
+ return ee.randomizer || (ee.randomizer = new p(ee.seed || 0)), ee.randomizer.next();
743
+ }
744
+ function E(ee, Me, Ne, Pe = 1) {
745
+ return Ne.roughness * Pe * (W(Ne) * (Me - ee) + ee);
746
+ }
747
+ function G(ee, Me, Ne = 1) {
748
+ return E(-ee, ee, Me, Ne);
749
+ }
750
+ function $(ee, Me, Ne, Pe, Fe, Ie = false) {
751
+ let Le = Ie ? Fe.disableMultiStrokeFill : Fe.disableMultiStroke, Re = R(ee, Me, Ne, Pe, Fe, true, false);
752
+ if (Le) return Re;
753
+ let ze = R(ee, Me, Ne, Pe, Fe, true, true);
754
+ return Re.concat(ze);
755
+ }
756
+ function R(ee, Me, Ne, Pe, Fe, Ie, Le) {
757
+ let Re = (ee - Ne) ** 2 + (Me - Pe) ** 2, ze = Math.sqrt(Re), Be = 1;
758
+ Be = ze < 200 ? 1 : ze > 500 ? 0.4 : -16668e-7 * ze + 1.233334;
759
+ let Ve = Fe.maxRandomnessOffset || 0;
760
+ Ve * Ve * 100 > Re && (Ve = ze / 10);
761
+ let He = Ve / 2, Ue = 0.2 + 0.2 * W(Fe), We = Fe.bowing * Fe.maxRandomnessOffset * (Pe - Me) / 200, Ge = Fe.bowing * Fe.maxRandomnessOffset * (ee - Ne) / 200;
762
+ We = G(We, Fe, Be), Ge = G(Ge, Fe, Be);
763
+ let Ke = [], qe = () => G(He, Fe, Be), Je = () => G(Ve, Fe, Be), Ye = Fe.preserveVertices;
764
+ return Ie && (Le ? Ke.push({
765
+ op: "move",
766
+ data: [ee + (Ye ? 0 : qe()), Me + (Ye ? 0 : qe())]
767
+ }) : Ke.push({
768
+ op: "move",
769
+ data: [ee + (Ye ? 0 : G(Ve, Fe, Be)), Me + (Ye ? 0 : G(Ve, Fe, Be))]
770
+ })), Le ? Ke.push({
771
+ op: "bcurveTo",
772
+ data: [
773
+ We + ee + (Ne - ee) * Ue + qe(),
774
+ Ge + Me + (Pe - Me) * Ue + qe(),
775
+ We + ee + 2 * (Ne - ee) * Ue + qe(),
776
+ Ge + Me + 2 * (Pe - Me) * Ue + qe(),
777
+ Ne + (Ye ? 0 : qe()),
778
+ Pe + (Ye ? 0 : qe())
779
+ ]
780
+ }) : Ke.push({
781
+ op: "bcurveTo",
782
+ data: [
783
+ We + ee + (Ne - ee) * Ue + Je(),
784
+ Ge + Me + (Pe - Me) * Ue + Je(),
785
+ We + ee + 2 * (Ne - ee) * Ue + Je(),
786
+ Ge + Me + 2 * (Pe - Me) * Ue + Je(),
787
+ Ne + (Ye ? 0 : Je()),
788
+ Pe + (Ye ? 0 : Je())
789
+ ]
790
+ }), Ke;
791
+ }
792
+ function j(ee, Me, Ne) {
793
+ if (!ee.length) return [];
794
+ let Pe = [];
795
+ Pe.push([ee[0][0] + G(Me, Ne), ee[0][1] + G(Me, Ne)]), Pe.push([ee[0][0] + G(Me, Ne), ee[0][1] + G(Me, Ne)]);
796
+ for (let Fe = 1; Fe < ee.length; Fe++) Pe.push([ee[Fe][0] + G(Me, Ne), ee[Fe][1] + G(Me, Ne)]), Fe === ee.length - 1 && Pe.push([ee[Fe][0] + G(Me, Ne), ee[Fe][1] + G(Me, Ne)]);
797
+ return q(Pe, null, Ne);
798
+ }
799
+ function q(ee, Me, Ne) {
800
+ let Pe = ee.length, Fe = [];
801
+ if (Pe > 3) {
802
+ let Ie = [], Le = 1 - Ne.curveTightness;
803
+ Fe.push({
804
+ op: "move",
805
+ data: [ee[1][0], ee[1][1]]
806
+ });
807
+ for (let Me2 = 1; Me2 + 2 < Pe; Me2++) {
808
+ let Ne2 = ee[Me2];
809
+ Ie[0] = [Ne2[0], Ne2[1]], Ie[1] = [Ne2[0] + (Le * ee[Me2 + 1][0] - Le * ee[Me2 - 1][0]) / 6, Ne2[1] + (Le * ee[Me2 + 1][1] - Le * ee[Me2 - 1][1]) / 6], Ie[2] = [ee[Me2 + 1][0] + (Le * ee[Me2][0] - Le * ee[Me2 + 2][0]) / 6, ee[Me2 + 1][1] + (Le * ee[Me2][1] - Le * ee[Me2 + 2][1]) / 6], Ie[3] = [ee[Me2 + 1][0], ee[Me2 + 1][1]], Fe.push({
810
+ op: "bcurveTo",
811
+ data: [
812
+ Ie[1][0],
813
+ Ie[1][1],
814
+ Ie[2][0],
815
+ Ie[2][1],
816
+ Ie[3][0],
817
+ Ie[3][1]
818
+ ]
819
+ });
820
+ }
821
+ if (Me && Me.length === 2) {
822
+ let ee2 = Ne.maxRandomnessOffset;
823
+ Fe.push({
824
+ op: "lineTo",
825
+ data: [Me[0] + G(ee2, Ne), Me[1] + G(ee2, Ne)]
826
+ });
827
+ }
828
+ } else Pe === 3 ? (Fe.push({
829
+ op: "move",
830
+ data: [ee[1][0], ee[1][1]]
831
+ }), Fe.push({
832
+ op: "bcurveTo",
833
+ data: [
834
+ ee[1][0],
835
+ ee[1][1],
836
+ ee[2][0],
837
+ ee[2][1],
838
+ ee[2][0],
839
+ ee[2][1]
840
+ ]
841
+ })) : Pe === 2 && Fe.push(...R(ee[0][0], ee[0][1], ee[1][0], ee[1][1], Ne, true, true));
842
+ return Fe;
843
+ }
844
+ function F(ee, Me, Ne, Pe, Fe, Ie, Le, Re) {
845
+ let ze = [], Be = [];
846
+ if (Re.roughness === 0) {
847
+ ee /= 4, Be.push([Me + Pe * Math.cos(-ee), Ne + Fe * Math.sin(-ee)]);
848
+ for (let Ie2 = 0; Ie2 <= 2 * Math.PI; Ie2 += ee) {
849
+ let ee2 = [Me + Pe * Math.cos(Ie2), Ne + Fe * Math.sin(Ie2)];
850
+ ze.push(ee2), Be.push(ee2);
851
+ }
852
+ Be.push([Me + Pe * Math.cos(0), Ne + Fe * Math.sin(0)]), Be.push([Me + Pe * Math.cos(ee), Ne + Fe * Math.sin(ee)]);
853
+ } else {
854
+ let Ve = G(0.5, Re) - Math.PI / 2;
855
+ Be.push([G(Ie, Re) + Me + 0.9 * Pe * Math.cos(Ve - ee), G(Ie, Re) + Ne + 0.9 * Fe * Math.sin(Ve - ee)]);
856
+ let He = 2 * Math.PI + Ve - 0.01;
857
+ for (let Le2 = Ve; Le2 < He; Le2 += ee) {
858
+ let ee2 = [G(Ie, Re) + Me + Pe * Math.cos(Le2), G(Ie, Re) + Ne + Fe * Math.sin(Le2)];
859
+ ze.push(ee2), Be.push(ee2);
860
+ }
861
+ Be.push([G(Ie, Re) + Me + Pe * Math.cos(Ve + 2 * Math.PI + 0.5 * Le), G(Ie, Re) + Ne + Fe * Math.sin(Ve + 2 * Math.PI + 0.5 * Le)]), Be.push([G(Ie, Re) + Me + 0.98 * Pe * Math.cos(Ve + Le), G(Ie, Re) + Ne + 0.98 * Fe * Math.sin(Ve + Le)]), Be.push([G(Ie, Re) + Me + 0.9 * Pe * Math.cos(Ve + 0.5 * Le), G(Ie, Re) + Ne + 0.9 * Fe * Math.sin(Ve + 0.5 * Le)]);
862
+ }
863
+ return [Be, ze];
864
+ }
865
+ function V(ee, Me, Ne, Pe, Fe, Ie, Le, Re, ze) {
866
+ let Be = Ie + G(0.1, ze), Ve = [];
867
+ Ve.push([G(Re, ze) + Me + 0.9 * Pe * Math.cos(Be - ee), G(Re, ze) + Ne + 0.9 * Fe * Math.sin(Be - ee)]);
868
+ for (let Ie2 = Be; Ie2 <= Le; Ie2 += ee) Ve.push([G(Re, ze) + Me + Pe * Math.cos(Ie2), G(Re, ze) + Ne + Fe * Math.sin(Ie2)]);
869
+ return Ve.push([Me + Pe * Math.cos(Le), Ne + Fe * Math.sin(Le)]), Ve.push([Me + Pe * Math.cos(Le), Ne + Fe * Math.sin(Le)]), q(Ve, null, ze);
870
+ }
871
+ function Z(ee, Me, Ne, Pe, Fe, Ie, Le, Re) {
872
+ let ze = [], Be = [Re.maxRandomnessOffset || 1, (Re.maxRandomnessOffset || 1) + 0.3], Ve = [0, 0], He = Re.disableMultiStroke ? 1 : 2, Ue = Re.preserveVertices;
873
+ for (let We = 0; We < He; We++) We === 0 ? ze.push({
874
+ op: "move",
875
+ data: [Le[0], Le[1]]
876
+ }) : ze.push({
877
+ op: "move",
878
+ data: [Le[0] + (Ue ? 0 : G(Be[0], Re)), Le[1] + (Ue ? 0 : G(Be[0], Re))]
879
+ }), Ve = Ue ? [Fe, Ie] : [Fe + G(Be[We], Re), Ie + G(Be[We], Re)], ze.push({
880
+ op: "bcurveTo",
881
+ data: [
882
+ ee + G(Be[We], Re),
883
+ Me + G(Be[We], Re),
884
+ Ne + G(Be[We], Re),
885
+ Pe + G(Be[We], Re),
886
+ Ve[0],
887
+ Ve[1]
888
+ ]
889
+ });
890
+ return ze;
891
+ }
892
+ function Q(ee) {
893
+ return [...ee];
894
+ }
895
+ function H(ee, Me = 0) {
896
+ let Ne = ee.length;
897
+ if (Ne < 3) throw Error("A curve must have at least three points.");
898
+ let Pe = [];
899
+ if (Ne === 3) Pe.push(Q(ee[0]), Q(ee[1]), Q(ee[2]), Q(ee[2]));
900
+ else {
901
+ let Ne2 = [];
902
+ Ne2.push(ee[0], ee[0]);
903
+ for (let Me2 = 1; Me2 < ee.length; Me2++) Ne2.push(ee[Me2]), Me2 === ee.length - 1 && Ne2.push(ee[Me2]);
904
+ let Fe = [], Ie = 1 - Me;
905
+ Pe.push(Q(Ne2[0]));
906
+ for (let ee2 = 1; ee2 + 2 < Ne2.length; ee2++) {
907
+ let Me2 = Ne2[ee2];
908
+ Fe[0] = [Me2[0], Me2[1]], Fe[1] = [Me2[0] + (Ie * Ne2[ee2 + 1][0] - Ie * Ne2[ee2 - 1][0]) / 6, Me2[1] + (Ie * Ne2[ee2 + 1][1] - Ie * Ne2[ee2 - 1][1]) / 6], Fe[2] = [Ne2[ee2 + 1][0] + (Ie * Ne2[ee2][0] - Ie * Ne2[ee2 + 2][0]) / 6, Ne2[ee2 + 1][1] + (Ie * Ne2[ee2][1] - Ie * Ne2[ee2 + 2][1]) / 6], Fe[3] = [Ne2[ee2 + 1][0], Ne2[ee2 + 1][1]], Pe.push(Fe[1], Fe[2], Fe[3]);
909
+ }
910
+ }
911
+ return Pe;
912
+ }
913
+ function N(ee, Me) {
914
+ return (ee[0] - Me[0]) ** 2 + (ee[1] - Me[1]) ** 2;
915
+ }
916
+ function B(ee, Me, Ne) {
917
+ let Pe = N(Me, Ne);
918
+ if (Pe === 0) return N(ee, Me);
919
+ let Fe = ((ee[0] - Me[0]) * (Ne[0] - Me[0]) + (ee[1] - Me[1]) * (Ne[1] - Me[1])) / Pe;
920
+ return Fe = Math.max(0, Math.min(1, Fe)), N(ee, J(Me, Ne, Fe));
921
+ }
922
+ function J(ee, Me, Ne) {
923
+ return [ee[0] + (Me[0] - ee[0]) * Ne, ee[1] + (Me[1] - ee[1]) * Ne];
924
+ }
925
+ function K(ee, Me, Ne, Pe) {
926
+ let Fe = Pe || [];
927
+ if ((function(ee2, Me2) {
928
+ let Ne2 = ee2[Me2 + 0], Pe2 = ee2[Me2 + 1], Fe2 = ee2[Me2 + 2], Ie2 = ee2[Me2 + 3], Le2 = 3 * Pe2[0] - 2 * Ne2[0] - Ie2[0];
929
+ Le2 *= Le2;
930
+ let Re = 3 * Pe2[1] - 2 * Ne2[1] - Ie2[1];
931
+ Re *= Re;
932
+ let ze = 3 * Fe2[0] - 2 * Ie2[0] - Ne2[0];
933
+ ze *= ze;
934
+ let Be = 3 * Fe2[1] - 2 * Ie2[1] - Ne2[1];
935
+ return Be *= Be, Le2 < ze && (Le2 = ze), Re < Be && (Re = Be), Le2 + Re;
936
+ })(ee, Me) < Ne) {
937
+ let Ne2 = ee[Me + 0];
938
+ Fe.length ? (Ie = Fe[Fe.length - 1], Le = Ne2, Math.sqrt(N(Ie, Le))) > 1 && Fe.push(Ne2) : Fe.push(Ne2), Fe.push(ee[Me + 3]);
939
+ } else {
940
+ let Pe2 = 0.5, Ie2 = ee[Me + 0], Le2 = ee[Me + 1], Re = ee[Me + 2], ze = ee[Me + 3], Be = J(Ie2, Le2, Pe2), Ve = J(Le2, Re, Pe2), He = J(Re, ze, Pe2), Ue = J(Be, Ve, Pe2), We = J(Ve, He, Pe2), Ge = J(Ue, We, Pe2);
941
+ K([
942
+ Ie2,
943
+ Be,
944
+ Ue,
945
+ Ge
946
+ ], 0, Ne, Fe), K([
947
+ Ge,
948
+ We,
949
+ He,
950
+ ze
951
+ ], 0, Ne, Fe);
952
+ }
953
+ var Ie, Le;
954
+ return Fe;
955
+ }
956
+ function U(ee, Me) {
957
+ return X(ee, 0, ee.length, Me);
958
+ }
959
+ function X(ee, Me, Ne, Pe, Fe) {
960
+ let Ie = Fe || [], Le = ee[Me], Re = ee[Ne - 1], ze = 0, Be = 1;
961
+ for (let Pe2 = Me + 1; Pe2 < Ne - 1; ++Pe2) {
962
+ let Me2 = B(ee[Pe2], Le, Re);
963
+ Me2 > ze && (ze = Me2, Be = Pe2);
964
+ }
965
+ return Math.sqrt(ze) > Pe ? (X(ee, Me, Be + 1, Pe, Ie), X(ee, Be, Ne, Pe, Ie)) : (Ie.length || Ie.push(Le), Ie.push(Re)), Ie;
966
+ }
967
+ function Y(ee, Me = 0.15, Ne) {
968
+ let Pe = [], Fe = (ee.length - 1) / 3;
969
+ for (let Ne2 = 0; Ne2 < Fe; Ne2++) K(ee, 3 * Ne2, Me, Pe);
970
+ return Ne && Ne > 0 ? X(Pe, 0, Pe.length, Ne) : Pe;
971
+ }
972
+ var tt = "none", et = class {
973
+ constructor(ee) {
974
+ this.defaultOptions = {
975
+ maxRandomnessOffset: 2,
976
+ roughness: 1,
977
+ bowing: 1,
978
+ stroke: "#000",
979
+ strokeWidth: 1,
980
+ curveTightness: 0,
981
+ curveFitting: 0.95,
982
+ curveStepCount: 9,
983
+ fillStyle: "hachure",
984
+ fillWeight: -1,
985
+ hachureAngle: -41,
986
+ hachureGap: -1,
987
+ dashOffset: -1,
988
+ dashGap: -1,
989
+ zigzagOffset: -1,
990
+ seed: 0,
991
+ disableMultiStroke: false,
992
+ disableMultiStrokeFill: false,
993
+ preserveVertices: false,
994
+ fillShapeRoughnessGain: 0.8
995
+ }, this.config = ee || {}, this.config.options && (this.defaultOptions = this._o(this.config.options));
996
+ }
997
+ static newSeed() {
998
+ return Math.floor(Math.random() * 2 ** 31);
999
+ }
1000
+ _o(ee) {
1001
+ return ee ? Object.assign({}, this.defaultOptions, ee) : this.defaultOptions;
1002
+ }
1003
+ _d(ee, Me, Ne) {
1004
+ return {
1005
+ shape: ee,
1006
+ sets: Me || [],
1007
+ options: Ne || this.defaultOptions
1008
+ };
1009
+ }
1010
+ line(ee, Me, Ne, Pe, Fe) {
1011
+ let Ie = this._o(Fe);
1012
+ return this._d("line", [v(ee, Me, Ne, Pe, Ie)], Ie);
1013
+ }
1014
+ rectangle(ee, Me, Ne, Pe, Fe) {
1015
+ let Ie = this._o(Fe), Le = [], Re = O(ee, Me, Ne, Pe, Ie);
1016
+ if (Ie.fill) {
1017
+ let Fe2 = [
1018
+ [ee, Me],
1019
+ [ee + Ne, Me],
1020
+ [ee + Ne, Me + Pe],
1021
+ [ee, Me + Pe]
1022
+ ];
1023
+ Ie.fillStyle === "solid" ? Le.push(I([Fe2], Ie)) : Le.push(C([Fe2], Ie));
1024
+ }
1025
+ return Ie.stroke !== tt && Le.push(Re), this._d("rectangle", Le, Ie);
1026
+ }
1027
+ ellipse(ee, Me, Ne, Pe, Fe) {
1028
+ let Ie = this._o(Fe), Le = [], Re = T(Ne, Pe, Ie), ze = D(ee, Me, Ie, Re);
1029
+ if (Ie.fill) if (Ie.fillStyle === "solid") {
1030
+ let Ne2 = D(ee, Me, Ie, Re).opset;
1031
+ Ne2.type = "fillPath", Le.push(Ne2);
1032
+ } else Le.push(C([ze.estimatedPoints], Ie));
1033
+ return Ie.stroke !== tt && Le.push(ze.opset), this._d("ellipse", Le, Ie);
1034
+ }
1035
+ circle(ee, Me, Ne, Pe) {
1036
+ let Fe = this.ellipse(ee, Me, Ne, Ne, Pe);
1037
+ return Fe.shape = "circle", Fe;
1038
+ }
1039
+ linearPath(ee, Me) {
1040
+ let Ne = this._o(Me);
1041
+ return this._d("linearPath", [S(ee, false, Ne)], Ne);
1042
+ }
1043
+ arc(ee, Me, Ne, Pe, Fe, Ie, Le = false, Re) {
1044
+ let ze = this._o(Re), Be = [], Ve = A(ee, Me, Ne, Pe, Fe, Ie, Le, true, ze);
1045
+ if (Le && ze.fill) if (ze.fillStyle === "solid") {
1046
+ let Le2 = Object.assign({}, ze);
1047
+ Le2.disableMultiStroke = true;
1048
+ let Re2 = A(ee, Me, Ne, Pe, Fe, Ie, true, false, Le2);
1049
+ Re2.type = "fillPath", Be.push(Re2);
1050
+ } else Be.push((function(ee2, Me2, Ne2, Pe2, Fe2, Ie2, Le2) {
1051
+ let Re2 = ee2, ze2 = Me2, Be2 = Math.abs(Ne2 / 2), Ve2 = Math.abs(Pe2 / 2);
1052
+ Be2 += G(0.01 * Be2, Le2), Ve2 += G(0.01 * Ve2, Le2);
1053
+ let He = Fe2, Ue = Ie2;
1054
+ for (; He < 0; ) He += 2 * Math.PI, Ue += 2 * Math.PI;
1055
+ Ue - He > 2 * Math.PI && (He = 0, Ue = 2 * Math.PI);
1056
+ let We = (Ue - He) / Le2.curveStepCount, Ge = [];
1057
+ for (let ee3 = He; ee3 <= Ue; ee3 += We) Ge.push([Re2 + Be2 * Math.cos(ee3), ze2 + Ve2 * Math.sin(ee3)]);
1058
+ return Ge.push([Re2 + Be2 * Math.cos(Ue), ze2 + Ve2 * Math.sin(Ue)]), Ge.push([Re2, ze2]), C([Ge], Le2);
1059
+ })(ee, Me, Ne, Pe, Fe, Ie, ze));
1060
+ return ze.stroke !== tt && Be.push(Ve), this._d("arc", Be, ze);
1061
+ }
1062
+ curve(ee, Me) {
1063
+ let Ne = this._o(Me), Pe = [], Fe = L(ee, Ne);
1064
+ if (Ne.fill && Ne.fill !== tt) if (Ne.fillStyle === "solid") {
1065
+ let Me2 = L(ee, Object.assign(Object.assign({}, Ne), {
1066
+ disableMultiStroke: true,
1067
+ roughness: Ne.roughness ? Ne.roughness + Ne.fillShapeRoughnessGain : 0
1068
+ }));
1069
+ Pe.push({
1070
+ type: "fillPath",
1071
+ ops: this._mergedShape(Me2.ops)
1072
+ });
1073
+ } else {
1074
+ let Me2 = [], Fe2 = ee;
1075
+ if (Fe2.length) {
1076
+ let ee2 = typeof Fe2[0][0] == "number" ? [Fe2] : Fe2;
1077
+ for (let Pe2 of ee2) Pe2.length < 3 ? Me2.push(...Pe2) : Pe2.length === 3 ? Me2.push(...Y(H([
1078
+ Pe2[0],
1079
+ Pe2[0],
1080
+ Pe2[1],
1081
+ Pe2[2]
1082
+ ]), 10, (1 + Ne.roughness) / 2)) : Me2.push(...Y(H(Pe2), 10, (1 + Ne.roughness) / 2));
1083
+ }
1084
+ Me2.length && Pe.push(C([Me2], Ne));
1085
+ }
1086
+ return Ne.stroke !== tt && Pe.push(Fe), this._d("curve", Pe, Ne);
1087
+ }
1088
+ polygon(ee, Me) {
1089
+ let Ne = this._o(Me), Pe = [], Fe = S(ee, true, Ne);
1090
+ return Ne.fill && (Ne.fillStyle === "solid" ? Pe.push(I([ee], Ne)) : Pe.push(C([ee], Ne))), Ne.stroke !== tt && Pe.push(Fe), this._d("polygon", Pe, Ne);
1091
+ }
1092
+ path(ee, Me) {
1093
+ let Ne = this._o(Me), Pe = [];
1094
+ if (!ee) return this._d("path", Pe, Ne);
1095
+ ee = (ee || "").replace(/\n/g, " ").replace(/(-\s)/g, "-").replace("/(ss)/g", " ");
1096
+ let Fe = Ne.fill && Ne.fill !== "transparent" && Ne.fill !== tt, Ie = Ne.stroke !== tt, Le = !!(Ne.simplification && Ne.simplification < 1), Re = (function(ee2, Me2, Ne2) {
1097
+ let Pe2 = m(y(b(ee2))), Fe2 = [], Ie2 = [], Le2 = [0, 0], Re2 = [], ze2 = () => {
1098
+ Re2.length >= 4 && Ie2.push(...Y(Re2, Me2)), Re2 = [];
1099
+ }, Be = () => {
1100
+ ze2(), Ie2.length && (Fe2.push(Ie2), Ie2 = []);
1101
+ };
1102
+ for (let { key: ee3, data: Me3 } of Pe2) switch (ee3) {
1103
+ case "M":
1104
+ Be(), Le2 = [Me3[0], Me3[1]], Ie2.push(Le2);
1105
+ break;
1106
+ case "L":
1107
+ ze2(), Ie2.push([Me3[0], Me3[1]]);
1108
+ break;
1109
+ case "C":
1110
+ if (!Re2.length) {
1111
+ let ee4 = Ie2.length ? Ie2[Ie2.length - 1] : Le2;
1112
+ Re2.push([ee4[0], ee4[1]]);
1113
+ }
1114
+ Re2.push([Me3[0], Me3[1]]), Re2.push([Me3[2], Me3[3]]), Re2.push([Me3[4], Me3[5]]);
1115
+ break;
1116
+ case "Z":
1117
+ ze2(), Ie2.push([Le2[0], Le2[1]]);
1118
+ }
1119
+ if (Be(), !Ne2) return Fe2;
1120
+ let Ve = [];
1121
+ for (let ee3 of Fe2) {
1122
+ let Me3 = U(ee3, Ne2);
1123
+ Me3.length && Ve.push(Me3);
1124
+ }
1125
+ return Ve;
1126
+ })(ee, 1, Le ? 4 - 4 * (Ne.simplification || 1) : (1 + Ne.roughness) / 2), ze = _(ee, Ne);
1127
+ if (Fe) if (Ne.fillStyle === "solid") if (Re.length === 1) {
1128
+ let Me2 = _(ee, Object.assign(Object.assign({}, Ne), {
1129
+ disableMultiStroke: true,
1130
+ roughness: Ne.roughness ? Ne.roughness + Ne.fillShapeRoughnessGain : 0
1131
+ }));
1132
+ Pe.push({
1133
+ type: "fillPath",
1134
+ ops: this._mergedShape(Me2.ops)
1135
+ });
1136
+ } else Pe.push(I(Re, Ne));
1137
+ else Pe.push(C(Re, Ne));
1138
+ return Ie && (Le ? Re.forEach(((ee2) => {
1139
+ Pe.push(S(ee2, false, Ne));
1140
+ })) : Pe.push(ze)), this._d("path", Pe, Ne);
1141
+ }
1142
+ opsToPath(ee, Me) {
1143
+ let Ne = "";
1144
+ for (let Pe of ee.ops) {
1145
+ let ee2 = typeof Me == "number" && Me >= 0 ? Pe.data.map(((ee3) => +ee3.toFixed(Me))) : Pe.data;
1146
+ switch (Pe.op) {
1147
+ case "move":
1148
+ Ne += `M${ee2[0]} ${ee2[1]} `;
1149
+ break;
1150
+ case "bcurveTo":
1151
+ Ne += `C${ee2[0]} ${ee2[1]}, ${ee2[2]} ${ee2[3]}, ${ee2[4]} ${ee2[5]} `;
1152
+ break;
1153
+ case "lineTo":
1154
+ Ne += `L${ee2[0]} ${ee2[1]} `;
1155
+ }
1156
+ }
1157
+ return Ne.trim();
1158
+ }
1159
+ toPaths(ee) {
1160
+ let Me = ee.sets || [], Ne = ee.options || this.defaultOptions, Pe = [];
1161
+ for (let ee2 of Me) {
1162
+ let Me2 = null;
1163
+ switch (ee2.type) {
1164
+ case "path":
1165
+ Me2 = {
1166
+ d: this.opsToPath(ee2),
1167
+ stroke: Ne.stroke,
1168
+ strokeWidth: Ne.strokeWidth,
1169
+ fill: tt
1170
+ };
1171
+ break;
1172
+ case "fillPath":
1173
+ Me2 = {
1174
+ d: this.opsToPath(ee2),
1175
+ stroke: tt,
1176
+ strokeWidth: 0,
1177
+ fill: Ne.fill || tt
1178
+ };
1179
+ break;
1180
+ case "fillSketch":
1181
+ Me2 = this.fillSketch(ee2, Ne);
1182
+ }
1183
+ Me2 && Pe.push(Me2);
1184
+ }
1185
+ return Pe;
1186
+ }
1187
+ fillSketch(ee, Me) {
1188
+ let Ne = Me.fillWeight;
1189
+ return Ne < 0 && (Ne = Me.strokeWidth / 2), {
1190
+ d: this.opsToPath(ee),
1191
+ stroke: Me.fill || tt,
1192
+ strokeWidth: Ne,
1193
+ fill: tt
1194
+ };
1195
+ }
1196
+ _mergedShape(ee) {
1197
+ return ee.filter(((ee2, Me) => Me === 0 || ee2.op !== "move"));
1198
+ }
1199
+ }, st = class {
1200
+ constructor(ee, Me) {
1201
+ this.canvas = ee, this.ctx = this.canvas.getContext("2d"), this.gen = new et(Me);
1202
+ }
1203
+ draw(ee) {
1204
+ let Me = ee.sets || [], Ne = ee.options || this.getDefaultOptions(), Pe = this.ctx, Fe = ee.options.fixedDecimalPlaceDigits;
1205
+ for (let Ie of Me) switch (Ie.type) {
1206
+ case "path":
1207
+ Pe.save(), Pe.strokeStyle = Ne.stroke === "none" ? "transparent" : Ne.stroke, Pe.lineWidth = Ne.strokeWidth, Ne.strokeLineDash && Pe.setLineDash(Ne.strokeLineDash), Ne.strokeLineDashOffset && (Pe.lineDashOffset = Ne.strokeLineDashOffset), this._drawToContext(Pe, Ie, Fe), Pe.restore();
1208
+ break;
1209
+ case "fillPath": {
1210
+ Pe.save(), Pe.fillStyle = Ne.fill || "";
1211
+ let Me2 = ee.shape === "curve" || ee.shape === "polygon" || ee.shape === "path" ? "evenodd" : "nonzero";
1212
+ this._drawToContext(Pe, Ie, Fe, Me2), Pe.restore();
1213
+ break;
1214
+ }
1215
+ case "fillSketch":
1216
+ this.fillSketch(Pe, Ie, Ne);
1217
+ }
1218
+ }
1219
+ fillSketch(ee, Me, Ne) {
1220
+ let Pe = Ne.fillWeight;
1221
+ Pe < 0 && (Pe = Ne.strokeWidth / 2), ee.save(), Ne.fillLineDash && ee.setLineDash(Ne.fillLineDash), Ne.fillLineDashOffset && (ee.lineDashOffset = Ne.fillLineDashOffset), ee.strokeStyle = Ne.fill || "", ee.lineWidth = Pe, this._drawToContext(ee, Me, Ne.fixedDecimalPlaceDigits), ee.restore();
1222
+ }
1223
+ _drawToContext(ee, Me, Ne, Pe = "nonzero") {
1224
+ ee.beginPath();
1225
+ for (let Pe2 of Me.ops) {
1226
+ let Me2 = typeof Ne == "number" && Ne >= 0 ? Pe2.data.map(((ee2) => +ee2.toFixed(Ne))) : Pe2.data;
1227
+ switch (Pe2.op) {
1228
+ case "move":
1229
+ ee.moveTo(Me2[0], Me2[1]);
1230
+ break;
1231
+ case "bcurveTo":
1232
+ ee.bezierCurveTo(Me2[0], Me2[1], Me2[2], Me2[3], Me2[4], Me2[5]);
1233
+ break;
1234
+ case "lineTo":
1235
+ ee.lineTo(Me2[0], Me2[1]);
1236
+ }
1237
+ }
1238
+ Me.type === "fillPath" ? ee.fill(Pe) : ee.stroke();
1239
+ }
1240
+ get generator() {
1241
+ return this.gen;
1242
+ }
1243
+ getDefaultOptions() {
1244
+ return this.gen.defaultOptions;
1245
+ }
1246
+ line(ee, Me, Ne, Pe, Fe) {
1247
+ let Ie = this.gen.line(ee, Me, Ne, Pe, Fe);
1248
+ return this.draw(Ie), Ie;
1249
+ }
1250
+ rectangle(ee, Me, Ne, Pe, Fe) {
1251
+ let Ie = this.gen.rectangle(ee, Me, Ne, Pe, Fe);
1252
+ return this.draw(Ie), Ie;
1253
+ }
1254
+ ellipse(ee, Me, Ne, Pe, Fe) {
1255
+ let Ie = this.gen.ellipse(ee, Me, Ne, Pe, Fe);
1256
+ return this.draw(Ie), Ie;
1257
+ }
1258
+ circle(ee, Me, Ne, Pe) {
1259
+ let Fe = this.gen.circle(ee, Me, Ne, Pe);
1260
+ return this.draw(Fe), Fe;
1261
+ }
1262
+ linearPath(ee, Me) {
1263
+ let Ne = this.gen.linearPath(ee, Me);
1264
+ return this.draw(Ne), Ne;
1265
+ }
1266
+ polygon(ee, Me) {
1267
+ let Ne = this.gen.polygon(ee, Me);
1268
+ return this.draw(Ne), Ne;
1269
+ }
1270
+ arc(ee, Me, Ne, Pe, Fe, Ie, Le = false, Re) {
1271
+ let ze = this.gen.arc(ee, Me, Ne, Pe, Fe, Ie, Le, Re);
1272
+ return this.draw(ze), ze;
1273
+ }
1274
+ curve(ee, Me) {
1275
+ let Ne = this.gen.curve(ee, Me);
1276
+ return this.draw(Ne), Ne;
1277
+ }
1278
+ path(ee, Me) {
1279
+ let Ne = this.gen.path(ee, Me);
1280
+ return this.draw(Ne), Ne;
1281
+ }
1282
+ }, nt = "http://www.w3.org/2000/svg", ot = class {
1283
+ constructor(ee, Me) {
1284
+ this.svg = ee, this.gen = new et(Me);
1285
+ }
1286
+ draw(ee) {
1287
+ let Me = ee.sets || [], Ne = ee.options || this.getDefaultOptions(), Pe = this.svg.ownerDocument || window.document, Fe = Pe.createElementNS(nt, "g"), Ie = ee.options.fixedDecimalPlaceDigits;
1288
+ for (let Le of Me) {
1289
+ let Me2 = null;
1290
+ switch (Le.type) {
1291
+ case "path":
1292
+ Me2 = Pe.createElementNS(nt, "path"), Me2.setAttribute("d", this.opsToPath(Le, Ie)), Me2.setAttribute("stroke", Ne.stroke), Me2.setAttribute("stroke-width", Ne.strokeWidth + ""), Me2.setAttribute("fill", "none"), Ne.strokeLineDash && Me2.setAttribute("stroke-dasharray", Ne.strokeLineDash.join(" ").trim()), Ne.strokeLineDashOffset && Me2.setAttribute("stroke-dashoffset", `${Ne.strokeLineDashOffset}`);
1293
+ break;
1294
+ case "fillPath":
1295
+ Me2 = Pe.createElementNS(nt, "path"), Me2.setAttribute("d", this.opsToPath(Le, Ie)), Me2.setAttribute("stroke", "none"), Me2.setAttribute("stroke-width", "0"), Me2.setAttribute("fill", Ne.fill || ""), ee.shape !== "curve" && ee.shape !== "polygon" || Me2.setAttribute("fill-rule", "evenodd");
1296
+ break;
1297
+ case "fillSketch":
1298
+ Me2 = this.fillSketch(Pe, Le, Ne);
1299
+ }
1300
+ Me2 && Fe.appendChild(Me2);
1301
+ }
1302
+ return Fe;
1303
+ }
1304
+ fillSketch(ee, Me, Ne) {
1305
+ let Pe = Ne.fillWeight;
1306
+ Pe < 0 && (Pe = Ne.strokeWidth / 2);
1307
+ let Fe = ee.createElementNS(nt, "path");
1308
+ return Fe.setAttribute("d", this.opsToPath(Me, Ne.fixedDecimalPlaceDigits)), Fe.setAttribute("stroke", Ne.fill || ""), Fe.setAttribute("stroke-width", Pe + ""), Fe.setAttribute("fill", "none"), Ne.fillLineDash && Fe.setAttribute("stroke-dasharray", Ne.fillLineDash.join(" ").trim()), Ne.fillLineDashOffset && Fe.setAttribute("stroke-dashoffset", `${Ne.fillLineDashOffset}`), Fe;
1309
+ }
1310
+ get generator() {
1311
+ return this.gen;
1312
+ }
1313
+ getDefaultOptions() {
1314
+ return this.gen.defaultOptions;
1315
+ }
1316
+ opsToPath(ee, Me) {
1317
+ return this.gen.opsToPath(ee, Me);
1318
+ }
1319
+ line(ee, Me, Ne, Pe, Fe) {
1320
+ let Ie = this.gen.line(ee, Me, Ne, Pe, Fe);
1321
+ return this.draw(Ie);
1322
+ }
1323
+ rectangle(ee, Me, Ne, Pe, Fe) {
1324
+ let Ie = this.gen.rectangle(ee, Me, Ne, Pe, Fe);
1325
+ return this.draw(Ie);
1326
+ }
1327
+ ellipse(ee, Me, Ne, Pe, Fe) {
1328
+ let Ie = this.gen.ellipse(ee, Me, Ne, Pe, Fe);
1329
+ return this.draw(Ie);
1330
+ }
1331
+ circle(ee, Me, Ne, Pe) {
1332
+ let Fe = this.gen.circle(ee, Me, Ne, Pe);
1333
+ return this.draw(Fe);
1334
+ }
1335
+ linearPath(ee, Me) {
1336
+ let Ne = this.gen.linearPath(ee, Me);
1337
+ return this.draw(Ne);
1338
+ }
1339
+ polygon(ee, Me) {
1340
+ let Ne = this.gen.polygon(ee, Me);
1341
+ return this.draw(Ne);
1342
+ }
1343
+ arc(ee, Me, Ne, Pe, Fe, Ie, Le = false, Re) {
1344
+ let ze = this.gen.arc(ee, Me, Ne, Pe, Fe, Ie, Le, Re);
1345
+ return this.draw(ze);
1346
+ }
1347
+ curve(ee, Me) {
1348
+ let Ne = this.gen.curve(ee, Me);
1349
+ return this.draw(Ne);
1350
+ }
1351
+ path(ee, Me) {
1352
+ let Ne = this.gen.path(ee, Me);
1353
+ return this.draw(Ne);
1354
+ }
1355
+ }, at = {
1356
+ canvas: (ee, Me) => new st(ee, Me),
1357
+ svg: (ee, Me) => new ot(ee, Me),
1358
+ generator: (ee) => new et(ee),
1359
+ newSeed: () => et.newSeed()
1360
+ };
1361
+ export {
1362
+ at as t
1363
+ };