@pubinfo-nightly/module-rbac 2025.12.9 → 2025.12.26

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 (454) hide show
  1. package/dist/ComponentSelect-D0OCk6H1.js +3572 -0
  2. package/dist/ComponentSelect-WO-3S5rH.js +2 -0
  3. package/dist/DynamicRoutesForm-DP_sq_Uu.js +168 -0
  4. package/dist/DynamicRoutesForm-DjZ3eVLW.js +4 -0
  5. package/dist/HCheckList-B5Qk_HBI.js +2 -0
  6. package/dist/HCheckList-DLBewmPw.js +36 -0
  7. package/dist/HoverCard-69ZIOivd.js +2 -0
  8. package/dist/HoverCard-BDFcxxvk.js +43 -0
  9. package/dist/IconSelect-1pVgA_5l.js +705 -0
  10. package/dist/IconSelect-C5KTdyzv.js +3 -0
  11. package/dist/IconSelect.css +1 -1
  12. package/dist/ImportExport-CL5uPlby.js +342 -0
  13. package/dist/ImportExport-CPy2rvv7.js +4 -0
  14. package/dist/LayoutForm-Cp4bBrYl.js +124 -0
  15. package/dist/LayoutForm-QFjwakyQ.js +4 -0
  16. package/dist/MetaForm-Bb-um1Zo.js +4 -0
  17. package/dist/MetaForm-CVSgktB_.js +38917 -0
  18. package/dist/OrgAndPosition-ClASobEv.js +183 -0
  19. package/dist/OrgAndPosition-DoiGY5xb.js +2 -0
  20. package/dist/ResourceEdit-BX6xdiXV.js +10 -0
  21. package/dist/ResourceEdit-Dwr5KLyS.js +380 -0
  22. package/dist/ResourceRelation-BIOzTOKA.js +2 -0
  23. package/dist/ResourceRelation-ChEwIbWM.js +76 -0
  24. package/dist/ResourceRelation-D_j898zp.js +90 -0
  25. package/dist/ResourceRelation.css +1 -1
  26. package/dist/ResourceRelation2.css +1 -1
  27. package/dist/RoleRelation-CyTcqRfZ.js +2 -0
  28. package/dist/RoleRelation-DzyVn5dk.js +78 -0
  29. package/dist/RoleSelector-Cd6_RUsc.js +275 -0
  30. package/dist/TenantEdit-BOvXk7BZ.js +245 -0
  31. package/dist/TenantEdit-BlMmL6q5.js +2 -0
  32. package/dist/UserAuthorization-DLeivbs7.js +232 -0
  33. package/dist/UserAuthorization-qGr1Sdat.js +3 -0
  34. package/dist/UserEdit-CwfyqNWf.js +3 -0
  35. package/dist/UserEdit-YKS1FVW_.js +319 -0
  36. package/dist/add-child-CFHHkjfg.js +2 -0
  37. package/dist/animation_item-BU-LInxP.js +4485 -0
  38. package/dist/animation_item-GzGItm3s.js +2 -0
  39. package/dist/api/modules/assist/gonggaofuwu.d.ts +7 -7
  40. package/dist/api/modules/assist/qunzujiekou.d.ts +7 -7
  41. package/dist/api/modules/assist/quyujiekou.d.ts +6 -6
  42. package/dist/api/modules/configData/heibaimingdanfuwu.d.ts +6 -6
  43. package/dist/api/modules/configData/xitongpeizhifuwu.d.ts +15 -15
  44. package/dist/api/modules/configData/zidifuwu.d.ts +11 -11
  45. package/dist/api/modules/log/caozuorizhifuwu.d.ts +3 -3
  46. package/dist/api/modules/log/denglurizhifuwu.d.ts +3 -3
  47. package/dist/api/modules/rbac/gangweijiekou.d.ts +7 -7
  48. package/dist/api/modules/rbac/jiaosejiekou.d.ts +8 -8
  49. package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +8 -8
  50. package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +10 -10
  51. package/dist/api/modules/rbac/yonghujiekou.d.ts +16 -16
  52. package/dist/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +6 -6
  53. package/dist/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +5 -5
  54. package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +7 -7
  55. package/dist/api/modules/rbac/ziyuanjiekou.d.ts +14 -14
  56. package/dist/api/modules/rbac/zuhuguanlijiekou.d.ts +6 -6
  57. package/dist/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +5 -5
  58. package/dist/api/modules/rbac/zuzhijiekou.d.ts +10 -10
  59. package/dist/api/request.d.ts +1 -1
  60. package/dist/authority-L7SfiMdP.js +2 -0
  61. package/dist/authorize-qMpV_BXT.js +2 -0
  62. package/dist/blackWhiteList-FZezar30.js +210 -0
  63. package/dist/blackWhiteList.css +1 -0
  64. package/dist/blacklist-disable-BT6Xx-JG.js +2 -0
  65. package/dist/blacklist-enable-CJ6DK_V2.js +2 -0
  66. package/dist/breadcrumb_setting-Ds-XJRR1.js +108 -0
  67. package/dist/browser-chrome-DuAegVCe.js +2 -0
  68. package/dist/browser-edge-DzkWdXRd.js +2 -0
  69. package/dist/browser-ie-DZ9g_MXr.js +2 -0
  70. package/dist/browser-other-BmkifoYq.js +2 -0
  71. package/dist/browser-safari-CXrCuF2a.js +2 -0
  72. package/dist/browserType-BXTT4j6i.js +2 -0
  73. package/dist/browserType-Dn_hQtAN.js +25 -0
  74. package/dist/chunk-Cpsc_9al.js +18 -0
  75. package/dist/cloneDeep-DDAtsK42.js +7 -0
  76. package/dist/components/DirectoryIcones/ComponentsIcones.vue.d.ts +3 -2
  77. package/dist/components/DirectoryIcones/FolderIcones.vue.d.ts +3 -2
  78. package/dist/components/DirectoryIcones/ModuleIcones.vue.d.ts +3 -2
  79. package/dist/components/DirectoryIcones/PackagesIcones.vue.d.ts +3 -2
  80. package/dist/components/DirectoryIcones/SrcIcones.vue.d.ts +3 -2
  81. package/dist/components/DirectoryIcones/ViewIcones.vue.d.ts +3 -2
  82. package/dist/components/DirectoryIcones/VueIcones.vue.d.ts +2 -1
  83. package/dist/components/GroupSelector/index.vue.d.ts +5 -10
  84. package/dist/components/JsonEditorModal/index.vue.d.ts +20 -0
  85. package/dist/components/OrgTree/index.vue.d.ts +6 -0
  86. package/dist/components/OrgUserSelector/OrgSelector.vue.d.ts +15 -18
  87. package/dist/components/OrgUserSelector/UserSelector.vue.d.ts +15 -18
  88. package/dist/components/OrgUserSelector/index.d.ts +4 -2
  89. package/dist/components/OrgUserSelector/provider.d.ts +1 -1
  90. package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +4 -6
  91. package/dist/components/ResourceIcones/Select.vue.d.ts +14 -23
  92. package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +16 -7
  93. package/dist/components/ResourceSelector/index.vue.d.ts +10 -14
  94. package/dist/components/RoleSelector/RoleSearch.vue.d.ts +6 -12
  95. package/dist/components/RoleSelector/RoleSelector.vue.d.ts +8 -12
  96. package/dist/components/RoleSelector/TooltipLabel.vue.d.ts +3 -2
  97. package/dist/components/RoleSelector/useRole.d.ts +68 -4
  98. package/dist/composables/useLottie.d.ts +1 -1
  99. package/dist/context.d.ts +2 -2
  100. package/dist/createAndEditDataPermission-CChlLDUm.js +5 -0
  101. package/dist/createAndEditDataPermission-CaOBJgoV.js +430 -0
  102. package/dist/createAndEditDataPermission.css +1 -1
  103. package/dist/data-permission-ZRQ-Aoib.js +152 -0
  104. package/dist/dayjs.min-sGDSMYRj.js +297 -0
  105. package/dist/dictionary-CtGgtPfc.js +179 -0
  106. package/dist/drawerBlackWhiteList-BqIDyn2Q.js +2 -0
  107. package/dist/drawerBlackWhiteList-CkbZ_9PZ.js +119 -0
  108. package/dist/drawerDictionary-D911w7pC.js +2 -0
  109. package/dist/drawerDictionary-dMHs-6Cw.js +125 -0
  110. package/dist/drawerDictionaryItem-CbTa_qL-.js +137 -0
  111. package/dist/drawerDictionaryItem-DLUI5Yuc.js +2 -0
  112. package/dist/drawerGroup-CEEDMBg9.js +3 -0
  113. package/dist/drawerGroup-DEuiiDPP.js +184 -0
  114. package/dist/drawerOrganization-CqEMD3gE.js +246 -0
  115. package/dist/drawerOrganization-mks5NMd9.js +2 -0
  116. package/dist/drawerPosition-Bd0s7qze.js +165 -0
  117. package/dist/drawerPosition-DwlTrlGA.js +2 -0
  118. package/dist/drawerRegion-DUbQAZuV.js +182 -0
  119. package/dist/drawerRegion-DwVzsZfT.js +2 -0
  120. package/dist/drawerRole-BNrbcSmr.js +3 -0
  121. package/dist/drawerRole-BxUIekjh.js +3 -0
  122. package/dist/drawerRole-CyA2oFht.js +4 -0
  123. package/dist/drawerRole-D5X7oHB_.js +153 -0
  124. package/dist/drawerRole-DNDyOvXw.js +166 -0
  125. package/dist/drawerRole-Dv61PBZR.js +208 -0
  126. package/dist/edit-fZ7h_z_Z.js +2 -0
  127. package/dist/enum-3E_sUqRF.js +50 -0
  128. package/dist/enum-3mYayxff.js +61 -0
  129. package/dist/enum-Cr7uWnB2.js +23 -0
  130. package/dist/enum-D2UEJsrC.js +4 -0
  131. package/dist/group-BbkZjv5e.js +172 -0
  132. package/dist/group.css +1 -0
  133. package/dist/icard-H-d9Pip-.js +2 -0
  134. package/dist/icon_animation-BCdRKkE5.js +2 -0
  135. package/dist/icon_breadcrumb-BR6LK8hP.js +2 -0
  136. package/dist/icon_copyright-BfWn1s6t.js +2 -0
  137. package/dist/icon_jt-DOMTq9De.js +2 -0
  138. package/dist/icon_layout-DKqAThpM.js +2 -0
  139. package/dist/icon_mainpage-CXB9JMGv.js +2 -0
  140. package/dist/icon_menu-BYQtWV-Q.js +2 -0
  141. package/dist/icon_page_size-r-z4oHWp.js +2 -0
  142. package/dist/icon_position_type-JDFdklRh.js +2 -0
  143. package/dist/icon_safe_manage-BDTIOduB.js +2 -0
  144. package/dist/icon_screen_scale-vEaAdr9S.js +2 -0
  145. package/dist/icon_system_manage-CkhQtieE.js +2 -0
  146. package/dist/icon_tabbar-DZNj-h-p.js +2 -0
  147. package/dist/icon_toolbar-BBYhGmEf.js +2 -0
  148. package/dist/icon_topbar-Bc379eaS.js +2 -0
  149. package/dist/icon_watermark-CTP8r-e2.js +2 -0
  150. package/dist/index.css +1 -1
  151. package/dist/index.d.ts +2 -2
  152. package/dist/index.js +7503 -7465
  153. package/dist/interface.d.ts +2 -2
  154. package/dist/isEmpty-BvRqbmpu.js +13 -0
  155. package/dist/itemlist-By-FV6pN.js +156 -0
  156. package/dist/layout_setting-BUAgQ1Bk.js +68 -0
  157. package/dist/layout_setting.css +1 -0
  158. package/dist/log-center-CGT-BGAN.js +2 -0
  159. package/dist/log-vjU7aBPR.js +14 -0
  160. package/dist/loginHistoryDetail-C7GT2yME.js +77 -0
  161. package/dist/loginHistoryDetail-CkH5UUGU.js +3 -0
  162. package/dist/login_history-D08W00Qu.js +195 -0
  163. package/dist/login_history.css +1 -1
  164. package/dist/menu_setting-5Jet091Q.js +155 -0
  165. package/dist/not-data-Cx--tk_h.js +2 -0
  166. package/dist/not-data-tyTawN37.js +2 -0
  167. package/dist/operateHistoryDetail-BaNJRfwy.js +89 -0
  168. package/dist/operateHistoryDetail-CeVPJzD6.js +3 -0
  169. package/dist/operate_history-kJwIuPg2.js +190 -0
  170. package/dist/operate_history.css +1 -1
  171. package/dist/org-main-DnftBa38.js +2 -0
  172. package/dist/org-unmain-ByMarqFw.js +2 -0
  173. package/dist/organization-Cmj3DUXl.js +15322 -0
  174. package/dist/organization.css +1 -0
  175. package/dist/other_setting-DQ70WnZK.js +213 -0
  176. package/dist/other_setting.css +1 -0
  177. package/dist/page_animation_setting-Lp6cMuFM.js +108 -0
  178. package/dist/page_animation_setting.css +1 -0
  179. package/dist/page_w_setting-CD_HtSUv.js +63 -0
  180. package/dist/page_w_setting.css +1 -0
  181. package/dist/position-CLpbgKGj.js +166 -0
  182. package/dist/region-Dd9pt_Si.js +179 -0
  183. package/dist/remove-DfZZBE2T.js +2 -0
  184. package/dist/resource-B-gkg5Ti.js +271 -0
  185. package/dist/resource-app-QSLZ7Hts.js +2 -0
  186. package/dist/resource-btn-BcB4xMgR.js +2 -0
  187. package/dist/resource-dynamic-D69oEbaO.js +2 -0
  188. package/dist/resource-index-BIHr3PZY.js +2 -0
  189. package/dist/resource-menu-0JSNn7S7.js +2 -0
  190. package/dist/resource-micro-CcX_pmaJ.js +2 -0
  191. package/dist/resource-nonmenu-DFItasMT.js +2 -0
  192. package/dist/role-JGtvRObt.js +192 -0
  193. package/dist/role_group-CKOb_m63.js +171 -0
  194. package/dist/routeSystem-DXMoWhFo.js +2 -0
  195. package/dist/routes/index.d.ts +2 -2
  196. package/dist/routes/modules/authority.manage.menu.d.ts +1 -1
  197. package/dist/routes/modules/log.manage.menu.d.ts +1 -1
  198. package/dist/routes/modules/safe.manage.menu.d.ts +1 -1
  199. package/dist/routes/modules/stylesetting.manage.menu.d.ts +1 -1
  200. package/dist/routes/modules/system.manage.menu.d.ts +1 -1
  201. package/dist/safe_setting-G_ZP-jWQ.js +221 -0
  202. package/dist/setItem-Qa7UapHO.js +4 -0
  203. package/dist/setItem-yKhjmUh0.js +76 -0
  204. package/dist/setItem.css +1 -1
  205. package/dist/setting-manage-C9whamLP.js +2 -0
  206. package/dist/stores/view.d.ts +127 -22
  207. package/dist/stores-DPQF8JRt.js +2 -0
  208. package/dist/tabbar_setting-B3kMhRNm.js +139 -0
  209. package/dist/tenant-BBiCJkU_.js +177 -0
  210. package/dist/theme-check-mark-DG4oWCQN.js +2 -0
  211. package/dist/theme-title-BCYnl2jK.js +2 -0
  212. package/dist/theme_setting-vhNDLlkc.js +111 -0
  213. package/dist/theme_setting.css +1 -0
  214. package/dist/{index-C2G4xRrJ.js → toolbar_setting-DNBdxeGP.js} +140 -144
  215. package/dist/useAppAndResource-CPL2VpOJ.js +52 -0
  216. package/dist/user-DvCyUhZW.js +339 -0
  217. package/dist/utils/routeSystem.d.ts +133 -28
  218. package/dist/vanilla-picker-DcG96G63.js +724 -0
  219. package/dist/view-Bnu34EJT.js +2 -0
  220. package/dist/views/blackWhiteList/components/drawerBlackWhiteList.vue.d.ts +3 -8
  221. package/dist/views/blackWhiteList/index.vue.d.ts +2 -1534
  222. package/dist/views/breadcrumb_setting/animationData.d.ts +6 -6
  223. package/dist/views/breadcrumb_setting/index.vue.d.ts +2 -1
  224. package/dist/views/components/HCheckList.vue.d.ts +4 -3
  225. package/dist/views/components/animation_item.vue.d.ts +4 -5
  226. package/dist/views/components/setItem.vue.d.ts +3 -35
  227. package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +3 -169
  228. package/dist/views/data-permission/index.vue.d.ts +2 -1690
  229. package/dist/views/dictionary/components/drawerDictionary.vue.d.ts +3 -8
  230. package/dist/views/dictionary/components/drawerDictionaryItem.vue.d.ts +3 -8
  231. package/dist/views/dictionary/index.vue.d.ts +2 -1531
  232. package/dist/views/dictionary/itemlist.vue.d.ts +2 -1531
  233. package/dist/views/group/components/drawerGroup.vue.d.ts +3 -8
  234. package/dist/views/group/index.vue.d.ts +2 -1531
  235. package/dist/views/layout_setting/index.vue.d.ts +2 -1
  236. package/dist/views/log_center/components/browserType.vue.d.ts +4 -3
  237. package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +4 -10
  238. package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +4 -10
  239. package/dist/views/log_center/login_history.vue.d.ts +2 -1510
  240. package/dist/views/log_center/operate_history.vue.d.ts +2 -1510
  241. package/dist/views/menu_setting/animationData.d.ts +12 -12
  242. package/dist/views/menu_setting/index.vue.d.ts +2 -1
  243. package/dist/views/organization/components/drawerOrganization.vue.d.ts +3 -8
  244. package/dist/views/organization/components/drawerRole.vue.d.ts +3 -41
  245. package/dist/views/organization/index.vue.d.ts +2 -80
  246. package/dist/views/other_setting/animationData.d.ts +6 -6
  247. package/dist/views/other_setting/index.vue.d.ts +2 -1
  248. package/dist/views/other_setting/interface.d.ts +1 -1
  249. package/dist/views/page_animation_setting/animationData.d.ts +10 -10
  250. package/dist/views/page_animation_setting/index.vue.d.ts +2 -1
  251. package/dist/views/page_w_setting/index.vue.d.ts +2 -1
  252. package/dist/views/position/components/drawerPosition.vue.d.ts +3 -8
  253. package/dist/views/position/index.vue.d.ts +2 -1531
  254. package/dist/views/region/components/drawerRegion.vue.d.ts +3 -8
  255. package/dist/views/region/index.vue.d.ts +2 -1532
  256. package/dist/views/resource/components/ComponentSelect.vue.d.ts +5 -6
  257. package/dist/views/resource/components/DynamicRoutesForm.vue.d.ts +8 -6
  258. package/dist/views/resource/components/HoverCard.vue.d.ts +9 -12
  259. package/dist/views/resource/components/IconSelect.vue.d.ts +6 -5
  260. package/dist/views/resource/components/ImportExport.vue.d.ts +4 -7
  261. package/dist/views/resource/components/LayoutForm.vue.d.ts +6 -5
  262. package/dist/views/resource/components/MetaForm.vue.d.ts +6 -5
  263. package/dist/views/resource/components/ResourceEdit.vue.d.ts +4 -9
  264. package/dist/views/resource/components/RoleRelation.vue.d.ts +4 -3
  265. package/dist/views/resource/hooks/useLayoutForm.d.ts +5 -4
  266. package/dist/views/resource/hooks/useMetaForm.d.ts +12 -3
  267. package/dist/views/resource/index.vue.d.ts +2 -1570
  268. package/dist/views/resource/interface.d.ts +1 -1
  269. package/dist/views/role/components/ResourceRelation.vue.d.ts +4 -1512
  270. package/dist/views/role/components/drawerRole.vue.d.ts +3 -45
  271. package/dist/views/role/index.vue.d.ts +2 -3089
  272. package/dist/views/role_group/components/drawerRole.vue.d.ts +3 -41
  273. package/dist/views/role_group/index.vue.d.ts +2 -1564
  274. package/dist/views/safe_setting/index.vue.d.ts +2 -3
  275. package/dist/views/tabbar_setting/animationData.d.ts +10 -10
  276. package/dist/views/tabbar_setting/index.vue.d.ts +2 -1
  277. package/dist/views/tenant/components/TenantEdit.vue.d.ts +4 -10
  278. package/dist/views/tenant/index.vue.d.ts +2 -1533
  279. package/dist/views/theme_setting/index.vue.d.ts +2 -1
  280. package/dist/views/toolbar_setting/animationData.d.ts +14 -14
  281. package/dist/views/toolbar_setting/index.vue.d.ts +2 -1
  282. package/dist/views/user/components/OrgAndPosition.vue.d.ts +8 -7
  283. package/dist/views/user/components/UserAuthorization.vue.d.ts +3 -41
  284. package/dist/views/user/components/UserEdit.vue.d.ts +4 -9
  285. package/dist/views/user/index.vue.d.ts +2 -1593
  286. package/dist/views/watermark_setting/animationData.d.ts +2 -2
  287. package/dist/views/watermark_setting/index.vue.d.ts +2 -30
  288. package/dist/watermark_setting-CXp4Og0Y.js +191 -0
  289. package/dist/watermark_setting.css +1 -0
  290. package/dist/zddata-Ceyga3_2.js +2 -0
  291. package/dist/zy_checked-DvD7k9F8.js +2 -0
  292. package/dist/zy_default-DJ2tB3Fo.js +2 -0
  293. package/package.json +7 -5
  294. package/dist/ComponentSelect-ZLey_5w7.js +0 -4
  295. package/dist/ComponentSelect.vue_vue_type_style_index_0_lang-CMEO08Uz.js +0 -3981
  296. package/dist/DynamicRoutesForm-BU4EAISs.js +0 -4
  297. package/dist/DynamicRoutesForm.vue_vue_type_script_setup_true_lang-bEqJ03T_.js +0 -179
  298. package/dist/HCheckList-Dkxhu1br.js +0 -4
  299. package/dist/HCheckList.vue_vue_type_script_setup_true_lang-n_QczT28.js +0 -41
  300. package/dist/HoverCard-7agF2aDO.js +0 -4
  301. package/dist/HoverCard.vue_vue_type_script_setup_true_lang-DEScDCo1.js +0 -62
  302. package/dist/IconSelect-DtNpk3Rj.js +0 -4
  303. package/dist/IconSelect.vue_vue_type_script_setup_true_lang-D450SiKg.js +0 -757
  304. package/dist/ImportExport-DAe_Sl13.js +0 -4
  305. package/dist/ImportExport.vue_vue_type_script_setup_true_lang-CV0DrMvw.js +0 -456
  306. package/dist/LayoutForm-Pv6UyKl3.js +0 -173
  307. package/dist/MetaForm-BMPtZc0g.js +0 -42413
  308. package/dist/OrgAndPosition-R-YixdXG.js +0 -4
  309. package/dist/OrgAndPosition.vue_vue_type_script_setup_true_lang-jEjTok4n.js +0 -195
  310. package/dist/ResourceEdit-D59JUDvG.js +0 -4
  311. package/dist/ResourceEdit.vue_vue_type_script_setup_true_lang-IWn27Vz1.js +0 -429
  312. package/dist/ResourceRelation-CeM9Eq39.js +0 -90
  313. package/dist/ResourceRelation-qhIdXLAy.js +0 -111
  314. package/dist/RoleRelation-BuqK0cnl.js +0 -4
  315. package/dist/RoleRelation.vue_vue_type_script_setup_true_lang-BjEOlM2g.js +0 -93
  316. package/dist/RoleSelector.vue_vue_type_script_setup_true_lang-ZwsINUBu.js +0 -352
  317. package/dist/TenantEdit-C61O1pSu.js +0 -4
  318. package/dist/TenantEdit.vue_vue_type_script_setup_true_lang-BwsA9hth.js +0 -306
  319. package/dist/UserAuthorization-Ch_iKzms.js +0 -273
  320. package/dist/UserEdit-B1fnFcSC.js +0 -4
  321. package/dist/UserEdit.vue_vue_type_script_setup_true_lang-SIR1ZO_N.js +0 -315
  322. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  323. package/dist/add-child-B9gDBQjZ.js +0 -4
  324. package/dist/animation_item-BZ1HNA6o.js +0 -4
  325. package/dist/animation_item.vue_vue_type_script_setup_true_lang-CmwThjHB.js +0 -4858
  326. package/dist/authority-B-0S66Fv.js +0 -4
  327. package/dist/authorize-DnyYvAo3.js +0 -4
  328. package/dist/blacklist-disable-DzVU8JLV.js +0 -4
  329. package/dist/blacklist-enable-BmWQR1i4.js +0 -4
  330. package/dist/browser-chrome-O9MASusF.js +0 -4
  331. package/dist/browser-edge-Dk6N_uRy.js +0 -4
  332. package/dist/browser-ie-Dtz7hQTC.js +0 -4
  333. package/dist/browser-other-Crzi8vov.js +0 -4
  334. package/dist/browser-safari-DF0pVlrn.js +0 -4
  335. package/dist/browserType-DQySszjD.js +0 -4
  336. package/dist/browserType.vue_vue_type_script_setup_true_lang-od1-AmrS.js +0 -32
  337. package/dist/cloneDeep-BOLZdR62.js +0 -8
  338. package/dist/createAndEditDataPermission-DPeFulie.js +0 -4
  339. package/dist/createAndEditDataPermission.vue_vue_type_script_setup_true_lang-DlUIYtif.js +0 -528
  340. package/dist/dayjs.min-B2Yn1Frg.js +0 -284
  341. package/dist/drawerBlackWhiteList-eWyKScZN.js +0 -4
  342. package/dist/drawerBlackWhiteList.vue_vue_type_script_setup_true_lang-CNBKo3Jg.js +0 -173
  343. package/dist/drawerDictionary-BRGmcIFT.js +0 -4
  344. package/dist/drawerDictionary.vue_vue_type_script_setup_true_lang-0zsptmrP.js +0 -146
  345. package/dist/drawerDictionaryItem-CFBfyhEw.js +0 -4
  346. package/dist/drawerDictionaryItem.vue_vue_type_script_setup_true_lang-DeJblyyZ.js +0 -158
  347. package/dist/drawerGroup-Bs1Z8XPo.js +0 -4
  348. package/dist/drawerGroup.vue_vue_type_script_setup_true_lang-ClG-M0Ru.js +0 -202
  349. package/dist/drawerOrganization-Bs0YtPuo.js +0 -4
  350. package/dist/drawerOrganization.vue_vue_type_script_setup_true_lang-5YJaULAh.js +0 -250
  351. package/dist/drawerPosition-BA_gLotd.js +0 -4
  352. package/dist/drawerPosition.vue_vue_type_script_setup_true_lang-ZqfbI05C.js +0 -181
  353. package/dist/drawerRegion-CauOP4lh.js +0 -4
  354. package/dist/drawerRegion.vue_vue_type_script_setup_true_lang-DeL9jV-P.js +0 -235
  355. package/dist/drawerRole-CXGVqxPX.js +0 -4
  356. package/dist/drawerRole-CfJjf3v_.js +0 -4
  357. package/dist/drawerRole-nmMTIQYS.js +0 -4
  358. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B-VZS3gq.js +0 -243
  359. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-B1eT0e_Q.js +0 -197
  360. package/dist/drawerRole.vue_vue_type_script_setup_true_lang-Surpf3ov.js +0 -191
  361. package/dist/edit-B69fMWPH.js +0 -4
  362. package/dist/enum-C9ihxJe7.js +0 -4
  363. package/dist/enum-D5iPiZiT.js +0 -17
  364. package/dist/enum-DDKThkSw.js +0 -24
  365. package/dist/enum-DkSNwGbC.js +0 -74
  366. package/dist/gangweijiekou-CUGlx4Ni.js +0 -48
  367. package/dist/icard-C4FaIC0V.js +0 -4
  368. package/dist/icon_animation-CfRxn8ne.js +0 -4
  369. package/dist/icon_breadcrumb-CAPCH16K.js +0 -4
  370. package/dist/icon_copyright-T9HuRtib.js +0 -4
  371. package/dist/icon_jt-BZgxEG_D.js +0 -4
  372. package/dist/icon_layout-BynQzkfn.js +0 -4
  373. package/dist/icon_mainpage-Bu_lyj_6.js +0 -4
  374. package/dist/icon_menu-D41hl_4p.js +0 -4
  375. package/dist/icon_page_size-Bioi61il.js +0 -4
  376. package/dist/icon_position_type-QpezzPDJ.js +0 -4
  377. package/dist/icon_safe_manage-ByWMOnwf.js +0 -4
  378. package/dist/icon_screen_scale-CuPyb7Ni.js +0 -4
  379. package/dist/icon_system_manage-BxRLv7Nw.js +0 -4
  380. package/dist/icon_tabbar-CetwmJHN.js +0 -4
  381. package/dist/icon_toolbar-DXt_LXp8.js +0 -4
  382. package/dist/icon_topbar-C186yIiC.js +0 -4
  383. package/dist/icon_watermark-DhaloO3m.js +0 -4
  384. package/dist/index-B0zXLUdu.js +0 -350
  385. package/dist/index-B5aP0re3.js +0 -170
  386. package/dist/index-BEB4liGe.js +0 -151
  387. package/dist/index-BNwGLzXe.js +0 -168
  388. package/dist/index-BXvJhqJD.js +0 -97
  389. package/dist/index-BhZNbJp6.js +0 -189
  390. package/dist/index-Bm3WQuJD.js +0 -226
  391. package/dist/index-C5WD-YUu.js +0 -246
  392. package/dist/index-CJQB8KAz.js +0 -186
  393. package/dist/index-CLnFLvHy.js +0 -193
  394. package/dist/index-CbVJdR5M.js +0 -194
  395. package/dist/index-ChWnVs6j.js +0 -196
  396. package/dist/index-CoZM8pyH.js +0 -197
  397. package/dist/index-Copy5kiW.js +0 -17701
  398. package/dist/index-D3Xw_aOi.js +0 -144
  399. package/dist/index-DHVEXch0.js +0 -253
  400. package/dist/index-DQhQqT_Z.js +0 -269
  401. package/dist/index-Dl0hWfIE.js +0 -118
  402. package/dist/index-En8oOf9e.js +0 -168
  403. package/dist/index-VZuizuKs.js +0 -257
  404. package/dist/index-XhYtVVT9.js +0 -88
  405. package/dist/index-iBmBJd50.js +0 -181
  406. package/dist/index10.css +0 -1
  407. package/dist/index13.css +0 -1
  408. package/dist/index16.css +0 -1
  409. package/dist/index17.css +0 -1
  410. package/dist/index4.css +0 -1
  411. package/dist/index5.css +0 -1
  412. package/dist/index7.css +0 -1
  413. package/dist/index8.css +0 -1
  414. package/dist/index9.css +0 -1
  415. package/dist/isEmpty-BgDIb4aS.js +0 -20
  416. package/dist/itemlist-zTYJtoSs.js +0 -172
  417. package/dist/jiaosejiekou-p42Hm9h3.js +0 -58
  418. package/dist/log-center-Bw9UlmOq.js +0 -4
  419. package/dist/loginHistoryDetail-BZVwG8m2.js +0 -105
  420. package/dist/login_history-CMZGS2PN.js +0 -221
  421. package/dist/not-data-BDuvYboz.js +0 -4
  422. package/dist/operateHistoryDetail-Badx3zl-.js +0 -123
  423. package/dist/operate_history-B42WNY1u.js +0 -217
  424. package/dist/org-main-DfWpX8Wv.js +0 -4
  425. package/dist/org-unmain-DrX63NH5.js +0 -4
  426. package/dist/remove-D2ES5tEr.js +0 -4
  427. package/dist/resource-app-1lqF6C6F.js +0 -4
  428. package/dist/resource-btn-Cfo6ddAY.js +0 -4
  429. package/dist/resource-dynamic-BAwkCWS4.js +0 -4
  430. package/dist/resource-index-BS4V5uy8.js +0 -4
  431. package/dist/resource-menu-CEWU8Iis.js +0 -4
  432. package/dist/resource-micro-9S0h5AlK.js +0 -4
  433. package/dist/resource-nonmenu-BZ9e4ynT.js +0 -4
  434. package/dist/setItem-Blb3dox4.js +0 -87
  435. package/dist/setting-manage-Xj_s0OoK.js +0 -4
  436. package/dist/shujuquanxianzhubiaokongzhiqi-SpN37fyO.js +0 -65
  437. package/dist/theme-check-mark-D58efagJ.js +0 -4
  438. package/dist/theme-title-CYUX2SBW.js +0 -4
  439. package/dist/useAppAndResource-DDywX2iz.js +0 -54
  440. package/dist/vanilla-picker-BAEwS4Fy.js +0 -536
  441. package/dist/view-BCWU0JWM.js +0 -4
  442. package/dist/xitongpeizhifuwu-BoCbGEk7.js +0 -23
  443. package/dist/zddata-DQP5Kx3c.js +0 -4
  444. package/dist/ziyuanjiekou-BC65-bFK.js +0 -69
  445. package/dist/zuzhijiaosebiaokongzhiqi-Cj4ZjkfZ.js +0 -28
  446. package/dist/zy_checked-Bb6zRsYe.js +0 -4
  447. package/dist/zy_default-BGjhoury.js +0 -4
  448. /package/dist/{index2.css → breadcrumb_setting.css} +0 -0
  449. /package/dist/{index3.css → data-permission.css} +0 -0
  450. /package/dist/{index6.css → menu_setting.css} +0 -0
  451. /package/dist/{index11.css → safe_setting.css} +0 -0
  452. /package/dist/{index12.css → tabbar_setting.css} +0 -0
  453. /package/dist/{index14.css → toolbar_setting.css} +0 -0
  454. /package/dist/{index15.css → user.css} +0 -0
@@ -0,0 +1,4485 @@
1
+ import { o as __toESM, t as __commonJSMin } from "./chunk-Cpsc_9al.js";
2
+ import { It as tryOnMounted } from "./index.js";
3
+ import { useTheme } from "pubinfo-nightly";
4
+ import { computed, createElementBlock, defineComponent, onMounted, onUnmounted, openBlock, ref, unref, watch } from "vue";
5
+ var import_lottie_light = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((e, t) => {
6
+ typeof document < "u" && typeof navigator < "u" && (function(n, r) {
7
+ typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self, n.lottie = r());
8
+ })(e, (function() {
9
+ var n = "http://www.w3.org/2000/svg", r = "", i = !1, a = -999999, o = function(e) {
10
+ i = !!e;
11
+ }, s = function() {
12
+ return i;
13
+ }, c = function(e) {
14
+ r = e;
15
+ }, l = function() {
16
+ return r;
17
+ };
18
+ function u(e) {
19
+ return document.createElement(e);
20
+ }
21
+ function d(e, t) {
22
+ var n, r = e.length, i;
23
+ for (n = 0; n < r; n += 1) for (var a in i = e[n].prototype, i) Object.prototype.hasOwnProperty.call(i, a) && (t.prototype[a] = i[a]);
24
+ }
25
+ function f(e) {
26
+ function t() {}
27
+ return t.prototype = e, t;
28
+ }
29
+ var p = function() {
30
+ function e(e) {
31
+ this.audios = [], this.audioFactory = e, this._volume = 1, this._isMuted = !1;
32
+ }
33
+ return e.prototype = {
34
+ addAudio: function(e) {
35
+ this.audios.push(e);
36
+ },
37
+ pause: function() {
38
+ var e, t = this.audios.length;
39
+ for (e = 0; e < t; e += 1) this.audios[e].pause();
40
+ },
41
+ resume: function() {
42
+ var e, t = this.audios.length;
43
+ for (e = 0; e < t; e += 1) this.audios[e].resume();
44
+ },
45
+ setRate: function(e) {
46
+ var t, n = this.audios.length;
47
+ for (t = 0; t < n; t += 1) this.audios[t].setRate(e);
48
+ },
49
+ createAudio: function(e) {
50
+ return this.audioFactory ? this.audioFactory(e) : window.Howl ? new window.Howl({ src: [e] }) : {
51
+ isPlaying: !1,
52
+ play: function() {
53
+ this.isPlaying = !0;
54
+ },
55
+ seek: function() {
56
+ this.isPlaying = !1;
57
+ },
58
+ playing: function() {},
59
+ rate: function() {},
60
+ setVolume: function() {}
61
+ };
62
+ },
63
+ setAudioFactory: function(e) {
64
+ this.audioFactory = e;
65
+ },
66
+ setVolume: function(e) {
67
+ this._volume = e, this._updateVolume();
68
+ },
69
+ mute: function() {
70
+ this._isMuted = !0, this._updateVolume();
71
+ },
72
+ unmute: function() {
73
+ this._isMuted = !1, this._updateVolume();
74
+ },
75
+ getVolume: function() {
76
+ return this._volume;
77
+ },
78
+ _updateVolume: function() {
79
+ var e, t = this.audios.length;
80
+ for (e = 0; e < t; e += 1) this.audios[e].volume(this._volume * (this._isMuted ? 0 : 1));
81
+ }
82
+ }, function() {
83
+ return new e();
84
+ };
85
+ }(), m = function() {
86
+ function e(e, t) {
87
+ var n = 0, r = [], i;
88
+ switch (e) {
89
+ case "int16":
90
+ case "uint8c":
91
+ i = 1;
92
+ break;
93
+ default:
94
+ i = 1.1;
95
+ break;
96
+ }
97
+ for (n = 0; n < t; n += 1) r.push(i);
98
+ return r;
99
+ }
100
+ function t(t, n) {
101
+ return t === "float32" ? new Float32Array(n) : t === "int16" ? new Int16Array(n) : t === "uint8c" ? new Uint8ClampedArray(n) : e(t, n);
102
+ }
103
+ return typeof Uint8ClampedArray == "function" && typeof Float32Array == "function" ? t : e;
104
+ }();
105
+ function h(e) {
106
+ return Array.apply(null, { length: e });
107
+ }
108
+ function g(e) {
109
+ "@babel/helpers - typeof";
110
+ return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
111
+ return typeof e;
112
+ } : function(e) {
113
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
114
+ }, g(e);
115
+ }
116
+ var _ = !0, v = null, y = null, b = "", x = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), S = Math.pow, C = Math.sqrt, w = Math.floor;
117
+ Math.max;
118
+ var T = Math.min, E = {};
119
+ (function() {
120
+ var e = /* @__PURE__ */ "abs.acos.acosh.asin.asinh.atan.atanh.atan2.ceil.cbrt.expm1.clz32.cos.cosh.exp.floor.fround.hypot.imul.log.log1p.log2.log10.max.min.pow.random.round.sign.sin.sinh.sqrt.tan.tanh.trunc.E.LN10.LN2.LOG10E.LOG2E.PI.SQRT1_2.SQRT2".split("."), t, n = e.length;
121
+ for (t = 0; t < n; t += 1) E[e[t]] = Math[e[t]];
122
+ })(), E.random = Math.random, E.abs = function(e) {
123
+ if (g(e) === "object" && e.length) {
124
+ var t = h(e.length), n, r = e.length;
125
+ for (n = 0; n < r; n += 1) t[n] = Math.abs(e[n]);
126
+ return t;
127
+ }
128
+ return Math.abs(e);
129
+ };
130
+ var D = 150, O = Math.PI / 180, k = .5519;
131
+ function A(e, t, n, r) {
132
+ this.type = e, this.currentTime = t, this.totalTime = n, this.direction = r < 0 ? -1 : 1;
133
+ }
134
+ function j(e, t) {
135
+ this.type = e, this.direction = t < 0 ? -1 : 1;
136
+ }
137
+ function M(e, t, n, r) {
138
+ this.type = e, this.currentLoop = n, this.totalLoops = t, this.direction = r < 0 ? -1 : 1;
139
+ }
140
+ function N(e, t, n) {
141
+ this.type = e, this.firstFrame = t, this.totalFrames = n;
142
+ }
143
+ function P(e, t) {
144
+ this.type = e, this.target = t;
145
+ }
146
+ function F(e, t) {
147
+ this.type = "renderFrameError", this.nativeError = e, this.currentTime = t;
148
+ }
149
+ function ee(e) {
150
+ this.type = "configError", this.nativeError = e;
151
+ }
152
+ var I = function() {
153
+ var e = 0;
154
+ return function() {
155
+ return e += 1, b + "__lottie_element_" + e;
156
+ };
157
+ }();
158
+ function te(e, t, n) {
159
+ var r, i, a, o = Math.floor(e * 6), s = e * 6 - o, c = n * (1 - t), l = n * (1 - s * t), u = n * (1 - (1 - s) * t);
160
+ switch (o % 6) {
161
+ case 0:
162
+ r = n, i = u, a = c;
163
+ break;
164
+ case 1:
165
+ r = l, i = n, a = c;
166
+ break;
167
+ case 2:
168
+ r = c, i = n, a = u;
169
+ break;
170
+ case 3:
171
+ r = c, i = l, a = n;
172
+ break;
173
+ case 4:
174
+ r = u, i = c, a = n;
175
+ break;
176
+ case 5:
177
+ r = n, i = c, a = l;
178
+ break;
179
+ default: break;
180
+ }
181
+ return [
182
+ r,
183
+ i,
184
+ a
185
+ ];
186
+ }
187
+ function ne(e, t, n) {
188
+ var r = Math.max(e, t, n), i = Math.min(e, t, n), a = r - i, o, s = r === 0 ? 0 : a / r, c = r / 255;
189
+ switch (r) {
190
+ case i:
191
+ o = 0;
192
+ break;
193
+ case e:
194
+ o = t - n + a * (t < n ? 6 : 0), o /= 6 * a;
195
+ break;
196
+ case t:
197
+ o = n - e + a * 2, o /= 6 * a;
198
+ break;
199
+ case n:
200
+ o = e - t + a * 4, o /= 6 * a;
201
+ break;
202
+ default: break;
203
+ }
204
+ return [
205
+ o,
206
+ s,
207
+ c
208
+ ];
209
+ }
210
+ function re(e, t) {
211
+ var n = ne(e[0] * 255, e[1] * 255, e[2] * 255);
212
+ return n[1] += t, n[1] > 1 ? n[1] = 1 : n[1] <= 0 && (n[1] = 0), te(n[0], n[1], n[2]);
213
+ }
214
+ function ie(e, t) {
215
+ var n = ne(e[0] * 255, e[1] * 255, e[2] * 255);
216
+ return n[2] += t, n[2] > 1 ? n[2] = 1 : n[2] < 0 && (n[2] = 0), te(n[0], n[1], n[2]);
217
+ }
218
+ function ae(e, t) {
219
+ var n = ne(e[0] * 255, e[1] * 255, e[2] * 255);
220
+ return n[0] += t / 360, n[0] > 1 ? --n[0] : n[0] < 0 && (n[0] += 1), te(n[0], n[1], n[2]);
221
+ }
222
+ (function() {
223
+ var e = [], t, n;
224
+ for (t = 0; t < 256; t += 1) n = t.toString(16), e[t] = n.length === 1 ? "0" + n : n;
225
+ return function(t, n, r) {
226
+ return t < 0 && (t = 0), n < 0 && (n = 0), r < 0 && (r = 0), "#" + e[t] + e[n] + e[r];
227
+ };
228
+ })();
229
+ var oe = function(e) {
230
+ _ = !!e;
231
+ }, se = function() {
232
+ return _;
233
+ }, ce = function(e) {
234
+ v = e;
235
+ }, le = function() {
236
+ return v;
237
+ }, ue = function() {
238
+ return y;
239
+ }, de = function(e) {
240
+ D = e;
241
+ }, fe = function() {
242
+ return D;
243
+ }, pe = function(e) {
244
+ b = e;
245
+ };
246
+ function L(e) {
247
+ return document.createElementNS(n, e);
248
+ }
249
+ function R(e) {
250
+ "@babel/helpers - typeof";
251
+ return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
252
+ return typeof e;
253
+ } : function(e) {
254
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
255
+ }, R(e);
256
+ }
257
+ var z = function() {
258
+ var e = 1, t = [], n, r, i = {
259
+ onmessage: function() {},
260
+ postMessage: function(e) {
261
+ n({ data: e });
262
+ }
263
+ }, a = { postMessage: function(e) {
264
+ i.onmessage({ data: e });
265
+ } };
266
+ function o(e) {
267
+ if (window.Worker && window.Blob && s()) {
268
+ var t = new Blob(["var _workerSelf = self; self.onmessage = ", e.toString()], { type: "text/javascript" }), r = URL.createObjectURL(t);
269
+ return new Worker(r);
270
+ }
271
+ return n = e, i;
272
+ }
273
+ function c() {
274
+ r || (r = o(function(e) {
275
+ function t() {
276
+ function e(t, n) {
277
+ var o, s, c = t.length, l, u, d, f;
278
+ for (s = 0; s < c; s += 1) if (o = t[s], "ks" in o && !o.completed) {
279
+ if (o.completed = !0, o.hasMask) {
280
+ var m = o.masksProperties;
281
+ for (u = m.length, l = 0; l < u; l += 1) if (m[l].pt.k.i) a(m[l].pt.k);
282
+ else for (f = m[l].pt.k.length, d = 0; d < f; d += 1) m[l].pt.k[d].s && a(m[l].pt.k[d].s[0]), m[l].pt.k[d].e && a(m[l].pt.k[d].e[0]);
283
+ }
284
+ o.ty === 0 ? (o.layers = r(o.refId, n), e(o.layers, n)) : o.ty === 4 ? i(o.shapes) : o.ty === 5 && p(o);
285
+ }
286
+ }
287
+ function t(t, n) {
288
+ if (t) {
289
+ var i = 0, a = t.length;
290
+ for (i = 0; i < a; i += 1) t[i].t === 1 && (t[i].data.layers = r(t[i].data.refId, n), e(t[i].data.layers, n));
291
+ }
292
+ }
293
+ function n(e, t) {
294
+ for (var n = 0, r = t.length; n < r;) {
295
+ if (t[n].id === e) return t[n];
296
+ n += 1;
297
+ }
298
+ return null;
299
+ }
300
+ function r(e, t) {
301
+ var r = n(e, t);
302
+ return r ? r.layers.__used ? JSON.parse(JSON.stringify(r.layers)) : (r.layers.__used = !0, r.layers) : null;
303
+ }
304
+ function i(e) {
305
+ var t, n = e.length, r, o;
306
+ for (t = n - 1; t >= 0; --t) if (e[t].ty === "sh") if (e[t].ks.k.i) a(e[t].ks.k);
307
+ else for (o = e[t].ks.k.length, r = 0; r < o; r += 1) e[t].ks.k[r].s && a(e[t].ks.k[r].s[0]), e[t].ks.k[r].e && a(e[t].ks.k[r].e[0]);
308
+ else e[t].ty === "gr" && i(e[t].it);
309
+ }
310
+ function a(e) {
311
+ var t, n = e.i.length;
312
+ for (t = 0; t < n; t += 1) e.i[t][0] += e.v[t][0], e.i[t][1] += e.v[t][1], e.o[t][0] += e.v[t][0], e.o[t][1] += e.v[t][1];
313
+ }
314
+ function o(e, t) {
315
+ var n = t ? t.split(".") : [
316
+ 100,
317
+ 100,
318
+ 100
319
+ ];
320
+ return e[0] > n[0] ? !0 : n[0] > e[0] ? !1 : e[1] > n[1] ? !0 : n[1] > e[1] ? !1 : e[2] > n[2] ? !0 : n[2] > e[2] ? !1 : null;
321
+ }
322
+ var s = function() {
323
+ var e = [
324
+ 4,
325
+ 4,
326
+ 14
327
+ ];
328
+ function t(e) {
329
+ var t = e.t.d;
330
+ e.t.d = { k: [{
331
+ s: t,
332
+ t: 0
333
+ }] };
334
+ }
335
+ function n(e) {
336
+ var n, r = e.length;
337
+ for (n = 0; n < r; n += 1) e[n].ty === 5 && t(e[n]);
338
+ }
339
+ return function(t) {
340
+ if (o(e, t.v) && (n(t.layers), t.assets)) {
341
+ var r, i = t.assets.length;
342
+ for (r = 0; r < i; r += 1) t.assets[r].layers && n(t.assets[r].layers);
343
+ }
344
+ };
345
+ }(), c = function() {
346
+ var e = [
347
+ 4,
348
+ 7,
349
+ 99
350
+ ];
351
+ return function(t) {
352
+ if (t.chars && !o(e, t.v)) {
353
+ var n, r = t.chars.length;
354
+ for (n = 0; n < r; n += 1) {
355
+ var a = t.chars[n];
356
+ a.data && a.data.shapes && (i(a.data.shapes), a.data.ip = 0, a.data.op = 99999, a.data.st = 0, a.data.sr = 1, a.data.ks = {
357
+ p: {
358
+ k: [0, 0],
359
+ a: 0
360
+ },
361
+ s: {
362
+ k: [100, 100],
363
+ a: 0
364
+ },
365
+ a: {
366
+ k: [0, 0],
367
+ a: 0
368
+ },
369
+ r: {
370
+ k: 0,
371
+ a: 0
372
+ },
373
+ o: {
374
+ k: 100,
375
+ a: 0
376
+ }
377
+ }, t.chars[n].t || (a.data.shapes.push({ ty: "no" }), a.data.shapes[0].it.push({
378
+ p: {
379
+ k: [0, 0],
380
+ a: 0
381
+ },
382
+ s: {
383
+ k: [100, 100],
384
+ a: 0
385
+ },
386
+ a: {
387
+ k: [0, 0],
388
+ a: 0
389
+ },
390
+ r: {
391
+ k: 0,
392
+ a: 0
393
+ },
394
+ o: {
395
+ k: 100,
396
+ a: 0
397
+ },
398
+ sk: {
399
+ k: 0,
400
+ a: 0
401
+ },
402
+ sa: {
403
+ k: 0,
404
+ a: 0
405
+ },
406
+ ty: "tr"
407
+ })));
408
+ }
409
+ }
410
+ };
411
+ }(), l = function() {
412
+ var e = [
413
+ 5,
414
+ 7,
415
+ 15
416
+ ];
417
+ function t(e) {
418
+ var t = e.t.p;
419
+ typeof t.a == "number" && (t.a = {
420
+ a: 0,
421
+ k: t.a
422
+ }), typeof t.p == "number" && (t.p = {
423
+ a: 0,
424
+ k: t.p
425
+ }), typeof t.r == "number" && (t.r = {
426
+ a: 0,
427
+ k: t.r
428
+ });
429
+ }
430
+ function n(e) {
431
+ var n, r = e.length;
432
+ for (n = 0; n < r; n += 1) e[n].ty === 5 && t(e[n]);
433
+ }
434
+ return function(t) {
435
+ if (o(e, t.v) && (n(t.layers), t.assets)) {
436
+ var r, i = t.assets.length;
437
+ for (r = 0; r < i; r += 1) t.assets[r].layers && n(t.assets[r].layers);
438
+ }
439
+ };
440
+ }(), u = function() {
441
+ var e = [
442
+ 4,
443
+ 1,
444
+ 9
445
+ ];
446
+ function t(e) {
447
+ var n, r = e.length, i, a;
448
+ for (n = 0; n < r; n += 1) if (e[n].ty === "gr") t(e[n].it);
449
+ else if (e[n].ty === "fl" || e[n].ty === "st") if (e[n].c.k && e[n].c.k[0].i) for (a = e[n].c.k.length, i = 0; i < a; i += 1) e[n].c.k[i].s && (e[n].c.k[i].s[0] /= 255, e[n].c.k[i].s[1] /= 255, e[n].c.k[i].s[2] /= 255, e[n].c.k[i].s[3] /= 255), e[n].c.k[i].e && (e[n].c.k[i].e[0] /= 255, e[n].c.k[i].e[1] /= 255, e[n].c.k[i].e[2] /= 255, e[n].c.k[i].e[3] /= 255);
450
+ else e[n].c.k[0] /= 255, e[n].c.k[1] /= 255, e[n].c.k[2] /= 255, e[n].c.k[3] /= 255;
451
+ }
452
+ function n(e) {
453
+ var n, r = e.length;
454
+ for (n = 0; n < r; n += 1) e[n].ty === 4 && t(e[n].shapes);
455
+ }
456
+ return function(t) {
457
+ if (o(e, t.v) && (n(t.layers), t.assets)) {
458
+ var r, i = t.assets.length;
459
+ for (r = 0; r < i; r += 1) t.assets[r].layers && n(t.assets[r].layers);
460
+ }
461
+ };
462
+ }(), d = function() {
463
+ var e = [
464
+ 4,
465
+ 4,
466
+ 18
467
+ ];
468
+ function t(e) {
469
+ var n, r = e.length, i, a;
470
+ for (n = r - 1; n >= 0; --n) if (e[n].ty === "sh") if (e[n].ks.k.i) e[n].ks.k.c = e[n].closed;
471
+ else for (a = e[n].ks.k.length, i = 0; i < a; i += 1) e[n].ks.k[i].s && (e[n].ks.k[i].s[0].c = e[n].closed), e[n].ks.k[i].e && (e[n].ks.k[i].e[0].c = e[n].closed);
472
+ else e[n].ty === "gr" && t(e[n].it);
473
+ }
474
+ function n(e) {
475
+ var n, r, i = e.length, a, o, s, c;
476
+ for (r = 0; r < i; r += 1) {
477
+ if (n = e[r], n.hasMask) {
478
+ var l = n.masksProperties;
479
+ for (o = l.length, a = 0; a < o; a += 1) if (l[a].pt.k.i) l[a].pt.k.c = l[a].cl;
480
+ else for (c = l[a].pt.k.length, s = 0; s < c; s += 1) l[a].pt.k[s].s && (l[a].pt.k[s].s[0].c = l[a].cl), l[a].pt.k[s].e && (l[a].pt.k[s].e[0].c = l[a].cl);
481
+ }
482
+ n.ty === 4 && t(n.shapes);
483
+ }
484
+ }
485
+ return function(t) {
486
+ if (o(e, t.v) && (n(t.layers), t.assets)) {
487
+ var r, i = t.assets.length;
488
+ for (r = 0; r < i; r += 1) t.assets[r].layers && n(t.assets[r].layers);
489
+ }
490
+ };
491
+ }();
492
+ function f(n) {
493
+ n.__complete ||= (u(n), s(n), c(n), l(n), d(n), e(n.layers, n.assets), t(n.chars, n.assets), !0);
494
+ }
495
+ function p(e) {
496
+ e.t.a.length === 0 && "m" in e.t.p;
497
+ }
498
+ var m = {};
499
+ return m.completeData = f, m.checkColors = u, m.checkChars = c, m.checkPathProperties = l, m.checkShapes = d, m.completeLayers = e, m;
500
+ }
501
+ if (a.dataManager ||= t(), a.assetLoader ||= function() {
502
+ function e(e) {
503
+ var t = e.getResponseHeader("content-type");
504
+ return t && e.responseType === "json" && t.indexOf("json") !== -1 || e.response && R(e.response) === "object" ? e.response : e.response && typeof e.response == "string" ? JSON.parse(e.response) : e.responseText ? JSON.parse(e.responseText) : null;
505
+ }
506
+ function t(t, n, r, i) {
507
+ var a, o = new XMLHttpRequest();
508
+ try {
509
+ o.responseType = "json";
510
+ } catch {}
511
+ o.onreadystatechange = function() {
512
+ if (o.readyState === 4) if (o.status === 200) a = e(o), r(a);
513
+ else try {
514
+ a = e(o), r(a);
515
+ } catch (e) {
516
+ i && i(e);
517
+ }
518
+ };
519
+ try {
520
+ o.open([
521
+ "G",
522
+ "E",
523
+ "T"
524
+ ].join(""), t, !0);
525
+ } catch {
526
+ o.open([
527
+ "G",
528
+ "E",
529
+ "T"
530
+ ].join(""), n + "/" + t, !0);
531
+ }
532
+ o.send();
533
+ }
534
+ return { load: t };
535
+ }(), e.data.type === "loadAnimation") a.assetLoader.load(e.data.path, e.data.fullPath, function(t) {
536
+ a.dataManager.completeData(t), a.postMessage({
537
+ id: e.data.id,
538
+ payload: t,
539
+ status: "success"
540
+ });
541
+ }, function() {
542
+ a.postMessage({
543
+ id: e.data.id,
544
+ status: "error"
545
+ });
546
+ });
547
+ else if (e.data.type === "complete") {
548
+ var n = e.data.animation;
549
+ a.dataManager.completeData(n), a.postMessage({
550
+ id: e.data.id,
551
+ payload: n,
552
+ status: "success"
553
+ });
554
+ } else e.data.type === "loadData" && a.assetLoader.load(e.data.path, e.data.fullPath, function(t) {
555
+ a.postMessage({
556
+ id: e.data.id,
557
+ payload: t,
558
+ status: "success"
559
+ });
560
+ }, function() {
561
+ a.postMessage({
562
+ id: e.data.id,
563
+ status: "error"
564
+ });
565
+ });
566
+ }), r.onmessage = function(e) {
567
+ var n = e.data, r = n.id, i = t[r];
568
+ t[r] = null, n.status === "success" ? i.onComplete(n.payload) : i.onError && i.onError();
569
+ });
570
+ }
571
+ function l(n, r) {
572
+ e += 1;
573
+ var i = "processId_" + e;
574
+ return t[i] = {
575
+ onComplete: n,
576
+ onError: r
577
+ }, i;
578
+ }
579
+ function u(e, t, n) {
580
+ c();
581
+ var i = l(t, n);
582
+ r.postMessage({
583
+ type: "loadAnimation",
584
+ path: e,
585
+ fullPath: window.location.origin + window.location.pathname,
586
+ id: i
587
+ });
588
+ }
589
+ function d(e, t, n) {
590
+ c();
591
+ var i = l(t, n);
592
+ r.postMessage({
593
+ type: "loadData",
594
+ path: e,
595
+ fullPath: window.location.origin + window.location.pathname,
596
+ id: i
597
+ });
598
+ }
599
+ function f(e, t, n) {
600
+ c();
601
+ var i = l(t, n);
602
+ r.postMessage({
603
+ type: "complete",
604
+ animation: e,
605
+ id: i
606
+ });
607
+ }
608
+ return {
609
+ loadAnimation: u,
610
+ loadData: d,
611
+ completeAnimation: f
612
+ };
613
+ }(), me = function() {
614
+ var e = function() {
615
+ var e = u("canvas");
616
+ e.width = 1, e.height = 1;
617
+ var t = e.getContext("2d");
618
+ return t.fillStyle = "rgba(0,0,0,0)", t.fillRect(0, 0, 1, 1), e;
619
+ }();
620
+ function t() {
621
+ this.loadedAssets += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
622
+ }
623
+ function n() {
624
+ this.loadedFootagesCount += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
625
+ }
626
+ function r(e, t, n) {
627
+ var r = "";
628
+ if (e.e) r = e.p;
629
+ else if (t) {
630
+ var i = e.p;
631
+ i.indexOf("images/") !== -1 && (i = i.split("/")[1]), r = t + i;
632
+ } else r = n, r += e.u ? e.u : "", r += e.p;
633
+ return r;
634
+ }
635
+ function i(e) {
636
+ var t = 0, n = setInterval(function() {
637
+ (e.getBBox().width || t > 500) && (this._imageLoaded(), clearInterval(n)), t += 1;
638
+ }.bind(this), 50);
639
+ }
640
+ function a(t) {
641
+ var n = r(t, this.assetsPath, this.path), i = L("image");
642
+ x ? this.testImageLoaded(i) : i.addEventListener("load", this._imageLoaded, !1), i.addEventListener("error", function() {
643
+ a.img = e, this._imageLoaded();
644
+ }.bind(this), !1), i.setAttributeNS("http://www.w3.org/1999/xlink", "href", n), this._elementHelper.append ? this._elementHelper.append(i) : this._elementHelper.appendChild(i);
645
+ var a = {
646
+ img: i,
647
+ assetData: t
648
+ };
649
+ return a;
650
+ }
651
+ function o(t) {
652
+ var n = r(t, this.assetsPath, this.path), i = u("img");
653
+ i.crossOrigin = "anonymous", i.addEventListener("load", this._imageLoaded, !1), i.addEventListener("error", function() {
654
+ a.img = e, this._imageLoaded();
655
+ }.bind(this), !1), i.src = n;
656
+ var a = {
657
+ img: i,
658
+ assetData: t
659
+ };
660
+ return a;
661
+ }
662
+ function s(e) {
663
+ var t = { assetData: e }, n = r(e, this.assetsPath, this.path);
664
+ return z.loadData(n, function(e) {
665
+ t.img = e, this._footageLoaded();
666
+ }.bind(this), function() {
667
+ t.img = {}, this._footageLoaded();
668
+ }.bind(this)), t;
669
+ }
670
+ function c(e, t) {
671
+ this.imagesLoadedCb = t;
672
+ var n, r = e.length;
673
+ for (n = 0; n < r; n += 1) e[n].layers || (!e[n].t || e[n].t === "seq" ? (this.totalImages += 1, this.images.push(this._createImageData(e[n]))) : e[n].t === 3 && (this.totalFootages += 1, this.images.push(this.createFootageData(e[n]))));
674
+ }
675
+ function l(e) {
676
+ this.path = e || "";
677
+ }
678
+ function d(e) {
679
+ this.assetsPath = e || "";
680
+ }
681
+ function f(e) {
682
+ for (var t = 0, n = this.images.length; t < n;) {
683
+ if (this.images[t].assetData === e) return this.images[t].img;
684
+ t += 1;
685
+ }
686
+ return null;
687
+ }
688
+ function p() {
689
+ this.imagesLoadedCb = null, this.images.length = 0;
690
+ }
691
+ function m() {
692
+ return this.totalImages === this.loadedAssets;
693
+ }
694
+ function h() {
695
+ return this.totalFootages === this.loadedFootagesCount;
696
+ }
697
+ function g(e, t) {
698
+ e === "svg" ? (this._elementHelper = t, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
699
+ }
700
+ function _() {
701
+ this._imageLoaded = t.bind(this), this._footageLoaded = n.bind(this), this.testImageLoaded = i.bind(this), this.createFootageData = s.bind(this), this.assetsPath = "", this.path = "", this.totalImages = 0, this.totalFootages = 0, this.loadedAssets = 0, this.loadedFootagesCount = 0, this.imagesLoadedCb = null, this.images = [];
702
+ }
703
+ return _.prototype = {
704
+ loadAssets: c,
705
+ setAssetsPath: d,
706
+ setPath: l,
707
+ loadedImages: m,
708
+ loadedFootages: h,
709
+ destroy: p,
710
+ getAsset: f,
711
+ createImgData: o,
712
+ createImageData: a,
713
+ imageLoaded: t,
714
+ footageLoaded: n,
715
+ setCacheType: g
716
+ }, _;
717
+ }();
718
+ function he() {}
719
+ he.prototype = {
720
+ triggerEvent: function(e, t) {
721
+ if (this._cbs[e]) for (var n = this._cbs[e], r = 0; r < n.length; r += 1) n[r](t);
722
+ },
723
+ addEventListener: function(e, t) {
724
+ return this._cbs[e] || (this._cbs[e] = []), this._cbs[e].push(t), function() {
725
+ this.removeEventListener(e, t);
726
+ }.bind(this);
727
+ },
728
+ removeEventListener: function(e, t) {
729
+ if (!t) this._cbs[e] = null;
730
+ else if (this._cbs[e]) {
731
+ for (var n = 0, r = this._cbs[e].length; n < r;) this._cbs[e][n] === t && (this._cbs[e].splice(n, 1), --n, --r), n += 1;
732
+ this._cbs[e].length || (this._cbs[e] = null);
733
+ }
734
+ }
735
+ };
736
+ var ge = function() {
737
+ function e(e) {
738
+ for (var t = e.split("\r\n"), n = {}, r, i = 0, a = 0; a < t.length; a += 1) r = t[a].split(":"), r.length === 2 && (n[r[0]] = r[1].trim(), i += 1);
739
+ if (i === 0) throw Error();
740
+ return n;
741
+ }
742
+ return function(t) {
743
+ for (var n = [], r = 0; r < t.length; r += 1) {
744
+ var i = t[r], a = {
745
+ time: i.tm,
746
+ duration: i.dr
747
+ };
748
+ try {
749
+ a.payload = JSON.parse(t[r].cm);
750
+ } catch {
751
+ try {
752
+ a.payload = e(t[r].cm);
753
+ } catch {
754
+ a.payload = { name: t[r].cm };
755
+ }
756
+ }
757
+ n.push(a);
758
+ }
759
+ return n;
760
+ };
761
+ }(), _e = function() {
762
+ function e(e) {
763
+ this.compositions.push(e);
764
+ }
765
+ return function() {
766
+ function t(e) {
767
+ for (var t = 0, n = this.compositions.length; t < n;) {
768
+ if (this.compositions[t].data && this.compositions[t].data.nm === e) return this.compositions[t].prepareFrame && this.compositions[t].data.xt && this.compositions[t].prepareFrame(this.currentFrame), this.compositions[t].compInterface;
769
+ t += 1;
770
+ }
771
+ return null;
772
+ }
773
+ return t.compositions = [], t.currentFrame = 0, t.registerComposition = e, t;
774
+ };
775
+ }(), ve = {}, ye = function(e, t) {
776
+ ve[e] = t;
777
+ };
778
+ function be(e) {
779
+ return ve[e];
780
+ }
781
+ function xe() {
782
+ if (ve.canvas) return "canvas";
783
+ for (var e in ve) if (ve[e]) return e;
784
+ return "";
785
+ }
786
+ function Se(e) {
787
+ "@babel/helpers - typeof";
788
+ return Se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
789
+ return typeof e;
790
+ } : function(e) {
791
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
792
+ }, Se(e);
793
+ }
794
+ var B = function() {
795
+ this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = I(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = se(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = _e(), this.imagePreloader = new me(), this.audioController = p(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new A("drawnFrame", 0, 0, 0), this.expressionsPlugin = le();
796
+ };
797
+ d([he], B), B.prototype.setParams = function(e) {
798
+ (e.wrapper || e.container) && (this.wrapper = e.wrapper || e.container);
799
+ var t = "svg";
800
+ e.animType ? t = e.animType : e.renderer && (t = e.renderer), this.renderer = new (be(t))(this, e.rendererSettings), this.imagePreloader.setCacheType(t, this.renderer.globalData.defs), this.renderer.setProjectInterface(this.projectInterface), this.animType = t, e.loop === "" || e.loop === null || e.loop === void 0 || e.loop === !0 ? this.loop = !0 : e.loop === !1 ? this.loop = !1 : this.loop = parseInt(e.loop, 10), this.autoplay = "autoplay" in e ? e.autoplay : !0, this.name = e.name ? e.name : "", this.autoloadSegments = Object.prototype.hasOwnProperty.call(e, "autoloadSegments") ? e.autoloadSegments : !0, this.assetsPath = e.assetsPath, this.initialSegment = e.initialSegment, e.audioFactory && this.audioController.setAudioFactory(e.audioFactory), e.animationData ? this.setupAnimation(e.animationData) : e.path && (e.path.lastIndexOf("\\") === -1 ? this.path = e.path.substr(0, e.path.lastIndexOf("/") + 1) : this.path = e.path.substr(0, e.path.lastIndexOf("\\") + 1), this.fileName = e.path.substr(e.path.lastIndexOf("/") + 1), this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf(".json")), z.loadAnimation(e.path, this.configAnimation, this.onSetupError));
801
+ }, B.prototype.onSetupError = function() {
802
+ this.trigger("data_failed");
803
+ }, B.prototype.setupAnimation = function(e) {
804
+ z.completeAnimation(e, this.configAnimation);
805
+ }, B.prototype.setData = function(e, t) {
806
+ t && Se(t) !== "object" && (t = JSON.parse(t));
807
+ var n = {
808
+ wrapper: e,
809
+ animationData: t
810
+ }, r = e.attributes;
811
+ n.path = r.getNamedItem("data-animation-path") ? r.getNamedItem("data-animation-path").value : r.getNamedItem("data-bm-path") ? r.getNamedItem("data-bm-path").value : r.getNamedItem("bm-path") ? r.getNamedItem("bm-path").value : "", n.animType = r.getNamedItem("data-anim-type") ? r.getNamedItem("data-anim-type").value : r.getNamedItem("data-bm-type") ? r.getNamedItem("data-bm-type").value : r.getNamedItem("bm-type") ? r.getNamedItem("bm-type").value : r.getNamedItem("data-bm-renderer") ? r.getNamedItem("data-bm-renderer").value : r.getNamedItem("bm-renderer") ? r.getNamedItem("bm-renderer").value : xe() || "canvas";
812
+ var i = r.getNamedItem("data-anim-loop") ? r.getNamedItem("data-anim-loop").value : r.getNamedItem("data-bm-loop") ? r.getNamedItem("data-bm-loop").value : r.getNamedItem("bm-loop") ? r.getNamedItem("bm-loop").value : "";
813
+ i === "false" ? n.loop = !1 : i === "true" ? n.loop = !0 : i !== "" && (n.loop = parseInt(i, 10)), n.autoplay = (r.getNamedItem("data-anim-autoplay") ? r.getNamedItem("data-anim-autoplay").value : r.getNamedItem("data-bm-autoplay") ? r.getNamedItem("data-bm-autoplay").value : r.getNamedItem("bm-autoplay") ? r.getNamedItem("bm-autoplay").value : !0) !== "false", n.name = r.getNamedItem("data-name") ? r.getNamedItem("data-name").value : r.getNamedItem("data-bm-name") ? r.getNamedItem("data-bm-name").value : r.getNamedItem("bm-name") ? r.getNamedItem("bm-name").value : "", (r.getNamedItem("data-anim-prerender") ? r.getNamedItem("data-anim-prerender").value : r.getNamedItem("data-bm-prerender") ? r.getNamedItem("data-bm-prerender").value : r.getNamedItem("bm-prerender") ? r.getNamedItem("bm-prerender").value : "") === "false" && (n.prerender = !1), n.path ? this.setParams(n) : this.trigger("destroy");
814
+ }, B.prototype.includeLayers = function(e) {
815
+ e.op > this.animationData.op && (this.animationData.op = e.op, this.totalFrames = Math.floor(e.op - this.animationData.ip));
816
+ var t = this.animationData.layers, n, r = t.length, i = e.layers, a, o = i.length;
817
+ for (a = 0; a < o; a += 1) for (n = 0; n < r;) {
818
+ if (t[n].id === i[a].id) {
819
+ t[n] = i[a];
820
+ break;
821
+ }
822
+ n += 1;
823
+ }
824
+ if ((e.chars || e.fonts) && (this.renderer.globalData.fontManager.addChars(e.chars), this.renderer.globalData.fontManager.addFonts(e.fonts, this.renderer.globalData.defs)), e.assets) for (r = e.assets.length, n = 0; n < r; n += 1) this.animationData.assets.push(e.assets[n]);
825
+ this.animationData.__complete = !1, z.completeAnimation(this.animationData, this.onSegmentComplete);
826
+ }, B.prototype.onSegmentComplete = function(e) {
827
+ this.animationData = e;
828
+ var t = le();
829
+ t && t.initExpressions(this), this.loadNextSegment();
830
+ }, B.prototype.loadNextSegment = function() {
831
+ var e = this.animationData.segments;
832
+ if (!e || e.length === 0 || !this.autoloadSegments) {
833
+ this.trigger("data_ready"), this.timeCompleted = this.totalFrames;
834
+ return;
835
+ }
836
+ this.timeCompleted = e.shift().time * this.frameRate;
837
+ var t = this.path + this.fileName + "_" + this.segmentPos + ".json";
838
+ this.segmentPos += 1, z.loadData(t, this.includeLayers.bind(this), function() {
839
+ this.trigger("data_failed");
840
+ }.bind(this));
841
+ }, B.prototype.loadSegments = function() {
842
+ this.animationData.segments || (this.timeCompleted = this.totalFrames), this.loadNextSegment();
843
+ }, B.prototype.imagesLoaded = function() {
844
+ this.trigger("loaded_images"), this.checkLoaded();
845
+ }, B.prototype.preloadImages = function() {
846
+ this.imagePreloader.setAssetsPath(this.assetsPath), this.imagePreloader.setPath(this.path), this.imagePreloader.loadAssets(this.animationData.assets, this.imagesLoaded.bind(this));
847
+ }, B.prototype.configAnimation = function(e) {
848
+ if (this.renderer) try {
849
+ this.animationData = e, this.initialSegment ? (this.totalFrames = Math.floor(this.initialSegment[1] - this.initialSegment[0]), this.firstFrame = Math.round(this.initialSegment[0])) : (this.totalFrames = Math.floor(this.animationData.op - this.animationData.ip), this.firstFrame = Math.round(this.animationData.ip)), this.renderer.configAnimation(e), e.assets ||= [], this.assets = this.animationData.assets, this.frameRate = this.animationData.fr, this.frameMult = this.animationData.fr / 1e3, this.renderer.searchExtraCompositions(e.assets), this.markers = ge(e.markers || []), this.trigger("config_ready"), this.preloadImages(), this.loadSegments(), this.updaFrameModifier(), this.waitForFontsLoaded(), this.isPaused && this.audioController.pause();
850
+ } catch (e) {
851
+ this.triggerConfigError(e);
852
+ }
853
+ }, B.prototype.waitForFontsLoaded = function() {
854
+ this.renderer && (this.renderer.globalData.fontManager.isLoaded ? this.checkLoaded() : setTimeout(this.waitForFontsLoaded.bind(this), 20));
855
+ }, B.prototype.checkLoaded = function() {
856
+ if (!this.isLoaded && this.renderer.globalData.fontManager.isLoaded && (this.imagePreloader.loadedImages() || this.renderer.rendererType !== "canvas") && this.imagePreloader.loadedFootages()) {
857
+ this.isLoaded = !0;
858
+ var e = le();
859
+ e && e.initExpressions(this), this.renderer.initItems(), setTimeout(function() {
860
+ this.trigger("DOMLoaded");
861
+ }.bind(this), 0), this.gotoFrame(), this.autoplay && this.play();
862
+ }
863
+ }, B.prototype.resize = function(e, t) {
864
+ var n = typeof e == "number" ? e : void 0, r = typeof t == "number" ? t : void 0;
865
+ this.renderer.updateContainerSize(n, r);
866
+ }, B.prototype.setSubframe = function(e) {
867
+ this.isSubframeEnabled = !!e;
868
+ }, B.prototype.gotoFrame = function() {
869
+ this.currentFrame = this.isSubframeEnabled ? this.currentRawFrame : ~~this.currentRawFrame, this.timeCompleted !== this.totalFrames && this.currentFrame > this.timeCompleted && (this.currentFrame = this.timeCompleted), this.trigger("enterFrame"), this.renderFrame(), this.trigger("drawnFrame");
870
+ }, B.prototype.renderFrame = function() {
871
+ if (!(this.isLoaded === !1 || !this.renderer)) try {
872
+ this.expressionsPlugin && this.expressionsPlugin.resetFrame(), this.renderer.renderFrame(this.currentFrame + this.firstFrame);
873
+ } catch (e) {
874
+ this.triggerRenderFrameError(e);
875
+ }
876
+ }, B.prototype.play = function(e) {
877
+ e && this.name !== e || this.isPaused === !0 && (this.isPaused = !1, this.trigger("_play"), this.audioController.resume(), this._idle && (this._idle = !1, this.trigger("_active")));
878
+ }, B.prototype.pause = function(e) {
879
+ e && this.name !== e || this.isPaused === !1 && (this.isPaused = !0, this.trigger("_pause"), this._idle = !0, this.trigger("_idle"), this.audioController.pause());
880
+ }, B.prototype.togglePause = function(e) {
881
+ e && this.name !== e || (this.isPaused === !0 ? this.play() : this.pause());
882
+ }, B.prototype.stop = function(e) {
883
+ e && this.name !== e || (this.pause(), this.playCount = 0, this._completedLoop = !1, this.setCurrentRawFrameValue(0));
884
+ }, B.prototype.getMarkerData = function(e) {
885
+ for (var t, n = 0; n < this.markers.length; n += 1) if (t = this.markers[n], t.payload && t.payload.name === e) return t;
886
+ return null;
887
+ }, B.prototype.goToAndStop = function(e, t, n) {
888
+ if (!(n && this.name !== n)) {
889
+ var r = Number(e);
890
+ if (isNaN(r)) {
891
+ var i = this.getMarkerData(e);
892
+ i && this.goToAndStop(i.time, !0);
893
+ } else t ? this.setCurrentRawFrameValue(e) : this.setCurrentRawFrameValue(e * this.frameModifier);
894
+ this.pause();
895
+ }
896
+ }, B.prototype.goToAndPlay = function(e, t, n) {
897
+ if (!(n && this.name !== n)) {
898
+ var r = Number(e);
899
+ if (isNaN(r)) {
900
+ var i = this.getMarkerData(e);
901
+ i && (i.duration ? this.playSegments([i.time, i.time + i.duration], !0) : this.goToAndStop(i.time, !0));
902
+ } else this.goToAndStop(r, t, n);
903
+ this.play();
904
+ }
905
+ }, B.prototype.advanceTime = function(e) {
906
+ if (!(this.isPaused === !0 || this.isLoaded === !1)) {
907
+ var t = this.currentRawFrame + e * this.frameModifier, n = !1;
908
+ t >= this.totalFrames - 1 && this.frameModifier > 0 ? !this.loop || this.playCount === this.loop ? this.checkSegments(t > this.totalFrames ? t % this.totalFrames : 0) || (n = !0, t = this.totalFrames - 1) : t >= this.totalFrames ? (this.playCount += 1, this.checkSegments(t % this.totalFrames) || (this.setCurrentRawFrameValue(t % this.totalFrames), this._completedLoop = !0, this.trigger("loopComplete"))) : this.setCurrentRawFrameValue(t) : t < 0 ? this.checkSegments(t % this.totalFrames) || (this.loop && !(this.playCount-- <= 0 && this.loop !== !0) ? (this.setCurrentRawFrameValue(this.totalFrames + t % this.totalFrames), this._completedLoop ? this.trigger("loopComplete") : this._completedLoop = !0) : (n = !0, t = 0)) : this.setCurrentRawFrameValue(t), n && (this.setCurrentRawFrameValue(t), this.pause(), this.trigger("complete"));
909
+ }
910
+ }, B.prototype.adjustSegment = function(e, t) {
911
+ this.playCount = 0, e[1] < e[0] ? (this.frameModifier > 0 && (this.playSpeed < 0 ? this.setSpeed(-this.playSpeed) : this.setDirection(-1)), this.totalFrames = e[0] - e[1], this.timeCompleted = this.totalFrames, this.firstFrame = e[1], this.setCurrentRawFrameValue(this.totalFrames - .001 - t)) : e[1] > e[0] && (this.frameModifier < 0 && (this.playSpeed < 0 ? this.setSpeed(-this.playSpeed) : this.setDirection(1)), this.totalFrames = e[1] - e[0], this.timeCompleted = this.totalFrames, this.firstFrame = e[0], this.setCurrentRawFrameValue(.001 + t)), this.trigger("segmentStart");
912
+ }, B.prototype.setSegment = function(e, t) {
913
+ var n = -1;
914
+ this.isPaused && (this.currentRawFrame + this.firstFrame < e ? n = e : this.currentRawFrame + this.firstFrame > t && (n = t - e)), this.firstFrame = e, this.totalFrames = t - e, this.timeCompleted = this.totalFrames, n !== -1 && this.goToAndStop(n, !0);
915
+ }, B.prototype.playSegments = function(e, t) {
916
+ if (t && (this.segments.length = 0), Se(e[0]) === "object") {
917
+ var n, r = e.length;
918
+ for (n = 0; n < r; n += 1) this.segments.push(e[n]);
919
+ } else this.segments.push(e);
920
+ this.segments.length && t && this.adjustSegment(this.segments.shift(), 0), this.isPaused && this.play();
921
+ }, B.prototype.resetSegments = function(e) {
922
+ this.segments.length = 0, this.segments.push([this.animationData.ip, this.animationData.op]), e && this.checkSegments(0);
923
+ }, B.prototype.checkSegments = function(e) {
924
+ return this.segments.length ? (this.adjustSegment(this.segments.shift(), e), !0) : !1;
925
+ }, B.prototype.destroy = function(e) {
926
+ e && this.name !== e || !this.renderer || (this.renderer.destroy(), this.imagePreloader.destroy(), this.trigger("destroy"), this._cbs = null, this.onEnterFrame = null, this.onLoopComplete = null, this.onComplete = null, this.onSegmentStart = null, this.onDestroy = null, this.renderer = null, this.expressionsPlugin = null, this.imagePreloader = null, this.projectInterface = null);
927
+ }, B.prototype.setCurrentRawFrameValue = function(e) {
928
+ this.currentRawFrame = e, this.gotoFrame();
929
+ }, B.prototype.setSpeed = function(e) {
930
+ this.playSpeed = e, this.updaFrameModifier();
931
+ }, B.prototype.setDirection = function(e) {
932
+ this.playDirection = e < 0 ? -1 : 1, this.updaFrameModifier();
933
+ }, B.prototype.setLoop = function(e) {
934
+ this.loop = e;
935
+ }, B.prototype.setVolume = function(e, t) {
936
+ t && this.name !== t || this.audioController.setVolume(e);
937
+ }, B.prototype.getVolume = function() {
938
+ return this.audioController.getVolume();
939
+ }, B.prototype.mute = function(e) {
940
+ e && this.name !== e || this.audioController.mute();
941
+ }, B.prototype.unmute = function(e) {
942
+ e && this.name !== e || this.audioController.unmute();
943
+ }, B.prototype.updaFrameModifier = function() {
944
+ this.frameModifier = this.frameMult * this.playSpeed * this.playDirection, this.audioController.setRate(this.playSpeed * this.playDirection);
945
+ }, B.prototype.getPath = function() {
946
+ return this.path;
947
+ }, B.prototype.getAssetsPath = function(e) {
948
+ var t = "";
949
+ if (e.e) t = e.p;
950
+ else if (this.assetsPath) {
951
+ var n = e.p;
952
+ n.indexOf("images/") !== -1 && (n = n.split("/")[1]), t = this.assetsPath + n;
953
+ } else t = this.path, t += e.u ? e.u : "", t += e.p;
954
+ return t;
955
+ }, B.prototype.getAssetData = function(e) {
956
+ for (var t = 0, n = this.assets.length; t < n;) {
957
+ if (e === this.assets[t].id) return this.assets[t];
958
+ t += 1;
959
+ }
960
+ return null;
961
+ }, B.prototype.hide = function() {
962
+ this.renderer.hide();
963
+ }, B.prototype.show = function() {
964
+ this.renderer.show();
965
+ }, B.prototype.getDuration = function(e) {
966
+ return e ? this.totalFrames : this.totalFrames / this.frameRate;
967
+ }, B.prototype.updateDocumentData = function(e, t, n) {
968
+ try {
969
+ this.renderer.getElementByPath(e).updateDocumentData(t, n);
970
+ } catch {}
971
+ }, B.prototype.trigger = function(e) {
972
+ if (this._cbs && this._cbs[e]) switch (e) {
973
+ case "enterFrame":
974
+ this.triggerEvent(e, new A(e, this.currentFrame, this.totalFrames, this.frameModifier));
975
+ break;
976
+ case "drawnFrame":
977
+ this.drawnFrameEvent.currentTime = this.currentFrame, this.drawnFrameEvent.totalTime = this.totalFrames, this.drawnFrameEvent.direction = this.frameModifier, this.triggerEvent(e, this.drawnFrameEvent);
978
+ break;
979
+ case "loopComplete":
980
+ this.triggerEvent(e, new M(e, this.loop, this.playCount, this.frameMult));
981
+ break;
982
+ case "complete":
983
+ this.triggerEvent(e, new j(e, this.frameMult));
984
+ break;
985
+ case "segmentStart":
986
+ this.triggerEvent(e, new N(e, this.firstFrame, this.totalFrames));
987
+ break;
988
+ case "destroy":
989
+ this.triggerEvent(e, new P(e, this));
990
+ break;
991
+ default: this.triggerEvent(e);
992
+ }
993
+ e === "enterFrame" && this.onEnterFrame && this.onEnterFrame.call(this, new A(e, this.currentFrame, this.totalFrames, this.frameMult)), e === "loopComplete" && this.onLoopComplete && this.onLoopComplete.call(this, new M(e, this.loop, this.playCount, this.frameMult)), e === "complete" && this.onComplete && this.onComplete.call(this, new j(e, this.frameMult)), e === "segmentStart" && this.onSegmentStart && this.onSegmentStart.call(this, new N(e, this.firstFrame, this.totalFrames)), e === "destroy" && this.onDestroy && this.onDestroy.call(this, new P(e, this));
994
+ }, B.prototype.triggerRenderFrameError = function(e) {
995
+ var t = new F(e, this.currentFrame);
996
+ this.triggerEvent("error", t), this.onError && this.onError.call(this, t);
997
+ }, B.prototype.triggerConfigError = function(e) {
998
+ var t = new ee(e, this.currentFrame);
999
+ this.triggerEvent("error", t), this.onError && this.onError.call(this, t);
1000
+ };
1001
+ var V = function() {
1002
+ var e = {}, t = [], n = 0, r = 0, i = 0, a = !0, o = !1;
1003
+ function s(e) {
1004
+ for (var n = 0, i = e.target; n < r;) t[n].animation === i && (t.splice(n, 1), --n, --r, i.isPaused || f()), n += 1;
1005
+ }
1006
+ function c(e, n) {
1007
+ if (!e) return null;
1008
+ for (var i = 0; i < r;) {
1009
+ if (t[i].elem === e && t[i].elem !== null) return t[i].animation;
1010
+ i += 1;
1011
+ }
1012
+ var a = new B();
1013
+ return p(a, e), a.setData(e, n), a;
1014
+ }
1015
+ function l() {
1016
+ var e, n = t.length, r = [];
1017
+ for (e = 0; e < n; e += 1) r.push(t[e].animation);
1018
+ return r;
1019
+ }
1020
+ function d() {
1021
+ i += 1, D();
1022
+ }
1023
+ function f() {
1024
+ --i;
1025
+ }
1026
+ function p(e, n) {
1027
+ e.addEventListener("destroy", s), e.addEventListener("_active", d), e.addEventListener("_idle", f), t.push({
1028
+ elem: n,
1029
+ animation: e
1030
+ }), r += 1;
1031
+ }
1032
+ function m(e) {
1033
+ var t = new B();
1034
+ return p(t, null), t.setParams(e), t;
1035
+ }
1036
+ function h(e, n) {
1037
+ var i;
1038
+ for (i = 0; i < r; i += 1) t[i].animation.setSpeed(e, n);
1039
+ }
1040
+ function g(e, n) {
1041
+ var i;
1042
+ for (i = 0; i < r; i += 1) t[i].animation.setDirection(e, n);
1043
+ }
1044
+ function _(e) {
1045
+ var n;
1046
+ for (n = 0; n < r; n += 1) t[n].animation.play(e);
1047
+ }
1048
+ function v(e) {
1049
+ var s = e - n, c;
1050
+ for (c = 0; c < r; c += 1) t[c].animation.advanceTime(s);
1051
+ n = e, i && !o ? window.requestAnimationFrame(v) : a = !0;
1052
+ }
1053
+ function y(e) {
1054
+ n = e, window.requestAnimationFrame(v);
1055
+ }
1056
+ function b(e) {
1057
+ var n;
1058
+ for (n = 0; n < r; n += 1) t[n].animation.pause(e);
1059
+ }
1060
+ function x(e, n, i) {
1061
+ var a;
1062
+ for (a = 0; a < r; a += 1) t[a].animation.goToAndStop(e, n, i);
1063
+ }
1064
+ function S(e) {
1065
+ var n;
1066
+ for (n = 0; n < r; n += 1) t[n].animation.stop(e);
1067
+ }
1068
+ function C(e) {
1069
+ var n;
1070
+ for (n = 0; n < r; n += 1) t[n].animation.togglePause(e);
1071
+ }
1072
+ function w(e) {
1073
+ var n;
1074
+ for (n = r - 1; n >= 0; --n) t[n].animation.destroy(e);
1075
+ }
1076
+ function T(e, t, n) {
1077
+ var r = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), i, a = r.length;
1078
+ for (i = 0; i < a; i += 1) n && r[i].setAttribute("data-bm-type", n), c(r[i], e);
1079
+ if (t && a === 0) {
1080
+ n ||= "svg";
1081
+ var o = document.getElementsByTagName("body")[0];
1082
+ o.innerText = "";
1083
+ var s = u("div");
1084
+ s.style.width = "100%", s.style.height = "100%", s.setAttribute("data-bm-type", n), o.appendChild(s), c(s, e);
1085
+ }
1086
+ }
1087
+ function E() {
1088
+ var e;
1089
+ for (e = 0; e < r; e += 1) t[e].animation.resize();
1090
+ }
1091
+ function D() {
1092
+ !o && i && (a &&= (window.requestAnimationFrame(y), !1));
1093
+ }
1094
+ function O() {
1095
+ o = !0;
1096
+ }
1097
+ function k() {
1098
+ o = !1, D();
1099
+ }
1100
+ function A(e, n) {
1101
+ var i;
1102
+ for (i = 0; i < r; i += 1) t[i].animation.setVolume(e, n);
1103
+ }
1104
+ function j(e) {
1105
+ var n;
1106
+ for (n = 0; n < r; n += 1) t[n].animation.mute(e);
1107
+ }
1108
+ function M(e) {
1109
+ var n;
1110
+ for (n = 0; n < r; n += 1) t[n].animation.unmute(e);
1111
+ }
1112
+ return e.registerAnimation = c, e.loadAnimation = m, e.setSpeed = h, e.setDirection = g, e.play = _, e.pause = b, e.stop = S, e.togglePause = C, e.searchAnimations = T, e.resize = E, e.goToAndStop = x, e.destroy = w, e.freeze = O, e.unfreeze = k, e.setVolume = A, e.mute = j, e.unmute = M, e.getRegisteredAnimations = l, e;
1113
+ }(), Ce = function() {
1114
+ var e = {};
1115
+ e.getBezierEasing = n;
1116
+ var t = {};
1117
+ function n(e, n, r, i, a) {
1118
+ var o = a || ("bez_" + e + "_" + n + "_" + r + "_" + i).replace(/\./g, "p");
1119
+ if (t[o]) return t[o];
1120
+ var s = new _([
1121
+ e,
1122
+ n,
1123
+ r,
1124
+ i
1125
+ ]);
1126
+ return t[o] = s, s;
1127
+ }
1128
+ var r = 4, i = .001, a = 1e-7, o = 10, s = 11, c = 1 / (s - 1), l = typeof Float32Array == "function";
1129
+ function u(e, t) {
1130
+ return 1 - 3 * t + 3 * e;
1131
+ }
1132
+ function d(e, t) {
1133
+ return 3 * t - 6 * e;
1134
+ }
1135
+ function f(e) {
1136
+ return 3 * e;
1137
+ }
1138
+ function p(e, t, n) {
1139
+ return ((u(t, n) * e + d(t, n)) * e + f(t)) * e;
1140
+ }
1141
+ function m(e, t, n) {
1142
+ return 3 * u(t, n) * e * e + 2 * d(t, n) * e + f(t);
1143
+ }
1144
+ function h(e, t, n, r, i) {
1145
+ var s, c, l = 0;
1146
+ do
1147
+ c = t + (n - t) / 2, s = p(c, r, i) - e, s > 0 ? n = c : t = c;
1148
+ while (Math.abs(s) > a && ++l < o);
1149
+ return c;
1150
+ }
1151
+ function g(e, t, n, i) {
1152
+ for (var a = 0; a < r; ++a) {
1153
+ var o = m(t, n, i);
1154
+ if (o === 0) return t;
1155
+ var s = p(t, n, i) - e;
1156
+ t -= s / o;
1157
+ }
1158
+ return t;
1159
+ }
1160
+ function _(e) {
1161
+ this._p = e, this._mSampleValues = l ? new Float32Array(s) : Array(s), this._precomputed = !1, this.get = this.get.bind(this);
1162
+ }
1163
+ return _.prototype = {
1164
+ get: function(e) {
1165
+ var t = this._p[0], n = this._p[1], r = this._p[2], i = this._p[3];
1166
+ return this._precomputed || this._precompute(), t === n && r === i ? e : e === 0 ? 0 : e === 1 ? 1 : p(this._getTForX(e), n, i);
1167
+ },
1168
+ _precompute: function() {
1169
+ var e = this._p[0], t = this._p[1], n = this._p[2], r = this._p[3];
1170
+ this._precomputed = !0, (e !== t || n !== r) && this._calcSampleValues();
1171
+ },
1172
+ _calcSampleValues: function() {
1173
+ for (var e = this._p[0], t = this._p[2], n = 0; n < s; ++n) this._mSampleValues[n] = p(n * c, e, t);
1174
+ },
1175
+ _getTForX: function(e) {
1176
+ for (var t = this._p[0], n = this._p[2], r = this._mSampleValues, a = 0, o = 1, l = s - 1; o !== l && r[o] <= e; ++o) a += c;
1177
+ --o;
1178
+ var u = (e - r[o]) / (r[o + 1] - r[o]), d = a + u * c, f = m(d, t, n);
1179
+ return f >= i ? g(e, d, t, n) : f === 0 ? d : h(e, a, a + c, t, n);
1180
+ }
1181
+ }, e;
1182
+ }(), we = function() {
1183
+ function e(e) {
1184
+ return e.concat(h(e.length));
1185
+ }
1186
+ return { double: e };
1187
+ }(), Te = function() {
1188
+ return function(e, t, n) {
1189
+ var r = 0, i = e, a = h(i), o = {
1190
+ newElement: s,
1191
+ release: c
1192
+ };
1193
+ function s() {
1194
+ var e;
1195
+ return r ? (--r, e = a[r]) : e = t(), e;
1196
+ }
1197
+ function c(e) {
1198
+ r === i && (a = we.double(a), i *= 2), n && n(e), a[r] = e, r += 1;
1199
+ }
1200
+ return o;
1201
+ };
1202
+ }(), Ee = function() {
1203
+ function e() {
1204
+ return {
1205
+ addedLength: 0,
1206
+ percents: m("float32", fe()),
1207
+ lengths: m("float32", fe())
1208
+ };
1209
+ }
1210
+ return Te(8, e);
1211
+ }(), De = function() {
1212
+ function e() {
1213
+ return {
1214
+ lengths: [],
1215
+ totalLength: 0
1216
+ };
1217
+ }
1218
+ function t(e) {
1219
+ var t, n = e.lengths.length;
1220
+ for (t = 0; t < n; t += 1) Ee.release(e.lengths[t]);
1221
+ e.lengths.length = 0;
1222
+ }
1223
+ return Te(8, e, t);
1224
+ }();
1225
+ function Oe() {
1226
+ var e = Math;
1227
+ function t(e, t, n, r, i, a) {
1228
+ var o = e * r + t * i + n * a - i * r - a * e - n * t;
1229
+ return o > -.001 && o < .001;
1230
+ }
1231
+ function n(n, r, i, a, o, s, c, l, u) {
1232
+ if (i === 0 && s === 0 && u === 0) return t(n, r, a, o, c, l);
1233
+ var d = e.sqrt(e.pow(a - n, 2) + e.pow(o - r, 2) + e.pow(s - i, 2)), f = e.sqrt(e.pow(c - n, 2) + e.pow(l - r, 2) + e.pow(u - i, 2)), p = e.sqrt(e.pow(c - a, 2) + e.pow(l - o, 2) + e.pow(u - s, 2)), m = d > f ? d > p ? d - f - p : p - f - d : p > f ? p - f - d : f - d - p;
1234
+ return m > -1e-4 && m < 1e-4;
1235
+ }
1236
+ var r = function() {
1237
+ return function(e, t, n, r) {
1238
+ var i = fe(), a, o, s, c, l, u = 0, d, f = [], p = [], m = Ee.newElement();
1239
+ for (s = n.length, a = 0; a < i; a += 1) {
1240
+ for (l = a / (i - 1), d = 0, o = 0; o < s; o += 1) c = S(1 - l, 3) * e[o] + 3 * S(1 - l, 2) * l * n[o] + 3 * (1 - l) * S(l, 2) * r[o] + S(l, 3) * t[o], f[o] = c, p[o] !== null && (d += S(f[o] - p[o], 2)), p[o] = f[o];
1241
+ d && (d = C(d), u += d), m.percents[a] = l, m.lengths[a] = u;
1242
+ }
1243
+ return m.addedLength = u, m;
1244
+ };
1245
+ }();
1246
+ function i(e) {
1247
+ var t = De.newElement(), n = e.c, i = e.v, a = e.o, o = e.i, s, c = e._length, l = t.lengths, u = 0;
1248
+ for (s = 0; s < c - 1; s += 1) l[s] = r(i[s], i[s + 1], a[s], o[s + 1]), u += l[s].addedLength;
1249
+ return n && c && (l[s] = r(i[s], i[0], a[s], o[0]), u += l[s].addedLength), t.totalLength = u, t;
1250
+ }
1251
+ function a(e) {
1252
+ this.segmentLength = 0, this.points = Array(e);
1253
+ }
1254
+ function o(e, t) {
1255
+ this.partialLength = e, this.point = t;
1256
+ }
1257
+ var s = function() {
1258
+ var e = {};
1259
+ return function(n, r, i, s) {
1260
+ var c = (n[0] + "_" + n[1] + "_" + r[0] + "_" + r[1] + "_" + i[0] + "_" + i[1] + "_" + s[0] + "_" + s[1]).replace(/\./g, "p");
1261
+ if (!e[c]) {
1262
+ var l = fe(), u, d, f, p, m, g = 0, _, v, y = null;
1263
+ n.length === 2 && (n[0] !== r[0] || n[1] !== r[1]) && t(n[0], n[1], r[0], r[1], n[0] + i[0], n[1] + i[1]) && t(n[0], n[1], r[0], r[1], r[0] + s[0], r[1] + s[1]) && (l = 2);
1264
+ var b = new a(l);
1265
+ for (f = i.length, u = 0; u < l; u += 1) {
1266
+ for (v = h(f), m = u / (l - 1), _ = 0, d = 0; d < f; d += 1) p = S(1 - m, 3) * n[d] + 3 * S(1 - m, 2) * m * (n[d] + i[d]) + 3 * (1 - m) * S(m, 2) * (r[d] + s[d]) + S(m, 3) * r[d], v[d] = p, y !== null && (_ += S(v[d] - y[d], 2));
1267
+ _ = C(_), g += _, b.points[u] = new o(_, v), y = v;
1268
+ }
1269
+ b.segmentLength = g, e[c] = b;
1270
+ }
1271
+ return e[c];
1272
+ };
1273
+ }();
1274
+ function c(e, t) {
1275
+ var n = t.percents, r = t.lengths, i = n.length, a = w((i - 1) * e), o = e * t.addedLength, s = 0;
1276
+ if (a === i - 1 || a === 0 || o === r[a]) return n[a];
1277
+ for (var c = r[a] > o ? -1 : 1, l = !0; l;) if (r[a] <= o && r[a + 1] > o ? (s = (o - r[a]) / (r[a + 1] - r[a]), l = !1) : a += c, a < 0 || a >= i - 1) {
1278
+ if (a === i - 1) return n[a];
1279
+ l = !1;
1280
+ }
1281
+ return n[a] + (n[a + 1] - n[a]) * s;
1282
+ }
1283
+ function l(t, n, r, i, a, o) {
1284
+ var s = c(a, o), l = 1 - s;
1285
+ return [e.round((l * l * l * t[0] + (s * l * l + l * s * l + l * l * s) * r[0] + (s * s * l + l * s * s + s * l * s) * i[0] + s * s * s * n[0]) * 1e3) / 1e3, e.round((l * l * l * t[1] + (s * l * l + l * s * l + l * l * s) * r[1] + (s * s * l + l * s * s + s * l * s) * i[1] + s * s * s * n[1]) * 1e3) / 1e3];
1286
+ }
1287
+ var u = m("float32", 8);
1288
+ function d(t, n, r, i, a, o, s) {
1289
+ a < 0 ? a = 0 : a > 1 && (a = 1);
1290
+ var l = c(a, s);
1291
+ o = o > 1 ? 1 : o;
1292
+ var d = c(o, s), f, p = t.length, m = 1 - l, h = 1 - d, g = m * m * m, _ = l * m * m * 3, v = l * l * m * 3, y = l * l * l, b = m * m * h, x = l * m * h + m * l * h + m * m * d, S = l * l * h + m * l * d + l * m * d, C = l * l * d, w = m * h * h, T = l * h * h + m * d * h + m * h * d, E = l * d * h + m * d * d + l * h * d, D = l * d * d, O = h * h * h, k = d * h * h + h * d * h + h * h * d, A = d * d * h + h * d * d + d * h * d, j = d * d * d;
1293
+ for (f = 0; f < p; f += 1) u[f * 4] = e.round((g * t[f] + _ * r[f] + v * i[f] + y * n[f]) * 1e3) / 1e3, u[f * 4 + 1] = e.round((b * t[f] + x * r[f] + S * i[f] + C * n[f]) * 1e3) / 1e3, u[f * 4 + 2] = e.round((w * t[f] + T * r[f] + E * i[f] + D * n[f]) * 1e3) / 1e3, u[f * 4 + 3] = e.round((O * t[f] + k * r[f] + A * i[f] + j * n[f]) * 1e3) / 1e3;
1294
+ return u;
1295
+ }
1296
+ return {
1297
+ getSegmentsLength: i,
1298
+ getNewSegment: d,
1299
+ getPointInSegment: l,
1300
+ buildBezierData: s,
1301
+ pointOnLine2D: t,
1302
+ pointOnLine3D: n
1303
+ };
1304
+ }
1305
+ var ke = Oe(), Ae = a, je = Math.abs;
1306
+ function Me(e, t) {
1307
+ var n = this.offsetTime, r;
1308
+ this.propType === "multidimensional" && (r = m("float32", this.pv.length));
1309
+ for (var i = t.lastIndex, a = i, o = this.keyframes.length - 1, s = !0, c, l, u; s;) {
1310
+ if (c = this.keyframes[a], l = this.keyframes[a + 1], a === o - 1 && e >= l.t - n) {
1311
+ c.h && (c = l), i = 0;
1312
+ break;
1313
+ }
1314
+ if (l.t - n > e) {
1315
+ i = a;
1316
+ break;
1317
+ }
1318
+ a < o - 1 ? a += 1 : (i = 0, s = !1);
1319
+ }
1320
+ u = this.keyframesMetadata[a] || {};
1321
+ var d, f, p, h, g, _, v = l.t - n, y = c.t - n, b;
1322
+ if (c.to) {
1323
+ u.bezierData ||= ke.buildBezierData(c.s, l.s || c.e, c.to, c.ti);
1324
+ var x = u.bezierData;
1325
+ if (e >= v || e < y) {
1326
+ var S = e >= v ? x.points.length - 1 : 0;
1327
+ for (f = x.points[S].point.length, d = 0; d < f; d += 1) r[d] = x.points[S].point[d];
1328
+ } else {
1329
+ u.__fnct ? _ = u.__fnct : (_ = Ce.getBezierEasing(c.o.x, c.o.y, c.i.x, c.i.y, c.n).get, u.__fnct = _), p = _((e - y) / (v - y));
1330
+ var C = x.segmentLength * p, w, T = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
1331
+ for (g = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, s = !0, h = x.points.length; s;) {
1332
+ if (T += x.points[g].partialLength, C === 0 || p === 0 || g === x.points.length - 1) {
1333
+ for (f = x.points[g].point.length, d = 0; d < f; d += 1) r[d] = x.points[g].point[d];
1334
+ break;
1335
+ } else if (C >= T && C < T + x.points[g + 1].partialLength) {
1336
+ for (w = (C - T) / x.points[g + 1].partialLength, f = x.points[g].point.length, d = 0; d < f; d += 1) r[d] = x.points[g].point[d] + (x.points[g + 1].point[d] - x.points[g].point[d]) * w;
1337
+ break;
1338
+ }
1339
+ g < h - 1 ? g += 1 : s = !1;
1340
+ }
1341
+ t._lastPoint = g, t._lastAddedLength = T - x.points[g].partialLength, t._lastKeyframeIndex = a;
1342
+ }
1343
+ } else {
1344
+ var E, D, O, k, A;
1345
+ if (o = c.s.length, b = l.s || c.e, this.sh && c.h !== 1) if (e >= v) r[0] = b[0], r[1] = b[1], r[2] = b[2];
1346
+ else if (e <= y) r[0] = c.s[0], r[1] = c.s[1], r[2] = c.s[2];
1347
+ else {
1348
+ var j = Fe(c.s), M = Fe(b), N = (e - y) / (v - y);
1349
+ Pe(r, Ne(j, M, N));
1350
+ }
1351
+ else for (a = 0; a < o; a += 1) c.h !== 1 && (e >= v ? p = 1 : e < y ? p = 0 : (c.o.x.constructor === Array ? (u.__fnct ||= [], u.__fnct[a] ? _ = u.__fnct[a] : (E = c.o.x[a] === void 0 ? c.o.x[0] : c.o.x[a], D = c.o.y[a] === void 0 ? c.o.y[0] : c.o.y[a], O = c.i.x[a] === void 0 ? c.i.x[0] : c.i.x[a], k = c.i.y[a] === void 0 ? c.i.y[0] : c.i.y[a], _ = Ce.getBezierEasing(E, D, O, k).get, u.__fnct[a] = _)) : u.__fnct ? _ = u.__fnct : (E = c.o.x, D = c.o.y, O = c.i.x, k = c.i.y, _ = Ce.getBezierEasing(E, D, O, k).get, c.keyframeMetadata = _), p = _((e - y) / (v - y)))), b = l.s || c.e, A = c.h === 1 ? c.s[a] : c.s[a] + (b[a] - c.s[a]) * p, this.propType === "multidimensional" ? r[a] = A : r = A;
1352
+ }
1353
+ return t.lastIndex = i, r;
1354
+ }
1355
+ function Ne(e, t, n) {
1356
+ var r = [], i = e[0], a = e[1], o = e[2], s = e[3], c = t[0], l = t[1], u = t[2], d = t[3], f, p = i * c + a * l + o * u + s * d, m, h, g;
1357
+ return p < 0 && (p = -p, c = -c, l = -l, u = -u, d = -d), 1 - p > 1e-6 ? (f = Math.acos(p), m = Math.sin(f), h = Math.sin((1 - n) * f) / m, g = Math.sin(n * f) / m) : (h = 1 - n, g = n), r[0] = h * i + g * c, r[1] = h * a + g * l, r[2] = h * o + g * u, r[3] = h * s + g * d, r;
1358
+ }
1359
+ function Pe(e, t) {
1360
+ var n = t[0], r = t[1], i = t[2], a = t[3], o = Math.atan2(2 * r * a - 2 * n * i, 1 - 2 * r * r - 2 * i * i), s = Math.asin(2 * n * r + 2 * i * a), c = Math.atan2(2 * n * a - 2 * r * i, 1 - 2 * n * n - 2 * i * i);
1361
+ e[0] = o / O, e[1] = s / O, e[2] = c / O;
1362
+ }
1363
+ function Fe(e) {
1364
+ var t = e[0] * O, n = e[1] * O, r = e[2] * O, i = Math.cos(t / 2), a = Math.cos(n / 2), o = Math.cos(r / 2), s = Math.sin(t / 2), c = Math.sin(n / 2), l = Math.sin(r / 2), u = i * a * o - s * c * l;
1365
+ return [
1366
+ s * c * o + i * a * l,
1367
+ s * a * o + i * c * l,
1368
+ i * c * o - s * a * l,
1369
+ u
1370
+ ];
1371
+ }
1372
+ function Ie() {
1373
+ var e = this.comp.renderedFrame - this.offsetTime, t = this.keyframes[0].t - this.offsetTime, n = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
1374
+ return e === this._caching.lastFrame || this._caching.lastFrame !== Ae && (this._caching.lastFrame >= n && e >= n || this._caching.lastFrame < t && e < t) || (this._caching.lastFrame >= e && (this._caching._lastKeyframeIndex = -1, this._caching.lastIndex = 0), this.pv = this.interpolateValue(e, this._caching)), this._caching.lastFrame = e, this.pv;
1375
+ }
1376
+ function Le(e) {
1377
+ var t;
1378
+ if (this.propType === "unidimensional") t = e * this.mult, je(this.v - t) > 1e-5 && (this.v = t, this._mdf = !0);
1379
+ else for (var n = 0, r = this.v.length; n < r;) t = e[n] * this.mult, je(this.v[n] - t) > 1e-5 && (this.v[n] = t, this._mdf = !0), n += 1;
1380
+ }
1381
+ function Re() {
1382
+ if (!(this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length)) {
1383
+ if (this.lock) {
1384
+ this.setVValue(this.pv);
1385
+ return;
1386
+ }
1387
+ this.lock = !0, this._mdf = this._isFirstFrame;
1388
+ var e, t = this.effectsSequence.length, n = this.kf ? this.pv : this.data.k;
1389
+ for (e = 0; e < t; e += 1) n = this.effectsSequence[e](n);
1390
+ this.setVValue(n), this._isFirstFrame = !1, this.lock = !1, this.frameId = this.elem.globalData.frameId;
1391
+ }
1392
+ }
1393
+ function ze(e) {
1394
+ this.effectsSequence.push(e), this.container.addDynamicProperty(this);
1395
+ }
1396
+ function Be(e, t, n, r) {
1397
+ this.propType = "unidimensional", this.mult = n || 1, this.data = t, this.v = n ? t.k * n : t.k, this.pv = t.k, this._mdf = !1, this.elem = e, this.container = r, this.comp = e.comp, this.k = !1, this.kf = !1, this.vel = 0, this.effectsSequence = [], this._isFirstFrame = !0, this.getValue = Re, this.setVValue = Le, this.addEffect = ze;
1398
+ }
1399
+ function Ve(e, t, n, r) {
1400
+ this.propType = "multidimensional", this.mult = n || 1, this.data = t, this._mdf = !1, this.elem = e, this.container = r, this.comp = e.comp, this.k = !1, this.kf = !1, this.frameId = -1;
1401
+ var i, a = t.k.length;
1402
+ for (this.v = m("float32", a), this.pv = m("float32", a), this.vel = m("float32", a), i = 0; i < a; i += 1) this.v[i] = t.k[i] * this.mult, this.pv[i] = t.k[i];
1403
+ this._isFirstFrame = !0, this.effectsSequence = [], this.getValue = Re, this.setVValue = Le, this.addEffect = ze;
1404
+ }
1405
+ function He(e, t, n, r) {
1406
+ this.propType = "unidimensional", this.keyframes = t.k, this.keyframesMetadata = [], this.offsetTime = e.data.st, this.frameId = -1, this._caching = {
1407
+ lastFrame: Ae,
1408
+ lastIndex: 0,
1409
+ value: 0,
1410
+ _lastKeyframeIndex: -1
1411
+ }, this.k = !0, this.kf = !0, this.data = t, this.mult = n || 1, this.elem = e, this.container = r, this.comp = e.comp, this.v = Ae, this.pv = Ae, this._isFirstFrame = !0, this.getValue = Re, this.setVValue = Le, this.interpolateValue = Me, this.effectsSequence = [Ie.bind(this)], this.addEffect = ze;
1412
+ }
1413
+ function Ue(e, t, n, r) {
1414
+ this.propType = "multidimensional";
1415
+ var i, a = t.k.length, o, s, c, l;
1416
+ for (i = 0; i < a - 1; i += 1) t.k[i].to && t.k[i].s && t.k[i + 1] && t.k[i + 1].s && (o = t.k[i].s, s = t.k[i + 1].s, c = t.k[i].to, l = t.k[i].ti, (o.length === 2 && !(o[0] === s[0] && o[1] === s[1]) && ke.pointOnLine2D(o[0], o[1], s[0], s[1], o[0] + c[0], o[1] + c[1]) && ke.pointOnLine2D(o[0], o[1], s[0], s[1], s[0] + l[0], s[1] + l[1]) || o.length === 3 && !(o[0] === s[0] && o[1] === s[1] && o[2] === s[2]) && ke.pointOnLine3D(o[0], o[1], o[2], s[0], s[1], s[2], o[0] + c[0], o[1] + c[1], o[2] + c[2]) && ke.pointOnLine3D(o[0], o[1], o[2], s[0], s[1], s[2], s[0] + l[0], s[1] + l[1], s[2] + l[2])) && (t.k[i].to = null, t.k[i].ti = null), o[0] === s[0] && o[1] === s[1] && c[0] === 0 && c[1] === 0 && l[0] === 0 && l[1] === 0 && (o.length === 2 || o[2] === s[2] && c[2] === 0 && l[2] === 0) && (t.k[i].to = null, t.k[i].ti = null));
1417
+ this.effectsSequence = [Ie.bind(this)], this.data = t, this.keyframes = t.k, this.keyframesMetadata = [], this.offsetTime = e.data.st, this.k = !0, this.kf = !0, this._isFirstFrame = !0, this.mult = n || 1, this.elem = e, this.container = r, this.comp = e.comp, this.getValue = Re, this.setVValue = Le, this.interpolateValue = Me, this.frameId = -1;
1418
+ var u = t.k[0].s.length;
1419
+ for (this.v = m("float32", u), this.pv = m("float32", u), i = 0; i < u; i += 1) this.v[i] = Ae, this.pv[i] = Ae;
1420
+ this._caching = {
1421
+ lastFrame: Ae,
1422
+ lastIndex: 0,
1423
+ value: m("float32", u)
1424
+ }, this.addEffect = ze;
1425
+ }
1426
+ var H = function() {
1427
+ function e(e, t, n, r, i) {
1428
+ t.sid && (t = e.globalData.slotManager.getProp(t));
1429
+ var a;
1430
+ if (!t.k.length) a = new Be(e, t, r, i);
1431
+ else if (typeof t.k[0] == "number") a = new Ve(e, t, r, i);
1432
+ else switch (n) {
1433
+ case 0:
1434
+ a = new He(e, t, r, i);
1435
+ break;
1436
+ case 1:
1437
+ a = new Ue(e, t, r, i);
1438
+ break;
1439
+ default: break;
1440
+ }
1441
+ return a.effectsSequence.length && i.addDynamicProperty(a), a;
1442
+ }
1443
+ return { getProp: e };
1444
+ }();
1445
+ function U() {}
1446
+ U.prototype = {
1447
+ addDynamicProperty: function(e) {
1448
+ this.dynamicProperties.indexOf(e) === -1 && (this.dynamicProperties.push(e), this.container.addDynamicProperty(this), this._isAnimated = !0);
1449
+ },
1450
+ iterateDynamicProperties: function() {
1451
+ this._mdf = !1;
1452
+ var e, t = this.dynamicProperties.length;
1453
+ for (e = 0; e < t; e += 1) this.dynamicProperties[e].getValue(), this.dynamicProperties[e]._mdf && (this._mdf = !0);
1454
+ },
1455
+ initDynamicPropertyContainer: function(e) {
1456
+ this.container = e, this.dynamicProperties = [], this._mdf = !1, this._isAnimated = !1;
1457
+ }
1458
+ };
1459
+ var We = function() {
1460
+ function e() {
1461
+ return m("float32", 2);
1462
+ }
1463
+ return Te(8, e);
1464
+ }();
1465
+ function Ge() {
1466
+ this.c = !1, this._length = 0, this._maxLength = 8, this.v = h(this._maxLength), this.o = h(this._maxLength), this.i = h(this._maxLength);
1467
+ }
1468
+ Ge.prototype.setPathData = function(e, t) {
1469
+ this.c = e, this.setLength(t);
1470
+ for (var n = 0; n < t;) this.v[n] = We.newElement(), this.o[n] = We.newElement(), this.i[n] = We.newElement(), n += 1;
1471
+ }, Ge.prototype.setLength = function(e) {
1472
+ for (; this._maxLength < e;) this.doubleArrayLength();
1473
+ this._length = e;
1474
+ }, Ge.prototype.doubleArrayLength = function() {
1475
+ this.v = this.v.concat(h(this._maxLength)), this.i = this.i.concat(h(this._maxLength)), this.o = this.o.concat(h(this._maxLength)), this._maxLength *= 2;
1476
+ }, Ge.prototype.setXYAt = function(e, t, n, r, i) {
1477
+ var a;
1478
+ switch (this._length = Math.max(this._length, r + 1), this._length >= this._maxLength && this.doubleArrayLength(), n) {
1479
+ case "v":
1480
+ a = this.v;
1481
+ break;
1482
+ case "i":
1483
+ a = this.i;
1484
+ break;
1485
+ case "o":
1486
+ a = this.o;
1487
+ break;
1488
+ default:
1489
+ a = [];
1490
+ break;
1491
+ }
1492
+ (!a[r] || a[r] && !i) && (a[r] = We.newElement()), a[r][0] = e, a[r][1] = t;
1493
+ }, Ge.prototype.setTripleAt = function(e, t, n, r, i, a, o, s) {
1494
+ this.setXYAt(e, t, "v", o, s), this.setXYAt(n, r, "o", o, s), this.setXYAt(i, a, "i", o, s);
1495
+ }, Ge.prototype.reverse = function() {
1496
+ var e = new Ge();
1497
+ e.setPathData(this.c, this._length);
1498
+ var t = this.v, n = this.o, r = this.i, i = 0;
1499
+ this.c && (e.setTripleAt(t[0][0], t[0][1], r[0][0], r[0][1], n[0][0], n[0][1], 0, !1), i = 1);
1500
+ var a = this._length - 1, o = this._length, s;
1501
+ for (s = i; s < o; s += 1) e.setTripleAt(t[a][0], t[a][1], r[a][0], r[a][1], n[a][0], n[a][1], s, !1), --a;
1502
+ return e;
1503
+ }, Ge.prototype.length = function() {
1504
+ return this._length;
1505
+ };
1506
+ var W = function() {
1507
+ function e() {
1508
+ return new Ge();
1509
+ }
1510
+ function t(e) {
1511
+ var t = e._length, n;
1512
+ for (n = 0; n < t; n += 1) We.release(e.v[n]), We.release(e.i[n]), We.release(e.o[n]), e.v[n] = null, e.i[n] = null, e.o[n] = null;
1513
+ e._length = 0, e.c = !1;
1514
+ }
1515
+ function n(e) {
1516
+ var t = r.newElement(), n, i = e._length === void 0 ? e.v.length : e._length;
1517
+ for (t.setLength(i), t.c = e.c, n = 0; n < i; n += 1) t.setTripleAt(e.v[n][0], e.v[n][1], e.o[n][0], e.o[n][1], e.i[n][0], e.i[n][1], n);
1518
+ return t;
1519
+ }
1520
+ var r = Te(4, e, t);
1521
+ return r.clone = n, r;
1522
+ }();
1523
+ function Ke() {
1524
+ this._length = 0, this._maxLength = 4, this.shapes = h(this._maxLength);
1525
+ }
1526
+ Ke.prototype.addShape = function(e) {
1527
+ this._length === this._maxLength && (this.shapes = this.shapes.concat(h(this._maxLength)), this._maxLength *= 2), this.shapes[this._length] = e, this._length += 1;
1528
+ }, Ke.prototype.releaseShapes = function() {
1529
+ var e;
1530
+ for (e = 0; e < this._length; e += 1) W.release(this.shapes[e]);
1531
+ this._length = 0;
1532
+ };
1533
+ var qe = function() {
1534
+ var e = {
1535
+ newShapeCollection: i,
1536
+ release: a
1537
+ }, t = 0, n = 4, r = h(n);
1538
+ function i() {
1539
+ var e;
1540
+ return t ? (--t, e = r[t]) : e = new Ke(), e;
1541
+ }
1542
+ function a(e) {
1543
+ var i, a = e._length;
1544
+ for (i = 0; i < a; i += 1) W.release(e.shapes[i]);
1545
+ e._length = 0, t === n && (r = we.double(r), n *= 2), r[t] = e, t += 1;
1546
+ }
1547
+ return e;
1548
+ }(), Je = function() {
1549
+ var e = -999999;
1550
+ function t(e, t, n) {
1551
+ var r = n.lastIndex, i, a, o, s, c, l, u, d, f, p = this.keyframes;
1552
+ if (e < p[0].t - this.offsetTime) i = p[0].s[0], o = !0, r = 0;
1553
+ else if (e >= p[p.length - 1].t - this.offsetTime) i = p[p.length - 1].s ? p[p.length - 1].s[0] : p[p.length - 2].e[0], o = !0;
1554
+ else {
1555
+ for (var m = r, h = p.length - 1, g = !0, _, v, y; g && (_ = p[m], v = p[m + 1], !(v.t - this.offsetTime > e));) m < h - 1 ? m += 1 : g = !1;
1556
+ if (y = this.keyframesMetadata[m] || {}, o = _.h === 1, r = m, !o) {
1557
+ if (e >= v.t - this.offsetTime) d = 1;
1558
+ else if (e < _.t - this.offsetTime) d = 0;
1559
+ else {
1560
+ var b;
1561
+ y.__fnct ? b = y.__fnct : (b = Ce.getBezierEasing(_.o.x, _.o.y, _.i.x, _.i.y).get, y.__fnct = b), d = b((e - (_.t - this.offsetTime)) / (v.t - this.offsetTime - (_.t - this.offsetTime)));
1562
+ }
1563
+ a = v.s ? v.s[0] : _.e[0];
1564
+ }
1565
+ i = _.s[0];
1566
+ }
1567
+ for (l = t._length, u = i.i[0].length, n.lastIndex = r, s = 0; s < l; s += 1) for (c = 0; c < u; c += 1) f = o ? i.i[s][c] : i.i[s][c] + (a.i[s][c] - i.i[s][c]) * d, t.i[s][c] = f, f = o ? i.o[s][c] : i.o[s][c] + (a.o[s][c] - i.o[s][c]) * d, t.o[s][c] = f, f = o ? i.v[s][c] : i.v[s][c] + (a.v[s][c] - i.v[s][c]) * d, t.v[s][c] = f;
1568
+ }
1569
+ function n() {
1570
+ var t = this.comp.renderedFrame - this.offsetTime, n = this.keyframes[0].t - this.offsetTime, r = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, i = this._caching.lastFrame;
1571
+ return i !== e && (i < n && t < n || i > r && t > r) || (this._caching.lastIndex = i < t ? this._caching.lastIndex : 0, this.interpolateShape(t, this.pv, this._caching)), this._caching.lastFrame = t, this.pv;
1572
+ }
1573
+ function r() {
1574
+ this.paths = this.localShapeCollection;
1575
+ }
1576
+ function i(e, t) {
1577
+ if (e._length !== t._length || e.c !== t.c) return !1;
1578
+ var n, r = e._length;
1579
+ for (n = 0; n < r; n += 1) if (e.v[n][0] !== t.v[n][0] || e.v[n][1] !== t.v[n][1] || e.o[n][0] !== t.o[n][0] || e.o[n][1] !== t.o[n][1] || e.i[n][0] !== t.i[n][0] || e.i[n][1] !== t.i[n][1]) return !1;
1580
+ return !0;
1581
+ }
1582
+ function a(e) {
1583
+ i(this.v, e) || (this.v = W.clone(e), this.localShapeCollection.releaseShapes(), this.localShapeCollection.addShape(this.v), this._mdf = !0, this.paths = this.localShapeCollection);
1584
+ }
1585
+ function o() {
1586
+ if (this.elem.globalData.frameId !== this.frameId) {
1587
+ if (!this.effectsSequence.length) {
1588
+ this._mdf = !1;
1589
+ return;
1590
+ }
1591
+ if (this.lock) {
1592
+ this.setVValue(this.pv);
1593
+ return;
1594
+ }
1595
+ this.lock = !0, this._mdf = !1;
1596
+ var e = this.kf ? this.pv : this.data.ks ? this.data.ks.k : this.data.pt.k, t, n = this.effectsSequence.length;
1597
+ for (t = 0; t < n; t += 1) e = this.effectsSequence[t](e);
1598
+ this.setVValue(e), this.lock = !1, this.frameId = this.elem.globalData.frameId;
1599
+ }
1600
+ }
1601
+ function s(e, t, n) {
1602
+ this.propType = "shape", this.comp = e.comp, this.container = e, this.elem = e, this.data = t, this.k = !1, this.kf = !1, this._mdf = !1;
1603
+ var i = n === 3 ? t.pt.k : t.ks.k;
1604
+ this.v = W.clone(i), this.pv = W.clone(this.v), this.localShapeCollection = qe.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = r, this.effectsSequence = [];
1605
+ }
1606
+ function c(e) {
1607
+ this.effectsSequence.push(e), this.container.addDynamicProperty(this);
1608
+ }
1609
+ s.prototype.interpolateShape = t, s.prototype.getValue = o, s.prototype.setVValue = a, s.prototype.addEffect = c;
1610
+ function l(t, i, a) {
1611
+ this.propType = "shape", this.comp = t.comp, this.elem = t, this.container = t, this.offsetTime = t.data.st, this.keyframes = a === 3 ? i.pt.k : i.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
1612
+ var o = this.keyframes[0].s[0].i.length;
1613
+ this.v = W.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, o), this.pv = W.clone(this.v), this.localShapeCollection = qe.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = e, this.reset = r, this._caching = {
1614
+ lastFrame: e,
1615
+ lastIndex: 0
1616
+ }, this.effectsSequence = [n.bind(this)];
1617
+ }
1618
+ l.prototype.getValue = o, l.prototype.interpolateShape = t, l.prototype.setVValue = a, l.prototype.addEffect = c;
1619
+ var u = function() {
1620
+ var e = k;
1621
+ function t(e, t) {
1622
+ this.v = W.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = qe.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = t.d, this.elem = e, this.comp = e.comp, this.frameId = -1, this.initDynamicPropertyContainer(e), this.p = H.getProp(e, t.p, 1, 0, this), this.s = H.getProp(e, t.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
1623
+ }
1624
+ return t.prototype = {
1625
+ reset: r,
1626
+ getValue: function() {
1627
+ this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
1628
+ },
1629
+ convertEllToPath: function() {
1630
+ var t = this.p.v[0], n = this.p.v[1], r = this.s.v[0] / 2, i = this.s.v[1] / 2, a = this.d !== 3, o = this.v;
1631
+ o.v[0][0] = t, o.v[0][1] = n - i, o.v[1][0] = a ? t + r : t - r, o.v[1][1] = n, o.v[2][0] = t, o.v[2][1] = n + i, o.v[3][0] = a ? t - r : t + r, o.v[3][1] = n, o.i[0][0] = a ? t - r * e : t + r * e, o.i[0][1] = n - i, o.i[1][0] = a ? t + r : t - r, o.i[1][1] = n - i * e, o.i[2][0] = a ? t + r * e : t - r * e, o.i[2][1] = n + i, o.i[3][0] = a ? t - r : t + r, o.i[3][1] = n + i * e, o.o[0][0] = a ? t + r * e : t - r * e, o.o[0][1] = n - i, o.o[1][0] = a ? t + r : t - r, o.o[1][1] = n + i * e, o.o[2][0] = a ? t - r * e : t + r * e, o.o[2][1] = n + i, o.o[3][0] = a ? t - r : t + r, o.o[3][1] = n - i * e;
1632
+ }
1633
+ }, d([U], t), t;
1634
+ }(), f = function() {
1635
+ function e(e, t) {
1636
+ this.v = W.newElement(), this.v.setPathData(!0, 0), this.elem = e, this.comp = e.comp, this.data = t, this.frameId = -1, this.d = t.d, this.initDynamicPropertyContainer(e), t.sy === 1 ? (this.ir = H.getProp(e, t.ir, 0, 0, this), this.is = H.getProp(e, t.is, 0, .01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = H.getProp(e, t.pt, 0, 0, this), this.p = H.getProp(e, t.p, 1, 0, this), this.r = H.getProp(e, t.r, 0, O, this), this.or = H.getProp(e, t.or, 0, 0, this), this.os = H.getProp(e, t.os, 0, .01, this), this.localShapeCollection = qe.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
1637
+ }
1638
+ return e.prototype = {
1639
+ reset: r,
1640
+ getValue: function() {
1641
+ this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
1642
+ },
1643
+ convertStarToPath: function() {
1644
+ var e = Math.floor(this.pt.v) * 2, t = Math.PI * 2 / e, n = !0, r = this.or.v, i = this.ir.v, a = this.os.v, o = this.is.v, s = 2 * Math.PI * r / (e * 2), c = 2 * Math.PI * i / (e * 2), l, u, d, f, p = -Math.PI / 2;
1645
+ p += this.r.v;
1646
+ var m = this.data.d === 3 ? -1 : 1;
1647
+ for (this.v._length = 0, l = 0; l < e; l += 1) {
1648
+ u = n ? r : i, d = n ? a : o, f = n ? s : c;
1649
+ var h = u * Math.cos(p), g = u * Math.sin(p), _ = h === 0 && g === 0 ? 0 : g / Math.sqrt(h * h + g * g), v = h === 0 && g === 0 ? 0 : -h / Math.sqrt(h * h + g * g);
1650
+ h += +this.p.v[0], g += +this.p.v[1], this.v.setTripleAt(h, g, h - _ * f * d * m, g - v * f * d * m, h + _ * f * d * m, g + v * f * d * m, l, !0), n = !n, p += t * m;
1651
+ }
1652
+ },
1653
+ convertPolygonToPath: function() {
1654
+ var e = Math.floor(this.pt.v), t = Math.PI * 2 / e, n = this.or.v, r = this.os.v, i = 2 * Math.PI * n / (e * 4), a, o = -Math.PI * .5, s = this.data.d === 3 ? -1 : 1;
1655
+ for (o += this.r.v, this.v._length = 0, a = 0; a < e; a += 1) {
1656
+ var c = n * Math.cos(o), l = n * Math.sin(o), u = c === 0 && l === 0 ? 0 : l / Math.sqrt(c * c + l * l), d = c === 0 && l === 0 ? 0 : -c / Math.sqrt(c * c + l * l);
1657
+ c += +this.p.v[0], l += +this.p.v[1], this.v.setTripleAt(c, l, c - u * i * r * s, l - d * i * r * s, c + u * i * r * s, l + d * i * r * s, a, !0), o += t * s;
1658
+ }
1659
+ this.paths.length = 0, this.paths[0] = this.v;
1660
+ }
1661
+ }, d([U], e), e;
1662
+ }(), p = function() {
1663
+ function e(e, t) {
1664
+ this.v = W.newElement(), this.v.c = !0, this.localShapeCollection = qe.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = e, this.comp = e.comp, this.frameId = -1, this.d = t.d, this.initDynamicPropertyContainer(e), this.p = H.getProp(e, t.p, 1, 0, this), this.s = H.getProp(e, t.s, 1, 0, this), this.r = H.getProp(e, t.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
1665
+ }
1666
+ return e.prototype = {
1667
+ convertRectToPath: function() {
1668
+ var e = this.p.v[0], t = this.p.v[1], n = this.s.v[0] / 2, r = this.s.v[1] / 2, i = T(n, r, this.r.v), a = i * (1 - k);
1669
+ this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(e + n, t - r + i, e + n, t - r + i, e + n, t - r + a, 0, !0), this.v.setTripleAt(e + n, t + r - i, e + n, t + r - a, e + n, t + r - i, 1, !0), i === 0 ? (this.v.setTripleAt(e - n, t + r, e - n + a, t + r, e - n, t + r, 2), this.v.setTripleAt(e - n, t - r, e - n, t - r + a, e - n, t - r, 3)) : (this.v.setTripleAt(e + n - i, t + r, e + n - i, t + r, e + n - a, t + r, 2, !0), this.v.setTripleAt(e - n + i, t + r, e - n + a, t + r, e - n + i, t + r, 3, !0), this.v.setTripleAt(e - n, t + r - i, e - n, t + r - i, e - n, t + r - a, 4, !0), this.v.setTripleAt(e - n, t - r + i, e - n, t - r + a, e - n, t - r + i, 5, !0), this.v.setTripleAt(e - n + i, t - r, e - n + i, t - r, e - n + a, t - r, 6, !0), this.v.setTripleAt(e + n - i, t - r, e + n - a, t - r, e + n - i, t - r, 7, !0))) : (this.v.setTripleAt(e + n, t - r + i, e + n, t - r + a, e + n, t - r + i, 0, !0), i === 0 ? (this.v.setTripleAt(e - n, t - r, e - n + a, t - r, e - n, t - r, 1, !0), this.v.setTripleAt(e - n, t + r, e - n, t + r - a, e - n, t + r, 2, !0), this.v.setTripleAt(e + n, t + r, e + n - a, t + r, e + n, t + r, 3, !0)) : (this.v.setTripleAt(e + n - i, t - r, e + n - i, t - r, e + n - a, t - r, 1, !0), this.v.setTripleAt(e - n + i, t - r, e - n + a, t - r, e - n + i, t - r, 2, !0), this.v.setTripleAt(e - n, t - r + i, e - n, t - r + i, e - n, t - r + a, 3, !0), this.v.setTripleAt(e - n, t + r - i, e - n, t + r - a, e - n, t + r - i, 4, !0), this.v.setTripleAt(e - n + i, t + r, e - n + i, t + r, e - n + a, t + r, 5, !0), this.v.setTripleAt(e + n - i, t + r, e + n - a, t + r, e + n - i, t + r, 6, !0), this.v.setTripleAt(e + n, t + r - i, e + n, t + r - i, e + n, t + r - a, 7, !0)));
1670
+ },
1671
+ getValue: function() {
1672
+ this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
1673
+ },
1674
+ reset: r
1675
+ }, d([U], e), e;
1676
+ }();
1677
+ function m(e, t, n) {
1678
+ var r;
1679
+ return n === 3 || n === 4 ? r = (n === 3 ? t.pt : t.ks).k.length ? new l(e, t, n) : new s(e, t, n) : n === 5 ? r = new p(e, t) : n === 6 ? r = new u(e, t) : n === 7 && (r = new f(e, t)), r.k && e.addDynamicProperty(r), r;
1680
+ }
1681
+ function h() {
1682
+ return s;
1683
+ }
1684
+ function g() {
1685
+ return l;
1686
+ }
1687
+ var _ = {};
1688
+ return _.getShapeProp = m, _.getConstructorFunction = h, _.getKeyframedConstructorFunction = g, _;
1689
+ }(), G = function() {
1690
+ var e = Math.cos, t = Math.sin, n = Math.tan, r = Math.round;
1691
+ function i() {
1692
+ return this.props[0] = 1, this.props[1] = 0, this.props[2] = 0, this.props[3] = 0, this.props[4] = 0, this.props[5] = 1, this.props[6] = 0, this.props[7] = 0, this.props[8] = 0, this.props[9] = 0, this.props[10] = 1, this.props[11] = 0, this.props[12] = 0, this.props[13] = 0, this.props[14] = 0, this.props[15] = 1, this;
1693
+ }
1694
+ function a(n) {
1695
+ if (n === 0) return this;
1696
+ var r = e(n), i = t(n);
1697
+ return this._t(r, -i, 0, 0, i, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
1698
+ }
1699
+ function o(n) {
1700
+ if (n === 0) return this;
1701
+ var r = e(n), i = t(n);
1702
+ return this._t(1, 0, 0, 0, 0, r, -i, 0, 0, i, r, 0, 0, 0, 0, 1);
1703
+ }
1704
+ function s(n) {
1705
+ if (n === 0) return this;
1706
+ var r = e(n), i = t(n);
1707
+ return this._t(r, 0, i, 0, 0, 1, 0, 0, -i, 0, r, 0, 0, 0, 0, 1);
1708
+ }
1709
+ function c(n) {
1710
+ if (n === 0) return this;
1711
+ var r = e(n), i = t(n);
1712
+ return this._t(r, -i, 0, 0, i, r, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
1713
+ }
1714
+ function l(e, t) {
1715
+ return this._t(1, t, e, 1, 0, 0);
1716
+ }
1717
+ function u(e, t) {
1718
+ return this.shear(n(e), n(t));
1719
+ }
1720
+ function d(r, i) {
1721
+ var a = e(i), o = t(i);
1722
+ return this._t(a, o, 0, 0, -o, a, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, n(r), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(a, -o, 0, 0, o, a, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
1723
+ }
1724
+ function f(e, t, n) {
1725
+ return !n && n !== 0 && (n = 1), e === 1 && t === 1 && n === 1 ? this : this._t(e, 0, 0, 0, 0, t, 0, 0, 0, 0, n, 0, 0, 0, 0, 1);
1726
+ }
1727
+ function p(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h) {
1728
+ return this.props[0] = e, this.props[1] = t, this.props[2] = n, this.props[3] = r, this.props[4] = i, this.props[5] = a, this.props[6] = o, this.props[7] = s, this.props[8] = c, this.props[9] = l, this.props[10] = u, this.props[11] = d, this.props[12] = f, this.props[13] = p, this.props[14] = m, this.props[15] = h, this;
1729
+ }
1730
+ function h(e, t, n) {
1731
+ return n ||= 0, e !== 0 || t !== 0 || n !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, e, t, n, 1) : this;
1732
+ }
1733
+ function g(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h) {
1734
+ var g = this.props;
1735
+ if (e === 1 && t === 0 && n === 0 && r === 0 && i === 0 && a === 1 && o === 0 && s === 0 && c === 0 && l === 0 && u === 1 && d === 0) return g[12] = g[12] * e + g[15] * f, g[13] = g[13] * a + g[15] * p, g[14] = g[14] * u + g[15] * m, g[15] *= h, this._identityCalculated = !1, this;
1736
+ var _ = g[0], v = g[1], y = g[2], b = g[3], x = g[4], S = g[5], C = g[6], w = g[7], T = g[8], E = g[9], D = g[10], O = g[11], k = g[12], A = g[13], j = g[14], M = g[15];
1737
+ return g[0] = _ * e + v * i + y * c + b * f, g[1] = _ * t + v * a + y * l + b * p, g[2] = _ * n + v * o + y * u + b * m, g[3] = _ * r + v * s + y * d + b * h, g[4] = x * e + S * i + C * c + w * f, g[5] = x * t + S * a + C * l + w * p, g[6] = x * n + S * o + C * u + w * m, g[7] = x * r + S * s + C * d + w * h, g[8] = T * e + E * i + D * c + O * f, g[9] = T * t + E * a + D * l + O * p, g[10] = T * n + E * o + D * u + O * m, g[11] = T * r + E * s + D * d + O * h, g[12] = k * e + A * i + j * c + M * f, g[13] = k * t + A * a + j * l + M * p, g[14] = k * n + A * o + j * u + M * m, g[15] = k * r + A * s + j * d + M * h, this._identityCalculated = !1, this;
1738
+ }
1739
+ function _(e) {
1740
+ var t = e.props;
1741
+ return this.transform(t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], t[8], t[9], t[10], t[11], t[12], t[13], t[14], t[15]);
1742
+ }
1743
+ function v() {
1744
+ return this._identityCalculated ||= (this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1), !0), this._identity;
1745
+ }
1746
+ function y(e) {
1747
+ for (var t = 0; t < 16;) {
1748
+ if (e.props[t] !== this.props[t]) return !1;
1749
+ t += 1;
1750
+ }
1751
+ return !0;
1752
+ }
1753
+ function b(e) {
1754
+ var t;
1755
+ for (t = 0; t < 16; t += 1) e.props[t] = this.props[t];
1756
+ return e;
1757
+ }
1758
+ function x(e) {
1759
+ var t;
1760
+ for (t = 0; t < 16; t += 1) this.props[t] = e[t];
1761
+ }
1762
+ function S(e, t, n) {
1763
+ return {
1764
+ x: e * this.props[0] + t * this.props[4] + n * this.props[8] + this.props[12],
1765
+ y: e * this.props[1] + t * this.props[5] + n * this.props[9] + this.props[13],
1766
+ z: e * this.props[2] + t * this.props[6] + n * this.props[10] + this.props[14]
1767
+ };
1768
+ }
1769
+ function C(e, t, n) {
1770
+ return e * this.props[0] + t * this.props[4] + n * this.props[8] + this.props[12];
1771
+ }
1772
+ function w(e, t, n) {
1773
+ return e * this.props[1] + t * this.props[5] + n * this.props[9] + this.props[13];
1774
+ }
1775
+ function T(e, t, n) {
1776
+ return e * this.props[2] + t * this.props[6] + n * this.props[10] + this.props[14];
1777
+ }
1778
+ function E() {
1779
+ var e = this.props[0] * this.props[5] - this.props[1] * this.props[4], t = this.props[5] / e, n = -this.props[1] / e, r = -this.props[4] / e, i = this.props[0] / e, a = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / e, o = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / e, s = new G();
1780
+ return s.props[0] = t, s.props[1] = n, s.props[4] = r, s.props[5] = i, s.props[12] = a, s.props[13] = o, s;
1781
+ }
1782
+ function D(e) {
1783
+ return this.getInverseMatrix().applyToPointArray(e[0], e[1], e[2] || 0);
1784
+ }
1785
+ function O(e) {
1786
+ var t, n = e.length, r = [];
1787
+ for (t = 0; t < n; t += 1) r[t] = D(e[t]);
1788
+ return r;
1789
+ }
1790
+ function k(e, t, n) {
1791
+ var r = m("float32", 6);
1792
+ if (this.isIdentity()) r[0] = e[0], r[1] = e[1], r[2] = t[0], r[3] = t[1], r[4] = n[0], r[5] = n[1];
1793
+ else {
1794
+ var i = this.props[0], a = this.props[1], o = this.props[4], s = this.props[5], c = this.props[12], l = this.props[13];
1795
+ r[0] = e[0] * i + e[1] * o + c, r[1] = e[0] * a + e[1] * s + l, r[2] = t[0] * i + t[1] * o + c, r[3] = t[0] * a + t[1] * s + l, r[4] = n[0] * i + n[1] * o + c, r[5] = n[0] * a + n[1] * s + l;
1796
+ }
1797
+ return r;
1798
+ }
1799
+ function A(e, t, n) {
1800
+ return this.isIdentity() ? [
1801
+ e,
1802
+ t,
1803
+ n
1804
+ ] : [
1805
+ e * this.props[0] + t * this.props[4] + n * this.props[8] + this.props[12],
1806
+ e * this.props[1] + t * this.props[5] + n * this.props[9] + this.props[13],
1807
+ e * this.props[2] + t * this.props[6] + n * this.props[10] + this.props[14]
1808
+ ];
1809
+ }
1810
+ function j(e, t) {
1811
+ if (this.isIdentity()) return e + "," + t;
1812
+ var n = this.props;
1813
+ return Math.round((e * n[0] + t * n[4] + n[12]) * 100) / 100 + "," + Math.round((e * n[1] + t * n[5] + n[13]) * 100) / 100;
1814
+ }
1815
+ function M() {
1816
+ for (var e = 0, t = this.props, n = "matrix3d(", i = 1e4; e < 16;) n += r(t[e] * i) / i, n += e === 15 ? ")" : ",", e += 1;
1817
+ return n;
1818
+ }
1819
+ function N(e) {
1820
+ var t = 1e4;
1821
+ return e < 1e-6 && e > 0 || e > -1e-6 && e < 0 ? r(e * t) / t : e;
1822
+ }
1823
+ function P() {
1824
+ var e = this.props, t = N(e[0]), n = N(e[1]), r = N(e[4]), i = N(e[5]), a = N(e[12]), o = N(e[13]);
1825
+ return "matrix(" + t + "," + n + "," + r + "," + i + "," + a + "," + o + ")";
1826
+ }
1827
+ return function() {
1828
+ this.reset = i, this.rotate = a, this.rotateX = o, this.rotateY = s, this.rotateZ = c, this.skew = u, this.skewFromAxis = d, this.shear = l, this.scale = f, this.setTransform = p, this.translate = h, this.transform = g, this.multiply = _, this.applyToPoint = S, this.applyToX = C, this.applyToY = w, this.applyToZ = T, this.applyToPointArray = A, this.applyToTriplePoints = k, this.applyToPointStringified = j, this.toCSS = M, this.to2dCSS = P, this.clone = b, this.cloneFromProps = x, this.equals = y, this.inversePoints = O, this.inversePoint = D, this.getInverseMatrix = E, this._t = this.transform, this.isIdentity = v, this._identity = !0, this._identityCalculated = !1, this.props = m("float32", 16), this.reset();
1829
+ };
1830
+ }();
1831
+ function Ye(e) {
1832
+ "@babel/helpers - typeof";
1833
+ return Ye = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1834
+ return typeof e;
1835
+ } : function(e) {
1836
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1837
+ }, Ye(e);
1838
+ }
1839
+ var K = {}, Xe = "__[STANDALONE]__", Ze = "__[ANIMATIONDATA]__", Qe = "";
1840
+ function $e(e) {
1841
+ c(e);
1842
+ }
1843
+ function et() {
1844
+ Xe === !0 ? V.searchAnimations(Ze, Xe, Qe) : V.searchAnimations();
1845
+ }
1846
+ function tt(e) {
1847
+ oe(e);
1848
+ }
1849
+ function nt(e) {
1850
+ pe(e);
1851
+ }
1852
+ function rt(e) {
1853
+ return Xe === !0 && (e.animationData = JSON.parse(Ze)), V.loadAnimation(e);
1854
+ }
1855
+ function it(e) {
1856
+ if (typeof e == "string") switch (e) {
1857
+ case "high":
1858
+ de(200);
1859
+ break;
1860
+ default:
1861
+ case "medium":
1862
+ de(50);
1863
+ break;
1864
+ case "low":
1865
+ de(10);
1866
+ break;
1867
+ }
1868
+ else !isNaN(e) && e > 1 && de(e);
1869
+ }
1870
+ function at() {
1871
+ return typeof navigator < "u";
1872
+ }
1873
+ function ot(e, t) {
1874
+ e === "expressions" && ce(t);
1875
+ }
1876
+ function st(e) {
1877
+ switch (e) {
1878
+ case "propertyFactory": return H;
1879
+ case "shapePropertyFactory": return Je;
1880
+ case "matrix": return G;
1881
+ default: return null;
1882
+ }
1883
+ }
1884
+ K.play = V.play, K.pause = V.pause, K.setLocationHref = $e, K.togglePause = V.togglePause, K.setSpeed = V.setSpeed, K.setDirection = V.setDirection, K.stop = V.stop, K.searchAnimations = et, K.registerAnimation = V.registerAnimation, K.loadAnimation = rt, K.setSubframeRendering = tt, K.resize = V.resize, K.goToAndStop = V.goToAndStop, K.destroy = V.destroy, K.setQuality = it, K.inBrowser = at, K.installPlugin = ot, K.freeze = V.freeze, K.unfreeze = V.unfreeze, K.setVolume = V.setVolume, K.mute = V.mute, K.unmute = V.unmute, K.getRegisteredAnimations = V.getRegisteredAnimations, K.useWebWorker = o, K.setIDPrefix = nt, K.__getFactory = st, K.version = "5.13.0";
1885
+ function ct() {
1886
+ document.readyState === "complete" && (clearInterval(pt), et());
1887
+ }
1888
+ function lt(e) {
1889
+ for (var t = ut.split("&"), n = 0; n < t.length; n += 1) {
1890
+ var r = t[n].split("=");
1891
+ if (decodeURIComponent(r[0]) == e) return decodeURIComponent(r[1]);
1892
+ }
1893
+ return null;
1894
+ }
1895
+ var ut = "";
1896
+ if (Xe) {
1897
+ var dt = document.getElementsByTagName("script"), ft = dt[dt.length - 1] || { src: "" };
1898
+ ut = ft.src ? ft.src.replace(/^[^\?]+\??/, "") : "", Qe = lt("renderer");
1899
+ }
1900
+ var pt = setInterval(ct, 100);
1901
+ try {
1902
+ !((e === void 0 ? "undefined" : Ye(e)) === "object" && t !== void 0) && !(typeof define == "function" && define.amd) && (window.bodymovin = K);
1903
+ } catch {}
1904
+ var mt = function() {
1905
+ var e = {}, t = {};
1906
+ e.registerModifier = n, e.getModifier = r;
1907
+ function n(e, n) {
1908
+ t[e] || (t[e] = n);
1909
+ }
1910
+ function r(e, n, r) {
1911
+ return new t[e](n, r);
1912
+ }
1913
+ return e;
1914
+ }();
1915
+ function q() {}
1916
+ q.prototype.initModifierProperties = function() {}, q.prototype.addShapeToModifier = function() {}, q.prototype.addShape = function(e) {
1917
+ if (!this.closed) {
1918
+ e.sh.container.addDynamicProperty(e.sh);
1919
+ var t = {
1920
+ shape: e.sh,
1921
+ data: e,
1922
+ localShapeCollection: qe.newShapeCollection()
1923
+ };
1924
+ this.shapes.push(t), this.addShapeToModifier(t), this._isAnimated && e.setAsAnimated();
1925
+ }
1926
+ }, q.prototype.init = function(e, t) {
1927
+ this.shapes = [], this.elem = e, this.initDynamicPropertyContainer(e), this.initModifierProperties(e, t), this.frameId = a, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
1928
+ }, q.prototype.processKeys = function() {
1929
+ this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
1930
+ }, d([U], q);
1931
+ function ht() {}
1932
+ d([q], ht), ht.prototype.initModifierProperties = function(e, t) {
1933
+ this.s = H.getProp(e, t.s, 0, .01, this), this.e = H.getProp(e, t.e, 0, .01, this), this.o = H.getProp(e, t.o, 0, 0, this), this.sValue = 0, this.eValue = 0, this.getValue = this.processKeys, this.m = t.m, this._isAnimated = !!this.s.effectsSequence.length || !!this.e.effectsSequence.length || !!this.o.effectsSequence.length;
1934
+ }, ht.prototype.addShapeToModifier = function(e) {
1935
+ e.pathsData = [];
1936
+ }, ht.prototype.calculateShapeEdges = function(e, t, n, r, i) {
1937
+ var a = [];
1938
+ t <= 1 ? a.push({
1939
+ s: e,
1940
+ e: t
1941
+ }) : e >= 1 ? a.push({
1942
+ s: e - 1,
1943
+ e: t - 1
1944
+ }) : (a.push({
1945
+ s: e,
1946
+ e: 1
1947
+ }), a.push({
1948
+ s: 0,
1949
+ e: t - 1
1950
+ }));
1951
+ var o = [], s, c = a.length, l;
1952
+ for (s = 0; s < c; s += 1) if (l = a[s], !(l.e * i < r || l.s * i > r + n)) {
1953
+ var u = l.s * i <= r ? 0 : (l.s * i - r) / n, d = l.e * i >= r + n ? 1 : (l.e * i - r) / n;
1954
+ o.push([u, d]);
1955
+ }
1956
+ return o.length || o.push([0, 0]), o;
1957
+ }, ht.prototype.releasePathsData = function(e) {
1958
+ var t, n = e.length;
1959
+ for (t = 0; t < n; t += 1) De.release(e[t]);
1960
+ return e.length = 0, e;
1961
+ }, ht.prototype.processShapes = function(e) {
1962
+ var t, n;
1963
+ if (this._mdf || e) {
1964
+ var r = this.o.v % 360 / 360;
1965
+ if (r < 0 && (r += 1), t = this.s.v > 1 ? 1 + r : this.s.v < 0 ? 0 + r : this.s.v + r, n = this.e.v > 1 ? 1 + r : this.e.v < 0 ? 0 + r : this.e.v + r, t > n) {
1966
+ var i = t;
1967
+ t = n, n = i;
1968
+ }
1969
+ t = Math.round(t * 1e4) * 1e-4, n = Math.round(n * 1e4) * 1e-4, this.sValue = t, this.eValue = n;
1970
+ } else t = this.sValue, n = this.eValue;
1971
+ var a, o, s = this.shapes.length, c, l, u, d, f, p = 0;
1972
+ if (n === t) for (o = 0; o < s; o += 1) this.shapes[o].localShapeCollection.releaseShapes(), this.shapes[o].shape._mdf = !0, this.shapes[o].shape.paths = this.shapes[o].localShapeCollection, this._mdf && (this.shapes[o].pathsData.length = 0);
1973
+ else if (n === 1 && t === 0 || n === 0 && t === 1) {
1974
+ if (this._mdf) for (o = 0; o < s; o += 1) this.shapes[o].pathsData.length = 0, this.shapes[o].shape._mdf = !0;
1975
+ } else {
1976
+ var m = [], h, g;
1977
+ for (o = 0; o < s; o += 1) if (h = this.shapes[o], !h.shape._mdf && !this._mdf && !e && this.m !== 2) h.shape.paths = h.localShapeCollection;
1978
+ else {
1979
+ if (a = h.shape.paths, l = a._length, f = 0, !h.shape._mdf && h.pathsData.length) f = h.totalShapeLength;
1980
+ else {
1981
+ for (u = this.releasePathsData(h.pathsData), c = 0; c < l; c += 1) d = ke.getSegmentsLength(a.shapes[c]), u.push(d), f += d.totalLength;
1982
+ h.totalShapeLength = f, h.pathsData = u;
1983
+ }
1984
+ p += f, h.shape._mdf = !0;
1985
+ }
1986
+ var _ = t, v = n, y = 0, b;
1987
+ for (o = s - 1; o >= 0; --o) if (h = this.shapes[o], h.shape._mdf) {
1988
+ for (g = h.localShapeCollection, g.releaseShapes(), this.m === 2 && s > 1 ? (b = this.calculateShapeEdges(t, n, h.totalShapeLength, y, p), y += h.totalShapeLength) : b = [[_, v]], l = b.length, c = 0; c < l; c += 1) {
1989
+ _ = b[c][0], v = b[c][1], m.length = 0, v <= 1 ? m.push({
1990
+ s: h.totalShapeLength * _,
1991
+ e: h.totalShapeLength * v
1992
+ }) : _ >= 1 ? m.push({
1993
+ s: h.totalShapeLength * (_ - 1),
1994
+ e: h.totalShapeLength * (v - 1)
1995
+ }) : (m.push({
1996
+ s: h.totalShapeLength * _,
1997
+ e: h.totalShapeLength
1998
+ }), m.push({
1999
+ s: 0,
2000
+ e: h.totalShapeLength * (v - 1)
2001
+ }));
2002
+ var x = this.addShapes(h, m[0]);
2003
+ if (m[0].s !== m[0].e) {
2004
+ if (m.length > 1) if (h.shape.paths.shapes[h.shape.paths._length - 1].c) {
2005
+ var S = x.pop();
2006
+ this.addPaths(x, g), x = this.addShapes(h, m[1], S);
2007
+ } else this.addPaths(x, g), x = this.addShapes(h, m[1]);
2008
+ this.addPaths(x, g);
2009
+ }
2010
+ }
2011
+ h.shape.paths = g;
2012
+ }
2013
+ }
2014
+ }, ht.prototype.addPaths = function(e, t) {
2015
+ var n, r = e.length;
2016
+ for (n = 0; n < r; n += 1) t.addShape(e[n]);
2017
+ }, ht.prototype.addSegment = function(e, t, n, r, i, a, o) {
2018
+ i.setXYAt(t[0], t[1], "o", a), i.setXYAt(n[0], n[1], "i", a + 1), o && i.setXYAt(e[0], e[1], "v", a), i.setXYAt(r[0], r[1], "v", a + 1);
2019
+ }, ht.prototype.addSegmentFromArray = function(e, t, n, r) {
2020
+ t.setXYAt(e[1], e[5], "o", n), t.setXYAt(e[2], e[6], "i", n + 1), r && t.setXYAt(e[0], e[4], "v", n), t.setXYAt(e[3], e[7], "v", n + 1);
2021
+ }, ht.prototype.addShapes = function(e, t, n) {
2022
+ var r = e.pathsData, i = e.shape.paths.shapes, a, o = e.shape.paths._length, s, c, l = 0, u, d, f, p, m = [], h, g = !0;
2023
+ for (n ? (d = n._length, h = n._length) : (n = W.newElement(), d = 0, h = 0), m.push(n), a = 0; a < o; a += 1) {
2024
+ for (f = r[a].lengths, n.c = i[a].c, c = i[a].c ? f.length : f.length + 1, s = 1; s < c; s += 1) if (u = f[s - 1], l + u.addedLength < t.s) l += u.addedLength, n.c = !1;
2025
+ else if (l > t.e) {
2026
+ n.c = !1;
2027
+ break;
2028
+ } else t.s <= l && t.e >= l + u.addedLength ? (this.addSegment(i[a].v[s - 1], i[a].o[s - 1], i[a].i[s], i[a].v[s], n, d, g), g = !1) : (p = ke.getNewSegment(i[a].v[s - 1], i[a].v[s], i[a].o[s - 1], i[a].i[s], (t.s - l) / u.addedLength, (t.e - l) / u.addedLength, f[s - 1]), this.addSegmentFromArray(p, n, d, g), g = !1, n.c = !1), l += u.addedLength, d += 1;
2029
+ if (i[a].c && f.length) {
2030
+ if (u = f[s - 1], l <= t.e) {
2031
+ var _ = f[s - 1].addedLength;
2032
+ t.s <= l && t.e >= l + _ ? (this.addSegment(i[a].v[s - 1], i[a].o[s - 1], i[a].i[0], i[a].v[0], n, d, g), g = !1) : (p = ke.getNewSegment(i[a].v[s - 1], i[a].v[0], i[a].o[s - 1], i[a].i[0], (t.s - l) / _, (t.e - l) / _, f[s - 1]), this.addSegmentFromArray(p, n, d, g), g = !1, n.c = !1);
2033
+ } else n.c = !1;
2034
+ l += u.addedLength, d += 1;
2035
+ }
2036
+ if (n._length && (n.setXYAt(n.v[h][0], n.v[h][1], "i", h), n.setXYAt(n.v[n._length - 1][0], n.v[n._length - 1][1], "o", n._length - 1)), l > t.e) break;
2037
+ a < o - 1 && (n = W.newElement(), g = !0, m.push(n), d = 0);
2038
+ }
2039
+ return m;
2040
+ };
2041
+ function gt() {}
2042
+ d([q], gt), gt.prototype.initModifierProperties = function(e, t) {
2043
+ this.getValue = this.processKeys, this.amount = H.getProp(e, t.a, 0, null, this), this._isAnimated = !!this.amount.effectsSequence.length;
2044
+ }, gt.prototype.processPath = function(e, t) {
2045
+ var n = t / 100, r = [0, 0], i = e._length, a = 0;
2046
+ for (a = 0; a < i; a += 1) r[0] += e.v[a][0], r[1] += e.v[a][1];
2047
+ r[0] /= i, r[1] /= i;
2048
+ var o = W.newElement();
2049
+ o.c = e.c;
2050
+ var s, c, l, u, d, f;
2051
+ for (a = 0; a < i; a += 1) s = e.v[a][0] + (r[0] - e.v[a][0]) * n, c = e.v[a][1] + (r[1] - e.v[a][1]) * n, l = e.o[a][0] + (r[0] - e.o[a][0]) * -n, u = e.o[a][1] + (r[1] - e.o[a][1]) * -n, d = e.i[a][0] + (r[0] - e.i[a][0]) * -n, f = e.i[a][1] + (r[1] - e.i[a][1]) * -n, o.setTripleAt(s, c, l, u, d, f, a);
2052
+ return o;
2053
+ }, gt.prototype.processShapes = function(e) {
2054
+ var t, n, r = this.shapes.length, i, a, o = this.amount.v;
2055
+ if (o !== 0) {
2056
+ var s, c;
2057
+ for (n = 0; n < r; n += 1) {
2058
+ if (s = this.shapes[n], c = s.localShapeCollection, !(!s.shape._mdf && !this._mdf && !e)) for (c.releaseShapes(), s.shape._mdf = !0, t = s.shape.paths.shapes, a = s.shape.paths._length, i = 0; i < a; i += 1) c.addShape(this.processPath(t[i], o));
2059
+ s.shape.paths = s.localShapeCollection;
2060
+ }
2061
+ }
2062
+ this.dynamicProperties.length || (this._mdf = !1);
2063
+ };
2064
+ var _t = function() {
2065
+ var e = [0, 0];
2066
+ function t(e) {
2067
+ var t = this._mdf;
2068
+ this.iterateDynamicProperties(), this._mdf = this._mdf || t, this.a && e.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]), this.s && e.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.sk && e.skewFromAxis(-this.sk.v, this.sa.v), this.r ? e.rotate(-this.r.v) : e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.data.p.s ? this.data.p.z ? e.translate(this.px.v, this.py.v, -this.pz.v) : e.translate(this.px.v, this.py.v, 0) : e.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);
2069
+ }
2070
+ function n(t) {
2071
+ if (this.elem.globalData.frameId !== this.frameId) {
2072
+ if (this._isDirty &&= (this.precalculateMatrix(), !1), this.iterateDynamicProperties(), this._mdf || t) {
2073
+ var n;
2074
+ if (this.v.cloneFromProps(this.pre.props), this.appliedTransformations < 1 && this.v.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]), this.appliedTransformations < 2 && this.v.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.sk && this.appliedTransformations < 3 && this.v.skewFromAxis(-this.sk.v, this.sa.v), this.r && this.appliedTransformations < 4 ? this.v.rotate(-this.r.v) : !this.r && this.appliedTransformations < 4 && this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.autoOriented) {
2075
+ var r, i;
2076
+ if (n = this.elem.globalData.frameRate, this.p && this.p.keyframes && this.p.getValueAtTime) this.p._caching.lastFrame + this.p.offsetTime <= this.p.keyframes[0].t ? (r = this.p.getValueAtTime((this.p.keyframes[0].t + .01) / n, 0), i = this.p.getValueAtTime(this.p.keyframes[0].t / n, 0)) : this.p._caching.lastFrame + this.p.offsetTime >= this.p.keyframes[this.p.keyframes.length - 1].t ? (r = this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length - 1].t / n, 0), i = this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length - 1].t - .05) / n, 0)) : (r = this.p.pv, i = this.p.getValueAtTime((this.p._caching.lastFrame + this.p.offsetTime - .01) / n, this.p.offsetTime));
2077
+ else if (this.px && this.px.keyframes && this.py.keyframes && this.px.getValueAtTime && this.py.getValueAtTime) {
2078
+ r = [], i = [];
2079
+ var a = this.px, o = this.py;
2080
+ a._caching.lastFrame + a.offsetTime <= a.keyframes[0].t ? (r[0] = a.getValueAtTime((a.keyframes[0].t + .01) / n, 0), r[1] = o.getValueAtTime((o.keyframes[0].t + .01) / n, 0), i[0] = a.getValueAtTime(a.keyframes[0].t / n, 0), i[1] = o.getValueAtTime(o.keyframes[0].t / n, 0)) : a._caching.lastFrame + a.offsetTime >= a.keyframes[a.keyframes.length - 1].t ? (r[0] = a.getValueAtTime(a.keyframes[a.keyframes.length - 1].t / n, 0), r[1] = o.getValueAtTime(o.keyframes[o.keyframes.length - 1].t / n, 0), i[0] = a.getValueAtTime((a.keyframes[a.keyframes.length - 1].t - .01) / n, 0), i[1] = o.getValueAtTime((o.keyframes[o.keyframes.length - 1].t - .01) / n, 0)) : (r = [a.pv, o.pv], i[0] = a.getValueAtTime((a._caching.lastFrame + a.offsetTime - .01) / n, a.offsetTime), i[1] = o.getValueAtTime((o._caching.lastFrame + o.offsetTime - .01) / n, o.offsetTime));
2081
+ } else i = e, r = i;
2082
+ this.v.rotate(-Math.atan2(r[1] - i[1], r[0] - i[0]));
2083
+ }
2084
+ this.data.p && this.data.p.s ? this.data.p.z ? this.v.translate(this.px.v, this.py.v, -this.pz.v) : this.v.translate(this.px.v, this.py.v, 0) : this.v.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);
2085
+ }
2086
+ this.frameId = this.elem.globalData.frameId;
2087
+ }
2088
+ }
2089
+ function r() {
2090
+ if (this.appliedTransformations = 0, this.pre.reset(), !this.a.effectsSequence.length) this.pre.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]), this.appliedTransformations = 1;
2091
+ else return;
2092
+ if (!this.s.effectsSequence.length) this.pre.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.appliedTransformations = 2;
2093
+ else return;
2094
+ if (this.sk) if (!this.sk.effectsSequence.length && !this.sa.effectsSequence.length) this.pre.skewFromAxis(-this.sk.v, this.sa.v), this.appliedTransformations = 3;
2095
+ else return;
2096
+ this.r ? this.r.effectsSequence.length || (this.pre.rotate(-this.r.v), this.appliedTransformations = 4) : !this.rz.effectsSequence.length && !this.ry.effectsSequence.length && !this.rx.effectsSequence.length && !this.or.effectsSequence.length && (this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.appliedTransformations = 4);
2097
+ }
2098
+ function i() {}
2099
+ function a(e) {
2100
+ this._addDynamicProperty(e), this.elem.addDynamicProperty(e), this._isDirty = !0;
2101
+ }
2102
+ function o(e, t, n) {
2103
+ if (this.elem = e, this.frameId = -1, this.propType = "transform", this.data = t, this.v = new G(), this.pre = new G(), this.appliedTransformations = 0, this.initDynamicPropertyContainer(n || e), t.p && t.p.s ? (this.px = H.getProp(e, t.p.x, 0, 0, this), this.py = H.getProp(e, t.p.y, 0, 0, this), t.p.z && (this.pz = H.getProp(e, t.p.z, 0, 0, this))) : this.p = H.getProp(e, t.p || { k: [
2104
+ 0,
2105
+ 0,
2106
+ 0
2107
+ ] }, 1, 0, this), t.rx) {
2108
+ if (this.rx = H.getProp(e, t.rx, 0, O, this), this.ry = H.getProp(e, t.ry, 0, O, this), this.rz = H.getProp(e, t.rz, 0, O, this), t.or.k[0].ti) {
2109
+ var r, i = t.or.k.length;
2110
+ for (r = 0; r < i; r += 1) t.or.k[r].to = null, t.or.k[r].ti = null;
2111
+ }
2112
+ this.or = H.getProp(e, t.or, 1, O, this), this.or.sh = !0;
2113
+ } else this.r = H.getProp(e, t.r || { k: 0 }, 0, O, this);
2114
+ t.sk && (this.sk = H.getProp(e, t.sk, 0, O, this), this.sa = H.getProp(e, t.sa, 0, O, this)), this.a = H.getProp(e, t.a || { k: [
2115
+ 0,
2116
+ 0,
2117
+ 0
2118
+ ] }, 1, 0, this), this.s = H.getProp(e, t.s || { k: [
2119
+ 100,
2120
+ 100,
2121
+ 100
2122
+ ] }, 1, .01, this), t.o ? this.o = H.getProp(e, t.o, 0, .01, e) : this.o = {
2123
+ _mdf: !1,
2124
+ v: 1
2125
+ }, this._isDirty = !0, this.dynamicProperties.length || this.getValue(!0);
2126
+ }
2127
+ o.prototype = {
2128
+ applyToMatrix: t,
2129
+ getValue: n,
2130
+ precalculateMatrix: r,
2131
+ autoOrient: i
2132
+ }, d([U], o), o.prototype.addDynamicProperty = a, o.prototype._addDynamicProperty = U.prototype.addDynamicProperty;
2133
+ function s(e, t, n) {
2134
+ return new o(e, t, n);
2135
+ }
2136
+ return { getTransformProperty: s };
2137
+ }();
2138
+ function vt() {}
2139
+ d([q], vt), vt.prototype.initModifierProperties = function(e, t) {
2140
+ this.getValue = this.processKeys, this.c = H.getProp(e, t.c, 0, null, this), this.o = H.getProp(e, t.o, 0, null, this), this.tr = _t.getTransformProperty(e, t.tr, this), this.so = H.getProp(e, t.tr.so, 0, .01, this), this.eo = H.getProp(e, t.tr.eo, 0, .01, this), this.data = t, this.dynamicProperties.length || this.getValue(!0), this._isAnimated = !!this.dynamicProperties.length, this.pMatrix = new G(), this.rMatrix = new G(), this.sMatrix = new G(), this.tMatrix = new G(), this.matrix = new G();
2141
+ }, vt.prototype.applyTransforms = function(e, t, n, r, i, a) {
2142
+ var o = a ? -1 : 1, s = r.s.v[0] + (1 - r.s.v[0]) * (1 - i), c = r.s.v[1] + (1 - r.s.v[1]) * (1 - i);
2143
+ e.translate(r.p.v[0] * o * i, r.p.v[1] * o * i, r.p.v[2]), t.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]), t.rotate(-r.r.v * o * i), t.translate(r.a.v[0], r.a.v[1], r.a.v[2]), n.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]), n.scale(a ? 1 / s : s, a ? 1 / c : c), n.translate(r.a.v[0], r.a.v[1], r.a.v[2]);
2144
+ }, vt.prototype.init = function(e, t, n, r) {
2145
+ for (this.elem = e, this.arr = t, this.pos = n, this.elemsData = r, this._currentCopies = 0, this._elements = [], this._groups = [], this.frameId = -1, this.initDynamicPropertyContainer(e), this.initModifierProperties(e, t[n]); n > 0;) --n, this._elements.unshift(t[n]);
2146
+ this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
2147
+ }, vt.prototype.resetElements = function(e) {
2148
+ var t, n = e.length;
2149
+ for (t = 0; t < n; t += 1) e[t]._processed = !1, e[t].ty === "gr" && this.resetElements(e[t].it);
2150
+ }, vt.prototype.cloneElements = function(e) {
2151
+ var t = JSON.parse(JSON.stringify(e));
2152
+ return this.resetElements(t), t;
2153
+ }, vt.prototype.changeGroupRender = function(e, t) {
2154
+ var n, r = e.length;
2155
+ for (n = 0; n < r; n += 1) e[n]._render = t, e[n].ty === "gr" && this.changeGroupRender(e[n].it, t);
2156
+ }, vt.prototype.processShapes = function(e) {
2157
+ var t, n, r, i, a, o = !1;
2158
+ if (this._mdf || e) {
2159
+ var s = Math.ceil(this.c.v);
2160
+ if (this._groups.length < s) {
2161
+ for (; this._groups.length < s;) {
2162
+ var c = {
2163
+ it: this.cloneElements(this._elements),
2164
+ ty: "gr"
2165
+ };
2166
+ c.it.push({
2167
+ a: {
2168
+ a: 0,
2169
+ ix: 1,
2170
+ k: [0, 0]
2171
+ },
2172
+ nm: "Transform",
2173
+ o: {
2174
+ a: 0,
2175
+ ix: 7,
2176
+ k: 100
2177
+ },
2178
+ p: {
2179
+ a: 0,
2180
+ ix: 2,
2181
+ k: [0, 0]
2182
+ },
2183
+ r: {
2184
+ a: 1,
2185
+ ix: 6,
2186
+ k: [{
2187
+ s: 0,
2188
+ e: 0,
2189
+ t: 0
2190
+ }, {
2191
+ s: 0,
2192
+ e: 0,
2193
+ t: 1
2194
+ }]
2195
+ },
2196
+ s: {
2197
+ a: 0,
2198
+ ix: 3,
2199
+ k: [100, 100]
2200
+ },
2201
+ sa: {
2202
+ a: 0,
2203
+ ix: 5,
2204
+ k: 0
2205
+ },
2206
+ sk: {
2207
+ a: 0,
2208
+ ix: 4,
2209
+ k: 0
2210
+ },
2211
+ ty: "tr"
2212
+ }), this.arr.splice(0, 0, c), this._groups.splice(0, 0, c), this._currentCopies += 1;
2213
+ }
2214
+ this.elem.reloadShapes(), o = !0;
2215
+ }
2216
+ a = 0;
2217
+ var l;
2218
+ for (r = 0; r <= this._groups.length - 1; r += 1) {
2219
+ if (l = a < s, this._groups[r]._render = l, this.changeGroupRender(this._groups[r].it, l), !l) {
2220
+ var u = this.elemsData[r].it, d = u[u.length - 1];
2221
+ d.transform.op.v === 0 ? d.transform.op._mdf = !1 : (d.transform.op._mdf = !0, d.transform.op.v = 0);
2222
+ }
2223
+ a += 1;
2224
+ }
2225
+ this._currentCopies = s;
2226
+ var f = this.o.v, p = f % 1, m = f > 0 ? Math.floor(f) : Math.ceil(f), h = this.pMatrix.props, g = this.rMatrix.props, _ = this.sMatrix.props;
2227
+ this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
2228
+ var v = 0;
2229
+ if (f > 0) {
2230
+ for (; v < m;) this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), v += 1;
2231
+ p && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, p, !1), v += p);
2232
+ } else if (f < 0) {
2233
+ for (; v > m;) this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0), --v;
2234
+ p && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -p, !0), v -= p);
2235
+ }
2236
+ r = this.data.m === 1 ? 0 : this._currentCopies - 1, i = this.data.m === 1 ? 1 : -1, a = this._currentCopies;
2237
+ for (var y, b; a;) {
2238
+ if (t = this.elemsData[r].it, n = t[t.length - 1].transform.mProps.v.props, b = n.length, t[t.length - 1].transform.mProps._mdf = !0, t[t.length - 1].transform.op._mdf = !0, t[t.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (r / (this._currentCopies - 1)), v !== 0) {
2239
+ for ((r !== 0 && i === 1 || r !== this._currentCopies - 1 && i === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(g[0], g[1], g[2], g[3], g[4], g[5], g[6], g[7], g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15]), this.matrix.transform(_[0], _[1], _[2], _[3], _[4], _[5], _[6], _[7], _[8], _[9], _[10], _[11], _[12], _[13], _[14], _[15]), this.matrix.transform(h[0], h[1], h[2], h[3], h[4], h[5], h[6], h[7], h[8], h[9], h[10], h[11], h[12], h[13], h[14], h[15]), y = 0; y < b; y += 1) n[y] = this.matrix.props[y];
2240
+ this.matrix.reset();
2241
+ } else for (this.matrix.reset(), y = 0; y < b; y += 1) n[y] = this.matrix.props[y];
2242
+ v += 1, --a, r += i;
2243
+ }
2244
+ } else for (a = this._currentCopies, r = 0, i = 1; a;) t = this.elemsData[r].it, n = t[t.length - 1].transform.mProps.v.props, t[t.length - 1].transform.mProps._mdf = !1, t[t.length - 1].transform.op._mdf = !1, --a, r += i;
2245
+ return o;
2246
+ }, vt.prototype.addShape = function() {};
2247
+ function yt() {}
2248
+ d([q], yt), yt.prototype.initModifierProperties = function(e, t) {
2249
+ this.getValue = this.processKeys, this.rd = H.getProp(e, t.r, 0, null, this), this._isAnimated = !!this.rd.effectsSequence.length;
2250
+ }, yt.prototype.processPath = function(e, t) {
2251
+ var n = W.newElement();
2252
+ n.c = e.c;
2253
+ var r, i = e._length, a, o, s, c, l, u, d = 0, f, p, m, h, g, _;
2254
+ for (r = 0; r < i; r += 1) a = e.v[r], s = e.o[r], o = e.i[r], a[0] === s[0] && a[1] === s[1] && a[0] === o[0] && a[1] === o[1] ? (r === 0 || r === i - 1) && !e.c ? (n.setTripleAt(a[0], a[1], s[0], s[1], o[0], o[1], d), d += 1) : (c = r === 0 ? e.v[i - 1] : e.v[r - 1], l = Math.sqrt((a[0] - c[0]) ** 2 + (a[1] - c[1]) ** 2), u = l ? Math.min(l / 2, t) / l : 0, g = a[0] + (c[0] - a[0]) * u, f = g, _ = a[1] - (a[1] - c[1]) * u, p = _, m = f - (f - a[0]) * k, h = p - (p - a[1]) * k, n.setTripleAt(f, p, m, h, g, _, d), d += 1, c = r === i - 1 ? e.v[0] : e.v[r + 1], l = Math.sqrt((a[0] - c[0]) ** 2 + (a[1] - c[1]) ** 2), u = l ? Math.min(l / 2, t) / l : 0, m = a[0] + (c[0] - a[0]) * u, f = m, h = a[1] + (c[1] - a[1]) * u, p = h, g = f - (f - a[0]) * k, _ = p - (p - a[1]) * k, n.setTripleAt(f, p, m, h, g, _, d), d += 1) : (n.setTripleAt(e.v[r][0], e.v[r][1], e.o[r][0], e.o[r][1], e.i[r][0], e.i[r][1], d), d += 1);
2255
+ return n;
2256
+ }, yt.prototype.processShapes = function(e) {
2257
+ var t, n, r = this.shapes.length, i, a, o = this.rd.v;
2258
+ if (o !== 0) {
2259
+ var s, c;
2260
+ for (n = 0; n < r; n += 1) {
2261
+ if (s = this.shapes[n], c = s.localShapeCollection, !(!s.shape._mdf && !this._mdf && !e)) for (c.releaseShapes(), s.shape._mdf = !0, t = s.shape.paths.shapes, a = s.shape.paths._length, i = 0; i < a; i += 1) c.addShape(this.processPath(t[i], o));
2262
+ s.shape.paths = s.localShapeCollection;
2263
+ }
2264
+ }
2265
+ this.dynamicProperties.length || (this._mdf = !1);
2266
+ };
2267
+ function bt(e, t) {
2268
+ return Math.abs(e - t) * 1e5 <= Math.min(Math.abs(e), Math.abs(t));
2269
+ }
2270
+ function xt(e) {
2271
+ return Math.abs(e) <= 1e-5;
2272
+ }
2273
+ function St(e, t, n) {
2274
+ return e * (1 - n) + t * n;
2275
+ }
2276
+ function Ct(e, t, n) {
2277
+ return [St(e[0], t[0], n), St(e[1], t[1], n)];
2278
+ }
2279
+ function wt(e, t, n) {
2280
+ if (e === 0) return [];
2281
+ var r = t * t - 4 * e * n;
2282
+ if (r < 0) return [];
2283
+ var i = -t / (2 * e);
2284
+ if (r === 0) return [i];
2285
+ var a = Math.sqrt(r) / (2 * e);
2286
+ return [i - a, i + a];
2287
+ }
2288
+ function Tt(e, t, n, r) {
2289
+ return [
2290
+ -e + 3 * t - 3 * n + r,
2291
+ 3 * e - 6 * t + 3 * n,
2292
+ -3 * e + 3 * t,
2293
+ e
2294
+ ];
2295
+ }
2296
+ function Et(e) {
2297
+ return new J(e, e, e, e, !1);
2298
+ }
2299
+ function J(e, t, n, r, i) {
2300
+ i && It(e, t) && (t = Ct(e, r, 1 / 3)), i && It(n, r) && (n = Ct(e, r, 2 / 3));
2301
+ var a = Tt(e[0], t[0], n[0], r[0]), o = Tt(e[1], t[1], n[1], r[1]);
2302
+ this.a = [a[0], o[0]], this.b = [a[1], o[1]], this.c = [a[2], o[2]], this.d = [a[3], o[3]], this.points = [
2303
+ e,
2304
+ t,
2305
+ n,
2306
+ r
2307
+ ];
2308
+ }
2309
+ J.prototype.point = function(e) {
2310
+ return [((this.a[0] * e + this.b[0]) * e + this.c[0]) * e + this.d[0], ((this.a[1] * e + this.b[1]) * e + this.c[1]) * e + this.d[1]];
2311
+ }, J.prototype.derivative = function(e) {
2312
+ return [(3 * e * this.a[0] + 2 * this.b[0]) * e + this.c[0], (3 * e * this.a[1] + 2 * this.b[1]) * e + this.c[1]];
2313
+ }, J.prototype.tangentAngle = function(e) {
2314
+ var t = this.derivative(e);
2315
+ return Math.atan2(t[1], t[0]);
2316
+ }, J.prototype.normalAngle = function(e) {
2317
+ var t = this.derivative(e);
2318
+ return Math.atan2(t[0], t[1]);
2319
+ }, J.prototype.inflectionPoints = function() {
2320
+ var e = this.a[1] * this.b[0] - this.a[0] * this.b[1];
2321
+ if (xt(e)) return [];
2322
+ var t = -.5 * (this.a[1] * this.c[0] - this.a[0] * this.c[1]) / e, n = t * t - 1 / 3 * (this.b[1] * this.c[0] - this.b[0] * this.c[1]) / e;
2323
+ if (n < 0) return [];
2324
+ var r = Math.sqrt(n);
2325
+ return xt(r) ? r > 0 && r < 1 ? [t] : [] : [t - r, t + r].filter(function(e) {
2326
+ return e > 0 && e < 1;
2327
+ });
2328
+ }, J.prototype.split = function(e) {
2329
+ if (e <= 0) return [Et(this.points[0]), this];
2330
+ if (e >= 1) return [this, Et(this.points[this.points.length - 1])];
2331
+ var t = Ct(this.points[0], this.points[1], e), n = Ct(this.points[1], this.points[2], e), r = Ct(this.points[2], this.points[3], e), i = Ct(t, n, e), a = Ct(n, r, e), o = Ct(i, a, e);
2332
+ return [new J(this.points[0], t, i, o, !0), new J(o, a, r, this.points[3], !0)];
2333
+ };
2334
+ function Dt(e, t) {
2335
+ var n = e.points[0][t], r = e.points[e.points.length - 1][t];
2336
+ if (n > r) {
2337
+ var i = r;
2338
+ r = n, n = i;
2339
+ }
2340
+ for (var a = wt(3 * e.a[t], 2 * e.b[t], e.c[t]), o = 0; o < a.length; o += 1) if (a[o] > 0 && a[o] < 1) {
2341
+ var s = e.point(a[o])[t];
2342
+ s < n ? n = s : s > r && (r = s);
2343
+ }
2344
+ return {
2345
+ min: n,
2346
+ max: r
2347
+ };
2348
+ }
2349
+ J.prototype.bounds = function() {
2350
+ return {
2351
+ x: Dt(this, 0),
2352
+ y: Dt(this, 1)
2353
+ };
2354
+ }, J.prototype.boundingBox = function() {
2355
+ var e = this.bounds();
2356
+ return {
2357
+ left: e.x.min,
2358
+ right: e.x.max,
2359
+ top: e.y.min,
2360
+ bottom: e.y.max,
2361
+ width: e.x.max - e.x.min,
2362
+ height: e.y.max - e.y.min,
2363
+ cx: (e.x.max + e.x.min) / 2,
2364
+ cy: (e.y.max + e.y.min) / 2
2365
+ };
2366
+ };
2367
+ function Ot(e, t, n) {
2368
+ var r = e.boundingBox();
2369
+ return {
2370
+ cx: r.cx,
2371
+ cy: r.cy,
2372
+ width: r.width,
2373
+ height: r.height,
2374
+ bez: e,
2375
+ t: (t + n) / 2,
2376
+ t1: t,
2377
+ t2: n
2378
+ };
2379
+ }
2380
+ function kt(e) {
2381
+ var t = e.bez.split(.5);
2382
+ return [Ot(t[0], e.t1, e.t), Ot(t[1], e.t, e.t2)];
2383
+ }
2384
+ function At(e, t) {
2385
+ return Math.abs(e.cx - t.cx) * 2 < e.width + t.width && Math.abs(e.cy - t.cy) * 2 < e.height + t.height;
2386
+ }
2387
+ function jt(e, t, n, r, i, a) {
2388
+ if (At(e, t)) {
2389
+ if (n >= a || e.width <= r && e.height <= r && t.width <= r && t.height <= r) {
2390
+ i.push([e.t, t.t]);
2391
+ return;
2392
+ }
2393
+ var o = kt(e), s = kt(t);
2394
+ jt(o[0], s[0], n + 1, r, i, a), jt(o[0], s[1], n + 1, r, i, a), jt(o[1], s[0], n + 1, r, i, a), jt(o[1], s[1], n + 1, r, i, a);
2395
+ }
2396
+ }
2397
+ J.prototype.intersections = function(e, t, n) {
2398
+ t === void 0 && (t = 2), n === void 0 && (n = 7);
2399
+ var r = [];
2400
+ return jt(Ot(this, 0, 1), Ot(e, 0, 1), 0, t, r, n), r;
2401
+ }, J.shapeSegment = function(e, t) {
2402
+ var n = (t + 1) % e.length();
2403
+ return new J(e.v[t], e.o[t], e.i[n], e.v[n], !0);
2404
+ }, J.shapeSegmentInverted = function(e, t) {
2405
+ var n = (t + 1) % e.length();
2406
+ return new J(e.v[n], e.i[n], e.o[t], e.v[t], !0);
2407
+ };
2408
+ function Mt(e, t) {
2409
+ return [
2410
+ e[1] * t[2] - e[2] * t[1],
2411
+ e[2] * t[0] - e[0] * t[2],
2412
+ e[0] * t[1] - e[1] * t[0]
2413
+ ];
2414
+ }
2415
+ function Nt(e, t, n, r) {
2416
+ var i = [
2417
+ e[0],
2418
+ e[1],
2419
+ 1
2420
+ ], a = [
2421
+ t[0],
2422
+ t[1],
2423
+ 1
2424
+ ], o = [
2425
+ n[0],
2426
+ n[1],
2427
+ 1
2428
+ ], s = [
2429
+ r[0],
2430
+ r[1],
2431
+ 1
2432
+ ], c = Mt(Mt(i, a), Mt(o, s));
2433
+ return xt(c[2]) ? null : [c[0] / c[2], c[1] / c[2]];
2434
+ }
2435
+ function Pt(e, t, n) {
2436
+ return [e[0] + Math.cos(t) * n, e[1] - Math.sin(t) * n];
2437
+ }
2438
+ function Ft(e, t) {
2439
+ return Math.hypot(e[0] - t[0], e[1] - t[1]);
2440
+ }
2441
+ function It(e, t) {
2442
+ return bt(e[0], t[0]) && bt(e[1], t[1]);
2443
+ }
2444
+ function Lt() {}
2445
+ d([q], Lt), Lt.prototype.initModifierProperties = function(e, t) {
2446
+ this.getValue = this.processKeys, this.amplitude = H.getProp(e, t.s, 0, null, this), this.frequency = H.getProp(e, t.r, 0, null, this), this.pointsType = H.getProp(e, t.pt, 0, null, this), this._isAnimated = this.amplitude.effectsSequence.length !== 0 || this.frequency.effectsSequence.length !== 0 || this.pointsType.effectsSequence.length !== 0;
2447
+ };
2448
+ function Rt(e, t, n, r, i, a, o) {
2449
+ var s = n - Math.PI / 2, c = n + Math.PI / 2, l = t[0] + Math.cos(n) * r * i, u = t[1] - Math.sin(n) * r * i;
2450
+ e.setTripleAt(l, u, l + Math.cos(s) * a, u - Math.sin(s) * a, l + Math.cos(c) * o, u - Math.sin(c) * o, e.length());
2451
+ }
2452
+ function zt(e, t) {
2453
+ var n = [t[0] - e[0], t[1] - e[1]], r = -Math.PI * .5;
2454
+ return [Math.cos(r) * n[0] - Math.sin(r) * n[1], Math.sin(r) * n[0] + Math.cos(r) * n[1]];
2455
+ }
2456
+ function Bt(e, t) {
2457
+ var n = t === 0 ? e.length() - 1 : t - 1, r = (t + 1) % e.length(), i = e.v[n], a = e.v[r], o = zt(i, a);
2458
+ return Math.atan2(0, 1) - Math.atan2(o[1], o[0]);
2459
+ }
2460
+ function Vt(e, t, n, r, i, a, o) {
2461
+ var s = Bt(t, n), c = t.v[n % t._length], l = t.v[n === 0 ? t._length - 1 : n - 1], u = t.v[(n + 1) % t._length], d = a === 2 ? Math.sqrt((c[0] - l[0]) ** 2 + (c[1] - l[1]) ** 2) : 0, f = a === 2 ? Math.sqrt((c[0] - u[0]) ** 2 + (c[1] - u[1]) ** 2) : 0;
2462
+ Rt(e, t.v[n % t._length], s, o, r, f / ((i + 1) * 2), d / ((i + 1) * 2), a);
2463
+ }
2464
+ function Ht(e, t, n, r, i, a) {
2465
+ for (var o = 0; o < r; o += 1) {
2466
+ var s = (o + 1) / (r + 1), c = i === 2 ? Math.sqrt((t.points[3][0] - t.points[0][0]) ** 2 + (t.points[3][1] - t.points[0][1]) ** 2) : 0, l = t.normalAngle(s);
2467
+ Rt(e, t.point(s), l, a, n, c / ((r + 1) * 2), c / ((r + 1) * 2), i), a = -a;
2468
+ }
2469
+ return a;
2470
+ }
2471
+ Lt.prototype.processPath = function(e, t, n, r) {
2472
+ var i = e._length, a = W.newElement();
2473
+ if (a.c = e.c, e.c || --i, i === 0) return a;
2474
+ var o = -1, s = J.shapeSegment(e, 0);
2475
+ Vt(a, e, 0, t, n, r, o);
2476
+ for (var c = 0; c < i; c += 1) o = Ht(a, s, t, n, r, -o), s = c === i - 1 && !e.c ? null : J.shapeSegment(e, (c + 1) % i), Vt(a, e, c + 1, t, n, r, o);
2477
+ return a;
2478
+ }, Lt.prototype.processShapes = function(e) {
2479
+ var t, n, r = this.shapes.length, i, a, o = this.amplitude.v, s = Math.max(0, Math.round(this.frequency.v)), c = this.pointsType.v;
2480
+ if (o !== 0) {
2481
+ var l, u;
2482
+ for (n = 0; n < r; n += 1) {
2483
+ if (l = this.shapes[n], u = l.localShapeCollection, !(!l.shape._mdf && !this._mdf && !e)) for (u.releaseShapes(), l.shape._mdf = !0, t = l.shape.paths.shapes, a = l.shape.paths._length, i = 0; i < a; i += 1) u.addShape(this.processPath(t[i], o, s, c));
2484
+ l.shape.paths = l.localShapeCollection;
2485
+ }
2486
+ }
2487
+ this.dynamicProperties.length || (this._mdf = !1);
2488
+ };
2489
+ function Ut(e, t, n) {
2490
+ var r = Math.atan2(t[0] - e[0], t[1] - e[1]);
2491
+ return [Pt(e, r, n), Pt(t, r, n)];
2492
+ }
2493
+ function Wt(e, t) {
2494
+ var n, r, i, a, o, s, c = Ut(e.points[0], e.points[1], t);
2495
+ n = c[0], r = c[1], c = Ut(e.points[1], e.points[2], t), i = c[0], a = c[1], c = Ut(e.points[2], e.points[3], t), o = c[0], s = c[1];
2496
+ var l = Nt(n, r, i, a);
2497
+ l === null && (l = r);
2498
+ var u = Nt(o, s, i, a);
2499
+ return u === null && (u = o), new J(n, l, u, s);
2500
+ }
2501
+ function Gt(e, t, n, r, i) {
2502
+ var a = t.points[3], o = n.points[0];
2503
+ if (r === 3 || It(a, o)) return a;
2504
+ if (r === 2) {
2505
+ var s = -t.tangentAngle(1), c = -n.tangentAngle(0) + Math.PI, l = Nt(a, Pt(a, s + Math.PI / 2, 100), o, Pt(o, s + Math.PI / 2, 100)), u = l ? Ft(l, a) : Ft(a, o) / 2, d = Pt(a, s, 2 * u * k);
2506
+ return e.setXYAt(d[0], d[1], "o", e.length() - 1), d = Pt(o, c, 2 * u * k), e.setTripleAt(o[0], o[1], o[0], o[1], d[0], d[1], e.length()), o;
2507
+ }
2508
+ var f = Nt(It(a, t.points[2]) ? t.points[0] : t.points[2], a, o, It(o, n.points[1]) ? n.points[3] : n.points[1]);
2509
+ return f && Ft(f, a) < i ? (e.setTripleAt(f[0], f[1], f[0], f[1], f[0], f[1], e.length()), f) : a;
2510
+ }
2511
+ function Kt(e, t) {
2512
+ var n = e.intersections(t);
2513
+ return n.length && bt(n[0][0], 1) && n.shift(), n.length ? n[0] : null;
2514
+ }
2515
+ function qt(e, t) {
2516
+ var n = e.slice(), r = t.slice(), i = Kt(e[e.length - 1], t[0]);
2517
+ return i && (n[e.length - 1] = e[e.length - 1].split(i[0])[0], r[0] = t[0].split(i[1])[1]), e.length > 1 && t.length > 1 && (i = Kt(e[0], t[t.length - 1]), i) ? [[e[0].split(i[0])[0]], [t[t.length - 1].split(i[1])[1]]] : [n, r];
2518
+ }
2519
+ function Jt(e) {
2520
+ for (var t, n = 1; n < e.length; n += 1) t = qt(e[n - 1], e[n]), e[n - 1] = t[0], e[n] = t[1];
2521
+ return e.length > 1 && (t = qt(e[e.length - 1], e[0]), e[e.length - 1] = t[0], e[0] = t[1]), e;
2522
+ }
2523
+ function Yt(e, t) {
2524
+ var n = e.inflectionPoints(), r, i, a, o;
2525
+ if (n.length === 0) return [Wt(e, t)];
2526
+ if (n.length === 1 || bt(n[1], 1)) return a = e.split(n[0]), r = a[0], i = a[1], [Wt(r, t), Wt(i, t)];
2527
+ a = e.split(n[0]), r = a[0];
2528
+ var s = (n[1] - n[0]) / (1 - n[0]);
2529
+ return a = a[1].split(s), o = a[0], i = a[1], [
2530
+ Wt(r, t),
2531
+ Wt(o, t),
2532
+ Wt(i, t)
2533
+ ];
2534
+ }
2535
+ function Xt() {}
2536
+ d([q], Xt), Xt.prototype.initModifierProperties = function(e, t) {
2537
+ this.getValue = this.processKeys, this.amount = H.getProp(e, t.a, 0, null, this), this.miterLimit = H.getProp(e, t.ml, 0, null, this), this.lineJoin = t.lj, this._isAnimated = this.amount.effectsSequence.length !== 0;
2538
+ }, Xt.prototype.processPath = function(e, t, n, r) {
2539
+ var i = W.newElement();
2540
+ i.c = e.c;
2541
+ var a = e.length();
2542
+ e.c || --a;
2543
+ var o, s, c, l = [];
2544
+ for (o = 0; o < a; o += 1) c = J.shapeSegment(e, o), l.push(Yt(c, t));
2545
+ if (!e.c) for (o = a - 1; o >= 0; --o) c = J.shapeSegmentInverted(e, o), l.push(Yt(c, t));
2546
+ l = Jt(l);
2547
+ var u = null, d = null;
2548
+ for (o = 0; o < l.length; o += 1) {
2549
+ var f = l[o];
2550
+ for (d && (u = Gt(i, d, f[0], n, r)), d = f[f.length - 1], s = 0; s < f.length; s += 1) c = f[s], u && It(c.points[0], u) ? i.setXYAt(c.points[1][0], c.points[1][1], "o", i.length() - 1) : i.setTripleAt(c.points[0][0], c.points[0][1], c.points[1][0], c.points[1][1], c.points[0][0], c.points[0][1], i.length()), i.setTripleAt(c.points[3][0], c.points[3][1], c.points[3][0], c.points[3][1], c.points[2][0], c.points[2][1], i.length()), u = c.points[3];
2551
+ }
2552
+ return l.length && Gt(i, d, l[0][0], n, r), i;
2553
+ }, Xt.prototype.processShapes = function(e) {
2554
+ var t, n, r = this.shapes.length, i, a, o = this.amount.v, s = this.miterLimit.v, c = this.lineJoin;
2555
+ if (o !== 0) {
2556
+ var l, u;
2557
+ for (n = 0; n < r; n += 1) {
2558
+ if (l = this.shapes[n], u = l.localShapeCollection, !(!l.shape._mdf && !this._mdf && !e)) for (u.releaseShapes(), l.shape._mdf = !0, t = l.shape.paths.shapes, a = l.shape.paths._length, i = 0; i < a; i += 1) u.addShape(this.processPath(t[i], o, c, s));
2559
+ l.shape.paths = l.localShapeCollection;
2560
+ }
2561
+ }
2562
+ this.dynamicProperties.length || (this._mdf = !1);
2563
+ };
2564
+ function Zt(e) {
2565
+ for (var t = e.fStyle ? e.fStyle.split(" ") : [], n = "normal", r = "normal", i = t.length, a, o = 0; o < i; o += 1) switch (a = t[o].toLowerCase(), a) {
2566
+ case "italic":
2567
+ r = "italic";
2568
+ break;
2569
+ case "bold":
2570
+ n = "700";
2571
+ break;
2572
+ case "black":
2573
+ n = "900";
2574
+ break;
2575
+ case "medium":
2576
+ n = "500";
2577
+ break;
2578
+ case "regular":
2579
+ case "normal":
2580
+ n = "400";
2581
+ break;
2582
+ case "light":
2583
+ case "thin":
2584
+ n = "200";
2585
+ break;
2586
+ default: break;
2587
+ }
2588
+ return {
2589
+ style: r,
2590
+ weight: e.fWeight || n
2591
+ };
2592
+ }
2593
+ var Qt = function() {
2594
+ var e = 5e3, t = {
2595
+ w: 0,
2596
+ size: 0,
2597
+ shapes: [],
2598
+ data: { shapes: [] }
2599
+ }, n = [];
2600
+ n = n.concat([
2601
+ 2304,
2602
+ 2305,
2603
+ 2306,
2604
+ 2307,
2605
+ 2362,
2606
+ 2363,
2607
+ 2364,
2608
+ 2364,
2609
+ 2366,
2610
+ 2367,
2611
+ 2368,
2612
+ 2369,
2613
+ 2370,
2614
+ 2371,
2615
+ 2372,
2616
+ 2373,
2617
+ 2374,
2618
+ 2375,
2619
+ 2376,
2620
+ 2377,
2621
+ 2378,
2622
+ 2379,
2623
+ 2380,
2624
+ 2381,
2625
+ 2382,
2626
+ 2383,
2627
+ 2387,
2628
+ 2388,
2629
+ 2389,
2630
+ 2390,
2631
+ 2391,
2632
+ 2402,
2633
+ 2403
2634
+ ]);
2635
+ var r = 127988, i = 917631, a = 917601, o = 917626, s = 65039, c = 8205, l = 127462, d = 127487, f = [
2636
+ "d83cdffb",
2637
+ "d83cdffc",
2638
+ "d83cdffd",
2639
+ "d83cdffe",
2640
+ "d83cdfff"
2641
+ ];
2642
+ function p(e) {
2643
+ var t = e.split(","), n, r = t.length, i = [];
2644
+ for (n = 0; n < r; n += 1) t[n] !== "sans-serif" && t[n] !== "monospace" && i.push(t[n]);
2645
+ return i.join(",");
2646
+ }
2647
+ function m(e, t) {
2648
+ var n = u("span");
2649
+ n.setAttribute("aria-hidden", !0), n.style.fontFamily = t;
2650
+ var r = u("span");
2651
+ r.innerText = "giItT1WQy@!-/#", n.style.position = "absolute", n.style.left = "-10000px", n.style.top = "-10000px", n.style.fontSize = "300px", n.style.fontVariant = "normal", n.style.fontStyle = "normal", n.style.fontWeight = "normal", n.style.letterSpacing = "0", n.appendChild(r), document.body.appendChild(n);
2652
+ var i = r.offsetWidth;
2653
+ return r.style.fontFamily = p(e) + ", " + t, {
2654
+ node: r,
2655
+ w: i,
2656
+ parent: n
2657
+ };
2658
+ }
2659
+ function h() {
2660
+ var t, n = this.fonts.length, r, i, a = n;
2661
+ for (t = 0; t < n; t += 1) this.fonts[t].loaded ? --a : this.fonts[t].fOrigin === "n" || this.fonts[t].origin === 0 ? this.fonts[t].loaded = !0 : (r = this.fonts[t].monoCase.node, i = this.fonts[t].monoCase.w, r.offsetWidth === i ? (r = this.fonts[t].sansCase.node, i = this.fonts[t].sansCase.w, r.offsetWidth !== i && (--a, this.fonts[t].loaded = !0)) : (--a, this.fonts[t].loaded = !0), this.fonts[t].loaded && (this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent), this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));
2662
+ a !== 0 && Date.now() - this.initTime < e ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
2663
+ }
2664
+ function g(e, t) {
2665
+ var n = document.body && t ? "svg" : "canvas", r, i = Zt(e);
2666
+ if (n === "svg") {
2667
+ var a = L("text");
2668
+ a.style.fontSize = "100px", a.setAttribute("font-family", e.fFamily), a.setAttribute("font-style", i.style), a.setAttribute("font-weight", i.weight), a.textContent = "1", e.fClass ? (a.style.fontFamily = "inherit", a.setAttribute("class", e.fClass)) : a.style.fontFamily = e.fFamily, t.appendChild(a), r = a;
2669
+ } else {
2670
+ var o = new OffscreenCanvas(500, 500).getContext("2d");
2671
+ o.font = i.style + " " + i.weight + " 100px " + e.fFamily, r = o;
2672
+ }
2673
+ function s(e) {
2674
+ return n === "svg" ? (r.textContent = e, r.getComputedTextLength()) : r.measureText(e).width;
2675
+ }
2676
+ return { measureText: s };
2677
+ }
2678
+ function _(e, t) {
2679
+ if (!e) {
2680
+ this.isLoaded = !0;
2681
+ return;
2682
+ }
2683
+ if (this.chars) {
2684
+ this.isLoaded = !0, this.fonts = e.list;
2685
+ return;
2686
+ }
2687
+ if (!document.body) {
2688
+ this.isLoaded = !0, e.list.forEach(function(e) {
2689
+ e.helper = g(e), e.cache = {};
2690
+ }), this.fonts = e.list;
2691
+ return;
2692
+ }
2693
+ var n = e.list, r, i = n.length, a = i;
2694
+ for (r = 0; r < i; r += 1) {
2695
+ var o = !0, s, c;
2696
+ if (n[r].loaded = !1, n[r].monoCase = m(n[r].fFamily, "monospace"), n[r].sansCase = m(n[r].fFamily, "sans-serif"), !n[r].fPath) n[r].loaded = !0, --a;
2697
+ else if (n[r].fOrigin === "p" || n[r].origin === 3) {
2698
+ if (s = document.querySelectorAll("style[f-forigin=\"p\"][f-family=\"" + n[r].fFamily + "\"], style[f-origin=\"3\"][f-family=\"" + n[r].fFamily + "\"]"), s.length > 0 && (o = !1), o) {
2699
+ var l = u("style");
2700
+ l.setAttribute("f-forigin", n[r].fOrigin), l.setAttribute("f-origin", n[r].origin), l.setAttribute("f-family", n[r].fFamily), l.type = "text/css", l.innerText = "@font-face {font-family: " + n[r].fFamily + "; font-style: normal; src: url('" + n[r].fPath + "');}", t.appendChild(l);
2701
+ }
2702
+ } else if (n[r].fOrigin === "g" || n[r].origin === 1) {
2703
+ for (s = document.querySelectorAll("link[f-forigin=\"g\"], link[f-origin=\"1\"]"), c = 0; c < s.length; c += 1) s[c].href.indexOf(n[r].fPath) !== -1 && (o = !1);
2704
+ if (o) {
2705
+ var d = u("link");
2706
+ d.setAttribute("f-forigin", n[r].fOrigin), d.setAttribute("f-origin", n[r].origin), d.type = "text/css", d.rel = "stylesheet", d.href = n[r].fPath, document.body.appendChild(d);
2707
+ }
2708
+ } else if (n[r].fOrigin === "t" || n[r].origin === 2) {
2709
+ for (s = document.querySelectorAll("script[f-forigin=\"t\"], script[f-origin=\"2\"]"), c = 0; c < s.length; c += 1) n[r].fPath === s[c].src && (o = !1);
2710
+ if (o) {
2711
+ var f = u("link");
2712
+ f.setAttribute("f-forigin", n[r].fOrigin), f.setAttribute("f-origin", n[r].origin), f.setAttribute("rel", "stylesheet"), f.setAttribute("href", n[r].fPath), t.appendChild(f);
2713
+ }
2714
+ }
2715
+ n[r].helper = g(n[r], t), n[r].cache = {}, this.fonts.push(n[r]);
2716
+ }
2717
+ a === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
2718
+ }
2719
+ function v(e) {
2720
+ if (e) {
2721
+ this.chars ||= [];
2722
+ var t, n = e.length, r, i = this.chars.length, a;
2723
+ for (t = 0; t < n; t += 1) {
2724
+ for (r = 0, a = !1; r < i;) this.chars[r].style === e[t].style && this.chars[r].fFamily === e[t].fFamily && this.chars[r].ch === e[t].ch && (a = !0), r += 1;
2725
+ a || (this.chars.push(e[t]), i += 1);
2726
+ }
2727
+ }
2728
+ }
2729
+ function y(e, n, r) {
2730
+ for (var i = 0, a = this.chars.length; i < a;) {
2731
+ if (this.chars[i].ch === e && this.chars[i].style === n && this.chars[i].fFamily === r) return this.chars[i];
2732
+ i += 1;
2733
+ }
2734
+ return (typeof e == "string" && e.charCodeAt(0) !== 13 || !e) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", e, n, r)), t;
2735
+ }
2736
+ function b(e, t, n) {
2737
+ var r = this.getFontByName(t), i = e;
2738
+ if (!r.cache[i]) {
2739
+ var a = r.helper;
2740
+ if (e === " ") {
2741
+ var o = a.measureText("|" + e + "|"), s = a.measureText("||");
2742
+ r.cache[i] = (o - s) / 100;
2743
+ } else r.cache[i] = a.measureText(e) / 100;
2744
+ }
2745
+ return r.cache[i] * n;
2746
+ }
2747
+ function x(e) {
2748
+ for (var t = 0, n = this.fonts.length; t < n;) {
2749
+ if (this.fonts[t].fName === e) return this.fonts[t];
2750
+ t += 1;
2751
+ }
2752
+ return this.fonts[0];
2753
+ }
2754
+ function S(e) {
2755
+ var t = 0, n = e.charCodeAt(0);
2756
+ if (n >= 55296 && n <= 56319) {
2757
+ var r = e.charCodeAt(1);
2758
+ r >= 56320 && r <= 57343 && (t = (n - 55296) * 1024 + r - 56320 + 65536);
2759
+ }
2760
+ return t;
2761
+ }
2762
+ function C(e, t) {
2763
+ var n = e.toString(16) + t.toString(16);
2764
+ return f.indexOf(n) !== -1;
2765
+ }
2766
+ function w(e) {
2767
+ return e === c;
2768
+ }
2769
+ function T(e) {
2770
+ return e === s;
2771
+ }
2772
+ function E(e) {
2773
+ var t = S(e);
2774
+ return t >= l && t <= d;
2775
+ }
2776
+ function D(e) {
2777
+ return E(e.substr(0, 2)) && E(e.substr(2, 2));
2778
+ }
2779
+ function O(e) {
2780
+ return n.indexOf(e) !== -1;
2781
+ }
2782
+ function k(e, t) {
2783
+ var n = S(e.substr(t, 2));
2784
+ if (n !== r) return !1;
2785
+ var s = 0;
2786
+ for (t += 2; s < 5;) {
2787
+ if (n = S(e.substr(t, 2)), n < a || n > o) return !1;
2788
+ s += 1, t += 2;
2789
+ }
2790
+ return S(e.substr(t, 2)) === i;
2791
+ }
2792
+ function A() {
2793
+ this.isLoaded = !0;
2794
+ }
2795
+ var j = function() {
2796
+ this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
2797
+ };
2798
+ return j.isModifier = C, j.isZeroWidthJoiner = w, j.isFlagEmoji = D, j.isRegionalCode = E, j.isCombinedCharacter = O, j.isRegionalFlag = k, j.isVariationSelector = T, j.BLACK_FLAG_CODE_POINT = r, j.prototype = {
2799
+ addChars: v,
2800
+ addFonts: _,
2801
+ getCharData: y,
2802
+ getFontByName: x,
2803
+ measureText: b,
2804
+ checkLoadedFonts: h,
2805
+ setIsLoaded: A
2806
+ }, j;
2807
+ }();
2808
+ function $t(e) {
2809
+ this.animationData = e;
2810
+ }
2811
+ $t.prototype.getProp = function(e) {
2812
+ return this.animationData.slots && this.animationData.slots[e.sid] ? Object.assign(e, this.animationData.slots[e.sid].p) : e;
2813
+ };
2814
+ function en(e) {
2815
+ return new $t(e);
2816
+ }
2817
+ function tn() {}
2818
+ tn.prototype = {
2819
+ initRenderable: function() {
2820
+ this.isInRange = !1, this.hidden = !1, this.isTransparent = !1, this.renderableComponents = [];
2821
+ },
2822
+ addRenderableComponent: function(e) {
2823
+ this.renderableComponents.indexOf(e) === -1 && this.renderableComponents.push(e);
2824
+ },
2825
+ removeRenderableComponent: function(e) {
2826
+ this.renderableComponents.indexOf(e) !== -1 && this.renderableComponents.splice(this.renderableComponents.indexOf(e), 1);
2827
+ },
2828
+ prepareRenderableFrame: function(e) {
2829
+ this.checkLayerLimits(e);
2830
+ },
2831
+ checkTransparency: function() {
2832
+ this.finalTransform.mProp.o.v <= 0 ? !this.isTransparent && this.globalData.renderConfig.hideOnTransparent && (this.isTransparent = !0, this.hide()) : this.isTransparent && (this.isTransparent = !1, this.show());
2833
+ },
2834
+ checkLayerLimits: function(e) {
2835
+ this.data.ip - this.data.st <= e && this.data.op - this.data.st > e ? this.isInRange !== !0 && (this.globalData._mdf = !0, this._mdf = !0, this.isInRange = !0, this.show()) : this.isInRange !== !1 && (this.globalData._mdf = !0, this.isInRange = !1, this.hide());
2836
+ },
2837
+ renderRenderable: function() {
2838
+ var e, t = this.renderableComponents.length;
2839
+ for (e = 0; e < t; e += 1) this.renderableComponents[e].renderFrame(this._isFirstFrame);
2840
+ },
2841
+ sourceRectAtTime: function() {
2842
+ return {
2843
+ top: 0,
2844
+ left: 0,
2845
+ width: 100,
2846
+ height: 100
2847
+ };
2848
+ },
2849
+ getLayerSize: function() {
2850
+ return this.data.ty === 5 ? {
2851
+ w: this.data.textData.width,
2852
+ h: this.data.textData.height
2853
+ } : {
2854
+ w: this.data.width,
2855
+ h: this.data.height
2856
+ };
2857
+ }
2858
+ };
2859
+ var nn = function() {
2860
+ var e = {
2861
+ 0: "source-over",
2862
+ 1: "multiply",
2863
+ 2: "screen",
2864
+ 3: "overlay",
2865
+ 4: "darken",
2866
+ 5: "lighten",
2867
+ 6: "color-dodge",
2868
+ 7: "color-burn",
2869
+ 8: "hard-light",
2870
+ 9: "soft-light",
2871
+ 10: "difference",
2872
+ 11: "exclusion",
2873
+ 12: "hue",
2874
+ 13: "saturation",
2875
+ 14: "color",
2876
+ 15: "luminosity"
2877
+ };
2878
+ return function(t) {
2879
+ return e[t] || "";
2880
+ };
2881
+ }();
2882
+ function rn(e, t, n) {
2883
+ this.p = H.getProp(t, e.v, 0, 0, n);
2884
+ }
2885
+ function an(e, t, n) {
2886
+ this.p = H.getProp(t, e.v, 0, 0, n);
2887
+ }
2888
+ function on(e, t, n) {
2889
+ this.p = H.getProp(t, e.v, 1, 0, n);
2890
+ }
2891
+ function sn(e, t, n) {
2892
+ this.p = H.getProp(t, e.v, 1, 0, n);
2893
+ }
2894
+ function cn(e, t, n) {
2895
+ this.p = H.getProp(t, e.v, 0, 0, n);
2896
+ }
2897
+ function ln(e, t, n) {
2898
+ this.p = H.getProp(t, e.v, 0, 0, n);
2899
+ }
2900
+ function un(e, t, n) {
2901
+ this.p = H.getProp(t, e.v, 0, 0, n);
2902
+ }
2903
+ function dn() {
2904
+ this.p = {};
2905
+ }
2906
+ function fn(e, t) {
2907
+ var n = e.ef || [];
2908
+ this.effectElements = [];
2909
+ var r, i = n.length, a;
2910
+ for (r = 0; r < i; r += 1) a = new pn(n[r], t), this.effectElements.push(a);
2911
+ }
2912
+ function pn(e, t) {
2913
+ this.init(e, t);
2914
+ }
2915
+ d([U], pn), pn.prototype.getValue = pn.prototype.iterateDynamicProperties, pn.prototype.init = function(e, t) {
2916
+ this.data = e, this.effectElements = [], this.initDynamicPropertyContainer(t);
2917
+ var n, r = this.data.ef.length, i, a = this.data.ef;
2918
+ for (n = 0; n < r; n += 1) {
2919
+ switch (i = null, a[n].ty) {
2920
+ case 0:
2921
+ i = new rn(a[n], t, this);
2922
+ break;
2923
+ case 1:
2924
+ i = new an(a[n], t, this);
2925
+ break;
2926
+ case 2:
2927
+ i = new on(a[n], t, this);
2928
+ break;
2929
+ case 3:
2930
+ i = new sn(a[n], t, this);
2931
+ break;
2932
+ case 4:
2933
+ case 7:
2934
+ i = new un(a[n], t, this);
2935
+ break;
2936
+ case 10:
2937
+ i = new cn(a[n], t, this);
2938
+ break;
2939
+ case 11:
2940
+ i = new ln(a[n], t, this);
2941
+ break;
2942
+ case 5:
2943
+ i = new fn(a[n], t, this);
2944
+ break;
2945
+ default:
2946
+ i = new dn(a[n], t, this);
2947
+ break;
2948
+ }
2949
+ i && this.effectElements.push(i);
2950
+ }
2951
+ };
2952
+ function mn() {}
2953
+ mn.prototype = {
2954
+ checkMasks: function() {
2955
+ if (!this.data.hasMask) return !1;
2956
+ for (var e = 0, t = this.data.masksProperties.length; e < t;) {
2957
+ if (this.data.masksProperties[e].mode !== "n" && this.data.masksProperties[e].cl !== !1) return !0;
2958
+ e += 1;
2959
+ }
2960
+ return !1;
2961
+ },
2962
+ initExpressions: function() {
2963
+ var e = ue();
2964
+ if (e) {
2965
+ var t = e("layer"), n = e("effects"), r = e("shape"), i = e("text"), a = e("comp");
2966
+ this.layerInterface = t(this), this.data.hasMask && this.maskManager && this.layerInterface.registerMaskInterface(this.maskManager);
2967
+ var o = n.createEffectsInterface(this, this.layerInterface);
2968
+ this.layerInterface.registerEffectsInterface(o), this.data.ty === 0 || this.data.xt ? this.compInterface = a(this) : this.data.ty === 4 ? (this.layerInterface.shapeInterface = r(this.shapesData, this.itemsData, this.layerInterface), this.layerInterface.content = this.layerInterface.shapeInterface) : this.data.ty === 5 && (this.layerInterface.textInterface = i(this), this.layerInterface.text = this.layerInterface.textInterface);
2969
+ }
2970
+ },
2971
+ setBlendMode: function() {
2972
+ var e = nn(this.data.bm), t = this.baseElement || this.layerElement;
2973
+ t.style["mix-blend-mode"] = e;
2974
+ },
2975
+ initBaseData: function(e, t, n) {
2976
+ this.globalData = t, this.comp = n, this.data = e, this.layerId = I(), this.data.sr || (this.data.sr = 1), this.effectsManager = new fn(this.data, this, this.dynamicProperties);
2977
+ },
2978
+ getType: function() {
2979
+ return this.type;
2980
+ },
2981
+ sourceRectAtTime: function() {}
2982
+ };
2983
+ function hn() {}
2984
+ hn.prototype = {
2985
+ initFrame: function() {
2986
+ this._isFirstFrame = !1, this.dynamicProperties = [], this._mdf = !1;
2987
+ },
2988
+ prepareProperties: function(e, t) {
2989
+ var n, r = this.dynamicProperties.length;
2990
+ for (n = 0; n < r; n += 1) (t || this._isParent && this.dynamicProperties[n].propType === "transform") && (this.dynamicProperties[n].getValue(), this.dynamicProperties[n]._mdf && (this.globalData._mdf = !0, this._mdf = !0));
2991
+ },
2992
+ addDynamicProperty: function(e) {
2993
+ this.dynamicProperties.indexOf(e) === -1 && this.dynamicProperties.push(e);
2994
+ }
2995
+ };
2996
+ function gn(e, t, n) {
2997
+ this.initFrame(), this.initRenderable(), this.assetData = t.getAssetData(e.refId), this.footageData = t.imageLoader.getAsset(this.assetData), this.initBaseData(e, t, n);
2998
+ }
2999
+ gn.prototype.prepareFrame = function() {}, d([
3000
+ tn,
3001
+ mn,
3002
+ hn
3003
+ ], gn), gn.prototype.getBaseElement = function() {
3004
+ return null;
3005
+ }, gn.prototype.renderFrame = function() {}, gn.prototype.destroy = function() {}, gn.prototype.initExpressions = function() {
3006
+ var e = ue();
3007
+ e && (this.layerInterface = e("footage")(this));
3008
+ }, gn.prototype.getFootageData = function() {
3009
+ return this.footageData;
3010
+ };
3011
+ function Y(e, t, n) {
3012
+ this.initFrame(), this.initRenderable(), this.assetData = t.getAssetData(e.refId), this.initBaseData(e, t, n), this._isPlaying = !1, this._canPlay = !1;
3013
+ var r = this.globalData.getAssetsPath(this.assetData);
3014
+ this.audio = this.globalData.audioController.createAudio(r), this._currentTime = 0, this.globalData.audioController.addAudio(this), this._volumeMultiplier = 1, this._volume = 1, this._previousVolume = null, this.tm = e.tm ? H.getProp(this, e.tm, 0, t.frameRate, this) : { _placeholder: !0 }, this.lv = H.getProp(this, e.au && e.au.lv ? e.au.lv : { k: [100] }, 1, .01, this);
3015
+ }
3016
+ Y.prototype.prepareFrame = function(e) {
3017
+ this.prepareRenderableFrame(e, !0), this.prepareProperties(e, !0), this.tm._placeholder ? this._currentTime = e / this.data.sr : this._currentTime = this.tm.v, this._volume = this.lv.v[0];
3018
+ var t = this._volume * this._volumeMultiplier;
3019
+ this._previousVolume !== t && (this._previousVolume = t, this.audio.volume(t));
3020
+ }, d([
3021
+ tn,
3022
+ mn,
3023
+ hn
3024
+ ], Y), Y.prototype.renderFrame = function() {
3025
+ this.isInRange && this._canPlay && (this._isPlaying ? (!this.audio.playing() || Math.abs(this._currentTime / this.globalData.frameRate - this.audio.seek()) > .1) && this.audio.seek(this._currentTime / this.globalData.frameRate) : (this.audio.play(), this.audio.seek(this._currentTime / this.globalData.frameRate), this._isPlaying = !0));
3026
+ }, Y.prototype.show = function() {}, Y.prototype.hide = function() {
3027
+ this.audio.pause(), this._isPlaying = !1;
3028
+ }, Y.prototype.pause = function() {
3029
+ this.audio.pause(), this._isPlaying = !1, this._canPlay = !1;
3030
+ }, Y.prototype.resume = function() {
3031
+ this._canPlay = !0;
3032
+ }, Y.prototype.setRate = function(e) {
3033
+ this.audio.rate(e);
3034
+ }, Y.prototype.volume = function(e) {
3035
+ this._volumeMultiplier = e, this._previousVolume = e * this._volume, this.audio.volume(this._previousVolume);
3036
+ }, Y.prototype.getBaseElement = function() {
3037
+ return null;
3038
+ }, Y.prototype.destroy = function() {}, Y.prototype.sourceRectAtTime = function() {}, Y.prototype.initExpressions = function() {};
3039
+ function X() {}
3040
+ X.prototype.checkLayers = function(e) {
3041
+ var t, n = this.layers.length, r;
3042
+ for (this.completeLayers = !0, t = n - 1; t >= 0; --t) this.elements[t] || (r = this.layers[t], r.ip - r.st <= e - this.layers[t].st && r.op - r.st > e - this.layers[t].st && this.buildItem(t)), this.completeLayers = this.elements[t] ? this.completeLayers : !1;
3043
+ this.checkPendingElements();
3044
+ }, X.prototype.createItem = function(e) {
3045
+ switch (e.ty) {
3046
+ case 2: return this.createImage(e);
3047
+ case 0: return this.createComp(e);
3048
+ case 1: return this.createSolid(e);
3049
+ case 3: return this.createNull(e);
3050
+ case 4: return this.createShape(e);
3051
+ case 5: return this.createText(e);
3052
+ case 6: return this.createAudio(e);
3053
+ case 13: return this.createCamera(e);
3054
+ case 15: return this.createFootage(e);
3055
+ default: return this.createNull(e);
3056
+ }
3057
+ }, X.prototype.createCamera = function() {
3058
+ throw Error("You're using a 3d camera. Try the html renderer.");
3059
+ }, X.prototype.createAudio = function(e) {
3060
+ return new Y(e, this.globalData, this);
3061
+ }, X.prototype.createFootage = function(e) {
3062
+ return new gn(e, this.globalData, this);
3063
+ }, X.prototype.buildAllItems = function() {
3064
+ var e, t = this.layers.length;
3065
+ for (e = 0; e < t; e += 1) this.buildItem(e);
3066
+ this.checkPendingElements();
3067
+ }, X.prototype.includeLayers = function(e) {
3068
+ this.completeLayers = !1;
3069
+ var t, n = e.length, r, i = this.layers.length;
3070
+ for (t = 0; t < n; t += 1) for (r = 0; r < i;) {
3071
+ if (this.layers[r].id === e[t].id) {
3072
+ this.layers[r] = e[t];
3073
+ break;
3074
+ }
3075
+ r += 1;
3076
+ }
3077
+ }, X.prototype.setProjectInterface = function(e) {
3078
+ this.globalData.projectInterface = e;
3079
+ }, X.prototype.initItems = function() {
3080
+ this.globalData.progressiveLoad || this.buildAllItems();
3081
+ }, X.prototype.buildElementParenting = function(e, t, n) {
3082
+ for (var r = this.elements, i = this.layers, a = 0, o = i.length; a < o;) i[a].ind == t && (!r[a] || r[a] === !0 ? (this.buildItem(a), this.addPendingElement(e)) : (n.push(r[a]), r[a].setAsParent(), i[a].parent === void 0 ? e.setHierarchy(n) : this.buildElementParenting(e, i[a].parent, n))), a += 1;
3083
+ }, X.prototype.addPendingElement = function(e) {
3084
+ this.pendingElements.push(e);
3085
+ }, X.prototype.searchExtraCompositions = function(e) {
3086
+ var t, n = e.length;
3087
+ for (t = 0; t < n; t += 1) if (e[t].xt) {
3088
+ var r = this.createComp(e[t]);
3089
+ r.initExpressions(), this.globalData.projectInterface.registerComposition(r);
3090
+ }
3091
+ }, X.prototype.getElementById = function(e) {
3092
+ var t, n = this.elements.length;
3093
+ for (t = 0; t < n; t += 1) if (this.elements[t].data.ind === e) return this.elements[t];
3094
+ return null;
3095
+ }, X.prototype.getElementByPath = function(e) {
3096
+ var t = e.shift(), n;
3097
+ if (typeof t == "number") n = this.elements[t];
3098
+ else {
3099
+ var r, i = this.elements.length;
3100
+ for (r = 0; r < i; r += 1) if (this.elements[r].data.nm === t) {
3101
+ n = this.elements[r];
3102
+ break;
3103
+ }
3104
+ }
3105
+ return e.length === 0 ? n : n.getElementByPath(e);
3106
+ }, X.prototype.setupGlobalData = function(e, t) {
3107
+ this.globalData.fontManager = new Qt(), this.globalData.slotManager = en(e), this.globalData.fontManager.addChars(e.chars), this.globalData.fontManager.addFonts(e.fonts, t), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = e.fr, this.globalData.nm = e.nm, this.globalData.compSize = {
3108
+ w: e.w,
3109
+ h: e.h
3110
+ };
3111
+ };
3112
+ var _n = { TRANSFORM_EFFECT: "transformEFfect" };
3113
+ function vn() {}
3114
+ vn.prototype = {
3115
+ initTransform: function() {
3116
+ var e = new G();
3117
+ this.finalTransform = {
3118
+ mProp: this.data.ks ? _t.getTransformProperty(this, this.data.ks, this) : { o: 0 },
3119
+ _matMdf: !1,
3120
+ _localMatMdf: !1,
3121
+ _opMdf: !1,
3122
+ mat: e,
3123
+ localMat: e,
3124
+ localOpacity: 1
3125
+ }, this.data.ao && (this.finalTransform.mProp.autoOriented = !0), this.data.ty;
3126
+ },
3127
+ renderTransform: function() {
3128
+ if (this.finalTransform._opMdf = this.finalTransform.mProp.o._mdf || this._isFirstFrame, this.finalTransform._matMdf = this.finalTransform.mProp._mdf || this._isFirstFrame, this.hierarchy) {
3129
+ var e, t = this.finalTransform.mat, n = 0, r = this.hierarchy.length;
3130
+ if (!this.finalTransform._matMdf) for (; n < r;) {
3131
+ if (this.hierarchy[n].finalTransform.mProp._mdf) {
3132
+ this.finalTransform._matMdf = !0;
3133
+ break;
3134
+ }
3135
+ n += 1;
3136
+ }
3137
+ if (this.finalTransform._matMdf) for (e = this.finalTransform.mProp.v.props, t.cloneFromProps(e), n = 0; n < r; n += 1) t.multiply(this.hierarchy[n].finalTransform.mProp.v);
3138
+ }
3139
+ (!this.localTransforms || this.finalTransform._matMdf) && (this.finalTransform._localMatMdf = this.finalTransform._matMdf), this.finalTransform._opMdf && (this.finalTransform.localOpacity = this.finalTransform.mProp.o.v);
3140
+ },
3141
+ renderLocalTransform: function() {
3142
+ if (this.localTransforms) {
3143
+ var e = 0, t = this.localTransforms.length;
3144
+ if (this.finalTransform._localMatMdf = this.finalTransform._matMdf, !this.finalTransform._localMatMdf || !this.finalTransform._opMdf) for (; e < t;) this.localTransforms[e]._mdf && (this.finalTransform._localMatMdf = !0), this.localTransforms[e]._opMdf && !this.finalTransform._opMdf && (this.finalTransform.localOpacity = this.finalTransform.mProp.o.v, this.finalTransform._opMdf = !0), e += 1;
3145
+ if (this.finalTransform._localMatMdf) {
3146
+ var n = this.finalTransform.localMat;
3147
+ for (this.localTransforms[0].matrix.clone(n), e = 1; e < t; e += 1) {
3148
+ var r = this.localTransforms[e].matrix;
3149
+ n.multiply(r);
3150
+ }
3151
+ n.multiply(this.finalTransform.mat);
3152
+ }
3153
+ if (this.finalTransform._opMdf) {
3154
+ var i = this.finalTransform.localOpacity;
3155
+ for (e = 0; e < t; e += 1) i *= this.localTransforms[e].opacity * .01;
3156
+ this.finalTransform.localOpacity = i;
3157
+ }
3158
+ }
3159
+ },
3160
+ searchEffectTransforms: function() {
3161
+ if (this.renderableEffectsManager) {
3162
+ var e = this.renderableEffectsManager.getEffects(_n.TRANSFORM_EFFECT);
3163
+ if (e.length) {
3164
+ this.localTransforms = [], this.finalTransform.localMat = new G();
3165
+ var t = 0, n = e.length;
3166
+ for (t = 0; t < n; t += 1) this.localTransforms.push(e[t]);
3167
+ }
3168
+ }
3169
+ },
3170
+ globalToLocal: function(e) {
3171
+ var t = [];
3172
+ t.push(this.finalTransform);
3173
+ for (var n = !0, r = this.comp; n;) r.finalTransform ? (r.data.hasMask && t.splice(0, 0, r.finalTransform), r = r.comp) : n = !1;
3174
+ var i, a = t.length, o;
3175
+ for (i = 0; i < a; i += 1) o = t[i].mat.applyToPointArray(0, 0, 0), e = [
3176
+ e[0] - o[0],
3177
+ e[1] - o[1],
3178
+ 0
3179
+ ];
3180
+ return e;
3181
+ },
3182
+ mHelper: new G()
3183
+ };
3184
+ function yn(e, t, n) {
3185
+ this.data = e, this.element = t, this.globalData = n, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
3186
+ var r = this.globalData.defs, i, a = this.masksProperties ? this.masksProperties.length : 0;
3187
+ this.viewData = h(a), this.solidPath = "";
3188
+ var o, s = this.masksProperties, c = 0, u = [], d, f, p = I(), m, g, _, v, y = "clipPath", b = "clip-path";
3189
+ for (i = 0; i < a; i += 1) if ((s[i].mode !== "a" && s[i].mode !== "n" || s[i].inv || s[i].o.k !== 100 || s[i].o.x) && (y = "mask", b = "mask"), (s[i].mode === "s" || s[i].mode === "i") && c === 0 ? (m = L("rect"), m.setAttribute("fill", "#ffffff"), m.setAttribute("width", this.element.comp.data.w || 0), m.setAttribute("height", this.element.comp.data.h || 0), u.push(m)) : m = null, o = L("path"), s[i].mode === "n") this.viewData[i] = {
3190
+ op: H.getProp(this.element, s[i].o, 0, .01, this.element),
3191
+ prop: Je.getShapeProp(this.element, s[i], 3),
3192
+ elem: o,
3193
+ lastPath: ""
3194
+ }, r.appendChild(o);
3195
+ else {
3196
+ c += 1, o.setAttribute("fill", s[i].mode === "s" ? "#000000" : "#ffffff"), o.setAttribute("clip-rule", "nonzero");
3197
+ var x;
3198
+ if (s[i].x.k === 0 ? (_ = null, v = null) : (y = "mask", b = "mask", v = H.getProp(this.element, s[i].x, 0, null, this.element), x = I(), g = L("filter"), g.setAttribute("id", x), _ = L("feMorphology"), _.setAttribute("operator", "erode"), _.setAttribute("in", "SourceGraphic"), _.setAttribute("radius", "0"), g.appendChild(_), r.appendChild(g), o.setAttribute("stroke", s[i].mode === "s" ? "#000000" : "#ffffff")), this.storedData[i] = {
3199
+ elem: o,
3200
+ x: v,
3201
+ expan: _,
3202
+ lastPath: "",
3203
+ lastOperator: "",
3204
+ filterId: x,
3205
+ lastRadius: 0
3206
+ }, s[i].mode === "i") {
3207
+ f = u.length;
3208
+ var S = L("g");
3209
+ for (d = 0; d < f; d += 1) S.appendChild(u[d]);
3210
+ var C = L("mask");
3211
+ C.setAttribute("mask-type", "alpha"), C.setAttribute("id", p + "_" + c), C.appendChild(o), r.appendChild(C), S.setAttribute("mask", "url(" + l() + "#" + p + "_" + c + ")"), u.length = 0, u.push(S);
3212
+ } else u.push(o);
3213
+ s[i].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()), this.viewData[i] = {
3214
+ elem: o,
3215
+ lastPath: "",
3216
+ op: H.getProp(this.element, s[i].o, 0, .01, this.element),
3217
+ prop: Je.getShapeProp(this.element, s[i], 3),
3218
+ invRect: m
3219
+ }, this.viewData[i].prop.k || this.drawPath(s[i], this.viewData[i].prop.v, this.viewData[i]);
3220
+ }
3221
+ for (this.maskElement = L(y), a = u.length, i = 0; i < a; i += 1) this.maskElement.appendChild(u[i]);
3222
+ c > 0 && (this.maskElement.setAttribute("id", p), this.element.maskedElement.setAttribute(b, "url(" + l() + "#" + p + ")"), r.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
3223
+ }
3224
+ yn.prototype.getMaskProperty = function(e) {
3225
+ return this.viewData[e].prop;
3226
+ }, yn.prototype.renderFrame = function(e) {
3227
+ var t = this.element.finalTransform.mat, n, r = this.masksProperties.length;
3228
+ for (n = 0; n < r; n += 1) if ((this.viewData[n].prop._mdf || e) && this.drawPath(this.masksProperties[n], this.viewData[n].prop.v, this.viewData[n]), (this.viewData[n].op._mdf || e) && this.viewData[n].elem.setAttribute("fill-opacity", this.viewData[n].op.v), this.masksProperties[n].mode !== "n" && (this.viewData[n].invRect && (this.element.finalTransform.mProp._mdf || e) && this.viewData[n].invRect.setAttribute("transform", t.getInverseMatrix().to2dCSS()), this.storedData[n].x && (this.storedData[n].x._mdf || e))) {
3229
+ var i = this.storedData[n].expan;
3230
+ this.storedData[n].x.v < 0 ? (this.storedData[n].lastOperator !== "erode" && (this.storedData[n].lastOperator = "erode", this.storedData[n].elem.setAttribute("filter", "url(" + l() + "#" + this.storedData[n].filterId + ")")), i.setAttribute("radius", -this.storedData[n].x.v)) : (this.storedData[n].lastOperator !== "dilate" && (this.storedData[n].lastOperator = "dilate", this.storedData[n].elem.setAttribute("filter", null)), this.storedData[n].elem.setAttribute("stroke-width", this.storedData[n].x.v * 2));
3231
+ }
3232
+ }, yn.prototype.getMaskelement = function() {
3233
+ return this.maskElement;
3234
+ }, yn.prototype.createLayerSolidPath = function() {
3235
+ var e = "M0,0 ";
3236
+ return e += " h" + this.globalData.compSize.w, e += " v" + this.globalData.compSize.h, e += " h-" + this.globalData.compSize.w, e += " v-" + this.globalData.compSize.h + " ", e;
3237
+ }, yn.prototype.drawPath = function(e, t, n) {
3238
+ var r = " M" + t.v[0][0] + "," + t.v[0][1], i, a = t._length;
3239
+ for (i = 1; i < a; i += 1) r += " C" + t.o[i - 1][0] + "," + t.o[i - 1][1] + " " + t.i[i][0] + "," + t.i[i][1] + " " + t.v[i][0] + "," + t.v[i][1];
3240
+ if (t.c && a > 1 && (r += " C" + t.o[i - 1][0] + "," + t.o[i - 1][1] + " " + t.i[0][0] + "," + t.i[0][1] + " " + t.v[0][0] + "," + t.v[0][1]), n.lastPath !== r) {
3241
+ var o = "";
3242
+ n.elem && (t.c && (o = e.inv ? this.solidPath + r : r), n.elem.setAttribute("d", o)), n.lastPath = r;
3243
+ }
3244
+ }, yn.prototype.destroy = function() {
3245
+ this.element = null, this.globalData = null, this.maskElement = null, this.data = null, this.masksProperties = null;
3246
+ };
3247
+ var bn = function() {
3248
+ var e = {};
3249
+ e.createFilter = t, e.createAlphaToLuminanceFilter = n;
3250
+ function t(e, t) {
3251
+ var n = L("filter");
3252
+ return n.setAttribute("id", e), t !== !0 && (n.setAttribute("filterUnits", "objectBoundingBox"), n.setAttribute("x", "0%"), n.setAttribute("y", "0%"), n.setAttribute("width", "100%"), n.setAttribute("height", "100%")), n;
3253
+ }
3254
+ function n() {
3255
+ var e = L("feColorMatrix");
3256
+ return e.setAttribute("type", "matrix"), e.setAttribute("color-interpolation-filters", "sRGB"), e.setAttribute("values", "0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"), e;
3257
+ }
3258
+ return e;
3259
+ }(), xn = function() {
3260
+ var e = {
3261
+ maskType: !0,
3262
+ svgLumaHidden: !0,
3263
+ offscreenCanvas: typeof OffscreenCanvas < "u"
3264
+ };
3265
+ return (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\/\d./i.test(navigator.userAgent)) && (e.maskType = !1), /firefox/i.test(navigator.userAgent) && (e.svgLumaHidden = !1), e;
3266
+ }(), Sn = {}, Cn = "filter_result_";
3267
+ function wn(e) {
3268
+ var t, n = "SourceGraphic", r = e.data.ef ? e.data.ef.length : 0, i = I(), a = bn.createFilter(i, !0), o = 0;
3269
+ this.filters = [];
3270
+ var s;
3271
+ for (t = 0; t < r; t += 1) {
3272
+ s = null;
3273
+ var c = e.data.ef[t].ty;
3274
+ if (Sn[c]) {
3275
+ var u = Sn[c].effect;
3276
+ s = new u(a, e.effectsManager.effectElements[t], e, Cn + o, n), n = Cn + o, Sn[c].countsAsEffect && (o += 1);
3277
+ }
3278
+ s && this.filters.push(s);
3279
+ }
3280
+ o && (e.globalData.defs.appendChild(a), e.layerElement.setAttribute("filter", "url(" + l() + "#" + i + ")")), this.filters.length && e.addRenderableComponent(this);
3281
+ }
3282
+ wn.prototype.renderFrame = function(e) {
3283
+ var t, n = this.filters.length;
3284
+ for (t = 0; t < n; t += 1) this.filters[t].renderFrame(e);
3285
+ }, wn.prototype.getEffects = function(e) {
3286
+ var t, n = this.filters.length, r = [];
3287
+ for (t = 0; t < n; t += 1) this.filters[t].type === e && r.push(this.filters[t]);
3288
+ return r;
3289
+ };
3290
+ function Tn() {}
3291
+ Tn.prototype = {
3292
+ initRendererElement: function() {
3293
+ this.layerElement = L("g");
3294
+ },
3295
+ createContainerElements: function() {
3296
+ this.matteElement = L("g"), this.transformedElement = this.layerElement, this.maskedElement = this.layerElement, this._sizeChanged = !1;
3297
+ var e = null;
3298
+ if (this.data.td) {
3299
+ this.matteMasks = {};
3300
+ var t = L("g");
3301
+ t.setAttribute("id", this.layerId), t.appendChild(this.layerElement), e = t, this.globalData.defs.appendChild(t);
3302
+ } else this.data.tt ? (this.matteElement.appendChild(this.layerElement), e = this.matteElement, this.baseElement = this.matteElement) : this.baseElement = this.layerElement;
3303
+ if (this.data.ln && this.layerElement.setAttribute("id", this.data.ln), this.data.cl && this.layerElement.setAttribute("class", this.data.cl), this.data.ty === 0 && !this.data.hd) {
3304
+ var n = L("clipPath"), r = L("path");
3305
+ r.setAttribute("d", "M0,0 L" + this.data.w + ",0 L" + this.data.w + "," + this.data.h + " L0," + this.data.h + "z");
3306
+ var i = I();
3307
+ if (n.setAttribute("id", i), n.appendChild(r), this.globalData.defs.appendChild(n), this.checkMasks()) {
3308
+ var a = L("g");
3309
+ a.setAttribute("clip-path", "url(" + l() + "#" + i + ")"), a.appendChild(this.layerElement), this.transformedElement = a, e ? e.appendChild(this.transformedElement) : this.baseElement = this.transformedElement;
3310
+ } else this.layerElement.setAttribute("clip-path", "url(" + l() + "#" + i + ")");
3311
+ }
3312
+ this.data.bm !== 0 && this.setBlendMode();
3313
+ },
3314
+ renderElement: function() {
3315
+ this.finalTransform._localMatMdf && this.transformedElement.setAttribute("transform", this.finalTransform.localMat.to2dCSS()), this.finalTransform._opMdf && this.transformedElement.setAttribute("opacity", this.finalTransform.localOpacity);
3316
+ },
3317
+ destroyBaseElement: function() {
3318
+ this.layerElement = null, this.matteElement = null, this.maskManager.destroy();
3319
+ },
3320
+ getBaseElement: function() {
3321
+ return this.data.hd ? null : this.baseElement;
3322
+ },
3323
+ createRenderableComponents: function() {
3324
+ this.maskManager = new yn(this.data, this, this.globalData), this.renderableEffectsManager = new wn(this), this.searchEffectTransforms();
3325
+ },
3326
+ getMatte: function(e) {
3327
+ if (this.matteMasks ||= {}, !this.matteMasks[e]) {
3328
+ var t = this.layerId + "_" + e, n, r, i, a;
3329
+ if (e === 1 || e === 3) {
3330
+ var o = L("mask");
3331
+ o.setAttribute("id", t), o.setAttribute("mask-type", e === 3 ? "luminance" : "alpha"), i = L("use"), i.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), o.appendChild(i), this.globalData.defs.appendChild(o), !xn.maskType && e === 1 && (o.setAttribute("mask-type", "luminance"), n = I(), r = bn.createFilter(n), this.globalData.defs.appendChild(r), r.appendChild(bn.createAlphaToLuminanceFilter()), a = L("g"), a.appendChild(i), o.appendChild(a), a.setAttribute("filter", "url(" + l() + "#" + n + ")"));
3332
+ } else if (e === 2) {
3333
+ var s = L("mask");
3334
+ s.setAttribute("id", t), s.setAttribute("mask-type", "alpha");
3335
+ var c = L("g");
3336
+ s.appendChild(c), n = I(), r = bn.createFilter(n);
3337
+ var u = L("feComponentTransfer");
3338
+ u.setAttribute("in", "SourceGraphic"), r.appendChild(u);
3339
+ var d = L("feFuncA");
3340
+ d.setAttribute("type", "table"), d.setAttribute("tableValues", "1.0 0.0"), u.appendChild(d), this.globalData.defs.appendChild(r);
3341
+ var f = L("rect");
3342
+ f.setAttribute("width", this.comp.data.w), f.setAttribute("height", this.comp.data.h), f.setAttribute("x", "0"), f.setAttribute("y", "0"), f.setAttribute("fill", "#ffffff"), f.setAttribute("opacity", "0"), c.setAttribute("filter", "url(" + l() + "#" + n + ")"), c.appendChild(f), i = L("use"), i.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), c.appendChild(i), xn.maskType || (s.setAttribute("mask-type", "luminance"), r.appendChild(bn.createAlphaToLuminanceFilter()), a = L("g"), c.appendChild(f), a.appendChild(this.layerElement), c.appendChild(a)), this.globalData.defs.appendChild(s);
3343
+ }
3344
+ this.matteMasks[e] = t;
3345
+ }
3346
+ return this.matteMasks[e];
3347
+ },
3348
+ setMatte: function(e) {
3349
+ this.matteElement && this.matteElement.setAttribute("mask", "url(" + l() + "#" + e + ")");
3350
+ }
3351
+ };
3352
+ function En() {}
3353
+ En.prototype = {
3354
+ initHierarchy: function() {
3355
+ this.hierarchy = [], this._isParent = !1, this.checkParenting();
3356
+ },
3357
+ setHierarchy: function(e) {
3358
+ this.hierarchy = e;
3359
+ },
3360
+ setAsParent: function() {
3361
+ this._isParent = !0;
3362
+ },
3363
+ checkParenting: function() {
3364
+ this.data.parent !== void 0 && this.comp.buildElementParenting(this, this.data.parent, []);
3365
+ }
3366
+ };
3367
+ function Dn() {}
3368
+ (function() {
3369
+ d([tn, f({
3370
+ initElement: function(e, t, n) {
3371
+ this.initFrame(), this.initBaseData(e, t, n), this.initTransform(e, t, n), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide();
3372
+ },
3373
+ hide: function() {
3374
+ if (!this.hidden && (!this.isInRange || this.isTransparent)) {
3375
+ var e = this.baseElement || this.layerElement;
3376
+ e.style.display = "none", this.hidden = !0;
3377
+ }
3378
+ },
3379
+ show: function() {
3380
+ if (this.isInRange && !this.isTransparent) {
3381
+ if (!this.data.hd) {
3382
+ var e = this.baseElement || this.layerElement;
3383
+ e.style.display = "block";
3384
+ }
3385
+ this.hidden = !1, this._isFirstFrame = !0;
3386
+ }
3387
+ },
3388
+ renderFrame: function() {
3389
+ this.data.hd || this.hidden || (this.renderTransform(), this.renderRenderable(), this.renderLocalTransform(), this.renderElement(), this.renderInnerContent(), this._isFirstFrame &&= !1);
3390
+ },
3391
+ renderInnerContent: function() {},
3392
+ prepareFrame: function(e) {
3393
+ this._mdf = !1, this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange), this.checkTransparency();
3394
+ },
3395
+ destroy: function() {
3396
+ this.innerElem = null, this.destroyBaseElement();
3397
+ }
3398
+ })], Dn);
3399
+ })();
3400
+ function On(e, t, n) {
3401
+ this.assetData = t.getAssetData(e.refId), this.assetData && this.assetData.sid && (this.assetData = t.slotManager.getProp(this.assetData)), this.initElement(e, t, n), this.sourceRect = {
3402
+ top: 0,
3403
+ left: 0,
3404
+ width: this.assetData.w,
3405
+ height: this.assetData.h
3406
+ };
3407
+ }
3408
+ d([
3409
+ mn,
3410
+ vn,
3411
+ Tn,
3412
+ En,
3413
+ hn,
3414
+ Dn
3415
+ ], On), On.prototype.createContent = function() {
3416
+ var e = this.globalData.getAssetsPath(this.assetData);
3417
+ this.innerElem = L("image"), this.innerElem.setAttribute("width", this.assetData.w + "px"), this.innerElem.setAttribute("height", this.assetData.h + "px"), this.innerElem.setAttribute("preserveAspectRatio", this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio), this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink", "href", e), this.layerElement.appendChild(this.innerElem);
3418
+ }, On.prototype.sourceRectAtTime = function() {
3419
+ return this.sourceRect;
3420
+ };
3421
+ function kn(e, t) {
3422
+ this.elem = e, this.pos = t;
3423
+ }
3424
+ function An() {}
3425
+ An.prototype = {
3426
+ addShapeToModifiers: function(e) {
3427
+ var t, n = this.shapeModifiers.length;
3428
+ for (t = 0; t < n; t += 1) this.shapeModifiers[t].addShape(e);
3429
+ },
3430
+ isShapeInAnimatedModifiers: function(e) {
3431
+ for (var t = 0, n = this.shapeModifiers.length; t < n;) if (this.shapeModifiers[t].isAnimatedWithShape(e)) return !0;
3432
+ return !1;
3433
+ },
3434
+ renderModifiers: function() {
3435
+ if (this.shapeModifiers.length) {
3436
+ var e, t = this.shapes.length;
3437
+ for (e = 0; e < t; e += 1) this.shapes[e].sh.reset();
3438
+ t = this.shapeModifiers.length;
3439
+ var n;
3440
+ for (e = t - 1; e >= 0 && (n = this.shapeModifiers[e].processShapes(this._isFirstFrame), !n); --e);
3441
+ }
3442
+ },
3443
+ searchProcessedElement: function(e) {
3444
+ for (var t = this.processedElements, n = 0, r = t.length; n < r;) {
3445
+ if (t[n].elem === e) return t[n].pos;
3446
+ n += 1;
3447
+ }
3448
+ return 0;
3449
+ },
3450
+ addProcessedElement: function(e, t) {
3451
+ for (var n = this.processedElements, r = n.length; r;) if (--r, n[r].elem === e) {
3452
+ n[r].pos = t;
3453
+ return;
3454
+ }
3455
+ n.push(new kn(e, t));
3456
+ },
3457
+ prepareFrame: function(e) {
3458
+ this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange);
3459
+ }
3460
+ };
3461
+ var jn = {
3462
+ 1: "butt",
3463
+ 2: "round",
3464
+ 3: "square"
3465
+ }, Mn = {
3466
+ 1: "miter",
3467
+ 2: "round",
3468
+ 3: "bevel"
3469
+ };
3470
+ function Nn(e, t, n) {
3471
+ this.caches = [], this.styles = [], this.transformers = e, this.lStr = "", this.sh = n, this.lvl = t, this._isAnimated = !!n.k;
3472
+ for (var r = 0, i = e.length; r < i;) {
3473
+ if (e[r].mProps.dynamicProperties.length) {
3474
+ this._isAnimated = !0;
3475
+ break;
3476
+ }
3477
+ r += 1;
3478
+ }
3479
+ }
3480
+ Nn.prototype.setAsAnimated = function() {
3481
+ this._isAnimated = !0;
3482
+ };
3483
+ function Pn(e, t) {
3484
+ this.data = e, this.type = e.ty, this.d = "", this.lvl = t, this._mdf = !1, this.closed = e.hd === !0, this.pElem = L("path"), this.msElem = null;
3485
+ }
3486
+ Pn.prototype.reset = function() {
3487
+ this.d = "", this._mdf = !1;
3488
+ };
3489
+ function Fn(e, t, n, r) {
3490
+ this.elem = e, this.frameId = -1, this.dataProps = h(t.length), this.renderer = n, this.k = !1, this.dashStr = "", this.dashArray = m("float32", t.length ? t.length - 1 : 0), this.dashoffset = m("float32", 1), this.initDynamicPropertyContainer(r);
3491
+ var i, a = t.length || 0, o;
3492
+ for (i = 0; i < a; i += 1) o = H.getProp(e, t[i].v, 0, 0, this), this.k = o.k || this.k, this.dataProps[i] = {
3493
+ n: t[i].n,
3494
+ p: o
3495
+ };
3496
+ this.k || this.getValue(!0), this._isAnimated = this.k;
3497
+ }
3498
+ Fn.prototype.getValue = function(e) {
3499
+ if (!(this.elem.globalData.frameId === this.frameId && !e) && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf = this._mdf || e, this._mdf)) {
3500
+ var t = 0, n = this.dataProps.length;
3501
+ for (this.renderer === "svg" && (this.dashStr = ""), t = 0; t < n; t += 1) this.dataProps[t].n === "o" ? this.dashoffset[0] = this.dataProps[t].p.v : this.renderer === "svg" ? this.dashStr += " " + this.dataProps[t].p.v : this.dashArray[t] = this.dataProps[t].p.v;
3502
+ }
3503
+ }, d([U], Fn);
3504
+ function In(e, t, n) {
3505
+ this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.o = H.getProp(e, t.o, 0, .01, this), this.w = H.getProp(e, t.w, 0, null, this), this.d = new Fn(e, t.d || {}, "svg", this), this.c = H.getProp(e, t.c, 1, 255, this), this.style = n, this._isAnimated = !!this._isAnimated;
3506
+ }
3507
+ d([U], In);
3508
+ function Ln(e, t, n) {
3509
+ this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.o = H.getProp(e, t.o, 0, .01, this), this.c = H.getProp(e, t.c, 1, 255, this), this.style = n;
3510
+ }
3511
+ d([U], Ln);
3512
+ function Rn(e, t, n) {
3513
+ this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.style = n;
3514
+ }
3515
+ d([U], Rn);
3516
+ function zn(e, t, n) {
3517
+ this.data = t, this.c = m("uint8c", t.p * 4);
3518
+ var r = t.k.k[0].s ? t.k.k[0].s.length - t.p * 4 : t.k.k.length - t.p * 4;
3519
+ this.o = m("float32", r), this._cmdf = !1, this._omdf = !1, this._collapsable = this.checkCollapsable(), this._hasOpacity = r, this.initDynamicPropertyContainer(n), this.prop = H.getProp(e, t.k, 1, null, this), this.k = this.prop.k, this.getValue(!0);
3520
+ }
3521
+ zn.prototype.comparePoints = function(e, t) {
3522
+ for (var n = 0, r = this.o.length / 2, i; n < r;) {
3523
+ if (i = Math.abs(e[n * 4] - e[t * 4 + n * 2]), i > .01) return !1;
3524
+ n += 1;
3525
+ }
3526
+ return !0;
3527
+ }, zn.prototype.checkCollapsable = function() {
3528
+ if (this.o.length / 2 != this.c.length / 4) return !1;
3529
+ if (this.data.k.k[0].s) for (var e = 0, t = this.data.k.k.length; e < t;) {
3530
+ if (!this.comparePoints(this.data.k.k[e].s, this.data.p)) return !1;
3531
+ e += 1;
3532
+ }
3533
+ else if (!this.comparePoints(this.data.k.k, this.data.p)) return !1;
3534
+ return !0;
3535
+ }, zn.prototype.getValue = function(e) {
3536
+ if (this.prop.getValue(), this._mdf = !1, this._cmdf = !1, this._omdf = !1, this.prop._mdf || e) {
3537
+ var t, n = this.data.p * 4, r, i;
3538
+ for (t = 0; t < n; t += 1) r = t % 4 == 0 ? 100 : 255, i = Math.round(this.prop.v[t] * r), this.c[t] !== i && (this.c[t] = i, this._cmdf = !e);
3539
+ if (this.o.length) for (n = this.prop.v.length, t = this.data.p * 4; t < n; t += 1) r = t % 2 == 0 ? 100 : 1, i = t % 2 == 0 ? Math.round(this.prop.v[t] * 100) : this.prop.v[t], this.o[t - this.data.p * 4] !== i && (this.o[t - this.data.p * 4] = i, this._omdf = !e);
3540
+ this._mdf = !e;
3541
+ }
3542
+ }, d([U], zn);
3543
+ function Bn(e, t, n) {
3544
+ this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.initGradientData(e, t, n);
3545
+ }
3546
+ Bn.prototype.initGradientData = function(e, t, n) {
3547
+ this.o = H.getProp(e, t.o, 0, .01, this), this.s = H.getProp(e, t.s, 1, null, this), this.e = H.getProp(e, t.e, 1, null, this), this.h = H.getProp(e, t.h || { k: 0 }, 0, .01, this), this.a = H.getProp(e, t.a || { k: 0 }, 0, O, this), this.g = new zn(e, t.g, this), this.style = n, this.stops = [], this.setGradientData(n.pElem, t), this.setGradientOpacity(t, n), this._isAnimated = !!this._isAnimated;
3548
+ }, Bn.prototype.setGradientData = function(e, t) {
3549
+ var n = I(), r = L(t.t === 1 ? "linearGradient" : "radialGradient");
3550
+ r.setAttribute("id", n), r.setAttribute("spreadMethod", "pad"), r.setAttribute("gradientUnits", "userSpaceOnUse");
3551
+ var i = [], a, o, s = t.g.p * 4;
3552
+ for (o = 0; o < s; o += 4) a = L("stop"), r.appendChild(a), i.push(a);
3553
+ e.setAttribute(t.ty === "gf" ? "fill" : "stroke", "url(" + l() + "#" + n + ")"), this.gf = r, this.cst = i;
3554
+ }, Bn.prototype.setGradientOpacity = function(e, t) {
3555
+ if (this.g._hasOpacity && !this.g._collapsable) {
3556
+ var n, r, i, a = L("mask"), o = L("path");
3557
+ a.appendChild(o);
3558
+ var s = I(), c = I();
3559
+ a.setAttribute("id", c);
3560
+ var u = L(e.t === 1 ? "linearGradient" : "radialGradient");
3561
+ u.setAttribute("id", s), u.setAttribute("spreadMethod", "pad"), u.setAttribute("gradientUnits", "userSpaceOnUse"), i = e.g.k.k[0].s ? e.g.k.k[0].s.length : e.g.k.k.length;
3562
+ var d = this.stops;
3563
+ for (r = e.g.p * 4; r < i; r += 2) n = L("stop"), n.setAttribute("stop-color", "rgb(255,255,255)"), u.appendChild(n), d.push(n);
3564
+ o.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + l() + "#" + s + ")"), e.ty === "gs" && (o.setAttribute("stroke-linecap", jn[e.lc || 2]), o.setAttribute("stroke-linejoin", Mn[e.lj || 2]), e.lj === 1 && o.setAttribute("stroke-miterlimit", e.ml)), this.of = u, this.ms = a, this.ost = d, this.maskId = c, t.msElem = o;
3565
+ }
3566
+ }, d([U], Bn);
3567
+ function Vn(e, t, n) {
3568
+ this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.w = H.getProp(e, t.w, 0, null, this), this.d = new Fn(e, t.d || {}, "svg", this), this.initGradientData(e, t, n), this._isAnimated = !!this._isAnimated;
3569
+ }
3570
+ d([Bn, U], Vn);
3571
+ function Hn() {
3572
+ this.it = [], this.prevViewData = [], this.gr = L("g");
3573
+ }
3574
+ function Un(e, t, n) {
3575
+ this.transform = {
3576
+ mProps: e,
3577
+ op: t,
3578
+ container: n
3579
+ }, this.elements = [], this._isAnimated = this.transform.mProps.dynamicProperties.length || this.transform.op.effectsSequence.length;
3580
+ }
3581
+ var Wn = function(e, t, n, r) {
3582
+ if (t === 0) return "";
3583
+ var i = e.o, a = e.i, o = e.v, s, c = " M" + r.applyToPointStringified(o[0][0], o[0][1]);
3584
+ for (s = 1; s < t; s += 1) c += " C" + r.applyToPointStringified(i[s - 1][0], i[s - 1][1]) + " " + r.applyToPointStringified(a[s][0], a[s][1]) + " " + r.applyToPointStringified(o[s][0], o[s][1]);
3585
+ return n && t && (c += " C" + r.applyToPointStringified(i[s - 1][0], i[s - 1][1]) + " " + r.applyToPointStringified(a[0][0], a[0][1]) + " " + r.applyToPointStringified(o[0][0], o[0][1]), c += "z"), c;
3586
+ }, Gn = function() {
3587
+ var e = new G(), t = new G(), n = { createRenderFunction: r };
3588
+ function r(e) {
3589
+ switch (e.ty) {
3590
+ case "fl": return s;
3591
+ case "gf": return l;
3592
+ case "gs": return c;
3593
+ case "st": return u;
3594
+ case "sh":
3595
+ case "el":
3596
+ case "rc":
3597
+ case "sr": return o;
3598
+ case "tr": return i;
3599
+ case "no": return a;
3600
+ default: return null;
3601
+ }
3602
+ }
3603
+ function i(e, t, n) {
3604
+ (n || t.transform.op._mdf) && t.transform.container.setAttribute("opacity", t.transform.op.v), (n || t.transform.mProps._mdf) && t.transform.container.setAttribute("transform", t.transform.mProps.v.to2dCSS());
3605
+ }
3606
+ function a() {}
3607
+ function o(n, r, i) {
3608
+ var a, o, s, c, l, u, d = r.styles.length, f = r.lvl, p, m, h, g;
3609
+ for (u = 0; u < d; u += 1) {
3610
+ if (c = r.sh._mdf || i, r.styles[u].lvl < f) {
3611
+ for (m = t.reset(), h = f - r.styles[u].lvl, g = r.transformers.length - 1; !c && h > 0;) c = r.transformers[g].mProps._mdf || c, --h, --g;
3612
+ if (c) for (h = f - r.styles[u].lvl, g = r.transformers.length - 1; h > 0;) m.multiply(r.transformers[g].mProps.v), --h, --g;
3613
+ } else m = e;
3614
+ if (p = r.sh.paths, o = p._length, c) {
3615
+ for (s = "", a = 0; a < o; a += 1) l = p.shapes[a], l && l._length && (s += Wn(l, l._length, l.c, m));
3616
+ r.caches[u] = s;
3617
+ } else s = r.caches[u];
3618
+ r.styles[u].d += n.hd === !0 ? "" : s, r.styles[u]._mdf = c || r.styles[u]._mdf;
3619
+ }
3620
+ }
3621
+ function s(e, t, n) {
3622
+ var r = t.style;
3623
+ (t.c._mdf || n) && r.pElem.setAttribute("fill", "rgb(" + w(t.c.v[0]) + "," + w(t.c.v[1]) + "," + w(t.c.v[2]) + ")"), (t.o._mdf || n) && r.pElem.setAttribute("fill-opacity", t.o.v);
3624
+ }
3625
+ function c(e, t, n) {
3626
+ l(e, t, n), u(e, t, n);
3627
+ }
3628
+ function l(e, t, n) {
3629
+ var r = t.gf, i = t.g._hasOpacity, a = t.s.v, o = t.e.v;
3630
+ if (t.o._mdf || n) {
3631
+ var s = e.ty === "gf" ? "fill-opacity" : "stroke-opacity";
3632
+ t.style.pElem.setAttribute(s, t.o.v);
3633
+ }
3634
+ if (t.s._mdf || n) {
3635
+ var c = e.t === 1 ? "x1" : "cx", l = c === "x1" ? "y1" : "cy";
3636
+ r.setAttribute(c, a[0]), r.setAttribute(l, a[1]), i && !t.g._collapsable && (t.of.setAttribute(c, a[0]), t.of.setAttribute(l, a[1]));
3637
+ }
3638
+ var u, d, f, p;
3639
+ if (t.g._cmdf || n) {
3640
+ u = t.cst;
3641
+ var m = t.g.c;
3642
+ for (f = u.length, d = 0; d < f; d += 1) p = u[d], p.setAttribute("offset", m[d * 4] + "%"), p.setAttribute("stop-color", "rgb(" + m[d * 4 + 1] + "," + m[d * 4 + 2] + "," + m[d * 4 + 3] + ")");
3643
+ }
3644
+ if (i && (t.g._omdf || n)) {
3645
+ var h = t.g.o;
3646
+ for (u = t.g._collapsable ? t.cst : t.ost, f = u.length, d = 0; d < f; d += 1) p = u[d], t.g._collapsable || p.setAttribute("offset", h[d * 2] + "%"), p.setAttribute("stop-opacity", h[d * 2 + 1]);
3647
+ }
3648
+ if (e.t === 1) (t.e._mdf || n) && (r.setAttribute("x2", o[0]), r.setAttribute("y2", o[1]), i && !t.g._collapsable && (t.of.setAttribute("x2", o[0]), t.of.setAttribute("y2", o[1])));
3649
+ else {
3650
+ var g;
3651
+ if ((t.s._mdf || t.e._mdf || n) && (g = Math.sqrt((a[0] - o[0]) ** 2 + (a[1] - o[1]) ** 2), r.setAttribute("r", g), i && !t.g._collapsable && t.of.setAttribute("r", g)), t.s._mdf || t.e._mdf || t.h._mdf || t.a._mdf || n) {
3652
+ g ||= Math.sqrt((a[0] - o[0]) ** 2 + (a[1] - o[1]) ** 2);
3653
+ var _ = Math.atan2(o[1] - a[1], o[0] - a[0]), v = t.h.v;
3654
+ v >= 1 ? v = .99 : v <= -1 && (v = -.99);
3655
+ var y = g * v, b = Math.cos(_ + t.a.v) * y + a[0], x = Math.sin(_ + t.a.v) * y + a[1];
3656
+ r.setAttribute("fx", b), r.setAttribute("fy", x), i && !t.g._collapsable && (t.of.setAttribute("fx", b), t.of.setAttribute("fy", x));
3657
+ }
3658
+ }
3659
+ }
3660
+ function u(e, t, n) {
3661
+ var r = t.style, i = t.d;
3662
+ i && (i._mdf || n) && i.dashStr && (r.pElem.setAttribute("stroke-dasharray", i.dashStr), r.pElem.setAttribute("stroke-dashoffset", i.dashoffset[0])), t.c && (t.c._mdf || n) && r.pElem.setAttribute("stroke", "rgb(" + w(t.c.v[0]) + "," + w(t.c.v[1]) + "," + w(t.c.v[2]) + ")"), (t.o._mdf || n) && r.pElem.setAttribute("stroke-opacity", t.o.v), (t.w._mdf || n) && (r.pElem.setAttribute("stroke-width", t.w.v), r.msElem && r.msElem.setAttribute("stroke-width", t.w.v));
3663
+ }
3664
+ return n;
3665
+ }();
3666
+ function Z(e, t, n) {
3667
+ this.shapes = [], this.shapesData = e.shapes, this.stylesList = [], this.shapeModifiers = [], this.itemsData = [], this.processedElements = [], this.animatedContents = [], this.initElement(e, t, n), this.prevViewData = [];
3668
+ }
3669
+ d([
3670
+ mn,
3671
+ vn,
3672
+ Tn,
3673
+ An,
3674
+ En,
3675
+ hn,
3676
+ Dn
3677
+ ], Z), Z.prototype.initSecondaryElement = function() {}, Z.prototype.identityMatrix = new G(), Z.prototype.buildExpressionInterface = function() {}, Z.prototype.createContent = function() {
3678
+ this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], !0), this.filterUniqueShapes();
3679
+ }, Z.prototype.filterUniqueShapes = function() {
3680
+ var e, t = this.shapes.length, n, r, i = this.stylesList.length, a, o = [], s = !1;
3681
+ for (r = 0; r < i; r += 1) {
3682
+ for (a = this.stylesList[r], s = !1, o.length = 0, e = 0; e < t; e += 1) n = this.shapes[e], n.styles.indexOf(a) !== -1 && (o.push(n), s = n._isAnimated || s);
3683
+ o.length > 1 && s && this.setShapesAsAnimated(o);
3684
+ }
3685
+ }, Z.prototype.setShapesAsAnimated = function(e) {
3686
+ var t, n = e.length;
3687
+ for (t = 0; t < n; t += 1) e[t].setAsAnimated();
3688
+ }, Z.prototype.createStyleElement = function(e, t) {
3689
+ var n, r = new Pn(e, t), i = r.pElem;
3690
+ return e.ty === "st" ? n = new In(this, e, r) : e.ty === "fl" ? n = new Ln(this, e, r) : e.ty === "gf" || e.ty === "gs" ? (n = new (e.ty === "gf" ? Bn : Vn)(this, e, r), this.globalData.defs.appendChild(n.gf), n.maskId && (this.globalData.defs.appendChild(n.ms), this.globalData.defs.appendChild(n.of), i.setAttribute("mask", "url(" + l() + "#" + n.maskId + ")"))) : e.ty === "no" && (n = new Rn(this, e, r)), (e.ty === "st" || e.ty === "gs") && (i.setAttribute("stroke-linecap", jn[e.lc || 2]), i.setAttribute("stroke-linejoin", Mn[e.lj || 2]), i.setAttribute("fill-opacity", "0"), e.lj === 1 && i.setAttribute("stroke-miterlimit", e.ml)), e.r === 2 && i.setAttribute("fill-rule", "evenodd"), e.ln && i.setAttribute("id", e.ln), e.cl && i.setAttribute("class", e.cl), e.bm && (i.style["mix-blend-mode"] = nn(e.bm)), this.stylesList.push(r), this.addToAnimatedContents(e, n), n;
3691
+ }, Z.prototype.createGroupElement = function(e) {
3692
+ var t = new Hn();
3693
+ return e.ln && t.gr.setAttribute("id", e.ln), e.cl && t.gr.setAttribute("class", e.cl), e.bm && (t.gr.style["mix-blend-mode"] = nn(e.bm)), t;
3694
+ }, Z.prototype.createTransformElement = function(e, t) {
3695
+ var n = _t.getTransformProperty(this, e, this), r = new Un(n, n.o, t);
3696
+ return this.addToAnimatedContents(e, r), r;
3697
+ }, Z.prototype.createShapeElement = function(e, t, n) {
3698
+ var r = 4;
3699
+ e.ty === "rc" ? r = 5 : e.ty === "el" ? r = 6 : e.ty === "sr" && (r = 7);
3700
+ var i = new Nn(t, n, Je.getShapeProp(this, e, r, this));
3701
+ return this.shapes.push(i), this.addShapeToModifiers(i), this.addToAnimatedContents(e, i), i;
3702
+ }, Z.prototype.addToAnimatedContents = function(e, t) {
3703
+ for (var n = 0, r = this.animatedContents.length; n < r;) {
3704
+ if (this.animatedContents[n].element === t) return;
3705
+ n += 1;
3706
+ }
3707
+ this.animatedContents.push({
3708
+ fn: Gn.createRenderFunction(e),
3709
+ element: t,
3710
+ data: e
3711
+ });
3712
+ }, Z.prototype.setElementStyles = function(e) {
3713
+ var t = e.styles, n, r = this.stylesList.length;
3714
+ for (n = 0; n < r; n += 1) t.indexOf(this.stylesList[n]) === -1 && !this.stylesList[n].closed && t.push(this.stylesList[n]);
3715
+ }, Z.prototype.reloadShapes = function() {
3716
+ this._isFirstFrame = !0;
3717
+ var e, t = this.itemsData.length;
3718
+ for (e = 0; e < t; e += 1) this.prevViewData[e] = this.itemsData[e];
3719
+ for (this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], !0), this.filterUniqueShapes(), t = this.dynamicProperties.length, e = 0; e < t; e += 1) this.dynamicProperties[e].getValue();
3720
+ this.renderModifiers();
3721
+ }, Z.prototype.searchShapes = function(e, t, n, r, i, a, o) {
3722
+ var s = [].concat(a), c, l = e.length - 1, u, d, f = [], p = [], m, h, g;
3723
+ for (c = l; c >= 0; --c) {
3724
+ if (g = this.searchProcessedElement(e[c]), g ? t[c] = n[g - 1] : e[c]._render = o, e[c].ty === "fl" || e[c].ty === "st" || e[c].ty === "gf" || e[c].ty === "gs" || e[c].ty === "no") g ? t[c].style.closed = e[c].hd : t[c] = this.createStyleElement(e[c], i), e[c]._render && t[c].style.pElem.parentNode !== r && r.appendChild(t[c].style.pElem), f.push(t[c].style);
3725
+ else if (e[c].ty === "gr") {
3726
+ if (!g) t[c] = this.createGroupElement(e[c]);
3727
+ else for (d = t[c].it.length, u = 0; u < d; u += 1) t[c].prevViewData[u] = t[c].it[u];
3728
+ this.searchShapes(e[c].it, t[c].it, t[c].prevViewData, t[c].gr, i + 1, s, o), e[c]._render && t[c].gr.parentNode !== r && r.appendChild(t[c].gr);
3729
+ } else e[c].ty === "tr" ? (g || (t[c] = this.createTransformElement(e[c], r)), m = t[c].transform, s.push(m)) : e[c].ty === "sh" || e[c].ty === "rc" || e[c].ty === "el" || e[c].ty === "sr" ? (g || (t[c] = this.createShapeElement(e[c], s, i)), this.setElementStyles(t[c])) : e[c].ty === "tm" || e[c].ty === "rd" || e[c].ty === "ms" || e[c].ty === "pb" || e[c].ty === "zz" || e[c].ty === "op" ? (g ? (h = t[c], h.closed = !1) : (h = mt.getModifier(e[c].ty), h.init(this, e[c]), t[c] = h, this.shapeModifiers.push(h)), p.push(h)) : e[c].ty === "rp" && (g ? (h = t[c], h.closed = !0) : (h = mt.getModifier(e[c].ty), t[c] = h, h.init(this, e, c, t), this.shapeModifiers.push(h), o = !1), p.push(h));
3730
+ this.addProcessedElement(e[c], c + 1);
3731
+ }
3732
+ for (l = f.length, c = 0; c < l; c += 1) f[c].closed = !0;
3733
+ for (l = p.length, c = 0; c < l; c += 1) p[c].closed = !0;
3734
+ }, Z.prototype.renderInnerContent = function() {
3735
+ this.renderModifiers();
3736
+ var e, t = this.stylesList.length;
3737
+ for (e = 0; e < t; e += 1) this.stylesList[e].reset();
3738
+ for (this.renderShape(), e = 0; e < t; e += 1) (this.stylesList[e]._mdf || this._isFirstFrame) && (this.stylesList[e].msElem && (this.stylesList[e].msElem.setAttribute("d", this.stylesList[e].d), this.stylesList[e].d = "M0 0" + this.stylesList[e].d), this.stylesList[e].pElem.setAttribute("d", this.stylesList[e].d || "M0 0"));
3739
+ }, Z.prototype.renderShape = function() {
3740
+ var e, t = this.animatedContents.length, n;
3741
+ for (e = 0; e < t; e += 1) n = this.animatedContents[e], (this._isFirstFrame || n.element._isAnimated) && n.data !== !0 && n.fn(n.data, n.element, this._isFirstFrame);
3742
+ }, Z.prototype.destroy = function() {
3743
+ this.destroyBaseElement(), this.shapesData = null, this.itemsData = null;
3744
+ };
3745
+ function Kn(e, t, n, r, i, a) {
3746
+ this.o = e, this.sw = t, this.sc = n, this.fc = r, this.m = i, this.p = a, this._mdf = {
3747
+ o: !0,
3748
+ sw: !!t,
3749
+ sc: !!n,
3750
+ fc: !!r,
3751
+ m: !0,
3752
+ p: !0
3753
+ };
3754
+ }
3755
+ Kn.prototype.update = function(e, t, n, r, i, a) {
3756
+ this._mdf.o = !1, this._mdf.sw = !1, this._mdf.sc = !1, this._mdf.fc = !1, this._mdf.m = !1, this._mdf.p = !1;
3757
+ var o = !1;
3758
+ return this.o !== e && (this.o = e, this._mdf.o = !0, o = !0), this.sw !== t && (this.sw = t, this._mdf.sw = !0, o = !0), this.sc !== n && (this.sc = n, this._mdf.sc = !0, o = !0), this.fc !== r && (this.fc = r, this._mdf.fc = !0, o = !0), this.m !== i && (this.m = i, this._mdf.m = !0, o = !0), a.length && (this.p[0] !== a[0] || this.p[1] !== a[1] || this.p[4] !== a[4] || this.p[5] !== a[5] || this.p[12] !== a[12] || this.p[13] !== a[13]) && (this.p = a, this._mdf.p = !0, o = !0), o;
3759
+ };
3760
+ function Q(e, t) {
3761
+ this._frameId = a, this.pv = "", this.v = "", this.kf = !1, this._isFirstFrame = !0, this._mdf = !1, t.d && t.d.sid && (t.d = e.globalData.slotManager.getProp(t.d)), this.data = t, this.elem = e, this.comp = this.elem.comp, this.keysIndex = 0, this.canResize = !1, this.minimumFontSize = 1, this.effectsSequence = [], this.currentData = {
3762
+ ascent: 0,
3763
+ boxWidth: this.defaultBoxWidth,
3764
+ f: "",
3765
+ fStyle: "",
3766
+ fWeight: "",
3767
+ fc: "",
3768
+ j: "",
3769
+ justifyOffset: "",
3770
+ l: [],
3771
+ lh: 0,
3772
+ lineWidths: [],
3773
+ ls: "",
3774
+ of: "",
3775
+ s: "",
3776
+ sc: "",
3777
+ sw: 0,
3778
+ t: 0,
3779
+ tr: 0,
3780
+ sz: 0,
3781
+ ps: null,
3782
+ fillColorAnim: !1,
3783
+ strokeColorAnim: !1,
3784
+ strokeWidthAnim: !1,
3785
+ yOffset: 0,
3786
+ finalSize: 0,
3787
+ finalText: [],
3788
+ finalLineHeight: 0,
3789
+ __complete: !1
3790
+ }, this.copyData(this.currentData, this.data.d.k[0].s), this.searchProperty() || this.completeTextData(this.currentData);
3791
+ }
3792
+ Q.prototype.defaultBoxWidth = [0, 0], Q.prototype.copyData = function(e, t) {
3793
+ for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
3794
+ return e;
3795
+ }, Q.prototype.setCurrentData = function(e) {
3796
+ e.__complete || this.completeTextData(e), this.currentData = e, this.currentData.boxWidth = this.currentData.boxWidth || this.defaultBoxWidth, this._mdf = !0;
3797
+ }, Q.prototype.searchProperty = function() {
3798
+ return this.searchKeyframes();
3799
+ }, Q.prototype.searchKeyframes = function() {
3800
+ return this.kf = this.data.d.k.length > 1, this.kf && this.addEffect(this.getKeyframeValue.bind(this)), this.kf;
3801
+ }, Q.prototype.addEffect = function(e) {
3802
+ this.effectsSequence.push(e), this.elem.addDynamicProperty(this);
3803
+ }, Q.prototype.getValue = function(e) {
3804
+ if (!((this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length) && !e)) {
3805
+ this.currentData.t = this.data.d.k[this.keysIndex].s.t;
3806
+ var t = this.currentData, n = this.keysIndex;
3807
+ if (this.lock) {
3808
+ this.setCurrentData(this.currentData);
3809
+ return;
3810
+ }
3811
+ this.lock = !0, this._mdf = !1;
3812
+ var r, i = this.effectsSequence.length, a = e || this.data.d.k[this.keysIndex].s;
3813
+ for (r = 0; r < i; r += 1) a = n === this.keysIndex ? this.effectsSequence[r](this.currentData, a.t) : this.effectsSequence[r](a, a.t);
3814
+ t !== a && this.setCurrentData(a), this.v = this.currentData, this.pv = this.v, this.lock = !1, this.frameId = this.elem.globalData.frameId;
3815
+ }
3816
+ }, Q.prototype.getKeyframeValue = function() {
3817
+ for (var e = this.data.d.k, t = this.elem.comp.renderedFrame, n = 0, r = e.length; n <= r - 1 && !(n === r - 1 || e[n + 1].t > t);) n += 1;
3818
+ return this.keysIndex !== n && (this.keysIndex = n), this.data.d.k[this.keysIndex].s;
3819
+ }, Q.prototype.buildFinalText = function(e) {
3820
+ for (var t = [], n = 0, r = e.length, i, a, o = !1, s = !1, c = ""; n < r;) o = s, s = !1, i = e.charCodeAt(n), c = e.charAt(n), Qt.isCombinedCharacter(i) ? o = !0 : i >= 55296 && i <= 56319 ? Qt.isRegionalFlag(e, n) ? c = e.substr(n, 14) : (a = e.charCodeAt(n + 1), a >= 56320 && a <= 57343 && (Qt.isModifier(i, a) ? (c = e.substr(n, 2), o = !0) : c = Qt.isFlagEmoji(e.substr(n, 4)) ? e.substr(n, 4) : e.substr(n, 2))) : i > 56319 ? (a = e.charCodeAt(n + 1), Qt.isVariationSelector(i) && (o = !0)) : Qt.isZeroWidthJoiner(i) && (o = !0, s = !0), o ? (t[t.length - 1] += c, o = !1) : t.push(c), n += c.length;
3821
+ return t;
3822
+ }, Q.prototype.completeTextData = function(e) {
3823
+ e.__complete = !0;
3824
+ var t = this.elem.globalData.fontManager, n = this.data, r = [], i, a, o, s = 0, c, l = n.m.g, u = 0, d = 0, f = 0, p = [], m = 0, h = 0, g, _, v = t.getFontByName(e.f), y, b = 0, x = Zt(v);
3825
+ e.fWeight = x.weight, e.fStyle = x.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
3826
+ var S = e.tr / 1e3 * e.finalSize, C;
3827
+ if (e.sz) for (var w = !0, T = e.sz[0], E = e.sz[1], D, O; w;) {
3828
+ O = this.buildFinalText(e.t), D = 0, m = 0, a = O.length, S = e.tr / 1e3 * e.finalSize;
3829
+ var k = -1;
3830
+ for (i = 0; i < a; i += 1) C = O[i].charCodeAt(0), o = !1, O[i] === " " ? k = i : (C === 13 || C === 3) && (m = 0, o = !0, D += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (y = t.getCharData(O[i], v.fStyle, v.fFamily), b = o ? 0 : y.w * e.finalSize / 100) : b = t.measureText(O[i], e.f, e.finalSize), m + b > T && O[i] !== " " ? (k === -1 ? a += 1 : i = k, D += e.finalLineHeight || e.finalSize * 1.2, O.splice(i, k === i ? 1 : 0, "\r"), k = -1, m = 0) : (m += b, m += S);
3831
+ D += v.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && E < D ? (--e.finalSize, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = O, a = e.finalText.length, w = !1);
3832
+ }
3833
+ m = -S, b = 0;
3834
+ var A = 0, j;
3835
+ for (i = 0; i < a; i += 1) if (o = !1, j = e.finalText[i], C = j.charCodeAt(0), C === 13 || C === 3 ? (A = 0, p.push(m), h = m > h ? m : h, m = -2 * S, c = "", o = !0, f += 1) : c = j, t.chars ? (y = t.getCharData(j, v.fStyle, t.getFontByName(e.f).fFamily), b = o ? 0 : y.w * e.finalSize / 100) : b = t.measureText(c, e.f, e.finalSize), j === " " ? A += b + S : (m += b + S + A, A = 0), r.push({
3836
+ l: b,
3837
+ an: b,
3838
+ add: u,
3839
+ n: o,
3840
+ anIndexes: [],
3841
+ val: c,
3842
+ line: f,
3843
+ animatorJustifyOffset: 0
3844
+ }), l == 2) {
3845
+ if (u += b, c === "" || c === " " || i === a - 1) {
3846
+ for ((c === "" || c === " ") && (u -= b); d <= i;) r[d].an = u, r[d].ind = s, r[d].extra = b, d += 1;
3847
+ s += 1, u = 0;
3848
+ }
3849
+ } else if (l == 3) {
3850
+ if (u += b, c === "" || i === a - 1) {
3851
+ for (c === "" && (u -= b); d <= i;) r[d].an = u, r[d].ind = s, r[d].extra = b, d += 1;
3852
+ u = 0, s += 1;
3853
+ }
3854
+ } else r[s].ind = s, r[s].extra = 0, s += 1;
3855
+ if (e.l = r, h = m > h ? m : h, p.push(m), e.sz) e.boxWidth = e.sz[0], e.justifyOffset = 0;
3856
+ else switch (e.boxWidth = h, e.j) {
3857
+ case 1:
3858
+ e.justifyOffset = -e.boxWidth;
3859
+ break;
3860
+ case 2:
3861
+ e.justifyOffset = -e.boxWidth / 2;
3862
+ break;
3863
+ default: e.justifyOffset = 0;
3864
+ }
3865
+ e.lineWidths = p;
3866
+ var M = n.a, N, P;
3867
+ _ = M.length;
3868
+ var F, ee, I = [];
3869
+ for (g = 0; g < _; g += 1) {
3870
+ for (N = M[g], N.a.sc && (e.strokeColorAnim = !0), N.a.sw && (e.strokeWidthAnim = !0), (N.a.fc || N.a.fh || N.a.fs || N.a.fb) && (e.fillColorAnim = !0), ee = 0, F = N.s.b, i = 0; i < a; i += 1) P = r[i], P.anIndexes[g] = ee, (F == 1 && P.val !== "" || F == 2 && P.val !== "" && P.val !== " " || F == 3 && (P.n || P.val == " " || i == a - 1) || F == 4 && (P.n || i == a - 1)) && (N.s.rn === 1 && I.push(ee), ee += 1);
3871
+ n.a[g].s.totalChars = ee;
3872
+ var te = -1, ne;
3873
+ if (N.s.rn === 1) for (i = 0; i < a; i += 1) P = r[i], te != P.anIndexes[g] && (te = P.anIndexes[g], ne = I.splice(Math.floor(Math.random() * I.length), 1)[0]), P.anIndexes[g] = ne;
3874
+ }
3875
+ e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = v.ascent * e.finalSize / 100;
3876
+ }, Q.prototype.updateDocumentData = function(e, t) {
3877
+ t = t === void 0 ? this.keysIndex : t;
3878
+ var n = this.copyData({}, this.data.d.k[t].s);
3879
+ n = this.copyData(n, e), this.data.d.k[t].s = n, this.recalculate(t), this.setCurrentData(n), this.elem.addDynamicProperty(this);
3880
+ }, Q.prototype.recalculate = function(e) {
3881
+ var t = this.data.d.k[e].s;
3882
+ t.__complete = !1, this.keysIndex = 0, this._isFirstFrame = !0, this.getValue(t);
3883
+ }, Q.prototype.canResizeFont = function(e) {
3884
+ this.canResize = e, this.recalculate(this.keysIndex), this.elem.addDynamicProperty(this);
3885
+ }, Q.prototype.setMinimumFontSize = function(e) {
3886
+ this.minimumFontSize = Math.floor(e) || 1, this.recalculate(this.keysIndex), this.elem.addDynamicProperty(this);
3887
+ };
3888
+ var qn = function() {
3889
+ var e = Math.max, t = Math.min, n = Math.floor;
3890
+ function r(e, t) {
3891
+ this._currentTextLength = -1, this.k = !1, this.data = t, this.elem = e, this.comp = e.comp, this.finalS = 0, this.finalE = 0, this.initDynamicPropertyContainer(e), this.s = H.getProp(e, t.s || { k: 0 }, 0, 0, this), "e" in t ? this.e = H.getProp(e, t.e, 0, 0, this) : this.e = { v: 100 }, this.o = H.getProp(e, t.o || { k: 0 }, 0, 0, this), this.xe = H.getProp(e, t.xe || { k: 0 }, 0, 0, this), this.ne = H.getProp(e, t.ne || { k: 0 }, 0, 0, this), this.sm = H.getProp(e, t.sm || { k: 100 }, 0, 0, this), this.a = H.getProp(e, t.a, 0, .01, this), this.dynamicProperties.length || this.getValue();
3892
+ }
3893
+ r.prototype = {
3894
+ getMult: function(r) {
3895
+ this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
3896
+ var i = 0, a = 0, o = 1, s = 1;
3897
+ this.ne.v > 0 ? i = this.ne.v / 100 : a = -this.ne.v / 100, this.xe.v > 0 ? o = 1 - this.xe.v / 100 : s = 1 + this.xe.v / 100;
3898
+ var c = Ce.getBezierEasing(i, a, o, s).get, l = 0, u = this.finalS, d = this.finalE, f = this.data.sh;
3899
+ if (f === 2) l = d === u ? r >= d ? 1 : 0 : e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l = c(l);
3900
+ else if (f === 3) l = d === u ? r >= d ? 0 : 1 : 1 - e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l = c(l);
3901
+ else if (f === 4) d === u ? l = 0 : (l = e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l < .5 ? l *= 2 : l = 1 - 2 * (l - .5)), l = c(l);
3902
+ else if (f === 5) {
3903
+ if (d === u) l = 0;
3904
+ else {
3905
+ var p = d - u;
3906
+ r = t(e(0, r + .5 - u), d - u);
3907
+ var m = -p / 2 + r, h = p / 2;
3908
+ l = Math.sqrt(1 - m * m / (h * h));
3909
+ }
3910
+ l = c(l);
3911
+ } else f === 6 ? (d === u ? l = 0 : (r = t(e(0, r + .5 - u), d - u), l = (1 + Math.cos(Math.PI + Math.PI * 2 * r / (d - u))) / 2), l = c(l)) : (r >= n(u) && (l = r - u < 0 ? e(0, t(t(d, 1) - (u - r), 1)) : e(0, t(d - r, 1))), l = c(l));
3912
+ if (this.sm.v !== 100) {
3913
+ var g = this.sm.v * .01;
3914
+ g === 0 && (g = 1e-8);
3915
+ var _ = .5 - g * .5;
3916
+ l < _ ? l = 0 : (l = (l - _) / g, l > 1 && (l = 1));
3917
+ }
3918
+ return l * this.a.v;
3919
+ },
3920
+ getValue: function(e) {
3921
+ this.iterateDynamicProperties(), this._mdf = e || this._mdf, this._currentTextLength = this.elem.textProperty.currentData.l.length || 0, e && this.data.r === 2 && (this.e.v = this._currentTextLength);
3922
+ var t = this.data.r === 2 ? 1 : 100 / this.data.totalChars, n = this.o.v / t, r = this.s.v / t + n, i = this.e.v / t + n;
3923
+ if (r > i) {
3924
+ var a = r;
3925
+ r = i, i = a;
3926
+ }
3927
+ this.finalS = r, this.finalE = i;
3928
+ }
3929
+ }, d([U], r);
3930
+ function i(e, t, n) {
3931
+ return new r(e, t, n);
3932
+ }
3933
+ return { getTextSelectorProp: i };
3934
+ }();
3935
+ function Jn(e, t, n) {
3936
+ var r = { propType: !1 }, i = H.getProp, a = t.a;
3937
+ this.a = {
3938
+ r: a.r ? i(e, a.r, 0, O, n) : r,
3939
+ rx: a.rx ? i(e, a.rx, 0, O, n) : r,
3940
+ ry: a.ry ? i(e, a.ry, 0, O, n) : r,
3941
+ sk: a.sk ? i(e, a.sk, 0, O, n) : r,
3942
+ sa: a.sa ? i(e, a.sa, 0, O, n) : r,
3943
+ s: a.s ? i(e, a.s, 1, .01, n) : r,
3944
+ a: a.a ? i(e, a.a, 1, 0, n) : r,
3945
+ o: a.o ? i(e, a.o, 0, .01, n) : r,
3946
+ p: a.p ? i(e, a.p, 1, 0, n) : r,
3947
+ sw: a.sw ? i(e, a.sw, 0, 0, n) : r,
3948
+ sc: a.sc ? i(e, a.sc, 1, 0, n) : r,
3949
+ fc: a.fc ? i(e, a.fc, 1, 0, n) : r,
3950
+ fh: a.fh ? i(e, a.fh, 0, 0, n) : r,
3951
+ fs: a.fs ? i(e, a.fs, 0, .01, n) : r,
3952
+ fb: a.fb ? i(e, a.fb, 0, .01, n) : r,
3953
+ t: a.t ? i(e, a.t, 0, 0, n) : r
3954
+ }, this.s = qn.getTextSelectorProp(e, t.s, n), this.s.t = t.s.t;
3955
+ }
3956
+ function Yn(e, t, n) {
3957
+ this._isFirstFrame = !0, this._hasMaskedPath = !1, this._frameId = -1, this._textData = e, this._renderType = t, this._elem = n, this._animatorsData = h(this._textData.a.length), this._pathData = {}, this._moreOptions = { alignment: {} }, this.renderedLetters = [], this.lettersChangedFlag = !1, this.initDynamicPropertyContainer(n);
3958
+ }
3959
+ Yn.prototype.searchProperties = function() {
3960
+ var e, t = this._textData.a.length, n, r = H.getProp;
3961
+ for (e = 0; e < t; e += 1) n = this._textData.a[e], this._animatorsData[e] = new Jn(this._elem, n, this);
3962
+ this._textData.p && "m" in this._textData.p ? (this._pathData = {
3963
+ a: r(this._elem, this._textData.p.a, 0, 0, this),
3964
+ f: r(this._elem, this._textData.p.f, 0, 0, this),
3965
+ l: r(this._elem, this._textData.p.l, 0, 0, this),
3966
+ r: r(this._elem, this._textData.p.r, 0, 0, this),
3967
+ p: r(this._elem, this._textData.p.p, 0, 0, this),
3968
+ m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
3969
+ }, this._hasMaskedPath = !0) : this._hasMaskedPath = !1, this._moreOptions.alignment = r(this._elem, this._textData.m.a, 1, 0, this);
3970
+ }, Yn.prototype.getMeasures = function(e, t) {
3971
+ if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
3972
+ this._isFirstFrame = !1;
3973
+ var n = this._moreOptions.alignment.v, r = this._animatorsData, i = this._textData, a = this.mHelper, o = this._renderType, s = this.renderedLetters.length, c, l, u, d, f = e.l, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D;
3974
+ if (this._hasMaskedPath) {
3975
+ if (D = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
3976
+ var O = D.v;
3977
+ this._pathData.r.v && (O = O.reverse()), p = {
3978
+ tLength: 0,
3979
+ segments: []
3980
+ }, d = O._length - 1;
3981
+ var k;
3982
+ for (w = 0, u = 0; u < d; u += 1) k = ke.buildBezierData(O.v[u], O.v[u + 1], [O.o[u][0] - O.v[u][0], O.o[u][1] - O.v[u][1]], [O.i[u + 1][0] - O.v[u + 1][0], O.i[u + 1][1] - O.v[u + 1][1]]), p.tLength += k.segmentLength, p.segments.push(k), w += k.segmentLength;
3983
+ u = d, D.v.c && (k = ke.buildBezierData(O.v[u], O.v[0], [O.o[u][0] - O.v[u][0], O.o[u][1] - O.v[u][1]], [O.i[0][0] - O.v[0][0], O.i[0][1] - O.v[0][1]]), p.tLength += k.segmentLength, p.segments.push(k), w += k.segmentLength), this._pathData.pi = p;
3984
+ }
3985
+ if (p = this._pathData.pi, m = this._pathData.f.v, y = 0, v = 1, g = 0, _ = !0, S = p.segments, m < 0 && D.v.c) for (p.tLength < Math.abs(m) && (m = -Math.abs(m) % p.tLength), y = S.length - 1, x = S[y].points, v = x.length - 1; m < 0;) m += x[v].partialLength, --v, v < 0 && (--y, x = S[y].points, v = x.length - 1);
3986
+ x = S[y].points, b = x[v - 1], h = x[v], C = h.partialLength;
3987
+ }
3988
+ d = f.length, c = 0, l = 0;
3989
+ var A = e.finalSize * 1.2 * .714, j = !0, M, N, P, F = r.length, ee, I, te = -1, ne, oe, se, ce = m, le = y, ue = v, de = -1, fe, pe, L, R, z, me, he, ge, _e = "", ve = this.defaultPropsArray, ye;
3990
+ if (e.j === 2 || e.j === 1) {
3991
+ var be = 0, xe = 0, Se = e.j === 2 ? -.5 : -1, B = 0, V = !0;
3992
+ for (u = 0; u < d; u += 1) if (f[u].n) {
3993
+ for (be && (be += xe); B < u;) f[B].animatorJustifyOffset = be, B += 1;
3994
+ be = 0, V = !0;
3995
+ } else {
3996
+ for (P = 0; P < F; P += 1) M = r[P].a, M.t.propType && (V && e.j === 2 && (xe += M.t.v * Se), N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? be += M.t.v * I[0] * Se : be += M.t.v * I * Se);
3997
+ V = !1;
3998
+ }
3999
+ for (be && (be += xe); B < u;) f[B].animatorJustifyOffset = be, B += 1;
4000
+ }
4001
+ for (u = 0; u < d; u += 1) {
4002
+ if (a.reset(), fe = 1, f[u].n) c = 0, l += e.yOffset, l += j ? 1 : 0, m = ce, j = !1, this._hasMaskedPath && (y = le, v = ue, x = S[y].points, b = x[v - 1], h = x[v], C = h.partialLength, g = 0), _e = "", ge = "", me = "", ye = "", ve = this.defaultPropsArray;
4003
+ else {
4004
+ if (this._hasMaskedPath) {
4005
+ if (de !== f[u].line) {
4006
+ switch (e.j) {
4007
+ case 1:
4008
+ m += w - e.lineWidths[f[u].line];
4009
+ break;
4010
+ case 2:
4011
+ m += (w - e.lineWidths[f[u].line]) / 2;
4012
+ break;
4013
+ default: break;
4014
+ }
4015
+ de = f[u].line;
4016
+ }
4017
+ te !== f[u].ind && (f[te] && (m += f[te].extra), m += f[u].an / 2, te = f[u].ind), m += n[0] * f[u].an * .005;
4018
+ var Ce = 0;
4019
+ for (P = 0; P < F; P += 1) M = r[P].a, M.p.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? Ce += M.p.v[0] * I[0] : Ce += M.p.v[0] * I), M.a.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? Ce += M.a.v[0] * I[0] : Ce += M.a.v[0] * I);
4020
+ for (_ = !0, this._pathData.a.v && (m = f[0].an * .5 + (w - this._pathData.f.v - f[0].an * .5 - f[f.length - 1].an * .5) * te / (d - 1), m += this._pathData.f.v); _;) g + C >= m + Ce || !x ? (T = (m + Ce - g) / h.partialLength, oe = b.point[0] + (h.point[0] - b.point[0]) * T, se = b.point[1] + (h.point[1] - b.point[1]) * T, a.translate(-n[0] * f[u].an * .005, -(n[1] * A) * .01), _ = !1) : x && (g += h.partialLength, v += 1, v >= x.length && (v = 0, y += 1, S[y] ? x = S[y].points : D.v.c ? (v = 0, y = 0, x = S[y].points) : (g -= h.partialLength, x = null)), x && (b = h, h = x[v], C = h.partialLength));
4021
+ ne = f[u].an / 2 - f[u].add, a.translate(-ne, 0, 0);
4022
+ } else ne = f[u].an / 2 - f[u].add, a.translate(-ne, 0, 0), a.translate(-n[0] * f[u].an * .005, -n[1] * A * .01, 0);
4023
+ for (P = 0; P < F; P += 1) M = r[P].a, M.t.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), (c !== 0 || e.j !== 0) && (this._hasMaskedPath ? I.length ? m += M.t.v * I[0] : m += M.t.v * I : I.length ? c += M.t.v * I[0] : c += M.t.v * I));
4024
+ for (e.strokeWidthAnim && (L = e.sw || 0), e.strokeColorAnim && (pe = e.sc ? [
4025
+ e.sc[0],
4026
+ e.sc[1],
4027
+ e.sc[2]
4028
+ ] : [
4029
+ 0,
4030
+ 0,
4031
+ 0
4032
+ ]), e.fillColorAnim && e.fc && (R = [
4033
+ e.fc[0],
4034
+ e.fc[1],
4035
+ e.fc[2]
4036
+ ]), P = 0; P < F; P += 1) M = r[P].a, M.a.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? a.translate(-M.a.v[0] * I[0], -M.a.v[1] * I[1], M.a.v[2] * I[2]) : a.translate(-M.a.v[0] * I, -M.a.v[1] * I, M.a.v[2] * I));
4037
+ for (P = 0; P < F; P += 1) M = r[P].a, M.s.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? a.scale(1 + (M.s.v[0] - 1) * I[0], 1 + (M.s.v[1] - 1) * I[1], 1) : a.scale(1 + (M.s.v[0] - 1) * I, 1 + (M.s.v[1] - 1) * I, 1));
4038
+ for (P = 0; P < F; P += 1) {
4039
+ if (M = r[P].a, N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), M.sk.propType && (I.length ? a.skewFromAxis(-M.sk.v * I[0], M.sa.v * I[1]) : a.skewFromAxis(-M.sk.v * I, M.sa.v * I)), M.r.propType && (I.length ? a.rotateZ(-M.r.v * I[2]) : a.rotateZ(-M.r.v * I)), M.ry.propType && (I.length ? a.rotateY(M.ry.v * I[1]) : a.rotateY(M.ry.v * I)), M.rx.propType && (I.length ? a.rotateX(M.rx.v * I[0]) : a.rotateX(M.rx.v * I)), M.o.propType && (I.length ? fe += (M.o.v * I[0] - fe) * I[0] : fe += (M.o.v * I - fe) * I), e.strokeWidthAnim && M.sw.propType && (I.length ? L += M.sw.v * I[0] : L += M.sw.v * I), e.strokeColorAnim && M.sc.propType) for (z = 0; z < 3; z += 1) I.length ? pe[z] += (M.sc.v[z] - pe[z]) * I[0] : pe[z] += (M.sc.v[z] - pe[z]) * I;
4040
+ if (e.fillColorAnim && e.fc) {
4041
+ if (M.fc.propType) for (z = 0; z < 3; z += 1) I.length ? R[z] += (M.fc.v[z] - R[z]) * I[0] : R[z] += (M.fc.v[z] - R[z]) * I;
4042
+ M.fh.propType && (R = I.length ? ae(R, M.fh.v * I[0]) : ae(R, M.fh.v * I)), M.fs.propType && (R = I.length ? re(R, M.fs.v * I[0]) : re(R, M.fs.v * I)), M.fb.propType && (R = I.length ? ie(R, M.fb.v * I[0]) : ie(R, M.fb.v * I));
4043
+ }
4044
+ }
4045
+ for (P = 0; P < F; P += 1) M = r[P].a, M.p.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), this._hasMaskedPath ? I.length ? a.translate(0, M.p.v[1] * I[0], -M.p.v[2] * I[1]) : a.translate(0, M.p.v[1] * I, -M.p.v[2] * I) : I.length ? a.translate(M.p.v[0] * I[0], M.p.v[1] * I[1], -M.p.v[2] * I[2]) : a.translate(M.p.v[0] * I, M.p.v[1] * I, -M.p.v[2] * I));
4046
+ if (e.strokeWidthAnim && (me = L < 0 ? 0 : L), e.strokeColorAnim && (he = "rgb(" + Math.round(pe[0] * 255) + "," + Math.round(pe[1] * 255) + "," + Math.round(pe[2] * 255) + ")"), e.fillColorAnim && e.fc && (ge = "rgb(" + Math.round(R[0] * 255) + "," + Math.round(R[1] * 255) + "," + Math.round(R[2] * 255) + ")"), this._hasMaskedPath) {
4047
+ if (a.translate(0, -e.ls), a.translate(0, n[1] * A * .01 + l, 0), this._pathData.p.v) {
4048
+ E = (h.point[1] - b.point[1]) / (h.point[0] - b.point[0]);
4049
+ var we = Math.atan(E) * 180 / Math.PI;
4050
+ h.point[0] < b.point[0] && (we += 180), a.rotate(-we * Math.PI / 180);
4051
+ }
4052
+ a.translate(oe, se, 0), m -= n[0] * f[u].an * .005, f[u + 1] && te !== f[u + 1].ind && (m += f[u].an / 2, m += e.tr * .001 * e.finalSize);
4053
+ } else {
4054
+ switch (a.translate(c, l, 0), e.ps && a.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
4055
+ case 1:
4056
+ a.translate(f[u].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[f[u].line]), 0, 0);
4057
+ break;
4058
+ case 2:
4059
+ a.translate(f[u].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[f[u].line]) / 2, 0, 0);
4060
+ break;
4061
+ default: break;
4062
+ }
4063
+ a.translate(0, -e.ls), a.translate(ne, 0, 0), a.translate(n[0] * f[u].an * .005, n[1] * A * .01, 0), c += f[u].l + e.tr * .001 * e.finalSize;
4064
+ }
4065
+ o === "html" ? _e = a.toCSS() : o === "svg" ? _e = a.to2dCSS() : ve = [
4066
+ a.props[0],
4067
+ a.props[1],
4068
+ a.props[2],
4069
+ a.props[3],
4070
+ a.props[4],
4071
+ a.props[5],
4072
+ a.props[6],
4073
+ a.props[7],
4074
+ a.props[8],
4075
+ a.props[9],
4076
+ a.props[10],
4077
+ a.props[11],
4078
+ a.props[12],
4079
+ a.props[13],
4080
+ a.props[14],
4081
+ a.props[15]
4082
+ ], ye = fe;
4083
+ }
4084
+ s <= u ? (ee = new Kn(ye, me, he, ge, _e, ve), this.renderedLetters.push(ee), s += 1, this.lettersChangedFlag = !0) : (ee = this.renderedLetters[u], this.lettersChangedFlag = ee.update(ye, me, he, ge, _e, ve) || this.lettersChangedFlag);
4085
+ }
4086
+ }
4087
+ }, Yn.prototype.getValue = function() {
4088
+ this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
4089
+ }, Yn.prototype.mHelper = new G(), Yn.prototype.defaultPropsArray = [], d([U], Yn);
4090
+ function Xn() {}
4091
+ Xn.prototype.initElement = function(e, t, n) {
4092
+ this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(e, t, n), this.textProperty = new Q(this, e.t, this.dynamicProperties), this.textAnimator = new Yn(e.t, this.renderType, this), this.initTransform(e, t, n), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(), this.textAnimator.searchProperties(this.dynamicProperties);
4093
+ }, Xn.prototype.prepareFrame = function(e) {
4094
+ this._mdf = !1, this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange);
4095
+ }, Xn.prototype.createPathShape = function(e, t) {
4096
+ var n, r = t.length, i, a = "";
4097
+ for (n = 0; n < r; n += 1) t[n].ty === "sh" && (i = t[n].ks.k, a += Wn(i, i.i.length, !0, e));
4098
+ return a;
4099
+ }, Xn.prototype.updateDocumentData = function(e, t) {
4100
+ this.textProperty.updateDocumentData(e, t);
4101
+ }, Xn.prototype.canResizeFont = function(e) {
4102
+ this.textProperty.canResizeFont(e);
4103
+ }, Xn.prototype.setMinimumFontSize = function(e) {
4104
+ this.textProperty.setMinimumFontSize(e);
4105
+ }, Xn.prototype.applyTextPropertiesToMatrix = function(e, t, n, r, i) {
4106
+ switch (e.ps && t.translate(e.ps[0], e.ps[1] + e.ascent, 0), t.translate(0, -e.ls, 0), e.j) {
4107
+ case 1:
4108
+ t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]), 0, 0);
4109
+ break;
4110
+ case 2:
4111
+ t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]) / 2, 0, 0);
4112
+ break;
4113
+ default: break;
4114
+ }
4115
+ t.translate(r, i, 0);
4116
+ }, Xn.prototype.buildColor = function(e) {
4117
+ return "rgb(" + Math.round(e[0] * 255) + "," + Math.round(e[1] * 255) + "," + Math.round(e[2] * 255) + ")";
4118
+ }, Xn.prototype.emptyProp = new Kn(), Xn.prototype.destroy = function() {}, Xn.prototype.validateText = function() {
4119
+ (this.textProperty._mdf || this.textProperty._isFirstFrame) && (this.buildNewText(), this.textProperty._isFirstFrame = !1, this.textProperty._mdf = !1);
4120
+ };
4121
+ var Zn = { shapes: [] };
4122
+ function Qn(e, t, n) {
4123
+ this.textSpans = [], this.renderType = "svg", this.initElement(e, t, n);
4124
+ }
4125
+ d([
4126
+ mn,
4127
+ vn,
4128
+ Tn,
4129
+ En,
4130
+ hn,
4131
+ Dn,
4132
+ Xn
4133
+ ], Qn), Qn.prototype.createContent = function() {
4134
+ this.data.singleShape && !this.globalData.fontManager.chars && (this.textContainer = L("text"));
4135
+ }, Qn.prototype.buildTextContents = function(e) {
4136
+ for (var t = 0, n = e.length, r = [], i = ""; t < n;) e[t] === "\r" || e[t] === "" ? (r.push(i), i = "") : i += e[t], t += 1;
4137
+ return r.push(i), r;
4138
+ }, Qn.prototype.buildShapeData = function(e, t) {
4139
+ if (e.shapes && e.shapes.length) {
4140
+ var n = e.shapes[0];
4141
+ if (n.it) {
4142
+ var r = n.it[n.it.length - 1];
4143
+ r.s && (r.s.k[0] = t, r.s.k[1] = t);
4144
+ }
4145
+ }
4146
+ return e;
4147
+ }, Qn.prototype.buildNewText = function() {
4148
+ this.addDynamicProperty(this);
4149
+ var e, t, n = this.textProperty.currentData;
4150
+ this.renderedLetters = h(n ? n.l.length : 0), n.fc ? this.layerElement.setAttribute("fill", this.buildColor(n.fc)) : this.layerElement.setAttribute("fill", "rgba(0,0,0,0)"), n.sc && (this.layerElement.setAttribute("stroke", this.buildColor(n.sc)), this.layerElement.setAttribute("stroke-width", n.sw)), this.layerElement.setAttribute("font-size", n.finalSize);
4151
+ var r = this.globalData.fontManager.getFontByName(n.f);
4152
+ if (r.fClass) this.layerElement.setAttribute("class", r.fClass);
4153
+ else {
4154
+ this.layerElement.setAttribute("font-family", r.fFamily);
4155
+ var i = n.fWeight, a = n.fStyle;
4156
+ this.layerElement.setAttribute("font-style", a), this.layerElement.setAttribute("font-weight", i);
4157
+ }
4158
+ this.layerElement.setAttribute("aria-label", n.t);
4159
+ var o = n.l || [], s = !!this.globalData.fontManager.chars;
4160
+ t = o.length;
4161
+ var c, l = this.mHelper, u = "", d = this.data.singleShape, f = 0, p = 0, m = !0, g = n.tr * .001 * n.finalSize;
4162
+ if (d && !s && !n.sz) {
4163
+ var _ = this.textContainer, v = "start";
4164
+ switch (n.j) {
4165
+ case 1:
4166
+ v = "end";
4167
+ break;
4168
+ case 2:
4169
+ v = "middle";
4170
+ break;
4171
+ default:
4172
+ v = "start";
4173
+ break;
4174
+ }
4175
+ _.setAttribute("text-anchor", v), _.setAttribute("letter-spacing", g);
4176
+ var y = this.buildTextContents(n.finalText);
4177
+ for (t = y.length, p = n.ps ? n.ps[1] + n.ascent : 0, e = 0; e < t; e += 1) c = this.textSpans[e].span || L("tspan"), c.textContent = y[e], c.setAttribute("x", 0), c.setAttribute("y", p), c.style.display = "inherit", _.appendChild(c), this.textSpans[e] || (this.textSpans[e] = {
4178
+ span: null,
4179
+ glyph: null
4180
+ }), this.textSpans[e].span = c, p += n.finalLineHeight;
4181
+ this.layerElement.appendChild(_);
4182
+ } else {
4183
+ var b = this.textSpans.length, x;
4184
+ for (e = 0; e < t; e += 1) {
4185
+ if (this.textSpans[e] || (this.textSpans[e] = {
4186
+ span: null,
4187
+ childSpan: null,
4188
+ glyph: null
4189
+ }), !s || !d || e === 0) {
4190
+ if (c = b > e ? this.textSpans[e].span : L(s ? "g" : "text"), b <= e) {
4191
+ if (c.setAttribute("stroke-linecap", "butt"), c.setAttribute("stroke-linejoin", "round"), c.setAttribute("stroke-miterlimit", "4"), this.textSpans[e].span = c, s) {
4192
+ var S = L("g");
4193
+ c.appendChild(S), this.textSpans[e].childSpan = S;
4194
+ }
4195
+ this.textSpans[e].span = c, this.layerElement.appendChild(c);
4196
+ }
4197
+ c.style.display = "inherit";
4198
+ }
4199
+ if (l.reset(), d && (o[e].n && (f = -g, p += n.yOffset, p += m ? 1 : 0, m = !1), this.applyTextPropertiesToMatrix(n, l, o[e].line, f, p), f += o[e].l || 0, f += g), s) {
4200
+ x = this.globalData.fontManager.getCharData(n.finalText[e], r.fStyle, this.globalData.fontManager.getFontByName(n.f).fFamily);
4201
+ var C;
4202
+ if (x.t === 1) C = new nr(x.data, this.globalData, this);
4203
+ else {
4204
+ var w = Zn;
4205
+ x.data && x.data.shapes && (w = this.buildShapeData(x.data, n.finalSize)), C = new Z(w, this.globalData, this);
4206
+ }
4207
+ if (this.textSpans[e].glyph) {
4208
+ var T = this.textSpans[e].glyph;
4209
+ this.textSpans[e].childSpan.removeChild(T.layerElement), T.destroy();
4210
+ }
4211
+ this.textSpans[e].glyph = C, C._debug = !0, C.prepareFrame(0), C.renderFrame(), this.textSpans[e].childSpan.appendChild(C.layerElement), x.t === 1 && this.textSpans[e].childSpan.setAttribute("transform", "scale(" + n.finalSize / 100 + "," + n.finalSize / 100 + ")");
4212
+ } else d && c.setAttribute("transform", "translate(" + l.props[12] + "," + l.props[13] + ")"), c.textContent = o[e].val, c.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
4213
+ }
4214
+ d && c && c.setAttribute("d", u);
4215
+ }
4216
+ for (; e < this.textSpans.length;) this.textSpans[e].span.style.display = "none", e += 1;
4217
+ this._sizeChanged = !0;
4218
+ }, Qn.prototype.sourceRectAtTime = function() {
4219
+ if (this.prepareFrame(this.comp.renderedFrame - this.data.st), this.renderInnerContent(), this._sizeChanged) {
4220
+ this._sizeChanged = !1;
4221
+ var e = this.layerElement.getBBox();
4222
+ this.bbox = {
4223
+ top: e.y,
4224
+ left: e.x,
4225
+ width: e.width,
4226
+ height: e.height
4227
+ };
4228
+ }
4229
+ return this.bbox;
4230
+ }, Qn.prototype.getValue = function() {
4231
+ var e, t = this.textSpans.length, n;
4232
+ for (this.renderedFrame = this.comp.renderedFrame, e = 0; e < t; e += 1) n = this.textSpans[e].glyph, n && (n.prepareFrame(this.comp.renderedFrame - this.data.st), n._mdf && (this._mdf = !0));
4233
+ }, Qn.prototype.renderInnerContent = function() {
4234
+ if (this.validateText(), (!this.data.singleShape || this._mdf) && (this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag), this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)) {
4235
+ this._sizeChanged = !0;
4236
+ var e, t, n = this.textAnimator.renderedLetters, r = this.textProperty.currentData.l;
4237
+ t = r.length;
4238
+ var i, a, o;
4239
+ for (e = 0; e < t; e += 1) r[e].n || (i = n[e], a = this.textSpans[e].span, o = this.textSpans[e].glyph, o && o.renderFrame(), i._mdf.m && a.setAttribute("transform", i.m), i._mdf.o && a.setAttribute("opacity", i.o), i._mdf.sw && a.setAttribute("stroke-width", i.sw), i._mdf.sc && a.setAttribute("stroke", i.sc), i._mdf.fc && a.setAttribute("fill", i.fc));
4240
+ }
4241
+ };
4242
+ function $n(e, t, n) {
4243
+ this.initElement(e, t, n);
4244
+ }
4245
+ d([On], $n), $n.prototype.createContent = function() {
4246
+ var e = L("rect");
4247
+ e.setAttribute("width", this.data.sw), e.setAttribute("height", this.data.sh), e.setAttribute("fill", this.data.sc), this.layerElement.appendChild(e);
4248
+ };
4249
+ function er(e, t, n) {
4250
+ this.initFrame(), this.initBaseData(e, t, n), this.initFrame(), this.initTransform(e, t, n), this.initHierarchy();
4251
+ }
4252
+ er.prototype.prepareFrame = function(e) {
4253
+ this.prepareProperties(e, !0);
4254
+ }, er.prototype.renderFrame = function() {}, er.prototype.getBaseElement = function() {
4255
+ return null;
4256
+ }, er.prototype.destroy = function() {}, er.prototype.sourceRectAtTime = function() {}, er.prototype.hide = function() {}, d([
4257
+ mn,
4258
+ vn,
4259
+ En,
4260
+ hn
4261
+ ], er);
4262
+ function $() {}
4263
+ d([X], $), $.prototype.createNull = function(e) {
4264
+ return new er(e, this.globalData, this);
4265
+ }, $.prototype.createShape = function(e) {
4266
+ return new Z(e, this.globalData, this);
4267
+ }, $.prototype.createText = function(e) {
4268
+ return new Qn(e, this.globalData, this);
4269
+ }, $.prototype.createImage = function(e) {
4270
+ return new On(e, this.globalData, this);
4271
+ }, $.prototype.createSolid = function(e) {
4272
+ return new $n(e, this.globalData, this);
4273
+ }, $.prototype.configAnimation = function(e) {
4274
+ this.svgElement.setAttribute("xmlns", "http://www.w3.org/2000/svg"), this.svgElement.setAttribute("xmlns:xlink", "http://www.w3.org/1999/xlink"), this.renderConfig.viewBoxSize ? this.svgElement.setAttribute("viewBox", this.renderConfig.viewBoxSize) : this.svgElement.setAttribute("viewBox", "0 0 " + e.w + " " + e.h), this.renderConfig.viewBoxOnly || (this.svgElement.setAttribute("width", e.w), this.svgElement.setAttribute("height", e.h), this.svgElement.style.width = "100%", this.svgElement.style.height = "100%", this.svgElement.style.transform = "translate3d(0,0,0)", this.svgElement.style.contentVisibility = this.renderConfig.contentVisibility), this.renderConfig.width && this.svgElement.setAttribute("width", this.renderConfig.width), this.renderConfig.height && this.svgElement.setAttribute("height", this.renderConfig.height), this.renderConfig.className && this.svgElement.setAttribute("class", this.renderConfig.className), this.renderConfig.id && this.svgElement.setAttribute("id", this.renderConfig.id), this.renderConfig.focusable !== void 0 && this.svgElement.setAttribute("focusable", this.renderConfig.focusable), this.svgElement.setAttribute("preserveAspectRatio", this.renderConfig.preserveAspectRatio), this.animationItem.wrapper.appendChild(this.svgElement);
4275
+ var t = this.globalData.defs;
4276
+ this.setupGlobalData(e, t), this.globalData.progressiveLoad = this.renderConfig.progressiveLoad, this.data = e;
4277
+ var n = L("clipPath"), r = L("rect");
4278
+ r.setAttribute("width", e.w), r.setAttribute("height", e.h), r.setAttribute("x", 0), r.setAttribute("y", 0);
4279
+ var i = I();
4280
+ n.setAttribute("id", i), n.appendChild(r), this.layerElement.setAttribute("clip-path", "url(" + l() + "#" + i + ")"), t.appendChild(n), this.layers = e.layers, this.elements = h(e.layers.length);
4281
+ }, $.prototype.destroy = function() {
4282
+ this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ""), this.layerElement = null, this.globalData.defs = null;
4283
+ var e, t = this.layers ? this.layers.length : 0;
4284
+ for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy && this.elements[e].destroy();
4285
+ this.elements.length = 0, this.destroyed = !0, this.animationItem = null;
4286
+ }, $.prototype.updateContainerSize = function() {}, $.prototype.findIndexByInd = function(e) {
4287
+ var t = 0, n = this.layers.length;
4288
+ for (t = 0; t < n; t += 1) if (this.layers[t].ind === e) return t;
4289
+ return -1;
4290
+ }, $.prototype.buildItem = function(e) {
4291
+ var t = this.elements;
4292
+ if (!(t[e] || this.layers[e].ty === 99)) {
4293
+ t[e] = !0;
4294
+ var n = this.createItem(this.layers[e]);
4295
+ if (t[e] = n, le() && (this.layers[e].ty === 0 && this.globalData.projectInterface.registerComposition(n), n.initExpressions()), this.appendElementInPos(n, e), this.layers[e].tt) {
4296
+ var r = "tp" in this.layers[e] ? this.findIndexByInd(this.layers[e].tp) : e - 1;
4297
+ if (r === -1) return;
4298
+ if (!this.elements[r] || this.elements[r] === !0) this.buildItem(r), this.addPendingElement(n);
4299
+ else {
4300
+ var i = t[r].getMatte(this.layers[e].tt);
4301
+ n.setMatte(i);
4302
+ }
4303
+ }
4304
+ }
4305
+ }, $.prototype.checkPendingElements = function() {
4306
+ for (; this.pendingElements.length;) {
4307
+ var e = this.pendingElements.pop();
4308
+ if (e.checkParenting(), e.data.tt) for (var t = 0, n = this.elements.length; t < n;) {
4309
+ if (this.elements[t] === e) {
4310
+ var r = "tp" in e.data ? this.findIndexByInd(e.data.tp) : t - 1, i = this.elements[r].getMatte(this.layers[t].tt);
4311
+ e.setMatte(i);
4312
+ break;
4313
+ }
4314
+ t += 1;
4315
+ }
4316
+ }
4317
+ }, $.prototype.renderFrame = function(e) {
4318
+ if (!(this.renderedFrame === e || this.destroyed)) {
4319
+ e === null ? e = this.renderedFrame : this.renderedFrame = e, this.globalData.frameNum = e, this.globalData.frameId += 1, this.globalData.projectInterface.currentFrame = e, this.globalData._mdf = !1;
4320
+ var t, n = this.layers.length;
4321
+ for (this.completeLayers || this.checkLayers(e), t = n - 1; t >= 0; --t) (this.completeLayers || this.elements[t]) && this.elements[t].prepareFrame(e - this.layers[t].st);
4322
+ if (this.globalData._mdf) for (t = 0; t < n; t += 1) (this.completeLayers || this.elements[t]) && this.elements[t].renderFrame();
4323
+ }
4324
+ }, $.prototype.appendElementInPos = function(e, t) {
4325
+ var n = e.getBaseElement();
4326
+ if (n) {
4327
+ for (var r = 0, i; r < t;) this.elements[r] && this.elements[r] !== !0 && this.elements[r].getBaseElement() && (i = this.elements[r].getBaseElement()), r += 1;
4328
+ i ? this.layerElement.insertBefore(n, i) : this.layerElement.appendChild(n);
4329
+ }
4330
+ }, $.prototype.hide = function() {
4331
+ this.layerElement.style.display = "none";
4332
+ }, $.prototype.show = function() {
4333
+ this.layerElement.style.display = "block";
4334
+ };
4335
+ function tr() {}
4336
+ d([
4337
+ mn,
4338
+ vn,
4339
+ En,
4340
+ hn,
4341
+ Dn
4342
+ ], tr), tr.prototype.initElement = function(e, t, n) {
4343
+ this.initFrame(), this.initBaseData(e, t, n), this.initTransform(e, t, n), this.initRenderable(), this.initHierarchy(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), (this.data.xt || !t.progressiveLoad) && this.buildAllItems(), this.hide();
4344
+ }, tr.prototype.prepareFrame = function(e) {
4345
+ if (this._mdf = !1, this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange), !(!this.isInRange && !this.data.xt)) {
4346
+ if (this.tm._placeholder) this.renderedFrame = e / this.data.sr;
4347
+ else {
4348
+ var t = this.tm.v;
4349
+ t === this.data.op && (t = this.data.op - 1), this.renderedFrame = t;
4350
+ }
4351
+ var n, r = this.elements.length;
4352
+ for (this.completeLayers || this.checkLayers(this.renderedFrame), n = r - 1; n >= 0; --n) (this.completeLayers || this.elements[n]) && (this.elements[n].prepareFrame(this.renderedFrame - this.layers[n].st), this.elements[n]._mdf && (this._mdf = !0));
4353
+ }
4354
+ }, tr.prototype.renderInnerContent = function() {
4355
+ var e, t = this.layers.length;
4356
+ for (e = 0; e < t; e += 1) (this.completeLayers || this.elements[e]) && this.elements[e].renderFrame();
4357
+ }, tr.prototype.setElements = function(e) {
4358
+ this.elements = e;
4359
+ }, tr.prototype.getElements = function() {
4360
+ return this.elements;
4361
+ }, tr.prototype.destroyElements = function() {
4362
+ var e, t = this.layers.length;
4363
+ for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy();
4364
+ }, tr.prototype.destroy = function() {
4365
+ this.destroyElements(), this.destroyBaseElement();
4366
+ };
4367
+ function nr(e, t, n) {
4368
+ this.layers = e.layers, this.supports3d = !0, this.completeLayers = !1, this.pendingElements = [], this.elements = this.layers ? h(this.layers.length) : [], this.initElement(e, t, n), this.tm = e.tm ? H.getProp(this, e.tm, 0, t.frameRate, this) : { _placeholder: !0 };
4369
+ }
4370
+ d([
4371
+ $,
4372
+ tr,
4373
+ Tn
4374
+ ], nr), nr.prototype.createComp = function(e) {
4375
+ return new nr(e, this.globalData, this);
4376
+ };
4377
+ function rr(e, t) {
4378
+ this.animationItem = e, this.layers = null, this.renderedFrame = -1, this.svgElement = L("svg");
4379
+ var n = "";
4380
+ if (t && t.title) {
4381
+ var r = L("title"), i = I();
4382
+ r.setAttribute("id", i), r.textContent = t.title, this.svgElement.appendChild(r), n += i;
4383
+ }
4384
+ if (t && t.description) {
4385
+ var a = L("desc"), o = I();
4386
+ a.setAttribute("id", o), a.textContent = t.description, this.svgElement.appendChild(a), n += " " + o;
4387
+ }
4388
+ n && this.svgElement.setAttribute("aria-labelledby", n);
4389
+ var s = L("defs");
4390
+ this.svgElement.appendChild(s);
4391
+ var c = L("g");
4392
+ this.svgElement.appendChild(c), this.layerElement = c, this.renderConfig = {
4393
+ preserveAspectRatio: t && t.preserveAspectRatio || "xMidYMid meet",
4394
+ imagePreserveAspectRatio: t && t.imagePreserveAspectRatio || "xMidYMid slice",
4395
+ contentVisibility: t && t.contentVisibility || "visible",
4396
+ progressiveLoad: t && t.progressiveLoad || !1,
4397
+ hideOnTransparent: !(t && t.hideOnTransparent === !1),
4398
+ viewBoxOnly: t && t.viewBoxOnly || !1,
4399
+ viewBoxSize: t && t.viewBoxSize || !1,
4400
+ className: t && t.className || "",
4401
+ id: t && t.id || "",
4402
+ focusable: t && t.focusable,
4403
+ filterSize: {
4404
+ width: t && t.filterSize && t.filterSize.width || "100%",
4405
+ height: t && t.filterSize && t.filterSize.height || "100%",
4406
+ x: t && t.filterSize && t.filterSize.x || "0%",
4407
+ y: t && t.filterSize && t.filterSize.y || "0%"
4408
+ },
4409
+ width: t && t.width,
4410
+ height: t && t.height,
4411
+ runExpressions: !t || t.runExpressions === void 0 || t.runExpressions
4412
+ }, this.globalData = {
4413
+ _mdf: !1,
4414
+ frameNum: -1,
4415
+ defs: s,
4416
+ renderConfig: this.renderConfig
4417
+ }, this.elements = [], this.pendingElements = [], this.destroyed = !1, this.rendererType = "svg";
4418
+ }
4419
+ return d([$], rr), rr.prototype.createComp = function(e) {
4420
+ return new nr(e, this.globalData, this);
4421
+ }, ye("svg", rr), mt.registerModifier("tm", ht), mt.registerModifier("pb", gt), mt.registerModifier("rp", vt), mt.registerModifier("rd", yt), mt.registerModifier("zz", Lt), mt.registerModifier("op", Xt), K;
4422
+ }));
4423
+ })))(), 1);
4424
+ function useLottie(e, t) {
4425
+ let a;
4426
+ function o() {
4427
+ let { isDark: e } = useTheme(), n = computed(() => e.value ? t.darkAnimationData : t.lightAnimationData);
4428
+ onMounted(() => {
4429
+ l(n.value), watch(e, () => {
4430
+ h(), l(n.value);
4431
+ });
4432
+ }), onUnmounted(h);
4433
+ }
4434
+ function l(t) {
4435
+ let n = unref(e);
4436
+ a = import_lottie_light.default.loadAnimation({
4437
+ path: t,
4438
+ container: n,
4439
+ renderer: "svg",
4440
+ loop: !0,
4441
+ autoplay: !1
4442
+ });
4443
+ }
4444
+ function u() {
4445
+ tryOnMounted(() => {
4446
+ a?.play();
4447
+ });
4448
+ }
4449
+ function m() {
4450
+ tryOnMounted(() => {
4451
+ a?.stop();
4452
+ });
4453
+ }
4454
+ function h() {
4455
+ a &&= (a.destroy(), null);
4456
+ }
4457
+ return o(), {
4458
+ play: u,
4459
+ stop: m,
4460
+ destroy: h
4461
+ };
4462
+ }
4463
+ var animation_item_default = /* @__PURE__ */ defineComponent({
4464
+ name: "AnimationItem",
4465
+ __name: "animation_item",
4466
+ props: {
4467
+ lightAnimationData: { default: () => "" },
4468
+ darkAnimationData: { default: () => "" }
4469
+ },
4470
+ setup(e, { expose: t }) {
4471
+ let n = e, r = ref(null), { play: i, stop: o } = useLottie(r, {
4472
+ lightAnimationData: n.lightAnimationData,
4473
+ darkAnimationData: n.darkAnimationData
4474
+ });
4475
+ return t({
4476
+ play: i,
4477
+ stop: o
4478
+ }), (e, t) => (openBlock(), createElementBlock("div", {
4479
+ ref_key: "AnimationRef",
4480
+ ref: r,
4481
+ class: "w-[70%]"
4482
+ }, null, 512));
4483
+ }
4484
+ });
4485
+ export { animation_item_default as t };