impact-ui 5.0.1 → 5.0.2-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (707) hide show
  1. package/dist/_virtual/index14.js +2 -2
  2. package/dist/_virtual/index15.js +2 -2
  3. package/dist/_virtual/index16.js +2 -2
  4. package/dist/_virtual/index3.js +2 -4
  5. package/dist/_virtual/index4.js +3 -3
  6. package/dist/_virtual/index5.js +4 -2
  7. package/dist/assets/animated-bar.lottie.js +4 -0
  8. package/dist/assets/animated-bulb.lottie.js +4 -0
  9. package/dist/assets/animated-chip.lottie.js +4 -0
  10. package/dist/assets/confetti-cone.lottie.js +4 -0
  11. package/dist/assets/halloween_devil_morning_final.html.js +1304 -0
  12. package/dist/assets/halloween_devil_night_Final.html.js +1299 -0
  13. package/dist/components/Accordion/index.js +1 -1
  14. package/dist/components/AccordionModern/SortableAccordionComp.d.ts +2 -2
  15. package/dist/components/AccordionModern/SortableAccordionComp.d.ts.map +1 -1
  16. package/dist/components/AccordionModern/SortableAccordionComp.js +2 -2
  17. package/dist/components/AccordionModern/index.d.ts +1 -1
  18. package/dist/components/AccordionModern/index.d.ts.map +1 -1
  19. package/dist/components/AccordionModern/index.js +34 -41
  20. package/dist/components/Alert/index.js +1 -1
  21. package/dist/components/Avatar/index.js +1 -1
  22. package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts +1 -1
  23. package/dist/components/Badge/filled/filledIconLabelBadges/index.d.ts.map +1 -1
  24. package/dist/components/Badge/filled/filledIconLabelBadges/index.js +1 -1
  25. package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts +1 -1
  26. package/dist/components/Badge/filled/filledOnlyIconBadges/index.d.ts.map +1 -1
  27. package/dist/components/Badge/filled/filledOnlyIconBadges/index.js +1 -1
  28. package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts +1 -1
  29. package/dist/components/Badge/filled/filledOnlyLabelBadges/index.d.ts.map +1 -1
  30. package/dist/components/Badge/filled/filledOnlyLabelBadges/index.js +1 -1
  31. package/dist/components/Badge/filled/index.d.ts +1 -1
  32. package/dist/components/Badge/filled/index.d.ts.map +1 -1
  33. package/dist/components/Badge/index.d.ts +1 -1
  34. package/dist/components/Badge/index.js +1 -1
  35. package/dist/components/Badge/stroke/index.d.ts +1 -1
  36. package/dist/components/Badge/stroke/index.d.ts.map +1 -1
  37. package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts +1 -1
  38. package/dist/components/Badge/stroke/strokeIconLabelBadges/index.d.ts.map +1 -1
  39. package/dist/components/Badge/stroke/strokeIconLabelBadges/index.js +1 -1
  40. package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts +1 -1
  41. package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.d.ts.map +1 -1
  42. package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.js +1 -1
  43. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts +1 -1
  44. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.d.ts.map +1 -1
  45. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +1 -1
  46. package/dist/components/Badge/subtle/index.d.ts +1 -1
  47. package/dist/components/Badge/subtle/index.d.ts.map +1 -1
  48. package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts +1 -1
  49. package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.d.ts.map +1 -1
  50. package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.js +1 -1
  51. package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts +1 -1
  52. package/dist/components/Badge/subtle/subtleIconLabelBadges/index.d.ts.map +1 -1
  53. package/dist/components/Badge/subtle/subtleIconLabelBadges/index.js +1 -1
  54. package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts +1 -1
  55. package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.d.ts.map +1 -1
  56. package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.js +1 -1
  57. package/dist/components/BottomSheet/index.d.ts +1 -1
  58. package/dist/components/BottomSheet/index.d.ts.map +1 -1
  59. package/dist/components/BottomSheet/index.js +1 -1
  60. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts +1 -0
  61. package/dist/components/Breadcrumbs/Breadcrumbs.types.d.ts.map +1 -1
  62. package/dist/components/Breadcrumbs/HomeIcon.d.ts +1 -1
  63. package/dist/components/Breadcrumbs/HomeIcon.d.ts.map +1 -1
  64. package/dist/components/Breadcrumbs/HomeIcon.js +1 -1
  65. package/dist/components/Breadcrumbs/index.d.ts +1 -1
  66. package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
  67. package/dist/components/Breadcrumbs/index.js +16 -6
  68. package/dist/components/Button/index.d.ts.map +1 -1
  69. package/dist/components/Button/index.js +5 -1
  70. package/dist/components/ButtonGroup/index.d.ts +1 -1
  71. package/dist/components/ButtonGroup/index.d.ts.map +1 -1
  72. package/dist/components/ButtonGroup/index.js +1 -1
  73. package/dist/components/Card/index.js +1 -1
  74. package/dist/components/Chart/ChartSkeleton.d.ts +1 -1
  75. package/dist/components/Chart/ChartSkeleton.d.ts.map +1 -1
  76. package/dist/components/Chart/ChartSkeleton.js +24 -17
  77. package/dist/components/Chart/index.d.ts +2 -1
  78. package/dist/components/Chart/index.d.ts.map +1 -1
  79. package/dist/components/Chart/index.js +84 -28
  80. package/dist/components/Chatbot/bookMarkPanel.d.ts +1 -1
  81. package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
  82. package/dist/components/Chatbot/bookMarkPanel.js +12 -5
  83. package/dist/components/Chatbot/chatBotFooter.d.ts +1 -1
  84. package/dist/components/Chatbot/chatBotFooter.d.ts.map +1 -1
  85. package/dist/components/Chatbot/chatBotLandingScreen.d.ts +1 -1
  86. package/dist/components/Chatbot/chatBotLandingScreen.d.ts.map +1 -1
  87. package/dist/components/Chatbot/chatInput.d.ts +1 -1
  88. package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
  89. package/dist/components/Chatbot/chatInput.js +7 -9
  90. package/dist/components/Chatbot/chatbotModuleMenu.d.ts +1 -1
  91. package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
  92. package/dist/components/Chatbot/chatbotModuleMenu.js +69 -62
  93. package/dist/components/Chatbot/constant.d.ts.map +1 -1
  94. package/dist/components/Chatbot/constant.js +12 -12
  95. package/dist/components/Chatbot/conversationScreen.d.ts +1 -1
  96. package/dist/components/Chatbot/conversationScreen.d.ts.map +1 -1
  97. package/dist/components/Chatbot/customScreen.d.ts +1 -1
  98. package/dist/components/Chatbot/customScreen.d.ts.map +1 -1
  99. package/dist/components/Chatbot/historyPanel.d.ts +1 -1
  100. package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
  101. package/dist/components/Chatbot/historyPanel.js +11 -3
  102. package/dist/components/Chatbot/index.d.ts +1 -1
  103. package/dist/components/Chatbot/index.d.ts.map +1 -1
  104. package/dist/components/Chatbot/index.js +8 -7
  105. package/dist/components/Chatbot/newChatComponent.d.ts +1 -1
  106. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  107. package/dist/components/Checkbox/WithDropDown.d.ts +1 -1
  108. package/dist/components/Checkbox/WithDropDown.d.ts.map +1 -1
  109. package/dist/components/Checkbox/WithoutFormLabel.d.ts +1 -1
  110. package/dist/components/Checkbox/WithoutFormLabel.d.ts.map +1 -1
  111. package/dist/components/Checkbox/index.js +1 -1
  112. package/dist/components/Chips/chipLeadingIcon.d.ts +6 -0
  113. package/dist/components/Chips/chipLeadingIcon.d.ts.map +1 -0
  114. package/dist/components/Chips/chipLeadingIcon.js +46 -0
  115. package/dist/components/Chips/index.d.ts.map +1 -1
  116. package/dist/components/Chips/index.js +9 -3
  117. package/dist/components/CommentsPanel/CommentsContext.d.ts +1 -1
  118. package/dist/components/CommentsPanel/CommentsContext.d.ts.map +1 -1
  119. package/dist/components/CommentsPanel/CommentsContext.js +5 -4
  120. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts +1 -1
  121. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
  122. package/dist/components/CommentsPanel/CommentsPanel.impl.js +11 -8
  123. package/dist/components/CommentsPanel/CommentsPanel.types.d.ts +1 -1
  124. package/dist/components/CommentsPanel/CommentsPanel.types.d.ts.map +1 -1
  125. package/dist/components/CreateItemFlow/index.js +1 -1
  126. package/dist/components/DatePicker/datePickerDropdown.d.ts +1 -1
  127. package/dist/components/DatePicker/datePickerDropdown.d.ts.map +1 -1
  128. package/dist/components/DatePicker/datePickerFooter.d.ts +1 -1
  129. package/dist/components/DatePicker/datePickerFooter.d.ts.map +1 -1
  130. package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
  131. package/dist/components/DatePicker/datePickerInput.js +5 -2
  132. package/dist/components/DatePicker/index.js +2 -2
  133. package/dist/components/DatePicker/showMonthYearSelect.d.ts +1 -1
  134. package/dist/components/DatePicker/showMonthYearSelect.d.ts.map +1 -1
  135. package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts +1 -1
  136. package/dist/components/DateRangePicker/dateRangePickerCustom.d.ts.map +1 -1
  137. package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts +3 -1
  138. package/dist/components/DateRangePicker/dateRangePickerDropdown.d.ts.map +1 -1
  139. package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts +1 -1
  140. package/dist/components/DateRangePicker/dateRangePickerFooter.d.ts.map +1 -1
  141. package/dist/components/DateRangePicker/dateRangePickerInput.d.ts +1 -1
  142. package/dist/components/DateRangePicker/dateRangePickerInput.d.ts.map +1 -1
  143. package/dist/components/DateRangePicker/dateRangePickerInput.js +6 -7
  144. package/dist/components/DateRangePicker/index.js +2 -2
  145. package/dist/components/DateRangePicker/showMonthYearSelect.d.ts +1 -1
  146. package/dist/components/DateRangePicker/showMonthYearSelect.d.ts.map +1 -1
  147. package/dist/components/DynamicLayout/index.d.ts +2 -1
  148. package/dist/components/DynamicLayout/index.d.ts.map +1 -1
  149. package/dist/components/DynamicLayout/index.js +1 -1
  150. package/dist/components/EmptyState/EmptyStateImage.d.ts +2 -2
  151. package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
  152. package/dist/components/EmptyState/EmptyStateImage.js +26 -13
  153. package/dist/components/EmptyState/index.d.ts +1 -1
  154. package/dist/components/EmptyState/index.d.ts.map +1 -1
  155. package/dist/components/EmptyState/index.js +29 -1
  156. package/dist/components/FileUpload/TemplatePreview.d.ts +1 -1
  157. package/dist/components/FileUpload/TemplatePreview.d.ts.map +1 -1
  158. package/dist/components/FileUpload/fileUploadAssets.loader.d.ts +0 -1
  159. package/dist/components/FileUpload/fileUploadAssets.loader.d.ts.map +1 -1
  160. package/dist/components/FileUpload/fileUploadAssets.loader.js +0 -1
  161. package/dist/components/FileUpload/index.d.ts +1 -1
  162. package/dist/components/FileUpload/index.d.ts.map +1 -1
  163. package/dist/components/FileUpload/index.js +27 -11
  164. package/dist/components/FilterPanel/FilterPanelHeader.d.ts +1 -1
  165. package/dist/components/FilterPanel/FilterPanelHeader.d.ts.map +1 -1
  166. package/dist/components/FilterPanel/PanelFooter.d.ts +1 -1
  167. package/dist/components/FilterPanel/PanelFooter.d.ts.map +1 -1
  168. package/dist/components/FilterPanel/PanelSidebar.d.ts +1 -1
  169. package/dist/components/FilterPanel/PanelSidebar.d.ts.map +1 -1
  170. package/dist/components/FilterPanel/index.d.ts +1 -1
  171. package/dist/components/FilterPanel/index.d.ts.map +1 -1
  172. package/dist/components/FilterPanel/index.js +67 -43
  173. package/dist/components/FiltersStrip/AppliedFilters.d.ts +1 -1
  174. package/dist/components/FiltersStrip/AppliedFilters.d.ts.map +1 -1
  175. package/dist/components/FiltersStrip/FilterDropDown.d.ts +1 -1
  176. package/dist/components/FiltersStrip/FilterDropDown.d.ts.map +1 -1
  177. package/dist/components/FiltersStrip/FilterSlider.d.ts +1 -1
  178. package/dist/components/FiltersStrip/FilterSlider.d.ts.map +1 -1
  179. package/dist/components/FiltersStrip/FilterSlider.js +1 -1
  180. package/dist/components/FiltersStrip/FilterSliderPortal.d.ts +1 -1
  181. package/dist/components/FiltersStrip/FilterSliderPortal.d.ts.map +1 -1
  182. package/dist/components/FiltersStrip/index.d.ts +1 -1
  183. package/dist/components/FiltersStrip/index.d.ts.map +1 -1
  184. package/dist/components/FiltersStrip/index.js +1 -1
  185. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.d.ts +14 -0
  186. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.d.ts.map +1 -0
  187. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.js +131 -0
  188. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.d.ts +13 -0
  189. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.d.ts.map +1 -0
  190. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.js +9 -0
  191. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.d.ts +15 -0
  192. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.d.ts.map +1 -0
  193. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.js +141 -0
  194. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.test.d.ts +2 -0
  195. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.test.d.ts.map +1 -0
  196. package/dist/components/HalloweenStyleIntro/index.d.ts +4 -0
  197. package/dist/components/HalloweenStyleIntro/index.d.ts.map +1 -0
  198. package/dist/components/Header/Header.types.d.ts +22 -5
  199. package/dist/components/Header/Header.types.d.ts.map +1 -1
  200. package/dist/components/Header/index.d.ts +1 -1
  201. package/dist/components/Header/index.d.ts.map +1 -1
  202. package/dist/components/Header/index.js +88 -57
  203. package/dist/components/HomePage/HomePage.types.d.ts +3 -2
  204. package/dist/components/HomePage/HomePage.types.d.ts.map +1 -1
  205. package/dist/components/HomePage/constants.d.ts.map +1 -1
  206. package/dist/components/HomePage/constants.js +23 -44
  207. package/dist/components/HomePage/index.d.ts +1 -1
  208. package/dist/components/HomePage/index.d.ts.map +1 -1
  209. package/dist/components/HomePage/index.js +48 -53
  210. package/dist/components/ImpactIcon/index.d.ts +19 -0
  211. package/dist/components/ImpactIcon/index.d.ts.map +1 -0
  212. package/dist/components/ImpactIcon/index.js +52 -0
  213. package/dist/components/Input/HelperText.d.ts +1 -1
  214. package/dist/components/Input/HelperText.d.ts.map +1 -1
  215. package/dist/components/Input/HelperText.js +3 -1
  216. package/dist/components/Input/InputWithIcon.d.ts +1 -1
  217. package/dist/components/Input/InputWithIcon.d.ts.map +1 -1
  218. package/dist/components/Input/InputWithIcon.js +1 -1
  219. package/dist/components/Input/VanillaInput.d.ts +1 -1
  220. package/dist/components/Input/VanillaInput.d.ts.map +1 -1
  221. package/dist/components/Input/VanillaInput.js +1 -1
  222. package/dist/components/Input/index.js +3 -3
  223. package/dist/components/KeyboardShortCuts/Keycombo.d.ts +2 -2
  224. package/dist/components/KeyboardShortCuts/Keycombo.d.ts.map +1 -1
  225. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts +1 -1
  226. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -1
  227. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +5 -4
  228. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts +1 -1
  229. package/dist/components/KeyboardShortCuts/ShortcutModal.d.ts.map +1 -1
  230. package/dist/components/KeyboardShortCuts/ShortcutModal.js +2 -2
  231. package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts +1 -1
  232. package/dist/components/KeyboardShortCuts/StarOutlineIcon.d.ts.map +1 -1
  233. package/dist/components/KeyboardShortCuts/allSetBox.d.ts +4 -3
  234. package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -1
  235. package/dist/components/KeyboardShortCuts/allSetBox.js +12 -16
  236. package/dist/components/KeyboardShortCuts/index.d.ts +1 -1
  237. package/dist/components/KeyboardShortCuts/index.d.ts.map +1 -1
  238. package/dist/components/KeyboardShortCuts/index.js +1 -1
  239. package/dist/components/KeyboardShortCuts/screen2.d.ts +1 -1
  240. package/dist/components/KeyboardShortCuts/screen2.d.ts.map +1 -1
  241. package/dist/components/KeyboardShortCuts/screen3.d.ts +1 -1
  242. package/dist/components/KeyboardShortCuts/screen3.d.ts.map +1 -1
  243. package/dist/components/KeyboardShortCuts/tutorial.d.ts +2 -1
  244. package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -1
  245. package/dist/components/KeyboardShortCuts/tutorial.js +3 -2
  246. package/dist/components/Loader/HalloweenLoaderSlides.d.ts +13 -0
  247. package/dist/components/Loader/HalloweenLoaderSlides.d.ts.map +1 -0
  248. package/dist/components/Loader/HalloweenLoaderSlides.js +109 -0
  249. package/dist/components/Loader/index.d.ts +1 -1
  250. package/dist/components/Loader/index.d.ts.map +1 -1
  251. package/dist/components/Loader/index.js +3 -1
  252. package/dist/components/Menu/IconMenuItem.js +1 -1
  253. package/dist/components/Menu/MenuHeaderInfo.d.ts +2 -2
  254. package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
  255. package/dist/components/Menu/MenuHeaderInfo.js +10 -2
  256. package/dist/components/Menu/NestedMenuItem.js +1 -1
  257. package/dist/components/Menu/index.js +5 -14
  258. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  259. package/dist/components/Modal/index.d.ts +1 -1
  260. package/dist/components/Modal/index.d.ts.map +1 -1
  261. package/dist/components/Modal/index.js +1 -1
  262. package/dist/components/MonthPicker/index.d.ts +1 -1
  263. package/dist/components/MonthPicker/index.d.ts.map +1 -1
  264. package/dist/components/MonthPicker/index.js +10 -4
  265. package/dist/components/MonthRangePicker/constants.d.ts +4 -0
  266. package/dist/components/MonthRangePicker/constants.d.ts.map +1 -1
  267. package/dist/components/MonthRangePicker/constants.js +15 -1
  268. package/dist/components/MonthRangePicker/index.d.ts +1 -1
  269. package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
  270. package/dist/components/MonthRangePicker/index.js +68 -30
  271. package/dist/components/NewCreateItemFlow/index.d.ts +1 -1
  272. package/dist/components/NewCreateItemFlow/index.d.ts.map +1 -1
  273. package/dist/components/NewCreateItemFlow/index.js +1 -1
  274. package/dist/components/NewDynamicLayout/index.d.ts +1 -1
  275. package/dist/components/NewDynamicLayout/index.d.ts.map +1 -1
  276. package/dist/components/NewDynamicLayout/index.js +13 -15
  277. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts +1 -1
  278. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -1
  279. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.js +3 -1
  280. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts +1 -1
  281. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.d.ts.map +1 -1
  282. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +1 -1
  283. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts +1 -1
  284. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
  285. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +12 -16
  286. package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts +1 -1
  287. package/dist/components/Notification/NotificationBody/NotificationPanelContent.d.ts.map +1 -1
  288. package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts +1 -1
  289. package/dist/components/Notification/NotificationBody/NotificationTaskList.d.ts.map +1 -1
  290. package/dist/components/Notification/NotificationBody/NotificationTaskList.js +4 -2
  291. package/dist/components/Notification/NotificationBody/index.d.ts +1 -1
  292. package/dist/components/Notification/NotificationBody/index.d.ts.map +1 -1
  293. package/dist/components/Notification/NotificationHeader.d.ts.map +1 -1
  294. package/dist/components/Notification/NotificationHeader.js +13 -3
  295. package/dist/components/Notification/index.d.ts +1 -1
  296. package/dist/components/Notification/index.d.ts.map +1 -1
  297. package/dist/components/Notification/index.js +1 -1
  298. package/dist/components/OnboardingTour/index.d.ts +1 -1
  299. package/dist/components/OnboardingTour/index.d.ts.map +1 -1
  300. package/dist/components/OnboardingTour/index.js +10 -4
  301. package/dist/components/OnboardingTour/productTourList.d.ts +1 -1
  302. package/dist/components/OnboardingTour/productTourList.d.ts.map +1 -1
  303. package/dist/components/OnboardingTour/productTourList.js +4 -4
  304. package/dist/components/OnboardingTour/tooltipCard.d.ts +1 -1
  305. package/dist/components/OnboardingTour/tooltipCard.d.ts.map +1 -1
  306. package/dist/components/OnboardingTour/tooltipCard.js +2 -2
  307. package/dist/components/Panel/index.d.ts +1 -1
  308. package/dist/components/Panel/index.d.ts.map +1 -1
  309. package/dist/components/Panel/index.js +13 -7
  310. package/dist/components/Popover/Popover.types.d.ts +5 -0
  311. package/dist/components/Popover/Popover.types.d.ts.map +1 -1
  312. package/dist/components/Popover/index.d.ts +1 -1
  313. package/dist/components/Popover/index.d.ts.map +1 -1
  314. package/dist/components/Popover/index.js +12 -4
  315. package/dist/components/ProfileMenu/ProfileMenu.types.d.ts +55 -0
  316. package/dist/components/ProfileMenu/ProfileMenu.types.d.ts.map +1 -0
  317. package/dist/components/ProfileMenu/ProfileMenuListItem.d.ts +12 -0
  318. package/dist/components/ProfileMenu/ProfileMenuListItem.d.ts.map +1 -0
  319. package/dist/components/ProfileMenu/ProfileMenuListItem.js +42 -0
  320. package/dist/components/ProfileMenu/index.d.ts +11 -0
  321. package/dist/components/ProfileMenu/index.d.ts.map +1 -0
  322. package/dist/components/ProfileMenu/index.js +164 -0
  323. package/dist/components/ProgressBar/index.d.ts +1 -1
  324. package/dist/components/ProgressBar/index.d.ts.map +1 -1
  325. package/dist/components/ProgressBar/index.js +1 -1
  326. package/dist/components/Prompt/index.d.ts +1 -1
  327. package/dist/components/Prompt/index.d.ts.map +1 -1
  328. package/dist/components/Prompt/index.js +10 -2
  329. package/dist/components/RadioButtonGroup/index.d.ts +1 -1
  330. package/dist/components/RadioButtonGroup/index.d.ts.map +1 -1
  331. package/dist/components/RadioButtonGroup/index.js +1 -1
  332. package/dist/components/Select/customGroupHeading.d.ts +1 -1
  333. package/dist/components/Select/customGroupHeading.d.ts.map +1 -1
  334. package/dist/components/Select/dropdown.d.ts +1 -1
  335. package/dist/components/Select/dropdown.d.ts.map +1 -1
  336. package/dist/components/Select/index.js +2 -2
  337. package/dist/components/Select/menuList.d.ts +2 -1
  338. package/dist/components/Select/menuList.d.ts.map +1 -1
  339. package/dist/components/Select/menuList.js +2 -1
  340. package/dist/components/Select/optionList.d.ts +2 -1
  341. package/dist/components/Select/optionList.d.ts.map +1 -1
  342. package/dist/components/Select/selected-option-tags.d.ts +1 -1
  343. package/dist/components/Select/selected-option-tags.d.ts.map +1 -1
  344. package/dist/components/Shortcuts/ShortcutHint.d.ts +1 -1
  345. package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -1
  346. package/dist/components/Shortcuts/ShortcutHint.js +4 -18
  347. package/dist/components/Shortcuts/ShortcutScope.d.ts +1 -1
  348. package/dist/components/Shortcuts/ShortcutScope.d.ts.map +1 -1
  349. package/dist/components/Shortcuts/ShortcutsProvider.d.ts +1 -1
  350. package/dist/components/Shortcuts/ShortcutsProvider.d.ts.map +1 -1
  351. package/dist/components/Sidebar/ChildMenu.d.ts +1 -1
  352. package/dist/components/Sidebar/ChildMenu.d.ts.map +1 -1
  353. package/dist/components/Sidebar/ParentMenu.d.ts +1 -1
  354. package/dist/components/Sidebar/ParentMenu.d.ts.map +1 -1
  355. package/dist/components/Sidebar/SidebarActions.d.ts +1 -1
  356. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  357. package/dist/components/Sidebar/SidebarActions.js +3 -3
  358. package/dist/components/Sidebar/SidebarMenus.d.ts +1 -1
  359. package/dist/components/Sidebar/SidebarMenus.d.ts.map +1 -1
  360. package/dist/components/Sidebar/index.d.ts +1 -1
  361. package/dist/components/Sidebar/index.d.ts.map +1 -1
  362. package/dist/components/Sidebar/index.js +1 -1
  363. package/dist/components/Skeleton/index.d.ts +1 -1
  364. package/dist/components/Skeleton/index.d.ts.map +1 -1
  365. package/dist/components/Skeleton/index.js +1 -1
  366. package/dist/components/Slider/index.d.ts +1 -1
  367. package/dist/components/Slider/index.d.ts.map +1 -1
  368. package/dist/components/Slider/index.js +8 -6
  369. package/dist/components/Slider/sliderValueLabel.d.ts +7 -0
  370. package/dist/components/Slider/sliderValueLabel.d.ts.map +1 -0
  371. package/dist/components/Slider/sliderValueLabel.js +31 -0
  372. package/dist/components/Stepper/index.d.ts +1 -1
  373. package/dist/components/Stepper/index.d.ts.map +1 -1
  374. package/dist/components/Stepper/index.js +2 -2
  375. package/dist/components/Switch/index.d.ts.map +1 -1
  376. package/dist/components/Switch/index.js +11 -10
  377. package/dist/components/TableChat/EmptyContainer.d.ts +2 -1
  378. package/dist/components/TableChat/EmptyContainer.d.ts.map +1 -1
  379. package/dist/components/TableChat/EmptyContainer.js +1 -1
  380. package/dist/components/TableChat/TableChatSidePanel.d.ts +1 -1
  381. package/dist/components/TableChat/TableChatSidePanel.d.ts.map +1 -1
  382. package/dist/components/TableChat/TableChatSidePanel.js +1 -1
  383. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts +2 -1
  384. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.d.ts.map +1 -1
  385. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.js +1 -1
  386. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts +2 -1
  387. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.d.ts.map +1 -1
  388. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.js +1 -1
  389. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts +2 -1
  390. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.d.ts.map +1 -1
  391. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.js +1 -1
  392. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts +2 -1
  393. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.d.ts.map +1 -1
  394. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.js +1 -1
  395. package/dist/components/TableChat/components/SkeletonList.d.ts +1 -1
  396. package/dist/components/TableChat/components/SkeletonList.d.ts.map +1 -1
  397. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts +1 -1
  398. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.d.ts.map +1 -1
  399. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  400. package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts +3 -1
  401. package/dist/components/TableChat/components/TableChatLeftSection/ChannelCheckbox/ChannelCheckbox.d.ts.map +1 -1
  402. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts +1 -1
  403. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
  404. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +6 -5
  405. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts +1 -1
  406. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelList.d.ts.map +1 -1
  407. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts +2 -2
  408. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderButton/ChatHeaderButton.d.ts.map +1 -1
  409. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +1 -1
  410. package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts +3 -1
  411. package/dist/components/TableChat/components/TableChatLeftSection/ChatIconButton/ChatIconButton.d.ts.map +1 -1
  412. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts +1 -1
  413. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.d.ts.map +1 -1
  414. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  415. package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts +3 -1
  416. package/dist/components/TableChat/components/TableChatLeftSection/UnreadBadge/UnreadBadge.d.ts.map +1 -1
  417. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts +2 -2
  418. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.d.ts.map +1 -1
  419. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +19 -37
  420. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts +1 -1
  421. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
  422. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +13 -21
  423. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts +1 -1
  424. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.d.ts.map +1 -1
  425. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
  426. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts +1 -1
  427. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +1 -1
  428. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +24 -13
  429. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts +1 -1
  430. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
  431. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +4 -4
  432. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts +1 -1
  433. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
  434. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +23 -11
  435. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts +1 -1
  436. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderInfo.d.ts.map +1 -1
  437. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts +2 -1
  438. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
  439. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +21 -24
  440. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts +1 -1
  441. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageActions/ChatMessageActions.d.ts.map +1 -1
  442. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts +2 -1
  443. package/dist/components/TableChat/components/TableChatRightSection/ChatMessageAvatar/ChatMessageAvatar.d.ts.map +1 -1
  444. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts +1 -1
  445. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
  446. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +5 -6
  447. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts +1 -1
  448. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.d.ts.map +1 -1
  449. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
  450. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts +1 -1
  451. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.d.ts.map +1 -1
  452. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +1 -1
  453. package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts +3 -1
  454. package/dist/components/TableChat/components/TableChatRightSection/EmojiPicker/EmojiPicker.d.ts.map +1 -1
  455. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts +3 -1
  456. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.d.ts.map +1 -1
  457. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.js +6 -6
  458. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts +1 -1
  459. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.d.ts.map +1 -1
  460. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.js +5 -5
  461. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts +1 -1
  462. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.d.ts.map +1 -1
  463. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +1 -1
  464. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts +1 -1
  465. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
  466. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts +2 -1
  467. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
  468. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +12 -5
  469. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
  470. package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +1 -1
  471. package/dist/components/TableChat/components/TextEditor/Mention.js +2 -7
  472. package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
  473. package/dist/components/TableV36/AdvanceSearchModalItem.d.ts +3 -1
  474. package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -1
  475. package/dist/components/TableV36/AdvanceSortModal.d.ts +3 -1
  476. package/dist/components/TableV36/AdvanceSortModal.d.ts.map +1 -1
  477. package/dist/components/TableV36/AdvanceSortModal.js +42 -42
  478. package/dist/components/TableV36/AgGridHeader.d.ts +1 -1
  479. package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
  480. package/dist/components/TableV36/AgGridHeader.js +21 -11
  481. package/dist/components/TableV36/CellTooltip.d.ts +1 -1
  482. package/dist/components/TableV36/CellTooltip.d.ts.map +1 -1
  483. package/dist/components/TableV36/CommentsPortal.d.ts.map +1 -1
  484. package/dist/components/TableV36/CommentsPortal.js +7 -4
  485. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts +3 -1
  486. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModal.d.ts.map +1 -1
  487. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts +3 -1
  488. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
  489. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +5 -0
  490. package/dist/components/TableV36/NoComments.d.ts +3 -1
  491. package/dist/components/TableV36/NoComments.d.ts.map +1 -1
  492. package/dist/components/TableV36/NoComments.js +1 -1
  493. package/dist/components/TableV36/Table.types.d.ts +2 -2
  494. package/dist/components/TableV36/Table.types.d.ts.map +1 -1
  495. package/dist/components/TableV36/TableSkeletonCell.d.ts +1 -1
  496. package/dist/components/TableV36/TableSkeletonCell.d.ts.map +1 -1
  497. package/dist/components/TableV36/TableSkeletonCell.js +3 -15
  498. package/dist/components/TableV36/actionBar.d.ts +3 -1
  499. package/dist/components/TableV36/actionBar.d.ts.map +1 -1
  500. package/dist/components/TableV36/advanceSearchModal.d.ts +3 -1
  501. package/dist/components/TableV36/advanceSearchModal.d.ts.map +1 -1
  502. package/dist/components/TableV36/filterUtils.d.ts +21 -0
  503. package/dist/components/TableV36/filterUtils.d.ts.map +1 -1
  504. package/dist/components/TableV36/filterUtils.js +126 -16
  505. package/dist/components/TableV36/filterUtils.test.d.ts +2 -0
  506. package/dist/components/TableV36/filterUtils.test.d.ts.map +1 -0
  507. package/dist/components/TableV36/index.d.ts.map +1 -1
  508. package/dist/components/TableV36/index.js +34 -16
  509. package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
  510. package/dist/components/TableV36/tableFunctions.js +107 -37
  511. package/dist/components/TableV36/tableHeader.d.ts +1 -1
  512. package/dist/components/TableV36/tableHeader.d.ts.map +1 -1
  513. package/dist/components/TableV36/tableHeader.js +5 -4
  514. package/dist/components/TableV36/tableIcons.d.ts +4 -2
  515. package/dist/components/TableV36/tableIcons.d.ts.map +1 -1
  516. package/dist/components/TableV36/tableMoreOptions.d.ts +3 -1
  517. package/dist/components/TableV36/tableMoreOptions.d.ts.map +1 -1
  518. package/dist/components/TableV36/tableMoreOptions.js +36 -18
  519. package/dist/components/TableV36/tablePagination.d.ts +3 -1
  520. package/dist/components/TableV36/tablePagination.d.ts.map +1 -1
  521. package/dist/components/TableV36/tableSettings.d.ts +3 -1
  522. package/dist/components/TableV36/tableSettings.d.ts.map +1 -1
  523. package/dist/components/TableV36/tableSettings.js +8 -9
  524. package/dist/components/TableV36/withCommentIcon.d.ts.map +1 -1
  525. package/dist/components/TableV36/withCommentIcon.js +13 -5
  526. package/dist/components/Tabs/TabPanel.d.ts +1 -1
  527. package/dist/components/Tabs/TabPanel.d.ts.map +1 -1
  528. package/dist/components/Tabs/index.d.ts +1 -1
  529. package/dist/components/Tabs/index.d.ts.map +1 -1
  530. package/dist/components/Tabs/index.js +1 -1
  531. package/dist/components/Tag/filled.d.ts +1 -1
  532. package/dist/components/Tag/filled.d.ts.map +1 -1
  533. package/dist/components/Tag/index.js +1 -1
  534. package/dist/components/Tag/solid.d.ts +1 -1
  535. package/dist/components/Tag/solid.d.ts.map +1 -1
  536. package/dist/components/Tag/stroke.d.ts +1 -1
  537. package/dist/components/Tag/stroke.d.ts.map +1 -1
  538. package/dist/components/TagGroup/index.d.ts +1 -1
  539. package/dist/components/TagGroup/index.d.ts.map +1 -1
  540. package/dist/components/TextArea/index.d.ts +1 -1
  541. package/dist/components/TextArea/index.d.ts.map +1 -1
  542. package/dist/components/TextArea/index.js +3 -3
  543. package/dist/components/ThemingPanel/AccentColorSection.d.ts +11 -0
  544. package/dist/components/ThemingPanel/AccentColorSection.d.ts.map +1 -0
  545. package/dist/components/ThemingPanel/AccentColorSection.js +45 -0
  546. package/dist/components/ThemingPanel/EnhanceContrastSection.d.ts +11 -0
  547. package/dist/components/ThemingPanel/EnhanceContrastSection.d.ts.map +1 -0
  548. package/dist/components/ThemingPanel/EnhanceContrastSection.js +42 -0
  549. package/dist/components/ThemingPanel/InterfaceThemeSection.d.ts +13 -0
  550. package/dist/components/ThemingPanel/InterfaceThemeSection.d.ts.map +1 -0
  551. package/dist/components/ThemingPanel/InterfaceThemeSection.js +118 -0
  552. package/dist/components/ThemingPanel/StylesSection.d.ts +11 -0
  553. package/dist/components/ThemingPanel/StylesSection.d.ts.map +1 -0
  554. package/dist/components/ThemingPanel/StylesSection.js +44 -0
  555. package/dist/components/ThemingPanel/ThemesTab.d.ts +23 -0
  556. package/dist/components/ThemingPanel/ThemesTab.d.ts.map +1 -0
  557. package/dist/components/ThemingPanel/ThemesTab.js +49 -0
  558. package/dist/components/ThemingPanel/ThemingPanel.d.ts +10 -0
  559. package/dist/components/ThemingPanel/ThemingPanel.d.ts.map +1 -0
  560. package/dist/components/ThemingPanel/ThemingPanel.js +233 -0
  561. package/dist/components/ThemingPanel/ThemingPanel.types.d.ts +33 -0
  562. package/dist/components/ThemingPanel/ThemingPanel.types.d.ts.map +1 -0
  563. package/dist/components/ThemingPanel/ThemingPanel.types.js +8 -0
  564. package/dist/components/ThemingPanel/index.d.ts +10 -0
  565. package/dist/components/ThemingPanel/index.d.ts.map +1 -0
  566. package/dist/components/ThemingPanel/themingPanel.constants.d.ts +24 -0
  567. package/dist/components/ThemingPanel/themingPanel.constants.d.ts.map +1 -0
  568. package/dist/components/ThemingPanel/themingPanel.constants.js +49 -0
  569. package/dist/components/Toast/index.d.ts +1 -1
  570. package/dist/components/Toast/index.d.ts.map +1 -1
  571. package/dist/components/Toast/index.js +1 -1
  572. package/dist/components/Tooltip/index.js +1 -1
  573. package/dist/components/common/DotLottiePlayer/index.d.ts +5 -0
  574. package/dist/components/common/DotLottiePlayer/index.d.ts.map +1 -0
  575. package/dist/components/common/DotLottiePlayer/index.js +9 -0
  576. package/dist/components/common/HelperText/index.d.ts +1 -1
  577. package/dist/components/common/HelperText/index.d.ts.map +1 -1
  578. package/dist/components/common/HelperText/index.js +1 -1
  579. package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
  580. package/dist/components/common/MentionEditor/index.js +1 -1
  581. package/dist/components/index.d.ts +9 -0
  582. package/dist/components/index.d.ts.map +1 -1
  583. package/dist/components/index.js +48 -0
  584. package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.d.ts +1 -1
  585. package/dist/components/shared/tableColumnSettings/columnsSettingsVirtualList.d.ts.map +1 -1
  586. package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts.map +1 -1
  587. package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts +3 -1
  588. package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts.map +1 -1
  589. package/dist/i18n/I18nContext.d.ts +1 -1
  590. package/dist/i18n/I18nContext.d.ts.map +1 -1
  591. package/dist/locales/de-DE.json.d.ts +43 -0
  592. package/dist/locales/de-DE.json.js +43 -0
  593. package/dist/locales/en-US.json.d.ts +43 -0
  594. package/dist/locales/en-US.json.js +43 -0
  595. package/dist/locales/es-ES.json.d.ts +43 -0
  596. package/dist/locales/es-ES.json.js +43 -0
  597. package/dist/mcp-component-registry.json +186 -129
  598. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +4 -4
  599. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +232 -78
  600. package/dist/node_modules/@lottiefiles/dotlottie-react/dist/index.js +87 -0
  601. package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js +1871 -0
  602. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon.js +3 -3
  603. package/dist/node_modules/@mui/material/styles/ThemeProvider.js +43 -0
  604. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +59 -0
  605. package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js +5 -0
  606. package/dist/node_modules/@mui/private-theming/node_modules/@mui/utils/esm/exactProp/exactProp.js +19 -0
  607. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js +8 -0
  608. package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js +12 -0
  609. package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
  610. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +12 -2
  611. package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +14 -4
  612. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +86 -0
  613. package/dist/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js +50 -0
  614. package/dist/node_modules/@mui/system/esm/createStyled.js +1 -1
  615. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/exactProp/exactProp.js +19 -0
  616. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +5 -0
  617. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/useId/useId.js +24 -0
  618. package/dist/node_modules/call-bind/index.js +3 -3
  619. package/dist/node_modules/es-abstract/2025/ToString.js +21 -0
  620. package/dist/node_modules/es-abstract-get/GetMethod.js +33 -0
  621. package/dist/node_modules/es-abstract-get/GetV.js +25 -0
  622. package/dist/node_modules/es-abstract-get/isPropertyKey.js +13 -0
  623. package/dist/node_modules/es-to-primitive/es2015.js +28 -28
  624. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.development.js +1 -1
  625. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +1 -1
  626. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
  627. package/dist/node_modules/is-symbol/index.js +1 -1
  628. package/dist/node_modules/moment/dist/locale/de.js +21 -1
  629. package/dist/node_modules/moment/dist/moment.js +792 -624
  630. package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.js +1 -1
  631. package/dist/node_modules/react-dates/lib/theme/DefaultTheme.js +4 -4
  632. package/dist/node_modules/react-dates/lib/utils/registerCSSInterfaceWithDefaultTheme.js +3 -3
  633. package/dist/node_modules/react-dates/lib/utils/registerInterfaceWithDefaultTheme.js +3 -3
  634. package/dist/node_modules/react-is/cjs/react-is.development.js +1 -1
  635. package/dist/node_modules/react-is/cjs/react-is.production.js +1 -1
  636. package/dist/node_modules/react-is/index.js +1 -1
  637. package/dist/node_modules/react-with-styles/lib/ThemedStyleSheet.js +6 -6
  638. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +4 -4
  639. package/dist/node_modules/react-with-styles-interface-css/dist/utils/getClassName.js +3 -3
  640. package/dist/node_modules/react-with-styles-interface-css/dist/utils/separateStyles.js +4 -4
  641. package/dist/node_modules/string.prototype.trim/implementation.js +12 -4
  642. package/dist/node_modules/stylis/src/Parser.js +1 -1
  643. package/dist/node_modules/stylis/src/Tokenizer.js +1 -1
  644. package/dist/stories/LocaleDictionaryCollapse.d.ts +1 -1
  645. package/dist/stories/LocaleDictionaryCollapse.d.ts.map +1 -1
  646. package/dist/stories/designTokensStoryHelpers.d.ts +2 -0
  647. package/dist/stories/designTokensStoryHelpers.d.ts.map +1 -0
  648. package/dist/stories/i18nDemo.d.ts +1 -1
  649. package/dist/stories/i18nDemo.d.ts.map +1 -1
  650. package/dist/stories/tableV36ChatApiMock.d.ts +10 -29
  651. package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -1
  652. package/dist/styles/style.css +1 -1
  653. package/dist/styles/tokens/accent-palettes.generated.d.ts +13 -0
  654. package/dist/styles/tokens/accent-palettes.generated.d.ts.map +1 -0
  655. package/dist/styles/tokens/accent-palettes.generated.js +8 -0
  656. package/dist/styles/tokens/effects.generated.d.ts +60 -0
  657. package/dist/styles/tokens/effects.generated.d.ts.map +1 -0
  658. package/dist/styles/tokens/effects.generated.js +80 -0
  659. package/dist/styles/tokens/tokens.generated.d.ts +438 -0
  660. package/dist/styles/tokens/tokens.generated.d.ts.map +1 -0
  661. package/dist/styles/tokens/tokens.generated.js +431 -0
  662. package/dist/tokens/ImpactUiAppProviders.d.ts +18 -0
  663. package/dist/tokens/ImpactUiAppProviders.d.ts.map +1 -0
  664. package/dist/tokens/ImpactUiAppProviders.js +23 -0
  665. package/dist/tokens/ImpactUiThemeProvider.d.ts +17 -0
  666. package/dist/tokens/ImpactUiThemeProvider.d.ts.map +1 -0
  667. package/dist/tokens/ImpactUiThemeProvider.js +86 -0
  668. package/dist/tokens/accentDom.d.ts +17 -0
  669. package/dist/tokens/accentDom.d.ts.map +1 -0
  670. package/dist/tokens/accentDom.js +44 -0
  671. package/dist/tokens/accentDom.test.d.ts +2 -0
  672. package/dist/tokens/accentDom.test.d.ts.map +1 -0
  673. package/dist/tokens/contrastDom.d.ts +18 -0
  674. package/dist/tokens/contrastDom.d.ts.map +1 -0
  675. package/dist/tokens/contrastDom.js +34 -0
  676. package/dist/tokens/contrastDom.test.d.ts +2 -0
  677. package/dist/tokens/contrastDom.test.d.ts.map +1 -0
  678. package/dist/tokens/createImpactUiMuiTheme.d.ts +13 -0
  679. package/dist/tokens/createImpactUiMuiTheme.d.ts.map +1 -0
  680. package/dist/tokens/createImpactUiMuiTheme.js +122 -0
  681. package/dist/tokens/impactUiPreferences.d.ts +25 -0
  682. package/dist/tokens/impactUiPreferences.d.ts.map +1 -0
  683. package/dist/tokens/impactUiPreferences.js +109 -0
  684. package/dist/tokens/impactUiPreferences.test.d.ts +2 -0
  685. package/dist/tokens/impactUiPreferences.test.d.ts.map +1 -0
  686. package/dist/tokens/index.d.ts +22 -0
  687. package/dist/tokens/index.d.ts.map +1 -0
  688. package/dist/tokens/interfaceStyleDom.d.ts +26 -0
  689. package/dist/tokens/interfaceStyleDom.d.ts.map +1 -0
  690. package/dist/tokens/interfaceStyleDom.js +58 -0
  691. package/dist/tokens/theme.types.d.ts +19 -0
  692. package/dist/tokens/theme.types.d.ts.map +1 -0
  693. package/dist/tokens/themeDom.d.ts +34 -0
  694. package/dist/tokens/themeDom.d.ts.map +1 -0
  695. package/dist/tokens/themeDom.js +97 -0
  696. package/dist/tokens/useImpactUiInterfaceStyle.d.ts +7 -0
  697. package/dist/tokens/useImpactUiInterfaceStyle.d.ts.map +1 -0
  698. package/dist/tokens/useImpactUiInterfaceStyle.js +19 -0
  699. package/dist/tokens/useImpactUiTheme.d.ts +9 -0
  700. package/dist/tokens/useImpactUiTheme.d.ts.map +1 -0
  701. package/dist/tokens/useImpactUiTheme.js +46 -0
  702. package/dist/utils/helper.d.ts +2 -0
  703. package/dist/utils/helper.d.ts.map +1 -1
  704. package/package.json +12 -3
  705. /package/dist/_virtual/{react-is.development2.js → react-is2.development.js} +0 -0
  706. /package/dist/_virtual/{react-is.production.min2.js → react-is2.production.min.js} +0 -0
  707. /package/dist/_virtual/{react-is.development3.js → react-is3.development.js} +0 -0
@@ -0,0 +1,1871 @@
1
+ function e(t2) {
2
+ "@babel/helpers - typeof";
3
+ return e = typeof Symbol == `function` && typeof Symbol.iterator == `symbol` ? function(e4) {
4
+ return typeof e4;
5
+ } : function(e4) {
6
+ return e4 && typeof Symbol == `function` && e4.constructor === Symbol && e4 !== Symbol.prototype ? `symbol` : typeof e4;
7
+ }, e(t2);
8
+ }
9
+ function t(t2, n2) {
10
+ if (e(t2) != `object` || !t2) return t2;
11
+ var r2 = t2[Symbol.toPrimitive];
12
+ if (r2 !== void 0) {
13
+ var i2 = r2.call(t2, n2);
14
+ if (e(i2) != `object`) return i2;
15
+ throw TypeError(`@@toPrimitive must return a primitive value.`);
16
+ }
17
+ return (n2 === `string` ? String : Number)(t2);
18
+ }
19
+ function n(n2) {
20
+ var r2 = t(n2, `string`);
21
+ return e(r2) == `symbol` ? r2 : r2 + ``;
22
+ }
23
+ function r(e4, t2, r2) {
24
+ return (t2 = n(t2)) in e4 ? Object.defineProperty(e4, t2, { value: r2, enumerable: true, configurable: true, writable: true }) : e4[t2] = r2, e4;
25
+ }
26
+ var i = class {
27
+ requestAnimationFrame(e4) {
28
+ return requestAnimationFrame(e4);
29
+ }
30
+ cancelAnimationFrame(e4) {
31
+ cancelAnimationFrame(e4);
32
+ }
33
+ }, a = class {
34
+ constructor() {
35
+ r(this, `_lastHandleId`, 0), r(this, `_lastImmediate`, null);
36
+ }
37
+ requestAnimationFrame(e4) {
38
+ return this._lastHandleId >= 2 ** 53 - 1 && (this._lastHandleId = 0), this._lastHandleId += 1, this._lastImmediate = setImmediate(() => {
39
+ e4(performance.now());
40
+ }), this._lastHandleId;
41
+ }
42
+ cancelAnimationFrame(e4) {
43
+ this._lastImmediate && clearImmediate(this._lastImmediate);
44
+ }
45
+ }, o = class {
46
+ constructor() {
47
+ r(this, `_strategy`, void 0), this._strategy = typeof requestAnimationFrame == `function` ? new i() : new a();
48
+ }
49
+ requestAnimationFrame(e4) {
50
+ return this._strategy.requestAnimationFrame(e4);
51
+ }
52
+ cancelAnimationFrame(e4) {
53
+ this._strategy.cancelAnimationFrame(e4);
54
+ }
55
+ };
56
+ const s = typeof window < `u` && window.document !== void 0, c = new Uint8Array([80, 75, 3, 4]), l = [`v`, `ip`, `op`, `layers`, `fr`, `w`, `h`];
57
+ let u;
58
+ const d = Array(128).fill(void 0);
59
+ d.push(void 0, null, true, false);
60
+ function f(e4) {
61
+ return d[e4];
62
+ }
63
+ let p = d.length;
64
+ function m(e4) {
65
+ p === d.length && d.push(d.length + 1);
66
+ let t2 = p;
67
+ return p = d[t2], d[t2] = e4, t2;
68
+ }
69
+ function h(e4, t2) {
70
+ try {
71
+ return e4.apply(this, t2);
72
+ } catch (e5) {
73
+ u.__wbindgen_export_0(m(e5));
74
+ }
75
+ }
76
+ function g(e4) {
77
+ return e4 == null;
78
+ }
79
+ const ee = typeof TextDecoder < `u` ? new TextDecoder(`utf-8`, { ignoreBOM: true, fatal: true }) : { decode: () => {
80
+ throw Error(`TextDecoder not available`);
81
+ } };
82
+ typeof TextDecoder < `u` && ee.decode();
83
+ let _ = null;
84
+ function v() {
85
+ return (_ === null || _.byteLength === 0) && (_ = new Uint8Array(u.memory.buffer)), _;
86
+ }
87
+ function y(e4, t2) {
88
+ return e4 >>>= 0, ee.decode(v().subarray(e4, e4 + t2));
89
+ }
90
+ let b = 0;
91
+ const x = typeof TextEncoder < `u` ? new TextEncoder(`utf-8`) : { encode: () => {
92
+ throw Error(`TextEncoder not available`);
93
+ } }, te = typeof x.encodeInto == `function` ? function(e4, t2) {
94
+ return x.encodeInto(e4, t2);
95
+ } : function(e4, t2) {
96
+ let n2 = x.encode(e4);
97
+ return t2.set(n2), { read: e4.length, written: n2.length };
98
+ };
99
+ function S(e4, t2, n2) {
100
+ if (n2 === void 0) {
101
+ let n3 = x.encode(e4), r3 = t2(n3.length, 1) >>> 0;
102
+ return v().subarray(r3, r3 + n3.length).set(n3), b = n3.length, r3;
103
+ }
104
+ let r2 = e4.length, i2 = t2(r2, 1) >>> 0, a2 = v(), o2 = 0;
105
+ for (; o2 < r2; o2++) {
106
+ let t3 = e4.charCodeAt(o2);
107
+ if (t3 > 127) break;
108
+ a2[i2 + o2] = t3;
109
+ }
110
+ if (o2 !== r2) {
111
+ o2 !== 0 && (e4 = e4.slice(o2)), i2 = n2(i2, r2, r2 = o2 + e4.length * 3, 1) >>> 0;
112
+ let t3 = v().subarray(i2 + o2, i2 + r2), a3 = te(e4, t3);
113
+ o2 += a3.written, i2 = n2(i2, r2, o2, 1) >>> 0;
114
+ }
115
+ return b = o2, i2;
116
+ }
117
+ let C = null;
118
+ function w() {
119
+ return (C === null || C.buffer.detached === true || C.buffer.detached === void 0 && C.buffer !== u.memory.buffer) && (C = new DataView(u.memory.buffer)), C;
120
+ }
121
+ function T(e4, t2) {
122
+ let n2 = t2(e4.length * 1, 1) >>> 0;
123
+ return v().set(e4, n2 / 1), b = e4.length, n2;
124
+ }
125
+ function ne(e4) {
126
+ e4 < 132 || (d[e4] = p, p = e4);
127
+ }
128
+ function E(e4) {
129
+ let t2 = f(e4);
130
+ return ne(e4), t2;
131
+ }
132
+ const D = typeof FinalizationRegistry > `u` ? { register: () => {
133
+ }, unregister: () => {
134
+ } } : new FinalizationRegistry((e4) => {
135
+ u.__wbindgen_export_4.get(e4.dtor)(e4.a, e4.b);
136
+ });
137
+ function re(e4, t2, n2, r2) {
138
+ let i2 = { a: e4, b: t2, cnt: 1, dtor: n2 }, a2 = (...e5) => {
139
+ i2.cnt++;
140
+ let t3 = i2.a;
141
+ i2.a = 0;
142
+ try {
143
+ return r2(t3, i2.b, ...e5);
144
+ } finally {
145
+ --i2.cnt === 0 ? (u.__wbindgen_export_4.get(i2.dtor)(t3, i2.b), D.unregister(i2)) : i2.a = t3;
146
+ }
147
+ };
148
+ return a2.original = i2, D.register(a2, i2, i2), a2;
149
+ }
150
+ function ie(e4, t2) {
151
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b, i2 = T(t2, u.__wbindgen_export_1), a2 = b;
152
+ return u.register_font(n2, r2, i2, a2) !== 0;
153
+ }
154
+ let O = null;
155
+ function ae() {
156
+ return (O === null || O.byteLength === 0) && (O = new Float32Array(u.memory.buffer)), O;
157
+ }
158
+ function oe(e4, t2) {
159
+ let n2 = t2(e4.length * 4, 4) >>> 0;
160
+ return ae().set(e4, n2 / 4), b = e4.length, n2;
161
+ }
162
+ function se(e4, t2) {
163
+ let n2 = t2(e4.length * 4, 4) >>> 0, r2 = w();
164
+ for (let t3 = 0; t3 < e4.length; t3++) r2.setUint32(n2 + 4 * t3, m(e4[t3]), true);
165
+ return b = e4.length, n2;
166
+ }
167
+ function ce(e4, t2, n2) {
168
+ u.__wbindgen_export_5(e4, t2, m(n2));
169
+ }
170
+ const k = Object.freeze({ Forward: 0, 0: `Forward`, Reverse: 1, 1: `Reverse`, Bounce: 2, 2: `Bounce`, ReverseBounce: 3, 3: `ReverseBounce` }), A = Object.freeze({ Idle: 0, 0: `Idle`, Playing: 1, 1: `Playing`, Paused: 2, 2: `Paused`, Stopped: 3, 3: `Stopped`, Tweening: 4, 4: `Tweening` }), le = typeof FinalizationRegistry > `u` ? { register: () => {
171
+ }, unregister: () => {
172
+ } } : new FinalizationRegistry((e4) => u.__wbg_dotlottieplayerwasm_free(e4 >>> 0, 1));
173
+ var ue = class {
174
+ __destroy_into_raw() {
175
+ let e4 = this.__wbg_ptr;
176
+ return this.__wbg_ptr = 0, le.unregister(this), e4;
177
+ }
178
+ free() {
179
+ let e4 = this.__destroy_into_raw();
180
+ u.__wbg_dotlottieplayerwasm_free(e4, 0);
181
+ }
182
+ clear_slot(e4) {
183
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
184
+ return u.dotlottieplayerwasm_clear_slot(this.__wbg_ptr, t2, n2) !== 0;
185
+ }
186
+ layout_fit() {
187
+ let e4, t2;
188
+ try {
189
+ let i2 = u.__wbindgen_add_to_stack_pointer(-16);
190
+ u.dotlottieplayerwasm_layout_fit(i2, this.__wbg_ptr);
191
+ var n2 = w().getInt32(i2 + 0, true), r2 = w().getInt32(i2 + 4, true);
192
+ return e4 = n2, t2 = r2, y(n2, r2);
193
+ } finally {
194
+ u.__wbindgen_add_to_stack_pointer(16), u.__wbindgen_export_3(e4, t2, 1);
195
+ }
196
+ }
197
+ loop_count() {
198
+ return u.dotlottieplayerwasm_loop_count(this.__wbg_ptr) >>> 0;
199
+ }
200
+ poll_event() {
201
+ return E(u.dotlottieplayerwasm_poll_event(this.__wbg_ptr));
202
+ }
203
+ reset_slot(e4) {
204
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
205
+ return u.dotlottieplayerwasm_reset_slot(this.__wbg_ptr, t2, n2) !== 0;
206
+ }
207
+ set_layout(e4, t2, n2) {
208
+ let r2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), i2 = b;
209
+ return u.dotlottieplayerwasm_set_layout(this.__wbg_ptr, r2, i2, t2, n2) !== 0;
210
+ }
211
+ set_marker(e4) {
212
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
213
+ u.dotlottieplayerwasm_set_marker(this.__wbg_ptr, t2, n2);
214
+ }
215
+ clear_slots() {
216
+ return u.dotlottieplayerwasm_clear_slots(this.__wbg_ptr) !== 0;
217
+ }
218
+ is_complete() {
219
+ return u.dotlottieplayerwasm_is_complete(this.__wbg_ptr) !== 0;
220
+ }
221
+ reset_slots() {
222
+ return u.dotlottieplayerwasm_reset_slots(this.__wbg_ptr) !== 0;
223
+ }
224
+ reset_theme() {
225
+ return u.dotlottieplayerwasm_reset_theme(this.__wbg_ptr) !== 0;
226
+ }
227
+ segment_end() {
228
+ return u.dotlottieplayerwasm_segment_end(this.__wbg_ptr);
229
+ }
230
+ set_quality(e4) {
231
+ return u.dotlottieplayerwasm_set_quality(this.__wbg_ptr, e4) !== 0;
232
+ }
233
+ set_segment(e4, t2) {
234
+ return u.dotlottieplayerwasm_set_segment(this.__wbg_ptr, e4, t2) !== 0;
235
+ }
236
+ sm_set_seed(e4) {
237
+ return u.dotlottieplayerwasm_sm_set_seed(this.__wbg_ptr, e4) !== 0;
238
+ }
239
+ static unload_font(e4) {
240
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
241
+ return u.dotlottieplayerwasm_unload_font(t2, n2) !== 0;
242
+ }
243
+ animation_id() {
244
+ try {
245
+ let n2 = u.__wbindgen_add_to_stack_pointer(-16);
246
+ u.dotlottieplayerwasm_animation_id(n2, this.__wbg_ptr);
247
+ var e4 = w().getInt32(n2 + 0, true), t2 = w().getInt32(n2 + 4, true);
248
+ let r2;
249
+ return e4 !== 0 && (r2 = y(e4, t2).slice(), u.__wbindgen_export_3(e4, t2 * 1, 1)), r2;
250
+ } finally {
251
+ u.__wbindgen_add_to_stack_pointer(16);
252
+ }
253
+ }
254
+ audio_volume() {
255
+ return u.dotlottieplayerwasm_audio_volume(this.__wbg_ptr);
256
+ }
257
+ background_a() {
258
+ return u.dotlottieplayerwasm_background_a(this.__wbg_ptr);
259
+ }
260
+ background_b() {
261
+ return u.dotlottieplayerwasm_background_b(this.__wbg_ptr);
262
+ }
263
+ background_g() {
264
+ return u.dotlottieplayerwasm_background_g(this.__wbg_ptr);
265
+ }
266
+ background_r() {
267
+ return u.dotlottieplayerwasm_background_r(this.__wbg_ptr);
268
+ }
269
+ clear_marker() {
270
+ u.dotlottieplayerwasm_clear_marker(this.__wbg_ptr);
271
+ }
272
+ emit_on_loop() {
273
+ u.dotlottieplayerwasm_emit_on_loop(this.__wbg_ptr);
274
+ }
275
+ get_slot_ids() {
276
+ return E(u.dotlottieplayerwasm_get_slot_ids(this.__wbg_ptr));
277
+ }
278
+ get_slot_str(e4) {
279
+ try {
280
+ let r2 = u.__wbindgen_add_to_stack_pointer(-16), i2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
281
+ u.dotlottieplayerwasm_get_slot_str(r2, this.__wbg_ptr, i2, a2);
282
+ var t2 = w().getInt32(r2 + 0, true), n2 = w().getInt32(r2 + 4, true);
283
+ let o2;
284
+ return t2 !== 0 && (o2 = y(t2, n2).slice(), u.__wbindgen_export_3(t2, n2 * 1, 1)), o2;
285
+ } finally {
286
+ u.__wbindgen_add_to_stack_pointer(16);
287
+ }
288
+ }
289
+ marker_names() {
290
+ return E(u.dotlottieplayerwasm_marker_names(this.__wbg_ptr));
291
+ }
292
+ set_autoplay(e4) {
293
+ u.dotlottieplayerwasm_set_autoplay(this.__wbg_ptr, e4);
294
+ }
295
+ set_slot_str(e4, t2) {
296
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b, i2 = S(t2, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
297
+ return u.dotlottieplayerwasm_set_slot_str(this.__wbg_ptr, n2, r2, i2, a2) !== 0;
298
+ }
299
+ set_viewport(e4, t2, n2, r2) {
300
+ return u.dotlottieplayerwasm_set_viewport(this.__wbg_ptr, e4, t2, n2, r2) !== 0;
301
+ }
302
+ total_frames() {
303
+ return u.dotlottieplayerwasm_total_frames(this.__wbg_ptr);
304
+ }
305
+ clear_segment() {
306
+ return u.dotlottieplayerwasm_clear_segment(this.__wbg_ptr) !== 0;
307
+ }
308
+ current_frame() {
309
+ return u.dotlottieplayerwasm_current_frame(this.__wbg_ptr);
310
+ }
311
+ get_slot_type(e4) {
312
+ try {
313
+ let r2 = u.__wbindgen_add_to_stack_pointer(-16), i2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
314
+ u.dotlottieplayerwasm_get_slot_type(r2, this.__wbg_ptr, i2, a2);
315
+ var t2 = w().getInt32(r2 + 0, true), n2 = w().getInt32(r2 + 4, true);
316
+ let o2;
317
+ return t2 !== 0 && (o2 = y(t2, n2).slice(), u.__wbindgen_export_3(t2, n2 * 1, 1)), o2;
318
+ } finally {
319
+ u.__wbindgen_add_to_stack_pointer(16);
320
+ }
321
+ }
322
+ get_slots_str() {
323
+ let e4, t2;
324
+ try {
325
+ let i2 = u.__wbindgen_add_to_stack_pointer(-16);
326
+ u.dotlottieplayerwasm_get_slots_str(i2, this.__wbg_ptr);
327
+ var n2 = w().getInt32(i2 + 0, true), r2 = w().getInt32(i2 + 4, true);
328
+ return e4 = n2, t2 = r2, y(n2, r2);
329
+ } finally {
330
+ u.__wbindgen_add_to_stack_pointer(16), u.__wbindgen_export_3(e4, t2, 1);
331
+ }
332
+ }
333
+ get_transform() {
334
+ return E(u.dotlottieplayerwasm_get_transform(this.__wbg_ptr));
335
+ }
336
+ segment_start() {
337
+ return u.dotlottieplayerwasm_segment_start(this.__wbg_ptr);
338
+ }
339
+ set_slots_str(e4) {
340
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
341
+ return u.dotlottieplayerwasm_set_slots_str(this.__wbg_ptr, t2, n2) !== 0;
342
+ }
343
+ set_text_slot(e4, t2) {
344
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b, i2 = S(t2, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
345
+ return u.dotlottieplayerwasm_set_text_slot(this.__wbg_ptr, n2, r2, i2, a2) !== 0;
346
+ }
347
+ set_transform(e4) {
348
+ let t2 = oe(e4, u.__wbindgen_export_1), n2 = b;
349
+ return u.dotlottieplayerwasm_set_transform(this.__wbg_ptr, t2, n2) !== 0;
350
+ }
351
+ sm_get_inputs() {
352
+ return E(u.dotlottieplayerwasm_sm_get_inputs(this.__wbg_ptr));
353
+ }
354
+ sm_poll_event() {
355
+ return E(u.dotlottieplayerwasm_sm_poll_event(this.__wbg_ptr));
356
+ }
357
+ sm_post_click(e4, t2) {
358
+ u.dotlottieplayerwasm_sm_post_click(this.__wbg_ptr, e4, t2);
359
+ }
360
+ animation_size() {
361
+ return E(u.dotlottieplayerwasm_animation_size(this.__wbg_ptr));
362
+ }
363
+ current_marker() {
364
+ try {
365
+ let n2 = u.__wbindgen_add_to_stack_pointer(-16);
366
+ u.dotlottieplayerwasm_current_marker(n2, this.__wbg_ptr);
367
+ var e4 = w().getInt32(n2 + 0, true), t2 = w().getInt32(n2 + 4, true);
368
+ let r2;
369
+ return e4 !== 0 && (r2 = y(e4, t2).slice(), u.__wbindgen_export_3(e4, t2 * 1, 1)), r2;
370
+ } finally {
371
+ u.__wbindgen_add_to_stack_pointer(16);
372
+ }
373
+ }
374
+ layout_align_x() {
375
+ return u.dotlottieplayerwasm_layout_align_x(this.__wbg_ptr);
376
+ }
377
+ layout_align_y() {
378
+ return u.dotlottieplayerwasm_layout_align_y(this.__wbg_ptr);
379
+ }
380
+ load_animation(e4) {
381
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
382
+ return u.dotlottieplayerwasm_load_animation(this.__wbg_ptr, t2, n2) !== 0;
383
+ }
384
+ loop_animation() {
385
+ return u.dotlottieplayerwasm_loop_animation(this.__wbg_ptr) !== 0;
386
+ }
387
+ set_background(e4, t2, n2, r2) {
388
+ return u.dotlottieplayerwasm_set_background(this.__wbg_ptr, e4, t2, n2, r2) !== 0;
389
+ }
390
+ set_color_slot(e4, t2, n2, r2) {
391
+ let i2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
392
+ return u.dotlottieplayerwasm_set_color_slot(this.__wbg_ptr, i2, a2, t2, n2, r2) !== 0;
393
+ }
394
+ set_image_slot(e4, t2) {
395
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b, i2 = S(t2, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
396
+ return u.dotlottieplayerwasm_set_image_slot(this.__wbg_ptr, n2, r2, i2, a2) !== 0;
397
+ }
398
+ set_loop_count(e4) {
399
+ u.dotlottieplayerwasm_set_loop_count(this.__wbg_ptr, e4);
400
+ }
401
+ set_theme_data(e4) {
402
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
403
+ return u.dotlottieplayerwasm_set_theme_data(this.__wbg_ptr, t2, n2) !== 0;
404
+ }
405
+ sm_reset_input(e4) {
406
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
407
+ u.dotlottieplayerwasm_sm_reset_input(this.__wbg_ptr, t2, n2);
408
+ }
409
+ manifest_string() {
410
+ let e4, t2;
411
+ try {
412
+ let i2 = u.__wbindgen_add_to_stack_pointer(-16);
413
+ u.dotlottieplayerwasm_manifest_string(i2, this.__wbg_ptr);
414
+ var n2 = w().getInt32(i2 + 0, true), r2 = w().getInt32(i2 + 4, true);
415
+ return e4 = n2, t2 = r2, y(n2, r2);
416
+ } finally {
417
+ u.__wbindgen_add_to_stack_pointer(16), u.__wbindgen_export_3(e4, t2, 1);
418
+ }
419
+ }
420
+ set_scalar_slot(e4, t2) {
421
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b;
422
+ return u.dotlottieplayerwasm_set_scalar_slot(this.__wbg_ptr, n2, r2, t2) !== 0;
423
+ }
424
+ set_vector_slot(e4, t2, n2) {
425
+ let r2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), i2 = b;
426
+ return u.dotlottieplayerwasm_set_vector_slot(this.__wbg_ptr, r2, i2, t2, n2) !== 0;
427
+ }
428
+ setup_sw_target(e4, t2) {
429
+ return u.dotlottieplayerwasm_setup_sw_target(this.__wbg_ptr, e4, t2) !== 0;
430
+ }
431
+ get_pixel_buffer() {
432
+ return E(u.dotlottieplayerwasm_get_pixel_buffer(this.__wbg_ptr));
433
+ }
434
+ set_audio_volume(e4) {
435
+ u.dotlottieplayerwasm_set_audio_volume(this.__wbg_ptr, e4);
436
+ }
437
+ sm_current_state() {
438
+ let e4, t2;
439
+ try {
440
+ let i2 = u.__wbindgen_add_to_stack_pointer(-16);
441
+ u.dotlottieplayerwasm_sm_current_state(i2, this.__wbg_ptr);
442
+ var n2 = w().getInt32(i2 + 0, true), r2 = w().getInt32(i2 + 4, true);
443
+ return e4 = n2, t2 = r2, y(n2, r2);
444
+ } finally {
445
+ u.__wbindgen_add_to_stack_pointer(16), u.__wbindgen_export_3(e4, t2, 1);
446
+ }
447
+ }
448
+ state_machine_id() {
449
+ try {
450
+ let n2 = u.__wbindgen_add_to_stack_pointer(-16);
451
+ u.dotlottieplayerwasm_state_machine_id(n2, this.__wbg_ptr);
452
+ var e4 = w().getInt32(n2 + 0, true), t2 = w().getInt32(n2 + 4, true);
453
+ let r2;
454
+ return e4 !== 0 && (r2 = y(e4, t2).slice(), u.__wbindgen_export_3(e4, t2 * 1, 1)), r2;
455
+ } finally {
456
+ u.__wbindgen_add_to_stack_pointer(16);
457
+ }
458
+ }
459
+ get_state_machine(e4) {
460
+ try {
461
+ let r2 = u.__wbindgen_add_to_stack_pointer(-16), i2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
462
+ u.dotlottieplayerwasm_get_state_machine(r2, this.__wbg_ptr, i2, a2);
463
+ var t2 = w().getInt32(r2 + 0, true), n2 = w().getInt32(r2 + 4, true);
464
+ let o2;
465
+ return t2 !== 0 && (o2 = y(t2, n2).slice(), u.__wbindgen_export_3(t2, n2 * 1, 1)), o2;
466
+ } finally {
467
+ u.__wbindgen_add_to_stack_pointer(16);
468
+ }
469
+ }
470
+ set_position_slot(e4, t2, n2) {
471
+ let r2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), i2 = b;
472
+ return u.dotlottieplayerwasm_set_position_slot(this.__wbg_ptr, r2, i2, t2, n2) !== 0;
473
+ }
474
+ current_loop_count() {
475
+ return u.dotlottieplayerwasm_current_loop_count(this.__wbg_ptr) >>> 0;
476
+ }
477
+ set_asset_resolver(e4) {
478
+ u.dotlottieplayerwasm_set_asset_resolver(this.__wbg_ptr, g(e4) ? 0 : m(e4));
479
+ }
480
+ sm_framework_setup() {
481
+ return E(u.dotlottieplayerwasm_sm_framework_setup(this.__wbg_ptr));
482
+ }
483
+ sm_post_pointer_up(e4, t2) {
484
+ u.dotlottieplayerwasm_sm_post_pointer_up(this.__wbg_ptr, e4, t2);
485
+ }
486
+ state_machine_load(e4) {
487
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
488
+ return u.dotlottieplayerwasm_state_machine_load(this.__wbg_ptr, t2, n2) !== 0;
489
+ }
490
+ load_dotlottie_data(e4) {
491
+ let t2 = T(e4, u.__wbindgen_export_1), n2 = b;
492
+ return u.dotlottieplayerwasm_load_dotlottie_data(this.__wbg_ptr, t2, n2) !== 0;
493
+ }
494
+ sm_get_string_input(e4) {
495
+ try {
496
+ let r2 = u.__wbindgen_add_to_stack_pointer(-16), i2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
497
+ u.dotlottieplayerwasm_sm_get_string_input(r2, this.__wbg_ptr, i2, a2);
498
+ var t2 = w().getInt32(r2 + 0, true), n2 = w().getInt32(r2 + 4, true);
499
+ let o2;
500
+ return t2 !== 0 && (o2 = y(t2, n2).slice(), u.__wbindgen_export_3(t2, n2 * 1, 1)), o2;
501
+ } finally {
502
+ u.__wbindgen_add_to_stack_pointer(16);
503
+ }
504
+ }
505
+ sm_set_string_input(e4, t2) {
506
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b, i2 = S(t2, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
507
+ return u.dotlottieplayerwasm_sm_set_string_input(this.__wbg_ptr, n2, r2, i2, a2) !== 0;
508
+ }
509
+ sm_get_boolean_input(e4) {
510
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b, r2 = u.dotlottieplayerwasm_sm_get_boolean_input(this.__wbg_ptr, t2, n2);
511
+ return r2 === 16777215 ? void 0 : r2 !== 0;
512
+ }
513
+ sm_get_numeric_input(e4) {
514
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b, r2 = u.dotlottieplayerwasm_sm_get_numeric_input(this.__wbg_ptr, t2, n2);
515
+ return r2 === 4294967297 ? void 0 : r2;
516
+ }
517
+ sm_post_pointer_down(e4, t2) {
518
+ u.dotlottieplayerwasm_sm_post_pointer_down(this.__wbg_ptr, e4, t2);
519
+ }
520
+ sm_post_pointer_exit(e4, t2) {
521
+ u.dotlottieplayerwasm_sm_post_pointer_exit(this.__wbg_ptr, e4, t2);
522
+ }
523
+ sm_post_pointer_move(e4, t2) {
524
+ u.dotlottieplayerwasm_sm_post_pointer_move(this.__wbg_ptr, e4, t2);
525
+ }
526
+ sm_set_boolean_input(e4, t2) {
527
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b;
528
+ return u.dotlottieplayerwasm_sm_set_boolean_input(this.__wbg_ptr, n2, r2, t2) !== 0;
529
+ }
530
+ sm_set_numeric_input(e4, t2) {
531
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b;
532
+ return u.dotlottieplayerwasm_sm_set_numeric_input(this.__wbg_ptr, n2, r2, t2) !== 0;
533
+ }
534
+ state_machine_unload() {
535
+ u.dotlottieplayerwasm_state_machine_unload(this.__wbg_ptr);
536
+ }
537
+ sm_post_pointer_enter(e4, t2) {
538
+ u.dotlottieplayerwasm_sm_post_pointer_enter(this.__wbg_ptr, e4, t2);
539
+ }
540
+ load_animation_from_id(e4) {
541
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
542
+ return u.dotlottieplayerwasm_load_animation_from_id(this.__wbg_ptr, t2, n2) !== 0;
543
+ }
544
+ sm_poll_internal_event() {
545
+ return E(u.dotlottieplayerwasm_sm_poll_internal_event(this.__wbg_ptr));
546
+ }
547
+ use_frame_interpolation() {
548
+ return u.dotlottieplayerwasm_use_frame_interpolation(this.__wbg_ptr) !== 0;
549
+ }
550
+ reset_current_loop_count() {
551
+ u.dotlottieplayerwasm_reset_current_loop_count(this.__wbg_ptr);
552
+ }
553
+ sm_override_current_state(e4, t2) {
554
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b;
555
+ return u.dotlottieplayerwasm_sm_override_current_state(this.__wbg_ptr, n2, r2, t2) !== 0;
556
+ }
557
+ state_machine_load_from_id(e4) {
558
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
559
+ return u.dotlottieplayerwasm_state_machine_load_from_id(this.__wbg_ptr, t2, n2) !== 0;
560
+ }
561
+ set_use_frame_interpolation(e4) {
562
+ u.dotlottieplayerwasm_set_use_frame_interpolation(this.__wbg_ptr, e4);
563
+ }
564
+ constructor() {
565
+ let e4 = u.dotlottieplayerwasm_new();
566
+ return this.__wbg_ptr = e4 >>> 0, le.register(this, this.__wbg_ptr, this), this;
567
+ }
568
+ mode() {
569
+ return u.dotlottieplayerwasm_mode(this.__wbg_ptr);
570
+ }
571
+ play() {
572
+ return u.dotlottieplayerwasm_play(this.__wbg_ptr) !== 0;
573
+ }
574
+ stop() {
575
+ return u.dotlottieplayerwasm_stop(this.__wbg_ptr) !== 0;
576
+ }
577
+ tick(e4) {
578
+ return u.dotlottieplayerwasm_tick(this.__wbg_ptr, e4) !== 0;
579
+ }
580
+ pause() {
581
+ return u.dotlottieplayerwasm_pause(this.__wbg_ptr) !== 0;
582
+ }
583
+ speed() {
584
+ return u.dotlottieplayerwasm_speed(this.__wbg_ptr);
585
+ }
586
+ width() {
587
+ return u.dotlottieplayerwasm_width(this.__wbg_ptr) >>> 0;
588
+ }
589
+ height() {
590
+ return u.dotlottieplayerwasm_height(this.__wbg_ptr) >>> 0;
591
+ }
592
+ render() {
593
+ return u.dotlottieplayerwasm_render(this.__wbg_ptr) !== 0;
594
+ }
595
+ status() {
596
+ return u.dotlottieplayerwasm_status(this.__wbg_ptr);
597
+ }
598
+ markers() {
599
+ return E(u.dotlottieplayerwasm_markers(this.__wbg_ptr));
600
+ }
601
+ sm_fire(e4) {
602
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
603
+ return u.dotlottieplayerwasm_sm_fire(this.__wbg_ptr, t2, n2) !== 0;
604
+ }
605
+ sm_stop() {
606
+ return u.dotlottieplayerwasm_sm_stop(this.__wbg_ptr) !== 0;
607
+ }
608
+ sm_tick(e4) {
609
+ return u.dotlottieplayerwasm_sm_tick(this.__wbg_ptr, e4) !== 0;
610
+ }
611
+ autoplay() {
612
+ return u.dotlottieplayerwasm_autoplay(this.__wbg_ptr) !== 0;
613
+ }
614
+ duration() {
615
+ return u.dotlottieplayerwasm_duration(this.__wbg_ptr);
616
+ }
617
+ set_loop(e4) {
618
+ u.dotlottieplayerwasm_set_loop(this.__wbg_ptr, e4);
619
+ }
620
+ set_mode(e4) {
621
+ u.dotlottieplayerwasm_set_mode(this.__wbg_ptr, e4);
622
+ }
623
+ sm_start(e4, t2) {
624
+ let n2 = se(t2, u.__wbindgen_export_1), r2 = b;
625
+ return u.dotlottieplayerwasm_sm_start(this.__wbg_ptr, e4, n2, r2) !== 0;
626
+ }
627
+ theme_id() {
628
+ try {
629
+ let n2 = u.__wbindgen_add_to_stack_pointer(-16);
630
+ u.dotlottieplayerwasm_theme_id(n2, this.__wbg_ptr);
631
+ var e4 = w().getInt32(n2 + 0, true), t2 = w().getInt32(n2 + 4, true);
632
+ let r2;
633
+ return e4 !== 0 && (r2 = y(e4, t2).slice(), u.__wbindgen_export_3(e4, t2 * 1, 1)), r2;
634
+ } finally {
635
+ u.__wbindgen_add_to_stack_pointer(16);
636
+ }
637
+ }
638
+ load_font(e4, t2) {
639
+ let n2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b, i2 = T(t2, u.__wbindgen_export_1), a2 = b;
640
+ return u.dotlottieplayerwasm_load_font(this.__wbg_ptr, n2, r2, i2, a2) !== 0;
641
+ }
642
+ set_frame(e4) {
643
+ return u.dotlottieplayerwasm_set_frame(this.__wbg_ptr, e4) !== 0;
644
+ }
645
+ set_speed(e4) {
646
+ u.dotlottieplayerwasm_set_speed(this.__wbg_ptr, e4);
647
+ }
648
+ set_theme(e4) {
649
+ let t2 = S(e4, u.__wbindgen_export_1, u.__wbindgen_export_2), n2 = b;
650
+ return u.dotlottieplayerwasm_set_theme(this.__wbg_ptr, t2, n2) !== 0;
651
+ }
652
+ sm_status() {
653
+ let e4, t2;
654
+ try {
655
+ let i2 = u.__wbindgen_add_to_stack_pointer(-16);
656
+ u.dotlottieplayerwasm_sm_status(i2, this.__wbg_ptr);
657
+ var n2 = w().getInt32(i2 + 0, true), r2 = w().getInt32(i2 + 4, true);
658
+ return e4 = n2, t2 = r2, y(n2, r2);
659
+ } finally {
660
+ u.__wbindgen_add_to_stack_pointer(16), u.__wbindgen_export_3(e4, t2, 1);
661
+ }
662
+ }
663
+ };
664
+ async function de(e4, t2) {
665
+ if (typeof Response == `function` && e4 instanceof Response) {
666
+ if (typeof WebAssembly.instantiateStreaming == `function`) try {
667
+ return await WebAssembly.instantiateStreaming(e4, t2);
668
+ } catch (t3) {
669
+ if (e4.headers.get(`Content-Type`) != `application/wasm`) console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", t3);
670
+ else throw t3;
671
+ }
672
+ let n2 = await e4.arrayBuffer();
673
+ return await WebAssembly.instantiate(n2, t2);
674
+ } else {
675
+ let n2 = await WebAssembly.instantiate(e4, t2);
676
+ return n2 instanceof WebAssembly.Instance ? { instance: n2, module: e4 } : n2;
677
+ }
678
+ }
679
+ function fe() {
680
+ let e4 = {};
681
+ return e4.wbg = {}, e4.wbg.__wbg_appendChild_8204974b7328bf98 = function() {
682
+ return h(function(e5, t2) {
683
+ return m(f(e5).appendChild(f(t2)));
684
+ }, arguments);
685
+ }, e4.wbg.__wbg_body_942ea927546a04ba = function(e5) {
686
+ let t2 = f(e5).body;
687
+ return g(t2) ? 0 : m(t2);
688
+ }, e4.wbg.__wbg_buffer_609cc3eee51ed158 = function(e5) {
689
+ let t2 = f(e5).buffer;
690
+ return m(t2);
691
+ }, e4.wbg.__wbg_call_672a4d21634d4a24 = function() {
692
+ return h(function(e5, t2) {
693
+ return m(f(e5).call(f(t2)));
694
+ }, arguments);
695
+ }, e4.wbg.__wbg_call_7cccdd69e0791ae2 = function() {
696
+ return h(function(e5, t2, n2) {
697
+ return m(f(e5).call(f(t2), f(n2)));
698
+ }, arguments);
699
+ }, e4.wbg.__wbg_catch_a6e601879b2610e9 = function(e5, t2) {
700
+ return m(f(e5).catch(f(t2)));
701
+ }, e4.wbg.__wbg_createElement_8c9931a732ee2fea = function() {
702
+ return h(function(e5, t2, n2) {
703
+ return m(f(e5).createElement(y(t2, n2)));
704
+ }, arguments);
705
+ }, e4.wbg.__wbg_createObjectURL_6e98d2f9c7bd9764 = function() {
706
+ return h(function(e5, t2) {
707
+ let n2 = S(URL.createObjectURL(f(t2)), u.__wbindgen_export_1, u.__wbindgen_export_2), r2 = b;
708
+ w().setInt32(e5 + 4, r2, true), w().setInt32(e5 + 0, n2, true);
709
+ }, arguments);
710
+ }, e4.wbg.__wbg_currentTime_7940fe39798a1ca0 = function(e5) {
711
+ return f(e5).currentTime;
712
+ }, e4.wbg.__wbg_data_d1ed736c1e42b10e = function(e5, t2) {
713
+ let n2 = f(t2).data, r2 = T(n2, u.__wbindgen_export_1), i2 = b;
714
+ w().setInt32(e5 + 4, i2, true), w().setInt32(e5 + 0, r2, true);
715
+ }, e4.wbg.__wbg_document_d249400bd7bd996d = function(e5) {
716
+ let t2 = f(e5).document;
717
+ return g(t2) ? 0 : m(t2);
718
+ }, e4.wbg.__wbg_drawImage_803dcc46897223c9 = function() {
719
+ return h(function(e5, t2, n2, r2) {
720
+ f(e5).drawImage(f(t2), n2, r2);
721
+ }, arguments);
722
+ }, e4.wbg.__wbg_duration_4d32c501d87796c1 = function(e5) {
723
+ return f(e5).duration;
724
+ }, e4.wbg.__wbg_error_7534b8e9a36f1ab4 = function(e5, t2) {
725
+ let n2, r2;
726
+ try {
727
+ n2 = e5, r2 = t2, console.error(y(e5, t2));
728
+ } finally {
729
+ u.__wbindgen_export_3(n2, r2, 1);
730
+ }
731
+ }, e4.wbg.__wbg_getContext_e9cf379449413580 = function() {
732
+ return h(function(e5, t2, n2) {
733
+ let r2 = f(e5).getContext(y(t2, n2));
734
+ return g(r2) ? 0 : m(r2);
735
+ }, arguments);
736
+ }, e4.wbg.__wbg_getImageData_c02374a30b126dab = function() {
737
+ return h(function(e5, t2, n2, r2, i2) {
738
+ return m(f(e5).getImageData(t2, n2, r2, i2));
739
+ }, arguments);
740
+ }, e4.wbg.__wbg_instanceof_CanvasRenderingContext2d_df82a4d3437bf1cc = function(e5) {
741
+ let t2;
742
+ try {
743
+ t2 = f(e5) instanceof CanvasRenderingContext2D;
744
+ } catch {
745
+ t2 = false;
746
+ }
747
+ return t2;
748
+ }, e4.wbg.__wbg_instanceof_HtmlCanvasElement_2ea67072a7624ac5 = function(e5) {
749
+ let t2;
750
+ try {
751
+ t2 = f(e5) instanceof HTMLCanvasElement;
752
+ } catch {
753
+ t2 = false;
754
+ }
755
+ return t2;
756
+ }, e4.wbg.__wbg_instanceof_HtmlVideoElement_7f414b32f362e317 = function(e5) {
757
+ let t2;
758
+ try {
759
+ t2 = f(e5) instanceof HTMLVideoElement;
760
+ } catch {
761
+ t2 = false;
762
+ }
763
+ return t2;
764
+ }, e4.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(e5) {
765
+ let t2;
766
+ try {
767
+ t2 = f(e5) instanceof Window;
768
+ } catch {
769
+ t2 = false;
770
+ }
771
+ return t2;
772
+ }, e4.wbg.__wbg_length_a446193dc22c12f8 = function(e5) {
773
+ return f(e5).length;
774
+ }, e4.wbg.__wbg_load_2671477a3293aadb = function(e5) {
775
+ f(e5).load();
776
+ }, e4.wbg.__wbg_new_405e22f390576ce2 = function() {
777
+ return m({});
778
+ }, e4.wbg.__wbg_new_78feb108b6472713 = function() {
779
+ return m([]);
780
+ }, e4.wbg.__wbg_new_8a6f238a6ece86ea = function() {
781
+ return m(Error());
782
+ }, e4.wbg.__wbg_new_a12002a7f91c75be = function(e5) {
783
+ return m(new Uint8Array(f(e5)));
784
+ }, e4.wbg.__wbg_newnoargs_105ed471475aaf50 = function(e5, t2) {
785
+ return m(Function(y(e5, t2)));
786
+ }, e4.wbg.__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a = function(e5, t2, n2) {
787
+ return m(new Uint8Array(f(e5), t2 >>> 0, n2 >>> 0));
788
+ }, e4.wbg.__wbg_newwithlength_5a5efe313cfd59f1 = function(e5) {
789
+ return m(new Float32Array(e5 >>> 0));
790
+ }, e4.wbg.__wbg_newwithsrc_20307ca7e8762a81 = function() {
791
+ return h(function(e5, t2) {
792
+ return m(new Audio(y(e5, t2)));
793
+ }, arguments);
794
+ }, e4.wbg.__wbg_newwithu8arraysequenceandoptions_068570c487f69127 = function() {
795
+ return h(function(e5, t2) {
796
+ return m(new Blob(f(e5), f(t2)));
797
+ }, arguments);
798
+ }, e4.wbg.__wbg_pause_b74c96d69f769518 = function() {
799
+ return h(function(e5) {
800
+ f(e5).pause();
801
+ }, arguments);
802
+ }, e4.wbg.__wbg_paused_9b2affc0a8a62e86 = function(e5) {
803
+ return f(e5).paused;
804
+ }, e4.wbg.__wbg_play_f6ec5fc4e84b0d26 = function() {
805
+ return h(function(e5) {
806
+ return m(f(e5).play());
807
+ }, arguments);
808
+ }, e4.wbg.__wbg_push_737cfc8c1432c2c6 = function(e5, t2) {
809
+ return f(e5).push(f(t2));
810
+ }, e4.wbg.__wbg_readyState_017c08aa5e73517e = function(e5) {
811
+ return f(e5).readyState;
812
+ }, e4.wbg.__wbg_remove_e2d2659f3128c045 = function(e5) {
813
+ f(e5).remove();
814
+ }, e4.wbg.__wbg_revokeObjectURL_27267efebeb457c7 = function() {
815
+ return h(function(e5, t2) {
816
+ URL.revokeObjectURL(y(e5, t2));
817
+ }, arguments);
818
+ }, e4.wbg.__wbg_seeking_c0427be38e698dcd = function(e5) {
819
+ return f(e5).seeking;
820
+ }, e4.wbg.__wbg_setAttribute_2704501201f15687 = function() {
821
+ return h(function(e5, t2, n2, r2, i2) {
822
+ f(e5).setAttribute(y(t2, n2), y(r2, i2));
823
+ }, arguments);
824
+ }, e4.wbg.__wbg_set_65595bdd868b3009 = function(e5, t2, n2) {
825
+ f(e5).set(f(t2), n2 >>> 0);
826
+ }, e4.wbg.__wbg_set_bb8cecf6a62b9f46 = function() {
827
+ return h(function(e5, t2, n2) {
828
+ return Reflect.set(f(e5), f(t2), f(n2));
829
+ }, arguments);
830
+ }, e4.wbg.__wbg_setcssText_e018c236104b0233 = function(e5, t2, n2) {
831
+ f(e5).cssText = y(t2, n2);
832
+ }, e4.wbg.__wbg_setcurrentTime_64727eddd3966512 = function(e5, t2) {
833
+ f(e5).currentTime = t2;
834
+ }, e4.wbg.__wbg_setheight_da683a33fa99843c = function(e5, t2) {
835
+ f(e5).height = t2 >>> 0;
836
+ }, e4.wbg.__wbg_setindex_4e73afdcd9bb95cd = function(e5, t2, n2) {
837
+ f(e5)[t2 >>> 0] = n2;
838
+ }, e4.wbg.__wbg_setmuted_e93fc48340c43e67 = function(e5, t2) {
839
+ f(e5).muted = t2 !== 0;
840
+ }, e4.wbg.__wbg_setplaybackRate_f5c3b8896f82425e = function(e5, t2) {
841
+ f(e5).playbackRate = t2;
842
+ }, e4.wbg.__wbg_setpreload_d2fb02758e3f8e3a = function(e5, t2, n2) {
843
+ f(e5).preload = y(t2, n2);
844
+ }, e4.wbg.__wbg_setsrc_3a759736e2659904 = function(e5, t2, n2) {
845
+ f(e5).src = y(t2, n2);
846
+ }, e4.wbg.__wbg_settype_39ed370d3edd403c = function(e5, t2, n2) {
847
+ f(e5).type = y(t2, n2);
848
+ }, e4.wbg.__wbg_setvolume_3895e06a030ca4f7 = function(e5, t2) {
849
+ f(e5).volume = t2;
850
+ }, e4.wbg.__wbg_setwidth_c5fed9f5e7f0b406 = function(e5, t2) {
851
+ f(e5).width = t2 >>> 0;
852
+ }, e4.wbg.__wbg_stack_0ed75d68575b0f3c = function(e5, t2) {
853
+ let n2 = f(t2).stack, r2 = S(n2, u.__wbindgen_export_1, u.__wbindgen_export_2), i2 = b;
854
+ w().setInt32(e5 + 4, i2, true), w().setInt32(e5 + 0, r2, true);
855
+ }, e4.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
856
+ let e5 = typeof globalThis > `u` ? null : globalThis;
857
+ return g(e5) ? 0 : m(e5);
858
+ }, e4.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
859
+ let e5 = typeof globalThis > `u` ? null : globalThis;
860
+ return g(e5) ? 0 : m(e5);
861
+ }, e4.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
862
+ let e5 = typeof self > `u` ? null : self;
863
+ return g(e5) ? 0 : m(e5);
864
+ }, e4.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
865
+ let e5 = typeof window > `u` ? null : window;
866
+ return g(e5) ? 0 : m(e5);
867
+ }, e4.wbg.__wbg_style_fb30c14e5815805c = function(e5) {
868
+ let t2 = f(e5).style;
869
+ return m(t2);
870
+ }, e4.wbg.__wbg_videoHeight_3a43327a766c1f03 = function(e5) {
871
+ return f(e5).videoHeight;
872
+ }, e4.wbg.__wbg_videoWidth_4b400cf6f4744a4d = function(e5) {
873
+ return f(e5).videoWidth;
874
+ }, e4.wbg.__wbindgen_cb_drop = function(e5) {
875
+ let t2 = E(e5).original;
876
+ return t2.cnt-- == 1 ? (t2.a = 0, true) : false;
877
+ }, e4.wbg.__wbindgen_closure_wrapper109 = function(e5, t2, n2) {
878
+ return m(re(e5, t2, 7, ce));
879
+ }, e4.wbg.__wbindgen_is_null = function(e5) {
880
+ return f(e5) === null;
881
+ }, e4.wbg.__wbindgen_is_undefined = function(e5) {
882
+ return f(e5) === void 0;
883
+ }, e4.wbg.__wbindgen_memory = function() {
884
+ let e5 = u.memory;
885
+ return m(e5);
886
+ }, e4.wbg.__wbindgen_number_new = function(e5) {
887
+ return m(e5);
888
+ }, e4.wbg.__wbindgen_object_clone_ref = function(e5) {
889
+ return m(f(e5));
890
+ }, e4.wbg.__wbindgen_object_drop_ref = function(e5) {
891
+ E(e5);
892
+ }, e4.wbg.__wbindgen_string_get = function(e5, t2) {
893
+ let n2 = f(t2), r2 = typeof n2 == `string` ? n2 : void 0;
894
+ var i2 = g(r2) ? 0 : S(r2, u.__wbindgen_export_1, u.__wbindgen_export_2), a2 = b;
895
+ w().setInt32(e5 + 4, a2, true), w().setInt32(e5 + 0, i2, true);
896
+ }, e4.wbg.__wbindgen_string_new = function(e5, t2) {
897
+ return m(y(e5, t2));
898
+ }, e4.wbg.__wbindgen_throw = function(e5, t2) {
899
+ throw Error(y(e5, t2));
900
+ }, e4;
901
+ }
902
+ function pe(e4, t2) {
903
+ return u = e4.exports, me.__wbindgen_wasm_module = t2, C = null, O = null, _ = null, u;
904
+ }
905
+ async function me(e4) {
906
+ if (u !== void 0) return u;
907
+ if (e4 !== void 0 && (Object.getPrototypeOf(e4) === Object.prototype ? { module_or_path: e4 } = e4 : console.warn(`using deprecated parameters for the initialization function; pass a single object instead`)), e4 === void 0) throw Error(`WASM module URL must be provided via DotLottieWasmLoader or setWasmUrl().`);
908
+ let t2 = fe();
909
+ (typeof e4 == `string` || typeof Request == `function` && e4 instanceof Request || typeof URL == `function` && e4 instanceof URL) && (e4 = fetch(e4));
910
+ let { instance: n2, module: r2 } = await de(await e4, t2);
911
+ return pe(n2, r2);
912
+ }
913
+ var j = class {
914
+ constructor() {
915
+ r(this, `_eventListeners`, /* @__PURE__ */ new Map());
916
+ }
917
+ addEventListener(e4, t2) {
918
+ let n2 = this._eventListeners.get(e4);
919
+ n2 || (n2 = /* @__PURE__ */ new Set(), this._eventListeners.set(e4, n2)), n2.add(t2);
920
+ }
921
+ removeEventListener(e4, t2) {
922
+ let n2 = this._eventListeners.get(e4);
923
+ n2 && (t2 ? (n2.delete(t2), n2.size === 0 && this._eventListeners.delete(e4)) : this._eventListeners.delete(e4));
924
+ }
925
+ dispatch(e4) {
926
+ var _a;
927
+ (_a = this._eventListeners.get(e4.type)) == null ? void 0 : _a.forEach((t2) => t2(e4));
928
+ }
929
+ removeAllEventListeners() {
930
+ this._eventListeners.clear();
931
+ }
932
+ }, M = class e2 {
933
+ static _initializeObserver() {
934
+ e2._observer || (e2._observer = new IntersectionObserver((t2) => {
935
+ t2.forEach((t3) => {
936
+ let n2 = e2._observedCanvases.get(t3.target);
937
+ n2 && (t3.isIntersecting ? n2.unfreeze() : n2.freeze());
938
+ });
939
+ }, { threshold: 0 }));
940
+ }
941
+ static observe(t2, n2) {
942
+ var _a;
943
+ e2._initializeObserver(), !e2._observedCanvases.has(t2) && (e2._observedCanvases.set(t2, n2), (_a = e2._observer) == null ? void 0 : _a.observe(t2));
944
+ }
945
+ static unobserve(t2) {
946
+ var _a, _b;
947
+ (_a = e2._observer) == null ? void 0 : _a.unobserve(t2), e2._observedCanvases.delete(t2), e2._observedCanvases.size === 0 && ((_b = e2._observer) == null ? void 0 : _b.disconnect(), e2._observer = null);
948
+ }
949
+ };
950
+ r(M, `_observer`, null), r(M, `_observedCanvases`, /* @__PURE__ */ new Map());
951
+ var N = class e3 {
952
+ static _initializeObserver() {
953
+ e3._observer || (e3._observer = new ResizeObserver((t2) => {
954
+ t2.forEach((t3) => {
955
+ let n2 = e3._observedCanvases.get(t3.target);
956
+ if (!n2) return;
957
+ let [r2, i2] = n2;
958
+ clearTimeout(i2);
959
+ let a2 = setTimeout(() => {
960
+ r2.resize();
961
+ }, 100);
962
+ e3._observedCanvases.set(t3.target, [r2, a2]);
963
+ });
964
+ }));
965
+ }
966
+ static observe(t2, n2) {
967
+ var _a;
968
+ e3._initializeObserver(), !e3._observedCanvases.has(t2) && (e3._observedCanvases.set(t2, [n2, 0]), (_a = e3._observer) == null ? void 0 : _a.observe(t2));
969
+ }
970
+ static unobserve(t2) {
971
+ var _a;
972
+ let n2 = e3._observedCanvases.get(t2);
973
+ if (n2) {
974
+ let e4 = n2[1];
975
+ e4 && clearTimeout(e4);
976
+ }
977
+ (_a = e3._observer) == null ? void 0 : _a.unobserve(t2), e3._observedCanvases.delete(t2), !e3._observedCanvases.size && e3._observer && (e3._observer.disconnect(), e3._observer = null);
978
+ }
979
+ };
980
+ r(N, `_observer`, null), r(N, `_observedCanvases`, /* @__PURE__ */ new Map());
981
+ function he(e4) {
982
+ return /^#([\da-f]{6}|[\da-f]{8})$/iu.test(e4);
983
+ }
984
+ function ge(e4) {
985
+ if (!he(e4)) return [0, 0, 0, 0];
986
+ let t2 = e4.replace(`#`, ``);
987
+ return t2 = t2.length === 6 ? `${t2}ff` : t2, [parseInt(t2.slice(0, 2), 16) / 255, parseInt(t2.slice(2, 4), 16) / 255, parseInt(t2.slice(4, 6), 16) / 255, parseInt(t2.slice(6, 8), 16) / 255];
988
+ }
989
+ function P(e4) {
990
+ if (e4.byteLength < 4) return false;
991
+ let t2 = new Uint8Array(e4.slice(0, c.byteLength));
992
+ for (let e5 = 0; e5 < c.length; e5 += 1) if (c[e5] !== t2[e5]) return false;
993
+ return true;
994
+ }
995
+ function _e(e4) {
996
+ return l.every((t2) => Object.hasOwn(e4, t2));
997
+ }
998
+ function F(e4) {
999
+ return typeof e4 == `string` ? /^\s*\{/u.test(e4) && /\}\s*$/u.test(e4) : _e(e4);
1000
+ }
1001
+ function I() {
1002
+ return 1 + ((s ? window.devicePixelRatio : 1) - 1) * 0.75;
1003
+ }
1004
+ function L(e4) {
1005
+ let t2 = e4.getBoundingClientRect(), n2 = window.innerHeight || document.documentElement.clientHeight, r2 = window.innerWidth || document.documentElement.clientWidth;
1006
+ return !(t2.bottom < 0 || t2.top > n2 || t2.right < 0 || t2.left > r2);
1007
+ }
1008
+ function R(e4) {
1009
+ let t2 = e4.target;
1010
+ if (t2 instanceof HTMLCanvasElement) {
1011
+ let n2 = t2.getBoundingClientRect();
1012
+ if (n2.width === 0 || n2.height === 0 || t2.width === 0 || t2.height === 0) return null;
1013
+ let r2 = t2.width / n2.width, i2 = t2.height / n2.height, a2 = (e4.clientX - n2.left) * r2, o2 = (e4.clientY - n2.top) * i2;
1014
+ return !Number.isFinite(a2) || !Number.isFinite(o2) || Number.isNaN(a2) || Number.isNaN(o2) ? null : { x: a2, y: o2 };
1015
+ }
1016
+ return null;
1017
+ }
1018
+ function ve(e4) {
1019
+ return new Promise((t2, n2) => {
1020
+ let r2 = new FileReader();
1021
+ r2.onerror = () => n2(r2.error ?? Error(`Failed to read image slot source`)), r2.onload = () => t2(r2.result), r2.readAsDataURL(e4);
1022
+ });
1023
+ }
1024
+ async function z(e4) {
1025
+ if (!/^https?:\/\//i.test(e4)) return e4;
1026
+ let t2 = await fetch(e4);
1027
+ if (!t2.ok) throw Error(`Failed to fetch image slot source from URL: ${e4}. ${t2.status}: ${t2.statusText}`);
1028
+ return ve(await t2.blob());
1029
+ }
1030
+ function B(e4) {
1031
+ let t2 = e4.replace(`OpenUrl: `, ``), n2 = t2.indexOf(` | Target: `), r2, i2;
1032
+ n2 === -1 ? (r2 = t2, i2 = `_blank`) : (r2 = t2.substring(0, n2), i2 = t2.substring(n2 + 11)), window.open(r2, i2);
1033
+ }
1034
+ function ye(e4, t2, n2) {
1035
+ let r2 = null, i2 = t2, a2 = n2;
1036
+ async function o2(t3) {
1037
+ await e4({ module_or_path: t3 });
1038
+ }
1039
+ async function s2(t3) {
1040
+ let n3 = await fetch(t3);
1041
+ if (!n3.ok) throw Error(`fetch ${t3} responded with ${n3.status} ${n3.statusText}`);
1042
+ await e4({ module_or_path: await n3.arrayBuffer() });
1043
+ }
1044
+ async function c2(e5, t3) {
1045
+ try {
1046
+ return await e5(t3), null;
1047
+ } catch (e6) {
1048
+ return e6;
1049
+ }
1050
+ }
1051
+ return { load() {
1052
+ if (!r2) {
1053
+ let e5 = i2, t3 = null;
1054
+ t3 = (async () => {
1055
+ let n3 = await c2(o2, e5);
1056
+ if (!n3) return;
1057
+ console.warn(`Primary WASM load failed from ${e5}: ${n3.message}`);
1058
+ let i3 = null;
1059
+ if (a2 !== null) {
1060
+ if (console.warn(`Attempting to load WASM from backup URL: ${a2}`), i3 = await c2(o2, a2), !i3) return;
1061
+ console.warn(`Backup WASM load failed from ${a2}: ${i3.message}`);
1062
+ }
1063
+ console.warn(`Retrying WASM load with buffered instantiation`);
1064
+ let l2 = await c2(s2, e5);
1065
+ if (l2 && (console.warn(`Buffered WASM load from ${e5} failed: ${l2.message}`), !(a2 !== null && (l2 = await c2(s2, a2), !l2)))) throw console.error(`Primary WASM URL failed: ${n3.message}`), i3 && console.error(`Backup WASM URL failed: ${i3.message}`), console.error(`Buffered fallback failed: ${l2.message}`), r2 === t3 && (r2 = null), Error(`WASM loading failed from all sources.`);
1066
+ })(), r2 = t3;
1067
+ }
1068
+ return r2;
1069
+ }, setWasmUrl(e5) {
1070
+ if (typeof e5 != `string` || e5.trim() === ``) throw TypeError(`setWasmUrl() expects a non-empty URL string`);
1071
+ a2 = null, e5 !== i2 && (i2 = e5, r2 = null);
1072
+ } };
1073
+ }
1074
+ let V = null;
1075
+ function H() {
1076
+ return V ?? (V = ye(me, `https://cdn.jsdelivr.net/npm/@lottiefiles/dotlottie-web@0.81.0/dist/dotlottie-player.wasm`, `https://unpkg.com/@lottiefiles/dotlottie-web@0.81.0/dist/dotlottie-player.wasm`)), V;
1077
+ }
1078
+ const U = (e4) => {
1079
+ switch (e4) {
1080
+ case `reverse`:
1081
+ return k.Reverse;
1082
+ case `bounce`:
1083
+ return k.Bounce;
1084
+ case `reverse-bounce`:
1085
+ return k.ReverseBounce;
1086
+ default:
1087
+ return k.Forward;
1088
+ }
1089
+ }, W = (e4) => {
1090
+ switch (e4) {
1091
+ case k.Reverse:
1092
+ return `reverse`;
1093
+ case k.Bounce:
1094
+ return `bounce`;
1095
+ case k.ReverseBounce:
1096
+ return `reverse-bounce`;
1097
+ default:
1098
+ return `forward`;
1099
+ }
1100
+ }, be = (e4) => {
1101
+ switch (e4) {
1102
+ case `contain`:
1103
+ return `contain`;
1104
+ case `cover`:
1105
+ return `cover`;
1106
+ case `fill`:
1107
+ return `fill`;
1108
+ case `fit-height`:
1109
+ return `fit-height`;
1110
+ case `fit-width`:
1111
+ return `fit-width`;
1112
+ case `none`:
1113
+ return `none`;
1114
+ default:
1115
+ return `contain`;
1116
+ }
1117
+ };
1118
+ var xe = class {
1119
+ constructor(e4) {
1120
+ var _a, _b;
1121
+ r(this, `_canvas`, null), r(this, `_pendingLoad`, null), r(this, `_srcFetchAbort`, null), r(this, `_context`, null), r(this, `_eventManager`, void 0), r(this, `_animationFrameId`, null), r(this, `_frameManager`, void 0), r(this, `_boundAnimationLoop`, void 0), r(this, `_dotLottieCore`, null), r(this, `_stateMachineId`, ``), r(this, `_stateMachineConfig`, null), r(this, `_isStateMachineRunning`, false), r(this, `_renderConfig`, {}), r(this, `_isFrozen`, false), r(this, `_backgroundColor`, null), r(this, `_lastFrameTime`, null), r(this, `_boundOnClick`, null), r(this, `_boundOnPointerUp`, null), r(this, `_boundOnPointerDown`, null), r(this, `_boundOnPointerMove`, null), r(this, `_boundOnPointerEnter`, null), r(this, `_boundOnPointerLeave`, null), r(this, `_bufferMismatchCount`, 0), r(this, `_lastExpectedBufferSize`, 0), r(this, `_cachedImageData`, null), r(this, `_cachedImageDataBuffer`, null), r(this, `_cachedImageDataByteOffset`, 0), r(this, `_marker`, ``), r(this, `_segment`, null), this._canvas = e4.canvas ?? null, this._eventManager = new j(), this._frameManager = new o(), this._boundAnimationLoop = this._animationLoop.bind(this), this._renderConfig = { ...e4.renderConfig, devicePixelRatio: ((_a = e4.renderConfig) == null ? void 0 : _a.devicePixelRatio) || I(), freezeOnOffscreen: ((_b = e4.renderConfig) == null ? void 0 : _b.freezeOnOffscreen) ?? true };
1122
+ let t2 = null;
1123
+ e4.src && !e4.data && (this._srcFetchAbort = new AbortController(), t2 = this._fetchData(e4.src, this._srcFetchAbort.signal), t2.catch(() => {
1124
+ })), this._initWasm().then(() => {
1125
+ var _a2, _b2, _c, _d, _e2;
1126
+ this._dotLottieCore = this._createCore(), this._dotLottieCore.set_autoplay(e4.autoplay ?? false), this._dotLottieCore.set_loop(e4.loop ?? false), this._dotLottieCore.set_loop_count(e4.loopCount ?? 0), this._dotLottieCore.set_mode(U(e4.mode ?? `forward`)), this._dotLottieCore.set_speed(e4.speed ?? 1), this._dotLottieCore.set_use_frame_interpolation(e4.useFrameInterpolation ?? true), e4.segment && e4.segment.length === 2 && (this._segment = [e4.segment[0], e4.segment[1]], this._dotLottieCore.set_segment(this._segment[0], this._segment[1])), this._marker = e4.marker ?? ``, this._marker && this._dotLottieCore.set_marker(this._marker), this._dotLottieCore.set_layout(((_a2 = e4.layout) == null ? void 0 : _a2.fit) ?? `contain`, ((_c = (_b2 = e4.layout) == null ? void 0 : _b2.align) == null ? void 0 : _c[0]) ?? 0.5, ((_e2 = (_d = e4.layout) == null ? void 0 : _d.align) == null ? void 0 : _e2[1]) ?? 0.5), this._applyAssetResolver(e4.assetResolver ?? null), this._stateMachineId = e4.stateMachineId ?? ``, this._stateMachineConfig = e4.stateMachineConfig ?? null, this._onCoreCreated(), this._eventManager.dispatch({ type: `ready` }), e4.data ? this._canvas ? this._loadFromData(e4.data) : this._pendingLoad = { data: e4.data } : e4.src && (this._canvas ? this._loadFromSrc(e4.src, t2) : this._pendingLoad = { src: e4.src, dataPromise: t2 }), e4.backgroundColor && this.setBackgroundColor(e4.backgroundColor);
1127
+ }).catch((e5) => {
1128
+ var _a2;
1129
+ (_a2 = this._srcFetchAbort) == null ? void 0 : _a2.abort(), console.error(`[dotlottie-web] Initialization failed:`, e5), this._eventManager.dispatch({ type: `loadError`, error: Error(`Failed to load wasm module: ${e5}`) });
1130
+ });
1131
+ }
1132
+ async _initWasm() {
1133
+ return H().load();
1134
+ }
1135
+ _createCore() {
1136
+ return new ue();
1137
+ }
1138
+ _onCoreCreated() {
1139
+ }
1140
+ _setupTarget(e4, t2) {
1141
+ return this._dotLottieCore ? this._dotLottieCore.setup_sw_target(e4, t2) : false;
1142
+ }
1143
+ _drainPlayerEvents({ skipFrame: e4 = false } = {}) {
1144
+ if (this._dotLottieCore) for (; ; ) {
1145
+ let t2 = this._dotLottieCore.poll_event();
1146
+ if (t2 == null) break;
1147
+ switch (t2.type) {
1148
+ case `Load`:
1149
+ setTimeout(() => this._eventManager.dispatch({ type: `load` }), 0);
1150
+ break;
1151
+ case `LoadError`:
1152
+ setTimeout(() => this._eventManager.dispatch({ type: `loadError`, error: Error(`failed to load`) }), 0);
1153
+ break;
1154
+ case `Play`:
1155
+ queueMicrotask(() => this._eventManager.dispatch({ type: `play` }));
1156
+ break;
1157
+ case `Pause`:
1158
+ queueMicrotask(() => this._eventManager.dispatch({ type: `pause` }));
1159
+ break;
1160
+ case `Stop`:
1161
+ queueMicrotask(() => this._eventManager.dispatch({ type: `stop` }));
1162
+ break;
1163
+ case `Frame`: {
1164
+ let n2 = t2.frameNo ?? 0;
1165
+ e4 || queueMicrotask(() => this._eventManager.dispatch({ type: `frame`, currentFrame: n2 }));
1166
+ break;
1167
+ }
1168
+ case `Render`: {
1169
+ let n2 = t2.frameNo ?? 0;
1170
+ e4 || queueMicrotask(() => this._eventManager.dispatch({ type: `render`, currentFrame: n2 }));
1171
+ break;
1172
+ }
1173
+ case `Loop`: {
1174
+ let e5 = t2.loopCount ?? 0;
1175
+ queueMicrotask(() => this._eventManager.dispatch({ type: `loop`, loopCount: e5 }));
1176
+ break;
1177
+ }
1178
+ case `Complete`:
1179
+ queueMicrotask(() => this._eventManager.dispatch({ type: `complete` }));
1180
+ break;
1181
+ }
1182
+ }
1183
+ }
1184
+ _discardPlayerEvents() {
1185
+ var _a;
1186
+ for (; ((_a = this._dotLottieCore) == null ? void 0 : _a.poll_event()) != null; ) ;
1187
+ }
1188
+ _drainSmEvents() {
1189
+ if (this._dotLottieCore) {
1190
+ for (; ; ) {
1191
+ let e4 = this._dotLottieCore.sm_poll_event();
1192
+ if (e4 == null) break;
1193
+ switch (e4.type) {
1194
+ case `Start`:
1195
+ queueMicrotask(() => {
1196
+ this._isStateMachineRunning = true, this._eventManager.dispatch({ type: `stateMachineStart` }), this._startAnimationLoop();
1197
+ });
1198
+ break;
1199
+ case `Stop`:
1200
+ queueMicrotask(() => {
1201
+ var _a;
1202
+ this._isStateMachineRunning = false, this._eventManager.dispatch({ type: `stateMachineStop` }), ((_a = this._dotLottieCore) == null ? void 0 : _a.status()) !== A.Playing && this._stopAnimationLoop();
1203
+ });
1204
+ break;
1205
+ case `CustomEvent`:
1206
+ this._eventManager.dispatch({ type: `stateMachineCustomEvent`, eventName: e4.message ?? `` });
1207
+ break;
1208
+ case `BooleanInputChange`:
1209
+ this._eventManager.dispatch({ type: `stateMachineBooleanInputValueChange`, inputName: e4.name ?? ``, newValue: e4.newValue, oldValue: e4.oldValue });
1210
+ break;
1211
+ case `NumericInputChange`:
1212
+ this._eventManager.dispatch({ type: `stateMachineNumericInputValueChange`, inputName: e4.name ?? ``, newValue: e4.newValue, oldValue: e4.oldValue });
1213
+ break;
1214
+ case `StringInputChange`:
1215
+ this._eventManager.dispatch({ type: `stateMachineStringInputValueChange`, inputName: e4.name ?? ``, newValue: e4.newValue, oldValue: e4.oldValue });
1216
+ break;
1217
+ case `InputFired`:
1218
+ this._eventManager.dispatch({ type: `stateMachineInputFired`, inputName: e4.name ?? `` });
1219
+ break;
1220
+ case `Transition`:
1221
+ this._eventManager.dispatch({ type: `stateMachineTransition`, fromState: e4.previousState ?? ``, toState: e4.newState ?? `` });
1222
+ break;
1223
+ case `StateEntered`:
1224
+ this._eventManager.dispatch({ type: `stateMachineStateEntered`, state: e4.state ?? `` });
1225
+ break;
1226
+ case `StateExit`:
1227
+ this._eventManager.dispatch({ type: `stateMachineStateExit`, state: e4.state ?? `` });
1228
+ break;
1229
+ case `Error`:
1230
+ this._eventManager.dispatch({ type: `stateMachineError`, error: e4.message ?? `` });
1231
+ break;
1232
+ }
1233
+ }
1234
+ for (; ; ) {
1235
+ let e4 = this._dotLottieCore.sm_poll_internal_event();
1236
+ if (e4 == null) break;
1237
+ if (e4.type === `Message`) {
1238
+ let t2 = e4.message ?? ``;
1239
+ s && t2.startsWith(`OpenUrl: `) ? B(t2) : this._eventManager.dispatch({ type: `stateMachineInternalMessage`, message: t2 });
1240
+ }
1241
+ }
1242
+ }
1243
+ }
1244
+ _dispatchError(e4) {
1245
+ console.error(e4), this._eventManager.dispatch({ type: `loadError`, error: Error(e4) });
1246
+ }
1247
+ async _fetchData(e4, t2 = null) {
1248
+ let n2 = await fetch(e4, { signal: t2 });
1249
+ if (!n2.ok) throw Error(`Failed to fetch animation data from URL: ${e4}. ${n2.status}: ${n2.statusText}`);
1250
+ let r2 = await n2.arrayBuffer();
1251
+ return P(r2) ? r2 : new TextDecoder().decode(r2);
1252
+ }
1253
+ _loadFromData(e4) {
1254
+ if (this._dotLottieCore === null) return;
1255
+ if (!this._canvas) {
1256
+ console.warn(`[dotlottie-web] Cannot load animation without canvas. Call setCanvas() first.`);
1257
+ return;
1258
+ }
1259
+ this._syncCanvasSize(), this._setupTarget(this._canvas.width, this._canvas.height);
1260
+ let t2 = false;
1261
+ if (typeof e4 == `string`) {
1262
+ if (t2 = this._dotLottieCore.load_animation(e4), !t2 && !F(e4)) {
1263
+ this._discardPlayerEvents(), this._dispatchError(`Invalid Lottie JSON string: The provided string does not conform to the Lottie JSON format.`);
1264
+ return;
1265
+ }
1266
+ } else if (e4 instanceof ArrayBuffer) {
1267
+ if (!P(e4)) {
1268
+ this._dispatchError(`Invalid dotLottie ArrayBuffer: The provided ArrayBuffer does not conform to the dotLottie format.`);
1269
+ return;
1270
+ }
1271
+ t2 = this._dotLottieCore.load_dotlottie_data(new Uint8Array(e4));
1272
+ } else if (typeof e4 == `object`) {
1273
+ if (!F(e4)) {
1274
+ this._dispatchError(`Invalid Lottie JSON object: The provided object does not conform to the Lottie JSON format.`);
1275
+ return;
1276
+ }
1277
+ t2 = this._dotLottieCore.load_animation(JSON.stringify(e4));
1278
+ } else {
1279
+ this._dispatchError(`Unsupported data type for animation data. Expected:
1280
+ - string (Lottie JSON),
1281
+ - ArrayBuffer (dotLottie),
1282
+ - object (Lottie JSON).
1283
+ Received: ${typeof e4}`);
1284
+ return;
1285
+ }
1286
+ if (t2) {
1287
+ if (this._renderConfig.quality !== void 0 && this._dotLottieCore.set_quality(this._renderConfig.quality), this._drainPlayerEvents({ skipFrame: !!this._marker || !!this._segment }), this._marker && this._dotLottieCore.set_marker(this._marker), this._segment) {
1288
+ this._dotLottieCore.set_segment(this._segment[0], this._segment[1]);
1289
+ let e5 = W(this._dotLottieCore.mode()), t3 = e5 === `reverse` || e5 === `reverse-bounce` ? this._segment[1] : this._segment[0];
1290
+ this._dotLottieCore.set_frame(t3);
1291
+ }
1292
+ setTimeout(() => {
1293
+ this._eventManager.dispatch({ type: `frame`, currentFrame: this.currentFrame });
1294
+ }, 0), this._dotLottieCore.render(), this._drainPlayerEvents(), this._draw(), this._stateMachineId ? this.stateMachineLoad(this._stateMachineId) && this.stateMachineStart() && this._startAnimationLoop() : this._dotLottieCore.status() === A.Playing && this._startAnimationLoop(), s && this._canvas instanceof HTMLCanvasElement && (this._renderConfig.freezeOnOffscreen && (M.observe(this._canvas, this), L(this._canvas) || this.freeze()), this._renderConfig.autoResize && N.observe(this._canvas, this));
1295
+ } else this._drainPlayerEvents();
1296
+ }
1297
+ _loadFromSrc(e4, t2) {
1298
+ (t2 ?? this._fetchData(e4)).then((e5) => this._loadFromData(e5)).catch((t3) => this._dispatchError(`Failed to load animation data from URL: ${e4}. ${t3}`));
1299
+ }
1300
+ get buffer() {
1301
+ return this._dotLottieCore ? this._dotLottieCore.get_pixel_buffer() : null;
1302
+ }
1303
+ get activeAnimationId() {
1304
+ var _a;
1305
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.animation_id()) ?? void 0;
1306
+ }
1307
+ get activeThemeId() {
1308
+ var _a;
1309
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.theme_id()) ?? void 0;
1310
+ }
1311
+ get layout() {
1312
+ if (this._dotLottieCore) return { align: [this._dotLottieCore.layout_align_x(), this._dotLottieCore.layout_align_y()], fit: be(this._dotLottieCore.layout_fit()) };
1313
+ }
1314
+ get marker() {
1315
+ var _a;
1316
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.current_marker()) ?? ``;
1317
+ }
1318
+ get manifest() {
1319
+ var _a;
1320
+ try {
1321
+ let e4 = (_a = this._dotLottieCore) == null ? void 0 : _a.manifest_string();
1322
+ if (this._dotLottieCore === null || !e4) return null;
1323
+ let t2 = JSON.parse(e4);
1324
+ return Object.keys(t2).length === 0 ? null : t2;
1325
+ } catch {
1326
+ return null;
1327
+ }
1328
+ }
1329
+ get renderConfig() {
1330
+ return this._renderConfig;
1331
+ }
1332
+ get segment() {
1333
+ if (this._dotLottieCore) return [this._dotLottieCore.segment_start(), this._dotLottieCore.segment_end()];
1334
+ }
1335
+ get loop() {
1336
+ var _a;
1337
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.loop_animation()) ?? false;
1338
+ }
1339
+ get mode() {
1340
+ return this._dotLottieCore ? W(this._dotLottieCore.mode()) : `forward`;
1341
+ }
1342
+ get isFrozen() {
1343
+ return this._isFrozen;
1344
+ }
1345
+ get isStateMachineRunning() {
1346
+ return this._isStateMachineRunning;
1347
+ }
1348
+ get backgroundColor() {
1349
+ return this._backgroundColor ?? ``;
1350
+ }
1351
+ get autoplay() {
1352
+ var _a;
1353
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.autoplay()) ?? false;
1354
+ }
1355
+ get useFrameInterpolation() {
1356
+ var _a;
1357
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.use_frame_interpolation()) ?? false;
1358
+ }
1359
+ get speed() {
1360
+ var _a;
1361
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.speed()) ?? 0;
1362
+ }
1363
+ get isReady() {
1364
+ return this._dotLottieCore !== null;
1365
+ }
1366
+ get isLoaded() {
1367
+ var _a;
1368
+ return (((_a = this._dotLottieCore) == null ? void 0 : _a.status()) ?? A.Idle) !== A.Idle;
1369
+ }
1370
+ get isPlaying() {
1371
+ var _a;
1372
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.status()) === A.Playing;
1373
+ }
1374
+ get isPaused() {
1375
+ var _a;
1376
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.status()) === A.Paused;
1377
+ }
1378
+ get isStopped() {
1379
+ var _a;
1380
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.status()) === A.Stopped;
1381
+ }
1382
+ get currentFrame() {
1383
+ return this._dotLottieCore ? Math.round(this._dotLottieCore.current_frame() * 100) / 100 : 0;
1384
+ }
1385
+ get loopCount() {
1386
+ var _a;
1387
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.current_loop_count()) ?? 0;
1388
+ }
1389
+ get totalFrames() {
1390
+ var _a;
1391
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.total_frames()) ?? 0;
1392
+ }
1393
+ get duration() {
1394
+ var _a;
1395
+ return (((_a = this._dotLottieCore) == null ? void 0 : _a.duration()) ?? 0) / 1e3;
1396
+ }
1397
+ get canvas() {
1398
+ return this._canvas;
1399
+ }
1400
+ load(e4) {
1401
+ var _a, _b, _c, _d, _e2;
1402
+ this._dotLottieCore !== null && (this._stopAnimationLoop(), this._cleanupCanvas(), this._isFrozen = false, this._dotLottieCore.set_autoplay(e4.autoplay ?? false), this._dotLottieCore.set_loop(e4.loop ?? false), this._dotLottieCore.set_loop_count(e4.loopCount ?? 0), this._dotLottieCore.set_mode(U(e4.mode ?? `forward`)), this._dotLottieCore.set_speed(e4.speed ?? 1), this._dotLottieCore.set_use_frame_interpolation(e4.useFrameInterpolation ?? true), e4.segment && e4.segment.length === 2 ? (this._segment = [e4.segment[0], e4.segment[1]], this._dotLottieCore.set_segment(this._segment[0], this._segment[1])) : (this._segment = null, this._dotLottieCore.clear_segment()), this._marker = e4.marker ?? ``, this._marker ? this._dotLottieCore.set_marker(this._marker) : this._dotLottieCore.clear_marker(), this._dotLottieCore.set_layout(((_a = e4.layout) == null ? void 0 : _a.fit) ?? `contain`, ((_c = (_b = e4.layout) == null ? void 0 : _b.align) == null ? void 0 : _c[0]) ?? 0.5, ((_e2 = (_d = e4.layout) == null ? void 0 : _d.align) == null ? void 0 : _e2[1]) ?? 0.5), this._applyAssetResolver(e4.assetResolver ?? null), e4.data ? this._canvas ? this._loadFromData(e4.data) : this._pendingLoad = { data: e4.data } : e4.src && (this._canvas ? this._loadFromSrc(e4.src) : this._pendingLoad = { src: e4.src }), e4.backgroundColor && this.setBackgroundColor(e4.backgroundColor));
1403
+ }
1404
+ _draw() {
1405
+ if (this._dotLottieCore === null || this._canvas === null || (!this._context && `getContext` in this._canvas && typeof this._canvas.getContext == `function` && (!s || typeof HTMLCanvasElement < `u` && this._canvas instanceof HTMLCanvasElement || typeof OffscreenCanvas < `u` && this._canvas instanceof OffscreenCanvas) && (this._context = this._canvas.getContext(`2d`)), !this._context)) return;
1406
+ let e4 = this._dotLottieCore.get_pixel_buffer(), t2 = this._canvas.width, n2 = this._canvas.height, r2 = t2 * n2 * 4;
1407
+ if (e4.byteLength !== r2) {
1408
+ this._lastExpectedBufferSize === r2 ? this._bufferMismatchCount += 1 : (this._bufferMismatchCount = 1, this._lastExpectedBufferSize = r2), this._bufferMismatchCount === 10 && console.warn(`[dotlottie-web] Persistent buffer size mismatch detected. Expected ${r2} bytes for canvas ${t2}x${n2}, but got ${e4.byteLength} bytes. This may indicate a WASM memory allocation issue or invalid canvas dimensions.`);
1409
+ return;
1410
+ }
1411
+ this._bufferMismatchCount = 0, this._lastExpectedBufferSize = r2;
1412
+ let i2 = this._cachedImageData;
1413
+ if (!(i2 !== null && i2.width === t2 && i2.height === n2 && i2.data.byteLength === r2 && this._cachedImageDataBuffer === e4.buffer && this._cachedImageDataByteOffset === e4.byteOffset)) {
1414
+ if (typeof ImageData > `u`) this._cachedImageData = this._context.createImageData(t2, n2);
1415
+ else {
1416
+ let r3 = new Uint8ClampedArray(e4.buffer, e4.byteOffset, e4.byteLength);
1417
+ this._cachedImageData = new ImageData(r3, t2, n2);
1418
+ }
1419
+ this._cachedImageDataBuffer = e4.buffer, this._cachedImageDataByteOffset = e4.byteOffset;
1420
+ }
1421
+ if (typeof ImageData > `u`) {
1422
+ let t3 = new Uint8ClampedArray(e4.buffer, e4.byteOffset, e4.byteLength);
1423
+ this._cachedImageData.data.set(t3);
1424
+ }
1425
+ this._context.putImageData(this._cachedImageData, 0, 0);
1426
+ }
1427
+ _cleanupCanvas() {
1428
+ this._canvas && s && this._canvas instanceof HTMLCanvasElement && (M.unobserve(this._canvas), N.unobserve(this._canvas), this._cleanupStateMachineListeners());
1429
+ }
1430
+ _initializeCanvas() {
1431
+ this._setupRendererOnCanvas(), this._canvas && s && this._canvas instanceof HTMLCanvasElement && this.isLoaded && (this._renderConfig.freezeOnOffscreen && (M.observe(this._canvas, this), L(this._canvas) || this.freeze()), this._renderConfig.autoResize && N.observe(this._canvas, this), this._isStateMachineRunning && this._setupStateMachineListeners()), this._canvas && this._dotLottieCore && this.isLoaded && this._setupTarget(this._canvas.width, this._canvas.height) && (this._dotLottieCore.render(), this._draw());
1432
+ }
1433
+ _setupRendererOnCanvas() {
1434
+ this._context = null;
1435
+ }
1436
+ _stopAnimationLoop() {
1437
+ this._animationFrameId !== null && (this._frameManager.cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null), this._lastFrameTime = null;
1438
+ }
1439
+ _startAnimationLoop() {
1440
+ this._animationFrameId === null && this._dotLottieCore && !this._isFrozen && (this._dotLottieCore.status() === A.Playing || this._isStateMachineRunning) && (this._animationFrameId = this._frameManager.requestAnimationFrame(this._boundAnimationLoop));
1441
+ }
1442
+ _animationLoop(e4) {
1443
+ if (this._dotLottieCore === null) {
1444
+ this._stopAnimationLoop();
1445
+ return;
1446
+ }
1447
+ if (this._dotLottieCore.status() !== A.Playing && !this._isStateMachineRunning) {
1448
+ this._stopAnimationLoop();
1449
+ return;
1450
+ }
1451
+ try {
1452
+ let t2 = this._lastFrameTime === null ? 0 : e4 - this._lastFrameTime;
1453
+ this._lastFrameTime = e4;
1454
+ let n2 = this._isStateMachineRunning ? this._dotLottieCore.sm_tick(t2) : this._dotLottieCore.tick(t2);
1455
+ this._isStateMachineRunning ? this._drainSmEvents() : this._drainPlayerEvents(), n2 && this._draw(), this._animationFrameId = this._frameManager.requestAnimationFrame(this._boundAnimationLoop);
1456
+ } catch (e5) {
1457
+ console.error(`Error in animation frame:`, e5), this._eventManager.dispatch({ type: `renderError`, error: e5 }), e5 instanceof WebAssembly.RuntimeError && this.destroy();
1458
+ }
1459
+ }
1460
+ play() {
1461
+ if (this._dotLottieCore === null || !this.isLoaded) return;
1462
+ this._stopAnimationLoop();
1463
+ let e4 = this._dotLottieCore.play();
1464
+ this._drainPlayerEvents(), (e4 || this._dotLottieCore.status() === A.Playing) && (this._isFrozen = false, this._startAnimationLoop()), this._canvas && s && this._canvas instanceof HTMLCanvasElement && this._renderConfig.freezeOnOffscreen && !L(this._canvas) && this.freeze();
1465
+ }
1466
+ pause() {
1467
+ this._dotLottieCore !== null && (this._dotLottieCore.pause(), this._drainPlayerEvents(), this._stopAnimationLoop());
1468
+ }
1469
+ stop() {
1470
+ if (this._dotLottieCore === null) return;
1471
+ let e4 = this._dotLottieCore.stop();
1472
+ this._drainPlayerEvents(), this._stopAnimationLoop(), e4 && (this._eventManager.dispatch({ type: `frame`, currentFrame: this.currentFrame }), this._dotLottieCore.render(), this._draw());
1473
+ }
1474
+ setFrame(e4) {
1475
+ if (this._dotLottieCore !== null && this._dotLottieCore.set_frame(e4)) {
1476
+ let e5 = this._dotLottieCore.render();
1477
+ this._drainPlayerEvents(), e5 && this._draw();
1478
+ }
1479
+ }
1480
+ setSpeed(e4) {
1481
+ this._dotLottieCore !== null && this._dotLottieCore.set_speed(e4);
1482
+ }
1483
+ setBackgroundColor(e4) {
1484
+ if (this._dotLottieCore !== null) {
1485
+ if (s && this._canvas instanceof HTMLCanvasElement) this._canvas.style.backgroundColor = e4;
1486
+ else {
1487
+ let [t2, n2, r2, i2] = ge(e4);
1488
+ this._dotLottieCore.set_background(t2, n2, r2, i2);
1489
+ }
1490
+ this._backgroundColor = e4;
1491
+ }
1492
+ }
1493
+ setLoop(e4) {
1494
+ this._dotLottieCore !== null && this._dotLottieCore.set_loop(e4);
1495
+ }
1496
+ setLoopCount(e4) {
1497
+ this._dotLottieCore !== null && this._dotLottieCore.set_loop_count(e4);
1498
+ }
1499
+ setUseFrameInterpolation(e4) {
1500
+ this._dotLottieCore !== null && this._dotLottieCore.set_use_frame_interpolation(e4);
1501
+ }
1502
+ _applyAssetResolver(e4) {
1503
+ if (this._dotLottieCore !== null) {
1504
+ if (e4 === null) {
1505
+ this._dotLottieCore.set_asset_resolver(null);
1506
+ return;
1507
+ }
1508
+ this._dotLottieCore.set_asset_resolver((t2) => {
1509
+ try {
1510
+ return e4(t2) ?? null;
1511
+ } catch (e5) {
1512
+ return console.error(`[dotlottie-web] assetResolver threw for "${t2}":`, e5), null;
1513
+ }
1514
+ });
1515
+ }
1516
+ }
1517
+ addEventListener(e4, t2) {
1518
+ this._eventManager.addEventListener(e4, t2);
1519
+ }
1520
+ removeEventListener(e4, t2) {
1521
+ this._eventManager.removeEventListener(e4, t2);
1522
+ }
1523
+ destroy() {
1524
+ var _a;
1525
+ this._stopAnimationLoop(), this._isStateMachineRunning = false, this._cleanupCanvas(), (_a = this._srcFetchAbort) == null ? void 0 : _a.abort(), this._srcFetchAbort = null, this._pendingLoad = null;
1526
+ let e4 = this._dotLottieCore;
1527
+ if (this._dotLottieCore = null, this._context = null, e4) try {
1528
+ e4.free();
1529
+ } catch (e5) {
1530
+ console.warn(`[dotlottie-web] Error freeing wasm core during destroy:`, e5);
1531
+ }
1532
+ this._eventManager.dispatch({ type: `destroy` }), this._eventManager.removeAllEventListeners(), this._cleanupStateMachineListeners();
1533
+ }
1534
+ freeze() {
1535
+ this._animationFrameId !== null && (this._stopAnimationLoop(), this._isFrozen = true, this._eventManager.dispatch({ type: `freeze` }));
1536
+ }
1537
+ unfreeze() {
1538
+ this._animationFrameId === null && (this._isFrozen = false, this._eventManager.dispatch({ type: `unfreeze` }), this._startAnimationLoop());
1539
+ }
1540
+ _syncCanvasSize() {
1541
+ if (!(s && this._canvas instanceof HTMLCanvasElement)) return;
1542
+ let e4 = this._renderConfig.devicePixelRatio || window.devicePixelRatio || 1, { height: t2, width: n2 } = this._canvas.getBoundingClientRect();
1543
+ t2 !== 0 && n2 !== 0 && (this._canvas.width = n2 * e4, this._canvas.height = t2 * e4);
1544
+ }
1545
+ resize() {
1546
+ !this._dotLottieCore || !this.isLoaded || !this._canvas || (this._syncCanvasSize(), this._setupTarget(this._canvas.width, this._canvas.height) && (this._dotLottieCore.render(), this._draw()));
1547
+ }
1548
+ setCanvas(e4) {
1549
+ if (!(!e4 || this._canvas === e4) && (this._canvas && this._cleanupCanvas(), this._canvas = e4, this._initializeCanvas(), this._pendingLoad)) {
1550
+ let e5 = this._pendingLoad;
1551
+ this._pendingLoad = null, e5.data ? this._loadFromData(e5.data) : e5.src && this._loadFromSrc(e5.src, e5.dataPromise);
1552
+ }
1553
+ }
1554
+ setTransform(e4) {
1555
+ if (!this._dotLottieCore) return false;
1556
+ let t2 = this._dotLottieCore.set_transform(new Float32Array(e4));
1557
+ return t2 && this._dotLottieCore.render() && this._draw(), t2;
1558
+ }
1559
+ getTransform() {
1560
+ if (!this._dotLottieCore) return;
1561
+ let e4 = this._dotLottieCore.get_transform();
1562
+ return Array.from(e4);
1563
+ }
1564
+ setSegment(e4, t2) {
1565
+ this._dotLottieCore !== null && (this._segment = [e4, t2], this._dotLottieCore.set_segment(e4, t2));
1566
+ }
1567
+ resetSegment() {
1568
+ this._dotLottieCore !== null && (this._segment = null, this._dotLottieCore.clear_segment());
1569
+ }
1570
+ setMode(e4) {
1571
+ this._dotLottieCore !== null && this._dotLottieCore.set_mode(U(e4));
1572
+ }
1573
+ setRenderConfig(e4) {
1574
+ let { devicePixelRatio: t2, freezeOnOffscreen: n2, quality: r2, ...i2 } = e4;
1575
+ this._renderConfig = { ...this._renderConfig, ...i2, devicePixelRatio: t2 || I(), freezeOnOffscreen: n2 ?? true, ...r2 !== void 0 && { quality: r2 } }, r2 !== void 0 && this._dotLottieCore && this._dotLottieCore.set_quality(r2), s && this._canvas instanceof HTMLCanvasElement && (this._renderConfig.autoResize ? N.observe(this._canvas, this) : N.unobserve(this._canvas), this._renderConfig.freezeOnOffscreen ? (M.observe(this._canvas, this), L(this._canvas) || this.freeze()) : (M.unobserve(this._canvas), this._isFrozen && this.unfreeze()));
1576
+ }
1577
+ loadAnimation(e4) {
1578
+ this._dotLottieCore === null || this._dotLottieCore.animation_id() === e4 || !this._canvas || (this._syncCanvasSize(), this._setupTarget(this._canvas.width, this._canvas.height), this._dotLottieCore.load_animation_from_id(e4) ? (this._renderConfig.quality !== void 0 && this._dotLottieCore.set_quality(this._renderConfig.quality), this._drainPlayerEvents(), this._dotLottieCore.render(), this._draw()) : this._dispatchError(`Failed to load animation with id: ${e4}`));
1579
+ }
1580
+ setMarker(e4) {
1581
+ this._dotLottieCore !== null && (this.markers().some((t2) => t2.name === e4) ? (this._marker = e4, this._dotLottieCore.set_marker(e4)) : (this._marker = ``, this._segment = null, this._dotLottieCore.clear_marker(), this._dotLottieCore.clear_segment()));
1582
+ }
1583
+ markers() {
1584
+ var _a;
1585
+ let e4 = (_a = this._dotLottieCore) == null ? void 0 : _a.markers();
1586
+ return e4 && Array.isArray(e4) ? e4 : [];
1587
+ }
1588
+ setTheme(e4) {
1589
+ if (this._dotLottieCore === null) return false;
1590
+ let t2 = this._dotLottieCore.set_theme(e4);
1591
+ return t2 && (this._dotLottieCore.render(), this._draw()), t2;
1592
+ }
1593
+ resetTheme() {
1594
+ if (this._dotLottieCore === null) return false;
1595
+ let e4 = this._dotLottieCore.reset_theme();
1596
+ return e4 && (this._dotLottieCore.render(), this._draw()), e4;
1597
+ }
1598
+ setThemeData(e4) {
1599
+ if (this._dotLottieCore === null) return false;
1600
+ let t2 = typeof e4 == `string` ? e4 : JSON.stringify(e4), n2 = this._dotLottieCore.set_theme_data(t2);
1601
+ return n2 && (this._dotLottieCore.render(), this._draw()), n2;
1602
+ }
1603
+ setSlots(e4) {
1604
+ this._dotLottieCore !== null && this._dotLottieCore.set_slots_str(JSON.stringify(e4)) && (this._dotLottieCore.render(), this._draw());
1605
+ }
1606
+ _isKeyframeArray(e4) {
1607
+ return Array.isArray(e4) && e4.length > 0 && typeof e4[0] == `object` && e4[0] !== null && `t` in e4[0] && `s` in e4[0];
1608
+ }
1609
+ getSlotIds() {
1610
+ if (!this._dotLottieCore) return [];
1611
+ let e4 = this._dotLottieCore.get_slot_ids();
1612
+ return Array.isArray(e4) ? e4 : [];
1613
+ }
1614
+ getSlotType(e4) {
1615
+ if (!this._dotLottieCore) return;
1616
+ let t2 = this._dotLottieCore.get_slot_type(e4);
1617
+ if (t2) return t2;
1618
+ }
1619
+ getSlot(e4) {
1620
+ if (!this._dotLottieCore) return;
1621
+ let t2 = this._dotLottieCore.get_slot_str(e4);
1622
+ if (t2) try {
1623
+ return JSON.parse(t2);
1624
+ } catch {
1625
+ return;
1626
+ }
1627
+ }
1628
+ getSlots() {
1629
+ if (!this._dotLottieCore) return {};
1630
+ try {
1631
+ return JSON.parse(this._dotLottieCore.get_slots_str());
1632
+ } catch {
1633
+ return {};
1634
+ }
1635
+ }
1636
+ setColorSlot(e4, t2) {
1637
+ if (this._dotLottieCore === null) return false;
1638
+ let n2 = this._isKeyframeArray(t2), r2 = JSON.stringify({ a: +!!n2, k: t2 }), i2 = this._dotLottieCore.set_slot_str(e4, r2);
1639
+ return this._dotLottieCore.render(), this._draw(), i2;
1640
+ }
1641
+ setScalarSlot(e4, t2) {
1642
+ if (this._dotLottieCore === null) return false;
1643
+ let n2 = JSON.stringify({ a: typeof t2 == `number` ? 0 : 1, k: t2 }), r2 = this._dotLottieCore.set_slot_str(e4, n2);
1644
+ return this._dotLottieCore.render(), this._draw(), r2;
1645
+ }
1646
+ setVectorSlot(e4, t2) {
1647
+ if (this._dotLottieCore === null) return false;
1648
+ let n2 = this._isKeyframeArray(t2), r2 = JSON.stringify({ a: +!!n2, k: t2 }), i2 = this._dotLottieCore.set_slot_str(e4, r2);
1649
+ return this._dotLottieCore.render(), this._draw(), i2;
1650
+ }
1651
+ setGradientSlot(e4, t2, n2) {
1652
+ if (this._dotLottieCore === null) return false;
1653
+ let r2 = this._isKeyframeArray(t2), i2 = JSON.stringify({ k: { a: +!!r2, k: t2 }, p: n2 }), a2 = this._dotLottieCore.set_slot_str(e4, i2);
1654
+ return this._dotLottieCore.render(), this._draw(), a2;
1655
+ }
1656
+ setTextSlot(e4, t2) {
1657
+ if (this._dotLottieCore === null) return false;
1658
+ let n2 = this._dotLottieCore.get_slot_str(e4), r2 = t2;
1659
+ if (n2) {
1660
+ let e5 = JSON.parse(n2);
1661
+ if (e5 && `k` in e5 && Array.isArray(e5.k)) {
1662
+ let n3 = e5.k[0];
1663
+ `s` in n3 && typeof n3.s == `object` && (r2 = { ...n3.s, ...t2 });
1664
+ }
1665
+ }
1666
+ let i2 = JSON.stringify({ a: 0, k: [{ t: 0, s: r2 }] }), a2 = this._dotLottieCore.set_slot_str(e4, i2);
1667
+ return this._dotLottieCore.render(), this._draw(), a2;
1668
+ }
1669
+ async setImageSlot(e4, t2) {
1670
+ if (this._dotLottieCore === null) return false;
1671
+ let n2 = await z(t2);
1672
+ if (this._dotLottieCore === null) return false;
1673
+ let r2 = this._dotLottieCore.set_image_slot(e4, n2);
1674
+ return this._dotLottieCore.render(), this._draw(), r2;
1675
+ }
1676
+ resetSlot(e4) {
1677
+ if (this._dotLottieCore === null) return false;
1678
+ let t2 = this._dotLottieCore.reset_slot(e4);
1679
+ return this._dotLottieCore.render(), this._draw(), t2;
1680
+ }
1681
+ clearSlot(e4) {
1682
+ if (this._dotLottieCore === null) return false;
1683
+ let t2 = this._dotLottieCore.clear_slot(e4);
1684
+ return this._dotLottieCore.render(), this._draw(), t2;
1685
+ }
1686
+ resetSlots() {
1687
+ if (this._dotLottieCore === null) return false;
1688
+ let e4 = this._dotLottieCore.reset_slots();
1689
+ return this._dotLottieCore.render(), this._draw(), e4;
1690
+ }
1691
+ clearSlots() {
1692
+ if (this._dotLottieCore === null) return false;
1693
+ let e4 = this._dotLottieCore.clear_slots();
1694
+ return this._dotLottieCore.render(), this._draw(), e4;
1695
+ }
1696
+ setLayout(e4) {
1697
+ var _a, _b;
1698
+ this._dotLottieCore !== null && this._dotLottieCore.set_layout(e4.fit ?? `contain`, ((_a = e4.align) == null ? void 0 : _a[0]) ?? 0.5, ((_b = e4.align) == null ? void 0 : _b[1]) ?? 0.5);
1699
+ }
1700
+ setViewport(e4, t2, n2, r2) {
1701
+ return this._dotLottieCore === null ? false : this._dotLottieCore.set_viewport(e4, t2, n2, r2);
1702
+ }
1703
+ static setWasmUrl(e4) {
1704
+ H().setWasmUrl(e4);
1705
+ }
1706
+ static preload() {
1707
+ return H().load();
1708
+ }
1709
+ static async registerFont(e4, t2) {
1710
+ try {
1711
+ await H().load();
1712
+ let n2;
1713
+ if (typeof t2 == `string`) {
1714
+ let e5 = await fetch(t2);
1715
+ if (!e5.ok) return console.error(`Failed to fetch font from URL: ${t2}. Status: ${e5.status}`), false;
1716
+ n2 = new Uint8Array(await e5.arrayBuffer());
1717
+ } else n2 = t2 instanceof Uint8Array ? t2 : new Uint8Array(t2);
1718
+ let r2 = ie(e4, n2);
1719
+ return r2 || console.error(`Failed to register font "${e4}". Font data may be invalid.`), r2;
1720
+ } catch (t3) {
1721
+ return console.error(`Error registering font "${e4}":`, t3), false;
1722
+ }
1723
+ }
1724
+ animationSize() {
1725
+ var _a;
1726
+ let e4 = (_a = this._dotLottieCore) == null ? void 0 : _a.animation_size();
1727
+ return { width: (e4 == null ? void 0 : e4[0]) ?? 0, height: (e4 == null ? void 0 : e4[1]) ?? 0 };
1728
+ }
1729
+ stateMachineLoad(e4) {
1730
+ return this._dotLottieCore ? this._dotLottieCore.state_machine_load_from_id(e4) : false;
1731
+ }
1732
+ stateMachineLoadData(e4) {
1733
+ return this._dotLottieCore ? this._dotLottieCore.state_machine_load(e4) : false;
1734
+ }
1735
+ stateMachineSetConfig(e4) {
1736
+ this._stateMachineConfig = e4;
1737
+ }
1738
+ stateMachineStart() {
1739
+ var _a, _b, _c, _d;
1740
+ if (this._dotLottieCore === null) return false;
1741
+ let e4 = this._dotLottieCore.sm_start(((_b = (_a = this._stateMachineConfig) == null ? void 0 : _a.openUrlPolicy) == null ? void 0 : _b.requireUserInteraction) ?? true, ((_d = (_c = this._stateMachineConfig) == null ? void 0 : _c.openUrlPolicy) == null ? void 0 : _d.whitelist) ?? []);
1742
+ return this._drainSmEvents(), e4 && (this._isStateMachineRunning = true, this._setupStateMachineListeners(), this._startAnimationLoop()), e4;
1743
+ }
1744
+ stateMachineStop() {
1745
+ if (!this._dotLottieCore) return false;
1746
+ let e4 = this._dotLottieCore.sm_stop();
1747
+ return this._drainSmEvents(), e4 && (this._isStateMachineRunning = false, this._cleanupStateMachineListeners(), this._dotLottieCore.status() !== A.Playing && this._stopAnimationLoop()), e4;
1748
+ }
1749
+ stateMachineGetStatus() {
1750
+ var _a;
1751
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_status()) ?? ``;
1752
+ }
1753
+ stateMachineGetCurrentState() {
1754
+ var _a;
1755
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_current_state()) ?? ``;
1756
+ }
1757
+ stateMachineGetActiveId() {
1758
+ var _a;
1759
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.state_machine_id()) ?? ``;
1760
+ }
1761
+ stateMachineOverrideState(e4, t2 = false) {
1762
+ var _a;
1763
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_override_current_state(e4, t2)) ?? false;
1764
+ }
1765
+ stateMachineSetSeed(e4) {
1766
+ var _a;
1767
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_set_seed(BigInt(Math.trunc(e4)))) ?? false;
1768
+ }
1769
+ stateMachineGet(e4) {
1770
+ var _a;
1771
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.get_state_machine(e4)) ?? ``;
1772
+ }
1773
+ stateMachineGetListeners() {
1774
+ if (!this._dotLottieCore) return [];
1775
+ let e4 = this._dotLottieCore.sm_framework_setup();
1776
+ return Array.isArray(e4) ? e4 : [];
1777
+ }
1778
+ stateMachineSetBooleanInput(e4, t2) {
1779
+ var _a;
1780
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_set_boolean_input(e4, t2)) ?? false;
1781
+ }
1782
+ stateMachineSetNumericInput(e4, t2) {
1783
+ var _a;
1784
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_set_numeric_input(e4, t2)) ?? false;
1785
+ }
1786
+ stateMachineSetStringInput(e4, t2) {
1787
+ var _a;
1788
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_set_string_input(e4, t2)) ?? false;
1789
+ }
1790
+ stateMachineGetBooleanInput(e4) {
1791
+ var _a;
1792
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_get_boolean_input(e4)) ?? void 0;
1793
+ }
1794
+ stateMachineGetNumericInput(e4) {
1795
+ var _a;
1796
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_get_numeric_input(e4)) ?? void 0;
1797
+ }
1798
+ stateMachineGetStringInput(e4) {
1799
+ var _a;
1800
+ return ((_a = this._dotLottieCore) == null ? void 0 : _a.sm_get_string_input(e4)) ?? void 0;
1801
+ }
1802
+ stateMachineGetInputs() {
1803
+ if (!this._dotLottieCore) return [];
1804
+ let e4 = this._dotLottieCore.sm_get_inputs();
1805
+ return Array.isArray(e4) ? e4 : [];
1806
+ }
1807
+ stateMachineFireEvent(e4) {
1808
+ var _a;
1809
+ (_a = this._dotLottieCore) == null ? void 0 : _a.sm_fire(e4);
1810
+ }
1811
+ stateMachinePostClickEvent(e4, t2) {
1812
+ var _a;
1813
+ (_a = this._dotLottieCore) == null ? void 0 : _a.sm_post_click(e4, t2);
1814
+ }
1815
+ stateMachinePostPointerUpEvent(e4, t2) {
1816
+ var _a;
1817
+ (_a = this._dotLottieCore) == null ? void 0 : _a.sm_post_pointer_up(e4, t2);
1818
+ }
1819
+ stateMachinePostPointerDownEvent(e4, t2) {
1820
+ var _a;
1821
+ (_a = this._dotLottieCore) == null ? void 0 : _a.sm_post_pointer_down(e4, t2);
1822
+ }
1823
+ stateMachinePostPointerMoveEvent(e4, t2) {
1824
+ var _a;
1825
+ (_a = this._dotLottieCore) == null ? void 0 : _a.sm_post_pointer_move(e4, t2);
1826
+ }
1827
+ stateMachinePostPointerEnterEvent(e4, t2) {
1828
+ var _a;
1829
+ (_a = this._dotLottieCore) == null ? void 0 : _a.sm_post_pointer_enter(e4, t2);
1830
+ }
1831
+ stateMachinePostPointerExitEvent(e4, t2) {
1832
+ var _a;
1833
+ (_a = this._dotLottieCore) == null ? void 0 : _a.sm_post_pointer_exit(e4, t2);
1834
+ }
1835
+ _onClick(e4) {
1836
+ let t2 = R(e4);
1837
+ t2 && this.stateMachinePostClickEvent(t2.x, t2.y);
1838
+ }
1839
+ _onPointerUp(e4) {
1840
+ let t2 = R(e4);
1841
+ t2 && this.stateMachinePostPointerUpEvent(t2.x, t2.y);
1842
+ }
1843
+ _onPointerDown(e4) {
1844
+ let t2 = R(e4);
1845
+ t2 && this.stateMachinePostPointerDownEvent(t2.x, t2.y);
1846
+ }
1847
+ _onPointerMove(e4) {
1848
+ let t2 = R(e4);
1849
+ t2 && this.stateMachinePostPointerMoveEvent(t2.x, t2.y);
1850
+ }
1851
+ _onPointerEnter(e4) {
1852
+ let t2 = R(e4);
1853
+ t2 && this.stateMachinePostPointerEnterEvent(t2.x, t2.y);
1854
+ }
1855
+ _onPointerLeave(e4) {
1856
+ let t2 = R(e4);
1857
+ t2 && this.stateMachinePostPointerExitEvent(t2.x, t2.y);
1858
+ }
1859
+ _setupStateMachineListeners() {
1860
+ if (s && this._canvas instanceof HTMLCanvasElement && this._dotLottieCore !== null && this.isLoaded) {
1861
+ let e4 = this.stateMachineGetListeners();
1862
+ this._cleanupStateMachineListeners(), e4.includes(`Click`) && (this._boundOnClick = this._onClick.bind(this), this._canvas.addEventListener(`click`, this._boundOnClick)), e4.includes(`PointerUp`) && (this._boundOnPointerUp = this._onPointerUp.bind(this), this._canvas.addEventListener(`pointerup`, this._boundOnPointerUp)), e4.includes(`PointerDown`) && (this._boundOnPointerDown = this._onPointerDown.bind(this), this._canvas.addEventListener(`pointerdown`, this._boundOnPointerDown)), e4.includes(`PointerMove`) && (this._boundOnPointerMove = this._onPointerMove.bind(this), this._canvas.addEventListener(`pointermove`, this._boundOnPointerMove)), e4.includes(`PointerEnter`) && (this._boundOnPointerEnter = this._onPointerEnter.bind(this), this._canvas.addEventListener(`pointerenter`, this._boundOnPointerEnter)), e4.includes(`PointerExit`) && (this._boundOnPointerLeave = this._onPointerLeave.bind(this), this._canvas.addEventListener(`pointerleave`, this._boundOnPointerLeave));
1863
+ }
1864
+ }
1865
+ _cleanupStateMachineListeners() {
1866
+ s && this._canvas instanceof HTMLCanvasElement && (this._boundOnClick && (this._canvas.removeEventListener(`click`, this._boundOnClick), this._boundOnClick = null), this._boundOnPointerUp && (this._canvas.removeEventListener(`pointerup`, this._boundOnPointerUp), this._boundOnPointerUp = null), this._boundOnPointerDown && (this._canvas.removeEventListener(`pointerdown`, this._boundOnPointerDown), this._boundOnPointerDown = null), this._boundOnPointerMove && (this._canvas.removeEventListener(`pointermove`, this._boundOnPointerMove), this._boundOnPointerMove = null), this._boundOnPointerEnter && (this._canvas.removeEventListener(`pointerenter`, this._boundOnPointerEnter), this._boundOnPointerEnter = null), this._boundOnPointerLeave && (this._canvas.removeEventListener(`pointerleave`, this._boundOnPointerLeave), this._boundOnPointerLeave = null));
1867
+ }
1868
+ };
1869
+ export {
1870
+ xe as DotLottie
1871
+ };