From db6fbd35690a111d9791c16da6b30592de60c7b1 Mon Sep 17 00:00:00 2001 From: dev Date: Fri, 1 Dec 2023 15:04:19 +0000 Subject: [PATCH] deploy --- asset-manifest.json | 116 +++++++++--------- index.html | 2 +- static/css/main.85be6e2b.css | 2 - static/css/main.a96dc775.css | 2 + ...85be6e2b.css.map => main.a96dc775.css.map} | 2 +- .../js/{main.3fbe87db.js => main.9c596eb0.js} | 6 +- ...CENSE.txt => main.9c596eb0.js.LICENSE.txt} | 0 ...n.3fbe87db.js.map => main.9c596eb0.js.map} | 2 +- 8 files changed, 66 insertions(+), 66 deletions(-) delete mode 100644 static/css/main.85be6e2b.css create mode 100644 static/css/main.a96dc775.css rename static/css/{main.85be6e2b.css.map => main.a96dc775.css.map} (68%) rename static/js/{main.3fbe87db.js => main.9c596eb0.js} (54%) rename static/js/{main.3fbe87db.js.LICENSE.txt => main.9c596eb0.js.LICENSE.txt} (100%) rename static/js/{main.3fbe87db.js.map => main.9c596eb0.js.map} (55%) diff --git a/asset-manifest.json b/asset-manifest.json index 1638176..90b5609 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,64 +1,64 @@ { "files": { - "main.css": "./static/css/main.85be6e2b.css", - "main.js": "./static/js/main.3fbe87db.js", - "static/media/banner.jpg": "./static/media/banner.99b742d9748cd2cfe794.jpg", - "static/media/Inter-Bold.ttf": "./static/media/Inter-Bold.0eaf807b1cf0eceabe0f.ttf", - "static/media/Inter-SemiBold.ttf": "./static/media/Inter-SemiBold.6058d3da655fb35169c2.ttf", - "static/media/Inter-Medium.ttf": "./static/media/Inter-Medium.3f7acfe50aad7ad68548.ttf", - "static/media/Inter-Regular.ttf": "./static/media/Inter-Regular.9ca9ba81e9dcaa12b3a1.ttf", - "static/media/Intro-Banner.svg": "./static/media/Intro-Banner.3a0fbec541df731d82f8deb81022a5a3.svg", - "static/media/hashkey.svg": "./static/media/hashkey.e12758eb282705ce4440a014b42d3e24.svg", - "static/media/Rectangle-1283.svg": "./static/media/Rectangle-1283.63d97ea341de3f4e482fc7b37c8fa4cc.svg", - "static/media/Rectangle-1284.svg": "./static/media/Rectangle-1284.4a4b0fdaba205c0be12b4e53835fe9e8.svg", - "static/media/image-12.svg": "./static/media/image-12.6e4590138719e12e6bdbd06bab43ba8d.svg", - "static/media/image-6.svg": "./static/media/image-6.8705ac0b0ebda3bc48004599fefd9803.svg", - "static/media/image-9.svg": "./static/media/image-9.a00ba206ebe2b056f3c799fdd1c3b0cf.svg", - "static/media/DMSans-Medium.ttf": "./static/media/DMSans-Medium.64a5ff1b212ef8a741e5.ttf", - "static/media/DMSans-Regular.ttf": "./static/media/DMSans-Regular.5796ba67a2ae308b784c.ttf", - "static/media/DMSans-Bold.ttf": "./static/media/DMSans-Bold.49af0e9e85f659857710.ttf", - "static/media/image-11.svg": "./static/media/image-11.d739c0dfb21376e318b74c07e0c65fa6.svg", - "static/media/image-10.svg": "./static/media/image-10.0d7216dbc8c282afa742e0871c84a922.svg", - "static/media/daolink-logo.svg": "./static/media/daolink-logo.209e45cdb56edaf109147201296202c0.svg", - "static/media/image-8.svg": "./static/media/image-8.1f2aceb0ca83f8e39afcab4c07a573ca.svg", - "static/media/y2z.svg": "./static/media/y2z.7d130bdc5d69e0e7a64e7e0d5e725594.svg", - "static/media/deschool.svg": "./static/media/deschool.d0d858d3e82fbf6d9e81a89786c1dbe5.svg", - "static/media/image-7.svg": "./static/media/image-7.b79e29f498bc73c0619df08a5f0978e5.svg", - "static/media/image-5.svg": "./static/media/image-5.5f6100918b50928af3db0e1c74f6e447.svg", - "static/media/Rectangle-1286.svg": "./static/media/Rectangle-1286.470ad10413659ada44c8f9a15232fe25.svg", - "static/media/Rectangle.svg": "./static/media/Rectangle.cc0e65d432f4fae922e339ecb9229423.svg", - "static/media/build-banner.svg": "./static/media/build-banner.91a95be43e2ef48830f8131370b5356d.svg", - "static/media/Rectangle-1285.svg": "./static/media/Rectangle-1285.d8a8c2e805985846a38a457347942a3d.svg", - "static/media/image-13.svg": "./static/media/image-13.d605f492dc9c2139f6af0e73ce9fe75f.svg", - "static/media/govern-node.svg": "./static/media/govern-node.3af30c84dd3ddad6e980d4a1b51d23d9.svg", - "static/media/logo.svg": "./static/media/logo.a927d532be74cdcd05fb3b8d9c1b9682.svg", - "static/media/seed-holder.svg": "./static/media/seed-holder.aeaebcd2d7cb415ae8e0d5125d8c518e.svg", - "static/media/seed.svg": "./static/media/seed.6cc590faa6b349a0d593910aab07703b.svg", - "static/media/Group.svg": "./static/media/Group.baef1abc0902230c43a28fae5d069f16.svg", - "static/media/member.svg": "./static/media/member.7e031022a74eabbfcc2eab4de64e69e7.svg", - "static/media/nodes.svg": "./static/media/nodes.cc37383d3bdaabe8279756b272bee983.svg", - "static/media/Frame.svg": "./static/media/Frame.1a3a52aa2be3fc41b1c2247429effa83.svg", - "static/media/Vector.svg": "./static/media/Vector.8104397573b17e571149732a9ccc5efd.svg", - "static/media/city-hall.svg": "./static/media/city-hall.8d3a63c8acd561c489fa47a945211dde.svg", - "static/media/sun-shadow.svg": "./static/media/sun-shadow.651b6624bca43ed076d0b0c0a1afd0e9.svg", - "static/media/build-seedao.svg": "./static/media/build-seedao.ee45cd0927735cfc8f359873d380f8e4.svg", - "static/media/combinator.svg": "./static/media/combinator.5de69b666440cede014be94289563c30.svg", - "static/media/onbording.svg": "./static/media/onbording.7963c3b74e0df4a20c8c5b13ed93ed66.svg", - "static/media/global.svg": "./static/media/global.8f9dc011b25b7155bee23c3d3dd617ac.svg", - "static/media/bounties.svg": "./static/media/bounties.f9783da26f807d391677f07a2a0fac66.svg", - "static/media/seedao.svg": "./static/media/seedao.311f979f4c7eac790f623f7be0d94995.svg", - "static/media/contributor.svg": "./static/media/contributor.ef25fd3405d6220ac9677ed5a133fc01.svg", - "static/media/proposal.svg": "./static/media/proposal.55a13f4fbf5a7d09888e2e0886b9295b.svg", - "static/media/meta.svg": "./static/media/meta.d29a76cc8d0ec0e5ff3bcbeaeb00d15d.svg", - "static/media/mail.svg": "./static/media/mail.36040eeb63f5d2bc3d53eef5025091e3.svg", - "static/media/white-paper.svg": "./static/media/white-paper.a7ae76ffa108e97c331b435e501553aa.svg", - "index.html": "./index.html", - "static/media/menu.svg": "./static/media/menu.b9cd3c3e4b5a847f3e37af0ca17821fe.svg", - "main.85be6e2b.css.map": "./static/css/main.85be6e2b.css.map", - "main.3fbe87db.js.map": "./static/js/main.3fbe87db.js.map" + "main.css": "/static/css/main.a96dc775.css", + "main.js": "/static/js/main.9c596eb0.js", + "static/media/banner.jpg": "/static/media/banner.99b742d9748cd2cfe794.jpg", + "static/media/Inter-Bold.ttf": "/static/media/Inter-Bold.0eaf807b1cf0eceabe0f.ttf", + "static/media/Inter-SemiBold.ttf": "/static/media/Inter-SemiBold.6058d3da655fb35169c2.ttf", + "static/media/Inter-Medium.ttf": "/static/media/Inter-Medium.3f7acfe50aad7ad68548.ttf", + "static/media/Inter-Regular.ttf": "/static/media/Inter-Regular.9ca9ba81e9dcaa12b3a1.ttf", + "static/media/Intro-Banner.svg": "/static/media/Intro-Banner.3a0fbec541df731d82f8deb81022a5a3.svg", + "static/media/hashkey.svg": "/static/media/hashkey.e12758eb282705ce4440a014b42d3e24.svg", + "static/media/Rectangle-1283.svg": "/static/media/Rectangle-1283.63d97ea341de3f4e482fc7b37c8fa4cc.svg", + "static/media/Rectangle-1284.svg": "/static/media/Rectangle-1284.4a4b0fdaba205c0be12b4e53835fe9e8.svg", + "static/media/image-12.svg": "/static/media/image-12.6e4590138719e12e6bdbd06bab43ba8d.svg", + "static/media/image-6.svg": "/static/media/image-6.8705ac0b0ebda3bc48004599fefd9803.svg", + "static/media/image-9.svg": "/static/media/image-9.a00ba206ebe2b056f3c799fdd1c3b0cf.svg", + "static/media/DMSans-Medium.ttf": "/static/media/DMSans-Medium.64a5ff1b212ef8a741e5.ttf", + "static/media/DMSans-Regular.ttf": "/static/media/DMSans-Regular.5796ba67a2ae308b784c.ttf", + "static/media/DMSans-Bold.ttf": "/static/media/DMSans-Bold.49af0e9e85f659857710.ttf", + "static/media/image-11.svg": "/static/media/image-11.d739c0dfb21376e318b74c07e0c65fa6.svg", + "static/media/image-10.svg": "/static/media/image-10.0d7216dbc8c282afa742e0871c84a922.svg", + "static/media/daolink-logo.svg": "/static/media/daolink-logo.209e45cdb56edaf109147201296202c0.svg", + "static/media/image-8.svg": "/static/media/image-8.1f2aceb0ca83f8e39afcab4c07a573ca.svg", + "static/media/y2z.svg": "/static/media/y2z.7d130bdc5d69e0e7a64e7e0d5e725594.svg", + "static/media/deschool.svg": "/static/media/deschool.d0d858d3e82fbf6d9e81a89786c1dbe5.svg", + "static/media/image-7.svg": "/static/media/image-7.b79e29f498bc73c0619df08a5f0978e5.svg", + "static/media/image-5.svg": "/static/media/image-5.5f6100918b50928af3db0e1c74f6e447.svg", + "static/media/Rectangle-1286.svg": "/static/media/Rectangle-1286.470ad10413659ada44c8f9a15232fe25.svg", + "static/media/Rectangle.svg": "/static/media/Rectangle.cc0e65d432f4fae922e339ecb9229423.svg", + "static/media/build-banner.svg": "/static/media/build-banner.91a95be43e2ef48830f8131370b5356d.svg", + "static/media/Rectangle-1285.svg": "/static/media/Rectangle-1285.d8a8c2e805985846a38a457347942a3d.svg", + "static/media/image-13.svg": "/static/media/image-13.d605f492dc9c2139f6af0e73ce9fe75f.svg", + "static/media/govern-node.svg": "/static/media/govern-node.3af30c84dd3ddad6e980d4a1b51d23d9.svg", + "static/media/logo.svg": "/static/media/logo.a927d532be74cdcd05fb3b8d9c1b9682.svg", + "static/media/seed-holder.svg": "/static/media/seed-holder.aeaebcd2d7cb415ae8e0d5125d8c518e.svg", + "static/media/seed.svg": "/static/media/seed.6cc590faa6b349a0d593910aab07703b.svg", + "static/media/Group.svg": "/static/media/Group.baef1abc0902230c43a28fae5d069f16.svg", + "static/media/member.svg": "/static/media/member.7e031022a74eabbfcc2eab4de64e69e7.svg", + "static/media/nodes.svg": "/static/media/nodes.cc37383d3bdaabe8279756b272bee983.svg", + "static/media/Frame.svg": "/static/media/Frame.1a3a52aa2be3fc41b1c2247429effa83.svg", + "static/media/Vector.svg": "/static/media/Vector.8104397573b17e571149732a9ccc5efd.svg", + "static/media/city-hall.svg": "/static/media/city-hall.8d3a63c8acd561c489fa47a945211dde.svg", + "static/media/sun-shadow.svg": "/static/media/sun-shadow.651b6624bca43ed076d0b0c0a1afd0e9.svg", + "static/media/build-seedao.svg": "/static/media/build-seedao.ee45cd0927735cfc8f359873d380f8e4.svg", + "static/media/combinator.svg": "/static/media/combinator.5de69b666440cede014be94289563c30.svg", + "static/media/onbording.svg": "/static/media/onbording.7963c3b74e0df4a20c8c5b13ed93ed66.svg", + "static/media/global.svg": "/static/media/global.8f9dc011b25b7155bee23c3d3dd617ac.svg", + "static/media/bounties.svg": "/static/media/bounties.f9783da26f807d391677f07a2a0fac66.svg", + "static/media/seedao.svg": "/static/media/seedao.311f979f4c7eac790f623f7be0d94995.svg", + "static/media/contributor.svg": "/static/media/contributor.ef25fd3405d6220ac9677ed5a133fc01.svg", + "static/media/proposal.svg": "/static/media/proposal.55a13f4fbf5a7d09888e2e0886b9295b.svg", + "static/media/meta.svg": "/static/media/meta.d29a76cc8d0ec0e5ff3bcbeaeb00d15d.svg", + "static/media/mail.svg": "/static/media/mail.36040eeb63f5d2bc3d53eef5025091e3.svg", + "static/media/white-paper.svg": "/static/media/white-paper.a7ae76ffa108e97c331b435e501553aa.svg", + "index.html": "/index.html", + "static/media/menu.svg": "/static/media/menu.b9cd3c3e4b5a847f3e37af0ca17821fe.svg", + "main.a96dc775.css.map": "/static/css/main.a96dc775.css.map", + "main.9c596eb0.js.map": "/static/js/main.9c596eb0.js.map" }, "entrypoints": [ - "static/css/main.85be6e2b.css", - "static/js/main.3fbe87db.js" + "static/css/main.a96dc775.css", + "static/js/main.9c596eb0.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index d19caee..b4efe44 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -SEEDAO - Together create freedom
\ No newline at end of file +SEEDAO - Together create freedom
\ No newline at end of file diff --git a/static/css/main.85be6e2b.css b/static/css/main.85be6e2b.css deleted file mode 100644 index b21e5a9..0000000 --- a/static/css/main.85be6e2b.css +++ /dev/null @@ -1,2 +0,0 @@ -@font-face{font-family:Inter-Regular;src:url(../../static/media/Inter-Regular.9ca9ba81e9dcaa12b3a1.ttf)}@font-face{font-family:Inter-Medium;src:url(../../static/media/Inter-Medium.3f7acfe50aad7ad68548.ttf)}@font-face{font-family:Inter-SemiBold;src:url(../../static/media/Inter-SemiBold.6058d3da655fb35169c2.ttf)}@font-face{font-family:Inter-Bold;src:url(../../static/media/Inter-Bold.0eaf807b1cf0eceabe0f.ttf)}@font-face{font-family:DMSans-Regular;src:url(../../static/media/DMSans-Regular.5796ba67a2ae308b784c.ttf)}@font-face{font-family:DMSans-Medium;src:url(../../static/media/DMSans-Medium.64a5ff1b212ef8a741e5.ttf)}@font-face{font-family:DMSans-Bold;src:url(../../static/media/DMSans-Bold.49af0e9e85f659857710.ttf)} -/*# sourceMappingURL=main.85be6e2b.css.map*/ \ No newline at end of file diff --git a/static/css/main.a96dc775.css b/static/css/main.a96dc775.css new file mode 100644 index 0000000..74e0b31 --- /dev/null +++ b/static/css/main.a96dc775.css @@ -0,0 +1,2 @@ +@font-face{font-family:Inter-Regular;src:url(/static/media/Inter-Regular.9ca9ba81e9dcaa12b3a1.ttf)}@font-face{font-family:Inter-Medium;src:url(/static/media/Inter-Medium.3f7acfe50aad7ad68548.ttf)}@font-face{font-family:Inter-SemiBold;src:url(/static/media/Inter-SemiBold.6058d3da655fb35169c2.ttf)}@font-face{font-family:Inter-Bold;src:url(/static/media/Inter-Bold.0eaf807b1cf0eceabe0f.ttf)}@font-face{font-family:DMSans-Regular;src:url(/static/media/DMSans-Regular.5796ba67a2ae308b784c.ttf)}@font-face{font-family:DMSans-Medium;src:url(/static/media/DMSans-Medium.64a5ff1b212ef8a741e5.ttf)}@font-face{font-family:DMSans-Bold;src:url(/static/media/DMSans-Bold.49af0e9e85f659857710.ttf)} +/*# sourceMappingURL=main.a96dc775.css.map*/ \ No newline at end of file diff --git a/static/css/main.85be6e2b.css.map b/static/css/main.a96dc775.css.map similarity index 68% rename from static/css/main.85be6e2b.css.map rename to static/css/main.a96dc775.css.map index 358d19f..796363d 100644 --- a/static/css/main.85be6e2b.css.map +++ b/static/css/main.a96dc775.css.map @@ -1 +1 @@ -{"version":3,"file":"static/css/main.85be6e2b.css","mappings":"AAAA,WACI,yBAA4B,CAC5B,kEACJ,CACA,WACI,wBAA2B,CAC3B,iEACJ,CACA,WACI,0BAA6B,CAC7B,mEACJ,CACA,WACI,sBAAyB,CACzB,+DACJ,CACA,WACI,0BAA6B,CAC7B,mEACJ,CACA,WACI,yBAA4B,CAC5B,kEACJ,CACA,WACI,uBAA0B,CAC1B,gEACJ","sources":["assets/style/font.css"],"sourcesContent":["@font-face {\n font-family: 'Inter-Regular';\n src: url('../fonts/Inter-Regular.ttf');\n}\n@font-face {\n font-family: 'Inter-Medium';\n src: url('../fonts/Inter-Medium.ttf');\n}\n@font-face {\n font-family: 'Inter-SemiBold';\n src: url('../fonts/Inter-SemiBold.ttf');\n}\n@font-face {\n font-family: 'Inter-Bold';\n src: url('../fonts/Inter-Bold.ttf');\n}\n@font-face {\n font-family: 'DMSans-Regular';\n src: url('../fonts/DMSans-Regular.ttf');\n}\n@font-face {\n font-family: 'DMSans-Medium';\n src: url('../fonts/DMSans-Medium.ttf');\n}\n@font-face {\n font-family: 'DMSans-Bold';\n src: url('../fonts/DMSans-Bold.ttf');\n}\n\n\n"],"names":[],"sourceRoot":""} \ No newline at end of file +{"version":3,"file":"static/css/main.a96dc775.css","mappings":"AAAA,WACI,yBAA4B,CAC5B,6DACJ,CACA,WACI,wBAA2B,CAC3B,4DACJ,CACA,WACI,0BAA6B,CAC7B,8DACJ,CACA,WACI,sBAAyB,CACzB,0DACJ,CACA,WACI,0BAA6B,CAC7B,8DACJ,CACA,WACI,yBAA4B,CAC5B,6DACJ,CACA,WACI,uBAA0B,CAC1B,2DACJ","sources":["assets/style/font.css"],"sourcesContent":["@font-face {\n font-family: 'Inter-Regular';\n src: url('../fonts/Inter-Regular.ttf');\n}\n@font-face {\n font-family: 'Inter-Medium';\n src: url('../fonts/Inter-Medium.ttf');\n}\n@font-face {\n font-family: 'Inter-SemiBold';\n src: url('../fonts/Inter-SemiBold.ttf');\n}\n@font-face {\n font-family: 'Inter-Bold';\n src: url('../fonts/Inter-Bold.ttf');\n}\n@font-face {\n font-family: 'DMSans-Regular';\n src: url('../fonts/DMSans-Regular.ttf');\n}\n@font-face {\n font-family: 'DMSans-Medium';\n src: url('../fonts/DMSans-Medium.ttf');\n}\n@font-face {\n font-family: 'DMSans-Bold';\n src: url('../fonts/DMSans-Bold.ttf');\n}\n\n\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/static/js/main.3fbe87db.js b/static/js/main.9c596eb0.js similarity index 54% rename from static/js/main.3fbe87db.js rename to static/js/main.9c596eb0.js index d0a85de..62cb5f7 100644 --- a/static/js/main.3fbe87db.js +++ b/static/js/main.9c596eb0.js @@ -1,3 +1,3 @@ -/*! For license information please see main.3fbe87db.js.LICENSE.txt */ -(()=>{var __webpack_modules__={741:function(e,t,n){!function(e,t,n){"use strict";function r(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var i=r(t),s=r(n);function a(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,a,o=[],l=!0,c=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(o.push(r.value),o.length!==t);l=!0);}catch(h){c=!0,i=h}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw i}}return o}}function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=0||(i[n]=e[n]);return i}function u(e,t){if(null==e)return{};var n,r,i=h(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function p(e,t){return f(e)||a(e,t)||d(e,t)||m()}function f(e){if(Array.isArray(e))return e}function d(e,t){if(e){if("string"===typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:{};if(T.current){null===(t=P.current)||void 0===t||t.destroy();var r=l(l(l({},e),n),{},{container:T.current});return P.current=i.default.loadAnimation(r),C(!!P.current),function(){var e;null===(e=P.current)||void 0===e||e.destroy(),P.current=void 0}}};return n.useEffect((function(){var e=V();return function(){return null===e||void 0===e?void 0:e()}}),[r,a]),n.useEffect((function(){P.current&&(P.current.autoplay=!!o)}),[o]),n.useEffect((function(){P.current&&(c?Array.isArray(c)&&c.length&&((P.current.currentRawFramec[1])&&(P.current.currentRawFrame=c[0]),P.current.setSegment(c[0],c[1])):P.current.resetSegments(!0))}),[c]),n.useEffect((function(){var e=[{name:"complete",handler:h},{name:"loopComplete",handler:f},{name:"enterFrame",handler:d},{name:"segmentStart",handler:y},{name:"config_ready",handler:m},{name:"data_ready",handler:g},{name:"data_failed",handler:x},{name:"loaded_images",handler:A},{name:"DOMLoaded",handler:b},{name:"destroy",handler:S}].filter((function(e){return null!=e.handler}));if(e.length){var t=e.map((function(e){var t;return null===(t=P.current)||void 0===t||t.addEventListener(e.name,e.handler),function(){var t;null===(t=P.current)||void 0===t||t.removeEventListener(e.name,e.handler)}}));return function(){t.forEach((function(e){return e()}))}}}),[h,f,d,y,m,g,x,A,b,S]),{View:s.default.createElement("div",l({style:t,ref:T},k)),play:_,stop:D,pause:M,setSpeed:F,goToAndStop:R,goToAndPlay:I,setDirection:O,playSegments:L,setSubframe:B,getDuration:N,destroy:j,animationContainerRef:T,animationLoaded:E,animationItem:P.current}};function b(e){var t=e.getBoundingClientRect(),n=t.top,r=t.height;return(window.innerHeight-n)/(window.innerHeight+r)}function S(e,t,n){var r=e.getBoundingClientRect(),i=r.top;return{x:(t-r.left)/r.width,y:(n-i)/r.height}}var k=function(e){var t=e.wrapperRef,r=e.animationItem,i=e.mode,s=e.actions;n.useEffect((function(){var e=t.current;if(e&&r&&s.length){r.stop();var n=function(){var t=null,n=function(){var n=b(e),i=s.find((function(e){var t=e.visibility;return t&&n>=t[0]&&n<=t[1]}));if(i){if("seek"===i.type&&i.visibility&&2===i.frames.length){var a=i.frames[0]+Math.ceil((n-i.visibility[0])/(i.visibility[1]-i.visibility[0])*i.frames[1]);r.goToAndStop(a-r.firstFrame-1,!0)}"loop"===i.type&&(null===t||t!==i.frames||r.isPaused)&&(r.playSegments(i.frames,!0),t=i.frames),"play"===i.type&&r.isPaused&&(r.resetSegments(!0),r.play()),"stop"===i.type&&r.goToAndStop(i.frames[0]-r.firstFrame-1,!0)}};return document.addEventListener("scroll",n),function(){document.removeEventListener("scroll",n)}},a=function(){var t=function(t,n){var i=t,a=n;if(-1!==i&&-1!==a){var o=S(e,i,a);i=o.x,a=o.y}var l=s.find((function(e){var t=e.position;return t&&Array.isArray(t.x)&&Array.isArray(t.y)?i>=t.x[0]&&i<=t.x[1]&&a>=t.y[0]&&a<=t.y[1]:!(!t||Number.isNaN(t.x)||Number.isNaN(t.y))&&i===t.x&&a===t.y}));if(l){if("seek"===l.type&&l.position&&Array.isArray(l.position.x)&&Array.isArray(l.position.y)&&2===l.frames.length){var c=(i-l.position.x[0])/(l.position.x[1]-l.position.x[0]),h=(a-l.position.y[0])/(l.position.y[1]-l.position.y[0]);r.playSegments(l.frames,!0),r.goToAndStop(Math.ceil((c+h)/2*(l.frames[1]-l.frames[0])),!0)}"loop"===l.type&&r.playSegments(l.frames,!0),"play"===l.type&&(r.isPaused&&r.resetSegments(!1),r.playSegments(l.frames)),"stop"===l.type&&r.goToAndStop(l.frames[0],!0)}},n=function(e){t(e.clientX,e.clientY)},i=function(){t(-1,-1)};return e.addEventListener("mousemove",n),e.addEventListener("mouseout",i),function(){e.removeEventListener("mousemove",n),e.removeEventListener("mouseout",i)}};switch(i){case"scroll":return n();case"cursor":return a()}}}),[i,r])},w=function(e){var t=e.actions,n=e.mode,r=e.lottieObj,i=r.animationItem,s=r.View,a=r.animationContainerRef;return k({actions:t,animationItem:i,mode:n,wrapperRef:a}),s},E=["style","interactivity"],C=function(e){var t,r,i,s=e.style,a=e.interactivity,o=u(e,E),l=A(o,s),c=l.View,h=l.play,p=l.stop,f=l.pause,d=l.setSpeed,y=l.goToAndStop,m=l.goToAndPlay,g=l.setDirection,x=l.playSegments,v=l.setSubframe,b=l.getDuration,S=l.destroy,k=l.animationContainerRef,C=l.animationLoaded,P=l.animationItem;return n.useEffect((function(){e.lottieRef&&(e.lottieRef.current={play:h,stop:p,pause:f,setSpeed:d,goToAndPlay:m,goToAndStop:y,setDirection:g,playSegments:x,setSubframe:v,getDuration:b,destroy:S,animationContainerRef:k,animationLoaded:C,animationItem:P})}),[null===(t=e.lottieRef)||void 0===t?void 0:t.current]),w({lottieObj:{View:c,play:h,stop:p,pause:f,setSpeed:d,goToAndStop:y,goToAndPlay:m,setDirection:g,playSegments:x,setSubframe:v,getDuration:b,destroy:S,animationContainerRef:k,animationLoaded:C,animationItem:P},actions:null!==(r=null===a||void 0===a?void 0:a.actions)&&void 0!==r?r:[],mode:null!==(i=null===a||void 0===a?void 0:a.mode)&&void 0!==i?i:"scroll"})};Object.defineProperty(e,"LottiePlayer",{enumerable:!0,get:function(){return i.default}}),e.default=C,e.useLottie=A,e.useLottieInteractivity=w,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(625),n(791))},625:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var n,r,i=e.length;for(n=0;n1?n[1]=1:n[1]<=0&&(n[1]=0),HSVtoRGB(n[0],n[1],n[2])}function addBrightnessToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[2]+=t,n[2]>1?n[2]=1:n[2]<0&&(n[2]=0),HSVtoRGB(n[0],n[1],n[2])}function addHueToRGB(e,t){var n=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return n[0]+=t/360,n[0]>1?n[0]-=1:n[0]<0&&(n[0]+=1),HSVtoRGB(n[0],n[1],n[2])}var rgbToHex=function(){var e,t,n=[];for(e=0;e<256;e+=1)t=e.toString(16),n[e]=1===t.length?"0"+t:t;return function(e,t,r){return e<0&&(e=0),t<0&&(t=0),r<0&&(r=0),"#"+n[e]+n[t]+n[r]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,n=1,r=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},s={postMessage:function(e){i.onmessage({data:e})}};function a(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var n=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),r=URL.createObjectURL(n);return new Worker(r)}return e=t,i}((function(e){if(s.dataManager||(s.dataManager=function(){function e(i,s){var a,o,l,c,u,p,f=i.length;for(o=0;o=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)r(e[t].ks.k);else for(s=e[t].ks.k.length,i=0;in[0]||!(n[0]>e[0])&&(e[1]>n[1]||!(n[1]>e[1])&&(e[2]>n[2]||!(n[2]>e[2])&&null))}var s=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function n(e){var n,r=e.length;for(n=0;n=0;n-=1)if("sh"===e[n].ty)if(e[n].ks.k.i)e[n].ks.k.c=e[n].closed;else for(i=e[n].ks.k.length,r=0;r500)&&(this._imageLoaded(),clearInterval(n)),t+=1}.bind(this),50)}function s(e){var t={assetData:e},n=r(e,this.assetsPath,this.path);return dataManager.loadData(n,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function a(){this._imageLoaded=t.bind(this),this._footageLoaded=n.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=s.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return a.prototype={loadAssets:function(e,t){var n;this.imagesLoadedCb=t;var r=e.length;for(n=0;nthis.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,n,r=this.animationData.layers,i=r.length,s=e.layers,a=s.length;for(n=0;nthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,n=0;n=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(n=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(n=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),n&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var n=-1;this.isPaused&&(this.currentRawFrame+this.firstFramet&&(n=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==n&&this.goToAndStop(n,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var n,r=e.length;for(n=0;n=0;n-=1)t[n].animation.destroy(e)},e.freeze=function(){a=!0},e.unfreeze=function(){a=!1,d()},e.setVolume=function(e,n){var i;for(i=0;i=.001?function(e,t,n,r){for(var i=0;i<4;++i){var s=c(t,n,r);if(0===s)return t;t-=(l(t,n,r)-e)/s}return t}(e,u,t,i):0===p?u:function(e,t,n,r,i){var s,a,o=0;do{(s=l(a=t+(n-t)/2,r,i)-e)>0?n=a:t=a}while(Math.abs(s)>1e-7&&++o<10);return a}(e,a,a+r,t,i)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,n){var r=0,i=e,s=createSizedArray(i);return{newElement:function(){return r?s[r-=1]:t()},release:function(e){r===i&&(s=pooling.double(s),i*=2),n&&n(e),s[r]=e,r+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,n=e.lengths.length;for(t=0;t-.001&&a<.001}var n=function(e,t,n,r){var i,s,a,o,l,c,h=getDefaultCurveSegments(),u=0,p=[],f=[],d=bezierLengthPool.newElement();for(a=n.length,i=0;ia?-1:1,c=!0;c;)if(r[s]<=a&&r[s+1]>a?(o=(a-r[s])/(r[s+1]-r[s]),c=!1):s+=l,s<0||s>=i-1){if(s===i-1)return n[s];c=!1}return n[s]+(n[s+1]-n[s])*o}var o=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,r=segmentsLengthPool.newElement(),i=e.c,s=e.v,a=e.o,o=e.i,l=e._length,c=r.lengths,h=0;for(t=0;t1&&(s=1);var h,u=a(s,c),p=a(l=l>1?1:l,c),f=t.length,d=1-u,y=1-p,m=d*d*d,g=u*d*d*3,x=u*u*d*3,v=u*u*u,A=d*d*y,b=u*d*y+d*u*y+d*d*p,S=u*u*y+d*u*p+u*d*p,k=u*u*p,w=d*y*y,E=u*y*y+d*p*y+d*y*p,C=u*p*y+d*p*p+u*y*p,P=u*p*p,T=y*y*y,_=p*y*y+y*p*y+y*y*p,D=p*p*y+y*p*p+p*y*p,M=p*p*p;for(h=0;hf?p>d?p-f-d:d-f-p:d>f?d-f-p:f-p-d)>-1e-4&&u<1e-4}}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(e,t){var n,r=this.offsetTime;"multidimensional"===this.propType&&(n=createTypedArray("float32",this.pv.length));for(var i,s,a,o,l,c,h,u,p,f=t.lastIndex,d=f,y=this.keyframes.length-1,m=!0;m;){if(i=this.keyframes[d],s=this.keyframes[d+1],d===y-1&&e>=s.t-r){i.h&&(i=s),f=0;break}if(s.t-r>e){f=d;break}d=x||e=x?A.points.length-1:0;for(l=A.points[b].point.length,o=0;o=w&&k=x?(n[0]=g[0],n[1]=g[1],n[2]=g[2]):e<=v?(n[0]=i.s[0],n[1]=i.s[1],n[2]=i.s[2]):quaternionToEuler(n,slerp(createQuaternion(i.s),createQuaternion(g),(e-v)/(x-v)));else for(d=0;d=x?c=1:e1e-6?(r=Math.acos(i),s=Math.sin(r),a=Math.sin((1-n)*r)/s,o=Math.sin(n*r)/s):(a=1-n,o=n),l[0]=a*c+o*f,l[1]=a*h+o*d,l[2]=a*u+o*y,l[3]=a*p+o*m,l}function quaternionToEuler(e,t){var n=t[0],r=t[1],i=t[2],s=t[3],a=Math.atan2(2*r*s-2*n*i,1-2*r*r-2*i*i),o=Math.asin(2*n*r+2*i*s),l=Math.atan2(2*n*s-2*r*i,1-2*n*n-2*i*i);e[0]=a/degToRads,e[1]=o/degToRads,e[2]=l/degToRads}function createQuaternion(e){var t=e[0]*degToRads,n=e[1]*degToRads,r=e[2]*degToRads,i=Math.cos(t/2),s=Math.cos(n/2),a=Math.cos(r/2),o=Math.sin(t/2),l=Math.sin(n/2),c=Math.sin(r/2);return[o*l*a+i*s*c,o*s*a+i*l*c,i*l*a-o*s*c,i*s*a-o*l*c]}function getValueAtCurrentTime(){var e=this.comp.renderedFrame-this.offsetTime,t=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=n&&e>=n||this._caching.lastFrame=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var r=this.interpolateValue(e,this._caching);this.pv=r}return this._caching.lastFrame=e,this.pv}function setVValue(e){var t;if("unidimensional"===this.propType)t=e*this.mult,mathAbs(this.v-t)>1e-5&&(this.v=t,this._mdf=!0);else for(var n=0,r=this.v.length;n1e-5&&(this.v[n]=t,this._mdf=!0),n+=1}function processEffectsSequence(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,n=this.kf?this.pv:this.data.k;for(e=0;e=this._maxLength&&this.doubleArrayLength(),n){case"v":s=this.v;break;case"i":s=this.i;break;case"o":s=this.o;break;default:s=[]}(!s[r]||s[r]&&!i)&&(s[r]=pointPool.newElement()),s[r][0]=e,s[r][1]=t},ShapePath.prototype.setTripleAt=function(e,t,n,r,i,s,a,o){this.setXYAt(e,t,"v",a,o),this.setXYAt(n,r,"o",a,o),this.setXYAt(i,s,"i",a,o)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,n=this.o,r=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],r[0][0],r[0][1],n[0][0],n[0][1],0,!1),i=1);var s,a=this._length-1,o=this._length;for(s=i;s=f[f.length-1].t-this.offsetTime)r=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],s=!0;else{for(var d,y,m,g=p,x=f.length-1,v=!0;v&&(d=f[g],!((y=f[g+1]).t-this.offsetTime>e));)g=y.t-this.offsetTime)h=1;else if(er&&t>r)||(this._caching.lastIndex=i0||e>-1e-6&&e<0?r(1e4*e)/1e4:e}function I(){var e=this.props;return"matrix("+F(e[0])+","+F(e[1])+","+F(e[4])+","+F(e[5])+","+F(e[12])+","+F(e[13])+")"}return function(){this.reset=i,this.rotate=s,this.rotateX=a,this.rotateY=o,this.rotateZ=l,this.skew=h,this.skewFromAxis=u,this.shear=c,this.scale=p,this.setTransform=f,this.translate=d,this.transform=y,this.multiply=m,this.applyToPoint=b,this.applyToX=S,this.applyToY=k,this.applyToZ=w,this.applyToPointArray=_,this.applyToTriplePoints=T,this.applyToPointStringified=D,this.toCSS=M,this.to2dCSS=I,this.clone=v,this.cloneFromProps=A,this.equals=x,this.inversePoints=P,this.inversePoint=C,this.getInverseMatrix=E,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"===typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),n=0;n=1?s.push({s:e-1,e:t-1}):(s.push({s:e,e:1}),s.push({s:0,e:t-1}));var a,o,l=[],c=s.length;for(a=0;ar+n||(h=o.s*i<=r?0:(o.s*i-r)/n,u=o.e*i>=r+n?1:(o.e*i-r)/n,l.push([h,u]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,n=e.length;for(t=0;t1?1+s:this.s.v<0?0+s:this.s.v+s)>(n=this.e.v>1?1+s:this.e.v<0?0+s:this.e.v+s)){var a=t;t=n,n=a}t=1e-4*Math.round(1e4*t),n=1e-4*Math.round(1e4*n),this.sValue=t,this.eValue=n}else t=this.sValue,n=this.eValue;var o,l,c,h,u,p=this.shapes.length,f=0;if(n===t)for(i=0;i=0;i-=1)if((d=this.shapes[i]).shape._mdf){for((y=d.localShapeCollection).releaseShapes(),2===this.m&&p>1?(g=this.calculateShapeEdges(t,n,d.totalShapeLength,A,f),A+=d.totalShapeLength):g=[[x,v]],l=g.length,o=0;o=1?m.push({s:d.totalShapeLength*(x-1),e:d.totalShapeLength*(v-1)}):(m.push({s:d.totalShapeLength*x,e:d.totalShapeLength}),m.push({s:0,e:d.totalShapeLength*(v-1)}));var b=this.addShapes(d,m[0]);if(m[0].s!==m[0].e){if(m.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var S=b.pop();this.addPaths(b,y),b=this.addShapes(d,m[1],S)}else this.addPaths(b,y),b=this.addShapes(d,m[1]);this.addPaths(b,y)}}d.shape.paths=y}}},TrimModifier.prototype.addPaths=function(e,t){var n,r=e.length;for(n=0;nt.e){n.c=!1;break}t.s<=d&&t.e>=d+a.addedLength?(this.addSegment(p[r].v[i-1],p[r].o[i-1],p[r].i[i],p[r].v[i],n,o,m),m=!1):(c=bez.getNewSegment(p[r].v[i-1],p[r].v[i],p[r].o[i-1],p[r].i[i],(t.s-d)/a.addedLength,(t.e-d)/a.addedLength,l[i-1]),this.addSegmentFromArray(c,n,o,m),m=!1,n.c=!1),d+=a.addedLength,o+=1}if(p[r].c&&l.length){if(a=l[i-1],d<=t.e){var g=l[i-1].addedLength;t.s<=d&&t.e>=d+g?(this.addSegment(p[r].v[i-1],p[r].o[i-1],p[r].i[0],p[r].v[0],n,o,m),m=!1):(c=bez.getNewSegment(p[r].v[i-1],p[r].v[0],p[r].o[i-1],p[r].i[0],(t.s-d)/g,(t.e-d)/g,l[i-1]),this.addSegmentFromArray(c,n,o,m),m=!1,n.c=!1)}else n.c=!1;d+=a.addedLength,o+=1}if(n._length&&(n.setXYAt(n.v[h][0],n.v[h][1],"i",h),n.setXYAt(n.v[n._length-1][0],n.v[n._length-1][1],"o",n._length-1)),d>t.e)break;r=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/n,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/n,0)):(r=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/n,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],i=[];var s=this.px,a=this.py;s._caching.lastFrame+s.offsetTime<=s.keyframes[0].t?(r[0]=s.getValueAtTime((s.keyframes[0].t+.01)/n,0),r[1]=a.getValueAtTime((a.keyframes[0].t+.01)/n,0),i[0]=s.getValueAtTime(s.keyframes[0].t/n,0),i[1]=a.getValueAtTime(a.keyframes[0].t/n,0)):s._caching.lastFrame+s.offsetTime>=s.keyframes[s.keyframes.length-1].t?(r[0]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/n,0),r[1]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/n,0),i[0]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/n,0),i[1]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/n,0)):(r=[s.pv,a.pv],i[0]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/n,s.offsetTime),i[1]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/n,a.offsetTime))}else r=i=e;this.v.rotate(-Math.atan2(r[1]-i[1],r[0]-i[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}},precalculateMatrix:function(){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,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}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)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,n,r){return new t(e,n,r)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(e,t){return 1e5*Math.abs(e-t)<=Math.min(Math.abs(e),Math.abs(t))}function floatZero(e){return Math.abs(e)<=1e-5}function lerp(e,t,n){return e*(1-n)+t*n}function lerpPoint(e,t,n){return[lerp(e[0],t[0],n),lerp(e[1],t[1],n)]}function quadRoots(e,t,n){if(0===e)return[];var r=t*t-4*e*n;if(r<0)return[];var i=-t/(2*e);if(0===r)return[i];var s=Math.sqrt(r)/(2*e);return[i-s,i+s]}function polynomialCoefficients(e,t,n,r){return[3*t-e-3*n+r,3*e-6*t+3*n,-3*e+3*t,e]}function singlePoint(e){return new PolynomialBezier(e,e,e,e,!1)}function PolynomialBezier(e,t,n,r,i){i&&pointEqual(e,t)&&(t=lerpPoint(e,r,1/3)),i&&pointEqual(n,r)&&(n=lerpPoint(e,r,2/3));var s=polynomialCoefficients(e[0],t[0],n[0],r[0]),a=polynomialCoefficients(e[1],t[1],n[1],r[1]);this.a=[s[0],a[0]],this.b=[s[1],a[1]],this.c=[s[2],a[2]],this.d=[s[3],a[3]],this.points=[e,t,n,r]}function extrema(e,t){var n=e.points[0][t],r=e.points[e.points.length-1][t];if(n>r){var i=r;r=n,n=i}for(var s=quadRoots(3*e.a[t],2*e.b[t],e.c[t]),a=0;a0&&s[a]<1){var o=e.point(s[a])[t];or&&(r=o)}return{min:n,max:r}}function intersectData(e,t,n){var r=e.boundingBox();return{cx:r.cx,cy:r.cy,width:r.width,height:r.height,bez:e,t:(t+n)/2,t1:t,t2:n}}function splitData(e){var t=e.bez.split(.5);return[intersectData(t[0],e.t1,e.t),intersectData(t[1],e.t,e.t2)]}function boxIntersect(e,t){return 2*Math.abs(e.cx-t.cx)=s||e.width<=r&&e.height<=r&&t.width<=r&&t.height<=r)i.push([e.t,t.t]);else{var a=splitData(e),o=splitData(t);intersectsImpl(a[0],o[0],n+1,r,i,s),intersectsImpl(a[0],o[1],n+1,r,i,s),intersectsImpl(a[1],o[0],n+1,r,i,s),intersectsImpl(a[1],o[1],n+1,r,i,s)}}function crossProduct(e,t){return[e[1]*t[2]-e[2]*t[1],e[2]*t[0]-e[0]*t[2],e[0]*t[1]-e[1]*t[0]]}function lineIntersection(e,t,n,r){var i=[e[0],e[1],1],s=[t[0],t[1],1],a=[n[0],n[1],1],o=[r[0],r[1],1],l=crossProduct(crossProduct(i,s),crossProduct(a,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(e,t,n){return[e[0]+Math.cos(t)*n,e[1]-Math.sin(t)*n]}function pointDistance(e,t){return Math.hypot(e[0]-t[0],e[1]-t[1])}function pointEqual(e,t){return floatEqual(e[0],t[0])&&floatEqual(e[1],t[1])}function ZigZagModifier(){}function setPoint(e,t,n,r,i,s,a){var o=n-Math.PI/2,l=n+Math.PI/2,c=t[0]+Math.cos(n)*r*i,h=t[1]-Math.sin(n)*r*i;e.setTripleAt(c,h,c+Math.cos(o)*s,h-Math.sin(o)*s,c+Math.cos(l)*a,h-Math.sin(l)*a,e.length())}function getPerpendicularVector(e,t){var n=[t[0]-e[0],t[1]-e[1]],r=.5*-Math.PI;return[Math.cos(r)*n[0]-Math.sin(r)*n[1],Math.sin(r)*n[0]+Math.cos(r)*n[1]]}function getProjectingAngle(e,t){var n=0===t?e.length()-1:t-1,r=(t+1)%e.length(),i=getPerpendicularVector(e.v[n],e.v[r]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(e,t,n,r,i,s,a){var o=getProjectingAngle(t,n),l=t.v[n%t._length],c=t.v[0===n?t._length-1:n-1],h=t.v[(n+1)%t._length],u=2===s?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,p=2===s?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0;setPoint(e,t.v[n%t._length],o,a,r,p/(2*(i+1)),u/(2*(i+1)),s)}function zigZagSegment(e,t,n,r,i,s){for(var a=0;a1&&t.length>1&&(i=getIntersection(e[0],t[t.length-1]))?[[e[0].split(i[0])[0]],[t[t.length-1].split(i[1])[1]]]:[n,r]}function pruneIntersections(e){for(var t,n=1;n1&&(t=pruneSegmentIntersection(e[e.length-1],e[0]),e[e.length-1]=t[0],e[0]=t[1]),e}function offsetSegmentSplit(e,t){var n,r,i,s,a=e.inflectionPoints();if(0===a.length)return[offsetSegment(e,t)];if(1===a.length||floatEqual(a[1],1))return n=(i=e.split(a[0]))[0],r=i[1],[offsetSegment(n,t),offsetSegment(r,t)];n=(i=e.split(a[0]))[0];var o=(a[1]-a[0])/(1-a[0]);return s=(i=i[1].split(o))[0],r=i[1],[offsetSegment(n,t),offsetSegment(s,t),offsetSegment(r,t)]}function OffsetPathModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],n="normal",r="normal",i=t.length,s=0;s0;)n-=1,this._elements.unshift(t[n]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,n=e.length;for(t=0;t0?Math.floor(p):Math.ceil(p),y=this.pMatrix.props,m=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var x,v,A=0;if(p>0){for(;Ad;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),A-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),A-=f)}for(r=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,s=this._currentCopies;s;){if(v=(n=(t=this.elemsData[r].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(r/(this._currentCopies-1)),0!==A){for((0!==r&&1===i||r!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),x=0;x0&&r<1?[t]:[]:[t-r,t+r].filter((function(e){return e>0&&e<1}))},PolynomialBezier.prototype.split=function(e){if(e<=0)return[singlePoint(this.points[0]),this];if(e>=1)return[this,singlePoint(this.points[this.points.length-1])];var t=lerpPoint(this.points[0],this.points[1],e),n=lerpPoint(this.points[1],this.points[2],e),r=lerpPoint(this.points[2],this.points[3],e),i=lerpPoint(t,n,e),s=lerpPoint(n,r,e),a=lerpPoint(i,s,e);return[new PolynomialBezier(this.points[0],t,i,a,!0),new PolynomialBezier(a,s,r,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var e=this.bounds();return{left:e.x.min,right:e.x.max,top:e.y.min,bottom:e.y.max,width:e.x.max-e.x.min,height:e.y.max-e.y.min,cx:(e.x.max+e.x.min)/2,cy:(e.y.max+e.y.min)/2}},PolynomialBezier.prototype.intersections=function(e,t,n){void 0===t&&(t=2),void 0===n&&(n=7);var r=[];return intersectsImpl(intersectData(this,0,1),intersectData(e,0,1),0,t,r,n),r},PolynomialBezier.shapeSegment=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[t],e.o[t],e.i[n],e.v[n],!0)},PolynomialBezier.shapeSegmentInverted=function(e,t){var n=(t+1)%e.length();return new PolynomialBezier(e.v[n],e.i[n],e.o[t],e.v[t],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(e,t.s,0,null,this),this.frequency=PropertyFactory.getProp(e,t.r,0,null,this),this.pointsType=PropertyFactory.getProp(e,t.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(e,t,n,r){var i=e._length,s=shapePool.newElement();if(s.c=e.c,e.c||(i-=1),0===i)return s;var a=-1,o=PolynomialBezier.shapeSegment(e,0);zigZagCorner(s,e,0,t,n,r,a);for(var l=0;l=0;s-=1)o=PolynomialBezier.shapeSegmentInverted(e,s),c.push(offsetSegmentSplit(o,t));c=pruneIntersections(c);var h=null,u=null;for(s=0;s=55296&&n<=56319){var r=e.charCodeAt(1);r>=56320&&r<=57343&&(t=1024*(n-55296)+r-56320+65536)}return t}function c(e){var t=l(e);return t>=r&&t<=i}var h=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)};h.isModifier=function(e,t){var n=e.toString(16)+t.toString(16);return-1!==s.indexOf(n)},h.isZeroWidthJoiner=function(e){return 8205===e},h.isFlagEmoji=function(e){return c(e.substr(0,2))&&c(e.substr(2,2))},h.isRegionalCode=c,h.isCombinedCharacter=function(e){return-1!==t.indexOf(e)},h.isRegionalFlag=function(e,t){var r=l(e.substr(t,2));if(r!==n)return!1;var i=0;for(t+=2;i<5;){if((r=l(e.substr(t,2)))<917601||r>917626)return!1;i+=1,t+=2}return 917631===l(e.substr(t,2))},h.isVariationSelector=function(e){return 65039===e},h.BLACK_FLAG_CODE_POINT=n;var u={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var n,r,i=e.length,s=this.chars.length;for(t=0;t0&&(h=!1),h){var u=createTag("style");u.setAttribute("f-forigin",r[n].fOrigin),u.setAttribute("f-origin",r[n].origin),u.setAttribute("f-family",r[n].fFamily),u.type="text/css",u.innerText="@font-face {font-family: "+r[n].fFamily+"; font-style: normal; src: url('"+r[n].fPath+"');}",t.appendChild(u)}}else if("g"===r[n].fOrigin||1===r[n].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;ce?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e.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(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*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(){},BaseRenderer.prototype.checkLayers=function(e){var t,n,r=this.layers.length;for(this.completeLayers=!0,t=r-1;t>=0;t-=1)this.elements[t]||(n=this.layers[t]).ip-n.st<=e-this.layers[t].st&&n.op-n.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e0&&(this.maskElement.setAttribute("id",m),this.element.maskedElement.setAttribute(x,"url("+getLocationHref()+"#"+m+")"),s.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,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 e,t=this.finalTransform.mat,n=0,r=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;n1&&(s+=" C"+t.o[r-1][0]+","+t.o[r-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),n.lastPath!==s){var a="";n.elem&&(t.c&&(a=e.inv?this.solidPath+s:s),n.elem.setAttribute("d",a)),n.lastPath=s}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var n=createNS("filter");return n.setAttribute("id",e),!0!==t&&(n.setAttribute("filterUnits","objectBoundingBox"),n.setAttribute("x","0%"),n.setAttribute("y","0%"),n.setAttribute("width","100%"),n.setAttribute("height","100%")),n},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!==typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),/firefox/i.test(navigator.userAgent)&&(e.svgLumaHidden=!1),e}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(e){var t,n,r="SourceGraphic",i=e.data.ef?e.data.ef.length:0,s=createElementID(),a=filtersFactory.createFilter(s,!0),o=0;for(this.filters=[],t=0;t=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,n=0,r=t.length;n.01)return!1;n+=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 e=0,t=this.data.k.k.length;e0;)l=r.transformers[d].mProps._mdf||l,f-=1,d-=1;if(l)for(f=m-r.styles[h].lvl,d=r.transformers.length-1;f>0;)p.multiply(r.transformers[d].mProps.v),f-=1,d-=1}else p=e;if(a=(u=r.sh.paths)._length,l){for(o="",s=0;s=1?x=.99:x<=-1&&(x=-.99);var v=o*x,A=Math.cos(g+t.a.v)*v+h[0],b=Math.sin(g+t.a.v)*v+h[1];l.setAttribute("fx",A),l.setAttribute("fy",b),c&&!t.g._collapsable&&(t.of.setAttribute("fx",A),t.of.setAttribute("fy",b))}}function l(e,t,n){var r=t.style,i=t.d;i&&(i._mdf||n)&&i.dashStr&&(r.pElem.setAttribute("stroke-dasharray",i.dashStr),r.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||n)&&r.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||n)&&r.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||n)&&(r.pElem.setAttribute("stroke-width",t.w.v),r.msElem&&r.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return s;case"gf":return o;case"gs":return a;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return n;case"no":return r;default:return null}}}}();function SVGShapeElement(e,t,n){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,n),this.prevViewData=[]}function LetterProps(e,t,n,r,i,s){this.o=e,this.sw=t,this.sc=n,this.fc=r,this.m=i,this.p=s,this._mdf={o:!0,sw:!!t,sc:!!n,fc:!!r,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,t.d&&t.d.sid&&(t.d=e.globalData.slotManager.getProp(t.d)),this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={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)}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 e,t,n,r,i=this.shapes.length,s=this.stylesList.length,a=[],o=!1;for(n=0;n1&&o&&this.setShapesAsAnimated(a)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,n=e.length;for(t=0;t=0;o-=1){if((p=this.searchProcessedElement(e[o]))?t[o]=n[p-1]:e[o]._render=a,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty||"no"===e[o].ty)p?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],i),e[o]._render&&t[o].style.pElem.parentNode!==r&&r.appendChild(t[o].style.pElem),y.push(t[o].style);else if("gr"===e[o].ty){if(p)for(c=t[o].it.length,l=0;l1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,n=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var r;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,s=e||this.data.d.k[this.keysIndex].s;for(r=0;rt);)n+=1;return this.keysIndex!==n&&(this.keysIndex=n),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,n,r=[],i=0,s=e.length,a=!1,o=!1,l="";i=55296&&t<=56319?FontManager.isRegionalFlag(e,i)?l=e.substr(i,14):(n=e.charCodeAt(i+1))>=56320&&n<=57343&&(FontManager.isModifier(t,n)?(l=e.substr(i,2),a=!0):l=FontManager.isFlagEmoji(e.substr(i,4))?e.substr(i,4):e.substr(i,2)):t>56319?(n=e.charCodeAt(i+1),FontManager.isVariationSelector(t)&&(a=!0)):FontManager.isZeroWidthJoiner(t)&&(a=!0,o=!0),a?(r[r.length-1]+=l,a=!1):r.push(l),i+=l.length;return r},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,n,r,i,s,a,o,l=this.elem.globalData.fontManager,c=this.data,h=[],u=0,p=c.m.g,f=0,d=0,y=0,m=[],g=0,x=0,v=l.getFontByName(e.f),A=0,b=getFontProperties(v);e.fWeight=b.weight,e.fStyle=b.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),n=e.finalText.length,e.finalLineHeight=e.lh;var S,k=e.tr/1e3*e.finalSize;if(e.sz)for(var w,E,C=!0,P=e.sz[0],T=e.sz[1];C;){w=0,g=0,n=(E=this.buildFinalText(e.t)).length,k=e.tr/1e3*e.finalSize;var _=-1;for(t=0;tP&&" "!==E[t]?(-1===_?n+=1:t=_,w+=e.finalLineHeight||1.2*e.finalSize,E.splice(t,_===t?1:0,"\r"),_=-1,g=0):(g+=A,g+=k);w+=v.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Tx?g:x,g=-2*k,i="",r=!0,y+=1):i=D,l.chars?(o=l.getCharData(D,v.fStyle,l.getFontByName(e.f).fFamily),A=r?0:o.w*e.finalSize/100):A=l.measureText(i,e.f,e.finalSize)," "===D?M+=A+k:(g+=A+k+M,M=0),h.push({l:A,an:A,add:f,n:r,anIndexes:[],val:i,line:y,animatorJustifyOffset:0}),2==p){if(f+=A,""===i||" "===i||t===n-1){for(""!==i&&" "!==i||(f-=A);d<=t;)h[d].an=f,h[d].ind=u,h[d].extra=A,d+=1;u+=1,f=0}}else if(3==p){if(f+=A,""===i||t===n-1){for(""===i&&(f-=A);d<=t;)h[d].an=f,h[d].ind=u,h[d].extra=A,d+=1;f=0,u+=1}}else h[u].ind=u,h[u].extra=0,u+=1;if(e.l=h,x=g>x?g:x,m.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=x,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=m;var F,I,R,O,L=c.a;a=L.length;var B=[];for(s=0;s0?i=this.ne.v/100:s=-this.ne.v/100,this.xe.v>0?a=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,s,a,o).get,c=0,h=this.finalS,u=this.finalE,p=this.data.sh;if(2===p)c=l(c=u===h?r>=u?1:0:e(0,t(.5/(u-h)+(r-h)/(u-h),1)));else if(3===p)c=l(c=u===h?r>=u?0:1:1-e(0,t(.5/(u-h)+(r-h)/(u-h),1)));else if(4===p)u===h?c=0:(c=e(0,t(.5/(u-h)+(r-h)/(u-h),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===p){if(u===h)c=0;else{var f=u-h,d=-f/2+(r=t(e(0,r+.5-h),u-h)),y=f/2;c=Math.sqrt(1-d*d/(y*y))}c=l(c)}else 6===p?(u===h?c=0:(r=t(e(0,r+.5-h),u-h),c=(1+Math.cos(Math.PI+2*Math.PI*r/(u-h)))/2),c=l(c)):(r>=n(h)&&(c=e(0,t(r-h<0?t(u,1)-(h-r):u-r,1))),c=l(c));if(100!==this.sm.v){var m=.01*this.sm.v;0===m&&(m=1e-8);var g=.5-.5*m;c1&&(c=1)}return c*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,n=this.o.v/t,r=this.s.v/t+n,i=this.e.v/t+n;if(r>i){var s=r;r=i,i=s}this.finalS=r,this.finalE=i}},extendPrototype([DynamicPropertyContainer],r),{getTextSelectorProp:function(e,t,n){return new r(e,t,n)}}}();function TextAnimatorDataProperty(e,t,n){var r={propType:!1},i=PropertyFactory.getProp,s=t.a;this.a={r:s.r?i(e,s.r,0,degToRads,n):r,rx:s.rx?i(e,s.rx,0,degToRads,n):r,ry:s.ry?i(e,s.ry,0,degToRads,n):r,sk:s.sk?i(e,s.sk,0,degToRads,n):r,sa:s.sa?i(e,s.sa,0,degToRads,n):r,s:s.s?i(e,s.s,1,.01,n):r,a:s.a?i(e,s.a,1,0,n):r,o:s.o?i(e,s.o,0,.01,n):r,p:s.p?i(e,s.p,1,0,n):r,sw:s.sw?i(e,s.sw,0,0,n):r,sc:s.sc?i(e,s.sc,1,0,n):r,fc:s.fc?i(e,s.fc,1,0,n):r,fh:s.fh?i(e,s.fh,0,0,n):r,fs:s.fs?i(e,s.fs,0,.01,n):r,fb:s.fb?i(e,s.fb,0,.01,n):r,t:s.t?i(e,s.t,0,0,n):r},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,n),this.s.t=t.s.t}function TextAnimatorProperty(e,t,n){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=n,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(n)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,n=this._textData.a.length,r=PropertyFactory.getProp;for(e=0;e=o+oe||!d?(x=(o+oe-c)/l.partialLength,N=f.point[0]+(l.point[0]-f.point[0])*x,j=f.point[1]+(l.point[1]-f.point[1])*x,w.translate(-b[0]*P[i].an*.005,-b[1]*O*.01),h=!1):d&&(c+=l.partialLength,(u+=1)>=d.length&&(u=0,y[p+=1]?d=y[p].points:A.v.c?(u=0,d=y[p=0].points):(c-=l.partialLength,d=null)),d&&(f=l,m=(l=d[u]).partialLength));B=P[i].an/2-P[i].add,w.translate(-B,0,0)}else B=P[i].an/2-P[i].add,w.translate(-B,0,0),w.translate(-b[0]*P[i].an*.005,-b[1]*O*.01,0);for(M=0;Me?this.textSpans[e].span:createNS(l?"g":"text"),m<=e){if(a.setAttribute("stroke-linecap","butt"),a.setAttribute("stroke-linejoin","round"),a.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=a,l){var g=createNS("g");a.appendChild(g),this.textSpans[e].childSpan=g}this.textSpans[e].span=a,this.layerElement.appendChild(a)}a.style.display="inherit"}if(c.reset(),h&&(o[e].n&&(u=-d,p+=n.yOffset,p+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(n,c,o[e].line,u,p),u+=o[e].l||0,u+=d),l){var x;if(1===(y=this.globalData.fontManager.getCharData(n.finalText[e],r.fStyle,this.globalData.fontManager.getFontByName(n.f).fFamily)).t)x=new SVGCompElement(y.data,this.globalData,this);else{var v=emptyShapeData;y.data&&y.data.shapes&&(v=this.buildShapeData(y.data,n.finalSize)),x=new SVGShapeElement(v,this.globalData,this)}if(this.textSpans[e].glyph){var A=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(A.layerElement),A.destroy()}this.textSpans[e].glyph=x,x._debug=!0,x.prepareFrame(0),x.renderFrame(),this.textSpans[e].childSpan.appendChild(x.layerElement),1===y.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+n.finalSize/100+","+n.finalSize/100+")")}else h&&a.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),a.textContent=o[e].val,a.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}h&&a&&a.setAttribute("d","")}else{var b=this.textContainer,S="start";switch(n.j){case 1:S="end";break;case 2:S="middle";break;default:S="start"}b.setAttribute("text-anchor",S),b.setAttribute("letter-spacing",d);var k=this.buildTextContents(n.finalText);for(t=k.length,p=n.ps?n.ps[1]+n.ascent:0,e=0;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t=0;n-=1)(this.completeLayers||this.elements[n])&&(this.elements[n].prepareFrame(this.renderedFrame-this.layers[n].st),this.elements[n]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e=0;n-=1)e.finalTransform.multiply(e.transforms[n].transform.mProps.v);e._mdf=i},processSequences:function(e){var t,n=this.sequenceList.length;for(t=0;t=1){this.buffers=[];var e=this.globalData.canvasContext,t=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(t);var n=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(n),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 e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},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(e){e.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 e=this.buffers[0].getContext("2d");this.clearCanvas(e),e.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 e=this.buffers[1],t=e.getContext("2d");if(this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas);n.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,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(e){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var t=0===this.data.ty;this.prepareLayer(),this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(t),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,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,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(e,t){var n={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},r={};if("fl"===e.ty||"st"===e.ty?(r.c=PropertyFactory.getProp(this,e.c,1,255,this),r.c.k||(n.co="rgb("+bmFloor(r.c.v[0])+","+bmFloor(r.c.v[1])+","+bmFloor(r.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(r.s=PropertyFactory.getProp(this,e.s,1,null,this),r.e=PropertyFactory.getProp(this,e.e,1,null,this),r.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),r.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),r.g=new GradientProperty(this,e.g,this)),r.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(n.lc=lineCapEnum[e.lc||2],n.lj=lineJoinEnum[e.lj||2],1==e.lj&&(n.ml=e.ml),r.w=PropertyFactory.getProp(this,e.w,0,null,this),r.w.k||(n.wi=r.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);r.d=i,r.d.k||(n.da=r.d.dashArray,n.do=r.d.dashoffset[0])}}else n.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(n),r.style=n,r},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e=0;s-=1){if((l=this.searchProcessedElement(e[s]))?t[s]=n[l-1]:e[s]._shouldRender=r,"fl"===e[s].ty||"st"===e[s].ty||"gf"===e[s].ty||"gs"===e[s].ty)l?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],d),p.push(t[s].style);else if("gr"===e[s].ty){if(l)for(o=t[s].it.length,a=0;a=0;i-=1)"tr"===t[i].ty?(s=n[i].transform,this.renderShapeTransform(e,s)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],n[i]):"fl"===t[i].ty?this.renderFill(t[i],n[i],s):"st"===t[i].ty?this.renderStroke(t[i],n[i],s):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],n[i],s):"gr"===t[i].ty?this.renderShape(s,t[i].it,n[i].it):t[i].ty;r&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var n,r,i,s=e.trNodes,a=t.paths,o=a._length;s.length=0;var l=e.transforms.finalTransform;for(i=0;i=1?u=.99:u<=-1&&(u=-.99);var p=c*u,f=Math.cos(h+t.a.v)*p+o[0],d=Math.sin(h+t.a.v)*p+o[1];r=a.createRadialGradient(f,d,0,o[0],o[1],c)}var y=e.g.p,m=t.g.c,g=1;for(s=0;so&&"xMidYMid slice"===l||ai&&"meet"===o||si&&"slice"===o)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(si&&"slice"===o)?(n-this.transformCanvas.w*(r/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===h&&(s>i&&"meet"===o||si&&"meet"===o||s=0;e-=1)this.elements[e]&&this.elements[e].destroy&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var n;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].prepareFrame(e-this.layers[n].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),n=r-1;n>=0;n-=1)(this.completeLayers||this.elements[n])&&this.elements[n].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var n=this.createItem(this.layers[e],this,this.globalData);t[e]=n,n.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=0;for(t=this._length;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},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),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.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,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var n,r=e.length;for(n=0;n0&&o<1&&u[p].push(this.calculateF(o,e,t,n,r,p)):(l=s*s-4*a*i)>=0&&((c=(-s+bmSqrt(l))/(2*i))>0&&c<1&&u[p].push(this.calculateF(c,e,t,n,r,p)),(h=(-s-bmSqrt(l))/(2*i))>0&&h<1&&u[p].push(this.calculateF(h,e,t,n,r,p))));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(e,t,n,r,i,s){return bmPow(1-e,3)*t[s]+3*bmPow(1-e,2)*e*n[s]+3*(1-e)*bmPow(e,2)*r[s]+bmPow(e,3)*i[s]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var n,r=e.length;for(n=0;nn&&(n=i)}n*=e.mult}else n=e.v*e.mult;t.x-=n,t.xMax+=n,t.y-=n,t.yMax+=n},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax=0;e-=1){var r=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-r.p.v[0],-r.p.v[1],r.p.v[2]),this.mat.rotateX(-r.or.v[0]).rotateY(-r.or.v[1]).rotateZ(r.or.v[2]),this.mat.rotateX(-r.rx.v).rotateY(-r.ry.v).rotateZ(r.rz.v),this.mat.scale(1/r.s.v[0],1/r.s.v[1],1/r.s.v[2]),this.mat.translate(r.a.v[0],r.a.v[1],r.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 i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[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(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),a=[i[0]/s,i[1]/s,i[2]/s],o=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],o),c=Math.atan2(a[0],-a[2]);this.mat.rotateY(c).rotateX(-l)}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 h=!this._prevMat.equals(this.mat);if((h||this.pe._mdf)&&this.comp.threeDElements){var u,p,f;for(t=this.comp.threeDElements.length,e=0;e=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var n,r,i=createTag("div");styleDiv(i);var s=createTag("div");if(styleDiv(s),"3d"===t){(n=i.style).width=this.globalData.compSize.w+"px",n.height=this.globalData.compSize.h+"px";var a="50% 50%";n.webkitTransformOrigin=a,n.mozTransformOrigin=a,n.transformOrigin=a;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(r=s.style).transform=o,r.webkitTransform=o}i.appendChild(s);var l={container:s,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,n=this.layers.length,r="";for(e=0;e=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var n=0,r=this.threeDElements.length;na?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,n=0,r=(s-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=s/this.globalData.compSize.h,t=s/this.globalData.compSize.h,n=(i-this.globalData.compSize.w*(s/this.globalData.compSize.h))/2,r=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+n+","+r+",0,1)",o.transform=o.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 e,t=this.globalData.compSize.w,n=this.globalData.compSize.h,r=this.threeDElements.length;for(e=0;e=l;)e/=2,t/=2,n>>>=1;return(e+n)/t};return A.int32=function(){return 0|v.g(4)},A.quick=function(){return v.g(4)/4294967296},A.double=A,f(d(v.S),e),(y.pass||m||function(e,n,r,i){return i&&(i.S&&u(i,v),e.state=function(){return u(v,{})}),r?(t[s]=e,n):e})(A,x,"global"in y?y.global:this==t,y.state)},f(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof$1(e){return _typeof$1="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$1(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||t instanceof Number||"boolean"===e||"string"===e}function $bm_neg(e){var t=_typeof$1(e);if("number"===t||e instanceof Number||"boolean"===t)return-e;if($bm_isInstanceOfArray(e)){var n,r=e.length,i=[];for(n=0;nn){var r=n;n=t,t=r}return Math.min(Math.max(e,t),n)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"===typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var n;t||(t=helperLengthArray);var r=Math.min(e.length,t.length),i=0;for(n=0;n.5?c/(2-a-o):c/(a+o),a){case r:t=(i-s)/c+(i1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function hslToRgb(e){var t,n,r,i=e[0],s=e[1],a=e[2];if(0===s)t=a,r=a,n=a;else{var o=a<.5?a*(1+s):a+s-a*s,l=2*a-o;t=hue2rgb(l,o,i+1/3),n=hue2rgb(l,o,i),r=hue2rgb(l,o,i-1/3)}return[t,n,r,e[3]]}function linear(e,t,n,r,i){if(void 0!==r&&void 0!==i||(r=t,i=n,t=0,n=1),n=n)return i;var a,o=n===t?0:(e-t)/(n-t);if(!r.length)return r+(i-r)*o;var l=r.length,c=createTypedArray("float32",l);for(a=0;a1){for(r=0;r1?t=1:t<0&&(t=0);var a=e(t);if($bm_isInstanceOfArray(i)){var o,l=i.length,c=createTypedArray("float32",l);for(o=0;odata.k[t].t&&edata.k[t+1].t-e?(n=t+2,r=data.k[t+1].t):(n=t+1,r=data.k[t].t);break}}-1===n&&(n=t+1,r=data.k[t].t)}else n=0,r=0;var s={};return s.index=n,s.time=r/elem.comp.globalData.frameRate,s}function key(e){var t,n,r;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(r=i.length,n=0;nc.length-1)&&(t=c.length-1),r=h-(i=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((l-i)/r)%2!==0)return this.getValueAtTime((r-(l-i)%r+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var u=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime(h/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-i)%r+i)/this.comp.globalData.frameRate,0),d=Math.floor((l-i)/r);if(this.pv.length){for(a=(o=new Array(u.length)).length,s=0;s=h)return this.pv;if(n?i=h+(r=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-h)):((!t||t>c.length-1)&&(t=c.length-1),r=(i=c[t].t)-h),"pingpong"===e){if(Math.floor((h-l)/r)%2===0)return this.getValueAtTime(((h-l)%r+h)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var u=this.getValueAtTime(h/this.comp.globalData.frameRate,0),p=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime((r-(h-l)%r+h)/this.comp.globalData.frameRate,0),d=Math.floor((h-l)/r)+1;if(this.pv.length){for(a=(o=new Array(u.length)).length,s=0;s1?(i+e-s)/(t-1):1,o=0,l=0;for(n=this.pv.length?createTypedArray("float32",this.pv.length):0;oa){var h=o,u=n.c&&o===l-1?0:o+1,p=(a-c)/s[o].addedLength;r=bez.getPointInSegment(n.v[h],n.v[u],n.o[h],n.i[u],p,s[o]);break}c+=s[o].addedLength,o+=1}return r||(r=n.c?[n.v[0][0],n.v[0][1]]:[n.v[n._length-1][0],n.v[n._length-1][1]]),r},vectorOnPath:function(e,t,n){1==e?e=this.v.c:0==e&&(e=.999);var r=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),s=i[0]-r[0],a=i[1]-r[1],o=Math.sqrt(Math.pow(s,2)+Math.pow(a,2));return 0===o?[0,0]:"tangent"===n?[s/o,a/o]:[-a/o,s/o]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],o),extendPrototype([c],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=c?f<0?r:i:r+p*Math.pow((s-e)/f,1/n),h[u]=a,u+=1,o+=256/255;return h.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,n=this.filterManager.effectElements;this.feFuncRComposed&&(e||n[3].p._mdf||n[4].p._mdf||n[5].p._mdf||n[6].p._mdf||n[7].p._mdf)&&(t=this.getTableValue(n[3].p.v,n[4].p.v,n[5].p.v,n[6].p.v,n[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||n[10].p._mdf||n[11].p._mdf||n[12].p._mdf||n[13].p._mdf||n[14].p._mdf)&&(t=this.getTableValue(n[10].p.v,n[11].p.v,n[12].p.v,n[13].p.v,n[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||n[17].p._mdf||n[18].p._mdf||n[19].p._mdf||n[20].p._mdf||n[21].p._mdf)&&(t=this.getTableValue(n[17].p.v,n[18].p.v,n[19].p.v,n[20].p.v,n[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||n[24].p._mdf||n[25].p._mdf||n[26].p._mdf||n[27].p._mdf||n[28].p._mdf)&&(t=this.getTableValue(n[24].p.v,n[25].p.v,n[26].p.v,n[27].p.v,n[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||n[31].p._mdf||n[32].p._mdf||n[33].p._mdf||n[34].p._mdf||n[35].p._mdf)&&(t=this.getTableValue(n[31].p.v,n[32].p.v,n[33].p.v,n[34].p.v,n[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var n=this.filterManager.effectElements[3].p.v,r=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=n*Math.cos(r),s=n*Math.sin(r);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",s)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,n){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=n,n.matteElement=createNS("g"),n.matteElement.appendChild(n.layerElement),n.matteElement.appendChild(n.transformedElement),n.baseElement=n.matteElement}function SVGGaussianBlurEffect(e,t,n,r){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",r),e.appendChild(i),this.feGaussianBlur=i}function TransformEffect(){}function SVGTransformEffect(e,t){this.init(t)}function CVTransformEffect(e){this.init(e)}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,n=_svgMatteSymbols.length;t{"use strict";var r=n(791),i=n(296);function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n