Version Description
14.05.2020 = * Added: Acceptance Checkbox Styling into Validation Error in Divi Contact Form 7 Module. * Enhanced: Divi Contact Form 7 Module button margin and padding value.
Download this release
Release Info
Developer | divisupreme |
Plugin | Supreme Modules Lite – Divi Theme, Extra Theme and Divi Builder |
Version | 2.2.0 |
Comparing to | |
See all releases |
Code changes from version 2.1.9 to 2.2.0
- includes/modules/ContactForm7/ContactForm7.php +13 -15
- readme.txt +5 -1
- scripts/builder-bundle.min.js +1 -1
includes/modules/ContactForm7/ContactForm7.php
CHANGED
@@ -142,7 +142,7 @@ class DSM_ContactForm7 extends ET_Builder_Module {
|
|
142 |
'error_validation' => array(
|
143 |
'label' => esc_html__( 'Validation Error', 'dsm-supreme-modules-for-divi' ),
|
144 |
'css' => array(
|
145 |
-
'main' => '%%order_class%% .wpcf7-validation-errors',
|
146 |
),
|
147 |
'font_size' => array(
|
148 |
'default' => '14px',
|
@@ -218,8 +218,8 @@ class DSM_ContactForm7 extends ET_Builder_Module {
|
|
218 |
'error_validation' => array(
|
219 |
'css' => array(
|
220 |
'main' => array(
|
221 |
-
'border_radii' => '%%order_class%% .wpcf7-validation-errors',
|
222 |
-
'border_styles' => '%%order_class%% .wpcf7-validation-errors',
|
223 |
),
|
224 |
),
|
225 |
'label_prefix' => esc_html__( 'Validation Errors', 'dsm-supreme-modules-for-divi' ),
|
@@ -260,15 +260,21 @@ class DSM_ContactForm7 extends ET_Builder_Module {
|
|
260 |
'filters' => false,
|
261 |
'button' => array(
|
262 |
'button_one' => array(
|
263 |
-
'label'
|
264 |
-
'css'
|
265 |
'main' => '%%order_class%% .wpcf7-form-control.wpcf7-submit',
|
266 |
),
|
267 |
-
'box_shadow'
|
268 |
'css' => array(
|
269 |
'main' => '%%order_class%% .wpcf7-form-control.wpcf7-submit',
|
270 |
),
|
271 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
),
|
273 |
),
|
274 |
);
|
@@ -276,14 +282,6 @@ class DSM_ContactForm7 extends ET_Builder_Module {
|
|
276 |
|
277 |
public function get_fields() {
|
278 |
return array(
|
279 |
-
/*
|
280 |
-
'cf7_notice' => array(
|
281 |
-
'type' => 'warning',
|
282 |
-
'value' => true,
|
283 |
-
'display_if' => true,
|
284 |
-
'message' => esc_html__( 'Note: Contact Form 7 will not function in the Divi Visual Builder at all, just like the Divi Contact Form module. It will only work on the frontend as usual. The purpose is to style and design your Contact Form 7 with the Divi Visual Builder without having to code. So go ahead and load your Contact Form 7 Library from the select list below to get started.', 'dsm-supreme-modules-for-divi' ),
|
285 |
-
),
|
286 |
-
*/
|
287 |
'cf7_library' => array(
|
288 |
'label' => esc_html__( 'Contact Form 7', 'dsm-supreme-modules-for-divi' ),
|
289 |
'type' => 'select',
|
@@ -440,7 +438,7 @@ class DSM_ContactForm7 extends ET_Builder_Module {
|
|
440 |
ET_Builder_Element::set_style(
|
441 |
$render_slug,
|
442 |
array(
|
443 |
-
'selector' => '%%order_class%% .wpcf7-validation-errors',
|
444 |
'declaration' => sprintf(
|
445 |
'background-color: %1$s;',
|
446 |
esc_html( $validation_error_background_color )
|
142 |
'error_validation' => array(
|
143 |
'label' => esc_html__( 'Validation Error', 'dsm-supreme-modules-for-divi' ),
|
144 |
'css' => array(
|
145 |
+
'main' => '%%order_class%% .wpcf7-validation-errors, %%order_class%% .wpcf7-response-output[role=alert]',
|
146 |
),
|
147 |
'font_size' => array(
|
148 |
'default' => '14px',
|
218 |
'error_validation' => array(
|
219 |
'css' => array(
|
220 |
'main' => array(
|
221 |
+
'border_radii' => '%%order_class%% .wpcf7-validation-errors, %%order_class%% .wpcf7-response-output[role=alert]',
|
222 |
+
'border_styles' => '%%order_class%% .wpcf7-validation-errors, %%order_class%% .wpcf7-response-output[role=alert]',
|
223 |
),
|
224 |
),
|
225 |
'label_prefix' => esc_html__( 'Validation Errors', 'dsm-supreme-modules-for-divi' ),
|
260 |
'filters' => false,
|
261 |
'button' => array(
|
262 |
'button_one' => array(
|
263 |
+
'label' => esc_html__( 'Button', 'dsm-supreme-modules-for-divi' ),
|
264 |
+
'css' => array(
|
265 |
'main' => '%%order_class%% .wpcf7-form-control.wpcf7-submit',
|
266 |
),
|
267 |
+
'box_shadow' => array(
|
268 |
'css' => array(
|
269 |
'main' => '%%order_class%% .wpcf7-form-control.wpcf7-submit',
|
270 |
),
|
271 |
),
|
272 |
+
'margin_padding' => array(
|
273 |
+
'css' => array(
|
274 |
+
'main' => '%%order_class%% .wpcf7-form-control.wpcf7-submit',
|
275 |
+
'important' => 'all',
|
276 |
+
),
|
277 |
+
),
|
278 |
),
|
279 |
),
|
280 |
);
|
282 |
|
283 |
public function get_fields() {
|
284 |
return array(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
'cf7_library' => array(
|
286 |
'label' => esc_html__( 'Contact Form 7', 'dsm-supreme-modules-for-divi' ),
|
287 |
'type' => 'select',
|
438 |
ET_Builder_Element::set_style(
|
439 |
$render_slug,
|
440 |
array(
|
441 |
+
'selector' => '%%order_class%% .wpcf7-validation-errors, %%order_class%% .wpcf7-response-output[role=alert]',
|
442 |
'declaration' => sprintf(
|
443 |
'background-color: %1$s;',
|
444 |
esc_html( $validation_error_background_color )
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://suprememodules.com/
|
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.4.1
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -111,6 +111,10 @@ This is a common question that we get asked here every now and then which is why
|
|
111 |
|
112 |
|
113 |
== Changelog ==
|
|
|
|
|
|
|
|
|
114 |
= 2.1.9 – 13.05.2020 =
|
115 |
* Fixed: Divi Easy Theme Builder for Header javascript error when using Visual Builder.
|
116 |
|
5 |
Requires at least: 4.5
|
6 |
Tested up to: 5.4.1
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.2.0
|
9 |
License: GPLv2
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
111 |
|
112 |
|
113 |
== Changelog ==
|
114 |
+
= 2.2.0 – 14.05.2020 =
|
115 |
+
* Added: Acceptance Checkbox Styling into Validation Error in Divi Contact Form 7 Module.
|
116 |
+
* Enhanced: Divi Contact Form 7 Module button margin and padding value.
|
117 |
+
|
118 |
= 2.1.9 – 13.05.2020 =
|
119 |
* Fixed: Divi Easy Theme Builder for Header javascript error when using Visual Builder.
|
120 |
|
scripts/builder-bundle.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=143)}([function(e,t){e.exports=React},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";t.__esModule=!0;var n,o=r(113),a=(n=o)&&n.__esModule?n:{default:n};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,a.default)(t))&&"function"!==typeof t?e:t}},function(e,t,r){"use strict";t.__esModule=!0;var n=i(r(194)),o=i(r(198)),a=i(r(113));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,a.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(n.default?(0,n.default)(e,t):e.__proto__=t)}},function(e,t,r){"use strict";t.__esModule=!0;var n,o=r(202),a=(n=o)&&n.__esModule?n:{default:n};t.default=a.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(65)("wks"),o=r(39),a=r(5).Symbol,i="function"==typeof a;(e.exports=function(e){return n[e]||(n[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=n},function(e,t){var r=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o,a=h(r(1)),i=h(r(2)),s=h(r(3)),l=r(0),c=h(l),p=h(r(25));function h(e){return e&&e.__esModule?e:{default:e}}var u=(o=n=function(e){function t(){var r,n,o;(0,a.default)(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return r=n=(0,i.default)(this,e.call.apply(e,[this].concat(l))),n.state={},n.handleReady=function(e){n.setState({api:e},n.handleParse)},n.handleContainer=function(e){n.setState({container:e},n.handleParse)},n.handleParse=function(){var e=n.state,t=e.api,r=e.container;t&&r&&t.parse(r)},o=r,(0,i.default)(n,o)}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,r=e.children;return c.default.createElement("div",{className:t,ref:this.handleContainer},c.default.createElement(p.default,{onReady:this.handleReady},r({handleParse:this.handleParse})))},t}(l.Component),n.defaultProps={className:void 0},o);t.default=u},function(e,t,r){e.exports=r(156)},function(e,t,r){"use strict";t.__esModule=!0;var n,o=r(158),a=(n=o)&&n.__esModule?n:{default:n};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,r){return function n(o,i){try{var s=t[o](i),l=s.value}catch(e){return void r(e)}if(!s.done)return a.default.resolve(l).then(function(e){n("next",e)},function(e){n("throw",e)});e(l)}("next")})}}},function(e,t,r){function n(e){return(n="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})(e)}var o=r(123),a="object"==("undefined"===typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();e.exports=i},function(e,t,r){var n=r(14);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var n=r(5),o=r(7),a=r(31),i=r(19),s=r(21),l=function e(t,r,l){var c,p,h,u=t&e.F,d=t&e.G,f=t&e.S,m=t&e.P,_=t&e.B,y=t&e.W,b=d?o:o[r]||(o[r]={}),g=b.prototype,v=d?n:f?n[r]:(n[r]||{}).prototype;for(c in d&&(l=r),l)(p=!u&&v&&void 0!==v[c])&&s(b,c)||(h=p?v[c]:l[c],b[c]=d&&"function"!=typeof v[c]?l[c]:_&&p?a(h,n):y&&v[c]==h?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(h):m&&"function"==typeof h?a(Function.call,h):h,m&&((b.virtual||(b.virtual={}))[c]=h,t&e.R&&g&&!g[c]&&i(g,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){function r(e){return(r="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})(e)}e.exports=function(e){return"object"===r(e)?null!==e:"function"===typeof e}},function(e,t,r){e.exports=!r(32)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){if(!a.default)return"https://www.facebook.com";return window.location.href};var n,o=r(116),a=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){e.exports=r(212)()},function(e,t){e.exports=jQuery},function(e,t,r){var n=r(20),o=r(37);e.exports=r(15)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(12),o=r(101),a=r(62),i=Object.defineProperty;t.f=r(15)?Object.defineProperty:function(e,t,r){if(n(e),t=a(t,!0),n(r),o)try{return i(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(254),o=r(260);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(104),o=r(60);e.exports=function(e){return n(o(e))}},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=f(r(4)),i=f(r(9)),s=f(r(10)),l=f(r(1)),c=f(r(2)),p=f(r(3)),h=r(0),u=f(h),d=r(97);function f(e){return e&&e.__esModule?e:{default:e}}var m=(o=n=function(e){function t(){return(0,l.default)(this,t),(0,c.default)(this,e.apply(this,arguments))}return(0,p.default)(t,e),t.prototype.componentDidMount=function(){this.prepare()},t.prototype.prepare=function(){var e=(0,s.default)(i.default.mark(function e(){var t,r,n,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,r=t.onReady,n=t.handleInit,e.next=3,n();case 3:o=e.sent,r&&r(o);case 5:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),t.prototype.render=function(){var e=this.props,t=e.children,r=e.isReady,n=e.api;return"function"===typeof t?t({isReady:r,api:n}):t},t}(h.Component),n.defaultProps={onReady:void 0,api:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(d.FacebookContext.Consumer,null,function(r){var n=r.handleInit,o=r.isReady,i=r.api;return u.default.createElement(m,(0,a.default)({},e,{handleInit:n,isReady:o,api:i,ref:t}))})})},function(e,t,r){var n=r(242);e.exports=function(e,t){return n(e,t)}},function(e,t){function r(e){return(r="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})(e)}e.exports=function(e){return null!=e&&"object"==r(e)}},function(e,t,r){var n=r(295),o=1,a=4;e.exports=function(e){return n(e,o|a)}},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=s(r(0)),i=s(r(17));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var c=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=o=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),o.loadWidget=function(){r(142).ready("twitter-widgets",function(){window.twttr?(t.removeChildren(o.widgetWrapper),o.props.ready(window.twttr,o.widgetWrapper,o.done)):console.error("Failure to load window.twttr, aborting load.")})},o.done=function(){o.willUnmount&&t.removeChildrenExceptLast(o.widgetWrapper)},l(o,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"componentWillMount",value:function(){this.willUnmount=!1}},{key:"componentDidMount",value:function(){this.loadWidget()}},{key:"componentDidUpdate",value:function(){this.loadWidget()}},{key:"componentWillUnmount",value:function(){this.willUnmount=!0}},{key:"render",value:function(){var e=this;return a.default.createElement("div",{ref:function(t){e.widgetWrapper=t}})}}],[{key:"removeChildren",value:function(e){if(e)for(;e.firstChild;)e.removeChild(e.firstChild)}},{key:"removeChildrenExceptLast",value:function(e){if(e)for(;e.childNodes.length>1;)e.removeChild(e.firstChild)}}]),t}();c.propTypes={ready:i.default.func.isRequired},t.default=c},function(e,t){e.exports=!0},function(e,t,r){var n=r(36);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports={}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){function r(e){return(r="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})(e)}e.exports=function(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(103),o=r(66);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){var n=r(20).f,o=r(21),a=r(6)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=h(r(9)),o=h(r(10)),a=h(r(1)),i=h(r(2)),s=h(r(3)),l=r(0),c=h(l),p=h(r(25));function h(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){var r,s,l,c,p=this;(0,a.default)(this,t);for(var h=arguments.length,u=Array(h),d=0;d<h;d++)u[d]=arguments[d];return r=s=(0,i.default)(this,e.call.apply(e,[this].concat(u))),s.state={api:void 0},s.handleProcess=(c=(0,o.default)(n.default.mark(function e(t){var r,o;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s.setState({data:void 0,error:void 0,loading:!0}),e.prev=1,r=s.state.api){e.next=5;break}throw new Error("Facebook is not initialized. Wait for isReady");case 5:return e.next=7,t(r);case 7:return o=e.sent,s.setState({data:o,loading:!1}),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),s.setState({error:e.t0,loading:!1}),e.t0;case 16:case"end":return e.stop()}},e,p,[[1,12]])})),function(e){return c.apply(this,arguments)}),s.handleReady=function(e){s.setState({api:e})},l=r,(0,i.default)(s,l)}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props.children,t=this.state,r=t.api,n=t.loading,o=t.data,a=t.error;return c.default.createElement(p.default,{onReady:this.handleReady},e({loading:!r||n,handleProcess:this.handleProcess,data:o,error:a}))},t}(l.Component);t.default=u},function(e,t,r){var n=r(244),o=r(245),a=r(246),i=r(247),s=r(248);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(79);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(46),o=r(256),a=r(257),i="[object Null]",s="[object Undefined]",l=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:i:l&&l in Object(e)?o(e):a(e)}},function(e,t,r){var n=r(11).Symbol;e.exports=n},function(e,t,r){var n=r(22)(Object,"create");e.exports=n},function(e,t,r){var n=r(269);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(291),o=r(80),a=r(292),i=r(293),s=r(294),l=r(45),c=r(124),p=c(n),h=c(o),u=c(a),d=c(i),f=c(s),m=l;(n&&"[object DataView]"!=m(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||a&&"[object Promise]"!=m(a.resolve())||i&&"[object Set]"!=m(new i)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case p:return"[object DataView]";case h:return"[object Map]";case u:return"[object Promise]";case d:return"[object Set]";case f:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,r){var n=r(137),o=r(138);e.exports=function(e,t,r,a){var i=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],p=a?a(r[c],e[c],c,r,e):void 0;void 0===p&&(p=e[c]),i?o(r,c,p):n(r,c,p)}return r}},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(14),o=r(5).document,a=n(o)&&n(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,r){var n=r(14);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(12),o=r(162),a=r(66),i=r(64)("IE_PROTO"),s=function(){},l=function(){var e,t=r(61)("iframe"),n=a.length;for(t.style.display="none",r(106).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[a[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[i]=e):r=l(),void 0===t?r:o(r,t)}},function(e,t,r){var n=r(65)("keys"),o=r(39);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,r){var n=r(7),o=r(5),a=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(30)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(60);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";var n=r(36);e.exports.f=function(e){return new function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}(e)}},function(e,t,r){t.f=r(6)},function(e,t,r){var n=r(5),o=r(7),a=r(30),i=r(69),s=r(20).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";t.__esModule=!0,t.default={CONNECTED:"connected",AUTHORIZATION_EXPIRED:"authorization_expired",NOT_AUTHORIZED:"not_authorized",UNKNOWN:"unknown"}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){if(!e)return e;var t={};return Object.keys(e).forEach(function(r){var n=e[r];void 0!==n&&(t[r]=n)}),t}},function(e,t,r){"use strict";t.__esModule=!0,t.default=["id","first_name","last_name","middle_name","name","name_format","picture","short_name","email"]},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o,a,i=f(r(9)),s=f(r(10)),l=f(r(1)),c=f(r(2)),p=f(r(3)),h=r(0),u=f(h),d=f(r(25));function f(e){return e&&e.__esModule?e:{default:e}}var m=(o=n=function(e){function t(){var r,n,o;(0,l.default)(this,t);for(var i=arguments.length,s=Array(i),p=0;p<i;p++)s[p]=arguments[p];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(s))),a.call(n),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.componentWillUnmount=function(){var e=this.state.api,t=this.props.event;e&&e.unsubscribe(t,this.handleChange)},t.prototype.render=function(){var e=this.props.children;return u.default.createElement(d.default,{onReady:this.handleReady},e)},t}(h.Component),n.defaultProps={onChange:void 0},a=function(){var e,t=this;this.state={},this.handleReady=(e=(0,s.default)(i.default.mark(function e(r){var n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props.event,t.setState({api:r}),e.next=4,r.subscribe(n,t.handleChange);case 4:case"end":return e.stop()}},e,t)})),function(t){return e.apply(this,arguments)}),this.handleChange=function(){var e=t.props.onChange;e&&e.apply(void 0,arguments)}},o);t.default=m},function(e,t){},function(e,t){},function(e,t){},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,r){var n=r(22)(r(11),"Map");e.exports=n},function(e,t,r){var n=r(282),o=r(131),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),n(i(e),function(t){return a.call(e,t)}))}:o;e.exports=s},function(e,t,r){var n=r(132),o=r(289),a=r(136);e.exports=function(e){return a(e)?n(e):o(e)}},function(e,t,r){(function(e){function n(e){return(n="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})(e)}var o=r(11),a=r(286),i="object"==n(t)&&t&&!t.nodeType&&t,s=i&&"object"==n(e)&&e&&!e.nodeType&&e,l=s&&s.exports===i?o.Buffer:void 0,c=(l?l.isBuffer:void 0)||a;e.exports=c}).call(t,r(23)(e))},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){function n(e){return(n="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})(e)}var o=r(123),a="object"==n(t)&&t&&!t.nodeType&&t,i=a&&"object"==n(e)&&e&&!e.nodeType&&e,s=i&&i.exports===a&&o.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,r(23)(e))},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){var n=r(127);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){e.exports=ReactDOM},function(e,t,r){"use strict";t.__esModule=!0,t.Fields=t.LoginStatus=t.MessengerColor=t.MessengerSize=t.CommentsOrderBy=t.LikeAction=t.ColorScheme=t.LikeLayout=t.LikeSize=t.SendToMessenger=t.MessengerCheckbox=t.MessageUs=t.CustomChat=t.Profile=t.Status=t.Subscribe=t.Group=t.Feed=t.CommentsCount=t.Comments=t.EmbeddedVideo=t.EmbeddedPost=t.LoginButton=t.Login=t.Page=t.ShareButton=t.Share=t.Send=t.Like=t.Initialize=t.Parser=t.FacebookProvider=void 0;var n=j(r(97)),o=j(r(8)),a=j(r(25)),i=j(r(206)),s=j(r(207)),l=j(r(117)),c=j(r(208)),p=j(r(209)),h=j(r(119)),u=j(r(210)),d=j(r(215)),f=j(r(216)),m=j(r(217)),_=j(r(218)),y=j(r(219)),b=j(r(220)),g=j(r(75)),v=j(r(221)),w=j(r(222)),x=j(r(223)),E=j(r(224)),S=j(r(225)),k=j(r(226)),P=j(r(227)),C=j(r(228)),T=j(r(229)),A=j(r(230)),M=j(r(231)),D=j(r(232)),O=j(r(233)),F=j(r(72)),I=j(r(74));function j(e){return e&&e.__esModule?e:{default:e}}t.FacebookProvider=n.default,t.Parser=o.default,t.Initialize=a.default,t.Like=i.default,t.Send=s.default,t.Share=l.default,t.ShareButton=c.default,t.Page=p.default,t.Login=h.default,t.LoginButton=u.default,t.EmbeddedPost=d.default,t.EmbeddedVideo=f.default,t.Comments=m.default,t.CommentsCount=_.default,t.Feed=y.default,t.Group=b.default,t.Subscribe=g.default,t.Status=v.default,t.Profile=w.default,t.CustomChat=x.default,t.MessageUs=E.default,t.MessengerCheckbox=S.default,t.SendToMessenger=k.default,t.LikeSize=P.default,t.LikeLayout=C.default,t.ColorScheme=T.default,t.LikeAction=A.default,t.CommentsOrderBy=M.default,t.MessengerSize=D.default,t.MessengerColor=O.default,t.LoginStatus=F.default,t.Fields=I.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=t.FacebookContext=void 0;var n,o,a=f(r(9)),i=f(r(10)),s=f(r(1)),l=f(r(2)),c=f(r(3)),p=r(0),h=f(p),u=f(r(116)),d=f(r(201));function f(e){return e&&e.__esModule?e:{default:e}}var m=t.FacebookContext=(0,p.createContext)(),_=null,y=(o=n=function(e){function t(){var r,n,o,c=this;(0,s.default)(this,t);for(var p=arguments.length,h=Array(p),f=0;f<p;f++)h[f]=arguments[f];return r=n=(0,l.default)(this,e.call.apply(e,[this].concat(h))),n.state={isReady:!1},n.handleInit=(0,i.default)(a.default.mark(function e(){var t,r,o,i,s,l,p,h,f,m;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(u.default){e.next=2;break}throw new Error("You can not use Facebook without DOM");case 2:if(!n.state.isReady){e.next=5;break}return e.abrupt("return",_);case 5:return _||(t=n.props,r=t.domain,o=t.version,i=t.appId,s=t.cookie,l=t.status,p=t.xfbml,h=t.language,f=t.frictionlessRequests,m=t.wait,_=new d.default({domain:r,appId:i,version:o,cookie:s,status:l,xfbml:p,language:h,frictionlessRequests:f,wait:m})),e.next=8,_.init();case 8:return n.state.isReady||n.setState({isReady:!0}),e.abrupt("return",_);case 10:case"end":return e.stop()}},e,c)})),o=r,(0,l.default)(n,o)}return(0,c.default)(t,e),t.prototype.componentDidMount=function(){this.props.wait||this.handleInit()},t.prototype.render=function(){var e=this.props.children,t=this.state,r={isReady:t.isReady,error:t.error,handleInit:this.handleInit,api:_};return h.default.createElement(m.Provider,{value:r},e)},t}(p.Component),n.defaultProps={version:"v3.1",cookie:!1,status:!1,xfbml:!1,language:"en_US",frictionlessRequests:!1,domain:"connect.facebook.net",children:void 0,wait:!1},o);t.default=y},function(e,t){},function(e,t,r){"use strict";var n=r(160)(!0);r(100)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){"use strict";var n=r(30),o=r(13),a=r(102),i=r(19),s=r(33),l=r(161),c=r(40),p=r(165),h=r(6)("iterator"),u=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,f,m,_,y){l(r,t,f);var b,g,v,w=function(e){if(!u&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",E="values"==m,S=!1,k=e.prototype,P=k[h]||k["@@iterator"]||m&&k[m],C=P||w(m),T=m?E?w("entries"):C:void 0,A="Array"==t&&k.entries||P;if(A&&(v=p(A.call(new e)))!==Object.prototype&&v.next&&(c(v,x,!0),n||"function"==typeof v[h]||i(v,h,d)),E&&P&&"values"!==P.name&&(S=!0,C=function(){return P.call(this)}),n&&!y||!u&&!S&&k[h]||i(k,h,C),s[t]=C,s[x]=d,m)if(b={values:E?C:w("values"),keys:_?C:w("keys"),entries:T},y)for(g in b)g in k||a(k,g,b[g]);else o(o.P+o.F*(u||S),t,b);return b}},function(e,t,r){e.exports=!r(15)&&!r(32)(function(){return 7!=Object.defineProperty(r(61)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){e.exports=r(19)},function(e,t,r){var n=r(21),o=r(24),a=r(163)(!1),i=r(64)("IE_PROTO");e.exports=function(e,t){var r,s=o(e),l=0,c=[];for(r in s)r!=i&&n(s,r)&&c.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~a(c,r)||c.push(r));return c}},function(e,t,r){var n=r(34);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(59),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t,r){var n=r(5).document;e.exports=n&&n.documentElement},function(e,t,r){r(166);for(var n=r(5),o=r(19),a=r(33),i=r(6)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],p=n[c],h=p&&p.prototype;h&&!h[i]&&o(h,i,c),a[c]=a.Array}},function(e,t,r){var n=r(34),o=r(6)("toStringTag"),a="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?r:a?n(t):"Object"==(i=n(t))&&"function"==typeof t.callee?"Arguments":i}},function(e,t,r){var n=r(12),o=r(36),a=r(6)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},function(e,t,r){var n,o,a,i=r(31),s=r(175),l=r(106),c=r(61),p=r(5),h=p.process,u=p.setImmediate,d=p.clearImmediate,f=p.MessageChannel,m=p.Dispatch,_=0,y={},b=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},g=function(e){b.call(e.data)};u&&d||(u=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return y[++_]=function(){s("function"==typeof e?e:Function(e),t)},n(_),_},d=function(e){delete y[e]},"process"==r(34)(h)?n=function(e){h.nextTick(i(b,e,1))}:m&&m.now?n=function(e){m.now(i(b,e,1))}:f?(a=(o=new f).port2,o.port1.onmessage=g,n=i(a.postMessage,a,1)):p.addEventListener&&"function"==typeof postMessage&&!p.importScripts?(n=function(e){p.postMessage(e+"","*")},p.addEventListener("message",g,!1)):n="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(i(b,e,1),0)}),e.exports={set:u,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){var n=r(12),o=r(14),a=r(68);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){"use strict";function n(e){return(n="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})(e)}t.__esModule=!0;var o=s(r(183)),a=s(r(185)),i="function"===typeof a.default&&"symbol"===n(o.default)?function(e){return n(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":n(e)};function s(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===i(o.default)?function(e){return"undefined"===typeof e?"undefined":i(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":i(e)}},function(e,t,r){var n=r(103),o=r(66).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){var n=r(41),o=r(37),a=r(24),i=r(62),s=r(21),l=r(101),c=Object.getOwnPropertyDescriptor;t.f=r(15)?c:function(e,t){if(e=a(e),t=i(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!n.f.call(e,t),e[t])}},function(e,t){var r=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=r},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=_(r(4)),i=_(r(9)),s=_(r(10)),l=_(r(1)),c=_(r(2)),p=_(r(3)),h=r(0),u=_(h),d=_(r(16)),f=_(r(73)),m=_(r(42));function _(e){return e&&e.__esModule?e:{default:e}}var y=(o=n=function(e){function t(){var r,n,o,a,p=this;(0,l.default)(this,t);for(var h=arguments.length,u=Array(h),m=0;m<h;m++)u[m]=arguments[m];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(u))),n.handleClick=(a=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=n.props.handleProcess,e.abrupt("return",r(function(){var e=(0,s.default)(i.default.mark(function e(t){var r,o,a,s,l,c,h,u,m,_;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,o=r.href,a=void 0===o?(0,d.default)():o,s=r.display,l=r.appId,c=void 0===l?t.getAppId():l,h=r.hashtag,u=r.redirectURI,m=r.quote,_=r.mobileIframe,e.abrupt("return",t.ui((0,f.default)({method:"share",href:a,display:s,app_id:c,hashtag:h,redirect_uri:u,quote:m,mobile_iframe:_})));case 2:case"end":return e.stop()}},e,p)}));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return e.stop()}},e,p)})),function(e){return a.apply(this,arguments)}),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,r=e.loading,n=e.error,o=e.data;return t({loading:r,handleClick:this.handleClick,error:n,data:o})},t}(h.Component),n.defaultProps={href:void 0,hashtag:void 0,quote:void 0,mobileIframe:void 0,display:void 0,appId:void 0,redirectURI:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(m.default,null,function(r){var n=r.loading,o=r.handleProcess,i=r.data,s=r.error;return u.default.createElement(y,(0,a.default)({},e,{loading:n,handleProcess:o,data:i,error:s,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=m(r(9)),i=m(r(4)),s=m(r(10)),l=m(r(1)),c=m(r(2)),p=m(r(3)),h=r(0),u=m(h),d=m(r(42)),f=m(r(74));function m(e){return e&&e.__esModule?e:{default:e}}var _=(o=n=function(e){function t(){var r,n,o,p,h=this;(0,l.default)(this,t);for(var u=arguments.length,d=Array(u),f=0;f<u;f++)d[f]=arguments[f];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(d))),n.handleClick=(p=(0,s.default)(a.default.mark(function e(t){var r,o,l,c;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=n.props,o=r.handleProcess,l=r.onCompleted,c=r.onError,e.prev=2,e.next=5,o(function(){var e=(0,s.default)(a.default.mark(function e(t){var r,o,s,c,p,u,d,f,m,_;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,o=r.scope,s=r.fields,c=r.returnScopes,p=r.rerequest,u=r.reauthorize,d=r.eventKey,f={scope:o},m=[],c&&(f.return_scopes=!0),p&&m.push("rerequest"),u&&m.push("reauthenticate"),m.length&&(f.auth_type=m.join(",")),e.next=9,t.login(f);case 9:if("connected"===e.sent.status){e.next=12;break}throw new Error("Unauthorized user");case 12:return e.next=14,t.getTokenDetailWithProfile({fields:s});case 14:if(_=e.sent,!l){e.next=18;break}return e.next=18,l((0,i.default)({},_,{eventKey:d}));case 18:return e.abrupt("return",_);case 19:case"end":return e.stop()}},e,h)}));return function(t){return e.apply(this,arguments)}}());case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),c&&c(e.t0);case 10:case"end":return e.stop()}},e,h,[[2,7]])})),function(e){return p.apply(this,arguments)}),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,r=e.loading,n=e.error,o=e.data;return t({loading:r,handleClick:this.handleClick,error:n,data:o})},t}(h.Component),n.defaultProps={scope:"",fields:f.default,returnScopes:!1,rerequest:!1,reauthorize:!1,onCompleted:void 0,onError:void 0,eventKey:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(d.default,null,function(r){var n=r.loading,o=r.handleProcess,a=r.data,s=r.error;return u.default.createElement(_,(0,i.default)({},e,{loading:n,handleProcess:o,data:a,error:s,ref:t}))})})},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,r){var n=r(43),o=r(249),a=r(250),i=r(251),s=r(252),l=r(253);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t,r){var n=r(45),o=r(35),a="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=n(e);return t==i||t==s||t==a||t==l}},function(e,t,r){(function(t){function r(e){return(r="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})(e)}var n="object"==("undefined"===typeof t?"undefined":r(t))&&t&&t.Object===Object&&t;e.exports=n}).call(t,r(255))},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(261),o=r(268),a=r(270),i=r(271),s=r(272);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(273),o=r(276),a=r(277),i=1,s=2;e.exports=function(e,t,r,l,c,p){var h=r&i,u=e.length,d=t.length;if(u!=d&&!(h&&d>u))return!1;var f=p.get(e);if(f&&p.get(t))return f==t;var m=-1,_=!0,y=r&s?new n:void 0;for(p.set(e,t),p.set(t,e);++m<u;){var b=e[m],g=t[m];if(l)var v=h?l(g,b,m,t,e,p):l(b,g,m,e,t,p);if(void 0!==v){if(v)continue;_=!1;break}if(y){if(!o(t,function(e,t){if(!a(y,t)&&(b===e||c(b,e,r,l,p)))return y.push(t)})){_=!1;break}}else if(b!==g&&!c(b,g,r,l,p)){_=!1;break}}return p.delete(e),p.delete(t),_}},function(e,t,r){var n=r(11).Uint8Array;e.exports=n},function(e,t,r){var n=r(129),o=r(81),a=r(82);e.exports=function(e){return n(e,a,o)}},function(e,t,r){var n=r(130),o=r(49);e.exports=function(e,t,r){var a=t(e);return o(e)?a:n(a,r(e))}},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(283),o=r(284),a=r(49),i=r(83),s=r(287),l=r(133),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),p=!r&&o(e),h=!r&&!p&&i(e),u=!r&&!p&&!h&&l(e),d=r||p||h||u,f=d?n(e.length,String):[],m=f.length;for(var _ in e)!t&&!c.call(e,_)||d&&("length"==_||h&&("offset"==_||"parent"==_)||u&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||s(_,m))||f.push(_);return f}},function(e,t,r){var n=r(288),o=r(84),a=r(85),i=a&&a.isTypedArray,s=i?o(i):n;e.exports=s},function(e,t){var r=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(122),o=r(134);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},function(e,t,r){var n=r(138),o=r(79),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var i=e[t];a.call(e,t)&&o(i,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(297);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(132),o=r(300),a=r(136);e.exports=function(e){return a(e)?n(e,!0):o(e)}},function(e,t,r){var n=r(130),o=r(141),a=r(81),i=r(131),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,a(e)),e=o(e);return t}:i;e.exports=s},function(e,t,r){var n=r(135)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n,o,a;a=function(){var e,t,r=document,n=r.getElementsByTagName("head")[0],o=!1,a="push",i="readyState",s="onreadystatechange",l={},c={},p={},h={};function u(e,t){for(var r=0,n=e.length;r<n;++r)if(!t(e[r]))return o;return 1}function d(e,t){u(e,function(e){return t(e),1})}function f(t,r,n){t=t[a]?t:[t];var o=r&&r.call,i=o?r:n,s=o?t.join(""):r,_=t.length;function y(e){return e.call?e():l[e]}function b(){if(!--_)for(var e in l[s]=1,i&&i(),p)u(e.split("|"),y)&&!d(p[e],y)&&(p[e]=[])}return setTimeout(function(){d(t,function t(r,n){return null===r?b():(n||/^https?:\/\//.test(r)||!e||(r=-1===r.indexOf(".js")?e+r+".js":e+r),h[r]?(s&&(c[s]=1),2==h[r]?b():setTimeout(function(){t(r,!0)},0)):(h[r]=1,s&&(c[s]=1),void m(r,b)))})},0),f}function m(e,o){var a,l=r.createElement("script");l.onload=l.onerror=l[s]=function(){l[i]&&!/^c|loade/.test(l[i])||a||(l.onload=l[s]=null,a=1,h[e]=2,o())},l.async=1,l.src=t?e+(-1===e.indexOf("?")?"?":"&")+t:e,n.insertBefore(l,n.lastChild)}return f.get=m,f.order=function(e,t,r){!function n(o){o=e.shift(),e.length?f(o,n):f(o,t,r)}()},f.path=function(t){e=t},f.urlArgs=function(e){t=e},f.ready=function(e,t,r){var n,o=[];return!d(e=e[a]?e:[e],function(e){l[e]||o[a](e)})&&u(e,function(e){return l[e]})?t():(n=e.join("|"),p[n]=p[n]||[],p[n][a](t),r&&r(o)),f},f.done=function(e){f([null],e)},f},"undefined"!=typeof e&&e.exports?e.exports=a():void 0===(o="function"===typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=o)},function(e,t,r){r(144),e.exports=r(145)},function(e,t,r){"use strict"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(18),o=r.n(n),a=r(146);o()(window).on("et_builder_api_ready",function(e,t){t.registerModules(a.a)})},function(e,t,r){"use strict";var n=r(147),o=r(148),a=r(149),i=r(151),s=r(152),l=r(153),c=r(154),p=r(155),h=r(234),u=r(235),d=r(236),f=r(237),m=r(238),_=r(324),y=r(325),b=r(326),g=r(327),v=r(328),w=r(329),x=r(330),E=r(331),S=r(332),k=r(333),P=r(335);t.a=[P.a,k.a,S.a,x.a,E.a,n.a,o.a,a.a,i.a,s.a,l.a,c.a,p.a,h.a,u.a,d.a,f.a,m.a,_.a,y.a,b.a,g.a,v.a,w.a]},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(52);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];t.push([{selector:"%%order_class%% .dsm_flipbox_child",declaration:"transition: transform ".concat(e.flipbox_speed," ease-in-out;")}]);var r=e.flipbox_height_last_edited,n=r&&r.startsWith("on");return e.flipbox_height&&t.push([{selector:"%%order_class%% .dsm-flipbox",declaration:"height: ".concat(e.flipbox_height,";")}]),e.flipbox_height_tablet&&n&&e.flipbox_height_tablet&&""!==e.flipbox_height_tablet&&t.push([{selector:"%%order_class%% .dsm-flipbox",declaration:"height: ".concat(e.flipbox_height_tablet,";"),device:"tablet"}]),e.flipbox_height_phone&&n&&e.flipbox_height_phone&&""!==e.flipbox_height_phone&&t.push([{selector:"%%order_class%% .dsm-flipbox",declaration:"height: ".concat(e.flipbox_height_phone,";"),device:"phone"}]),t}}],(a=[{key:"render",value:function(){var e=this.props;return o.a.createElement("div",{className:"dsm-flipbox dsm-flipbox-effect-".concat(e.flipbox_effect)},this.props.content)}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_flipbox"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n);function a(e){return(a="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})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[];"on"===e.use_icon&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"color: #7EBEC5"}]),"#7EBEC5"!==e.icon_color&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"color: ".concat(e.icon_color)}]),"on"===e.use_circle&&e.circle_color&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"background-color: ".concat(e.circle_color)}]),"on"===e.use_circle_border&&e.circle_border_color&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"border-color: ".concat(e.circle_border_color)}]),"on"===e.use_icon_font_size&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"font-size: ".concat(e.icon_font_size)}]),"on"===e.use_icon_font_size&&e.icon_font_size_tablet&&t.push([{selector:".et_fb_preview_active.et_fb_preview_active--responsive_preview.et_fb_preview_active--responsive_preview--tablet_preview %%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"font-size: ".concat(e.icon_font_size_tablet)}]),"on"===e.use_icon_font_size&&e.icon_font_size_phone&&t.push([{selector:".et_fb_preview_active.et_fb_preview_active--responsive_preview.et_fb_preview_active--responsive_preview--phone_preview %%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"font-size: ".concat(e.icon_font_size_phone)}]);var r=e.image_max_width_last_edited&&e.image_max_width_last_edited.startsWith("on"),n=e.image_max_width,o=r&&e.image_max_width_tablet?e.image_max_width_tablet:n,a=r&&e.image_max_width_phone?e.image_max_width_phone:o;(e.image_max_width&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .dsm_flipbox_child_image_wrap img",declaration:"max-width: ".concat(n)}]),e.image_max_width_tablet&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .dsm_flipbox_child_image_wrap img",declaration:"max-width: ".concat(o),device:"tablet"}]),e.image_max_width_phone&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .dsm_flipbox_child_image_wrap img",declaration:"max-width: ".concat(a),device:"phone"}]),"center"!==e.content_orientation&&t.push([{selector:"%%order_class%%",declaration:"align-items: ".concat(e.content_orientation,";")}]),e.image)&&("svg"===e.image.substr(e.image.lastIndexOf(".")+1)&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image",declaration:"width: 100%;"}]));return t}}],(a=[{key:"_renderTitle",value:function(){var e=this.props,t=""===e.header_level?"h4":"".concat(e.header_level);return e.title?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h4",{className:"dsm-title et_pb_module_header"},e.title)):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-title et_pb_module_header"},e.title)):""}},{key:"_renderIcon",value:function(){var e=this.props,t=window.ET_Builder.API.Utils;if(("off"!==e.use_icon||!e.image)&&e.use_icon&&"off"!==e.use_icon)return o.a.createElement("div",{className:"dsm_flipbox_child_image"},o.a.createElement("span",{className:"dsm_flipbox_child_image_wrap"},o.a.createElement("span",{className:"et-pb-icon".concat("on"===this.props.use_circle?" et-pb-icon-circle":"").concat("on"===this.props.use_circle_border?" et-pb-icon-circle-border":"")},t.processFontIcon(e.font_icon))))}},{key:"_renderImage",value:function(){var e=this.props;return!e.image||"on"===e.use_icon&&e.image?"":o.a.createElement("div",{className:"dsm_flipbox_child_image"},o.a.createElement("span",{className:"dsm_flipbox_child_image_wrap"},o.a.createElement("img",{src:"".concat(e.image),alt:"".concat(e.alt)})))}},{key:"_renderButton",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r="on"===e.url_new_window?"_blank":"",n=!!e.button_icon&&t.processFontIcon(e.button_icon),a={et_pb_button:!0,et_pb_more_button:!0,et_pb_custom_button_icon:e.button_icon};return e.button_text&&e.button_url?o.a.createElement("div",{className:"et_pb_button_wrapper"},o.a.createElement("a",{className:t.classnames(a),href:e.button_url,target:r,rel:t.linkRel(e.button_rel),"data-icon":n},e.button_text)):""}},{key:"render",value:function(){var e=this.props,t=e.text_orientation?e.text_orientation:"left",r=e.background_layout?e.background_layout:"light",a=e.icon_placement?e.icon_placement:"top";return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_flipbox_icon_position_".concat(a," et_pb_bg_layout_").concat(r)},this._renderIcon(),this._renderImage(),o.a.createElement("div",{className:"dsm_flipbox_wrapper et_pb_text_align_".concat(t)},this._renderTitle(),o.a.createElement("span",{className:"dsm-subtitle"},this.props.subtitle),o.a.createElement("div",{className:"dsm-content"},this.props.content()),this._renderButton())))}}])&&i(r.prototype,a),l&&i(r,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_flipbox_child"}),t.a=l},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(150),i=r.n(a),s=r(53);r.n(s);function l(e){return(l="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})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,s=[{key:"css",value:function(e){var t=[];return e.typing_cursor_color&&t.push([{selector:"%%order_class%% .typed-cursor",declaration:"color: ".concat(e.typing_cursor_color,";")}]),t}}],(a=[{key:"_renderTitleLoop",value:function(){var e=this.props,t=""===e.header_level?"h1":"".concat(e.header_level),r=e.typing_effect.split("|"),a=parseFloat(e.typing_speed),s=parseFloat(e.typing_backspeed),l=parseFloat(e.typing_backdelay);return e.typing_effect&&"off"!==e.typing_loop?"on"===e.typing_loop?o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-typing-effect et_pb_module_header"},o.a.createElement(i.a,{strings:r,typeSpeed:a,backSpeed:s,backDelay:l,contentType:null,className:"dsm-typing",loop:!0}))):void 0:""}},{key:"_renderTitleNoLoop",value:function(){var e=this.props,t=""===e.header_level?"h1":"".concat(e.header_level),r=e.typing_effect.split("|"),a=parseFloat(e.typing_speed),s=parseFloat(e.typing_backspeed),l=parseFloat(e.typing_backdelay);return e.typing_effect&&"on"!==e.typing_loop?"off"===e.typing_loop?o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-typing-effect et_pb_module_header"},o.a.createElement(i.a,{strings:r,typeSpeed:a,backSpeed:s,backDelay:l,contentType:null,className:"dsm-typing dsm-typing-no-loop"}))):void 0:""}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"et_pb_bg_layout_".concat(e.background_layout)},this._renderTitleNoLoop(),this._renderTitleLoop()))}}])&&c(r.prototype,a),s&&c(r,s),t}();Object.defineProperty(h,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_typing_effect"}),t.a=h},function(e,t,r){(function(e){var n,o,a,i;function s(e){return(s="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})(e)}i=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==s(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=5)}([function(e,t,r){var n=r(3);e.exports=r(8)(n.isElement,!0)},function(t,r){t.exports=e},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";e.exports=r(7)},function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(1),a=r(3),i=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o.initializer.load(this,r,t),this.begin()}return n(e,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var e=this;this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){e.currentElContent&&0!==e.currentElContent.length?e.backspace(e.currentElContent,e.currentElContent.length):e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)}},{key:"typewrite",value:function(e,t){var r=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var n=this.humanizer(this.typeSpeed),o=1;!0!==this.pause.status?this.timeout=setTimeout(function(){t=a.htmlParser.typeHtmlChars(e,t,r);var n=0,i=e.substr(t);if("^"===i.charAt(0)&&/^\^\d+/.test(i)){var s=1;s+=(i=/\d+/.exec(i)[0]).length,n=parseInt(i),r.temporaryPause=!0,r.options.onTypingPaused(r.arrayPos,r),e=e.substring(0,t)+e.substring(t+s),r.toggleBlinking(!0)}if("`"===i.charAt(0)){for(;"`"!==e.substr(t+o).charAt(0)&&!(t+ ++o>e.length););var l=e.substring(0,t),c=e.substring(l.length+1,t+o),p=e.substring(t+o+1);e=l+c+p,o--}r.timeout=setTimeout(function(){r.toggleBlinking(!1),t>=e.length?r.doneTyping(e,t):r.keepTyping(e,t,o),r.temporaryPause&&(r.temporaryPause=!1,r.options.onTypingResumed(r.arrayPos,r))},n)},n):this.setPauseStatus(e,t,!0)}},{key:"keepTyping",value:function(e,t,r){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),t+=r;var n=e.substr(0,t);this.replaceText(n),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var r=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){r.backspace(e,t)},this.backDelay))}},{key:"backspace",value:function(e,t){var r=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=a.htmlParser.backSpaceHtmlChars(e,t,r);var n=e.substr(0,t);if(r.replaceText(n),r.smartBackspace){var o=r.strings[r.arrayPos+1];o&&n===o.substr(0,t)?r.stopNum=t:r.stopNum=0}t>r.stopNum?(t--,r.backspace(e,t)):t<=r.stopNum&&(r.arrayPos++,r.arrayPos===r.strings.length?(r.arrayPos=0,r.options.onLastStringBackspaced(),r.shuffleStringsIfNeeded(),r.begin()):r.typewrite(r.strings[r.sequence[r.arrayPos]],t))},n)}else this.setPauseStatus(e,t,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,r){this.pause.typewrite=r,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),e}();t.default=i,e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=(n=r(2))&&n.__esModule?n:{default:n},s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return a(e,[{key:"load",value:function(e,t,r){if(e.el="string"==typeof r?document.querySelector(r):r,e.options=o({},i.default,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),"string"==typeof e.options.stringsElement?e.stringsElement=document.querySelector(e.options.stringsElement):e.stringsElement=e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.display="none";var n=Array.prototype.slice.apply(e.stringsElement.children),a=n.length;if(a)for(var s=0;s<a;s+=1){var l=n[s];e.strings.push(l.innerHTML.trim())}}for(var s in e.strPos=0,e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.sequence=[],e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.strings)e.sequence[s]=s;e.currentElContent=this.getCurrentElContent(e),e.autoInsertCss=e.options.autoInsertCss,this.appendAnimationCss(e)}},{key:"getCurrentElContent",value:function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent}},{key:"appendAnimationCss",value:function(e){if(e.autoInsertCss&&(e.showCursor||e.fadeOut)&&!document.querySelector("[data-typed-js-css]")){var t=document.createElement("style");t.type="text/css",t.setAttribute("data-typed-js-css",!0);var r="";e.showCursor&&(r+="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n "),e.fadeOut&&(r+="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n "),0!==t.length&&(t.innerHTML=r,document.body.appendChild(t))}}}]),e}();t.default=s;var l=new s;t.initializer=l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"typeHtmlChars",value:function(e,t,r){if("html"!==r.contentType)return t;var n=e.substr(t).charAt(0);if("<"===n||"&"===n){var o;for(o="<"===n?">":";";e.substr(t+1).charAt(0)!==o&&!(++t+1>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,r){if("html"!==r.contentType)return t;var n=e.substr(t).charAt(0);if(">"===n||";"===n){var o;for(o=">"===n?"<":"&";e.substr(t-1).charAt(0)!==o&&!(--t<0););t--}return t}}]),e}();t.default=n;var o=new n;t.htmlParser=o}])},e.exports=n()},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),a=r(0),i=r.n(a),l=r(4),c=r.n(l);function p(e){return(p="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){function t(){var e,r,n,a,i,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];return this,a=f(r=!(n=(e=d(t)).call.apply(e,[this].concat(c)))||"object"!==p(n)&&"function"!=typeof n?f(this):n),i="rootElement",s=o.a.createRef(),i in a?Object.defineProperty(a,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[i]=s,r}var r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,n.Component),r=t,(a=[{key:"componentDidMount",value:function(){var e=this.props,t=(e.style,e.typedRef,e.stopped),r=(e.className,h(e,["style","typedRef","stopped","className"]));this.constructTyped(r),t&&this.typed.stop()}},{key:"constructTyped",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.props,n=(r.style,r.typedRef,r.stopped,r.className,h(r,["style","typedRef","stopped","className"]));this.typed&&this.typed.destroy(),this.typed=new c.a(this.rootElement.current,Object.assign(n,t)),this.props.typedRef&&this.props.typedRef(this.typed),this.typed.reConstruct=function(t){e.constructTyped(t)}}},{key:"shouldComponentUpdate",value:function(e){var t=this;if(this.props!==e){e.style,e.typedRef,e.stopped,e.className;var r=h(e,["style","typedRef","stopped","className"]);return this.typed.options=Object.assign(this.typed.options,r),!Object.keys(e).every(function(r){return!t.props[r]&&e[r]?(t.constructTyped(e),!1):(t.typed[r]&&(t.typed[r]=e[r]),!0)})||this.props.strings.length===e.strings.length||this.constructTyped(e),!0}return!1}},{key:"render",value:function(){var e=this.props,t=e.style,r=e.className,n=e.children,a=o.a.createElement("span",{ref:this.rootElement});return n&&(a=o.a.cloneElement(n,{ref:this.rootElement})),o.a.createElement("span",{style:t,className:r},a)}}])&&u(r.prototype,a),t}();_.propTypes={style:i.a.object,className:i.a.string,children:i.a.object,typedRef:i.a.func,stopped:i.a.bool,strings:i.a.arrayOf(i.a.string),typeSpeed:i.a.number,startDelay:i.a.number,backSpeed:i.a.number,smartBackspace:i.a.bool,shuffle:i.a.bool,backDelay:i.a.number,fadeOut:i.a.bool,fadeOutClass:i.a.string,fadeOutDelay:i.a.number,loop:i.a.bool,loopCount:i.a.number,showCursor:i.a.bool,cursorChar:i.a.string,autoInsertCss:i.a.bool,attr:i.a.string,bindInputFocusEvents:i.a.bool,contentType:i.a.oneOf(["html",""]),onComplete:i.a.func,preStringTyped:i.a.func,onStringTyped:i.a.func,onLastStringBackspaced:i.a.func,onTypingPaused:i.a.func,onTypingResumed:i.a.func,onReset:i.a.func,onStop:i.a.func,onStart:i.a.func,onDestroy:i.a.func},t.default=_},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,p=n?Symbol.for("react.provider"):60109,h=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,_=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118;function w(e){if("object"==s(e)&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case d:case i:case c:case l:case m:return e;default:switch(e=e&&e.$$typeof){case h:case f:case p:return e;default:return t}}case b:case y:case a:return t}}}function x(e){return w(e)===d}t.typeOf=w,t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=h,t.ContextProvider=p,t.Element=o,t.ForwardRef=f,t.Fragment=i,t.Lazy=b,t.Memo=y,t.Portal=a,t.Profiler=c,t.StrictMode=l,t.Suspense=m,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===c||e===l||e===m||e===_||"object"==s(e)&&null!==e&&(e.$$typeof===b||e.$$typeof===y||e.$$typeof===p||e.$$typeof===h||e.$$typeof===f||e.$$typeof===g||e.$$typeof===v)},t.isAsyncMode=function(e){return x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===h},t.isContextProvider=function(e){return w(e)===p},t.isElement=function(e){return"object"==s(e)&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===y},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===c},t.isStrictMode=function(e){return w(e)===l},t.isSuspense=function(e){return w(e)===m}},function(e,t,r){"use strict";!function(){Object.defineProperty(t,"__esModule",{value:!0});var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,h=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,g=function(e,t){if(void 0===t)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];(function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=0,a="Warning: "+e.replace(/%s/g,function(){return r[o++]});"undefined"!=typeof console&&console.warn(a);try{throw new Error(a)}catch(e){}}).apply(void 0,[t].concat(n))}};function v(e){if("object"==s(e)&&null!==e){var t=e.$$typeof;switch(t){case r:var f=e.type;switch(f){case p:case h:case o:case i:case a:case d:return f;default:var y=f&&f.$$typeof;switch(y){case c:case u:case l:return y;default:return t}}case _:case m:case n:return t}}}var w=p,x=h,E=c,S=l,k=r,P=u,C=o,T=_,A=m,M=n,D=i,O=a,F=d,I=!1;function j(e){return v(e)===h}t.typeOf=v,t.AsyncMode=w,t.ConcurrentMode=x,t.ContextConsumer=E,t.ContextProvider=S,t.Element=k,t.ForwardRef=P,t.Fragment=C,t.Lazy=T,t.Memo=A,t.Portal=M,t.Profiler=D,t.StrictMode=O,t.Suspense=F,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===h||e===i||e===a||e===d||e===f||"object"==s(e)&&null!==e&&(e.$$typeof===_||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===u||e.$$typeof===y||e.$$typeof===b)},t.isAsyncMode=function(e){return I||(I=!0,g(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),j(e)||v(e)===p},t.isConcurrentMode=j,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==s(e)&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===u},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===_},t.isMemo=function(e){return v(e)===m},t.isPortal=function(e){return v(e)===n},t.isProfiler=function(e){return v(e)===i},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===d}}()},function(e,t,r){"use strict";var n=r(3),o=r(9),a=r(2),i=r(10),l=Function.call.bind(Object.prototype.hasOwnProperty),c=function(){};function p(){return null}c=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var r="function"==typeof Symbol&&Symbol.iterator,h="@@iterator",u="<<anonymous>>",d={array:y("array"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:_(p),arrayOf:function(e){return _(function(t,r,n,o,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new m("Invalid "+o+" `"+i+"` of type `"+g(s)+"` supplied to `"+n+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,n,o,i+"["+l+"]",a);if(c instanceof Error)return c}return null})},element:_(function(t,r,n,o,a){var i=t[r];return e(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+g(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:_(function(e,t,r,o,a){var i=e[t];return n.isValidElementType(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+g(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return _(function(t,r,n,o,a){if(!(t[r]instanceof e)){var i=e.name||u;return new m("Invalid "+o+" `"+a+"` of type `"+function(e){return e.constructor&&e.constructor.name?e.constructor.name:u}(t[r])+"` supplied to `"+n+"`, expected instance of `"+i+"`.")}return null})},node:_(function(e,t,r,n,o){return b(e[t])?null:new m("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")}),objectOf:function(e){return _(function(t,r,n,o,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var s=t[r],c=g(s);if("object"!==c)return new m("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+n+"`, expected an object.");for(var p in s)if(l(s,p)){var h=e(s,p,n,o,i+"."+p,a);if(h instanceof Error)return h}return null})},oneOf:function(e){return Array.isArray(e)?_(function(t,r,n,o,a){for(var i=t[r],s=0;s<e.length;s++)if(f(i,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===v(t)?String(t):t});return new m("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+n+"`, expected one of "+l+".")}):(arguments.length>1?c("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c("Invalid argument supplied to oneOf, expected an array."),p)},oneOfType:function(e){if(!Array.isArray(e))return c("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(r)+" at index "+t+"."),p}return _(function(t,r,n,o,i){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,r,n,o,i,a))return null;return new m("Invalid "+o+" `"+i+"` supplied to `"+n+"`.")})},shape:function(e){return _(function(t,r,n,o,i){var s=t[r],l=g(s);if("object"!==l)return new m("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+n+"`, expected `object`.");for(var c in e){var p=e[c];if(p){var h=p(s,c,n,o,i+"."+c,a);if(h)return h}}return null})},exact:function(e){return _(function(t,r,n,i,s){var l=t[r],c=g(l);if("object"!==c)return new m("Invalid "+i+" `"+s+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");var p=o({},t[r],e);for(var h in p){var u=e[h];if(!u)return new m("Invalid "+i+" `"+s+"` key `"+h+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var d=u(l,h,n,i,s+"."+h,a);if(d)return d}return null})}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e){this.message=e,this.stack=""}function _(e){var r={},n=0;function o(o,i,s,l,p,h,d){if(l=l||u,h=h||s,d!==a){if(t){var f=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 f.name="Invariant Violation",f}if("undefined"!=typeof console){var _=l+":"+s;!r[_]&&n<3&&(c("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[_]=!0,n++)}}return null==i[s]?o?null===i[s]?new m("The "+p+" `"+h+"` is marked as required in `"+l+"`, but its value is `null`."):new m("The "+p+" `"+h+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(i,s,l,p,h)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function y(e){return _(function(t,r,n,o,a,i){var s=t[r];return g(s)!==e?new m("Invalid "+o+" `"+a+"` of type `"+v(s)+"` supplied to `"+n+"`, expected `"+e+"`."):null})}function b(t){switch(s(t)){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(b);if(null===t||e(t))return!0;var n=function(e){var t=e&&(r&&e[r]||e[h]);if("function"==typeof t)return t}(t);if(!n)return!1;var o,a=n.call(t);if(n!==t.entries){for(;!(o=a.next()).done;)if(!b(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!b(i[1]))return!1}return!0;default:return!1}}function g(e){var t=s(e);return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,d.checkPropTypes=i,d.resetWarningCache=i.resetWarningCache,d.PropTypes=d,d}},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))o.call(r,c)&&(s[c]=r[c]);if(n){i=n(r);for(var p=0;p<i.length;p++)a.call(r,i[p])&&(s[i[p]]=r[i[p]])}}return s}},function(e,t,r){"use strict";var n=function(){},o=r(2),a={},i=Function.call.bind(Object.prototype.hasOwnProperty);function l(e,t,r,l,c){for(var p in e)if(i(e,p)){var h;try{if("function"!=typeof e[p]){var u=Error((l||"React class")+": "+r+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+s(e[p])+"`.");throw u.name="Invariant Violation",u}h=e[p](t,p,l,r,null,o)}catch(e){h=e}if(!h||h instanceof Error||n((l||"React class")+": type specification of "+r+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+s(h)+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in a)){a[h.message]=!0;var d=c?c():"";n("Failed "+r+" type: "+h.message+(null!=d?d:""))}}}n=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},l.resetWarningCache=function(){a={}},e.exports=l},function(e,t,r){"use strict";var n=r(2);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}}])},"object"==s(t)&&"object"==s(e)?e.exports=i(r(0)):(o=[r(0)],void 0===(a="function"===typeof(n=i)?n.apply(t,o):n)||(e.exports=a))}).call(t,r(23)(e))},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(18),i=r.n(a),s=r(95),l=(r.n(s),r(54));r.n(l);function c(e){return(c="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})(e)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[];if(t.push([{selector:"%%order_class%% .dsm-perspective-image-wrapper",declaration:"transform: perspective(".concat(e.perspective,") rotateX(").concat(e.dsm_rotate_x,") rotateY(").concat(e.dsm_rotate_y,") rotateZ(").concat(e.dsm_rotate_z,");")}]),"left"!==e.align&&t.push([{selector:"%%order_class%%",declaration:"text-align: ".concat(e.align,";")}]),"on"===e.force_fullwidth&&t.push([{selector:"%%order_class%% .et_pb_image_wrap, %%order_class%% img",declaration:"width: 100%;"}]),"on"===e.use_overlay&&(e.hover_overlay_color&&t.push([{selector:"%%order_class%% .et_overlay",declaration:"background-color: ".concat(e.hover_overlay_color,";")}]),e.overlay_icon_color&&t.push([{selector:"%%order_class%% .et_overlay:before",declaration:"color: ".concat(e.overlay_icon_color,";")}])),"on"!==e.dsm_rotate_y__hover_enabled&&"on"!==e.dsm_rotate_x__hover_enabled&&"on"!==e.dsm_rotate_z__hover_enabled||t.push([{selector:"%%order_class%% .dsm-perspective-image-wrapper",declaration:"transition: transform ".concat(e.hover_transition_duration," ").concat(e.hover_transition_speed_curve," ").concat(e.hover_transition_delay,";")}]),void 0===e.dsm_rotate_y__hover)var r="0deg";else r=e.dsm_rotate_y__hover;if(void 0===e.dsm_rotate_x__hover)var n="0deg";else n=e.dsm_rotate_x__hover;if(void 0===e.dsm_rotate_z__hover)var o="0deg";else o=e.dsm_rotate_z__hover;var a=""!==e.dsm_rotate_x__hover?" rotateX(".concat(n,")"):"",i=""!==e.dsm_rotate_y__hover?" rotateY(".concat(r,")"):"",s=""!==e.dsm_rotate_z__hover?" rotateZ(".concat(o,")"):"";("on"!==e.dsm_rotate_y__hover_enabled&&"on"!==e.dsm_rotate_x__hover_enabled&&"on"!==e.dsm_rotate_z__hover_enabled||""===e.dsm_rotate_y__hover&&""===e.dsm_rotate_x__hover&&""===e.dsm_rotate_z__hover||t.push([{selector:"%%order_class%%:hover .dsm-perspective-image-wrapper",declaration:"transform: perspective(".concat(e.perspective,")").concat(a).concat(i).concat(s,";")}]),e.src)&&("svg"===e.src.substr(e.src.lastIndexOf(".")+1)&&t.push([{selector:"%%order_class%% .et_pb_image_wrap",declaration:"display: block;"}]));return t}}],(a=[{key:"componentDidUpdate",value:function(e){var t=Object(s.findDOMNode)(this.refs.lightboxIMG);i()(t).magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade",zoom:{enabled:!0,duration:500,opener:function(e){return e.find("img")}}})}},{key:"_renderOverlay",value:function(){var e=this.props,t=window.ET_Builder.API.Utils.processFontIcon(e.hover_icon);return"off"===e.use_overlay&&("on"===e.show_in_lightbox||"off"===e.show_in_lightbox&&""!==e.url)?"":o.a.createElement(n.Fragment,null,o.a.createElement("span",{className:"et_overlay et_pb_inline_icon","data-icon":t}))}},{key:"_renderImageOutPut",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("span",{className:"et_pb_image_wrap"},o.a.createElement("img",{src:e.src,alt:e.alt,title:e.title_text}),this._renderOverlay()))}},{key:"_renderImage",value:function(){var e=this.props,t="on"===e.url_new_window&&"off"===e.show_in_lightbox?"_blank":"",r="on"===e.show_lightbox_other_img&&""!==e.show_lightbox_other_img_src?e.show_lightbox_other_img_src:e.src;return e.src||e.url?"on"===e.show_in_lightbox?o.a.createElement(n.Fragment,null,o.a.createElement("a",{ref:"lightboxIMG",href:e.src,className:"et_pb_lightbox_image","data-mfp-src":r},this._renderImageOutPut())):void 0===e.url?o.a.createElement(n.Fragment,null,this._renderImageOutPut()):""!==e.url?o.a.createElement(n.Fragment,null,o.a.createElement("a",{href:e.url,target:t,title:e.alt},this._renderImageOutPut())):o.a.createElement(n.Fragment,null,this._renderImageOutPut()):""}},{key:"render",value:function(){var e=this.props;return o.a.createElement("div",{ref:"spaces",className:"dsm-perspective-image-wrapper".concat("on"===e.use_overlay&&("on"===e.show_in_lightbox||"off"===e.show_in_lightbox&&""!==e.url)?" et_pb_has_overlay":"")},o.a.createElement(n.Fragment,null,this._renderImage()))}}])&&p(r.prototype,a),l&&p(r,l),t}();Object.defineProperty(u,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_perspective_image"}),t.a=u},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(55);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];return e.height&&t.push([{selector:"%%order_class%% .dsm-text-divider-wrapper",declaration:"height: ".concat(e.height,";")}]),e.divider_style&&t.push([{selector:"%%order_class%% .dsm-divider",declaration:"border-top-style: ".concat(e.divider_style,";")}]),"center"!==e.divider_position&&t.push([{selector:"%%order_class%% .dsm-text-divider-wrapper",declaration:"align-items: ".concat(e.divider_position,";")}]),e.color&&t.push([{selector:"%%order_class%% .dsm-divider",declaration:"border-top-color: ".concat(e.color,";")}]),e.divider_weight&&t.push([{selector:"%%order_class%% .dsm-divider",declaration:"border-top-width: ".concat(e.divider_weight,";")}]),"10px"!==e.text_gap&&("center"===e.text_alignment?t.push([{selector:"%%order_class%% .dsm-text-divider-header",declaration:"margin: 0 ".concat(e.text_gap,";")}]):"left"===e.text_alignment?t.push([{selector:"%%order_class%% .dsm-text-divider-header",declaration:"margin: 0 ".concat(e.text_gap," 0 0;")}]):t.push([{selector:"%%order_class%% .dsm-text-divider-header",declaration:"margin: 0 0 0 ".concat(e.text_gap,";")}])),t}}],(a=[{key:"_renderText",value:function(){var e=this.props,t=""===e.header_level?"h2":"".concat(e.header_level);return e.header?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h3",{className:"dsm-text-divider-header et_pb_module_header"},e.header)):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-text-divider-header et_pb_module_header"},e.header)):""}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm-text-divider-wrapper et_pb_bg_layout_".concat(e.background_layout," dsm-text-divider-align-").concat(e.text_alignment)},o.a.createElement("div",{className:"dsm-text-divider-before dsm-divider"}),this._renderText(),o.a.createElement("div",{className:"dsm-text-divider-after dsm-divider"})))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_text_divider"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(56);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){return[]}}],(a=[{key:"_renderTitle",value:function(){var e=this.props,t=""===e.header_level?"h1":"".concat(e.header_level);return e.gradient_text?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h1",{className:"dsm-gradient-text et_pb_module_header"},e.gradient_text)):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-gradient-text et_pb_module_header"},e.gradient_text)):""}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"et_pb_bg_layout_".concat(e.background_layout)},this._renderTitle()))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_gradient_text"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(95),i=(r.n(a),r(18)),s=r.n(i),l=r(57),c=(r.n(l),r(58));r.n(c);function p(e){return(p="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})(e)}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t){return!t||"object"!==p(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,i,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[],r=e.separator_gap_last_edited&&e.separator_gap_last_edited.startsWith("on"),n=e.separator_gap,o=r&&e.separator_gap_tablet?e.separator_gap_tablet:n,a=r&&e.separator_gap_phone?e.separator_gap_phone:o;return e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-button-separator-text",declaration:"margin-left: ".concat(n,"; margin-right: ").concat(n)}]),e.separator_gap_tablet&&t.push([{selector:"%%order_class%% .dsm-button-separator-text",declaration:"margin-left: ".concat(o,"; margin-right: ").concat(o),device:"tablet"}]),e.separator_gap_phone&&t.push([{selector:"%%order_class%% .dsm-button-separator-text",declaration:"margin-left: ".concat(a,"; margin-right: ").concat(a),device:"phone"}]),t}}],(i=[{key:"componentDidUpdate",value:function(){var e=this.props;s()(Object(a.findDOMNode)(this.popupvideoLink)).magnificPopup({delegate:".dsm-video-lightbox",type:"iframe",iframe:{markup:'<div class="mfp-iframe-scaler dsm-video-popup"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe></div>',patterns:{youtube:{index:"youtube.com/",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"},youtu_be:{index:"youtu.be",id:"/",src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},dailymotion:{index:"dailymotion.com",id:function(e){var t=e.match(/^.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/);return null!==t?void 0!==t[4]?t[4]:t[2]:null},src:"https://www.dailymotion.com/embed/video/%id%"}},srcAction:"iframe_src"},mainClass:"dsm-video-popup-wrap mfp-fade"});var t=Object(a.findDOMNode)(this.refs.IMGOneLightbox);"on"===e.button_one_image_popup?s()(t).magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade"}):(s()(t).off("click"),s()(t).removeData("magnificPopup"));var r=Object(a.findDOMNode)(this.refs.IMGTwoLightbox);"on"===e.button_two_image_popup?s()(r).magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade"}):(s()(r).off("click"),s()(r).removeData("magnificPopup"))}},{key:"_renderButton",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r="on"===e.button_one_url_new_window?"_blank":"",n=!!e.button_one_icon&&t.processFontIcon(e.button_one_icon),a=e.button_one_hover_animation,i="on"===e.button_one_video_popup?" dsm-video-lightbox et_pb_lightbox_image":"",s="on"===e.button_one_image_popup?" dsm-image-lightbox et_pb_lightbox_image":"",l="on"===e.button_one_image_popup?"".concat(e.button_one_image_src):"".concat(e.button_one_url),c={et_pb_button_one:!0,et_pb_button:!0,et_pb_custom_button_icon:e.button_one_icon};return e.button_one_text?o.a.createElement("a",{ref:"IMGOneLightbox",className:"".concat(t.classnames(c)," ").concat(a).concat(i).concat(s," ").concat(this.buttonBackgroundClassName()),href:l,target:r,rel:t.linkRel(e.button_one_rel),"data-icon":n},e.button_one_text):""}},{key:"_renderButtonTwo",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r="on"===e.button_two_url_new_window?"_blank":"",a=!!e.button_two_icon&&t.processFontIcon(e.button_two_icon),i=e.button_two_hover_animation,s="on"===e.button_two_video_popup?" dsm-video-lightbox et_pb_lightbox_image":"",l="on"===e.button_two_image_popup?" dsm-image-lightbox et_pb_lightbox_image":"",c="on"===e.button_two_image_popup?"".concat(e.button_two_image_src):"".concat(e.button_two_url),p={et_pb_button_two:!0,et_pb_button:!0,et_pb_custom_button_icon:e.button_two_icon};return e.button_two_text?o.a.createElement(n.Fragment,null,this._renderSeparator(),o.a.createElement("a",{ref:"IMGTwoLightbox",className:"".concat(t.classnames(p)," ").concat(i).concat(s).concat(l," ").concat(this.buttonBackgroundClassName()),href:c,target:r,rel:t.linkRel(e.button_two_rel),"data-icon":a},e.button_two_text)):""}},{key:"_renderSeparator",value:function(){var e=this.props;return e.separator_text?o.a.createElement("span",{className:"dsm-button-separator-text"},e.separator_text):""}},{key:"buttonBackgroundClassName",value:function(){var e=this.props,t=["et_pb_bg_layout_".concat(e.background_layout," ")],r=e.background_layout_last_edited,n=r&&r.startsWith("on");return e.background_layout_tablet&&n&&e.background_layout_tablet&&""!==e.background_layout_tablet&&t.push("et_pb_bg_layout_".concat(e.background_layout_tablet,"_tablet ")),e.background_layout_phone&&n&&e.background_layout_phone&&""!==e.background_layout_phone&&t.push("et_pb_bg_layout_".concat(e.background_layout_phone,"_phone ")),t.join(" ")}},{key:"buttonAlignmentClassName",value:function(){var e=this.props,t=["et_pb_button_alignment_".concat(e.button_alignment," ")],r=e.button_alignment_last_edited,n=r&&r.startsWith("on");return e.button_alignment_tablet&&n&&e.button_alignment_tablet&&""!==e.button_alignment_tablet&&t.push("et_pb_button_alignment_tablet_".concat(e.button_alignment_tablet," ")),e.button_alignment_phone&&n&&e.button_alignment_phone&&""!==e.button_alignment_phone&&t.push("et_pb_button_alignment_phone_".concat(e.button_alignment_phone," ")),e.separator_text&&t.push("dsm-button-seperator "),t.join(" ")}},{key:"render",value:function(){var e=this,t=this.props;return o.a.createElement("div",{ref:function(t){e.popupvideoLink=t},className:"".concat(this.buttonAlignmentClassName()).concat(this.buttonBackgroundClassName(),"et_pb_button_module_wrapper").concat(t.separator_text&&"on"===t.remove_separator_text_on_mobile?" dsm-button-separator-remove":"").concat(t.separator_text&&"on"===t.fullwidth_separator_text_on_mobile?" dsm-button-separator-fullwidth":"")},this._renderButton(),this._renderButtonTwo())}}])&&h(r.prototype,i),l&&h(r,l),t}();Object.defineProperty(d,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_button"}),t.a=d},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(96);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,c=[{key:"css",value:function(e){var t=[];return"center"!==e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-facebook-feed",declaration:"text-align: ".concat(e.fb_alignment,";")}]),t}}],(i=[{key:"shouldComponentUpdate",value:function(e,t){return e.fb_page_url!==this.props.fb_page_url||e.fb_tabs!==this.props.fb_tabs||e.fb_small_header!==this.props.fb_small_header||e.fb_hide_cover!==this.props.fb_hide_cover||e.fb_width!==this.props.fb_width||e.fb_height!==this.props.fb_height||e.fb_show_facepile!==this.props.fb_show_facepile}},{key:"render",value:function(){var e,t=this.props,r=""===t.fb_app_id?"252971358753113":"".concat(t.fb_app_id),i=t.fb_tabs.split("|"),s=["on"===i[0]?"timeline":"","on"===i[1]?"events":"","on"===i[2]?"messages":""];return e="undefined"!==typeof s[0]&&null!==s[0]?s.filter(Boolean):"",o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm-facebook-feed et_pb_text_align_".concat(t.fb_alignment)},o.a.createElement(a.FacebookProvider,{appId:r},o.a.createElement(a.Page,{href:t.fb_page_url,tabs:e,width:parseInt(t.fb_width,10),height:parseInt(t.fb_height,10),smallHeader:t.fb_small_header,adaptContainerWidth:"true",hideCover:t.fb_hide_cover,showFacepile:t.fb_show_facepile,hideCTA:"true"}))))}}])&&s(r.prototype,i),c&&s(r,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_facebook_feed"}),t.a=c},function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,a=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(157),o)n.regeneratorRuntime=a;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t,r){(function(e){function t(e){return(t="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})(e)}!function(r){"use strict";var n,o=Object.prototype,a=o.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",p="object"===t(e),h=r.regeneratorRuntime;if(h)p&&(e.exports=h);else{(h=r.regeneratorRuntime=p?e.exports:{}).wrap=w;var u="suspendedStart",d="suspendedYield",f="executing",m="completed",_={},y={};y[s]=function(){return this};var b=Object.getPrototypeOf,g=b&&b(b(O([])));g&&g!==o&&a.call(g,s)&&(y=g);var v=k.prototype=E.prototype=Object.create(y);S.prototype=v.constructor=k,k.constructor=S,k[c]=S.displayName="GeneratorFunction",h.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},h.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(v),e},h.awrap=function(e){return{__await:e}},P(C.prototype),C.prototype[l]=function(){return this},h.AsyncIterator=C,h.async=function(e,t,r,n){var o=new C(w(e,t,r,n));return h.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},P(v),v[c]="Generator",v[s]=function(){return this},v.toString=function(){return"[object Generator]"},h.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},h.values=O,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,o){return s.type="throw",s.arg=e,t.next=r,o&&(t.method="next",t.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;M(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:O(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),_}}}function w(e,t,r,n){var o=t&&t.prototype instanceof E?t:E,a=Object.create(o.prototype),i=new D(n||[]);return a._invoke=function(e,t,r){var n=u;return function(o,a){if(n===f)throw new Error("Generator is already running");if(n===m){if("throw"===o)throw a;return F()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=T(i,r);if(s){if(s===_)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var l=x(e,t,r);if("normal"===l.type){if(n=r.done?m:d,l.arg===_)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=m,r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function x(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function E(){}function S(){}function k(){}function P(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var r;this._invoke=function(n,o){function i(){return new Promise(function(r,i){!function r(n,o,i,s){var l=x(e[n],e,o);if("throw"!==l.type){var c=l.arg,p=c.value;return p&&"object"===t(p)&&a.call(p,"__await")?Promise.resolve(p.__await).then(function(e){r("next",e,i,s)},function(e){r("throw",e,i,s)}):Promise.resolve(p).then(function(e){c.value=e,i(c)},s)}s(l.arg)}(n,o,r,i)})}return r=r?r.then(i,i):i()}}function T(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,T(e,t),"throw"===t.method))return _;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var o=x(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,_;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,_):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function O(e){if(e){var t=e[s];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(a.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:F}}function F(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())}).call(t,r(23)(e))},function(e,t,r){e.exports={default:r(159),__esModule:!0}},function(e,t,r){r(98),r(99),r(107),r(169),r(181),r(182),e.exports=r(7).Promise},function(e,t,r){var n=r(59),o=r(60);e.exports=function(e){return function(t,r){var a,i,s=String(o(t)),l=n(r),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):a:e?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}}},function(e,t,r){"use strict";var n=r(63),o=r(37),a=r(40),i={};r(19)(i,r(6)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(i,{next:o(1,r)}),a(e,t+" Iterator")}},function(e,t,r){var n=r(20),o=r(12),a=r(38);e.exports=r(15)?Object.defineProperties:function(e,t){o(e);for(var r,i=a(t),s=i.length,l=0;s>l;)n.f(e,r=i[l++],t[r]);return e}},function(e,t,r){var n=r(24),o=r(105),a=r(164);e.exports=function(e){return function(t,r,i){var s,l=n(t),c=o(l.length),p=a(i,c);if(e&&r!=r){for(;c>p;)if((s=l[p++])!=s)return!0}else for(;c>p;p++)if((e||p in l)&&l[p]===r)return e||p||0;return!e&&-1}}},function(e,t,r){var n=r(59),o=Math.max,a=Math.min;e.exports=function(e,t){return(e=n(e))<0?o(e+t,0):a(e,t)}},function(e,t,r){var n=r(21),o=r(67),a=r(64)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,r){"use strict";var n=r(167),o=r(168),a=r(33),i=r(24);e.exports=r(100)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),a.Arguments=a.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n,o,a,i,s=r(30),l=r(5),c=r(31),p=r(108),h=r(13),u=r(14),d=r(36),f=r(170),m=r(171),_=r(109),y=r(110).set,b=r(176)(),g=r(68),v=r(111),w=r(177),x=r(112),E=l.TypeError,S=l.process,k=S&&S.versions,P=k&&k.v8||"",C=l.Promise,T="process"==p(S),A=function(){},M=o=g.f,D=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[r(6)("species")]=function(e){e(A,A)};return(T||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!u(e)||"function"!=typeof(t=e.then))&&t},F=function(e,t){if(!e._n){e._n=!0;var r=e._c;b(function(){for(var n=e._v,o=1==e._s,a=0,i=function(t){var r,a,i,s=o?t.ok:t.fail,l=t.resolve,c=t.reject,p=t.domain;try{s?(o||(2==e._h&&z(e),e._h=1),!0===s?r=n:(p&&p.enter(),r=s(n),p&&(p.exit(),i=!0)),r===t.promise?c(E("Promise-chain cycle")):(a=O(r))?a.call(r,l,c):l(r)):c(n)}catch(e){p&&!i&&p.exit(),c(e)}};r.length>a;)i(r[a++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){y.call(l,function(){var t,r,n,o=e._v,a=j(e);if(a&&(t=v(function(){T?S.emit("unhandledRejection",o,e):(r=l.onunhandledrejection)?r({promise:e,reason:o}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=T||j(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},z=function(e){y.call(l,function(){var t;T?S.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),F(t,!0))},B=function e(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(r=O(t))?b(function(){var o={_w:n,_d:!1};try{r.call(t,c(e,o,1),c(R,o,1))}catch(e){R.call(o,e)}}):(n._v=t,n._s=1,F(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};D||(C=function(e){f(this,C,"Promise","_h"),d(e),n.call(this);try{e(c(B,this,1),c(R,this,1))}catch(e){R.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(178)(C.prototype,{then:function(e,t){var r=M(_(this,C));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=T?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&F(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n;this.promise=e,this.resolve=c(B,e,1),this.reject=c(R,e,1)},g.f=M=function(e){return e===C||e===i?new a(e):o(e)}),h(h.G+h.W+h.F*!D,{Promise:C}),r(40)(C,"Promise"),r(179)("Promise"),i=r(7).Promise,h(h.S+h.F*!D,"Promise",{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),h(h.S+h.F*(s||!D),"Promise",{resolve:function(e){return x(s&&this===i?C:this,e)}}),h(h.S+h.F*!(D&&r(180)(function(e){C.all(e).catch(A)})),"Promise",{all:function(e){var t=this,r=M(t),n=r.resolve,o=r.reject,a=v(function(){var r=[],a=0,i=1;m(e,!1,function(e){var s=a++,l=!1;r.push(void 0),i++,t.resolve(e).then(function(e){l||(l=!0,r[s]=e,--i||n(r))},o)}),--i||n(r)});return a.e&&o(a.v),r.promise},race:function(e){var t=this,r=M(t),n=r.reject,o=v(function(){m(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(31),o=r(172),a=r(173),i=r(12),s=r(105),l=r(174),c={},p={};(t=e.exports=function(e,t,r,h,u){var d,f,m,_,y=u?function(){return e}:l(e),b=n(r,h,t?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(d=s(e.length);d>g;g++)if((_=t?b(i(f=e[g])[0],f[1]):b(e[g]))===c||_===p)return _}else for(m=y.call(e);!(f=m.next()).done;)if((_=o(m,b,f.value,t))===c||_===p)return _}).BREAK=c,t.RETURN=p},function(e,t,r){var n=r(12);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},function(e,t,r){var n=r(33),o=r(6)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[o]===e)}},function(e,t,r){var n=r(108),o=r(6)("iterator"),a=r(33);e.exports=r(7).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[n(e)]}},function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){var n=r(5),o=r(110).set,a=n.MutationObserver||n.WebKitMutationObserver,i=n.process,s=n.Promise,l="process"==r(34)(i);e.exports=function(){var e,t,r,c=function(){var n,o;for(l&&(n=i.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(l)r=function(){i.nextTick(c)};else if(!a||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var p=s.resolve(void 0);r=function(){p.then(c)}}else r=function(){o.call(n,c)};else{var h=!0,u=document.createTextNode("");new a(c).observe(u,{characterData:!0}),r=function(){u.data=h=!h}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},function(e,t,r){var n=r(5).navigator;e.exports=n&&n.userAgent||""},function(e,t,r){var n=r(19);e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}},function(e,t,r){"use strict";var n=r(5),o=r(7),a=r(20),i=r(15),s=r(6)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];i&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(6)("iterator"),o=!1;try{var a=[7][n]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var a=[7],i=a[n]();i.next=function(){return{done:r=!0}},a[n]=function(){return i},e(a)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(13),o=r(7),a=r(5),i=r(109),s=r(112);n(n.P+n.R,"Promise",{finally:function(e){var t=i(this,o.Promise||a.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(13),o=r(68),a=r(111);n(n.S,"Promise",{try:function(e){var t=o.f(this),r=a(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){e.exports={default:r(184),__esModule:!0}},function(e,t,r){r(99),r(107),e.exports=r(69).f("iterator")},function(e,t,r){e.exports={default:r(186),__esModule:!0}},function(e,t,r){r(187),r(98),r(192),r(193),e.exports=r(7).Symbol},function(e,t,r){"use strict";function n(e){return(n="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})(e)}var o=r(5),a=r(21),i=r(15),s=r(13),l=r(102),c=r(188).KEY,p=r(32),h=r(65),u=r(40),d=r(39),f=r(6),m=r(69),_=r(70),y=r(189),b=r(190),g=r(12),v=r(14),w=r(67),x=r(24),E=r(62),S=r(37),k=r(63),P=r(191),C=r(115),T=r(71),A=r(20),M=r(38),D=C.f,O=A.f,F=P.f,I=o.Symbol,j=o.JSON,z=j&&j.stringify,R=f("_hidden"),B=f("toPrimitive"),L={}.propertyIsEnumerable,N=h("symbol-registry"),V=h("symbols"),q=h("op-symbols"),G=Object.prototype,H="function"==typeof I&&!!T.f,W=o.QObject,U=!W||!W.prototype||!W.prototype.findChild,Y=i&&p(function(){return 7!=k(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=D(G,t);n&&delete G[t],O(e,t,r),n&&e!==G&&O(G,t,n)}:O,X=function(e){var t=V[e]=k(I.prototype);return t._k=e,t},$=H&&"symbol"==n(I.iterator)?function(e){return"symbol"==n(e)}:function(e){return e instanceof I},K=function(e,t,r){return e===G&&K(q,t,r),g(e),t=E(t,!0),g(r),a(V,t)?(r.enumerable?(a(e,R)&&e[R][t]&&(e[R][t]=!1),r=k(r,{enumerable:S(0,!1)})):(a(e,R)||O(e,R,S(1,{})),e[R][t]=!0),Y(e,t,r)):O(e,t,r)},J=function(e,t){g(e);for(var r,n=y(t=x(t)),o=0,a=n.length;a>o;)K(e,r=n[o++],t[r]);return e},Z=function(e){var t=L.call(this,e=E(e,!0));return!(this===G&&a(V,e)&&!a(q,e))&&(!(t||!a(this,e)||!a(V,e)||a(this,R)&&this[R][e])||t)},Q=function(e,t){if(e=x(e),t=E(t,!0),e!==G||!a(V,t)||a(q,t)){var r=D(e,t);return!r||!a(V,t)||a(e,R)&&e[R][t]||(r.enumerable=!0),r}},ee=function(e){for(var t,r=F(x(e)),n=[],o=0;r.length>o;)a(V,t=r[o++])||t==R||t==c||n.push(t);return n},te=function(e){for(var t,r=e===G,n=F(r?q:x(e)),o=[],i=0;n.length>i;)!a(V,t=n[i++])||r&&!a(G,t)||o.push(V[t]);return o};H||(l((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0);return i&&U&&Y(G,e,{configurable:!0,set:function t(r){this===G&&t.call(q,r),a(this,R)&&a(this[R],e)&&(this[R][e]=!1),Y(this,e,S(1,r))}}),X(e)}).prototype,"toString",function(){return this._k}),C.f=Q,A.f=K,r(114).f=P.f=ee,r(41).f=Z,T.f=te,i&&!r(30)&&l(G,"propertyIsEnumerable",Z,!0),m.f=function(e){return X(f(e))}),s(s.G+s.W+s.F*!H,{Symbol:I});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;re.length>ne;)f(re[ne++]);for(var oe=M(f.store),ae=0;oe.length>ae;)_(oe[ae++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return a(N,e+="")?N[e]:N[e]=I(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),s(s.S+s.F*!H,"Object",{create:function(e,t){return void 0===t?k(e):J(k(e),t)},defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ie=p(function(){T.f(1)});s(s.S+s.F*ie,"Object",{getOwnPropertySymbols:function(e){return T.f(w(e))}}),j&&s(s.S+s.F*(!H||p(function(){var e=I();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(v(t)||void 0!==e)&&!$(e))return b(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!$(t))return t}),n[1]=t,z.apply(j,n)}}),I.prototype[B]||r(19)(I.prototype,B,I.prototype.valueOf),u(I,"Symbol"),u(Math,"Math",!0),u(o.JSON,"JSON",!0)},function(e,t,r){function n(e){return(n="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})(e)}var o=r(39)("meta"),a=r(14),i=r(21),s=r(20).f,l=0,c=Object.isExtensible||function(){return!0},p=!r(32)(function(){return c(Object.preventExtensions({}))}),h=function(e){s(e,o,{value:{i:"O"+ ++l,w:{}}})},u=e.exports={KEY:o,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==n(e)?e:("string"==typeof e?"S":"P")+e;if(!i(e,o)){if(!c(e))return"F";if(!t)return"E";h(e)}return e[o].i},getWeak:function(e,t){if(!i(e,o)){if(!c(e))return!0;if(!t)return!1;h(e)}return e[o].w},onFreeze:function(e){return p&&u.NEED&&c(e)&&!i(e,o)&&h(e),e}}},function(e,t,r){var n=r(38),o=r(71),a=r(41);e.exports=function(e){var t=n(e),r=o.f;if(r)for(var i,s=r(e),l=a.f,c=0;s.length>c;)l.call(e,i=s[c++])&&t.push(i);return t}},function(e,t,r){var n=r(34);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){function n(e){return(n="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})(e)}var o=r(24),a=r(114).f,i={}.toString,s="object"==("undefined"===typeof window?"undefined":n(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return s.slice()}}(e):a(o(e))}},function(e,t,r){r(70)("asyncIterator")},function(e,t,r){r(70)("observable")},function(e,t,r){e.exports={default:r(195),__esModule:!0}},function(e,t,r){r(196),e.exports=r(7).Object.setPrototypeOf},function(e,t,r){var n=r(13);n(n.S,"Object",{setPrototypeOf:r(197).set})},function(e,t,r){var n=r(14),o=r(12),a=function(e,t){if(o(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(31)(Function.call,r(115).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return a(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:a}},function(e,t,r){e.exports={default:r(199),__esModule:!0}},function(e,t,r){r(200);var n=r(7).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(13);n(n.S,"Object",{create:r(63)})},function(e,t,r){"use strict";t.__esModule=!0,t.default=t.Method=void 0;var n=l(r(9)),o=l(r(10)),a=l(r(4)),i=l(r(1)),s=l(r(72));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Method={GET:"get",POST:"post",DELETE:"delete"},p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,i.default)(this,e),this.options=(0,a.default)({domain:"connect.facebook.net",version:"v3.1",cookie:!1,status:!1,xfbml:!1,language:"en_US",frictionlessRequests:!1},t),!this.options.appId)throw new Error("You need to set appId");this.options.wait||this.init()}return e.prototype.getAppId=function(){return this.options.appId},e.prototype.init=function(){var e=(0,o.default)(n.default.mark(function e(){var t=this;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.loadingPromise){e.next=2;break}return e.abrupt("return",this.loadingPromise);case 2:return this.loadingPromise=new Promise(function(e){var r=t.options;window.fbAsyncInit=function(){window.FB.init({appId:r.appId,version:r.version,cookie:r.cookie,status:r.status,xfbml:r.xfbml,frictionlessRequests:t.frictionlessRequests}),e(window.FB)};var n=window.document.getElementsByTagName("script")[0];if(n&&!window.document.getElementById("facebook-jssdk")){var o=window.document.createElement("script");o.id="facebook-jssdk",o.async=!0,o.src="https://"+r.domain+"/"+r.language+"/sdk.js",n.parentNode.insertBefore(o,n)}}),e.abrupt("return",this.loadingPromise);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.process=function(){var e=(0,o.default)(n.default.mark(function e(t){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:return r=e.sent,e.abrupt("return",new Promise(function(e,n){r[t].apply(r,o.concat([function(t){if(t)if(t.error){var r=t.error,o=r.code,a=r.type,i=r.message,s=new Error(i);s.code=o,s.type=a,n(s)}else e(t);else n(new Error("Response is undefined"))}],a))}));case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.ui=function(){var e=(0,o.default)(n.default.mark(function e(t){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("ui",[t]));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.api=function(){var e=(0,o.default)(n.default.mark(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.GET,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("api",[t,r,o]));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.login=function(){var e=(0,o.default)(n.default.mark(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("login",[],[t]));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.logout=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("logout"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getLoginStatus=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("getLoginStatus"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getAuthResponse=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("getAuthResponse"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getTokenDetail=function(){var e=(0,o.default)(n.default.mark(function e(){var t;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getLoginStatus();case 2:if((t=e.sent).status!==s.default.CONNECTED||!t.authResponse){e.next=5;break}return e.abrupt("return",t.authResponse);case 5:throw new Error("Token is undefined");case 6:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getProfile=function(){var e=(0,o.default)(n.default.mark(function e(t){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.api("/me",c.GET,t));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.getTokenDetailWithProfile=function(){var e=(0,o.default)(n.default.mark(function e(t){var r,o;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getTokenDetail();case 2:return r=e.sent,e.next=5,this.getProfile(t);case 5:return o=e.sent,e.abrupt("return",{profile:o,tokenDetail:r});case 7:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.getToken=function(){var e=(0,o.default)(n.default.mark(function e(){var t;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getTokenDetail();case 2:return t=e.sent,e.abrupt("return",t.accessToken);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getUserId=function(){var e=(0,o.default)(n.default.mark(function e(){var t;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getTokenDetail();case 2:return t=e.sent,e.abrupt("return",t.userID);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.sendInvite=function(){var e=(0,o.default)(n.default.mark(function e(t,r){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.ui((0,a.default)({to:t,method:"apprequests"},r)));case 1:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),e.prototype.postAction=function(){var e=(0,o.default)(n.default.mark(function e(t,r,o,a,i){var s;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s="/me/"+t+":"+r+"?"+o+"="+encodeURIComponent(a),!0===i&&(s+="&no_feed_story=true"),e.abrupt("return",this.api(s,c.POST));case 3:case"end":return e.stop()}},e,this)}));return function(t,r,n,o,a){return e.apply(this,arguments)}}(),e.prototype.getPermissions=function(){var e=(0,o.default)(n.default.mark(function e(){var t;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.api("/me/permissions");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.hasPermissions=function(){var e=(0,o.default)(n.default.mark(function e(t){var r,o;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getPermissions();case 2:return r=e.sent,o=t.filter(function(e){return!!r.find(function(t){var r=t.permission;return"granted"===t.status&&r===e})}),e.abrupt("return",o.length===t.length);case 5:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.subscribe=function(){var e=(0,o.default)(n.default.mark(function e(t,r){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:e.sent.Event.subscribe(t,r);case 4:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),e.prototype.unsubscribe=function(){var e=(0,o.default)(n.default.mark(function e(t,r){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:e.sent.Event.unsubscribe(t,r);case 4:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),e.prototype.parse=function(){var e=(0,o.default)(n.default.mark(function e(t){var r;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:r=e.sent,"undefined"===typeof t?r.XFBML.parse():r.XFBML.parse(t);case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.getRequests=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.api("/me/apprequests"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.removeRequest=function(){var e=(0,o.default)(n.default.mark(function e(t){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.api(t,c.DELETE));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.setAutoGrow=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:e.sent.Canvas.setAutoGrow();case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.paySimple=function(){var e=(0,o.default)(n.default.mark(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.ui({method:"pay",action:"purchaseitem",product:t,quantity:r}));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.pay=function(){var e=(0,o.default)(n.default.mark(function e(t,r){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.ui((0,a.default)({method:"pay",action:"purchaseitem",product:t},r)));case 1:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),e}();t.default=p},function(e,t,r){e.exports={default:r(203),__esModule:!0}},function(e,t,r){r(204),e.exports=r(7).Object.assign},function(e,t,r){var n=r(13);n(n.S+n.F,"Object",{assign:r(205)})},function(e,t,r){"use strict";var n=r(15),o=r(38),a=r(71),i=r(41),s=r(67),l=r(104),c=Object.assign;e.exports=!c||r(32)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=n})?function(e,t){for(var r=s(e),c=arguments.length,p=1,h=a.f,u=i.f;c>p;)for(var d,f=l(arguments[p++]),m=h?o(f).concat(h(f)):o(f),_=m.length,y=0;_>y;)d=m[y++],n&&!u.call(f,d)||(r[d]=f[d]);return r}:c},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.href,r=void 0===t?(0,u.default)():t,n=e.layout,o=e.colorScheme,a=e.action,i=e.showFaces,s=e.share,l=e.children,c=e.width,h=e.size,d=e.kidDirectedSite,f=e.referral;return p.default.createElement("div",{className:"fb-like","data-ref":f,"data-href":r,"data-layout":n,"data-colorscheme":o,"data-action":a,"data-show-faces":i,"data-share":s,"data-width":c,"data-size":h,"data-kid-directed-site":d},l)},t}(c.PureComponent),n.defaultProps={layout:void 0,showFaces:void 0,colorScheme:void 0,action:void 0,share:void 0,size:void 0,kidDirectedSite:void 0,children:void 0,href:void 0,referral:void 0,width:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=_(r(4)),i=_(r(9)),s=_(r(10)),l=_(r(1)),c=_(r(2)),p=_(r(3)),h=r(0),u=_(h),d=_(r(16)),f=_(r(73)),m=_(r(42));function _(e){return e&&e.__esModule?e:{default:e}}var y=(o=n=function(e){function t(){var r,n,o,a,p=this;(0,l.default)(this,t);for(var h=arguments.length,u=Array(h),m=0;m<h;m++)u[m]=arguments[m];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(u))),n.handleClick=(a=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=n.props.handleProcess,e.abrupt("return",r(function(){var e=(0,s.default)(i.default.mark(function e(t){var r,o,a,s,l,c,h,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,o=r.link,a=void 0===o?(0,d.default)():o,s=r.display,l=r.appId,c=void 0===l?t.getAppId():l,h=r.to,u=r.redirectURI,e.abrupt("return",t.ui((0,f.default)({method:"send",link:a,display:s,app_id:c,to:h,redirect_uri:u})));case 2:case"end":return e.stop()}},e,p)}));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return e.stop()}},e,p)})),function(e){return a.apply(this,arguments)}),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props;return(0,e.children)({loading:e.loading,handleClick:this.handleClick})},t}(h.Component),n.defaultProps={to:void 0,display:void 0,appId:void 0,redirectURI:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(m.default,null,function(r){var n=r.loading,o=r.handleProcess;return u.default.createElement(y,(0,a.default)({},e,{loading:n,handleProcess:o,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n=s(r(4)),o=s(r(118));t.default=l;var a=s(r(0)),i=s(r(117));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.className,r=e.children,n=(0,o.default)(e,["className","children"]);return a.default.createElement(i.default,n,function(e){var n=e.loading,o=e.handleClick;return a.default.createElement("button",{type:"button",disabled:n,className:t,onClick:o},r)})}l.defaultProps=(0,n.default)({},i.default.defaultProps,{className:void 0})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.style,r=e.href,n=void 0===r?(0,u.default)():r,o=e.tabs,a=e.hideCover,i=e.width,s=e.height,l=e.showFacepile,c=e.hideCTA,h=e.smallHeader,d=e.adaptContainerWidth,f=e.children;return p.default.createElement("div",{className:"fb-page",style:t,"data-tabs":o,"data-hide-cover":a,"data-show-facepile":l,"data-hide-cta":c,"data-href":n,"data-small-header":h,"data-adapt-container-width":d,"data-height":s,"data-width":i},f)},t}(c.PureComponent),n.defaultProps={width:void 0,height:void 0,tabs:void 0,hideCover:void 0,showFacepile:void 0,hideCTA:void 0,smallHeader:void 0,adaptContainerWidth:void 0,children:void 0,style:void 0,href:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n=l(r(4)),o=l(r(118));t.default=c;var a=l(r(0)),i=l(r(211)),s=l(r(119));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=e.children,r=e.className,n=e.spinner,l=e.spinnerConfig,c=(0,o.default)(e,["children","className","spinner","spinnerConfig"]);return a.default.createElement(s.default,c,function(e){var o=e.loading,s=e.handleClick;return a.default.createElement("button",{type:"button",className:r,onClick:s,disabled:o},t,n&&o&&a.default.createElement(i.default,{config:l}))})}c.defaultProps=(0,n.default)({},s.default.defaultProps,{className:void 0,spinnerConfig:{},spinner:!0})},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),i=c(a),s=c(r(17)),l=c(r(214));function c(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),o(t,[{key:"componentDidMount",value:function(){this.updateSpinner()}},{key:"componentDidUpdate",value:function(){this.updateSpinner()}},{key:"componentWillUnmount",value:function(){this.spinner&&(this.spinner.stop(),this.spinner=null)}},{key:"updateSpinner",value:function(){var e=this.props.loaded;e||this.spinner?e&&this.spinner&&(this.spinner.stop(),this.spinner=null):(this.spinner=new l.default(this.props.config),this.spinner.spin(this.refs.loader))}},{key:"render",value:function(){var e=this.props,t=e.loaded,r=e.className;return t?this.props.children?a.Children.only(this.props.children):null:i.default.createElement("div",{className:r,ref:"loader"})}}]),t}();p.propTypes={className:s.default.string,config:s.default.object.isRequired,loaded:s.default.bool.isRequired,children:s.default.node},p.defaultProps={config:{},loaded:!1,className:"loader"},t.default=p},function(e,t,r){"use strict";var n=r(213);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){(function(e){var n,o,a;function i(e){return(i="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})(e)}a=function(){"use strict";var e,t,r=["webkit","Moz","ms","O"],n={};function o(e,t){var r,n=document.createElement(e||"div");for(r in t)n[r]=t[r];return n}function a(e){for(var t=1,r=arguments.length;t<r;t++)e.appendChild(arguments[t]);return e}function i(r,o,a,i){var s=["opacity",o,~~(100*r),a,i].join("-"),l=.01+a/i*100,c=Math.max(1-(1-r)/o*(100-l),r),p=e.substring(0,e.indexOf("Animation")).toLowerCase(),h=p&&"-"+p+"-"||"";return n[s]||(t.insertRule("@"+h+"keyframes "+s+"{0%{opacity:"+c+"}"+l+"%{opacity:"+r+"}"+(l+.01)+"%{opacity:1}"+(l+o)%100+"%{opacity:"+r+"}100%{opacity:"+c+"}}",t.cssRules.length),n[s]=1),s}function s(e,t){var n,o,a=e.style;if(void 0!==a[t=t.charAt(0).toUpperCase()+t.slice(1)])return t;for(o=0;o<r.length;o++)if(void 0!==a[n=r[o]+t])return n}function l(e,t){for(var r in t)e.style[s(e,r)||r]=t[r];return e}function c(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)void 0===e[n]&&(e[n]=r[n])}return e}function p(e,t){return"string"==typeof e?e:e[t%e.length]}var h,u={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",opacity:.25,rotate:0,direction:1,speed:1,trail:100,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:!1,hwaccel:!1,position:"absolute"};function d(e){this.opts=c(e||{},d.defaults,u)}if(d.defaults={},c(d.prototype,{spin:function(t){this.stop();var r=this,n=r.opts,a=r.el=o(null,{className:n.className});if(l(a,{position:n.position,width:0,zIndex:n.zIndex,left:n.left,top:n.top}),t&&t.insertBefore(a,t.firstChild||null),a.setAttribute("role","progressbar"),r.lines(a,r.opts),!e){var i,s=0,c=(n.lines-1)*(1-n.direction)/2,p=n.fps,h=p/n.speed,u=(1-n.opacity)/(h*n.trail/100),d=h/n.lines;!function e(){s++;for(var t=0;t<n.lines;t++)i=Math.max(1-(s+(n.lines-t)*d)%h*u,n.opacity),r.opacity(a,t*n.direction+c,i,n);r.timeout=r.el&&setTimeout(e,~~(1e3/p))}()}return r},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=void 0),this},lines:function(t,r){var n,s=0,c=(r.lines-1)*(1-r.direction)/2;function h(e,t){return l(o(),{position:"absolute",width:r.scale*(r.length+r.width)+"px",height:r.scale*r.width+"px",background:e,boxShadow:t,transformOrigin:"left",transform:"rotate("+~~(360/r.lines*s+r.rotate)+"deg) translate("+r.scale*r.radius+"px,0)",borderRadius:(r.corners*r.scale*r.width>>1)+"px"})}for(;s<r.lines;s++)n=l(o(),{position:"absolute",top:1+~(r.scale*r.width/2)+"px",transform:r.hwaccel?"translate3d(0,0,0)":"",opacity:r.opacity,animation:e&&i(r.opacity,r.trail,c+s*r.direction,r.lines)+" "+1/r.speed+"s linear infinite"}),r.shadow&&a(n,l(h("#000","0 0 4px #000"),{top:"2px"})),a(t,a(n,h(p(r.color,s),"0 0 1px rgba(0,0,0,.1)")));return t},opacity:function(e,t,r){t<e.childNodes.length&&(e.childNodes[t].style.opacity=r)}}),"undefined"!==typeof document){h=o("style",{type:"text/css"}),a(document.getElementsByTagName("head")[0],h),t=h.sheet||h.styleSheet;var f=l(o("group"),{behavior:"url(#default#VML)"});!s(f,"transform")&&f.adj?function(){function e(e,t){return o("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',t)}t.addRule(".spin-vml","behavior:url(#default#VML)"),d.prototype.lines=function(t,r){var n=r.scale*(r.length+r.width),o=2*r.scale*n;function i(){return l(e("group",{coordsize:o+" "+o,coordorigin:-n+" "+-n}),{width:o,height:o})}var s,c=-(r.width+r.length)*r.scale*2+"px",h=l(i(),{position:"absolute",top:c,left:c});function u(t,o,s){a(h,a(l(i(),{rotation:360/r.lines*t+"deg",left:~~o}),a(l(e("roundrect",{arcsize:r.corners}),{width:n,height:r.scale*r.width,left:r.scale*r.radius,top:-r.scale*r.width>>1,filter:s}),e("fill",{color:p(r.color,t),opacity:r.opacity}),e("stroke",{opacity:0}))))}if(r.shadow)for(s=1;s<=r.lines;s++)u(s,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(s=1;s<=r.lines;s++)u(s);return a(t,h)},d.prototype.opacity=function(e,t,r,n){var o=e.firstChild;n=n.shadow&&n.lines||0,o&&t+n<o.childNodes.length&&(o=(o=(o=o.childNodes[t+n])&&o.firstChild)&&o.firstChild)&&(o.opacity=r)}}():e=s(f,"animation")}return d},"object"==i(e)&&e.exports?e.exports=a():void 0===(o="function"===typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=o)}).call(t,r(23)(e))},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.href,r=e.width,n=e.showText,o=e.children;return p.default.createElement("div",{className:"fb-post","data-href":t,"data-width":r,"data-show-text":n},o)},t}(c.PureComponent),n.defaultProps={width:void 0,showText:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.href,r=e.width,n=e.showText,o=e.allowFullScreen,a=e.autoPlay,i=e.showCaptions,s=e.children;return p.default.createElement("div",{className:"fb-video","data-href":t,"data-width":r,"data-show-text":n,"data-show-captions":i,"data-autoplay":a,"data-allowfullscreen":o},s)},t}(c.PureComponent),n.defaultProps={width:void 0,showText:void 0,allowFullScreen:void 0,autoPlay:void 0,showCaptions:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.colorScheme,r=e.href,n=void 0===r?(0,u.default)():r,o=e.numPosts,a=e.orderBy,i=e.width,s=e.children,l=e.mobile;return p.default.createElement("div",{className:"fb-comments","data-colorscheme":t,"data-numposts":o,"data-href":n,"data-order-by":a,"data-width":i,"data-skin":t,"data-mobile":l},s)},t}(c.PureComponent),n.defaultProps={href:void 0,numPosts:void 0,orderBy:void 0,width:void 0,colorScheme:void 0,children:void 0,mobile:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.href,r=void 0===t?(0,u.default)():t,n=e.children;return p.default.createElement("span",{className:"fb-comments-count","data-href":r},n)},t}(c.PureComponent),n.defaultProps={href:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=_(r(4)),i=_(r(9)),s=_(r(10)),l=_(r(1)),c=_(r(2)),p=_(r(3)),h=r(0),u=_(h),d=_(r(16)),f=_(r(73)),m=_(r(42));function _(e){return e&&e.__esModule?e:{default:e}}var y=(o=n=function(e){function t(){var r,n,o,a,p=this;(0,l.default)(this,t);for(var h=arguments.length,u=Array(h),m=0;m<h;m++)u[m]=arguments[m];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(u))),n.handleClick=(a=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=n.props.handleProcess,e.abrupt("return",r(function(){var e=(0,s.default)(i.default.mark(function e(t){var r,o,a,s,l,c,h,u,m,_,y,b,g,v,w;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,o=r.link,a=void 0===o?(0,d.default)():o,s=r.display,l=r.appId,c=void 0===l?t.getAppId():l,h=r.redirectURI,u=r.from,m=r.to,_=r.picture,y=r.source,b=r.name,g=r.caption,v=r.description,w=r.dataRef,e.abrupt("return",t.ui((0,f.default)({method:"feed",link:a,display:s,app_id:c,redirect_uri:h,from:u,to:m,picture:_,source:y,name:b,caption:g,description:v,ref:w})));case 2:case"end":return e.stop()}},e,p)}));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return e.stop()}},e,p)})),function(e){return a.apply(this,arguments)}),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,r=e.loading,n=e.error,o=e.data;return t({loading:r,handleClick:this.handleClick,error:n,data:o})},t}(h.Component),n.defaultProps={link:void 0,display:void 0,appId:void 0,redirectURI:void 0,from:void 0,to:void 0,source:void 0,picture:void 0,name:void 0,caption:void 0,description:void 0,dataRef:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(m.default,null,function(r){var n=r.loading,o=r.handleProcess,i=r.error,s=r.data;return u.default.createElement(y,(0,a.default)({},e,{loading:n,handleProcess:o,data:s,error:i,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.style,r=e.href,n=void 0===r?(0,u.default)():r,o=e.width,a=e.showSocialContext,i=e.showMetaData,s=e.children,l=e.skin;return p.default.createElement("div",{className:"fb-group",style:t,"data-href":n,"data-width":o,"data-show-social-context":a,"data-show-metadata":i,"data-skin":l},s)},t}(c.PureComponent),n.defaultProps={showSocialContext:void 0,showMetaData:void 0,width:void 0,children:void 0,style:void 0,href:void 0,skin:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=f(r(1)),a=f(r(2)),i=f(r(3)),s=f(r(9)),l=f(r(10)),c=(n=(0,l.default)(s.default.mark(function e(t){var r;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getLoginStatus();case 2:return r=e.sent,e.abrupt("return",r.status);case 4:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)}),p=r(0),h=f(p),u=f(r(25)),d=f(r(75));function f(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(){var r,n,i,p,h=this;(0,o.default)(this,t);for(var u=arguments.length,d=Array(u),f=0;f<u;f++)d[f]=arguments[f];return r=n=(0,a.default)(this,e.call.apply(e,[this].concat(d))),n.state={loading:!0},n.handleReady=(p=(0,l.default)(s.default.mark(function e(t){return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=n,e.next=3,c(t);case 3:e.t1=e.sent,e.t2={status:e.t1,loading:!1},e.t0.setState.call(e.t0,e.t2);case 6:case"end":return e.stop()}},e,h)})),function(e){return p.apply(this,arguments)}),n.handleStatusChange=function(e){n.setState({status:e.status,loading:!1})},i=r,(0,a.default)(n,i)}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props.children,t=this.state,r=t.status,n=t.loading;return h.default.createElement(u.default,{onReady:this.handleReady},h.default.createElement(d.default,{event:"auth.statusChange",onChange:this.handleStatusChange},e({status:r,loading:n})))},t}(p.Component);t.default=m},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o,a=_(r(9)),i=_(r(10)),s=_(r(1)),l=_(r(2)),c=_(r(3)),p=r(0),h=_(p),u=_(r(25)),d=_(r(75)),f=_(r(74)),m=_(r(72));function _(e){return e&&e.__esModule?e:{default:e}}var y=(o=n=function(e){function t(){var r,n,o,c,p=this;(0,s.default)(this,t);for(var h=arguments.length,u=Array(h),d=0;d<h;d++)u[d]=arguments[d];return r=n=(0,l.default)(this,e.call.apply(e,[this].concat(u))),n.state={loading:!0},n.handleReady=(c=(0,i.default)(a.default.mark(function e(t){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.api=t,n.updateProfile();case 2:case"end":return e.stop()}},e,p)})),function(e){return c.apply(this,arguments)}),n.handleStatusChange=function(){n.updateProfile()},o=r,(0,l.default)(n,o)}return(0,c.default)(t,e),t.prototype.updateProfile=function(){var e=(0,i.default)(a.default.mark(function e(){var t,r,n;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.api,r=this.props.fields,t){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,t.getLoginStatus();case 6:if(e.sent.status===m.default.CONNECTED){e.next=10;break}return this.setState({profile:void 0,loading:!1,error:void 0}),e.abrupt("return");case 10:return e.next=12,t.getProfile({fields:r});case 12:n=e.sent,this.setState({profile:n,loading:!1,error:void 0}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(3),this.setState({profile:void 0,loading:!1,error:e.t0});case 19:case"end":return e.stop()}},e,this,[[3,16]])}));return function(){return e.apply(this,arguments)}}(),t.prototype.render=function(){var e=this.props.children,t=this.state,r=t.profile,n=t.loading,o=t.error;return h.default.createElement(u.default,{onReady:this.handleReady},h.default.createElement(d.default,{event:"auth.statusChange",onChange:this.handleStatusChange},e({profile:r,loading:n,error:o})))},t}(p.Component),n.defaultProps={fields:f.default},o);t.default=y},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.minimized,r=e.children,n=e.pageId,o=e.themeColor,a=e.loggedInGreeting,i=e.loggedOutGreeting,s=e.dataRef;return p.default.createElement("div",{className:"fb-customerchat",page_id:n,minimized:t,theme_color:o,logged_in_greeting:a,logged_out_greeting:i,"data-ref":s},r)},t}(c.PureComponent),n.defaultProps={minimized:void 0,children:void 0,themeColor:void 0,loggedInGreeting:void 0,loggedOutGreeting:void 0,dataRef:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.color,r=e.messengerAppId,n=e.pageId,o=e.children,a=e.size;return p.default.createElement("div",{className:"fb-messengermessageus",messenger_app_id:r,page_id:n,color:t,size:a},o)},t}(c.PureComponent),n.defaultProps={color:void 0,size:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.origin,r=e.prechecked,n=e.allowLogin,o=e.userRef,a=e.messengerAppId,i=e.pageId,s=e.children,l=e.size,c=e.centerAlign,h=e.skin;return p.default.createElement("div",{className:"fb-messenger-checkbox",messenger_app_id:a,page_id:i,size:l,origin:t,user_ref:o,prechecked:r,allow_login:n,skin:h,center_align:c},s)},t}(c.PureComponent),n.defaultProps={size:void 0,allowLogin:void 0,prechecked:void 0,userRef:void 0,children:void 0,origin:void 0,skin:void 0,centerAlign:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.color,r=e.messengerAppId,n=e.pageId,o=e.children,a=e.dataRef,i=e.size;return p.default.createElement("div",{className:"fb-send-to-messenger",messenger_app_id:r,page_id:n,"data-color":t,"data-size":i,"data-ref":a},o)},t}(c.PureComponent),n.defaultProps={color:void 0,size:void 0,dataRef:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0,t.default={SMALL:"small",LARGE:"large"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={STANDARD:"standard",BUTTON_COUNT:"button_count",BUTTON:"button",BOX_COUNT:"box_count"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={LIGHT:"light",DARK:"dark"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={LIKE:"like",RECOMMEND:"recommend"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={SOCIAL:"social",REVERSE_TIME:"reverse_time",TIME:"time"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={SMALL:"small",MEDIUM:"medium",STANDARD:"standard",LARGE:"large",XLARGE:"xlarge"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={BLUE:"blue",WHITE:"white"}},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(96);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,c=[{key:"css",value:function(e){return[]}}],(i=[{key:"shouldComponentUpdate",value:function(e,t){return e.page_url!==this.props.page_url||e.num_posts!==this.props.num_posts||e.color_scheme!==this.props.color_scheme||e.order_by!==this.props.order_by}},{key:"render",value:function(){var e=this.props,t=""===e.fb_app_id?"252971358753113":"".concat(e.fb_app_id),r=""===e.page_url?"https://www.facebook.com/divisupreme/":"".concat(e.page_url);return o.a.createElement("div",{className:"dsm-facebook-comments"},o.a.createElement(a.FacebookProvider,{appId:t},o.a.createElement(a.Comments,{href:r,numPosts:e.num_posts,colorScheme:e.color_scheme,orderBy:e.order_by,width:"100%"})))}}])&&s(r.prototype,i),c&&s(r,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_facebook_comments"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(18),i=r.n(a),s=r(76);r.n(s);function l(e){return(l="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})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,s=[{key:"css",value:function(e){var t=[];if("on"===e.show_validation&&t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-submit:hover:after",declaration:"margin-left: .3em !important;"}]),e.button_one_icon&&t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-submit:hover:after",declaration:"margin-left: .3em !important;"}]),e.input_background_color&&t.push([{selector:"%%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-text, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-tel, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-url, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-quiz, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-number, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-textarea, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-select, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-date",declaration:"background-color: ".concat(e.input_background_color,";")}]),"left"!==e.button_alignment&&t.push([{selector:"%%order_class%% .wpcf7-form p:nth-last-of-type(1)",declaration:"text-align: ".concat(e.button_alignment,";")}]),e.label_bottom_spacing&&t.push([{selector:"%%order_class%% label",declaration:"margin-bottom: ".concat(e.label_bottom_spacing,";")}]),e.file_background_color&&t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-file",declaration:"background-color: ".concat(e.file_background_color,";")}]),e.error_msg_background_color&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"background-color: ".concat(e.error_msg_background_color,";")}]),e.validation_error_background_color&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"background-color: ".concat(e.validation_error_background_color,";")}]),e.validation_success_background_color&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"background-color: ".concat(e.validation_success_background_color,";")}]),e.border_radii_error_msg){var r=e.border_radii_error_msg,n="",o="",a="",i="";n=""!==r.split("|")[1]?r.split("|")[1]:"0px",o=""!==r.split("|")[2]?r.split("|")[2]:"0px",a=""!==r.split("|")[3]?r.split("|")[3]:"0px",i=""!==r.split("|")[4]?r.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-radius: ".concat(n," ").concat(o," ").concat(a," ").concat(i,";")}])}if(e.border_width_all_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-width: ".concat(e.border_width_all_error_msg,";")}]),e.border_color_all_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-color: ".concat(e.border_color_all_error_msg,";")}]),e.border_style_all_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-style: ".concat(e.border_style_all_error_msg,";")}]),e.border_width_top_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-top-width: ".concat(e.border_width_top_error_msg,";")}]),e.border_color_top_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-top-color: ".concat(e.border_color_top_error_msg,";")}]),e.border_style_top_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-top-style: ".concat(e.border_style_top_error_msg,";")}]),e.border_width_right_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-right-width: ".concat(e.border_width_right_error_msg,";")}]),e.border_color_right_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-right-color: ".concat(e.border_color_right_error_msg,";")}]),e.border_style_right_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-right-style: ".concat(e.border_style_right_error_msg,";")}]),e.border_width_bottom_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-bottom-width: ".concat(e.border_width_bottom_error_msg,";")}]),e.border_color_bottom_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-bottom-color: ".concat(e.border_color_bottom_error_msg,";")}]),e.border_style_bottom_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-bottom-style: ".concat(e.border_style_bottom_error_msg,";")}]),e.border_width_left_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-left-width: ".concat(e.border_width_left_error_msg,";")}]),e.border_color_left_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-left-color: ".concat(e.border_color_left_error_msg,";")}]),e.border_style_left_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-left-style: ".concat(e.border_style_left_error_msg,";")}]),e.border_radii_error_validation){var s=e.border_radii_error_validation,l="",c="",p="",h="";l=""!==s.split("|")[1]?s.split("|")[1]:"0px",c=""!==s.split("|")[2]?s.split("|")[2]:"0px",p=""!==s.split("|")[3]?s.split("|")[3]:"0px",h=""!==s.split("|")[4]?s.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-radius: ".concat(l," ").concat(c," ").concat(p," ").concat(h,";")}])}if(e.border_width_all_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-width: ".concat(e.border_width_all_error_validation,";")}]),e.border_color_all_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-color: ".concat(e.border_color_all_error_validation,";")}]),e.border_style_all_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-style: ".concat(e.border_style_all_error_validation,";")}]),e.border_width_top_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-top-width: ".concat(e.border_width_top_error_validation,";")}]),e.border_color_top_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-top-color: ".concat(e.border_color_top_error_validation,";")}]),e.border_style_top_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-top-style: ".concat(e.border_style_top_error_validation,";")}]),e.border_width_right_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-right-width: ".concat(e.border_width_right_error_validation,";")}]),e.border_color_right_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-right-color: ".concat(e.border_color_right_error_validation,";")}]),e.border_style_right_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-right-style: ".concat(e.border_style_right_error_validation,";")}]),e.border_width_bottom_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-bottom-width: ".concat(e.border_width_bottom_error_validation,";")}]),e.border_color_bottom_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-bottom-color: ".concat(e.border_color_bottom_error_validation,";")}]),e.border_style_bottom_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-bottom-style: ".concat(e.border_style_bottom_error_validation,";")}]),e.border_width_left_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-left-width: ".concat(e.border_width_left_error_validation,";")}]),e.border_color_left_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-left-color: ".concat(e.border_color_left_error_validation,";")}]),e.border_style_left_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-left-style: ".concat(e.border_style_left_error_validation,";")}]),e.border_radii_validation_success){var u=e.border_radii_validation_success,d="",f="",m="",_="";d=""!==u.split("|")[1]?u.split("|")[1]:"0px",f=""!==u.split("|")[2]?u.split("|")[2]:"0px",m=""!==u.split("|")[3]?u.split("|")[3]:"0px",_=""!==u.split("|")[4]?u.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-radius: ".concat(d," ").concat(f," ").concat(m," ").concat(_,";")}])}if(e.border_width_all_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-width: ".concat(e.border_width_all_validation_success,";")}]),e.border_color_all_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-color: ".concat(e.border_color_all_validation_success,";")}]),e.border_style_all_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-style: ".concat(e.border_style_all_validation_success,";")}]),e.border_width_top_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-top-width: ".concat(e.border_width_top_validation_success,";")}]),e.border_color_top_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-top-color: ".concat(e.border_color_top_validation_success,";")}]),e.border_style_top_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-top-style: ".concat(e.border_style_top_validation_success,";")}]),e.border_width_right_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-right-width: ".concat(e.border_width_right_validation_success,";")}]),e.border_color_right_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-right-color: ".concat(e.border_color_right_validation_success,";")}]),e.border_style_right_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-right-style: ".concat(e.border_style_right_validation_success,";")}]),e.border_width_bottom_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-bottom-width: ".concat(e.border_width_bottom_validation_success,";")}]),e.border_color_bottom_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-bottom-color: ".concat(e.border_color_bottom_validation_success,";")}]),e.border_style_bottom_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-bottom-style: ".concat(e.border_style_bottom_validation_success,";")}]),e.border_width_left_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-left-width: ".concat(e.border_width_left_validation_success,";")}]),e.border_color_left_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-left-color: ".concat(e.border_color_left_validation_success,";")}]),e.border_style_left_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-left-style: ".concat(e.border_style_left_validation_success,";")}]),e.file_padding){var y=e.file_padding,b="",g="",v="",w="";b=""!==y.split("|")[0]?y.split("|")[0]:"0px",g=""!==y.split("|")[1]?y.split("|")[1]:"0px",v=""!==y.split("|")[2]?y.split("|")[2]:"0px",w=""!==y.split("|")[3]?y.split("|")[3]:"0px",t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-file",declaration:"padding: ".concat(b," ").concat(g," ").concat(v," ").concat(w,";")}])}if(e.file_padding_tablet){var x=e.file_padding_tablet,E="",S="",k="",P="";E=""!==x.split("|")[0]?x.split("|")[0]:"0px",S=""!==x.split("|")[1]?x.split("|")[1]:"0px",k=""!==x.split("|")[2]?x.split("|")[2]:"0px",P=""!==x.split("|")[3]?x.split("|")[3]:"0px",t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-file",declaration:"padding: ".concat(E," ").concat(S," ").concat(k," ").concat(P,";"),device:"tablet"}])}if(e.file_padding_phone){var C=e.file_padding_phone,T="",A="",M="",D="";T=""!==C.split("|")[0]?C.split("|")[0]:"0px",A=""!==C.split("|")[1]?C.split("|")[1]:"0px",M=""!==C.split("|")[2]?C.split("|")[2]:"0px",D=""!==C.split("|")[3]?C.split("|")[3]:"0px",t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-file",declaration:"padding: ".concat(T," ").concat(A," ").concat(M," ").concat(D,";"),device:"phone"}])}return t}}],(a=[{key:"componentDidUpdate",value:function(){var e=this.props,t=this.refs.cf7,r=window.ET_Builder.API.Utils.processFontIcon(e.button_one_icon);i.a.ajax({type:"POST",url:window.ETBuilderBackend.ajaxUrl,data:{action:"dsm_load_cf7_library",et_admin_load_nonce:window.et_fb_options.et_admin_load_nonce,cf7_library:e.cf7_library},success:function(n){"0"!==n?(i()(t).html(n),e.button_one_icon&&(i()(t).find(".wpcf7-submit").addClass("et_pb_custom_button_icon"),i()(t).find(".wpcf7-submit").attr("data-icon",r)),"on"===e.show_validation&&(i()(t).find("input.wpcf7-validates-as-required").after('<span role="alert" class="wpcf7-not-valid-tip">The field is required.</span>'),i()(t).find(".wpcf7-submit").after('<div class="wpcf7-response-output wpcf7-validation-errors" role="alert">One or more fields have an error. Please check and try again.</div><div class="wpcf7-response-output wpcf7-mail-sent-ok" style="display: block;" role="alert">Thank you for your message. It has been sent.</div>'))):i()(t).html("Contact Form 7 plugin not found.")},error:function(e){}})}},{key:"render",value:function(){return o.a.createElement(n.Fragment,null,o.a.createElement("div",{ref:"cf7",className:"dsm-contact-form-7"}))}}])&&c(r.prototype,a),s&&c(r,s),t}();Object.defineProperty(h,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_contact_form_7"}),t.a=h},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(18),i=r.n(a),s=r(77);r.n(s);function l(e){return(l="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})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,s=[{key:"css",value:function(e){var t=[];"on"===e.show_validation&&t.push([{selector:"%%order_class%% .et_pb_button:hover:after",declaration:"margin-left: .3em !important;"}]);var r=e.input_textarea_select_margin_bottom_last_edited&&e.input_textarea_select_margin_bottom_last_edited.startsWith("on"),n=e.input_textarea_select_margin_bottom,o=r&&e.input_textarea_select_margin_bottom_tablet?e.input_textarea_select_margin_bottom_tablet:n,a=r&&e.input_textarea_select_margin_bottom_phone?e.input_textarea_select_margin_bottom_phone:o;"15px"!==e.input_textarea_select_margin_bottom&&t.push([{selector:"%%order_class%% .form-group",declaration:"margin-bottom: ".concat(n)}]),e.input_textarea_select_margin_bottom_tablet&&t.push([{selector:"%%order_class%% .form-group",declaration:"margin-bottom: ".concat(o),device:"tablet"}]),e.input_textarea_select_margin_bottom_phone&&t.push([{selector:"%%order_class%% .form-group",declaration:"margin-bottom: ".concat(a),device:"phone"}]);var i=e.button_margin_top_last_edited&&e.button_margin_top_last_edited.startsWith("on"),s=e.button_margin_top,l=i&&e.button_margin_top_tablet?e.button_margin_top_tablet:s,c=i&&e.button_margin_top_phone?e.button_margin_top_phone:l;"20px"!==e.button_margin_top&&t.push([{selector:"%%order_class%% .et_pb_button_module_wrapper",declaration:"margin-top: ".concat(s)}]),e.button_margin_top_tablet&&t.push([{selector:"%%order_class%% .et_pb_button_module_wrapper",declaration:"margin-top: ".concat(l),device:"tablet"}]),e.button_margin_top_phone&&t.push([{selector:"%%order_class%% .et_pb_button_module_wrapper",declaration:"margin-top: ".concat(c),device:"phone"}]),e.button_one_icon&&t.push([{selector:"%%order_class%% .et_pb_button:hover:after",declaration:"margin-left: .3em !important;"}]),e.button_advanced_file_icon&&t.push([{selector:"%%order_class%% .dsm-cf-advanced-button:hover:after",declaration:"margin-left: .3em !important;"}]);var p=e.hr_gap_last_edited&&e.hr_gap_last_edited.startsWith("on"),h=e.hr_gap,u=p&&e.hr_gap_tablet?e.hr_gap_tablet:h,d=p&&e.hr_gap_phone?e.hr_gap_phone:u;if("0.5em"!==e.hr_gap&&t.push([{selector:"%%order_class%% .dsm-cf-html hr",declaration:"margin-block-start: ".concat(h,"; margin-block-end: ").concat(h,";")}]),e.hr_gap_tablet&&t.push([{selector:"%%order_class%% .dsm-cf-html hr",declaration:"margin-block-start: ".concat(u,"; margin-block-end: ").concat(u,";"),device:"tablet"}]),e.hr_gap_phone&&t.push([{selector:"%%order_class%% .dsm-cf-html hr",declaration:"margin-block-start: ".concat(d,"; margin-block-end: ").concat(d,";"),device:"phone"}]),"#666666"!==e.hr_color&&t.push([{selector:"%%order_class%% .dsm-cf-html hr",declaration:"border-color: ".concat(e.hr_color,";")}]),"#ee0000"!==e.label_required_asterisk_color&&t.push([{selector:"%%order_class%% label.control-label>span.field_required",declaration:"color: ".concat(e.label_required_asterisk_color," !important;")}]),e.description_background_color&&t.push([{selector:"%%order_class%% .form-group>div span.help-block",declaration:"background-color: ".concat(e.description_background_color,";")}]),e.input_background_color&&t.push([{selector:"%%order_class%% input.text,%%order_class%% input.title,%%order_class%% input[type=email],%%order_class%% input[type=url],%%order_class%% input[type=password],%%order_class%% input[type=tel],%%order_class%% input[type=text],%%order_class%% input[type=number],%%order_class%% input[type=phone],%%order_class%% input[type=date],%%order_class%% select.form-control,%%order_class%% textarea",declaration:"background-color: ".concat(e.input_background_color,";")}]),e.input_textarea_select_text_color&&t.push([{selector:"%%order_class%% .dsm-caldera-forms-select:after",declaration:"border-color: ".concat(e.input_textarea_select_text_color," transparent transparent;")}]),"on"===e.radio_style&&("#2ea3f2"!==e.radio_checked_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_radio .dsm-cf-radio:after",declaration:"background-color: ".concat(e.radio_checked_color,";")}]),"#eeeeee"!==e.radio_checked_background_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_radio .dsm-radio input[type=radio]:checked ~ .dsm-cf-radio",declaration:"background-color: ".concat(e.radio_checked_background_color,";")}]),"#eeeeee"!==e.radio_background_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_radio .dsm-radio .dsm-cf-radio",declaration:"background-color: ".concat(e.radio_background_color,";")}])),"on"===e.checkbox_style&&("#2ea3f2"!==e.checkbox_checked_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_checkbox .dsm-checkbox input[type=checkbox]:checked ~ .dsm-cf-checkbox:after",declaration:"color: ".concat(e.checkbox_checked_color,";")}]),"#eeeeee"!==e.checkbox_checked_background_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_checkbox .dsm-checkbox input[type=checkbox]:checked ~ .dsm-cf-checkbox",declaration:"background-color: ".concat(e.checkbox_checked_background_color,";")}]),"#eeeeee"!==e.checkbox_background_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_checkbox .dsm-checkbox .dsm-cf-checkbox",declaration:"background-color: ".concat(e.checkbox_background_color,";")}])),"left"!==e.button_alignment&&t.push([{selector:"%%order_class%% .et_pb_button_module_wrapper",declaration:"text-align: ".concat(e.button_alignment,";")}]),"5px"!==e.label_bottom_spacing&&t.push([{selector:"%%order_class%% label.control-label",declaration:"margin-bottom: ".concat(e.label_bottom_spacing,";")}]),e.file_background_color&&t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"background-color: ".concat(e.file_background_color,";")}]),e.error_msg_background_color&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"background-color: ".concat(e.error_msg_background_color,";")}]),e.validation_success_background_color&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"background-color: ".concat(e.validation_success_background_color,";")}]),e.border_radii_error_validation){var f=e.border_radii_error_validation,m="",_="",y="",b="";m=""!==f.split("|")[1]?f.split("|")[1]:"0px",_=""!==f.split("|")[2]?f.split("|")[2]:"0px",y=""!==f.split("|")[3]?f.split("|")[3]:"0px",b=""!==f.split("|")[4]?f.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-radius: ".concat(m," ").concat(_," ").concat(y," ").concat(b,";")}])}if(e.border_width_all_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-width: ".concat(e.border_width_all_error_validation,";")}]),e.border_color_all_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-color: ".concat(e.border_color_all_error_validation,";")}]),e.border_style_all_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-style: ".concat(e.border_style_all_error_validation,";")}]),e.border_width_top_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-top-width: ".concat(e.border_width_top_error_validation,";")}]),e.border_color_top_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-top-color: ".concat(e.border_color_top_error_validation,";")}]),e.border_style_top_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-top-style: ".concat(e.border_style_top_error_validation,";")}]),e.border_width_right_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-right-width: ".concat(e.border_width_right_error_validation,";")}]),e.border_color_right_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-right-color: ".concat(e.border_color_right_error_validation,";")}]),e.border_style_right_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-right-style: ".concat(e.border_style_right_error_validation,";")}]),e.border_width_bottom_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-bottom-width: ".concat(e.border_width_bottom_error_validation,";")}]),e.border_color_bottom_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-bottom-color: ".concat(e.border_color_bottom_error_validation,";")}]),e.border_style_bottom_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-bottom-style: ".concat(e.border_style_bottom_error_validation,";")}]),e.border_width_left_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-left-width: ".concat(e.border_width_left_error_validation,";")}]),e.border_color_left_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-left-color: ".concat(e.border_color_left_error_validation,";")}]),e.border_style_left_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-left-style: ".concat(e.border_style_left_error_validation,";")}]),e.border_radii_validation_success){var g=e.border_radii_validation_success,v="",w="",x="",E="";v=""!==g.split("|")[1]?g.split("|")[1]:"0px",w=""!==g.split("|")[2]?g.split("|")[2]:"0px",x=""!==g.split("|")[3]?g.split("|")[3]:"0px",E=""!==g.split("|")[4]?g.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-radius: ".concat(v," ").concat(w," ").concat(x," ").concat(E,";")}])}e.border_width_all_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-width: ".concat(e.border_width_all_validation_success,";")}]),e.border_color_all_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-color: ".concat(e.border_color_all_validation_success,";")}]),e.border_style_all_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-style: ".concat(e.border_style_all_validation_success,";")}]),e.border_width_top_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-top-width: ".concat(e.border_width_top_validation_success,";")}]),e.border_color_top_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-top-color: ".concat(e.border_color_top_validation_success,";")}]),e.border_style_top_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-top-style: ".concat(e.border_style_top_validation_success,";")}]),e.border_width_right_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-right-width: ".concat(e.border_width_right_validation_success,";")}]),e.border_color_right_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-right-color: ".concat(e.border_color_right_validation_success,";")}]),e.border_style_right_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-right-style: ".concat(e.border_style_right_validation_success,";")}]),e.border_width_bottom_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-bottom-width: ".concat(e.border_width_bottom_validation_success,";")}]),e.border_color_bottom_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-bottom-color: ".concat(e.border_color_bottom_validation_success,";")}]),e.border_style_bottom_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-bottom-style: ".concat(e.border_style_bottom_validation_success,";")}]),e.border_width_left_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-left-width: ".concat(e.border_width_left_validation_success,";")}]),e.border_color_left_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-left-color: ".concat(e.border_color_left_validation_success,";")}]),e.border_style_left_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-left-style: ".concat(e.border_style_left_validation_success,";")}]);var S=void 0!==e.file_padding__hover_enabled?e.file_padding__hover_enabled.split("|"):"",k=e.file_padding_last_edited,P=k&&k.startsWith("on");if(e.file_padding){var C=e.file_padding.split("|");t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"padding-top: ".concat(C[0],"; padding-right: ").concat(C[1],"; padding-bottom: ").concat(C[2],"; padding-left: ").concat(C[3],";")}])}if("on"===S[0]&&"hover"===S[1]&&1===e.hover_enabled){var T=void 0!==e.file_padding__hover?e.file_padding__hover.split("|"):"";t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"padding-top: ".concat(T[0],"; padding-right: ").concat(T[1],"; padding-bottom: ").concat(T[2],"; padding-left: ").concat(T[3],";")}])}if(e.file_padding_tablet&&P&&e.file_padding_tablet&&""!==e.file_padding_tablet){var A=e.file_padding_tablet.split("|");t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"padding-top: ".concat(A[0],"; padding-right: ").concat(A[1],"; padding-bottom: ").concat(A[2],"; padding-left: ").concat(A[3],";"),device:"tablet"}])}if(e.file_padding_phone&&P&&e.file_padding_phone&&""!==e.file_padding_phone){var M=e.file_padding_phone.split("|");t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"padding-top: ".concat(M[0],"; padding-right: ").concat(M[1],"; padding-bottom: ").concat(M[2],"; padding-left: ").concat(M[3],";"),device:"phone"}])}return t}}],(a=[{key:"componentDidUpdate",value:function(){var e=this.props,t=this.refs.cf,r=window.ET_Builder.API.Utils,n=r.processFontIcon(e.button_one_icon),o=r.processFontIcon(e.button_advanced_file_icon);i.a.ajax({type:"POST",url:window.ETBuilderBackend.ajaxUrl,data:{action:"dsm_load_caldera_forms",et_admin_load_nonce:window.et_fb_options.et_admin_load_nonce,cf_library:e.cf_library},success:function(r){"0"!==r?(i()(t).html(r),e.button_one_icon&&(i()(t).find(".dsm-cf-submit-button").addClass("et_pb_custom_button_icon"),i()(t).find(".dsm-cf-submit-button").attr("data-icon",n)),e.button_advanced_file_icon&&(i()(t).find(".dsm-cf-advanced-button").addClass("et_pb_custom_button_icon"),i()(t).find(".dsm-cf-advanced-button").attr("data-icon",o)),"on"===e.show_validation&&(i()(t).find("input[aria-required]").closest(".form-group").addClass("has-error"),i()(t).find("input[aria-required]").closest(".form-group").append('<span class="help-block caldera_ajax_error_block filled" aria-live="polite" style="display:block;"><span class="parsley-required">This value is required.</span></span>'),i()(t).find('textarea[required="required"]').closest(".form-group").addClass("has-error"),i()(t).find('textarea[required="required"]').closest(".form-group").append('<span class="help-block caldera_ajax_error_block filled" aria-live="polite"><span class="parsley-required">This value is required.</span></span>'),i()(t).find(".caldera-grid").after('<div class="alert alert-success" style="display: block; margin-top: 10px;" role="alert">Form has been successfully submitted. Thank you.</div>'))):i()(t).html("Caldera Forms plugin not found.")},error:function(e){}})}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{ref:"cf",className:"dsm_caldera_forms".concat("off"!==e.radio_style?" dsm_cf_custom_radio":"").concat("off"!==e.checkbox_style?" dsm_cf_custom_checkbox":"").concat(""!==e.description_background_color?" dsm_cf_description_label":"").concat(""!==e.error_msg_background_color?" dsm_cf_error_label":"").concat(""!==e.validation_success_background_color?" dsm_cf_success_label":"")}))}}])&&c(r.prototype,a),s&&c(r,s),t}();Object.defineProperty(h,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_caldera_forms"}),t.a=h},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(78);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){return[]}}],(a=[{key:"render",value:function(){var e=this.props,t="https://maps.google.com/maps?q="+encodeURIComponent(e.address)+"&t=m&z="+parseInt(e.zoom,10)+"&output=embed&iwloc=near&hl="+window.ETBuilderBackend.locale,r=e.address;return o.a.createElement(n.Fragment,null,o.a.createElement("iframe",{title:"Divi Supreme Embed Google Map",frameBorder:"0",scrolling:"no",marginHeight:"0",marginWidth:"0",src:t,"aria-label":r}))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_embed_google_map"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(239);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,c=[{key:"css",value:function(e){var t=[];return"center"!==e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-facebook-feed",declaration:"text-align: ".concat(e.fb_alignment,";")}]),t}}],(i=[{key:"_renderTwitter",value:function(){var e=this.props,t="off"===e.header?"noheader":"",r="off"===e.footer?" nofooter":"",i="off"===e.borders?" noborders":"",s="off"===e.scrollbar?" noscrollbar":"",l="on"===e.remove_background?" transparent":"";return"on"===e.limit_tweet?o.a.createElement(n.Fragment,null,o.a.createElement(a.Timeline,{dataSource:{sourceType:"profile",screenName:e.twitter_username},options:{username:e.twitter_username,height:parseInt(e.height,10),theme:e.theme,tweetLimit:parseInt(e.tweet_number,10),chrome:"".concat(t).concat(r).concat(i).concat(s).concat(l)}})):o.a.createElement(n.Fragment,null,o.a.createElement(a.Timeline,{dataSource:{sourceType:"profile",screenName:e.twitter_username},options:{username:e.twitter_username,height:parseInt(e.height,10),theme:e.theme,chrome:"".concat(t).concat(r).concat(i).concat(s).concat(l)}}))}},{key:"render",value:function(){return o.a.createElement(n.Fragment,null,this._renderTwitter())}}])&&s(r.prototype,i),c&&s(r,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_embed_twitter_timeline"}),t.a=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tweet=t.Timeline=t.Share=t.Mention=t.Hashtag=t.Follow=void 0;var n=r(240),o=p(r(241)),a=p(r(319)),i=p(r(320)),s=p(r(321)),l=p(r(322)),c=p(r(323));function p(e){return e&&e.__esModule?e:{default:e}}n.canUseDOM&&r(142)("https://platform.twitter.com/widgets.js","twitter-widgets");t.Follow=o.default,t.Hashtag=a.default,t.Mention=i.default,t.Share=s.default,t.Timeline=l.default,t.Tweet=c.default},function(e,t,r){var n;function o(e){return(o="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})(e)}!function(){"use strict";var a=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:a,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen};"object"===o(r(120))&&r(120)?void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n):"undefined"!==typeof e&&e.exports?e.exports=i:window.ExecutionEnvironment=i}()},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.username,i=o.options,s=o.onLoad;e.widgets.createFollowButton(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("username")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={username:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){var n=r(243),o=r(27);e.exports=function e(t,r,a,i,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!==t&&r!==r:n(t,r,a,i,e,s))}},function(e,t,r){var n=r(121),o=r(126),a=r(278),i=r(281),s=r(50),l=r(49),c=r(83),p=r(133),h=1,u="[object Arguments]",d="[object Array]",f="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,_,y,b){var g=l(e),v=l(t),w=g?d:s(e),x=v?d:s(t),E=(w=w==u?f:w)==f,S=(x=x==u?f:x)==f,k=w==x;if(k&&c(e)){if(!c(t))return!1;g=!0,E=!1}if(k&&!E)return b||(b=new n),g||p(e)?o(e,t,r,_,y,b):a(e,t,w,r,_,y,b);if(!(r&h)){var P=E&&m.call(e,"__wrapped__"),C=S&&m.call(t,"__wrapped__");if(P||C){var T=P?e.value():e,A=C?t.value():t;return b||(b=new n),y(T,A,r,_,b)}}return!!k&&(b||(b=new n),i(e,t,r,_,y,b))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(44),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(44);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(44);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(44);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(43);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(43),o=r(80),a=r(125),i=200;e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<i-1)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(122),o=r(258),a=r(35),i=r(124),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,p=l.toString,h=c.hasOwnProperty,u=RegExp("^"+p.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(n(e)?u:s).test(i(e))}},function(e,t){function r(e){return(r="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})(e)}var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"===typeof window?"undefined":r(window))&&(n=window)}e.exports=n},function(e,t,r){var n=r(46),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n,o=r(259),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},function(e,t,r){var n=r(11)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(262),o=r(43),a=r(80);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},function(e,t,r){var n=r(263),o=r(264),a=r(265),i=r(266),s=r(267);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(47);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(47),o="__lodash_hash_undefined__",a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return a.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(47),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(47),o="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}},function(e,t,r){var n=r(48);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){function r(e){return(r="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})(e)}e.exports=function(e){var t=r(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(48);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(48);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(48);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(125),o=r(274),a=r(275);function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},function(e,t){var r="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,r),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){var n=r(46),o=r(127),a=r(79),i=r(126),s=r(279),l=r(280),c=1,p=2,h="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Map]",m="[object Number]",_="[object RegExp]",y="[object Set]",b="[object String]",g="[object Symbol]",v="[object ArrayBuffer]",w="[object DataView]",x=n?n.prototype:void 0,E=x?x.valueOf:void 0;e.exports=function(e,t,r,n,x,S,k){switch(r){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!S(new o(e),new o(t)));case h:case u:case m:return a(+e,+t);case d:return e.name==t.name&&e.message==t.message;case _:case b:return e==t+"";case f:var P=s;case y:var C=n&c;if(P||(P=l),e.size!=t.size&&!C)return!1;var T=k.get(e);if(T)return T==t;n|=p,k.set(e,t);var A=i(P(e),P(t),n,x,S,k);return k.delete(e),A;case g:if(E)return E.call(e)==E.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},function(e,t,r){var n=r(128),o=1,a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,s,l){var c=r&o,p=n(e),h=p.length;if(h!=n(t).length&&!c)return!1;for(var u=h;u--;){var d=p[u];if(!(c?d in t:a.call(t,d)))return!1}var f=l.get(e);if(f&&l.get(t))return f==t;var m=!0;l.set(e,t),l.set(t,e);for(var _=c;++u<h;){var y=e[d=p[u]],b=t[d];if(i)var g=c?i(b,y,d,t,e,l):i(y,b,d,e,t,l);if(!(void 0===g?y===b||s(y,b,r,i,l):g)){m=!1;break}_||(_="constructor"==d)}if(m&&!_){var v=e.constructor,w=t.constructor;v!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w)&&(m=!1)}return l.delete(e),l.delete(t),m}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(285),o=r(27),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,r){var n=r(45),o=r(27),a="[object Arguments]";e.exports=function(e){return o(e)&&n(e)==a}},function(e,t){e.exports=function(){return!1}},function(e,t){function r(e){return(r="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})(e)}var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var a=r(e);return!!(t=null==t?n:t)&&("number"==a||"symbol"!=a&&o.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){var n=r(45),o=r(134),a=r(27),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[n(e)]}},function(e,t,r){var n=r(86),o=r(290),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(135)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(22)(r(11),"DataView");e.exports=n},function(e,t,r){var n=r(22)(r(11),"Promise");e.exports=n},function(e,t,r){var n=r(22)(r(11),"Set");e.exports=n},function(e,t,r){var n=r(22)(r(11),"WeakMap");e.exports=n},function(e,t,r){var n=r(121),o=r(296),a=r(137),i=r(298),s=r(299),l=r(302),c=r(303),p=r(304),h=r(305),u=r(128),d=r(306),f=r(50),m=r(307),_=r(308),y=r(313),b=r(49),g=r(83),v=r(315),w=r(35),x=r(317),E=r(82),S=1,k=2,P=4,C="[object Arguments]",T="[object Function]",A="[object GeneratorFunction]",M="[object Object]",D={};D[C]=D["[object Array]"]=D["[object ArrayBuffer]"]=D["[object DataView]"]=D["[object Boolean]"]=D["[object Date]"]=D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Map]"]=D["[object Number]"]=D[M]=D["[object RegExp]"]=D["[object Set]"]=D["[object String]"]=D["[object Symbol]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D["[object Error]"]=D[T]=D["[object WeakMap]"]=!1,e.exports=function e(t,r,O,F,I,j){var z,R=r&S,B=r&k,L=r&P;if(O&&(z=I?O(t,F,I,j):O(t)),void 0!==z)return z;if(!w(t))return t;var N=b(t);if(N){if(z=m(t),!R)return c(t,z)}else{var V=f(t),q=V==T||V==A;if(g(t))return l(t,R);if(V==M||V==C||q&&!I){if(z=B||q?{}:y(t),!R)return B?h(t,s(z,t)):p(t,i(z,t))}else{if(!D[V])return I?t:{};z=_(t,V,R)}}j||(j=new n);var G=j.get(t);if(G)return G;j.set(t,z),x(t)?t.forEach(function(n){z.add(e(n,r,O,n,t,j))}):v(t)&&t.forEach(function(n,o){z.set(o,e(n,r,O,o,t,j))});var H=L?B?d:u:B?keysIn:E,W=N?void 0:H(t);return o(W||t,function(n,o){W&&(n=t[o=n]),a(z,o,e(n,r,O,o,t,j))}),z}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(22),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(51),o=r(82);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(51),o=r(139);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(35),o=r(86),a=r(301),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&r.push(s);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){function n(e){return(n="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})(e)}var o=r(11),a="object"==n(t)&&t&&!t.nodeType&&t,i=a&&"object"==n(e)&&e&&!e.nodeType&&e,s=i&&i.exports===a?o.Buffer:void 0,l=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}}).call(t,r(23)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(51),o=r(81);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(51),o=r(140);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(129),o=r(140),a=r(139);e.exports=function(e){return n(e,a,o)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(87),o=r(309),a=r(310),i=r(311),s=r(312),l="[object Boolean]",c="[object Date]",p="[object Map]",h="[object Number]",u="[object RegExp]",d="[object Set]",f="[object String]",m="[object Symbol]",_="[object ArrayBuffer]",y="[object DataView]",b="[object Float32Array]",g="[object Float64Array]",v="[object Int8Array]",w="[object Int16Array]",x="[object Int32Array]",E="[object Uint8Array]",S="[object Uint8ClampedArray]",k="[object Uint16Array]",P="[object Uint32Array]";e.exports=function(e,t,r){var C=e.constructor;switch(t){case _:return n(e);case l:case c:return new C(+e);case y:return o(e,r);case b:case g:case v:case w:case x:case E:case S:case k:case P:return s(e,r);case p:return new C;case h:case f:return new C(e);case u:return a(e);case d:return new C;case m:return i(e)}}},function(e,t,r){var n=r(87);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(46),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},function(e,t,r){var n=r(87);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(314),o=r(141),a=r(86);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(o(e))}},function(e,t,r){var n=r(35),o=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},function(e,t,r){var n=r(316),o=r(84),a=r(85),i=a&&a.isMap,s=i?o(i):n;e.exports=s},function(e,t,r){var n=r(50),o=r(27),a="[object Map]";e.exports=function(e){return o(e)&&n(e)==a}},function(e,t,r){var n=r(318),o=r(84),a=r(85),i=a&&a.isSet,s=i?o(i):n;e.exports=s},function(e,t,r){var n=r(50),o=r(27),a="[object Set]";e.exports=function(e){return o(e)&&n(e)==a}},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.hashtag,i=o.options,s=o.onLoad;e.widgets.createHashtagButton(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("hashtag")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={hashtag:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.username,i=o.options,s=o.onLoad;e.widgets.createMentionButton(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("username")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={username:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.url,i=o.options,s=o.onLoad;e.widgets.createShareButton(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("url")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={url:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.dataSource,i=o.options,s=o.onLoad;e.widgets.createTimeline((0,l.default)(a),t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("dataSource")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={dataSource:i.default.object.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.tweetId,i=o.options,s=o.onLoad;e.widgets.createTweet(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("tweetId")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={tweetId:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(88);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];return e.badges_background_color&&t.push([{selector:"%%order_class%% .dsm-badges",declaration:"background-color: ".concat(e.badges_background_color,";")}]),"7px"!==e.badges_gap&&("after"===e.badges_placement?t.push([{selector:"%%order_class%% .dsm-badges-after",declaration:"margin-left: ".concat(e.badges_gap,";")}]):t.push([{selector:"%%order_class%% .dsm-badges-before",declaration:"margin-right: ".concat(e.badges_gap,";")}])),"after"===e.badges_placement&&(e.badges_gap_tablet&&t.push([{selector:"%%order_class%% .dsm-badges-after",declaration:"margin-left: ".concat(e.badges_gap_tablet,";"),device:"tablet"}]),e.badges_gap_phone&&t.push([{selector:"%%order_class%% .dsm-badges-after",declaration:"margin-left: ".concat(e.badges_gap_phone,";"),device:"phone"}])),"before"===e.badges_placement&&(e.badges_gap_tablet&&t.push([{selector:"%%order_class%% .dsm-badges-before",declaration:"margin-right: ".concat(e.badges_gap_tablet,";"),device:"tablet"}]),e.badges_gap_phone&&t.push([{selector:"%%order_class%% .dsm-badges-before",declaration:"margin-right: ".concat(e.badges_gap_phone,";"),device:"phone"}])),t}}],(a=[{key:"_renderBadgesBefore",value:function(){var e=this.props;return e.badges_text&&"after"!==e.badges_placement?o.a.createElement(n.Fragment,null,o.a.createElement("span",{className:"dsm-badges dsm-badges-".concat(e.badges_placement)},e.badges_text)):""}},{key:"_renderBadgesAfter",value:function(){var e=this.props;return e.badges_text&&"before"!==e.badges_placement?o.a.createElement(n.Fragment,null,o.a.createElement("span",{className:"dsm-badges dsm-badges-".concat(e.badges_placement)},e.badges_text)):""}},{key:"_renderTitle",value:function(){var e=this.props,t=""===e.header_level?"h4":"".concat(e.header_level);return e.main_text?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h4",{className:"dsm-text-badges et_pb_module_header"},this._renderBadgesBefore(),e.main_text,this._renderBadgesAfter())):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-text-badges et_pb_module_header"},this._renderBadgesBefore(),e.main_text,this._renderBadgesAfter())):""}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"et_pb_bg_layout_".concat(e.background_layout)},this._renderTitle()))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_text_badges"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(89);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];e.menu_link_text_color&&t.push([{selector:"%%order_class%% ul.dsm-menu li a",declaration:"color: ".concat(e.menu_link_text_color,";")}]),"on"===e.menu_link_text_color__hover_enabled&&e.menu_link_text_color__hover&&t.push([{selector:"%%order_class%% ul.dsm-menu li a:hover",declaration:"color: ".concat(e.menu_link_text_color__hover,";")}]),"disc"!==e.list_style_type&&t.push([{selector:"%%order_class%% ul.dsm-menu, %%order_class%% ul.dsm-menu .sub-menu",declaration:"list-style-type: ".concat(e.list_style_type,";")}]),""!==e.list_style_color&&t.push([{selector:"%%order_class%% ul.dsm-menu li",declaration:"color: ".concat(e.list_style_color,";")}]);var r=e.title_bottom_gap_last_edited&&e.title_bottom_gap_last_edited.startsWith("on"),n=e.title_bottom_gap,o=r&&e.title_bottom_gap_tablet?e.title_bottom_gap_tablet:n,a=r&&e.title_bottom_gap_phone?e.title_bottom_gap_phone:o;"10px"!==e.title_bottom_gap&&t.push([{selector:"%%order_class%% ".concat(e.header_level,".dsm-menu-title"),declaration:"padding-bottom: ".concat(n,";")}]),""!==e.title_bottom_gap_tablet&&t.push([{selector:"%%order_class%% ".concat(e.header_level,".dsm-menu-title"),declaration:"padding-bottom: ".concat(o,";"),device:"tablet"}]),""!==e.title_bottom_gap_phone&&t.push([{selector:"%%order_class%% ".concat(e.header_level,".dsm-menu-title"),declaration:"padding-bottom: ".concat(a,";"),device:"phone"}]);var i=e.menu_space_between_last_edited&&e.menu_space_between_last_edited.startsWith("on"),s=e.menu_space_between,l=i&&e.menu_space_between_tablet?e.menu_space_between_tablet:s,c=i&&e.menu_space_between_phone?e.menu_space_between_phone:l;"0px"!==e.menu_space_between&&(t.push([{selector:"%%order_class%% .dsm-menu li:not(:last-child)",declaration:"margin-bottom: ".concat(s,";")}]),t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu>li",declaration:"margin-top: ".concat(s,";")}])),""!==e.menu_space_between_tablet&&(t.push([{selector:"%%order_class%% .dsm-menu li:not(:last-child)",declaration:"margin-bottom: ".concat(l,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu>li",declaration:"margin-top: ".concat(l,";"),device:"tablet"}])),""!==e.menu_space_between_phone&&(t.push([{selector:"%%order_class%% .dsm-menu li:not(:last-child)",declaration:"margin-top: ".concat(c,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu>li",declaration:"margin-top: ".concat(c,";"),device:"phone"}]));var p=e.menu_left_space_last_edited&&e.menu_left_space_last_edited.startsWith("on"),h=e.menu_left_space,u=p&&e.menu_left_space_tablet?e.menu_left_space_tablet:h,d=p&&e.menu_left_space_phone?e.menu_left_space_phone:u;e.menu_left_space&&t.push([{selector:"%%order_class%% ul.dsm-menu",declaration:"padding-left: ".concat(h,";")}]),""!==e.menu_left_space_tablet&&t.push([{selector:"%%order_class%% ul.dsm-menu",declaration:"padding-left: ".concat(u,";"),device:"tablet"}]),""!==e.menu_left_space_phone&&t.push([{selector:"%%order_class%% ul.dsm-menu",declaration:"padding-left: ".concat(d,";"),device:"phone"}]);var f=void 0!==e.menu_left_space__hover_enabled?e.menu_left_space__hover_enabled.split("|"):"";"on"===f[0]&&"hover"===f[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% ul.dsm-menu",declaration:"padding-left: ".concat(e.menu_left_space__hover,";")}]);var m=e.submenu_left_space_last_edited&&e.submenu_left_space_last_edited.startsWith("on"),_=e.submenu_left_space,y=m&&e.submenu_left_space_tablet?e.submenu_left_space_tablet:_,b=m&&e.submenu_left_space_phone?e.submenu_left_space_phone:y;"20px"!==e.submenu_left_space&&t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu",declaration:"padding-left: ".concat(_,";")}]),""!==e.submenu_left_space_tablet&&t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu",declaration:"padding-left: ".concat(y,";"),device:"tablet"}]),""!==e.submenu_left_space_phone&&t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu",declaration:"padding-left: ".concat(b,";"),device:"phone"}]);var g=void 0!==e.submenu_left_space__hover_enabled?e.submenu_left_space__hover_enabled.split("|"):"";return"on"===g[0]&&"hover"===g[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu",declaration:"padding-left: ".concat(e.submenu_left_space__hover,";")}]),t}}],(a=[{key:"_renderTitle",value:function(){var e=this.props,t=""===e.header_level?"h4":"".concat(e.header_level);return e.title?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h4",{className:"dsm-menu-title et_pb_module_header"},e.title)):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-menu-title et_pb_module_header"},e.title)):""}},{key:"_renderNav",value:function(){var e=this.props;if("none"!==e.menu_id){var t=e.__menu;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"et_pb_bg_layout_".concat(e.background_layout)},this._renderTitle(),this._renderNav()))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_menu"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(90);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];"dotted"!==e.separator_style&&t.push([{selector:"%%order_class%% .dsm-pricelist-separator",declaration:"border-bottom-style: ".concat(e.separator_style,";")}]),"2px"!==e.separator_weight&&t.push([{selector:"%%order_class%% .dsm-pricelist-separator",declaration:"border-bottom-width: ".concat(e.separator_weight,";")}]),e.separator_color&&t.push([{selector:"%%order_class%% .dsm-pricelist-separator",declaration:"border-bottom-color: ".concat(e.separator_color,";")}]),"10px"!==e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-pricelist-separator",declaration:"margin-left: ".concat(e.separator_gap,"; margin-right: ").concat(e.separator_gap,";")}]);var r=e.item_bottom_gap_last_edited&&e.item_bottom_gap_last_edited.startsWith("on"),n=e.item_bottom_gap,o=r&&e.item_bottom_gap_tablet?e.item_bottom_gap_tablet:n,a=r&&e.item_bottom_gap_phone?e.item_bottom_gap_phone:o;"25px"!==e.item_bottom_gap&&t.push([{selector:"%%order_class%% .dsm_pricelist_child:not(:last-child)",declaration:"padding-bottom: ".concat(n,";")}]),e.item_bottom_gap_tablet&&t.push([{selector:"%%order_class%% .dsm_pricelist_child:not(:last-child)",declaration:"padding-bottom: ".concat(o),device:"tablet"}]),e.item_bottom_gap_phone&&t.push([{selector:"%%order_class%% .dsm_pricelist_child:not(:last-child)",declaration:"padding-bottom: ".concat(a),device:"phone"}]),"flex-start"!==e.content_orientation&&t.push([{selector:"%%order_class%% .dsm_pricelist_child>div",declaration:"align-items: ".concat(e.content_orientation,";")}]);var i=e.image_max_width_last_edited&&e.image_max_width_last_edited.startsWith("on"),s=e.image_max_width,l=i&&e.image_max_width_tablet?e.image_max_width_tablet:s,c=i&&e.image_max_width_phone?e.image_max_width_phone:l;"50%"!==e.image_max_width&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(s)}]),e.image_max_width_tablet&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(l),device:"tablet"}]),e.image_max_width_phone&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(c),device:"phone"}]);var p=e.image_spacing_last_edited&&e.image_spacing_last_edited.startsWith("on"),h=e.image_spacing,u=p&&e.image_spacing_tablet?e.image_spacing_tablet:h,d=p&&e.image_spacing_phone?e.image_spacing_phone:u;return e.image_spacing&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(h,";")}]),e.image_spacing_tablet&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(u,";"),device:"tablet"}]),e.image_spacing_phone&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(d,";"),device:"phone"}]),t}}],(a=[{key:"render",value:function(){return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_pricelist"},this.props.content))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_pricelist"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n);function a(e){return(a="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})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[],r=e.image_max_width_last_edited&&e.image_max_width_last_edited.startsWith("on"),n=e.image_max_width,o=r&&e.image_max_width_tablet?e.image_max_width_tablet:n,a=r&&e.image_max_width_phone?e.image_max_width_phone:o;e.image_max_width&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(n)}]),e.image_max_width_tablet&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(o),device:"tablet"}]),e.image_max_width_phone&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(a),device:"phone"}]),"center"!==e.content_orientation&&t.push([{selector:"%%order_class%%",declaration:"align-items: ".concat(e.content_orientation,";")}]);var i=e.image_spacing_last_edited&&e.image_spacing_last_edited.startsWith("on"),s=e.image_spacing,l=i&&e.image_spacing_tablet?e.image_spacing_tablet:s,c=i&&e.image_spacing_phone?e.image_spacing_phone:l;return e.image_spacing&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(s,";")}]),e.image_spacing_tablet&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(l,";"),device:"tablet"}]),e.image_spacing_phone&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(c,";"),device:"phone"}]),t}}],(a=[{key:"_renderTitle",value:function(){var e=this.props;return e.title?o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm-pricelist-title et_pb_module_header"},e.title)):""}},{key:"_renderIcon",value:function(){var e=this.props,t=window.ET_Builder.API.Utils;return"off"===e.use_icon?"":o.a.createElement("div",{className:"dsm_flipbox_child_image"},o.a.createElement("span",{className:"dsm_flipbox_child_image_wrap"},o.a.createElement("span",{className:"et-pb-icon".concat("on"===this.props.use_circle?" et-pb-icon-circle":"").concat("on"===this.props.use_circle_border?" et-pb-icon-circle-border":"")},t.processFontIcon(e.font_icon))))}},{key:"_renderImage",value:function(){var e=this.props;return e.image?o.a.createElement("div",{className:"dsm-pricelist-image"},o.a.createElement("img",{src:"".concat(e.image),alt:"".concat(e.alt)})):""}},{key:"_renderButton",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r="on"===e.url_new_window?"_blank":"",n=!!e.button_icon&&t.processFontIcon(e.button_icon),a={et_pb_button:!0,et_pb_more_button:!0,et_pb_custom_button_icon:e.button_icon};return e.button_text&&e.button_url?o.a.createElement("div",{className:"et_pb_button_wrapper"},o.a.createElement("a",{className:t.classnames(a),href:e.button_url,target:r,rel:t.linkRel(e.button_rel),"data-icon":n},e.button_text)):""}},{key:"_renderPrice",value:function(){var e=this.props,t=void 0===e.price?"$8":e.price;return e.price?o.a.createElement("div",{className:"dsm-pricelist-price"},t):""}},{key:"_renderContent",value:function(){var e=this.props,t=e.content;return e.content?o.a.createElement("div",{className:"dsm-pricelist-description"},o.a.createElement(t,null)):""}},{key:"render",value:function(){return o.a.createElement(n.Fragment,null,this._renderImage(),o.a.createElement("div",{className:"dsm_pricelist_item_wrapper"},o.a.createElement("div",{className:"dsm-pricelist-header"},this._renderTitle(),o.a.createElement("div",{className:"dsm-pricelist-separator"}),this._renderPrice()),this._renderContent()))}}])&&i(r.prototype,a),l&&i(r,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_pricelist_child"}),t.a=l},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(91);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];if("none"!==e.divider_style&&t.push([{selector:"%%order_class%% .dsm_business_hours_child:not(:last-child)",declaration:"border-bottom-style: ".concat(e.divider_style,";")}]),""!==e.divider_weight&&t.push([{selector:"%%order_class%% .dsm_business_hours_child:not(:last-child)",declaration:"border-bottom-width: ".concat(e.divider_weight,";")}]),e.divider_color&&t.push([{selector:"%%order_class%% .dsm_business_hours_child:not(:last-child)",declaration:"border-bottom-color: ".concat(e.divider_color,";")}]),"none"!==e.separator_style&&t.push([{selector:"%%order_class%% .dsm-business-hours-separator",declaration:"border-bottom-style: ".concat(e.separator_style,";")}]),"2px"!==e.separator_weight&&t.push([{selector:"%%order_class%% .dsm-business-hours-separator",declaration:"border-bottom-width: ".concat(e.separator_weight,";")}]),e.separator_color&&t.push([{selector:"%%order_class%% .dsm-business-hours-separator",declaration:"border-bottom-color: ".concat(e.separator_color,";")}]),"10px"!==e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-business-hours-separator",declaration:"margin-left: ".concat(e.separator_gap,"; margin-right: ").concat(e.separator_gap,";")}]),"center"!==e.content_orientation&&t.push([{selector:"%%order_class%% .dsm_business_hours_child>div",declaration:"align-items: ".concat(e.content_orientation,";")}]),e.item_padding){var r=e.item_padding.split("|"),n=e.item_padding_last_edited,o=n&&n.startsWith("on");if(t.push([{selector:"%%order_class%% .dsm_business_hours_item_wrapper",declaration:"padding-top: ".concat(r[0],"; padding-right: ").concat(r[1]," !important; padding-bottom: ").concat(r[2],"; padding-left: ").concat(r[3]," !important;")}]),e.item_padding_tablet&&o&&e.item_padding_tablet&&""!==e.item_padding_tablet){var a=e.item_padding_tablet.split("|");t.push([{selector:"%%order_class%% .dsm_business_hours_item_wrapper",declaration:"padding-top: ".concat(a[0],"; padding-right: ").concat(a[1]," !important; padding-bottom: ").concat(a[2],"; padding-left: ").concat(a[3]," !important;"),device:"tablet"}])}if(e.item_padding_phone&&o&&e.item_padding_phone&&""!==e.item_padding_phone){var i=e.item_padding_phone.split("|");t.push([{selector:"%%order_class%% .dsm_business_hours_item_wrapper",declaration:"padding-top: ".concat(i[0],"; padding-right: ").concat(i[1]," !important; padding-bottom: ").concat(i[2],"; padding-left: ").concat(i[3]," !important;"),device:"phone"}])}}return t}}],(a=[{key:"render",value:function(){return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_business_hours"},this.props.content))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_business_hours"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n);function a(e){return(a="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})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[];return"center"!==e.content_orientation&&t.push([{selector:"%%order_class%%",declaration:"align-items: ".concat(e.content_orientation,";")}]),t}}],(a=[{key:"_renderTitle",value:function(){var e=this.props,t=void 0===e.title?"Monday":e.title;return t?o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm-business-hours-day"},t)):""}},{key:"_renderTime",value:function(){var e=this.props,t=void 0===e.time?"9:00 AM - 6:00 PM":e.time;return t?o.a.createElement("div",{className:"dsm-business-hours-time"},t):""}},{key:"render",value:function(){return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_business_hours_item_wrapper"},o.a.createElement("div",{className:"dsm-business-hours-header"},this._renderTitle(),o.a.createElement("div",{className:"dsm-business-hours-separator"}),this._renderTime())))}}])&&i(r.prototype,a),l&&i(r,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_business_hours_child"}),t.a=l},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(92);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[],r=void 0===e.icon_font_size?"14px":e.icon_font_size;if("14px"!==e.icon_font_size&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_icon",declaration:"font-size: ".concat(r,";")}]),e.icon_font_size){var n=void 0!==e.icon_font_size__hover_enabled?e.icon_font_size__hover_enabled.split("|"):"",o=e.icon_font_size_last_edited,a=o&&o.startsWith("on");"on"===n[0]&&"hover"===n[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size__hover,";")}]),e.icon_font_size_tablet&&a&&e.icon_font_size_tablet&&""!==e.icon_font_size_tablet&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size_tablet,";"),device:"tablet"}]),e.icon_font_size_phone&&a&&e.icon_font_size_phone&&""!==e.icon_font_size_phone&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size_phone,";"),device:"phone"}])}e.icon_color&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color,";")}]);var i=void 0!==e.icon_color__hover_enabled?e.icon_color__hover_enabled.split("|"):"",s=e.icon_color_last_edited,l=s&&s.startsWith("on");"on"===i[0]&&"hover"===i[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color__hover,";")}]),e.icon_color_tablet&&l&&e.icon_color_tablet&&""!==e.icon_color_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color_tablet,";"),device:"tablet"}]),e.icon_color_phone&&l&&e.icon_color_phone&&""!==e.icon_color_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color_phone,";"),device:"phone"}]),e.icon_background_color&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color,";")}]);var c=void 0!==e.icon_background_color__hover_enabled?e.icon_background_color__hover_enabled.split("|"):"",p=e.icon_background_color_last_edited,h=p&&p.startsWith("on");"on"===c[0]&&"hover"===c[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color__hover,";")}]),e.icon_background_color_tablet&&h&&e.icon_background_color_tablet&&""!==e.icon_background_color_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color_tablet,";"),device:"tablet"}]),e.icon_background_color_phone&&h&&e.icon_background_color_phone&&""!==e.icon_background_color_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color_phone,";"),device:"phone"}]),e.icon_padding&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding,";")}]);var u=void 0!==e.icon_padding__hover_enabled?e.icon_padding__hover_enabled.split("|"):"",d=e.icon_padding_last_edited,f=d&&d.startsWith("on");"on"===u[0]&&"hover"===u[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding__hover,";")}]),e.icon_padding_tablet&&f&&e.icon_padding_tablet&&""!==e.icon_padding_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding_tablet,";"),device:"tablet"}]),e.icon_padding_phone&&f&&e.icon_padding_phone&&""!==e.icon_padding_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding_phone,";"),device:"phone"}]),"flex-start"!==e.list_alignment&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"justify-content: ".concat(e.list_alignment,"; ")}]);var m=e.list_alignment_last_edited,_=m&&m.startsWith("on");e.list_alignment_tablet&&_&&e.list_alignment_tablet&&""!==e.list_alignment_tablet&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"justify-content: ".concat(e.list_alignment_tablet,";"),device:"tablet"}]),e.list_alignment_phone&&_&&e.list_alignment_phone&&""!==e.list_alignment_phone&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"justify-content: ".concat(e.list_alignment_phone,";"),device:"phone"}]),e.list_vertical_alignment&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"align-items: ".concat(e.list_vertical_alignment,"; ")}]);var y=e.list_vertical_alignment_last_edited,b=y&&y.startsWith("on");e.list_vertical_alignment_tablet&&b&&e.list_vertical_alignment_tablet&&""!==e.list_vertical_alignment_tablet&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"align-items: ".concat(e.list_vertical_alignment_tablet,";"),device:"tablet"}]),e.list_vertical_alignment_phone&&b&&e.list_vertical_alignment_phone&&""!==e.list_vertical_alignment_phone&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"align-items: ".concat(e.list_vertical_alignment_phone,";"),device:"phone"}]),e.list_space_between&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child:not(:last-child)",declaration:"margin-bottom: ".concat(e.list_space_between," !important; ")}]);var g=void 0!==e.list_space_between__hover_enabled?e.list_space_between__hover_enabled.split("|"):"",v=e.list_space_between_last_edited,w=v&&v.startsWith("on");"on"===g[0]&&"hover"===g[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child:not(:last-child)",declaration:"margin-bottom: ".concat(e.list_space_between__hover," !important;")}]),e.list_space_between_tablet&&w&&e.list_space_between_tablet&&""!==e.list_space_between_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child:not(:last-child)",declaration:"margin-bottom: ".concat(e.list_space_between_tablet," !important;"),device:"tablet"}]),e.list_space_between_phone&&w&&e.list_space_between_phone&&""!==e.list_space_between_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child:not(:last-child)",declaration:"margin-bottom: ".concat(e.list_space_between_phone," !important;"),device:"phone"}]),e.list_background&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"background-color: ".concat(e.list_background,";")}]);var x=void 0!==e.list_background__hover_enabled?e.list_background__hover_enabled.split("|"):"",E=e.list_background_last_edited,S=E&&E.startsWith("on");"on"===x[0]&&"hover"===x[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"background-color: ".concat(e.list_background__hover,";")}]),e.list_background_tablet&&S&&e.list_background_tablet&&""!==e.list_background_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"background-color: ".concat(e.list_background_tablet,";"),device:"tablet"}]),e.list_background_phone&&S&&e.list_background_phone&&""!==e.list_background_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"background-color: ".concat(e.list_background_phone,";"),device:"phone"}]);var k=void 0!==e.list_padding?e.list_padding.split("|"):"";e.list_padding&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"padding-top: ".concat(k[0],"; padding-right: ").concat(k[1]," !important; padding-bottom: ").concat(k[2],"; padding-left: ").concat(k[3]," !important;")}]);var P=e.list_padding_last_edited,C=P&&P.startsWith("on"),T=void 0!==e.list_padding__hover_enabled?e.list_padding__hover_enabled.split("|"):"";if("on"===T[0]){var A=void 0!==e.list_padding__hover?e.list_padding__hover.split("|"):k;"hover"===T[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"padding-top: ".concat(A[0],"; padding-right: ").concat(A[1]," !important; padding-bottom: ").concat(A[2],"; padding-left: ").concat(A[3]," !important;")}])}if(e.list_padding_tablet&&C&&e.list_padding_tablet&&""!==e.list_padding_tablet){var M=e.list_padding_tablet.split("|");t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"padding-top: ".concat(M[0],"; padding-right: ").concat(M[1]," !important; padding-bottom: ").concat(M[2],"; padding-left: ").concat(M[3]," !important;"),device:"tablet"}])}if(e.list_padding_phone&&C&&e.list_padding_phone&&""!==e.list_padding_phone){var D=e.list_padding_phone.split("|");t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"padding-top: ".concat(D[0],"; padding-right: ").concat(D[1]," !important; padding-bottom: ").concat(D[2],"; padding-left: ").concat(D[3]," !important;"),device:"phone"}])}e.text_indent&&t.push([{selector:"%%order_class%% .dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent,";")}]);var O=void 0!==e.text_indent__hover_enabled?e.text_indent__hover_enabled.split("|"):"",F=e.text_indent_last_edited,I=F&&F.startsWith("on");return"on"===O[0]&&"hover"===O[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent__hover,";")}]),e.text_indent_tablet&&I&&e.text_indent_tablet&&""!==e.text_indent_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent_tablet,";"),device:"tablet"}]),e.text_indent_phone&&I&&e.text_indent_phone&&""!==e.text_indent_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent_phone,";"),device:"phone"}]),t}}],(a=[{key:"render",value:function(){return o.a.createElement("div",{className:"dsm_icon_list"},o.a.createElement("div",{className:"dsm_icon_list_items"},this.props.content))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_icon_list"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n);function a(e){return(a="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})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[];if(e.icon_font_size&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size,";")}]),e.icon_font_size){var r=void 0!==e.icon_font_size__hover_enabled?e.icon_font_size__hover_enabled.split("|"):"",n=e.icon_font_size_last_edited,o=n&&n.startsWith("on");"on"===r[0]&&"hover"===r[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size__hover,";")}]),e.icon_font_size_tablet&&o&&e.icon_font_size_tablet&&""!==e.icon_font_size_tablet&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size_tablet,";"),device:"tablet"}]),e.icon_font_size_phone&&o&&e.icon_font_size_phone&&""!==e.icon_font_size_phone&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size_phone,";"),device:"phone"}])}e.icon_color&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color,";")}]);var a=void 0!==e.icon_color__hover_enabled?e.icon_color__hover_enabled.split("|"):"",i=e.icon_color_last_edited,s=i&&i.startsWith("on");"on"===a[0]&&"hover"===a[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color__hover," !important;")}]),e.icon_color_tablet&&s&&e.icon_color_tablet&&""!==e.icon_color_tablet&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color_tablet,";"),device:"tablet"}]),e.icon_color_phone&&s&&e.icon_color_phone&&""!==e.icon_color_phone&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color_phone,";"),device:"phone"}]),e.icon_background_color&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color,";")}]);var l=void 0!==e.icon_background_color__hover_enabled?e.icon_background_color__hover_enabled.split("|"):"",c=e.icon_background_color_last_edited,p=c&&c.startsWith("on");"on"===l[0]&&"hover"===l[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color__hover,";")}]),e.icon_background_color_tablet&&p&&e.icon_background_color_tablet&&""!==e.icon_background_color_tablet&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color_tablet,";"),device:"tablet"}]),e.icon_background_color_phone&&p&&e.icon_background_color_phone&&""!==e.icon_background_color_phone&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color_phone,";"),device:"phone"}]),e.icon_padding&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding,";")}]);var h=void 0!==e.icon_padding__hover_enabled?e.icon_padding__hover_enabled.split("|"):"",u=e.icon_padding_last_edited,d=u&&u.startsWith("on");"on"===h[0]&&"hover"===h[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding__hover,";")}]),e.icon_padding_tablet&&d&&e.icon_padding_tablet&&""!==e.icon_padding_tablet&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding_tablet,";"),device:"tablet"}]),e.icon_padding_phone&&d&&e.icon_padding_phone&&""!==e.icon_padding_phone&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding_phone,";"),device:"phone"}]),e.text_indent&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent,";")}]);var f=void 0!==e.text_indent__hover_enabled?e.text_indent__hover_enabled.split("|"):"",m=e.text_indent_last_edited,_=m&&m.startsWith("on");return"on"===f[0]&&"hover"===f[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent__hover,";")}]),e.text_indent_tablet&&_&&e.text_indent_tablet&&""!==e.text_indent_tablet&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent_tablet,";"),device:"tablet"}]),e.text_indent_phone&&_&&e.text_indent_phone&&""!==e.text_indent_phone&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent_phone,";"),device:"phone"}]),t}}],(a=[{key:"_renderText",value:function(){var e=this.props,t=void 0===e.text?"Icon List Item":e.text;return t?o.a.createElement("span",{className:"dsm_icon_list_text"},t):""}},{key:"_renderIcon",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r=void 0===e.font_icon?"P":e.font_icon;if("off"!==e.use_icon&&!e.image){var n=void 0!==e.font_icon__hover_enabled?e.font_icon__hover_enabled.split("|"):"";return"on"===n[0]&&"hover"===n[1]&&1===e.hover_enabled?o.a.createElement("span",{className:"dsm_icon_list_icon"},t.processFontIcon(e.font_icon__hover)):o.a.createElement("span",{className:"dsm_icon_list_icon"},t.processFontIcon(r))}}},{key:"render",value:function(){var e="on"===this.props.url_new_window?"_blank":"";return this.props.url?o.a.createElement(n.Fragment,null,o.a.createElement("a",{href:this.props.url,target:e},this._renderIcon(),this._renderText())):o.a.createElement(n.Fragment,null,this._renderIcon(),this._renderText())}}])&&i(r.prototype,a),l&&i(r,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_icon_list_child"}),t.a=l},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(93);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[],r=e.shapes_square_size_last_edited,n=r&&r.startsWith("on");if("triangle"!==e.shapes_type&&("square"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size,"px; width: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"circle"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size,"px; width: ").concat(e.shapes_square_size,"px; border-radius: 50%; background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}]))),"triangle"===e.shapes_type){t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"border-top-color: transparent !important;border-top-width: 0 !important;"}]);var o=parseFloat(e.shapes_square_size,10)/2;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: 0; height: 0; border-left: ".concat(o,"px solid transparent; border-right: ").concat(o,"px solid transparent; border-bottom: ").concat(e.shapes_square_size,"px solid ").concat(e.shape_color,";")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var a=parseFloat(e.shapes_square_size_tablet,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: 0; height: 0; border-left: ".concat(a,"px solid transparent; border-right: ").concat(a,"px solid transparent; border-bottom: ").concat(e.shapes_square_size_tablet,"px solid ").concat(e.shape_color,";"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var i=parseFloat(e.shapes_square_size_phone,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: 0; height: 0; border-left: ".concat(i,"px solid transparent; border-right: ").concat(i,"px solid transparent; border-bottom: ").concat(e.shapes_square_size_phone,"px solid ").concat(e.shape_color,";"),device:"phone"}])}e.shapes_type&&t.push([{selector:"%%order_class%%"}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%%",device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%%",device:"phone"}])}if("rectangle"===e.shapes_type){var s=parseFloat(e.shapes_square_size,10)/2;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(s,"px; background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var l=parseFloat(e.shapes_square_size_tablet,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(l,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var c=parseFloat(e.shapes_square_size_phone,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(c,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])}}if("oval"===e.shapes_type){var p=parseFloat(e.shapes_square_size,10)/2;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(p,"px; border-radius: 50%; background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var h=parseFloat(e.shapes_square_size_tablet,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(h,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var u=parseFloat(e.shapes_square_size_phone,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(u,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])}}if("trapezoid"===e.shapes_type){t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"border-top-color: transparent !important;border-top-width: 0 !important;"}]);var d=parseFloat(e.shapes_square_size,10)/5,f=parseFloat(e.shapes_square_size,10)/5*2;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: 0px; border-bottom: ").concat(f,"px solid ").concat(e.shape_color,";\n border-left: ").concat(d,"px solid transparent;\n border-right: ").concat(d,"px solid transparent;")}]),t.push([{selector:"%%order_class%%"}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var m=parseFloat(e.shapes_square_size_tablet,10)/5,_=parseFloat(e.shapes_square_size_tablet,10)/5*2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size_tablet,"px; height: 0px; border-bottom: ").concat(_,"px solid ").concat(e.shape_color,";\n border-left: ").concat(m,"px solid transparent;\n border-right: ").concat(m,"px solid transparent;"),device:"tablet"}]),t.push([{selector:"%%order_class%%",device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var y=parseFloat(e.shapes_square_size_phone,10)/5,b=parseFloat(e.shapes_square_size_phone,10)/5*2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size_phone,"px; height: 0px; border-bottom: ").concat(b,"px solid ").concat(e.shape_color,";\n border-left: ").concat(y,"px solid transparent;\n border-right: ").concat(y,"px solid transparent;"),device:"phone"}]),t.push([{selector:"%%order_class%%",device:"phone"}])}}if("parallelogram"===e.shapes_type){var g=parseFloat(e.shapes_square_size,10)/2;if(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(g,"px; transform: skew(20deg); background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var v=parseFloat(e.shapes_square_size_tablet,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(v,"px;"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var w=parseFloat(e.shapes_square_size_phone,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(w,"px;"),device:"phone"}])}}if("diamond_square"===e.shapes_type&&(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color)}]),t.push([{selector:"%%order_class%%"}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"hexagon"===e.shapes_type){t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"border-width: 0 !important;"}]);var x=parseFloat(e.shapes_square_size,10)/2,E=parseFloat(e.shapes_square_size,10)/1.77,S=parseFloat(e.shapes_square_size,10)/4;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"margin: ".concat(S,"px 0 !important;")}]),t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"position: relative; width: ".concat(e.shapes_square_size,"px; height: ").concat(E,"px; background-color: ").concat(e.shape_color)}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:before",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(x,"px solid transparent;\n border-right: ").concat(x,"px solid transparent; bottom: 100%; border-bottom: ").concat(S,"px solid ").concat(e.shape_color,";")}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:after",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(x,"px solid transparent;\n border-right: ").concat(x,"px solid transparent; top: 100%;\n width: 0; border-top: ").concat(S,"px solid ").concat(e.shape_color,";")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var k=parseFloat(e.shapes_square_size_tablet,10)/2,P=parseFloat(e.shapes_square_size_tablet,10)/1.77,C=parseFloat(e.shapes_square_size_tablet,10)/4;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"position: relative; width: ".concat(e.shapes_square_size_tablet,"px; height: ").concat(P,"px; background-color: ").concat(e.shape_color),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"margin: ".concat(C,"px 0 !important;"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:before",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(k,"px solid transparent;\n border-right: ").concat(k,"px solid transparent; bottom: 100%; border-bottom: ").concat(C,"px solid ").concat(e.shape_color,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:after",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(k,"px solid transparent;\n border-right: ").concat(k,"px solid transparent; top: 100%;\n width: 0; border-top: ").concat(C,"px solid ").concat(e.shape_color,";"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var T=parseFloat(e.shapes_square_size_phone,10)/2,A=parseFloat(e.shapes_square_size_phone,10)/1.77,M=parseFloat(e.shapes_square_size_phone,10)/4;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"position: relative; width: ".concat(e.shapes_square_size_phone,"px; height: ").concat(A,"px; background-color: ").concat(e.shape_color),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"margin: ".concat(M,"px 0 !important;"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:before",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(T,"px solid transparent;\n border-right: ").concat(T,"px solid transparent; bottom: 100%; border-bottom: ").concat(M,"px solid ").concat(e.shape_color,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:after",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(T,"px solid transparent;\n border-right: ").concat(T,"px solid transparent; top: 100%;\n width: 0; border-top: ").concat(M,"px solid ").concat(e.shape_color,";"),device:"phone"}])}}return"blob_one"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_two"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_three"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_four"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_five"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_six"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_seven"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_eight"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),t}}],(a=[{key:"_renderhexagon",value:function(){var e=this.props;if("hexagon"===e.shapes_type)return o.a.createElement("svg",{width:"175",height:"200"},o.a.createElement("polyline",{fill:e.shape_color,transform:"scale(1)",points:"87,0 174,50 174,150 87,200 0,150 0,50 87,0"}))}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_shapes_wrapper dsm_shapes_".concat(e.shapes_type)}))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_shapes"}),t.a=c},function(e,t,r){"use strict";(function(e){var n=r(0),o=r.n(n),a=r(18),i=r.n(a),s=r(94);r.n(s);function l(e){return(l="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})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(t){function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}var a,s,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n["Component"]),a=r,l=[{key:"css",value:function(e){var t=[];if("off"===e.no_overlay){var r=e.overlay_color_last_edited,n=r&&r.startsWith("on");e.overlay_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-overlay:hover",declaration:"background-color: ".concat(e.overlay_color,";")}]),e.overlay_color_tablet&&n&&e.overlay_color_tablet&&""!==e.overlay_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-overlay:hover",declaration:"background-color: ".concat(e.overlay_color_tablet,";"),device:"tablet"}]),e.overlay_color_phone&&n&&e.overlay_color_phone&&""!==e.overlay_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-overlay:hover",declaration:"background-color: ".concat(e.overlay_color_phone,";"),device:"phone"}]);var o=e.before_label_background_color_last_edited,a=o&&o.startsWith("on");e.before_label_background_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-before-label:before",declaration:"background-color: ".concat(e.before_label_background_color,";")}]),e.before_label_background_color_tablet&&a&&e.before_label_background_color_tablet&&""!==e.before_label_background_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-before-label:before",declaration:"background-color: ".concat(e.before_label_background_color_tablet,";"),device:"tablet"}]),e.before_label_background_color_phone&&a&&e.before_label_background_color_phone&&""!==e.before_label_background_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-before-label:before",declaration:"background-color: ".concat(e.before_label_background_color_phone,";"),device:"phone"}]);var i=e.after_label_background_color_last_edited,s=i&&i.startsWith("on");e.after_label_background_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-after-label:before",declaration:"background-color: ".concat(e.after_label_background_color,";")}]),e.after_label_background_color_tablet&&s&&e.after_label_background_color_tablet&&""!==e.after_label_background_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-after-label:before",declaration:"background-color: ".concat(e.after_label_background_color_tablet,";"),device:"tablet"}]),e.after_label_background_color_phone&&s&&e.after_label_background_color_phone&&""!==e.after_label_background_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-after-label:before",declaration:"background-color: ".concat(e.after_label_background_color_phone,";"),device:"phone"}])}var l=e.handle_border_color_last_edited,c=l&&l.startsWith("on");e.handle_border_color&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:after",declaration:"background-color: ".concat(e.handle_border_color,";")}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-color: ".concat(e.handle_border_color,";")}])),e.handle_border_color_tablet&&c&&e.handle_border_color_tablet&&""!==e.handle_border_color_tablet&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:after",declaration:"background-color: ".concat(e.handle_border_color_tablet,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-color: ".concat(e.handle_border_color_tablet,";"),device:"tablet"}])),e.handle_border_color_phone&&c&&e.handle_border_color_phone&&""!==e.handle_border_color_phone&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:after",declaration:"background-color: ".concat(e.handle_border_color_phone,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-color: ".concat(e.handle_border_color_phone,";"),device:"phone"}]));var p=e.handle_border_radius_last_edited,h=p&&p.startsWith("on");e.handle_border_radius&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-radius: ".concat(e.handle_border_radius,";")}]),e.handle_border_radius_tablet&&h&&e.handle_border_radius_tablet&&""!==e.handle_border_radius_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-radius: ".concat(e.handle_border_radius_tablet,";"),device:"tablet"}]),e.handle_border_radius_phone&&h&&e.handle_border_radius_phone&&""!==e.handle_border_radius_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-radius: ".concat(e.handle_border_radius_phone,";"),device:"phone"}]);var u=e.handle_background_color_last_edited,d=u&&u.startsWith("on");e.handle_background_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"background-color: ".concat(e.handle_background_color,";")}]),e.handle_background_color_tablet&&d&&e.handle_background_color_tablet&&""!==e.handle_background_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"background-color: ".concat(e.handle_background_color_tablet,";"),device:"tablet"}]),e.handle_background_color_phone&&d&&e.handle_background_color_phone&&""!==e.handle_background_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"background-color: ".concat(e.handle_background_color_phone,";"),device:"phone"}]);var f=e.handle_arrow_color_last_edited,m=f&&f.startsWith("on");return"vertical"===e.orientation?(e.handle_arrow_color&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-down-arrow",declaration:"border-top-color: ".concat(e.handle_arrow_color,";")}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-up-arrow",declaration:"border-bottom-color: ".concat(e.handle_arrow_color,";")}])),e.handle_arrow_color_tablet&&m&&e.handle_arrow_color_tablet&&""!==e.handle_arrow_color_tablet&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-down-arrow",declaration:"border-top-color: ".concat(e.handle_arrow_color_tablet,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-up-arrow",declaration:"border-bottom-color: ".concat(e.handle_arrow_color_tablet,";"),device:"tablet"}])),e.handle_arrow_color_phone&&m&&e.handle_arrow_color_phone&&""!==e.handle_arrow_color_phone&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-down-arrow",declaration:"border-top-color: ".concat(e.handle_arrow_color_phone,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-up-arrow",declaration:"border-bottom-color: ".concat(e.handle_arrow_color_phone,";"),device:"phone"}]))):(e.handle_arrow_color&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-left-arrow",declaration:"border-right-color: ".concat(e.handle_arrow_color,";")}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-right-arrow",declaration:"border-left-color: ".concat(e.handle_arrow_color,";")}])),e.handle_arrow_color_tablet&&m&&e.handle_arrow_color_tablet&&""!==e.handle_arrow_color_tablet&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-left-arrow",declaration:"border-right-color: ".concat(e.handle_arrow_color_tablet,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-right-arrow",declaration:"border-left-color: ".concat(e.handle_arrow_color_tablet,";"),device:"tablet"}])),e.handle_arrow_color_phone&&m&&e.handle_arrow_color_phone&&""!==e.handle_arrow_color_phone&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-left-arrow",declaration:"border-right-color: ".concat(e.handle_arrow_color_phone,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-right-arrow",declaration:"border-left-color: ".concat(e.handle_arrow_color_phone,";"),device:"phone"}])),e.handle_border_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after",declaration:"box-shadow: 0 -3px 0 ".concat(e.handle_border_color,", 0px 0px 12px rgba(51, 51, 51, 0.5);")}]),e.handle_border_color_tablet&&c&&e.handle_border_color_tablet&&""!==e.handle_border_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after",declaration:"box-shadow: 0 -3px 0 ".concat(e.handle_border_color_tablet,", 0px 0px 12px rgba(51, 51, 51, 0.5);"),device:"tablet"}]),e.handle_border_color_phone&&c&&e.handle_border_color_phone&&""!==e.handle_border_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after",declaration:"box-shadow: 0 -3px 0 ".concat(e.handle_border_color_phone,", 0px 0px 12px rgba(51, 51, 51, 0.5);"),device:"phone"}])),t}}],(s=[{key:"componentDidMount",value:function(){var t,r;t=function(){var e=Object.assign||window.jQuery&&i.a.extend,t=8,r=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){return window.setTimeout(function(){e()},25)};!function(){if("function"===typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r}e.prototype=window.Event.prototype,window.CustomEvent=e}();var n={textarea:!0,input:!0,select:!0,button:!0},o={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},a={move:"touchmove",cancel:"touchend",end:"touchend"},s=/\s+/,l={bubbles:!0,cancelable:!0},c="function"===typeof Symbol?Symbol("events"):{};function p(e){return e[c]||(e[c]={})}function h(e,t,r,n,o){t=t.split(s);var a,i=p(e),l=t.length;function c(e){r(e,n)}for(;l--;)(i[a=t[l]]||(i[a]=[])).push([r,c]),e.addEventListener(a,c)}function u(e,t,r,n){t=t.split(s);var o,a,i,l=p(e),c=t.length;if(l)for(;c--;)if(a=l[o=t[c]])for(i=a.length;i--;)a[i][0]===r&&(e.removeEventListener(o,a[i][1]),a.splice(i,1))}function d(t,r,n){var o=function(e){return new CustomEvent(e,l)}(r);n&&e(o,n),t.dispatchEvent(o)}function f(){}function m(e){e.preventDefault()}function _(e,t){var r,n;if(e.identifiedTouch)return e.identifiedTouch(t);for(r=-1,n=e.length;++r<n;)if(e[r].identifier===t)return e[r]}function y(e,t){var r=_(e.changedTouches,t.identifier);if(r&&(r.pageX!==t.pageX||r.pageY!==t.pageY))return r}function b(e,t){x(e,t,e,v)}function g(e,t){v()}function v(){u(document,o.move,b),u(document,o.cancel,g)}function w(e){u(document,a.move,e.touchmove),u(document,a.cancel,e.touchend)}function x(e,r,n,o){var a=n.pageX-r.pageX,i=n.pageY-r.pageY;a*a+i*i<t*t||function(e,t,r,n,o,a){var i=e.targetTouches,s=e.timeStamp-t.timeStamp,l={altKey:e.altKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,startX:t.pageX,startY:t.pageY,distX:n,distY:o,deltaX:n,deltaY:o,pageX:r.pageX,pageY:r.pageY,velocityX:n/s,velocityY:o/s,identifier:t.identifier,targetTouches:i,finger:i?i.length:1,enableMove:function(){this.moveEnabled=!0,this.enableMove=f,e.preventDefault()}};d(t.target,"movestart",l),a(t)}(e,r,n,a,i,o)}function E(e,t){var r=t.timer;t.touch=e,t.timeStamp=e.timeStamp,r.kick()}function S(e,t){var r=t.target,n=t.event,a=t.timer;u(document,o.move,E),u(document,o.end,S),P(r,n,a,function(){setTimeout(function(){u(r,"click",m)},0)})}function k(e,t){var r=t.target,n=t.event,o=t.timer;_(e.changedTouches,n.identifier)&&(!function(e){u(document,a.move,e.activeTouchmove),u(document,a.end,e.activeTouchend)}(t),P(r,n,o))}function P(e,t,r,n){r.end(function(){return d(e,"moveend",t),n&&n()})}if(h(document,"mousedown",function(e){(function(e){return 1===e.which&&!e.ctrlKey&&!e.altKey})(e)&&(function(e){return!!n[e.target.tagName.toLowerCase()]}(e)||(h(document,o.move,b,e),h(document,o.cancel,g,e)))}),h(document,"touchstart",function(e){if(!n[e.target.tagName.toLowerCase()]){var t=e.changedTouches[0],r={target:t.target,pageX:t.pageX,pageY:t.pageY,identifier:t.identifier,touchmove:function(e,t){!function(e,t){var r=y(e,t);r&&x(e,t,r,w)}(e,t)},touchend:function(e,t){!function(e,t){_(e.changedTouches,t.identifier)&&w(t)}(e,t)}};h(document,a.move,r.touchmove,r),h(document,a.cancel,r.touchend,r)}}),h(document,"movestart",function(e){if(!e.defaultPrevented&&e.moveEnabled){var t={startX:e.startX,startY:e.startY,pageX:e.pageX,pageY:e.pageY,distX:e.distX,distY:e.distY,deltaX:e.deltaX,deltaY:e.deltaY,velocityX:e.velocityX,velocityY:e.velocityY,identifier:e.identifier,targetTouches:e.targetTouches,finger:e.finger},n={target:e.target,event:t,timer:new function(e){var t=e,n=!1,o=!1;function a(e){n?(t(),r(a),o=!0,n=!1):o=!1}this.kick=function(e){n=!0,o||a()},this.end=function(e){var r=t;e&&(o?(t=n?function(){r(),e()}:e,n=!0):e())}}(function(e){(function(e,t,r){var n=r-e.timeStamp;e.distX=t.pageX-e.startX,e.distY=t.pageY-e.startY,e.deltaX=t.pageX-e.pageX,e.deltaY=t.pageY-e.pageY,e.velocityX=.3*e.velocityX+.7*e.deltaX/n,e.velocityY=.3*e.velocityY+.7*e.deltaY/n,e.pageX=t.pageX,e.pageY=t.pageY})(t,n.touch,n.timeStamp),d(n.target,"move",t)}),touch:void 0,timeStamp:e.timeStamp};void 0===e.identifier?(h(e.target,"click",m),h(document,o.move,E,n),h(document,o.end,S,n)):(n.activeTouchmove=function(e,t){!function(e,t){var r=t.event,n=t.timer,o=y(e,r);o&&(e.preventDefault(),r.targetTouches=e.targetTouches,t.touch=o,t.timeStamp=e.timeStamp,n.kick())}(e,t)},n.activeTouchend=function(e,t){k(e,t)},h(document,a.move,n.activeTouchmove,n),h(document,a.end,n.activeTouchend,n))}}),window.jQuery){var C="startX startY pageX pageY distX distY deltaX deltaY velocityX velocityY".split(" ");i.a.event.special.movestart={setup:function(){return h(this,"movestart",T),!1},teardown:function(){return u(this,"movestart",T),!1},add:D},i.a.event.special.move={setup:function(){return h(this,"movestart",A),!1},teardown:function(){return u(this,"movestart",A),!1},add:D},i.a.event.special.moveend={setup:function(){return h(this,"movestart",M),!1},teardown:function(){return u(this,"movestart",M),!1},add:D}}function T(e){e.enableMove()}function A(e){e.enableMove()}function M(e){e.enableMove()}function D(e){var t=e.handler;e.handler=function(e){for(var r,n=C.length;n--;)e[r=C[n]]=e.originalEvent[r];t.apply(this,arguments)}}},"undefined"!==typeof e&&null!==e&&e.exports?e.exports=t:t(),(r=i.a).fn.twentytwenty=function(e){return e=r.extend({default_offset_pct:.5,orientation:"horizontal",before_label:"Before",after_label:"After",no_overlay:!1,move_slider_on_hover:!1,move_with_handle_only:!0,click_to_move:!1},e),this.each(function(){var t=e.default_offset_pct,n=r(this),o=e.orientation,a="vertical"===o?"down":"left",i="vertical"===o?"up":"right";if(!e.no_overlay){n.children(".dsm-before-after-image-slider-overlay").length||n.append("<div class='dsm-before-after-image-slider-overlay'></div>");var s=n.find(".dsm-before-after-image-slider-overlay");s.children(".dsm-before-after-image-slider-before-label").length||s.append("<div class='dsm-before-after-image-slider-before-label' data-content='"+e.before_label+"'></div>"),s.children(".dsm-before-after-image-slider-after-label").length||s.append("<div class='dsm-before-after-image-slider-after-label' data-content='"+e.after_label+"'></div>")}var l=n.find("img:first"),c=n.find("img:last");n.children(".dsm-before-after-image-slider-handle").length||n.append("<div class='dsm-before-after-image-slider-handle'></div>");var p=n.find(".dsm-before-after-image-slider-handle");p.children(".dsm-before-after-image-slider-"+a+"-arrow").length||p.append("<span class='dsm-before-after-image-slider-"+a+"-arrow'></span>"),p.children(".dsm-before-after-image-slider-"+i+"-arrow").length||p.append("<span class='dsm-before-after-image-slider-"+i+"-arrow'></span>"),n.addClass("dsm-before-after-image-slider-container"),l.addClass("dsm-before-after-image-slider-before"),c.addClass("dsm-before-after-image-slider-after");var h=function(e){var t,r,a,i=(t=e,r=l.width(),a=l.height(),{w:r+"px",h:a+"px",cw:t*r+"px",ch:t*a+"px"});p.css("vertical"===o?"top":"left","vertical"===o?i.ch:i.cw),function(e){"vertical"===o?(l.css("clip","rect(0,"+e.w+","+e.ch+",0)"),c.css("clip","rect("+e.ch+","+e.w+","+e.h+",0)")):(l.css("clip","rect(0,"+e.cw+","+e.h+",0)"),c.css("clip","rect(0,"+e.w+","+e.h+","+e.cw+")")),n.css("height",e.h)}(i)},u=function(e,t){var r,n,a;return r="vertical"===o?(t-f)/_:(e-d)/m,n=0,a=1,Math.max(n,Math.min(a,r))};r(window).on("resize.twentytwenty",function(e){h(t)});var d=0,f=0,m=0,_=0,y=function(e){(e.distX>e.distY&&e.distX<-e.distY||e.distX<e.distY&&e.distX>-e.distY)&&"vertical"!==o?e.preventDefault():(e.distX<e.distY&&e.distX<-e.distY||e.distX>e.distY&&e.distX>-e.distY)&&"vertical"===o&&e.preventDefault(),n.addClass("active"),d=n.offset().left,f=n.offset().top,m=l.width(),_=l.height()},b=function(e){n.hasClass("active")&&(t=u(e.pageX,e.pageY),h(t))},g=function(){n.removeClass("active")},v=e.move_with_handle_only?p:n;v.on("movestart",y),v.on("move",b),v.on("moveend",g),!0===e.move_slider_on_hover?(n.on("mouseenter",y),n.on("mousemove",b),n.on("mouseleave",g)):n.unbind("mouseenter mousemove mouseleave"),p.on("touchmove",function(e){e.preventDefault()}),n.find("img").on("mousedown",function(e){e.preventDefault()}),!0===e.click_to_move?n.on("click",function(e){d=n.offset().left,f=n.offset().top,m=l.width(),_=l.height(),t=u(e.pageX,e.pageY),h(t)}):n.unbind("click"),r(window).trigger("resize.twentytwenty")})}}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=this.refs.init;e.orientation!==this.props.orientation&&i()(r).find(".dsm-before-after-image-slider-handle").remove(),"on"===t.no_overlay&&i()(r).find(".dsm-before-after-image-slider-overlay").remove(),e.before_label_text!==this.props.before_label_text&&i()(r).find(".dsm-before-after-image-slider-before-label").attr("data-content",this.props.before_label_text),e.after_label_text!==this.props.after_label_text&&i()(r).find(".dsm-before-after-image-slider-after-label").attr("data-content",this.props.after_label_text),i()(r).twentytwenty({default_offset_pct:this.props.default_offset_pct,orientation:this.props.orientation,before_label:this.props.before_label_text,after_label:this.props.after_label_text,no_overlay:"on"===this.props.no_overlay,move_slider_on_hover:"on"===this.props.move_slider_on_hover,move_with_handle_only:"on"===this.props.move_with_handle_only,click_to_move:"on"===this.props.click_to_move})}},{key:"renderBeforeImage",value:function(){var e=this.props;if(e.before_src)return o.a.createElement("img",{src:e.before_src,alt:e.before_alt,title:e.before_title_text})}},{key:"renderAfterImage",value:function(){var e=this.props;if(e.after_src)return o.a.createElement("img",{src:e.after_src,alt:e.after_alt,title:e.after_title_text})}},{key:"render",value:function(){var e=this.props;return o.a.createElement("div",{className:"dsm-before-after-image-slider-wrapper dsm-before-after-image-slider-".concat(e.orientation)},o.a.createElement("div",{ref:"init",className:"dsm_before_after_image_wrapper"},this.renderBeforeImage(),this.renderAfterImage()))}}])&&c(a.prototype,s),l&&c(a,l),r}();Object.defineProperty(h,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_before_after_image"}),t.a=h}).call(t,r(334)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(336),i=r.n(a),s=r(18),l=r.n(s);function c(e){return(c="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})(e)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,s=[{key:"css",value:function(e){return[]}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,t="on"===e.lottie_loop,r="on"===e.lottie_autoplay,n=e.lottie_speed,o=e.lottie_direction,a=e.moduleInfo.address.replace(/[ .]/g,"_"),s=e.moduleInfo.type+"_"+a;!0===r&&parseInt(e.lottie_delay,10)===parseInt(e.lottie_delay,10)&&parseInt(e.lottie_delay,10);if(e.lottie_url){var l=i.a.loadAnimation({container:document.getElementById(s),renderer:"svg",loop:t,autoplay:!1,path:e.lottie_url,rendererSettings:{progressiveLoad:!1}});l.setSpeed(n),l.setDirection(o),l.setSubframe(!1);new Waypoint({element:document.getElementById(s),handler:function(t){"down"===t?setTimeout(function(){l.play()},parseInt(e.lottie_delay,10)):l.pause()},offset:e.lottie_animation_viewport})}}},{key:"componentDidUpdate",value:function(e){var t=this.props,r="on"===t.lottie_loop,n="on"===t.lottie_autoplay,o=t.lottie_speed,a=t.lottie_direction,s=t.moduleInfo.address.replace(/[ .]/g,"_"),c=t.moduleInfo.type+"_"+s;!0===n&&parseInt(t.lottie_delay,10)===parseInt(t.lottie_delay,10)&&parseInt(t.lottie_delay,10);t.lottie_url&&setTimeout(function(){l()("#"+c).empty();var e=i.a.loadAnimation({container:document.getElementById(c),renderer:"svg",loop:r,autoplay:!1,path:t.lottie_url,rendererSettings:{progressiveLoad:!1}});e.setSpeed(o),e.setDirection(a),e.setSubframe(!1);new Waypoint({element:document.getElementById(c),handler:function(r){"down"===r?setTimeout(function(){e.play()},parseInt(t.lottie_delay,10)):e.pause()},offset:t.lottie_animation_viewport})},500)}},{key:"componentWillUnmount",value:function(){i.a.loadAnimation({container:this.refs.init}).destroy()}},{key:"shouldComponentUpdate",value:function(e,t){return e.lottie_loop!==this.props.lottie_loop||e.lottie_delay!==this.props.lottie_delay||e.lottie_url!==this.props.lottie_url||e.lottie_speed!==this.props.lottie_speed||e.lottie_direction!==this.props.lottie_direction}},{key:"render",value:function(){var e=this.props,t=e.moduleInfo.address.replace(/[ .]/g,"_");return o.a.createElement("div",{ref:"init",id:"".concat(e.moduleInfo.type,"_").concat(t),className:"dsm_lottie_wrapper"})}}])&&p(r.prototype,a),s&&p(r,s),t}();Object.defineProperty(u,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_lottie"}),t.a=u},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,root,factory;function _typeof(e){return(_typeof="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})(e)}"undefined"!==typeof navigator&&(root=window||{},factory=function(window){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};function ProjectInterface(){return{}}!function(){var e,t=["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"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof(e)&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){bm_rnd=e?Math.round:function(e){return e}}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin=e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility=e.style.webkitBackfaceVisibility="visible",e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t,this.currentTime=currentTime}roundValues(!1);var createElementID=(_count=0,function(){return"__lottie_element_"+ ++_count}),_count;function HSVtoRGB(e,t,r){var n,o,a,i,s,l,c,p;switch(l=r*(1-t),c=r*(1-(s=6*e-(i=Math.floor(6*e)))*t),p=r*(1-(1-s)*t),i%6){case 0:n=r,o=p,a=l;break;case 1:n=c,o=r,a=l;break;case 2:n=l,o=r,a=p;break;case 3:n=l,o=c,a=r;break;case 4:n=p,o=l,a=r;break;case 5:n=r,o=l,a=c}return[n,o,a]}function RGBtoHSV(e,t,r){var n,o=Math.max(e,t,r),a=Math.min(e,t,r),i=o-a,s=0===o?0:i/o,l=o/255;switch(o){case a:n=0;break;case e:n=t-r+i*(t<r?6:0),n/=6*i;break;case t:n=r-e+2*i,n/=6*i;break;case r:n=e-t+4*i,n/=6*i}return[n,s,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1==t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e].length,n=0;n<r;n++)this._cbs[e][n](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var createTypedArray=function(){return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?function(e,t){return"float32"===e?new Float32Array(t):"int16"===e?new Int16Array(t):"uint8c"===e?new Uint8ClampedArray(t):void 0}:function(e,t){var r,n=0,o=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<t;n+=1)o.push(r);return o}}();function createSizedArray(e){return Array.apply(null,{length:e})}function createNS(e){return document.createElementNS(svgNS,e)}function createTag(e){return document.createElement(e)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var getBlendMode=(blendModeEnums={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"},function(e){return blendModeEnums[e]||""}),blendModeEnums,Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function o(){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 a(r){if(0===r)return this;var n=e(r),o=t(r);return this._t(n,-o,0,0,o,n,0,0,0,0,1,0,0,0,0,1)}function i(r){if(0===r)return this;var n=e(r),o=t(r);return this._t(1,0,0,0,0,n,-o,0,0,o,n,0,0,0,0,1)}function s(r){if(0===r)return this;var n=e(r),o=t(r);return this._t(n,0,o,0,0,1,0,0,-o,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=e(r),o=t(r);return this._t(n,-o,0,0,o,n,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function p(e,t){return this.shear(r(e),r(t))}function h(n,o){var a=e(o),i=t(o);return this._t(a,i,0,0,-i,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(a,-i,0,0,i,a,0,0,0,0,1,0,0,0,0,1)}function u(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function d(e,t,r,n,o,a,i,s,l,c,p,h,u,d,f,m){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=n,this.props[4]=o,this.props[5]=a,this.props[6]=i,this.props[7]=s,this.props[8]=l,this.props[9]=c,this.props[10]=p,this.props[11]=h,this.props[12]=u,this.props[13]=d,this.props[14]=f,this.props[15]=m,this}function f(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function m(e,t,r,n,o,a,i,s,l,c,p,h,u,d,f,m){var _=this.props;if(1===e&&0===t&&0===r&&0===n&&0===o&&1===a&&0===i&&0===s&&0===l&&0===c&&1===p&&0===h)return _[12]=_[12]*e+_[15]*u,_[13]=_[13]*a+_[15]*d,_[14]=_[14]*p+_[15]*f,_[15]=_[15]*m,this._identityCalculated=!1,this;var y=_[0],b=_[1],g=_[2],v=_[3],w=_[4],x=_[5],E=_[6],S=_[7],k=_[8],P=_[9],C=_[10],T=_[11],A=_[12],M=_[13],D=_[14],O=_[15];return _[0]=y*e+b*o+g*l+v*u,_[1]=y*t+b*a+g*c+v*d,_[2]=y*r+b*i+g*p+v*f,_[3]=y*n+b*s+g*h+v*m,_[4]=w*e+x*o+E*l+S*u,_[5]=w*t+x*a+E*c+S*d,_[6]=w*r+x*i+E*p+S*f,_[7]=w*n+x*s+E*h+S*m,_[8]=k*e+P*o+C*l+T*u,_[9]=k*t+P*a+C*c+T*d,_[10]=k*r+P*i+C*p+T*f,_[11]=k*n+P*s+C*h+T*m,_[12]=A*e+M*o+D*l+O*u,_[13]=A*t+M*a+D*c+O*d,_[14]=A*r+M*i+D*p+O*f,_[15]=A*n+M*s+D*h+O*m,this._identityCalculated=!1,this}function _(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function b(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t]}function g(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function v(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function w(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function x(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function E(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function S(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,n=-this.props[4]/e,o=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,i=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,s=new Matrix;return s.props[0]=t,s.props[1]=r,s.props[4]=n,s.props[5]=o,s.props[12]=a,s.props[13]=i,s}function k(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function P(e){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n[t]=k(e[t]);return n}function C(e,t,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=e[0],n[1]=e[1],n[2]=t[0],n[3]=t[1],n[4]=r[0],n[5]=r[1];else{var o=this.props[0],a=this.props[1],i=this.props[4],s=this.props[5],l=this.props[12],c=this.props[13];n[0]=e[0]*o+e[1]*i+l,n[1]=e[0]*a+e[1]*s+c,n[2]=t[0]*o+t[1]*i+l,n[3]=t[0]*a+t[1]*s+c,n[4]=r[0]*o+r[1]*i+l,n[5]=r[0]*a+r[1]*s+c}return n}function T(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function A(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function M(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=n(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function D(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function O(){var e=this.props;return"matrix("+D(e[0])+","+D(e[1])+","+D(e[4])+","+D(e[5])+","+D(e[12])+","+D(e[13])+")"}return function(){this.reset=o,this.rotate=a,this.rotateX=i,this.rotateY=s,this.rotateZ=l,this.skew=p,this.skewFromAxis=h,this.shear=c,this.scale=u,this.setTransform=d,this.translate=f,this.transform=m,this.applyToPoint=v,this.applyToX=w,this.applyToY=x,this.applyToZ=E,this.applyToPointArray=T,this.applyToTriplePoints=C,this.applyToPointStringified=A,this.toCSS=M,this.to2dCSS=O,this.clone=b,this.cloneFromProps=g,this.equals=y,this.inversePoints=P,this.inversePoint=k,this.getInverseMatrix=S,this._t=this.transform,this.isIdentity=_,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(e,t){var r,n=this,o=256,a=6,i="random",s=t.pow(o,a),l=t.pow(2,52),c=2*l,p=o-1;function h(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function u(e,t){for(var r,n=e+"",o=0;o<n.length;)t[p&o]=p&(r^=19*t[p&o])+n.charCodeAt(o++);return d(t)}function d(e){return String.fromCharCode.apply(0,e)}t["seed"+i]=function(f,m,_){var y=[],b=u(function e(t,r){var n,o=[],a=_typeof(t);if(r&&"object"==a)for(n in t)try{o.push(e(t[n],r-1))}catch(e){}return o.length?o:"string"==a?t:t+"\0"}((m=!0===m?{entropy:!0}:m||{}).entropy?[f,d(e)]:null===f?function(){try{if(r)return d(r.randomBytes(o));var t=new Uint8Array(o);return(n.crypto||n.msCrypto).getRandomValues(t),d(t)}catch(t){var a=n.navigator,i=a&&a.plugins;return[+new Date,n,i,n.screen,d(e)]}}():f,3),y),g=new function(e){var t,r=e.length,n=this,a=0,i=n.i=n.j=0,s=n.S=[];for(r||(e=[r++]);a<o;)s[a]=a++;for(a=0;a<o;a++)s[a]=s[i=p&i+e[a%r]+(t=s[a])],s[i]=t;n.g=function(e){for(var t,r=0,a=n.i,i=n.j,s=n.S;e--;)t=s[a=p&a+1],r=r*o+s[p&(s[a]=s[i=p&i+t])+(s[i]=t)];return n.i=a,n.j=i,r}}(y),v=function(){for(var e=g.g(a),t=s,r=0;e<l;)e=(e+r)*o,t*=o,r=g.g(1);for(;e>=c;)e/=2,t/=2,r>>>=1;return(e+r)/t};return v.int32=function(){return 0|g.g(4)},v.quick=function(){return g.g(4)/4294967296},v.double=v,u(d(g.S),e),(m.pass||_||function(e,r,n,o){return o&&(o.S&&h(o,g),e.state=function(){return h(g,{})}),n?(t[i]=e,r):e})(v,b,"global"in m?m.global:this==t,m.state)},u(t.random(),e)}([],BMMath);var BezierFactory=function(){var e={getBezierEasing:function(e,r,n,o,a){var i=a||("bez_"+e+"_"+r+"_"+n+"_"+o).replace(/\./g,"p");if(t[i])return t[i];var s=new d([e,r,n,o]);return t[i]=s,s}},t={};var r=4,n=1e-7,o=10,a=11,i=1/(a-1),s="function"===typeof Float32Array;function l(e,t){return 1-3*t+3*e}function c(e,t){return 3*t-6*e}function p(e){return 3*e}function h(e,t,r){return((l(t,r)*e+c(t,r))*e+p(t))*e}function u(e,t,r){return 3*l(t,r)*e*e+2*c(t,r)*e+p(t)}function d(e){this._p=e,this._mSampleValues=s?new Float32Array(a):new Array(a),this._precomputed=!1,this.get=this.get.bind(this)}return d.prototype={get:function(e){var t=this._p[0],r=this._p[1],n=this._p[2],o=this._p[3];return this._precomputed||this._precompute(),t===r&&n===o?e:0===e?0:1===e?1:h(this._getTForX(e),r,o)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,e===t&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],r=0;r<a;++r)this._mSampleValues[r]=h(r*i,e,t)},_getTForX:function(e){for(var t=this._p[0],s=this._p[2],l=this._mSampleValues,c=0,p=1,d=a-1;p!==d&&l[p]<=e;++p)c+=i;var f=c+(e-l[--p])/(l[p+1]-l[p])*i,m=u(f,t,s);return m>=.001?function(e,t,n,o){for(var a=0;a<r;++a){var i=u(t,n,o);if(0===i)return t;t-=(h(t,n,o)-e)/i}return t}(e,f,t,s):0===m?f:function(e,t,r,a,i){var s,l,c=0;do{(s=h(l=t+(r-t)/2,a,i)-e)>0?r=l:t=l}while(Math.abs(s)>n&&++c<o);return l}(e,c,c+i,t,s)}},e}();function extendPrototype(e,t){var r,n,o=e.length;for(r=0;r<o;r+=1)for(var a in n=e[r].prototype)n.hasOwnProperty(a)&&(t.prototype[a]=n[a])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}function bezFunction(){Math;function e(e,t,r,n,o,a){var i=e*n+t*o+r*a-o*n-a*e-r*t;return i>-.001&&i<.001}var t=function(e,t,r,n){var o,a,i,s,l,c,p=defaultCurveSegments,h=0,u=[],d=[],f=bezier_length_pool.newElement();for(i=r.length,o=0;o<p;o+=1){for(l=o/(p-1),c=0,a=0;a<i;a+=1)s=bm_pow(1-l,3)*e[a]+3*bm_pow(1-l,2)*l*r[a]+3*(1-l)*bm_pow(l,2)*n[a]+bm_pow(l,3)*t[a],u[a]=s,null!==d[a]&&(c+=bm_pow(u[a]-d[a],2)),d[a]=u[a];c&&(h+=c=bm_sqrt(c)),f.percents[o]=l,f.lengths[o]=h}return f.addedLength=h,f};function r(e,t){this.partialLength=e,this.point=t}var n,o=(n={},function(t,o,a,i){var s=(t[0]+"_"+t[1]+"_"+o[0]+"_"+o[1]+"_"+a[0]+"_"+a[1]+"_"+i[0]+"_"+i[1]).replace(/\./g,"p");if(!n[s]){var l,c,p,h,u,d,f,m=defaultCurveSegments,_=0,y=null;2===t.length&&(t[0]!=o[0]||t[1]!=o[1])&&e(t[0],t[1],o[0],o[1],t[0]+a[0],t[1]+a[1])&&e(t[0],t[1],o[0],o[1],o[0]+i[0],o[1]+i[1])&&(m=2);var b=new function(e){this.segmentLength=0,this.points=new Array(e)}(m);for(p=a.length,l=0;l<m;l+=1){for(f=createSizedArray(p),u=l/(m-1),d=0,c=0;c<p;c+=1)h=bm_pow(1-u,3)*t[c]+3*bm_pow(1-u,2)*u*(t[c]+a[c])+3*(1-u)*bm_pow(u,2)*(o[c]+i[c])+bm_pow(u,3)*o[c],f[c]=h,null!==y&&(d+=bm_pow(f[c]-y[c],2));_+=d=bm_sqrt(d),b.points[l]=new r(d,f),y=f}b.segmentLength=_,n[s]=b}return n[s]});function a(e,t){var r=t.percents,n=t.lengths,o=r.length,a=bm_floor((o-1)*e),i=e*t.addedLength,s=0;if(a===o-1||0===a||i===n[a])return r[a];for(var l=n[a]>i?-1:1,c=!0;c;)if(n[a]<=i&&n[a+1]>i?(s=(i-n[a])/(n[a+1]-n[a]),c=!1):a+=l,a<0||a>=o-1){if(a===o-1)return r[a];c=!1}return r[a]+(r[a+1]-r[a])*s}var i=createTypedArray("float32",8);return{getSegmentsLength:function(e){var r,n=segments_length_pool.newElement(),o=e.c,a=e.v,i=e.o,s=e.i,l=e._length,c=n.lengths,p=0;for(r=0;r<l-1;r+=1)c[r]=t(a[r],a[r+1],i[r],s[r+1]),p+=c[r].addedLength;return o&&l&&(c[r]=t(a[r],a[0],i[r],s[0]),p+=c[r].addedLength),n.totalLength=p,n},getNewSegment:function(e,t,r,n,o,s,l){var c,p=a(o=o<0?0:o>1?1:o,l),h=a(s=s>1?1:s,l),u=e.length,d=1-p,f=1-h,m=d*d*d,_=p*d*d*3,y=p*p*d*3,b=p*p*p,g=d*d*f,v=p*d*f+d*p*f+d*d*h,w=p*p*f+d*p*h+p*d*h,x=p*p*h,E=d*f*f,S=p*f*f+d*h*f+d*f*h,k=p*h*f+d*h*h+p*f*h,P=p*h*h,C=f*f*f,T=h*f*f+f*h*f+f*f*h,A=h*h*f+f*h*h+h*f*h,M=h*h*h;for(c=0;c<u;c+=1)i[4*c]=Math.round(1e3*(m*e[c]+_*r[c]+y*n[c]+b*t[c]))/1e3,i[4*c+1]=Math.round(1e3*(g*e[c]+v*r[c]+w*n[c]+x*t[c]))/1e3,i[4*c+2]=Math.round(1e3*(E*e[c]+S*r[c]+k*n[c]+P*t[c]))/1e3,i[4*c+3]=Math.round(1e3*(C*e[c]+T*r[c]+A*n[c]+M*t[c]))/1e3;return i},getPointInSegment:function(e,t,r,n,o,i){var s=a(o,i),l=1-s;return[Math.round(1e3*(l*l*l*e[0]+(s*l*l+l*s*l+l*l*s)*r[0]+(s*s*l+l*s*s+s*l*s)*n[0]+s*s*s*t[0]))/1e3,Math.round(1e3*(l*l*l*e[1]+(s*l*l+l*s*l+l*l*s)*r[1]+(s*s*l+l*s*s+s*l*s)*n[1]+s*s*s*t[1]))/1e3]},buildBezierData:o,pointOnLine2D:e,pointOnLine3D:function(t,r,n,o,a,i,s,l,c){if(0===n&&0===i&&0===c)return e(t,r,o,a,s,l);var p,h=Math.sqrt(Math.pow(o-t,2)+Math.pow(a-r,2)+Math.pow(i-n,2)),u=Math.sqrt(Math.pow(s-t,2)+Math.pow(l-r,2)+Math.pow(c-n,2)),d=Math.sqrt(Math.pow(s-o,2)+Math.pow(l-a,2)+Math.pow(c-i,2));return(p=h>u?h>d?h-u-d:d-u-h:d>u?d-u-h:u-h-d)>-1e-4&&p<1e-4}}}!function(){for(var e=0,t=["ms","moz","webkit","o"],r=0;r<t.length&&!window.requestAnimationFrame;++r)window.requestAnimationFrame=window[t[r]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[r]+"CancelAnimationFrame"]||window[t[r]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,r){var n=(new Date).getTime(),o=Math.max(0,16-(n-e)),a=setTimeout(function(){t(n+o)},o);return e=n+o,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();var bez=bezFunction();function dataFunctionManager(){function e(o,a,i){var s,l,c,h,u,d,f=o.length;for(l=0;l<f;l+=1)if("ks"in(s=o[l])&&!s.completed){if(s.completed=!0,s.tt&&(o[l-1].td=s.tt),[],-1,s.hasMask){var m=s.masksProperties;for(h=m.length,c=0;c<h;c+=1)if(m[c].pt.k.i)n(m[c].pt.k);else for(d=m[c].pt.k.length,u=0;u<d;u+=1)m[c].pt.k[u].s&&n(m[c].pt.k[u].s[0]),m[c].pt.k[u].e&&n(m[c].pt.k[u].e[0])}0===s.ty?(s.layers=t(s.refId,a),e(s.layers,a,i)):4===s.ty?r(s.shapes):5==s.ty&&p(s,i)}}function t(e,t){for(var r=0,n=t.length;r<n;){if(t[r].id===e)return t[r].layers.__used?JSON.parse(JSON.stringify(t[r].layers)):(t[r].layers.__used=!0,t[r].layers);r+=1}}function r(e){var t,o,a;for(t=e.length-1;t>=0;t-=1)if("sh"==e[t].ty){if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,o=0;o<a;o+=1)e[t].ks.k[o].s&&n(e[t].ks.k[o].s[0]),e[t].ks.k[o].e&&n(e[t].ks.k[o].e[0]);!0}else"gr"==e[t].ty&&r(e[t].it)}function n(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function o(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&void 0))}var a,i=function(){var e=[4,4,14];function t(e){var t,r,n,o=e.length;for(t=0;t<o;t+=1)5===e[t].ty&&(r=e[t],void 0,n=r.t.d,r.t.d={k:[{s:n,t:0}]})}return function(r){if(o(e,r.v)&&(t(r.layers),r.assets)){var n,a=r.assets.length;for(n=0;n<a;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),s=(a=[4,7,99],function(e){if(e.chars&&!o(a,e.v)){var t,r,i,s,l,c=e.chars.length;for(t=0;t<c;t+=1)if(e.chars[t].data&&e.chars[t].data.shapes)for(i=(l=e.chars[t].data.shapes[0].it).length,r=0;r<i;r+=1)(s=l[r].ks.k).__converted||(n(l[r].ks.k),s.__converted=!0)}}),l=function(){var e=[4,1,9];function t(e){var r,n,o,a=e.length;for(r=0;r<a;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(o=e[r].c.k.length,n=0;n<o;n+=1)e[r].c.k[n].s&&(e[r].c.k[n].s[0]/=255,e[r].c.k[n].s[1]/=255,e[r].c.k[n].s[2]/=255,e[r].c.k[n].s[3]/=255),e[r].c.k[n].e&&(e[r].c.k[n].e[0]/=255,e[r].c.k[n].e[1]/=255,e[r].c.k[n].e[2]/=255,e[r].c.k[n].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(o(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),c=function(){var e=[4,4,18];function t(e){var r,n,o;for(r=e.length-1;r>=0;r-=1)if("sh"==e[r].ty){if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(o=e[r].ks.k.length,n=0;n<o;n+=1)e[r].ks.k[n].s&&(e[r].ks.k[n].s[0].c=e[r].closed),e[r].ks.k[n].e&&(e[r].ks.k[n].e[0].c=e[r].closed);!0}else"gr"==e[r].ty&&t(e[r].it)}function r(e){var r,n,o,a,i,s,l=e.length;for(n=0;n<l;n+=1){if((r=e[n]).hasMask){var c=r.masksProperties;for(a=c.length,o=0;o<a;o+=1)if(c[o].pt.k.i)c[o].pt.k.c=c[o].cl;else for(s=c[o].pt.k.length,i=0;i<s;i+=1)c[o].pt.k[i].s&&(c[o].pt.k[i].s[0].c=c[o].cl),c[o].pt.k[i].e&&(c[o].pt.k[i].e[0].c=c[o].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(o(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}();function p(e,t){0!==e.t.a.length||"m"in e.t.p||(e.singleShape=!0)}var h={completeData:function(t,r){t.__complete||(l(t),i(t),s(t),c(t),e(t.layers,t.assets,r),t.__complete=!0)}};return h.checkColors=l,h.checkChars=s,h.checkShapes=c,h.completeLayers=e,h}var dataManager=dataFunctionManager(),FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[]},r=[];function n(e,t){var r=createTag("span");r.style.fontFamily=t;var n=createTag("span");n.innerHTML="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var o=n.offsetWidth;return n.style.fontFamily=e+", "+t,{node:n,w:o,parent:r}}function o(e,t){var r=createNS("text");return r.style.fontSize="100px",r.setAttribute("font-family",t.fFamily),r.setAttribute("font-style",t.fStyle),r.setAttribute("font-weight",t.fWeight),r.textContent="1",t.fClass?(r.style.fontFamily="inherit",r.setAttribute("class",t.fClass)):r.style.fontFamily=t.fFamily,e.appendChild(r),createTag("canvas").getContext("2d").font=t.fWeight+" "+t.fStyle+" 100px "+t.fFamily,r}r=r.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 a=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this.initTime=Date.now()};return a.getCombinedCharacterCodes=function(){return r},a.prototype.addChars=function(e){if(e){this.chars||(this.chars=[]);var t,r,n,o=e.length,a=this.chars.length;for(t=0;t<o;t+=1){for(r=0,n=!1;r<a;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(n=!0),r+=1;n||(this.chars.push(e[t]),a+=1)}}},a.prototype.addFonts=function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);var r,a=e.list,i=a.length,s=i;for(r=0;r<i;r+=1){var l,c,p=!0;if(a[r].loaded=!1,a[r].monoCase=n(a[r].fFamily,"monospace"),a[r].sansCase=n(a[r].fFamily,"sans-serif"),a[r].fPath){if("p"===a[r].fOrigin||3===a[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[r].fFamily+'"], style[f-origin="3"][f-family="'+a[r].fFamily+'"]')).length>0&&(p=!1),p){var h=createTag("style");h.setAttribute("f-forigin",a[r].fOrigin),h.setAttribute("f-origin",a[r].origin),h.setAttribute("f-family",a[r].fFamily),h.type="text/css",h.innerHTML="@font-face {font-family: "+a[r].fFamily+"; font-style: normal; src: url('"+a[r].fPath+"');}",t.appendChild(h)}}else if("g"===a[r].fOrigin||1===a[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c++)-1!==l[c].href.indexOf(a[r].fPath)&&(p=!1);if(p){var u=createTag("link");u.setAttribute("f-forigin",a[r].fOrigin),u.setAttribute("f-origin",a[r].origin),u.type="text/css",u.rel="stylesheet",u.href=a[r].fPath,document.body.appendChild(u)}}else if("t"===a[r].fOrigin||2===a[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c++)a[r].fPath===l[c].src&&(p=!1);if(p){var d=createTag("link");d.setAttribute("f-forigin",a[r].fOrigin),d.setAttribute("f-origin",a[r].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",a[r].fPath),t.appendChild(d)}}}else a[r].loaded=!0,s-=1;a[r].helper=o(t,a[r]),a[r].cache={},this.fonts.push(a[r])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},a.prototype.getCharData=function(e,r,n){for(var o=0,a=this.chars.length;o<a;){if(this.chars[o].ch===e&&this.chars[o].style===r&&this.chars[o].fFamily===n)return this.chars[o];o+=1}return("string"===typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&console.warn("Missing character from exported characters list: ",e,r,n),t},a.prototype.getFontByName=function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},a.prototype.measureText=function(e,t,r){var n=this.getFontByName(t),o=e.charCodeAt(0);if(!n.cache[o+1]){var a=n.helper;if(" "===e){a.textContent="|"+e+"|";var i=a.getComputedTextLength();a.textContent="||";var s=a.getComputedTextLength();n.cache[o+1]=(i-s)/100}else a.textContent=e,n.cache[o+1]=a.getComputedTextLength()/100}return n.cache[o+1]*r},a.prototype.checkLoadedFonts=function(){var t,r,n,o=this.fonts.length,a=o;for(t=0;t<o;t+=1)this.fonts[t].loaded?a-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(r=this.fonts[t].monoCase.node,n=this.fonts[t].monoCase.w,r.offsetWidth!==n?(a-=1,this.fonts[t].loaded=!0):(r=this.fonts[t].sansCase.node,n=this.fonts[t].sansCase.w,r.offsetWidth!==n&&(a-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==a&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFonts.bind(this),20):setTimeout(function(){this.isLoaded=!0}.bind(this),0)},a.prototype.loaded=function(){return this.isLoaded},a}(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function r(e,t){var r,o=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,i,s,l,c,p,h,u,d=t.lastIndex,f=d,m=this.keyframes.length-1,_=!0;_;){if(a=this.keyframes[f],i=this.keyframes[f+1],f===m-1&&e>=i.t-o){a.h&&(a=i),d=0;break}if(i.t-o>e){d=f;break}f<m-1?f+=1:(d=0,_=!1)}var y,b,g,v,w,x,E,S,k,P,C=i.t-o,T=a.t-o;if(a.to){a.bezierData||(a.bezierData=bez.buildBezierData(a.s,i.s||a.e,a.to,a.ti));var A=a.bezierData;if(e>=C||e<T){var M=e>=C?A.points.length-1:0;for(l=A.points[M].point.length,s=0;s<l;s+=1)r[s]=A.points[M].point[s]}else{a.__fnct?u=a.__fnct:(u=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,a.__fnct=u),c=u((e-T)/(C-T));var D,O=A.segmentLength*c,F=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastPoint:0,_=!0,p=A.points.length;_;){if(F+=A.points[h].partialLength,0===O||0===c||h===A.points.length-1){for(l=A.points[h].point.length,s=0;s<l;s+=1)r[s]=A.points[h].point[s];break}if(O>=F&&O<F+A.points[h+1].partialLength){for(D=(O-F)/A.points[h+1].partialLength,l=A.points[h].point.length,s=0;s<l;s+=1)r[s]=A.points[h].point[s]+(A.points[h+1].point[s]-A.points[h].point[s])*D;break}h<p-1?h+=1:_=!1}t._lastPoint=h,t._lastAddedLength=F-A.points[h].partialLength,t._lastKeyframeIndex=f}}else{var I,j,z,R,B;if(m=a.s.length,y=i.s||a.e,this.sh&&1!==a.h)if(e>=C)r[0]=y[0],r[1]=y[1],r[2]=y[2];else if(e<=T)r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2];else{var L=n(a.s),N=n(y);b=r,g=function(e,t,r){var n,o,a,i,s,l=[],c=e[0],p=e[1],h=e[2],u=e[3],d=t[0],f=t[1],m=t[2],_=t[3];(o=c*d+p*f+h*m+u*_)<0&&(o=-o,d=-d,f=-f,m=-m,_=-_);1-o>1e-6?(n=Math.acos(o),a=Math.sin(n),i=Math.sin((1-r)*n)/a,s=Math.sin(r*n)/a):(i=1-r,s=r);return l[0]=i*c+s*d,l[1]=i*p+s*f,l[2]=i*h+s*m,l[3]=i*u+s*_,l}(L,N,(e-T)/(C-T)),v=g[0],w=g[1],x=g[2],E=g[3],S=Math.atan2(2*w*E-2*v*x,1-2*w*w-2*x*x),k=Math.asin(2*v*w+2*x*E),P=Math.atan2(2*v*E-2*w*x,1-2*v*v-2*x*x),b[0]=S/degToRads,b[1]=k/degToRads,b[2]=P/degToRads}else for(f=0;f<m;f+=1)1!==a.h&&(e>=C?c=1:e<T?c=0:(a.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[f]?u=a.__fnct[f]:(I="undefined"===typeof a.o.x[f]?a.o.x[0]:a.o.x[f],j="undefined"===typeof a.o.y[f]?a.o.y[0]:a.o.y[f],z="undefined"===typeof a.i.x[f]?a.i.x[0]:a.i.x[f],R="undefined"===typeof a.i.y[f]?a.i.y[0]:a.i.y[f],u=BezierFactory.getBezierEasing(I,j,z,R).get,a.__fnct[f]=u)):a.__fnct?u=a.__fnct:(I=a.o.x,j=a.o.y,z=a.i.x,R=a.i.y,u=BezierFactory.getBezierEasing(I,j,z,R).get,a.__fnct=u),c=u((e-T)/(C-T)))),y=i.s||a.e,B=1===a.h?a.s[f]:a.s[f]+(y[f]-a.s[f])*c,"multidimensional"===this.propType?r[f]=B:r=B}return t.lastIndex=d,r}function n(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,o=Math.cos(t/2),a=Math.cos(r/2),i=Math.cos(n/2),s=Math.sin(t/2),l=Math.sin(r/2),c=Math.sin(n/2);return[s*l*i+o*a*c,s*a*i+o*l*c,o*l*i-s*a*c,o*a*i-s*l*c]}function o(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=n&&t>=n||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var o=this.interpolateValue(t,this._caching);this.pv=o}return this._caching.lastFrame=t,this.pv}function a(e){var r;if("unidimensional"===this.propType)r=e*this.mult,t(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var n=0,o=this.v.length;n<o;)r=e[n]*this.mult,t(this.v[n]-r)>1e-5&&(this.v[n]=r,this._mdf=!0),n+=1}function i(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function s(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}return{getProp:function(t,n,l,c,p){var h;if(n.k.length)if("number"===typeof n.k[0])h=new function(e,t,r,n){this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o,l=t.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),createTypedArray("float32",l),this.vel=createTypedArray("float32",l),o=0;o<l;o+=1)this.v[o]=t.k[o]*this.mult,this.pv[o]=t.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=i,this.setVValue=a,this.addEffect=s}(t,n,c,p);else switch(l){case 0:h=new function(t,n,l,c){this.propType="unidimensional",this.keyframes=n.k,this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=n,this.mult=l||1,this.elem=t,this.container=c,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=i,this.setVValue=a,this.interpolateValue=r,this.effectsSequence=[o.bind(this)],this.addEffect=s}(t,n,c,p);break;case 1:h=new function(t,n,l,c){this.propType="multidimensional";var p,h,u,d,f,m=n.k.length;for(p=0;p<m-1;p+=1)n.k[p].to&&n.k[p].s&&n.k[p+1]&&n.k[p+1].s&&(h=n.k[p].s,u=n.k[p+1].s,d=n.k[p].to,f=n.k[p].ti,(2===h.length&&(h[0]!==u[0]||h[1]!==u[1])&&bez.pointOnLine2D(h[0],h[1],u[0],u[1],h[0]+d[0],h[1]+d[1])&&bez.pointOnLine2D(h[0],h[1],u[0],u[1],u[0]+f[0],u[1]+f[1])||3===h.length&&(h[0]!==u[0]||h[1]!==u[1]||h[2]!==u[2])&&bez.pointOnLine3D(h[0],h[1],h[2],u[0],u[1],u[2],h[0]+d[0],h[1]+d[1],h[2]+d[2])&&bez.pointOnLine3D(h[0],h[1],h[2],u[0],u[1],u[2],u[0]+f[0],u[1]+f[1],u[2]+f[2]))&&(n.k[p].to=null,n.k[p].ti=null),h[0]===u[0]&&h[1]===u[1]&&0===d[0]&&0===d[1]&&0===f[0]&&0===f[1]&&(2===h.length||h[2]===u[2]&&0===d[2]&&0===f[2])&&(n.k[p].to=null,n.k[p].ti=null));this.effectsSequence=[o.bind(this)],this.keyframes=n.k,this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=t,this.container=c,this.comp=t.comp,this.getValue=i,this.setVValue=a,this.interpolateValue=r,this.frameId=-1;var _=n.k[0].s.length;for(this.v=createTypedArray("float32",_),this.pv=createTypedArray("float32",_),p=0;p<_;p+=1)this.v[p]=e,this.pv[p]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",_)},this.addEffect=s}(t,n,c,p)}else h=new function(e,t,r,n){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=i,this.setVValue=a,this.addEffect=s}(t,n,c,p);return h.effectsSequence.length&&p.addDynamicProperty(h),h}}}(),TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var n,o=t.or.k.length;for(n=0;n<o;n+=1)t.or.k[n].to=t.or.k[n].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){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 r,n,o=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/o,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/o,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/o,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/o,0)):(r=this.p.pv,n=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/o,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],n=[];var a=this.px,i=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(r[0]=a.getValueAtTime((a.keyframes[0].t+.01)/o,0),r[1]=i.getValueAtTime((i.keyframes[0].t+.01)/o,0),n[0]=a.getValueAtTime(a.keyframes[0].t/o,0),n[1]=i.getValueAtTime(i.keyframes[0].t/o,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(r[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/o,0),r[1]=i.getValueAtTime(i.keyframes[i.keyframes.length-1].t/o,0),n[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/o,0),n[1]=i.getValueAtTime((i.keyframes[i.keyframes.length-1].t-.01)/o,0)):(r=[a.pv,i.pv],n[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/o,a.offsetTime),n[1]=i.getValueAtTime((i._caching.lastFrame+i.offsetTime-.01)/o,i.offsetTime))}else r=n=e;this.v.rotate(-Math.atan2(r[1]-n[1],r[0]-n[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.a.k&&(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}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else 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,r,n){return new t(e,r,n)}}}();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(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=point_pool.newElement(),this.o[r]=point_pool.newElement(),this.i[r]=point_pool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},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(e,t,r,n,o){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o}(!a[n]||a[n]&&!o)&&(a[n]=point_pool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,o,a,i,s){this.setXYAt(e,t,"v",i,s),this.setXYAt(r,n,"o",i,s),this.setXYAt(o,a,"i",i,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,o=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),o=1);var a,i=this._length-1,s=this._length;for(a=o;a<s;a+=1)e.setTripleAt(t[i][0],t[i][1],n[i][0],n[i][1],r[i][0],r[i][1],a,!1),i-=1;return e};var ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var n,o,a,i,s,l,c,p,h,u=r.lastIndex,d=this.keyframes;if(e<d[0].t-this.offsetTime)n=d[0].s[0],a=!0,u=0;else if(e>=d[d.length-1].t-this.offsetTime)n=d[d.length-1].s?d[d.length-1].s[0]:d[d.length-2].e[0],a=!0;else{for(var f,m,_=u,y=d.length-1,b=!0;b&&(f=d[_],!((m=d[_+1]).t-this.offsetTime>e));)_<y-1?_+=1:b=!1;if(u=_,!(a=1===f.h)){if(e>=m.t-this.offsetTime)p=1;else if(e<f.t-this.offsetTime)p=0;else{var g;f.__fnct?g=f.__fnct:(g=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,f.__fnct=g),p=g((e-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}o=m.s?m.s[0]:f.e[0]}n=f.s[0]}for(l=t._length,c=n.i[0].length,r.lastIndex=u,i=0;i<l;i+=1)for(s=0;s<c;s+=1)h=a?n.i[i][s]:n.i[i][s]+(o.i[i][s]-n.i[i][s])*p,t.i[i][s]=h,h=a?n.o[i][s]:n.o[i][s]+(o.o[i][s]-n.o[i][s])*p,t.o[i][s]=h,h=a?n.v[i][s]:n.v[i][s]+(o.v[i][s]-n.v[i][s])*p,t.v[i][s]=h}function r(){this.paths=this.localShapeCollection}function n(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,n=e._length;for(r=0;r<n;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shape_pool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;var e,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(e,t,n){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var o=3===n?t.pt.k:t.ks.k;this.v=shape_pool.clone(o),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function i(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function s(t,n,o){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===o?n.pt.k:n.ks.k,this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.keyframes[0].s[0].i[0].length;this.v=shape_pool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=r,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,o=this._caching.lastFrame;return o!==e&&(o<r&&t<r||o>n&&t>n)||(this._caching.lastIndex=o<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}a.prototype.interpolateShape=t,a.prototype.getValue=o,a.prototype.setVValue=n,a.prototype.addEffect=i,s.prototype.getValue=o,s.prototype.interpolateShape=t,s.prototype.setVValue=n,s.prototype.addEffect=i;var l=function(){var e=roundCorner;function t(e,t){this.v=shape_pool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,o=this.s.v[1]/2,a=3!==this.d,i=this.v;i.v[0][0]=t,i.v[0][1]=r-o,i.v[1][0]=a?t+n:t-n,i.v[1][1]=r,i.v[2][0]=t,i.v[2][1]=r+o,i.v[3][0]=a?t-n:t+n,i.v[3][1]=r,i.i[0][0]=a?t-n*e:t+n*e,i.i[0][1]=r-o,i.i[1][0]=a?t+n:t-n,i.i[1][1]=r-o*e,i.i[2][0]=a?t+n*e:t-n*e,i.i[2][1]=r+o,i.i[3][0]=a?t-n:t+n,i.i[3][1]=r+o*e,i.o[0][0]=a?t+n*e:t-n*e,i.o[0][1]=r-o,i.o[1][0]=a?t+n:t-n,i.o[1][1]=r+o*e,i.o[2][0]=a?t-n*e:t+n*e,i.o[2][1]=r+o,i.o[3][0]=a?t-n:t+n,i.o[3][1]=r-o*e}},extendPrototype([DynamicPropertyContainer],t),t}(),c=function(){function e(e,t){this.v=shape_pool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,n,o=2*Math.floor(this.pt.v),a=2*Math.PI/o,i=!0,s=this.or.v,l=this.ir.v,c=this.os.v,p=this.is.v,h=2*Math.PI*s/(2*o),u=2*Math.PI*l/(2*o),d=-Math.PI/2;d+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<o;e+=1){t=i?s:l,r=i?c:p,n=i?h:u;var m=t*Math.cos(d),_=t*Math.sin(d),y=0===m&&0===_?0:_/Math.sqrt(m*m+_*_),b=0===m&&0===_?0:-m/Math.sqrt(m*m+_*_);m+=+this.p.v[0],_+=+this.p.v[1],this.v.setTripleAt(m,_,m-y*n*r*f,_-b*n*r*f,m+y*n*r*f,_+b*n*r*f,e,!0),i=!i,d+=a*f}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,n=this.or.v,o=this.os.v,a=2*Math.PI*n/(4*t),i=-Math.PI/2,s=3===this.data.d?-1:1;for(i+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=n*Math.cos(i),c=n*Math.sin(i),p=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),h=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-p*a*o*s,c-h*a*o*s,l+p*a*o*s,c+h*a*o*s,e,!0),i+=r*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),p=function(){function e(e,t){this.v=shape_pool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,o=bm_min(r,n,this.r.v),a=o*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-n+o,e+r,t-n+o,e+r,t-n+a,0,!0),this.v.setTripleAt(e+r,t+n-o,e+r,t+n-a,e+r,t+n-o,1,!0),0!==o?(this.v.setTripleAt(e+r-o,t+n,e+r-o,t+n,e+r-a,t+n,2,!0),this.v.setTripleAt(e-r+o,t+n,e-r+a,t+n,e-r+o,t+n,3,!0),this.v.setTripleAt(e-r,t+n-o,e-r,t+n-o,e-r,t+n-a,4,!0),this.v.setTripleAt(e-r,t-n+o,e-r,t-n+a,e-r,t-n+o,5,!0),this.v.setTripleAt(e-r+o,t-n,e-r+o,t-n,e-r+a,t-n,6,!0),this.v.setTripleAt(e+r-o,t-n,e+r-a,t-n,e+r-o,t-n,7,!0)):(this.v.setTripleAt(e-r,t+n,e-r+a,t+n,e-r,t+n,2),this.v.setTripleAt(e-r,t-n,e-r,t-n+a,e-r,t-n,3))):(this.v.setTripleAt(e+r,t-n+o,e+r,t-n+a,e+r,t-n+o,0,!0),0!==o?(this.v.setTripleAt(e+r-o,t-n,e+r-o,t-n,e+r-a,t-n,1,!0),this.v.setTripleAt(e-r+o,t-n,e-r+a,t-n,e-r+o,t-n,2,!0),this.v.setTripleAt(e-r,t-n+o,e-r,t-n+o,e-r,t-n+a,3,!0),this.v.setTripleAt(e-r,t+n-o,e-r,t+n-a,e-r,t+n-o,4,!0),this.v.setTripleAt(e-r+o,t+n,e-r+o,t+n,e-r+a,t+n,5,!0),this.v.setTripleAt(e+r-o,t+n,e+r-a,t+n,e+r-o,t+n,6,!0),this.v.setTripleAt(e+r,t+n-o,e+r,t+n-o,e+r,t+n-a,7,!0)):(this.v.setTripleAt(e-r,t-n,e-r+a,t-n,e-r,t-n,1,!0),this.v.setTripleAt(e-r,t+n,e-r,t+n-a,e-r,t+n,2,!0),this.v.setTripleAt(e+r,t+n,e+r-a,t+n,e+r,t+n,3,!0)))},getValue:function(e){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],e),e}();var h={getShapeProp:function(e,t,r){var n;return 3===r||4===r?n=(3===r?t.pt:t.ks).k.length?new s(e,t,r):new a(e,t,r):5===r?n=new p(e,t):6===r?n=new l(e,t):7===r&&(n=new c(e,t)),n.k&&e.addDynamicProperty(n),n},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return s}};return h}(),ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,n){return new t[e](r,n)},e}();function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(e,t,r,n){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var o,a,i=t.length||0;for(o=0;o<i;o+=1)a=PropertyFactory.getProp(e,t[o].v,0,0,this),this.k=a.k||this.k,this.dataProps[o]={n:t[o].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var n=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollection_pool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),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),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,n,o){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var i,s,l=[],c=a.length;for(i=0;i<c;i+=1){var p,h;if((s=a[i]).e*o<n||s.s*o>n+r);else p=s.s*o<=n?0:(s.s*o-n)/r,h=s.e*o>=n+r?1:(s.e*o-n)/r,l.push([p,h])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segments_length_pool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,n;if(this._mdf||e){var o=this.o.v%360/360;if(o<0&&(o+=1),(t=(this.s.v>1?1:this.s.v<0?0:this.s.v)+o)>(r=(this.e.v>1?1:this.e.v<0?0:this.e.v)+o)){var a=t;t=r,r=a}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var i,s,l,c,p,h,u=this.shapes.length,d=0;if(r===t)for(i=0;i<u;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection;else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(i=0;i<u;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var f,m,_=[];for(i=0;i<u;i+=1)if((f=this.shapes[i]).shape._mdf||this._mdf||e||2===this.m){if(l=(n=f.shape.paths)._length,h=0,!f.shape._mdf&&f.pathsData.length)h=f.totalShapeLength;else{for(c=this.releasePathsData(f.pathsData),s=0;s<l;s+=1)p=bez.getSegmentsLength(n.shapes[s]),c.push(p),h+=p.totalLength;f.totalShapeLength=h,f.pathsData=c}d+=h,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var y,b=t,g=r,v=0;for(i=u-1;i>=0;i-=1)if((f=this.shapes[i]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&u>1?(y=this.calculateShapeEdges(t,r,f.totalShapeLength,v,d),v+=f.totalShapeLength):y=[[b,g]],l=y.length,s=0;s<l;s+=1){b=y[s][0],g=y[s][1],_.length=0,g<=1?_.push({s:f.totalShapeLength*b,e:f.totalShapeLength*g}):b>=1?_.push({s:f.totalShapeLength*(b-1),e:f.totalShapeLength*(g-1)}):(_.push({s:f.totalShapeLength*b,e:f.totalShapeLength}),_.push({s:0,e:f.totalShapeLength*(g-1)}));var w=this.addShapes(f,_[0]);if(_[0].s!==_[0].e){if(_.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var x=w.pop();this.addPaths(w,m),w=this.addShapes(f,_[1],x)}else this.addPaths(w,m),w=this.addShapes(f,_[1]);this.addPaths(w,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,o,a,i){o.setXYAt(t[0],t[1],"o",a),o.setXYAt(r[0],r[1],"i",a+1),i&&o.setXYAt(e[0],e[1],"v",a),o.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var n,o,a,i,s,l,c,p,h=e.pathsData,u=e.shape.paths.shapes,d=e.shape.paths._length,f=0,m=[],_=!0;for(r?(s=r._length,p=r._length):(r=shape_pool.newElement(),s=0,p=0),m.push(r),n=0;n<d;n+=1){for(l=h[n].lengths,r.c=u[n].c,a=u[n].c?l.length:l.length+1,o=1;o<a;o+=1)if(f+(i=l[o-1]).addedLength<t.s)f+=i.addedLength,r.c=!1;else{if(f>t.e){r.c=!1;break}t.s<=f&&t.e>=f+i.addedLength?(this.addSegment(u[n].v[o-1],u[n].o[o-1],u[n].i[o],u[n].v[o],r,s,_),_=!1):(c=bez.getNewSegment(u[n].v[o-1],u[n].v[o],u[n].o[o-1],u[n].i[o],(t.s-f)/i.addedLength,(t.e-f)/i.addedLength,l[o-1]),this.addSegmentFromArray(c,r,s,_),_=!1,r.c=!1),f+=i.addedLength,s+=1}if(u[n].c&&l.length){if(i=l[o-1],f<=t.e){var y=l[o-1].addedLength;t.s<=f&&t.e>=f+y?(this.addSegment(u[n].v[o-1],u[n].o[o-1],u[n].i[0],u[n].v[0],r,s,_),_=!1):(c=bez.getNewSegment(u[n].v[o-1],u[n].v[0],u[n].o[o-1],u[n].i[0],(t.s-f)/y,(t.e-f)/y,l[o-1]),this.addSegmentFromArray(c,r,s,_),_=!1,r.c=!1)}else r.c=!1;f+=i.addedLength,s+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>t.e)break;n<d-1&&(r=shape_pool.newElement(),_=!0,m.push(r),s=0)}return m},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r=shape_pool.newElement();r.c=e.c;var n,o,a,i,s,l,c,p,h,u,d,f,m,_=e._length,y=0;for(n=0;n<_;n+=1)o=e.v[n],i=e.o[n],a=e.i[n],o[0]===i[0]&&o[1]===i[1]&&o[0]===a[0]&&o[1]===a[1]?0!==n&&n!==_-1||e.c?(s=0===n?e.v[_-1]:e.v[n-1],c=(l=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)))?Math.min(l/2,t)/l:0,p=f=o[0]+(s[0]-o[0])*c,h=m=o[1]-(o[1]-s[1])*c,u=p-(p-o[0])*roundCorner,d=h-(h-o[1])*roundCorner,r.setTripleAt(p,h,u,d,f,m,y),y+=1,s=n===_-1?e.v[0]:e.v[n+1],c=(l=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)))?Math.min(l/2,t)/l:0,p=u=o[0]+(s[0]-o[0])*c,h=d=o[1]+(s[1]-o[1])*c,f=p-(p-o[0])*roundCorner,m=h-(h-o[1])*roundCorner,r.setTripleAt(p,h,u,d,f,m,y),y+=1):(r.setTripleAt(o[0],o[1],i[0],i[1],a[0],a[1],y),y+=1):(r.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],y),y+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,o,a,i,s=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<s;r+=1){if((a=this.shapes[r]).shape.paths,i=a.localShapeCollection,a.shape._mdf||this._mdf||e)for(i.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,o=a.shape.paths._length,n=0;n<o;n+=1)i.addShape(this.processPath(t[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,n,o,a){var i=a?-1:1,s=n.s.v[0]+(1-n.s.v[0])*(1-o),l=n.s.v[1]+(1-n.s.v[1])*(1-o);e.translate(n.p.v[0]*i*o,n.p.v[1]*i*o,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*i*o),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(a?1/s:s,a?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);for(;r>0;)r-=1,this._elements.unshift(t[r]),1;this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){e.length;var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,o,a;if(this._mdf||e){var i,s=Math.ceil(this.c.v);if(this._groups.length<s){for(;this._groups.length<s;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.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,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes()}for(a=0,n=0;n<=this._groups.length-1;n+=1)i=a<s,this._groups[n]._render=i,this.changeGroupRender(this._groups[n].it,i),a+=1;this._currentCopies=s;var c=this.o.v,p=c%1,h=c>0?Math.floor(c):Math.ceil(c),u=(this.tr.v.props,this.pMatrix.props),d=this.rMatrix.props,f=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m,_,y=0;if(c>0){for(;y<h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),y+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),y+=p)}else if(c<0){for(;y>h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),y-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),y-=p)}for(n=1===this.data.m?0:this._currentCopies-1,o=1===this.data.m?1:-1,a=this._currentCopies;a;){if(_=(r=(t=this.elemsData[n].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=this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==y){for((0!==n&&1===o||n!==this._currentCopies-1&&-1===o)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[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(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),m=0;m<_;m+=1)r[m]=this.matrix.props[m];this.matrix.reset()}else for(this.matrix.reset(),m=0;m<_;m+=1)r[m]=this.matrix.props[m];y+=1,a-=1,n+=o}}else for(a=this._currentCopies,n=0,o=1;a;)r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,n+=o},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shape_pool.release(this.shapes[e]);this._length=0},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!=this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=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;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,n,o=4*this.data.p;for(t=0;t<o;t+=1)r=t%4===0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(o=this.prop.v.length,t=4*this.data.p;t<o;t+=1)r=t%2===0?100:1,n=t%2===0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(e,t,r,n){if(0===t)return"";var o,a=e.o,i=e.i,s=e.v,l=" M"+n.applyToPointStringified(s[0][0],s[0][1]);for(o=1;o<t;o+=1)l+=" C"+n.applyToPointStringified(a[o-1][0],a[o-1][1])+" "+n.applyToPointStringified(i[o][0],i[o][1])+" "+n.applyToPointStringified(s[o][0],s[o][1]);return r&&t&&(l+=" C"+n.applyToPointStringified(a[o-1][0],a[o-1][1])+" "+n.applyToPointStringified(i[0][0],i[0][1])+" "+n.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(t){var r=function(e,t,r){var n="";if(e.e)n=e.p;else if(t){var o=e.p;-1!==o.indexOf("images/")&&(o=o.split("/")[1]),n=t+o}else n=r,n+=e.u?e.u:"",n+=e.p;return n}(t,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded.bind(this),!1),n.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),n.src=r;var o={img:n,assetData:t};return o}function n(e,t){this.imagesLoadedCb=t;var r,n=e.length;for(r=0;r<n;r+=1)e[r].layers||(this.totalImages+=1,this.images.push(this._createImageData(e[r])))}function o(e){this.path=e||""}function a(e){this.assetsPath=e||""}function i(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}}function s(){this.imagesLoadedCb=null,this.images.length=0}function l(){return this.totalImages===this.loadedAssets}return function(){this.loadAssets=n,this.setAssetsPath=a,this.setPath=o,this.loaded=l,this.destroy=s,this.getImage=i,this._createImageData=r,this._imageLoaded=t,this.assetsPath="",this.path="",this.totalImages=0,this.loadedAssets=0,this.imagesLoadedCb=null,this.images=[]}}(),featureSupport=function(){var e={maskType:!0};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),e}(),filtersFactory=function(){var e={};return e.createFilter=function(e){var t=createNS("filter");return t.setAttribute("id",e),t.setAttribute("filterUnits","objectBoundingBox"),t.setAttribute("x","0%"),t.setAttribute("y","0%"),t.setAttribute("width","100%"),t.setAttribute("height","100%"),t},e.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},e}(),assetLoader=function(){function e(e){return e.response&&"object"===_typeof(e.response)?e.response:e.response&&"string"===typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):void 0}return{load:function(t,r,n){var o,a=new XMLHttpRequest;a.open("GET",t,!0);try{a.responseType="json"}catch(e){}a.send(),a.onreadystatechange=function(){if(4==a.readyState)if(200==a.status)o=e(a),r(o);else try{o=e(a),r(o)}catch(e){n&&n(e)}}}}}();function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function TextAnimatorDataProperty(e,t,r){var n={propType:!1},o=PropertyFactory.getProp,a=t.a;this.a={r:a.r?o(e,a.r,0,degToRads,r):n,rx:a.rx?o(e,a.rx,0,degToRads,r):n,ry:a.ry?o(e,a.ry,0,degToRads,r):n,sk:a.sk?o(e,a.sk,0,degToRads,r):n,sa:a.sa?o(e,a.sa,0,degToRads,r):n,s:a.s?o(e,a.s,1,.01,r):n,a:a.a?o(e,a.a,1,0,r):n,o:a.o?o(e,a.o,0,.01,r):n,p:a.p?o(e,a.p,1,0,r):n,sw:a.sw?o(e,a.sw,0,0,r):n,sc:a.sc?o(e,a.sc,1,0,r):n,fc:a.fc?o(e,a.fc,1,0,r):n,fh:a.fh?o(e,a.fh,0,0,r):n,fs:a.fs?o(e,a.fs,0,.01,r):n,fb:a.fb?o(e,a.fb,0,.01,r):n,t:a.t?o(e,a.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function LetterProps(e,t,r,n,o,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=o,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,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)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,o,a,i,s,l,c,p,h,u,d,f,m,_,y,b,g,v,w=this._moreOptions.alignment.v,x=this._animatorsData,E=this._textData,S=this.mHelper,k=this._renderType,P=this.renderedLetters.length,C=(this.data,e.l);if(this._hasMaskedPath){if(v=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,A=v.v;for(this._pathData.r&&(A=A.reverse()),i={tLength:0,segments:[]},a=A._length-1,y=0,o=0;o<a;o+=1)T=bez.buildBezierData(A.v[o],A.v[o+1],[A.o[o][0]-A.v[o][0],A.o[o][1]-A.v[o][1]],[A.i[o+1][0]-A.v[o+1][0],A.i[o+1][1]-A.v[o+1][1]]),i.tLength+=T.segmentLength,i.segments.push(T),y+=T.segmentLength;o=a,v.v.c&&(T=bez.buildBezierData(A.v[o],A.v[0],[A.o[o][0]-A.v[o][0],A.o[o][1]-A.v[o][1]],[A.i[0][0]-A.v[0][0],A.i[0][1]-A.v[0][1]]),i.tLength+=T.segmentLength,i.segments.push(T),y+=T.segmentLength),this._pathData.pi=i}if(i=this._pathData.pi,s=this._pathData.f.v,u=0,h=1,c=0,p=!0,m=i.segments,s<0&&v.v.c)for(i.tLength<Math.abs(s)&&(s=-Math.abs(s)%i.tLength),h=(f=m[u=m.length-1].points).length-1;s<0;)s+=f[h].partialLength,(h-=1)<0&&(h=(f=m[u-=1].points).length-1);d=(f=m[u].points)[h-1],_=(l=f[h]).partialLength}a=C.length,r=0,n=0;var M,D,O,F,I=1.2*e.finalSize*.714,j=!0;O=x.length;var z,R,B,L,N,V,q,G,H,W,U,Y,X,$=-1,K=s,J=u,Z=h,Q=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ne=0,oe=2===e.j?-.5:-1,ae=0,ie=!0;for(o=0;o<a;o+=1)if(C[o].n){for(re&&(re+=ne);ae<o;)C[ae].animatorJustifyOffset=re,ae+=1;re=0,ie=!0}else{for(D=0;D<O;D+=1)(M=x[D].a).t.propType&&(ie&&2===e.j&&(ne+=M.t.v*oe),(z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?re+=M.t.v*z[0]*oe:re+=M.t.v*z*oe);ie=!1}for(re&&(re+=ne);ae<o;)C[ae].animatorJustifyOffset=re,ae+=1}for(o=0;o<a;o+=1){if(S.reset(),N=1,C[o].n)r=0,n+=e.yOffset,n+=j?1:0,s=K,j=!1,0,this._hasMaskedPath&&(h=Z,d=(f=m[u=J].points)[h-1],_=(l=f[h]).partialLength,c=0),X=W=Y=ee="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==C[o].line){switch(e.j){case 1:s+=y-e.lineWidths[C[o].line];break;case 2:s+=(y-e.lineWidths[C[o].line])/2}Q=C[o].line}$!==C[o].ind&&(C[$]&&(s+=C[$].extra),s+=C[o].an/2,$=C[o].ind),s+=w[0]*C[o].an/200;var se=0;for(D=0;D<O;D+=1)(M=x[D].a).p.propType&&((z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?se+=M.p.v[0]*z[0]:se+=M.p.v[0]*z),M.a.propType&&((z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?se+=M.a.v[0]*z[0]:se+=M.a.v[0]*z);for(p=!0;p;)c+_>=s+se||!f?(b=(s+se-c)/l.partialLength,B=d.point[0]+(l.point[0]-d.point[0])*b,L=d.point[1]+(l.point[1]-d.point[1])*b,S.translate(-w[0]*C[o].an/200,-w[1]*I/100),p=!1):f&&(c+=l.partialLength,(h+=1)>=f.length&&(h=0,m[u+=1]?f=m[u].points:v.v.c?(h=0,f=m[u=0].points):(c-=l.partialLength,f=null)),f&&(d=l,_=(l=f[h]).partialLength));R=C[o].an/2-C[o].add,S.translate(-R,0,0)}else R=C[o].an/2-C[o].add,S.translate(-R,0,0),S.translate(-w[0]*C[o].an/200,-w[1]*I/100,0);for(C[o].l/2,D=0;D<O;D+=1)(M=x[D].a).t.propType&&(z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?z.length?s+=M.t.v*z[0]:s+=M.t.v*z:z.length?r+=M.t.v*z[0]:r+=M.t.v*z));for(C[o].l/2,e.strokeWidthAnim&&(q=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(G=[e.fc[0],e.fc[1],e.fc[2]]),D=0;D<O;D+=1)(M=x[D].a).a.propType&&((z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?S.translate(-M.a.v[0]*z[0],-M.a.v[1]*z[1],M.a.v[2]*z[2]):S.translate(-M.a.v[0]*z,-M.a.v[1]*z,M.a.v[2]*z));for(D=0;D<O;D+=1)(M=x[D].a).s.propType&&((z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?S.scale(1+(M.s.v[0]-1)*z[0],1+(M.s.v[1]-1)*z[1],1):S.scale(1+(M.s.v[0]-1)*z,1+(M.s.v[1]-1)*z,1));for(D=0;D<O;D+=1){if(M=x[D].a,z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars),M.sk.propType&&(z.length?S.skewFromAxis(-M.sk.v*z[0],M.sa.v*z[1]):S.skewFromAxis(-M.sk.v*z,M.sa.v*z)),M.r.propType&&(z.length?S.rotateZ(-M.r.v*z[2]):S.rotateZ(-M.r.v*z)),M.ry.propType&&(z.length?S.rotateY(M.ry.v*z[1]):S.rotateY(M.ry.v*z)),M.rx.propType&&(z.length?S.rotateX(M.rx.v*z[0]):S.rotateX(M.rx.v*z)),M.o.propType&&(z.length?N+=(M.o.v*z[0]-N)*z[0]:N+=(M.o.v*z-N)*z),e.strokeWidthAnim&&M.sw.propType&&(z.length?q+=M.sw.v*z[0]:q+=M.sw.v*z),e.strokeColorAnim&&M.sc.propType)for(H=0;H<3;H+=1)z.length?V[H]=V[H]+(M.sc.v[H]-V[H])*z[0]:V[H]=V[H]+(M.sc.v[H]-V[H])*z;if(e.fillColorAnim&&e.fc){if(M.fc.propType)for(H=0;H<3;H+=1)z.length?G[H]=G[H]+(M.fc.v[H]-G[H])*z[0]:G[H]=G[H]+(M.fc.v[H]-G[H])*z;M.fh.propType&&(G=z.length?addHueToRGB(G,M.fh.v*z[0]):addHueToRGB(G,M.fh.v*z)),M.fs.propType&&(G=z.length?addSaturationToRGB(G,M.fs.v*z[0]):addSaturationToRGB(G,M.fs.v*z)),M.fb.propType&&(G=z.length?addBrightnessToRGB(G,M.fb.v*z[0]):addBrightnessToRGB(G,M.fb.v*z))}}for(D=0;D<O;D+=1)(M=x[D].a).p.propType&&(z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars),this._hasMaskedPath?z.length?S.translate(0,M.p.v[1]*z[0],-M.p.v[2]*z[1]):S.translate(0,M.p.v[1]*z,-M.p.v[2]*z):z.length?S.translate(M.p.v[0]*z[0],M.p.v[1]*z[1],-M.p.v[2]*z[2]):S.translate(M.p.v[0]*z,M.p.v[1]*z,-M.p.v[2]*z));if(e.strokeWidthAnim&&(W=q<0?0:q),e.strokeColorAnim&&(U="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(Y="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(S.translate(0,-e.ls),S.translate(0,w[1]*I/100+n,0),E.p.p){g=(l.point[1]-d.point[1])/(l.point[0]-d.point[0]);var le=180*Math.atan(g)/Math.PI;l.point[0]<d.point[0]&&(le+=180),S.rotate(-le*Math.PI/180)}S.translate(B,L,0),s-=w[0]*C[o].an/200,C[o+1]&&$!==C[o+1].ind&&(s+=C[o].an/2,s+=e.tr/1e3*e.finalSize)}else{switch(S.translate(r,n,0),e.ps&&S.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:S.translate(C[o].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[o].line]),0,0);break;case 2:S.translate(C[o].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[o].line])/2,0,0)}S.translate(0,-e.ls),S.translate(R,0,0),S.translate(w[0]*C[o].an/200,w[1]*I/100,0),r+=C[o].l+e.tr/1e3*e.finalSize}"html"===k?ee=S.toCSS():"svg"===k?ee=S.to2dCSS():te=[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]],X=N}P<=o?(F=new LetterProps(X,W,U,Y,ee,te),this.renderedLetters.push(F),P+=1,this.lettersChangedFlag=!0):(F=this.renderedLetters[o],this.lettersChangedFlag=F.update(X,W,U,Y,ee,te)||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),LetterProps.prototype.update=function(e,t,r,n,o,a){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 i=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,i=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,i=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,i=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,i=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,i=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,i=!0),i},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,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(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,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var n,o=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;n<o;n+=1)a=r!==this.keysIndex?this.effectsSequence[n](a,a.t):this.effectsSequence[n](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.pv=this.v=this.currentData,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,n=e.length;r<=n-1&&(e[r].s,!(r===n-1||e[r+1].t>t));)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r=FontManager.getCombinedCharacterCodes(),n=[],o=0,a=e.length;o<a;)t=e.charCodeAt(o),-1!==r.indexOf(t)?n[n.length-1]+=e.charAt(o):t>=55296&&t<=56319&&(t=e.charCodeAt(o+1))>=56320&&t<=57343?(n.push(e.substr(o,2)),++o):n.push(e.charAt(o)),o+=1;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,o,a,i,s,l=this.elem.globalData.fontManager,c=this.data,p=[],h=0,u=c.m.g,d=0,f=0,m=0,_=[],y=0,b=0,g=l.getFontByName(e.f),v=0,w=g.fStyle?g.fStyle.split(" "):[],x="normal",E="normal";for(r=w.length,t=0;t<r;t+=1)switch(w[t].toLowerCase()){case"italic":E="italic";break;case"bold":x="700";break;case"black":x="900";break;case"medium":x="500";break;case"regular":case"normal":x="400";break;case"light":case"thin":x="200"}e.fWeight=g.fWeight||x,e.fStyle=E,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var S,k=e.tr/1e3*e.finalSize;if(e.sz)for(var P,C,T=!0,A=e.sz[0],M=e.sz[1];T;){P=0,y=0,r=(C=this.buildFinalText(e.t)).length,k=e.tr/1e3*e.finalSize;var D=-1;for(t=0;t<r;t+=1)S=C[t].charCodeAt(0),n=!1," "===C[t]?D=t:13!==S&&3!==S||(y=0,n=!0,P+=e.finalLineHeight||1.2*e.finalSize),l.chars?(s=l.getCharData(C[t],g.fStyle,g.fFamily),v=n?0:s.w*e.finalSize/100):v=l.measureText(C[t],e.f,e.finalSize),y+v>A&&" "!==C[t]?(-1===D?r+=1:t=D,P+=e.finalLineHeight||1.2*e.finalSize,C.splice(t,D===t?1:0,"\r"),D=-1,y=0):(y+=v,y+=k);P+=g.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&M<P?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=C,r=e.finalText.length,T=!1)}y=-k,v=0;var O,F=0;for(t=0;t<r;t+=1)if(n=!1,13===(S=(O=e.finalText[t]).charCodeAt(0))||3===S?(F=0,_.push(y),b=y>b?y:b,y=-2*k,o="",n=!0,m+=1):o=O,l.chars?(s=l.getCharData(O,g.fStyle,l.getFontByName(e.f).fFamily),v=n?0:s.w*e.finalSize/100):v=l.measureText(o,e.f,e.finalSize)," "===O?F+=v+k:(y+=v+k+F,F=0),p.push({l:v,an:v,add:d,n,anIndexes:[],val:o,line:m,animatorJustifyOffset:0}),2==u){if(d+=v,""===o||" "===o||t===r-1){for(""!==o&&" "!==o||(d-=v);f<=t;)p[f].an=d,p[f].ind=h,p[f].extra=v,f+=1;h+=1,d=0}}else if(3==u){if(d+=v,""===o||t===r-1){for(""===o&&(d-=v);f<=t;)p[f].an=d,p[f].ind=h,p[f].extra=v,f+=1;d=0,h+=1}}else p[h].ind=h,p[h].extra=0,h+=1;if(e.l=p,b=y>b?y:b,_.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=b,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=_;var I,j,z=c.a;i=z.length;var R,B,L=[];for(a=0;a<i;a+=1){for((I=z[a]).a.sc&&(e.strokeColorAnim=!0),I.a.sw&&(e.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(e.fillColorAnim=!0),B=0,R=I.s.b,t=0;t<r;t+=1)(j=p[t]).anIndexes[a]=B,(1==R&&""!==j.val||2==R&&""!==j.val&&" "!==j.val||3==R&&(j.n||" "==j.val||t==r-1)||4==R&&(j.n||t==r-1))&&(1===I.s.rn&&L.push(B),B+=1);c.a[a].s.totalChars=B;var N,V=-1;if(1===I.s.rn)for(t=0;t<r;t+=1)V!=(j=p[t]).anIndexes[a]&&(V=j.anIndexes[a],N=L.splice(Math.floor(Math.random()*L.length),1)[0]),j.anIndexes[a]=N}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=g.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function n(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,a=0,i=1,s=1;this.ne.v>0?o=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?i=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(o,a,i,s).get,c=0,p=this.finalS,h=this.finalE,u=this.data.sh;if(2===u)c=l(c=h===p?n>=h?1:0:e(0,t(.5/(h-p)+(n-p)/(h-p),1)));else if(3===u)c=l(c=h===p?n>=h?0:1:1-e(0,t(.5/(h-p)+(n-p)/(h-p),1)));else if(4===u)h===p?c=0:(c=e(0,t(.5/(h-p)+(n-p)/(h-p),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===u){if(h===p)c=0;else{var d=h-p,f=-d/2+(n=t(e(0,n+.5-p),h-p)),m=d/2;c=Math.sqrt(1-f*f/(m*m))}c=l(c)}else 6===u?(h===p?c=0:(n=t(e(0,n+.5-p),h-p),c=(1+Math.cos(Math.PI+2*Math.PI*n/(h-p)))/2),c=l(c)):(n>=r(p)&&(c=e(0,t(n-p<0?t(h,1)-(p-n):h-n,1))),c=l(c));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,r=this.o.v/t,n=this.s.v/t+r,o=this.e.v/t+r;if(n>o){var a=n;n=o,o=a}this.finalS=n,this.finalE=o}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}(),pool_factory=function(e,t,r,n){var o=0,a=e,i=createSizedArray(a);function s(){return o?i[o-=1]:t()}return{newElement:s,release:function(e){o===a&&(i=pooling.double(i),a*=2),r&&r(e),i[o]=e,o+=1}}},pooling=function(){return{double:function(e){return e.concat(createSizedArray(e.length))}}}(),point_pool=function(){return pool_factory(8,function(){return createTypedArray("float32",2)})}(),shape_pool=function(){var e=pool_factory(4,function(){return new ShapePath},function(e){var t,r=e._length;for(t=0;t<r;t+=1)point_pool.release(e.v[t]),point_pool.release(e.i[t]),point_pool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1});return e.clone=function(t){var r,n=e.newElement(),o=void 0===t._length?t.v.length:t._length;for(n.setLength(o),n.c=t.c,r=0;r<o;r+=1)n.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],r);return n},e}(),shapeCollection_pool=function(){var e={newShapeCollection:function(){var e;e=t?n[t-=1]:new ShapeCollection;return e},release:function(e){var o,a=e._length;for(o=0;o<a;o+=1)shape_pool.release(e.shapes[o]);e._length=0,t===r&&(n=pooling.double(n),r*=2);n[t]=e,t+=1}},t=0,r=4,n=createSizedArray(r);return e}(),segments_length_pool=function(){return pool_factory(8,function(){return{lengths:[],totalLength:0}},function(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezier_length_pool.release(e.lengths[t]);e.lengths.length=0})}(),bezier_length_pool=function(){return pool_factory(8,function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}})}();function BaseRenderer(){}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var n=createNS("title"),o=createElementID();n.setAttribute("id",o),n.textContent=t.title,this.svgElement.appendChild(n),r+=o}if(t&&t.description){var a=createNS("desc"),i=createElementID();a.setAttribute("id",i),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+i}r&&this.svgElement.setAttribute("aria-labelledby",r);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!t||!1!==t.hideOnTransparent,viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.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"}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!t||!1!==t.hideOnTransparent,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.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"}function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var i,s,l,c,p,h,u,d=this.masksProperties,f=0,m=[],_=createElementID(),y="clipPath",b="clip-path";for(n=0;n<a;n++)if(("a"!==d[n].mode&&"n"!==d[n].mode||d[n].inv||100!==d[n].o.k||d[n].o.x)&&(y="mask",b="mask"),"s"!=d[n].mode&&"i"!=d[n].mode||0!==f?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),i=createNS("path"),"n"!=d[n].mode){var g;if(f+=1,i.setAttribute("fill","s"===d[n].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==d[n].x.k?(y="mask",b="mask",u=PropertyFactory.getProp(this.element,d[n].x,0,null,this.element),g=createElementID(),(p=createNS("filter")).setAttribute("id",g),(h=createNS("feMorphology")).setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),p.appendChild(h),o.appendChild(p),i.setAttribute("stroke","s"===d[n].mode?"#000000":"#ffffff")):(h=null,u=null),this.storedData[n]={elem:i,x:u,expan:h,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},"i"==d[n].mode){l=m.length;var v=createNS("g");for(s=0;s<l;s+=1)v.appendChild(m[s]);var w=createNS("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",_+"_"+f),w.appendChild(i),o.appendChild(w),v.setAttribute("mask","url("+locationHref+"#"+_+"_"+f+")"),m.length=0,m.push(v)}else m.push(i);d[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(d[n],this.viewData[n].prop.v,this.viewData[n])}else this.viewData[n]={op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),elem:i,lastPath:""},o.appendChild(i);for(this.maskElement=createNS(y),a=m.length,n=0;n<a;n+=1)this.maskElement.appendChild(m[n]);f>0&&(this.maskElement.setAttribute("id",_),this.element.maskedElement.setAttribute(b,"url("+locationHref+"#"+_+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(e,t){this.elem=e,this.pos=t}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var n=0,o=e.length;n<o;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t--)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;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:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 13:return this.createCamera(e)}return this.createNull(e)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,r,n=e.length,o=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<o;){if(this.layers[r].id==e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var n=this.elements,o=this.layers,a=0,i=o.length;a<i;)o[a].ind==t&&(n[a]&&!0!==n[a]?(r.push(n[a]),n[a].setAsParent(),void 0!==o[a].parent?this.buildElementParenting(e,o[a].parent,r):e.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(e))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRenderer.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRenderer.prototype.createText=function(e){return new SVGTextElement(e,this.globalData,this)},SVGRenderer.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},SVGRenderer.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var o=createElementID();r.setAttribute("id",o),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+o+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);t[e]=r,expressionsPlugin&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt&&(this.elements[e-1]&&!0!==this.elements[e-1]?r.setMatte(t[e-1].layerId):(this.buildItem(e-1),this.addPendingElement(r)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRenderer.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t--)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var n,o=0;o<t;)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement()&&(n=this.elements[o].getBaseElement()),o+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRenderer.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRenderer.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.cTr.props;this.transformMat.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRenderer.prototype.ctxOpacity=function(e){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=e<0?0:e,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(e){if(this.renderConfig.clearCanvas){e&&this.canvasContext.save();var t=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r,n=this.contextData.saved[this.contextData.cArrPos];for(r=0;r<16;r+=1)n[r]=t[r];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var t,r=this.contextData.saved[this.contextData.cArrPos],n=this.contextData.cTr.props;for(t=0;t<16;t+=1)n[t]=r[t];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(e){this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),this.animationItem.container.style.width="100%",this.animationItem.container.style.height="100%",this.animationItem.container.style.transformOrigin=this.animationItem.container.style.mozTransformOrigin=this.animationItem.container.style.webkitTransformOrigin=this.animationItem.container.style["-webkit-transform"]="0px 0px 0px",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)):this.canvasContext=this.renderConfig.context,this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,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(e.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var e,t,r,n;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var o=this.renderConfig.preserveAspectRatio.split(" "),a=o[1]||"meet",i=o[0]||"xMidYMid",s=i.substr(0,4),l=i.substr(4);r=e/t,(n=this.transformCanvas.w/this.transformCanvas.h)>r&&"meet"===a||n<r&&"slice"===a?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===s&&(n<r&&"meet"===a||n>r&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(n<r&&"meet"===a||n>r&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(n>r&&"meet"===a||n<r&&"slice"===a)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(n>r&&"meet"===a||n<r&&"slice"===a)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(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)},CanvasRenderer.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){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,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r<n;r++)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},HybridRenderer.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var n=this.layers[t];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var o,a,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement&&(a=this.elements[i],o=(this.layers[i].ddd?this.getThreeDContainerByPos(i):a.getBaseElement())||o),i+=1;o?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,o):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRenderer.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRenderer.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextElement(e,this.globalData,this)},HybridRenderer.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},HybridRenderer.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}},HybridRenderer.prototype.createThreeDContainer=function(e,t){var r=createTag("div");styleDiv(r);var n=createTag("div");styleDiv(n),"3d"===t&&(r.style.width=this.globalData.compSize.w+"px",r.style.height=this.globalData.compSize.h+"px",r.style.transformOrigin=r.style.mozTransformOrigin=r.style.webkitTransformOrigin="50% 50%",n.style.transform=n.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),r.appendChild(n);var o={container:n,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(o),o},HybridRenderer.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==n&&(n="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==n&&(n="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e--)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;r<n;){if(t<=this.threeDElements[r].endPos){for(var o,a=this.threeDElements[r].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a].getBaseElement()),a+=1;o?this.threeDElements[r].container.insertBefore(e,o):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRenderer.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper;t.style.width=e.w+"px",t.style.height=e.h+"px",this.resizerElem=t,styleDiv(t),t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),t.style.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var o=createNS("defs");n.appendChild(o),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=o,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var e,t,r,n,o=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,i=o/a;this.globalData.compSize.w/this.globalData.compSize.h>i?(e=o/this.globalData.compSize.w,t=o/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(o/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(o-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",0,1)"},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e<n;e+=1)this.threeDElements[e].perspectiveElem.style.perspective=this.threeDElements[e].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length,n=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var o=this.createComp(e[t],n,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(t=0;t<n;t++)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var o=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[t].filterId+")")),o.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var n,o,a=" M"+t.v[0][0]+","+t.v[0][1];for(o=t._length,n=1;n<o;n+=1)a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&o>1&&(a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==a){var i="";r.elem&&(t.c&&(i=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",i)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},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,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<n;r+=1)e=this.hierarchy[r].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r=!0,n=this.comp;r;)n.finalTransform?(n.data.hasMask&&t.splice(0,0,n.finalTransform),n=n.comp):r=!1;var o,a,i=t.length;for(o=0;o<i;o+=1)a=t[o].mat.applyToPointArray(0,0,0),e=[e[0]-a[0],e[1]-a[1],0];return e},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!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<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),n=createNS(1===t.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var o,a,i,s=[];for(i=4*t.g.p,a=0;a<i;a+=4)o=createNS("stop"),n.appendChild(o),s.push(o);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+r+")"),this.gf=n,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,o,a=createNS("mask"),i=createNS("path");a.appendChild(i);var s=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",s),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),o=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var p=this.stops;for(n=4*e.g.p;n<o;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),p.push(r);i.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+s+")"),this.of=c,this.ms=a,this.ost=p,this.maskId=l,t.msElem=i}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function n(r,n,o){var a,i,s,l,c,p,h,u,d,f,m,_=n.styles.length,y=n.lvl;for(p=0;p<_;p+=1){if(l=n.sh._mdf||o,n.styles[p].lvl<y){for(u=t.reset(),f=y-n.styles[p].lvl,m=n.transformers.length-1;!l&&f>0;)l=n.transformers[m].mProps._mdf||l,f--,m--;if(l)for(f=y-n.styles[p].lvl,m=n.transformers.length-1;f>0;)d=n.transformers[m].mProps.v.props,u.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),f--,m--}else u=e;if(i=(h=n.sh.paths)._length,l){for(s="",a=0;a<i;a+=1)(c=h.shapes[a])&&c._length&&(s+=buildShapeString(c,c._length,c.c,u));n.caches[p]=s}else s=n.caches[p];n.styles[p].d+=!0===r.hd?"":s,n.styles[p]._mdf=l||n.styles[p]._mdf}}function o(e,t,r){var n=t.style;(t.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",t.o.v)}function a(e,t,r){i(e,t,r),s(e,t,r)}function i(e,t,r){var n,o,a,i,s,l=t.gf,c=t.g._hasOpacity,p=t.s.v,h=t.e.v;if(t.o._mdf||r){var u="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(u,t.o.v)}if(t.s._mdf||r){var d=1===e.t?"x1":"cx",f="x1"===d?"y1":"cy";l.setAttribute(d,p[0]),l.setAttribute(f,p[1]),c&&!t.g._collapsable&&(t.of.setAttribute(d,p[0]),t.of.setAttribute(f,p[1]))}if(t.g._cmdf||r){n=t.cst;var m=t.g.c;for(a=n.length,o=0;o<a;o+=1)(i=n[o]).setAttribute("offset",m[4*o]+"%"),i.setAttribute("stop-color","rgb("+m[4*o+1]+","+m[4*o+2]+","+m[4*o+3]+")")}if(c&&(t.g._omdf||r)){var _=t.g.o;for(a=(n=t.g._collapsable?t.cst:t.ost).length,o=0;o<a;o+=1)i=n[o],t.g._collapsable||i.setAttribute("offset",_[2*o]+"%"),i.setAttribute("stop-opacity",_[2*o+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",h[0]),t.of.setAttribute("y2",h[1])));else if((t.s._mdf||t.e._mdf||r)&&(s=Math.sqrt(Math.pow(p[0]-h[0],2)+Math.pow(p[1]-h[1],2)),l.setAttribute("r",s),c&&!t.g._collapsable&&t.of.setAttribute("r",s)),t.e._mdf||t.h._mdf||t.a._mdf||r){s||(s=Math.sqrt(Math.pow(p[0]-h[0],2)+Math.pow(p[1]-h[1],2)));var y=Math.atan2(h[1]-p[1],h[0]-p[0]),b=s*(t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v),g=Math.cos(y+t.a.v)*b+p[0],v=Math.sin(y+t.a.v)*b+p[1];l.setAttribute("fx",g),l.setAttribute("fy",v),c&&!t.g._collapsable&&(t.of.setAttribute("fx",g),t.of.setAttribute("fy",v))}}function s(e,t,r){var n=t.style,o=t.d;o&&(o._mdf||r)&&o.dashStr&&(n.pElem.setAttribute("stroke-dasharray",o.dashStr),n.pElem.setAttribute("stroke-dashoffset",o.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){e.ty;switch(e.ty){case"fl":return o;case"gf":return i;case"gs":return a;case"st":return s;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var o=4;"rc"==t.ty?o=5:"el"==t.ty?o=6:"sr"==t.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,o,e);var a,i,s=r.length;for(a=0;a<s;a+=1)r[a].closed||(i={transforms:n.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(i),r[a].elements.push(i))}function BaseElement(){}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(e,t,r){this.initElement(e,t,r)}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGTextElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function SVGTintFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.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"),r.setAttribute("result","f1"),e.appendChild(r),(r=createNS("feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),e.appendChild(r),this.matrixFilter=r,100!==t.effectElements[2].p.v||t.effectElements[2].p.k){var n,o=createNS("feMerge");e.appendChild(o),(n=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),o.appendChild(n),(n=createNS("feMergeNode")).setAttribute("in","f2"),o.appendChild(n)}}function SVGFillFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.appendChild(r),this.matrixFilter=r}function SVGGaussianBlurEffect(e,t){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var r=createNS("feGaussianBlur");e.appendChild(r),this.feGaussianBlur=r}function SVGStrokeEffect(e,t){this.initialized=!1,this.filterManager=t,this.elem=e,this.paths=[]}function SVGTritoneFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.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"),r.setAttribute("result","f1"),e.appendChild(r);var n=createNS("feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),this.matrixFilter=n;var o=createNS("feFuncR");o.setAttribute("type","table"),n.appendChild(o),this.feFuncR=o;var a=createNS("feFuncG");a.setAttribute("type","table"),n.appendChild(a),this.feFuncG=a;var i=createNS("feFuncB");i.setAttribute("type","table"),n.appendChild(i),this.feFuncB=i}function SVGProLevelsFilter(e,t){this.filterManager=t;var r=this.filterManager.effectElements,n=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",n)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",n)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",n)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),n=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n))}function SVGDropShadowEffect(e,t){var r=t.container.globalData.renderConfig.filterSize;e.setAttribute("x",r.x),e.setAttribute("y",r.y),e.setAttribute("width",r.width),e.setAttribute("height",r.height),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("in","SourceAlpha"),n.setAttribute("result","drop_shadow_1"),n.setAttribute("stdDeviation","0"),this.feGaussianBlur=n,e.appendChild(n);var o=createNS("feOffset");o.setAttribute("dx","25"),o.setAttribute("dy","0"),o.setAttribute("in","drop_shadow_1"),o.setAttribute("result","drop_shadow_2"),this.feOffset=o,e.appendChild(o);var a=createNS("feFlood");a.setAttribute("flood-color","#00ff00"),a.setAttribute("flood-opacity","1"),a.setAttribute("result","drop_shadow_3"),this.feFlood=a,e.appendChild(a);var i=createNS("feComposite");i.setAttribute("in","drop_shadow_3"),i.setAttribute("in2","drop_shadow_2"),i.setAttribute("operator","in"),i.setAttribute("result","drop_shadow_4"),e.appendChild(i);var s,l=createNS("feMerge");e.appendChild(l),s=createNS("feMergeNode"),l.appendChild(s),(s=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=s,this.feMerge=l,this.originalNodeAdded=!1,l.appendChild(s)}ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var o=this.sequences[n];return o||(o={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=o,this.sequenceList.push(o)),o},processSequence:function(e,t){for(var r,n=0,o=e.transforms.length,a=t;n<o&&!t;){if(e.transforms[n].transform.mProps._mdf){a=!0;break}n+=1}if(a)for(e.finalTransform.reset(),n=o-1;n>=0;n-=1)r=e.transforms[n].transform.mProps.v.props,e.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return"_"+this.transform_key_count++}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,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(){}},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!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),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 e,t,r,n=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var o=createNS("mask");o.setAttribute("id",this.layerId),o.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),o.appendChild(this.layerElement),n=o,this.globalData.defs.appendChild(o),featureSupport.maskType||1!=this.data.td||(o.setAttribute("mask-type","luminance"),e=createElementID(),t=filtersFactory.createFilter(e),this.globalData.defs.appendChild(t),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(this.layerElement),n=r,o.appendChild(r),r.setAttribute("filter","url("+locationHref+"#"+e+")"))}else if(2==this.data.td){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type","alpha");var i=createNS("g");a.appendChild(i),e=createElementID(),t=filtersFactory.createFilter(e);var s=createNS("feComponentTransfer");s.setAttribute("in","SourceGraphic"),t.appendChild(s);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),s.appendChild(l),this.globalData.defs.appendChild(t);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),i.setAttribute("filter","url("+locationHref+"#"+e+")"),i.appendChild(c),i.appendChild(this.layerElement),n=i,featureSupport.maskType||(a.setAttribute("mask-type","luminance"),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),i.appendChild(c),r.appendChild(this.layerElement),n=r,i.appendChild(r)),this.globalData.defs.appendChild(a)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),n=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),0===this.data.ty&&!this.data.hd){var p=createNS("clipPath"),h=createNS("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var u=createElementID();if(p.setAttribute("id",u),p.appendChild(h),this.globalData.defs.appendChild(p),this.checkMasks()){var d=createNS("g");d.setAttribute("clip-path","url("+locationHref+"#"+u+")"),d.appendChild(this.layerElement),this.transformedElement=d,n?n.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+u+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},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)},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+e+")")}},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0;e-=1)this.shapeModifiers[e].processShapes(this._isFirstFrame)}},lcEnum:{1:"butt",2:"round",3:"square"},ljEnum:{1:"miter",2:"round",3:"bevel"},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}},ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var r,n,o=t.length,a="";for(r=0;r<o;r+=1)n=t[r].ks.k,a+=buildShapeString(n,n.i.length,!0,e);return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,n,o){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(n,o,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=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",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextElement),SVGTextElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,n=[],o="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(o),o=""):o+=e[t],t+=1;return n.push(o),n},SVGTextElement.prototype.buildNewText=function(){var e,t,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var o=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",r.t);var i,s=r.l||[],l=!!this.globalData.fontManager.chars;t=s.length;var c,p=this.mHelper,h="",u=this.data.singleShape,d=0,f=0,m=!0,_=r.tr/1e3*r.finalSize;if(!u||l||r.sz){var y,b,g=this.textSpans.length;for(e=0;e<t;e+=1)l&&u&&0!==e||(i=g>e?this.textSpans[e]:createNS(l?"path":"text"),g<=e&&(i.setAttribute("stroke-linecap","butt"),i.setAttribute("stroke-linejoin","round"),i.setAttribute("stroke-miterlimit","4"),this.textSpans[e]=i,this.layerElement.appendChild(i)),i.style.display="inherit"),p.reset(),p.scale(r.finalSize/100,r.finalSize/100),u&&(s[e].n&&(d=-_,f+=r.yOffset,f+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(r,p,s[e].line,d,f),d+=s[e].l||0,d+=_),l?(c=(y=(b=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily))&&b.data||{}).shapes?y.shapes[0].it:[],u?h+=this.createPathShape(p,c):i.setAttribute("d",this.createPathShape(p,c))):(u&&i.setAttribute("transform","translate("+p.props[12]+","+p.props[13]+")"),i.textContent=s[e].val,i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));u&&i&&i.setAttribute("d",h)}else{var v=this.textContainer,w="start";switch(r.j){case 1:w="end";break;case 2:w="middle"}v.setAttribute("text-anchor",w),v.setAttribute("letter-spacing",_);var x=this.buildTextContents(r.finalText);for(t=x.length,f=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(i=this.textSpans[e]||createNS("tspan")).textContent=x[e],i.setAttribute("x",0),i.setAttribute("y",f),i.style.display="inherit",v.appendChild(i),this.textSpans[e]=i,f+=r.finalLineHeight;this.layerElement.appendChild(v)}for(;e<this.textSpans.length;)this.textSpans[e].style.display="none",e+=1;this._sizeChanged=!0},SVGTextElement.prototype.sourceRectAtTime=function(e){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,n,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(t=a.length,e=0;e<t;e+=1)a[e].n||(r=o[e],n=this.textSpans[e],r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},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,r,n,o=this.shapes.length,a=this.stylesList.length,i=[],s=!1;for(r=0;r<a;r+=1){for(n=this.stylesList[r],s=!1,i.length=0,e=0;e<o;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(n)&&(i.push(t),s=t._isAnimated||s);i.length>1&&s&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,n=new SVGStyleData(e,t),o=n.pElem;if("st"===e.ty)r=new SVGStrokeStyleData(this,e,n);else if("fl"===e.ty)r=new SVGFillStyleData(this,e,n);else if("gf"===e.ty||"gs"===e.ty){r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),o.setAttribute("mask","url("+locationHref+"#"+r.maskId+")"))}return"st"!==e.ty&&"gs"!==e.ty||(o.setAttribute("stroke-linecap",this.lcEnum[e.lc]||"round"),o.setAttribute("stroke-linejoin",this.ljEnum[e.lj]||"round"),o.setAttribute("fill-opacity","0"),1===e.lj&&o.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&o.setAttribute("fill-rule","evenodd"),e.ln&&o.setAttribute("id",e.ln),e.cl&&o.setAttribute("class",e.cl),e.bm&&(o.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;"rc"===e.ty?n=5:"el"===e.ty?n=6:"sr"===e.ty&&(n=7);var o=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(o),this.addShapeToModifiers(o),this.addToAnimatedContents(e,o),o},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,n,o,a,i){var s,l,c,p,h,u,d=[].concat(a),f=e.length-1,m=[],_=[];for(s=f;s>=0;s-=1){if((u=this.searchProcessedElement(e[s]))?t[s]=r[u-1]:e[s]._render=i,"fl"==e[s].ty||"st"==e[s].ty||"gf"==e[s].ty||"gs"==e[s].ty)u?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],o),e[s]._render&&n.appendChild(t[s].style.pElem),m.push(t[s].style);else if("gr"==e[s].ty){if(u)for(c=t[s].it.length,l=0;l<c;l+=1)t[s].prevViewData[l]=t[s].it[l];else t[s]=this.createGroupElement(e[s]);this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,t[s].gr,o+1,d,i),e[s]._render&&n.appendChild(t[s].gr)}else"tr"==e[s].ty?(u||(t[s]=this.createTransformElement(e[s],n)),p=t[s].transform,d.push(p)):"sh"==e[s].ty||"rc"==e[s].ty||"el"==e[s].ty||"sr"==e[s].ty?(u||(t[s]=this.createShapeElement(e[s],d,o)),this.setElementStyles(t[s])):"tm"==e[s].ty||"rd"==e[s].ty||"ms"==e[s].ty?(u?(h=t[s]).closed=!1:((h=ShapeModifiers.getModifier(e[s].ty)).init(this,e[s]),t[s]=h,this.shapeModifiers.push(h)),_.push(h)):"rp"==e[s].ty&&(u?(h=t[s]).closed=!0:(h=ShapeModifiers.getModifier(e[s].ty),t[s]=h,h.init(this,e,s,t),this.shapeModifiers.push(h),i=!1),_.push(h));this.addProcessedElement(e[s],s+1)}for(f=m.length,s=0;s<f;s+=1)m[s].closed=!0;for(f=_.length,s=0;s<f;s+=1)_[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:t,o=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+o);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,n,o=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=(r=this.filterManager.effectElements[0].p.v-1)+1,(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<n;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),i=createElementID();a.setAttribute("id",i),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var s=createNS("g");for(s.setAttribute("mask","url("+locationHref+"#"+i+")");o[0];)s.appendChild(o[0]);this.elem.layerElement.appendChild(s),this.masker=a,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(o=this.elem.layerElement.children||this.elem.layerElement.childNodes;o.length;)this.elem.layerElement.removeChild(o[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,r,n,o=this.paths.length;for(t=0;t<o;t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var i=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,s=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,l=n.getTotalLength();a="0 0 0 "+l*i+" ";var c,p=l*(s-i),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,u=Math.floor(p/h);for(c=0;c<u;c+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;n.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var d=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*d[0])+","+bm_floor(255*d[1])+","+bm_floor(255*d[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,o=n[0]+" "+r[0]+" "+t[0],a=n[1]+" "+r[1]+" "+t[1],i=n[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",i)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,n,o){for(var a,i,s=0,l=Math.min(e,t),c=Math.max(e,t),p=Array.call(null,{length:256}),h=0,u=o-n,d=t-e;s<=256;)i=(a=s/256)<=l?d<0?o:n:a>=c?d<0?n:o:n+u*Math.pow((a-e)/d,1/r),p[h++]=i,s+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},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 r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGEffects(e){var t,r,n=e.data.ef?e.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o),i=0;for(this.filters=[],t=0;t<n;t+=1)r=null,20===e.data.ef[t].ty?(i+=1,r=new SVGTintFilter(a,e.effectsManager.effectElements[t])):21===e.data.ef[t].ty?(i+=1,r=new SVGFillFilter(a,e.effectsManager.effectElements[t])):22===e.data.ef[t].ty?r=new SVGStrokeEffect(e,e.effectsManager.effectElements[t]):23===e.data.ef[t].ty?(i+=1,r=new SVGTritoneFilter(a,e.effectsManager.effectElements[t])):24===e.data.ef[t].ty?(i+=1,r=new SVGProLevelsFilter(a,e.effectsManager.effectElements[t])):25===e.data.ef[t].ty?(i+=1,r=new SVGDropShadowEffect(a,e.effectsManager.effectElements[t])):28===e.data.ef[t].ty?r=new SVGMatte3Effect(a,e.effectsManager.effectElements[t],e):29===e.data.ef[t].ty&&(i+=1,r=new SVGGaussianBlurEffect(a,e.effectsManager.effectElements[t])),r&&this.filters.push(r);i&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+locationHref+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}function CVContextData(){this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var e;for(this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getImage(this.assetData),this.initElement(e,t,r)}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,n=this.masksProperties.length,o=!1;for(r=0;r<n;r++)"n"!==this.masksProperties[r].mode&&(o=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=o,o&&this.element.addRenderableComponent(this)}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CVTextElement(e,t,r){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(e,t,r)}function CVEffects(){}function HBaseElement(e,t,r){}function HSolidElement(e,t,r){this.initElement(e,t,r)}function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var o,a=e.ks.or.k.length;for(o=0;o<a;o+=1)e.ks.or.k[o].to=null,e.ks.or.k[o].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var n,o=r.children,a=0,i=o.length;a<i&&o[a]!==e.layerElement;)a+=1;a<=i-2&&(n=o[a+1]);var s=createNS("use");s.setAttribute("href","#"+t),n?r.insertBefore(s,n):r.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var o=e.globalData.defs;o.appendChild(n);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),o.appendChild(a);var i=createNS("use");i.setAttribute("href","#"+r),n.appendChild(i),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,n=t.length;r<n;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var r=0;for(r=this._length;r<e;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},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)},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)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var e=0===this.data.ty;this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(e),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,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 e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,n=e.getContext("2d"),o=this.img.width,a=this.img.height,i=o/a,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;i>s&&"xMidYMid slice"===l||i<s&&"xMidYMid slice"!==l?t=(r=a)*s:r=(t=o)/s,n.drawImage(this.img,(o-t)/2,(a-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(e){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=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},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,o=this.element.finalTransform.mat,a=this.element.canvasContext,i=this.masksProperties.length;for(a.beginPath(),e=0;e<i;e++)if("n"!==this.masksProperties[e].mode){this.masksProperties[e].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),n=this.viewData[e].v,t=o.applyToPointArray(n.v[0][0],n.v[0][1],0),a.moveTo(t[0],t[1]);var s,l=n._length;for(s=1;s<l;s++)r=o.applyToTriplePoints(n.o[s-1],n.i[s],n.v[s]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=o.applyToTriplePoints(n.o[s-1],n.i[0],n.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},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 r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},n={};if("fl"==e.ty||"st"==e.ty?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bm_floor(n.c.v[0])+","+bm_floor(n.c.v[1])+","+bm_floor(n.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"==e.ty||"gs"==e.ty){if(r.lc=this.lcEnum[e.lc]||"round",r.lj=this.ljEnum[e.lj]||"round",1==e.lj&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var o=new DashProperty(this,e.d,"canvas",this);n.d=o,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(e){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(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,n,o){var a,i,s,l,c,p,h=e.length-1,u=[],d=[],f=[].concat(o);for(a=h;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=n,"fl"==e[a].ty||"st"==e[a].ty||"gf"==e[a].ty||"gs"==e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],f),u.push(t[a].style);else if("gr"==e[a].ty){if(l)for(s=t[a].it.length,i=0;i<s;i+=1)t[a].prevViewData[i]=t[a].it[i];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,n,f)}else"tr"==e[a].ty?(l||(p=this.createTransformElement(e[a]),t[a]=p),f.push(t[a]),this.addTransformToStyleList(t[a])):"sh"==e[a].ty||"rc"==e[a].ty||"el"==e[a].ty||"sr"==e[a].ty?l||(t[a]=this.createShapeElement(e[a])):"tm"==e[a].ty||"rd"==e[a].ty?(l?(c=t[a]).closed=!1:((c=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=c,this.shapeModifiers.push(c)),d.push(c)):"rp"==e[a].ty&&(l?(c=t[a]).closed=!0:(c=ShapeModifiers.getModifier(e[a].ty),t[a]=c,c.init(this,e,a,t),this.shapeModifiers.push(c),n=!1),d.push(c));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(u),h=d.length,a=0;a<h;a+=1)d[a].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(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,n,o,a,i,s,l,c=this.stylesList.length,p=this.globalData.renderer,h=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(s=(l=this.stylesList[e]).type)&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),a=l.elements,"st"===s||"gs"===s?(h.strokeStyle="st"===s?l.co:l.grd,h.lineWidth=l.wi,h.lineCap=l.lc,h.lineJoin=l.lj,h.miterLimit=l.ml||0):h.fillStyle="fl"===s?l.co:l.grd,p.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&h.beginPath(),p.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,t=0;t<r;t+=1){for("st"!==s&&"gs"!==s||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l.do)),o=(i=a[t].trNodes).length,n=0;n<o;n+=1)"m"==i[n].t?h.moveTo(i[n].p[0],i[n].p[1]):"c"==i[n].t?h.bezierCurveTo(i[n].pts[0],i[n].pts[1],i[n].pts[2],i[n].pts[3],i[n].pts[4],i[n].pts[5]):h.closePath();"st"!==s&&"gs"!==s||(h.stroke(),l.da&&h.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&h.fill(l.r),p.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var o,a;for(a=e,o=t.length-1;o>=0;o-=1)"tr"==t[o].ty?(a=r[o].transform,this.renderShapeTransform(e,a)):"sh"==t[o].ty||"el"==t[o].ty||"rc"==t[o].ty||"sr"==t[o].ty?this.renderPath(t[o],r[o]):"fl"==t[o].ty?this.renderFill(t[o],r[o],a):"st"==t[o].ty?this.renderStroke(t[o],r[o],a):"gf"==t[o].ty||"gs"==t[o].ty?this.renderGradientFill(t[o],r[o],a):"gr"==t[o].ty?this.renderShape(a,t[o].it,r[o].it):t[o].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,o,a=e.trNodes,i=t.paths,s=i._length;a.length=0;var l=e.transforms.finalTransform;for(o=0;o<s;o+=1){var c=i.shapes[o];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n=t.style;if(!n.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var o=this.globalData.canvasContext,a=t.s.v,i=t.e.v;if(1===e.t)u=o.createLinearGradient(a[0],a[1],i[0],i[1]);else var s=Math.sqrt(Math.pow(a[0]-i[0],2)+Math.pow(a[1]-i[1],2)),l=Math.atan2(i[1]-a[1],i[0]-a[0]),c=s*(t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v),p=Math.cos(l+t.a.v)*c+a[0],h=Math.sin(l+t.a.v)*c+a[1],u=o.createRadialGradient(p,h,0,a[0],a[1],s);var d,f=e.g.p,m=t.g.c,_=1;for(d=0;d<f;d+=1)t.g._hasOpacity&&t.g._collapsable&&(_=t.g.o[2*d+1]),u.addColorStop(m[4*d]/100,"rgba("+m[4*d+1]+","+m[4*d+2]+","+m[4*d+3]+","+_+")");n.grd=u}n.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,o=t.d;o&&(o._mdf||this._isFirstFrame)&&(n.da=o.dashArray,n.do=o.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var n,o,a=this.globalData.fontManager.getFontByName(e.f),i=e.l,s=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,o=e.finalText.length;var l,c,p,h,u,d,f,m,_,y,b=this.data.singleShape,g=e.tr/1e3*e.finalSize,v=0,w=0,x=!0,E=0;for(n=0;n<o;n+=1){for(c=(l=this.globalData.fontManager.getCharData(e.finalText[n],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&l.data||{},s.reset(),b&&i[n].n&&(v=-g,w+=e.yOffset,w+=x?1:0,x=!1),f=(u=c.shapes?c.shapes[0].it:[]).length,s.scale(e.finalSize/100,e.finalSize/100),b&&this.applyTextPropertiesToMatrix(e,s,i[n].line,v,w),_=createSizedArray(f),d=0;d<f;d+=1){for(h=u[d].ks.k.i.length,m=u[d].ks.k,y=[],p=1;p<h;p+=1)1==p&&y.push(s.applyToX(m.v[0][0],m.v[0][1],0),s.applyToY(m.v[0][0],m.v[0][1],0)),y.push(s.applyToX(m.o[p-1][0],m.o[p-1][1],0),s.applyToY(m.o[p-1][0],m.o[p-1][1],0),s.applyToX(m.i[p][0],m.i[p][1],0),s.applyToY(m.i[p][0],m.i[p][1],0),s.applyToX(m.v[p][0],m.v[p][1],0),s.applyToY(m.v[p][0],m.v[p][1],0));y.push(s.applyToX(m.o[p-1][0],m.o[p-1][1],0),s.applyToY(m.o[p-1][0],m.o[p-1][1],0),s.applyToX(m.i[0][0],m.i[0][1],0),s.applyToY(m.i[0][0],m.i[0][1],0),s.applyToX(m.v[0][0],m.v[0][1],0),s.applyToY(m.v[0][0],m.v[0][1],0)),_[d]=y}b&&(v+=i[n].l,v+=g),this.textSpans[E]?this.textSpans[E].elem=_:this.textSpans[E]={elem:_},E+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,o,a,i=this.canvasContext;this.finalTransform.mat.props;i.font=this.values.fValue,i.lineCap="butt",i.lineJoin="miter",i.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;t=c.length;var p,h,u=null,d=null,f=null;for(e=0;e<t;e+=1)if(!c[e].n){if((s=l[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(s.p),this.globalData.renderer.ctxOpacity(s.o)),this.fill){for(s&&s.fc?u!==s.fc&&(u=s.fc,i.fillStyle=s.fc):u!==this.values.fill&&(u=this.values.fill,i.fillStyle=this.values.fill),n=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(h=p[r]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),o=2;o<a;o+=6)this.globalData.canvasContext.bezierCurveTo(h[o],h[o+1],h[o+2],h[o+3],h[o+4],h[o+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(s&&s.sw?f!==s.sw&&(f=s.sw,i.lineWidth=s.sw):f!==this.values.sWidth&&(f=this.values.sWidth,i.lineWidth=this.values.sWidth),s&&s.sc?d!==s.sc&&(d=s.sc,i.strokeStyle=s.sc):d!==this.values.stroke&&(d=this.values.stroke,i.strokeStyle=this.values.stroke),n=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(h=p[r]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),o=2;o<a;o+=6)this.globalData.canvasContext.bezierCurveTo(h[o],h[o+1],h[o+2],h[o+3],h[o+4],h[o+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}s&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},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(){this.finalTransform._matMdf&&(this.transformedElement.style.transform=this.transformedElement.style.webkitTransform=this.finalTransform.mat.toCSS()),this.finalTransform._opMdf&&(this.transformedElement.style.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=HybridRenderer.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([HybridRenderer,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(e,t){for(var r,n=0;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):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 r,n=e.length;for(r=0;r<n;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,n,o,a,i,s=e.sh.v,l=e.transformers,c=s._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(l,s.v[r]),o=this.getTransformedPoint(l,s.o[r]),a=this.getTransformedPoint(l,s.i[r+1]),i=this.getTransformedPoint(l,s.v[r+1]),this.checkBounds(n,o,a,i,t);s.c&&(n=this.getTransformedPoint(l,s.v[r]),o=this.getTransformedPoint(l,s.o[r]),a=this.getTransformedPoint(l,s.i[0]),i=this.getTransformedPoint(l,s.v[0]),this.checkBounds(n,o,a,i,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,n,o){this.getBoundsOfCurve(e,t,r,n);var a=this.shapeBoundingBox;o.x=bm_min(a.left,o.x),o.xMax=bm_max(a.right,o.xMax),o.y=bm_min(a.top,o.y),o.yMax=bm_max(a.bottom,o.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(e,t,r,n){for(var o,a,i,s,l,c,p,h=[[e[0],n[0]],[e[1],n[1]]],u=0;u<2;++u)if(a=6*e[u]-12*t[u]+6*r[u],o=-3*e[u]+9*t[u]-9*r[u]+3*n[u],i=3*t[u]-3*e[u],a|=0,i|=0,0!==(o|=0))(l=a*a-4*i*o)<0||(0<(c=(-a+bm_sqrt(l))/(2*o))&&c<1&&h[u].push(this.calculateF(c,e,t,r,n,u)),0<(p=(-a-bm_sqrt(l))/(2*o))&&p<1&&h[u].push(this.calculateF(p,e,t,r,n,u)));else{if(0===a)continue;0<(s=-i/a)&&s<1&&h[u].push(this.calculateF(s,e,t,r,n,u))}this.shapeBoundingBox.left=bm_min.apply(null,h[0]),this.shapeBoundingBox.top=bm_min.apply(null,h[1]),this.shapeBoundingBox.right=bm_max.apply(null,h[0]),this.shapeBoundingBox.bottom=bm_max.apply(null,h[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,o,a){return bm_pow(1-e,3)*t[a]+3*bm_pow(1-e,2)*e*r[a]+3*(1-e)*bm_pow(e,2)*n[a]+bm_pow(e,3)*o[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it&&this.calculateBoundingBox(e[r].it,t)},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<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),(r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y)&&(this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.shapeCont.style.transform=this.shapeCont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}},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 e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style;t.color=t.fill=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)",e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r,n,o=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{t.fontFamily=o.fFamily;var a=e.fWeight,i=e.fStyle;t.fontStyle=i,t.fontWeight=a}var s,l,c,p=e.l;n=p.length;var h,u=this.mHelper,d="",f=0;for(r=0;r<n;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[f]?s=this.textPaths[f]:((s=createNS("path")).setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[f]?c=(l=this.textSpans[f]).children[0]:((l=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(s),styleDiv(l)))):this.isMasked?s=this.textPaths[f]?this.textPaths[f]:createNS("text"):this.textSpans[f]?(l=this.textSpans[f],s=this.textPaths[f]):(styleDiv(l=createTag("span")),styleDiv(s=createTag("span")),l.appendChild(s)),this.globalData.fontManager.chars){var m,_=this.globalData.fontManager.getCharData(e.finalText[r],o.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(m=_?_.data:null,u.reset(),m&&m.shapes&&(h=m.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),d=this.createPathShape(u,h),s.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(s);else{if(this.innerElem.appendChild(l),m&&m.shapes){document.body.appendChild(c);var y=c.getBBox();c.setAttribute("width",y.width+2),c.setAttribute("height",y.height+2),c.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2)),c.style.transform=c.style.webkitTransform="translate("+(y.x-1)+"px,"+(y.y-1)+"px)",p[r].yOffset=y.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);l.appendChild(c)}}else s.textContent=p[r].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(s):(this.innerElem.appendChild(l),s.style.transform=s.style.webkitTransform="translate3d(0,"+-e.finalSize/1.2+"px,0)");this.isMasked?this.textSpans[f]=s:this.textSpans[f]=l,this.textSpans[f].style.display="block",this.textPaths[f]=s,f+=1}for(;f<this.textSpans.length;)this.textSpans[f].style.display="none",f+=1},HTextElement.prototype.renderInnerContent=function(){if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;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),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)")}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var e,t,r,n,o,a=0,i=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(t=s.length,e=0;e<t;e+=1)s[e].n?a+=1:(n=this.textSpans[e],o=this.textPaths[e],r=i[a],a+=1,r._mdf.m&&(this.isMasked?n.setAttribute("transform",r.m):n.style.transform=n.style.webkitTransform=r.m),n.style.opacity=r.o,r.sw&&r._mdf.sw&&o.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&o.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(o.setAttribute("fill",r.fc),o.style.color=r.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var l=this.innerElem.getBBox();this.currentBBox.w!==l.width&&(this.currentBBox.w=l.width,this.svgElement.setAttribute("width",l.width)),this.currentBBox.h!==l.height&&(this.currentBBox.h=l.height,this.svgElement.setAttribute("height",l.height));this.currentBBox.w===l.width+2&&this.currentBBox.h===l.height+2&&this.currentBBox.x===l.x-1&&this.currentBBox.y===l.y-1||(this.currentBBox.w=l.width+2,this.currentBBox.h=l.height+2,this.currentBBox.x=l.x-1,this.currentBBox.y=l.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=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",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r=this.comp.threeDElements.length;for(e=0;e<r;e+=1)"3d"===(t=this.comp.threeDElements[e]).type&&(t.perspectiveElem.style.perspective=t.perspectiveElem.style.webkitPerspective=this.pe.v+"px",t.container.style.transformOrigin=t.container.style.mozTransformOrigin=t.container.style.webkitTransformOrigin="0px 0px 0px",t.perspectiveElem.style.transform=t.perspectiveElem.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)")},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||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(e=t=this.hierarchy.length-1;e>=0;e-=1){var n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.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 o;o=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 a=Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2)+Math.pow(o[2],2)),i=[o[0]/a,o[1]/a,o[2]/a],s=Math.sqrt(i[2]*i[2]+i[0]*i[0]),l=Math.atan2(i[1],s),c=Math.atan2(i[0],-i[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 p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var h;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)"3d"===(h=this.comp.threeDElements[e]).type&&(p&&(h.container.style.transform=h.container.style.webkitTransform=this.mat.toCSS()),this.pe._mdf&&(h.perspectiveElem.style.perspective=h.perspectiveElem.style.webkitPerspective=this.pe.v+"px"));this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var e={},t=[],r=0,n=0,o=0,a=!0,i=!1;function s(e){for(var r=0,o=e.target;r<n;)t[r].animation===o&&(t.splice(r,1),r-=1,n-=1,o.isPaused||p()),r+=1}function l(e,r){if(!e)return null;for(var o=0;o<n;){if(t[o].elem==e&&null!==t[o].elem)return t[o].animation;o+=1}var a=new AnimationItem;return h(a,e),a.setData(e,r),a}function c(){o+=1,f()}function p(){o-=1}function h(e,r){e.addEventListener("destroy",s),e.addEventListener("_active",c),e.addEventListener("_idle",p),t.push({elem:r,animation:e}),n+=1}function u(e){var s,l=e-r;for(s=0;s<n;s+=1)t[s].animation.advanceTime(l);r=e,o&&!i?window.requestAnimationFrame(u):a=!0}function d(e){r=e,window.requestAnimationFrame(u)}function f(){!i&&o&&a&&(window.requestAnimationFrame(d),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return h(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var o;for(o=0;o<n;o+=1)t[o].animation.setSpeed(e,r)},e.setDirection=function(e,r){var o;for(o=0;o<n;o+=1)t[o].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var n,o=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=o.length;for(n=0;n<a;n+=1)r&&o[n].setAttribute("data-bm-type",r),l(o[n],e);if(t&&0===a){r||(r="svg");var i=document.getElementsByTagName("body")[0];i.innerHTML="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",r),i.appendChild(s),l(s,e)}},e.resize=function(){var e;for(e=0;e<n;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,o){var a;for(a=0;a<n;a+=1)t[a].animation.goToAndStop(e,r,o)},e.destroy=function(e){var r;for(r=n-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){i=!0},e.unfreeze=function(){i=!1,f()},e.getRegisteredAnimations=function(){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n.push(t[e].animation);return n},e}(),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.subframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){e.context&&(this.context=e.context),(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t=e.animType?e.animType:e.renderer?e.renderer:"svg";switch(t){case"canvas":this.renderer=new CanvasRenderer(this,e.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,e.rendererSettings);break;default:this.renderer=new HybridRenderer(this,e.rendererSettings)}this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||(!1===e.loop?this.loop=!1:!0===e.loop?this.loop=!0:this.loop=parseInt(e.loop)),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!e.hasOwnProperty("autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.animationData?this.configAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(e.path,this.configAnimation.bind(this),function(){this.trigger("data_failed")}.bind(this)))},AnimationItem.prototype.setData=function(e,t){var r={wrapper:e,animationData:t?"object"===_typeof(t)?t:JSON.parse(t):null},n=e.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:"canvas";var o=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";""===o||(r.loop="false"!==o&&("true"===o||parseInt(o)));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,o=n.length,a=e.layers,i=a.length;for(r=0;r<i;r+=1)for(t=0;t<o;){if(n[t].id==a[r].id){n[t]=a[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(o=e.assets.length,t=0;t<o;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(e.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(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(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.loaded()?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){this.isLoaded||!this.renderer.globalData.fontManager.loaded()||!this.imagePreloader.loaded()&&"canvas"===this.renderer.rendererType||(this.isLoaded=!0,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(e){this.subframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.subframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded)try{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._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!=e||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},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.goToAndStop=function(e,t,r){r&&this.name!=r||(t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(e,t,r){this.goToAndStop(e,t,r),this.play()},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=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)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.timeCompleted=this.totalFrames=e[0]-e[1],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.timeCompleted=this.totalFrames=e[1]-e[0],this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.timeCompleted=this.totalFrames=t-e,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof(e[0])){var r,n=e.length;for(r=0;r<n;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!=e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null,this.renderer=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e==this.assets[t].id)return this.assets[t];t+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var Expressions=function(){var e={};return e.initExpressions=function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0===(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}},e}();expressionsPlugin=Expressions;var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,o=[];for(r=0;r<n;r+=1)o[r]=-e[r];return o}return e.propType?e.v:void 0}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(e,t){var r=_typeof(e),n=_typeof(t);if("string"===r||"string"===n)return e+t;if(isNumerable(r,e)&&isNumerable(n,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]=e[0]+t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var o=0,a=e.length,i=t.length,s=[];o<a||o<i;)("number"===typeof e[o]||e[o]instanceof Number)&&("number"===typeof t[o]||t[o]instanceof Number)?s[o]=e[o]+t[o]:s[o]=void 0===t[o]?e[o]:e[o]||t[o],o+=1;return s}return 0}var add=sum;function sub(e,t){var r=_typeof(e),n=_typeof(t);if(isNumerable(r,e)&&isNumerable(n,t))return"string"===r&&(e=parseInt(e)),"string"===n&&(t=parseInt(t)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]=e[0]-t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var o=0,a=e.length,i=t.length,s=[];o<a||o<i;)("number"===typeof e[o]||e[o]instanceof Number)&&("number"===typeof t[o]||t[o]instanceof Number)?s[o]=e[o]-t[o]:s[o]=void 0===t[o]?e[o]:e[o]||t[o],o+=1;return s}return 0}function mul(e,t){var r,n,o,a=_typeof(e),i=_typeof(t);if(isNumerable(a,e)&&isNumerable(i,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(o=e.length,r=createTypedArray("float32",o),n=0;n<o;n+=1)r[n]=e[n]*t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,r=createTypedArray("float32",o),n=0;n<o;n+=1)r[n]=e*t[n];return r}return 0}function div(e,t){var r,n,o,a=_typeof(e),i=_typeof(t);if(isNumerable(a,e)&&isNumerable(i,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(i,t)){for(o=e.length,r=createTypedArray("float32",o),n=0;n<o;n+=1)r[n]=e[n]/t;return r}if(isNumerable(a,e)&&$bm_isInstanceOfArray(t)){for(o=t.length,r=createTypedArray("float32",o),n=0;n<o;n+=1)r[n]=e/t[n];return r}return 0}function mod(e,t){return"string"===typeof e&&(e=parseInt(e)),"string"===typeof t&&(t=parseInt(t)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}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);t||(t=helperLengthArray);var r,n=Math.min(e.length,t.length),o=0;for(r=0;r<n;r+=1)o+=Math.pow(t[r]-e[r],2);return Math.sqrt(o)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,n=e[0],o=e[1],a=e[2],i=Math.max(n,o,a),s=Math.min(n,o,a),l=(i+s)/2;if(i==s)t=r=0;else{var c=i-s;switch(r=l>.5?c/(2-i-s):c/(i+s),i){case n:t=(o-a)/c+(o<a?6:0);break;case o:t=(a-n)/c+2;break;case a:t=(n-o)/c+4}t/=6}return[t,r,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,o=e[0],a=e[1],i=e[2];if(0===a)t=r=n=i;else{var s=i<.5?i*(1+a):i+a-i*a,l=2*i-s;t=hue2rgb(l,s,o+1/3),r=hue2rgb(l,s,o),n=hue2rgb(l,s,o-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,o){if(void 0!==n&&void 0!==o||(n=t,o=r,t=0,r=1),r<t){var a=r;r=t,t=a}if(e<=t)return n;if(e>=r)return o;var i=r===t?0:(e-t)/(r-t);if(!n.length)return n+(o-n)*i;var s,l=n.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=n[s]+(o[s]-n[s])*i;return c}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,n=t.length;e||(e=createTypedArray("float32",n));var o=createTypedArray("float32",n),a=BMMath.random();for(r=0;r<n;r+=1)o[r]=e[r]+a*(t[r]-e[r]);return o}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,n){var o,a=e.length,i=shape_pool.newElement();i.setPathData(!!n,a);var s,l,c=[0,0];for(o=0;o<a;o+=1)s=t&&t[o]?t[o]:c,l=r&&r[o]?r[o]:c,i.setTripleAt(e[o][0],e[o][1],l[0]+e[o][0],l[1]+e[o][1],s[0]+e[o][0],s[1]+e[o][1],o,!0);return i}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),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,__expression_functions=[],scoped_bm_rt;if(data.xf){var i,len=data.xf.length;for(i=0;i<len;i+=1)__expression_functions[i]=eval("(function(){ return "+data.xf[i]+"}())")}var expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var r,n,o=this.pv.length?this.pv.length:1,a=createTypedArray("float32",o);var i=Math.floor(5*time);for(r=0,n=0;r<i;){for(n=0;n<o;n+=1)a[n]+=-t+2*t*BMMath.random();r+=1}var s=5*time,l=s-Math.floor(s),c=createTypedArray("float32",o);if(o>1){for(n=0;n<o;n+=1)c[n]=this.pv[n]+a[n]+(-t+2*t*BMMath.random())*l;return c}return this.pv+a[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}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)),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),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(e,t,r,n,o){return applyEase(easeOutBez,e,t,r,n,o)}function easeIn(e,t,r,n,o){return applyEase(easeInBez,e,t,r,n,o)}function ease(e,t,r,n,o){return applyEase(easeInOutBez,e,t,r,n,o)}function applyEase(e,t,r,n,o,a){void 0===o?(o=r,a=n):t=(t-r)/(n-r);var i=e(t=t>1?1:t<0?0:t);if($bm_isInstanceOfArray(o)){var s,l=o.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=(a[s]-o[s])*i+o[s];return c}return(a-o)*i+o}function nearestKey(e){var t,r,n,o=data.k.length;if(data.k.length&&"number"!==typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(t=0;t<o-1;t+=1){if(e===data.k[t].t){r=t+1,n=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,r,n;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 o=data.k[e].hasOwnProperty("s")?data.k[e].s:data.k[e-1].e;for(n=o.length,r=0;r<n;r+=1)t[r]=o[r],t.value[r]=o[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"===typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"===typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,_needsRandom&&seedRandom(randSeed),this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(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)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,"shape"===scoped_bm_rt.propType&&(scoped_bm_rt=scoped_bm_rt.v),scoped_bm_rt)}return executeExpression}return ob.initiateExpression=initiateExpression,ob}(),expressionHelpers=function(){return{searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),n=0;if(t.length){var o;for(o=0;o<t.length;o+=1)n+=Math.pow(r[o]-t[o],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,n=this.getValueAtTime(e),o=this.getValueAtTime(e+-.001);if(n.length)for(t=createTypedArray("float32",n.length),r=0;r<n.length;r+=1)t[r]=(o[r]-n[r])/-.001;else t=(o-n)/-.001;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}}}();!function(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var n,o,a,i,s,l=this.comp.renderedFrame,c=this.keyframes,p=c[c.length-1].t;if(l<=p)return this.pv;if(r?o=p-(n=t?Math.abs(p-elem.comp.globalData.frameRate*t):Math.max(0,p-this.elem.data.ip)):((!t||t>c.length-1)&&(t=c.length-1),n=p-(o=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((l-o)/n)%2!==0)return this.getValueAtTime((n-(l-o)%n+o)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var h=this.getValueAtTime(o/this.comp.globalData.frameRate,0),u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),d=this.getValueAtTime(((l-o)%n+o)/this.comp.globalData.frameRate,0),f=Math.floor((l-o)/n);if(this.pv.length){for(i=(s=new Array(h.length)).length,a=0;a<i;a+=1)s[a]=(u[a]-h[a])*f+d[a];return s}return(u-h)*f+d}if("continue"===e){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),_=this.getValueAtTime((p-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(i=(s=new Array(m.length)).length,a=0;a<i;a+=1)s[a]=m[a]+(m[a]-_[a])*((l-p)/this.comp.globalData.frameRate)/5e-4;return s}return m+(l-p)/.001*(m-_)}}return this.getValueAtTime(((l-o)%n+o)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var n,o,a,i,s,l=this.comp.renderedFrame,c=this.keyframes,p=c[0].t;if(l>=p)return this.pv;if(r?o=p+(n=t?Math.abs(elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-p)):((!t||t>c.length-1)&&(t=c.length-1),n=(o=c[t].t)-p),"pingpong"===e){if(Math.floor((p-l)/n)%2===0)return this.getValueAtTime(((p-l)%n+p)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var h=this.getValueAtTime(p/this.comp.globalData.frameRate,0),u=this.getValueAtTime(o/this.comp.globalData.frameRate,0),d=this.getValueAtTime((n-(p-l)%n+p)/this.comp.globalData.frameRate,0),f=Math.floor((p-l)/n)+1;if(this.pv.length){for(i=(s=new Array(h.length)).length,a=0;a<i;a+=1)s[a]=d[a]-(u[a]-h[a])*f;return s}return d-(u-h)*f}if("continue"===e){var m=this.getValueAtTime(p/this.comp.globalData.frameRate,0),_=this.getValueAtTime((p+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(i=(s=new Array(m.length)).length,a=0;a<i;a+=1)s[a]=m[a]+(m[a]-_[a])*(p-l)/.001;return s}return m+(m-_)*(p-l)/.001}}return this.getValueAtTime((n-(p-l)%n+p)/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,n,o=this.comp.renderedFrame/this.comp.globalData.frameRate,a=o-e,i=t>1?(o+e-a)/(t-1):1,s=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;s<t;){if(n=this.getValueAtTime(a+s*i),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=n[l];else r+=n;s+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=t;else r/=t;return r}var n=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var o=n(e,t,r);return o.dynamicProperties.length?o.getValueAtTime=function(e){console.warn("Transform at time not supported")}.bind(o):o.getValueAtTime=function(e){}.bind(o),o.setGroupProperty=expressionHelpers.setGroupProperty,o};var o=PropertyFactory.getProp;PropertyFactory.getProp=function(n,a,i,s,l){var c=o(n,a,i,s,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=e,c.loopIn=t,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===a.a?a.k.length:0,c.propertyIndex=a.ix;var p=0;return 0!==i&&(p=createTypedArray("float32",1===a.a?a.k[0].s.length:a.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:p},expressionHelpers.searchExpressions(n,a,c),c.k&&l.addDynamicProperty(c),c};var a=ShapePropertyFactory.getConstructorFunction(),i=ShapePropertyFactory.getKeyframedConstructorFunction();function s(){}s.prototype={vertices:function(e,t){this.k&&this.getValue();var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0));var n,o=r._length,a=r[e],i=r.v,s=createSizedArray(o);for(n=0;n<o;n+=1)s[n]="i"===e||"o"===e?[a[n][0]-i[n][0],a[n][1]-i[n][1]]:[a[n][0],a[n][1]];return s},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,o=this._segmentsLength,a=o.lengths,i=o.totalLength*e,s=0,l=a.length,c=0;s<l;){if(c+a[s].addedLength>i){var p=s,h=r.c&&s===l-1?0:s+1,u=(i-c)/a[s].addedLength;n=bez.getPointInSegment(r.v[p],r.v[h],r.o[p],r.i[h],u,a[s]);break}c+=a[s].addedLength,s+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){e=1==e?this.v.c?0:.999:e;var n=this.pointOnPath(e,t),o=this.pointOnPath(e+.001,t),a=o[0]-n[0],i=o[1]-n[1],s=Math.sqrt(Math.pow(a,2)+Math.pow(i,2));return 0===s?[0,0]:"tangent"===r?[a/s,i/s]:[-i/s,a/s]},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([s],a),extendPrototype([s],i),i.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shape_pool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},i.prototype.initiateExpression=ExpressionManager.initiateExpression;var l=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,n,o){var a=l(e,t,r,n,o);return a.propertyIndex=t.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,a):4===r&&expressionHelpers.searchExpressions(e,t.ks,a),a.k&&e.addDynamicProperty(a),a}}(),function(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var n={};return this.copyData(n,e),n.t=r.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){if(this.data.d.x)return this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0}}();var ShapeExpressionInterface=function(){function e(e,h,u){var d,f=[],m=e?e.length:0;for(d=0;d<m;d+=1)"gr"==e[d].ty?f.push(t(e[d],h[d],u)):"fl"==e[d].ty?f.push(r(e[d],h[d],u)):"st"==e[d].ty?f.push(n(e[d],h[d],u)):"tm"==e[d].ty?f.push(o(e[d],h[d],u)):"tr"==e[d].ty||("el"==e[d].ty?f.push(a(e[d],h[d],u)):"sr"==e[d].ty?f.push(i(e[d],h[d],u)):"sh"==e[d].ty?f.push(p(e[d],h[d],u)):"rc"==e[d].ty?f.push(s(e[d],h[d],u)):"rd"==e[d].ty?f.push(l(e[d],h[d],u)):"rp"==e[d].ty&&f.push(c(e[d],h[d],u)));return f}function t(t,r,n){var o=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return o.content;default:return o.transform}};o.propertyGroup=function(e){return 1===e?o:n(e-1)};var a=function(t,r,n){var o,a=function(e){for(var t=0,r=o.length;t<r;){if(o[t]._name===e||o[t].mn===e||o[t].propertyIndex===e||o[t].ix===e||o[t].ind===e)return o[t];t+=1}if("number"===typeof e)return o[e-1]};return a.propertyGroup=function(e){return 1===e?a:n(e-1)},o=e(t.it,r.it,a.propertyGroup),a.numProperties=o.length,a.propertyIndex=t.cix,a._name=t.nm,a}(t,r,o.propertyGroup),i=function(e,t,r){function n(e){return 1==e?o:r(--e)}t.transform.mProps.o.setGroupProperty(n),t.transform.mProps.p.setGroupProperty(n),t.transform.mProps.a.setGroupProperty(n),t.transform.mProps.s.setGroupProperty(n),t.transform.mProps.r.setGroupProperty(n),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(n),t.transform.mProps.sa.setGroupProperty(n));function o(t){return e.a.ix===t||"Anchor Point"===t?o.anchorPoint:e.o.ix===t||"Opacity"===t?o.opacity:e.p.ix===t||"Position"===t?o.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?o.rotation:e.s.ix===t||"Scale"===t?o.scale:e.sk&&e.sk.ix===t||"Skew"===t?o.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?o.skewAxis:void 0}return t.transform.op.setGroupProperty(n),Object.defineProperties(o,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),o.ty="tr",o.mn=e.mn,o.propertyGroup=r,o}(t.it[t.it.length-1],r.it[r.it.length-1],o.propertyGroup);return o.content=a,o.transform=i,Object.defineProperty(o,"_name",{get:function(){return t.nm}}),o.numProperties=t.np,o.propertyIndex=t.ix,o.nm=t.nm,o.mn=t.mn,o}function r(e,t,r){function n(e){return"Color"===e||"color"===e?n.color:"Opacity"===e||"opacity"===e?n.opacity:void 0}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(r),t.o.setGroupProperty(r),n}function n(e,t,r){function n(e){return 1===e?ob:r(e-1)}function o(e){return 1===e?l:n(e-1)}function a(r){Object.defineProperty(l,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var i,s=e.d?e.d.length:0,l={};for(i=0;i<s;i+=1)a(i),t.d.dataProps[i].p.setGroupProperty(o);function c(e){return"Color"===e||"color"===e?c.color:"Opacity"===e||"opacity"===e?c.opacity:"Stroke Width"===e||"stroke width"===e?c.strokeWidth:void 0}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(n),t.o.setGroupProperty(n),t.w.setGroupProperty(n),c}function o(e,t,r){function n(e){return 1==e?o:r(--e)}function o(t){return t===e.e.ix||"End"===t||"end"===t?o.end:t===e.s.ix?o.start:t===e.o.ix?o.offset:void 0}return o.propertyIndex=e.ix,t.s.setGroupProperty(n),t.e.setGroupProperty(n),t.o.setGroupProperty(n),o.propertyIndex=e.ix,o.propertyGroup=r,Object.defineProperties(o,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),o.mn=e.mn,o}function a(e,t,r){function n(e){return 1==e?a:r(--e)}a.propertyIndex=e.ix;var o="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.s.ix===t?a.size:void 0}return o.s.setGroupProperty(n),o.p.setGroupProperty(n),Object.defineProperties(a,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:e.nm}}),a.mn=e.mn,a}function i(e,t,r){function n(e){return 1==e?a:r(--e)}var o="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.rotation:e.pt.ix===t?a.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?a.outerRadius:e.os.ix===t?a.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?a.innerRoundness:void 0:a.innerRadius}return a.propertyIndex=e.ix,o.or.setGroupProperty(n),o.os.setGroupProperty(n),o.pt.setGroupProperty(n),o.p.setGroupProperty(n),o.r.setGroupProperty(n),e.ir&&(o.ir.setGroupProperty(n),o.is.setGroupProperty(n)),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:e.nm}}),a.mn=e.mn,a}function s(e,t,r){function n(e){return 1==e?a:r(--e)}var o="tm"===t.sh.ty?t.sh.prop:t.sh;function a(t){return e.p.ix===t?a.position:e.r.ix===t?a.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?a.size:void 0}return a.propertyIndex=e.ix,o.p.setGroupProperty(n),o.s.setGroupProperty(n),o.r.setGroupProperty(n),Object.defineProperties(a,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:e.nm}}),a.mn=e.mn,a}function l(e,t,r){var n=t;function o(t){if(e.r.ix===t||"Round Corners 1"===t)return o.radius}return o.propertyIndex=e.ix,n.rd.setGroupProperty(function(e){return 1==e?o:r(--e)}),Object.defineProperties(o,{radius:{get:ExpressionPropertyInterface(n.rd)},_name:{value:e.nm}}),o.mn=e.mn,o}function c(e,t,r){function n(e){return 1==e?a:r(--e)}var o=t;function a(t){return e.c.ix===t||"Copies"===t?a.copies:e.o.ix===t||"Offset"===t?a.offset:void 0}return a.propertyIndex=e.ix,o.c.setGroupProperty(n),o.o.setGroupProperty(n),Object.defineProperties(a,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:e.nm}}),a.mn=e.mn,a}function p(e,t,r){var n=t.sh;function o(e){if("Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e)return o.path}return n.setGroupProperty(function(e){return 1==e?o:r(--e)}),Object.defineProperties(o,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn}}),o}return function(t,r,n){var o;function a(e){if("number"===typeof e)return o[e-1];for(var t=0,r=o.length;t<r;){if(o[t]._name===e)return o[t];t+=1}}return a.propertyGroup=n,o=e(t,r,a),a.numProperties=o.length,a}}(),TextExpressionInterface=function(e){var t;function r(){}return Object.defineProperty(r,"sourceText",{get:function(){e.textProperty.getValue();var r=e.textProperty.currentData.t;return void 0!==r&&(e.textProperty.currentData.t=void 0,(t=new String(r)).value=r||new String(r)),t}}),r},LayerExpressionInterface=function(){function e(e,t){var r=new Matrix;if(r.reset(),this._elem.finalTransform.mProp.applyToMatrix(r),this._elem.hierarchy&&this._elem.hierarchy.length){var n,o=this._elem.hierarchy.length;for(n=0;n<o;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(r);return r.applyToPointArray(e[0],e[1],e[2]||0)}return r.applyToPointArray(e[0],e[1],e[2]||0)}function t(e,t){var r=new Matrix;if(r.reset(),this._elem.finalTransform.mProp.applyToMatrix(r),this._elem.hierarchy&&this._elem.hierarchy.length){var n,o=this._elem.hierarchy.length;for(n=0;n<o;n+=1)this._elem.hierarchy[n].finalTransform.mProp.applyToMatrix(r);return r.inversePoint(e)}return r.inversePoint(e)}function r(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function n(){return[1,1,1,1]}return function(o){var a;function i(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return i.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return a;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return i.effect}}i.toWorld=e,i.fromWorld=t,i.toComp=e,i.fromComp=r,i.sampleImage=n,i.sourceRectAtTime=o.sourceRectAtTime.bind(o),i._elem=o;var s=getDescriptor(a=TransformExpressionInterface(o.finalTransform.mProp),"anchorPoint");return Object.defineProperties(i,{hasParent:{get:function(){return o.hierarchy.length}},parent:{get:function(){return o.hierarchy[0].layerInterface}},rotation:getDescriptor(a,"rotation"),scale:getDescriptor(a,"scale"),position:getDescriptor(a,"position"),opacity:getDescriptor(a,"opacity"),anchorPoint:s,anchor_point:s,transform:{get:function(){return a}},active:{get:function(){return o.isInRange}}}),i.startTime=o.data.st,i.index=o.data.ind,i.source=o.data.refId,i.height=0===o.data.ty?o.data.h:100,i.width=0===o.data.ty?o.data.w:100,i.inPoint=o.data.ip/o.comp.globalData.frameRate,i.outPoint=o.data.op/o.comp.globalData.frameRate,i._name=o.data.nm,i.registerMaskInterface=function(e){i.mask=new MaskManagerInterface(e,o)},i.registerEffectsInterface=function(e){i.effect=e},i}}(),CompExpressionInterface=function(e){function t(t){for(var r=0,n=e.layers.length;r<n;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity}}if(Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p)var r=ExpressionPropertyInterface(e.p);return Object.defineProperty(t,"position",{get:function(){return e.p?r():[e.px.v,e.py.v,e.pz?e.pz.v:0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),EffectsExpressionInterface=function(){function e(r,n,o,a){var i,s=[],l=r.ef.length;for(i=0;i<l;i+=1)5===r.ef[i].ty?s.push(e(r.ef[i],n.effectElements[i],n.effectElements[i].propertyGroup,a)):s.push(t(n.effectElements[i],r.ef[i].ty,a,c));function c(e){return 1===e?p:o(e-1)}var p=function(e){for(var t=r.ef,n=0,o=t.length;n<o;){if(e===t[n].nm||e===t[n].mn||e===t[n].ix)return 5===t[n].ty?s[n]:s[n]();n+=1}return s[0]()};return p.propertyGroup=c,"ADBE Color Control"===r.mn&&Object.defineProperty(p,"color",{get:function(){return s[0]()}}),Object.defineProperty(p,"numProperties",{get:function(){return r.np}}),p.active=p.enabled=0!==r.en,p}function t(e,t,r,n){var o=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(n),function(){return 10===t?r.comp.compInterface(e.p.v):o()}}return{createEffectsInterface:function(t,r){if(t.effectsManager){var n,o=[],a=t.data.ef,i=t.effectsManager.effectElements.length;for(n=0;n<i;n+=1)o.push(e(a[n],t.effectsManager.effectElements[n],r,t));return function(e){for(var r=t.data.ef||[],n=0,a=r.length;n<a;){if(e===r[n].nm||e===r[n].mn||e===r[n].ix)return o[n];n+=1}}}}}}(),MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});return function(t,r){var n,o=createSizedArray(t.viewData.length),a=t.viewData.length;for(n=0;n<a;n+=1)o[n]=new e(t.viewData[n],t.masksProperties[n]);return function(e){for(n=0;n<a;){if(t.masksProperties[n].nm===e)return o[n];n+=1}}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(n){if(e.numKeys){var o="";o="s"in t.keyframes[n-1]?t.keyframes[n-1].s:"e"in t.keyframes[n-2]?t.keyframes[n-2].e:t.keyframes[n-2].s;var a="unidimensional"===r?new Number(o):Object.assign({},o);return a.time=t.keyframes[n-1].t/t.elem.comp.globalData.frameRate,a}return 0},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function n(){return e}return function(o){return o?"unidimensional"===o.propType?function(t){t&&"pv"in t||(t=e);var n=1/t.mult,o=t.pv*n,a=new Number(o);return a.value=o,r(a,t,"unidimensional"),function(){return t.k&&t.getValue(),o=t.v*n,a.value!==o&&((a=new Number(o)).value=o,r(a,t,"unidimensional")),a}}(o):function(e){e&&"pv"in e||(e=t);var n=1/e.mult,o=e.pv.length,a=createTypedArray("float32",o),i=createTypedArray("float32",o);return a.value=i,r(a,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<o;t+=1)a[t]=i[t]=e.v[t]*n;return a}}(o):n}}(),TextExpressionSelectorProp,propertyGetTextProp;function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(){}function EffectsManager(e,t){var r=e.ef||[];this.effectElements=[];var n,o,a=r.length;for(n=0;n<a;n++)o=new GroupEffect(r[n],t),this.effectElements.push(o)}function GroupEffect(e,t){this.init(e,t)}TextExpressionSelectorProp=function(){function e(e,t){return this.textIndex=e+1,this.textTotal=t,this.v=this.getValue()*this.mult,this.v}return function(t,r){this.pv=1,this.comp=t.comp,this.elem=t,this.mult=.01,this.propType="textSelector",this.textTotal=r.totalChars,this.selectorValue=100,this.lastValue=[1,1,1],this.k=!0,this.x=!0,this.getValue=ExpressionManager.initiateExpression.bind(this)(t,r,this),this.getMult=e,this.getVelocityAtTime=expressionHelpers.getVelocityAtTime,this.kf?this.getValueAtTime=expressionHelpers.getValueAtTime.bind(this):this.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(this),this.setGroupProperty=expressionHelpers.setGroupProperty}}(),propertyGetTextProp=TextSelectorProp.getTextSelectorProp,TextSelectorProp.getTextSelectorProp=function(e,t,r){return 1===t.t?new TextExpressionSelectorProp(e,t,r):propertyGetTextProp(e,t,r)},extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var r,n,o=this.data.ef.length,a=this.data.ef;for(r=0;r<o;r+=1){switch(n=null,a[r].ty){case 0:n=new SliderEffect(a[r],t,this);break;case 1:n=new AngleEffect(a[r],t,this);break;case 2:n=new ColorEffect(a[r],t,this);break;case 3:n=new PointEffect(a[r],t,this);break;case 4:case 7:n=new CheckboxEffect(a[r],t,this);break;case 10:n=new LayerIndexEffect(a[r],t,this);break;case 11:n=new MaskIndexEffect(a[r],t,this);break;case 5:n=new EffectsManager(a[r],t,this);break;default:n=new NoValueEffect(a[r],t,this)}n&&this.effectElements.push(n)}};var lottie={},_isFrozen=!1;function setLocationHref(e){locationHref=e}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){subframeEnabled=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":defaultCurveSegments=200;break;case"medium":defaultCurveSegments=50;break;case"low":defaultCurveSegments=10}else!isNaN(e)&&e>1&&(defaultCurveSegments=e);roundValues(!(defaultCurveSegments>=50))}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(e,t){"expressions"===e&&(expressionsPlugin=t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r++){var n=t[r].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocationHref,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.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.__getFactory=getFactory,lottie.version="5.6.8";var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""},queryString=myScript.src.replace(/^[^\?]+\??/,"");renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);return lottie},void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return factory(root)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__))}]);
|
1 |
+
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=143)}([function(e,t){e.exports=React},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},function(e,t,r){"use strict";t.__esModule=!0;var n,o=r(113),a=(n=o)&&n.__esModule?n:{default:n};t.default=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==("undefined"===typeof t?"undefined":(0,a.default)(t))&&"function"!==typeof t?e:t}},function(e,t,r){"use strict";t.__esModule=!0;var n=i(r(194)),o=i(r(198)),a=i(r(113));function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+("undefined"===typeof t?"undefined":(0,a.default)(t)));e.prototype=(0,o.default)(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(n.default?(0,n.default)(e,t):e.__proto__=t)}},function(e,t,r){"use strict";t.__esModule=!0;var n,o=r(202),a=(n=o)&&n.__esModule?n:{default:n};t.default=a.default||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(65)("wks"),o=r(39),a=r(5).Symbol,i="function"==typeof a;(e.exports=function(e){return n[e]||(n[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=n},function(e,t){var r=e.exports={version:"2.6.11"};"number"==typeof __e&&(__e=r)},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o,a=h(r(1)),i=h(r(2)),s=h(r(3)),l=r(0),c=h(l),p=h(r(25));function h(e){return e&&e.__esModule?e:{default:e}}var u=(o=n=function(e){function t(){var r,n,o;(0,a.default)(this,t);for(var s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return r=n=(0,i.default)(this,e.call.apply(e,[this].concat(l))),n.state={},n.handleReady=function(e){n.setState({api:e},n.handleParse)},n.handleContainer=function(e){n.setState({container:e},n.handleParse)},n.handleParse=function(){var e=n.state,t=e.api,r=e.container;t&&r&&t.parse(r)},o=r,(0,i.default)(n,o)}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,r=e.children;return c.default.createElement("div",{className:t,ref:this.handleContainer},c.default.createElement(p.default,{onReady:this.handleReady},r({handleParse:this.handleParse})))},t}(l.Component),n.defaultProps={className:void 0},o);t.default=u},function(e,t,r){e.exports=r(156)},function(e,t,r){"use strict";t.__esModule=!0;var n,o=r(158),a=(n=o)&&n.__esModule?n:{default:n};t.default=function(e){return function(){var t=e.apply(this,arguments);return new a.default(function(e,r){return function n(o,i){try{var s=t[o](i),l=s.value}catch(e){return void r(e)}if(!s.done)return a.default.resolve(l).then(function(e){n("next",e)},function(e){n("throw",e)});e(l)}("next")})}}},function(e,t,r){function n(e){return(n="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})(e)}var o=r(123),a="object"==("undefined"===typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,i=o||a||Function("return this")();e.exports=i},function(e,t,r){var n=r(14);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){var n=r(5),o=r(7),a=r(31),i=r(19),s=r(21),l=function e(t,r,l){var c,p,h,u=t&e.F,d=t&e.G,f=t&e.S,m=t&e.P,_=t&e.B,y=t&e.W,b=d?o:o[r]||(o[r]={}),g=b.prototype,v=d?n:f?n[r]:(n[r]||{}).prototype;for(c in d&&(l=r),l)(p=!u&&v&&void 0!==v[c])&&s(b,c)||(h=p?v[c]:l[c],b[c]=d&&"function"!=typeof v[c]?l[c]:_&&p?a(h,n):y&&v[c]==h?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(h):m&&"function"==typeof h?a(Function.call,h):h,m&&((b.virtual||(b.virtual={}))[c]=h,t&e.R&&g&&!g[c]&&i(g,c,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,e.exports=l},function(e,t){function r(e){return(r="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})(e)}e.exports=function(e){return"object"===r(e)?null!==e:"function"===typeof e}},function(e,t,r){e.exports=!r(32)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){if(!a.default)return"https://www.facebook.com";return window.location.href};var n,o=r(116),a=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){e.exports=r(212)()},function(e,t){e.exports=jQuery},function(e,t,r){var n=r(20),o=r(37);e.exports=r(15)?function(e,t,r){return n.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},function(e,t,r){var n=r(12),o=r(101),a=r(62),i=Object.defineProperty;t.f=r(15)?Object.defineProperty:function(e,t,r){if(n(e),t=a(t,!0),n(r),o)try{return i(e,t,r)}catch(e){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},function(e,t){var r={}.hasOwnProperty;e.exports=function(e,t){return r.call(e,t)}},function(e,t,r){var n=r(254),o=r(260);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,r){var n=r(104),o=r(60);e.exports=function(e){return n(o(e))}},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=f(r(4)),i=f(r(9)),s=f(r(10)),l=f(r(1)),c=f(r(2)),p=f(r(3)),h=r(0),u=f(h),d=r(97);function f(e){return e&&e.__esModule?e:{default:e}}var m=(o=n=function(e){function t(){return(0,l.default)(this,t),(0,c.default)(this,e.apply(this,arguments))}return(0,p.default)(t,e),t.prototype.componentDidMount=function(){this.prepare()},t.prototype.prepare=function(){var e=(0,s.default)(i.default.mark(function e(){var t,r,n,o;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=this.props,r=t.onReady,n=t.handleInit,e.next=3,n();case 3:o=e.sent,r&&r(o);case 5:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),t.prototype.render=function(){var e=this.props,t=e.children,r=e.isReady,n=e.api;return"function"===typeof t?t({isReady:r,api:n}):t},t}(h.Component),n.defaultProps={onReady:void 0,api:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(d.FacebookContext.Consumer,null,function(r){var n=r.handleInit,o=r.isReady,i=r.api;return u.default.createElement(m,(0,a.default)({},e,{handleInit:n,isReady:o,api:i,ref:t}))})})},function(e,t,r){var n=r(242);e.exports=function(e,t){return n(e,t)}},function(e,t){function r(e){return(r="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})(e)}e.exports=function(e){return null!=e&&"object"==r(e)}},function(e,t,r){var n=r(295),o=1,a=4;e.exports=function(e){return n(e,o|a)}},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=s(r(0)),i=s(r(17));function s(e){return e&&e.__esModule?e:{default:e}}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var c=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,i=Array(a),s=0;s<a;s++)i[s]=arguments[s];return n=o=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),o.loadWidget=function(){r(142).ready("twitter-widgets",function(){window.twttr?(t.removeChildren(o.widgetWrapper),o.props.ready(window.twttr,o.widgetWrapper,o.done)):console.error("Failure to load window.twttr, aborting load.")})},o.done=function(){o.willUnmount&&t.removeChildrenExceptLast(o.widgetWrapper)},l(o,n)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"componentWillMount",value:function(){this.willUnmount=!1}},{key:"componentDidMount",value:function(){this.loadWidget()}},{key:"componentDidUpdate",value:function(){this.loadWidget()}},{key:"componentWillUnmount",value:function(){this.willUnmount=!0}},{key:"render",value:function(){var e=this;return a.default.createElement("div",{ref:function(t){e.widgetWrapper=t}})}}],[{key:"removeChildren",value:function(e){if(e)for(;e.firstChild;)e.removeChild(e.firstChild)}},{key:"removeChildrenExceptLast",value:function(e){if(e)for(;e.childNodes.length>1;)e.removeChild(e.firstChild)}}]),t}();c.propTypes={ready:i.default.func.isRequired},t.default=c},function(e,t){e.exports=!0},function(e,t,r){var n=r(36);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports={}},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){function r(e){return(r="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})(e)}e.exports=function(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,r){var n=r(103),o=r(66);e.exports=Object.keys||function(e){return n(e,o)}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){var n=r(20).f,o=r(21),a=r(6)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=h(r(9)),o=h(r(10)),a=h(r(1)),i=h(r(2)),s=h(r(3)),l=r(0),c=h(l),p=h(r(25));function h(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){var r,s,l,c,p=this;(0,a.default)(this,t);for(var h=arguments.length,u=Array(h),d=0;d<h;d++)u[d]=arguments[d];return r=s=(0,i.default)(this,e.call.apply(e,[this].concat(u))),s.state={api:void 0},s.handleProcess=(c=(0,o.default)(n.default.mark(function e(t){var r,o;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(s.setState({data:void 0,error:void 0,loading:!0}),e.prev=1,r=s.state.api){e.next=5;break}throw new Error("Facebook is not initialized. Wait for isReady");case 5:return e.next=7,t(r);case 7:return o=e.sent,s.setState({data:o,loading:!1}),e.abrupt("return",o);case 12:throw e.prev=12,e.t0=e.catch(1),s.setState({error:e.t0,loading:!1}),e.t0;case 16:case"end":return e.stop()}},e,p,[[1,12]])})),function(e){return c.apply(this,arguments)}),s.handleReady=function(e){s.setState({api:e})},l=r,(0,i.default)(s,l)}return(0,s.default)(t,e),t.prototype.render=function(){var e=this.props.children,t=this.state,r=t.api,n=t.loading,o=t.data,a=t.error;return c.default.createElement(p.default,{onReady:this.handleReady},e({loading:!r||n,handleProcess:this.handleProcess,data:o,error:a}))},t}(l.Component);t.default=u},function(e,t,r){var n=r(244),o=r(245),a=r(246),i=r(247),s=r(248);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(79);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},function(e,t,r){var n=r(46),o=r(256),a=r(257),i="[object Null]",s="[object Undefined]",l=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?s:i:l&&l in Object(e)?o(e):a(e)}},function(e,t,r){var n=r(11).Symbol;e.exports=n},function(e,t,r){var n=r(22)(Object,"create");e.exports=n},function(e,t,r){var n=r(269);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){var n=r(291),o=r(80),a=r(292),i=r(293),s=r(294),l=r(45),c=r(124),p=c(n),h=c(o),u=c(a),d=c(i),f=c(s),m=l;(n&&"[object DataView]"!=m(new n(new ArrayBuffer(1)))||o&&"[object Map]"!=m(new o)||a&&"[object Promise]"!=m(a.resolve())||i&&"[object Set]"!=m(new i)||s&&"[object WeakMap]"!=m(new s))&&(m=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case p:return"[object DataView]";case h:return"[object Map]";case u:return"[object Promise]";case d:return"[object Set]";case f:return"[object WeakMap]"}return t}),e.exports=m},function(e,t,r){var n=r(137),o=r(138);e.exports=function(e,t,r,a){var i=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],p=a?a(r[c],e[c],c,r,e):void 0;void 0===p&&(p=e[c]),i?o(r,c,p):n(r,c,p)}return r}},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,r){var n=r(14),o=r(5).document,a=n(o)&&n(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,t,r){var n=r(14);e.exports=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(12),o=r(162),a=r(66),i=r(64)("IE_PROTO"),s=function(){},l=function(){var e,t=r(61)("iframe"),n=a.length;for(t.style.display="none",r(106).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[a[n]];return l()};e.exports=Object.create||function(e,t){var r;return null!==e?(s.prototype=n(e),r=new s,s.prototype=null,r[i]=e):r=l(),void 0===t?r:o(r,t)}},function(e,t,r){var n=r(65)("keys"),o=r(39);e.exports=function(e){return n[e]||(n[e]=o(e))}},function(e,t,r){var n=r(7),o=r(5),a=o["__core-js_shared__"]||(o["__core-js_shared__"]={});(e.exports=function(e,t){return a[e]||(a[e]=void 0!==t?t:{})})("versions",[]).push({version:n.version,mode:r(30)?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,r){var n=r(60);e.exports=function(e){return Object(n(e))}},function(e,t,r){"use strict";var n=r(36);e.exports.f=function(e){return new function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)}(e)}},function(e,t,r){t.f=r(6)},function(e,t,r){var n=r(5),o=r(7),a=r(30),i=r(69),s=r(20).f;e.exports=function(e){var t=o.Symbol||(o.Symbol=a?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:i.f(e)})}},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,r){"use strict";t.__esModule=!0,t.default={CONNECTED:"connected",AUTHORIZATION_EXPIRED:"authorization_expired",NOT_AUTHORIZED:"not_authorized",UNKNOWN:"unknown"}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){if(!e)return e;var t={};return Object.keys(e).forEach(function(r){var n=e[r];void 0!==n&&(t[r]=n)}),t}},function(e,t,r){"use strict";t.__esModule=!0,t.default=["id","first_name","last_name","middle_name","name","name_format","picture","short_name","email"]},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o,a,i=f(r(9)),s=f(r(10)),l=f(r(1)),c=f(r(2)),p=f(r(3)),h=r(0),u=f(h),d=f(r(25));function f(e){return e&&e.__esModule?e:{default:e}}var m=(o=n=function(e){function t(){var r,n,o;(0,l.default)(this,t);for(var i=arguments.length,s=Array(i),p=0;p<i;p++)s[p]=arguments[p];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(s))),a.call(n),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.componentWillUnmount=function(){var e=this.state.api,t=this.props.event;e&&e.unsubscribe(t,this.handleChange)},t.prototype.render=function(){var e=this.props.children;return u.default.createElement(d.default,{onReady:this.handleReady},e)},t}(h.Component),n.defaultProps={onChange:void 0},a=function(){var e,t=this;this.state={},this.handleReady=(e=(0,s.default)(i.default.mark(function e(r){var n;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.props.event,t.setState({api:r}),e.next=4,r.subscribe(n,t.handleChange);case 4:case"end":return e.stop()}},e,t)})),function(t){return e.apply(this,arguments)}),this.handleChange=function(){var e=t.props.onChange;e&&e.apply(void 0,arguments)}},o);t.default=m},function(e,t){},function(e,t){},function(e,t){},function(e,t){e.exports=function(e,t){return e===t||e!==e&&t!==t}},function(e,t,r){var n=r(22)(r(11),"Map");e.exports=n},function(e,t,r){var n=r(282),o=r(131),a=Object.prototype.propertyIsEnumerable,i=Object.getOwnPropertySymbols,s=i?function(e){return null==e?[]:(e=Object(e),n(i(e),function(t){return a.call(e,t)}))}:o;e.exports=s},function(e,t,r){var n=r(132),o=r(289),a=r(136);e.exports=function(e){return a(e)?n(e):o(e)}},function(e,t,r){(function(e){function n(e){return(n="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})(e)}var o=r(11),a=r(286),i="object"==n(t)&&t&&!t.nodeType&&t,s=i&&"object"==n(e)&&e&&!e.nodeType&&e,l=s&&s.exports===i?o.Buffer:void 0,c=(l?l.isBuffer:void 0)||a;e.exports=c}).call(t,r(23)(e))},function(e,t){e.exports=function(e){return function(t){return e(t)}}},function(e,t,r){(function(e){function n(e){return(n="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})(e)}var o=r(123),a="object"==n(t)&&t&&!t.nodeType&&t,i=a&&"object"==n(e)&&e&&!e.nodeType&&e,s=i&&i.exports===a&&o.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=l}).call(t,r(23)(e))},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t,r){var n=r(127);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,t){e.exports=ReactDOM},function(e,t,r){"use strict";t.__esModule=!0,t.Fields=t.LoginStatus=t.MessengerColor=t.MessengerSize=t.CommentsOrderBy=t.LikeAction=t.ColorScheme=t.LikeLayout=t.LikeSize=t.SendToMessenger=t.MessengerCheckbox=t.MessageUs=t.CustomChat=t.Profile=t.Status=t.Subscribe=t.Group=t.Feed=t.CommentsCount=t.Comments=t.EmbeddedVideo=t.EmbeddedPost=t.LoginButton=t.Login=t.Page=t.ShareButton=t.Share=t.Send=t.Like=t.Initialize=t.Parser=t.FacebookProvider=void 0;var n=j(r(97)),o=j(r(8)),a=j(r(25)),i=j(r(206)),s=j(r(207)),l=j(r(117)),c=j(r(208)),p=j(r(209)),h=j(r(119)),u=j(r(210)),d=j(r(215)),f=j(r(216)),m=j(r(217)),_=j(r(218)),y=j(r(219)),b=j(r(220)),g=j(r(75)),v=j(r(221)),w=j(r(222)),x=j(r(223)),E=j(r(224)),S=j(r(225)),k=j(r(226)),P=j(r(227)),C=j(r(228)),T=j(r(229)),A=j(r(230)),M=j(r(231)),D=j(r(232)),O=j(r(233)),F=j(r(72)),I=j(r(74));function j(e){return e&&e.__esModule?e:{default:e}}t.FacebookProvider=n.default,t.Parser=o.default,t.Initialize=a.default,t.Like=i.default,t.Send=s.default,t.Share=l.default,t.ShareButton=c.default,t.Page=p.default,t.Login=h.default,t.LoginButton=u.default,t.EmbeddedPost=d.default,t.EmbeddedVideo=f.default,t.Comments=m.default,t.CommentsCount=_.default,t.Feed=y.default,t.Group=b.default,t.Subscribe=g.default,t.Status=v.default,t.Profile=w.default,t.CustomChat=x.default,t.MessageUs=E.default,t.MessengerCheckbox=S.default,t.SendToMessenger=k.default,t.LikeSize=P.default,t.LikeLayout=C.default,t.ColorScheme=T.default,t.LikeAction=A.default,t.CommentsOrderBy=M.default,t.MessengerSize=D.default,t.MessengerColor=O.default,t.LoginStatus=F.default,t.Fields=I.default},function(e,t,r){"use strict";t.__esModule=!0,t.default=t.FacebookContext=void 0;var n,o,a=f(r(9)),i=f(r(10)),s=f(r(1)),l=f(r(2)),c=f(r(3)),p=r(0),h=f(p),u=f(r(116)),d=f(r(201));function f(e){return e&&e.__esModule?e:{default:e}}var m=t.FacebookContext=(0,p.createContext)(),_=null,y=(o=n=function(e){function t(){var r,n,o,c=this;(0,s.default)(this,t);for(var p=arguments.length,h=Array(p),f=0;f<p;f++)h[f]=arguments[f];return r=n=(0,l.default)(this,e.call.apply(e,[this].concat(h))),n.state={isReady:!1},n.handleInit=(0,i.default)(a.default.mark(function e(){var t,r,o,i,s,l,p,h,f,m;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(u.default){e.next=2;break}throw new Error("You can not use Facebook without DOM");case 2:if(!n.state.isReady){e.next=5;break}return e.abrupt("return",_);case 5:return _||(t=n.props,r=t.domain,o=t.version,i=t.appId,s=t.cookie,l=t.status,p=t.xfbml,h=t.language,f=t.frictionlessRequests,m=t.wait,_=new d.default({domain:r,appId:i,version:o,cookie:s,status:l,xfbml:p,language:h,frictionlessRequests:f,wait:m})),e.next=8,_.init();case 8:return n.state.isReady||n.setState({isReady:!0}),e.abrupt("return",_);case 10:case"end":return e.stop()}},e,c)})),o=r,(0,l.default)(n,o)}return(0,c.default)(t,e),t.prototype.componentDidMount=function(){this.props.wait||this.handleInit()},t.prototype.render=function(){var e=this.props.children,t=this.state,r={isReady:t.isReady,error:t.error,handleInit:this.handleInit,api:_};return h.default.createElement(m.Provider,{value:r},e)},t}(p.Component),n.defaultProps={version:"v3.1",cookie:!1,status:!1,xfbml:!1,language:"en_US",frictionlessRequests:!1,domain:"connect.facebook.net",children:void 0,wait:!1},o);t.default=y},function(e,t){},function(e,t,r){"use strict";var n=r(160)(!0);r(100)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,r=this._i;return r>=t.length?{value:void 0,done:!0}:(e=n(t,r),this._i+=e.length,{value:e,done:!1})})},function(e,t,r){"use strict";var n=r(30),o=r(13),a=r(102),i=r(19),s=r(33),l=r(161),c=r(40),p=r(165),h=r(6)("iterator"),u=!([].keys&&"next"in[].keys()),d=function(){return this};e.exports=function(e,t,r,f,m,_,y){l(r,t,f);var b,g,v,w=function(e){if(!u&&e in k)return k[e];switch(e){case"keys":case"values":return function(){return new r(this,e)}}return function(){return new r(this,e)}},x=t+" Iterator",E="values"==m,S=!1,k=e.prototype,P=k[h]||k["@@iterator"]||m&&k[m],C=P||w(m),T=m?E?w("entries"):C:void 0,A="Array"==t&&k.entries||P;if(A&&(v=p(A.call(new e)))!==Object.prototype&&v.next&&(c(v,x,!0),n||"function"==typeof v[h]||i(v,h,d)),E&&P&&"values"!==P.name&&(S=!0,C=function(){return P.call(this)}),n&&!y||!u&&!S&&k[h]||i(k,h,C),s[t]=C,s[x]=d,m)if(b={values:E?C:w("values"),keys:_?C:w("keys"),entries:T},y)for(g in b)g in k||a(k,g,b[g]);else o(o.P+o.F*(u||S),t,b);return b}},function(e,t,r){e.exports=!r(15)&&!r(32)(function(){return 7!=Object.defineProperty(r(61)("div"),"a",{get:function(){return 7}}).a})},function(e,t,r){e.exports=r(19)},function(e,t,r){var n=r(21),o=r(24),a=r(163)(!1),i=r(64)("IE_PROTO");e.exports=function(e,t){var r,s=o(e),l=0,c=[];for(r in s)r!=i&&n(s,r)&&c.push(r);for(;t.length>l;)n(s,r=t[l++])&&(~a(c,r)||c.push(r));return c}},function(e,t,r){var n=r(34);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t,r){var n=r(59),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},function(e,t,r){var n=r(5).document;e.exports=n&&n.documentElement},function(e,t,r){r(166);for(var n=r(5),o=r(19),a=r(33),i=r(6)("toStringTag"),s="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),l=0;l<s.length;l++){var c=s[l],p=n[c],h=p&&p.prototype;h&&!h[i]&&o(h,i,c),a[c]=a.Array}},function(e,t,r){var n=r(34),o=r(6)("toStringTag"),a="Arguments"==n(function(){return arguments}());e.exports=function(e){var t,r,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?r:a?n(t):"Object"==(i=n(t))&&"function"==typeof t.callee?"Arguments":i}},function(e,t,r){var n=r(12),o=r(36),a=r(6)("species");e.exports=function(e,t){var r,i=n(e).constructor;return void 0===i||void 0==(r=n(i)[a])?t:o(r)}},function(e,t,r){var n,o,a,i=r(31),s=r(175),l=r(106),c=r(61),p=r(5),h=p.process,u=p.setImmediate,d=p.clearImmediate,f=p.MessageChannel,m=p.Dispatch,_=0,y={},b=function(){var e=+this;if(y.hasOwnProperty(e)){var t=y[e];delete y[e],t()}},g=function(e){b.call(e.data)};u&&d||(u=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return y[++_]=function(){s("function"==typeof e?e:Function(e),t)},n(_),_},d=function(e){delete y[e]},"process"==r(34)(h)?n=function(e){h.nextTick(i(b,e,1))}:m&&m.now?n=function(e){m.now(i(b,e,1))}:f?(a=(o=new f).port2,o.port1.onmessage=g,n=i(a.postMessage,a,1)):p.addEventListener&&"function"==typeof postMessage&&!p.importScripts?(n=function(e){p.postMessage(e+"","*")},p.addEventListener("message",g,!1)):n="onreadystatechange"in c("script")?function(e){l.appendChild(c("script")).onreadystatechange=function(){l.removeChild(this),b.call(e)}}:function(e){setTimeout(i(b,e,1),0)}),e.exports={set:u,clear:d}},function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(e){return{e:!0,v:e}}}},function(e,t,r){var n=r(12),o=r(14),a=r(68);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=a.f(e);return(0,r.resolve)(t),r.promise}},function(e,t,r){"use strict";function n(e){return(n="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})(e)}t.__esModule=!0;var o=s(r(183)),a=s(r(185)),i="function"===typeof a.default&&"symbol"===n(o.default)?function(e){return n(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":n(e)};function s(e){return e&&e.__esModule?e:{default:e}}t.default="function"===typeof a.default&&"symbol"===i(o.default)?function(e){return"undefined"===typeof e?"undefined":i(e)}:function(e){return e&&"function"===typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":"undefined"===typeof e?"undefined":i(e)}},function(e,t,r){var n=r(103),o=r(66).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},function(e,t,r){var n=r(41),o=r(37),a=r(24),i=r(62),s=r(21),l=r(101),c=Object.getOwnPropertyDescriptor;t.f=r(15)?c:function(e,t){if(e=a(e),t=i(t,!0),l)try{return c(e,t)}catch(e){}if(s(e,t))return o(!n.f.call(e,t),e[t])}},function(e,t){var r=!("undefined"===typeof window||!window.document||!window.document.createElement);e.exports=r},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=_(r(4)),i=_(r(9)),s=_(r(10)),l=_(r(1)),c=_(r(2)),p=_(r(3)),h=r(0),u=_(h),d=_(r(16)),f=_(r(73)),m=_(r(42));function _(e){return e&&e.__esModule?e:{default:e}}var y=(o=n=function(e){function t(){var r,n,o,a,p=this;(0,l.default)(this,t);for(var h=arguments.length,u=Array(h),m=0;m<h;m++)u[m]=arguments[m];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(u))),n.handleClick=(a=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=n.props.handleProcess,e.abrupt("return",r(function(){var e=(0,s.default)(i.default.mark(function e(t){var r,o,a,s,l,c,h,u,m,_;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,o=r.href,a=void 0===o?(0,d.default)():o,s=r.display,l=r.appId,c=void 0===l?t.getAppId():l,h=r.hashtag,u=r.redirectURI,m=r.quote,_=r.mobileIframe,e.abrupt("return",t.ui((0,f.default)({method:"share",href:a,display:s,app_id:c,hashtag:h,redirect_uri:u,quote:m,mobile_iframe:_})));case 2:case"end":return e.stop()}},e,p)}));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return e.stop()}},e,p)})),function(e){return a.apply(this,arguments)}),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,r=e.loading,n=e.error,o=e.data;return t({loading:r,handleClick:this.handleClick,error:n,data:o})},t}(h.Component),n.defaultProps={href:void 0,hashtag:void 0,quote:void 0,mobileIframe:void 0,display:void 0,appId:void 0,redirectURI:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(m.default,null,function(r){var n=r.loading,o=r.handleProcess,i=r.data,s=r.error;return u.default.createElement(y,(0,a.default)({},e,{loading:n,handleProcess:o,data:i,error:s,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=m(r(9)),i=m(r(4)),s=m(r(10)),l=m(r(1)),c=m(r(2)),p=m(r(3)),h=r(0),u=m(h),d=m(r(42)),f=m(r(74));function m(e){return e&&e.__esModule?e:{default:e}}var _=(o=n=function(e){function t(){var r,n,o,p,h=this;(0,l.default)(this,t);for(var u=arguments.length,d=Array(u),f=0;f<u;f++)d[f]=arguments[f];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(d))),n.handleClick=(p=(0,s.default)(a.default.mark(function e(t){var r,o,l,c;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=n.props,o=r.handleProcess,l=r.onCompleted,c=r.onError,e.prev=2,e.next=5,o(function(){var e=(0,s.default)(a.default.mark(function e(t){var r,o,s,c,p,u,d,f,m,_;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,o=r.scope,s=r.fields,c=r.returnScopes,p=r.rerequest,u=r.reauthorize,d=r.eventKey,f={scope:o},m=[],c&&(f.return_scopes=!0),p&&m.push("rerequest"),u&&m.push("reauthenticate"),m.length&&(f.auth_type=m.join(",")),e.next=9,t.login(f);case 9:if("connected"===e.sent.status){e.next=12;break}throw new Error("Unauthorized user");case 12:return e.next=14,t.getTokenDetailWithProfile({fields:s});case 14:if(_=e.sent,!l){e.next=18;break}return e.next=18,l((0,i.default)({},_,{eventKey:d}));case 18:return e.abrupt("return",_);case 19:case"end":return e.stop()}},e,h)}));return function(t){return e.apply(this,arguments)}}());case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),c&&c(e.t0);case 10:case"end":return e.stop()}},e,h,[[2,7]])})),function(e){return p.apply(this,arguments)}),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,r=e.loading,n=e.error,o=e.data;return t({loading:r,handleClick:this.handleClick,error:n,data:o})},t}(h.Component),n.defaultProps={scope:"",fields:f.default,returnScopes:!1,rerequest:!1,reauthorize:!1,onCompleted:void 0,onError:void 0,eventKey:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(d.default,null,function(r){var n=r.loading,o=r.handleProcess,a=r.data,s=r.error;return u.default.createElement(_,(0,i.default)({},e,{loading:n,handleProcess:o,data:a,error:s,ref:t}))})})},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t,r){var n=r(43),o=r(249),a=r(250),i=r(251),s=r(252),l=r(253);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=a,c.prototype.get=i,c.prototype.has=s,c.prototype.set=l,e.exports=c},function(e,t,r){var n=r(45),o=r(35),a="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";e.exports=function(e){if(!o(e))return!1;var t=n(e);return t==i||t==s||t==a||t==l}},function(e,t,r){(function(t){function r(e){return(r="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})(e)}var n="object"==("undefined"===typeof t?"undefined":r(t))&&t&&t.Object===Object&&t;e.exports=n}).call(t,r(255))},function(e,t){var r=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return r.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},function(e,t,r){var n=r(261),o=r(268),a=r(270),i=r(271),s=r(272);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(273),o=r(276),a=r(277),i=1,s=2;e.exports=function(e,t,r,l,c,p){var h=r&i,u=e.length,d=t.length;if(u!=d&&!(h&&d>u))return!1;var f=p.get(e);if(f&&p.get(t))return f==t;var m=-1,_=!0,y=r&s?new n:void 0;for(p.set(e,t),p.set(t,e);++m<u;){var b=e[m],g=t[m];if(l)var v=h?l(g,b,m,t,e,p):l(b,g,m,e,t,p);if(void 0!==v){if(v)continue;_=!1;break}if(y){if(!o(t,function(e,t){if(!a(y,t)&&(b===e||c(b,e,r,l,p)))return y.push(t)})){_=!1;break}}else if(b!==g&&!c(b,g,r,l,p)){_=!1;break}}return p.delete(e),p.delete(t),_}},function(e,t,r){var n=r(11).Uint8Array;e.exports=n},function(e,t,r){var n=r(129),o=r(81),a=r(82);e.exports=function(e){return n(e,a,o)}},function(e,t,r){var n=r(130),o=r(49);e.exports=function(e,t,r){var a=t(e);return o(e)?a:n(a,r(e))}},function(e,t){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},function(e,t){e.exports=function(){return[]}},function(e,t,r){var n=r(283),o=r(284),a=r(49),i=r(83),s=r(287),l=r(133),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=a(e),p=!r&&o(e),h=!r&&!p&&i(e),u=!r&&!p&&!h&&l(e),d=r||p||h||u,f=d?n(e.length,String):[],m=f.length;for(var _ in e)!t&&!c.call(e,_)||d&&("length"==_||h&&("offset"==_||"parent"==_)||u&&("buffer"==_||"byteLength"==_||"byteOffset"==_)||s(_,m))||f.push(_);return f}},function(e,t,r){var n=r(288),o=r(84),a=r(85),i=a&&a.isTypedArray,s=i?o(i):n;e.exports=s},function(e,t){var r=9007199254740991;e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=r}},function(e,t){e.exports=function(e,t){return function(r){return e(t(r))}}},function(e,t,r){var n=r(122),o=r(134);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},function(e,t,r){var n=r(138),o=r(79),a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var i=e[t];a.call(e,t)&&o(i,r)&&(void 0!==r||t in e)||n(e,t,r)}},function(e,t,r){var n=r(297);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},function(e,t,r){var n=r(132),o=r(300),a=r(136);e.exports=function(e){return a(e)?n(e,!0):o(e)}},function(e,t,r){var n=r(130),o=r(141),a=r(81),i=r(131),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,a(e)),e=o(e);return t}:i;e.exports=s},function(e,t,r){var n=r(135)(Object.getPrototypeOf,Object);e.exports=n},function(e,t,r){var n,o,a;a=function(){var e,t,r=document,n=r.getElementsByTagName("head")[0],o=!1,a="push",i="readyState",s="onreadystatechange",l={},c={},p={},h={};function u(e,t){for(var r=0,n=e.length;r<n;++r)if(!t(e[r]))return o;return 1}function d(e,t){u(e,function(e){return t(e),1})}function f(t,r,n){t=t[a]?t:[t];var o=r&&r.call,i=o?r:n,s=o?t.join(""):r,_=t.length;function y(e){return e.call?e():l[e]}function b(){if(!--_)for(var e in l[s]=1,i&&i(),p)u(e.split("|"),y)&&!d(p[e],y)&&(p[e]=[])}return setTimeout(function(){d(t,function t(r,n){return null===r?b():(n||/^https?:\/\//.test(r)||!e||(r=-1===r.indexOf(".js")?e+r+".js":e+r),h[r]?(s&&(c[s]=1),2==h[r]?b():setTimeout(function(){t(r,!0)},0)):(h[r]=1,s&&(c[s]=1),void m(r,b)))})},0),f}function m(e,o){var a,l=r.createElement("script");l.onload=l.onerror=l[s]=function(){l[i]&&!/^c|loade/.test(l[i])||a||(l.onload=l[s]=null,a=1,h[e]=2,o())},l.async=1,l.src=t?e+(-1===e.indexOf("?")?"?":"&")+t:e,n.insertBefore(l,n.lastChild)}return f.get=m,f.order=function(e,t,r){!function n(o){o=e.shift(),e.length?f(o,n):f(o,t,r)}()},f.path=function(t){e=t},f.urlArgs=function(e){t=e},f.ready=function(e,t,r){var n,o=[];return!d(e=e[a]?e:[e],function(e){l[e]||o[a](e)})&&u(e,function(e){return l[e]})?t():(n=e.join("|"),p[n]=p[n]||[],p[n][a](t),r&&r(o)),f},f.done=function(e){f([null],e)},f},"undefined"!=typeof e&&e.exports?e.exports=a():void 0===(o="function"===typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=o)},function(e,t,r){r(144),e.exports=r(145)},function(e,t,r){"use strict"},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(18),o=r.n(n),a=r(146);o()(window).on("et_builder_api_ready",function(e,t){t.registerModules(a.a)})},function(e,t,r){"use strict";var n=r(147),o=r(148),a=r(149),i=r(151),s=r(152),l=r(153),c=r(154),p=r(155),h=r(234),u=r(235),d=r(236),f=r(237),m=r(238),_=r(324),y=r(325),b=r(326),g=r(327),v=r(328),w=r(329),x=r(330),E=r(331),S=r(332),k=r(333),P=r(335);t.a=[P.a,k.a,S.a,x.a,E.a,n.a,o.a,a.a,i.a,s.a,l.a,c.a,p.a,h.a,u.a,d.a,f.a,m.a,_.a,y.a,b.a,g.a,v.a,w.a]},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(52);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];t.push([{selector:"%%order_class%% .dsm_flipbox_child",declaration:"transition: transform ".concat(e.flipbox_speed," ease-in-out;")}]);var r=e.flipbox_height_last_edited,n=r&&r.startsWith("on");return e.flipbox_height&&t.push([{selector:"%%order_class%% .dsm-flipbox",declaration:"height: ".concat(e.flipbox_height,";")}]),e.flipbox_height_tablet&&n&&e.flipbox_height_tablet&&""!==e.flipbox_height_tablet&&t.push([{selector:"%%order_class%% .dsm-flipbox",declaration:"height: ".concat(e.flipbox_height_tablet,";"),device:"tablet"}]),e.flipbox_height_phone&&n&&e.flipbox_height_phone&&""!==e.flipbox_height_phone&&t.push([{selector:"%%order_class%% .dsm-flipbox",declaration:"height: ".concat(e.flipbox_height_phone,";"),device:"phone"}]),t}}],(a=[{key:"render",value:function(){var e=this.props;return o.a.createElement("div",{className:"dsm-flipbox dsm-flipbox-effect-".concat(e.flipbox_effect)},this.props.content)}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_flipbox"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n);function a(e){return(a="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})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[];"on"===e.use_icon&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"color: #7EBEC5"}]),"#7EBEC5"!==e.icon_color&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"color: ".concat(e.icon_color)}]),"on"===e.use_circle&&e.circle_color&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"background-color: ".concat(e.circle_color)}]),"on"===e.use_circle_border&&e.circle_border_color&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"border-color: ".concat(e.circle_border_color)}]),"on"===e.use_icon_font_size&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"font-size: ".concat(e.icon_font_size)}]),"on"===e.use_icon_font_size&&e.icon_font_size_tablet&&t.push([{selector:".et_fb_preview_active.et_fb_preview_active--responsive_preview.et_fb_preview_active--responsive_preview--tablet_preview %%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"font-size: ".concat(e.icon_font_size_tablet)}]),"on"===e.use_icon_font_size&&e.icon_font_size_phone&&t.push([{selector:".et_fb_preview_active.et_fb_preview_active--responsive_preview.et_fb_preview_active--responsive_preview--phone_preview %%order_class%% .dsm_flipbox_child_image .et-pb-icon",declaration:"font-size: ".concat(e.icon_font_size_phone)}]);var r=e.image_max_width_last_edited&&e.image_max_width_last_edited.startsWith("on"),n=e.image_max_width,o=r&&e.image_max_width_tablet?e.image_max_width_tablet:n,a=r&&e.image_max_width_phone?e.image_max_width_phone:o;(e.image_max_width&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .dsm_flipbox_child_image_wrap img",declaration:"max-width: ".concat(n)}]),e.image_max_width_tablet&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .dsm_flipbox_child_image_wrap img",declaration:"max-width: ".concat(o),device:"tablet"}]),e.image_max_width_phone&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image .dsm_flipbox_child_image_wrap img",declaration:"max-width: ".concat(a),device:"phone"}]),"center"!==e.content_orientation&&t.push([{selector:"%%order_class%%",declaration:"align-items: ".concat(e.content_orientation,";")}]),e.image)&&("svg"===e.image.substr(e.image.lastIndexOf(".")+1)&&t.push([{selector:"%%order_class%% .dsm_flipbox_child_image",declaration:"width: 100%;"}]));return t}}],(a=[{key:"_renderTitle",value:function(){var e=this.props,t=""===e.header_level?"h4":"".concat(e.header_level);return e.title?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h4",{className:"dsm-title et_pb_module_header"},e.title)):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-title et_pb_module_header"},e.title)):""}},{key:"_renderIcon",value:function(){var e=this.props,t=window.ET_Builder.API.Utils;if(("off"!==e.use_icon||!e.image)&&e.use_icon&&"off"!==e.use_icon)return o.a.createElement("div",{className:"dsm_flipbox_child_image"},o.a.createElement("span",{className:"dsm_flipbox_child_image_wrap"},o.a.createElement("span",{className:"et-pb-icon".concat("on"===this.props.use_circle?" et-pb-icon-circle":"").concat("on"===this.props.use_circle_border?" et-pb-icon-circle-border":"")},t.processFontIcon(e.font_icon))))}},{key:"_renderImage",value:function(){var e=this.props;return!e.image||"on"===e.use_icon&&e.image?"":o.a.createElement("div",{className:"dsm_flipbox_child_image"},o.a.createElement("span",{className:"dsm_flipbox_child_image_wrap"},o.a.createElement("img",{src:"".concat(e.image),alt:"".concat(e.alt)})))}},{key:"_renderButton",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r="on"===e.url_new_window?"_blank":"",n=!!e.button_icon&&t.processFontIcon(e.button_icon),a={et_pb_button:!0,et_pb_more_button:!0,et_pb_custom_button_icon:e.button_icon};return e.button_text&&e.button_url?o.a.createElement("div",{className:"et_pb_button_wrapper"},o.a.createElement("a",{className:t.classnames(a),href:e.button_url,target:r,rel:t.linkRel(e.button_rel),"data-icon":n},e.button_text)):""}},{key:"render",value:function(){var e=this.props,t=e.text_orientation?e.text_orientation:"left",r=e.background_layout?e.background_layout:"light",a=e.icon_placement?e.icon_placement:"top";return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_flipbox_icon_position_".concat(a," et_pb_bg_layout_").concat(r)},this._renderIcon(),this._renderImage(),o.a.createElement("div",{className:"dsm_flipbox_wrapper et_pb_text_align_".concat(t)},this._renderTitle(),o.a.createElement("span",{className:"dsm-subtitle"},this.props.subtitle),o.a.createElement("div",{className:"dsm-content"},this.props.content()),this._renderButton())))}}])&&i(r.prototype,a),l&&i(r,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_flipbox_child"}),t.a=l},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(150),i=r.n(a),s=r(53);r.n(s);function l(e){return(l="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})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,s=[{key:"css",value:function(e){var t=[];return e.typing_cursor_color&&t.push([{selector:"%%order_class%% .typed-cursor",declaration:"color: ".concat(e.typing_cursor_color,";")}]),t}}],(a=[{key:"_renderTitleLoop",value:function(){var e=this.props,t=""===e.header_level?"h1":"".concat(e.header_level),r=e.typing_effect.split("|"),a=parseFloat(e.typing_speed),s=parseFloat(e.typing_backspeed),l=parseFloat(e.typing_backdelay);return e.typing_effect&&"off"!==e.typing_loop?"on"===e.typing_loop?o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-typing-effect et_pb_module_header"},o.a.createElement(i.a,{strings:r,typeSpeed:a,backSpeed:s,backDelay:l,contentType:null,className:"dsm-typing",loop:!0}))):void 0:""}},{key:"_renderTitleNoLoop",value:function(){var e=this.props,t=""===e.header_level?"h1":"".concat(e.header_level),r=e.typing_effect.split("|"),a=parseFloat(e.typing_speed),s=parseFloat(e.typing_backspeed),l=parseFloat(e.typing_backdelay);return e.typing_effect&&"on"!==e.typing_loop?"off"===e.typing_loop?o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-typing-effect et_pb_module_header"},o.a.createElement(i.a,{strings:r,typeSpeed:a,backSpeed:s,backDelay:l,contentType:null,className:"dsm-typing dsm-typing-no-loop"}))):void 0:""}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"et_pb_bg_layout_".concat(e.background_layout)},this._renderTitleNoLoop(),this._renderTitleLoop()))}}])&&c(r.prototype,a),s&&c(r,s),t}();Object.defineProperty(h,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_typing_effect"}),t.a=h},function(e,t,r){(function(e){var n,o,a,i;function s(e){return(s="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})(e)}i=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==s(e)&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=5)}([function(e,t,r){var n=r(3);e.exports=r(8)(n.isElement,!0)},function(t,r){t.exports=e},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){"use strict";e.exports=r(7)},function(e,t,r){var n;n=function(){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}return r.m=e,r.c=t,r.p="",r(0)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(1),a=r(3),i=function(){function e(t,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),o.initializer.load(this,r,t),this.begin()}return n(e,[{key:"toggle",value:function(){this.pause.status?this.start():this.stop()}},{key:"stop",value:function(){this.typingComplete||this.pause.status||(this.toggleBlinking(!0),this.pause.status=!0,this.options.onStop(this.arrayPos,this))}},{key:"start",value:function(){this.typingComplete||this.pause.status&&(this.pause.status=!1,this.pause.typewrite?this.typewrite(this.pause.curString,this.pause.curStrPos):this.backspace(this.pause.curString,this.pause.curStrPos),this.options.onStart(this.arrayPos,this))}},{key:"destroy",value:function(){this.reset(!1),this.options.onDestroy(this)}},{key:"reset",value:function(){var e=arguments.length<=0||void 0===arguments[0]||arguments[0];clearInterval(this.timeout),this.replaceText(""),this.cursor&&this.cursor.parentNode&&(this.cursor.parentNode.removeChild(this.cursor),this.cursor=null),this.strPos=0,this.arrayPos=0,this.curLoop=0,e&&(this.insertCursor(),this.options.onReset(this),this.begin())}},{key:"begin",value:function(){var e=this;this.typingComplete=!1,this.shuffleStringsIfNeeded(this),this.insertCursor(),this.bindInputFocusEvents&&this.bindFocusEvents(),this.timeout=setTimeout(function(){e.currentElContent&&0!==e.currentElContent.length?e.backspace(e.currentElContent,e.currentElContent.length):e.typewrite(e.strings[e.sequence[e.arrayPos]],e.strPos)},this.startDelay)}},{key:"typewrite",value:function(e,t){var r=this;this.fadeOut&&this.el.classList.contains(this.fadeOutClass)&&(this.el.classList.remove(this.fadeOutClass),this.cursor&&this.cursor.classList.remove(this.fadeOutClass));var n=this.humanizer(this.typeSpeed),o=1;!0!==this.pause.status?this.timeout=setTimeout(function(){t=a.htmlParser.typeHtmlChars(e,t,r);var n=0,i=e.substr(t);if("^"===i.charAt(0)&&/^\^\d+/.test(i)){var s=1;s+=(i=/\d+/.exec(i)[0]).length,n=parseInt(i),r.temporaryPause=!0,r.options.onTypingPaused(r.arrayPos,r),e=e.substring(0,t)+e.substring(t+s),r.toggleBlinking(!0)}if("`"===i.charAt(0)){for(;"`"!==e.substr(t+o).charAt(0)&&!(t+ ++o>e.length););var l=e.substring(0,t),c=e.substring(l.length+1,t+o),p=e.substring(t+o+1);e=l+c+p,o--}r.timeout=setTimeout(function(){r.toggleBlinking(!1),t>=e.length?r.doneTyping(e,t):r.keepTyping(e,t,o),r.temporaryPause&&(r.temporaryPause=!1,r.options.onTypingResumed(r.arrayPos,r))},n)},n):this.setPauseStatus(e,t,!0)}},{key:"keepTyping",value:function(e,t,r){0===t&&(this.toggleBlinking(!1),this.options.preStringTyped(this.arrayPos,this)),t+=r;var n=e.substr(0,t);this.replaceText(n),this.typewrite(e,t)}},{key:"doneTyping",value:function(e,t){var r=this;this.options.onStringTyped(this.arrayPos,this),this.toggleBlinking(!0),this.arrayPos===this.strings.length-1&&(this.complete(),!1===this.loop||this.curLoop===this.loopCount)||(this.timeout=setTimeout(function(){r.backspace(e,t)},this.backDelay))}},{key:"backspace",value:function(e,t){var r=this;if(!0!==this.pause.status){if(this.fadeOut)return this.initFadeOut();this.toggleBlinking(!1);var n=this.humanizer(this.backSpeed);this.timeout=setTimeout(function(){t=a.htmlParser.backSpaceHtmlChars(e,t,r);var n=e.substr(0,t);if(r.replaceText(n),r.smartBackspace){var o=r.strings[r.arrayPos+1];o&&n===o.substr(0,t)?r.stopNum=t:r.stopNum=0}t>r.stopNum?(t--,r.backspace(e,t)):t<=r.stopNum&&(r.arrayPos++,r.arrayPos===r.strings.length?(r.arrayPos=0,r.options.onLastStringBackspaced(),r.shuffleStringsIfNeeded(),r.begin()):r.typewrite(r.strings[r.sequence[r.arrayPos]],t))},n)}else this.setPauseStatus(e,t,!0)}},{key:"complete",value:function(){this.options.onComplete(this),this.loop?this.curLoop++:this.typingComplete=!0}},{key:"setPauseStatus",value:function(e,t,r){this.pause.typewrite=r,this.pause.curString=e,this.pause.curStrPos=t}},{key:"toggleBlinking",value:function(e){this.cursor&&(this.pause.status||this.cursorBlinking!==e&&(this.cursorBlinking=e,e?this.cursor.classList.add("typed-cursor--blink"):this.cursor.classList.remove("typed-cursor--blink")))}},{key:"humanizer",value:function(e){return Math.round(Math.random()*e/2)+e}},{key:"shuffleStringsIfNeeded",value:function(){this.shuffle&&(this.sequence=this.sequence.sort(function(){return Math.random()-.5}))}},{key:"initFadeOut",value:function(){var e=this;return this.el.className+=" "+this.fadeOutClass,this.cursor&&(this.cursor.className+=" "+this.fadeOutClass),setTimeout(function(){e.arrayPos++,e.replaceText(""),e.strings.length>e.arrayPos?e.typewrite(e.strings[e.sequence[e.arrayPos]],0):(e.typewrite(e.strings[0],0),e.arrayPos=0)},this.fadeOutDelay)}},{key:"replaceText",value:function(e){this.attr?this.el.setAttribute(this.attr,e):this.isInput?this.el.value=e:"html"===this.contentType?this.el.innerHTML=e:this.el.textContent=e}},{key:"bindFocusEvents",value:function(){var e=this;this.isInput&&(this.el.addEventListener("focus",function(t){e.stop()}),this.el.addEventListener("blur",function(t){e.el.value&&0!==e.el.value.length||e.start()}))}},{key:"insertCursor",value:function(){this.showCursor&&(this.cursor||(this.cursor=document.createElement("span"),this.cursor.className="typed-cursor",this.cursor.innerHTML=this.cursorChar,this.el.parentNode&&this.el.parentNode.insertBefore(this.cursor,this.el.nextSibling)))}}]),e}();t.default=i,e.exports=t.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),i=(n=r(2))&&n.__esModule?n:{default:n},s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return a(e,[{key:"load",value:function(e,t,r){if(e.el="string"==typeof r?document.querySelector(r):r,e.options=o({},i.default,t),e.isInput="input"===e.el.tagName.toLowerCase(),e.attr=e.options.attr,e.bindInputFocusEvents=e.options.bindInputFocusEvents,e.showCursor=!e.isInput&&e.options.showCursor,e.cursorChar=e.options.cursorChar,e.cursorBlinking=!0,e.elContent=e.attr?e.el.getAttribute(e.attr):e.el.textContent,e.contentType=e.options.contentType,e.typeSpeed=e.options.typeSpeed,e.startDelay=e.options.startDelay,e.backSpeed=e.options.backSpeed,e.smartBackspace=e.options.smartBackspace,e.backDelay=e.options.backDelay,e.fadeOut=e.options.fadeOut,e.fadeOutClass=e.options.fadeOutClass,e.fadeOutDelay=e.options.fadeOutDelay,e.isPaused=!1,e.strings=e.options.strings.map(function(e){return e.trim()}),"string"==typeof e.options.stringsElement?e.stringsElement=document.querySelector(e.options.stringsElement):e.stringsElement=e.options.stringsElement,e.stringsElement){e.strings=[],e.stringsElement.style.display="none";var n=Array.prototype.slice.apply(e.stringsElement.children),a=n.length;if(a)for(var s=0;s<a;s+=1){var l=n[s];e.strings.push(l.innerHTML.trim())}}for(var s in e.strPos=0,e.arrayPos=0,e.stopNum=0,e.loop=e.options.loop,e.loopCount=e.options.loopCount,e.curLoop=0,e.shuffle=e.options.shuffle,e.sequence=[],e.pause={status:!1,typewrite:!0,curString:"",curStrPos:0},e.typingComplete=!1,e.strings)e.sequence[s]=s;e.currentElContent=this.getCurrentElContent(e),e.autoInsertCss=e.options.autoInsertCss,this.appendAnimationCss(e)}},{key:"getCurrentElContent",value:function(e){return e.attr?e.el.getAttribute(e.attr):e.isInput?e.el.value:"html"===e.contentType?e.el.innerHTML:e.el.textContent}},{key:"appendAnimationCss",value:function(e){if(e.autoInsertCss&&(e.showCursor||e.fadeOut)&&!document.querySelector("[data-typed-js-css]")){var t=document.createElement("style");t.type="text/css",t.setAttribute("data-typed-js-css",!0);var r="";e.showCursor&&(r+="\n .typed-cursor{\n opacity: 1;\n }\n .typed-cursor.typed-cursor--blink{\n animation: typedjsBlink 0.7s infinite;\n -webkit-animation: typedjsBlink 0.7s infinite;\n animation: typedjsBlink 0.7s infinite;\n }\n @keyframes typedjsBlink{\n 50% { opacity: 0.0; }\n }\n @-webkit-keyframes typedjsBlink{\n 0% { opacity: 1; }\n 50% { opacity: 0.0; }\n 100% { opacity: 1; }\n }\n "),e.fadeOut&&(r+="\n .typed-fade-out{\n opacity: 0;\n transition: opacity .25s;\n }\n .typed-cursor.typed-cursor--blink.typed-fade-out{\n -webkit-animation: 0;\n animation: 0;\n }\n "),0!==t.length&&(t.innerHTML=r,document.body.appendChild(t))}}}]),e}();t.default=s;var l=new s;t.initializer=l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={strings:["These are the default values...","You know what you should do?","Use your own!","Have a great day!"],stringsElement:null,typeSpeed:0,startDelay:0,backSpeed:0,smartBackspace:!0,shuffle:!1,backDelay:700,fadeOut:!1,fadeOutClass:"typed-fade-out",fadeOutDelay:500,loop:!1,loopCount:1/0,showCursor:!0,cursorChar:"|",autoInsertCss:!0,attr:null,bindInputFocusEvents:!1,contentType:"html",onComplete:function(e){},preStringTyped:function(e,t){},onStringTyped:function(e,t){},onLastStringBackspaced:function(e){},onTypingPaused:function(e,t){},onTypingResumed:function(e,t){},onReset:function(e){},onStop:function(e,t){},onStart:function(e,t){},onDestroy:function(e){}},e.exports=t.default},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),n=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return r(e,[{key:"typeHtmlChars",value:function(e,t,r){if("html"!==r.contentType)return t;var n=e.substr(t).charAt(0);if("<"===n||"&"===n){var o;for(o="<"===n?">":";";e.substr(t+1).charAt(0)!==o&&!(++t+1>e.length););t++}return t}},{key:"backSpaceHtmlChars",value:function(e,t,r){if("html"!==r.contentType)return t;var n=e.substr(t).charAt(0);if(">"===n||";"===n){var o;for(o=">"===n?"<":"&";e.substr(t-1).charAt(0)!==o&&!(--t<0););t--}return t}}]),e}();t.default=n;var o=new n;t.htmlParser=o}])},e.exports=n()},function(e,t,r){"use strict";r.r(t);var n=r(1),o=r.n(n),a=r(0),i=r.n(a),l=r(4),c=r.n(l);function p(e){return(p="function"==typeof Symbol&&"symbol"==s(Symbol.iterator)?function(e){return s(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":s(e)})(e)}function h(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var _=function(e){function t(){var e,r,n,a,i,s;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var l=arguments.length,c=new Array(l),h=0;h<l;h++)c[h]=arguments[h];return this,a=f(r=!(n=(e=d(t)).call.apply(e,[this].concat(c)))||"object"!==p(n)&&"function"!=typeof n?f(this):n),i="rootElement",s=o.a.createRef(),i in a?Object.defineProperty(a,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):a[i]=s,r}var r,a;return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(t,n.Component),r=t,(a=[{key:"componentDidMount",value:function(){var e=this.props,t=(e.style,e.typedRef,e.stopped),r=(e.className,h(e,["style","typedRef","stopped","className"]));this.constructTyped(r),t&&this.typed.stop()}},{key:"constructTyped",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=this.props,n=(r.style,r.typedRef,r.stopped,r.className,h(r,["style","typedRef","stopped","className"]));this.typed&&this.typed.destroy(),this.typed=new c.a(this.rootElement.current,Object.assign(n,t)),this.props.typedRef&&this.props.typedRef(this.typed),this.typed.reConstruct=function(t){e.constructTyped(t)}}},{key:"shouldComponentUpdate",value:function(e){var t=this;if(this.props!==e){e.style,e.typedRef,e.stopped,e.className;var r=h(e,["style","typedRef","stopped","className"]);return this.typed.options=Object.assign(this.typed.options,r),!Object.keys(e).every(function(r){return!t.props[r]&&e[r]?(t.constructTyped(e),!1):(t.typed[r]&&(t.typed[r]=e[r]),!0)})||this.props.strings.length===e.strings.length||this.constructTyped(e),!0}return!1}},{key:"render",value:function(){var e=this.props,t=e.style,r=e.className,n=e.children,a=o.a.createElement("span",{ref:this.rootElement});return n&&(a=o.a.cloneElement(n,{ref:this.rootElement})),o.a.createElement("span",{style:t,className:r},a)}}])&&u(r.prototype,a),t}();_.propTypes={style:i.a.object,className:i.a.string,children:i.a.object,typedRef:i.a.func,stopped:i.a.bool,strings:i.a.arrayOf(i.a.string),typeSpeed:i.a.number,startDelay:i.a.number,backSpeed:i.a.number,smartBackspace:i.a.bool,shuffle:i.a.bool,backDelay:i.a.number,fadeOut:i.a.bool,fadeOutClass:i.a.string,fadeOutDelay:i.a.number,loop:i.a.bool,loopCount:i.a.number,showCursor:i.a.bool,cursorChar:i.a.string,autoInsertCss:i.a.bool,attr:i.a.string,bindInputFocusEvents:i.a.bool,contentType:i.a.oneOf(["html",""]),onComplete:i.a.func,preStringTyped:i.a.func,onStringTyped:i.a.func,onLastStringBackspaced:i.a.func,onTypingPaused:i.a.func,onTypingResumed:i.a.func,onReset:i.a.func,onStop:i.a.func,onStart:i.a.func,onDestroy:i.a.func},t.default=_},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,i=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,p=n?Symbol.for("react.provider"):60109,h=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,m=n?Symbol.for("react.suspense"):60113,_=n?Symbol.for("react.suspense_list"):60120,y=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.fundamental"):60117,v=n?Symbol.for("react.responder"):60118;function w(e){if("object"==s(e)&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case u:case d:case i:case c:case l:case m:return e;default:switch(e=e&&e.$$typeof){case h:case f:case p:return e;default:return t}}case b:case y:case a:return t}}}function x(e){return w(e)===d}t.typeOf=w,t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=h,t.ContextProvider=p,t.Element=o,t.ForwardRef=f,t.Fragment=i,t.Lazy=b,t.Memo=y,t.Portal=a,t.Profiler=c,t.StrictMode=l,t.Suspense=m,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===c||e===l||e===m||e===_||"object"==s(e)&&null!==e&&(e.$$typeof===b||e.$$typeof===y||e.$$typeof===p||e.$$typeof===h||e.$$typeof===f||e.$$typeof===g||e.$$typeof===v)},t.isAsyncMode=function(e){return x(e)||w(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return w(e)===h},t.isContextProvider=function(e){return w(e)===p},t.isElement=function(e){return"object"==s(e)&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===b},t.isMemo=function(e){return w(e)===y},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===c},t.isStrictMode=function(e){return w(e)===l},t.isSuspense=function(e){return w(e)===m}},function(e,t,r){"use strict";!function(){Object.defineProperty(t,"__esModule",{value:!0});var e="function"==typeof Symbol&&Symbol.for,r=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,a=e?Symbol.for("react.strict_mode"):60108,i=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,p=e?Symbol.for("react.async_mode"):60111,h=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,_=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,g=function(e,t){if(void 0===t)throw new Error("`lowPriorityWarning(condition, format, ...args)` requires a warning message argument");if(!e){for(var r=arguments.length,n=Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];(function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var o=0,a="Warning: "+e.replace(/%s/g,function(){return r[o++]});"undefined"!=typeof console&&console.warn(a);try{throw new Error(a)}catch(e){}}).apply(void 0,[t].concat(n))}};function v(e){if("object"==s(e)&&null!==e){var t=e.$$typeof;switch(t){case r:var f=e.type;switch(f){case p:case h:case o:case i:case a:case d:return f;default:var y=f&&f.$$typeof;switch(y){case c:case u:case l:return y;default:return t}}case _:case m:case n:return t}}}var w=p,x=h,E=c,S=l,k=r,P=u,C=o,T=_,A=m,M=n,D=i,O=a,F=d,I=!1;function j(e){return v(e)===h}t.typeOf=v,t.AsyncMode=w,t.ConcurrentMode=x,t.ContextConsumer=E,t.ContextProvider=S,t.Element=k,t.ForwardRef=P,t.Fragment=C,t.Lazy=T,t.Memo=A,t.Portal=M,t.Profiler=D,t.StrictMode=O,t.Suspense=F,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===h||e===i||e===a||e===d||e===f||"object"==s(e)&&null!==e&&(e.$$typeof===_||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===u||e.$$typeof===y||e.$$typeof===b)},t.isAsyncMode=function(e){return I||(I=!0,g(!1,"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),j(e)||v(e)===p},t.isConcurrentMode=j,t.isContextConsumer=function(e){return v(e)===c},t.isContextProvider=function(e){return v(e)===l},t.isElement=function(e){return"object"==s(e)&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===u},t.isFragment=function(e){return v(e)===o},t.isLazy=function(e){return v(e)===_},t.isMemo=function(e){return v(e)===m},t.isPortal=function(e){return v(e)===n},t.isProfiler=function(e){return v(e)===i},t.isStrictMode=function(e){return v(e)===a},t.isSuspense=function(e){return v(e)===d}}()},function(e,t,r){"use strict";var n=r(3),o=r(9),a=r(2),i=r(10),l=Function.call.bind(Object.prototype.hasOwnProperty),c=function(){};function p(){return null}c=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},e.exports=function(e,t){var r="function"==typeof Symbol&&Symbol.iterator,h="@@iterator",u="<<anonymous>>",d={array:y("array"),bool:y("boolean"),func:y("function"),number:y("number"),object:y("object"),string:y("string"),symbol:y("symbol"),any:_(p),arrayOf:function(e){return _(function(t,r,n,o,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside arrayOf.");var s=t[r];if(!Array.isArray(s))return new m("Invalid "+o+" `"+i+"` of type `"+g(s)+"` supplied to `"+n+"`, expected an array.");for(var l=0;l<s.length;l++){var c=e(s,l,n,o,i+"["+l+"]",a);if(c instanceof Error)return c}return null})},element:_(function(t,r,n,o,a){var i=t[r];return e(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+g(i)+"` supplied to `"+n+"`, expected a single ReactElement.")}),elementType:_(function(e,t,r,o,a){var i=e[t];return n.isValidElementType(i)?null:new m("Invalid "+o+" `"+a+"` of type `"+g(i)+"` supplied to `"+r+"`, expected a single ReactElement type.")}),instanceOf:function(e){return _(function(t,r,n,o,a){if(!(t[r]instanceof e)){var i=e.name||u;return new m("Invalid "+o+" `"+a+"` of type `"+function(e){return e.constructor&&e.constructor.name?e.constructor.name:u}(t[r])+"` supplied to `"+n+"`, expected instance of `"+i+"`.")}return null})},node:_(function(e,t,r,n,o){return b(e[t])?null:new m("Invalid "+n+" `"+o+"` supplied to `"+r+"`, expected a ReactNode.")}),objectOf:function(e){return _(function(t,r,n,o,i){if("function"!=typeof e)return new m("Property `"+i+"` of component `"+n+"` has invalid PropType notation inside objectOf.");var s=t[r],c=g(s);if("object"!==c)return new m("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+n+"`, expected an object.");for(var p in s)if(l(s,p)){var h=e(s,p,n,o,i+"."+p,a);if(h instanceof Error)return h}return null})},oneOf:function(e){return Array.isArray(e)?_(function(t,r,n,o,a){for(var i=t[r],s=0;s<e.length;s++)if(f(i,e[s]))return null;var l=JSON.stringify(e,function(e,t){return"symbol"===v(t)?String(t):t});return new m("Invalid "+o+" `"+a+"` of value `"+String(i)+"` supplied to `"+n+"`, expected one of "+l+".")}):(arguments.length>1?c("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):c("Invalid argument supplied to oneOf, expected an array."),p)},oneOfType:function(e){if(!Array.isArray(e))return c("Invalid argument supplied to oneOfType, expected an instance of array."),p;for(var t=0;t<e.length;t++){var r=e[t];if("function"!=typeof r)return c("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+w(r)+" at index "+t+"."),p}return _(function(t,r,n,o,i){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,r,n,o,i,a))return null;return new m("Invalid "+o+" `"+i+"` supplied to `"+n+"`.")})},shape:function(e){return _(function(t,r,n,o,i){var s=t[r],l=g(s);if("object"!==l)return new m("Invalid "+o+" `"+i+"` of type `"+l+"` supplied to `"+n+"`, expected `object`.");for(var c in e){var p=e[c];if(p){var h=p(s,c,n,o,i+"."+c,a);if(h)return h}}return null})},exact:function(e){return _(function(t,r,n,i,s){var l=t[r],c=g(l);if("object"!==c)return new m("Invalid "+i+" `"+s+"` of type `"+c+"` supplied to `"+n+"`, expected `object`.");var p=o({},t[r],e);for(var h in p){var u=e[h];if(!u)return new m("Invalid "+i+" `"+s+"` key `"+h+"` supplied to `"+n+"`.\nBad object: "+JSON.stringify(t[r],null," ")+"\nValid keys: "+JSON.stringify(Object.keys(e),null," "));var d=u(l,h,n,i,s+"."+h,a);if(d)return d}return null})}};function f(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function m(e){this.message=e,this.stack=""}function _(e){var r={},n=0;function o(o,i,s,l,p,h,d){if(l=l||u,h=h||s,d!==a){if(t){var f=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 f.name="Invariant Violation",f}if("undefined"!=typeof console){var _=l+":"+s;!r[_]&&n<3&&(c("You are manually calling a React.PropTypes validation function for the `"+h+"` prop on `"+l+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),r[_]=!0,n++)}}return null==i[s]?o?null===i[s]?new m("The "+p+" `"+h+"` is marked as required in `"+l+"`, but its value is `null`."):new m("The "+p+" `"+h+"` is marked as required in `"+l+"`, but its value is `undefined`."):null:e(i,s,l,p,h)}var i=o.bind(null,!1);return i.isRequired=o.bind(null,!0),i}function y(e){return _(function(t,r,n,o,a,i){var s=t[r];return g(s)!==e?new m("Invalid "+o+" `"+a+"` of type `"+v(s)+"` supplied to `"+n+"`, expected `"+e+"`."):null})}function b(t){switch(s(t)){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(b);if(null===t||e(t))return!0;var n=function(e){var t=e&&(r&&e[r]||e[h]);if("function"==typeof t)return t}(t);if(!n)return!1;var o,a=n.call(t);if(n!==t.entries){for(;!(o=a.next()).done;)if(!b(o.value))return!1}else for(;!(o=a.next()).done;){var i=o.value;if(i&&!b(i[1]))return!1}return!0;default:return!1}}function g(e){var t=s(e);return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||!!t&&("Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol)}(t,e)?"symbol":t}function v(e){if(null==e)return""+e;var t=g(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function w(e){var t=v(e);switch(t){case"array":case"object":return"an "+t;case"boolean":case"date":case"regexp":return"a "+t;default:return t}}return m.prototype=Error.prototype,d.checkPropTypes=i,d.resetWarningCache=i.resetWarningCache,d.PropTypes=d,d}},function(e,t,r){"use strict";var n=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach(function(e){n[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var r,i,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var c in r=Object(arguments[l]))o.call(r,c)&&(s[c]=r[c]);if(n){i=n(r);for(var p=0;p<i.length;p++)a.call(r,i[p])&&(s[i[p]]=r[i[p]])}}return s}},function(e,t,r){"use strict";var n=function(){},o=r(2),a={},i=Function.call.bind(Object.prototype.hasOwnProperty);function l(e,t,r,l,c){for(var p in e)if(i(e,p)){var h;try{if("function"!=typeof e[p]){var u=Error((l||"React class")+": "+r+" type `"+p+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+s(e[p])+"`.");throw u.name="Invariant Violation",u}h=e[p](t,p,l,r,null,o)}catch(e){h=e}if(!h||h instanceof Error||n((l||"React class")+": type specification of "+r+" `"+p+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+s(h)+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),h instanceof Error&&!(h.message in a)){a[h.message]=!0;var d=c?c():"";n("Failed "+r+" type: "+h.message+(null!=d?d:""))}}}n=function(e){var t="Warning: "+e;"undefined"!=typeof console&&console.error(t);try{throw new Error(t)}catch(e){}},l.resetWarningCache=function(){a={}},e.exports=l},function(e,t,r){"use strict";var n=r(2);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}}])},"object"==s(t)&&"object"==s(e)?e.exports=i(r(0)):(o=[r(0)],void 0===(a="function"===typeof(n=i)?n.apply(t,o):n)||(e.exports=a))}).call(t,r(23)(e))},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(18),i=r.n(a),s=r(95),l=(r.n(s),r(54));r.n(l);function c(e){return(c="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})(e)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[];if(t.push([{selector:"%%order_class%% .dsm-perspective-image-wrapper",declaration:"transform: perspective(".concat(e.perspective,") rotateX(").concat(e.dsm_rotate_x,") rotateY(").concat(e.dsm_rotate_y,") rotateZ(").concat(e.dsm_rotate_z,");")}]),"left"!==e.align&&t.push([{selector:"%%order_class%%",declaration:"text-align: ".concat(e.align,";")}]),"on"===e.force_fullwidth&&t.push([{selector:"%%order_class%% .et_pb_image_wrap, %%order_class%% img",declaration:"width: 100%;"}]),"on"===e.use_overlay&&(e.hover_overlay_color&&t.push([{selector:"%%order_class%% .et_overlay",declaration:"background-color: ".concat(e.hover_overlay_color,";")}]),e.overlay_icon_color&&t.push([{selector:"%%order_class%% .et_overlay:before",declaration:"color: ".concat(e.overlay_icon_color,";")}])),"on"!==e.dsm_rotate_y__hover_enabled&&"on"!==e.dsm_rotate_x__hover_enabled&&"on"!==e.dsm_rotate_z__hover_enabled||t.push([{selector:"%%order_class%% .dsm-perspective-image-wrapper",declaration:"transition: transform ".concat(e.hover_transition_duration," ").concat(e.hover_transition_speed_curve," ").concat(e.hover_transition_delay,";")}]),void 0===e.dsm_rotate_y__hover)var r="0deg";else r=e.dsm_rotate_y__hover;if(void 0===e.dsm_rotate_x__hover)var n="0deg";else n=e.dsm_rotate_x__hover;if(void 0===e.dsm_rotate_z__hover)var o="0deg";else o=e.dsm_rotate_z__hover;var a=""!==e.dsm_rotate_x__hover?" rotateX(".concat(n,")"):"",i=""!==e.dsm_rotate_y__hover?" rotateY(".concat(r,")"):"",s=""!==e.dsm_rotate_z__hover?" rotateZ(".concat(o,")"):"";("on"!==e.dsm_rotate_y__hover_enabled&&"on"!==e.dsm_rotate_x__hover_enabled&&"on"!==e.dsm_rotate_z__hover_enabled||""===e.dsm_rotate_y__hover&&""===e.dsm_rotate_x__hover&&""===e.dsm_rotate_z__hover||t.push([{selector:"%%order_class%%:hover .dsm-perspective-image-wrapper",declaration:"transform: perspective(".concat(e.perspective,")").concat(a).concat(i).concat(s,";")}]),e.src)&&("svg"===e.src.substr(e.src.lastIndexOf(".")+1)&&t.push([{selector:"%%order_class%% .et_pb_image_wrap",declaration:"display: block;"}]));return t}}],(a=[{key:"componentDidUpdate",value:function(e){var t=Object(s.findDOMNode)(this.refs.lightboxIMG);i()(t).magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade",zoom:{enabled:!0,duration:500,opener:function(e){return e.find("img")}}})}},{key:"_renderOverlay",value:function(){var e=this.props,t=window.ET_Builder.API.Utils.processFontIcon(e.hover_icon);return"off"===e.use_overlay&&("on"===e.show_in_lightbox||"off"===e.show_in_lightbox&&""!==e.url)?"":o.a.createElement(n.Fragment,null,o.a.createElement("span",{className:"et_overlay et_pb_inline_icon","data-icon":t}))}},{key:"_renderImageOutPut",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("span",{className:"et_pb_image_wrap"},o.a.createElement("img",{src:e.src,alt:e.alt,title:e.title_text}),this._renderOverlay()))}},{key:"_renderImage",value:function(){var e=this.props,t="on"===e.url_new_window&&"off"===e.show_in_lightbox?"_blank":"",r="on"===e.show_lightbox_other_img&&""!==e.show_lightbox_other_img_src?e.show_lightbox_other_img_src:e.src;return e.src||e.url?"on"===e.show_in_lightbox?o.a.createElement(n.Fragment,null,o.a.createElement("a",{ref:"lightboxIMG",href:e.src,className:"et_pb_lightbox_image","data-mfp-src":r},this._renderImageOutPut())):void 0===e.url?o.a.createElement(n.Fragment,null,this._renderImageOutPut()):""!==e.url?o.a.createElement(n.Fragment,null,o.a.createElement("a",{href:e.url,target:t,title:e.alt},this._renderImageOutPut())):o.a.createElement(n.Fragment,null,this._renderImageOutPut()):""}},{key:"render",value:function(){var e=this.props;return o.a.createElement("div",{ref:"spaces",className:"dsm-perspective-image-wrapper".concat("on"===e.use_overlay&&("on"===e.show_in_lightbox||"off"===e.show_in_lightbox&&""!==e.url)?" et_pb_has_overlay":"")},o.a.createElement(n.Fragment,null,this._renderImage()))}}])&&p(r.prototype,a),l&&p(r,l),t}();Object.defineProperty(u,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_perspective_image"}),t.a=u},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(55);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];return e.height&&t.push([{selector:"%%order_class%% .dsm-text-divider-wrapper",declaration:"height: ".concat(e.height,";")}]),e.divider_style&&t.push([{selector:"%%order_class%% .dsm-divider",declaration:"border-top-style: ".concat(e.divider_style,";")}]),"center"!==e.divider_position&&t.push([{selector:"%%order_class%% .dsm-text-divider-wrapper",declaration:"align-items: ".concat(e.divider_position,";")}]),e.color&&t.push([{selector:"%%order_class%% .dsm-divider",declaration:"border-top-color: ".concat(e.color,";")}]),e.divider_weight&&t.push([{selector:"%%order_class%% .dsm-divider",declaration:"border-top-width: ".concat(e.divider_weight,";")}]),"10px"!==e.text_gap&&("center"===e.text_alignment?t.push([{selector:"%%order_class%% .dsm-text-divider-header",declaration:"margin: 0 ".concat(e.text_gap,";")}]):"left"===e.text_alignment?t.push([{selector:"%%order_class%% .dsm-text-divider-header",declaration:"margin: 0 ".concat(e.text_gap," 0 0;")}]):t.push([{selector:"%%order_class%% .dsm-text-divider-header",declaration:"margin: 0 0 0 ".concat(e.text_gap,";")}])),t}}],(a=[{key:"_renderText",value:function(){var e=this.props,t=""===e.header_level?"h2":"".concat(e.header_level);return e.header?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h3",{className:"dsm-text-divider-header et_pb_module_header"},e.header)):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-text-divider-header et_pb_module_header"},e.header)):""}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm-text-divider-wrapper et_pb_bg_layout_".concat(e.background_layout," dsm-text-divider-align-").concat(e.text_alignment)},o.a.createElement("div",{className:"dsm-text-divider-before dsm-divider"}),this._renderText(),o.a.createElement("div",{className:"dsm-text-divider-after dsm-divider"})))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_text_divider"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(56);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){return[]}}],(a=[{key:"_renderTitle",value:function(){var e=this.props,t=""===e.header_level?"h1":"".concat(e.header_level);return e.gradient_text?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h1",{className:"dsm-gradient-text et_pb_module_header"},e.gradient_text)):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-gradient-text et_pb_module_header"},e.gradient_text)):""}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"et_pb_bg_layout_".concat(e.background_layout)},this._renderTitle()))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_gradient_text"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(95),i=(r.n(a),r(18)),s=r.n(i),l=r(57),c=(r.n(l),r(58));r.n(c);function p(e){return(p="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})(e)}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function u(e,t){return!t||"object"!==p(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var d=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),u(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,i,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[],r=e.separator_gap_last_edited&&e.separator_gap_last_edited.startsWith("on"),n=e.separator_gap,o=r&&e.separator_gap_tablet?e.separator_gap_tablet:n,a=r&&e.separator_gap_phone?e.separator_gap_phone:o;return e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-button-separator-text",declaration:"margin-left: ".concat(n,"; margin-right: ").concat(n)}]),e.separator_gap_tablet&&t.push([{selector:"%%order_class%% .dsm-button-separator-text",declaration:"margin-left: ".concat(o,"; margin-right: ").concat(o),device:"tablet"}]),e.separator_gap_phone&&t.push([{selector:"%%order_class%% .dsm-button-separator-text",declaration:"margin-left: ".concat(a,"; margin-right: ").concat(a),device:"phone"}]),t}}],(i=[{key:"componentDidUpdate",value:function(){var e=this.props;s()(Object(a.findDOMNode)(this.popupvideoLink)).magnificPopup({delegate:".dsm-video-lightbox",type:"iframe",iframe:{markup:'<div class="mfp-iframe-scaler dsm-video-popup"><div class="mfp-close"></div><iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe></div>',patterns:{youtube:{index:"youtube.com/",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"},youtu_be:{index:"youtu.be",id:"/",src:"//www.youtube.com/embed/%id%?autoplay=1&rel=0"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},dailymotion:{index:"dailymotion.com",id:function(e){var t=e.match(/^.+dailymotion.com\/(video|hub)\/([^_]+)[^#]*(#video=([^_&]+))?/);return null!==t?void 0!==t[4]?t[4]:t[2]:null},src:"https://www.dailymotion.com/embed/video/%id%"}},srcAction:"iframe_src"},mainClass:"dsm-video-popup-wrap mfp-fade"});var t=Object(a.findDOMNode)(this.refs.IMGOneLightbox);"on"===e.button_one_image_popup?s()(t).magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade"}):(s()(t).off("click"),s()(t).removeData("magnificPopup"));var r=Object(a.findDOMNode)(this.refs.IMGTwoLightbox);"on"===e.button_two_image_popup?s()(r).magnificPopup({type:"image",removalDelay:500,mainClass:"mfp-fade"}):(s()(r).off("click"),s()(r).removeData("magnificPopup"))}},{key:"_renderButton",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r="on"===e.button_one_url_new_window?"_blank":"",n=!!e.button_one_icon&&t.processFontIcon(e.button_one_icon),a=e.button_one_hover_animation,i="on"===e.button_one_video_popup?" dsm-video-lightbox et_pb_lightbox_image":"",s="on"===e.button_one_image_popup?" dsm-image-lightbox et_pb_lightbox_image":"",l="on"===e.button_one_image_popup?"".concat(e.button_one_image_src):"".concat(e.button_one_url),c={et_pb_button_one:!0,et_pb_button:!0,et_pb_custom_button_icon:e.button_one_icon};return e.button_one_text?o.a.createElement("a",{ref:"IMGOneLightbox",className:"".concat(t.classnames(c)," ").concat(a).concat(i).concat(s," ").concat(this.buttonBackgroundClassName()),href:l,target:r,rel:t.linkRel(e.button_one_rel),"data-icon":n},e.button_one_text):""}},{key:"_renderButtonTwo",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r="on"===e.button_two_url_new_window?"_blank":"",a=!!e.button_two_icon&&t.processFontIcon(e.button_two_icon),i=e.button_two_hover_animation,s="on"===e.button_two_video_popup?" dsm-video-lightbox et_pb_lightbox_image":"",l="on"===e.button_two_image_popup?" dsm-image-lightbox et_pb_lightbox_image":"",c="on"===e.button_two_image_popup?"".concat(e.button_two_image_src):"".concat(e.button_two_url),p={et_pb_button_two:!0,et_pb_button:!0,et_pb_custom_button_icon:e.button_two_icon};return e.button_two_text?o.a.createElement(n.Fragment,null,this._renderSeparator(),o.a.createElement("a",{ref:"IMGTwoLightbox",className:"".concat(t.classnames(p)," ").concat(i).concat(s).concat(l," ").concat(this.buttonBackgroundClassName()),href:c,target:r,rel:t.linkRel(e.button_two_rel),"data-icon":a},e.button_two_text)):""}},{key:"_renderSeparator",value:function(){var e=this.props;return e.separator_text?o.a.createElement("span",{className:"dsm-button-separator-text"},e.separator_text):""}},{key:"buttonBackgroundClassName",value:function(){var e=this.props,t=["et_pb_bg_layout_".concat(e.background_layout," ")],r=e.background_layout_last_edited,n=r&&r.startsWith("on");return e.background_layout_tablet&&n&&e.background_layout_tablet&&""!==e.background_layout_tablet&&t.push("et_pb_bg_layout_".concat(e.background_layout_tablet,"_tablet ")),e.background_layout_phone&&n&&e.background_layout_phone&&""!==e.background_layout_phone&&t.push("et_pb_bg_layout_".concat(e.background_layout_phone,"_phone ")),t.join(" ")}},{key:"buttonAlignmentClassName",value:function(){var e=this.props,t=["et_pb_button_alignment_".concat(e.button_alignment," ")],r=e.button_alignment_last_edited,n=r&&r.startsWith("on");return e.button_alignment_tablet&&n&&e.button_alignment_tablet&&""!==e.button_alignment_tablet&&t.push("et_pb_button_alignment_tablet_".concat(e.button_alignment_tablet," ")),e.button_alignment_phone&&n&&e.button_alignment_phone&&""!==e.button_alignment_phone&&t.push("et_pb_button_alignment_phone_".concat(e.button_alignment_phone," ")),e.separator_text&&t.push("dsm-button-seperator "),t.join(" ")}},{key:"render",value:function(){var e=this,t=this.props;return o.a.createElement("div",{ref:function(t){e.popupvideoLink=t},className:"".concat(this.buttonAlignmentClassName()).concat(this.buttonBackgroundClassName(),"et_pb_button_module_wrapper").concat(t.separator_text&&"on"===t.remove_separator_text_on_mobile?" dsm-button-separator-remove":"").concat(t.separator_text&&"on"===t.fullwidth_separator_text_on_mobile?" dsm-button-separator-fullwidth":"")},this._renderButton(),this._renderButtonTwo())}}])&&h(r.prototype,i),l&&h(r,l),t}();Object.defineProperty(d,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_button"}),t.a=d},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(96);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,c=[{key:"css",value:function(e){var t=[];return"center"!==e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-facebook-feed",declaration:"text-align: ".concat(e.fb_alignment,";")}]),t}}],(i=[{key:"shouldComponentUpdate",value:function(e,t){return e.fb_page_url!==this.props.fb_page_url||e.fb_tabs!==this.props.fb_tabs||e.fb_small_header!==this.props.fb_small_header||e.fb_hide_cover!==this.props.fb_hide_cover||e.fb_width!==this.props.fb_width||e.fb_height!==this.props.fb_height||e.fb_show_facepile!==this.props.fb_show_facepile}},{key:"render",value:function(){var e,t=this.props,r=""===t.fb_app_id?"252971358753113":"".concat(t.fb_app_id),i=t.fb_tabs.split("|"),s=["on"===i[0]?"timeline":"","on"===i[1]?"events":"","on"===i[2]?"messages":""];return e="undefined"!==typeof s[0]&&null!==s[0]?s.filter(Boolean):"",o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm-facebook-feed et_pb_text_align_".concat(t.fb_alignment)},o.a.createElement(a.FacebookProvider,{appId:r},o.a.createElement(a.Page,{href:t.fb_page_url,tabs:e,width:parseInt(t.fb_width,10),height:parseInt(t.fb_height,10),smallHeader:t.fb_small_header,adaptContainerWidth:"true",hideCover:t.fb_hide_cover,showFacepile:t.fb_show_facepile,hideCTA:"true"}))))}}])&&s(r.prototype,i),c&&s(r,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_facebook_feed"}),t.a=c},function(e,t,r){var n=function(){return this}()||Function("return this")(),o=n.regeneratorRuntime&&Object.getOwnPropertyNames(n).indexOf("regeneratorRuntime")>=0,a=o&&n.regeneratorRuntime;if(n.regeneratorRuntime=void 0,e.exports=r(157),o)n.regeneratorRuntime=a;else try{delete n.regeneratorRuntime}catch(e){n.regeneratorRuntime=void 0}},function(e,t,r){(function(e){function t(e){return(t="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})(e)}!function(r){"use strict";var n,o=Object.prototype,a=o.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},s=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag",p="object"===t(e),h=r.regeneratorRuntime;if(h)p&&(e.exports=h);else{(h=r.regeneratorRuntime=p?e.exports:{}).wrap=w;var u="suspendedStart",d="suspendedYield",f="executing",m="completed",_={},y={};y[s]=function(){return this};var b=Object.getPrototypeOf,g=b&&b(b(O([])));g&&g!==o&&a.call(g,s)&&(y=g);var v=k.prototype=E.prototype=Object.create(y);S.prototype=v.constructor=k,k.constructor=S,k[c]=S.displayName="GeneratorFunction",h.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===S||"GeneratorFunction"===(t.displayName||t.name))},h.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,k):(e.__proto__=k,c in e||(e[c]="GeneratorFunction")),e.prototype=Object.create(v),e},h.awrap=function(e){return{__await:e}},P(C.prototype),C.prototype[l]=function(){return this},h.AsyncIterator=C,h.async=function(e,t,r,n){var o=new C(w(e,t,r,n));return h.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},P(v),v[c]="Generator",v[s]=function(){return this},v.toString=function(){return"[object Generator]"},h.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},h.values=O,D.prototype={constructor:D,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(M),!e)for(var t in this)"t"===t.charAt(0)&&a.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,o){return s.type="throw",s.arg=e,t.next=r,o&&(t.method="next",t.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),c=a.call(i,"finallyLoc");if(l&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,_):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),_},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),_}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;M(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:O(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),_}}}function w(e,t,r,n){var o=t&&t.prototype instanceof E?t:E,a=Object.create(o.prototype),i=new D(n||[]);return a._invoke=function(e,t,r){var n=u;return function(o,a){if(n===f)throw new Error("Generator is already running");if(n===m){if("throw"===o)throw a;return F()}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var s=T(i,r);if(s){if(s===_)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===u)throw n=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=f;var l=x(e,t,r);if("normal"===l.type){if(n=r.done?m:d,l.arg===_)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(n=m,r.method="throw",r.arg=l.arg)}}}(e,r,i),a}function x(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}function E(){}function S(){}function k(){}function P(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function C(e){var r;this._invoke=function(n,o){function i(){return new Promise(function(r,i){!function r(n,o,i,s){var l=x(e[n],e,o);if("throw"!==l.type){var c=l.arg,p=c.value;return p&&"object"===t(p)&&a.call(p,"__await")?Promise.resolve(p.__await).then(function(e){r("next",e,i,s)},function(e){r("throw",e,i,s)}):Promise.resolve(p).then(function(e){c.value=e,i(c)},s)}s(l.arg)}(n,o,r,i)})}return r=r?r.then(i,i):i()}}function T(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,T(e,t),"throw"===t.method))return _;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return _}var o=x(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,_;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,_):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,_)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function O(e){if(e){var t=e[s];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(a.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=n,t.done=!0,t};return o.next=o}}return{next:F}}function F(){return{value:n,done:!0}}}(function(){return this}()||Function("return this")())}).call(t,r(23)(e))},function(e,t,r){e.exports={default:r(159),__esModule:!0}},function(e,t,r){r(98),r(99),r(107),r(169),r(181),r(182),e.exports=r(7).Promise},function(e,t,r){var n=r(59),o=r(60);e.exports=function(e){return function(t,r){var a,i,s=String(o(t)),l=n(r),c=s.length;return l<0||l>=c?e?"":void 0:(a=s.charCodeAt(l))<55296||a>56319||l+1===c||(i=s.charCodeAt(l+1))<56320||i>57343?e?s.charAt(l):a:e?s.slice(l,l+2):i-56320+(a-55296<<10)+65536}}},function(e,t,r){"use strict";var n=r(63),o=r(37),a=r(40),i={};r(19)(i,r(6)("iterator"),function(){return this}),e.exports=function(e,t,r){e.prototype=n(i,{next:o(1,r)}),a(e,t+" Iterator")}},function(e,t,r){var n=r(20),o=r(12),a=r(38);e.exports=r(15)?Object.defineProperties:function(e,t){o(e);for(var r,i=a(t),s=i.length,l=0;s>l;)n.f(e,r=i[l++],t[r]);return e}},function(e,t,r){var n=r(24),o=r(105),a=r(164);e.exports=function(e){return function(t,r,i){var s,l=n(t),c=o(l.length),p=a(i,c);if(e&&r!=r){for(;c>p;)if((s=l[p++])!=s)return!0}else for(;c>p;p++)if((e||p in l)&&l[p]===r)return e||p||0;return!e&&-1}}},function(e,t,r){var n=r(59),o=Math.max,a=Math.min;e.exports=function(e,t){return(e=n(e))<0?o(e+t,0):a(e,t)}},function(e,t,r){var n=r(21),o=r(67),a=r(64)("IE_PROTO"),i=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=o(e),n(e,a)?e[a]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?i:null}},function(e,t,r){"use strict";var n=r(167),o=r(168),a=r(33),i=r(24);e.exports=r(100)(Array,"Array",function(e,t){this._t=i(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,r=this._i++;return!e||r>=e.length?(this._t=void 0,o(1)):o(0,"keys"==t?r:"values"==t?e[r]:[r,e[r]])},"values"),a.Arguments=a.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var n,o,a,i,s=r(30),l=r(5),c=r(31),p=r(108),h=r(13),u=r(14),d=r(36),f=r(170),m=r(171),_=r(109),y=r(110).set,b=r(176)(),g=r(68),v=r(111),w=r(177),x=r(112),E=l.TypeError,S=l.process,k=S&&S.versions,P=k&&k.v8||"",C=l.Promise,T="process"==p(S),A=function(){},M=o=g.f,D=!!function(){try{var e=C.resolve(1),t=(e.constructor={})[r(6)("species")]=function(e){e(A,A)};return(T||"function"==typeof PromiseRejectionEvent)&&e.then(A)instanceof t&&0!==P.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(e){}}(),O=function(e){var t;return!(!u(e)||"function"!=typeof(t=e.then))&&t},F=function(e,t){if(!e._n){e._n=!0;var r=e._c;b(function(){for(var n=e._v,o=1==e._s,a=0,i=function(t){var r,a,i,s=o?t.ok:t.fail,l=t.resolve,c=t.reject,p=t.domain;try{s?(o||(2==e._h&&z(e),e._h=1),!0===s?r=n:(p&&p.enter(),r=s(n),p&&(p.exit(),i=!0)),r===t.promise?c(E("Promise-chain cycle")):(a=O(r))?a.call(r,l,c):l(r)):c(n)}catch(e){p&&!i&&p.exit(),c(e)}};r.length>a;)i(r[a++]);e._c=[],e._n=!1,t&&!e._h&&I(e)})}},I=function(e){y.call(l,function(){var t,r,n,o=e._v,a=j(e);if(a&&(t=v(function(){T?S.emit("unhandledRejection",o,e):(r=l.onunhandledrejection)?r({promise:e,reason:o}):(n=l.console)&&n.error&&n.error("Unhandled promise rejection",o)}),e._h=T||j(e)?2:1),e._a=void 0,a&&t.e)throw t.v})},j=function(e){return 1!==e._h&&0===(e._a||e._c).length},z=function(e){y.call(l,function(){var t;T?S.emit("rejectionHandled",e):(t=l.onrejectionhandled)&&t({promise:e,reason:e._v})})},R=function(e){var t=this;t._d||(t._d=!0,(t=t._w||t)._v=e,t._s=2,t._a||(t._a=t._c.slice()),F(t,!0))},B=function e(t){var r,n=this;if(!n._d){n._d=!0,n=n._w||n;try{if(n===t)throw E("Promise can't be resolved itself");(r=O(t))?b(function(){var o={_w:n,_d:!1};try{r.call(t,c(e,o,1),c(R,o,1))}catch(e){R.call(o,e)}}):(n._v=t,n._s=1,F(n,!1))}catch(e){R.call({_w:n,_d:!1},e)}}};D||(C=function(e){f(this,C,"Promise","_h"),d(e),n.call(this);try{e(c(B,this,1),c(R,this,1))}catch(e){R.call(this,e)}},(n=function(e){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(178)(C.prototype,{then:function(e,t){var r=M(_(this,C));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=T?S.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&F(this,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),a=function(){var e=new n;this.promise=e,this.resolve=c(B,e,1),this.reject=c(R,e,1)},g.f=M=function(e){return e===C||e===i?new a(e):o(e)}),h(h.G+h.W+h.F*!D,{Promise:C}),r(40)(C,"Promise"),r(179)("Promise"),i=r(7).Promise,h(h.S+h.F*!D,"Promise",{reject:function(e){var t=M(this);return(0,t.reject)(e),t.promise}}),h(h.S+h.F*(s||!D),"Promise",{resolve:function(e){return x(s&&this===i?C:this,e)}}),h(h.S+h.F*!(D&&r(180)(function(e){C.all(e).catch(A)})),"Promise",{all:function(e){var t=this,r=M(t),n=r.resolve,o=r.reject,a=v(function(){var r=[],a=0,i=1;m(e,!1,function(e){var s=a++,l=!1;r.push(void 0),i++,t.resolve(e).then(function(e){l||(l=!0,r[s]=e,--i||n(r))},o)}),--i||n(r)});return a.e&&o(a.v),r.promise},race:function(e){var t=this,r=M(t),n=r.reject,o=v(function(){m(e,!1,function(e){t.resolve(e).then(r.resolve,n)})});return o.e&&n(o.v),r.promise}})},function(e,t){e.exports=function(e,t,r,n){if(!(e instanceof t)||void 0!==n&&n in e)throw TypeError(r+": incorrect invocation!");return e}},function(e,t,r){var n=r(31),o=r(172),a=r(173),i=r(12),s=r(105),l=r(174),c={},p={};(t=e.exports=function(e,t,r,h,u){var d,f,m,_,y=u?function(){return e}:l(e),b=n(r,h,t?2:1),g=0;if("function"!=typeof y)throw TypeError(e+" is not iterable!");if(a(y)){for(d=s(e.length);d>g;g++)if((_=t?b(i(f=e[g])[0],f[1]):b(e[g]))===c||_===p)return _}else for(m=y.call(e);!(f=m.next()).done;)if((_=o(m,b,f.value,t))===c||_===p)return _}).BREAK=c,t.RETURN=p},function(e,t,r){var n=r(12);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(t){var a=e.return;throw void 0!==a&&n(a.call(e)),t}}},function(e,t,r){var n=r(33),o=r(6)("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(n.Array===e||a[o]===e)}},function(e,t,r){var n=r(108),o=r(6)("iterator"),a=r(33);e.exports=r(7).getIteratorMethod=function(e){if(void 0!=e)return e[o]||e["@@iterator"]||a[n(e)]}},function(e,t){e.exports=function(e,t,r){var n=void 0===r;switch(t.length){case 0:return n?e():e.call(r);case 1:return n?e(t[0]):e.call(r,t[0]);case 2:return n?e(t[0],t[1]):e.call(r,t[0],t[1]);case 3:return n?e(t[0],t[1],t[2]):e.call(r,t[0],t[1],t[2]);case 4:return n?e(t[0],t[1],t[2],t[3]):e.call(r,t[0],t[1],t[2],t[3])}return e.apply(r,t)}},function(e,t,r){var n=r(5),o=r(110).set,a=n.MutationObserver||n.WebKitMutationObserver,i=n.process,s=n.Promise,l="process"==r(34)(i);e.exports=function(){var e,t,r,c=function(){var n,o;for(l&&(n=i.domain)&&n.exit();e;){o=e.fn,e=e.next;try{o()}catch(n){throw e?r():t=void 0,n}}t=void 0,n&&n.enter()};if(l)r=function(){i.nextTick(c)};else if(!a||n.navigator&&n.navigator.standalone)if(s&&s.resolve){var p=s.resolve(void 0);r=function(){p.then(c)}}else r=function(){o.call(n,c)};else{var h=!0,u=document.createTextNode("");new a(c).observe(u,{characterData:!0}),r=function(){u.data=h=!h}}return function(n){var o={fn:n,next:void 0};t&&(t.next=o),e||(e=o,r()),t=o}}},function(e,t,r){var n=r(5).navigator;e.exports=n&&n.userAgent||""},function(e,t,r){var n=r(19);e.exports=function(e,t,r){for(var o in t)r&&e[o]?e[o]=t[o]:n(e,o,t[o]);return e}},function(e,t,r){"use strict";var n=r(5),o=r(7),a=r(20),i=r(15),s=r(6)("species");e.exports=function(e){var t="function"==typeof o[e]?o[e]:n[e];i&&t&&!t[s]&&a.f(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,r){var n=r(6)("iterator"),o=!1;try{var a=[7][n]();a.return=function(){o=!0},Array.from(a,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var a=[7],i=a[n]();i.next=function(){return{done:r=!0}},a[n]=function(){return i},e(a)}catch(e){}return r}},function(e,t,r){"use strict";var n=r(13),o=r(7),a=r(5),i=r(109),s=r(112);n(n.P+n.R,"Promise",{finally:function(e){var t=i(this,o.Promise||a.Promise),r="function"==typeof e;return this.then(r?function(r){return s(t,e()).then(function(){return r})}:e,r?function(r){return s(t,e()).then(function(){throw r})}:e)}})},function(e,t,r){"use strict";var n=r(13),o=r(68),a=r(111);n(n.S,"Promise",{try:function(e){var t=o.f(this),r=a(e);return(r.e?t.reject:t.resolve)(r.v),t.promise}})},function(e,t,r){e.exports={default:r(184),__esModule:!0}},function(e,t,r){r(99),r(107),e.exports=r(69).f("iterator")},function(e,t,r){e.exports={default:r(186),__esModule:!0}},function(e,t,r){r(187),r(98),r(192),r(193),e.exports=r(7).Symbol},function(e,t,r){"use strict";function n(e){return(n="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})(e)}var o=r(5),a=r(21),i=r(15),s=r(13),l=r(102),c=r(188).KEY,p=r(32),h=r(65),u=r(40),d=r(39),f=r(6),m=r(69),_=r(70),y=r(189),b=r(190),g=r(12),v=r(14),w=r(67),x=r(24),E=r(62),S=r(37),k=r(63),P=r(191),C=r(115),T=r(71),A=r(20),M=r(38),D=C.f,O=A.f,F=P.f,I=o.Symbol,j=o.JSON,z=j&&j.stringify,R=f("_hidden"),B=f("toPrimitive"),L={}.propertyIsEnumerable,N=h("symbol-registry"),V=h("symbols"),q=h("op-symbols"),G=Object.prototype,H="function"==typeof I&&!!T.f,W=o.QObject,U=!W||!W.prototype||!W.prototype.findChild,Y=i&&p(function(){return 7!=k(O({},"a",{get:function(){return O(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=D(G,t);n&&delete G[t],O(e,t,r),n&&e!==G&&O(G,t,n)}:O,X=function(e){var t=V[e]=k(I.prototype);return t._k=e,t},$=H&&"symbol"==n(I.iterator)?function(e){return"symbol"==n(e)}:function(e){return e instanceof I},K=function(e,t,r){return e===G&&K(q,t,r),g(e),t=E(t,!0),g(r),a(V,t)?(r.enumerable?(a(e,R)&&e[R][t]&&(e[R][t]=!1),r=k(r,{enumerable:S(0,!1)})):(a(e,R)||O(e,R,S(1,{})),e[R][t]=!0),Y(e,t,r)):O(e,t,r)},J=function(e,t){g(e);for(var r,n=y(t=x(t)),o=0,a=n.length;a>o;)K(e,r=n[o++],t[r]);return e},Z=function(e){var t=L.call(this,e=E(e,!0));return!(this===G&&a(V,e)&&!a(q,e))&&(!(t||!a(this,e)||!a(V,e)||a(this,R)&&this[R][e])||t)},Q=function(e,t){if(e=x(e),t=E(t,!0),e!==G||!a(V,t)||a(q,t)){var r=D(e,t);return!r||!a(V,t)||a(e,R)&&e[R][t]||(r.enumerable=!0),r}},ee=function(e){for(var t,r=F(x(e)),n=[],o=0;r.length>o;)a(V,t=r[o++])||t==R||t==c||n.push(t);return n},te=function(e){for(var t,r=e===G,n=F(r?q:x(e)),o=[],i=0;n.length>i;)!a(V,t=n[i++])||r&&!a(G,t)||o.push(V[t]);return o};H||(l((I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0);return i&&U&&Y(G,e,{configurable:!0,set:function t(r){this===G&&t.call(q,r),a(this,R)&&a(this[R],e)&&(this[R][e]=!1),Y(this,e,S(1,r))}}),X(e)}).prototype,"toString",function(){return this._k}),C.f=Q,A.f=K,r(114).f=P.f=ee,r(41).f=Z,T.f=te,i&&!r(30)&&l(G,"propertyIsEnumerable",Z,!0),m.f=function(e){return X(f(e))}),s(s.G+s.W+s.F*!H,{Symbol:I});for(var re="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ne=0;re.length>ne;)f(re[ne++]);for(var oe=M(f.store),ae=0;oe.length>ae;)_(oe[ae++]);s(s.S+s.F*!H,"Symbol",{for:function(e){return a(N,e+="")?N[e]:N[e]=I(e)},keyFor:function(e){if(!$(e))throw TypeError(e+" is not a symbol!");for(var t in N)if(N[t]===e)return t},useSetter:function(){U=!0},useSimple:function(){U=!1}}),s(s.S+s.F*!H,"Object",{create:function(e,t){return void 0===t?k(e):J(k(e),t)},defineProperty:K,defineProperties:J,getOwnPropertyDescriptor:Q,getOwnPropertyNames:ee,getOwnPropertySymbols:te});var ie=p(function(){T.f(1)});s(s.S+s.F*ie,"Object",{getOwnPropertySymbols:function(e){return T.f(w(e))}}),j&&s(s.S+s.F*(!H||p(function(){var e=I();return"[null]"!=z([e])||"{}"!=z({a:e})||"{}"!=z(Object(e))})),"JSON",{stringify:function(e){for(var t,r,n=[e],o=1;arguments.length>o;)n.push(arguments[o++]);if(r=t=n[1],(v(t)||void 0!==e)&&!$(e))return b(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!$(t))return t}),n[1]=t,z.apply(j,n)}}),I.prototype[B]||r(19)(I.prototype,B,I.prototype.valueOf),u(I,"Symbol"),u(Math,"Math",!0),u(o.JSON,"JSON",!0)},function(e,t,r){function n(e){return(n="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})(e)}var o=r(39)("meta"),a=r(14),i=r(21),s=r(20).f,l=0,c=Object.isExtensible||function(){return!0},p=!r(32)(function(){return c(Object.preventExtensions({}))}),h=function(e){s(e,o,{value:{i:"O"+ ++l,w:{}}})},u=e.exports={KEY:o,NEED:!1,fastKey:function(e,t){if(!a(e))return"symbol"==n(e)?e:("string"==typeof e?"S":"P")+e;if(!i(e,o)){if(!c(e))return"F";if(!t)return"E";h(e)}return e[o].i},getWeak:function(e,t){if(!i(e,o)){if(!c(e))return!0;if(!t)return!1;h(e)}return e[o].w},onFreeze:function(e){return p&&u.NEED&&c(e)&&!i(e,o)&&h(e),e}}},function(e,t,r){var n=r(38),o=r(71),a=r(41);e.exports=function(e){var t=n(e),r=o.f;if(r)for(var i,s=r(e),l=a.f,c=0;s.length>c;)l.call(e,i=s[c++])&&t.push(i);return t}},function(e,t,r){var n=r(34);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,r){function n(e){return(n="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})(e)}var o=r(24),a=r(114).f,i={}.toString,s="object"==("undefined"===typeof window?"undefined":n(window))&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return s&&"[object Window]"==i.call(e)?function(e){try{return a(e)}catch(e){return s.slice()}}(e):a(o(e))}},function(e,t,r){r(70)("asyncIterator")},function(e,t,r){r(70)("observable")},function(e,t,r){e.exports={default:r(195),__esModule:!0}},function(e,t,r){r(196),e.exports=r(7).Object.setPrototypeOf},function(e,t,r){var n=r(13);n(n.S,"Object",{setPrototypeOf:r(197).set})},function(e,t,r){var n=r(14),o=r(12),a=function(e,t){if(o(e),!n(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,n){try{(n=r(31)(Function.call,r(115).f(Object.prototype,"__proto__").set,2))(e,[]),t=!(e instanceof Array)}catch(e){t=!0}return function(e,r){return a(e,r),t?e.__proto__=r:n(e,r),e}}({},!1):void 0),check:a}},function(e,t,r){e.exports={default:r(199),__esModule:!0}},function(e,t,r){r(200);var n=r(7).Object;e.exports=function(e,t){return n.create(e,t)}},function(e,t,r){var n=r(13);n(n.S,"Object",{create:r(63)})},function(e,t,r){"use strict";t.__esModule=!0,t.default=t.Method=void 0;var n=l(r(9)),o=l(r(10)),a=l(r(4)),i=l(r(1)),s=l(r(72));function l(e){return e&&e.__esModule?e:{default:e}}var c=t.Method={GET:"get",POST:"post",DELETE:"delete"},p=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if((0,i.default)(this,e),this.options=(0,a.default)({domain:"connect.facebook.net",version:"v3.1",cookie:!1,status:!1,xfbml:!1,language:"en_US",frictionlessRequests:!1},t),!this.options.appId)throw new Error("You need to set appId");this.options.wait||this.init()}return e.prototype.getAppId=function(){return this.options.appId},e.prototype.init=function(){var e=(0,o.default)(n.default.mark(function e(){var t=this;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!this.loadingPromise){e.next=2;break}return e.abrupt("return",this.loadingPromise);case 2:return this.loadingPromise=new Promise(function(e){var r=t.options;window.fbAsyncInit=function(){window.FB.init({appId:r.appId,version:r.version,cookie:r.cookie,status:r.status,xfbml:r.xfbml,frictionlessRequests:t.frictionlessRequests}),e(window.FB)};var n=window.document.getElementsByTagName("script")[0];if(n&&!window.document.getElementById("facebook-jssdk")){var o=window.document.createElement("script");o.id="facebook-jssdk",o.async=!0,o.src="https://"+r.domain+"/"+r.language+"/sdk.js",n.parentNode.insertBefore(o,n)}}),e.abrupt("return",this.loadingPromise);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.process=function(){var e=(0,o.default)(n.default.mark(function e(t){var r,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:return r=e.sent,e.abrupt("return",new Promise(function(e,n){r[t].apply(r,o.concat([function(t){if(t)if(t.error){var r=t.error,o=r.code,a=r.type,i=r.message,s=new Error(i);s.code=o,s.type=a,n(s)}else e(t);else n(new Error("Response is undefined"))}],a))}));case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.ui=function(){var e=(0,o.default)(n.default.mark(function e(t){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("ui",[t]));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.api=function(){var e=(0,o.default)(n.default.mark(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.GET,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("api",[t,r,o]));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.login=function(){var e=(0,o.default)(n.default.mark(function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("login",[],[t]));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.logout=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("logout"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getLoginStatus=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("getLoginStatus"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getAuthResponse=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.process("getAuthResponse"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getTokenDetail=function(){var e=(0,o.default)(n.default.mark(function e(){var t;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getLoginStatus();case 2:if((t=e.sent).status!==s.default.CONNECTED||!t.authResponse){e.next=5;break}return e.abrupt("return",t.authResponse);case 5:throw new Error("Token is undefined");case 6:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getProfile=function(){var e=(0,o.default)(n.default.mark(function e(t){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.api("/me",c.GET,t));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.getTokenDetailWithProfile=function(){var e=(0,o.default)(n.default.mark(function e(t){var r,o;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getTokenDetail();case 2:return r=e.sent,e.next=5,this.getProfile(t);case 5:return o=e.sent,e.abrupt("return",{profile:o,tokenDetail:r});case 7:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.getToken=function(){var e=(0,o.default)(n.default.mark(function e(){var t;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getTokenDetail();case 2:return t=e.sent,e.abrupt("return",t.accessToken);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.getUserId=function(){var e=(0,o.default)(n.default.mark(function e(){var t;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getTokenDetail();case 2:return t=e.sent,e.abrupt("return",t.userID);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.sendInvite=function(){var e=(0,o.default)(n.default.mark(function e(t,r){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.ui((0,a.default)({to:t,method:"apprequests"},r)));case 1:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),e.prototype.postAction=function(){var e=(0,o.default)(n.default.mark(function e(t,r,o,a,i){var s;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return s="/me/"+t+":"+r+"?"+o+"="+encodeURIComponent(a),!0===i&&(s+="&no_feed_story=true"),e.abrupt("return",this.api(s,c.POST));case 3:case"end":return e.stop()}},e,this)}));return function(t,r,n,o,a){return e.apply(this,arguments)}}(),e.prototype.getPermissions=function(){var e=(0,o.default)(n.default.mark(function e(){var t;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.api("/me/permissions");case 2:return t=e.sent,e.abrupt("return",t.data);case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.hasPermissions=function(){var e=(0,o.default)(n.default.mark(function e(t){var r,o;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.getPermissions();case 2:return r=e.sent,o=t.filter(function(e){return!!r.find(function(t){var r=t.permission;return"granted"===t.status&&r===e})}),e.abrupt("return",o.length===t.length);case 5:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.subscribe=function(){var e=(0,o.default)(n.default.mark(function e(t,r){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:e.sent.Event.subscribe(t,r);case 4:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),e.prototype.unsubscribe=function(){var e=(0,o.default)(n.default.mark(function e(t,r){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:e.sent.Event.unsubscribe(t,r);case 4:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),e.prototype.parse=function(){var e=(0,o.default)(n.default.mark(function e(t){var r;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:r=e.sent,"undefined"===typeof t?r.XFBML.parse():r.XFBML.parse(t);case 4:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.getRequests=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.api("/me/apprequests"));case 1:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.removeRequest=function(){var e=(0,o.default)(n.default.mark(function e(t){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.api(t,c.DELETE));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.setAutoGrow=function(){var e=(0,o.default)(n.default.mark(function e(){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.init();case 2:e.sent.Canvas.setAutoGrow();case 4:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}(),e.prototype.paySimple=function(){var e=(0,o.default)(n.default.mark(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.ui({method:"pay",action:"purchaseitem",product:t,quantity:r}));case 1:case"end":return e.stop()}},e,this)}));return function(t){return e.apply(this,arguments)}}(),e.prototype.pay=function(){var e=(0,o.default)(n.default.mark(function e(t,r){return n.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",this.ui((0,a.default)({method:"pay",action:"purchaseitem",product:t},r)));case 1:case"end":return e.stop()}},e,this)}));return function(t,r){return e.apply(this,arguments)}}(),e}();t.default=p},function(e,t,r){e.exports={default:r(203),__esModule:!0}},function(e,t,r){r(204),e.exports=r(7).Object.assign},function(e,t,r){var n=r(13);n(n.S+n.F,"Object",{assign:r(205)})},function(e,t,r){"use strict";var n=r(15),o=r(38),a=r(71),i=r(41),s=r(67),l=r(104),c=Object.assign;e.exports=!c||r(32)(function(){var e={},t={},r=Symbol(),n="abcdefghijklmnopqrst";return e[r]=7,n.split("").forEach(function(e){t[e]=e}),7!=c({},e)[r]||Object.keys(c({},t)).join("")!=n})?function(e,t){for(var r=s(e),c=arguments.length,p=1,h=a.f,u=i.f;c>p;)for(var d,f=l(arguments[p++]),m=h?o(f).concat(h(f)):o(f),_=m.length,y=0;_>y;)d=m[y++],n&&!u.call(f,d)||(r[d]=f[d]);return r}:c},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.href,r=void 0===t?(0,u.default)():t,n=e.layout,o=e.colorScheme,a=e.action,i=e.showFaces,s=e.share,l=e.children,c=e.width,h=e.size,d=e.kidDirectedSite,f=e.referral;return p.default.createElement("div",{className:"fb-like","data-ref":f,"data-href":r,"data-layout":n,"data-colorscheme":o,"data-action":a,"data-show-faces":i,"data-share":s,"data-width":c,"data-size":h,"data-kid-directed-site":d},l)},t}(c.PureComponent),n.defaultProps={layout:void 0,showFaces:void 0,colorScheme:void 0,action:void 0,share:void 0,size:void 0,kidDirectedSite:void 0,children:void 0,href:void 0,referral:void 0,width:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=_(r(4)),i=_(r(9)),s=_(r(10)),l=_(r(1)),c=_(r(2)),p=_(r(3)),h=r(0),u=_(h),d=_(r(16)),f=_(r(73)),m=_(r(42));function _(e){return e&&e.__esModule?e:{default:e}}var y=(o=n=function(e){function t(){var r,n,o,a,p=this;(0,l.default)(this,t);for(var h=arguments.length,u=Array(h),m=0;m<h;m++)u[m]=arguments[m];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(u))),n.handleClick=(a=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=n.props.handleProcess,e.abrupt("return",r(function(){var e=(0,s.default)(i.default.mark(function e(t){var r,o,a,s,l,c,h,u;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,o=r.link,a=void 0===o?(0,d.default)():o,s=r.display,l=r.appId,c=void 0===l?t.getAppId():l,h=r.to,u=r.redirectURI,e.abrupt("return",t.ui((0,f.default)({method:"send",link:a,display:s,app_id:c,to:h,redirect_uri:u})));case 2:case"end":return e.stop()}},e,p)}));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return e.stop()}},e,p)})),function(e){return a.apply(this,arguments)}),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props;return(0,e.children)({loading:e.loading,handleClick:this.handleClick})},t}(h.Component),n.defaultProps={to:void 0,display:void 0,appId:void 0,redirectURI:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(m.default,null,function(r){var n=r.loading,o=r.handleProcess;return u.default.createElement(y,(0,a.default)({},e,{loading:n,handleProcess:o,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n=s(r(4)),o=s(r(118));t.default=l;var a=s(r(0)),i=s(r(117));function s(e){return e&&e.__esModule?e:{default:e}}function l(e){var t=e.className,r=e.children,n=(0,o.default)(e,["className","children"]);return a.default.createElement(i.default,n,function(e){var n=e.loading,o=e.handleClick;return a.default.createElement("button",{type:"button",disabled:n,className:t,onClick:o},r)})}l.defaultProps=(0,n.default)({},i.default.defaultProps,{className:void 0})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.style,r=e.href,n=void 0===r?(0,u.default)():r,o=e.tabs,a=e.hideCover,i=e.width,s=e.height,l=e.showFacepile,c=e.hideCTA,h=e.smallHeader,d=e.adaptContainerWidth,f=e.children;return p.default.createElement("div",{className:"fb-page",style:t,"data-tabs":o,"data-hide-cover":a,"data-show-facepile":l,"data-hide-cta":c,"data-href":n,"data-small-header":h,"data-adapt-container-width":d,"data-height":s,"data-width":i},f)},t}(c.PureComponent),n.defaultProps={width:void 0,height:void 0,tabs:void 0,hideCover:void 0,showFacepile:void 0,hideCTA:void 0,smallHeader:void 0,adaptContainerWidth:void 0,children:void 0,style:void 0,href:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n=l(r(4)),o=l(r(118));t.default=c;var a=l(r(0)),i=l(r(211)),s=l(r(119));function l(e){return e&&e.__esModule?e:{default:e}}function c(e){var t=e.children,r=e.className,n=e.spinner,l=e.spinnerConfig,c=(0,o.default)(e,["children","className","spinner","spinnerConfig"]);return a.default.createElement(s.default,c,function(e){var o=e.loading,s=e.handleClick;return a.default.createElement("button",{type:"button",className:r,onClick:s,disabled:o},t,n&&o&&a.default.createElement(i.default,{config:l}))})}c.defaultProps=(0,n.default)({},s.default.defaultProps,{className:void 0,spinnerConfig:{},spinner:!0})},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=r(0),i=c(a),s=c(r(17)),l=c(r(214));function c(e){return e&&e.__esModule?e:{default:e}}var p=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.Component),o(t,[{key:"componentDidMount",value:function(){this.updateSpinner()}},{key:"componentDidUpdate",value:function(){this.updateSpinner()}},{key:"componentWillUnmount",value:function(){this.spinner&&(this.spinner.stop(),this.spinner=null)}},{key:"updateSpinner",value:function(){var e=this.props.loaded;e||this.spinner?e&&this.spinner&&(this.spinner.stop(),this.spinner=null):(this.spinner=new l.default(this.props.config),this.spinner.spin(this.refs.loader))}},{key:"render",value:function(){var e=this.props,t=e.loaded,r=e.className;return t?this.props.children?a.Children.only(this.props.children):null:i.default.createElement("div",{className:r,ref:"loader"})}}]),t}();p.propTypes={className:s.default.string,config:s.default.object.isRequired,loaded:s.default.bool.isRequired,children:s.default.node},p.defaultProps={config:{},loaded:!1,className:"loader"},t.default=p},function(e,t,r){"use strict";var n=r(213);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,r){(function(e){var n,o,a;function i(e){return(i="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})(e)}a=function(){"use strict";var e,t,r=["webkit","Moz","ms","O"],n={};function o(e,t){var r,n=document.createElement(e||"div");for(r in t)n[r]=t[r];return n}function a(e){for(var t=1,r=arguments.length;t<r;t++)e.appendChild(arguments[t]);return e}function i(r,o,a,i){var s=["opacity",o,~~(100*r),a,i].join("-"),l=.01+a/i*100,c=Math.max(1-(1-r)/o*(100-l),r),p=e.substring(0,e.indexOf("Animation")).toLowerCase(),h=p&&"-"+p+"-"||"";return n[s]||(t.insertRule("@"+h+"keyframes "+s+"{0%{opacity:"+c+"}"+l+"%{opacity:"+r+"}"+(l+.01)+"%{opacity:1}"+(l+o)%100+"%{opacity:"+r+"}100%{opacity:"+c+"}}",t.cssRules.length),n[s]=1),s}function s(e,t){var n,o,a=e.style;if(void 0!==a[t=t.charAt(0).toUpperCase()+t.slice(1)])return t;for(o=0;o<r.length;o++)if(void 0!==a[n=r[o]+t])return n}function l(e,t){for(var r in t)e.style[s(e,r)||r]=t[r];return e}function c(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)void 0===e[n]&&(e[n]=r[n])}return e}function p(e,t){return"string"==typeof e?e:e[t%e.length]}var h,u={lines:12,length:7,width:5,radius:10,scale:1,corners:1,color:"#000",opacity:.25,rotate:0,direction:1,speed:1,trail:100,fps:20,zIndex:2e9,className:"spinner",top:"50%",left:"50%",shadow:!1,hwaccel:!1,position:"absolute"};function d(e){this.opts=c(e||{},d.defaults,u)}if(d.defaults={},c(d.prototype,{spin:function(t){this.stop();var r=this,n=r.opts,a=r.el=o(null,{className:n.className});if(l(a,{position:n.position,width:0,zIndex:n.zIndex,left:n.left,top:n.top}),t&&t.insertBefore(a,t.firstChild||null),a.setAttribute("role","progressbar"),r.lines(a,r.opts),!e){var i,s=0,c=(n.lines-1)*(1-n.direction)/2,p=n.fps,h=p/n.speed,u=(1-n.opacity)/(h*n.trail/100),d=h/n.lines;!function e(){s++;for(var t=0;t<n.lines;t++)i=Math.max(1-(s+(n.lines-t)*d)%h*u,n.opacity),r.opacity(a,t*n.direction+c,i,n);r.timeout=r.el&&setTimeout(e,~~(1e3/p))}()}return r},stop:function(){var e=this.el;return e&&(clearTimeout(this.timeout),e.parentNode&&e.parentNode.removeChild(e),this.el=void 0),this},lines:function(t,r){var n,s=0,c=(r.lines-1)*(1-r.direction)/2;function h(e,t){return l(o(),{position:"absolute",width:r.scale*(r.length+r.width)+"px",height:r.scale*r.width+"px",background:e,boxShadow:t,transformOrigin:"left",transform:"rotate("+~~(360/r.lines*s+r.rotate)+"deg) translate("+r.scale*r.radius+"px,0)",borderRadius:(r.corners*r.scale*r.width>>1)+"px"})}for(;s<r.lines;s++)n=l(o(),{position:"absolute",top:1+~(r.scale*r.width/2)+"px",transform:r.hwaccel?"translate3d(0,0,0)":"",opacity:r.opacity,animation:e&&i(r.opacity,r.trail,c+s*r.direction,r.lines)+" "+1/r.speed+"s linear infinite"}),r.shadow&&a(n,l(h("#000","0 0 4px #000"),{top:"2px"})),a(t,a(n,h(p(r.color,s),"0 0 1px rgba(0,0,0,.1)")));return t},opacity:function(e,t,r){t<e.childNodes.length&&(e.childNodes[t].style.opacity=r)}}),"undefined"!==typeof document){h=o("style",{type:"text/css"}),a(document.getElementsByTagName("head")[0],h),t=h.sheet||h.styleSheet;var f=l(o("group"),{behavior:"url(#default#VML)"});!s(f,"transform")&&f.adj?function(){function e(e,t){return o("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">',t)}t.addRule(".spin-vml","behavior:url(#default#VML)"),d.prototype.lines=function(t,r){var n=r.scale*(r.length+r.width),o=2*r.scale*n;function i(){return l(e("group",{coordsize:o+" "+o,coordorigin:-n+" "+-n}),{width:o,height:o})}var s,c=-(r.width+r.length)*r.scale*2+"px",h=l(i(),{position:"absolute",top:c,left:c});function u(t,o,s){a(h,a(l(i(),{rotation:360/r.lines*t+"deg",left:~~o}),a(l(e("roundrect",{arcsize:r.corners}),{width:n,height:r.scale*r.width,left:r.scale*r.radius,top:-r.scale*r.width>>1,filter:s}),e("fill",{color:p(r.color,t),opacity:r.opacity}),e("stroke",{opacity:0}))))}if(r.shadow)for(s=1;s<=r.lines;s++)u(s,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(s=1;s<=r.lines;s++)u(s);return a(t,h)},d.prototype.opacity=function(e,t,r,n){var o=e.firstChild;n=n.shadow&&n.lines||0,o&&t+n<o.childNodes.length&&(o=(o=(o=o.childNodes[t+n])&&o.firstChild)&&o.firstChild)&&(o.opacity=r)}}():e=s(f,"animation")}return d},"object"==i(e)&&e.exports?e.exports=a():void 0===(o="function"===typeof(n=a)?n.call(t,r,t,e):n)||(e.exports=o)}).call(t,r(23)(e))},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.href,r=e.width,n=e.showText,o=e.children;return p.default.createElement("div",{className:"fb-post","data-href":t,"data-width":r,"data-show-text":n},o)},t}(c.PureComponent),n.defaultProps={width:void 0,showText:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.href,r=e.width,n=e.showText,o=e.allowFullScreen,a=e.autoPlay,i=e.showCaptions,s=e.children;return p.default.createElement("div",{className:"fb-video","data-href":t,"data-width":r,"data-show-text":n,"data-show-captions":i,"data-autoplay":a,"data-allowfullscreen":o},s)},t}(c.PureComponent),n.defaultProps={width:void 0,showText:void 0,allowFullScreen:void 0,autoPlay:void 0,showCaptions:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.colorScheme,r=e.href,n=void 0===r?(0,u.default)():r,o=e.numPosts,a=e.orderBy,i=e.width,s=e.children,l=e.mobile;return p.default.createElement("div",{className:"fb-comments","data-colorscheme":t,"data-numposts":o,"data-href":n,"data-order-by":a,"data-width":i,"data-skin":t,"data-mobile":l},s)},t}(c.PureComponent),n.defaultProps={href:void 0,numPosts:void 0,orderBy:void 0,width:void 0,colorScheme:void 0,children:void 0,mobile:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.href,r=void 0===t?(0,u.default)():t,n=e.children;return p.default.createElement("span",{className:"fb-comments-count","data-href":r},n)},t}(c.PureComponent),n.defaultProps={href:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=_(r(4)),i=_(r(9)),s=_(r(10)),l=_(r(1)),c=_(r(2)),p=_(r(3)),h=r(0),u=_(h),d=_(r(16)),f=_(r(73)),m=_(r(42));function _(e){return e&&e.__esModule?e:{default:e}}var y=(o=n=function(e){function t(){var r,n,o,a,p=this;(0,l.default)(this,t);for(var h=arguments.length,u=Array(h),m=0;m<h;m++)u[m]=arguments[m];return r=n=(0,c.default)(this,e.call.apply(e,[this].concat(u))),n.handleClick=(a=(0,s.default)(i.default.mark(function e(t){var r;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),r=n.props.handleProcess,e.abrupt("return",r(function(){var e=(0,s.default)(i.default.mark(function e(t){var r,o,a,s,l,c,h,u,m,_,y,b,g,v,w;return i.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.props,o=r.link,a=void 0===o?(0,d.default)():o,s=r.display,l=r.appId,c=void 0===l?t.getAppId():l,h=r.redirectURI,u=r.from,m=r.to,_=r.picture,y=r.source,b=r.name,g=r.caption,v=r.description,w=r.dataRef,e.abrupt("return",t.ui((0,f.default)({method:"feed",link:a,display:s,app_id:c,redirect_uri:h,from:u,to:m,picture:_,source:y,name:b,caption:g,description:v,ref:w})));case 2:case"end":return e.stop()}},e,p)}));return function(t){return e.apply(this,arguments)}}()));case 3:case"end":return e.stop()}},e,p)})),function(e){return a.apply(this,arguments)}),o=r,(0,c.default)(n,o)}return(0,p.default)(t,e),t.prototype.render=function(){var e=this.props,t=e.children,r=e.loading,n=e.error,o=e.data;return t({loading:r,handleClick:this.handleClick,error:n,data:o})},t}(h.Component),n.defaultProps={link:void 0,display:void 0,appId:void 0,redirectURI:void 0,from:void 0,to:void 0,source:void 0,picture:void 0,name:void 0,caption:void 0,description:void 0,dataRef:void 0},o);t.default=(0,h.forwardRef)(function(e,t){return u.default.createElement(m.default,null,function(r){var n=r.loading,o=r.handleProcess,i=r.error,s=r.data;return u.default.createElement(y,(0,a.default)({},e,{loading:n,handleProcess:o,data:s,error:i,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=d(r(4)),i=d(r(1)),s=d(r(2)),l=d(r(3)),c=r(0),p=d(c),h=d(r(8)),u=d(r(16));function d(e){return e&&e.__esModule?e:{default:e}}var f=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.style,r=e.href,n=void 0===r?(0,u.default)():r,o=e.width,a=e.showSocialContext,i=e.showMetaData,s=e.children,l=e.skin;return p.default.createElement("div",{className:"fb-group",style:t,"data-href":n,"data-width":o,"data-show-social-context":a,"data-show-metadata":i,"data-skin":l},s)},t}(c.PureComponent),n.defaultProps={showSocialContext:void 0,showMetaData:void 0,width:void 0,children:void 0,style:void 0,href:void 0,skin:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(f,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=f(r(1)),a=f(r(2)),i=f(r(3)),s=f(r(9)),l=f(r(10)),c=(n=(0,l.default)(s.default.mark(function e(t){var r;return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.getLoginStatus();case 2:return r=e.sent,e.abrupt("return",r.status);case 4:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)}),p=r(0),h=f(p),u=f(r(25)),d=f(r(75));function f(e){return e&&e.__esModule?e:{default:e}}var m=function(e){function t(){var r,n,i,p,h=this;(0,o.default)(this,t);for(var u=arguments.length,d=Array(u),f=0;f<u;f++)d[f]=arguments[f];return r=n=(0,a.default)(this,e.call.apply(e,[this].concat(d))),n.state={loading:!0},n.handleReady=(p=(0,l.default)(s.default.mark(function e(t){return s.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=n,e.next=3,c(t);case 3:e.t1=e.sent,e.t2={status:e.t1,loading:!1},e.t0.setState.call(e.t0,e.t2);case 6:case"end":return e.stop()}},e,h)})),function(e){return p.apply(this,arguments)}),n.handleStatusChange=function(e){n.setState({status:e.status,loading:!1})},i=r,(0,a.default)(n,i)}return(0,i.default)(t,e),t.prototype.render=function(){var e=this.props.children,t=this.state,r=t.status,n=t.loading;return h.default.createElement(u.default,{onReady:this.handleReady},h.default.createElement(d.default,{event:"auth.statusChange",onChange:this.handleStatusChange},e({status:r,loading:n})))},t}(p.Component);t.default=m},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o,a=_(r(9)),i=_(r(10)),s=_(r(1)),l=_(r(2)),c=_(r(3)),p=r(0),h=_(p),u=_(r(25)),d=_(r(75)),f=_(r(74)),m=_(r(72));function _(e){return e&&e.__esModule?e:{default:e}}var y=(o=n=function(e){function t(){var r,n,o,c,p=this;(0,s.default)(this,t);for(var h=arguments.length,u=Array(h),d=0;d<h;d++)u[d]=arguments[d];return r=n=(0,l.default)(this,e.call.apply(e,[this].concat(u))),n.state={loading:!0},n.handleReady=(c=(0,i.default)(a.default.mark(function e(t){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.api=t,n.updateProfile();case 2:case"end":return e.stop()}},e,p)})),function(e){return c.apply(this,arguments)}),n.handleStatusChange=function(){n.updateProfile()},o=r,(0,l.default)(n,o)}return(0,c.default)(t,e),t.prototype.updateProfile=function(){var e=(0,i.default)(a.default.mark(function e(){var t,r,n;return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=this.api,r=this.props.fields,t){e.next=3;break}return e.abrupt("return");case 3:return e.prev=3,e.next=6,t.getLoginStatus();case 6:if(e.sent.status===m.default.CONNECTED){e.next=10;break}return this.setState({profile:void 0,loading:!1,error:void 0}),e.abrupt("return");case 10:return e.next=12,t.getProfile({fields:r});case 12:n=e.sent,this.setState({profile:n,loading:!1,error:void 0}),e.next=19;break;case 16:e.prev=16,e.t0=e.catch(3),this.setState({profile:void 0,loading:!1,error:e.t0});case 19:case"end":return e.stop()}},e,this,[[3,16]])}));return function(){return e.apply(this,arguments)}}(),t.prototype.render=function(){var e=this.props.children,t=this.state,r=t.profile,n=t.loading,o=t.error;return h.default.createElement(u.default,{onReady:this.handleReady},h.default.createElement(d.default,{event:"auth.statusChange",onChange:this.handleStatusChange},e({profile:r,loading:n,error:o})))},t}(p.Component),n.defaultProps={fields:f.default},o);t.default=y},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.minimized,r=e.children,n=e.pageId,o=e.themeColor,a=e.loggedInGreeting,i=e.loggedOutGreeting,s=e.dataRef;return p.default.createElement("div",{className:"fb-customerchat",page_id:n,minimized:t,theme_color:o,logged_in_greeting:a,logged_out_greeting:i,"data-ref":s},r)},t}(c.PureComponent),n.defaultProps={minimized:void 0,children:void 0,themeColor:void 0,loggedInGreeting:void 0,loggedOutGreeting:void 0,dataRef:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.color,r=e.messengerAppId,n=e.pageId,o=e.children,a=e.size;return p.default.createElement("div",{className:"fb-messengermessageus",messenger_app_id:r,page_id:n,color:t,size:a},o)},t}(c.PureComponent),n.defaultProps={color:void 0,size:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.origin,r=e.prechecked,n=e.allowLogin,o=e.userRef,a=e.messengerAppId,i=e.pageId,s=e.children,l=e.size,c=e.centerAlign,h=e.skin;return p.default.createElement("div",{className:"fb-messenger-checkbox",messenger_app_id:a,page_id:i,size:l,origin:t,user_ref:o,prechecked:r,allow_login:n,skin:h,center_align:c},s)},t}(c.PureComponent),n.defaultProps={size:void 0,allowLogin:void 0,prechecked:void 0,userRef:void 0,children:void 0,origin:void 0,skin:void 0,centerAlign:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0;var n,o,a=u(r(4)),i=u(r(1)),s=u(r(2)),l=u(r(3)),c=r(0),p=u(c),h=u(r(8));function u(e){return e&&e.__esModule?e:{default:e}}var d=(o=n=function(e){function t(){return(0,i.default)(this,t),(0,s.default)(this,e.apply(this,arguments))}return(0,l.default)(t,e),t.prototype.componentDidUpdate=function(){(0,this.props.handleParse)()},t.prototype.render=function(){var e=this.props,t=e.color,r=e.messengerAppId,n=e.pageId,o=e.children,a=e.dataRef,i=e.size;return p.default.createElement("div",{className:"fb-send-to-messenger",messenger_app_id:r,page_id:n,"data-color":t,"data-size":i,"data-ref":a},o)},t}(c.PureComponent),n.defaultProps={color:void 0,size:void 0,dataRef:void 0,children:void 0},o);t.default=(0,c.forwardRef)(function(e,t){return p.default.createElement(h.default,null,function(r){var n=r.handleParse;return p.default.createElement(d,(0,a.default)({},e,{handleParse:n,ref:t}))})})},function(e,t,r){"use strict";t.__esModule=!0,t.default={SMALL:"small",LARGE:"large"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={STANDARD:"standard",BUTTON_COUNT:"button_count",BUTTON:"button",BOX_COUNT:"box_count"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={LIGHT:"light",DARK:"dark"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={LIKE:"like",RECOMMEND:"recommend"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={SOCIAL:"social",REVERSE_TIME:"reverse_time",TIME:"time"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={SMALL:"small",MEDIUM:"medium",STANDARD:"standard",LARGE:"large",XLARGE:"xlarge"}},function(e,t,r){"use strict";t.__esModule=!0,t.default={BLUE:"blue",WHITE:"white"}},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(96);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,c=[{key:"css",value:function(e){return[]}}],(i=[{key:"shouldComponentUpdate",value:function(e,t){return e.page_url!==this.props.page_url||e.num_posts!==this.props.num_posts||e.color_scheme!==this.props.color_scheme||e.order_by!==this.props.order_by}},{key:"render",value:function(){var e=this.props,t=""===e.fb_app_id?"252971358753113":"".concat(e.fb_app_id),r=""===e.page_url?"https://www.facebook.com/divisupreme/":"".concat(e.page_url);return o.a.createElement("div",{className:"dsm-facebook-comments"},o.a.createElement(a.FacebookProvider,{appId:t},o.a.createElement(a.Comments,{href:r,numPosts:e.num_posts,colorScheme:e.color_scheme,orderBy:e.order_by,width:"100%"})))}}])&&s(r.prototype,i),c&&s(r,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_facebook_comments"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(18),i=r.n(a),s=r(76);r.n(s);function l(e){return(l="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})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,s=[{key:"css",value:function(e){var t=[];if("on"===e.show_validation&&t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-submit:hover:after",declaration:"margin-left: .3em !important;"}]),e.button_one_icon&&t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-submit:hover:after",declaration:"margin-left: .3em !important;"}]),e.input_background_color&&t.push([{selector:"%%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-text, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-tel, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-url, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-quiz, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-number, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-textarea, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-select, %%order_class%%.dsm_contact_form_7 .wpcf7-form-control.wpcf7-date",declaration:"background-color: ".concat(e.input_background_color,";")}]),"left"!==e.button_alignment&&t.push([{selector:"%%order_class%% .wpcf7-form p:nth-last-of-type(1)",declaration:"text-align: ".concat(e.button_alignment,";")}]),e.label_bottom_spacing&&t.push([{selector:"%%order_class%% label",declaration:"margin-bottom: ".concat(e.label_bottom_spacing,";")}]),e.file_background_color&&t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-file",declaration:"background-color: ".concat(e.file_background_color,";")}]),e.error_msg_background_color&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"background-color: ".concat(e.error_msg_background_color,";")}]),e.validation_error_background_color&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"background-color: ".concat(e.validation_error_background_color,";")}]),e.validation_success_background_color&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"background-color: ".concat(e.validation_success_background_color,";")}]),e.border_radii_error_msg){var r=e.border_radii_error_msg,n="",o="",a="",i="";n=""!==r.split("|")[1]?r.split("|")[1]:"0px",o=""!==r.split("|")[2]?r.split("|")[2]:"0px",a=""!==r.split("|")[3]?r.split("|")[3]:"0px",i=""!==r.split("|")[4]?r.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-radius: ".concat(n," ").concat(o," ").concat(a," ").concat(i,";")}])}if(e.border_width_all_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-width: ".concat(e.border_width_all_error_msg,";")}]),e.border_color_all_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-color: ".concat(e.border_color_all_error_msg,";")}]),e.border_style_all_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-style: ".concat(e.border_style_all_error_msg,";")}]),e.border_width_top_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-top-width: ".concat(e.border_width_top_error_msg,";")}]),e.border_color_top_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-top-color: ".concat(e.border_color_top_error_msg,";")}]),e.border_style_top_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-top-style: ".concat(e.border_style_top_error_msg,";")}]),e.border_width_right_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-right-width: ".concat(e.border_width_right_error_msg,";")}]),e.border_color_right_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-right-color: ".concat(e.border_color_right_error_msg,";")}]),e.border_style_right_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-right-style: ".concat(e.border_style_right_error_msg,";")}]),e.border_width_bottom_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-bottom-width: ".concat(e.border_width_bottom_error_msg,";")}]),e.border_color_bottom_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-bottom-color: ".concat(e.border_color_bottom_error_msg,";")}]),e.border_style_bottom_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-bottom-style: ".concat(e.border_style_bottom_error_msg,";")}]),e.border_width_left_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-left-width: ".concat(e.border_width_left_error_msg,";")}]),e.border_color_left_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-left-color: ".concat(e.border_color_left_error_msg,";")}]),e.border_style_left_error_msg&&t.push([{selector:"%%order_class%% .wpcf7-not-valid-tip",declaration:"border-left-style: ".concat(e.border_style_left_error_msg,";")}]),e.border_radii_error_validation){var s=e.border_radii_error_validation,l="",c="",p="",h="";l=""!==s.split("|")[1]?s.split("|")[1]:"0px",c=""!==s.split("|")[2]?s.split("|")[2]:"0px",p=""!==s.split("|")[3]?s.split("|")[3]:"0px",h=""!==s.split("|")[4]?s.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-radius: ".concat(l," ").concat(c," ").concat(p," ").concat(h,";")}])}if(e.border_width_all_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-width: ".concat(e.border_width_all_error_validation,";")}]),e.border_color_all_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-color: ".concat(e.border_color_all_error_validation,";")}]),e.border_style_all_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-style: ".concat(e.border_style_all_error_validation,";")}]),e.border_width_top_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-top-width: ".concat(e.border_width_top_error_validation,";")}]),e.border_color_top_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-top-color: ".concat(e.border_color_top_error_validation,";")}]),e.border_style_top_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-top-style: ".concat(e.border_style_top_error_validation,";")}]),e.border_width_right_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-right-width: ".concat(e.border_width_right_error_validation,";")}]),e.border_color_right_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-right-color: ".concat(e.border_color_right_error_validation,";")}]),e.border_style_right_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-right-style: ".concat(e.border_style_right_error_validation,";")}]),e.border_width_bottom_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-bottom-width: ".concat(e.border_width_bottom_error_validation,";")}]),e.border_color_bottom_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-bottom-color: ".concat(e.border_color_bottom_error_validation,";")}]),e.border_style_bottom_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-bottom-style: ".concat(e.border_style_bottom_error_validation,";")}]),e.border_width_left_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-left-width: ".concat(e.border_width_left_error_validation,";")}]),e.border_color_left_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-left-color: ".concat(e.border_color_left_error_validation,";")}]),e.border_style_left_error_validation&&t.push([{selector:"%%order_class%% .wpcf7-validation-errors",declaration:"border-left-style: ".concat(e.border_style_left_error_validation,";")}]),e.border_radii_validation_success){var u=e.border_radii_validation_success,d="",f="",m="",_="";d=""!==u.split("|")[1]?u.split("|")[1]:"0px",f=""!==u.split("|")[2]?u.split("|")[2]:"0px",m=""!==u.split("|")[3]?u.split("|")[3]:"0px",_=""!==u.split("|")[4]?u.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-radius: ".concat(d," ").concat(f," ").concat(m," ").concat(_,";")}])}if(e.border_width_all_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-width: ".concat(e.border_width_all_validation_success,";")}]),e.border_color_all_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-color: ".concat(e.border_color_all_validation_success,";")}]),e.border_style_all_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-style: ".concat(e.border_style_all_validation_success,";")}]),e.border_width_top_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-top-width: ".concat(e.border_width_top_validation_success,";")}]),e.border_color_top_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-top-color: ".concat(e.border_color_top_validation_success,";")}]),e.border_style_top_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-top-style: ".concat(e.border_style_top_validation_success,";")}]),e.border_width_right_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-right-width: ".concat(e.border_width_right_validation_success,";")}]),e.border_color_right_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-right-color: ".concat(e.border_color_right_validation_success,";")}]),e.border_style_right_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-right-style: ".concat(e.border_style_right_validation_success,";")}]),e.border_width_bottom_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-bottom-width: ".concat(e.border_width_bottom_validation_success,";")}]),e.border_color_bottom_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-bottom-color: ".concat(e.border_color_bottom_validation_success,";")}]),e.border_style_bottom_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-bottom-style: ".concat(e.border_style_bottom_validation_success,";")}]),e.border_width_left_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-left-width: ".concat(e.border_width_left_validation_success,";")}]),e.border_color_left_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-left-color: ".concat(e.border_color_left_validation_success,";")}]),e.border_style_left_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-left-style: ".concat(e.border_style_left_validation_success,";")}]),e.file_padding){var y=e.file_padding,b="",g="",v="",w="";b=""!==y.split("|")[0]?y.split("|")[0]:"0px",g=""!==y.split("|")[1]?y.split("|")[1]:"0px",v=""!==y.split("|")[2]?y.split("|")[2]:"0px",w=""!==y.split("|")[3]?y.split("|")[3]:"0px",t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-file",declaration:"padding: ".concat(b," ").concat(g," ").concat(v," ").concat(w,";")}])}if(e.file_padding_tablet){var x=e.file_padding_tablet,E="",S="",k="",P="";E=""!==x.split("|")[0]?x.split("|")[0]:"0px",S=""!==x.split("|")[1]?x.split("|")[1]:"0px",k=""!==x.split("|")[2]?x.split("|")[2]:"0px",P=""!==x.split("|")[3]?x.split("|")[3]:"0px",t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-file",declaration:"padding: ".concat(E," ").concat(S," ").concat(k," ").concat(P,";"),device:"tablet"}])}if(e.file_padding_phone){var C=e.file_padding_phone,T="",A="",M="",D="";T=""!==C.split("|")[0]?C.split("|")[0]:"0px",A=""!==C.split("|")[1]?C.split("|")[1]:"0px",M=""!==C.split("|")[2]?C.split("|")[2]:"0px",D=""!==C.split("|")[3]?C.split("|")[3]:"0px",t.push([{selector:"%%order_class%% .wpcf7-form-control.wpcf7-file",declaration:"padding: ".concat(T," ").concat(A," ").concat(M," ").concat(D,";"),device:"phone"}])}return t}}],(a=[{key:"componentDidUpdate",value:function(){var e=this.props,t=this.refs.cf7,r=window.ET_Builder.API.Utils.processFontIcon(e.button_one_icon);i.a.ajax({type:"POST",url:window.ETBuilderBackend.ajaxUrl,data:{action:"dsm_load_cf7_library",et_admin_load_nonce:window.et_fb_options.et_admin_load_nonce,cf7_library:e.cf7_library},success:function(n){"0"!==n?(i()(t).html(n),e.button_one_icon&&(i()(t).find(".wpcf7-submit").addClass("et_pb_custom_button_icon"),i()(t).find(".wpcf7-submit").attr("data-icon",r)),"on"===e.show_validation&&(i()(t).find("input.wpcf7-validates-as-required").after('<span role="alert" class="wpcf7-not-valid-tip">The field is required.</span>'),i()(t).find(".wpcf7-submit").after('<div class="wpcf7-response-output wpcf7-validation-errors" role="alert">One or more fields have an error. Please check and try again.</div><div class="wpcf7-response-output wpcf7-mail-sent-ok" style="display: block;" role="alert">Thank you for your message. It has been sent.</div>'))):i()(t).html("Contact Form 7 plugin not found.")},error:function(e){}})}},{key:"render",value:function(){return o.a.createElement(n.Fragment,null,o.a.createElement("div",{ref:"cf7",className:"dsm-contact-form-7"}))}}])&&c(r.prototype,a),s&&c(r,s),t}();Object.defineProperty(h,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_contact_form_7"}),t.a=h},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(18),i=r.n(a),s=r(77);r.n(s);function l(e){return(l="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})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),p(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,s=[{key:"css",value:function(e){var t=[];"on"===e.show_validation&&t.push([{selector:"%%order_class%% .et_pb_button:hover:after",declaration:"margin-left: .3em !important;"}]);var r=e.input_textarea_select_margin_bottom_last_edited&&e.input_textarea_select_margin_bottom_last_edited.startsWith("on"),n=e.input_textarea_select_margin_bottom,o=r&&e.input_textarea_select_margin_bottom_tablet?e.input_textarea_select_margin_bottom_tablet:n,a=r&&e.input_textarea_select_margin_bottom_phone?e.input_textarea_select_margin_bottom_phone:o;"15px"!==e.input_textarea_select_margin_bottom&&t.push([{selector:"%%order_class%% .form-group",declaration:"margin-bottom: ".concat(n)}]),e.input_textarea_select_margin_bottom_tablet&&t.push([{selector:"%%order_class%% .form-group",declaration:"margin-bottom: ".concat(o),device:"tablet"}]),e.input_textarea_select_margin_bottom_phone&&t.push([{selector:"%%order_class%% .form-group",declaration:"margin-bottom: ".concat(a),device:"phone"}]);var i=e.button_margin_top_last_edited&&e.button_margin_top_last_edited.startsWith("on"),s=e.button_margin_top,l=i&&e.button_margin_top_tablet?e.button_margin_top_tablet:s,c=i&&e.button_margin_top_phone?e.button_margin_top_phone:l;"20px"!==e.button_margin_top&&t.push([{selector:"%%order_class%% .et_pb_button_module_wrapper",declaration:"margin-top: ".concat(s)}]),e.button_margin_top_tablet&&t.push([{selector:"%%order_class%% .et_pb_button_module_wrapper",declaration:"margin-top: ".concat(l),device:"tablet"}]),e.button_margin_top_phone&&t.push([{selector:"%%order_class%% .et_pb_button_module_wrapper",declaration:"margin-top: ".concat(c),device:"phone"}]),e.button_one_icon&&t.push([{selector:"%%order_class%% .et_pb_button:hover:after",declaration:"margin-left: .3em !important;"}]),e.button_advanced_file_icon&&t.push([{selector:"%%order_class%% .dsm-cf-advanced-button:hover:after",declaration:"margin-left: .3em !important;"}]);var p=e.hr_gap_last_edited&&e.hr_gap_last_edited.startsWith("on"),h=e.hr_gap,u=p&&e.hr_gap_tablet?e.hr_gap_tablet:h,d=p&&e.hr_gap_phone?e.hr_gap_phone:u;if("0.5em"!==e.hr_gap&&t.push([{selector:"%%order_class%% .dsm-cf-html hr",declaration:"margin-block-start: ".concat(h,"; margin-block-end: ").concat(h,";")}]),e.hr_gap_tablet&&t.push([{selector:"%%order_class%% .dsm-cf-html hr",declaration:"margin-block-start: ".concat(u,"; margin-block-end: ").concat(u,";"),device:"tablet"}]),e.hr_gap_phone&&t.push([{selector:"%%order_class%% .dsm-cf-html hr",declaration:"margin-block-start: ".concat(d,"; margin-block-end: ").concat(d,";"),device:"phone"}]),"#666666"!==e.hr_color&&t.push([{selector:"%%order_class%% .dsm-cf-html hr",declaration:"border-color: ".concat(e.hr_color,";")}]),"#ee0000"!==e.label_required_asterisk_color&&t.push([{selector:"%%order_class%% label.control-label>span.field_required",declaration:"color: ".concat(e.label_required_asterisk_color," !important;")}]),e.description_background_color&&t.push([{selector:"%%order_class%% .form-group>div span.help-block",declaration:"background-color: ".concat(e.description_background_color,";")}]),e.input_background_color&&t.push([{selector:"%%order_class%% input.text,%%order_class%% input.title,%%order_class%% input[type=email],%%order_class%% input[type=url],%%order_class%% input[type=password],%%order_class%% input[type=tel],%%order_class%% input[type=text],%%order_class%% input[type=number],%%order_class%% input[type=phone],%%order_class%% input[type=date],%%order_class%% select.form-control,%%order_class%% textarea",declaration:"background-color: ".concat(e.input_background_color,";")}]),e.input_textarea_select_text_color&&t.push([{selector:"%%order_class%% .dsm-caldera-forms-select:after",declaration:"border-color: ".concat(e.input_textarea_select_text_color," transparent transparent;")}]),"on"===e.radio_style&&("#2ea3f2"!==e.radio_checked_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_radio .dsm-cf-radio:after",declaration:"background-color: ".concat(e.radio_checked_color,";")}]),"#eeeeee"!==e.radio_checked_background_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_radio .dsm-radio input[type=radio]:checked ~ .dsm-cf-radio",declaration:"background-color: ".concat(e.radio_checked_background_color,";")}]),"#eeeeee"!==e.radio_background_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_radio .dsm-radio .dsm-cf-radio",declaration:"background-color: ".concat(e.radio_background_color,";")}])),"on"===e.checkbox_style&&("#2ea3f2"!==e.checkbox_checked_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_checkbox .dsm-checkbox input[type=checkbox]:checked ~ .dsm-cf-checkbox:after",declaration:"color: ".concat(e.checkbox_checked_color,";")}]),"#eeeeee"!==e.checkbox_checked_background_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_checkbox .dsm-checkbox input[type=checkbox]:checked ~ .dsm-cf-checkbox",declaration:"background-color: ".concat(e.checkbox_checked_background_color,";")}]),"#eeeeee"!==e.checkbox_background_color&&t.push([{selector:"%%order_class%% .dsm_cf_custom_checkbox .dsm-checkbox .dsm-cf-checkbox",declaration:"background-color: ".concat(e.checkbox_background_color,";")}])),"left"!==e.button_alignment&&t.push([{selector:"%%order_class%% .et_pb_button_module_wrapper",declaration:"text-align: ".concat(e.button_alignment,";")}]),"5px"!==e.label_bottom_spacing&&t.push([{selector:"%%order_class%% label.control-label",declaration:"margin-bottom: ".concat(e.label_bottom_spacing,";")}]),e.file_background_color&&t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"background-color: ".concat(e.file_background_color,";")}]),e.error_msg_background_color&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"background-color: ".concat(e.error_msg_background_color,";")}]),e.validation_success_background_color&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"background-color: ".concat(e.validation_success_background_color,";")}]),e.border_radii_error_validation){var f=e.border_radii_error_validation,m="",_="",y="",b="";m=""!==f.split("|")[1]?f.split("|")[1]:"0px",_=""!==f.split("|")[2]?f.split("|")[2]:"0px",y=""!==f.split("|")[3]?f.split("|")[3]:"0px",b=""!==f.split("|")[4]?f.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-radius: ".concat(m," ").concat(_," ").concat(y," ").concat(b,";")}])}if(e.border_width_all_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-width: ".concat(e.border_width_all_error_validation,";")}]),e.border_color_all_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-color: ".concat(e.border_color_all_error_validation,";")}]),e.border_style_all_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-style: ".concat(e.border_style_all_error_validation,";")}]),e.border_width_top_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-top-width: ".concat(e.border_width_top_error_validation,";")}]),e.border_color_top_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-top-color: ".concat(e.border_color_top_error_validation,";")}]),e.border_style_top_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-top-style: ".concat(e.border_style_top_error_validation,";")}]),e.border_width_right_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-right-width: ".concat(e.border_width_right_error_validation,";")}]),e.border_color_right_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-right-color: ".concat(e.border_color_right_error_validation,";")}]),e.border_style_right_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-right-style: ".concat(e.border_style_right_error_validation,";")}]),e.border_width_bottom_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-bottom-width: ".concat(e.border_width_bottom_error_validation,";")}]),e.border_color_bottom_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-bottom-color: ".concat(e.border_color_bottom_error_validation,";")}]),e.border_style_bottom_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-bottom-style: ".concat(e.border_style_bottom_error_validation,";")}]),e.border_width_left_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-left-width: ".concat(e.border_width_left_error_validation,";")}]),e.border_color_left_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-left-color: ".concat(e.border_color_left_error_validation,";")}]),e.border_style_left_error_validation&&t.push([{selector:"%%order_class%% .has-error .help-block.caldera_ajax_error_block",declaration:"border-left-style: ".concat(e.border_style_left_error_validation,";")}]),e.border_radii_validation_success){var g=e.border_radii_validation_success,v="",w="",x="",E="";v=""!==g.split("|")[1]?g.split("|")[1]:"0px",w=""!==g.split("|")[2]?g.split("|")[2]:"0px",x=""!==g.split("|")[3]?g.split("|")[3]:"0px",E=""!==g.split("|")[4]?g.split("|")[4]:"0px",t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-radius: ".concat(v," ").concat(w," ").concat(x," ").concat(E,";")}])}e.border_width_all_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-width: ".concat(e.border_width_all_validation_success,";")}]),e.border_color_all_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-color: ".concat(e.border_color_all_validation_success,";")}]),e.border_style_all_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-style: ".concat(e.border_style_all_validation_success,";")}]),e.border_width_top_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-top-width: ".concat(e.border_width_top_validation_success,";")}]),e.border_color_top_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-top-color: ".concat(e.border_color_top_validation_success,";")}]),e.border_style_top_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-top-style: ".concat(e.border_style_top_validation_success,";")}]),e.border_width_right_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-right-width: ".concat(e.border_width_right_validation_success,";")}]),e.border_color_right_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-right-color: ".concat(e.border_color_right_validation_success,";")}]),e.border_style_right_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-right-style: ".concat(e.border_style_right_validation_success,";")}]),e.border_width_bottom_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-bottom-width: ".concat(e.border_width_bottom_validation_success,";")}]),e.border_color_bottom_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-bottom-color: ".concat(e.border_color_bottom_validation_success,";")}]),e.border_style_bottom_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-bottom-style: ".concat(e.border_style_bottom_validation_success,";")}]),e.border_width_left_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-left-width: ".concat(e.border_width_left_validation_success,";")}]),e.border_color_left_validation_success&&t.push([{selector:"%%order_class%% .wpcf7-mail-sent-ok",declaration:"border-left-color: ".concat(e.border_color_left_validation_success,";")}]),e.border_style_left_validation_success&&t.push([{selector:"%%order_class%% .alert.alert-success",declaration:"border-left-style: ".concat(e.border_style_left_validation_success,";")}]);var S=void 0!==e.file_padding__hover_enabled?e.file_padding__hover_enabled.split("|"):"",k=e.file_padding_last_edited,P=k&&k.startsWith("on");if(e.file_padding){var C=e.file_padding.split("|");t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"padding-top: ".concat(C[0],"; padding-right: ").concat(C[1],"; padding-bottom: ").concat(C[2],"; padding-left: ").concat(C[3],";")}])}if("on"===S[0]&&"hover"===S[1]&&1===e.hover_enabled){var T=void 0!==e.file_padding__hover?e.file_padding__hover.split("|"):"";t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"padding-top: ".concat(T[0],"; padding-right: ").concat(T[1],"; padding-bottom: ").concat(T[2],"; padding-left: ").concat(T[3],";")}])}if(e.file_padding_tablet&&P&&e.file_padding_tablet&&""!==e.file_padding_tablet){var A=e.file_padding_tablet.split("|");t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"padding-top: ".concat(A[0],"; padding-right: ").concat(A[1],"; padding-bottom: ").concat(A[2],"; padding-left: ").concat(A[3],";"),device:"tablet"}])}if(e.file_padding_phone&&P&&e.file_padding_phone&&""!==e.file_padding_phone){var M=e.file_padding_phone.split("|");t.push([{selector:"%%order_class%% .file-prevent-overflow",declaration:"padding-top: ".concat(M[0],"; padding-right: ").concat(M[1],"; padding-bottom: ").concat(M[2],"; padding-left: ").concat(M[3],";"),device:"phone"}])}return t}}],(a=[{key:"componentDidUpdate",value:function(){var e=this.props,t=this.refs.cf,r=window.ET_Builder.API.Utils,n=r.processFontIcon(e.button_one_icon),o=r.processFontIcon(e.button_advanced_file_icon);i.a.ajax({type:"POST",url:window.ETBuilderBackend.ajaxUrl,data:{action:"dsm_load_caldera_forms",et_admin_load_nonce:window.et_fb_options.et_admin_load_nonce,cf_library:e.cf_library},success:function(r){"0"!==r?(i()(t).html(r),e.button_one_icon&&(i()(t).find(".dsm-cf-submit-button").addClass("et_pb_custom_button_icon"),i()(t).find(".dsm-cf-submit-button").attr("data-icon",n)),e.button_advanced_file_icon&&(i()(t).find(".dsm-cf-advanced-button").addClass("et_pb_custom_button_icon"),i()(t).find(".dsm-cf-advanced-button").attr("data-icon",o)),"on"===e.show_validation&&(i()(t).find("input[aria-required]").closest(".form-group").addClass("has-error"),i()(t).find("input[aria-required]").closest(".form-group").append('<span class="help-block caldera_ajax_error_block filled" aria-live="polite" style="display:block;"><span class="parsley-required">This value is required.</span></span>'),i()(t).find('textarea[required="required"]').closest(".form-group").addClass("has-error"),i()(t).find('textarea[required="required"]').closest(".form-group").append('<span class="help-block caldera_ajax_error_block filled" aria-live="polite"><span class="parsley-required">This value is required.</span></span>'),i()(t).find(".caldera-grid").after('<div class="alert alert-success" style="display: block; margin-top: 10px;" role="alert">Form has been successfully submitted. Thank you.</div>'))):i()(t).html("Caldera Forms plugin not found.")},error:function(e){}})}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{ref:"cf",className:"dsm_caldera_forms".concat("off"!==e.radio_style?" dsm_cf_custom_radio":"").concat("off"!==e.checkbox_style?" dsm_cf_custom_checkbox":"").concat(""!==e.description_background_color?" dsm_cf_description_label":"").concat(""!==e.error_msg_background_color?" dsm_cf_error_label":"").concat(""!==e.validation_success_background_color?" dsm_cf_success_label":"")}))}}])&&c(r.prototype,a),s&&c(r,s),t}();Object.defineProperty(h,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_caldera_forms"}),t.a=h},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(78);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){return[]}}],(a=[{key:"render",value:function(){var e=this.props,t="https://maps.google.com/maps?q="+encodeURIComponent(e.address)+"&t=m&z="+parseInt(e.zoom,10)+"&output=embed&iwloc=near&hl="+window.ETBuilderBackend.locale,r=e.address;return o.a.createElement(n.Fragment,null,o.a.createElement("iframe",{title:"Divi Supreme Embed Google Map",frameBorder:"0",scrolling:"no",marginHeight:"0",marginWidth:"0",src:t,"aria-label":r}))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_embed_google_map"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(239);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,i,c;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,c=[{key:"css",value:function(e){var t=[];return"center"!==e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-facebook-feed",declaration:"text-align: ".concat(e.fb_alignment,";")}]),t}}],(i=[{key:"_renderTwitter",value:function(){var e=this.props,t="off"===e.header?"noheader":"",r="off"===e.footer?" nofooter":"",i="off"===e.borders?" noborders":"",s="off"===e.scrollbar?" noscrollbar":"",l="on"===e.remove_background?" transparent":"";return"on"===e.limit_tweet?o.a.createElement(n.Fragment,null,o.a.createElement(a.Timeline,{dataSource:{sourceType:"profile",screenName:e.twitter_username},options:{username:e.twitter_username,height:parseInt(e.height,10),theme:e.theme,tweetLimit:parseInt(e.tweet_number,10),chrome:"".concat(t).concat(r).concat(i).concat(s).concat(l)}})):o.a.createElement(n.Fragment,null,o.a.createElement(a.Timeline,{dataSource:{sourceType:"profile",screenName:e.twitter_username},options:{username:e.twitter_username,height:parseInt(e.height,10),theme:e.theme,chrome:"".concat(t).concat(r).concat(i).concat(s).concat(l)}}))}},{key:"render",value:function(){return o.a.createElement(n.Fragment,null,this._renderTwitter())}}])&&s(r.prototype,i),c&&s(r,c),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_embed_twitter_timeline"}),t.a=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Tweet=t.Timeline=t.Share=t.Mention=t.Hashtag=t.Follow=void 0;var n=r(240),o=p(r(241)),a=p(r(319)),i=p(r(320)),s=p(r(321)),l=p(r(322)),c=p(r(323));function p(e){return e&&e.__esModule?e:{default:e}}n.canUseDOM&&r(142)("https://platform.twitter.com/widgets.js","twitter-widgets");t.Follow=o.default,t.Hashtag=a.default,t.Mention=i.default,t.Share=s.default,t.Timeline=l.default,t.Tweet=c.default},function(e,t,r){var n;function o(e){return(o="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})(e)}!function(){"use strict";var a=!("undefined"===typeof window||!window.document||!window.document.createElement),i={canUseDOM:a,canUseWorkers:"undefined"!==typeof Worker,canUseEventListeners:a&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:a&&!!window.screen};"object"===o(r(120))&&r(120)?void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n):"undefined"!==typeof e&&e.exports?e.exports=i:window.ExecutionEnvironment=i}()},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.username,i=o.options,s=o.onLoad;e.widgets.createFollowButton(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("username")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={username:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){var n=r(243),o=r(27);e.exports=function e(t,r,a,i,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!==t&&r!==r:n(t,r,a,i,e,s))}},function(e,t,r){var n=r(121),o=r(126),a=r(278),i=r(281),s=r(50),l=r(49),c=r(83),p=r(133),h=1,u="[object Arguments]",d="[object Array]",f="[object Object]",m=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,_,y,b){var g=l(e),v=l(t),w=g?d:s(e),x=v?d:s(t),E=(w=w==u?f:w)==f,S=(x=x==u?f:x)==f,k=w==x;if(k&&c(e)){if(!c(t))return!1;g=!0,E=!1}if(k&&!E)return b||(b=new n),g||p(e)?o(e,t,r,_,y,b):a(e,t,w,r,_,y,b);if(!(r&h)){var P=E&&m.call(e,"__wrapped__"),C=S&&m.call(t,"__wrapped__");if(P||C){var T=P?e.value():e,A=C?t.value():t;return b||(b=new n),y(T,A,r,_,b)}}return!!k&&(b||(b=new n),i(e,t,r,_,y,b))}},function(e,t){e.exports=function(){this.__data__=[],this.size=0}},function(e,t,r){var n=r(44),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},function(e,t,r){var n=r(44);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},function(e,t,r){var n=r(44);e.exports=function(e){return n(this.__data__,e)>-1}},function(e,t,r){var n=r(44);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},function(e,t,r){var n=r(43);e.exports=function(){this.__data__=new n,this.size=0}},function(e,t){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},function(e,t){e.exports=function(e){return this.__data__.get(e)}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t,r){var n=r(43),o=r(80),a=r(125),i=200;e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var s=r.__data__;if(!o||s.length<i-1)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new a(s)}return r.set(e,t),this.size=r.size,this}},function(e,t,r){var n=r(122),o=r(258),a=r(35),i=r(124),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,p=l.toString,h=c.hasOwnProperty,u=RegExp("^"+p.call(h).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(n(e)?u:s).test(i(e))}},function(e,t){function r(e){return(r="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})(e)}var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"===("undefined"===typeof window?"undefined":r(window))&&(n=window)}e.exports=n},function(e,t,r){var n=r(46),o=Object.prototype,a=o.hasOwnProperty,i=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=i.call(e);return n&&(t?e[s]=r:delete e[s]),o}},function(e,t){var r=Object.prototype.toString;e.exports=function(e){return r.call(e)}},function(e,t,r){var n,o=r(259),a=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!a&&a in e}},function(e,t,r){var n=r(11)["__core-js_shared__"];e.exports=n},function(e,t){e.exports=function(e,t){return null==e?void 0:e[t]}},function(e,t,r){var n=r(262),o=r(43),a=r(80);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(a||o),string:new n}}},function(e,t,r){var n=r(263),o=r(264),a=r(265),i=r(266),s=r(267);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,e.exports=l},function(e,t,r){var n=r(47);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},function(e,t){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},function(e,t,r){var n=r(47),o="__lodash_hash_undefined__",a=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return a.call(t,e)?t[e]:void 0}},function(e,t,r){var n=r(47),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},function(e,t,r){var n=r(47),o="__lodash_hash_undefined__";e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?o:t,this}},function(e,t,r){var n=r(48);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},function(e,t){function r(e){return(r="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})(e)}e.exports=function(e){var t=r(e);return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},function(e,t,r){var n=r(48);e.exports=function(e){return n(this,e).get(e)}},function(e,t,r){var n=r(48);e.exports=function(e){return n(this,e).has(e)}},function(e,t,r){var n=r(48);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},function(e,t,r){var n=r(125),o=r(274),a=r(275);function i(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}i.prototype.add=i.prototype.push=o,i.prototype.has=a,e.exports=i},function(e,t){var r="__lodash_hash_undefined__";e.exports=function(e){return this.__data__.set(e,r),this}},function(e,t){e.exports=function(e){return this.__data__.has(e)}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},function(e,t){e.exports=function(e,t){return e.has(t)}},function(e,t,r){var n=r(46),o=r(127),a=r(79),i=r(126),s=r(279),l=r(280),c=1,p=2,h="[object Boolean]",u="[object Date]",d="[object Error]",f="[object Map]",m="[object Number]",_="[object RegExp]",y="[object Set]",b="[object String]",g="[object Symbol]",v="[object ArrayBuffer]",w="[object DataView]",x=n?n.prototype:void 0,E=x?x.valueOf:void 0;e.exports=function(e,t,r,n,x,S,k){switch(r){case w:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case v:return!(e.byteLength!=t.byteLength||!S(new o(e),new o(t)));case h:case u:case m:return a(+e,+t);case d:return e.name==t.name&&e.message==t.message;case _:case b:return e==t+"";case f:var P=s;case y:var C=n&c;if(P||(P=l),e.size!=t.size&&!C)return!1;var T=k.get(e);if(T)return T==t;n|=p,k.set(e,t);var A=i(P(e),P(t),n,x,S,k);return k.delete(e),A;case g:if(E)return E.call(e)==E.call(t)}return!1}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},function(e,t){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},function(e,t,r){var n=r(128),o=1,a=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,s,l){var c=r&o,p=n(e),h=p.length;if(h!=n(t).length&&!c)return!1;for(var u=h;u--;){var d=p[u];if(!(c?d in t:a.call(t,d)))return!1}var f=l.get(e);if(f&&l.get(t))return f==t;var m=!0;l.set(e,t),l.set(t,e);for(var _=c;++u<h;){var y=e[d=p[u]],b=t[d];if(i)var g=c?i(b,y,d,t,e,l):i(y,b,d,e,t,l);if(!(void 0===g?y===b||s(y,b,r,i,l):g)){m=!1;break}_||(_="constructor"==d)}if(m&&!_){var v=e.constructor,w=t.constructor;v!=w&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof w&&w instanceof w)&&(m=!1)}return l.delete(e),l.delete(t),m}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,a=[];++r<n;){var i=e[r];t(i,r,e)&&(a[o++]=i)}return a}},function(e,t){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},function(e,t,r){var n=r(285),o=r(27),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&i.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},function(e,t,r){var n=r(45),o=r(27),a="[object Arguments]";e.exports=function(e){return o(e)&&n(e)==a}},function(e,t){e.exports=function(){return!1}},function(e,t){function r(e){return(r="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})(e)}var n=9007199254740991,o=/^(?:0|[1-9]\d*)$/;e.exports=function(e,t){var a=r(e);return!!(t=null==t?n:t)&&("number"==a||"symbol"!=a&&o.test(e))&&e>-1&&e%1==0&&e<t}},function(e,t,r){var n=r(45),o=r(134),a=r(27),i={};i["[object Float32Array]"]=i["[object Float64Array]"]=i["[object Int8Array]"]=i["[object Int16Array]"]=i["[object Int32Array]"]=i["[object Uint8Array]"]=i["[object Uint8ClampedArray]"]=i["[object Uint16Array]"]=i["[object Uint32Array]"]=!0,i["[object Arguments]"]=i["[object Array]"]=i["[object ArrayBuffer]"]=i["[object Boolean]"]=i["[object DataView]"]=i["[object Date]"]=i["[object Error]"]=i["[object Function]"]=i["[object Map]"]=i["[object Number]"]=i["[object Object]"]=i["[object RegExp]"]=i["[object Set]"]=i["[object String]"]=i["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!i[n(e)]}},function(e,t,r){var n=r(86),o=r(290),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},function(e,t,r){var n=r(135)(Object.keys,Object);e.exports=n},function(e,t,r){var n=r(22)(r(11),"DataView");e.exports=n},function(e,t,r){var n=r(22)(r(11),"Promise");e.exports=n},function(e,t,r){var n=r(22)(r(11),"Set");e.exports=n},function(e,t,r){var n=r(22)(r(11),"WeakMap");e.exports=n},function(e,t,r){var n=r(121),o=r(296),a=r(137),i=r(298),s=r(299),l=r(302),c=r(303),p=r(304),h=r(305),u=r(128),d=r(306),f=r(50),m=r(307),_=r(308),y=r(313),b=r(49),g=r(83),v=r(315),w=r(35),x=r(317),E=r(82),S=1,k=2,P=4,C="[object Arguments]",T="[object Function]",A="[object GeneratorFunction]",M="[object Object]",D={};D[C]=D["[object Array]"]=D["[object ArrayBuffer]"]=D["[object DataView]"]=D["[object Boolean]"]=D["[object Date]"]=D["[object Float32Array]"]=D["[object Float64Array]"]=D["[object Int8Array]"]=D["[object Int16Array]"]=D["[object Int32Array]"]=D["[object Map]"]=D["[object Number]"]=D[M]=D["[object RegExp]"]=D["[object Set]"]=D["[object String]"]=D["[object Symbol]"]=D["[object Uint8Array]"]=D["[object Uint8ClampedArray]"]=D["[object Uint16Array]"]=D["[object Uint32Array]"]=!0,D["[object Error]"]=D[T]=D["[object WeakMap]"]=!1,e.exports=function e(t,r,O,F,I,j){var z,R=r&S,B=r&k,L=r&P;if(O&&(z=I?O(t,F,I,j):O(t)),void 0!==z)return z;if(!w(t))return t;var N=b(t);if(N){if(z=m(t),!R)return c(t,z)}else{var V=f(t),q=V==T||V==A;if(g(t))return l(t,R);if(V==M||V==C||q&&!I){if(z=B||q?{}:y(t),!R)return B?h(t,s(z,t)):p(t,i(z,t))}else{if(!D[V])return I?t:{};z=_(t,V,R)}}j||(j=new n);var G=j.get(t);if(G)return G;j.set(t,z),x(t)?t.forEach(function(n){z.add(e(n,r,O,n,t,j))}):v(t)&&t.forEach(function(n,o){z.set(o,e(n,r,O,o,t,j))});var H=L?B?d:u:B?keysIn:E,W=N?void 0:H(t);return o(W||t,function(n,o){W&&(n=t[o=n]),a(z,o,e(n,r,O,o,t,j))}),z}},function(e,t){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},function(e,t,r){var n=r(22),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},function(e,t,r){var n=r(51),o=r(82);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(51),o=r(139);e.exports=function(e,t){return e&&n(t,o(t),e)}},function(e,t,r){var n=r(35),o=r(86),a=r(301),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return a(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&i.call(e,s))&&r.push(s);return r}},function(e,t){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},function(e,t,r){(function(e){function n(e){return(n="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})(e)}var o=r(11),a="object"==n(t)&&t&&!t.nodeType&&t,i=a&&"object"==n(e)&&e&&!e.nodeType&&e,s=i&&i.exports===a?o.Buffer:void 0,l=s?s.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=l?l(r):new e.constructor(r);return e.copy(n),n}}).call(t,r(23)(e))},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},function(e,t,r){var n=r(51),o=r(81);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(51),o=r(140);e.exports=function(e,t){return n(e,o(e),t)}},function(e,t,r){var n=r(129),o=r(140),a=r(139);e.exports=function(e){return n(e,a,o)}},function(e,t){var r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&r.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},function(e,t,r){var n=r(87),o=r(309),a=r(310),i=r(311),s=r(312),l="[object Boolean]",c="[object Date]",p="[object Map]",h="[object Number]",u="[object RegExp]",d="[object Set]",f="[object String]",m="[object Symbol]",_="[object ArrayBuffer]",y="[object DataView]",b="[object Float32Array]",g="[object Float64Array]",v="[object Int8Array]",w="[object Int16Array]",x="[object Int32Array]",E="[object Uint8Array]",S="[object Uint8ClampedArray]",k="[object Uint16Array]",P="[object Uint32Array]";e.exports=function(e,t,r){var C=e.constructor;switch(t){case _:return n(e);case l:case c:return new C(+e);case y:return o(e,r);case b:case g:case v:case w:case x:case E:case S:case k:case P:return s(e,r);case p:return new C;case h:case f:return new C(e);case u:return a(e);case d:return new C;case m:return i(e)}}},function(e,t,r){var n=r(87);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},function(e,t){var r=/\w*$/;e.exports=function(e){var t=new e.constructor(e.source,r.exec(e));return t.lastIndex=e.lastIndex,t}},function(e,t,r){var n=r(46),o=n?n.prototype:void 0,a=o?o.valueOf:void 0;e.exports=function(e){return a?Object(a.call(e)):{}}},function(e,t,r){var n=r(87);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},function(e,t,r){var n=r(314),o=r(141),a=r(86);e.exports=function(e){return"function"!=typeof e.constructor||a(e)?{}:n(o(e))}},function(e,t,r){var n=r(35),o=Object.create,a=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=a},function(e,t,r){var n=r(316),o=r(84),a=r(85),i=a&&a.isMap,s=i?o(i):n;e.exports=s},function(e,t,r){var n=r(50),o=r(27),a="[object Map]";e.exports=function(e){return o(e)&&n(e)==a}},function(e,t,r){var n=r(318),o=r(84),a=r(85),i=a&&a.isSet,s=i?o(i):n;e.exports=s},function(e,t,r){var n=r(50),o=r(27),a="[object Set]";e.exports=function(e){return o(e)&&n(e)==a}},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.hashtag,i=o.options,s=o.onLoad;e.widgets.createHashtagButton(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("hashtag")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={hashtag:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.username,i=o.options,s=o.onLoad;e.widgets.createMentionButton(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("username")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={username:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.url,i=o.options,s=o.onLoad;e.widgets.createShareButton(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("url")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={url:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.dataSource,i=o.options,s=o.onLoad;e.widgets.createTimeline((0,l.default)(a),t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("dataSource")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={dataSource:i.default.object.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";function n(e){return(n="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})(e)}Object.defineProperty(t,"__esModule",{value:!0});var o=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),a=p(r(0)),i=p(r(17)),s=p(r(26)),l=p(r(28)),c=p(r(29));function p(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==n(t)&&"function"!==typeof t?e:t}var u=function(e){function t(){var e,r,n;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return r=n=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),n.ready=function(e,t,r){var o=n.props,a=o.tweetId,i=o.options,s=o.onLoad;e.widgets.createTweet(a,t,(0,l.default)(i)).then(function(){r(),s()})},h(n,r)}return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+n(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,a.default.Component),o(t,[{key:"shouldComponentUpdate",value:function(e){var t=this,r=function(r){return!(0,s.default)(t.props[r],e[r])};return r("tweetId")||r("options")}},{key:"render",value:function(){return a.default.createElement(c.default,{ready:this.ready})}}]),t}();u.propTypes={tweetId:i.default.string.isRequired,options:i.default.object,onLoad:i.default.func},u.defaultProps={options:{},onLoad:function(){}},t.default=u},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(88);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];return e.badges_background_color&&t.push([{selector:"%%order_class%% .dsm-badges",declaration:"background-color: ".concat(e.badges_background_color,";")}]),"7px"!==e.badges_gap&&("after"===e.badges_placement?t.push([{selector:"%%order_class%% .dsm-badges-after",declaration:"margin-left: ".concat(e.badges_gap,";")}]):t.push([{selector:"%%order_class%% .dsm-badges-before",declaration:"margin-right: ".concat(e.badges_gap,";")}])),"after"===e.badges_placement&&(e.badges_gap_tablet&&t.push([{selector:"%%order_class%% .dsm-badges-after",declaration:"margin-left: ".concat(e.badges_gap_tablet,";"),device:"tablet"}]),e.badges_gap_phone&&t.push([{selector:"%%order_class%% .dsm-badges-after",declaration:"margin-left: ".concat(e.badges_gap_phone,";"),device:"phone"}])),"before"===e.badges_placement&&(e.badges_gap_tablet&&t.push([{selector:"%%order_class%% .dsm-badges-before",declaration:"margin-right: ".concat(e.badges_gap_tablet,";"),device:"tablet"}]),e.badges_gap_phone&&t.push([{selector:"%%order_class%% .dsm-badges-before",declaration:"margin-right: ".concat(e.badges_gap_phone,";"),device:"phone"}])),t}}],(a=[{key:"_renderBadgesBefore",value:function(){var e=this.props;return e.badges_text&&"after"!==e.badges_placement?o.a.createElement(n.Fragment,null,o.a.createElement("span",{className:"dsm-badges dsm-badges-".concat(e.badges_placement)},e.badges_text)):""}},{key:"_renderBadgesAfter",value:function(){var e=this.props;return e.badges_text&&"before"!==e.badges_placement?o.a.createElement(n.Fragment,null,o.a.createElement("span",{className:"dsm-badges dsm-badges-".concat(e.badges_placement)},e.badges_text)):""}},{key:"_renderTitle",value:function(){var e=this.props,t=""===e.header_level?"h4":"".concat(e.header_level);return e.main_text?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h4",{className:"dsm-text-badges et_pb_module_header"},this._renderBadgesBefore(),e.main_text,this._renderBadgesAfter())):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-text-badges et_pb_module_header"},this._renderBadgesBefore(),e.main_text,this._renderBadgesAfter())):""}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"et_pb_bg_layout_".concat(e.background_layout)},this._renderTitle()))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_text_badges"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(89);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];e.menu_link_text_color&&t.push([{selector:"%%order_class%% ul.dsm-menu li a",declaration:"color: ".concat(e.menu_link_text_color,";")}]),"on"===e.menu_link_text_color__hover_enabled&&e.menu_link_text_color__hover&&t.push([{selector:"%%order_class%% ul.dsm-menu li a:hover",declaration:"color: ".concat(e.menu_link_text_color__hover,";")}]),"disc"!==e.list_style_type&&t.push([{selector:"%%order_class%% ul.dsm-menu, %%order_class%% ul.dsm-menu .sub-menu",declaration:"list-style-type: ".concat(e.list_style_type,";")}]),""!==e.list_style_color&&t.push([{selector:"%%order_class%% ul.dsm-menu li",declaration:"color: ".concat(e.list_style_color,";")}]);var r=e.title_bottom_gap_last_edited&&e.title_bottom_gap_last_edited.startsWith("on"),n=e.title_bottom_gap,o=r&&e.title_bottom_gap_tablet?e.title_bottom_gap_tablet:n,a=r&&e.title_bottom_gap_phone?e.title_bottom_gap_phone:o;"10px"!==e.title_bottom_gap&&t.push([{selector:"%%order_class%% ".concat(e.header_level,".dsm-menu-title"),declaration:"padding-bottom: ".concat(n,";")}]),""!==e.title_bottom_gap_tablet&&t.push([{selector:"%%order_class%% ".concat(e.header_level,".dsm-menu-title"),declaration:"padding-bottom: ".concat(o,";"),device:"tablet"}]),""!==e.title_bottom_gap_phone&&t.push([{selector:"%%order_class%% ".concat(e.header_level,".dsm-menu-title"),declaration:"padding-bottom: ".concat(a,";"),device:"phone"}]);var i=e.menu_space_between_last_edited&&e.menu_space_between_last_edited.startsWith("on"),s=e.menu_space_between,l=i&&e.menu_space_between_tablet?e.menu_space_between_tablet:s,c=i&&e.menu_space_between_phone?e.menu_space_between_phone:l;"0px"!==e.menu_space_between&&(t.push([{selector:"%%order_class%% .dsm-menu li:not(:last-child)",declaration:"margin-bottom: ".concat(s,";")}]),t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu>li",declaration:"margin-top: ".concat(s,";")}])),""!==e.menu_space_between_tablet&&(t.push([{selector:"%%order_class%% .dsm-menu li:not(:last-child)",declaration:"margin-bottom: ".concat(l,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu>li",declaration:"margin-top: ".concat(l,";"),device:"tablet"}])),""!==e.menu_space_between_phone&&(t.push([{selector:"%%order_class%% .dsm-menu li:not(:last-child)",declaration:"margin-top: ".concat(c,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu>li",declaration:"margin-top: ".concat(c,";"),device:"phone"}]));var p=e.menu_left_space_last_edited&&e.menu_left_space_last_edited.startsWith("on"),h=e.menu_left_space,u=p&&e.menu_left_space_tablet?e.menu_left_space_tablet:h,d=p&&e.menu_left_space_phone?e.menu_left_space_phone:u;e.menu_left_space&&t.push([{selector:"%%order_class%% ul.dsm-menu",declaration:"padding-left: ".concat(h,";")}]),""!==e.menu_left_space_tablet&&t.push([{selector:"%%order_class%% ul.dsm-menu",declaration:"padding-left: ".concat(u,";"),device:"tablet"}]),""!==e.menu_left_space_phone&&t.push([{selector:"%%order_class%% ul.dsm-menu",declaration:"padding-left: ".concat(d,";"),device:"phone"}]);var f=void 0!==e.menu_left_space__hover_enabled?e.menu_left_space__hover_enabled.split("|"):"";"on"===f[0]&&"hover"===f[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% ul.dsm-menu",declaration:"padding-left: ".concat(e.menu_left_space__hover,";")}]);var m=e.submenu_left_space_last_edited&&e.submenu_left_space_last_edited.startsWith("on"),_=e.submenu_left_space,y=m&&e.submenu_left_space_tablet?e.submenu_left_space_tablet:_,b=m&&e.submenu_left_space_phone?e.submenu_left_space_phone:y;"20px"!==e.submenu_left_space&&t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu",declaration:"padding-left: ".concat(_,";")}]),""!==e.submenu_left_space_tablet&&t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu",declaration:"padding-left: ".concat(y,";"),device:"tablet"}]),""!==e.submenu_left_space_phone&&t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu",declaration:"padding-left: ".concat(b,";"),device:"phone"}]);var g=void 0!==e.submenu_left_space__hover_enabled?e.submenu_left_space__hover_enabled.split("|"):"";return"on"===g[0]&&"hover"===g[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm-menu .menu-item-has-children .sub-menu",declaration:"padding-left: ".concat(e.submenu_left_space__hover,";")}]),t}}],(a=[{key:"_renderTitle",value:function(){var e=this.props,t=""===e.header_level?"h4":"".concat(e.header_level);return e.title?void 0===e.header_level?o.a.createElement(n.Fragment,null,o.a.createElement("h4",{className:"dsm-menu-title et_pb_module_header"},e.title)):o.a.createElement(n.Fragment,null,o.a.createElement(t,{className:"dsm-menu-title et_pb_module_header"},e.title)):""}},{key:"_renderNav",value:function(){var e=this.props;if("none"!==e.menu_id){var t=e.__menu;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{dangerouslySetInnerHTML:{__html:t}}))}}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"et_pb_bg_layout_".concat(e.background_layout)},this._renderTitle(),this._renderNav()))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_menu"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(90);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];"dotted"!==e.separator_style&&t.push([{selector:"%%order_class%% .dsm-pricelist-separator",declaration:"border-bottom-style: ".concat(e.separator_style,";")}]),"2px"!==e.separator_weight&&t.push([{selector:"%%order_class%% .dsm-pricelist-separator",declaration:"border-bottom-width: ".concat(e.separator_weight,";")}]),e.separator_color&&t.push([{selector:"%%order_class%% .dsm-pricelist-separator",declaration:"border-bottom-color: ".concat(e.separator_color,";")}]),"10px"!==e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-pricelist-separator",declaration:"margin-left: ".concat(e.separator_gap,"; margin-right: ").concat(e.separator_gap,";")}]);var r=e.item_bottom_gap_last_edited&&e.item_bottom_gap_last_edited.startsWith("on"),n=e.item_bottom_gap,o=r&&e.item_bottom_gap_tablet?e.item_bottom_gap_tablet:n,a=r&&e.item_bottom_gap_phone?e.item_bottom_gap_phone:o;"25px"!==e.item_bottom_gap&&t.push([{selector:"%%order_class%% .dsm_pricelist_child:not(:last-child)",declaration:"padding-bottom: ".concat(n,";")}]),e.item_bottom_gap_tablet&&t.push([{selector:"%%order_class%% .dsm_pricelist_child:not(:last-child)",declaration:"padding-bottom: ".concat(o),device:"tablet"}]),e.item_bottom_gap_phone&&t.push([{selector:"%%order_class%% .dsm_pricelist_child:not(:last-child)",declaration:"padding-bottom: ".concat(a),device:"phone"}]),"flex-start"!==e.content_orientation&&t.push([{selector:"%%order_class%% .dsm_pricelist_child>div",declaration:"align-items: ".concat(e.content_orientation,";")}]);var i=e.image_max_width_last_edited&&e.image_max_width_last_edited.startsWith("on"),s=e.image_max_width,l=i&&e.image_max_width_tablet?e.image_max_width_tablet:s,c=i&&e.image_max_width_phone?e.image_max_width_phone:l;"50%"!==e.image_max_width&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(s)}]),e.image_max_width_tablet&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(l),device:"tablet"}]),e.image_max_width_phone&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(c),device:"phone"}]);var p=e.image_spacing_last_edited&&e.image_spacing_last_edited.startsWith("on"),h=e.image_spacing,u=p&&e.image_spacing_tablet?e.image_spacing_tablet:h,d=p&&e.image_spacing_phone?e.image_spacing_phone:u;return e.image_spacing&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(h,";")}]),e.image_spacing_tablet&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(u,";"),device:"tablet"}]),e.image_spacing_phone&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(d,";"),device:"phone"}]),t}}],(a=[{key:"render",value:function(){return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_pricelist"},this.props.content))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_pricelist"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n);function a(e){return(a="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})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[],r=e.image_max_width_last_edited&&e.image_max_width_last_edited.startsWith("on"),n=e.image_max_width,o=r&&e.image_max_width_tablet?e.image_max_width_tablet:n,a=r&&e.image_max_width_phone?e.image_max_width_phone:o;e.image_max_width&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(n)}]),e.image_max_width_tablet&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(o),device:"tablet"}]),e.image_max_width_phone&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"max-width: ".concat(a),device:"phone"}]),"center"!==e.content_orientation&&t.push([{selector:"%%order_class%%",declaration:"align-items: ".concat(e.content_orientation,";")}]);var i=e.image_spacing_last_edited&&e.image_spacing_last_edited.startsWith("on"),s=e.image_spacing,l=i&&e.image_spacing_tablet?e.image_spacing_tablet:s,c=i&&e.image_spacing_phone?e.image_spacing_phone:l;return e.image_spacing&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(s,";")}]),e.image_spacing_tablet&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(l,";"),device:"tablet"}]),e.image_spacing_phone&&t.push([{selector:"%%order_class%% .dsm-pricelist-image",declaration:"margin-right: ".concat(c,";"),device:"phone"}]),t}}],(a=[{key:"_renderTitle",value:function(){var e=this.props;return e.title?o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm-pricelist-title et_pb_module_header"},e.title)):""}},{key:"_renderIcon",value:function(){var e=this.props,t=window.ET_Builder.API.Utils;return"off"===e.use_icon?"":o.a.createElement("div",{className:"dsm_flipbox_child_image"},o.a.createElement("span",{className:"dsm_flipbox_child_image_wrap"},o.a.createElement("span",{className:"et-pb-icon".concat("on"===this.props.use_circle?" et-pb-icon-circle":"").concat("on"===this.props.use_circle_border?" et-pb-icon-circle-border":"")},t.processFontIcon(e.font_icon))))}},{key:"_renderImage",value:function(){var e=this.props;return e.image?o.a.createElement("div",{className:"dsm-pricelist-image"},o.a.createElement("img",{src:"".concat(e.image),alt:"".concat(e.alt)})):""}},{key:"_renderButton",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r="on"===e.url_new_window?"_blank":"",n=!!e.button_icon&&t.processFontIcon(e.button_icon),a={et_pb_button:!0,et_pb_more_button:!0,et_pb_custom_button_icon:e.button_icon};return e.button_text&&e.button_url?o.a.createElement("div",{className:"et_pb_button_wrapper"},o.a.createElement("a",{className:t.classnames(a),href:e.button_url,target:r,rel:t.linkRel(e.button_rel),"data-icon":n},e.button_text)):""}},{key:"_renderPrice",value:function(){var e=this.props,t=void 0===e.price?"$8":e.price;return e.price?o.a.createElement("div",{className:"dsm-pricelist-price"},t):""}},{key:"_renderContent",value:function(){var e=this.props,t=e.content;return e.content?o.a.createElement("div",{className:"dsm-pricelist-description"},o.a.createElement(t,null)):""}},{key:"render",value:function(){return o.a.createElement(n.Fragment,null,this._renderImage(),o.a.createElement("div",{className:"dsm_pricelist_item_wrapper"},o.a.createElement("div",{className:"dsm-pricelist-header"},this._renderTitle(),o.a.createElement("div",{className:"dsm-pricelist-separator"}),this._renderPrice()),this._renderContent()))}}])&&i(r.prototype,a),l&&i(r,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_pricelist_child"}),t.a=l},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(91);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[];if("none"!==e.divider_style&&t.push([{selector:"%%order_class%% .dsm_business_hours_child:not(:last-child)",declaration:"border-bottom-style: ".concat(e.divider_style,";")}]),""!==e.divider_weight&&t.push([{selector:"%%order_class%% .dsm_business_hours_child:not(:last-child)",declaration:"border-bottom-width: ".concat(e.divider_weight,";")}]),e.divider_color&&t.push([{selector:"%%order_class%% .dsm_business_hours_child:not(:last-child)",declaration:"border-bottom-color: ".concat(e.divider_color,";")}]),"none"!==e.separator_style&&t.push([{selector:"%%order_class%% .dsm-business-hours-separator",declaration:"border-bottom-style: ".concat(e.separator_style,";")}]),"2px"!==e.separator_weight&&t.push([{selector:"%%order_class%% .dsm-business-hours-separator",declaration:"border-bottom-width: ".concat(e.separator_weight,";")}]),e.separator_color&&t.push([{selector:"%%order_class%% .dsm-business-hours-separator",declaration:"border-bottom-color: ".concat(e.separator_color,";")}]),"10px"!==e.separator_gap&&t.push([{selector:"%%order_class%% .dsm-business-hours-separator",declaration:"margin-left: ".concat(e.separator_gap,"; margin-right: ").concat(e.separator_gap,";")}]),"center"!==e.content_orientation&&t.push([{selector:"%%order_class%% .dsm_business_hours_child>div",declaration:"align-items: ".concat(e.content_orientation,";")}]),e.item_padding){var r=e.item_padding.split("|"),n=e.item_padding_last_edited,o=n&&n.startsWith("on");if(t.push([{selector:"%%order_class%% .dsm_business_hours_item_wrapper",declaration:"padding-top: ".concat(r[0],"; padding-right: ").concat(r[1]," !important; padding-bottom: ").concat(r[2],"; padding-left: ").concat(r[3]," !important;")}]),e.item_padding_tablet&&o&&e.item_padding_tablet&&""!==e.item_padding_tablet){var a=e.item_padding_tablet.split("|");t.push([{selector:"%%order_class%% .dsm_business_hours_item_wrapper",declaration:"padding-top: ".concat(a[0],"; padding-right: ").concat(a[1]," !important; padding-bottom: ").concat(a[2],"; padding-left: ").concat(a[3]," !important;"),device:"tablet"}])}if(e.item_padding_phone&&o&&e.item_padding_phone&&""!==e.item_padding_phone){var i=e.item_padding_phone.split("|");t.push([{selector:"%%order_class%% .dsm_business_hours_item_wrapper",declaration:"padding-top: ".concat(i[0],"; padding-right: ").concat(i[1]," !important; padding-bottom: ").concat(i[2],"; padding-left: ").concat(i[3]," !important;"),device:"phone"}])}}return t}}],(a=[{key:"render",value:function(){return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_business_hours"},this.props.content))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_business_hours"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n);function a(e){return(a="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})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[];return"center"!==e.content_orientation&&t.push([{selector:"%%order_class%%",declaration:"align-items: ".concat(e.content_orientation,";")}]),t}}],(a=[{key:"_renderTitle",value:function(){var e=this.props,t=void 0===e.title?"Monday":e.title;return t?o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm-business-hours-day"},t)):""}},{key:"_renderTime",value:function(){var e=this.props,t=void 0===e.time?"9:00 AM - 6:00 PM":e.time;return t?o.a.createElement("div",{className:"dsm-business-hours-time"},t):""}},{key:"render",value:function(){return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_business_hours_item_wrapper"},o.a.createElement("div",{className:"dsm-business-hours-header"},this._renderTitle(),o.a.createElement("div",{className:"dsm-business-hours-separator"}),this._renderTime())))}}])&&i(r.prototype,a),l&&i(r,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_business_hours_child"}),t.a=l},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(92);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[],r=void 0===e.icon_font_size?"14px":e.icon_font_size;if("14px"!==e.icon_font_size&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_icon",declaration:"font-size: ".concat(r,";")}]),e.icon_font_size){var n=void 0!==e.icon_font_size__hover_enabled?e.icon_font_size__hover_enabled.split("|"):"",o=e.icon_font_size_last_edited,a=o&&o.startsWith("on");"on"===n[0]&&"hover"===n[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size__hover,";")}]),e.icon_font_size_tablet&&a&&e.icon_font_size_tablet&&""!==e.icon_font_size_tablet&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size_tablet,";"),device:"tablet"}]),e.icon_font_size_phone&&a&&e.icon_font_size_phone&&""!==e.icon_font_size_phone&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size_phone,";"),device:"phone"}])}e.icon_color&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color,";")}]);var i=void 0!==e.icon_color__hover_enabled?e.icon_color__hover_enabled.split("|"):"",s=e.icon_color_last_edited,l=s&&s.startsWith("on");"on"===i[0]&&"hover"===i[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color__hover,";")}]),e.icon_color_tablet&&l&&e.icon_color_tablet&&""!==e.icon_color_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color_tablet,";"),device:"tablet"}]),e.icon_color_phone&&l&&e.icon_color_phone&&""!==e.icon_color_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color_phone,";"),device:"phone"}]),e.icon_background_color&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color,";")}]);var c=void 0!==e.icon_background_color__hover_enabled?e.icon_background_color__hover_enabled.split("|"):"",p=e.icon_background_color_last_edited,h=p&&p.startsWith("on");"on"===c[0]&&"hover"===c[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color__hover,";")}]),e.icon_background_color_tablet&&h&&e.icon_background_color_tablet&&""!==e.icon_background_color_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color_tablet,";"),device:"tablet"}]),e.icon_background_color_phone&&h&&e.icon_background_color_phone&&""!==e.icon_background_color_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color_phone,";"),device:"phone"}]),e.icon_padding&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding,";")}]);var u=void 0!==e.icon_padding__hover_enabled?e.icon_padding__hover_enabled.split("|"):"",d=e.icon_padding_last_edited,f=d&&d.startsWith("on");"on"===u[0]&&"hover"===u[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding__hover,";")}]),e.icon_padding_tablet&&f&&e.icon_padding_tablet&&""!==e.icon_padding_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding_tablet,";"),device:"tablet"}]),e.icon_padding_phone&&f&&e.icon_padding_phone&&""!==e.icon_padding_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding_phone,";"),device:"phone"}]),"flex-start"!==e.list_alignment&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"justify-content: ".concat(e.list_alignment,"; ")}]);var m=e.list_alignment_last_edited,_=m&&m.startsWith("on");e.list_alignment_tablet&&_&&e.list_alignment_tablet&&""!==e.list_alignment_tablet&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"justify-content: ".concat(e.list_alignment_tablet,";"),device:"tablet"}]),e.list_alignment_phone&&_&&e.list_alignment_phone&&""!==e.list_alignment_phone&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"justify-content: ".concat(e.list_alignment_phone,";"),device:"phone"}]),e.list_vertical_alignment&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"align-items: ".concat(e.list_vertical_alignment,"; ")}]);var y=e.list_vertical_alignment_last_edited,b=y&&y.startsWith("on");e.list_vertical_alignment_tablet&&b&&e.list_vertical_alignment_tablet&&""!==e.list_vertical_alignment_tablet&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"align-items: ".concat(e.list_vertical_alignment_tablet,";"),device:"tablet"}]),e.list_vertical_alignment_phone&&b&&e.list_vertical_alignment_phone&&""!==e.list_vertical_alignment_phone&&t.push([{selector:"%%order_class%%.dsm_icon_list .dsm_icon_list_child>div, %%order_class%%.dsm_icon_list .dsm_icon_list_child>div a",declaration:"align-items: ".concat(e.list_vertical_alignment_phone,";"),device:"phone"}]),e.list_space_between&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child:not(:last-child)",declaration:"margin-bottom: ".concat(e.list_space_between," !important; ")}]);var g=void 0!==e.list_space_between__hover_enabled?e.list_space_between__hover_enabled.split("|"):"",v=e.list_space_between_last_edited,w=v&&v.startsWith("on");"on"===g[0]&&"hover"===g[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child:not(:last-child)",declaration:"margin-bottom: ".concat(e.list_space_between__hover," !important;")}]),e.list_space_between_tablet&&w&&e.list_space_between_tablet&&""!==e.list_space_between_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child:not(:last-child)",declaration:"margin-bottom: ".concat(e.list_space_between_tablet," !important;"),device:"tablet"}]),e.list_space_between_phone&&w&&e.list_space_between_phone&&""!==e.list_space_between_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child:not(:last-child)",declaration:"margin-bottom: ".concat(e.list_space_between_phone," !important;"),device:"phone"}]),e.list_background&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"background-color: ".concat(e.list_background,";")}]);var x=void 0!==e.list_background__hover_enabled?e.list_background__hover_enabled.split("|"):"",E=e.list_background_last_edited,S=E&&E.startsWith("on");"on"===x[0]&&"hover"===x[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"background-color: ".concat(e.list_background__hover,";")}]),e.list_background_tablet&&S&&e.list_background_tablet&&""!==e.list_background_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"background-color: ".concat(e.list_background_tablet,";"),device:"tablet"}]),e.list_background_phone&&S&&e.list_background_phone&&""!==e.list_background_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"background-color: ".concat(e.list_background_phone,";"),device:"phone"}]);var k=void 0!==e.list_padding?e.list_padding.split("|"):"";e.list_padding&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"padding-top: ".concat(k[0],"; padding-right: ").concat(k[1]," !important; padding-bottom: ").concat(k[2],"; padding-left: ").concat(k[3]," !important;")}]);var P=e.list_padding_last_edited,C=P&&P.startsWith("on"),T=void 0!==e.list_padding__hover_enabled?e.list_padding__hover_enabled.split("|"):"";if("on"===T[0]){var A=void 0!==e.list_padding__hover?e.list_padding__hover.split("|"):k;"hover"===T[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"padding-top: ".concat(A[0],"; padding-right: ").concat(A[1]," !important; padding-bottom: ").concat(A[2],"; padding-left: ").concat(A[3]," !important;")}])}if(e.list_padding_tablet&&C&&e.list_padding_tablet&&""!==e.list_padding_tablet){var M=e.list_padding_tablet.split("|");t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"padding-top: ".concat(M[0],"; padding-right: ").concat(M[1]," !important; padding-bottom: ").concat(M[2],"; padding-left: ").concat(M[3]," !important;"),device:"tablet"}])}if(e.list_padding_phone&&C&&e.list_padding_phone&&""!==e.list_padding_phone){var D=e.list_padding_phone.split("|");t.push([{selector:"%%order_class%% .dsm_icon_list_items .dsm_icon_list_child",declaration:"padding-top: ".concat(D[0],"; padding-right: ").concat(D[1]," !important; padding-bottom: ").concat(D[2],"; padding-left: ").concat(D[3]," !important;"),device:"phone"}])}e.text_indent&&t.push([{selector:"%%order_class%% .dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent,";")}]);var O=void 0!==e.text_indent__hover_enabled?e.text_indent__hover_enabled.split("|"):"",F=e.text_indent_last_edited,I=F&&F.startsWith("on");return"on"===O[0]&&"hover"===O[1]&&1===e.hover_enabled&&t.push([{selector:"%%order_class%% .dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent__hover,";")}]),e.text_indent_tablet&&I&&e.text_indent_tablet&&""!==e.text_indent_tablet&&t.push([{selector:"%%order_class%% .dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent_tablet,";"),device:"tablet"}]),e.text_indent_phone&&I&&e.text_indent_phone&&""!==e.text_indent_phone&&t.push([{selector:"%%order_class%% .dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent_phone,";"),device:"phone"}]),t}}],(a=[{key:"render",value:function(){return o.a.createElement("div",{className:"dsm_icon_list"},o.a.createElement("div",{className:"dsm_icon_list_items"},this.props.content))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_icon_list"}),t.a=c},function(e,t,r){"use strict";var n=r(0),o=r.n(n);function a(e){return(a="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})(e)}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t){return!t||"object"!==a(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var l=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),s(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,l=[{key:"css",value:function(e){var t=[];if(e.icon_font_size&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size,";")}]),e.icon_font_size){var r=void 0!==e.icon_font_size__hover_enabled?e.icon_font_size__hover_enabled.split("|"):"",n=e.icon_font_size_last_edited,o=n&&n.startsWith("on");"on"===r[0]&&"hover"===r[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size__hover,";")}]),e.icon_font_size_tablet&&o&&e.icon_font_size_tablet&&""!==e.icon_font_size_tablet&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size_tablet,";"),device:"tablet"}]),e.icon_font_size_phone&&o&&e.icon_font_size_phone&&""!==e.icon_font_size_phone&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon",declaration:"font-size: ".concat(e.icon_font_size_phone,";"),device:"phone"}])}e.icon_color&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color,";")}]);var a=void 0!==e.icon_color__hover_enabled?e.icon_color__hover_enabled.split("|"):"",i=e.icon_color_last_edited,s=i&&i.startsWith("on");"on"===a[0]&&"hover"===a[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color__hover," !important;")}]),e.icon_color_tablet&&s&&e.icon_color_tablet&&""!==e.icon_color_tablet&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color_tablet,";"),device:"tablet"}]),e.icon_color_phone&&s&&e.icon_color_phone&&""!==e.icon_color_phone&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"color: ".concat(e.icon_color_phone,";"),device:"phone"}]),e.icon_background_color&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color,";")}]);var l=void 0!==e.icon_background_color__hover_enabled?e.icon_background_color__hover_enabled.split("|"):"",c=e.icon_background_color_last_edited,p=c&&c.startsWith("on");"on"===l[0]&&"hover"===l[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color__hover,";")}]),e.icon_background_color_tablet&&p&&e.icon_background_color_tablet&&""!==e.icon_background_color_tablet&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color_tablet,";"),device:"tablet"}]),e.icon_background_color_phone&&p&&e.icon_background_color_phone&&""!==e.icon_background_color_phone&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"background-color: ".concat(e.icon_background_color_phone,";"),device:"phone"}]),e.icon_padding&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding,";")}]);var h=void 0!==e.icon_padding__hover_enabled?e.icon_padding__hover_enabled.split("|"):"",u=e.icon_padding_last_edited,d=u&&u.startsWith("on");"on"===h[0]&&"hover"===h[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding__hover,";")}]),e.icon_padding_tablet&&d&&e.icon_padding_tablet&&""!==e.icon_padding_tablet&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding_tablet,";"),device:"tablet"}]),e.icon_padding_phone&&d&&e.icon_padding_phone&&""!==e.icon_padding_phone&&t.push([{selector:".dsm_icon_list %%order_class%% .dsm_icon_list_icon",declaration:"padding: ".concat(e.icon_padding_phone,";"),device:"phone"}]),e.text_indent&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent,";")}]);var f=void 0!==e.text_indent__hover_enabled?e.text_indent__hover_enabled.split("|"):"",m=e.text_indent_last_edited,_=m&&m.startsWith("on");return"on"===f[0]&&"hover"===f[1]&&1===e.hover_enabled&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent__hover,";")}]),e.text_indent_tablet&&_&&e.text_indent_tablet&&""!==e.text_indent_tablet&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent_tablet,";"),device:"tablet"}]),e.text_indent_phone&&_&&e.text_indent_phone&&""!==e.text_indent_phone&&t.push([{selector:".dsm_icon_list %%order_class%%.dsm_icon_list_child .dsm_icon_list_icon+.dsm_icon_list_text",declaration:"padding-left: ".concat(e.text_indent_phone,";"),device:"phone"}]),t}}],(a=[{key:"_renderText",value:function(){var e=this.props,t=void 0===e.text?"Icon List Item":e.text;return t?o.a.createElement("span",{className:"dsm_icon_list_text"},t):""}},{key:"_renderIcon",value:function(){var e=this.props,t=window.ET_Builder.API.Utils,r=void 0===e.font_icon?"P":e.font_icon;if("off"!==e.use_icon&&!e.image){var n=void 0!==e.font_icon__hover_enabled?e.font_icon__hover_enabled.split("|"):"";return"on"===n[0]&&"hover"===n[1]&&1===e.hover_enabled?o.a.createElement("span",{className:"dsm_icon_list_icon"},t.processFontIcon(e.font_icon__hover)):o.a.createElement("span",{className:"dsm_icon_list_icon"},t.processFontIcon(r))}}},{key:"render",value:function(){var e="on"===this.props.url_new_window?"_blank":"";return this.props.url?o.a.createElement("a",{href:this.props.url,target:e},this._renderIcon(),this._renderText()):o.a.createElement(n.Fragment,null,this._renderIcon(),this._renderText())}}])&&i(r.prototype,a),l&&i(r,l),t}();Object.defineProperty(l,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_icon_list_child"}),t.a=l},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(93);r.n(a);function i(e){return(i="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})(e)}function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var c=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),l(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,i;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,i=[{key:"css",value:function(e){var t=[],r=e.shapes_square_size_last_edited,n=r&&r.startsWith("on");if("triangle"!==e.shapes_type&&("square"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size,"px; width: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"circle"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size,"px; width: ").concat(e.shapes_square_size,"px; border-radius: 50%; background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}]))),"triangle"===e.shapes_type){t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"border-top-color: transparent !important;border-top-width: 0 !important;"}]);var o=parseFloat(e.shapes_square_size,10)/2;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: 0; height: 0; border-left: ".concat(o,"px solid transparent; border-right: ").concat(o,"px solid transparent; border-bottom: ").concat(e.shapes_square_size,"px solid ").concat(e.shape_color,";")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var a=parseFloat(e.shapes_square_size_tablet,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: 0; height: 0; border-left: ".concat(a,"px solid transparent; border-right: ").concat(a,"px solid transparent; border-bottom: ").concat(e.shapes_square_size_tablet,"px solid ").concat(e.shape_color,";"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var i=parseFloat(e.shapes_square_size_phone,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: 0; height: 0; border-left: ".concat(i,"px solid transparent; border-right: ").concat(i,"px solid transparent; border-bottom: ").concat(e.shapes_square_size_phone,"px solid ").concat(e.shape_color,";"),device:"phone"}])}e.shapes_type&&t.push([{selector:"%%order_class%%"}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%%",device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%%",device:"phone"}])}if("rectangle"===e.shapes_type){var s=parseFloat(e.shapes_square_size,10)/2;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(s,"px; background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var l=parseFloat(e.shapes_square_size_tablet,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(l,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var c=parseFloat(e.shapes_square_size_phone,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(c,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])}}if("oval"===e.shapes_type){var p=parseFloat(e.shapes_square_size,10)/2;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(p,"px; border-radius: 50%; background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var h=parseFloat(e.shapes_square_size_tablet,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(h,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var u=parseFloat(e.shapes_square_size_phone,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(u,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])}}if("trapezoid"===e.shapes_type){t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"border-top-color: transparent !important;border-top-width: 0 !important;"}]);var d=parseFloat(e.shapes_square_size,10)/5,f=parseFloat(e.shapes_square_size,10)/5*2;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: 0px; border-bottom: ").concat(f,"px solid ").concat(e.shape_color,";\n border-left: ").concat(d,"px solid transparent;\n border-right: ").concat(d,"px solid transparent;")}]),t.push([{selector:"%%order_class%%"}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var m=parseFloat(e.shapes_square_size_tablet,10)/5,_=parseFloat(e.shapes_square_size_tablet,10)/5*2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size_tablet,"px; height: 0px; border-bottom: ").concat(_,"px solid ").concat(e.shape_color,";\n border-left: ").concat(m,"px solid transparent;\n border-right: ").concat(m,"px solid transparent;"),device:"tablet"}]),t.push([{selector:"%%order_class%%",device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var y=parseFloat(e.shapes_square_size_phone,10)/5,b=parseFloat(e.shapes_square_size_phone,10)/5*2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size_phone,"px; height: 0px; border-bottom: ").concat(b,"px solid ").concat(e.shape_color,";\n border-left: ").concat(y,"px solid transparent;\n border-right: ").concat(y,"px solid transparent;"),device:"phone"}]),t.push([{selector:"%%order_class%%",device:"phone"}])}}if("parallelogram"===e.shapes_type){var g=parseFloat(e.shapes_square_size,10)/2;if(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(g,"px; transform: skew(20deg); background-color: ").concat(e.shape_color)}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var v=parseFloat(e.shapes_square_size_tablet,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(v,"px;"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var w=parseFloat(e.shapes_square_size_phone,10)/2;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(w,"px;"),device:"phone"}])}}if("diamond_square"===e.shapes_type&&(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color)}]),t.push([{selector:"%%order_class%%"}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"hexagon"===e.shapes_type){t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"border-width: 0 !important;"}]);var x=parseFloat(e.shapes_square_size,10)/2,E=parseFloat(e.shapes_square_size,10)/1.77,S=parseFloat(e.shapes_square_size,10)/4;if(t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"margin: ".concat(S,"px 0 !important;")}]),t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"position: relative; width: ".concat(e.shapes_square_size,"px; height: ").concat(E,"px; background-color: ").concat(e.shape_color)}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:before",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(x,"px solid transparent;\n border-right: ").concat(x,"px solid transparent; bottom: 100%; border-bottom: ").concat(S,"px solid ").concat(e.shape_color,";")}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:after",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(x,"px solid transparent;\n border-right: ").concat(x,"px solid transparent; top: 100%;\n width: 0; border-top: ").concat(S,"px solid ").concat(e.shape_color,";")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet){var k=parseFloat(e.shapes_square_size_tablet,10)/2,P=parseFloat(e.shapes_square_size_tablet,10)/1.77,C=parseFloat(e.shapes_square_size_tablet,10)/4;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"position: relative; width: ".concat(e.shapes_square_size_tablet,"px; height: ").concat(P,"px; background-color: ").concat(e.shape_color),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"margin: ".concat(C,"px 0 !important;"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:before",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(k,"px solid transparent;\n border-right: ").concat(k,"px solid transparent; bottom: 100%; border-bottom: ").concat(C,"px solid ").concat(e.shape_color,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:after",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(k,"px solid transparent;\n border-right: ").concat(k,"px solid transparent; top: 100%;\n width: 0; border-top: ").concat(C,"px solid ").concat(e.shape_color,";"),device:"tablet"}])}if(e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone){var T=parseFloat(e.shapes_square_size_phone,10)/2,A=parseFloat(e.shapes_square_size_phone,10)/1.77,M=parseFloat(e.shapes_square_size_phone,10)/4;t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"position: relative; width: ".concat(e.shapes_square_size_phone,"px; height: ").concat(A,"px; background-color: ").concat(e.shape_color),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"margin: ".concat(M,"px 0 !important;"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:before",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(T,"px solid transparent;\n border-right: ").concat(T,"px solid transparent; bottom: 100%; border-bottom: ").concat(M,"px solid ").concat(e.shape_color,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper:after",declaration:'content: "";\n position: absolute;\n width: 0; border-left: '.concat(T,"px solid transparent;\n border-right: ").concat(T,"px solid transparent; top: 100%;\n width: 0; border-top: ").concat(M,"px solid ").concat(e.shape_color,";"),device:"phone"}])}}return"blob_one"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_two"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_three"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_four"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_five"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_six"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_seven"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),"blob_eight"===e.shapes_type&&(t.push([{selector:"%%order_class%%"}]),t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"width: ".concat(e.shapes_square_size,"px; height: ").concat(e.shapes_square_size,"px; background-color: ").concat(e.shape_color,";\n ")}]),e.shapes_square_size_tablet&&n&&e.shapes_square_size_tablet&&""!==e.shapes_square_size_tablet&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_tablet,"px;width: ").concat(e.shapes_square_size_tablet,"px;"),device:"tablet"}]),e.shapes_square_size_phone&&n&&e.shapes_square_size_phone&&""!==e.shapes_square_size_phone&&t.push([{selector:"%%order_class%% .dsm_shapes_wrapper",declaration:"height: ".concat(e.shapes_square_size_phone,"px; width: ").concat(e.shapes_square_size_phone,"px;"),device:"phone"}])),t}}],(a=[{key:"_renderhexagon",value:function(){var e=this.props;if("hexagon"===e.shapes_type)return o.a.createElement("svg",{width:"175",height:"200"},o.a.createElement("polyline",{fill:e.shape_color,transform:"scale(1)",points:"87,0 174,50 174,150 87,200 0,150 0,50 87,0"}))}},{key:"render",value:function(){var e=this.props;return o.a.createElement(n.Fragment,null,o.a.createElement("div",{className:"dsm_shapes_wrapper dsm_shapes_".concat(e.shapes_type)}))}}])&&s(r.prototype,a),i&&s(r,i),t}();Object.defineProperty(c,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_shapes"}),t.a=c},function(e,t,r){"use strict";(function(e){var n=r(0),o=r.n(n),a=r(18),i=r.n(a),s=r(94);r.n(s);function l(e){return(l="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})(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function p(e,t){return!t||"object"!==l(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var h=function(t){function r(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),p(this,(r.__proto__||Object.getPrototypeOf(r)).apply(this,arguments))}var a,s,l;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(r,n["Component"]),a=r,l=[{key:"css",value:function(e){var t=[];if("off"===e.no_overlay){var r=e.overlay_color_last_edited,n=r&&r.startsWith("on");e.overlay_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-overlay:hover",declaration:"background-color: ".concat(e.overlay_color,";")}]),e.overlay_color_tablet&&n&&e.overlay_color_tablet&&""!==e.overlay_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-overlay:hover",declaration:"background-color: ".concat(e.overlay_color_tablet,";"),device:"tablet"}]),e.overlay_color_phone&&n&&e.overlay_color_phone&&""!==e.overlay_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-overlay:hover",declaration:"background-color: ".concat(e.overlay_color_phone,";"),device:"phone"}]);var o=e.before_label_background_color_last_edited,a=o&&o.startsWith("on");e.before_label_background_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-before-label:before",declaration:"background-color: ".concat(e.before_label_background_color,";")}]),e.before_label_background_color_tablet&&a&&e.before_label_background_color_tablet&&""!==e.before_label_background_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-before-label:before",declaration:"background-color: ".concat(e.before_label_background_color_tablet,";"),device:"tablet"}]),e.before_label_background_color_phone&&a&&e.before_label_background_color_phone&&""!==e.before_label_background_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-before-label:before",declaration:"background-color: ".concat(e.before_label_background_color_phone,";"),device:"phone"}]);var i=e.after_label_background_color_last_edited,s=i&&i.startsWith("on");e.after_label_background_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-after-label:before",declaration:"background-color: ".concat(e.after_label_background_color,";")}]),e.after_label_background_color_tablet&&s&&e.after_label_background_color_tablet&&""!==e.after_label_background_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-after-label:before",declaration:"background-color: ".concat(e.after_label_background_color_tablet,";"),device:"tablet"}]),e.after_label_background_color_phone&&s&&e.after_label_background_color_phone&&""!==e.after_label_background_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-after-label:before",declaration:"background-color: ".concat(e.after_label_background_color_phone,";"),device:"phone"}])}var l=e.handle_border_color_last_edited,c=l&&l.startsWith("on");e.handle_border_color&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:after",declaration:"background-color: ".concat(e.handle_border_color,";")}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-color: ".concat(e.handle_border_color,";")}])),e.handle_border_color_tablet&&c&&e.handle_border_color_tablet&&""!==e.handle_border_color_tablet&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:after",declaration:"background-color: ".concat(e.handle_border_color_tablet,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-color: ".concat(e.handle_border_color_tablet,";"),device:"tablet"}])),e.handle_border_color_phone&&c&&e.handle_border_color_phone&&""!==e.handle_border_color_phone&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-vertical .dsm-before-after-image-slider-handle:after",declaration:"background-color: ".concat(e.handle_border_color_phone,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-color: ".concat(e.handle_border_color_phone,";"),device:"phone"}]));var p=e.handle_border_radius_last_edited,h=p&&p.startsWith("on");e.handle_border_radius&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-radius: ".concat(e.handle_border_radius,";")}]),e.handle_border_radius_tablet&&h&&e.handle_border_radius_tablet&&""!==e.handle_border_radius_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-radius: ".concat(e.handle_border_radius_tablet,";"),device:"tablet"}]),e.handle_border_radius_phone&&h&&e.handle_border_radius_phone&&""!==e.handle_border_radius_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"border-radius: ".concat(e.handle_border_radius_phone,";"),device:"phone"}]);var u=e.handle_background_color_last_edited,d=u&&u.startsWith("on");e.handle_background_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"background-color: ".concat(e.handle_background_color,";")}]),e.handle_background_color_tablet&&d&&e.handle_background_color_tablet&&""!==e.handle_background_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"background-color: ".concat(e.handle_background_color_tablet,";"),device:"tablet"}]),e.handle_background_color_phone&&d&&e.handle_background_color_phone&&""!==e.handle_background_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-handle",declaration:"background-color: ".concat(e.handle_background_color_phone,";"),device:"phone"}]);var f=e.handle_arrow_color_last_edited,m=f&&f.startsWith("on");return"vertical"===e.orientation?(e.handle_arrow_color&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-down-arrow",declaration:"border-top-color: ".concat(e.handle_arrow_color,";")}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-up-arrow",declaration:"border-bottom-color: ".concat(e.handle_arrow_color,";")}])),e.handle_arrow_color_tablet&&m&&e.handle_arrow_color_tablet&&""!==e.handle_arrow_color_tablet&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-down-arrow",declaration:"border-top-color: ".concat(e.handle_arrow_color_tablet,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-up-arrow",declaration:"border-bottom-color: ".concat(e.handle_arrow_color_tablet,";"),device:"tablet"}])),e.handle_arrow_color_phone&&m&&e.handle_arrow_color_phone&&""!==e.handle_arrow_color_phone&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-down-arrow",declaration:"border-top-color: ".concat(e.handle_arrow_color_phone,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-up-arrow",declaration:"border-bottom-color: ".concat(e.handle_arrow_color_phone,";"),device:"phone"}]))):(e.handle_arrow_color&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-left-arrow",declaration:"border-right-color: ".concat(e.handle_arrow_color,";")}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-right-arrow",declaration:"border-left-color: ".concat(e.handle_arrow_color,";")}])),e.handle_arrow_color_tablet&&m&&e.handle_arrow_color_tablet&&""!==e.handle_arrow_color_tablet&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-left-arrow",declaration:"border-right-color: ".concat(e.handle_arrow_color_tablet,";"),device:"tablet"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-right-arrow",declaration:"border-left-color: ".concat(e.handle_arrow_color_tablet,";"),device:"tablet"}])),e.handle_arrow_color_phone&&m&&e.handle_arrow_color_phone&&""!==e.handle_arrow_color_phone&&(t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-left-arrow",declaration:"border-right-color: ".concat(e.handle_arrow_color_phone,";"),device:"phone"}]),t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-right-arrow",declaration:"border-left-color: ".concat(e.handle_arrow_color_phone,";"),device:"phone"}])),e.handle_border_color&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after",declaration:"box-shadow: 0 -3px 0 ".concat(e.handle_border_color,", 0px 0px 12px rgba(51, 51, 51, 0.5);")}]),e.handle_border_color_tablet&&c&&e.handle_border_color_tablet&&""!==e.handle_border_color_tablet&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after",declaration:"box-shadow: 0 -3px 0 ".concat(e.handle_border_color_tablet,", 0px 0px 12px rgba(51, 51, 51, 0.5);"),device:"tablet"}]),e.handle_border_color_phone&&c&&e.handle_border_color_phone&&""!==e.handle_border_color_phone&&t.push([{selector:"%%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:before, %%order_class%% .dsm-before-after-image-slider-horizontal .dsm-before-after-image-slider-handle:after",declaration:"box-shadow: 0 -3px 0 ".concat(e.handle_border_color_phone,", 0px 0px 12px rgba(51, 51, 51, 0.5);"),device:"phone"}])),t}}],(s=[{key:"componentDidMount",value:function(){var t,r;t=function(){var e=Object.assign||window.jQuery&&i.a.extend,t=8,r=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){return window.setTimeout(function(){e()},25)};!function(){if("function"===typeof window.CustomEvent)return!1;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var r=document.createEvent("CustomEvent");return r.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),r}e.prototype=window.Event.prototype,window.CustomEvent=e}();var n={textarea:!0,input:!0,select:!0,button:!0},o={move:"mousemove",cancel:"mouseup dragstart",end:"mouseup"},a={move:"touchmove",cancel:"touchend",end:"touchend"},s=/\s+/,l={bubbles:!0,cancelable:!0},c="function"===typeof Symbol?Symbol("events"):{};function p(e){return e[c]||(e[c]={})}function h(e,t,r,n,o){t=t.split(s);var a,i=p(e),l=t.length;function c(e){r(e,n)}for(;l--;)(i[a=t[l]]||(i[a]=[])).push([r,c]),e.addEventListener(a,c)}function u(e,t,r,n){t=t.split(s);var o,a,i,l=p(e),c=t.length;if(l)for(;c--;)if(a=l[o=t[c]])for(i=a.length;i--;)a[i][0]===r&&(e.removeEventListener(o,a[i][1]),a.splice(i,1))}function d(t,r,n){var o=function(e){return new CustomEvent(e,l)}(r);n&&e(o,n),t.dispatchEvent(o)}function f(){}function m(e){e.preventDefault()}function _(e,t){var r,n;if(e.identifiedTouch)return e.identifiedTouch(t);for(r=-1,n=e.length;++r<n;)if(e[r].identifier===t)return e[r]}function y(e,t){var r=_(e.changedTouches,t.identifier);if(r&&(r.pageX!==t.pageX||r.pageY!==t.pageY))return r}function b(e,t){x(e,t,e,v)}function g(e,t){v()}function v(){u(document,o.move,b),u(document,o.cancel,g)}function w(e){u(document,a.move,e.touchmove),u(document,a.cancel,e.touchend)}function x(e,r,n,o){var a=n.pageX-r.pageX,i=n.pageY-r.pageY;a*a+i*i<t*t||function(e,t,r,n,o,a){var i=e.targetTouches,s=e.timeStamp-t.timeStamp,l={altKey:e.altKey,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,startX:t.pageX,startY:t.pageY,distX:n,distY:o,deltaX:n,deltaY:o,pageX:r.pageX,pageY:r.pageY,velocityX:n/s,velocityY:o/s,identifier:t.identifier,targetTouches:i,finger:i?i.length:1,enableMove:function(){this.moveEnabled=!0,this.enableMove=f,e.preventDefault()}};d(t.target,"movestart",l),a(t)}(e,r,n,a,i,o)}function E(e,t){var r=t.timer;t.touch=e,t.timeStamp=e.timeStamp,r.kick()}function S(e,t){var r=t.target,n=t.event,a=t.timer;u(document,o.move,E),u(document,o.end,S),P(r,n,a,function(){setTimeout(function(){u(r,"click",m)},0)})}function k(e,t){var r=t.target,n=t.event,o=t.timer;_(e.changedTouches,n.identifier)&&(!function(e){u(document,a.move,e.activeTouchmove),u(document,a.end,e.activeTouchend)}(t),P(r,n,o))}function P(e,t,r,n){r.end(function(){return d(e,"moveend",t),n&&n()})}if(h(document,"mousedown",function(e){(function(e){return 1===e.which&&!e.ctrlKey&&!e.altKey})(e)&&(function(e){return!!n[e.target.tagName.toLowerCase()]}(e)||(h(document,o.move,b,e),h(document,o.cancel,g,e)))}),h(document,"touchstart",function(e){if(!n[e.target.tagName.toLowerCase()]){var t=e.changedTouches[0],r={target:t.target,pageX:t.pageX,pageY:t.pageY,identifier:t.identifier,touchmove:function(e,t){!function(e,t){var r=y(e,t);r&&x(e,t,r,w)}(e,t)},touchend:function(e,t){!function(e,t){_(e.changedTouches,t.identifier)&&w(t)}(e,t)}};h(document,a.move,r.touchmove,r),h(document,a.cancel,r.touchend,r)}}),h(document,"movestart",function(e){if(!e.defaultPrevented&&e.moveEnabled){var t={startX:e.startX,startY:e.startY,pageX:e.pageX,pageY:e.pageY,distX:e.distX,distY:e.distY,deltaX:e.deltaX,deltaY:e.deltaY,velocityX:e.velocityX,velocityY:e.velocityY,identifier:e.identifier,targetTouches:e.targetTouches,finger:e.finger},n={target:e.target,event:t,timer:new function(e){var t=e,n=!1,o=!1;function a(e){n?(t(),r(a),o=!0,n=!1):o=!1}this.kick=function(e){n=!0,o||a()},this.end=function(e){var r=t;e&&(o?(t=n?function(){r(),e()}:e,n=!0):e())}}(function(e){(function(e,t,r){var n=r-e.timeStamp;e.distX=t.pageX-e.startX,e.distY=t.pageY-e.startY,e.deltaX=t.pageX-e.pageX,e.deltaY=t.pageY-e.pageY,e.velocityX=.3*e.velocityX+.7*e.deltaX/n,e.velocityY=.3*e.velocityY+.7*e.deltaY/n,e.pageX=t.pageX,e.pageY=t.pageY})(t,n.touch,n.timeStamp),d(n.target,"move",t)}),touch:void 0,timeStamp:e.timeStamp};void 0===e.identifier?(h(e.target,"click",m),h(document,o.move,E,n),h(document,o.end,S,n)):(n.activeTouchmove=function(e,t){!function(e,t){var r=t.event,n=t.timer,o=y(e,r);o&&(e.preventDefault(),r.targetTouches=e.targetTouches,t.touch=o,t.timeStamp=e.timeStamp,n.kick())}(e,t)},n.activeTouchend=function(e,t){k(e,t)},h(document,a.move,n.activeTouchmove,n),h(document,a.end,n.activeTouchend,n))}}),window.jQuery){var C="startX startY pageX pageY distX distY deltaX deltaY velocityX velocityY".split(" ");i.a.event.special.movestart={setup:function(){return h(this,"movestart",T),!1},teardown:function(){return u(this,"movestart",T),!1},add:D},i.a.event.special.move={setup:function(){return h(this,"movestart",A),!1},teardown:function(){return u(this,"movestart",A),!1},add:D},i.a.event.special.moveend={setup:function(){return h(this,"movestart",M),!1},teardown:function(){return u(this,"movestart",M),!1},add:D}}function T(e){e.enableMove()}function A(e){e.enableMove()}function M(e){e.enableMove()}function D(e){var t=e.handler;e.handler=function(e){for(var r,n=C.length;n--;)e[r=C[n]]=e.originalEvent[r];t.apply(this,arguments)}}},"undefined"!==typeof e&&null!==e&&e.exports?e.exports=t:t(),(r=i.a).fn.twentytwenty=function(e){return e=r.extend({default_offset_pct:.5,orientation:"horizontal",before_label:"Before",after_label:"After",no_overlay:!1,move_slider_on_hover:!1,move_with_handle_only:!0,click_to_move:!1},e),this.each(function(){var t=e.default_offset_pct,n=r(this),o=e.orientation,a="vertical"===o?"down":"left",i="vertical"===o?"up":"right";if(!e.no_overlay){n.children(".dsm-before-after-image-slider-overlay").length||n.append("<div class='dsm-before-after-image-slider-overlay'></div>");var s=n.find(".dsm-before-after-image-slider-overlay");s.children(".dsm-before-after-image-slider-before-label").length||s.append("<div class='dsm-before-after-image-slider-before-label' data-content='"+e.before_label+"'></div>"),s.children(".dsm-before-after-image-slider-after-label").length||s.append("<div class='dsm-before-after-image-slider-after-label' data-content='"+e.after_label+"'></div>")}var l=n.find("img:first"),c=n.find("img:last");n.children(".dsm-before-after-image-slider-handle").length||n.append("<div class='dsm-before-after-image-slider-handle'></div>");var p=n.find(".dsm-before-after-image-slider-handle");p.children(".dsm-before-after-image-slider-"+a+"-arrow").length||p.append("<span class='dsm-before-after-image-slider-"+a+"-arrow'></span>"),p.children(".dsm-before-after-image-slider-"+i+"-arrow").length||p.append("<span class='dsm-before-after-image-slider-"+i+"-arrow'></span>"),n.addClass("dsm-before-after-image-slider-container"),l.addClass("dsm-before-after-image-slider-before"),c.addClass("dsm-before-after-image-slider-after");var h=function(e){var t,r,a,i=(t=e,r=l.width(),a=l.height(),{w:r+"px",h:a+"px",cw:t*r+"px",ch:t*a+"px"});p.css("vertical"===o?"top":"left","vertical"===o?i.ch:i.cw),function(e){"vertical"===o?(l.css("clip","rect(0,"+e.w+","+e.ch+",0)"),c.css("clip","rect("+e.ch+","+e.w+","+e.h+",0)")):(l.css("clip","rect(0,"+e.cw+","+e.h+",0)"),c.css("clip","rect(0,"+e.w+","+e.h+","+e.cw+")")),n.css("height",e.h)}(i)},u=function(e,t){var r,n,a;return r="vertical"===o?(t-f)/_:(e-d)/m,n=0,a=1,Math.max(n,Math.min(a,r))};r(window).on("resize.twentytwenty",function(e){h(t)});var d=0,f=0,m=0,_=0,y=function(e){(e.distX>e.distY&&e.distX<-e.distY||e.distX<e.distY&&e.distX>-e.distY)&&"vertical"!==o?e.preventDefault():(e.distX<e.distY&&e.distX<-e.distY||e.distX>e.distY&&e.distX>-e.distY)&&"vertical"===o&&e.preventDefault(),n.addClass("active"),d=n.offset().left,f=n.offset().top,m=l.width(),_=l.height()},b=function(e){n.hasClass("active")&&(t=u(e.pageX,e.pageY),h(t))},g=function(){n.removeClass("active")},v=e.move_with_handle_only?p:n;v.on("movestart",y),v.on("move",b),v.on("moveend",g),!0===e.move_slider_on_hover?(n.on("mouseenter",y),n.on("mousemove",b),n.on("mouseleave",g)):n.unbind("mouseenter mousemove mouseleave"),p.on("touchmove",function(e){e.preventDefault()}),n.find("img").on("mousedown",function(e){e.preventDefault()}),!0===e.click_to_move?n.on("click",function(e){d=n.offset().left,f=n.offset().top,m=l.width(),_=l.height(),t=u(e.pageX,e.pageY),h(t)}):n.unbind("click"),r(window).trigger("resize.twentytwenty")})}}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=this.refs.init;e.orientation!==this.props.orientation&&i()(r).find(".dsm-before-after-image-slider-handle").remove(),"on"===t.no_overlay&&i()(r).find(".dsm-before-after-image-slider-overlay").remove(),e.before_label_text!==this.props.before_label_text&&i()(r).find(".dsm-before-after-image-slider-before-label").attr("data-content",this.props.before_label_text),e.after_label_text!==this.props.after_label_text&&i()(r).find(".dsm-before-after-image-slider-after-label").attr("data-content",this.props.after_label_text),i()(r).twentytwenty({default_offset_pct:this.props.default_offset_pct,orientation:this.props.orientation,before_label:this.props.before_label_text,after_label:this.props.after_label_text,no_overlay:"on"===this.props.no_overlay,move_slider_on_hover:"on"===this.props.move_slider_on_hover,move_with_handle_only:"on"===this.props.move_with_handle_only,click_to_move:"on"===this.props.click_to_move})}},{key:"renderBeforeImage",value:function(){var e=this.props;if(e.before_src)return o.a.createElement("img",{src:e.before_src,alt:e.before_alt,title:e.before_title_text})}},{key:"renderAfterImage",value:function(){var e=this.props;if(e.after_src)return o.a.createElement("img",{src:e.after_src,alt:e.after_alt,title:e.after_title_text})}},{key:"render",value:function(){var e=this.props;return o.a.createElement("div",{className:"dsm-before-after-image-slider-wrapper dsm-before-after-image-slider-".concat(e.orientation)},o.a.createElement("div",{ref:"init",className:"dsm_before_after_image_wrapper"},this.renderBeforeImage(),this.renderAfterImage()))}}])&&c(a.prototype,s),l&&c(a,l),r}();Object.defineProperty(h,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_before_after_image"}),t.a=h}).call(t,r(334)(e))},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";var n=r(0),o=r.n(n),a=r(336),i=r.n(a),s=r(18),l=r.n(s);function c(e){return(c="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})(e)}function p(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!==typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}var u=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),h(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}var r,a,s;return function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,n["Component"]),r=t,s=[{key:"css",value:function(e){return[]}}],(a=[{key:"componentDidMount",value:function(){var e=this.props,t="on"===e.lottie_loop,r="on"===e.lottie_autoplay,n=e.lottie_speed,o=e.lottie_direction,a=e.moduleInfo.address.replace(/[ .]/g,"_"),s=e.moduleInfo.type+"_"+a;!0===r&&parseInt(e.lottie_delay,10)===parseInt(e.lottie_delay,10)&&parseInt(e.lottie_delay,10);if(e.lottie_url){var l=i.a.loadAnimation({container:document.getElementById(s),renderer:"svg",loop:t,autoplay:!1,path:e.lottie_url,rendererSettings:{progressiveLoad:!1}});l.setSpeed(n),l.setDirection(o),l.setSubframe(!1);new Waypoint({element:document.getElementById(s),handler:function(t){"down"===t?setTimeout(function(){l.play()},parseInt(e.lottie_delay,10)):l.pause()},offset:e.lottie_animation_viewport})}}},{key:"componentDidUpdate",value:function(e){var t=this.props,r="on"===t.lottie_loop,n="on"===t.lottie_autoplay,o=t.lottie_speed,a=t.lottie_direction,s=t.moduleInfo.address.replace(/[ .]/g,"_"),c=t.moduleInfo.type+"_"+s;!0===n&&parseInt(t.lottie_delay,10)===parseInt(t.lottie_delay,10)&&parseInt(t.lottie_delay,10);t.lottie_url&&setTimeout(function(){l()("#"+c).empty();var e=i.a.loadAnimation({container:document.getElementById(c),renderer:"svg",loop:r,autoplay:!1,path:t.lottie_url,rendererSettings:{progressiveLoad:!1}});e.setSpeed(o),e.setDirection(a),e.setSubframe(!1);new Waypoint({element:document.getElementById(c),handler:function(r){"down"===r?setTimeout(function(){e.play()},parseInt(t.lottie_delay,10)):e.pause()},offset:t.lottie_animation_viewport})},500)}},{key:"componentWillUnmount",value:function(){i.a.loadAnimation({container:this.refs.init}).destroy()}},{key:"shouldComponentUpdate",value:function(e,t){return e.lottie_loop!==this.props.lottie_loop||e.lottie_delay!==this.props.lottie_delay||e.lottie_url!==this.props.lottie_url||e.lottie_speed!==this.props.lottie_speed||e.lottie_direction!==this.props.lottie_direction}},{key:"render",value:function(){var e=this.props,t=e.moduleInfo.address.replace(/[ .]/g,"_");return o.a.createElement("div",{ref:"init",id:"".concat(e.moduleInfo.type,"_").concat(t),className:"dsm_lottie_wrapper"})}}])&&p(r.prototype,a),s&&p(r,s),t}();Object.defineProperty(u,"slug",{configurable:!0,enumerable:!0,writable:!0,value:"dsm_lottie"}),t.a=u},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,root,factory;function _typeof(e){return(_typeof="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})(e)}"undefined"!==typeof navigator&&(root=window||{},factory=function(window){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",initialDefaultFrame=-999999,subframeEnabled=!0,expressionsPlugin,isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),cachedColors={},bm_rounder=Math.round,bm_rnd,bm_pow=Math.pow,bm_sqrt=Math.sqrt,bm_abs=Math.abs,bm_floor=Math.floor,bm_max=Math.max,bm_min=Math.min,blitter=10,BMMath={};function ProjectInterface(){return{}}!function(){var e,t=["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"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===_typeof(e)&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){bm_rnd=e?Math.round:function(e){return e}}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin=e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility=e.style.webkitBackfaceVisibility="visible",e.style.transformStyle=e.style.webkitTransformStyle=e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t,this.currentTime=currentTime}roundValues(!1);var createElementID=(_count=0,function(){return"__lottie_element_"+ ++_count}),_count;function HSVtoRGB(e,t,r){var n,o,a,i,s,l,c,p;switch(l=r*(1-t),c=r*(1-(s=6*e-(i=Math.floor(6*e)))*t),p=r*(1-(1-s)*t),i%6){case 0:n=r,o=p,a=l;break;case 1:n=c,o=r,a=l;break;case 2:n=l,o=r,a=p;break;case 3:n=l,o=c,a=r;break;case 4:n=p,o=l,a=r;break;case 5:n=r,o=l,a=c}return[n,o,a]}function RGBtoHSV(e,t,r){var n,o=Math.max(e,t,r),a=Math.min(e,t,r),i=o-a,s=0===o?0:i/o,l=o/255;switch(o){case a:n=0;break;case e:n=t-r+i*(t<r?6:0),n/=6*i;break;case t:n=r-e+2*i,n/=6*i;break;case r:n=e-t+4*i,n/=6*i}return[n,s,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1==t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e].length,n=0;n<r;n++)this._cbs[e][n](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};var createTypedArray=function(){return"function"===typeof Uint8ClampedArray&&"function"===typeof Float32Array?function(e,t){return"float32"===e?new Float32Array(t):"int16"===e?new Int16Array(t):"uint8c"===e?new Uint8ClampedArray(t):void 0}:function(e,t){var r,n=0,o=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<t;n+=1)o.push(r);return o}}();function createSizedArray(e){return Array.apply(null,{length:e})}function createNS(e){return document.createElementNS(svgNS,e)}function createTag(e){return document.createElement(e)}function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var getBlendMode=(blendModeEnums={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"},function(e){return blendModeEnums[e]||""}),blendModeEnums,Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function o(){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 a(r){if(0===r)return this;var n=e(r),o=t(r);return this._t(n,-o,0,0,o,n,0,0,0,0,1,0,0,0,0,1)}function i(r){if(0===r)return this;var n=e(r),o=t(r);return this._t(1,0,0,0,0,n,-o,0,0,o,n,0,0,0,0,1)}function s(r){if(0===r)return this;var n=e(r),o=t(r);return this._t(n,0,o,0,0,1,0,0,-o,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=e(r),o=t(r);return this._t(n,-o,0,0,o,n,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function p(e,t){return this.shear(r(e),r(t))}function h(n,o){var a=e(o),i=t(o);return this._t(a,i,0,0,-i,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(a,-i,0,0,i,a,0,0,0,0,1,0,0,0,0,1)}function u(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function d(e,t,r,n,o,a,i,s,l,c,p,h,u,d,f,m){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=n,this.props[4]=o,this.props[5]=a,this.props[6]=i,this.props[7]=s,this.props[8]=l,this.props[9]=c,this.props[10]=p,this.props[11]=h,this.props[12]=u,this.props[13]=d,this.props[14]=f,this.props[15]=m,this}function f(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function m(e,t,r,n,o,a,i,s,l,c,p,h,u,d,f,m){var _=this.props;if(1===e&&0===t&&0===r&&0===n&&0===o&&1===a&&0===i&&0===s&&0===l&&0===c&&1===p&&0===h)return _[12]=_[12]*e+_[15]*u,_[13]=_[13]*a+_[15]*d,_[14]=_[14]*p+_[15]*f,_[15]=_[15]*m,this._identityCalculated=!1,this;var y=_[0],b=_[1],g=_[2],v=_[3],w=_[4],x=_[5],E=_[6],S=_[7],k=_[8],P=_[9],C=_[10],T=_[11],A=_[12],M=_[13],D=_[14],O=_[15];return _[0]=y*e+b*o+g*l+v*u,_[1]=y*t+b*a+g*c+v*d,_[2]=y*r+b*i+g*p+v*f,_[3]=y*n+b*s+g*h+v*m,_[4]=w*e+x*o+E*l+S*u,_[5]=w*t+x*a+E*c+S*d,_[6]=w*r+x*i+E*p+S*f,_[7]=w*n+x*s+E*h+S*m,_[8]=k*e+P*o+C*l+T*u,_[9]=k*t+P*a+C*c+T*d,_[10]=k*r+P*i+C*p+T*f,_[11]=k*n+P*s+C*h+T*m,_[12]=A*e+M*o+D*l+O*u,_[13]=A*t+M*a+D*c+O*d,_[14]=A*r+M*i+D*p+O*f,_[15]=A*n+M*s+D*h+O*m,this._identityCalculated=!1,this}function _(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function y(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function b(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t]}function g(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function v(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function w(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function x(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function E(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function S(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,n=-this.props[4]/e,o=this.props[0]/e,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,i=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,s=new Matrix;return s.props[0]=t,s.props[1]=r,s.props[4]=n,s.props[5]=o,s.props[12]=a,s.props[13]=i,s}function k(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function P(e){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n[t]=k(e[t]);return n}function C(e,t,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=e[0],n[1]=e[1],n[2]=t[0],n[3]=t[1],n[4]=r[0],n[5]=r[1];else{var o=this.props[0],a=this.props[1],i=this.props[4],s=this.props[5],l=this.props[12],c=this.props[13];n[0]=e[0]*o+e[1]*i+l,n[1]=e[0]*a+e[1]*s+c,n[2]=t[0]*o+t[1]*i+l,n[3]=t[0]*a+t[1]*s+c,n[4]=r[0]*o+r[1]*i+l,n[5]=r[0]*a+r[1]*s+c}return n}function T(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function A(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function M(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=n(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function D(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function O(){var e=this.props;return"matrix("+D(e[0])+","+D(e[1])+","+D(e[4])+","+D(e[5])+","+D(e[12])+","+D(e[13])+")"}return function(){this.reset=o,this.rotate=a,this.rotateX=i,this.rotateY=s,this.rotateZ=l,this.skew=p,this.skewFromAxis=h,this.shear=c,this.scale=u,this.setTransform=d,this.translate=f,this.transform=m,this.applyToPoint=v,this.applyToX=w,this.applyToY=x,this.applyToZ=E,this.applyToPointArray=T,this.applyToTriplePoints=C,this.applyToPointStringified=A,this.toCSS=M,this.to2dCSS=O,this.clone=b,this.cloneFromProps=g,this.equals=y,this.inversePoints=P,this.inversePoint=k,this.getInverseMatrix=S,this._t=this.transform,this.isIdentity=_,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();!function(e,t){var r,n=this,o=256,a=6,i="random",s=t.pow(o,a),l=t.pow(2,52),c=2*l,p=o-1;function h(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function u(e,t){for(var r,n=e+"",o=0;o<n.length;)t[p&o]=p&(r^=19*t[p&o])+n.charCodeAt(o++);return d(t)}function d(e){return String.fromCharCode.apply(0,e)}t["seed"+i]=function(f,m,_){var y=[],b=u(function e(t,r){var n,o=[],a=_typeof(t);if(r&&"object"==a)for(n in t)try{o.push(e(t[n],r-1))}catch(e){}return o.length?o:"string"==a?t:t+"\0"}((m=!0===m?{entropy:!0}:m||{}).entropy?[f,d(e)]:null===f?function(){try{if(r)return d(r.randomBytes(o));var t=new Uint8Array(o);return(n.crypto||n.msCrypto).getRandomValues(t),d(t)}catch(t){var a=n.navigator,i=a&&a.plugins;return[+new Date,n,i,n.screen,d(e)]}}():f,3),y),g=new function(e){var t,r=e.length,n=this,a=0,i=n.i=n.j=0,s=n.S=[];for(r||(e=[r++]);a<o;)s[a]=a++;for(a=0;a<o;a++)s[a]=s[i=p&i+e[a%r]+(t=s[a])],s[i]=t;n.g=function(e){for(var t,r=0,a=n.i,i=n.j,s=n.S;e--;)t=s[a=p&a+1],r=r*o+s[p&(s[a]=s[i=p&i+t])+(s[i]=t)];return n.i=a,n.j=i,r}}(y),v=function(){for(var e=g.g(a),t=s,r=0;e<l;)e=(e+r)*o,t*=o,r=g.g(1);for(;e>=c;)e/=2,t/=2,r>>>=1;return(e+r)/t};return v.int32=function(){return 0|g.g(4)},v.quick=function(){return g.g(4)/4294967296},v.double=v,u(d(g.S),e),(m.pass||_||function(e,r,n,o){return o&&(o.S&&h(o,g),e.state=function(){return h(g,{})}),n?(t[i]=e,r):e})(v,b,"global"in m?m.global:this==t,m.state)},u(t.random(),e)}([],BMMath);var BezierFactory=function(){var e={getBezierEasing:function(e,r,n,o,a){var i=a||("bez_"+e+"_"+r+"_"+n+"_"+o).replace(/\./g,"p");if(t[i])return t[i];var s=new d([e,r,n,o]);return t[i]=s,s}},t={};var r=4,n=1e-7,o=10,a=11,i=1/(a-1),s="function"===typeof Float32Array;function l(e,t){return 1-3*t+3*e}function c(e,t){return 3*t-6*e}function p(e){return 3*e}function h(e,t,r){return((l(t,r)*e+c(t,r))*e+p(t))*e}function u(e,t,r){return 3*l(t,r)*e*e+2*c(t,r)*e+p(t)}function d(e){this._p=e,this._mSampleValues=s?new Float32Array(a):new Array(a),this._precomputed=!1,this.get=this.get.bind(this)}return d.prototype={get:function(e){var t=this._p[0],r=this._p[1],n=this._p[2],o=this._p[3];return this._precomputed||this._precompute(),t===r&&n===o?e:0===e?0:1===e?1:h(this._getTForX(e),r,o)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,e===t&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],r=0;r<a;++r)this._mSampleValues[r]=h(r*i,e,t)},_getTForX:function(e){for(var t=this._p[0],s=this._p[2],l=this._mSampleValues,c=0,p=1,d=a-1;p!==d&&l[p]<=e;++p)c+=i;var f=c+(e-l[--p])/(l[p+1]-l[p])*i,m=u(f,t,s);return m>=.001?function(e,t,n,o){for(var a=0;a<r;++a){var i=u(t,n,o);if(0===i)return t;t-=(h(t,n,o)-e)/i}return t}(e,f,t,s):0===m?f:function(e,t,r,a,i){var s,l,c=0;do{(s=h(l=t+(r-t)/2,a,i)-e)>0?r=l:t=l}while(Math.abs(s)>n&&++c<o);return l}(e,c,c+i,t,s)}},e}();function extendPrototype(e,t){var r,n,o=e.length;for(r=0;r<o;r+=1)for(var a in n=e[r].prototype)n.hasOwnProperty(a)&&(t.prototype[a]=n[a])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}function bezFunction(){Math;function e(e,t,r,n,o,a){var i=e*n+t*o+r*a-o*n-a*e-r*t;return i>-.001&&i<.001}var t=function(e,t,r,n){var o,a,i,s,l,c,p=defaultCurveSegments,h=0,u=[],d=[],f=bezier_length_pool.newElement();for(i=r.length,o=0;o<p;o+=1){for(l=o/(p-1),c=0,a=0;a<i;a+=1)s=bm_pow(1-l,3)*e[a]+3*bm_pow(1-l,2)*l*r[a]+3*(1-l)*bm_pow(l,2)*n[a]+bm_pow(l,3)*t[a],u[a]=s,null!==d[a]&&(c+=bm_pow(u[a]-d[a],2)),d[a]=u[a];c&&(h+=c=bm_sqrt(c)),f.percents[o]=l,f.lengths[o]=h}return f.addedLength=h,f};function r(e,t){this.partialLength=e,this.point=t}var n,o=(n={},function(t,o,a,i){var s=(t[0]+"_"+t[1]+"_"+o[0]+"_"+o[1]+"_"+a[0]+"_"+a[1]+"_"+i[0]+"_"+i[1]).replace(/\./g,"p");if(!n[s]){var l,c,p,h,u,d,f,m=defaultCurveSegments,_=0,y=null;2===t.length&&(t[0]!=o[0]||t[1]!=o[1])&&e(t[0],t[1],o[0],o[1],t[0]+a[0],t[1]+a[1])&&e(t[0],t[1],o[0],o[1],o[0]+i[0],o[1]+i[1])&&(m=2);var b=new function(e){this.segmentLength=0,this.points=new Array(e)}(m);for(p=a.length,l=0;l<m;l+=1){for(f=createSizedArray(p),u=l/(m-1),d=0,c=0;c<p;c+=1)h=bm_pow(1-u,3)*t[c]+3*bm_pow(1-u,2)*u*(t[c]+a[c])+3*(1-u)*bm_pow(u,2)*(o[c]+i[c])+bm_pow(u,3)*o[c],f[c]=h,null!==y&&(d+=bm_pow(f[c]-y[c],2));_+=d=bm_sqrt(d),b.points[l]=new r(d,f),y=f}b.segmentLength=_,n[s]=b}return n[s]});function a(e,t){var r=t.percents,n=t.lengths,o=r.length,a=bm_floor((o-1)*e),i=e*t.addedLength,s=0;if(a===o-1||0===a||i===n[a])return r[a];for(var l=n[a]>i?-1:1,c=!0;c;)if(n[a]<=i&&n[a+1]>i?(s=(i-n[a])/(n[a+1]-n[a]),c=!1):a+=l,a<0||a>=o-1){if(a===o-1)return r[a];c=!1}return r[a]+(r[a+1]-r[a])*s}var i=createTypedArray("float32",8);return{getSegmentsLength:function(e){var r,n=segments_length_pool.newElement(),o=e.c,a=e.v,i=e.o,s=e.i,l=e._length,c=n.lengths,p=0;for(r=0;r<l-1;r+=1)c[r]=t(a[r],a[r+1],i[r],s[r+1]),p+=c[r].addedLength;return o&&l&&(c[r]=t(a[r],a[0],i[r],s[0]),p+=c[r].addedLength),n.totalLength=p,n},getNewSegment:function(e,t,r,n,o,s,l){var c,p=a(o=o<0?0:o>1?1:o,l),h=a(s=s>1?1:s,l),u=e.length,d=1-p,f=1-h,m=d*d*d,_=p*d*d*3,y=p*p*d*3,b=p*p*p,g=d*d*f,v=p*d*f+d*p*f+d*d*h,w=p*p*f+d*p*h+p*d*h,x=p*p*h,E=d*f*f,S=p*f*f+d*h*f+d*f*h,k=p*h*f+d*h*h+p*f*h,P=p*h*h,C=f*f*f,T=h*f*f+f*h*f+f*f*h,A=h*h*f+f*h*h+h*f*h,M=h*h*h;for(c=0;c<u;c+=1)i[4*c]=Math.round(1e3*(m*e[c]+_*r[c]+y*n[c]+b*t[c]))/1e3,i[4*c+1]=Math.round(1e3*(g*e[c]+v*r[c]+w*n[c]+x*t[c]))/1e3,i[4*c+2]=Math.round(1e3*(E*e[c]+S*r[c]+k*n[c]+P*t[c]))/1e3,i[4*c+3]=Math.round(1e3*(C*e[c]+T*r[c]+A*n[c]+M*t[c]))/1e3;return i},getPointInSegment:function(e,t,r,n,o,i){var s=a(o,i),l=1-s;return[Math.round(1e3*(l*l*l*e[0]+(s*l*l+l*s*l+l*l*s)*r[0]+(s*s*l+l*s*s+s*l*s)*n[0]+s*s*s*t[0]))/1e3,Math.round(1e3*(l*l*l*e[1]+(s*l*l+l*s*l+l*l*s)*r[1]+(s*s*l+l*s*s+s*l*s)*n[1]+s*s*s*t[1]))/1e3]},buildBezierData:o,pointOnLine2D:e,pointOnLine3D:function(t,r,n,o,a,i,s,l,c){if(0===n&&0===i&&0===c)return e(t,r,o,a,s,l);var p,h=Math.sqrt(Math.pow(o-t,2)+Math.pow(a-r,2)+Math.pow(i-n,2)),u=Math.sqrt(Math.pow(s-t,2)+Math.pow(l-r,2)+Math.pow(c-n,2)),d=Math.sqrt(Math.pow(s-o,2)+Math.pow(l-a,2)+Math.pow(c-i,2));return(p=h>u?h>d?h-u-d:d-u-h:d>u?d-u-h:u-h-d)>-1e-4&&p<1e-4}}}!function(){for(var e=0,t=["ms","moz","webkit","o"],r=0;r<t.length&&!window.requestAnimationFrame;++r)window.requestAnimationFrame=window[t[r]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[t[r]+"CancelAnimationFrame"]||window[t[r]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,r){var n=(new Date).getTime(),o=Math.max(0,16-(n-e)),a=setTimeout(function(){t(n+o)},o);return e=n+o,a}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}();var bez=bezFunction();function dataFunctionManager(){function e(o,a,i){var s,l,c,h,u,d,f=o.length;for(l=0;l<f;l+=1)if("ks"in(s=o[l])&&!s.completed){if(s.completed=!0,s.tt&&(o[l-1].td=s.tt),[],-1,s.hasMask){var m=s.masksProperties;for(h=m.length,c=0;c<h;c+=1)if(m[c].pt.k.i)n(m[c].pt.k);else for(d=m[c].pt.k.length,u=0;u<d;u+=1)m[c].pt.k[u].s&&n(m[c].pt.k[u].s[0]),m[c].pt.k[u].e&&n(m[c].pt.k[u].e[0])}0===s.ty?(s.layers=t(s.refId,a),e(s.layers,a,i)):4===s.ty?r(s.shapes):5==s.ty&&p(s,i)}}function t(e,t){for(var r=0,n=t.length;r<n;){if(t[r].id===e)return t[r].layers.__used?JSON.parse(JSON.stringify(t[r].layers)):(t[r].layers.__used=!0,t[r].layers);r+=1}}function r(e){var t,o,a;for(t=e.length-1;t>=0;t-=1)if("sh"==e[t].ty){if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,o=0;o<a;o+=1)e[t].ks.k[o].s&&n(e[t].ks.k[o].s[0]),e[t].ks.k[o].e&&n(e[t].ks.k[o].e[0]);!0}else"gr"==e[t].ty&&r(e[t].it)}function n(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function o(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&void 0))}var a,i=function(){var e=[4,4,14];function t(e){var t,r,n,o=e.length;for(t=0;t<o;t+=1)5===e[t].ty&&(r=e[t],void 0,n=r.t.d,r.t.d={k:[{s:n,t:0}]})}return function(r){if(o(e,r.v)&&(t(r.layers),r.assets)){var n,a=r.assets.length;for(n=0;n<a;n+=1)r.assets[n].layers&&t(r.assets[n].layers)}}}(),s=(a=[4,7,99],function(e){if(e.chars&&!o(a,e.v)){var t,r,i,s,l,c=e.chars.length;for(t=0;t<c;t+=1)if(e.chars[t].data&&e.chars[t].data.shapes)for(i=(l=e.chars[t].data.shapes[0].it).length,r=0;r<i;r+=1)(s=l[r].ks.k).__converted||(n(l[r].ks.k),s.__converted=!0)}}),l=function(){var e=[4,1,9];function t(e){var r,n,o,a=e.length;for(r=0;r<a;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(o=e[r].c.k.length,n=0;n<o;n+=1)e[r].c.k[n].s&&(e[r].c.k[n].s[0]/=255,e[r].c.k[n].s[1]/=255,e[r].c.k[n].s[2]/=255,e[r].c.k[n].s[3]/=255),e[r].c.k[n].e&&(e[r].c.k[n].e[0]/=255,e[r].c.k[n].e[1]/=255,e[r].c.k[n].e[2]/=255,e[r].c.k[n].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(o(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),c=function(){var e=[4,4,18];function t(e){var r,n,o;for(r=e.length-1;r>=0;r-=1)if("sh"==e[r].ty){if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(o=e[r].ks.k.length,n=0;n<o;n+=1)e[r].ks.k[n].s&&(e[r].ks.k[n].s[0].c=e[r].closed),e[r].ks.k[n].e&&(e[r].ks.k[n].e[0].c=e[r].closed);!0}else"gr"==e[r].ty&&t(e[r].it)}function r(e){var r,n,o,a,i,s,l=e.length;for(n=0;n<l;n+=1){if((r=e[n]).hasMask){var c=r.masksProperties;for(a=c.length,o=0;o<a;o+=1)if(c[o].pt.k.i)c[o].pt.k.c=c[o].cl;else for(s=c[o].pt.k.length,i=0;i<s;i+=1)c[o].pt.k[i].s&&(c[o].pt.k[i].s[0].c=c[o].cl),c[o].pt.k[i].e&&(c[o].pt.k[i].e[0].c=c[o].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(o(e,t.v)&&(r(t.layers),t.assets)){var n,a=t.assets.length;for(n=0;n<a;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}();function p(e,t){0!==e.t.a.length||"m"in e.t.p||(e.singleShape=!0)}var h={completeData:function(t,r){t.__complete||(l(t),i(t),s(t),c(t),e(t.layers,t.assets,r),t.__complete=!0)}};return h.checkColors=l,h.checkChars=s,h.checkShapes=c,h.completeLayers=e,h}var dataManager=dataFunctionManager(),FontManager=function(){var e=5e3,t={w:0,size:0,shapes:[]},r=[];function n(e,t){var r=createTag("span");r.style.fontFamily=t;var n=createTag("span");n.innerHTML="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var o=n.offsetWidth;return n.style.fontFamily=e+", "+t,{node:n,w:o,parent:r}}function o(e,t){var r=createNS("text");return r.style.fontSize="100px",r.setAttribute("font-family",t.fFamily),r.setAttribute("font-style",t.fStyle),r.setAttribute("font-weight",t.fWeight),r.textContent="1",t.fClass?(r.style.fontFamily="inherit",r.setAttribute("class",t.fClass)):r.style.fontFamily=t.fFamily,e.appendChild(r),createTag("canvas").getContext("2d").font=t.fWeight+" "+t.fStyle+" 100px "+t.fFamily,r}r=r.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 a=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this.initTime=Date.now()};return a.getCombinedCharacterCodes=function(){return r},a.prototype.addChars=function(e){if(e){this.chars||(this.chars=[]);var t,r,n,o=e.length,a=this.chars.length;for(t=0;t<o;t+=1){for(r=0,n=!1;r<a;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(n=!0),r+=1;n||(this.chars.push(e[t]),a+=1)}}},a.prototype.addFonts=function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);var r,a=e.list,i=a.length,s=i;for(r=0;r<i;r+=1){var l,c,p=!0;if(a[r].loaded=!1,a[r].monoCase=n(a[r].fFamily,"monospace"),a[r].sansCase=n(a[r].fFamily,"sans-serif"),a[r].fPath){if("p"===a[r].fOrigin||3===a[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+a[r].fFamily+'"], style[f-origin="3"][f-family="'+a[r].fFamily+'"]')).length>0&&(p=!1),p){var h=createTag("style");h.setAttribute("f-forigin",a[r].fOrigin),h.setAttribute("f-origin",a[r].origin),h.setAttribute("f-family",a[r].fFamily),h.type="text/css",h.innerHTML="@font-face {font-family: "+a[r].fFamily+"; font-style: normal; src: url('"+a[r].fPath+"');}",t.appendChild(h)}}else if("g"===a[r].fOrigin||1===a[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c++)-1!==l[c].href.indexOf(a[r].fPath)&&(p=!1);if(p){var u=createTag("link");u.setAttribute("f-forigin",a[r].fOrigin),u.setAttribute("f-origin",a[r].origin),u.type="text/css",u.rel="stylesheet",u.href=a[r].fPath,document.body.appendChild(u)}}else if("t"===a[r].fOrigin||2===a[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c++)a[r].fPath===l[c].src&&(p=!1);if(p){var d=createTag("link");d.setAttribute("f-forigin",a[r].fOrigin),d.setAttribute("f-origin",a[r].origin),d.setAttribute("rel","stylesheet"),d.setAttribute("href",a[r].fPath),t.appendChild(d)}}}else a[r].loaded=!0,s-=1;a[r].helper=o(t,a[r]),a[r].cache={},this.fonts.push(a[r])}0===s?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},a.prototype.getCharData=function(e,r,n){for(var o=0,a=this.chars.length;o<a;){if(this.chars[o].ch===e&&this.chars[o].style===r&&this.chars[o].fFamily===n)return this.chars[o];o+=1}return("string"===typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&console.warn("Missing character from exported characters list: ",e,r,n),t},a.prototype.getFontByName=function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},a.prototype.measureText=function(e,t,r){var n=this.getFontByName(t),o=e.charCodeAt(0);if(!n.cache[o+1]){var a=n.helper;if(" "===e){a.textContent="|"+e+"|";var i=a.getComputedTextLength();a.textContent="||";var s=a.getComputedTextLength();n.cache[o+1]=(i-s)/100}else a.textContent=e,n.cache[o+1]=a.getComputedTextLength()/100}return n.cache[o+1]*r},a.prototype.checkLoadedFonts=function(){var t,r,n,o=this.fonts.length,a=o;for(t=0;t<o;t+=1)this.fonts[t].loaded?a-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(r=this.fonts[t].monoCase.node,n=this.fonts[t].monoCase.w,r.offsetWidth!==n?(a-=1,this.fonts[t].loaded=!0):(r=this.fonts[t].sansCase.node,n=this.fonts[t].sansCase.w,r.offsetWidth!==n&&(a-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==a&&Date.now()-this.initTime<e?setTimeout(this.checkLoadedFonts.bind(this),20):setTimeout(function(){this.isLoaded=!0}.bind(this),0)},a.prototype.loaded=function(){return this.isLoaded},a}(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function r(e,t){var r,o=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,i,s,l,c,p,h,u,d=t.lastIndex,f=d,m=this.keyframes.length-1,_=!0;_;){if(a=this.keyframes[f],i=this.keyframes[f+1],f===m-1&&e>=i.t-o){a.h&&(a=i),d=0;break}if(i.t-o>e){d=f;break}f<m-1?f+=1:(d=0,_=!1)}var y,b,g,v,w,x,E,S,k,P,C=i.t-o,T=a.t-o;if(a.to){a.bezierData||(a.bezierData=bez.buildBezierData(a.s,i.s||a.e,a.to,a.ti));var A=a.bezierData;if(e>=C||e<T){var M=e>=C?A.points.length-1:0;for(l=A.points[M].point.length,s=0;s<l;s+=1)r[s]=A.points[M].point[s]}else{a.__fnct?u=a.__fnct:(u=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,a.__fnct=u),c=u((e-T)/(C-T));var D,O=A.segmentLength*c,F=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===f?t._lastPoint:0,_=!0,p=A.points.length;_;){if(F+=A.points[h].partialLength,0===O||0===c||h===A.points.length-1){for(l=A.points[h].point.length,s=0;s<l;s+=1)r[s]=A.points[h].point[s];break}if(O>=F&&O<F+A.points[h+1].partialLength){for(D=(O-F)/A.points[h+1].partialLength,l=A.points[h].point.length,s=0;s<l;s+=1)r[s]=A.points[h].point[s]+(A.points[h+1].point[s]-A.points[h].point[s])*D;break}h<p-1?h+=1:_=!1}t._lastPoint=h,t._lastAddedLength=F-A.points[h].partialLength,t._lastKeyframeIndex=f}}else{var I,j,z,R,B;if(m=a.s.length,y=i.s||a.e,this.sh&&1!==a.h)if(e>=C)r[0]=y[0],r[1]=y[1],r[2]=y[2];else if(e<=T)r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2];else{var L=n(a.s),N=n(y);b=r,g=function(e,t,r){var n,o,a,i,s,l=[],c=e[0],p=e[1],h=e[2],u=e[3],d=t[0],f=t[1],m=t[2],_=t[3];(o=c*d+p*f+h*m+u*_)<0&&(o=-o,d=-d,f=-f,m=-m,_=-_);1-o>1e-6?(n=Math.acos(o),a=Math.sin(n),i=Math.sin((1-r)*n)/a,s=Math.sin(r*n)/a):(i=1-r,s=r);return l[0]=i*c+s*d,l[1]=i*p+s*f,l[2]=i*h+s*m,l[3]=i*u+s*_,l}(L,N,(e-T)/(C-T)),v=g[0],w=g[1],x=g[2],E=g[3],S=Math.atan2(2*w*E-2*v*x,1-2*w*w-2*x*x),k=Math.asin(2*v*w+2*x*E),P=Math.atan2(2*v*E-2*w*x,1-2*v*v-2*x*x),b[0]=S/degToRads,b[1]=k/degToRads,b[2]=P/degToRads}else for(f=0;f<m;f+=1)1!==a.h&&(e>=C?c=1:e<T?c=0:(a.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[f]?u=a.__fnct[f]:(I="undefined"===typeof a.o.x[f]?a.o.x[0]:a.o.x[f],j="undefined"===typeof a.o.y[f]?a.o.y[0]:a.o.y[f],z="undefined"===typeof a.i.x[f]?a.i.x[0]:a.i.x[f],R="undefined"===typeof a.i.y[f]?a.i.y[0]:a.i.y[f],u=BezierFactory.getBezierEasing(I,j,z,R).get,a.__fnct[f]=u)):a.__fnct?u=a.__fnct:(I=a.o.x,j=a.o.y,z=a.i.x,R=a.i.y,u=BezierFactory.getBezierEasing(I,j,z,R).get,a.__fnct=u),c=u((e-T)/(C-T)))),y=i.s||a.e,B=1===a.h?a.s[f]:a.s[f]+(y[f]-a.s[f])*c,"multidimensional"===this.propType?r[f]=B:r=B}return t.lastIndex=d,r}function n(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,o=Math.cos(t/2),a=Math.cos(r/2),i=Math.cos(n/2),s=Math.sin(t/2),l=Math.sin(r/2),c=Math.sin(n/2);return[s*l*i+o*a*c,s*a*i+o*l*c,o*l*i-s*a*c,o*a*i-s*l*c]}function o(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=n&&t>=n||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var o=this.interpolateValue(t,this._caching);this.pv=o}return this._caching.lastFrame=t,this.pv}function a(e){var r;if("unidimensional"===this.propType)r=e*this.mult,t(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var n=0,o=this.v.length;n<o;)r=e[n]*this.mult,t(this.v[n]-r)>1e-5&&(this.v[n]=r,this._mdf=!0),n+=1}function i(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=this._isFirstFrame;var e,t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function s(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}return{getProp:function(t,n,l,c,p){var h;if(n.k.length)if("number"===typeof n.k[0])h=new function(e,t,r,n){this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var o,l=t.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),createTypedArray("float32",l),this.vel=createTypedArray("float32",l),o=0;o<l;o+=1)this.v[o]=t.k[o]*this.mult,this.pv[o]=t.k[o];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=i,this.setVValue=a,this.addEffect=s}(t,n,c,p);else switch(l){case 0:h=new function(t,n,l,c){this.propType="unidimensional",this.keyframes=n.k,this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=n,this.mult=l||1,this.elem=t,this.container=c,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=i,this.setVValue=a,this.interpolateValue=r,this.effectsSequence=[o.bind(this)],this.addEffect=s}(t,n,c,p);break;case 1:h=new function(t,n,l,c){this.propType="multidimensional";var p,h,u,d,f,m=n.k.length;for(p=0;p<m-1;p+=1)n.k[p].to&&n.k[p].s&&n.k[p+1]&&n.k[p+1].s&&(h=n.k[p].s,u=n.k[p+1].s,d=n.k[p].to,f=n.k[p].ti,(2===h.length&&(h[0]!==u[0]||h[1]!==u[1])&&bez.pointOnLine2D(h[0],h[1],u[0],u[1],h[0]+d[0],h[1]+d[1])&&bez.pointOnLine2D(h[0],h[1],u[0],u[1],u[0]+f[0],u[1]+f[1])||3===h.length&&(h[0]!==u[0]||h[1]!==u[1]||h[2]!==u[2])&&bez.pointOnLine3D(h[0],h[1],h[2],u[0],u[1],u[2],h[0]+d[0],h[1]+d[1],h[2]+d[2])&&bez.pointOnLine3D(h[0],h[1],h[2],u[0],u[1],u[2],u[0]+f[0],u[1]+f[1],u[2]+f[2]))&&(n.k[p].to=null,n.k[p].ti=null),h[0]===u[0]&&h[1]===u[1]&&0===d[0]&&0===d[1]&&0===f[0]&&0===f[1]&&(2===h.length||h[2]===u[2]&&0===d[2]&&0===f[2])&&(n.k[p].to=null,n.k[p].ti=null));this.effectsSequence=[o.bind(this)],this.keyframes=n.k,this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=t,this.container=c,this.comp=t.comp,this.getValue=i,this.setVValue=a,this.interpolateValue=r,this.frameId=-1;var _=n.k[0].s.length;for(this.v=createTypedArray("float32",_),this.pv=createTypedArray("float32",_),p=0;p<_;p+=1)this.v[p]=e,this.pv[p]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",_)},this.addEffect=s}(t,n,c,p)}else h=new function(e,t,r,n){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=i,this.setVValue=a,this.addEffect=s}(t,n,c,p);return h.effectsSequence.length&&p.addDynamicProperty(h),h}}}(),TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var n,o=t.or.k.length;for(n=0;n<o;n+=1)t.or.k[n].to=t.or.k[n].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){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 r,n,o=this.elem.globalData.frameRate;if(this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(r=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/o,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/o,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(r=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/o,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/o,0)):(r=this.p.pv,n=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/o,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){r=[],n=[];var a=this.px,i=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(r[0]=a.getValueAtTime((a.keyframes[0].t+.01)/o,0),r[1]=i.getValueAtTime((i.keyframes[0].t+.01)/o,0),n[0]=a.getValueAtTime(a.keyframes[0].t/o,0),n[1]=i.getValueAtTime(i.keyframes[0].t/o,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(r[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/o,0),r[1]=i.getValueAtTime(i.keyframes[i.keyframes.length-1].t/o,0),n[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/o,0),n[1]=i.getValueAtTime((i.keyframes[i.keyframes.length-1].t-.01)/o,0)):(r=[a.pv,i.pv],n[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/o,a.offsetTime),n[1]=i.getValueAtTime((i._caching.lastFrame+i.offsetTime-.01)/o,i.offsetTime))}else r=n=e;this.v.rotate(-Math.atan2(r[1]-n[1],r[0]-n[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.a.k&&(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}if(this.r){if(this.r.effectsSequence.length)return;this.pre.rotate(-this.r.v),this.appliedTransformations=4}else 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,r,n){return new t(e,r,n)}}}();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(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=point_pool.newElement(),this.o[r]=point_pool.newElement(),this.i[r]=point_pool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},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(e,t,r,n,o){var a;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o}(!a[n]||a[n]&&!o)&&(a[n]=point_pool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,o,a,i,s){this.setXYAt(e,t,"v",i,s),this.setXYAt(r,n,"o",i,s),this.setXYAt(o,a,"i",i,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,o=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),o=1);var a,i=this._length-1,s=this._length;for(a=o;a<s;a+=1)e.setTripleAt(t[i][0],t[i][1],n[i][0],n[i][1],r[i][0],r[i][1],a,!1),i-=1;return e};var ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var n,o,a,i,s,l,c,p,h,u=r.lastIndex,d=this.keyframes;if(e<d[0].t-this.offsetTime)n=d[0].s[0],a=!0,u=0;else if(e>=d[d.length-1].t-this.offsetTime)n=d[d.length-1].s?d[d.length-1].s[0]:d[d.length-2].e[0],a=!0;else{for(var f,m,_=u,y=d.length-1,b=!0;b&&(f=d[_],!((m=d[_+1]).t-this.offsetTime>e));)_<y-1?_+=1:b=!1;if(u=_,!(a=1===f.h)){if(e>=m.t-this.offsetTime)p=1;else if(e<f.t-this.offsetTime)p=0;else{var g;f.__fnct?g=f.__fnct:(g=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,f.__fnct=g),p=g((e-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}o=m.s?m.s[0]:f.e[0]}n=f.s[0]}for(l=t._length,c=n.i[0].length,r.lastIndex=u,i=0;i<l;i+=1)for(s=0;s<c;s+=1)h=a?n.i[i][s]:n.i[i][s]+(o.i[i][s]-n.i[i][s])*p,t.i[i][s]=h,h=a?n.o[i][s]:n.o[i][s]+(o.o[i][s]-n.o[i][s])*p,t.o[i][s]=h,h=a?n.v[i][s]:n.v[i][s]+(o.v[i][s]-n.v[i][s])*p,t.v[i][s]=h}function r(){this.paths=this.localShapeCollection}function n(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,n=e._length;for(r=0;r<n;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shape_pool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{this.lock=!0,this._mdf=!1;var e,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k,r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function a(e,t,n){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var o=3===n?t.pt.k:t.ks.k;this.v=shape_pool.clone(o),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=r,this.effectsSequence=[]}function i(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function s(t,n,o){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===o?n.pt.k:n.ks.k,this.k=!0,this.kf=!0;var a=this.keyframes[0].s[0].i.length;this.keyframes[0].s[0].i[0].length;this.v=shape_pool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,a),this.pv=shape_pool.clone(this.v),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=r,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[function(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,o=this._caching.lastFrame;return o!==e&&(o<r&&t<r||o>n&&t>n)||(this._caching.lastIndex=o<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}.bind(this)]}a.prototype.interpolateShape=t,a.prototype.getValue=o,a.prototype.setVValue=n,a.prototype.addEffect=i,s.prototype.getValue=o,s.prototype.interpolateShape=t,s.prototype.setVValue=n,s.prototype.addEffect=i;var l=function(){var e=roundCorner;function t(e,t){this.v=shape_pool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,o=this.s.v[1]/2,a=3!==this.d,i=this.v;i.v[0][0]=t,i.v[0][1]=r-o,i.v[1][0]=a?t+n:t-n,i.v[1][1]=r,i.v[2][0]=t,i.v[2][1]=r+o,i.v[3][0]=a?t-n:t+n,i.v[3][1]=r,i.i[0][0]=a?t-n*e:t+n*e,i.i[0][1]=r-o,i.i[1][0]=a?t+n:t-n,i.i[1][1]=r-o*e,i.i[2][0]=a?t+n*e:t-n*e,i.i[2][1]=r+o,i.i[3][0]=a?t-n:t+n,i.i[3][1]=r+o*e,i.o[0][0]=a?t+n*e:t-n*e,i.o[0][1]=r-o,i.o[1][0]=a?t+n:t-n,i.o[1][1]=r+o*e,i.o[2][0]=a?t-n*e:t+n*e,i.o[2][1]=r+o,i.o[3][0]=a?t-n:t+n,i.o[3][1]=r-o*e}},extendPrototype([DynamicPropertyContainer],t),t}(),c=function(){function e(e,t){this.v=shape_pool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:r,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,n,o=2*Math.floor(this.pt.v),a=2*Math.PI/o,i=!0,s=this.or.v,l=this.ir.v,c=this.os.v,p=this.is.v,h=2*Math.PI*s/(2*o),u=2*Math.PI*l/(2*o),d=-Math.PI/2;d+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<o;e+=1){t=i?s:l,r=i?c:p,n=i?h:u;var m=t*Math.cos(d),_=t*Math.sin(d),y=0===m&&0===_?0:_/Math.sqrt(m*m+_*_),b=0===m&&0===_?0:-m/Math.sqrt(m*m+_*_);m+=+this.p.v[0],_+=+this.p.v[1],this.v.setTripleAt(m,_,m-y*n*r*f,_-b*n*r*f,m+y*n*r*f,_+b*n*r*f,e,!0),i=!i,d+=a*f}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,n=this.or.v,o=this.os.v,a=2*Math.PI*n/(4*t),i=-Math.PI/2,s=3===this.data.d?-1:1;for(i+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=n*Math.cos(i),c=n*Math.sin(i),p=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),h=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-p*a*o*s,c-h*a*o*s,l+p*a*o*s,c+h*a*o*s,e,!0),i+=r*s}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),p=function(){function e(e,t){this.v=shape_pool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollection_pool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,o=bm_min(r,n,this.r.v),a=o*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-n+o,e+r,t-n+o,e+r,t-n+a,0,!0),this.v.setTripleAt(e+r,t+n-o,e+r,t+n-a,e+r,t+n-o,1,!0),0!==o?(this.v.setTripleAt(e+r-o,t+n,e+r-o,t+n,e+r-a,t+n,2,!0),this.v.setTripleAt(e-r+o,t+n,e-r+a,t+n,e-r+o,t+n,3,!0),this.v.setTripleAt(e-r,t+n-o,e-r,t+n-o,e-r,t+n-a,4,!0),this.v.setTripleAt(e-r,t-n+o,e-r,t-n+a,e-r,t-n+o,5,!0),this.v.setTripleAt(e-r+o,t-n,e-r+o,t-n,e-r+a,t-n,6,!0),this.v.setTripleAt(e+r-o,t-n,e+r-a,t-n,e+r-o,t-n,7,!0)):(this.v.setTripleAt(e-r,t+n,e-r+a,t+n,e-r,t+n,2),this.v.setTripleAt(e-r,t-n,e-r,t-n+a,e-r,t-n,3))):(this.v.setTripleAt(e+r,t-n+o,e+r,t-n+a,e+r,t-n+o,0,!0),0!==o?(this.v.setTripleAt(e+r-o,t-n,e+r-o,t-n,e+r-a,t-n,1,!0),this.v.setTripleAt(e-r+o,t-n,e-r+a,t-n,e-r+o,t-n,2,!0),this.v.setTripleAt(e-r,t-n+o,e-r,t-n+o,e-r,t-n+a,3,!0),this.v.setTripleAt(e-r,t+n-o,e-r,t+n-a,e-r,t+n-o,4,!0),this.v.setTripleAt(e-r+o,t+n,e-r+o,t+n,e-r+a,t+n,5,!0),this.v.setTripleAt(e+r-o,t+n,e+r-a,t+n,e+r-o,t+n,6,!0),this.v.setTripleAt(e+r,t+n-o,e+r,t+n-o,e+r,t+n-a,7,!0)):(this.v.setTripleAt(e-r,t-n,e-r+a,t-n,e-r,t-n,1,!0),this.v.setTripleAt(e-r,t+n,e-r,t+n-a,e-r,t+n,2,!0),this.v.setTripleAt(e+r,t+n,e+r-a,t+n,e+r,t+n,3,!0)))},getValue:function(e){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:r},extendPrototype([DynamicPropertyContainer],e),e}();var h={getShapeProp:function(e,t,r){var n;return 3===r||4===r?n=(3===r?t.pt:t.ks).k.length?new s(e,t,r):new a(e,t,r):5===r?n=new p(e,t):6===r?n=new l(e,t):7===r&&(n=new c(e,t)),n.k&&e.addDynamicProperty(n),n},getConstructorFunction:function(){return a},getKeyframedConstructorFunction:function(){return s}};return h}(),ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,n){return new t[e](r,n)},e}();function ShapeModifier(){}function TrimModifier(){}function RoundCornersModifier(){}function RepeaterModifier(){}function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}function DashProperty(e,t,r,n){this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var o,a,i=t.length||0;for(o=0;o<i;o+=1)a=PropertyFactory.getProp(e,t[o].v,0,0,this),this.k=a.k||this.k,this.dataProps[o]={n:t[o].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var n=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollection_pool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),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),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,n,o){var a=[];t<=1?a.push({s:e,e:t}):e>=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var i,s,l=[],c=a.length;for(i=0;i<c;i+=1){var p,h;if((s=a[i]).e*o<n||s.s*o>n+r);else p=s.s*o<=n?0:(s.s*o-n)/r,h=s.e*o>=n+r?1:(s.e*o-n)/r,l.push([p,h])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segments_length_pool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,n;if(this._mdf||e){var o=this.o.v%360/360;if(o<0&&(o+=1),(t=(this.s.v>1?1:this.s.v<0?0:this.s.v)+o)>(r=(this.e.v>1?1:this.e.v<0?0:this.e.v)+o)){var a=t;t=r,r=a}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var i,s,l,c,p,h,u=this.shapes.length,d=0;if(r===t)for(i=0;i<u;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection;else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(i=0;i<u;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var f,m,_=[];for(i=0;i<u;i+=1)if((f=this.shapes[i]).shape._mdf||this._mdf||e||2===this.m){if(l=(n=f.shape.paths)._length,h=0,!f.shape._mdf&&f.pathsData.length)h=f.totalShapeLength;else{for(c=this.releasePathsData(f.pathsData),s=0;s<l;s+=1)p=bez.getSegmentsLength(n.shapes[s]),c.push(p),h+=p.totalLength;f.totalShapeLength=h,f.pathsData=c}d+=h,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var y,b=t,g=r,v=0;for(i=u-1;i>=0;i-=1)if((f=this.shapes[i]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&u>1?(y=this.calculateShapeEdges(t,r,f.totalShapeLength,v,d),v+=f.totalShapeLength):y=[[b,g]],l=y.length,s=0;s<l;s+=1){b=y[s][0],g=y[s][1],_.length=0,g<=1?_.push({s:f.totalShapeLength*b,e:f.totalShapeLength*g}):b>=1?_.push({s:f.totalShapeLength*(b-1),e:f.totalShapeLength*(g-1)}):(_.push({s:f.totalShapeLength*b,e:f.totalShapeLength}),_.push({s:0,e:f.totalShapeLength*(g-1)}));var w=this.addShapes(f,_[0]);if(_[0].s!==_[0].e){if(_.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var x=w.pop();this.addPaths(w,m),w=this.addShapes(f,_[1],x)}else this.addPaths(w,m),w=this.addShapes(f,_[1]);this.addPaths(w,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,o,a,i){o.setXYAt(t[0],t[1],"o",a),o.setXYAt(r[0],r[1],"i",a+1),i&&o.setXYAt(e[0],e[1],"v",a),o.setXYAt(n[0],n[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var n,o,a,i,s,l,c,p,h=e.pathsData,u=e.shape.paths.shapes,d=e.shape.paths._length,f=0,m=[],_=!0;for(r?(s=r._length,p=r._length):(r=shape_pool.newElement(),s=0,p=0),m.push(r),n=0;n<d;n+=1){for(l=h[n].lengths,r.c=u[n].c,a=u[n].c?l.length:l.length+1,o=1;o<a;o+=1)if(f+(i=l[o-1]).addedLength<t.s)f+=i.addedLength,r.c=!1;else{if(f>t.e){r.c=!1;break}t.s<=f&&t.e>=f+i.addedLength?(this.addSegment(u[n].v[o-1],u[n].o[o-1],u[n].i[o],u[n].v[o],r,s,_),_=!1):(c=bez.getNewSegment(u[n].v[o-1],u[n].v[o],u[n].o[o-1],u[n].i[o],(t.s-f)/i.addedLength,(t.e-f)/i.addedLength,l[o-1]),this.addSegmentFromArray(c,r,s,_),_=!1,r.c=!1),f+=i.addedLength,s+=1}if(u[n].c&&l.length){if(i=l[o-1],f<=t.e){var y=l[o-1].addedLength;t.s<=f&&t.e>=f+y?(this.addSegment(u[n].v[o-1],u[n].o[o-1],u[n].i[0],u[n].v[0],r,s,_),_=!1):(c=bez.getNewSegment(u[n].v[o-1],u[n].v[0],u[n].o[o-1],u[n].i[0],(t.s-f)/y,(t.e-f)/y,l[o-1]),this.addSegmentFromArray(c,r,s,_),_=!1,r.c=!1)}else r.c=!1;f+=i.addedLength,s+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>t.e)break;n<d-1&&(r=shape_pool.newElement(),_=!0,m.push(r),s=0)}return m},ShapeModifiers.registerModifier("tm",TrimModifier),extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r=shape_pool.newElement();r.c=e.c;var n,o,a,i,s,l,c,p,h,u,d,f,m,_=e._length,y=0;for(n=0;n<_;n+=1)o=e.v[n],i=e.o[n],a=e.i[n],o[0]===i[0]&&o[1]===i[1]&&o[0]===a[0]&&o[1]===a[1]?0!==n&&n!==_-1||e.c?(s=0===n?e.v[_-1]:e.v[n-1],c=(l=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)))?Math.min(l/2,t)/l:0,p=f=o[0]+(s[0]-o[0])*c,h=m=o[1]-(o[1]-s[1])*c,u=p-(p-o[0])*roundCorner,d=h-(h-o[1])*roundCorner,r.setTripleAt(p,h,u,d,f,m,y),y+=1,s=n===_-1?e.v[0]:e.v[n+1],c=(l=Math.sqrt(Math.pow(o[0]-s[0],2)+Math.pow(o[1]-s[1],2)))?Math.min(l/2,t)/l:0,p=u=o[0]+(s[0]-o[0])*c,h=d=o[1]+(s[1]-o[1])*c,f=p-(p-o[0])*roundCorner,m=h-(h-o[1])*roundCorner,r.setTripleAt(p,h,u,d,f,m,y),y+=1):(r.setTripleAt(o[0],o[1],i[0],i[1],a[0],a[1],y),y+=1):(r.setTripleAt(e.v[n][0],e.v[n][1],e.o[n][0],e.o[n][1],e.i[n][0],e.i[n][1],y),y+=1);return r},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,o,a,i,s=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<s;r+=1){if((a=this.shapes[r]).shape.paths,i=a.localShapeCollection,a.shape._mdf||this._mdf||e)for(i.releaseShapes(),a.shape._mdf=!0,t=a.shape.paths.shapes,o=a.shape.paths._length,n=0;n<o;n+=1)i.addShape(this.processPath(t[n],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},ShapeModifiers.registerModifier("rd",RoundCornersModifier),extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,n,o,a){var i=a?-1:1,s=n.s.v[0]+(1-n.s.v[0])*(1-o),l=n.s.v[1]+(1-n.s.v[1])*(1-o);e.translate(n.p.v[0]*i*o,n.p.v[1]*i*o,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*i*o),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(a?1/s:s,a?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);for(;r>0;)r-=1,this._elements.unshift(t[r]),1;this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){e.length;var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,o,a;if(this._mdf||e){var i,s=Math.ceil(this.c.v);if(this._groups.length<s){for(;this._groups.length<s;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.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,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes()}for(a=0,n=0;n<=this._groups.length-1;n+=1)i=a<s,this._groups[n]._render=i,this.changeGroupRender(this._groups[n].it,i),a+=1;this._currentCopies=s;var c=this.o.v,p=c%1,h=c>0?Math.floor(c):Math.ceil(c),u=(this.tr.v.props,this.pMatrix.props),d=this.rMatrix.props,f=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var m,_,y=0;if(c>0){for(;y<h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),y+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),y+=p)}else if(c<0){for(;y>h;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),y-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),y-=p)}for(n=1===this.data.m?0:this._currentCopies-1,o=1===this.data.m?1:-1,a=this._currentCopies;a;){if(_=(r=(t=this.elemsData[n].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=this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==y){for((0!==n&&1===o||n!==this._currentCopies-1&&-1===o)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[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(u[0],u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15]),m=0;m<_;m+=1)r[m]=this.matrix.props[m];this.matrix.reset()}else for(this.matrix.reset(),m=0;m<_;m+=1)r[m]=this.matrix.props[m];y+=1,a-=1,n+=o}}else for(a=this._currentCopies,n=0,o=1;a;)r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,a-=1,n+=o},RepeaterModifier.prototype.addShape=function(){},ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shape_pool.release(this.shapes[e]);this._length=0},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!=this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=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;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,n,o=4*this.data.p;for(t=0;t<o;t+=1)r=t%4===0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(o=this.prop.v.length,t=4*this.data.p;t<o;t+=1)r=t%2===0?100:1,n=t%2===0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty);var buildShapeString=function(e,t,r,n){if(0===t)return"";var o,a=e.o,i=e.i,s=e.v,l=" M"+n.applyToPointStringified(s[0][0],s[0][1]);for(o=1;o<t;o+=1)l+=" C"+n.applyToPointStringified(a[o-1][0],a[o-1][1])+" "+n.applyToPointStringified(i[o][0],i[o][1])+" "+n.applyToPointStringified(s[o][0],s[o][1]);return r&&t&&(l+=" C"+n.applyToPointStringified(a[o-1][0],a[o-1][1])+" "+n.applyToPointStringified(i[0][0],i[0][1])+" "+n.applyToPointStringified(s[0][0],s[0][1]),l+="z"),l},ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(t){var r=function(e,t,r){var n="";if(e.e)n=e.p;else if(t){var o=e.p;-1!==o.indexOf("images/")&&(o=o.split("/")[1]),n=t+o}else n=r,n+=e.u?e.u:"",n+=e.p;return n}(t,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded.bind(this),!1),n.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),n.src=r;var o={img:n,assetData:t};return o}function n(e,t){this.imagesLoadedCb=t;var r,n=e.length;for(r=0;r<n;r+=1)e[r].layers||(this.totalImages+=1,this.images.push(this._createImageData(e[r])))}function o(e){this.path=e||""}function a(e){this.assetsPath=e||""}function i(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}}function s(){this.imagesLoadedCb=null,this.images.length=0}function l(){return this.totalImages===this.loadedAssets}return function(){this.loadAssets=n,this.setAssetsPath=a,this.setPath=o,this.loaded=l,this.destroy=s,this.getImage=i,this._createImageData=r,this._imageLoaded=t,this.assetsPath="",this.path="",this.totalImages=0,this.loadedAssets=0,this.imagesLoadedCb=null,this.images=[]}}(),featureSupport=function(){var e={maskType:!0};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),e}(),filtersFactory=function(){var e={};return e.createFilter=function(e){var t=createNS("filter");return t.setAttribute("id",e),t.setAttribute("filterUnits","objectBoundingBox"),t.setAttribute("x","0%"),t.setAttribute("y","0%"),t.setAttribute("width","100%"),t.setAttribute("height","100%"),t},e.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},e}(),assetLoader=function(){function e(e){return e.response&&"object"===_typeof(e.response)?e.response:e.response&&"string"===typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):void 0}return{load:function(t,r,n){var o,a=new XMLHttpRequest;a.open("GET",t,!0);try{a.responseType="json"}catch(e){}a.send(),a.onreadystatechange=function(){if(4==a.readyState)if(200==a.status)o=e(a),r(o);else try{o=e(a),r(o)}catch(e){n&&n(e)}}}}}();function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function TextAnimatorDataProperty(e,t,r){var n={propType:!1},o=PropertyFactory.getProp,a=t.a;this.a={r:a.r?o(e,a.r,0,degToRads,r):n,rx:a.rx?o(e,a.rx,0,degToRads,r):n,ry:a.ry?o(e,a.ry,0,degToRads,r):n,sk:a.sk?o(e,a.sk,0,degToRads,r):n,sa:a.sa?o(e,a.sa,0,degToRads,r):n,s:a.s?o(e,a.s,1,.01,r):n,a:a.a?o(e,a.a,1,0,r):n,o:a.o?o(e,a.o,0,.01,r):n,p:a.p?o(e,a.p,1,0,r):n,sw:a.sw?o(e,a.sw,0,0,r):n,sc:a.sc?o(e,a.sc,1,0,r):n,fc:a.fc?o(e,a.fc,1,0,r):n,fh:a.fh?o(e,a.fh,0,0,r):n,fs:a.fs?o(e,a.fs,0,.01,r):n,fb:a.fb?o(e,a.fb,0,.01,r):n,t:a.t?o(e,a.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function LetterProps(e,t,r,n,o,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=o,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,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)}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:this._textData.p.r,m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,o,a,i,s,l,c,p,h,u,d,f,m,_,y,b,g,v,w=this._moreOptions.alignment.v,x=this._animatorsData,E=this._textData,S=this.mHelper,k=this._renderType,P=this.renderedLetters.length,C=(this.data,e.l);if(this._hasMaskedPath){if(v=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,A=v.v;for(this._pathData.r&&(A=A.reverse()),i={tLength:0,segments:[]},a=A._length-1,y=0,o=0;o<a;o+=1)T=bez.buildBezierData(A.v[o],A.v[o+1],[A.o[o][0]-A.v[o][0],A.o[o][1]-A.v[o][1]],[A.i[o+1][0]-A.v[o+1][0],A.i[o+1][1]-A.v[o+1][1]]),i.tLength+=T.segmentLength,i.segments.push(T),y+=T.segmentLength;o=a,v.v.c&&(T=bez.buildBezierData(A.v[o],A.v[0],[A.o[o][0]-A.v[o][0],A.o[o][1]-A.v[o][1]],[A.i[0][0]-A.v[0][0],A.i[0][1]-A.v[0][1]]),i.tLength+=T.segmentLength,i.segments.push(T),y+=T.segmentLength),this._pathData.pi=i}if(i=this._pathData.pi,s=this._pathData.f.v,u=0,h=1,c=0,p=!0,m=i.segments,s<0&&v.v.c)for(i.tLength<Math.abs(s)&&(s=-Math.abs(s)%i.tLength),h=(f=m[u=m.length-1].points).length-1;s<0;)s+=f[h].partialLength,(h-=1)<0&&(h=(f=m[u-=1].points).length-1);d=(f=m[u].points)[h-1],_=(l=f[h]).partialLength}a=C.length,r=0,n=0;var M,D,O,F,I=1.2*e.finalSize*.714,j=!0;O=x.length;var z,R,B,L,N,V,q,G,H,W,U,Y,X,$=-1,K=s,J=u,Z=h,Q=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ne=0,oe=2===e.j?-.5:-1,ae=0,ie=!0;for(o=0;o<a;o+=1)if(C[o].n){for(re&&(re+=ne);ae<o;)C[ae].animatorJustifyOffset=re,ae+=1;re=0,ie=!0}else{for(D=0;D<O;D+=1)(M=x[D].a).t.propType&&(ie&&2===e.j&&(ne+=M.t.v*oe),(z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?re+=M.t.v*z[0]*oe:re+=M.t.v*z*oe);ie=!1}for(re&&(re+=ne);ae<o;)C[ae].animatorJustifyOffset=re,ae+=1}for(o=0;o<a;o+=1){if(S.reset(),N=1,C[o].n)r=0,n+=e.yOffset,n+=j?1:0,s=K,j=!1,0,this._hasMaskedPath&&(h=Z,d=(f=m[u=J].points)[h-1],_=(l=f[h]).partialLength,c=0),X=W=Y=ee="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==C[o].line){switch(e.j){case 1:s+=y-e.lineWidths[C[o].line];break;case 2:s+=(y-e.lineWidths[C[o].line])/2}Q=C[o].line}$!==C[o].ind&&(C[$]&&(s+=C[$].extra),s+=C[o].an/2,$=C[o].ind),s+=w[0]*C[o].an/200;var se=0;for(D=0;D<O;D+=1)(M=x[D].a).p.propType&&((z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?se+=M.p.v[0]*z[0]:se+=M.p.v[0]*z),M.a.propType&&((z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?se+=M.a.v[0]*z[0]:se+=M.a.v[0]*z);for(p=!0;p;)c+_>=s+se||!f?(b=(s+se-c)/l.partialLength,B=d.point[0]+(l.point[0]-d.point[0])*b,L=d.point[1]+(l.point[1]-d.point[1])*b,S.translate(-w[0]*C[o].an/200,-w[1]*I/100),p=!1):f&&(c+=l.partialLength,(h+=1)>=f.length&&(h=0,m[u+=1]?f=m[u].points:v.v.c?(h=0,f=m[u=0].points):(c-=l.partialLength,f=null)),f&&(d=l,_=(l=f[h]).partialLength));R=C[o].an/2-C[o].add,S.translate(-R,0,0)}else R=C[o].an/2-C[o].add,S.translate(-R,0,0),S.translate(-w[0]*C[o].an/200,-w[1]*I/100,0);for(C[o].l/2,D=0;D<O;D+=1)(M=x[D].a).t.propType&&(z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?z.length?s+=M.t.v*z[0]:s+=M.t.v*z:z.length?r+=M.t.v*z[0]:r+=M.t.v*z));for(C[o].l/2,e.strokeWidthAnim&&(q=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(G=[e.fc[0],e.fc[1],e.fc[2]]),D=0;D<O;D+=1)(M=x[D].a).a.propType&&((z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?S.translate(-M.a.v[0]*z[0],-M.a.v[1]*z[1],M.a.v[2]*z[2]):S.translate(-M.a.v[0]*z,-M.a.v[1]*z,M.a.v[2]*z));for(D=0;D<O;D+=1)(M=x[D].a).s.propType&&((z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars)).length?S.scale(1+(M.s.v[0]-1)*z[0],1+(M.s.v[1]-1)*z[1],1):S.scale(1+(M.s.v[0]-1)*z,1+(M.s.v[1]-1)*z,1));for(D=0;D<O;D+=1){if(M=x[D].a,z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars),M.sk.propType&&(z.length?S.skewFromAxis(-M.sk.v*z[0],M.sa.v*z[1]):S.skewFromAxis(-M.sk.v*z,M.sa.v*z)),M.r.propType&&(z.length?S.rotateZ(-M.r.v*z[2]):S.rotateZ(-M.r.v*z)),M.ry.propType&&(z.length?S.rotateY(M.ry.v*z[1]):S.rotateY(M.ry.v*z)),M.rx.propType&&(z.length?S.rotateX(M.rx.v*z[0]):S.rotateX(M.rx.v*z)),M.o.propType&&(z.length?N+=(M.o.v*z[0]-N)*z[0]:N+=(M.o.v*z-N)*z),e.strokeWidthAnim&&M.sw.propType&&(z.length?q+=M.sw.v*z[0]:q+=M.sw.v*z),e.strokeColorAnim&&M.sc.propType)for(H=0;H<3;H+=1)z.length?V[H]=V[H]+(M.sc.v[H]-V[H])*z[0]:V[H]=V[H]+(M.sc.v[H]-V[H])*z;if(e.fillColorAnim&&e.fc){if(M.fc.propType)for(H=0;H<3;H+=1)z.length?G[H]=G[H]+(M.fc.v[H]-G[H])*z[0]:G[H]=G[H]+(M.fc.v[H]-G[H])*z;M.fh.propType&&(G=z.length?addHueToRGB(G,M.fh.v*z[0]):addHueToRGB(G,M.fh.v*z)),M.fs.propType&&(G=z.length?addSaturationToRGB(G,M.fs.v*z[0]):addSaturationToRGB(G,M.fs.v*z)),M.fb.propType&&(G=z.length?addBrightnessToRGB(G,M.fb.v*z[0]):addBrightnessToRGB(G,M.fb.v*z))}}for(D=0;D<O;D+=1)(M=x[D].a).p.propType&&(z=x[D].s.getMult(C[o].anIndexes[D],E.a[D].s.totalChars),this._hasMaskedPath?z.length?S.translate(0,M.p.v[1]*z[0],-M.p.v[2]*z[1]):S.translate(0,M.p.v[1]*z,-M.p.v[2]*z):z.length?S.translate(M.p.v[0]*z[0],M.p.v[1]*z[1],-M.p.v[2]*z[2]):S.translate(M.p.v[0]*z,M.p.v[1]*z,-M.p.v[2]*z));if(e.strokeWidthAnim&&(W=q<0?0:q),e.strokeColorAnim&&(U="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(Y="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(S.translate(0,-e.ls),S.translate(0,w[1]*I/100+n,0),E.p.p){g=(l.point[1]-d.point[1])/(l.point[0]-d.point[0]);var le=180*Math.atan(g)/Math.PI;l.point[0]<d.point[0]&&(le+=180),S.rotate(-le*Math.PI/180)}S.translate(B,L,0),s-=w[0]*C[o].an/200,C[o+1]&&$!==C[o+1].ind&&(s+=C[o].an/2,s+=e.tr/1e3*e.finalSize)}else{switch(S.translate(r,n,0),e.ps&&S.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:S.translate(C[o].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[o].line]),0,0);break;case 2:S.translate(C[o].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[C[o].line])/2,0,0)}S.translate(0,-e.ls),S.translate(R,0,0),S.translate(w[0]*C[o].an/200,w[1]*I/100,0),r+=C[o].l+e.tr/1e3*e.finalSize}"html"===k?ee=S.toCSS():"svg"===k?ee=S.to2dCSS():te=[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]],X=N}P<=o?(F=new LetterProps(X,W,U,Y,ee,te),this.renderedLetters.push(F),P+=1,this.lettersChangedFlag=!0):(F=this.renderedLetters[o],this.lettersChangedFlag=F.update(X,W,U,Y,ee,te)||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),LetterProps.prototype.update=function(e,t,r,n,o,a){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 i=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,i=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,i=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,i=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,i=!0),this.m!==o&&(this.m=o,this._mdf.m=!0,i=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,i=!0),i},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,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(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,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{this.lock=!0,this._mdf=!1;var n,o=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;n<o;n+=1)a=r!==this.keysIndex?this.effectsSequence[n](a,a.t):this.effectsSequence[n](this.currentData,a.t);t!==a&&this.setCurrentData(a),this.pv=this.v=this.currentData,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,n=e.length;r<=n-1&&(e[r].s,!(r===n-1||e[r+1].t>t));)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r=FontManager.getCombinedCharacterCodes(),n=[],o=0,a=e.length;o<a;)t=e.charCodeAt(o),-1!==r.indexOf(t)?n[n.length-1]+=e.charAt(o):t>=55296&&t<=56319&&(t=e.charCodeAt(o+1))>=56320&&t<=57343?(n.push(e.substr(o,2)),++o):n.push(e.charAt(o)),o+=1;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,o,a,i,s,l=this.elem.globalData.fontManager,c=this.data,p=[],h=0,u=c.m.g,d=0,f=0,m=0,_=[],y=0,b=0,g=l.getFontByName(e.f),v=0,w=g.fStyle?g.fStyle.split(" "):[],x="normal",E="normal";for(r=w.length,t=0;t<r;t+=1)switch(w[t].toLowerCase()){case"italic":E="italic";break;case"bold":x="700";break;case"black":x="900";break;case"medium":x="500";break;case"regular":case"normal":x="400";break;case"light":case"thin":x="200"}e.fWeight=g.fWeight||x,e.fStyle=E,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var S,k=e.tr/1e3*e.finalSize;if(e.sz)for(var P,C,T=!0,A=e.sz[0],M=e.sz[1];T;){P=0,y=0,r=(C=this.buildFinalText(e.t)).length,k=e.tr/1e3*e.finalSize;var D=-1;for(t=0;t<r;t+=1)S=C[t].charCodeAt(0),n=!1," "===C[t]?D=t:13!==S&&3!==S||(y=0,n=!0,P+=e.finalLineHeight||1.2*e.finalSize),l.chars?(s=l.getCharData(C[t],g.fStyle,g.fFamily),v=n?0:s.w*e.finalSize/100):v=l.measureText(C[t],e.f,e.finalSize),y+v>A&&" "!==C[t]?(-1===D?r+=1:t=D,P+=e.finalLineHeight||1.2*e.finalSize,C.splice(t,D===t?1:0,"\r"),D=-1,y=0):(y+=v,y+=k);P+=g.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&M<P?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=C,r=e.finalText.length,T=!1)}y=-k,v=0;var O,F=0;for(t=0;t<r;t+=1)if(n=!1,13===(S=(O=e.finalText[t]).charCodeAt(0))||3===S?(F=0,_.push(y),b=y>b?y:b,y=-2*k,o="",n=!0,m+=1):o=O,l.chars?(s=l.getCharData(O,g.fStyle,l.getFontByName(e.f).fFamily),v=n?0:s.w*e.finalSize/100):v=l.measureText(o,e.f,e.finalSize)," "===O?F+=v+k:(y+=v+k+F,F=0),p.push({l:v,an:v,add:d,n,anIndexes:[],val:o,line:m,animatorJustifyOffset:0}),2==u){if(d+=v,""===o||" "===o||t===r-1){for(""!==o&&" "!==o||(d-=v);f<=t;)p[f].an=d,p[f].ind=h,p[f].extra=v,f+=1;h+=1,d=0}}else if(3==u){if(d+=v,""===o||t===r-1){for(""===o&&(d-=v);f<=t;)p[f].an=d,p[f].ind=h,p[f].extra=v,f+=1;d=0,h+=1}}else p[h].ind=h,p[h].extra=0,h+=1;if(e.l=p,b=y>b?y:b,_.push(y),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=b,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=_;var I,j,z=c.a;i=z.length;var R,B,L=[];for(a=0;a<i;a+=1){for((I=z[a]).a.sc&&(e.strokeColorAnim=!0),I.a.sw&&(e.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(e.fillColorAnim=!0),B=0,R=I.s.b,t=0;t<r;t+=1)(j=p[t]).anIndexes[a]=B,(1==R&&""!==j.val||2==R&&""!==j.val&&" "!==j.val||3==R&&(j.n||" "==j.val||t==r-1)||4==R&&(j.n||t==r-1))&&(1===I.s.rn&&L.push(B),B+=1);c.a[a].s.totalChars=B;var N,V=-1;if(1===I.s.rn)for(t=0;t<r;t+=1)V!=(j=p[t]).anIndexes[a]&&(V=j.anIndexes[a],N=L.splice(Math.floor(Math.random()*L.length),1)[0]),j.anIndexes[a]=N}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=g.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function n(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,a=0,i=1,s=1;this.ne.v>0?o=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?i=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(o,a,i,s).get,c=0,p=this.finalS,h=this.finalE,u=this.data.sh;if(2===u)c=l(c=h===p?n>=h?1:0:e(0,t(.5/(h-p)+(n-p)/(h-p),1)));else if(3===u)c=l(c=h===p?n>=h?0:1:1-e(0,t(.5/(h-p)+(n-p)/(h-p),1)));else if(4===u)h===p?c=0:(c=e(0,t(.5/(h-p)+(n-p)/(h-p),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===u){if(h===p)c=0;else{var d=h-p,f=-d/2+(n=t(e(0,n+.5-p),h-p)),m=d/2;c=Math.sqrt(1-f*f/(m*m))}c=l(c)}else 6===u?(h===p?c=0:(n=t(e(0,n+.5-p),h-p),c=(1+Math.cos(Math.PI+2*Math.PI*n/(h-p)))/2),c=l(c)):(n>=r(p)&&(c=e(0,t(n-p<0?t(h,1)-(p-n):h-n,1))),c=l(c));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,r=this.o.v/t,n=this.s.v/t+r,o=this.e.v/t+r;if(n>o){var a=n;n=o,o=a}this.finalS=n,this.finalE=o}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}(),pool_factory=function(e,t,r,n){var o=0,a=e,i=createSizedArray(a);function s(){return o?i[o-=1]:t()}return{newElement:s,release:function(e){o===a&&(i=pooling.double(i),a*=2),r&&r(e),i[o]=e,o+=1}}},pooling=function(){return{double:function(e){return e.concat(createSizedArray(e.length))}}}(),point_pool=function(){return pool_factory(8,function(){return createTypedArray("float32",2)})}(),shape_pool=function(){var e=pool_factory(4,function(){return new ShapePath},function(e){var t,r=e._length;for(t=0;t<r;t+=1)point_pool.release(e.v[t]),point_pool.release(e.i[t]),point_pool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1});return e.clone=function(t){var r,n=e.newElement(),o=void 0===t._length?t.v.length:t._length;for(n.setLength(o),n.c=t.c,r=0;r<o;r+=1)n.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],r);return n},e}(),shapeCollection_pool=function(){var e={newShapeCollection:function(){var e;e=t?n[t-=1]:new ShapeCollection;return e},release:function(e){var o,a=e._length;for(o=0;o<a;o+=1)shape_pool.release(e.shapes[o]);e._length=0,t===r&&(n=pooling.double(n),r*=2);n[t]=e,t+=1}},t=0,r=4,n=createSizedArray(r);return e}(),segments_length_pool=function(){return pool_factory(8,function(){return{lengths:[],totalLength:0}},function(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezier_length_pool.release(e.lengths[t]);e.lengths.length=0})}(),bezier_length_pool=function(){return pool_factory(8,function(){return{addedLength:0,percents:createTypedArray("float32",defaultCurveSegments),lengths:createTypedArray("float32",defaultCurveSegments)}})}();function BaseRenderer(){}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var n=createNS("title"),o=createElementID();n.setAttribute("id",o),n.textContent=t.title,this.svgElement.appendChild(n),r+=o}if(t&&t.description){var a=createNS("desc"),i=createElementID();a.setAttribute("id",i),a.textContent=t.description,this.svgElement.appendChild(a),r+=" "+i}r&&this.svgElement.setAttribute("aria-labelledby",r);var s=createNS("defs");this.svgElement.appendChild(s);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!t||!1!==t.hideOnTransparent,viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"}},this.globalData={_mdf:!1,frameNum:-1,defs:s,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.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"}function HybridRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:t&&t.className||"",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!t||!1!==t.hideOnTransparent,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"400%",height:t&&t.filterSize&&t.filterSize.height||"400%",x:t&&t.filterSize&&t.filterSize.x||"-100%",y:t&&t.filterSize&&t.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"}function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,o=this.globalData.defs,a=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(a),this.solidPath="";var i,s,l,c,p,h,u,d=this.masksProperties,f=0,m=[],_=createElementID(),y="clipPath",b="clip-path";for(n=0;n<a;n++)if(("a"!==d[n].mode&&"n"!==d[n].mode||d[n].inv||100!==d[n].o.k||d[n].o.x)&&(y="mask",b="mask"),"s"!=d[n].mode&&"i"!=d[n].mode||0!==f?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),i=createNS("path"),"n"!=d[n].mode){var g;if(f+=1,i.setAttribute("fill","s"===d[n].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==d[n].x.k?(y="mask",b="mask",u=PropertyFactory.getProp(this.element,d[n].x,0,null,this.element),g=createElementID(),(p=createNS("filter")).setAttribute("id",g),(h=createNS("feMorphology")).setAttribute("operator","erode"),h.setAttribute("in","SourceGraphic"),h.setAttribute("radius","0"),p.appendChild(h),o.appendChild(p),i.setAttribute("stroke","s"===d[n].mode?"#000000":"#ffffff")):(h=null,u=null),this.storedData[n]={elem:i,x:u,expan:h,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},"i"==d[n].mode){l=m.length;var v=createNS("g");for(s=0;s<l;s+=1)v.appendChild(m[s]);var w=createNS("mask");w.setAttribute("mask-type","alpha"),w.setAttribute("id",_+"_"+f),w.appendChild(i),o.appendChild(w),v.setAttribute("mask","url("+locationHref+"#"+_+"_"+f+")"),m.length=0,m.push(v)}else m.push(i);d[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(d[n],this.viewData[n].prop.v,this.viewData[n])}else this.viewData[n]={op:PropertyFactory.getProp(this.element,d[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,d[n],3),elem:i,lastPath:""},o.appendChild(i);for(this.maskElement=createNS(y),a=m.length,n=0;n<a;n+=1)this.maskElement.appendChild(m[n]);f>0&&(this.maskElement.setAttribute("id",_),this.element.maskedElement.setAttribute(b,"url("+locationHref+"#"+_+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}function HierarchyElement(){}function FrameElement(){}function TransformElement(){}function RenderableElement(){}function RenderableDOMElement(){}function ProcessedElement(e,t){this.elem=e,this.pos=t}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var n=0,o=e.length;n<o;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t--)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;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:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 13:return this.createCamera(e)}return this.createNull(e)},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){this.completeLayers=!1;var t,r,n=e.length,o=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<o;){if(this.layers[r].id==e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var n=this.elements,o=this.layers,a=0,i=o.length;a<i;)o[a].ind==t&&(n[a]&&!0!==n[a]?(r.push(n[a]),n[a].setAsParent(),void 0!==o[a].parent?this.buildElementParenting(e,o[a].parent,r):e.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(e))),a+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},extendPrototype([BaseRenderer],SVGRenderer),SVGRenderer.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRenderer.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRenderer.prototype.createText=function(e){return new SVGTextElement(e,this.globalData,this)},SVGRenderer.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},SVGRenderer.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRenderer.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)"),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var o=createElementID();r.setAttribute("id",o),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+o+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.layerElement=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRenderer.prototype.updateContainerSize=function(){},SVGRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);t[e]=r,expressionsPlugin&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt&&(this.elements[e-1]&&!0!==this.elements[e-1]?r.setMatte(t[e-1].layerId):(this.buildItem(e-1),this.addPendingElement(r)))}},SVGRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRenderer.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var t,r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t--)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRenderer.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var n,o=0;o<t;)this.elements[o]&&!0!==this.elements[o]&&this.elements[o].getBaseElement()&&(n=this.elements[o].getBaseElement()),o+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRenderer.prototype.hide=function(){this.layerElement.style.display="none"},SVGRenderer.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseRenderer],CanvasRenderer),CanvasRenderer.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRenderer.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRenderer.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},CanvasRenderer.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRenderer.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRenderer.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.cTr.props;this.transformMat.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRenderer.prototype.ctxOpacity=function(e){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=e<0?0:e,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRenderer.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRenderer.prototype.save=function(e){if(this.renderConfig.clearCanvas){e&&this.canvasContext.save();var t=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var r,n=this.contextData.saved[this.contextData.cArrPos];for(r=0;r<16;r+=1)n[r]=t[r];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRenderer.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var t,r=this.contextData.saved[this.contextData.cArrPos],n=this.contextData.cTr.props;for(t=0;t<16;t+=1)n[t]=r[t];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRenderer.prototype.configAnimation=function(e){this.animationItem.wrapper?(this.animationItem.container=createTag("canvas"),this.animationItem.container.style.width="100%",this.animationItem.container.style.height="100%",this.animationItem.container.style.transformOrigin=this.animationItem.container.style.mozTransformOrigin=this.animationItem.container.style.webkitTransformOrigin=this.animationItem.container.style["-webkit-transform"]="0px 0px 0px",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)):this.canvasContext=this.renderConfig.context,this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,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(e.layers.length),this.updateContainerSize()},CanvasRenderer.prototype.updateContainerSize=function(){var e,t,r,n;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var o=this.renderConfig.preserveAspectRatio.split(" "),a=o[1]||"meet",i=o[0]||"xMidYMid",s=i.substr(0,4),l=i.substr(4);r=e/t,(n=this.transformCanvas.w/this.transformCanvas.h)>r&&"meet"===a||n<r&&"slice"===a?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===s&&(n<r&&"meet"===a||n>r&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(n<r&&"meet"===a||n>r&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(n>r&&"meet"===a||n<r&&"slice"===a)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(n>r&&"meet"===a||n<r&&"slice"===a)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"==this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(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)},CanvasRenderer.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&(this.animationItem.wrapper.innerHTML=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRenderer.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){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,n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r<n;r++)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRenderer.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!=this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRenderer.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRenderer.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([BaseRenderer],HybridRenderer),HybridRenderer.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRenderer.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},HybridRenderer.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){var n=this.layers[t];if(n.ddd&&this.supports3d)this.addTo3dContainer(r,t);else if(this.threeDElements)this.addTo3dContainer(r,t);else{for(var o,a,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement&&(a=this.elements[i],o=(this.layers[i].ddd?this.getThreeDContainerByPos(i):a.getBaseElement())||o),i+=1;o?n.ddd&&this.supports3d||this.layerElement.insertBefore(r,o):n.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRenderer.prototype.createShape=function(e){return this.supports3d?new HShapeElement(e,this.globalData,this):new SVGShapeElement(e,this.globalData,this)},HybridRenderer.prototype.createText=function(e){return this.supports3d?new HTextElement(e,this.globalData,this):new SVGTextElement(e,this.globalData,this)},HybridRenderer.prototype.createCamera=function(e){return this.camera=new HCameraElement(e,this.globalData,this),this.camera},HybridRenderer.prototype.createImage=function(e){return this.supports3d?new HImageElement(e,this.globalData,this):new IImageElement(e,this.globalData,this)},HybridRenderer.prototype.createComp=function(e){return this.supports3d?new HCompElement(e,this.globalData,this):new SVGCompElement(e,this.globalData,this)},HybridRenderer.prototype.createSolid=function(e){return this.supports3d?new HSolidElement(e,this.globalData,this):new ISolidElement(e,this.globalData,this)},HybridRenderer.prototype.createNull=SVGRenderer.prototype.createNull,HybridRenderer.prototype.getThreeDContainerByPos=function(e){for(var t=0,r=this.threeDElements.length;t<r;){if(this.threeDElements[t].startPos<=e&&this.threeDElements[t].endPos>=e)return this.threeDElements[t].perspectiveElem;t+=1}},HybridRenderer.prototype.createThreeDContainer=function(e,t){var r=createTag("div");styleDiv(r);var n=createTag("div");styleDiv(n),"3d"===t&&(r.style.width=this.globalData.compSize.w+"px",r.style.height=this.globalData.compSize.h+"px",r.style.transformOrigin=r.style.mozTransformOrigin=r.style.webkitTransformOrigin="50% 50%",n.style.transform=n.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)"),r.appendChild(n);var o={container:n,perspectiveElem:r,startPos:e,endPos:e,type:t};return this.threeDElements.push(o),o},HybridRenderer.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e<r;e+=1)this.layers[e].ddd&&3!==this.layers[e].ty?("3d"!==n&&(n="3d",t=this.createThreeDContainer(e,"3d")),t.endPos=Math.max(t.endPos,e)):("2d"!==n&&(n="2d",t=this.createThreeDContainer(e,"2d")),t.endPos=Math.max(t.endPos,e));for(e=(r=this.threeDElements.length)-1;e>=0;e--)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRenderer.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;r<n;){if(t<=this.threeDElements[r].endPos){for(var o,a=this.threeDElements[r].startPos;a<t;)this.elements[a]&&this.elements[a].getBaseElement&&(o=this.elements[a].getBaseElement()),a+=1;o?this.threeDElements[r].container.insertBefore(e,o):this.threeDElements[r].container.appendChild(e);break}r+=1}},HybridRenderer.prototype.configAnimation=function(e){var t=createTag("div"),r=this.animationItem.wrapper;t.style.width=e.w+"px",t.style.height=e.h+"px",this.resizerElem=t,styleDiv(t),t.style.transformStyle=t.style.webkitTransformStyle=t.style.mozTransformStyle="flat",this.renderConfig.className&&t.setAttribute("class",this.renderConfig.className),r.appendChild(t),t.style.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var o=createNS("defs");n.appendChild(o),this.data=e,this.setupGlobalData(e,n),this.globalData.defs=o,this.layers=e.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRenderer.prototype.destroy=function(){this.animationItem.wrapper.innerHTML="",this.animationItem.container=null,this.globalData.defs=null;var e,t=this.layers?this.layers.length:0;for(e=0;e<t;e++)this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRenderer.prototype.updateContainerSize=function(){var e,t,r,n,o=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,i=o/a;this.globalData.compSize.w/this.globalData.compSize.h>i?(e=o/this.globalData.compSize.w,t=o/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(o/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(o-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0),this.resizerElem.style.transform=this.resizerElem.style.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",0,1)"},HybridRenderer.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRenderer.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRenderer.prototype.show=function(){this.resizerElem.style.display="block"},HybridRenderer.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e<n;e+=1)this.threeDElements[e].perspectiveElem.style.perspective=this.threeDElements[e].perspectiveElem.style.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(r,2))+"px"}},HybridRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length,n=createTag("div");for(t=0;t<r;t+=1)if(e[t].xt){var o=this.createComp(e[t],n,this.globalData.comp,null);o.initExpressions(),this.globalData.projectInterface.registerComposition(o)}},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(t=0;t<n;t++)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var o=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+locationHref+"#"+this.storedData[t].filterId+")")),o.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var n,o,a=" M"+t.v[0][0]+","+t.v[0][1];for(o=t._length,n=1;n<o;n+=1)a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&o>1&&(a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==a){var i="";r.elem&&(t.c&&(i=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",i)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},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,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<n;r+=1)e=this.hierarchy[r].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r=!0,n=this.comp;r;)n.finalTransform?(n.data.hasMask&&t.splice(0,0,n.finalTransform),n=n.comp):r=!1;var o,a,i=t.length;for(o=0;o<i;o+=1)a=t[o].mat.applyToPointArray(0,0,0),e=[e[0]-a[0],e[1]-a[1],0];return e},mHelper:new Matrix},RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},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(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!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<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),n=createNS(1===t.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var o,a,i,s=[];for(i=4*t.g.p,a=0;a<i;a+=4)o=createNS("stop"),n.appendChild(o),s.push(o);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+locationHref+"#"+r+")"),this.gf=n,this.cst=s},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,o,a=createNS("mask"),i=createNS("path");a.appendChild(i);var s=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",s),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),o=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var p=this.stops;for(n=4*e.g.p;n<o;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),p.push(r);i.setAttribute("gf"===e.ty?"fill":"stroke","url("+locationHref+"#"+s+")"),this.of=c,this.ms=a,this.ost=p,this.maskId=l,t.msElem=i}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function n(r,n,o){var a,i,s,l,c,p,h,u,d,f,m,_=n.styles.length,y=n.lvl;for(p=0;p<_;p+=1){if(l=n.sh._mdf||o,n.styles[p].lvl<y){for(u=t.reset(),f=y-n.styles[p].lvl,m=n.transformers.length-1;!l&&f>0;)l=n.transformers[m].mProps._mdf||l,f--,m--;if(l)for(f=y-n.styles[p].lvl,m=n.transformers.length-1;f>0;)d=n.transformers[m].mProps.v.props,u.transform(d[0],d[1],d[2],d[3],d[4],d[5],d[6],d[7],d[8],d[9],d[10],d[11],d[12],d[13],d[14],d[15]),f--,m--}else u=e;if(i=(h=n.sh.paths)._length,l){for(s="",a=0;a<i;a+=1)(c=h.shapes[a])&&c._length&&(s+=buildShapeString(c,c._length,c.c,u));n.caches[p]=s}else s=n.caches[p];n.styles[p].d+=!0===r.hd?"":s,n.styles[p]._mdf=l||n.styles[p]._mdf}}function o(e,t,r){var n=t.style;(t.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",t.o.v)}function a(e,t,r){i(e,t,r),s(e,t,r)}function i(e,t,r){var n,o,a,i,s,l=t.gf,c=t.g._hasOpacity,p=t.s.v,h=t.e.v;if(t.o._mdf||r){var u="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(u,t.o.v)}if(t.s._mdf||r){var d=1===e.t?"x1":"cx",f="x1"===d?"y1":"cy";l.setAttribute(d,p[0]),l.setAttribute(f,p[1]),c&&!t.g._collapsable&&(t.of.setAttribute(d,p[0]),t.of.setAttribute(f,p[1]))}if(t.g._cmdf||r){n=t.cst;var m=t.g.c;for(a=n.length,o=0;o<a;o+=1)(i=n[o]).setAttribute("offset",m[4*o]+"%"),i.setAttribute("stop-color","rgb("+m[4*o+1]+","+m[4*o+2]+","+m[4*o+3]+")")}if(c&&(t.g._omdf||r)){var _=t.g.o;for(a=(n=t.g._collapsable?t.cst:t.ost).length,o=0;o<a;o+=1)i=n[o],t.g._collapsable||i.setAttribute("offset",_[2*o]+"%"),i.setAttribute("stop-opacity",_[2*o+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",h[0]),l.setAttribute("y2",h[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",h[0]),t.of.setAttribute("y2",h[1])));else if((t.s._mdf||t.e._mdf||r)&&(s=Math.sqrt(Math.pow(p[0]-h[0],2)+Math.pow(p[1]-h[1],2)),l.setAttribute("r",s),c&&!t.g._collapsable&&t.of.setAttribute("r",s)),t.e._mdf||t.h._mdf||t.a._mdf||r){s||(s=Math.sqrt(Math.pow(p[0]-h[0],2)+Math.pow(p[1]-h[1],2)));var y=Math.atan2(h[1]-p[1],h[0]-p[0]),b=s*(t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v),g=Math.cos(y+t.a.v)*b+p[0],v=Math.sin(y+t.a.v)*b+p[1];l.setAttribute("fx",g),l.setAttribute("fy",v),c&&!t.g._collapsable&&(t.of.setAttribute("fx",g),t.of.setAttribute("fy",v))}}function s(e,t,r){var n=t.style,o=t.d;o&&(o._mdf||r)&&o.dashStr&&(n.pElem.setAttribute("stroke-dasharray",o.dashStr),n.pElem.setAttribute("stroke-dashoffset",o.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){e.ty;switch(e.ty){case"fl":return o;case"gf":return i;case"gs":return a;case"st":return s;case"sh":case"el":case"rc":case"sr":return n;case"tr":return r}}}}();function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var o=4;"rc"==t.ty?o=5:"el"==t.ty?o=6:"sr"==t.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,o,e);var a,i,s=r.length;for(a=0;a<s;a+=1)r[a].closed||(i={transforms:n.addTransformSequence(r[a].transforms),trNodes:[]},this.styledShapes.push(i),r[a].elements.push(i))}function BaseElement(){}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGBaseElement(){}function IShapeElement(){}function ITextElement(){}function ICompElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ISolidElement(e,t,r){this.initElement(e,t,r)}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGTextElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function SVGTintFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");if(r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.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"),r.setAttribute("result","f1"),e.appendChild(r),(r=createNS("feColorMatrix")).setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),r.setAttribute("result","f2"),e.appendChild(r),this.matrixFilter=r,100!==t.effectElements[2].p.v||t.effectElements[2].p.k){var n,o=createNS("feMerge");e.appendChild(o),(n=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),o.appendChild(n),(n=createNS("feMergeNode")).setAttribute("in","f2"),o.appendChild(n)}}function SVGFillFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),e.appendChild(r),this.matrixFilter=r}function SVGGaussianBlurEffect(e,t){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var r=createNS("feGaussianBlur");e.appendChild(r),this.feGaussianBlur=r}function SVGStrokeEffect(e,t){this.initialized=!1,this.filterManager=t,this.elem=e,this.paths=[]}function SVGTritoneFilter(e,t){this.filterManager=t;var r=createNS("feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("color-interpolation-filters","linearRGB"),r.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"),r.setAttribute("result","f1"),e.appendChild(r);var n=createNS("feComponentTransfer");n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),this.matrixFilter=n;var o=createNS("feFuncR");o.setAttribute("type","table"),n.appendChild(o),this.feFuncR=o;var a=createNS("feFuncG");a.setAttribute("type","table"),n.appendChild(a),this.feFuncG=a;var i=createNS("feFuncB");i.setAttribute("type","table"),n.appendChild(i),this.feFuncB=i}function SVGProLevelsFilter(e,t){this.filterManager=t;var r=this.filterManager.effectElements,n=createNS("feComponentTransfer");(r[10].p.k||0!==r[10].p.v||r[11].p.k||1!==r[11].p.v||r[12].p.k||1!==r[12].p.v||r[13].p.k||0!==r[13].p.v||r[14].p.k||1!==r[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",n)),(r[17].p.k||0!==r[17].p.v||r[18].p.k||1!==r[18].p.v||r[19].p.k||1!==r[19].p.v||r[20].p.k||0!==r[20].p.v||r[21].p.k||1!==r[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",n)),(r[24].p.k||0!==r[24].p.v||r[25].p.k||1!==r[25].p.v||r[26].p.k||1!==r[26].p.v||r[27].p.k||0!==r[27].p.v||r[28].p.k||1!==r[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",n)),(r[31].p.k||0!==r[31].p.v||r[32].p.k||1!==r[32].p.v||r[33].p.k||1!==r[33].p.v||r[34].p.k||0!==r[34].p.v||r[35].p.k||1!==r[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",n)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),n=createNS("feComponentTransfer")),(r[3].p.k||0!==r[3].p.v||r[4].p.k||1!==r[4].p.v||r[5].p.k||1!==r[5].p.v||r[6].p.k||0!==r[6].p.v||r[7].p.k||1!==r[7].p.v)&&(n.setAttribute("color-interpolation-filters","sRGB"),e.appendChild(n),this.feFuncRComposed=this.createFeFunc("feFuncR",n),this.feFuncGComposed=this.createFeFunc("feFuncG",n),this.feFuncBComposed=this.createFeFunc("feFuncB",n))}function SVGDropShadowEffect(e,t){var r=t.container.globalData.renderConfig.filterSize;e.setAttribute("x",r.x),e.setAttribute("y",r.y),e.setAttribute("width",r.width),e.setAttribute("height",r.height),this.filterManager=t;var n=createNS("feGaussianBlur");n.setAttribute("in","SourceAlpha"),n.setAttribute("result","drop_shadow_1"),n.setAttribute("stdDeviation","0"),this.feGaussianBlur=n,e.appendChild(n);var o=createNS("feOffset");o.setAttribute("dx","25"),o.setAttribute("dy","0"),o.setAttribute("in","drop_shadow_1"),o.setAttribute("result","drop_shadow_2"),this.feOffset=o,e.appendChild(o);var a=createNS("feFlood");a.setAttribute("flood-color","#00ff00"),a.setAttribute("flood-opacity","1"),a.setAttribute("result","drop_shadow_3"),this.feFlood=a,e.appendChild(a);var i=createNS("feComposite");i.setAttribute("in","drop_shadow_3"),i.setAttribute("in2","drop_shadow_2"),i.setAttribute("operator","in"),i.setAttribute("result","drop_shadow_4"),e.appendChild(i);var s,l=createNS("feMerge");e.appendChild(l),s=createNS("feMergeNode"),l.appendChild(s),(s=createNS("feMergeNode")).setAttribute("in","SourceGraphic"),this.feMergeNode=s,this.feMerge=l,this.originalNodeAdded=!1,l.appendChild(s)}ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var o=this.sequences[n];return o||(o={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=o,this.sequenceList.push(o)),o},processSequence:function(e,t){for(var r,n=0,o=e.transforms.length,a=t;n<o&&!t;){if(e.transforms[n].transform.mProps._mdf){a=!0;break}n+=1}if(a)for(e.finalTransform.reset(),n=o-1;n>=0;n-=1)r=e.transforms[n].transform.mProps.v.props,e.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return"_"+this.transform_key_count++}},CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,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(){}},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!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),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 e,t,r,n=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var o=createNS("mask");o.setAttribute("id",this.layerId),o.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),o.appendChild(this.layerElement),n=o,this.globalData.defs.appendChild(o),featureSupport.maskType||1!=this.data.td||(o.setAttribute("mask-type","luminance"),e=createElementID(),t=filtersFactory.createFilter(e),this.globalData.defs.appendChild(t),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(this.layerElement),n=r,o.appendChild(r),r.setAttribute("filter","url("+locationHref+"#"+e+")"))}else if(2==this.data.td){var a=createNS("mask");a.setAttribute("id",this.layerId),a.setAttribute("mask-type","alpha");var i=createNS("g");a.appendChild(i),e=createElementID(),t=filtersFactory.createFilter(e);var s=createNS("feComponentTransfer");s.setAttribute("in","SourceGraphic"),t.appendChild(s);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),s.appendChild(l),this.globalData.defs.appendChild(t);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),i.setAttribute("filter","url("+locationHref+"#"+e+")"),i.appendChild(c),i.appendChild(this.layerElement),n=i,featureSupport.maskType||(a.setAttribute("mask-type","luminance"),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),i.appendChild(c),r.appendChild(this.layerElement),n=r,i.appendChild(r)),this.globalData.defs.appendChild(a)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),n=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),0===this.data.ty&&!this.data.hd){var p=createNS("clipPath"),h=createNS("path");h.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var u=createElementID();if(p.setAttribute("id",u),p.appendChild(h),this.globalData.defs.appendChild(p),this.checkMasks()){var d=createNS("g");d.setAttribute("clip-path","url("+locationHref+"#"+u+")"),d.appendChild(this.layerElement),this.transformedElement=d,n?n.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+locationHref+"#"+u+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},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)},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+locationHref+"#"+e+")")}},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0;e-=1)this.shapeModifiers[e].processShapes(this._isFirstFrame)}},lcEnum:{1:"butt",2:"round",3:"square"},ljEnum:{1:"miter",2:"round",3:"bevel"},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}},ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var r,n,o=t.length,a="";for(r=0;r<o;r+=1)n=t[r].ks.k,a+=buildShapeString(n,n.i.length,!0,e);return a},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,n,o){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(n,o,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=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",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},extendPrototype([SVGRenderer,ICompElement,SVGBaseElement],SVGCompElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextElement),SVGTextElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,n=[],o="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(o),o=""):o+=e[t],t+=1;return n.push(o),n},SVGTextElement.prototype.buildNewText=function(){var e,t,r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var o=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",o)}this.layerElement.setAttribute("aria-label",r.t);var i,s=r.l||[],l=!!this.globalData.fontManager.chars;t=s.length;var c,p=this.mHelper,h="",u=this.data.singleShape,d=0,f=0,m=!0,_=r.tr/1e3*r.finalSize;if(!u||l||r.sz){var y,b,g=this.textSpans.length;for(e=0;e<t;e+=1)l&&u&&0!==e||(i=g>e?this.textSpans[e]:createNS(l?"path":"text"),g<=e&&(i.setAttribute("stroke-linecap","butt"),i.setAttribute("stroke-linejoin","round"),i.setAttribute("stroke-miterlimit","4"),this.textSpans[e]=i,this.layerElement.appendChild(i)),i.style.display="inherit"),p.reset(),p.scale(r.finalSize/100,r.finalSize/100),u&&(s[e].n&&(d=-_,f+=r.yOffset,f+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(r,p,s[e].line,d,f),d+=s[e].l||0,d+=_),l?(c=(y=(b=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily))&&b.data||{}).shapes?y.shapes[0].it:[],u?h+=this.createPathShape(p,c):i.setAttribute("d",this.createPathShape(p,c))):(u&&i.setAttribute("transform","translate("+p.props[12]+","+p.props[13]+")"),i.textContent=s[e].val,i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"));u&&i&&i.setAttribute("d",h)}else{var v=this.textContainer,w="start";switch(r.j){case 1:w="end";break;case 2:w="middle"}v.setAttribute("text-anchor",w),v.setAttribute("letter-spacing",_);var x=this.buildTextContents(r.finalText);for(t=x.length,f=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(i=this.textSpans[e]||createNS("tspan")).textContent=x[e],i.setAttribute("x",0),i.setAttribute("y",f),i.style.display="inherit",v.appendChild(i),this.textSpans[e]=i,f+=r.finalLineHeight;this.layerElement.appendChild(v)}for(;e<this.textSpans.length;)this.textSpans[e].style.display="none",e+=1;this._sizeChanged=!0},SVGTextElement.prototype.sourceRectAtTime=function(e){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextElement.prototype.renderInnerContent=function(){if(!this.data.singleShape&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,n,o=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;for(t=a.length,e=0;e<t;e+=1)a[e].n||(r=o[e],n=this.textSpans[e],r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},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,r,n,o=this.shapes.length,a=this.stylesList.length,i=[],s=!1;for(r=0;r<a;r+=1){for(n=this.stylesList[r],s=!1,i.length=0,e=0;e<o;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(n)&&(i.push(t),s=t._isAnimated||s);i.length>1&&s&&this.setShapesAsAnimated(i)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,n=new SVGStyleData(e,t),o=n.pElem;if("st"===e.ty)r=new SVGStrokeStyleData(this,e,n);else if("fl"===e.ty)r=new SVGFillStyleData(this,e,n);else if("gf"===e.ty||"gs"===e.ty){r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),o.setAttribute("mask","url("+locationHref+"#"+r.maskId+")"))}return"st"!==e.ty&&"gs"!==e.ty||(o.setAttribute("stroke-linecap",this.lcEnum[e.lc]||"round"),o.setAttribute("stroke-linejoin",this.ljEnum[e.lj]||"round"),o.setAttribute("fill-opacity","0"),1===e.lj&&o.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&o.setAttribute("fill-rule","evenodd"),e.ln&&o.setAttribute("id",e.ln),e.cl&&o.setAttribute("class",e.cl),e.bm&&(o.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;"rc"===e.ty?n=5:"el"===e.ty?n=6:"sr"===e.ty&&(n=7);var o=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(o),this.addShapeToModifiers(o),this.addToAnimatedContents(e,o),o},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,n,o,a,i){var s,l,c,p,h,u,d=[].concat(a),f=e.length-1,m=[],_=[];for(s=f;s>=0;s-=1){if((u=this.searchProcessedElement(e[s]))?t[s]=r[u-1]:e[s]._render=i,"fl"==e[s].ty||"st"==e[s].ty||"gf"==e[s].ty||"gs"==e[s].ty)u?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],o),e[s]._render&&n.appendChild(t[s].style.pElem),m.push(t[s].style);else if("gr"==e[s].ty){if(u)for(c=t[s].it.length,l=0;l<c;l+=1)t[s].prevViewData[l]=t[s].it[l];else t[s]=this.createGroupElement(e[s]);this.searchShapes(e[s].it,t[s].it,t[s].prevViewData,t[s].gr,o+1,d,i),e[s]._render&&n.appendChild(t[s].gr)}else"tr"==e[s].ty?(u||(t[s]=this.createTransformElement(e[s],n)),p=t[s].transform,d.push(p)):"sh"==e[s].ty||"rc"==e[s].ty||"el"==e[s].ty||"sr"==e[s].ty?(u||(t[s]=this.createShapeElement(e[s],d,o)),this.setElementStyles(t[s])):"tm"==e[s].ty||"rd"==e[s].ty||"ms"==e[s].ty?(u?(h=t[s]).closed=!1:((h=ShapeModifiers.getModifier(e[s].ty)).init(this,e[s]),t[s]=h,this.shapeModifiers.push(h)),_.push(h)):"rp"==e[s].ty&&(u?(h=t[s]).closed=!0:(h=ShapeModifiers.getModifier(e[s].ty),t[s]=h,h.init(this,e,s,t),this.shapeModifiers.push(h),i=!1),_.push(h));this.addProcessedElement(e[s],s+1)}for(f=m.length,s=0;s<f;s+=1)m[s].closed=!0;for(f=_.length,s=0;s<f;s+=1)_[s].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},SVGTintFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-t[0]+" 0 0 0 "+t[0]+" "+(r[1]-t[1])+" 0 0 0 "+t[1]+" "+(r[2]-t[2])+" 0 0 0 "+t[2]+" 0 0 0 "+n+" 0")}},SVGFillFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+t[0]+" 0 0 0 0 "+t[1]+" 0 0 0 0 "+t[2]+" 0 0 0 "+r+" 0")}},SVGGaussianBlurEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=3==r?0:t,o=2==r?0:t;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+o);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},SVGStrokeEffect.prototype.initialize=function(){var e,t,r,n,o=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(n=this.elem.maskManager.masksProperties.length,r=0):n=(r=this.filterManager.effectElements[0].p.v-1)+1,(t=createNS("g")).setAttribute("fill","none"),t.setAttribute("stroke-linecap","round"),t.setAttribute("stroke-dashoffset",1);r<n;r+=1)e=createNS("path"),t.appendChild(e),this.paths.push({p:e,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),i=createElementID();a.setAttribute("id",i),a.setAttribute("mask-type","alpha"),a.appendChild(t),this.elem.globalData.defs.appendChild(a);var s=createNS("g");for(s.setAttribute("mask","url("+locationHref+"#"+i+")");o[0];)s.appendChild(o[0]);this.elem.layerElement.appendChild(s),this.masker=a,t.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(o=this.elem.layerElement.children||this.elem.layerElement.childNodes;o.length;)this.elem.layerElement.removeChild(o[0]);this.elem.layerElement.appendChild(t),this.elem.layerElement.removeAttribute("mask"),t.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=t},SVGStrokeEffect.prototype.renderFrame=function(e){this.initialized||this.initialize();var t,r,n,o=this.paths.length;for(t=0;t<o;t+=1)if(-1!==this.paths[t].m&&(r=this.elem.maskManager.viewData[this.paths[t].m],n=this.paths[t].p,(e||this.filterManager._mdf||r.prop._mdf)&&n.setAttribute("d",r.lastPath),e||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var i=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,s=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)/100,l=n.getTotalLength();a="0 0 0 "+l*i+" ";var c,p=l*(s-i),h=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100,u=Math.floor(p/h);for(c=0;c<u;c+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v/100;n.setAttribute("stroke-dasharray",a)}if((e||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(e||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(e||this.filterManager.effectElements[3].p._mdf)){var d=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bm_floor(255*d[0])+","+bm_floor(255*d[1])+","+bm_floor(255*d[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,n=this.filterManager.effectElements[2].p.v,o=n[0]+" "+r[0]+" "+t[0],a=n[1]+" "+r[1]+" "+t[1],i=n[2]+" "+r[2]+" "+t[2];this.feFuncR.setAttribute("tableValues",o),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",i)}},SVGProLevelsFilter.prototype.createFeFunc=function(e,t){var r=createNS(e);return r.setAttribute("type","table"),t.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(e,t,r,n,o){for(var a,i,s=0,l=Math.min(e,t),c=Math.max(e,t),p=Array.call(null,{length:256}),h=0,u=o-n,d=t-e;s<=256;)i=(a=s/256)<=l?d<0?o:n:a>=c?d<0?n:o:n+u*Math.pow((a-e)/d,1/r),p[h++]=i,s+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},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 r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,o=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",o),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGEffects(e){var t,r,n=e.data.ef?e.data.ef.length:0,o=createElementID(),a=filtersFactory.createFilter(o),i=0;for(this.filters=[],t=0;t<n;t+=1)r=null,20===e.data.ef[t].ty?(i+=1,r=new SVGTintFilter(a,e.effectsManager.effectElements[t])):21===e.data.ef[t].ty?(i+=1,r=new SVGFillFilter(a,e.effectsManager.effectElements[t])):22===e.data.ef[t].ty?r=new SVGStrokeEffect(e,e.effectsManager.effectElements[t]):23===e.data.ef[t].ty?(i+=1,r=new SVGTritoneFilter(a,e.effectsManager.effectElements[t])):24===e.data.ef[t].ty?(i+=1,r=new SVGProLevelsFilter(a,e.effectsManager.effectElements[t])):25===e.data.ef[t].ty?(i+=1,r=new SVGDropShadowEffect(a,e.effectsManager.effectElements[t])):28===e.data.ef[t].ty?r=new SVGMatte3Effect(a,e.effectsManager.effectElements[t],e):29===e.data.ef[t].ty&&(i+=1,r=new SVGGaussianBlurEffect(a,e.effectsManager.effectElements[t])),r&&this.filters.push(r);i&&(e.globalData.defs.appendChild(a),e.layerElement.setAttribute("filter","url("+locationHref+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}function CVContextData(){this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;var e;for(this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function CVBaseElement(){}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getImage(this.assetData),this.initElement(e,t,r)}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CVMaskElement(e,t){this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,n=this.masksProperties.length,o=!1;for(r=0;r<n;r++)"n"!==this.masksProperties[r].mode&&(o=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=o,o&&this.element.addRenderableComponent(this)}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CVTextElement(e,t,r){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(e,t,r)}function CVEffects(){}function HBaseElement(e,t,r){}function HSolidElement(e,t,r){this.initElement(e,t,r)}function HCompElement(e,t,r){this.layers=e.layers,this.supports3d=!e.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function HShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(e,t,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(e,t,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(e,t,r)}function HImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r)}function HCameraElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initHierarchy();var n=PropertyFactory.getProp;if(this.pe=n(this,e.pe,0,0,this),e.ks.p.s?(this.px=n(this,e.ks.p.x,1,0,this),this.py=n(this,e.ks.p.y,1,0,this),this.pz=n(this,e.ks.p.z,1,0,this)):this.p=n(this,e.ks.p,1,0,this),e.ks.a&&(this.a=n(this,e.ks.a,1,0,this)),e.ks.or.k.length&&e.ks.or.k[0].to){var o,a=e.ks.or.k.length;for(o=0;o<a;o+=1)e.ks.or.k[o].to=null,e.ks.or.k[o].ti=null}this.or=n(this,e.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=n(this,e.ks.rx,0,degToRads,this),this.ry=n(this,e.ks.ry,0,degToRads,this),this.rz=n(this,e.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HEffects(){}SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t<r;){if(_svgMatteSymbols[t]===e)return _svgMatteSymbols[t];t+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(e,t){var r=e.layerElement.parentNode;if(r){for(var n,o=r.children,a=0,i=o.length;a<i&&o[a]!==e.layerElement;)a+=1;a<=i-2&&(n=o[a+1]);var s=createNS("use");s.setAttribute("href","#"+t),n?r.insertBefore(s,n):r.appendChild(s)}},SVGMatte3Effect.prototype.setElementAsMask=function(e,t){if(!this.findSymbol(t)){var r=createElementID(),n=createNS("mask");n.setAttribute("id",t.layerId),n.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(t);var o=e.globalData.defs;o.appendChild(n);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(t,r),a.appendChild(t.layerElement),o.appendChild(a);var i=createNS("use");i.setAttribute("href","#"+r),n.appendChild(i),t.data.hd=!1,t.show()}e.setMatte(t.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var e=this.filterManager.effectElements[0].p.v,t=this.elem.comp.elements,r=0,n=t.length;r<n;)t[r]&&t[r].data.ind===e&&this.setElementAsMask(this.elem,t[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var r=0;for(r=this._length;r<e;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},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)},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)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var e=0===this.data.ty;this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(e),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,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 e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,n=e.getContext("2d"),o=this.img.width,a=this.img.height,i=o/a,s=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;i>s&&"xMidYMid slice"===l||i<s&&"xMidYMid slice"!==l?t=(r=a)*s:r=(t=o)/s,n.drawImage(this.img,(o-t)/2,(a-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(e){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([CanvasRenderer,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=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},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,o=this.element.finalTransform.mat,a=this.element.canvasContext,i=this.masksProperties.length;for(a.beginPath(),e=0;e<i;e++)if("n"!==this.masksProperties[e].mode){this.masksProperties[e].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),n=this.viewData[e].v,t=o.applyToPointArray(n.v[0][0],n.v[0][1],0),a.moveTo(t[0],t[1]);var s,l=n._length;for(s=1;s<l;s++)r=o.applyToTriplePoints(n.o[s-1],n.i[s],n.v[s]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=o.applyToTriplePoints(n.o[s-1],n.i[0],n.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},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 r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},n={};if("fl"==e.ty||"st"==e.ty?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bm_floor(n.c.v[0])+","+bm_floor(n.c.v[1])+","+bm_floor(n.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"==e.ty||"gs"==e.ty){if(r.lc=this.lcEnum[e.lc]||"round",r.lj=this.ljEnum[e.lj]||"round",1==e.lj&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var o=new DashProperty(this,e.d,"canvas",this);n.d=o,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(e){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(){this._isFirstFrame=!0;var e,t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,n,o){var a,i,s,l,c,p,h=e.length-1,u=[],d=[],f=[].concat(o);for(a=h;a>=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=n,"fl"==e[a].ty||"st"==e[a].ty||"gf"==e[a].ty||"gs"==e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],f),u.push(t[a].style);else if("gr"==e[a].ty){if(l)for(s=t[a].it.length,i=0;i<s;i+=1)t[a].prevViewData[i]=t[a].it[i];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,n,f)}else"tr"==e[a].ty?(l||(p=this.createTransformElement(e[a]),t[a]=p),f.push(t[a]),this.addTransformToStyleList(t[a])):"sh"==e[a].ty||"rc"==e[a].ty||"el"==e[a].ty||"sr"==e[a].ty?l||(t[a]=this.createShapeElement(e[a])):"tm"==e[a].ty||"rd"==e[a].ty?(l?(c=t[a]).closed=!1:((c=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=c,this.shapeModifiers.push(c)),d.push(c)):"rp"==e[a].ty&&(l?(c=t[a]).closed=!0:(c=ShapeModifiers.getModifier(e[a].ty),t[a]=c,c.init(this,e,a,t),this.shapeModifiers.push(c),n=!1),d.push(c));this.addProcessedElement(e[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(u),h=d.length,a=0;a<h;a+=1)d[a].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(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,n,o,a,i,s,l,c=this.stylesList.length,p=this.globalData.renderer,h=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(s=(l=this.stylesList[e]).type)&&"gs"!==s||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(p.save(),a=l.elements,"st"===s||"gs"===s?(h.strokeStyle="st"===s?l.co:l.grd,h.lineWidth=l.wi,h.lineCap=l.lc,h.lineJoin=l.lj,h.miterLimit=l.ml||0):h.fillStyle="fl"===s?l.co:l.grd,p.ctxOpacity(l.coOp),"st"!==s&&"gs"!==s&&h.beginPath(),p.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,t=0;t<r;t+=1){for("st"!==s&&"gs"!==s||(h.beginPath(),l.da&&(h.setLineDash(l.da),h.lineDashOffset=l.do)),o=(i=a[t].trNodes).length,n=0;n<o;n+=1)"m"==i[n].t?h.moveTo(i[n].p[0],i[n].p[1]):"c"==i[n].t?h.bezierCurveTo(i[n].pts[0],i[n].pts[1],i[n].pts[2],i[n].pts[3],i[n].pts[4],i[n].pts[5]):h.closePath();"st"!==s&&"gs"!==s||(h.stroke(),l.da&&h.setLineDash(this.dashResetter))}"st"!==s&&"gs"!==s&&h.fill(l.r),p.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var o,a;for(a=e,o=t.length-1;o>=0;o-=1)"tr"==t[o].ty?(a=r[o].transform,this.renderShapeTransform(e,a)):"sh"==t[o].ty||"el"==t[o].ty||"rc"==t[o].ty||"sr"==t[o].ty?this.renderPath(t[o],r[o]):"fl"==t[o].ty?this.renderFill(t[o],r[o],a):"st"==t[o].ty?this.renderStroke(t[o],r[o],a):"gf"==t[o].ty||"gs"==t[o].ty?this.renderGradientFill(t[o],r[o],a):"gr"==t[o].ty?this.renderShape(a,t[o].it,r[o].it):t[o].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,o,a=e.trNodes,i=t.paths,s=i._length;a.length=0;var l=e.transforms.finalTransform;for(o=0;o<s;o+=1){var c=i.shapes[o];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),a.push({t:"z"}))}}e.trNodes=a}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n=t.style;if(!n.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var o=this.globalData.canvasContext,a=t.s.v,i=t.e.v;if(1===e.t)u=o.createLinearGradient(a[0],a[1],i[0],i[1]);else var s=Math.sqrt(Math.pow(a[0]-i[0],2)+Math.pow(a[1]-i[1],2)),l=Math.atan2(i[1]-a[1],i[0]-a[0]),c=s*(t.h.v>=1?.99:t.h.v<=-1?-.99:t.h.v),p=Math.cos(l+t.a.v)*c+a[0],h=Math.sin(l+t.a.v)*c+a[1],u=o.createRadialGradient(p,h,0,a[0],a[1],s);var d,f=e.g.p,m=t.g.c,_=1;for(d=0;d<f;d+=1)t.g._hasOpacity&&t.g._collapsable&&(_=t.g.o[2*d+1]),u.addColorStop(m[4*d]/100,"rgba("+m[4*d+1]+","+m[4*d+2]+","+m[4*d+3]+","+_+")");n.grd=u}n.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,o=t.d;o&&(o._mdf||this._isFirstFrame)&&(n.da=o.dashArray,n.do=o.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bm_floor(t.c.v[0])+","+bm_floor(t.c.v[1])+","+bm_floor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var n,o,a=this.globalData.fontManager.getFontByName(e.f),i=e.l,s=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,o=e.finalText.length;var l,c,p,h,u,d,f,m,_,y,b=this.data.singleShape,g=e.tr/1e3*e.finalSize,v=0,w=0,x=!0,E=0;for(n=0;n<o;n+=1){for(c=(l=this.globalData.fontManager.getCharData(e.finalText[n],a.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&l.data||{},s.reset(),b&&i[n].n&&(v=-g,w+=e.yOffset,w+=x?1:0,x=!1),f=(u=c.shapes?c.shapes[0].it:[]).length,s.scale(e.finalSize/100,e.finalSize/100),b&&this.applyTextPropertiesToMatrix(e,s,i[n].line,v,w),_=createSizedArray(f),d=0;d<f;d+=1){for(h=u[d].ks.k.i.length,m=u[d].ks.k,y=[],p=1;p<h;p+=1)1==p&&y.push(s.applyToX(m.v[0][0],m.v[0][1],0),s.applyToY(m.v[0][0],m.v[0][1],0)),y.push(s.applyToX(m.o[p-1][0],m.o[p-1][1],0),s.applyToY(m.o[p-1][0],m.o[p-1][1],0),s.applyToX(m.i[p][0],m.i[p][1],0),s.applyToY(m.i[p][0],m.i[p][1],0),s.applyToX(m.v[p][0],m.v[p][1],0),s.applyToY(m.v[p][0],m.v[p][1],0));y.push(s.applyToX(m.o[p-1][0],m.o[p-1][1],0),s.applyToY(m.o[p-1][0],m.o[p-1][1],0),s.applyToX(m.i[0][0],m.i[0][1],0),s.applyToY(m.i[0][0],m.i[0][1],0),s.applyToX(m.v[0][0],m.v[0][1],0),s.applyToY(m.v[0][0],m.v[0][1],0)),_[d]=y}b&&(v+=i[n].l,v+=g),this.textSpans[E]?this.textSpans[E].elem=_:this.textSpans[E]={elem:_},E+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,o,a,i=this.canvasContext;this.finalTransform.mat.props;i.font=this.values.fValue,i.lineCap="butt",i.lineJoin="miter",i.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var s,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;t=c.length;var p,h,u=null,d=null,f=null;for(e=0;e<t;e+=1)if(!c[e].n){if((s=l[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(s.p),this.globalData.renderer.ctxOpacity(s.o)),this.fill){for(s&&s.fc?u!==s.fc&&(u=s.fc,i.fillStyle=s.fc):u!==this.values.fill&&(u=this.values.fill,i.fillStyle=this.values.fill),n=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(h=p[r]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),o=2;o<a;o+=6)this.globalData.canvasContext.bezierCurveTo(h[o],h[o+1],h[o+2],h[o+3],h[o+4],h[o+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(s&&s.sw?f!==s.sw&&(f=s.sw,i.lineWidth=s.sw):f!==this.values.sWidth&&(f=this.values.sWidth,i.lineWidth=this.values.sWidth),s&&s.sc?d!==s.sc&&(d=s.sc,i.strokeStyle=s.sc):d!==this.values.stroke&&(d=this.values.stroke,i.strokeStyle=this.values.stroke),n=(p=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(a=(h=p[r]).length,this.globalData.canvasContext.moveTo(h[0],h[1]),o=2;o<a;o+=6)this.globalData.canvasContext.bezierCurveTo(h[o],h[o+1],h[o+2],h[o+3],h[o+4],h[o+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}s&&this.globalData.renderer.restore()}},CVEffects.prototype.renderFrame=function(){},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(){this.finalTransform._matMdf&&(this.transformedElement.style.transform=this.transformedElement.style.webkitTransform=this.finalTransform.mat.toCSS()),this.finalTransform._opMdf&&(this.transformedElement.style.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=HybridRenderer.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([HybridRenderer,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(e,t){for(var r,n=0;n<t;)this.elements[n]&&this.elements[n].getBaseElement&&(r=this.elements[n].getBaseElement()),n+=1;r?this.layerElement.insertBefore(e,r):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 r,n=e.length;for(r=0;r<n;r+=1)t=e[r].mProps.v.applyToPointArray(t[0],t[1],0);return t},HShapeElement.prototype.calculateShapeBoundingBox=function(e,t){var r,n,o,a,i,s=e.sh.v,l=e.transformers,c=s._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)n=this.getTransformedPoint(l,s.v[r]),o=this.getTransformedPoint(l,s.o[r]),a=this.getTransformedPoint(l,s.i[r+1]),i=this.getTransformedPoint(l,s.v[r+1]),this.checkBounds(n,o,a,i,t);s.c&&(n=this.getTransformedPoint(l,s.v[r]),o=this.getTransformedPoint(l,s.o[r]),a=this.getTransformedPoint(l,s.i[0]),i=this.getTransformedPoint(l,s.v[0]),this.checkBounds(n,o,a,i,t))}},HShapeElement.prototype.checkBounds=function(e,t,r,n,o){this.getBoundsOfCurve(e,t,r,n);var a=this.shapeBoundingBox;o.x=bm_min(a.left,o.x),o.xMax=bm_max(a.right,o.xMax),o.y=bm_min(a.top,o.y),o.yMax=bm_max(a.bottom,o.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(e,t,r,n){for(var o,a,i,s,l,c,p,h=[[e[0],n[0]],[e[1],n[1]]],u=0;u<2;++u)if(a=6*e[u]-12*t[u]+6*r[u],o=-3*e[u]+9*t[u]-9*r[u]+3*n[u],i=3*t[u]-3*e[u],a|=0,i|=0,0!==(o|=0))(l=a*a-4*i*o)<0||(0<(c=(-a+bm_sqrt(l))/(2*o))&&c<1&&h[u].push(this.calculateF(c,e,t,r,n,u)),0<(p=(-a-bm_sqrt(l))/(2*o))&&p<1&&h[u].push(this.calculateF(p,e,t,r,n,u)));else{if(0===a)continue;0<(s=-i/a)&&s<1&&h[u].push(this.calculateF(s,e,t,r,n,u))}this.shapeBoundingBox.left=bm_min.apply(null,h[0]),this.shapeBoundingBox.top=bm_min.apply(null,h[1]),this.shapeBoundingBox.right=bm_max.apply(null,h[0]),this.shapeBoundingBox.bottom=bm_max.apply(null,h[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,o,a){return bm_pow(1-e,3)*t[a]+3*bm_pow(1-e,2)*e*r[a]+3*(1-e)*bm_pow(e,2)*n[a]+bm_pow(e,3)*o[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]&&e[r].sh?this.calculateShapeBoundingBox(e[r],t):e[r]&&e[r].it&&this.calculateBoundingBox(e[r].it,t)},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<e.x?0:e.xMax-e.x,e.height=e.yMax<e.y?0:e.yMax-e.y,this.currentBoxContains(e))return;var r=!1;this.currentBBox.w!==e.width&&(this.currentBBox.w=e.width,this.shapeCont.setAttribute("width",e.width),r=!0),this.currentBBox.h!==e.height&&(this.currentBBox.h=e.height,this.shapeCont.setAttribute("height",e.height),r=!0),(r||this.currentBBox.x!==e.x||this.currentBBox.y!==e.y)&&(this.currentBBox.w=e.width,this.currentBBox.h=e.height,this.currentBBox.x=e.x,this.currentBBox.y=e.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.shapeCont.style.transform=this.shapeCont.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}},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 e=createNS("g");this.maskedElement.appendChild(e),this.innerElem=e}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=this.innerElem.style;t.color=t.fill=e.fc?this.buildColor(e.fc):"rgba(0,0,0,0)",e.sc&&(t.stroke=this.buildColor(e.sc),t.strokeWidth=e.sw+"px");var r,n,o=this.globalData.fontManager.getFontByName(e.f);if(!this.globalData.fontManager.chars)if(t.fontSize=e.finalSize+"px",t.lineHeight=e.finalSize+"px",o.fClass)this.innerElem.className=o.fClass;else{t.fontFamily=o.fFamily;var a=e.fWeight,i=e.fStyle;t.fontStyle=i,t.fontWeight=a}var s,l,c,p=e.l;n=p.length;var h,u=this.mHelper,d="",f=0;for(r=0;r<n;r+=1){if(this.globalData.fontManager.chars?(this.textPaths[f]?s=this.textPaths[f]:((s=createNS("path")).setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[f]?c=(l=this.textSpans[f]).children[0]:((l=createTag("div")).style.lineHeight=0,(c=createNS("svg")).appendChild(s),styleDiv(l)))):this.isMasked?s=this.textPaths[f]?this.textPaths[f]:createNS("text"):this.textSpans[f]?(l=this.textSpans[f],s=this.textPaths[f]):(styleDiv(l=createTag("span")),styleDiv(s=createTag("span")),l.appendChild(s)),this.globalData.fontManager.chars){var m,_=this.globalData.fontManager.getCharData(e.finalText[r],o.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily);if(m=_?_.data:null,u.reset(),m&&m.shapes&&(h=m.shapes[0].it,u.scale(e.finalSize/100,e.finalSize/100),d=this.createPathShape(u,h),s.setAttribute("d",d)),this.isMasked)this.innerElem.appendChild(s);else{if(this.innerElem.appendChild(l),m&&m.shapes){document.body.appendChild(c);var y=c.getBBox();c.setAttribute("width",y.width+2),c.setAttribute("height",y.height+2),c.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2)),c.style.transform=c.style.webkitTransform="translate("+(y.x-1)+"px,"+(y.y-1)+"px)",p[r].yOffset=y.y-1}else c.setAttribute("width",1),c.setAttribute("height",1);l.appendChild(c)}}else s.textContent=p[r].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked?this.innerElem.appendChild(s):(this.innerElem.appendChild(l),s.style.transform=s.style.webkitTransform="translate3d(0,"+-e.finalSize/1.2+"px,0)");this.isMasked?this.textSpans[f]=s:this.textSpans[f]=l,this.textSpans[f].style.display="block",this.textPaths[f]=s,f+=1}for(;f<this.textSpans.length;)this.textSpans[f].style.display="none",f+=1},HTextElement.prototype.renderInnerContent=function(){if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;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),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)")}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var e,t,r,n,o,a=0,i=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(t=s.length,e=0;e<t;e+=1)s[e].n?a+=1:(n=this.textSpans[e],o=this.textPaths[e],r=i[a],a+=1,r._mdf.m&&(this.isMasked?n.setAttribute("transform",r.m):n.style.transform=n.style.webkitTransform=r.m),n.style.opacity=r.o,r.sw&&r._mdf.sw&&o.setAttribute("stroke-width",r.sw),r.sc&&r._mdf.sc&&o.setAttribute("stroke",r.sc),r.fc&&r._mdf.fc&&(o.setAttribute("fill",r.fc),o.style.color=r.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var l=this.innerElem.getBBox();this.currentBBox.w!==l.width&&(this.currentBBox.w=l.width,this.svgElement.setAttribute("width",l.width)),this.currentBBox.h!==l.height&&(this.currentBBox.h=l.height,this.svgElement.setAttribute("height",l.height));this.currentBBox.w===l.width+2&&this.currentBBox.h===l.height+2&&this.currentBBox.x===l.x-1&&this.currentBBox.y===l.y-1||(this.currentBBox.w=l.width+2,this.currentBBox.h=l.height+2,this.currentBBox.x=l.x-1,this.currentBBox.y=l.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),this.svgElement.style.transform=this.svgElement.style.webkitTransform="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)")}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData),t=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",e),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(t),t.src=e,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var e,t,r=this.comp.threeDElements.length;for(e=0;e<r;e+=1)"3d"===(t=this.comp.threeDElements[e]).type&&(t.perspectiveElem.style.perspective=t.perspectiveElem.style.webkitPerspective=this.pe.v+"px",t.container.style.transformOrigin=t.container.style.mozTransformOrigin=t.container.style.webkitTransformOrigin="0px 0px 0px",t.perspectiveElem.style.transform=t.perspectiveElem.style.webkitTransform="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)")},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var e,t,r=this._isFirstFrame;if(this.hierarchy)for(t=this.hierarchy.length,e=0;e<t;e+=1)r=this.hierarchy[e].finalTransform.mProp._mdf||r;if(r||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(e=t=this.hierarchy.length-1;e>=0;e-=1){var n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.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 o;o=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 a=Math.sqrt(Math.pow(o[0],2)+Math.pow(o[1],2)+Math.pow(o[2],2)),i=[o[0]/a,o[1]/a,o[2]/a],s=Math.sqrt(i[2]*i[2]+i[0]*i[0]),l=Math.atan2(i[1],s),c=Math.atan2(i[0],-i[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 p=!this._prevMat.equals(this.mat);if((p||this.pe._mdf)&&this.comp.threeDElements){var h;for(t=this.comp.threeDElements.length,e=0;e<t;e+=1)"3d"===(h=this.comp.threeDElements[e]).type&&(p&&(h.container.style.transform=h.container.style.webkitTransform=this.mat.toCSS()),this.pe._mdf&&(h.perspectiveElem.style.perspective=h.perspectiveElem.style.webkitPerspective=this.pe.v+"px"));this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},HEffects.prototype.renderFrame=function(){};var animationManager=function(){var e={},t=[],r=0,n=0,o=0,a=!0,i=!1;function s(e){for(var r=0,o=e.target;r<n;)t[r].animation===o&&(t.splice(r,1),r-=1,n-=1,o.isPaused||p()),r+=1}function l(e,r){if(!e)return null;for(var o=0;o<n;){if(t[o].elem==e&&null!==t[o].elem)return t[o].animation;o+=1}var a=new AnimationItem;return h(a,e),a.setData(e,r),a}function c(){o+=1,f()}function p(){o-=1}function h(e,r){e.addEventListener("destroy",s),e.addEventListener("_active",c),e.addEventListener("_idle",p),t.push({elem:r,animation:e}),n+=1}function u(e){var s,l=e-r;for(s=0;s<n;s+=1)t[s].animation.advanceTime(l);r=e,o&&!i?window.requestAnimationFrame(u):a=!0}function d(e){r=e,window.requestAnimationFrame(u)}function f(){!i&&o&&a&&(window.requestAnimationFrame(d),a=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return h(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var o;for(o=0;o<n;o+=1)t[o].animation.setSpeed(e,r)},e.setDirection=function(e,r){var o;for(o=0;o<n;o+=1)t[o].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var n,o=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=o.length;for(n=0;n<a;n+=1)r&&o[n].setAttribute("data-bm-type",r),l(o[n],e);if(t&&0===a){r||(r="svg");var i=document.getElementsByTagName("body")[0];i.innerHTML="";var s=createTag("div");s.style.width="100%",s.style.height="100%",s.setAttribute("data-bm-type",r),i.appendChild(s),l(s,e)}},e.resize=function(){var e;for(e=0;e<n;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,o){var a;for(a=0;a<n;a+=1)t[a].animation.goToAndStop(e,r,o)},e.destroy=function(e){var r;for(r=n-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){i=!0},e.unfreeze=function(){i=!1,f()},e.getRegisteredAnimations=function(){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n.push(t[e].animation);return n},e}(),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.subframeEnabled=subframeEnabled,this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){e.context&&(this.context=e.context),(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t=e.animType?e.animType:e.renderer?e.renderer:"svg";switch(t){case"canvas":this.renderer=new CanvasRenderer(this,e.rendererSettings);break;case"svg":this.renderer=new SVGRenderer(this,e.rendererSettings);break;default:this.renderer=new HybridRenderer(this,e.rendererSettings)}this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||(!1===e.loop?this.loop=!1:!0===e.loop?this.loop=!0:this.loop=parseInt(e.loop)),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!e.hasOwnProperty("autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.animationData?this.configAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),assetLoader.load(e.path,this.configAnimation.bind(this),function(){this.trigger("data_failed")}.bind(this)))},AnimationItem.prototype.setData=function(e,t){var r={wrapper:e,animationData:t?"object"===_typeof(t)?t:JSON.parse(t):null},n=e.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:"canvas";var o=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";""===o||(r.loop="false"!==o&&("true"===o||parseInt(o)));var a=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,o=n.length,a=e.layers,i=a.length;for(r=0;r<i;r+=1)for(t=0;t<o;){if(n[t].id==a[r].id){n[t]=a[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(o=e.assets.length,t=0;t<o;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),this.renderer.includeLayers(e.layers),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,assetLoader.load(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(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(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.loaded()?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){this.isLoaded||!this.renderer.globalData.fontManager.loaded()||!this.imagePreloader.loaded()&&"canvas"===this.renderer.rendererType||(this.isLoaded=!0,dataManager.completeData(this.animationData,this.renderer.globalData.fontManager),expressionsPlugin&&expressionsPlugin.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play())},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(e){this.subframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.subframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame()},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded)try{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._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!=e||!1===this.isPaused&&(this.isPaused=!0,this._idle=!0,this.trigger("_idle"))},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.goToAndStop=function(e,t,r){r&&this.name!=r||(t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier),this.pause())},AnimationItem.prototype.goToAndPlay=function(e,t,r){this.goToAndStop(e,t,r),this.play()},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=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)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.timeCompleted=this.totalFrames=e[0]-e[1],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.timeCompleted=this.totalFrames=e[1]-e[0],this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.timeCompleted=this.totalFrames=t-e,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof(e[0])){var r,n=e.length;for(r=0;r<n;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!=e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=this.onLoopComplete=this.onComplete=this.onSegmentStart=this.onDestroy=null,this.renderer=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e==this.assets[t].id)return this.assets[t];t+=1}},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};var Expressions=functi
|