impact-ui 5.0.2-beta.2 → 5.0.3

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 (776) hide show
  1. package/dist/_virtual/index4.js +2 -4
  2. package/dist/_virtual/index5.js +2 -4
  3. package/dist/_virtual/index7.js +2 -4
  4. package/dist/_virtual/index8.js +2 -4
  5. package/dist/_virtual/react-is3.production.min.js +4 -0
  6. package/dist/components/Accordion/index.js +1 -1
  7. package/dist/components/AccordionModern/SortableAccordionComp.js +2 -2
  8. package/dist/components/AccordionModern/index.d.ts.map +1 -1
  9. package/dist/components/AccordionModern/index.js +41 -34
  10. package/dist/components/Alert/index.js +1 -1
  11. package/dist/components/Avatar/index.js +1 -1
  12. package/dist/components/Badge/filled/filledIconLabelBadges/index.js +1 -1
  13. package/dist/components/Badge/filled/filledOnlyIconBadges/index.js +1 -1
  14. package/dist/components/Badge/filled/filledOnlyLabelBadges/index.js +1 -1
  15. package/dist/components/Badge/index.js +1 -1
  16. package/dist/components/Badge/stroke/strokeIconLabelBadges/index.js +1 -1
  17. package/dist/components/Badge/stroke/strokeOnlyIconBadges/index.js +1 -1
  18. package/dist/components/Badge/stroke/strokeOnlyLabelBadges/index.js +1 -1
  19. package/dist/components/Badge/subtle/subtleIOnlyIconBadges/index.js +1 -1
  20. package/dist/components/Badge/subtle/subtleIconLabelBadges/index.js +1 -1
  21. package/dist/components/Badge/subtle/subtleOnlyLabelBadges/index.js +1 -1
  22. package/dist/components/BottomSheet/index.js +1 -1
  23. package/dist/components/Breadcrumbs/HomeIcon.js +1 -1
  24. package/dist/components/Breadcrumbs/index.d.ts.map +1 -1
  25. package/dist/components/Breadcrumbs/index.js +2 -8
  26. package/dist/components/Button/index.d.ts.map +1 -1
  27. package/dist/components/Button/index.js +1 -5
  28. package/dist/components/ButtonGroup/index.js +1 -1
  29. package/dist/components/Card/index.js +1 -1
  30. package/dist/components/Chart/ChartSkeleton.d.ts.map +1 -1
  31. package/dist/components/Chart/ChartSkeleton.js +17 -24
  32. package/dist/components/Chart/index.d.ts +4 -1
  33. package/dist/components/Chart/index.d.ts.map +1 -1
  34. package/dist/components/Chart/index.js +69 -85
  35. package/dist/components/Chatbot/bookMarkPanel.d.ts.map +1 -1
  36. package/dist/components/Chatbot/bookMarkPanel.js +5 -12
  37. package/dist/components/Chatbot/chatInput.d.ts.map +1 -1
  38. package/dist/components/Chatbot/chatInput.js +9 -7
  39. package/dist/components/Chatbot/chatbotModuleMenu.d.ts.map +1 -1
  40. package/dist/components/Chatbot/chatbotModuleMenu.js +62 -69
  41. package/dist/components/Chatbot/constant.d.ts.map +1 -1
  42. package/dist/components/Chatbot/constant.js +12 -12
  43. package/dist/components/Chatbot/historyPanel.d.ts.map +1 -1
  44. package/dist/components/Chatbot/historyPanel.js +3 -11
  45. package/dist/components/Chatbot/index.d.ts.map +1 -1
  46. package/dist/components/Chatbot/index.js +7 -8
  47. package/dist/components/Chatbot/newChatComponent.d.ts.map +1 -1
  48. package/dist/components/Checkbox/index.js +1 -1
  49. package/dist/components/Chips/index.d.ts.map +1 -1
  50. package/dist/components/Chips/index.js +3 -9
  51. package/dist/components/CommentsPanel/CommentsContext.d.ts.map +1 -1
  52. package/dist/components/CommentsPanel/CommentsContext.js +4 -5
  53. package/dist/components/CommentsPanel/CommentsPanel.impl.d.ts.map +1 -1
  54. package/dist/components/CommentsPanel/CommentsPanel.impl.js +8 -11
  55. package/dist/components/CommentsPanel/CommentsPanel.types.d.ts +1 -1
  56. package/dist/components/CommentsPanel/CommentsPanel.types.d.ts.map +1 -1
  57. package/dist/components/CreateItemFlow/index.js +1 -1
  58. package/dist/components/DatePicker/datePickerInput.d.ts.map +1 -1
  59. package/dist/components/DatePicker/datePickerInput.js +2 -5
  60. package/dist/components/DatePicker/index.js +2 -2
  61. package/dist/components/DateRangePicker/dateRangePickerInput.js +7 -6
  62. package/dist/components/DateRangePicker/index.js +2 -2
  63. package/dist/components/DynamicLayout/index.js +1 -1
  64. package/dist/components/EmptyState/EmptyStateImage.d.ts +1 -1
  65. package/dist/components/EmptyState/EmptyStateImage.d.ts.map +1 -1
  66. package/dist/components/EmptyState/EmptyStateImage.js +13 -26
  67. package/dist/components/EmptyState/index.d.ts.map +1 -1
  68. package/dist/components/EmptyState/index.js +1 -29
  69. package/dist/components/FileUpload/fileUploadAssets.loader.d.ts +1 -0
  70. package/dist/components/FileUpload/fileUploadAssets.loader.d.ts.map +1 -1
  71. package/dist/components/FileUpload/fileUploadAssets.loader.js +1 -0
  72. package/dist/components/FileUpload/index.d.ts.map +1 -1
  73. package/dist/components/FileUpload/index.js +11 -27
  74. package/dist/components/FilterPanel/index.d.ts.map +1 -1
  75. package/dist/components/FilterPanel/index.js +43 -67
  76. package/dist/components/FiltersStrip/FilterSlider.js +1 -1
  77. package/dist/components/FiltersStrip/index.js +1 -1
  78. package/dist/components/Header/Header.types.d.ts +5 -22
  79. package/dist/components/Header/Header.types.d.ts.map +1 -1
  80. package/dist/components/Header/index.d.ts +1 -1
  81. package/dist/components/Header/index.d.ts.map +1 -1
  82. package/dist/components/Header/index.js +57 -88
  83. package/dist/components/HomePage/HomePage.types.d.ts +2 -3
  84. package/dist/components/HomePage/HomePage.types.d.ts.map +1 -1
  85. package/dist/components/HomePage/constants.d.ts.map +1 -1
  86. package/dist/components/HomePage/constants.js +45 -24
  87. package/dist/components/HomePage/index.d.ts.map +1 -1
  88. package/dist/components/HomePage/index.js +53 -48
  89. package/dist/components/Input/HelperText.d.ts.map +1 -1
  90. package/dist/components/Input/HelperText.js +1 -3
  91. package/dist/components/Input/InputWithIcon.js +1 -1
  92. package/dist/components/Input/VanillaInput.js +1 -1
  93. package/dist/components/Input/index.js +3 -3
  94. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.d.ts.map +1 -1
  95. package/dist/components/KeyboardShortCuts/ShortcutLandingPage.js +4 -5
  96. package/dist/components/KeyboardShortCuts/ShortcutModal.js +2 -2
  97. package/dist/components/KeyboardShortCuts/allSetBox.d.ts +3 -4
  98. package/dist/components/KeyboardShortCuts/allSetBox.d.ts.map +1 -1
  99. package/dist/components/KeyboardShortCuts/allSetBox.js +16 -12
  100. package/dist/components/KeyboardShortCuts/index.js +1 -1
  101. package/dist/components/KeyboardShortCuts/tutorial.d.ts.map +1 -1
  102. package/dist/components/KeyboardShortCuts/tutorial.js +2 -3
  103. package/dist/components/Loader/index.d.ts.map +1 -1
  104. package/dist/components/Loader/index.js +1 -3
  105. package/dist/components/Menu/IconMenuItem.js +1 -1
  106. package/dist/components/Menu/MenuHeaderInfo.d.ts.map +1 -1
  107. package/dist/components/Menu/MenuHeaderInfo.js +2 -10
  108. package/dist/components/Menu/NestedMenuItem.js +1 -1
  109. package/dist/components/Menu/index.js +14 -5
  110. package/dist/components/Menu/nestedMenuItemsFromObject.js +1 -1
  111. package/dist/components/Modal/index.js +1 -1
  112. package/dist/components/MonthPicker/index.d.ts.map +1 -1
  113. package/dist/components/MonthPicker/index.js +4 -10
  114. package/dist/components/MonthRangePicker/constants.d.ts +0 -4
  115. package/dist/components/MonthRangePicker/constants.d.ts.map +1 -1
  116. package/dist/components/MonthRangePicker/constants.js +1 -15
  117. package/dist/components/MonthRangePicker/index.d.ts.map +1 -1
  118. package/dist/components/MonthRangePicker/index.js +30 -68
  119. package/dist/components/NewCreateItemFlow/index.js +1 -1
  120. package/dist/components/NewDynamicLayout/index.d.ts.map +1 -1
  121. package/dist/components/NewDynamicLayout/index.js +15 -13
  122. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.d.ts.map +1 -1
  123. package/dist/components/Notification/NotificationBody/NotificationList/NotificationChipsList.js +1 -3
  124. package/dist/components/Notification/NotificationBody/NotificationList/NotificationList.js +1 -1
  125. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.d.ts.map +1 -1
  126. package/dist/components/Notification/NotificationBody/NotificationList/NotificationListItem.js +16 -12
  127. package/dist/components/Notification/NotificationBody/NotificationTaskList.js +2 -4
  128. package/dist/components/Notification/NotificationHeader.d.ts.map +1 -1
  129. package/dist/components/Notification/NotificationHeader.js +3 -13
  130. package/dist/components/Notification/index.js +1 -1
  131. package/dist/components/OnboardingTour/index.d.ts.map +1 -1
  132. package/dist/components/OnboardingTour/index.js +4 -10
  133. package/dist/components/OnboardingTour/productTourList.js +4 -4
  134. package/dist/components/OnboardingTour/tooltipCard.d.ts.map +1 -1
  135. package/dist/components/OnboardingTour/tooltipCard.js +2 -2
  136. package/dist/components/Panel/index.d.ts +1 -1
  137. package/dist/components/Panel/index.d.ts.map +1 -1
  138. package/dist/components/Panel/index.js +7 -13
  139. package/dist/components/Popover/Popover.types.d.ts +0 -5
  140. package/dist/components/Popover/Popover.types.d.ts.map +1 -1
  141. package/dist/components/Popover/index.d.ts +1 -1
  142. package/dist/components/Popover/index.d.ts.map +1 -1
  143. package/dist/components/Popover/index.js +4 -12
  144. package/dist/components/ProgressBar/index.js +1 -1
  145. package/dist/components/Prompt/index.d.ts.map +1 -1
  146. package/dist/components/Prompt/index.js +2 -10
  147. package/dist/components/RadioButtonGroup/index.js +1 -1
  148. package/dist/components/Select/index.d.ts.map +1 -1
  149. package/dist/components/Select/index.js +34 -64
  150. package/dist/components/Select/menuList.d.ts.map +1 -1
  151. package/dist/components/Select/menuList.js +1 -2
  152. package/dist/components/Shortcuts/ShortcutHint.d.ts.map +1 -1
  153. package/dist/components/Shortcuts/ShortcutHint.js +18 -4
  154. package/dist/components/Sidebar/SidebarActions.d.ts.map +1 -1
  155. package/dist/components/Sidebar/SidebarActions.js +3 -3
  156. package/dist/components/Sidebar/index.d.ts.map +1 -1
  157. package/dist/components/Sidebar/index.js +1 -1
  158. package/dist/components/Skeleton/index.js +1 -1
  159. package/dist/components/Slider/index.d.ts.map +1 -1
  160. package/dist/components/Slider/index.js +6 -8
  161. package/dist/components/Stepper/index.d.ts.map +1 -1
  162. package/dist/components/Stepper/index.js +2 -2
  163. package/dist/components/Switch/index.d.ts.map +1 -1
  164. package/dist/components/Switch/index.js +10 -11
  165. package/dist/components/TableChat/EmptyContainer.js +1 -1
  166. package/dist/components/TableChat/TableChatSidePanel.js +1 -1
  167. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatFooterSkeleton.js +1 -1
  168. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatHeaderSkeleton.js +1 -1
  169. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatMessageListSkeleton.js +1 -1
  170. package/dist/components/TableChat/components/ChatMessageSkeleton/ChatSkeleton.js +1 -1
  171. package/dist/components/TableChat/components/TableChatLeftSection/AddChatContainer/AddChatContainer.js +1 -1
  172. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.d.ts.map +1 -1
  173. package/dist/components/TableChat/components/TableChatLeftSection/ChatChannelItem.js +5 -6
  174. package/dist/components/TableChat/components/TableChatLeftSection/ChatHeaderNavigation.js +1 -1
  175. package/dist/components/TableChat/components/TableChatLeftSection/TableChatChannelHeader.js +1 -1
  176. package/dist/components/TableChat/components/TableChatRightSection/AvatarGroup/AvatarGroup.js +37 -19
  177. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.d.ts.map +1 -1
  178. package/dist/components/TableChat/components/TableChatRightSection/ChatDefaultMessageType/ChatDefaultMessageType.js +21 -13
  179. package/dist/components/TableChat/components/TableChatRightSection/ChatDeleteMessageType/ChatDeletedMessageType.js +1 -1
  180. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.d.ts.map +1 -1
  181. package/dist/components/TableChat/components/TableChatRightSection/ChatEditedMessageType/ChatEditedMessageType.js +13 -24
  182. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.d.ts.map +1 -1
  183. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeader.js +4 -4
  184. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.d.ts.map +1 -1
  185. package/dist/components/TableChat/components/TableChatRightSection/ChatHeader/ChatHeaderAction.js +11 -23
  186. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.d.ts.map +1 -1
  187. package/dist/components/TableChat/components/TableChatRightSection/ChatInput/ChatInput.js +24 -21
  188. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.d.ts.map +1 -1
  189. package/dist/components/TableChat/components/TableChatRightSection/ChatMessages/ChatMessage.js +6 -5
  190. package/dist/components/TableChat/components/TableChatRightSection/ChatNotificationSettings/ChatNotificationSettings.js +1 -1
  191. package/dist/components/TableChat/components/TableChatRightSection/DateSeparator/DateSeparator.js +1 -1
  192. package/dist/components/TableChat/components/TableChatRightSection/FileUploader/FileUploader.js +6 -6
  193. package/dist/components/TableChat/components/TableChatRightSection/ImageUploader/ImageUploader.js +5 -5
  194. package/dist/components/TableChat/components/TableChatRightSection/PinedChatPanel/PinedChatPanel.js +1 -1
  195. package/dist/components/TableChat/components/TableChatRightSection/ReplyBadge/ReplyBadge.d.ts.map +1 -1
  196. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.d.ts.map +1 -1
  197. package/dist/components/TableChat/components/TableChatRightSection/TableChatRightSection.js +5 -12
  198. package/dist/components/TableChat/components/TextEditor/EditorToolbar.js +1 -1
  199. package/dist/components/TableChat/components/TextEditor/Mention.d.ts.map +1 -1
  200. package/dist/components/TableChat/components/TextEditor/Mention.js +7 -2
  201. package/dist/components/TableChat/components/TextEditor/MentionList.js +1 -1
  202. package/dist/components/TableV36/AdvanceSearchModalItem.d.ts.map +1 -1
  203. package/dist/components/TableV36/AdvanceSortModal.d.ts.map +1 -1
  204. package/dist/components/TableV36/AdvanceSortModal.js +42 -42
  205. package/dist/components/TableV36/AgGridHeader.d.ts.map +1 -1
  206. package/dist/components/TableV36/AgGridHeader.js +11 -21
  207. package/dist/components/TableV36/CommentsPortal.d.ts.map +1 -1
  208. package/dist/components/TableV36/CommentsPortal.js +4 -7
  209. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.d.ts.map +1 -1
  210. package/dist/components/TableV36/NewAdvanceSearchModal/NewAdvanceSearchModalItem.js +0 -5
  211. package/dist/components/TableV36/NoComments.js +1 -1
  212. package/dist/components/TableV36/Table.types.d.ts +2 -2
  213. package/dist/components/TableV36/Table.types.d.ts.map +1 -1
  214. package/dist/components/TableV36/TableSkeletonCell.d.ts.map +1 -1
  215. package/dist/components/TableV36/TableSkeletonCell.js +15 -3
  216. package/dist/components/TableV36/index.d.ts.map +1 -1
  217. package/dist/components/TableV36/index.js +13 -30
  218. package/dist/components/TableV36/tableFunctions.d.ts.map +1 -1
  219. package/dist/components/TableV36/tableFunctions.js +31 -45
  220. package/dist/components/TableV36/tableHeader.d.ts +3 -1
  221. package/dist/components/TableV36/tableHeader.d.ts.map +1 -1
  222. package/dist/components/TableV36/tableHeader.js +4 -5
  223. package/dist/components/TableV36/tableMoreOptions.d.ts.map +1 -1
  224. package/dist/components/TableV36/tableMoreOptions.js +18 -36
  225. package/dist/components/TableV36/tableSettings.d.ts.map +1 -1
  226. package/dist/components/TableV36/tableSettings.js +9 -8
  227. package/dist/components/TableV36/withCommentIcon.d.ts.map +1 -1
  228. package/dist/components/TableV36/withCommentIcon.js +5 -13
  229. package/dist/components/Tabs/index.js +1 -1
  230. package/dist/components/Tag/index.js +1 -1
  231. package/dist/components/TextArea/index.js +3 -3
  232. package/dist/components/Toast/index.js +1 -1
  233. package/dist/components/Tooltip/index.js +1 -1
  234. package/dist/components/common/HelperText/index.js +1 -1
  235. package/dist/components/common/MentionEditor/MentionList/index.js +1 -1
  236. package/dist/components/common/MentionEditor/index.js +1 -1
  237. package/dist/components/index.d.ts +0 -9
  238. package/dist/components/index.d.ts.map +1 -1
  239. package/dist/components/index.js +0 -48
  240. package/dist/components/shared/tableColumnSettings/columnsTabV36.d.ts.map +1 -1
  241. package/dist/components/shared/tableColumnSettings/tableSettingsV36.d.ts.map +1 -1
  242. package/dist/locales/de-DE.json.d.ts +0 -42
  243. package/dist/locales/de-DE.json.js +0 -42
  244. package/dist/locales/en-US.json.d.ts +0 -42
  245. package/dist/locales/en-US.json.js +0 -42
  246. package/dist/locales/es-ES.json.d.ts +0 -42
  247. package/dist/locales/es-ES.json.js +0 -42
  248. package/dist/mcp-component-registry.json +139 -183
  249. package/dist/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +4 -4
  250. package/dist/node_modules/@emotion/react/dist/emotion-element-f0de968e.browser.esm.js +1 -2
  251. package/dist/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +0 -2
  252. package/dist/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +1 -1
  253. package/dist/node_modules/@impactsmartsuite/impact-icons/dist/index.js +364 -636
  254. package/dist/node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js +15 -21
  255. package/dist/node_modules/@mui/icons-material/Add.js +3 -2
  256. package/dist/node_modules/@mui/icons-material/AttachFile.js +3 -2
  257. package/dist/node_modules/@mui/icons-material/AutoFixHigh.js +3 -2
  258. package/dist/node_modules/@mui/icons-material/Block.js +3 -2
  259. package/dist/node_modules/@mui/icons-material/BookmarkBorderOutlined.js +3 -2
  260. package/dist/node_modules/@mui/icons-material/Brush.js +3 -2
  261. package/dist/node_modules/@mui/icons-material/Cancel.js +3 -2
  262. package/dist/node_modules/@mui/icons-material/CheckCircle.js +3 -2
  263. package/dist/node_modules/@mui/icons-material/ChevronLeft.js +2 -1
  264. package/dist/node_modules/@mui/icons-material/ChevronLeftOutlined.js +3 -2
  265. package/dist/node_modules/@mui/icons-material/ChevronRight.js +2 -1
  266. package/dist/node_modules/@mui/icons-material/ChevronRightOutlined.js +3 -2
  267. package/dist/node_modules/@mui/icons-material/Clear.js +2 -1
  268. package/dist/node_modules/@mui/icons-material/Close.js +2 -1
  269. package/dist/node_modules/@mui/icons-material/CloseOutlined.js +3 -2
  270. package/dist/node_modules/@mui/icons-material/CloseRounded.js +3 -2
  271. package/dist/node_modules/@mui/icons-material/DeleteOutlineOutlined.js +3 -2
  272. package/dist/node_modules/@mui/icons-material/DeleteOutlined.js +3 -2
  273. package/dist/node_modules/@mui/icons-material/DragIndicator.js +3 -2
  274. package/dist/node_modules/@mui/icons-material/ErrorOutline.js +3 -2
  275. package/dist/node_modules/@mui/icons-material/ExpandLess.js +2 -1
  276. package/dist/node_modules/@mui/icons-material/ExpandLessOutlined.js +3 -2
  277. package/dist/node_modules/@mui/icons-material/ExpandMore.js +2 -1
  278. package/dist/node_modules/@mui/icons-material/ExpandMoreOutlined.js +3 -2
  279. package/dist/node_modules/@mui/icons-material/FileDownloadOutlined.js +3 -2
  280. package/dist/node_modules/@mui/icons-material/FilterAltOffOutlined.js +3 -2
  281. package/dist/node_modules/@mui/icons-material/FilterAltOutlined.js +3 -2
  282. package/dist/node_modules/@mui/icons-material/FilterList.js +3 -2
  283. package/dist/node_modules/@mui/icons-material/FilterListOutlined.js +3 -2
  284. package/dist/node_modules/@mui/icons-material/FormatBold.js +3 -2
  285. package/dist/node_modules/@mui/icons-material/FormatColorTextOutlined.js +3 -2
  286. package/dist/node_modules/@mui/icons-material/FormatItalic.js +2 -1
  287. package/dist/node_modules/@mui/icons-material/FormatListBulleted.js +3 -2
  288. package/dist/node_modules/@mui/icons-material/FormatListNumbered.js +3 -2
  289. package/dist/node_modules/@mui/icons-material/Image.js +3 -2
  290. package/dist/node_modules/@mui/icons-material/Info.js +3 -2
  291. package/dist/node_modules/@mui/icons-material/InfoOutlined.js +3 -2
  292. package/dist/node_modules/@mui/icons-material/InsertEmoticon.js +3 -2
  293. package/dist/node_modules/@mui/icons-material/KeyboardArrowDown.js +3 -2
  294. package/dist/node_modules/@mui/icons-material/KeyboardArrowDownOutlined.js +3 -2
  295. package/dist/node_modules/@mui/icons-material/KeyboardArrowLeft.js +3 -2
  296. package/dist/node_modules/@mui/icons-material/KeyboardArrowRight.js +3 -2
  297. package/dist/node_modules/@mui/icons-material/KeyboardArrowRightOutlined.js +3 -2
  298. package/dist/node_modules/@mui/icons-material/KeyboardArrowUp.js +2 -1
  299. package/dist/node_modules/@mui/icons-material/KeyboardRounded.js +3 -2
  300. package/dist/node_modules/@mui/icons-material/Link.js +3 -2
  301. package/dist/node_modules/@mui/icons-material/Looks3.js +3 -2
  302. package/dist/node_modules/@mui/icons-material/Looks4.js +3 -2
  303. package/dist/node_modules/@mui/icons-material/Looks5.js +3 -2
  304. package/dist/node_modules/@mui/icons-material/Looks6.js +3 -2
  305. package/dist/node_modules/@mui/icons-material/LooksOne.js +3 -2
  306. package/dist/node_modules/@mui/icons-material/LooksTwo.js +3 -2
  307. package/dist/node_modules/@mui/icons-material/MoreHoriz.js +3 -2
  308. package/dist/node_modules/@mui/icons-material/MoreHorizOutlined.js +3 -2
  309. package/dist/node_modules/@mui/icons-material/MoreVert.js +3 -2
  310. package/dist/node_modules/@mui/icons-material/North.js +3 -2
  311. package/dist/node_modules/@mui/icons-material/NotificationsOff.js +3 -2
  312. package/dist/node_modules/@mui/icons-material/RemoveRounded.js +3 -2
  313. package/dist/node_modules/@mui/icons-material/SaveOutlined.js +3 -2
  314. package/dist/node_modules/@mui/icons-material/Search.js +3 -2
  315. package/dist/node_modules/@mui/icons-material/SearchOutlined.js +3 -2
  316. package/dist/node_modules/@mui/icons-material/SettingsOutlined.js +3 -2
  317. package/dist/node_modules/@mui/icons-material/StrikethroughS.js +3 -2
  318. package/dist/node_modules/@mui/icons-material/TableChartOutlined.js +3 -2
  319. package/dist/node_modules/@mui/icons-material/Tune.js +3 -2
  320. package/dist/node_modules/@mui/icons-material/ViewColumnOutlined.js +3 -2
  321. package/dist/node_modules/@mui/icons-material/Warning.js +3 -2
  322. package/dist/node_modules/@mui/icons-material/esm/AddOutlined.js +1 -1
  323. package/dist/node_modules/@mui/icons-material/esm/DragIndicator.js +1 -1
  324. package/dist/node_modules/@mui/icons-material/esm/FileDownload.js +1 -1
  325. package/dist/node_modules/@mui/icons-material/esm/HighlightOff.js +1 -1
  326. package/dist/node_modules/@mui/icons-material/esm/KeyboardArrowDown.js +1 -1
  327. package/dist/node_modules/@mui/icons-material/esm/Replay.js +1 -1
  328. package/dist/node_modules/@mui/material/Accordion/Accordion.js +43 -82
  329. package/dist/node_modules/@mui/material/Accordion/accordionClasses.js +2 -2
  330. package/dist/node_modules/@mui/material/AccordionDetails/AccordionDetails.js +8 -8
  331. package/dist/node_modules/@mui/material/AccordionDetails/accordionDetailsClasses.js +2 -2
  332. package/dist/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +29 -35
  333. package/dist/node_modules/@mui/material/AccordionSummary/accordionSummaryClasses.js +2 -2
  334. package/dist/node_modules/@mui/material/Alert/Alert.js +66 -88
  335. package/dist/node_modules/@mui/material/Alert/alertClasses.js +3 -3
  336. package/dist/node_modules/@mui/material/AlertTitle/AlertTitle.js +8 -8
  337. package/dist/node_modules/@mui/material/AlertTitle/alertTitleClasses.js +2 -2
  338. package/dist/node_modules/@mui/material/Avatar/Avatar.js +31 -76
  339. package/dist/node_modules/@mui/material/Avatar/avatarClasses.js +2 -2
  340. package/dist/node_modules/@mui/material/Backdrop/Backdrop.js +7 -7
  341. package/dist/node_modules/@mui/material/Backdrop/backdropClasses.js +2 -2
  342. package/dist/node_modules/@mui/material/Badge/Badge.js +117 -178
  343. package/dist/node_modules/@mui/material/Badge/badgeClasses.js +2 -2
  344. package/dist/node_modules/@mui/material/Box/Box.js +6 -7
  345. package/dist/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +4 -6
  346. package/dist/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.js +10 -10
  347. package/dist/node_modules/@mui/material/Breadcrumbs/breadcrumbsClasses.js +2 -2
  348. package/dist/node_modules/@mui/material/Button/Button.js +20 -24
  349. package/dist/node_modules/@mui/material/Button/buttonClasses.js +3 -3
  350. package/dist/node_modules/@mui/material/ButtonBase/ButtonBase.js +12 -12
  351. package/dist/node_modules/@mui/material/ButtonBase/Ripple.js +1 -0
  352. package/dist/node_modules/@mui/material/ButtonBase/TouchRipple.js +17 -10
  353. package/dist/node_modules/@mui/material/ButtonBase/buttonBaseClasses.js +2 -2
  354. package/dist/node_modules/@mui/material/ButtonBase/touchRippleClasses.js +1 -1
  355. package/dist/node_modules/@mui/material/Card/Card.js +8 -8
  356. package/dist/node_modules/@mui/material/Card/cardClasses.js +2 -2
  357. package/dist/node_modules/@mui/material/Checkbox/Checkbox.js +14 -15
  358. package/dist/node_modules/@mui/material/Checkbox/checkboxClasses.js +2 -2
  359. package/dist/node_modules/@mui/material/Chip/Chip.js +22 -30
  360. package/dist/node_modules/@mui/material/Chip/chipClasses.js +2 -2
  361. package/dist/node_modules/@mui/material/CircularProgress/CircularProgress.js +11 -11
  362. package/dist/node_modules/@mui/material/CircularProgress/circularProgressClasses.js +2 -2
  363. package/dist/node_modules/@mui/material/Collapse/Collapse.js +18 -16
  364. package/dist/node_modules/@mui/material/Collapse/collapseClasses.js +2 -2
  365. package/dist/node_modules/@mui/material/Dialog/Dialog.js +12 -20
  366. package/dist/node_modules/@mui/material/Dialog/dialogClasses.js +2 -2
  367. package/dist/node_modules/@mui/material/DialogActions/DialogActions.js +8 -8
  368. package/dist/node_modules/@mui/material/DialogActions/dialogActionsClasses.js +2 -2
  369. package/dist/node_modules/@mui/material/DialogContent/DialogContent.js +7 -7
  370. package/dist/node_modules/@mui/material/DialogContent/dialogContentClasses.js +2 -2
  371. package/dist/node_modules/@mui/material/DialogContentText/DialogContentText.js +8 -9
  372. package/dist/node_modules/@mui/material/DialogContentText/dialogContentTextClasses.js +2 -2
  373. package/dist/node_modules/@mui/material/DialogTitle/DialogTitle.js +7 -7
  374. package/dist/node_modules/@mui/material/DialogTitle/dialogTitleClasses.js +2 -2
  375. package/dist/node_modules/@mui/material/Divider/dividerClasses.js +1 -1
  376. package/dist/node_modules/@mui/material/Drawer/Drawer.js +13 -22
  377. package/dist/node_modules/@mui/material/Drawer/drawerClasses.js +2 -2
  378. package/dist/node_modules/@mui/material/Fade/Fade.js +7 -8
  379. package/dist/node_modules/@mui/material/FormControl/FormControl.js +10 -10
  380. package/dist/node_modules/@mui/material/FormControl/formControlClasses.js +2 -2
  381. package/dist/node_modules/@mui/material/FormControlLabel/FormControlLabel.js +11 -10
  382. package/dist/node_modules/@mui/material/FormControlLabel/formControlLabelClasses.js +2 -2
  383. package/dist/node_modules/@mui/material/FormGroup/FormGroup.js +7 -7
  384. package/dist/node_modules/@mui/material/FormGroup/formGroupClasses.js +2 -2
  385. package/dist/node_modules/@mui/material/FormHelperText/FormHelperText.js +8 -8
  386. package/dist/node_modules/@mui/material/FormHelperText/formHelperTextClasses.js +2 -2
  387. package/dist/node_modules/@mui/material/GlobalStyles/GlobalStyles.js +4 -4
  388. package/dist/node_modules/@mui/material/Grow/Grow.js +14 -11
  389. package/dist/node_modules/@mui/material/IconButton/IconButton.js +15 -15
  390. package/dist/node_modules/@mui/material/IconButton/iconButtonClasses.js +2 -2
  391. package/dist/node_modules/@mui/material/InputBase/InputBase.js +18 -18
  392. package/dist/node_modules/@mui/material/InputBase/inputBaseClasses.js +2 -2
  393. package/dist/node_modules/@mui/material/LinearProgress/LinearProgress.js +15 -15
  394. package/dist/node_modules/@mui/material/LinearProgress/linearProgressClasses.js +2 -2
  395. package/dist/node_modules/@mui/material/Link/Link.js +11 -11
  396. package/dist/node_modules/@mui/material/Link/getTextDecoration.js +2 -2
  397. package/dist/node_modules/@mui/material/Link/linkClasses.js +2 -2
  398. package/dist/node_modules/@mui/material/List/List.js +7 -7
  399. package/dist/node_modules/@mui/material/List/listClasses.js +2 -2
  400. package/dist/node_modules/@mui/material/ListItemIcon/ListItemIcon.js +7 -7
  401. package/dist/node_modules/@mui/material/ListItemIcon/listItemIconClasses.js +2 -2
  402. package/dist/node_modules/@mui/material/ListItemText/listItemTextClasses.js +1 -1
  403. package/dist/node_modules/@mui/material/Menu/Menu.js +16 -18
  404. package/dist/node_modules/@mui/material/Menu/menuClasses.js +2 -2
  405. package/dist/node_modules/@mui/material/MenuItem/MenuItem.js +15 -16
  406. package/dist/node_modules/@mui/material/MenuItem/menuItemClasses.js +2 -2
  407. package/dist/node_modules/@mui/material/MenuList/MenuList.js +11 -13
  408. package/dist/node_modules/@mui/material/Modal/Modal.js +46 -107
  409. package/dist/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +3 -9
  410. package/dist/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +10 -11
  411. package/dist/node_modules/@mui/material/OutlinedInput/outlinedInputClasses.js +2 -2
  412. package/dist/node_modules/@mui/material/Paper/Paper.js +11 -11
  413. package/dist/node_modules/@mui/material/Paper/paperClasses.js +2 -2
  414. package/dist/node_modules/@mui/material/Popover/Popover.js +25 -39
  415. package/dist/node_modules/@mui/material/Popover/popoverClasses.js +2 -2
  416. package/dist/node_modules/@mui/material/Popper/Popper.js +11 -14
  417. package/dist/node_modules/@mui/material/Radio/Radio.js +17 -19
  418. package/dist/node_modules/@mui/material/Radio/RadioButtonIcon.js +4 -11
  419. package/dist/node_modules/@mui/material/Radio/radioClasses.js +3 -3
  420. package/dist/node_modules/@mui/material/RadioGroup/RadioGroup.js +9 -30
  421. package/dist/node_modules/@mui/material/Skeleton/Skeleton.js +9 -9
  422. package/dist/node_modules/@mui/material/Skeleton/skeletonClasses.js +2 -2
  423. package/dist/node_modules/@mui/material/Slide/Slide.js +11 -12
  424. package/dist/node_modules/@mui/material/Slider/Slider.js +320 -434
  425. package/dist/node_modules/@mui/material/Slider/sliderClasses.js +3 -3
  426. package/dist/node_modules/@mui/material/Snackbar/Snackbar.js +18 -18
  427. package/dist/node_modules/@mui/material/Snackbar/snackbarClasses.js +2 -2
  428. package/dist/node_modules/@mui/material/SnackbarContent/SnackbarContent.js +9 -9
  429. package/dist/node_modules/@mui/material/SnackbarContent/snackbarContentClasses.js +2 -2
  430. package/dist/node_modules/@mui/material/Stack/Stack.js +6 -6
  431. package/dist/node_modules/@mui/material/Step/Step.js +8 -8
  432. package/dist/node_modules/@mui/material/Step/stepClasses.js +2 -2
  433. package/dist/node_modules/@mui/material/StepConnector/StepConnector.js +8 -8
  434. package/dist/node_modules/@mui/material/StepConnector/stepConnectorClasses.js +2 -2
  435. package/dist/node_modules/@mui/material/StepIcon/StepIcon.js +7 -7
  436. package/dist/node_modules/@mui/material/StepIcon/stepIconClasses.js +2 -2
  437. package/dist/node_modules/@mui/material/StepLabel/StepLabel.js +7 -7
  438. package/dist/node_modules/@mui/material/StepLabel/stepLabelClasses.js +2 -2
  439. package/dist/node_modules/@mui/material/Stepper/Stepper.js +10 -12
  440. package/dist/node_modules/@mui/material/Stepper/stepperClasses.js +3 -3
  441. package/dist/node_modules/@mui/material/SvgIcon/SvgIcon.js +10 -10
  442. package/dist/node_modules/@mui/material/SvgIcon/svgIconClasses.js +2 -2
  443. package/dist/node_modules/@mui/material/Switch/Switch.js +52 -71
  444. package/dist/node_modules/@mui/material/Switch/switchClasses.js +2 -2
  445. package/dist/node_modules/@mui/material/Tab/Tab.js +10 -12
  446. package/dist/node_modules/@mui/material/Tab/tabClasses.js +2 -2
  447. package/dist/node_modules/@mui/material/TabScrollButton/TabScrollButton.js +11 -10
  448. package/dist/node_modules/@mui/material/TabScrollButton/tabScrollButtonClasses.js +2 -2
  449. package/dist/node_modules/@mui/material/Tabs/ScrollbarSize.js +5 -6
  450. package/dist/node_modules/@mui/material/Tabs/Tabs.js +27 -46
  451. package/dist/node_modules/@mui/material/Tabs/tabsClasses.js +2 -2
  452. package/dist/node_modules/@mui/material/ToggleButton/ToggleButton.js +13 -25
  453. package/dist/node_modules/@mui/material/ToggleButton/toggleButtonClasses.js +3 -3
  454. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.js +52 -94
  455. package/dist/node_modules/@mui/material/ToggleButtonGroup/toggleButtonGroupClasses.js +3 -3
  456. package/dist/node_modules/@mui/material/Tooltip/Tooltip.js +71 -61
  457. package/dist/node_modules/@mui/material/Tooltip/tooltipClasses.js +2 -2
  458. package/dist/node_modules/@mui/material/Typography/Typography.js +8 -8
  459. package/dist/node_modules/@mui/material/Typography/typographyClasses.js +2 -2
  460. package/dist/node_modules/@mui/material/internal/SwitchBase.js +7 -12
  461. package/dist/node_modules/@mui/material/internal/switchBaseClasses.js +2 -2
  462. package/dist/node_modules/@mui/material/{ClickAwayListener → node_modules/@mui/base/ClickAwayListener}/ClickAwayListener.js +15 -12
  463. package/dist/node_modules/@mui/material/{Unstable_TrapFocus → node_modules/@mui/base/FocusTrap}/FocusTrap.js +53 -56
  464. package/dist/node_modules/@mui/material/node_modules/@mui/base/Modal/Modal.js +250 -0
  465. package/dist/node_modules/@mui/material/node_modules/@mui/base/Modal/modalClasses.js +9 -0
  466. package/dist/node_modules/@mui/material/{Popper/BasePopper.js → node_modules/@mui/base/Popper/Popper.js} +19 -24
  467. package/dist/node_modules/@mui/material/node_modules/@mui/base/Popper/popperClasses.js +9 -0
  468. package/dist/node_modules/@mui/material/{Portal → node_modules/@mui/base/Portal}/Portal.js +12 -16
  469. package/dist/node_modules/@mui/material/node_modules/@mui/base/TextareaAutosize/TextareaAutosize.js +226 -0
  470. package/dist/node_modules/@mui/material/{Modal → node_modules/@mui/base/unstable_useModal}/ModalManager.js +3 -3
  471. package/dist/node_modules/@mui/material/{Modal → node_modules/@mui/base/unstable_useModal}/useModal.js +11 -12
  472. package/dist/node_modules/@mui/material/{Badge → node_modules/@mui/base/useBadge}/useBadge.js +2 -2
  473. package/dist/node_modules/@mui/material/{Slider → node_modules/@mui/base/useSlider}/useSlider.js +60 -86
  474. package/dist/node_modules/@mui/material/{Snackbar → node_modules/@mui/base/useSnackbar}/useSnackbar.js +27 -22
  475. package/dist/node_modules/@mui/material/node_modules/@mui/base/utils/ClassNameConfigurator.js +20 -0
  476. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/appendOwnerState → base/utils}/appendOwnerState.js +2 -2
  477. package/dist/node_modules/@mui/material/{utils → node_modules/@mui/base/utils}/areArraysEqual.js +1 -1
  478. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/extractEventHandlers → base/utils}/extractEventHandlers.js +1 -1
  479. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/isHostComponent → base/utils}/isHostComponent.js +1 -1
  480. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/mergeSlotProps → base/utils}/mergeSlotProps.js +5 -5
  481. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/omitEventHandlers → base/utils}/omitEventHandlers.js +1 -1
  482. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/resolveComponentProps → base/utils}/resolveComponentProps.js +1 -1
  483. package/dist/node_modules/@mui/material/node_modules/@mui/{utils/esm/useSlotProps → base/utils}/useSlotProps.js +5 -5
  484. package/dist/node_modules/{hoist-non-react-statics → @mui/material}/node_modules/react-is/cjs/react-is.development.js +60 -32
  485. package/dist/node_modules/@mui/material/node_modules/react-is/cjs/react-is.production.min.js +109 -0
  486. package/dist/node_modules/{hoist-non-react-statics → @mui/material}/node_modules/react-is/index.js +1 -1
  487. package/dist/node_modules/@mui/material/styles/createPalette.js +7 -7
  488. package/dist/node_modules/@mui/material/styles/createTheme.js +4 -6
  489. package/dist/node_modules/@mui/material/styles/createTypography.js +1 -1
  490. package/dist/node_modules/@mui/material/styles/styled.js +6 -4
  491. package/dist/node_modules/@mui/material/styles/useThemeProps.js +17 -0
  492. package/dist/node_modules/@mui/material/utils/capitalize.js +1 -1
  493. package/dist/node_modules/@mui/material/utils/createChainedFunction.js +1 -1
  494. package/dist/node_modules/@mui/material/utils/debounce.js +1 -1
  495. package/dist/node_modules/@mui/material/utils/deprecatedPropType.js +1 -1
  496. package/dist/node_modules/@mui/material/utils/getScrollbarSize.js +1 -1
  497. package/dist/node_modules/@mui/material/utils/index.js +17 -17
  498. package/dist/node_modules/@mui/material/utils/isMuiElement.js +1 -1
  499. package/dist/node_modules/@mui/material/utils/ownerDocument.js +1 -1
  500. package/dist/node_modules/@mui/material/utils/ownerWindow.js +1 -1
  501. package/dist/node_modules/@mui/material/utils/requirePropFactory.js +1 -1
  502. package/dist/node_modules/@mui/material/utils/setRef.js +1 -1
  503. package/dist/node_modules/@mui/material/utils/shouldSpreadAdditionalProps.js +1 -1
  504. package/dist/node_modules/@mui/material/utils/unsupportedProp.js +1 -1
  505. package/dist/node_modules/@mui/material/utils/useControlled.js +1 -1
  506. package/dist/node_modules/@mui/material/utils/useEnhancedEffect.js +1 -1
  507. package/dist/node_modules/@mui/material/utils/useEventCallback.js +1 -1
  508. package/dist/node_modules/@mui/material/utils/useForkRef.js +1 -1
  509. package/dist/node_modules/@mui/material/utils/useId.js +1 -1
  510. package/dist/node_modules/@mui/material/utils/useIsFocusVisible.js +1 -1
  511. package/dist/node_modules/@mui/styled-engine/index.js +2 -18
  512. package/dist/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +5 -29
  513. package/dist/node_modules/@mui/system/esm/Stack/createStack.js +3 -3
  514. package/dist/node_modules/@mui/system/esm/borders.js +47 -23
  515. package/dist/node_modules/@mui/system/esm/breakpoints.js +1 -1
  516. package/dist/node_modules/@mui/system/esm/colorManipulator.js +78 -5
  517. package/dist/node_modules/@mui/system/esm/createStyled.js +79 -92
  518. package/dist/node_modules/@mui/system/esm/createTheme/createTheme.js +1 -3
  519. package/dist/node_modules/@mui/system/esm/merge.js +1 -1
  520. package/dist/node_modules/@mui/system/esm/propsToClassKey.js +23 -0
  521. package/dist/node_modules/@mui/system/esm/sizing.js +2 -12
  522. package/dist/node_modules/@mui/system/esm/style.js +1 -1
  523. package/dist/node_modules/@mui/system/esm/styleFunctionSx/defaultSxConfig.js +0 -7
  524. package/dist/node_modules/@mui/system/esm/styleFunctionSx/extendSxProp.js +1 -1
  525. package/dist/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +3 -10
  526. package/dist/node_modules/@mui/system/esm/useThemeProps/getThemeProps.js +1 -1
  527. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/deepmerge/deepmerge.js +5 -6
  528. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/elementAcceptingRef/elementAcceptingRef.js +1 -1
  529. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/elementTypeAcceptingRef/elementTypeAcceptingRef.js +1 -1
  530. package/dist/node_modules/@mui/{system/node_modules/@mui/utils/esm → utils}/getDisplayName/getDisplayName.js +1 -1
  531. package/dist/node_modules/{prop-types → @mui/utils}/node_modules/react-is/cjs/react-is.development.js +60 -32
  532. package/dist/node_modules/@mui/utils/node_modules/react-is/cjs/react-is.production.min.js +109 -0
  533. package/dist/node_modules/@mui/utils/node_modules/react-is/index.js +12 -0
  534. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/refType/refType.js +1 -1
  535. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useControlled/useControlled.js +1 -1
  536. package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useTimeout/useTimeout.js +1 -9
  537. package/dist/node_modules/call-bind/index.js +1 -1
  538. package/dist/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +2 -2
  539. package/dist/node_modules/is-symbol/index.js +1 -1
  540. package/dist/node_modules/moment/dist/locale/de.js +1 -21
  541. package/dist/node_modules/moment/dist/moment.js +754 -982
  542. package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
  543. package/dist/node_modules/prop-types/index.js +1 -1
  544. package/dist/node_modules/react-is/cjs/react-is.development.js +148 -88
  545. package/dist/node_modules/{prop-types/node_modules/react-is → react-is}/cjs/react-is.production.min.js +1 -1
  546. package/dist/node_modules/react-is/index.js +13 -8
  547. package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
  548. package/dist/node_modules/stylis/src/Parser.js +1 -1
  549. package/dist/node_modules/stylis/src/Tokenizer.js +1 -1
  550. package/dist/stories/tableV36ChatApiMock.d.ts +29 -10
  551. package/dist/stories/tableV36ChatApiMock.d.ts.map +1 -1
  552. package/dist/storybook-utils/rootAttributes.d.ts +1 -1
  553. package/dist/storybook-utils/rootAttributes.d.ts.map +1 -1
  554. package/dist/styles/style.css +1 -1
  555. package/package.json +3 -12
  556. package/dist/_virtual/colorManipulator.js +0 -4
  557. package/dist/_virtual/createStyled.js +0 -4
  558. package/dist/_virtual/index10.js +0 -6
  559. package/dist/_virtual/index11.js +0 -6
  560. package/dist/_virtual/index12.js +0 -6
  561. package/dist/_virtual/index13.js +0 -4
  562. package/dist/_virtual/index14.js +0 -4
  563. package/dist/_virtual/index15.js +0 -4
  564. package/dist/_virtual/index16.js +0 -4
  565. package/dist/_virtual/index9.js +0 -6
  566. package/dist/_virtual/react-is.production.js +0 -4
  567. package/dist/_virtual/useThemeWithoutDefault.js +0 -4
  568. package/dist/assets/animated-bar.lottie.js +0 -4
  569. package/dist/assets/animated-bulb.lottie.js +0 -4
  570. package/dist/assets/animated-chip.lottie.js +0 -4
  571. package/dist/assets/confetti-cone.lottie.js +0 -4
  572. package/dist/assets/halloween_devil_morning_final.html.js +0 -1304
  573. package/dist/assets/halloween_devil_night_Final.html.js +0 -1299
  574. package/dist/components/Chips/chipLeadingIcon.d.ts +0 -6
  575. package/dist/components/Chips/chipLeadingIcon.d.ts.map +0 -1
  576. package/dist/components/Chips/chipLeadingIcon.js +0 -46
  577. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.d.ts +0 -14
  578. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.d.ts.map +0 -1
  579. package/dist/components/HalloweenStyleIntro/HalloweenStyleIntroProvider.js +0 -131
  580. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.d.ts +0 -13
  581. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.d.ts.map +0 -1
  582. package/dist/components/HalloweenStyleIntro/halloweenIntro.constants.js +0 -9
  583. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.d.ts +0 -15
  584. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.d.ts.map +0 -1
  585. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.js +0 -141
  586. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.test.d.ts +0 -2
  587. package/dist/components/HalloweenStyleIntro/halloweenIntroHtml.test.d.ts.map +0 -1
  588. package/dist/components/HalloweenStyleIntro/index.d.ts +0 -4
  589. package/dist/components/HalloweenStyleIntro/index.d.ts.map +0 -1
  590. package/dist/components/ImpactIcon/index.d.ts +0 -19
  591. package/dist/components/ImpactIcon/index.d.ts.map +0 -1
  592. package/dist/components/ImpactIcon/index.js +0 -52
  593. package/dist/components/Loader/HalloweenLoaderSlides.d.ts +0 -13
  594. package/dist/components/Loader/HalloweenLoaderSlides.d.ts.map +0 -1
  595. package/dist/components/Loader/HalloweenLoaderSlides.js +0 -109
  596. package/dist/components/ProfileMenu/ProfileMenu.types.d.ts +0 -55
  597. package/dist/components/ProfileMenu/ProfileMenu.types.d.ts.map +0 -1
  598. package/dist/components/ProfileMenu/ProfileMenuListItem.d.ts +0 -12
  599. package/dist/components/ProfileMenu/ProfileMenuListItem.d.ts.map +0 -1
  600. package/dist/components/ProfileMenu/ProfileMenuListItem.js +0 -42
  601. package/dist/components/ProfileMenu/index.d.ts +0 -11
  602. package/dist/components/ProfileMenu/index.d.ts.map +0 -1
  603. package/dist/components/ProfileMenu/index.js +0 -164
  604. package/dist/components/Slider/sliderValueLabel.d.ts +0 -7
  605. package/dist/components/Slider/sliderValueLabel.d.ts.map +0 -1
  606. package/dist/components/Slider/sliderValueLabel.js +0 -31
  607. package/dist/components/ThemingPanel/AccentColorSection.d.ts +0 -11
  608. package/dist/components/ThemingPanel/AccentColorSection.d.ts.map +0 -1
  609. package/dist/components/ThemingPanel/AccentColorSection.js +0 -45
  610. package/dist/components/ThemingPanel/EnhanceContrastSection.d.ts +0 -11
  611. package/dist/components/ThemingPanel/EnhanceContrastSection.d.ts.map +0 -1
  612. package/dist/components/ThemingPanel/EnhanceContrastSection.js +0 -42
  613. package/dist/components/ThemingPanel/InterfaceThemeSection.d.ts +0 -13
  614. package/dist/components/ThemingPanel/InterfaceThemeSection.d.ts.map +0 -1
  615. package/dist/components/ThemingPanel/InterfaceThemeSection.js +0 -118
  616. package/dist/components/ThemingPanel/StylesSection.d.ts +0 -11
  617. package/dist/components/ThemingPanel/StylesSection.d.ts.map +0 -1
  618. package/dist/components/ThemingPanel/StylesSection.js +0 -44
  619. package/dist/components/ThemingPanel/ThemesTab.d.ts +0 -23
  620. package/dist/components/ThemingPanel/ThemesTab.d.ts.map +0 -1
  621. package/dist/components/ThemingPanel/ThemesTab.js +0 -49
  622. package/dist/components/ThemingPanel/ThemingPanel.d.ts +0 -10
  623. package/dist/components/ThemingPanel/ThemingPanel.d.ts.map +0 -1
  624. package/dist/components/ThemingPanel/ThemingPanel.js +0 -233
  625. package/dist/components/ThemingPanel/ThemingPanel.types.d.ts +0 -33
  626. package/dist/components/ThemingPanel/ThemingPanel.types.d.ts.map +0 -1
  627. package/dist/components/ThemingPanel/ThemingPanel.types.js +0 -8
  628. package/dist/components/ThemingPanel/index.d.ts +0 -10
  629. package/dist/components/ThemingPanel/index.d.ts.map +0 -1
  630. package/dist/components/ThemingPanel/themingPanel.constants.d.ts +0 -24
  631. package/dist/components/ThemingPanel/themingPanel.constants.d.ts.map +0 -1
  632. package/dist/components/ThemingPanel/themingPanel.constants.js +0 -49
  633. package/dist/components/common/DotLottiePlayer/index.d.ts +0 -5
  634. package/dist/components/common/DotLottiePlayer/index.d.ts.map +0 -1
  635. package/dist/components/common/DotLottiePlayer/index.js +0 -9
  636. package/dist/node_modules/@lottiefiles/dotlottie-react/dist/index.js +0 -87
  637. package/dist/node_modules/@lottiefiles/dotlottie-web/dist/index.js +0 -1871
  638. package/dist/node_modules/@mui/material/Box/boxClasses.js +0 -5
  639. package/dist/node_modules/@mui/material/ButtonGroup/ButtonGroupButtonContext.js +0 -8
  640. package/dist/node_modules/@mui/material/DefaultPropsProvider/DefaultPropsProvider.js +0 -25
  641. package/dist/node_modules/@mui/material/Modal/modalClasses.js +0 -9
  642. package/dist/node_modules/@mui/material/Popper/popperClasses.js +0 -9
  643. package/dist/node_modules/@mui/material/RadioGroup/radioGroupClasses.js +0 -9
  644. package/dist/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +0 -216
  645. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupButtonContext.js +0 -8
  646. package/dist/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroupContext.js +0 -8
  647. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
  648. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getReactElementRef/getReactElementRef.js +0 -11
  649. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/getValidReactChildren/getValidReactChildren.js +0 -7
  650. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useLazyRef/useLazyRef.js +0 -12
  651. package/dist/node_modules/@mui/material/node_modules/@mui/utils/esm/useOnMount/useOnMount.js +0 -8
  652. package/dist/node_modules/@mui/material/styles/ThemeProvider.js +0 -43
  653. package/dist/node_modules/@mui/material/styles/rootShouldForwardProp.js +0 -5
  654. package/dist/node_modules/@mui/material/styles/slotShouldForwardProp.js +0 -6
  655. package/dist/node_modules/@mui/material/utils/useSlot.js +0 -55
  656. package/dist/node_modules/@mui/private-theming/ThemeProvider/ThemeProvider.js +0 -59
  657. package/dist/node_modules/@mui/private-theming/ThemeProvider/nested.js +0 -5
  658. package/dist/node_modules/@mui/private-theming/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -19
  659. package/dist/node_modules/@mui/private-theming/useTheme/ThemeContext.js +0 -8
  660. package/dist/node_modules/@mui/private-theming/useTheme/useTheme.js +0 -12
  661. package/dist/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +0 -65
  662. package/dist/node_modules/@mui/system/colorManipulator.js +0 -271
  663. package/dist/node_modules/@mui/system/createStyled.js +0 -265
  664. package/dist/node_modules/@mui/system/esm/DefaultPropsProvider/DefaultPropsProvider.js +0 -63
  665. package/dist/node_modules/@mui/system/esm/RtlProvider/index.js +0 -27
  666. package/dist/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +0 -86
  667. package/dist/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js +0 -50
  668. package/dist/node_modules/@mui/system/esm/createTheme/applyStyles.js +0 -16
  669. package/dist/node_modules/@mui/system/esm/createTheme/index.js +0 -8
  670. package/dist/node_modules/@mui/system/esm/styleFunctionSx/index.js +0 -9
  671. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/ClassNameGenerator/ClassNameGenerator.js +0 -19
  672. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/capitalize.js +0 -10
  673. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/capitalize/index.js +0 -4
  674. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/clamp.js +0 -6
  675. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js +0 -4
  676. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -25
  677. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/deepmerge.js +0 -43
  678. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/deepmerge/index.js +0 -5
  679. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -19
  680. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -10
  681. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js +0 -4
  682. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -23
  683. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/getDisplayName/index.js +0 -5
  684. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/resolveProps/resolveProps.js +0 -29
  685. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
  686. package/dist/node_modules/@mui/system/node_modules/@mui/utils/esm/useId/useId.js +0 -24
  687. package/dist/node_modules/@mui/system/useThemeWithoutDefault.js +0 -39
  688. package/dist/node_modules/@mui/utils/esm/debounce/debounce.js +0 -17
  689. package/dist/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -6
  690. package/dist/node_modules/@mui/utils/esm/ownerWindow/ownerWindow.js +0 -8
  691. package/dist/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
  692. package/dist/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -42
  693. package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/cjs/react-is.production.min.js +0 -106
  694. package/dist/node_modules/prop-types/node_modules/react-is/index.js +0 -17
  695. package/dist/node_modules/react-is/cjs/react-is.production.js +0 -103
  696. package/dist/stories/designTokensStoryHelpers.d.ts +0 -2
  697. package/dist/stories/designTokensStoryHelpers.d.ts.map +0 -1
  698. package/dist/styles/tokens/accent-palettes.generated.d.ts +0 -13
  699. package/dist/styles/tokens/accent-palettes.generated.d.ts.map +0 -1
  700. package/dist/styles/tokens/accent-palettes.generated.js +0 -8
  701. package/dist/styles/tokens/effects.generated.d.ts +0 -60
  702. package/dist/styles/tokens/effects.generated.d.ts.map +0 -1
  703. package/dist/styles/tokens/effects.generated.js +0 -80
  704. package/dist/styles/tokens/tokens.generated.d.ts +0 -438
  705. package/dist/styles/tokens/tokens.generated.d.ts.map +0 -1
  706. package/dist/styles/tokens/tokens.generated.js +0 -431
  707. package/dist/tokens/ImpactUiAppProviders.d.ts +0 -18
  708. package/dist/tokens/ImpactUiAppProviders.d.ts.map +0 -1
  709. package/dist/tokens/ImpactUiAppProviders.js +0 -23
  710. package/dist/tokens/ImpactUiThemeProvider.d.ts +0 -17
  711. package/dist/tokens/ImpactUiThemeProvider.d.ts.map +0 -1
  712. package/dist/tokens/ImpactUiThemeProvider.js +0 -86
  713. package/dist/tokens/accentDom.d.ts +0 -17
  714. package/dist/tokens/accentDom.d.ts.map +0 -1
  715. package/dist/tokens/accentDom.js +0 -44
  716. package/dist/tokens/accentDom.test.d.ts +0 -2
  717. package/dist/tokens/accentDom.test.d.ts.map +0 -1
  718. package/dist/tokens/contrastDom.d.ts +0 -18
  719. package/dist/tokens/contrastDom.d.ts.map +0 -1
  720. package/dist/tokens/contrastDom.js +0 -34
  721. package/dist/tokens/contrastDom.test.d.ts +0 -2
  722. package/dist/tokens/contrastDom.test.d.ts.map +0 -1
  723. package/dist/tokens/createImpactUiMuiTheme.d.ts +0 -13
  724. package/dist/tokens/createImpactUiMuiTheme.d.ts.map +0 -1
  725. package/dist/tokens/createImpactUiMuiTheme.js +0 -122
  726. package/dist/tokens/impactUiPreferences.d.ts +0 -25
  727. package/dist/tokens/impactUiPreferences.d.ts.map +0 -1
  728. package/dist/tokens/impactUiPreferences.js +0 -109
  729. package/dist/tokens/impactUiPreferences.test.d.ts +0 -2
  730. package/dist/tokens/impactUiPreferences.test.d.ts.map +0 -1
  731. package/dist/tokens/index.d.ts +0 -22
  732. package/dist/tokens/index.d.ts.map +0 -1
  733. package/dist/tokens/interfaceStyleDom.d.ts +0 -26
  734. package/dist/tokens/interfaceStyleDom.d.ts.map +0 -1
  735. package/dist/tokens/interfaceStyleDom.js +0 -58
  736. package/dist/tokens/theme.types.d.ts +0 -19
  737. package/dist/tokens/theme.types.d.ts.map +0 -1
  738. package/dist/tokens/themeDom.d.ts +0 -34
  739. package/dist/tokens/themeDom.d.ts.map +0 -1
  740. package/dist/tokens/themeDom.js +0 -97
  741. package/dist/tokens/useImpactUiInterfaceStyle.d.ts +0 -7
  742. package/dist/tokens/useImpactUiInterfaceStyle.d.ts.map +0 -1
  743. package/dist/tokens/useImpactUiInterfaceStyle.js +0 -19
  744. package/dist/tokens/useImpactUiTheme.d.ts +0 -9
  745. package/dist/tokens/useImpactUiTheme.d.ts.map +0 -1
  746. package/dist/tokens/useImpactUiTheme.js +0 -46
  747. /package/dist/node_modules/@emotion/{unitless → serialize/node_modules/@emotion/unitless}/dist/emotion-unitless.esm.js +0 -0
  748. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ClassNameGenerator/ClassNameGenerator.js +0 -0
  749. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/HTMLElementType/HTMLElementType.js +0 -0
  750. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/capitalize/capitalize.js +0 -0
  751. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/chainPropTypes/chainPropTypes.js +0 -0
  752. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/composeClasses/composeClasses.js +0 -0
  753. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/createChainedFunction/createChainedFunction.js +0 -0
  754. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/debounce/debounce.js +0 -0
  755. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/deprecatedPropType/deprecatedPropType.js +0 -0
  756. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/exactProp/exactProp.js +0 -0
  757. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/formatMuiErrorMessage/formatMuiErrorMessage.js +0 -0
  758. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/generateUtilityClass/generateUtilityClass.js +0 -0
  759. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/generateUtilityClasses/generateUtilityClasses.js +0 -0
  760. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/getScrollbarSize/getScrollbarSize.js +0 -0
  761. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/integerPropType/integerPropType.js +0 -0
  762. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/isMuiElement/isMuiElement.js +0 -0
  763. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ownerDocument/ownerDocument.js +0 -0
  764. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/ownerWindow/ownerWindow.js +0 -0
  765. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/requirePropFactory/requirePropFactory.js +0 -0
  766. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/resolveProps/resolveProps.js +0 -0
  767. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/scrollLeft/scrollLeft.js +0 -0
  768. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/setRef/setRef.js +0 -0
  769. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/unsupportedProp/unsupportedProp.js +0 -0
  770. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useEnhancedEffect/useEnhancedEffect.js +0 -0
  771. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useEventCallback/useEventCallback.js +0 -0
  772. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useForkRef/useForkRef.js +0 -0
  773. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useId/useId.js +0 -0
  774. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/useIsFocusVisible/useIsFocusVisible.js +0 -0
  775. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/usePreviousProps/usePreviousProps.js +0 -0
  776. /package/dist/node_modules/@mui/{material/node_modules/@mui/utils/esm → utils}/visuallyHidden/visuallyHidden.js +0 -0
@@ -1,1871 +0,0 @@
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
- };