@sjcrh/proteinpaint-client 2.182.0 → 2.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1004) hide show
  1. package/dist/2dmaf-6ZTETSC5.js +1371 -0
  2. package/dist/AIProjectAdmin-ZT3XKBBT.js +830 -0
  3. package/dist/AIProjectAdmin-ZT3XKBBT.js.map +7 -0
  4. package/dist/AppHeader-U7SJPIBS.js +833 -0
  5. package/dist/BoxPlot-QGHLZ67V.js +1217 -0
  6. package/dist/BoxPlot-QGHLZ67V.js.map +7 -0
  7. package/dist/CorrelationVolcano-7SE4CTBW.js +617 -0
  8. package/dist/DE-PZ7RHPBS.js +93 -0
  9. package/dist/DEinput-UZEQIU2V.js +297 -0
  10. package/dist/DifferentialAnalysis-L6BOEYVO.js +238 -0
  11. package/dist/Disco-6FDT6KRM.js +3235 -0
  12. package/dist/Disco-6FDT6KRM.js.map +7 -0
  13. package/dist/Disco.UI-HKOUAD4P.js +242 -0
  14. package/dist/DmrPlot-3R24PTXP.js +640 -0
  15. package/dist/GB-SZVYZASR.js +1125 -0
  16. package/dist/HicApp-SEEJETVE.js +2248 -0
  17. package/dist/NumBinaryEditor-SDQFJ3FW.js +268 -0
  18. package/dist/NumBinaryEditor.unit.spec-76ZZXTYC.js +284 -0
  19. package/dist/NumContEditor-G75O4YZE.js +105 -0
  20. package/dist/NumContEditor.unit.spec-BFUZRBPL.js +167 -0
  21. package/dist/NumCustomBinEditor-ILTPHCEF.js +36 -0
  22. package/dist/NumCustomBinEditor.unit.spec-GFIYV55V.js +282 -0
  23. package/dist/NumDiscreteEditor-5K3OKUOE.js +177 -0
  24. package/dist/NumDiscreteEditor.unit.spec-NZ4KWPFK.js +200 -0
  25. package/dist/NumRegularBinEditor-7ZJ2MEMY.js +36 -0
  26. package/dist/NumRegularBinEditor.unit.spec-QGVJET65.js +225 -0
  27. package/dist/NumSplineEditor-KE4UPODZ.js +190 -0
  28. package/dist/NumSplineEditor.unit.spec-YQOOZA7S.js +197 -0
  29. package/dist/NumericDensity-RL42P4QC.js +36 -0
  30. package/dist/NumericDensity.unit.spec-Y6RMTYC7.js +219 -0
  31. package/dist/NumericHandler-4QIX324I.js +37 -0
  32. package/dist/NumericHandler.unit.spec-T6F5QYP6.js +217 -0
  33. package/dist/RunChart2-ASGCKKER.js +756 -0
  34. package/dist/RunChart2-ASGCKKER.js.map +7 -0
  35. package/dist/SC-H2YCKSBH.js +682 -0
  36. package/dist/SC-H2YCKSBH.js.map +7 -0
  37. package/dist/Volcano-QBYYJYVW.js +1185 -0
  38. package/dist/Volcano-QBYYJYVW.js.map +7 -0
  39. package/dist/WSIViewer-NDHWFVAB.js +47974 -0
  40. package/dist/WSIViewer-NDHWFVAB.js.map +7 -0
  41. package/dist/WsiSamplesPlot-CXGWPCDL.js +163 -0
  42. package/dist/adSandbox-DE4VRO4Z.js +36 -0
  43. package/dist/alphaGenome-FSIGC5ZT.js +173 -0
  44. package/dist/app-KZGKWQMU.js +47 -0
  45. package/dist/app-MQRJ7FVL.js +35 -0
  46. package/dist/app.js +22 -22
  47. package/dist/bam-BDWTA4O3.js +857 -0
  48. package/dist/barchart-4Q6LVJY4.js +45 -0
  49. package/dist/barchart.data-EXENRVMU.js +22 -0
  50. package/dist/barchart.events-XRGND6I7.js +45 -0
  51. package/dist/barchart.integration.spec-VQITP4YH.js +1675 -0
  52. package/dist/bars.renderer-S7A7I6BQ.js +12 -0
  53. package/dist/block-2MABX5QO.js +6200 -0
  54. package/dist/block-2MABX5QO.js.map +7 -0
  55. package/dist/block.init-NCNSE3HD.js +36 -0
  56. package/dist/block.mds.expressionrank-JYZARS7T.js +357 -0
  57. package/dist/block.mds.geneboxplot-FD2MCIHV.js +826 -0
  58. package/dist/block.mds.junction-LOHVQBIU.js +1543 -0
  59. package/dist/block.mds.svcnv-Z7SAYPQL.js +6799 -0
  60. package/dist/block.svg-LNJOKQNN.js +162 -0
  61. package/dist/block.tk.aicheck-IXCMMAGV.js +281 -0
  62. package/dist/block.tk.ase-WYRYFP6N.js +363 -0
  63. package/dist/block.tk.bam-EIVBNGAL.js +1904 -0
  64. package/dist/block.tk.bedgraphdot-3FHLNCU7.js +382 -0
  65. package/dist/block.tk.bigwig.ui-YDQU5PC4.js +209 -0
  66. package/dist/block.tk.hicstraw-S3ROL3CV.js +821 -0
  67. package/dist/block.tk.junction-DL7RNWX3.js +2362 -0
  68. package/dist/block.tk.junction.textmatrixui-Z6I7IEDY.js +197 -0
  69. package/dist/block.tk.ld-XHVU6L56.js +97 -0
  70. package/dist/block.tk.menu-FPLAEEFY.js +1027 -0
  71. package/dist/block.tk.pgv-6ZZ2QGNO.js +942 -0
  72. package/dist/brainImaging-VSOOMITW.js +421 -0
  73. package/dist/chat-LW23PIG5.js +148 -0
  74. package/dist/chunk-2A2KM5DU.js +117 -0
  75. package/dist/chunk-2A2KM5DU.js.map +7 -0
  76. package/dist/chunk-2K5DSRBJ.js +84 -0
  77. package/dist/chunk-2K5DSRBJ.js.map +7 -0
  78. package/dist/chunk-2LULD7RN.js +31 -0
  79. package/dist/chunk-36DYWBU7.js +514 -0
  80. package/dist/chunk-36DYWBU7.js.map +7 -0
  81. package/dist/chunk-3AGB6HL4.js +158 -0
  82. package/dist/chunk-3AVDNIDN.js +55 -0
  83. package/dist/chunk-3DCABJHB.js +381 -0
  84. package/dist/chunk-3JMB3OSC.js +102 -0
  85. package/dist/chunk-3UEMY45Y.js +215 -0
  86. package/dist/chunk-4RR4KPRJ.js +1205 -0
  87. package/dist/chunk-5HCB4HNL.js +147 -0
  88. package/dist/chunk-5RFB7TYT.js +92 -0
  89. package/dist/chunk-5UMPBVA6.js +534 -0
  90. package/dist/chunk-6C2SBTLR.js +407 -0
  91. package/dist/chunk-6ITDJ5UR.js +261 -0
  92. package/dist/chunk-6ITDJ5UR.js.map +7 -0
  93. package/dist/chunk-6LAE5AVA.js +13624 -0
  94. package/dist/chunk-77ZJGPK2.js +289 -0
  95. package/dist/chunk-77ZJGPK2.js.map +7 -0
  96. package/dist/chunk-7FKIAQ4K.js +17 -0
  97. package/dist/chunk-7FKIAQ4K.js.map +7 -0
  98. package/dist/chunk-7RN3L2BX.js +1788 -0
  99. package/dist/chunk-7RN3L2BX.js.map +7 -0
  100. package/dist/chunk-7VV43ICF.js +272 -0
  101. package/dist/chunk-A6TQGNDQ.js +421 -0
  102. package/dist/chunk-A6TQGNDQ.js.map +7 -0
  103. package/dist/chunk-A742TQD2.js +615 -0
  104. package/dist/chunk-A7E3JZ5P.js +56 -0
  105. package/dist/chunk-A7E3JZ5P.js.map +7 -0
  106. package/dist/chunk-AFLFPYJI.js +480 -0
  107. package/dist/chunk-APOHXHKH.js +526 -0
  108. package/dist/chunk-APOHXHKH.js.map +7 -0
  109. package/dist/chunk-AQ4OP4GR.js +39 -0
  110. package/dist/chunk-BAY47D5E.js +226 -0
  111. package/dist/chunk-CFHKYLDY.js +26 -0
  112. package/dist/chunk-CTAKX5CT.js +129 -0
  113. package/dist/chunk-CVBQWXLH.js +455 -0
  114. package/dist/chunk-CVBQWXLH.js.map +7 -0
  115. package/dist/chunk-D4QFQQWJ.js +170 -0
  116. package/dist/chunk-DGMK7SXX.js +203 -0
  117. package/dist/chunk-DNCSPTOQ.js +446 -0
  118. package/dist/chunk-DTDQKGIQ.js +2672 -0
  119. package/dist/chunk-E4NVHKWD.js +142 -0
  120. package/dist/chunk-E6KEZENR.js +4207 -0
  121. package/dist/chunk-EY2KBPHJ.js +261 -0
  122. package/dist/chunk-EY2KBPHJ.js.map +7 -0
  123. package/dist/chunk-FRBYOOWT.js +229 -0
  124. package/dist/chunk-FVWCYGJL.js +121 -0
  125. package/dist/chunk-HWHG63LH.js +148 -0
  126. package/dist/chunk-HWHG63LH.js.map +7 -0
  127. package/dist/chunk-HYZG6OPC.js +467 -0
  128. package/dist/chunk-HYZG6OPC.js.map +7 -0
  129. package/dist/chunk-I4IKRKYJ.js +2815 -0
  130. package/dist/chunk-IEQSUAIO.js +6364 -0
  131. package/dist/chunk-IET6P5MV.js +335 -0
  132. package/dist/chunk-IET6P5MV.js.map +7 -0
  133. package/dist/chunk-JMPSZMDD.js +52 -0
  134. package/dist/chunk-JXOL73PT.js +2784 -0
  135. package/dist/chunk-K62XUHA4.js +100 -0
  136. package/dist/chunk-KQMEJUWI.js +815 -0
  137. package/dist/chunk-L4QG7XZE.js +46 -0
  138. package/dist/chunk-L4QG7XZE.js.map +7 -0
  139. package/dist/chunk-L4YGMXLX.js +37 -0
  140. package/dist/chunk-L4YGMXLX.js.map +7 -0
  141. package/dist/chunk-LI7FE335.js +371 -0
  142. package/dist/chunk-M7W2GYSM.js +4961 -0
  143. package/dist/chunk-M7W2GYSM.js.map +7 -0
  144. package/dist/chunk-MV6O4I2B.js +441 -0
  145. package/dist/chunk-MXNSW55L.js +148 -0
  146. package/dist/chunk-NB7NLFGZ.js +228 -0
  147. package/dist/chunk-NGGWK6HX.js +302 -0
  148. package/dist/chunk-OGGFS66K.js +1087 -0
  149. package/dist/chunk-OSM7YS23.js +276 -0
  150. package/dist/chunk-OSM7YS23.js.map +7 -0
  151. package/dist/chunk-OXJ2TWDO.js +20644 -0
  152. package/dist/chunk-OXJ2TWDO.js.map +7 -0
  153. package/dist/chunk-Q7PYFSNU.js +107 -0
  154. package/dist/chunk-QMI222IJ.js +386 -0
  155. package/dist/chunk-QRIRWDIW.js +252 -0
  156. package/dist/chunk-R6L6NVEC.js +14 -0
  157. package/dist/chunk-RLTLYKHO.js +34 -0
  158. package/dist/chunk-S5ZI6N2I.js +293 -0
  159. package/dist/chunk-S7T7OZC7.js +158 -0
  160. package/dist/chunk-SEQLC4AD.js +177 -0
  161. package/dist/chunk-TEZLFSOV.js +54 -0
  162. package/dist/chunk-TFI7ZZJG.js +50 -0
  163. package/dist/chunk-TFI7ZZJG.js.map +7 -0
  164. package/dist/chunk-TV74I3Y5.js +43 -0
  165. package/dist/chunk-TV74I3Y5.js.map +7 -0
  166. package/dist/chunk-UEMTP6ZC.js +824 -0
  167. package/dist/chunk-UJU3Q7QJ.js +119 -0
  168. package/dist/chunk-V245THQC.js +2370 -0
  169. package/dist/chunk-V245THQC.js.map +7 -0
  170. package/dist/chunk-V6DLLX4N.js +176 -0
  171. package/dist/chunk-V6DLLX4N.js.map +7 -0
  172. package/dist/chunk-VIPMLSZP.js +217 -0
  173. package/dist/chunk-VQPS4SXU.js +97 -0
  174. package/dist/chunk-VQPS4SXU.js.map +7 -0
  175. package/dist/chunk-VUUZJANK.js +1150 -0
  176. package/dist/chunk-VYIO7T6J.js +82 -0
  177. package/dist/chunk-VYIO7T6J.js.map +7 -0
  178. package/dist/chunk-W345H42C.js +273 -0
  179. package/dist/chunk-W345H42C.js.map +7 -0
  180. package/dist/chunk-WGHO2NCP.js +205 -0
  181. package/dist/chunk-WGL6FIUE.js +330 -0
  182. package/dist/chunk-WGL6FIUE.js.map +7 -0
  183. package/dist/chunk-WPHOEG56.js +194 -0
  184. package/dist/chunk-WS5XVKPJ.js +470 -0
  185. package/dist/chunk-X6URQAFD.js +1271 -0
  186. package/dist/chunk-XYFDBYOY.js +1658 -0
  187. package/dist/chunk-XYFDBYOY.js.map +7 -0
  188. package/dist/chunk-Y6RCKITI.js +1155 -0
  189. package/dist/chunk-Y6RCKITI.js.map +7 -0
  190. package/dist/chunk-YALAQWX4.js +368 -0
  191. package/dist/chunk-YK5NFMHR.js +269 -0
  192. package/dist/chunk-YK5NFMHR.js.map +7 -0
  193. package/dist/chunk-YY4CKQJ6.js +95 -0
  194. package/dist/chunk-Z3KV6SC2.js +629 -0
  195. package/dist/chunk-ZGT4XP5J.js +1426 -0
  196. package/dist/chunk-ZGT4XP5J.js.map +7 -0
  197. package/dist/condition-JKQIRMMW.js +330 -0
  198. package/dist/controls-324AGOZG.js +39 -0
  199. package/dist/controls.config-TA4NNARU.js +37 -0
  200. package/dist/correlation-3Z36TKC2.js +96 -0
  201. package/dist/cuminc-4DY2CSZF.js +1147 -0
  202. package/dist/cuminc.integration.spec-SFQPLMSF.js +676 -0
  203. package/dist/customdata.inputui-IKGPEBXV.js +287 -0
  204. package/dist/customdata.inputui-IKGPEBXV.js.map +7 -0
  205. package/dist/dataDownload-3AE2N7KI.js +328 -0
  206. package/dist/dataDownload.integration.spec-DKOT6BJP.js +191 -0
  207. package/dist/databrowser.ui-ATODRS5P.js +419 -0
  208. package/dist/dictionary-WHDZBW5M.js +109 -0
  209. package/dist/dictionary-WHDZBW5M.js.map +7 -0
  210. package/dist/dnaMethylation-TVA5YMOR.js +36 -0
  211. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js +165 -0
  212. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js.map +7 -0
  213. package/dist/e2pca-KHVDNFEZ.js +348 -0
  214. package/dist/ep-B5GAAMNM.js +1254 -0
  215. package/dist/expclust.gdc.spec-EDPX7V6K.js +305 -0
  216. package/dist/facet-ZCSXKXIO.js +519 -0
  217. package/dist/geneExpClustering-ERNCMAED.js +246 -0
  218. package/dist/geneExpression-HUOXWETT.js +36 -0
  219. package/dist/geneExpression-X2KXJPND.js +312 -0
  220. package/dist/geneExpression.unit.spec-5QQB4ISW.js +100 -0
  221. package/dist/geneORA-B5UK77KL.js +276 -0
  222. package/dist/geneVariant-7MGUAIZ6.js +39 -0
  223. package/dist/geneVariant-FK3KZJ2K.js +37 -0
  224. package/dist/geneVariant.integration.spec-C6TYWKIC.js +196 -0
  225. package/dist/genefusion.ui-VKAINMY7.js +249 -0
  226. package/dist/geneset-673KAZVX.js +194 -0
  227. package/dist/genomeBrowser.spec-T6TQCJ3O.js +279 -0
  228. package/dist/grin2-376BD4XY.js +1554 -0
  229. package/dist/grin2-OALS75LC.js +1031 -0
  230. package/dist/gsea-25LD2LGP.js +45 -0
  231. package/dist/hierCluster-7KU3K52V.js +58 -0
  232. package/dist/hierCluster-M5VVWKQK.js +62 -0
  233. package/dist/hierCluster.config-EDO3SH2P.js +38 -0
  234. package/dist/hierCluster.integration.spec-UOX7J2XD.js +374 -0
  235. package/dist/hierCluster.interactivity-FEFZDXML.js +52 -0
  236. package/dist/hierCluster.renderers-A6MEGO2B.js +21 -0
  237. package/dist/imagePlot-FPXZ2H5Z.js +139 -0
  238. package/dist/importPlot-VKWPSFEK.js +8 -0
  239. package/dist/isoformExpression-2R2TOB6P.js +38 -0
  240. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js +206 -0
  241. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js.map +7 -0
  242. package/dist/jspdf.es.min-FC3BCETM.js +40 -0
  243. package/dist/launch.adhoc-242RS6DW.js +40 -0
  244. package/dist/leftlabel.sample-OJW3AE64.js +257 -0
  245. package/dist/legacyDataset-PBCPC5I7.js +119 -0
  246. package/dist/lollipop-TRQ3LK7Y.js +166 -0
  247. package/dist/maf-ZBOLN2FE.js +450 -0
  248. package/dist/maftimeline-GVX7NJP7.js +591 -0
  249. package/dist/matrix-73KRNXLM.js +57 -0
  250. package/dist/matrix-US3OXYRY.js +62 -0
  251. package/dist/matrix.cells-U7AQNEBP.js +28 -0
  252. package/dist/matrix.config-Q57D7C3F.js +39 -0
  253. package/dist/matrix.controls-AWXDRSWP.js +37 -0
  254. package/dist/matrix.data-EEIY6AO4.js +25 -0
  255. package/dist/matrix.dom-6QL3AJMW.js +11 -0
  256. package/dist/matrix.groups-CUB6UWC5.js +26 -0
  257. package/dist/matrix.integration.spec-PQH67KRM.js +3070 -0
  258. package/dist/matrix.interactivity-JW4AXAWO.js +40 -0
  259. package/dist/matrix.layout-I56KRVCO.js +42 -0
  260. package/dist/matrix.legend-42LQGAGX.js +22 -0
  261. package/dist/matrix.renderers-IX3FCNBK.js +36 -0
  262. package/dist/matrix.serieses-4B2WB526.js +21 -0
  263. package/dist/matrix.sort-BJACNR7G.js +27 -0
  264. package/dist/matrix.sort.unit.spec-3KKDKIPY.js +470 -0
  265. package/dist/matrix.sorterUi-W6XFYZY2.js +18 -0
  266. package/dist/matrix.sorterUi.unit.spec-CMJ7EBIW.js +340 -0
  267. package/dist/mavb-ROAE6WYA.js +730 -0
  268. package/dist/mds.fimo-UGK5OWCF.js +516 -0
  269. package/dist/mds.samplescatterplot-5KFUAYSB.js +1548 -0
  270. package/dist/mds.survivalplot-2EVNZUX5.js +481 -0
  271. package/dist/oncomatrix-UGFXSXQJ.js +293 -0
  272. package/dist/oncomatrix.spec-FEP7BR7L.js +446 -0
  273. package/dist/plot.2dvaf-WXGLWCOC.js +375 -0
  274. package/dist/plot.app-IZAFRTBU.js +39 -0
  275. package/dist/plot.barplot-Z4VWOPFJ.js +100 -0
  276. package/dist/plot.boxplot-QU2KZSB7.js +150 -0
  277. package/dist/plot.brainImaging-U643YIK7.js +51 -0
  278. package/dist/plot.disco-3BV6YEBC.js +101 -0
  279. package/dist/plot.disco-3BV6YEBC.js.map +7 -0
  280. package/dist/plot.dzi-DWXPOOQE.js +33 -0
  281. package/dist/plot.ssgq-GXB2GZO3.js +137 -0
  282. package/dist/plot.vaf2cov-EKRIADPB.js +257 -0
  283. package/dist/plot.wsi-E2LLE6HI.js +36 -0
  284. package/dist/polar-MZLIUXHO.js +184 -0
  285. package/dist/polar2-IUVHNQM4.js +226 -0
  286. package/dist/profile.spec-JRW6KYUI.js +78 -0
  287. package/dist/profileBarchart-N7HJMYZ5.js +265 -0
  288. package/dist/profileForms-Q5TPGPQP.js +438 -0
  289. package/dist/profilePlot-TXTUYDVE.js +52 -0
  290. package/dist/profileRadar-ICEASI7W.js +261 -0
  291. package/dist/profileRadarFacility-NFMRNJYX.js +261 -0
  292. package/dist/profileRadarFacility-NFMRNJYX.js.map +7 -0
  293. package/dist/proteinView-K3JFNORQ.js +633 -0
  294. package/dist/proteinView-K3JFNORQ.js.map +7 -0
  295. package/dist/proteomeAbundance-DE4NVBCN.js +21 -0
  296. package/dist/proteomeAbundance-LTB3QR3G.js +63 -0
  297. package/dist/qualitative-DFGWQURY.js +41 -0
  298. package/dist/regression-TTQTAEGD.js +54 -0
  299. package/dist/regression.inputs-2LU2XRGC.js +46 -0
  300. package/dist/regression.inputs.term-G57GL57T.js +46 -0
  301. package/dist/regression.inputs.values.table-JSEM3PXL.js +43 -0
  302. package/dist/regression.integration.spec-XJQJAIC3.js +782 -0
  303. package/dist/regression.integration.spec-XJQJAIC3.js.map +7 -0
  304. package/dist/regression.results-3YNM6LLQ.js +38 -0
  305. package/dist/regression.spec-S6WFCPSW.js +706 -0
  306. package/dist/report-YRAV4MY4.js +220 -0
  307. package/dist/sampleScatter.spec-MBJ4XNTX.js +200 -0
  308. package/dist/sampleView-IUR3ZEN7.js +46 -0
  309. package/dist/samplelst-C2NBFGH6.js +109 -0
  310. package/dist/samplematrix-AOK2HHSB.js +2196 -0
  311. package/dist/sc-XT3Z5XJI.js +84 -0
  312. package/dist/scatter-SAHKZRFL.js +800 -0
  313. package/dist/scatter.integration.spec-6KRDNHHH.js +1194 -0
  314. package/dist/scatter.integration.spec-6KRDNHHH.js.map +7 -0
  315. package/dist/selectGenomeWithTklst-2YVZ4JWV.js +132 -0
  316. package/dist/singleCellCellType-NFN5GQJM.js +36 -0
  317. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js +158 -0
  318. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js.map +7 -0
  319. package/dist/singleCellGeneExpression-7AQGLXTR.js +36 -0
  320. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js +151 -0
  321. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js.map +7 -0
  322. package/dist/singleCellPlot-IWFEG44C.js +51 -0
  323. package/dist/singlecell-3QNV4OMZ.js +1570 -0
  324. package/dist/singlecell-EATPLH66.js +84 -0
  325. package/dist/snp-UP7WL7WG.js +36 -0
  326. package/dist/snp.unit.spec-Y5NWQ442.js +174 -0
  327. package/dist/snplocus-WAQK2AZG.js +206 -0
  328. package/dist/spliceevent.a53ss.diagram-FFK27UIB.js +149 -0
  329. package/dist/spliceevent.exonskip.diagram-KWEF2OZJ.js +275 -0
  330. package/dist/spliceevent.noeventdiagram-PU4TI7OM.js +458 -0
  331. package/dist/ssGSEA-N6QOAVLW.js +36 -0
  332. package/dist/ssGSEA.unit.spec-KQBNZNNP.js +86 -0
  333. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js +161 -0
  334. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js.map +7 -0
  335. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js +106 -0
  336. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js.map +7 -0
  337. package/dist/summarizeMutationCnv-VV7CVAA7.js +162 -0
  338. package/dist/summarizeMutationCnv-VV7CVAA7.js.map +7 -0
  339. package/dist/summarizeMutationDiagnosis-5RHSG7L6.js +38 -0
  340. package/dist/summarizeMutationSurvival-22YYXGS5.js +97 -0
  341. package/dist/summary-P3WIKJS7.js +47 -0
  342. package/dist/summary.integration.spec-ULGRPICW.js +412 -0
  343. package/dist/summaryInput-IH4EVNF5.js +218 -0
  344. package/dist/sunburst-VJJ3UVYC.js +282 -0
  345. package/dist/sunburst-VJJ3UVYC.js.map +7 -0
  346. package/dist/survival-2ZE3N62A.js +44 -0
  347. package/dist/survival-ASCLKIII.js +56 -0
  348. package/dist/survival.integration.spec-C5YXOY77.js +787 -0
  349. package/dist/svg2pdf.es.min-CYTPRWNB.js +3157 -0
  350. package/dist/svgraph-AYR2UPNK.js +1385 -0
  351. package/dist/svmr-MOMW5DNY.js +3840 -0
  352. package/dist/table-PQB6KCEY.js +198 -0
  353. package/dist/termCollection-5AY2AWT4.js +36 -0
  354. package/dist/termCollection-OQMUUTW6.js +177 -0
  355. package/dist/termCollection.unit.spec-BUAXYIJK.js +206 -0
  356. package/dist/tk-EJLFFA5H.js +44 -0
  357. package/dist/tp.ui-WUW6A7KP.js +1457 -0
  358. package/dist/tvs.density-HSVPDDGA.js +18 -0
  359. package/dist/tvs.dt-MVJXQMNU.js +37 -0
  360. package/dist/tvs.dtcnv.categorical-FIIDWVK7.js +38 -0
  361. package/dist/tvs.dtcnv.continuous-JPQU3JA2.js +70 -0
  362. package/dist/tvs.dtfusion-BW35GOQM.js +38 -0
  363. package/dist/tvs.dtsnvindel-AEMFZ4EH.js +38 -0
  364. package/dist/tvs.dtsv-JHTU7UFD.js +38 -0
  365. package/dist/tvs.numeric-ICUGA4WY.js +21 -0
  366. package/dist/tvs.samplelst-VD2NFFFS.js +102 -0
  367. package/dist/tvs.termCollection-IKE5Q74D.js +151 -0
  368. package/dist/violin-DPMJLHQG.js +44 -0
  369. package/dist/violin.integration.spec-A4PNR4ES.js +1423 -0
  370. package/dist/violin.integration.spec-A4PNR4ES.js.map +7 -0
  371. package/dist/violin.interactivity-TS4DYUE5.js +36 -0
  372. package/dist/violin.renderer-53L4PXUT.js +38 -0
  373. package/dist/vocabulary-4MPFHKYC.js +39 -0
  374. package/package.json +3 -3
  375. package/dist/2dmaf-SLBAWGPG.js +0 -1371
  376. package/dist/AIProjectAdmin-6SH5X3AF.js +0 -830
  377. package/dist/AIProjectAdmin-6SH5X3AF.js.map +0 -7
  378. package/dist/AppHeader-MVYNRMC7.js +0 -833
  379. package/dist/BoxPlot-HLGWW3IK.js +0 -1295
  380. package/dist/BoxPlot-HLGWW3IK.js.map +0 -7
  381. package/dist/CorrelationVolcano-TZCYC3NI.js +0 -617
  382. package/dist/DE-2J2SK5UT.js +0 -93
  383. package/dist/DEinput-QM3GOQHM.js +0 -297
  384. package/dist/DifferentialAnalysis-DS7CQOT6.js +0 -238
  385. package/dist/Disco-U5I6NJUT.js +0 -3199
  386. package/dist/Disco-U5I6NJUT.js.map +0 -7
  387. package/dist/Disco.UI-J2B7GGEZ.js +0 -242
  388. package/dist/DmrPlot-D5W76QPY.js +0 -640
  389. package/dist/GB-LM5SGUG4.js +0 -1125
  390. package/dist/HicApp-YNBGAGKM.js +0 -2248
  391. package/dist/NumBinaryEditor-4QA5DQJT.js +0 -268
  392. package/dist/NumBinaryEditor.unit.spec-YWSIFTOJ.js +0 -284
  393. package/dist/NumContEditor-ZPLVZFLH.js +0 -105
  394. package/dist/NumContEditor.unit.spec-NBCFOCOX.js +0 -167
  395. package/dist/NumCustomBinEditor-TXEYRVPL.js +0 -36
  396. package/dist/NumCustomBinEditor.unit.spec-SQM63H4B.js +0 -282
  397. package/dist/NumDiscreteEditor-6C4OWX62.js +0 -177
  398. package/dist/NumDiscreteEditor.unit.spec-4HC4AGAM.js +0 -200
  399. package/dist/NumRegularBinEditor-VQAS3OXK.js +0 -36
  400. package/dist/NumRegularBinEditor.unit.spec-RGVEPB3Z.js +0 -225
  401. package/dist/NumSplineEditor-SXOJICHU.js +0 -190
  402. package/dist/NumSplineEditor.unit.spec-HF5E6ANH.js +0 -197
  403. package/dist/NumericDensity-LMLPMOSE.js +0 -36
  404. package/dist/NumericDensity.unit.spec-3ZI5EVON.js +0 -219
  405. package/dist/NumericHandler-Q6F6ANOS.js +0 -37
  406. package/dist/NumericHandler.unit.spec-E6Z5HUNZ.js +0 -217
  407. package/dist/RunChart2-XSNWNAIL.js +0 -756
  408. package/dist/RunChart2-XSNWNAIL.js.map +0 -7
  409. package/dist/SC-RA46YM57.js +0 -733
  410. package/dist/SC-RA46YM57.js.map +0 -7
  411. package/dist/Volcano-75UDYPVB.js +0 -1187
  412. package/dist/Volcano-75UDYPVB.js.map +0 -7
  413. package/dist/WSIViewer-GYUUXCSJ.js +0 -47933
  414. package/dist/WSIViewer-GYUUXCSJ.js.map +0 -7
  415. package/dist/WsiSamplesPlot-KMI5S2EL.js +0 -163
  416. package/dist/adSandbox-JTK5XEQL.js +0 -36
  417. package/dist/alphaGenome-JRAV6WIY.js +0 -173
  418. package/dist/app-JKDZL23V.js +0 -35
  419. package/dist/app-OEARXM6E.js +0 -47
  420. package/dist/bam-CYEPLBK4.js +0 -857
  421. package/dist/barchart-GG5UFDG4.js +0 -45
  422. package/dist/barchart.data-KXA66FAL.js +0 -22
  423. package/dist/barchart.events-P2USOIR7.js +0 -45
  424. package/dist/barchart.integration.spec-5QSPQQLJ.js +0 -1675
  425. package/dist/bars.renderer-T5R3UIBW.js +0 -12
  426. package/dist/block-6DVPQBSH.js +0 -6200
  427. package/dist/block-6DVPQBSH.js.map +0 -7
  428. package/dist/block.init-ZHX6DFWF.js +0 -36
  429. package/dist/block.mds.expressionrank-YMGYXXYT.js +0 -357
  430. package/dist/block.mds.geneboxplot-IAILQYX4.js +0 -826
  431. package/dist/block.mds.junction-BRNFNQMU.js +0 -1543
  432. package/dist/block.mds.svcnv-OHKC7YPO.js +0 -6799
  433. package/dist/block.svg-PNGK45HW.js +0 -162
  434. package/dist/block.tk.aicheck-SCIOJ4WN.js +0 -281
  435. package/dist/block.tk.ase-BABJ73GG.js +0 -363
  436. package/dist/block.tk.bam-LZWJ5BCQ.js +0 -1904
  437. package/dist/block.tk.bedgraphdot-7NQLC3XJ.js +0 -382
  438. package/dist/block.tk.bigwig.ui-VNY4SFD5.js +0 -209
  439. package/dist/block.tk.hicstraw-36A7VDRM.js +0 -821
  440. package/dist/block.tk.junction-D373YEMK.js +0 -2362
  441. package/dist/block.tk.junction.textmatrixui-FFII7J3X.js +0 -197
  442. package/dist/block.tk.ld-XGB6KMDO.js +0 -97
  443. package/dist/block.tk.menu-PEZANZBZ.js +0 -1027
  444. package/dist/block.tk.pgv-MU5BPTT2.js +0 -942
  445. package/dist/brainImaging-LVJON47N.js +0 -421
  446. package/dist/chat-5FDIAQJ4.js +0 -148
  447. package/dist/chunk-22NJUYET.js +0 -281
  448. package/dist/chunk-22NJUYET.js.map +0 -7
  449. package/dist/chunk-2J3566TA.js +0 -215
  450. package/dist/chunk-2OSEZCWZ.js +0 -205
  451. package/dist/chunk-2SRMRC6L.js +0 -421
  452. package/dist/chunk-2SRMRC6L.js.map +0 -7
  453. package/dist/chunk-5OHXYXLD.js +0 -46
  454. package/dist/chunk-5OHXYXLD.js.map +0 -7
  455. package/dist/chunk-6MSCYO7K.js +0 -119
  456. package/dist/chunk-75EBDB7G.js +0 -21
  457. package/dist/chunk-75EBDB7G.js.map +0 -7
  458. package/dist/chunk-7A7NMCQ3.js +0 -534
  459. package/dist/chunk-7FEHI46K.js +0 -20456
  460. package/dist/chunk-7FEHI46K.js.map +0 -7
  461. package/dist/chunk-AETE4F7R.js +0 -252
  462. package/dist/chunk-AZYDW5T7.js +0 -441
  463. package/dist/chunk-B6HCIAM3.js +0 -34
  464. package/dist/chunk-BEWDIM6H.js +0 -42
  465. package/dist/chunk-BEWDIM6H.js.map +0 -7
  466. package/dist/chunk-CCIZJAXB.js +0 -2815
  467. package/dist/chunk-DHZL3FBC.js +0 -107
  468. package/dist/chunk-DONWY7TP.js +0 -39
  469. package/dist/chunk-DVDDXOWT.js +0 -815
  470. package/dist/chunk-E6DRQJJT.js +0 -480
  471. package/dist/chunk-ESKU6LNC.js +0 -36
  472. package/dist/chunk-ESKU6LNC.js.map +0 -7
  473. package/dist/chunk-F6V4AYWP.js +0 -177
  474. package/dist/chunk-FBAJTPBU.js +0 -302
  475. package/dist/chunk-FGMPKWT5.js +0 -371
  476. package/dist/chunk-FK4MYVW2.js +0 -261
  477. package/dist/chunk-FK4MYVW2.js.map +0 -7
  478. package/dist/chunk-FMBJ4SKC.js +0 -98
  479. package/dist/chunk-FMBJ4SKC.js.map +0 -7
  480. package/dist/chunk-FOEZG4VX.js +0 -505
  481. package/dist/chunk-FOEZG4VX.js.map +0 -7
  482. package/dist/chunk-FQRLSKJC.js +0 -226
  483. package/dist/chunk-G6ELKVBG.js +0 -629
  484. package/dist/chunk-GKK3CZ6H.js +0 -4207
  485. package/dist/chunk-GO5SIPFE.js +0 -194
  486. package/dist/chunk-GPOECA3V.js +0 -386
  487. package/dist/chunk-GTOY3JJO.js +0 -288
  488. package/dist/chunk-GTOY3JJO.js.map +0 -7
  489. package/dist/chunk-GW7DHJYH.js +0 -439
  490. package/dist/chunk-GW7DHJYH.js.map +0 -7
  491. package/dist/chunk-H2D7EVUA.js +0 -158
  492. package/dist/chunk-H2K5KZP7.js +0 -95
  493. package/dist/chunk-H5XFH3FV.js +0 -153
  494. package/dist/chunk-H5XFH3FV.js.map +0 -7
  495. package/dist/chunk-HAMDFQIX.js +0 -228
  496. package/dist/chunk-HH4QLSTK.js +0 -4952
  497. package/dist/chunk-HH4QLSTK.js.map +0 -7
  498. package/dist/chunk-IBTPGSYI.js +0 -526
  499. package/dist/chunk-IBTPGSYI.js.map +0 -7
  500. package/dist/chunk-IC7SUXJD.js +0 -82
  501. package/dist/chunk-IC7SUXJD.js.map +0 -7
  502. package/dist/chunk-IGEQI6MR.js +0 -1561
  503. package/dist/chunk-IGEQI6MR.js.map +0 -7
  504. package/dist/chunk-IIRU6VK2.js +0 -2672
  505. package/dist/chunk-ILF2GKBY.js +0 -1205
  506. package/dist/chunk-IP4T477W.js +0 -92
  507. package/dist/chunk-IQIXGTQV.js +0 -84
  508. package/dist/chunk-IQIXGTQV.js.map +0 -7
  509. package/dist/chunk-IXT4U5CE.js +0 -91
  510. package/dist/chunk-IXT4U5CE.js.map +0 -7
  511. package/dist/chunk-JHOGX5VE.js +0 -272
  512. package/dist/chunk-JOXUBWN3.js +0 -381
  513. package/dist/chunk-K57RR3FD.js +0 -142
  514. package/dist/chunk-K6JLCMVL.js +0 -129
  515. package/dist/chunk-KISFQDQE.js +0 -258
  516. package/dist/chunk-KISFQDQE.js.map +0 -7
  517. package/dist/chunk-KSFSM46X.js +0 -100
  518. package/dist/chunk-KVG7FTTK.js +0 -470
  519. package/dist/chunk-LEDPPLQK.js +0 -158
  520. package/dist/chunk-LUTT3MBZ.js +0 -1150
  521. package/dist/chunk-MDL2HG3N.js +0 -257
  522. package/dist/chunk-MDL2HG3N.js.map +0 -7
  523. package/dist/chunk-MNRYCG2S.js +0 -1271
  524. package/dist/chunk-MPJHDHBA.js +0 -2784
  525. package/dist/chunk-MXI3NXRB.js +0 -407
  526. package/dist/chunk-O4PXELXF.js +0 -615
  527. package/dist/chunk-ORPCSG6T.js +0 -14
  528. package/dist/chunk-OUKDZKSZ.js +0 -334
  529. package/dist/chunk-OUKDZKSZ.js.map +0 -7
  530. package/dist/chunk-P5HLYAHP.js +0 -1087
  531. package/dist/chunk-PIACSJPH.js +0 -148
  532. package/dist/chunk-PQABAAEZ.js +0 -31
  533. package/dist/chunk-PSMDCZET.js +0 -46
  534. package/dist/chunk-PSMDCZET.js.map +0 -7
  535. package/dist/chunk-RFIVPTMS.js +0 -217
  536. package/dist/chunk-RSU37SVQ.js +0 -54
  537. package/dist/chunk-RTC4U4PH.js +0 -2327
  538. package/dist/chunk-RTC4U4PH.js.map +0 -7
  539. package/dist/chunk-RZ5JP44H.js +0 -276
  540. package/dist/chunk-RZ5JP44H.js.map +0 -7
  541. package/dist/chunk-SPAIFVM2.js +0 -1155
  542. package/dist/chunk-SPAIFVM2.js.map +0 -7
  543. package/dist/chunk-T2HYA2KL.js +0 -55
  544. package/dist/chunk-TCPU43TU.js +0 -1741
  545. package/dist/chunk-TCPU43TU.js.map +0 -7
  546. package/dist/chunk-TE3DK3A6.js +0 -147
  547. package/dist/chunk-TIQPSXFJ.js +0 -237
  548. package/dist/chunk-TIQPSXFJ.js.map +0 -7
  549. package/dist/chunk-TN5GSG34.js +0 -26
  550. package/dist/chunk-UBGTQMOO.js +0 -52
  551. package/dist/chunk-UBS5UVIY.js +0 -13624
  552. package/dist/chunk-UE5ZYM63.js +0 -48
  553. package/dist/chunk-UE5ZYM63.js.map +0 -7
  554. package/dist/chunk-UQACPOCM.js +0 -102
  555. package/dist/chunk-UR3C4SCH.js +0 -446
  556. package/dist/chunk-UWX7W22M.js +0 -121
  557. package/dist/chunk-VJ37HKM6.js +0 -368
  558. package/dist/chunk-VLTDUJRM.js +0 -293
  559. package/dist/chunk-W6UUEAEP.js +0 -6364
  560. package/dist/chunk-X6UPDFDX.js +0 -229
  561. package/dist/chunk-XD6BFNMR.js +0 -172
  562. package/dist/chunk-XD6BFNMR.js.map +0 -7
  563. package/dist/chunk-XDI4UFCZ.js +0 -467
  564. package/dist/chunk-XDI4UFCZ.js.map +0 -7
  565. package/dist/chunk-XOBD3EAM.js +0 -1425
  566. package/dist/chunk-XOBD3EAM.js.map +0 -7
  567. package/dist/chunk-Y3TDC7NU.js +0 -170
  568. package/dist/chunk-YOTWMCT5.js +0 -824
  569. package/dist/chunk-YUMPQ3CJ.js +0 -203
  570. package/dist/condition-VHP2L4GM.js +0 -330
  571. package/dist/controls-N5Q7U7JR.js +0 -39
  572. package/dist/controls.config-NJMW4SLR.js +0 -37
  573. package/dist/correlation-3LDASF5I.js +0 -96
  574. package/dist/cuminc-UWJ23W6C.js +0 -1147
  575. package/dist/cuminc.integration.spec-OZYYET3W.js +0 -676
  576. package/dist/customdata.inputui-2FVCVSE4.js +0 -285
  577. package/dist/customdata.inputui-2FVCVSE4.js.map +0 -7
  578. package/dist/dataDownload-4S4PE5HX.js +0 -328
  579. package/dist/dataDownload.integration.spec-B57LEKFZ.js +0 -191
  580. package/dist/databrowser.ui-N6GHEQ2P.js +0 -419
  581. package/dist/dictionary-UP46QRYZ.js +0 -98
  582. package/dist/dictionary-UP46QRYZ.js.map +0 -7
  583. package/dist/dnaMethylation-BOGAUAWA.js +0 -36
  584. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js +0 -179
  585. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js.map +0 -7
  586. package/dist/e2pca-L5EBQJNP.js +0 -348
  587. package/dist/ep-Z67ORKUX.js +0 -1254
  588. package/dist/expclust.gdc.spec-SP7VOL64.js +0 -305
  589. package/dist/facet-HDB4VDGU.js +0 -519
  590. package/dist/geneExpClustering-6ZPOLTDJ.js +0 -246
  591. package/dist/geneExpression-T6YIG4XQ.js +0 -312
  592. package/dist/geneExpression-T7QUHV5S.js +0 -36
  593. package/dist/geneExpression.unit.spec-DO52L5IB.js +0 -100
  594. package/dist/geneORA-KOUDUWUO.js +0 -276
  595. package/dist/geneVariant-FVR76F6I.js +0 -39
  596. package/dist/geneVariant-I5QUITKG.js +0 -37
  597. package/dist/geneVariant.integration.spec-D4IRM7B5.js +0 -196
  598. package/dist/genefusion.ui-35IYSZD7.js +0 -249
  599. package/dist/geneset-7ZHJ5KWK.js +0 -194
  600. package/dist/genomeBrowser.spec-VXASVLNH.js +0 -279
  601. package/dist/grin2-7NM56COO.js +0 -1554
  602. package/dist/grin2-IY26UUQI.js +0 -1031
  603. package/dist/gsea-TORO46C6.js +0 -45
  604. package/dist/hierCluster-3BKEGW6P.js +0 -58
  605. package/dist/hierCluster-HM3LOM6V.js +0 -62
  606. package/dist/hierCluster.config-LDO5IGQ5.js +0 -38
  607. package/dist/hierCluster.integration.spec-XO5R6CQT.js +0 -374
  608. package/dist/hierCluster.interactivity-NVQ6262K.js +0 -52
  609. package/dist/hierCluster.renderers-SWPPNBLU.js +0 -21
  610. package/dist/imagePlot-V4WLAPV6.js +0 -139
  611. package/dist/importPlot-NZKQEOX4.js +0 -8
  612. package/dist/isoformExpression-TIZBIGNL.js +0 -38
  613. package/dist/isoformExpression.unit.spec-WHH5LPFG.js +0 -124
  614. package/dist/isoformExpression.unit.spec-WHH5LPFG.js.map +0 -7
  615. package/dist/jspdf.es.min-DO4YWL2R.js +0 -40
  616. package/dist/launch.adhoc-JYEN42NM.js +0 -40
  617. package/dist/leftlabel.sample-43DL3J3H.js +0 -257
  618. package/dist/legacyDataset-QRSNRVUA.js +0 -119
  619. package/dist/lollipop-NMWZ4FVF.js +0 -166
  620. package/dist/maf-DS3EOVGV.js +0 -450
  621. package/dist/maftimeline-ZB2753S7.js +0 -591
  622. package/dist/matrix-RCGQWQ3C.js +0 -57
  623. package/dist/matrix-WTTEK4FT.js +0 -62
  624. package/dist/matrix.cells-UO5ASQ35.js +0 -28
  625. package/dist/matrix.config-3UQAT3QR.js +0 -39
  626. package/dist/matrix.controls-PRZ77K5L.js +0 -37
  627. package/dist/matrix.data-4W73RQ3H.js +0 -25
  628. package/dist/matrix.dom-IZFFS4RQ.js +0 -11
  629. package/dist/matrix.groups-5VMPI7SA.js +0 -26
  630. package/dist/matrix.integration.spec-2F5LDLC2.js +0 -3070
  631. package/dist/matrix.interactivity-MIPZ6ELV.js +0 -40
  632. package/dist/matrix.layout-EO5LVYRO.js +0 -42
  633. package/dist/matrix.legend-QBFBFEUG.js +0 -22
  634. package/dist/matrix.renderers-ERJXVCQL.js +0 -36
  635. package/dist/matrix.serieses-E23EPXHA.js +0 -21
  636. package/dist/matrix.sort-I4UGMEXR.js +0 -27
  637. package/dist/matrix.sort.unit.spec-CRGF6CSE.js +0 -470
  638. package/dist/matrix.sorterUi-YLSYTYLE.js +0 -18
  639. package/dist/matrix.sorterUi.unit.spec-ENG3ICOO.js +0 -340
  640. package/dist/mavb-5WR7OJHI.js +0 -730
  641. package/dist/mds.fimo-3ZRH7BBJ.js +0 -516
  642. package/dist/mds.samplescatterplot-RPXR2FVK.js +0 -1548
  643. package/dist/mds.survivalplot-WSSMYUZD.js +0 -481
  644. package/dist/oncomatrix-JKYPUJQR.js +0 -293
  645. package/dist/oncomatrix.spec-OEGU4DYK.js +0 -446
  646. package/dist/plot.2dvaf-ZGARLQNK.js +0 -375
  647. package/dist/plot.app-TKUJH3LK.js +0 -39
  648. package/dist/plot.barplot-FEIPGDZ2.js +0 -100
  649. package/dist/plot.boxplot-6RASUMZB.js +0 -150
  650. package/dist/plot.brainImaging-ZJPFWX2W.js +0 -51
  651. package/dist/plot.disco-2KTKB3XX.js +0 -101
  652. package/dist/plot.disco-2KTKB3XX.js.map +0 -7
  653. package/dist/plot.dzi-PC34YI6Y.js +0 -33
  654. package/dist/plot.ssgq-Z4UNJKWO.js +0 -137
  655. package/dist/plot.vaf2cov-NZ4WULKT.js +0 -257
  656. package/dist/plot.wsi-YYXFAZWY.js +0 -36
  657. package/dist/polar-X2GPIBLB.js +0 -184
  658. package/dist/polar2-TZ553QQH.js +0 -226
  659. package/dist/profile.spec-VB6VMFLY.js +0 -78
  660. package/dist/profileBarchart-SKJSTC7B.js +0 -265
  661. package/dist/profileForms-RLOGSMAQ.js +0 -438
  662. package/dist/profilePlot-267ZS3RG.js +0 -52
  663. package/dist/profileRadar-KGOBHCSF.js +0 -261
  664. package/dist/profileRadarFacility-MCJKSHUM.js +0 -261
  665. package/dist/profileRadarFacility-MCJKSHUM.js.map +0 -7
  666. package/dist/proteomeAbundance-JUYAYO5I.js +0 -63
  667. package/dist/proteomeAbundance-PGHZSVAF.js +0 -19
  668. package/dist/qualitative-3IECKKJM.js +0 -41
  669. package/dist/regression-J6FFRPXN.js +0 -54
  670. package/dist/regression.inputs-T7LWBSYZ.js +0 -46
  671. package/dist/regression.inputs.term-TT7PNX6G.js +0 -46
  672. package/dist/regression.inputs.values.table-SHFUNKCS.js +0 -43
  673. package/dist/regression.integration.spec-QKHMJTHA.js +0 -784
  674. package/dist/regression.integration.spec-QKHMJTHA.js.map +0 -7
  675. package/dist/regression.results-D4WX6VIV.js +0 -38
  676. package/dist/regression.spec-7SW55L7X.js +0 -706
  677. package/dist/report-QYOZ4BRF.js +0 -220
  678. package/dist/sampleScatter.spec-JCHFMGNF.js +0 -200
  679. package/dist/sampleView-7RPKNAZC.js +0 -46
  680. package/dist/samplelst-4WNPHZVG.js +0 -109
  681. package/dist/samplematrix-CG52DSXJ.js +0 -2196
  682. package/dist/sc-OJSWILSA.js +0 -84
  683. package/dist/scatter-LG2RMMEC.js +0 -800
  684. package/dist/scatter.integration.spec-QPANYTKW.js +0 -1194
  685. package/dist/scatter.integration.spec-QPANYTKW.js.map +0 -7
  686. package/dist/selectGenomeWithTklst-QXRVE6N4.js +0 -132
  687. package/dist/singleCellCellType-XBSRL33U.js +0 -36
  688. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js +0 -177
  689. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js.map +0 -7
  690. package/dist/singleCellGeneExpression-64ECP62X.js +0 -36
  691. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js +0 -163
  692. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js.map +0 -7
  693. package/dist/singleCellPlot-E5F62JY6.js +0 -51
  694. package/dist/singlecell-FCY5EOUV.js +0 -84
  695. package/dist/singlecell-S7B5V7NK.js +0 -1570
  696. package/dist/snp-ACKX4GRX.js +0 -36
  697. package/dist/snp.unit.spec-QBGHKKUD.js +0 -174
  698. package/dist/snplocus-7EUOW7J7.js +0 -206
  699. package/dist/spliceevent.a53ss.diagram-ALQZA35Z.js +0 -149
  700. package/dist/spliceevent.exonskip.diagram-UF7WJA5R.js +0 -275
  701. package/dist/spliceevent.noeventdiagram-4HPGRNRR.js +0 -458
  702. package/dist/ssGSEA-FDRBBBLJ.js +0 -36
  703. package/dist/ssGSEA.unit.spec-EZEOWJVV.js +0 -86
  704. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js +0 -158
  705. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js.map +0 -7
  706. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js +0 -105
  707. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js.map +0 -7
  708. package/dist/summarizeMutationCnv-L3GL5YDY.js +0 -159
  709. package/dist/summarizeMutationCnv-L3GL5YDY.js.map +0 -7
  710. package/dist/summarizeMutationDiagnosis-LALOJTHV.js +0 -38
  711. package/dist/summarizeMutationSurvival-TSNTSOBZ.js +0 -97
  712. package/dist/summary-YRHVS64T.js +0 -47
  713. package/dist/summary.integration.spec-766YQLQA.js +0 -412
  714. package/dist/summaryInput-VQ2X6GSX.js +0 -218
  715. package/dist/sunburst-XFOONS6K.js +0 -282
  716. package/dist/sunburst-XFOONS6K.js.map +0 -7
  717. package/dist/survival-FQXZH2MM.js +0 -44
  718. package/dist/survival-TVA3ZWVP.js +0 -56
  719. package/dist/survival.integration.spec-WFIOPD6A.js +0 -787
  720. package/dist/svg2pdf.es.min-EZ4UYRSH.js +0 -3157
  721. package/dist/svgraph-4BFBO7EL.js +0 -1385
  722. package/dist/svmr-ML7GAIIA.js +0 -3840
  723. package/dist/table-SMLMUWPP.js +0 -198
  724. package/dist/termCollection-22CPTISZ.js +0 -36
  725. package/dist/termCollection-EE6AOIVA.js +0 -177
  726. package/dist/termCollection.unit.spec-4DIW3CJ3.js +0 -206
  727. package/dist/tk-ITZCKOQ5.js +0 -44
  728. package/dist/tp.ui-R6HVKCBC.js +0 -1457
  729. package/dist/tvs.density-AQ5GD437.js +0 -18
  730. package/dist/tvs.dt-2263TBEJ.js +0 -37
  731. package/dist/tvs.dtcnv.categorical-TRRHL33N.js +0 -38
  732. package/dist/tvs.dtcnv.continuous-GREYNF52.js +0 -70
  733. package/dist/tvs.dtfusion-XOX46L3M.js +0 -38
  734. package/dist/tvs.dtsnvindel-IDMXT53F.js +0 -38
  735. package/dist/tvs.dtsv-ZDWFYH2C.js +0 -38
  736. package/dist/tvs.numeric-ZN2R7BH3.js +0 -21
  737. package/dist/tvs.samplelst-GAP76HRH.js +0 -102
  738. package/dist/tvs.termCollection-GQ65UKSI.js +0 -151
  739. package/dist/violin-JGDL62YA.js +0 -44
  740. package/dist/violin.integration.spec-W4NN7LBY.js +0 -1417
  741. package/dist/violin.integration.spec-W4NN7LBY.js.map +0 -7
  742. package/dist/violin.interactivity-H4RP4K5U.js +0 -36
  743. package/dist/violin.renderer-QPHLACDC.js +0 -38
  744. package/dist/vocabulary-7JACY4J2.js +0 -39
  745. /package/dist/{2dmaf-SLBAWGPG.js.map → 2dmaf-6ZTETSC5.js.map} +0 -0
  746. /package/dist/{AppHeader-MVYNRMC7.js.map → AppHeader-U7SJPIBS.js.map} +0 -0
  747. /package/dist/{CorrelationVolcano-TZCYC3NI.js.map → CorrelationVolcano-7SE4CTBW.js.map} +0 -0
  748. /package/dist/{DE-2J2SK5UT.js.map → DE-PZ7RHPBS.js.map} +0 -0
  749. /package/dist/{DEinput-QM3GOQHM.js.map → DEinput-UZEQIU2V.js.map} +0 -0
  750. /package/dist/{DifferentialAnalysis-DS7CQOT6.js.map → DifferentialAnalysis-L6BOEYVO.js.map} +0 -0
  751. /package/dist/{Disco.UI-J2B7GGEZ.js.map → Disco.UI-HKOUAD4P.js.map} +0 -0
  752. /package/dist/{DmrPlot-D5W76QPY.js.map → DmrPlot-3R24PTXP.js.map} +0 -0
  753. /package/dist/{GB-LM5SGUG4.js.map → GB-SZVYZASR.js.map} +0 -0
  754. /package/dist/{HicApp-YNBGAGKM.js.map → HicApp-SEEJETVE.js.map} +0 -0
  755. /package/dist/{NumBinaryEditor-4QA5DQJT.js.map → NumBinaryEditor-SDQFJ3FW.js.map} +0 -0
  756. /package/dist/{NumBinaryEditor.unit.spec-YWSIFTOJ.js.map → NumBinaryEditor.unit.spec-76ZZXTYC.js.map} +0 -0
  757. /package/dist/{NumContEditor-ZPLVZFLH.js.map → NumContEditor-G75O4YZE.js.map} +0 -0
  758. /package/dist/{NumContEditor.unit.spec-NBCFOCOX.js.map → NumContEditor.unit.spec-BFUZRBPL.js.map} +0 -0
  759. /package/dist/{NumCustomBinEditor-TXEYRVPL.js.map → NumCustomBinEditor-ILTPHCEF.js.map} +0 -0
  760. /package/dist/{NumCustomBinEditor.unit.spec-SQM63H4B.js.map → NumCustomBinEditor.unit.spec-GFIYV55V.js.map} +0 -0
  761. /package/dist/{NumDiscreteEditor-6C4OWX62.js.map → NumDiscreteEditor-5K3OKUOE.js.map} +0 -0
  762. /package/dist/{NumDiscreteEditor.unit.spec-4HC4AGAM.js.map → NumDiscreteEditor.unit.spec-NZ4KWPFK.js.map} +0 -0
  763. /package/dist/{NumRegularBinEditor-VQAS3OXK.js.map → NumRegularBinEditor-7ZJ2MEMY.js.map} +0 -0
  764. /package/dist/{NumRegularBinEditor.unit.spec-RGVEPB3Z.js.map → NumRegularBinEditor.unit.spec-QGVJET65.js.map} +0 -0
  765. /package/dist/{NumSplineEditor-SXOJICHU.js.map → NumSplineEditor-KE4UPODZ.js.map} +0 -0
  766. /package/dist/{NumSplineEditor.unit.spec-HF5E6ANH.js.map → NumSplineEditor.unit.spec-YQOOZA7S.js.map} +0 -0
  767. /package/dist/{NumericDensity-LMLPMOSE.js.map → NumericDensity-RL42P4QC.js.map} +0 -0
  768. /package/dist/{NumericDensity.unit.spec-3ZI5EVON.js.map → NumericDensity.unit.spec-Y6RMTYC7.js.map} +0 -0
  769. /package/dist/{NumericHandler-Q6F6ANOS.js.map → NumericHandler-4QIX324I.js.map} +0 -0
  770. /package/dist/{NumericHandler.unit.spec-E6Z5HUNZ.js.map → NumericHandler.unit.spec-T6F5QYP6.js.map} +0 -0
  771. /package/dist/{WsiSamplesPlot-KMI5S2EL.js.map → WsiSamplesPlot-CXGWPCDL.js.map} +0 -0
  772. /package/dist/{adSandbox-JTK5XEQL.js.map → adSandbox-DE4VRO4Z.js.map} +0 -0
  773. /package/dist/{alphaGenome-JRAV6WIY.js.map → alphaGenome-FSIGC5ZT.js.map} +0 -0
  774. /package/dist/{app-JKDZL23V.js.map → app-KZGKWQMU.js.map} +0 -0
  775. /package/dist/{app-OEARXM6E.js.map → app-MQRJ7FVL.js.map} +0 -0
  776. /package/dist/{bam-CYEPLBK4.js.map → bam-BDWTA4O3.js.map} +0 -0
  777. /package/dist/{barchart-GG5UFDG4.js.map → barchart-4Q6LVJY4.js.map} +0 -0
  778. /package/dist/{barchart.data-KXA66FAL.js.map → barchart.data-EXENRVMU.js.map} +0 -0
  779. /package/dist/{barchart.events-P2USOIR7.js.map → barchart.events-XRGND6I7.js.map} +0 -0
  780. /package/dist/{barchart.integration.spec-5QSPQQLJ.js.map → barchart.integration.spec-VQITP4YH.js.map} +0 -0
  781. /package/dist/{bars.renderer-T5R3UIBW.js.map → bars.renderer-S7A7I6BQ.js.map} +0 -0
  782. /package/dist/{block.init-ZHX6DFWF.js.map → block.init-NCNSE3HD.js.map} +0 -0
  783. /package/dist/{block.mds.expressionrank-YMGYXXYT.js.map → block.mds.expressionrank-JYZARS7T.js.map} +0 -0
  784. /package/dist/{block.mds.geneboxplot-IAILQYX4.js.map → block.mds.geneboxplot-FD2MCIHV.js.map} +0 -0
  785. /package/dist/{block.mds.junction-BRNFNQMU.js.map → block.mds.junction-LOHVQBIU.js.map} +0 -0
  786. /package/dist/{block.mds.svcnv-OHKC7YPO.js.map → block.mds.svcnv-Z7SAYPQL.js.map} +0 -0
  787. /package/dist/{block.svg-PNGK45HW.js.map → block.svg-LNJOKQNN.js.map} +0 -0
  788. /package/dist/{block.tk.aicheck-SCIOJ4WN.js.map → block.tk.aicheck-IXCMMAGV.js.map} +0 -0
  789. /package/dist/{block.tk.ase-BABJ73GG.js.map → block.tk.ase-WYRYFP6N.js.map} +0 -0
  790. /package/dist/{block.tk.bam-LZWJ5BCQ.js.map → block.tk.bam-EIVBNGAL.js.map} +0 -0
  791. /package/dist/{block.tk.bedgraphdot-7NQLC3XJ.js.map → block.tk.bedgraphdot-3FHLNCU7.js.map} +0 -0
  792. /package/dist/{block.tk.bigwig.ui-VNY4SFD5.js.map → block.tk.bigwig.ui-YDQU5PC4.js.map} +0 -0
  793. /package/dist/{block.tk.hicstraw-36A7VDRM.js.map → block.tk.hicstraw-S3ROL3CV.js.map} +0 -0
  794. /package/dist/{block.tk.junction-D373YEMK.js.map → block.tk.junction-DL7RNWX3.js.map} +0 -0
  795. /package/dist/{block.tk.junction.textmatrixui-FFII7J3X.js.map → block.tk.junction.textmatrixui-Z6I7IEDY.js.map} +0 -0
  796. /package/dist/{block.tk.ld-XGB6KMDO.js.map → block.tk.ld-XHVU6L56.js.map} +0 -0
  797. /package/dist/{block.tk.menu-PEZANZBZ.js.map → block.tk.menu-FPLAEEFY.js.map} +0 -0
  798. /package/dist/{block.tk.pgv-MU5BPTT2.js.map → block.tk.pgv-6ZZ2QGNO.js.map} +0 -0
  799. /package/dist/{brainImaging-LVJON47N.js.map → brainImaging-VSOOMITW.js.map} +0 -0
  800. /package/dist/{chat-5FDIAQJ4.js.map → chat-LW23PIG5.js.map} +0 -0
  801. /package/dist/{chunk-PQABAAEZ.js.map → chunk-2LULD7RN.js.map} +0 -0
  802. /package/dist/{chunk-LEDPPLQK.js.map → chunk-3AGB6HL4.js.map} +0 -0
  803. /package/dist/{chunk-T2HYA2KL.js.map → chunk-3AVDNIDN.js.map} +0 -0
  804. /package/dist/{chunk-JOXUBWN3.js.map → chunk-3DCABJHB.js.map} +0 -0
  805. /package/dist/{chunk-UQACPOCM.js.map → chunk-3JMB3OSC.js.map} +0 -0
  806. /package/dist/{chunk-2J3566TA.js.map → chunk-3UEMY45Y.js.map} +0 -0
  807. /package/dist/{chunk-ILF2GKBY.js.map → chunk-4RR4KPRJ.js.map} +0 -0
  808. /package/dist/{chunk-TE3DK3A6.js.map → chunk-5HCB4HNL.js.map} +0 -0
  809. /package/dist/{chunk-IP4T477W.js.map → chunk-5RFB7TYT.js.map} +0 -0
  810. /package/dist/{chunk-7A7NMCQ3.js.map → chunk-5UMPBVA6.js.map} +0 -0
  811. /package/dist/{chunk-MXI3NXRB.js.map → chunk-6C2SBTLR.js.map} +0 -0
  812. /package/dist/{chunk-UBS5UVIY.js.map → chunk-6LAE5AVA.js.map} +0 -0
  813. /package/dist/{chunk-JHOGX5VE.js.map → chunk-7VV43ICF.js.map} +0 -0
  814. /package/dist/{chunk-O4PXELXF.js.map → chunk-A742TQD2.js.map} +0 -0
  815. /package/dist/{chunk-E6DRQJJT.js.map → chunk-AFLFPYJI.js.map} +0 -0
  816. /package/dist/{chunk-DONWY7TP.js.map → chunk-AQ4OP4GR.js.map} +0 -0
  817. /package/dist/{chunk-FQRLSKJC.js.map → chunk-BAY47D5E.js.map} +0 -0
  818. /package/dist/{chunk-TN5GSG34.js.map → chunk-CFHKYLDY.js.map} +0 -0
  819. /package/dist/{chunk-K6JLCMVL.js.map → chunk-CTAKX5CT.js.map} +0 -0
  820. /package/dist/{chunk-Y3TDC7NU.js.map → chunk-D4QFQQWJ.js.map} +0 -0
  821. /package/dist/{chunk-YUMPQ3CJ.js.map → chunk-DGMK7SXX.js.map} +0 -0
  822. /package/dist/{chunk-UR3C4SCH.js.map → chunk-DNCSPTOQ.js.map} +0 -0
  823. /package/dist/{chunk-IIRU6VK2.js.map → chunk-DTDQKGIQ.js.map} +0 -0
  824. /package/dist/{chunk-K57RR3FD.js.map → chunk-E4NVHKWD.js.map} +0 -0
  825. /package/dist/{chunk-GKK3CZ6H.js.map → chunk-E6KEZENR.js.map} +0 -0
  826. /package/dist/{chunk-X6UPDFDX.js.map → chunk-FRBYOOWT.js.map} +0 -0
  827. /package/dist/{chunk-UWX7W22M.js.map → chunk-FVWCYGJL.js.map} +0 -0
  828. /package/dist/{chunk-CCIZJAXB.js.map → chunk-I4IKRKYJ.js.map} +0 -0
  829. /package/dist/{chunk-W6UUEAEP.js.map → chunk-IEQSUAIO.js.map} +0 -0
  830. /package/dist/{chunk-UBGTQMOO.js.map → chunk-JMPSZMDD.js.map} +0 -0
  831. /package/dist/{chunk-MPJHDHBA.js.map → chunk-JXOL73PT.js.map} +0 -0
  832. /package/dist/{chunk-KSFSM46X.js.map → chunk-K62XUHA4.js.map} +0 -0
  833. /package/dist/{chunk-DVDDXOWT.js.map → chunk-KQMEJUWI.js.map} +0 -0
  834. /package/dist/{chunk-FGMPKWT5.js.map → chunk-LI7FE335.js.map} +0 -0
  835. /package/dist/{chunk-AZYDW5T7.js.map → chunk-MV6O4I2B.js.map} +0 -0
  836. /package/dist/{chunk-PIACSJPH.js.map → chunk-MXNSW55L.js.map} +0 -0
  837. /package/dist/{chunk-HAMDFQIX.js.map → chunk-NB7NLFGZ.js.map} +0 -0
  838. /package/dist/{chunk-FBAJTPBU.js.map → chunk-NGGWK6HX.js.map} +0 -0
  839. /package/dist/{chunk-P5HLYAHP.js.map → chunk-OGGFS66K.js.map} +0 -0
  840. /package/dist/{chunk-DHZL3FBC.js.map → chunk-Q7PYFSNU.js.map} +0 -0
  841. /package/dist/{chunk-GPOECA3V.js.map → chunk-QMI222IJ.js.map} +0 -0
  842. /package/dist/{chunk-AETE4F7R.js.map → chunk-QRIRWDIW.js.map} +0 -0
  843. /package/dist/{chunk-ORPCSG6T.js.map → chunk-R6L6NVEC.js.map} +0 -0
  844. /package/dist/{chunk-B6HCIAM3.js.map → chunk-RLTLYKHO.js.map} +0 -0
  845. /package/dist/{chunk-VLTDUJRM.js.map → chunk-S5ZI6N2I.js.map} +0 -0
  846. /package/dist/{chunk-H2D7EVUA.js.map → chunk-S7T7OZC7.js.map} +0 -0
  847. /package/dist/{chunk-F6V4AYWP.js.map → chunk-SEQLC4AD.js.map} +0 -0
  848. /package/dist/{chunk-RSU37SVQ.js.map → chunk-TEZLFSOV.js.map} +0 -0
  849. /package/dist/{chunk-YOTWMCT5.js.map → chunk-UEMTP6ZC.js.map} +0 -0
  850. /package/dist/{chunk-6MSCYO7K.js.map → chunk-UJU3Q7QJ.js.map} +0 -0
  851. /package/dist/{chunk-RFIVPTMS.js.map → chunk-VIPMLSZP.js.map} +0 -0
  852. /package/dist/{chunk-LUTT3MBZ.js.map → chunk-VUUZJANK.js.map} +0 -0
  853. /package/dist/{chunk-2OSEZCWZ.js.map → chunk-WGHO2NCP.js.map} +0 -0
  854. /package/dist/{chunk-GO5SIPFE.js.map → chunk-WPHOEG56.js.map} +0 -0
  855. /package/dist/{chunk-KVG7FTTK.js.map → chunk-WS5XVKPJ.js.map} +0 -0
  856. /package/dist/{chunk-MNRYCG2S.js.map → chunk-X6URQAFD.js.map} +0 -0
  857. /package/dist/{chunk-VJ37HKM6.js.map → chunk-YALAQWX4.js.map} +0 -0
  858. /package/dist/{chunk-H2K5KZP7.js.map → chunk-YY4CKQJ6.js.map} +0 -0
  859. /package/dist/{chunk-G6ELKVBG.js.map → chunk-Z3KV6SC2.js.map} +0 -0
  860. /package/dist/{condition-VHP2L4GM.js.map → condition-JKQIRMMW.js.map} +0 -0
  861. /package/dist/{controls-N5Q7U7JR.js.map → controls-324AGOZG.js.map} +0 -0
  862. /package/dist/{controls.config-NJMW4SLR.js.map → controls.config-TA4NNARU.js.map} +0 -0
  863. /package/dist/{correlation-3LDASF5I.js.map → correlation-3Z36TKC2.js.map} +0 -0
  864. /package/dist/{cuminc-UWJ23W6C.js.map → cuminc-4DY2CSZF.js.map} +0 -0
  865. /package/dist/{cuminc.integration.spec-OZYYET3W.js.map → cuminc.integration.spec-SFQPLMSF.js.map} +0 -0
  866. /package/dist/{dataDownload-4S4PE5HX.js.map → dataDownload-3AE2N7KI.js.map} +0 -0
  867. /package/dist/{dataDownload.integration.spec-B57LEKFZ.js.map → dataDownload.integration.spec-DKOT6BJP.js.map} +0 -0
  868. /package/dist/{databrowser.ui-N6GHEQ2P.js.map → databrowser.ui-ATODRS5P.js.map} +0 -0
  869. /package/dist/{dnaMethylation-BOGAUAWA.js.map → dnaMethylation-TVA5YMOR.js.map} +0 -0
  870. /package/dist/{e2pca-L5EBQJNP.js.map → e2pca-KHVDNFEZ.js.map} +0 -0
  871. /package/dist/{ep-Z67ORKUX.js.map → ep-B5GAAMNM.js.map} +0 -0
  872. /package/dist/{expclust.gdc.spec-SP7VOL64.js.map → expclust.gdc.spec-EDPX7V6K.js.map} +0 -0
  873. /package/dist/{facet-HDB4VDGU.js.map → facet-ZCSXKXIO.js.map} +0 -0
  874. /package/dist/{geneExpClustering-6ZPOLTDJ.js.map → geneExpClustering-ERNCMAED.js.map} +0 -0
  875. /package/dist/{geneExpression-T7QUHV5S.js.map → geneExpression-HUOXWETT.js.map} +0 -0
  876. /package/dist/{geneExpression-T6YIG4XQ.js.map → geneExpression-X2KXJPND.js.map} +0 -0
  877. /package/dist/{geneExpression.unit.spec-DO52L5IB.js.map → geneExpression.unit.spec-5QQB4ISW.js.map} +0 -0
  878. /package/dist/{geneORA-KOUDUWUO.js.map → geneORA-B5UK77KL.js.map} +0 -0
  879. /package/dist/{geneVariant-FVR76F6I.js.map → geneVariant-7MGUAIZ6.js.map} +0 -0
  880. /package/dist/{geneVariant-I5QUITKG.js.map → geneVariant-FK3KZJ2K.js.map} +0 -0
  881. /package/dist/{geneVariant.integration.spec-D4IRM7B5.js.map → geneVariant.integration.spec-C6TYWKIC.js.map} +0 -0
  882. /package/dist/{genefusion.ui-35IYSZD7.js.map → genefusion.ui-VKAINMY7.js.map} +0 -0
  883. /package/dist/{geneset-7ZHJ5KWK.js.map → geneset-673KAZVX.js.map} +0 -0
  884. /package/dist/{genomeBrowser.spec-VXASVLNH.js.map → genomeBrowser.spec-T6TQCJ3O.js.map} +0 -0
  885. /package/dist/{grin2-7NM56COO.js.map → grin2-376BD4XY.js.map} +0 -0
  886. /package/dist/{grin2-IY26UUQI.js.map → grin2-OALS75LC.js.map} +0 -0
  887. /package/dist/{gsea-TORO46C6.js.map → gsea-25LD2LGP.js.map} +0 -0
  888. /package/dist/{hierCluster-3BKEGW6P.js.map → hierCluster-7KU3K52V.js.map} +0 -0
  889. /package/dist/{hierCluster-HM3LOM6V.js.map → hierCluster-M5VVWKQK.js.map} +0 -0
  890. /package/dist/{hierCluster.config-LDO5IGQ5.js.map → hierCluster.config-EDO3SH2P.js.map} +0 -0
  891. /package/dist/{hierCluster.integration.spec-XO5R6CQT.js.map → hierCluster.integration.spec-UOX7J2XD.js.map} +0 -0
  892. /package/dist/{hierCluster.interactivity-NVQ6262K.js.map → hierCluster.interactivity-FEFZDXML.js.map} +0 -0
  893. /package/dist/{hierCluster.renderers-SWPPNBLU.js.map → hierCluster.renderers-A6MEGO2B.js.map} +0 -0
  894. /package/dist/{imagePlot-V4WLAPV6.js.map → imagePlot-FPXZ2H5Z.js.map} +0 -0
  895. /package/dist/{importPlot-NZKQEOX4.js.map → importPlot-VKWPSFEK.js.map} +0 -0
  896. /package/dist/{isoformExpression-TIZBIGNL.js.map → isoformExpression-2R2TOB6P.js.map} +0 -0
  897. /package/dist/{jspdf.es.min-DO4YWL2R.js.map → jspdf.es.min-FC3BCETM.js.map} +0 -0
  898. /package/dist/{launch.adhoc-JYEN42NM.js.map → launch.adhoc-242RS6DW.js.map} +0 -0
  899. /package/dist/{leftlabel.sample-43DL3J3H.js.map → leftlabel.sample-OJW3AE64.js.map} +0 -0
  900. /package/dist/{legacyDataset-QRSNRVUA.js.map → legacyDataset-PBCPC5I7.js.map} +0 -0
  901. /package/dist/{lollipop-NMWZ4FVF.js.map → lollipop-TRQ3LK7Y.js.map} +0 -0
  902. /package/dist/{maf-DS3EOVGV.js.map → maf-ZBOLN2FE.js.map} +0 -0
  903. /package/dist/{maftimeline-ZB2753S7.js.map → maftimeline-GVX7NJP7.js.map} +0 -0
  904. /package/dist/{matrix-RCGQWQ3C.js.map → matrix-73KRNXLM.js.map} +0 -0
  905. /package/dist/{matrix-WTTEK4FT.js.map → matrix-US3OXYRY.js.map} +0 -0
  906. /package/dist/{matrix.cells-UO5ASQ35.js.map → matrix.cells-U7AQNEBP.js.map} +0 -0
  907. /package/dist/{matrix.config-3UQAT3QR.js.map → matrix.config-Q57D7C3F.js.map} +0 -0
  908. /package/dist/{matrix.controls-PRZ77K5L.js.map → matrix.controls-AWXDRSWP.js.map} +0 -0
  909. /package/dist/{matrix.data-4W73RQ3H.js.map → matrix.data-EEIY6AO4.js.map} +0 -0
  910. /package/dist/{matrix.dom-IZFFS4RQ.js.map → matrix.dom-6QL3AJMW.js.map} +0 -0
  911. /package/dist/{matrix.groups-5VMPI7SA.js.map → matrix.groups-CUB6UWC5.js.map} +0 -0
  912. /package/dist/{matrix.integration.spec-2F5LDLC2.js.map → matrix.integration.spec-PQH67KRM.js.map} +0 -0
  913. /package/dist/{matrix.interactivity-MIPZ6ELV.js.map → matrix.interactivity-JW4AXAWO.js.map} +0 -0
  914. /package/dist/{matrix.layout-EO5LVYRO.js.map → matrix.layout-I56KRVCO.js.map} +0 -0
  915. /package/dist/{matrix.legend-QBFBFEUG.js.map → matrix.legend-42LQGAGX.js.map} +0 -0
  916. /package/dist/{matrix.renderers-ERJXVCQL.js.map → matrix.renderers-IX3FCNBK.js.map} +0 -0
  917. /package/dist/{matrix.serieses-E23EPXHA.js.map → matrix.serieses-4B2WB526.js.map} +0 -0
  918. /package/dist/{matrix.sort-I4UGMEXR.js.map → matrix.sort-BJACNR7G.js.map} +0 -0
  919. /package/dist/{matrix.sort.unit.spec-CRGF6CSE.js.map → matrix.sort.unit.spec-3KKDKIPY.js.map} +0 -0
  920. /package/dist/{matrix.sorterUi-YLSYTYLE.js.map → matrix.sorterUi-W6XFYZY2.js.map} +0 -0
  921. /package/dist/{matrix.sorterUi.unit.spec-ENG3ICOO.js.map → matrix.sorterUi.unit.spec-CMJ7EBIW.js.map} +0 -0
  922. /package/dist/{mavb-5WR7OJHI.js.map → mavb-ROAE6WYA.js.map} +0 -0
  923. /package/dist/{mds.fimo-3ZRH7BBJ.js.map → mds.fimo-UGK5OWCF.js.map} +0 -0
  924. /package/dist/{mds.samplescatterplot-RPXR2FVK.js.map → mds.samplescatterplot-5KFUAYSB.js.map} +0 -0
  925. /package/dist/{mds.survivalplot-WSSMYUZD.js.map → mds.survivalplot-2EVNZUX5.js.map} +0 -0
  926. /package/dist/{oncomatrix-JKYPUJQR.js.map → oncomatrix-UGFXSXQJ.js.map} +0 -0
  927. /package/dist/{oncomatrix.spec-OEGU4DYK.js.map → oncomatrix.spec-FEP7BR7L.js.map} +0 -0
  928. /package/dist/{plot.2dvaf-ZGARLQNK.js.map → plot.2dvaf-WXGLWCOC.js.map} +0 -0
  929. /package/dist/{plot.app-TKUJH3LK.js.map → plot.app-IZAFRTBU.js.map} +0 -0
  930. /package/dist/{plot.barplot-FEIPGDZ2.js.map → plot.barplot-Z4VWOPFJ.js.map} +0 -0
  931. /package/dist/{plot.boxplot-6RASUMZB.js.map → plot.boxplot-QU2KZSB7.js.map} +0 -0
  932. /package/dist/{plot.brainImaging-ZJPFWX2W.js.map → plot.brainImaging-U643YIK7.js.map} +0 -0
  933. /package/dist/{plot.dzi-PC34YI6Y.js.map → plot.dzi-DWXPOOQE.js.map} +0 -0
  934. /package/dist/{plot.ssgq-Z4UNJKWO.js.map → plot.ssgq-GXB2GZO3.js.map} +0 -0
  935. /package/dist/{plot.vaf2cov-NZ4WULKT.js.map → plot.vaf2cov-EKRIADPB.js.map} +0 -0
  936. /package/dist/{plot.wsi-YYXFAZWY.js.map → plot.wsi-E2LLE6HI.js.map} +0 -0
  937. /package/dist/{polar-X2GPIBLB.js.map → polar-MZLIUXHO.js.map} +0 -0
  938. /package/dist/{polar2-TZ553QQH.js.map → polar2-IUVHNQM4.js.map} +0 -0
  939. /package/dist/{profile.spec-VB6VMFLY.js.map → profile.spec-JRW6KYUI.js.map} +0 -0
  940. /package/dist/{profileBarchart-SKJSTC7B.js.map → profileBarchart-N7HJMYZ5.js.map} +0 -0
  941. /package/dist/{profileForms-RLOGSMAQ.js.map → profileForms-Q5TPGPQP.js.map} +0 -0
  942. /package/dist/{profilePlot-267ZS3RG.js.map → profilePlot-TXTUYDVE.js.map} +0 -0
  943. /package/dist/{profileRadar-KGOBHCSF.js.map → profileRadar-ICEASI7W.js.map} +0 -0
  944. /package/dist/{proteomeAbundance-PGHZSVAF.js.map → proteomeAbundance-DE4NVBCN.js.map} +0 -0
  945. /package/dist/{proteomeAbundance-JUYAYO5I.js.map → proteomeAbundance-LTB3QR3G.js.map} +0 -0
  946. /package/dist/{qualitative-3IECKKJM.js.map → qualitative-DFGWQURY.js.map} +0 -0
  947. /package/dist/{regression-J6FFRPXN.js.map → regression-TTQTAEGD.js.map} +0 -0
  948. /package/dist/{regression.inputs-T7LWBSYZ.js.map → regression.inputs-2LU2XRGC.js.map} +0 -0
  949. /package/dist/{regression.inputs.term-TT7PNX6G.js.map → regression.inputs.term-G57GL57T.js.map} +0 -0
  950. /package/dist/{regression.inputs.values.table-SHFUNKCS.js.map → regression.inputs.values.table-JSEM3PXL.js.map} +0 -0
  951. /package/dist/{regression.results-D4WX6VIV.js.map → regression.results-3YNM6LLQ.js.map} +0 -0
  952. /package/dist/{regression.spec-7SW55L7X.js.map → regression.spec-S6WFCPSW.js.map} +0 -0
  953. /package/dist/{report-QYOZ4BRF.js.map → report-YRAV4MY4.js.map} +0 -0
  954. /package/dist/{sampleScatter.spec-JCHFMGNF.js.map → sampleScatter.spec-MBJ4XNTX.js.map} +0 -0
  955. /package/dist/{sampleView-7RPKNAZC.js.map → sampleView-IUR3ZEN7.js.map} +0 -0
  956. /package/dist/{samplelst-4WNPHZVG.js.map → samplelst-C2NBFGH6.js.map} +0 -0
  957. /package/dist/{samplematrix-CG52DSXJ.js.map → samplematrix-AOK2HHSB.js.map} +0 -0
  958. /package/dist/{sc-OJSWILSA.js.map → sc-XT3Z5XJI.js.map} +0 -0
  959. /package/dist/{scatter-LG2RMMEC.js.map → scatter-SAHKZRFL.js.map} +0 -0
  960. /package/dist/{selectGenomeWithTklst-QXRVE6N4.js.map → selectGenomeWithTklst-2YVZ4JWV.js.map} +0 -0
  961. /package/dist/{singleCellCellType-XBSRL33U.js.map → singleCellCellType-NFN5GQJM.js.map} +0 -0
  962. /package/dist/{singleCellGeneExpression-64ECP62X.js.map → singleCellGeneExpression-7AQGLXTR.js.map} +0 -0
  963. /package/dist/{singleCellPlot-E5F62JY6.js.map → singleCellPlot-IWFEG44C.js.map} +0 -0
  964. /package/dist/{singlecell-S7B5V7NK.js.map → singlecell-3QNV4OMZ.js.map} +0 -0
  965. /package/dist/{singlecell-FCY5EOUV.js.map → singlecell-EATPLH66.js.map} +0 -0
  966. /package/dist/{snp-ACKX4GRX.js.map → snp-UP7WL7WG.js.map} +0 -0
  967. /package/dist/{snp.unit.spec-QBGHKKUD.js.map → snp.unit.spec-Y5NWQ442.js.map} +0 -0
  968. /package/dist/{snplocus-7EUOW7J7.js.map → snplocus-WAQK2AZG.js.map} +0 -0
  969. /package/dist/{spliceevent.a53ss.diagram-ALQZA35Z.js.map → spliceevent.a53ss.diagram-FFK27UIB.js.map} +0 -0
  970. /package/dist/{spliceevent.exonskip.diagram-UF7WJA5R.js.map → spliceevent.exonskip.diagram-KWEF2OZJ.js.map} +0 -0
  971. /package/dist/{spliceevent.noeventdiagram-4HPGRNRR.js.map → spliceevent.noeventdiagram-PU4TI7OM.js.map} +0 -0
  972. /package/dist/{ssGSEA-FDRBBBLJ.js.map → ssGSEA-N6QOAVLW.js.map} +0 -0
  973. /package/dist/{ssGSEA.unit.spec-EZEOWJVV.js.map → ssGSEA.unit.spec-KQBNZNNP.js.map} +0 -0
  974. /package/dist/{summarizeMutationDiagnosis-LALOJTHV.js.map → summarizeMutationDiagnosis-5RHSG7L6.js.map} +0 -0
  975. /package/dist/{summarizeMutationSurvival-TSNTSOBZ.js.map → summarizeMutationSurvival-22YYXGS5.js.map} +0 -0
  976. /package/dist/{summary-YRHVS64T.js.map → summary-P3WIKJS7.js.map} +0 -0
  977. /package/dist/{summary.integration.spec-766YQLQA.js.map → summary.integration.spec-ULGRPICW.js.map} +0 -0
  978. /package/dist/{summaryInput-VQ2X6GSX.js.map → summaryInput-IH4EVNF5.js.map} +0 -0
  979. /package/dist/{survival-FQXZH2MM.js.map → survival-2ZE3N62A.js.map} +0 -0
  980. /package/dist/{survival-TVA3ZWVP.js.map → survival-ASCLKIII.js.map} +0 -0
  981. /package/dist/{survival.integration.spec-WFIOPD6A.js.map → survival.integration.spec-C5YXOY77.js.map} +0 -0
  982. /package/dist/{svg2pdf.es.min-EZ4UYRSH.js.map → svg2pdf.es.min-CYTPRWNB.js.map} +0 -0
  983. /package/dist/{svgraph-4BFBO7EL.js.map → svgraph-AYR2UPNK.js.map} +0 -0
  984. /package/dist/{svmr-ML7GAIIA.js.map → svmr-MOMW5DNY.js.map} +0 -0
  985. /package/dist/{table-SMLMUWPP.js.map → table-PQB6KCEY.js.map} +0 -0
  986. /package/dist/{termCollection-22CPTISZ.js.map → termCollection-5AY2AWT4.js.map} +0 -0
  987. /package/dist/{termCollection-EE6AOIVA.js.map → termCollection-OQMUUTW6.js.map} +0 -0
  988. /package/dist/{termCollection.unit.spec-4DIW3CJ3.js.map → termCollection.unit.spec-BUAXYIJK.js.map} +0 -0
  989. /package/dist/{tk-ITZCKOQ5.js.map → tk-EJLFFA5H.js.map} +0 -0
  990. /package/dist/{tp.ui-R6HVKCBC.js.map → tp.ui-WUW6A7KP.js.map} +0 -0
  991. /package/dist/{tvs.density-AQ5GD437.js.map → tvs.density-HSVPDDGA.js.map} +0 -0
  992. /package/dist/{tvs.dt-2263TBEJ.js.map → tvs.dt-MVJXQMNU.js.map} +0 -0
  993. /package/dist/{tvs.dtcnv.categorical-TRRHL33N.js.map → tvs.dtcnv.categorical-FIIDWVK7.js.map} +0 -0
  994. /package/dist/{tvs.dtcnv.continuous-GREYNF52.js.map → tvs.dtcnv.continuous-JPQU3JA2.js.map} +0 -0
  995. /package/dist/{tvs.dtfusion-XOX46L3M.js.map → tvs.dtfusion-BW35GOQM.js.map} +0 -0
  996. /package/dist/{tvs.dtsnvindel-IDMXT53F.js.map → tvs.dtsnvindel-AEMFZ4EH.js.map} +0 -0
  997. /package/dist/{tvs.dtsv-ZDWFYH2C.js.map → tvs.dtsv-JHTU7UFD.js.map} +0 -0
  998. /package/dist/{tvs.numeric-ZN2R7BH3.js.map → tvs.numeric-ICUGA4WY.js.map} +0 -0
  999. /package/dist/{tvs.samplelst-GAP76HRH.js.map → tvs.samplelst-VD2NFFFS.js.map} +0 -0
  1000. /package/dist/{tvs.termCollection-GQ65UKSI.js.map → tvs.termCollection-IKE5Q74D.js.map} +0 -0
  1001. /package/dist/{violin-JGDL62YA.js.map → violin-DPMJLHQG.js.map} +0 -0
  1002. /package/dist/{violin.interactivity-H4RP4K5U.js.map → violin.interactivity-TS4DYUE5.js.map} +0 -0
  1003. /package/dist/{violin.renderer-QPHLACDC.js.map → violin.renderer-53L4PXUT.js.map} +0 -0
  1004. /package/dist/{vocabulary-7JACY4J2.js.map → vocabulary-4MPFHKYC.js.map} +0 -0
@@ -0,0 +1,3157 @@
1
+ import {
2
+ E,
3
+ M,
4
+ O,
5
+ q
6
+ } from "./chunk-6LAE5AVA.js";
7
+ import "./chunk-PW3PQNNP.js";
8
+ import {
9
+ __commonJS,
10
+ __toESM
11
+ } from "./chunk-HFNDKYVF.js";
12
+
13
+ // ../node_modules/cssesc/cssesc.js
14
+ var require_cssesc = __commonJS({
15
+ "../node_modules/cssesc/cssesc.js"(exports, module) {
16
+ "use strict";
17
+ var object = {};
18
+ var hasOwnProperty = object.hasOwnProperty;
19
+ var merge = function merge2(options, defaults) {
20
+ if (!options) {
21
+ return defaults;
22
+ }
23
+ var result = {};
24
+ for (var key in defaults) {
25
+ result[key] = hasOwnProperty.call(options, key) ? options[key] : defaults[key];
26
+ }
27
+ return result;
28
+ };
29
+ var regexAnySingleEscape = /[ -,\.\/:-@\[-\^`\{-~]/;
30
+ var regexSingleEscape = /[ -,\.\/:-@\[\]\^`\{-~]/;
31
+ var regexExcessiveSpaces = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;
32
+ var cssesc = function cssesc2(string, options) {
33
+ options = merge(options, cssesc2.options);
34
+ if (options.quotes != "single" && options.quotes != "double") {
35
+ options.quotes = "single";
36
+ }
37
+ var quote = options.quotes == "double" ? '"' : "'";
38
+ var isIdentifier = options.isIdentifier;
39
+ var firstChar = string.charAt(0);
40
+ var output = "";
41
+ var counter = 0;
42
+ var length = string.length;
43
+ while (counter < length) {
44
+ var character = string.charAt(counter++);
45
+ var codePoint = character.charCodeAt();
46
+ var value = void 0;
47
+ if (codePoint < 32 || codePoint > 126) {
48
+ if (codePoint >= 55296 && codePoint <= 56319 && counter < length) {
49
+ var extra = string.charCodeAt(counter++);
50
+ if ((extra & 64512) == 56320) {
51
+ codePoint = ((codePoint & 1023) << 10) + (extra & 1023) + 65536;
52
+ } else {
53
+ counter--;
54
+ }
55
+ }
56
+ value = "\\" + codePoint.toString(16).toUpperCase() + " ";
57
+ } else {
58
+ if (options.escapeEverything) {
59
+ if (regexAnySingleEscape.test(character)) {
60
+ value = "\\" + character;
61
+ } else {
62
+ value = "\\" + codePoint.toString(16).toUpperCase() + " ";
63
+ }
64
+ } else if (/[\t\n\f\r\x0B]/.test(character)) {
65
+ value = "\\" + codePoint.toString(16).toUpperCase() + " ";
66
+ } else if (character == "\\" || !isIdentifier && (character == '"' && quote == character || character == "'" && quote == character) || isIdentifier && regexSingleEscape.test(character)) {
67
+ value = "\\" + character;
68
+ } else {
69
+ value = character;
70
+ }
71
+ }
72
+ output += value;
73
+ }
74
+ if (isIdentifier) {
75
+ if (/^-[-\d]/.test(output)) {
76
+ output = "\\-" + output.slice(1);
77
+ } else if (/\d/.test(firstChar)) {
78
+ output = "\\3" + firstChar + " " + output.slice(1);
79
+ }
80
+ }
81
+ output = output.replace(regexExcessiveSpaces, function($0, $1, $2) {
82
+ if ($1 && $1.length % 2) {
83
+ return $0;
84
+ }
85
+ return ($1 || "") + $2;
86
+ });
87
+ if (!isIdentifier && options.wrap) {
88
+ return quote + output + quote;
89
+ }
90
+ return output;
91
+ };
92
+ cssesc.options = {
93
+ "escapeEverything": false,
94
+ "isIdentifier": false,
95
+ "quotes": "single",
96
+ "wrap": false
97
+ };
98
+ cssesc.version = "3.0.0";
99
+ module.exports = cssesc;
100
+ }
101
+ });
102
+
103
+ // ../node_modules/font-family-papandreou/index.js
104
+ var require_font_family_papandreou = __commonJS({
105
+ "../node_modules/font-family-papandreou/index.js"(exports, module) {
106
+ var PLAIN = 0;
107
+ var STRINGS = 1;
108
+ var ESCAPING = 2;
109
+ var IDENTIFIER = 3;
110
+ var SEPARATING = 4;
111
+ var SPACEAFTERIDENTIFIER = 5;
112
+ var ESCAPINGIDENTIFIER = 6;
113
+ var identifierPattern = /[a-z0-9_-]/i;
114
+ var spacePattern = /[\s\t]/;
115
+ var parse = function(str) {
116
+ var starting = true;
117
+ var state = PLAIN;
118
+ var buffer = "";
119
+ var i = 0;
120
+ var quote;
121
+ var c2;
122
+ var names = [];
123
+ while (true) {
124
+ c2 = str[i];
125
+ if (state === PLAIN) {
126
+ if (!c2 && starting) {
127
+ break;
128
+ } else if (!c2 && !starting) {
129
+ throw new Error("Parse error");
130
+ } else if (c2 === '"' || c2 === "'") {
131
+ quote = c2;
132
+ state = STRINGS;
133
+ starting = false;
134
+ } else if (spacePattern.test(c2)) {
135
+ } else if (identifierPattern.test(c2)) {
136
+ state = IDENTIFIER;
137
+ starting = false;
138
+ i--;
139
+ } else {
140
+ throw new Error("Parse error");
141
+ }
142
+ } else if (state === STRINGS) {
143
+ if (!c2) {
144
+ throw new Error("Parse Error");
145
+ } else if (c2 === "\\") {
146
+ state = ESCAPING;
147
+ } else if (c2 === quote) {
148
+ names.push(buffer);
149
+ buffer = "";
150
+ state = SEPARATING;
151
+ } else {
152
+ buffer += c2;
153
+ }
154
+ } else if (state === ESCAPING) {
155
+ if (c2 === quote || c2 === "\\") {
156
+ buffer += c2;
157
+ state = STRINGS;
158
+ } else {
159
+ throw new Error("Parse error");
160
+ }
161
+ } else if (state === IDENTIFIER) {
162
+ if (!c2) {
163
+ names.push(buffer);
164
+ break;
165
+ } else if (identifierPattern.test(c2)) {
166
+ buffer += c2;
167
+ } else if (c2 === ",") {
168
+ names.push(buffer);
169
+ buffer = "";
170
+ state = PLAIN;
171
+ } else if (spacePattern.test(c2)) {
172
+ state = SPACEAFTERIDENTIFIER;
173
+ } else if (c2 === "\\") {
174
+ state = ESCAPINGIDENTIFIER;
175
+ } else {
176
+ }
177
+ } else if (state === ESCAPINGIDENTIFIER) {
178
+ if (/[0-9a-f]/i.test(c2)) {
179
+ throw new Error("Parse error");
180
+ } else {
181
+ buffer += c2;
182
+ state = IDENTIFIER;
183
+ }
184
+ } else if (state === SPACEAFTERIDENTIFIER) {
185
+ if (!c2) {
186
+ names.push(buffer);
187
+ break;
188
+ } else if (identifierPattern.test(c2)) {
189
+ buffer += " " + c2;
190
+ state = IDENTIFIER;
191
+ } else if (c2 === ",") {
192
+ names.push(buffer);
193
+ buffer = "";
194
+ state = PLAIN;
195
+ } else if (spacePattern.test(c2)) {
196
+ } else {
197
+ throw new Error("Parse error");
198
+ }
199
+ } else if (state === SEPARATING) {
200
+ if (!c2) {
201
+ break;
202
+ } else if (c2 === ",") {
203
+ state = PLAIN;
204
+ } else if (spacePattern.test(c2)) {
205
+ } else {
206
+ throw new Error("Parse error");
207
+ }
208
+ }
209
+ i++;
210
+ }
211
+ return names;
212
+ };
213
+ var stringsPattern = /[^a-z0-9_-]/i;
214
+ var stringify = function(names, options) {
215
+ var quote = options && options.quote || '"';
216
+ if (quote !== '"' && quote !== "'") {
217
+ throw new Error("Quote must be `'` or `\"`");
218
+ }
219
+ var quotePattern = new RegExp(quote, "g");
220
+ var safeNames = [];
221
+ for (var i = 0; i < names.length; ++i) {
222
+ var name = names[i];
223
+ if (stringsPattern.test(name)) {
224
+ name = name.replace(/\\/g, "\\\\").replace(quotePattern, "\\" + quote);
225
+ name = quote + name + quote;
226
+ }
227
+ safeNames.push(name);
228
+ }
229
+ return safeNames.join(", ");
230
+ };
231
+ module.exports = {
232
+ parse,
233
+ stringify
234
+ };
235
+ }
236
+ });
237
+
238
+ // ../node_modules/svgpath/lib/path_parse.js
239
+ var require_path_parse = __commonJS({
240
+ "../node_modules/svgpath/lib/path_parse.js"(exports, module) {
241
+ "use strict";
242
+ var paramCounts = { a: 7, c: 6, h: 1, l: 2, m: 2, r: 4, q: 4, s: 4, t: 2, v: 1, z: 0 };
243
+ var SPECIAL_SPACES = [
244
+ 5760,
245
+ 6158,
246
+ 8192,
247
+ 8193,
248
+ 8194,
249
+ 8195,
250
+ 8196,
251
+ 8197,
252
+ 8198,
253
+ 8199,
254
+ 8200,
255
+ 8201,
256
+ 8202,
257
+ 8239,
258
+ 8287,
259
+ 12288,
260
+ 65279
261
+ ];
262
+ function isSpace(ch) {
263
+ return ch === 10 || ch === 13 || ch === 8232 || ch === 8233 || // Line terminators
264
+ // White spaces
265
+ ch === 32 || ch === 9 || ch === 11 || ch === 12 || ch === 160 || ch >= 5760 && SPECIAL_SPACES.indexOf(ch) >= 0;
266
+ }
267
+ function isCommand(code) {
268
+ switch (code | 32) {
269
+ case 109:
270
+ case 122:
271
+ case 108:
272
+ case 104:
273
+ case 118:
274
+ case 99:
275
+ case 115:
276
+ case 113:
277
+ case 116:
278
+ case 97:
279
+ case 114:
280
+ return true;
281
+ }
282
+ return false;
283
+ }
284
+ function isArc(code) {
285
+ return (code | 32) === 97;
286
+ }
287
+ function isDigit(code) {
288
+ return code >= 48 && code <= 57;
289
+ }
290
+ function isDigitStart(code) {
291
+ return code >= 48 && code <= 57 || /* 0..9 */
292
+ code === 43 || /* + */
293
+ code === 45 || /* - */
294
+ code === 46;
295
+ }
296
+ function State(path) {
297
+ this.index = 0;
298
+ this.path = path;
299
+ this.max = path.length;
300
+ this.result = [];
301
+ this.param = 0;
302
+ this.err = "";
303
+ this.segmentStart = 0;
304
+ this.data = [];
305
+ }
306
+ function skipSpaces(state) {
307
+ while (state.index < state.max && isSpace(state.path.charCodeAt(state.index))) {
308
+ state.index++;
309
+ }
310
+ }
311
+ function scanFlag(state) {
312
+ var ch = state.path.charCodeAt(state.index);
313
+ if (ch === 48) {
314
+ state.param = 0;
315
+ state.index++;
316
+ return;
317
+ }
318
+ if (ch === 49) {
319
+ state.param = 1;
320
+ state.index++;
321
+ return;
322
+ }
323
+ state.err = "SvgPath: arc flag can be 0 or 1 only (at pos " + state.index + ")";
324
+ }
325
+ function scanParam(state) {
326
+ var start = state.index, index = start, max = state.max, zeroFirst = false, hasCeiling = false, hasDecimal = false, hasDot = false, ch;
327
+ if (index >= max) {
328
+ state.err = "SvgPath: missed param (at pos " + index + ")";
329
+ return;
330
+ }
331
+ ch = state.path.charCodeAt(index);
332
+ if (ch === 43 || ch === 45) {
333
+ index++;
334
+ ch = index < max ? state.path.charCodeAt(index) : 0;
335
+ }
336
+ if (!isDigit(ch) && ch !== 46) {
337
+ state.err = "SvgPath: param should start with 0..9 or `.` (at pos " + index + ")";
338
+ return;
339
+ }
340
+ if (ch !== 46) {
341
+ zeroFirst = ch === 48;
342
+ index++;
343
+ ch = index < max ? state.path.charCodeAt(index) : 0;
344
+ if (zeroFirst && index < max) {
345
+ if (ch && isDigit(ch)) {
346
+ state.err = "SvgPath: numbers started with `0` such as `09` are illegal (at pos " + start + ")";
347
+ return;
348
+ }
349
+ }
350
+ while (index < max && isDigit(state.path.charCodeAt(index))) {
351
+ index++;
352
+ hasCeiling = true;
353
+ }
354
+ ch = index < max ? state.path.charCodeAt(index) : 0;
355
+ }
356
+ if (ch === 46) {
357
+ hasDot = true;
358
+ index++;
359
+ while (isDigit(state.path.charCodeAt(index))) {
360
+ index++;
361
+ hasDecimal = true;
362
+ }
363
+ ch = index < max ? state.path.charCodeAt(index) : 0;
364
+ }
365
+ if (ch === 101 || ch === 69) {
366
+ if (hasDot && !hasCeiling && !hasDecimal) {
367
+ state.err = "SvgPath: invalid float exponent (at pos " + index + ")";
368
+ return;
369
+ }
370
+ index++;
371
+ ch = index < max ? state.path.charCodeAt(index) : 0;
372
+ if (ch === 43 || ch === 45) {
373
+ index++;
374
+ }
375
+ if (index < max && isDigit(state.path.charCodeAt(index))) {
376
+ while (index < max && isDigit(state.path.charCodeAt(index))) {
377
+ index++;
378
+ }
379
+ } else {
380
+ state.err = "SvgPath: invalid float exponent (at pos " + index + ")";
381
+ return;
382
+ }
383
+ }
384
+ state.index = index;
385
+ state.param = parseFloat(state.path.slice(start, index)) + 0;
386
+ }
387
+ function finalizeSegment(state) {
388
+ var cmd, cmdLC;
389
+ cmd = state.path[state.segmentStart];
390
+ cmdLC = cmd.toLowerCase();
391
+ var params = state.data;
392
+ if (cmdLC === "m" && params.length > 2) {
393
+ state.result.push([cmd, params[0], params[1]]);
394
+ params = params.slice(2);
395
+ cmdLC = "l";
396
+ cmd = cmd === "m" ? "l" : "L";
397
+ }
398
+ if (cmdLC === "r") {
399
+ state.result.push([cmd].concat(params));
400
+ } else {
401
+ while (params.length >= paramCounts[cmdLC]) {
402
+ state.result.push([cmd].concat(params.splice(0, paramCounts[cmdLC])));
403
+ if (!paramCounts[cmdLC]) {
404
+ break;
405
+ }
406
+ }
407
+ }
408
+ }
409
+ function scanSegment(state) {
410
+ var max = state.max, cmdCode, is_arc, comma_found, need_params, i;
411
+ state.segmentStart = state.index;
412
+ cmdCode = state.path.charCodeAt(state.index);
413
+ is_arc = isArc(cmdCode);
414
+ if (!isCommand(cmdCode)) {
415
+ state.err = "SvgPath: bad command " + state.path[state.index] + " (at pos " + state.index + ")";
416
+ return;
417
+ }
418
+ need_params = paramCounts[state.path[state.index].toLowerCase()];
419
+ state.index++;
420
+ skipSpaces(state);
421
+ state.data = [];
422
+ if (!need_params) {
423
+ finalizeSegment(state);
424
+ return;
425
+ }
426
+ comma_found = false;
427
+ for (; ; ) {
428
+ for (i = need_params; i > 0; i--) {
429
+ if (is_arc && (i === 3 || i === 4)) scanFlag(state);
430
+ else scanParam(state);
431
+ if (state.err.length) {
432
+ finalizeSegment(state);
433
+ return;
434
+ }
435
+ state.data.push(state.param);
436
+ skipSpaces(state);
437
+ comma_found = false;
438
+ if (state.index < max && state.path.charCodeAt(state.index) === 44) {
439
+ state.index++;
440
+ skipSpaces(state);
441
+ comma_found = true;
442
+ }
443
+ }
444
+ if (comma_found) {
445
+ continue;
446
+ }
447
+ if (state.index >= state.max) {
448
+ break;
449
+ }
450
+ if (!isDigitStart(state.path.charCodeAt(state.index))) {
451
+ break;
452
+ }
453
+ }
454
+ finalizeSegment(state);
455
+ }
456
+ module.exports = function pathParse(svgPath) {
457
+ var state = new State(svgPath);
458
+ var max = state.max;
459
+ skipSpaces(state);
460
+ while (state.index < max && !state.err.length) {
461
+ scanSegment(state);
462
+ }
463
+ if (state.result.length) {
464
+ if ("mM".indexOf(state.result[0][0]) < 0) {
465
+ state.err = "SvgPath: string should start with `M` or `m`";
466
+ state.result = [];
467
+ } else {
468
+ state.result[0][0] = "M";
469
+ }
470
+ }
471
+ return {
472
+ err: state.err,
473
+ segments: state.result
474
+ };
475
+ };
476
+ }
477
+ });
478
+
479
+ // ../node_modules/svgpath/lib/matrix.js
480
+ var require_matrix = __commonJS({
481
+ "../node_modules/svgpath/lib/matrix.js"(exports, module) {
482
+ "use strict";
483
+ function combine(m1, m2) {
484
+ return [
485
+ m1[0] * m2[0] + m1[2] * m2[1],
486
+ m1[1] * m2[0] + m1[3] * m2[1],
487
+ m1[0] * m2[2] + m1[2] * m2[3],
488
+ m1[1] * m2[2] + m1[3] * m2[3],
489
+ m1[0] * m2[4] + m1[2] * m2[5] + m1[4],
490
+ m1[1] * m2[4] + m1[3] * m2[5] + m1[5]
491
+ ];
492
+ }
493
+ function Matrix() {
494
+ if (!(this instanceof Matrix)) {
495
+ return new Matrix();
496
+ }
497
+ this.queue = [];
498
+ this.cache = null;
499
+ }
500
+ Matrix.prototype.matrix = function(m2) {
501
+ if (m2[0] === 1 && m2[1] === 0 && m2[2] === 0 && m2[3] === 1 && m2[4] === 0 && m2[5] === 0) {
502
+ return this;
503
+ }
504
+ this.cache = null;
505
+ this.queue.push(m2);
506
+ return this;
507
+ };
508
+ Matrix.prototype.translate = function(tx, ty) {
509
+ if (tx !== 0 || ty !== 0) {
510
+ this.cache = null;
511
+ this.queue.push([1, 0, 0, 1, tx, ty]);
512
+ }
513
+ return this;
514
+ };
515
+ Matrix.prototype.scale = function(sx, sy) {
516
+ if (sx !== 1 || sy !== 1) {
517
+ this.cache = null;
518
+ this.queue.push([sx, 0, 0, sy, 0, 0]);
519
+ }
520
+ return this;
521
+ };
522
+ Matrix.prototype.rotate = function(angle, rx, ry) {
523
+ var rad, cos, sin;
524
+ if (angle !== 0) {
525
+ this.translate(rx, ry);
526
+ rad = angle * Math.PI / 180;
527
+ cos = Math.cos(rad);
528
+ sin = Math.sin(rad);
529
+ this.queue.push([cos, sin, -sin, cos, 0, 0]);
530
+ this.cache = null;
531
+ this.translate(-rx, -ry);
532
+ }
533
+ return this;
534
+ };
535
+ Matrix.prototype.skewX = function(angle) {
536
+ if (angle !== 0) {
537
+ this.cache = null;
538
+ this.queue.push([1, 0, Math.tan(angle * Math.PI / 180), 1, 0, 0]);
539
+ }
540
+ return this;
541
+ };
542
+ Matrix.prototype.skewY = function(angle) {
543
+ if (angle !== 0) {
544
+ this.cache = null;
545
+ this.queue.push([1, Math.tan(angle * Math.PI / 180), 0, 1, 0, 0]);
546
+ }
547
+ return this;
548
+ };
549
+ Matrix.prototype.toArray = function() {
550
+ if (this.cache) {
551
+ return this.cache;
552
+ }
553
+ if (!this.queue.length) {
554
+ this.cache = [1, 0, 0, 1, 0, 0];
555
+ return this.cache;
556
+ }
557
+ this.cache = this.queue[0];
558
+ if (this.queue.length === 1) {
559
+ return this.cache;
560
+ }
561
+ for (var i = 1; i < this.queue.length; i++) {
562
+ this.cache = combine(this.cache, this.queue[i]);
563
+ }
564
+ return this.cache;
565
+ };
566
+ Matrix.prototype.calc = function(x2, y2, isRelative) {
567
+ var m2;
568
+ if (!this.queue.length) {
569
+ return [x2, y2];
570
+ }
571
+ if (!this.cache) {
572
+ this.cache = this.toArray();
573
+ }
574
+ m2 = this.cache;
575
+ return [
576
+ x2 * m2[0] + y2 * m2[2] + (isRelative ? 0 : m2[4]),
577
+ x2 * m2[1] + y2 * m2[3] + (isRelative ? 0 : m2[5])
578
+ ];
579
+ };
580
+ module.exports = Matrix;
581
+ }
582
+ });
583
+
584
+ // ../node_modules/svgpath/lib/transform_parse.js
585
+ var require_transform_parse = __commonJS({
586
+ "../node_modules/svgpath/lib/transform_parse.js"(exports, module) {
587
+ "use strict";
588
+ var Matrix = require_matrix();
589
+ var operations = {
590
+ matrix: true,
591
+ scale: true,
592
+ rotate: true,
593
+ translate: true,
594
+ skewX: true,
595
+ skewY: true
596
+ };
597
+ var CMD_SPLIT_RE = /\s*(matrix|translate|scale|rotate|skewX|skewY)\s*\(\s*(.+?)\s*\)[\s,]*/;
598
+ var PARAMS_SPLIT_RE = /[\s,]+/;
599
+ module.exports = function transformParse(transformString) {
600
+ var matrix = new Matrix();
601
+ var cmd, params;
602
+ transformString.split(CMD_SPLIT_RE).forEach(function(item) {
603
+ if (!item.length) {
604
+ return;
605
+ }
606
+ if (typeof operations[item] !== "undefined") {
607
+ cmd = item;
608
+ return;
609
+ }
610
+ params = item.split(PARAMS_SPLIT_RE).map(function(i) {
611
+ return +i || 0;
612
+ });
613
+ switch (cmd) {
614
+ case "matrix":
615
+ if (params.length === 6) {
616
+ matrix.matrix(params);
617
+ }
618
+ return;
619
+ case "scale":
620
+ if (params.length === 1) {
621
+ matrix.scale(params[0], params[0]);
622
+ } else if (params.length === 2) {
623
+ matrix.scale(params[0], params[1]);
624
+ }
625
+ return;
626
+ case "rotate":
627
+ if (params.length === 1) {
628
+ matrix.rotate(params[0], 0, 0);
629
+ } else if (params.length === 3) {
630
+ matrix.rotate(params[0], params[1], params[2]);
631
+ }
632
+ return;
633
+ case "translate":
634
+ if (params.length === 1) {
635
+ matrix.translate(params[0], 0);
636
+ } else if (params.length === 2) {
637
+ matrix.translate(params[0], params[1]);
638
+ }
639
+ return;
640
+ case "skewX":
641
+ if (params.length === 1) {
642
+ matrix.skewX(params[0]);
643
+ }
644
+ return;
645
+ case "skewY":
646
+ if (params.length === 1) {
647
+ matrix.skewY(params[0]);
648
+ }
649
+ return;
650
+ }
651
+ });
652
+ return matrix;
653
+ };
654
+ }
655
+ });
656
+
657
+ // ../node_modules/svgpath/lib/a2c.js
658
+ var require_a2c = __commonJS({
659
+ "../node_modules/svgpath/lib/a2c.js"(exports, module) {
660
+ "use strict";
661
+ var TAU = Math.PI * 2;
662
+ function unit_vector_angle(ux, uy, vx, vy) {
663
+ var sign = ux * vy - uy * vx < 0 ? -1 : 1;
664
+ var dot = ux * vx + uy * vy;
665
+ if (dot > 1) {
666
+ dot = 1;
667
+ }
668
+ if (dot < -1) {
669
+ dot = -1;
670
+ }
671
+ return sign * Math.acos(dot);
672
+ }
673
+ function get_arc_center(x1, y1, x2, y2, fa, fs, rx, ry, sin_phi, cos_phi) {
674
+ var x1p = cos_phi * (x1 - x2) / 2 + sin_phi * (y1 - y2) / 2;
675
+ var y1p = -sin_phi * (x1 - x2) / 2 + cos_phi * (y1 - y2) / 2;
676
+ var rx_sq = rx * rx;
677
+ var ry_sq = ry * ry;
678
+ var x1p_sq = x1p * x1p;
679
+ var y1p_sq = y1p * y1p;
680
+ var radicant = rx_sq * ry_sq - rx_sq * y1p_sq - ry_sq * x1p_sq;
681
+ if (radicant < 0) {
682
+ radicant = 0;
683
+ }
684
+ radicant /= rx_sq * y1p_sq + ry_sq * x1p_sq;
685
+ radicant = Math.sqrt(radicant) * (fa === fs ? -1 : 1);
686
+ var cxp = radicant * rx / ry * y1p;
687
+ var cyp = radicant * -ry / rx * x1p;
688
+ var cx = cos_phi * cxp - sin_phi * cyp + (x1 + x2) / 2;
689
+ var cy = sin_phi * cxp + cos_phi * cyp + (y1 + y2) / 2;
690
+ var v1x = (x1p - cxp) / rx;
691
+ var v1y = (y1p - cyp) / ry;
692
+ var v2x = (-x1p - cxp) / rx;
693
+ var v2y = (-y1p - cyp) / ry;
694
+ var theta1 = unit_vector_angle(1, 0, v1x, v1y);
695
+ var delta_theta = unit_vector_angle(v1x, v1y, v2x, v2y);
696
+ if (fs === 0 && delta_theta > 0) {
697
+ delta_theta -= TAU;
698
+ }
699
+ if (fs === 1 && delta_theta < 0) {
700
+ delta_theta += TAU;
701
+ }
702
+ return [cx, cy, theta1, delta_theta];
703
+ }
704
+ function approximate_unit_arc(theta1, delta_theta) {
705
+ var alpha = 4 / 3 * Math.tan(delta_theta / 4);
706
+ var x1 = Math.cos(theta1);
707
+ var y1 = Math.sin(theta1);
708
+ var x2 = Math.cos(theta1 + delta_theta);
709
+ var y2 = Math.sin(theta1 + delta_theta);
710
+ return [x1, y1, x1 - y1 * alpha, y1 + x1 * alpha, x2 + y2 * alpha, y2 - x2 * alpha, x2, y2];
711
+ }
712
+ module.exports = function a2c(x1, y1, x2, y2, fa, fs, rx, ry, phi) {
713
+ var sin_phi = Math.sin(phi * TAU / 360);
714
+ var cos_phi = Math.cos(phi * TAU / 360);
715
+ var x1p = cos_phi * (x1 - x2) / 2 + sin_phi * (y1 - y2) / 2;
716
+ var y1p = -sin_phi * (x1 - x2) / 2 + cos_phi * (y1 - y2) / 2;
717
+ if (x1p === 0 && y1p === 0) {
718
+ return [];
719
+ }
720
+ if (rx === 0 || ry === 0) {
721
+ return [];
722
+ }
723
+ rx = Math.abs(rx);
724
+ ry = Math.abs(ry);
725
+ var lambda = x1p * x1p / (rx * rx) + y1p * y1p / (ry * ry);
726
+ if (lambda > 1) {
727
+ rx *= Math.sqrt(lambda);
728
+ ry *= Math.sqrt(lambda);
729
+ }
730
+ var cc = get_arc_center(x1, y1, x2, y2, fa, fs, rx, ry, sin_phi, cos_phi);
731
+ var result = [];
732
+ var theta1 = cc[2];
733
+ var delta_theta = cc[3];
734
+ var segments = Math.max(Math.ceil(Math.abs(delta_theta) / (TAU / 4)), 1);
735
+ delta_theta /= segments;
736
+ for (var i = 0; i < segments; i++) {
737
+ result.push(approximate_unit_arc(theta1, delta_theta));
738
+ theta1 += delta_theta;
739
+ }
740
+ return result.map(function(curve) {
741
+ for (var i2 = 0; i2 < curve.length; i2 += 2) {
742
+ var x3 = curve[i2 + 0];
743
+ var y3 = curve[i2 + 1];
744
+ x3 *= rx;
745
+ y3 *= ry;
746
+ var xp = cos_phi * x3 - sin_phi * y3;
747
+ var yp = sin_phi * x3 + cos_phi * y3;
748
+ curve[i2 + 0] = xp + cc[0];
749
+ curve[i2 + 1] = yp + cc[1];
750
+ }
751
+ return curve;
752
+ });
753
+ };
754
+ }
755
+ });
756
+
757
+ // ../node_modules/svgpath/lib/ellipse.js
758
+ var require_ellipse = __commonJS({
759
+ "../node_modules/svgpath/lib/ellipse.js"(exports, module) {
760
+ "use strict";
761
+ var epsilon = 1e-10;
762
+ var torad = Math.PI / 180;
763
+ function Ellipse(rx, ry, ax) {
764
+ if (!(this instanceof Ellipse)) {
765
+ return new Ellipse(rx, ry, ax);
766
+ }
767
+ this.rx = rx;
768
+ this.ry = ry;
769
+ this.ax = ax;
770
+ }
771
+ Ellipse.prototype.transform = function(m2) {
772
+ var c2 = Math.cos(this.ax * torad), s2 = Math.sin(this.ax * torad);
773
+ var ma = [
774
+ this.rx * (m2[0] * c2 + m2[2] * s2),
775
+ this.rx * (m2[1] * c2 + m2[3] * s2),
776
+ this.ry * (-m2[0] * s2 + m2[2] * c2),
777
+ this.ry * (-m2[1] * s2 + m2[3] * c2)
778
+ ];
779
+ var J2 = ma[0] * ma[0] + ma[2] * ma[2], K2 = ma[1] * ma[1] + ma[3] * ma[3];
780
+ var D2 = ((ma[0] - ma[3]) * (ma[0] - ma[3]) + (ma[2] + ma[1]) * (ma[2] + ma[1])) * ((ma[0] + ma[3]) * (ma[0] + ma[3]) + (ma[2] - ma[1]) * (ma[2] - ma[1]));
781
+ var JK = (J2 + K2) / 2;
782
+ if (D2 < epsilon * JK) {
783
+ this.rx = this.ry = Math.sqrt(JK);
784
+ this.ax = 0;
785
+ return this;
786
+ }
787
+ var L2 = ma[0] * ma[1] + ma[2] * ma[3];
788
+ D2 = Math.sqrt(D2);
789
+ var l1 = JK + D2 / 2, l2 = JK - D2 / 2;
790
+ this.ax = Math.abs(L2) < epsilon && Math.abs(l1 - K2) < epsilon ? 90 : Math.atan(
791
+ Math.abs(L2) > Math.abs(l1 - K2) ? (l1 - J2) / L2 : L2 / (l1 - K2)
792
+ ) * 180 / Math.PI;
793
+ if (this.ax >= 0) {
794
+ this.rx = Math.sqrt(l1);
795
+ this.ry = Math.sqrt(l2);
796
+ } else {
797
+ this.ax += 90;
798
+ this.rx = Math.sqrt(l2);
799
+ this.ry = Math.sqrt(l1);
800
+ }
801
+ return this;
802
+ };
803
+ Ellipse.prototype.isDegenerate = function() {
804
+ return this.rx < epsilon * this.ry || this.ry < epsilon * this.rx;
805
+ };
806
+ module.exports = Ellipse;
807
+ }
808
+ });
809
+
810
+ // ../node_modules/svgpath/lib/svgpath.js
811
+ var require_svgpath = __commonJS({
812
+ "../node_modules/svgpath/lib/svgpath.js"(exports, module) {
813
+ "use strict";
814
+ var pathParse = require_path_parse();
815
+ var transformParse = require_transform_parse();
816
+ var matrix = require_matrix();
817
+ var a2c = require_a2c();
818
+ var ellipse = require_ellipse();
819
+ function SvgPath(path) {
820
+ if (!(this instanceof SvgPath)) {
821
+ return new SvgPath(path);
822
+ }
823
+ var pstate = pathParse(path);
824
+ this.segments = pstate.segments;
825
+ this.err = pstate.err;
826
+ this.__stack = [];
827
+ }
828
+ SvgPath.from = function(src) {
829
+ if (typeof src === "string") return new SvgPath(src);
830
+ if (src instanceof SvgPath) {
831
+ var s2 = new SvgPath("");
832
+ s2.err = src.err;
833
+ s2.segments = src.segments.map(function(sgm) {
834
+ return sgm.slice();
835
+ });
836
+ s2.__stack = src.__stack.map(function(m2) {
837
+ return matrix().matrix(m2.toArray());
838
+ });
839
+ return s2;
840
+ }
841
+ throw new Error("SvgPath.from: invalid param type " + src);
842
+ };
843
+ SvgPath.prototype.__matrix = function(m2) {
844
+ var self = this, i;
845
+ if (!m2.queue.length) {
846
+ return;
847
+ }
848
+ this.iterate(function(s2, index, x2, y2) {
849
+ var p2, result, name, isRelative;
850
+ switch (s2[0]) {
851
+ // Process 'assymetric' commands separately
852
+ case "v":
853
+ p2 = m2.calc(0, s2[1], true);
854
+ result = p2[0] === 0 ? ["v", p2[1]] : ["l", p2[0], p2[1]];
855
+ break;
856
+ case "V":
857
+ p2 = m2.calc(x2, s2[1], false);
858
+ result = p2[0] === m2.calc(x2, y2, false)[0] ? ["V", p2[1]] : ["L", p2[0], p2[1]];
859
+ break;
860
+ case "h":
861
+ p2 = m2.calc(s2[1], 0, true);
862
+ result = p2[1] === 0 ? ["h", p2[0]] : ["l", p2[0], p2[1]];
863
+ break;
864
+ case "H":
865
+ p2 = m2.calc(s2[1], y2, false);
866
+ result = p2[1] === m2.calc(x2, y2, false)[1] ? ["H", p2[0]] : ["L", p2[0], p2[1]];
867
+ break;
868
+ case "a":
869
+ case "A":
870
+ var ma = m2.toArray();
871
+ var e2 = ellipse(s2[1], s2[2], s2[3]).transform(ma);
872
+ if (ma[0] * ma[3] - ma[1] * ma[2] < 0) {
873
+ s2[5] = s2[5] ? "0" : "1";
874
+ }
875
+ p2 = m2.calc(s2[6], s2[7], s2[0] === "a");
876
+ if (s2[0] === "A" && s2[6] === x2 && s2[7] === y2 || s2[0] === "a" && s2[6] === 0 && s2[7] === 0) {
877
+ result = [s2[0] === "a" ? "l" : "L", p2[0], p2[1]];
878
+ break;
879
+ }
880
+ if (e2.isDegenerate()) {
881
+ result = [s2[0] === "a" ? "l" : "L", p2[0], p2[1]];
882
+ } else {
883
+ result = [s2[0], e2.rx, e2.ry, e2.ax, s2[4], s2[5], p2[0], p2[1]];
884
+ }
885
+ break;
886
+ case "m":
887
+ isRelative = index > 0;
888
+ p2 = m2.calc(s2[1], s2[2], isRelative);
889
+ result = ["m", p2[0], p2[1]];
890
+ break;
891
+ default:
892
+ name = s2[0];
893
+ result = [name];
894
+ isRelative = name.toLowerCase() === name;
895
+ for (i = 1; i < s2.length; i += 2) {
896
+ p2 = m2.calc(s2[i], s2[i + 1], isRelative);
897
+ result.push(p2[0], p2[1]);
898
+ }
899
+ }
900
+ self.segments[index] = result;
901
+ }, true);
902
+ };
903
+ SvgPath.prototype.__evaluateStack = function() {
904
+ var m2, i;
905
+ if (!this.__stack.length) {
906
+ return;
907
+ }
908
+ if (this.__stack.length === 1) {
909
+ this.__matrix(this.__stack[0]);
910
+ this.__stack = [];
911
+ return;
912
+ }
913
+ m2 = matrix();
914
+ i = this.__stack.length;
915
+ while (--i >= 0) {
916
+ m2.matrix(this.__stack[i].toArray());
917
+ }
918
+ this.__matrix(m2);
919
+ this.__stack = [];
920
+ };
921
+ SvgPath.prototype.toString = function() {
922
+ var result = "", prevCmd = "", cmdSkipped = false;
923
+ this.__evaluateStack();
924
+ for (var i = 0, len = this.segments.length; i < len; i++) {
925
+ var segment = this.segments[i];
926
+ var cmd = segment[0];
927
+ if (cmd !== prevCmd || cmd === "m" || cmd === "M") {
928
+ if (cmd === "m" && prevCmd === "z") result += " ";
929
+ result += cmd;
930
+ cmdSkipped = false;
931
+ } else {
932
+ cmdSkipped = true;
933
+ }
934
+ for (var pos = 1; pos < segment.length; pos++) {
935
+ var val = segment[pos];
936
+ if (pos === 1) {
937
+ if (cmdSkipped && val >= 0) result += " ";
938
+ } else if (val >= 0) result += " ";
939
+ result += val;
940
+ }
941
+ prevCmd = cmd;
942
+ }
943
+ return result;
944
+ };
945
+ SvgPath.prototype.translate = function(x2, y2) {
946
+ this.__stack.push(matrix().translate(x2, y2 || 0));
947
+ return this;
948
+ };
949
+ SvgPath.prototype.scale = function(sx, sy) {
950
+ this.__stack.push(matrix().scale(sx, !sy && sy !== 0 ? sx : sy));
951
+ return this;
952
+ };
953
+ SvgPath.prototype.rotate = function(angle, rx, ry) {
954
+ this.__stack.push(matrix().rotate(angle, rx || 0, ry || 0));
955
+ return this;
956
+ };
957
+ SvgPath.prototype.skewX = function(degrees) {
958
+ this.__stack.push(matrix().skewX(degrees));
959
+ return this;
960
+ };
961
+ SvgPath.prototype.skewY = function(degrees) {
962
+ this.__stack.push(matrix().skewY(degrees));
963
+ return this;
964
+ };
965
+ SvgPath.prototype.matrix = function(m2) {
966
+ this.__stack.push(matrix().matrix(m2));
967
+ return this;
968
+ };
969
+ SvgPath.prototype.transform = function(transformString) {
970
+ if (!transformString.trim()) {
971
+ return this;
972
+ }
973
+ this.__stack.push(transformParse(transformString));
974
+ return this;
975
+ };
976
+ SvgPath.prototype.round = function(d2) {
977
+ var contourStartDeltaX = 0, contourStartDeltaY = 0, deltaX = 0, deltaY = 0, l2;
978
+ d2 = d2 || 0;
979
+ this.__evaluateStack();
980
+ this.segments.forEach(function(s2) {
981
+ var isRelative = s2[0].toLowerCase() === s2[0];
982
+ switch (s2[0]) {
983
+ case "H":
984
+ case "h":
985
+ if (isRelative) {
986
+ s2[1] += deltaX;
987
+ }
988
+ deltaX = s2[1] - s2[1].toFixed(d2);
989
+ s2[1] = +s2[1].toFixed(d2);
990
+ return;
991
+ case "V":
992
+ case "v":
993
+ if (isRelative) {
994
+ s2[1] += deltaY;
995
+ }
996
+ deltaY = s2[1] - s2[1].toFixed(d2);
997
+ s2[1] = +s2[1].toFixed(d2);
998
+ return;
999
+ case "Z":
1000
+ case "z":
1001
+ deltaX = contourStartDeltaX;
1002
+ deltaY = contourStartDeltaY;
1003
+ return;
1004
+ case "M":
1005
+ case "m":
1006
+ if (isRelative) {
1007
+ s2[1] += deltaX;
1008
+ s2[2] += deltaY;
1009
+ }
1010
+ deltaX = s2[1] - s2[1].toFixed(d2);
1011
+ deltaY = s2[2] - s2[2].toFixed(d2);
1012
+ contourStartDeltaX = deltaX;
1013
+ contourStartDeltaY = deltaY;
1014
+ s2[1] = +s2[1].toFixed(d2);
1015
+ s2[2] = +s2[2].toFixed(d2);
1016
+ return;
1017
+ case "A":
1018
+ case "a":
1019
+ if (isRelative) {
1020
+ s2[6] += deltaX;
1021
+ s2[7] += deltaY;
1022
+ }
1023
+ deltaX = s2[6] - s2[6].toFixed(d2);
1024
+ deltaY = s2[7] - s2[7].toFixed(d2);
1025
+ s2[1] = +s2[1].toFixed(d2);
1026
+ s2[2] = +s2[2].toFixed(d2);
1027
+ s2[3] = +s2[3].toFixed(d2 + 2);
1028
+ s2[6] = +s2[6].toFixed(d2);
1029
+ s2[7] = +s2[7].toFixed(d2);
1030
+ return;
1031
+ default:
1032
+ l2 = s2.length;
1033
+ if (isRelative) {
1034
+ s2[l2 - 2] += deltaX;
1035
+ s2[l2 - 1] += deltaY;
1036
+ }
1037
+ deltaX = s2[l2 - 2] - s2[l2 - 2].toFixed(d2);
1038
+ deltaY = s2[l2 - 1] - s2[l2 - 1].toFixed(d2);
1039
+ s2.forEach(function(val, i) {
1040
+ if (!i) {
1041
+ return;
1042
+ }
1043
+ s2[i] = +s2[i].toFixed(d2);
1044
+ });
1045
+ return;
1046
+ }
1047
+ });
1048
+ return this;
1049
+ };
1050
+ SvgPath.prototype.iterate = function(iterator, keepLazyStack) {
1051
+ var segments = this.segments, replacements = {}, needReplace = false, lastX = 0, lastY = 0, countourStartX = 0, countourStartY = 0;
1052
+ var i, j2, newSegments;
1053
+ if (!keepLazyStack) {
1054
+ this.__evaluateStack();
1055
+ }
1056
+ segments.forEach(function(s2, index) {
1057
+ var res = iterator(s2, index, lastX, lastY);
1058
+ if (Array.isArray(res)) {
1059
+ replacements[index] = res;
1060
+ needReplace = true;
1061
+ }
1062
+ var isRelative = s2[0] === s2[0].toLowerCase();
1063
+ switch (s2[0]) {
1064
+ case "m":
1065
+ case "M":
1066
+ lastX = s2[1] + (isRelative ? lastX : 0);
1067
+ lastY = s2[2] + (isRelative ? lastY : 0);
1068
+ countourStartX = lastX;
1069
+ countourStartY = lastY;
1070
+ return;
1071
+ case "h":
1072
+ case "H":
1073
+ lastX = s2[1] + (isRelative ? lastX : 0);
1074
+ return;
1075
+ case "v":
1076
+ case "V":
1077
+ lastY = s2[1] + (isRelative ? lastY : 0);
1078
+ return;
1079
+ case "z":
1080
+ case "Z":
1081
+ lastX = countourStartX;
1082
+ lastY = countourStartY;
1083
+ return;
1084
+ default:
1085
+ lastX = s2[s2.length - 2] + (isRelative ? lastX : 0);
1086
+ lastY = s2[s2.length - 1] + (isRelative ? lastY : 0);
1087
+ }
1088
+ });
1089
+ if (!needReplace) {
1090
+ return this;
1091
+ }
1092
+ newSegments = [];
1093
+ for (i = 0; i < segments.length; i++) {
1094
+ if (typeof replacements[i] !== "undefined") {
1095
+ for (j2 = 0; j2 < replacements[i].length; j2++) {
1096
+ newSegments.push(replacements[i][j2]);
1097
+ }
1098
+ } else {
1099
+ newSegments.push(segments[i]);
1100
+ }
1101
+ }
1102
+ this.segments = newSegments;
1103
+ return this;
1104
+ };
1105
+ SvgPath.prototype.abs = function() {
1106
+ this.iterate(function(s2, index, x2, y2) {
1107
+ var name = s2[0], nameUC = name.toUpperCase(), i;
1108
+ if (name === nameUC) {
1109
+ return;
1110
+ }
1111
+ s2[0] = nameUC;
1112
+ switch (name) {
1113
+ case "v":
1114
+ s2[1] += y2;
1115
+ return;
1116
+ case "a":
1117
+ s2[6] += x2;
1118
+ s2[7] += y2;
1119
+ return;
1120
+ default:
1121
+ for (i = 1; i < s2.length; i++) {
1122
+ s2[i] += i % 2 ? x2 : y2;
1123
+ }
1124
+ }
1125
+ }, true);
1126
+ return this;
1127
+ };
1128
+ SvgPath.prototype.rel = function() {
1129
+ this.iterate(function(s2, index, x2, y2) {
1130
+ var name = s2[0], nameLC = name.toLowerCase(), i;
1131
+ if (name === nameLC) {
1132
+ return;
1133
+ }
1134
+ if (index === 0 && name === "M") {
1135
+ return;
1136
+ }
1137
+ s2[0] = nameLC;
1138
+ switch (name) {
1139
+ case "V":
1140
+ s2[1] -= y2;
1141
+ return;
1142
+ case "A":
1143
+ s2[6] -= x2;
1144
+ s2[7] -= y2;
1145
+ return;
1146
+ default:
1147
+ for (i = 1; i < s2.length; i++) {
1148
+ s2[i] -= i % 2 ? x2 : y2;
1149
+ }
1150
+ }
1151
+ }, true);
1152
+ return this;
1153
+ };
1154
+ SvgPath.prototype.unarc = function() {
1155
+ this.iterate(function(s2, index, x2, y2) {
1156
+ var new_segments, nextX, nextY, result = [], name = s2[0];
1157
+ if (name !== "A" && name !== "a") {
1158
+ return null;
1159
+ }
1160
+ if (name === "a") {
1161
+ nextX = x2 + s2[6];
1162
+ nextY = y2 + s2[7];
1163
+ } else {
1164
+ nextX = s2[6];
1165
+ nextY = s2[7];
1166
+ }
1167
+ new_segments = a2c(x2, y2, nextX, nextY, s2[4], s2[5], s2[1], s2[2], s2[3]);
1168
+ if (new_segments.length === 0) {
1169
+ return [[s2[0] === "a" ? "l" : "L", s2[6], s2[7]]];
1170
+ }
1171
+ new_segments.forEach(function(s3) {
1172
+ result.push(["C", s3[2], s3[3], s3[4], s3[5], s3[6], s3[7]]);
1173
+ });
1174
+ return result;
1175
+ });
1176
+ return this;
1177
+ };
1178
+ SvgPath.prototype.unshort = function() {
1179
+ var segments = this.segments;
1180
+ var prevControlX, prevControlY, prevSegment;
1181
+ var curControlX, curControlY;
1182
+ this.iterate(function(s2, idx, x2, y2) {
1183
+ var name = s2[0], nameUC = name.toUpperCase(), isRelative;
1184
+ if (!idx) {
1185
+ return;
1186
+ }
1187
+ if (nameUC === "T") {
1188
+ isRelative = name === "t";
1189
+ prevSegment = segments[idx - 1];
1190
+ if (prevSegment[0] === "Q") {
1191
+ prevControlX = prevSegment[1] - x2;
1192
+ prevControlY = prevSegment[2] - y2;
1193
+ } else if (prevSegment[0] === "q") {
1194
+ prevControlX = prevSegment[1] - prevSegment[3];
1195
+ prevControlY = prevSegment[2] - prevSegment[4];
1196
+ } else {
1197
+ prevControlX = 0;
1198
+ prevControlY = 0;
1199
+ }
1200
+ curControlX = -prevControlX;
1201
+ curControlY = -prevControlY;
1202
+ if (!isRelative) {
1203
+ curControlX += x2;
1204
+ curControlY += y2;
1205
+ }
1206
+ segments[idx] = [
1207
+ isRelative ? "q" : "Q",
1208
+ curControlX,
1209
+ curControlY,
1210
+ s2[1],
1211
+ s2[2]
1212
+ ];
1213
+ } else if (nameUC === "S") {
1214
+ isRelative = name === "s";
1215
+ prevSegment = segments[idx - 1];
1216
+ if (prevSegment[0] === "C") {
1217
+ prevControlX = prevSegment[3] - x2;
1218
+ prevControlY = prevSegment[4] - y2;
1219
+ } else if (prevSegment[0] === "c") {
1220
+ prevControlX = prevSegment[3] - prevSegment[5];
1221
+ prevControlY = prevSegment[4] - prevSegment[6];
1222
+ } else {
1223
+ prevControlX = 0;
1224
+ prevControlY = 0;
1225
+ }
1226
+ curControlX = -prevControlX;
1227
+ curControlY = -prevControlY;
1228
+ if (!isRelative) {
1229
+ curControlX += x2;
1230
+ curControlY += y2;
1231
+ }
1232
+ segments[idx] = [
1233
+ isRelative ? "c" : "C",
1234
+ curControlX,
1235
+ curControlY,
1236
+ s2[1],
1237
+ s2[2],
1238
+ s2[3],
1239
+ s2[4]
1240
+ ];
1241
+ }
1242
+ });
1243
+ return this;
1244
+ };
1245
+ module.exports = SvgPath;
1246
+ }
1247
+ });
1248
+
1249
+ // ../node_modules/svgpath/index.js
1250
+ var require_svgpath2 = __commonJS({
1251
+ "../node_modules/svgpath/index.js"(exports, module) {
1252
+ "use strict";
1253
+ module.exports = require_svgpath();
1254
+ }
1255
+ });
1256
+
1257
+ // ../node_modules/svg2pdf.js/dist/svg2pdf.es.min.js
1258
+ var import_cssesc = __toESM(require_cssesc());
1259
+ var import_font_family_papandreou = __toESM(require_font_family_papandreou());
1260
+ var import_svgpath = __toESM(require_svgpath2());
1261
+
1262
+ // ../node_modules/specificity/dist/specificity.mjs
1263
+ var calculateSingle = function(input) {
1264
+ var selector = input, findMatch, typeCount = {
1265
+ "a": 0,
1266
+ "b": 0,
1267
+ "c": 0
1268
+ }, parts = [], attributeRegex = /(\[[^\]]+\])/g, idRegex = /(#[^\#\s\+>~\.\[:\)]+)/g, classRegex = /(\.[^\s\+>~\.\[:\)]+)/g, pseudoElementRegex = /(::[^\s\+>~\.\[:]+|:first-line|:first-letter|:before|:after)/gi, pseudoClassWithBracketsRegex = /(:(?!not|global|local)[\w-]+\([^\)]*\))/gi, pseudoClassRegex = /(:(?!not|global|local)[^\s\+>~\.\[:]+)/g, elementRegex = /([^\s\+>~\.\[:]+)/g;
1269
+ findMatch = function(regex, type) {
1270
+ var matches, i, len, match, index, length;
1271
+ if (regex.test(selector)) {
1272
+ matches = selector.match(regex);
1273
+ for (i = 0, len = matches.length; i < len; i += 1) {
1274
+ typeCount[type] += 1;
1275
+ match = matches[i];
1276
+ index = selector.indexOf(match);
1277
+ length = match.length;
1278
+ parts.push({
1279
+ selector: input.substr(index, length),
1280
+ type,
1281
+ index,
1282
+ length
1283
+ });
1284
+ selector = selector.replace(match, Array(length + 1).join(" "));
1285
+ }
1286
+ }
1287
+ };
1288
+ (function() {
1289
+ var replaceWithPlainText = function(regex) {
1290
+ var matches, i, len, match;
1291
+ if (regex.test(selector)) {
1292
+ matches = selector.match(regex);
1293
+ for (i = 0, len = matches.length; i < len; i += 1) {
1294
+ match = matches[i];
1295
+ selector = selector.replace(match, Array(match.length + 1).join("A"));
1296
+ }
1297
+ }
1298
+ }, escapeHexadecimalRegex = /\\[0-9A-Fa-f]{6}\s?/g, escapeHexadecimalRegex2 = /\\[0-9A-Fa-f]{1,5}\s/g, escapeSpecialCharacter = /\\./g;
1299
+ replaceWithPlainText(escapeHexadecimalRegex);
1300
+ replaceWithPlainText(escapeHexadecimalRegex2);
1301
+ replaceWithPlainText(escapeSpecialCharacter);
1302
+ })();
1303
+ (function() {
1304
+ var regex = /{[^]*/gm, matches, i, len, match;
1305
+ if (regex.test(selector)) {
1306
+ matches = selector.match(regex);
1307
+ for (i = 0, len = matches.length; i < len; i += 1) {
1308
+ match = matches[i];
1309
+ selector = selector.replace(match, Array(match.length + 1).join(" "));
1310
+ }
1311
+ }
1312
+ })();
1313
+ findMatch(attributeRegex, "b");
1314
+ findMatch(idRegex, "a");
1315
+ findMatch(classRegex, "b");
1316
+ findMatch(pseudoElementRegex, "c");
1317
+ findMatch(pseudoClassWithBracketsRegex, "b");
1318
+ findMatch(pseudoClassRegex, "b");
1319
+ selector = selector.replace(/[\*\s\+>~]/g, " ");
1320
+ selector = selector.replace(/[#\.]/g, " ");
1321
+ selector = selector.replace(/:not/g, " ");
1322
+ selector = selector.replace(/:local/g, " ");
1323
+ selector = selector.replace(/:global/g, " ");
1324
+ selector = selector.replace(/[\(\)]/g, " ");
1325
+ findMatch(elementRegex, "c");
1326
+ parts.sort(function(a, b2) {
1327
+ return a.index - b2.index;
1328
+ });
1329
+ return {
1330
+ selector: input,
1331
+ specificity: "0," + typeCount.a.toString() + "," + typeCount.b.toString() + "," + typeCount.c.toString(),
1332
+ specificityArray: [0, typeCount.a, typeCount.b, typeCount.c],
1333
+ parts
1334
+ };
1335
+ };
1336
+ var compare = function(a, b2) {
1337
+ var aSpecificity, bSpecificity, i;
1338
+ if (typeof a === "string") {
1339
+ if (a.indexOf(",") !== -1) {
1340
+ throw "Invalid CSS selector";
1341
+ } else {
1342
+ aSpecificity = calculateSingle(a)["specificityArray"];
1343
+ }
1344
+ } else if (Array.isArray(a)) {
1345
+ if (a.filter(function(e2) {
1346
+ return typeof e2 === "number";
1347
+ }).length !== 4) {
1348
+ throw "Invalid specificity array";
1349
+ } else {
1350
+ aSpecificity = a;
1351
+ }
1352
+ } else {
1353
+ throw "Invalid CSS selector or specificity array";
1354
+ }
1355
+ if (typeof b2 === "string") {
1356
+ if (b2.indexOf(",") !== -1) {
1357
+ throw "Invalid CSS selector";
1358
+ } else {
1359
+ bSpecificity = calculateSingle(b2)["specificityArray"];
1360
+ }
1361
+ } else if (Array.isArray(b2)) {
1362
+ if (b2.filter(function(e2) {
1363
+ return typeof e2 === "number";
1364
+ }).length !== 4) {
1365
+ throw "Invalid specificity array";
1366
+ } else {
1367
+ bSpecificity = b2;
1368
+ }
1369
+ } else {
1370
+ throw "Invalid CSS selector or specificity array";
1371
+ }
1372
+ for (i = 0; i < 4; i += 1) {
1373
+ if (aSpecificity[i] < bSpecificity[i]) {
1374
+ return -1;
1375
+ } else if (aSpecificity[i] > bSpecificity[i]) {
1376
+ return 1;
1377
+ }
1378
+ }
1379
+ return 0;
1380
+ };
1381
+
1382
+ // ../node_modules/svg2pdf.js/dist/svg2pdf.es.min.js
1383
+ var l = function(t2, e2) {
1384
+ return l = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t3, e3) {
1385
+ t3.__proto__ = e3;
1386
+ } || function(t3, e3) {
1387
+ for (var r in e3) Object.prototype.hasOwnProperty.call(e3, r) && (t3[r] = e3[r]);
1388
+ }, l(t2, e2);
1389
+ };
1390
+ function u(t2, e2) {
1391
+ if ("function" != typeof e2 && null !== e2) throw new TypeError("Class extends value " + String(e2) + " is not a constructor or null");
1392
+ function r() {
1393
+ this.constructor = t2;
1394
+ }
1395
+ l(t2, e2), t2.prototype = null === e2 ? Object.create(e2) : (r.prototype = e2.prototype, new r());
1396
+ }
1397
+ var h = function() {
1398
+ return h = Object.assign || function(t2) {
1399
+ for (var e2, r = 1, i = arguments.length; r < i; r++) for (var n in e2 = arguments[r]) Object.prototype.hasOwnProperty.call(e2, n) && (t2[n] = e2[n]);
1400
+ return t2;
1401
+ }, h.apply(this, arguments);
1402
+ };
1403
+ function f(t2, e2, r, i) {
1404
+ return new (r || (r = Promise))((function(n, a) {
1405
+ function s2(t3) {
1406
+ try {
1407
+ l2(i.next(t3));
1408
+ } catch (t4) {
1409
+ a(t4);
1410
+ }
1411
+ }
1412
+ function o(t3) {
1413
+ try {
1414
+ l2(i.throw(t3));
1415
+ } catch (t4) {
1416
+ a(t4);
1417
+ }
1418
+ }
1419
+ function l2(t3) {
1420
+ var e3;
1421
+ t3.done ? n(t3.value) : (e3 = t3.value, e3 instanceof r ? e3 : new r((function(t4) {
1422
+ t4(e3);
1423
+ }))).then(s2, o);
1424
+ }
1425
+ l2((i = i.apply(t2, e2 || [])).next());
1426
+ }));
1427
+ }
1428
+ function c(t2, e2) {
1429
+ var r, i, n, a, s2 = { label: 0, sent: function() {
1430
+ if (1 & n[0]) throw n[1];
1431
+ return n[1];
1432
+ }, trys: [], ops: [] };
1433
+ return a = { next: o(0), throw: o(1), return: o(2) }, "function" == typeof Symbol && (a[Symbol.iterator] = function() {
1434
+ return this;
1435
+ }), a;
1436
+ function o(a2) {
1437
+ return function(o2) {
1438
+ return (function(a3) {
1439
+ if (r) throw new TypeError("Generator is already executing.");
1440
+ for (; s2; ) try {
1441
+ if (r = 1, i && (n = 2 & a3[0] ? i.return : a3[0] ? i.throw || ((n = i.return) && n.call(i), 0) : i.next) && !(n = n.call(i, a3[1])).done) return n;
1442
+ switch (i = 0, n && (a3 = [2 & a3[0], n.value]), a3[0]) {
1443
+ case 0:
1444
+ case 1:
1445
+ n = a3;
1446
+ break;
1447
+ case 4:
1448
+ return s2.label++, { value: a3[1], done: false };
1449
+ case 5:
1450
+ s2.label++, i = a3[1], a3 = [0];
1451
+ continue;
1452
+ case 7:
1453
+ a3 = s2.ops.pop(), s2.trys.pop();
1454
+ continue;
1455
+ default:
1456
+ if (!(n = s2.trys, (n = n.length > 0 && n[n.length - 1]) || 6 !== a3[0] && 2 !== a3[0])) {
1457
+ s2 = 0;
1458
+ continue;
1459
+ }
1460
+ if (3 === a3[0] && (!n || a3[1] > n[0] && a3[1] < n[3])) {
1461
+ s2.label = a3[1];
1462
+ break;
1463
+ }
1464
+ if (6 === a3[0] && s2.label < n[1]) {
1465
+ s2.label = n[1], n = a3;
1466
+ break;
1467
+ }
1468
+ if (n && s2.label < n[2]) {
1469
+ s2.label = n[2], s2.ops.push(a3);
1470
+ break;
1471
+ }
1472
+ n[2] && s2.ops.pop(), s2.trys.pop();
1473
+ continue;
1474
+ }
1475
+ a3 = e2.call(t2, s2);
1476
+ } catch (t3) {
1477
+ a3 = [6, t3], i = 0;
1478
+ } finally {
1479
+ r = n = 0;
1480
+ }
1481
+ if (5 & a3[0]) throw a3[1];
1482
+ return { value: a3[0] ? a3[1] : void 0, done: true };
1483
+ })([a2, o2]);
1484
+ };
1485
+ }
1486
+ }
1487
+ var p = (function() {
1488
+ function t2(t3) {
1489
+ if (this.a = void 0, this.r = 0, this.g = 0, this.b = 0, this.simpleColors = {}, this.colorDefs = [], this.ok = false, t3) {
1490
+ for (var e2 in "#" == t3.charAt(0) && (t3 = t3.substr(1, 6)), t3 = (t3 = t3.replace(/ /g, "")).toLowerCase(), this.simpleColors = { aliceblue: "f0f8ff", antiquewhite: "faebd7", aqua: "00ffff", aquamarine: "7fffd4", azure: "f0ffff", beige: "f5f5dc", bisque: "ffe4c4", black: "000000", blanchedalmond: "ffebcd", blue: "0000ff", blueviolet: "8a2be2", brown: "a52a2a", burlywood: "deb887", cadetblue: "5f9ea0", chartreuse: "7fff00", chocolate: "d2691e", coral: "ff7f50", cornflowerblue: "6495ed", cornsilk: "fff8dc", crimson: "dc143c", cyan: "00ffff", darkblue: "00008b", darkcyan: "008b8b", darkgoldenrod: "b8860b", darkgray: "a9a9a9", darkgrey: "a9a9a9", darkgreen: "006400", darkkhaki: "bdb76b", darkmagenta: "8b008b", darkolivegreen: "556b2f", darkorange: "ff8c00", darkorchid: "9932cc", darkred: "8b0000", darksalmon: "e9967a", darkseagreen: "8fbc8f", darkslateblue: "483d8b", darkslategray: "2f4f4f", darkslategrey: "2f4f4f", darkturquoise: "00ced1", darkviolet: "9400d3", deeppink: "ff1493", deepskyblue: "00bfff", dimgray: "696969", dimgrey: "696969", dodgerblue: "1e90ff", feldspar: "d19275", firebrick: "b22222", floralwhite: "fffaf0", forestgreen: "228b22", fuchsia: "ff00ff", gainsboro: "dcdcdc", ghostwhite: "f8f8ff", gold: "ffd700", goldenrod: "daa520", gray: "808080", grey: "808080", green: "008000", greenyellow: "adff2f", honeydew: "f0fff0", hotpink: "ff69b4", indianred: "cd5c5c", indigo: "4b0082", ivory: "fffff0", khaki: "f0e68c", lavender: "e6e6fa", lavenderblush: "fff0f5", lawngreen: "7cfc00", lemonchiffon: "fffacd", lightblue: "add8e6", lightcoral: "f08080", lightcyan: "e0ffff", lightgoldenrodyellow: "fafad2", lightgray: "d3d3d3", lightgrey: "d3d3d3", lightgreen: "90ee90", lightpink: "ffb6c1", lightsalmon: "ffa07a", lightseagreen: "20b2aa", lightskyblue: "87cefa", lightslateblue: "8470ff", lightslategray: "778899", lightslategrey: "778899", lightsteelblue: "b0c4de", lightyellow: "ffffe0", lime: "00ff00", limegreen: "32cd32", linen: "faf0e6", magenta: "ff00ff", maroon: "800000", mediumaquamarine: "66cdaa", mediumblue: "0000cd", mediumorchid: "ba55d3", mediumpurple: "9370d8", mediumseagreen: "3cb371", mediumslateblue: "7b68ee", mediumspringgreen: "00fa9a", mediumturquoise: "48d1cc", mediumvioletred: "c71585", midnightblue: "191970", mintcream: "f5fffa", mistyrose: "ffe4e1", moccasin: "ffe4b5", navajowhite: "ffdead", navy: "000080", oldlace: "fdf5e6", olive: "808000", olivedrab: "6b8e23", orange: "ffa500", orangered: "ff4500", orchid: "da70d6", palegoldenrod: "eee8aa", palegreen: "98fb98", paleturquoise: "afeeee", palevioletred: "d87093", papayawhip: "ffefd5", peachpuff: "ffdab9", peru: "cd853f", pink: "ffc0cb", plum: "dda0dd", powderblue: "b0e0e6", purple: "800080", red: "ff0000", rosybrown: "bc8f8f", royalblue: "4169e1", saddlebrown: "8b4513", salmon: "fa8072", sandybrown: "f4a460", seagreen: "2e8b57", seashell: "fff5ee", sienna: "a0522d", silver: "c0c0c0", skyblue: "87ceeb", slateblue: "6a5acd", slategray: "708090", slategrey: "708090", snow: "fffafa", springgreen: "00ff7f", steelblue: "4682b4", tan: "d2b48c", teal: "008080", thistle: "d8bfd8", tomato: "ff6347", turquoise: "40e0d0", violet: "ee82ee", violetred: "d02090", wheat: "f5deb3", white: "ffffff", whitesmoke: "f5f5f5", yellow: "ffff00", yellowgreen: "9acd32" }, this.simpleColors) t3 == e2 && (t3 = this.simpleColors[e2]);
1491
+ this.colorDefs = [{ re: /^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/, example: ["rgb(123, 234, 45)", "rgb(255,234,245)"], process: function(t4) {
1492
+ return [parseInt(t4[1]), parseInt(t4[2]), parseInt(t4[3])];
1493
+ } }, { re: /^rgb\(([0-9.]+)%,\s*([0-9.]+)%,\s*([0-9.]+)%\)$/, example: ["rgb(50.5%, 25.75%, 75.5%)", "rgb(100%,0%,0%)"], process: function(t4) {
1494
+ return [Math.round(2.55 * parseFloat(t4[1])), Math.round(2.55 * parseFloat(t4[2])), Math.round(2.55 * parseFloat(t4[3]))];
1495
+ } }, { re: /^(\w{2})(\w{2})(\w{2})$/, example: ["#00ff00", "336699"], process: function(t4) {
1496
+ return [parseInt(t4[1], 16), parseInt(t4[2], 16), parseInt(t4[3], 16)];
1497
+ } }, { re: /^(\w{1})(\w{1})(\w{1})$/, example: ["#fb0", "f0f"], process: function(t4) {
1498
+ return [parseInt(t4[1] + t4[1], 16), parseInt(t4[2] + t4[2], 16), parseInt(t4[3] + t4[3], 16)];
1499
+ } }];
1500
+ for (var r = 0; r < this.colorDefs.length; r++) {
1501
+ var i = this.colorDefs[r].re, n = this.colorDefs[r].process, a = i.exec(t3);
1502
+ if (a) {
1503
+ var s2 = n(a);
1504
+ this.r = s2[0], this.g = s2[1], this.b = s2[2], this.ok = true;
1505
+ }
1506
+ }
1507
+ this.r = this.r < 0 || isNaN(this.r) ? 0 : this.r > 255 ? 255 : this.r, this.g = this.g < 0 || isNaN(this.g) ? 0 : this.g > 255 ? 255 : this.g, this.b = this.b < 0 || isNaN(this.b) ? 0 : this.b > 255 ? 255 : this.b;
1508
+ }
1509
+ }
1510
+ return t2.prototype.toRGB = function() {
1511
+ return "rgb(" + this.r + ", " + this.g + ", " + this.b + ")";
1512
+ }, t2.prototype.toRGBA = function() {
1513
+ return "rgba(" + this.r + ", " + this.g + ", " + this.b + ", " + (this.a || "1") + ")";
1514
+ }, t2.prototype.toHex = function() {
1515
+ var t3 = this.r.toString(16), e2 = this.g.toString(16), r = this.b.toString(16);
1516
+ return 1 == t3.length && (t3 = "0" + t3), 1 == e2.length && (e2 = "0" + e2), 1 == r.length && (r = "0" + r), "#" + t3 + e2 + r;
1517
+ }, t2.prototype.getHelpXML = function() {
1518
+ for (var e2 = [], r = 0; r < this.colorDefs.length; r++) for (var i = this.colorDefs[r].example, n = 0; n < i.length; n++) e2[e2.length] = i[n];
1519
+ for (var a in this.simpleColors) e2[e2.length] = a;
1520
+ var s2 = document.createElement("ul");
1521
+ s2.setAttribute("id", "rgbcolor-examples");
1522
+ for (r = 0; r < e2.length; r++) try {
1523
+ var o = document.createElement("li"), l2 = new t2(e2[r]), u2 = document.createElement("div");
1524
+ u2.style.cssText = "margin: 3px; border: 1px solid black; background:" + l2.toHex() + "; color:" + l2.toHex(), u2.appendChild(document.createTextNode("test"));
1525
+ var h2 = document.createTextNode(" " + e2[r] + " -> " + l2.toRGB() + " -> " + l2.toHex());
1526
+ o.appendChild(u2), o.appendChild(h2), s2.appendChild(o);
1527
+ } catch (t3) {
1528
+ }
1529
+ return s2;
1530
+ }, t2;
1531
+ })();
1532
+ var d = (function() {
1533
+ function t2(t3) {
1534
+ this.color = t3;
1535
+ }
1536
+ return t2.prototype.getFillData = function(t3, e2) {
1537
+ return f(this, void 0, void 0, (function() {
1538
+ return c(this, (function(t4) {
1539
+ return [2, void 0];
1540
+ }));
1541
+ }));
1542
+ }, t2;
1543
+ })();
1544
+ var m = (function() {
1545
+ function t2() {
1546
+ this.xmlSpace = "", this.whiteSpace = "", this.fill = null, this.fillOpacity = 1, this.fontFamily = "", this.fontSize = 16, this.fontStyle = "", this.fontWeight = "", this.opacity = 1, this.stroke = null, this.strokeDasharray = null, this.strokeDashoffset = 0, this.strokeLinecap = "", this.strokeLinejoin = "", this.strokeMiterlimit = 4, this.strokeOpacity = 1, this.strokeWidth = 1, this.alignmentBaseline = "", this.textAnchor = "", this.visibility = "", this.color = null, this.contextFill = null, this.contextStroke = null, this.fillRule = null;
1547
+ }
1548
+ return t2.prototype.clone = function() {
1549
+ var e2 = new t2();
1550
+ return e2.xmlSpace = this.xmlSpace, e2.whiteSpace = this.whiteSpace, e2.fill = this.fill, e2.fillOpacity = this.fillOpacity, e2.fontFamily = this.fontFamily, e2.fontSize = this.fontSize, e2.fontStyle = this.fontStyle, e2.fontWeight = this.fontWeight, e2.opacity = this.opacity, e2.stroke = this.stroke, e2.strokeDasharray = this.strokeDasharray, e2.strokeDashoffset = this.strokeDashoffset, e2.strokeLinecap = this.strokeLinecap, e2.strokeLinejoin = this.strokeLinejoin, e2.strokeMiterlimit = this.strokeMiterlimit, e2.strokeOpacity = this.strokeOpacity, e2.strokeWidth = this.strokeWidth, e2.textAnchor = this.textAnchor, e2.alignmentBaseline = this.alignmentBaseline, e2.visibility = this.visibility, e2.color = this.color, e2.fillRule = this.fillRule, e2.contextFill = this.contextFill, e2.contextStroke = this.contextStroke, e2;
1551
+ }, t2.default = function() {
1552
+ var e2 = new t2();
1553
+ return e2.xmlSpace = "default", e2.whiteSpace = "normal", e2.fill = new d(new p("rgb(0, 0, 0)")), e2.fillOpacity = 1, e2.fontFamily = "times", e2.fontSize = 16, e2.fontStyle = "normal", e2.fontWeight = "normal", e2.opacity = 1, e2.stroke = null, e2.strokeDasharray = null, e2.strokeDashoffset = 0, e2.strokeLinecap = "butt", e2.strokeLinejoin = "miter", e2.strokeMiterlimit = 4, e2.strokeOpacity = 1, e2.strokeWidth = 1, e2.alignmentBaseline = "baseline", e2.textAnchor = "start", e2.visibility = "visible", e2.color = new p("rgb(0, 0, 0)"), e2.fillRule = "nonzero", e2.contextFill = null, e2.contextStroke = null, e2;
1554
+ }, t2.getContextColors = function(t3, e2) {
1555
+ void 0 === e2 && (e2 = false);
1556
+ var r = {};
1557
+ return t3.attributeState.contextFill && (r.contextFill = t3.attributeState.contextFill), t3.attributeState.contextStroke && (r.contextStroke = t3.attributeState.contextStroke), e2 && t3.attributeState.color && (r.color = t3.attributeState.color), r;
1558
+ }, t2;
1559
+ })();
1560
+ var g = (function() {
1561
+ function t2(t3, e2) {
1562
+ var r, i, n;
1563
+ this.pdf = t3, this.svg2pdfParameters = e2.svg2pdfParameters, this.attributeState = e2.attributeState ? e2.attributeState.clone() : m.default(), this.viewport = e2.viewport, this.refsHandler = e2.refsHandler, this.styleSheets = e2.styleSheets, this.textMeasure = e2.textMeasure, this.transform = null !== (r = e2.transform) && void 0 !== r ? r : this.pdf.unitMatrix, this.withinClipPath = null !== (i = e2.withinClipPath) && void 0 !== i && i, this.withinUse = null !== (n = e2.withinUse) && void 0 !== n && n;
1564
+ }
1565
+ return t2.prototype.clone = function(e2) {
1566
+ var r, i, n, a;
1567
+ return void 0 === e2 && (e2 = {}), new t2(this.pdf, { svg2pdfParameters: this.svg2pdfParameters, attributeState: e2.attributeState ? e2.attributeState.clone() : this.attributeState.clone(), viewport: null !== (r = e2.viewport) && void 0 !== r ? r : this.viewport, refsHandler: this.refsHandler, styleSheets: this.styleSheets, textMeasure: this.textMeasure, transform: null !== (i = e2.transform) && void 0 !== i ? i : this.transform, withinClipPath: null !== (n = e2.withinClipPath) && void 0 !== n ? n : this.withinClipPath, withinUse: null !== (a = e2.withinUse) && void 0 !== a ? a : this.withinUse });
1568
+ }, t2;
1569
+ })();
1570
+ var b = (function() {
1571
+ function e2(t2) {
1572
+ this.renderedElements = {}, this.idMap = t2, this.idPrefix = String(e2.instanceCounter++);
1573
+ }
1574
+ return e2.prototype.getRendered = function(t2, e3, r) {
1575
+ return f(this, void 0, void 0, (function() {
1576
+ var i, n;
1577
+ return c(this, (function(a) {
1578
+ switch (a.label) {
1579
+ case 0:
1580
+ return i = this.generateKey(t2, e3), this.renderedElements.hasOwnProperty(i) ? [2, this.renderedElements[t2]] : (n = this.get(t2), this.renderedElements[i] = n, [4, r(n)]);
1581
+ case 1:
1582
+ return a.sent(), [2, n];
1583
+ }
1584
+ }));
1585
+ }));
1586
+ }, e2.prototype.get = function(e3) {
1587
+ return this.idMap[(0, import_cssesc.default)(e3, { isIdentifier: true })];
1588
+ }, e2.prototype.generateKey = function(t2, e3) {
1589
+ var r = "";
1590
+ return e3 && (r = ["color", "contextFill", "contextStroke"].map((function(t3) {
1591
+ var r2, i;
1592
+ return null !== (i = null === (r2 = e3[t3]) || void 0 === r2 ? void 0 : r2.toRGBA()) && void 0 !== i ? i : "";
1593
+ })).join("|")), this.idPrefix + "|" + t2 + "|" + r;
1594
+ }, e2.instanceCounter = 0, e2;
1595
+ })();
1596
+ function y(t2, e2) {
1597
+ return Math.atan2(e2[1] - t2[1], e2[0] - t2[0]);
1598
+ }
1599
+ var v = 2 / 3;
1600
+ function x(t2, e2) {
1601
+ return [v * (e2[0] - t2[0]) + t2[0], v * (e2[1] - t2[1]) + t2[1]];
1602
+ }
1603
+ function S(t2) {
1604
+ var e2 = Math.sqrt(t2[0] * t2[0] + t2[1] * t2[1]);
1605
+ return [t2[0] / e2, t2[1] / e2];
1606
+ }
1607
+ function w(t2, e2) {
1608
+ return S([e2[0] - t2[0], e2[1] - t2[1]]);
1609
+ }
1610
+ function k(t2, e2) {
1611
+ return [t2[0] + e2[0], t2[1] + e2[1]];
1612
+ }
1613
+ function M2(t2, e2) {
1614
+ var r = t2[0], i = t2[1];
1615
+ return [e2.a * r + e2.c * i + e2.e, e2.b * r + e2.d * i + e2.f];
1616
+ }
1617
+ var C = (function() {
1618
+ function t2() {
1619
+ this.segments = [];
1620
+ }
1621
+ return t2.prototype.moveTo = function(t3, e2) {
1622
+ return this.segments.push(new T(t3, e2)), this;
1623
+ }, t2.prototype.lineTo = function(t3, e2) {
1624
+ return this.segments.push(new F(t3, e2)), this;
1625
+ }, t2.prototype.curveTo = function(t3, e2, r, i, n, a) {
1626
+ return this.segments.push(new A(t3, e2, r, i, n, a)), this;
1627
+ }, t2.prototype.close = function() {
1628
+ return this.segments.push(new P()), this;
1629
+ }, t2.prototype.transform = function(t3) {
1630
+ this.segments.forEach((function(e2) {
1631
+ if (e2 instanceof T || e2 instanceof F || e2 instanceof A) {
1632
+ var r = M2([e2.x, e2.y], t3);
1633
+ e2.x = r[0], e2.y = r[1];
1634
+ }
1635
+ if (e2 instanceof A) {
1636
+ var i = M2([e2.x1, e2.y1], t3), n = M2([e2.x2, e2.y2], t3);
1637
+ e2.x1 = i[0], e2.y1 = i[1], e2.x2 = n[0], e2.y2 = n[1];
1638
+ }
1639
+ }));
1640
+ }, t2.prototype.draw = function(t3) {
1641
+ var e2 = t3.pdf;
1642
+ this.segments.forEach((function(t4) {
1643
+ t4 instanceof T ? e2.moveTo(t4.x, t4.y) : t4 instanceof F ? e2.lineTo(t4.x, t4.y) : t4 instanceof A ? e2.curveTo(t4.x1, t4.y1, t4.x2, t4.y2, t4.x, t4.y) : e2.close();
1644
+ }));
1645
+ }, t2;
1646
+ })();
1647
+ var T = function(t2, e2) {
1648
+ this.x = t2, this.y = e2;
1649
+ };
1650
+ var F = function(t2, e2) {
1651
+ this.x = t2, this.y = e2;
1652
+ };
1653
+ var A = function(t2, e2, r, i, n, a) {
1654
+ this.x1 = t2, this.y1 = e2, this.x2 = r, this.y2 = i, this.x = n, this.y = a;
1655
+ };
1656
+ var P = function() {
1657
+ };
1658
+ function B(t2, e2) {
1659
+ return e2.split(",").indexOf((t2.nodeName || t2.tagName).toLowerCase()) >= 0;
1660
+ }
1661
+ function N(t2, e2, r, i) {
1662
+ var n;
1663
+ void 0 === i && (i = r);
1664
+ var a = null === (n = t2.style) || void 0 === n ? void 0 : n.getPropertyValue(i);
1665
+ if (a) return a;
1666
+ var s2 = e2.getPropertyValue(t2, i);
1667
+ return s2 || (t2.hasAttribute(r) && t2.getAttribute(r) || void 0);
1668
+ }
1669
+ function O2(t2, e2, r) {
1670
+ if ("none" === N(t2.element, r.styleSheets, "display")) return false;
1671
+ var i = e2, n = N(t2.element, r.styleSheets, "visibility");
1672
+ return n && (i = "hidden" !== n), i;
1673
+ }
1674
+ function L(t2, e2, r) {
1675
+ var i = O2(t2, e2, r);
1676
+ return 0 !== t2.element.childNodes.length && (t2.children.forEach((function(t3) {
1677
+ t3.isVisible(i, r) && (i = true);
1678
+ })), i);
1679
+ }
1680
+ var E2 = (function() {
1681
+ function t2() {
1682
+ this.markers = [];
1683
+ }
1684
+ return t2.prototype.addMarker = function(t3) {
1685
+ this.markers.push(t3);
1686
+ }, t2.prototype.draw = function(t3) {
1687
+ return f(this, void 0, void 0, (function() {
1688
+ var e2, r, i, n, a, s2, o, l2;
1689
+ return c(this, (function(u2) {
1690
+ switch (u2.label) {
1691
+ case 0:
1692
+ e2 = 0, u2.label = 1;
1693
+ case 1:
1694
+ return e2 < this.markers.length ? (r = this.markers[e2], i = void 0, n = r.angle, a = r.anchor, s2 = Math.cos(n), o = Math.sin(n), i = t3.pdf.Matrix(s2, o, -o, s2, a[0], a[1]), i = t3.pdf.matrixMult(t3.pdf.Matrix(t3.attributeState.strokeWidth, 0, 0, t3.attributeState.strokeWidth, 0, 0), i), i = t3.pdf.matrixMult(i, t3.transform), t3.pdf.saveGraphicsState(), l2 = m.getContextColors(t3), [4, t3.refsHandler.getRendered(r.id, l2, (function(e3) {
1695
+ return e3.apply(t3);
1696
+ }))]) : [3, 4];
1697
+ case 2:
1698
+ u2.sent(), t3.pdf.doFormObject(t3.refsHandler.generateKey(r.id, l2), i), t3.pdf.restoreGraphicsState(), u2.label = 3;
1699
+ case 3:
1700
+ return e2++, [3, 1];
1701
+ case 4:
1702
+ return [2];
1703
+ }
1704
+ }));
1705
+ }));
1706
+ }, t2;
1707
+ })();
1708
+ var I = function(t2, e2, r, i) {
1709
+ void 0 === i && (i = false), this.id = t2, this.anchor = e2, this.angle = r, this.isStartMarker = i;
1710
+ };
1711
+ var R = /url\(["']?#([^"']+)["']?\)/;
1712
+ var H = { bottom: "bottom", "text-bottom": "bottom", top: "top", "text-top": "top", hanging: "hanging", middle: "middle", central: "middle", center: "middle", mathematical: "middle", ideographic: "ideographic", alphabetic: "alphabetic", baseline: "alphabetic" };
1713
+ var D = "http://www.w3.org/2000/svg";
1714
+ function W(t2, e2) {
1715
+ var r;
1716
+ return (r = t2 && t2.toString().match(/^([\-0-9.]+)em$/)) ? parseFloat(r[1]) * e2 : (r = t2 && t2.toString().match(/^([\-0-9.]+)(px|)$/)) ? parseFloat(r[1]) : 0;
1717
+ }
1718
+ function V(t2) {
1719
+ return H[t2] || "alphabetic";
1720
+ }
1721
+ function j(t2) {
1722
+ for (var e2, r = [], i = /[+-]?(?:(?:\d+\.?\d*)|(?:\d*\.?\d+))(?:[eE][+-]?\d+)?/g; e2 = i.exec(t2); ) r.push(parseFloat(e2[0]));
1723
+ return r;
1724
+ }
1725
+ function G(t2, e2) {
1726
+ if ("transparent" === t2) {
1727
+ var r = new p("rgb(0,0,0)");
1728
+ return r.a = 0, r;
1729
+ }
1730
+ if (e2 && "currentcolor" === t2.toLowerCase()) return e2.color || new p("rgb(0,0,0)");
1731
+ if (e2 && "context-stroke" === t2.toLowerCase()) return e2.contextStroke || new p("rgb(0,0,0)");
1732
+ if (e2 && "context-fill" === t2.toLowerCase()) return e2.contextFill || new p("rgb(0,0,0)");
1733
+ var i = /\s*rgba\(((?:[^,\)]*,){3}[^,\)]*)\)\s*/.exec(t2);
1734
+ if (i) {
1735
+ var n = j(i[1]), a = new p("rgb(" + n.slice(0, 3).join(",") + ")");
1736
+ return a.a = n[3], a;
1737
+ }
1738
+ return new p(t2);
1739
+ }
1740
+ var U = { "sans-serif": "helvetica", verdana: "helvetica", arial: "helvetica", fixed: "courier", monospace: "courier", terminal: "courier", serif: "times", cursive: "times", fantasy: "times" };
1741
+ var z;
1742
+ var Y = (z = E.version.split("."), 2 === parseFloat(z[0]) && 3 === parseFloat(z[1]));
1743
+ function X(t2, e2) {
1744
+ return Y ? 400 == e2 ? "italic" == t2 ? "italic" : "normal" : 700 == e2 && "italic" !== t2 ? "bold" : t2 + "" + e2 : 400 == e2 || "normal" === e2 ? "italic" === t2 ? "italic" : "normal" : 700 != e2 && "bold" !== e2 || "normal" !== t2 ? (700 == e2 ? "bold" : e2) + "" + t2 : "bold";
1745
+ }
1746
+ function q2(t2, e2) {
1747
+ if ("none" === N(e2.element, t2.styleSheets, "display")) return [0, 0, 0, 0];
1748
+ var r = [];
1749
+ return e2.children.forEach((function(e3) {
1750
+ var i = e3.getBoundingBox(t2);
1751
+ if (0 !== i[0] || 0 !== i[1] || 0 !== i[2] || 0 !== i[3]) {
1752
+ var n = e3.computeNodeTransform(t2);
1753
+ i[0] = i[0] * n.sx + n.tx, i[1] = i[1] * n.sy + n.ty, i[2] = i[2] * n.sx, i[3] = i[3] * n.sy, r = 0 === r.length ? i : [Math.min(r[0], i[0]), Math.min(r[1], i[1]), Math.max(r[0] + r[2], i[0] + i[2]) - Math.min(r[0], i[0]), Math.max(r[1] + r[3], i[1] + i[3]) - Math.min(r[1], i[1])];
1754
+ }
1755
+ })), 0 === r.length ? [0, 0, 0, 0] : r;
1756
+ }
1757
+ function _(t2, e2) {
1758
+ var r = parseFloat, i = r(t2.getAttribute("x1")) || r(N(t2, e2.styleSheets, "x")) || r(N(t2, e2.styleSheets, "cx")) - r(N(t2, e2.styleSheets, "r")) || 0, n = r(t2.getAttribute("x2")) || i + r(N(t2, e2.styleSheets, "width")) || r(N(t2, e2.styleSheets, "cx")) + r(N(t2, e2.styleSheets, "r")) || 0, a = r(t2.getAttribute("y1")) || r(N(t2, e2.styleSheets, "y")) || r(N(t2, e2.styleSheets, "cy")) - r(N(t2, e2.styleSheets, "r")) || 0, s2 = r(t2.getAttribute("y2")) || a + r(N(t2, e2.styleSheets, "height")) || r(N(t2, e2.styleSheets, "cy")) + r(N(t2, e2.styleSheets, "r")) || 0;
1759
+ return [Math.min(i, n), Math.min(a, s2), Math.max(i, n) - Math.min(i, n), Math.max(a, s2) - Math.min(a, s2)];
1760
+ }
1761
+ function $(t2, e2, r, i, n, a, s2, o) {
1762
+ void 0 === o && (o = false);
1763
+ var l2, u2, h2 = e2[0], f2 = e2[1], c2 = e2[2], p2 = e2[3], d2 = n / c2, m2 = a / p2, g2 = t2.getAttribute("preserveAspectRatio");
1764
+ if (g2) {
1765
+ var b2 = g2.split(" ");
1766
+ "defer" === b2[0] && (b2 = b2.slice(1)), l2 = b2[0], u2 = b2[1] || "meet";
1767
+ } else l2 = "xMidYMid", u2 = "meet";
1768
+ if ("none" !== l2 && ("meet" === u2 ? d2 = m2 = Math.min(d2, m2) : "slice" === u2 && (d2 = m2 = Math.max(d2, m2))), o) return s2.pdf.Matrix(d2, 0, 0, m2, 0, 0);
1769
+ var y2 = r - h2 * d2, v2 = i - f2 * m2;
1770
+ l2.indexOf("xMid") >= 0 ? y2 += (n - c2 * d2) / 2 : l2.indexOf("xMax") >= 0 && (y2 += n - c2 * d2), l2.indexOf("YMid") >= 0 ? v2 += (a - p2 * m2) / 2 : l2.indexOf("YMax") >= 0 && (v2 += a - p2 * m2);
1771
+ var x2 = s2.pdf.Matrix(1, 0, 0, 1, y2, v2), S2 = s2.pdf.Matrix(d2, 0, 0, m2, 0, 0);
1772
+ return s2.pdf.matrixMult(S2, x2);
1773
+ }
1774
+ function Q(t2, e2) {
1775
+ if (!t2 || "none" === t2) return e2.pdf.unitMatrix;
1776
+ for (var r, i, n = /^[\s,]*matrix\(([^)]+)\)\s*/, a = /^[\s,]*translate\(([^)]+)\)\s*/, s2 = /^[\s,]*rotate\(([^)]+)\)\s*/, o = /^[\s,]*scale\(([^)]+)\)\s*/, l2 = /^[\s,]*skewX\(([^)]+)\)\s*/, u2 = /^[\s,]*skewY\(([^)]+)\)\s*/, h2 = e2.pdf.unitMatrix; t2.length > 0 && t2.length !== i; ) {
1777
+ i = t2.length;
1778
+ var f2 = n.exec(t2);
1779
+ if (f2 && (r = j(f2[1]), h2 = e2.pdf.matrixMult(e2.pdf.Matrix(r[0], r[1], r[2], r[3], r[4], r[5]), h2), t2 = t2.substr(f2[0].length)), f2 = s2.exec(t2)) {
1780
+ r = j(f2[1]);
1781
+ var c2 = Math.PI * r[0] / 180;
1782
+ if (h2 = e2.pdf.matrixMult(e2.pdf.Matrix(Math.cos(c2), Math.sin(c2), -Math.sin(c2), Math.cos(c2), 0, 0), h2), r[1] || r[2]) {
1783
+ var p2 = e2.pdf.Matrix(1, 0, 0, 1, r[1], r[2]), d2 = e2.pdf.Matrix(1, 0, 0, 1, -r[1], -r[2]);
1784
+ h2 = e2.pdf.matrixMult(d2, e2.pdf.matrixMult(h2, p2));
1785
+ }
1786
+ t2 = t2.substr(f2[0].length);
1787
+ }
1788
+ (f2 = a.exec(t2)) && (r = j(f2[1]), h2 = e2.pdf.matrixMult(e2.pdf.Matrix(1, 0, 0, 1, r[0], r[1] || 0), h2), t2 = t2.substr(f2[0].length)), (f2 = o.exec(t2)) && ((r = j(f2[1]))[1] || (r[1] = r[0]), h2 = e2.pdf.matrixMult(e2.pdf.Matrix(r[0], 0, 0, r[1], 0, 0), h2), t2 = t2.substr(f2[0].length)), (f2 = l2.exec(t2)) && (r = parseFloat(f2[1]), r *= Math.PI / 180, h2 = e2.pdf.matrixMult(e2.pdf.Matrix(1, 0, Math.tan(r), 1, 0, 0), h2), t2 = t2.substr(f2[0].length)), (f2 = u2.exec(t2)) && (r = parseFloat(f2[1]), r *= Math.PI / 180, h2 = e2.pdf.matrixMult(e2.pdf.Matrix(1, Math.tan(r), 0, 1, 0, 0), h2), t2 = t2.substr(f2[0].length));
1789
+ }
1790
+ return h2;
1791
+ }
1792
+ var K = (function() {
1793
+ function t2(t3, e2) {
1794
+ this.element = t3, this.children = e2, this.parent = null;
1795
+ }
1796
+ return t2.prototype.setParent = function(t3) {
1797
+ this.parent = t3;
1798
+ }, t2.prototype.getParent = function() {
1799
+ return this.parent;
1800
+ }, t2.prototype.getBoundingBox = function(t3) {
1801
+ return "none" === N(this.element, t3.styleSheets, "display") ? [0, 0, 0, 0] : this.getBoundingBoxCore(t3);
1802
+ }, t2.prototype.computeNodeTransform = function(t3) {
1803
+ var e2 = this.computeNodeTransformCore(t3), r = N(this.element, t3.styleSheets, "transform");
1804
+ return r ? t3.pdf.matrixMult(e2, Q(r, t3)) : e2;
1805
+ }, t2;
1806
+ })();
1807
+ var J = (function(t2) {
1808
+ function e2() {
1809
+ return null !== t2 && t2.apply(this, arguments) || this;
1810
+ }
1811
+ return u(e2, t2), e2.prototype.render = function(t3) {
1812
+ return Promise.resolve();
1813
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
1814
+ return [];
1815
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
1816
+ return t3.pdf.unitMatrix;
1817
+ }, e2;
1818
+ })(K);
1819
+ var Z = (function(t2) {
1820
+ function e2(e3, r, i) {
1821
+ var n = t2.call(this, r, i) || this;
1822
+ return n.pdfGradientType = e3, n.contextColor = void 0, n;
1823
+ }
1824
+ return u(e2, t2), e2.prototype.apply = function(t3) {
1825
+ return f(this, void 0, void 0, (function() {
1826
+ var e3, r, a, s2, o, l2;
1827
+ return c(this, (function(u2) {
1828
+ return (e3 = this.element.getAttribute("id")) ? (r = this.getStops(t3.styleSheets), a = 0, s2 = false, r.forEach((function(t4) {
1829
+ var e4 = t4.opacity;
1830
+ e4 && 1 !== e4 && (a += e4, s2 = true);
1831
+ })), s2 && (o = new O({ opacity: a / r.length })), l2 = new M(this.pdfGradientType, this.getCoordinates(), r, o), t3.pdf.addShadingPattern(e3, l2), [2]) : [2];
1832
+ }));
1833
+ }));
1834
+ }, e2.prototype.getStops = function(t3) {
1835
+ var r = this;
1836
+ if (this.stops) return this.stops;
1837
+ if (void 0 === this.contextColor) {
1838
+ this.contextColor = null;
1839
+ for (var i = this; i; ) {
1840
+ var n = N(i.element, t3, "color");
1841
+ if (n) {
1842
+ this.contextColor = G(n, null);
1843
+ break;
1844
+ }
1845
+ i = i.getParent();
1846
+ }
1847
+ }
1848
+ var a = [];
1849
+ return this.children.forEach((function(i2) {
1850
+ if ("stop" === i2.element.tagName.toLowerCase()) {
1851
+ var n2 = N(i2.element, t3, "color"), s2 = G(N(i2.element, t3, "stop-color") || "", n2 ? { color: G(n2, null) } : { color: r.contextColor }), o = parseFloat(N(i2.element, t3, "stop-opacity") || "1");
1852
+ a.push({ offset: e2.parseGradientOffset(i2.element.getAttribute("offset") || "0"), color: [s2.r, s2.g, s2.b], opacity: o });
1853
+ }
1854
+ })), this.stops = a;
1855
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
1856
+ return _(this.element, t3);
1857
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
1858
+ return t3.pdf.unitMatrix;
1859
+ }, e2.prototype.isVisible = function(t3, e3) {
1860
+ return L(this, t3, e3);
1861
+ }, e2.parseGradientOffset = function(t3) {
1862
+ var e3 = parseFloat(t3);
1863
+ return !isNaN(e3) && t3.indexOf("%") >= 0 ? e3 / 100 : e3;
1864
+ }, e2;
1865
+ })(J);
1866
+ var tt = (function(t2) {
1867
+ function e2(e3, r) {
1868
+ return t2.call(this, "axial", e3, r) || this;
1869
+ }
1870
+ return u(e2, t2), e2.prototype.getCoordinates = function() {
1871
+ return [parseFloat(this.element.getAttribute("x1") || "0"), parseFloat(this.element.getAttribute("y1") || "0"), parseFloat(this.element.getAttribute("x2") || "1"), parseFloat(this.element.getAttribute("y2") || "0")];
1872
+ }, e2;
1873
+ })(Z);
1874
+ var et = (function(t2) {
1875
+ function e2(e3, r) {
1876
+ return t2.call(this, "radial", e3, r) || this;
1877
+ }
1878
+ return u(e2, t2), e2.prototype.getCoordinates = function() {
1879
+ var t3 = this.element.getAttribute("cx"), e3 = this.element.getAttribute("cy"), r = this.element.getAttribute("fx"), i = this.element.getAttribute("fy");
1880
+ return [parseFloat(r || t3 || "0.5"), parseFloat(i || e3 || "0.5"), 0, parseFloat(t3 || "0.5"), parseFloat(e3 || "0.5"), parseFloat(this.element.getAttribute("r") || "0.5")];
1881
+ }, e2;
1882
+ })(Z);
1883
+ var rt = (function() {
1884
+ function t2(t3, e2) {
1885
+ this.key = t3, this.gradient = e2;
1886
+ }
1887
+ return t2.prototype.getFillData = function(t3, e2) {
1888
+ return f(this, void 0, void 0, (function() {
1889
+ var r, i, n;
1890
+ return c(this, (function(a) {
1891
+ switch (a.label) {
1892
+ case 0:
1893
+ return [4, e2.refsHandler.getRendered(this.key, null, (function(t4) {
1894
+ return t4.apply(new g(e2.pdf, { refsHandler: e2.refsHandler, textMeasure: e2.textMeasure, styleSheets: e2.styleSheets, viewport: e2.viewport, svg2pdfParameters: e2.svg2pdfParameters }));
1895
+ }))];
1896
+ case 1:
1897
+ return a.sent(), this.gradient.element.hasAttribute("gradientUnits") && "objectboundingbox" !== this.gradient.element.getAttribute("gradientUnits").toLowerCase() ? r = e2.pdf.unitMatrix : (i = t3.getBoundingBox(e2), r = e2.pdf.Matrix(i[2], 0, 0, i[3], i[0], i[1])), n = Q(N(this.gradient.element, e2.styleSheets, "gradientTransform", "transform"), e2), [2, { key: this.key, matrix: e2.pdf.matrixMult(n, r) }];
1898
+ }
1899
+ }));
1900
+ }));
1901
+ }, t2;
1902
+ })();
1903
+ var it = (function(t2) {
1904
+ function e2() {
1905
+ return null !== t2 && t2.apply(this, arguments) || this;
1906
+ }
1907
+ return u(e2, t2), e2.prototype.apply = function(t3) {
1908
+ return f(this, void 0, void 0, (function() {
1909
+ var e3, r, i, n, s2;
1910
+ return c(this, (function(o) {
1911
+ switch (o.label) {
1912
+ case 0:
1913
+ if (!(e3 = this.element.getAttribute("id"))) return [2];
1914
+ r = this.getBoundingBox(t3), i = new q([r[0], r[1], r[0] + r[2], r[1] + r[3]], r[2], r[3]), t3.pdf.beginTilingPattern(i), n = 0, s2 = this.children, o.label = 1;
1915
+ case 1:
1916
+ return n < s2.length ? [4, s2[n].render(new g(t3.pdf, { attributeState: t3.attributeState, refsHandler: t3.refsHandler, styleSheets: t3.styleSheets, viewport: t3.viewport, svg2pdfParameters: t3.svg2pdfParameters, textMeasure: t3.textMeasure }))] : [3, 4];
1917
+ case 2:
1918
+ o.sent(), o.label = 3;
1919
+ case 3:
1920
+ return n++, [3, 1];
1921
+ case 4:
1922
+ return t3.pdf.endTilingPattern(e3, i), [2];
1923
+ }
1924
+ }));
1925
+ }));
1926
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
1927
+ return _(this.element, t3);
1928
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
1929
+ return t3.pdf.unitMatrix;
1930
+ }, e2.prototype.isVisible = function(t3, e3) {
1931
+ return L(this, t3, e3);
1932
+ }, e2;
1933
+ })(J);
1934
+ var nt = (function() {
1935
+ function t2(t3, e2) {
1936
+ this.key = t3, this.pattern = e2;
1937
+ }
1938
+ return t2.prototype.getFillData = function(t3, e2) {
1939
+ return f(this, void 0, void 0, (function() {
1940
+ var r, i, n, a, s2, o, l2, u2, h2, f2, p2, d2;
1941
+ return c(this, (function(c2) {
1942
+ switch (c2.label) {
1943
+ case 0:
1944
+ return [4, e2.refsHandler.getRendered(this.key, null, (function(t4) {
1945
+ return t4.apply(new g(e2.pdf, { refsHandler: e2.refsHandler, textMeasure: e2.textMeasure, styleSheets: e2.styleSheets, viewport: e2.viewport, svg2pdfParameters: e2.svg2pdfParameters }));
1946
+ }))];
1947
+ case 1:
1948
+ return c2.sent(), r = { key: this.key, boundingBox: void 0, xStep: 0, yStep: 0, matrix: void 0 }, n = e2.pdf.unitMatrix, this.pattern.element.hasAttribute("patternUnits") && "objectboundingbox" !== this.pattern.element.getAttribute("patternUnits").toLowerCase() || (i = t3.getBoundingBox(e2), n = e2.pdf.Matrix(1, 0, 0, 1, i[0], i[1]), s2 = this.pattern.getBoundingBox(e2), o = s2[0] * i[0] || 0, l2 = s2[1] * i[1] || 0, u2 = s2[2] * i[2] || 0, h2 = s2[3] * i[3] || 0, r.boundingBox = [o, l2, o + u2, l2 + h2], r.xStep = u2, r.yStep = h2), a = e2.pdf.unitMatrix, this.pattern.element.hasAttribute("patternContentUnits") && "objectboundingbox" === this.pattern.element.getAttribute("patternContentUnits").toLowerCase() && (i || (i = t3.getBoundingBox(e2)), a = e2.pdf.Matrix(i[2], 0, 0, i[3], 0, 0), s2 = r.boundingBox || this.pattern.getBoundingBox(e2), o = s2[0] / i[0] || 0, l2 = s2[1] / i[1] || 0, u2 = s2[2] / i[2] || 0, h2 = s2[3] / i[3] || 0, r.boundingBox = [o, l2, o + u2, l2 + h2], r.xStep = u2, r.yStep = h2), f2 = e2.pdf.unitMatrix, (p2 = N(this.pattern.element, e2.styleSheets, "patternTransform", "transform")) && (f2 = Q(p2, e2)), d2 = a, d2 = e2.pdf.matrixMult(d2, n), d2 = e2.pdf.matrixMult(d2, f2), d2 = e2.pdf.matrixMult(d2, e2.transform), r.matrix = d2, [2, r];
1949
+ }
1950
+ }));
1951
+ }));
1952
+ }, t2;
1953
+ })();
1954
+ function at(t2, e2) {
1955
+ var r = R.exec(t2);
1956
+ if (r) {
1957
+ var i = r[1], n = e2.refsHandler.get(i);
1958
+ return n && (n instanceof tt || n instanceof et) ? (function(t3, e3, r2) {
1959
+ var i2 = e3.getStops(r2.styleSheets);
1960
+ if (0 === i2.length) return null;
1961
+ if (1 === i2.length) {
1962
+ var n2 = i2[0].color, a2 = new p();
1963
+ return a2.ok = true, a2.r = n2[0], a2.g = n2[1], a2.b = n2[2], a2.a = i2[0].opacity, new d(a2);
1964
+ }
1965
+ return new rt(t3, e3);
1966
+ })(i, n, e2) : n && n instanceof it ? new nt(i, n) : new d(new p("rgb(0, 0, 0)"));
1967
+ }
1968
+ var a = G(t2, e2.attributeState);
1969
+ return a.ok ? new d(a) : null;
1970
+ }
1971
+ function st(t2, r, i) {
1972
+ var n = i || r.element, a = N(n, t2.styleSheets, "color");
1973
+ if (a) {
1974
+ var s2 = G(a, t2.attributeState);
1975
+ s2.ok ? t2.attributeState.color = s2 : t2.attributeState.color = new p("rgb(0,0,0)");
1976
+ }
1977
+ var o = N(n, t2.styleSheets, "visibility");
1978
+ o && (t2.attributeState.visibility = o);
1979
+ var l2 = N(n, t2.styleSheets, "fill");
1980
+ l2 && (t2.attributeState.fill = at(l2, t2));
1981
+ var u2 = N(n, t2.styleSheets, "fill-opacity");
1982
+ u2 && (t2.attributeState.fillOpacity = parseFloat(u2));
1983
+ var h2 = N(n, t2.styleSheets, "stroke-opacity");
1984
+ h2 && (t2.attributeState.strokeOpacity = parseFloat(h2));
1985
+ var f2 = N(n, t2.styleSheets, "opacity");
1986
+ f2 && (t2.attributeState.opacity = parseFloat(f2));
1987
+ var c2 = N(n, t2.styleSheets, "stroke-width");
1988
+ void 0 !== c2 && "" !== c2 && (t2.attributeState.strokeWidth = Math.abs(parseFloat(c2)));
1989
+ var m2 = N(n, t2.styleSheets, "stroke");
1990
+ if (m2) if ("none" === m2) t2.attributeState.stroke = null;
1991
+ else {
1992
+ var g2 = G(m2, t2.attributeState);
1993
+ g2.ok && (t2.attributeState.stroke = new d(g2));
1994
+ }
1995
+ m2 && t2.attributeState.stroke instanceof d && (t2.attributeState.contextStroke = t2.attributeState.stroke.color), l2 && t2.attributeState.fill instanceof d && (t2.attributeState.contextFill = t2.attributeState.fill.color);
1996
+ var b2 = N(n, t2.styleSheets, "stroke-linecap");
1997
+ b2 && (t2.attributeState.strokeLinecap = b2);
1998
+ var y2 = N(n, t2.styleSheets, "stroke-linejoin");
1999
+ y2 && (t2.attributeState.strokeLinejoin = y2);
2000
+ var v2 = N(n, t2.styleSheets, "stroke-dasharray");
2001
+ if (v2) {
2002
+ var x2 = parseInt(N(n, t2.styleSheets, "stroke-dashoffset") || "0");
2003
+ t2.attributeState.strokeDasharray = j(v2), t2.attributeState.strokeDashoffset = x2;
2004
+ }
2005
+ var S2 = N(n, t2.styleSheets, "stroke-miterlimit");
2006
+ void 0 !== S2 && "" !== S2 && (t2.attributeState.strokeMiterlimit = parseFloat(S2));
2007
+ var w2 = n.getAttribute("xml:space");
2008
+ w2 && (t2.attributeState.xmlSpace = w2);
2009
+ var k2 = N(n, t2.styleSheets, "white-space");
2010
+ k2 && (t2.attributeState.whiteSpace = k2);
2011
+ var M3 = N(n, t2.styleSheets, "font-weight");
2012
+ M3 && (t2.attributeState.fontWeight = M3);
2013
+ var C2 = N(n, t2.styleSheets, "font-style");
2014
+ C2 && (t2.attributeState.fontStyle = C2);
2015
+ var T2 = N(n, t2.styleSheets, "font-family");
2016
+ if (T2) {
2017
+ var F2 = import_font_family_papandreou.default.parse(T2);
2018
+ t2.attributeState.fontFamily = (function(t3, e2, r2) {
2019
+ var i2 = X(t3.fontStyle, t3.fontWeight), n2 = r2.pdf.getFontList(), a2 = "";
2020
+ return e2.some((function(t4) {
2021
+ var e3 = n2[t4];
2022
+ return e3 && e3.indexOf(i2) >= 0 ? (a2 = t4, true) : (t4 = t4.toLowerCase(), !!U.hasOwnProperty(t4) && (a2 = t4, true));
2023
+ })) || (a2 = "times"), a2;
2024
+ })(t2.attributeState, F2, t2);
2025
+ }
2026
+ var A2 = N(n, t2.styleSheets, "font-size");
2027
+ if (A2) {
2028
+ var P2 = t2.pdf.getFontSize();
2029
+ t2.attributeState.fontSize = W(A2, P2);
2030
+ }
2031
+ var B2 = N(n, t2.styleSheets, "vertical-align") || N(n, t2.styleSheets, "alignment-baseline");
2032
+ if (B2) {
2033
+ var O3 = B2.match(/(baseline|text-bottom|alphabetic|ideographic|middle|central|mathematical|text-top|bottom|center|top|hanging)/);
2034
+ O3 && (t2.attributeState.alignmentBaseline = O3[0]);
2035
+ }
2036
+ var L2 = N(n, t2.styleSheets, "text-anchor");
2037
+ L2 && (t2.attributeState.textAnchor = L2);
2038
+ var E3 = N(n, t2.styleSheets, "fill-rule");
2039
+ E3 && (t2.attributeState.fillRule = E3);
2040
+ }
2041
+ function ot(t2, e2, r) {
2042
+ var n = 1, a = 1;
2043
+ n *= t2.attributeState.fillOpacity, n *= t2.attributeState.opacity, t2.attributeState.fill instanceof d && void 0 !== t2.attributeState.fill.color.a && (n *= t2.attributeState.fill.color.a), a *= t2.attributeState.strokeOpacity, a *= t2.attributeState.opacity, t2.attributeState.stroke instanceof d && void 0 !== t2.attributeState.stroke.color.a && (a *= t2.attributeState.stroke.color.a);
2044
+ var s2, o, l2 = n < 1, u2 = a < 1;
2045
+ if (B(r, "use") ? (l2 = true, u2 = true, n *= t2.attributeState.fill ? 1 : 0, a *= t2.attributeState.stroke ? 1 : 0) : t2.withinUse && (t2.attributeState.fill !== e2.attributeState.fill ? (l2 = true, n *= t2.attributeState.fill ? 1 : 0) : l2 && !t2.attributeState.fill && (n = 0), t2.attributeState.stroke !== e2.attributeState.stroke ? (u2 = true, a *= t2.attributeState.stroke ? 1 : 0) : u2 && !t2.attributeState.stroke && (a = 0)), l2 || u2) {
2046
+ var h2 = {};
2047
+ l2 && (h2.opacity = n), u2 && (h2["stroke-opacity"] = a), t2.pdf.setGState(new O(h2));
2048
+ }
2049
+ if (t2.attributeState.fill && t2.attributeState.fill !== e2.attributeState.fill && t2.attributeState.fill instanceof d && t2.attributeState.fill.color.ok && !B(r, "text") && t2.pdf.setFillColor(t2.attributeState.fill.color.r, t2.attributeState.fill.color.g, t2.attributeState.fill.color.b), t2.attributeState.strokeWidth !== e2.attributeState.strokeWidth && t2.pdf.setLineWidth(t2.attributeState.strokeWidth), t2.attributeState.stroke !== e2.attributeState.stroke && t2.attributeState.stroke instanceof d && t2.pdf.setDrawColor(t2.attributeState.stroke.color.r, t2.attributeState.stroke.color.g, t2.attributeState.stroke.color.b), t2.attributeState.strokeLinecap !== e2.attributeState.strokeLinecap && t2.pdf.setLineCap(t2.attributeState.strokeLinecap), t2.attributeState.strokeLinejoin !== e2.attributeState.strokeLinejoin && t2.pdf.setLineJoin(t2.attributeState.strokeLinejoin), t2.attributeState.strokeDasharray === e2.attributeState.strokeDasharray && t2.attributeState.strokeDashoffset === e2.attributeState.strokeDashoffset || !t2.attributeState.strokeDasharray || t2.pdf.setLineDashPattern(t2.attributeState.strokeDasharray, t2.attributeState.strokeDashoffset), t2.attributeState.strokeMiterlimit !== e2.attributeState.strokeMiterlimit && t2.pdf.setLineMiterLimit(t2.attributeState.strokeMiterlimit), t2.attributeState.fontFamily !== e2.attributeState.fontFamily && (s2 = U.hasOwnProperty(t2.attributeState.fontFamily) ? U[t2.attributeState.fontFamily] : t2.attributeState.fontFamily), t2.attributeState.fill && t2.attributeState.fill !== e2.attributeState.fill && t2.attributeState.fill instanceof d && t2.attributeState.fill.color.ok) {
2050
+ var f2 = t2.attributeState.fill.color;
2051
+ t2.pdf.setTextColor(f2.r, f2.g, f2.b);
2052
+ }
2053
+ t2.attributeState.fontWeight === e2.attributeState.fontWeight && t2.attributeState.fontStyle === e2.attributeState.fontStyle || (o = X(t2.attributeState.fontStyle, t2.attributeState.fontWeight)), void 0 === s2 && void 0 === o || (void 0 === s2 && (s2 = U.hasOwnProperty(t2.attributeState.fontFamily) ? U[t2.attributeState.fontFamily] : t2.attributeState.fontFamily), t2.pdf.setFont(s2, o)), t2.attributeState.fontSize !== e2.attributeState.fontSize && t2.pdf.setFontSize(t2.attributeState.fontSize * t2.pdf.internal.scaleFactor);
2054
+ }
2055
+ function lt(t2, e2, r) {
2056
+ var i = R.exec(t2);
2057
+ if (i) {
2058
+ var n = i[1];
2059
+ return r.refsHandler.get(n) || void 0;
2060
+ }
2061
+ }
2062
+ function ut(t2, e2, r) {
2063
+ return f(this, void 0, void 0, (function() {
2064
+ var i, n;
2065
+ return c(this, (function(a) {
2066
+ switch (a.label) {
2067
+ case 0:
2068
+ return i = r.clone(), e2.element.hasAttribute("clipPathUnits") && "objectboundingbox" === e2.element.getAttribute("clipPathUnits").toLowerCase() && (n = t2.getBoundingBox(r), i.transform = r.pdf.matrixMult(r.pdf.Matrix(n[2], 0, 0, n[3], n[0], n[1]), r.transform)), [4, e2.apply(i)];
2069
+ case 1:
2070
+ return a.sent(), [2];
2071
+ }
2072
+ }));
2073
+ }));
2074
+ }
2075
+ var ht = (function(t2) {
2076
+ function e2() {
2077
+ return null !== t2 && t2.apply(this, arguments) || this;
2078
+ }
2079
+ return u(e2, t2), e2.prototype.render = function(t3) {
2080
+ return f(this, void 0, void 0, (function() {
2081
+ var e3, r, i, n;
2082
+ return c(this, (function(a) {
2083
+ switch (a.label) {
2084
+ case 0:
2085
+ return this.isVisible("hidden" !== t3.attributeState.visibility, t3) ? ((e3 = t3.clone()).transform = e3.pdf.matrixMult(this.computeNodeTransform(e3), t3.transform), st(e3, this), r = N(this.element, e3.styleSheets, "clip-path"), (i = r && "none" !== r) ? (n = lt(r, 0, e3)) ? n.isVisible(true, e3) ? (e3.pdf.saveGraphicsState(), [4, ut(this, n, e3)]) : [3, 2] : [3, 4] : [3, 5]) : [2];
2086
+ case 1:
2087
+ return a.sent(), [3, 3];
2088
+ case 2:
2089
+ return [2];
2090
+ case 3:
2091
+ return [3, 5];
2092
+ case 4:
2093
+ i = false, a.label = 5;
2094
+ case 5:
2095
+ return e3.withinClipPath || e3.pdf.saveGraphicsState(), ot(e3, t3, this.element), [4, this.renderCore(e3)];
2096
+ case 6:
2097
+ return a.sent(), e3.withinClipPath || e3.pdf.restoreGraphicsState(), i && e3.pdf.restoreGraphicsState(), [2];
2098
+ }
2099
+ }));
2100
+ }));
2101
+ }, e2;
2102
+ })(K);
2103
+ var ft = (function(t2) {
2104
+ function e2() {
2105
+ return null !== t2 && t2.apply(this, arguments) || this;
2106
+ }
2107
+ return u(e2, t2), e2;
2108
+ })(ht);
2109
+ var ct = (function(t2) {
2110
+ function e2(e3, r, i) {
2111
+ var n = t2.call(this, r, i) || this;
2112
+ return n.cachedPath = null, n.hasMarkers = e3, n;
2113
+ }
2114
+ return u(e2, t2), e2.prototype.renderCore = function(t3) {
2115
+ return f(this, void 0, void 0, (function() {
2116
+ var e3;
2117
+ return c(this, (function(r) {
2118
+ switch (r.label) {
2119
+ case 0:
2120
+ return null === (e3 = this.getCachedPath(t3)) || 0 === e3.segments.length ? [2] : (t3.withinClipPath ? e3.transform(t3.transform) : t3.pdf.setCurrentTransformationMatrix(t3.transform), e3.draw(t3), [4, this.fillOrStroke(t3)]);
2121
+ case 1:
2122
+ return r.sent(), this.hasMarkers ? [4, this.drawMarkers(t3, e3)] : [3, 3];
2123
+ case 2:
2124
+ r.sent(), r.label = 3;
2125
+ case 3:
2126
+ return [2];
2127
+ }
2128
+ }));
2129
+ }));
2130
+ }, e2.prototype.getCachedPath = function(t3) {
2131
+ return this.cachedPath || (this.cachedPath = this.getPath(t3));
2132
+ }, e2.prototype.drawMarkers = function(t3, e3) {
2133
+ return f(this, void 0, void 0, (function() {
2134
+ return c(this, (function(r) {
2135
+ switch (r.label) {
2136
+ case 0:
2137
+ return [4, this.getMarkers(e3, t3).draw(t3.clone({ transform: t3.pdf.unitMatrix }))];
2138
+ case 1:
2139
+ return r.sent(), [2];
2140
+ }
2141
+ }));
2142
+ }));
2143
+ }, e2.prototype.fillOrStroke = function(t3) {
2144
+ return f(this, void 0, void 0, (function() {
2145
+ var e3, r, i, n, a;
2146
+ return c(this, (function(s2) {
2147
+ switch (s2.label) {
2148
+ case 0:
2149
+ return t3.withinClipPath ? [2] : (e3 = t3.attributeState.fill, r = t3.attributeState.stroke && 0 !== t3.attributeState.strokeWidth, e3 ? [4, e3.getFillData(this, t3)] : [3, 2]);
2150
+ case 1:
2151
+ return n = s2.sent(), [3, 3];
2152
+ case 2:
2153
+ n = void 0, s2.label = 3;
2154
+ case 3:
2155
+ return i = n, a = "evenodd" === t3.attributeState.fillRule, e3 && r || t3.withinUse ? a ? t3.pdf.fillStrokeEvenOdd(i) : t3.pdf.fillStroke(i) : e3 ? a ? t3.pdf.fillEvenOdd(i) : t3.pdf.fill(i) : r ? t3.pdf.stroke() : t3.pdf.discardPath(), [2];
2156
+ }
2157
+ }));
2158
+ }));
2159
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2160
+ var e3 = this.getCachedPath(t3);
2161
+ if (!e3 || !e3.segments.length) return [0, 0, 0, 0];
2162
+ for (var r = Number.POSITIVE_INFINITY, i = Number.POSITIVE_INFINITY, n = Number.NEGATIVE_INFINITY, a = Number.NEGATIVE_INFINITY, s2 = 0, o = 0, l2 = 0; l2 < e3.segments.length; l2++) {
2163
+ var u2 = e3.segments[l2];
2164
+ (u2 instanceof T || u2 instanceof F || u2 instanceof A) && (s2 = u2.x, o = u2.y), u2 instanceof A ? (r = Math.min(r, s2, u2.x1, u2.x2, u2.x), n = Math.max(n, s2, u2.x1, u2.x2, u2.x), i = Math.min(i, o, u2.y1, u2.y2, u2.y), a = Math.max(a, o, u2.y1, u2.y2, u2.y)) : (r = Math.min(r, s2), n = Math.max(n, s2), i = Math.min(i, o), a = Math.max(a, o));
2165
+ }
2166
+ return [r, i, n - r, a - i];
2167
+ }, e2.prototype.getMarkers = function(t3, e3) {
2168
+ var r = N(this.element, e3.styleSheets, "marker-start"), i = N(this.element, e3.styleSheets, "marker-mid"), n = N(this.element, e3.styleSheets, "marker-end"), a = new E2();
2169
+ if (r || i || n) {
2170
+ n && (n = pt(n)), r && (r = pt(r)), i && (i = pt(i));
2171
+ for (var s2 = t3.segments, o = [1, 0], l2 = void 0, u2 = false, h2 = [1, 0], f2 = false, c2 = function(t4) {
2172
+ var e4 = s2[t4], c3 = r && (1 === t4 || !(s2[t4] instanceof T) && s2[t4 - 1] instanceof T);
2173
+ c3 && s2.forEach((function(e5, r2) {
2174
+ if (!f2 && e5 instanceof P && r2 > t4) {
2175
+ var i2 = s2[r2 - 1];
2176
+ f2 = (i2 instanceof T || i2 instanceof F || i2 instanceof A) && i2;
2177
+ }
2178
+ }));
2179
+ var p3 = n && (t4 === s2.length - 1 || !(s2[t4] instanceof T) && s2[t4 + 1] instanceof T), d2 = i && t4 > 0 && !(1 === t4 && s2[t4 - 1] instanceof T), m2 = s2[t4 - 1] || null;
2180
+ if (m2 instanceof T || m2 instanceof F || m2 instanceof A) {
2181
+ if (e4 instanceof A) c3 && a.addMarker(new I(r, [m2.x, m2.y], y(f2 ? [f2.x, f2.y] : [m2.x, m2.y], [e4.x1, e4.y1]), true)), p3 && a.addMarker(new I(n, [e4.x, e4.y], y([e4.x2, e4.y2], [e4.x, e4.y]))), d2 && (l2 = w([m2.x, m2.y], [e4.x1, e4.y1]), l2 = m2 instanceof T ? l2 : S(k(o, l2)), a.addMarker(new I(i, [m2.x, m2.y], Math.atan2(l2[1], l2[0])))), o = w([e4.x2, e4.y2], [e4.x, e4.y]);
2182
+ else if (e4 instanceof T || e4 instanceof F) {
2183
+ if (l2 = w([m2.x, m2.y], [e4.x, e4.y]), c3) {
2184
+ var g2 = f2 ? w([f2.x, f2.y], [e4.x, e4.y]) : l2;
2185
+ a.addMarker(new I(r, [m2.x, m2.y], Math.atan2(g2[1], g2[0]), true));
2186
+ }
2187
+ if (p3 && a.addMarker(new I(n, [e4.x, e4.y], Math.atan2(l2[1], l2[0]))), d2) {
2188
+ g2 = e4 instanceof T ? o : m2 instanceof T ? l2 : S(k(o, l2));
2189
+ a.addMarker(new I(i, [m2.x, m2.y], Math.atan2(g2[1], g2[0])));
2190
+ }
2191
+ o = l2;
2192
+ } else if (e4 instanceof P) {
2193
+ if (l2 = w([m2.x, m2.y], [u2.x, u2.y]), d2) {
2194
+ g2 = m2 instanceof T ? l2 : S(k(o, l2));
2195
+ a.addMarker(new I(i, [m2.x, m2.y], Math.atan2(g2[1], g2[0])));
2196
+ }
2197
+ if (p3) {
2198
+ g2 = S(k(l2, h2));
2199
+ a.addMarker(new I(n, [u2.x, u2.y], Math.atan2(g2[1], g2[0])));
2200
+ }
2201
+ o = l2;
2202
+ }
2203
+ } else {
2204
+ u2 = e4 instanceof T && e4;
2205
+ var b2 = s2[t4 + 1];
2206
+ (b2 instanceof T || b2 instanceof F || b2 instanceof A) && (h2 = w([u2.x, u2.y], [b2.x, b2.y]));
2207
+ }
2208
+ }, p2 = 0; p2 < s2.length; p2++) c2(p2);
2209
+ }
2210
+ return a.markers.forEach((function(t4) {
2211
+ var r2 = e3.refsHandler.get(t4.id);
2212
+ if (r2) {
2213
+ var i2 = N(r2.element, e3.styleSheets, "orient");
2214
+ null != i2 && (t4.isStartMarker && "auto-start-reverse" === i2 && (t4.angle += Math.PI), isNaN(Number(i2)) || (t4.angle = parseFloat(i2) / 180 * Math.PI));
2215
+ }
2216
+ })), a;
2217
+ }, e2;
2218
+ })(ft);
2219
+ function pt(t2) {
2220
+ var e2 = R.exec(t2);
2221
+ return e2 && e2[1] || void 0;
2222
+ }
2223
+ var dt = (function(t2) {
2224
+ function e2(e3, r) {
2225
+ return t2.call(this, true, e3, r) || this;
2226
+ }
2227
+ return u(e2, t2), e2.prototype.getPath = function(t3) {
2228
+ if (t3.withinClipPath || null === t3.attributeState.stroke) return null;
2229
+ var e3 = parseFloat(this.element.getAttribute("x1") || "0"), r = parseFloat(this.element.getAttribute("y1") || "0"), i = parseFloat(this.element.getAttribute("x2") || "0"), n = parseFloat(this.element.getAttribute("y2") || "0");
2230
+ return e3 || i || r || n ? new C().moveTo(e3, r).lineTo(i, n) : null;
2231
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2232
+ return t3.pdf.unitMatrix;
2233
+ }, e2.prototype.isVisible = function(t3, e3) {
2234
+ return O2(this, t3, e3);
2235
+ }, e2.prototype.fillOrStroke = function(e3) {
2236
+ return f(this, void 0, void 0, (function() {
2237
+ return c(this, (function(r) {
2238
+ switch (r.label) {
2239
+ case 0:
2240
+ return e3.attributeState.fill = null, [4, t2.prototype.fillOrStroke.call(this, e3)];
2241
+ case 1:
2242
+ return r.sent(), [2];
2243
+ }
2244
+ }));
2245
+ }));
2246
+ }, e2;
2247
+ })(ct);
2248
+ var mt = (function(t2) {
2249
+ function e2() {
2250
+ return null !== t2 && t2.apply(this, arguments) || this;
2251
+ }
2252
+ return u(e2, t2), e2.prototype.apply = function(t3) {
2253
+ return f(this, void 0, void 0, (function() {
2254
+ var e3, r, i, n, a;
2255
+ return c(this, (function(s2) {
2256
+ switch (s2.label) {
2257
+ case 0:
2258
+ return this.isVisible("hidden" !== t3.attributeState.visibility, t3) ? ((e3 = t3.clone()).transform = e3.pdf.unitMatrix, st(e3, this), r = N(this.element, e3.styleSheets, "clip-path"), r && "none" !== r && (i = lt(r, 0, e3)) ? i.isVisible(true, e3) ? [4, ut(this, i, e3)] : [3, 2] : [3, 3]) : [2];
2259
+ case 1:
2260
+ return s2.sent(), [3, 3];
2261
+ case 2:
2262
+ return [2];
2263
+ case 3:
2264
+ ot(e3, t3, this.element), n = 0, a = this.children, s2.label = 4;
2265
+ case 4:
2266
+ return n < a.length ? [4, a[n].render(e3)] : [3, 7];
2267
+ case 5:
2268
+ s2.sent(), s2.label = 6;
2269
+ case 6:
2270
+ return n++, [3, 4];
2271
+ case 7:
2272
+ return [2];
2273
+ }
2274
+ }));
2275
+ }));
2276
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2277
+ return q2(t3, this);
2278
+ }, e2.prototype.isVisible = function(t3, e3) {
2279
+ return L(this, t3, e3);
2280
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2281
+ var e3 = parseFloat(N(this.element, t3.styleSheets, "x") || "0"), r = parseFloat(N(this.element, t3.styleSheets, "y") || "0"), i = this.element.getAttribute("viewBox");
2282
+ if (i) {
2283
+ var n = j(i), a = parseFloat(N(this.element, t3.styleSheets, "width") || N(this.element.ownerSVGElement, t3.styleSheets, "width") || i[2]), s2 = parseFloat(N(this.element, t3.styleSheets, "height") || N(this.element.ownerSVGElement, t3.styleSheets, "height") || i[3]);
2284
+ return $(this.element, n, e3, r, a, s2, t3);
2285
+ }
2286
+ return t3.pdf.Matrix(1, 0, 0, 1, e3, r);
2287
+ }, e2;
2288
+ })(J);
2289
+ var gt = function(t2, e2) {
2290
+ this.width = t2, this.height = e2;
2291
+ };
2292
+ var bt = (function(t2) {
2293
+ function e2() {
2294
+ return null !== t2 && t2.apply(this, arguments) || this;
2295
+ }
2296
+ return u(e2, t2), e2.prototype.renderCore = function(t3) {
2297
+ return f(this, void 0, void 0, (function() {
2298
+ var r, i, n, a, s2, o, l2, u2, h2, f2, p2, d2, b2;
2299
+ return c(this, (function(c2) {
2300
+ switch (c2.label) {
2301
+ case 0:
2302
+ return r = parseFloat, (i = this.element.getAttribute("href") || this.element.getAttribute("xlink:href")) ? (n = i.substring(1), a = t3.refsHandler.get(n), s2 = B(a.element, "symbol,svg") && a.element.hasAttribute("viewBox"), o = r(N(this.element, t3.styleSheets, "x") || "0"), l2 = r(N(this.element, t3.styleSheets, "y") || "0"), u2 = void 0, h2 = void 0, s2 ? (u2 = r(N(this.element, t3.styleSheets, "width") || N(a.element, t3.styleSheets, "width") || "0"), h2 = r(N(this.element, t3.styleSheets, "height") || N(a.element, t3.styleSheets, "height") || "0"), o += r(N(a.element, t3.styleSheets, "x") || "0"), l2 += r(N(a.element, t3.styleSheets, "y") || "0"), p2 = j(a.element.getAttribute("viewBox")), f2 = $(a.element, p2, o, l2, u2, h2, t3)) : f2 = t3.pdf.Matrix(1, 0, 0, 1, o, l2), d2 = m.getContextColors(t3, true), b2 = new g(t3.pdf, { refsHandler: t3.refsHandler, styleSheets: t3.styleSheets, withinUse: true, viewport: s2 ? new gt(u2, h2) : t3.viewport, svg2pdfParameters: t3.svg2pdfParameters, textMeasure: t3.textMeasure, attributeState: Object.assign(m.default(), d2) }), [4, t3.refsHandler.getRendered(n, d2, (function(t4) {
2303
+ return e2.renderReferencedNode(t4, n, b2);
2304
+ }))]) : [2];
2305
+ case 1:
2306
+ return c2.sent(), t3.pdf.saveGraphicsState(), t3.pdf.setCurrentTransformationMatrix(t3.transform), s2 && "visible" !== N(a.element, t3.styleSheets, "overflow") && (t3.pdf.rect(o, l2, u2, h2), t3.pdf.clip().discardPath()), t3.pdf.doFormObject(t3.refsHandler.generateKey(n, d2), f2), t3.pdf.restoreGraphicsState(), [2];
2307
+ }
2308
+ }));
2309
+ }));
2310
+ }, e2.renderReferencedNode = function(t3, e3, r) {
2311
+ return f(this, void 0, void 0, (function() {
2312
+ var i;
2313
+ return c(this, (function(n) {
2314
+ switch (n.label) {
2315
+ case 0:
2316
+ return i = [(i = t3.getBoundingBox(r))[0] - 0.5 * i[2], i[1] - 0.5 * i[3], 2 * i[2], 2 * i[3]], r.pdf.beginFormObject(i[0], i[1], i[2], i[3], r.pdf.unitMatrix), t3 instanceof mt ? [4, t3.apply(r)] : [3, 2];
2317
+ case 1:
2318
+ return n.sent(), [3, 4];
2319
+ case 2:
2320
+ return [4, t3.render(r)];
2321
+ case 3:
2322
+ n.sent(), n.label = 4;
2323
+ case 4:
2324
+ return r.pdf.endFormObject(r.refsHandler.generateKey(e3, r.attributeState)), [2];
2325
+ }
2326
+ }));
2327
+ }));
2328
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2329
+ return _(this.element, t3);
2330
+ }, e2.prototype.isVisible = function(t3, e3) {
2331
+ return O2(this, t3, e3);
2332
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2333
+ return t3.pdf.unitMatrix;
2334
+ }, e2;
2335
+ })(ft);
2336
+ var yt = (function(t2) {
2337
+ function e2(e3, r) {
2338
+ return t2.call(this, false, e3, r) || this;
2339
+ }
2340
+ return u(e2, t2), e2.prototype.getPath = function(t3) {
2341
+ var e3 = parseFloat(N(this.element, t3.styleSheets, "width") || "0"), r = parseFloat(N(this.element, t3.styleSheets, "height") || "0");
2342
+ if (!isFinite(e3) || e3 <= 0 || !isFinite(r) || r <= 0) return null;
2343
+ var i = N(this.element, t3.styleSheets, "rx"), n = N(this.element, t3.styleSheets, "ry"), a = Math.min(parseFloat(i || n || "0"), 0.5 * e3), s2 = Math.min(parseFloat(n || i || "0"), 0.5 * r), o = parseFloat(N(this.element, t3.styleSheets, "x") || "0"), l2 = parseFloat(N(this.element, t3.styleSheets, "y") || "0"), u2 = 4 / 3 * (Math.SQRT2 - 1);
2344
+ return 0 === a && 0 === s2 ? new C().moveTo(o, l2).lineTo(o + e3, l2).lineTo(o + e3, l2 + r).lineTo(o, l2 + r).close() : new C().moveTo(o += a, l2).lineTo(o += e3 - 2 * a, l2).curveTo(o + a * u2, l2, o + a, l2 + (s2 - s2 * u2), o += a, l2 += s2).lineTo(o, l2 += r - 2 * s2).curveTo(o, l2 + s2 * u2, o - a * u2, l2 + s2, o -= a, l2 += s2).lineTo(o += 2 * a - e3, l2).curveTo(o - a * u2, l2, o - a, l2 - s2 * u2, o -= a, l2 -= s2).lineTo(o, l2 += 2 * s2 - r).curveTo(o, l2 - s2 * u2, o + a * u2, l2 - s2, o += a, l2 -= s2).close();
2345
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2346
+ return t3.pdf.unitMatrix;
2347
+ }, e2.prototype.isVisible = function(t3, e3) {
2348
+ return O2(this, t3, e3);
2349
+ }, e2;
2350
+ })(ct);
2351
+ var vt = (function(t2) {
2352
+ function e2(e3, r) {
2353
+ return t2.call(this, false, e3, r) || this;
2354
+ }
2355
+ return u(e2, t2), e2.prototype.getPath = function(t3) {
2356
+ var e3 = this.getRx(t3), r = this.getRy(t3);
2357
+ if (!isFinite(e3) || r <= 0 || !isFinite(r) || r <= 0) return null;
2358
+ var i = parseFloat(N(this.element, t3.styleSheets, "cx") || "0"), n = parseFloat(N(this.element, t3.styleSheets, "cy") || "0"), a = 4 / 3 * (Math.SQRT2 - 1) * e3, s2 = 4 / 3 * (Math.SQRT2 - 1) * r;
2359
+ return new C().moveTo(i + e3, n).curveTo(i + e3, n - s2, i + a, n - r, i, n - r).curveTo(i - a, n - r, i - e3, n - s2, i - e3, n).curveTo(i - e3, n + s2, i - a, n + r, i, n + r).curveTo(i + a, n + r, i + e3, n + s2, i + e3, n);
2360
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2361
+ return t3.pdf.unitMatrix;
2362
+ }, e2.prototype.isVisible = function(t3, e3) {
2363
+ return O2(this, t3, e3);
2364
+ }, e2;
2365
+ })(ct);
2366
+ var xt = (function(t2) {
2367
+ function e2(e3, r) {
2368
+ return t2.call(this, e3, r) || this;
2369
+ }
2370
+ return u(e2, t2), e2.prototype.getRx = function(t3) {
2371
+ return parseFloat(N(this.element, t3.styleSheets, "rx") || "0");
2372
+ }, e2.prototype.getRy = function(t3) {
2373
+ return parseFloat(N(this.element, t3.styleSheets, "ry") || "0");
2374
+ }, e2;
2375
+ })(vt);
2376
+ function St(t2) {
2377
+ var e2 = "invisible", r = t2.stroke && 0 !== t2.strokeWidth, i = t2.fill;
2378
+ return i && r ? e2 = "fillThenStroke" : i ? e2 = "fill" : r && (e2 = "stroke"), e2;
2379
+ }
2380
+ function wt(t2) {
2381
+ return t2.replace(/[\n\r]/g, "");
2382
+ }
2383
+ function kt(t2) {
2384
+ return t2.replace(/[\t]/g, " ");
2385
+ }
2386
+ function Mt(t2) {
2387
+ return t2.replace(/ +/g, " ");
2388
+ }
2389
+ function Ct(t2, e2, r) {
2390
+ switch (N(t2, r.styleSheets, "text-transform")) {
2391
+ case "uppercase":
2392
+ return e2.toUpperCase();
2393
+ case "lowercase":
2394
+ return e2.toLowerCase();
2395
+ default:
2396
+ return e2;
2397
+ }
2398
+ }
2399
+ var Tt = (function() {
2400
+ function t2(t3, e2, r, i) {
2401
+ this.textNode = t3, this.texts = [], this.textNodes = [], this.contexts = [], this.textAnchor = e2, this.originX = r, this.originY = i, this.textMeasures = [];
2402
+ }
2403
+ return t2.prototype.setX = function(t3) {
2404
+ this.originX = t3;
2405
+ }, t2.prototype.setY = function(t3) {
2406
+ this.originY = t3;
2407
+ }, t2.prototype.add = function(t3, e2, r) {
2408
+ this.texts.push(e2), this.textNodes.push(t3), this.contexts.push(r);
2409
+ }, t2.prototype.rightTrimText = function() {
2410
+ for (var t3 = this.texts.length - 1; t3 >= 0; t3--) {
2411
+ if ("preserve" === this.contexts[t3].attributeState.xmlSpace || "pre" === this.contexts[t3].attributeState.whiteSpace || (this.texts[t3] = this.texts[t3].replace(/\s+$/, "")), this.texts[t3].match(/[^\s]/)) return false;
2412
+ }
2413
+ return true;
2414
+ }, t2.prototype.measureText = function(t3) {
2415
+ for (var e2 = 0; e2 < this.texts.length; e2++) this.textMeasures.push({ width: t3.textMeasure.measureTextWidth(this.texts[e2], this.contexts[e2].attributeState), length: this.texts[e2].length });
2416
+ }, t2.prototype.put = function(e2, r) {
2417
+ var i, n, a, s2, o = [], l2 = [], u2 = [], h2 = this.originX, f2 = this.originY, c2 = h2, p2 = h2;
2418
+ for (i = 0; i < this.textNodes.length; i++) {
2419
+ n = this.textNodes[i], a = this.contexts[i], s2 = this.textMeasures[i] || { width: e2.textMeasure.measureTextWidth(this.texts[i], this.contexts[i].attributeState), length: this.texts[i].length };
2420
+ var d2 = h2, m2 = f2;
2421
+ if ("#text" !== n.nodeName && !o.includes(n)) {
2422
+ o.push(n);
2423
+ var g2 = t2.resolveRelativePositionAttribute(n, "dx");
2424
+ null !== g2 && (d2 += W(g2, a.attributeState.fontSize));
2425
+ var b2 = t2.resolveRelativePositionAttribute(n, "dy");
2426
+ null !== b2 && (m2 += W(b2, a.attributeState.fontSize));
2427
+ }
2428
+ l2[i] = d2, u2[i] = m2, h2 = d2 + s2.width + s2.length * r, f2 = m2, c2 = Math.min(c2, d2), p2 = Math.max(p2, h2);
2429
+ }
2430
+ var y2 = 0;
2431
+ switch (this.textAnchor) {
2432
+ case "start":
2433
+ y2 = 0;
2434
+ break;
2435
+ case "middle":
2436
+ y2 = (p2 - c2) / 2;
2437
+ break;
2438
+ case "end":
2439
+ y2 = p2 - c2;
2440
+ }
2441
+ for (i = 0; i < this.textNodes.length; i++) if (n = this.textNodes[i], a = this.contexts[i], "#text" === n.nodeName || "hidden" !== a.attributeState.visibility) {
2442
+ e2.pdf.saveGraphicsState(), ot(a, e2, n);
2443
+ var v2 = a.attributeState.alignmentBaseline, x2 = St(a.attributeState);
2444
+ e2.pdf.text(this.texts[i], l2[i] - y2, u2[i], { baseline: V(v2), angle: e2.transform, renderingMode: "fill" === x2 ? void 0 : x2, charSpace: 0 === r ? void 0 : r }), e2.pdf.restoreGraphicsState();
2445
+ }
2446
+ return [h2, f2];
2447
+ }, t2.resolveRelativePositionAttribute = function(t3, e2) {
2448
+ for (var r, i = t3; i && B(i, "tspan"); ) {
2449
+ if (i.hasAttribute(e2)) return i.getAttribute(e2);
2450
+ if ((null === (r = t3.parentElement) || void 0 === r ? void 0 : r.firstChild) !== t3) break;
2451
+ i = i.parentElement;
2452
+ }
2453
+ return null;
2454
+ }, t2;
2455
+ })();
2456
+ var Ft = (function(t2) {
2457
+ function e2() {
2458
+ var e3 = null !== t2 && t2.apply(this, arguments) || this;
2459
+ return e3.boundingBox = [], e3;
2460
+ }
2461
+ return u(e2, t2), e2.prototype.processTSpans = function(t3, e3, r, i, n, a) {
2462
+ for (var s2 = r.pdf.getFontSize(), o = "preserve" === r.attributeState.xmlSpace || "pre" === r.attributeState.whiteSpace, l2 = true, u2 = false, h2 = 0; h2 < e3.childNodes.length; h2++) {
2463
+ var f2 = e3.childNodes[h2];
2464
+ if (f2.textContent) {
2465
+ var c2 = f2.textContent;
2466
+ if ("#text" === f2.nodeName) {
2467
+ var p2 = wt(c2);
2468
+ p2 = kt(p2), o || (p2 = Mt(p2), l2 && p2.match(/^\s/) && (u2 = true), p2.match(/[^\s]/) && (l2 = false), a.prevText.match(/\s$/) && (p2 = p2.replace(/^\s+/, "")));
2469
+ var d2 = Ct(e3, p2, r);
2470
+ n.add(e3, d2, r), a.prevText = c2, a.prevContext = r;
2471
+ } else if (B(f2, "title")) ;
2472
+ else if (B(f2, "tspan")) {
2473
+ var m2 = f2, g2 = m2.getAttribute("x");
2474
+ if (null !== g2) {
2475
+ var b2 = W(g2, s2);
2476
+ n = new Tt(this, N(m2, r.styleSheets, "text-anchor") || r.attributeState.textAnchor, b2, 0), i.push({ type: "y", chunk: n });
2477
+ }
2478
+ var y2 = m2.getAttribute("y");
2479
+ if (null !== y2) {
2480
+ var v2 = W(y2, s2);
2481
+ n = new Tt(this, N(m2, r.styleSheets, "text-anchor") || r.attributeState.textAnchor, 0, v2), i.push({ type: "x", chunk: n });
2482
+ }
2483
+ var x2 = r.clone();
2484
+ st(x2, t3, m2), this.processTSpans(t3, m2, x2, i, n, a);
2485
+ }
2486
+ }
2487
+ }
2488
+ return u2;
2489
+ }, e2.prototype.renderCore = function(t3) {
2490
+ return f(this, void 0, void 0, (function() {
2491
+ var e3, r, i, n, a, s2, o, l2, u2, h2, f2, p2, d2, m2, g2, b2, y2, v2, x2, S2, w2, k2, M3;
2492
+ return c(this, (function(c2) {
2493
+ if (t3.pdf.saveGraphicsState(), e3 = 0, r = 0, i = 1, n = t3.pdf.getFontSize(), a = W(this.element.getAttribute("x"), n), s2 = W(this.element.getAttribute("y"), n), o = W(this.element.getAttribute("dx"), n), l2 = W(this.element.getAttribute("dy"), n), u2 = parseFloat(this.element.getAttribute("textLength") || "0"), h2 = t3.attributeState.visibility, 0 === this.element.childElementCount) f2 = this.element.textContent || "", p2 = (function(t4, e4) {
2494
+ return t4 = kt(t4 = wt(t4)), "preserve" === e4.xmlSpace || "pre" === e4.whiteSpace || (t4 = Mt(t4 = t4.trim())), t4;
2495
+ })(f2, t3.attributeState), d2 = Ct(this.element, p2, t3), e3 = t3.textMeasure.getTextOffset(d2, t3.attributeState), u2 > 0 && (m2 = t3.textMeasure.measureTextWidth(d2, t3.attributeState), !("preserve" === t3.attributeState.xmlSpace || "pre" === t3.attributeState.whiteSpace) && f2.match(/^\s/) && (i = 0), r = (u2 - m2) / (d2.length - i) || 0), "visible" === h2 && (g2 = t3.attributeState.alignmentBaseline, b2 = St(t3.attributeState), t3.pdf.text(d2, a + o - e3, s2 + l2, { baseline: V(g2), angle: t3.transform, renderingMode: "fill" === b2 ? void 0 : b2, charSpace: 0 === r ? void 0 : r }), this.boundingBox = [a + o - e3, s2 + l2 + 0.1 * n, t3.textMeasure.measureTextWidth(d2, t3.attributeState), n]);
2496
+ else {
2497
+ for (y2 = [], v2 = new Tt(this, t3.attributeState.textAnchor, a + o, s2 + l2), y2.push({ type: "", chunk: v2 }), x2 = this.processTSpans(this, this.element, t3, y2, v2, { prevText: " ", prevContext: t3 }), i = x2 ? 0 : 1, S2 = true, w2 = y2.length - 1; w2 >= 0; w2--) S2 && (S2 = y2[w2].chunk.rightTrimText());
2498
+ u2 > 0 && (k2 = 0, M3 = 0, y2.forEach((function(e4) {
2499
+ var r2 = e4.chunk;
2500
+ r2.measureText(t3), r2.textMeasures.forEach((function(t4) {
2501
+ var e5 = t4.width, r3 = t4.length;
2502
+ k2 += e5, M3 += r3;
2503
+ }));
2504
+ })), r = (u2 - k2) / (M3 - i)), y2.reduce((function(e4, i2) {
2505
+ var n2 = i2.type, a2 = i2.chunk;
2506
+ return "x" === n2 ? a2.setX(e4[0]) : "y" === n2 && a2.setY(e4[1]), a2.put(t3, r);
2507
+ }), [0, 0]);
2508
+ }
2509
+ return t3.pdf.restoreGraphicsState(), [2];
2510
+ }));
2511
+ }));
2512
+ }, e2.prototype.isVisible = function(t3, e3) {
2513
+ return L(this, t3, e3);
2514
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2515
+ return this.boundingBox.length > 0 ? this.boundingBox : _(this.element, t3);
2516
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2517
+ return t3.pdf.unitMatrix;
2518
+ }, e2;
2519
+ })(ft);
2520
+ var At = (function(t2) {
2521
+ function e2(e3, r) {
2522
+ return t2.call(this, true, e3, r) || this;
2523
+ }
2524
+ return u(e2, t2), e2.prototype.computeNodeTransformCore = function(t3) {
2525
+ return t3.pdf.unitMatrix;
2526
+ }, e2.prototype.isVisible = function(t3, e3) {
2527
+ return O2(this, t3, e3);
2528
+ }, e2.prototype.getPath = function(t3) {
2529
+ var e3, r, i = new import_svgpath.default(N(this.element, t3.styleSheets, "d") || "").unshort().unarc().abs(), n = new C();
2530
+ return i.iterate((function(t4) {
2531
+ switch (t4[0]) {
2532
+ case "M":
2533
+ n.moveTo(t4[1], t4[2]);
2534
+ break;
2535
+ case "L":
2536
+ n.lineTo(t4[1], t4[2]);
2537
+ break;
2538
+ case "H":
2539
+ n.lineTo(t4[1], r);
2540
+ break;
2541
+ case "V":
2542
+ n.lineTo(e3, t4[1]);
2543
+ break;
2544
+ case "C":
2545
+ n.curveTo(t4[1], t4[2], t4[3], t4[4], t4[5], t4[6]);
2546
+ break;
2547
+ case "Q":
2548
+ var i2 = x([e3, r], [t4[1], t4[2]]), a = x([t4[3], t4[4]], [t4[1], t4[2]]);
2549
+ n.curveTo(i2[0], i2[1], a[0], a[1], t4[3], t4[4]);
2550
+ break;
2551
+ case "Z":
2552
+ n.close();
2553
+ }
2554
+ switch (t4[0]) {
2555
+ case "M":
2556
+ case "L":
2557
+ e3 = t4[1], r = t4[2];
2558
+ break;
2559
+ case "H":
2560
+ e3 = t4[1];
2561
+ break;
2562
+ case "V":
2563
+ r = t4[1];
2564
+ break;
2565
+ case "C":
2566
+ e3 = t4[5], r = t4[6];
2567
+ break;
2568
+ case "Q":
2569
+ e3 = t4[3], r = t4[4];
2570
+ }
2571
+ })), n;
2572
+ }, e2;
2573
+ })(ct);
2574
+ var Pt = /^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,((?:.|\s)*)$/i;
2575
+ var Bt = (function(t2) {
2576
+ function e2(r, i) {
2577
+ var n = t2.call(this, r, i) || this;
2578
+ return n.imageLoadingPromise = null, n.imageUrl = n.element.getAttribute("xlink:href") || n.element.getAttribute("href"), n.imageUrl && (n.imageLoadingPromise = e2.fetchImageData(n.imageUrl)), n;
2579
+ }
2580
+ return u(e2, t2), e2.prototype.renderCore = function(t3) {
2581
+ return f(this, void 0, void 0, (function() {
2582
+ var r, i, n, a, s2, o, l2, u2, h2, f2, p2, d2, m2, y2, v2, x2, S2, w2;
2583
+ return c(this, (function(c2) {
2584
+ switch (c2.label) {
2585
+ case 0:
2586
+ return this.imageLoadingPromise ? (t3.pdf.setCurrentTransformationMatrix(t3.transform), r = parseFloat(N(this.element, t3.styleSheets, "width") || "0"), i = parseFloat(N(this.element, t3.styleSheets, "height") || "0"), n = parseFloat(N(this.element, t3.styleSheets, "x") || "0"), a = parseFloat(N(this.element, t3.styleSheets, "y") || "0"), !isFinite(r) || r <= 0 || !isFinite(i) || i <= 0 ? [2] : [4, this.imageLoadingPromise]) : [2];
2587
+ case 1:
2588
+ return s2 = c2.sent(), o = s2.data, 0 !== (l2 = s2.format).indexOf("svg") ? [3, 3] : (u2 = new DOMParser(), h2 = u2.parseFromString(o, "image/svg+xml").firstElementChild, (!(f2 = this.element.getAttribute("preserveAspectRatio")) || f2.indexOf("defer") < 0 || !h2.getAttribute("preserveAspectRatio")) && h2.setAttribute("preserveAspectRatio", f2 || ""), h2.setAttribute("x", String(n)), h2.setAttribute("y", String(a)), h2.setAttribute("width", String(r)), h2.setAttribute("height", String(i)), [4, Gt(h2, p2 = {}).render(new g(t3.pdf, { refsHandler: new b(p2), styleSheets: t3.styleSheets, viewport: new gt(r, i), svg2pdfParameters: t3.svg2pdfParameters, textMeasure: t3.textMeasure }))]);
2589
+ case 2:
2590
+ return c2.sent(), [2];
2591
+ case 3:
2592
+ d2 = "data:image/".concat(l2, ";base64,").concat(btoa(o)), c2.label = 4;
2593
+ case 4:
2594
+ return c2.trys.push([4, 6, , 7]), [4, e2.getImageDimensions(d2)];
2595
+ case 5:
2596
+ return m2 = c2.sent(), y2 = m2[0], v2 = m2[1], x2 = [0, 0, y2, v2], S2 = $(this.element, x2, n, a, r, i, t3), t3.pdf.setCurrentTransformationMatrix(S2), t3.pdf.addImage(d2, "", 0, 0, y2, v2), [3, 7];
2597
+ case 6:
2598
+ return w2 = c2.sent(), "object" == typeof console && console.warn && console.warn("Could not load image ".concat(this.imageUrl, ". \n").concat(w2)), [3, 7];
2599
+ case 7:
2600
+ return [2];
2601
+ }
2602
+ }));
2603
+ }));
2604
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2605
+ return _(this.element, t3);
2606
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2607
+ return t3.pdf.unitMatrix;
2608
+ }, e2.prototype.isVisible = function(t3, e3) {
2609
+ return O2(this, t3, e3);
2610
+ }, e2.fetchImageData = function(t3) {
2611
+ return f(this, void 0, void 0, (function() {
2612
+ var r, i, n, a, s2;
2613
+ return c(this, (function(o) {
2614
+ switch (o.label) {
2615
+ case 0:
2616
+ if (!(n = t3.match(Pt))) return [3, 1];
2617
+ if (a = n[2], "image" !== (s2 = a.split("/"))[0]) throw new Error("Unsupported image URL: ".concat(t3));
2618
+ return i = s2[1], r = n[5], "base64" === n[4] ? (r = r.replace(/\s/g, ""), r = atob(r)) : r = decodeURIComponent(r), [3, 3];
2619
+ case 1:
2620
+ return [4, e2.fetchImage(t3)];
2621
+ case 2:
2622
+ r = o.sent(), i = t3.substring(t3.lastIndexOf(".") + 1), o.label = 3;
2623
+ case 3:
2624
+ return [2, { data: r, format: i }];
2625
+ }
2626
+ }));
2627
+ }));
2628
+ }, e2.fetchImage = function(t3) {
2629
+ return new Promise((function(e3, r) {
2630
+ var i = new XMLHttpRequest();
2631
+ i.open("GET", t3, true), i.responseType = "arraybuffer", i.onload = function() {
2632
+ if (200 !== i.status) throw new Error("Error ".concat(i.status, ": Failed to load image '").concat(t3, "'"));
2633
+ for (var r2 = new Uint8Array(i.response), n = "", a = 0; a < r2.length; a++) n += String.fromCharCode(r2[a]);
2634
+ e3(n);
2635
+ }, i.onerror = r, i.onabort = r, i.send(null);
2636
+ }));
2637
+ }, e2.getMimeType = function(t3) {
2638
+ switch (t3 = t3.toLowerCase()) {
2639
+ case "jpg":
2640
+ case "jpeg":
2641
+ return "image/jpeg";
2642
+ default:
2643
+ return "image/".concat(t3);
2644
+ }
2645
+ }, e2.getImageDimensions = function(t3) {
2646
+ return new Promise((function(e3, r) {
2647
+ var i = new Image();
2648
+ i.onload = function() {
2649
+ e3([i.width, i.height]);
2650
+ }, i.onerror = r, i.src = t3;
2651
+ }));
2652
+ }, e2;
2653
+ })(ft);
2654
+ var Nt = (function(t2) {
2655
+ function e2(e3, r, i) {
2656
+ var n = t2.call(this, true, r, i) || this;
2657
+ return n.closed = e3, n;
2658
+ }
2659
+ return u(e2, t2), e2.prototype.getPath = function(t3) {
2660
+ if (!this.element.hasAttribute("points") || "" === this.element.getAttribute("points")) return null;
2661
+ var r = e2.parsePointsString(this.element.getAttribute("points")), i = new C();
2662
+ if (r.length < 1) return i;
2663
+ i.moveTo(r[0][0], r[0][1]);
2664
+ for (var n = 1; n < r.length; n++) i.lineTo(r[n][0], r[n][1]);
2665
+ return this.closed && i.close(), i;
2666
+ }, e2.prototype.isVisible = function(t3, e3) {
2667
+ return O2(this, t3, e3);
2668
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2669
+ return t3.pdf.unitMatrix;
2670
+ }, e2.parsePointsString = function(t3) {
2671
+ for (var e3 = j(t3), r = [], i = 0; i < e3.length - 1; i += 2) {
2672
+ var n = e3[i], a = e3[i + 1];
2673
+ r.push([n, a]);
2674
+ }
2675
+ return r;
2676
+ }, e2;
2677
+ })(ct);
2678
+ var Ot = (function(t2) {
2679
+ function e2(e3, r) {
2680
+ return t2.call(this, true, e3, r) || this;
2681
+ }
2682
+ return u(e2, t2), e2;
2683
+ })(Nt);
2684
+ var Lt = (function(t2) {
2685
+ function e2() {
2686
+ return null !== t2 && t2.apply(this, arguments) || this;
2687
+ }
2688
+ return u(e2, t2), e2.prototype.render = function(t3) {
2689
+ return Promise.resolve();
2690
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2691
+ return [0, 0, 0, 0];
2692
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2693
+ return t3.pdf.unitMatrix;
2694
+ }, e2.prototype.isVisible = function(t3, e3) {
2695
+ return O2(this, t3, e3);
2696
+ }, e2;
2697
+ })(K);
2698
+ var Et = (function(t2) {
2699
+ function e2() {
2700
+ return null !== t2 && t2.apply(this, arguments) || this;
2701
+ }
2702
+ return u(e2, t2), e2.prototype.apply = function(t3) {
2703
+ return f(this, void 0, void 0, (function() {
2704
+ var e3, r, n, a, s2, o;
2705
+ return c(this, (function(l2) {
2706
+ switch (l2.label) {
2707
+ case 0:
2708
+ e3 = this.computeNodeTransform(t3), r = this.getBoundingBox(t3), t3.pdf.beginFormObject(r[0], r[1], r[2], r[3], e3), n = m.getContextColors(t3), (function(t4) {
2709
+ var e4 = t4.attributeState, r2 = t4.pdf, n2 = 1, a2 = 1;
2710
+ n2 *= e4.fillOpacity, n2 *= e4.opacity, e4.fill instanceof d && void 0 !== e4.fill.color.a && (n2 *= e4.fill.color.a), a2 *= e4.strokeOpacity, a2 *= e4.opacity, e4.stroke instanceof d && void 0 !== e4.stroke.color.a && (a2 *= e4.stroke.color.a);
2711
+ var s3, o2 = {};
2712
+ if (o2.opacity = n2, o2["stroke-opacity"] = a2, r2.setGState(new O(o2)), e4.fill && e4.fill instanceof d && e4.fill.color.ok ? r2.setFillColor(e4.fill.color.r, e4.fill.color.g, e4.fill.color.b) : r2.setFillColor(0, 0, 0), r2.setLineWidth(e4.strokeWidth), e4.stroke instanceof d ? r2.setDrawColor(e4.stroke.color.r, e4.stroke.color.g, e4.stroke.color.b) : r2.setDrawColor(0, 0, 0), r2.setLineCap(e4.strokeLinecap), r2.setLineJoin(e4.strokeLinejoin), e4.strokeDasharray ? r2.setLineDashPattern(e4.strokeDasharray, e4.strokeDashoffset) : r2.setLineDashPattern([], 0), r2.setLineMiterLimit(e4.strokeMiterlimit), s3 = U.hasOwnProperty(e4.fontFamily) ? U[e4.fontFamily] : e4.fontFamily, e4.fill && e4.fill instanceof d && e4.fill.color.ok) {
2713
+ var l3 = e4.fill.color;
2714
+ r2.setTextColor(l3.r, l3.g, l3.b);
2715
+ } else r2.setTextColor(0, 0, 0);
2716
+ var u2 = "";
2717
+ "bold" === e4.fontWeight && (u2 = "bold"), "italic" === e4.fontStyle && (u2 += "italic"), "" === u2 && (u2 = "normal"), void 0 !== s3 || void 0 !== u2 ? (void 0 === s3 && (s3 = U.hasOwnProperty(e4.fontFamily) ? U[e4.fontFamily] : e4.fontFamily), r2.setFont(s3, u2)) : r2.setFont("helvetica", u2), r2.setFontSize(e4.fontSize * r2.internal.scaleFactor);
2718
+ })(a = new g(t3.pdf, { refsHandler: t3.refsHandler, styleSheets: t3.styleSheets, viewport: t3.viewport, svg2pdfParameters: t3.svg2pdfParameters, textMeasure: t3.textMeasure, attributeState: Object.assign(m.default(), n) })), s2 = 0, o = this.children, l2.label = 1;
2719
+ case 1:
2720
+ return s2 < o.length ? [4, o[s2].render(a)] : [3, 4];
2721
+ case 2:
2722
+ l2.sent(), l2.label = 3;
2723
+ case 3:
2724
+ return s2++, [3, 1];
2725
+ case 4:
2726
+ return t3.pdf.endFormObject(a.refsHandler.generateKey(this.element.getAttribute("id"), n)), [2];
2727
+ }
2728
+ }));
2729
+ }));
2730
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2731
+ var e3, r = this.element.getAttribute("viewBox");
2732
+ return r && (e3 = j(r)), [e3 && e3[0] || 0, e3 && e3[1] || 0, e3 && e3[2] || parseFloat(this.element.getAttribute("markerWidth") || "3"), e3 && e3[3] || parseFloat(this.element.getAttribute("markerHeight") || "3")];
2733
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2734
+ var e3, r = parseFloat(this.element.getAttribute("refX") || "0"), i = parseFloat(this.element.getAttribute("refY") || "0"), n = this.element.getAttribute("viewBox");
2735
+ if (n) {
2736
+ var a = j(n);
2737
+ e3 = $(this.element, a, 0, 0, parseFloat(this.element.getAttribute("markerWidth") || "3"), parseFloat(this.element.getAttribute("markerHeight") || "3"), t3, true), e3 = t3.pdf.matrixMult(t3.pdf.Matrix(1, 0, 0, 1, -r, -i), e3);
2738
+ } else e3 = t3.pdf.Matrix(1, 0, 0, 1, -r, -i);
2739
+ return e3;
2740
+ }, e2.prototype.isVisible = function(t3, e3) {
2741
+ return L(this, t3, e3);
2742
+ }, e2;
2743
+ })(J);
2744
+ var It = (function(t2) {
2745
+ function e2(e3, r) {
2746
+ return t2.call(this, e3, r) || this;
2747
+ }
2748
+ return u(e2, t2), e2.prototype.getR = function(t3) {
2749
+ var e3;
2750
+ return null !== (e3 = this.r) && void 0 !== e3 ? e3 : this.r = parseFloat(N(this.element, t3.styleSheets, "r") || "0");
2751
+ }, e2.prototype.getRx = function(t3) {
2752
+ return this.getR(t3);
2753
+ }, e2.prototype.getRy = function(t3) {
2754
+ return this.getR(t3);
2755
+ }, e2;
2756
+ })(vt);
2757
+ var Rt = (function(t2) {
2758
+ function e2(e3, r) {
2759
+ return t2.call(this, false, e3, r) || this;
2760
+ }
2761
+ return u(e2, t2), e2;
2762
+ })(Nt);
2763
+ var Ht = (function(t2) {
2764
+ function e2() {
2765
+ return null !== t2 && t2.apply(this, arguments) || this;
2766
+ }
2767
+ return u(e2, t2), e2.prototype.renderCore = function(t3) {
2768
+ return f(this, void 0, void 0, (function() {
2769
+ var e3, r;
2770
+ return c(this, (function(i) {
2771
+ switch (i.label) {
2772
+ case 0:
2773
+ e3 = 0, r = this.children, i.label = 1;
2774
+ case 1:
2775
+ return e3 < r.length ? [4, r[e3].render(t3)] : [3, 4];
2776
+ case 2:
2777
+ i.sent(), i.label = 3;
2778
+ case 3:
2779
+ return e3++, [3, 1];
2780
+ case 4:
2781
+ return [2];
2782
+ }
2783
+ }));
2784
+ }));
2785
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2786
+ return q2(t3, this);
2787
+ }, e2;
2788
+ })(ht);
2789
+ var Dt = (function(t2) {
2790
+ function e2() {
2791
+ return null !== t2 && t2.apply(this, arguments) || this;
2792
+ }
2793
+ return u(e2, t2), e2.prototype.isVisible = function(t3, e3) {
2794
+ return L(this, t3, e3);
2795
+ }, e2.prototype.render = function(e3) {
2796
+ return f(this, void 0, void 0, (function() {
2797
+ var r, i, n, a, s2;
2798
+ return c(this, (function(o) {
2799
+ switch (o.label) {
2800
+ case 0:
2801
+ return this.isVisible("hidden" !== e3.attributeState.visibility, e3) ? (r = this.getX(e3), i = this.getY(e3), n = this.getWidth(e3), a = this.getHeight(e3), e3.pdf.saveGraphicsState(), s2 = e3.transform, this.element.hasAttribute("transform") && (s2 = e3.pdf.matrixMult(Q(this.element.getAttribute("transform"), e3), s2)), e3.pdf.setCurrentTransformationMatrix(s2), e3.withinUse || "visible" === N(this.element, e3.styleSheets, "overflow") || e3.pdf.rect(r, i, n, a).clip().discardPath(), [4, t2.prototype.render.call(this, e3.clone({ transform: e3.pdf.unitMatrix, viewport: e3.withinUse ? e3.viewport : new gt(n, a) }))]) : [2];
2802
+ case 1:
2803
+ return o.sent(), e3.pdf.restoreGraphicsState(), [2];
2804
+ }
2805
+ }));
2806
+ }));
2807
+ }, e2.prototype.computeNodeTransform = function(t3) {
2808
+ return this.computeNodeTransformCore(t3);
2809
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2810
+ if (t3.withinUse) return t3.pdf.unitMatrix;
2811
+ var e3, r = this.getX(t3), i = this.getY(t3), n = this.getViewBox();
2812
+ if (n) {
2813
+ var a = this.getWidth(t3), s2 = this.getHeight(t3);
2814
+ e3 = $(this.element, n, r, i, a, s2, t3);
2815
+ } else e3 = t3.pdf.Matrix(1, 0, 0, 1, r, i);
2816
+ return e3;
2817
+ }, e2.prototype.getWidth = function(t3) {
2818
+ if (void 0 !== this.width) return this.width;
2819
+ var e3, r, i = t3.svg2pdfParameters;
2820
+ if (this.isOutermostSvg(t3)) if (null != i.width) e3 = i.width;
2821
+ else if (r = N(this.element, t3.styleSheets, "width")) e3 = parseFloat(r);
2822
+ else {
2823
+ var n = this.getViewBox();
2824
+ if (n && (null != i.height || N(this.element, t3.styleSheets, "height"))) {
2825
+ var a = n[2] / n[3];
2826
+ e3 = this.getHeight(t3) * a;
2827
+ } else e3 = Math.min(300, t3.viewport.width, 2 * t3.viewport.height);
2828
+ }
2829
+ else e3 = (r = N(this.element, t3.styleSheets, "width")) ? parseFloat(r) : t3.viewport.width;
2830
+ return this.width = e3;
2831
+ }, e2.prototype.getHeight = function(t3) {
2832
+ if (void 0 !== this.height) return this.height;
2833
+ var e3, r, i = t3.svg2pdfParameters;
2834
+ if (this.isOutermostSvg(t3)) if (null != i.height) e3 = i.height;
2835
+ else if (r = N(this.element, t3.styleSheets, "height")) e3 = parseFloat(r);
2836
+ else {
2837
+ var n = this.getViewBox();
2838
+ if (n) {
2839
+ var a = n[2] / n[3];
2840
+ e3 = this.getWidth(t3) / a;
2841
+ } else e3 = Math.min(150, t3.viewport.width / 2, t3.viewport.height);
2842
+ }
2843
+ else e3 = (r = N(this.element, t3.styleSheets, "height")) ? parseFloat(r) : t3.viewport.height;
2844
+ return this.height = e3;
2845
+ }, e2.prototype.getX = function(t3) {
2846
+ if (void 0 !== this.x) return this.x;
2847
+ if (this.isOutermostSvg(t3)) return this.x = 0;
2848
+ var e3 = N(this.element, t3.styleSheets, "x");
2849
+ return this.x = e3 ? parseFloat(e3) : 0;
2850
+ }, e2.prototype.getY = function(t3) {
2851
+ if (void 0 !== this.y) return this.y;
2852
+ if (this.isOutermostSvg(t3)) return this.y = 0;
2853
+ var e3 = N(this.element, t3.styleSheets, "y");
2854
+ return this.y = e3 ? parseFloat(e3) : 0;
2855
+ }, e2.prototype.getViewBox = function() {
2856
+ if (void 0 !== this.viewBox) return this.viewBox;
2857
+ var t3 = this.element.getAttribute("viewBox");
2858
+ return this.viewBox = t3 ? j(t3) : void 0;
2859
+ }, e2.prototype.isOutermostSvg = function(t3) {
2860
+ return t3.svg2pdfParameters.element === this.element;
2861
+ }, e2;
2862
+ })(Ht);
2863
+ var Wt = (function(t2) {
2864
+ function e2() {
2865
+ return null !== t2 && t2.apply(this, arguments) || this;
2866
+ }
2867
+ return u(e2, t2), e2.prototype.isVisible = function(t3, e3) {
2868
+ return L(this, t3, e3);
2869
+ }, e2.prototype.computeNodeTransformCore = function(t3) {
2870
+ return t3.pdf.unitMatrix;
2871
+ }, e2;
2872
+ })(Ht);
2873
+ var Vt = (function(t2) {
2874
+ function e2() {
2875
+ return null !== t2 && t2.apply(this, arguments) || this;
2876
+ }
2877
+ return u(e2, t2), e2.prototype.renderCore = function(e3) {
2878
+ return f(this, void 0, void 0, (function() {
2879
+ var r, i, n, a;
2880
+ return c(this, (function(s2) {
2881
+ switch (s2.label) {
2882
+ case 0:
2883
+ return [4, t2.prototype.renderCore.call(this, e3)];
2884
+ case 1:
2885
+ return s2.sent(), (r = N(this.element, e3.styleSheets, "href")) && (i = this.getBoundingBox(e3), n = e3.pdf.internal.scaleFactor, a = e3.pdf.internal.pageSize.getHeight(), e3.pdf.link(n * (i[0] * e3.transform.sx + e3.transform.tx), a - n * (i[1] * e3.transform.sy + e3.transform.ty), n * i[2], n * i[3], { url: r })), [2];
2886
+ }
2887
+ }));
2888
+ }));
2889
+ }, e2;
2890
+ })(Wt);
2891
+ var jt = (function(t2) {
2892
+ function e2() {
2893
+ return null !== t2 && t2.apply(this, arguments) || this;
2894
+ }
2895
+ return u(e2, t2), e2.prototype.apply = function(t3) {
2896
+ return f(this, void 0, void 0, (function() {
2897
+ var e3, r, i, n, a;
2898
+ return c(this, (function(s2) {
2899
+ switch (s2.label) {
2900
+ case 0:
2901
+ if (!this.isVisible(true, t3)) return [2];
2902
+ e3 = t3.pdf.matrixMult(this.computeNodeTransform(t3), t3.transform), t3.pdf.setCurrentTransformationMatrix(e3), r = 0, i = this.children, s2.label = 1;
2903
+ case 1:
2904
+ return r < i.length ? [4, i[r].render(new g(t3.pdf, { refsHandler: t3.refsHandler, styleSheets: t3.styleSheets, viewport: t3.viewport, withinClipPath: true, svg2pdfParameters: t3.svg2pdfParameters, textMeasure: t3.textMeasure }))] : [3, 4];
2905
+ case 2:
2906
+ s2.sent(), s2.label = 3;
2907
+ case 3:
2908
+ return r++, [3, 1];
2909
+ case 4:
2910
+ return n = this.children.length > 0 && !!N(this.children[0].element, t3.styleSheets, "clip-rule"), a = n ? this.getClipRuleAttr(this.children[0].element, t3.styleSheets) : this.getClipRuleAttr(this.element, t3.styleSheets), t3.pdf.clip(a).discardPath(), t3.pdf.setCurrentTransformationMatrix(e3.inversed()), [2];
2911
+ }
2912
+ }));
2913
+ }));
2914
+ }, e2.prototype.getBoundingBoxCore = function(t3) {
2915
+ return q2(t3, this);
2916
+ }, e2.prototype.isVisible = function(t3, e3) {
2917
+ return L(this, t3, e3);
2918
+ }, e2.prototype.getClipRuleAttr = function(t3, e3) {
2919
+ return "evenodd" === N(t3, e3, "clip-rule") ? "evenodd" : void 0;
2920
+ }, e2;
2921
+ })(J);
2922
+ function Gt(e2, r) {
2923
+ var i, n = [];
2924
+ switch ((function(t2, e3) {
2925
+ for (var r2 = [], i2 = 0; i2 < t2.childNodes.length; i2++) {
2926
+ var n2 = t2.childNodes[i2];
2927
+ "#" !== n2.nodeName.charAt(0) && r2.push(n2);
2928
+ }
2929
+ for (i2 = 0; i2 < r2.length; i2++) e3(i2, r2[i2]);
2930
+ })(e2, (function(t2, e3) {
2931
+ return n.push(Gt(e3, r));
2932
+ })), e2.tagName.toLowerCase()) {
2933
+ case "a":
2934
+ i = new Vt(e2, n);
2935
+ break;
2936
+ case "g":
2937
+ i = new Wt(e2, n);
2938
+ break;
2939
+ case "circle":
2940
+ i = new It(e2, n);
2941
+ break;
2942
+ case "clippath":
2943
+ i = new jt(e2, n);
2944
+ break;
2945
+ case "ellipse":
2946
+ i = new xt(e2, n);
2947
+ break;
2948
+ case "lineargradient":
2949
+ i = new tt(e2, n);
2950
+ break;
2951
+ case "image":
2952
+ i = new Bt(e2, n);
2953
+ break;
2954
+ case "line":
2955
+ i = new dt(e2, n);
2956
+ break;
2957
+ case "marker":
2958
+ i = new Et(e2, n);
2959
+ break;
2960
+ case "path":
2961
+ i = new At(e2, n);
2962
+ break;
2963
+ case "pattern":
2964
+ i = new it(e2, n);
2965
+ break;
2966
+ case "polygon":
2967
+ i = new Ot(e2, n);
2968
+ break;
2969
+ case "polyline":
2970
+ i = new Rt(e2, n);
2971
+ break;
2972
+ case "radialgradient":
2973
+ i = new et(e2, n);
2974
+ break;
2975
+ case "rect":
2976
+ i = new yt(e2, n);
2977
+ break;
2978
+ case "svg":
2979
+ i = new Dt(e2, n);
2980
+ break;
2981
+ case "symbol":
2982
+ i = new mt(e2, n);
2983
+ break;
2984
+ case "text":
2985
+ i = new Ft(e2, n);
2986
+ break;
2987
+ case "use":
2988
+ i = new bt(e2, n);
2989
+ break;
2990
+ default:
2991
+ i = new Lt(e2, n);
2992
+ }
2993
+ if (null != r && i.element.hasAttribute("id")) {
2994
+ var a = (0, import_cssesc.default)(i.element.id, { isIdentifier: true });
2995
+ r[a] = r[a] || i;
2996
+ }
2997
+ return i.children.forEach((function(t2) {
2998
+ return t2.setParent(i);
2999
+ })), i;
3000
+ }
3001
+ var Ut = (function() {
3002
+ function t2(t3, e2) {
3003
+ this.rootSvg = t3, this.loadExternalSheets = e2, this.styleSheets = [];
3004
+ }
3005
+ return t2.prototype.load = function() {
3006
+ return f(this, void 0, void 0, (function() {
3007
+ var t3;
3008
+ return c(this, (function(e2) {
3009
+ switch (e2.label) {
3010
+ case 0:
3011
+ return [4, this.collectStyleSheetTexts()];
3012
+ case 1:
3013
+ return t3 = e2.sent(), this.parseCssSheets(t3), [2];
3014
+ }
3015
+ }));
3016
+ }));
3017
+ }, t2.prototype.collectStyleSheetTexts = function() {
3018
+ return f(this, void 0, void 0, (function() {
3019
+ var e2, r, i, n, a;
3020
+ return c(this, (function(s2) {
3021
+ switch (s2.label) {
3022
+ case 0:
3023
+ if (e2 = [], this.loadExternalSheets && this.rootSvg.ownerDocument) for (n = 0; n < this.rootSvg.ownerDocument.childNodes.length; n++) "xml-stylesheet" === (r = this.rootSvg.ownerDocument.childNodes[n]).nodeName && "string" == typeof r.data && e2.push(t2.loadSheet(r.data.match(/href=["'].*?["']/)[0].split("=")[1].slice(1, -1)));
3024
+ for (i = this.rootSvg.querySelectorAll("style,link"), n = 0; n < i.length; n++) B(a = i[n], "style") ? e2.push(a.textContent) : this.loadExternalSheets && B(a, "link") && "stylesheet" === a.getAttribute("rel") && a.hasAttribute("href") && e2.push(t2.loadSheet(a.getAttribute("href")));
3025
+ return [4, Promise.all(e2)];
3026
+ case 1:
3027
+ return [2, s2.sent().filter((function(t3) {
3028
+ return null !== t3;
3029
+ }))];
3030
+ }
3031
+ }));
3032
+ }));
3033
+ }, t2.prototype.parseCssSheets = function(e2) {
3034
+ for (var r = document.implementation.createHTMLDocument(""), i = 0, n = e2; i < n.length; i++) {
3035
+ var a = n[i], s2 = r.createElement("style");
3036
+ s2.textContent = a, r.body.appendChild(s2);
3037
+ var o = s2.sheet;
3038
+ if (o instanceof CSSStyleSheet) {
3039
+ for (var l2 = o.cssRules.length - 1; l2 >= 0; l2--) {
3040
+ var u2 = o.cssRules[l2];
3041
+ if (u2 instanceof CSSStyleRule) {
3042
+ var h2 = u2;
3043
+ if (h2.selectorText.indexOf(",") >= 0) {
3044
+ o.deleteRule(l2);
3045
+ for (var f2 = h2.cssText.substring(h2.selectorText.length), c2 = t2.splitSelectorAtCommas(h2.selectorText), p2 = 0; p2 < c2.length; p2++) o.insertRule(c2[p2] + f2, l2 + p2);
3046
+ }
3047
+ } else o.deleteRule(l2);
3048
+ }
3049
+ this.styleSheets.push(o);
3050
+ }
3051
+ }
3052
+ }, t2.splitSelectorAtCommas = function(t3) {
3053
+ for (var e2, r = /,|["']/g, i = /[^\\]["]/g, n = /[^\\][']/g, a = [], s2 = "initial", o = -1, l2 = i, u2 = 0; u2 < t3.length; ) switch (s2) {
3054
+ case "initial":
3055
+ r.lastIndex = u2, (e2 = r.exec(t3)) ? ("," === e2[0] ? (a.push(t3.substring(o + 1, r.lastIndex - 1).trim()), o = r.lastIndex - 1) : (s2 = "withinQuotes", l2 = '"' === e2[0] ? i : n), u2 = r.lastIndex) : (a.push(t3.substring(o + 1).trim()), u2 = t3.length);
3056
+ break;
3057
+ case "withinQuotes":
3058
+ l2.lastIndex = u2, (e2 = l2.exec(t3)) && (u2 = l2.lastIndex, s2 = "initial");
3059
+ }
3060
+ return a;
3061
+ }, t2.loadSheet = function(t3) {
3062
+ return new Promise((function(e2, r) {
3063
+ var i = new XMLHttpRequest();
3064
+ i.open("GET", t3, true), i.responseType = "text", i.onload = function() {
3065
+ 200 !== i.status && r(new Error("Error ".concat(i.status, ": Failed to load '").concat(t3, "'"))), e2(i.responseText);
3066
+ }, i.onerror = r, i.onabort = r, i.send(null);
3067
+ })).catch((function() {
3068
+ return null;
3069
+ }));
3070
+ }, t2.prototype.getPropertyValue = function(t3, e2) {
3071
+ for (var r = [], i = 0, n = this.styleSheets; i < n.length; i++) for (var a = n[i], s2 = 0; s2 < a.cssRules.length; s2++) {
3072
+ var l2 = a.cssRules[s2];
3073
+ l2.style.getPropertyValue(e2) && t3.matches(l2.selectorText) && r.push(l2);
3074
+ }
3075
+ if (0 !== r.length) {
3076
+ return r.reduce((function(t4, r2) {
3077
+ return 1 === (n2 = r2, (a2 = (i2 = t4).style.getPropertyPriority(e2)) !== n2.style.getPropertyPriority(e2) ? "important" === a2 ? 1 : -1 : compare(i2.selectorText, n2.selectorText)) ? t4 : r2;
3078
+ var i2, n2, a2;
3079
+ })).style.getPropertyValue(e2) || void 0;
3080
+ }
3081
+ }, t2;
3082
+ })();
3083
+ var zt = (function() {
3084
+ function t2() {
3085
+ this.measureMethods = {};
3086
+ }
3087
+ return t2.prototype.getTextOffset = function(t3, e2) {
3088
+ var r = e2.textAnchor;
3089
+ if ("start" === r) return 0;
3090
+ var i = this.measureTextWidth(t3, e2), n = 0;
3091
+ switch (r) {
3092
+ case "end":
3093
+ n = i;
3094
+ break;
3095
+ case "middle":
3096
+ n = i / 2;
3097
+ }
3098
+ return n;
3099
+ }, t2.prototype.measureTextWidth = function(t3, e2) {
3100
+ if (0 === t3.length) return 0;
3101
+ var r = e2.fontFamily;
3102
+ return this.getMeasureFunction(r).call(this, t3, e2.fontFamily, e2.fontSize + "px", e2.fontStyle, e2.fontWeight);
3103
+ }, t2.prototype.getMeasurementTextNode = function() {
3104
+ if (!this.textMeasuringTextElement) {
3105
+ this.textMeasuringTextElement = document.createElementNS(D, "text");
3106
+ var t3 = document.createElementNS(D, "svg");
3107
+ t3.appendChild(this.textMeasuringTextElement), t3.style.setProperty("position", "absolute"), t3.style.setProperty("visibility", "hidden"), document.body.appendChild(t3);
3108
+ }
3109
+ return this.textMeasuringTextElement;
3110
+ }, t2.prototype.canvasTextMeasure = function(t3, e2, r, i, n) {
3111
+ var a = document.createElement("canvas").getContext("2d");
3112
+ return null != a ? (a.font = [i, n, r, e2].join(" "), a.measureText(t3).width) : 0;
3113
+ }, t2.prototype.svgTextMeasure = function(t3, e2, r, i, n, a) {
3114
+ void 0 === a && (a = this.getMeasurementTextNode());
3115
+ var s2 = a;
3116
+ return s2.setAttribute("font-family", e2), s2.setAttribute("font-size", r), s2.setAttribute("font-style", i), s2.setAttribute("font-weight", n), s2.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), s2.textContent = t3, s2.getBBox().width;
3117
+ }, t2.prototype.getMeasureFunction = function(e2) {
3118
+ var r = this.measureMethods[e2];
3119
+ if (!r) {
3120
+ var i = "16px", n = "normal", a = "normal", s2 = this.canvasTextMeasure(t2.testString, e2, i, n, a), o = this.svgTextMeasure(t2.testString, e2, i, n, a);
3121
+ r = Math.abs(s2 - o) < t2.epsilon ? this.canvasTextMeasure : this.svgTextMeasure, this.measureMethods[e2] = r;
3122
+ }
3123
+ return r;
3124
+ }, t2.prototype.cleanupTextMeasuring = function() {
3125
+ if (this.textMeasuringTextElement) {
3126
+ var t3 = this.textMeasuringTextElement.parentNode;
3127
+ t3 && document.body.removeChild(t3), this.textMeasuringTextElement = void 0;
3128
+ }
3129
+ }, t2.testString = `abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ 0123456789!"$%&/()=?'\\+*-_.:,;^}][{#~|<>`, t2.epsilon = 0.1, t2;
3130
+ })();
3131
+ function Yt(t2, e2) {
3132
+ return f(this, arguments, void 0, (function(t3, e3, r) {
3133
+ var i, n, a, s2, o, l2, u2, f2, p2, d2, m2, y2, v2, x2;
3134
+ return void 0 === r && (r = {}), c(this, (function(c2) {
3135
+ switch (c2.label) {
3136
+ case 0:
3137
+ return i = null !== (y2 = r.x) && void 0 !== y2 ? y2 : 0, n = null !== (v2 = r.y) && void 0 !== v2 ? v2 : 0, a = null !== (x2 = r.loadExternalStyleSheets) && void 0 !== x2 && x2, o = new b(s2 = {}), [4, (l2 = new Ut(t3, a)).load()];
3138
+ case 1:
3139
+ return c2.sent(), u2 = new gt(e3.internal.pageSize.getWidth(), e3.internal.pageSize.getHeight()), f2 = h(h({}, r), { element: t3 }), p2 = new zt(), d2 = new g(e3, { refsHandler: o, styleSheets: l2, viewport: u2, svg2pdfParameters: f2, textMeasure: p2 }), e3.advancedAPI(), e3.saveGraphicsState(), e3.setCurrentTransformationMatrix(e3.Matrix(1, 0, 0, 1, i, n)), e3.setLineWidth(d2.attributeState.strokeWidth), m2 = d2.attributeState.fill.color, e3.setFillColor(m2.r, m2.g, m2.b), e3.setFont(d2.attributeState.fontFamily), e3.setFontSize(d2.attributeState.fontSize * e3.internal.scaleFactor), [4, Gt(t3, s2).render(d2)];
3140
+ case 2:
3141
+ return c2.sent(), e3.restoreGraphicsState(), e3.compatAPI(), d2.textMeasure.cleanupTextMeasuring(), [2, e3];
3142
+ }
3143
+ }));
3144
+ }));
3145
+ }
3146
+ E.API.svg = function(t2, e2) {
3147
+ return void 0 === e2 && (e2 = {}), Yt(t2, this, e2);
3148
+ };
3149
+ export {
3150
+ Yt as svg2pdf
3151
+ };
3152
+ /*! Bundled license information:
3153
+
3154
+ cssesc/cssesc.js:
3155
+ (*! https://mths.be/cssesc v3.0.0 by @mathias *)
3156
+ */
3157
+ //# sourceMappingURL=svg2pdf.es.min-CYTPRWNB.js.map