!function(){try{var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},e=(new Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="c8ca272c-b666-4acf-bdb5-8a84b12dad70",t._sentryDebugIdIdentifier="sentry-dbid-c8ca272c-b666-4acf-bdb5-8a84b12dad70")}catch(t){}}();var _global="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};_global.SENTRY_RELEASE={id:"6ef291b591cadd086263d4b53e98fd37e4c8a3b5"},(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{"+ZMC":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("JFyH"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},"+c9P":function(t,e,r){"use strict";e.__esModule=!0,e.getChildMapping=i,e.mergeChildMappings=a,e.getInitialChildMapping=function(t,e){return i(t.children,(function(r){return(0,n.cloneElement)(r,{onExited:e.bind(null,r),in:!0,appear:s(r,"appear",t),enter:s(r,"enter",t),exit:s(r,"exit",t)})}))},e.getNextChildMapping=function(t,e,r){var o=i(t.children),l=a(e,o);return Object.keys(l).forEach((function(i){var a=l[i];if((0,n.isValidElement)(a)){var h=i in e,p=i in o,u=e[i],c=(0,n.isValidElement)(u)&&!u.props.in;!p||h&&!c?p||!h||c?p&&h&&(0,n.isValidElement)(u)&&(l[i]=(0,n.cloneElement)(a,{onExited:r.bind(null,a),in:u.props.in,exit:s(a,"exit",t),enter:s(a,"enter",t)})):l[i]=(0,n.cloneElement)(a,{in:!1}):l[i]=(0,n.cloneElement)(a,{onExited:r.bind(null,a),in:!0,exit:s(a,"exit",t),enter:s(a,"enter",t)})}})),l};var n=r("q1tI");function i(t,e){var r=Object.create(null);return t&&n.Children.map(t,(function(t){return t})).forEach((function(t){r[t.key]=function(t){return e&&(0,n.isValidElement)(t)?e(t):t}(t)})),r}function a(t,e){function r(r){return r in e?e[r]:t[r]}t=t||{},e=e||{};var n,i=Object.create(null),a=[];for(var s in t)s in e?a.length&&(i[s]=a,a=[]):a.push(s);var o={};for(var l in e){if(i[l])for(n=0;n-1}function h(t,e,r){for(var n=-1,i=t?t.length:0;++n-1},R.prototype.set=function(t,e){var r=this.__data__,n=j(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},B.prototype.clear=function(){this.__data__={hash:new O,map:new(I||R),string:new O}},B.prototype.delete=function(t){return H(this,t).delete(t)},B.prototype.get=function(t){return H(this,t).get(t)},B.prototype.has=function(t){return H(this,t).has(t)},B.prototype.set=function(t,e){return H(this,t).set(t,e),this},L.prototype.add=L.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},L.prototype.has=function(t){return this.__data__.has(t)};var W=k?d(k,Object):st,U=k?function(t){for(var e=[];t;)u(e,W(t)),t=C(t);return e}:st;function X(t){return K(t)||Z(t)||!!(A&&t&&t[A])}function Y(t,e){return!!(e=null==e?9007199254740991:e)&&("number"==typeof t||n.test(t))&&t>-1&&t%1==0&&t-1&&t%1==0&&t<=9007199254740991}(t.length)&&!Q(t)}function Q(t){var e=tt(t)?P.call(t):"";return"[object Function]"==e||"[object GeneratorFunction]"==e}function tt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function et(t){return!!t&&"object"==typeof t}function rt(t){return J(t)?V(t,!0):z(t)}var nt,it,at=(nt=function(t,e){return null==t?{}:(e=p(function t(e,r,n,i,a){var s=-1,o=e.length;for(n||(n=X),a||(a=[]);++s0&&n(l)?r>1?t(l,r-1,n,i,a):u(a,l):i||(a[a.length]=l)}return a}(e,1),$),function(t,e){return function(t,e,r){for(var n=-1,i=e.length,a={};++n=200&&(s=f,o=!1,e=new L(e));t:for(;++a/g,">"),(0,l.default)(/"/g,"""),(0,l.default)(/'/g,"'"),(0,l.default)(/`/g,"`"));e.default=p,t.exports=e.default},"4Rfx":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("2/PY"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},"4Z/T":function(t,e,r){var n;!function(){"use strict";var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(t){return o(h(t),arguments)}function s(t,e){return a.apply(null,[t].concat(e||[]))}function o(t,e){var r,n,s,o,l,h,p,u,c,f=1,d=t.length,m="";for(n=0;n=0),o.type){case"b":r=parseInt(r,10).toString(2);break;case"c":r=String.fromCharCode(parseInt(r,10));break;case"d":case"i":r=parseInt(r,10);break;case"j":r=JSON.stringify(r,null,o.width?parseInt(o.width):0);break;case"e":r=o.precision?parseFloat(r).toExponential(o.precision):parseFloat(r).toExponential();break;case"f":r=o.precision?parseFloat(r).toFixed(o.precision):parseFloat(r);break;case"g":r=o.precision?String(Number(r.toPrecision(o.precision))):parseFloat(r);break;case"o":r=(parseInt(r,10)>>>0).toString(8);break;case"s":r=String(r),r=o.precision?r.substring(0,o.precision):r;break;case"t":r=String(!!r),r=o.precision?r.substring(0,o.precision):r;break;case"T":r=Object.prototype.toString.call(r).slice(8,-1).toLowerCase(),r=o.precision?r.substring(0,o.precision):r;break;case"u":r=parseInt(r,10)>>>0;break;case"v":r=r.valueOf(),r=o.precision?r.substring(0,o.precision):r;break;case"x":r=(parseInt(r,10)>>>0).toString(16);break;case"X":r=(parseInt(r,10)>>>0).toString(16).toUpperCase()}i.json.test(o.type)?m+=r:(!i.number.test(o.type)||u&&!o.sign?c="":(c=u?"+":"-",r=r.toString().replace(i.sign,"")),h=o.pad_char?"0"===o.pad_char?"0":o.pad_char.charAt(1):" ",p=o.width-(c+r).length,l=o.width&&p>0?h.repeat(p):"",m+=o.align?c+r+l:"0"===h?c+l+r:l+c+r)}return m}var l=Object.create(null);function h(t){if(l[t])return l[t];for(var e,r=t,n=[],a=0;r;){if(null!==(e=i.text.exec(r)))n.push(e[0]);else if(null!==(e=i.modulo.exec(r)))n.push("%");else{if(null===(e=i.placeholder.exec(r)))throw new SyntaxError("[sprintf] unexpected placeholder");if(e[2]){a|=1;var s=[],o=e[2],h=[];if(null===(h=i.key.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(s.push(h[1]);""!==(o=o.substring(h[0].length));)if(null!==(h=i.key_access.exec(o)))s.push(h[1]);else{if(null===(h=i.index_access.exec(o)))throw new SyntaxError("[sprintf] failed to parse named argument key");s.push(h[1])}e[2]=s}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");n.push({placeholder:e[0],param_no:e[1],keys:e[2],sign:e[3],pad_char:e[4],align:e[5],width:e[6],precision:e[7],type:e[8]})}r=r.substring(e[0].length)}return l[t]=n}e.sprintf=a,e.vsprintf=s,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=s,void 0===(n=function(){return{sprintf:a,vsprintf:s}}.call(e,r,e,t))||(t.exports=n))}()},"53Y+":function(t,e,r){"use strict";e.__esModule=!0,e.getBatch=e.setBatch=void 0;var n=function(t){t()};e.setBatch=function(t){return n=t};e.getBatch=function(){return n}},"5MzV":function(t,e,r){"use strict";e.__esModule=!0,e.useIsomorphicLayoutEffect=void 0;var n=r("q1tI"),i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;e.useIsomorphicLayoutEffect=i},"5hAu":function(t,e,r){"use strict";e.__esModule=!0;var n=Object.assign||function(t){for(var e=1;e=Math.floor(s)&&u=Math.floor(o),m=r.getActiveLink();return d?(i===m&&r.setActiveLink(void 0),t.props.hashSpy&&c.getHash()===i&&c.changeHash(),t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive()),h.updateStates()):f&&m!==i?(r.setActiveLink(i),t.props.hashSpy&&c.changeHash(i),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(i)),h.updateStates()):void 0}}};return u.propTypes=f,u.defaultProps={offset:0},u},Element:function(t){console.warn("Helpers.Element is deprecated since v1.7.0");var e=function(e){function r(t){a(this,r);var e=s(this,(r.__proto__||Object.getPrototypeOf(r)).call(this,t));return e.childBindings={domNode:null},e}return o(r,e),i(r,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(t){this.props.name!==t.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;p.unregister(this.props.name)}},{key:"registerElems",value:function(t){p.register(t,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(t,n({},this.props,{parentBindings:this.childBindings}))}}]),r}(l.Component);return e.propTypes={name:u.string,id:u.string},e}};t.exports=d},"7NvB":function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;e.default={disabled:!1},t.exports=e.default},"7wkA":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(t,e){for(var r=0;r.*?/,h=/[<>\/\u2028\u2029]/g,p=["*","async"],u={"<":"\\u003C",">":"\\u003E","/":"\\u002F","\u2028":"\\u2028","\u2029":"\\u2029"};function c(t){return u[t]}t.exports=function t(e,r){r||(r={}),"number"!=typeof r&&"string"!=typeof r||(r={space:r});var n,u=[],f=[],d=[],m=[],y=[],g=[],v=[],b=[],_=[];return r.ignoreFunction&&"function"==typeof e&&(e=void 0),void 0===e?String(e):"string"!=typeof(n=r.isJSON&&!r.space?JSON.stringify(e):JSON.stringify(e,r.isJSON?null:function(t,e){if(r.ignoreFunction&&function(t){var e=[];for(var r in t)"function"==typeof t[r]&&e.push(r);for(var n=0;n0}));return n.filter((function(t){return-1===p.indexOf(t)})).length>0?(n.indexOf("async")>-1?"async ":"")+"function"+(n.join("").indexOf("*")>-1?"*":"")+e.substr(r):e}(u[a])})))}},AojV:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(r("Tanh")),i=a(r("voke"));function a(t){return t&&t.__esModule?t:{default:t}}var s=(0,n.default)("v5",80,i.default);e.default=s},Ap7T:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"v3",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"v5",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(e,"NIL",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"version",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return u.default}});var n=c(r("Z2ph")),i=c(r("aIIi")),a=c(r("63qc")),s=c(r("AojV")),o=c(r("ju5V")),l=c(r("nDFU")),h=c(r("RQ59")),p=c(r("RaQl")),u=c(r("lLgR"));function c(t){return t&&t.__esModule?t:{default:t}}},BCXq:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("dTxY"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},BnTw:function(t,e,r){"use strict";var n=r("TqRt");e.__esModule=!0,e.whenMapDispatchToPropsIsFunction=s,e.whenMapDispatchToPropsIsMissing=o,e.whenMapDispatchToPropsIsObject=l,e.default=void 0;var i=n(r("KzgV")),a=r("GBcg");function s(t){return"function"==typeof t?(0,a.wrapMapToPropsFunc)(t,"mapDispatchToProps"):void 0}function o(t){return t?void 0:(0,a.wrapMapToPropsConstant)((function(t){return{dispatch:t}}))}function l(t){return t&&"object"==typeof t?(0,a.wrapMapToPropsConstant)((function(e){return(0,i.default)(t,e)})):void 0}var h=[s,o,l];e.default=h},DWqG:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("4H+a"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},Dakk:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(r("pIPx")),i=o(r("BCXq")),a=o(r("NtWr")),s=o(r("fDF/"));function o(t){return t&&t.__esModule?t:{default:t}}var l=new n.default(i.default,(0,s.default)(/(?:\s+)/g," "),a.default);e.default=l,t.exports=e.default},"Dy/p":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});r("QLqi");var n,i=r("xFC4"),a=(n=i)&&n.__esModule?n:{default:n};var s={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(t){this.scroller=t,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(t,e){this.containers[t]=e},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var t=this,e=this.getHash();e?window.setTimeout((function(){t.scrollTo(e,!0),t.initialized=!0}),10):this.initialized=!0},scrollTo:function(t,e){var r=this.scroller;if(r.get(t)&&(e||t!==r.getActiveLink())){var n=this.containers[t]||document;r.scrollTo(t,{container:n})}},getHash:function(){return a.default.getHash()},changeHash:function(t,e){this.isInitialized()&&a.default.getHash()!==t&&a.default.updateHash(t,e)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}};e.default=s},EaHQ:function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t,e){return t.classList?!!e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" ")},t.exports=e.default},"FL/T":function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(r("pIPx")),i=o(r("r9/1")),a=o(r("BCXq")),s=o(r("NtWr"));function o(t){return t&&t.__esModule?t:{default:t}}var l=new n.default((0,a.default)({separator:","}),i.default,s.default);e.default=l,t.exports=e.default},G3Nh:function(t,e,r){"use strict";var n=r("TqRt");e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.add(e):(0,i.default)(t,e)||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))};var i=n(r("EaHQ"));t.exports=e.default},GBcg:function(t,e,r){"use strict";var n=r("TqRt");e.__esModule=!0,e.wrapMapToPropsConstant=function(t){return function(e,r){var n=t(e,r);function i(){return n}return i.dependsOnOwnProps=!1,i}},e.getDependsOnOwnProps=i,e.wrapMapToPropsFunc=function(t,e){return function(e,r){r.displayName;var n=function(t,e){return n.dependsOnOwnProps?n.mapToProps(t,e):n.mapToProps(t)};return n.dependsOnOwnProps=!0,n.mapToProps=function(e,r){n.mapToProps=t,n.dependsOnOwnProps=i(t);var a=n(e,r);return"function"==typeof a&&(n.mapToProps=a,n.dependsOnOwnProps=i(a),a=n(e,r)),a},n}};n(r("MjzW"));function i(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}},GvO0:function(t,e,r){"use strict";e.__esModule=!0;s(r("17x9"));var n=r("q1tI"),i=s(n),a=s(r("pln+"));function s(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h=function(t){function e(){var r,n;o(this,e);for(var i=arguments.length,a=Array(i),s=0;s1?r-1:0),i=1;i0&&Array.isArray(n[0])&&(n=n[0]),this.transformers=n.map((function(t){return"function"==typeof t?t():t})),this.tag}return a(t,[{key:"interimTag",value:function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i=i.duration?1:e(i.progress/i.duration),i.currentPosition=i.startPosition+Math.ceil(i.delta*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?r.horizontal?i.containerElement.scrollLeft=i.currentPosition:i.containerElement.scrollTop=i.currentPosition:r.horizontal?window.scrollTo(i.currentPosition,0):window.scrollTo(0,i.currentPosition),i.percent<1){var a=t.bind(null,e,r);h.call(window,a)}else s.default.registered.end&&s.default.registered.end(i.to,i.target,i.currentPosition);else s.default.registered.end&&s.default.registered.end(i.to,i.target,i.currentPositionY)},f=function(t){t.data.containerElement=t?t.containerId?document.getElementById(t.containerId):t.container&&t.container.nodeType?t.container:document:null},d=function(t,e,r,n){if(e.data=e.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},window.clearTimeout(e.data.delayTimeout),a.default.subscribe((function(){e.data.cancel=!0})),f(e),e.data.start=null,e.data.cancel=!1,e.data.startPosition=e.horizontal?p(e):u(e),e.data.targetPosition=e.absolute?t:t+e.data.startPosition,e.data.startPosition!==e.data.targetPosition){var i;e.data.delta=Math.round(e.data.targetPosition-e.data.startPosition),e.data.duration=("function"==typeof(i=e.duration)?i:function(){return i})(e.data.delta),e.data.duration=isNaN(parseFloat(e.data.duration))?1e3:parseFloat(e.data.duration),e.data.to=r,e.data.target=n;var o=l(e),d=c.bind(null,o,e);e&&e.delay>0?e.data.delayTimeout=window.setTimeout((function(){s.default.registered.begin&&s.default.registered.begin(e.data.to,e.data.target),h.call(window,d)}),e.delay):(s.default.registered.begin&&s.default.registered.begin(e.data.to,e.data.target),h.call(window,d))}else s.default.registered.end&&s.default.registered.end(e.data.to,e.data.target,e.data.currentPosition)},m=function(t){return(t=n({},t)).data=t.data||{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null},t.absolute=!0,t};e.default={animateTopScroll:d,getAnimationType:l,scrollToTop:function(t){d(0,m(t))},scrollToBottom:function(t){t=m(t),f(t),d(t.horizontal?function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollWidth-e.offsetWidth;var r=document.body,n=document.documentElement;return Math.max(r.scrollWidth,r.offsetWidth,n.clientWidth,n.scrollWidth,n.offsetWidth)}(t):function(t){var e=t.data.containerElement;if(e&&e!==document&&e!==document.body)return e.scrollHeight-e.offsetHeight;var r=document.body,n=document.documentElement;return Math.max(r.scrollHeight,r.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}(t),t)},scrollTo:function(t,e){d(t,m(e))},scrollMore:function(t,e){e=m(e),f(e);var r=e.horizontal?p(e):u(e);d(t+r,e)}}},NtWr:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("a6iM"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},"O/q8":function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;o(r("17x9"));var n=o(r("G3Nh")),i=o(r("e0Dq")),a=o(r("q1tI")),s=o(r("tsuC"));r("1FWn");function o(t){return t&&t.__esModule?t:{default:t}}function l(){return(l=Object.assign||function(t){for(var e=1;e=0||(i[r]=t[r]);return i}(t,["classNames"]));return a.default.createElement(s.default,l({},e,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},i}(a.default.Component);p.defaultProps={classNames:""},p.propTypes={};var u=p;e.default=u,t.exports=e.default},OFdA:function(t,e,r){"use strict";e.__esModule=!0,e.createStoreHook=s,e.useStore=void 0;var n=r("q1tI"),i=r("ikmm"),a=r("w4e1");function s(t){void 0===t&&(t=i.ReactReduxContext);var e=t===i.ReactReduxContext?a.useReduxContext:function(){return(0,n.useContext)(t)};return function(){return e().store}}var o=s();e.useStore=o},OY0s:function(t,e,r){"use strict";function n(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(e){if("initial"===t){var r=e.match(/^[^\S\n]*(?=\S)/gm),i=r&&Math.min.apply(Math,n(r.map((function(t){return t.length}))));if(i){var a=new RegExp("^.{"+i+"}","gm");return e.replace(a,"")}return e}if("all"===t)return e.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+t)}}},t.exports=e.default},Odck:function(t,e,r){"use strict";e.__esModule=!0,e.config=e.Transition=e.TransitionGroup=e.SwitchTransition=e.ReplaceTransition=e.CSSTransition=void 0;var n=h(r("O/q8"));e.CSSTransition=n.default;var i=h(r("yM4s"));e.ReplaceTransition=i.default;var a=h(r("eOVF"));e.SwitchTransition=a.default;var s=h(r("kUMV"));e.TransitionGroup=s.default;var o=h(r("tsuC"));e.Transition=o.default;var l=h(r("7NvB"));function h(t){return t&&t.__esModule?t:{default:t}}e.config=l.default},PGca:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=a(r("q1tI")),i=a(r("pUFB"));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var l=function(t){function e(){var t,r,i;s(this,e);for(var a=arguments.length,l=Array(a),h=0;h=0;n--){var i=e[n](t);if(i)return i}return function(e,n){throw new Error("Invalid value of type "+typeof t+" for "+r+" argument when connecting component "+n.wrappedComponentName+".")}}function f(t,e){return t===e}function d(t){var e=void 0===t?{}:t,r=e.connectHOC,n=void 0===r?s.default:r,d=e.mapStateToPropsFactories,m=void 0===d?h.default:d,y=e.mapDispatchToPropsFactories,g=void 0===y?l.default:y,v=e.mergePropsFactories,b=void 0===v?p.default:v,_=e.selectorFactory,x=void 0===_?u.default:_;return function(t,e,r,s){void 0===s&&(s={});var l=s,h=l.pure,p=void 0===h||h,u=l.areStatesEqual,d=void 0===u?f:u,y=l.areOwnPropsEqual,v=void 0===y?o.default:y,_=l.areStatePropsEqual,E=void 0===_?o.default:_,P=l.areMergedPropsEqual,S=void 0===P?o.default:P,w=(0,a.default)(l,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),C=c(t,m,"mapStateToProps"),M=c(e,g,"mapDispatchToProps"),T=c(r,b,"mergeProps");return n(x,(0,i.default)({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:C,initMapDispatchToProps:M,initMergeProps:T,pure:p,areStatesEqual:d,areOwnPropsEqual:v,areStatePropsEqual:E,areMergedPropsEqual:S},w))}}var m=d();e.default=m},QLqi:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.addPassiveEventListener=function(t,e,r){var n=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("test",null,e)}catch(t){}return t}();t.addEventListener(e,r,!!n&&{passive:!0})},e.removePassiveEventListener=function(t,e,r){t.removeEventListener(e,r)}},QQPg:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(t,e){n.registered[t]=e},remove:function(t){n.registered[t]=null}}};e.default=n},QY9Y:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("hAv1"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},RQ59:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=(n=r("8xxr"))&&n.__esModule?n:{default:n};var a=function(t){return"string"==typeof t&&i.default.test(t)};e.default=a},RaQl:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=(n=r("RQ59"))&&n.__esModule?n:{default:n};const a=[];for(let t=0;t<256;++t)a.push((t+256).toString(16).substr(1));var s=function(t,e=0){const r=(a[t[e+0]]+a[t[e+1]]+a[t[e+2]]+a[t[e+3]]+"-"+a[t[e+4]]+a[t[e+5]]+"-"+a[t[e+6]]+a[t[e+7]]+"-"+a[t[e+8]]+a[t[e+9]]+"-"+a[t[e+10]]+a[t[e+11]]+a[t[e+12]]+a[t[e+13]]+a[t[e+14]]+a[t[e+15]]).toLowerCase();if(!(0,i.default)(r))throw TypeError("Stringified UUID is invalid");return r};e.default=s},"SA+Z":function(t,e,r){var n=r("wTVA"),i=r("EbDI"),a=r("ZhPi"),s=r("wkBT");t.exports=function(t){return n(t)||i(t)||a(t)||s()},t.exports.__esModule=!0,t.exports.default=t.exports},SLjE:function(t,e,r){"use strict";var n=r("284h"),i=r("TqRt");e.__esModule=!0,e.default=function(t,e){void 0===e&&(e={});var r=e,n=r.getDisplayName,i=void 0===n?function(t){return"ConnectAdvanced("+t+")"}:n,u=r.methodName,_=void 0===u?"connectAdvanced":u,x=r.renderCountProp,E=void 0===x?void 0:x,P=r.shouldHandleStateChanges,S=void 0===P||P,w=r.storeKey,C=void 0===w?"store":w,M=(r.withRef,r.forwardRef),T=void 0!==M&&M,A=r.context,k=void 0===A?c.ReactReduxContext:A,D=(0,s.default)(r,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"]);0;var I=k;return function(e){var r=e.displayName||e.name||"Component",n=i(r),u=(0,a.default)({},D,{getDisplayName:i,methodName:_,renderCountProp:E,shouldHandleStateChanges:S,storeKey:C,displayName:n,wrappedComponentName:r,WrappedComponent:e}),c=D.pure;var x=c?l.useMemo:function(t){return t()};function P(r){var n=(0,l.useMemo)((function(){var t=r.reactReduxForwardedRef,e=(0,s.default)(r,["reactReduxForwardedRef"]);return[r.context,t,e]}),[r]),i=n[0],o=n[1],c=n[2],_=(0,l.useMemo)((function(){return i&&i.Consumer&&(0,h.isContextConsumer)(l.default.createElement(i.Consumer,null))?i:I}),[i,I]),E=(0,l.useContext)(_),P=Boolean(r.store)&&Boolean(r.store.getState)&&Boolean(r.store.dispatch);Boolean(E)&&Boolean(E.store);var w=P?r.store:E.store,C=(0,l.useMemo)((function(){return function(e){return t(e.dispatch,u)}(w)}),[w]),M=(0,l.useMemo)((function(){if(!S)return d;var t=new p.default(w,P?null:E.subscription),e=t.notifyNestedSubs.bind(t);return[t,e]}),[w,P,E]),T=M[0],A=M[1],k=(0,l.useMemo)((function(){return P?E:(0,a.default)({},E,{subscription:T})}),[P,E,T]),D=(0,l.useReducer)(m,f,b),F=D[0][0],O=D[1];if(F&&F.error)throw F.error;var R=(0,l.useRef)(),B=(0,l.useRef)(c),L=(0,l.useRef)(),V=(0,l.useRef)(!1),j=x((function(){return L.current&&c===B.current?L.current:C(w.getState(),c)}),[w,F,c]);y(g,[B,R,V,c,j,L,A]),y(v,[S,w,T,C,B,R,V,L,A,O],[w,T,C]);var N=(0,l.useMemo)((function(){return l.default.createElement(e,(0,a.default)({},j,{ref:o}))}),[o,e,j]);return(0,l.useMemo)((function(){return S?l.default.createElement(_.Provider,{value:k},N):N}),[_,N,k])}var w=c?l.default.memo(P):P;if(w.WrappedComponent=e,w.displayName=P.displayName=n,T){var M=l.default.forwardRef((function(t,e){return l.default.createElement(w,(0,a.default)({},t,{reactReduxForwardedRef:e}))}));return M.displayName=n,M.WrappedComponent=e,(0,o.default)(M,e)}return(0,o.default)(w,e)}};var a=i(r("pVnL")),s=i(r("8OQS")),o=i(r("2mql")),l=n(r("q1tI")),h=r("kvVz"),p=i(r("ZfTA")),u=r("5MzV"),c=r("ikmm"),f=[],d=[null,null];function m(t,e){var r=t[1];return[e.payload,r+1]}function y(t,e,r){(0,u.useIsomorphicLayoutEffect)((function(){return t.apply(void 0,e)}),r)}function g(t,e,r,n,i,a,s){t.current=n,e.current=i,r.current=!1,a.current&&(a.current=null,s())}function v(t,e,r,n,i,a,s,o,l,h){if(t){var p=!1,u=null,c=function(){if(!p){var t,r,c=e.getState();try{t=n(c,i.current)}catch(t){r=t,u=t}r||(u=null),t===a.current?s.current||l():(a.current=t,o.current=t,s.current=!0,h({type:"STORE_UPDATED",payload:{error:r}}))}};r.onStateChange=c,r.trySubscribe(),c();return function(){if(p=!0,r.tryUnsubscribe(),r.onStateChange=null,u)throw u}}}var b=function(){return[null,0]}},ST6o:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(r("pIPx")),i=o(r("BCXq")),a=o(r("NtWr")),s=o(r("fDF/"));function o(t){return t&&t.__esModule?t:{default:t}}var l=new n.default((0,i.default)({separator:",",conjunction:"and"}),(0,s.default)(/(?:\s+)/g," "),a.default);e.default=l,t.exports=e.default},Tanh:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){function a(t,a,s,o){if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let r=0;r0&&s.length>i&&!s.warned){s.warned=!0;var l=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");l.name="MaxListenersExceededWarning",l.emitter=t,l.type=e,l.count=s.length,o=l,console&&console.warn&&console.warn(o)}return t}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function d(t,e,r){var n=t._events;if(void 0===n)return[];var i=n[e];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(t){for(var e=new Array(t.length),r=0;r0&&(s=e[0]),s instanceof Error)throw s;var o=new Error("Unhandled error."+(s?" ("+s.message+")":""));throw o.context=s,o}var l=i[t];if(void 0===l)return!1;if("function"==typeof l)a(l,this,e);else{var h=l.length,p=y(l,h);for(r=0;r=0;a--)if(r[a]===e||r[a].listener===e){s=r[a].listener,i=a;break}if(i<0)return this;0===i?r.shift():function(t,e){for(;e+1=0;n--)this.removeListener(t,e[n]);return this},o.prototype.listeners=function(t){return d(this,t,!0)},o.prototype.rawListeners=function(t){return d(this,t,!1)},o.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},o.prototype.listenerCount=m,o.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},V05l:function(t,e,r){"use strict";e.__esModule=!0,e.default=function(t){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(t);try{throw new Error(t)}catch(t){}}},Vg22:function(t,e,r){"use strict";var n=r("TqRt");e.__esModule=!0;var i=n(r("rmnJ"));e.Provider=i.default;var a=n(r("SLjE"));e.connectAdvanced=a.default;var s=r("ikmm");e.ReactReduxContext=s.ReactReduxContext;var o=n(r("PeA9"));e.connect=o.default;var l=r("aHRm");e.useDispatch=l.useDispatch,e.createDispatchHook=l.createDispatchHook;var h=r("w421");e.useSelector=h.useSelector,e.createSelectorHook=h.createSelectorHook;var p=r("OFdA");e.useStore=p.useStore,e.createStoreHook=p.createStoreHook;var u=r("53Y+"),c=r("YVL4");e.batch=c.unstable_batchedUpdates;var f=n(r("nE62"));e.shallowEqual=f.default,(0,u.setBatch)(c.unstable_batchedUpdates)},"X/SR":function(t,e){for(var r=[],n=0;n<256;++n)r[n]=(n+256).toString(16).substr(1);t.exports=function(t,e){var n=e||0,i=r;return[i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],"-",i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]],i[t[n++]]].join("")}},XJj5:function(t,e,r){"use strict";var n=r("TqRt");e.__esModule=!0,e.defaultMergeProps=a,e.wrapMergePropsFunc=s,e.whenMergePropsIsFunction=o,e.whenMergePropsIsOmitted=l,e.default=void 0;var i=n(r("pVnL"));n(r("MjzW"));function a(t,e,r){return(0,i.default)({},r,t,e)}function s(t){return function(e,r){r.displayName;var n,i=r.pure,a=r.areMergedPropsEqual,s=!1;return function(e,r,o){var l=t(e,r,o);return s?i&&a(l,n)||(n=l):(s=!0,n=l),n}}}function o(t){return"function"==typeof t?s(t):void 0}function l(t){return t?void 0:function(){return a}}var h=[o,l];e.default=h},Xu78:function(t,e,r){"use strict";var n;e.__esModule=!0,e.default=void 0;var i=((n=r("q1tI"))&&n.__esModule?n:{default:n}).default.createContext(null);e.default=i,t.exports=e.default},Y30y:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;el)&&void 0===t.nsecs&&(d=0),d>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");l=f,h=d,o=c,f+=122192928e5;const y=(1e4*(268435455&f)+d)%4294967296;p[a++]=y>>>24&255,p[a++]=y>>>16&255,p[a++]=y>>>8&255,p[a++]=255&y;const g=f/4294967296*1e4&268435455;p[a++]=g>>>8&255,p[a++]=255&g,p[a++]=g>>>24&15|16,p[a++]=g>>>16&255,p[a++]=c>>>8|128,p[a++]=255&c;for(let t=0;t<6;++t)p[a+t]=u[t];return e||(0,i.default)(p)};e.default=p},ZfTA:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;var n=r("53Y+"),i={notify:function(){}};var a=function(){function t(t,e){this.store=t,this.parentSub=e,this.unsubscribe=null,this.listeners=i,this.handleChangeWrapper=this.handleChangeWrapper.bind(this)}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.handleChangeWrapper=function(){this.onStateChange&&this.onStateChange()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){var t,e,r;this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.handleChangeWrapper):this.store.subscribe(this.handleChangeWrapper),this.listeners=(t=(0,n.getBatch)(),e=null,r=null,{clear:function(){e=null,r=null},notify:function(){t((function(){for(var t=e;t;)t.callback(),t=t.next}))},get:function(){for(var t=[],r=e;r;)t.push(r),r=r.next;return t},subscribe:function(t){var n=!0,i=r={callback:t,next:null,prev:r};return i.prev?i.prev.next=i:e=i,function(){n&&null!==e&&(n=!1,i.next?i.next.prev=i.prev:r=i.prev,i.prev?i.prev.next=i.next:e=i.next)}}}))},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=i)},t}();e.default=a},a6iM:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(e){if(""===t)return e.trim();if("start"===(t=t.toLowerCase())||"left"===t)return e.replace(/^\s*/,"");if("end"===t||"right"===t)return e.replace(/\s*$/,"");throw new Error("Side not supported: "+t)}}},t.exports=e.default},aHRm:function(t,e,r){"use strict";e.__esModule=!0,e.createDispatchHook=a,e.useDispatch=void 0;var n=r("ikmm"),i=r("OFdA");function a(t){void 0===t&&(t=n.ReactReduxContext);var e=t===n.ReactReduxContext?i.useStore:(0,i.createStoreHook)(t);return function(){return e().dispatch}}var s=a();e.useDispatch=s},aIIi:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(r("Tanh")),i=a(r("bZWT"));function a(t){return t&&t.__esModule?t:{default:t}}var s=(0,n.default)("v3",48,i.default);e.default=s},"aqT/":function(t,e,r){var n;n=function(t,e){return function(t){var e={};function r(n){if(e[n])return e[n].exports;var i=e[n]={i:n,l:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)r.d(n,i,function(e){return t[e]}.bind(null,i));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=4)}([function(t,e,r){t.exports=r(5)()},function(e,r){e.exports=t},function(t,r){t.exports=e},function(t,e){t.exports=function(t,e,r){var n=t.direction,i=t.value;switch(n){case"top":return r.top+ie.bottom&&r.lefte.right;case"left":return r.left+ie.bottom&&r.tope.right;case"bottom":return r.bottom-i>e.bottom&&r.lefte.right&&r.tope.right&&r.lefte.bottom}}},function(t,e,r){"use strict";r.r(e),r.d(e,"default",(function(){return g}));var n=r(1),i=r.n(n),a=r(2),s=r.n(a),o=r(0),l=r.n(o),h=r(3),p=r.n(h);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var r=0;r-1?function(){a||(a=setTimeout(s,i||0))}:function(){clearTimeout(a),a=setTimeout(s,n||0)},getLastTimeout:function(){return a}};t.addEventListener(e,o.fn),r.debounceCheck[e]=o})),y(d(r),"startWatching",(function(){r.debounceCheck||r.interval||(r.props.intervalCheck&&(r.interval=setInterval(r.check,r.props.intervalDelay)),r.props.scrollCheck&&r.addEventListener(r.getContainer(),"scroll",r.props.scrollDelay,r.props.scrollThrottle),r.props.resizeCheck&&r.addEventListener(window,"resize",r.props.resizeDelay,r.props.resizeThrottle),!r.props.delayedCall&&r.check())})),y(d(r),"stopWatching",(function(){if(r.debounceCheck)for(var t in r.debounceCheck)if(r.debounceCheck.hasOwnProperty(t)){var e=r.debounceCheck[t];clearTimeout(e.getLastTimeout()),e.target.removeEventListener(t,e.fn),r.debounceCheck[t]=null}r.debounceCheck=null,r.interval&&(r.interval=clearInterval(r.interval))})),y(d(r),"check",(function(){var t,e,n=r.node;if(!n)return r.state;if(t=function(t){return void 0===t.width&&(t.width=t.right-t.left),void 0===t.height&&(t.height=t.bottom-t.top),t}(r.roundRectDown(n.getBoundingClientRect())),r.props.containment){var i=r.props.containment.getBoundingClientRect();e={top:i.top,left:i.left,bottom:i.bottom,right:i.right}}else e={top:0,left:0,bottom:window.innerHeight||document.documentElement.clientHeight,right:window.innerWidth||document.documentElement.clientWidth};var a=r.props.offset||{};"object"===u(a)&&(e.top+=a.top||0,e.left+=a.left||0,e.bottom-=a.bottom||0,e.right-=a.right||0);var s={top:t.top>=e.top,left:t.left>=e.left,bottom:t.bottom<=e.bottom,right:t.right<=e.right},o=t.height>0&&t.width>0,l=o&&s.top&&s.left&&s.bottom&&s.right;if(o&&r.props.partialVisibility){var h=t.top<=e.bottom&&t.bottom>=e.top&&t.left<=e.right&&t.right>=e.left;"string"==typeof r.props.partialVisibility&&(h=s[r.props.partialVisibility]),l=r.props.minTopValue?h&&t.top<=e.bottom-r.props.minTopValue:h}"string"==typeof a.direction&&"number"==typeof a.value&&(console.warn("[notice] offset.direction and offset.value have been deprecated. They still work for now, but will be removed in next major version. Please upgrade to the new syntax: { %s: %d }",a.direction,a.value),l=p()(a,t,e));var c=r.state;return r.state.isVisible!==l&&(c={isVisible:l,visibilityRect:s},r.setState(c),r.props.onChange&&r.props.onChange(l)),c})),r.state={isVisible:null,visibilityRect:{}},r}var r,n,a;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(e,t),r=e,(n=[{key:"componentDidMount",value:function(){this.node=s.a.findDOMNode(this),this.props.active&&this.startWatching()}},{key:"componentWillUnmount",value:function(){this.stopWatching()}},{key:"componentDidUpdate",value:function(t){this.node=s.a.findDOMNode(this),this.props.active&&!t.active?(this.setState({isVisible:null,visibilityRect:{}}),this.startWatching()):this.props.active||this.stopWatching()}},{key:"roundRectDown",value:function(t){return{top:Math.floor(t.top),left:Math.floor(t.left),bottom:Math.floor(t.bottom),right:Math.floor(t.right)}}},{key:"render",value:function(){return this.props.children instanceof Function?this.props.children({isVisible:this.state.isVisible,visibilityRect:this.state.visibilityRect}):i.a.Children.only(this.props.children)}}])&&c(r.prototype,n),a&&c(r,a),e}(i.a.Component);y(g,"defaultProps",{active:!0,partialVisibility:!1,minTopValue:0,scrollCheck:!1,scrollDelay:250,scrollThrottle:-1,resizeCheck:!1,resizeDelay:250,resizeThrottle:-1,intervalCheck:!0,intervalDelay:100,delayedCall:!1,offset:{},containment:null,children:i.a.createElement("span",null)}),y(g,"propTypes",{onChange:l.a.func,active:l.a.bool,partialVisibility:l.a.oneOfType([l.a.bool,l.a.oneOf(["top","right","bottom","left"])]),delayedCall:l.a.bool,offset:l.a.oneOfType([l.a.shape({top:l.a.number,left:l.a.number,bottom:l.a.number,right:l.a.number}),l.a.shape({direction:l.a.oneOf(["top","right","bottom","left"]),value:l.a.number})]),scrollCheck:l.a.bool,scrollDelay:l.a.number,scrollThrottle:l.a.number,resizeCheck:l.a.bool,resizeDelay:l.a.number,resizeThrottle:l.a.number,intervalCheck:l.a.bool,intervalDelay:l.a.number,containment:"undefined"!=typeof window?l.a.instanceOf(window.Element):l.a.any,children:l.a.oneOfType([l.a.element,l.a.func]),minTopValue:l.a.number})},function(t,e,r){"use strict";var n=r(6);function i(){}function a(){}a.resetWarningCache=i,t.exports=function(){function t(t,e,r,i,a,s){if(s!==n){var o=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 o.name="Invariant Violation",o}}function e(){return t}t.isRequired=t;var r={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:a,resetWarningCache:i};return r.PropTypes=r,r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}])},t.exports=n(r("q1tI"),r("i8i4"))},bZWT:function(t,e,r){"use strict";function n(t){return 14+(t+64>>>9<<4)+1}function i(t,e){const r=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(r>>16)<<16|65535&r}function a(t,e,r,n,a,s){return i((o=i(i(e,t),i(n,s)))<<(l=a)|o>>>32-l,r);var o,l}function s(t,e,r,n,i,s,o){return a(e&r|~e&n,t,e,i,s,o)}function o(t,e,r,n,i,s,o){return a(e&n|r&~n,t,e,i,s,o)}function l(t,e,r,n,i,s,o){return a(e^r^n,t,e,i,s,o)}function h(t,e,r,n,i,s,o){return a(r^(e|~n),t,e,i,s,o)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var p=function(t){if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(let r=0;r>5]>>>n%32&255,i=parseInt("0123456789abcdef".charAt(r>>>4&15)+"0123456789abcdef".charAt(15&r),16);e.push(i)}return e}(function(t,e){t[e>>5]|=128<>5]|=(255&t[n/8])<{if(e&&"object"==typeof e||"function"==typeof e)for(let i of o(e))h.call(t,i)||i===r||a(t,i,{get:()=>e[i],enumerable:!(n=s(e,i))||n.enumerable});return t},u=(t,e,r)=>(r=null!=t?i(l(t)):{},p(!e&&t&&t.__esModule?r:a(r,"default",{value:t,enumerable:!0}),t)),c=(t,e,r)=>(((t,e,r)=>{e in t?a(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r})(t,"symbol"!=typeof e?e+"":e,r),r),f={};((t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})})(f,{InView:()=>E,defaultFallbackInView:()=>b,observe:()=>x,useInView:()=>S}),t.exports=(n=f,p(a({},"__esModule",{value:!0}),n));var d=u(r("q1tI")),m=new Map,y=new WeakMap,g=0,v=void 0;function b(t){v=t}function _(t){return Object.keys(t).sort().filter(e=>void 0!==t[e]).map(e=>{return`${e}_${"root"===e?(r=t.root,r?(y.has(r)||(g+=1,y.set(r,g.toString())),y.get(r)):"0"):t[e]}`;var r}).toString()}function x(t,e,r={},n=v){if(void 0===window.IntersectionObserver&&void 0!==n){const i=t.getBoundingClientRect();return e(n,{isIntersecting:n,target:t,intersectionRatio:"number"==typeof r.threshold?r.threshold:0,time:0,boundingClientRect:i,intersectionRect:i,rootBounds:i}),()=>{}}const{id:i,observer:a,elements:s}=function(t){let e=_(t),r=m.get(e);if(!r){const n=new Map;let i;const a=new IntersectionObserver(e=>{e.forEach(e=>{var r;const a=e.isIntersecting&&i.some(t=>e.intersectionRatio>=t);t.trackVisibility&&void 0===e.isVisible&&(e.isVisible=a),null==(r=n.get(e.target))||r.forEach(t=>{t(a,e)})})},t);i=a.thresholds||(Array.isArray(t.threshold)?t.threshold:[t.threshold||0]),r={id:e,observer:a,elements:n},m.set(e,r)}return r}(r);let o=s.get(t)||[];return s.has(t)||s.set(t,o),o.push(e),a.observe(t),function(){o.splice(o.indexOf(e),1),0===o.length&&(s.delete(t),a.unobserve(t)),0===s.size&&(a.disconnect(),m.delete(i))}}var E=class extends d.Component{constructor(t){super(t),c(this,"node",null),c(this,"_unobserveCb",null),c(this,"handleNode",t=>{this.node&&(this.unobserve(),t||this.props.triggerOnce||this.props.skip||this.setState({inView:!!this.props.initialInView,entry:void 0})),this.node=t||null,this.observeNode()}),c(this,"handleChange",(t,e)=>{t&&this.props.triggerOnce&&this.unobserve(),function(t){return"function"!=typeof t.children}(this.props)||this.setState({inView:t,entry:e}),this.props.onChange&&this.props.onChange(t,e)}),this.state={inView:!!t.initialInView,entry:void 0}}componentDidMount(){this.unobserve(),this.observeNode()}componentDidUpdate(t){t.rootMargin===this.props.rootMargin&&t.root===this.props.root&&t.threshold===this.props.threshold&&t.skip===this.props.skip&&t.trackVisibility===this.props.trackVisibility&&t.delay===this.props.delay||(this.unobserve(),this.observeNode())}componentWillUnmount(){this.unobserve()}observeNode(){if(!this.node||this.props.skip)return;const{threshold:t,root:e,rootMargin:r,trackVisibility:n,delay:i,fallbackInView:a}=this.props;this._unobserveCb=x(this.node,this.handleChange,{threshold:t,root:e,rootMargin:r,trackVisibility:n,delay:i},a)}unobserve(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)}render(){const{children:t}=this.props;if("function"==typeof t){const{inView:e,entry:r}=this.state;return t({inView:e,entry:r,ref:this.handleNode})}const{as:e,triggerOnce:r,threshold:n,root:i,rootMargin:a,onChange:s,skip:o,trackVisibility:l,delay:h,initialInView:p,fallbackInView:u,...c}=this.props;return d.createElement(e||"div",{ref:this.handleNode,...c},t)}},P=u(r("q1tI"));function S({threshold:t,delay:e,trackVisibility:r,rootMargin:n,root:i,triggerOnce:a,skip:s,initialInView:o,fallbackInView:l,onChange:h}={}){var p;const[u,c]=P.useState(null),f=P.useRef(),[d,m]=P.useState({inView:!!o,entry:void 0});f.current=h,P.useEffect(()=>{if(s||!u)return;let o;return o=x(u,(t,e)=>{m({inView:t,entry:e}),f.current&&f.current(t,e),e.isIntersecting&&a&&o&&(o(),o=void 0)},{root:i,rootMargin:n,threshold:t,trackVisibility:r,delay:e},l),()=>{o&&o()}},[Array.isArray(t)?t.toString():t,u,i,n,a,s,r,l,e]);const y=null==(p=d.entry)?void 0:p.target,g=P.useRef();u||!y||a||s||g.current===y||(g.current=y,m({inView:!!o,entry:void 0}));const v=[c,d.inView,d.entry];return v.ref=v[0],v.inView=v[1],v.entry=v[2],v}},cnSC:function(t,e){!function(t){!function(e){var r="undefined"!=typeof globalThis&&globalThis||void 0!==t&&t||void 0!==r&&r,n="URLSearchParams"in r,i="Symbol"in r&&"iterator"in Symbol,a="FileReader"in r&&"Blob"in r&&function(){try{return new Blob,!0}catch(t){return!1}}(),s="FormData"in r,o="ArrayBuffer"in r;if(o)var l=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],h=ArrayBuffer.isView||function(t){return t&&l.indexOf(Object.prototype.toString.call(t))>-1};function p(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function u(t){return"string"!=typeof t&&(t=String(t)),t}function c(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return i&&(e[Symbol.iterator]=function(){return e}),e}function f(t){this.map={},t instanceof f?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function d(t){if(t.bodyUsed)return Promise.reject(new TypeError("Already read"));t.bodyUsed=!0}function m(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function y(t){var e=new FileReader,r=m(e);return e.readAsArrayBuffer(t),r}function g(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function v(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:a&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:s&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:n&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():o&&a&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=g(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):o&&(ArrayBuffer.prototype.isPrototypeOf(t)||h(t))?this._bodyArrayBuffer=g(t):this._bodyText=t=Object.prototype.toString.call(t):this._bodyText="",this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):n&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},a&&(this.blob=function(){var t=d(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=d(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(y)}),this.text=function(){var t,e,r,n=d(this);if(n)return n;if(this._bodyBlob)return t=this._bodyBlob,e=new FileReader,r=m(e),e.readAsText(t),r;if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var a=/([?&])_=[^&]*/;if(a.test(this.url))this.url=this.url.replace(a,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function x(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function E(t,e){if(!(this instanceof E))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new f(e.headers),this.url=e.url||"",this._initBody(t)}_.prototype.clone=function(){return new _(this,{body:this._bodyInit})},v.call(_.prototype),v.call(E.prototype),E.prototype.clone=function(){return new E(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new f(this.headers),url:this.url})},E.error=function(){var t=new E(null,{status:0,statusText:""});return t.type="error",t};var P=[301,302,303,307,308];E.redirect=function(t,e){if(-1===P.indexOf(e))throw new RangeError("Invalid status code");return new E(null,{status:e,headers:{location:t}})},e.DOMException=r.DOMException;try{new e.DOMException}catch(t){e.DOMException=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack},e.DOMException.prototype=Object.create(Error.prototype),e.DOMException.prototype.constructor=e.DOMException}function S(t,n){return new Promise((function(i,s){var l=new _(t,n);if(l.signal&&l.signal.aborted)return s(new e.DOMException("Aborted","AbortError"));var h=new XMLHttpRequest;function p(){h.abort()}h.onload=function(){var t,e,r={status:h.status,statusText:h.statusText,headers:(t=h.getAllResponseHeaders()||"",e=new f,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();e.append(n,i)}})),e)};r.url="responseURL"in h?h.responseURL:r.headers.get("X-Request-URL");var n="response"in h?h.response:h.responseText;setTimeout((function(){i(new E(n,r))}),0)},h.onerror=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},h.ontimeout=function(){setTimeout((function(){s(new TypeError("Network request failed"))}),0)},h.onabort=function(){setTimeout((function(){s(new e.DOMException("Aborted","AbortError"))}),0)},h.open(l.method,function(t){try{return""===t&&r.location.href?r.location.href:t}catch(e){return t}}(l.url),!0),"include"===l.credentials?h.withCredentials=!0:"omit"===l.credentials&&(h.withCredentials=!1),"responseType"in h&&(a?h.responseType="blob":o&&l.headers.get("Content-Type")&&-1!==l.headers.get("Content-Type").indexOf("application/octet-stream")&&(h.responseType="arraybuffer")),!n||"object"!=typeof n.headers||n.headers instanceof f?l.headers.forEach((function(t,e){h.setRequestHeader(e,t)})):Object.getOwnPropertyNames(n.headers).forEach((function(t){h.setRequestHeader(t,u(n.headers[t]))})),l.signal&&(l.signal.addEventListener("abort",p),h.onreadystatechange=function(){4===h.readyState&&l.signal.removeEventListener("abort",p)}),h.send(void 0===l._bodyInit?null:l._bodyInit)}))}S.polyfill=!0,r.fetch||(r.fetch=S,r.Headers=f,r.Request=_,r.Response=E),e.Headers=f,e.Request=_,e.Response=E,e.fetch=S}({})}("undefined"!=typeof self?self:this)},dTxY:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={separator:"",conjunction:"",serial:!1};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return{onSubstitution:function(e,r){if(Array.isArray(e)){var n=e.length,i=t.separator,a=t.conjunction,s=t.serial,o=r.match(/(\n?[^\S\n]+)$/);if(e=o?e.join(i+o[1]):e.join(i+" "),a&&n>1){var l=e.lastIndexOf(i);e=e.slice(0,l)+(s?i:"")+" "+a+e.slice(l+1)}}return e}}},t.exports=e.default},dp0r:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=h(r("pIPx")),i=h(r("r9/1")),a=h(r("BCXq")),s=h(r("NtWr")),o=h(r("KKpe")),l=h(r("QY9Y"));function h(t){return t&&t.__esModule?t:{default:t}}var p=new n.default((0,o.default)("\n"),l.default,a.default,i.default,s.default);e.default=p,t.exports=e.default},e0Dq:function(t,e,r){"use strict";function n(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.__esModule=!0,e.default=function(t,e){t.classList?t.classList.remove(e):"string"==typeof t.className?t.className=n(t.className,e):t.setAttribute("class",n(t.className&&t.className.baseVal||"",e))},t.exports=e.default},eOVF:function(t,e,r){"use strict";e.__esModule=!0,e.default=e.modes=void 0;var n,i,a=l(r("q1tI")),s=(l(r("17x9")),r("tsuC")),o=l(r("Xu78"));function l(t){return t&&t.__esModule?t:{default:t}}var h={out:"out-in",in:"in-out"};e.modes=h;var p=function(t,e,r){return function(){var n;t.props[e]&&(n=t.props)[e].apply(n,arguments),r()}},u=((n={})[h.out]=function(t){var e=t.current,r=t.changeState;return a.default.cloneElement(e,{in:!1,onExited:p(e,"onExited",(function(){r(s.ENTERING,null)}))})},n[h.in]=function(t){var e=t.current,r=t.changeState,n=t.children;return[e,a.default.cloneElement(n,{in:!0,onEntered:p(n,"onEntered",(function(){r(s.ENTERING)}))})]},n),c=((i={})[h.out]=function(t){var e=t.children,r=t.changeState;return a.default.cloneElement(e,{in:!0,onEntered:p(e,"onEntered",(function(){r(s.ENTERED,a.default.cloneElement(e,{in:!0}))}))})},i[h.in]=function(t){var e=t.current,r=t.children,n=t.changeState;return[a.default.cloneElement(e,{in:!1,onExited:p(e,"onExited",(function(){n(s.ENTERED,a.default.cloneElement(r,{in:!0}))}))}),a.default.cloneElement(r,{in:!0})]},i),f=function(t){var e,r;function n(){for(var e,r=arguments.length,n=new Array(r),i=0;i>>((3&e)<<3)&255;return i}}},gFzg:function(t,e,r){"use strict";var n=r("TqRt");e.__esModule=!0,e.impureFinalPropsSelectorFactory=a,e.pureFinalPropsSelectorFactory=s,e.default=function(t,e){var r=e.initMapStateToProps,n=e.initMapDispatchToProps,o=e.initMergeProps,l=(0,i.default)(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),h=r(t,l),p=n(t,l),u=o(t,l);0;return(l.pure?s:a)(h,p,u,t,l)};var i=n(r("8OQS"));n(r("nnVH"));function a(t,e,r,n){return function(i,a){return r(t(i,a),e(n,a),a)}}function s(t,e,r,n,i){var a,s,o,l,h,p=i.areStatesEqual,u=i.areOwnPropsEqual,c=i.areStatePropsEqual,f=!1;function d(i,f){var d,m,y=!u(f,s),g=!p(i,a);return a=i,s=f,y&&g?(o=t(a,s),e.dependsOnOwnProps&&(l=e(n,s)),h=r(o,l,s)):y?(t.dependsOnOwnProps&&(o=t(a,s)),e.dependsOnOwnProps&&(l=e(n,s)),h=r(o,l,s)):g?(d=t(a,s),m=!c(d,o),o=d,m&&(h=r(o,l,s)),h):h}return function(i,p){return f?d(i,p):(o=t(a=i,s=p),l=e(n,s),h=r(o,l,s),f=!0,h)}}},hAv1:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t){return null!=t&&!Number.isNaN(t)&&"boolean"!=typeof t};e.default=function(){return{onSubstitution:function(t){return Array.isArray(t)?t.filter(n):n(t)?t:""}}},t.exports=e.default},"hKI/":function(t,e,r){(function(e){var r=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,o="object"==typeof e&&e&&e.Object===Object&&e,l="object"==typeof self&&self&&self.Object===Object&&self,h=o||l||Function("return this")(),p=Object.prototype.toString,u=Math.max,c=Math.min,f=function(){return h.Date.now()};function d(t,e,r){var n,i,a,s,o,l,h=0,p=!1,d=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function v(e){var r=n,a=i;return n=i=void 0,h=e,s=t.apply(a,r)}function b(t){return h=t,o=setTimeout(x,e),p?v(t):s}function _(t){var r=t-l;return void 0===l||r>=e||r<0||d&&t-h>=a}function x(){var t=f();if(_(t))return E(t);o=setTimeout(x,function(t){var r=e-(t-l);return d?c(r,a-(t-h)):r}(t))}function E(t){return o=void 0,g&&n?v(t):(n=i=void 0,s)}function P(){var t=f(),r=_(t);if(n=arguments,i=this,l=t,r){if(void 0===o)return b(l);if(d)return o=setTimeout(x,e),v(l)}return void 0===o&&(o=setTimeout(x,e)),s}return e=y(e)||0,m(r)&&(p=!!r.leading,a=(d="maxWait"in r)?u(y(r.maxWait)||0,e):a,g="trailing"in r?!!r.trailing:g),P.cancel=function(){void 0!==o&&clearTimeout(o),h=0,n=l=i=o=void 0},P.flush=function(){return void 0===o?s:E(f())},P}function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==p.call(t)}(t))return NaN;if(m(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=m(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var o=i.test(t);return o||a.test(t)?s(t.slice(2),o?2:8):n.test(t)?NaN:+t}t.exports=function(t,e,r){var n=!0,i=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return m(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),d(t,e,{leading:n,maxWait:e,trailing:i})}}).call(this,r("oDJU"))},"i+/A":function(t,e,r){"use strict";(function(e,n){var i=r("KLyV").Buffer,a=e.crypto||e.msCrypto;a&&a.getRandomValues?t.exports=function(t,e){if(t>4294967295)throw new RangeError("requested too many random bytes");var r=i.allocUnsafe(t);if(t>0)if(t>65536)for(var s=0;s=0;o--)(i=t[o])&&(s=(a<3?i(s):a>3?i(e,r,s):i(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s}function __param(t,e){return function(r,n){e(r,n,t)}}function __metadata(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function __awaiter(t,e,r,n){return new(r||(r=Promise))((function(i,a){function s(t){try{l(n.next(t))}catch(t){a(t)}}function o(t){try{l(n.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,o)}l((n=n.apply(t,e||[])).next())}))}function __generator(t,e){var r,n,i,a,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function o(a){return function(o){return function(a){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&a[0]?n.return:a[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,a[1])).done)return i;switch(n=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,n=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function __read(t,e){var r="function"==typeof Symbol&&t[Symbol.iterator];if(!r)return t;var n,i,a=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=a.next()).done;)s.push(n.value)}catch(t){i={error:t}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return s}function __spread(){for(var t=[],e=0;e1||o(t,e)}))})}function o(t,e){try{(r=i[t](e)).value instanceof __await?Promise.resolve(r.value.v).then(l,h):p(a[0][2],r)}catch(t){p(a[0][3],t)}var r}function l(t){o("next",t)}function h(t){o("throw",t)}function p(t,e){t(e),a.shift(),a.length&&o(a[0][0],a[0][1])}}function __asyncDelegator(t){var e,r;return e={},n("next"),n("throw",(function(t){throw t})),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,i){e[n]=t[n]?function(e){return(r=!r)?{value:__await(t[n](e)),done:"return"===n}:i?i(e):e}:i}}function __asyncValues(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e,r=t[Symbol.asyncIterator];return r?r.call(t):(t="function"==typeof __values?__values(t):t[Symbol.iterator](),e={},n("next"),n("throw"),n("return"),e[Symbol.asyncIterator]=function(){return this},e);function n(r){e[r]=t[r]&&function(e){return new Promise((function(n,i){!function(t,e,r,n){Promise.resolve(n).then((function(e){t({value:e,done:r})}),e)}(n,i,(e=t[r](e)).done,e.value)}))}}}function __makeTemplateObject(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}var __setModuleDefault=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};function __importStar(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var r in t)"default"!==r&&Object.prototype.hasOwnProperty.call(t,r)&&__createBinding(e,t,r);return __setModuleDefault(e,t),e}function __importDefault(t){return t&&t.__esModule?t:{default:t}}function __classPrivateFieldGet(t,e,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(t):n?n.value:e.get(t)}function __classPrivateFieldSet(t,e,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(t,r):i?i.value=r:e.set(t,r),r}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{};function unwrapExports(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function createCommonjsModule(t,e){return t(e={exports:{}},e.exports),e.exports}function getCjsExportFromNamespace(t){return t&&t.default||t}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var lottie=createCommonjsModule((function(module,exports){"undefined"!=typeof navigator&&function(t,e){module.exports=e()}(0,(function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(t){_useWebWorker=!!t},getWebWorker=function(){return _useWebWorker},setLocationHref=function(t){locationHref=t},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,n,i=t.length;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[2]+=e,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[0]+=e/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var t,e,r=[];for(t=0;t<256;t+=1)e=t.toString(16),r[t]=1===e.length?"0"+e:e;return function(t,e,n){return t<0&&(t=0),e<0&&(e=0),n<0&&(n=0),"#"+r[t]+r[e]+r[n]}}(),setSubframeEnabled=function(t){subframeEnabled=!!t},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(t){expressionsPlugin=t},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(t){expressionsInterfaces=t},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(t){defaultCurveSegments=t},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(t){idPrefix$1=t},getIdPrefix=function(){return idPrefix$1};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){return(_typeof$5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var dataManager=function(){var t,e,r=1,n=[],i={onmessage:function(){},postMessage:function(e){t({data:e})}},a={postMessage:function(t){i.onmessage({data:t})}};function s(){e||((e=function(e){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",e.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return t=e,i}((function(t){if(a.dataManager||(a.dataManager=function(){function t(i,a){var s,o,l,h,p,c,f=i.length;for(o=0;o=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)n(t[e].ks.k);else for(a=t[e].ks.k.length,i=0;ir[0]||!(r[0]>t[0])&&(t[1]>r[1]||!(r[1]>t[1])&&(t[2]>r[2]||!(r[2]>t[2])&&null))}var a,s=function(){var t=[4,4,14];function e(t){var e,r,n,i=t.length;for(e=0;e=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(i=t[r].ks.k.length,n=0;n500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=n(t,this.assetsPath,this.path);return dataManager.loadData(r,function(t){e.img=t,this._footageLoaded()}.bind(this),function(){e.img={},this._footageLoaded()}.bind(this)),e}function s(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(t,e){var r;this.imagesLoadedCb=e;var n=t.length;for(r=0;rthis.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,n=this.animationData.layers,i=n.length,a=t.layers,s=a.length;for(r=0;rthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(t){t&&this.name!==t||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(t){for(var e,r=0;r=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?e>=this.totalFrames?(this.playCount+=1,this.checkSegments(e%this.totalFrames)||(this.setCurrentRawFrameValue(e%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(e):this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):e<0?this.checkSegments(e%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,e=0):(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(e),r&&(this.setCurrentRawFrameValue(e),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(t,e){this.playCount=0,t[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=t[0]-t[1],this.timeCompleted=this.totalFrames,this.firstFrame=t[1],this.setCurrentRawFrameValue(this.totalFrames-.001-e)):t[1]>t[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=t[1]-t[0],this.timeCompleted=this.totalFrames,this.firstFrame=t[0],this.setCurrentRawFrameValue(.001+e)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(t,e){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramee&&(r=e-t)),this.firstFrame=t,this.totalFrames=e-t,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),"object"===_typeof$4(t[0])){var r,n=t.length;for(r=0;r=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){s=!0},t.unfreeze=function(){s=!1,d()},t.setVolume=function(t,r){var i;for(i=0;i=.001?function(t,e,r,n){for(var i=0;i<4;++i){var a=o(e,r,n);if(0===a)return e;e-=(s(e,r,n)-t)/a}return e}(t,l,e,r):0===h?l:function(t,e,r,n,i){var a,o,l=0;do{(a=s(o=e+(r-e)/2,n,i)-t)>0?r=o:e=o}while(Math.abs(a)>1e-7&&++l<10);return o}(t,i,i+.1,e,r)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,r){var n=0,i=t,a=createSizedArray(i);return{newElement:function(){return n?a[n-=1]:e()},release:function(t){n===i&&(a=pooling.double(a),i*=2),r&&r(t),a[n]=t,n+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(t){var e,r=t.lengths.length;for(e=0;e-.001&&s<.001}var r=function(t,e,r,n){var i,a,s,o,l,h,p=getDefaultCurveSegments(),u=0,c=[],f=[],d=bezierLengthPool.newElement();for(s=r.length,i=0;is?-1:1,h=!0;h;)if(n[a]<=s&&n[a+1]>s?(o=(s-n[a])/(n[a+1]-n[a]),h=!1):a+=l,a<0||a>=i-1){if(a===i-1)return r[a];h=!1}return r[a]+(r[a+1]-r[a])*o}var l=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,n=segmentsLengthPool.newElement(),i=t.c,a=t.v,s=t.o,o=t.i,l=t._length,h=n.lengths,p=0;for(e=0;e1&&(a=1);var p,u=o(a,h),c=o(s=s>1?1:s,h),f=e.length,d=1-u,m=1-c,y=d*d*d,g=u*d*d*3,v=u*u*d*3,b=u*u*u,_=d*d*m,x=u*d*m+d*u*m+d*d*c,E=u*u*m+d*u*c+u*d*c,P=u*u*c,S=d*m*m,w=u*m*m+d*c*m+d*m*c,C=u*c*m+d*c*c+u*m*c,M=u*c*c,T=m*m*m,A=c*m*m+m*c*m+m*m*c,k=c*c*m+m*c*c+c*m*c,D=c*c*c;for(p=0;pf?c>d?c-f-d:d-f-c:d>f?d-f-c:f-c-d)>-1e-4&&u<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,s,o,l,h,p,u,c,f,d=e.lastIndex,m=d,y=this.keyframes.length-1,g=!0;g;){if(a=this.keyframes[m],s=this.keyframes[m+1],m===y-1&&t>=s.t-i){a.h&&(a=s),d=0;break}if(s.t-i>t){d=m;break}m=b||t<_){var E=t>=b?x.points.length-1:0;for(h=x.points[E].point.length,l=0;l=w&&S=b?(r[0]=v[0],r[1]=v[1],r[2]=v[2]):t<=_?(r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2]):function(t,e){var r=e[0],n=e[1],i=e[2],a=e[3],s=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i),o=Math.asin(2*r*n+2*i*a),l=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i);t[0]=s/degToRads,t[1]=o/degToRads,t[2]=l/degToRads}(r,function(t,e,r){var n,i,a,s,o,l=[],h=t[0],p=t[1],u=t[2],c=t[3],f=e[0],d=e[1],m=e[2],y=e[3];return(i=h*f+p*d+u*m+c*y)<0&&(i=-i,f=-f,d=-d,m=-m,y=-y),1-i>1e-6?(n=Math.acos(i),a=Math.sin(n),s=Math.sin((1-r)*n)/a,o=Math.sin(r*n)/a):(s=1-r,o=r),l[0]=s*h+o*f,l[1]=s*p+o*d,l[2]=s*u+o*m,l[3]=s*c+o*y,l}(n(a.s),n(v),(t-_)/(b-_)));else for(m=0;m=b?p=1:t<_?p=0:(a.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?f=o.__fnct[m]:(C=void 0===a.o.x[m]?a.o.x[0]:a.o.x[m],M=void 0===a.o.y[m]?a.o.y[0]:a.o.y[m],T=void 0===a.i.x[m]?a.i.x[0]:a.i.x[m],A=void 0===a.i.y[m]?a.i.y[0]:a.i.y[m],f=BezierFactory.getBezierEasing(C,M,T,A).get,o.__fnct[m]=f)):o.__fnct?f=o.__fnct:(C=a.o.x,M=a.o.y,T=a.i.x,A=a.i.y,f=BezierFactory.getBezierEasing(C,M,T,A).get,a.keyframeMetadata=f),p=f((t-_)/(b-_)))),v=s.s||a.e,k=1===a.h?a.s[m]:a.s[m]+(v[m]-a.s[m])*p,"multidimensional"===this.propType?r[m]=k:r=k}return e.lastIndex=d,r}function n(t){var e=t[0]*degToRads,r=t[1]*degToRads,n=t[2]*degToRads,i=Math.cos(e/2),a=Math.cos(r/2),s=Math.cos(n/2),o=Math.sin(e/2),l=Math.sin(r/2),h=Math.sin(n/2);return[o*l*s+i*a*h,o*a*s+i*l*h,i*l*s-o*a*h,i*a*s-o*l*h]}function i(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=n&&e>=n||this._caching.lastFrame=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(e,this._caching);this.pv=i}return this._caching.lastFrame=e,this.pv}function a(t){var r;if("unidimensional"===this.propType)r=t*this.mult,e(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var n=0,i=this.v.length;n1e-5&&(this.v[n]=r,this._mdf=!0),n+=1}function s(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t;this.lock=!0,this._mdf=this._isFirstFrame;var e=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(t=0;t=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[n]||a[n]&&!i)&&(a[n]=pointPool.newElement()),a[n][0]=t,a[n][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,n,i,a,s,o){this.setXYAt(t,e,"v",s,o),this.setXYAt(r,n,"o",s,o),this.setXYAt(i,a,"i",s,o)},ShapePath.prototype.reverse=function(){var t=new ShapePath;t.setPathData(this.c,this._length);var e=this.v,r=this.o,n=this.i,i=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var a,s=this._length-1,o=this._length;for(a=i;a=f[f.length-1].t-this.offsetTime)n=f[f.length-1].s?f[f.length-1].s[0]:f[f.length-2].e[0],a=!0;else{for(var d,m,y,g=c,v=f.length-1,b=!0;b&&(d=f[g],!((m=f[g+1]).t-this.offsetTime>t));)g=m.t-this.offsetTime)p=1;else if(tr&&t>r)||(this._caching.lastIndex=n0||t>-1e-6&&t<0?n(1e4*t)/1e4:t}function I(){var t=this.props;return"matrix("+D(t[0])+","+D(t[1])+","+D(t[4])+","+D(t[5])+","+D(t[12])+","+D(t[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=p,this.skewFromAxis=u,this.shear=h,this.scale=c,this.setTransform=f,this.translate=d,this.transform=m,this.applyToPoint=_,this.applyToX=x,this.applyToY=E,this.applyToZ=P,this.applyToPointArray=T,this.applyToTriplePoints=M,this.applyToPointStringified=A,this.toCSS=k,this.to2dCSS=I,this.clone=v,this.cloneFromProps=b,this.equals=g,this.inversePoints=C,this.inversePoint=w,this.getInverseMatrix=S,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){return(_typeof$3="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(t){setLocationHref(t)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return!0===standalone&&(t.animationData=JSON.parse(animationData)),animationManager.loadAnimation(t)}function setQuality(t){if("string"==typeof t)switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(t,e){"expressions"===t&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(t){for(var e=queryString.split("&"),r=0;r=1?a.push({s:t-1,e:e-1}):(a.push({s:t,e:1}),a.push({s:0,e:e-1}));var s,o,l=[],h=a.length;for(s=0;sn+r||(p=o.s*i<=n?0:(o.s*i-n)/r,u=o.e*i>=n+r?1:(o.e*i-n)/r,l.push([p,u]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var s=e;e=r,r=s}e=1e-4*Math.round(1e4*e),r=1e-4*Math.round(1e4*r),this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var o,l,h,p,u,c=this.shapes.length,f=0;if(r===e)for(i=0;i=0;i-=1)if((d=this.shapes[i]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&c>1?(g=this.calculateShapeEdges(e,r,d.totalShapeLength,_,f),_+=d.totalShapeLength):g=[[v,b]],l=g.length,o=0;o=1?y.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(b-1)}):(y.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(b-1)}));var x=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var E=x.pop();this.addPaths(x,m),x=this.addShapes(d,y[1],E)}else this.addPaths(x,m),x=this.addShapes(d,y[1]);this.addPaths(x,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var r,n=t.length;for(r=0;re.e){r.c=!1;break}e.s<=d&&e.e>=d+s.addedLength?(this.addSegment(c[n].v[i-1],c[n].o[i-1],c[n].i[i],c[n].v[i],r,o,y),y=!1):(h=bez.getNewSegment(c[n].v[i-1],c[n].v[i],c[n].o[i-1],c[n].i[i],(e.s-d)/s.addedLength,(e.e-d)/s.addedLength,l[i-1]),this.addSegmentFromArray(h,r,o,y),y=!1,r.c=!1),d+=s.addedLength,o+=1}if(c[n].c&&l.length){if(s=l[i-1],d<=e.e){var g=l[i-1].addedLength;e.s<=d&&e.e>=d+g?(this.addSegment(c[n].v[i-1],c[n].o[i-1],c[n].i[0],c[n].v[0],r,o,y),y=!1):(h=bez.getNewSegment(c[n].v[i-1],c[n].v[0],c[n].o[i-1],c[n].i[0],(e.s-d)/g,(e.e-d)/g,l[i-1]),this.addSegmentFromArray(h,r,o,y),y=!1,r.c=!1)}else r.c=!1;d+=s.addedLength,o+=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)),d>e.e)break;n=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(n[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),i[0]=a.getValueAtTime(a.keyframes[0].t/r,0),i[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(n[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),n[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),i[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(n=[a.pv,s.pv],i[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else n=i=t;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.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}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],e),e.prototype.addDynamicProperty=function(t){this._addDynamicProperty(t),this.elem.addDynamicProperty(t),this._isDirty=!0},e.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(t,r,n){return new e(t,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function floatEqual(t,e){return 1e5*Math.abs(t-e)<=Math.min(Math.abs(t),Math.abs(e))}function floatZero(t){return Math.abs(t)<=1e-5}function lerp(t,e,r){return t*(1-r)+e*r}function lerpPoint(t,e,r){return[lerp(t[0],e[0],r),lerp(t[1],e[1],r)]}function quadRoots(t,e,r){if(0===t)return[];var n=e*e-4*t*r;if(n<0)return[];var i=-e/(2*t);if(0===n)return[i];var a=Math.sqrt(n)/(2*t);return[i-a,i+a]}function polynomialCoefficients(t,e,r,n){return[3*e-t-3*r+n,3*t-6*e+3*r,-3*t+3*e,t]}function singlePoint(t){return new PolynomialBezier(t,t,t,t,!1)}function PolynomialBezier(t,e,r,n,i){i&&pointEqual(t,e)&&(e=lerpPoint(t,n,1/3)),i&&pointEqual(r,n)&&(r=lerpPoint(t,n,2/3));var a=polynomialCoefficients(t[0],e[0],r[0],n[0]),s=polynomialCoefficients(t[1],e[1],r[1],n[1]);this.a=[a[0],s[0]],this.b=[a[1],s[1]],this.c=[a[2],s[2]],this.d=[a[3],s[3]],this.points=[t,e,r,n]}function extrema(t,e){var r=t.points[0][e],n=t.points[t.points.length-1][e];if(r>n){var i=n;n=r,r=i}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),s=0;s0&&a[s]<1){var o=t.point(a[s])[e];on&&(n=o)}return{min:r,max:n}}function intersectData(t,e,r){var n=t.boundingBox();return{cx:n.cx,cy:n.cy,width:n.width,height:n.height,bez:t,t:(e+r)/2,t1:e,t2:r}}function splitData(t){var e=t.bez.split(.5);return[intersectData(e[0],t.t1,t.t),intersectData(e[1],t.t,t.t2)]}function boxIntersect(t,e){return 2*Math.abs(t.cx-e.cx)=a||t.width<=n&&t.height<=n&&e.width<=n&&e.height<=n)i.push([t.t,e.t]);else{var s=splitData(t),o=splitData(e);intersectsImpl(s[0],o[0],r+1,n,i,a),intersectsImpl(s[0],o[1],r+1,n,i,a),intersectsImpl(s[1],o[0],r+1,n,i,a),intersectsImpl(s[1],o[1],r+1,n,i,a)}}function crossProduct(t,e){return[t[1]*e[2]-t[2]*e[1],t[2]*e[0]-t[0]*e[2],t[0]*e[1]-t[1]*e[0]]}function lineIntersection(t,e,r,n){var i=[t[0],t[1],1],a=[e[0],e[1],1],s=[r[0],r[1],1],o=[n[0],n[1],1],l=crossProduct(crossProduct(i,a),crossProduct(s,o));return floatZero(l[2])?null:[l[0]/l[2],l[1]/l[2]]}function polarOffset(t,e,r){return[t[0]+Math.cos(e)*r,t[1]-Math.sin(e)*r]}function pointDistance(t,e){return Math.hypot(t[0]-e[0],t[1]-e[1])}function pointEqual(t,e){return floatEqual(t[0],e[0])&&floatEqual(t[1],e[1])}function ZigZagModifier(){}function setPoint(t,e,r,n,i,a,s){var o=r-Math.PI/2,l=r+Math.PI/2,h=e[0]+Math.cos(r)*n*i,p=e[1]-Math.sin(r)*n*i;t.setTripleAt(h,p,h+Math.cos(o)*a,p-Math.sin(o)*a,h+Math.cos(l)*s,p-Math.sin(l)*s,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],n=.5*-Math.PI;return[Math.cos(n)*r[0]-Math.sin(n)*r[1],Math.sin(n)*r[0]+Math.cos(n)*r[1]]}function getProjectingAngle(t,e){var r=0===e?t.length()-1:e-1,n=(e+1)%t.length(),i=getPerpendicularVector(t.v[r],t.v[n]);return Math.atan2(0,1)-Math.atan2(i[1],i[0])}function zigZagCorner(t,e,r,n,i,a,s){var o=getProjectingAngle(e,r),l=e.v[r%e._length],h=e.v[0===r?e._length-1:r-1],p=e.v[(r+1)%e._length],u=2===a?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0,c=2===a?Math.sqrt(Math.pow(l[0]-p[0],2)+Math.pow(l[1]-p[1],2)):0;setPoint(t,e.v[r%e._length],o,s,n,c/(2*(i+1)),u/(2*(i+1)),a)}function zigZagSegment(t,e,r,n,i,a){for(var s=0;s1&&e.length>1&&(i=getIntersection(t[0],e[e.length-1]))?[[t[0].split(i[0])[0]],[e[e.length-1].split(i[1])[1]]]:[r,n]}function pruneIntersections(t){for(var e,r=1;r1&&(e=pruneSegmentIntersection(t[t.length-1],t[0]),t[t.length-1]=e[0],t[0]=e[1]),t}function offsetSegmentSplit(t,e){var r,n,i,a,s=t.inflectionPoints();if(0===s.length)return[offsetSegment(t,e)];if(1===s.length||floatEqual(s[1],1))return r=(i=t.split(s[0]))[0],n=i[1],[offsetSegment(r,e),offsetSegment(n,e)];r=(i=t.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return a=(i=i[1].split(o))[0],n=i[1],[offsetSegment(r,e),offsetSegment(a,e),offsetSegment(n,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",n="normal",i=e.length,a=0;a0;)r-=1,this._elements.unshift(e[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(t){var e,r=t.length;for(e=0;e0?Math.floor(c):Math.ceil(c),m=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,_=0;if(c>0){for(;_d;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;f&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-f,!0),_-=f)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(e=this.elemsData[n].it)[e.length-1].transform.mProps.v.props).length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==_){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v0&&n<1?[e]:[]:[e-n,e+n].filter((function(t){return t>0&&t<1}))},PolynomialBezier.prototype.split=function(t){if(t<=0)return[singlePoint(this.points[0]),this];if(t>=1)return[this,singlePoint(this.points[this.points.length-1])];var e=lerpPoint(this.points[0],this.points[1],t),r=lerpPoint(this.points[1],this.points[2],t),n=lerpPoint(this.points[2],this.points[3],t),i=lerpPoint(e,r,t),a=lerpPoint(r,n,t),s=lerpPoint(i,a,t);return[new PolynomialBezier(this.points[0],e,i,s,!0),new PolynomialBezier(s,a,n,this.points[3],!0)]},PolynomialBezier.prototype.bounds=function(){return{x:extrema(this,0),y:extrema(this,1)}},PolynomialBezier.prototype.boundingBox=function(){var t=this.bounds();return{left:t.x.min,right:t.x.max,top:t.y.min,bottom:t.y.max,width:t.x.max-t.x.min,height:t.y.max-t.y.min,cx:(t.x.max+t.x.min)/2,cy:(t.y.max+t.y.min)/2}},PolynomialBezier.prototype.intersections=function(t,e,r){void 0===e&&(e=2),void 0===r&&(r=7);var n=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,n,r),n},PolynomialBezier.shapeSegment=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[e],t.o[e],t.i[r],t.v[r],!0)},PolynomialBezier.shapeSegmentInverted=function(t,e){var r=(e+1)%t.length();return new PolynomialBezier(t.v[r],t.i[r],t.o[e],t.v[e],!0)},extendPrototype([ShapeModifier],ZigZagModifier),ZigZagModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amplitude=PropertyFactory.getProp(t,e.s,0,null,this),this.frequency=PropertyFactory.getProp(t,e.r,0,null,this),this.pointsType=PropertyFactory.getProp(t,e.pt,0,null,this),this._isAnimated=0!==this.amplitude.effectsSequence.length||0!==this.frequency.effectsSequence.length||0!==this.pointsType.effectsSequence.length},ZigZagModifier.prototype.processPath=function(t,e,r,n){var i=t._length,a=shapePool.newElement();if(a.c=t.c,t.c||(i-=1),0===i)return a;var s=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(a,t,0,e,r,n,s);for(var l=0;l=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(t,a),h.push(offsetSegmentSplit(o,e));h=pruneIntersections(h);var p=null,u=null;for(a=0;a0&&(p=!1),p){var u=createTag("style");u.setAttribute("f-forigin",n[r].fOrigin),u.setAttribute("f-origin",n[r].origin),u.setAttribute("f-family",n[r].fFamily),u.type="text/css",u.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",e.appendChild(u)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),h=0;ht?!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 t,e=this.renderableComponents.length;for(t=0;t0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){var r;this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var n,i=this.data.ef.length,a=this.data.ef;for(r=0;r.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(t){this.audio.rate(t)},AudioElement.prototype.volume=function(t){this._volumeMultiplier=t,this._previousVolume=t*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(t){var e,r,n=this.layers.length;for(this.completeLayers=!0,e=n-1;e>=0;e-=1)this.elements[e]||(r=this.layers[e]).ip-r.st<=t-this.layers[e].st&&r.op-r.st>t-this.layers[e].st&&this.buildItem(e),this.completeLayers=!!this.elements[e]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t1&&(a+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==a){var s="";r.elem&&(e.c&&(s=t.inv?this.solidPath+a:a),r.elem.setAttribute("d",s)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={createFilter:function(t,e){var r=createNS("filter");return r.setAttribute("id",t),!0!==e&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var t=createNS("feColorMatrix");return t.setAttribute("type","matrix"),t.setAttribute("color-interpolation-filters","sRGB"),t.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),t}};return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:"undefined"!=typeof OffscreenCanvas};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(t){var e,r,n="SourceGraphic",i=t.data.ef?t.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],e=0;e=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,n=e.length;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 t=0,e=this.data.k.k.length;t0;)l=n.transformers[m].mProps._mdf||l,d-=1,m-=1;if(l)for(d=g-n.styles[p].lvl,m=n.transformers.length-1;d>0;)f=n.transformers[m].mProps.v.props,c.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]),d-=1,m-=1}else c=t;if(s=(u=n.sh.paths)._length,l){for(o="",a=0;a=1?v=.99:v<=-1&&(v=-.99);var b=o*v,_=Math.cos(g+e.a.v)*b+p[0],x=Math.sin(g+e.a.v)*b+p[1];l.setAttribute("fx",_),l.setAttribute("fy",x),h&&!e.g._collapsable&&(e.of.setAttribute("fx",_),e.of.setAttribute("fy",x))}}function l(t,e,r){var n=e.style,i=e.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),e.c&&(e.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",e.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",e.w.v))}return{createRenderFunction:function(t){switch(t.ty){case"fl":return a;case"gf":return o;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(t,e,r),this.prevViewData=[]}function LetterProps(t,e,r,n,i,a){this.o=t,this.sw=e,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=e,this.elem=t,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var t,e,r,n,i=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e=0;o-=1){if((c=this.searchProcessedElement(t[o]))?e[o]=r[c-1]:t[o]._render=s,"fl"===t[o].ty||"st"===t[o].ty||"gf"===t[o].ty||"gs"===t[o].ty||"no"===t[o].ty)c?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],i),t[o]._render&&e[o].style.pElem.parentNode!==n&&n.appendChild(e[o].style.pElem),m.push(e[o].style);else if("gr"===t[o].ty){if(c)for(h=e[o].it.length,l=0;l1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(t){this.effectsSequence.push(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(t){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||t){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var e=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(n=0;ne);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(t){for(var e,r,n=[],i=0,a=t.length,s=!1;i=55296&&e<=56319?(r=t.charCodeAt(i+1))>=56320&&r<=57343?(s||FontManager.isModifier(e,r)?(n[n.length-1]+=t.substr(i,2),s=!1):n.push(t.substr(i,2)),i+=1):n.push(t.charAt(i)):e>56319?(r=t.charCodeAt(i+1),FontManager.isZeroWidthJoiner(e,r)?(s=!0,n[n.length-1]+=t.substr(i,2),i+=1):n.push(t.charAt(i))):FontManager.isZeroWidthJoiner(e)?(n[n.length-1]+=t.charAt(i),s=!0):n.push(t.charAt(i)),i+=1;return n},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,n,i,a,s,o,l=this.elem.globalData.fontManager,h=this.data,p=[],u=0,c=h.m.g,f=0,d=0,m=0,y=[],g=0,v=0,b=l.getFontByName(t.f),_=0,x=getFontProperties(b);t.fWeight=x.weight,t.fStyle=x.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var E,P=t.tr/1e3*t.finalSize;if(t.sz)for(var S,w,C=!0,M=t.sz[0],T=t.sz[1];C;){S=0,g=0,r=(w=this.buildFinalText(t.t)).length,P=t.tr/1e3*t.finalSize;var A=-1;for(e=0;eM&&" "!==w[e]?(-1===A?r+=1:e=A,S+=t.finalLineHeight||1.2*t.finalSize,w.splice(e,A===e?1:0,"\r"),A=-1,g=0):(g+=_,g+=P);S+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&Tv?g:v,g=-2*P,i="",n=!0,m+=1):i=k,l.chars?(o=l.getCharData(k,b.fStyle,l.getFontByName(t.f).fFamily),_=n?0:o.w*t.finalSize/100):_=l.measureText(i,t.f,t.finalSize)," "===k?D+=_+P:(g+=_+P+D,D=0),p.push({l:_,an:_,add:f,n:n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==c){if(f+=_,""===i||" "===i||e===r-1){for(""!==i&&" "!==i||(f-=_);d<=e;)p[d].an=f,p[d].ind=u,p[d].extra=_,d+=1;u+=1,f=0}}else if(3==c){if(f+=_,""===i||e===r-1){for(""===i&&(f-=_);d<=e;)p[d].an=f,p[d].ind=u,p[d].extra=_,d+=1;f=0,u+=1}}else p[u].ind=u,p[u].extra=0,u+=1;if(t.l=p,v=g>v?g:v,y.push(g),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=v,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=y;var I,F,O,R,B=h.a;s=B.length;var L=[];for(a=0;a0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:o=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,s,o).get,h=0,p=this.finalS,u=this.finalE,c=this.data.sh;if(2===c)h=l(h=u===p?n>=u?1:0:t(0,e(.5/(u-p)+(n-p)/(u-p),1)));else if(3===c)h=l(h=u===p?n>=u?0:1:1-t(0,e(.5/(u-p)+(n-p)/(u-p),1)));else if(4===c)u===p?h=0:(h=t(0,e(.5/(u-p)+(n-p)/(u-p),1)))<.5?h*=2:h=1-2*(h-.5),h=l(h);else if(5===c){if(u===p)h=0;else{var f=u-p,d=-f/2+(n=e(t(0,n+.5-p),u-p)),m=f/2;h=Math.sqrt(1-d*d/(m*m))}h=l(h)}else 6===c?(u===p?h=0:(n=e(t(0,n+.5-p),u-p),h=(1+Math.cos(Math.PI+2*Math.PI*n/(u-p)))/2),h=l(h)):(n>=r(p)&&(h=t(0,e(n-p<0?e(u,1)-(p-n):u-n,1))),h=l(h));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;h1&&(h=1)}return h*this.a.v},getValue:function(t){this.iterateDynamicProperties(),this._mdf=t||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,t&&2===this.data.r&&(this.e.v=this._currentTextLength);var e=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/e,n=this.s.v/e+r,i=this.e.v/e+r;if(n>i){var a=n;n=i,i=a}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(t,e,r){return new n(t,e,r)}}}();function TextAnimatorDataProperty(t,e,r){var n={propType:!1},i=PropertyFactory.getProp,a=e.a;this.a={r:a.r?i(t,a.r,0,degToRads,r):n,rx:a.rx?i(t,a.rx,0,degToRads,r):n,ry:a.ry?i(t,a.ry,0,degToRads,r):n,sk:a.sk?i(t,a.sk,0,degToRads,r):n,sa:a.sa?i(t,a.sa,0,degToRads,r):n,s:a.s?i(t,a.s,1,.01,r):n,a:a.a?i(t,a.a,1,0,r):n,o:a.o?i(t,a.o,0,.01,r):n,p:a.p?i(t,a.p,1,0,r):n,sw:a.sw?i(t,a.sw,0,0,r):n,sc:a.sc?i(t,a.sc,1,0,r):n,fc:a.fc?i(t,a.fc,1,0,r):n,fh:a.fh?i(t,a.fh,0,0,r):n,fs:a.fs?i(t,a.fs,0,.01,r):n,fb:a.fb?i(t,a.fb,0,.01,r):n,t:a.t?i(t,a.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(t,e.s,r),this.s.t=e.s.t}function TextAnimatorProperty(t,e,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=t,this._renderType=e,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var t,e,r=this._textData.a.length,n=PropertyFactory.getProp;for(t=0;t=o+ot||!d?(v=(o+ot-h)/l.partialLength,V=f.point[0]+(l.point[0]-f.point[0])*v,j=f.point[1]+(l.point[1]-f.point[1])*v,S.translate(-x[0]*M[i].an*.005,-x[1]*R*.01),p=!1):d&&(h+=l.partialLength,(u+=1)>=d.length&&(u=0,m[c+=1]?d=m[c].points:_.v.c?(u=0,d=m[c=0].points):(h-=l.partialLength,d=null)),d&&(f=l,y=(l=d[u]).partialLength));L=M[i].an/2-M[i].add,S.translate(-L,0,0)}else L=M[i].an/2-M[i].add,S.translate(-L,0,0),S.translate(-x[0]*M[i].an*.005,-x[1]*R*.01,0);for(D=0;Dt?this.textSpans[t].span:createNS(l?"g":"text"),y<=t){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=s,l){var g=createNS("g");s.appendChild(g),this.textSpans[t].childSpan=g}this.textSpans[t].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(h.reset(),p&&(o[t].n&&(u=-d,c+=r.yOffset,c+=f?1:0,f=!1),this.applyTextPropertiesToMatrix(r,h,o[t].line,u,c),u+=o[t].l||0,u+=d),l){var v;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[t],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,r.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[t].glyph){var _=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(_.layerElement),_.destroy()}this.textSpans[t].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[t].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else p&&s.setAttribute("transform","translate("+h.props[12]+","+h.props[13]+")"),s.textContent=o[t].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}p&&s&&s.setAttribute("d","")}else{var x=this.textContainer,E="start";switch(r.j){case 1:E="end";break;case 2:E="middle";break;default:E="start"}x.setAttribute("text-anchor",E),x.setAttribute("letter-spacing",d);var P=this.buildTextContents(r.finalText);for(e=P.length,c=r.ps?r.ps[1]+r.ascent:0,t=0;t=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].prepareFrame(t-this.layers[e].st);if(this.globalData._mdf)for(e=0;e=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 t,e=this.layers.length;for(t=0;t=0;n-=1)r=t.transforms[n].transform.mProps.v.props,t.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]);t._mdf=a},processSequences:function(t){var e,r=this.sequenceList.length;for(e=0;e=1){this.buffers=[];var t=this.globalData.canvasContext,e=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(e);var r=assetLoader.createCanvas(t.canvas.width,t.canvas.height);this.buffers.push(r),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var t=this.globalData;if(t.blendMode!==this.data.bm){t.blendMode=this.data.bm;var e=getBlendMode(this.data.bm);t.canvasContext.globalCompositeOperation=e}},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)},clearCanvas:function(t){t.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var t=this.buffers[0].getContext("2d");this.clearCanvas(t),t.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var t=this.buffers[1],e=t.getContext("2d");if(this.clearCanvas(e),e.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform),this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1).renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var r=assetLoader.getLumaCanvas(this.canvasContext.canvas);r.getContext("2d").drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(r,0,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(t,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(t){if(!this.hidden&&!this.data.hd&&(1!==this.data.td||t)){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var e=0===this.data.ty;this.prepareLayer(),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.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(t,e){var r={data:t,type:t.ty,preTransforms:this.transformsManager.addTransformSequence(e),transforms:[],elements:[],closed:!0===t.hd},n={};if("fl"===t.ty||"st"===t.ty?(n.c=PropertyFactory.getProp(this,t.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(n.s=PropertyFactory.getProp(this,t.s,1,null,this),n.e=PropertyFactory.getProp(this,t.e,1,null,this),n.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,t.g,this)),n.o=PropertyFactory.getProp(this,t.o,0,.01,this),"st"===t.ty||"gs"===t.ty){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],1==t.lj&&(r.ml=t.ml),n.w=PropertyFactory.getProp(this,t.w,0,null,this),n.w.k||(r.wi=n.w.v),t.d){var i=new DashProperty(this,t.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(t){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}}},CVShapeElement.prototype.createShapeElement=function(t){var e=new CVShapeData(this,t,this.stylesList,this.transformsManager);return this.shapes.push(e),this.addShapeToModifiers(e),e},CVShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t=0;a-=1){if((l=this.searchProcessedElement(t[a]))?e[a]=r[l-1]:t[a]._shouldRender=n,"fl"===t[a].ty||"st"===t[a].ty||"gf"===t[a].ty||"gs"===t[a].ty)l?e[a].style.closed=!1:e[a]=this.createStyleElement(t[a],d),c.push(e[a].style);else if("gr"===t[a].ty){if(l)for(o=e[a].it.length,s=0;s=0;i-=1)"tr"===e[i].ty?(a=r[i].transform,this.renderShapeTransform(t,a)):"sh"===e[i].ty||"el"===e[i].ty||"rc"===e[i].ty||"sr"===e[i].ty?this.renderPath(e[i],r[i]):"fl"===e[i].ty?this.renderFill(e[i],r[i],a):"st"===e[i].ty?this.renderStroke(e[i],r[i],a):"gf"===e[i].ty||"gs"===e[i].ty?this.renderGradientFill(e[i],r[i],a):"gr"===e[i].ty?this.renderShape(a,e[i].it,r[i].it):e[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,n,i,a=t.trNodes,s=e.paths,o=s._length;a.length=0;var l=t.transforms.finalTransform;for(i=0;i=1?u=.99:u<=-1&&(u=-.99);var c=h*u,f=Math.cos(p+e.a.v)*c+o[0],d=Math.sin(p+e.a.v)*c+o[1];n=s.createRadialGradient(f,d,0,o[0],o[1],h)}var m=t.g.p,y=e.g.c,g=1;for(a=0;ao&&"xMidYMid slice"===l||si&&"meet"===o||ai&&"slice"===o)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===h&&(ai&&"slice"===o)?(r-this.transformCanvas.w*(n/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===p&&(a>i&&"meet"===o||ai&&"meet"===o||a=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(t,e){if((this.renderedFrame!==t||!0!==this.renderConfig.clearCanvas||e)&&!this.destroyed&&-1!==t){var r;this.renderedFrame=t,this.globalData.frameNum=t-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||e,this.globalData.projectInterface.currentFrame=t;var n=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t,e=this.canvasContext;for(e.beginPath(),e.moveTo(0,0),e.lineTo(this.data.w,0),e.lineTo(this.data.w,this.data.h),e.lineTo(0,this.data.h),e.lineTo(0,0),e.clip(),t=this.layers.length-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},CVCompElement.prototype.destroy=function(){var t;for(t=this.layers.length-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var t=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var e=this.finalTransform.mat.toCSS();t.transform=e,t.webkitTransform=e}this.finalTransform._opMdf&&(t.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?((t=createNS("rect")).setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((t=createTag("div")).style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var t;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),t=this.svgElement;else{t=createNS("svg");var e=this.comp.data?this.comp.data:this.globalData.compSize;t.setAttribute("width",e.w),t.setAttribute("height",e.h),t.appendChild(this.shapesContainer),this.layerElement.appendChild(t)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=t},HShapeElement.prototype.getTransformedPoint=function(t,e){var r,n=t.length;for(r=0;r0&&o<1&&u[c].push(this.calculateF(o,t,e,r,n,c)):(l=a*a-4*s*i)>=0&&((h=(-a+bmSqrt(l))/(2*i))>0&&h<1&&u[c].push(this.calculateF(h,t,e,r,n,c)),(p=(-a-bmSqrt(l))/(2*i))>0&&p<1&&u[c].push(this.calculateF(p,t,e,r,n,c))));this.shapeBoundingBox.left=bmMin.apply(null,u[0]),this.shapeBoundingBox.top=bmMin.apply(null,u[1]),this.shapeBoundingBox.right=bmMax.apply(null,u[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,u[1])},HShapeElement.prototype.calculateF=function(t,e,r,n,i,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*n[a]+bmPow(t,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,n=t.length;for(r=0;rr&&(r=i)}r*=t.mult}else r=t.v*t.mult;e.x-=r,e.xMax+=r,e.y-=r,e.yMax+=r},HShapeElement.prototype.currentBoxContains=function(t){return this.currentBBox.x<=t.x&&this.currentBBox.y<=t.y&&this.currentBBox.width+this.currentBBox.x>=t.x+t.width&&this.currentBBox.height+this.currentBBox.y>=t.y+t.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var t=this.tempBoundingBox,e=999999;if(t.x=e,t.xMax=-e,t.y=e,t.yMax=-e,this.calculateBoundingBox(this.itemsData,t),t.width=t.xMax=0;t-=1){var n=this.hierarchy[t].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 i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),s=[i[0]/a,i[1]/a,i[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),h=Math.atan2(s[0],-s[2]);this.mat.rotateY(h).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 u,c,f;for(e=this.comp.threeDElements.length,t=0;t=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r,n,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),"3d"===e){(r=i.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px",r.webkitTransformOrigin="50% 50%",r.mozTransformOrigin="50% 50%",r.transformOrigin="50% 50%";var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=a.style).transform=s,n.webkitTransform=s}i.appendChild(a);var o={container:a,perspectiveElem:i,startPos:t,endPos:t,type:e};return this.threeDElements.push(o),o},HybridRendererBase.prototype.build3dContainers=function(){var t,e,r=this.layers.length,n="";for(t=0;t=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,n=this.threeDElements.length;rs?(t=i/this.globalData.compSize.w,e=i/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+n+",0,1)",o.transform=o.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var t,e=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(t=0;t=a;)t/=2,e/=2,r>>>=1;return(t+r)/e};return y.int32=function(){return 0|m.g(4)},y.quick=function(){return m.g(4)/4294967296},y.double=y,l(h(m.S),t),(u.pass||c||function(t,r,n,i){return i&&(i.S&&o(i,m),t.state=function(){return o(m,{})}),n?(e.random=t,r):t})(y,d,"global"in u?u.global:this==e,u.state)},l(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return"number"===t||"boolean"===t||"string"===t||e instanceof Number}function $bm_neg(t){var e=_typeof(t);if("number"===e||"boolean"===e||t instanceof Number)return-t;if($bm_isInstanceOfArray(t)){var r,n=t.length,i=[];for(r=0;rr){var n=r;r=e,e=n}return Math.min(Math.max(t,e),r)}function radiansToDegrees(t){return t/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(t){return t*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(t,e){if("number"==typeof t||t instanceof Number)return e=e||0,Math.abs(t-e);var r;e||(e=helperLengthArray);var n=Math.min(t.length,e.length),i=0;for(r=0;r.5?h/(2-s-o):h/(s+o),s){case n:e=(i-a)/h+(i1&&(r-=1),r<1/6?t+6*(e-t)*r:r<.5?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e,r,n,i=t[0],a=t[1],s=t[2];if(0===a)e=s,n=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;e=hue2rgb(l,o,i+1/3),r=hue2rgb(l,o,i),n=hue2rgb(l,o,i-1/3)}return[e,r,n,t[3]]}function linear(t,e,r,n,i){if(void 0!==n&&void 0!==i||(n=e,i=r,e=0,r=1),r=r)return i;var s,o=r===e?0:(t-e)/(r-e);if(!n.length)return n+(i-n)*o;var l=n.length,h=createTypedArray("float32",l);for(s=0;s1){for(n=0;n1?e=1:e<0&&(e=0);var s=t(e);if($bm_isInstanceOfArray(i)){var o,l=i.length,h=createTypedArray("float32",l);for(o=0;odata.k[e].t&&tdata.k[e+1].t-t?(r=e+2,n=data.k[e+1].t):(r=e+1,n=data.k[e].t);break}}-1===r&&(r=e+1,n=data.k[e].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(t){var e,r,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+t);t-=1,e={time:data.k[t].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(n=i.length,r=0;rh.length-1)&&(e=h.length-1),n=p-(i=h[h.length-1-e].t)),"pingpong"===t){if(Math.floor((l-i)/n)%2!=0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var u=this.getValueAtTime(i/this.comp.globalData.frameRate,0),c=this.getValueAtTime(p/this.comp.globalData.frameRate,0),f=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),d=Math.floor((l-i)/n);if(this.pv.length){for(s=(o=new Array(u.length)).length,a=0;a=p)return this.pv;if(r?i=p+(n=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-p)):((!e||e>h.length-1)&&(e=h.length-1),n=(i=h[e].t)-p),"pingpong"===t){if(Math.floor((p-l)/n)%2==0)return this.getValueAtTime(((p-l)%n+p)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var u=this.getValueAtTime(p/this.comp.globalData.frameRate,0),c=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime((n-(p-l)%n+p)/this.comp.globalData.frameRate,0),d=Math.floor((p-l)/n)+1;if(this.pv.length){for(s=(o=new Array(u.length)).length,a=0;a1?(i+t-a)/(e-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;os){var p=o,u=r.c&&o===l-1?0:o+1,c=(s-h)/a[o].addedLength;n=bez.getPointInSegment(r.v[p],r.v[u],r.o[p],r.i[u],c,a[o]);break}h+=a[o].addedLength,o+=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(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var n=this.pointOnPath(t,e),i=this.pointOnPath(t+.001,e),a=i[0]-n[0],s=i[1]-n[1],o=Math.sqrt(Math.pow(a,2)+Math.pow(s,2));return 0===o?[0,0]:"tangent"===r?[a/o,s/o]:[-s/o,a/o]},tangentOnPath:function(t,e){return this.vectorOnPath(t,e,"tangent")},normalOnPath:function(t,e){return this.vectorOnPath(t,e,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([h],o),extendPrototype([h],l),l.prototype.getValueAtTime=function(t){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=h?f<0?n:i:n+c*Math.pow((a-t)/f,1/r),p[u]=s,u+=1,o+=256/255;return p.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e,r=this.filterManager.effectElements;this.feFuncRComposed&&(t||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(e=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",e),this.feFuncGComposed.setAttribute("tableValues",e),this.feFuncBComposed.setAttribute("tableValues",e)),this.feFuncR&&(t||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(e=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",e)),this.feFuncG&&(t||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(e=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",e)),this.feFuncB&&(t||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(e=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",e)),this.feFuncA&&(t||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(e=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",e))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){if((t||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),t||this.filterManager.effectElements[0].p._mdf){var e=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*e[0]),Math.round(255*e[1]),Math.round(255*e[2])))}if((t||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),t||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,i=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(t,e,r){this.initialized=!1,this.filterManager=e,this.filterElem=t,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(t,e,r,n){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var i=createNS("feGaussianBlur");i.setAttribute("result",n),t.appendChild(i),this.feGaussianBlur=i}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;ewindow.innerWidth?-1:0;u(r)}}),[p,o,i]),React__namespace.createElement("div",{className:"lf-popover",onMouseOver:function(){d(!0)},onMouseLeave:function(){d(!1)},ref:function(t){a(t)}},React__namespace.createElement("div",{className:" lf-player-btn"},r),React__namespace.createElement("div",{className:"lf-popover-content",ref:function(t){l(t)},style:{bottom:"22px",right:"0px",zIndex:2,visibility:f?"visible":"hidden"}},e))},Seeker=function(t){function e(e){var r=t.call(this,e)||this;return r.inputRef=React__namespace.createRef(),r.handleChange=function(){return function(t){var e=t.target.value,n=Math.floor(e/100*r.props.max);r.props.onChange(n)}},r.state={value:0},r}return __extends(e,t),e.prototype.render=function(){var t=this.props.value/this.props.max*100,e={backgroundImage:"-webkit-gradient(linear, left top, right top, color-stop("+t+"%, rgba(15, 204, 206, 0.4)), color-stop("+t+"%, #DAE1E7))"},r={position:"absolute",left:0,marginTop:"8px",width:"20px",display:"block",border:"0px",backgroundColor:this.props.darkTheme?"#505050":"rgb(218, 225, 231)",color:this.props.darkTheme?"#B9B9B9":"#555",padding:"2px",textAlign:"center",borderRadius:"3px",fontSize:"8px",fontWeight:"bold"},n={position:"absolute",right:0,marginTop:"8px",width:"20px",display:"block",border:"0px",backgroundColor:this.props.darkTheme?"#505050":"rgb(218, 225, 231)",color:this.props.darkTheme?"#B9B9B9":"#555",padding:"2px",textAlign:"center",borderRadius:"3px",fontSize:"8px",fontWeight:"bold"};return React__namespace.createElement("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:"100%",marginRight:"5px",marginLeft:"5px",position:"relative"}},React__namespace.createElement("input",{ref:this.inputRef,id:"track",className:"lf-progress",name:"progress","aria-label":"progress",type:"range",min:"0",max:"100",step:"0.1",value:t,onInput:this.handleChange(),onChange:this.handleChange(),style:e}),this.props.showLabels&&React__namespace.createElement("div",{style:{display:"flex",justifyContent:"space-between"}},React__namespace.createElement("div",{style:r},this.props.min),React__namespace.createElement("div",{style:n},this.props.max)))},e}(React__namespace.Component),ControlButtonStyle={display:"inline-flex",cursor:"pointer"},Controls=function(t){function e(e){var r=t.call(this,e)||this;return r.state={activeFrame:0,mouseDown:!1},r}return __extends(e,t),e.prototype.render=function(){var t=this,e=this.props,r=e.instance,n=e.playerState,i=e.seeker,a=e.setLoop,s=e.setSeeker,o=e.play,l=e.pause,h=e.stop,p=e.visible,u=e.buttons;if(!r)return null;if(!p)return null;var c=!u||u.includes("play"),f=!u||u.includes("stop"),d=!u||u.includes("repeat"),m=!u||u.includes("frame"),y=!u||u.includes("background"),g=!u||u.includes("snapshot"),v={width:14,height:14,viewBox:"0 0 24 24"},b=Math.round(r.currentFrame);return React__namespace.createElement("div",{className:"lf-player-controls",style:{display:"flex",justifyContent:"space-between",height:"60px",alignItems:"center",backgroundColor:this.props.transparentTheme?"transparent":this.props.darkTheme?"#3C3C3C":"#ffffff",paddingLeft:"10px",paddingRight:"10px"}},c&&React__namespace.createElement("div",{role:"button","aria-label":n===exports.PlayerState.Playing?exports.PlayerEvent.Pause:exports.PlayerEvent.Play,tabIndex:0,onClick:function(){n===exports.PlayerState.Playing?"function"==typeof l&&l():"function"==typeof o&&o()},onKeyDown:function(){n===exports.PlayerState.Playing?"function"==typeof l&&l():"function"==typeof o&&o()},className:"lf-player-btn",style:ControlButtonStyle},n===exports.PlayerState.Playing?React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("rect",{height:"22.9",rx:"1.9",width:"7.6",x:"14",y:".5"}),React__namespace.createElement("rect",{height:"22.9",rx:"1.9",width:"7.6",x:"2",y:".5"})):React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M2 3.4C2 1.9 3.5 1 4.8 1.8l16.5 9.6c1.2.7 1.2 2.5 0 3.2L4.8 24.2C3.5 25 2 24.1 2 22.6V3.4z"}))),f&&React__namespace.createElement("div",{tabIndex:0,role:"button","aria-label":exports.PlayerEvent.Stop,onClick:function(){return h&&h()},onKeyDown:function(){return h&&h()},className:n===exports.PlayerState.Stopped?"lf-player-btn active":"lf-player-btn",style:ControlButtonStyle},React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M2 3.667A1.67 1.67 0 0 1 3.667 2h16.666A1.67 1.67 0 0 1 22 3.667v16.666A1.67 1.67 0 0 1 20.333\n 22H3.667A1.67 1.67 0 0 1 2 20.333z"}))),React__namespace.createElement(Seeker,{min:0,step:1,max:r?r.totalFrames:1,value:i||0,onChange:function(e){s&&t.setState({activeFrame:e},(function(){s(e,!1)}))},onChangeEnd:function(e){s&&t.setState({activeFrame:e},(function(){s(e,!1)}))},showLabels:this.props.showLabels,darkTheme:this.props.darkTheme}),m&&React__namespace.createElement("div",{role:"button",className:"lf-player-btn-container"},React__namespace.createElement("input",{style:{outline:"none",border:this.props.darkTheme?"1px #505050 solid":"1px #ccc solid",borderRadius:"3px",width:"40px",textAlign:"center",backgroundColor:this.props.darkTheme?"#505050":"#ffffff",color:this.props.darkTheme?"#B9B9B9":"#999",fontSize:"0.7rem",padding:"0",fontFamily:"inherit"},type:"text",value:b,readOnly:!0})),d&&React__namespace.createElement("div",{role:"button","aria-label":exports.PlayerEvent.Loop,tabIndex:0,onClick:function(){r&&a&&a(!r.loop)},onKeyDown:function(){r&&a&&a(!r.loop)},className:r.loop?"lf-player-btn active":"lf-player-btn",style:ControlButtonStyle},React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M12.5 16.8137h-.13v1.8939h4.9696c3.6455 0 6.6113-2.9658 6.6113-6.6116\n 0-3.64549-2.9658-6.61131-6.6113-6.61131-.5231 0-.947.42391-.947.94696 0 .52304.4239.94696.947.94696 2.6011 0\n 4.7174 2.11634 4.7174 4.71739 0 2.6014-2.1166 4.7177-4.7174 4.7177H12.5zM13.6025\n 5.61469v-.13H7.48137C3.83582 5.48469.87 8.45051.87 12.096c0 3.6509 3.17269 6.6117 6.81304 6.6117.52304 0\n .94696-.424.94696-.947 0-.5231-.42392-.947-.94696-.947-2.60804 0-4.91907-2.1231-4.91907-4.7176 0-2.60115\n 2.11634-4.71744 4.7174-4.71744h6.12113V5.61469z",stroke:"#8795A1",strokeWidth:".26"}),React__namespace.createElement("path",{d:"M11.1482\n 2.20355h0l-.001-.00116c-.3412-.40061-.9405-.44558-1.33668-.0996h-.00001c-.39526.34519-.43936.94795-.09898\n 1.34767l2.51487 3.03683-2.51894 3.06468c-.33872.40088-.29282 1.00363.10347\n 1.34723l.08517-.0982-.08517.0982c.17853.1549.39807.2308.61647.2308.2671 0 .5328-.114.72-.3347h0l.0011-.0014\n 3.0435-3.68655.0006-.00068c.3035-.35872.3025-.88754-.0019-1.24526l-3.0425-3.65786zM13.9453\n 21.7965h0l.001.0011c.3413.4006.9407.4456 1.337.0996h0c.3953-.3452.4395-.9479.099-1.3477l-2.5154-3.0368\n 2.5195-3.0647c.3388-.4008.2929-1.0036-.1035-1.3472l-.0852.0982.0852-.0982c-.1786-.1549-.3981-.2308-.6166-.2308-.2671\n 0-.5329.114-.7202.3347h0l-.0011.0014-3.0442\n 3.6865c-.0001.0003-.0003.0005-.0005.0007-.3036.3587-.3027.8876.0019 1.2453l3.0431 3.6579z",fill:"#8795A1",stroke:"#8795A1",strokeWidth:".26"}))),y&&React__namespace.createElement(Popover,{icon:React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{d:"M12 3.1L6.1 8.6a7.6 7.6 0 00-2.2 4 7.2 7.2 0 00.4 4.4 7.9 7.9 0 003 3.5 8.7 8.7 0 004.7 1.3c1.6 0\n 3.2-.5 4.6-1.3s2.4-2 3-3.5a7.2 7.2 0 00.5-4.5 7.6 7.6 0 00-2.2-4L12 3.2zM12 0l7.5 7a9.8 9.8 0 013 5.1\n 9.3 9.3 0 01-.6 5.8c-.9 1.8-2.2 3.3-4 4.4A11.2 11.2 0 0112 24a11.2 11.2 0\n 01-6-1.7c-1.7-1-3-2.6-3.9-4.4a9.3 9.3 0 01-.6-5.8c.4-2 1.5-3.7 3-5L12 0zM6 14h12c0 1.5-.7 3-1.8 4s-2.6\n 1.6-4.2 1.6S9 19 7.8 18s-1.7-2.5-1.7-4z"}))},React__namespace.createElement("div",{slot:"content",className:"lf-popover popover-background"},React__namespace.createElement(ColorPicker,{colorChangedEvent:this.props.colorChangedEvent}))),g&&React__namespace.createElement(Popover,{icon:React__namespace.createElement("svg",__assign({},v),React__namespace.createElement("path",{clipRule:"evenodd",d:"M0 3.01A2.983 2.983 0 012.983.027H16.99a2.983 2.983 0 012.983 2.983v14.008a2.982 2.982 0 01-2.983\n 2.983H2.983A2.983 2.983 0 010 17.018zm2.983-.941a.941.941 0 00-.942.94v14.01c0\n .52.422.94.942.94H16.99a.94.94 0 00.941-.94V3.008a.941.941 0 00-.94-.94H2.981z",fillRule:"evenodd"}),React__namespace.createElement("path",{d:"M12.229 7.945l-2.07 4.598-2.586-2.605-2.414 2.758v2.146h9.656V11.93z"}),React__namespace.createElement("circle",{cx:"7.444",cy:"6.513",r:"2.032"}),React__namespace.createElement("path",{d:"M9.561 23.916h11.25a2.929 2.929 0 002.926-2.927V9.954a1.06 1.06 0 10-2.122 0v11.035a.805.805 0\n 01-.803.804H9.562a1.061 1.061 0 100 2.123z",stroke:"#8795a1",strokeWidth:".215"}))},React__namespace.createElement("div",{slot:"content",className:"lf-popover lf-popover-snapshot",onWheel:function(t){s&&s(b+(t.deltaY>0?-1:1),!1)}},React__namespace.createElement("h5",null,"Frame ",b),React__namespace.createElement("div",{style:{cursor:"pointer",color:"#0FCCCE"},onClick:this.props.snapshot},"Download SVG"),React__namespace.createElement("div",{style:{cursor:"pointer",color:"#0FCCCE"},onClick:this.props.snapshot},"Download PNG"),React__namespace.createElement("i",{className:"lf-note"},"Scroll with mousewheel to find exact frame"))))},e}(React__namespace.Component);exports.Controls=Controls,exports.Player=Player,exports.Seeker=Seeker,exports.parseSrc=parseSrc}).call(this,__webpack_require__("oDJU"))},kUMV:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;s(r("17x9"));var n=s(r("q1tI")),i=s(r("Xu78")),a=r("+c9P");function s(t){return t&&t.__esModule?t:{default:t}}function o(){return(o=Object.assign||function(t){for(var e=1;e=0||(i[r]=t[r]);return i}(t,["component","childFactory"]),s=this.state.contextValue,o=l(this.state.children).map(r);return delete a.appear,delete a.enter,delete a.exit,null===e?n.default.createElement(i.default.Provider,{value:s},o):n.default.createElement(i.default.Provider,{value:s},n.default.createElement(e,a,o))},s}(n.default.Component);h.propTypes={},h.defaultProps={component:"div",childFactory:function(t){return t}};var p=h;e.default=p,t.exports=e.default},km35:function(t,e,r){"use strict";e.__esModule=!0;a(r("17x9"));var n=r("q1tI"),i=a(r("IC1n"));function a(t){return t&&t.__esModule?t:{default:t}}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var l=function(t){function e(){var r,n;s(this,e);for(var a=arguments.length,l=Array(a),h=0;h>>24,r[1]=e>>>16&255,r[2]=e>>>8&255,r[3]=255&e,r[4]=(e=parseInt(t.slice(9,13),16))>>>8,r[5]=255&e,r[6]=(e=parseInt(t.slice(14,18),16))>>>8,r[7]=255&e,r[8]=(e=parseInt(t.slice(19,23),16))>>>8,r[9]=255&e,r[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,r[11]=e/4294967296&255,r[12]=e>>>24&255,r[13]=e>>>16&255,r[14]=e>>>8&255,r[15]=255&e,r};e.default=a},li9p:function(t,e,r){"use strict";e.__esModule=!0,e.whenMapStateToPropsIsFunction=i,e.whenMapStateToPropsIsMissing=a,e.default=void 0;var n=r("GBcg");function i(t){return"function"==typeof t?(0,n.wrapMapToPropsFunc)(t,"mapStateToProps"):void 0}function a(t){return t?void 0:(0,n.wrapMapToPropsConstant)((function(){return{}}))}var s=[i,a];e.default=s},mT8Z:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(r("pIPx")),i=o(r("BCXq")),a=o(r("NtWr")),s=o(r("fDF/"));function o(t){return t&&t.__esModule?t:{default:t}}var l=new n.default((0,i.default)({separator:",",conjunction:"or"}),(0,s.default)(/(?:\s+)/g," "),a.default);e.default=l,t.exports=e.default},n3AX:function(t,e,r){var n=r("Nsbk");t.exports=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=n(t)););return t},t.exports.__esModule=!0,t.exports.default=t.exports},nCpy:function(t,e,r){"use strict";let n;Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)};const i=new Uint8Array(16)},nDFU:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=(n=r("RQ59"))&&n.__esModule?n:{default:n};var a=function(t){if(!(0,i.default)(t))throw TypeError("Invalid UUID");return parseInt(t.substr(14,1),16)};e.default=a},nE62:function(t,e,r){"use strict";function n(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}e.__esModule=!0,e.default=function(t,e){if(n(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var r=Object.keys(t),i=Object.keys(e);if(r.length!==i.length)return!1;for(var a=0;a=Math.floor(u)&&m=Math.floor(c)}else{var y=0,g=0,v=0;if(i.getBoundingClientRect)v=i.getBoundingClientRect().top;if(!o||t.props.isDynamic){if(!(o=r.get(s)))return;var b=o.getBoundingClientRect();g=(y=b.top-v+n)+b.height}var _=n-t.props.offset;l=_>=Math.floor(y)&&_=Math.floor(g)}var x=r.getActiveLink();if(p){if(s===x&&r.setActiveLink(void 0),t.props.hashSpy&&h.default.getHash()===s){var E=t.props.saveHashHistory,P=void 0!==E&&E;h.default.changeHash("",P)}t.props.spy&&t.state.active&&(t.setState({active:!1}),t.props.onSetInactive&&t.props.onSetInactive(s,o))}if(l&&(x!==s||!1===t.state.active)){r.setActiveLink(s);var S=t.props.saveHashHistory,w=void 0!==S&&S;t.props.hashSpy&&h.default.changeHash(s,w),t.props.spy&&(t.setState({active:!0}),t.props.onSetActive&&t.props.onSetActive(s,o))}}}};return l.propTypes=u,l.defaultProps={offset:0},l}},"pln+":function(t,e,r){"use strict";e.__esModule=!0;i(r("17x9"));var n=i(r("q1tI"));function i(t){return t&&t.__esModule?t:{default:t}}var a={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",padding:0,width:"1px",position:"absolute"},s=function(t){var e=t.message,r=t["aria-live"];return n.default.createElement("div",{style:a,role:"log","aria-live":r},e||"")};s.propTypes={},e.default=s,t.exports=e.default},pn57:function(t,e,r){"use strict";function n(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0});var i=n(r("3tO9"));function a(t){return"Minified Redux error #"+t+"; visit https://redux.js.org/Errors?code="+t+" for the full message or use the non-minified dev environment for full errors. "}var s="function"==typeof Symbol&&Symbol.observable||"@@observable",o=function(){return Math.random().toString(36).substring(7).split("").join(".")},l={INIT:"@@redux/INIT"+o(),REPLACE:"@@redux/REPLACE"+o(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+o()}};function h(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}function p(t,e){return function(){return e(t.apply(this,arguments))}}function u(){for(var t=arguments.length,e=new Array(t),r=0;r=0||(i[r]=t[r]);return i}(e,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return n.default.createElement(s.default.Provider,{value:null},"function"==typeof r?r(t,i):n.default.cloneElement(n.default.Children.only(r),i))},o}(n.default.Component);function h(){}l.contextType=s.default,l.propTypes={},l.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:h,onEntering:h,onEntered:h,onExit:h,onExiting:h,onExited:h},l.UNMOUNTED="unmounted",l.EXITED="exited",l.ENTERING="entering",l.ENTERED="entered",l.EXITING="exiting";var p=l;e.default=p},u16E:function(t,e,r){"use strict";e.__esModule=!0;var n=r("q1tI"),i=o(n),a=o(r("GvO0")),s=o(r("ncX6"));function o(t){return t&&t.__esModule?t:{default:t}}var l=function(t){function e(r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,t.call(this,r));return n.announcePolite=function(t,e){n.setState({announcePoliteMessage:t,politeMessageId:e||""})},n.announceAssertive=function(t,e){n.setState({announceAssertiveMessage:t,assertiveMessageId:e||""})},n.state={announcePoliteMessage:"",politeMessageId:"",announceAssertiveMessage:"",assertiveMessageId:"",updateFunctions:{announcePolite:n.announcePolite,announceAssertive:n.announceAssertive}},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e.prototype.render=function(){var t=this.state,e=t.announcePoliteMessage,r=t.politeMessageId,n=t.announceAssertiveMessage,o=t.assertiveMessageId,l=t.updateFunctions;return i.default.createElement(s.default.Provider,{value:l},this.props.children,i.default.createElement(a.default,{assertiveMessage:n,assertiveMessageId:o,politeMessage:e,politeMessageId:r}))},e}(n.Component);e.default=l,t.exports=e.default},uyHG:function(t,e,r){(function(e){var r=/^\[object .+?Constructor\]$/,n="object"==typeof e&&e&&e.Object===Object&&e,i="object"==typeof self&&self&&self.Object===Object&&self,a=n||i||Function("return this")();var s,o=Array.prototype,l=Function.prototype,h=Object.prototype,p=a["__core-js_shared__"],u=(s=/[^.]+$/.exec(p&&p.keys&&p.keys.IE_PROTO||""))?"Symbol(src)_1."+s:"",c=l.toString,f=h.hasOwnProperty,d=h.toString,m=RegExp("^"+c.call(f).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),y=o.splice,g=w(a,"Map"),v=w(Object,"create");function b(t){var e=-1,r=t?t.length:0;for(this.clear();++e-1},_.prototype.set=function(t,e){var r=this.__data__,n=E(r,t);return n<0?r.push([t,e]):r[n][1]=e,this},x.prototype.clear=function(){this.__data__={hash:new b,map:new(g||_),string:new b}},x.prototype.delete=function(t){return S(this,t).delete(t)},x.prototype.get=function(t){return S(this,t).get(t)},x.prototype.has=function(t){return S(this,t).has(t)},x.prototype.set=function(t,e){return S(this,t).set(t,e),this},C.Cache=x,t.exports=C}).call(this,r("oDJU"))},voke:function(t,e,r){"use strict";function n(t,e,r,n){switch(t){case 0:return e&r^~e&n;case 1:return e^r^n;case 2:return e&r^e&n^r&n;case 3:return e^r^n}}function i(t,e){return t<>>32-e}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=function(t){const e=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=[];for(let r=0;r>>0;u=p,p=h,h=i(l,30)>>>0,l=s,s=o}r[0]=r[0]+s>>>0,r[1]=r[1]+l>>>0,r[2]=r[2]+h>>>0,r[3]=r[3]+p>>>0,r[4]=r[4]+u>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]};e.default=a},w2Tm:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:66;return(0,a.default)(t,e)}((function(e){o.scrollHandler(t)}),e);o.scrollSpyContainers.push(t),(0,s.addPassiveEventListener)(t,"scroll",r)}},isMounted:function(t){return-1!==o.scrollSpyContainers.indexOf(t)},currentPositionX:function(t){if(t===document){var e=void 0!==window.pageYOffset,r="CSS1Compat"===(document.compatMode||"");return e?window.pageXOffset:r?document.documentElement.scrollLeft:document.body.scrollLeft}return t.scrollLeft},currentPositionY:function(t){if(t===document){var e=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return e?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop}return t.scrollTop},scrollHandler:function(t){(o.scrollSpyContainers[o.scrollSpyContainers.indexOf(t)].spyCallbacks||[]).forEach((function(e){return e(o.currentPositionX(t),o.currentPositionY(t))}))},addStateHandler:function(t){o.spySetState.push(t)},addSpyHandler:function(t,e){var r=o.scrollSpyContainers[o.scrollSpyContainers.indexOf(e)];r.spyCallbacks||(r.spyCallbacks=[]),r.spyCallbacks.push(t),t(o.currentPositionX(e),o.currentPositionY(e))},updateStates:function(){o.spySetState.forEach((function(t){return t()}))},unmount:function(t,e){o.scrollSpyContainers.forEach((function(t){return t.spyCallbacks&&t.spyCallbacks.length&&t.spyCallbacks.splice(t.spyCallbacks.indexOf(e),1)})),o.spySetState&&o.spySetState.length&&o.spySetState.splice(o.spySetState.indexOf(t),1),document.removeEventListener("scroll",o.scrollHandler)},update:function(){return o.scrollSpyContainers.forEach((function(t){return o.scrollHandler(t)}))}};e.default=o},x754:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("tibx"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},xEy5:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("qffm"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},xFC4:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){for(var r=t.offsetTop,n=t.offsetParent;n&&!e(n);)r+=n.offsetTop,n=n.offsetParent;return{offsetTop:r,offsetParent:n}};e.default={updateHash:function(t,e){var r=0===t.indexOf("#")?t.substring(1):t,n=r?"#"+r:"",i=window&&window.location,a=n?i.pathname+i.search+n:i.pathname+i.search;e?history.pushState(null,"",a):history.replaceState(null,"",a)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(t){return function(e){return t.contains?t!=e&&t.contains(e):!!(16&t.compareDocumentPosition(e))}},scrollOffset:function(t,e,r){if(r)return t===document?e.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(t).position?e.offsetLeft:e.offsetLeft-t.offsetLeft;if(t===document)return e.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(t).position){if(e.offsetParent!==t){var i=n(e,(function(e){return e===t||e===document})),a=i.offsetTop;if(i.offsetParent!==t)throw new Error("Seems containerElement is not an ancestor of the Element");return a}return e.offsetTop}if(e.offsetParent===t.offsetParent)return e.offsetTop-t.offsetTop;var s=function(t){return t===document};return n(e,s).offsetTop-n(t,s).offsetTop}}},xjp4:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=s(r("pIPx")),i=s(r("r9/1")),a=s(r("NtWr"));function s(t){return t&&t.__esModule?t:{default:t}}var o=new n.default((0,i.default)("all"),a.default);e.default=o,t.exports=e.default},yM4s:function(t,e,r){"use strict";e.__esModule=!0,e.default=void 0;s(r("17x9"));var n=s(r("q1tI")),i=s(r("i8i4")),a=s(r("kUMV"));function s(t){return t&&t.__esModule?t:{default:t}}var o=function(t){var e,r;function s(){for(var e,r=arguments.length,n=new Array(r),i=0;i=0||(i[r]=t[r]);return i}(t,["children","in"]),s=n.default.Children.toArray(e),o=s[0],l=s[1];return delete i.onEnter,delete i.onEntering,delete i.onEntered,delete i.onExit,delete i.onExiting,delete i.onExited,n.default.createElement(a.default,i,r?n.default.cloneElement(o,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):n.default.cloneElement(l,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},s}(n.default.Component);o.propTypes={};var l=o;e.default=l,t.exports=e.default},ym5e:function(t,e){t.exports=function(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t},t.exports.__esModule=!0,t.exports.default=t.exports},zMJB:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n,i=r("oXdQ"),a=(n=i)&&n.__esModule?n:{default:n};e.default=a.default,t.exports=e.default},zPnG:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e