@petal-nexus/toolkit 0.2.6 → 0.3.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 (2128) hide show
  1. package/CHANGELOG.md +44 -3
  2. package/README.md +2 -2
  3. package/dist/charts/core/FinancialChart/FinancialChart.d.ts +7 -7
  4. package/dist/charts/core/FinancialChart/index.d.ts +2 -2
  5. package/dist/charts/core/FinancialChart/types.d.ts +45 -7
  6. package/dist/charts/core/TimeSeriesChart/TimeSeriesChart.d.ts +2 -2
  7. package/dist/charts/core/TimeSeriesChart/index.d.ts +1 -1
  8. package/dist/charts/core/index.d.ts +2 -2
  9. package/dist/components/DrawingToolbar.d.ts +32 -0
  10. package/dist/components/ObjectTreePanel.d.ts +28 -0
  11. package/dist/components/PropertiesPanel.d.ts +17 -0
  12. package/dist/components/index.d.ts +9 -0
  13. package/dist/index.d.ts +1 -1
  14. package/dist/mocks/drawingMockData.d.ts +41 -0
  15. package/dist/mocks/index.d.ts +4 -0
  16. package/dist/petal-toolkit.cjs10.js +1 -1
  17. package/dist/petal-toolkit.cjs100.js +1 -1
  18. package/dist/petal-toolkit.cjs101.js +1 -1
  19. package/dist/petal-toolkit.cjs102.js +1 -1
  20. package/dist/petal-toolkit.cjs1021.js +1 -1
  21. package/dist/petal-toolkit.cjs1022.js +1 -1
  22. package/dist/petal-toolkit.cjs1023.js +1 -1
  23. package/dist/petal-toolkit.cjs1024.js +1 -1
  24. package/dist/petal-toolkit.cjs1027.js +1 -1
  25. package/dist/petal-toolkit.cjs1029.js +1 -1
  26. package/dist/petal-toolkit.cjs103.js +1 -1
  27. package/dist/petal-toolkit.cjs104.js +1 -1
  28. package/dist/petal-toolkit.cjs1049.js +1 -1
  29. package/dist/petal-toolkit.cjs1049.js.map +1 -1
  30. package/dist/petal-toolkit.cjs105.js +1 -1
  31. package/dist/petal-toolkit.cjs1051.js +1 -1
  32. package/dist/petal-toolkit.cjs1051.js.map +1 -1
  33. package/dist/petal-toolkit.cjs1053.js +1 -1
  34. package/dist/petal-toolkit.cjs1055.js +1 -1
  35. package/dist/petal-toolkit.cjs106.js +1 -1
  36. package/dist/petal-toolkit.cjs1060.js +1 -1
  37. package/dist/petal-toolkit.cjs1060.js.map +1 -1
  38. package/dist/petal-toolkit.cjs1062.js +1 -1
  39. package/dist/petal-toolkit.cjs1062.js.map +1 -1
  40. package/dist/petal-toolkit.cjs1064.js +1 -1
  41. package/dist/petal-toolkit.cjs1066.js +1 -1
  42. package/dist/petal-toolkit.cjs1068.js +1 -1
  43. package/dist/petal-toolkit.cjs107.js +1 -1
  44. package/dist/petal-toolkit.cjs108.js +1 -1
  45. package/dist/petal-toolkit.cjs109.js +1 -1
  46. package/dist/petal-toolkit.cjs11.js +1 -1
  47. package/dist/petal-toolkit.cjs110.js +1 -1
  48. package/dist/petal-toolkit.cjs111.js +1 -1
  49. package/dist/petal-toolkit.cjs1112.js +1 -1
  50. package/dist/petal-toolkit.cjs1114.js +1 -1
  51. package/dist/petal-toolkit.cjs1116.js +1 -1
  52. package/dist/petal-toolkit.cjs112.js +1 -1
  53. package/dist/petal-toolkit.cjs1126.js +1 -1
  54. package/dist/petal-toolkit.cjs1126.js.map +1 -1
  55. package/dist/petal-toolkit.cjs1128.js +1 -1
  56. package/dist/petal-toolkit.cjs1128.js.map +1 -1
  57. package/dist/petal-toolkit.cjs113.js +1 -1
  58. package/dist/petal-toolkit.cjs1130.js +1 -1
  59. package/dist/petal-toolkit.cjs1130.js.map +1 -1
  60. package/dist/petal-toolkit.cjs1131.js +1 -1
  61. package/dist/petal-toolkit.cjs1131.js.map +1 -1
  62. package/dist/petal-toolkit.cjs1132.js +1 -1
  63. package/dist/petal-toolkit.cjs1132.js.map +1 -1
  64. package/dist/petal-toolkit.cjs1133.js +1 -1
  65. package/dist/petal-toolkit.cjs1133.js.map +1 -1
  66. package/dist/petal-toolkit.cjs1137.js +1 -1
  67. package/dist/petal-toolkit.cjs1137.js.map +1 -1
  68. package/dist/petal-toolkit.cjs1139.js +1 -1
  69. package/dist/petal-toolkit.cjs1139.js.map +1 -1
  70. package/dist/petal-toolkit.cjs114.js +1 -1
  71. package/dist/petal-toolkit.cjs115.js +1 -1
  72. package/dist/petal-toolkit.cjs1152.js +1 -5
  73. package/dist/petal-toolkit.cjs1152.js.map +1 -1
  74. package/dist/petal-toolkit.cjs1154.js +5 -1
  75. package/dist/petal-toolkit.cjs1154.js.map +1 -1
  76. package/dist/petal-toolkit.cjs1156.js +1 -1
  77. package/dist/petal-toolkit.cjs1159.js +1 -1
  78. package/dist/petal-toolkit.cjs116.js +1 -1
  79. package/dist/petal-toolkit.cjs1161.js +1 -1
  80. package/dist/petal-toolkit.cjs1161.js.map +1 -1
  81. package/dist/petal-toolkit.cjs1163.js +1 -1
  82. package/dist/petal-toolkit.cjs1163.js.map +1 -1
  83. package/dist/petal-toolkit.cjs1169.js +1 -1
  84. package/dist/petal-toolkit.cjs1169.js.map +1 -1
  85. package/dist/petal-toolkit.cjs117.js +1 -1
  86. package/dist/petal-toolkit.cjs1171.js +1 -1
  87. package/dist/petal-toolkit.cjs1171.js.map +1 -1
  88. package/dist/petal-toolkit.cjs1175.js +1 -1
  89. package/dist/petal-toolkit.cjs1175.js.map +1 -1
  90. package/dist/petal-toolkit.cjs1177.js +1 -1
  91. package/dist/petal-toolkit.cjs1177.js.map +1 -1
  92. package/dist/petal-toolkit.cjs118.js +1 -1
  93. package/dist/petal-toolkit.cjs1182.js +1 -1
  94. package/dist/petal-toolkit.cjs1184.js +1 -1
  95. package/dist/petal-toolkit.cjs119.js +1 -1
  96. package/dist/petal-toolkit.cjs12.js +1 -1
  97. package/dist/petal-toolkit.cjs120.js +1 -1
  98. package/dist/petal-toolkit.cjs121.js +1 -1
  99. package/dist/petal-toolkit.cjs1218.js +1 -1
  100. package/dist/petal-toolkit.cjs1218.js.map +1 -1
  101. package/dist/petal-toolkit.cjs122.js +1 -1
  102. package/dist/petal-toolkit.cjs1220.js +1 -1
  103. package/dist/petal-toolkit.cjs1220.js.map +1 -1
  104. package/dist/petal-toolkit.cjs123.js +1 -1
  105. package/dist/petal-toolkit.cjs124.js +1 -1
  106. package/dist/petal-toolkit.cjs1244.js +1 -1
  107. package/dist/petal-toolkit.cjs1246.js +1 -1
  108. package/dist/petal-toolkit.cjs1247.js +1 -1
  109. package/dist/petal-toolkit.cjs1249.js +1 -1
  110. package/dist/petal-toolkit.cjs125.js +1 -1
  111. package/dist/petal-toolkit.cjs126.js +1 -1
  112. package/dist/petal-toolkit.cjs127.js +1 -1
  113. package/dist/petal-toolkit.cjs128.js +1 -1
  114. package/dist/petal-toolkit.cjs129.js +1 -1
  115. package/dist/petal-toolkit.cjs13.js +1 -1
  116. package/dist/petal-toolkit.cjs130.js +1 -1
  117. package/dist/petal-toolkit.cjs131.js +1 -1
  118. package/dist/petal-toolkit.cjs1312.js +1 -1
  119. package/dist/petal-toolkit.cjs1314.js +1 -1
  120. package/dist/petal-toolkit.cjs1317.js +1 -1
  121. package/dist/petal-toolkit.cjs1319.js +1 -1
  122. package/dist/petal-toolkit.cjs132.js +1 -1
  123. package/dist/petal-toolkit.cjs1323.js +1 -1
  124. package/dist/petal-toolkit.cjs1323.js.map +1 -1
  125. package/dist/petal-toolkit.cjs1324.js +1 -1
  126. package/dist/petal-toolkit.cjs1324.js.map +1 -1
  127. package/dist/petal-toolkit.cjs1325.js +1 -1
  128. package/dist/petal-toolkit.cjs1325.js.map +1 -1
  129. package/dist/petal-toolkit.cjs1326.js +1 -2
  130. package/dist/petal-toolkit.cjs1326.js.map +1 -1
  131. package/dist/petal-toolkit.cjs1327.js +1 -1
  132. package/dist/petal-toolkit.cjs1327.js.map +1 -1
  133. package/dist/petal-toolkit.cjs1328.js +1 -1
  134. package/dist/petal-toolkit.cjs1328.js.map +1 -1
  135. package/dist/petal-toolkit.cjs1329.js +1 -1
  136. package/dist/petal-toolkit.cjs1329.js.map +1 -1
  137. package/dist/petal-toolkit.cjs133.js +1 -1
  138. package/dist/petal-toolkit.cjs1330.js +1 -1
  139. package/dist/petal-toolkit.cjs1330.js.map +1 -1
  140. package/dist/petal-toolkit.cjs1331.js +1 -1
  141. package/dist/petal-toolkit.cjs1331.js.map +1 -1
  142. package/dist/petal-toolkit.cjs1332.js +2 -1
  143. package/dist/petal-toolkit.cjs1332.js.map +1 -1
  144. package/dist/petal-toolkit.cjs1334.js +1 -1
  145. package/dist/petal-toolkit.cjs1336.js +1 -1
  146. package/dist/petal-toolkit.cjs1338.js +1 -1
  147. package/dist/petal-toolkit.cjs1339.js +1 -1
  148. package/dist/petal-toolkit.cjs134.js +1 -1
  149. package/dist/petal-toolkit.cjs1341.js +1 -1
  150. package/dist/petal-toolkit.cjs1344.js +1 -1
  151. package/dist/petal-toolkit.cjs1345.js +1 -1
  152. package/dist/petal-toolkit.cjs135.js +1 -1
  153. package/dist/petal-toolkit.cjs1352.js +1 -1
  154. package/dist/petal-toolkit.cjs1353.js +1 -1
  155. package/dist/petal-toolkit.cjs1354.js +1 -1
  156. package/dist/petal-toolkit.cjs1355.js +1 -1
  157. package/dist/petal-toolkit.cjs1356.js +1 -1
  158. package/dist/petal-toolkit.cjs1357.js +1 -1
  159. package/dist/petal-toolkit.cjs1357.js.map +1 -1
  160. package/dist/petal-toolkit.cjs136.js +1 -1
  161. package/dist/petal-toolkit.cjs1361.js +1 -1
  162. package/dist/petal-toolkit.cjs1362.js +1 -1
  163. package/dist/petal-toolkit.cjs1363.js +1 -1
  164. package/dist/petal-toolkit.cjs1367.js +1 -1
  165. package/dist/petal-toolkit.cjs1368.js +2 -0
  166. package/dist/petal-toolkit.cjs1368.js.map +1 -0
  167. package/dist/petal-toolkit.cjs1369.js +2 -0
  168. package/dist/petal-toolkit.cjs1369.js.map +1 -0
  169. package/dist/petal-toolkit.cjs137.js +1 -1
  170. package/dist/petal-toolkit.cjs1370.js +2 -0
  171. package/dist/petal-toolkit.cjs1370.js.map +1 -0
  172. package/dist/petal-toolkit.cjs1371.js +2 -0
  173. package/dist/petal-toolkit.cjs1371.js.map +1 -0
  174. package/dist/petal-toolkit.cjs1372.js +2 -0
  175. package/dist/petal-toolkit.cjs1372.js.map +1 -0
  176. package/dist/petal-toolkit.cjs138.js +1 -1
  177. package/dist/petal-toolkit.cjs139.js +1 -1
  178. package/dist/petal-toolkit.cjs14.js +1 -1
  179. package/dist/petal-toolkit.cjs140.js +1 -1
  180. package/dist/petal-toolkit.cjs141.js +1 -1
  181. package/dist/petal-toolkit.cjs142.js +1 -1
  182. package/dist/petal-toolkit.cjs143.js +1 -1
  183. package/dist/petal-toolkit.cjs144.js +1 -1
  184. package/dist/petal-toolkit.cjs145.js +1 -1
  185. package/dist/petal-toolkit.cjs146.js +1 -1
  186. package/dist/petal-toolkit.cjs147.js +1 -1
  187. package/dist/petal-toolkit.cjs148.js +1 -1
  188. package/dist/petal-toolkit.cjs149.js +1 -1
  189. package/dist/petal-toolkit.cjs15.js +1 -1
  190. package/dist/petal-toolkit.cjs150.js +1 -1
  191. package/dist/petal-toolkit.cjs151.js +1 -1
  192. package/dist/petal-toolkit.cjs152.js +1 -1
  193. package/dist/petal-toolkit.cjs153.js +1 -1
  194. package/dist/petal-toolkit.cjs154.js +1 -1
  195. package/dist/petal-toolkit.cjs155.js +1 -1
  196. package/dist/petal-toolkit.cjs156.js +1 -1
  197. package/dist/petal-toolkit.cjs157.js +1 -1
  198. package/dist/petal-toolkit.cjs158.js +1 -1
  199. package/dist/petal-toolkit.cjs159.js +1 -1
  200. package/dist/petal-toolkit.cjs160.js +1 -1
  201. package/dist/petal-toolkit.cjs161.js +1 -1
  202. package/dist/petal-toolkit.cjs162.js +1 -1
  203. package/dist/petal-toolkit.cjs163.js +1 -1
  204. package/dist/petal-toolkit.cjs164.js +1 -1
  205. package/dist/petal-toolkit.cjs165.js +1 -1
  206. package/dist/petal-toolkit.cjs166.js +1 -1
  207. package/dist/petal-toolkit.cjs167.js +1 -1
  208. package/dist/petal-toolkit.cjs168.js +1 -1
  209. package/dist/petal-toolkit.cjs169.js +1 -1
  210. package/dist/petal-toolkit.cjs170.js +1 -1
  211. package/dist/petal-toolkit.cjs171.js +1 -1
  212. package/dist/petal-toolkit.cjs172.js +1 -1
  213. package/dist/petal-toolkit.cjs173.js +1 -1
  214. package/dist/petal-toolkit.cjs174.js +1 -1
  215. package/dist/petal-toolkit.cjs175.js +1 -1
  216. package/dist/petal-toolkit.cjs176.js +1 -1
  217. package/dist/petal-toolkit.cjs177.js +1 -1
  218. package/dist/petal-toolkit.cjs178.js +1 -1
  219. package/dist/petal-toolkit.cjs179.js +1 -1
  220. package/dist/petal-toolkit.cjs18.js +1 -1
  221. package/dist/petal-toolkit.cjs180.js +1 -1
  222. package/dist/petal-toolkit.cjs181.js +1 -1
  223. package/dist/petal-toolkit.cjs182.js +1 -1
  224. package/dist/petal-toolkit.cjs183.js +1 -1
  225. package/dist/petal-toolkit.cjs184.js +1 -1
  226. package/dist/petal-toolkit.cjs185.js +1 -1
  227. package/dist/petal-toolkit.cjs186.js +1 -1
  228. package/dist/petal-toolkit.cjs187.js +1 -1
  229. package/dist/petal-toolkit.cjs188.js +1 -1
  230. package/dist/petal-toolkit.cjs189.js +1 -1
  231. package/dist/petal-toolkit.cjs19.js +1 -1
  232. package/dist/petal-toolkit.cjs190.js +1 -1
  233. package/dist/petal-toolkit.cjs191.js +1 -1
  234. package/dist/petal-toolkit.cjs192.js +1 -1
  235. package/dist/petal-toolkit.cjs193.js +1 -1
  236. package/dist/petal-toolkit.cjs194.js +1 -1
  237. package/dist/petal-toolkit.cjs195.js +1 -1
  238. package/dist/petal-toolkit.cjs196.js +1 -1
  239. package/dist/petal-toolkit.cjs197.js +1 -1
  240. package/dist/petal-toolkit.cjs198.js +1 -1
  241. package/dist/petal-toolkit.cjs199.js +1 -1
  242. package/dist/petal-toolkit.cjs20.js +1 -1
  243. package/dist/petal-toolkit.cjs200.js +1 -1
  244. package/dist/petal-toolkit.cjs201.js +1 -1
  245. package/dist/petal-toolkit.cjs202.js +1 -1
  246. package/dist/petal-toolkit.cjs203.js +1 -1
  247. package/dist/petal-toolkit.cjs204.js +1 -1
  248. package/dist/petal-toolkit.cjs205.js +1 -1
  249. package/dist/petal-toolkit.cjs206.js +1 -1
  250. package/dist/petal-toolkit.cjs207.js +1 -1
  251. package/dist/petal-toolkit.cjs208.js +1 -1
  252. package/dist/petal-toolkit.cjs209.js +1 -1
  253. package/dist/petal-toolkit.cjs210.js +1 -1
  254. package/dist/petal-toolkit.cjs211.js +1 -1
  255. package/dist/petal-toolkit.cjs212.js +1 -1
  256. package/dist/petal-toolkit.cjs213.js +1 -1
  257. package/dist/petal-toolkit.cjs214.js +1 -1
  258. package/dist/petal-toolkit.cjs215.js +1 -1
  259. package/dist/petal-toolkit.cjs216.js +1 -1
  260. package/dist/petal-toolkit.cjs217.js +1 -1
  261. package/dist/petal-toolkit.cjs218.js +1 -1
  262. package/dist/petal-toolkit.cjs219.js +1 -1
  263. package/dist/petal-toolkit.cjs22.js +1 -1
  264. package/dist/petal-toolkit.cjs220.js +1 -1
  265. package/dist/petal-toolkit.cjs221.js +1 -1
  266. package/dist/petal-toolkit.cjs222.js +1 -1
  267. package/dist/petal-toolkit.cjs223.js +1 -1
  268. package/dist/petal-toolkit.cjs224.js +1 -1
  269. package/dist/petal-toolkit.cjs225.js +1 -1
  270. package/dist/petal-toolkit.cjs226.js +1 -1
  271. package/dist/petal-toolkit.cjs227.js +1 -1
  272. package/dist/petal-toolkit.cjs228.js +1 -1
  273. package/dist/petal-toolkit.cjs229.js +1 -1
  274. package/dist/petal-toolkit.cjs23.js +1 -1
  275. package/dist/petal-toolkit.cjs230.js +1 -1
  276. package/dist/petal-toolkit.cjs231.js +1 -1
  277. package/dist/petal-toolkit.cjs232.js +1 -1
  278. package/dist/petal-toolkit.cjs233.js +1 -1
  279. package/dist/petal-toolkit.cjs234.js +1 -1
  280. package/dist/petal-toolkit.cjs235.js +1 -1
  281. package/dist/petal-toolkit.cjs236.js +1 -1
  282. package/dist/petal-toolkit.cjs237.js +1 -1
  283. package/dist/petal-toolkit.cjs238.js +1 -1
  284. package/dist/petal-toolkit.cjs239.js +1 -1
  285. package/dist/petal-toolkit.cjs24.js +1 -1
  286. package/dist/petal-toolkit.cjs240.js +1 -1
  287. package/dist/petal-toolkit.cjs241.js +1 -1
  288. package/dist/petal-toolkit.cjs242.js +1 -1
  289. package/dist/petal-toolkit.cjs243.js +1 -1
  290. package/dist/petal-toolkit.cjs244.js +1 -1
  291. package/dist/petal-toolkit.cjs245.js +1 -1
  292. package/dist/petal-toolkit.cjs246.js +1 -1
  293. package/dist/petal-toolkit.cjs247.js +1 -1
  294. package/dist/petal-toolkit.cjs248.js +1 -1
  295. package/dist/petal-toolkit.cjs249.js +1 -1
  296. package/dist/petal-toolkit.cjs25.js +1 -1
  297. package/dist/petal-toolkit.cjs250.js +1 -1
  298. package/dist/petal-toolkit.cjs251.js +1 -1
  299. package/dist/petal-toolkit.cjs252.js +1 -1
  300. package/dist/petal-toolkit.cjs253.js +1 -1
  301. package/dist/petal-toolkit.cjs254.js +1 -1
  302. package/dist/petal-toolkit.cjs255.js +1 -1
  303. package/dist/petal-toolkit.cjs256.js +1 -1
  304. package/dist/petal-toolkit.cjs257.js +1 -1
  305. package/dist/petal-toolkit.cjs258.js +1 -1
  306. package/dist/petal-toolkit.cjs259.js +1 -1
  307. package/dist/petal-toolkit.cjs26.js +1 -1
  308. package/dist/petal-toolkit.cjs260.js +1 -1
  309. package/dist/petal-toolkit.cjs261.js +1 -1
  310. package/dist/petal-toolkit.cjs262.js +1 -1
  311. package/dist/petal-toolkit.cjs263.js +1 -1
  312. package/dist/petal-toolkit.cjs264.js +1 -1
  313. package/dist/petal-toolkit.cjs265.js +1 -1
  314. package/dist/petal-toolkit.cjs266.js +1 -1
  315. package/dist/petal-toolkit.cjs267.js +1 -1
  316. package/dist/petal-toolkit.cjs268.js +1 -1
  317. package/dist/petal-toolkit.cjs269.js +1 -1
  318. package/dist/petal-toolkit.cjs27.js +1 -1
  319. package/dist/petal-toolkit.cjs270.js +1 -1
  320. package/dist/petal-toolkit.cjs271.js +1 -1
  321. package/dist/petal-toolkit.cjs272.js +1 -1
  322. package/dist/petal-toolkit.cjs273.js +1 -1
  323. package/dist/petal-toolkit.cjs274.js +1 -1
  324. package/dist/petal-toolkit.cjs275.js +1 -1
  325. package/dist/petal-toolkit.cjs276.js +1 -1
  326. package/dist/petal-toolkit.cjs277.js +1 -1
  327. package/dist/petal-toolkit.cjs278.js +1 -1
  328. package/dist/petal-toolkit.cjs279.js +1 -1
  329. package/dist/petal-toolkit.cjs280.js +1 -1
  330. package/dist/petal-toolkit.cjs281.js +1 -1
  331. package/dist/petal-toolkit.cjs282.js +1 -1
  332. package/dist/petal-toolkit.cjs283.js +1 -1
  333. package/dist/petal-toolkit.cjs284.js +1 -1
  334. package/dist/petal-toolkit.cjs285.js +1 -1
  335. package/dist/petal-toolkit.cjs286.js +1 -1
  336. package/dist/petal-toolkit.cjs287.js +1 -1
  337. package/dist/petal-toolkit.cjs288.js +1 -1
  338. package/dist/petal-toolkit.cjs289.js +1 -1
  339. package/dist/petal-toolkit.cjs290.js +1 -1
  340. package/dist/petal-toolkit.cjs291.js +1 -1
  341. package/dist/petal-toolkit.cjs292.js +1 -1
  342. package/dist/petal-toolkit.cjs293.js +1 -1
  343. package/dist/petal-toolkit.cjs294.js +1 -1
  344. package/dist/petal-toolkit.cjs295.js +1 -1
  345. package/dist/petal-toolkit.cjs296.js +1 -1
  346. package/dist/petal-toolkit.cjs297.js +1 -1
  347. package/dist/petal-toolkit.cjs298.js +1 -1
  348. package/dist/petal-toolkit.cjs299.js +1 -1
  349. package/dist/petal-toolkit.cjs30.js +1 -1
  350. package/dist/petal-toolkit.cjs30.js.map +1 -1
  351. package/dist/petal-toolkit.cjs300.js +1 -1
  352. package/dist/petal-toolkit.cjs301.js +1 -1
  353. package/dist/petal-toolkit.cjs302.js +1 -1
  354. package/dist/petal-toolkit.cjs303.js +1 -1
  355. package/dist/petal-toolkit.cjs304.js +1 -1
  356. package/dist/petal-toolkit.cjs305.js +1 -1
  357. package/dist/petal-toolkit.cjs306.js +1 -1
  358. package/dist/petal-toolkit.cjs307.js +1 -1
  359. package/dist/petal-toolkit.cjs308.js +1 -1
  360. package/dist/petal-toolkit.cjs309.js +1 -1
  361. package/dist/petal-toolkit.cjs31.js +1 -1
  362. package/dist/petal-toolkit.cjs310.js +1 -1
  363. package/dist/petal-toolkit.cjs311.js +1 -1
  364. package/dist/petal-toolkit.cjs312.js +1 -1
  365. package/dist/petal-toolkit.cjs313.js +1 -1
  366. package/dist/petal-toolkit.cjs314.js +1 -1
  367. package/dist/petal-toolkit.cjs315.js +1 -1
  368. package/dist/petal-toolkit.cjs316.js +1 -1
  369. package/dist/petal-toolkit.cjs317.js +1 -1
  370. package/dist/petal-toolkit.cjs318.js +1 -1
  371. package/dist/petal-toolkit.cjs319.js +1 -1
  372. package/dist/petal-toolkit.cjs32.js +1 -1
  373. package/dist/petal-toolkit.cjs320.js +1 -1
  374. package/dist/petal-toolkit.cjs321.js +1 -1
  375. package/dist/petal-toolkit.cjs322.js +1 -1
  376. package/dist/petal-toolkit.cjs323.js +1 -1
  377. package/dist/petal-toolkit.cjs324.js +1 -1
  378. package/dist/petal-toolkit.cjs325.js +1 -1
  379. package/dist/petal-toolkit.cjs326.js +1 -1
  380. package/dist/petal-toolkit.cjs327.js +1 -1
  381. package/dist/petal-toolkit.cjs328.js +1 -1
  382. package/dist/petal-toolkit.cjs329.js +1 -1
  383. package/dist/petal-toolkit.cjs330.js +1 -1
  384. package/dist/petal-toolkit.cjs331.js +1 -1
  385. package/dist/petal-toolkit.cjs332.js +1 -1
  386. package/dist/petal-toolkit.cjs333.js +1 -1
  387. package/dist/petal-toolkit.cjs334.js +1 -1
  388. package/dist/petal-toolkit.cjs335.js +1 -1
  389. package/dist/petal-toolkit.cjs336.js +1 -1
  390. package/dist/petal-toolkit.cjs337.js +1 -1
  391. package/dist/petal-toolkit.cjs338.js +1 -1
  392. package/dist/petal-toolkit.cjs339.js +1 -1
  393. package/dist/petal-toolkit.cjs34.js +1 -1
  394. package/dist/petal-toolkit.cjs340.js +1 -1
  395. package/dist/petal-toolkit.cjs341.js +1 -1
  396. package/dist/petal-toolkit.cjs342.js +1 -1
  397. package/dist/petal-toolkit.cjs343.js +1 -1
  398. package/dist/petal-toolkit.cjs344.js +1 -1
  399. package/dist/petal-toolkit.cjs345.js +1 -1
  400. package/dist/petal-toolkit.cjs346.js +1 -1
  401. package/dist/petal-toolkit.cjs347.js +1 -1
  402. package/dist/petal-toolkit.cjs348.js +1 -1
  403. package/dist/petal-toolkit.cjs349.js +1 -1
  404. package/dist/petal-toolkit.cjs35.js +1 -1
  405. package/dist/petal-toolkit.cjs350.js +1 -1
  406. package/dist/petal-toolkit.cjs351.js +1 -1
  407. package/dist/petal-toolkit.cjs352.js +1 -1
  408. package/dist/petal-toolkit.cjs353.js +1 -1
  409. package/dist/petal-toolkit.cjs354.js +1 -1
  410. package/dist/petal-toolkit.cjs355.js +1 -1
  411. package/dist/petal-toolkit.cjs356.js +1 -1
  412. package/dist/petal-toolkit.cjs357.js +1 -1
  413. package/dist/petal-toolkit.cjs358.js +1 -1
  414. package/dist/petal-toolkit.cjs359.js +1 -1
  415. package/dist/petal-toolkit.cjs36.js +1 -1
  416. package/dist/petal-toolkit.cjs360.js +1 -1
  417. package/dist/petal-toolkit.cjs361.js +1 -1
  418. package/dist/petal-toolkit.cjs362.js +1 -1
  419. package/dist/petal-toolkit.cjs362.js.map +1 -1
  420. package/dist/petal-toolkit.cjs363.js +1 -1
  421. package/dist/petal-toolkit.cjs363.js.map +1 -1
  422. package/dist/petal-toolkit.cjs364.js +1 -1
  423. package/dist/petal-toolkit.cjs365.js +1 -1
  424. package/dist/petal-toolkit.cjs366.js +1 -1
  425. package/dist/petal-toolkit.cjs367.js +1 -1
  426. package/dist/petal-toolkit.cjs368.js +1 -1
  427. package/dist/petal-toolkit.cjs369.js +1 -1
  428. package/dist/petal-toolkit.cjs37.js +1 -1
  429. package/dist/petal-toolkit.cjs370.js +1 -1
  430. package/dist/petal-toolkit.cjs371.js +1 -1
  431. package/dist/petal-toolkit.cjs372.js +1 -1
  432. package/dist/petal-toolkit.cjs373.js +1 -1
  433. package/dist/petal-toolkit.cjs374.js +1 -1
  434. package/dist/petal-toolkit.cjs375.js +1 -1
  435. package/dist/petal-toolkit.cjs376.js +1 -1
  436. package/dist/petal-toolkit.cjs377.js +1 -1
  437. package/dist/petal-toolkit.cjs378.js +1 -1
  438. package/dist/petal-toolkit.cjs379.js +1 -1
  439. package/dist/petal-toolkit.cjs38.js +1 -1
  440. package/dist/petal-toolkit.cjs380.js +1 -1
  441. package/dist/petal-toolkit.cjs381.js +1 -1
  442. package/dist/petal-toolkit.cjs382.js +1 -1
  443. package/dist/petal-toolkit.cjs383.js +1 -1
  444. package/dist/petal-toolkit.cjs384.js +1 -1
  445. package/dist/petal-toolkit.cjs385.js +1 -1
  446. package/dist/petal-toolkit.cjs386.js +1 -1
  447. package/dist/petal-toolkit.cjs387.js +1 -1
  448. package/dist/petal-toolkit.cjs388.js +1 -1
  449. package/dist/petal-toolkit.cjs389.js +1 -1
  450. package/dist/petal-toolkit.cjs390.js +1 -1
  451. package/dist/petal-toolkit.cjs391.js +1 -1
  452. package/dist/petal-toolkit.cjs392.js +1 -1
  453. package/dist/petal-toolkit.cjs393.js +1 -1
  454. package/dist/petal-toolkit.cjs394.js +1 -1
  455. package/dist/petal-toolkit.cjs395.js +1 -1
  456. package/dist/petal-toolkit.cjs396.js +1 -1
  457. package/dist/petal-toolkit.cjs397.js +1 -1
  458. package/dist/petal-toolkit.cjs398.js +1 -1
  459. package/dist/petal-toolkit.cjs399.js +1 -1
  460. package/dist/petal-toolkit.cjs4.js +1 -1
  461. package/dist/petal-toolkit.cjs40.js +1 -1
  462. package/dist/petal-toolkit.cjs400.js +1 -1
  463. package/dist/petal-toolkit.cjs401.js +1 -1
  464. package/dist/petal-toolkit.cjs402.js +1 -1
  465. package/dist/petal-toolkit.cjs403.js +1 -1
  466. package/dist/petal-toolkit.cjs404.js +1 -1
  467. package/dist/petal-toolkit.cjs405.js +1 -1
  468. package/dist/petal-toolkit.cjs406.js +1 -1
  469. package/dist/petal-toolkit.cjs407.js +1 -1
  470. package/dist/petal-toolkit.cjs408.js +1 -1
  471. package/dist/petal-toolkit.cjs409.js +1 -1
  472. package/dist/petal-toolkit.cjs41.js +1 -1
  473. package/dist/petal-toolkit.cjs410.js +1 -1
  474. package/dist/petal-toolkit.cjs411.js +1 -1
  475. package/dist/petal-toolkit.cjs412.js +1 -1
  476. package/dist/petal-toolkit.cjs413.js +1 -1
  477. package/dist/petal-toolkit.cjs414.js +1 -1
  478. package/dist/petal-toolkit.cjs415.js +1 -1
  479. package/dist/petal-toolkit.cjs416.js +1 -1
  480. package/dist/petal-toolkit.cjs417.js +1 -1
  481. package/dist/petal-toolkit.cjs418.js +1 -1
  482. package/dist/petal-toolkit.cjs419.js +1 -1
  483. package/dist/petal-toolkit.cjs42.js +1 -1
  484. package/dist/petal-toolkit.cjs420.js +1 -1
  485. package/dist/petal-toolkit.cjs421.js +1 -1
  486. package/dist/petal-toolkit.cjs422.js +1 -1
  487. package/dist/petal-toolkit.cjs423.js +1 -1
  488. package/dist/petal-toolkit.cjs424.js +1 -1
  489. package/dist/petal-toolkit.cjs425.js +1 -1
  490. package/dist/petal-toolkit.cjs426.js +1 -1
  491. package/dist/petal-toolkit.cjs427.js +1 -1
  492. package/dist/petal-toolkit.cjs428.js +1 -1
  493. package/dist/petal-toolkit.cjs429.js +1 -1
  494. package/dist/petal-toolkit.cjs43.js +1 -1
  495. package/dist/petal-toolkit.cjs430.js +1 -1
  496. package/dist/petal-toolkit.cjs431.js +1 -1
  497. package/dist/petal-toolkit.cjs432.js +1 -1
  498. package/dist/petal-toolkit.cjs433.js +1 -1
  499. package/dist/petal-toolkit.cjs434.js +1 -1
  500. package/dist/petal-toolkit.cjs435.js +1 -1
  501. package/dist/petal-toolkit.cjs436.js +1 -1
  502. package/dist/petal-toolkit.cjs437.js +1 -1
  503. package/dist/petal-toolkit.cjs438.js +1 -1
  504. package/dist/petal-toolkit.cjs439.js +1 -1
  505. package/dist/petal-toolkit.cjs44.js +1 -1
  506. package/dist/petal-toolkit.cjs440.js +1 -1
  507. package/dist/petal-toolkit.cjs441.js +1 -1
  508. package/dist/petal-toolkit.cjs442.js +1 -1
  509. package/dist/petal-toolkit.cjs443.js +1 -1
  510. package/dist/petal-toolkit.cjs444.js +1 -1
  511. package/dist/petal-toolkit.cjs445.js +1 -1
  512. package/dist/petal-toolkit.cjs446.js +1 -1
  513. package/dist/petal-toolkit.cjs447.js +1 -1
  514. package/dist/petal-toolkit.cjs448.js +1 -1
  515. package/dist/petal-toolkit.cjs449.js +1 -1
  516. package/dist/petal-toolkit.cjs45.js +1 -1
  517. package/dist/petal-toolkit.cjs450.js +1 -1
  518. package/dist/petal-toolkit.cjs451.js +1 -1
  519. package/dist/petal-toolkit.cjs452.js +1 -1
  520. package/dist/petal-toolkit.cjs453.js +1 -1
  521. package/dist/petal-toolkit.cjs454.js +1 -1
  522. package/dist/petal-toolkit.cjs455.js +1 -1
  523. package/dist/petal-toolkit.cjs456.js +1 -1
  524. package/dist/petal-toolkit.cjs457.js +1 -1
  525. package/dist/petal-toolkit.cjs458.js +1 -1
  526. package/dist/petal-toolkit.cjs459.js +1 -1
  527. package/dist/petal-toolkit.cjs46.js +1 -1
  528. package/dist/petal-toolkit.cjs460.js +1 -1
  529. package/dist/petal-toolkit.cjs461.js +1 -1
  530. package/dist/petal-toolkit.cjs462.js +1 -1
  531. package/dist/petal-toolkit.cjs463.js +1 -1
  532. package/dist/petal-toolkit.cjs464.js +1 -1
  533. package/dist/petal-toolkit.cjs465.js +1 -1
  534. package/dist/petal-toolkit.cjs466.js +1 -1
  535. package/dist/petal-toolkit.cjs467.js +1 -1
  536. package/dist/petal-toolkit.cjs468.js +1 -1
  537. package/dist/petal-toolkit.cjs469.js +1 -1
  538. package/dist/petal-toolkit.cjs47.js +1 -1
  539. package/dist/petal-toolkit.cjs470.js +1 -1
  540. package/dist/petal-toolkit.cjs471.js +1 -1
  541. package/dist/petal-toolkit.cjs472.js +1 -1
  542. package/dist/petal-toolkit.cjs473.js +1 -1
  543. package/dist/petal-toolkit.cjs474.js +1 -1
  544. package/dist/petal-toolkit.cjs475.js +1 -1
  545. package/dist/petal-toolkit.cjs476.js +1 -1
  546. package/dist/petal-toolkit.cjs477.js +1 -1
  547. package/dist/petal-toolkit.cjs478.js +1 -1
  548. package/dist/petal-toolkit.cjs479.js +1 -1
  549. package/dist/petal-toolkit.cjs48.js +1 -1
  550. package/dist/petal-toolkit.cjs48.js.map +1 -1
  551. package/dist/petal-toolkit.cjs480.js +1 -1
  552. package/dist/petal-toolkit.cjs481.js +1 -1
  553. package/dist/petal-toolkit.cjs482.js +1 -1
  554. package/dist/petal-toolkit.cjs483.js +1 -1
  555. package/dist/petal-toolkit.cjs484.js +1 -1
  556. package/dist/petal-toolkit.cjs485.js +1 -1
  557. package/dist/petal-toolkit.cjs486.js +1 -1
  558. package/dist/petal-toolkit.cjs487.js +1 -1
  559. package/dist/petal-toolkit.cjs488.js +1 -1
  560. package/dist/petal-toolkit.cjs489.js +1 -1
  561. package/dist/petal-toolkit.cjs49.js +1 -1
  562. package/dist/petal-toolkit.cjs490.js +1 -1
  563. package/dist/petal-toolkit.cjs491.js +1 -1
  564. package/dist/petal-toolkit.cjs492.js +1 -1
  565. package/dist/petal-toolkit.cjs493.js +1 -1
  566. package/dist/petal-toolkit.cjs494.js +1 -1
  567. package/dist/petal-toolkit.cjs495.js +1 -1
  568. package/dist/petal-toolkit.cjs496.js +1 -1
  569. package/dist/petal-toolkit.cjs497.js +1 -1
  570. package/dist/petal-toolkit.cjs498.js +1 -1
  571. package/dist/petal-toolkit.cjs499.js +1 -1
  572. package/dist/petal-toolkit.cjs5.js +1 -1
  573. package/dist/petal-toolkit.cjs50.js +1 -1
  574. package/dist/petal-toolkit.cjs50.js.map +1 -1
  575. package/dist/petal-toolkit.cjs500.js +1 -1
  576. package/dist/petal-toolkit.cjs501.js +1 -1
  577. package/dist/petal-toolkit.cjs502.js +1 -1
  578. package/dist/petal-toolkit.cjs503.js +1 -1
  579. package/dist/petal-toolkit.cjs504.js +1 -1
  580. package/dist/petal-toolkit.cjs505.js +1 -1
  581. package/dist/petal-toolkit.cjs506.js +1 -1
  582. package/dist/petal-toolkit.cjs507.js +1 -1
  583. package/dist/petal-toolkit.cjs508.js +1 -1
  584. package/dist/petal-toolkit.cjs509.js +1 -1
  585. package/dist/petal-toolkit.cjs510.js +1 -1
  586. package/dist/petal-toolkit.cjs511.js +1 -1
  587. package/dist/petal-toolkit.cjs512.js +1 -1
  588. package/dist/petal-toolkit.cjs513.js +1 -1
  589. package/dist/petal-toolkit.cjs514.js +1 -1
  590. package/dist/petal-toolkit.cjs515.js +1 -1
  591. package/dist/petal-toolkit.cjs516.js +1 -1
  592. package/dist/petal-toolkit.cjs517.js +1 -1
  593. package/dist/petal-toolkit.cjs518.js +1 -1
  594. package/dist/petal-toolkit.cjs519.js +1 -1
  595. package/dist/petal-toolkit.cjs52.js +1 -1
  596. package/dist/petal-toolkit.cjs520.js +1 -1
  597. package/dist/petal-toolkit.cjs521.js +1 -1
  598. package/dist/petal-toolkit.cjs522.js +1 -1
  599. package/dist/petal-toolkit.cjs523.js +1 -1
  600. package/dist/petal-toolkit.cjs524.js +1 -1
  601. package/dist/petal-toolkit.cjs525.js +1 -1
  602. package/dist/petal-toolkit.cjs526.js +1 -1
  603. package/dist/petal-toolkit.cjs527.js +1 -1
  604. package/dist/petal-toolkit.cjs528.js +1 -1
  605. package/dist/petal-toolkit.cjs529.js +1 -1
  606. package/dist/petal-toolkit.cjs530.js +1 -1
  607. package/dist/petal-toolkit.cjs531.js +1 -1
  608. package/dist/petal-toolkit.cjs532.js +1 -1
  609. package/dist/petal-toolkit.cjs533.js +1 -1
  610. package/dist/petal-toolkit.cjs534.js +1 -1
  611. package/dist/petal-toolkit.cjs535.js +1 -1
  612. package/dist/petal-toolkit.cjs536.js +1 -1
  613. package/dist/petal-toolkit.cjs537.js +1 -1
  614. package/dist/petal-toolkit.cjs538.js +1 -1
  615. package/dist/petal-toolkit.cjs539.js +1 -1
  616. package/dist/petal-toolkit.cjs540.js +1 -1
  617. package/dist/petal-toolkit.cjs541.js +1 -1
  618. package/dist/petal-toolkit.cjs542.js +1 -1
  619. package/dist/petal-toolkit.cjs543.js +1 -1
  620. package/dist/petal-toolkit.cjs544.js +1 -1
  621. package/dist/petal-toolkit.cjs545.js +1 -1
  622. package/dist/petal-toolkit.cjs546.js +1 -1
  623. package/dist/petal-toolkit.cjs547.js +1 -1
  624. package/dist/petal-toolkit.cjs548.js +1 -1
  625. package/dist/petal-toolkit.cjs549.js +1 -1
  626. package/dist/petal-toolkit.cjs550.js +1 -1
  627. package/dist/petal-toolkit.cjs551.js +1 -1
  628. package/dist/petal-toolkit.cjs552.js +1 -1
  629. package/dist/petal-toolkit.cjs553.js +1 -1
  630. package/dist/petal-toolkit.cjs554.js +1 -1
  631. package/dist/petal-toolkit.cjs555.js +1 -1
  632. package/dist/petal-toolkit.cjs556.js +1 -1
  633. package/dist/petal-toolkit.cjs557.js +1 -1
  634. package/dist/petal-toolkit.cjs558.js +1 -1
  635. package/dist/petal-toolkit.cjs559.js +1 -1
  636. package/dist/petal-toolkit.cjs560.js +1 -1
  637. package/dist/petal-toolkit.cjs561.js +1 -1
  638. package/dist/petal-toolkit.cjs562.js +1 -1
  639. package/dist/petal-toolkit.cjs563.js +1 -1
  640. package/dist/petal-toolkit.cjs564.js +1 -1
  641. package/dist/petal-toolkit.cjs565.js +1 -1
  642. package/dist/petal-toolkit.cjs566.js +1 -1
  643. package/dist/petal-toolkit.cjs567.js +1 -1
  644. package/dist/petal-toolkit.cjs568.js +1 -1
  645. package/dist/petal-toolkit.cjs569.js +1 -1
  646. package/dist/petal-toolkit.cjs570.js +1 -1
  647. package/dist/petal-toolkit.cjs571.js +1 -1
  648. package/dist/petal-toolkit.cjs572.js +1 -1
  649. package/dist/petal-toolkit.cjs573.js +1 -1
  650. package/dist/petal-toolkit.cjs574.js +1 -1
  651. package/dist/petal-toolkit.cjs575.js +1 -1
  652. package/dist/petal-toolkit.cjs576.js +1 -1
  653. package/dist/petal-toolkit.cjs577.js +1 -1
  654. package/dist/petal-toolkit.cjs578.js +1 -1
  655. package/dist/petal-toolkit.cjs579.js +1 -1
  656. package/dist/petal-toolkit.cjs58.js +1 -1
  657. package/dist/petal-toolkit.cjs58.js.map +1 -1
  658. package/dist/petal-toolkit.cjs580.js +1 -1
  659. package/dist/petal-toolkit.cjs581.js +1 -1
  660. package/dist/petal-toolkit.cjs582.js +1 -1
  661. package/dist/petal-toolkit.cjs583.js +1 -1
  662. package/dist/petal-toolkit.cjs584.js +1 -1
  663. package/dist/petal-toolkit.cjs585.js +1 -1
  664. package/dist/petal-toolkit.cjs586.js +1 -1
  665. package/dist/petal-toolkit.cjs587.js +1 -1
  666. package/dist/petal-toolkit.cjs588.js +1 -1
  667. package/dist/petal-toolkit.cjs589.js +1 -1
  668. package/dist/petal-toolkit.cjs590.js +1 -1
  669. package/dist/petal-toolkit.cjs591.js +1 -1
  670. package/dist/petal-toolkit.cjs592.js +1 -1
  671. package/dist/petal-toolkit.cjs593.js +1 -1
  672. package/dist/petal-toolkit.cjs594.js +1 -1
  673. package/dist/petal-toolkit.cjs595.js +1 -1
  674. package/dist/petal-toolkit.cjs596.js +1 -1
  675. package/dist/petal-toolkit.cjs597.js +1 -1
  676. package/dist/petal-toolkit.cjs598.js +1 -1
  677. package/dist/petal-toolkit.cjs599.js +1 -1
  678. package/dist/petal-toolkit.cjs6.js +1 -1
  679. package/dist/petal-toolkit.cjs600.js +1 -1
  680. package/dist/petal-toolkit.cjs601.js +1 -1
  681. package/dist/petal-toolkit.cjs602.js +1 -1
  682. package/dist/petal-toolkit.cjs603.js +1 -1
  683. package/dist/petal-toolkit.cjs604.js +1 -1
  684. package/dist/petal-toolkit.cjs605.js +1 -1
  685. package/dist/petal-toolkit.cjs606.js +1 -1
  686. package/dist/petal-toolkit.cjs607.js +1 -1
  687. package/dist/petal-toolkit.cjs608.js +1 -1
  688. package/dist/petal-toolkit.cjs609.js +1 -1
  689. package/dist/petal-toolkit.cjs610.js +1 -1
  690. package/dist/petal-toolkit.cjs611.js +1 -1
  691. package/dist/petal-toolkit.cjs612.js +1 -1
  692. package/dist/petal-toolkit.cjs613.js +1 -1
  693. package/dist/petal-toolkit.cjs614.js +1 -1
  694. package/dist/petal-toolkit.cjs615.js +1 -1
  695. package/dist/petal-toolkit.cjs616.js +1 -1
  696. package/dist/petal-toolkit.cjs617.js +1 -1
  697. package/dist/petal-toolkit.cjs618.js +1 -1
  698. package/dist/petal-toolkit.cjs619.js +1 -1
  699. package/dist/petal-toolkit.cjs620.js +1 -1
  700. package/dist/petal-toolkit.cjs621.js +1 -1
  701. package/dist/petal-toolkit.cjs622.js +1 -1
  702. package/dist/petal-toolkit.cjs623.js +1 -1
  703. package/dist/petal-toolkit.cjs624.js +1 -1
  704. package/dist/petal-toolkit.cjs625.js +1 -1
  705. package/dist/petal-toolkit.cjs626.js +1 -1
  706. package/dist/petal-toolkit.cjs627.js +1 -1
  707. package/dist/petal-toolkit.cjs628.js +1 -1
  708. package/dist/petal-toolkit.cjs629.js +1 -1
  709. package/dist/petal-toolkit.cjs63.js +1 -1
  710. package/dist/petal-toolkit.cjs63.js.map +1 -1
  711. package/dist/petal-toolkit.cjs630.js +1 -1
  712. package/dist/petal-toolkit.cjs631.js +1 -1
  713. package/dist/petal-toolkit.cjs632.js +1 -1
  714. package/dist/petal-toolkit.cjs633.js +1 -1
  715. package/dist/petal-toolkit.cjs634.js +1 -1
  716. package/dist/petal-toolkit.cjs635.js +1 -1
  717. package/dist/petal-toolkit.cjs636.js +1 -1
  718. package/dist/petal-toolkit.cjs637.js +1 -1
  719. package/dist/petal-toolkit.cjs638.js +1 -1
  720. package/dist/petal-toolkit.cjs639.js +1 -1
  721. package/dist/petal-toolkit.cjs640.js +1 -1
  722. package/dist/petal-toolkit.cjs641.js +1 -1
  723. package/dist/petal-toolkit.cjs642.js +1 -1
  724. package/dist/petal-toolkit.cjs643.js +1 -1
  725. package/dist/petal-toolkit.cjs644.js +1 -1
  726. package/dist/petal-toolkit.cjs645.js +1 -1
  727. package/dist/petal-toolkit.cjs646.js +1 -1
  728. package/dist/petal-toolkit.cjs647.js +1 -1
  729. package/dist/petal-toolkit.cjs648.js +1 -1
  730. package/dist/petal-toolkit.cjs649.js +1 -1
  731. package/dist/petal-toolkit.cjs650.js +1 -1
  732. package/dist/petal-toolkit.cjs651.js +1 -1
  733. package/dist/petal-toolkit.cjs652.js +1 -1
  734. package/dist/petal-toolkit.cjs653.js +1 -1
  735. package/dist/petal-toolkit.cjs654.js +1 -1
  736. package/dist/petal-toolkit.cjs655.js +1 -1
  737. package/dist/petal-toolkit.cjs656.js +1 -1
  738. package/dist/petal-toolkit.cjs657.js +1 -1
  739. package/dist/petal-toolkit.cjs658.js +1 -1
  740. package/dist/petal-toolkit.cjs659.js +1 -1
  741. package/dist/petal-toolkit.cjs66.js +1 -1
  742. package/dist/petal-toolkit.cjs660.js +1 -1
  743. package/dist/petal-toolkit.cjs661.js +1 -1
  744. package/dist/petal-toolkit.cjs662.js +1 -1
  745. package/dist/petal-toolkit.cjs663.js +1 -1
  746. package/dist/petal-toolkit.cjs664.js +1 -1
  747. package/dist/petal-toolkit.cjs665.js +1 -1
  748. package/dist/petal-toolkit.cjs666.js +1 -1
  749. package/dist/petal-toolkit.cjs667.js +1 -1
  750. package/dist/petal-toolkit.cjs668.js +1 -1
  751. package/dist/petal-toolkit.cjs669.js +1 -1
  752. package/dist/petal-toolkit.cjs67.js +1 -1
  753. package/dist/petal-toolkit.cjs670.js +1 -1
  754. package/dist/petal-toolkit.cjs671.js +1 -1
  755. package/dist/petal-toolkit.cjs672.js +1 -1
  756. package/dist/petal-toolkit.cjs673.js +1 -1
  757. package/dist/petal-toolkit.cjs674.js +1 -1
  758. package/dist/petal-toolkit.cjs675.js +1 -1
  759. package/dist/petal-toolkit.cjs675.js.map +1 -1
  760. package/dist/petal-toolkit.cjs676.js +1 -1
  761. package/dist/petal-toolkit.cjs676.js.map +1 -1
  762. package/dist/petal-toolkit.cjs677.js +1 -1
  763. package/dist/petal-toolkit.cjs68.js +1 -1
  764. package/dist/petal-toolkit.cjs685.js +1 -1
  765. package/dist/petal-toolkit.cjs685.js.map +1 -1
  766. package/dist/petal-toolkit.cjs687.js +1 -1
  767. package/dist/petal-toolkit.cjs687.js.map +1 -1
  768. package/dist/petal-toolkit.cjs689.js +1 -1
  769. package/dist/petal-toolkit.cjs689.js.map +1 -1
  770. package/dist/petal-toolkit.cjs69.js +1 -1
  771. package/dist/petal-toolkit.cjs690.js +1 -1
  772. package/dist/petal-toolkit.cjs692.js +1 -1
  773. package/dist/petal-toolkit.cjs7.js +1 -1
  774. package/dist/petal-toolkit.cjs70.js +1 -1
  775. package/dist/petal-toolkit.cjs709.js +1 -1
  776. package/dist/petal-toolkit.cjs71.js +1 -1
  777. package/dist/petal-toolkit.cjs711.js +1 -1
  778. package/dist/petal-toolkit.cjs718.js +1 -1
  779. package/dist/petal-toolkit.cjs718.js.map +1 -1
  780. package/dist/petal-toolkit.cjs72.js +1 -1
  781. package/dist/petal-toolkit.cjs720.js +1 -1
  782. package/dist/petal-toolkit.cjs720.js.map +1 -1
  783. package/dist/petal-toolkit.cjs722.js +1 -1
  784. package/dist/petal-toolkit.cjs722.js.map +1 -1
  785. package/dist/petal-toolkit.cjs724.js +1 -1
  786. package/dist/petal-toolkit.cjs724.js.map +1 -1
  787. package/dist/petal-toolkit.cjs726.js +1 -1
  788. package/dist/petal-toolkit.cjs726.js.map +1 -1
  789. package/dist/petal-toolkit.cjs729.js +1 -1
  790. package/dist/petal-toolkit.cjs729.js.map +1 -1
  791. package/dist/petal-toolkit.cjs73.js +1 -1
  792. package/dist/petal-toolkit.cjs730.js +1 -1
  793. package/dist/petal-toolkit.cjs731.js +1 -1
  794. package/dist/petal-toolkit.cjs731.js.map +1 -1
  795. package/dist/petal-toolkit.cjs733.js +1 -1
  796. package/dist/petal-toolkit.cjs736.js +1 -1
  797. package/dist/petal-toolkit.cjs737.js +1 -1
  798. package/dist/petal-toolkit.cjs737.js.map +1 -1
  799. package/dist/petal-toolkit.cjs739.js +1 -1
  800. package/dist/petal-toolkit.cjs739.js.map +1 -1
  801. package/dist/petal-toolkit.cjs74.js +1 -1
  802. package/dist/petal-toolkit.cjs742.js +1 -1
  803. package/dist/petal-toolkit.cjs743.js +1 -1
  804. package/dist/petal-toolkit.cjs744.js +1 -1
  805. package/dist/petal-toolkit.cjs745.js +1 -1
  806. package/dist/petal-toolkit.cjs746.js +1 -1
  807. package/dist/petal-toolkit.cjs749.js +1 -1
  808. package/dist/petal-toolkit.cjs75.js +1 -1
  809. package/dist/petal-toolkit.cjs750.js +1 -1
  810. package/dist/petal-toolkit.cjs751.js +1 -1
  811. package/dist/petal-toolkit.cjs752.js +1 -1
  812. package/dist/petal-toolkit.cjs753.js +1 -1
  813. package/dist/petal-toolkit.cjs755.js +1 -1
  814. package/dist/petal-toolkit.cjs755.js.map +1 -1
  815. package/dist/petal-toolkit.cjs757.js +1 -1
  816. package/dist/petal-toolkit.cjs757.js.map +1 -1
  817. package/dist/petal-toolkit.cjs76.js +1 -1
  818. package/dist/petal-toolkit.cjs764.js +1 -1
  819. package/dist/petal-toolkit.cjs766.js +1 -1
  820. package/dist/petal-toolkit.cjs767.js +1 -1
  821. package/dist/petal-toolkit.cjs767.js.map +1 -1
  822. package/dist/petal-toolkit.cjs769.js +1 -1
  823. package/dist/petal-toolkit.cjs769.js.map +1 -1
  824. package/dist/petal-toolkit.cjs77.js +1 -1
  825. package/dist/petal-toolkit.cjs78.js +1 -1
  826. package/dist/petal-toolkit.cjs789.js +1 -1
  827. package/dist/petal-toolkit.cjs79.js +1 -1
  828. package/dist/petal-toolkit.cjs790.js +1 -3
  829. package/dist/petal-toolkit.cjs790.js.map +1 -1
  830. package/dist/petal-toolkit.cjs791.js +1 -1
  831. package/dist/petal-toolkit.cjs792.js +3 -1
  832. package/dist/petal-toolkit.cjs792.js.map +1 -1
  833. package/dist/petal-toolkit.cjs8.js +1 -1
  834. package/dist/petal-toolkit.cjs8.js.map +1 -1
  835. package/dist/petal-toolkit.cjs80.js +1 -1
  836. package/dist/petal-toolkit.cjs81.js +1 -1
  837. package/dist/petal-toolkit.cjs82.js +1 -1
  838. package/dist/petal-toolkit.cjs826.js +1 -1
  839. package/dist/petal-toolkit.cjs828.js +1 -1
  840. package/dist/petal-toolkit.cjs83.js +1 -1
  841. package/dist/petal-toolkit.cjs84.js +1 -1
  842. package/dist/petal-toolkit.cjs85.js +1 -1
  843. package/dist/petal-toolkit.cjs850.js +1 -5
  844. package/dist/petal-toolkit.cjs850.js.map +1 -1
  845. package/dist/petal-toolkit.cjs851.js +1 -22
  846. package/dist/petal-toolkit.cjs851.js.map +1 -1
  847. package/dist/petal-toolkit.cjs852.js +5 -1
  848. package/dist/petal-toolkit.cjs852.js.map +1 -1
  849. package/dist/petal-toolkit.cjs853.js +22 -1
  850. package/dist/petal-toolkit.cjs853.js.map +1 -1
  851. package/dist/petal-toolkit.cjs854.js +1 -1
  852. package/dist/petal-toolkit.cjs854.js.map +1 -1
  853. package/dist/petal-toolkit.cjs855.js +1 -1
  854. package/dist/petal-toolkit.cjs855.js.map +1 -1
  855. package/dist/petal-toolkit.cjs856.js +1 -1
  856. package/dist/petal-toolkit.cjs856.js.map +1 -1
  857. package/dist/petal-toolkit.cjs857.js +1 -1
  858. package/dist/petal-toolkit.cjs857.js.map +1 -1
  859. package/dist/petal-toolkit.cjs859.js +1 -1
  860. package/dist/petal-toolkit.cjs859.js.map +1 -1
  861. package/dist/petal-toolkit.cjs86.js +1 -1
  862. package/dist/petal-toolkit.cjs862.js +1 -1
  863. package/dist/petal-toolkit.cjs862.js.map +1 -1
  864. package/dist/petal-toolkit.cjs864.js +1 -2
  865. package/dist/petal-toolkit.cjs864.js.map +1 -1
  866. package/dist/petal-toolkit.cjs866.js +2 -1
  867. package/dist/petal-toolkit.cjs866.js.map +1 -1
  868. package/dist/petal-toolkit.cjs867.js +1 -1
  869. package/dist/petal-toolkit.cjs867.js.map +1 -1
  870. package/dist/petal-toolkit.cjs869.js +1 -1
  871. package/dist/petal-toolkit.cjs869.js.map +1 -1
  872. package/dist/petal-toolkit.cjs87.js +1 -1
  873. package/dist/petal-toolkit.cjs870.js +1 -1
  874. package/dist/petal-toolkit.cjs870.js.map +1 -1
  875. package/dist/petal-toolkit.cjs871.js +1 -2
  876. package/dist/petal-toolkit.cjs871.js.map +1 -1
  877. package/dist/petal-toolkit.cjs872.js +1 -1
  878. package/dist/petal-toolkit.cjs872.js.map +1 -1
  879. package/dist/petal-toolkit.cjs873.js +2 -1
  880. package/dist/petal-toolkit.cjs873.js.map +1 -1
  881. package/dist/petal-toolkit.cjs875.js +1 -1
  882. package/dist/petal-toolkit.cjs875.js.map +1 -1
  883. package/dist/petal-toolkit.cjs877.js +1 -1
  884. package/dist/petal-toolkit.cjs877.js.map +1 -1
  885. package/dist/petal-toolkit.cjs878.js +1 -1
  886. package/dist/petal-toolkit.cjs879.js +1 -1
  887. package/dist/petal-toolkit.cjs879.js.map +1 -1
  888. package/dist/petal-toolkit.cjs88.js +1 -1
  889. package/dist/petal-toolkit.cjs880.js +1 -1
  890. package/dist/petal-toolkit.cjs881.js +1 -1
  891. package/dist/petal-toolkit.cjs882.js +1 -1
  892. package/dist/petal-toolkit.cjs884.js +1 -1
  893. package/dist/petal-toolkit.cjs885.js +1 -1
  894. package/dist/petal-toolkit.cjs886.js +1 -1
  895. package/dist/petal-toolkit.cjs888.js +1 -1
  896. package/dist/petal-toolkit.cjs89.js +1 -1
  897. package/dist/petal-toolkit.cjs890.js +1 -1
  898. package/dist/petal-toolkit.cjs893.js +1 -1
  899. package/dist/petal-toolkit.cjs894.js +1 -1
  900. package/dist/petal-toolkit.cjs895.js +1 -1
  901. package/dist/petal-toolkit.cjs898.js +1 -1
  902. package/dist/petal-toolkit.cjs899.js +1 -1
  903. package/dist/petal-toolkit.cjs9.js +1 -1
  904. package/dist/petal-toolkit.cjs90.js +1 -1
  905. package/dist/petal-toolkit.cjs900.js +1 -1
  906. package/dist/petal-toolkit.cjs902.js +1 -1
  907. package/dist/petal-toolkit.cjs904.js +1 -1
  908. package/dist/petal-toolkit.cjs906.js +1 -1
  909. package/dist/petal-toolkit.cjs907.js +1 -1
  910. package/dist/petal-toolkit.cjs907.js.map +1 -1
  911. package/dist/petal-toolkit.cjs909.js +1 -1
  912. package/dist/petal-toolkit.cjs909.js.map +1 -1
  913. package/dist/petal-toolkit.cjs91.js +1 -1
  914. package/dist/petal-toolkit.cjs911.js +1 -1
  915. package/dist/petal-toolkit.cjs92.js +1 -1
  916. package/dist/petal-toolkit.cjs922.js +1 -1
  917. package/dist/petal-toolkit.cjs924.js +1 -1
  918. package/dist/petal-toolkit.cjs93.js +1 -1
  919. package/dist/petal-toolkit.cjs94.js +1 -1
  920. package/dist/petal-toolkit.cjs95.js +1 -1
  921. package/dist/petal-toolkit.cjs955.js +1 -1
  922. package/dist/petal-toolkit.cjs955.js.map +1 -1
  923. package/dist/petal-toolkit.cjs957.js +1 -1
  924. package/dist/petal-toolkit.cjs957.js.map +1 -1
  925. package/dist/petal-toolkit.cjs96.js +1 -1
  926. package/dist/petal-toolkit.cjs963.js +1 -1
  927. package/dist/petal-toolkit.cjs963.js.map +1 -1
  928. package/dist/petal-toolkit.cjs965.js +1 -1
  929. package/dist/petal-toolkit.cjs965.js.map +1 -1
  930. package/dist/petal-toolkit.cjs97.js +1 -1
  931. package/dist/petal-toolkit.cjs98.js +1 -1
  932. package/dist/petal-toolkit.cjs99.js +1 -1
  933. package/dist/petal-toolkit.es10.js +3 -3
  934. package/dist/petal-toolkit.es100.js +1 -1
  935. package/dist/petal-toolkit.es1000.js +2 -2
  936. package/dist/petal-toolkit.es1004.js +2 -2
  937. package/dist/petal-toolkit.es1008.js +2 -2
  938. package/dist/petal-toolkit.es1009.js +2 -2
  939. package/dist/petal-toolkit.es101.js +1 -1
  940. package/dist/petal-toolkit.es1012.js +2 -2
  941. package/dist/petal-toolkit.es1014.js +2 -2
  942. package/dist/petal-toolkit.es1015.js +2 -2
  943. package/dist/petal-toolkit.es1016.js +2 -2
  944. package/dist/petal-toolkit.es1017.js +2 -2
  945. package/dist/petal-toolkit.es1018.js +2 -2
  946. package/dist/petal-toolkit.es1019.js +2 -2
  947. package/dist/petal-toolkit.es102.js +1 -1
  948. package/dist/petal-toolkit.es1020.js +2 -2
  949. package/dist/petal-toolkit.es1022.js +2 -2
  950. package/dist/petal-toolkit.es1025.js +2 -2
  951. package/dist/petal-toolkit.es1026.js +2 -2
  952. package/dist/petal-toolkit.es1027.js +2 -2
  953. package/dist/petal-toolkit.es1028.js +2 -2
  954. package/dist/petal-toolkit.es1029.js +2 -2
  955. package/dist/petal-toolkit.es103.js +1 -1
  956. package/dist/petal-toolkit.es1030.js +2 -2
  957. package/dist/petal-toolkit.es1031.js +2 -2
  958. package/dist/petal-toolkit.es1033.js +2 -2
  959. package/dist/petal-toolkit.es1034.js +2 -2
  960. package/dist/petal-toolkit.es1035.js +2 -2
  961. package/dist/petal-toolkit.es1036.js +2 -2
  962. package/dist/petal-toolkit.es1037.js +2 -2
  963. package/dist/petal-toolkit.es104.js +1 -1
  964. package/dist/petal-toolkit.es1040.js +2 -2
  965. package/dist/petal-toolkit.es1042.js +2 -2
  966. package/dist/petal-toolkit.es1043.js +2 -2
  967. package/dist/petal-toolkit.es1047.js +2 -2
  968. package/dist/petal-toolkit.es1048.js +2 -2
  969. package/dist/petal-toolkit.es1049.js +2 -49
  970. package/dist/petal-toolkit.es1049.js.map +1 -1
  971. package/dist/petal-toolkit.es105.js +1 -1
  972. package/dist/petal-toolkit.es1051.js +49 -2
  973. package/dist/petal-toolkit.es1051.js.map +1 -1
  974. package/dist/petal-toolkit.es1054.js +2 -2
  975. package/dist/petal-toolkit.es1058.js +2 -2
  976. package/dist/petal-toolkit.es106.js +2 -2
  977. package/dist/petal-toolkit.es1060.js +2 -50
  978. package/dist/petal-toolkit.es1060.js.map +1 -1
  979. package/dist/petal-toolkit.es1062.js +50 -2
  980. package/dist/petal-toolkit.es1062.js.map +1 -1
  981. package/dist/petal-toolkit.es1063.js +2 -2
  982. package/dist/petal-toolkit.es1065.js +2 -2
  983. package/dist/petal-toolkit.es1068.js +2 -2
  984. package/dist/petal-toolkit.es1069.js +2 -2
  985. package/dist/petal-toolkit.es107.js +2 -2
  986. package/dist/petal-toolkit.es1073.js +2 -2
  987. package/dist/petal-toolkit.es1075.js +2 -2
  988. package/dist/petal-toolkit.es1076.js +2 -2
  989. package/dist/petal-toolkit.es1078.js +2 -2
  990. package/dist/petal-toolkit.es108.js +1 -1
  991. package/dist/petal-toolkit.es1081.js +2 -2
  992. package/dist/petal-toolkit.es1083.js +2 -2
  993. package/dist/petal-toolkit.es1089.js +2 -2
  994. package/dist/petal-toolkit.es109.js +2 -2
  995. package/dist/petal-toolkit.es1091.js +2 -2
  996. package/dist/petal-toolkit.es1094.js +2 -2
  997. package/dist/petal-toolkit.es1098.js +2 -2
  998. package/dist/petal-toolkit.es11.js +3 -3
  999. package/dist/petal-toolkit.es110.js +3 -3
  1000. package/dist/petal-toolkit.es1102.js +2 -2
  1001. package/dist/petal-toolkit.es1103.js +2 -2
  1002. package/dist/petal-toolkit.es1105.js +2 -2
  1003. package/dist/petal-toolkit.es1108.js +2 -2
  1004. package/dist/petal-toolkit.es1109.js +2 -2
  1005. package/dist/petal-toolkit.es111.js +2 -2
  1006. package/dist/petal-toolkit.es1115.js +2 -2
  1007. package/dist/petal-toolkit.es1116.js +2 -2
  1008. package/dist/petal-toolkit.es1117.js +2 -2
  1009. package/dist/petal-toolkit.es1118.js +2 -2
  1010. package/dist/petal-toolkit.es1119.js +2 -2
  1011. package/dist/petal-toolkit.es112.js +1 -1
  1012. package/dist/petal-toolkit.es1120.js +2 -2
  1013. package/dist/petal-toolkit.es1123.js +2 -2
  1014. package/dist/petal-toolkit.es1125.js +2 -2
  1015. package/dist/petal-toolkit.es1126.js +2 -10
  1016. package/dist/petal-toolkit.es1126.js.map +1 -1
  1017. package/dist/petal-toolkit.es1128.js +9 -9
  1018. package/dist/petal-toolkit.es1128.js.map +1 -1
  1019. package/dist/petal-toolkit.es1129.js +2 -2
  1020. package/dist/petal-toolkit.es113.js +1 -1
  1021. package/dist/petal-toolkit.es1130.js +9 -9
  1022. package/dist/petal-toolkit.es1130.js.map +1 -1
  1023. package/dist/petal-toolkit.es1131.js +2 -10
  1024. package/dist/petal-toolkit.es1131.js.map +1 -1
  1025. package/dist/petal-toolkit.es1132.js +10 -2
  1026. package/dist/petal-toolkit.es1132.js.map +1 -1
  1027. package/dist/petal-toolkit.es1133.js +10 -2
  1028. package/dist/petal-toolkit.es1133.js.map +1 -1
  1029. package/dist/petal-toolkit.es1135.js +2 -2
  1030. package/dist/petal-toolkit.es1136.js +2 -2
  1031. package/dist/petal-toolkit.es1137.js +2 -10
  1032. package/dist/petal-toolkit.es1137.js.map +1 -1
  1033. package/dist/petal-toolkit.es1139.js +10 -2
  1034. package/dist/petal-toolkit.es1139.js.map +1 -1
  1035. package/dist/petal-toolkit.es114.js +2 -2
  1036. package/dist/petal-toolkit.es1141.js +2 -2
  1037. package/dist/petal-toolkit.es1142.js +2 -2
  1038. package/dist/petal-toolkit.es1143.js +2 -2
  1039. package/dist/petal-toolkit.es1144.js +2 -2
  1040. package/dist/petal-toolkit.es1145.js +2 -2
  1041. package/dist/petal-toolkit.es1147.js +2 -2
  1042. package/dist/petal-toolkit.es1148.js +2 -2
  1043. package/dist/petal-toolkit.es1149.js +2 -2
  1044. package/dist/petal-toolkit.es115.js +1 -1
  1045. package/dist/petal-toolkit.es1151.js +2 -2
  1046. package/dist/petal-toolkit.es1152.js +2 -4742
  1047. package/dist/petal-toolkit.es1152.js.map +1 -1
  1048. package/dist/petal-toolkit.es1153.js +2 -2
  1049. package/dist/petal-toolkit.es1154.js +4742 -2
  1050. package/dist/petal-toolkit.es1154.js.map +1 -1
  1051. package/dist/petal-toolkit.es1155.js +2 -2
  1052. package/dist/petal-toolkit.es1156.js +2 -2
  1053. package/dist/petal-toolkit.es1157.js +2 -2
  1054. package/dist/petal-toolkit.es1158.js +2 -2
  1055. package/dist/petal-toolkit.es1159.js +2 -2
  1056. package/dist/petal-toolkit.es116.js +1 -1
  1057. package/dist/petal-toolkit.es1160.js +2 -2
  1058. package/dist/petal-toolkit.es1161.js +2 -12
  1059. package/dist/petal-toolkit.es1161.js.map +1 -1
  1060. package/dist/petal-toolkit.es1162.js +2 -2
  1061. package/dist/petal-toolkit.es1163.js +12 -2
  1062. package/dist/petal-toolkit.es1163.js.map +1 -1
  1063. package/dist/petal-toolkit.es1164.js +2 -2
  1064. package/dist/petal-toolkit.es1165.js +2 -2
  1065. package/dist/petal-toolkit.es1166.js +2 -2
  1066. package/dist/petal-toolkit.es1167.js +2 -2
  1067. package/dist/petal-toolkit.es1169.js +2 -10
  1068. package/dist/petal-toolkit.es1169.js.map +1 -1
  1069. package/dist/petal-toolkit.es117.js +1 -1
  1070. package/dist/petal-toolkit.es1170.js +2 -2
  1071. package/dist/petal-toolkit.es1171.js +10 -2
  1072. package/dist/petal-toolkit.es1171.js.map +1 -1
  1073. package/dist/petal-toolkit.es1172.js +2 -2
  1074. package/dist/petal-toolkit.es1173.js +2 -2
  1075. package/dist/petal-toolkit.es1174.js +2 -2
  1076. package/dist/petal-toolkit.es1175.js +2 -10
  1077. package/dist/petal-toolkit.es1175.js.map +1 -1
  1078. package/dist/petal-toolkit.es1177.js +10 -2
  1079. package/dist/petal-toolkit.es1177.js.map +1 -1
  1080. package/dist/petal-toolkit.es1179.js +2 -2
  1081. package/dist/petal-toolkit.es118.js +2 -2
  1082. package/dist/petal-toolkit.es1182.js +2 -2
  1083. package/dist/petal-toolkit.es1184.js +2 -2
  1084. package/dist/petal-toolkit.es1188.js +2 -2
  1085. package/dist/petal-toolkit.es119.js +1 -1
  1086. package/dist/petal-toolkit.es1190.js +2 -2
  1087. package/dist/petal-toolkit.es1197.js +2 -2
  1088. package/dist/petal-toolkit.es12.js +3 -3
  1089. package/dist/petal-toolkit.es120.js +1 -1
  1090. package/dist/petal-toolkit.es1200.js +2 -2
  1091. package/dist/petal-toolkit.es1201.js +2 -2
  1092. package/dist/petal-toolkit.es1202.js +2 -2
  1093. package/dist/petal-toolkit.es1203.js +2 -2
  1094. package/dist/petal-toolkit.es1205.js +2 -2
  1095. package/dist/petal-toolkit.es1206.js +2 -2
  1096. package/dist/petal-toolkit.es1207.js +2 -2
  1097. package/dist/petal-toolkit.es121.js +2 -2
  1098. package/dist/petal-toolkit.es1211.js +2 -2
  1099. package/dist/petal-toolkit.es1213.js +2 -2
  1100. package/dist/petal-toolkit.es1214.js +2 -2
  1101. package/dist/petal-toolkit.es1215.js +2 -2
  1102. package/dist/petal-toolkit.es1216.js +2 -2
  1103. package/dist/petal-toolkit.es1217.js +2 -2
  1104. package/dist/petal-toolkit.es1218.js +2 -26
  1105. package/dist/petal-toolkit.es1218.js.map +1 -1
  1106. package/dist/petal-toolkit.es1219.js +2 -2
  1107. package/dist/petal-toolkit.es122.js +1 -1
  1108. package/dist/petal-toolkit.es1220.js +26 -2
  1109. package/dist/petal-toolkit.es1220.js.map +1 -1
  1110. package/dist/petal-toolkit.es1221.js +2 -2
  1111. package/dist/petal-toolkit.es1222.js +2 -2
  1112. package/dist/petal-toolkit.es1223.js +2 -2
  1113. package/dist/petal-toolkit.es1224.js +2 -2
  1114. package/dist/petal-toolkit.es1225.js +2 -2
  1115. package/dist/petal-toolkit.es1226.js +2 -2
  1116. package/dist/petal-toolkit.es1227.js +2 -2
  1117. package/dist/petal-toolkit.es1228.js +2 -2
  1118. package/dist/petal-toolkit.es1229.js +2 -2
  1119. package/dist/petal-toolkit.es123.js +1 -1
  1120. package/dist/petal-toolkit.es1232.js +2 -2
  1121. package/dist/petal-toolkit.es1233.js +2 -2
  1122. package/dist/petal-toolkit.es1234.js +2 -2
  1123. package/dist/petal-toolkit.es1235.js +2 -2
  1124. package/dist/petal-toolkit.es1237.js +2 -2
  1125. package/dist/petal-toolkit.es1238.js +2 -2
  1126. package/dist/petal-toolkit.es1239.js +2 -2
  1127. package/dist/petal-toolkit.es124.js +1 -1
  1128. package/dist/petal-toolkit.es1240.js +2 -2
  1129. package/dist/petal-toolkit.es1241.js +2 -2
  1130. package/dist/petal-toolkit.es1242.js +2 -2
  1131. package/dist/petal-toolkit.es1244.js +2 -2
  1132. package/dist/petal-toolkit.es1245.js +2 -2
  1133. package/dist/petal-toolkit.es1246.js +2 -2
  1134. package/dist/petal-toolkit.es1247.js +2 -2
  1135. package/dist/petal-toolkit.es1249.js +2 -2
  1136. package/dist/petal-toolkit.es125.js +1 -1
  1137. package/dist/petal-toolkit.es1250.js +2 -2
  1138. package/dist/petal-toolkit.es1251.js +2 -2
  1139. package/dist/petal-toolkit.es1255.js +2 -2
  1140. package/dist/petal-toolkit.es1256.js +2 -2
  1141. package/dist/petal-toolkit.es1257.js +2 -2
  1142. package/dist/petal-toolkit.es1258.js +2 -2
  1143. package/dist/petal-toolkit.es1259.js +2 -2
  1144. package/dist/petal-toolkit.es126.js +1 -1
  1145. package/dist/petal-toolkit.es1260.js +2 -2
  1146. package/dist/petal-toolkit.es1261.js +2 -2
  1147. package/dist/petal-toolkit.es1262.js +2 -2
  1148. package/dist/petal-toolkit.es1263.js +2 -2
  1149. package/dist/petal-toolkit.es1264.js +2 -2
  1150. package/dist/petal-toolkit.es1265.js +2 -2
  1151. package/dist/petal-toolkit.es1266.js +2 -2
  1152. package/dist/petal-toolkit.es1267.js +2 -2
  1153. package/dist/petal-toolkit.es1269.js +2 -2
  1154. package/dist/petal-toolkit.es127.js +1 -1
  1155. package/dist/petal-toolkit.es1272.js +2 -2
  1156. package/dist/petal-toolkit.es1273.js +2 -2
  1157. package/dist/petal-toolkit.es1274.js +2 -2
  1158. package/dist/petal-toolkit.es1277.js +2 -2
  1159. package/dist/petal-toolkit.es1278.js +2 -2
  1160. package/dist/petal-toolkit.es128.js +1 -1
  1161. package/dist/petal-toolkit.es1280.js +2 -2
  1162. package/dist/petal-toolkit.es1281.js +2 -2
  1163. package/dist/petal-toolkit.es1282.js +2 -2
  1164. package/dist/petal-toolkit.es1283.js +2 -2
  1165. package/dist/petal-toolkit.es1284.js +2 -2
  1166. package/dist/petal-toolkit.es1286.js +2 -2
  1167. package/dist/petal-toolkit.es1288.js +2 -2
  1168. package/dist/petal-toolkit.es1289.js +2 -2
  1169. package/dist/petal-toolkit.es129.js +1 -1
  1170. package/dist/petal-toolkit.es1290.js +2 -2
  1171. package/dist/petal-toolkit.es1291.js +2 -2
  1172. package/dist/petal-toolkit.es1292.js +2 -2
  1173. package/dist/petal-toolkit.es1294.js +2 -2
  1174. package/dist/petal-toolkit.es1295.js +2 -2
  1175. package/dist/petal-toolkit.es1296.js +2 -2
  1176. package/dist/petal-toolkit.es1298.js +2 -2
  1177. package/dist/petal-toolkit.es1299.js +2 -2
  1178. package/dist/petal-toolkit.es13.js +2 -2
  1179. package/dist/petal-toolkit.es130.js +1 -1
  1180. package/dist/petal-toolkit.es1300.js +2 -2
  1181. package/dist/petal-toolkit.es1301.js +2 -2
  1182. package/dist/petal-toolkit.es1302.js +2 -2
  1183. package/dist/petal-toolkit.es1303.js +2 -2
  1184. package/dist/petal-toolkit.es1304.js +2 -2
  1185. package/dist/petal-toolkit.es1305.js +2 -2
  1186. package/dist/petal-toolkit.es1306.js +2 -2
  1187. package/dist/petal-toolkit.es1307.js +2 -2
  1188. package/dist/petal-toolkit.es1308.js +2 -2
  1189. package/dist/petal-toolkit.es1309.js +2 -2
  1190. package/dist/petal-toolkit.es131.js +1 -1
  1191. package/dist/petal-toolkit.es1310.js +2 -2
  1192. package/dist/petal-toolkit.es1312.js +2 -2
  1193. package/dist/petal-toolkit.es1314.js +2 -2
  1194. package/dist/petal-toolkit.es1316.js +2 -2
  1195. package/dist/petal-toolkit.es1317.js +2 -2
  1196. package/dist/petal-toolkit.es1318.js +2 -2
  1197. package/dist/petal-toolkit.es1319.js +2 -2
  1198. package/dist/petal-toolkit.es132.js +1 -1
  1199. package/dist/petal-toolkit.es1320.js +2 -2
  1200. package/dist/petal-toolkit.es1321.js +2 -2
  1201. package/dist/petal-toolkit.es1323.js +2 -34
  1202. package/dist/petal-toolkit.es1323.js.map +1 -1
  1203. package/dist/petal-toolkit.es1324.js +2 -17
  1204. package/dist/petal-toolkit.es1324.js.map +1 -1
  1205. package/dist/petal-toolkit.es1325.js +17 -52
  1206. package/dist/petal-toolkit.es1325.js.map +1 -1
  1207. package/dist/petal-toolkit.es1326.js +257 -47
  1208. package/dist/petal-toolkit.es1326.js.map +1 -1
  1209. package/dist/petal-toolkit.es1327.js +277 -72
  1210. package/dist/petal-toolkit.es1327.js.map +1 -1
  1211. package/dist/petal-toolkit.es1328.js +168 -72
  1212. package/dist/petal-toolkit.es1328.js.map +1 -1
  1213. package/dist/petal-toolkit.es1329.js +483 -2
  1214. package/dist/petal-toolkit.es1329.js.map +1 -1
  1215. package/dist/petal-toolkit.es133.js +1 -1
  1216. package/dist/petal-toolkit.es1330.js +72 -2
  1217. package/dist/petal-toolkit.es1330.js.map +1 -1
  1218. package/dist/petal-toolkit.es1331.js +52 -2
  1219. package/dist/petal-toolkit.es1331.js.map +1 -1
  1220. package/dist/petal-toolkit.es1332.js +48 -2
  1221. package/dist/petal-toolkit.es1332.js.map +1 -1
  1222. package/dist/petal-toolkit.es1334.js +2 -2
  1223. package/dist/petal-toolkit.es1335.js +2 -2
  1224. package/dist/petal-toolkit.es1336.js +2 -2
  1225. package/dist/petal-toolkit.es1337.js +2 -2
  1226. package/dist/petal-toolkit.es1338.js +2 -2
  1227. package/dist/petal-toolkit.es1339.js +2 -2
  1228. package/dist/petal-toolkit.es134.js +1 -1
  1229. package/dist/petal-toolkit.es1340.js +2 -2
  1230. package/dist/petal-toolkit.es1341.js +2 -2
  1231. package/dist/petal-toolkit.es1342.js +2 -2
  1232. package/dist/petal-toolkit.es1343.js +2 -2
  1233. package/dist/petal-toolkit.es1344.js +2 -2
  1234. package/dist/petal-toolkit.es1345.js +2 -2
  1235. package/dist/petal-toolkit.es1347.js +2 -2
  1236. package/dist/petal-toolkit.es1348.js +2 -2
  1237. package/dist/petal-toolkit.es135.js +1 -1
  1238. package/dist/petal-toolkit.es1350.js +2 -2
  1239. package/dist/petal-toolkit.es1351.js +2 -2
  1240. package/dist/petal-toolkit.es1352.js +2 -2
  1241. package/dist/petal-toolkit.es1353.js +2 -2
  1242. package/dist/petal-toolkit.es1354.js +2 -2
  1243. package/dist/petal-toolkit.es1355.js +2 -2
  1244. package/dist/petal-toolkit.es1356.js +2 -2
  1245. package/dist/petal-toolkit.es1357.js +75 -2
  1246. package/dist/petal-toolkit.es1357.js.map +1 -1
  1247. package/dist/petal-toolkit.es136.js +1 -1
  1248. package/dist/petal-toolkit.es1361.js +2 -2
  1249. package/dist/petal-toolkit.es1362.js +2 -2
  1250. package/dist/petal-toolkit.es1363.js +2 -2
  1251. package/dist/petal-toolkit.es1367.js +2 -2
  1252. package/dist/petal-toolkit.es1368.js +5 -0
  1253. package/dist/petal-toolkit.es1368.js.map +1 -0
  1254. package/dist/petal-toolkit.es1369.js +5 -0
  1255. package/dist/petal-toolkit.es1369.js.map +1 -0
  1256. package/dist/petal-toolkit.es137.js +1 -1
  1257. package/dist/petal-toolkit.es1370.js +5 -0
  1258. package/dist/petal-toolkit.es1370.js.map +1 -0
  1259. package/dist/petal-toolkit.es1371.js +5 -0
  1260. package/dist/petal-toolkit.es1371.js.map +1 -0
  1261. package/dist/petal-toolkit.es1372.js +5 -0
  1262. package/dist/petal-toolkit.es1372.js.map +1 -0
  1263. package/dist/petal-toolkit.es138.js +2 -2
  1264. package/dist/petal-toolkit.es139.js +2 -2
  1265. package/dist/petal-toolkit.es14.js +2 -2
  1266. package/dist/petal-toolkit.es140.js +1 -1
  1267. package/dist/petal-toolkit.es141.js +1 -1
  1268. package/dist/petal-toolkit.es142.js +1 -1
  1269. package/dist/petal-toolkit.es143.js +2 -2
  1270. package/dist/petal-toolkit.es144.js +1 -1
  1271. package/dist/petal-toolkit.es145.js +1 -1
  1272. package/dist/petal-toolkit.es146.js +1 -1
  1273. package/dist/petal-toolkit.es147.js +1 -1
  1274. package/dist/petal-toolkit.es148.js +1 -1
  1275. package/dist/petal-toolkit.es149.js +3 -3
  1276. package/dist/petal-toolkit.es15.js +2 -2
  1277. package/dist/petal-toolkit.es150.js +1 -1
  1278. package/dist/petal-toolkit.es151.js +1 -1
  1279. package/dist/petal-toolkit.es152.js +1 -1
  1280. package/dist/petal-toolkit.es153.js +1 -1
  1281. package/dist/petal-toolkit.es154.js +1 -1
  1282. package/dist/petal-toolkit.es155.js +1 -1
  1283. package/dist/petal-toolkit.es156.js +1 -1
  1284. package/dist/petal-toolkit.es157.js +1 -1
  1285. package/dist/petal-toolkit.es158.js +1 -1
  1286. package/dist/petal-toolkit.es159.js +1 -1
  1287. package/dist/petal-toolkit.es160.js +1 -1
  1288. package/dist/petal-toolkit.es161.js +1 -1
  1289. package/dist/petal-toolkit.es162.js +1 -1
  1290. package/dist/petal-toolkit.es163.js +1 -1
  1291. package/dist/petal-toolkit.es164.js +1 -1
  1292. package/dist/petal-toolkit.es165.js +1 -1
  1293. package/dist/petal-toolkit.es166.js +1 -1
  1294. package/dist/petal-toolkit.es167.js +1 -1
  1295. package/dist/petal-toolkit.es168.js +1 -1
  1296. package/dist/petal-toolkit.es169.js +1 -1
  1297. package/dist/petal-toolkit.es170.js +1 -1
  1298. package/dist/petal-toolkit.es171.js +2 -2
  1299. package/dist/petal-toolkit.es172.js +1 -1
  1300. package/dist/petal-toolkit.es173.js +1 -1
  1301. package/dist/petal-toolkit.es174.js +1 -1
  1302. package/dist/petal-toolkit.es175.js +1 -1
  1303. package/dist/petal-toolkit.es176.js +1 -1
  1304. package/dist/petal-toolkit.es177.js +1 -1
  1305. package/dist/petal-toolkit.es178.js +1 -1
  1306. package/dist/petal-toolkit.es179.js +1 -1
  1307. package/dist/petal-toolkit.es18.js +3 -3
  1308. package/dist/petal-toolkit.es180.js +1 -1
  1309. package/dist/petal-toolkit.es181.js +1 -1
  1310. package/dist/petal-toolkit.es182.js +1 -1
  1311. package/dist/petal-toolkit.es183.js +1 -1
  1312. package/dist/petal-toolkit.es184.js +1 -1
  1313. package/dist/petal-toolkit.es185.js +1 -1
  1314. package/dist/petal-toolkit.es186.js +1 -1
  1315. package/dist/petal-toolkit.es187.js +1 -1
  1316. package/dist/petal-toolkit.es188.js +1 -1
  1317. package/dist/petal-toolkit.es189.js +1 -1
  1318. package/dist/petal-toolkit.es19.js +3 -3
  1319. package/dist/petal-toolkit.es190.js +1 -1
  1320. package/dist/petal-toolkit.es191.js +1 -1
  1321. package/dist/petal-toolkit.es192.js +1 -1
  1322. package/dist/petal-toolkit.es193.js +1 -1
  1323. package/dist/petal-toolkit.es194.js +1 -1
  1324. package/dist/petal-toolkit.es195.js +1 -1
  1325. package/dist/petal-toolkit.es196.js +1 -1
  1326. package/dist/petal-toolkit.es197.js +1 -1
  1327. package/dist/petal-toolkit.es198.js +1 -1
  1328. package/dist/petal-toolkit.es199.js +1 -1
  1329. package/dist/petal-toolkit.es20.js +1 -1
  1330. package/dist/petal-toolkit.es200.js +1 -1
  1331. package/dist/petal-toolkit.es201.js +1 -1
  1332. package/dist/petal-toolkit.es202.js +1 -1
  1333. package/dist/petal-toolkit.es203.js +1 -1
  1334. package/dist/petal-toolkit.es204.js +1 -1
  1335. package/dist/petal-toolkit.es205.js +1 -1
  1336. package/dist/petal-toolkit.es206.js +1 -1
  1337. package/dist/petal-toolkit.es207.js +1 -1
  1338. package/dist/petal-toolkit.es208.js +1 -1
  1339. package/dist/petal-toolkit.es209.js +1 -1
  1340. package/dist/petal-toolkit.es210.js +1 -1
  1341. package/dist/petal-toolkit.es211.js +1 -1
  1342. package/dist/petal-toolkit.es212.js +1 -1
  1343. package/dist/petal-toolkit.es213.js +1 -1
  1344. package/dist/petal-toolkit.es214.js +1 -1
  1345. package/dist/petal-toolkit.es215.js +1 -1
  1346. package/dist/petal-toolkit.es216.js +1 -1
  1347. package/dist/petal-toolkit.es217.js +1 -1
  1348. package/dist/petal-toolkit.es218.js +1 -1
  1349. package/dist/petal-toolkit.es219.js +1 -1
  1350. package/dist/petal-toolkit.es22.js +2 -2
  1351. package/dist/petal-toolkit.es220.js +1 -1
  1352. package/dist/petal-toolkit.es221.js +1 -1
  1353. package/dist/petal-toolkit.es222.js +1 -1
  1354. package/dist/petal-toolkit.es223.js +2 -2
  1355. package/dist/petal-toolkit.es224.js +2 -2
  1356. package/dist/petal-toolkit.es225.js +1 -1
  1357. package/dist/petal-toolkit.es226.js +1 -1
  1358. package/dist/petal-toolkit.es227.js +1 -1
  1359. package/dist/petal-toolkit.es228.js +1 -1
  1360. package/dist/petal-toolkit.es229.js +1 -1
  1361. package/dist/petal-toolkit.es23.js +1 -1
  1362. package/dist/petal-toolkit.es230.js +6 -6
  1363. package/dist/petal-toolkit.es231.js +1 -1
  1364. package/dist/petal-toolkit.es232.js +2 -2
  1365. package/dist/petal-toolkit.es233.js +1 -1
  1366. package/dist/petal-toolkit.es234.js +1 -1
  1367. package/dist/petal-toolkit.es235.js +1 -1
  1368. package/dist/petal-toolkit.es236.js +2 -2
  1369. package/dist/petal-toolkit.es237.js +4 -4
  1370. package/dist/petal-toolkit.es238.js +2 -2
  1371. package/dist/petal-toolkit.es239.js +4 -4
  1372. package/dist/petal-toolkit.es24.js +2 -2
  1373. package/dist/petal-toolkit.es240.js +8 -8
  1374. package/dist/petal-toolkit.es241.js +5 -5
  1375. package/dist/petal-toolkit.es242.js +1 -1
  1376. package/dist/petal-toolkit.es243.js +1 -1
  1377. package/dist/petal-toolkit.es244.js +3 -3
  1378. package/dist/petal-toolkit.es245.js +1 -1
  1379. package/dist/petal-toolkit.es246.js +1 -1
  1380. package/dist/petal-toolkit.es247.js +1 -1
  1381. package/dist/petal-toolkit.es248.js +1 -1
  1382. package/dist/petal-toolkit.es249.js +2 -2
  1383. package/dist/petal-toolkit.es25.js +2 -2
  1384. package/dist/petal-toolkit.es250.js +2 -2
  1385. package/dist/petal-toolkit.es251.js +2 -2
  1386. package/dist/petal-toolkit.es252.js +3 -3
  1387. package/dist/petal-toolkit.es253.js +2 -2
  1388. package/dist/petal-toolkit.es254.js +1 -1
  1389. package/dist/petal-toolkit.es255.js +2 -2
  1390. package/dist/petal-toolkit.es256.js +1 -1
  1391. package/dist/petal-toolkit.es257.js +2 -2
  1392. package/dist/petal-toolkit.es258.js +2 -2
  1393. package/dist/petal-toolkit.es259.js +1 -1
  1394. package/dist/petal-toolkit.es26.js +2 -2
  1395. package/dist/petal-toolkit.es260.js +2 -2
  1396. package/dist/petal-toolkit.es261.js +2 -2
  1397. package/dist/petal-toolkit.es262.js +2 -2
  1398. package/dist/petal-toolkit.es263.js +2 -2
  1399. package/dist/petal-toolkit.es264.js +2 -2
  1400. package/dist/petal-toolkit.es265.js +2 -2
  1401. package/dist/petal-toolkit.es266.js +2 -2
  1402. package/dist/petal-toolkit.es267.js +2 -2
  1403. package/dist/petal-toolkit.es268.js +1 -1
  1404. package/dist/petal-toolkit.es269.js +2 -2
  1405. package/dist/petal-toolkit.es27.js +3 -3
  1406. package/dist/petal-toolkit.es270.js +2 -2
  1407. package/dist/petal-toolkit.es271.js +2 -2
  1408. package/dist/petal-toolkit.es272.js +1 -1
  1409. package/dist/petal-toolkit.es273.js +3 -3
  1410. package/dist/petal-toolkit.es274.js +2 -2
  1411. package/dist/petal-toolkit.es275.js +1 -1
  1412. package/dist/petal-toolkit.es276.js +2 -2
  1413. package/dist/petal-toolkit.es277.js +1 -1
  1414. package/dist/petal-toolkit.es278.js +1 -1
  1415. package/dist/petal-toolkit.es279.js +2 -2
  1416. package/dist/petal-toolkit.es280.js +1 -1
  1417. package/dist/petal-toolkit.es281.js +1 -1
  1418. package/dist/petal-toolkit.es282.js +2 -2
  1419. package/dist/petal-toolkit.es283.js +1 -1
  1420. package/dist/petal-toolkit.es284.js +1 -1
  1421. package/dist/petal-toolkit.es285.js +1 -1
  1422. package/dist/petal-toolkit.es286.js +2 -2
  1423. package/dist/petal-toolkit.es287.js +1 -1
  1424. package/dist/petal-toolkit.es288.js +1 -1
  1425. package/dist/petal-toolkit.es289.js +1 -1
  1426. package/dist/petal-toolkit.es290.js +1 -1
  1427. package/dist/petal-toolkit.es291.js +1 -1
  1428. package/dist/petal-toolkit.es292.js +1 -1
  1429. package/dist/petal-toolkit.es293.js +2 -2
  1430. package/dist/petal-toolkit.es294.js +1 -1
  1431. package/dist/petal-toolkit.es295.js +1 -1
  1432. package/dist/petal-toolkit.es296.js +1 -1
  1433. package/dist/petal-toolkit.es297.js +1 -1
  1434. package/dist/petal-toolkit.es298.js +1 -1
  1435. package/dist/petal-toolkit.es299.js +1 -1
  1436. package/dist/petal-toolkit.es30.js +652 -595
  1437. package/dist/petal-toolkit.es30.js.map +1 -1
  1438. package/dist/petal-toolkit.es300.js +2 -2
  1439. package/dist/petal-toolkit.es301.js +1 -1
  1440. package/dist/petal-toolkit.es302.js +1 -1
  1441. package/dist/petal-toolkit.es303.js +1 -1
  1442. package/dist/petal-toolkit.es304.js +1 -1
  1443. package/dist/petal-toolkit.es305.js +1 -1
  1444. package/dist/petal-toolkit.es306.js +1 -1
  1445. package/dist/petal-toolkit.es307.js +1 -1
  1446. package/dist/petal-toolkit.es308.js +2 -2
  1447. package/dist/petal-toolkit.es309.js +2 -2
  1448. package/dist/petal-toolkit.es31.js +2 -2
  1449. package/dist/petal-toolkit.es310.js +1 -1
  1450. package/dist/petal-toolkit.es311.js +1 -1
  1451. package/dist/petal-toolkit.es312.js +1 -1
  1452. package/dist/petal-toolkit.es313.js +1 -1
  1453. package/dist/petal-toolkit.es314.js +1 -1
  1454. package/dist/petal-toolkit.es315.js +1 -1
  1455. package/dist/petal-toolkit.es316.js +1 -1
  1456. package/dist/petal-toolkit.es317.js +1 -1
  1457. package/dist/petal-toolkit.es318.js +2 -2
  1458. package/dist/petal-toolkit.es319.js +1 -1
  1459. package/dist/petal-toolkit.es32.js +2 -2
  1460. package/dist/petal-toolkit.es320.js +3 -3
  1461. package/dist/petal-toolkit.es321.js +1 -1
  1462. package/dist/petal-toolkit.es322.js +1 -1
  1463. package/dist/petal-toolkit.es323.js +2 -2
  1464. package/dist/petal-toolkit.es324.js +1 -1
  1465. package/dist/petal-toolkit.es325.js +1 -1
  1466. package/dist/petal-toolkit.es326.js +1 -1
  1467. package/dist/petal-toolkit.es327.js +2 -2
  1468. package/dist/petal-toolkit.es328.js +2 -2
  1469. package/dist/petal-toolkit.es329.js +2 -2
  1470. package/dist/petal-toolkit.es330.js +2 -2
  1471. package/dist/petal-toolkit.es331.js +2 -2
  1472. package/dist/petal-toolkit.es332.js +3 -3
  1473. package/dist/petal-toolkit.es333.js +3 -3
  1474. package/dist/petal-toolkit.es334.js +2 -2
  1475. package/dist/petal-toolkit.es335.js +2 -2
  1476. package/dist/petal-toolkit.es336.js +1 -1
  1477. package/dist/petal-toolkit.es337.js +2 -2
  1478. package/dist/petal-toolkit.es338.js +2 -2
  1479. package/dist/petal-toolkit.es339.js +2 -2
  1480. package/dist/petal-toolkit.es34.js +2 -2
  1481. package/dist/petal-toolkit.es340.js +2 -2
  1482. package/dist/petal-toolkit.es341.js +2 -2
  1483. package/dist/petal-toolkit.es342.js +2 -2
  1484. package/dist/petal-toolkit.es343.js +1 -1
  1485. package/dist/petal-toolkit.es344.js +1 -1
  1486. package/dist/petal-toolkit.es345.js +1 -1
  1487. package/dist/petal-toolkit.es346.js +1 -1
  1488. package/dist/petal-toolkit.es347.js +2 -2
  1489. package/dist/petal-toolkit.es348.js +1 -1
  1490. package/dist/petal-toolkit.es349.js +2 -2
  1491. package/dist/petal-toolkit.es35.js +1 -1
  1492. package/dist/petal-toolkit.es350.js +1 -1
  1493. package/dist/petal-toolkit.es351.js +2 -2
  1494. package/dist/petal-toolkit.es352.js +1 -1
  1495. package/dist/petal-toolkit.es353.js +2 -2
  1496. package/dist/petal-toolkit.es354.js +1 -1
  1497. package/dist/petal-toolkit.es355.js +1 -1
  1498. package/dist/petal-toolkit.es356.js +1 -1
  1499. package/dist/petal-toolkit.es357.js +1 -1
  1500. package/dist/petal-toolkit.es358.js +3 -3
  1501. package/dist/petal-toolkit.es359.js +1 -1
  1502. package/dist/petal-toolkit.es36.js +2 -2
  1503. package/dist/petal-toolkit.es360.js +1 -1
  1504. package/dist/petal-toolkit.es361.js +2 -2
  1505. package/dist/petal-toolkit.es362.js +2 -2
  1506. package/dist/petal-toolkit.es363.js +2 -2
  1507. package/dist/petal-toolkit.es364.js +2 -2
  1508. package/dist/petal-toolkit.es365.js +2 -2
  1509. package/dist/petal-toolkit.es366.js +1 -1
  1510. package/dist/petal-toolkit.es367.js +1 -1
  1511. package/dist/petal-toolkit.es368.js +2 -2
  1512. package/dist/petal-toolkit.es369.js +2 -2
  1513. package/dist/petal-toolkit.es37.js +2 -2
  1514. package/dist/petal-toolkit.es370.js +2 -2
  1515. package/dist/petal-toolkit.es371.js +2 -2
  1516. package/dist/petal-toolkit.es372.js +1 -1
  1517. package/dist/petal-toolkit.es373.js +1 -1
  1518. package/dist/petal-toolkit.es374.js +1 -1
  1519. package/dist/petal-toolkit.es375.js +1 -1
  1520. package/dist/petal-toolkit.es376.js +1 -1
  1521. package/dist/petal-toolkit.es377.js +1 -1
  1522. package/dist/petal-toolkit.es378.js +1 -1
  1523. package/dist/petal-toolkit.es379.js +1 -1
  1524. package/dist/petal-toolkit.es38.js +2 -2
  1525. package/dist/petal-toolkit.es380.js +1 -1
  1526. package/dist/petal-toolkit.es381.js +1 -1
  1527. package/dist/petal-toolkit.es382.js +1 -1
  1528. package/dist/petal-toolkit.es383.js +1 -1
  1529. package/dist/petal-toolkit.es384.js +1 -1
  1530. package/dist/petal-toolkit.es385.js +1 -1
  1531. package/dist/petal-toolkit.es386.js +1 -1
  1532. package/dist/petal-toolkit.es387.js +1 -1
  1533. package/dist/petal-toolkit.es388.js +1 -1
  1534. package/dist/petal-toolkit.es389.js +1 -1
  1535. package/dist/petal-toolkit.es390.js +1 -1
  1536. package/dist/petal-toolkit.es391.js +1 -1
  1537. package/dist/petal-toolkit.es392.js +1 -1
  1538. package/dist/petal-toolkit.es393.js +1 -1
  1539. package/dist/petal-toolkit.es394.js +1 -1
  1540. package/dist/petal-toolkit.es395.js +1 -1
  1541. package/dist/petal-toolkit.es396.js +1 -1
  1542. package/dist/petal-toolkit.es397.js +1 -1
  1543. package/dist/petal-toolkit.es398.js +1 -1
  1544. package/dist/petal-toolkit.es399.js +1 -1
  1545. package/dist/petal-toolkit.es4.js +2 -2
  1546. package/dist/petal-toolkit.es40.js +2 -2
  1547. package/dist/petal-toolkit.es400.js +1 -1
  1548. package/dist/petal-toolkit.es401.js +2 -2
  1549. package/dist/petal-toolkit.es402.js +1 -1
  1550. package/dist/petal-toolkit.es403.js +1 -1
  1551. package/dist/petal-toolkit.es404.js +1 -1
  1552. package/dist/petal-toolkit.es405.js +1 -1
  1553. package/dist/petal-toolkit.es406.js +1 -1
  1554. package/dist/petal-toolkit.es407.js +1 -1
  1555. package/dist/petal-toolkit.es408.js +1 -1
  1556. package/dist/petal-toolkit.es409.js +1 -1
  1557. package/dist/petal-toolkit.es41.js +2 -2
  1558. package/dist/petal-toolkit.es410.js +1 -1
  1559. package/dist/petal-toolkit.es411.js +2 -2
  1560. package/dist/petal-toolkit.es412.js +3 -3
  1561. package/dist/petal-toolkit.es413.js +2 -2
  1562. package/dist/petal-toolkit.es414.js +1 -1
  1563. package/dist/petal-toolkit.es415.js +2 -2
  1564. package/dist/petal-toolkit.es416.js +2 -2
  1565. package/dist/petal-toolkit.es417.js +1 -1
  1566. package/dist/petal-toolkit.es418.js +2 -2
  1567. package/dist/petal-toolkit.es419.js +2 -2
  1568. package/dist/petal-toolkit.es42.js +2 -2
  1569. package/dist/petal-toolkit.es420.js +2 -2
  1570. package/dist/petal-toolkit.es421.js +2 -2
  1571. package/dist/petal-toolkit.es422.js +3 -3
  1572. package/dist/petal-toolkit.es423.js +2 -2
  1573. package/dist/petal-toolkit.es424.js +1 -1
  1574. package/dist/petal-toolkit.es425.js +2 -2
  1575. package/dist/petal-toolkit.es426.js +1 -1
  1576. package/dist/petal-toolkit.es427.js +2 -2
  1577. package/dist/petal-toolkit.es428.js +4 -4
  1578. package/dist/petal-toolkit.es429.js +4 -4
  1579. package/dist/petal-toolkit.es43.js +2 -2
  1580. package/dist/petal-toolkit.es430.js +1 -1
  1581. package/dist/petal-toolkit.es431.js +1 -1
  1582. package/dist/petal-toolkit.es432.js +1 -1
  1583. package/dist/petal-toolkit.es433.js +1 -1
  1584. package/dist/petal-toolkit.es434.js +1 -1
  1585. package/dist/petal-toolkit.es435.js +1 -1
  1586. package/dist/petal-toolkit.es436.js +1 -1
  1587. package/dist/petal-toolkit.es437.js +1 -1
  1588. package/dist/petal-toolkit.es438.js +1 -1
  1589. package/dist/petal-toolkit.es439.js +1 -1
  1590. package/dist/petal-toolkit.es44.js +3 -3
  1591. package/dist/petal-toolkit.es440.js +1 -1
  1592. package/dist/petal-toolkit.es441.js +1 -1
  1593. package/dist/petal-toolkit.es442.js +1 -1
  1594. package/dist/petal-toolkit.es443.js +1 -1
  1595. package/dist/petal-toolkit.es444.js +1 -1
  1596. package/dist/petal-toolkit.es445.js +1 -1
  1597. package/dist/petal-toolkit.es446.js +1 -1
  1598. package/dist/petal-toolkit.es447.js +1 -1
  1599. package/dist/petal-toolkit.es448.js +1 -1
  1600. package/dist/petal-toolkit.es449.js +1 -1
  1601. package/dist/petal-toolkit.es45.js +2 -2
  1602. package/dist/petal-toolkit.es450.js +1 -1
  1603. package/dist/petal-toolkit.es451.js +1 -1
  1604. package/dist/petal-toolkit.es452.js +1 -1
  1605. package/dist/petal-toolkit.es453.js +2 -2
  1606. package/dist/petal-toolkit.es454.js +1 -1
  1607. package/dist/petal-toolkit.es455.js +2 -2
  1608. package/dist/petal-toolkit.es456.js +1 -1
  1609. package/dist/petal-toolkit.es457.js +2 -2
  1610. package/dist/petal-toolkit.es458.js +1 -1
  1611. package/dist/petal-toolkit.es459.js +2 -2
  1612. package/dist/petal-toolkit.es46.js +1 -1
  1613. package/dist/petal-toolkit.es460.js +1 -1
  1614. package/dist/petal-toolkit.es461.js +1 -1
  1615. package/dist/petal-toolkit.es462.js +2 -2
  1616. package/dist/petal-toolkit.es463.js +1 -1
  1617. package/dist/petal-toolkit.es464.js +1 -1
  1618. package/dist/petal-toolkit.es465.js +1 -1
  1619. package/dist/petal-toolkit.es466.js +1 -1
  1620. package/dist/petal-toolkit.es467.js +1 -1
  1621. package/dist/petal-toolkit.es468.js +1 -1
  1622. package/dist/petal-toolkit.es469.js +1 -1
  1623. package/dist/petal-toolkit.es47.js +2 -2
  1624. package/dist/petal-toolkit.es470.js +2 -2
  1625. package/dist/petal-toolkit.es471.js +2 -2
  1626. package/dist/petal-toolkit.es472.js +1 -1
  1627. package/dist/petal-toolkit.es473.js +1 -1
  1628. package/dist/petal-toolkit.es474.js +1 -1
  1629. package/dist/petal-toolkit.es475.js +1 -1
  1630. package/dist/petal-toolkit.es476.js +1 -1
  1631. package/dist/petal-toolkit.es477.js +1 -1
  1632. package/dist/petal-toolkit.es478.js +1 -1
  1633. package/dist/petal-toolkit.es479.js +1 -1
  1634. package/dist/petal-toolkit.es48.js +2 -2
  1635. package/dist/petal-toolkit.es48.js.map +1 -1
  1636. package/dist/petal-toolkit.es480.js +1 -1
  1637. package/dist/petal-toolkit.es481.js +1 -1
  1638. package/dist/petal-toolkit.es482.js +1 -1
  1639. package/dist/petal-toolkit.es483.js +1 -1
  1640. package/dist/petal-toolkit.es484.js +1 -1
  1641. package/dist/petal-toolkit.es485.js +1 -1
  1642. package/dist/petal-toolkit.es486.js +1 -1
  1643. package/dist/petal-toolkit.es487.js +2 -2
  1644. package/dist/petal-toolkit.es488.js +2 -2
  1645. package/dist/petal-toolkit.es489.js +6 -6
  1646. package/dist/petal-toolkit.es49.js +1 -1
  1647. package/dist/petal-toolkit.es490.js +2 -2
  1648. package/dist/petal-toolkit.es491.js +3 -3
  1649. package/dist/petal-toolkit.es492.js +2 -2
  1650. package/dist/petal-toolkit.es493.js +2 -2
  1651. package/dist/petal-toolkit.es494.js +2 -2
  1652. package/dist/petal-toolkit.es495.js +1 -1
  1653. package/dist/petal-toolkit.es496.js +1 -1
  1654. package/dist/petal-toolkit.es497.js +1 -1
  1655. package/dist/petal-toolkit.es498.js +1 -1
  1656. package/dist/petal-toolkit.es499.js +1 -1
  1657. package/dist/petal-toolkit.es5.js +2 -2
  1658. package/dist/petal-toolkit.es50.js +2 -2
  1659. package/dist/petal-toolkit.es500.js +1 -1
  1660. package/dist/petal-toolkit.es501.js +1 -1
  1661. package/dist/petal-toolkit.es502.js +1 -1
  1662. package/dist/petal-toolkit.es503.js +1 -1
  1663. package/dist/petal-toolkit.es504.js +1 -1
  1664. package/dist/petal-toolkit.es505.js +1 -1
  1665. package/dist/petal-toolkit.es506.js +1 -1
  1666. package/dist/petal-toolkit.es507.js +1 -1
  1667. package/dist/petal-toolkit.es508.js +5 -5
  1668. package/dist/petal-toolkit.es509.js +1 -1
  1669. package/dist/petal-toolkit.es510.js +1 -1
  1670. package/dist/petal-toolkit.es511.js +1 -1
  1671. package/dist/petal-toolkit.es512.js +1 -1
  1672. package/dist/petal-toolkit.es513.js +6 -6
  1673. package/dist/petal-toolkit.es514.js +1 -1
  1674. package/dist/petal-toolkit.es515.js +2 -2
  1675. package/dist/petal-toolkit.es516.js +2 -2
  1676. package/dist/petal-toolkit.es517.js +1 -1
  1677. package/dist/petal-toolkit.es518.js +1 -1
  1678. package/dist/petal-toolkit.es519.js +1 -1
  1679. package/dist/petal-toolkit.es52.js +2 -2
  1680. package/dist/petal-toolkit.es520.js +1 -1
  1681. package/dist/petal-toolkit.es521.js +1 -1
  1682. package/dist/petal-toolkit.es522.js +1 -1
  1683. package/dist/petal-toolkit.es523.js +2 -2
  1684. package/dist/petal-toolkit.es524.js +1 -1
  1685. package/dist/petal-toolkit.es525.js +1 -1
  1686. package/dist/petal-toolkit.es526.js +1 -1
  1687. package/dist/petal-toolkit.es527.js +1 -1
  1688. package/dist/petal-toolkit.es528.js +2 -2
  1689. package/dist/petal-toolkit.es529.js +1 -1
  1690. package/dist/petal-toolkit.es530.js +1 -1
  1691. package/dist/petal-toolkit.es531.js +2 -2
  1692. package/dist/petal-toolkit.es532.js +1 -1
  1693. package/dist/petal-toolkit.es533.js +1 -1
  1694. package/dist/petal-toolkit.es534.js +1 -1
  1695. package/dist/petal-toolkit.es535.js +2 -2
  1696. package/dist/petal-toolkit.es536.js +1 -1
  1697. package/dist/petal-toolkit.es537.js +2 -2
  1698. package/dist/petal-toolkit.es538.js +2 -2
  1699. package/dist/petal-toolkit.es539.js +2 -2
  1700. package/dist/petal-toolkit.es540.js +1 -1
  1701. package/dist/petal-toolkit.es541.js +1 -1
  1702. package/dist/petal-toolkit.es542.js +2 -2
  1703. package/dist/petal-toolkit.es543.js +1 -1
  1704. package/dist/petal-toolkit.es544.js +1 -1
  1705. package/dist/petal-toolkit.es545.js +1 -1
  1706. package/dist/petal-toolkit.es546.js +1 -1
  1707. package/dist/petal-toolkit.es547.js +1 -1
  1708. package/dist/petal-toolkit.es548.js +3 -3
  1709. package/dist/petal-toolkit.es549.js +1 -1
  1710. package/dist/petal-toolkit.es550.js +3 -3
  1711. package/dist/petal-toolkit.es551.js +2 -2
  1712. package/dist/petal-toolkit.es552.js +1 -1
  1713. package/dist/petal-toolkit.es553.js +1 -1
  1714. package/dist/petal-toolkit.es554.js +1 -1
  1715. package/dist/petal-toolkit.es555.js +1 -1
  1716. package/dist/petal-toolkit.es556.js +1 -1
  1717. package/dist/petal-toolkit.es557.js +1 -1
  1718. package/dist/petal-toolkit.es558.js +1 -1
  1719. package/dist/petal-toolkit.es559.js +1 -1
  1720. package/dist/petal-toolkit.es560.js +1 -1
  1721. package/dist/petal-toolkit.es561.js +1 -1
  1722. package/dist/petal-toolkit.es562.js +1 -1
  1723. package/dist/petal-toolkit.es563.js +1 -1
  1724. package/dist/petal-toolkit.es564.js +1 -1
  1725. package/dist/petal-toolkit.es565.js +1 -1
  1726. package/dist/petal-toolkit.es566.js +1 -1
  1727. package/dist/petal-toolkit.es567.js +1 -1
  1728. package/dist/petal-toolkit.es568.js +1 -1
  1729. package/dist/petal-toolkit.es569.js +1 -1
  1730. package/dist/petal-toolkit.es570.js +4 -4
  1731. package/dist/petal-toolkit.es571.js +1 -1
  1732. package/dist/petal-toolkit.es572.js +2 -2
  1733. package/dist/petal-toolkit.es573.js +1 -1
  1734. package/dist/petal-toolkit.es574.js +1 -1
  1735. package/dist/petal-toolkit.es575.js +1 -1
  1736. package/dist/petal-toolkit.es576.js +1 -1
  1737. package/dist/petal-toolkit.es577.js +1 -1
  1738. package/dist/petal-toolkit.es578.js +1 -1
  1739. package/dist/petal-toolkit.es579.js +1 -1
  1740. package/dist/petal-toolkit.es58.js +79 -82
  1741. package/dist/petal-toolkit.es58.js.map +1 -1
  1742. package/dist/petal-toolkit.es580.js +1 -1
  1743. package/dist/petal-toolkit.es581.js +1 -1
  1744. package/dist/petal-toolkit.es582.js +1 -1
  1745. package/dist/petal-toolkit.es583.js +1 -1
  1746. package/dist/petal-toolkit.es584.js +1 -1
  1747. package/dist/petal-toolkit.es585.js +1 -1
  1748. package/dist/petal-toolkit.es586.js +1 -1
  1749. package/dist/petal-toolkit.es587.js +1 -1
  1750. package/dist/petal-toolkit.es588.js +1 -1
  1751. package/dist/petal-toolkit.es589.js +1 -1
  1752. package/dist/petal-toolkit.es590.js +1 -1
  1753. package/dist/petal-toolkit.es591.js +1 -1
  1754. package/dist/petal-toolkit.es592.js +1 -1
  1755. package/dist/petal-toolkit.es593.js +1 -1
  1756. package/dist/petal-toolkit.es594.js +1 -1
  1757. package/dist/petal-toolkit.es595.js +1 -1
  1758. package/dist/petal-toolkit.es596.js +1 -1
  1759. package/dist/petal-toolkit.es597.js +1 -1
  1760. package/dist/petal-toolkit.es598.js +1 -1
  1761. package/dist/petal-toolkit.es599.js +1 -1
  1762. package/dist/petal-toolkit.es6.js +3 -3
  1763. package/dist/petal-toolkit.es600.js +1 -1
  1764. package/dist/petal-toolkit.es601.js +1 -1
  1765. package/dist/petal-toolkit.es602.js +1 -1
  1766. package/dist/petal-toolkit.es603.js +1 -1
  1767. package/dist/petal-toolkit.es604.js +1 -1
  1768. package/dist/petal-toolkit.es605.js +1 -1
  1769. package/dist/petal-toolkit.es606.js +1 -1
  1770. package/dist/petal-toolkit.es607.js +1 -1
  1771. package/dist/petal-toolkit.es608.js +1 -1
  1772. package/dist/petal-toolkit.es609.js +1 -1
  1773. package/dist/petal-toolkit.es610.js +1 -1
  1774. package/dist/petal-toolkit.es611.js +1 -1
  1775. package/dist/petal-toolkit.es612.js +1 -1
  1776. package/dist/petal-toolkit.es613.js +1 -1
  1777. package/dist/petal-toolkit.es614.js +1 -1
  1778. package/dist/petal-toolkit.es615.js +1 -1
  1779. package/dist/petal-toolkit.es616.js +1 -1
  1780. package/dist/petal-toolkit.es617.js +1 -1
  1781. package/dist/petal-toolkit.es618.js +1 -1
  1782. package/dist/petal-toolkit.es619.js +1 -1
  1783. package/dist/petal-toolkit.es620.js +1 -1
  1784. package/dist/petal-toolkit.es621.js +1 -1
  1785. package/dist/petal-toolkit.es622.js +1 -1
  1786. package/dist/petal-toolkit.es623.js +1 -1
  1787. package/dist/petal-toolkit.es624.js +1 -1
  1788. package/dist/petal-toolkit.es625.js +1 -1
  1789. package/dist/petal-toolkit.es626.js +1 -1
  1790. package/dist/petal-toolkit.es627.js +1 -1
  1791. package/dist/petal-toolkit.es628.js +1 -1
  1792. package/dist/petal-toolkit.es629.js +1 -1
  1793. package/dist/petal-toolkit.es63.js +82 -79
  1794. package/dist/petal-toolkit.es63.js.map +1 -1
  1795. package/dist/petal-toolkit.es630.js +1 -1
  1796. package/dist/petal-toolkit.es631.js +1 -1
  1797. package/dist/petal-toolkit.es632.js +1 -1
  1798. package/dist/petal-toolkit.es633.js +1 -1
  1799. package/dist/petal-toolkit.es634.js +1 -1
  1800. package/dist/petal-toolkit.es635.js +1 -1
  1801. package/dist/petal-toolkit.es636.js +1 -1
  1802. package/dist/petal-toolkit.es637.js +1 -1
  1803. package/dist/petal-toolkit.es638.js +1 -1
  1804. package/dist/petal-toolkit.es639.js +1 -1
  1805. package/dist/petal-toolkit.es640.js +1 -1
  1806. package/dist/petal-toolkit.es641.js +1 -1
  1807. package/dist/petal-toolkit.es642.js +1 -1
  1808. package/dist/petal-toolkit.es643.js +1 -1
  1809. package/dist/petal-toolkit.es644.js +1 -1
  1810. package/dist/petal-toolkit.es645.js +2 -2
  1811. package/dist/petal-toolkit.es646.js +1 -1
  1812. package/dist/petal-toolkit.es647.js +1 -1
  1813. package/dist/petal-toolkit.es648.js +1 -1
  1814. package/dist/petal-toolkit.es649.js +1 -1
  1815. package/dist/petal-toolkit.es650.js +1 -1
  1816. package/dist/petal-toolkit.es651.js +1 -1
  1817. package/dist/petal-toolkit.es652.js +1 -1
  1818. package/dist/petal-toolkit.es653.js +1 -1
  1819. package/dist/petal-toolkit.es654.js +1 -1
  1820. package/dist/petal-toolkit.es655.js +1 -1
  1821. package/dist/petal-toolkit.es656.js +1 -1
  1822. package/dist/petal-toolkit.es657.js +1 -1
  1823. package/dist/petal-toolkit.es658.js +1 -1
  1824. package/dist/petal-toolkit.es659.js +1 -1
  1825. package/dist/petal-toolkit.es66.js +1 -1
  1826. package/dist/petal-toolkit.es660.js +2 -2
  1827. package/dist/petal-toolkit.es661.js +1 -1
  1828. package/dist/petal-toolkit.es662.js +1 -1
  1829. package/dist/petal-toolkit.es663.js +1 -1
  1830. package/dist/petal-toolkit.es664.js +1 -1
  1831. package/dist/petal-toolkit.es665.js +1 -1
  1832. package/dist/petal-toolkit.es666.js +1 -1
  1833. package/dist/petal-toolkit.es667.js +1 -1
  1834. package/dist/petal-toolkit.es668.js +1 -1
  1835. package/dist/petal-toolkit.es669.js +1 -1
  1836. package/dist/petal-toolkit.es67.js +1 -1
  1837. package/dist/petal-toolkit.es670.js +1 -1
  1838. package/dist/petal-toolkit.es671.js +1 -1
  1839. package/dist/petal-toolkit.es672.js +1 -1
  1840. package/dist/petal-toolkit.es673.js +1 -1
  1841. package/dist/petal-toolkit.es674.js +1 -1
  1842. package/dist/petal-toolkit.es675.js +233 -2
  1843. package/dist/petal-toolkit.es675.js.map +1 -1
  1844. package/dist/petal-toolkit.es676.js +34 -2
  1845. package/dist/petal-toolkit.es676.js.map +1 -1
  1846. package/dist/petal-toolkit.es677.js +2 -2
  1847. package/dist/petal-toolkit.es679.js +2 -2
  1848. package/dist/petal-toolkit.es68.js +1 -1
  1849. package/dist/petal-toolkit.es681.js +2 -2
  1850. package/dist/petal-toolkit.es682.js +2 -2
  1851. package/dist/petal-toolkit.es683.js +2 -2
  1852. package/dist/petal-toolkit.es684.js +2 -2
  1853. package/dist/petal-toolkit.es685.js +2 -10
  1854. package/dist/petal-toolkit.es685.js.map +1 -1
  1855. package/dist/petal-toolkit.es687.js +9 -11
  1856. package/dist/petal-toolkit.es687.js.map +1 -1
  1857. package/dist/petal-toolkit.es689.js +12 -2
  1858. package/dist/petal-toolkit.es689.js.map +1 -1
  1859. package/dist/petal-toolkit.es69.js +1 -1
  1860. package/dist/petal-toolkit.es690.js +2 -2
  1861. package/dist/petal-toolkit.es691.js +2 -2
  1862. package/dist/petal-toolkit.es692.js +2 -2
  1863. package/dist/petal-toolkit.es693.js +2 -2
  1864. package/dist/petal-toolkit.es694.js +2 -2
  1865. package/dist/petal-toolkit.es695.js +2 -2
  1866. package/dist/petal-toolkit.es696.js +2 -2
  1867. package/dist/petal-toolkit.es697.js +2 -2
  1868. package/dist/petal-toolkit.es698.js +2 -2
  1869. package/dist/petal-toolkit.es7.js +2 -2
  1870. package/dist/petal-toolkit.es70.js +1 -1
  1871. package/dist/petal-toolkit.es701.js +2 -2
  1872. package/dist/petal-toolkit.es702.js +2 -2
  1873. package/dist/petal-toolkit.es703.js +2 -2
  1874. package/dist/petal-toolkit.es704.js +2 -2
  1875. package/dist/petal-toolkit.es705.js +2 -2
  1876. package/dist/petal-toolkit.es706.js +2 -2
  1877. package/dist/petal-toolkit.es707.js +2 -2
  1878. package/dist/petal-toolkit.es709.js +2 -2
  1879. package/dist/petal-toolkit.es71.js +1 -1
  1880. package/dist/petal-toolkit.es711.js +2 -2
  1881. package/dist/petal-toolkit.es713.js +2 -2
  1882. package/dist/petal-toolkit.es714.js +2 -2
  1883. package/dist/petal-toolkit.es715.js +2 -2
  1884. package/dist/petal-toolkit.es717.js +2 -2
  1885. package/dist/petal-toolkit.es718.js +2 -66
  1886. package/dist/petal-toolkit.es718.js.map +1 -1
  1887. package/dist/petal-toolkit.es719.js +2 -2
  1888. package/dist/petal-toolkit.es72.js +1 -1
  1889. package/dist/petal-toolkit.es720.js +66 -2
  1890. package/dist/petal-toolkit.es720.js.map +1 -1
  1891. package/dist/petal-toolkit.es721.js +2 -2
  1892. package/dist/petal-toolkit.es722.js +2 -10
  1893. package/dist/petal-toolkit.es722.js.map +1 -1
  1894. package/dist/petal-toolkit.es723.js +2 -2
  1895. package/dist/petal-toolkit.es724.js +9 -10
  1896. package/dist/petal-toolkit.es724.js.map +1 -1
  1897. package/dist/petal-toolkit.es726.js +11 -2
  1898. package/dist/petal-toolkit.es726.js.map +1 -1
  1899. package/dist/petal-toolkit.es727.js +2 -2
  1900. package/dist/petal-toolkit.es729.js +2 -10
  1901. package/dist/petal-toolkit.es729.js.map +1 -1
  1902. package/dist/petal-toolkit.es73.js +1 -1
  1903. package/dist/petal-toolkit.es730.js +2 -2
  1904. package/dist/petal-toolkit.es731.js +10 -2
  1905. package/dist/petal-toolkit.es731.js.map +1 -1
  1906. package/dist/petal-toolkit.es733.js +2 -2
  1907. package/dist/petal-toolkit.es735.js +2 -2
  1908. package/dist/petal-toolkit.es736.js +2 -2
  1909. package/dist/petal-toolkit.es737.js +2 -19
  1910. package/dist/petal-toolkit.es737.js.map +1 -1
  1911. package/dist/petal-toolkit.es738.js +2 -2
  1912. package/dist/petal-toolkit.es739.js +19 -2
  1913. package/dist/petal-toolkit.es739.js.map +1 -1
  1914. package/dist/petal-toolkit.es74.js +1 -1
  1915. package/dist/petal-toolkit.es740.js +2 -2
  1916. package/dist/petal-toolkit.es744.js +2 -2
  1917. package/dist/petal-toolkit.es745.js +2 -2
  1918. package/dist/petal-toolkit.es746.js +2 -2
  1919. package/dist/petal-toolkit.es747.js +2 -2
  1920. package/dist/petal-toolkit.es748.js +2 -2
  1921. package/dist/petal-toolkit.es749.js +2 -2
  1922. package/dist/petal-toolkit.es75.js +2 -2
  1923. package/dist/petal-toolkit.es750.js +2 -2
  1924. package/dist/petal-toolkit.es751.js +2 -2
  1925. package/dist/petal-toolkit.es755.js +2 -48
  1926. package/dist/petal-toolkit.es755.js.map +1 -1
  1927. package/dist/petal-toolkit.es757.js +48 -2
  1928. package/dist/petal-toolkit.es757.js.map +1 -1
  1929. package/dist/petal-toolkit.es76.js +3 -3
  1930. package/dist/petal-toolkit.es760.js +2 -2
  1931. package/dist/petal-toolkit.es761.js +2 -2
  1932. package/dist/petal-toolkit.es762.js +2 -2
  1933. package/dist/petal-toolkit.es763.js +2 -2
  1934. package/dist/petal-toolkit.es765.js +2 -2
  1935. package/dist/petal-toolkit.es767.js +2 -6
  1936. package/dist/petal-toolkit.es767.js.map +1 -1
  1937. package/dist/petal-toolkit.es769.js +6 -2
  1938. package/dist/petal-toolkit.es769.js.map +1 -1
  1939. package/dist/petal-toolkit.es77.js +2 -2
  1940. package/dist/petal-toolkit.es771.js +2 -2
  1941. package/dist/petal-toolkit.es774.js +2 -2
  1942. package/dist/petal-toolkit.es776.js +2 -2
  1943. package/dist/petal-toolkit.es779.js +2 -2
  1944. package/dist/petal-toolkit.es78.js +1 -1
  1945. package/dist/petal-toolkit.es780.js +2 -2
  1946. package/dist/petal-toolkit.es781.js +2 -2
  1947. package/dist/petal-toolkit.es789.js +2 -2
  1948. package/dist/petal-toolkit.es79.js +1 -1
  1949. package/dist/petal-toolkit.es790.js +2 -18
  1950. package/dist/petal-toolkit.es790.js.map +1 -1
  1951. package/dist/petal-toolkit.es791.js +2 -2
  1952. package/dist/petal-toolkit.es792.js +18 -2
  1953. package/dist/petal-toolkit.es792.js.map +1 -1
  1954. package/dist/petal-toolkit.es793.js +2 -2
  1955. package/dist/petal-toolkit.es794.js +2 -2
  1956. package/dist/petal-toolkit.es796.js +2 -2
  1957. package/dist/petal-toolkit.es797.js +2 -2
  1958. package/dist/petal-toolkit.es8.js +2 -2
  1959. package/dist/petal-toolkit.es80.js +1 -1
  1960. package/dist/petal-toolkit.es805.js +2 -2
  1961. package/dist/petal-toolkit.es806.js +2 -2
  1962. package/dist/petal-toolkit.es808.js +2 -2
  1963. package/dist/petal-toolkit.es81.js +2 -2
  1964. package/dist/petal-toolkit.es82.js +1 -1
  1965. package/dist/petal-toolkit.es822.js +2 -2
  1966. package/dist/petal-toolkit.es823.js +2 -2
  1967. package/dist/petal-toolkit.es825.js +2 -2
  1968. package/dist/petal-toolkit.es828.js +2 -2
  1969. package/dist/petal-toolkit.es829.js +2 -2
  1970. package/dist/petal-toolkit.es83.js +1 -1
  1971. package/dist/petal-toolkit.es830.js +2 -2
  1972. package/dist/petal-toolkit.es831.js +2 -2
  1973. package/dist/petal-toolkit.es832.js +2 -2
  1974. package/dist/petal-toolkit.es838.js +2 -2
  1975. package/dist/petal-toolkit.es839.js +2 -2
  1976. package/dist/petal-toolkit.es84.js +1 -1
  1977. package/dist/petal-toolkit.es840.js +2 -2
  1978. package/dist/petal-toolkit.es841.js +2 -2
  1979. package/dist/petal-toolkit.es842.js +2 -2
  1980. package/dist/petal-toolkit.es844.js +2 -2
  1981. package/dist/petal-toolkit.es845.js +2 -2
  1982. package/dist/petal-toolkit.es846.js +2 -2
  1983. package/dist/petal-toolkit.es847.js +2 -2
  1984. package/dist/petal-toolkit.es848.js +2 -2
  1985. package/dist/petal-toolkit.es85.js +1 -1
  1986. package/dist/petal-toolkit.es850.js +2 -4737
  1987. package/dist/petal-toolkit.es850.js.map +1 -1
  1988. package/dist/petal-toolkit.es851.js +2 -571
  1989. package/dist/petal-toolkit.es851.js.map +1 -1
  1990. package/dist/petal-toolkit.es852.js +4734 -135
  1991. package/dist/petal-toolkit.es852.js.map +1 -1
  1992. package/dist/petal-toolkit.es853.js +570 -5
  1993. package/dist/petal-toolkit.es853.js.map +1 -1
  1994. package/dist/petal-toolkit.es854.js +134 -27
  1995. package/dist/petal-toolkit.es854.js.map +1 -1
  1996. package/dist/petal-toolkit.es855.js +6 -2
  1997. package/dist/petal-toolkit.es855.js.map +1 -1
  1998. package/dist/petal-toolkit.es856.js +31 -2
  1999. package/dist/petal-toolkit.es856.js.map +1 -1
  2000. package/dist/petal-toolkit.es857.js +2 -12
  2001. package/dist/petal-toolkit.es857.js.map +1 -1
  2002. package/dist/petal-toolkit.es858.js +2 -2
  2003. package/dist/petal-toolkit.es859.js +12 -2
  2004. package/dist/petal-toolkit.es859.js.map +1 -1
  2005. package/dist/petal-toolkit.es86.js +1 -1
  2006. package/dist/petal-toolkit.es861.js +2 -2
  2007. package/dist/petal-toolkit.es862.js +2 -22
  2008. package/dist/petal-toolkit.es862.js.map +1 -1
  2009. package/dist/petal-toolkit.es864.js +21 -88
  2010. package/dist/petal-toolkit.es864.js.map +1 -1
  2011. package/dist/petal-toolkit.es866.js +89 -2
  2012. package/dist/petal-toolkit.es866.js.map +1 -1
  2013. package/dist/petal-toolkit.es867.js +2 -6
  2014. package/dist/petal-toolkit.es867.js.map +1 -1
  2015. package/dist/petal-toolkit.es869.js +5 -26
  2016. package/dist/petal-toolkit.es869.js.map +1 -1
  2017. package/dist/petal-toolkit.es87.js +1 -1
  2018. package/dist/petal-toolkit.es870.js +2 -45
  2019. package/dist/petal-toolkit.es870.js.map +1 -1
  2020. package/dist/petal-toolkit.es871.js +25 -239
  2021. package/dist/petal-toolkit.es871.js.map +1 -1
  2022. package/dist/petal-toolkit.es872.js +45 -2
  2023. package/dist/petal-toolkit.es872.js.map +1 -1
  2024. package/dist/petal-toolkit.es873.js +238 -31
  2025. package/dist/petal-toolkit.es873.js.map +1 -1
  2026. package/dist/petal-toolkit.es874.js +2 -2
  2027. package/dist/petal-toolkit.es875.js +34 -2
  2028. package/dist/petal-toolkit.es875.js.map +1 -1
  2029. package/dist/petal-toolkit.es876.js +2 -2
  2030. package/dist/petal-toolkit.es877.js +2 -10
  2031. package/dist/petal-toolkit.es877.js.map +1 -1
  2032. package/dist/petal-toolkit.es878.js +2 -2
  2033. package/dist/petal-toolkit.es879.js +10 -2
  2034. package/dist/petal-toolkit.es879.js.map +1 -1
  2035. package/dist/petal-toolkit.es88.js +1 -1
  2036. package/dist/petal-toolkit.es880.js +2 -2
  2037. package/dist/petal-toolkit.es881.js +2 -2
  2038. package/dist/petal-toolkit.es882.js +2 -2
  2039. package/dist/petal-toolkit.es883.js +2 -2
  2040. package/dist/petal-toolkit.es884.js +2 -2
  2041. package/dist/petal-toolkit.es885.js +2 -2
  2042. package/dist/petal-toolkit.es886.js +2 -2
  2043. package/dist/petal-toolkit.es89.js +2 -2
  2044. package/dist/petal-toolkit.es890.js +2 -2
  2045. package/dist/petal-toolkit.es891.js +2 -2
  2046. package/dist/petal-toolkit.es892.js +2 -2
  2047. package/dist/petal-toolkit.es893.js +2 -2
  2048. package/dist/petal-toolkit.es895.js +2 -2
  2049. package/dist/petal-toolkit.es896.js +2 -2
  2050. package/dist/petal-toolkit.es897.js +2 -2
  2051. package/dist/petal-toolkit.es898.js +2 -2
  2052. package/dist/petal-toolkit.es899.js +2 -2
  2053. package/dist/petal-toolkit.es9.js +3 -3
  2054. package/dist/petal-toolkit.es90.js +2 -2
  2055. package/dist/petal-toolkit.es901.js +2 -2
  2056. package/dist/petal-toolkit.es903.js +2 -2
  2057. package/dist/petal-toolkit.es904.js +2 -2
  2058. package/dist/petal-toolkit.es905.js +2 -2
  2059. package/dist/petal-toolkit.es906.js +2 -2
  2060. package/dist/petal-toolkit.es907.js +2 -10
  2061. package/dist/petal-toolkit.es907.js.map +1 -1
  2062. package/dist/petal-toolkit.es908.js +2 -2
  2063. package/dist/petal-toolkit.es909.js +10 -2
  2064. package/dist/petal-toolkit.es909.js.map +1 -1
  2065. package/dist/petal-toolkit.es91.js +2 -2
  2066. package/dist/petal-toolkit.es910.js +2 -2
  2067. package/dist/petal-toolkit.es911.js +2 -2
  2068. package/dist/petal-toolkit.es912.js +2 -2
  2069. package/dist/petal-toolkit.es913.js +2 -2
  2070. package/dist/petal-toolkit.es914.js +2 -2
  2071. package/dist/petal-toolkit.es915.js +2 -2
  2072. package/dist/petal-toolkit.es916.js +2 -2
  2073. package/dist/petal-toolkit.es917.js +2 -2
  2074. package/dist/petal-toolkit.es918.js +2 -2
  2075. package/dist/petal-toolkit.es919.js +2 -2
  2076. package/dist/petal-toolkit.es92.js +2 -2
  2077. package/dist/petal-toolkit.es920.js +2 -2
  2078. package/dist/petal-toolkit.es924.js +2 -2
  2079. package/dist/petal-toolkit.es926.js +2 -2
  2080. package/dist/petal-toolkit.es927.js +2 -2
  2081. package/dist/petal-toolkit.es929.js +2 -2
  2082. package/dist/petal-toolkit.es93.js +1 -1
  2083. package/dist/petal-toolkit.es930.js +2 -2
  2084. package/dist/petal-toolkit.es931.js +2 -2
  2085. package/dist/petal-toolkit.es932.js +2 -2
  2086. package/dist/petal-toolkit.es933.js +2 -2
  2087. package/dist/petal-toolkit.es934.js +2 -2
  2088. package/dist/petal-toolkit.es935.js +2 -2
  2089. package/dist/petal-toolkit.es936.js +2 -2
  2090. package/dist/petal-toolkit.es938.js +2 -2
  2091. package/dist/petal-toolkit.es94.js +1 -1
  2092. package/dist/petal-toolkit.es940.js +2 -2
  2093. package/dist/petal-toolkit.es941.js +2 -2
  2094. package/dist/petal-toolkit.es942.js +2 -2
  2095. package/dist/petal-toolkit.es943.js +2 -2
  2096. package/dist/petal-toolkit.es944.js +2 -2
  2097. package/dist/petal-toolkit.es945.js +2 -2
  2098. package/dist/petal-toolkit.es946.js +2 -2
  2099. package/dist/petal-toolkit.es947.js +2 -2
  2100. package/dist/petal-toolkit.es948.js +2 -2
  2101. package/dist/petal-toolkit.es949.js +2 -2
  2102. package/dist/petal-toolkit.es95.js +1 -1
  2103. package/dist/petal-toolkit.es950.js +2 -2
  2104. package/dist/petal-toolkit.es951.js +2 -2
  2105. package/dist/petal-toolkit.es954.js +2 -2
  2106. package/dist/petal-toolkit.es955.js +2 -10
  2107. package/dist/petal-toolkit.es955.js.map +1 -1
  2108. package/dist/petal-toolkit.es957.js +10 -2
  2109. package/dist/petal-toolkit.es957.js.map +1 -1
  2110. package/dist/petal-toolkit.es96.js +1 -1
  2111. package/dist/petal-toolkit.es962.js +2 -2
  2112. package/dist/petal-toolkit.es963.js +2 -10
  2113. package/dist/petal-toolkit.es963.js.map +1 -1
  2114. package/dist/petal-toolkit.es965.js +10 -2
  2115. package/dist/petal-toolkit.es965.js.map +1 -1
  2116. package/dist/petal-toolkit.es97.js +2 -2
  2117. package/dist/petal-toolkit.es977.js +2 -2
  2118. package/dist/petal-toolkit.es979.js +2 -2
  2119. package/dist/petal-toolkit.es98.js +2 -2
  2120. package/dist/petal-toolkit.es987.js +2 -2
  2121. package/dist/petal-toolkit.es989.js +2 -2
  2122. package/dist/petal-toolkit.es99.js +1 -1
  2123. package/dist/petal-toolkit.es995.js +2 -2
  2124. package/dist/petal-toolkit.es997.js +2 -2
  2125. package/dist/scichart/drawing/DrawingManager.d.ts +9 -9
  2126. package/dist/scichart/drawing/index.d.ts +1 -1
  2127. package/dist/toolkit.css +1 -0
  2128. package/package.json +4 -4
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./petal-toolkit.cjs1129.js"),Ee=require("./petal-toolkit.cjs73.js"),we=require("./petal-toolkit.cjs724.js"),Re=require("./petal-toolkit.cjs576.js"),Ae=require("./petal-toolkit.cjs554.js"),Le=require("./petal-toolkit.cjs555.js"),De=require("./petal-toolkit.cjs557.js"),Me=require("./petal-toolkit.cjs853.js"),Oe=require("./petal-toolkit.cjs564.js"),Be=require("./petal-toolkit.cjs569.js"),qe=require("./petal-toolkit.cjs588.js"),je=require("./petal-toolkit.cjs619.js"),Ie=require("./petal-toolkit.cjs626.js"),ke=require("./petal-toolkit.cjs648.js"),Ve=require("./petal-toolkit.cjs650.js"),xe=require("./petal-toolkit.cjs226.js"),ze=require("./petal-toolkit.cjs247.js"),Ge=require("./petal-toolkit.cjs296.js"),He=require("./petal-toolkit.cjs319.js"),Ye=require("./petal-toolkit.cjs852.js"),Fe=require("./petal-toolkit.cjs241.js"),We=require("./petal-toolkit.cjs492.js"),Ne=require("./petal-toolkit.cjs1130.js"),Je=require("./petal-toolkit.cjs1131.js");var te;function Xe(){return te||(te=1,(function(y){var re=w.__exports&&w.__exports.__extends||(function(){var n=function(i,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])},n(i,e)};return function(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(i,e);function r(){this.constructor=i}i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),q=w.__exports&&w.__exports.__assign||function(){return q=Object.assign||function(n){for(var i,e=1,r=arguments.length;e<r;e++){i=arguments[e];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(n[t]=i[t])}return n},q.apply(this,arguments)},j=w.__exports&&w.__exports.__spreadArray||function(n,i,e){if(e||arguments.length===2)for(var r=0,t=i.length,o;r<t;r++)(o||!(r in i))&&(o||(o=Array.prototype.slice.call(i,0,r)),o[r]=i[r]);return n.concat(o||Array.prototype.slice.call(i))};Object.defineProperty(y,"__esModule",{value:!0}),y.addEventListenerToPieSegment=y.SciChartPieSurface=y.EPieValueMode=y.EPieType=y.ESizingMode=void 0;var ie=Ee.__require(),z=we.__require(),W=Re.__require(),oe=Ae.__require(),I=Le.__require(),ae=De.__require(),O=Me.__require(),ne=Oe.__require(),N=Be.__require(),de=qe.__require(),se=je.__require(),le=Ie.__require(),J=ke.__require(),ce=Ve.__require(),X=xe.__require(),ue=ze.__require(),he=Ge.__require(),ve=He.__require(),G=Ye.__require(),U=Fe.__require(),Z=We.__require(),m=Ne.__require(),pe=Je.__require(),g=Math.PI/180,k=90,H;(function(n){n.Absolute="Absolute",n.Relative="Relative"})(H=y.ESizingMode||(y.ESizingMode={}));var V;(function(n){n.Pie="Pie",n.Donut="Donut"})(V=y.EPieType||(y.EPieType={}));var K;(function(n){n.Percentage="Percentage",n.Raw="Raw"})(K=y.EPieValueMode||(y.EPieValueMode={}));var fe=(function(n){re(i,n);function i(e,r){e===void 0&&(e={});var t=this,o,a,s,u,l,d,p,h,f,S,P,b,_,C,c,T;t=n.call(this)||this,t.animate=!0,t.animationFrames=30,t.rendered=new ae.EventHandler,t.surfaceType=le.ESurfaceType.SciChartPieSurfaceType,t.pieTypeProperty=V.Pie,t.holeRadiusProperty=.5,t.holeRadiusSizingModeProperty=H.Relative,t.seriesSpacingProperty=0,t.labelRadiusProperty=1,t.titleDivs=[],t.sweepAnimationDone=!1,t.suspendUpdate=!1,t.themeProviderProperty=new X.SciChartJSDarkTheme,t.previousThemeProviderProperty=new X.SciChartJSDarkTheme,t.deletables=[],t.valueModeProperty=K.Percentage,t.labelStyleProperty={fontSize:14,fontFamily:J.DEFAULT_FONT_FAMILY,color:"#1e323d",fontWeight:"bold"},t.id=(o=r==null?void 0:r.id)!==null&&o!==void 0?o:(0,ce.generateGuid)(),t.domChartRoot=e.domChartRoot,t.domCanvas2D=e.domCanvas2D,t.domSvgContainer=e.domSvgContainer,t.domSvgAdornerLayer=e.domSvgAdornerLayer,t.domDivContainer=e.domDivContainer,t.domBackgroundSvgContainer=e.domBackgroundSvgContainer;var E=t.domCanvas2D.width/Z.DpiHelper.PIXEL_RATIO,L=t.domCanvas2D.height/Z.DpiHelper.PIXEL_RATIO;return t.viewRectProperty=new N.Rect(0,0,E,L),z.IS_TEST_ENV||(t.resizeSubscriptionToken=G.default.subscribeToResize(e.domCanvas2D,e.aspect,t)),t.drawChart=t.drawChart.bind(t),t.deleteInternals=t.deleteInternals.bind(t),t.invalidateElement=t.invalidateElement.bind(t),t.detachPieSegment=t.detachPieSegment.bind(t),t.attachPieSegment=t.attachPieSegment.bind(t),t.pieSegments=new ne.ObservableArray,z.IS_TEST_ENV||t.pieSegments.collectionChanged.subscribe(function(v){var D,R;(D=v.getOldItems())===null||D===void 0||D.forEach(t.detachPieSegment),(R=v.getNewItems())===null||R===void 0||R.forEach(t.attachPieSegment),t.invalidateElement()}),t.applySciChartBackground(U.SciChartSurfaceBase.DEFAULT_THEME.sciChartBackground),t.legend=new ve.SciChartPieLegend,t.legend.setRootDiv(t.domDivContainer),t.legend.setPieSegmentArray(t.pieSegments.asArray()),t.legend.setInvalidateParentSurface(t.invalidateElement),t.legend.setParentSurface(t),t.heightAspect=(a=r==null?void 0:r.heightAspect)!==null&&a!==void 0?a:0,t.widthAspect=(s=r==null?void 0:r.widthAspect)!==null&&s!==void 0?s:0,t.pieTypeProperty=(u=r==null?void 0:r.pieType)!==null&&u!==void 0?u:t.pieType,t.holeRadiusProperty=(l=r==null?void 0:r.holeRadius)!==null&&l!==void 0?l:t.holeRadius,t.animate=(d=r==null?void 0:r.animate)!==null&&d!==void 0?d:t.animate,t.holeRadiusSizingModeProperty=(p=r==null?void 0:r.holeRadiusSizingMode)!==null&&p!==void 0?p:t.holeRadiusSizingModeProperty,t.seriesSpacingProperty=(h=r==null?void 0:r.seriesSpacing)!==null&&h!==void 0?h:t.seriesSpacingProperty,t.labelRadiusProperty=(f=r==null?void 0:r.labelRadiusAdjustment)!==null&&f!==void 0?f:t.labelRadiusProperty,t.legend.showLegend=(S=r==null?void 0:r.showLegend)!==null&&S!==void 0?S:t.legend.showLegend,t.legend.animate=(P=r==null?void 0:r.animateLegend)!==null&&P!==void 0?P:t.legend.animate,t.legend.showCheckboxes=(b=r==null?void 0:r.showLegendCheckBoxes)!==null&&b!==void 0?b:t.legend.showCheckboxes,t.legend.showSeriesMarkers=(_=r==null?void 0:r.showLegendSeriesMarkers)!==null&&_!==void 0?_:t.legend.showSeriesMarkers,t.paddingProperty=(C=r==null?void 0:r.padding)!==null&&C!==void 0?C:t.paddingProperty,r!=null&&r.labelProvider&&("getSegmentText"in(r==null?void 0:r.labelProvider)||(r.labelProvider=(0,ie.createType)(de.EBaseType.LabelProvider,r.labelProvider.type,void 0,r.labelProvider.options))),t.labelProvider=(c=r==null?void 0:r.labelProvider)!==null&&c!==void 0?c:new he.PieLabelProvider,t.valueModeProperty=(T=r==null?void 0:r.valueMode)!==null&&T!==void 0?T:t.valueModeProperty,t}return i.create=function(e,r){var t,o,a=G.default.initCanvas(e,(t=r==null?void 0:r.widthAspect)!==null&&t!==void 0?t:0,(o=r==null?void 0:r.heightAspect)!==null&&o!==void 0?o:0,G.default.ECanvasType.svg,void 0,r==null?void 0:r.touchAction);return new Promise(function(s){var u,l,d,p=j(j(j(j([],O.sciChartDestinations,!0),O.sciChart3DDestinations,!0),O.sciChartSingleDestinations,!0),O.sciChartPieDestinations,!0).filter(function(f){return f.sciChartSurface.domChartRoot.id===a.domChartRoot.id});p.forEach(function(f){return f.sciChartSurface.delete()}),r=U.SciChartSurfaceBase.resolveOptions(r);var h=new i(a,r);h.applyTheme(r==null?void 0:r.theme),O.sciChartPieDestinations.push({canvasElementId:(u=a.domCanvas2D)===null||u===void 0?void 0:u.id,sciChartSurface:h,width:(l=a.domCanvas2D)===null||l===void 0?void 0:l.width,height:(d=a.domCanvas2D)===null||d===void 0?void 0:d.height}),h.setDestinations(O.sciChartPieDestinations),setTimeout(function(){return s(h)},0)})},Object.defineProperty(i.prototype,"isDeleted",{get:function(){return this.isDeletedProperty},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelProvider",{get:function(){return this.labelProviderProperty},set:function(e){e&&this.labelProviderProperty!==e&&(this.labelProviderProperty=e,this.notifyPropertyChanged(m.PROPERTY.LABEL_PROVIDER))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelStyle",{get:function(){return this.labelStyleProperty},set:function(e){this.labelStyleProperty=q(q({},this.labelStyle),e),this.notifyPropertyChanged(m.PROPERTY.TEXT_STYLE)},enumerable:!1,configurable:!0}),i.prototype.applyTheme=function(e){this.previousThemeProviderProperty=this.themeProviderProperty,this.themeProviderProperty=e,this.applySciChartBackground(e.sciChartBackground),this.labelStyle.color===this.previousThemeProvider.tickTextBrush&&(this.labelStyle={color:e.tickTextBrush}),this.invalidateElement()},Object.defineProperty(i.prototype,"themeProvider",{get:function(){return this.themeProviderProperty},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"previousThemeProvider",{get:function(){return this.previousThemeProviderProperty},enumerable:!1,configurable:!0}),i.prototype.setDestinations=function(e){this.destinations=e},Object.defineProperty(i.prototype,"otherSurfaces",{get:function(){var e=this;return this.destinations?this.destinations.map(function(r){return r.sciChartSurface}).filter(function(r){return r!==e}):[]},enumerable:!1,configurable:!0}),i.prototype.invalidateElement=function(e){this.isValidToDraw()&&(typeof e=="string"&&e===pe.PROPERTY.VALUE&&(this.sweepAnimationDone=!1),this.update())},i.prototype.update=function(){var e;this.suspendUpdate||(this.draw(),(e=this.legend)===null||e===void 0||e.update())},i.prototype.delete=function(){var e=this,r;this.deleteInternals(),this.legend=(0,I.deleteSafe)(this.legend),this.labelProvider=(0,I.deleteSafe)(this.labelProvider),this.resizeSubscriptionToken=(0,I.deleteSafe)(this.resizeSubscriptionToken);var t=(r=this.destinations)===null||r===void 0?void 0:r.findIndex(function(o){return o.sciChartSurface.id===e.id});t>=0&&this.destinations.splice(t,1),this.isDeletedProperty=!0},i.prototype.deleteInternals=function(e){var r=this;this.svg&&(this.domSvgContainer.removeChild(this.svg),this.svg=void 0),e||(this.titleDivs.forEach(function(s){r.domDivContainer.removeChild(s)}),this.titleDivs=[]);for(var t=0,o=this.deletables;t<o.length;t++){var a=o[t];(0,I.deleteSafe)(a)}this.deletables=[]},i.prototype.addDeletable=function(e){this.deletables.push(e)},i.prototype.changeViewportSize=function(e,r){var t=e,o=r;this.viewRectProperty=new N.Rect(0,0,e,r),this.changeDomViewportSize(t,o),this.invalidateElement()},Object.defineProperty(i.prototype,"pieType",{get:function(){return this.pieTypeProperty},set:function(e){this.pieTypeProperty=e,this.notifyPropertyChanged(m.PROPERTY.PIE_TYPE)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"holeRadius",{get:function(){return this.holeRadiusProperty},set:function(e){this.holeRadiusProperty=e,this.notifyPropertyChanged(m.PROPERTY.HOLE_RADIUS)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"holeRadiusSizingMode",{get:function(){return this.holeRadiusSizingModeProperty},set:function(e){this.holeRadiusSizingModeProperty=e,this.notifyPropertyChanged(m.PROPERTY.HOLE_RADIUS_SIZING_MODE)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"padding",{get:function(){return this.paddingProperty},set:function(e){this.paddingProperty!==e&&(this.paddingProperty=e,this.updateLegendMargin(),this.notifyPropertyChanged(m.PROPERTY.PADDING))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canvasBorder",{get:function(){return this.canvasBorderProperty},set:function(e){this.canvasBorderProperty!==e&&(this.canvasBorderProperty=e,this.updateLegendMargin(),this.notifyPropertyChanged(m.PROPERTY.PADDING))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"seriesSpacing",{get:function(){return this.seriesSpacingProperty},set:function(e){this.seriesSpacingProperty!==e&&(this.seriesSpacingProperty=e,this.notifyPropertyChanged(m.PROPERTY.SERIES_SPACING))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"valueMode",{get:function(){return this.valueModeProperty},set:function(e){this.valueModeProperty=e,this.notifyPropertyChanged(m.PROPERTY.VALUE_MODE)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelRadiusAdjustment",{get:function(){return this.labelRadiusProperty},set:function(e){this.labelRadiusProperty=e,this.notifyPropertyChanged(m.PROPERTY.VALUE_MODE)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"chartModifierGroups",{get:function(){throw Error("chartModifierGroups property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"seriesViewRect",{get:function(){throw Error("seriesViewRect property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"clipRect",{get:function(){throw Error("clipRect property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"viewRect",{get:function(){return this.viewRectProperty},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"mouseManager",{get:function(){throw Error("mouseManager property is not supported for SciChartPieSurface")},set:function(e){throw Error("mouseManager property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"domCanvasWebGL",{get:function(){throw Error("domCanvasWebGL property is not supported for SciChartPieSurface")},set:function(e){throw Error("domCanvasWebGL property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"background",{get:function(){throw Error("background property is not supported for SciChartPieSurface")},set:function(e){throw Error("background property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"annotations",{get:function(){throw Error("annotations property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"chartModifiers",{get:function(){throw Error("chartModifiers property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),i.prototype.setIsInitialized=function(){throw Error("setIsInitialized method is not supported for SciChartPieSurface")},i.prototype.getMainCanvas=function(){throw Error("getMainCanvas method is not supported for SciChartPieSurface")},i.prototype.getOptions=function(){var e;"toJSON"in this.themeProvider?e=this.themeProvider.toJSON():e=this.themeProvider;var r={animate:this.animate,animateLegend:this.legend.animate,heightAspect:this.heightAspect,widthAspect:this.widthAspect,holeRadius:this.holeRadius,holeRadiusSizingMode:this.holeRadiusSizingMode,pieType:this.pieType,showLegend:this.legend.showLegend,showLegendCheckBoxes:this.legend.showCheckboxes,showLegendSeriesMarkers:this.legend.showSeriesMarkers,padding:this.padding,canvasBorder:this.canvasBorder,seriesSpacing:this.seriesSpacing,labelProvider:this.labelProvider.toJSON(),valueMode:this.valueMode,labelRadiusAdjustment:this.labelRadiusAdjustment,animationFrames:this.animationFrames,theme:e};return r},i.prototype.toJSON=function(e){e===void 0&&(e=!1);var r=this.getOptions(),t={type:se.ESciChartSurfaceType.Pie2D,surface:r,onCreated:this.onCreatedName,segments:e?void 0:this.pieSegments.asArray().map(function(o){return o.toJSON()})};return t},i.prototype.calcTitlePosition=function(e,r,t,o,a,s,u,l,d){var p=o<t/2?t*2/3+o/6:(t+o)/2,h=(a+s)/2,f=e+Math.cos(g*h)*(p*this.labelRadiusProperty+u)-l/2,S=r+Math.sin(g*h)*(p*this.labelRadiusProperty+u)-d/2;return{left:f,top:S}},i.prototype.changeDomViewportSize=function(e,r){this.domSvgContainer&&(this.domSvgContainer.setAttribute("width",e.toString()),this.domSvgContainer.setAttribute("height",r.toString())),this.domSvgAdornerLayer&&(this.domSvgAdornerLayer.setAttribute("width",e.toString()),this.domSvgAdornerLayer.setAttribute("height",r.toString()))},i.prototype.notifyPropertyChanged=function(e){this.invalidateElement(),e===m.PROPERTY.LABEL_PROVIDER&&this.labelProviderProperty&&this.labelProviderProperty.attachedToSurface(this)},i.prototype.isValidToDraw=function(){return!0},i.prototype.detachPieSegment=function(e){e.onDetach()},i.prototype.attachPieSegment=function(e){e.onAttach(this)},i.prototype.updateLegendMargin=function(){var e,r,t,o=((e=this.padding)===null||e===void 0?void 0:e.top)||0,a=((r=this.canvasBorder)===null||r===void 0?void 0:r.border)||((t=this.canvasBorder)===null||t===void 0?void 0:t.borderTop)||0;this.legend.margin=o+a+10},i.prototype.calculateViewRectWidth=function(e){var r,t,o,a,s;return!((r=this.padding)===null||r===void 0)&&r.left&&(e-=this.padding.left),!((t=this.padding)===null||t===void 0)&&t.right&&(e-=this.padding.right),!((o=this.canvasBorder)===null||o===void 0)&&o.border?e-=this.canvasBorder.border*2:(!((a=this.canvasBorder)===null||a===void 0)&&a.borderLeft&&(e-=this.canvasBorder.borderLeft),!((s=this.canvasBorder)===null||s===void 0)&&s.borderRight&&(e-=this.canvasBorder.borderRight)),e},i.prototype.calculateViewRectHeight=function(e){var r,t,o,a,s;return!((r=this.padding)===null||r===void 0)&&r.top&&(e-=this.padding.top),!((t=this.padding)===null||t===void 0)&&t.bottom&&(e-=this.padding.bottom),!((o=this.canvasBorder)===null||o===void 0)&&o.border?e-=this.canvasBorder.border*2:(!((a=this.canvasBorder)===null||a===void 0)&&a.borderTop&&(e-=this.canvasBorder.borderTop),!((s=this.canvasBorder)===null||s===void 0)&&s.borderBottom&&(e-=this.canvasBorder.borderBottom)),e},i.prototype.draw=function(){var e=this;if(this.pieSegments.size()!==0){if(this.sweepAnimationDone||!this.animate)this.deleteInternals(),this.drawChart();else{var r=this.animationFrames;this.suspendUpdate=!0;var t=function(){return e.suspendUpdate=!1},o=function(){return e.sweepAnimationDone=!0},a=this.invalidateElement,s=this.drawChart,u=this.deleteInternals;(function l(d){setTimeout(function(){var p=d/r;u(!0),s(p),d===r&&(t(),o(),a()),++d<=r&&l(d)},20)})(1)}z.IS_TEST_ENV||this.pieSegments.asArray().forEach(function(l){var d=e.domChartRoot.querySelector("[id='".concat(l.id,"']"));if(d){var p=(0,y.addEventListenerToPieSegment)(l,d,e.animate);e.addDeletable(p)}}),this.rendered.raiseEvent()}},i.prototype.drawChart=function(e){var r=this;e===void 0&&(e=1);var t=this.pieSegmentsTotalValue();if(t){var o=2,a=this.themeProviderProperty.sciChartBackground,s=this.pieSegments.asArray(),u=this.pieSegmentsTotalOldValue(),l=Math.min(this.calculateViewRectWidth(this.viewRect.width),this.calculateViewRectHeight(this.viewRect.height))*.8/2,d=0;this.pieType===V.Donut&&(d=this.holeRadiusSizingMode===H.Absolute?this.holeRadius:l*this.holeRadius);var p=this.calculateViewRectWidth(this.viewRect.width)/2,h=this.calculateViewRectHeight(this.viewRect.height)/2,f="<defs>",S="",P=0,b=0;s.forEach(function(c,T){var E;if(c.value!==0){var L=(E=c.oldValue)!==null&&E!==void 0?E:0,v=360*P/t-k,D=360*(P+c.value)/t-k-1e-4,R=360*b/u-k,A=360*(b+L)/u-k;P+=c.value,b+=L;var M=R+(v-R)*W.easing.inOutCubic(e),B=A+(D-A)*W.easing.inOutCubic(e),x=!!c.colorLinearGradient,Q="grad".concat(c.id);if(x){var Pe=c.colorLinearGradient.startPoint.x*100,be=c.colorLinearGradient.startPoint.y*100,me=c.colorLinearGradient.endPoint.x*100,_e=c.colorLinearGradient.endPoint.y*100,F='<linearGradient id="'.concat(Q,'" x1="').concat(Pe,'%" y1="').concat(be,'%" x2="').concat(me,'%" y2="').concat(_e,'%">');c.colorLinearGradient.gradientStops.forEach(function(ee){var Te=ee.offset*100;F+='<stop offset="'.concat(Te,'%" style="stop-color:').concat(ee.color,';stop-opacity:1" />')}),F+="</linearGradient>",f+=F}var $=r.pieType===V.Donut?ye(p,h,l*c.radiusAdjustment,d,M,B,c.shift+r.seriesSpacing):ge(p,h,l*c.radiusAdjustment,M,B,c.shift+r.seriesSpacing),Ce=x?'<g fill="url(#'.concat(Q,')"><path id="').concat(c.id,'" stroke="').concat(a,'" stroke-width="').concat(o,'" d="').concat($,'" /></g>'):'<path id="'.concat(c.id,'" stroke="').concat(a,'" stroke-width="').concat(o,'" d="').concat($,'" fill="').concat(c.color,'" />');S+=Ce,(e===1||c.oldValue)&&r.drawSegmentLabel(c,T,t,M,B,p,h,l*c.radiusAdjustment,d)}}),f+="</defs>",this.adjustDomContainer();var _='<svg width="'.concat(this.calculateViewRectWidth(this.viewRect.width),'" height="').concat(this.calculateViewRectHeight(this.viewRect.height),'">').concat(f).concat(S,"</svg>"),C=ue.annotationHelpers.createSvg(_,this.domSvgContainer);this.svg=C}},i.prototype.adjustDomContainer=function(){var e,r,t,o,a,s;this.padding&&this.padding.left&&(this.domSvgContainer.style.paddingLeft=this.padding.left+"px"),this.padding&&this.padding.right&&(this.domSvgContainer.style.paddingRight=this.padding.right+"px"),this.padding&&this.padding.top&&(this.domSvgContainer.style.paddingTop=this.padding.top+"px"),this.padding&&this.padding.bottom&&(this.domSvgContainer.style.paddingBottom=this.padding.bottom+"px"),this.canvasBorder&&(this.domSvgContainer.style.borderStyle="solid"),!((e=this.canvasBorder)===null||e===void 0)&&e.border&&(this.domSvgContainer.style.borderWidth=this.canvasBorder.border+"px"),!((r=this.canvasBorder)===null||r===void 0)&&r.color&&(this.domSvgContainer.style.borderColor=this.canvasBorder.color),!((t=this.canvasBorder)===null||t===void 0)&&t.borderBottom&&(this.domSvgContainer.style.borderBottomWidth=this.canvasBorder.borderBottom+"px"),!((o=this.canvasBorder)===null||o===void 0)&&o.borderTop&&(this.domSvgContainer.style.borderTopWidth=this.canvasBorder.borderTop+"px"),!((a=this.canvasBorder)===null||a===void 0)&&a.borderLeft&&(this.domSvgContainer.style.borderLeftWidth=this.canvasBorder.borderLeft+"px"),!((s=this.canvasBorder)===null||s===void 0)&&s.borderRight&&(this.domSvgContainer.style.borderRightWidth=this.canvasBorder.borderRight+"px")},i.prototype.drawSegmentLabel=function(e,r,t,o,a,s,u,l,d){var p,h,f,S,P,b,_,C,c,T,E;if(e.showLabel!==!1){var L="segment"+r,v=this.titleDivs.find(function(x){return x.id===L});v||(v=document.createElement("div"),v.className="scichart-pie-text-container",v.id=L,v.style.position="absolute",v.style.pointerEvents="none",v.style.padding="5px",v.style.borderRadius="3px",this.titleDivs.push(v),this.domDivContainer.appendChild(v),v.style.display="block"),v.style.color=e.labelStyle.color,v.style.fontWeight=e.labelStyle.fontWeight,v.style.fontFamily=(0,J.getFontFamily)(e.labelStyle.fontFamily,!1),v.style.fontSize=e.labelStyle.fontSize.toString()+"px",v.innerHTML=e.getLabelText(t);var D=v.offsetWidth,R=v.offsetHeight,A=0,M=0;!((p=this.padding)===null||p===void 0)&&p.left&&(A+=(h=this.padding)===null||h===void 0?void 0:h.left),!((f=this.padding)===null||f===void 0)&&f.top&&(M+=(S=this.padding)===null||S===void 0?void 0:S.top),!((P=this.canvasBorder)===null||P===void 0)&&P.border?(A+=(b=this.canvasBorder)===null||b===void 0?void 0:b.border,M+=(_=this.canvasBorder)===null||_===void 0?void 0:_.border):(!((C=this.canvasBorder)===null||C===void 0)&&C.borderLeft&&(A+=(c=this.canvasBorder)===null||c===void 0?void 0:c.borderLeft),!((T=this.canvasBorder)===null||T===void 0)&&T.borderTop&&(A+=(E=this.canvasBorder)===null||E===void 0?void 0:E.borderTop));var B=this.calcTitlePosition(s+A,u+M,l,d,o,a,e.shift+this.seriesSpacing,D,R);v.style.left="".concat(B.left+e.labelOffset.x,"px"),v.style.top="".concat(B.top+e.labelOffset.y,"px")}},i.prototype.pieSegmentsTotalValue=function(){return this.pieSegments.asArray().reduce(function(e,r){return e+r.value},0)},i.prototype.pieSegmentsTotalOldValue=function(){var e=this.pieSegments.asArray().reduce(function(r,t){var o;return r+((o=t.oldValue)!==null&&o!==void 0?o:0)},0);return e>0?e:1},i.prototype.applySciChartBackground=function(e){this.domCanvas2D.style.background=e},i})(oe.DeletableEntity);y.SciChartPieSurface=fe;var ge=function(n,i,e,r,t,o){var a=Math.abs(t-r)>180?1:0,s=(r+t)/2,u=Math.cos(g*s)*o,l=Math.sin(g*s)*o,d=Math.cos(g*t)*e+n+u,p=Math.sin(g*t)*e+i+l,h=Math.cos(g*r)*e+n+u,f=Math.sin(g*r)*e+i+l;return Math.abs(d-h)<1e-4&&(h+=.001),"M".concat(n+u," ").concat(i+l," ").concat(d," ").concat(p," A").concat(e," ").concat(e," 0 ").concat(a," 0 ").concat(h," ").concat(f,"Z")},ye=function(n,i,e,r,t,o,a){var s=Math.abs(o-t)>180?1:0,u=(t+o)/2,l=Math.cos(g*u)*a,d=Math.sin(g*u)*a,p=Math.cos(g*o)*e+n+l,h=Math.sin(g*o)*e+i+d,f=Math.cos(g*t)*e+n+l,S=Math.sin(g*t)*e+i+d,P=Math.cos(g*o)*r+n+l,b=Math.sin(g*o)*r+i+d,_=Math.cos(g*t)*r+n+l,C=Math.sin(g*t)*r+i+d;return"M".concat(p," ").concat(h," A").concat(e," ").concat(e," 0 ").concat(s," 0 ").concat(f," ").concat(S," L").concat(_," ").concat(C," A").concat(r," ").concat(r," 0 ").concat(s," 1 ").concat(P," ").concat(b,"Z")},Y=!1,Se=function(n,i,e){var r=function(t){if(!e){n.isSelected=!n.isSelected;return}if(!Y){var o=10,a=n.isSelected,s=a?n.delta:0,u=a?-n.delta/o:n.delta/o;Y=!0,n.isSelected=!n.isSelected,(function l(d){setTimeout(function(){n.shift=s+u*d,d===o&&(Y=!1),++d<=o&&l(d)},20)})(1)}};return i.addEventListener("click",r),{eventListener:r,eventType:"click",element:i,delete:function(){return i.removeEventListener("click",r)}}};y.addEventListenerToPieSegment=Se})(w.__exports)),w.__exports}exports.__require=Xe;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("./petal-toolkit.cjs1131.js"),Ee=require("./petal-toolkit.cjs73.js"),we=require("./petal-toolkit.cjs726.js"),Re=require("./petal-toolkit.cjs576.js"),Ae=require("./petal-toolkit.cjs554.js"),Le=require("./petal-toolkit.cjs555.js"),De=require("./petal-toolkit.cjs557.js"),Me=require("./petal-toolkit.cjs855.js"),Oe=require("./petal-toolkit.cjs564.js"),Be=require("./petal-toolkit.cjs569.js"),qe=require("./petal-toolkit.cjs588.js"),je=require("./petal-toolkit.cjs619.js"),Ie=require("./petal-toolkit.cjs626.js"),ke=require("./petal-toolkit.cjs648.js"),Ve=require("./petal-toolkit.cjs650.js"),xe=require("./petal-toolkit.cjs226.js"),ze=require("./petal-toolkit.cjs247.js"),Ge=require("./petal-toolkit.cjs296.js"),He=require("./petal-toolkit.cjs319.js"),Ye=require("./petal-toolkit.cjs854.js"),Fe=require("./petal-toolkit.cjs241.js"),We=require("./petal-toolkit.cjs492.js"),Ne=require("./petal-toolkit.cjs1132.js"),Je=require("./petal-toolkit.cjs1133.js");var te;function Xe(){return te||(te=1,(function(y){var re=w.__exports&&w.__exports.__extends||(function(){var n=function(i,e){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(r[o]=t[o])},n(i,e)};return function(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");n(i,e);function r(){this.constructor=i}i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})(),q=w.__exports&&w.__exports.__assign||function(){return q=Object.assign||function(n){for(var i,e=1,r=arguments.length;e<r;e++){i=arguments[e];for(var t in i)Object.prototype.hasOwnProperty.call(i,t)&&(n[t]=i[t])}return n},q.apply(this,arguments)},j=w.__exports&&w.__exports.__spreadArray||function(n,i,e){if(e||arguments.length===2)for(var r=0,t=i.length,o;r<t;r++)(o||!(r in i))&&(o||(o=Array.prototype.slice.call(i,0,r)),o[r]=i[r]);return n.concat(o||Array.prototype.slice.call(i))};Object.defineProperty(y,"__esModule",{value:!0}),y.addEventListenerToPieSegment=y.SciChartPieSurface=y.EPieValueMode=y.EPieType=y.ESizingMode=void 0;var ie=Ee.__require(),z=we.__require(),W=Re.__require(),oe=Ae.__require(),I=Le.__require(),ae=De.__require(),O=Me.__require(),ne=Oe.__require(),N=Be.__require(),de=qe.__require(),se=je.__require(),le=Ie.__require(),J=ke.__require(),ce=Ve.__require(),X=xe.__require(),ue=ze.__require(),he=Ge.__require(),ve=He.__require(),G=Ye.__require(),U=Fe.__require(),Z=We.__require(),m=Ne.__require(),pe=Je.__require(),g=Math.PI/180,k=90,H;(function(n){n.Absolute="Absolute",n.Relative="Relative"})(H=y.ESizingMode||(y.ESizingMode={}));var V;(function(n){n.Pie="Pie",n.Donut="Donut"})(V=y.EPieType||(y.EPieType={}));var K;(function(n){n.Percentage="Percentage",n.Raw="Raw"})(K=y.EPieValueMode||(y.EPieValueMode={}));var fe=(function(n){re(i,n);function i(e,r){e===void 0&&(e={});var t=this,o,a,s,u,l,d,p,h,f,S,P,b,_,C,c,T;t=n.call(this)||this,t.animate=!0,t.animationFrames=30,t.rendered=new ae.EventHandler,t.surfaceType=le.ESurfaceType.SciChartPieSurfaceType,t.pieTypeProperty=V.Pie,t.holeRadiusProperty=.5,t.holeRadiusSizingModeProperty=H.Relative,t.seriesSpacingProperty=0,t.labelRadiusProperty=1,t.titleDivs=[],t.sweepAnimationDone=!1,t.suspendUpdate=!1,t.themeProviderProperty=new X.SciChartJSDarkTheme,t.previousThemeProviderProperty=new X.SciChartJSDarkTheme,t.deletables=[],t.valueModeProperty=K.Percentage,t.labelStyleProperty={fontSize:14,fontFamily:J.DEFAULT_FONT_FAMILY,color:"#1e323d",fontWeight:"bold"},t.id=(o=r==null?void 0:r.id)!==null&&o!==void 0?o:(0,ce.generateGuid)(),t.domChartRoot=e.domChartRoot,t.domCanvas2D=e.domCanvas2D,t.domSvgContainer=e.domSvgContainer,t.domSvgAdornerLayer=e.domSvgAdornerLayer,t.domDivContainer=e.domDivContainer,t.domBackgroundSvgContainer=e.domBackgroundSvgContainer;var E=t.domCanvas2D.width/Z.DpiHelper.PIXEL_RATIO,L=t.domCanvas2D.height/Z.DpiHelper.PIXEL_RATIO;return t.viewRectProperty=new N.Rect(0,0,E,L),z.IS_TEST_ENV||(t.resizeSubscriptionToken=G.default.subscribeToResize(e.domCanvas2D,e.aspect,t)),t.drawChart=t.drawChart.bind(t),t.deleteInternals=t.deleteInternals.bind(t),t.invalidateElement=t.invalidateElement.bind(t),t.detachPieSegment=t.detachPieSegment.bind(t),t.attachPieSegment=t.attachPieSegment.bind(t),t.pieSegments=new ne.ObservableArray,z.IS_TEST_ENV||t.pieSegments.collectionChanged.subscribe(function(v){var D,R;(D=v.getOldItems())===null||D===void 0||D.forEach(t.detachPieSegment),(R=v.getNewItems())===null||R===void 0||R.forEach(t.attachPieSegment),t.invalidateElement()}),t.applySciChartBackground(U.SciChartSurfaceBase.DEFAULT_THEME.sciChartBackground),t.legend=new ve.SciChartPieLegend,t.legend.setRootDiv(t.domDivContainer),t.legend.setPieSegmentArray(t.pieSegments.asArray()),t.legend.setInvalidateParentSurface(t.invalidateElement),t.legend.setParentSurface(t),t.heightAspect=(a=r==null?void 0:r.heightAspect)!==null&&a!==void 0?a:0,t.widthAspect=(s=r==null?void 0:r.widthAspect)!==null&&s!==void 0?s:0,t.pieTypeProperty=(u=r==null?void 0:r.pieType)!==null&&u!==void 0?u:t.pieType,t.holeRadiusProperty=(l=r==null?void 0:r.holeRadius)!==null&&l!==void 0?l:t.holeRadius,t.animate=(d=r==null?void 0:r.animate)!==null&&d!==void 0?d:t.animate,t.holeRadiusSizingModeProperty=(p=r==null?void 0:r.holeRadiusSizingMode)!==null&&p!==void 0?p:t.holeRadiusSizingModeProperty,t.seriesSpacingProperty=(h=r==null?void 0:r.seriesSpacing)!==null&&h!==void 0?h:t.seriesSpacingProperty,t.labelRadiusProperty=(f=r==null?void 0:r.labelRadiusAdjustment)!==null&&f!==void 0?f:t.labelRadiusProperty,t.legend.showLegend=(S=r==null?void 0:r.showLegend)!==null&&S!==void 0?S:t.legend.showLegend,t.legend.animate=(P=r==null?void 0:r.animateLegend)!==null&&P!==void 0?P:t.legend.animate,t.legend.showCheckboxes=(b=r==null?void 0:r.showLegendCheckBoxes)!==null&&b!==void 0?b:t.legend.showCheckboxes,t.legend.showSeriesMarkers=(_=r==null?void 0:r.showLegendSeriesMarkers)!==null&&_!==void 0?_:t.legend.showSeriesMarkers,t.paddingProperty=(C=r==null?void 0:r.padding)!==null&&C!==void 0?C:t.paddingProperty,r!=null&&r.labelProvider&&("getSegmentText"in(r==null?void 0:r.labelProvider)||(r.labelProvider=(0,ie.createType)(de.EBaseType.LabelProvider,r.labelProvider.type,void 0,r.labelProvider.options))),t.labelProvider=(c=r==null?void 0:r.labelProvider)!==null&&c!==void 0?c:new he.PieLabelProvider,t.valueModeProperty=(T=r==null?void 0:r.valueMode)!==null&&T!==void 0?T:t.valueModeProperty,t}return i.create=function(e,r){var t,o,a=G.default.initCanvas(e,(t=r==null?void 0:r.widthAspect)!==null&&t!==void 0?t:0,(o=r==null?void 0:r.heightAspect)!==null&&o!==void 0?o:0,G.default.ECanvasType.svg,void 0,r==null?void 0:r.touchAction);return new Promise(function(s){var u,l,d,p=j(j(j(j([],O.sciChartDestinations,!0),O.sciChart3DDestinations,!0),O.sciChartSingleDestinations,!0),O.sciChartPieDestinations,!0).filter(function(f){return f.sciChartSurface.domChartRoot.id===a.domChartRoot.id});p.forEach(function(f){return f.sciChartSurface.delete()}),r=U.SciChartSurfaceBase.resolveOptions(r);var h=new i(a,r);h.applyTheme(r==null?void 0:r.theme),O.sciChartPieDestinations.push({canvasElementId:(u=a.domCanvas2D)===null||u===void 0?void 0:u.id,sciChartSurface:h,width:(l=a.domCanvas2D)===null||l===void 0?void 0:l.width,height:(d=a.domCanvas2D)===null||d===void 0?void 0:d.height}),h.setDestinations(O.sciChartPieDestinations),setTimeout(function(){return s(h)},0)})},Object.defineProperty(i.prototype,"isDeleted",{get:function(){return this.isDeletedProperty},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelProvider",{get:function(){return this.labelProviderProperty},set:function(e){e&&this.labelProviderProperty!==e&&(this.labelProviderProperty=e,this.notifyPropertyChanged(m.PROPERTY.LABEL_PROVIDER))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelStyle",{get:function(){return this.labelStyleProperty},set:function(e){this.labelStyleProperty=q(q({},this.labelStyle),e),this.notifyPropertyChanged(m.PROPERTY.TEXT_STYLE)},enumerable:!1,configurable:!0}),i.prototype.applyTheme=function(e){this.previousThemeProviderProperty=this.themeProviderProperty,this.themeProviderProperty=e,this.applySciChartBackground(e.sciChartBackground),this.labelStyle.color===this.previousThemeProvider.tickTextBrush&&(this.labelStyle={color:e.tickTextBrush}),this.invalidateElement()},Object.defineProperty(i.prototype,"themeProvider",{get:function(){return this.themeProviderProperty},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"previousThemeProvider",{get:function(){return this.previousThemeProviderProperty},enumerable:!1,configurable:!0}),i.prototype.setDestinations=function(e){this.destinations=e},Object.defineProperty(i.prototype,"otherSurfaces",{get:function(){var e=this;return this.destinations?this.destinations.map(function(r){return r.sciChartSurface}).filter(function(r){return r!==e}):[]},enumerable:!1,configurable:!0}),i.prototype.invalidateElement=function(e){this.isValidToDraw()&&(typeof e=="string"&&e===pe.PROPERTY.VALUE&&(this.sweepAnimationDone=!1),this.update())},i.prototype.update=function(){var e;this.suspendUpdate||(this.draw(),(e=this.legend)===null||e===void 0||e.update())},i.prototype.delete=function(){var e=this,r;this.deleteInternals(),this.legend=(0,I.deleteSafe)(this.legend),this.labelProvider=(0,I.deleteSafe)(this.labelProvider),this.resizeSubscriptionToken=(0,I.deleteSafe)(this.resizeSubscriptionToken);var t=(r=this.destinations)===null||r===void 0?void 0:r.findIndex(function(o){return o.sciChartSurface.id===e.id});t>=0&&this.destinations.splice(t,1),this.isDeletedProperty=!0},i.prototype.deleteInternals=function(e){var r=this;this.svg&&(this.domSvgContainer.removeChild(this.svg),this.svg=void 0),e||(this.titleDivs.forEach(function(s){r.domDivContainer.removeChild(s)}),this.titleDivs=[]);for(var t=0,o=this.deletables;t<o.length;t++){var a=o[t];(0,I.deleteSafe)(a)}this.deletables=[]},i.prototype.addDeletable=function(e){this.deletables.push(e)},i.prototype.changeViewportSize=function(e,r){var t=e,o=r;this.viewRectProperty=new N.Rect(0,0,e,r),this.changeDomViewportSize(t,o),this.invalidateElement()},Object.defineProperty(i.prototype,"pieType",{get:function(){return this.pieTypeProperty},set:function(e){this.pieTypeProperty=e,this.notifyPropertyChanged(m.PROPERTY.PIE_TYPE)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"holeRadius",{get:function(){return this.holeRadiusProperty},set:function(e){this.holeRadiusProperty=e,this.notifyPropertyChanged(m.PROPERTY.HOLE_RADIUS)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"holeRadiusSizingMode",{get:function(){return this.holeRadiusSizingModeProperty},set:function(e){this.holeRadiusSizingModeProperty=e,this.notifyPropertyChanged(m.PROPERTY.HOLE_RADIUS_SIZING_MODE)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"padding",{get:function(){return this.paddingProperty},set:function(e){this.paddingProperty!==e&&(this.paddingProperty=e,this.updateLegendMargin(),this.notifyPropertyChanged(m.PROPERTY.PADDING))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"canvasBorder",{get:function(){return this.canvasBorderProperty},set:function(e){this.canvasBorderProperty!==e&&(this.canvasBorderProperty=e,this.updateLegendMargin(),this.notifyPropertyChanged(m.PROPERTY.PADDING))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"seriesSpacing",{get:function(){return this.seriesSpacingProperty},set:function(e){this.seriesSpacingProperty!==e&&(this.seriesSpacingProperty=e,this.notifyPropertyChanged(m.PROPERTY.SERIES_SPACING))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"valueMode",{get:function(){return this.valueModeProperty},set:function(e){this.valueModeProperty=e,this.notifyPropertyChanged(m.PROPERTY.VALUE_MODE)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"labelRadiusAdjustment",{get:function(){return this.labelRadiusProperty},set:function(e){this.labelRadiusProperty=e,this.notifyPropertyChanged(m.PROPERTY.VALUE_MODE)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"chartModifierGroups",{get:function(){throw Error("chartModifierGroups property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"seriesViewRect",{get:function(){throw Error("seriesViewRect property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"clipRect",{get:function(){throw Error("clipRect property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"viewRect",{get:function(){return this.viewRectProperty},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"mouseManager",{get:function(){throw Error("mouseManager property is not supported for SciChartPieSurface")},set:function(e){throw Error("mouseManager property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"domCanvasWebGL",{get:function(){throw Error("domCanvasWebGL property is not supported for SciChartPieSurface")},set:function(e){throw Error("domCanvasWebGL property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"background",{get:function(){throw Error("background property is not supported for SciChartPieSurface")},set:function(e){throw Error("background property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"annotations",{get:function(){throw Error("annotations property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"chartModifiers",{get:function(){throw Error("chartModifiers property is not supported for SciChartPieSurface")},enumerable:!1,configurable:!0}),i.prototype.setIsInitialized=function(){throw Error("setIsInitialized method is not supported for SciChartPieSurface")},i.prototype.getMainCanvas=function(){throw Error("getMainCanvas method is not supported for SciChartPieSurface")},i.prototype.getOptions=function(){var e;"toJSON"in this.themeProvider?e=this.themeProvider.toJSON():e=this.themeProvider;var r={animate:this.animate,animateLegend:this.legend.animate,heightAspect:this.heightAspect,widthAspect:this.widthAspect,holeRadius:this.holeRadius,holeRadiusSizingMode:this.holeRadiusSizingMode,pieType:this.pieType,showLegend:this.legend.showLegend,showLegendCheckBoxes:this.legend.showCheckboxes,showLegendSeriesMarkers:this.legend.showSeriesMarkers,padding:this.padding,canvasBorder:this.canvasBorder,seriesSpacing:this.seriesSpacing,labelProvider:this.labelProvider.toJSON(),valueMode:this.valueMode,labelRadiusAdjustment:this.labelRadiusAdjustment,animationFrames:this.animationFrames,theme:e};return r},i.prototype.toJSON=function(e){e===void 0&&(e=!1);var r=this.getOptions(),t={type:se.ESciChartSurfaceType.Pie2D,surface:r,onCreated:this.onCreatedName,segments:e?void 0:this.pieSegments.asArray().map(function(o){return o.toJSON()})};return t},i.prototype.calcTitlePosition=function(e,r,t,o,a,s,u,l,d){var p=o<t/2?t*2/3+o/6:(t+o)/2,h=(a+s)/2,f=e+Math.cos(g*h)*(p*this.labelRadiusProperty+u)-l/2,S=r+Math.sin(g*h)*(p*this.labelRadiusProperty+u)-d/2;return{left:f,top:S}},i.prototype.changeDomViewportSize=function(e,r){this.domSvgContainer&&(this.domSvgContainer.setAttribute("width",e.toString()),this.domSvgContainer.setAttribute("height",r.toString())),this.domSvgAdornerLayer&&(this.domSvgAdornerLayer.setAttribute("width",e.toString()),this.domSvgAdornerLayer.setAttribute("height",r.toString()))},i.prototype.notifyPropertyChanged=function(e){this.invalidateElement(),e===m.PROPERTY.LABEL_PROVIDER&&this.labelProviderProperty&&this.labelProviderProperty.attachedToSurface(this)},i.prototype.isValidToDraw=function(){return!0},i.prototype.detachPieSegment=function(e){e.onDetach()},i.prototype.attachPieSegment=function(e){e.onAttach(this)},i.prototype.updateLegendMargin=function(){var e,r,t,o=((e=this.padding)===null||e===void 0?void 0:e.top)||0,a=((r=this.canvasBorder)===null||r===void 0?void 0:r.border)||((t=this.canvasBorder)===null||t===void 0?void 0:t.borderTop)||0;this.legend.margin=o+a+10},i.prototype.calculateViewRectWidth=function(e){var r,t,o,a,s;return!((r=this.padding)===null||r===void 0)&&r.left&&(e-=this.padding.left),!((t=this.padding)===null||t===void 0)&&t.right&&(e-=this.padding.right),!((o=this.canvasBorder)===null||o===void 0)&&o.border?e-=this.canvasBorder.border*2:(!((a=this.canvasBorder)===null||a===void 0)&&a.borderLeft&&(e-=this.canvasBorder.borderLeft),!((s=this.canvasBorder)===null||s===void 0)&&s.borderRight&&(e-=this.canvasBorder.borderRight)),e},i.prototype.calculateViewRectHeight=function(e){var r,t,o,a,s;return!((r=this.padding)===null||r===void 0)&&r.top&&(e-=this.padding.top),!((t=this.padding)===null||t===void 0)&&t.bottom&&(e-=this.padding.bottom),!((o=this.canvasBorder)===null||o===void 0)&&o.border?e-=this.canvasBorder.border*2:(!((a=this.canvasBorder)===null||a===void 0)&&a.borderTop&&(e-=this.canvasBorder.borderTop),!((s=this.canvasBorder)===null||s===void 0)&&s.borderBottom&&(e-=this.canvasBorder.borderBottom)),e},i.prototype.draw=function(){var e=this;if(this.pieSegments.size()!==0){if(this.sweepAnimationDone||!this.animate)this.deleteInternals(),this.drawChart();else{var r=this.animationFrames;this.suspendUpdate=!0;var t=function(){return e.suspendUpdate=!1},o=function(){return e.sweepAnimationDone=!0},a=this.invalidateElement,s=this.drawChart,u=this.deleteInternals;(function l(d){setTimeout(function(){var p=d/r;u(!0),s(p),d===r&&(t(),o(),a()),++d<=r&&l(d)},20)})(1)}z.IS_TEST_ENV||this.pieSegments.asArray().forEach(function(l){var d=e.domChartRoot.querySelector("[id='".concat(l.id,"']"));if(d){var p=(0,y.addEventListenerToPieSegment)(l,d,e.animate);e.addDeletable(p)}}),this.rendered.raiseEvent()}},i.prototype.drawChart=function(e){var r=this;e===void 0&&(e=1);var t=this.pieSegmentsTotalValue();if(t){var o=2,a=this.themeProviderProperty.sciChartBackground,s=this.pieSegments.asArray(),u=this.pieSegmentsTotalOldValue(),l=Math.min(this.calculateViewRectWidth(this.viewRect.width),this.calculateViewRectHeight(this.viewRect.height))*.8/2,d=0;this.pieType===V.Donut&&(d=this.holeRadiusSizingMode===H.Absolute?this.holeRadius:l*this.holeRadius);var p=this.calculateViewRectWidth(this.viewRect.width)/2,h=this.calculateViewRectHeight(this.viewRect.height)/2,f="<defs>",S="",P=0,b=0;s.forEach(function(c,T){var E;if(c.value!==0){var L=(E=c.oldValue)!==null&&E!==void 0?E:0,v=360*P/t-k,D=360*(P+c.value)/t-k-1e-4,R=360*b/u-k,A=360*(b+L)/u-k;P+=c.value,b+=L;var M=R+(v-R)*W.easing.inOutCubic(e),B=A+(D-A)*W.easing.inOutCubic(e),x=!!c.colorLinearGradient,Q="grad".concat(c.id);if(x){var Pe=c.colorLinearGradient.startPoint.x*100,be=c.colorLinearGradient.startPoint.y*100,me=c.colorLinearGradient.endPoint.x*100,_e=c.colorLinearGradient.endPoint.y*100,F='<linearGradient id="'.concat(Q,'" x1="').concat(Pe,'%" y1="').concat(be,'%" x2="').concat(me,'%" y2="').concat(_e,'%">');c.colorLinearGradient.gradientStops.forEach(function(ee){var Te=ee.offset*100;F+='<stop offset="'.concat(Te,'%" style="stop-color:').concat(ee.color,';stop-opacity:1" />')}),F+="</linearGradient>",f+=F}var $=r.pieType===V.Donut?ye(p,h,l*c.radiusAdjustment,d,M,B,c.shift+r.seriesSpacing):ge(p,h,l*c.radiusAdjustment,M,B,c.shift+r.seriesSpacing),Ce=x?'<g fill="url(#'.concat(Q,')"><path id="').concat(c.id,'" stroke="').concat(a,'" stroke-width="').concat(o,'" d="').concat($,'" /></g>'):'<path id="'.concat(c.id,'" stroke="').concat(a,'" stroke-width="').concat(o,'" d="').concat($,'" fill="').concat(c.color,'" />');S+=Ce,(e===1||c.oldValue)&&r.drawSegmentLabel(c,T,t,M,B,p,h,l*c.radiusAdjustment,d)}}),f+="</defs>",this.adjustDomContainer();var _='<svg width="'.concat(this.calculateViewRectWidth(this.viewRect.width),'" height="').concat(this.calculateViewRectHeight(this.viewRect.height),'">').concat(f).concat(S,"</svg>"),C=ue.annotationHelpers.createSvg(_,this.domSvgContainer);this.svg=C}},i.prototype.adjustDomContainer=function(){var e,r,t,o,a,s;this.padding&&this.padding.left&&(this.domSvgContainer.style.paddingLeft=this.padding.left+"px"),this.padding&&this.padding.right&&(this.domSvgContainer.style.paddingRight=this.padding.right+"px"),this.padding&&this.padding.top&&(this.domSvgContainer.style.paddingTop=this.padding.top+"px"),this.padding&&this.padding.bottom&&(this.domSvgContainer.style.paddingBottom=this.padding.bottom+"px"),this.canvasBorder&&(this.domSvgContainer.style.borderStyle="solid"),!((e=this.canvasBorder)===null||e===void 0)&&e.border&&(this.domSvgContainer.style.borderWidth=this.canvasBorder.border+"px"),!((r=this.canvasBorder)===null||r===void 0)&&r.color&&(this.domSvgContainer.style.borderColor=this.canvasBorder.color),!((t=this.canvasBorder)===null||t===void 0)&&t.borderBottom&&(this.domSvgContainer.style.borderBottomWidth=this.canvasBorder.borderBottom+"px"),!((o=this.canvasBorder)===null||o===void 0)&&o.borderTop&&(this.domSvgContainer.style.borderTopWidth=this.canvasBorder.borderTop+"px"),!((a=this.canvasBorder)===null||a===void 0)&&a.borderLeft&&(this.domSvgContainer.style.borderLeftWidth=this.canvasBorder.borderLeft+"px"),!((s=this.canvasBorder)===null||s===void 0)&&s.borderRight&&(this.domSvgContainer.style.borderRightWidth=this.canvasBorder.borderRight+"px")},i.prototype.drawSegmentLabel=function(e,r,t,o,a,s,u,l,d){var p,h,f,S,P,b,_,C,c,T,E;if(e.showLabel!==!1){var L="segment"+r,v=this.titleDivs.find(function(x){return x.id===L});v||(v=document.createElement("div"),v.className="scichart-pie-text-container",v.id=L,v.style.position="absolute",v.style.pointerEvents="none",v.style.padding="5px",v.style.borderRadius="3px",this.titleDivs.push(v),this.domDivContainer.appendChild(v),v.style.display="block"),v.style.color=e.labelStyle.color,v.style.fontWeight=e.labelStyle.fontWeight,v.style.fontFamily=(0,J.getFontFamily)(e.labelStyle.fontFamily,!1),v.style.fontSize=e.labelStyle.fontSize.toString()+"px",v.innerHTML=e.getLabelText(t);var D=v.offsetWidth,R=v.offsetHeight,A=0,M=0;!((p=this.padding)===null||p===void 0)&&p.left&&(A+=(h=this.padding)===null||h===void 0?void 0:h.left),!((f=this.padding)===null||f===void 0)&&f.top&&(M+=(S=this.padding)===null||S===void 0?void 0:S.top),!((P=this.canvasBorder)===null||P===void 0)&&P.border?(A+=(b=this.canvasBorder)===null||b===void 0?void 0:b.border,M+=(_=this.canvasBorder)===null||_===void 0?void 0:_.border):(!((C=this.canvasBorder)===null||C===void 0)&&C.borderLeft&&(A+=(c=this.canvasBorder)===null||c===void 0?void 0:c.borderLeft),!((T=this.canvasBorder)===null||T===void 0)&&T.borderTop&&(A+=(E=this.canvasBorder)===null||E===void 0?void 0:E.borderTop));var B=this.calcTitlePosition(s+A,u+M,l,d,o,a,e.shift+this.seriesSpacing,D,R);v.style.left="".concat(B.left+e.labelOffset.x,"px"),v.style.top="".concat(B.top+e.labelOffset.y,"px")}},i.prototype.pieSegmentsTotalValue=function(){return this.pieSegments.asArray().reduce(function(e,r){return e+r.value},0)},i.prototype.pieSegmentsTotalOldValue=function(){var e=this.pieSegments.asArray().reduce(function(r,t){var o;return r+((o=t.oldValue)!==null&&o!==void 0?o:0)},0);return e>0?e:1},i.prototype.applySciChartBackground=function(e){this.domCanvas2D.style.background=e},i})(oe.DeletableEntity);y.SciChartPieSurface=fe;var ge=function(n,i,e,r,t,o){var a=Math.abs(t-r)>180?1:0,s=(r+t)/2,u=Math.cos(g*s)*o,l=Math.sin(g*s)*o,d=Math.cos(g*t)*e+n+u,p=Math.sin(g*t)*e+i+l,h=Math.cos(g*r)*e+n+u,f=Math.sin(g*r)*e+i+l;return Math.abs(d-h)<1e-4&&(h+=.001),"M".concat(n+u," ").concat(i+l," ").concat(d," ").concat(p," A").concat(e," ").concat(e," 0 ").concat(a," 0 ").concat(h," ").concat(f,"Z")},ye=function(n,i,e,r,t,o,a){var s=Math.abs(o-t)>180?1:0,u=(t+o)/2,l=Math.cos(g*u)*a,d=Math.sin(g*u)*a,p=Math.cos(g*o)*e+n+l,h=Math.sin(g*o)*e+i+d,f=Math.cos(g*t)*e+n+l,S=Math.sin(g*t)*e+i+d,P=Math.cos(g*o)*r+n+l,b=Math.sin(g*o)*r+i+d,_=Math.cos(g*t)*r+n+l,C=Math.sin(g*t)*r+i+d;return"M".concat(p," ").concat(h," A").concat(e," ").concat(e," 0 ").concat(s," 0 ").concat(f," ").concat(S," L").concat(_," ").concat(C," A").concat(r," ").concat(r," 0 ").concat(s," 1 ").concat(P," ").concat(b,"Z")},Y=!1,Se=function(n,i,e){var r=function(t){if(!e){n.isSelected=!n.isSelected;return}if(!Y){var o=10,a=n.isSelected,s=a?n.delta:0,u=a?-n.delta/o:n.delta/o;Y=!0,n.isSelected=!n.isSelected,(function l(d){setTimeout(function(){n.shift=s+u*d,d===o&&(Y=!1),++d<=o&&l(d)},20)})(1)}};return i.addEventListener("click",r),{eventListener:r,eventType:"click",element:i,delete:function(){return i.removeEventListener("click",r)}}};y.addEventListenerToPieSegment=Se})(w.__exports)),w.__exports}exports.__require=Xe;
2
2
  //# sourceMappingURL=petal-toolkit.cjs489.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react/jsx-runtime"),d=require("react"),E=require("./petal-toolkit.cjs57.js"),L=require("./petal-toolkit.cjs58.js"),j={r:239,g:68,b:68},A={r:255,g:247,b:237},R={r:59,g:130,b:246};function v(t,e,a){const i=Math.max(0,Math.min(1,a));return{r:Math.round(t.r+(e.r-t.r)*i),g:Math.round(t.g+(e.g-t.g)*i),b:Math.round(t.b+(e.b-t.b)*i)}}function T(t){const e=a=>Math.max(0,Math.min(255,a)).toString(16).padStart(2,"0");return`#${e(t.r)}${e(t.g)}${e(t.b)}`}function q(t,e,a){if(t===0)return T(A);const i=Math.min(e,0),l=Math.max(a,0);if(t>0){const o=l>0?t/l:0;return T(v(A,R,o))}else{const o=i<0?Math.abs(t)/Math.abs(i):0;return T(v(A,j,o))}}function C(t,e){if(t.length===0)return 1/0;const a=t.reduce((s,c)=>s+c.normalizedValue,0),i=Math.max(...t.map(s=>s.normalizedValue)),l=Math.min(...t.map(s=>s.normalizedValue)),o=e*e,u=a*a;return Math.max(o*i/u,u/(o*l))}function O(t,e,a){const i=t.reduce((o,u)=>o+u.normalizedValue,0),l=[];if(a){const o=i/e.height;let u=e.y;for(const s of t){const c=s.normalizedValue/o;l.push({...s,x:e.x,y:u,width:o,height:c,color:""}),u+=c}}else{const o=i/e.width;let u=e.x;for(const s of t){const c=s.normalizedValue/o;l.push({...s,x:u,y:e.y,width:c,height:o,color:""}),u+=c}}return l}function F(t,e=1,a=1){if(t.length===0)return[];const i=[...t].sort((h,w)=>w.value-h.value),l=i.reduce((h,w)=>h+w.value,0),o=e*a,u=i.map(h=>({...h,normalizedValue:h.value/l*o})),s=[];let c=[...u],r={x:0,y:0,width:e,height:a};for(;c.length>0;){const h=r.width>r.height,w=h?r.height:r.width,f=[];let z=1/0;for(let g=0;g<c.length;g++){const m=[...f,c[g]],y=C(m,w);if(y<=z)f.push(c[g]),z=y;else break}const $=O(f,r,h);if(s.push(...$),c=c.slice(f.length),c.length>0){const g=f.reduce((m,y)=>m+y.normalizedValue,0);if(h){const m=g/r.height;r={x:r.x+m,y:r.y,width:r.width-m,height:r.height}}else{const m=g/r.width;r={x:r.x,y:r.y+m,width:r.width,height:r.height-m}}}}return s}const W=d.memo(function({data:e,width:a="100%",height:i=400,className:l,themePreset:o="dark",onTileClick:u,onChartReady:s}){const c=d.useRef(null),r=d.useRef(null),[h,w]=d.useState([]),[f,z]=d.useState({width:0,height:0}),$=d.useMemo(()=>`treemap-chart-${Date.now()}-${Math.random().toString(36).slice(2)}`,[]),g=d.useMemo(()=>({width:typeof a=="number"?`${a}px`:a,height:typeof i=="number"?`${i}px`:i,position:"relative"}),[a,i]),m=d.useMemo(()=>L.getThemeFromPreset(o),[o]);d.useEffect(()=>{if(e.length===0||f.width===0||f.height===0)return;const n=e.map(b=>b.pl??0),M=Math.min(...n,0),p=Math.max(...n,0),x=F(e,1,1).map(b=>({...b,color:q(b.pl??0,M,p)}));w(x)},[e,f]),d.useEffect(()=>{if(!c.current)return;let n=!1;return(async()=>{var p;try{const{sciChartSurface:x,wasmContext:b}=await E.scichartExports.SciChartSurface.create($,{theme:{...m,sciChartBackground:"transparent"}});if(n){x.delete();return}r.current=x,x.xAxes.add(new E.scichartExports.NumericAxis(b,{isVisible:!1,autoRange:E.scichartExports.EAutoRange.Always})),x.yAxes.add(new E.scichartExports.NumericAxis(b,{isVisible:!1,autoRange:E.scichartExports.EAutoRange.Always}));const V=(p=c.current)==null?void 0:p.getBoundingClientRect();V&&z({width:V.width,height:V.height}),h.length>0&&(s==null||s(x,h))}catch(x){console.error("Failed to initialize TreemapChart:",x)}})(),()=>{n=!0,r.current&&(r.current.delete(),r.current=null)}},[$,m]),d.useEffect(()=>{r.current&&h.length>0&&(s==null||s(r.current,h))},[h,s]);const y=n=>{const M=Math.abs(n);return M>=1e6?`$${(n/1e6).toFixed(1)}M`:M>=1e3?`$${(n/1e3).toFixed(1)}K`:`$${n.toFixed(0)}`};return S.jsx("div",{ref:c,id:$,className:l,style:g,children:f.width>0&&h.map((n,M)=>S.jsx("div",{onClick:()=>u==null?void 0:u(n),style:{position:"absolute",left:`${n.x*100}%`,top:`${n.y*100}%`,width:`${n.width*100}%`,height:`${n.height*100}%`,backgroundColor:n.color,border:"1px solid rgba(0,0,0,0.1)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",cursor:u?"pointer":"default",overflow:"hidden",boxSizing:"border-box",transition:"transform 0.1s ease"},onMouseEnter:p=>{u&&(p.currentTarget.style.transform="scale(1.02)")},onMouseLeave:p=>{p.currentTarget.style.transform="scale(1)"},children:n.width*f.width>50&&n.height*f.height>40&&S.jsxs(S.Fragment,{children:[S.jsx("span",{style:{fontSize:12,fontWeight:600,color:"#1f2937"},children:n.symbol}),n.pl!==void 0&&S.jsxs("span",{style:{fontSize:10,color:n.pl>=0?"#059669":"#dc2626"},children:[n.pl>=0?"+":"",y(n.pl)]})]})},`${n.symbol}-${M}`))})});exports.TreemapChart=W;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("react/jsx-runtime"),d=require("react"),E=require("./petal-toolkit.cjs57.js"),L=require("./petal-toolkit.cjs63.js"),j={r:239,g:68,b:68},A={r:255,g:247,b:237},R={r:59,g:130,b:246};function v(t,e,a){const i=Math.max(0,Math.min(1,a));return{r:Math.round(t.r+(e.r-t.r)*i),g:Math.round(t.g+(e.g-t.g)*i),b:Math.round(t.b+(e.b-t.b)*i)}}function T(t){const e=a=>Math.max(0,Math.min(255,a)).toString(16).padStart(2,"0");return`#${e(t.r)}${e(t.g)}${e(t.b)}`}function q(t,e,a){if(t===0)return T(A);const i=Math.min(e,0),l=Math.max(a,0);if(t>0){const o=l>0?t/l:0;return T(v(A,R,o))}else{const o=i<0?Math.abs(t)/Math.abs(i):0;return T(v(A,j,o))}}function C(t,e){if(t.length===0)return 1/0;const a=t.reduce((s,c)=>s+c.normalizedValue,0),i=Math.max(...t.map(s=>s.normalizedValue)),l=Math.min(...t.map(s=>s.normalizedValue)),o=e*e,u=a*a;return Math.max(o*i/u,u/(o*l))}function O(t,e,a){const i=t.reduce((o,u)=>o+u.normalizedValue,0),l=[];if(a){const o=i/e.height;let u=e.y;for(const s of t){const c=s.normalizedValue/o;l.push({...s,x:e.x,y:u,width:o,height:c,color:""}),u+=c}}else{const o=i/e.width;let u=e.x;for(const s of t){const c=s.normalizedValue/o;l.push({...s,x:u,y:e.y,width:c,height:o,color:""}),u+=c}}return l}function F(t,e=1,a=1){if(t.length===0)return[];const i=[...t].sort((h,w)=>w.value-h.value),l=i.reduce((h,w)=>h+w.value,0),o=e*a,u=i.map(h=>({...h,normalizedValue:h.value/l*o})),s=[];let c=[...u],r={x:0,y:0,width:e,height:a};for(;c.length>0;){const h=r.width>r.height,w=h?r.height:r.width,f=[];let z=1/0;for(let g=0;g<c.length;g++){const m=[...f,c[g]],y=C(m,w);if(y<=z)f.push(c[g]),z=y;else break}const $=O(f,r,h);if(s.push(...$),c=c.slice(f.length),c.length>0){const g=f.reduce((m,y)=>m+y.normalizedValue,0);if(h){const m=g/r.height;r={x:r.x+m,y:r.y,width:r.width-m,height:r.height}}else{const m=g/r.width;r={x:r.x,y:r.y+m,width:r.width,height:r.height-m}}}}return s}const W=d.memo(function({data:e,width:a="100%",height:i=400,className:l,themePreset:o="dark",onTileClick:u,onChartReady:s}){const c=d.useRef(null),r=d.useRef(null),[h,w]=d.useState([]),[f,z]=d.useState({width:0,height:0}),$=d.useMemo(()=>`treemap-chart-${Date.now()}-${Math.random().toString(36).slice(2)}`,[]),g=d.useMemo(()=>({width:typeof a=="number"?`${a}px`:a,height:typeof i=="number"?`${i}px`:i,position:"relative"}),[a,i]),m=d.useMemo(()=>L.getThemeFromPreset(o),[o]);d.useEffect(()=>{if(e.length===0||f.width===0||f.height===0)return;const n=e.map(b=>b.pl??0),M=Math.min(...n,0),p=Math.max(...n,0),x=F(e,1,1).map(b=>({...b,color:q(b.pl??0,M,p)}));w(x)},[e,f]),d.useEffect(()=>{if(!c.current)return;let n=!1;return(async()=>{var p;try{const{sciChartSurface:x,wasmContext:b}=await E.scichartExports.SciChartSurface.create($,{theme:{...m,sciChartBackground:"transparent"}});if(n){x.delete();return}r.current=x,x.xAxes.add(new E.scichartExports.NumericAxis(b,{isVisible:!1,autoRange:E.scichartExports.EAutoRange.Always})),x.yAxes.add(new E.scichartExports.NumericAxis(b,{isVisible:!1,autoRange:E.scichartExports.EAutoRange.Always}));const V=(p=c.current)==null?void 0:p.getBoundingClientRect();V&&z({width:V.width,height:V.height}),h.length>0&&(s==null||s(x,h))}catch(x){console.error("Failed to initialize TreemapChart:",x)}})(),()=>{n=!0,r.current&&(r.current.delete(),r.current=null)}},[$,m]),d.useEffect(()=>{r.current&&h.length>0&&(s==null||s(r.current,h))},[h,s]);const y=n=>{const M=Math.abs(n);return M>=1e6?`$${(n/1e6).toFixed(1)}M`:M>=1e3?`$${(n/1e3).toFixed(1)}K`:`$${n.toFixed(0)}`};return S.jsx("div",{ref:c,id:$,className:l,style:g,children:f.width>0&&h.map((n,M)=>S.jsx("div",{onClick:()=>u==null?void 0:u(n),style:{position:"absolute",left:`${n.x*100}%`,top:`${n.y*100}%`,width:`${n.width*100}%`,height:`${n.height*100}%`,backgroundColor:n.color,border:"1px solid rgba(0,0,0,0.1)",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",cursor:u?"pointer":"default",overflow:"hidden",boxSizing:"border-box",transition:"transform 0.1s ease"},onMouseEnter:p=>{u&&(p.currentTarget.style.transform="scale(1.02)")},onMouseLeave:p=>{p.currentTarget.style.transform="scale(1)"},children:n.width*f.width>50&&n.height*f.height>40&&S.jsxs(S.Fragment,{children:[S.jsx("span",{style:{fontSize:12,fontWeight:600,color:"#1f2937"},children:n.symbol}),n.pl!==void 0&&S.jsxs("span",{style:{fontSize:10,color:n.pl>=0?"#059669":"#dc2626"},children:[n.pl>=0?"+":"",y(n.pl)]})]})},`${n.symbol}-${M}`))})});exports.TreemapChart=W;
2
2
  //# sourceMappingURL=petal-toolkit.cjs49.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./petal-toolkit.cjs1132.js"),S=require("./petal-toolkit.cjs73.js"),m=require("./petal-toolkit.cjs567.js"),R=require("./petal-toolkit.cjs588.js"),L=require("./petal-toolkit.cjs650.js"),T=require("./petal-toolkit.cjs296.js"),E=require("./petal-toolkit.cjs1131.js");var c;function j(){if(c)return n.__exports;c=1;var a=n.__exports&&n.__exports.__assign||function(){return a=Object.assign||function(t){for(var e,i=1,l=arguments.length;i<l;i++){e=arguments[i];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},a.apply(this,arguments)};Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.PieSegment=void 0;var p=S.__require(),b=m.__require(),v=R.__require(),g=L.__require(),_=T.__require(),r=E.__require(),O=(function(){function t(e){var i,l,o,u,d,s,P,y,f,h;this.colorProperty="grey",this.isSelectedProperty=!1,this.textProperty="",this.deltaProperty=15,this.shiftProperty=0,this.labelOffsetProperty=new b.Point(0,0),this.radiusAdjustmentProperty=1,this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:(0,g.generateGuid)(),this.colorProperty=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:this.colorProperty,this.colorLinearGradientProperty=(o=e==null?void 0:e.colorLinearGradient)!==null&&o!==void 0?o:this.colorLinearGradientProperty,this.isSelectedProperty=(u=e==null?void 0:e.isSelected)!==null&&u!==void 0?u:this.isSelectedProperty,this.textProperty=(d=e==null?void 0:e.text)!==null&&d!==void 0?d:this.textProperty,this.valueProperty=(s=e==null?void 0:e.value)!==null&&s!==void 0?s:this.valueProperty,this.deltaProperty=(P=e==null?void 0:e.delta)!==null&&P!==void 0?P:this.deltaProperty,this.showLabelProperty=(y=e==null?void 0:e.showLabel)!==null&&y!==void 0?y:!0,e!=null&&e.labelProvider&&("getSegmentText"in(e==null?void 0:e.labelProvider)||(e.labelProvider=(0,p.createType)(v.EBaseType.LabelProvider,e.labelProvider.type,void 0,e.labelProvider.options))),this.labelProviderProperty=e==null?void 0:e.labelProvider,this.labelOffsetProperty=(f=e==null?void 0:e.labelOffset)!==null&&f!==void 0?f:this.labelOffsetProperty,this.labelStyleProperty=e==null?void 0:e.labelStyle,this.radiusAdjustmentProperty=(h=e==null?void 0:e.radiusAdjustment)!==null&&h!==void 0?h:this.radiusAdjustmentProperty}return t.prototype.onAttach=function(e){this.parentSurface=e,this.labelProviderProperty&&this.labelProviderProperty.attachedToSurface(e),this.invalidateParentCallback=e.invalidateElement},t.prototype.onDetach=function(){this.invalidateParentCallback=void 0},Object.defineProperty(t.prototype,"showLabel",{get:function(){return this.showLabelProperty},set:function(e){this.showLabelProperty=e,this.notifyPropertyChanged(r.PROPERTY.SHOW_LABEL)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colorLinearGradient",{get:function(){return this.colorLinearGradientProperty},set:function(e){this.colorLinearGradientProperty=e,this.notifyPropertyChanged(r.PROPERTY.COLOR_LINEAR_GRADIENT)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this.colorProperty},set:function(e){this.colorProperty=e,this.notifyPropertyChanged(r.PROPERTY.COLOR)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSelected",{get:function(){return this.isSelectedProperty},set:function(e){this.isSelectedProperty!==e&&(this.isSelectedProperty=e,this.notifyPropertyChanged(r.PROPERTY.IS_SELECTED))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this.textProperty},set:function(e){this.textProperty=e,this.notifyPropertyChanged(r.PROPERTY.TEXT)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelProvider",{get:function(){return this.labelProviderProperty===void 0&&(this.labelProvider=new _.PieLabelProvider),this.labelProviderProperty},set:function(e){this.labelProviderProperty=e,this.notifyPropertyChanged(r.PROPERTY.LABEL_PROVIDER)},enumerable:!1,configurable:!0}),t.prototype.getPercentage=function(e){return 100*this.value/e},Object.defineProperty(t.prototype,"value",{get:function(){return this.valueProperty},set:function(e){this.oldValueProperty=this.valueProperty,this.valueProperty=e,this.notifyPropertyChanged(r.PROPERTY.VALUE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.oldValueProperty},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"delta",{get:function(){return this.deltaProperty},set:function(e){this.deltaProperty!==e&&(this.deltaProperty=e,this.notifyPropertyChanged(r.PROPERTY.DELTA))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shift",{get:function(){return this.shiftProperty},set:function(e){this.shiftProperty!==e&&(this.shiftProperty=e,this.notifyPropertyChanged(r.PROPERTY.SHIFT))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelStyle",{get:function(){var e;return a(a({},(e=this.parentSurface)===null||e===void 0?void 0:e.labelStyle),this.labelStyleProperty)},set:function(e){this.labelStyleProperty=a(a({},this.labelStyleProperty),e),this.notifyPropertyChanged(r.PROPERTY.LABEL_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelOffset",{get:function(){return this.labelOffsetProperty},set:function(e){var i,l;((i=this.labelOffsetProperty)===null||i===void 0?void 0:i.x)!==e.x&&((l=this.labelOffsetProperty)===null||l===void 0?void 0:l.y)!==e.y&&(this.labelOffsetProperty=e,this.notifyPropertyChanged(r.PROPERTY.LABEL_OFFSET))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radiusAdjustment",{get:function(){return this.radiusAdjustmentProperty},set:function(e){this.radiusAdjustmentProperty=e,this.notifyPropertyChanged(r.PROPERTY.RADIUS_ADJUSTMENT)},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){var e;return{id:this.id,color:this.color,colorLinearGradient:this.colorLinearGradient,isSelected:this.isSelected,delta:this.delta,text:this.text,value:this.value,labelProvider:(e=this.labelProviderProperty)===null||e===void 0?void 0:e.toJSON(),labelOffset:this.labelOffset,labelStyle:this.labelStyle,radiusAdjustment:this.radiusAdjustment}},t.prototype.getLabelText=function(e){return this.labelProviderProperty?this.labelProvider.getSegmentText(this,e):this.parentSurface.labelProvider.getSegmentText(this,e)},t.prototype.notifyPropertyChanged=function(e){e===r.PROPERTY.LABEL_PROVIDER&&this.labelProviderProperty&&this.labelProviderProperty.attachedToSurface(this.parentSurface),this.invalidateParentCallback&&this.invalidateParentCallback(e)},t})();return n.__exports.PieSegment=O,n.__exports}exports.__require=j;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./petal-toolkit.cjs1134.js"),S=require("./petal-toolkit.cjs73.js"),m=require("./petal-toolkit.cjs567.js"),R=require("./petal-toolkit.cjs588.js"),L=require("./petal-toolkit.cjs650.js"),T=require("./petal-toolkit.cjs296.js"),E=require("./petal-toolkit.cjs1133.js");var c;function j(){if(c)return n.__exports;c=1;var a=n.__exports&&n.__exports.__assign||function(){return a=Object.assign||function(t){for(var e,i=1,l=arguments.length;i<l;i++){e=arguments[i];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])}return t},a.apply(this,arguments)};Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.PieSegment=void 0;var p=S.__require(),b=m.__require(),v=R.__require(),g=L.__require(),_=T.__require(),r=E.__require(),O=(function(){function t(e){var i,l,o,u,d,s,P,y,f,h;this.colorProperty="grey",this.isSelectedProperty=!1,this.textProperty="",this.deltaProperty=15,this.shiftProperty=0,this.labelOffsetProperty=new b.Point(0,0),this.radiusAdjustmentProperty=1,this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:(0,g.generateGuid)(),this.colorProperty=(l=e==null?void 0:e.color)!==null&&l!==void 0?l:this.colorProperty,this.colorLinearGradientProperty=(o=e==null?void 0:e.colorLinearGradient)!==null&&o!==void 0?o:this.colorLinearGradientProperty,this.isSelectedProperty=(u=e==null?void 0:e.isSelected)!==null&&u!==void 0?u:this.isSelectedProperty,this.textProperty=(d=e==null?void 0:e.text)!==null&&d!==void 0?d:this.textProperty,this.valueProperty=(s=e==null?void 0:e.value)!==null&&s!==void 0?s:this.valueProperty,this.deltaProperty=(P=e==null?void 0:e.delta)!==null&&P!==void 0?P:this.deltaProperty,this.showLabelProperty=(y=e==null?void 0:e.showLabel)!==null&&y!==void 0?y:!0,e!=null&&e.labelProvider&&("getSegmentText"in(e==null?void 0:e.labelProvider)||(e.labelProvider=(0,p.createType)(v.EBaseType.LabelProvider,e.labelProvider.type,void 0,e.labelProvider.options))),this.labelProviderProperty=e==null?void 0:e.labelProvider,this.labelOffsetProperty=(f=e==null?void 0:e.labelOffset)!==null&&f!==void 0?f:this.labelOffsetProperty,this.labelStyleProperty=e==null?void 0:e.labelStyle,this.radiusAdjustmentProperty=(h=e==null?void 0:e.radiusAdjustment)!==null&&h!==void 0?h:this.radiusAdjustmentProperty}return t.prototype.onAttach=function(e){this.parentSurface=e,this.labelProviderProperty&&this.labelProviderProperty.attachedToSurface(e),this.invalidateParentCallback=e.invalidateElement},t.prototype.onDetach=function(){this.invalidateParentCallback=void 0},Object.defineProperty(t.prototype,"showLabel",{get:function(){return this.showLabelProperty},set:function(e){this.showLabelProperty=e,this.notifyPropertyChanged(r.PROPERTY.SHOW_LABEL)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"colorLinearGradient",{get:function(){return this.colorLinearGradientProperty},set:function(e){this.colorLinearGradientProperty=e,this.notifyPropertyChanged(r.PROPERTY.COLOR_LINEAR_GRADIENT)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"color",{get:function(){return this.colorProperty},set:function(e){this.colorProperty=e,this.notifyPropertyChanged(r.PROPERTY.COLOR)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isSelected",{get:function(){return this.isSelectedProperty},set:function(e){this.isSelectedProperty!==e&&(this.isSelectedProperty=e,this.notifyPropertyChanged(r.PROPERTY.IS_SELECTED))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"text",{get:function(){return this.textProperty},set:function(e){this.textProperty=e,this.notifyPropertyChanged(r.PROPERTY.TEXT)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelProvider",{get:function(){return this.labelProviderProperty===void 0&&(this.labelProvider=new _.PieLabelProvider),this.labelProviderProperty},set:function(e){this.labelProviderProperty=e,this.notifyPropertyChanged(r.PROPERTY.LABEL_PROVIDER)},enumerable:!1,configurable:!0}),t.prototype.getPercentage=function(e){return 100*this.value/e},Object.defineProperty(t.prototype,"value",{get:function(){return this.valueProperty},set:function(e){this.oldValueProperty=this.valueProperty,this.valueProperty=e,this.notifyPropertyChanged(r.PROPERTY.VALUE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"oldValue",{get:function(){return this.oldValueProperty},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"delta",{get:function(){return this.deltaProperty},set:function(e){this.deltaProperty!==e&&(this.deltaProperty=e,this.notifyPropertyChanged(r.PROPERTY.DELTA))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shift",{get:function(){return this.shiftProperty},set:function(e){this.shiftProperty!==e&&(this.shiftProperty=e,this.notifyPropertyChanged(r.PROPERTY.SHIFT))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelStyle",{get:function(){var e;return a(a({},(e=this.parentSurface)===null||e===void 0?void 0:e.labelStyle),this.labelStyleProperty)},set:function(e){this.labelStyleProperty=a(a({},this.labelStyleProperty),e),this.notifyPropertyChanged(r.PROPERTY.LABEL_STYLE)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"labelOffset",{get:function(){return this.labelOffsetProperty},set:function(e){var i,l;((i=this.labelOffsetProperty)===null||i===void 0?void 0:i.x)!==e.x&&((l=this.labelOffsetProperty)===null||l===void 0?void 0:l.y)!==e.y&&(this.labelOffsetProperty=e,this.notifyPropertyChanged(r.PROPERTY.LABEL_OFFSET))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"radiusAdjustment",{get:function(){return this.radiusAdjustmentProperty},set:function(e){this.radiusAdjustmentProperty=e,this.notifyPropertyChanged(r.PROPERTY.RADIUS_ADJUSTMENT)},enumerable:!1,configurable:!0}),t.prototype.toJSON=function(){var e;return{id:this.id,color:this.color,colorLinearGradient:this.colorLinearGradient,isSelected:this.isSelected,delta:this.delta,text:this.text,value:this.value,labelProvider:(e=this.labelProviderProperty)===null||e===void 0?void 0:e.toJSON(),labelOffset:this.labelOffset,labelStyle:this.labelStyle,radiusAdjustment:this.radiusAdjustment}},t.prototype.getLabelText=function(e){return this.labelProviderProperty?this.labelProvider.getSegmentText(this,e):this.parentSurface.labelProvider.getSegmentText(this,e)},t.prototype.notifyPropertyChanged=function(e){e===r.PROPERTY.LABEL_PROVIDER&&this.labelProviderProperty&&this.labelProviderProperty.attachedToSurface(this.parentSurface),this.invalidateParentCallback&&this.invalidateParentCallback(e)},t})();return n.__exports.PieSegment=O,n.__exports}exports.__require=j;
2
2
  //# sourceMappingURL=petal-toolkit.cjs490.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./petal-toolkit.cjs1133.js"),V=require("./petal-toolkit.cjs724.js"),q=require("./petal-toolkit.cjs555.js"),S=require("./petal-toolkit.cjs1060.js"),I=require("./petal-toolkit.cjs559.js"),R=require("./petal-toolkit.cjs554.js");var x;function E(){if(x)return n.__exports;x=1;var v=n.__exports&&n.__exports.__extends||(function(){var o=function(r,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(i[e]=a[e])},o(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(r,t);function i(){this.constructor=r}r.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}})();Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.CanvasTexture=void 0;var p=V.__require(),u=q.__require(),T=S.__require(),d=I.__require(),f=R.__require(),g=(function(o){v(r,o);function r(t,i,a){var e=o.call(this)||this;e.width=Math.floor(i),e.height=Math.floor(a),d.Guard.isTrue(e.width>0,"CanvasTexture.width must be greater than zero"),d.Guard.isTrue(e.height>0,"CanvasTexture.height must be greater than zero"),p.IS_TEST_ENV||(e.canvas=document.createElement("canvas"),e.canvas.width=e.width,e.canvas.height=e.height),e.wasmContext=t,e.intermediateVector=new e.wasmContext.UIntVector,e.intermediateVector.resize(e.height*e.width,0),e.originalIntermediateVector=new e.wasmContext.UIntVector,e.originalIntermediateVector.resize(e.height*e.width,0);var c=e.wasmContext.eTSRTextureFormat.TSR_TEXTUREFORMAT_A8B8G8R8;return e.tsrTextureCache=new T.TextureCache(t),e.tsrTextureCache.create(e.width,e.height,c),e}return r.prototype.getContext=function(){return this.canvas.getContext("2d",{willReadFrequently:!0})},r.prototype.getTexture=function(){return this.tsrTextureCache.value},r.prototype.clear=function(){this.getContext().clearRect(0,0,this.width,this.height),this.intermediateVector.fill(0),this.originalIntermediateVector.fill(0)},r.prototype.delete=function(){this.intermediateVector=(0,u.deleteSafe)(this.intermediateVector),this.originalIntermediateVector=(0,u.deleteSafe)(this.originalIntermediateVector),this.tsrTextureCache=(0,u.deleteSafe)(this.tsrTextureCache),this.wasmContext=void 0},r.prototype.copyTexture=function(){var t,i=this.width*this.height;if(!this.intermediateVector||this.intermediateVector.size()!==i)throw new Error("CanvasTexture.ts: IntermediateVector size is ".concat((t=this.intermediateVector)===null||t===void 0?void 0:t.size()," and expected ").concat(i));for(var a=this.getContext().getImageData(0,0,this.width,this.height),e=a.data,c=this.width*this.height,s=0;s<c;s++){var h=s*4,l=e[h+3];if(l!==0){var m=e[h],C=e[h+1],w=e[h+2],_=l<<24|m<<16|C<<8|w;this.intermediateVector.set(s,_>>>0),this.originalIntermediateVector.set(s,_>>>0)}}var y=this.tsrTextureCache.value;this.wasmContext.SCRTFillTextureAbgr(y,this.width,this.height,this.intermediateVector)},r.prototype.applyOpacity=function(t){this.wasmContext.SCRTMultiplyColorVectorOpacity(this.originalIntermediateVector,this.intermediateVector,t);var i=this.tsrTextureCache.value;this.wasmContext.SCRTFillTextureAbgr(i,this.width,this.height,this.intermediateVector)},r})(f.DeletableEntity);return n.__exports.CanvasTexture=g,n.__exports}exports.__require=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./petal-toolkit.cjs1135.js"),V=require("./petal-toolkit.cjs726.js"),q=require("./petal-toolkit.cjs555.js"),S=require("./petal-toolkit.cjs1062.js"),I=require("./petal-toolkit.cjs559.js"),R=require("./petal-toolkit.cjs554.js");var x;function E(){if(x)return n.__exports;x=1;var v=n.__exports&&n.__exports.__extends||(function(){var o=function(r,t){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,a){i.__proto__=a}||function(i,a){for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&(i[e]=a[e])},o(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");o(r,t);function i(){this.constructor=r}r.prototype=t===null?Object.create(t):(i.prototype=t.prototype,new i)}})();Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.CanvasTexture=void 0;var p=V.__require(),u=q.__require(),T=S.__require(),d=I.__require(),f=R.__require(),g=(function(o){v(r,o);function r(t,i,a){var e=o.call(this)||this;e.width=Math.floor(i),e.height=Math.floor(a),d.Guard.isTrue(e.width>0,"CanvasTexture.width must be greater than zero"),d.Guard.isTrue(e.height>0,"CanvasTexture.height must be greater than zero"),p.IS_TEST_ENV||(e.canvas=document.createElement("canvas"),e.canvas.width=e.width,e.canvas.height=e.height),e.wasmContext=t,e.intermediateVector=new e.wasmContext.UIntVector,e.intermediateVector.resize(e.height*e.width,0),e.originalIntermediateVector=new e.wasmContext.UIntVector,e.originalIntermediateVector.resize(e.height*e.width,0);var c=e.wasmContext.eTSRTextureFormat.TSR_TEXTUREFORMAT_A8B8G8R8;return e.tsrTextureCache=new T.TextureCache(t),e.tsrTextureCache.create(e.width,e.height,c),e}return r.prototype.getContext=function(){return this.canvas.getContext("2d",{willReadFrequently:!0})},r.prototype.getTexture=function(){return this.tsrTextureCache.value},r.prototype.clear=function(){this.getContext().clearRect(0,0,this.width,this.height),this.intermediateVector.fill(0),this.originalIntermediateVector.fill(0)},r.prototype.delete=function(){this.intermediateVector=(0,u.deleteSafe)(this.intermediateVector),this.originalIntermediateVector=(0,u.deleteSafe)(this.originalIntermediateVector),this.tsrTextureCache=(0,u.deleteSafe)(this.tsrTextureCache),this.wasmContext=void 0},r.prototype.copyTexture=function(){var t,i=this.width*this.height;if(!this.intermediateVector||this.intermediateVector.size()!==i)throw new Error("CanvasTexture.ts: IntermediateVector size is ".concat((t=this.intermediateVector)===null||t===void 0?void 0:t.size()," and expected ").concat(i));for(var a=this.getContext().getImageData(0,0,this.width,this.height),e=a.data,c=this.width*this.height,s=0;s<c;s++){var h=s*4,l=e[h+3];if(l!==0){var m=e[h],C=e[h+1],w=e[h+2],_=l<<24|m<<16|C<<8|w;this.intermediateVector.set(s,_>>>0),this.originalIntermediateVector.set(s,_>>>0)}}var y=this.tsrTextureCache.value;this.wasmContext.SCRTFillTextureAbgr(y,this.width,this.height,this.intermediateVector)},r.prototype.applyOpacity=function(t){this.wasmContext.SCRTMultiplyColorVectorOpacity(this.originalIntermediateVector,this.intermediateVector,t);var i=this.tsrTextureCache.value;this.wasmContext.SCRTFillTextureAbgr(i,this.width,this.height,this.intermediateVector)},r})(f.DeletableEntity);return n.__exports.CanvasTexture=g,n.__exports}exports.__require=E;
2
2
  //# sourceMappingURL=petal-toolkit.cjs491.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./petal-toolkit.cjs1134.js"),d=require("./petal-toolkit.cjs724.js"),I=require("./petal-toolkit.cjs557.js"),T=require("./petal-toolkit.cjs571.js"),h=require("./petal-toolkit.cjs241.js");var c;function g(){if(c)return o.__exports;c=1;var a=o.__exports&&o.__exports.__assign||function(){return a=Object.assign||function(r){for(var n,e=1,t=arguments.length;e<t;e++){n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},a.apply(this,arguments)};Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.DpiHelper=void 0;var f=d.__require(),_=I.__require(),p=T.__require(),u=h.__require(),l=(function(){function r(){}return r.initialize=function(){r.initialized||(r.PIXEL_RATIO=1,r.IsDpiScaleEnabled&&typeof window<"u"&&window.devicePixelRatio&&(r.PIXEL_RATIO=window.devicePixelRatio),u.DebugForDpi&&console.log("Initializing Dpi Helper. Scaling factor = "+r.PIXEL_RATIO),r.IsDpiScaleEnabled&&!f.IS_TEST_ENV&&window.addEventListener("resize",function(){var n=window.devicePixelRatio||1,e=r.PIXEL_RATIO;e!==n&&(u.DebugForDpi&&console.log("Dpi Changing, was ".concat(e,", now ").concat(n)),r.PIXEL_RATIO=n,r.dpiChanged.raiseEvent({newValue:n,oldValue:e}))}),r.initialized=!0)},r.createCanvas=function(n,e){n===void 0&&(n=0),e===void 0&&(e=0);var t=document.createElement("canvas");return n&&e&&r.setSize(t,n,e),t},r.setSize=function(n,e,t){r.setWidth(n,e),r.setHeight(n,t)},r.setWidth=function(n,e){u.DebugForDpi&&console.log("setWidth ".concat(n.id," backBuffer=").concat(e*r.PIXEL_RATIO," display=").concat(e)),n.width=e*r.PIXEL_RATIO},r.setHeight=function(n,e){u.DebugForDpi&&console.log("setHeight ".concat(n.id," backBuffer=").concat(e*r.PIXEL_RATIO," display=").concat(e)),n.height=e*r.PIXEL_RATIO},r.adjustLineStyle=function(n,e){e===void 0&&(e=r.PIXEL_RATIO);var t=a({},n);return t.end*=e,t.start*=e,t.strokeThickness*=e,t},r.adjustTextStyle=function(n,e){e===void 0&&(e=r.PIXEL_RATIO);var t=a({},n);return t.fontSize=Math.round(t.fontSize*e),n.padding&&(t.padding=r.adjustThickness(n.padding,e)),t},r.adjustStrokeSize=function(n,e){var t;e===void 0&&(e=r.PIXEL_RATIO);var i=a({},n),s=Math.round(n.strokeThickness*e);return i.strokeDashArray=(t=n.strokeDashArray)===null||t===void 0?void 0:t.map(function(v){return Math.round(v*e)}),i.strokeThickness=s>0||n.strokeThickness===0?s:1,i},r.adjustThickness=function(n,e){return e===void 0&&(e=r.PIXEL_RATIO),new p.Thickness(Math.round(n.top*e),Math.round(n.right*e),Math.round(n.bottom*e),Math.round(n.left*e))},r.IsDpiScaleEnabled=!0,r.dpiChanged=new _.EventHandler,r})();return o.__exports.DpiHelper=l,o.__exports}exports.__require=g;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./petal-toolkit.cjs1136.js"),d=require("./petal-toolkit.cjs726.js"),I=require("./petal-toolkit.cjs557.js"),T=require("./petal-toolkit.cjs571.js"),h=require("./petal-toolkit.cjs241.js");var c;function g(){if(c)return o.__exports;c=1;var a=o.__exports&&o.__exports.__assign||function(){return a=Object.assign||function(r){for(var n,e=1,t=arguments.length;e<t;e++){n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])}return r},a.apply(this,arguments)};Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.DpiHelper=void 0;var f=d.__require(),_=I.__require(),p=T.__require(),u=h.__require(),l=(function(){function r(){}return r.initialize=function(){r.initialized||(r.PIXEL_RATIO=1,r.IsDpiScaleEnabled&&typeof window<"u"&&window.devicePixelRatio&&(r.PIXEL_RATIO=window.devicePixelRatio),u.DebugForDpi&&console.log("Initializing Dpi Helper. Scaling factor = "+r.PIXEL_RATIO),r.IsDpiScaleEnabled&&!f.IS_TEST_ENV&&window.addEventListener("resize",function(){var n=window.devicePixelRatio||1,e=r.PIXEL_RATIO;e!==n&&(u.DebugForDpi&&console.log("Dpi Changing, was ".concat(e,", now ").concat(n)),r.PIXEL_RATIO=n,r.dpiChanged.raiseEvent({newValue:n,oldValue:e}))}),r.initialized=!0)},r.createCanvas=function(n,e){n===void 0&&(n=0),e===void 0&&(e=0);var t=document.createElement("canvas");return n&&e&&r.setSize(t,n,e),t},r.setSize=function(n,e,t){r.setWidth(n,e),r.setHeight(n,t)},r.setWidth=function(n,e){u.DebugForDpi&&console.log("setWidth ".concat(n.id," backBuffer=").concat(e*r.PIXEL_RATIO," display=").concat(e)),n.width=e*r.PIXEL_RATIO},r.setHeight=function(n,e){u.DebugForDpi&&console.log("setHeight ".concat(n.id," backBuffer=").concat(e*r.PIXEL_RATIO," display=").concat(e)),n.height=e*r.PIXEL_RATIO},r.adjustLineStyle=function(n,e){e===void 0&&(e=r.PIXEL_RATIO);var t=a({},n);return t.end*=e,t.start*=e,t.strokeThickness*=e,t},r.adjustTextStyle=function(n,e){e===void 0&&(e=r.PIXEL_RATIO);var t=a({},n);return t.fontSize=Math.round(t.fontSize*e),n.padding&&(t.padding=r.adjustThickness(n.padding,e)),t},r.adjustStrokeSize=function(n,e){var t;e===void 0&&(e=r.PIXEL_RATIO);var i=a({},n),s=Math.round(n.strokeThickness*e);return i.strokeDashArray=(t=n.strokeDashArray)===null||t===void 0?void 0:t.map(function(v){return Math.round(v*e)}),i.strokeThickness=s>0||n.strokeThickness===0?s:1,i},r.adjustThickness=function(n,e){return e===void 0&&(e=r.PIXEL_RATIO),new p.Thickness(Math.round(n.top*e),Math.round(n.right*e),Math.round(n.bottom*e),Math.round(n.left*e))},r.IsDpiScaleEnabled=!0,r.dpiChanged=new _.EventHandler,r})();return o.__exports.DpiHelper=l,o.__exports}exports.__require=g;
2
2
  //# sourceMappingURL=petal-toolkit.cjs492.js.map
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./petal-toolkit.cjs1135.js"),Z=require("./petal-toolkit.cjs724.js"),$=require("./petal-toolkit.cjs554.js"),ee=require("./petal-toolkit.cjs586.js"),te=require("./petal-toolkit.cjs604.js"),re=require("./petal-toolkit.cjs648.js"),ae=require("./petal-toolkit.cjs662.js"),ie=require("./petal-toolkit.cjs313.js"),ne=require("./petal-toolkit.cjs492.js");var N;function se(){return N||(N=1,(function(T){var U=M.__exports&&M.__exports.__extends||(function(){var u=function(a,t){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},u(a,t)};return function(a,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");u(a,t);function e(){this.constructor=a}a.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})();Object.defineProperty(T,"__esModule",{value:!0}),T.measureTextWidth=T.measureTextHeight=T.TextureManager=void 0;var S=Z.__require(),z=$.__require(),y=ee.__require(),I=te.__require(),B=re.__require(),P=ae.__require(),G=ie.__require(),O=ne.__require(),V=1080,k=1920,X=(function(u){U(a,u);function a(t){var e=u.call(this)||this;return e.webAssemblyContext=t,S.IS_TEST_ENV||(e.canvas=document.createElement("canvas"),e.canvas.width=k,e.canvas.height=V,e.ctx=e.canvas.getContext("2d",{willReadFrequently:!0})),e}return a.prototype.createSimpleTextTexture=function(t,e,r,i,n,s){var l=0;return i&&(n?l=90:l=-90),this.createTextTexture([t],e,l,void 0,r,s)},a.prototype.createTextTextureNative=function(t,e,r,i,n,s){e.fontStyle,e.fontWeight;var l=e.fontFamily,o=e.fontSize;e.padding,e.alignment;var x=e.color,g=this.webAssemblyContext.SCRTGetMainRenderContext2D(),_=(0,G.getFontKey)(this.webAssemblyContext,{fontFamily:l,fontSize:o??12}),h=n?(0,P.parseColorToUIntArgb)(n):0,v=g.CreateTextTextureColored(_,t.join(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("./petal-toolkit.cjs1137.js"),Z=require("./petal-toolkit.cjs726.js"),$=require("./petal-toolkit.cjs554.js"),ee=require("./petal-toolkit.cjs586.js"),te=require("./petal-toolkit.cjs604.js"),re=require("./petal-toolkit.cjs648.js"),ae=require("./petal-toolkit.cjs662.js"),ie=require("./petal-toolkit.cjs313.js"),ne=require("./petal-toolkit.cjs492.js");var N;function se(){return N||(N=1,(function(T){var U=M.__exports&&M.__exports.__extends||(function(){var u=function(a,t){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},u(a,t)};return function(a,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");u(a,t);function e(){this.constructor=a}a.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})();Object.defineProperty(T,"__esModule",{value:!0}),T.measureTextWidth=T.measureTextHeight=T.TextureManager=void 0;var S=Z.__require(),z=$.__require(),y=ee.__require(),I=te.__require(),B=re.__require(),P=ae.__require(),G=ie.__require(),O=ne.__require(),V=1080,k=1920,X=(function(u){U(a,u);function a(t){var e=u.call(this)||this;return e.webAssemblyContext=t,S.IS_TEST_ENV||(e.canvas=document.createElement("canvas"),e.canvas.width=k,e.canvas.height=V,e.ctx=e.canvas.getContext("2d",{willReadFrequently:!0})),e}return a.prototype.createSimpleTextTexture=function(t,e,r,i,n,s){var l=0;return i&&(n?l=90:l=-90),this.createTextTexture([t],e,l,void 0,r,s)},a.prototype.createTextTextureNative=function(t,e,r,i,n,s){e.fontStyle,e.fontWeight;var l=e.fontFamily,o=e.fontSize;e.padding,e.alignment;var x=e.color,g=this.webAssemblyContext.SCRTGetMainRenderContext2D(),_=(0,G.getFontKey)(this.webAssemblyContext,{fontFamily:l,fontSize:o??12}),h=n?(0,P.parseColorToUIntArgb)(n):0,v=g.CreateTextTextureColored(_,t.join(`
2
2
  `),(0,P.parseColorToUIntArgb)(x),h);this.webAssemblyContext.SCRTSetTextureLinearSamplerEnabled(v,!1);var b=v.GetWidth(),c=v.GetHeight();return{bitmapTexture:v,textureWidth:b,textureHeight:c}},a.prototype.createTextTexture=function(t,e,r,i,n,s){var l;if(S.IS_TEST_ENV)return{bitmapTexture:void 0,textureWidth:1,textureHeight:1};var o=e.fontStyle,x=e.fontWeight,g=e.fontFamily,_=e.fontSize,h=e.padding,v=e.alignment,b=e.color;this.ctx.save(),this.ctx.globalAlpha=s??1,this.ctx.textBaseline="alphabetic",this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),n&&(this.ctx.fillStyle=n,this.ctx.fillRect(0,0,this.canvas.width,this.canvas.height)),this.ctx.fillStyle=b,this.ctx.font=(0,B.getFontString)(o,x,_,g);for(var c=0,m=h.top+h.bottom,C=0,R=0,A=[],f=0;f<t.length;f++){var d=t[f],p=this.ctx.measureText(d),F=Math.round(p.actualBoundingBoxAscent+p.actualBoundingBoxDescent);A.push(F),F>C&&(C=F),f===0&&(R=p.actualBoundingBoxAscent);var w=Math.round(p.width+h.left+h.right);w>c&&(c=w),m+=F}var H=Math.round(C*((i??1.1)-1));m+=(t.length-1)*H;var j=h.top+R,W=h.left;if(!c||!m)return{bitmapTexture:void 0,textureWidth:c,textureHeight:m};var q=c,D=m;if(r){var E=r*Math.PI/180;q=Math.round(c*Math.abs(Math.cos(E))+m*Math.abs(Math.sin(E))),D=Math.round(c*Math.abs(Math.sin(E))+m*Math.abs(Math.cos(E))),this.ctx.translate(q/2,D/2),this.ctx.rotate(E),this.ctx.translate(-c/2,-m/2)}for(var L=(l=e.multilineAlignment)!==null&&l!==void 0?l:v,Y=c-h.right-h.left,f=0;f<t.length;f++){var d=t[f];if(L===I.ELabelAlignment.Center||L===I.ELabelAlignment.Right){var w=(0,T.measureTextWidth)(this.ctx,d);W=L===I.ELabelAlignment.Right?c-w-h.right:(Y-w)/2+h.left}this.ctx.fillText(d,Math.round(W),Math.round(j)),j+=A[f]+H}return this.ctx.strokeStyle=b,this.ctx.restore(),this.createTextureFromCtxBuffer(q,D)},a.prototype.createAxisMarkerTexture=function(t,e,r,i,n,s,l,o,x,g){o===void 0&&(o=0),this.ctx.globalAlpha=g??1,this.ctx.textBaseline="top",this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.ctx.font=(0,B.getFontString)(r,i,n,s);var _=(0,T.measureTextWidth)(this.ctx,e)+4*o,h=(0,T.measureTextHeight)(n)+2*o,v=Q(h,_,e,t),b=v.angle,c=v.alignmentLeft,m=v.alignmentTop,C=v.finalTextureWidth,R=v.finalTextureHeight,A=v.halfHeight;if(this.ctx.save(),this.ctx.translate((_+A)/2,h/2),this.ctx.rotate(b),this.ctx.translate(c,m),x){var f=new Path2D,d=h,p=_;f.moveTo(0,0),f.lineTo(p,0),f.lineTo(A+p,A),f.lineTo(p,d),f.lineTo(0,d),f.closePath(),this.ctx.fillStyle=x,this.ctx.fill(f)}return t!==y.EAxisAlignment.Right&&(this.ctx.fillStyle=l,this.ctx.fillText(e,2*o,o)),this.ctx.restore(),t===y.EAxisAlignment.Right&&(this.ctx.fillStyle=l,this.ctx.fillText(e,2*o+A,o)),this.createTextureFromCtxBuffer(C,R)},a.prototype.createTextureFromImage=function(t,e,r){this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height);var i=(e??t.width)*O.DpiHelper.PIXEL_RATIO,n=(r??t.height)*O.DpiHelper.PIXEL_RATIO;return this.ctx.drawImage(t,0,0,i,n),this.createTextureFromCtxBuffer(i,n)},a.prototype.getTextureContext=function(t,e){if(!S.IS_TEST_ENV)return t>this.canvas.width&&(this.canvas.width=t),e>this.canvas.height&&(this.canvas.height=e),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height),this.ctx},a.prototype.createTextureFromCtxBuffer=function(t,e){var r=this.ctx.getImageData(0,0,t,e);return this.createTextureFromImageData(r,t,e)},a.prototype.createTextureFromImageData=function(t,e,r){var i=this.webAssemblyContext.eTSRTextureFormat.TSR_TEXTUREFORMAT_A8B8G8R8,n=this.webAssemblyContext.SCRTCreateBitmapTexture(e,r,i),s;try{var l=t.data;this.webAssemblyContext.SCRTSetActiveTexture(n),s=this.webAssemblyContext._malloc(l.length),this.webAssemblyContext.HEAP8.set(l,s);var o=this.webAssemblyContext.ccall("SCRTFillActiveTextureCharArray",null,["number","number","number"],[e,r,s])}catch(x){console.error(x)}finally{this.webAssemblyContext._free(s),this.webAssemblyContext.SCRTSetTextureLinearSamplerEnabled(n,!1)}return{bitmapTexture:n,textureWidth:e,textureHeight:r}},a.prototype.delete=function(){this.canvas=void 0,this.ctx=void 0,this.webAssemblyContext=void 0},a.prototype.createTextureFromCtx=function(t,e){var r=this.ctx.getImageData(0,0,t,e),i=r.data,n=t*e,s=new this.webAssemblyContext.UIntVector;s.resize(n,0);for(var l=0;l<n;l++){var o=l*4,x=i[o+3];if(x!==0){var g=i[o],_=i[o+1],h=i[o+2],v=x<<24|h<<16|_<<8|g;s.set(l,v>>>0)}}var b=this.webAssemblyContext.eTSRTextureFormat.TSR_TEXTUREFORMAT_A8B8G8R8,c=this.webAssemblyContext.SCRTCreateBitmapTexture(t,e,b);return this.webAssemblyContext.SCRTFillTextureAbgr(c,t,e,s),s.delete(),{bitmapTexture:c,textureWidth:t,textureHeight:e}},a})(z.DeletableEntity);T.TextureManager=X;var K=function(u){return u};T.measureTextHeight=K;var J=function(u,a){if(S.IS_TEST_ENV)return 1;var t=u.measureText(a);return Math.ceil(t.width)};T.measureTextWidth=J;var Q=function(u,a,t,e){var r=Math.ceil(u/2),i=0,n=0,s=0,l=a+r,o=u;switch(e){case y.EAxisAlignment.Left:i=0,n=-(a+r)/2,s=-u/2;break;case y.EAxisAlignment.Top:i=Math.PI*.5,n=-u/2,s=(a+r)/2-u,l=u,o=a+r;break;case y.EAxisAlignment.Right:i=Math.PI,n=-(a+r)/2,s=-u/2;break;case y.EAxisAlignment.Bottom:i=Math.PI*1.5,n=-a,s=-(a+r)/2,l=u,o=a+r;break}return{angle:i,alignmentLeft:n,alignmentTop:s,finalTextureWidth:l,finalTextureHeight:o,halfHeight:r}}})(M.__exports)),M.__exports}exports.__require=se;
3
3
  //# sourceMappingURL=petal-toolkit.cjs493.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./petal-toolkit.cjs1136.js"),R=require("./petal-toolkit.cjs557.js"),A=require("./petal-toolkit.cjs559.js"),w=require("./petal-toolkit.cjs568.js"),T=require("./petal-toolkit.cjs495.js"),E=require("./petal-toolkit.cjs1137.js");var g;function M(){return g||(g=1,(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a.CameraController=a.ECameraProjectionMode=void 0;var b=R.__require(),C=A.__require(),v=w.__require(),n=T.__require(),o=E.__require(),h;(function(i){i.Perspective="Perspective",i.Orthogonal="Orthogonal"})(h=a.ECameraProjectionMode||(a.ECameraProjectionMode={}));var O=(function(){function i(e,t){var r,s,l,d,p,c,u,P,y;this.aspectRatioProperty=1.5,this.idProperty="Default",this.farClipProperty=4e3,this.fieldOfViewProperty=60,this.isAttachedProperty=!1,this.nearClipProperty=1,this.orbitalPitchProperty=0,this.orbitalYawProperty=0,this.orthoHeightProperty=400,this.orthoWidthProperty=600,this.positionProperty=n.Vector3.zero,this.projectionModeProperty=h.Perspective,this.targetProperty=n.Vector3.zero,this.webAssemblyContext=e,this.propertyChanged=new b.EventHandler,this.resetToDefaults(),this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:this.id,this.farClipProperty=(s=t==null?void 0:t.farClip)!==null&&s!==void 0?s:this.farClip,this.fieldOfViewProperty=(l=t==null?void 0:t.fieldOfView)!==null&&l!==void 0?l:this.fieldOfView,this.nearClipProperty=(d=t==null?void 0:t.nearClip)!==null&&d!==void 0?d:this.nearClip,this.orthoHeightProperty=(p=t==null?void 0:t.orthoHeight)!==null&&p!==void 0?p:this.orthoHeight,this.orthoWidthProperty=(c=t==null?void 0:t.orthoWidth)!==null&&c!==void 0?c:this.orthoWidth,this.projectionModeProperty=(u=t==null?void 0:t.projectionMode)!==null&&u!==void 0?u:this.projectionMode,this.position=t!=null&&t.position?n.Vector3.hydrate(t==null?void 0:t.position):this.position,this.target=t!=null&&t.target?n.Vector3.hydrate(t==null?void 0:t.target):this.target,this.id=(P=t==null?void 0:t.id)!==null&&P!==void 0?P:this.id,this.debugPositionsProperty=(y=t==null?void 0:t.debugPositions)!==null&&y!==void 0?y:!1}return Object.defineProperty(i.prototype,"id",{get:function(){return this.idProperty},set:function(e){this.idProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ID)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"orthoHeight",{get:function(){return this.orthoHeightProperty},set:function(e){this.orthoHeightProperty!==e&&(this.orthoHeightProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ORTHOHEIGHT))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"orthoWidth",{get:function(){return this.orthoWidthProperty},set:function(e){this.orthoWidthProperty!==e&&(this.orthoWidthProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ORTHOWIDTH))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"projectionMode",{get:function(){return this.projectionModeProperty},set:function(e){this.projectionModeProperty!==e&&(this.projectionModeProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_PROJECTIONMODE))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"aspectRatio",{get:function(){return this.aspectRatioProperty},set:function(e){this.aspectRatioProperty!==e&&(this.aspectRatioProperty=e,this.orthoWidth=this.orthoHeight*this.aspectRatioProperty,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ASPECTRATIO))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isAttached",{get:function(){return this.isAttachedProperty},set:function(e){this.isAttachedProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ISATTACHED)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"radius",{get:function(){var e=this.target.subtract(this.position).length;return e},set:function(e){e<=1&&(e=1),this.radius!==e&&(this.position=this.target.subtract(this.forward.scalarMultiply(e)),this.notifyPropertyChanged(o.PROPERTY.CAMERA_RADIUS))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"orbitalPitch",{get:function(){return this.orbitalPitchProperty},set:function(e){if(this.orbitalPitchProperty!==e){this.orbitalPitchProperty=e>90?89.9:e<-90?-89.9:e;var t=this.webAssemblyContext.Math3D.PitchAndYawToDirection(this.orbitalPitchProperty,this.orbitalYawProperty);try{var r=new n.Vector3(t.x,t.y,t.z);r=r.scalarMultiply(this.radius),this.position=this.target.subtract(r),this.notifyPropertyChanged(o.PROPERTY.CAMERA_ORBITALPITCH)}finally{t==null||t.delete()}}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"orbitalYaw",{get:function(){return this.orbitalYawProperty},set:function(e){if(this.orbitalYawProperty!==e){this.orbitalYawProperty=e;var t=this.webAssemblyContext.Math3D.PitchAndYawToDirection(this.orbitalPitchProperty,this.orbitalYawProperty);try{var r=new n.Vector3(t.x,t.y,t.z);r=r.scalarMultiply(this.radius),this.position=this.target.subtract(r),this.notifyPropertyChanged(o.PROPERTY.CAMERA_ORBITALYAW)}finally{t==null||t.delete()}}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"farClip",{get:function(){return this.farClipProperty},set:function(e){this.farClipProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_FARCLIP)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"nearClip",{get:function(){return this.nearClipProperty},set:function(e){this.nearClipProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_NEARCLIP)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"fieldOfView",{get:function(){return this.fieldOfViewProperty},set:function(e){this.fieldOfViewProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_FIELDOFVIEW)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"upGlobal",{get:function(){return new n.Vector3(0,1,0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"side",{get:function(){var e=this.forward,t=e.crossProduct(this.upGlobal).crossProduct(e),r=t.crossProduct(e);return r.normalize(),r},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"forward",{get:function(){var e=this.target.subtract(this.position);return e.normalize(),e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"up",{get:function(){var e=this.forward,t=e.crossProduct(this.upGlobal).crossProduct(e);return t.normalize(),t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this.targetProperty},set:function(e){if(this.targetProperty!==e){this.targetProperty=e;var t,r;try{t=this.forward.toTsrVector3(this.webAssemblyContext),r=this.webAssemblyContext.Math3D.DirectionToPitchAndYaw(t),this.orbitalPitchProperty=r.pitch,this.orbitalYawProperty=r.yaw,this.notifyPropertyChanged(o.PROPERTY.CAMERA_TARGET)}finally{t==null||t.delete(),r==null||r.delete()}}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return this.positionProperty},set:function(e){if(this.positionProperty!==e){this.positionProperty=e;var t,r;try{t=this.forward.toTsrVector3(this.webAssemblyContext),r=this.webAssemblyContext.Math3D.DirectionToPitchAndYaw(t),this.orbitalPitchProperty=r.pitch,this.orbitalYawProperty=r.yaw,this.notifyPropertyChanged(o.PROPERTY.CAMERA_POSITION)}finally{t==null||t.delete(),r==null||r.delete()}}},enumerable:!1,configurable:!0}),i.prototype.toOrthogonal=function(){this.projectionModeProperty!==h.Orthogonal&&(this.projectionModeProperty=h.Orthogonal,this.orthoWidthProperty=this.radius,this.orthoHeightProperty=this.orthoWidth/this.aspectRatio,this.notifyPropertyChanged(o.PROPERTY.CAMERA_PROJECTIONMODE))},i.prototype.toPerspective=function(){this.projectionModeProperty!==h.Perspective&&(this.projectionModeProperty=h.Perspective,this.radius=this.orthoWidth,this.notifyPropertyChanged(o.PROPERTY.CAMERA_PROJECTIONMODE))},i.prototype.resetToDefaults=function(){this.positionProperty=new n.Vector3(-1e3,1e3,-1e3),this.targetProperty=new n.Vector3(0,0,0),this.fieldOfViewProperty=60,this.nearClipProperty=1,this.farClipProperty=4e3,this.projectionModeProperty=h.Perspective,this.aspectRatioProperty=1.5,this.orthoWidthProperty=600,this.orthoHeightProperty=400;var e,t;try{e=this.forward.toTsrVector3(this.webAssemblyContext),t=this.webAssemblyContext.Math3D.DirectionToPitchAndYaw(e),this.orbitalPitch=t.pitch,this.orbitalYaw=t.yaw}finally{t==null||t.delete(),e==null||e.delete()}},i.prototype.updateEngineCamera=function(e){C.Guard.notNull(e,"tsrCamera");var t,r,s;try{t=this.position.toTsrVector3(this.webAssemblyContext),r=this.target.toTsrVector3(this.webAssemblyContext),s=this.up.toTsrVector3(this.webAssemblyContext),e.SetLoc(t),e.SetAt(r),e.SetFarClip(this.farClip),e.SetNearClip(this.nearClip),e.SetFovAngle(this.webAssemblyContext.Math3D.DegToRad(this.fieldOfView)),e.SetProjectionMode(this.projectionMode===h.Perspective?this.webAssemblyContext.eTSRCameraProjectionMode.CAMERA_PROJECTIONMODE_PERSPECTIVE:this.webAssemblyContext.eTSRCameraProjectionMode.CAMERA_PROJECTIONMODE_ORTHOGONAL),e.SetOrthoWidth(this.orthoWidth),e.SetOrthoHeight(this.orthoHeight),e.SetAspectRatio(this.aspectRatio),e.SetYaw(this.webAssemblyContext.Math3D.DegToRad(this.orbitalYaw)),e.SetPitch(this.webAssemblyContext.Math3D.DegToRad(this.orbitalPitch)),e.SetUp(s)}finally{t==null||t.delete(),r==null||r.delete(),s==null||s.delete()}},i.prototype.notifyPropertyChanged=function(e){var t;this.debugPositionsProperty&&(e===o.PROPERTY.CAMERA_POSITION||e===o.PROPERTY.CAMERA_TARGET)&&console.log("SciChart.js Camera P=".concat(this.position.toString(),", T=").concat(this.target.toString())),(t=this.propertyChanged)===null||t===void 0||t.raiseEvent(new v.PropertyChangedEventArgs(e))},i.prototype.debugOutput=function(){var e=["Camera id='".concat(this.id,"': ")," position: ".concat(this.position.toString())," target: ".concat(this.target.toString())," pitch: ".concat(this.orbitalPitch.toFixed(2)," degrees")," yaw: ".concat(this.orbitalYaw.toFixed(2)," degrees")," up Vector: ".concat(this.up.toString())," forward Vector: ".concat(this.forward.toString())," projectionMode: ".concat(this.projectionMode)];return this.projectionMode===h.Orthogonal?(e.push(" orthoWidth: ".concat(this.orthoWidth.toFixed(2))),e.push(" orthoHeight: ".concat(this.orthoHeight.toFixed(2)))):(e.push(" radius: ".concat(this.radius.toFixed(2))),e.push(" fieldOfView: ".concat(this.fieldOfView.toFixed(2)," degrees"))),e.forEach(function(t){return console.log(t)}),e},i.prototype.toJSON=function(){var e={id:this.id,position:this.position,target:this.target,fieldOfView:this.fieldOfView,nearClip:this.nearClip,farClip:this.farClip,projectionMode:this.projectionMode,orthoWidth:this.orthoWidth,orthoHeight:this.orthoHeight};return e},i})();a.CameraController=O})(f.__exports)),f.__exports}exports.__require=M;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./petal-toolkit.cjs1138.js"),R=require("./petal-toolkit.cjs557.js"),A=require("./petal-toolkit.cjs559.js"),w=require("./petal-toolkit.cjs568.js"),T=require("./petal-toolkit.cjs495.js"),E=require("./petal-toolkit.cjs1139.js");var g;function M(){return g||(g=1,(function(a){Object.defineProperty(a,"__esModule",{value:!0}),a.CameraController=a.ECameraProjectionMode=void 0;var b=R.__require(),C=A.__require(),v=w.__require(),n=T.__require(),o=E.__require(),h;(function(i){i.Perspective="Perspective",i.Orthogonal="Orthogonal"})(h=a.ECameraProjectionMode||(a.ECameraProjectionMode={}));var O=(function(){function i(e,t){var r,s,l,d,p,c,u,P,y;this.aspectRatioProperty=1.5,this.idProperty="Default",this.farClipProperty=4e3,this.fieldOfViewProperty=60,this.isAttachedProperty=!1,this.nearClipProperty=1,this.orbitalPitchProperty=0,this.orbitalYawProperty=0,this.orthoHeightProperty=400,this.orthoWidthProperty=600,this.positionProperty=n.Vector3.zero,this.projectionModeProperty=h.Perspective,this.targetProperty=n.Vector3.zero,this.webAssemblyContext=e,this.propertyChanged=new b.EventHandler,this.resetToDefaults(),this.id=(r=t==null?void 0:t.id)!==null&&r!==void 0?r:this.id,this.farClipProperty=(s=t==null?void 0:t.farClip)!==null&&s!==void 0?s:this.farClip,this.fieldOfViewProperty=(l=t==null?void 0:t.fieldOfView)!==null&&l!==void 0?l:this.fieldOfView,this.nearClipProperty=(d=t==null?void 0:t.nearClip)!==null&&d!==void 0?d:this.nearClip,this.orthoHeightProperty=(p=t==null?void 0:t.orthoHeight)!==null&&p!==void 0?p:this.orthoHeight,this.orthoWidthProperty=(c=t==null?void 0:t.orthoWidth)!==null&&c!==void 0?c:this.orthoWidth,this.projectionModeProperty=(u=t==null?void 0:t.projectionMode)!==null&&u!==void 0?u:this.projectionMode,this.position=t!=null&&t.position?n.Vector3.hydrate(t==null?void 0:t.position):this.position,this.target=t!=null&&t.target?n.Vector3.hydrate(t==null?void 0:t.target):this.target,this.id=(P=t==null?void 0:t.id)!==null&&P!==void 0?P:this.id,this.debugPositionsProperty=(y=t==null?void 0:t.debugPositions)!==null&&y!==void 0?y:!1}return Object.defineProperty(i.prototype,"id",{get:function(){return this.idProperty},set:function(e){this.idProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ID)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"orthoHeight",{get:function(){return this.orthoHeightProperty},set:function(e){this.orthoHeightProperty!==e&&(this.orthoHeightProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ORTHOHEIGHT))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"orthoWidth",{get:function(){return this.orthoWidthProperty},set:function(e){this.orthoWidthProperty!==e&&(this.orthoWidthProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ORTHOWIDTH))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"projectionMode",{get:function(){return this.projectionModeProperty},set:function(e){this.projectionModeProperty!==e&&(this.projectionModeProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_PROJECTIONMODE))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"aspectRatio",{get:function(){return this.aspectRatioProperty},set:function(e){this.aspectRatioProperty!==e&&(this.aspectRatioProperty=e,this.orthoWidth=this.orthoHeight*this.aspectRatioProperty,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ASPECTRATIO))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"isAttached",{get:function(){return this.isAttachedProperty},set:function(e){this.isAttachedProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_ISATTACHED)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"radius",{get:function(){var e=this.target.subtract(this.position).length;return e},set:function(e){e<=1&&(e=1),this.radius!==e&&(this.position=this.target.subtract(this.forward.scalarMultiply(e)),this.notifyPropertyChanged(o.PROPERTY.CAMERA_RADIUS))},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"orbitalPitch",{get:function(){return this.orbitalPitchProperty},set:function(e){if(this.orbitalPitchProperty!==e){this.orbitalPitchProperty=e>90?89.9:e<-90?-89.9:e;var t=this.webAssemblyContext.Math3D.PitchAndYawToDirection(this.orbitalPitchProperty,this.orbitalYawProperty);try{var r=new n.Vector3(t.x,t.y,t.z);r=r.scalarMultiply(this.radius),this.position=this.target.subtract(r),this.notifyPropertyChanged(o.PROPERTY.CAMERA_ORBITALPITCH)}finally{t==null||t.delete()}}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"orbitalYaw",{get:function(){return this.orbitalYawProperty},set:function(e){if(this.orbitalYawProperty!==e){this.orbitalYawProperty=e;var t=this.webAssemblyContext.Math3D.PitchAndYawToDirection(this.orbitalPitchProperty,this.orbitalYawProperty);try{var r=new n.Vector3(t.x,t.y,t.z);r=r.scalarMultiply(this.radius),this.position=this.target.subtract(r),this.notifyPropertyChanged(o.PROPERTY.CAMERA_ORBITALYAW)}finally{t==null||t.delete()}}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"farClip",{get:function(){return this.farClipProperty},set:function(e){this.farClipProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_FARCLIP)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"nearClip",{get:function(){return this.nearClipProperty},set:function(e){this.nearClipProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_NEARCLIP)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"fieldOfView",{get:function(){return this.fieldOfViewProperty},set:function(e){this.fieldOfViewProperty=e,this.notifyPropertyChanged(o.PROPERTY.CAMERA_FIELDOFVIEW)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"upGlobal",{get:function(){return new n.Vector3(0,1,0)},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"side",{get:function(){var e=this.forward,t=e.crossProduct(this.upGlobal).crossProduct(e),r=t.crossProduct(e);return r.normalize(),r},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"forward",{get:function(){var e=this.target.subtract(this.position);return e.normalize(),e},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"up",{get:function(){var e=this.forward,t=e.crossProduct(this.upGlobal).crossProduct(e);return t.normalize(),t},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"target",{get:function(){return this.targetProperty},set:function(e){if(this.targetProperty!==e){this.targetProperty=e;var t,r;try{t=this.forward.toTsrVector3(this.webAssemblyContext),r=this.webAssemblyContext.Math3D.DirectionToPitchAndYaw(t),this.orbitalPitchProperty=r.pitch,this.orbitalYawProperty=r.yaw,this.notifyPropertyChanged(o.PROPERTY.CAMERA_TARGET)}finally{t==null||t.delete(),r==null||r.delete()}}},enumerable:!1,configurable:!0}),Object.defineProperty(i.prototype,"position",{get:function(){return this.positionProperty},set:function(e){if(this.positionProperty!==e){this.positionProperty=e;var t,r;try{t=this.forward.toTsrVector3(this.webAssemblyContext),r=this.webAssemblyContext.Math3D.DirectionToPitchAndYaw(t),this.orbitalPitchProperty=r.pitch,this.orbitalYawProperty=r.yaw,this.notifyPropertyChanged(o.PROPERTY.CAMERA_POSITION)}finally{t==null||t.delete(),r==null||r.delete()}}},enumerable:!1,configurable:!0}),i.prototype.toOrthogonal=function(){this.projectionModeProperty!==h.Orthogonal&&(this.projectionModeProperty=h.Orthogonal,this.orthoWidthProperty=this.radius,this.orthoHeightProperty=this.orthoWidth/this.aspectRatio,this.notifyPropertyChanged(o.PROPERTY.CAMERA_PROJECTIONMODE))},i.prototype.toPerspective=function(){this.projectionModeProperty!==h.Perspective&&(this.projectionModeProperty=h.Perspective,this.radius=this.orthoWidth,this.notifyPropertyChanged(o.PROPERTY.CAMERA_PROJECTIONMODE))},i.prototype.resetToDefaults=function(){this.positionProperty=new n.Vector3(-1e3,1e3,-1e3),this.targetProperty=new n.Vector3(0,0,0),this.fieldOfViewProperty=60,this.nearClipProperty=1,this.farClipProperty=4e3,this.projectionModeProperty=h.Perspective,this.aspectRatioProperty=1.5,this.orthoWidthProperty=600,this.orthoHeightProperty=400;var e,t;try{e=this.forward.toTsrVector3(this.webAssemblyContext),t=this.webAssemblyContext.Math3D.DirectionToPitchAndYaw(e),this.orbitalPitch=t.pitch,this.orbitalYaw=t.yaw}finally{t==null||t.delete(),e==null||e.delete()}},i.prototype.updateEngineCamera=function(e){C.Guard.notNull(e,"tsrCamera");var t,r,s;try{t=this.position.toTsrVector3(this.webAssemblyContext),r=this.target.toTsrVector3(this.webAssemblyContext),s=this.up.toTsrVector3(this.webAssemblyContext),e.SetLoc(t),e.SetAt(r),e.SetFarClip(this.farClip),e.SetNearClip(this.nearClip),e.SetFovAngle(this.webAssemblyContext.Math3D.DegToRad(this.fieldOfView)),e.SetProjectionMode(this.projectionMode===h.Perspective?this.webAssemblyContext.eTSRCameraProjectionMode.CAMERA_PROJECTIONMODE_PERSPECTIVE:this.webAssemblyContext.eTSRCameraProjectionMode.CAMERA_PROJECTIONMODE_ORTHOGONAL),e.SetOrthoWidth(this.orthoWidth),e.SetOrthoHeight(this.orthoHeight),e.SetAspectRatio(this.aspectRatio),e.SetYaw(this.webAssemblyContext.Math3D.DegToRad(this.orbitalYaw)),e.SetPitch(this.webAssemblyContext.Math3D.DegToRad(this.orbitalPitch)),e.SetUp(s)}finally{t==null||t.delete(),r==null||r.delete(),s==null||s.delete()}},i.prototype.notifyPropertyChanged=function(e){var t;this.debugPositionsProperty&&(e===o.PROPERTY.CAMERA_POSITION||e===o.PROPERTY.CAMERA_TARGET)&&console.log("SciChart.js Camera P=".concat(this.position.toString(),", T=").concat(this.target.toString())),(t=this.propertyChanged)===null||t===void 0||t.raiseEvent(new v.PropertyChangedEventArgs(e))},i.prototype.debugOutput=function(){var e=["Camera id='".concat(this.id,"': ")," position: ".concat(this.position.toString())," target: ".concat(this.target.toString())," pitch: ".concat(this.orbitalPitch.toFixed(2)," degrees")," yaw: ".concat(this.orbitalYaw.toFixed(2)," degrees")," up Vector: ".concat(this.up.toString())," forward Vector: ".concat(this.forward.toString())," projectionMode: ".concat(this.projectionMode)];return this.projectionMode===h.Orthogonal?(e.push(" orthoWidth: ".concat(this.orthoWidth.toFixed(2))),e.push(" orthoHeight: ".concat(this.orthoHeight.toFixed(2)))):(e.push(" radius: ".concat(this.radius.toFixed(2))),e.push(" fieldOfView: ".concat(this.fieldOfView.toFixed(2)," degrees"))),e.forEach(function(t){return console.log(t)}),e},i.prototype.toJSON=function(){var e={id:this.id,position:this.position,target:this.target,fieldOfView:this.fieldOfView,nearClip:this.nearClip,farClip:this.farClip,projectionMode:this.projectionMode,orthoWidth:this.orthoWidth,orthoHeight:this.orthoHeight};return e},i})();a.CameraController=O})(f.__exports)),f.__exports}exports.__require=M;
2
2
  //# sourceMappingURL=petal-toolkit.cjs494.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./petal-toolkit.cjs1138.js"),p=require("./petal-toolkit.cjs559.js");var n;function c(){if(n)return o.__exports;n=1,Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.Vector3=void 0;var u=p.__require(),y=(function(){function e(t,r,i){this.xProperty=t,this.yProperty=r,this.zProperty=i}return Object.defineProperty(e,"zero",{get:function(){return e.zeroVector},enumerable:!1,configurable:!0}),e.hydrate=function(t){if(t){var r=t.x,i=t.y,s=t.z;return new e(r,i,s)}else return},e.isEqual=function(t,r){return!((t==null?void 0:t.x)!==(r==null?void 0:r.x)||(t==null?void 0:t.y)!==(r==null?void 0:r.y)||(t==null?void 0:t.z)!==(r==null?void 0:r.z))},Object.defineProperty(e.prototype,"x",{get:function(){return this.xProperty},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.yProperty},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"z",{get:function(){return this.zProperty},enumerable:!1,configurable:!0}),e.prototype.toTsrVector3=function(t){return u.Guard.notNull(t,"webAssemblyContext"),new t.TSRVector3(this.x,this.y,this.z)},e.prototype.subtract=function(t){return new e(this.x-t.x,this.y-t.y,this.z-t.z)},e.prototype.add=function(t){return new e(this.x+t.x,this.y+t.y,this.z+t.z)},e.prototype.scalarMultiply=function(t){return new e(this.x*t,this.y*t,this.z*t)},e.prototype.dotProduct=function(t){return this.x*t.x+this.y*t.y+this.z*t.z},e.prototype.crossProduct=function(t){return new e(this.y*t.z-this.z*t.y,this.z*t.x-this.x*t.z,this.x*t.y-this.y*t.x)},Object.defineProperty(e.prototype,"length",{get:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},enumerable:!1,configurable:!0}),e.prototype.normalize=function(){var t=1/this.length;if(t===0)throw new Error("Vector3 magnitude is zero, cannot normalize!");this.xProperty=this.xProperty*t,this.yProperty=this.yProperty*t,this.zProperty=this.zProperty*t},e.prototype.toString=function(){return"Vector3 (".concat(this.xProperty.toFixed(2),", ").concat(this.yProperty.toFixed(2),", ").concat(this.zProperty.toFixed(2),")")},e.prototype.toJSON=function(){return{x:this.x,y:this.y,z:this.z}},e.zeroVector=new e(0,0,0),e})();return o.__exports.Vector3=y,o.__exports}exports.__require=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./petal-toolkit.cjs1140.js"),p=require("./petal-toolkit.cjs559.js");var n;function c(){if(n)return o.__exports;n=1,Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.Vector3=void 0;var u=p.__require(),y=(function(){function e(t,r,i){this.xProperty=t,this.yProperty=r,this.zProperty=i}return Object.defineProperty(e,"zero",{get:function(){return e.zeroVector},enumerable:!1,configurable:!0}),e.hydrate=function(t){if(t){var r=t.x,i=t.y,s=t.z;return new e(r,i,s)}else return},e.isEqual=function(t,r){return!((t==null?void 0:t.x)!==(r==null?void 0:r.x)||(t==null?void 0:t.y)!==(r==null?void 0:r.y)||(t==null?void 0:t.z)!==(r==null?void 0:r.z))},Object.defineProperty(e.prototype,"x",{get:function(){return this.xProperty},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"y",{get:function(){return this.yProperty},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"z",{get:function(){return this.zProperty},enumerable:!1,configurable:!0}),e.prototype.toTsrVector3=function(t){return u.Guard.notNull(t,"webAssemblyContext"),new t.TSRVector3(this.x,this.y,this.z)},e.prototype.subtract=function(t){return new e(this.x-t.x,this.y-t.y,this.z-t.z)},e.prototype.add=function(t){return new e(this.x+t.x,this.y+t.y,this.z+t.z)},e.prototype.scalarMultiply=function(t){return new e(this.x*t,this.y*t,this.z*t)},e.prototype.dotProduct=function(t){return this.x*t.x+this.y*t.y+this.z*t.z},e.prototype.crossProduct=function(t){return new e(this.y*t.z-this.z*t.y,this.z*t.x-this.x*t.z,this.x*t.y-this.y*t.x)},Object.defineProperty(e.prototype,"length",{get:function(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)},enumerable:!1,configurable:!0}),e.prototype.normalize=function(){var t=1/this.length;if(t===0)throw new Error("Vector3 magnitude is zero, cannot normalize!");this.xProperty=this.xProperty*t,this.yProperty=this.yProperty*t,this.zProperty=this.zProperty*t},e.prototype.toString=function(){return"Vector3 (".concat(this.xProperty.toFixed(2),", ").concat(this.yProperty.toFixed(2),", ").concat(this.zProperty.toFixed(2),")")},e.prototype.toJSON=function(){return{x:this.x,y:this.y,z:this.z}},e.zeroVector=new e(0,0,0),e})();return o.__exports.Vector3=y,o.__exports}exports.__require=c;
2
2
  //# sourceMappingURL=petal-toolkit.cjs495.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./petal-toolkit.cjs1139.js"),v=require("./petal-toolkit.cjs75.js"),p=require("./petal-toolkit.cjs560.js"),S=require("./petal-toolkit.cjs609.js");var l;function I(){if(l)return n.__exports;l=1;var c=n.__exports&&n.__exports.__extends||(function(){var u=function(i,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var d in t)Object.prototype.hasOwnProperty.call(t,d)&&(r[d]=t[d])},u(i,e)};return function(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");u(i,e);function r(){this.constructor=i}i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})();Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.ChartModifierBase3D=void 0;var a=v.__require(),f=p.__require(),_=S.__require(),h=(function(u){c(i,u);function i(e){var r=this,t,d,o,s;if(r=u.call(this,e)||this,r.typeMap=new Map,r.includedSeries=new f.IncludedItems,((t=e==null?void 0:e.includedSeriesIds)===null||t===void 0?void 0:t.length)>0&&((d=e==null?void 0:e.excludedSeriesIds)===null||d===void 0?void 0:d.length)>0)throw new Error("You should either use `includedSeriesIds` or `excludedSeriesIds`, not both.");return((o=e==null?void 0:e.includedSeriesIds)===null||o===void 0?void 0:o.length)>0&&r.includedSeries.includeList(e.includedSeriesIds),((s=e==null?void 0:e.excludedSeriesIds)===null||s===void 0?void 0:s.length)>0&&r.includedSeries.excludeList(e.excludedSeriesIds),r}return Object.defineProperty(i.prototype,"modifierType",{get:function(){return _.EModifierType.Chart3DModifier},enumerable:!1,configurable:!0}),i.prototype.getAllSeries=function(){return this.parentSurface.renderableSeries.asArray()},i.prototype.testIsIncludedSeries=function(e){return e.isVisible&&this.includedSeries.testIsIncluded(e.id)},i.prototype.includeSeries=function(e,r){return r?this.includedSeries.include(e.id):this.includedSeries.exclude(e.id)},i.prototype.getIncludedRenderableSeries=function(){var e=this;return this.getAllSeries().filter(function(r){return e.testIsIncludedSeries(r)})},i.prototype.toJSON=function(){var e={id:this.id,executeCondition:this.executeCondition,includedSeriesIds:this.includedSeries.getIncludedItemIds(),excludedSeriesIds:this.includedSeries.getExcludedItemIds()};return{type:this.type,options:e}},i})(a.ChartModifierBase);return n.__exports.ChartModifierBase3D=h,n.__exports}exports.__require=I;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./petal-toolkit.cjs1141.js"),v=require("./petal-toolkit.cjs75.js"),p=require("./petal-toolkit.cjs560.js"),S=require("./petal-toolkit.cjs609.js");var l;function I(){if(l)return n.__exports;l=1;var c=n.__exports&&n.__exports.__extends||(function(){var u=function(i,e){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var d in t)Object.prototype.hasOwnProperty.call(t,d)&&(r[d]=t[d])},u(i,e)};return function(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");u(i,e);function r(){this.constructor=i}i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}})();Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.ChartModifierBase3D=void 0;var a=v.__require(),f=p.__require(),_=S.__require(),h=(function(u){c(i,u);function i(e){var r=this,t,d,o,s;if(r=u.call(this,e)||this,r.typeMap=new Map,r.includedSeries=new f.IncludedItems,((t=e==null?void 0:e.includedSeriesIds)===null||t===void 0?void 0:t.length)>0&&((d=e==null?void 0:e.excludedSeriesIds)===null||d===void 0?void 0:d.length)>0)throw new Error("You should either use `includedSeriesIds` or `excludedSeriesIds`, not both.");return((o=e==null?void 0:e.includedSeriesIds)===null||o===void 0?void 0:o.length)>0&&r.includedSeries.includeList(e.includedSeriesIds),((s=e==null?void 0:e.excludedSeriesIds)===null||s===void 0?void 0:s.length)>0&&r.includedSeries.excludeList(e.excludedSeriesIds),r}return Object.defineProperty(i.prototype,"modifierType",{get:function(){return _.EModifierType.Chart3DModifier},enumerable:!1,configurable:!0}),i.prototype.getAllSeries=function(){return this.parentSurface.renderableSeries.asArray()},i.prototype.testIsIncludedSeries=function(e){return e.isVisible&&this.includedSeries.testIsIncluded(e.id)},i.prototype.includeSeries=function(e,r){return r?this.includedSeries.include(e.id):this.includedSeries.exclude(e.id)},i.prototype.getIncludedRenderableSeries=function(){var e=this;return this.getAllSeries().filter(function(r){return e.testIsIncludedSeries(r)})},i.prototype.toJSON=function(){var e={id:this.id,executeCondition:this.executeCondition,includedSeriesIds:this.includedSeries.getIncludedItemIds(),excludedSeriesIds:this.includedSeries.getExcludedItemIds()};return{type:this.type,options:e}},i})(a.ChartModifierBase);return n.__exports.ChartModifierBase3D=h,n.__exports}exports.__require=I;
2
2
  //# sourceMappingURL=petal-toolkit.cjs496.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./petal-toolkit.cjs1140.js"),p=require("./petal-toolkit.cjs589.js"),C=require("./petal-toolkit.cjs496.js");var s;function d(){if(s)return o.__exports;s=1;var a=o.__exports&&o.__exports.__extends||(function(){var i=function(e,r){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])},i(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");i(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}})();Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.CustomChartModifier3D=void 0;var _=p.__require(),f=C.__require(),c=(function(i){a(e,i);function e(r){var t=i.call(this,r)||this;return t.type=_.EChart3DModifierType.Custom,t}return e})(f.ChartModifierBase3D);return o.__exports.CustomChartModifier3D=c,o.__exports}exports.__require=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("./petal-toolkit.cjs1142.js"),p=require("./petal-toolkit.cjs589.js"),C=require("./petal-toolkit.cjs496.js");var s;function d(){if(s)return o.__exports;s=1;var a=o.__exports&&o.__exports.__extends||(function(){var i=function(e,r){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])},i(e,r)};return function(e,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");i(e,r);function t(){this.constructor=e}e.prototype=r===null?Object.create(r):(t.prototype=r.prototype,new t)}})();Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.CustomChartModifier3D=void 0;var _=p.__require(),f=C.__require(),c=(function(i){a(e,i);function e(r){var t=i.call(this,r)||this;return t.type=_.EChart3DModifierType.Custom,t}return e})(f.ChartModifierBase3D);return o.__exports.CustomChartModifier3D=c,o.__exports}exports.__require=d;
2
2
  //# sourceMappingURL=petal-toolkit.cjs497.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./petal-toolkit.cjs1141.js"),y=require("./petal-toolkit.cjs557.js"),D=require("./petal-toolkit.cjs589.js"),S=require("./petal-toolkit.cjs496.js"),k=require("./petal-toolkit.cjs316.js");var _;function w(){if(_)return a.__exports;_=1;var C=a.__exports&&a.__exports.__extends||(function(){var n=function(r,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])},n(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),o=a.__exports&&a.__exports.__assign||function(){return o=Object.assign||function(n){for(var r,t=1,e=arguments.length;t<e;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])}return n},o.apply(this,arguments)};Object.defineProperty(a.__exports,"__esModule",{value:!0}),a.__exports.LegendModifier3D=void 0;var p=y.__require(),v=D.__require(),f=S.__require(),u=k.__require(),L=(function(n){C(r,n);function r(t){var e=this,i;return e=n.call(this,t)||this,e._legendOptions={},e.type=v.EChart3DModifierType.Legend,e.isCheckedChanged=new p.EventHandler,e._legendOptions=o({},t),e.legendItemCheckedChanged=e.legendItemCheckedChanged.bind(e),e.sciChart3DLegend=(i=t==null?void 0:t.legend)!==null&&i!==void 0?i:new u.SciChart3DLegend(t),e.applyLegendOptions(e.sciChart3DLegend,t),e}return r.prototype.applyLegendOptions=function(t,e){var i,s,d,h,c,l;t.showCheckboxes=(i=e==null?void 0:e.showCheckboxes)!==null&&i!==void 0?i:t.showCheckboxes,t.showSeriesMarkers=(s=e==null?void 0:e.showSeriesMarkers)!==null&&s!==void 0?s:t.showSeriesMarkers,t.margin=(d=e==null?void 0:e.margin)!==null&&d!==void 0?d:t.margin,t.orientation=(h=e==null?void 0:e.orientation)!==null&&h!==void 0?h:t.orientation,t.placement=(c=e==null?void 0:e.placement)!==null&&c!==void 0?c:t.placement,t.showLegend=(l=e==null?void 0:e.showLegend)!==null&&l!==void 0?l:t.showLegend,t.legendItemCheckedChangedCallback=this.legendItemCheckedChanged,e!=null&&e.isCheckedChangedCallback&&this.isCheckedChanged.subscribe(function(g){return e.isCheckedChangedCallback(g.series,g.isChecked)})},r.prototype.applyTheme=function(t){var e;n.prototype.applyTheme.call(this,t),(e=this.sciChart3DLegend)===null||e===void 0||e.applyTheme()},r.prototype.onParentSurfaceRendered=function(){n.prototype.onParentSurfaceRendered.call(this)},r.prototype.onAttach=function(){var t;n.prototype.onAttach.call(this),this.sciChart3DLegend||(this.sciChart3DLegend=(t=this._legendOptions.legend)!==null&&t!==void 0?t:new u.SciChart3DLegend(this._legendOptions),this.applyLegendOptions(this.sciChart3DLegend,this._legendOptions)),this.sciChart3DLegend.attachTo(this.parentSurface),this.sciChart3DLegend.setRenderableSeriesArray(this.getIncludedRenderableSeries())},r.prototype.onDetach=function(){var t,e;this.sciChart3DLegend&&(this._legendOptions.margin=this.sciChart3DLegend.margin,this._legendOptions.orientation=this.sciChart3DLegend.orientation,this._legendOptions.placement=this.sciChart3DLegend.placement,this._legendOptions.showCheckboxes=this.sciChart3DLegend.showCheckboxes,this._legendOptions.showLegend=this.sciChart3DLegend.showLegend,this._legendOptions.showSeriesMarkers=this.sciChart3DLegend.showSeriesMarkers),n.prototype.onDetach.call(this),(t=this.sciChart3DLegend)===null||t===void 0||t.setRenderableSeriesArray([]),(e=this.sciChart3DLegend)===null||e===void 0||e.detach(),this.sciChart3DLegend=void 0},r.prototype.includeSeries=function(t,e){var i;return n.prototype.includeSeries.call(this,t,e)?(this.isAttached&&this.sciChart3DLegend.setRenderableSeriesArray(this.getIncludedRenderableSeries()),(i=this.parentSurface)===null||i===void 0||i.invalidateElement(),!0):!1},r.prototype.testIsIncludedSeries=function(t){return this.includedSeries.testIsIncluded(t.id)},r.prototype.toJSON=function(){var t=n.prototype.toJSON.call(this),e={margin:this.sciChart3DLegend.margin,orientation:this.sciChart3DLegend.orientation,placement:this.sciChart3DLegend.placement,showCheckboxes:this.sciChart3DLegend.showCheckboxes,showLegend:this.sciChart3DLegend.showLegend,showSeriesMarkers:this.sciChart3DLegend.showSeriesMarkers};return Object.assign(t.options,e),t},r.prototype.delete=function(){n.prototype.delete.call(this),this.onDetach()},r.prototype.legendItemCheckedChanged=function(t,e){var i;(i=this.isCheckedChanged)===null||i===void 0||i.raiseEvent({series:t,isChecked:e})},r})(f.ChartModifierBase3D);return a.__exports.LegendModifier3D=L,a.__exports}exports.__require=w;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./petal-toolkit.cjs1143.js"),y=require("./petal-toolkit.cjs557.js"),D=require("./petal-toolkit.cjs589.js"),S=require("./petal-toolkit.cjs496.js"),k=require("./petal-toolkit.cjs316.js");var _;function w(){if(_)return a.__exports;_=1;var C=a.__exports&&a.__exports.__extends||(function(){var n=function(r,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,i){e.__proto__=i}||function(e,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])},n(r,t)};return function(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");n(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}})(),o=a.__exports&&a.__exports.__assign||function(){return o=Object.assign||function(n){for(var r,t=1,e=arguments.length;t<e;t++){r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])}return n},o.apply(this,arguments)};Object.defineProperty(a.__exports,"__esModule",{value:!0}),a.__exports.LegendModifier3D=void 0;var p=y.__require(),v=D.__require(),f=S.__require(),u=k.__require(),L=(function(n){C(r,n);function r(t){var e=this,i;return e=n.call(this,t)||this,e._legendOptions={},e.type=v.EChart3DModifierType.Legend,e.isCheckedChanged=new p.EventHandler,e._legendOptions=o({},t),e.legendItemCheckedChanged=e.legendItemCheckedChanged.bind(e),e.sciChart3DLegend=(i=t==null?void 0:t.legend)!==null&&i!==void 0?i:new u.SciChart3DLegend(t),e.applyLegendOptions(e.sciChart3DLegend,t),e}return r.prototype.applyLegendOptions=function(t,e){var i,s,d,h,c,l;t.showCheckboxes=(i=e==null?void 0:e.showCheckboxes)!==null&&i!==void 0?i:t.showCheckboxes,t.showSeriesMarkers=(s=e==null?void 0:e.showSeriesMarkers)!==null&&s!==void 0?s:t.showSeriesMarkers,t.margin=(d=e==null?void 0:e.margin)!==null&&d!==void 0?d:t.margin,t.orientation=(h=e==null?void 0:e.orientation)!==null&&h!==void 0?h:t.orientation,t.placement=(c=e==null?void 0:e.placement)!==null&&c!==void 0?c:t.placement,t.showLegend=(l=e==null?void 0:e.showLegend)!==null&&l!==void 0?l:t.showLegend,t.legendItemCheckedChangedCallback=this.legendItemCheckedChanged,e!=null&&e.isCheckedChangedCallback&&this.isCheckedChanged.subscribe(function(g){return e.isCheckedChangedCallback(g.series,g.isChecked)})},r.prototype.applyTheme=function(t){var e;n.prototype.applyTheme.call(this,t),(e=this.sciChart3DLegend)===null||e===void 0||e.applyTheme()},r.prototype.onParentSurfaceRendered=function(){n.prototype.onParentSurfaceRendered.call(this)},r.prototype.onAttach=function(){var t;n.prototype.onAttach.call(this),this.sciChart3DLegend||(this.sciChart3DLegend=(t=this._legendOptions.legend)!==null&&t!==void 0?t:new u.SciChart3DLegend(this._legendOptions),this.applyLegendOptions(this.sciChart3DLegend,this._legendOptions)),this.sciChart3DLegend.attachTo(this.parentSurface),this.sciChart3DLegend.setRenderableSeriesArray(this.getIncludedRenderableSeries())},r.prototype.onDetach=function(){var t,e;this.sciChart3DLegend&&(this._legendOptions.margin=this.sciChart3DLegend.margin,this._legendOptions.orientation=this.sciChart3DLegend.orientation,this._legendOptions.placement=this.sciChart3DLegend.placement,this._legendOptions.showCheckboxes=this.sciChart3DLegend.showCheckboxes,this._legendOptions.showLegend=this.sciChart3DLegend.showLegend,this._legendOptions.showSeriesMarkers=this.sciChart3DLegend.showSeriesMarkers),n.prototype.onDetach.call(this),(t=this.sciChart3DLegend)===null||t===void 0||t.setRenderableSeriesArray([]),(e=this.sciChart3DLegend)===null||e===void 0||e.detach(),this.sciChart3DLegend=void 0},r.prototype.includeSeries=function(t,e){var i;return n.prototype.includeSeries.call(this,t,e)?(this.isAttached&&this.sciChart3DLegend.setRenderableSeriesArray(this.getIncludedRenderableSeries()),(i=this.parentSurface)===null||i===void 0||i.invalidateElement(),!0):!1},r.prototype.testIsIncludedSeries=function(t){return this.includedSeries.testIsIncluded(t.id)},r.prototype.toJSON=function(){var t=n.prototype.toJSON.call(this),e={margin:this.sciChart3DLegend.margin,orientation:this.sciChart3DLegend.orientation,placement:this.sciChart3DLegend.placement,showCheckboxes:this.sciChart3DLegend.showCheckboxes,showLegend:this.sciChart3DLegend.showLegend,showSeriesMarkers:this.sciChart3DLegend.showSeriesMarkers};return Object.assign(t.options,e),t},r.prototype.delete=function(){n.prototype.delete.call(this),this.onDetach()},r.prototype.legendItemCheckedChanged=function(t,e){var i;(i=this.isCheckedChanged)===null||i===void 0||i.raiseEvent({series:t,isChecked:e})},r})(f.ChartModifierBase3D);return a.__exports.LegendModifier3D=L,a.__exports}exports.__require=w;
2
2
  //# sourceMappingURL=petal-toolkit.cjs498.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./petal-toolkit.cjs1142.js"),p=require("./petal-toolkit.cjs589.js"),v=require("./petal-toolkit.cjs494.js"),M=require("./petal-toolkit.cjs496.js");var l;function y(){if(l)return n.__exports;l=1;var c=n.__exports&&n.__exports.__extends||(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(o[s]=r[s])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function o(){this.constructor=t}t.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}})();Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.MouseWheelZoomModifier3D=void 0;var f=p.__require(),h=v.__require(),_=M.__require(),d=(function(i){c(t,i);function t(e){var o=i.call(this,e)||this;return o.type=f.EChart3DModifierType.MouseWheelZoom,o.mouseWheelSensitivity=(e==null?void 0:e.mouseWheelSensitivity)||.1,o}return t.prototype.modifierMouseWheel=function(e){i.prototype.modifierMouseWheel.call(this,e);var o=this.parentSurface;if(o){var r=o.camera;if(r){var s=e.mouseWheelDelta,a=r.radius,u=(a+s*this.mouseWheelSensitivity)/a;r.projectionMode===h.ECameraProjectionMode.Perspective?r.radius*=u:(r.orthoWidth*=u,r.orthoHeight*=u),e.handled=!0}}},t.prototype.toJSON=function(){var e=i.prototype.toJSON.call(this),o={mouseWheelSensitivity:this.mouseWheelSensitivity};return Object.assign(e.options,o),e},t})(_.ChartModifierBase3D);return n.__exports.MouseWheelZoomModifier3D=d,n.__exports}exports.__require=y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./petal-toolkit.cjs1144.js"),p=require("./petal-toolkit.cjs589.js"),v=require("./petal-toolkit.cjs494.js"),M=require("./petal-toolkit.cjs496.js");var l;function y(){if(l)return n.__exports;l=1;var c=n.__exports&&n.__exports.__extends||(function(){var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(o[s]=r[s])},i(t,e)};return function(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");i(t,e);function o(){this.constructor=t}t.prototype=e===null?Object.create(e):(o.prototype=e.prototype,new o)}})();Object.defineProperty(n.__exports,"__esModule",{value:!0}),n.__exports.MouseWheelZoomModifier3D=void 0;var f=p.__require(),h=v.__require(),_=M.__require(),d=(function(i){c(t,i);function t(e){var o=i.call(this,e)||this;return o.type=f.EChart3DModifierType.MouseWheelZoom,o.mouseWheelSensitivity=(e==null?void 0:e.mouseWheelSensitivity)||.1,o}return t.prototype.modifierMouseWheel=function(e){i.prototype.modifierMouseWheel.call(this,e);var o=this.parentSurface;if(o){var r=o.camera;if(r){var s=e.mouseWheelDelta,a=r.radius,u=(a+s*this.mouseWheelSensitivity)/a;r.projectionMode===h.ECameraProjectionMode.Perspective?r.radius*=u:(r.orthoWidth*=u,r.orthoHeight*=u),e.handled=!0}}},t.prototype.toJSON=function(){var e=i.prototype.toJSON.call(this),o={mouseWheelSensitivity:this.mouseWheelSensitivity};return Object.assign(e.options,o),e},t})(_.ChartModifierBase3D);return n.__exports.MouseWheelZoomModifier3D=d,n.__exports}exports.__require=y;
2
2
  //# sourceMappingURL=petal-toolkit.cjs499.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react/jsx-runtime"),S=require("react"),C=require("./petal-toolkit.cjs57.js"),M=require("./petal-toolkit.cjs1325.js"),d=require("./petal-toolkit.cjs55.js"),g=require("./petal-toolkit.cjs1326.js"),i=require("./petal-toolkit.cjs56.js");function j(b){switch(b){case"light":return{cashColor:"#16a34a",receivablesColor:"#3b82f6",inventoryColor:"#f97316",otherCurrentColor:"#eab308",ppeColor:"#8b5cf6",otherLongTermColor:"#6b7280"};case"navy":return{cashColor:"#10b981",receivablesColor:"#60a5fa",inventoryColor:"#fb923c",otherCurrentColor:"#fbbf24",ppeColor:"#a78bfa",otherLongTermColor:"#64748b"};case"dark":default:return{cashColor:"#00FFB3",receivablesColor:"#3B82F6",inventoryColor:"#FFA502",otherCurrentColor:"#FFEAA7",ppeColor:"#A78BFA",otherLongTermColor:"#6B7280"}}}const N=S.memo(function({data:e,width:T="100%",height:k=400,className:E,themePreset:f="dark",theme:L,showLegend:y=!0,onChartReady:c}){const{containerId:u,containerRef:F,surfaceRef:l,sciChartTheme:x,baseColors:n,containerStyle:q}=M.useFinancialChartSetup({chartName:"asset-composition",width:T,height:k,themePreset:f,customTheme:L}),t=j(f);return S.useEffect(()=>{if(!F.current||e.length===0)return;let v=!1;return(async()=>{try{const h=e.map(r=>r.period),{sciChartSurface:o,wasmContext:a}=await C.scichartExports.SciChartSurface.create(u,{theme:x});if(v){o.delete();return}l.current=o;const P=d.createCategoryXAxis(a,{labelColor:n.axisLabelColor,labels:h});o.xAxes.add(P);const w=d.createNumericYAxis(a,{labelColor:n.axisLabelColor,gridColor:n.gridColor,labelFormatter:d.labelFormatters.currency});o.yAxes.add(w);const O=e.map((r,p)=>p),m=new C.scichartExports.StackedColumnCollection(a);m.dataPointWidth=.7;const s=(r,p,A)=>{const B=new C.scichartExports.XyDataSeries(a,{xValues:O,yValues:r,dataSeriesName:p});return new C.scichartExports.StackedColumnRenderableSeries(a,{dataSeries:B,fill:A,stroke:A,strokeThickness:0,stackedGroupId:"assets"})};m.add(s(e.map(r=>r.cash),"Cash",t.cashColor),s(e.map(r=>r.receivables),"Receivables",t.receivablesColor),s(e.map(r=>r.inventory),"Inventory",t.inventoryColor),s(e.map(r=>r.otherCurrentAssets),"Other Current",t.otherCurrentColor),s(e.map(r=>r.propertyPlantEquipment),"PP&E",t.ppeColor),s(e.map(r=>r.otherLongTermAssets),"Other Long-Term",t.otherLongTermColor)),o.renderableSeries.add(m),g.addStandardModifiers(o,{crosshairColor:n.crosshairColor,valueFormatters:{Cash:i.tooltipFormatters.currency,Receivables:i.tooltipFormatters.currency,Inventory:i.tooltipFormatters.currency,"Other Current":i.tooltipFormatters.currency,"PP&E":i.tooltipFormatters.currency,"Other Long-Term":i.tooltipFormatters.currency}}),y&&g.addLegendModifier(o),c==null||c(o)}catch(h){console.error("Failed to initialize AssetCompositionChart:",h)}})(),()=>{v=!0,l.current&&(l.current.delete(),l.current=null)}},[e,u,x,n,t,y,c]),I.jsx("div",{ref:F,id:u,className:E,style:q})});exports.AssetCompositionChart=N;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const I=require("react/jsx-runtime"),S=require("react"),C=require("./petal-toolkit.cjs57.js"),M=require("./petal-toolkit.cjs1331.js"),d=require("./petal-toolkit.cjs55.js"),g=require("./petal-toolkit.cjs1332.js"),i=require("./petal-toolkit.cjs56.js");function j(b){switch(b){case"light":return{cashColor:"#16a34a",receivablesColor:"#3b82f6",inventoryColor:"#f97316",otherCurrentColor:"#eab308",ppeColor:"#8b5cf6",otherLongTermColor:"#6b7280"};case"navy":return{cashColor:"#10b981",receivablesColor:"#60a5fa",inventoryColor:"#fb923c",otherCurrentColor:"#fbbf24",ppeColor:"#a78bfa",otherLongTermColor:"#64748b"};case"dark":default:return{cashColor:"#00FFB3",receivablesColor:"#3B82F6",inventoryColor:"#FFA502",otherCurrentColor:"#FFEAA7",ppeColor:"#A78BFA",otherLongTermColor:"#6B7280"}}}const N=S.memo(function({data:e,width:T="100%",height:k=400,className:E,themePreset:f="dark",theme:L,showLegend:y=!0,onChartReady:c}){const{containerId:u,containerRef:F,surfaceRef:l,sciChartTheme:x,baseColors:n,containerStyle:q}=M.useFinancialChartSetup({chartName:"asset-composition",width:T,height:k,themePreset:f,customTheme:L}),t=j(f);return S.useEffect(()=>{if(!F.current||e.length===0)return;let v=!1;return(async()=>{try{const h=e.map(r=>r.period),{sciChartSurface:o,wasmContext:a}=await C.scichartExports.SciChartSurface.create(u,{theme:x});if(v){o.delete();return}l.current=o;const P=d.createCategoryXAxis(a,{labelColor:n.axisLabelColor,labels:h});o.xAxes.add(P);const w=d.createNumericYAxis(a,{labelColor:n.axisLabelColor,gridColor:n.gridColor,labelFormatter:d.labelFormatters.currency});o.yAxes.add(w);const O=e.map((r,p)=>p),m=new C.scichartExports.StackedColumnCollection(a);m.dataPointWidth=.7;const s=(r,p,A)=>{const B=new C.scichartExports.XyDataSeries(a,{xValues:O,yValues:r,dataSeriesName:p});return new C.scichartExports.StackedColumnRenderableSeries(a,{dataSeries:B,fill:A,stroke:A,strokeThickness:0,stackedGroupId:"assets"})};m.add(s(e.map(r=>r.cash),"Cash",t.cashColor),s(e.map(r=>r.receivables),"Receivables",t.receivablesColor),s(e.map(r=>r.inventory),"Inventory",t.inventoryColor),s(e.map(r=>r.otherCurrentAssets),"Other Current",t.otherCurrentColor),s(e.map(r=>r.propertyPlantEquipment),"PP&E",t.ppeColor),s(e.map(r=>r.otherLongTermAssets),"Other Long-Term",t.otherLongTermColor)),o.renderableSeries.add(m),g.addStandardModifiers(o,{crosshairColor:n.crosshairColor,valueFormatters:{Cash:i.tooltipFormatters.currency,Receivables:i.tooltipFormatters.currency,Inventory:i.tooltipFormatters.currency,"Other Current":i.tooltipFormatters.currency,"PP&E":i.tooltipFormatters.currency,"Other Long-Term":i.tooltipFormatters.currency}}),y&&g.addLegendModifier(o),c==null||c(o)}catch(h){console.error("Failed to initialize AssetCompositionChart:",h)}})(),()=>{v=!0,l.current&&(l.current.delete(),l.current=null)}},[e,u,x,n,t,y,c]),I.jsx("div",{ref:F,id:u,className:E,style:q})});exports.AssetCompositionChart=N;
2
2
  //# sourceMappingURL=petal-toolkit.cjs5.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react/jsx-runtime"),n=require("react"),i=require("./petal-toolkit.cjs57.js"),L=require("./petal-toolkit.cjs58.js"),y=require("./petal-toolkit.cjs1323.js"),N=require("./petal-toolkit.cjs51.js");function x(l){return l.length>0&&"open"in l[0]&&"close"in l[0]}const B=n.memo(function({data:e,width:g="100%",height:w=150,className:P,themePreset:E="dark",theme:X,upColor:S="#22c55eCC",downColor:D="#ef4444CC",onChartReady:u}){const j=n.useId(),v=n.useRef(null),c=n.useRef(null),m=n.useRef(null),p=n.useRef(null),V=X??L.getThemeFromPreset(E),M=L.getBaseThemeColors(E);n.useEffect(()=>{if(!v.current||e.length===0)return;let a=!1;return(async()=>{try{const{sciChartSurface:t,wasmContext:o}=await i.scichartExports.SciChartSurface.create(v.current,{theme:V});if(a){t.delete();return}const r=new i.scichartExports.DateTimeNumericAxis(o,{drawLabels:!0,autoRange:i.scichartExports.EAutoRange.Always,drawMajorGridLines:!1,drawMinorGridLines:!1,drawMajorTickLines:!0,drawMinorTickLines:!1,maxAutoTicks:10,axisBandsFill:"transparent",majorGridLineStyle:{color:M.gridColor,strokeThickness:.5},labelStyle:{color:M.textColor,fontSize:10}}),k=new i.scichartExports.NumericAxis(o,{autoRange:i.scichartExports.EAutoRange.Always,drawMajorGridLines:!1,drawMinorGridLines:!1,growBy:new i.scichartExports.NumberRange(0,.1),labelFormat:i.scichartExports.ENumericFormat.Engineering,labelPrecision:1});t.xAxes.add(r),t.yAxes.add(k);const h=e.map(s=>y.toUnixTimestamp(s.date)),q=x(e)?e.map(s=>s.volume??0):e.map(s=>s.volume);if(r.labelProvider){const s=Math.min(...h),$=Math.max(...h);r.labelProvider.formatLabel=I=>y.formatAxisLabel(I,[s,$])}const A=new i.scichartExports.XyDataSeries(o,{xValues:h,yValues:q});m.current=A;let d,f;x(e)?(d=e.map(s=>s.open),f=e.map(s=>s.close)):(d=e.map(s=>s.isUp===!1?1:0),f=e.map(s=>s.isUp===!1?0:1));const R=new i.scichartExports.OhlcDataSeries(o,{xValues:h,openValues:d,highValues:f,lowValues:d,closeValues:f});p.current=R;const F=new N.VolumePaletteProvider(R,S,D),G=new i.scichartExports.FastColumnRenderableSeries(o,{dataSeries:A,dataPointWidth:.7,paletteProvider:F});t.renderableSeries.add(G),t.chartModifiers.add(new i.scichartExports.ZoomPanModifier({xyDirection:i.scichartExports.EXyDirection.XDirection})),t.chartModifiers.add(new i.scichartExports.MouseWheelZoomModifier({xyDirection:i.scichartExports.EXyDirection.XDirection})),t.chartModifiers.add(new i.scichartExports.ZoomExtentsModifier({xyDirection:i.scichartExports.EXyDirection.XDirection})),c.current=t,u==null||u(t)}catch(t){console.error("Failed to initialize SciChart VolumeChart:",t)}})(),()=>{a=!0,c.current&&(c.current.delete(),c.current=null)}},[V,E,S,D,u]),n.useEffect(()=>{if(!m.current||!p.current||e.length===0)return;const a=e.map(r=>y.toUnixTimestamp(r.date)),C=x(e)?e.map(r=>r.volume??0):e.map(r=>r.volume);let t,o;x(e)?(t=e.map(r=>r.open),o=e.map(r=>r.close)):(t=e.map(r=>r.isUp===!1?1:0),o=e.map(r=>r.isUp===!1?0:1)),m.current.clear(),m.current.appendRange(a,C),p.current.clear(),p.current.appendRange(a,t,o,t,o),c.current&&c.current.invalidateElement()},[e]);const U={width:typeof g=="number"?`${g}px`:g,height:typeof w=="number"?`${w}px`:w,overflow:"hidden"},b=`volume-chart-${j}`;return T.jsx("div",{ref:v,id:b,className:P,style:U,role:"img","aria-label":`Volume chart displaying ${e.length} trading volume bars`,"aria-describedby":`${b}-desc`,children:T.jsx("span",{id:`${b}-desc`,style:{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:0},children:"Interactive volume chart showing trading volume over time. Green bars indicate buying pressure, red bars indicate selling pressure."})})});exports.VolumeChart=B;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const T=require("react/jsx-runtime"),n=require("react"),i=require("./petal-toolkit.cjs57.js"),L=require("./petal-toolkit.cjs63.js"),y=require("./petal-toolkit.cjs676.js"),N=require("./petal-toolkit.cjs51.js");function x(l){return l.length>0&&"open"in l[0]&&"close"in l[0]}const B=n.memo(function({data:e,width:g="100%",height:w=150,className:P,themePreset:E="dark",theme:X,upColor:S="#22c55eCC",downColor:D="#ef4444CC",onChartReady:u}){const j=n.useId(),v=n.useRef(null),c=n.useRef(null),m=n.useRef(null),p=n.useRef(null),V=X??L.getThemeFromPreset(E),M=L.getBaseThemeColors(E);n.useEffect(()=>{if(!v.current||e.length===0)return;let a=!1;return(async()=>{try{const{sciChartSurface:t,wasmContext:o}=await i.scichartExports.SciChartSurface.create(v.current,{theme:V});if(a){t.delete();return}const r=new i.scichartExports.DateTimeNumericAxis(o,{drawLabels:!0,autoRange:i.scichartExports.EAutoRange.Always,drawMajorGridLines:!1,drawMinorGridLines:!1,drawMajorTickLines:!0,drawMinorTickLines:!1,maxAutoTicks:10,axisBandsFill:"transparent",majorGridLineStyle:{color:M.gridColor,strokeThickness:.5},labelStyle:{color:M.textColor,fontSize:10}}),k=new i.scichartExports.NumericAxis(o,{autoRange:i.scichartExports.EAutoRange.Always,drawMajorGridLines:!1,drawMinorGridLines:!1,growBy:new i.scichartExports.NumberRange(0,.1),labelFormat:i.scichartExports.ENumericFormat.Engineering,labelPrecision:1});t.xAxes.add(r),t.yAxes.add(k);const h=e.map(s=>y.toUnixTimestamp(s.date)),q=x(e)?e.map(s=>s.volume??0):e.map(s=>s.volume);if(r.labelProvider){const s=Math.min(...h),$=Math.max(...h);r.labelProvider.formatLabel=I=>y.formatAxisLabel(I,[s,$])}const A=new i.scichartExports.XyDataSeries(o,{xValues:h,yValues:q});m.current=A;let d,f;x(e)?(d=e.map(s=>s.open),f=e.map(s=>s.close)):(d=e.map(s=>s.isUp===!1?1:0),f=e.map(s=>s.isUp===!1?0:1));const R=new i.scichartExports.OhlcDataSeries(o,{xValues:h,openValues:d,highValues:f,lowValues:d,closeValues:f});p.current=R;const F=new N.VolumePaletteProvider(R,S,D),G=new i.scichartExports.FastColumnRenderableSeries(o,{dataSeries:A,dataPointWidth:.7,paletteProvider:F});t.renderableSeries.add(G),t.chartModifiers.add(new i.scichartExports.ZoomPanModifier({xyDirection:i.scichartExports.EXyDirection.XDirection})),t.chartModifiers.add(new i.scichartExports.MouseWheelZoomModifier({xyDirection:i.scichartExports.EXyDirection.XDirection})),t.chartModifiers.add(new i.scichartExports.ZoomExtentsModifier({xyDirection:i.scichartExports.EXyDirection.XDirection})),c.current=t,u==null||u(t)}catch(t){console.error("Failed to initialize SciChart VolumeChart:",t)}})(),()=>{a=!0,c.current&&(c.current.delete(),c.current=null)}},[V,E,S,D,u]),n.useEffect(()=>{if(!m.current||!p.current||e.length===0)return;const a=e.map(r=>y.toUnixTimestamp(r.date)),C=x(e)?e.map(r=>r.volume??0):e.map(r=>r.volume);let t,o;x(e)?(t=e.map(r=>r.open),o=e.map(r=>r.close)):(t=e.map(r=>r.isUp===!1?1:0),o=e.map(r=>r.isUp===!1?0:1)),m.current.clear(),m.current.appendRange(a,C),p.current.clear(),p.current.appendRange(a,t,o,t,o),c.current&&c.current.invalidateElement()},[e]);const U={width:typeof g=="number"?`${g}px`:g,height:typeof w=="number"?`${w}px`:w,overflow:"hidden"},b=`volume-chart-${j}`;return T.jsx("div",{ref:v,id:b,className:P,style:U,role:"img","aria-label":`Volume chart displaying ${e.length} trading volume bars`,"aria-describedby":`${b}-desc`,children:T.jsx("span",{id:`${b}-desc`,style:{position:"absolute",width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)",whiteSpace:"nowrap",border:0},children:"Interactive volume chart showing trading volume over time. Green bars indicate buying pressure, red bars indicate selling pressure."})})});exports.VolumeChart=B;
2
2
  //# sourceMappingURL=petal-toolkit.cjs50.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"petal-toolkit.cjs50.js","sources":["../src/charts/core/VolumeChart/VolumeChart.tsx"],"sourcesContent":["import { useEffect, useRef, memo, useId } from 'react';\nimport {\n SciChartSurface,\n NumericAxis,\n DateTimeNumericAxis,\n FastColumnRenderableSeries,\n OhlcDataSeries,\n XyDataSeries,\n NumberRange,\n EAutoRange,\n ENumericFormat,\n type IThemeProvider,\n} from 'scichart';\nimport {\n ZoomPanModifier,\n MouseWheelZoomModifier,\n ZoomExtentsModifier,\n EXyDirection,\n} from 'scichart';\nimport { VolumePaletteProvider } from '@/scichart/palettes';\nimport {\n type SciChartThemePreset,\n getThemeFromPreset,\n getBaseThemeColors,\n} from '@/scichart/themes';\nimport { toUnixTimestamp, formatAxisLabel } from '@/utils';\nimport type { OHLCDataPoint, VolumeDataPoint } from '@/types';\n\nexport type { SciChartThemePreset };\n\n/** Data type that includes both volume and OHLC direction info */\nexport type VolumeChartData = OHLCDataPoint[] | VolumeDataPoint[];\n\nexport interface VolumeChartProps {\n /** Volume data points to display */\n data: VolumeChartData;\n /** Chart width (CSS value or number for pixels) */\n width?: string | number;\n /** Chart height (CSS value or number for pixels) */\n height?: string | number;\n /** Optional className for the container */\n className?: string;\n /** SciChart theme preset: 'dark' | 'light' | 'navy' */\n themePreset?: SciChartThemePreset;\n /** Custom SciChart theme (overrides themePreset) */\n theme?: IThemeProvider;\n /** Up bar color (default: green with opacity) */\n upColor?: string;\n /** Down bar color (default: red with opacity) */\n downColor?: string;\n /** Callback when chart is ready */\n onChartReady?: (surface: SciChartSurface) => void;\n}\n\n/**\n * Check if data is OHLC format\n */\nfunction isOhlcData(data: VolumeChartData): data is OHLCDataPoint[] {\n return data.length > 0 && 'open' in data[0] && 'close' in data[0];\n}\n\n/**\n * Standalone volume chart component using SciChart with FastColumnRenderableSeries.\n * Colors bars based on OHLC direction (green for up, red for down).\n *\n * Note: For integrated price+volume charts, use FinancialChart instead.\n *\n * @example\n * ```tsx\n * import { VolumeChart } from '@petal/toolkit';\n *\n * // With OHLC data (volume coloring based on candle direction)\n * const ohlcData = [\n * { date: new Date('2024-01-01'), open: 100, high: 105, low: 98, close: 103, volume: 1000000 },\n * { date: new Date('2024-01-02'), open: 103, high: 108, low: 101, close: 99, volume: 1200000 },\n * ];\n *\n * function App() {\n * return <VolumeChart data={ohlcData} height={150} />;\n * }\n * ```\n */\nexport const VolumeChart = memo(function VolumeChart({\n data,\n width = '100%',\n height = 150,\n className,\n themePreset = 'dark',\n theme: customTheme,\n upColor = '#22c55eCC',\n downColor = '#ef4444CC',\n onChartReady,\n}: VolumeChartProps) {\n const chartId = useId();\n const rootRef = useRef<HTMLDivElement>(null);\n const surfaceRef = useRef<SciChartSurface | null>(null);\n const volumeDataSeriesRef = useRef<XyDataSeries | null>(null);\n const ohlcDataSeriesRef = useRef<OhlcDataSeries | null>(null);\n\n // Get the SciChart theme to use\n const sciChartTheme = customTheme ?? getThemeFromPreset(themePreset);\n const themeColors = getBaseThemeColors(themePreset);\n\n // Initialize chart\n useEffect(() => {\n if (!rootRef.current || data.length === 0) return;\n\n let isDisposed = false;\n\n const initChart = async () => {\n try {\n // Create surface with SciChart theme\n const { sciChartSurface, wasmContext } = await SciChartSurface.create(rootRef.current!, {\n theme: sciChartTheme,\n });\n\n if (isDisposed) {\n sciChartSurface.delete();\n return;\n }\n\n // Configure X axis with DateTimeNumericAxis\n const xAxis = new DateTimeNumericAxis(wasmContext, {\n drawLabels: true,\n autoRange: EAutoRange.Always,\n drawMajorGridLines: false,\n drawMinorGridLines: false,\n drawMajorTickLines: true,\n drawMinorTickLines: false,\n maxAutoTicks: 10,\n axisBandsFill: 'transparent',\n majorGridLineStyle: {\n color: themeColors.gridColor,\n strokeThickness: 0.5,\n },\n labelStyle: {\n color: themeColors.textColor,\n fontSize: 10,\n },\n });\n\n // Configure Y axis for volume\n const yAxis = new NumericAxis(wasmContext, {\n autoRange: EAutoRange.Always,\n drawMajorGridLines: false,\n drawMinorGridLines: false,\n growBy: new NumberRange(0, 0.1),\n labelFormat: ENumericFormat.Engineering,\n labelPrecision: 1,\n });\n\n sciChartSurface.xAxes.add(xAxis);\n sciChartSurface.yAxes.add(yAxis);\n\n // Prepare data\n const xValues = data.map((d) => toUnixTimestamp(d.date));\n const volumeValues = isOhlcData(data)\n ? data.map((d) => d.volume ?? 0)\n : data.map((d) => d.volume);\n\n // Override label formatter with smart granularity detection\n if (xAxis.labelProvider) {\n const minX = Math.min(...xValues);\n const maxX = Math.max(...xValues);\n xAxis.labelProvider.formatLabel = (dataValue: number) =>\n formatAxisLabel(dataValue, [minX, maxX]);\n }\n\n // Create volume data series\n const volumeDataSeries = new XyDataSeries(wasmContext, {\n xValues,\n yValues: volumeValues,\n });\n volumeDataSeriesRef.current = volumeDataSeries;\n\n // Create OHLC data series for palette provider (even for VolumeDataPoint input)\n let openValues: number[];\n let closeValues: number[];\n\n if (isOhlcData(data)) {\n openValues = data.map((d) => d.open);\n closeValues = data.map((d) => d.close);\n } else {\n // For VolumeDataPoint, create synthetic values based on isUp flag\n openValues = data.map((d) => (d.isUp === false ? 1 : 0));\n closeValues = data.map((d) => (d.isUp === false ? 0 : 1));\n }\n\n const ohlcDataSeries = new OhlcDataSeries(wasmContext, {\n xValues,\n openValues,\n highValues: closeValues, // Not used by palette, just need valid data\n lowValues: openValues, // Not used by palette, just need valid data\n closeValues,\n });\n ohlcDataSeriesRef.current = ohlcDataSeries;\n\n // Create palette provider\n const paletteProvider = new VolumePaletteProvider(ohlcDataSeries, upColor, downColor);\n\n // Create column series with palette provider\n const columnSeries = new FastColumnRenderableSeries(wasmContext, {\n dataSeries: volumeDataSeries,\n dataPointWidth: 0.7,\n paletteProvider,\n });\n\n sciChartSurface.renderableSeries.add(columnSeries);\n\n // Add modifiers\n sciChartSurface.chartModifiers.add(\n new ZoomPanModifier({ xyDirection: EXyDirection.XDirection })\n );\n sciChartSurface.chartModifiers.add(\n new MouseWheelZoomModifier({ xyDirection: EXyDirection.XDirection })\n );\n sciChartSurface.chartModifiers.add(\n new ZoomExtentsModifier({ xyDirection: EXyDirection.XDirection })\n );\n\n surfaceRef.current = sciChartSurface;\n onChartReady?.(sciChartSurface);\n } catch (error) {\n console.error('Failed to initialize SciChart VolumeChart:', error);\n }\n };\n\n initChart();\n\n return () => {\n isDisposed = true;\n if (surfaceRef.current) {\n surfaceRef.current.delete();\n surfaceRef.current = null;\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [sciChartTheme, themePreset, upColor, downColor, onChartReady]);\n\n // Update data when it changes\n useEffect(() => {\n if (!volumeDataSeriesRef.current || !ohlcDataSeriesRef.current || data.length === 0) return;\n\n const xValues = data.map((d) => toUnixTimestamp(d.date));\n const volumeValues = isOhlcData(data)\n ? data.map((d) => d.volume ?? 0)\n : data.map((d) => d.volume);\n\n // Prepare OHLC values\n let openValues: number[];\n let closeValues: number[];\n\n if (isOhlcData(data)) {\n openValues = data.map((d) => d.open);\n closeValues = data.map((d) => d.close);\n } else {\n openValues = data.map((d) => (d.isUp === false ? 1 : 0));\n closeValues = data.map((d) => (d.isUp === false ? 0 : 1));\n }\n\n // Update volume data\n volumeDataSeriesRef.current.clear();\n volumeDataSeriesRef.current.appendRange(xValues, volumeValues);\n\n // Update OHLC data for palette\n ohlcDataSeriesRef.current.clear();\n ohlcDataSeriesRef.current.appendRange(\n xValues,\n openValues,\n closeValues,\n openValues,\n closeValues\n );\n\n // Invalidate to trigger redraw\n if (surfaceRef.current) {\n surfaceRef.current.invalidateElement();\n }\n }, [data]);\n\n const containerStyle: React.CSSProperties = {\n width: typeof width === 'number' ? `${width}px` : width,\n height: typeof height === 'number' ? `${height}px` : height,\n overflow: 'hidden',\n };\n\n const volumeChartId = `volume-chart-${chartId}`;\n\n return (\n <div\n ref={rootRef}\n id={volumeChartId}\n className={className}\n style={containerStyle}\n role=\"img\"\n aria-label={`Volume chart displaying ${data.length} trading volume bars`}\n aria-describedby={`${volumeChartId}-desc`}\n >\n <span\n id={`${volumeChartId}-desc`}\n style={{\n position: 'absolute',\n width: '1px',\n height: '1px',\n padding: 0,\n margin: '-1px',\n overflow: 'hidden',\n clip: 'rect(0,0,0,0)',\n whiteSpace: 'nowrap',\n border: 0,\n }}\n >\n Interactive volume chart showing trading volume over time. Green bars indicate buying\n pressure, red bars indicate selling pressure.\n </span>\n </div>\n );\n});\n"],"names":["isOhlcData","data","VolumeChart","memo","width","height","className","themePreset","customTheme","upColor","downColor","onChartReady","chartId","useId","rootRef","useRef","surfaceRef","volumeDataSeriesRef","ohlcDataSeriesRef","sciChartTheme","getThemeFromPreset","themeColors","getBaseThemeColors","useEffect","isDisposed","sciChartSurface","wasmContext","SciChartSurface","xAxis","DateTimeNumericAxis","EAutoRange","yAxis","NumericAxis","NumberRange","ENumericFormat","xValues","d","toUnixTimestamp","volumeValues","minX","maxX","dataValue","formatAxisLabel","volumeDataSeries","XyDataSeries","openValues","closeValues","ohlcDataSeries","OhlcDataSeries","paletteProvider","VolumePaletteProvider","columnSeries","FastColumnRenderableSeries","ZoomPanModifier","EXyDirection","MouseWheelZoomModifier","ZoomExtentsModifier","error","containerStyle","volumeChartId","jsx"],"mappings":"kSAyDA,SAASA,EAAWC,EAAgD,CAClE,OAAOA,EAAK,OAAS,GAAK,SAAUA,EAAK,CAAC,GAAK,UAAWA,EAAK,CAAC,CAClE,CAuBO,MAAMC,EAAcC,EAAAA,KAAK,SAAqB,CACnD,KAAAF,EACA,MAAAG,EAAQ,OACR,OAAAC,EAAS,IACT,UAAAC,EACA,YAAAC,EAAc,OACd,MAAOC,EACP,QAAAC,EAAU,YACV,UAAAC,EAAY,YACZ,aAAAC,CACF,EAAqB,CACnB,MAAMC,EAAUC,EAAAA,MAAA,EACVC,EAAUC,EAAAA,OAAuB,IAAI,EACrCC,EAAaD,EAAAA,OAA+B,IAAI,EAChDE,EAAsBF,EAAAA,OAA4B,IAAI,EACtDG,EAAoBH,EAAAA,OAA8B,IAAI,EAGtDI,EAAgBX,GAAeY,EAAAA,mBAAmBb,CAAW,EAC7Dc,EAAcC,EAAAA,mBAAmBf,CAAW,EAGlDgB,EAAAA,UAAU,IAAM,CACd,GAAI,CAACT,EAAQ,SAAWb,EAAK,SAAW,EAAG,OAE3C,IAAIuB,EAAa,GAwHjB,OAtHkB,SAAY,CAC5B,GAAI,CAEF,KAAM,CAAE,gBAAAC,EAAiB,YAAAC,CAAA,EAAgB,MAAMC,EAAAA,gBAAAA,gBAAgB,OAAOb,EAAQ,QAAU,CACtF,MAAOK,CAAA,CACR,EAED,GAAIK,EAAY,CACdC,EAAgB,OAAA,EAChB,MACF,CAGA,MAAMG,EAAQ,IAAIC,EAAAA,gBAAAA,oBAAoBH,EAAa,CACjD,WAAY,GACZ,UAAWI,EAAAA,gBAAAA,WAAW,OACtB,mBAAoB,GACpB,mBAAoB,GACpB,mBAAoB,GACpB,mBAAoB,GACpB,aAAc,GACd,cAAe,cACf,mBAAoB,CAClB,MAAOT,EAAY,UACnB,gBAAiB,EAAA,EAEnB,WAAY,CACV,MAAOA,EAAY,UACnB,SAAU,EAAA,CACZ,CACD,EAGKU,EAAQ,IAAIC,EAAAA,gBAAAA,YAAYN,EAAa,CACzC,UAAWI,EAAAA,gBAAAA,WAAW,OACtB,mBAAoB,GACpB,mBAAoB,GACpB,OAAQ,IAAIG,EAAAA,gBAAAA,YAAY,EAAG,EAAG,EAC9B,YAAaC,EAAAA,gBAAAA,eAAe,YAC5B,eAAgB,CAAA,CACjB,EAEDT,EAAgB,MAAM,IAAIG,CAAK,EAC/BH,EAAgB,MAAM,IAAIM,CAAK,EAG/B,MAAMI,EAAUlC,EAAK,IAAKmC,GAAMC,kBAAgBD,EAAE,IAAI,CAAC,EACjDE,EAAetC,EAAWC,CAAI,EAChCA,EAAK,IAAKmC,GAAMA,EAAE,QAAU,CAAC,EAC7BnC,EAAK,IAAKmC,GAAMA,EAAE,MAAM,EAG5B,GAAIR,EAAM,cAAe,CACvB,MAAMW,EAAO,KAAK,IAAI,GAAGJ,CAAO,EAC1BK,EAAO,KAAK,IAAI,GAAGL,CAAO,EAChCP,EAAM,cAAc,YAAea,GACjCC,EAAAA,gBAAgBD,EAAW,CAACF,EAAMC,CAAI,CAAC,CAC3C,CAGA,MAAMG,EAAmB,IAAIC,EAAAA,gBAAAA,aAAalB,EAAa,CACrD,QAAAS,EACA,QAASG,CAAA,CACV,EACDrB,EAAoB,QAAU0B,EAG9B,IAAIE,EACAC,EAEA9C,EAAWC,CAAI,GACjB4C,EAAa5C,EAAK,IAAKmC,GAAMA,EAAE,IAAI,EACnCU,EAAc7C,EAAK,IAAKmC,GAAMA,EAAE,KAAK,IAGrCS,EAAa5C,EAAK,IAAKmC,GAAOA,EAAE,OAAS,GAAQ,EAAI,CAAE,EACvDU,EAAc7C,EAAK,IAAKmC,GAAOA,EAAE,OAAS,GAAQ,EAAI,CAAE,GAG1D,MAAMW,EAAiB,IAAIC,EAAAA,gBAAAA,eAAetB,EAAa,CACrD,QAAAS,EACA,WAAAU,EACA,WAAYC,EACZ,UAAWD,EACX,YAAAC,CAAA,CACD,EACD5B,EAAkB,QAAU6B,EAG5B,MAAME,EAAkB,IAAIC,EAAAA,sBAAsBH,EAAgBtC,EAASC,CAAS,EAG9EyC,EAAe,IAAIC,EAAAA,gBAAAA,2BAA2B1B,EAAa,CAC/D,WAAYiB,EACZ,eAAgB,GAChB,gBAAAM,CAAA,CACD,EAEDxB,EAAgB,iBAAiB,IAAI0B,CAAY,EAGjD1B,EAAgB,eAAe,IAC7B,IAAI4B,kCAAgB,CAAE,YAAaC,EAAAA,gBAAAA,aAAa,WAAY,CAAA,EAE9D7B,EAAgB,eAAe,IAC7B,IAAI8B,yCAAuB,CAAE,YAAaD,EAAAA,gBAAAA,aAAa,WAAY,CAAA,EAErE7B,EAAgB,eAAe,IAC7B,IAAI+B,sCAAoB,CAAE,YAAaF,EAAAA,gBAAAA,aAAa,WAAY,CAAA,EAGlEtC,EAAW,QAAUS,EACrBd,GAAA,MAAAA,EAAec,EACjB,OAASgC,EAAO,CACd,QAAQ,MAAM,6CAA8CA,CAAK,CACnE,CACF,GAEA,EAEO,IAAM,CACXjC,EAAa,GACTR,EAAW,UACbA,EAAW,QAAQ,OAAA,EACnBA,EAAW,QAAU,KAEzB,CAEF,EAAG,CAACG,EAAeZ,EAAaE,EAASC,EAAWC,CAAY,CAAC,EAGjEY,EAAAA,UAAU,IAAM,CACd,GAAI,CAACN,EAAoB,SAAW,CAACC,EAAkB,SAAWjB,EAAK,SAAW,EAAG,OAErF,MAAMkC,EAAUlC,EAAK,IAAKmC,GAAMC,kBAAgBD,EAAE,IAAI,CAAC,EACjDE,EAAetC,EAAWC,CAAI,EAChCA,EAAK,IAAKmC,GAAMA,EAAE,QAAU,CAAC,EAC7BnC,EAAK,IAAKmC,GAAMA,EAAE,MAAM,EAG5B,IAAIS,EACAC,EAEA9C,EAAWC,CAAI,GACjB4C,EAAa5C,EAAK,IAAKmC,GAAMA,EAAE,IAAI,EACnCU,EAAc7C,EAAK,IAAKmC,GAAMA,EAAE,KAAK,IAErCS,EAAa5C,EAAK,IAAKmC,GAAOA,EAAE,OAAS,GAAQ,EAAI,CAAE,EACvDU,EAAc7C,EAAK,IAAKmC,GAAOA,EAAE,OAAS,GAAQ,EAAI,CAAE,GAI1DnB,EAAoB,QAAQ,MAAA,EAC5BA,EAAoB,QAAQ,YAAYkB,EAASG,CAAY,EAG7DpB,EAAkB,QAAQ,MAAA,EAC1BA,EAAkB,QAAQ,YACxBiB,EACAU,EACAC,EACAD,EACAC,CAAA,EAIE9B,EAAW,SACbA,EAAW,QAAQ,kBAAA,CAEvB,EAAG,CAACf,CAAI,CAAC,EAET,MAAMyD,EAAsC,CAC1C,MAAO,OAAOtD,GAAU,SAAW,GAAGA,CAAK,KAAOA,EAClD,OAAQ,OAAOC,GAAW,SAAW,GAAGA,CAAM,KAAOA,EACrD,SAAU,QAAA,EAGNsD,EAAgB,gBAAgB/C,CAAO,GAE7C,OACEgD,EAAAA,IAAC,MAAA,CACC,IAAK9C,EACL,GAAI6C,EACJ,UAAArD,EACA,MAAOoD,EACP,KAAK,MACL,aAAY,2BAA2BzD,EAAK,MAAM,uBAClD,mBAAkB,GAAG0D,CAAa,QAElC,SAAAC,EAAAA,IAAC,OAAA,CACC,GAAI,GAAGD,CAAa,QACpB,MAAO,CACL,SAAU,WACV,MAAO,MACP,OAAQ,MACR,QAAS,EACT,OAAQ,OACR,SAAU,SACV,KAAM,gBACN,WAAY,SACZ,OAAQ,CAAA,EAEX,SAAA,qIAAA,CAAA,CAGD,CAAA,CAGN,CAAC"}
1
+ {"version":3,"file":"petal-toolkit.cjs50.js","sources":["../src/charts/core/VolumeChart/VolumeChart.tsx"],"sourcesContent":["import { useEffect, useRef, memo, useId } from 'react';\nimport {\n SciChartSurface,\n NumericAxis,\n DateTimeNumericAxis,\n FastColumnRenderableSeries,\n OhlcDataSeries,\n XyDataSeries,\n NumberRange,\n EAutoRange,\n ENumericFormat,\n type IThemeProvider,\n} from 'scichart';\nimport {\n ZoomPanModifier,\n MouseWheelZoomModifier,\n ZoomExtentsModifier,\n EXyDirection,\n} from 'scichart';\nimport { VolumePaletteProvider } from '@/scichart/palettes';\nimport {\n type SciChartThemePreset,\n getThemeFromPreset,\n getBaseThemeColors,\n} from '@/scichart/themes';\nimport { toUnixTimestamp, formatAxisLabel } from '@/utils';\nimport type { OHLCDataPoint, VolumeDataPoint } from '@/types';\n\nexport type { SciChartThemePreset };\n\n/** Data type that includes both volume and OHLC direction info */\nexport type VolumeChartData = OHLCDataPoint[] | VolumeDataPoint[];\n\nexport interface VolumeChartProps {\n /** Volume data points to display */\n data: VolumeChartData;\n /** Chart width (CSS value or number for pixels) */\n width?: string | number;\n /** Chart height (CSS value or number for pixels) */\n height?: string | number;\n /** Optional className for the container */\n className?: string;\n /** SciChart theme preset: 'dark' | 'light' | 'navy' */\n themePreset?: SciChartThemePreset;\n /** Custom SciChart theme (overrides themePreset) */\n theme?: IThemeProvider;\n /** Up bar color (default: green with opacity) */\n upColor?: string;\n /** Down bar color (default: red with opacity) */\n downColor?: string;\n /** Callback when chart is ready */\n onChartReady?: (surface: SciChartSurface) => void;\n}\n\n/**\n * Check if data is OHLC format\n */\nfunction isOhlcData(data: VolumeChartData): data is OHLCDataPoint[] {\n return data.length > 0 && 'open' in data[0] && 'close' in data[0];\n}\n\n/**\n * Standalone volume chart component using SciChart with FastColumnRenderableSeries.\n * Colors bars based on OHLC direction (green for up, red for down).\n *\n * Note: For integrated price+volume charts, use FinancialChart instead.\n *\n * @example\n * ```tsx\n * import { VolumeChart } from '@petal/toolkit';\n *\n * // With OHLC data (volume coloring based on candle direction)\n * const ohlcData = [\n * { date: new Date('2024-01-01'), open: 100, high: 105, low: 98, close: 103, volume: 1000000 },\n * { date: new Date('2024-01-02'), open: 103, high: 108, low: 101, close: 99, volume: 1200000 },\n * ];\n *\n * function App() {\n * return <VolumeChart data={ohlcData} height={150} />;\n * }\n * ```\n */\nexport const VolumeChart = memo(function VolumeChart({\n data,\n width = '100%',\n height = 150,\n className,\n themePreset = 'dark',\n theme: customTheme,\n upColor = '#22c55eCC',\n downColor = '#ef4444CC',\n onChartReady,\n}: VolumeChartProps) {\n const chartId = useId();\n const rootRef = useRef<HTMLDivElement>(null);\n const surfaceRef = useRef<SciChartSurface | null>(null);\n const volumeDataSeriesRef = useRef<XyDataSeries | null>(null);\n const ohlcDataSeriesRef = useRef<OhlcDataSeries | null>(null);\n\n // Get the SciChart theme to use\n const sciChartTheme = customTheme ?? getThemeFromPreset(themePreset);\n const themeColors = getBaseThemeColors(themePreset);\n\n // Initialize chart\n useEffect(() => {\n if (!rootRef.current || data.length === 0) return;\n\n let isDisposed = false;\n\n const initChart = async () => {\n try {\n // Create surface with SciChart theme\n const { sciChartSurface, wasmContext } = await SciChartSurface.create(rootRef.current!, {\n theme: sciChartTheme,\n });\n\n if (isDisposed) {\n sciChartSurface.delete();\n return;\n }\n\n // Configure X axis with DateTimeNumericAxis\n const xAxis = new DateTimeNumericAxis(wasmContext, {\n drawLabels: true,\n autoRange: EAutoRange.Always,\n drawMajorGridLines: false,\n drawMinorGridLines: false,\n drawMajorTickLines: true,\n drawMinorTickLines: false,\n maxAutoTicks: 10,\n axisBandsFill: 'transparent',\n majorGridLineStyle: {\n color: themeColors.gridColor,\n strokeThickness: 0.5,\n },\n labelStyle: {\n color: themeColors.textColor,\n fontSize: 10,\n },\n });\n\n // Configure Y axis for volume\n const yAxis = new NumericAxis(wasmContext, {\n autoRange: EAutoRange.Always,\n drawMajorGridLines: false,\n drawMinorGridLines: false,\n growBy: new NumberRange(0, 0.1),\n labelFormat: ENumericFormat.Engineering,\n labelPrecision: 1,\n });\n\n sciChartSurface.xAxes.add(xAxis);\n sciChartSurface.yAxes.add(yAxis);\n\n // Prepare data\n const xValues = data.map((d) => toUnixTimestamp(d.date));\n const volumeValues = isOhlcData(data)\n ? data.map((d) => d.volume ?? 0)\n : data.map((d) => d.volume);\n\n // Override label formatter with smart granularity detection\n if (xAxis.labelProvider) {\n const minX = Math.min(...xValues);\n const maxX = Math.max(...xValues);\n xAxis.labelProvider.formatLabel = (dataValue: number) =>\n formatAxisLabel(dataValue, [minX, maxX]);\n }\n\n // Create volume data series\n const volumeDataSeries = new XyDataSeries(wasmContext, {\n xValues,\n yValues: volumeValues,\n });\n volumeDataSeriesRef.current = volumeDataSeries;\n\n // Create OHLC data series for palette provider (even for VolumeDataPoint input)\n let openValues: number[];\n let closeValues: number[];\n\n if (isOhlcData(data)) {\n openValues = data.map((d) => d.open);\n closeValues = data.map((d) => d.close);\n } else {\n // For VolumeDataPoint, create synthetic values based on isUp flag\n openValues = data.map((d) => (d.isUp === false ? 1 : 0));\n closeValues = data.map((d) => (d.isUp === false ? 0 : 1));\n }\n\n const ohlcDataSeries = new OhlcDataSeries(wasmContext, {\n xValues,\n openValues,\n highValues: closeValues, // Not used by palette, just need valid data\n lowValues: openValues, // Not used by palette, just need valid data\n closeValues,\n });\n ohlcDataSeriesRef.current = ohlcDataSeries;\n\n // Create palette provider\n const paletteProvider = new VolumePaletteProvider(ohlcDataSeries, upColor, downColor);\n\n // Create column series with palette provider\n const columnSeries = new FastColumnRenderableSeries(wasmContext, {\n dataSeries: volumeDataSeries,\n dataPointWidth: 0.7,\n paletteProvider,\n });\n\n sciChartSurface.renderableSeries.add(columnSeries);\n\n // Add modifiers\n sciChartSurface.chartModifiers.add(\n new ZoomPanModifier({ xyDirection: EXyDirection.XDirection })\n );\n sciChartSurface.chartModifiers.add(\n new MouseWheelZoomModifier({ xyDirection: EXyDirection.XDirection })\n );\n sciChartSurface.chartModifiers.add(\n new ZoomExtentsModifier({ xyDirection: EXyDirection.XDirection })\n );\n\n surfaceRef.current = sciChartSurface;\n onChartReady?.(sciChartSurface);\n } catch (error) {\n console.error('Failed to initialize SciChart VolumeChart:', error);\n }\n };\n\n initChart();\n\n return () => {\n isDisposed = true;\n if (surfaceRef.current) {\n surfaceRef.current.delete();\n surfaceRef.current = null;\n }\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [sciChartTheme, themePreset, upColor, downColor, onChartReady]);\n\n // Update data when it changes\n useEffect(() => {\n if (!volumeDataSeriesRef.current || !ohlcDataSeriesRef.current || data.length === 0) return;\n\n const xValues = data.map((d) => toUnixTimestamp(d.date));\n const volumeValues = isOhlcData(data)\n ? data.map((d) => d.volume ?? 0)\n : data.map((d) => d.volume);\n\n // Prepare OHLC values\n let openValues: number[];\n let closeValues: number[];\n\n if (isOhlcData(data)) {\n openValues = data.map((d) => d.open);\n closeValues = data.map((d) => d.close);\n } else {\n openValues = data.map((d) => (d.isUp === false ? 1 : 0));\n closeValues = data.map((d) => (d.isUp === false ? 0 : 1));\n }\n\n // Update volume data\n volumeDataSeriesRef.current.clear();\n volumeDataSeriesRef.current.appendRange(xValues, volumeValues);\n\n // Update OHLC data for palette\n ohlcDataSeriesRef.current.clear();\n ohlcDataSeriesRef.current.appendRange(\n xValues,\n openValues,\n closeValues,\n openValues,\n closeValues\n );\n\n // Invalidate to trigger redraw\n if (surfaceRef.current) {\n surfaceRef.current.invalidateElement();\n }\n }, [data]);\n\n const containerStyle: React.CSSProperties = {\n width: typeof width === 'number' ? `${width}px` : width,\n height: typeof height === 'number' ? `${height}px` : height,\n overflow: 'hidden',\n };\n\n const volumeChartId = `volume-chart-${chartId}`;\n\n return (\n <div\n ref={rootRef}\n id={volumeChartId}\n className={className}\n style={containerStyle}\n role=\"img\"\n aria-label={`Volume chart displaying ${data.length} trading volume bars`}\n aria-describedby={`${volumeChartId}-desc`}\n >\n <span\n id={`${volumeChartId}-desc`}\n style={{\n position: 'absolute',\n width: '1px',\n height: '1px',\n padding: 0,\n margin: '-1px',\n overflow: 'hidden',\n clip: 'rect(0,0,0,0)',\n whiteSpace: 'nowrap',\n border: 0,\n }}\n >\n Interactive volume chart showing trading volume over time. Green bars indicate buying\n pressure, red bars indicate selling pressure.\n </span>\n </div>\n );\n});\n"],"names":["isOhlcData","data","VolumeChart","memo","width","height","className","themePreset","customTheme","upColor","downColor","onChartReady","chartId","useId","rootRef","useRef","surfaceRef","volumeDataSeriesRef","ohlcDataSeriesRef","sciChartTheme","getThemeFromPreset","themeColors","getBaseThemeColors","useEffect","isDisposed","sciChartSurface","wasmContext","SciChartSurface","xAxis","DateTimeNumericAxis","EAutoRange","yAxis","NumericAxis","NumberRange","ENumericFormat","xValues","d","toUnixTimestamp","volumeValues","minX","maxX","dataValue","formatAxisLabel","volumeDataSeries","XyDataSeries","openValues","closeValues","ohlcDataSeries","OhlcDataSeries","paletteProvider","VolumePaletteProvider","columnSeries","FastColumnRenderableSeries","ZoomPanModifier","EXyDirection","MouseWheelZoomModifier","ZoomExtentsModifier","error","containerStyle","volumeChartId","jsx"],"mappings":"iSAyDA,SAASA,EAAWC,EAAgD,CAClE,OAAOA,EAAK,OAAS,GAAK,SAAUA,EAAK,CAAC,GAAK,UAAWA,EAAK,CAAC,CAClE,CAuBO,MAAMC,EAAcC,EAAAA,KAAK,SAAqB,CACnD,KAAAF,EACA,MAAAG,EAAQ,OACR,OAAAC,EAAS,IACT,UAAAC,EACA,YAAAC,EAAc,OACd,MAAOC,EACP,QAAAC,EAAU,YACV,UAAAC,EAAY,YACZ,aAAAC,CACF,EAAqB,CACnB,MAAMC,EAAUC,EAAAA,MAAA,EACVC,EAAUC,EAAAA,OAAuB,IAAI,EACrCC,EAAaD,EAAAA,OAA+B,IAAI,EAChDE,EAAsBF,EAAAA,OAA4B,IAAI,EACtDG,EAAoBH,EAAAA,OAA8B,IAAI,EAGtDI,EAAgBX,GAAeY,EAAAA,mBAAmBb,CAAW,EAC7Dc,EAAcC,EAAAA,mBAAmBf,CAAW,EAGlDgB,EAAAA,UAAU,IAAM,CACd,GAAI,CAACT,EAAQ,SAAWb,EAAK,SAAW,EAAG,OAE3C,IAAIuB,EAAa,GAwHjB,OAtHkB,SAAY,CAC5B,GAAI,CAEF,KAAM,CAAE,gBAAAC,EAAiB,YAAAC,CAAA,EAAgB,MAAMC,EAAAA,gBAAAA,gBAAgB,OAAOb,EAAQ,QAAU,CACtF,MAAOK,CAAA,CACR,EAED,GAAIK,EAAY,CACdC,EAAgB,OAAA,EAChB,MACF,CAGA,MAAMG,EAAQ,IAAIC,EAAAA,gBAAAA,oBAAoBH,EAAa,CACjD,WAAY,GACZ,UAAWI,EAAAA,gBAAAA,WAAW,OACtB,mBAAoB,GACpB,mBAAoB,GACpB,mBAAoB,GACpB,mBAAoB,GACpB,aAAc,GACd,cAAe,cACf,mBAAoB,CAClB,MAAOT,EAAY,UACnB,gBAAiB,EAAA,EAEnB,WAAY,CACV,MAAOA,EAAY,UACnB,SAAU,EAAA,CACZ,CACD,EAGKU,EAAQ,IAAIC,EAAAA,gBAAAA,YAAYN,EAAa,CACzC,UAAWI,EAAAA,gBAAAA,WAAW,OACtB,mBAAoB,GACpB,mBAAoB,GACpB,OAAQ,IAAIG,EAAAA,gBAAAA,YAAY,EAAG,EAAG,EAC9B,YAAaC,EAAAA,gBAAAA,eAAe,YAC5B,eAAgB,CAAA,CACjB,EAEDT,EAAgB,MAAM,IAAIG,CAAK,EAC/BH,EAAgB,MAAM,IAAIM,CAAK,EAG/B,MAAMI,EAAUlC,EAAK,IAAKmC,GAAMC,kBAAgBD,EAAE,IAAI,CAAC,EACjDE,EAAetC,EAAWC,CAAI,EAChCA,EAAK,IAAKmC,GAAMA,EAAE,QAAU,CAAC,EAC7BnC,EAAK,IAAKmC,GAAMA,EAAE,MAAM,EAG5B,GAAIR,EAAM,cAAe,CACvB,MAAMW,EAAO,KAAK,IAAI,GAAGJ,CAAO,EAC1BK,EAAO,KAAK,IAAI,GAAGL,CAAO,EAChCP,EAAM,cAAc,YAAea,GACjCC,EAAAA,gBAAgBD,EAAW,CAACF,EAAMC,CAAI,CAAC,CAC3C,CAGA,MAAMG,EAAmB,IAAIC,EAAAA,gBAAAA,aAAalB,EAAa,CACrD,QAAAS,EACA,QAASG,CAAA,CACV,EACDrB,EAAoB,QAAU0B,EAG9B,IAAIE,EACAC,EAEA9C,EAAWC,CAAI,GACjB4C,EAAa5C,EAAK,IAAKmC,GAAMA,EAAE,IAAI,EACnCU,EAAc7C,EAAK,IAAKmC,GAAMA,EAAE,KAAK,IAGrCS,EAAa5C,EAAK,IAAKmC,GAAOA,EAAE,OAAS,GAAQ,EAAI,CAAE,EACvDU,EAAc7C,EAAK,IAAKmC,GAAOA,EAAE,OAAS,GAAQ,EAAI,CAAE,GAG1D,MAAMW,EAAiB,IAAIC,EAAAA,gBAAAA,eAAetB,EAAa,CACrD,QAAAS,EACA,WAAAU,EACA,WAAYC,EACZ,UAAWD,EACX,YAAAC,CAAA,CACD,EACD5B,EAAkB,QAAU6B,EAG5B,MAAME,EAAkB,IAAIC,EAAAA,sBAAsBH,EAAgBtC,EAASC,CAAS,EAG9EyC,EAAe,IAAIC,EAAAA,gBAAAA,2BAA2B1B,EAAa,CAC/D,WAAYiB,EACZ,eAAgB,GAChB,gBAAAM,CAAA,CACD,EAEDxB,EAAgB,iBAAiB,IAAI0B,CAAY,EAGjD1B,EAAgB,eAAe,IAC7B,IAAI4B,kCAAgB,CAAE,YAAaC,EAAAA,gBAAAA,aAAa,WAAY,CAAA,EAE9D7B,EAAgB,eAAe,IAC7B,IAAI8B,yCAAuB,CAAE,YAAaD,EAAAA,gBAAAA,aAAa,WAAY,CAAA,EAErE7B,EAAgB,eAAe,IAC7B,IAAI+B,sCAAoB,CAAE,YAAaF,EAAAA,gBAAAA,aAAa,WAAY,CAAA,EAGlEtC,EAAW,QAAUS,EACrBd,GAAA,MAAAA,EAAec,EACjB,OAASgC,EAAO,CACd,QAAQ,MAAM,6CAA8CA,CAAK,CACnE,CACF,GAEA,EAEO,IAAM,CACXjC,EAAa,GACTR,EAAW,UACbA,EAAW,QAAQ,OAAA,EACnBA,EAAW,QAAU,KAEzB,CAEF,EAAG,CAACG,EAAeZ,EAAaE,EAASC,EAAWC,CAAY,CAAC,EAGjEY,EAAAA,UAAU,IAAM,CACd,GAAI,CAACN,EAAoB,SAAW,CAACC,EAAkB,SAAWjB,EAAK,SAAW,EAAG,OAErF,MAAMkC,EAAUlC,EAAK,IAAKmC,GAAMC,kBAAgBD,EAAE,IAAI,CAAC,EACjDE,EAAetC,EAAWC,CAAI,EAChCA,EAAK,IAAKmC,GAAMA,EAAE,QAAU,CAAC,EAC7BnC,EAAK,IAAKmC,GAAMA,EAAE,MAAM,EAG5B,IAAIS,EACAC,EAEA9C,EAAWC,CAAI,GACjB4C,EAAa5C,EAAK,IAAKmC,GAAMA,EAAE,IAAI,EACnCU,EAAc7C,EAAK,IAAKmC,GAAMA,EAAE,KAAK,IAErCS,EAAa5C,EAAK,IAAKmC,GAAOA,EAAE,OAAS,GAAQ,EAAI,CAAE,EACvDU,EAAc7C,EAAK,IAAKmC,GAAOA,EAAE,OAAS,GAAQ,EAAI,CAAE,GAI1DnB,EAAoB,QAAQ,MAAA,EAC5BA,EAAoB,QAAQ,YAAYkB,EAASG,CAAY,EAG7DpB,EAAkB,QAAQ,MAAA,EAC1BA,EAAkB,QAAQ,YACxBiB,EACAU,EACAC,EACAD,EACAC,CAAA,EAIE9B,EAAW,SACbA,EAAW,QAAQ,kBAAA,CAEvB,EAAG,CAACf,CAAI,CAAC,EAET,MAAMyD,EAAsC,CAC1C,MAAO,OAAOtD,GAAU,SAAW,GAAGA,CAAK,KAAOA,EAClD,OAAQ,OAAOC,GAAW,SAAW,GAAGA,CAAM,KAAOA,EACrD,SAAU,QAAA,EAGNsD,EAAgB,gBAAgB/C,CAAO,GAE7C,OACEgD,EAAAA,IAAC,MAAA,CACC,IAAK9C,EACL,GAAI6C,EACJ,UAAArD,EACA,MAAOoD,EACP,KAAK,MACL,aAAY,2BAA2BzD,EAAK,MAAM,uBAClD,mBAAkB,GAAG0D,CAAa,QAElC,SAAAC,EAAAA,IAAC,OAAA,CACC,GAAI,GAAGD,CAAa,QACpB,MAAO,CACL,SAAU,WACV,MAAO,MACP,OAAQ,MACR,QAAS,EACT,OAAQ,OACR,SAAU,SACV,KAAM,gBACN,WAAY,SACZ,OAAQ,CAAA,EAEX,SAAA,qIAAA,CAAA,CAGD,CAAA,CAGN,CAAC"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./petal-toolkit.cjs1143.js"),y=require("./petal-toolkit.cjs637.js"),M=require("./petal-toolkit.cjs589.js"),P=require("./petal-toolkit.cjs501.js");var a;function m(){if(a)return u.__exports;a=1;var c=u.__exports&&u.__exports.__extends||(function(){var r=function(o,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},r(o,e)};return function(o,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(o,e);function t(){this.constructor=o}o.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}})();Object.defineProperty(u.__exports,"__esModule",{value:!0}),u.__exports.OrbitModifier3D=void 0;var s=y.__require(),l=M.__require(),f=P.__require(),d=(function(r){c(o,r);function o(e){var t=this,i,n;return t=r.call(this,e)||this,t.type=l.EChart3DModifierType.Orbit,t.enableZoom=!0,t.enableZoom=(i=e==null?void 0:e.enableZoom)!==null&&i!==void 0?i:t.enableZoom,t.executeCondition=(n=e==null?void 0:e.executeCondition)!==null&&n!==void 0?n:{button:s.EExecuteOn.MouseLeftButton},t}return o.prototype.modifierMouseDown=function(e){if(!this.isAttached)throw new Error("Should not call OrbitModifier3D.modifierMouseDown if not attached");this.checkExecuteConditions(e).isPrimary&&(r.prototype.modifierMouseDown.call(this,e),this.activePointerEvents.set(e.pointerId,e))},o.prototype.modifierMouseMove=function(e){if(this.updatePointerInfo(e),!!this.previousPoint){this.enableZoom&&r.prototype.getIsActionAllowed.call(this,e)&&r.prototype.performModifierAction.call(this,e);var t=this.getIsActionAllowed(e);t&&this.performModifierAction(e)}},o.prototype.modifierMouseUp=function(e){if(r.prototype.modifierMouseUp.call(this,e),this.activePointerEvents.size>0){var t=this.activePointerEvents.values().next().value;e.target.setPointerCapture(t.pointerId)}},o.prototype.toJSON=function(){var e=r.prototype.toJSON.call(this),t={enableZoom:this.enableZoom};return Object.assign(e.options,t),e},o.prototype.performModifierAction=function(e){var t=this.parentSurface.camera;if(t){var i=.2,n=e.mousePoint,p=this.previousPoint.x-n.x,v=this.previousPoint.y-n.y,h=p*i,_=v*i;t.orbitalYaw+=h,t.orbitalPitch-=_}},o.prototype.getIsActionAllowed=function(e){var t=this.activePointerEvents.values().next().value;return!(t.pointerId!==e.pointerId||this.activePointerEvents.size>1)},o})(f.PinchZoomModifier3D);return u.__exports.OrbitModifier3D=d,u.__exports}exports.__require=m;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./petal-toolkit.cjs1145.js"),y=require("./petal-toolkit.cjs637.js"),M=require("./petal-toolkit.cjs589.js"),P=require("./petal-toolkit.cjs501.js");var a;function m(){if(a)return u.__exports;a=1;var c=u.__exports&&u.__exports.__extends||(function(){var r=function(o,e){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},r(o,e)};return function(o,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");r(o,e);function t(){this.constructor=o}o.prototype=e===null?Object.create(e):(t.prototype=e.prototype,new t)}})();Object.defineProperty(u.__exports,"__esModule",{value:!0}),u.__exports.OrbitModifier3D=void 0;var s=y.__require(),l=M.__require(),f=P.__require(),d=(function(r){c(o,r);function o(e){var t=this,i,n;return t=r.call(this,e)||this,t.type=l.EChart3DModifierType.Orbit,t.enableZoom=!0,t.enableZoom=(i=e==null?void 0:e.enableZoom)!==null&&i!==void 0?i:t.enableZoom,t.executeCondition=(n=e==null?void 0:e.executeCondition)!==null&&n!==void 0?n:{button:s.EExecuteOn.MouseLeftButton},t}return o.prototype.modifierMouseDown=function(e){if(!this.isAttached)throw new Error("Should not call OrbitModifier3D.modifierMouseDown if not attached");this.checkExecuteConditions(e).isPrimary&&(r.prototype.modifierMouseDown.call(this,e),this.activePointerEvents.set(e.pointerId,e))},o.prototype.modifierMouseMove=function(e){if(this.updatePointerInfo(e),!!this.previousPoint){this.enableZoom&&r.prototype.getIsActionAllowed.call(this,e)&&r.prototype.performModifierAction.call(this,e);var t=this.getIsActionAllowed(e);t&&this.performModifierAction(e)}},o.prototype.modifierMouseUp=function(e){if(r.prototype.modifierMouseUp.call(this,e),this.activePointerEvents.size>0){var t=this.activePointerEvents.values().next().value;e.target.setPointerCapture(t.pointerId)}},o.prototype.toJSON=function(){var e=r.prototype.toJSON.call(this),t={enableZoom:this.enableZoom};return Object.assign(e.options,t),e},o.prototype.performModifierAction=function(e){var t=this.parentSurface.camera;if(t){var i=.2,n=e.mousePoint,p=this.previousPoint.x-n.x,v=this.previousPoint.y-n.y,h=p*i,_=v*i;t.orbitalYaw+=h,t.orbitalPitch-=_}},o.prototype.getIsActionAllowed=function(e){var t=this.activePointerEvents.values().next().value;return!(t.pointerId!==e.pointerId||this.activePointerEvents.size>1)},o})(f.PinchZoomModifier3D);return u.__exports.OrbitModifier3D=d,u.__exports}exports.__require=m;
2
2
  //# sourceMappingURL=petal-toolkit.cjs500.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./petal-toolkit.cjs1144.js"),M=require("./petal-toolkit.cjs589.js"),y=require("./petal-toolkit.cjs494.js"),D=require("./petal-toolkit.cjs496.js");var p;function T(){if(p)return c.__exports;p=1;var v=c.__exports&&c.__exports.__extends||(function(){var r=function(e,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},r(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(e,o);function t(){this.constructor=e}e.prototype=o===null?Object.create(o):(t.prototype=o.prototype,new t)}})();Object.defineProperty(c.__exports,"__esModule",{value:!0}),c.__exports.PinchZoomModifier3D=void 0;var f=M.__require(),d=y.__require(),l=D.__require(),P=(function(r){v(e,r);function e(o){var t=this,i;return t=r.call(this,o)||this,t.growFactor=.5,t.type=f.EChart3DModifierType.PinchZoom,t.growFactor=(i=o==null?void 0:o.growFactor)!==null&&i!==void 0?i:t.growFactor,t}return e.prototype.modifierMouseDown=function(o){if(r.prototype.modifierMouseDown.call(this,o),!this.isAttached)throw new Error("Should not call PinchZoomModifier3D.modifierMouseDown if not attached");var t=o.pointerType==="touch"||o.pointerType==="pen";t&&this.activePointerEvents.set(o.pointerId,o)},e.prototype.modifierMouseMove=function(o){var t;r.prototype.modifierMouseMove.call(this,o),(t=this.activePointerEvents.get(o.pointerId))===null||t===void 0||t.mousePoint,this.activePointerEvents.has(o.pointerId)&&this.activePointerEvents.set(o.pointerId,o);var i=this.getIsActionAllowed(o);i&&this.performModifierAction(o)},e.prototype.modifierMouseUp=function(o){r.prototype.modifierMouseUp.call(this,o),this.removeFromActiveTouchEvents(o)},e.prototype.toJSON=function(){var o=r.prototype.toJSON.call(this),t={growFactor:this.growFactor};return Object.assign(o.options,t),o},e.prototype.performZoom=function(o,t,i){var n=this.parentSurface;if(n){var s=n.camera;if(s){var a=Math.sqrt(Math.pow(t,2)+Math.pow(i,2)),_=Math.sqrt(Math.pow(this.previousHorizontalTouchPointsDistance,2)+Math.pow(this.previousVerticalTouchPointsDistance,2)),h=s.radius,m=(_-a)*this.growFactor,u=(h+m)/h;s.projectionMode===d.ECameraProjectionMode.Perspective?s.radius*=u:(s.orthoWidth*=u,s.orthoHeight*=u)}}},e.prototype.removeFromActiveTouchEvents=function(o){this.activePointerEvents.delete(o.pointerId),this.activePointerEvents.size<2&&(this.previousHorizontalTouchPointsDistance=void 0,this.previousVerticalTouchPointsDistance=void 0)},e.prototype.performModifierAction=function(o){var t=Array.from(this.activePointerEvents.values()),i=t[0].mousePoint,n=t[1].mousePoint,s=Math.abs(i.x-n.x),a=Math.abs(i.y-n.y);this.previousHorizontalTouchPointsDistance!==void 0&&this.previousVerticalTouchPointsDistance!==void 0&&this.performZoom(o.mousePoint,s,a),this.previousHorizontalTouchPointsDistance=s,this.previousVerticalTouchPointsDistance=a},e.prototype.getIsActionAllowed=function(o){var t=o.pointerType==="touch"||o.pointerType==="pen";return t&&this.activePointerEvents.size>=2},e})(l.ChartModifierBase3D);return c.__exports.PinchZoomModifier3D=P,c.__exports}exports.__require=T;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./petal-toolkit.cjs1146.js"),M=require("./petal-toolkit.cjs589.js"),y=require("./petal-toolkit.cjs494.js"),D=require("./petal-toolkit.cjs496.js");var p;function T(){if(p)return c.__exports;p=1;var v=c.__exports&&c.__exports.__extends||(function(){var r=function(e,o){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])},r(e,o)};return function(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");r(e,o);function t(){this.constructor=e}e.prototype=o===null?Object.create(o):(t.prototype=o.prototype,new t)}})();Object.defineProperty(c.__exports,"__esModule",{value:!0}),c.__exports.PinchZoomModifier3D=void 0;var f=M.__require(),d=y.__require(),l=D.__require(),P=(function(r){v(e,r);function e(o){var t=this,i;return t=r.call(this,o)||this,t.growFactor=.5,t.type=f.EChart3DModifierType.PinchZoom,t.growFactor=(i=o==null?void 0:o.growFactor)!==null&&i!==void 0?i:t.growFactor,t}return e.prototype.modifierMouseDown=function(o){if(r.prototype.modifierMouseDown.call(this,o),!this.isAttached)throw new Error("Should not call PinchZoomModifier3D.modifierMouseDown if not attached");var t=o.pointerType==="touch"||o.pointerType==="pen";t&&this.activePointerEvents.set(o.pointerId,o)},e.prototype.modifierMouseMove=function(o){var t;r.prototype.modifierMouseMove.call(this,o),(t=this.activePointerEvents.get(o.pointerId))===null||t===void 0||t.mousePoint,this.activePointerEvents.has(o.pointerId)&&this.activePointerEvents.set(o.pointerId,o);var i=this.getIsActionAllowed(o);i&&this.performModifierAction(o)},e.prototype.modifierMouseUp=function(o){r.prototype.modifierMouseUp.call(this,o),this.removeFromActiveTouchEvents(o)},e.prototype.toJSON=function(){var o=r.prototype.toJSON.call(this),t={growFactor:this.growFactor};return Object.assign(o.options,t),o},e.prototype.performZoom=function(o,t,i){var n=this.parentSurface;if(n){var s=n.camera;if(s){var a=Math.sqrt(Math.pow(t,2)+Math.pow(i,2)),_=Math.sqrt(Math.pow(this.previousHorizontalTouchPointsDistance,2)+Math.pow(this.previousVerticalTouchPointsDistance,2)),h=s.radius,m=(_-a)*this.growFactor,u=(h+m)/h;s.projectionMode===d.ECameraProjectionMode.Perspective?s.radius*=u:(s.orthoWidth*=u,s.orthoHeight*=u)}}},e.prototype.removeFromActiveTouchEvents=function(o){this.activePointerEvents.delete(o.pointerId),this.activePointerEvents.size<2&&(this.previousHorizontalTouchPointsDistance=void 0,this.previousVerticalTouchPointsDistance=void 0)},e.prototype.performModifierAction=function(o){var t=Array.from(this.activePointerEvents.values()),i=t[0].mousePoint,n=t[1].mousePoint,s=Math.abs(i.x-n.x),a=Math.abs(i.y-n.y);this.previousHorizontalTouchPointsDistance!==void 0&&this.previousVerticalTouchPointsDistance!==void 0&&this.performZoom(o.mousePoint,s,a),this.previousHorizontalTouchPointsDistance=s,this.previousVerticalTouchPointsDistance=a},e.prototype.getIsActionAllowed=function(o){var t=o.pointerType==="touch"||o.pointerType==="pen";return t&&this.activePointerEvents.size>=2},e})(l.ChartModifierBase3D);return c.__exports.PinchZoomModifier3D=P,c.__exports}exports.__require=T;
2
2
  //# sourceMappingURL=petal-toolkit.cjs501.js.map