@abtnode/webapp 1.16.44-beta-20250603-231026-30a9d27f → 1.16.44-beta-20250606-000924-3db49e6a

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 (215) hide show
  1. package/blocklet.js +1 -1
  2. package/blocklet.yml +1 -1
  3. package/dist/assets/{AdapterDayjs-C1BR9cKq.js → AdapterDayjs-COWD5JtG.js} +6 -6
  4. package/dist/assets/{Add-_FLiPvnr.js → Add-DmsQfZg1.js} +1 -1
  5. package/dist/assets/{ArrowDropDown-MtffWzvM.js → ArrowDropDown-BJF8xwac.js} +1 -1
  6. package/dist/assets/{Autocomplete-CgmVM_mh.js → Autocomplete-vxSKHMGU.js} +1 -1
  7. package/dist/assets/{Breadcrumbs-9te9YWGO.js → Breadcrumbs-CwVp5iih.js} +1 -1
  8. package/dist/assets/{ButtonGroup-CyZftEPU.js → ButtonGroup-BdUxJL6j.js} +1 -1
  9. package/dist/assets/{CSSTransition-BiIQcYkx.js → CSSTransition-Buin4nmE.js} +1 -1
  10. package/dist/assets/{CallMerge-PsrB7Tkl.js → CallMerge-DzNVze2f.js} +1 -1
  11. package/dist/assets/{CardContent-BVxQxAFx.js → CardContent-Ck8bPS3T.js} +1 -1
  12. package/dist/assets/{ChevronLeft-CCxHGEqu.js → ChevronLeft-CHpKcvOt.js} +1 -1
  13. package/dist/assets/{ChevronRight-CfdjNfdi.js → ChevronRight-CDh3IWPn.js} +1 -1
  14. package/dist/assets/{Clear-CzzSn6gi.js → Clear-CUuU2COm.js} +1 -1
  15. package/dist/assets/{Close-B53jEGex.js → Close-CYDPl-BR.js} +1 -1
  16. package/dist/assets/{Community-BBDlY1li.js → Community-B1vZfC0n.js} +1 -1
  17. package/dist/assets/{Delete-B03xny6i.js → Delete-BFvNvkKH.js} +1 -1
  18. package/dist/assets/{DeleteOutline-C_C-bBpS.js → DeleteOutline-XxJJPccl.js} +1 -1
  19. package/dist/assets/{Done-CEnGV2P1.js → Done-DXL_lboj.js} +1 -1
  20. package/dist/assets/{Edit-CjM24S2u.js → Edit-BDLQHBfv.js} +1 -1
  21. package/dist/assets/{ErrorOutline-D6y9_qL6.js → ErrorOutline-BqCgruIq.js} +1 -1
  22. package/dist/assets/{HelpOutline-B4MIH072.js → HelpOutline-DOTVANjl.js} +1 -1
  23. package/dist/assets/{Holiday-BIM_wngw.js → Holiday-C8QlqPiV.js} +1 -1
  24. package/dist/assets/{Launch-B3yvw_J_.js → Launch-75dDpbSE.js} +1 -1
  25. package/dist/assets/{Link-DKridYM9.js → Link-B_XSUMth.js} +1 -1
  26. package/dist/assets/{ListItemButton-vZmBkXWh.js → ListItemButton-BLW6bFI-.js} +1 -1
  27. package/dist/assets/{ListSubheader-BPhNB2Oc.js → ListSubheader-CfyBCO5n.js} +1 -1
  28. package/dist/assets/{LoadingButton-Davlvc6y.js → LoadingButton-COP8WH4-.js} +1 -1
  29. package/dist/assets/{LockIcon-1C9n63UW.js → LockIcon-D3Z4EOrH.js} +1 -1
  30. package/dist/assets/{Meeting-CbtQNFzo.js → Meeting-B3nrrSmd.js} +1 -1
  31. package/dist/assets/{MoreHoriz-D7yyKUPp.js → MoreHoriz-CyojT95D.js} +1 -1
  32. package/dist/assets/{MoreVert-D8KfjeMg.js → MoreVert-CY5UmTZf.js} +1 -1
  33. package/dist/assets/{OffSick-D11BmTrz.js → OffSick-CcxxzaCq.js} +1 -1
  34. package/dist/assets/{OpenInNew-CvtRLCd4.js → OpenInNew-DnrWV3yn.js} +1 -1
  35. package/dist/assets/{Public-BF2LKG2O.js → Public-BxlT4ar1.js} +1 -1
  36. package/dist/assets/{Refresh-CMdl0n4X.js → Refresh-CHCYG34h.js} +1 -1
  37. package/dist/assets/{SchemaReference.es-Bz1aIhgW.js → SchemaReference.es-DW_BaUmb.js} +1 -1
  38. package/dist/assets/{Search-C9hXwvmq.js → Search-CmNEQ5JZ.js} +1 -1
  39. package/dist/assets/{Slider-OBEuEr91.js → Slider-CRr1MgQd.js} +1 -1
  40. package/dist/assets/{Stepper-g85lhZ09.js → Stepper-i90G-x7z.js} +1 -1
  41. package/dist/assets/{Switch-DHcUbR0L.js → Switch-CAA_W5zU.js} +1 -1
  42. package/dist/assets/{TableRow-DQ5x-tZA.js → TableRow-CWePJwiC.js} +1 -1
  43. package/dist/assets/{TableSearch-Di-DZraN.js → TableSearch-CAfpRGt6.js} +2 -2
  44. package/dist/assets/{ToggleButtonGroup-DmZrsSwk.js → ToggleButtonGroup-uPOF6EI1.js} +1 -1
  45. package/dist/assets/{Verified-NpqHLdgb.js → Verified-Bx4tqzTo.js} +1 -1
  46. package/dist/assets/{VerifiedUser-DWougmnk.js → VerifiedUser-CbwUXG1q.js} +1 -1
  47. package/dist/assets/{ViewColumn-BcfEtc-F.js → ViewColumn-PuSNsBrC.js} +1 -1
  48. package/dist/assets/{ViewList-Bw5GBfRx.js → ViewList-BZG0GmGI.js} +1 -1
  49. package/dist/assets/{WorkingRemotely-Ddq9A0PU.js → WorkingRemotely-DPIGSwgw.js} +1 -1
  50. package/dist/assets/{_createAggregator-e8B5UuQb.js → _createAggregator-DjlOcyip.js} +1 -1
  51. package/dist/assets/{actions-D-CrDKrc.js → actions-BkIYt3iW.js} +1 -1
  52. package/dist/assets/{actions-n15iXAnz.js → actions-DmOI9K-e.js} +1 -1
  53. package/dist/assets/{agreement-DxiSkmRO.js → agreement-Bn3g7OX2.js} +1 -1
  54. package/dist/assets/api-CSXglyXM.js +1 -0
  55. package/dist/assets/appearance-CStOb7Fc.js +1 -0
  56. package/dist/assets/{audit-logs-Cm7Peo8d.js → audit-logs-CvCKyTWP.js} +2 -2
  57. package/dist/assets/{base-chart-sAweLHnI.js → base-chart-D1YvxcHM.js} +1 -1
  58. package/dist/assets/{blocklet-0XH8mmGQ.js → blocklet-d4uc0WVl.js} +1 -1
  59. package/dist/assets/{brace-fold.es-BSbx02n-.js → brace-fold.es-DHAkC_hg.js} +1 -1
  60. package/dist/assets/{chain-DXi01pCi.js → chain-D2t6gpcF.js} +1 -1
  61. package/dist/assets/{click-to-copy-CzLJWIzM.js → click-to-copy-ChrBL_sU.js} +1 -1
  62. package/dist/assets/cloneDeep-COa3K2Xz.js +1 -0
  63. package/dist/assets/{closebrackets.es-CgYkPTvg.js → closebrackets.es-hTcRhABj.js} +1 -1
  64. package/dist/assets/{codemirror.es-BZ0a_ivo.js → codemirror.es-DDz_iErr.js} +1 -1
  65. package/dist/assets/{collapse-BiA9C3xc.js → collapse-D5t7hqS5.js} +1 -1
  66. package/dist/assets/{comment.es-7f02Xyrt.js → comment.es-G52g7yxU.js} +1 -1
  67. package/dist/assets/{config-navigation-CVCS_wmz.js → config-navigation-e65eTLKt.js} +10 -10
  68. package/dist/assets/{connect-to-ChNP_InC.js → connect-to-BgFyoHV2.js} +1 -1
  69. package/dist/assets/{delete-confirm-BQv2uNjr.js → delete-confirm-B4su4n_V.js} +1 -1
  70. package/dist/assets/{detail-CmCy8OZl.js → detail-B7iGZT4H.js} +4 -4
  71. package/dist/assets/{dialog.es-WzckXrqD.js → dialog.es-UcyuRN52.js} +1 -1
  72. package/dist/assets/{domains-DJunvhC7.js → domains-mqMNm2Tp.js} +2 -2
  73. package/dist/assets/{download-BBnocOOE.js → download-Dq6eTZFv.js} +1 -1
  74. package/dist/assets/emotion-react.browser.esm-DHmVYDwC.js +1 -0
  75. package/dist/assets/{foldgutter.es-DEngPfJB.js → foldgutter.es-5Zfo0eAd.js} +1 -1
  76. package/dist/assets/{get-safe-url-CeasmSQ-.js → get-safe-url-Bzzqyia_.js} +1 -1
  77. package/dist/assets/{get-safe-url-DOD4GJn9.js → get-safe-url-CD7qzOkB.js} +1 -1
  78. package/dist/assets/getValidReactChildren-CBn6KsUs.js +1 -0
  79. package/dist/assets/{hint.es-DyRx1Cyd.js → hint.es-Cy1WIs0-.js} +1 -1
  80. package/dist/assets/{hint.es2-DzHCUANh.js → hint.es2-CwcvniV-.js} +1 -1
  81. package/dist/assets/{iframe-CaiV-sh3.js → iframe-BS7qzZNq.js} +1 -1
  82. package/dist/assets/{index-BLXylM3L.js → index-0iBmOBqA.js} +8 -8
  83. package/dist/assets/{index-wPkudHOp.js → index-24vP3TFg.js} +1 -1
  84. package/dist/assets/{index-CWrKe4Fn.js → index-7WgVD2cX.js} +1 -1
  85. package/dist/assets/{index-DhhYGftt.js → index-9ET6AQ0z.js} +1 -1
  86. package/dist/assets/index-B2CYtIF6.js +120 -0
  87. package/dist/assets/{index-BP-_EDED.js → index-B2RKnsbt.js} +1 -1
  88. package/dist/assets/{index-BI07C4m-.js → index-B4x111ud.js} +3 -3
  89. package/dist/assets/{index-BoaJIDrq.js → index-BI-wXMup.js} +1 -1
  90. package/dist/assets/{index-BId_FUnH.js → index-BIEjxXV4.js} +1 -1
  91. package/dist/assets/{index-CJYLnawL.js → index-BNFP0EOr.js} +2 -2
  92. package/dist/assets/{index-C3mZr8we.js → index-BRhMcCbm.js} +1 -1
  93. package/dist/assets/{index-CjKWQIp8.js → index-BUiqx3ej.js} +1 -1
  94. package/dist/assets/{index-DqemVNEB.js → index-BiWvMsKp.js} +1 -1
  95. package/dist/assets/{index-B3V-N3Wb.js → index-Bnvy96j6.js} +1 -1
  96. package/dist/assets/{index-F1az7AW1.js → index-BzZrayKh.js} +2 -2
  97. package/dist/assets/{index-DIn71jxf.js → index-C7zRydQ-.js} +4 -4
  98. package/dist/assets/{index-IEQvL11R.js → index-C8jxIi4G.js} +1 -1
  99. package/dist/assets/{index-UwyveOVh.js → index-C9mI5vPj.js} +1 -1
  100. package/dist/assets/{index-Dq5qISUc.js → index-CEiDEGi7.js} +1 -1
  101. package/dist/assets/{index-C2_kibHi.js → index-CJ0WKxjC.js} +1 -1
  102. package/dist/assets/{index-DGAkAa65.js → index-CPAsOeUj.js} +5 -5
  103. package/dist/assets/{index-ND43AQF3.js → index-CUYyceiu.js} +1 -1
  104. package/dist/assets/{index-Btk3r71p.js → index-CZmAlmGA.js} +1 -1
  105. package/dist/assets/index-CeQ4m-US.js +1 -0
  106. package/dist/assets/{index-C8E-LVoC.js → index-Cezw35sH.js} +1 -1
  107. package/dist/assets/{index-Dw_CLa5a.js → index-CvS3IBj0.js} +1 -1
  108. package/dist/assets/{index-CsTPddhu.js → index-CxB_JDvy.js} +3 -3
  109. package/dist/assets/{index-CzmPd2Yv.js → index-D03n0SWF.js} +2 -2
  110. package/dist/assets/{index-CfPPx3Iq.js → index-DD9HjQJ6.js} +1 -1
  111. package/dist/assets/index-DDLJvXRY.js +1 -0
  112. package/dist/assets/index-DGlKtoE6.js +20 -0
  113. package/dist/assets/{index-DuUh_tiX.js → index-DM32dRLJ.js} +1 -1
  114. package/dist/assets/{index-CJw-UBp7.js → index-DNly4LH-.js} +12 -12
  115. package/dist/assets/{index-B_Ia97sj.js → index-DcL-lrDX.js} +1 -1
  116. package/dist/assets/{index-uI9vL45f.js → index-DdaRfqLV.js} +12 -12
  117. package/dist/assets/{index-rqpjf_aL.js → index-DhJXa2uA.js} +1 -1
  118. package/dist/assets/index-Dk7_SdH3.js +161 -0
  119. package/dist/assets/{index-B9U9Suki.js → index-DnKnRPm_.js} +1 -1
  120. package/dist/assets/{index-BfFQSInC.js → index-DwLmgwkp.js} +1 -1
  121. package/dist/assets/{index-CdUA_Nw3.js → index-Dx0m3RKd.js} +1 -1
  122. package/dist/assets/{index-BvqxJBeo.js → index-EQLT-AhN.js} +1 -1
  123. package/dist/assets/{index-CjndCckY.js → index-HgvCb2Lj.js} +1 -1
  124. package/dist/assets/{index-yr2tw49U.js → index-d7wc64Rd.js} +1 -1
  125. package/dist/assets/{index-CO5SYnb0.js → index-dJwxhFtO.js} +1 -1
  126. package/dist/assets/{index-F9yX_03E.js → index-nulHR-ZA.js} +4 -4
  127. package/dist/assets/{index-BrmVQ0Dk.js → index-ojS5PteN.js} +1 -1
  128. package/dist/assets/index-wE9KlGoE.js +1 -0
  129. package/dist/assets/{index.esm-DFALq7M0.js → index.esm-CMjubPed.js} +1 -1
  130. package/dist/assets/{info-addon.es-BqpBr1a_.js → info-addon.es-BgNhM6Wh.js} +1 -1
  131. package/dist/assets/{info.es-XpHeRZxm.js → info.es-DAQPE_JF.js} +1 -1
  132. package/dist/assets/{install-from-url-C-0PYSod.js → install-from-url-DZ4S3QsL.js} +1 -1
  133. package/dist/assets/{invitation-CiC039B0.js → invitation-Ce0YFKCl.js} +6 -6
  134. package/dist/assets/is-path-prefix-equal-DVAFbf2C.js +1 -0
  135. package/dist/assets/item-BeUueDZb.js +277 -0
  136. package/dist/assets/{javascript.es-lbPUI9aU.js → javascript.es-CwRW0hf6.js} +1 -1
  137. package/dist/assets/{jump-to-line.es-M3uS8xdC.js → jump-to-line.es-BtUZlQja.js} +1 -1
  138. package/dist/assets/{jump.es-Cczg0IOe.js → jump.es-DjZeJser.js} +1 -1
  139. package/dist/assets/{lint.es-CV3CrdJN.js → lint.es-BdtYNG91.js} +1 -1
  140. package/dist/assets/{lint.es2-DVxe7fKQ.js → lint.es2-uSh0jHB2.js} +1 -1
  141. package/dist/assets/{lint.es3-B3ba4H3v.js → lint.es3-j6Yj27Ve.js} +1 -1
  142. package/dist/assets/{list-header-DphF1qCI.js → list-header-DfjKeMcS.js} +1 -1
  143. package/dist/assets/{log-CFdakmxI.js → log-DW0ANVNb.js} +1 -1
  144. package/dist/assets/{lottie-react.esm-B-RjdQsR.js → lottie-react.esm-CEC1G-RL.js} +1 -1
  145. package/dist/assets/{matchbrackets.es-BhPVZP1g.js → matchbrackets.es-rG_KCw2s.js} +1 -1
  146. package/dist/assets/{memory-exz0edFH.js → memory-BTbeFhis.js} +1 -1
  147. package/dist/assets/{metric-Cp_OG6Ar.js → metric-Dy6FsPJU.js} +1 -1
  148. package/dist/assets/{mode.es-BdIEUTT-.js → mode.es-8wscYxXP.js} +1 -1
  149. package/dist/assets/{mode.es2-DCGZNnw-.js → mode.es2-BLRE0Hzn.js} +1 -1
  150. package/dist/assets/{mode.es3-DCV5y4SV.js → mode.es3-CEzryh_W.js} +1 -1
  151. package/dist/assets/omit-DkVCPVbd.js +1 -0
  152. package/dist/assets/{onlineParser.es-C7-DSgy-.js → onlineParser.es-93Ks3PCe.js} +1 -1
  153. package/dist/assets/{overview-BcgyjCEc.js → overview-BcgcV1PJ.js} +1 -1
  154. package/dist/assets/{permission-imoW7Dag.js → permission-Bk3c5R-B.js} +1 -1
  155. package/dist/assets/{preference--W7SqmXq.js → preference-BrTc68Bl.js} +5 -5
  156. package/dist/assets/{raf-schd.esm-FMWvAY6y.js → raf-schd.esm-BIqHN8M2.js} +1 -1
  157. package/dist/assets/refType-CkFpKu0E.js +1 -0
  158. package/dist/assets/{resource-dialog-OB8ZWKbP.js → resource-dialog-86DZdrSQ.js} +22 -22
  159. package/dist/assets/{runtime-DLa3pUwk.js → runtime-C25o0bRQ.js} +1 -1
  160. package/dist/assets/{schema-CB6vZuPk.js → schema-B3UXKlNA.js} +1 -1
  161. package/dist/assets/sdk-NJ5k0faj.js +1 -0
  162. package/dist/assets/{search.es-CxoPeMIs.js → search.es-BmzfuDmr.js} +1 -1
  163. package/dist/assets/{searchcursor.es-BLi5Jaz_.js → searchcursor.es-CEv_VY8-.js} +1 -1
  164. package/dist/assets/{service-CM59EUE1.js → service-C0Vf0tgC.js} +1 -1
  165. package/dist/assets/{shorten-label-ROv_Kolv.js → shorten-label-97v5f_YO.js} +1 -1
  166. package/dist/assets/{show-hint.es-VA8ntogJ.js → show-hint.es-BtxSRXo1.js} +1 -1
  167. package/dist/assets/{simple-select-DZQHpfOs.js → simple-select-tEDbNxH9.js} +1 -1
  168. package/dist/assets/{spaces-pq4q-xcK.js → spaces-BxCxqkwa.js} +1 -1
  169. package/dist/assets/{status-BNtF-O7o.js → status-5WoJ8oHI.js} +1 -1
  170. package/dist/assets/{status-DQe5HrFt.js → status-Bf0_zjRO.js} +1 -1
  171. package/dist/assets/{sublime.es-B0oX3S1G.js → sublime.es-CG9Dsoao.js} +1 -1
  172. package/dist/assets/{switch-control-BkuPmwf0.js → switch-control--vCYy0zI.js} +1 -1
  173. package/dist/assets/{table-icons-mGCUcig8.js → table-icons-DMNKguF9.js} +1 -1
  174. package/dist/assets/{team-B7OFmIul.js → team-BHseiVH-.js} +1 -1
  175. package/dist/assets/{toLower-B6OvbucL.js → toLower-Oz-YHJel.js} +1 -1
  176. package/dist/assets/toUpper-HfeZ5aFq.js +1 -0
  177. package/dist/assets/{traffic-B4Jt45EJ.js → traffic-DaZjmS2R.js} +1 -1
  178. package/dist/assets/url-evaluation-CMq6nekH.js +1 -0
  179. package/dist/assets/{url-join-ChoyKXT9.js → url-join-dryc4Z0o.js} +1 -1
  180. package/dist/assets/{use-mobile-BGEwy1l2.js → use-mobile-CLF4xz_r.js} +1 -1
  181. package/dist/assets/{use-mobile-DTCaLf5g.js → use-mobile-CXuUpusU.js} +1 -1
  182. package/dist/assets/{useAsync-DUqq2w5l.js → useAsync-D1EHGwrn.js} +1 -1
  183. package/dist/assets/{useAsyncRetry-B5nI7RKf.js → useAsyncRetry-PWMLztvS.js} +1 -1
  184. package/dist/assets/{useLocalStorage-BJuW1NlC.js → useLocalStorage-Qz-M059E.js} +1 -1
  185. package/dist/assets/{useThemeProps-BK5mEVp3.js → useThemeProps-ByrDiWpN.js} +1 -1
  186. package/dist/assets/{util-D0meRqEm.js → util-BercmLrO.js} +1 -1
  187. package/dist/assets/{wait-container-BatWKxuP.js → wait-container-CkiVV7wb.js} +1 -1
  188. package/dist/assets/withStyles-DHVvCz_s.js +1 -0
  189. package/dist/assets/{wrap-locale-BhcfayAL.js → wrap-locale-Bq5Aw9d0.js} +1 -1
  190. package/dist/index.html +1 -1
  191. package/dist/service-worker.js +1 -1
  192. package/package.json +1 -1
  193. package/dist/assets/Delete-Ckjh8fiz.js +0 -1
  194. package/dist/assets/api-BdCtM-JU.js +0 -1
  195. package/dist/assets/appearance-CmkcRR-A.js +0 -1
  196. package/dist/assets/cloneDeep-DrIYfJtK.js +0 -1
  197. package/dist/assets/emotion-react.browser.esm-Bw_a1zYt.js +0 -1
  198. package/dist/assets/getValidReactChildren-Dpq0Aubw.js +0 -1
  199. package/dist/assets/index-B6Sh3GL-.js +0 -109
  200. package/dist/assets/index-BS6EkSO3.js +0 -1
  201. package/dist/assets/index-BfJyRoJf.js +0 -1
  202. package/dist/assets/index-C2yIkz2Y.js +0 -1
  203. package/dist/assets/index-C3V0tJaS.js +0 -1
  204. package/dist/assets/index-CXWISdb1.js +0 -20
  205. package/dist/assets/index-CoLl5HNr.js +0 -161
  206. package/dist/assets/index-DQ3oLIL5.js +0 -7
  207. package/dist/assets/is-path-prefix-equal-CSbxgWMC.js +0 -1
  208. package/dist/assets/item-C8WBT7Kr.js +0 -277
  209. package/dist/assets/omit-D6CPuAva.js +0 -1
  210. package/dist/assets/refType-CPeRd-dg.js +0 -1
  211. package/dist/assets/sdk-Dhp8eIdk.js +0 -1
  212. package/dist/assets/table-tips-s8yom9jj.js +0 -1
  213. package/dist/assets/toUpper-1vQFjHq5.js +0 -1
  214. package/dist/assets/url-evaluation-UX_hT3EN.js +0 -1
  215. package/dist/assets/withStyles-Bg0r5eKS.js +0 -1
@@ -1,4 +1,4 @@
1
- import{bV as createSvgIcon,j as jsxRuntimeExports,r as reactExports,P as PropTypes,bl as getDefaultExportFromCjs,n as newStyled,E as useMediaQuery,fE as Skeleton,cR as Img,$ as default_1$1,aB as Tooltip,en as Button,k as Typography,C as CircularProgress,b8 as styled,al as useTheme,fd as isObject,dz as deepmerge,dR as StyledEngineProvider,dS as ThemeProvider,fF as ThemeProvider$1,fG as HeaderAddons,fH as Hidden,Y as Center,aP as requireCreateSvgIcon,aQ as interopRequireDefaultExports,fI as Check,d7 as commonjsGlobal,cE as Buffer,bh as React,fh as noop,bA as __vitePreload,dp as styled$1}from"./index-CsTPddhu.js";import{j as joinUrl}from"./url-join-ChoyKXT9.js";import{C as CloseIcon}from"./Close-B53jEGex.js";const PriorityHigh=createSvgIcon([jsxRuntimeExports.jsx("circle",{cx:"12",cy:"19",r:"2"},"0"),jsxRuntimeExports.jsx("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh"),StepContext=reactExports.createContext(),{Provider}=StepContext,matchPath=(i,s,a=window.location.pathname.replace(/\/$/,"/"))=>i?s?i===a:new RegExp(i).test(a):!1;function StepProvider({children:i,steps:s,mode:a}){const[o,u]=reactExports.useState("");!o&&s.length&&u(s[0].key);const P=s.map(T=>T.children?[{key:T.key,hasChild:!0},T.children.map(O=>({parentKey:T.key,key:O.key}))]:{key:T.key}).flat(1/0),S=P.filter(T=>!T.hasChild),C=T=>{let O;const D=P.findIndex(H=>H.key===o?(O=H.parentKey,!0):!1);if(O===T)return"current";const L=P.findIndex(H=>H.key===T);if(L!==-1){if(L===D)return"current";if(L<D)return"before"}return"after"};function E(T){u(T)}function _(T){if(typeof T=="function"){const O=T(S.findIndex(D=>D.key===o));u(S[O].key)}else u(S[T].key)}const I=S.findIndex(T=>T.key===o);reactExports.useEffect(()=>{if(a==="history"){let T="";s.some(O=>O.children&&O.children.length?O.children.some(D=>matchPath(D.path,D.exact)?(T=D.key,!0):!1):matchPath(O.path,O.exact)?(T=O.key,!0):!1),T&&u(T)}return()=>{}},[s,a]);const j={steps:s,totalStepsCount:S.length,getStepStatus:C,setActiveStepByKey:E,setActiveStepByIndex:_,activeStep:I,canBackToStep:T=>a==="memory"&&I!==0&&T<I};return jsxRuntimeExports.jsx(Provider,{value:j,children:i})}function useStepContext(){return reactExports.useContext(StepContext)}StepProvider.propTypes={children:PropTypes.any.isRequired,steps:PropTypes.array.isRequired,mode:PropTypes.string};StepProvider.defaultProps={mode:"history"};var has=Object.prototype.hasOwnProperty,toString=Object.prototype.toString;function isEmpty(i){if(i==null)return!0;if(typeof i=="boolean")return!1;if(typeof i=="number")return i===0;if(typeof i=="string"||typeof i=="function"||Array.isArray(i))return i.length===0;if(i instanceof Error)return i.message==="";if(i.toString==toString)switch(i.toString()){case"[object File]":case"[object Map]":case"[object Set]":return i.size===0;case"[object Object]":{for(var s in i)if(has.call(i,s))return!1;return!0}}return!1}var lib=isEmpty;const isEmpty$1=getDefaultExportFromCjs(lib),defaultBlockletLogo=""+new URL("blocklet-default-logo-Bspnu_ws.png",import.meta.url).href,translations={en:{optional:"Optional",defaultNavSubTitle:"Launching"},zh:{optional:"可选",defaultNavSubTitle:"启动"}},getTranslations=i=>translations[i]?translations[i]:translations.en,getLaunchingText=i=>i==="zh"?"启动":"Launching",getBlockletDisplayName=i=>(i==null?void 0:i.title)||(i==null?void 0:i.name)||"";function AppHeader({blockletMeta:i,subTitle:s,logoUrl:a,locale:o,navLogo:u,loading:P}){const S=useMediaQuery(j=>j.breakpoints.down("md")),C=S?18:48,E=reactExports.useRef(null),[_,I]=reactExports.useState("");return reactExports.useEffect(()=>{E.current&&E.current.offsetHeight>34&&(_===""?I("middle"):_==="middle"&&I("small"))},[_]),jsxRuntimeExports.jsxs(Container$2,{className:_==="small"?"center-mode":"",children:[S?jsxRuntimeExports.jsx("div",{className:"app-icon",children:u}):jsxRuntimeExports.jsxs("div",{className:"app-icon",children:[P&&jsxRuntimeExports.jsx(AppIconSkeleton,{blockletSize:C,isMobile:S}),!P&&jsxRuntimeExports.jsx(AppIcon,{blockletSize:C,logoUrl:a})]}),jsxRuntimeExports.jsxs("div",{className:"header-title",children:[S&&s&&jsxRuntimeExports.jsx("div",{className:"header-title-sub",children:s}),jsxRuntimeExports.jsxs("div",{className:"app-name-content",children:[!S&&jsxRuntimeExports.jsx("div",{className:"launching-context",children:s||getLaunchingText(o)}),jsxRuntimeExports.jsx("div",{className:`header-title-name ${_==="middle"||_==="small"?"middle-size":""}`,ref:E,children:jsxRuntimeExports.jsx(AppTitle,{logoUrl:a,isMobile:S,blockletMeta:i,blockletSize:C,loading:P})})]})]})]})}AppHeader.propTypes={blockletMeta:PropTypes.object,subTitle:PropTypes.any,logoUrl:PropTypes.string,locale:PropTypes.string,navLogo:PropTypes.any,loading:PropTypes.bool};AppHeader.defaultProps={subTitle:"",logoUrl:"",locale:"",navLogo:"",loading:!1,blockletMeta:{}};function AppIconSkeleton({blockletSize:i,isMobile:s}){return s?jsxRuntimeExports.jsx(Skeleton,{variant:"rectangular",width:100,height:16,alt:"icon",style:{marginTop:4}}):jsxRuntimeExports.jsx(Skeleton,{variant:"rectangular",width:i,height:i})}function AppIcon({logoUrl:i,blockletSize:s}){return jsxRuntimeExports.jsx(Img,{width:s,height:s,src:i,alt:"blocklet icon",fallback:defaultBlockletLogo,style:{verticalAlign:"text-bottom"}},`layout-app-icon-${i}`)}function AppTitle({isMobile:i,logoUrl:s,blockletMeta:a,blockletSize:o,loading:u}){const P=getBlockletDisplayName(a);return u?jsxRuntimeExports.jsx(Skeleton,{variant:"rectangular",width:100,height:16,alt:"icon",style:{marginTop:4}}):isEmpty$1(a)?jsxRuntimeExports.jsx(Skeleton,{variant:"rectangular",animation:!1,width:100,height:16,alt:"icon",style:{marginTop:4}}):i?jsxRuntimeExports.jsxs(MobileTitleStyle,{children:[jsxRuntimeExports.jsx(AppIcon,{blockletSize:o,logoUrl:s}),jsxRuntimeExports.jsx("span",{className:"ellipsis-title",children:getBlockletDisplayName(a)})]}):jsxRuntimeExports.jsx(AppLink,{className:"app-link",target:"_blank",href:joinUrl((a==null?void 0:a.registryUrl)||"",`/blocklets/${a==null?void 0:a.did}`),title:P,children:P})}const MobileTitleStyle=newStyled.div`
1
+ import{bW as createSvgIcon,j as jsxRuntimeExports,r as reactExports,P as PropTypes,bl as getDefaultExportFromCjs,n as newStyled,E as useMediaQuery,fE as Skeleton,cS as Img,$ as default_1$1,aB as Tooltip,eo as Button,k as Typography,C as CircularProgress,b8 as styled,al as useTheme,fe as isObject,dA as deepmerge,dS as StyledEngineProvider,dT as ThemeProvider,fF as ThemeProvider$1,fG as HeaderAddons,fH as Hidden,Y as Center,aP as requireCreateSvgIcon,aQ as interopRequireDefaultExports,fI as Check,d8 as commonjsGlobal,cF as Buffer,bh as React,fi as noop,bB as __vitePreload,dq as styled$1}from"./index-CxB_JDvy.js";import{j as joinUrl}from"./url-join-dryc4Z0o.js";import{C as CloseIcon}from"./Close-CYDPl-BR.js";const PriorityHigh=createSvgIcon([jsxRuntimeExports.jsx("circle",{cx:"12",cy:"19",r:"2"},"0"),jsxRuntimeExports.jsx("path",{d:"M10 3h4v12h-4z"},"1")],"PriorityHigh"),StepContext=reactExports.createContext(),{Provider}=StepContext,matchPath=(i,s,a=window.location.pathname.replace(/\/$/,"/"))=>i?s?i===a:new RegExp(i).test(a):!1;function StepProvider({children:i,steps:s,mode:a}){const[o,u]=reactExports.useState("");!o&&s.length&&u(s[0].key);const S=s.map(T=>T.children?[{key:T.key,hasChild:!0},T.children.map(O=>({parentKey:T.key,key:O.key}))]:{key:T.key}).flat(1/0),P=S.filter(T=>!T.hasChild),C=T=>{let O;const D=S.findIndex(H=>H.key===o?(O=H.parentKey,!0):!1);if(O===T)return"current";const L=S.findIndex(H=>H.key===T);if(L!==-1){if(L===D)return"current";if(L<D)return"before"}return"after"};function E(T){u(T)}function _(T){if(typeof T=="function"){const O=T(P.findIndex(D=>D.key===o));u(P[O].key)}else u(P[T].key)}const I=P.findIndex(T=>T.key===o);reactExports.useEffect(()=>{if(a==="history"){let T="";s.some(O=>O.children&&O.children.length?O.children.some(D=>matchPath(D.path,D.exact)?(T=D.key,!0):!1):matchPath(O.path,O.exact)?(T=O.key,!0):!1),T&&u(T)}return()=>{}},[s,a]);const j={steps:s,totalStepsCount:P.length,getStepStatus:C,setActiveStepByKey:E,setActiveStepByIndex:_,activeStep:I,canBackToStep:T=>a==="memory"&&I!==0&&T<I};return jsxRuntimeExports.jsx(Provider,{value:j,children:i})}function useStepContext(){return reactExports.useContext(StepContext)}StepProvider.propTypes={children:PropTypes.any.isRequired,steps:PropTypes.array.isRequired,mode:PropTypes.string};StepProvider.defaultProps={mode:"history"};var has=Object.prototype.hasOwnProperty,toString=Object.prototype.toString;function isEmpty(i){if(i==null)return!0;if(typeof i=="boolean")return!1;if(typeof i=="number")return i===0;if(typeof i=="string"||typeof i=="function"||Array.isArray(i))return i.length===0;if(i instanceof Error)return i.message==="";if(i.toString==toString)switch(i.toString()){case"[object File]":case"[object Map]":case"[object Set]":return i.size===0;case"[object Object]":{for(var s in i)if(has.call(i,s))return!1;return!0}}return!1}var lib=isEmpty;const isEmpty$1=getDefaultExportFromCjs(lib),defaultBlockletLogo=""+new URL("blocklet-default-logo-Bspnu_ws.png",import.meta.url).href,translations={en:{optional:"Optional",defaultNavSubTitle:"Launching"},zh:{optional:"可选",defaultNavSubTitle:"启动"}},getTranslations=i=>translations[i]?translations[i]:translations.en,getLaunchingText=i=>i==="zh"?"启动":"Launching",getBlockletDisplayName=i=>(i==null?void 0:i.title)||(i==null?void 0:i.name)||"";function AppHeader({blockletMeta:i,subTitle:s,logoUrl:a,locale:o,navLogo:u,loading:S}){const P=useMediaQuery(j=>j.breakpoints.down("md")),C=P?18:48,E=reactExports.useRef(null),[_,I]=reactExports.useState("");return reactExports.useEffect(()=>{E.current&&E.current.offsetHeight>34&&(_===""?I("middle"):_==="middle"&&I("small"))},[_]),jsxRuntimeExports.jsxs(Container$2,{className:_==="small"?"center-mode":"",children:[P?jsxRuntimeExports.jsx("div",{className:"app-icon",children:u}):jsxRuntimeExports.jsxs("div",{className:"app-icon",children:[S&&jsxRuntimeExports.jsx(AppIconSkeleton,{blockletSize:C,isMobile:P}),!S&&jsxRuntimeExports.jsx(AppIcon,{blockletSize:C,logoUrl:a})]}),jsxRuntimeExports.jsxs("div",{className:"header-title",children:[P&&s&&jsxRuntimeExports.jsx("div",{className:"header-title-sub",children:s}),jsxRuntimeExports.jsxs("div",{className:"app-name-content",children:[!P&&jsxRuntimeExports.jsx("div",{className:"launching-context",children:s||getLaunchingText(o)}),jsxRuntimeExports.jsx("div",{className:`header-title-name ${_==="middle"||_==="small"?"middle-size":""}`,ref:E,children:jsxRuntimeExports.jsx(AppTitle,{logoUrl:a,isMobile:P,blockletMeta:i,blockletSize:C,loading:S})})]})]})]})}AppHeader.propTypes={blockletMeta:PropTypes.object,subTitle:PropTypes.any,logoUrl:PropTypes.string,locale:PropTypes.string,navLogo:PropTypes.any,loading:PropTypes.bool};AppHeader.defaultProps={subTitle:"",logoUrl:"",locale:"",navLogo:"",loading:!1,blockletMeta:{}};function AppIconSkeleton({blockletSize:i,isMobile:s}){return s?jsxRuntimeExports.jsx(Skeleton,{variant:"rectangular",width:100,height:16,alt:"icon",style:{marginTop:4}}):jsxRuntimeExports.jsx(Skeleton,{variant:"rectangular",width:i,height:i})}function AppIcon({logoUrl:i,blockletSize:s}){return jsxRuntimeExports.jsx(Img,{width:s,height:s,src:i,alt:"blocklet icon",fallback:defaultBlockletLogo,style:{verticalAlign:"text-bottom"}},`layout-app-icon-${i}`)}function AppTitle({isMobile:i,logoUrl:s,blockletMeta:a,blockletSize:o,loading:u}){const S=getBlockletDisplayName(a);return u?jsxRuntimeExports.jsx(Skeleton,{variant:"rectangular",width:100,height:16,alt:"icon",style:{marginTop:4}}):isEmpty$1(a)?jsxRuntimeExports.jsx(Skeleton,{variant:"rectangular",animation:!1,width:100,height:16,alt:"icon",style:{marginTop:4}}):i?jsxRuntimeExports.jsxs(MobileTitleStyle,{children:[jsxRuntimeExports.jsx(AppIcon,{blockletSize:o,logoUrl:s}),jsxRuntimeExports.jsx("span",{className:"ellipsis-title",children:getBlockletDisplayName(a)})]}):jsxRuntimeExports.jsx(AppLink,{className:"app-link",target:"_blank",href:joinUrl((a==null?void 0:a.registryUrl)||"",`/blocklets/${a==null?void 0:a.did}`),title:S,children:S})}const MobileTitleStyle=newStyled.div`
2
2
  .ellipsis-title {
3
3
  flex: 1;
4
4
  position: absolute;
@@ -156,7 +156,7 @@ import{bV as createSvgIcon,j as jsxRuntimeExports,r as reactExports,P as PropTyp
156
156
  }
157
157
  }
158
158
  }
159
- `;function Nav({blockletMeta:i,logoUrl:s,locale:a,useOfSkeleton:o,subTitle:u,loading:P,extraNav:S}){var L,H;const{steps:C,activeStep:E,setActiveStepByKey:_,setActiveStepByIndex:I,getStepStatus:j,canBackToStep:T}=useStepContext(),O=o?P:!1,D=(F,R)=>{const M=["step-block"],V=j(F.key);switch(V){case"current":M.push("step-active");break;case"before":M.push("step-checked");break}switch(F.showChild){case"activated":V==="after"&&M.push("hide-step-child");break;case"activating":(V==="after"||V==="before")&&M.push("hide-step-child");break;case"always":M.push("always-step-child");break}return F.optional===!0&&E<R&&M.push("step-optional"),M.join(" ")};return jsxRuntimeExports.jsxs(Div,{children:[jsxRuntimeExports.jsx(AppHeader,{blockletMeta:i,loading:P,logoUrl:s,locale:a,subTitle:u}),jsxRuntimeExports.jsx(StepContainer,{className:`${O?"hide-child-step-desc":""}`,children:C.map((F,R)=>{const M=!O&&T(R);return jsxRuntimeExports.jsxs("div",{className:D(F,R),children:[jsxRuntimeExports.jsx("div",{className:"step-icon",children:jsxRuntimeExports.jsx(default_1$1,{style:{fontSize:16}})}),jsxRuntimeExports.jsx("div",{className:"step-line"}),jsxRuntimeExports.jsxs("div",{className:"step-content",title:F.name,children:[jsxRuntimeExports.jsx("span",{className:`step-content-name ${M?" step-clickable":""}`,onClick:()=>{if(M){if(F.key){_(F.key);return}I(R)}},children:O?jsxRuntimeExports.jsx(Skeleton,{variant:"text",width:100}):F.name}),F.description&&jsxRuntimeExports.jsx("div",{className:"step-desc",children:F.description}),F.children&&F.children.length&&jsxRuntimeExports.jsx("div",{className:"step-children",children:F.children.map(V=>{let N="";switch(j(V.key)){case"before":N="step-child-block-checked";break;case"current":N="step-child-block-active";break}return jsxRuntimeExports.jsx("div",{className:`step-child-block ${N}`,children:V.name},V.key)})})]})]},F.key)})}),S&&jsxRuntimeExports.jsxs("div",{className:"extra-nav",children:[S.tooltipText?jsxRuntimeExports.jsx(Tooltip,{title:S.tooltipText,children:jsxRuntimeExports.jsx(Button,{variant:((L=S.buttonProps)==null?void 0:L.variant)||"text",onClick:()=>{S.link&&window.open(S.link,"_blank")},startIcon:S.icon,className:"extra-nav-button",size:"small",...S.buttonProps,children:S.text})}):jsxRuntimeExports.jsx(Button,{variant:((H=S.buttonProps)==null?void 0:H.variant)||"text",onClick:()=>{S.link&&window.open(S.link,"_blank")},startIcon:S.icon,size:"small",className:"extra-nav-button",...S.buttonProps,children:S.text}),S.description&&jsxRuntimeExports.jsx(Typography,{variant:"caption",sx:{color:"text.secondary",mt:.5},component:"p",className:"extra-nav-description",children:S.description})]})]})}const Div=newStyled.div`
159
+ `;function Nav({blockletMeta:i,logoUrl:s,locale:a,useOfSkeleton:o,subTitle:u,loading:S,extraNav:P}){var L,H;const{steps:C,activeStep:E,setActiveStepByKey:_,setActiveStepByIndex:I,getStepStatus:j,canBackToStep:T}=useStepContext(),O=o?S:!1,D=(F,R)=>{const M=["step-block"],V=j(F.key);switch(V){case"current":M.push("step-active");break;case"before":M.push("step-checked");break}switch(F.showChild){case"activated":V==="after"&&M.push("hide-step-child");break;case"activating":(V==="after"||V==="before")&&M.push("hide-step-child");break;case"always":M.push("always-step-child");break}return F.optional===!0&&E<R&&M.push("step-optional"),M.join(" ")};return jsxRuntimeExports.jsxs(Div,{children:[jsxRuntimeExports.jsx(AppHeader,{blockletMeta:i,loading:S,logoUrl:s,locale:a,subTitle:u}),jsxRuntimeExports.jsx(StepContainer,{className:`${O?"hide-child-step-desc":""}`,children:C.map((F,R)=>{const M=!O&&T(R);return jsxRuntimeExports.jsxs("div",{className:D(F,R),children:[jsxRuntimeExports.jsx("div",{className:"step-icon",children:jsxRuntimeExports.jsx(default_1$1,{style:{fontSize:16}})}),jsxRuntimeExports.jsx("div",{className:"step-line"}),jsxRuntimeExports.jsxs("div",{className:"step-content",title:F.name,children:[jsxRuntimeExports.jsx("span",{className:`step-content-name ${M?" step-clickable":""}`,onClick:()=>{if(M){if(F.key){_(F.key);return}I(R)}},children:O?jsxRuntimeExports.jsx(Skeleton,{variant:"text",width:100}):F.name}),F.description&&jsxRuntimeExports.jsx("div",{className:"step-desc",children:F.description}),F.children&&F.children.length&&jsxRuntimeExports.jsx("div",{className:"step-children",children:F.children.map(V=>{let N="";switch(j(V.key)){case"before":N="step-child-block-checked";break;case"current":N="step-child-block-active";break}return jsxRuntimeExports.jsx("div",{className:`step-child-block ${N}`,children:V.name},V.key)})})]})]},F.key)})}),P&&jsxRuntimeExports.jsxs("div",{className:"extra-nav",children:[P.tooltipText?jsxRuntimeExports.jsx(Tooltip,{title:P.tooltipText,children:jsxRuntimeExports.jsx(Button,{variant:((L=P.buttonProps)==null?void 0:L.variant)||"text",onClick:()=>{P.link&&window.open(P.link,"_blank")},startIcon:P.icon,className:"extra-nav-button",size:"small",...P.buttonProps,children:P.text})}):jsxRuntimeExports.jsx(Button,{variant:((H=P.buttonProps)==null?void 0:H.variant)||"text",onClick:()=>{P.link&&window.open(P.link,"_blank")},startIcon:P.icon,size:"small",className:"extra-nav-button",...P.buttonProps,children:P.text}),P.description&&jsxRuntimeExports.jsx(Typography,{variant:"caption",sx:{color:"text.secondary",mt:.5},component:"p",className:"extra-nav-description",children:P.description})]})]})}const Div=newStyled.div`
160
160
  overflow-y: auto;
161
161
  display: flex;
162
162
  flex-direction: column;
@@ -439,7 +439,7 @@ import{bV as createSvgIcon,j as jsxRuntimeExports,r as reactExports,P as PropTyp
439
439
  height: 100%;
440
440
  max-height: 100%;
441
441
  }
442
- `;function Layout({blockletMeta:i,loading:s,children:a,logoUrl:o,locale:u,header:P,headerEndAddons:S,pcWidth:C,pcHeight:E,navLogo:_,useOfSkeleton:I,stepTip:j,navSubTitle:T,contentMaxWidth:O,theme:D,themeOverrides:L,extraNav:H,...F}){const R=useTheme(),M=useMediaQuery(re=>re.breakpoints.down("md")),{activeStep:V,totalStepsCount:N}=useStepContext(),W=i||{},X=M?MobileContent:PcContent,Y=getTranslations(u);_&&!reactExports.isValidElement(_)&&isObject(_)&&(M?_=_.mobile:_=jsxRuntimeExports.jsx(LogoContainer,{children:_.desktop}));const J=deepmerge(R,D||{},L||{});return jsxRuntimeExports.jsx(StyledEngineProvider,{injectFirst:!0,children:jsxRuntimeExports.jsx(ThemeProvider,{theme:J,children:jsxRuntimeExports.jsx(ThemeProvider$1,{theme:J,children:jsxRuntimeExports.jsxs(Root,{...F,children:[jsxRuntimeExports.jsxs(Header,{maxWidth:O,width:C,className:"ll-header",children:[P&&P,!P&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[M&&jsxRuntimeExports.jsx("div",{className:"left",children:jsxRuntimeExports.jsx(AppHeader,{blockletMeta:W,navLogo:_,subTitle:jsxRuntimeExports.jsxs("span",{children:[`${T||Y.defaultNavSubTitle} ${V+1}/${N}`,jsxRuntimeExports.jsx(SmallCircleProgress,{value:(V+1)/N*100,style:{marginLeft:3}}),H&&jsxRuntimeExports.jsx(Typography,{variant:"caption",className:"extra-nav-text",onClick:()=>{H.link&&window.open(H.link,"_blank")},sx:{ml:1,color:"primary.main",cursor:"pointer","&:hover":{opacity:.8}},children:H.appText||H.text})]}),logoUrl:o,locale:u,loading:s})}),_&&!M&&jsxRuntimeExports.jsx("div",{className:"left",children:_}),S&&jsxRuntimeExports.jsx(HeaderAddons,{className:"right",children:S})]})]}),jsxRuntimeExports.jsxs(X,{contentMaxWidth:O,className:"ll-container",children:[jsxRuntimeExports.jsx(Hidden,{mdDown:!0,children:jsxRuntimeExports.jsx(Nav,{locale:u,blockletMeta:W,logoUrl:o,useOfSkeleton:I,subTitle:T,loading:s,extraNav:H})}),jsxRuntimeExports.jsx(Typography,{component:"div",className:"layout-content",children:jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:jsxRuntimeExports.jsx(Center,{relative:"parent",children:jsxRuntimeExports.jsx(CircularProgress,{style:{marginTop:36}})}),children:a})})]})]})})})})}Layout.propTypes={loading:PropTypes.bool,blockletMeta:PropTypes.object,children:PropTypes.object.isRequired,logoUrl:PropTypes.string,locale:PropTypes.oneOf(["en","zh"]),header:PropTypes.any,headerEndAddons:PropTypes.any,pcWidth:PropTypes.any,pcHeight:PropTypes.any,contentMaxWidth:PropTypes.string,navLogo:PropTypes.oneOfType([PropTypes.node,PropTypes.object]),useOfSkeleton:PropTypes.bool,stepTip:PropTypes.string,navSubTitle:PropTypes.string,theme:PropTypes.object,themeOverrides:PropTypes.object,extraNav:PropTypes.object};Layout.defaultProps={loading:!1,blockletMeta:{},logoUrl:"",locale:"en",header:null,headerEndAddons:null,pcWidth:"80%",pcHeight:"80%",contentMaxWidth:"1245px",navLogo:"",useOfSkeleton:!0,stepTip:"",navSubTitle:"",theme:null,themeOverrides:null,extraNav:null};const ua=navigator.userAgent.toLocaleLowerCase();let injectStyle="";ua.includes("iphone os")&&ua.includes("crios")&&(injectStyle="height: calc(100vh - 60px);");const Header=styled("header")`
442
+ `;function Layout({blockletMeta:i,loading:s,children:a,logoUrl:o,locale:u,header:S,headerEndAddons:P,pcWidth:C,pcHeight:E,navLogo:_,useOfSkeleton:I,stepTip:j,navSubTitle:T,contentMaxWidth:O,theme:D,themeOverrides:L,extraNav:H,...F}){const R=useTheme(),M=useMediaQuery(re=>re.breakpoints.down("md")),{activeStep:V,totalStepsCount:N}=useStepContext(),W=i||{},X=M?MobileContent:PcContent,Y=getTranslations(u);_&&!reactExports.isValidElement(_)&&isObject(_)&&(M?_=_.mobile:_=jsxRuntimeExports.jsx(LogoContainer,{children:_.desktop}));const J=deepmerge(R,D||{},L||{});return jsxRuntimeExports.jsx(StyledEngineProvider,{injectFirst:!0,children:jsxRuntimeExports.jsx(ThemeProvider,{theme:J,children:jsxRuntimeExports.jsx(ThemeProvider$1,{theme:J,children:jsxRuntimeExports.jsxs(Root,{...F,children:[jsxRuntimeExports.jsxs(Header,{maxWidth:O,width:C,className:"ll-header",children:[S&&S,!S&&jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment,{children:[M&&jsxRuntimeExports.jsx("div",{className:"left",children:jsxRuntimeExports.jsx(AppHeader,{blockletMeta:W,navLogo:_,subTitle:jsxRuntimeExports.jsxs("span",{children:[`${T||Y.defaultNavSubTitle} ${V+1}/${N}`,jsxRuntimeExports.jsx(SmallCircleProgress,{value:(V+1)/N*100,style:{marginLeft:3}}),H&&jsxRuntimeExports.jsx(Typography,{variant:"caption",className:"extra-nav-text",onClick:()=>{H.link&&window.open(H.link,"_blank")},sx:{ml:1,color:"primary.main",cursor:"pointer","&:hover":{opacity:.8}},children:H.appText||H.text})]}),logoUrl:o,locale:u,loading:s})}),_&&!M&&jsxRuntimeExports.jsx("div",{className:"left",children:_}),P&&jsxRuntimeExports.jsx(HeaderAddons,{className:"right",children:P})]})]}),jsxRuntimeExports.jsxs(X,{contentMaxWidth:O,className:"ll-container",children:[jsxRuntimeExports.jsx(Hidden,{mdDown:!0,children:jsxRuntimeExports.jsx(Nav,{locale:u,blockletMeta:W,logoUrl:o,useOfSkeleton:I,subTitle:T,loading:s,extraNav:H})}),jsxRuntimeExports.jsx(Typography,{component:"div",className:"layout-content",children:jsxRuntimeExports.jsx(reactExports.Suspense,{fallback:jsxRuntimeExports.jsx(Center,{relative:"parent",children:jsxRuntimeExports.jsx(CircularProgress,{style:{marginTop:36}})}),children:a})})]})]})})})})}Layout.propTypes={loading:PropTypes.bool,blockletMeta:PropTypes.object,children:PropTypes.object.isRequired,logoUrl:PropTypes.string,locale:PropTypes.oneOf(["en","zh"]),header:PropTypes.any,headerEndAddons:PropTypes.any,pcWidth:PropTypes.any,pcHeight:PropTypes.any,contentMaxWidth:PropTypes.string,navLogo:PropTypes.oneOfType([PropTypes.node,PropTypes.object]),useOfSkeleton:PropTypes.bool,stepTip:PropTypes.string,navSubTitle:PropTypes.string,theme:PropTypes.object,themeOverrides:PropTypes.object,extraNav:PropTypes.object};Layout.defaultProps={loading:!1,blockletMeta:{},logoUrl:"",locale:"en",header:null,headerEndAddons:null,pcWidth:"80%",pcHeight:"80%",contentMaxWidth:"1245px",navLogo:"",useOfSkeleton:!0,stepTip:"",navSubTitle:"",theme:null,themeOverrides:null,extraNav:null};const ua=navigator.userAgent.toLocaleLowerCase();let injectStyle="";ua.includes("iphone os")&&ua.includes("crios")&&(injectStyle="height: calc(100vh - 60px);");const Header=styled("header")`
443
443
  width: ${i=>i.width||"80%"};
444
444
  min-width: 900px;
445
445
  box-sizing: border-box;
@@ -545,7 +545,7 @@ import{bV as createSvgIcon,j as jsxRuntimeExports,r as reactExports,P as PropTyp
545
545
  font-size: 18px;
546
546
  cursor: pointer;
547
547
  }
548
- `;PageHeader.propTypes={title:PropTypes.string,subTitle:PropTypes.string,onClickBack:PropTypes.oneOfType([PropTypes.func,PropTypes.string])};PageHeader.defaultProps={title:"",subTitle:"",onClickBack:""};function LaunchResultMessage({variant:i,title:s,subTitle:a,footer:o,...u}){let P;switch(i){case"error":P=CloseIcon;break;case"info":P=PriorityHigh;break;case"loading":P=CircularProgress;break;default:P=Check}return jsxRuntimeExports.jsx(Container$1,{variant:i,...u,children:jsxRuntimeExports.jsxs("div",{className:"result-body",children:[jsxRuntimeExports.jsx("span",{className:`result-icon color-${i}`,children:jsxRuntimeExports.jsx(P,{})}),jsxRuntimeExports.jsx("div",{className:`result-title color-${i} ${s?"":"ele-hide"}`,children:s}),jsxRuntimeExports.jsx("div",{className:`result-sub-title ${a?"":"ele-hide"}`,children:a}),o&&jsxRuntimeExports.jsx("div",{className:"result-footer",children:o})]})})}LaunchResultMessage.propTypes={variant:PropTypes.oneOf(["success","error","info","loading"]),title:PropTypes.string,subTitle:PropTypes.any,footer:PropTypes.any};LaunchResultMessage.defaultProps={variant:"success",title:"",subTitle:"",footer:null};const Container$1=newStyled.div`
548
+ `;PageHeader.propTypes={title:PropTypes.string,subTitle:PropTypes.string,onClickBack:PropTypes.oneOfType([PropTypes.func,PropTypes.string])};PageHeader.defaultProps={title:"",subTitle:"",onClickBack:""};function LaunchResultMessage({variant:i,title:s,subTitle:a,footer:o,...u}){let S;switch(i){case"error":S=CloseIcon;break;case"info":S=PriorityHigh;break;case"loading":S=CircularProgress;break;default:S=Check}return jsxRuntimeExports.jsx(Container$1,{variant:i,...u,children:jsxRuntimeExports.jsxs("div",{className:"result-body",children:[jsxRuntimeExports.jsx("span",{className:`result-icon color-${i}`,children:jsxRuntimeExports.jsx(S,{})}),jsxRuntimeExports.jsx("div",{className:`result-title color-${i} ${s?"":"ele-hide"}`,children:s}),jsxRuntimeExports.jsx("div",{className:`result-sub-title ${a?"":"ele-hide"}`,children:a}),o&&jsxRuntimeExports.jsx("div",{className:"result-footer",children:o})]})})}LaunchResultMessage.propTypes={variant:PropTypes.oneOf(["success","error","info","loading"]),title:PropTypes.string,subTitle:PropTypes.any,footer:PropTypes.any};LaunchResultMessage.defaultProps={variant:"success",title:"",subTitle:"",footer:null};const Container$1=newStyled.div`
549
549
  display: flex;
550
550
  flex-direction: column;
551
551
  align-items: center;
@@ -626,15 +626,15 @@ import{bV as createSvgIcon,j as jsxRuntimeExports,r as reactExports,P as PropTyp
626
626
  transition: all ease 0.3s;
627
627
  transition-delay: 0.2s;
628
628
  }
629
- `;var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(i,s){module.exports=s()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(s){_useWebWorker=!!s},getWebWorker=function(){return _useWebWorker},setLocationHref=function(s){locationHref=s},getLocationHref=function(){return locationHref};function createTag(i){return document.createElement(i)}function extendPrototype(i,s){var a,o=i.length,u;for(a=0;a<o;a+=1){u=i[a].prototype;for(var P in u)Object.prototype.hasOwnProperty.call(u,P)&&(s.prototype[P]=u[P])}}function getDescriptor(i,s){return Object.getOwnPropertyDescriptor(i,s)}function createProxyFunction(i){function s(){}return s.prototype=i,s}var audioControllerFactory=function(){function i(s){this.audios=[],this.audioFactory=s,this._volume=1,this._isMuted=!1}return i.prototype={addAudio:function(a){this.audios.push(a)},pause:function(){var a,o=this.audios.length;for(a=0;a<o;a+=1)this.audios[a].pause()},resume:function(){var a,o=this.audios.length;for(a=0;a<o;a+=1)this.audios[a].resume()},setRate:function(a){var o,u=this.audios.length;for(o=0;o<u;o+=1)this.audios[o].setRate(a)},createAudio:function(a){return this.audioFactory?this.audioFactory(a):window.Howl?new window.Howl({src:[a]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(a){this.audioFactory=a},setVolume:function(a){this._volume=a,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var a,o=this.audios.length;for(a=0;a<o;a+=1)this.audios[a].volume(this._volume*(this._isMuted?0:1))}},function(){return new i}}(),createTypedArray=function(){function i(a,o){var u=0,P=[],S;switch(a){case"int16":case"uint8c":S=1;break;default:S=1.1;break}for(u=0;u<o;u+=1)P.push(S);return P}function s(a,o){return a==="float32"?new Float32Array(o):a==="int16"?new Int16Array(o):a==="uint8c"?new Uint8ClampedArray(o):i(a,o)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?s:i}();function createSizedArray(i){return Array.apply(null,{length:i})}function _typeof$6(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(a){return typeof a}:_typeof$6=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$6(i)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var i=["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"],s,a=i.length;for(s=0;s<a;s+=1)BMMath[i[s]]=Math[i[s]]})(),BMMath.random=Math.random,BMMath.abs=function(i){var s=_typeof$6(i);if(s==="object"&&i.length){var a=createSizedArray(i.length),o,u=i.length;for(o=0;o<u;o+=1)a[o]=Math.abs(i[o]);return a}return Math.abs(i)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(i){i.style.position="absolute",i.style.top=0,i.style.left=0,i.style.display="block",i.style.transformOrigin="0 0",i.style.webkitTransformOrigin="0 0",i.style.backfaceVisibility="visible",i.style.webkitBackfaceVisibility="visible",i.style.transformStyle="preserve-3d",i.style.webkitTransformStyle="preserve-3d",i.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(i,s,a,o){this.type=i,this.currentTime=s,this.totalTime=a,this.direction=o<0?-1:1}function BMCompleteEvent(i,s){this.type=i,this.direction=s<0?-1:1}function BMCompleteLoopEvent(i,s,a,o){this.type=i,this.currentLoop=a,this.totalLoops=s,this.direction=o<0?-1:1}function BMSegmentStartEvent(i,s,a){this.type=i,this.firstFrame=s,this.totalFrames=a}function BMDestroyEvent(i,s){this.type=i,this.target=s}function BMRenderFrameErrorEvent(i,s){this.type="renderFrameError",this.nativeError=i,this.currentTime=s}function BMConfigErrorEvent(i){this.type="configError",this.nativeError=i}var createElementID=function(){var i=0;return function(){return i+=1,idPrefix$1+"__lottie_element_"+i}}();function HSVtoRGB(i,s,a){var o,u,P,S,C,E,_,I;switch(S=Math.floor(i*6),C=i*6-S,E=a*(1-s),_=a*(1-C*s),I=a*(1-(1-C)*s),S%6){case 0:o=a,u=I,P=E;break;case 1:o=_,u=a,P=E;break;case 2:o=E,u=a,P=I;break;case 3:o=E,u=_,P=a;break;case 4:o=I,u=E,P=a;break;case 5:o=a,u=E,P=_;break}return[o,u,P]}function RGBtoHSV(i,s,a){var o=Math.max(i,s,a),u=Math.min(i,s,a),P=o-u,S,C=o===0?0:P/o,E=o/255;switch(o){case u:S=0;break;case i:S=s-a+P*(s<a?6:0),S/=6*P;break;case s:S=a-i+P*2,S/=6*P;break;case a:S=i-s+P*4,S/=6*P;break}return[S,C,E]}function addSaturationToRGB(i,s){var a=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return a[1]+=s,a[1]>1?a[1]=1:a[1]<=0&&(a[1]=0),HSVtoRGB(a[0],a[1],a[2])}function addBrightnessToRGB(i,s){var a=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return a[2]+=s,a[2]>1?a[2]=1:a[2]<0&&(a[2]=0),HSVtoRGB(a[0],a[1],a[2])}function addHueToRGB(i,s){var a=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return a[0]+=s/360,a[0]>1?a[0]-=1:a[0]<0&&(a[0]+=1),HSVtoRGB(a[0],a[1],a[2])}var rgbToHex=function(){var i=[],s,a;for(s=0;s<256;s+=1)a=s.toString(16),i[s]=a.length===1?"0"+a:a;return function(o,u,P){return o<0&&(o=0),u<0&&(u=0),P<0&&(P=0),"#"+i[o]+i[u]+i[P]}}(),setSubframeEnabled=function(s){subframeEnabled=!!s},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(s){expressionsPlugin=s},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(s){expressionsInterfaces=s},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(s){defaultCurveSegments=s},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(s){idPrefix$1=s};function createNS(i){return document.createElementNS(svgNS,i)}function _typeof$5(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(a){return typeof a}:_typeof$5=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$5(i)}var dataManager=function(){var i=1,s=[],a,o,u={onmessage:function(){},postMessage:function(O){a({data:O})}},P={postMessage:function(O){u.onmessage({data:O})}};function S(T){if(window.Worker&&window.Blob&&getWebWorker()){var O=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(O);return new Worker(D)}return a=T,u}function C(){o||(o=S(function(O){function D(){function H(Q,$){var K,B,G=Q.length,U,Z,ie,le;for(B=0;B<G;B+=1)if(K=Q[B],"ks"in K&&!K.completed){if(K.completed=!0,K.hasMask){var he=K.masksProperties;for(Z=he.length,U=0;U<Z;U+=1)if(he[U].pt.k.i)N(he[U].pt.k);else for(le=he[U].pt.k.length,ie=0;ie<le;ie+=1)he[U].pt.k[ie].s&&N(he[U].pt.k[ie].s[0]),he[U].pt.k[ie].e&&N(he[U].pt.k[ie].e[0])}K.ty===0?(K.layers=M(K.refId,$),H(K.layers,$)):K.ty===4?V(K.shapes):K.ty===5&&se(K)}}function F(Q,$){if(Q){var K=0,B=Q.length;for(K=0;K<B;K+=1)Q[K].t===1&&(Q[K].data.layers=M(Q[K].data.refId,$),H(Q[K].data.layers,$))}}function R(Q,$){for(var K=0,B=$.length;K<B;){if($[K].id===Q)return $[K];K+=1}return null}function M(Q,$){var K=R(Q,$);return K?K.layers.__used?JSON.parse(JSON.stringify(K.layers)):(K.layers.__used=!0,K.layers):null}function V(Q){var $,K=Q.length,B,G;for($=K-1;$>=0;$-=1)if(Q[$].ty==="sh")if(Q[$].ks.k.i)N(Q[$].ks.k);else for(G=Q[$].ks.k.length,B=0;B<G;B+=1)Q[$].ks.k[B].s&&N(Q[$].ks.k[B].s[0]),Q[$].ks.k[B].e&&N(Q[$].ks.k[B].e[0]);else Q[$].ty==="gr"&&V(Q[$].it)}function N(Q){var $,K=Q.i.length;for($=0;$<K;$+=1)Q.i[$][0]+=Q.v[$][0],Q.i[$][1]+=Q.v[$][1],Q.o[$][0]+=Q.v[$][0],Q.o[$][1]+=Q.v[$][1]}function W(Q,$){var K=$?$.split("."):[100,100,100];return Q[0]>K[0]?!0:K[0]>Q[0]?!1:Q[1]>K[1]?!0:K[1]>Q[1]?!1:Q[2]>K[2]?!0:K[2]>Q[2]?!1:null}var X=function(){var Q=[4,4,14];function $(B){var G=B.t.d;B.t.d={k:[{s:G,t:0}]}}function K(B){var G,U=B.length;for(G=0;G<U;G+=1)B[G].ty===5&&$(B[G])}return function(B){if(W(Q,B.v)&&(K(B.layers),B.assets)){var G,U=B.assets.length;for(G=0;G<U;G+=1)B.assets[G].layers&&K(B.assets[G].layers)}}}(),Y=function(){var Q=[4,7,99];return function($){if($.chars&&!W(Q,$.v)){var K,B=$.chars.length;for(K=0;K<B;K+=1){var G=$.chars[K];G.data&&G.data.shapes&&(V(G.data.shapes),G.data.ip=0,G.data.op=99999,G.data.st=0,G.data.sr=1,G.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},$.chars[K].t||(G.data.shapes.push({ty:"no"}),G.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),J=function(){var Q=[5,7,15];function $(B){var G=B.t.p;typeof G.a=="number"&&(G.a={a:0,k:G.a}),typeof G.p=="number"&&(G.p={a:0,k:G.p}),typeof G.r=="number"&&(G.r={a:0,k:G.r})}function K(B){var G,U=B.length;for(G=0;G<U;G+=1)B[G].ty===5&&$(B[G])}return function(B){if(W(Q,B.v)&&(K(B.layers),B.assets)){var G,U=B.assets.length;for(G=0;G<U;G+=1)B.assets[G].layers&&K(B.assets[G].layers)}}}(),re=function(){var Q=[4,1,9];function $(B){var G,U=B.length,Z,ie;for(G=0;G<U;G+=1)if(B[G].ty==="gr")$(B[G].it);else if(B[G].ty==="fl"||B[G].ty==="st")if(B[G].c.k&&B[G].c.k[0].i)for(ie=B[G].c.k.length,Z=0;Z<ie;Z+=1)B[G].c.k[Z].s&&(B[G].c.k[Z].s[0]/=255,B[G].c.k[Z].s[1]/=255,B[G].c.k[Z].s[2]/=255,B[G].c.k[Z].s[3]/=255),B[G].c.k[Z].e&&(B[G].c.k[Z].e[0]/=255,B[G].c.k[Z].e[1]/=255,B[G].c.k[Z].e[2]/=255,B[G].c.k[Z].e[3]/=255);else B[G].c.k[0]/=255,B[G].c.k[1]/=255,B[G].c.k[2]/=255,B[G].c.k[3]/=255}function K(B){var G,U=B.length;for(G=0;G<U;G+=1)B[G].ty===4&&$(B[G].shapes)}return function(B){if(W(Q,B.v)&&(K(B.layers),B.assets)){var G,U=B.assets.length;for(G=0;G<U;G+=1)B.assets[G].layers&&K(B.assets[G].layers)}}}(),te=function(){var Q=[4,4,18];function $(B){var G,U=B.length,Z,ie;for(G=U-1;G>=0;G-=1)if(B[G].ty==="sh")if(B[G].ks.k.i)B[G].ks.k.c=B[G].closed;else for(ie=B[G].ks.k.length,Z=0;Z<ie;Z+=1)B[G].ks.k[Z].s&&(B[G].ks.k[Z].s[0].c=B[G].closed),B[G].ks.k[Z].e&&(B[G].ks.k[Z].e[0].c=B[G].closed);else B[G].ty==="gr"&&$(B[G].it)}function K(B){var G,U,Z=B.length,ie,le,he,fe;for(U=0;U<Z;U+=1){if(G=B[U],G.hasMask){var oe=G.masksProperties;for(le=oe.length,ie=0;ie<le;ie+=1)if(oe[ie].pt.k.i)oe[ie].pt.k.c=oe[ie].cl;else for(fe=oe[ie].pt.k.length,he=0;he<fe;he+=1)oe[ie].pt.k[he].s&&(oe[ie].pt.k[he].s[0].c=oe[ie].cl),oe[ie].pt.k[he].e&&(oe[ie].pt.k[he].e[0].c=oe[ie].cl)}G.ty===4&&$(G.shapes)}}return function(B){if(W(Q,B.v)&&(K(B.layers),B.assets)){var G,U=B.assets.length;for(G=0;G<U;G+=1)B.assets[G].layers&&K(B.assets[G].layers)}}}();function ee(Q){Q.__complete||(re(Q),X(Q),Y(Q),J(Q),te(Q),H(Q.layers,Q.assets),F(Q.chars,Q.assets),Q.__complete=!0)}function se(Q){Q.t.a.length===0&&"m"in Q.t.p}var ne={};return ne.completeData=ee,ne.checkColors=re,ne.checkChars=Y,ne.checkPathProperties=J,ne.checkShapes=te,ne.completeLayers=H,ne}if(P.dataManager||(P.dataManager=D()),P.assetLoader||(P.assetLoader=function(){function H(R){var M=R.getResponseHeader("content-type");return M&&R.responseType==="json"&&M.indexOf("json")!==-1||R.response&&_typeof$5(R.response)==="object"?R.response:R.response&&typeof R.response=="string"?JSON.parse(R.response):R.responseText?JSON.parse(R.responseText):null}function F(R,M,V,N){var W,X=new XMLHttpRequest;try{X.responseType="json"}catch{}X.onreadystatechange=function(){if(X.readyState===4)if(X.status===200)W=H(X),V(W);else try{W=H(X),V(W)}catch(Y){N&&N(Y)}};try{X.open(["G","E","T"].join(""),R,!0)}catch{X.open(["G","E","T"].join(""),M+"/"+R,!0)}X.send()}return{load:F}}()),O.data.type==="loadAnimation")P.assetLoader.load(O.data.path,O.data.fullPath,function(H){P.dataManager.completeData(H),P.postMessage({id:O.data.id,payload:H,status:"success"})},function(){P.postMessage({id:O.data.id,status:"error"})});else if(O.data.type==="complete"){var L=O.data.animation;P.dataManager.completeData(L),P.postMessage({id:O.data.id,payload:L,status:"success"})}else O.data.type==="loadData"&&P.assetLoader.load(O.data.path,O.data.fullPath,function(H){P.postMessage({id:O.data.id,payload:H,status:"success"})},function(){P.postMessage({id:O.data.id,status:"error"})})}),o.onmessage=function(T){var O=T.data,D=O.id,L=s[D];s[D]=null,O.status==="success"?L.onComplete(O.payload):L.onError&&L.onError()})}function E(T,O){i+=1;var D="processId_"+i;return s[D]={onComplete:T,onError:O},D}function _(T,O,D){C();var L=E(O,D);o.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:L})}function I(T,O,D){C();var L=E(O,D);o.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:L})}function j(T,O,D){C();var L=E(O,D);o.postMessage({type:"complete",animation:T,id:L})}return{loadAnimation:_,loadData:I,completeAnimation:j}}(),ImagePreloader=function(){var i=function(){var F=createTag("canvas");F.width=1,F.height=1;var R=F.getContext("2d");return R.fillStyle="rgba(0,0,0,0)",R.fillRect(0,0,1,1),F}();function s(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function o(F,R,M){var V="";if(F.e)V=F.p;else if(R){var N=F.p;N.indexOf("images/")!==-1&&(N=N.split("/")[1]),V=R+N}else V=M,V+=F.u?F.u:"",V+=F.p;return V}function u(F){var R=0,M=setInterval((function(){var V=F.getBBox();(V.width||R>500)&&(this._imageLoaded(),clearInterval(M)),R+=1}).bind(this),50)}function P(F){var R=o(F,this.assetsPath,this.path),M=createNS("image");isSafari?this.testImageLoaded(M):M.addEventListener("load",this._imageLoaded,!1),M.addEventListener("error",(function(){V.img=i,this._imageLoaded()}).bind(this),!1),M.setAttributeNS("http://www.w3.org/1999/xlink","href",R),this._elementHelper.append?this._elementHelper.append(M):this._elementHelper.appendChild(M);var V={img:M,assetData:F};return V}function S(F){var R=o(F,this.assetsPath,this.path),M=createTag("img");M.crossOrigin="anonymous",M.addEventListener("load",this._imageLoaded,!1),M.addEventListener("error",(function(){V.img=i,this._imageLoaded()}).bind(this),!1),M.src=R;var V={img:M,assetData:F};return V}function C(F){var R={assetData:F},M=o(F,this.assetsPath,this.path);return dataManager.loadData(M,(function(V){R.img=V,this._footageLoaded()}).bind(this),(function(){R.img={},this._footageLoaded()}).bind(this)),R}function E(F,R){this.imagesLoadedCb=R;var M,V=F.length;for(M=0;M<V;M+=1)F[M].layers||(!F[M].t||F[M].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(F[M]))):F[M].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(F[M]))))}function _(F){this.path=F||""}function I(F){this.assetsPath=F||""}function j(F){for(var R=0,M=this.images.length;R<M;){if(this.images[R].assetData===F)return this.images[R].img;R+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function O(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function L(F,R){F==="svg"?(this._elementHelper=R,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function H(){this._imageLoaded=s.bind(this),this._footageLoaded=a.bind(this),this.testImageLoaded=u.bind(this),this.createFootageData=C.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return H.prototype={loadAssets:E,setAssetsPath:I,setPath:_,loadedImages:O,loadedFootages:D,destroy:T,getAsset:j,createImgData:S,createImageData:P,imageLoaded:s,footageLoaded:a,setCacheType:L},H}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(s,a){if(this._cbs[s])for(var o=this._cbs[s],u=0;u<o.length;u+=1)o[u](a)},addEventListener:function(s,a){return this._cbs[s]||(this._cbs[s]=[]),this._cbs[s].push(a),(function(){this.removeEventListener(s,a)}).bind(this)},removeEventListener:function(s,a){if(!a)this._cbs[s]=null;else if(this._cbs[s]){for(var o=0,u=this._cbs[s].length;o<u;)this._cbs[s][o]===a&&(this._cbs[s].splice(o,1),o-=1,u-=1),o+=1;this._cbs[s].length||(this._cbs[s]=null)}}};var markerParser=function(){function i(s){for(var a=s.split(`\r
630
- `),o={},u,P=0,S=0;S<a.length;S+=1)u=a[S].split(":"),u.length===2&&(o[u[0]]=u[1].trim(),P+=1);if(P===0)throw new Error;return o}return function(s){for(var a=[],o=0;o<s.length;o+=1){var u=s[o],P={time:u.tm,duration:u.dr};try{P.payload=JSON.parse(s[o].cm)}catch{try{P.payload=i(s[o].cm)}catch{P.payload={name:s[o].cm}}}a.push(P)}return a}}(),ProjectInterface=function(){function i(s){this.compositions.push(s)}return function(){function s(a){for(var o=0,u=this.compositions.length;o<u;){if(this.compositions[o].data&&this.compositions[o].data.nm===a)return this.compositions[o].prepareFrame&&this.compositions[o].data.xt&&this.compositions[o].prepareFrame(this.currentFrame),this.compositions[o].compInterface;o+=1}return null}return s.compositions=[],s.currentFrame=0,s.registerComposition=i,s}}(),renderers={},registerRenderer=function(s,a){renderers[s]=a};function getRenderer(i){return renderers[i]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var i in renderers)if(renderers[i])return i;return""}function _typeof$4(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(a){return typeof a}:_typeof$4=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$4(i)}var AnimationItem=function(){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=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(i){(i.wrapper||i.container)&&(this.wrapper=i.wrapper||i.container);var s="svg";i.animType?s=i.animType:i.renderer&&(s=i.renderer);var a=getRenderer(s);this.renderer=new a(this,i.rendererSettings),this.imagePreloader.setCacheType(s,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=s,i.loop===""||i.loop===null||i.loop===void 0||i.loop===!0?this.loop=!0:i.loop===!1?this.loop=!1:this.loop=parseInt(i.loop,10),this.autoplay="autoplay"in i?i.autoplay:!0,this.name=i.name?i.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(i,"autoloadSegments")?i.autoloadSegments:!0,this.assetsPath=i.assetsPath,this.initialSegment=i.initialSegment,i.audioFactory&&this.audioController.setAudioFactory(i.audioFactory),i.animationData?this.setupAnimation(i.animationData):i.path&&(i.path.lastIndexOf("\\")!==-1?this.path=i.path.substr(0,i.path.lastIndexOf("\\")+1):this.path=i.path.substr(0,i.path.lastIndexOf("/")+1),this.fileName=i.path.substr(i.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(i.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(i){dataManager.completeAnimation(i,this.configAnimation)},AnimationItem.prototype.setData=function(i,s){s&&_typeof$4(s)!=="object"&&(s=JSON.parse(s));var a={wrapper:i,animationData:s},o=i.attributes;a.path=o.getNamedItem("data-animation-path")?o.getNamedItem("data-animation-path").value:o.getNamedItem("data-bm-path")?o.getNamedItem("data-bm-path").value:o.getNamedItem("bm-path")?o.getNamedItem("bm-path").value:"",a.animType=o.getNamedItem("data-anim-type")?o.getNamedItem("data-anim-type").value:o.getNamedItem("data-bm-type")?o.getNamedItem("data-bm-type").value:o.getNamedItem("bm-type")?o.getNamedItem("bm-type").value:o.getNamedItem("data-bm-renderer")?o.getNamedItem("data-bm-renderer").value:o.getNamedItem("bm-renderer")?o.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var u=o.getNamedItem("data-anim-loop")?o.getNamedItem("data-anim-loop").value:o.getNamedItem("data-bm-loop")?o.getNamedItem("data-bm-loop").value:o.getNamedItem("bm-loop")?o.getNamedItem("bm-loop").value:"";u==="false"?a.loop=!1:u==="true"?a.loop=!0:u!==""&&(a.loop=parseInt(u,10));var P=o.getNamedItem("data-anim-autoplay")?o.getNamedItem("data-anim-autoplay").value:o.getNamedItem("data-bm-autoplay")?o.getNamedItem("data-bm-autoplay").value:o.getNamedItem("bm-autoplay")?o.getNamedItem("bm-autoplay").value:!0;a.autoplay=P!=="false",a.name=o.getNamedItem("data-name")?o.getNamedItem("data-name").value:o.getNamedItem("data-bm-name")?o.getNamedItem("data-bm-name").value:o.getNamedItem("bm-name")?o.getNamedItem("bm-name").value:"";var S=o.getNamedItem("data-anim-prerender")?o.getNamedItem("data-anim-prerender").value:o.getNamedItem("data-bm-prerender")?o.getNamedItem("data-bm-prerender").value:o.getNamedItem("bm-prerender")?o.getNamedItem("bm-prerender").value:"";S==="false"&&(a.prerender=!1),a.path?this.setParams(a):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(i){i.op>this.animationData.op&&(this.animationData.op=i.op,this.totalFrames=Math.floor(i.op-this.animationData.ip));var s=this.animationData.layers,a,o=s.length,u=i.layers,P,S=u.length;for(P=0;P<S;P+=1)for(a=0;a<o;){if(s[a].id===u[P].id){s[a]=u[P];break}a+=1}if((i.chars||i.fonts)&&(this.renderer.globalData.fontManager.addChars(i.chars),this.renderer.globalData.fontManager.addFonts(i.fonts,this.renderer.globalData.defs)),i.assets)for(o=i.assets.length,a=0;a<o;a+=1)this.animationData.assets.push(i.assets[a]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(i){this.animationData=i;var s=getExpressionsPlugin();s&&s.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var i=this.animationData.segments;if(!i||i.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var s=i.shift();this.timeCompleted=s.time*this.frameRate;var a=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(a,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var i=this.animationData.segments;i||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(i){if(this.renderer)try{this.animationData=i,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(i),i.assets||(i.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(i.assets),this.markers=markerParser(i.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(s){this.triggerConfigError(s)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var i=getExpressionsPlugin();i&&i.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(i,s){var a=typeof i=="number"?i:void 0,o=typeof s=="number"?s:void 0;this.renderer.updateContainerSize(a,o)},AnimationItem.prototype.setSubframe=function(i){this.isSubframeEnabled=!!i},AnimationItem.prototype.gotoFrame=function(){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")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(i){this.triggerRenderFrameError(i)}},AnimationItem.prototype.play=function(i){i&&this.name!==i||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(i){i&&this.name!==i||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(i){i&&this.name!==i||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(i){i&&this.name!==i||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(i){for(var s,a=0;a<this.markers.length;a+=1)if(s=this.markers[a],s.payload&&s.payload.name===i)return s;return null},AnimationItem.prototype.goToAndStop=function(i,s,a){if(!(a&&this.name!==a)){var o=Number(i);if(isNaN(o)){var u=this.getMarkerData(i);u&&this.goToAndStop(u.time,!0)}else s?this.setCurrentRawFrameValue(i):this.setCurrentRawFrameValue(i*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(i,s,a){if(!(a&&this.name!==a)){var o=Number(i);if(isNaN(o)){var u=this.getMarkerData(i);u&&(u.duration?this.playSegments([u.time,u.time+u.duration],!0):this.goToAndStop(u.time,!0))}else this.goToAndStop(o,s,a);this.play()}},AnimationItem.prototype.advanceTime=function(i){if(!(this.isPaused===!0||this.isLoaded===!1)){var s=this.currentRawFrame+i*this.frameModifier,a=!1;s>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(s>this.totalFrames?s%this.totalFrames:0)||(a=!0,s=this.totalFrames-1):s>=this.totalFrames?(this.playCount+=1,this.checkSegments(s%this.totalFrames)||(this.setCurrentRawFrameValue(s%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(s):s<0?this.checkSegments(s%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+s%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(a=!0,s=0)):this.setCurrentRawFrameValue(s),a&&(this.setCurrentRawFrameValue(s),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(i,s){this.playCount=0,i[1]<i[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=i[0]-i[1],this.timeCompleted=this.totalFrames,this.firstFrame=i[1],this.setCurrentRawFrameValue(this.totalFrames-.001-s)):i[1]>i[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=i[1]-i[0],this.timeCompleted=this.totalFrames,this.firstFrame=i[0],this.setCurrentRawFrameValue(.001+s)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(i,s){var a=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<i?a=i:this.currentRawFrame+this.firstFrame>s&&(a=s-i)),this.firstFrame=i,this.totalFrames=s-i,this.timeCompleted=this.totalFrames,a!==-1&&this.goToAndStop(a,!0)},AnimationItem.prototype.playSegments=function(i,s){if(s&&(this.segments.length=0),_typeof$4(i[0])==="object"){var a,o=i.length;for(a=0;a<o;a+=1)this.segments.push(i[a])}else this.segments.push(i);this.segments.length&&s&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(i){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),i&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(i){return this.segments.length?(this.adjustSegment(this.segments.shift(),i),!0):!1},AnimationItem.prototype.destroy=function(i){i&&this.name!==i||!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)},AnimationItem.prototype.setCurrentRawFrameValue=function(i){this.currentRawFrame=i,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(i){this.playSpeed=i,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(i){this.playDirection=i<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(i){this.loop=i},AnimationItem.prototype.setVolume=function(i,s){s&&this.name!==s||this.audioController.setVolume(i)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(i){i&&this.name!==i||this.audioController.mute()},AnimationItem.prototype.unmute=function(i){i&&this.name!==i||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(i){var s="";if(i.e)s=i.p;else if(this.assetsPath){var a=i.p;a.indexOf("images/")!==-1&&(a=a.split("/")[1]),s=this.assetsPath+a}else s=this.path,s+=i.u?i.u:"",s+=i.p;return s},AnimationItem.prototype.getAssetData=function(i){for(var s=0,a=this.assets.length;s<a;){if(i===this.assets[s].id)return this.assets[s];s+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(i){return i?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(i,s,a){try{var o=this.renderer.getElementByPath(i);o.updateDocumentData(s,a)}catch{}},AnimationItem.prototype.trigger=function(i){if(this._cbs&&this._cbs[i])switch(i){case"enterFrame":this.triggerEvent(i,new BMEnterFrameEvent(i,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(i,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(i,new BMCompleteLoopEvent(i,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(i,new BMCompleteEvent(i,this.frameMult));break;case"segmentStart":this.triggerEvent(i,new BMSegmentStartEvent(i,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(i,new BMDestroyEvent(i,this));break;default:this.triggerEvent(i)}i==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(i,this.currentFrame,this.totalFrames,this.frameMult)),i==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(i,this.loop,this.playCount,this.frameMult)),i==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(i,this.frameMult)),i==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(i,this.firstFrame,this.totalFrames)),i==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(i,this))},AnimationItem.prototype.triggerRenderFrameError=function(i){var s=new BMRenderFrameErrorEvent(i,this.currentFrame);this.triggerEvent("error",s),this.onError&&this.onError.call(this,s)},AnimationItem.prototype.triggerConfigError=function(i){var s=new BMConfigErrorEvent(i,this.currentFrame);this.triggerEvent("error",s),this.onError&&this.onError.call(this,s)};var animationManager=function(){var i={},s=[],a=0,o=0,u=0,P=!0,S=!1;function C($){for(var K=0,B=$.target;K<o;)s[K].animation===B&&(s.splice(K,1),K-=1,o-=1,B.isPaused||j()),K+=1}function E($,K){if(!$)return null;for(var B=0;B<o;){if(s[B].elem===$&&s[B].elem!==null)return s[B].animation;B+=1}var G=new AnimationItem;return T(G,$),G.setData($,K),G}function _(){var $,K=s.length,B=[];for($=0;$<K;$+=1)B.push(s[$].animation);return B}function I(){u+=1,re()}function j(){u-=1}function T($,K){$.addEventListener("destroy",C),$.addEventListener("_active",I),$.addEventListener("_idle",j),s.push({elem:K,animation:$}),o+=1}function O($){var K=new AnimationItem;return T(K,null),K.setParams($),K}function D($,K){var B;for(B=0;B<o;B+=1)s[B].animation.setSpeed($,K)}function L($,K){var B;for(B=0;B<o;B+=1)s[B].animation.setDirection($,K)}function H($){var K;for(K=0;K<o;K+=1)s[K].animation.play($)}function F($){var K=$-a,B;for(B=0;B<o;B+=1)s[B].animation.advanceTime(K);a=$,u&&!S?window.requestAnimationFrame(F):P=!0}function R($){a=$,window.requestAnimationFrame(F)}function M($){var K;for(K=0;K<o;K+=1)s[K].animation.pause($)}function V($,K,B){var G;for(G=0;G<o;G+=1)s[G].animation.goToAndStop($,K,B)}function N($){var K;for(K=0;K<o;K+=1)s[K].animation.stop($)}function W($){var K;for(K=0;K<o;K+=1)s[K].animation.togglePause($)}function X($){var K;for(K=o-1;K>=0;K-=1)s[K].animation.destroy($)}function Y($,K,B){var G=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,Z=G.length;for(U=0;U<Z;U+=1)B&&G[U].setAttribute("data-bm-type",B),E(G[U],$);if(K&&Z===0){B||(B="svg");var ie=document.getElementsByTagName("body")[0];ie.innerText="";var le=createTag("div");le.style.width="100%",le.style.height="100%",le.setAttribute("data-bm-type",B),ie.appendChild(le),E(le,$)}}function J(){var $;for($=0;$<o;$+=1)s[$].animation.resize()}function re(){!S&&u&&P&&(window.requestAnimationFrame(R),P=!1)}function te(){S=!0}function ee(){S=!1,re()}function se($,K){var B;for(B=0;B<o;B+=1)s[B].animation.setVolume($,K)}function ne($){var K;for(K=0;K<o;K+=1)s[K].animation.mute($)}function Q($){var K;for(K=0;K<o;K+=1)s[K].animation.unmute($)}return i.registerAnimation=E,i.loadAnimation=O,i.setSpeed=D,i.setDirection=L,i.play=H,i.pause=M,i.stop=N,i.togglePause=W,i.searchAnimations=Y,i.resize=J,i.goToAndStop=V,i.destroy=X,i.freeze=te,i.unfreeze=ee,i.setVolume=se,i.mute=ne,i.unmute=Q,i.getRegisteredAnimations=_,i}(),BezierFactory=function(){var i={};i.getBezierEasing=a;var s={};function a(R,M,V,N,W){var X=W||("bez_"+R+"_"+M+"_"+V+"_"+N).replace(/\./g,"p");if(s[X])return s[X];var Y=new F([R,M,V,N]);return s[X]=Y,Y}var o=4,u=.001,P=1e-7,S=10,C=11,E=1/(C-1),_=typeof Float32Array=="function";function I(R,M){return 1-3*M+3*R}function j(R,M){return 3*M-6*R}function T(R){return 3*R}function O(R,M,V){return((I(M,V)*R+j(M,V))*R+T(M))*R}function D(R,M,V){return 3*I(M,V)*R*R+2*j(M,V)*R+T(M)}function L(R,M,V,N,W){var X,Y,J=0;do Y=M+(V-M)/2,X=O(Y,N,W)-R,X>0?V=Y:M=Y;while(Math.abs(X)>P&&++J<S);return Y}function H(R,M,V,N){for(var W=0;W<o;++W){var X=D(M,V,N);if(X===0)return M;var Y=O(M,V,N)-R;M-=Y/X}return M}function F(R){this._p=R,this._mSampleValues=_?new Float32Array(C):new Array(C),this._precomputed=!1,this.get=this.get.bind(this)}return F.prototype={get:function(M){var V=this._p[0],N=this._p[1],W=this._p[2],X=this._p[3];return this._precomputed||this._precompute(),V===N&&W===X?M:M===0?0:M===1?1:O(this._getTForX(M),N,X)},_precompute:function(){var M=this._p[0],V=this._p[1],N=this._p[2],W=this._p[3];this._precomputed=!0,(M!==V||N!==W)&&this._calcSampleValues()},_calcSampleValues:function(){for(var M=this._p[0],V=this._p[2],N=0;N<C;++N)this._mSampleValues[N]=O(N*E,M,V)},_getTForX:function(M){for(var V=this._p[0],N=this._p[2],W=this._mSampleValues,X=0,Y=1,J=C-1;Y!==J&&W[Y]<=M;++Y)X+=E;--Y;var re=(M-W[Y])/(W[Y+1]-W[Y]),te=X+re*E,ee=D(te,V,N);return ee>=u?H(M,te,V,N):ee===0?te:L(M,X,X+E,V,N)}},i}(),pooling=function(){function i(s){return s.concat(createSizedArray(s.length))}return{double:i}}(),poolFactory=function(){return function(i,s,a){var o=0,u=i,P=createSizedArray(u),S={newElement:C,release:E};function C(){var _;return o?(o-=1,_=P[o]):_=s(),_}function E(_){o===u&&(P=pooling.double(P),u*=2),a&&a(_),P[o]=_,o+=1}return S}}(),bezierLengthPool=function(){function i(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,i)}(),segmentsLengthPool=function(){function i(){return{lengths:[],totalLength:0}}function s(a){var o,u=a.lengths.length;for(o=0;o<u;o+=1)bezierLengthPool.release(a.lengths[o]);a.lengths.length=0}return poolFactory(8,i,s)}();function bezFunction(){var i=Math;function s(T,O,D,L,H,F){var R=T*L+O*H+D*F-H*L-F*T-D*O;return R>-.001&&R<.001}function a(T,O,D,L,H,F,R,M,V){if(D===0&&F===0&&V===0)return s(T,O,L,H,R,M);var N=i.sqrt(i.pow(L-T,2)+i.pow(H-O,2)+i.pow(F-D,2)),W=i.sqrt(i.pow(R-T,2)+i.pow(M-O,2)+i.pow(V-D,2)),X=i.sqrt(i.pow(R-L,2)+i.pow(M-H,2)+i.pow(V-F,2)),Y;return N>W?N>X?Y=N-W-X:Y=X-W-N:X>W?Y=X-W-N:Y=W-N-X,Y>-1e-4&&Y<1e-4}var o=function(){return function(T,O,D,L){var H=getDefaultCurveSegments(),F,R,M,V,N,W=0,X,Y=[],J=[],re=bezierLengthPool.newElement();for(M=D.length,F=0;F<H;F+=1){for(N=F/(H-1),X=0,R=0;R<M;R+=1)V=bmPow(1-N,3)*T[R]+3*bmPow(1-N,2)*N*D[R]+3*(1-N)*bmPow(N,2)*L[R]+bmPow(N,3)*O[R],Y[R]=V,J[R]!==null&&(X+=bmPow(Y[R]-J[R],2)),J[R]=Y[R];X&&(X=bmSqrt(X),W+=X),re.percents[F]=N,re.lengths[F]=W}return re.addedLength=W,re}}();function u(T){var O=segmentsLengthPool.newElement(),D=T.c,L=T.v,H=T.o,F=T.i,R,M=T._length,V=O.lengths,N=0;for(R=0;R<M-1;R+=1)V[R]=o(L[R],L[R+1],H[R],F[R+1]),N+=V[R].addedLength;return D&&M&&(V[R]=o(L[R],L[0],H[R],F[0]),N+=V[R].addedLength),O.totalLength=N,O}function P(T){this.segmentLength=0,this.points=new Array(T)}function S(T,O){this.partialLength=T,this.point=O}var C=function(){var T={};return function(O,D,L,H){var F=(O[0]+"_"+O[1]+"_"+D[0]+"_"+D[1]+"_"+L[0]+"_"+L[1]+"_"+H[0]+"_"+H[1]).replace(/\./g,"p");if(!T[F]){var R=getDefaultCurveSegments(),M,V,N,W,X,Y=0,J,re,te=null;O.length===2&&(O[0]!==D[0]||O[1]!==D[1])&&s(O[0],O[1],D[0],D[1],O[0]+L[0],O[1]+L[1])&&s(O[0],O[1],D[0],D[1],D[0]+H[0],D[1]+H[1])&&(R=2);var ee=new P(R);for(N=L.length,M=0;M<R;M+=1){for(re=createSizedArray(N),X=M/(R-1),J=0,V=0;V<N;V+=1)W=bmPow(1-X,3)*O[V]+3*bmPow(1-X,2)*X*(O[V]+L[V])+3*(1-X)*bmPow(X,2)*(D[V]+H[V])+bmPow(X,3)*D[V],re[V]=W,te!==null&&(J+=bmPow(re[V]-te[V],2));J=bmSqrt(J),Y+=J,ee.points[M]=new S(J,re),te=re}ee.segmentLength=Y,T[F]=ee}return T[F]}}();function E(T,O){var D=O.percents,L=O.lengths,H=D.length,F=bmFloor((H-1)*T),R=T*O.addedLength,M=0;if(F===H-1||F===0||R===L[F])return D[F];for(var V=L[F]>R?-1:1,N=!0;N;)if(L[F]<=R&&L[F+1]>R?(M=(R-L[F])/(L[F+1]-L[F]),N=!1):F+=V,F<0||F>=H-1){if(F===H-1)return D[F];N=!1}return D[F]+(D[F+1]-D[F])*M}function _(T,O,D,L,H,F){var R=E(H,F),M=1-R,V=i.round((M*M*M*T[0]+(R*M*M+M*R*M+M*M*R)*D[0]+(R*R*M+M*R*R+R*M*R)*L[0]+R*R*R*O[0])*1e3)/1e3,N=i.round((M*M*M*T[1]+(R*M*M+M*R*M+M*M*R)*D[1]+(R*R*M+M*R*R+R*M*R)*L[1]+R*R*R*O[1])*1e3)/1e3;return[V,N]}var I=createTypedArray("float32",8);function j(T,O,D,L,H,F,R){H<0?H=0:H>1&&(H=1);var M=E(H,R);F=F>1?1:F;var V=E(F,R),N,W=T.length,X=1-M,Y=1-V,J=X*X*X,re=M*X*X*3,te=M*M*X*3,ee=M*M*M,se=X*X*Y,ne=M*X*Y+X*M*Y+X*X*V,Q=M*M*Y+X*M*V+M*X*V,$=M*M*V,K=X*Y*Y,B=M*Y*Y+X*V*Y+X*Y*V,G=M*V*Y+X*V*V+M*Y*V,U=M*V*V,Z=Y*Y*Y,ie=V*Y*Y+Y*V*Y+Y*Y*V,le=V*V*Y+Y*V*V+V*Y*V,he=V*V*V;for(N=0;N<W;N+=1)I[N*4]=i.round((J*T[N]+re*D[N]+te*L[N]+ee*O[N])*1e3)/1e3,I[N*4+1]=i.round((se*T[N]+ne*D[N]+Q*L[N]+$*O[N])*1e3)/1e3,I[N*4+2]=i.round((K*T[N]+B*D[N]+G*L[N]+U*O[N])*1e3)/1e3,I[N*4+3]=i.round((Z*T[N]+ie*D[N]+le*L[N]+he*O[N])*1e3)/1e3;return I}return{getSegmentsLength:u,getNewSegment:j,getPointInSegment:_,buildBezierData:C,pointOnLine2D:s,pointOnLine3D:a}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(i,s){var a=this.offsetTime,o;this.propType==="multidimensional"&&(o=createTypedArray("float32",this.pv.length));for(var u=s.lastIndex,P=u,S=this.keyframes.length-1,C=!0,E,_,I;C;){if(E=this.keyframes[P],_=this.keyframes[P+1],P===S-1&&i>=_.t-a){E.h&&(E=_),u=0;break}if(_.t-a>i){u=P;break}P<S-1?P+=1:(u=0,C=!1)}I=this.keyframesMetadata[P]||{};var j,T,O,D,L,H,F=_.t-a,R=E.t-a,M;if(E.to){I.bezierData||(I.bezierData=bez.buildBezierData(E.s,_.s||E.e,E.to,E.ti));var V=I.bezierData;if(i>=F||i<R){var N=i>=F?V.points.length-1:0;for(T=V.points[N].point.length,j=0;j<T;j+=1)o[j]=V.points[N].point[j]}else{I.__fnct?H=I.__fnct:(H=BezierFactory.getBezierEasing(E.o.x,E.o.y,E.i.x,E.i.y,E.n).get,I.__fnct=H),O=H((i-R)/(F-R));var W=V.segmentLength*O,X,Y=s.lastFrame<i&&s._lastKeyframeIndex===P?s._lastAddedLength:0;for(L=s.lastFrame<i&&s._lastKeyframeIndex===P?s._lastPoint:0,C=!0,D=V.points.length;C;){if(Y+=V.points[L].partialLength,W===0||O===0||L===V.points.length-1){for(T=V.points[L].point.length,j=0;j<T;j+=1)o[j]=V.points[L].point[j];break}else if(W>=Y&&W<Y+V.points[L+1].partialLength){for(X=(W-Y)/V.points[L+1].partialLength,T=V.points[L].point.length,j=0;j<T;j+=1)o[j]=V.points[L].point[j]+(V.points[L+1].point[j]-V.points[L].point[j])*X;break}L<D-1?L+=1:C=!1}s._lastPoint=L,s._lastAddedLength=Y-V.points[L].partialLength,s._lastKeyframeIndex=P}}else{var J,re,te,ee,se;if(S=E.s.length,M=_.s||E.e,this.sh&&E.h!==1)if(i>=F)o[0]=M[0],o[1]=M[1],o[2]=M[2];else if(i<=R)o[0]=E.s[0],o[1]=E.s[1],o[2]=E.s[2];else{var ne=createQuaternion(E.s),Q=createQuaternion(M),$=(i-R)/(F-R);quaternionToEuler(o,slerp(ne,Q,$))}else for(P=0;P<S;P+=1)E.h!==1&&(i>=F?O=1:i<R?O=0:(E.o.x.constructor===Array?(I.__fnct||(I.__fnct=[]),I.__fnct[P]?H=I.__fnct[P]:(J=E.o.x[P]===void 0?E.o.x[0]:E.o.x[P],re=E.o.y[P]===void 0?E.o.y[0]:E.o.y[P],te=E.i.x[P]===void 0?E.i.x[0]:E.i.x[P],ee=E.i.y[P]===void 0?E.i.y[0]:E.i.y[P],H=BezierFactory.getBezierEasing(J,re,te,ee).get,I.__fnct[P]=H)):I.__fnct?H=I.__fnct:(J=E.o.x,re=E.o.y,te=E.i.x,ee=E.i.y,H=BezierFactory.getBezierEasing(J,re,te,ee).get,E.keyframeMetadata=H),O=H((i-R)/(F-R)))),M=_.s||E.e,se=E.h===1?E.s[P]:E.s[P]+(M[P]-E.s[P])*O,this.propType==="multidimensional"?o[P]=se:o=se}return s.lastIndex=u,o}function slerp(i,s,a){var o=[],u=i[0],P=i[1],S=i[2],C=i[3],E=s[0],_=s[1],I=s[2],j=s[3],T,O,D,L,H;return O=u*E+P*_+S*I+C*j,O<0&&(O=-O,E=-E,_=-_,I=-I,j=-j),1-O>1e-6?(T=Math.acos(O),D=Math.sin(T),L=Math.sin((1-a)*T)/D,H=Math.sin(a*T)/D):(L=1-a,H=a),o[0]=L*u+H*E,o[1]=L*P+H*_,o[2]=L*S+H*I,o[3]=L*C+H*j,o}function quaternionToEuler(i,s){var a=s[0],o=s[1],u=s[2],P=s[3],S=Math.atan2(2*o*P-2*a*u,1-2*o*o-2*u*u),C=Math.asin(2*a*o+2*u*P),E=Math.atan2(2*a*P-2*o*u,1-2*a*a-2*u*u);i[0]=S/degToRads,i[1]=C/degToRads,i[2]=E/degToRads}function createQuaternion(i){var s=i[0]*degToRads,a=i[1]*degToRads,o=i[2]*degToRads,u=Math.cos(s/2),P=Math.cos(a/2),S=Math.cos(o/2),C=Math.sin(s/2),E=Math.sin(a/2),_=Math.sin(o/2),I=u*P*S-C*E*_,j=C*E*S+u*P*_,T=C*P*S+u*E*_,O=u*E*S-C*P*_;return[j,T,O,I]}function getValueAtCurrentTime(){var i=this.comp.renderedFrame-this.offsetTime,s=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(i===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=a&&i>=a||this._caching.lastFrame<s&&i<s))){this._caching.lastFrame>=i&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var o=this.interpolateValue(i,this._caching);this.pv=o}return this._caching.lastFrame=i,this.pv}function setVValue(i){var s;if(this.propType==="unidimensional")s=i*this.mult,mathAbs(this.v-s)>1e-5&&(this.v=s,this._mdf=!0);else for(var a=0,o=this.v.length;a<o;)s=i[a]*this.mult,mathAbs(this.v[a]-s)>1e-5&&(this.v[a]=s,this._mdf=!0),a+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var i,s=this.effectsSequence.length,a=this.kf?this.pv:this.data.k;for(i=0;i<s;i+=1)a=this.effectsSequence[i](a);this.setVValue(a),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(i){this.effectsSequence.push(i),this.container.addDynamicProperty(this)}function ValueProperty(i,s,a,o){this.propType="unidimensional",this.mult=a||1,this.data=s,this.v=a?s.k*a:s.k,this.pv=s.k,this._mdf=!1,this.elem=i,this.container=o,this.comp=i.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(i,s,a,o){this.propType="multidimensional",this.mult=a||1,this.data=s,this._mdf=!1,this.elem=i,this.container=o,this.comp=i.comp,this.k=!1,this.kf=!1,this.frameId=-1;var u,P=s.k.length;for(this.v=createTypedArray("float32",P),this.pv=createTypedArray("float32",P),this.vel=createTypedArray("float32",P),u=0;u<P;u+=1)this.v[u]=s.k[u]*this.mult,this.pv[u]=s.k[u];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(i,s,a,o){this.propType="unidimensional",this.keyframes=s.k,this.keyframesMetadata=[],this.offsetTime=i.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=s,this.mult=a||1,this.elem=i,this.container=o,this.comp=i.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(i,s,a,o){this.propType="multidimensional";var u,P=s.k.length,S,C,E,_;for(u=0;u<P-1;u+=1)s.k[u].to&&s.k[u].s&&s.k[u+1]&&s.k[u+1].s&&(S=s.k[u].s,C=s.k[u+1].s,E=s.k[u].to,_=s.k[u].ti,(S.length===2&&!(S[0]===C[0]&&S[1]===C[1])&&bez.pointOnLine2D(S[0],S[1],C[0],C[1],S[0]+E[0],S[1]+E[1])&&bez.pointOnLine2D(S[0],S[1],C[0],C[1],C[0]+_[0],C[1]+_[1])||S.length===3&&!(S[0]===C[0]&&S[1]===C[1]&&S[2]===C[2])&&bez.pointOnLine3D(S[0],S[1],S[2],C[0],C[1],C[2],S[0]+E[0],S[1]+E[1],S[2]+E[2])&&bez.pointOnLine3D(S[0],S[1],S[2],C[0],C[1],C[2],C[0]+_[0],C[1]+_[1],C[2]+_[2]))&&(s.k[u].to=null,s.k[u].ti=null),S[0]===C[0]&&S[1]===C[1]&&E[0]===0&&E[1]===0&&_[0]===0&&_[1]===0&&(S.length===2||S[2]===C[2]&&E[2]===0&&_[2]===0)&&(s.k[u].to=null,s.k[u].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=s,this.keyframes=s.k,this.keyframesMetadata=[],this.offsetTime=i.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=a||1,this.elem=i,this.container=o,this.comp=i.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var I=s.k[0].s.length;for(this.v=createTypedArray("float32",I),this.pv=createTypedArray("float32",I),u=0;u<I;u+=1)this.v[u]=initFrame,this.pv[u]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",I)},this.addEffect=addEffect}var PropertyFactory=function(){function i(a,o,u,P,S){o.sid&&(o=a.globalData.slotManager.getProp(o));var C;if(!o.k.length)C=new ValueProperty(a,o,P,S);else if(typeof o.k[0]=="number")C=new MultiDimensionalProperty(a,o,P,S);else switch(u){case 0:C=new KeyframedValueProperty(a,o,P,S);break;case 1:C=new KeyframedMultidimensionalProperty(a,o,P,S);break}return C.effectsSequence.length&&S.addDynamicProperty(C),C}var s={getProp:i};return s}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(s){this.dynamicProperties.indexOf(s)===-1&&(this.dynamicProperties.push(s),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var s,a=this.dynamicProperties.length;for(s=0;s<a;s+=1)this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(s){this.container=s,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function i(){return createTypedArray("float32",2)}return poolFactory(8,i)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(i,s){this.c=i,this.setLength(s);for(var a=0;a<s;)this.v[a]=pointPool.newElement(),this.o[a]=pointPool.newElement(),this.i[a]=pointPool.newElement(),a+=1},ShapePath.prototype.setLength=function(i){for(;this._maxLength<i;)this.doubleArrayLength();this._length=i},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(i,s,a,o,u){var P;switch(this._length=Math.max(this._length,o+1),this._length>=this._maxLength&&this.doubleArrayLength(),a){case"v":P=this.v;break;case"i":P=this.i;break;case"o":P=this.o;break;default:P=[];break}(!P[o]||P[o]&&!u)&&(P[o]=pointPool.newElement()),P[o][0]=i,P[o][1]=s},ShapePath.prototype.setTripleAt=function(i,s,a,o,u,P,S,C){this.setXYAt(i,s,"v",S,C),this.setXYAt(a,o,"o",S,C),this.setXYAt(u,P,"i",S,C)},ShapePath.prototype.reverse=function(){var i=new ShapePath;i.setPathData(this.c,this._length);var s=this.v,a=this.o,o=this.i,u=0;this.c&&(i.setTripleAt(s[0][0],s[0][1],o[0][0],o[0][1],a[0][0],a[0][1],0,!1),u=1);var P=this._length-1,S=this._length,C;for(C=u;C<S;C+=1)i.setTripleAt(s[P][0],s[P][1],o[P][0],o[P][1],a[P][0],a[P][1],C,!1),P-=1;return i},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function i(){return new ShapePath}function s(u){var P=u._length,S;for(S=0;S<P;S+=1)pointPool.release(u.v[S]),pointPool.release(u.i[S]),pointPool.release(u.o[S]),u.v[S]=null,u.i[S]=null,u.o[S]=null;u._length=0,u.c=!1}function a(u){var P=o.newElement(),S,C=u._length===void 0?u.v.length:u._length;for(P.setLength(C),P.c=u.c,S=0;S<C;S+=1)P.setTripleAt(u.v[S][0],u.v[S][1],u.o[S][0],u.o[S][1],u.i[S][0],u.i[S][1],S);return P}var o=poolFactory(4,i,s);return o.clone=a,o}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(i){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=i,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var i;for(i=0;i<this._length;i+=1)shapePool.release(this.shapes[i]);this._length=0};var shapeCollectionPool=function(){var i={newShapeCollection:u,release:P},s=0,a=4,o=createSizedArray(a);function u(){var S;return s?(s-=1,S=o[s]):S=new ShapeCollection,S}function P(S){var C,E=S._length;for(C=0;C<E;C+=1)shapePool.release(S.shapes[C]);S._length=0,s===a&&(o=pooling.double(o),a*=2),o[s]=S,s+=1}return i}(),ShapePropertyFactory=function(){var i=-999999;function s(F,R,M){var V=M.lastIndex,N,W,X,Y,J,re,te,ee,se,ne=this.keyframes;if(F<ne[0].t-this.offsetTime)N=ne[0].s[0],X=!0,V=0;else if(F>=ne[ne.length-1].t-this.offsetTime)N=ne[ne.length-1].s?ne[ne.length-1].s[0]:ne[ne.length-2].e[0],X=!0;else{for(var Q=V,$=ne.length-1,K=!0,B,G,U;K&&(B=ne[Q],G=ne[Q+1],!(G.t-this.offsetTime>F));)Q<$-1?Q+=1:K=!1;if(U=this.keyframesMetadata[Q]||{},X=B.h===1,V=Q,!X){if(F>=G.t-this.offsetTime)ee=1;else if(F<B.t-this.offsetTime)ee=0;else{var Z;U.__fnct?Z=U.__fnct:(Z=BezierFactory.getBezierEasing(B.o.x,B.o.y,B.i.x,B.i.y).get,U.__fnct=Z),ee=Z((F-(B.t-this.offsetTime))/(G.t-this.offsetTime-(B.t-this.offsetTime)))}W=G.s?G.s[0]:B.e[0]}N=B.s[0]}for(re=R._length,te=N.i[0].length,M.lastIndex=V,Y=0;Y<re;Y+=1)for(J=0;J<te;J+=1)se=X?N.i[Y][J]:N.i[Y][J]+(W.i[Y][J]-N.i[Y][J])*ee,R.i[Y][J]=se,se=X?N.o[Y][J]:N.o[Y][J]+(W.o[Y][J]-N.o[Y][J])*ee,R.o[Y][J]=se,se=X?N.v[Y][J]:N.v[Y][J]+(W.v[Y][J]-N.v[Y][J])*ee,R.v[Y][J]=se}function a(){var F=this.comp.renderedFrame-this.offsetTime,R=this.keyframes[0].t-this.offsetTime,M=this.keyframes[this.keyframes.length-1].t-this.offsetTime,V=this._caching.lastFrame;return V!==i&&(V<R&&F<R||V>M&&F>M)||(this._caching.lastIndex=V<F?this._caching.lastIndex:0,this.interpolateShape(F,this.pv,this._caching)),this._caching.lastFrame=F,this.pv}function o(){this.paths=this.localShapeCollection}function u(F,R){if(F._length!==R._length||F.c!==R.c)return!1;var M,V=F._length;for(M=0;M<V;M+=1)if(F.v[M][0]!==R.v[M][0]||F.v[M][1]!==R.v[M][1]||F.o[M][0]!==R.o[M][0]||F.o[M][1]!==R.o[M][1]||F.i[M][0]!==R.i[M][0]||F.i[M][1]!==R.i[M][1])return!1;return!0}function P(F){u(this.v,F)||(this.v=shapePool.clone(F),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function S(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var F;this.kf?F=this.pv:this.data.ks?F=this.data.ks.k:F=this.data.pt.k;var R,M=this.effectsSequence.length;for(R=0;R<M;R+=1)F=this.effectsSequence[R](F);this.setVValue(F),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function C(F,R,M){this.propType="shape",this.comp=F.comp,this.container=F,this.elem=F,this.data=R,this.k=!1,this.kf=!1,this._mdf=!1;var V=M===3?R.pt.k:R.ks.k;this.v=shapePool.clone(V),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=o,this.effectsSequence=[]}function E(F){this.effectsSequence.push(F),this.container.addDynamicProperty(this)}C.prototype.interpolateShape=s,C.prototype.getValue=S,C.prototype.setVValue=P,C.prototype.addEffect=E;function _(F,R,M){this.propType="shape",this.comp=F.comp,this.elem=F,this.container=F,this.offsetTime=F.data.st,this.keyframes=M===3?R.pt.k:R.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var V=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,V),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=i,this.reset=o,this._caching={lastFrame:i,lastIndex:0},this.effectsSequence=[a.bind(this)]}_.prototype.getValue=S,_.prototype.interpolateShape=s,_.prototype.setVValue=P,_.prototype.addEffect=E;var I=function(){var F=roundCorner;function R(M,V){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=V.d,this.elem=M,this.comp=M.comp,this.frameId=-1,this.initDynamicPropertyContainer(M),this.p=PropertyFactory.getProp(M,V.p,1,0,this),this.s=PropertyFactory.getProp(M,V.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return R.prototype={reset:o,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var V=this.p.v[0],N=this.p.v[1],W=this.s.v[0]/2,X=this.s.v[1]/2,Y=this.d!==3,J=this.v;J.v[0][0]=V,J.v[0][1]=N-X,J.v[1][0]=Y?V+W:V-W,J.v[1][1]=N,J.v[2][0]=V,J.v[2][1]=N+X,J.v[3][0]=Y?V-W:V+W,J.v[3][1]=N,J.i[0][0]=Y?V-W*F:V+W*F,J.i[0][1]=N-X,J.i[1][0]=Y?V+W:V-W,J.i[1][1]=N-X*F,J.i[2][0]=Y?V+W*F:V-W*F,J.i[2][1]=N+X,J.i[3][0]=Y?V-W:V+W,J.i[3][1]=N+X*F,J.o[0][0]=Y?V+W*F:V-W*F,J.o[0][1]=N-X,J.o[1][0]=Y?V+W:V-W,J.o[1][1]=N+X*F,J.o[2][0]=Y?V-W*F:V+W*F,J.o[2][1]=N+X,J.o[3][0]=Y?V-W:V+W,J.o[3][1]=N-X*F}},extendPrototype([DynamicPropertyContainer],R),R}(),j=function(){function F(R,M){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=R,this.comp=R.comp,this.data=M,this.frameId=-1,this.d=M.d,this.initDynamicPropertyContainer(R),M.sy===1?(this.ir=PropertyFactory.getProp(R,M.ir,0,0,this),this.is=PropertyFactory.getProp(R,M.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(R,M.pt,0,0,this),this.p=PropertyFactory.getProp(R,M.p,1,0,this),this.r=PropertyFactory.getProp(R,M.r,0,degToRads,this),this.or=PropertyFactory.getProp(R,M.or,0,0,this),this.os=PropertyFactory.getProp(R,M.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return F.prototype={reset:o,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var M=Math.floor(this.pt.v)*2,V=Math.PI*2/M,N=!0,W=this.or.v,X=this.ir.v,Y=this.os.v,J=this.is.v,re=2*Math.PI*W/(M*2),te=2*Math.PI*X/(M*2),ee,se,ne,Q,$=-Math.PI/2;$+=this.r.v;var K=this.data.d===3?-1:1;for(this.v._length=0,ee=0;ee<M;ee+=1){se=N?W:X,ne=N?Y:J,Q=N?re:te;var B=se*Math.cos($),G=se*Math.sin($),U=B===0&&G===0?0:G/Math.sqrt(B*B+G*G),Z=B===0&&G===0?0:-B/Math.sqrt(B*B+G*G);B+=+this.p.v[0],G+=+this.p.v[1],this.v.setTripleAt(B,G,B-U*Q*ne*K,G-Z*Q*ne*K,B+U*Q*ne*K,G+Z*Q*ne*K,ee,!0),N=!N,$+=V*K}},convertPolygonToPath:function(){var M=Math.floor(this.pt.v),V=Math.PI*2/M,N=this.or.v,W=this.os.v,X=2*Math.PI*N/(M*4),Y,J=-Math.PI*.5,re=this.data.d===3?-1:1;for(J+=this.r.v,this.v._length=0,Y=0;Y<M;Y+=1){var te=N*Math.cos(J),ee=N*Math.sin(J),se=te===0&&ee===0?0:ee/Math.sqrt(te*te+ee*ee),ne=te===0&&ee===0?0:-te/Math.sqrt(te*te+ee*ee);te+=+this.p.v[0],ee+=+this.p.v[1],this.v.setTripleAt(te,ee,te-se*X*W*re,ee-ne*X*W*re,te+se*X*W*re,ee+ne*X*W*re,Y,!0),J+=V*re}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],F),F}(),T=function(){function F(R,M){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=R,this.comp=R.comp,this.frameId=-1,this.d=M.d,this.initDynamicPropertyContainer(R),this.p=PropertyFactory.getProp(R,M.p,1,0,this),this.s=PropertyFactory.getProp(R,M.s,1,0,this),this.r=PropertyFactory.getProp(R,M.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return F.prototype={convertRectToPath:function(){var M=this.p.v[0],V=this.p.v[1],N=this.s.v[0]/2,W=this.s.v[1]/2,X=bmMin(N,W,this.r.v),Y=X*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(M+N,V-W+X,M+N,V-W+X,M+N,V-W+Y,0,!0),this.v.setTripleAt(M+N,V+W-X,M+N,V+W-Y,M+N,V+W-X,1,!0),X!==0?(this.v.setTripleAt(M+N-X,V+W,M+N-X,V+W,M+N-Y,V+W,2,!0),this.v.setTripleAt(M-N+X,V+W,M-N+Y,V+W,M-N+X,V+W,3,!0),this.v.setTripleAt(M-N,V+W-X,M-N,V+W-X,M-N,V+W-Y,4,!0),this.v.setTripleAt(M-N,V-W+X,M-N,V-W+Y,M-N,V-W+X,5,!0),this.v.setTripleAt(M-N+X,V-W,M-N+X,V-W,M-N+Y,V-W,6,!0),this.v.setTripleAt(M+N-X,V-W,M+N-Y,V-W,M+N-X,V-W,7,!0)):(this.v.setTripleAt(M-N,V+W,M-N+Y,V+W,M-N,V+W,2),this.v.setTripleAt(M-N,V-W,M-N,V-W+Y,M-N,V-W,3))):(this.v.setTripleAt(M+N,V-W+X,M+N,V-W+Y,M+N,V-W+X,0,!0),X!==0?(this.v.setTripleAt(M+N-X,V-W,M+N-X,V-W,M+N-Y,V-W,1,!0),this.v.setTripleAt(M-N+X,V-W,M-N+Y,V-W,M-N+X,V-W,2,!0),this.v.setTripleAt(M-N,V-W+X,M-N,V-W+X,M-N,V-W+Y,3,!0),this.v.setTripleAt(M-N,V+W-X,M-N,V+W-Y,M-N,V+W-X,4,!0),this.v.setTripleAt(M-N+X,V+W,M-N+X,V+W,M-N+Y,V+W,5,!0),this.v.setTripleAt(M+N-X,V+W,M+N-Y,V+W,M+N-X,V+W,6,!0),this.v.setTripleAt(M+N,V+W-X,M+N,V+W-X,M+N,V+W-Y,7,!0)):(this.v.setTripleAt(M-N,V-W,M-N+Y,V-W,M-N,V-W,1,!0),this.v.setTripleAt(M-N,V+W,M-N,V+W-Y,M-N,V+W,2,!0),this.v.setTripleAt(M+N,V+W,M+N-Y,V+W,M+N,V+W,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:o},extendPrototype([DynamicPropertyContainer],F),F}();function O(F,R,M){var V;if(M===3||M===4){var N=M===3?R.pt:R.ks,W=N.k;W.length?V=new _(F,R,M):V=new C(F,R,M)}else M===5?V=new T(F,R):M===6?V=new I(F,R):M===7&&(V=new j(F,R));return V.k&&F.addDynamicProperty(V),V}function D(){return C}function L(){return _}var H={};return H.getShapeProp=O,H.getConstructorFunction=D,H.getKeyframedConstructorFunction=L,H}();/*!
629
+ `;var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(i,s){module.exports=s()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(s){_useWebWorker=!!s},getWebWorker=function(){return _useWebWorker},setLocationHref=function(s){locationHref=s},getLocationHref=function(){return locationHref};function createTag(i){return document.createElement(i)}function extendPrototype(i,s){var a,o=i.length,u;for(a=0;a<o;a+=1){u=i[a].prototype;for(var S in u)Object.prototype.hasOwnProperty.call(u,S)&&(s.prototype[S]=u[S])}}function getDescriptor(i,s){return Object.getOwnPropertyDescriptor(i,s)}function createProxyFunction(i){function s(){}return s.prototype=i,s}var audioControllerFactory=function(){function i(s){this.audios=[],this.audioFactory=s,this._volume=1,this._isMuted=!1}return i.prototype={addAudio:function(a){this.audios.push(a)},pause:function(){var a,o=this.audios.length;for(a=0;a<o;a+=1)this.audios[a].pause()},resume:function(){var a,o=this.audios.length;for(a=0;a<o;a+=1)this.audios[a].resume()},setRate:function(a){var o,u=this.audios.length;for(o=0;o<u;o+=1)this.audios[o].setRate(a)},createAudio:function(a){return this.audioFactory?this.audioFactory(a):window.Howl?new window.Howl({src:[a]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(a){this.audioFactory=a},setVolume:function(a){this._volume=a,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var a,o=this.audios.length;for(a=0;a<o;a+=1)this.audios[a].volume(this._volume*(this._isMuted?0:1))}},function(){return new i}}(),createTypedArray=function(){function i(a,o){var u=0,S=[],P;switch(a){case"int16":case"uint8c":P=1;break;default:P=1.1;break}for(u=0;u<o;u+=1)S.push(P);return S}function s(a,o){return a==="float32"?new Float32Array(o):a==="int16"?new Int16Array(o):a==="uint8c"?new Uint8ClampedArray(o):i(a,o)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?s:i}();function createSizedArray(i){return Array.apply(null,{length:i})}function _typeof$6(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(a){return typeof a}:_typeof$6=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$6(i)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var i=["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"],s,a=i.length;for(s=0;s<a;s+=1)BMMath[i[s]]=Math[i[s]]})(),BMMath.random=Math.random,BMMath.abs=function(i){var s=_typeof$6(i);if(s==="object"&&i.length){var a=createSizedArray(i.length),o,u=i.length;for(o=0;o<u;o+=1)a[o]=Math.abs(i[o]);return a}return Math.abs(i)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function styleDiv(i){i.style.position="absolute",i.style.top=0,i.style.left=0,i.style.display="block",i.style.transformOrigin="0 0",i.style.webkitTransformOrigin="0 0",i.style.backfaceVisibility="visible",i.style.webkitBackfaceVisibility="visible",i.style.transformStyle="preserve-3d",i.style.webkitTransformStyle="preserve-3d",i.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(i,s,a,o){this.type=i,this.currentTime=s,this.totalTime=a,this.direction=o<0?-1:1}function BMCompleteEvent(i,s){this.type=i,this.direction=s<0?-1:1}function BMCompleteLoopEvent(i,s,a,o){this.type=i,this.currentLoop=a,this.totalLoops=s,this.direction=o<0?-1:1}function BMSegmentStartEvent(i,s,a){this.type=i,this.firstFrame=s,this.totalFrames=a}function BMDestroyEvent(i,s){this.type=i,this.target=s}function BMRenderFrameErrorEvent(i,s){this.type="renderFrameError",this.nativeError=i,this.currentTime=s}function BMConfigErrorEvent(i){this.type="configError",this.nativeError=i}var createElementID=function(){var i=0;return function(){return i+=1,idPrefix$1+"__lottie_element_"+i}}();function HSVtoRGB(i,s,a){var o,u,S,P,C,E,_,I;switch(P=Math.floor(i*6),C=i*6-P,E=a*(1-s),_=a*(1-C*s),I=a*(1-(1-C)*s),P%6){case 0:o=a,u=I,S=E;break;case 1:o=_,u=a,S=E;break;case 2:o=E,u=a,S=I;break;case 3:o=E,u=_,S=a;break;case 4:o=I,u=E,S=a;break;case 5:o=a,u=E,S=_;break}return[o,u,S]}function RGBtoHSV(i,s,a){var o=Math.max(i,s,a),u=Math.min(i,s,a),S=o-u,P,C=o===0?0:S/o,E=o/255;switch(o){case u:P=0;break;case i:P=s-a+S*(s<a?6:0),P/=6*S;break;case s:P=a-i+S*2,P/=6*S;break;case a:P=i-s+S*4,P/=6*S;break}return[P,C,E]}function addSaturationToRGB(i,s){var a=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return a[1]+=s,a[1]>1?a[1]=1:a[1]<=0&&(a[1]=0),HSVtoRGB(a[0],a[1],a[2])}function addBrightnessToRGB(i,s){var a=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return a[2]+=s,a[2]>1?a[2]=1:a[2]<0&&(a[2]=0),HSVtoRGB(a[0],a[1],a[2])}function addHueToRGB(i,s){var a=RGBtoHSV(i[0]*255,i[1]*255,i[2]*255);return a[0]+=s/360,a[0]>1?a[0]-=1:a[0]<0&&(a[0]+=1),HSVtoRGB(a[0],a[1],a[2])}var rgbToHex=function(){var i=[],s,a;for(s=0;s<256;s+=1)a=s.toString(16),i[s]=a.length===1?"0"+a:a;return function(o,u,S){return o<0&&(o=0),u<0&&(u=0),S<0&&(S=0),"#"+i[o]+i[u]+i[S]}}(),setSubframeEnabled=function(s){subframeEnabled=!!s},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(s){expressionsPlugin=s},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(s){expressionsInterfaces=s},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(s){defaultCurveSegments=s},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(s){idPrefix$1=s};function createNS(i){return document.createElementNS(svgNS,i)}function _typeof$5(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(a){return typeof a}:_typeof$5=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$5(i)}var dataManager=function(){var i=1,s=[],a,o,u={onmessage:function(){},postMessage:function(O){a({data:O})}},S={postMessage:function(O){u.onmessage({data:O})}};function P(T){if(window.Worker&&window.Blob&&getWebWorker()){var O=new Blob(["var _workerSelf = self; self.onmessage = ",T.toString()],{type:"text/javascript"}),D=URL.createObjectURL(O);return new Worker(D)}return a=T,u}function C(){o||(o=P(function(O){function D(){function H(Q,$){var K,B,G=Q.length,U,Z,ie,le;for(B=0;B<G;B+=1)if(K=Q[B],"ks"in K&&!K.completed){if(K.completed=!0,K.hasMask){var he=K.masksProperties;for(Z=he.length,U=0;U<Z;U+=1)if(he[U].pt.k.i)N(he[U].pt.k);else for(le=he[U].pt.k.length,ie=0;ie<le;ie+=1)he[U].pt.k[ie].s&&N(he[U].pt.k[ie].s[0]),he[U].pt.k[ie].e&&N(he[U].pt.k[ie].e[0])}K.ty===0?(K.layers=M(K.refId,$),H(K.layers,$)):K.ty===4?V(K.shapes):K.ty===5&&se(K)}}function F(Q,$){if(Q){var K=0,B=Q.length;for(K=0;K<B;K+=1)Q[K].t===1&&(Q[K].data.layers=M(Q[K].data.refId,$),H(Q[K].data.layers,$))}}function R(Q,$){for(var K=0,B=$.length;K<B;){if($[K].id===Q)return $[K];K+=1}return null}function M(Q,$){var K=R(Q,$);return K?K.layers.__used?JSON.parse(JSON.stringify(K.layers)):(K.layers.__used=!0,K.layers):null}function V(Q){var $,K=Q.length,B,G;for($=K-1;$>=0;$-=1)if(Q[$].ty==="sh")if(Q[$].ks.k.i)N(Q[$].ks.k);else for(G=Q[$].ks.k.length,B=0;B<G;B+=1)Q[$].ks.k[B].s&&N(Q[$].ks.k[B].s[0]),Q[$].ks.k[B].e&&N(Q[$].ks.k[B].e[0]);else Q[$].ty==="gr"&&V(Q[$].it)}function N(Q){var $,K=Q.i.length;for($=0;$<K;$+=1)Q.i[$][0]+=Q.v[$][0],Q.i[$][1]+=Q.v[$][1],Q.o[$][0]+=Q.v[$][0],Q.o[$][1]+=Q.v[$][1]}function W(Q,$){var K=$?$.split("."):[100,100,100];return Q[0]>K[0]?!0:K[0]>Q[0]?!1:Q[1]>K[1]?!0:K[1]>Q[1]?!1:Q[2]>K[2]?!0:K[2]>Q[2]?!1:null}var X=function(){var Q=[4,4,14];function $(B){var G=B.t.d;B.t.d={k:[{s:G,t:0}]}}function K(B){var G,U=B.length;for(G=0;G<U;G+=1)B[G].ty===5&&$(B[G])}return function(B){if(W(Q,B.v)&&(K(B.layers),B.assets)){var G,U=B.assets.length;for(G=0;G<U;G+=1)B.assets[G].layers&&K(B.assets[G].layers)}}}(),Y=function(){var Q=[4,7,99];return function($){if($.chars&&!W(Q,$.v)){var K,B=$.chars.length;for(K=0;K<B;K+=1){var G=$.chars[K];G.data&&G.data.shapes&&(V(G.data.shapes),G.data.ip=0,G.data.op=99999,G.data.st=0,G.data.sr=1,G.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},$.chars[K].t||(G.data.shapes.push({ty:"no"}),G.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}}(),J=function(){var Q=[5,7,15];function $(B){var G=B.t.p;typeof G.a=="number"&&(G.a={a:0,k:G.a}),typeof G.p=="number"&&(G.p={a:0,k:G.p}),typeof G.r=="number"&&(G.r={a:0,k:G.r})}function K(B){var G,U=B.length;for(G=0;G<U;G+=1)B[G].ty===5&&$(B[G])}return function(B){if(W(Q,B.v)&&(K(B.layers),B.assets)){var G,U=B.assets.length;for(G=0;G<U;G+=1)B.assets[G].layers&&K(B.assets[G].layers)}}}(),re=function(){var Q=[4,1,9];function $(B){var G,U=B.length,Z,ie;for(G=0;G<U;G+=1)if(B[G].ty==="gr")$(B[G].it);else if(B[G].ty==="fl"||B[G].ty==="st")if(B[G].c.k&&B[G].c.k[0].i)for(ie=B[G].c.k.length,Z=0;Z<ie;Z+=1)B[G].c.k[Z].s&&(B[G].c.k[Z].s[0]/=255,B[G].c.k[Z].s[1]/=255,B[G].c.k[Z].s[2]/=255,B[G].c.k[Z].s[3]/=255),B[G].c.k[Z].e&&(B[G].c.k[Z].e[0]/=255,B[G].c.k[Z].e[1]/=255,B[G].c.k[Z].e[2]/=255,B[G].c.k[Z].e[3]/=255);else B[G].c.k[0]/=255,B[G].c.k[1]/=255,B[G].c.k[2]/=255,B[G].c.k[3]/=255}function K(B){var G,U=B.length;for(G=0;G<U;G+=1)B[G].ty===4&&$(B[G].shapes)}return function(B){if(W(Q,B.v)&&(K(B.layers),B.assets)){var G,U=B.assets.length;for(G=0;G<U;G+=1)B.assets[G].layers&&K(B.assets[G].layers)}}}(),te=function(){var Q=[4,4,18];function $(B){var G,U=B.length,Z,ie;for(G=U-1;G>=0;G-=1)if(B[G].ty==="sh")if(B[G].ks.k.i)B[G].ks.k.c=B[G].closed;else for(ie=B[G].ks.k.length,Z=0;Z<ie;Z+=1)B[G].ks.k[Z].s&&(B[G].ks.k[Z].s[0].c=B[G].closed),B[G].ks.k[Z].e&&(B[G].ks.k[Z].e[0].c=B[G].closed);else B[G].ty==="gr"&&$(B[G].it)}function K(B){var G,U,Z=B.length,ie,le,he,fe;for(U=0;U<Z;U+=1){if(G=B[U],G.hasMask){var oe=G.masksProperties;for(le=oe.length,ie=0;ie<le;ie+=1)if(oe[ie].pt.k.i)oe[ie].pt.k.c=oe[ie].cl;else for(fe=oe[ie].pt.k.length,he=0;he<fe;he+=1)oe[ie].pt.k[he].s&&(oe[ie].pt.k[he].s[0].c=oe[ie].cl),oe[ie].pt.k[he].e&&(oe[ie].pt.k[he].e[0].c=oe[ie].cl)}G.ty===4&&$(G.shapes)}}return function(B){if(W(Q,B.v)&&(K(B.layers),B.assets)){var G,U=B.assets.length;for(G=0;G<U;G+=1)B.assets[G].layers&&K(B.assets[G].layers)}}}();function ee(Q){Q.__complete||(re(Q),X(Q),Y(Q),J(Q),te(Q),H(Q.layers,Q.assets),F(Q.chars,Q.assets),Q.__complete=!0)}function se(Q){Q.t.a.length===0&&"m"in Q.t.p}var ne={};return ne.completeData=ee,ne.checkColors=re,ne.checkChars=Y,ne.checkPathProperties=J,ne.checkShapes=te,ne.completeLayers=H,ne}if(S.dataManager||(S.dataManager=D()),S.assetLoader||(S.assetLoader=function(){function H(R){var M=R.getResponseHeader("content-type");return M&&R.responseType==="json"&&M.indexOf("json")!==-1||R.response&&_typeof$5(R.response)==="object"?R.response:R.response&&typeof R.response=="string"?JSON.parse(R.response):R.responseText?JSON.parse(R.responseText):null}function F(R,M,V,N){var W,X=new XMLHttpRequest;try{X.responseType="json"}catch{}X.onreadystatechange=function(){if(X.readyState===4)if(X.status===200)W=H(X),V(W);else try{W=H(X),V(W)}catch(Y){N&&N(Y)}};try{X.open(["G","E","T"].join(""),R,!0)}catch{X.open(["G","E","T"].join(""),M+"/"+R,!0)}X.send()}return{load:F}}()),O.data.type==="loadAnimation")S.assetLoader.load(O.data.path,O.data.fullPath,function(H){S.dataManager.completeData(H),S.postMessage({id:O.data.id,payload:H,status:"success"})},function(){S.postMessage({id:O.data.id,status:"error"})});else if(O.data.type==="complete"){var L=O.data.animation;S.dataManager.completeData(L),S.postMessage({id:O.data.id,payload:L,status:"success"})}else O.data.type==="loadData"&&S.assetLoader.load(O.data.path,O.data.fullPath,function(H){S.postMessage({id:O.data.id,payload:H,status:"success"})},function(){S.postMessage({id:O.data.id,status:"error"})})}),o.onmessage=function(T){var O=T.data,D=O.id,L=s[D];s[D]=null,O.status==="success"?L.onComplete(O.payload):L.onError&&L.onError()})}function E(T,O){i+=1;var D="processId_"+i;return s[D]={onComplete:T,onError:O},D}function _(T,O,D){C();var L=E(O,D);o.postMessage({type:"loadAnimation",path:T,fullPath:window.location.origin+window.location.pathname,id:L})}function I(T,O,D){C();var L=E(O,D);o.postMessage({type:"loadData",path:T,fullPath:window.location.origin+window.location.pathname,id:L})}function j(T,O,D){C();var L=E(O,D);o.postMessage({type:"complete",animation:T,id:L})}return{loadAnimation:_,loadData:I,completeAnimation:j}}(),ImagePreloader=function(){var i=function(){var F=createTag("canvas");F.width=1,F.height=1;var R=F.getContext("2d");return R.fillStyle="rgba(0,0,0,0)",R.fillRect(0,0,1,1),F}();function s(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function a(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function o(F,R,M){var V="";if(F.e)V=F.p;else if(R){var N=F.p;N.indexOf("images/")!==-1&&(N=N.split("/")[1]),V=R+N}else V=M,V+=F.u?F.u:"",V+=F.p;return V}function u(F){var R=0,M=setInterval((function(){var V=F.getBBox();(V.width||R>500)&&(this._imageLoaded(),clearInterval(M)),R+=1}).bind(this),50)}function S(F){var R=o(F,this.assetsPath,this.path),M=createNS("image");isSafari?this.testImageLoaded(M):M.addEventListener("load",this._imageLoaded,!1),M.addEventListener("error",(function(){V.img=i,this._imageLoaded()}).bind(this),!1),M.setAttributeNS("http://www.w3.org/1999/xlink","href",R),this._elementHelper.append?this._elementHelper.append(M):this._elementHelper.appendChild(M);var V={img:M,assetData:F};return V}function P(F){var R=o(F,this.assetsPath,this.path),M=createTag("img");M.crossOrigin="anonymous",M.addEventListener("load",this._imageLoaded,!1),M.addEventListener("error",(function(){V.img=i,this._imageLoaded()}).bind(this),!1),M.src=R;var V={img:M,assetData:F};return V}function C(F){var R={assetData:F},M=o(F,this.assetsPath,this.path);return dataManager.loadData(M,(function(V){R.img=V,this._footageLoaded()}).bind(this),(function(){R.img={},this._footageLoaded()}).bind(this)),R}function E(F,R){this.imagesLoadedCb=R;var M,V=F.length;for(M=0;M<V;M+=1)F[M].layers||(!F[M].t||F[M].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(F[M]))):F[M].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(F[M]))))}function _(F){this.path=F||""}function I(F){this.assetsPath=F||""}function j(F){for(var R=0,M=this.images.length;R<M;){if(this.images[R].assetData===F)return this.images[R].img;R+=1}return null}function T(){this.imagesLoadedCb=null,this.images.length=0}function O(){return this.totalImages===this.loadedAssets}function D(){return this.totalFootages===this.loadedFootagesCount}function L(F,R){F==="svg"?(this._elementHelper=R,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function H(){this._imageLoaded=s.bind(this),this._footageLoaded=a.bind(this),this.testImageLoaded=u.bind(this),this.createFootageData=C.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return H.prototype={loadAssets:E,setAssetsPath:I,setPath:_,loadedImages:O,loadedFootages:D,destroy:T,getAsset:j,createImgData:P,createImageData:S,imageLoaded:s,footageLoaded:a,setCacheType:L},H}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(s,a){if(this._cbs[s])for(var o=this._cbs[s],u=0;u<o.length;u+=1)o[u](a)},addEventListener:function(s,a){return this._cbs[s]||(this._cbs[s]=[]),this._cbs[s].push(a),(function(){this.removeEventListener(s,a)}).bind(this)},removeEventListener:function(s,a){if(!a)this._cbs[s]=null;else if(this._cbs[s]){for(var o=0,u=this._cbs[s].length;o<u;)this._cbs[s][o]===a&&(this._cbs[s].splice(o,1),o-=1,u-=1),o+=1;this._cbs[s].length||(this._cbs[s]=null)}}};var markerParser=function(){function i(s){for(var a=s.split(`\r
630
+ `),o={},u,S=0,P=0;P<a.length;P+=1)u=a[P].split(":"),u.length===2&&(o[u[0]]=u[1].trim(),S+=1);if(S===0)throw new Error;return o}return function(s){for(var a=[],o=0;o<s.length;o+=1){var u=s[o],S={time:u.tm,duration:u.dr};try{S.payload=JSON.parse(s[o].cm)}catch{try{S.payload=i(s[o].cm)}catch{S.payload={name:s[o].cm}}}a.push(S)}return a}}(),ProjectInterface=function(){function i(s){this.compositions.push(s)}return function(){function s(a){for(var o=0,u=this.compositions.length;o<u;){if(this.compositions[o].data&&this.compositions[o].data.nm===a)return this.compositions[o].prepareFrame&&this.compositions[o].data.xt&&this.compositions[o].prepareFrame(this.currentFrame),this.compositions[o].compInterface;o+=1}return null}return s.compositions=[],s.currentFrame=0,s.registerComposition=i,s}}(),renderers={},registerRenderer=function(s,a){renderers[s]=a};function getRenderer(i){return renderers[i]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var i in renderers)if(renderers[i])return i;return""}function _typeof$4(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(a){return typeof a}:_typeof$4=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$4(i)}var AnimationItem=function(){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=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0),this.expressionsPlugin=getExpressionsPlugin()};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(i){(i.wrapper||i.container)&&(this.wrapper=i.wrapper||i.container);var s="svg";i.animType?s=i.animType:i.renderer&&(s=i.renderer);var a=getRenderer(s);this.renderer=new a(this,i.rendererSettings),this.imagePreloader.setCacheType(s,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=s,i.loop===""||i.loop===null||i.loop===void 0||i.loop===!0?this.loop=!0:i.loop===!1?this.loop=!1:this.loop=parseInt(i.loop,10),this.autoplay="autoplay"in i?i.autoplay:!0,this.name=i.name?i.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(i,"autoloadSegments")?i.autoloadSegments:!0,this.assetsPath=i.assetsPath,this.initialSegment=i.initialSegment,i.audioFactory&&this.audioController.setAudioFactory(i.audioFactory),i.animationData?this.setupAnimation(i.animationData):i.path&&(i.path.lastIndexOf("\\")!==-1?this.path=i.path.substr(0,i.path.lastIndexOf("\\")+1):this.path=i.path.substr(0,i.path.lastIndexOf("/")+1),this.fileName=i.path.substr(i.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(i.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(i){dataManager.completeAnimation(i,this.configAnimation)},AnimationItem.prototype.setData=function(i,s){s&&_typeof$4(s)!=="object"&&(s=JSON.parse(s));var a={wrapper:i,animationData:s},o=i.attributes;a.path=o.getNamedItem("data-animation-path")?o.getNamedItem("data-animation-path").value:o.getNamedItem("data-bm-path")?o.getNamedItem("data-bm-path").value:o.getNamedItem("bm-path")?o.getNamedItem("bm-path").value:"",a.animType=o.getNamedItem("data-anim-type")?o.getNamedItem("data-anim-type").value:o.getNamedItem("data-bm-type")?o.getNamedItem("data-bm-type").value:o.getNamedItem("bm-type")?o.getNamedItem("bm-type").value:o.getNamedItem("data-bm-renderer")?o.getNamedItem("data-bm-renderer").value:o.getNamedItem("bm-renderer")?o.getNamedItem("bm-renderer").value:getRegisteredRenderer()||"canvas";var u=o.getNamedItem("data-anim-loop")?o.getNamedItem("data-anim-loop").value:o.getNamedItem("data-bm-loop")?o.getNamedItem("data-bm-loop").value:o.getNamedItem("bm-loop")?o.getNamedItem("bm-loop").value:"";u==="false"?a.loop=!1:u==="true"?a.loop=!0:u!==""&&(a.loop=parseInt(u,10));var S=o.getNamedItem("data-anim-autoplay")?o.getNamedItem("data-anim-autoplay").value:o.getNamedItem("data-bm-autoplay")?o.getNamedItem("data-bm-autoplay").value:o.getNamedItem("bm-autoplay")?o.getNamedItem("bm-autoplay").value:!0;a.autoplay=S!=="false",a.name=o.getNamedItem("data-name")?o.getNamedItem("data-name").value:o.getNamedItem("data-bm-name")?o.getNamedItem("data-bm-name").value:o.getNamedItem("bm-name")?o.getNamedItem("bm-name").value:"";var P=o.getNamedItem("data-anim-prerender")?o.getNamedItem("data-anim-prerender").value:o.getNamedItem("data-bm-prerender")?o.getNamedItem("data-bm-prerender").value:o.getNamedItem("bm-prerender")?o.getNamedItem("bm-prerender").value:"";P==="false"&&(a.prerender=!1),a.path?this.setParams(a):this.trigger("destroy")},AnimationItem.prototype.includeLayers=function(i){i.op>this.animationData.op&&(this.animationData.op=i.op,this.totalFrames=Math.floor(i.op-this.animationData.ip));var s=this.animationData.layers,a,o=s.length,u=i.layers,S,P=u.length;for(S=0;S<P;S+=1)for(a=0;a<o;){if(s[a].id===u[S].id){s[a]=u[S];break}a+=1}if((i.chars||i.fonts)&&(this.renderer.globalData.fontManager.addChars(i.chars),this.renderer.globalData.fontManager.addFonts(i.fonts,this.renderer.globalData.defs)),i.assets)for(o=i.assets.length,a=0;a<o;a+=1)this.animationData.assets.push(i.assets[a]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(i){this.animationData=i;var s=getExpressionsPlugin();s&&s.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var i=this.animationData.segments;if(!i||i.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}var s=i.shift();this.timeCompleted=s.time*this.frameRate;var a=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(a,this.includeLayers.bind(this),(function(){this.trigger("data_failed")}).bind(this))},AnimationItem.prototype.loadSegments=function(){var i=this.animationData.segments;i||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(i){if(this.renderer)try{this.animationData=i,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(i),i.assets||(i.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(i.assets),this.markers=markerParser(i.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(s){this.triggerConfigError(s)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var i=getExpressionsPlugin();i&&i.initExpressions(this),this.renderer.initItems(),setTimeout((function(){this.trigger("DOMLoaded")}).bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(i,s){var a=typeof i=="number"?i:void 0,o=typeof s=="number"?s:void 0;this.renderer.updateContainerSize(a,o)},AnimationItem.prototype.setSubframe=function(i){this.isSubframeEnabled=!!i},AnimationItem.prototype.gotoFrame=function(){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")},AnimationItem.prototype.renderFrame=function(){if(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(i){this.triggerRenderFrameError(i)}},AnimationItem.prototype.play=function(i){i&&this.name!==i||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(i){i&&this.name!==i||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(i){i&&this.name!==i||(this.isPaused===!0?this.play():this.pause())},AnimationItem.prototype.stop=function(i){i&&this.name!==i||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(i){for(var s,a=0;a<this.markers.length;a+=1)if(s=this.markers[a],s.payload&&s.payload.name===i)return s;return null},AnimationItem.prototype.goToAndStop=function(i,s,a){if(!(a&&this.name!==a)){var o=Number(i);if(isNaN(o)){var u=this.getMarkerData(i);u&&this.goToAndStop(u.time,!0)}else s?this.setCurrentRawFrameValue(i):this.setCurrentRawFrameValue(i*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(i,s,a){if(!(a&&this.name!==a)){var o=Number(i);if(isNaN(o)){var u=this.getMarkerData(i);u&&(u.duration?this.playSegments([u.time,u.time+u.duration],!0):this.goToAndStop(u.time,!0))}else this.goToAndStop(o,s,a);this.play()}},AnimationItem.prototype.advanceTime=function(i){if(!(this.isPaused===!0||this.isLoaded===!1)){var s=this.currentRawFrame+i*this.frameModifier,a=!1;s>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(s>this.totalFrames?s%this.totalFrames:0)||(a=!0,s=this.totalFrames-1):s>=this.totalFrames?(this.playCount+=1,this.checkSegments(s%this.totalFrames)||(this.setCurrentRawFrameValue(s%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(s):s<0?this.checkSegments(s%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+s%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(a=!0,s=0)):this.setCurrentRawFrameValue(s),a&&(this.setCurrentRawFrameValue(s),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(i,s){this.playCount=0,i[1]<i[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=i[0]-i[1],this.timeCompleted=this.totalFrames,this.firstFrame=i[1],this.setCurrentRawFrameValue(this.totalFrames-.001-s)):i[1]>i[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=i[1]-i[0],this.timeCompleted=this.totalFrames,this.firstFrame=i[0],this.setCurrentRawFrameValue(.001+s)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(i,s){var a=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<i?a=i:this.currentRawFrame+this.firstFrame>s&&(a=s-i)),this.firstFrame=i,this.totalFrames=s-i,this.timeCompleted=this.totalFrames,a!==-1&&this.goToAndStop(a,!0)},AnimationItem.prototype.playSegments=function(i,s){if(s&&(this.segments.length=0),_typeof$4(i[0])==="object"){var a,o=i.length;for(a=0;a<o;a+=1)this.segments.push(i[a])}else this.segments.push(i);this.segments.length&&s&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(i){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),i&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(i){return this.segments.length?(this.adjustSegment(this.segments.shift(),i),!0):!1},AnimationItem.prototype.destroy=function(i){i&&this.name!==i||!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)},AnimationItem.prototype.setCurrentRawFrameValue=function(i){this.currentRawFrame=i,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(i){this.playSpeed=i,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(i){this.playDirection=i<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(i){this.loop=i},AnimationItem.prototype.setVolume=function(i,s){s&&this.name!==s||this.audioController.setVolume(i)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(i){i&&this.name!==i||this.audioController.mute()},AnimationItem.prototype.unmute=function(i){i&&this.name!==i||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(i){var s="";if(i.e)s=i.p;else if(this.assetsPath){var a=i.p;a.indexOf("images/")!==-1&&(a=a.split("/")[1]),s=this.assetsPath+a}else s=this.path,s+=i.u?i.u:"",s+=i.p;return s},AnimationItem.prototype.getAssetData=function(i){for(var s=0,a=this.assets.length;s<a;){if(i===this.assets[s].id)return this.assets[s];s+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(i){return i?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(i,s,a){try{var o=this.renderer.getElementByPath(i);o.updateDocumentData(s,a)}catch{}},AnimationItem.prototype.trigger=function(i){if(this._cbs&&this._cbs[i])switch(i){case"enterFrame":this.triggerEvent(i,new BMEnterFrameEvent(i,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(i,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(i,new BMCompleteLoopEvent(i,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(i,new BMCompleteEvent(i,this.frameMult));break;case"segmentStart":this.triggerEvent(i,new BMSegmentStartEvent(i,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(i,new BMDestroyEvent(i,this));break;default:this.triggerEvent(i)}i==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(i,this.currentFrame,this.totalFrames,this.frameMult)),i==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(i,this.loop,this.playCount,this.frameMult)),i==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(i,this.frameMult)),i==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(i,this.firstFrame,this.totalFrames)),i==="destroy"&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(i,this))},AnimationItem.prototype.triggerRenderFrameError=function(i){var s=new BMRenderFrameErrorEvent(i,this.currentFrame);this.triggerEvent("error",s),this.onError&&this.onError.call(this,s)},AnimationItem.prototype.triggerConfigError=function(i){var s=new BMConfigErrorEvent(i,this.currentFrame);this.triggerEvent("error",s),this.onError&&this.onError.call(this,s)};var animationManager=function(){var i={},s=[],a=0,o=0,u=0,S=!0,P=!1;function C($){for(var K=0,B=$.target;K<o;)s[K].animation===B&&(s.splice(K,1),K-=1,o-=1,B.isPaused||j()),K+=1}function E($,K){if(!$)return null;for(var B=0;B<o;){if(s[B].elem===$&&s[B].elem!==null)return s[B].animation;B+=1}var G=new AnimationItem;return T(G,$),G.setData($,K),G}function _(){var $,K=s.length,B=[];for($=0;$<K;$+=1)B.push(s[$].animation);return B}function I(){u+=1,re()}function j(){u-=1}function T($,K){$.addEventListener("destroy",C),$.addEventListener("_active",I),$.addEventListener("_idle",j),s.push({elem:K,animation:$}),o+=1}function O($){var K=new AnimationItem;return T(K,null),K.setParams($),K}function D($,K){var B;for(B=0;B<o;B+=1)s[B].animation.setSpeed($,K)}function L($,K){var B;for(B=0;B<o;B+=1)s[B].animation.setDirection($,K)}function H($){var K;for(K=0;K<o;K+=1)s[K].animation.play($)}function F($){var K=$-a,B;for(B=0;B<o;B+=1)s[B].animation.advanceTime(K);a=$,u&&!P?window.requestAnimationFrame(F):S=!0}function R($){a=$,window.requestAnimationFrame(F)}function M($){var K;for(K=0;K<o;K+=1)s[K].animation.pause($)}function V($,K,B){var G;for(G=0;G<o;G+=1)s[G].animation.goToAndStop($,K,B)}function N($){var K;for(K=0;K<o;K+=1)s[K].animation.stop($)}function W($){var K;for(K=0;K<o;K+=1)s[K].animation.togglePause($)}function X($){var K;for(K=o-1;K>=0;K-=1)s[K].animation.destroy($)}function Y($,K,B){var G=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),U,Z=G.length;for(U=0;U<Z;U+=1)B&&G[U].setAttribute("data-bm-type",B),E(G[U],$);if(K&&Z===0){B||(B="svg");var ie=document.getElementsByTagName("body")[0];ie.innerText="";var le=createTag("div");le.style.width="100%",le.style.height="100%",le.setAttribute("data-bm-type",B),ie.appendChild(le),E(le,$)}}function J(){var $;for($=0;$<o;$+=1)s[$].animation.resize()}function re(){!P&&u&&S&&(window.requestAnimationFrame(R),S=!1)}function te(){P=!0}function ee(){P=!1,re()}function se($,K){var B;for(B=0;B<o;B+=1)s[B].animation.setVolume($,K)}function ne($){var K;for(K=0;K<o;K+=1)s[K].animation.mute($)}function Q($){var K;for(K=0;K<o;K+=1)s[K].animation.unmute($)}return i.registerAnimation=E,i.loadAnimation=O,i.setSpeed=D,i.setDirection=L,i.play=H,i.pause=M,i.stop=N,i.togglePause=W,i.searchAnimations=Y,i.resize=J,i.goToAndStop=V,i.destroy=X,i.freeze=te,i.unfreeze=ee,i.setVolume=se,i.mute=ne,i.unmute=Q,i.getRegisteredAnimations=_,i}(),BezierFactory=function(){var i={};i.getBezierEasing=a;var s={};function a(R,M,V,N,W){var X=W||("bez_"+R+"_"+M+"_"+V+"_"+N).replace(/\./g,"p");if(s[X])return s[X];var Y=new F([R,M,V,N]);return s[X]=Y,Y}var o=4,u=.001,S=1e-7,P=10,C=11,E=1/(C-1),_=typeof Float32Array=="function";function I(R,M){return 1-3*M+3*R}function j(R,M){return 3*M-6*R}function T(R){return 3*R}function O(R,M,V){return((I(M,V)*R+j(M,V))*R+T(M))*R}function D(R,M,V){return 3*I(M,V)*R*R+2*j(M,V)*R+T(M)}function L(R,M,V,N,W){var X,Y,J=0;do Y=M+(V-M)/2,X=O(Y,N,W)-R,X>0?V=Y:M=Y;while(Math.abs(X)>S&&++J<P);return Y}function H(R,M,V,N){for(var W=0;W<o;++W){var X=D(M,V,N);if(X===0)return M;var Y=O(M,V,N)-R;M-=Y/X}return M}function F(R){this._p=R,this._mSampleValues=_?new Float32Array(C):new Array(C),this._precomputed=!1,this.get=this.get.bind(this)}return F.prototype={get:function(M){var V=this._p[0],N=this._p[1],W=this._p[2],X=this._p[3];return this._precomputed||this._precompute(),V===N&&W===X?M:M===0?0:M===1?1:O(this._getTForX(M),N,X)},_precompute:function(){var M=this._p[0],V=this._p[1],N=this._p[2],W=this._p[3];this._precomputed=!0,(M!==V||N!==W)&&this._calcSampleValues()},_calcSampleValues:function(){for(var M=this._p[0],V=this._p[2],N=0;N<C;++N)this._mSampleValues[N]=O(N*E,M,V)},_getTForX:function(M){for(var V=this._p[0],N=this._p[2],W=this._mSampleValues,X=0,Y=1,J=C-1;Y!==J&&W[Y]<=M;++Y)X+=E;--Y;var re=(M-W[Y])/(W[Y+1]-W[Y]),te=X+re*E,ee=D(te,V,N);return ee>=u?H(M,te,V,N):ee===0?te:L(M,X,X+E,V,N)}},i}(),pooling=function(){function i(s){return s.concat(createSizedArray(s.length))}return{double:i}}(),poolFactory=function(){return function(i,s,a){var o=0,u=i,S=createSizedArray(u),P={newElement:C,release:E};function C(){var _;return o?(o-=1,_=S[o]):_=s(),_}function E(_){o===u&&(S=pooling.double(S),u*=2),a&&a(_),S[o]=_,o+=1}return P}}(),bezierLengthPool=function(){function i(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,i)}(),segmentsLengthPool=function(){function i(){return{lengths:[],totalLength:0}}function s(a){var o,u=a.lengths.length;for(o=0;o<u;o+=1)bezierLengthPool.release(a.lengths[o]);a.lengths.length=0}return poolFactory(8,i,s)}();function bezFunction(){var i=Math;function s(T,O,D,L,H,F){var R=T*L+O*H+D*F-H*L-F*T-D*O;return R>-.001&&R<.001}function a(T,O,D,L,H,F,R,M,V){if(D===0&&F===0&&V===0)return s(T,O,L,H,R,M);var N=i.sqrt(i.pow(L-T,2)+i.pow(H-O,2)+i.pow(F-D,2)),W=i.sqrt(i.pow(R-T,2)+i.pow(M-O,2)+i.pow(V-D,2)),X=i.sqrt(i.pow(R-L,2)+i.pow(M-H,2)+i.pow(V-F,2)),Y;return N>W?N>X?Y=N-W-X:Y=X-W-N:X>W?Y=X-W-N:Y=W-N-X,Y>-1e-4&&Y<1e-4}var o=function(){return function(T,O,D,L){var H=getDefaultCurveSegments(),F,R,M,V,N,W=0,X,Y=[],J=[],re=bezierLengthPool.newElement();for(M=D.length,F=0;F<H;F+=1){for(N=F/(H-1),X=0,R=0;R<M;R+=1)V=bmPow(1-N,3)*T[R]+3*bmPow(1-N,2)*N*D[R]+3*(1-N)*bmPow(N,2)*L[R]+bmPow(N,3)*O[R],Y[R]=V,J[R]!==null&&(X+=bmPow(Y[R]-J[R],2)),J[R]=Y[R];X&&(X=bmSqrt(X),W+=X),re.percents[F]=N,re.lengths[F]=W}return re.addedLength=W,re}}();function u(T){var O=segmentsLengthPool.newElement(),D=T.c,L=T.v,H=T.o,F=T.i,R,M=T._length,V=O.lengths,N=0;for(R=0;R<M-1;R+=1)V[R]=o(L[R],L[R+1],H[R],F[R+1]),N+=V[R].addedLength;return D&&M&&(V[R]=o(L[R],L[0],H[R],F[0]),N+=V[R].addedLength),O.totalLength=N,O}function S(T){this.segmentLength=0,this.points=new Array(T)}function P(T,O){this.partialLength=T,this.point=O}var C=function(){var T={};return function(O,D,L,H){var F=(O[0]+"_"+O[1]+"_"+D[0]+"_"+D[1]+"_"+L[0]+"_"+L[1]+"_"+H[0]+"_"+H[1]).replace(/\./g,"p");if(!T[F]){var R=getDefaultCurveSegments(),M,V,N,W,X,Y=0,J,re,te=null;O.length===2&&(O[0]!==D[0]||O[1]!==D[1])&&s(O[0],O[1],D[0],D[1],O[0]+L[0],O[1]+L[1])&&s(O[0],O[1],D[0],D[1],D[0]+H[0],D[1]+H[1])&&(R=2);var ee=new S(R);for(N=L.length,M=0;M<R;M+=1){for(re=createSizedArray(N),X=M/(R-1),J=0,V=0;V<N;V+=1)W=bmPow(1-X,3)*O[V]+3*bmPow(1-X,2)*X*(O[V]+L[V])+3*(1-X)*bmPow(X,2)*(D[V]+H[V])+bmPow(X,3)*D[V],re[V]=W,te!==null&&(J+=bmPow(re[V]-te[V],2));J=bmSqrt(J),Y+=J,ee.points[M]=new P(J,re),te=re}ee.segmentLength=Y,T[F]=ee}return T[F]}}();function E(T,O){var D=O.percents,L=O.lengths,H=D.length,F=bmFloor((H-1)*T),R=T*O.addedLength,M=0;if(F===H-1||F===0||R===L[F])return D[F];for(var V=L[F]>R?-1:1,N=!0;N;)if(L[F]<=R&&L[F+1]>R?(M=(R-L[F])/(L[F+1]-L[F]),N=!1):F+=V,F<0||F>=H-1){if(F===H-1)return D[F];N=!1}return D[F]+(D[F+1]-D[F])*M}function _(T,O,D,L,H,F){var R=E(H,F),M=1-R,V=i.round((M*M*M*T[0]+(R*M*M+M*R*M+M*M*R)*D[0]+(R*R*M+M*R*R+R*M*R)*L[0]+R*R*R*O[0])*1e3)/1e3,N=i.round((M*M*M*T[1]+(R*M*M+M*R*M+M*M*R)*D[1]+(R*R*M+M*R*R+R*M*R)*L[1]+R*R*R*O[1])*1e3)/1e3;return[V,N]}var I=createTypedArray("float32",8);function j(T,O,D,L,H,F,R){H<0?H=0:H>1&&(H=1);var M=E(H,R);F=F>1?1:F;var V=E(F,R),N,W=T.length,X=1-M,Y=1-V,J=X*X*X,re=M*X*X*3,te=M*M*X*3,ee=M*M*M,se=X*X*Y,ne=M*X*Y+X*M*Y+X*X*V,Q=M*M*Y+X*M*V+M*X*V,$=M*M*V,K=X*Y*Y,B=M*Y*Y+X*V*Y+X*Y*V,G=M*V*Y+X*V*V+M*Y*V,U=M*V*V,Z=Y*Y*Y,ie=V*Y*Y+Y*V*Y+Y*Y*V,le=V*V*Y+Y*V*V+V*Y*V,he=V*V*V;for(N=0;N<W;N+=1)I[N*4]=i.round((J*T[N]+re*D[N]+te*L[N]+ee*O[N])*1e3)/1e3,I[N*4+1]=i.round((se*T[N]+ne*D[N]+Q*L[N]+$*O[N])*1e3)/1e3,I[N*4+2]=i.round((K*T[N]+B*D[N]+G*L[N]+U*O[N])*1e3)/1e3,I[N*4+3]=i.round((Z*T[N]+ie*D[N]+le*L[N]+he*O[N])*1e3)/1e3;return I}return{getSegmentsLength:u,getNewSegment:j,getPointInSegment:_,buildBezierData:C,pointOnLine2D:s,pointOnLine3D:a}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(i,s){var a=this.offsetTime,o;this.propType==="multidimensional"&&(o=createTypedArray("float32",this.pv.length));for(var u=s.lastIndex,S=u,P=this.keyframes.length-1,C=!0,E,_,I;C;){if(E=this.keyframes[S],_=this.keyframes[S+1],S===P-1&&i>=_.t-a){E.h&&(E=_),u=0;break}if(_.t-a>i){u=S;break}S<P-1?S+=1:(u=0,C=!1)}I=this.keyframesMetadata[S]||{};var j,T,O,D,L,H,F=_.t-a,R=E.t-a,M;if(E.to){I.bezierData||(I.bezierData=bez.buildBezierData(E.s,_.s||E.e,E.to,E.ti));var V=I.bezierData;if(i>=F||i<R){var N=i>=F?V.points.length-1:0;for(T=V.points[N].point.length,j=0;j<T;j+=1)o[j]=V.points[N].point[j]}else{I.__fnct?H=I.__fnct:(H=BezierFactory.getBezierEasing(E.o.x,E.o.y,E.i.x,E.i.y,E.n).get,I.__fnct=H),O=H((i-R)/(F-R));var W=V.segmentLength*O,X,Y=s.lastFrame<i&&s._lastKeyframeIndex===S?s._lastAddedLength:0;for(L=s.lastFrame<i&&s._lastKeyframeIndex===S?s._lastPoint:0,C=!0,D=V.points.length;C;){if(Y+=V.points[L].partialLength,W===0||O===0||L===V.points.length-1){for(T=V.points[L].point.length,j=0;j<T;j+=1)o[j]=V.points[L].point[j];break}else if(W>=Y&&W<Y+V.points[L+1].partialLength){for(X=(W-Y)/V.points[L+1].partialLength,T=V.points[L].point.length,j=0;j<T;j+=1)o[j]=V.points[L].point[j]+(V.points[L+1].point[j]-V.points[L].point[j])*X;break}L<D-1?L+=1:C=!1}s._lastPoint=L,s._lastAddedLength=Y-V.points[L].partialLength,s._lastKeyframeIndex=S}}else{var J,re,te,ee,se;if(P=E.s.length,M=_.s||E.e,this.sh&&E.h!==1)if(i>=F)o[0]=M[0],o[1]=M[1],o[2]=M[2];else if(i<=R)o[0]=E.s[0],o[1]=E.s[1],o[2]=E.s[2];else{var ne=createQuaternion(E.s),Q=createQuaternion(M),$=(i-R)/(F-R);quaternionToEuler(o,slerp(ne,Q,$))}else for(S=0;S<P;S+=1)E.h!==1&&(i>=F?O=1:i<R?O=0:(E.o.x.constructor===Array?(I.__fnct||(I.__fnct=[]),I.__fnct[S]?H=I.__fnct[S]:(J=E.o.x[S]===void 0?E.o.x[0]:E.o.x[S],re=E.o.y[S]===void 0?E.o.y[0]:E.o.y[S],te=E.i.x[S]===void 0?E.i.x[0]:E.i.x[S],ee=E.i.y[S]===void 0?E.i.y[0]:E.i.y[S],H=BezierFactory.getBezierEasing(J,re,te,ee).get,I.__fnct[S]=H)):I.__fnct?H=I.__fnct:(J=E.o.x,re=E.o.y,te=E.i.x,ee=E.i.y,H=BezierFactory.getBezierEasing(J,re,te,ee).get,E.keyframeMetadata=H),O=H((i-R)/(F-R)))),M=_.s||E.e,se=E.h===1?E.s[S]:E.s[S]+(M[S]-E.s[S])*O,this.propType==="multidimensional"?o[S]=se:o=se}return s.lastIndex=u,o}function slerp(i,s,a){var o=[],u=i[0],S=i[1],P=i[2],C=i[3],E=s[0],_=s[1],I=s[2],j=s[3],T,O,D,L,H;return O=u*E+S*_+P*I+C*j,O<0&&(O=-O,E=-E,_=-_,I=-I,j=-j),1-O>1e-6?(T=Math.acos(O),D=Math.sin(T),L=Math.sin((1-a)*T)/D,H=Math.sin(a*T)/D):(L=1-a,H=a),o[0]=L*u+H*E,o[1]=L*S+H*_,o[2]=L*P+H*I,o[3]=L*C+H*j,o}function quaternionToEuler(i,s){var a=s[0],o=s[1],u=s[2],S=s[3],P=Math.atan2(2*o*S-2*a*u,1-2*o*o-2*u*u),C=Math.asin(2*a*o+2*u*S),E=Math.atan2(2*a*S-2*o*u,1-2*a*a-2*u*u);i[0]=P/degToRads,i[1]=C/degToRads,i[2]=E/degToRads}function createQuaternion(i){var s=i[0]*degToRads,a=i[1]*degToRads,o=i[2]*degToRads,u=Math.cos(s/2),S=Math.cos(a/2),P=Math.cos(o/2),C=Math.sin(s/2),E=Math.sin(a/2),_=Math.sin(o/2),I=u*S*P-C*E*_,j=C*E*P+u*S*_,T=C*S*P+u*E*_,O=u*E*P-C*S*_;return[j,T,O,I]}function getValueAtCurrentTime(){var i=this.comp.renderedFrame-this.offsetTime,s=this.keyframes[0].t-this.offsetTime,a=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(i===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=a&&i>=a||this._caching.lastFrame<s&&i<s))){this._caching.lastFrame>=i&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var o=this.interpolateValue(i,this._caching);this.pv=o}return this._caching.lastFrame=i,this.pv}function setVValue(i){var s;if(this.propType==="unidimensional")s=i*this.mult,mathAbs(this.v-s)>1e-5&&(this.v=s,this._mdf=!0);else for(var a=0,o=this.v.length;a<o;)s=i[a]*this.mult,mathAbs(this.v[a]-s)>1e-5&&(this.v[a]=s,this._mdf=!0),a+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var i,s=this.effectsSequence.length,a=this.kf?this.pv:this.data.k;for(i=0;i<s;i+=1)a=this.effectsSequence[i](a);this.setVValue(a),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function addEffect(i){this.effectsSequence.push(i),this.container.addDynamicProperty(this)}function ValueProperty(i,s,a,o){this.propType="unidimensional",this.mult=a||1,this.data=s,this.v=a?s.k*a:s.k,this.pv=s.k,this._mdf=!1,this.elem=i,this.container=o,this.comp=i.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(i,s,a,o){this.propType="multidimensional",this.mult=a||1,this.data=s,this._mdf=!1,this.elem=i,this.container=o,this.comp=i.comp,this.k=!1,this.kf=!1,this.frameId=-1;var u,S=s.k.length;for(this.v=createTypedArray("float32",S),this.pv=createTypedArray("float32",S),this.vel=createTypedArray("float32",S),u=0;u<S;u+=1)this.v[u]=s.k[u]*this.mult,this.pv[u]=s.k[u];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(i,s,a,o){this.propType="unidimensional",this.keyframes=s.k,this.keyframesMetadata=[],this.offsetTime=i.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=s,this.mult=a||1,this.elem=i,this.container=o,this.comp=i.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(i,s,a,o){this.propType="multidimensional";var u,S=s.k.length,P,C,E,_;for(u=0;u<S-1;u+=1)s.k[u].to&&s.k[u].s&&s.k[u+1]&&s.k[u+1].s&&(P=s.k[u].s,C=s.k[u+1].s,E=s.k[u].to,_=s.k[u].ti,(P.length===2&&!(P[0]===C[0]&&P[1]===C[1])&&bez.pointOnLine2D(P[0],P[1],C[0],C[1],P[0]+E[0],P[1]+E[1])&&bez.pointOnLine2D(P[0],P[1],C[0],C[1],C[0]+_[0],C[1]+_[1])||P.length===3&&!(P[0]===C[0]&&P[1]===C[1]&&P[2]===C[2])&&bez.pointOnLine3D(P[0],P[1],P[2],C[0],C[1],C[2],P[0]+E[0],P[1]+E[1],P[2]+E[2])&&bez.pointOnLine3D(P[0],P[1],P[2],C[0],C[1],C[2],C[0]+_[0],C[1]+_[1],C[2]+_[2]))&&(s.k[u].to=null,s.k[u].ti=null),P[0]===C[0]&&P[1]===C[1]&&E[0]===0&&E[1]===0&&_[0]===0&&_[1]===0&&(P.length===2||P[2]===C[2]&&E[2]===0&&_[2]===0)&&(s.k[u].to=null,s.k[u].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=s,this.keyframes=s.k,this.keyframesMetadata=[],this.offsetTime=i.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=a||1,this.elem=i,this.container=o,this.comp=i.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var I=s.k[0].s.length;for(this.v=createTypedArray("float32",I),this.pv=createTypedArray("float32",I),u=0;u<I;u+=1)this.v[u]=initFrame,this.pv[u]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",I)},this.addEffect=addEffect}var PropertyFactory=function(){function i(a,o,u,S,P){o.sid&&(o=a.globalData.slotManager.getProp(o));var C;if(!o.k.length)C=new ValueProperty(a,o,S,P);else if(typeof o.k[0]=="number")C=new MultiDimensionalProperty(a,o,S,P);else switch(u){case 0:C=new KeyframedValueProperty(a,o,S,P);break;case 1:C=new KeyframedMultidimensionalProperty(a,o,S,P);break}return C.effectsSequence.length&&P.addDynamicProperty(C),C}var s={getProp:i};return s}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(s){this.dynamicProperties.indexOf(s)===-1&&(this.dynamicProperties.push(s),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var s,a=this.dynamicProperties.length;for(s=0;s<a;s+=1)this.dynamicProperties[s].getValue(),this.dynamicProperties[s]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(s){this.container=s,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function i(){return createTypedArray("float32",2)}return poolFactory(8,i)}();function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(i,s){this.c=i,this.setLength(s);for(var a=0;a<s;)this.v[a]=pointPool.newElement(),this.o[a]=pointPool.newElement(),this.i[a]=pointPool.newElement(),a+=1},ShapePath.prototype.setLength=function(i){for(;this._maxLength<i;)this.doubleArrayLength();this._length=i},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(i,s,a,o,u){var S;switch(this._length=Math.max(this._length,o+1),this._length>=this._maxLength&&this.doubleArrayLength(),a){case"v":S=this.v;break;case"i":S=this.i;break;case"o":S=this.o;break;default:S=[];break}(!S[o]||S[o]&&!u)&&(S[o]=pointPool.newElement()),S[o][0]=i,S[o][1]=s},ShapePath.prototype.setTripleAt=function(i,s,a,o,u,S,P,C){this.setXYAt(i,s,"v",P,C),this.setXYAt(a,o,"o",P,C),this.setXYAt(u,S,"i",P,C)},ShapePath.prototype.reverse=function(){var i=new ShapePath;i.setPathData(this.c,this._length);var s=this.v,a=this.o,o=this.i,u=0;this.c&&(i.setTripleAt(s[0][0],s[0][1],o[0][0],o[0][1],a[0][0],a[0][1],0,!1),u=1);var S=this._length-1,P=this._length,C;for(C=u;C<P;C+=1)i.setTripleAt(s[S][0],s[S][1],o[S][0],o[S][1],a[S][0],a[S][1],C,!1),S-=1;return i},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function i(){return new ShapePath}function s(u){var S=u._length,P;for(P=0;P<S;P+=1)pointPool.release(u.v[P]),pointPool.release(u.i[P]),pointPool.release(u.o[P]),u.v[P]=null,u.i[P]=null,u.o[P]=null;u._length=0,u.c=!1}function a(u){var S=o.newElement(),P,C=u._length===void 0?u.v.length:u._length;for(S.setLength(C),S.c=u.c,P=0;P<C;P+=1)S.setTripleAt(u.v[P][0],u.v[P][1],u.o[P][0],u.o[P][1],u.i[P][0],u.i[P][1],P);return S}var o=poolFactory(4,i,s);return o.clone=a,o}();function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(i){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=i,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var i;for(i=0;i<this._length;i+=1)shapePool.release(this.shapes[i]);this._length=0};var shapeCollectionPool=function(){var i={newShapeCollection:u,release:S},s=0,a=4,o=createSizedArray(a);function u(){var P;return s?(s-=1,P=o[s]):P=new ShapeCollection,P}function S(P){var C,E=P._length;for(C=0;C<E;C+=1)shapePool.release(P.shapes[C]);P._length=0,s===a&&(o=pooling.double(o),a*=2),o[s]=P,s+=1}return i}(),ShapePropertyFactory=function(){var i=-999999;function s(F,R,M){var V=M.lastIndex,N,W,X,Y,J,re,te,ee,se,ne=this.keyframes;if(F<ne[0].t-this.offsetTime)N=ne[0].s[0],X=!0,V=0;else if(F>=ne[ne.length-1].t-this.offsetTime)N=ne[ne.length-1].s?ne[ne.length-1].s[0]:ne[ne.length-2].e[0],X=!0;else{for(var Q=V,$=ne.length-1,K=!0,B,G,U;K&&(B=ne[Q],G=ne[Q+1],!(G.t-this.offsetTime>F));)Q<$-1?Q+=1:K=!1;if(U=this.keyframesMetadata[Q]||{},X=B.h===1,V=Q,!X){if(F>=G.t-this.offsetTime)ee=1;else if(F<B.t-this.offsetTime)ee=0;else{var Z;U.__fnct?Z=U.__fnct:(Z=BezierFactory.getBezierEasing(B.o.x,B.o.y,B.i.x,B.i.y).get,U.__fnct=Z),ee=Z((F-(B.t-this.offsetTime))/(G.t-this.offsetTime-(B.t-this.offsetTime)))}W=G.s?G.s[0]:B.e[0]}N=B.s[0]}for(re=R._length,te=N.i[0].length,M.lastIndex=V,Y=0;Y<re;Y+=1)for(J=0;J<te;J+=1)se=X?N.i[Y][J]:N.i[Y][J]+(W.i[Y][J]-N.i[Y][J])*ee,R.i[Y][J]=se,se=X?N.o[Y][J]:N.o[Y][J]+(W.o[Y][J]-N.o[Y][J])*ee,R.o[Y][J]=se,se=X?N.v[Y][J]:N.v[Y][J]+(W.v[Y][J]-N.v[Y][J])*ee,R.v[Y][J]=se}function a(){var F=this.comp.renderedFrame-this.offsetTime,R=this.keyframes[0].t-this.offsetTime,M=this.keyframes[this.keyframes.length-1].t-this.offsetTime,V=this._caching.lastFrame;return V!==i&&(V<R&&F<R||V>M&&F>M)||(this._caching.lastIndex=V<F?this._caching.lastIndex:0,this.interpolateShape(F,this.pv,this._caching)),this._caching.lastFrame=F,this.pv}function o(){this.paths=this.localShapeCollection}function u(F,R){if(F._length!==R._length||F.c!==R.c)return!1;var M,V=F._length;for(M=0;M<V;M+=1)if(F.v[M][0]!==R.v[M][0]||F.v[M][1]!==R.v[M][1]||F.o[M][0]!==R.o[M][0]||F.o[M][1]!==R.o[M][1]||F.i[M][0]!==R.i[M][0]||F.i[M][1]!==R.i[M][1])return!1;return!0}function S(F){u(this.v,F)||(this.v=shapePool.clone(F),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function P(){if(this.elem.globalData.frameId!==this.frameId){if(!this.effectsSequence.length){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var F;this.kf?F=this.pv:this.data.ks?F=this.data.ks.k:F=this.data.pt.k;var R,M=this.effectsSequence.length;for(R=0;R<M;R+=1)F=this.effectsSequence[R](F);this.setVValue(F),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function C(F,R,M){this.propType="shape",this.comp=F.comp,this.container=F,this.elem=F,this.data=R,this.k=!1,this.kf=!1,this._mdf=!1;var V=M===3?R.pt.k:R.ks.k;this.v=shapePool.clone(V),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=o,this.effectsSequence=[]}function E(F){this.effectsSequence.push(F),this.container.addDynamicProperty(this)}C.prototype.interpolateShape=s,C.prototype.getValue=P,C.prototype.setVValue=S,C.prototype.addEffect=E;function _(F,R,M){this.propType="shape",this.comp=F.comp,this.elem=F,this.container=F,this.offsetTime=F.data.st,this.keyframes=M===3?R.pt.k:R.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var V=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,V),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=i,this.reset=o,this._caching={lastFrame:i,lastIndex:0},this.effectsSequence=[a.bind(this)]}_.prototype.getValue=P,_.prototype.interpolateShape=s,_.prototype.setVValue=S,_.prototype.addEffect=E;var I=function(){var F=roundCorner;function R(M,V){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=V.d,this.elem=M,this.comp=M.comp,this.frameId=-1,this.initDynamicPropertyContainer(M),this.p=PropertyFactory.getProp(M,V.p,1,0,this),this.s=PropertyFactory.getProp(M,V.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return R.prototype={reset:o,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var V=this.p.v[0],N=this.p.v[1],W=this.s.v[0]/2,X=this.s.v[1]/2,Y=this.d!==3,J=this.v;J.v[0][0]=V,J.v[0][1]=N-X,J.v[1][0]=Y?V+W:V-W,J.v[1][1]=N,J.v[2][0]=V,J.v[2][1]=N+X,J.v[3][0]=Y?V-W:V+W,J.v[3][1]=N,J.i[0][0]=Y?V-W*F:V+W*F,J.i[0][1]=N-X,J.i[1][0]=Y?V+W:V-W,J.i[1][1]=N-X*F,J.i[2][0]=Y?V+W*F:V-W*F,J.i[2][1]=N+X,J.i[3][0]=Y?V-W:V+W,J.i[3][1]=N+X*F,J.o[0][0]=Y?V+W*F:V-W*F,J.o[0][1]=N-X,J.o[1][0]=Y?V+W:V-W,J.o[1][1]=N+X*F,J.o[2][0]=Y?V-W*F:V+W*F,J.o[2][1]=N+X,J.o[3][0]=Y?V-W:V+W,J.o[3][1]=N-X*F}},extendPrototype([DynamicPropertyContainer],R),R}(),j=function(){function F(R,M){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=R,this.comp=R.comp,this.data=M,this.frameId=-1,this.d=M.d,this.initDynamicPropertyContainer(R),M.sy===1?(this.ir=PropertyFactory.getProp(R,M.ir,0,0,this),this.is=PropertyFactory.getProp(R,M.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(R,M.pt,0,0,this),this.p=PropertyFactory.getProp(R,M.p,1,0,this),this.r=PropertyFactory.getProp(R,M.r,0,degToRads,this),this.or=PropertyFactory.getProp(R,M.or,0,0,this),this.os=PropertyFactory.getProp(R,M.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return F.prototype={reset:o,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var M=Math.floor(this.pt.v)*2,V=Math.PI*2/M,N=!0,W=this.or.v,X=this.ir.v,Y=this.os.v,J=this.is.v,re=2*Math.PI*W/(M*2),te=2*Math.PI*X/(M*2),ee,se,ne,Q,$=-Math.PI/2;$+=this.r.v;var K=this.data.d===3?-1:1;for(this.v._length=0,ee=0;ee<M;ee+=1){se=N?W:X,ne=N?Y:J,Q=N?re:te;var B=se*Math.cos($),G=se*Math.sin($),U=B===0&&G===0?0:G/Math.sqrt(B*B+G*G),Z=B===0&&G===0?0:-B/Math.sqrt(B*B+G*G);B+=+this.p.v[0],G+=+this.p.v[1],this.v.setTripleAt(B,G,B-U*Q*ne*K,G-Z*Q*ne*K,B+U*Q*ne*K,G+Z*Q*ne*K,ee,!0),N=!N,$+=V*K}},convertPolygonToPath:function(){var M=Math.floor(this.pt.v),V=Math.PI*2/M,N=this.or.v,W=this.os.v,X=2*Math.PI*N/(M*4),Y,J=-Math.PI*.5,re=this.data.d===3?-1:1;for(J+=this.r.v,this.v._length=0,Y=0;Y<M;Y+=1){var te=N*Math.cos(J),ee=N*Math.sin(J),se=te===0&&ee===0?0:ee/Math.sqrt(te*te+ee*ee),ne=te===0&&ee===0?0:-te/Math.sqrt(te*te+ee*ee);te+=+this.p.v[0],ee+=+this.p.v[1],this.v.setTripleAt(te,ee,te-se*X*W*re,ee-ne*X*W*re,te+se*X*W*re,ee+ne*X*W*re,Y,!0),J+=V*re}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],F),F}(),T=function(){function F(R,M){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=R,this.comp=R.comp,this.frameId=-1,this.d=M.d,this.initDynamicPropertyContainer(R),this.p=PropertyFactory.getProp(R,M.p,1,0,this),this.s=PropertyFactory.getProp(R,M.s,1,0,this),this.r=PropertyFactory.getProp(R,M.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return F.prototype={convertRectToPath:function(){var M=this.p.v[0],V=this.p.v[1],N=this.s.v[0]/2,W=this.s.v[1]/2,X=bmMin(N,W,this.r.v),Y=X*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(M+N,V-W+X,M+N,V-W+X,M+N,V-W+Y,0,!0),this.v.setTripleAt(M+N,V+W-X,M+N,V+W-Y,M+N,V+W-X,1,!0),X!==0?(this.v.setTripleAt(M+N-X,V+W,M+N-X,V+W,M+N-Y,V+W,2,!0),this.v.setTripleAt(M-N+X,V+W,M-N+Y,V+W,M-N+X,V+W,3,!0),this.v.setTripleAt(M-N,V+W-X,M-N,V+W-X,M-N,V+W-Y,4,!0),this.v.setTripleAt(M-N,V-W+X,M-N,V-W+Y,M-N,V-W+X,5,!0),this.v.setTripleAt(M-N+X,V-W,M-N+X,V-W,M-N+Y,V-W,6,!0),this.v.setTripleAt(M+N-X,V-W,M+N-Y,V-W,M+N-X,V-W,7,!0)):(this.v.setTripleAt(M-N,V+W,M-N+Y,V+W,M-N,V+W,2),this.v.setTripleAt(M-N,V-W,M-N,V-W+Y,M-N,V-W,3))):(this.v.setTripleAt(M+N,V-W+X,M+N,V-W+Y,M+N,V-W+X,0,!0),X!==0?(this.v.setTripleAt(M+N-X,V-W,M+N-X,V-W,M+N-Y,V-W,1,!0),this.v.setTripleAt(M-N+X,V-W,M-N+Y,V-W,M-N+X,V-W,2,!0),this.v.setTripleAt(M-N,V-W+X,M-N,V-W+X,M-N,V-W+Y,3,!0),this.v.setTripleAt(M-N,V+W-X,M-N,V+W-Y,M-N,V+W-X,4,!0),this.v.setTripleAt(M-N+X,V+W,M-N+X,V+W,M-N+Y,V+W,5,!0),this.v.setTripleAt(M+N-X,V+W,M+N-Y,V+W,M+N-X,V+W,6,!0),this.v.setTripleAt(M+N,V+W-X,M+N,V+W-X,M+N,V+W-Y,7,!0)):(this.v.setTripleAt(M-N,V-W,M-N+Y,V-W,M-N,V-W,1,!0),this.v.setTripleAt(M-N,V+W,M-N,V+W-Y,M-N,V+W,2,!0),this.v.setTripleAt(M+N,V+W,M+N-Y,V+W,M+N,V+W,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:o},extendPrototype([DynamicPropertyContainer],F),F}();function O(F,R,M){var V;if(M===3||M===4){var N=M===3?R.pt:R.ks,W=N.k;W.length?V=new _(F,R,M):V=new C(F,R,M)}else M===5?V=new T(F,R):M===6?V=new I(F,R):M===7&&(V=new j(F,R));return V.k&&F.addDynamicProperty(V),V}function D(){return C}function L(){return _}var H={};return H.getShapeProp=O,H.getConstructorFunction=D,H.getKeyframedConstructorFunction=L,H}();/*!
631
631
  Transformation Matrix v2.0
632
632
  (c) Epistemex 2014-2015
633
633
  www.epistemex.com
634
634
  By Ken Fyrstenberg
635
635
  Contributions by leeoniya.
636
636
  License: MIT, header required.
637
- */var Matrix=function(){var i=Math.cos,s=Math.sin,a=Math.tan,o=Math.round;function u(){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}function P(B){if(B===0)return this;var G=i(B),U=s(B);return this._t(G,-U,0,0,U,G,0,0,0,0,1,0,0,0,0,1)}function S(B){if(B===0)return this;var G=i(B),U=s(B);return this._t(1,0,0,0,0,G,-U,0,0,U,G,0,0,0,0,1)}function C(B){if(B===0)return this;var G=i(B),U=s(B);return this._t(G,0,U,0,0,1,0,0,-U,0,G,0,0,0,0,1)}function E(B){if(B===0)return this;var G=i(B),U=s(B);return this._t(G,-U,0,0,U,G,0,0,0,0,1,0,0,0,0,1)}function _(B,G){return this._t(1,G,B,1,0,0)}function I(B,G){return this.shear(a(B),a(G))}function j(B,G){var U=i(G),Z=s(G);return this._t(U,Z,0,0,-Z,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,a(B),1,0,0,0,0,1,0,0,0,0,1)._t(U,-Z,0,0,Z,U,0,0,0,0,1,0,0,0,0,1)}function T(B,G,U){return!U&&U!==0&&(U=1),B===1&&G===1&&U===1?this:this._t(B,0,0,0,0,G,0,0,0,0,U,0,0,0,0,1)}function O(B,G,U,Z,ie,le,he,fe,oe,me,ce,Pe,ve,ue,ge,pe){return this.props[0]=B,this.props[1]=G,this.props[2]=U,this.props[3]=Z,this.props[4]=ie,this.props[5]=le,this.props[6]=he,this.props[7]=fe,this.props[8]=oe,this.props[9]=me,this.props[10]=ce,this.props[11]=Pe,this.props[12]=ve,this.props[13]=ue,this.props[14]=ge,this.props[15]=pe,this}function D(B,G,U){return U=U||0,B!==0||G!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,B,G,U,1):this}function L(B,G,U,Z,ie,le,he,fe,oe,me,ce,Pe,ve,ue,ge,pe){var ae=this.props;if(B===1&&G===0&&U===0&&Z===0&&ie===0&&le===1&&he===0&&fe===0&&oe===0&&me===0&&ce===1&&Pe===0)return ae[12]=ae[12]*B+ae[15]*ve,ae[13]=ae[13]*le+ae[15]*ue,ae[14]=ae[14]*ce+ae[15]*ge,ae[15]*=pe,this._identityCalculated=!1,this;var Ce=ae[0],Ee=ae[1],Se=ae[2],de=ae[3],xe=ae[4],be=ae[5],ye=ae[6],Ae=ae[7],ke=ae[8],_e=ae[9],Me=ae[10],Te=ae[11],we=ae[12],Fe=ae[13],Ie=ae[14],Re=ae[15];return ae[0]=Ce*B+Ee*ie+Se*oe+de*ve,ae[1]=Ce*G+Ee*le+Se*me+de*ue,ae[2]=Ce*U+Ee*he+Se*ce+de*ge,ae[3]=Ce*Z+Ee*fe+Se*Pe+de*pe,ae[4]=xe*B+be*ie+ye*oe+Ae*ve,ae[5]=xe*G+be*le+ye*me+Ae*ue,ae[6]=xe*U+be*he+ye*ce+Ae*ge,ae[7]=xe*Z+be*fe+ye*Pe+Ae*pe,ae[8]=ke*B+_e*ie+Me*oe+Te*ve,ae[9]=ke*G+_e*le+Me*me+Te*ue,ae[10]=ke*U+_e*he+Me*ce+Te*ge,ae[11]=ke*Z+_e*fe+Me*Pe+Te*pe,ae[12]=we*B+Fe*ie+Ie*oe+Re*ve,ae[13]=we*G+Fe*le+Ie*me+Re*ue,ae[14]=we*U+Fe*he+Ie*ce+Re*ge,ae[15]=we*Z+Fe*fe+Ie*Pe+Re*pe,this._identityCalculated=!1,this}function H(B){var G=B.props;return this.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])}function F(){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),this._identityCalculated=!0),this._identity}function R(B){for(var G=0;G<16;){if(B.props[G]!==this.props[G])return!1;G+=1}return!0}function M(B){var G;for(G=0;G<16;G+=1)B.props[G]=this.props[G];return B}function V(B){var G;for(G=0;G<16;G+=1)this.props[G]=B[G]}function N(B,G,U){return{x:B*this.props[0]+G*this.props[4]+U*this.props[8]+this.props[12],y:B*this.props[1]+G*this.props[5]+U*this.props[9]+this.props[13],z:B*this.props[2]+G*this.props[6]+U*this.props[10]+this.props[14]}}function W(B,G,U){return B*this.props[0]+G*this.props[4]+U*this.props[8]+this.props[12]}function X(B,G,U){return B*this.props[1]+G*this.props[5]+U*this.props[9]+this.props[13]}function Y(B,G,U){return B*this.props[2]+G*this.props[6]+U*this.props[10]+this.props[14]}function J(){var B=this.props[0]*this.props[5]-this.props[1]*this.props[4],G=this.props[5]/B,U=-this.props[1]/B,Z=-this.props[4]/B,ie=this.props[0]/B,le=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/B,he=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/B,fe=new Matrix;return fe.props[0]=G,fe.props[1]=U,fe.props[4]=Z,fe.props[5]=ie,fe.props[12]=le,fe.props[13]=he,fe}function re(B){var G=this.getInverseMatrix();return G.applyToPointArray(B[0],B[1],B[2]||0)}function te(B){var G,U=B.length,Z=[];for(G=0;G<U;G+=1)Z[G]=re(B[G]);return Z}function ee(B,G,U){var Z=createTypedArray("float32",6);if(this.isIdentity())Z[0]=B[0],Z[1]=B[1],Z[2]=G[0],Z[3]=G[1],Z[4]=U[0],Z[5]=U[1];else{var ie=this.props[0],le=this.props[1],he=this.props[4],fe=this.props[5],oe=this.props[12],me=this.props[13];Z[0]=B[0]*ie+B[1]*he+oe,Z[1]=B[0]*le+B[1]*fe+me,Z[2]=G[0]*ie+G[1]*he+oe,Z[3]=G[0]*le+G[1]*fe+me,Z[4]=U[0]*ie+U[1]*he+oe,Z[5]=U[0]*le+U[1]*fe+me}return Z}function se(B,G,U){var Z;return this.isIdentity()?Z=[B,G,U]:Z=[B*this.props[0]+G*this.props[4]+U*this.props[8]+this.props[12],B*this.props[1]+G*this.props[5]+U*this.props[9]+this.props[13],B*this.props[2]+G*this.props[6]+U*this.props[10]+this.props[14]],Z}function ne(B,G){if(this.isIdentity())return B+","+G;var U=this.props;return Math.round((B*U[0]+G*U[4]+U[12])*100)/100+","+Math.round((B*U[1]+G*U[5]+U[13])*100)/100}function Q(){for(var B=0,G=this.props,U="matrix3d(",Z=1e4;B<16;)U+=o(G[B]*Z)/Z,U+=B===15?")":",",B+=1;return U}function $(B){var G=1e4;return B<1e-6&&B>0||B>-1e-6&&B<0?o(B*G)/G:B}function K(){var B=this.props,G=$(B[0]),U=$(B[1]),Z=$(B[4]),ie=$(B[5]),le=$(B[12]),he=$(B[13]);return"matrix("+G+","+U+","+Z+","+ie+","+le+","+he+")"}return function(){this.reset=u,this.rotate=P,this.rotateX=S,this.rotateY=C,this.rotateZ=E,this.skew=I,this.skewFromAxis=j,this.shear=_,this.scale=T,this.setTransform=O,this.translate=D,this.transform=L,this.multiply=H,this.applyToPoint=N,this.applyToX=W,this.applyToY=X,this.applyToZ=Y,this.applyToPointArray=se,this.applyToTriplePoints=ee,this.applyToPointStringified=ne,this.toCSS=Q,this.to2dCSS=K,this.clone=M,this.cloneFromProps=V,this.equals=R,this.inversePoints=te,this.inversePoint=re,this.getInverseMatrix=J,this._t=this.transform,this.isIdentity=F,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(a){return typeof a}:_typeof$3=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$3(i)}var lottie={};function setLocation(i){setLocationHref(i)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(i){setSubframeEnabled(i)}function setPrefix(i){setIdPrefix(i)}function loadAnimation(i){return animationManager.loadAnimation(i)}function setQuality(i){if(typeof i=="string")switch(i){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(i)&&i>1&&setDefaultCurveSegments(i)}function inBrowser(){return typeof navigator<"u"}function installPlugin(i,s){i==="expressions"&&setExpressionsPlugin(s)}function getFactory(i){switch(i){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(i){for(var s=queryString.split("&"),a=0;a<s.length;a+=1){var o=s[a].split("=");if(decodeURIComponent(o[0])==i)return decodeURIComponent(o[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(i){}var ShapeModifiers=function(){var i={},s={};i.registerModifier=a,i.getModifier=o;function a(u,P){s[u]||(s[u]=P)}function o(u,P,S){return new s[u](P,S)}return i}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(i){if(!this.closed){i.sh.container.addDynamicProperty(i.sh);var s={shape:i.sh,data:i,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(s),this.addShapeToModifier(s),this._isAnimated&&i.setAsAnimated()}},ShapeModifier.prototype.init=function(i,s){this.shapes=[],this.elem=i,this.initDynamicPropertyContainer(i),this.initModifierProperties(i,s),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(i,s){this.s=PropertyFactory.getProp(i,s.s,0,.01,this),this.e=PropertyFactory.getProp(i,s.e,0,.01,this),this.o=PropertyFactory.getProp(i,s.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=s.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(i){i.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(i,s,a,o,u){var P=[];s<=1?P.push({s:i,e:s}):i>=1?P.push({s:i-1,e:s-1}):(P.push({s:i,e:1}),P.push({s:0,e:s-1}));var S=[],C,E=P.length,_;for(C=0;C<E;C+=1)if(_=P[C],!(_.e*u<o||_.s*u>o+a)){var I,j;_.s*u<=o?I=0:I=(_.s*u-o)/a,_.e*u>=o+a?j=1:j=(_.e*u-o)/a,S.push([I,j])}return S.length||S.push([0,0]),S},TrimModifier.prototype.releasePathsData=function(i){var s,a=i.length;for(s=0;s<a;s+=1)segmentsLengthPool.release(i[s]);return i.length=0,i},TrimModifier.prototype.processShapes=function(i){var s,a;if(this._mdf||i){var o=this.o.v%360/360;if(o<0&&(o+=1),this.s.v>1?s=1+o:this.s.v<0?s=0+o:s=this.s.v+o,this.e.v>1?a=1+o:this.e.v<0?a=0+o:a=this.e.v+o,s>a){var u=s;s=a,a=u}s=Math.round(s*1e4)*1e-4,a=Math.round(a*1e4)*1e-4,this.sValue=s,this.eValue=a}else s=this.sValue,a=this.eValue;var P,S,C=this.shapes.length,E,_,I,j,T,O=0;if(a===s)for(S=0;S<C;S+=1)this.shapes[S].localShapeCollection.releaseShapes(),this.shapes[S].shape._mdf=!0,this.shapes[S].shape.paths=this.shapes[S].localShapeCollection,this._mdf&&(this.shapes[S].pathsData.length=0);else if(a===1&&s===0||a===0&&s===1){if(this._mdf)for(S=0;S<C;S+=1)this.shapes[S].pathsData.length=0,this.shapes[S].shape._mdf=!0}else{var D=[],L,H;for(S=0;S<C;S+=1)if(L=this.shapes[S],!L.shape._mdf&&!this._mdf&&!i&&this.m!==2)L.shape.paths=L.localShapeCollection;else{if(P=L.shape.paths,_=P._length,T=0,!L.shape._mdf&&L.pathsData.length)T=L.totalShapeLength;else{for(I=this.releasePathsData(L.pathsData),E=0;E<_;E+=1)j=bez.getSegmentsLength(P.shapes[E]),I.push(j),T+=j.totalLength;L.totalShapeLength=T,L.pathsData=I}O+=T,L.shape._mdf=!0}var F=s,R=a,M=0,V;for(S=C-1;S>=0;S-=1)if(L=this.shapes[S],L.shape._mdf){for(H=L.localShapeCollection,H.releaseShapes(),this.m===2&&C>1?(V=this.calculateShapeEdges(s,a,L.totalShapeLength,M,O),M+=L.totalShapeLength):V=[[F,R]],_=V.length,E=0;E<_;E+=1){F=V[E][0],R=V[E][1],D.length=0,R<=1?D.push({s:L.totalShapeLength*F,e:L.totalShapeLength*R}):F>=1?D.push({s:L.totalShapeLength*(F-1),e:L.totalShapeLength*(R-1)}):(D.push({s:L.totalShapeLength*F,e:L.totalShapeLength}),D.push({s:0,e:L.totalShapeLength*(R-1)}));var N=this.addShapes(L,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var W=L.shape.paths.shapes[L.shape.paths._length-1];if(W.c){var X=N.pop();this.addPaths(N,H),N=this.addShapes(L,D[1],X)}else this.addPaths(N,H),N=this.addShapes(L,D[1])}this.addPaths(N,H)}}L.shape.paths=H}}},TrimModifier.prototype.addPaths=function(i,s){var a,o=i.length;for(a=0;a<o;a+=1)s.addShape(i[a])},TrimModifier.prototype.addSegment=function(i,s,a,o,u,P,S){u.setXYAt(s[0],s[1],"o",P),u.setXYAt(a[0],a[1],"i",P+1),S&&u.setXYAt(i[0],i[1],"v",P),u.setXYAt(o[0],o[1],"v",P+1)},TrimModifier.prototype.addSegmentFromArray=function(i,s,a,o){s.setXYAt(i[1],i[5],"o",a),s.setXYAt(i[2],i[6],"i",a+1),o&&s.setXYAt(i[0],i[4],"v",a),s.setXYAt(i[3],i[7],"v",a+1)},TrimModifier.prototype.addShapes=function(i,s,a){var o=i.pathsData,u=i.shape.paths.shapes,P,S=i.shape.paths._length,C,E,_=0,I,j,T,O,D=[],L,H=!0;for(a?(j=a._length,L=a._length):(a=shapePool.newElement(),j=0,L=0),D.push(a),P=0;P<S;P+=1){for(T=o[P].lengths,a.c=u[P].c,E=u[P].c?T.length:T.length+1,C=1;C<E;C+=1)if(I=T[C-1],_+I.addedLength<s.s)_+=I.addedLength,a.c=!1;else if(_>s.e){a.c=!1;break}else s.s<=_&&s.e>=_+I.addedLength?(this.addSegment(u[P].v[C-1],u[P].o[C-1],u[P].i[C],u[P].v[C],a,j,H),H=!1):(O=bez.getNewSegment(u[P].v[C-1],u[P].v[C],u[P].o[C-1],u[P].i[C],(s.s-_)/I.addedLength,(s.e-_)/I.addedLength,T[C-1]),this.addSegmentFromArray(O,a,j,H),H=!1,a.c=!1),_+=I.addedLength,j+=1;if(u[P].c&&T.length){if(I=T[C-1],_<=s.e){var F=T[C-1].addedLength;s.s<=_&&s.e>=_+F?(this.addSegment(u[P].v[C-1],u[P].o[C-1],u[P].i[0],u[P].v[0],a,j,H),H=!1):(O=bez.getNewSegment(u[P].v[C-1],u[P].v[0],u[P].o[C-1],u[P].i[0],(s.s-_)/F,(s.e-_)/F,T[C-1]),this.addSegmentFromArray(O,a,j,H),H=!1,a.c=!1)}else a.c=!1;_+=I.addedLength,j+=1}if(a._length&&(a.setXYAt(a.v[L][0],a.v[L][1],"i",L),a.setXYAt(a.v[a._length-1][0],a.v[a._length-1][1],"o",a._length-1)),_>s.e)break;P<S-1&&(a=shapePool.newElement(),H=!0,D.push(a),j=0)}return D};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(i,s.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(i,s){var a=s/100,o=[0,0],u=i._length,P=0;for(P=0;P<u;P+=1)o[0]+=i.v[P][0],o[1]+=i.v[P][1];o[0]/=u,o[1]/=u;var S=shapePool.newElement();S.c=i.c;var C,E,_,I,j,T;for(P=0;P<u;P+=1)C=i.v[P][0]+(o[0]-i.v[P][0])*a,E=i.v[P][1]+(o[1]-i.v[P][1])*a,_=i.o[P][0]+(o[0]-i.o[P][0])*-a,I=i.o[P][1]+(o[1]-i.o[P][1])*-a,j=i.i[P][0]+(o[0]-i.i[P][0])*-a,T=i.i[P][1]+(o[1]-i.i[P][1])*-a,S.setTripleAt(C,E,_,I,j,T,P);return S},PuckerAndBloatModifier.prototype.processShapes=function(i){var s,a,o=this.shapes.length,u,P,S=this.amount.v;if(S!==0){var C,E;for(a=0;a<o;a+=1){if(C=this.shapes[a],E=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!i))for(E.releaseShapes(),C.shape._mdf=!0,s=C.shape.paths.shapes,P=C.shape.paths._length,u=0;u<P;u+=1)E.addShape(this.processPath(s[u],S));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var i=[0,0];function s(E){var _=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||_,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])}function a(E){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||E){var _;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){var I,j;if(_=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(I=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/_,0),j=this.p.getValueAtTime(this.p.keyframes[0].t/_,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(I=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/_,0),j=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/_,0)):(I=this.p.pv,j=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/_,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){I=[],j=[];var T=this.px,O=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(I[0]=T.getValueAtTime((T.keyframes[0].t+.01)/_,0),I[1]=O.getValueAtTime((O.keyframes[0].t+.01)/_,0),j[0]=T.getValueAtTime(T.keyframes[0].t/_,0),j[1]=O.getValueAtTime(O.keyframes[0].t/_,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(I[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/_,0),I[1]=O.getValueAtTime(O.keyframes[O.keyframes.length-1].t/_,0),j[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/_,0),j[1]=O.getValueAtTime((O.keyframes[O.keyframes.length-1].t-.01)/_,0)):(I=[T.pv,O.pv],j[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/_,T.offsetTime),j[1]=O.getValueAtTime((O._caching.lastFrame+O.offsetTime-.01)/_,O.offsetTime))}else j=i,I=j;this.v.rotate(-Math.atan2(I[1]-j[1],I[0]-j[0]))}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])}this.frameId=this.elem.globalData.frameId}}function o(){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;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;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)}function u(){}function P(E){this._addDynamicProperty(E),this.elem.addDynamicProperty(E),this._isDirty=!0}function S(E,_,I){if(this.elem=E,this.frameId=-1,this.propType="transform",this.data=_,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(I||E),_.p&&_.p.s?(this.px=PropertyFactory.getProp(E,_.p.x,0,0,this),this.py=PropertyFactory.getProp(E,_.p.y,0,0,this),_.p.z&&(this.pz=PropertyFactory.getProp(E,_.p.z,0,0,this))):this.p=PropertyFactory.getProp(E,_.p||{k:[0,0,0]},1,0,this),_.rx){if(this.rx=PropertyFactory.getProp(E,_.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(E,_.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(E,_.rz,0,degToRads,this),_.or.k[0].ti){var j,T=_.or.k.length;for(j=0;j<T;j+=1)_.or.k[j].to=null,_.or.k[j].ti=null}this.or=PropertyFactory.getProp(E,_.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(E,_.r||{k:0},0,degToRads,this);_.sk&&(this.sk=PropertyFactory.getProp(E,_.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(E,_.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(E,_.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(E,_.s||{k:[100,100,100]},1,.01,this),_.o?this.o=PropertyFactory.getProp(E,_.o,0,.01,E):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}S.prototype={applyToMatrix:s,getValue:a,precalculateMatrix:o,autoOrient:u},extendPrototype([DynamicPropertyContainer],S),S.prototype.addDynamicProperty=P,S.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function C(E,_,I){return new S(E,_,I)}return{getTransformProperty:C}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(i,s.c,0,null,this),this.o=PropertyFactory.getProp(i,s.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(i,s.tr,this),this.so=PropertyFactory.getProp(i,s.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(i,s.tr.eo,0,.01,this),this.data=s,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(i,s,a,o,u,P){var S=P?-1:1,C=o.s.v[0]+(1-o.s.v[0])*(1-u),E=o.s.v[1]+(1-o.s.v[1])*(1-u);i.translate(o.p.v[0]*S*u,o.p.v[1]*S*u,o.p.v[2]),s.translate(-o.a.v[0],-o.a.v[1],o.a.v[2]),s.rotate(-o.r.v*S*u),s.translate(o.a.v[0],o.a.v[1],o.a.v[2]),a.translate(-o.a.v[0],-o.a.v[1],o.a.v[2]),a.scale(P?1/C:C,P?1/E:E),a.translate(o.a.v[0],o.a.v[1],o.a.v[2])},RepeaterModifier.prototype.init=function(i,s,a,o){for(this.elem=i,this.arr=s,this.pos=a,this.elemsData=o,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(i),this.initModifierProperties(i,s[a]);a>0;)a-=1,this._elements.unshift(s[a]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(i){var s,a=i.length;for(s=0;s<a;s+=1)i[s]._processed=!1,i[s].ty==="gr"&&this.resetElements(i[s].it)},RepeaterModifier.prototype.cloneElements=function(i){var s=JSON.parse(JSON.stringify(i));return this.resetElements(s),s},RepeaterModifier.prototype.changeGroupRender=function(i,s){var a,o=i.length;for(a=0;a<o;a+=1)i[a]._render=s,i[a].ty==="gr"&&this.changeGroupRender(i[a].it,s)},RepeaterModifier.prototype.processShapes=function(i){var s,a,o,u,P,S=!1;if(this._mdf||i){var C=Math.ceil(this.c.v);if(this._groups.length<C){for(;this._groups.length<C;){var E={it:this.cloneElements(this._elements),ty:"gr"};E.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,E),this._groups.splice(0,0,E),this._currentCopies+=1}this.elem.reloadShapes(),S=!0}P=0;var _;for(o=0;o<=this._groups.length-1;o+=1){if(_=P<C,this._groups[o]._render=_,this.changeGroupRender(this._groups[o].it,_),!_){var I=this.elemsData[o].it,j=I[I.length-1];j.transform.op.v!==0?(j.transform.op._mdf=!0,j.transform.op.v=0):j.transform.op._mdf=!1}P+=1}this._currentCopies=C;var T=this.o.v,O=T%1,D=T>0?Math.floor(T):Math.ceil(T),L=this.pMatrix.props,H=this.rMatrix.props,F=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var R=0;if(T>0){for(;R<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),R+=1;O&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,O,!1),R+=O)}else if(T<0){for(;R>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),R-=1;O&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-O,!0),R-=O)}o=this.data.m===1?0:this._currentCopies-1,u=this.data.m===1?1:-1,P=this._currentCopies;for(var M,V;P;){if(s=this.elemsData[o].it,a=s[s.length-1].transform.mProps.v.props,V=a.length,s[s.length-1].transform.mProps._mdf=!0,s[s.length-1].transform.op._mdf=!0,s[s.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(o/(this._currentCopies-1)),R!==0){for((o!==0&&u===1||o!==this._currentCopies-1&&u===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),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]),this.matrix.transform(F[0],F[1],F[2],F[3],F[4],F[5],F[6],F[7],F[8],F[9],F[10],F[11],F[12],F[13],F[14],F[15]),this.matrix.transform(L[0],L[1],L[2],L[3],L[4],L[5],L[6],L[7],L[8],L[9],L[10],L[11],L[12],L[13],L[14],L[15]),M=0;M<V;M+=1)a[M]=this.matrix.props[M];this.matrix.reset()}else for(this.matrix.reset(),M=0;M<V;M+=1)a[M]=this.matrix.props[M];R+=1,P-=1,o+=u}}else for(P=this._currentCopies,o=0,u=1;P;)s=this.elemsData[o].it,a=s[s.length-1].transform.mProps.v.props,s[s.length-1].transform.mProps._mdf=!1,s[s.length-1].transform.op._mdf=!1,P-=1,o+=u;return S},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(i,s.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(i,s){var a=shapePool.newElement();a.c=i.c;var o,u=i._length,P,S,C,E,_,I,j=0,T,O,D,L,H,F;for(o=0;o<u;o+=1)P=i.v[o],C=i.o[o],S=i.i[o],P[0]===C[0]&&P[1]===C[1]&&P[0]===S[0]&&P[1]===S[1]?(o===0||o===u-1)&&!i.c?(a.setTripleAt(P[0],P[1],C[0],C[1],S[0],S[1],j),j+=1):(o===0?E=i.v[u-1]:E=i.v[o-1],_=Math.sqrt(Math.pow(P[0]-E[0],2)+Math.pow(P[1]-E[1],2)),I=_?Math.min(_/2,s)/_:0,H=P[0]+(E[0]-P[0])*I,T=H,F=P[1]-(P[1]-E[1])*I,O=F,D=T-(T-P[0])*roundCorner,L=O-(O-P[1])*roundCorner,a.setTripleAt(T,O,D,L,H,F,j),j+=1,o===u-1?E=i.v[0]:E=i.v[o+1],_=Math.sqrt(Math.pow(P[0]-E[0],2)+Math.pow(P[1]-E[1],2)),I=_?Math.min(_/2,s)/_:0,D=P[0]+(E[0]-P[0])*I,T=D,L=P[1]+(E[1]-P[1])*I,O=L,H=T-(T-P[0])*roundCorner,F=O-(O-P[1])*roundCorner,a.setTripleAt(T,O,D,L,H,F,j),j+=1):(a.setTripleAt(i.v[o][0],i.v[o][1],i.o[o][0],i.o[o][1],i.i[o][0],i.i[o][1],j),j+=1);return a},RoundCornersModifier.prototype.processShapes=function(i){var s,a,o=this.shapes.length,u,P,S=this.rd.v;if(S!==0){var C,E;for(a=0;a<o;a+=1){if(C=this.shapes[a],E=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!i))for(E.releaseShapes(),C.shape._mdf=!0,s=C.shape.paths.shapes,P=C.shape.paths._length,u=0;u<P;u+=1)E.addShape(this.processPath(s[u],S));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(i,s){return Math.abs(i-s)*1e5<=Math.min(Math.abs(i),Math.abs(s))}function floatZero(i){return Math.abs(i)<=1e-5}function lerp(i,s,a){return i*(1-a)+s*a}function lerpPoint(i,s,a){return[lerp(i[0],s[0],a),lerp(i[1],s[1],a)]}function quadRoots(i,s,a){if(i===0)return[];var o=s*s-4*i*a;if(o<0)return[];var u=-s/(2*i);if(o===0)return[u];var P=Math.sqrt(o)/(2*i);return[u-P,u+P]}function polynomialCoefficients(i,s,a,o){return[-i+3*s-3*a+o,3*i-6*s+3*a,-3*i+3*s,i]}function singlePoint(i){return new PolynomialBezier(i,i,i,i,!1)}function PolynomialBezier(i,s,a,o,u){u&&pointEqual(i,s)&&(s=lerpPoint(i,o,1/3)),u&&pointEqual(a,o)&&(a=lerpPoint(i,o,2/3));var P=polynomialCoefficients(i[0],s[0],a[0],o[0]),S=polynomialCoefficients(i[1],s[1],a[1],o[1]);this.a=[P[0],S[0]],this.b=[P[1],S[1]],this.c=[P[2],S[2]],this.d=[P[3],S[3]],this.points=[i,s,a,o]}PolynomialBezier.prototype.point=function(i){return[((this.a[0]*i+this.b[0])*i+this.c[0])*i+this.d[0],((this.a[1]*i+this.b[1])*i+this.c[1])*i+this.d[1]]},PolynomialBezier.prototype.derivative=function(i){return[(3*i*this.a[0]+2*this.b[0])*i+this.c[0],(3*i*this.a[1]+2*this.b[1])*i+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(i){var s=this.derivative(i);return Math.atan2(s[1],s[0])},PolynomialBezier.prototype.normalAngle=function(i){var s=this.derivative(i);return Math.atan2(s[0],s[1])},PolynomialBezier.prototype.inflectionPoints=function(){var i=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(i))return[];var s=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/i,a=s*s-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/i;if(a<0)return[];var o=Math.sqrt(a);return floatZero(o)?o>0&&o<1?[s]:[]:[s-o,s+o].filter(function(u){return u>0&&u<1})},PolynomialBezier.prototype.split=function(i){if(i<=0)return[singlePoint(this.points[0]),this];if(i>=1)return[this,singlePoint(this.points[this.points.length-1])];var s=lerpPoint(this.points[0],this.points[1],i),a=lerpPoint(this.points[1],this.points[2],i),o=lerpPoint(this.points[2],this.points[3],i),u=lerpPoint(s,a,i),P=lerpPoint(a,o,i),S=lerpPoint(u,P,i);return[new PolynomialBezier(this.points[0],s,u,S,!0),new PolynomialBezier(S,P,o,this.points[3],!0)]};function extrema(i,s){var a=i.points[0][s],o=i.points[i.points.length-1][s];if(a>o){var u=o;o=a,a=u}for(var P=quadRoots(3*i.a[s],2*i.b[s],i.c[s]),S=0;S<P.length;S+=1)if(P[S]>0&&P[S]<1){var C=i.point(P[S])[s];C<a?a=C:C>o&&(o=C)}return{min:a,max:o}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var i=this.bounds();return{left:i.x.min,right:i.x.max,top:i.y.min,bottom:i.y.max,width:i.x.max-i.x.min,height:i.y.max-i.y.min,cx:(i.x.max+i.x.min)/2,cy:(i.y.max+i.y.min)/2}};function intersectData(i,s,a){var o=i.boundingBox();return{cx:o.cx,cy:o.cy,width:o.width,height:o.height,bez:i,t:(s+a)/2,t1:s,t2:a}}function splitData(i){var s=i.bez.split(.5);return[intersectData(s[0],i.t1,i.t),intersectData(s[1],i.t,i.t2)]}function boxIntersect(i,s){return Math.abs(i.cx-s.cx)*2<i.width+s.width&&Math.abs(i.cy-s.cy)*2<i.height+s.height}function intersectsImpl(i,s,a,o,u,P){if(boxIntersect(i,s)){if(a>=P||i.width<=o&&i.height<=o&&s.width<=o&&s.height<=o){u.push([i.t,s.t]);return}var S=splitData(i),C=splitData(s);intersectsImpl(S[0],C[0],a+1,o,u,P),intersectsImpl(S[0],C[1],a+1,o,u,P),intersectsImpl(S[1],C[0],a+1,o,u,P),intersectsImpl(S[1],C[1],a+1,o,u,P)}}PolynomialBezier.prototype.intersections=function(i,s,a){s===void 0&&(s=2),a===void 0&&(a=7);var o=[];return intersectsImpl(intersectData(this,0,1),intersectData(i,0,1),0,s,o,a),o},PolynomialBezier.shapeSegment=function(i,s){var a=(s+1)%i.length();return new PolynomialBezier(i.v[s],i.o[s],i.i[a],i.v[a],!0)},PolynomialBezier.shapeSegmentInverted=function(i,s){var a=(s+1)%i.length();return new PolynomialBezier(i.v[a],i.i[a],i.o[s],i.v[s],!0)};function crossProduct(i,s){return[i[1]*s[2]-i[2]*s[1],i[2]*s[0]-i[0]*s[2],i[0]*s[1]-i[1]*s[0]]}function lineIntersection(i,s,a,o){var u=[i[0],i[1],1],P=[s[0],s[1],1],S=[a[0],a[1],1],C=[o[0],o[1],1],E=crossProduct(crossProduct(u,P),crossProduct(S,C));return floatZero(E[2])?null:[E[0]/E[2],E[1]/E[2]]}function polarOffset(i,s,a){return[i[0]+Math.cos(s)*a,i[1]-Math.sin(s)*a]}function pointDistance(i,s){return Math.hypot(i[0]-s[0],i[1]-s[1])}function pointEqual(i,s){return floatEqual(i[0],s[0])&&floatEqual(i[1],s[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(i,s.s,0,null,this),this.frequency=PropertyFactory.getProp(i,s.r,0,null,this),this.pointsType=PropertyFactory.getProp(i,s.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(i,s,a,o,u,P,S){var C=a-Math.PI/2,E=a+Math.PI/2,_=s[0]+Math.cos(a)*o*u,I=s[1]-Math.sin(a)*o*u;i.setTripleAt(_,I,_+Math.cos(C)*P,I-Math.sin(C)*P,_+Math.cos(E)*S,I-Math.sin(E)*S,i.length())}function getPerpendicularVector(i,s){var a=[s[0]-i[0],s[1]-i[1]],o=-Math.PI*.5,u=[Math.cos(o)*a[0]-Math.sin(o)*a[1],Math.sin(o)*a[0]+Math.cos(o)*a[1]];return u}function getProjectingAngle(i,s){var a=s===0?i.length()-1:s-1,o=(s+1)%i.length(),u=i.v[a],P=i.v[o],S=getPerpendicularVector(u,P);return Math.atan2(0,1)-Math.atan2(S[1],S[0])}function zigZagCorner(i,s,a,o,u,P,S){var C=getProjectingAngle(s,a),E=s.v[a%s._length],_=s.v[a===0?s._length-1:a-1],I=s.v[(a+1)%s._length],j=P===2?Math.sqrt(Math.pow(E[0]-_[0],2)+Math.pow(E[1]-_[1],2)):0,T=P===2?Math.sqrt(Math.pow(E[0]-I[0],2)+Math.pow(E[1]-I[1],2)):0;setPoint(i,s.v[a%s._length],C,S,o,T/((u+1)*2),j/((u+1)*2))}function zigZagSegment(i,s,a,o,u,P){for(var S=0;S<o;S+=1){var C=(S+1)/(o+1),E=u===2?Math.sqrt(Math.pow(s.points[3][0]-s.points[0][0],2)+Math.pow(s.points[3][1]-s.points[0][1],2)):0,_=s.normalAngle(C),I=s.point(C);setPoint(i,I,_,P,a,E/((o+1)*2),E/((o+1)*2)),P=-P}return P}ZigZagModifier.prototype.processPath=function(i,s,a,o){var u=i._length,P=shapePool.newElement();if(P.c=i.c,i.c||(u-=1),u===0)return P;var S=-1,C=PolynomialBezier.shapeSegment(i,0);zigZagCorner(P,i,0,s,a,o,S);for(var E=0;E<u;E+=1)S=zigZagSegment(P,C,s,a,o,-S),E===u-1&&!i.c?C=null:C=PolynomialBezier.shapeSegment(i,(E+1)%u),zigZagCorner(P,i,E+1,s,a,o,S);return P},ZigZagModifier.prototype.processShapes=function(i){var s,a,o=this.shapes.length,u,P,S=this.amplitude.v,C=Math.max(0,Math.round(this.frequency.v)),E=this.pointsType.v;if(S!==0){var _,I;for(a=0;a<o;a+=1){if(_=this.shapes[a],I=_.localShapeCollection,!(!_.shape._mdf&&!this._mdf&&!i))for(I.releaseShapes(),_.shape._mdf=!0,s=_.shape.paths.shapes,P=_.shape.paths._length,u=0;u<P;u+=1)I.addShape(this.processPath(s[u],S,C,E));_.shape.paths=_.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(i,s,a){var o=Math.atan2(s[0]-i[0],s[1]-i[1]);return[polarOffset(i,o,a),polarOffset(s,o,a)]}function offsetSegment(i,s){var a,o,u,P,S,C,E;E=linearOffset(i.points[0],i.points[1],s),a=E[0],o=E[1],E=linearOffset(i.points[1],i.points[2],s),u=E[0],P=E[1],E=linearOffset(i.points[2],i.points[3],s),S=E[0],C=E[1];var _=lineIntersection(a,o,u,P);_===null&&(_=o);var I=lineIntersection(S,C,u,P);return I===null&&(I=S),new PolynomialBezier(a,_,I,C)}function joinLines(i,s,a,o,u){var P=s.points[3],S=a.points[0];if(o===3||pointEqual(P,S))return P;if(o===2){var C=-s.tangentAngle(1),E=-a.tangentAngle(0)+Math.PI,_=lineIntersection(P,polarOffset(P,C+Math.PI/2,100),S,polarOffset(S,C+Math.PI/2,100)),I=_?pointDistance(_,P):pointDistance(P,S)/2,j=polarOffset(P,C,2*I*roundCorner);return i.setXYAt(j[0],j[1],"o",i.length()-1),j=polarOffset(S,E,2*I*roundCorner),i.setTripleAt(S[0],S[1],S[0],S[1],j[0],j[1],i.length()),S}var T=pointEqual(P,s.points[2])?s.points[0]:s.points[2],O=pointEqual(S,a.points[1])?a.points[3]:a.points[1],D=lineIntersection(T,P,S,O);return D&&pointDistance(D,P)<u?(i.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],i.length()),D):P}function getIntersection(i,s){var a=i.intersections(s);return a.length&&floatEqual(a[0][0],1)&&a.shift(),a.length?a[0]:null}function pruneSegmentIntersection(i,s){var a=i.slice(),o=s.slice(),u=getIntersection(i[i.length-1],s[0]);return u&&(a[i.length-1]=i[i.length-1].split(u[0])[0],o[0]=s[0].split(u[1])[1]),i.length>1&&s.length>1&&(u=getIntersection(i[0],s[s.length-1]),u)?[[i[0].split(u[0])[0]],[s[s.length-1].split(u[1])[1]]]:[a,o]}function pruneIntersections(i){for(var s,a=1;a<i.length;a+=1)s=pruneSegmentIntersection(i[a-1],i[a]),i[a-1]=s[0],i[a]=s[1];return i.length>1&&(s=pruneSegmentIntersection(i[i.length-1],i[0]),i[i.length-1]=s[0],i[0]=s[1]),i}function offsetSegmentSplit(i,s){var a=i.inflectionPoints(),o,u,P,S;if(a.length===0)return[offsetSegment(i,s)];if(a.length===1||floatEqual(a[1],1))return P=i.split(a[0]),o=P[0],u=P[1],[offsetSegment(o,s),offsetSegment(u,s)];P=i.split(a[0]),o=P[0];var C=(a[1]-a[0])/(1-a[0]);return P=P[1].split(C),S=P[0],u=P[1],[offsetSegment(o,s),offsetSegment(S,s),offsetSegment(u,s)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(i,s.a,0,null,this),this.miterLimit=PropertyFactory.getProp(i,s.ml,0,null,this),this.lineJoin=s.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(i,s,a,o){var u=shapePool.newElement();u.c=i.c;var P=i.length();i.c||(P-=1);var S,C,E,_=[];for(S=0;S<P;S+=1)E=PolynomialBezier.shapeSegment(i,S),_.push(offsetSegmentSplit(E,s));if(!i.c)for(S=P-1;S>=0;S-=1)E=PolynomialBezier.shapeSegmentInverted(i,S),_.push(offsetSegmentSplit(E,s));_=pruneIntersections(_);var I=null,j=null;for(S=0;S<_.length;S+=1){var T=_[S];for(j&&(I=joinLines(u,j,T[0],a,o)),j=T[T.length-1],C=0;C<T.length;C+=1)E=T[C],I&&pointEqual(E.points[0],I)?u.setXYAt(E.points[1][0],E.points[1][1],"o",u.length()-1):u.setTripleAt(E.points[0][0],E.points[0][1],E.points[1][0],E.points[1][1],E.points[0][0],E.points[0][1],u.length()),u.setTripleAt(E.points[3][0],E.points[3][1],E.points[3][0],E.points[3][1],E.points[2][0],E.points[2][1],u.length()),I=E.points[3]}return _.length&&joinLines(u,j,_[0][0],a,o),u},OffsetPathModifier.prototype.processShapes=function(i){var s,a,o=this.shapes.length,u,P,S=this.amount.v,C=this.miterLimit.v,E=this.lineJoin;if(S!==0){var _,I;for(a=0;a<o;a+=1){if(_=this.shapes[a],I=_.localShapeCollection,!(!_.shape._mdf&&!this._mdf&&!i))for(I.releaseShapes(),_.shape._mdf=!0,s=_.shape.paths.shapes,P=_.shape.paths._length,u=0;u<P;u+=1)I.addShape(this.processPath(s[u],S,E,C));_.shape.paths=_.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(i){for(var s=i.fStyle?i.fStyle.split(" "):[],a="normal",o="normal",u=s.length,P,S=0;S<u;S+=1)switch(P=s[S].toLowerCase(),P){case"italic":o="italic";break;case"bold":a="700";break;case"black":a="900";break;case"medium":a="500";break;case"regular":case"normal":a="400";break;case"light":case"thin":a="200";break}return{style:o,weight:i.fWeight||a}}var FontManager=function(){var i=5e3,s={w:0,size:0,shapes:[],data:{shapes:[]}},a=[];a=a.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var o=127988,u=917631,P=917601,S=917626,C=65039,E=8205,_=127462,I=127487,j=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T($){var K=$.split(","),B,G=K.length,U=[];for(B=0;B<G;B+=1)K[B]!=="sans-serif"&&K[B]!=="monospace"&&U.push(K[B]);return U.join(",")}function O($,K){var B=createTag("span");B.setAttribute("aria-hidden",!0),B.style.fontFamily=K;var G=createTag("span");G.innerText="giItT1WQy@!-/#",B.style.position="absolute",B.style.left="-10000px",B.style.top="-10000px",B.style.fontSize="300px",B.style.fontVariant="normal",B.style.fontStyle="normal",B.style.fontWeight="normal",B.style.letterSpacing="0",B.appendChild(G),document.body.appendChild(B);var U=G.offsetWidth;return G.style.fontFamily=T($)+", "+K,{node:G,w:U,parent:B}}function D(){var $,K=this.fonts.length,B,G,U=K;for($=0;$<K;$+=1)this.fonts[$].loaded?U-=1:this.fonts[$].fOrigin==="n"||this.fonts[$].origin===0?this.fonts[$].loaded=!0:(B=this.fonts[$].monoCase.node,G=this.fonts[$].monoCase.w,B.offsetWidth!==G?(U-=1,this.fonts[$].loaded=!0):(B=this.fonts[$].sansCase.node,G=this.fonts[$].sansCase.w,B.offsetWidth!==G&&(U-=1,this.fonts[$].loaded=!0)),this.fonts[$].loaded&&(this.fonts[$].sansCase.parent.parentNode.removeChild(this.fonts[$].sansCase.parent),this.fonts[$].monoCase.parent.parentNode.removeChild(this.fonts[$].monoCase.parent)));U!==0&&Date.now()-this.initTime<i?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function L($,K){var B=document.body&&K?"svg":"canvas",G,U=getFontProperties($);if(B==="svg"){var Z=createNS("text");Z.style.fontSize="100px",Z.setAttribute("font-family",$.fFamily),Z.setAttribute("font-style",U.style),Z.setAttribute("font-weight",U.weight),Z.textContent="1",$.fClass?(Z.style.fontFamily="inherit",Z.setAttribute("class",$.fClass)):Z.style.fontFamily=$.fFamily,K.appendChild(Z),G=Z}else{var ie=new OffscreenCanvas(500,500).getContext("2d");ie.font=U.style+" "+U.weight+" 100px "+$.fFamily,G=ie}function le(he){return B==="svg"?(G.textContent=he,G.getComputedTextLength()):G.measureText(he).width}return{measureText:le}}function H($,K){if(!$){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=$.list;return}if(!document.body){this.isLoaded=!0,$.list.forEach(function(ce){ce.helper=L(ce),ce.cache={}}),this.fonts=$.list;return}var B=$.list,G,U=B.length,Z=U;for(G=0;G<U;G+=1){var ie=!0,le,he;if(B[G].loaded=!1,B[G].monoCase=O(B[G].fFamily,"monospace"),B[G].sansCase=O(B[G].fFamily,"sans-serif"),!B[G].fPath)B[G].loaded=!0,Z-=1;else if(B[G].fOrigin==="p"||B[G].origin===3){if(le=document.querySelectorAll('style[f-forigin="p"][f-family="'+B[G].fFamily+'"], style[f-origin="3"][f-family="'+B[G].fFamily+'"]'),le.length>0&&(ie=!1),ie){var fe=createTag("style");fe.setAttribute("f-forigin",B[G].fOrigin),fe.setAttribute("f-origin",B[G].origin),fe.setAttribute("f-family",B[G].fFamily),fe.type="text/css",fe.innerText="@font-face {font-family: "+B[G].fFamily+"; font-style: normal; src: url('"+B[G].fPath+"');}",K.appendChild(fe)}}else if(B[G].fOrigin==="g"||B[G].origin===1){for(le=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),he=0;he<le.length;he+=1)le[he].href.indexOf(B[G].fPath)!==-1&&(ie=!1);if(ie){var oe=createTag("link");oe.setAttribute("f-forigin",B[G].fOrigin),oe.setAttribute("f-origin",B[G].origin),oe.type="text/css",oe.rel="stylesheet",oe.href=B[G].fPath,document.body.appendChild(oe)}}else if(B[G].fOrigin==="t"||B[G].origin===2){for(le=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),he=0;he<le.length;he+=1)B[G].fPath===le[he].src&&(ie=!1);if(ie){var me=createTag("link");me.setAttribute("f-forigin",B[G].fOrigin),me.setAttribute("f-origin",B[G].origin),me.setAttribute("rel","stylesheet"),me.setAttribute("href",B[G].fPath),K.appendChild(me)}}B[G].helper=L(B[G],K),B[G].cache={},this.fonts.push(B[G])}Z===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function F($){if($){this.chars||(this.chars=[]);var K,B=$.length,G,U=this.chars.length,Z;for(K=0;K<B;K+=1){for(G=0,Z=!1;G<U;)this.chars[G].style===$[K].style&&this.chars[G].fFamily===$[K].fFamily&&this.chars[G].ch===$[K].ch&&(Z=!0),G+=1;Z||(this.chars.push($[K]),U+=1)}}}function R($,K,B){for(var G=0,U=this.chars.length;G<U;){if(this.chars[G].ch===$&&this.chars[G].style===K&&this.chars[G].fFamily===B)return this.chars[G];G+=1}return(typeof $=="string"&&$.charCodeAt(0)!==13||!$)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",$,K,B)),s}function M($,K,B){var G=this.getFontByName(K),U=$;if(!G.cache[U]){var Z=G.helper;if($===" "){var ie=Z.measureText("|"+$+"|"),le=Z.measureText("||");G.cache[U]=(ie-le)/100}else G.cache[U]=Z.measureText($)/100}return G.cache[U]*B}function V($){for(var K=0,B=this.fonts.length;K<B;){if(this.fonts[K].fName===$)return this.fonts[K];K+=1}return this.fonts[0]}function N($){var K=0,B=$.charCodeAt(0);if(B>=55296&&B<=56319){var G=$.charCodeAt(1);G>=56320&&G<=57343&&(K=(B-55296)*1024+G-56320+65536)}return K}function W($,K){var B=$.toString(16)+K.toString(16);return j.indexOf(B)!==-1}function X($){return $===E}function Y($){return $===C}function J($){var K=N($);return K>=_&&K<=I}function re($){return J($.substr(0,2))&&J($.substr(2,2))}function te($){return a.indexOf($)!==-1}function ee($,K){var B=N($.substr(K,2));if(B!==o)return!1;var G=0;for(K+=2;G<5;){if(B=N($.substr(K,2)),B<P||B>S)return!1;G+=1,K+=2}return N($.substr(K,2))===u}function se(){this.isLoaded=!0}var ne=function(){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)};ne.isModifier=W,ne.isZeroWidthJoiner=X,ne.isFlagEmoji=re,ne.isRegionalCode=J,ne.isCombinedCharacter=te,ne.isRegionalFlag=ee,ne.isVariationSelector=Y,ne.BLACK_FLAG_CODE_POINT=o;var Q={addChars:F,addFonts:H,getCharData:R,getFontByName:V,measureText:M,checkLoadedFonts:D,setIsLoaded:se};return ne.prototype=Q,ne}();function SlotManager(i){this.animationData=i}SlotManager.prototype.getProp=function(i){return this.animationData.slots&&this.animationData.slots[i.sid]?Object.assign(i,this.animationData.slots[i.sid].p):i};function slotFactory(i){return new SlotManager(i)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(s){this.renderableComponents.indexOf(s)===-1&&this.renderableComponents.push(s)},removeRenderableComponent:function(s){this.renderableComponents.indexOf(s)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(s),1)},prepareRenderableFrame:function(s){this.checkLayerLimits(s)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(s){this.data.ip-this.data.st<=s&&this.data.op-this.data.st>s?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())},renderRenderable:function(){var s,a=this.renderableComponents.length;for(s=0;s<a;s+=1)this.renderableComponents[s].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var i={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(s){return i[s]||""}}();function SliderEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function AngleEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function ColorEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,1,0,a)}function PointEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,1,0,a)}function LayerIndexEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function MaskIndexEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function CheckboxEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function NoValueEffect(){this.p={}}function EffectsManager(i,s){var a=i.ef||[];this.effectElements=[];var o,u=a.length,P;for(o=0;o<u;o+=1)P=new GroupEffect(a[o],s),this.effectElements.push(P)}function GroupEffect(i,s){this.init(i,s)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(i,s){this.data=i,this.effectElements=[],this.initDynamicPropertyContainer(s);var a,o=this.data.ef.length,u,P=this.data.ef;for(a=0;a<o;a+=1){switch(u=null,P[a].ty){case 0:u=new SliderEffect(P[a],s,this);break;case 1:u=new AngleEffect(P[a],s,this);break;case 2:u=new ColorEffect(P[a],s,this);break;case 3:u=new PointEffect(P[a],s,this);break;case 4:case 7:u=new CheckboxEffect(P[a],s,this);break;case 10:u=new LayerIndexEffect(P[a],s,this);break;case 11:u=new MaskIndexEffect(P[a],s,this);break;case 5:u=new EffectsManager(P[a],s);break;default:u=new NoValueEffect(P[a]);break}u&&this.effectElements.push(u)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var s=0,a=this.data.masksProperties.length;s<a;){if(this.data.masksProperties[s].mode!=="n"&&this.data.masksProperties[s].cl!==!1)return!0;s+=1}return!1},initExpressions:function(){var s=getExpressionInterfaces();if(s){var a=s("layer"),o=s("effects"),u=s("shape"),P=s("text"),S=s("comp");this.layerInterface=a(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var C=o.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(C),this.data.ty===0||this.data.xt?this.compInterface=S(this):this.data.ty===4?(this.layerInterface.shapeInterface=u(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=P(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var s=getBlendMode(this.data.bm),a=this.baseElement||this.layerElement;a.style["mix-blend-mode"]=s},initBaseData:function(s,a,o){this.globalData=a,this.comp=o,this.data=s,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(s,a){var o,u=this.dynamicProperties.length;for(o=0;o<u;o+=1)(a||this._isParent&&this.dynamicProperties[o].propType==="transform")&&(this.dynamicProperties[o].getValue(),this.dynamicProperties[o]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(s){this.dynamicProperties.indexOf(s)===-1&&this.dynamicProperties.push(s)}};function FootageElement(i,s,a){this.initFrame(),this.initRenderable(),this.assetData=s.getAssetData(i.refId),this.footageData=s.imageLoader.getAsset(this.assetData),this.initBaseData(i,s,a)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var i=getExpressionInterfaces();if(i){var s=i("footage");this.layerInterface=s(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(i,s,a){this.initFrame(),this.initRenderable(),this.assetData=s.getAssetData(i.refId),this.initBaseData(i,s,a),this._isPlaying=!1,this._canPlay=!1;var o=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(o),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,s.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,i.au&&i.au.lv?i.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(i){if(this.prepareRenderableFrame(i,!0),this.prepareProperties(i,!0),this.tm._placeholder)this._currentTime=i/this.data.sr;else{var s=this.tm.v;this._currentTime=s}this._volume=this.lv.v[0];var a=this._volume*this._volumeMultiplier;this._previousVolume!==a&&(this._previousVolume=a,this.audio.volume(a))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){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))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(i){this.audio.rate(i)},AudioElement.prototype.volume=function(i){this._volumeMultiplier=i,this._previousVolume=i*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(i){var s,a=this.layers.length,o;for(this.completeLayers=!0,s=a-1;s>=0;s-=1)this.elements[s]||(o=this.layers[s],o.ip-o.st<=i-this.layers[s].st&&o.op-o.st>i-this.layers[s].st&&this.buildItem(s)),this.completeLayers=this.elements[s]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(i){switch(i.ty){case 2:return this.createImage(i);case 0:return this.createComp(i);case 1:return this.createSolid(i);case 3:return this.createNull(i);case 4:return this.createShape(i);case 5:return this.createText(i);case 6:return this.createAudio(i);case 13:return this.createCamera(i);case 15:return this.createFootage(i);default:return this.createNull(i)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(i){return new AudioElement(i,this.globalData,this)},BaseRenderer.prototype.createFootage=function(i){return new FootageElement(i,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var i,s=this.layers.length;for(i=0;i<s;i+=1)this.buildItem(i);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(i){this.completeLayers=!1;var s,a=i.length,o,u=this.layers.length;for(s=0;s<a;s+=1)for(o=0;o<u;){if(this.layers[o].id===i[s].id){this.layers[o]=i[s];break}o+=1}},BaseRenderer.prototype.setProjectInterface=function(i){this.globalData.projectInterface=i},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(i,s,a){for(var o=this.elements,u=this.layers,P=0,S=u.length;P<S;)u[P].ind==s&&(!o[P]||o[P]===!0?(this.buildItem(P),this.addPendingElement(i)):(a.push(o[P]),o[P].setAsParent(),u[P].parent!==void 0?this.buildElementParenting(i,u[P].parent,a):i.setHierarchy(a))),P+=1},BaseRenderer.prototype.addPendingElement=function(i){this.pendingElements.push(i)},BaseRenderer.prototype.searchExtraCompositions=function(i){var s,a=i.length;for(s=0;s<a;s+=1)if(i[s].xt){var o=this.createComp(i[s]);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}},BaseRenderer.prototype.getElementById=function(i){var s,a=this.elements.length;for(s=0;s<a;s+=1)if(this.elements[s].data.ind===i)return this.elements[s];return null},BaseRenderer.prototype.getElementByPath=function(i){var s=i.shift(),a;if(typeof s=="number")a=this.elements[s];else{var o,u=this.elements.length;for(o=0;o<u;o+=1)if(this.elements[o].data.nm===s){a=this.elements[o];break}}return i.length===0?a:a.getElementByPath(i)},BaseRenderer.prototype.setupGlobalData=function(i,s){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(i),this.globalData.fontManager.addChars(i.chars),this.globalData.fontManager.addFonts(i.fonts,s),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=i.fr,this.globalData.nm=i.nm,this.globalData.compSize={w:i.w,h:i.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var s=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:s,localMat:s,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var s,a=this.finalTransform.mat,o=0,u=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;o<u;){if(this.hierarchy[o].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}o+=1}if(this.finalTransform._matMdf)for(s=this.finalTransform.mProp.v.props,a.cloneFromProps(s),o=0;o<u;o+=1)a.multiply(this.hierarchy[o].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var s=0,a=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;s<a;)this.localTransforms[s]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[s]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),s+=1;if(this.finalTransform._localMatMdf){var o=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(o),s=1;s<a;s+=1){var u=this.localTransforms[s].matrix;o.multiply(u)}o.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var P=this.finalTransform.localOpacity;for(s=0;s<a;s+=1)P*=this.localTransforms[s].opacity*.01;this.finalTransform.localOpacity=P}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var s=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(s.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var a=0,o=s.length;for(a=0;a<o;a+=1)this.localTransforms.push(s[a])}}},globalToLocal:function(s){var a=[];a.push(this.finalTransform);for(var o=!0,u=this.comp;o;)u.finalTransform?(u.data.hasMask&&a.splice(0,0,u.finalTransform),u=u.comp):o=!1;var P,S=a.length,C;for(P=0;P<S;P+=1)C=a[P].mat.applyToPointArray(0,0,0),s=[s[0]-C[0],s[1]-C[1],0];return s},mHelper:new Matrix};function MaskElement(i,s,a){this.data=i,this.element=s,this.globalData=a,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var o=this.globalData.defs,u,P=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(P),this.solidPath="";var S,C=this.masksProperties,E=0,_=[],I,j,T=createElementID(),O,D,L,H,F="clipPath",R="clip-path";for(u=0;u<P;u+=1)if((C[u].mode!=="a"&&C[u].mode!=="n"||C[u].inv||C[u].o.k!==100||C[u].o.x)&&(F="mask",R="mask"),(C[u].mode==="s"||C[u].mode==="i")&&E===0?(O=createNS("rect"),O.setAttribute("fill","#ffffff"),O.setAttribute("width",this.element.comp.data.w||0),O.setAttribute("height",this.element.comp.data.h||0),_.push(O)):O=null,S=createNS("path"),C[u].mode==="n")this.viewData[u]={op:PropertyFactory.getProp(this.element,C[u].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,C[u],3),elem:S,lastPath:""},o.appendChild(S);else{E+=1,S.setAttribute("fill",C[u].mode==="s"?"#000000":"#ffffff"),S.setAttribute("clip-rule","nonzero");var M;if(C[u].x.k!==0?(F="mask",R="mask",H=PropertyFactory.getProp(this.element,C[u].x,0,null,this.element),M=createElementID(),D=createNS("filter"),D.setAttribute("id",M),L=createNS("feMorphology"),L.setAttribute("operator","erode"),L.setAttribute("in","SourceGraphic"),L.setAttribute("radius","0"),D.appendChild(L),o.appendChild(D),S.setAttribute("stroke",C[u].mode==="s"?"#000000":"#ffffff")):(L=null,H=null),this.storedData[u]={elem:S,x:H,expan:L,lastPath:"",lastOperator:"",filterId:M,lastRadius:0},C[u].mode==="i"){j=_.length;var V=createNS("g");for(I=0;I<j;I+=1)V.appendChild(_[I]);var N=createNS("mask");N.setAttribute("mask-type","alpha"),N.setAttribute("id",T+"_"+E),N.appendChild(S),o.appendChild(N),V.setAttribute("mask","url("+getLocationHref()+"#"+T+"_"+E+")"),_.length=0,_.push(V)}else _.push(S);C[u].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[u]={elem:S,lastPath:"",op:PropertyFactory.getProp(this.element,C[u].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,C[u],3),invRect:O},this.viewData[u].prop.k||this.drawPath(C[u],this.viewData[u].prop.v,this.viewData[u])}for(this.maskElement=createNS(F),P=_.length,u=0;u<P;u+=1)this.maskElement.appendChild(_[u]);E>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(R,"url("+getLocationHref()+"#"+T+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(i){return this.viewData[i].prop},MaskElement.prototype.renderFrame=function(i){var s=this.element.finalTransform.mat,a,o=this.masksProperties.length;for(a=0;a<o;a+=1)if((this.viewData[a].prop._mdf||i)&&this.drawPath(this.masksProperties[a],this.viewData[a].prop.v,this.viewData[a]),(this.viewData[a].op._mdf||i)&&this.viewData[a].elem.setAttribute("fill-opacity",this.viewData[a].op.v),this.masksProperties[a].mode!=="n"&&(this.viewData[a].invRect&&(this.element.finalTransform.mProp._mdf||i)&&this.viewData[a].invRect.setAttribute("transform",s.getInverseMatrix().to2dCSS()),this.storedData[a].x&&(this.storedData[a].x._mdf||i))){var u=this.storedData[a].expan;this.storedData[a].x.v<0?(this.storedData[a].lastOperator!=="erode"&&(this.storedData[a].lastOperator="erode",this.storedData[a].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[a].filterId+")")),u.setAttribute("radius",-this.storedData[a].x.v)):(this.storedData[a].lastOperator!=="dilate"&&(this.storedData[a].lastOperator="dilate",this.storedData[a].elem.setAttribute("filter",null)),this.storedData[a].elem.setAttribute("stroke-width",this.storedData[a].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var i="M0,0 ";return i+=" h"+this.globalData.compSize.w,i+=" v"+this.globalData.compSize.h,i+=" h-"+this.globalData.compSize.w,i+=" v-"+this.globalData.compSize.h+" ",i},MaskElement.prototype.drawPath=function(i,s,a){var o=" M"+s.v[0][0]+","+s.v[0][1],u,P;for(P=s._length,u=1;u<P;u+=1)o+=" C"+s.o[u-1][0]+","+s.o[u-1][1]+" "+s.i[u][0]+","+s.i[u][1]+" "+s.v[u][0]+","+s.v[u][1];if(s.c&&P>1&&(o+=" C"+s.o[u-1][0]+","+s.o[u-1][1]+" "+s.i[0][0]+","+s.i[0][1]+" "+s.v[0][0]+","+s.v[0][1]),a.lastPath!==o){var S="";a.elem&&(s.c&&(S=i.inv?this.solidPath+o:o),a.elem.setAttribute("d",S)),a.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var i={};i.createFilter=s,i.createAlphaToLuminanceFilter=a;function s(o,u){var P=createNS("filter");return P.setAttribute("id",o),u!==!0&&(P.setAttribute("filterUnits","objectBoundingBox"),P.setAttribute("x","0%"),P.setAttribute("y","0%"),P.setAttribute("width","100%"),P.setAttribute("height","100%")),P}function a(){var o=createNS("feColorMatrix");return o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),o}return i}(),featureSupport=function(){var i={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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))&&(i.maskType=!1),/firefox/i.test(navigator.userAgent)&&(i.svgLumaHidden=!1),i}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(i){var s,a="SourceGraphic",o=i.data.ef?i.data.ef.length:0,u=createElementID(),P=filtersFactory.createFilter(u,!0),S=0;this.filters=[];var C;for(s=0;s<o;s+=1){C=null;var E=i.data.ef[s].ty;if(registeredEffects$1[E]){var _=registeredEffects$1[E].effect;C=new _(P,i.effectsManager.effectElements[s],i,idPrefix+S,a),a=idPrefix+S,registeredEffects$1[E].countsAsEffect&&(S+=1)}C&&this.filters.push(C)}S&&(i.globalData.defs.appendChild(P),i.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+u+")")),this.filters.length&&i.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(i){var s,a=this.filters.length;for(s=0;s<a;s+=1)this.filters[s].renderFrame(i)},SVGEffects.prototype.getEffects=function(i){var s,a=this.filters.length,o=[];for(s=0;s<a;s+=1)this.filters[s].type===i&&o.push(this.filters[s]);return o};function registerEffect$1(i,s,a){registeredEffects$1[i]={effect:s,countsAsEffect:a}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var s=null;if(this.data.td){this.matteMasks={};var a=createNS("g");a.setAttribute("id",this.layerId),a.appendChild(this.layerElement),s=a,this.globalData.defs.appendChild(a)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;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){var o=createNS("clipPath"),u=createNS("path");u.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var P=createElementID();if(o.setAttribute("id",P),o.appendChild(u),this.globalData.defs.appendChild(o),this.checkMasks()){var S=createNS("g");S.setAttribute("clip-path","url("+getLocationHref()+"#"+P+")"),S.appendChild(this.layerElement),this.transformedElement=S,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+P+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(s){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[s]){var a=this.layerId+"_"+s,o,u,P,S;if(s===1||s===3){var C=createNS("mask");C.setAttribute("id",a),C.setAttribute("mask-type",s===3?"luminance":"alpha"),P=createNS("use"),P.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),C.appendChild(P),this.globalData.defs.appendChild(C),!featureSupport.maskType&&s===1&&(C.setAttribute("mask-type","luminance"),o=createElementID(),u=filtersFactory.createFilter(o),this.globalData.defs.appendChild(u),u.appendChild(filtersFactory.createAlphaToLuminanceFilter()),S=createNS("g"),S.appendChild(P),C.appendChild(S),S.setAttribute("filter","url("+getLocationHref()+"#"+o+")"))}else if(s===2){var E=createNS("mask");E.setAttribute("id",a),E.setAttribute("mask-type","alpha");var _=createNS("g");E.appendChild(_),o=createElementID(),u=filtersFactory.createFilter(o);var I=createNS("feComponentTransfer");I.setAttribute("in","SourceGraphic"),u.appendChild(I);var j=createNS("feFuncA");j.setAttribute("type","table"),j.setAttribute("tableValues","1.0 0.0"),I.appendChild(j),this.globalData.defs.appendChild(u);var T=createNS("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),_.setAttribute("filter","url("+getLocationHref()+"#"+o+")"),_.appendChild(T),P=createNS("use"),P.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),_.appendChild(P),featureSupport.maskType||(E.setAttribute("mask-type","luminance"),u.appendChild(filtersFactory.createAlphaToLuminanceFilter()),S=createNS("g"),_.appendChild(T),S.appendChild(this.layerElement),_.appendChild(S)),this.globalData.defs.appendChild(E)}this.matteMasks[s]=a}return this.matteMasks[s]},setMatte:function(s){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+s+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(s){this.hierarchy=s},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var i={initElement:function(a,o,u){this.initFrame(),this.initBaseData(a,o,u),this.initTransform(a,o,u),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var a=this.baseElement||this.layerElement;a.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var a=this.baseElement||this.layerElement;a.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(a){this._mdf=!1,this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(i)],RenderableDOMElement)})();function IImageElement(i,s,a){this.assetData=s.getAssetData(i.refId),this.assetData&&this.assetData.sid&&(this.assetData=s.slotManager.getProp(this.assetData)),this.initElement(i,s,a),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var i=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("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",i),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(i,s){this.elem=i,this.pos=s}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(s){var a,o=this.shapeModifiers.length;for(a=0;a<o;a+=1)this.shapeModifiers[a].addShape(s)},isShapeInAnimatedModifiers:function(s){for(var a=0,o=this.shapeModifiers.length;a<o;)if(this.shapeModifiers[a].isAnimatedWithShape(s))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var s,a=this.shapes.length;for(s=0;s<a;s+=1)this.shapes[s].sh.reset();a=this.shapeModifiers.length;var o;for(s=a-1;s>=0&&(o=this.shapeModifiers[s].processShapes(this._isFirstFrame),!o);s-=1);}},searchProcessedElement:function(s){for(var a=this.processedElements,o=0,u=a.length;o<u;){if(a[o].elem===s)return a[o].pos;o+=1}return 0},addProcessedElement:function(s,a){for(var o=this.processedElements,u=o.length;u;)if(u-=1,o[u].elem===s){o[u].pos=a;return}o.push(new ProcessedElement(s,a))},prepareFrame:function(s){this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(i,s,a){this.caches=[],this.styles=[],this.transformers=i,this.lStr="",this.sh=a,this.lvl=s,this._isAnimated=!!a.k;for(var o=0,u=i.length;o<u;){if(i[o].mProps.dynamicProperties.length){this._isAnimated=!0;break}o+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(i,s){this.data=i,this.type=i.ty,this.d="",this.lvl=s,this._mdf=!1,this.closed=i.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(i,s,a,o){this.elem=i,this.frameId=-1,this.dataProps=createSizedArray(s.length),this.renderer=a,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",s.length?s.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(o);var u,P=s.length||0,S;for(u=0;u<P;u+=1)S=PropertyFactory.getProp(i,s[u].v,0,0,this),this.k=S.k||this.k,this.dataProps[u]={n:s[u].n,p:S};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(i){if(!(this.elem.globalData.frameId===this.frameId&&!i)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||i,this._mdf)){var s=0,a=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),s=0;s<a;s+=1)this.dataProps[s].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[s].p.v:this.dashArray[s]=this.dataProps[s].p.v:this.dashoffset[0]=this.dataProps[s].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(i,s.o,0,.01,this),this.w=PropertyFactory.getProp(i,s.w,0,null,this),this.d=new DashProperty(i,s.d||{},"svg",this),this.c=PropertyFactory.getProp(i,s.c,1,255,this),this.style=a,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(i,s.o,0,.01,this),this.c=PropertyFactory.getProp(i,s.c,1,255,this),this.style=a}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.style=a}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(i,s,a){this.data=s,this.c=createTypedArray("uint8c",s.p*4);var o=s.k.k[0].s?s.k.k[0].s.length-s.p*4:s.k.k.length-s.p*4;this.o=createTypedArray("float32",o),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=o,this.initDynamicPropertyContainer(a),this.prop=PropertyFactory.getProp(i,s.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(i,s){for(var a=0,o=this.o.length/2,u;a<o;){if(u=Math.abs(i[a*4]-i[s*4+a*2]),u>.01)return!1;a+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var i=0,s=this.data.k.k.length;i<s;){if(!this.comparePoints(this.data.k.k[i].s,this.data.p))return!1;i+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(i){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||i){var s,a=this.data.p*4,o,u;for(s=0;s<a;s+=1)o=s%4===0?100:255,u=Math.round(this.prop.v[s]*o),this.c[s]!==u&&(this.c[s]=u,this._cmdf=!i);if(this.o.length)for(a=this.prop.v.length,s=this.data.p*4;s<a;s+=1)o=s%2===0?100:1,u=s%2===0?Math.round(this.prop.v[s]*100):this.prop.v[s],this.o[s-this.data.p*4]!==u&&(this.o[s-this.data.p*4]=u,this._omdf=!i);this._mdf=!i}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.initGradientData(i,s,a)}SVGGradientFillStyleData.prototype.initGradientData=function(i,s,a){this.o=PropertyFactory.getProp(i,s.o,0,.01,this),this.s=PropertyFactory.getProp(i,s.s,1,null,this),this.e=PropertyFactory.getProp(i,s.e,1,null,this),this.h=PropertyFactory.getProp(i,s.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(i,s.a||{k:0},0,degToRads,this),this.g=new GradientProperty(i,s.g,this),this.style=a,this.stops=[],this.setGradientData(a.pElem,s),this.setGradientOpacity(s,a),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(i,s){var a=createElementID(),o=createNS(s.t===1?"linearGradient":"radialGradient");o.setAttribute("id",a),o.setAttribute("spreadMethod","pad"),o.setAttribute("gradientUnits","userSpaceOnUse");var u=[],P,S,C;for(C=s.g.p*4,S=0;S<C;S+=4)P=createNS("stop"),o.appendChild(P),u.push(P);i.setAttribute(s.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+a+")"),this.gf=o,this.cst=u},SVGGradientFillStyleData.prototype.setGradientOpacity=function(i,s){if(this.g._hasOpacity&&!this.g._collapsable){var a,o,u,P=createNS("mask"),S=createNS("path");P.appendChild(S);var C=createElementID(),E=createElementID();P.setAttribute("id",E);var _=createNS(i.t===1?"linearGradient":"radialGradient");_.setAttribute("id",C),_.setAttribute("spreadMethod","pad"),_.setAttribute("gradientUnits","userSpaceOnUse"),u=i.g.k.k[0].s?i.g.k.k[0].s.length:i.g.k.k.length;var I=this.stops;for(o=i.g.p*4;o<u;o+=2)a=createNS("stop"),a.setAttribute("stop-color","rgb(255,255,255)"),_.appendChild(a),I.push(a);S.setAttribute(i.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+C+")"),i.ty==="gs"&&(S.setAttribute("stroke-linecap",lineCapEnum[i.lc||2]),S.setAttribute("stroke-linejoin",lineJoinEnum[i.lj||2]),i.lj===1&&S.setAttribute("stroke-miterlimit",i.ml)),this.of=_,this.ms=P,this.ost=I,this.maskId=E,s.msElem=S}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(i,s.w,0,null,this),this.d=new DashProperty(i,s.d||{},"svg",this),this.initGradientData(i,s,a),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(i,s,a){this.transform={mProps:i,op:s,container:a},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(s,a,o,u){if(a===0)return"";var P=s.o,S=s.i,C=s.v,E,_=" M"+u.applyToPointStringified(C[0][0],C[0][1]);for(E=1;E<a;E+=1)_+=" C"+u.applyToPointStringified(P[E-1][0],P[E-1][1])+" "+u.applyToPointStringified(S[E][0],S[E][1])+" "+u.applyToPointStringified(C[E][0],C[E][1]);return o&&a&&(_+=" C"+u.applyToPointStringified(P[E-1][0],P[E-1][1])+" "+u.applyToPointStringified(S[0][0],S[0][1])+" "+u.applyToPointStringified(C[0][0],C[0][1]),_+="z"),_},SVGElementsRenderer=function(){var i=new Matrix,s=new Matrix,a={createRenderFunction:o};function o(j){switch(j.ty){case"fl":return C;case"gf":return _;case"gs":return E;case"st":return I;case"sh":case"el":case"rc":case"sr":return S;case"tr":return u;case"no":return P;default:return null}}function u(j,T,O){(O||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(O||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function P(){}function S(j,T,O){var D,L,H,F,R,M,V=T.styles.length,N=T.lvl,W,X,Y,J;for(M=0;M<V;M+=1){if(F=T.sh._mdf||O,T.styles[M].lvl<N){for(X=s.reset(),Y=N-T.styles[M].lvl,J=T.transformers.length-1;!F&&Y>0;)F=T.transformers[J].mProps._mdf||F,Y-=1,J-=1;if(F)for(Y=N-T.styles[M].lvl,J=T.transformers.length-1;Y>0;)X.multiply(T.transformers[J].mProps.v),Y-=1,J-=1}else X=i;if(W=T.sh.paths,L=W._length,F){for(H="",D=0;D<L;D+=1)R=W.shapes[D],R&&R._length&&(H+=buildShapeString(R,R._length,R.c,X));T.caches[M]=H}else H=T.caches[M];T.styles[M].d+=j.hd===!0?"":H,T.styles[M]._mdf=F||T.styles[M]._mdf}}function C(j,T,O){var D=T.style;(T.c._mdf||O)&&D.pElem.setAttribute("fill","rgb("+bmFloor(T.c.v[0])+","+bmFloor(T.c.v[1])+","+bmFloor(T.c.v[2])+")"),(T.o._mdf||O)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function E(j,T,O){_(j,T,O),I(j,T,O)}function _(j,T,O){var D=T.gf,L=T.g._hasOpacity,H=T.s.v,F=T.e.v;if(T.o._mdf||O){var R=j.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(R,T.o.v)}if(T.s._mdf||O){var M=j.t===1?"x1":"cx",V=M==="x1"?"y1":"cy";D.setAttribute(M,H[0]),D.setAttribute(V,H[1]),L&&!T.g._collapsable&&(T.of.setAttribute(M,H[0]),T.of.setAttribute(V,H[1]))}var N,W,X,Y;if(T.g._cmdf||O){N=T.cst;var J=T.g.c;for(X=N.length,W=0;W<X;W+=1)Y=N[W],Y.setAttribute("offset",J[W*4]+"%"),Y.setAttribute("stop-color","rgb("+J[W*4+1]+","+J[W*4+2]+","+J[W*4+3]+")")}if(L&&(T.g._omdf||O)){var re=T.g.o;for(T.g._collapsable?N=T.cst:N=T.ost,X=N.length,W=0;W<X;W+=1)Y=N[W],T.g._collapsable||Y.setAttribute("offset",re[W*2]+"%"),Y.setAttribute("stop-opacity",re[W*2+1])}if(j.t===1)(T.e._mdf||O)&&(D.setAttribute("x2",F[0]),D.setAttribute("y2",F[1]),L&&!T.g._collapsable&&(T.of.setAttribute("x2",F[0]),T.of.setAttribute("y2",F[1])));else{var te;if((T.s._mdf||T.e._mdf||O)&&(te=Math.sqrt(Math.pow(H[0]-F[0],2)+Math.pow(H[1]-F[1],2)),D.setAttribute("r",te),L&&!T.g._collapsable&&T.of.setAttribute("r",te)),T.e._mdf||T.h._mdf||T.a._mdf||O){te||(te=Math.sqrt(Math.pow(H[0]-F[0],2)+Math.pow(H[1]-F[1],2)));var ee=Math.atan2(F[1]-H[1],F[0]-H[0]),se=T.h.v;se>=1?se=.99:se<=-1&&(se=-.99);var ne=te*se,Q=Math.cos(ee+T.a.v)*ne+H[0],$=Math.sin(ee+T.a.v)*ne+H[1];D.setAttribute("fx",Q),D.setAttribute("fy",$),L&&!T.g._collapsable&&(T.of.setAttribute("fx",Q),T.of.setAttribute("fy",$))}}}function I(j,T,O){var D=T.style,L=T.d;L&&(L._mdf||O)&&L.dashStr&&(D.pElem.setAttribute("stroke-dasharray",L.dashStr),D.pElem.setAttribute("stroke-dashoffset",L.dashoffset[0])),T.c&&(T.c._mdf||O)&&D.pElem.setAttribute("stroke","rgb("+bmFloor(T.c.v[0])+","+bmFloor(T.c.v[1])+","+bmFloor(T.c.v[2])+")"),(T.o._mdf||O)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||O)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return a}();function SVGShapeElement(i,s,a){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(i,s,a),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var i,s=this.shapes.length,a,o,u=this.stylesList.length,P,S=[],C=!1;for(o=0;o<u;o+=1){for(P=this.stylesList[o],C=!1,S.length=0,i=0;i<s;i+=1)a=this.shapes[i],a.styles.indexOf(P)!==-1&&(S.push(a),C=a._isAnimated||C);S.length>1&&C&&this.setShapesAsAnimated(S)}},SVGShapeElement.prototype.setShapesAsAnimated=function(i){var s,a=i.length;for(s=0;s<a;s+=1)i[s].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(i,s){var a,o=new SVGStyleData(i,s),u=o.pElem;if(i.ty==="st")a=new SVGStrokeStyleData(this,i,o);else if(i.ty==="fl")a=new SVGFillStyleData(this,i,o);else if(i.ty==="gf"||i.ty==="gs"){var P=i.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;a=new P(this,i,o),this.globalData.defs.appendChild(a.gf),a.maskId&&(this.globalData.defs.appendChild(a.ms),this.globalData.defs.appendChild(a.of),u.setAttribute("mask","url("+getLocationHref()+"#"+a.maskId+")"))}else i.ty==="no"&&(a=new SVGNoStyleData(this,i,o));return(i.ty==="st"||i.ty==="gs")&&(u.setAttribute("stroke-linecap",lineCapEnum[i.lc||2]),u.setAttribute("stroke-linejoin",lineJoinEnum[i.lj||2]),u.setAttribute("fill-opacity","0"),i.lj===1&&u.setAttribute("stroke-miterlimit",i.ml)),i.r===2&&u.setAttribute("fill-rule","evenodd"),i.ln&&u.setAttribute("id",i.ln),i.cl&&u.setAttribute("class",i.cl),i.bm&&(u.style["mix-blend-mode"]=getBlendMode(i.bm)),this.stylesList.push(o),this.addToAnimatedContents(i,a),a},SVGShapeElement.prototype.createGroupElement=function(i){var s=new ShapeGroupData;return i.ln&&s.gr.setAttribute("id",i.ln),i.cl&&s.gr.setAttribute("class",i.cl),i.bm&&(s.gr.style["mix-blend-mode"]=getBlendMode(i.bm)),s},SVGShapeElement.prototype.createTransformElement=function(i,s){var a=TransformPropertyFactory.getTransformProperty(this,i,this),o=new SVGTransformData(a,a.o,s);return this.addToAnimatedContents(i,o),o},SVGShapeElement.prototype.createShapeElement=function(i,s,a){var o=4;i.ty==="rc"?o=5:i.ty==="el"?o=6:i.ty==="sr"&&(o=7);var u=ShapePropertyFactory.getShapeProp(this,i,o,this),P=new SVGShapeData(s,a,u);return this.shapes.push(P),this.addShapeToModifiers(P),this.addToAnimatedContents(i,P),P},SVGShapeElement.prototype.addToAnimatedContents=function(i,s){for(var a=0,o=this.animatedContents.length;a<o;){if(this.animatedContents[a].element===s)return;a+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(i),element:s,data:i})},SVGShapeElement.prototype.setElementStyles=function(i){var s=i.styles,a,o=this.stylesList.length;for(a=0;a<o;a+=1)this.stylesList[a].closed||s.push(this.stylesList[a])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var i,s=this.itemsData.length;for(i=0;i<s;i+=1)this.prevViewData[i]=this.itemsData[i];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),s=this.dynamicProperties.length,i=0;i<s;i+=1)this.dynamicProperties[i].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(i,s,a,o,u,P,S){var C=[].concat(P),E,_=i.length-1,I,j,T=[],O=[],D,L,H;for(E=_;E>=0;E-=1){if(H=this.searchProcessedElement(i[E]),H?s[E]=a[H-1]:i[E]._render=S,i[E].ty==="fl"||i[E].ty==="st"||i[E].ty==="gf"||i[E].ty==="gs"||i[E].ty==="no")H?s[E].style.closed=!1:s[E]=this.createStyleElement(i[E],u),i[E]._render&&s[E].style.pElem.parentNode!==o&&o.appendChild(s[E].style.pElem),T.push(s[E].style);else if(i[E].ty==="gr"){if(!H)s[E]=this.createGroupElement(i[E]);else for(j=s[E].it.length,I=0;I<j;I+=1)s[E].prevViewData[I]=s[E].it[I];this.searchShapes(i[E].it,s[E].it,s[E].prevViewData,s[E].gr,u+1,C,S),i[E]._render&&s[E].gr.parentNode!==o&&o.appendChild(s[E].gr)}else i[E].ty==="tr"?(H||(s[E]=this.createTransformElement(i[E],o)),D=s[E].transform,C.push(D)):i[E].ty==="sh"||i[E].ty==="rc"||i[E].ty==="el"||i[E].ty==="sr"?(H||(s[E]=this.createShapeElement(i[E],C,u)),this.setElementStyles(s[E])):i[E].ty==="tm"||i[E].ty==="rd"||i[E].ty==="ms"||i[E].ty==="pb"||i[E].ty==="zz"||i[E].ty==="op"?(H?(L=s[E],L.closed=!1):(L=ShapeModifiers.getModifier(i[E].ty),L.init(this,i[E]),s[E]=L,this.shapeModifiers.push(L)),O.push(L)):i[E].ty==="rp"&&(H?(L=s[E],L.closed=!0):(L=ShapeModifiers.getModifier(i[E].ty),s[E]=L,L.init(this,i,E,s),this.shapeModifiers.push(L),S=!1),O.push(L));this.addProcessedElement(i[E],E+1)}for(_=T.length,E=0;E<_;E+=1)T[E].closed=!0;for(_=O.length,E=0;E<_;E+=1)O[E].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].reset();for(this.renderShape(),i=0;i<s;i+=1)(this.stylesList[i]._mdf||this._isFirstFrame)&&(this.stylesList[i].msElem&&(this.stylesList[i].msElem.setAttribute("d",this.stylesList[i].d),this.stylesList[i].d="M0 0"+this.stylesList[i].d),this.stylesList[i].pElem.setAttribute("d",this.stylesList[i].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var i,s=this.animatedContents.length,a;for(i=0;i<s;i+=1)a=this.animatedContents[i],(this._isFirstFrame||a.element._isAnimated)&&a.data!==!0&&a.fn(a.data,a.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(i,s,a,o,u,P){this.o=i,this.sw=s,this.sc=a,this.fc=o,this.m=u,this.p=P,this._mdf={o:!0,sw:!!s,sc:!!a,fc:!!o,m:!0,p:!0}}LetterProps.prototype.update=function(i,s,a,o,u,P){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var S=!1;return this.o!==i&&(this.o=i,this._mdf.o=!0,S=!0),this.sw!==s&&(this.sw=s,this._mdf.sw=!0,S=!0),this.sc!==a&&(this.sc=a,this._mdf.sc=!0,S=!0),this.fc!==o&&(this.fc=o,this._mdf.fc=!0,S=!0),this.m!==u&&(this.m=u,this._mdf.m=!0,S=!0),P.length&&(this.p[0]!==P[0]||this.p[1]!==P[1]||this.p[4]!==P[4]||this.p[5]!==P[5]||this.p[12]!==P[12]||this.p[13]!==P[13])&&(this.p=P,this._mdf.p=!0,S=!0),S};function TextProperty(i,s){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,s.d&&s.d.sid&&(s.d=i.globalData.slotManager.getProp(s.d)),this.data=s,this.elem=i,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(i,s){for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(i[a]=s[a]);return i},TextProperty.prototype.setCurrentData=function(i){i.__complete||this.completeTextData(i),this.currentData=i,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(i){this.effectsSequence.push(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(i){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!i)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var s=this.currentData,a=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var o,u=this.effectsSequence.length,P=i||this.data.d.k[this.keysIndex].s;for(o=0;o<u;o+=1)a!==this.keysIndex?P=this.effectsSequence[o](P,P.t):P=this.effectsSequence[o](this.currentData,P.t);s!==P&&this.setCurrentData(P),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var i=this.data.d.k,s=this.elem.comp.renderedFrame,a=0,o=i.length;a<=o-1&&!(a===o-1||i[a+1].t>s);)a+=1;return this.keysIndex!==a&&(this.keysIndex=a),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(i){for(var s=[],a=0,o=i.length,u,P,S=!1,C=!1,E="";a<o;)S=C,C=!1,u=i.charCodeAt(a),E=i.charAt(a),FontManager.isCombinedCharacter(u)?S=!0:u>=55296&&u<=56319?FontManager.isRegionalFlag(i,a)?E=i.substr(a,14):(P=i.charCodeAt(a+1),P>=56320&&P<=57343&&(FontManager.isModifier(u,P)?(E=i.substr(a,2),S=!0):FontManager.isFlagEmoji(i.substr(a,4))?E=i.substr(a,4):E=i.substr(a,2))):u>56319?(P=i.charCodeAt(a+1),FontManager.isVariationSelector(u)&&(S=!0)):FontManager.isZeroWidthJoiner(u)&&(S=!0,C=!0),S?(s[s.length-1]+=E,S=!1):s.push(E),a+=E.length;return s},TextProperty.prototype.completeTextData=function(i){i.__complete=!0;var s=this.elem.globalData.fontManager,a=this.data,o=[],u,P,S,C=0,E,_=a.m.g,I=0,j=0,T=0,O=[],D=0,L=0,H,F,R=s.getFontByName(i.f),M,V=0,N=getFontProperties(R);i.fWeight=N.weight,i.fStyle=N.style,i.finalSize=i.s,i.finalText=this.buildFinalText(i.t),P=i.finalText.length,i.finalLineHeight=i.lh;var W=i.tr/1e3*i.finalSize,X;if(i.sz)for(var Y=!0,J=i.sz[0],re=i.sz[1],te,ee;Y;){ee=this.buildFinalText(i.t),te=0,D=0,P=ee.length,W=i.tr/1e3*i.finalSize;var se=-1;for(u=0;u<P;u+=1)X=ee[u].charCodeAt(0),S=!1,ee[u]===" "?se=u:(X===13||X===3)&&(D=0,S=!0,te+=i.finalLineHeight||i.finalSize*1.2),s.chars?(M=s.getCharData(ee[u],R.fStyle,R.fFamily),V=S?0:M.w*i.finalSize/100):V=s.measureText(ee[u],i.f,i.finalSize),D+V>J&&ee[u]!==" "?(se===-1?P+=1:u=se,te+=i.finalLineHeight||i.finalSize*1.2,ee.splice(u,se===u?1:0,"\r"),se=-1,D=0):(D+=V,D+=W);te+=R.ascent*i.finalSize/100,this.canResize&&i.finalSize>this.minimumFontSize&&re<te?(i.finalSize-=1,i.finalLineHeight=i.finalSize*i.lh/i.s):(i.finalText=ee,P=i.finalText.length,Y=!1)}D=-W,V=0;var ne=0,Q;for(u=0;u<P;u+=1)if(S=!1,Q=i.finalText[u],X=Q.charCodeAt(0),X===13||X===3?(ne=0,O.push(D),L=D>L?D:L,D=-2*W,E="",S=!0,T+=1):E=Q,s.chars?(M=s.getCharData(Q,R.fStyle,s.getFontByName(i.f).fFamily),V=S?0:M.w*i.finalSize/100):V=s.measureText(E,i.f,i.finalSize),Q===" "?ne+=V+W:(D+=V+W+ne,ne=0),o.push({l:V,an:V,add:I,n:S,anIndexes:[],val:E,line:T,animatorJustifyOffset:0}),_==2){if(I+=V,E===""||E===" "||u===P-1){for((E===""||E===" ")&&(I-=V);j<=u;)o[j].an=I,o[j].ind=C,o[j].extra=V,j+=1;C+=1,I=0}}else if(_==3){if(I+=V,E===""||u===P-1){for(E===""&&(I-=V);j<=u;)o[j].an=I,o[j].ind=C,o[j].extra=V,j+=1;I=0,C+=1}}else o[C].ind=C,o[C].extra=0,C+=1;if(i.l=o,L=D>L?D:L,O.push(D),i.sz)i.boxWidth=i.sz[0],i.justifyOffset=0;else switch(i.boxWidth=L,i.j){case 1:i.justifyOffset=-i.boxWidth;break;case 2:i.justifyOffset=-i.boxWidth/2;break;default:i.justifyOffset=0}i.lineWidths=O;var $=a.a,K,B;F=$.length;var G,U,Z=[];for(H=0;H<F;H+=1){for(K=$[H],K.a.sc&&(i.strokeColorAnim=!0),K.a.sw&&(i.strokeWidthAnim=!0),(K.a.fc||K.a.fh||K.a.fs||K.a.fb)&&(i.fillColorAnim=!0),U=0,G=K.s.b,u=0;u<P;u+=1)B=o[u],B.anIndexes[H]=U,(G==1&&B.val!==""||G==2&&B.val!==""&&B.val!==" "||G==3&&(B.n||B.val==" "||u==P-1)||G==4&&(B.n||u==P-1))&&(K.s.rn===1&&Z.push(U),U+=1);a.a[H].s.totalChars=U;var ie=-1,le;if(K.s.rn===1)for(u=0;u<P;u+=1)B=o[u],ie!=B.anIndexes[H]&&(ie=B.anIndexes[H],le=Z.splice(Math.floor(Math.random()*Z.length),1)[0]),B.anIndexes[H]=le}i.yOffset=i.finalLineHeight||i.finalSize*1.2,i.ls=i.ls||0,i.ascent=R.ascent*i.finalSize/100},TextProperty.prototype.updateDocumentData=function(i,s){s=s===void 0?this.keysIndex:s;var a=this.copyData({},this.data.d.k[s].s);a=this.copyData(a,i),this.data.d.k[s].s=a,this.recalculate(s),this.setCurrentData(a),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(i){var s=this.data.d.k[i].s;s.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(s)},TextProperty.prototype.canResizeFont=function(i){this.canResize=i,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(i){this.minimumFontSize=Math.floor(i)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var i=Math.max,s=Math.min,a=Math.floor;function o(P,S){this._currentTextLength=-1,this.k=!1,this.data=S,this.elem=P,this.comp=P.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(P),this.s=PropertyFactory.getProp(P,S.s||{k:0},0,0,this),"e"in S?this.e=PropertyFactory.getProp(P,S.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(P,S.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(P,S.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(P,S.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(P,S.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(P,S.a,0,.01,this),this.dynamicProperties.length||this.getValue()}o.prototype={getMult:function(S){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var C=0,E=0,_=1,I=1;this.ne.v>0?C=this.ne.v/100:E=-this.ne.v/100,this.xe.v>0?_=1-this.xe.v/100:I=1+this.xe.v/100;var j=BezierFactory.getBezierEasing(C,E,_,I).get,T=0,O=this.finalS,D=this.finalE,L=this.data.sh;if(L===2)D===O?T=S>=D?1:0:T=i(0,s(.5/(D-O)+(S-O)/(D-O),1)),T=j(T);else if(L===3)D===O?T=S>=D?0:1:T=1-i(0,s(.5/(D-O)+(S-O)/(D-O),1)),T=j(T);else if(L===4)D===O?T=0:(T=i(0,s(.5/(D-O)+(S-O)/(D-O),1)),T<.5?T*=2:T=1-2*(T-.5)),T=j(T);else if(L===5){if(D===O)T=0;else{var H=D-O;S=s(i(0,S+.5-O),D-O);var F=-H/2+S,R=H/2;T=Math.sqrt(1-F*F/(R*R))}T=j(T)}else L===6?(D===O?T=0:(S=s(i(0,S+.5-O),D-O),T=(1+Math.cos(Math.PI+Math.PI*2*S/(D-O)))/2),T=j(T)):(S>=a(O)&&(S-O<0?T=i(0,s(s(D,1)-(O-S),1)):T=i(0,s(D-S,1))),T=j(T));if(this.sm.v!==100){var M=this.sm.v*.01;M===0&&(M=1e-8);var V=.5-M*.5;T<V?T=0:(T=(T-V)/M,T>1&&(T=1))}return T*this.a.v},getValue:function(S){this.iterateDynamicProperties(),this._mdf=S||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,S&&this.data.r===2&&(this.e.v=this._currentTextLength);var C=this.data.r===2?1:100/this.data.totalChars,E=this.o.v/C,_=this.s.v/C+E,I=this.e.v/C+E;if(_>I){var j=_;_=I,I=j}this.finalS=_,this.finalE=I}},extendPrototype([DynamicPropertyContainer],o);function u(P,S,C){return new o(P,S)}return{getTextSelectorProp:u}}();function TextAnimatorDataProperty(i,s,a){var o={propType:!1},u=PropertyFactory.getProp,P=s.a;this.a={r:P.r?u(i,P.r,0,degToRads,a):o,rx:P.rx?u(i,P.rx,0,degToRads,a):o,ry:P.ry?u(i,P.ry,0,degToRads,a):o,sk:P.sk?u(i,P.sk,0,degToRads,a):o,sa:P.sa?u(i,P.sa,0,degToRads,a):o,s:P.s?u(i,P.s,1,.01,a):o,a:P.a?u(i,P.a,1,0,a):o,o:P.o?u(i,P.o,0,.01,a):o,p:P.p?u(i,P.p,1,0,a):o,sw:P.sw?u(i,P.sw,0,0,a):o,sc:P.sc?u(i,P.sc,1,0,a):o,fc:P.fc?u(i,P.fc,1,0,a):o,fh:P.fh?u(i,P.fh,0,0,a):o,fs:P.fs?u(i,P.fs,0,.01,a):o,fb:P.fb?u(i,P.fb,0,.01,a):o,t:P.t?u(i,P.t,0,0,a):o},this.s=TextSelectorProp.getTextSelectorProp(i,s.s,a),this.s.t=s.s.t}function TextAnimatorProperty(i,s,a){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=i,this._renderType=s,this._elem=a,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(a)}TextAnimatorProperty.prototype.searchProperties=function(){var i,s=this._textData.a.length,a,o=PropertyFactory.getProp;for(i=0;i<s;i+=1)a=this._textData.a[i],this._animatorsData[i]=new TextAnimatorDataProperty(this._elem,a,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:o(this._elem,this._textData.p.a,0,0,this),f:o(this._elem,this._textData.p.f,0,0,this),l:o(this._elem,this._textData.p.l,0,0,this),r:o(this._elem,this._textData.p.r,0,0,this),p:o(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=o(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(i,s){if(this.lettersChangedFlag=s,!(!this._mdf&&!this._isFirstFrame&&!s&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var a=this._moreOptions.alignment.v,o=this._animatorsData,u=this._textData,P=this.mHelper,S=this._renderType,C=this.renderedLetters.length,E,_,I,j,T=i.l,O,D,L,H,F,R,M,V,N,W,X,Y,J,re,te;if(this._hasMaskedPath){if(te=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ee=te.v;this._pathData.r.v&&(ee=ee.reverse()),O={tLength:0,segments:[]},j=ee._length-1;var se;for(Y=0,I=0;I<j;I+=1)se=bez.buildBezierData(ee.v[I],ee.v[I+1],[ee.o[I][0]-ee.v[I][0],ee.o[I][1]-ee.v[I][1]],[ee.i[I+1][0]-ee.v[I+1][0],ee.i[I+1][1]-ee.v[I+1][1]]),O.tLength+=se.segmentLength,O.segments.push(se),Y+=se.segmentLength;I=j,te.v.c&&(se=bez.buildBezierData(ee.v[I],ee.v[0],[ee.o[I][0]-ee.v[I][0],ee.o[I][1]-ee.v[I][1]],[ee.i[0][0]-ee.v[0][0],ee.i[0][1]-ee.v[0][1]]),O.tLength+=se.segmentLength,O.segments.push(se),Y+=se.segmentLength),this._pathData.pi=O}if(O=this._pathData.pi,D=this._pathData.f.v,M=0,R=1,H=0,F=!0,W=O.segments,D<0&&te.v.c)for(O.tLength<Math.abs(D)&&(D=-Math.abs(D)%O.tLength),M=W.length-1,N=W[M].points,R=N.length-1;D<0;)D+=N[R].partialLength,R-=1,R<0&&(M-=1,N=W[M].points,R=N.length-1);N=W[M].points,V=N[R-1],L=N[R],X=L.partialLength}j=T.length,E=0,_=0;var ne=i.finalSize*1.2*.714,Q=!0,$,K,B,G,U;G=o.length;var Z,ie=-1,le,he,fe,oe=D,me=M,ce=R,Pe=-1,ve,ue,ge,pe,ae,Ce,Ee,Se,de="",xe=this.defaultPropsArray,be;if(i.j===2||i.j===1){var ye=0,Ae=0,ke=i.j===2?-.5:-1,_e=0,Me=!0;for(I=0;I<j;I+=1)if(T[I].n){for(ye&&(ye+=Ae);_e<I;)T[_e].animatorJustifyOffset=ye,_e+=1;ye=0,Me=!0}else{for(B=0;B<G;B+=1)$=o[B].a,$.t.propType&&(Me&&i.j===2&&(Ae+=$.t.v*ke),K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?ye+=$.t.v*Z[0]*ke:ye+=$.t.v*Z*ke);Me=!1}for(ye&&(ye+=Ae);_e<I;)T[_e].animatorJustifyOffset=ye,_e+=1}for(I=0;I<j;I+=1){if(P.reset(),ve=1,T[I].n)E=0,_+=i.yOffset,_+=Q?1:0,D=oe,Q=!1,this._hasMaskedPath&&(M=me,R=ce,N=W[M].points,V=N[R-1],L=N[R],X=L.partialLength,H=0),de="",Se="",Ce="",be="",xe=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Pe!==T[I].line){switch(i.j){case 1:D+=Y-i.lineWidths[T[I].line];break;case 2:D+=(Y-i.lineWidths[T[I].line])/2;break}Pe=T[I].line}ie!==T[I].ind&&(T[ie]&&(D+=T[ie].extra),D+=T[I].an/2,ie=T[I].ind),D+=a[0]*T[I].an*.005;var Te=0;for(B=0;B<G;B+=1)$=o[B].a,$.p.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?Te+=$.p.v[0]*Z[0]:Te+=$.p.v[0]*Z),$.a.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?Te+=$.a.v[0]*Z[0]:Te+=$.a.v[0]*Z);for(F=!0,this._pathData.a.v&&(D=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*ie/(j-1),D+=this._pathData.f.v);F;)H+X>=D+Te||!N?(J=(D+Te-H)/L.partialLength,he=V.point[0]+(L.point[0]-V.point[0])*J,fe=V.point[1]+(L.point[1]-V.point[1])*J,P.translate(-a[0]*T[I].an*.005,-(a[1]*ne)*.01),F=!1):N&&(H+=L.partialLength,R+=1,R>=N.length&&(R=0,M+=1,W[M]?N=W[M].points:te.v.c?(R=0,M=0,N=W[M].points):(H-=L.partialLength,N=null)),N&&(V=L,L=N[R],X=L.partialLength));le=T[I].an/2-T[I].add,P.translate(-le,0,0)}else le=T[I].an/2-T[I].add,P.translate(-le,0,0),P.translate(-a[0]*T[I].an*.005,-a[1]*ne*.01,0);for(B=0;B<G;B+=1)$=o[B].a,$.t.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),(E!==0||i.j!==0)&&(this._hasMaskedPath?Z.length?D+=$.t.v*Z[0]:D+=$.t.v*Z:Z.length?E+=$.t.v*Z[0]:E+=$.t.v*Z));for(i.strokeWidthAnim&&(ge=i.sw||0),i.strokeColorAnim&&(i.sc?ue=[i.sc[0],i.sc[1],i.sc[2]]:ue=[0,0,0]),i.fillColorAnim&&i.fc&&(pe=[i.fc[0],i.fc[1],i.fc[2]]),B=0;B<G;B+=1)$=o[B].a,$.a.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?P.translate(-$.a.v[0]*Z[0],-$.a.v[1]*Z[1],$.a.v[2]*Z[2]):P.translate(-$.a.v[0]*Z,-$.a.v[1]*Z,$.a.v[2]*Z));for(B=0;B<G;B+=1)$=o[B].a,$.s.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?P.scale(1+($.s.v[0]-1)*Z[0],1+($.s.v[1]-1)*Z[1],1):P.scale(1+($.s.v[0]-1)*Z,1+($.s.v[1]-1)*Z,1));for(B=0;B<G;B+=1){if($=o[B].a,K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),$.sk.propType&&(Z.length?P.skewFromAxis(-$.sk.v*Z[0],$.sa.v*Z[1]):P.skewFromAxis(-$.sk.v*Z,$.sa.v*Z)),$.r.propType&&(Z.length?P.rotateZ(-$.r.v*Z[2]):P.rotateZ(-$.r.v*Z)),$.ry.propType&&(Z.length?P.rotateY($.ry.v*Z[1]):P.rotateY($.ry.v*Z)),$.rx.propType&&(Z.length?P.rotateX($.rx.v*Z[0]):P.rotateX($.rx.v*Z)),$.o.propType&&(Z.length?ve+=($.o.v*Z[0]-ve)*Z[0]:ve+=($.o.v*Z-ve)*Z),i.strokeWidthAnim&&$.sw.propType&&(Z.length?ge+=$.sw.v*Z[0]:ge+=$.sw.v*Z),i.strokeColorAnim&&$.sc.propType)for(ae=0;ae<3;ae+=1)Z.length?ue[ae]+=($.sc.v[ae]-ue[ae])*Z[0]:ue[ae]+=($.sc.v[ae]-ue[ae])*Z;if(i.fillColorAnim&&i.fc){if($.fc.propType)for(ae=0;ae<3;ae+=1)Z.length?pe[ae]+=($.fc.v[ae]-pe[ae])*Z[0]:pe[ae]+=($.fc.v[ae]-pe[ae])*Z;$.fh.propType&&(Z.length?pe=addHueToRGB(pe,$.fh.v*Z[0]):pe=addHueToRGB(pe,$.fh.v*Z)),$.fs.propType&&(Z.length?pe=addSaturationToRGB(pe,$.fs.v*Z[0]):pe=addSaturationToRGB(pe,$.fs.v*Z)),$.fb.propType&&(Z.length?pe=addBrightnessToRGB(pe,$.fb.v*Z[0]):pe=addBrightnessToRGB(pe,$.fb.v*Z))}}for(B=0;B<G;B+=1)$=o[B].a,$.p.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),this._hasMaskedPath?Z.length?P.translate(0,$.p.v[1]*Z[0],-$.p.v[2]*Z[1]):P.translate(0,$.p.v[1]*Z,-$.p.v[2]*Z):Z.length?P.translate($.p.v[0]*Z[0],$.p.v[1]*Z[1],-$.p.v[2]*Z[2]):P.translate($.p.v[0]*Z,$.p.v[1]*Z,-$.p.v[2]*Z));if(i.strokeWidthAnim&&(Ce=ge<0?0:ge),i.strokeColorAnim&&(Ee="rgb("+Math.round(ue[0]*255)+","+Math.round(ue[1]*255)+","+Math.round(ue[2]*255)+")"),i.fillColorAnim&&i.fc&&(Se="rgb("+Math.round(pe[0]*255)+","+Math.round(pe[1]*255)+","+Math.round(pe[2]*255)+")"),this._hasMaskedPath){if(P.translate(0,-i.ls),P.translate(0,a[1]*ne*.01+_,0),this._pathData.p.v){re=(L.point[1]-V.point[1])/(L.point[0]-V.point[0]);var we=Math.atan(re)*180/Math.PI;L.point[0]<V.point[0]&&(we+=180),P.rotate(-we*Math.PI/180)}P.translate(he,fe,0),D-=a[0]*T[I].an*.005,T[I+1]&&ie!==T[I+1].ind&&(D+=T[I].an/2,D+=i.tr*.001*i.finalSize)}else{switch(P.translate(E,_,0),i.ps&&P.translate(i.ps[0],i.ps[1]+i.ascent,0),i.j){case 1:P.translate(T[I].animatorJustifyOffset+i.justifyOffset+(i.boxWidth-i.lineWidths[T[I].line]),0,0);break;case 2:P.translate(T[I].animatorJustifyOffset+i.justifyOffset+(i.boxWidth-i.lineWidths[T[I].line])/2,0,0);break}P.translate(0,-i.ls),P.translate(le,0,0),P.translate(a[0]*T[I].an*.005,a[1]*ne*.01,0),E+=T[I].l+i.tr*.001*i.finalSize}S==="html"?de=P.toCSS():S==="svg"?de=P.to2dCSS():xe=[P.props[0],P.props[1],P.props[2],P.props[3],P.props[4],P.props[5],P.props[6],P.props[7],P.props[8],P.props[9],P.props[10],P.props[11],P.props[12],P.props[13],P.props[14],P.props[15]],be=ve}C<=I?(U=new LetterProps(be,Ce,Ee,Se,de,xe),this.renderedLetters.push(U),C+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[I],this.lettersChangedFlag=U.update(be,Ce,Ee,Se,de,xe)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(i,s,a){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(i,s,a),this.textProperty=new TextProperty(this,i.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(i.t,this.renderType,this),this.initTransform(i,s,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange)},ITextElement.prototype.createPathShape=function(i,s){var a,o=s.length,u,P="";for(a=0;a<o;a+=1)s[a].ty==="sh"&&(u=s[a].ks.k,P+=buildShapeString(u,u.i.length,!0,i));return P},ITextElement.prototype.updateDocumentData=function(i,s){this.textProperty.updateDocumentData(i,s)},ITextElement.prototype.canResizeFont=function(i){this.textProperty.canResizeFont(i)},ITextElement.prototype.setMinimumFontSize=function(i){this.textProperty.setMinimumFontSize(i)},ITextElement.prototype.applyTextPropertiesToMatrix=function(i,s,a,o,u){switch(i.ps&&s.translate(i.ps[0],i.ps[1]+i.ascent,0),s.translate(0,-i.ls,0),i.j){case 1:s.translate(i.justifyOffset+(i.boxWidth-i.lineWidths[a]),0,0);break;case 2:s.translate(i.justifyOffset+(i.boxWidth-i.lineWidths[a])/2,0,0);break}s.translate(o,u,0)},ITextElement.prototype.buildColor=function(i){return"rgb("+Math.round(i[0]*255)+","+Math.round(i[1]*255)+","+Math.round(i[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(i,s,a){this.textSpans=[],this.renderType="svg",this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(i){for(var s=0,a=i.length,o=[],u="";s<a;)i[s]==="\r"||i[s]===""?(o.push(u),u=""):u+=i[s],s+=1;return o.push(u),o},SVGTextLottieElement.prototype.buildShapeData=function(i,s){if(i.shapes&&i.shapes.length){var a=i.shapes[0];if(a.it){var o=a.it[a.it.length-1];o.s&&(o.s.k[0]=s,o.s.k[1]=s)}}return i},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var i,s,a=this.textProperty.currentData;this.renderedLetters=createSizedArray(a?a.l.length:0),a.fc?this.layerElement.setAttribute("fill",this.buildColor(a.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),a.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(a.sc)),this.layerElement.setAttribute("stroke-width",a.sw)),this.layerElement.setAttribute("font-size",a.finalSize);var o=this.globalData.fontManager.getFontByName(a.f);if(o.fClass)this.layerElement.setAttribute("class",o.fClass);else{this.layerElement.setAttribute("font-family",o.fFamily);var u=a.fWeight,P=a.fStyle;this.layerElement.setAttribute("font-style",P),this.layerElement.setAttribute("font-weight",u)}this.layerElement.setAttribute("aria-label",a.t);var S=a.l||[],C=!!this.globalData.fontManager.chars;s=S.length;var E,_=this.mHelper,I="",j=this.data.singleShape,T=0,O=0,D=!0,L=a.tr*.001*a.finalSize;if(j&&!C&&!a.sz){var H=this.textContainer,F="start";switch(a.j){case 1:F="end";break;case 2:F="middle";break;default:F="start";break}H.setAttribute("text-anchor",F),H.setAttribute("letter-spacing",L);var R=this.buildTextContents(a.finalText);for(s=R.length,O=a.ps?a.ps[1]+a.ascent:0,i=0;i<s;i+=1)E=this.textSpans[i].span||createNS("tspan"),E.textContent=R[i],E.setAttribute("x",0),E.setAttribute("y",O),E.style.display="inherit",H.appendChild(E),this.textSpans[i]||(this.textSpans[i]={span:null,glyph:null}),this.textSpans[i].span=E,O+=a.finalLineHeight;this.layerElement.appendChild(H)}else{var M=this.textSpans.length,V;for(i=0;i<s;i+=1){if(this.textSpans[i]||(this.textSpans[i]={span:null,childSpan:null,glyph:null}),!C||!j||i===0){if(E=M>i?this.textSpans[i].span:createNS(C?"g":"text"),M<=i){if(E.setAttribute("stroke-linecap","butt"),E.setAttribute("stroke-linejoin","round"),E.setAttribute("stroke-miterlimit","4"),this.textSpans[i].span=E,C){var N=createNS("g");E.appendChild(N),this.textSpans[i].childSpan=N}this.textSpans[i].span=E,this.layerElement.appendChild(E)}E.style.display="inherit"}if(_.reset(),j&&(S[i].n&&(T=-L,O+=a.yOffset,O+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(a,_,S[i].line,T,O),T+=S[i].l||0,T+=L),C){V=this.globalData.fontManager.getCharData(a.finalText[i],o.fStyle,this.globalData.fontManager.getFontByName(a.f).fFamily);var W;if(V.t===1)W=new SVGCompElement(V.data,this.globalData,this);else{var X=emptyShapeData;V.data&&V.data.shapes&&(X=this.buildShapeData(V.data,a.finalSize)),W=new SVGShapeElement(X,this.globalData,this)}if(this.textSpans[i].glyph){var Y=this.textSpans[i].glyph;this.textSpans[i].childSpan.removeChild(Y.layerElement),Y.destroy()}this.textSpans[i].glyph=W,W._debug=!0,W.prepareFrame(0),W.renderFrame(),this.textSpans[i].childSpan.appendChild(W.layerElement),V.t===1&&this.textSpans[i].childSpan.setAttribute("transform","scale("+a.finalSize/100+","+a.finalSize/100+")")}else j&&E.setAttribute("transform","translate("+_.props[12]+","+_.props[13]+")"),E.textContent=S[i].val,E.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}j&&E&&E.setAttribute("d",I)}for(;i<this.textSpans.length;)this.textSpans[i].span.style.display="none",i+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var i=this.layerElement.getBBox();this.bbox={top:i.y,left:i.x,width:i.width,height:i.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var i,s=this.textSpans.length,a;for(this.renderedFrame=this.comp.renderedFrame,i=0;i<s;i+=1)a=this.textSpans[i].glyph,a&&(a.prepareFrame(this.comp.renderedFrame-this.data.st),a._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var i,s,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;s=o.length;var u,P,S;for(i=0;i<s;i+=1)o[i].n||(u=a[i],P=this.textSpans[i].span,S=this.textSpans[i].glyph,S&&S.renderFrame(),u._mdf.m&&P.setAttribute("transform",u.m),u._mdf.o&&P.setAttribute("opacity",u.o),u._mdf.sw&&P.setAttribute("stroke-width",u.sw),u._mdf.sc&&P.setAttribute("stroke",u.sc),u._mdf.fc&&P.setAttribute("fill",u.fc))}};function ISolidElement(i,s,a){this.initElement(i,s,a)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var i=createNS("rect");i.setAttribute("width",this.data.sw),i.setAttribute("height",this.data.sh),i.setAttribute("fill",this.data.sc),this.layerElement.appendChild(i)};function NullElement(i,s,a){this.initFrame(),this.initBaseData(i,s,a),this.initFrame(),this.initTransform(i,s,a),this.initHierarchy()}NullElement.prototype.prepareFrame=function(i){this.prepareProperties(i,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(i){return new NullElement(i,this.globalData,this)},SVGRendererBase.prototype.createShape=function(i){return new SVGShapeElement(i,this.globalData,this)},SVGRendererBase.prototype.createText=function(i){return new SVGTextLottieElement(i,this.globalData,this)},SVGRendererBase.prototype.createImage=function(i){return new IImageElement(i,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(i){return new ISolidElement(i,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(i){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 "+i.w+" "+i.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",i.w),this.svgElement.setAttribute("height",i.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);var s=this.globalData.defs;this.setupGlobalData(i,s),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=i;var a=createNS("clipPath"),o=createNS("rect");o.setAttribute("width",i.w),o.setAttribute("height",i.h),o.setAttribute("x",0),o.setAttribute("y",0);var u=createElementID();a.setAttribute("id",u),a.appendChild(o),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+u+")"),s.appendChild(a),this.layers=i.layers,this.elements=createSizedArray(i.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var i,s=this.layers?this.layers.length:0;for(i=0;i<s;i+=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(i){var s=0,a=this.layers.length;for(s=0;s<a;s+=1)if(this.layers[s].ind===i)return s;return-1},SVGRendererBase.prototype.buildItem=function(i){var s=this.elements;if(!(s[i]||this.layers[i].ty===99)){s[i]=!0;var a=this.createItem(this.layers[i]);if(s[i]=a,getExpressionsPlugin()&&(this.layers[i].ty===0&&this.globalData.projectInterface.registerComposition(a),a.initExpressions()),this.appendElementInPos(a,i),this.layers[i].tt){var o="tp"in this.layers[i]?this.findIndexByInd(this.layers[i].tp):i-1;if(o===-1)return;if(!this.elements[o]||this.elements[o]===!0)this.buildItem(o),this.addPendingElement(a);else{var u=s[o],P=u.getMatte(this.layers[i].tt);a.setMatte(P)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();if(i.checkParenting(),i.data.tt)for(var s=0,a=this.elements.length;s<a;){if(this.elements[s]===i){var o="tp"in i.data?this.findIndexByInd(i.data.tp):s-1,u=this.elements[o],P=u.getMatte(this.layers[s].tt);i.setMatte(P);break}s+=1}}},SVGRendererBase.prototype.renderFrame=function(i){if(!(this.renderedFrame===i||this.destroyed)){i===null?i=this.renderedFrame:this.renderedFrame=i,this.globalData.frameNum=i,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=i,this.globalData._mdf=!1;var s,a=this.layers.length;for(this.completeLayers||this.checkLayers(i),s=a-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&this.elements[s].prepareFrame(i-this.layers[s].st);if(this.globalData._mdf)for(s=0;s<a;s+=1)(this.completeLayers||this.elements[s])&&this.elements[s].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(i,s){var a=i.getBaseElement();if(a){for(var o=0,u;o<s;)this.elements[o]&&this.elements[o]!==!0&&this.elements[o].getBaseElement()&&(u=this.elements[o].getBaseElement()),o+=1;u?this.layerElement.insertBefore(a,u):this.layerElement.appendChild(a)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(i,s,a){this.initFrame(),this.initBaseData(i,s,a),this.initTransform(i,s,a),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!s.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(i){if(this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=i/this.data.sr;else{var s=this.tm.v;s===this.data.op&&(s=this.data.op-1),this.renderedFrame=s}var a,o=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),a=o-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&(this.elements[a].prepareFrame(this.renderedFrame-this.layers[a].st),this.elements[a]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var i,s=this.layers.length;for(i=0;i<s;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()},ICompElement.prototype.setElements=function(i){this.elements=i},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var i,s=this.layers.length;for(i=0;i<s;i+=1)this.elements[i]&&this.elements[i].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(i,s,a){this.layers=i.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(i,s,a),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,s.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(i){return new SVGCompElement(i,this.globalData,this)};function SVGRenderer(i,s){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var a="";if(s&&s.title){var o=createNS("title"),u=createElementID();o.setAttribute("id",u),o.textContent=s.title,this.svgElement.appendChild(o),a+=u}if(s&&s.description){var P=createNS("desc"),S=createElementID();P.setAttribute("id",S),P.textContent=s.description,this.svgElement.appendChild(P),a+=" "+S}a&&this.svgElement.setAttribute("aria-labelledby",a);var C=createNS("defs");this.svgElement.appendChild(C);var E=createNS("g");this.svgElement.appendChild(E),this.layerElement=E,this.renderConfig={preserveAspectRatio:s&&s.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:s&&s.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:s&&s.contentVisibility||"visible",progressiveLoad:s&&s.progressiveLoad||!1,hideOnTransparent:!(s&&s.hideOnTransparent===!1),viewBoxOnly:s&&s.viewBoxOnly||!1,viewBoxSize:s&&s.viewBoxSize||!1,className:s&&s.className||"",id:s&&s.id||"",focusable:s&&s.focusable,filterSize:{width:s&&s.filterSize&&s.filterSize.width||"100%",height:s&&s.filterSize&&s.filterSize.height||"100%",x:s&&s.filterSize&&s.filterSize.x||"0%",y:s&&s.filterSize&&s.filterSize.y||"0%"},width:s&&s.width,height:s&&s.height,runExpressions:!s||s.runExpressions===void 0||s.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:C,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(i){return new SVGCompElement(i,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(s){var a,o=s.length,u="_";for(a=0;a<o;a+=1)u+=s[a].transform.key+"_";var P=this.sequences[u];return P||(P={transforms:[].concat(s),finalTransform:new Matrix,_mdf:!1},this.sequences[u]=P,this.sequenceList.push(P)),P},processSequence:function(s,a){for(var o=0,u=s.transforms.length,P=a;o<u&&!a;){if(s.transforms[o].transform.mProps._mdf){P=!0;break}o+=1}if(P)for(s.finalTransform.reset(),o=u-1;o>=0;o-=1)s.finalTransform.multiply(s.transforms[o].transform.mProps.v);s._mdf=P},processSequences:function(s){var a,o=this.sequenceList.length;for(a=0;a<o;a+=1)this.processSequence(this.sequenceList[a],s)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var s="__lottie_element_luma_buffer",a=null,o=null,u=null;function P(){var E=createNS("svg"),_=createNS("filter"),I=createNS("feColorMatrix");return _.setAttribute("id",s),I.setAttribute("type","matrix"),I.setAttribute("color-interpolation-filters","sRGB"),I.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),_.appendChild(I),E.appendChild(_),E.setAttribute("id",s+"_svg"),featureSupport.svgLumaHidden&&(E.style.display="none"),E}function S(){a||(u=P(),document.body.appendChild(u),a=createTag("canvas"),o=a.getContext("2d"),o.filter="url(#"+s+")",o.fillStyle="rgba(0,0,0,0)",o.fillRect(0,0,1,1))}function C(E){return a||S(),a.width=E.width,a.height=E.height,o.filter="url(#"+s+")",a}return{load:S,get:C}};function createCanvas(i,s){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(i,s);var a=createTag("canvas");return a.width=i,a.height=s,a}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(i){var s,a=i.data.ef?i.data.ef.length:0;this.filters=[];var o;for(s=0;s<a;s+=1){o=null;var u=i.data.ef[s].ty;if(registeredEffects[u]){var P=registeredEffects[u].effect;o=new P(i.effectsManager.effectElements[s],i)}o&&this.filters.push(o)}this.filters.length&&i.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(i){var s,a=this.filters.length;for(s=0;s<a;s+=1)this.filters[s].renderFrame(i)},CVEffects.prototype.getEffects=function(i){var s,a=this.filters.length,o=[];for(s=0;s<a;s+=1)this.filters[s].type===i&&o.push(this.filters[s]);return o};function registerEffect(i,s){registeredEffects[i]={effect:s}}function CVMaskElement(i,s){this.data=i,this.element=s,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var a,o=this.masksProperties.length,u=!1;for(a=0;a<o;a+=1)this.masksProperties[a].mode!=="n"&&(u=!0),this.viewData[a]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[a],3);this.hasMasks=u,u&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var i=this.element.finalTransform.mat,s=this.element.canvasContext,a,o=this.masksProperties.length,u,P,S;for(s.beginPath(),a=0;a<o;a+=1)if(this.masksProperties[a].mode!=="n"){this.masksProperties[a].inv&&(s.moveTo(0,0),s.lineTo(this.element.globalData.compSize.w,0),s.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),s.lineTo(0,this.element.globalData.compSize.h),s.lineTo(0,0)),S=this.viewData[a].v,u=i.applyToPointArray(S.v[0][0],S.v[0][1],0),s.moveTo(u[0],u[1]);var C,E=S._length;for(C=1;C<E;C+=1)P=i.applyToTriplePoints(S.o[C-1],S.i[C],S.v[C]),s.bezierCurveTo(P[0],P[1],P[2],P[3],P[4],P[5]);P=i.applyToTriplePoints(S.o[C-1],S.i[0],S.v[0]),s.bezierCurveTo(P[0],P[1],P[2],P[3],P[4],P[5])}this.element.globalData.renderer.save(!0),s.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var s=this.globalData.canvasContext,a=assetLoader.createCanvas(s.canvas.width,s.canvas.height);this.buffers.push(a);var o=assetLoader.createCanvas(s.canvas.width,s.canvas.height);this.buffers.push(o),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var s=this.globalData;if(s.blendMode!==this.data.bm){s.blendMode=this.data.bm;var a=getBlendMode(this.data.bm);s.canvasContext.globalCompositeOperation=a}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(s){s.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var s=this.buffers[0],a=s.getContext("2d");this.clearCanvas(a),a.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var s=this.buffers[1],a=s.getContext("2d");this.clearCanvas(a),a.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var o=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(o.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var u=assetLoader.getLumaCanvas(this.canvasContext.canvas),P=u.getContext("2d");P.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(u,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(s,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(s){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!s)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var a=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(a),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(a),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(i,s,a,o){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var u=4;s.ty==="rc"?u=5:s.ty==="el"?u=6:s.ty==="sr"&&(u=7),this.sh=ShapePropertyFactory.getShapeProp(i,s,u,i);var P,S=a.length,C;for(P=0;P<S;P+=1)a[P].closed||(C={transforms:o.addTransformSequence(a[P].transforms),trNodes:[]},this.styledShapes.push(C),a[P].elements.push(C))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(i,s,a){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(i,s){var a={data:i,type:i.ty,preTransforms:this.transformsManager.addTransformSequence(s),transforms:[],elements:[],closed:i.hd===!0},o={};if(i.ty==="fl"||i.ty==="st"?(o.c=PropertyFactory.getProp(this,i.c,1,255,this),o.c.k||(a.co="rgb("+bmFloor(o.c.v[0])+","+bmFloor(o.c.v[1])+","+bmFloor(o.c.v[2])+")")):(i.ty==="gf"||i.ty==="gs")&&(o.s=PropertyFactory.getProp(this,i.s,1,null,this),o.e=PropertyFactory.getProp(this,i.e,1,null,this),o.h=PropertyFactory.getProp(this,i.h||{k:0},0,.01,this),o.a=PropertyFactory.getProp(this,i.a||{k:0},0,degToRads,this),o.g=new GradientProperty(this,i.g,this)),o.o=PropertyFactory.getProp(this,i.o,0,.01,this),i.ty==="st"||i.ty==="gs"){if(a.lc=lineCapEnum[i.lc||2],a.lj=lineJoinEnum[i.lj||2],i.lj==1&&(a.ml=i.ml),o.w=PropertyFactory.getProp(this,i.w,0,null,this),o.w.k||(a.wi=o.w.v),i.d){var u=new DashProperty(this,i.d,"canvas",this);o.d=u,o.d.k||(a.da=o.d.dashArray,a.do=o.d.dashoffset[0])}}else a.r=i.r===2?"evenodd":"nonzero";return this.stylesList.push(a),o.style=a,o},CVShapeElement.prototype.createGroupElement=function(){var i={it:[],prevViewData:[]};return i},CVShapeElement.prototype.createTransformElement=function(i){var s={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,i.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,i,this)}};return s},CVShapeElement.prototype.createShapeElement=function(i){var s=new CVShapeData(this,i,this.stylesList,this.transformsManager);return this.shapes.push(s),this.addShapeToModifiers(s),s},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var i,s=this.itemsData.length;for(i=0;i<s;i+=1)this.prevViewData[i]=this.itemsData[i];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),s=this.dynamicProperties.length,i=0;i<s;i+=1)this.dynamicProperties[i].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(i){var s,a=this.stylesList.length;for(s=0;s<a;s+=1)this.stylesList[s].closed||this.stylesList[s].transforms.push(i)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].closed||this.stylesList[i].transforms.pop()},CVShapeElement.prototype.closeStyles=function(i){var s,a=i.length;for(s=0;s<a;s+=1)i[s].closed=!0},CVShapeElement.prototype.searchShapes=function(i,s,a,o,u){var P,S=i.length-1,C,E,_=[],I=[],j,T,O,D=[].concat(u);for(P=S;P>=0;P-=1){if(j=this.searchProcessedElement(i[P]),j?s[P]=a[j-1]:i[P]._shouldRender=o,i[P].ty==="fl"||i[P].ty==="st"||i[P].ty==="gf"||i[P].ty==="gs")j?s[P].style.closed=!1:s[P]=this.createStyleElement(i[P],D),_.push(s[P].style);else if(i[P].ty==="gr"){if(!j)s[P]=this.createGroupElement(i[P]);else for(E=s[P].it.length,C=0;C<E;C+=1)s[P].prevViewData[C]=s[P].it[C];this.searchShapes(i[P].it,s[P].it,s[P].prevViewData,o,D)}else i[P].ty==="tr"?(j||(O=this.createTransformElement(i[P]),s[P]=O),D.push(s[P]),this.addTransformToStyleList(s[P])):i[P].ty==="sh"||i[P].ty==="rc"||i[P].ty==="el"||i[P].ty==="sr"?j||(s[P]=this.createShapeElement(i[P])):i[P].ty==="tm"||i[P].ty==="rd"||i[P].ty==="pb"||i[P].ty==="zz"||i[P].ty==="op"?(j?(T=s[P],T.closed=!1):(T=ShapeModifiers.getModifier(i[P].ty),T.init(this,i[P]),s[P]=T,this.shapeModifiers.push(T)),I.push(T)):i[P].ty==="rp"&&(j?(T=s[P],T.closed=!0):(T=ShapeModifiers.getModifier(i[P].ty),s[P]=T,T.init(this,i,P,s),this.shapeModifiers.push(T),o=!1),I.push(T));this.addProcessedElement(i[P],P+1)}for(this.removeTransformFromStyleList(),this.closeStyles(_),S=I.length,P=0;P<S;P+=1)I[P].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(i,s){(i._opMdf||s.op._mdf||this._isFirstFrame)&&(s.opacity=i.opacity,s.opacity*=s.op.v,s._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var i,s=this.stylesList.length,a,o,u,P,S,C,E=this.globalData.renderer,_=this.globalData.canvasContext,I,j;for(i=0;i<s;i+=1)if(j=this.stylesList[i],I=j.type,!((I==="st"||I==="gs")&&j.wi===0||!j.data._shouldRender||j.coOp===0||this.globalData.currentGlobalAlpha===0)){for(E.save(),S=j.elements,I==="st"||I==="gs"?(E.ctxStrokeStyle(I==="st"?j.co:j.grd),E.ctxLineWidth(j.wi),E.ctxLineCap(j.lc),E.ctxLineJoin(j.lj),E.ctxMiterLimit(j.ml||0)):E.ctxFillStyle(I==="fl"?j.co:j.grd),E.ctxOpacity(j.coOp),I!=="st"&&I!=="gs"&&_.beginPath(),E.ctxTransform(j.preTransforms.finalTransform.props),o=S.length,a=0;a<o;a+=1){for((I==="st"||I==="gs")&&(_.beginPath(),j.da&&(_.setLineDash(j.da),_.lineDashOffset=j.do)),C=S[a].trNodes,P=C.length,u=0;u<P;u+=1)C[u].t==="m"?_.moveTo(C[u].p[0],C[u].p[1]):C[u].t==="c"?_.bezierCurveTo(C[u].pts[0],C[u].pts[1],C[u].pts[2],C[u].pts[3],C[u].pts[4],C[u].pts[5]):_.closePath();(I==="st"||I==="gs")&&(E.ctxStroke(),j.da&&_.setLineDash(this.dashResetter))}I!=="st"&&I!=="gs"&&this.globalData.renderer.ctxFill(j.r),E.restore()}},CVShapeElement.prototype.renderShape=function(i,s,a,o){var u,P=s.length-1,S;for(S=i,u=P;u>=0;u-=1)s[u].ty==="tr"?(S=a[u].transform,this.renderShapeTransform(i,S)):s[u].ty==="sh"||s[u].ty==="el"||s[u].ty==="rc"||s[u].ty==="sr"?this.renderPath(s[u],a[u]):s[u].ty==="fl"?this.renderFill(s[u],a[u],S):s[u].ty==="st"?this.renderStroke(s[u],a[u],S):s[u].ty==="gf"||s[u].ty==="gs"?this.renderGradientFill(s[u],a[u],S):s[u].ty==="gr"?this.renderShape(S,s[u].it,a[u].it):s[u].ty;o&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(i,s){if(this._isFirstFrame||s._mdf||i.transforms._mdf){var a=i.trNodes,o=s.paths,u,P,S,C=o._length;a.length=0;var E=i.transforms.finalTransform;for(S=0;S<C;S+=1){var _=o.shapes[S];if(_&&_.v){for(P=_._length,u=1;u<P;u+=1)u===1&&a.push({t:"m",p:E.applyToPointArray(_.v[0][0],_.v[0][1],0)}),a.push({t:"c",pts:E.applyToTriplePoints(_.o[u-1],_.i[u],_.v[u])});P===1&&a.push({t:"m",p:E.applyToPointArray(_.v[0][0],_.v[0][1],0)}),_.c&&P&&(a.push({t:"c",pts:E.applyToTriplePoints(_.o[u-1],_.i[0],_.v[0])}),a.push({t:"z"}))}}i.trNodes=a}},CVShapeElement.prototype.renderPath=function(i,s){if(i.hd!==!0&&i._shouldRender){var a,o=s.styledShapes.length;for(a=0;a<o;a+=1)this.renderStyledShape(s.styledShapes[a],s.sh)}},CVShapeElement.prototype.renderFill=function(i,s,a){var o=s.style;(s.c._mdf||this._isFirstFrame)&&(o.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")"),(s.o._mdf||a._opMdf||this._isFirstFrame)&&(o.coOp=s.o.v*a.opacity)},CVShapeElement.prototype.renderGradientFill=function(i,s,a){var o=s.style,u;if(!o.grd||s.g._mdf||s.s._mdf||s.e._mdf||i.t!==1&&(s.h._mdf||s.a._mdf)){var P=this.globalData.canvasContext,S=s.s.v,C=s.e.v;if(i.t===1)u=P.createLinearGradient(S[0],S[1],C[0],C[1]);else{var E=Math.sqrt(Math.pow(S[0]-C[0],2)+Math.pow(S[1]-C[1],2)),_=Math.atan2(C[1]-S[1],C[0]-S[0]),I=s.h.v;I>=1?I=.99:I<=-1&&(I=-.99);var j=E*I,T=Math.cos(_+s.a.v)*j+S[0],O=Math.sin(_+s.a.v)*j+S[1];u=P.createRadialGradient(T,O,0,S[0],S[1],E)}var D,L=i.g.p,H=s.g.c,F=1;for(D=0;D<L;D+=1)s.g._hasOpacity&&s.g._collapsable&&(F=s.g.o[D*2+1]),u.addColorStop(H[D*4]/100,"rgba("+H[D*4+1]+","+H[D*4+2]+","+H[D*4+3]+","+F+")");o.grd=u}o.coOp=s.o.v*a.opacity},CVShapeElement.prototype.renderStroke=function(i,s,a){var o=s.style,u=s.d;u&&(u._mdf||this._isFirstFrame)&&(o.da=u.dashArray,o.do=u.dashoffset[0]),(s.c._mdf||this._isFirstFrame)&&(o.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")"),(s.o._mdf||a._opMdf||this._isFirstFrame)&&(o.coOp=s.o.v*a.opacity),(s.w._mdf||this._isFirstFrame)&&(o.wi=s.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(i,s,a){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i.l?i.l.length:0);var s=!1;i.fc?(s=!0,this.values.fill=this.buildColor(i.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=s;var a=!1;i.sc&&(a=!0,this.values.stroke=this.buildColor(i.sc),this.values.sWidth=i.sw);var o=this.globalData.fontManager.getFontByName(i.f),u,P,S=i.l,C=this.mHelper;this.stroke=a,this.values.fValue=i.finalSize+"px "+this.globalData.fontManager.getFontByName(i.f).fFamily,P=i.finalText.length;var E,_,I,j,T,O,D,L,H,F,R=this.data.singleShape,M=i.tr*.001*i.finalSize,V=0,N=0,W=!0,X=0;for(u=0;u<P;u+=1){E=this.globalData.fontManager.getCharData(i.finalText[u],o.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily),_=E&&E.data||{},C.reset(),R&&S[u].n&&(V=-M,N+=i.yOffset,N+=W?1:0,W=!1),T=_.shapes?_.shapes[0].it:[],D=T.length,C.scale(i.finalSize/100,i.finalSize/100),R&&this.applyTextPropertiesToMatrix(i,C,S[u].line,V,N),H=createSizedArray(D-1);var Y=0;for(O=0;O<D;O+=1)if(T[O].ty==="sh"){for(j=T[O].ks.k.i.length,L=T[O].ks.k,F=[],I=1;I<j;I+=1)I===1&&F.push(C.applyToX(L.v[0][0],L.v[0][1],0),C.applyToY(L.v[0][0],L.v[0][1],0)),F.push(C.applyToX(L.o[I-1][0],L.o[I-1][1],0),C.applyToY(L.o[I-1][0],L.o[I-1][1],0),C.applyToX(L.i[I][0],L.i[I][1],0),C.applyToY(L.i[I][0],L.i[I][1],0),C.applyToX(L.v[I][0],L.v[I][1],0),C.applyToY(L.v[I][0],L.v[I][1],0));F.push(C.applyToX(L.o[I-1][0],L.o[I-1][1],0),C.applyToY(L.o[I-1][0],L.o[I-1][1],0),C.applyToX(L.i[0][0],L.i[0][1],0),C.applyToY(L.i[0][0],L.i[0][1],0),C.applyToX(L.v[0][0],L.v[0][1],0),C.applyToY(L.v[0][0],L.v[0][1],0)),H[Y]=F,Y+=1}R&&(V+=S[u].l,V+=M),this.textSpans[X]?this.textSpans[X].elem=H:this.textSpans[X]={elem:H},X+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var i=this.canvasContext;i.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,a,o,u,P,S,C=this.textAnimator.renderedLetters,E=this.textProperty.currentData.l;a=E.length;var _,I=null,j=null,T=null,O,D,L=this.globalData.renderer;for(s=0;s<a;s+=1)if(!E[s].n){if(_=C[s],_&&(L.save(),L.ctxTransform(_.p),L.ctxOpacity(_.o)),this.fill){for(_&&_.fc?I!==_.fc&&(L.ctxFillStyle(_.fc),I=_.fc):I!==this.values.fill&&(I=this.values.fill,L.ctxFillStyle(this.values.fill)),O=this.textSpans[s].elem,u=O.length,this.globalData.canvasContext.beginPath(),o=0;o<u;o+=1)for(D=O[o],S=D.length,this.globalData.canvasContext.moveTo(D[0],D[1]),P=2;P<S;P+=6)this.globalData.canvasContext.bezierCurveTo(D[P],D[P+1],D[P+2],D[P+3],D[P+4],D[P+5]);this.globalData.canvasContext.closePath(),L.ctxFill()}if(this.stroke){for(_&&_.sw?T!==_.sw&&(T=_.sw,L.ctxLineWidth(_.sw)):T!==this.values.sWidth&&(T=this.values.sWidth,L.ctxLineWidth(this.values.sWidth)),_&&_.sc?j!==_.sc&&(j=_.sc,L.ctxStrokeStyle(_.sc)):j!==this.values.stroke&&(j=this.values.stroke,L.ctxStrokeStyle(this.values.stroke)),O=this.textSpans[s].elem,u=O.length,this.globalData.canvasContext.beginPath(),o=0;o<u;o+=1)for(D=O[o],S=D.length,this.globalData.canvasContext.moveTo(D[0],D[1]),P=2;P<S;P+=6)this.globalData.canvasContext.bezierCurveTo(D[P],D[P+1],D[P+2],D[P+3],D[P+4],D[P+5]);this.globalData.canvasContext.closePath(),L.ctxStroke()}_&&this.globalData.renderer.restore()}};function CVImageElement(i,s,a){this.assetData=s.getAssetData(i.refId),this.img=s.imageLoader.getAsset(this.assetData),this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var i=createTag("canvas");i.width=this.assetData.w,i.height=this.assetData.h;var s=i.getContext("2d"),a=this.img.width,o=this.img.height,u=a/o,P=this.assetData.w/this.assetData.h,S,C,E=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;u>P&&E==="xMidYMid slice"||u<P&&E!=="xMidYMid slice"?(C=o,S=C*P):(S=a,C=S/P),s.drawImage(this.img,(a-S)/2,(o-C)/2,S,C,0,0,this.assetData.w,this.assetData.h),this.img=i}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(i,s,a){this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(i){return new CVShapeElement(i,this.globalData,this)},CanvasRendererBase.prototype.createText=function(i){return new CVTextElement(i,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(i){return new CVImageElement(i,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(i){return new CVSolidElement(i,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(i){i[0]===1&&i[1]===0&&i[4]===0&&i[5]===1&&i[12]===0&&i[13]===0||this.canvasContext.transform(i[0],i[1],i[4],i[5],i[12],i[13])},CanvasRendererBase.prototype.ctxOpacity=function(i){this.canvasContext.globalAlpha*=i<0?0:i},CanvasRendererBase.prototype.ctxFillStyle=function(i){this.canvasContext.fillStyle=i},CanvasRendererBase.prototype.ctxStrokeStyle=function(i){this.canvasContext.strokeStyle=i},CanvasRendererBase.prototype.ctxLineWidth=function(i){this.canvasContext.lineWidth=i},CanvasRendererBase.prototype.ctxLineCap=function(i){this.canvasContext.lineCap=i},CanvasRendererBase.prototype.ctxLineJoin=function(i){this.canvasContext.lineJoin=i},CanvasRendererBase.prototype.ctxMiterLimit=function(i){this.canvasContext.miterLimit=i},CanvasRendererBase.prototype.ctxFill=function(i){this.canvasContext.fill(i)},CanvasRendererBase.prototype.ctxFillRect=function(i,s,a,o){this.canvasContext.fillRect(i,s,a,o)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(i){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}i&&(this.globalData.blendMode="source-over"),this.contextData.restore(i)},CanvasRendererBase.prototype.configAnimation=function(i){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var s=this.animationItem.container.style;s.width="100%",s.height="100%";var a="0px 0px 0px";s.transformOrigin=a,s.mozTransformOrigin=a,s.webkitTransformOrigin=a,s["-webkit-transform"]=a,s.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=i,this.layers=i.layers,this.transformCanvas={w:i.w,h:i.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(i,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(i.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(i,s){this.reset();var a,o;i?(a=i,o=s,this.canvasContext.canvas.width=a,this.canvasContext.canvas.height=o):(this.animationItem.wrapper&&this.animationItem.container?(a=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight):(a=this.canvasContext.canvas.width,o=this.canvasContext.canvas.height),this.canvasContext.canvas.width=a*this.renderConfig.dpr,this.canvasContext.canvas.height=o*this.renderConfig.dpr);var u,P;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var S=this.renderConfig.preserveAspectRatio.split(" "),C=S[1]||"meet",E=S[0]||"xMidYMid",_=E.substr(0,4),I=E.substr(4);u=a/o,P=this.transformCanvas.w/this.transformCanvas.h,P>u&&C==="meet"||P<u&&C==="slice"?(this.transformCanvas.sx=a/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=a/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=o/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=o/(this.transformCanvas.h/this.renderConfig.dpr)),_==="xMid"&&(P<u&&C==="meet"||P>u&&C==="slice")?this.transformCanvas.tx=(a-this.transformCanvas.w*(o/this.transformCanvas.h))/2*this.renderConfig.dpr:_==="xMax"&&(P<u&&C==="meet"||P>u&&C==="slice")?this.transformCanvas.tx=(a-this.transformCanvas.w*(o/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,I==="YMid"&&(P>u&&C==="meet"||P<u&&C==="slice")?this.transformCanvas.ty=(o-this.transformCanvas.h*(a/this.transformCanvas.w))/2*this.renderConfig.dpr:I==="YMax"&&(P>u&&C==="meet"||P<u&&C==="slice")?this.transformCanvas.ty=(o-this.transformCanvas.h*(a/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=a/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=o/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var i,s=this.layers?this.layers.length:0;for(i=s-1;i>=0;i-=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(i,s){if(!(this.renderedFrame===i&&this.renderConfig.clearCanvas===!0&&!s||this.destroyed||i===-1)){this.renderedFrame=i,this.globalData.frameNum=i-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||s,this.globalData.projectInterface.currentFrame=i;var a,o=this.layers.length;for(this.completeLayers||this.checkLayers(i),a=o-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&this.elements[a].prepareFrame(i-this.layers[a].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),a=o-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&this.elements[a].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(i){var s=this.elements;if(!(s[i]||this.layers[i].ty===99)){var a=this.createItem(this.layers[i],this,this.globalData);s[i]=a,a.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();i.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var i,s=15;for(i=0;i<s;i+=1){var a=new CanvasContext;this.stack[i]=a}this._length=s,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var i=this._length*2,s=0;for(s=this._length;s<i;s+=1)this.stack[s]=new CanvasContext;this._length=i},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(i){this.cArrPos-=1;var s=this.stack[this.cArrPos],a=s.transform,o,u=this.cTr.props;for(o=0;o<16;o+=1)u[o]=a[o];if(i){this.nativeContext.restore();var P=this.stack[this.cArrPos+1];this.appliedFillStyle=P.fillStyle,this.appliedStrokeStyle=P.strokeStyle,this.appliedLineWidth=P.lineWidth,this.appliedLineCap=P.lineCap,this.appliedLineJoin=P.lineJoin,this.appliedMiterLimit=P.miterLimit}this.nativeContext.setTransform(a[0],a[1],a[4],a[5],a[12],a[13]),(i||s.opacity!==-1&&this.currentOpacity!==s.opacity)&&(this.nativeContext.globalAlpha=s.opacity,this.currentOpacity=s.opacity),this.currentFillStyle=s.fillStyle,this.currentStrokeStyle=s.strokeStyle,this.currentLineWidth=s.lineWidth,this.currentLineCap=s.lineCap,this.currentLineJoin=s.lineJoin,this.currentMiterLimit=s.miterLimit},CVContextData.prototype.save=function(i){i&&this.nativeContext.save();var s=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var a=this.stack[this.cArrPos],o;for(o=0;o<16;o+=1)a.transform[o]=s[o];this.cArrPos+=1;var u=this.stack[this.cArrPos];u.opacity=a.opacity,u.fillStyle=a.fillStyle,u.strokeStyle=a.strokeStyle,u.lineWidth=a.lineWidth,u.lineCap=a.lineCap,u.lineJoin=a.lineJoin,u.miterLimit=a.miterLimit},CVContextData.prototype.setOpacity=function(i){this.stack[this.cArrPos].opacity=i},CVContextData.prototype.setContext=function(i){this.nativeContext=i},CVContextData.prototype.fillStyle=function(i){this.stack[this.cArrPos].fillStyle!==i&&(this.currentFillStyle=i,this.stack[this.cArrPos].fillStyle=i)},CVContextData.prototype.strokeStyle=function(i){this.stack[this.cArrPos].strokeStyle!==i&&(this.currentStrokeStyle=i,this.stack[this.cArrPos].strokeStyle=i)},CVContextData.prototype.lineWidth=function(i){this.stack[this.cArrPos].lineWidth!==i&&(this.currentLineWidth=i,this.stack[this.cArrPos].lineWidth=i)},CVContextData.prototype.lineCap=function(i){this.stack[this.cArrPos].lineCap!==i&&(this.currentLineCap=i,this.stack[this.cArrPos].lineCap=i)},CVContextData.prototype.lineJoin=function(i){this.stack[this.cArrPos].lineJoin!==i&&(this.currentLineJoin=i,this.stack[this.cArrPos].lineJoin=i)},CVContextData.prototype.miterLimit=function(i){this.stack[this.cArrPos].miterLimit!==i&&(this.currentMiterLimit=i,this.stack[this.cArrPos].miterLimit=i)},CVContextData.prototype.transform=function(i){this.transformMat.cloneFromProps(i);var s=this.cTr;this.transformMat.multiply(s),s.cloneFromProps(this.transformMat.props);var a=s.props;this.nativeContext.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])},CVContextData.prototype.opacity=function(i){var s=this.stack[this.cArrPos].opacity;s*=i<0?0:i,this.stack[this.cArrPos].opacity!==s&&(this.currentOpacity!==i&&(this.nativeContext.globalAlpha=i,this.currentOpacity=i),this.stack[this.cArrPos].opacity=s)},CVContextData.prototype.fill=function(i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(i)},CVContextData.prototype.fillRect=function(i,s,a,o){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(i,s,a,o)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(i,s,a){this.completeLayers=!1,this.layers=i.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(i,s,a),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,s.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var i=this.canvasContext;i.beginPath(),i.moveTo(0,0),i.lineTo(this.data.w,0),i.lineTo(this.data.w,this.data.h),i.lineTo(0,this.data.h),i.lineTo(0,0),i.clip();var s,a=this.layers.length;for(s=a-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&this.elements[s].renderFrame()},CVCompElement.prototype.destroy=function(){var i,s=this.layers.length;for(i=s-1;i>=0;i-=1)this.elements[i]&&this.elements[i].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(i){return new CVCompElement(i,this.globalData,this)};function CanvasRenderer(i,s){this.animationItem=i,this.renderConfig={clearCanvas:s&&s.clearCanvas!==void 0?s.clearCanvas:!0,context:s&&s.context||null,progressiveLoad:s&&s.progressiveLoad||!1,preserveAspectRatio:s&&s.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:s&&s.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:s&&s.contentVisibility||"visible",className:s&&s.className||"",id:s&&s.id||"",runExpressions:!s||s.runExpressions===void 0||s.runExpressions},this.renderConfig.dpr=s&&s.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=s&&s.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(i){return new CVCompElement(i,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var s=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var a=this.finalTransform.mat.toCSS();s.transform=a,s.webkitTransform=a}this.finalTransform._opMdf&&(s.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(i,s,a){this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var i;this.data.hasMask?(i=createNS("rect"),i.setAttribute("width",this.data.sw),i.setAttribute("height",this.data.sh),i.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(i=createTag("div"),i.style.width=this.data.sw+"px",i.style.height=this.data.sh+"px",i.style.backgroundColor=this.data.sc),this.layerElement.appendChild(i)};function HShapeElement(i,s,a){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(i,s,a),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var i;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),i=this.svgElement;else{i=createNS("svg");var s=this.comp.data?this.comp.data:this.globalData.compSize;i.setAttribute("width",s.w),i.setAttribute("height",s.h),i.appendChild(this.shapesContainer),this.layerElement.appendChild(i)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=i},HShapeElement.prototype.getTransformedPoint=function(i,s){var a,o=i.length;for(a=0;a<o;a+=1)s=i[a].mProps.v.applyToPointArray(s[0],s[1],0);return s},HShapeElement.prototype.calculateShapeBoundingBox=function(i,s){var a=i.sh.v,o=i.transformers,u,P=a._length,S,C,E,_;if(!(P<=1)){for(u=0;u<P-1;u+=1)S=this.getTransformedPoint(o,a.v[u]),C=this.getTransformedPoint(o,a.o[u]),E=this.getTransformedPoint(o,a.i[u+1]),_=this.getTransformedPoint(o,a.v[u+1]),this.checkBounds(S,C,E,_,s);a.c&&(S=this.getTransformedPoint(o,a.v[u]),C=this.getTransformedPoint(o,a.o[u]),E=this.getTransformedPoint(o,a.i[0]),_=this.getTransformedPoint(o,a.v[0]),this.checkBounds(S,C,E,_,s))}},HShapeElement.prototype.checkBounds=function(i,s,a,o,u){this.getBoundsOfCurve(i,s,a,o);var P=this.shapeBoundingBox;u.x=bmMin(P.left,u.x),u.xMax=bmMax(P.right,u.xMax),u.y=bmMin(P.top,u.y),u.yMax=bmMax(P.bottom,u.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(i,s,a,o){for(var u=[[i[0],o[0]],[i[1],o[1]]],P,S,C,E,_,I,j,T=0;T<2;++T)S=6*i[T]-12*s[T]+6*a[T],P=-3*i[T]+9*s[T]-9*a[T]+3*o[T],C=3*s[T]-3*i[T],S|=0,P|=0,C|=0,P===0&&S===0||(P===0?(E=-C/S,E>0&&E<1&&u[T].push(this.calculateF(E,i,s,a,o,T))):(_=S*S-4*C*P,_>=0&&(I=(-S+bmSqrt(_))/(2*P),I>0&&I<1&&u[T].push(this.calculateF(I,i,s,a,o,T)),j=(-S-bmSqrt(_))/(2*P),j>0&&j<1&&u[T].push(this.calculateF(j,i,s,a,o,T)))));this.shapeBoundingBox.left=bmMin.apply(null,u[0]),this.shapeBoundingBox.top=bmMin.apply(null,u[1]),this.shapeBoundingBox.right=bmMax.apply(null,u[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,u[1])},HShapeElement.prototype.calculateF=function(i,s,a,o,u,P){return bmPow(1-i,3)*s[P]+3*bmPow(1-i,2)*i*a[P]+3*(1-i)*bmPow(i,2)*o[P]+bmPow(i,3)*u[P]},HShapeElement.prototype.calculateBoundingBox=function(i,s){var a,o=i.length;for(a=0;a<o;a+=1)i[a]&&i[a].sh?this.calculateShapeBoundingBox(i[a],s):i[a]&&i[a].it?this.calculateBoundingBox(i[a].it,s):i[a]&&i[a].style&&i[a].w&&this.expandStrokeBoundingBox(i[a].w,s)},HShapeElement.prototype.expandStrokeBoundingBox=function(i,s){var a=0;if(i.keyframes){for(var o=0;o<i.keyframes.length;o+=1){var u=i.keyframes[o].s;u>a&&(a=u)}a*=i.mult}else a=i.v*i.mult;s.x-=a,s.xMax+=a,s.y-=a,s.yMax+=a},HShapeElement.prototype.currentBoxContains=function(i){return this.currentBBox.x<=i.x&&this.currentBBox.y<=i.y&&this.currentBBox.width+this.currentBBox.x>=i.x+i.width&&this.currentBBox.height+this.currentBBox.y>=i.y+i.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var i=this.tempBoundingBox,s=999999;if(i.x=s,i.xMax=-s,i.y=s,i.yMax=-s,this.calculateBoundingBox(this.itemsData,i),i.width=i.xMax<i.x?0:i.xMax-i.x,i.height=i.yMax<i.y?0:i.yMax-i.y,this.currentBoxContains(i))return;var a=!1;if(this.currentBBox.w!==i.width&&(this.currentBBox.w=i.width,this.shapeCont.setAttribute("width",i.width),a=!0),this.currentBBox.h!==i.height&&(this.currentBBox.h=i.height,this.shapeCont.setAttribute("height",i.height),a=!0),a||this.currentBBox.x!==i.x||this.currentBBox.y!==i.y){this.currentBBox.w=i.width,this.currentBBox.h=i.height,this.currentBBox.x=i.x,this.currentBBox.y=i.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var o=this.shapeCont.style,u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";o.transform=u,o.webkitTransform=u}}};function HTextElement(i,s,a){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var i=createNS("g");this.maskedElement.appendChild(i),this.innerElem=i}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i.l?i.l.length:0);var s=this.innerElem.style,a=i.fc?this.buildColor(i.fc):"rgba(0,0,0,0)";s.fill=a,s.color=a,i.sc&&(s.stroke=this.buildColor(i.sc),s.strokeWidth=i.sw+"px");var o=this.globalData.fontManager.getFontByName(i.f);if(!this.globalData.fontManager.chars)if(s.fontSize=i.finalSize+"px",s.lineHeight=i.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{s.fontFamily=o.fFamily;var u=i.fWeight,P=i.fStyle;s.fontStyle=P,s.fontWeight=u}var S,C,E=i.l;C=E.length;var _,I,j,T=this.mHelper,O,D="",L=0;for(S=0;S<C;S+=1){if(this.globalData.fontManager.chars?(this.textPaths[L]?_=this.textPaths[L]:(_=createNS("path"),_.setAttribute("stroke-linecap",lineCapEnum[1]),_.setAttribute("stroke-linejoin",lineJoinEnum[2]),_.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[L]?(I=this.textSpans[L],j=I.children[0]):(I=createTag("div"),I.style.lineHeight=0,j=createNS("svg"),j.appendChild(_),styleDiv(I)))):this.isMasked?_=this.textPaths[L]?this.textPaths[L]:createNS("text"):this.textSpans[L]?(I=this.textSpans[L],_=this.textPaths[L]):(I=createTag("span"),styleDiv(I),_=createTag("span"),styleDiv(_),I.appendChild(_)),this.globalData.fontManager.chars){var H=this.globalData.fontManager.getCharData(i.finalText[S],o.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily),F;if(H?F=H.data:F=null,T.reset(),F&&F.shapes&&F.shapes.length&&(O=F.shapes[0].it,T.scale(i.finalSize/100,i.finalSize/100),D=this.createPathShape(T,O),_.setAttribute("d",D)),this.isMasked)this.innerElem.appendChild(_);else{if(this.innerElem.appendChild(I),F&&F.shapes){document.body.appendChild(j);var R=j.getBBox();j.setAttribute("width",R.width+2),j.setAttribute("height",R.height+2),j.setAttribute("viewBox",R.x-1+" "+(R.y-1)+" "+(R.width+2)+" "+(R.height+2));var M=j.style,V="translate("+(R.x-1)+"px,"+(R.y-1)+"px)";M.transform=V,M.webkitTransform=V,E[S].yOffset=R.y-1}else j.setAttribute("width",1),j.setAttribute("height",1);I.appendChild(j)}}else if(_.textContent=E[S].val,_.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(_);else{this.innerElem.appendChild(I);var N=_.style,W="translate3d(0,"+-i.finalSize/1.2+"px,0)";N.transform=W,N.webkitTransform=W}this.isMasked?this.textSpans[L]=_:this.textSpans[L]=I,this.textSpans[L].style.display="block",this.textPaths[L]=_,L+=1}for(;L<this.textSpans.length;)this.textSpans[L].style.display="none",L+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var i;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),i=this.svgElement.style;var s="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";i.transform=s,i.webkitTransform=s}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var a,o,u=0,P=this.textAnimator.renderedLetters,S=this.textProperty.currentData.l;o=S.length;var C,E,_;for(a=0;a<o;a+=1)S[a].n?u+=1:(E=this.textSpans[a],_=this.textPaths[a],C=P[u],u+=1,C._mdf.m&&(this.isMasked?E.setAttribute("transform",C.m):(E.style.webkitTransform=C.m,E.style.transform=C.m)),E.style.opacity=C.o,C.sw&&C._mdf.sw&&_.setAttribute("stroke-width",C.sw),C.sc&&C._mdf.sc&&_.setAttribute("stroke",C.sc),C.fc&&C._mdf.fc&&(_.setAttribute("fill",C.fc),_.style.color=C.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var I=this.innerElem.getBBox();this.currentBBox.w!==I.width&&(this.currentBBox.w=I.width,this.svgElement.setAttribute("width",I.width)),this.currentBBox.h!==I.height&&(this.currentBBox.h=I.height,this.svgElement.setAttribute("height",I.height));var j=1;if(this.currentBBox.w!==I.width+j*2||this.currentBBox.h!==I.height+j*2||this.currentBBox.x!==I.x-j||this.currentBBox.y!==I.y-j){this.currentBBox.w=I.width+j*2,this.currentBBox.h=I.height+j*2,this.currentBBox.x=I.x-j,this.currentBBox.y=I.y-j,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),i=this.svgElement.style;var T="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=T,i.webkitTransform=T}}}};function HCameraElement(i,s,a){this.initFrame(),this.initBaseData(i,s,a),this.initHierarchy();var o=PropertyFactory.getProp;if(this.pe=o(this,i.pe,0,0,this),i.ks.p.s?(this.px=o(this,i.ks.p.x,1,0,this),this.py=o(this,i.ks.p.y,1,0,this),this.pz=o(this,i.ks.p.z,1,0,this)):this.p=o(this,i.ks.p,1,0,this),i.ks.a&&(this.a=o(this,i.ks.a,1,0,this)),i.ks.or.k.length&&i.ks.or.k[0].to){var u,P=i.ks.or.k.length;for(u=0;u<P;u+=1)i.ks.or.k[u].to=null,i.ks.or.k[u].ti=null}this.or=o(this,i.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=o(this,i.ks.rx,0,degToRads,this),this.ry=o(this,i.ks.ry,0,degToRads,this),this.rz=o(this,i.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var i,s=this.comp.threeDElements.length,a,o,u;for(i=0;i<s;i+=1)if(a=this.comp.threeDElements[i],a.type==="3d"){o=a.perspectiveElem.style,u=a.container.style;var P=this.pe.v+"px",S="0px 0px 0px",C="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";o.perspective=P,o.webkitPerspective=P,u.transformOrigin=S,u.mozTransformOrigin=S,u.webkitTransformOrigin=S,o.transform=C,o.webkitTransform=C}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var i=this._isFirstFrame,s,a;if(this.hierarchy)for(a=this.hierarchy.length,s=0;s<a;s+=1)i=this.hierarchy[s].finalTransform.mProp._mdf||i;if(i||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(a=this.hierarchy.length-1,s=a;s>=0;s-=1){var o=this.hierarchy[s].finalTransform.mProp;this.mat.translate(-o.p.v[0],-o.p.v[1],o.p.v[2]),this.mat.rotateX(-o.or.v[0]).rotateY(-o.or.v[1]).rotateZ(o.or.v[2]),this.mat.rotateX(-o.rx.v).rotateY(-o.ry.v).rotateZ(o.rz.v),this.mat.scale(1/o.s.v[0],1/o.s.v[1],1/o.s.v[2]),this.mat.translate(o.a.v[0],o.a.v[1],o.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var u;this.p?u=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:u=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var P=Math.sqrt(Math.pow(u[0],2)+Math.pow(u[1],2)+Math.pow(u[2],2)),S=[u[0]/P,u[1]/P,u[2]/P],C=Math.sqrt(S[2]*S[2]+S[0]*S[0]),E=Math.atan2(S[1],C),_=Math.atan2(S[0],-S[2]);this.mat.rotateY(_).rotateX(-E)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var I=!this._prevMat.equals(this.mat);if((I||this.pe._mdf)&&this.comp.threeDElements){a=this.comp.threeDElements.length;var j,T,O;for(s=0;s<a;s+=1)if(j=this.comp.threeDElements[s],j.type==="3d"){if(I){var D=this.mat.toCSS();O=j.container.style,O.transform=D,O.webkitTransform=D}this.pe._mdf&&(T=j.perspectiveElem.style,T.perspective=this.pe.v+"px",T.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(i){this.prepareProperties(i,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(i,s,a){this.assetData=s.getAssetData(i.refId),this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var i=this.globalData.getAssetsPath(this.assetData),s=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",i),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(s),s.crossOrigin="anonymous",s.src=i,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(i,s){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:s&&s.className||"",imagePreserveAspectRatio:s&&s.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(s&&s.hideOnTransparent===!1),filterSize:{width:s&&s.filterSize&&s.filterSize.width||"400%",height:s&&s.filterSize&&s.filterSize.height||"400%",x:s&&s.filterSize&&s.filterSize.x||"-100%",y:s&&s.filterSize&&s.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();i.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(i,s){var a=i.getBaseElement();if(a){var o=this.layers[s];if(!o.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(a,s);else{for(var u=0,P,S,C;u<s;)this.elements[u]&&this.elements[u]!==!0&&this.elements[u].getBaseElement&&(S=this.elements[u],C=this.layers[u].ddd?this.getThreeDContainerByPos(u):S.getBaseElement(),P=C||P),u+=1;P?(!o.ddd||!this.supports3d)&&this.layerElement.insertBefore(a,P):(!o.ddd||!this.supports3d)&&this.layerElement.appendChild(a)}else this.addTo3dContainer(a,s)}},HybridRendererBase.prototype.createShape=function(i){return this.supports3d?new HShapeElement(i,this.globalData,this):new SVGShapeElement(i,this.globalData,this)},HybridRendererBase.prototype.createText=function(i){return this.supports3d?new HTextElement(i,this.globalData,this):new SVGTextLottieElement(i,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(i){return this.camera=new HCameraElement(i,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(i){return this.supports3d?new HImageElement(i,this.globalData,this):new IImageElement(i,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(i){return this.supports3d?new HSolidElement(i,this.globalData,this):new ISolidElement(i,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(i){for(var s=0,a=this.threeDElements.length;s<a;){if(this.threeDElements[s].startPos<=i&&this.threeDElements[s].endPos>=i)return this.threeDElements[s].perspectiveElem;s+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(i,s){var a=createTag("div"),o,u;styleDiv(a);var P=createTag("div");if(styleDiv(P),s==="3d"){o=a.style,o.width=this.globalData.compSize.w+"px",o.height=this.globalData.compSize.h+"px";var S="50% 50%";o.webkitTransformOrigin=S,o.mozTransformOrigin=S,o.transformOrigin=S,u=P.style;var C="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";u.transform=C,u.webkitTransform=C}a.appendChild(P);var E={container:P,perspectiveElem:a,startPos:i,endPos:i,type:s};return this.threeDElements.push(E),E},HybridRendererBase.prototype.build3dContainers=function(){var i,s=this.layers.length,a,o="";for(i=0;i<s;i+=1)this.layers[i].ddd&&this.layers[i].ty!==3?(o!=="3d"&&(o="3d",a=this.createThreeDContainer(i,"3d")),a.endPos=Math.max(a.endPos,i)):(o!=="2d"&&(o="2d",a=this.createThreeDContainer(i,"2d")),a.endPos=Math.max(a.endPos,i));for(s=this.threeDElements.length,i=s-1;i>=0;i-=1)this.resizerElem.appendChild(this.threeDElements[i].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(i,s){for(var a=0,o=this.threeDElements.length;a<o;){if(s<=this.threeDElements[a].endPos){for(var u=this.threeDElements[a].startPos,P;u<s;)this.elements[u]&&this.elements[u].getBaseElement&&(P=this.elements[u].getBaseElement()),u+=1;P?this.threeDElements[a].container.insertBefore(i,P):this.threeDElements[a].container.appendChild(i);break}a+=1}},HybridRendererBase.prototype.configAnimation=function(i){var s=createTag("div"),a=this.animationItem.wrapper,o=s.style;o.width=i.w+"px",o.height=i.h+"px",this.resizerElem=s,styleDiv(s),o.transformStyle="flat",o.mozTransformStyle="flat",o.webkitTransformStyle="flat",this.renderConfig.className&&s.setAttribute("class",this.renderConfig.className),a.appendChild(s),o.overflow="hidden";var u=createNS("svg");u.setAttribute("width","1"),u.setAttribute("height","1"),styleDiv(u),this.resizerElem.appendChild(u);var P=createNS("defs");u.appendChild(P),this.data=i,this.setupGlobalData(i,u),this.globalData.defs=P,this.layers=i.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var i,s=this.layers?this.layers.length:0;for(i=0;i<s;i+=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var i=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight,a=i/s,o=this.globalData.compSize.w/this.globalData.compSize.h,u,P,S,C;o>a?(u=i/this.globalData.compSize.w,P=i/this.globalData.compSize.w,S=0,C=(s-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(u=s/this.globalData.compSize.h,P=s/this.globalData.compSize.h,S=(i-this.globalData.compSize.w*(s/this.globalData.compSize.h))/2,C=0);var E=this.resizerElem.style;E.webkitTransform="matrix3d("+u+",0,0,0,0,"+P+",0,0,0,0,1,0,"+S+","+C+",0,1)",E.transform=E.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var i=this.globalData.compSize.w,s=this.globalData.compSize.h,a,o=this.threeDElements.length;for(a=0;a<o;a+=1){var u=this.threeDElements[a].perspectiveElem.style;u.webkitPerspective=Math.sqrt(Math.pow(i,2)+Math.pow(s,2))+"px",u.perspective=u.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(i){var s,a=i.length,o=createTag("div");for(s=0;s<a;s+=1)if(i[s].xt){var u=this.createComp(i[s],o,this.globalData.comp,null);u.initExpressions(),this.globalData.projectInterface.registerComposition(u)}};function HCompElement(i,s,a){this.layers=i.layers,this.supports3d=!i.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(i,s,a),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,s.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(i,s){for(var a=0,o;a<s;)this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a].getBaseElement()),a+=1;o?this.layerElement.insertBefore(i,o):this.layerElement.appendChild(i)},HCompElement.prototype.createComp=function(i){return this.supports3d?new HCompElement(i,this.globalData,this):new SVGCompElement(i,this.globalData,this)};function HybridRenderer(i,s){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:s&&s.className||"",imagePreserveAspectRatio:s&&s.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(s&&s.hideOnTransparent===!1),filterSize:{width:s&&s.filterSize&&s.filterSize.width||"400%",height:s&&s.filterSize&&s.filterSize.height||"400%",x:s&&s.filterSize&&s.filterSize.x||"-100%",y:s&&s.filterSize&&s.filterSize.y||"-100%"},runExpressions:!s||s.runExpressions===void 0||s.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(i){return this.supports3d?new HCompElement(i,this.globalData,this):new SVGCompElement(i,this.globalData,this)};var CompExpressionInterface=function(){return function(i){function s(a){for(var o=0,u=i.layers.length;o<u;){if(i.layers[o].nm===a||i.layers[o].ind===a)return i.elements[o].layerInterface;o+=1}return null}return Object.defineProperty(s,"_name",{value:i.data.nm}),s.layer=s,s.pixelAspect=1,s.height=i.data.h||i.globalData.compSize.h,s.width=i.data.w||i.globalData.compSize.w,s.pixelAspect=1,s.frameDuration=1/i.globalData.frameRate,s.displayStartTime=0,s.numLayers=i.layers.length,s}}();function _typeof$2(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(a){return typeof a}:_typeof$2=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$2(i)}function seedRandom(i,s){var a=this,o=256,u=6,P=52,S="random",C=s.pow(o,u),E=s.pow(2,P),_=E*2,I=o-1,j;function T(M,V,N){var W=[];V=V===!0?{entropy:!0}:V||{};var X=H(L(V.entropy?[M,R(i)]:M===null?F():M,3),W),Y=new O(W),J=function(){for(var te=Y.g(u),ee=C,se=0;te<E;)te=(te+se)*o,ee*=o,se=Y.g(1);for(;te>=_;)te/=2,ee/=2,se>>>=1;return(te+se)/ee};return J.int32=function(){return Y.g(4)|0},J.quick=function(){return Y.g(4)/4294967296},J.double=J,H(R(Y.S),i),(V.pass||N||function(re,te,ee,se){return se&&(se.S&&D(se,Y),re.state=function(){return D(Y,{})}),ee?(s[S]=re,te):re})(J,X,"global"in V?V.global:this==s,V.state)}s["seed"+S]=T;function O(M){var V,N=M.length,W=this,X=0,Y=W.i=W.j=0,J=W.S=[];for(N||(M=[N++]);X<o;)J[X]=X++;for(X=0;X<o;X++)J[X]=J[Y=I&Y+M[X%N]+(V=J[X])],J[Y]=V;W.g=function(re){for(var te,ee=0,se=W.i,ne=W.j,Q=W.S;re--;)te=Q[se=I&se+1],ee=ee*o+Q[I&(Q[se]=Q[ne=I&ne+te])+(Q[ne]=te)];return W.i=se,W.j=ne,ee}}function D(M,V){return V.i=M.i,V.j=M.j,V.S=M.S.slice(),V}function L(M,V){var N=[],W=_typeof$2(M),X;if(V&&W=="object")for(X in M)try{N.push(L(M[X],V-1))}catch{}return N.length?N:W=="string"?M:M+"\0"}function H(M,V){for(var N=M+"",W,X=0;X<N.length;)V[I&X]=I&(W^=V[I&X]*19)+N.charCodeAt(X++);return R(V)}function F(){try{var M=new Uint8Array(o);return(a.crypto||a.msCrypto).getRandomValues(M),R(M)}catch{var V=a.navigator,N=V&&V.plugins;return[+new Date,a,N,a.screen,R(i)]}}function R(M){return String.fromCharCode.apply(0,M)}H(s.random(),i)}function initialize$2(i){seedRandom([],i)}var propTypes={SHAPE:"shape"};function _typeof$1(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(a){return typeof a}:_typeof$1=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$1(i)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(i){return i.constructor===Array||i.constructor===Float32Array}function isNumerable(i,s){return i==="number"||s instanceof Number||i==="boolean"||i==="string"}function $bm_neg(i){var s=_typeof$1(i);if(s==="number"||i instanceof Number||s==="boolean")return-i;if($bm_isInstanceOfArray(i)){var a,o=i.length,u=[];for(a=0;a<o;a+=1)u[a]=-i[a];return u}return i.propType?i.v:-i}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(i,s){var a=_typeof$1(i),o=_typeof$1(s);if(isNumerable(a,i)&&isNumerable(o,s)||a==="string"||o==="string")return i+s;if($bm_isInstanceOfArray(i)&&isNumerable(o,s))return i=i.slice(0),i[0]+=s,i;if(isNumerable(a,i)&&$bm_isInstanceOfArray(s))return s=s.slice(0),s[0]=i+s[0],s;if($bm_isInstanceOfArray(i)&&$bm_isInstanceOfArray(s)){for(var u=0,P=i.length,S=s.length,C=[];u<P||u<S;)(typeof i[u]=="number"||i[u]instanceof Number)&&(typeof s[u]=="number"||s[u]instanceof Number)?C[u]=i[u]+s[u]:C[u]=s[u]===void 0?i[u]:i[u]||s[u],u+=1;return C}return 0}var add=sum;function sub(i,s){var a=_typeof$1(i),o=_typeof$1(s);if(isNumerable(a,i)&&isNumerable(o,s))return a==="string"&&(i=parseInt(i,10)),o==="string"&&(s=parseInt(s,10)),i-s;if($bm_isInstanceOfArray(i)&&isNumerable(o,s))return i=i.slice(0),i[0]-=s,i;if(isNumerable(a,i)&&$bm_isInstanceOfArray(s))return s=s.slice(0),s[0]=i-s[0],s;if($bm_isInstanceOfArray(i)&&$bm_isInstanceOfArray(s)){for(var u=0,P=i.length,S=s.length,C=[];u<P||u<S;)(typeof i[u]=="number"||i[u]instanceof Number)&&(typeof s[u]=="number"||s[u]instanceof Number)?C[u]=i[u]-s[u]:C[u]=s[u]===void 0?i[u]:i[u]||s[u],u+=1;return C}return 0}function mul(i,s){var a=_typeof$1(i),o=_typeof$1(s),u;if(isNumerable(a,i)&&isNumerable(o,s))return i*s;var P,S;if($bm_isInstanceOfArray(i)&&isNumerable(o,s)){for(S=i.length,u=createTypedArray("float32",S),P=0;P<S;P+=1)u[P]=i[P]*s;return u}if(isNumerable(a,i)&&$bm_isInstanceOfArray(s)){for(S=s.length,u=createTypedArray("float32",S),P=0;P<S;P+=1)u[P]=i*s[P];return u}return 0}function div(i,s){var a=_typeof$1(i),o=_typeof$1(s),u;if(isNumerable(a,i)&&isNumerable(o,s))return i/s;var P,S;if($bm_isInstanceOfArray(i)&&isNumerable(o,s)){for(S=i.length,u=createTypedArray("float32",S),P=0;P<S;P+=1)u[P]=i[P]/s;return u}if(isNumerable(a,i)&&$bm_isInstanceOfArray(s)){for(S=s.length,u=createTypedArray("float32",S),P=0;P<S;P+=1)u[P]=i/s[P];return u}return 0}function mod(i,s){return typeof i=="string"&&(i=parseInt(i,10)),typeof s=="string"&&(s=parseInt(s,10)),i%s}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(i,s,a){if(s>a){var o=a;a=s,s=o}return Math.min(Math.max(i,s),a)}function radiansToDegrees(i){return i/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(i){return i*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(i,s){if(typeof i=="number"||i instanceof Number)return s=s||0,Math.abs(i-s);s||(s=helperLengthArray);var a,o=Math.min(i.length,s.length),u=0;for(a=0;a<o;a+=1)u+=Math.pow(s[a]-i[a],2);return Math.sqrt(u)}function normalize(i){return div(i,length(i))}function rgbToHsl(i){var s=i[0],a=i[1],o=i[2],u=Math.max(s,a,o),P=Math.min(s,a,o),S,C,E=(u+P)/2;if(u===P)S=0,C=0;else{var _=u-P;switch(C=E>.5?_/(2-u-P):_/(u+P),u){case s:S=(a-o)/_+(a<o?6:0);break;case a:S=(o-s)/_+2;break;case o:S=(s-a)/_+4;break}S/=6}return[S,C,E,i[3]]}function hue2rgb(i,s,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?i+(s-i)*6*a:a<1/2?s:a<2/3?i+(s-i)*(2/3-a)*6:i}function hslToRgb(i){var s=i[0],a=i[1],o=i[2],u,P,S;if(a===0)u=o,S=o,P=o;else{var C=o<.5?o*(1+a):o+a-o*a,E=2*o-C;u=hue2rgb(E,C,s+1/3),P=hue2rgb(E,C,s),S=hue2rgb(E,C,s-1/3)}return[u,P,S,i[3]]}function linear(i,s,a,o,u){if((o===void 0||u===void 0)&&(o=s,u=a,s=0,a=1),a<s){var P=a;a=s,s=P}if(i<=s)return o;if(i>=a)return u;var S=a===s?0:(i-s)/(a-s);if(!o.length)return o+(u-o)*S;var C,E=o.length,_=createTypedArray("float32",E);for(C=0;C<E;C+=1)_[C]=o[C]+(u[C]-o[C])*S;return _}function random(i,s){if(s===void 0&&(i===void 0?(i=0,s=1):(s=i,i=void 0)),s.length){var a,o=s.length;i||(i=createTypedArray("float32",o));var u=createTypedArray("float32",o),P=BMMath.random();for(a=0;a<o;a+=1)u[a]=i[a]+P*(s[a]-i[a]);return u}i===void 0&&(i=0);var S=BMMath.random();return i+S*(s-i)}function createPath(i,s,a,o){var u,P=i.length,S=shapePool.newElement();S.setPathData(!!o,P);var C=[0,0],E,_;for(u=0;u<P;u+=1)E=s&&s[u]?s[u]:C,_=a&&a[u]?a[u]:C,S.setTripleAt(i[u][0],i[u][1],_[0]+i[u][0],_[1]+i[u][1],E[0]+i[u][0],E[1]+i[u][1],u,!0);return S}function initiateExpression(elem,data,property){function noOp(i){return i}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function i(s,a){var o,u,P=this.pv.length?this.pv.length:1,S=createTypedArray("float32",P);s=5;var C=Math.floor(time*s);for(o=0,u=0;o<C;){for(u=0;u<P;u+=1)S[u]+=-a+a*2*BMMath.random();o+=1}var E=time*s,_=E-Math.floor(E),I=createTypedArray("float32",P);if(P>1){for(u=0;u<P;u+=1)I[u]=this.pv[u]+S[u]+(-a+a*2*BMMath.random())*_;return I}return this.pv+S[0]+(-a+a*2*BMMath.random())*_}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(i,s){return loopIn(i,s,!0)}function loopOutDuration(i,s){return loopOut(i,s,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(i,s){var a=[s[0]-i[0],s[1]-i[1],s[2]-i[2]],o=Math.atan2(a[0],Math.sqrt(a[1]*a[1]+a[2]*a[2]))/degToRads,u=-Math.atan2(a[1],a[2])/degToRads;return[u,o,0]}function easeOut(i,s,a,o,u){return applyEase(easeOutBez,i,s,a,o,u)}function easeIn(i,s,a,o,u){return applyEase(easeInBez,i,s,a,o,u)}function ease(i,s,a,o,u){return applyEase(easeInOutBez,i,s,a,o,u)}function applyEase(i,s,a,o,u,P){u===void 0?(u=a,P=o):s=(s-a)/(o-a),s>1?s=1:s<0&&(s=0);var S=i(s);if($bm_isInstanceOfArray(u)){var C,E=u.length,_=createTypedArray("float32",E);for(C=0;C<E;C+=1)_[C]=(P[C]-u[C])*S+u[C];return _}return(P-u)*S+u}function nearestKey(i){var s,a=data.k.length,o,u;if(!data.k.length||typeof data.k[0]=="number")o=0,u=0;else if(o=-1,i*=elem.comp.globalData.frameRate,i<data.k[0].t)o=1,u=data.k[0].t;else{for(s=0;s<a-1;s+=1)if(i===data.k[s].t){o=s+1,u=data.k[s].t;break}else if(i>data.k[s].t&&i<data.k[s+1].t){i-data.k[s].t>data.k[s+1].t-i?(o=s+2,u=data.k[s+1].t):(o=s+1,u=data.k[s].t);break}o===-1&&(o=s+1,u=data.k[s].t)}var P={};return P.index=o,P.time=u/elem.comp.globalData.frameRate,P}function key(i){var s,a,o;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+i);i-=1,s={time:data.k[i].t/elem.comp.globalData.frameRate,value:[]};var u=Object.prototype.hasOwnProperty.call(data.k[i],"s")?data.k[i].s:data.k[i-1].e;for(o=u.length,a=0;a<o;a+=1)s[a]=u[a],s.value[a]=u[a];return s}function framesToTime(i,s){return s||(s=elem.comp.globalData.frameRate),i/s}function timeToFrames(i,s){return!i&&i!==0&&(i=time),s||(s=elem.comp.globalData.frameRate),i*s}function seedRandom(i){BMMath.seedrandom(randSeed+i)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(i,s){return typeof value=="string"?s===void 0?value.substring(i):value.substring(i,s):""}function substr(i,s){return typeof value=="string"?s===void 0?value.substr(i):value.substr(i,s):""}function posterizeTime(i){time=i===0?0:Math.floor(time*i)/i,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(i){return value=i,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var i={};i.initExpressions=s,i.resetFrame=ExpressionManager.resetFrame;function s(a){var o=0,u=[];function P(){o+=1}function S(){o-=1,o===0&&E()}function C(_){u.indexOf(_)===-1&&u.push(_)}function E(){var _,I=u.length;for(_=0;_<I;_+=1)u[_].release();u.length=0}a.renderer.compInterface=CompExpressionInterface(a.renderer),a.renderer.globalData.projectInterface.registerComposition(a.renderer),a.renderer.globalData.pushExpression=P,a.renderer.globalData.popExpression=S,a.renderer.globalData.registerExpressionProperty=C}return i}(),MaskManagerInterface=function(){function i(a,o){this._mask=a,this._data=o}Object.defineProperty(i.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(i.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var s=function(o){var u=createSizedArray(o.viewData.length),P,S=o.viewData.length;for(P=0;P<S;P+=1)u[P]=new i(o.viewData[P],o.masksProperties[P]);var C=function(_){for(P=0;P<S;){if(o.masksProperties[P].nm===_)return u[P];P+=1}return null};return C};return s}(),ExpressionPropertyInterface=function(){var i={pv:0,v:0,mult:1},s={pv:[0,0,0],v:[0,0,0],mult:1};function a(S,C,E){Object.defineProperty(S,"velocity",{get:function(){return C.getVelocityAtTime(C.comp.currentFrame)}}),S.numKeys=C.keyframes?C.keyframes.length:0,S.key=function(_){if(!S.numKeys)return 0;var I="";"s"in C.keyframes[_-1]?I=C.keyframes[_-1].s:"e"in C.keyframes[_-2]?I=C.keyframes[_-2].e:I=C.keyframes[_-2].s;var j=E==="unidimensional"?new Number(I):Object.assign({},I);return j.time=C.keyframes[_-1].t/C.elem.comp.globalData.frameRate,j.value=E==="unidimensional"?I[0]:I,j},S.valueAtTime=C.getValueAtTime,S.speedAtTime=C.getSpeedAtTime,S.velocityAtTime=C.getVelocityAtTime,S.propertyGroup=C.propertyGroup}function o(S){(!S||!("pv"in S))&&(S=i);var C=1/S.mult,E=S.pv*C,_=new Number(E);return _.value=E,a(_,S,"unidimensional"),function(){return S.k&&S.getValue(),E=S.v*C,_.value!==E&&(_=new Number(E),_.value=E,a(_,S,"unidimensional")),_}}function u(S){(!S||!("pv"in S))&&(S=s);var C=1/S.mult,E=S.data&&S.data.l||S.pv.length,_=createTypedArray("float32",E),I=createTypedArray("float32",E);return _.value=I,a(_,S,"multidimensional"),function(){S.k&&S.getValue();for(var j=0;j<E;j+=1)I[j]=S.v[j]*C,_[j]=I[j];return _}}function P(){return i}return function(S){return S?S.propType==="unidimensional"?o(S):u(S):P}}(),TransformExpressionInterface=function(){return function(i){function s(S){switch(S){case"scale":case"Scale":case"ADBE Scale":case 6:return s.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return s.rotation;case"ADBE Rotate X":return s.xRotation;case"ADBE Rotate Y":return s.yRotation;case"position":case"Position":case"ADBE Position":case 2:return s.position;case"ADBE Position_0":return s.xPosition;case"ADBE Position_1":return s.yPosition;case"ADBE Position_2":return s.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return s.anchorPoint;case"opacity":case"Opacity":case 11:return s.opacity;default:return null}}Object.defineProperty(s,"rotation",{get:ExpressionPropertyInterface(i.r||i.rz)}),Object.defineProperty(s,"zRotation",{get:ExpressionPropertyInterface(i.rz||i.r)}),Object.defineProperty(s,"xRotation",{get:ExpressionPropertyInterface(i.rx)}),Object.defineProperty(s,"yRotation",{get:ExpressionPropertyInterface(i.ry)}),Object.defineProperty(s,"scale",{get:ExpressionPropertyInterface(i.s)});var a,o,u,P;return i.p?P=ExpressionPropertyInterface(i.p):(a=ExpressionPropertyInterface(i.px),o=ExpressionPropertyInterface(i.py),i.pz&&(u=ExpressionPropertyInterface(i.pz))),Object.defineProperty(s,"position",{get:function(){return i.p?P():[a(),o(),u?u():0]}}),Object.defineProperty(s,"xPosition",{get:ExpressionPropertyInterface(i.px)}),Object.defineProperty(s,"yPosition",{get:ExpressionPropertyInterface(i.py)}),Object.defineProperty(s,"zPosition",{get:ExpressionPropertyInterface(i.pz)}),Object.defineProperty(s,"anchorPoint",{get:ExpressionPropertyInterface(i.a)}),Object.defineProperty(s,"opacity",{get:ExpressionPropertyInterface(i.o)}),Object.defineProperty(s,"skew",{get:ExpressionPropertyInterface(i.sk)}),Object.defineProperty(s,"skewAxis",{get:ExpressionPropertyInterface(i.sa)}),Object.defineProperty(s,"orientation",{get:ExpressionPropertyInterface(i.or)}),s}}(),LayerExpressionInterface=function(){function i(_){var I=new Matrix;if(_!==void 0){var j=this._elem.finalTransform.mProp.getValueAtTime(_);j.clone(I)}else{var T=this._elem.finalTransform.mProp;T.applyToMatrix(I)}return I}function s(_,I){var j=this.getMatrix(I);return j.props[12]=0,j.props[13]=0,j.props[14]=0,this.applyPoint(j,_)}function a(_,I){var j=this.getMatrix(I);return this.applyPoint(j,_)}function o(_,I){var j=this.getMatrix(I);return j.props[12]=0,j.props[13]=0,j.props[14]=0,this.invertPoint(j,_)}function u(_,I){var j=this.getMatrix(I);return this.invertPoint(j,_)}function P(_,I){if(this._elem.hierarchy&&this._elem.hierarchy.length){var j,T=this._elem.hierarchy.length;for(j=0;j<T;j+=1)this._elem.hierarchy[j].finalTransform.mProp.applyToMatrix(_)}return _.applyToPointArray(I[0],I[1],I[2]||0)}function S(_,I){if(this._elem.hierarchy&&this._elem.hierarchy.length){var j,T=this._elem.hierarchy.length;for(j=0;j<T;j+=1)this._elem.hierarchy[j].finalTransform.mProp.applyToMatrix(_)}return _.inversePoint(I)}function C(_){var I=new Matrix;if(I.reset(),this._elem.finalTransform.mProp.applyToMatrix(I),this._elem.hierarchy&&this._elem.hierarchy.length){var j,T=this._elem.hierarchy.length;for(j=0;j<T;j+=1)this._elem.hierarchy[j].finalTransform.mProp.applyToMatrix(I);return I.inversePoint(_)}return I.inversePoint(_)}function E(){return[1,1,1,1]}return function(_){var I;function j(L){O.mask=new MaskManagerInterface(L,_)}function T(L){O.effect=L}function O(L){switch(L){case"ADBE Root Vectors Group":case"Contents":case 2:return O.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return I;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return O.effect;case"ADBE Text Properties":return O.textInterface;default:return null}}O.getMatrix=i,O.invertPoint=S,O.applyPoint=P,O.toWorld=a,O.toWorldVec=s,O.fromWorld=u,O.fromWorldVec=o,O.toComp=a,O.fromComp=C,O.sampleImage=E,O.sourceRectAtTime=_.sourceRectAtTime.bind(_),O._elem=_,I=TransformExpressionInterface(_.finalTransform.mProp);var D=getDescriptor(I,"anchorPoint");return Object.defineProperties(O,{hasParent:{get:function(){return _.hierarchy.length}},parent:{get:function(){return _.hierarchy[0].layerInterface}},rotation:getDescriptor(I,"rotation"),scale:getDescriptor(I,"scale"),position:getDescriptor(I,"position"),opacity:getDescriptor(I,"opacity"),anchorPoint:D,anchor_point:D,transform:{get:function(){return I}},active:{get:function(){return _.isInRange}}}),O.startTime=_.data.st,O.index=_.data.ind,O.source=_.data.refId,O.height=_.data.ty===0?_.data.h:100,O.width=_.data.ty===0?_.data.w:100,O.inPoint=_.data.ip/_.comp.globalData.frameRate,O.outPoint=_.data.op/_.comp.globalData.frameRate,O._name=_.data.nm,O.registerMaskInterface=j,O.registerEffectsInterface=T,O}}(),propertyGroupFactory=function(){return function(i,s){return function(a){return a=a===void 0?1:a,a<=0?i:s(a-1)}}}(),PropertyInterface=function(){return function(i,s){var a={_name:i};function o(u){return u=u===void 0?1:u,u<=0?a:s(u-1)}return o}}(),EffectsExpressionInterface=function(){var i={createEffectsInterface:s};function s(u,P){if(u.effectsManager){var S=[],C=u.data.ef,E,_=u.effectsManager.effectElements.length;for(E=0;E<_;E+=1)S.push(a(C[E],u.effectsManager.effectElements[E],P,u));var I=u.data.ef||[],j=function(O){for(E=0,_=I.length;E<_;){if(O===I[E].nm||O===I[E].mn||O===I[E].ix)return S[E];E+=1}return null};return Object.defineProperty(j,"numProperties",{get:function(){return I.length}}),j}return null}function a(u,P,S,C){function E(O){for(var D=u.ef,L=0,H=D.length;L<H;){if(O===D[L].nm||O===D[L].mn||O===D[L].ix)return D[L].ty===5?I[L]:I[L]();L+=1}throw new Error}var _=propertyGroupFactory(E,S),I=[],j,T=u.ef.length;for(j=0;j<T;j+=1)u.ef[j].ty===5?I.push(a(u.ef[j],P.effectElements[j],P.effectElements[j].propertyGroup,C)):I.push(o(P.effectElements[j],u.ef[j].ty,C,_));return u.mn==="ADBE Color Control"&&Object.defineProperty(E,"color",{get:function(){return I[0]()}}),Object.defineProperties(E,{numProperties:{get:function(){return u.np}},_name:{value:u.nm},propertyGroup:{value:_}}),E.enabled=u.en!==0,E.active=E.enabled,E}function o(u,P,S,C){var E=ExpressionPropertyInterface(u.p);function _(){return P===10?S.comp.compInterface(u.p.v):E()}return u.p.setGroupProperty&&u.p.setGroupProperty(PropertyInterface("",C)),_}return i}(),ShapePathInterface=function(){return function(s,a,o){var u=a.sh;function P(C){return C==="Shape"||C==="shape"||C==="Path"||C==="path"||C==="ADBE Vector Shape"||C===2?P.path:null}var S=propertyGroupFactory(P,o);return u.setGroupProperty(PropertyInterface("Path",S)),Object.defineProperties(P,{path:{get:function(){return u.k&&u.getValue(),u}},shape:{get:function(){return u.k&&u.getValue(),u}},_name:{value:s.nm},ix:{value:s.ix},propertyIndex:{value:s.ix},mn:{value:s.mn},propertyGroup:{value:o}}),P}}(),ShapeExpressionInterface=function(){function i(D,L,H){var F=[],R,M=D?D.length:0;for(R=0;R<M;R+=1)D[R].ty==="gr"?F.push(a(D[R],L[R],H)):D[R].ty==="fl"?F.push(o(D[R],L[R],H)):D[R].ty==="st"?F.push(S(D[R],L[R],H)):D[R].ty==="tm"?F.push(C(D[R],L[R],H)):D[R].ty==="tr"||(D[R].ty==="el"?F.push(_(D[R],L[R],H)):D[R].ty==="sr"?F.push(I(D[R],L[R],H)):D[R].ty==="sh"?F.push(ShapePathInterface(D[R],L[R],H)):D[R].ty==="rc"?F.push(j(D[R],L[R],H)):D[R].ty==="rd"?F.push(T(D[R],L[R],H)):D[R].ty==="rp"?F.push(O(D[R],L[R],H)):D[R].ty==="gf"?F.push(u(D[R],L[R],H)):F.push(P(D[R],L[R])));return F}function s(D,L,H){var F,R=function(N){for(var W=0,X=F.length;W<X;){if(F[W]._name===N||F[W].mn===N||F[W].propertyIndex===N||F[W].ix===N||F[W].ind===N)return F[W];W+=1}return typeof N=="number"?F[N-1]:null};R.propertyGroup=propertyGroupFactory(R,H),F=i(D.it,L.it,R.propertyGroup),R.numProperties=F.length;var M=E(D.it[D.it.length-1],L.it[L.it.length-1],R.propertyGroup);return R.transform=M,R.propertyIndex=D.cix,R._name=D.nm,R}function a(D,L,H){var F=function(N){switch(N){case"ADBE Vectors Group":case"Contents":case 2:return F.content;default:return F.transform}};F.propertyGroup=propertyGroupFactory(F,H);var R=s(D,L,F.propertyGroup),M=E(D.it[D.it.length-1],L.it[L.it.length-1],F.propertyGroup);return F.content=R,F.transform=M,Object.defineProperty(F,"_name",{get:function(){return D.nm}}),F.numProperties=D.np,F.propertyIndex=D.ix,F.nm=D.nm,F.mn=D.mn,F}function o(D,L,H){function F(R){return R==="Color"||R==="color"?F.color:R==="Opacity"||R==="opacity"?F.opacity:null}return Object.defineProperties(F,{color:{get:ExpressionPropertyInterface(L.c)},opacity:{get:ExpressionPropertyInterface(L.o)},_name:{value:D.nm},mn:{value:D.mn}}),L.c.setGroupProperty(PropertyInterface("Color",H)),L.o.setGroupProperty(PropertyInterface("Opacity",H)),F}function u(D,L,H){function F(R){return R==="Start Point"||R==="start point"?F.startPoint:R==="End Point"||R==="end point"?F.endPoint:R==="Opacity"||R==="opacity"?F.opacity:null}return Object.defineProperties(F,{startPoint:{get:ExpressionPropertyInterface(L.s)},endPoint:{get:ExpressionPropertyInterface(L.e)},opacity:{get:ExpressionPropertyInterface(L.o)},type:{get:function(){return"a"}},_name:{value:D.nm},mn:{value:D.mn}}),L.s.setGroupProperty(PropertyInterface("Start Point",H)),L.e.setGroupProperty(PropertyInterface("End Point",H)),L.o.setGroupProperty(PropertyInterface("Opacity",H)),F}function P(){function D(){return null}return D}function S(D,L,H){var F=propertyGroupFactory(X,H),R=propertyGroupFactory(W,F);function M(Y){Object.defineProperty(W,D.d[Y].nm,{get:ExpressionPropertyInterface(L.d.dataProps[Y].p)})}var V,N=D.d?D.d.length:0,W={};for(V=0;V<N;V+=1)M(V),L.d.dataProps[V].p.setGroupProperty(R);function X(Y){return Y==="Color"||Y==="color"?X.color:Y==="Opacity"||Y==="opacity"?X.opacity:Y==="Stroke Width"||Y==="stroke width"?X.strokeWidth:null}return Object.defineProperties(X,{color:{get:ExpressionPropertyInterface(L.c)},opacity:{get:ExpressionPropertyInterface(L.o)},strokeWidth:{get:ExpressionPropertyInterface(L.w)},dash:{get:function(){return W}},_name:{value:D.nm},mn:{value:D.mn}}),L.c.setGroupProperty(PropertyInterface("Color",F)),L.o.setGroupProperty(PropertyInterface("Opacity",F)),L.w.setGroupProperty(PropertyInterface("Stroke Width",F)),X}function C(D,L,H){function F(M){return M===D.e.ix||M==="End"||M==="end"?F.end:M===D.s.ix?F.start:M===D.o.ix?F.offset:null}var R=propertyGroupFactory(F,H);return F.propertyIndex=D.ix,L.s.setGroupProperty(PropertyInterface("Start",R)),L.e.setGroupProperty(PropertyInterface("End",R)),L.o.setGroupProperty(PropertyInterface("Offset",R)),F.propertyIndex=D.ix,F.propertyGroup=H,Object.defineProperties(F,{start:{get:ExpressionPropertyInterface(L.s)},end:{get:ExpressionPropertyInterface(L.e)},offset:{get:ExpressionPropertyInterface(L.o)},_name:{value:D.nm}}),F.mn=D.mn,F}function E(D,L,H){function F(M){return D.a.ix===M||M==="Anchor Point"?F.anchorPoint:D.o.ix===M||M==="Opacity"?F.opacity:D.p.ix===M||M==="Position"?F.position:D.r.ix===M||M==="Rotation"||M==="ADBE Vector Rotation"?F.rotation:D.s.ix===M||M==="Scale"?F.scale:D.sk&&D.sk.ix===M||M==="Skew"?F.skew:D.sa&&D.sa.ix===M||M==="Skew Axis"?F.skewAxis:null}var R=propertyGroupFactory(F,H);return L.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",R)),L.transform.mProps.p.setGroupProperty(PropertyInterface("Position",R)),L.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",R)),L.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",R)),L.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",R)),L.transform.mProps.sk&&(L.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",R)),L.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",R))),L.transform.op.setGroupProperty(PropertyInterface("Opacity",R)),Object.defineProperties(F,{opacity:{get:ExpressionPropertyInterface(L.transform.mProps.o)},position:{get:ExpressionPropertyInterface(L.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(L.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(L.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(L.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(L.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(L.transform.mProps.sa)},_name:{value:D.nm}}),F.ty="tr",F.mn=D.mn,F.propertyGroup=H,F}function _(D,L,H){function F(V){return D.p.ix===V?F.position:D.s.ix===V?F.size:null}var R=propertyGroupFactory(F,H);F.propertyIndex=D.ix;var M=L.sh.ty==="tm"?L.sh.prop:L.sh;return M.s.setGroupProperty(PropertyInterface("Size",R)),M.p.setGroupProperty(PropertyInterface("Position",R)),Object.defineProperties(F,{size:{get:ExpressionPropertyInterface(M.s)},position:{get:ExpressionPropertyInterface(M.p)},_name:{value:D.nm}}),F.mn=D.mn,F}function I(D,L,H){function F(V){return D.p.ix===V?F.position:D.r.ix===V?F.rotation:D.pt.ix===V?F.points:D.or.ix===V||V==="ADBE Vector Star Outer Radius"?F.outerRadius:D.os.ix===V?F.outerRoundness:D.ir&&(D.ir.ix===V||V==="ADBE Vector Star Inner Radius")?F.innerRadius:D.is&&D.is.ix===V?F.innerRoundness:null}var R=propertyGroupFactory(F,H),M=L.sh.ty==="tm"?L.sh.prop:L.sh;return F.propertyIndex=D.ix,M.or.setGroupProperty(PropertyInterface("Outer Radius",R)),M.os.setGroupProperty(PropertyInterface("Outer Roundness",R)),M.pt.setGroupProperty(PropertyInterface("Points",R)),M.p.setGroupProperty(PropertyInterface("Position",R)),M.r.setGroupProperty(PropertyInterface("Rotation",R)),D.ir&&(M.ir.setGroupProperty(PropertyInterface("Inner Radius",R)),M.is.setGroupProperty(PropertyInterface("Inner Roundness",R))),Object.defineProperties(F,{position:{get:ExpressionPropertyInterface(M.p)},rotation:{get:ExpressionPropertyInterface(M.r)},points:{get:ExpressionPropertyInterface(M.pt)},outerRadius:{get:ExpressionPropertyInterface(M.or)},outerRoundness:{get:ExpressionPropertyInterface(M.os)},innerRadius:{get:ExpressionPropertyInterface(M.ir)},innerRoundness:{get:ExpressionPropertyInterface(M.is)},_name:{value:D.nm}}),F.mn=D.mn,F}function j(D,L,H){function F(V){return D.p.ix===V?F.position:D.r.ix===V?F.roundness:D.s.ix===V||V==="Size"||V==="ADBE Vector Rect Size"?F.size:null}var R=propertyGroupFactory(F,H),M=L.sh.ty==="tm"?L.sh.prop:L.sh;return F.propertyIndex=D.ix,M.p.setGroupProperty(PropertyInterface("Position",R)),M.s.setGroupProperty(PropertyInterface("Size",R)),M.r.setGroupProperty(PropertyInterface("Rotation",R)),Object.defineProperties(F,{position:{get:ExpressionPropertyInterface(M.p)},roundness:{get:ExpressionPropertyInterface(M.r)},size:{get:ExpressionPropertyInterface(M.s)},_name:{value:D.nm}}),F.mn=D.mn,F}function T(D,L,H){function F(V){return D.r.ix===V||V==="Round Corners 1"?F.radius:null}var R=propertyGroupFactory(F,H),M=L;return F.propertyIndex=D.ix,M.rd.setGroupProperty(PropertyInterface("Radius",R)),Object.defineProperties(F,{radius:{get:ExpressionPropertyInterface(M.rd)},_name:{value:D.nm}}),F.mn=D.mn,F}function O(D,L,H){function F(V){return D.c.ix===V||V==="Copies"?F.copies:D.o.ix===V||V==="Offset"?F.offset:null}var R=propertyGroupFactory(F,H),M=L;return F.propertyIndex=D.ix,M.c.setGroupProperty(PropertyInterface("Copies",R)),M.o.setGroupProperty(PropertyInterface("Offset",R)),Object.defineProperties(F,{copies:{get:ExpressionPropertyInterface(M.c)},offset:{get:ExpressionPropertyInterface(M.o)},_name:{value:D.nm}}),F.mn=D.mn,F}return function(D,L,H){var F;function R(V){if(typeof V=="number")return V=V===void 0?1:V,V===0?H:F[V-1];for(var N=0,W=F.length;N<W;){if(F[N]._name===V)return F[N];N+=1}return null}function M(){return H}return R.propertyGroup=propertyGroupFactory(R,M),F=i(D,L,R.propertyGroup),R.numProperties=F.length,R._name="Contents",R}}(),TextExpressionInterface=function(){return function(i){var s;function a(o){switch(o){case"ADBE Text Document":return a.sourceText;default:return null}}return Object.defineProperty(a,"sourceText",{get:function(){i.textProperty.getValue();var u=i.textProperty.currentData.t;return(!s||u!==s.value)&&(s=new String(u),s.value=u||new String(u),Object.defineProperty(s,"style",{get:function(){return{fillColor:i.textProperty.currentData.fc}}})),s}}),a}}();function _typeof(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(a){return typeof a}:_typeof=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof(i)}var FootageInterface=function(){var i=function(o){var u="",P=o.getFootageData();function S(){return u="",P=o.getFootageData(),C}function C(E){if(P[E])return u=E,P=P[E],_typeof(P)==="object"?C:P;var _=E.indexOf(u);if(_!==-1){var I=parseInt(E.substr(_+u.length),10);return P=P[I],_typeof(P)==="object"?C:P}return""}return S},s=function(o){function u(P){return P==="Outline"?u.outlineInterface():null}return u._name="Outline",u.outlineInterface=i(o),u};return function(a){function o(u){return u==="Data"?o.dataInterface:null}return o._name="Data",o.dataInterface=s(a),o}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(i){return interfaces[i]||null}var expressionHelpers=function(){function i(S,C,E){C.x&&(E.k=!0,E.x=!0,E.initiateExpression=ExpressionManager.initiateExpression,E.effectsSequence.push(E.initiateExpression(S,C,E).bind(E)))}function s(S){return S*=this.elem.globalData.frameRate,S-=this.offsetTime,S!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<S?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(S,this._cachingAtTime),this._cachingAtTime.lastFrame=S),this._cachingAtTime.value}function a(S){var C=-.01,E=this.getValueAtTime(S),_=this.getValueAtTime(S+C),I=0;if(E.length){var j;for(j=0;j<E.length;j+=1)I+=Math.pow(_[j]-E[j],2);I=Math.sqrt(I)*100}else I=0;return I}function o(S){if(this.vel!==void 0)return this.vel;var C=-.001,E=this.getValueAtTime(S),_=this.getValueAtTime(S+C),I;if(E.length){I=createTypedArray("float32",E.length);var j;for(j=0;j<E.length;j+=1)I[j]=(_[j]-E[j])/C}else I=(_-E)/C;return I}function u(){return this.pv}function P(S){this.propertyGroup=S}return{searchExpressions:i,getSpeedAtTime:a,getVelocityAtTime:o,getValueAtTime:s,getStaticValueAtTime:u,setGroupProperty:P}}();function addPropertyDecorator(){function i(T,O,D){if(!this.k||!this.keyframes)return this.pv;T=T?T.toLowerCase():"";var L=this.comp.renderedFrame,H=this.keyframes,F=H[H.length-1].t;if(L<=F)return this.pv;var R,M;D?(O?R=Math.abs(F-this.elem.comp.globalData.frameRate*O):R=Math.max(0,F-this.elem.data.ip),M=F-R):((!O||O>H.length-1)&&(O=H.length-1),M=H[H.length-1-O].t,R=F-M);var V,N,W;if(T==="pingpong"){var X=Math.floor((L-M)/R);if(X%2!==0)return this.getValueAtTime((R-(L-M)%R+M)/this.comp.globalData.frameRate,0)}else if(T==="offset"){var Y=this.getValueAtTime(M/this.comp.globalData.frameRate,0),J=this.getValueAtTime(F/this.comp.globalData.frameRate,0),re=this.getValueAtTime(((L-M)%R+M)/this.comp.globalData.frameRate,0),te=Math.floor((L-M)/R);if(this.pv.length){for(W=new Array(Y.length),N=W.length,V=0;V<N;V+=1)W[V]=(J[V]-Y[V])*te+re[V];return W}return(J-Y)*te+re}else if(T==="continue"){var ee=this.getValueAtTime(F/this.comp.globalData.frameRate,0),se=this.getValueAtTime((F-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(W=new Array(ee.length),N=W.length,V=0;V<N;V+=1)W[V]=ee[V]+(ee[V]-se[V])*((L-F)/this.comp.globalData.frameRate)/5e-4;return W}return ee+(ee-se)*((L-F)/.001)}return this.getValueAtTime(((L-M)%R+M)/this.comp.globalData.frameRate,0)}function s(T,O,D){if(!this.k)return this.pv;T=T?T.toLowerCase():"";var L=this.comp.renderedFrame,H=this.keyframes,F=H[0].t;if(L>=F)return this.pv;var R,M;D?(O?R=Math.abs(this.elem.comp.globalData.frameRate*O):R=Math.max(0,this.elem.data.op-F),M=F+R):((!O||O>H.length-1)&&(O=H.length-1),M=H[O].t,R=M-F);var V,N,W;if(T==="pingpong"){var X=Math.floor((F-L)/R);if(X%2===0)return this.getValueAtTime(((F-L)%R+F)/this.comp.globalData.frameRate,0)}else if(T==="offset"){var Y=this.getValueAtTime(F/this.comp.globalData.frameRate,0),J=this.getValueAtTime(M/this.comp.globalData.frameRate,0),re=this.getValueAtTime((R-(F-L)%R+F)/this.comp.globalData.frameRate,0),te=Math.floor((F-L)/R)+1;if(this.pv.length){for(W=new Array(Y.length),N=W.length,V=0;V<N;V+=1)W[V]=re[V]-(J[V]-Y[V])*te;return W}return re-(J-Y)*te}else if(T==="continue"){var ee=this.getValueAtTime(F/this.comp.globalData.frameRate,0),se=this.getValueAtTime((F+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(W=new Array(ee.length),N=W.length,V=0;V<N;V+=1)W[V]=ee[V]+(ee[V]-se[V])*(F-L)/.001;return W}return ee+(ee-se)*(F-L)/.001}return this.getValueAtTime((R-((F-L)%R+F))/this.comp.globalData.frameRate,0)}function a(T,O){if(!this.k)return this.pv;if(T=(T||.4)*.5,O=Math.floor(O||5),O<=1)return this.pv;var D=this.comp.renderedFrame/this.comp.globalData.frameRate,L=D-T,H=D+T,F=O>1?(H-L)/(O-1):1,R=0,M=0,V;this.pv.length?V=createTypedArray("float32",this.pv.length):V=0;for(var N;R<O;){if(N=this.getValueAtTime(L+R*F),this.pv.length)for(M=0;M<this.pv.length;M+=1)V[M]+=N[M];else V+=N;R+=1}if(this.pv.length)for(M=0;M<this.pv.length;M+=1)V[M]/=O;else V/=O;return V}function o(T){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var O=this._transformCachingAtTime.v;if(O.cloneFromProps(this.pre.props),this.appliedTransformations<1){var D=this.a.getValueAtTime(T);O.translate(-D[0]*this.a.mult,-D[1]*this.a.mult,D[2]*this.a.mult)}if(this.appliedTransformations<2){var L=this.s.getValueAtTime(T);O.scale(L[0]*this.s.mult,L[1]*this.s.mult,L[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var H=this.sk.getValueAtTime(T),F=this.sa.getValueAtTime(T);O.skewFromAxis(-H*this.sk.mult,F*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var R=this.r.getValueAtTime(T);O.rotate(-R*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var M=this.rz.getValueAtTime(T),V=this.ry.getValueAtTime(T),N=this.rx.getValueAtTime(T),W=this.or.getValueAtTime(T);O.rotateZ(-M*this.rz.mult).rotateY(V*this.ry.mult).rotateX(N*this.rx.mult).rotateZ(-W[2]*this.or.mult).rotateY(W[1]*this.or.mult).rotateX(W[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var X=this.px.getValueAtTime(T),Y=this.py.getValueAtTime(T);if(this.data.p.z){var J=this.pz.getValueAtTime(T);O.translate(X*this.px.mult,Y*this.py.mult,-J*this.pz.mult)}else O.translate(X*this.px.mult,Y*this.py.mult,0)}else{var re=this.p.getValueAtTime(T);O.translate(re[0]*this.p.mult,re[1]*this.p.mult,-re[2]*this.p.mult)}return O}function u(){return this.v.clone(new Matrix)}var P=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(T,O,D){var L=P(T,O,D);return L.dynamicProperties.length?L.getValueAtTime=o.bind(L):L.getValueAtTime=u.bind(L),L.setGroupProperty=expressionHelpers.setGroupProperty,L};var S=PropertyFactory.getProp;PropertyFactory.getProp=function(T,O,D,L,H){var F=S(T,O,D,L,H);F.kf?F.getValueAtTime=expressionHelpers.getValueAtTime.bind(F):F.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(F),F.setGroupProperty=expressionHelpers.setGroupProperty,F.loopOut=i,F.loopIn=s,F.smooth=a,F.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(F),F.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(F),F.numKeys=O.a===1?O.k.length:0,F.propertyIndex=O.ix;var R=0;return D!==0&&(R=createTypedArray("float32",O.a===1?O.k[0].s.length:O.k.length)),F._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:R},expressionHelpers.searchExpressions(T,O,F),F.k&&H.addDynamicProperty(F),F};function C(T){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),T*=this.elem.globalData.frameRate,T-=this.offsetTime,T!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<T?this._caching.lastIndex:0,this._cachingAtTime.lastTime=T,this.interpolateShape(T,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var E=ShapePropertyFactory.getConstructorFunction(),_=ShapePropertyFactory.getKeyframedConstructorFunction();function I(){}I.prototype={vertices:function(O,D){this.k&&this.getValue();var L=this.v;D!==void 0&&(L=this.getValueAtTime(D,0));var H,F=L._length,R=L[O],M=L.v,V=createSizedArray(F);for(H=0;H<F;H+=1)O==="i"||O==="o"?V[H]=[R[H][0]-M[H][0],R[H][1]-M[H][1]]:V[H]=[R[H][0],R[H][1]];return V},points:function(O){return this.vertices("v",O)},inTangents:function(O){return this.vertices("i",O)},outTangents:function(O){return this.vertices("o",O)},isClosed:function(){return this.v.c},pointOnPath:function(O,D){var L=this.v;D!==void 0&&(L=this.getValueAtTime(D,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(L));for(var H=this._segmentsLength,F=H.lengths,R=H.totalLength*O,M=0,V=F.length,N=0,W;M<V;){if(N+F[M].addedLength>R){var X=M,Y=L.c&&M===V-1?0:M+1,J=(R-N)/F[M].addedLength;W=bez.getPointInSegment(L.v[X],L.v[Y],L.o[X],L.i[Y],J,F[M]);break}else N+=F[M].addedLength;M+=1}return W||(W=L.c?[L.v[0][0],L.v[0][1]]:[L.v[L._length-1][0],L.v[L._length-1][1]]),W},vectorOnPath:function(O,D,L){O==1?O=this.v.c:O==0&&(O=.999);var H=this.pointOnPath(O,D),F=this.pointOnPath(O+.001,D),R=F[0]-H[0],M=F[1]-H[1],V=Math.sqrt(Math.pow(R,2)+Math.pow(M,2));if(V===0)return[0,0];var N=L==="tangent"?[R/V,M/V]:[-M/V,R/V];return N},tangentOnPath:function(O,D){return this.vectorOnPath(O,D,"tangent")},normalOnPath:function(O,D){return this.vectorOnPath(O,D,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([I],E),extendPrototype([I],_),_.prototype.getValueAtTime=C,_.prototype.initiateExpression=ExpressionManager.initiateExpression;var j=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(T,O,D,L,H){var F=j(T,O,D,L,H);return F.propertyIndex=O.ix,F.lock=!1,D===3?expressionHelpers.searchExpressions(T,O.pt,F):D===4&&expressionHelpers.searchExpressions(T,O.ks,F),F.k&&T.addDynamicProperty(F),F}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function i(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(s,a){var o=this.calculateExpression(a);if(s.t!==o){var u={};return this.copyData(u,s),u.t=o.toString(),u.__complete=!1,u}return s},TextProperty.prototype.searchProperty=function(){var s=this.searchKeyframes(),a=this.searchExpressions();return this.kf=s||a,this.kf},TextProperty.prototype.searchExpressions=i}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function i(s,a){var o=createNS("feMerge");o.setAttribute("result",s);var u,P;for(P=0;P<a.length;P+=1)u=createNS("feMergeNode"),u.setAttribute("in",a[P]),o.appendChild(u),o.appendChild(u);return o}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(i,s,a,o,u){this.filterManager=s;var P=createNS("feColorMatrix");P.setAttribute("type","matrix"),P.setAttribute("color-interpolation-filters","linearRGB"),P.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=P,P.setAttribute("result",o+"_tint_1"),i.appendChild(P),P=createNS("feColorMatrix"),P.setAttribute("type","matrix"),P.setAttribute("color-interpolation-filters","sRGB"),P.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),P.setAttribute("result",o+"_tint_2"),i.appendChild(P),this.matrixFilter=P;var S=this.createMergeNode(o,[u,o+"_tint_1",o+"_tint_2"]);i.appendChild(S)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s=this.filterManager.effectElements[0].p.v,a=this.filterManager.effectElements[1].p.v,o=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+o+" 0"),this.matrixFilter.setAttribute("values",a[0]-s[0]+" 0 0 0 "+s[0]+" "+(a[1]-s[1])+" 0 0 0 "+s[1]+" "+(a[2]-s[2])+" 0 0 0 "+s[2]+" 0 0 0 1 0")}};function SVGFillFilter(i,s,a,o){this.filterManager=s;var u=createNS("feColorMatrix");u.setAttribute("type","matrix"),u.setAttribute("color-interpolation-filters","sRGB"),u.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),u.setAttribute("result",o),i.appendChild(u),this.matrixFilter=u}SVGFillFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s=this.filterManager.effectElements[2].p.v,a=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+s[0]+" 0 0 0 0 "+s[1]+" 0 0 0 0 "+s[2]+" 0 0 0 "+a+" 0")}};function SVGStrokeEffect(i,s,a){this.initialized=!1,this.filterManager=s,this.elem=a,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var i=this.elem.layerElement.children||this.elem.layerElement.childNodes,s,a,o,u;for(this.filterManager.effectElements[1].p.v===1?(u=this.elem.maskManager.masksProperties.length,o=0):(o=this.filterManager.effectElements[0].p.v-1,u=o+1),a=createNS("g"),a.setAttribute("fill","none"),a.setAttribute("stroke-linecap","round"),a.setAttribute("stroke-dashoffset",1),o;o<u;o+=1)s=createNS("path"),a.appendChild(s),this.paths.push({p:s,m:o});if(this.filterManager.effectElements[10].p.v===3){var P=createNS("mask"),S=createElementID();P.setAttribute("id",S),P.setAttribute("mask-type","alpha"),P.appendChild(a),this.elem.globalData.defs.appendChild(P);var C=createNS("g");for(C.setAttribute("mask","url("+getLocationHref()+"#"+S+")");i[0];)C.appendChild(i[0]);this.elem.layerElement.appendChild(C),this.masker=P,a.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(a),this.elem.layerElement.removeAttribute("mask"),a.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=a},SVGStrokeEffect.prototype.renderFrame=function(i){this.initialized||this.initialize();var s,a=this.paths.length,o,u;for(s=0;s<a;s+=1)if(this.paths[s].m!==-1&&(o=this.elem.maskManager.viewData[this.paths[s].m],u=this.paths[s].p,(i||this.filterManager._mdf||o.prop._mdf)&&u.setAttribute("d",o.lastPath),i||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||o.prop._mdf)){var P;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var S=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,C=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,E=u.getTotalLength();P="0 0 0 "+E*S+" ";var _=E*(C-S),I=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,j=Math.floor(_/I),T;for(T=0;T<j;T+=1)P+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";P+="0 "+E*10+" 0 0"}else P="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;u.setAttribute("stroke-dasharray",P)}if((i||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(i||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(i||this.filterManager.effectElements[3].p._mdf)){var O=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(O[0]*255)+","+bmFloor(O[1]*255)+","+bmFloor(O[2]*255)+")")}};function SVGTritoneFilter(i,s,a,o){this.filterManager=s;var u=createNS("feColorMatrix");u.setAttribute("type","matrix"),u.setAttribute("color-interpolation-filters","linearRGB"),u.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),i.appendChild(u);var P=createNS("feComponentTransfer");P.setAttribute("color-interpolation-filters","sRGB"),P.setAttribute("result",o),this.matrixFilter=P;var S=createNS("feFuncR");S.setAttribute("type","table"),P.appendChild(S),this.feFuncR=S;var C=createNS("feFuncG");C.setAttribute("type","table"),P.appendChild(C),this.feFuncG=C;var E=createNS("feFuncB");E.setAttribute("type","table"),P.appendChild(E),this.feFuncB=E,i.appendChild(P)}SVGTritoneFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s=this.filterManager.effectElements[0].p.v,a=this.filterManager.effectElements[1].p.v,o=this.filterManager.effectElements[2].p.v,u=o[0]+" "+a[0]+" "+s[0],P=o[1]+" "+a[1]+" "+s[1],S=o[2]+" "+a[2]+" "+s[2];this.feFuncR.setAttribute("tableValues",u),this.feFuncG.setAttribute("tableValues",P),this.feFuncB.setAttribute("tableValues",S)}};function SVGProLevelsFilter(i,s,a,o){this.filterManager=s;var u=this.filterManager.effectElements,P=createNS("feComponentTransfer");(u[10].p.k||u[10].p.v!==0||u[11].p.k||u[11].p.v!==1||u[12].p.k||u[12].p.v!==1||u[13].p.k||u[13].p.v!==0||u[14].p.k||u[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",P)),(u[17].p.k||u[17].p.v!==0||u[18].p.k||u[18].p.v!==1||u[19].p.k||u[19].p.v!==1||u[20].p.k||u[20].p.v!==0||u[21].p.k||u[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",P)),(u[24].p.k||u[24].p.v!==0||u[25].p.k||u[25].p.v!==1||u[26].p.k||u[26].p.v!==1||u[27].p.k||u[27].p.v!==0||u[28].p.k||u[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",P)),(u[31].p.k||u[31].p.v!==0||u[32].p.k||u[32].p.v!==1||u[33].p.k||u[33].p.v!==1||u[34].p.k||u[34].p.v!==0||u[35].p.k||u[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",P)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(P.setAttribute("color-interpolation-filters","sRGB"),i.appendChild(P)),(u[3].p.k||u[3].p.v!==0||u[4].p.k||u[4].p.v!==1||u[5].p.k||u[5].p.v!==1||u[6].p.k||u[6].p.v!==0||u[7].p.k||u[7].p.v!==1)&&(P=createNS("feComponentTransfer"),P.setAttribute("color-interpolation-filters","sRGB"),P.setAttribute("result",o),i.appendChild(P),this.feFuncRComposed=this.createFeFunc("feFuncR",P),this.feFuncGComposed=this.createFeFunc("feFuncG",P),this.feFuncBComposed=this.createFeFunc("feFuncB",P))}SVGProLevelsFilter.prototype.createFeFunc=function(i,s){var a=createNS(i);return a.setAttribute("type","table"),s.appendChild(a),a},SVGProLevelsFilter.prototype.getTableValue=function(i,s,a,o,u){for(var P=0,S=256,C,E=Math.min(i,s),_=Math.max(i,s),I=Array.call(null,{length:S}),j,T=0,O=u-o,D=s-i;P<=256;)C=P/256,C<=E?j=D<0?u:o:C>=_?j=D<0?o:u:j=o+O*Math.pow((C-i)/D,1/a),I[T]=j,T+=1,P+=256/(S-1);return I.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s,a=this.filterManager.effectElements;this.feFuncRComposed&&(i||a[3].p._mdf||a[4].p._mdf||a[5].p._mdf||a[6].p._mdf||a[7].p._mdf)&&(s=this.getTableValue(a[3].p.v,a[4].p.v,a[5].p.v,a[6].p.v,a[7].p.v),this.feFuncRComposed.setAttribute("tableValues",s),this.feFuncGComposed.setAttribute("tableValues",s),this.feFuncBComposed.setAttribute("tableValues",s)),this.feFuncR&&(i||a[10].p._mdf||a[11].p._mdf||a[12].p._mdf||a[13].p._mdf||a[14].p._mdf)&&(s=this.getTableValue(a[10].p.v,a[11].p.v,a[12].p.v,a[13].p.v,a[14].p.v),this.feFuncR.setAttribute("tableValues",s)),this.feFuncG&&(i||a[17].p._mdf||a[18].p._mdf||a[19].p._mdf||a[20].p._mdf||a[21].p._mdf)&&(s=this.getTableValue(a[17].p.v,a[18].p.v,a[19].p.v,a[20].p.v,a[21].p.v),this.feFuncG.setAttribute("tableValues",s)),this.feFuncB&&(i||a[24].p._mdf||a[25].p._mdf||a[26].p._mdf||a[27].p._mdf||a[28].p._mdf)&&(s=this.getTableValue(a[24].p.v,a[25].p.v,a[26].p.v,a[27].p.v,a[28].p.v),this.feFuncB.setAttribute("tableValues",s)),this.feFuncA&&(i||a[31].p._mdf||a[32].p._mdf||a[33].p._mdf||a[34].p._mdf||a[35].p._mdf)&&(s=this.getTableValue(a[31].p.v,a[32].p.v,a[33].p.v,a[34].p.v,a[35].p.v),this.feFuncA.setAttribute("tableValues",s))}};function SVGDropShadowEffect(i,s,a,o,u){var P=s.container.globalData.renderConfig.filterSize,S=s.data.fs||P;i.setAttribute("x",S.x||P.x),i.setAttribute("y",S.y||P.y),i.setAttribute("width",S.width||P.width),i.setAttribute("height",S.height||P.height),this.filterManager=s;var C=createNS("feGaussianBlur");C.setAttribute("in","SourceAlpha"),C.setAttribute("result",o+"_drop_shadow_1"),C.setAttribute("stdDeviation","0"),this.feGaussianBlur=C,i.appendChild(C);var E=createNS("feOffset");E.setAttribute("dx","25"),E.setAttribute("dy","0"),E.setAttribute("in",o+"_drop_shadow_1"),E.setAttribute("result",o+"_drop_shadow_2"),this.feOffset=E,i.appendChild(E);var _=createNS("feFlood");_.setAttribute("flood-color","#00ff00"),_.setAttribute("flood-opacity","1"),_.setAttribute("result",o+"_drop_shadow_3"),this.feFlood=_,i.appendChild(_);var I=createNS("feComposite");I.setAttribute("in",o+"_drop_shadow_3"),I.setAttribute("in2",o+"_drop_shadow_2"),I.setAttribute("operator","in"),I.setAttribute("result",o+"_drop_shadow_4"),i.appendChild(I);var j=this.createMergeNode(o,[o+"_drop_shadow_4",u]);i.appendChild(j)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){if((i||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),i||this.filterManager.effectElements[0].p._mdf){var s=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(s[0]*255),Math.round(s[1]*255),Math.round(s[2]*255)))}if((i||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),i||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var a=this.filterManager.effectElements[3].p.v,o=(this.filterManager.effectElements[2].p.v-90)*degToRads,u=a*Math.cos(o),P=a*Math.sin(o);this.feOffset.setAttribute("dx",u),this.feOffset.setAttribute("dy",P)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(i,s,a){this.initialized=!1,this.filterManager=s,this.filterElem=i,this.elem=a,a.matteElement=createNS("g"),a.matteElement.appendChild(a.layerElement),a.matteElement.appendChild(a.transformedElement),a.baseElement=a.matteElement}SVGMatte3Effect.prototype.findSymbol=function(i){for(var s=0,a=_svgMatteSymbols.length;s<a;){if(_svgMatteSymbols[s]===i)return _svgMatteSymbols[s];s+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(i,s){var a=i.layerElement.parentNode;if(a){for(var o=a.children,u=0,P=o.length;u<P&&o[u]!==i.layerElement;)u+=1;var S;u<=P-2&&(S=o[u+1]);var C=createNS("use");C.setAttribute("href","#"+s),S?a.insertBefore(C,S):a.appendChild(C)}},SVGMatte3Effect.prototype.setElementAsMask=function(i,s){if(!this.findSymbol(s)){var a=createElementID(),o=createNS("mask");o.setAttribute("id",s.layerId),o.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(s);var u=i.globalData.defs;u.appendChild(o);var P=createNS("symbol");P.setAttribute("id",a),this.replaceInParent(s,a),P.appendChild(s.layerElement),u.appendChild(P);var S=createNS("use");S.setAttribute("href","#"+a),o.appendChild(S),s.data.hd=!1,s.show()}i.setMatte(s.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var i=this.filterManager.effectElements[0].p.v,s=this.elem.comp.elements,a=0,o=s.length;a<o;)s[a]&&s[a].data.ind===i&&this.setElementAsMask(this.elem,s[a]),a+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(i,s,a,o){i.setAttribute("x","-100%"),i.setAttribute("y","-100%"),i.setAttribute("width","300%"),i.setAttribute("height","300%"),this.filterManager=s;var u=createNS("feGaussianBlur");u.setAttribute("result",o),i.appendChild(u),this.feGaussianBlur=u}SVGGaussianBlurEffect.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s=.3,a=this.filterManager.effectElements[0].p.v*s,o=this.filterManager.effectElements[1].p.v,u=o==3?0:a,P=o==2?0:a;this.feGaussianBlur.setAttribute("stdDeviation",u+" "+P);var S=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",S)}};function TransformEffect(){}TransformEffect.prototype.init=function(i){this.effectsManager=i,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(i){if(this._opMdf=!1,this._mdf=!1,i||this.effectsManager._mdf){var s=this.effectsManager.effectElements,a=s[0].p.v,o=s[1].p.v,u=s[2].p.v===1,P=s[3].p.v,S=u?P:s[4].p.v,C=s[5].p.v,E=s[6].p.v,_=s[7].p.v;this.matrix.reset(),this.matrix.translate(-a[0],-a[1],a[2]),this.matrix.scale(S*.01,P*.01,1),this.matrix.rotate(-_*degToRads),this.matrix.skewFromAxis(-C*degToRads,(E+90)*degToRads),this.matrix.translate(o[0],o[1],0),this._mdf=!0,this.opacity!==s[8].p.v&&(this.opacity=s[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(i,s){this.init(s)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(i){this.init(i)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports);var react=function i(s,a){if(s===a)return!0;if(s&&a&&typeof s=="object"&&typeof a=="object"){if(s.constructor!==a.constructor)return!1;var o,u,P;if(Array.isArray(s)){if(o=s.length,o!=a.length)return!1;for(u=o;u--!==0;)if(!i(s[u],a[u]))return!1;return!0}if(s instanceof Map&&a instanceof Map){if(s.size!==a.size)return!1;for(u of s.entries())if(!a.has(u[0]))return!1;for(u of s.entries())if(!i(u[1],a.get(u[0])))return!1;return!0}if(s instanceof Set&&a instanceof Set){if(s.size!==a.size)return!1;for(u of s.entries())if(!a.has(u[0]))return!1;return!0}if(ArrayBuffer.isView(s)&&ArrayBuffer.isView(a)){if(o=s.length,o!=a.length)return!1;for(u=o;u--!==0;)if(s[u]!==a[u])return!1;return!0}if(s.constructor===RegExp)return s.source===a.source&&s.flags===a.flags;if(s.valueOf!==Object.prototype.valueOf)return s.valueOf()===a.valueOf();if(s.toString!==Object.prototype.toString)return s.toString()===a.toString();if(P=Object.keys(s),o=P.length,o!==Object.keys(a).length)return!1;for(u=o;u--!==0;)if(!Object.prototype.hasOwnProperty.call(a,P[u]))return!1;for(u=o;u--!==0;){var S=P[u];if(!(S==="_owner"&&s.$$typeof)&&!i(s[S],a[S]))return!1}return!0}return s!==s&&a!==a};const equal=getDefaultExportFromCjs(react);var rfdc_1=rfdc;function copyBuffer(i){return i instanceof Buffer?Buffer.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function rfdc(i){if(i=i||{},i.circles)return rfdcCircles(i);const s=new Map;if(s.set(Date,S=>new Date(S)),s.set(Map,(S,C)=>new Map(o(Array.from(S),C))),s.set(Set,(S,C)=>new Set(o(Array.from(S),C))),i.constructorHandlers)for(const S of i.constructorHandlers)s.set(S[0],S[1]);let a=null;return i.proto?P:u;function o(S,C){const E=Object.keys(S),_=new Array(E.length);for(let I=0;I<E.length;I++){const j=E[I],T=S[j];typeof T!="object"||T===null?_[j]=T:T.constructor!==Object&&(a=s.get(T.constructor))?_[j]=a(T,C):ArrayBuffer.isView(T)?_[j]=copyBuffer(T):_[j]=C(T)}return _}function u(S){if(typeof S!="object"||S===null)return S;if(Array.isArray(S))return o(S,u);if(S.constructor!==Object&&(a=s.get(S.constructor)))return a(S,u);const C={};for(const E in S){if(Object.hasOwnProperty.call(S,E)===!1)continue;const _=S[E];typeof _!="object"||_===null?C[E]=_:_.constructor!==Object&&(a=s.get(_.constructor))?C[E]=a(_,u):ArrayBuffer.isView(_)?C[E]=copyBuffer(_):C[E]=u(_)}return C}function P(S){if(typeof S!="object"||S===null)return S;if(Array.isArray(S))return o(S,P);if(S.constructor!==Object&&(a=s.get(S.constructor)))return a(S,P);const C={};for(const E in S){const _=S[E];typeof _!="object"||_===null?C[E]=_:_.constructor!==Object&&(a=s.get(_.constructor))?C[E]=a(_,P):ArrayBuffer.isView(_)?C[E]=copyBuffer(_):C[E]=P(_)}return C}}function rfdcCircles(i){const s=[],a=[],o=new Map;if(o.set(Date,E=>new Date(E)),o.set(Map,(E,_)=>new Map(P(Array.from(E),_))),o.set(Set,(E,_)=>new Set(P(Array.from(E),_))),i.constructorHandlers)for(const E of i.constructorHandlers)o.set(E[0],E[1]);let u=null;return i.proto?C:S;function P(E,_){const I=Object.keys(E),j=new Array(I.length);for(let T=0;T<I.length;T++){const O=I[T],D=E[O];if(typeof D!="object"||D===null)j[O]=D;else if(D.constructor!==Object&&(u=o.get(D.constructor)))j[O]=u(D,_);else if(ArrayBuffer.isView(D))j[O]=copyBuffer(D);else{const L=s.indexOf(D);L!==-1?j[O]=a[L]:j[O]=_(D)}}return j}function S(E){if(typeof E!="object"||E===null)return E;if(Array.isArray(E))return P(E,S);if(E.constructor!==Object&&(u=o.get(E.constructor)))return u(E,S);const _={};s.push(E),a.push(_);for(const I in E){if(Object.hasOwnProperty.call(E,I)===!1)continue;const j=E[I];if(typeof j!="object"||j===null)_[I]=j;else if(j.constructor!==Object&&(u=o.get(j.constructor)))_[I]=u(j,S);else if(ArrayBuffer.isView(j))_[I]=copyBuffer(j);else{const T=s.indexOf(j);T!==-1?_[I]=a[T]:_[I]=S(j)}}return s.pop(),a.pop(),_}function C(E){if(typeof E!="object"||E===null)return E;if(Array.isArray(E))return P(E,C);if(E.constructor!==Object&&(u=o.get(E.constructor)))return u(E,C);const _={};s.push(E),a.push(_);for(const I in E){const j=E[I];if(typeof j!="object"||j===null)_[I]=j;else if(j.constructor!==Object&&(u=o.get(j.constructor)))_[I]=u(j,C);else if(ArrayBuffer.isView(j))_[I]=copyBuffer(j);else{const T=s.indexOf(j);T!==-1?_[I]=a[T]:_[I]=C(j)}}return s.pop(),a.pop(),_}}var _default=rfdc_1();const clone=getDefaultExportFromCjs(_default);function _extends(){return _extends=Object.assign||function(i){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])}return i},_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(i,s){if(i==null)return{};var a={},o=Object.keys(i),u,P;for(P=0;P<o.length;P++)u=o[P],!(s.indexOf(u)>=0)&&(a[u]=i[u]);return a}function createCommonjsModule(i,s){return s={exports:{}},i(s,s.exports),s.exports}/** @license React v16.13.1
637
+ */var Matrix=function(){var i=Math.cos,s=Math.sin,a=Math.tan,o=Math.round;function u(){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}function S(B){if(B===0)return this;var G=i(B),U=s(B);return this._t(G,-U,0,0,U,G,0,0,0,0,1,0,0,0,0,1)}function P(B){if(B===0)return this;var G=i(B),U=s(B);return this._t(1,0,0,0,0,G,-U,0,0,U,G,0,0,0,0,1)}function C(B){if(B===0)return this;var G=i(B),U=s(B);return this._t(G,0,U,0,0,1,0,0,-U,0,G,0,0,0,0,1)}function E(B){if(B===0)return this;var G=i(B),U=s(B);return this._t(G,-U,0,0,U,G,0,0,0,0,1,0,0,0,0,1)}function _(B,G){return this._t(1,G,B,1,0,0)}function I(B,G){return this.shear(a(B),a(G))}function j(B,G){var U=i(G),Z=s(G);return this._t(U,Z,0,0,-Z,U,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,a(B),1,0,0,0,0,1,0,0,0,0,1)._t(U,-Z,0,0,Z,U,0,0,0,0,1,0,0,0,0,1)}function T(B,G,U){return!U&&U!==0&&(U=1),B===1&&G===1&&U===1?this:this._t(B,0,0,0,0,G,0,0,0,0,U,0,0,0,0,1)}function O(B,G,U,Z,ie,le,he,fe,oe,me,ce,Se,ve,ue,ge,pe){return this.props[0]=B,this.props[1]=G,this.props[2]=U,this.props[3]=Z,this.props[4]=ie,this.props[5]=le,this.props[6]=he,this.props[7]=fe,this.props[8]=oe,this.props[9]=me,this.props[10]=ce,this.props[11]=Se,this.props[12]=ve,this.props[13]=ue,this.props[14]=ge,this.props[15]=pe,this}function D(B,G,U){return U=U||0,B!==0||G!==0||U!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,B,G,U,1):this}function L(B,G,U,Z,ie,le,he,fe,oe,me,ce,Se,ve,ue,ge,pe){var ae=this.props;if(B===1&&G===0&&U===0&&Z===0&&ie===0&&le===1&&he===0&&fe===0&&oe===0&&me===0&&ce===1&&Se===0)return ae[12]=ae[12]*B+ae[15]*ve,ae[13]=ae[13]*le+ae[15]*ue,ae[14]=ae[14]*ce+ae[15]*ge,ae[15]*=pe,this._identityCalculated=!1,this;var Ce=ae[0],Ee=ae[1],Pe=ae[2],de=ae[3],xe=ae[4],be=ae[5],ye=ae[6],Ae=ae[7],ke=ae[8],_e=ae[9],Me=ae[10],Te=ae[11],we=ae[12],Fe=ae[13],Ie=ae[14],Re=ae[15];return ae[0]=Ce*B+Ee*ie+Pe*oe+de*ve,ae[1]=Ce*G+Ee*le+Pe*me+de*ue,ae[2]=Ce*U+Ee*he+Pe*ce+de*ge,ae[3]=Ce*Z+Ee*fe+Pe*Se+de*pe,ae[4]=xe*B+be*ie+ye*oe+Ae*ve,ae[5]=xe*G+be*le+ye*me+Ae*ue,ae[6]=xe*U+be*he+ye*ce+Ae*ge,ae[7]=xe*Z+be*fe+ye*Se+Ae*pe,ae[8]=ke*B+_e*ie+Me*oe+Te*ve,ae[9]=ke*G+_e*le+Me*me+Te*ue,ae[10]=ke*U+_e*he+Me*ce+Te*ge,ae[11]=ke*Z+_e*fe+Me*Se+Te*pe,ae[12]=we*B+Fe*ie+Ie*oe+Re*ve,ae[13]=we*G+Fe*le+Ie*me+Re*ue,ae[14]=we*U+Fe*he+Ie*ce+Re*ge,ae[15]=we*Z+Fe*fe+Ie*Se+Re*pe,this._identityCalculated=!1,this}function H(B){var G=B.props;return this.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])}function F(){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),this._identityCalculated=!0),this._identity}function R(B){for(var G=0;G<16;){if(B.props[G]!==this.props[G])return!1;G+=1}return!0}function M(B){var G;for(G=0;G<16;G+=1)B.props[G]=this.props[G];return B}function V(B){var G;for(G=0;G<16;G+=1)this.props[G]=B[G]}function N(B,G,U){return{x:B*this.props[0]+G*this.props[4]+U*this.props[8]+this.props[12],y:B*this.props[1]+G*this.props[5]+U*this.props[9]+this.props[13],z:B*this.props[2]+G*this.props[6]+U*this.props[10]+this.props[14]}}function W(B,G,U){return B*this.props[0]+G*this.props[4]+U*this.props[8]+this.props[12]}function X(B,G,U){return B*this.props[1]+G*this.props[5]+U*this.props[9]+this.props[13]}function Y(B,G,U){return B*this.props[2]+G*this.props[6]+U*this.props[10]+this.props[14]}function J(){var B=this.props[0]*this.props[5]-this.props[1]*this.props[4],G=this.props[5]/B,U=-this.props[1]/B,Z=-this.props[4]/B,ie=this.props[0]/B,le=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/B,he=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/B,fe=new Matrix;return fe.props[0]=G,fe.props[1]=U,fe.props[4]=Z,fe.props[5]=ie,fe.props[12]=le,fe.props[13]=he,fe}function re(B){var G=this.getInverseMatrix();return G.applyToPointArray(B[0],B[1],B[2]||0)}function te(B){var G,U=B.length,Z=[];for(G=0;G<U;G+=1)Z[G]=re(B[G]);return Z}function ee(B,G,U){var Z=createTypedArray("float32",6);if(this.isIdentity())Z[0]=B[0],Z[1]=B[1],Z[2]=G[0],Z[3]=G[1],Z[4]=U[0],Z[5]=U[1];else{var ie=this.props[0],le=this.props[1],he=this.props[4],fe=this.props[5],oe=this.props[12],me=this.props[13];Z[0]=B[0]*ie+B[1]*he+oe,Z[1]=B[0]*le+B[1]*fe+me,Z[2]=G[0]*ie+G[1]*he+oe,Z[3]=G[0]*le+G[1]*fe+me,Z[4]=U[0]*ie+U[1]*he+oe,Z[5]=U[0]*le+U[1]*fe+me}return Z}function se(B,G,U){var Z;return this.isIdentity()?Z=[B,G,U]:Z=[B*this.props[0]+G*this.props[4]+U*this.props[8]+this.props[12],B*this.props[1]+G*this.props[5]+U*this.props[9]+this.props[13],B*this.props[2]+G*this.props[6]+U*this.props[10]+this.props[14]],Z}function ne(B,G){if(this.isIdentity())return B+","+G;var U=this.props;return Math.round((B*U[0]+G*U[4]+U[12])*100)/100+","+Math.round((B*U[1]+G*U[5]+U[13])*100)/100}function Q(){for(var B=0,G=this.props,U="matrix3d(",Z=1e4;B<16;)U+=o(G[B]*Z)/Z,U+=B===15?")":",",B+=1;return U}function $(B){var G=1e4;return B<1e-6&&B>0||B>-1e-6&&B<0?o(B*G)/G:B}function K(){var B=this.props,G=$(B[0]),U=$(B[1]),Z=$(B[4]),ie=$(B[5]),le=$(B[12]),he=$(B[13]);return"matrix("+G+","+U+","+Z+","+ie+","+le+","+he+")"}return function(){this.reset=u,this.rotate=S,this.rotateX=P,this.rotateY=C,this.rotateZ=E,this.skew=I,this.skewFromAxis=j,this.shear=_,this.scale=T,this.setTransform=O,this.translate=D,this.transform=L,this.multiply=H,this.applyToPoint=N,this.applyToX=W,this.applyToY=X,this.applyToZ=Y,this.applyToPointArray=se,this.applyToTriplePoints=ee,this.applyToPointStringified=ne,this.toCSS=Q,this.to2dCSS=K,this.clone=M,this.cloneFromProps=V,this.equals=R,this.inversePoints=te,this.inversePoint=re,this.getInverseMatrix=J,this._t=this.transform,this.isIdentity=F,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(a){return typeof a}:_typeof$3=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$3(i)}var lottie={};function setLocation(i){setLocationHref(i)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(i){setSubframeEnabled(i)}function setPrefix(i){setIdPrefix(i)}function loadAnimation(i){return animationManager.loadAnimation(i)}function setQuality(i){if(typeof i=="string")switch(i){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(i)&&i>1&&setDefaultCurveSegments(i)}function inBrowser(){return typeof navigator<"u"}function installPlugin(i,s){i==="expressions"&&setExpressionsPlugin(s)}function getFactory(i){switch(i){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(i){for(var s=queryString.split("&"),a=0;a<s.length;a+=1){var o=s[a].split("=");if(decodeURIComponent(o[0])==i)return decodeURIComponent(o[1])}return null}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(i){}var ShapeModifiers=function(){var i={},s={};i.registerModifier=a,i.getModifier=o;function a(u,S){s[u]||(s[u]=S)}function o(u,S,P){return new s[u](S,P)}return i}();function ShapeModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(i){if(!this.closed){i.sh.container.addDynamicProperty(i.sh);var s={shape:i.sh,data:i,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(s),this.addShapeToModifier(s),this._isAnimated&&i.setAsAnimated()}},ShapeModifier.prototype.init=function(i,s){this.shapes=[],this.elem=i,this.initDynamicPropertyContainer(i),this.initModifierProperties(i,s),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier);function TrimModifier(){}extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(i,s){this.s=PropertyFactory.getProp(i,s.s,0,.01,this),this.e=PropertyFactory.getProp(i,s.e,0,.01,this),this.o=PropertyFactory.getProp(i,s.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=s.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(i){i.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(i,s,a,o,u){var S=[];s<=1?S.push({s:i,e:s}):i>=1?S.push({s:i-1,e:s-1}):(S.push({s:i,e:1}),S.push({s:0,e:s-1}));var P=[],C,E=S.length,_;for(C=0;C<E;C+=1)if(_=S[C],!(_.e*u<o||_.s*u>o+a)){var I,j;_.s*u<=o?I=0:I=(_.s*u-o)/a,_.e*u>=o+a?j=1:j=(_.e*u-o)/a,P.push([I,j])}return P.length||P.push([0,0]),P},TrimModifier.prototype.releasePathsData=function(i){var s,a=i.length;for(s=0;s<a;s+=1)segmentsLengthPool.release(i[s]);return i.length=0,i},TrimModifier.prototype.processShapes=function(i){var s,a;if(this._mdf||i){var o=this.o.v%360/360;if(o<0&&(o+=1),this.s.v>1?s=1+o:this.s.v<0?s=0+o:s=this.s.v+o,this.e.v>1?a=1+o:this.e.v<0?a=0+o:a=this.e.v+o,s>a){var u=s;s=a,a=u}s=Math.round(s*1e4)*1e-4,a=Math.round(a*1e4)*1e-4,this.sValue=s,this.eValue=a}else s=this.sValue,a=this.eValue;var S,P,C=this.shapes.length,E,_,I,j,T,O=0;if(a===s)for(P=0;P<C;P+=1)this.shapes[P].localShapeCollection.releaseShapes(),this.shapes[P].shape._mdf=!0,this.shapes[P].shape.paths=this.shapes[P].localShapeCollection,this._mdf&&(this.shapes[P].pathsData.length=0);else if(a===1&&s===0||a===0&&s===1){if(this._mdf)for(P=0;P<C;P+=1)this.shapes[P].pathsData.length=0,this.shapes[P].shape._mdf=!0}else{var D=[],L,H;for(P=0;P<C;P+=1)if(L=this.shapes[P],!L.shape._mdf&&!this._mdf&&!i&&this.m!==2)L.shape.paths=L.localShapeCollection;else{if(S=L.shape.paths,_=S._length,T=0,!L.shape._mdf&&L.pathsData.length)T=L.totalShapeLength;else{for(I=this.releasePathsData(L.pathsData),E=0;E<_;E+=1)j=bez.getSegmentsLength(S.shapes[E]),I.push(j),T+=j.totalLength;L.totalShapeLength=T,L.pathsData=I}O+=T,L.shape._mdf=!0}var F=s,R=a,M=0,V;for(P=C-1;P>=0;P-=1)if(L=this.shapes[P],L.shape._mdf){for(H=L.localShapeCollection,H.releaseShapes(),this.m===2&&C>1?(V=this.calculateShapeEdges(s,a,L.totalShapeLength,M,O),M+=L.totalShapeLength):V=[[F,R]],_=V.length,E=0;E<_;E+=1){F=V[E][0],R=V[E][1],D.length=0,R<=1?D.push({s:L.totalShapeLength*F,e:L.totalShapeLength*R}):F>=1?D.push({s:L.totalShapeLength*(F-1),e:L.totalShapeLength*(R-1)}):(D.push({s:L.totalShapeLength*F,e:L.totalShapeLength}),D.push({s:0,e:L.totalShapeLength*(R-1)}));var N=this.addShapes(L,D[0]);if(D[0].s!==D[0].e){if(D.length>1){var W=L.shape.paths.shapes[L.shape.paths._length-1];if(W.c){var X=N.pop();this.addPaths(N,H),N=this.addShapes(L,D[1],X)}else this.addPaths(N,H),N=this.addShapes(L,D[1])}this.addPaths(N,H)}}L.shape.paths=H}}},TrimModifier.prototype.addPaths=function(i,s){var a,o=i.length;for(a=0;a<o;a+=1)s.addShape(i[a])},TrimModifier.prototype.addSegment=function(i,s,a,o,u,S,P){u.setXYAt(s[0],s[1],"o",S),u.setXYAt(a[0],a[1],"i",S+1),P&&u.setXYAt(i[0],i[1],"v",S),u.setXYAt(o[0],o[1],"v",S+1)},TrimModifier.prototype.addSegmentFromArray=function(i,s,a,o){s.setXYAt(i[1],i[5],"o",a),s.setXYAt(i[2],i[6],"i",a+1),o&&s.setXYAt(i[0],i[4],"v",a),s.setXYAt(i[3],i[7],"v",a+1)},TrimModifier.prototype.addShapes=function(i,s,a){var o=i.pathsData,u=i.shape.paths.shapes,S,P=i.shape.paths._length,C,E,_=0,I,j,T,O,D=[],L,H=!0;for(a?(j=a._length,L=a._length):(a=shapePool.newElement(),j=0,L=0),D.push(a),S=0;S<P;S+=1){for(T=o[S].lengths,a.c=u[S].c,E=u[S].c?T.length:T.length+1,C=1;C<E;C+=1)if(I=T[C-1],_+I.addedLength<s.s)_+=I.addedLength,a.c=!1;else if(_>s.e){a.c=!1;break}else s.s<=_&&s.e>=_+I.addedLength?(this.addSegment(u[S].v[C-1],u[S].o[C-1],u[S].i[C],u[S].v[C],a,j,H),H=!1):(O=bez.getNewSegment(u[S].v[C-1],u[S].v[C],u[S].o[C-1],u[S].i[C],(s.s-_)/I.addedLength,(s.e-_)/I.addedLength,T[C-1]),this.addSegmentFromArray(O,a,j,H),H=!1,a.c=!1),_+=I.addedLength,j+=1;if(u[S].c&&T.length){if(I=T[C-1],_<=s.e){var F=T[C-1].addedLength;s.s<=_&&s.e>=_+F?(this.addSegment(u[S].v[C-1],u[S].o[C-1],u[S].i[0],u[S].v[0],a,j,H),H=!1):(O=bez.getNewSegment(u[S].v[C-1],u[S].v[0],u[S].o[C-1],u[S].i[0],(s.s-_)/F,(s.e-_)/F,T[C-1]),this.addSegmentFromArray(O,a,j,H),H=!1,a.c=!1)}else a.c=!1;_+=I.addedLength,j+=1}if(a._length&&(a.setXYAt(a.v[L][0],a.v[L][1],"i",L),a.setXYAt(a.v[a._length-1][0],a.v[a._length-1][1],"o",a._length-1)),_>s.e)break;S<P-1&&(a=shapePool.newElement(),H=!0,D.push(a),j=0)}return D};function PuckerAndBloatModifier(){}extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(i,s.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(i,s){var a=s/100,o=[0,0],u=i._length,S=0;for(S=0;S<u;S+=1)o[0]+=i.v[S][0],o[1]+=i.v[S][1];o[0]/=u,o[1]/=u;var P=shapePool.newElement();P.c=i.c;var C,E,_,I,j,T;for(S=0;S<u;S+=1)C=i.v[S][0]+(o[0]-i.v[S][0])*a,E=i.v[S][1]+(o[1]-i.v[S][1])*a,_=i.o[S][0]+(o[0]-i.o[S][0])*-a,I=i.o[S][1]+(o[1]-i.o[S][1])*-a,j=i.i[S][0]+(o[0]-i.i[S][0])*-a,T=i.i[S][1]+(o[1]-i.i[S][1])*-a,P.setTripleAt(C,E,_,I,j,T,S);return P},PuckerAndBloatModifier.prototype.processShapes=function(i){var s,a,o=this.shapes.length,u,S,P=this.amount.v;if(P!==0){var C,E;for(a=0;a<o;a+=1){if(C=this.shapes[a],E=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!i))for(E.releaseShapes(),C.shape._mdf=!0,s=C.shape.paths.shapes,S=C.shape.paths._length,u=0;u<S;u+=1)E.addShape(this.processPath(s[u],P));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var i=[0,0];function s(E){var _=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||_,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])}function a(E){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||E){var _;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){var I,j;if(_=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(I=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/_,0),j=this.p.getValueAtTime(this.p.keyframes[0].t/_,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(I=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/_,0),j=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/_,0)):(I=this.p.pv,j=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/_,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){I=[],j=[];var T=this.px,O=this.py;T._caching.lastFrame+T.offsetTime<=T.keyframes[0].t?(I[0]=T.getValueAtTime((T.keyframes[0].t+.01)/_,0),I[1]=O.getValueAtTime((O.keyframes[0].t+.01)/_,0),j[0]=T.getValueAtTime(T.keyframes[0].t/_,0),j[1]=O.getValueAtTime(O.keyframes[0].t/_,0)):T._caching.lastFrame+T.offsetTime>=T.keyframes[T.keyframes.length-1].t?(I[0]=T.getValueAtTime(T.keyframes[T.keyframes.length-1].t/_,0),I[1]=O.getValueAtTime(O.keyframes[O.keyframes.length-1].t/_,0),j[0]=T.getValueAtTime((T.keyframes[T.keyframes.length-1].t-.01)/_,0),j[1]=O.getValueAtTime((O.keyframes[O.keyframes.length-1].t-.01)/_,0)):(I=[T.pv,O.pv],j[0]=T.getValueAtTime((T._caching.lastFrame+T.offsetTime-.01)/_,T.offsetTime),j[1]=O.getValueAtTime((O._caching.lastFrame+O.offsetTime-.01)/_,O.offsetTime))}else j=i,I=j;this.v.rotate(-Math.atan2(I[1]-j[1],I[0]-j[0]))}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])}this.frameId=this.elem.globalData.frameId}}function o(){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;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;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)}function u(){}function S(E){this._addDynamicProperty(E),this.elem.addDynamicProperty(E),this._isDirty=!0}function P(E,_,I){if(this.elem=E,this.frameId=-1,this.propType="transform",this.data=_,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(I||E),_.p&&_.p.s?(this.px=PropertyFactory.getProp(E,_.p.x,0,0,this),this.py=PropertyFactory.getProp(E,_.p.y,0,0,this),_.p.z&&(this.pz=PropertyFactory.getProp(E,_.p.z,0,0,this))):this.p=PropertyFactory.getProp(E,_.p||{k:[0,0,0]},1,0,this),_.rx){if(this.rx=PropertyFactory.getProp(E,_.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(E,_.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(E,_.rz,0,degToRads,this),_.or.k[0].ti){var j,T=_.or.k.length;for(j=0;j<T;j+=1)_.or.k[j].to=null,_.or.k[j].ti=null}this.or=PropertyFactory.getProp(E,_.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(E,_.r||{k:0},0,degToRads,this);_.sk&&(this.sk=PropertyFactory.getProp(E,_.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(E,_.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(E,_.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(E,_.s||{k:[100,100,100]},1,.01,this),_.o?this.o=PropertyFactory.getProp(E,_.o,0,.01,E):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}P.prototype={applyToMatrix:s,getValue:a,precalculateMatrix:o,autoOrient:u},extendPrototype([DynamicPropertyContainer],P),P.prototype.addDynamicProperty=S,P.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function C(E,_,I){return new P(E,_,I)}return{getTransformProperty:C}}();function RepeaterModifier(){}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(i,s.c,0,null,this),this.o=PropertyFactory.getProp(i,s.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(i,s.tr,this),this.so=PropertyFactory.getProp(i,s.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(i,s.tr.eo,0,.01,this),this.data=s,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(i,s,a,o,u,S){var P=S?-1:1,C=o.s.v[0]+(1-o.s.v[0])*(1-u),E=o.s.v[1]+(1-o.s.v[1])*(1-u);i.translate(o.p.v[0]*P*u,o.p.v[1]*P*u,o.p.v[2]),s.translate(-o.a.v[0],-o.a.v[1],o.a.v[2]),s.rotate(-o.r.v*P*u),s.translate(o.a.v[0],o.a.v[1],o.a.v[2]),a.translate(-o.a.v[0],-o.a.v[1],o.a.v[2]),a.scale(S?1/C:C,S?1/E:E),a.translate(o.a.v[0],o.a.v[1],o.a.v[2])},RepeaterModifier.prototype.init=function(i,s,a,o){for(this.elem=i,this.arr=s,this.pos=a,this.elemsData=o,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(i),this.initModifierProperties(i,s[a]);a>0;)a-=1,this._elements.unshift(s[a]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(i){var s,a=i.length;for(s=0;s<a;s+=1)i[s]._processed=!1,i[s].ty==="gr"&&this.resetElements(i[s].it)},RepeaterModifier.prototype.cloneElements=function(i){var s=JSON.parse(JSON.stringify(i));return this.resetElements(s),s},RepeaterModifier.prototype.changeGroupRender=function(i,s){var a,o=i.length;for(a=0;a<o;a+=1)i[a]._render=s,i[a].ty==="gr"&&this.changeGroupRender(i[a].it,s)},RepeaterModifier.prototype.processShapes=function(i){var s,a,o,u,S,P=!1;if(this._mdf||i){var C=Math.ceil(this.c.v);if(this._groups.length<C){for(;this._groups.length<C;){var E={it:this.cloneElements(this._elements),ty:"gr"};E.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,E),this._groups.splice(0,0,E),this._currentCopies+=1}this.elem.reloadShapes(),P=!0}S=0;var _;for(o=0;o<=this._groups.length-1;o+=1){if(_=S<C,this._groups[o]._render=_,this.changeGroupRender(this._groups[o].it,_),!_){var I=this.elemsData[o].it,j=I[I.length-1];j.transform.op.v!==0?(j.transform.op._mdf=!0,j.transform.op.v=0):j.transform.op._mdf=!1}S+=1}this._currentCopies=C;var T=this.o.v,O=T%1,D=T>0?Math.floor(T):Math.ceil(T),L=this.pMatrix.props,H=this.rMatrix.props,F=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var R=0;if(T>0){for(;R<D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),R+=1;O&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,O,!1),R+=O)}else if(T<0){for(;R>D;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),R-=1;O&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-O,!0),R-=O)}o=this.data.m===1?0:this._currentCopies-1,u=this.data.m===1?1:-1,S=this._currentCopies;for(var M,V;S;){if(s=this.elemsData[o].it,a=s[s.length-1].transform.mProps.v.props,V=a.length,s[s.length-1].transform.mProps._mdf=!0,s[s.length-1].transform.op._mdf=!0,s[s.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(o/(this._currentCopies-1)),R!==0){for((o!==0&&u===1||o!==this._currentCopies-1&&u===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),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]),this.matrix.transform(F[0],F[1],F[2],F[3],F[4],F[5],F[6],F[7],F[8],F[9],F[10],F[11],F[12],F[13],F[14],F[15]),this.matrix.transform(L[0],L[1],L[2],L[3],L[4],L[5],L[6],L[7],L[8],L[9],L[10],L[11],L[12],L[13],L[14],L[15]),M=0;M<V;M+=1)a[M]=this.matrix.props[M];this.matrix.reset()}else for(this.matrix.reset(),M=0;M<V;M+=1)a[M]=this.matrix.props[M];R+=1,S-=1,o+=u}}else for(S=this._currentCopies,o=0,u=1;S;)s=this.elemsData[o].it,a=s[s.length-1].transform.mProps.v.props,s[s.length-1].transform.mProps._mdf=!1,s[s.length-1].transform.op._mdf=!1,S-=1,o+=u;return P},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(i,s.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(i,s){var a=shapePool.newElement();a.c=i.c;var o,u=i._length,S,P,C,E,_,I,j=0,T,O,D,L,H,F;for(o=0;o<u;o+=1)S=i.v[o],C=i.o[o],P=i.i[o],S[0]===C[0]&&S[1]===C[1]&&S[0]===P[0]&&S[1]===P[1]?(o===0||o===u-1)&&!i.c?(a.setTripleAt(S[0],S[1],C[0],C[1],P[0],P[1],j),j+=1):(o===0?E=i.v[u-1]:E=i.v[o-1],_=Math.sqrt(Math.pow(S[0]-E[0],2)+Math.pow(S[1]-E[1],2)),I=_?Math.min(_/2,s)/_:0,H=S[0]+(E[0]-S[0])*I,T=H,F=S[1]-(S[1]-E[1])*I,O=F,D=T-(T-S[0])*roundCorner,L=O-(O-S[1])*roundCorner,a.setTripleAt(T,O,D,L,H,F,j),j+=1,o===u-1?E=i.v[0]:E=i.v[o+1],_=Math.sqrt(Math.pow(S[0]-E[0],2)+Math.pow(S[1]-E[1],2)),I=_?Math.min(_/2,s)/_:0,D=S[0]+(E[0]-S[0])*I,T=D,L=S[1]+(E[1]-S[1])*I,O=L,H=T-(T-S[0])*roundCorner,F=O-(O-S[1])*roundCorner,a.setTripleAt(T,O,D,L,H,F,j),j+=1):(a.setTripleAt(i.v[o][0],i.v[o][1],i.o[o][0],i.o[o][1],i.i[o][0],i.i[o][1],j),j+=1);return a},RoundCornersModifier.prototype.processShapes=function(i){var s,a,o=this.shapes.length,u,S,P=this.rd.v;if(P!==0){var C,E;for(a=0;a<o;a+=1){if(C=this.shapes[a],E=C.localShapeCollection,!(!C.shape._mdf&&!this._mdf&&!i))for(E.releaseShapes(),C.shape._mdf=!0,s=C.shape.paths.shapes,S=C.shape.paths._length,u=0;u<S;u+=1)E.addShape(this.processPath(s[u],P));C.shape.paths=C.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(i,s){return Math.abs(i-s)*1e5<=Math.min(Math.abs(i),Math.abs(s))}function floatZero(i){return Math.abs(i)<=1e-5}function lerp(i,s,a){return i*(1-a)+s*a}function lerpPoint(i,s,a){return[lerp(i[0],s[0],a),lerp(i[1],s[1],a)]}function quadRoots(i,s,a){if(i===0)return[];var o=s*s-4*i*a;if(o<0)return[];var u=-s/(2*i);if(o===0)return[u];var S=Math.sqrt(o)/(2*i);return[u-S,u+S]}function polynomialCoefficients(i,s,a,o){return[-i+3*s-3*a+o,3*i-6*s+3*a,-3*i+3*s,i]}function singlePoint(i){return new PolynomialBezier(i,i,i,i,!1)}function PolynomialBezier(i,s,a,o,u){u&&pointEqual(i,s)&&(s=lerpPoint(i,o,1/3)),u&&pointEqual(a,o)&&(a=lerpPoint(i,o,2/3));var S=polynomialCoefficients(i[0],s[0],a[0],o[0]),P=polynomialCoefficients(i[1],s[1],a[1],o[1]);this.a=[S[0],P[0]],this.b=[S[1],P[1]],this.c=[S[2],P[2]],this.d=[S[3],P[3]],this.points=[i,s,a,o]}PolynomialBezier.prototype.point=function(i){return[((this.a[0]*i+this.b[0])*i+this.c[0])*i+this.d[0],((this.a[1]*i+this.b[1])*i+this.c[1])*i+this.d[1]]},PolynomialBezier.prototype.derivative=function(i){return[(3*i*this.a[0]+2*this.b[0])*i+this.c[0],(3*i*this.a[1]+2*this.b[1])*i+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(i){var s=this.derivative(i);return Math.atan2(s[1],s[0])},PolynomialBezier.prototype.normalAngle=function(i){var s=this.derivative(i);return Math.atan2(s[0],s[1])},PolynomialBezier.prototype.inflectionPoints=function(){var i=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(i))return[];var s=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/i,a=s*s-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/i;if(a<0)return[];var o=Math.sqrt(a);return floatZero(o)?o>0&&o<1?[s]:[]:[s-o,s+o].filter(function(u){return u>0&&u<1})},PolynomialBezier.prototype.split=function(i){if(i<=0)return[singlePoint(this.points[0]),this];if(i>=1)return[this,singlePoint(this.points[this.points.length-1])];var s=lerpPoint(this.points[0],this.points[1],i),a=lerpPoint(this.points[1],this.points[2],i),o=lerpPoint(this.points[2],this.points[3],i),u=lerpPoint(s,a,i),S=lerpPoint(a,o,i),P=lerpPoint(u,S,i);return[new PolynomialBezier(this.points[0],s,u,P,!0),new PolynomialBezier(P,S,o,this.points[3],!0)]};function extrema(i,s){var a=i.points[0][s],o=i.points[i.points.length-1][s];if(a>o){var u=o;o=a,a=u}for(var S=quadRoots(3*i.a[s],2*i.b[s],i.c[s]),P=0;P<S.length;P+=1)if(S[P]>0&&S[P]<1){var C=i.point(S[P])[s];C<a?a=C:C>o&&(o=C)}return{min:a,max:o}}PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var i=this.bounds();return{left:i.x.min,right:i.x.max,top:i.y.min,bottom:i.y.max,width:i.x.max-i.x.min,height:i.y.max-i.y.min,cx:(i.x.max+i.x.min)/2,cy:(i.y.max+i.y.min)/2}};function intersectData(i,s,a){var o=i.boundingBox();return{cx:o.cx,cy:o.cy,width:o.width,height:o.height,bez:i,t:(s+a)/2,t1:s,t2:a}}function splitData(i){var s=i.bez.split(.5);return[intersectData(s[0],i.t1,i.t),intersectData(s[1],i.t,i.t2)]}function boxIntersect(i,s){return Math.abs(i.cx-s.cx)*2<i.width+s.width&&Math.abs(i.cy-s.cy)*2<i.height+s.height}function intersectsImpl(i,s,a,o,u,S){if(boxIntersect(i,s)){if(a>=S||i.width<=o&&i.height<=o&&s.width<=o&&s.height<=o){u.push([i.t,s.t]);return}var P=splitData(i),C=splitData(s);intersectsImpl(P[0],C[0],a+1,o,u,S),intersectsImpl(P[0],C[1],a+1,o,u,S),intersectsImpl(P[1],C[0],a+1,o,u,S),intersectsImpl(P[1],C[1],a+1,o,u,S)}}PolynomialBezier.prototype.intersections=function(i,s,a){s===void 0&&(s=2),a===void 0&&(a=7);var o=[];return intersectsImpl(intersectData(this,0,1),intersectData(i,0,1),0,s,o,a),o},PolynomialBezier.shapeSegment=function(i,s){var a=(s+1)%i.length();return new PolynomialBezier(i.v[s],i.o[s],i.i[a],i.v[a],!0)},PolynomialBezier.shapeSegmentInverted=function(i,s){var a=(s+1)%i.length();return new PolynomialBezier(i.v[a],i.i[a],i.o[s],i.v[s],!0)};function crossProduct(i,s){return[i[1]*s[2]-i[2]*s[1],i[2]*s[0]-i[0]*s[2],i[0]*s[1]-i[1]*s[0]]}function lineIntersection(i,s,a,o){var u=[i[0],i[1],1],S=[s[0],s[1],1],P=[a[0],a[1],1],C=[o[0],o[1],1],E=crossProduct(crossProduct(u,S),crossProduct(P,C));return floatZero(E[2])?null:[E[0]/E[2],E[1]/E[2]]}function polarOffset(i,s,a){return[i[0]+Math.cos(s)*a,i[1]-Math.sin(s)*a]}function pointDistance(i,s){return Math.hypot(i[0]-s[0],i[1]-s[1])}function pointEqual(i,s){return floatEqual(i[0],s[0])&&floatEqual(i[1],s[1])}function ZigZagModifier(){}extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(i,s.s,0,null,this),this.frequency=PropertyFactory.getProp(i,s.r,0,null,this),this.pointsType=PropertyFactory.getProp(i,s.pt,0,null,this),this._isAnimated=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(i,s,a,o,u,S,P){var C=a-Math.PI/2,E=a+Math.PI/2,_=s[0]+Math.cos(a)*o*u,I=s[1]-Math.sin(a)*o*u;i.setTripleAt(_,I,_+Math.cos(C)*S,I-Math.sin(C)*S,_+Math.cos(E)*P,I-Math.sin(E)*P,i.length())}function getPerpendicularVector(i,s){var a=[s[0]-i[0],s[1]-i[1]],o=-Math.PI*.5,u=[Math.cos(o)*a[0]-Math.sin(o)*a[1],Math.sin(o)*a[0]+Math.cos(o)*a[1]];return u}function getProjectingAngle(i,s){var a=s===0?i.length()-1:s-1,o=(s+1)%i.length(),u=i.v[a],S=i.v[o],P=getPerpendicularVector(u,S);return Math.atan2(0,1)-Math.atan2(P[1],P[0])}function zigZagCorner(i,s,a,o,u,S,P){var C=getProjectingAngle(s,a),E=s.v[a%s._length],_=s.v[a===0?s._length-1:a-1],I=s.v[(a+1)%s._length],j=S===2?Math.sqrt(Math.pow(E[0]-_[0],2)+Math.pow(E[1]-_[1],2)):0,T=S===2?Math.sqrt(Math.pow(E[0]-I[0],2)+Math.pow(E[1]-I[1],2)):0;setPoint(i,s.v[a%s._length],C,P,o,T/((u+1)*2),j/((u+1)*2))}function zigZagSegment(i,s,a,o,u,S){for(var P=0;P<o;P+=1){var C=(P+1)/(o+1),E=u===2?Math.sqrt(Math.pow(s.points[3][0]-s.points[0][0],2)+Math.pow(s.points[3][1]-s.points[0][1],2)):0,_=s.normalAngle(C),I=s.point(C);setPoint(i,I,_,S,a,E/((o+1)*2),E/((o+1)*2)),S=-S}return S}ZigZagModifier.prototype.processPath=function(i,s,a,o){var u=i._length,S=shapePool.newElement();if(S.c=i.c,i.c||(u-=1),u===0)return S;var P=-1,C=PolynomialBezier.shapeSegment(i,0);zigZagCorner(S,i,0,s,a,o,P);for(var E=0;E<u;E+=1)P=zigZagSegment(S,C,s,a,o,-P),E===u-1&&!i.c?C=null:C=PolynomialBezier.shapeSegment(i,(E+1)%u),zigZagCorner(S,i,E+1,s,a,o,P);return S},ZigZagModifier.prototype.processShapes=function(i){var s,a,o=this.shapes.length,u,S,P=this.amplitude.v,C=Math.max(0,Math.round(this.frequency.v)),E=this.pointsType.v;if(P!==0){var _,I;for(a=0;a<o;a+=1){if(_=this.shapes[a],I=_.localShapeCollection,!(!_.shape._mdf&&!this._mdf&&!i))for(I.releaseShapes(),_.shape._mdf=!0,s=_.shape.paths.shapes,S=_.shape.paths._length,u=0;u<S;u+=1)I.addShape(this.processPath(s[u],P,C,E));_.shape.paths=_.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function linearOffset(i,s,a){var o=Math.atan2(s[0]-i[0],s[1]-i[1]);return[polarOffset(i,o,a),polarOffset(s,o,a)]}function offsetSegment(i,s){var a,o,u,S,P,C,E;E=linearOffset(i.points[0],i.points[1],s),a=E[0],o=E[1],E=linearOffset(i.points[1],i.points[2],s),u=E[0],S=E[1],E=linearOffset(i.points[2],i.points[3],s),P=E[0],C=E[1];var _=lineIntersection(a,o,u,S);_===null&&(_=o);var I=lineIntersection(P,C,u,S);return I===null&&(I=P),new PolynomialBezier(a,_,I,C)}function joinLines(i,s,a,o,u){var S=s.points[3],P=a.points[0];if(o===3||pointEqual(S,P))return S;if(o===2){var C=-s.tangentAngle(1),E=-a.tangentAngle(0)+Math.PI,_=lineIntersection(S,polarOffset(S,C+Math.PI/2,100),P,polarOffset(P,C+Math.PI/2,100)),I=_?pointDistance(_,S):pointDistance(S,P)/2,j=polarOffset(S,C,2*I*roundCorner);return i.setXYAt(j[0],j[1],"o",i.length()-1),j=polarOffset(P,E,2*I*roundCorner),i.setTripleAt(P[0],P[1],P[0],P[1],j[0],j[1],i.length()),P}var T=pointEqual(S,s.points[2])?s.points[0]:s.points[2],O=pointEqual(P,a.points[1])?a.points[3]:a.points[1],D=lineIntersection(T,S,P,O);return D&&pointDistance(D,S)<u?(i.setTripleAt(D[0],D[1],D[0],D[1],D[0],D[1],i.length()),D):S}function getIntersection(i,s){var a=i.intersections(s);return a.length&&floatEqual(a[0][0],1)&&a.shift(),a.length?a[0]:null}function pruneSegmentIntersection(i,s){var a=i.slice(),o=s.slice(),u=getIntersection(i[i.length-1],s[0]);return u&&(a[i.length-1]=i[i.length-1].split(u[0])[0],o[0]=s[0].split(u[1])[1]),i.length>1&&s.length>1&&(u=getIntersection(i[0],s[s.length-1]),u)?[[i[0].split(u[0])[0]],[s[s.length-1].split(u[1])[1]]]:[a,o]}function pruneIntersections(i){for(var s,a=1;a<i.length;a+=1)s=pruneSegmentIntersection(i[a-1],i[a]),i[a-1]=s[0],i[a]=s[1];return i.length>1&&(s=pruneSegmentIntersection(i[i.length-1],i[0]),i[i.length-1]=s[0],i[0]=s[1]),i}function offsetSegmentSplit(i,s){var a=i.inflectionPoints(),o,u,S,P;if(a.length===0)return[offsetSegment(i,s)];if(a.length===1||floatEqual(a[1],1))return S=i.split(a[0]),o=S[0],u=S[1],[offsetSegment(o,s),offsetSegment(u,s)];S=i.split(a[0]),o=S[0];var C=(a[1]-a[0])/(1-a[0]);return S=S[1].split(C),P=S[0],u=S[1],[offsetSegment(o,s),offsetSegment(P,s),offsetSegment(u,s)]}function OffsetPathModifier(){}extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(i,s){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(i,s.a,0,null,this),this.miterLimit=PropertyFactory.getProp(i,s.ml,0,null,this),this.lineJoin=s.lj,this._isAnimated=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(i,s,a,o){var u=shapePool.newElement();u.c=i.c;var S=i.length();i.c||(S-=1);var P,C,E,_=[];for(P=0;P<S;P+=1)E=PolynomialBezier.shapeSegment(i,P),_.push(offsetSegmentSplit(E,s));if(!i.c)for(P=S-1;P>=0;P-=1)E=PolynomialBezier.shapeSegmentInverted(i,P),_.push(offsetSegmentSplit(E,s));_=pruneIntersections(_);var I=null,j=null;for(P=0;P<_.length;P+=1){var T=_[P];for(j&&(I=joinLines(u,j,T[0],a,o)),j=T[T.length-1],C=0;C<T.length;C+=1)E=T[C],I&&pointEqual(E.points[0],I)?u.setXYAt(E.points[1][0],E.points[1][1],"o",u.length()-1):u.setTripleAt(E.points[0][0],E.points[0][1],E.points[1][0],E.points[1][1],E.points[0][0],E.points[0][1],u.length()),u.setTripleAt(E.points[3][0],E.points[3][1],E.points[3][0],E.points[3][1],E.points[2][0],E.points[2][1],u.length()),I=E.points[3]}return _.length&&joinLines(u,j,_[0][0],a,o),u},OffsetPathModifier.prototype.processShapes=function(i){var s,a,o=this.shapes.length,u,S,P=this.amount.v,C=this.miterLimit.v,E=this.lineJoin;if(P!==0){var _,I;for(a=0;a<o;a+=1){if(_=this.shapes[a],I=_.localShapeCollection,!(!_.shape._mdf&&!this._mdf&&!i))for(I.releaseShapes(),_.shape._mdf=!0,s=_.shape.paths.shapes,S=_.shape.paths._length,u=0;u<S;u+=1)I.addShape(this.processPath(s[u],P,E,C));_.shape.paths=_.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(i){for(var s=i.fStyle?i.fStyle.split(" "):[],a="normal",o="normal",u=s.length,S,P=0;P<u;P+=1)switch(S=s[P].toLowerCase(),S){case"italic":o="italic";break;case"bold":a="700";break;case"black":a="900";break;case"medium":a="500";break;case"regular":case"normal":a="400";break;case"light":case"thin":a="200";break}return{style:o,weight:i.fWeight||a}}var FontManager=function(){var i=5e3,s={w:0,size:0,shapes:[],data:{shapes:[]}},a=[];a=a.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var o=127988,u=917631,S=917601,P=917626,C=65039,E=8205,_=127462,I=127487,j=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function T($){var K=$.split(","),B,G=K.length,U=[];for(B=0;B<G;B+=1)K[B]!=="sans-serif"&&K[B]!=="monospace"&&U.push(K[B]);return U.join(",")}function O($,K){var B=createTag("span");B.setAttribute("aria-hidden",!0),B.style.fontFamily=K;var G=createTag("span");G.innerText="giItT1WQy@!-/#",B.style.position="absolute",B.style.left="-10000px",B.style.top="-10000px",B.style.fontSize="300px",B.style.fontVariant="normal",B.style.fontStyle="normal",B.style.fontWeight="normal",B.style.letterSpacing="0",B.appendChild(G),document.body.appendChild(B);var U=G.offsetWidth;return G.style.fontFamily=T($)+", "+K,{node:G,w:U,parent:B}}function D(){var $,K=this.fonts.length,B,G,U=K;for($=0;$<K;$+=1)this.fonts[$].loaded?U-=1:this.fonts[$].fOrigin==="n"||this.fonts[$].origin===0?this.fonts[$].loaded=!0:(B=this.fonts[$].monoCase.node,G=this.fonts[$].monoCase.w,B.offsetWidth!==G?(U-=1,this.fonts[$].loaded=!0):(B=this.fonts[$].sansCase.node,G=this.fonts[$].sansCase.w,B.offsetWidth!==G&&(U-=1,this.fonts[$].loaded=!0)),this.fonts[$].loaded&&(this.fonts[$].sansCase.parent.parentNode.removeChild(this.fonts[$].sansCase.parent),this.fonts[$].monoCase.parent.parentNode.removeChild(this.fonts[$].monoCase.parent)));U!==0&&Date.now()-this.initTime<i?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function L($,K){var B=document.body&&K?"svg":"canvas",G,U=getFontProperties($);if(B==="svg"){var Z=createNS("text");Z.style.fontSize="100px",Z.setAttribute("font-family",$.fFamily),Z.setAttribute("font-style",U.style),Z.setAttribute("font-weight",U.weight),Z.textContent="1",$.fClass?(Z.style.fontFamily="inherit",Z.setAttribute("class",$.fClass)):Z.style.fontFamily=$.fFamily,K.appendChild(Z),G=Z}else{var ie=new OffscreenCanvas(500,500).getContext("2d");ie.font=U.style+" "+U.weight+" 100px "+$.fFamily,G=ie}function le(he){return B==="svg"?(G.textContent=he,G.getComputedTextLength()):G.measureText(he).width}return{measureText:le}}function H($,K){if(!$){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=$.list;return}if(!document.body){this.isLoaded=!0,$.list.forEach(function(ce){ce.helper=L(ce),ce.cache={}}),this.fonts=$.list;return}var B=$.list,G,U=B.length,Z=U;for(G=0;G<U;G+=1){var ie=!0,le,he;if(B[G].loaded=!1,B[G].monoCase=O(B[G].fFamily,"monospace"),B[G].sansCase=O(B[G].fFamily,"sans-serif"),!B[G].fPath)B[G].loaded=!0,Z-=1;else if(B[G].fOrigin==="p"||B[G].origin===3){if(le=document.querySelectorAll('style[f-forigin="p"][f-family="'+B[G].fFamily+'"], style[f-origin="3"][f-family="'+B[G].fFamily+'"]'),le.length>0&&(ie=!1),ie){var fe=createTag("style");fe.setAttribute("f-forigin",B[G].fOrigin),fe.setAttribute("f-origin",B[G].origin),fe.setAttribute("f-family",B[G].fFamily),fe.type="text/css",fe.innerText="@font-face {font-family: "+B[G].fFamily+"; font-style: normal; src: url('"+B[G].fPath+"');}",K.appendChild(fe)}}else if(B[G].fOrigin==="g"||B[G].origin===1){for(le=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),he=0;he<le.length;he+=1)le[he].href.indexOf(B[G].fPath)!==-1&&(ie=!1);if(ie){var oe=createTag("link");oe.setAttribute("f-forigin",B[G].fOrigin),oe.setAttribute("f-origin",B[G].origin),oe.type="text/css",oe.rel="stylesheet",oe.href=B[G].fPath,document.body.appendChild(oe)}}else if(B[G].fOrigin==="t"||B[G].origin===2){for(le=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),he=0;he<le.length;he+=1)B[G].fPath===le[he].src&&(ie=!1);if(ie){var me=createTag("link");me.setAttribute("f-forigin",B[G].fOrigin),me.setAttribute("f-origin",B[G].origin),me.setAttribute("rel","stylesheet"),me.setAttribute("href",B[G].fPath),K.appendChild(me)}}B[G].helper=L(B[G],K),B[G].cache={},this.fonts.push(B[G])}Z===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function F($){if($){this.chars||(this.chars=[]);var K,B=$.length,G,U=this.chars.length,Z;for(K=0;K<B;K+=1){for(G=0,Z=!1;G<U;)this.chars[G].style===$[K].style&&this.chars[G].fFamily===$[K].fFamily&&this.chars[G].ch===$[K].ch&&(Z=!0),G+=1;Z||(this.chars.push($[K]),U+=1)}}}function R($,K,B){for(var G=0,U=this.chars.length;G<U;){if(this.chars[G].ch===$&&this.chars[G].style===K&&this.chars[G].fFamily===B)return this.chars[G];G+=1}return(typeof $=="string"&&$.charCodeAt(0)!==13||!$)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",$,K,B)),s}function M($,K,B){var G=this.getFontByName(K),U=$;if(!G.cache[U]){var Z=G.helper;if($===" "){var ie=Z.measureText("|"+$+"|"),le=Z.measureText("||");G.cache[U]=(ie-le)/100}else G.cache[U]=Z.measureText($)/100}return G.cache[U]*B}function V($){for(var K=0,B=this.fonts.length;K<B;){if(this.fonts[K].fName===$)return this.fonts[K];K+=1}return this.fonts[0]}function N($){var K=0,B=$.charCodeAt(0);if(B>=55296&&B<=56319){var G=$.charCodeAt(1);G>=56320&&G<=57343&&(K=(B-55296)*1024+G-56320+65536)}return K}function W($,K){var B=$.toString(16)+K.toString(16);return j.indexOf(B)!==-1}function X($){return $===E}function Y($){return $===C}function J($){var K=N($);return K>=_&&K<=I}function re($){return J($.substr(0,2))&&J($.substr(2,2))}function te($){return a.indexOf($)!==-1}function ee($,K){var B=N($.substr(K,2));if(B!==o)return!1;var G=0;for(K+=2;G<5;){if(B=N($.substr(K,2)),B<S||B>P)return!1;G+=1,K+=2}return N($.substr(K,2))===u}function se(){this.isLoaded=!0}var ne=function(){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)};ne.isModifier=W,ne.isZeroWidthJoiner=X,ne.isFlagEmoji=re,ne.isRegionalCode=J,ne.isCombinedCharacter=te,ne.isRegionalFlag=ee,ne.isVariationSelector=Y,ne.BLACK_FLAG_CODE_POINT=o;var Q={addChars:F,addFonts:H,getCharData:R,getFontByName:V,measureText:M,checkLoadedFonts:D,setIsLoaded:se};return ne.prototype=Q,ne}();function SlotManager(i){this.animationData=i}SlotManager.prototype.getProp=function(i){return this.animationData.slots&&this.animationData.slots[i.sid]?Object.assign(i,this.animationData.slots[i.sid].p):i};function slotFactory(i){return new SlotManager(i)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(s){this.renderableComponents.indexOf(s)===-1&&this.renderableComponents.push(s)},removeRenderableComponent:function(s){this.renderableComponents.indexOf(s)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(s),1)},prepareRenderableFrame:function(s){this.checkLayerLimits(s)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(s){this.data.ip-this.data.st<=s&&this.data.op-this.data.st>s?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())},renderRenderable:function(){var s,a=this.renderableComponents.length;for(s=0;s<a;s+=1)this.renderableComponents[s].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var i={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(s){return i[s]||""}}();function SliderEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function AngleEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function ColorEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,1,0,a)}function PointEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,1,0,a)}function LayerIndexEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function MaskIndexEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function CheckboxEffect(i,s,a){this.p=PropertyFactory.getProp(s,i.v,0,0,a)}function NoValueEffect(){this.p={}}function EffectsManager(i,s){var a=i.ef||[];this.effectElements=[];var o,u=a.length,S;for(o=0;o<u;o+=1)S=new GroupEffect(a[o],s),this.effectElements.push(S)}function GroupEffect(i,s){this.init(i,s)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(i,s){this.data=i,this.effectElements=[],this.initDynamicPropertyContainer(s);var a,o=this.data.ef.length,u,S=this.data.ef;for(a=0;a<o;a+=1){switch(u=null,S[a].ty){case 0:u=new SliderEffect(S[a],s,this);break;case 1:u=new AngleEffect(S[a],s,this);break;case 2:u=new ColorEffect(S[a],s,this);break;case 3:u=new PointEffect(S[a],s,this);break;case 4:case 7:u=new CheckboxEffect(S[a],s,this);break;case 10:u=new LayerIndexEffect(S[a],s,this);break;case 11:u=new MaskIndexEffect(S[a],s,this);break;case 5:u=new EffectsManager(S[a],s);break;default:u=new NoValueEffect(S[a]);break}u&&this.effectElements.push(u)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var s=0,a=this.data.masksProperties.length;s<a;){if(this.data.masksProperties[s].mode!=="n"&&this.data.masksProperties[s].cl!==!1)return!0;s+=1}return!1},initExpressions:function(){var s=getExpressionInterfaces();if(s){var a=s("layer"),o=s("effects"),u=s("shape"),S=s("text"),P=s("comp");this.layerInterface=a(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var C=o.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(C),this.data.ty===0||this.data.xt?this.compInterface=P(this):this.data.ty===4?(this.layerInterface.shapeInterface=u(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=S(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var s=getBlendMode(this.data.bm),a=this.baseElement||this.layerElement;a.style["mix-blend-mode"]=s},initBaseData:function(s,a,o){this.globalData=a,this.comp=o,this.data=s,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(s,a){var o,u=this.dynamicProperties.length;for(o=0;o<u;o+=1)(a||this._isParent&&this.dynamicProperties[o].propType==="transform")&&(this.dynamicProperties[o].getValue(),this.dynamicProperties[o]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(s){this.dynamicProperties.indexOf(s)===-1&&this.dynamicProperties.push(s)}};function FootageElement(i,s,a){this.initFrame(),this.initRenderable(),this.assetData=s.getAssetData(i.refId),this.footageData=s.imageLoader.getAsset(this.assetData),this.initBaseData(i,s,a)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var i=getExpressionInterfaces();if(i){var s=i("footage");this.layerInterface=s(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData};function AudioElement(i,s,a){this.initFrame(),this.initRenderable(),this.assetData=s.getAssetData(i.refId),this.initBaseData(i,s,a),this._isPlaying=!1,this._canPlay=!1;var o=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(o),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,s.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,i.au&&i.au.lv?i.au.lv:{k:[100]},1,.01,this)}AudioElement.prototype.prepareFrame=function(i){if(this.prepareRenderableFrame(i,!0),this.prepareProperties(i,!0),this.tm._placeholder)this._currentTime=i/this.data.sr;else{var s=this.tm.v;this._currentTime=s}this._volume=this.lv.v[0];var a=this._volume*this._volumeMultiplier;this._previousVolume!==a&&(this._previousVolume=a,this.audio.volume(a))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){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))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(i){this.audio.rate(i)},AudioElement.prototype.volume=function(i){this._volumeMultiplier=i,this._previousVolume=i*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(i){var s,a=this.layers.length,o;for(this.completeLayers=!0,s=a-1;s>=0;s-=1)this.elements[s]||(o=this.layers[s],o.ip-o.st<=i-this.layers[s].st&&o.op-o.st>i-this.layers[s].st&&this.buildItem(s)),this.completeLayers=this.elements[s]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(i){switch(i.ty){case 2:return this.createImage(i);case 0:return this.createComp(i);case 1:return this.createSolid(i);case 3:return this.createNull(i);case 4:return this.createShape(i);case 5:return this.createText(i);case 6:return this.createAudio(i);case 13:return this.createCamera(i);case 15:return this.createFootage(i);default:return this.createNull(i)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(i){return new AudioElement(i,this.globalData,this)},BaseRenderer.prototype.createFootage=function(i){return new FootageElement(i,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var i,s=this.layers.length;for(i=0;i<s;i+=1)this.buildItem(i);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(i){this.completeLayers=!1;var s,a=i.length,o,u=this.layers.length;for(s=0;s<a;s+=1)for(o=0;o<u;){if(this.layers[o].id===i[s].id){this.layers[o]=i[s];break}o+=1}},BaseRenderer.prototype.setProjectInterface=function(i){this.globalData.projectInterface=i},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(i,s,a){for(var o=this.elements,u=this.layers,S=0,P=u.length;S<P;)u[S].ind==s&&(!o[S]||o[S]===!0?(this.buildItem(S),this.addPendingElement(i)):(a.push(o[S]),o[S].setAsParent(),u[S].parent!==void 0?this.buildElementParenting(i,u[S].parent,a):i.setHierarchy(a))),S+=1},BaseRenderer.prototype.addPendingElement=function(i){this.pendingElements.push(i)},BaseRenderer.prototype.searchExtraCompositions=function(i){var s,a=i.length;for(s=0;s<a;s+=1)if(i[s].xt){var o=this.createComp(i[s]);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}},BaseRenderer.prototype.getElementById=function(i){var s,a=this.elements.length;for(s=0;s<a;s+=1)if(this.elements[s].data.ind===i)return this.elements[s];return null},BaseRenderer.prototype.getElementByPath=function(i){var s=i.shift(),a;if(typeof s=="number")a=this.elements[s];else{var o,u=this.elements.length;for(o=0;o<u;o+=1)if(this.elements[o].data.nm===s){a=this.elements[o];break}}return i.length===0?a:a.getElementByPath(i)},BaseRenderer.prototype.setupGlobalData=function(i,s){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(i),this.globalData.fontManager.addChars(i.chars),this.globalData.fontManager.addFonts(i.fonts,s),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=i.fr,this.globalData.nm=i.nm,this.globalData.compSize={w:i.w,h:i.h}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var s=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:s,localMat:s,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var s,a=this.finalTransform.mat,o=0,u=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;o<u;){if(this.hierarchy[o].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}o+=1}if(this.finalTransform._matMdf)for(s=this.finalTransform.mProp.v.props,a.cloneFromProps(s),o=0;o<u;o+=1)a.multiply(this.hierarchy[o].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var s=0,a=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;s<a;)this.localTransforms[s]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[s]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),s+=1;if(this.finalTransform._localMatMdf){var o=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(o),s=1;s<a;s+=1){var u=this.localTransforms[s].matrix;o.multiply(u)}o.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var S=this.finalTransform.localOpacity;for(s=0;s<a;s+=1)S*=this.localTransforms[s].opacity*.01;this.finalTransform.localOpacity=S}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var s=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(s.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var a=0,o=s.length;for(a=0;a<o;a+=1)this.localTransforms.push(s[a])}}},globalToLocal:function(s){var a=[];a.push(this.finalTransform);for(var o=!0,u=this.comp;o;)u.finalTransform?(u.data.hasMask&&a.splice(0,0,u.finalTransform),u=u.comp):o=!1;var S,P=a.length,C;for(S=0;S<P;S+=1)C=a[S].mat.applyToPointArray(0,0,0),s=[s[0]-C[0],s[1]-C[1],0];return s},mHelper:new Matrix};function MaskElement(i,s,a){this.data=i,this.element=s,this.globalData=a,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var o=this.globalData.defs,u,S=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(S),this.solidPath="";var P,C=this.masksProperties,E=0,_=[],I,j,T=createElementID(),O,D,L,H,F="clipPath",R="clip-path";for(u=0;u<S;u+=1)if((C[u].mode!=="a"&&C[u].mode!=="n"||C[u].inv||C[u].o.k!==100||C[u].o.x)&&(F="mask",R="mask"),(C[u].mode==="s"||C[u].mode==="i")&&E===0?(O=createNS("rect"),O.setAttribute("fill","#ffffff"),O.setAttribute("width",this.element.comp.data.w||0),O.setAttribute("height",this.element.comp.data.h||0),_.push(O)):O=null,P=createNS("path"),C[u].mode==="n")this.viewData[u]={op:PropertyFactory.getProp(this.element,C[u].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,C[u],3),elem:P,lastPath:""},o.appendChild(P);else{E+=1,P.setAttribute("fill",C[u].mode==="s"?"#000000":"#ffffff"),P.setAttribute("clip-rule","nonzero");var M;if(C[u].x.k!==0?(F="mask",R="mask",H=PropertyFactory.getProp(this.element,C[u].x,0,null,this.element),M=createElementID(),D=createNS("filter"),D.setAttribute("id",M),L=createNS("feMorphology"),L.setAttribute("operator","erode"),L.setAttribute("in","SourceGraphic"),L.setAttribute("radius","0"),D.appendChild(L),o.appendChild(D),P.setAttribute("stroke",C[u].mode==="s"?"#000000":"#ffffff")):(L=null,H=null),this.storedData[u]={elem:P,x:H,expan:L,lastPath:"",lastOperator:"",filterId:M,lastRadius:0},C[u].mode==="i"){j=_.length;var V=createNS("g");for(I=0;I<j;I+=1)V.appendChild(_[I]);var N=createNS("mask");N.setAttribute("mask-type","alpha"),N.setAttribute("id",T+"_"+E),N.appendChild(P),o.appendChild(N),V.setAttribute("mask","url("+getLocationHref()+"#"+T+"_"+E+")"),_.length=0,_.push(V)}else _.push(P);C[u].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[u]={elem:P,lastPath:"",op:PropertyFactory.getProp(this.element,C[u].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,C[u],3),invRect:O},this.viewData[u].prop.k||this.drawPath(C[u],this.viewData[u].prop.v,this.viewData[u])}for(this.maskElement=createNS(F),S=_.length,u=0;u<S;u+=1)this.maskElement.appendChild(_[u]);E>0&&(this.maskElement.setAttribute("id",T),this.element.maskedElement.setAttribute(R,"url("+getLocationHref()+"#"+T+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(i){return this.viewData[i].prop},MaskElement.prototype.renderFrame=function(i){var s=this.element.finalTransform.mat,a,o=this.masksProperties.length;for(a=0;a<o;a+=1)if((this.viewData[a].prop._mdf||i)&&this.drawPath(this.masksProperties[a],this.viewData[a].prop.v,this.viewData[a]),(this.viewData[a].op._mdf||i)&&this.viewData[a].elem.setAttribute("fill-opacity",this.viewData[a].op.v),this.masksProperties[a].mode!=="n"&&(this.viewData[a].invRect&&(this.element.finalTransform.mProp._mdf||i)&&this.viewData[a].invRect.setAttribute("transform",s.getInverseMatrix().to2dCSS()),this.storedData[a].x&&(this.storedData[a].x._mdf||i))){var u=this.storedData[a].expan;this.storedData[a].x.v<0?(this.storedData[a].lastOperator!=="erode"&&(this.storedData[a].lastOperator="erode",this.storedData[a].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[a].filterId+")")),u.setAttribute("radius",-this.storedData[a].x.v)):(this.storedData[a].lastOperator!=="dilate"&&(this.storedData[a].lastOperator="dilate",this.storedData[a].elem.setAttribute("filter",null)),this.storedData[a].elem.setAttribute("stroke-width",this.storedData[a].x.v*2))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var i="M0,0 ";return i+=" h"+this.globalData.compSize.w,i+=" v"+this.globalData.compSize.h,i+=" h-"+this.globalData.compSize.w,i+=" v-"+this.globalData.compSize.h+" ",i},MaskElement.prototype.drawPath=function(i,s,a){var o=" M"+s.v[0][0]+","+s.v[0][1],u,S;for(S=s._length,u=1;u<S;u+=1)o+=" C"+s.o[u-1][0]+","+s.o[u-1][1]+" "+s.i[u][0]+","+s.i[u][1]+" "+s.v[u][0]+","+s.v[u][1];if(s.c&&S>1&&(o+=" C"+s.o[u-1][0]+","+s.o[u-1][1]+" "+s.i[0][0]+","+s.i[0][1]+" "+s.v[0][0]+","+s.v[0][1]),a.lastPath!==o){var P="";a.elem&&(s.c&&(P=i.inv?this.solidPath+o:o),a.elem.setAttribute("d",P)),a.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var i={};i.createFilter=s,i.createAlphaToLuminanceFilter=a;function s(o,u){var S=createNS("filter");return S.setAttribute("id",o),u!==!0&&(S.setAttribute("filterUnits","objectBoundingBox"),S.setAttribute("x","0%"),S.setAttribute("y","0%"),S.setAttribute("width","100%"),S.setAttribute("height","100%")),S}function a(){var o=createNS("feColorMatrix");return o.setAttribute("type","matrix"),o.setAttribute("color-interpolation-filters","sRGB"),o.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),o}return i}(),featureSupport=function(){var i={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};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))&&(i.maskType=!1),/firefox/i.test(navigator.userAgent)&&(i.svgLumaHidden=!1),i}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(i){var s,a="SourceGraphic",o=i.data.ef?i.data.ef.length:0,u=createElementID(),S=filtersFactory.createFilter(u,!0),P=0;this.filters=[];var C;for(s=0;s<o;s+=1){C=null;var E=i.data.ef[s].ty;if(registeredEffects$1[E]){var _=registeredEffects$1[E].effect;C=new _(S,i.effectsManager.effectElements[s],i,idPrefix+P,a),a=idPrefix+P,registeredEffects$1[E].countsAsEffect&&(P+=1)}C&&this.filters.push(C)}P&&(i.globalData.defs.appendChild(S),i.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+u+")")),this.filters.length&&i.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(i){var s,a=this.filters.length;for(s=0;s<a;s+=1)this.filters[s].renderFrame(i)},SVGEffects.prototype.getEffects=function(i){var s,a=this.filters.length,o=[];for(s=0;s<a;s+=1)this.filters[s].type===i&&o.push(this.filters[s]);return o};function registerEffect$1(i,s,a){registeredEffects$1[i]={effect:s,countsAsEffect:a}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var s=null;if(this.data.td){this.matteMasks={};var a=createNS("g");a.setAttribute("id",this.layerId),a.appendChild(this.layerElement),s=a,this.globalData.defs.appendChild(a)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),s=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;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){var o=createNS("clipPath"),u=createNS("path");u.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var S=createElementID();if(o.setAttribute("id",S),o.appendChild(u),this.globalData.defs.appendChild(o),this.checkMasks()){var P=createNS("g");P.setAttribute("clip-path","url("+getLocationHref()+"#"+S+")"),P.appendChild(this.layerElement),this.transformedElement=P,s?s.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+S+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(s){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[s]){var a=this.layerId+"_"+s,o,u,S,P;if(s===1||s===3){var C=createNS("mask");C.setAttribute("id",a),C.setAttribute("mask-type",s===3?"luminance":"alpha"),S=createNS("use"),S.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),C.appendChild(S),this.globalData.defs.appendChild(C),!featureSupport.maskType&&s===1&&(C.setAttribute("mask-type","luminance"),o=createElementID(),u=filtersFactory.createFilter(o),this.globalData.defs.appendChild(u),u.appendChild(filtersFactory.createAlphaToLuminanceFilter()),P=createNS("g"),P.appendChild(S),C.appendChild(P),P.setAttribute("filter","url("+getLocationHref()+"#"+o+")"))}else if(s===2){var E=createNS("mask");E.setAttribute("id",a),E.setAttribute("mask-type","alpha");var _=createNS("g");E.appendChild(_),o=createElementID(),u=filtersFactory.createFilter(o);var I=createNS("feComponentTransfer");I.setAttribute("in","SourceGraphic"),u.appendChild(I);var j=createNS("feFuncA");j.setAttribute("type","table"),j.setAttribute("tableValues","1.0 0.0"),I.appendChild(j),this.globalData.defs.appendChild(u);var T=createNS("rect");T.setAttribute("width",this.comp.data.w),T.setAttribute("height",this.comp.data.h),T.setAttribute("x","0"),T.setAttribute("y","0"),T.setAttribute("fill","#ffffff"),T.setAttribute("opacity","0"),_.setAttribute("filter","url("+getLocationHref()+"#"+o+")"),_.appendChild(T),S=createNS("use"),S.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),_.appendChild(S),featureSupport.maskType||(E.setAttribute("mask-type","luminance"),u.appendChild(filtersFactory.createAlphaToLuminanceFilter()),P=createNS("g"),_.appendChild(T),P.appendChild(this.layerElement),_.appendChild(P)),this.globalData.defs.appendChild(E)}this.matteMasks[s]=a}return this.matteMasks[s]},setMatte:function(s){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+s+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(s){this.hierarchy=s},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var i={initElement:function(a,o,u){this.initFrame(),this.initBaseData(a,o,u),this.initTransform(a,o,u),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var a=this.baseElement||this.layerElement;a.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var a=this.baseElement||this.layerElement;a.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(a){this._mdf=!1,this.prepareRenderableFrame(a),this.prepareProperties(a,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(i)],RenderableDOMElement)})();function IImageElement(i,s,a){this.assetData=s.getAssetData(i.refId),this.assetData&&this.assetData.sid&&(this.assetData=s.slotManager.getProp(this.assetData)),this.initElement(i,s,a),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var i=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("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",i),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect};function ProcessedElement(i,s){this.elem=i,this.pos=s}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(s){var a,o=this.shapeModifiers.length;for(a=0;a<o;a+=1)this.shapeModifiers[a].addShape(s)},isShapeInAnimatedModifiers:function(s){for(var a=0,o=this.shapeModifiers.length;a<o;)if(this.shapeModifiers[a].isAnimatedWithShape(s))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var s,a=this.shapes.length;for(s=0;s<a;s+=1)this.shapes[s].sh.reset();a=this.shapeModifiers.length;var o;for(s=a-1;s>=0&&(o=this.shapeModifiers[s].processShapes(this._isFirstFrame),!o);s-=1);}},searchProcessedElement:function(s){for(var a=this.processedElements,o=0,u=a.length;o<u;){if(a[o].elem===s)return a[o].pos;o+=1}return 0},addProcessedElement:function(s,a){for(var o=this.processedElements,u=o.length;u;)if(u-=1,o[u].elem===s){o[u].pos=a;return}o.push(new ProcessedElement(s,a))},prepareFrame:function(s){this.prepareRenderableFrame(s),this.prepareProperties(s,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(i,s,a){this.caches=[],this.styles=[],this.transformers=i,this.lStr="",this.sh=a,this.lvl=s,this._isAnimated=!!a.k;for(var o=0,u=i.length;o<u;){if(i[o].mProps.dynamicProperties.length){this._isAnimated=!0;break}o+=1}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(i,s){this.data=i,this.type=i.ty,this.d="",this.lvl=s,this._mdf=!1,this.closed=i.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(i,s,a,o){this.elem=i,this.frameId=-1,this.dataProps=createSizedArray(s.length),this.renderer=a,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",s.length?s.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(o);var u,S=s.length||0,P;for(u=0;u<S;u+=1)P=PropertyFactory.getProp(i,s[u].v,0,0,this),this.k=P.k||this.k,this.dataProps[u]={n:s[u].n,p:P};this.k||this.getValue(!0),this._isAnimated=this.k}DashProperty.prototype.getValue=function(i){if(!(this.elem.globalData.frameId===this.frameId&&!i)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||i,this._mdf)){var s=0,a=this.dataProps.length;for(this.renderer==="svg"&&(this.dashStr=""),s=0;s<a;s+=1)this.dataProps[s].n!=="o"?this.renderer==="svg"?this.dashStr+=" "+this.dataProps[s].p.v:this.dashArray[s]=this.dataProps[s].p.v:this.dashoffset[0]=this.dataProps[s].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty);function SVGStrokeStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(i,s.o,0,.01,this),this.w=PropertyFactory.getProp(i,s.w,0,null,this),this.d=new DashProperty(i,s.d||{},"svg",this),this.c=PropertyFactory.getProp(i,s.c,1,255,this),this.style=a,this._isAnimated=!!this._isAnimated}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);function SVGFillStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(i,s.o,0,.01,this),this.c=PropertyFactory.getProp(i,s.c,1,255,this),this.style=a}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.style=a}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(i,s,a){this.data=s,this.c=createTypedArray("uint8c",s.p*4);var o=s.k.k[0].s?s.k.k[0].s.length-s.p*4:s.k.k.length-s.p*4;this.o=createTypedArray("float32",o),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=o,this.initDynamicPropertyContainer(a),this.prop=PropertyFactory.getProp(i,s.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}GradientProperty.prototype.comparePoints=function(i,s){for(var a=0,o=this.o.length/2,u;a<o;){if(u=Math.abs(i[a*4]-i[s*4+a*2]),u>.01)return!1;a+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var i=0,s=this.data.k.k.length;i<s;){if(!this.comparePoints(this.data.k.k[i].s,this.data.p))return!1;i+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(i){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||i){var s,a=this.data.p*4,o,u;for(s=0;s<a;s+=1)o=s%4===0?100:255,u=Math.round(this.prop.v[s]*o),this.c[s]!==u&&(this.c[s]=u,this._cmdf=!i);if(this.o.length)for(a=this.prop.v.length,s=this.data.p*4;s<a;s+=1)o=s%2===0?100:1,u=s%2===0?Math.round(this.prop.v[s]*100):this.prop.v[s],this.o[s-this.data.p*4]!==u&&(this.o[s-this.data.p*4]=u,this._omdf=!i);this._mdf=!i}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.initGradientData(i,s,a)}SVGGradientFillStyleData.prototype.initGradientData=function(i,s,a){this.o=PropertyFactory.getProp(i,s.o,0,.01,this),this.s=PropertyFactory.getProp(i,s.s,1,null,this),this.e=PropertyFactory.getProp(i,s.e,1,null,this),this.h=PropertyFactory.getProp(i,s.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(i,s.a||{k:0},0,degToRads,this),this.g=new GradientProperty(i,s.g,this),this.style=a,this.stops=[],this.setGradientData(a.pElem,s),this.setGradientOpacity(s,a),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(i,s){var a=createElementID(),o=createNS(s.t===1?"linearGradient":"radialGradient");o.setAttribute("id",a),o.setAttribute("spreadMethod","pad"),o.setAttribute("gradientUnits","userSpaceOnUse");var u=[],S,P,C;for(C=s.g.p*4,P=0;P<C;P+=4)S=createNS("stop"),o.appendChild(S),u.push(S);i.setAttribute(s.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+a+")"),this.gf=o,this.cst=u},SVGGradientFillStyleData.prototype.setGradientOpacity=function(i,s){if(this.g._hasOpacity&&!this.g._collapsable){var a,o,u,S=createNS("mask"),P=createNS("path");S.appendChild(P);var C=createElementID(),E=createElementID();S.setAttribute("id",E);var _=createNS(i.t===1?"linearGradient":"radialGradient");_.setAttribute("id",C),_.setAttribute("spreadMethod","pad"),_.setAttribute("gradientUnits","userSpaceOnUse"),u=i.g.k.k[0].s?i.g.k.k[0].s.length:i.g.k.k.length;var I=this.stops;for(o=i.g.p*4;o<u;o+=2)a=createNS("stop"),a.setAttribute("stop-color","rgb(255,255,255)"),_.appendChild(a),I.push(a);P.setAttribute(i.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+C+")"),i.ty==="gs"&&(P.setAttribute("stroke-linecap",lineCapEnum[i.lc||2]),P.setAttribute("stroke-linejoin",lineJoinEnum[i.lj||2]),i.lj===1&&P.setAttribute("stroke-miterlimit",i.ml)),this.of=_,this.ms=S,this.ost=I,this.maskId=E,s.msElem=P}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);function SVGGradientStrokeStyleData(i,s,a){this.initDynamicPropertyContainer(i),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(i,s.w,0,null,this),this.d=new DashProperty(i,s.d||{},"svg",this),this.initGradientData(i,s,a),this._isAnimated=!!this._isAnimated}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(i,s,a){this.transform={mProps:i,op:s,container:a},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}var buildShapeString=function(s,a,o,u){if(a===0)return"";var S=s.o,P=s.i,C=s.v,E,_=" M"+u.applyToPointStringified(C[0][0],C[0][1]);for(E=1;E<a;E+=1)_+=" C"+u.applyToPointStringified(S[E-1][0],S[E-1][1])+" "+u.applyToPointStringified(P[E][0],P[E][1])+" "+u.applyToPointStringified(C[E][0],C[E][1]);return o&&a&&(_+=" C"+u.applyToPointStringified(S[E-1][0],S[E-1][1])+" "+u.applyToPointStringified(P[0][0],P[0][1])+" "+u.applyToPointStringified(C[0][0],C[0][1]),_+="z"),_},SVGElementsRenderer=function(){var i=new Matrix,s=new Matrix,a={createRenderFunction:o};function o(j){switch(j.ty){case"fl":return C;case"gf":return _;case"gs":return E;case"st":return I;case"sh":case"el":case"rc":case"sr":return P;case"tr":return u;case"no":return S;default:return null}}function u(j,T,O){(O||T.transform.op._mdf)&&T.transform.container.setAttribute("opacity",T.transform.op.v),(O||T.transform.mProps._mdf)&&T.transform.container.setAttribute("transform",T.transform.mProps.v.to2dCSS())}function S(){}function P(j,T,O){var D,L,H,F,R,M,V=T.styles.length,N=T.lvl,W,X,Y,J;for(M=0;M<V;M+=1){if(F=T.sh._mdf||O,T.styles[M].lvl<N){for(X=s.reset(),Y=N-T.styles[M].lvl,J=T.transformers.length-1;!F&&Y>0;)F=T.transformers[J].mProps._mdf||F,Y-=1,J-=1;if(F)for(Y=N-T.styles[M].lvl,J=T.transformers.length-1;Y>0;)X.multiply(T.transformers[J].mProps.v),Y-=1,J-=1}else X=i;if(W=T.sh.paths,L=W._length,F){for(H="",D=0;D<L;D+=1)R=W.shapes[D],R&&R._length&&(H+=buildShapeString(R,R._length,R.c,X));T.caches[M]=H}else H=T.caches[M];T.styles[M].d+=j.hd===!0?"":H,T.styles[M]._mdf=F||T.styles[M]._mdf}}function C(j,T,O){var D=T.style;(T.c._mdf||O)&&D.pElem.setAttribute("fill","rgb("+bmFloor(T.c.v[0])+","+bmFloor(T.c.v[1])+","+bmFloor(T.c.v[2])+")"),(T.o._mdf||O)&&D.pElem.setAttribute("fill-opacity",T.o.v)}function E(j,T,O){_(j,T,O),I(j,T,O)}function _(j,T,O){var D=T.gf,L=T.g._hasOpacity,H=T.s.v,F=T.e.v;if(T.o._mdf||O){var R=j.ty==="gf"?"fill-opacity":"stroke-opacity";T.style.pElem.setAttribute(R,T.o.v)}if(T.s._mdf||O){var M=j.t===1?"x1":"cx",V=M==="x1"?"y1":"cy";D.setAttribute(M,H[0]),D.setAttribute(V,H[1]),L&&!T.g._collapsable&&(T.of.setAttribute(M,H[0]),T.of.setAttribute(V,H[1]))}var N,W,X,Y;if(T.g._cmdf||O){N=T.cst;var J=T.g.c;for(X=N.length,W=0;W<X;W+=1)Y=N[W],Y.setAttribute("offset",J[W*4]+"%"),Y.setAttribute("stop-color","rgb("+J[W*4+1]+","+J[W*4+2]+","+J[W*4+3]+")")}if(L&&(T.g._omdf||O)){var re=T.g.o;for(T.g._collapsable?N=T.cst:N=T.ost,X=N.length,W=0;W<X;W+=1)Y=N[W],T.g._collapsable||Y.setAttribute("offset",re[W*2]+"%"),Y.setAttribute("stop-opacity",re[W*2+1])}if(j.t===1)(T.e._mdf||O)&&(D.setAttribute("x2",F[0]),D.setAttribute("y2",F[1]),L&&!T.g._collapsable&&(T.of.setAttribute("x2",F[0]),T.of.setAttribute("y2",F[1])));else{var te;if((T.s._mdf||T.e._mdf||O)&&(te=Math.sqrt(Math.pow(H[0]-F[0],2)+Math.pow(H[1]-F[1],2)),D.setAttribute("r",te),L&&!T.g._collapsable&&T.of.setAttribute("r",te)),T.e._mdf||T.h._mdf||T.a._mdf||O){te||(te=Math.sqrt(Math.pow(H[0]-F[0],2)+Math.pow(H[1]-F[1],2)));var ee=Math.atan2(F[1]-H[1],F[0]-H[0]),se=T.h.v;se>=1?se=.99:se<=-1&&(se=-.99);var ne=te*se,Q=Math.cos(ee+T.a.v)*ne+H[0],$=Math.sin(ee+T.a.v)*ne+H[1];D.setAttribute("fx",Q),D.setAttribute("fy",$),L&&!T.g._collapsable&&(T.of.setAttribute("fx",Q),T.of.setAttribute("fy",$))}}}function I(j,T,O){var D=T.style,L=T.d;L&&(L._mdf||O)&&L.dashStr&&(D.pElem.setAttribute("stroke-dasharray",L.dashStr),D.pElem.setAttribute("stroke-dashoffset",L.dashoffset[0])),T.c&&(T.c._mdf||O)&&D.pElem.setAttribute("stroke","rgb("+bmFloor(T.c.v[0])+","+bmFloor(T.c.v[1])+","+bmFloor(T.c.v[2])+")"),(T.o._mdf||O)&&D.pElem.setAttribute("stroke-opacity",T.o.v),(T.w._mdf||O)&&(D.pElem.setAttribute("stroke-width",T.w.v),D.msElem&&D.msElem.setAttribute("stroke-width",T.w.v))}return a}();function SVGShapeElement(i,s,a){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(i,s,a),this.prevViewData=[]}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var i,s=this.shapes.length,a,o,u=this.stylesList.length,S,P=[],C=!1;for(o=0;o<u;o+=1){for(S=this.stylesList[o],C=!1,P.length=0,i=0;i<s;i+=1)a=this.shapes[i],a.styles.indexOf(S)!==-1&&(P.push(a),C=a._isAnimated||C);P.length>1&&C&&this.setShapesAsAnimated(P)}},SVGShapeElement.prototype.setShapesAsAnimated=function(i){var s,a=i.length;for(s=0;s<a;s+=1)i[s].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(i,s){var a,o=new SVGStyleData(i,s),u=o.pElem;if(i.ty==="st")a=new SVGStrokeStyleData(this,i,o);else if(i.ty==="fl")a=new SVGFillStyleData(this,i,o);else if(i.ty==="gf"||i.ty==="gs"){var S=i.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;a=new S(this,i,o),this.globalData.defs.appendChild(a.gf),a.maskId&&(this.globalData.defs.appendChild(a.ms),this.globalData.defs.appendChild(a.of),u.setAttribute("mask","url("+getLocationHref()+"#"+a.maskId+")"))}else i.ty==="no"&&(a=new SVGNoStyleData(this,i,o));return(i.ty==="st"||i.ty==="gs")&&(u.setAttribute("stroke-linecap",lineCapEnum[i.lc||2]),u.setAttribute("stroke-linejoin",lineJoinEnum[i.lj||2]),u.setAttribute("fill-opacity","0"),i.lj===1&&u.setAttribute("stroke-miterlimit",i.ml)),i.r===2&&u.setAttribute("fill-rule","evenodd"),i.ln&&u.setAttribute("id",i.ln),i.cl&&u.setAttribute("class",i.cl),i.bm&&(u.style["mix-blend-mode"]=getBlendMode(i.bm)),this.stylesList.push(o),this.addToAnimatedContents(i,a),a},SVGShapeElement.prototype.createGroupElement=function(i){var s=new ShapeGroupData;return i.ln&&s.gr.setAttribute("id",i.ln),i.cl&&s.gr.setAttribute("class",i.cl),i.bm&&(s.gr.style["mix-blend-mode"]=getBlendMode(i.bm)),s},SVGShapeElement.prototype.createTransformElement=function(i,s){var a=TransformPropertyFactory.getTransformProperty(this,i,this),o=new SVGTransformData(a,a.o,s);return this.addToAnimatedContents(i,o),o},SVGShapeElement.prototype.createShapeElement=function(i,s,a){var o=4;i.ty==="rc"?o=5:i.ty==="el"?o=6:i.ty==="sr"&&(o=7);var u=ShapePropertyFactory.getShapeProp(this,i,o,this),S=new SVGShapeData(s,a,u);return this.shapes.push(S),this.addShapeToModifiers(S),this.addToAnimatedContents(i,S),S},SVGShapeElement.prototype.addToAnimatedContents=function(i,s){for(var a=0,o=this.animatedContents.length;a<o;){if(this.animatedContents[a].element===s)return;a+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(i),element:s,data:i})},SVGShapeElement.prototype.setElementStyles=function(i){var s=i.styles,a,o=this.stylesList.length;for(a=0;a<o;a+=1)this.stylesList[a].closed||s.push(this.stylesList[a])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var i,s=this.itemsData.length;for(i=0;i<s;i+=1)this.prevViewData[i]=this.itemsData[i];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),s=this.dynamicProperties.length,i=0;i<s;i+=1)this.dynamicProperties[i].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(i,s,a,o,u,S,P){var C=[].concat(S),E,_=i.length-1,I,j,T=[],O=[],D,L,H;for(E=_;E>=0;E-=1){if(H=this.searchProcessedElement(i[E]),H?s[E]=a[H-1]:i[E]._render=P,i[E].ty==="fl"||i[E].ty==="st"||i[E].ty==="gf"||i[E].ty==="gs"||i[E].ty==="no")H?s[E].style.closed=!1:s[E]=this.createStyleElement(i[E],u),i[E]._render&&s[E].style.pElem.parentNode!==o&&o.appendChild(s[E].style.pElem),T.push(s[E].style);else if(i[E].ty==="gr"){if(!H)s[E]=this.createGroupElement(i[E]);else for(j=s[E].it.length,I=0;I<j;I+=1)s[E].prevViewData[I]=s[E].it[I];this.searchShapes(i[E].it,s[E].it,s[E].prevViewData,s[E].gr,u+1,C,P),i[E]._render&&s[E].gr.parentNode!==o&&o.appendChild(s[E].gr)}else i[E].ty==="tr"?(H||(s[E]=this.createTransformElement(i[E],o)),D=s[E].transform,C.push(D)):i[E].ty==="sh"||i[E].ty==="rc"||i[E].ty==="el"||i[E].ty==="sr"?(H||(s[E]=this.createShapeElement(i[E],C,u)),this.setElementStyles(s[E])):i[E].ty==="tm"||i[E].ty==="rd"||i[E].ty==="ms"||i[E].ty==="pb"||i[E].ty==="zz"||i[E].ty==="op"?(H?(L=s[E],L.closed=!1):(L=ShapeModifiers.getModifier(i[E].ty),L.init(this,i[E]),s[E]=L,this.shapeModifiers.push(L)),O.push(L)):i[E].ty==="rp"&&(H?(L=s[E],L.closed=!0):(L=ShapeModifiers.getModifier(i[E].ty),s[E]=L,L.init(this,i,E,s),this.shapeModifiers.push(L),P=!1),O.push(L));this.addProcessedElement(i[E],E+1)}for(_=T.length,E=0;E<_;E+=1)T[E].closed=!0;for(_=O.length,E=0;E<_;E+=1)O[E].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].reset();for(this.renderShape(),i=0;i<s;i+=1)(this.stylesList[i]._mdf||this._isFirstFrame)&&(this.stylesList[i].msElem&&(this.stylesList[i].msElem.setAttribute("d",this.stylesList[i].d),this.stylesList[i].d="M0 0"+this.stylesList[i].d),this.stylesList[i].pElem.setAttribute("d",this.stylesList[i].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var i,s=this.animatedContents.length,a;for(i=0;i<s;i+=1)a=this.animatedContents[i],(this._isFirstFrame||a.element._isAnimated)&&a.data!==!0&&a.fn(a.data,a.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(i,s,a,o,u,S){this.o=i,this.sw=s,this.sc=a,this.fc=o,this.m=u,this.p=S,this._mdf={o:!0,sw:!!s,sc:!!a,fc:!!o,m:!0,p:!0}}LetterProps.prototype.update=function(i,s,a,o,u,S){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var P=!1;return this.o!==i&&(this.o=i,this._mdf.o=!0,P=!0),this.sw!==s&&(this.sw=s,this._mdf.sw=!0,P=!0),this.sc!==a&&(this.sc=a,this._mdf.sc=!0,P=!0),this.fc!==o&&(this.fc=o,this._mdf.fc=!0,P=!0),this.m!==u&&(this.m=u,this._mdf.m=!0,P=!0),S.length&&(this.p[0]!==S[0]||this.p[1]!==S[1]||this.p[4]!==S[4]||this.p[5]!==S[5]||this.p[12]!==S[12]||this.p[13]!==S[13])&&(this.p=S,this._mdf.p=!0,P=!0),P};function TextProperty(i,s){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,s.d&&s.d.sid&&(s.d=i.globalData.slotManager.getProp(s.d)),this.data=s,this.elem=i,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(i,s){for(var a in s)Object.prototype.hasOwnProperty.call(s,a)&&(i[a]=s[a]);return i},TextProperty.prototype.setCurrentData=function(i){i.__complete||this.completeTextData(i),this.currentData=i,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(i){this.effectsSequence.push(i),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(i){if(!((this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)&&!i)){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var s=this.currentData,a=this.keysIndex;if(this.lock){this.setCurrentData(this.currentData);return}this.lock=!0,this._mdf=!1;var o,u=this.effectsSequence.length,S=i||this.data.d.k[this.keysIndex].s;for(o=0;o<u;o+=1)a!==this.keysIndex?S=this.effectsSequence[o](S,S.t):S=this.effectsSequence[o](this.currentData,S.t);s!==S&&this.setCurrentData(S),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var i=this.data.d.k,s=this.elem.comp.renderedFrame,a=0,o=i.length;a<=o-1&&!(a===o-1||i[a+1].t>s);)a+=1;return this.keysIndex!==a&&(this.keysIndex=a),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(i){for(var s=[],a=0,o=i.length,u,S,P=!1,C=!1,E="";a<o;)P=C,C=!1,u=i.charCodeAt(a),E=i.charAt(a),FontManager.isCombinedCharacter(u)?P=!0:u>=55296&&u<=56319?FontManager.isRegionalFlag(i,a)?E=i.substr(a,14):(S=i.charCodeAt(a+1),S>=56320&&S<=57343&&(FontManager.isModifier(u,S)?(E=i.substr(a,2),P=!0):FontManager.isFlagEmoji(i.substr(a,4))?E=i.substr(a,4):E=i.substr(a,2))):u>56319?(S=i.charCodeAt(a+1),FontManager.isVariationSelector(u)&&(P=!0)):FontManager.isZeroWidthJoiner(u)&&(P=!0,C=!0),P?(s[s.length-1]+=E,P=!1):s.push(E),a+=E.length;return s},TextProperty.prototype.completeTextData=function(i){i.__complete=!0;var s=this.elem.globalData.fontManager,a=this.data,o=[],u,S,P,C=0,E,_=a.m.g,I=0,j=0,T=0,O=[],D=0,L=0,H,F,R=s.getFontByName(i.f),M,V=0,N=getFontProperties(R);i.fWeight=N.weight,i.fStyle=N.style,i.finalSize=i.s,i.finalText=this.buildFinalText(i.t),S=i.finalText.length,i.finalLineHeight=i.lh;var W=i.tr/1e3*i.finalSize,X;if(i.sz)for(var Y=!0,J=i.sz[0],re=i.sz[1],te,ee;Y;){ee=this.buildFinalText(i.t),te=0,D=0,S=ee.length,W=i.tr/1e3*i.finalSize;var se=-1;for(u=0;u<S;u+=1)X=ee[u].charCodeAt(0),P=!1,ee[u]===" "?se=u:(X===13||X===3)&&(D=0,P=!0,te+=i.finalLineHeight||i.finalSize*1.2),s.chars?(M=s.getCharData(ee[u],R.fStyle,R.fFamily),V=P?0:M.w*i.finalSize/100):V=s.measureText(ee[u],i.f,i.finalSize),D+V>J&&ee[u]!==" "?(se===-1?S+=1:u=se,te+=i.finalLineHeight||i.finalSize*1.2,ee.splice(u,se===u?1:0,"\r"),se=-1,D=0):(D+=V,D+=W);te+=R.ascent*i.finalSize/100,this.canResize&&i.finalSize>this.minimumFontSize&&re<te?(i.finalSize-=1,i.finalLineHeight=i.finalSize*i.lh/i.s):(i.finalText=ee,S=i.finalText.length,Y=!1)}D=-W,V=0;var ne=0,Q;for(u=0;u<S;u+=1)if(P=!1,Q=i.finalText[u],X=Q.charCodeAt(0),X===13||X===3?(ne=0,O.push(D),L=D>L?D:L,D=-2*W,E="",P=!0,T+=1):E=Q,s.chars?(M=s.getCharData(Q,R.fStyle,s.getFontByName(i.f).fFamily),V=P?0:M.w*i.finalSize/100):V=s.measureText(E,i.f,i.finalSize),Q===" "?ne+=V+W:(D+=V+W+ne,ne=0),o.push({l:V,an:V,add:I,n:P,anIndexes:[],val:E,line:T,animatorJustifyOffset:0}),_==2){if(I+=V,E===""||E===" "||u===S-1){for((E===""||E===" ")&&(I-=V);j<=u;)o[j].an=I,o[j].ind=C,o[j].extra=V,j+=1;C+=1,I=0}}else if(_==3){if(I+=V,E===""||u===S-1){for(E===""&&(I-=V);j<=u;)o[j].an=I,o[j].ind=C,o[j].extra=V,j+=1;I=0,C+=1}}else o[C].ind=C,o[C].extra=0,C+=1;if(i.l=o,L=D>L?D:L,O.push(D),i.sz)i.boxWidth=i.sz[0],i.justifyOffset=0;else switch(i.boxWidth=L,i.j){case 1:i.justifyOffset=-i.boxWidth;break;case 2:i.justifyOffset=-i.boxWidth/2;break;default:i.justifyOffset=0}i.lineWidths=O;var $=a.a,K,B;F=$.length;var G,U,Z=[];for(H=0;H<F;H+=1){for(K=$[H],K.a.sc&&(i.strokeColorAnim=!0),K.a.sw&&(i.strokeWidthAnim=!0),(K.a.fc||K.a.fh||K.a.fs||K.a.fb)&&(i.fillColorAnim=!0),U=0,G=K.s.b,u=0;u<S;u+=1)B=o[u],B.anIndexes[H]=U,(G==1&&B.val!==""||G==2&&B.val!==""&&B.val!==" "||G==3&&(B.n||B.val==" "||u==S-1)||G==4&&(B.n||u==S-1))&&(K.s.rn===1&&Z.push(U),U+=1);a.a[H].s.totalChars=U;var ie=-1,le;if(K.s.rn===1)for(u=0;u<S;u+=1)B=o[u],ie!=B.anIndexes[H]&&(ie=B.anIndexes[H],le=Z.splice(Math.floor(Math.random()*Z.length),1)[0]),B.anIndexes[H]=le}i.yOffset=i.finalLineHeight||i.finalSize*1.2,i.ls=i.ls||0,i.ascent=R.ascent*i.finalSize/100},TextProperty.prototype.updateDocumentData=function(i,s){s=s===void 0?this.keysIndex:s;var a=this.copyData({},this.data.d.k[s].s);a=this.copyData(a,i),this.data.d.k[s].s=a,this.recalculate(s),this.setCurrentData(a),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(i){var s=this.data.d.k[i].s;s.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(s)},TextProperty.prototype.canResizeFont=function(i){this.canResize=i,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(i){this.minimumFontSize=Math.floor(i)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var i=Math.max,s=Math.min,a=Math.floor;function o(S,P){this._currentTextLength=-1,this.k=!1,this.data=P,this.elem=S,this.comp=S.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(S),this.s=PropertyFactory.getProp(S,P.s||{k:0},0,0,this),"e"in P?this.e=PropertyFactory.getProp(S,P.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(S,P.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(S,P.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(S,P.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(S,P.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(S,P.a,0,.01,this),this.dynamicProperties.length||this.getValue()}o.prototype={getMult:function(P){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var C=0,E=0,_=1,I=1;this.ne.v>0?C=this.ne.v/100:E=-this.ne.v/100,this.xe.v>0?_=1-this.xe.v/100:I=1+this.xe.v/100;var j=BezierFactory.getBezierEasing(C,E,_,I).get,T=0,O=this.finalS,D=this.finalE,L=this.data.sh;if(L===2)D===O?T=P>=D?1:0:T=i(0,s(.5/(D-O)+(P-O)/(D-O),1)),T=j(T);else if(L===3)D===O?T=P>=D?0:1:T=1-i(0,s(.5/(D-O)+(P-O)/(D-O),1)),T=j(T);else if(L===4)D===O?T=0:(T=i(0,s(.5/(D-O)+(P-O)/(D-O),1)),T<.5?T*=2:T=1-2*(T-.5)),T=j(T);else if(L===5){if(D===O)T=0;else{var H=D-O;P=s(i(0,P+.5-O),D-O);var F=-H/2+P,R=H/2;T=Math.sqrt(1-F*F/(R*R))}T=j(T)}else L===6?(D===O?T=0:(P=s(i(0,P+.5-O),D-O),T=(1+Math.cos(Math.PI+Math.PI*2*P/(D-O)))/2),T=j(T)):(P>=a(O)&&(P-O<0?T=i(0,s(s(D,1)-(O-P),1)):T=i(0,s(D-P,1))),T=j(T));if(this.sm.v!==100){var M=this.sm.v*.01;M===0&&(M=1e-8);var V=.5-M*.5;T<V?T=0:(T=(T-V)/M,T>1&&(T=1))}return T*this.a.v},getValue:function(P){this.iterateDynamicProperties(),this._mdf=P||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,P&&this.data.r===2&&(this.e.v=this._currentTextLength);var C=this.data.r===2?1:100/this.data.totalChars,E=this.o.v/C,_=this.s.v/C+E,I=this.e.v/C+E;if(_>I){var j=_;_=I,I=j}this.finalS=_,this.finalE=I}},extendPrototype([DynamicPropertyContainer],o);function u(S,P,C){return new o(S,P)}return{getTextSelectorProp:u}}();function TextAnimatorDataProperty(i,s,a){var o={propType:!1},u=PropertyFactory.getProp,S=s.a;this.a={r:S.r?u(i,S.r,0,degToRads,a):o,rx:S.rx?u(i,S.rx,0,degToRads,a):o,ry:S.ry?u(i,S.ry,0,degToRads,a):o,sk:S.sk?u(i,S.sk,0,degToRads,a):o,sa:S.sa?u(i,S.sa,0,degToRads,a):o,s:S.s?u(i,S.s,1,.01,a):o,a:S.a?u(i,S.a,1,0,a):o,o:S.o?u(i,S.o,0,.01,a):o,p:S.p?u(i,S.p,1,0,a):o,sw:S.sw?u(i,S.sw,0,0,a):o,sc:S.sc?u(i,S.sc,1,0,a):o,fc:S.fc?u(i,S.fc,1,0,a):o,fh:S.fh?u(i,S.fh,0,0,a):o,fs:S.fs?u(i,S.fs,0,.01,a):o,fb:S.fb?u(i,S.fb,0,.01,a):o,t:S.t?u(i,S.t,0,0,a):o},this.s=TextSelectorProp.getTextSelectorProp(i,s.s,a),this.s.t=s.s.t}function TextAnimatorProperty(i,s,a){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=i,this._renderType=s,this._elem=a,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(a)}TextAnimatorProperty.prototype.searchProperties=function(){var i,s=this._textData.a.length,a,o=PropertyFactory.getProp;for(i=0;i<s;i+=1)a=this._textData.a[i],this._animatorsData[i]=new TextAnimatorDataProperty(this._elem,a,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:o(this._elem,this._textData.p.a,0,0,this),f:o(this._elem,this._textData.p.f,0,0,this),l:o(this._elem,this._textData.p.l,0,0,this),r:o(this._elem,this._textData.p.r,0,0,this),p:o(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=o(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(i,s){if(this.lettersChangedFlag=s,!(!this._mdf&&!this._isFirstFrame&&!s&&(!this._hasMaskedPath||!this._pathData.m._mdf))){this._isFirstFrame=!1;var a=this._moreOptions.alignment.v,o=this._animatorsData,u=this._textData,S=this.mHelper,P=this._renderType,C=this.renderedLetters.length,E,_,I,j,T=i.l,O,D,L,H,F,R,M,V,N,W,X,Y,J,re,te;if(this._hasMaskedPath){if(te=this._pathData.m,!this._pathData.n||this._pathData._mdf){var ee=te.v;this._pathData.r.v&&(ee=ee.reverse()),O={tLength:0,segments:[]},j=ee._length-1;var se;for(Y=0,I=0;I<j;I+=1)se=bez.buildBezierData(ee.v[I],ee.v[I+1],[ee.o[I][0]-ee.v[I][0],ee.o[I][1]-ee.v[I][1]],[ee.i[I+1][0]-ee.v[I+1][0],ee.i[I+1][1]-ee.v[I+1][1]]),O.tLength+=se.segmentLength,O.segments.push(se),Y+=se.segmentLength;I=j,te.v.c&&(se=bez.buildBezierData(ee.v[I],ee.v[0],[ee.o[I][0]-ee.v[I][0],ee.o[I][1]-ee.v[I][1]],[ee.i[0][0]-ee.v[0][0],ee.i[0][1]-ee.v[0][1]]),O.tLength+=se.segmentLength,O.segments.push(se),Y+=se.segmentLength),this._pathData.pi=O}if(O=this._pathData.pi,D=this._pathData.f.v,M=0,R=1,H=0,F=!0,W=O.segments,D<0&&te.v.c)for(O.tLength<Math.abs(D)&&(D=-Math.abs(D)%O.tLength),M=W.length-1,N=W[M].points,R=N.length-1;D<0;)D+=N[R].partialLength,R-=1,R<0&&(M-=1,N=W[M].points,R=N.length-1);N=W[M].points,V=N[R-1],L=N[R],X=L.partialLength}j=T.length,E=0,_=0;var ne=i.finalSize*1.2*.714,Q=!0,$,K,B,G,U;G=o.length;var Z,ie=-1,le,he,fe,oe=D,me=M,ce=R,Se=-1,ve,ue,ge,pe,ae,Ce,Ee,Pe,de="",xe=this.defaultPropsArray,be;if(i.j===2||i.j===1){var ye=0,Ae=0,ke=i.j===2?-.5:-1,_e=0,Me=!0;for(I=0;I<j;I+=1)if(T[I].n){for(ye&&(ye+=Ae);_e<I;)T[_e].animatorJustifyOffset=ye,_e+=1;ye=0,Me=!0}else{for(B=0;B<G;B+=1)$=o[B].a,$.t.propType&&(Me&&i.j===2&&(Ae+=$.t.v*ke),K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?ye+=$.t.v*Z[0]*ke:ye+=$.t.v*Z*ke);Me=!1}for(ye&&(ye+=Ae);_e<I;)T[_e].animatorJustifyOffset=ye,_e+=1}for(I=0;I<j;I+=1){if(S.reset(),ve=1,T[I].n)E=0,_+=i.yOffset,_+=Q?1:0,D=oe,Q=!1,this._hasMaskedPath&&(M=me,R=ce,N=W[M].points,V=N[R-1],L=N[R],X=L.partialLength,H=0),de="",Pe="",Ce="",be="",xe=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Se!==T[I].line){switch(i.j){case 1:D+=Y-i.lineWidths[T[I].line];break;case 2:D+=(Y-i.lineWidths[T[I].line])/2;break}Se=T[I].line}ie!==T[I].ind&&(T[ie]&&(D+=T[ie].extra),D+=T[I].an/2,ie=T[I].ind),D+=a[0]*T[I].an*.005;var Te=0;for(B=0;B<G;B+=1)$=o[B].a,$.p.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?Te+=$.p.v[0]*Z[0]:Te+=$.p.v[0]*Z),$.a.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?Te+=$.a.v[0]*Z[0]:Te+=$.a.v[0]*Z);for(F=!0,this._pathData.a.v&&(D=T[0].an*.5+(Y-this._pathData.f.v-T[0].an*.5-T[T.length-1].an*.5)*ie/(j-1),D+=this._pathData.f.v);F;)H+X>=D+Te||!N?(J=(D+Te-H)/L.partialLength,he=V.point[0]+(L.point[0]-V.point[0])*J,fe=V.point[1]+(L.point[1]-V.point[1])*J,S.translate(-a[0]*T[I].an*.005,-(a[1]*ne)*.01),F=!1):N&&(H+=L.partialLength,R+=1,R>=N.length&&(R=0,M+=1,W[M]?N=W[M].points:te.v.c?(R=0,M=0,N=W[M].points):(H-=L.partialLength,N=null)),N&&(V=L,L=N[R],X=L.partialLength));le=T[I].an/2-T[I].add,S.translate(-le,0,0)}else le=T[I].an/2-T[I].add,S.translate(-le,0,0),S.translate(-a[0]*T[I].an*.005,-a[1]*ne*.01,0);for(B=0;B<G;B+=1)$=o[B].a,$.t.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),(E!==0||i.j!==0)&&(this._hasMaskedPath?Z.length?D+=$.t.v*Z[0]:D+=$.t.v*Z:Z.length?E+=$.t.v*Z[0]:E+=$.t.v*Z));for(i.strokeWidthAnim&&(ge=i.sw||0),i.strokeColorAnim&&(i.sc?ue=[i.sc[0],i.sc[1],i.sc[2]]:ue=[0,0,0]),i.fillColorAnim&&i.fc&&(pe=[i.fc[0],i.fc[1],i.fc[2]]),B=0;B<G;B+=1)$=o[B].a,$.a.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?S.translate(-$.a.v[0]*Z[0],-$.a.v[1]*Z[1],$.a.v[2]*Z[2]):S.translate(-$.a.v[0]*Z,-$.a.v[1]*Z,$.a.v[2]*Z));for(B=0;B<G;B+=1)$=o[B].a,$.s.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),Z.length?S.scale(1+($.s.v[0]-1)*Z[0],1+($.s.v[1]-1)*Z[1],1):S.scale(1+($.s.v[0]-1)*Z,1+($.s.v[1]-1)*Z,1));for(B=0;B<G;B+=1){if($=o[B].a,K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),$.sk.propType&&(Z.length?S.skewFromAxis(-$.sk.v*Z[0],$.sa.v*Z[1]):S.skewFromAxis(-$.sk.v*Z,$.sa.v*Z)),$.r.propType&&(Z.length?S.rotateZ(-$.r.v*Z[2]):S.rotateZ(-$.r.v*Z)),$.ry.propType&&(Z.length?S.rotateY($.ry.v*Z[1]):S.rotateY($.ry.v*Z)),$.rx.propType&&(Z.length?S.rotateX($.rx.v*Z[0]):S.rotateX($.rx.v*Z)),$.o.propType&&(Z.length?ve+=($.o.v*Z[0]-ve)*Z[0]:ve+=($.o.v*Z-ve)*Z),i.strokeWidthAnim&&$.sw.propType&&(Z.length?ge+=$.sw.v*Z[0]:ge+=$.sw.v*Z),i.strokeColorAnim&&$.sc.propType)for(ae=0;ae<3;ae+=1)Z.length?ue[ae]+=($.sc.v[ae]-ue[ae])*Z[0]:ue[ae]+=($.sc.v[ae]-ue[ae])*Z;if(i.fillColorAnim&&i.fc){if($.fc.propType)for(ae=0;ae<3;ae+=1)Z.length?pe[ae]+=($.fc.v[ae]-pe[ae])*Z[0]:pe[ae]+=($.fc.v[ae]-pe[ae])*Z;$.fh.propType&&(Z.length?pe=addHueToRGB(pe,$.fh.v*Z[0]):pe=addHueToRGB(pe,$.fh.v*Z)),$.fs.propType&&(Z.length?pe=addSaturationToRGB(pe,$.fs.v*Z[0]):pe=addSaturationToRGB(pe,$.fs.v*Z)),$.fb.propType&&(Z.length?pe=addBrightnessToRGB(pe,$.fb.v*Z[0]):pe=addBrightnessToRGB(pe,$.fb.v*Z))}}for(B=0;B<G;B+=1)$=o[B].a,$.p.propType&&(K=o[B].s,Z=K.getMult(T[I].anIndexes[B],u.a[B].s.totalChars),this._hasMaskedPath?Z.length?S.translate(0,$.p.v[1]*Z[0],-$.p.v[2]*Z[1]):S.translate(0,$.p.v[1]*Z,-$.p.v[2]*Z):Z.length?S.translate($.p.v[0]*Z[0],$.p.v[1]*Z[1],-$.p.v[2]*Z[2]):S.translate($.p.v[0]*Z,$.p.v[1]*Z,-$.p.v[2]*Z));if(i.strokeWidthAnim&&(Ce=ge<0?0:ge),i.strokeColorAnim&&(Ee="rgb("+Math.round(ue[0]*255)+","+Math.round(ue[1]*255)+","+Math.round(ue[2]*255)+")"),i.fillColorAnim&&i.fc&&(Pe="rgb("+Math.round(pe[0]*255)+","+Math.round(pe[1]*255)+","+Math.round(pe[2]*255)+")"),this._hasMaskedPath){if(S.translate(0,-i.ls),S.translate(0,a[1]*ne*.01+_,0),this._pathData.p.v){re=(L.point[1]-V.point[1])/(L.point[0]-V.point[0]);var we=Math.atan(re)*180/Math.PI;L.point[0]<V.point[0]&&(we+=180),S.rotate(-we*Math.PI/180)}S.translate(he,fe,0),D-=a[0]*T[I].an*.005,T[I+1]&&ie!==T[I+1].ind&&(D+=T[I].an/2,D+=i.tr*.001*i.finalSize)}else{switch(S.translate(E,_,0),i.ps&&S.translate(i.ps[0],i.ps[1]+i.ascent,0),i.j){case 1:S.translate(T[I].animatorJustifyOffset+i.justifyOffset+(i.boxWidth-i.lineWidths[T[I].line]),0,0);break;case 2:S.translate(T[I].animatorJustifyOffset+i.justifyOffset+(i.boxWidth-i.lineWidths[T[I].line])/2,0,0);break}S.translate(0,-i.ls),S.translate(le,0,0),S.translate(a[0]*T[I].an*.005,a[1]*ne*.01,0),E+=T[I].l+i.tr*.001*i.finalSize}P==="html"?de=S.toCSS():P==="svg"?de=S.to2dCSS():xe=[S.props[0],S.props[1],S.props[2],S.props[3],S.props[4],S.props[5],S.props[6],S.props[7],S.props[8],S.props[9],S.props[10],S.props[11],S.props[12],S.props[13],S.props[14],S.props[15]],be=ve}C<=I?(U=new LetterProps(be,Ce,Ee,Pe,de,xe),this.renderedLetters.push(U),C+=1,this.lettersChangedFlag=!0):(U=this.renderedLetters[I],this.lettersChangedFlag=U.update(be,Ce,Ee,Pe,de,xe)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(i,s,a){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(i,s,a),this.textProperty=new TextProperty(this,i.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(i.t,this.renderType,this),this.initTransform(i,s,a),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(i){this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange)},ITextElement.prototype.createPathShape=function(i,s){var a,o=s.length,u,S="";for(a=0;a<o;a+=1)s[a].ty==="sh"&&(u=s[a].ks.k,S+=buildShapeString(u,u.i.length,!0,i));return S},ITextElement.prototype.updateDocumentData=function(i,s){this.textProperty.updateDocumentData(i,s)},ITextElement.prototype.canResizeFont=function(i){this.textProperty.canResizeFont(i)},ITextElement.prototype.setMinimumFontSize=function(i){this.textProperty.setMinimumFontSize(i)},ITextElement.prototype.applyTextPropertiesToMatrix=function(i,s,a,o,u){switch(i.ps&&s.translate(i.ps[0],i.ps[1]+i.ascent,0),s.translate(0,-i.ls,0),i.j){case 1:s.translate(i.justifyOffset+(i.boxWidth-i.lineWidths[a]),0,0);break;case 2:s.translate(i.justifyOffset+(i.boxWidth-i.lineWidths[a])/2,0,0);break}s.translate(o,u,0)},ITextElement.prototype.buildColor=function(i){return"rgb("+Math.round(i[0]*255)+","+Math.round(i[1]*255)+","+Math.round(i[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(i,s,a){this.textSpans=[],this.renderType="svg",this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(i){for(var s=0,a=i.length,o=[],u="";s<a;)i[s]==="\r"||i[s]===""?(o.push(u),u=""):u+=i[s],s+=1;return o.push(u),o},SVGTextLottieElement.prototype.buildShapeData=function(i,s){if(i.shapes&&i.shapes.length){var a=i.shapes[0];if(a.it){var o=a.it[a.it.length-1];o.s&&(o.s.k[0]=s,o.s.k[1]=s)}}return i},SVGTextLottieElement.prototype.buildNewText=function(){this.addDynamicProperty(this);var i,s,a=this.textProperty.currentData;this.renderedLetters=createSizedArray(a?a.l.length:0),a.fc?this.layerElement.setAttribute("fill",this.buildColor(a.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),a.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(a.sc)),this.layerElement.setAttribute("stroke-width",a.sw)),this.layerElement.setAttribute("font-size",a.finalSize);var o=this.globalData.fontManager.getFontByName(a.f);if(o.fClass)this.layerElement.setAttribute("class",o.fClass);else{this.layerElement.setAttribute("font-family",o.fFamily);var u=a.fWeight,S=a.fStyle;this.layerElement.setAttribute("font-style",S),this.layerElement.setAttribute("font-weight",u)}this.layerElement.setAttribute("aria-label",a.t);var P=a.l||[],C=!!this.globalData.fontManager.chars;s=P.length;var E,_=this.mHelper,I="",j=this.data.singleShape,T=0,O=0,D=!0,L=a.tr*.001*a.finalSize;if(j&&!C&&!a.sz){var H=this.textContainer,F="start";switch(a.j){case 1:F="end";break;case 2:F="middle";break;default:F="start";break}H.setAttribute("text-anchor",F),H.setAttribute("letter-spacing",L);var R=this.buildTextContents(a.finalText);for(s=R.length,O=a.ps?a.ps[1]+a.ascent:0,i=0;i<s;i+=1)E=this.textSpans[i].span||createNS("tspan"),E.textContent=R[i],E.setAttribute("x",0),E.setAttribute("y",O),E.style.display="inherit",H.appendChild(E),this.textSpans[i]||(this.textSpans[i]={span:null,glyph:null}),this.textSpans[i].span=E,O+=a.finalLineHeight;this.layerElement.appendChild(H)}else{var M=this.textSpans.length,V;for(i=0;i<s;i+=1){if(this.textSpans[i]||(this.textSpans[i]={span:null,childSpan:null,glyph:null}),!C||!j||i===0){if(E=M>i?this.textSpans[i].span:createNS(C?"g":"text"),M<=i){if(E.setAttribute("stroke-linecap","butt"),E.setAttribute("stroke-linejoin","round"),E.setAttribute("stroke-miterlimit","4"),this.textSpans[i].span=E,C){var N=createNS("g");E.appendChild(N),this.textSpans[i].childSpan=N}this.textSpans[i].span=E,this.layerElement.appendChild(E)}E.style.display="inherit"}if(_.reset(),j&&(P[i].n&&(T=-L,O+=a.yOffset,O+=D?1:0,D=!1),this.applyTextPropertiesToMatrix(a,_,P[i].line,T,O),T+=P[i].l||0,T+=L),C){V=this.globalData.fontManager.getCharData(a.finalText[i],o.fStyle,this.globalData.fontManager.getFontByName(a.f).fFamily);var W;if(V.t===1)W=new SVGCompElement(V.data,this.globalData,this);else{var X=emptyShapeData;V.data&&V.data.shapes&&(X=this.buildShapeData(V.data,a.finalSize)),W=new SVGShapeElement(X,this.globalData,this)}if(this.textSpans[i].glyph){var Y=this.textSpans[i].glyph;this.textSpans[i].childSpan.removeChild(Y.layerElement),Y.destroy()}this.textSpans[i].glyph=W,W._debug=!0,W.prepareFrame(0),W.renderFrame(),this.textSpans[i].childSpan.appendChild(W.layerElement),V.t===1&&this.textSpans[i].childSpan.setAttribute("transform","scale("+a.finalSize/100+","+a.finalSize/100+")")}else j&&E.setAttribute("transform","translate("+_.props[12]+","+_.props[13]+")"),E.textContent=P[i].val,E.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}j&&E&&E.setAttribute("d",I)}for(;i<this.textSpans.length;)this.textSpans[i].span.style.display="none",i+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var i=this.layerElement.getBBox();this.bbox={top:i.y,left:i.x,width:i.width,height:i.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var i,s=this.textSpans.length,a;for(this.renderedFrame=this.comp.renderedFrame,i=0;i<s;i+=1)a=this.textSpans[i].glyph,a&&(a.prepareFrame(this.comp.renderedFrame-this.data.st),a._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var i,s,a=this.textAnimator.renderedLetters,o=this.textProperty.currentData.l;s=o.length;var u,S,P;for(i=0;i<s;i+=1)o[i].n||(u=a[i],S=this.textSpans[i].span,P=this.textSpans[i].glyph,P&&P.renderFrame(),u._mdf.m&&S.setAttribute("transform",u.m),u._mdf.o&&S.setAttribute("opacity",u.o),u._mdf.sw&&S.setAttribute("stroke-width",u.sw),u._mdf.sc&&S.setAttribute("stroke",u.sc),u._mdf.fc&&S.setAttribute("fill",u.fc))}};function ISolidElement(i,s,a){this.initElement(i,s,a)}extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var i=createNS("rect");i.setAttribute("width",this.data.sw),i.setAttribute("height",this.data.sh),i.setAttribute("fill",this.data.sc),this.layerElement.appendChild(i)};function NullElement(i,s,a){this.initFrame(),this.initBaseData(i,s,a),this.initFrame(),this.initTransform(i,s,a),this.initHierarchy()}NullElement.prototype.prepareFrame=function(i){this.prepareProperties(i,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement);function SVGRendererBase(){}extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(i){return new NullElement(i,this.globalData,this)},SVGRendererBase.prototype.createShape=function(i){return new SVGShapeElement(i,this.globalData,this)},SVGRendererBase.prototype.createText=function(i){return new SVGTextLottieElement(i,this.globalData,this)},SVGRendererBase.prototype.createImage=function(i){return new IImageElement(i,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(i){return new ISolidElement(i,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(i){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 "+i.w+" "+i.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",i.w),this.svgElement.setAttribute("height",i.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);var s=this.globalData.defs;this.setupGlobalData(i,s),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=i;var a=createNS("clipPath"),o=createNS("rect");o.setAttribute("width",i.w),o.setAttribute("height",i.h),o.setAttribute("x",0),o.setAttribute("y",0);var u=createElementID();a.setAttribute("id",u),a.appendChild(o),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+u+")"),s.appendChild(a),this.layers=i.layers,this.elements=createSizedArray(i.layers.length)},SVGRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var i,s=this.layers?this.layers.length:0;for(i=0;i<s;i+=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(i){var s=0,a=this.layers.length;for(s=0;s<a;s+=1)if(this.layers[s].ind===i)return s;return-1},SVGRendererBase.prototype.buildItem=function(i){var s=this.elements;if(!(s[i]||this.layers[i].ty===99)){s[i]=!0;var a=this.createItem(this.layers[i]);if(s[i]=a,getExpressionsPlugin()&&(this.layers[i].ty===0&&this.globalData.projectInterface.registerComposition(a),a.initExpressions()),this.appendElementInPos(a,i),this.layers[i].tt){var o="tp"in this.layers[i]?this.findIndexByInd(this.layers[i].tp):i-1;if(o===-1)return;if(!this.elements[o]||this.elements[o]===!0)this.buildItem(o),this.addPendingElement(a);else{var u=s[o],S=u.getMatte(this.layers[i].tt);a.setMatte(S)}}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();if(i.checkParenting(),i.data.tt)for(var s=0,a=this.elements.length;s<a;){if(this.elements[s]===i){var o="tp"in i.data?this.findIndexByInd(i.data.tp):s-1,u=this.elements[o],S=u.getMatte(this.layers[s].tt);i.setMatte(S);break}s+=1}}},SVGRendererBase.prototype.renderFrame=function(i){if(!(this.renderedFrame===i||this.destroyed)){i===null?i=this.renderedFrame:this.renderedFrame=i,this.globalData.frameNum=i,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=i,this.globalData._mdf=!1;var s,a=this.layers.length;for(this.completeLayers||this.checkLayers(i),s=a-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&this.elements[s].prepareFrame(i-this.layers[s].st);if(this.globalData._mdf)for(s=0;s<a;s+=1)(this.completeLayers||this.elements[s])&&this.elements[s].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(i,s){var a=i.getBaseElement();if(a){for(var o=0,u;o<s;)this.elements[o]&&this.elements[o]!==!0&&this.elements[o].getBaseElement()&&(u=this.elements[o].getBaseElement()),o+=1;u?this.layerElement.insertBefore(a,u):this.layerElement.appendChild(a)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(i,s,a){this.initFrame(),this.initBaseData(i,s,a),this.initTransform(i,s,a),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),(this.data.xt||!s.progressiveLoad)&&this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(i){if(this._mdf=!1,this.prepareRenderableFrame(i),this.prepareProperties(i,this.isInRange),!(!this.isInRange&&!this.data.xt)){if(this.tm._placeholder)this.renderedFrame=i/this.data.sr;else{var s=this.tm.v;s===this.data.op&&(s=this.data.op-1),this.renderedFrame=s}var a,o=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),a=o-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&(this.elements[a].prepareFrame(this.renderedFrame-this.layers[a].st),this.elements[a]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var i,s=this.layers.length;for(i=0;i<s;i+=1)(this.completeLayers||this.elements[i])&&this.elements[i].renderFrame()},ICompElement.prototype.setElements=function(i){this.elements=i},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var i,s=this.layers.length;for(i=0;i<s;i+=1)this.elements[i]&&this.elements[i].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()};function SVGCompElement(i,s,a){this.layers=i.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(i,s,a),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,s.frameRate,this):{_placeholder:!0}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(i){return new SVGCompElement(i,this.globalData,this)};function SVGRenderer(i,s){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var a="";if(s&&s.title){var o=createNS("title"),u=createElementID();o.setAttribute("id",u),o.textContent=s.title,this.svgElement.appendChild(o),a+=u}if(s&&s.description){var S=createNS("desc"),P=createElementID();S.setAttribute("id",P),S.textContent=s.description,this.svgElement.appendChild(S),a+=" "+P}a&&this.svgElement.setAttribute("aria-labelledby",a);var C=createNS("defs");this.svgElement.appendChild(C);var E=createNS("g");this.svgElement.appendChild(E),this.layerElement=E,this.renderConfig={preserveAspectRatio:s&&s.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:s&&s.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:s&&s.contentVisibility||"visible",progressiveLoad:s&&s.progressiveLoad||!1,hideOnTransparent:!(s&&s.hideOnTransparent===!1),viewBoxOnly:s&&s.viewBoxOnly||!1,viewBoxSize:s&&s.viewBoxSize||!1,className:s&&s.className||"",id:s&&s.id||"",focusable:s&&s.focusable,filterSize:{width:s&&s.filterSize&&s.filterSize.width||"100%",height:s&&s.filterSize&&s.filterSize.height||"100%",x:s&&s.filterSize&&s.filterSize.x||"0%",y:s&&s.filterSize&&s.filterSize.y||"0%"},width:s&&s.width,height:s&&s.height,runExpressions:!s||s.runExpressions===void 0||s.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:C,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(i){return new SVGCompElement(i,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(s){var a,o=s.length,u="_";for(a=0;a<o;a+=1)u+=s[a].transform.key+"_";var S=this.sequences[u];return S||(S={transforms:[].concat(s),finalTransform:new Matrix,_mdf:!1},this.sequences[u]=S,this.sequenceList.push(S)),S},processSequence:function(s,a){for(var o=0,u=s.transforms.length,S=a;o<u&&!a;){if(s.transforms[o].transform.mProps._mdf){S=!0;break}o+=1}if(S)for(s.finalTransform.reset(),o=u-1;o>=0;o-=1)s.finalTransform.multiply(s.transforms[o].transform.mProps.v);s._mdf=S},processSequences:function(s){var a,o=this.sequenceList.length;for(a=0;a<o;a+=1)this.processSequence(this.sequenceList[a],s)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var s="__lottie_element_luma_buffer",a=null,o=null,u=null;function S(){var E=createNS("svg"),_=createNS("filter"),I=createNS("feColorMatrix");return _.setAttribute("id",s),I.setAttribute("type","matrix"),I.setAttribute("color-interpolation-filters","sRGB"),I.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),_.appendChild(I),E.appendChild(_),E.setAttribute("id",s+"_svg"),featureSupport.svgLumaHidden&&(E.style.display="none"),E}function P(){a||(u=S(),document.body.appendChild(u),a=createTag("canvas"),o=a.getContext("2d"),o.filter="url(#"+s+")",o.fillStyle="rgba(0,0,0,0)",o.fillRect(0,0,1,1))}function C(E){return a||P(),a.width=E.width,a.height=E.height,o.filter="url(#"+s+")",a}return{load:P,get:C}};function createCanvas(i,s){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(i,s);var a=createTag("canvas");return a.width=i,a.height=s,a}var assetLoader=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(i){var s,a=i.data.ef?i.data.ef.length:0;this.filters=[];var o;for(s=0;s<a;s+=1){o=null;var u=i.data.ef[s].ty;if(registeredEffects[u]){var S=registeredEffects[u].effect;o=new S(i.effectsManager.effectElements[s],i)}o&&this.filters.push(o)}this.filters.length&&i.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(i){var s,a=this.filters.length;for(s=0;s<a;s+=1)this.filters[s].renderFrame(i)},CVEffects.prototype.getEffects=function(i){var s,a=this.filters.length,o=[];for(s=0;s<a;s+=1)this.filters[s].type===i&&o.push(this.filters[s]);return o};function registerEffect(i,s){registeredEffects[i]={effect:s}}function CVMaskElement(i,s){this.data=i,this.element=s,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var a,o=this.masksProperties.length,u=!1;for(a=0;a<o;a+=1)this.masksProperties[a].mode!=="n"&&(u=!0),this.viewData[a]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[a],3);this.hasMasks=u,u&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var i=this.element.finalTransform.mat,s=this.element.canvasContext,a,o=this.masksProperties.length,u,S,P;for(s.beginPath(),a=0;a<o;a+=1)if(this.masksProperties[a].mode!=="n"){this.masksProperties[a].inv&&(s.moveTo(0,0),s.lineTo(this.element.globalData.compSize.w,0),s.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),s.lineTo(0,this.element.globalData.compSize.h),s.lineTo(0,0)),P=this.viewData[a].v,u=i.applyToPointArray(P.v[0][0],P.v[0][1],0),s.moveTo(u[0],u[1]);var C,E=P._length;for(C=1;C<E;C+=1)S=i.applyToTriplePoints(P.o[C-1],P.i[C],P.v[C]),s.bezierCurveTo(S[0],S[1],S[2],S[3],S[4],S[5]);S=i.applyToTriplePoints(P.o[C-1],P.i[0],P.v[0]),s.bezierCurveTo(S[0],S[1],S[2],S[3],S[4],S[5])}this.element.globalData.renderer.save(!0),s.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var s=this.globalData.canvasContext,a=assetLoader.createCanvas(s.canvas.width,s.canvas.height);this.buffers.push(a);var o=assetLoader.createCanvas(s.canvas.width,s.canvas.height);this.buffers.push(o),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var s=this.globalData;if(s.blendMode!==this.data.bm){s.blendMode=this.data.bm;var a=getBlendMode(this.data.bm);s.canvasContext.globalCompositeOperation=a}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(s){s.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var s=this.buffers[0],a=s.getContext("2d");this.clearCanvas(a),a.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var s=this.buffers[1],a=s.getContext("2d");this.clearCanvas(a),a.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var o=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(o.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var u=assetLoader.getLumaCanvas(this.canvasContext.canvas),S=u.getContext("2d");S.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(u,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(s,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(s){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!s)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var a=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(a),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(a),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(i,s,a,o){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var u=4;s.ty==="rc"?u=5:s.ty==="el"?u=6:s.ty==="sr"&&(u=7),this.sh=ShapePropertyFactory.getShapeProp(i,s,u,i);var S,P=a.length,C;for(S=0;S<P;S+=1)a[S].closed||(C={transforms:o.addTransformSequence(a[S].transforms),trNodes:[]},this.styledShapes.push(C),a[S].elements.push(C))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;function CVShapeElement(i,s,a){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(i,s){var a={data:i,type:i.ty,preTransforms:this.transformsManager.addTransformSequence(s),transforms:[],elements:[],closed:i.hd===!0},o={};if(i.ty==="fl"||i.ty==="st"?(o.c=PropertyFactory.getProp(this,i.c,1,255,this),o.c.k||(a.co="rgb("+bmFloor(o.c.v[0])+","+bmFloor(o.c.v[1])+","+bmFloor(o.c.v[2])+")")):(i.ty==="gf"||i.ty==="gs")&&(o.s=PropertyFactory.getProp(this,i.s,1,null,this),o.e=PropertyFactory.getProp(this,i.e,1,null,this),o.h=PropertyFactory.getProp(this,i.h||{k:0},0,.01,this),o.a=PropertyFactory.getProp(this,i.a||{k:0},0,degToRads,this),o.g=new GradientProperty(this,i.g,this)),o.o=PropertyFactory.getProp(this,i.o,0,.01,this),i.ty==="st"||i.ty==="gs"){if(a.lc=lineCapEnum[i.lc||2],a.lj=lineJoinEnum[i.lj||2],i.lj==1&&(a.ml=i.ml),o.w=PropertyFactory.getProp(this,i.w,0,null,this),o.w.k||(a.wi=o.w.v),i.d){var u=new DashProperty(this,i.d,"canvas",this);o.d=u,o.d.k||(a.da=o.d.dashArray,a.do=o.d.dashoffset[0])}}else a.r=i.r===2?"evenodd":"nonzero";return this.stylesList.push(a),o.style=a,o},CVShapeElement.prototype.createGroupElement=function(){var i={it:[],prevViewData:[]};return i},CVShapeElement.prototype.createTransformElement=function(i){var s={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,i.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,i,this)}};return s},CVShapeElement.prototype.createShapeElement=function(i){var s=new CVShapeData(this,i,this.stylesList,this.transformsManager);return this.shapes.push(s),this.addShapeToModifiers(s),s},CVShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var i,s=this.itemsData.length;for(i=0;i<s;i+=1)this.prevViewData[i]=this.itemsData[i];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),s=this.dynamicProperties.length,i=0;i<s;i+=1)this.dynamicProperties[i].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(i){var s,a=this.stylesList.length;for(s=0;s<a;s+=1)this.stylesList[s].closed||this.stylesList[s].transforms.push(i)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var i,s=this.stylesList.length;for(i=0;i<s;i+=1)this.stylesList[i].closed||this.stylesList[i].transforms.pop()},CVShapeElement.prototype.closeStyles=function(i){var s,a=i.length;for(s=0;s<a;s+=1)i[s].closed=!0},CVShapeElement.prototype.searchShapes=function(i,s,a,o,u){var S,P=i.length-1,C,E,_=[],I=[],j,T,O,D=[].concat(u);for(S=P;S>=0;S-=1){if(j=this.searchProcessedElement(i[S]),j?s[S]=a[j-1]:i[S]._shouldRender=o,i[S].ty==="fl"||i[S].ty==="st"||i[S].ty==="gf"||i[S].ty==="gs")j?s[S].style.closed=!1:s[S]=this.createStyleElement(i[S],D),_.push(s[S].style);else if(i[S].ty==="gr"){if(!j)s[S]=this.createGroupElement(i[S]);else for(E=s[S].it.length,C=0;C<E;C+=1)s[S].prevViewData[C]=s[S].it[C];this.searchShapes(i[S].it,s[S].it,s[S].prevViewData,o,D)}else i[S].ty==="tr"?(j||(O=this.createTransformElement(i[S]),s[S]=O),D.push(s[S]),this.addTransformToStyleList(s[S])):i[S].ty==="sh"||i[S].ty==="rc"||i[S].ty==="el"||i[S].ty==="sr"?j||(s[S]=this.createShapeElement(i[S])):i[S].ty==="tm"||i[S].ty==="rd"||i[S].ty==="pb"||i[S].ty==="zz"||i[S].ty==="op"?(j?(T=s[S],T.closed=!1):(T=ShapeModifiers.getModifier(i[S].ty),T.init(this,i[S]),s[S]=T,this.shapeModifiers.push(T)),I.push(T)):i[S].ty==="rp"&&(j?(T=s[S],T.closed=!0):(T=ShapeModifiers.getModifier(i[S].ty),s[S]=T,T.init(this,i,S,s),this.shapeModifiers.push(T),o=!1),I.push(T));this.addProcessedElement(i[S],S+1)}for(this.removeTransformFromStyleList(),this.closeStyles(_),P=I.length,S=0;S<P;S+=1)I[S].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(i,s){(i._opMdf||s.op._mdf||this._isFirstFrame)&&(s.opacity=i.opacity,s.opacity*=s.op.v,s._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var i,s=this.stylesList.length,a,o,u,S,P,C,E=this.globalData.renderer,_=this.globalData.canvasContext,I,j;for(i=0;i<s;i+=1)if(j=this.stylesList[i],I=j.type,!((I==="st"||I==="gs")&&j.wi===0||!j.data._shouldRender||j.coOp===0||this.globalData.currentGlobalAlpha===0)){for(E.save(),P=j.elements,I==="st"||I==="gs"?(E.ctxStrokeStyle(I==="st"?j.co:j.grd),E.ctxLineWidth(j.wi),E.ctxLineCap(j.lc),E.ctxLineJoin(j.lj),E.ctxMiterLimit(j.ml||0)):E.ctxFillStyle(I==="fl"?j.co:j.grd),E.ctxOpacity(j.coOp),I!=="st"&&I!=="gs"&&_.beginPath(),E.ctxTransform(j.preTransforms.finalTransform.props),o=P.length,a=0;a<o;a+=1){for((I==="st"||I==="gs")&&(_.beginPath(),j.da&&(_.setLineDash(j.da),_.lineDashOffset=j.do)),C=P[a].trNodes,S=C.length,u=0;u<S;u+=1)C[u].t==="m"?_.moveTo(C[u].p[0],C[u].p[1]):C[u].t==="c"?_.bezierCurveTo(C[u].pts[0],C[u].pts[1],C[u].pts[2],C[u].pts[3],C[u].pts[4],C[u].pts[5]):_.closePath();(I==="st"||I==="gs")&&(E.ctxStroke(),j.da&&_.setLineDash(this.dashResetter))}I!=="st"&&I!=="gs"&&this.globalData.renderer.ctxFill(j.r),E.restore()}},CVShapeElement.prototype.renderShape=function(i,s,a,o){var u,S=s.length-1,P;for(P=i,u=S;u>=0;u-=1)s[u].ty==="tr"?(P=a[u].transform,this.renderShapeTransform(i,P)):s[u].ty==="sh"||s[u].ty==="el"||s[u].ty==="rc"||s[u].ty==="sr"?this.renderPath(s[u],a[u]):s[u].ty==="fl"?this.renderFill(s[u],a[u],P):s[u].ty==="st"?this.renderStroke(s[u],a[u],P):s[u].ty==="gf"||s[u].ty==="gs"?this.renderGradientFill(s[u],a[u],P):s[u].ty==="gr"?this.renderShape(P,s[u].it,a[u].it):s[u].ty;o&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(i,s){if(this._isFirstFrame||s._mdf||i.transforms._mdf){var a=i.trNodes,o=s.paths,u,S,P,C=o._length;a.length=0;var E=i.transforms.finalTransform;for(P=0;P<C;P+=1){var _=o.shapes[P];if(_&&_.v){for(S=_._length,u=1;u<S;u+=1)u===1&&a.push({t:"m",p:E.applyToPointArray(_.v[0][0],_.v[0][1],0)}),a.push({t:"c",pts:E.applyToTriplePoints(_.o[u-1],_.i[u],_.v[u])});S===1&&a.push({t:"m",p:E.applyToPointArray(_.v[0][0],_.v[0][1],0)}),_.c&&S&&(a.push({t:"c",pts:E.applyToTriplePoints(_.o[u-1],_.i[0],_.v[0])}),a.push({t:"z"}))}}i.trNodes=a}},CVShapeElement.prototype.renderPath=function(i,s){if(i.hd!==!0&&i._shouldRender){var a,o=s.styledShapes.length;for(a=0;a<o;a+=1)this.renderStyledShape(s.styledShapes[a],s.sh)}},CVShapeElement.prototype.renderFill=function(i,s,a){var o=s.style;(s.c._mdf||this._isFirstFrame)&&(o.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")"),(s.o._mdf||a._opMdf||this._isFirstFrame)&&(o.coOp=s.o.v*a.opacity)},CVShapeElement.prototype.renderGradientFill=function(i,s,a){var o=s.style,u;if(!o.grd||s.g._mdf||s.s._mdf||s.e._mdf||i.t!==1&&(s.h._mdf||s.a._mdf)){var S=this.globalData.canvasContext,P=s.s.v,C=s.e.v;if(i.t===1)u=S.createLinearGradient(P[0],P[1],C[0],C[1]);else{var E=Math.sqrt(Math.pow(P[0]-C[0],2)+Math.pow(P[1]-C[1],2)),_=Math.atan2(C[1]-P[1],C[0]-P[0]),I=s.h.v;I>=1?I=.99:I<=-1&&(I=-.99);var j=E*I,T=Math.cos(_+s.a.v)*j+P[0],O=Math.sin(_+s.a.v)*j+P[1];u=S.createRadialGradient(T,O,0,P[0],P[1],E)}var D,L=i.g.p,H=s.g.c,F=1;for(D=0;D<L;D+=1)s.g._hasOpacity&&s.g._collapsable&&(F=s.g.o[D*2+1]),u.addColorStop(H[D*4]/100,"rgba("+H[D*4+1]+","+H[D*4+2]+","+H[D*4+3]+","+F+")");o.grd=u}o.coOp=s.o.v*a.opacity},CVShapeElement.prototype.renderStroke=function(i,s,a){var o=s.style,u=s.d;u&&(u._mdf||this._isFirstFrame)&&(o.da=u.dashArray,o.do=u.dashoffset[0]),(s.c._mdf||this._isFirstFrame)&&(o.co="rgb("+bmFloor(s.c.v[0])+","+bmFloor(s.c.v[1])+","+bmFloor(s.c.v[2])+")"),(s.o._mdf||a._opMdf||this._isFirstFrame)&&(o.coOp=s.o.v*a.opacity),(s.w._mdf||this._isFirstFrame)&&(o.wi=s.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0};function CVTextElement(i,s,a){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i.l?i.l.length:0);var s=!1;i.fc?(s=!0,this.values.fill=this.buildColor(i.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=s;var a=!1;i.sc&&(a=!0,this.values.stroke=this.buildColor(i.sc),this.values.sWidth=i.sw);var o=this.globalData.fontManager.getFontByName(i.f),u,S,P=i.l,C=this.mHelper;this.stroke=a,this.values.fValue=i.finalSize+"px "+this.globalData.fontManager.getFontByName(i.f).fFamily,S=i.finalText.length;var E,_,I,j,T,O,D,L,H,F,R=this.data.singleShape,M=i.tr*.001*i.finalSize,V=0,N=0,W=!0,X=0;for(u=0;u<S;u+=1){E=this.globalData.fontManager.getCharData(i.finalText[u],o.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily),_=E&&E.data||{},C.reset(),R&&P[u].n&&(V=-M,N+=i.yOffset,N+=W?1:0,W=!1),T=_.shapes?_.shapes[0].it:[],D=T.length,C.scale(i.finalSize/100,i.finalSize/100),R&&this.applyTextPropertiesToMatrix(i,C,P[u].line,V,N),H=createSizedArray(D-1);var Y=0;for(O=0;O<D;O+=1)if(T[O].ty==="sh"){for(j=T[O].ks.k.i.length,L=T[O].ks.k,F=[],I=1;I<j;I+=1)I===1&&F.push(C.applyToX(L.v[0][0],L.v[0][1],0),C.applyToY(L.v[0][0],L.v[0][1],0)),F.push(C.applyToX(L.o[I-1][0],L.o[I-1][1],0),C.applyToY(L.o[I-1][0],L.o[I-1][1],0),C.applyToX(L.i[I][0],L.i[I][1],0),C.applyToY(L.i[I][0],L.i[I][1],0),C.applyToX(L.v[I][0],L.v[I][1],0),C.applyToY(L.v[I][0],L.v[I][1],0));F.push(C.applyToX(L.o[I-1][0],L.o[I-1][1],0),C.applyToY(L.o[I-1][0],L.o[I-1][1],0),C.applyToX(L.i[0][0],L.i[0][1],0),C.applyToY(L.i[0][0],L.i[0][1],0),C.applyToX(L.v[0][0],L.v[0][1],0),C.applyToY(L.v[0][0],L.v[0][1],0)),H[Y]=F,Y+=1}R&&(V+=P[u].l,V+=M),this.textSpans[X]?this.textSpans[X].elem=H:this.textSpans[X]={elem:H},X+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var i=this.canvasContext;i.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,a,o,u,S,P,C=this.textAnimator.renderedLetters,E=this.textProperty.currentData.l;a=E.length;var _,I=null,j=null,T=null,O,D,L=this.globalData.renderer;for(s=0;s<a;s+=1)if(!E[s].n){if(_=C[s],_&&(L.save(),L.ctxTransform(_.p),L.ctxOpacity(_.o)),this.fill){for(_&&_.fc?I!==_.fc&&(L.ctxFillStyle(_.fc),I=_.fc):I!==this.values.fill&&(I=this.values.fill,L.ctxFillStyle(this.values.fill)),O=this.textSpans[s].elem,u=O.length,this.globalData.canvasContext.beginPath(),o=0;o<u;o+=1)for(D=O[o],P=D.length,this.globalData.canvasContext.moveTo(D[0],D[1]),S=2;S<P;S+=6)this.globalData.canvasContext.bezierCurveTo(D[S],D[S+1],D[S+2],D[S+3],D[S+4],D[S+5]);this.globalData.canvasContext.closePath(),L.ctxFill()}if(this.stroke){for(_&&_.sw?T!==_.sw&&(T=_.sw,L.ctxLineWidth(_.sw)):T!==this.values.sWidth&&(T=this.values.sWidth,L.ctxLineWidth(this.values.sWidth)),_&&_.sc?j!==_.sc&&(j=_.sc,L.ctxStrokeStyle(_.sc)):j!==this.values.stroke&&(j=this.values.stroke,L.ctxStrokeStyle(this.values.stroke)),O=this.textSpans[s].elem,u=O.length,this.globalData.canvasContext.beginPath(),o=0;o<u;o+=1)for(D=O[o],P=D.length,this.globalData.canvasContext.moveTo(D[0],D[1]),S=2;S<P;S+=6)this.globalData.canvasContext.bezierCurveTo(D[S],D[S+1],D[S+2],D[S+3],D[S+4],D[S+5]);this.globalData.canvasContext.closePath(),L.ctxStroke()}_&&this.globalData.renderer.restore()}};function CVImageElement(i,s,a){this.assetData=s.getAssetData(i.refId),this.img=s.imageLoader.getAsset(this.assetData),this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var i=createTag("canvas");i.width=this.assetData.w,i.height=this.assetData.h;var s=i.getContext("2d"),a=this.img.width,o=this.img.height,u=a/o,S=this.assetData.w/this.assetData.h,P,C,E=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;u>S&&E==="xMidYMid slice"||u<S&&E!=="xMidYMid slice"?(C=o,P=C*S):(P=a,C=P/S),s.drawImage(this.img,(a-P)/2,(o-C)/2,P,C,0,0,this.assetData.w,this.assetData.h),this.img=i}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null};function CVSolidElement(i,s,a){this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(i){return new CVShapeElement(i,this.globalData,this)},CanvasRendererBase.prototype.createText=function(i){return new CVTextElement(i,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(i){return new CVImageElement(i,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(i){return new CVSolidElement(i,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(i){i[0]===1&&i[1]===0&&i[4]===0&&i[5]===1&&i[12]===0&&i[13]===0||this.canvasContext.transform(i[0],i[1],i[4],i[5],i[12],i[13])},CanvasRendererBase.prototype.ctxOpacity=function(i){this.canvasContext.globalAlpha*=i<0?0:i},CanvasRendererBase.prototype.ctxFillStyle=function(i){this.canvasContext.fillStyle=i},CanvasRendererBase.prototype.ctxStrokeStyle=function(i){this.canvasContext.strokeStyle=i},CanvasRendererBase.prototype.ctxLineWidth=function(i){this.canvasContext.lineWidth=i},CanvasRendererBase.prototype.ctxLineCap=function(i){this.canvasContext.lineCap=i},CanvasRendererBase.prototype.ctxLineJoin=function(i){this.canvasContext.lineJoin=i},CanvasRendererBase.prototype.ctxMiterLimit=function(i){this.canvasContext.miterLimit=i},CanvasRendererBase.prototype.ctxFill=function(i){this.canvasContext.fill(i)},CanvasRendererBase.prototype.ctxFillRect=function(i,s,a,o){this.canvasContext.fillRect(i,s,a,o)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(i){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}i&&(this.globalData.blendMode="source-over"),this.contextData.restore(i)},CanvasRendererBase.prototype.configAnimation=function(i){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var s=this.animationItem.container.style;s.width="100%",s.height="100%";var a="0px 0px 0px";s.transformOrigin=a,s.mozTransformOrigin=a,s.webkitTransformOrigin=a,s["-webkit-transform"]=a,s.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.contextData.setContext(this.canvasContext),this.data=i,this.layers=i.layers,this.transformCanvas={w:i.w,h:i.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(i,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(i.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(i,s){this.reset();var a,o;i?(a=i,o=s,this.canvasContext.canvas.width=a,this.canvasContext.canvas.height=o):(this.animationItem.wrapper&&this.animationItem.container?(a=this.animationItem.wrapper.offsetWidth,o=this.animationItem.wrapper.offsetHeight):(a=this.canvasContext.canvas.width,o=this.canvasContext.canvas.height),this.canvasContext.canvas.width=a*this.renderConfig.dpr,this.canvasContext.canvas.height=o*this.renderConfig.dpr);var u,S;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var P=this.renderConfig.preserveAspectRatio.split(" "),C=P[1]||"meet",E=P[0]||"xMidYMid",_=E.substr(0,4),I=E.substr(4);u=a/o,S=this.transformCanvas.w/this.transformCanvas.h,S>u&&C==="meet"||S<u&&C==="slice"?(this.transformCanvas.sx=a/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=a/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=o/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=o/(this.transformCanvas.h/this.renderConfig.dpr)),_==="xMid"&&(S<u&&C==="meet"||S>u&&C==="slice")?this.transformCanvas.tx=(a-this.transformCanvas.w*(o/this.transformCanvas.h))/2*this.renderConfig.dpr:_==="xMax"&&(S<u&&C==="meet"||S>u&&C==="slice")?this.transformCanvas.tx=(a-this.transformCanvas.w*(o/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,I==="YMid"&&(S>u&&C==="meet"||S<u&&C==="slice")?this.transformCanvas.ty=(o-this.transformCanvas.h*(a/this.transformCanvas.w))/2*this.renderConfig.dpr:I==="YMax"&&(S>u&&C==="meet"||S<u&&C==="slice")?this.transformCanvas.ty=(o-this.transformCanvas.h*(a/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(this.transformCanvas.sx=a/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=o/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var i,s=this.layers?this.layers.length:0;for(i=s-1;i>=0;i-=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(i,s){if(!(this.renderedFrame===i&&this.renderConfig.clearCanvas===!0&&!s||this.destroyed||i===-1)){this.renderedFrame=i,this.globalData.frameNum=i-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||s,this.globalData.projectInterface.currentFrame=i;var a,o=this.layers.length;for(this.completeLayers||this.checkLayers(i),a=o-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&this.elements[a].prepareFrame(i-this.layers[a].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),a=o-1;a>=0;a-=1)(this.completeLayers||this.elements[a])&&this.elements[a].renderFrame();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(i){var s=this.elements;if(!(s[i]||this.layers[i].ty===99)){var a=this.createItem(this.layers[i],this,this.globalData);s[i]=a,a.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();i.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var i,s=15;for(i=0;i<s;i+=1){var a=new CanvasContext;this.stack[i]=a}this._length=s,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var i=this._length*2,s=0;for(s=this._length;s<i;s+=1)this.stack[s]=new CanvasContext;this._length=i},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(i){this.cArrPos-=1;var s=this.stack[this.cArrPos],a=s.transform,o,u=this.cTr.props;for(o=0;o<16;o+=1)u[o]=a[o];if(i){this.nativeContext.restore();var S=this.stack[this.cArrPos+1];this.appliedFillStyle=S.fillStyle,this.appliedStrokeStyle=S.strokeStyle,this.appliedLineWidth=S.lineWidth,this.appliedLineCap=S.lineCap,this.appliedLineJoin=S.lineJoin,this.appliedMiterLimit=S.miterLimit}this.nativeContext.setTransform(a[0],a[1],a[4],a[5],a[12],a[13]),(i||s.opacity!==-1&&this.currentOpacity!==s.opacity)&&(this.nativeContext.globalAlpha=s.opacity,this.currentOpacity=s.opacity),this.currentFillStyle=s.fillStyle,this.currentStrokeStyle=s.strokeStyle,this.currentLineWidth=s.lineWidth,this.currentLineCap=s.lineCap,this.currentLineJoin=s.lineJoin,this.currentMiterLimit=s.miterLimit},CVContextData.prototype.save=function(i){i&&this.nativeContext.save();var s=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var a=this.stack[this.cArrPos],o;for(o=0;o<16;o+=1)a.transform[o]=s[o];this.cArrPos+=1;var u=this.stack[this.cArrPos];u.opacity=a.opacity,u.fillStyle=a.fillStyle,u.strokeStyle=a.strokeStyle,u.lineWidth=a.lineWidth,u.lineCap=a.lineCap,u.lineJoin=a.lineJoin,u.miterLimit=a.miterLimit},CVContextData.prototype.setOpacity=function(i){this.stack[this.cArrPos].opacity=i},CVContextData.prototype.setContext=function(i){this.nativeContext=i},CVContextData.prototype.fillStyle=function(i){this.stack[this.cArrPos].fillStyle!==i&&(this.currentFillStyle=i,this.stack[this.cArrPos].fillStyle=i)},CVContextData.prototype.strokeStyle=function(i){this.stack[this.cArrPos].strokeStyle!==i&&(this.currentStrokeStyle=i,this.stack[this.cArrPos].strokeStyle=i)},CVContextData.prototype.lineWidth=function(i){this.stack[this.cArrPos].lineWidth!==i&&(this.currentLineWidth=i,this.stack[this.cArrPos].lineWidth=i)},CVContextData.prototype.lineCap=function(i){this.stack[this.cArrPos].lineCap!==i&&(this.currentLineCap=i,this.stack[this.cArrPos].lineCap=i)},CVContextData.prototype.lineJoin=function(i){this.stack[this.cArrPos].lineJoin!==i&&(this.currentLineJoin=i,this.stack[this.cArrPos].lineJoin=i)},CVContextData.prototype.miterLimit=function(i){this.stack[this.cArrPos].miterLimit!==i&&(this.currentMiterLimit=i,this.stack[this.cArrPos].miterLimit=i)},CVContextData.prototype.transform=function(i){this.transformMat.cloneFromProps(i);var s=this.cTr;this.transformMat.multiply(s),s.cloneFromProps(this.transformMat.props);var a=s.props;this.nativeContext.setTransform(a[0],a[1],a[4],a[5],a[12],a[13])},CVContextData.prototype.opacity=function(i){var s=this.stack[this.cArrPos].opacity;s*=i<0?0:i,this.stack[this.cArrPos].opacity!==s&&(this.currentOpacity!==i&&(this.nativeContext.globalAlpha=i,this.currentOpacity=i),this.stack[this.cArrPos].opacity=s)},CVContextData.prototype.fill=function(i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(i)},CVContextData.prototype.fillRect=function(i,s,a,o){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(i,s,a,o)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(i,s,a){this.completeLayers=!1,this.layers=i.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(i,s,a),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,s.frameRate,this):{_placeholder:!0}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var i=this.canvasContext;i.beginPath(),i.moveTo(0,0),i.lineTo(this.data.w,0),i.lineTo(this.data.w,this.data.h),i.lineTo(0,this.data.h),i.lineTo(0,0),i.clip();var s,a=this.layers.length;for(s=a-1;s>=0;s-=1)(this.completeLayers||this.elements[s])&&this.elements[s].renderFrame()},CVCompElement.prototype.destroy=function(){var i,s=this.layers.length;for(i=s-1;i>=0;i-=1)this.elements[i]&&this.elements[i].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(i){return new CVCompElement(i,this.globalData,this)};function CanvasRenderer(i,s){this.animationItem=i,this.renderConfig={clearCanvas:s&&s.clearCanvas!==void 0?s.clearCanvas:!0,context:s&&s.context||null,progressiveLoad:s&&s.progressiveLoad||!1,preserveAspectRatio:s&&s.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:s&&s.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:s&&s.contentVisibility||"visible",className:s&&s.className||"",id:s&&s.id||"",runExpressions:!s||s.runExpressions===void 0||s.runExpressions},this.renderConfig.dpr=s&&s.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=s&&s.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(i){return new CVCompElement(i,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var s=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var a=this.finalTransform.mat.toCSS();s.transform=a,s.webkitTransform=a}this.finalTransform._opMdf&&(s.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(i,s,a){this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var i;this.data.hasMask?(i=createNS("rect"),i.setAttribute("width",this.data.sw),i.setAttribute("height",this.data.sh),i.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):(i=createTag("div"),i.style.width=this.data.sw+"px",i.style.height=this.data.sh+"px",i.style.backgroundColor=this.data.sc),this.layerElement.appendChild(i)};function HShapeElement(i,s,a){this.shapes=[],this.shapesData=i.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(i,s,a),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var i;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),i=this.svgElement;else{i=createNS("svg");var s=this.comp.data?this.comp.data:this.globalData.compSize;i.setAttribute("width",s.w),i.setAttribute("height",s.h),i.appendChild(this.shapesContainer),this.layerElement.appendChild(i)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=i},HShapeElement.prototype.getTransformedPoint=function(i,s){var a,o=i.length;for(a=0;a<o;a+=1)s=i[a].mProps.v.applyToPointArray(s[0],s[1],0);return s},HShapeElement.prototype.calculateShapeBoundingBox=function(i,s){var a=i.sh.v,o=i.transformers,u,S=a._length,P,C,E,_;if(!(S<=1)){for(u=0;u<S-1;u+=1)P=this.getTransformedPoint(o,a.v[u]),C=this.getTransformedPoint(o,a.o[u]),E=this.getTransformedPoint(o,a.i[u+1]),_=this.getTransformedPoint(o,a.v[u+1]),this.checkBounds(P,C,E,_,s);a.c&&(P=this.getTransformedPoint(o,a.v[u]),C=this.getTransformedPoint(o,a.o[u]),E=this.getTransformedPoint(o,a.i[0]),_=this.getTransformedPoint(o,a.v[0]),this.checkBounds(P,C,E,_,s))}},HShapeElement.prototype.checkBounds=function(i,s,a,o,u){this.getBoundsOfCurve(i,s,a,o);var S=this.shapeBoundingBox;u.x=bmMin(S.left,u.x),u.xMax=bmMax(S.right,u.xMax),u.y=bmMin(S.top,u.y),u.yMax=bmMax(S.bottom,u.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(i,s,a,o){for(var u=[[i[0],o[0]],[i[1],o[1]]],S,P,C,E,_,I,j,T=0;T<2;++T)P=6*i[T]-12*s[T]+6*a[T],S=-3*i[T]+9*s[T]-9*a[T]+3*o[T],C=3*s[T]-3*i[T],P|=0,S|=0,C|=0,S===0&&P===0||(S===0?(E=-C/P,E>0&&E<1&&u[T].push(this.calculateF(E,i,s,a,o,T))):(_=P*P-4*C*S,_>=0&&(I=(-P+bmSqrt(_))/(2*S),I>0&&I<1&&u[T].push(this.calculateF(I,i,s,a,o,T)),j=(-P-bmSqrt(_))/(2*S),j>0&&j<1&&u[T].push(this.calculateF(j,i,s,a,o,T)))));this.shapeBoundingBox.left=bmMin.apply(null,u[0]),this.shapeBoundingBox.top=bmMin.apply(null,u[1]),this.shapeBoundingBox.right=bmMax.apply(null,u[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,u[1])},HShapeElement.prototype.calculateF=function(i,s,a,o,u,S){return bmPow(1-i,3)*s[S]+3*bmPow(1-i,2)*i*a[S]+3*(1-i)*bmPow(i,2)*o[S]+bmPow(i,3)*u[S]},HShapeElement.prototype.calculateBoundingBox=function(i,s){var a,o=i.length;for(a=0;a<o;a+=1)i[a]&&i[a].sh?this.calculateShapeBoundingBox(i[a],s):i[a]&&i[a].it?this.calculateBoundingBox(i[a].it,s):i[a]&&i[a].style&&i[a].w&&this.expandStrokeBoundingBox(i[a].w,s)},HShapeElement.prototype.expandStrokeBoundingBox=function(i,s){var a=0;if(i.keyframes){for(var o=0;o<i.keyframes.length;o+=1){var u=i.keyframes[o].s;u>a&&(a=u)}a*=i.mult}else a=i.v*i.mult;s.x-=a,s.xMax+=a,s.y-=a,s.yMax+=a},HShapeElement.prototype.currentBoxContains=function(i){return this.currentBBox.x<=i.x&&this.currentBBox.y<=i.y&&this.currentBBox.width+this.currentBBox.x>=i.x+i.width&&this.currentBBox.height+this.currentBBox.y>=i.y+i.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var i=this.tempBoundingBox,s=999999;if(i.x=s,i.xMax=-s,i.y=s,i.yMax=-s,this.calculateBoundingBox(this.itemsData,i),i.width=i.xMax<i.x?0:i.xMax-i.x,i.height=i.yMax<i.y?0:i.yMax-i.y,this.currentBoxContains(i))return;var a=!1;if(this.currentBBox.w!==i.width&&(this.currentBBox.w=i.width,this.shapeCont.setAttribute("width",i.width),a=!0),this.currentBBox.h!==i.height&&(this.currentBBox.h=i.height,this.shapeCont.setAttribute("height",i.height),a=!0),a||this.currentBBox.x!==i.x||this.currentBBox.y!==i.y){this.currentBBox.w=i.width,this.currentBBox.h=i.height,this.currentBBox.x=i.x,this.currentBBox.y=i.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var o=this.shapeCont.style,u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";o.transform=u,o.webkitTransform=u}}};function HTextElement(i,s,a){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var i=createNS("g");this.maskedElement.appendChild(i),this.innerElem=i}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var i=this.textProperty.currentData;this.renderedLetters=createSizedArray(i.l?i.l.length:0);var s=this.innerElem.style,a=i.fc?this.buildColor(i.fc):"rgba(0,0,0,0)";s.fill=a,s.color=a,i.sc&&(s.stroke=this.buildColor(i.sc),s.strokeWidth=i.sw+"px");var o=this.globalData.fontManager.getFontByName(i.f);if(!this.globalData.fontManager.chars)if(s.fontSize=i.finalSize+"px",s.lineHeight=i.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{s.fontFamily=o.fFamily;var u=i.fWeight,S=i.fStyle;s.fontStyle=S,s.fontWeight=u}var P,C,E=i.l;C=E.length;var _,I,j,T=this.mHelper,O,D="",L=0;for(P=0;P<C;P+=1){if(this.globalData.fontManager.chars?(this.textPaths[L]?_=this.textPaths[L]:(_=createNS("path"),_.setAttribute("stroke-linecap",lineCapEnum[1]),_.setAttribute("stroke-linejoin",lineJoinEnum[2]),_.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[L]?(I=this.textSpans[L],j=I.children[0]):(I=createTag("div"),I.style.lineHeight=0,j=createNS("svg"),j.appendChild(_),styleDiv(I)))):this.isMasked?_=this.textPaths[L]?this.textPaths[L]:createNS("text"):this.textSpans[L]?(I=this.textSpans[L],_=this.textPaths[L]):(I=createTag("span"),styleDiv(I),_=createTag("span"),styleDiv(_),I.appendChild(_)),this.globalData.fontManager.chars){var H=this.globalData.fontManager.getCharData(i.finalText[P],o.fStyle,this.globalData.fontManager.getFontByName(i.f).fFamily),F;if(H?F=H.data:F=null,T.reset(),F&&F.shapes&&F.shapes.length&&(O=F.shapes[0].it,T.scale(i.finalSize/100,i.finalSize/100),D=this.createPathShape(T,O),_.setAttribute("d",D)),this.isMasked)this.innerElem.appendChild(_);else{if(this.innerElem.appendChild(I),F&&F.shapes){document.body.appendChild(j);var R=j.getBBox();j.setAttribute("width",R.width+2),j.setAttribute("height",R.height+2),j.setAttribute("viewBox",R.x-1+" "+(R.y-1)+" "+(R.width+2)+" "+(R.height+2));var M=j.style,V="translate("+(R.x-1)+"px,"+(R.y-1)+"px)";M.transform=V,M.webkitTransform=V,E[P].yOffset=R.y-1}else j.setAttribute("width",1),j.setAttribute("height",1);I.appendChild(j)}}else if(_.textContent=E[P].val,_.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(_);else{this.innerElem.appendChild(I);var N=_.style,W="translate3d(0,"+-i.finalSize/1.2+"px,0)";N.transform=W,N.webkitTransform=W}this.isMasked?this.textSpans[L]=_:this.textSpans[L]=I,this.textSpans[L].style.display="block",this.textPaths[L]=_,L+=1}for(;L<this.textSpans.length;)this.textSpans[L].style.display="none",L+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();var i;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),i=this.svgElement.style;var s="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";i.transform=s,i.webkitTransform=s}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),!(!this.lettersChangedFlag&&!this.textAnimator.lettersChangedFlag)){var a,o,u=0,S=this.textAnimator.renderedLetters,P=this.textProperty.currentData.l;o=P.length;var C,E,_;for(a=0;a<o;a+=1)P[a].n?u+=1:(E=this.textSpans[a],_=this.textPaths[a],C=S[u],u+=1,C._mdf.m&&(this.isMasked?E.setAttribute("transform",C.m):(E.style.webkitTransform=C.m,E.style.transform=C.m)),E.style.opacity=C.o,C.sw&&C._mdf.sw&&_.setAttribute("stroke-width",C.sw),C.sc&&C._mdf.sc&&_.setAttribute("stroke",C.sc),C.fc&&C._mdf.fc&&(_.setAttribute("fill",C.fc),_.style.color=C.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var I=this.innerElem.getBBox();this.currentBBox.w!==I.width&&(this.currentBBox.w=I.width,this.svgElement.setAttribute("width",I.width)),this.currentBBox.h!==I.height&&(this.currentBBox.h=I.height,this.svgElement.setAttribute("height",I.height));var j=1;if(this.currentBBox.w!==I.width+j*2||this.currentBBox.h!==I.height+j*2||this.currentBBox.x!==I.x-j||this.currentBBox.y!==I.y-j){this.currentBBox.w=I.width+j*2,this.currentBBox.h=I.height+j*2,this.currentBBox.x=I.x-j,this.currentBBox.y=I.y-j,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),i=this.svgElement.style;var T="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=T,i.webkitTransform=T}}}};function HCameraElement(i,s,a){this.initFrame(),this.initBaseData(i,s,a),this.initHierarchy();var o=PropertyFactory.getProp;if(this.pe=o(this,i.pe,0,0,this),i.ks.p.s?(this.px=o(this,i.ks.p.x,1,0,this),this.py=o(this,i.ks.p.y,1,0,this),this.pz=o(this,i.ks.p.z,1,0,this)):this.p=o(this,i.ks.p,1,0,this),i.ks.a&&(this.a=o(this,i.ks.a,1,0,this)),i.ks.or.k.length&&i.ks.or.k[0].to){var u,S=i.ks.or.k.length;for(u=0;u<S;u+=1)i.ks.or.k[u].to=null,i.ks.or.k[u].ti=null}this.or=o(this,i.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=o(this,i.ks.rx,0,degToRads,this),this.ry=o(this,i.ks.ry,0,degToRads,this),this.rz=o(this,i.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var i,s=this.comp.threeDElements.length,a,o,u;for(i=0;i<s;i+=1)if(a=this.comp.threeDElements[i],a.type==="3d"){o=a.perspectiveElem.style,u=a.container.style;var S=this.pe.v+"px",P="0px 0px 0px",C="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";o.perspective=S,o.webkitPerspective=S,u.transformOrigin=P,u.mozTransformOrigin=P,u.webkitTransformOrigin=P,o.transform=C,o.webkitTransform=C}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var i=this._isFirstFrame,s,a;if(this.hierarchy)for(a=this.hierarchy.length,s=0;s<a;s+=1)i=this.hierarchy[s].finalTransform.mProp._mdf||i;if(i||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(a=this.hierarchy.length-1,s=a;s>=0;s-=1){var o=this.hierarchy[s].finalTransform.mProp;this.mat.translate(-o.p.v[0],-o.p.v[1],o.p.v[2]),this.mat.rotateX(-o.or.v[0]).rotateY(-o.or.v[1]).rotateZ(o.or.v[2]),this.mat.rotateX(-o.rx.v).rotateY(-o.ry.v).rotateZ(o.rz.v),this.mat.scale(1/o.s.v[0],1/o.s.v[1],1/o.s.v[2]),this.mat.translate(o.a.v[0],o.a.v[1],o.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var u;this.p?u=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:u=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var S=Math.sqrt(Math.pow(u[0],2)+Math.pow(u[1],2)+Math.pow(u[2],2)),P=[u[0]/S,u[1]/S,u[2]/S],C=Math.sqrt(P[2]*P[2]+P[0]*P[0]),E=Math.atan2(P[1],C),_=Math.atan2(P[0],-P[2]);this.mat.rotateY(_).rotateX(-E)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var I=!this._prevMat.equals(this.mat);if((I||this.pe._mdf)&&this.comp.threeDElements){a=this.comp.threeDElements.length;var j,T,O;for(s=0;s<a;s+=1)if(j=this.comp.threeDElements[s],j.type==="3d"){if(I){var D=this.mat.toCSS();O=j.container.style,O.transform=D,O.webkitTransform=D}this.pe._mdf&&(T=j.perspectiveElem.style,T.perspective=this.pe.v+"px",T.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(i){this.prepareProperties(i,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null};function HImageElement(i,s,a){this.assetData=s.getAssetData(i.refId),this.initElement(i,s,a)}extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var i=this.globalData.getAssetsPath(this.assetData),s=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",i),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(s),s.crossOrigin="anonymous",s.src=i,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)};function HybridRendererBase(i,s){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:s&&s.className||"",imagePreserveAspectRatio:s&&s.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(s&&s.hideOnTransparent===!1),filterSize:{width:s&&s.filterSize&&s.filterSize.width||"400%",height:s&&s.filterSize&&s.filterSize.height||"400%",x:s&&s.filterSize&&s.filterSize.x||"-100%",y:s&&s.filterSize&&s.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var i=this.pendingElements.pop();i.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(i,s){var a=i.getBaseElement();if(a){var o=this.layers[s];if(!o.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(a,s);else{for(var u=0,S,P,C;u<s;)this.elements[u]&&this.elements[u]!==!0&&this.elements[u].getBaseElement&&(P=this.elements[u],C=this.layers[u].ddd?this.getThreeDContainerByPos(u):P.getBaseElement(),S=C||S),u+=1;S?(!o.ddd||!this.supports3d)&&this.layerElement.insertBefore(a,S):(!o.ddd||!this.supports3d)&&this.layerElement.appendChild(a)}else this.addTo3dContainer(a,s)}},HybridRendererBase.prototype.createShape=function(i){return this.supports3d?new HShapeElement(i,this.globalData,this):new SVGShapeElement(i,this.globalData,this)},HybridRendererBase.prototype.createText=function(i){return this.supports3d?new HTextElement(i,this.globalData,this):new SVGTextLottieElement(i,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(i){return this.camera=new HCameraElement(i,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(i){return this.supports3d?new HImageElement(i,this.globalData,this):new IImageElement(i,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(i){return this.supports3d?new HSolidElement(i,this.globalData,this):new ISolidElement(i,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(i){for(var s=0,a=this.threeDElements.length;s<a;){if(this.threeDElements[s].startPos<=i&&this.threeDElements[s].endPos>=i)return this.threeDElements[s].perspectiveElem;s+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(i,s){var a=createTag("div"),o,u;styleDiv(a);var S=createTag("div");if(styleDiv(S),s==="3d"){o=a.style,o.width=this.globalData.compSize.w+"px",o.height=this.globalData.compSize.h+"px";var P="50% 50%";o.webkitTransformOrigin=P,o.mozTransformOrigin=P,o.transformOrigin=P,u=S.style;var C="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";u.transform=C,u.webkitTransform=C}a.appendChild(S);var E={container:S,perspectiveElem:a,startPos:i,endPos:i,type:s};return this.threeDElements.push(E),E},HybridRendererBase.prototype.build3dContainers=function(){var i,s=this.layers.length,a,o="";for(i=0;i<s;i+=1)this.layers[i].ddd&&this.layers[i].ty!==3?(o!=="3d"&&(o="3d",a=this.createThreeDContainer(i,"3d")),a.endPos=Math.max(a.endPos,i)):(o!=="2d"&&(o="2d",a=this.createThreeDContainer(i,"2d")),a.endPos=Math.max(a.endPos,i));for(s=this.threeDElements.length,i=s-1;i>=0;i-=1)this.resizerElem.appendChild(this.threeDElements[i].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(i,s){for(var a=0,o=this.threeDElements.length;a<o;){if(s<=this.threeDElements[a].endPos){for(var u=this.threeDElements[a].startPos,S;u<s;)this.elements[u]&&this.elements[u].getBaseElement&&(S=this.elements[u].getBaseElement()),u+=1;S?this.threeDElements[a].container.insertBefore(i,S):this.threeDElements[a].container.appendChild(i);break}a+=1}},HybridRendererBase.prototype.configAnimation=function(i){var s=createTag("div"),a=this.animationItem.wrapper,o=s.style;o.width=i.w+"px",o.height=i.h+"px",this.resizerElem=s,styleDiv(s),o.transformStyle="flat",o.mozTransformStyle="flat",o.webkitTransformStyle="flat",this.renderConfig.className&&s.setAttribute("class",this.renderConfig.className),a.appendChild(s),o.overflow="hidden";var u=createNS("svg");u.setAttribute("width","1"),u.setAttribute("height","1"),styleDiv(u),this.resizerElem.appendChild(u);var S=createNS("defs");u.appendChild(S),this.data=i,this.setupGlobalData(i,u),this.globalData.defs=S,this.layers=i.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var i,s=this.layers?this.layers.length:0;for(i=0;i<s;i+=1)this.elements[i]&&this.elements[i].destroy&&this.elements[i].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var i=this.animationItem.wrapper.offsetWidth,s=this.animationItem.wrapper.offsetHeight,a=i/s,o=this.globalData.compSize.w/this.globalData.compSize.h,u,S,P,C;o>a?(u=i/this.globalData.compSize.w,S=i/this.globalData.compSize.w,P=0,C=(s-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(u=s/this.globalData.compSize.h,S=s/this.globalData.compSize.h,P=(i-this.globalData.compSize.w*(s/this.globalData.compSize.h))/2,C=0);var E=this.resizerElem.style;E.webkitTransform="matrix3d("+u+",0,0,0,0,"+S+",0,0,0,0,1,0,"+P+","+C+",0,1)",E.transform=E.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var i=this.globalData.compSize.w,s=this.globalData.compSize.h,a,o=this.threeDElements.length;for(a=0;a<o;a+=1){var u=this.threeDElements[a].perspectiveElem.style;u.webkitPerspective=Math.sqrt(Math.pow(i,2)+Math.pow(s,2))+"px",u.perspective=u.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(i){var s,a=i.length,o=createTag("div");for(s=0;s<a;s+=1)if(i[s].xt){var u=this.createComp(i[s],o,this.globalData.comp,null);u.initExpressions(),this.globalData.projectInterface.registerComposition(u)}};function HCompElement(i,s,a){this.layers=i.layers,this.supports3d=!i.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(i,s,a),this.tm=i.tm?PropertyFactory.getProp(this,i.tm,0,s.frameRate,this):{_placeholder:!0}}extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(i,s){for(var a=0,o;a<s;)this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a].getBaseElement()),a+=1;o?this.layerElement.insertBefore(i,o):this.layerElement.appendChild(i)},HCompElement.prototype.createComp=function(i){return this.supports3d?new HCompElement(i,this.globalData,this):new SVGCompElement(i,this.globalData,this)};function HybridRenderer(i,s){this.animationItem=i,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:s&&s.className||"",imagePreserveAspectRatio:s&&s.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(s&&s.hideOnTransparent===!1),filterSize:{width:s&&s.filterSize&&s.filterSize.width||"400%",height:s&&s.filterSize&&s.filterSize.height||"400%",x:s&&s.filterSize&&s.filterSize.x||"-100%",y:s&&s.filterSize&&s.filterSize.y||"-100%"},runExpressions:!s||s.runExpressions===void 0||s.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(i){return this.supports3d?new HCompElement(i,this.globalData,this):new SVGCompElement(i,this.globalData,this)};var CompExpressionInterface=function(){return function(i){function s(a){for(var o=0,u=i.layers.length;o<u;){if(i.layers[o].nm===a||i.layers[o].ind===a)return i.elements[o].layerInterface;o+=1}return null}return Object.defineProperty(s,"_name",{value:i.data.nm}),s.layer=s,s.pixelAspect=1,s.height=i.data.h||i.globalData.compSize.h,s.width=i.data.w||i.globalData.compSize.w,s.pixelAspect=1,s.frameDuration=1/i.globalData.frameRate,s.displayStartTime=0,s.numLayers=i.layers.length,s}}();function _typeof$2(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(a){return typeof a}:_typeof$2=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$2(i)}function seedRandom(i,s){var a=this,o=256,u=6,S=52,P="random",C=s.pow(o,u),E=s.pow(2,S),_=E*2,I=o-1,j;function T(M,V,N){var W=[];V=V===!0?{entropy:!0}:V||{};var X=H(L(V.entropy?[M,R(i)]:M===null?F():M,3),W),Y=new O(W),J=function(){for(var te=Y.g(u),ee=C,se=0;te<E;)te=(te+se)*o,ee*=o,se=Y.g(1);for(;te>=_;)te/=2,ee/=2,se>>>=1;return(te+se)/ee};return J.int32=function(){return Y.g(4)|0},J.quick=function(){return Y.g(4)/4294967296},J.double=J,H(R(Y.S),i),(V.pass||N||function(re,te,ee,se){return se&&(se.S&&D(se,Y),re.state=function(){return D(Y,{})}),ee?(s[P]=re,te):re})(J,X,"global"in V?V.global:this==s,V.state)}s["seed"+P]=T;function O(M){var V,N=M.length,W=this,X=0,Y=W.i=W.j=0,J=W.S=[];for(N||(M=[N++]);X<o;)J[X]=X++;for(X=0;X<o;X++)J[X]=J[Y=I&Y+M[X%N]+(V=J[X])],J[Y]=V;W.g=function(re){for(var te,ee=0,se=W.i,ne=W.j,Q=W.S;re--;)te=Q[se=I&se+1],ee=ee*o+Q[I&(Q[se]=Q[ne=I&ne+te])+(Q[ne]=te)];return W.i=se,W.j=ne,ee}}function D(M,V){return V.i=M.i,V.j=M.j,V.S=M.S.slice(),V}function L(M,V){var N=[],W=_typeof$2(M),X;if(V&&W=="object")for(X in M)try{N.push(L(M[X],V-1))}catch{}return N.length?N:W=="string"?M:M+"\0"}function H(M,V){for(var N=M+"",W,X=0;X<N.length;)V[I&X]=I&(W^=V[I&X]*19)+N.charCodeAt(X++);return R(V)}function F(){try{var M=new Uint8Array(o);return(a.crypto||a.msCrypto).getRandomValues(M),R(M)}catch{var V=a.navigator,N=V&&V.plugins;return[+new Date,a,N,a.screen,R(i)]}}function R(M){return String.fromCharCode.apply(0,M)}H(s.random(),i)}function initialize$2(i){seedRandom([],i)}var propTypes={SHAPE:"shape"};function _typeof$1(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(a){return typeof a}:_typeof$1=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof$1(i)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(i){return i.constructor===Array||i.constructor===Float32Array}function isNumerable(i,s){return i==="number"||s instanceof Number||i==="boolean"||i==="string"}function $bm_neg(i){var s=_typeof$1(i);if(s==="number"||i instanceof Number||s==="boolean")return-i;if($bm_isInstanceOfArray(i)){var a,o=i.length,u=[];for(a=0;a<o;a+=1)u[a]=-i[a];return u}return i.propType?i.v:-i}var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(i,s){var a=_typeof$1(i),o=_typeof$1(s);if(isNumerable(a,i)&&isNumerable(o,s)||a==="string"||o==="string")return i+s;if($bm_isInstanceOfArray(i)&&isNumerable(o,s))return i=i.slice(0),i[0]+=s,i;if(isNumerable(a,i)&&$bm_isInstanceOfArray(s))return s=s.slice(0),s[0]=i+s[0],s;if($bm_isInstanceOfArray(i)&&$bm_isInstanceOfArray(s)){for(var u=0,S=i.length,P=s.length,C=[];u<S||u<P;)(typeof i[u]=="number"||i[u]instanceof Number)&&(typeof s[u]=="number"||s[u]instanceof Number)?C[u]=i[u]+s[u]:C[u]=s[u]===void 0?i[u]:i[u]||s[u],u+=1;return C}return 0}var add=sum;function sub(i,s){var a=_typeof$1(i),o=_typeof$1(s);if(isNumerable(a,i)&&isNumerable(o,s))return a==="string"&&(i=parseInt(i,10)),o==="string"&&(s=parseInt(s,10)),i-s;if($bm_isInstanceOfArray(i)&&isNumerable(o,s))return i=i.slice(0),i[0]-=s,i;if(isNumerable(a,i)&&$bm_isInstanceOfArray(s))return s=s.slice(0),s[0]=i-s[0],s;if($bm_isInstanceOfArray(i)&&$bm_isInstanceOfArray(s)){for(var u=0,S=i.length,P=s.length,C=[];u<S||u<P;)(typeof i[u]=="number"||i[u]instanceof Number)&&(typeof s[u]=="number"||s[u]instanceof Number)?C[u]=i[u]-s[u]:C[u]=s[u]===void 0?i[u]:i[u]||s[u],u+=1;return C}return 0}function mul(i,s){var a=_typeof$1(i),o=_typeof$1(s),u;if(isNumerable(a,i)&&isNumerable(o,s))return i*s;var S,P;if($bm_isInstanceOfArray(i)&&isNumerable(o,s)){for(P=i.length,u=createTypedArray("float32",P),S=0;S<P;S+=1)u[S]=i[S]*s;return u}if(isNumerable(a,i)&&$bm_isInstanceOfArray(s)){for(P=s.length,u=createTypedArray("float32",P),S=0;S<P;S+=1)u[S]=i*s[S];return u}return 0}function div(i,s){var a=_typeof$1(i),o=_typeof$1(s),u;if(isNumerable(a,i)&&isNumerable(o,s))return i/s;var S,P;if($bm_isInstanceOfArray(i)&&isNumerable(o,s)){for(P=i.length,u=createTypedArray("float32",P),S=0;S<P;S+=1)u[S]=i[S]/s;return u}if(isNumerable(a,i)&&$bm_isInstanceOfArray(s)){for(P=s.length,u=createTypedArray("float32",P),S=0;S<P;S+=1)u[S]=i/s[S];return u}return 0}function mod(i,s){return typeof i=="string"&&(i=parseInt(i,10)),typeof s=="string"&&(s=parseInt(s,10)),i%s}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(i,s,a){if(s>a){var o=a;a=s,s=o}return Math.min(Math.max(i,s),a)}function radiansToDegrees(i){return i/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(i){return i*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(i,s){if(typeof i=="number"||i instanceof Number)return s=s||0,Math.abs(i-s);s||(s=helperLengthArray);var a,o=Math.min(i.length,s.length),u=0;for(a=0;a<o;a+=1)u+=Math.pow(s[a]-i[a],2);return Math.sqrt(u)}function normalize(i){return div(i,length(i))}function rgbToHsl(i){var s=i[0],a=i[1],o=i[2],u=Math.max(s,a,o),S=Math.min(s,a,o),P,C,E=(u+S)/2;if(u===S)P=0,C=0;else{var _=u-S;switch(C=E>.5?_/(2-u-S):_/(u+S),u){case s:P=(a-o)/_+(a<o?6:0);break;case a:P=(o-s)/_+2;break;case o:P=(s-a)/_+4;break}P/=6}return[P,C,E,i[3]]}function hue2rgb(i,s,a){return a<0&&(a+=1),a>1&&(a-=1),a<1/6?i+(s-i)*6*a:a<1/2?s:a<2/3?i+(s-i)*(2/3-a)*6:i}function hslToRgb(i){var s=i[0],a=i[1],o=i[2],u,S,P;if(a===0)u=o,P=o,S=o;else{var C=o<.5?o*(1+a):o+a-o*a,E=2*o-C;u=hue2rgb(E,C,s+1/3),S=hue2rgb(E,C,s),P=hue2rgb(E,C,s-1/3)}return[u,S,P,i[3]]}function linear(i,s,a,o,u){if((o===void 0||u===void 0)&&(o=s,u=a,s=0,a=1),a<s){var S=a;a=s,s=S}if(i<=s)return o;if(i>=a)return u;var P=a===s?0:(i-s)/(a-s);if(!o.length)return o+(u-o)*P;var C,E=o.length,_=createTypedArray("float32",E);for(C=0;C<E;C+=1)_[C]=o[C]+(u[C]-o[C])*P;return _}function random(i,s){if(s===void 0&&(i===void 0?(i=0,s=1):(s=i,i=void 0)),s.length){var a,o=s.length;i||(i=createTypedArray("float32",o));var u=createTypedArray("float32",o),S=BMMath.random();for(a=0;a<o;a+=1)u[a]=i[a]+S*(s[a]-i[a]);return u}i===void 0&&(i=0);var P=BMMath.random();return i+P*(s-i)}function createPath(i,s,a,o){var u,S=i.length,P=shapePool.newElement();P.setPathData(!!o,S);var C=[0,0],E,_;for(u=0;u<S;u+=1)E=s&&s[u]?s[u]:C,_=a&&a[u]?a[u]:C,P.setTripleAt(i[u][0],i[u][1],_[0]+i[u][0],_[1]+i[u][1],E[0]+i[u][0],E[1]+i[u][1],u,!0);return P}function initiateExpression(elem,data,property){function noOp(i){return i}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function i(s,a){var o,u,S=this.pv.length?this.pv.length:1,P=createTypedArray("float32",S);s=5;var C=Math.floor(time*s);for(o=0,u=0;o<C;){for(u=0;u<S;u+=1)P[u]+=-a+a*2*BMMath.random();o+=1}var E=time*s,_=E-Math.floor(E),I=createTypedArray("float32",S);if(S>1){for(u=0;u<S;u+=1)I[u]=this.pv[u]+P[u]+(-a+a*2*BMMath.random())*_;return I}return this.pv+P[0]+(-a+a*2*BMMath.random())*_}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(i,s){return loopIn(i,s,!0)}function loopOutDuration(i,s){return loopOut(i,s,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(i,s){var a=[s[0]-i[0],s[1]-i[1],s[2]-i[2]],o=Math.atan2(a[0],Math.sqrt(a[1]*a[1]+a[2]*a[2]))/degToRads,u=-Math.atan2(a[1],a[2])/degToRads;return[u,o,0]}function easeOut(i,s,a,o,u){return applyEase(easeOutBez,i,s,a,o,u)}function easeIn(i,s,a,o,u){return applyEase(easeInBez,i,s,a,o,u)}function ease(i,s,a,o,u){return applyEase(easeInOutBez,i,s,a,o,u)}function applyEase(i,s,a,o,u,S){u===void 0?(u=a,S=o):s=(s-a)/(o-a),s>1?s=1:s<0&&(s=0);var P=i(s);if($bm_isInstanceOfArray(u)){var C,E=u.length,_=createTypedArray("float32",E);for(C=0;C<E;C+=1)_[C]=(S[C]-u[C])*P+u[C];return _}return(S-u)*P+u}function nearestKey(i){var s,a=data.k.length,o,u;if(!data.k.length||typeof data.k[0]=="number")o=0,u=0;else if(o=-1,i*=elem.comp.globalData.frameRate,i<data.k[0].t)o=1,u=data.k[0].t;else{for(s=0;s<a-1;s+=1)if(i===data.k[s].t){o=s+1,u=data.k[s].t;break}else if(i>data.k[s].t&&i<data.k[s+1].t){i-data.k[s].t>data.k[s+1].t-i?(o=s+2,u=data.k[s+1].t):(o=s+1,u=data.k[s].t);break}o===-1&&(o=s+1,u=data.k[s].t)}var S={};return S.index=o,S.time=u/elem.comp.globalData.frameRate,S}function key(i){var s,a,o;if(!data.k.length||typeof data.k[0]=="number")throw new Error("The property has no keyframe at index "+i);i-=1,s={time:data.k[i].t/elem.comp.globalData.frameRate,value:[]};var u=Object.prototype.hasOwnProperty.call(data.k[i],"s")?data.k[i].s:data.k[i-1].e;for(o=u.length,a=0;a<o;a+=1)s[a]=u[a],s.value[a]=u[a];return s}function framesToTime(i,s){return s||(s=elem.comp.globalData.frameRate),i/s}function timeToFrames(i,s){return!i&&i!==0&&(i=time),s||(s=elem.comp.globalData.frameRate),i*s}function seedRandom(i){BMMath.seedrandom(randSeed+i)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(i,s){return typeof value=="string"?s===void 0?value.substring(i):value.substring(i,s):""}function substr(i,s){return typeof value=="string"?s===void 0?value.substr(i):value.substr(i,s):""}function posterizeTime(i){time=i===0?0:Math.floor(time*i)/i,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(i){return value=i,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var i={};i.initExpressions=s,i.resetFrame=ExpressionManager.resetFrame;function s(a){var o=0,u=[];function S(){o+=1}function P(){o-=1,o===0&&E()}function C(_){u.indexOf(_)===-1&&u.push(_)}function E(){var _,I=u.length;for(_=0;_<I;_+=1)u[_].release();u.length=0}a.renderer.compInterface=CompExpressionInterface(a.renderer),a.renderer.globalData.projectInterface.registerComposition(a.renderer),a.renderer.globalData.pushExpression=S,a.renderer.globalData.popExpression=P,a.renderer.globalData.registerExpressionProperty=C}return i}(),MaskManagerInterface=function(){function i(a,o){this._mask=a,this._data=o}Object.defineProperty(i.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(i.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),this._mask.op.v*100}});var s=function(o){var u=createSizedArray(o.viewData.length),S,P=o.viewData.length;for(S=0;S<P;S+=1)u[S]=new i(o.viewData[S],o.masksProperties[S]);var C=function(_){for(S=0;S<P;){if(o.masksProperties[S].nm===_)return u[S];S+=1}return null};return C};return s}(),ExpressionPropertyInterface=function(){var i={pv:0,v:0,mult:1},s={pv:[0,0,0],v:[0,0,0],mult:1};function a(P,C,E){Object.defineProperty(P,"velocity",{get:function(){return C.getVelocityAtTime(C.comp.currentFrame)}}),P.numKeys=C.keyframes?C.keyframes.length:0,P.key=function(_){if(!P.numKeys)return 0;var I="";"s"in C.keyframes[_-1]?I=C.keyframes[_-1].s:"e"in C.keyframes[_-2]?I=C.keyframes[_-2].e:I=C.keyframes[_-2].s;var j=E==="unidimensional"?new Number(I):Object.assign({},I);return j.time=C.keyframes[_-1].t/C.elem.comp.globalData.frameRate,j.value=E==="unidimensional"?I[0]:I,j},P.valueAtTime=C.getValueAtTime,P.speedAtTime=C.getSpeedAtTime,P.velocityAtTime=C.getVelocityAtTime,P.propertyGroup=C.propertyGroup}function o(P){(!P||!("pv"in P))&&(P=i);var C=1/P.mult,E=P.pv*C,_=new Number(E);return _.value=E,a(_,P,"unidimensional"),function(){return P.k&&P.getValue(),E=P.v*C,_.value!==E&&(_=new Number(E),_.value=E,a(_,P,"unidimensional")),_}}function u(P){(!P||!("pv"in P))&&(P=s);var C=1/P.mult,E=P.data&&P.data.l||P.pv.length,_=createTypedArray("float32",E),I=createTypedArray("float32",E);return _.value=I,a(_,P,"multidimensional"),function(){P.k&&P.getValue();for(var j=0;j<E;j+=1)I[j]=P.v[j]*C,_[j]=I[j];return _}}function S(){return i}return function(P){return P?P.propType==="unidimensional"?o(P):u(P):S}}(),TransformExpressionInterface=function(){return function(i){function s(P){switch(P){case"scale":case"Scale":case"ADBE Scale":case 6:return s.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return s.rotation;case"ADBE Rotate X":return s.xRotation;case"ADBE Rotate Y":return s.yRotation;case"position":case"Position":case"ADBE Position":case 2:return s.position;case"ADBE Position_0":return s.xPosition;case"ADBE Position_1":return s.yPosition;case"ADBE Position_2":return s.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return s.anchorPoint;case"opacity":case"Opacity":case 11:return s.opacity;default:return null}}Object.defineProperty(s,"rotation",{get:ExpressionPropertyInterface(i.r||i.rz)}),Object.defineProperty(s,"zRotation",{get:ExpressionPropertyInterface(i.rz||i.r)}),Object.defineProperty(s,"xRotation",{get:ExpressionPropertyInterface(i.rx)}),Object.defineProperty(s,"yRotation",{get:ExpressionPropertyInterface(i.ry)}),Object.defineProperty(s,"scale",{get:ExpressionPropertyInterface(i.s)});var a,o,u,S;return i.p?S=ExpressionPropertyInterface(i.p):(a=ExpressionPropertyInterface(i.px),o=ExpressionPropertyInterface(i.py),i.pz&&(u=ExpressionPropertyInterface(i.pz))),Object.defineProperty(s,"position",{get:function(){return i.p?S():[a(),o(),u?u():0]}}),Object.defineProperty(s,"xPosition",{get:ExpressionPropertyInterface(i.px)}),Object.defineProperty(s,"yPosition",{get:ExpressionPropertyInterface(i.py)}),Object.defineProperty(s,"zPosition",{get:ExpressionPropertyInterface(i.pz)}),Object.defineProperty(s,"anchorPoint",{get:ExpressionPropertyInterface(i.a)}),Object.defineProperty(s,"opacity",{get:ExpressionPropertyInterface(i.o)}),Object.defineProperty(s,"skew",{get:ExpressionPropertyInterface(i.sk)}),Object.defineProperty(s,"skewAxis",{get:ExpressionPropertyInterface(i.sa)}),Object.defineProperty(s,"orientation",{get:ExpressionPropertyInterface(i.or)}),s}}(),LayerExpressionInterface=function(){function i(_){var I=new Matrix;if(_!==void 0){var j=this._elem.finalTransform.mProp.getValueAtTime(_);j.clone(I)}else{var T=this._elem.finalTransform.mProp;T.applyToMatrix(I)}return I}function s(_,I){var j=this.getMatrix(I);return j.props[12]=0,j.props[13]=0,j.props[14]=0,this.applyPoint(j,_)}function a(_,I){var j=this.getMatrix(I);return this.applyPoint(j,_)}function o(_,I){var j=this.getMatrix(I);return j.props[12]=0,j.props[13]=0,j.props[14]=0,this.invertPoint(j,_)}function u(_,I){var j=this.getMatrix(I);return this.invertPoint(j,_)}function S(_,I){if(this._elem.hierarchy&&this._elem.hierarchy.length){var j,T=this._elem.hierarchy.length;for(j=0;j<T;j+=1)this._elem.hierarchy[j].finalTransform.mProp.applyToMatrix(_)}return _.applyToPointArray(I[0],I[1],I[2]||0)}function P(_,I){if(this._elem.hierarchy&&this._elem.hierarchy.length){var j,T=this._elem.hierarchy.length;for(j=0;j<T;j+=1)this._elem.hierarchy[j].finalTransform.mProp.applyToMatrix(_)}return _.inversePoint(I)}function C(_){var I=new Matrix;if(I.reset(),this._elem.finalTransform.mProp.applyToMatrix(I),this._elem.hierarchy&&this._elem.hierarchy.length){var j,T=this._elem.hierarchy.length;for(j=0;j<T;j+=1)this._elem.hierarchy[j].finalTransform.mProp.applyToMatrix(I);return I.inversePoint(_)}return I.inversePoint(_)}function E(){return[1,1,1,1]}return function(_){var I;function j(L){O.mask=new MaskManagerInterface(L,_)}function T(L){O.effect=L}function O(L){switch(L){case"ADBE Root Vectors Group":case"Contents":case 2:return O.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return I;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return O.effect;case"ADBE Text Properties":return O.textInterface;default:return null}}O.getMatrix=i,O.invertPoint=P,O.applyPoint=S,O.toWorld=a,O.toWorldVec=s,O.fromWorld=u,O.fromWorldVec=o,O.toComp=a,O.fromComp=C,O.sampleImage=E,O.sourceRectAtTime=_.sourceRectAtTime.bind(_),O._elem=_,I=TransformExpressionInterface(_.finalTransform.mProp);var D=getDescriptor(I,"anchorPoint");return Object.defineProperties(O,{hasParent:{get:function(){return _.hierarchy.length}},parent:{get:function(){return _.hierarchy[0].layerInterface}},rotation:getDescriptor(I,"rotation"),scale:getDescriptor(I,"scale"),position:getDescriptor(I,"position"),opacity:getDescriptor(I,"opacity"),anchorPoint:D,anchor_point:D,transform:{get:function(){return I}},active:{get:function(){return _.isInRange}}}),O.startTime=_.data.st,O.index=_.data.ind,O.source=_.data.refId,O.height=_.data.ty===0?_.data.h:100,O.width=_.data.ty===0?_.data.w:100,O.inPoint=_.data.ip/_.comp.globalData.frameRate,O.outPoint=_.data.op/_.comp.globalData.frameRate,O._name=_.data.nm,O.registerMaskInterface=j,O.registerEffectsInterface=T,O}}(),propertyGroupFactory=function(){return function(i,s){return function(a){return a=a===void 0?1:a,a<=0?i:s(a-1)}}}(),PropertyInterface=function(){return function(i,s){var a={_name:i};function o(u){return u=u===void 0?1:u,u<=0?a:s(u-1)}return o}}(),EffectsExpressionInterface=function(){var i={createEffectsInterface:s};function s(u,S){if(u.effectsManager){var P=[],C=u.data.ef,E,_=u.effectsManager.effectElements.length;for(E=0;E<_;E+=1)P.push(a(C[E],u.effectsManager.effectElements[E],S,u));var I=u.data.ef||[],j=function(O){for(E=0,_=I.length;E<_;){if(O===I[E].nm||O===I[E].mn||O===I[E].ix)return P[E];E+=1}return null};return Object.defineProperty(j,"numProperties",{get:function(){return I.length}}),j}return null}function a(u,S,P,C){function E(O){for(var D=u.ef,L=0,H=D.length;L<H;){if(O===D[L].nm||O===D[L].mn||O===D[L].ix)return D[L].ty===5?I[L]:I[L]();L+=1}throw new Error}var _=propertyGroupFactory(E,P),I=[],j,T=u.ef.length;for(j=0;j<T;j+=1)u.ef[j].ty===5?I.push(a(u.ef[j],S.effectElements[j],S.effectElements[j].propertyGroup,C)):I.push(o(S.effectElements[j],u.ef[j].ty,C,_));return u.mn==="ADBE Color Control"&&Object.defineProperty(E,"color",{get:function(){return I[0]()}}),Object.defineProperties(E,{numProperties:{get:function(){return u.np}},_name:{value:u.nm},propertyGroup:{value:_}}),E.enabled=u.en!==0,E.active=E.enabled,E}function o(u,S,P,C){var E=ExpressionPropertyInterface(u.p);function _(){return S===10?P.comp.compInterface(u.p.v):E()}return u.p.setGroupProperty&&u.p.setGroupProperty(PropertyInterface("",C)),_}return i}(),ShapePathInterface=function(){return function(s,a,o){var u=a.sh;function S(C){return C==="Shape"||C==="shape"||C==="Path"||C==="path"||C==="ADBE Vector Shape"||C===2?S.path:null}var P=propertyGroupFactory(S,o);return u.setGroupProperty(PropertyInterface("Path",P)),Object.defineProperties(S,{path:{get:function(){return u.k&&u.getValue(),u}},shape:{get:function(){return u.k&&u.getValue(),u}},_name:{value:s.nm},ix:{value:s.ix},propertyIndex:{value:s.ix},mn:{value:s.mn},propertyGroup:{value:o}}),S}}(),ShapeExpressionInterface=function(){function i(D,L,H){var F=[],R,M=D?D.length:0;for(R=0;R<M;R+=1)D[R].ty==="gr"?F.push(a(D[R],L[R],H)):D[R].ty==="fl"?F.push(o(D[R],L[R],H)):D[R].ty==="st"?F.push(P(D[R],L[R],H)):D[R].ty==="tm"?F.push(C(D[R],L[R],H)):D[R].ty==="tr"||(D[R].ty==="el"?F.push(_(D[R],L[R],H)):D[R].ty==="sr"?F.push(I(D[R],L[R],H)):D[R].ty==="sh"?F.push(ShapePathInterface(D[R],L[R],H)):D[R].ty==="rc"?F.push(j(D[R],L[R],H)):D[R].ty==="rd"?F.push(T(D[R],L[R],H)):D[R].ty==="rp"?F.push(O(D[R],L[R],H)):D[R].ty==="gf"?F.push(u(D[R],L[R],H)):F.push(S(D[R],L[R])));return F}function s(D,L,H){var F,R=function(N){for(var W=0,X=F.length;W<X;){if(F[W]._name===N||F[W].mn===N||F[W].propertyIndex===N||F[W].ix===N||F[W].ind===N)return F[W];W+=1}return typeof N=="number"?F[N-1]:null};R.propertyGroup=propertyGroupFactory(R,H),F=i(D.it,L.it,R.propertyGroup),R.numProperties=F.length;var M=E(D.it[D.it.length-1],L.it[L.it.length-1],R.propertyGroup);return R.transform=M,R.propertyIndex=D.cix,R._name=D.nm,R}function a(D,L,H){var F=function(N){switch(N){case"ADBE Vectors Group":case"Contents":case 2:return F.content;default:return F.transform}};F.propertyGroup=propertyGroupFactory(F,H);var R=s(D,L,F.propertyGroup),M=E(D.it[D.it.length-1],L.it[L.it.length-1],F.propertyGroup);return F.content=R,F.transform=M,Object.defineProperty(F,"_name",{get:function(){return D.nm}}),F.numProperties=D.np,F.propertyIndex=D.ix,F.nm=D.nm,F.mn=D.mn,F}function o(D,L,H){function F(R){return R==="Color"||R==="color"?F.color:R==="Opacity"||R==="opacity"?F.opacity:null}return Object.defineProperties(F,{color:{get:ExpressionPropertyInterface(L.c)},opacity:{get:ExpressionPropertyInterface(L.o)},_name:{value:D.nm},mn:{value:D.mn}}),L.c.setGroupProperty(PropertyInterface("Color",H)),L.o.setGroupProperty(PropertyInterface("Opacity",H)),F}function u(D,L,H){function F(R){return R==="Start Point"||R==="start point"?F.startPoint:R==="End Point"||R==="end point"?F.endPoint:R==="Opacity"||R==="opacity"?F.opacity:null}return Object.defineProperties(F,{startPoint:{get:ExpressionPropertyInterface(L.s)},endPoint:{get:ExpressionPropertyInterface(L.e)},opacity:{get:ExpressionPropertyInterface(L.o)},type:{get:function(){return"a"}},_name:{value:D.nm},mn:{value:D.mn}}),L.s.setGroupProperty(PropertyInterface("Start Point",H)),L.e.setGroupProperty(PropertyInterface("End Point",H)),L.o.setGroupProperty(PropertyInterface("Opacity",H)),F}function S(){function D(){return null}return D}function P(D,L,H){var F=propertyGroupFactory(X,H),R=propertyGroupFactory(W,F);function M(Y){Object.defineProperty(W,D.d[Y].nm,{get:ExpressionPropertyInterface(L.d.dataProps[Y].p)})}var V,N=D.d?D.d.length:0,W={};for(V=0;V<N;V+=1)M(V),L.d.dataProps[V].p.setGroupProperty(R);function X(Y){return Y==="Color"||Y==="color"?X.color:Y==="Opacity"||Y==="opacity"?X.opacity:Y==="Stroke Width"||Y==="stroke width"?X.strokeWidth:null}return Object.defineProperties(X,{color:{get:ExpressionPropertyInterface(L.c)},opacity:{get:ExpressionPropertyInterface(L.o)},strokeWidth:{get:ExpressionPropertyInterface(L.w)},dash:{get:function(){return W}},_name:{value:D.nm},mn:{value:D.mn}}),L.c.setGroupProperty(PropertyInterface("Color",F)),L.o.setGroupProperty(PropertyInterface("Opacity",F)),L.w.setGroupProperty(PropertyInterface("Stroke Width",F)),X}function C(D,L,H){function F(M){return M===D.e.ix||M==="End"||M==="end"?F.end:M===D.s.ix?F.start:M===D.o.ix?F.offset:null}var R=propertyGroupFactory(F,H);return F.propertyIndex=D.ix,L.s.setGroupProperty(PropertyInterface("Start",R)),L.e.setGroupProperty(PropertyInterface("End",R)),L.o.setGroupProperty(PropertyInterface("Offset",R)),F.propertyIndex=D.ix,F.propertyGroup=H,Object.defineProperties(F,{start:{get:ExpressionPropertyInterface(L.s)},end:{get:ExpressionPropertyInterface(L.e)},offset:{get:ExpressionPropertyInterface(L.o)},_name:{value:D.nm}}),F.mn=D.mn,F}function E(D,L,H){function F(M){return D.a.ix===M||M==="Anchor Point"?F.anchorPoint:D.o.ix===M||M==="Opacity"?F.opacity:D.p.ix===M||M==="Position"?F.position:D.r.ix===M||M==="Rotation"||M==="ADBE Vector Rotation"?F.rotation:D.s.ix===M||M==="Scale"?F.scale:D.sk&&D.sk.ix===M||M==="Skew"?F.skew:D.sa&&D.sa.ix===M||M==="Skew Axis"?F.skewAxis:null}var R=propertyGroupFactory(F,H);return L.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",R)),L.transform.mProps.p.setGroupProperty(PropertyInterface("Position",R)),L.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",R)),L.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",R)),L.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",R)),L.transform.mProps.sk&&(L.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",R)),L.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",R))),L.transform.op.setGroupProperty(PropertyInterface("Opacity",R)),Object.defineProperties(F,{opacity:{get:ExpressionPropertyInterface(L.transform.mProps.o)},position:{get:ExpressionPropertyInterface(L.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(L.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(L.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(L.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(L.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(L.transform.mProps.sa)},_name:{value:D.nm}}),F.ty="tr",F.mn=D.mn,F.propertyGroup=H,F}function _(D,L,H){function F(V){return D.p.ix===V?F.position:D.s.ix===V?F.size:null}var R=propertyGroupFactory(F,H);F.propertyIndex=D.ix;var M=L.sh.ty==="tm"?L.sh.prop:L.sh;return M.s.setGroupProperty(PropertyInterface("Size",R)),M.p.setGroupProperty(PropertyInterface("Position",R)),Object.defineProperties(F,{size:{get:ExpressionPropertyInterface(M.s)},position:{get:ExpressionPropertyInterface(M.p)},_name:{value:D.nm}}),F.mn=D.mn,F}function I(D,L,H){function F(V){return D.p.ix===V?F.position:D.r.ix===V?F.rotation:D.pt.ix===V?F.points:D.or.ix===V||V==="ADBE Vector Star Outer Radius"?F.outerRadius:D.os.ix===V?F.outerRoundness:D.ir&&(D.ir.ix===V||V==="ADBE Vector Star Inner Radius")?F.innerRadius:D.is&&D.is.ix===V?F.innerRoundness:null}var R=propertyGroupFactory(F,H),M=L.sh.ty==="tm"?L.sh.prop:L.sh;return F.propertyIndex=D.ix,M.or.setGroupProperty(PropertyInterface("Outer Radius",R)),M.os.setGroupProperty(PropertyInterface("Outer Roundness",R)),M.pt.setGroupProperty(PropertyInterface("Points",R)),M.p.setGroupProperty(PropertyInterface("Position",R)),M.r.setGroupProperty(PropertyInterface("Rotation",R)),D.ir&&(M.ir.setGroupProperty(PropertyInterface("Inner Radius",R)),M.is.setGroupProperty(PropertyInterface("Inner Roundness",R))),Object.defineProperties(F,{position:{get:ExpressionPropertyInterface(M.p)},rotation:{get:ExpressionPropertyInterface(M.r)},points:{get:ExpressionPropertyInterface(M.pt)},outerRadius:{get:ExpressionPropertyInterface(M.or)},outerRoundness:{get:ExpressionPropertyInterface(M.os)},innerRadius:{get:ExpressionPropertyInterface(M.ir)},innerRoundness:{get:ExpressionPropertyInterface(M.is)},_name:{value:D.nm}}),F.mn=D.mn,F}function j(D,L,H){function F(V){return D.p.ix===V?F.position:D.r.ix===V?F.roundness:D.s.ix===V||V==="Size"||V==="ADBE Vector Rect Size"?F.size:null}var R=propertyGroupFactory(F,H),M=L.sh.ty==="tm"?L.sh.prop:L.sh;return F.propertyIndex=D.ix,M.p.setGroupProperty(PropertyInterface("Position",R)),M.s.setGroupProperty(PropertyInterface("Size",R)),M.r.setGroupProperty(PropertyInterface("Rotation",R)),Object.defineProperties(F,{position:{get:ExpressionPropertyInterface(M.p)},roundness:{get:ExpressionPropertyInterface(M.r)},size:{get:ExpressionPropertyInterface(M.s)},_name:{value:D.nm}}),F.mn=D.mn,F}function T(D,L,H){function F(V){return D.r.ix===V||V==="Round Corners 1"?F.radius:null}var R=propertyGroupFactory(F,H),M=L;return F.propertyIndex=D.ix,M.rd.setGroupProperty(PropertyInterface("Radius",R)),Object.defineProperties(F,{radius:{get:ExpressionPropertyInterface(M.rd)},_name:{value:D.nm}}),F.mn=D.mn,F}function O(D,L,H){function F(V){return D.c.ix===V||V==="Copies"?F.copies:D.o.ix===V||V==="Offset"?F.offset:null}var R=propertyGroupFactory(F,H),M=L;return F.propertyIndex=D.ix,M.c.setGroupProperty(PropertyInterface("Copies",R)),M.o.setGroupProperty(PropertyInterface("Offset",R)),Object.defineProperties(F,{copies:{get:ExpressionPropertyInterface(M.c)},offset:{get:ExpressionPropertyInterface(M.o)},_name:{value:D.nm}}),F.mn=D.mn,F}return function(D,L,H){var F;function R(V){if(typeof V=="number")return V=V===void 0?1:V,V===0?H:F[V-1];for(var N=0,W=F.length;N<W;){if(F[N]._name===V)return F[N];N+=1}return null}function M(){return H}return R.propertyGroup=propertyGroupFactory(R,M),F=i(D,L,R.propertyGroup),R.numProperties=F.length,R._name="Contents",R}}(),TextExpressionInterface=function(){return function(i){var s;function a(o){switch(o){case"ADBE Text Document":return a.sourceText;default:return null}}return Object.defineProperty(a,"sourceText",{get:function(){i.textProperty.getValue();var u=i.textProperty.currentData.t;return(!s||u!==s.value)&&(s=new String(u),s.value=u||new String(u),Object.defineProperty(s,"style",{get:function(){return{fillColor:i.textProperty.currentData.fc}}})),s}}),a}}();function _typeof(i){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(a){return typeof a}:_typeof=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},_typeof(i)}var FootageInterface=function(){var i=function(o){var u="",S=o.getFootageData();function P(){return u="",S=o.getFootageData(),C}function C(E){if(S[E])return u=E,S=S[E],_typeof(S)==="object"?C:S;var _=E.indexOf(u);if(_!==-1){var I=parseInt(E.substr(_+u.length),10);return S=S[I],_typeof(S)==="object"?C:S}return""}return P},s=function(o){function u(S){return S==="Outline"?u.outlineInterface():null}return u._name="Outline",u.outlineInterface=i(o),u};return function(a){function o(u){return u==="Data"?o.dataInterface:null}return o._name="Data",o.dataInterface=s(a),o}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(i){return interfaces[i]||null}var expressionHelpers=function(){function i(P,C,E){C.x&&(E.k=!0,E.x=!0,E.initiateExpression=ExpressionManager.initiateExpression,E.effectsSequence.push(E.initiateExpression(P,C,E).bind(E)))}function s(P){return P*=this.elem.globalData.frameRate,P-=this.offsetTime,P!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<P?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(P,this._cachingAtTime),this._cachingAtTime.lastFrame=P),this._cachingAtTime.value}function a(P){var C=-.01,E=this.getValueAtTime(P),_=this.getValueAtTime(P+C),I=0;if(E.length){var j;for(j=0;j<E.length;j+=1)I+=Math.pow(_[j]-E[j],2);I=Math.sqrt(I)*100}else I=0;return I}function o(P){if(this.vel!==void 0)return this.vel;var C=-.001,E=this.getValueAtTime(P),_=this.getValueAtTime(P+C),I;if(E.length){I=createTypedArray("float32",E.length);var j;for(j=0;j<E.length;j+=1)I[j]=(_[j]-E[j])/C}else I=(_-E)/C;return I}function u(){return this.pv}function S(P){this.propertyGroup=P}return{searchExpressions:i,getSpeedAtTime:a,getVelocityAtTime:o,getValueAtTime:s,getStaticValueAtTime:u,setGroupProperty:S}}();function addPropertyDecorator(){function i(T,O,D){if(!this.k||!this.keyframes)return this.pv;T=T?T.toLowerCase():"";var L=this.comp.renderedFrame,H=this.keyframes,F=H[H.length-1].t;if(L<=F)return this.pv;var R,M;D?(O?R=Math.abs(F-this.elem.comp.globalData.frameRate*O):R=Math.max(0,F-this.elem.data.ip),M=F-R):((!O||O>H.length-1)&&(O=H.length-1),M=H[H.length-1-O].t,R=F-M);var V,N,W;if(T==="pingpong"){var X=Math.floor((L-M)/R);if(X%2!==0)return this.getValueAtTime((R-(L-M)%R+M)/this.comp.globalData.frameRate,0)}else if(T==="offset"){var Y=this.getValueAtTime(M/this.comp.globalData.frameRate,0),J=this.getValueAtTime(F/this.comp.globalData.frameRate,0),re=this.getValueAtTime(((L-M)%R+M)/this.comp.globalData.frameRate,0),te=Math.floor((L-M)/R);if(this.pv.length){for(W=new Array(Y.length),N=W.length,V=0;V<N;V+=1)W[V]=(J[V]-Y[V])*te+re[V];return W}return(J-Y)*te+re}else if(T==="continue"){var ee=this.getValueAtTime(F/this.comp.globalData.frameRate,0),se=this.getValueAtTime((F-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(W=new Array(ee.length),N=W.length,V=0;V<N;V+=1)W[V]=ee[V]+(ee[V]-se[V])*((L-F)/this.comp.globalData.frameRate)/5e-4;return W}return ee+(ee-se)*((L-F)/.001)}return this.getValueAtTime(((L-M)%R+M)/this.comp.globalData.frameRate,0)}function s(T,O,D){if(!this.k)return this.pv;T=T?T.toLowerCase():"";var L=this.comp.renderedFrame,H=this.keyframes,F=H[0].t;if(L>=F)return this.pv;var R,M;D?(O?R=Math.abs(this.elem.comp.globalData.frameRate*O):R=Math.max(0,this.elem.data.op-F),M=F+R):((!O||O>H.length-1)&&(O=H.length-1),M=H[O].t,R=M-F);var V,N,W;if(T==="pingpong"){var X=Math.floor((F-L)/R);if(X%2===0)return this.getValueAtTime(((F-L)%R+F)/this.comp.globalData.frameRate,0)}else if(T==="offset"){var Y=this.getValueAtTime(F/this.comp.globalData.frameRate,0),J=this.getValueAtTime(M/this.comp.globalData.frameRate,0),re=this.getValueAtTime((R-(F-L)%R+F)/this.comp.globalData.frameRate,0),te=Math.floor((F-L)/R)+1;if(this.pv.length){for(W=new Array(Y.length),N=W.length,V=0;V<N;V+=1)W[V]=re[V]-(J[V]-Y[V])*te;return W}return re-(J-Y)*te}else if(T==="continue"){var ee=this.getValueAtTime(F/this.comp.globalData.frameRate,0),se=this.getValueAtTime((F+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(W=new Array(ee.length),N=W.length,V=0;V<N;V+=1)W[V]=ee[V]+(ee[V]-se[V])*(F-L)/.001;return W}return ee+(ee-se)*(F-L)/.001}return this.getValueAtTime((R-((F-L)%R+F))/this.comp.globalData.frameRate,0)}function a(T,O){if(!this.k)return this.pv;if(T=(T||.4)*.5,O=Math.floor(O||5),O<=1)return this.pv;var D=this.comp.renderedFrame/this.comp.globalData.frameRate,L=D-T,H=D+T,F=O>1?(H-L)/(O-1):1,R=0,M=0,V;this.pv.length?V=createTypedArray("float32",this.pv.length):V=0;for(var N;R<O;){if(N=this.getValueAtTime(L+R*F),this.pv.length)for(M=0;M<this.pv.length;M+=1)V[M]+=N[M];else V+=N;R+=1}if(this.pv.length)for(M=0;M<this.pv.length;M+=1)V[M]/=O;else V/=O;return V}function o(T){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var O=this._transformCachingAtTime.v;if(O.cloneFromProps(this.pre.props),this.appliedTransformations<1){var D=this.a.getValueAtTime(T);O.translate(-D[0]*this.a.mult,-D[1]*this.a.mult,D[2]*this.a.mult)}if(this.appliedTransformations<2){var L=this.s.getValueAtTime(T);O.scale(L[0]*this.s.mult,L[1]*this.s.mult,L[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var H=this.sk.getValueAtTime(T),F=this.sa.getValueAtTime(T);O.skewFromAxis(-H*this.sk.mult,F*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var R=this.r.getValueAtTime(T);O.rotate(-R*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var M=this.rz.getValueAtTime(T),V=this.ry.getValueAtTime(T),N=this.rx.getValueAtTime(T),W=this.or.getValueAtTime(T);O.rotateZ(-M*this.rz.mult).rotateY(V*this.ry.mult).rotateX(N*this.rx.mult).rotateZ(-W[2]*this.or.mult).rotateY(W[1]*this.or.mult).rotateX(W[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var X=this.px.getValueAtTime(T),Y=this.py.getValueAtTime(T);if(this.data.p.z){var J=this.pz.getValueAtTime(T);O.translate(X*this.px.mult,Y*this.py.mult,-J*this.pz.mult)}else O.translate(X*this.px.mult,Y*this.py.mult,0)}else{var re=this.p.getValueAtTime(T);O.translate(re[0]*this.p.mult,re[1]*this.p.mult,-re[2]*this.p.mult)}return O}function u(){return this.v.clone(new Matrix)}var S=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(T,O,D){var L=S(T,O,D);return L.dynamicProperties.length?L.getValueAtTime=o.bind(L):L.getValueAtTime=u.bind(L),L.setGroupProperty=expressionHelpers.setGroupProperty,L};var P=PropertyFactory.getProp;PropertyFactory.getProp=function(T,O,D,L,H){var F=P(T,O,D,L,H);F.kf?F.getValueAtTime=expressionHelpers.getValueAtTime.bind(F):F.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(F),F.setGroupProperty=expressionHelpers.setGroupProperty,F.loopOut=i,F.loopIn=s,F.smooth=a,F.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(F),F.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(F),F.numKeys=O.a===1?O.k.length:0,F.propertyIndex=O.ix;var R=0;return D!==0&&(R=createTypedArray("float32",O.a===1?O.k[0].s.length:O.k.length)),F._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:R},expressionHelpers.searchExpressions(T,O,F),F.k&&H.addDynamicProperty(F),F};function C(T){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),T*=this.elem.globalData.frameRate,T-=this.offsetTime,T!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<T?this._caching.lastIndex:0,this._cachingAtTime.lastTime=T,this.interpolateShape(T,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var E=ShapePropertyFactory.getConstructorFunction(),_=ShapePropertyFactory.getKeyframedConstructorFunction();function I(){}I.prototype={vertices:function(O,D){this.k&&this.getValue();var L=this.v;D!==void 0&&(L=this.getValueAtTime(D,0));var H,F=L._length,R=L[O],M=L.v,V=createSizedArray(F);for(H=0;H<F;H+=1)O==="i"||O==="o"?V[H]=[R[H][0]-M[H][0],R[H][1]-M[H][1]]:V[H]=[R[H][0],R[H][1]];return V},points:function(O){return this.vertices("v",O)},inTangents:function(O){return this.vertices("i",O)},outTangents:function(O){return this.vertices("o",O)},isClosed:function(){return this.v.c},pointOnPath:function(O,D){var L=this.v;D!==void 0&&(L=this.getValueAtTime(D,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(L));for(var H=this._segmentsLength,F=H.lengths,R=H.totalLength*O,M=0,V=F.length,N=0,W;M<V;){if(N+F[M].addedLength>R){var X=M,Y=L.c&&M===V-1?0:M+1,J=(R-N)/F[M].addedLength;W=bez.getPointInSegment(L.v[X],L.v[Y],L.o[X],L.i[Y],J,F[M]);break}else N+=F[M].addedLength;M+=1}return W||(W=L.c?[L.v[0][0],L.v[0][1]]:[L.v[L._length-1][0],L.v[L._length-1][1]]),W},vectorOnPath:function(O,D,L){O==1?O=this.v.c:O==0&&(O=.999);var H=this.pointOnPath(O,D),F=this.pointOnPath(O+.001,D),R=F[0]-H[0],M=F[1]-H[1],V=Math.sqrt(Math.pow(R,2)+Math.pow(M,2));if(V===0)return[0,0];var N=L==="tangent"?[R/V,M/V]:[-M/V,R/V];return N},tangentOnPath:function(O,D){return this.vectorOnPath(O,D,"tangent")},normalOnPath:function(O,D){return this.vectorOnPath(O,D,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([I],E),extendPrototype([I],_),_.prototype.getValueAtTime=C,_.prototype.initiateExpression=ExpressionManager.initiateExpression;var j=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(T,O,D,L,H){var F=j(T,O,D,L,H);return F.propertyIndex=O.ix,F.lock=!1,D===3?expressionHelpers.searchExpressions(T,O.pt,F):D===4&&expressionHelpers.searchExpressions(T,O.ks,F),F.k&&T.addDynamicProperty(F),F}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function i(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(s,a){var o=this.calculateExpression(a);if(s.t!==o){var u={};return this.copyData(u,s),u.t=o.toString(),u.__complete=!1,u}return s},TextProperty.prototype.searchProperty=function(){var s=this.searchKeyframes(),a=this.searchExpressions();return this.kf=s||a,this.kf},TextProperty.prototype.searchExpressions=i}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function i(s,a){var o=createNS("feMerge");o.setAttribute("result",s);var u,S;for(S=0;S<a.length;S+=1)u=createNS("feMergeNode"),u.setAttribute("in",a[S]),o.appendChild(u),o.appendChild(u);return o}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(i,s,a,o,u){this.filterManager=s;var S=createNS("feColorMatrix");S.setAttribute("type","matrix"),S.setAttribute("color-interpolation-filters","linearRGB"),S.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=S,S.setAttribute("result",o+"_tint_1"),i.appendChild(S),S=createNS("feColorMatrix"),S.setAttribute("type","matrix"),S.setAttribute("color-interpolation-filters","sRGB"),S.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),S.setAttribute("result",o+"_tint_2"),i.appendChild(S),this.matrixFilter=S;var P=this.createMergeNode(o,[u,o+"_tint_1",o+"_tint_2"]);i.appendChild(P)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s=this.filterManager.effectElements[0].p.v,a=this.filterManager.effectElements[1].p.v,o=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+o+" 0"),this.matrixFilter.setAttribute("values",a[0]-s[0]+" 0 0 0 "+s[0]+" "+(a[1]-s[1])+" 0 0 0 "+s[1]+" "+(a[2]-s[2])+" 0 0 0 "+s[2]+" 0 0 0 1 0")}};function SVGFillFilter(i,s,a,o){this.filterManager=s;var u=createNS("feColorMatrix");u.setAttribute("type","matrix"),u.setAttribute("color-interpolation-filters","sRGB"),u.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),u.setAttribute("result",o),i.appendChild(u),this.matrixFilter=u}SVGFillFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s=this.filterManager.effectElements[2].p.v,a=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+s[0]+" 0 0 0 0 "+s[1]+" 0 0 0 0 "+s[2]+" 0 0 0 "+a+" 0")}};function SVGStrokeEffect(i,s,a){this.initialized=!1,this.filterManager=s,this.elem=a,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var i=this.elem.layerElement.children||this.elem.layerElement.childNodes,s,a,o,u;for(this.filterManager.effectElements[1].p.v===1?(u=this.elem.maskManager.masksProperties.length,o=0):(o=this.filterManager.effectElements[0].p.v-1,u=o+1),a=createNS("g"),a.setAttribute("fill","none"),a.setAttribute("stroke-linecap","round"),a.setAttribute("stroke-dashoffset",1),o;o<u;o+=1)s=createNS("path"),a.appendChild(s),this.paths.push({p:s,m:o});if(this.filterManager.effectElements[10].p.v===3){var S=createNS("mask"),P=createElementID();S.setAttribute("id",P),S.setAttribute("mask-type","alpha"),S.appendChild(a),this.elem.globalData.defs.appendChild(S);var C=createNS("g");for(C.setAttribute("mask","url("+getLocationHref()+"#"+P+")");i[0];)C.appendChild(i[0]);this.elem.layerElement.appendChild(C),this.masker=S,a.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(i=this.elem.layerElement.children||this.elem.layerElement.childNodes;i.length;)this.elem.layerElement.removeChild(i[0]);this.elem.layerElement.appendChild(a),this.elem.layerElement.removeAttribute("mask"),a.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=a},SVGStrokeEffect.prototype.renderFrame=function(i){this.initialized||this.initialize();var s,a=this.paths.length,o,u;for(s=0;s<a;s+=1)if(this.paths[s].m!==-1&&(o=this.elem.maskManager.viewData[this.paths[s].m],u=this.paths[s].p,(i||this.filterManager._mdf||o.prop._mdf)&&u.setAttribute("d",o.lastPath),i||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||o.prop._mdf)){var S;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var P=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,C=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,E=u.getTotalLength();S="0 0 0 "+E*P+" ";var _=E*(C-P),I=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,j=Math.floor(_/I),T;for(T=0;T<j;T+=1)S+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";S+="0 "+E*10+" 0 0"}else S="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;u.setAttribute("stroke-dasharray",S)}if((i||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(i||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(i||this.filterManager.effectElements[3].p._mdf)){var O=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(O[0]*255)+","+bmFloor(O[1]*255)+","+bmFloor(O[2]*255)+")")}};function SVGTritoneFilter(i,s,a,o){this.filterManager=s;var u=createNS("feColorMatrix");u.setAttribute("type","matrix"),u.setAttribute("color-interpolation-filters","linearRGB"),u.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),i.appendChild(u);var S=createNS("feComponentTransfer");S.setAttribute("color-interpolation-filters","sRGB"),S.setAttribute("result",o),this.matrixFilter=S;var P=createNS("feFuncR");P.setAttribute("type","table"),S.appendChild(P),this.feFuncR=P;var C=createNS("feFuncG");C.setAttribute("type","table"),S.appendChild(C),this.feFuncG=C;var E=createNS("feFuncB");E.setAttribute("type","table"),S.appendChild(E),this.feFuncB=E,i.appendChild(S)}SVGTritoneFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s=this.filterManager.effectElements[0].p.v,a=this.filterManager.effectElements[1].p.v,o=this.filterManager.effectElements[2].p.v,u=o[0]+" "+a[0]+" "+s[0],S=o[1]+" "+a[1]+" "+s[1],P=o[2]+" "+a[2]+" "+s[2];this.feFuncR.setAttribute("tableValues",u),this.feFuncG.setAttribute("tableValues",S),this.feFuncB.setAttribute("tableValues",P)}};function SVGProLevelsFilter(i,s,a,o){this.filterManager=s;var u=this.filterManager.effectElements,S=createNS("feComponentTransfer");(u[10].p.k||u[10].p.v!==0||u[11].p.k||u[11].p.v!==1||u[12].p.k||u[12].p.v!==1||u[13].p.k||u[13].p.v!==0||u[14].p.k||u[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",S)),(u[17].p.k||u[17].p.v!==0||u[18].p.k||u[18].p.v!==1||u[19].p.k||u[19].p.v!==1||u[20].p.k||u[20].p.v!==0||u[21].p.k||u[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",S)),(u[24].p.k||u[24].p.v!==0||u[25].p.k||u[25].p.v!==1||u[26].p.k||u[26].p.v!==1||u[27].p.k||u[27].p.v!==0||u[28].p.k||u[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",S)),(u[31].p.k||u[31].p.v!==0||u[32].p.k||u[32].p.v!==1||u[33].p.k||u[33].p.v!==1||u[34].p.k||u[34].p.v!==0||u[35].p.k||u[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",S)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(S.setAttribute("color-interpolation-filters","sRGB"),i.appendChild(S)),(u[3].p.k||u[3].p.v!==0||u[4].p.k||u[4].p.v!==1||u[5].p.k||u[5].p.v!==1||u[6].p.k||u[6].p.v!==0||u[7].p.k||u[7].p.v!==1)&&(S=createNS("feComponentTransfer"),S.setAttribute("color-interpolation-filters","sRGB"),S.setAttribute("result",o),i.appendChild(S),this.feFuncRComposed=this.createFeFunc("feFuncR",S),this.feFuncGComposed=this.createFeFunc("feFuncG",S),this.feFuncBComposed=this.createFeFunc("feFuncB",S))}SVGProLevelsFilter.prototype.createFeFunc=function(i,s){var a=createNS(i);return a.setAttribute("type","table"),s.appendChild(a),a},SVGProLevelsFilter.prototype.getTableValue=function(i,s,a,o,u){for(var S=0,P=256,C,E=Math.min(i,s),_=Math.max(i,s),I=Array.call(null,{length:P}),j,T=0,O=u-o,D=s-i;S<=256;)C=S/256,C<=E?j=D<0?u:o:C>=_?j=D<0?o:u:j=o+O*Math.pow((C-i)/D,1/a),I[T]=j,T+=1,S+=256/(P-1);return I.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s,a=this.filterManager.effectElements;this.feFuncRComposed&&(i||a[3].p._mdf||a[4].p._mdf||a[5].p._mdf||a[6].p._mdf||a[7].p._mdf)&&(s=this.getTableValue(a[3].p.v,a[4].p.v,a[5].p.v,a[6].p.v,a[7].p.v),this.feFuncRComposed.setAttribute("tableValues",s),this.feFuncGComposed.setAttribute("tableValues",s),this.feFuncBComposed.setAttribute("tableValues",s)),this.feFuncR&&(i||a[10].p._mdf||a[11].p._mdf||a[12].p._mdf||a[13].p._mdf||a[14].p._mdf)&&(s=this.getTableValue(a[10].p.v,a[11].p.v,a[12].p.v,a[13].p.v,a[14].p.v),this.feFuncR.setAttribute("tableValues",s)),this.feFuncG&&(i||a[17].p._mdf||a[18].p._mdf||a[19].p._mdf||a[20].p._mdf||a[21].p._mdf)&&(s=this.getTableValue(a[17].p.v,a[18].p.v,a[19].p.v,a[20].p.v,a[21].p.v),this.feFuncG.setAttribute("tableValues",s)),this.feFuncB&&(i||a[24].p._mdf||a[25].p._mdf||a[26].p._mdf||a[27].p._mdf||a[28].p._mdf)&&(s=this.getTableValue(a[24].p.v,a[25].p.v,a[26].p.v,a[27].p.v,a[28].p.v),this.feFuncB.setAttribute("tableValues",s)),this.feFuncA&&(i||a[31].p._mdf||a[32].p._mdf||a[33].p._mdf||a[34].p._mdf||a[35].p._mdf)&&(s=this.getTableValue(a[31].p.v,a[32].p.v,a[33].p.v,a[34].p.v,a[35].p.v),this.feFuncA.setAttribute("tableValues",s))}};function SVGDropShadowEffect(i,s,a,o,u){var S=s.container.globalData.renderConfig.filterSize,P=s.data.fs||S;i.setAttribute("x",P.x||S.x),i.setAttribute("y",P.y||S.y),i.setAttribute("width",P.width||S.width),i.setAttribute("height",P.height||S.height),this.filterManager=s;var C=createNS("feGaussianBlur");C.setAttribute("in","SourceAlpha"),C.setAttribute("result",o+"_drop_shadow_1"),C.setAttribute("stdDeviation","0"),this.feGaussianBlur=C,i.appendChild(C);var E=createNS("feOffset");E.setAttribute("dx","25"),E.setAttribute("dy","0"),E.setAttribute("in",o+"_drop_shadow_1"),E.setAttribute("result",o+"_drop_shadow_2"),this.feOffset=E,i.appendChild(E);var _=createNS("feFlood");_.setAttribute("flood-color","#00ff00"),_.setAttribute("flood-opacity","1"),_.setAttribute("result",o+"_drop_shadow_3"),this.feFlood=_,i.appendChild(_);var I=createNS("feComposite");I.setAttribute("in",o+"_drop_shadow_3"),I.setAttribute("in2",o+"_drop_shadow_2"),I.setAttribute("operator","in"),I.setAttribute("result",o+"_drop_shadow_4"),i.appendChild(I);var j=this.createMergeNode(o,[o+"_drop_shadow_4",u]);i.appendChild(j)}extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){if((i||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),i||this.filterManager.effectElements[0].p._mdf){var s=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(s[0]*255),Math.round(s[1]*255),Math.round(s[2]*255)))}if((i||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),i||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var a=this.filterManager.effectElements[3].p.v,o=(this.filterManager.effectElements[2].p.v-90)*degToRads,u=a*Math.cos(o),S=a*Math.sin(o);this.feOffset.setAttribute("dx",u),this.feOffset.setAttribute("dy",S)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(i,s,a){this.initialized=!1,this.filterManager=s,this.filterElem=i,this.elem=a,a.matteElement=createNS("g"),a.matteElement.appendChild(a.layerElement),a.matteElement.appendChild(a.transformedElement),a.baseElement=a.matteElement}SVGMatte3Effect.prototype.findSymbol=function(i){for(var s=0,a=_svgMatteSymbols.length;s<a;){if(_svgMatteSymbols[s]===i)return _svgMatteSymbols[s];s+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(i,s){var a=i.layerElement.parentNode;if(a){for(var o=a.children,u=0,S=o.length;u<S&&o[u]!==i.layerElement;)u+=1;var P;u<=S-2&&(P=o[u+1]);var C=createNS("use");C.setAttribute("href","#"+s),P?a.insertBefore(C,P):a.appendChild(C)}},SVGMatte3Effect.prototype.setElementAsMask=function(i,s){if(!this.findSymbol(s)){var a=createElementID(),o=createNS("mask");o.setAttribute("id",s.layerId),o.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(s);var u=i.globalData.defs;u.appendChild(o);var S=createNS("symbol");S.setAttribute("id",a),this.replaceInParent(s,a),S.appendChild(s.layerElement),u.appendChild(S);var P=createNS("use");P.setAttribute("href","#"+a),o.appendChild(P),s.data.hd=!1,s.show()}i.setMatte(s.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var i=this.filterManager.effectElements[0].p.v,s=this.elem.comp.elements,a=0,o=s.length;a<o;)s[a]&&s[a].data.ind===i&&this.setElementAsMask(this.elem,s[a]),a+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()};function SVGGaussianBlurEffect(i,s,a,o){i.setAttribute("x","-100%"),i.setAttribute("y","-100%"),i.setAttribute("width","300%"),i.setAttribute("height","300%"),this.filterManager=s;var u=createNS("feGaussianBlur");u.setAttribute("result",o),i.appendChild(u),this.feGaussianBlur=u}SVGGaussianBlurEffect.prototype.renderFrame=function(i){if(i||this.filterManager._mdf){var s=.3,a=this.filterManager.effectElements[0].p.v*s,o=this.filterManager.effectElements[1].p.v,u=o==3?0:a,S=o==2?0:a;this.feGaussianBlur.setAttribute("stdDeviation",u+" "+S);var P=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",P)}};function TransformEffect(){}TransformEffect.prototype.init=function(i){this.effectsManager=i,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(i){if(this._opMdf=!1,this._mdf=!1,i||this.effectsManager._mdf){var s=this.effectsManager.effectElements,a=s[0].p.v,o=s[1].p.v,u=s[2].p.v===1,S=s[3].p.v,P=u?S:s[4].p.v,C=s[5].p.v,E=s[6].p.v,_=s[7].p.v;this.matrix.reset(),this.matrix.translate(-a[0],-a[1],a[2]),this.matrix.scale(P*.01,S*.01,1),this.matrix.rotate(-_*degToRads),this.matrix.skewFromAxis(-C*degToRads,(E+90)*degToRads),this.matrix.translate(o[0],o[1],0),this._mdf=!0,this.opacity!==s[8].p.v&&(this.opacity=s[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(i,s){this.init(s)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(i){this.init(i)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})})(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports);var react=function i(s,a){if(s===a)return!0;if(s&&a&&typeof s=="object"&&typeof a=="object"){if(s.constructor!==a.constructor)return!1;var o,u,S;if(Array.isArray(s)){if(o=s.length,o!=a.length)return!1;for(u=o;u--!==0;)if(!i(s[u],a[u]))return!1;return!0}if(s instanceof Map&&a instanceof Map){if(s.size!==a.size)return!1;for(u of s.entries())if(!a.has(u[0]))return!1;for(u of s.entries())if(!i(u[1],a.get(u[0])))return!1;return!0}if(s instanceof Set&&a instanceof Set){if(s.size!==a.size)return!1;for(u of s.entries())if(!a.has(u[0]))return!1;return!0}if(ArrayBuffer.isView(s)&&ArrayBuffer.isView(a)){if(o=s.length,o!=a.length)return!1;for(u=o;u--!==0;)if(s[u]!==a[u])return!1;return!0}if(s.constructor===RegExp)return s.source===a.source&&s.flags===a.flags;if(s.valueOf!==Object.prototype.valueOf)return s.valueOf()===a.valueOf();if(s.toString!==Object.prototype.toString)return s.toString()===a.toString();if(S=Object.keys(s),o=S.length,o!==Object.keys(a).length)return!1;for(u=o;u--!==0;)if(!Object.prototype.hasOwnProperty.call(a,S[u]))return!1;for(u=o;u--!==0;){var P=S[u];if(!(P==="_owner"&&s.$$typeof)&&!i(s[P],a[P]))return!1}return!0}return s!==s&&a!==a};const equal=getDefaultExportFromCjs(react);var rfdc_1=rfdc;function copyBuffer(i){return i instanceof Buffer?Buffer.from(i):new i.constructor(i.buffer.slice(),i.byteOffset,i.length)}function rfdc(i){if(i=i||{},i.circles)return rfdcCircles(i);const s=new Map;if(s.set(Date,P=>new Date(P)),s.set(Map,(P,C)=>new Map(o(Array.from(P),C))),s.set(Set,(P,C)=>new Set(o(Array.from(P),C))),i.constructorHandlers)for(const P of i.constructorHandlers)s.set(P[0],P[1]);let a=null;return i.proto?S:u;function o(P,C){const E=Object.keys(P),_=new Array(E.length);for(let I=0;I<E.length;I++){const j=E[I],T=P[j];typeof T!="object"||T===null?_[j]=T:T.constructor!==Object&&(a=s.get(T.constructor))?_[j]=a(T,C):ArrayBuffer.isView(T)?_[j]=copyBuffer(T):_[j]=C(T)}return _}function u(P){if(typeof P!="object"||P===null)return P;if(Array.isArray(P))return o(P,u);if(P.constructor!==Object&&(a=s.get(P.constructor)))return a(P,u);const C={};for(const E in P){if(Object.hasOwnProperty.call(P,E)===!1)continue;const _=P[E];typeof _!="object"||_===null?C[E]=_:_.constructor!==Object&&(a=s.get(_.constructor))?C[E]=a(_,u):ArrayBuffer.isView(_)?C[E]=copyBuffer(_):C[E]=u(_)}return C}function S(P){if(typeof P!="object"||P===null)return P;if(Array.isArray(P))return o(P,S);if(P.constructor!==Object&&(a=s.get(P.constructor)))return a(P,S);const C={};for(const E in P){const _=P[E];typeof _!="object"||_===null?C[E]=_:_.constructor!==Object&&(a=s.get(_.constructor))?C[E]=a(_,S):ArrayBuffer.isView(_)?C[E]=copyBuffer(_):C[E]=S(_)}return C}}function rfdcCircles(i){const s=[],a=[],o=new Map;if(o.set(Date,E=>new Date(E)),o.set(Map,(E,_)=>new Map(S(Array.from(E),_))),o.set(Set,(E,_)=>new Set(S(Array.from(E),_))),i.constructorHandlers)for(const E of i.constructorHandlers)o.set(E[0],E[1]);let u=null;return i.proto?C:P;function S(E,_){const I=Object.keys(E),j=new Array(I.length);for(let T=0;T<I.length;T++){const O=I[T],D=E[O];if(typeof D!="object"||D===null)j[O]=D;else if(D.constructor!==Object&&(u=o.get(D.constructor)))j[O]=u(D,_);else if(ArrayBuffer.isView(D))j[O]=copyBuffer(D);else{const L=s.indexOf(D);L!==-1?j[O]=a[L]:j[O]=_(D)}}return j}function P(E){if(typeof E!="object"||E===null)return E;if(Array.isArray(E))return S(E,P);if(E.constructor!==Object&&(u=o.get(E.constructor)))return u(E,P);const _={};s.push(E),a.push(_);for(const I in E){if(Object.hasOwnProperty.call(E,I)===!1)continue;const j=E[I];if(typeof j!="object"||j===null)_[I]=j;else if(j.constructor!==Object&&(u=o.get(j.constructor)))_[I]=u(j,P);else if(ArrayBuffer.isView(j))_[I]=copyBuffer(j);else{const T=s.indexOf(j);T!==-1?_[I]=a[T]:_[I]=P(j)}}return s.pop(),a.pop(),_}function C(E){if(typeof E!="object"||E===null)return E;if(Array.isArray(E))return S(E,C);if(E.constructor!==Object&&(u=o.get(E.constructor)))return u(E,C);const _={};s.push(E),a.push(_);for(const I in E){const j=E[I];if(typeof j!="object"||j===null)_[I]=j;else if(j.constructor!==Object&&(u=o.get(j.constructor)))_[I]=u(j,C);else if(ArrayBuffer.isView(j))_[I]=copyBuffer(j);else{const T=s.indexOf(j);T!==-1?_[I]=a[T]:_[I]=C(j)}}return s.pop(),a.pop(),_}}var _default=rfdc_1();const clone=getDefaultExportFromCjs(_default);function _extends(){return _extends=Object.assign||function(i){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(i[o]=a[o])}return i},_extends.apply(this,arguments)}function _objectWithoutPropertiesLoose(i,s){if(i==null)return{};var a={},o=Object.keys(i),u,S;for(S=0;S<o.length;S++)u=o[S],!(s.indexOf(u)>=0)&&(a[u]=i[u]);return a}function createCommonjsModule(i,s){return s={exports:{}},i(s,s.exports),s.exports}/** @license React v16.13.1
638
638
  * react-is.production.min.js
639
639
  *
640
640
  * Copyright (c) Facebook, Inc. and its affiliates.
@@ -645,7 +645,7 @@ import{bV as createSvgIcon,j as jsxRuntimeExports,r as reactExports,P as PropTyp
645
645
  object-assign
646
646
  (c) Sindre Sorhus
647
647
  @license MIT
648
- */var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function shouldUseNative(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},a=0;a<10;a++)s["_"+String.fromCharCode(a)]=a;var o=Object.getOwnPropertyNames(s).map(function(P){return s[P]});if(o.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(P){u[P]=P}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}shouldUseNative();var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ReactPropTypesSecret_1=ReactPropTypesSecret;Function.call.bind(Object.prototype.hasOwnProperty);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function i(o,u,P,S,C,E){if(E!==ReactPropTypesSecret_1){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}i.isRequired=i;function s(){return i}var a={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return a.PropTypes=a,a},propTypes=createCommonjsModule(function(i){i.exports=factoryWithThrowingShims()}),propTypes$1={animationData:propTypes.object,path:propTypes.string,play:propTypes.bool,goTo:propTypes.number,speed:propTypes.number,direction:propTypes.number,loop:propTypes.oneOfType([propTypes.number,propTypes.bool]),useSubframes:propTypes.bool,segments:propTypes.oneOfType([propTypes.arrayOf(propTypes.number),propTypes.bool]),rendererSettings:propTypes.object,renderer:propTypes.string,audioFactory:propTypes.func,onComplete:propTypes.func,onLoopComplete:propTypes.func,onEnterFrame:propTypes.func,onSegmentStart:propTypes.func},emptyObject={},noOp=function i(){},makeLottiePlayer=function i(s){var a=s.loadAnimation,o=reactExports.memo(reactExports.forwardRef(function(u,P){var S=u.animationData,C=S===void 0?null:S,E=u.path,_=E===void 0?null:E,I=u.play,j=I===void 0?null:I,T=u.speed,O=T===void 0?1:T,D=u.direction,L=D===void 0?1:D,H=u.segments,F=H===void 0?null:H,R=u.goTo,M=R===void 0?null:R,V=u.useSubframes,N=V===void 0?!0:V,W=u.renderer,X=W===void 0?"svg":W,Y=u.loop,J=Y===void 0?!0:Y,re=u.rendererSettings,te=re===void 0?emptyObject:re,ee=u.audioFactory,se=ee===void 0?null:ee,ne=u.onLoad,Q=ne===void 0?noOp:ne,$=u.onComplete,K=$===void 0?noOp:$,B=u.onLoopComplete,G=B===void 0?noOp:B,U=u.onEnterFrame,Z=U===void 0?noOp:U,ie=u.onSegmentStart,le=ie===void 0?noOp:ie,he=_objectWithoutPropertiesLoose(u,["animationData","path","play","speed","direction","segments","goTo","useSubframes","renderer","loop","rendererSettings","audioFactory","onLoad","onComplete","onLoopComplete","onEnterFrame","onSegmentStart"]),fe=reactExports.useRef(),oe=reactExports.useRef(),me=reactExports.useState(!1),ce=me[0],Pe=me[1],ve=reactExports.useState(F),ue=ve[0],ge=ve[1];reactExports.useEffect(function(){equal(ue,F)||ge(F)},[F,ue]);var pe=reactExports.useState(te),ae=pe[0],Ce=pe[1];reactExports.useEffect(function(){equal(ae,te)||Ce(te)},[te,ae]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("complete",K)}},[K]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("loopComplete",G)}},[G]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("enterFrame",Z)}},[Z]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("segmentStart",le)}},[le]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("DOMLoaded",Q)}},[Q]);var Ee=reactExports.useCallback(function(de){oe.current=de,typeof P=="function"?P(de):P!=null&&(P.current=de)},[P]);reactExports.useEffect(function(){function de(){return C==null||typeof C!="object"?C:typeof C.default=="object"?clone(C.default):clone(C)}var xe=a({animationData:de(),path:_,container:fe.current,renderer:X,loop:!1,autoplay:!1,rendererSettings:ae,audioFactory:se});Ee(xe);var be=function(){return Pe(!0)};return oe.current.addEventListener("DOMLoaded",be),function(){oe.current.removeEventListener("DOMLoaded",be),Pe(!1),oe.current.destroy(),Ee(void 0)}},[J,X,ae,C,_,se,Ee]),reactExports.useEffect(function(){oe.current.addEventListener("DOMLoaded",Q)},[Q]),reactExports.useEffect(function(){oe.current.addEventListener("complete",K)},[K]),reactExports.useEffect(function(){oe.current.addEventListener("loopComplete",G)},[G]),reactExports.useEffect(function(){oe.current.addEventListener("enterFrame",Z)},[Z]),reactExports.useEffect(function(){oe.current.addEventListener("segmentStart",le)},[le]),reactExports.useEffect(function(){ce&&(oe.current.loop=J)},[ce,J]);var Se=reactExports.useRef(!1);return reactExports.useEffect(function(){if(!ce)return;function de(Ae){oe.current.goToAndPlay(Ae,!0),oe.current.setDirection(L)}if(j===!0){var xe=!0;if(ue){if(oe.current.playSegments(ue,xe),Se.current=!0,L===-1){var be=ue[1];de(be)}}else if(Se.current&&oe.current.resetSegments(xe),Se.current=!1,L===-1){var ye=oe.current.getDuration(!0);de(ye)}else oe.current.play()}else j===!1&&oe.current.pause()},[j,ue,ce,L]),reactExports.useEffect(function(){ce&&(Number.isNaN(O)||oe.current.setSpeed(O))},[O,ce]),reactExports.useEffect(function(){ce&&oe.current.setDirection(L)},[L,ce]),reactExports.useEffect(function(){if(ce&&M!=null){var de=!0;j?oe.current.goToAndPlay(M,de):oe.current.goToAndStop(M,de)}},[M,j,ce]),reactExports.useEffect(function(){oe.current.setSubframe&&oe.current.setSubframe(N)},[N]),React.createElement("div",_extends({},he,{ref:fe}))}));return o.propTypes=propTypes$1,o},LottiePlayer=makeLottiePlayer(lottie);const Lottie=LottiePlayer;function AnimationWaiter({animationData:i,size:s,message:a,messageDuration:o,messageLoop:u,tips:P,tipsDuration:S,maybeDuration:C,speed:E,increaseSpeed:_,...I}){const j=useTheme(),[T,O]=reactExports.useState(0),[D,L]=reactExports.useState(E),[H,F]=reactExports.useState(0),[R,M]=reactExports.useState(null),[V,N]=reactExports.useState(!i),W=reactExports.useRef(new Date().getTime());Array.isArray(a)||(a=[a]),reactExports.useEffect(()=>{i||(N(!0),(async()=>{try{const J=await(j.palette.mode==="dark"?__vitePreload(()=>import("./dark-animation-DhFa8I7D.js"),[],import.meta.url):__vitePreload(()=>import("./default-animation-DARmPWCI.js"),[],import.meta.url));M(J.default||J),N(!1)}catch(J){console.error("Failed to load animation:",J),N(!1)}})())},[i,j.palette.mode]),reactExports.useEffect(()=>{if(!a)return;let Y=0;const J=setInterval(()=>{Y++,Y>=a.length&&(u?Y=0:Y=a.length-1),F(Y)},o);return()=>{clearInterval(J)}},[a,o]),reactExports.useEffect(()=>{if(!P.length)return noop;const Y=setTimeout(()=>{let J=T+1;J>=P.length&&(J=0),O(J)},S);return()=>clearTimeout(Y)},[P,S,T]),reactExports.useEffect(()=>{const Y=setTimeout(()=>{let re=(new Date().getTime()-W.current)/C;re>1&&(re=1);const te=E+_*re;L(te)},1e3);return()=>clearTimeout(Y)},[D]);const X=Y=>{let J="message-before";return H===Y?J="show-message":H<Y&&(J="message-after"),J};return jsxRuntimeExports.jsxs(Container,{...I,children:[V?jsxRuntimeExports.jsx("div",{style:{width:s,height:s,display:"flex",justifyContent:"center",alignItems:"center"},children:jsxRuntimeExports.jsx(Skeleton,{variant:"rounded",width:s*.4,height:s*.4})}):jsxRuntimeExports.jsx(Lottie,{loop:!0,animationData:i||R,play:!0,speed:D,style:{width:s,height:s}}),a&&jsxRuntimeExports.jsx("div",{className:"waiter-message",children:a.map((Y,J)=>{const re=X(J);return jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("span",{className:`message-block ${re}`,children:Y}),jsxRuntimeExports.jsx("span",{className:`placeholder-message ${re}`,children:Y})]},J)})}),P.length?jsxRuntimeExports.jsx("div",{className:"waiter-tips-container",children:P.map((Y,J)=>jsxRuntimeExports.jsx("div",{className:`waiter-tips-block ${T===J?"show-tips":""}`,children:Y},J))}):""]})}AnimationWaiter.propTypes={animationData:PropTypes.oneOfType([PropTypes.object,PropTypes.oneOf([null])]),size:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),message:PropTypes.oneOfType([PropTypes.string,PropTypes.arrayOf(PropTypes.node)]),messageDuration:PropTypes.number,messageLoop:PropTypes.bool,tips:PropTypes.arrayOf(PropTypes.node),tipsDuration:PropTypes.number,speed:PropTypes.number,maybeDuration:PropTypes.number,increaseSpeed:PropTypes.number};AnimationWaiter.defaultProps={animationData:null,size:256,message:"",messageDuration:5e3,messageLoop:!0,tips:[],tipsDuration:5e3,speed:1,maybeDuration:12e4,increaseSpeed:0};const Container=styled$1("div")`
648
+ */var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;function toObject(i){if(i==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(i)}function shouldUseNative(){try{if(!Object.assign)return!1;var i=new String("abc");if(i[5]="de",Object.getOwnPropertyNames(i)[0]==="5")return!1;for(var s={},a=0;a<10;a++)s["_"+String.fromCharCode(a)]=a;var o=Object.getOwnPropertyNames(s).map(function(S){return s[S]});if(o.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(S){u[S]=S}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}shouldUseNative();var ReactPropTypesSecret="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",ReactPropTypesSecret_1=ReactPropTypesSecret;Function.call.bind(Object.prototype.hasOwnProperty);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction;var factoryWithThrowingShims=function(){function i(o,u,S,P,C,E){if(E!==ReactPropTypesSecret_1){var _=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw _.name="Invariant Violation",_}}i.isRequired=i;function s(){return i}var a={array:i,bigint:i,bool:i,func:i,number:i,object:i,string:i,symbol:i,any:i,arrayOf:s,element:i,elementType:i,instanceOf:s,node:i,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return a.PropTypes=a,a},propTypes=createCommonjsModule(function(i){i.exports=factoryWithThrowingShims()}),propTypes$1={animationData:propTypes.object,path:propTypes.string,play:propTypes.bool,goTo:propTypes.number,speed:propTypes.number,direction:propTypes.number,loop:propTypes.oneOfType([propTypes.number,propTypes.bool]),useSubframes:propTypes.bool,segments:propTypes.oneOfType([propTypes.arrayOf(propTypes.number),propTypes.bool]),rendererSettings:propTypes.object,renderer:propTypes.string,audioFactory:propTypes.func,onComplete:propTypes.func,onLoopComplete:propTypes.func,onEnterFrame:propTypes.func,onSegmentStart:propTypes.func},emptyObject={},noOp=function i(){},makeLottiePlayer=function i(s){var a=s.loadAnimation,o=reactExports.memo(reactExports.forwardRef(function(u,S){var P=u.animationData,C=P===void 0?null:P,E=u.path,_=E===void 0?null:E,I=u.play,j=I===void 0?null:I,T=u.speed,O=T===void 0?1:T,D=u.direction,L=D===void 0?1:D,H=u.segments,F=H===void 0?null:H,R=u.goTo,M=R===void 0?null:R,V=u.useSubframes,N=V===void 0?!0:V,W=u.renderer,X=W===void 0?"svg":W,Y=u.loop,J=Y===void 0?!0:Y,re=u.rendererSettings,te=re===void 0?emptyObject:re,ee=u.audioFactory,se=ee===void 0?null:ee,ne=u.onLoad,Q=ne===void 0?noOp:ne,$=u.onComplete,K=$===void 0?noOp:$,B=u.onLoopComplete,G=B===void 0?noOp:B,U=u.onEnterFrame,Z=U===void 0?noOp:U,ie=u.onSegmentStart,le=ie===void 0?noOp:ie,he=_objectWithoutPropertiesLoose(u,["animationData","path","play","speed","direction","segments","goTo","useSubframes","renderer","loop","rendererSettings","audioFactory","onLoad","onComplete","onLoopComplete","onEnterFrame","onSegmentStart"]),fe=reactExports.useRef(),oe=reactExports.useRef(),me=reactExports.useState(!1),ce=me[0],Se=me[1],ve=reactExports.useState(F),ue=ve[0],ge=ve[1];reactExports.useEffect(function(){equal(ue,F)||ge(F)},[F,ue]);var pe=reactExports.useState(te),ae=pe[0],Ce=pe[1];reactExports.useEffect(function(){equal(ae,te)||Ce(te)},[te,ae]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("complete",K)}},[K]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("loopComplete",G)}},[G]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("enterFrame",Z)}},[Z]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("segmentStart",le)}},[le]),reactExports.useEffect(function(){return function(){return oe.current.removeEventListener("DOMLoaded",Q)}},[Q]);var Ee=reactExports.useCallback(function(de){oe.current=de,typeof S=="function"?S(de):S!=null&&(S.current=de)},[S]);reactExports.useEffect(function(){function de(){return C==null||typeof C!="object"?C:typeof C.default=="object"?clone(C.default):clone(C)}var xe=a({animationData:de(),path:_,container:fe.current,renderer:X,loop:!1,autoplay:!1,rendererSettings:ae,audioFactory:se});Ee(xe);var be=function(){return Se(!0)};return oe.current.addEventListener("DOMLoaded",be),function(){oe.current.removeEventListener("DOMLoaded",be),Se(!1),oe.current.destroy(),Ee(void 0)}},[J,X,ae,C,_,se,Ee]),reactExports.useEffect(function(){oe.current.addEventListener("DOMLoaded",Q)},[Q]),reactExports.useEffect(function(){oe.current.addEventListener("complete",K)},[K]),reactExports.useEffect(function(){oe.current.addEventListener("loopComplete",G)},[G]),reactExports.useEffect(function(){oe.current.addEventListener("enterFrame",Z)},[Z]),reactExports.useEffect(function(){oe.current.addEventListener("segmentStart",le)},[le]),reactExports.useEffect(function(){ce&&(oe.current.loop=J)},[ce,J]);var Pe=reactExports.useRef(!1);return reactExports.useEffect(function(){if(!ce)return;function de(Ae){oe.current.goToAndPlay(Ae,!0),oe.current.setDirection(L)}if(j===!0){var xe=!0;if(ue){if(oe.current.playSegments(ue,xe),Pe.current=!0,L===-1){var be=ue[1];de(be)}}else if(Pe.current&&oe.current.resetSegments(xe),Pe.current=!1,L===-1){var ye=oe.current.getDuration(!0);de(ye)}else oe.current.play()}else j===!1&&oe.current.pause()},[j,ue,ce,L]),reactExports.useEffect(function(){ce&&(Number.isNaN(O)||oe.current.setSpeed(O))},[O,ce]),reactExports.useEffect(function(){ce&&oe.current.setDirection(L)},[L,ce]),reactExports.useEffect(function(){if(ce&&M!=null){var de=!0;j?oe.current.goToAndPlay(M,de):oe.current.goToAndStop(M,de)}},[M,j,ce]),reactExports.useEffect(function(){oe.current.setSubframe&&oe.current.setSubframe(N)},[N]),React.createElement("div",_extends({},he,{ref:fe}))}));return o.propTypes=propTypes$1,o},LottiePlayer=makeLottiePlayer(lottie);const Lottie=LottiePlayer;function AnimationWaiter({animationData:i,size:s,message:a,messageDuration:o,messageLoop:u,tips:S,tipsDuration:P,maybeDuration:C,speed:E,increaseSpeed:_,...I}){const j=useTheme(),[T,O]=reactExports.useState(0),[D,L]=reactExports.useState(E),[H,F]=reactExports.useState(0),[R,M]=reactExports.useState(null),[V,N]=reactExports.useState(!i),W=reactExports.useRef(new Date().getTime());Array.isArray(a)||(a=[a]),reactExports.useEffect(()=>{i||(N(!0),(async()=>{try{const J=await(j.palette.mode==="dark"?__vitePreload(()=>import("./dark-animation-DhFa8I7D.js"),[],import.meta.url):__vitePreload(()=>import("./default-animation-DARmPWCI.js"),[],import.meta.url));M(J.default||J),N(!1)}catch(J){console.error("Failed to load animation:",J),N(!1)}})())},[i,j.palette.mode]),reactExports.useEffect(()=>{if(!a)return;let Y=0;const J=setInterval(()=>{Y++,Y>=a.length&&(u?Y=0:Y=a.length-1),F(Y)},o);return()=>{clearInterval(J)}},[a,o]),reactExports.useEffect(()=>{if(!S.length)return noop;const Y=setTimeout(()=>{let J=T+1;J>=S.length&&(J=0),O(J)},P);return()=>clearTimeout(Y)},[S,P,T]),reactExports.useEffect(()=>{const Y=setTimeout(()=>{let re=(new Date().getTime()-W.current)/C;re>1&&(re=1);const te=E+_*re;L(te)},1e3);return()=>clearTimeout(Y)},[D]);const X=Y=>{let J="message-before";return H===Y?J="show-message":H<Y&&(J="message-after"),J};return jsxRuntimeExports.jsxs(Container,{...I,children:[V?jsxRuntimeExports.jsx("div",{style:{width:s,height:s,display:"flex",justifyContent:"center",alignItems:"center"},children:jsxRuntimeExports.jsx(Skeleton,{variant:"rounded",width:s*.4,height:s*.4})}):jsxRuntimeExports.jsx(Lottie,{loop:!0,animationData:i||R,play:!0,speed:D,style:{width:s,height:s}}),a&&jsxRuntimeExports.jsx("div",{className:"waiter-message",children:a.map((Y,J)=>{const re=X(J);return jsxRuntimeExports.jsxs("div",{children:[jsxRuntimeExports.jsx("span",{className:`message-block ${re}`,children:Y}),jsxRuntimeExports.jsx("span",{className:`placeholder-message ${re}`,children:Y})]},J)})}),S.length?jsxRuntimeExports.jsx("div",{className:"waiter-tips-container",children:S.map((Y,J)=>jsxRuntimeExports.jsx("div",{className:`waiter-tips-block ${T===J?"show-tips":""}`,children:Y},J))}):""]})}AnimationWaiter.propTypes={animationData:PropTypes.oneOfType([PropTypes.object,PropTypes.oneOf([null])]),size:PropTypes.oneOfType([PropTypes.number,PropTypes.string]),message:PropTypes.oneOfType([PropTypes.string,PropTypes.arrayOf(PropTypes.node)]),messageDuration:PropTypes.number,messageLoop:PropTypes.bool,tips:PropTypes.arrayOf(PropTypes.node),tipsDuration:PropTypes.number,speed:PropTypes.number,maybeDuration:PropTypes.number,increaseSpeed:PropTypes.number};AnimationWaiter.defaultProps={animationData:null,size:256,message:"",messageDuration:5e3,messageLoop:!0,tips:[],tipsDuration:5e3,speed:1,maybeDuration:12e4,increaseSpeed:0};const Container=styled$1("div")`
649
649
  display: flex;
650
650
  justify-content: center;
651
651
  align-items: center;