2 lines
1.3 MiB
2 lines
1.3 MiB
/*! For license information please see rad.js.LICENSE.txt */
|
||
(function(){var __webpack_modules__={69:function(t){t.exports=function(){function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function e(e,r,i){return r&&t(e.prototype,r),i&&t(e,i),e}function r(){return(r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t}).apply(this,arguments)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function n(t){return(n=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function a(t,e){return(a=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t,e,r){return(s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}()?Reflect.construct:function(t,e,r){var i=[null];i.push.apply(i,e);var n=new(Function.bind.apply(t,i));return r&&a(n,r.prototype),n}).apply(null,arguments)}function o(t){var e="function"==typeof Map?new Map:void 0;return(o=function(t){if(null===t||-1===Function.toString.call(t).indexOf("[native code]"))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return s(t,arguments,n(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),a(r,t)})(t)}function l(t,e){try{var r=t()}catch(t){return e(t)}return r&&r.then?r.then(void 0,e):r}"undefined"!=typeof Symbol&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator"))),"undefined"!=typeof Symbol&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));var c,h="2.9.7",u=function(){};!function(t){t[t.off=0]="off",t[t.error=1]="error",t[t.warning=2]="warning",t[t.info=3]="info",t[t.debug=4]="debug"}(c||(c={}));var d=c.off,p=function(){function t(t){this.t=t}t.getLevel=function(){return d},t.setLevel=function(t){return d=c[t]};var e=t.prototype;return e.error=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.i(console.error,c.error,e)},e.warn=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.i(console.warn,c.warning,e)},e.info=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.i(console.info,c.info,e)},e.debug=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];this.i(console.log,c.debug,e)},e.i=function(e,r,i){r<=t.getLevel()&&e.apply(console,["["+this.t+"] "].concat(i))},t}(),f=T,m=S,g=E,v=x,y=A,b="/",_=new RegExp(["(\\\\.)","(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?"].join("|"),"g");function E(t,e){for(var r,i=[],n=0,a=0,s="",o=e&&e.delimiter||b,l=e&&e.whitelist||void 0,c=!1;null!==(r=_.exec(t));){var h=r[0],u=r[1],d=r.index;if(s+=t.slice(a,d),a=d+h.length,u)s+=u[1],c=!0;else{var p="",f=r[2],m=r[3],g=r[4],v=r[5];if(!c&&s.length){var y=s.length-1,E=s[y];(!l||l.indexOf(E)>-1)&&(p=E,s=s.slice(0,y))}s&&(i.push(s),s="",c=!1);var S=m||g,x=p||o;i.push({name:f||n++,prefix:p,delimiter:x,optional:"?"===v||"*"===v,repeat:"+"===v||"*"===v,pattern:S?C(S):"[^"+w(x===o?x:x+o)+"]+?"})}}return(s||a<t.length)&&i.push(s+t.substr(a)),i}function S(t,e){return function(r,i){var n=t.exec(r);if(!n)return!1;for(var a=n[0],s=n.index,o={},l=i&&i.decode||decodeURIComponent,c=1;c<n.length;c++)if(void 0!==n[c]){var h=e[c-1];o[h.name]=h.repeat?n[c].split(h.delimiter).map((function(t){return l(t,h)})):l(n[c],h)}return{path:a,index:s,params:o}}}function x(t,e){for(var r=new Array(t.length),i=0;i<t.length;i++)"object"==typeof t[i]&&(r[i]=new RegExp("^(?:"+t[i].pattern+")$",P(e)));return function(e,i){for(var n="",a=i&&i.encode||encodeURIComponent,s=!i||!1!==i.validate,o=0;o<t.length;o++){var l=t[o];if("string"!=typeof l){var c,h=e?e[l.name]:void 0;if(Array.isArray(h)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but got array');if(0===h.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var u=0;u<h.length;u++){if(c=a(h[u],l),s&&!r[o].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'"');n+=(0===u?l.prefix:l.delimiter)+c}}else if("string"!=typeof h&&"number"!=typeof h&&"boolean"!=typeof h){if(!l.optional)throw new TypeError('Expected "'+l.name+'" to be '+(l.repeat?"an array":"a string"))}else{if(c=a(String(h),l),s&&!r[o].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but got "'+c+'"');n+=l.prefix+c}}else n+=l}return n}}function w(t){return t.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1")}function C(t){return t.replace(/([=!:$/()])/g,"\\$1")}function P(t){return t&&t.sensitive?"":"i"}function A(t,e,r){for(var i=(r=r||{}).strict,n=!1!==r.start,a=!1!==r.end,s=r.delimiter||b,o=[].concat(r.endsWith||[]).map(w).concat("$").join("|"),l=n?"^":"",c=0;c<t.length;c++){var h=t[c];if("string"==typeof h)l+=w(h);else{var u=h.repeat?"(?:"+h.pattern+")(?:"+w(h.delimiter)+"(?:"+h.pattern+"))*":h.pattern;e&&e.push(h),l+=h.optional?h.prefix?"(?:"+w(h.prefix)+"("+u+"))?":"("+u+")?":w(h.prefix)+"("+u+")"}}if(a)i||(l+="(?:"+w(s)+")?"),l+="$"===o?"$":"(?="+o+")";else{var d=t[t.length-1],p="string"==typeof d?d[d.length-1]===s:void 0===d;i||(l+="(?:"+w(s)+"(?="+o+"))?"),p||(l+="(?="+w(s)+"|"+o+")")}return new RegExp(l,P(r))}function T(t,e,r){return t instanceof RegExp?function(t,e){if(!e)return t;var r=t.source.match(/\((?!\?)/g);if(r)for(var i=0;i<r.length;i++)e.push({name:i,prefix:null,delimiter:null,optional:!1,repeat:!1,pattern:null});return t}(t,e):Array.isArray(t)?function(t,e,r){for(var i=[],n=0;n<t.length;n++)i.push(T(t[n],e,r).source);return new RegExp("(?:"+i.join("|")+")",P(r))}(t,e,r):function(t,e,r){return A(E(t,r),e,r)}(t,e,r)}f.match=function(t,e){var r=[];return S(T(t,r,e),r)},f.regexpToFunction=m,f.parse=g,f.compile=function(t,e){return x(E(t,e),e)},f.tokensToFunction=v,f.tokensToRegExp=y;var k={container:"container",history:"history",namespace:"namespace",prefix:"data-barba",prevent:"prevent",wrapper:"wrapper"},L=new(function(){function t(){this.o=k,this.u=new DOMParser}var e=t.prototype;return e.toString=function(t){return t.outerHTML},e.toDocument=function(t){return this.u.parseFromString(t,"text/html")},e.toElement=function(t){var e=document.createElement("div");return e.innerHTML=t,e},e.getHtml=function(t){return void 0===t&&(t=document),this.toString(t.documentElement)},e.getWrapper=function(t){return void 0===t&&(t=document),t.querySelector("["+this.o.prefix+'="'+this.o.wrapper+'"]')},e.getContainer=function(t){return void 0===t&&(t=document),t.querySelector("["+this.o.prefix+'="'+this.o.container+'"]')},e.removeContainer=function(t){document.body.contains(t)&&t.parentNode.removeChild(t)},e.addContainer=function(t,e){var r=this.getContainer();r?this.s(t,r):e.appendChild(t)},e.getNamespace=function(t){void 0===t&&(t=document);var e=t.querySelector("["+this.o.prefix+"-"+this.o.namespace+"]");return e?e.getAttribute(this.o.prefix+"-"+this.o.namespace):null},e.getHref=function(t){if(t.tagName&&"a"===t.tagName.toLowerCase()){if("string"==typeof t.href)return t.href;var e=t.getAttribute("href")||t.getAttribute("xlink:href");if(e)return this.resolveUrl(e.baseVal||e)}return null},e.resolveUrl=function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var i=e.length;if(0===i)throw new Error("resolveUrl requires at least one argument; got none.");var n=document.createElement("base");if(n.href=arguments[0],1===i)return n.href;var a=document.getElementsByTagName("head")[0];a.insertBefore(n,a.firstChild);for(var s,o=document.createElement("a"),l=1;l<i;l++)o.href=arguments[l],n.href=s=o.href;return a.removeChild(n),s},e.s=function(t,e){e.parentNode.insertBefore(t,e.nextSibling)},t}()),D=new(function(){function t(){this.h=[],this.v=-1}var i=t.prototype;return i.init=function(t,e){this.l="barba";var r={ns:e,scroll:{x:window.scrollX,y:window.scrollY},url:t};this.h.push(r),this.v=0;var i={from:this.l,index:0,states:[].concat(this.h)};window.history&&window.history.replaceState(i,"",t)},i.change=function(t,e,r){if(r&&r.state){var i=r.state,n=i.index;e=this.m(this.v-n),this.replace(i.states),this.v=n}else this.add(t,e);return e},i.add=function(t,e){var r=this.size,i=this.p(e),n={ns:"tmp",scroll:{x:window.scrollX,y:window.scrollY},url:t};this.h.push(n),this.v=r;var a={from:this.l,index:r,states:[].concat(this.h)};switch(i){case"push":window.history&&window.history.pushState(a,"",t);break;case"replace":window.history&&window.history.replaceState(a,"",t)}},i.update=function(t,e){var i=e||this.v,n=r({},this.get(i),{},t);this.set(i,n)},i.remove=function(t){t?this.h.splice(t,1):this.h.pop(),this.v--},i.clear=function(){this.h=[],this.v=-1},i.replace=function(t){this.h=t},i.get=function(t){return this.h[t]},i.set=function(t,e){return this.h[t]=e},i.p=function(t){var e="push",r=t,i=k.prefix+"-"+k.history;return r.hasAttribute&&r.hasAttribute(i)&&(e=r.getAttribute(i)),e},i.m=function(t){return Math.abs(t)>1?t>0?"forward":"back":0===t?"popstate":t>0?"back":"forward"},e(t,[{key:"current",get:function(){return this.h[this.v]}},{key:"state",get:function(){return this.h[this.h.length-1]}},{key:"previous",get:function(){return this.v<1?null:this.h[this.v-1]}},{key:"size",get:function(){return this.h.length}}]),t}()),I=function(t,e){try{var r=function(){if(!e.next.html)return Promise.resolve(t).then((function(t){var r=e.next;if(t){var i=L.toElement(t);r.namespace=L.getNamespace(i),r.container=L.getContainer(i),r.html=t,D.update({ns:r.namespace});var n=L.toDocument(t);document.title=n.title}}))}();return Promise.resolve(r&&r.then?r.then((function(){})):void 0)}catch(t){return Promise.reject(t)}},M=f,O={__proto__:null,update:I,nextTick:function(){return new Promise((function(t){window.requestAnimationFrame(t)}))},pathToRegexp:M},F=function(){return window.location.origin},R=function(t){return void 0===t&&(t=window.location.href),N(t).port},N=function(t){var e,r=t.match(/:\d+/);if(null===r)/^http/.test(t)&&(e=80),/^https/.test(t)&&(e=443);else{var i=r[0].substring(1);e=parseInt(i,10)}var n,a=t.replace(F(),""),s={},o=a.indexOf("#");o>=0&&(n=a.slice(o+1),a=a.slice(0,o));var l=a.indexOf("?");return l>=0&&(s=B(a.slice(l+1)),a=a.slice(0,l)),{hash:n,path:a,port:e,query:s}},B=function(t){return t.split("&").reduce((function(t,e){var r=e.split("=");return t[r[0]]=r[1],t}),{})},V=function(t){return void 0===t&&(t=window.location.href),t.replace(/(\/#.*|\/|#.*)$/,"")},q={__proto__:null,getHref:function(){return window.location.href},getOrigin:F,getPort:R,getPath:function(t){return void 0===t&&(t=window.location.href),N(t).path},parse:N,parseQuery:B,clean:V};function z(t,e,r){return void 0===e&&(e=2e3),new Promise((function(i,n){var a=new XMLHttpRequest;a.onreadystatechange=function(){if(a.readyState===XMLHttpRequest.DONE)if(200===a.status)i(a.responseText);else if(a.status){var e={status:a.status,statusText:a.statusText};r(t,e),n(e)}},a.ontimeout=function(){var i=new Error("Timeout error ["+e+"]");r(t,i),n(i)},a.onerror=function(){var e=new Error("Fetch error");r(t,e),n(e)},a.open("GET",t),a.timeout=e,a.setRequestHeader("Accept","text/html,application/xhtml+xml,application/xml"),a.setRequestHeader("x-barba","yes"),a.send()}))}var j=function(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then};function G(t,e){return void 0===e&&(e={}),function(){for(var r=arguments.length,i=new Array(r),n=0;n<r;n++)i[n]=arguments[n];var a=!1,s=new Promise((function(r,n){e.async=function(){return a=!0,function(t,e){t?n(t):r(e)}};var s=t.apply(e,i);a||(j(s)?s.then(r,n):r(s))}));return s}}var H=new(function(t){function e(){var e;return(e=t.call(this)||this).logger=new p("@barba/core"),e.all=["ready","page","reset","currentAdded","currentRemoved","nextAdded","nextRemoved","beforeOnce","once","afterOnce","before","beforeLeave","leave","afterLeave","beforeEnter","enter","afterEnter","after"],e.registered=new Map,e.init(),e}i(e,t);var r=e.prototype;return r.init=function(){var t=this;this.registered.clear(),this.all.forEach((function(e){t[e]||(t[e]=function(r,i){t.registered.has(e)||t.registered.set(e,new Set),t.registered.get(e).add({ctx:i||{},fn:r})})}))},r.do=function(t){for(var e=this,r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];if(this.registered.has(t)){var a=Promise.resolve();return this.registered.get(t).forEach((function(t){a=a.then((function(){return G(t.fn,t.ctx).apply(void 0,i)}))})),a.catch((function(r){e.logger.debug("Hook error ["+t+"]"),e.logger.error(r)}))}return Promise.resolve()},r.clear=function(){var t=this;this.all.forEach((function(e){delete t[e]})),this.init()},r.help=function(){this.logger.info("Available hooks: "+this.all.join(","));var t=[];this.registered.forEach((function(e,r){return t.push(r)})),this.logger.info("Registered hooks: "+t.join(","))},e}(u)),W=function(){function t(t){if(this.P=[],"boolean"==typeof t)this.g=t;else{var e=Array.isArray(t)?t:[t];this.P=e.map((function(t){return M(t)}))}}return t.prototype.checkHref=function(t){if("boolean"==typeof this.g)return this.g;var e=N(t).path;return this.P.some((function(t){return null!==t.exec(e)}))},t}(),$=function(t){function e(e){var r;return(r=t.call(this,e)||this).k=new Map,r}i(e,t);var n=e.prototype;return n.set=function(t,e,r){return this.k.set(t,{action:r,request:e}),{action:r,request:e}},n.get=function(t){return this.k.get(t)},n.getRequest=function(t){return this.k.get(t).request},n.getAction=function(t){return this.k.get(t).action},n.has=function(t){return!this.checkHref(t)&&this.k.has(t)},n.delete=function(t){return this.k.delete(t)},n.update=function(t,e){var i=r({},this.k.get(t),{},e);return this.k.set(t,i),i},e}(W),U=function(){return!window.history.pushState},Y=function(t){return!t.el||!t.href},X=function(t){var e=t.event;return e.which>1||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey},K=function(t){var e=t.el;return e.hasAttribute("target")&&"_blank"===e.target},Z=function(t){var e=t.el;return void 0!==e.protocol&&window.location.protocol!==e.protocol||void 0!==e.hostname&&window.location.hostname!==e.hostname},J=function(t){var e=t.el;return void 0!==e.port&&R()!==R(e.href)},Q=function(t){var e=t.el;return e.getAttribute&&"string"==typeof e.getAttribute("download")},tt=function(t){return t.el.hasAttribute(k.prefix+"-"+k.prevent)},et=function(t){return Boolean(t.el.closest("["+k.prefix+"-"+k.prevent+'="all"]'))},rt=function(t){var e=t.href;return V(e)===V()&&R(e)===R()},it=function(t){function e(e){var r;return(r=t.call(this,e)||this).suite=[],r.tests=new Map,r.init(),r}i(e,t);var r=e.prototype;return r.init=function(){this.add("pushState",U),this.add("exists",Y),this.add("newTab",X),this.add("blank",K),this.add("corsDomain",Z),this.add("corsPort",J),this.add("download",Q),this.add("preventSelf",tt),this.add("preventAll",et),this.add("sameUrl",rt,!1)},r.add=function(t,e,r){void 0===r&&(r=!0),this.tests.set(t,e),r&&this.suite.push(t)},r.run=function(t,e,r,i){return this.tests.get(t)({el:e,event:r,href:i})},r.checkLink=function(t,e,r){var i=this;return this.suite.some((function(n){return i.run(n,t,e,r)}))},e}(W),nt=function(t){function e(r,i){var n;void 0===i&&(i="Barba error");for(var a=arguments.length,s=new Array(a>2?a-2:0),o=2;o<a;o++)s[o-2]=arguments[o];return(n=t.call.apply(t,[this].concat(s))||this).error=r,n.label=i,Error.captureStackTrace&&Error.captureStackTrace(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n),e),n.name="BarbaError",n}return i(e,t),e}(o(Error)),at=function(){function t(t){void 0===t&&(t=[]),this.logger=new p("@barba/core"),this.all=[],this.page=[],this.once=[],this.A=[{name:"namespace",type:"strings"},{name:"custom",type:"function"}],t&&(this.all=this.all.concat(t)),this.update()}var e=t.prototype;return e.add=function(t,e){"rule"===t?this.A.splice(e.position||0,0,e.value):this.all.push(e),this.update()},e.resolve=function(t,e){var r=this;void 0===e&&(e={});var i=e.once?this.once:this.page;i=i.filter(e.self?function(t){return t.name&&"self"===t.name}:function(t){return!t.name||"self"!==t.name});var n=new Map,a=i.find((function(i){var a=!0,s={};return!(!e.self||"self"!==i.name)||(r.A.reverse().forEach((function(e){a&&(a=r.R(i,e,t,s),i.from&&i.to&&(a=r.R(i,e,t,s,"from")&&r.R(i,e,t,s,"to")),i.from&&!i.to&&(a=r.R(i,e,t,s,"from")),!i.from&&i.to&&(a=r.R(i,e,t,s,"to")))})),n.set(i,s),a)})),s=n.get(a),o=[];if(o.push(e.once?"once":"page"),e.self&&o.push("self"),s){var l,c=[a];Object.keys(s).length>0&&c.push(s),(l=this.logger).info.apply(l,["Transition found ["+o.join(",")+"]"].concat(c))}else this.logger.info("No transition found ["+o.join(",")+"]");return a},e.update=function(){var t=this;this.all=this.all.map((function(e){return t.T(e)})).sort((function(t,e){return t.priority-e.priority})).reverse().map((function(t){return delete t.priority,t})),this.page=this.all.filter((function(t){return void 0!==t.leave||void 0!==t.enter})),this.once=this.all.filter((function(t){return void 0!==t.once}))},e.R=function(t,e,r,i,n){var a=!0,s=!1,o=t,l=e.name,c=l,h=l,u=l,d=n?o[n]:o,p="to"===n?r.next:r.current;if(n?d&&d[l]:d[l]){switch(e.type){case"strings":default:var f=Array.isArray(d[c])?d[c]:[d[c]];p[c]&&-1!==f.indexOf(p[c])&&(s=!0),-1===f.indexOf(p[c])&&(a=!1);break;case"object":var m=Array.isArray(d[h])?d[h]:[d[h]];p[h]?(p[h].name&&-1!==m.indexOf(p[h].name)&&(s=!0),-1===m.indexOf(p[h].name)&&(a=!1)):a=!1;break;case"function":d[u](r)?s=!0:a=!1}s&&(n?(i[n]=i[n]||{},i[n][l]=o[n][l]):i[l]=o[l])}return a},e.O=function(t,e,r){var i=0;return(t[e]||t.from&&t.from[e]||t.to&&t.to[e])&&(i+=Math.pow(10,r),t.from&&t.from[e]&&(i+=1),t.to&&t.to[e]&&(i+=2)),i},e.T=function(t){var e=this;t.priority=0;var r=0;return this.A.forEach((function(i,n){r+=e.O(t,i.name,n+1)})),t.priority=r,t},t}(),st=function(){function t(t){void 0===t&&(t=[]),this.logger=new p("@barba/core"),this.S=!1,this.store=new at(t)}var r=t.prototype;return r.get=function(t,e){return this.store.resolve(t,e)},r.doOnce=function(t){var e=t.data,r=t.transition;try{var i=function(){n.S=!1},n=this,a=r||{};n.S=!0;var s=l((function(){return Promise.resolve(n.j("beforeOnce",e,a)).then((function(){return Promise.resolve(n.once(e,a)).then((function(){return Promise.resolve(n.j("afterOnce",e,a)).then((function(){}))}))}))}),(function(t){n.S=!1,n.logger.debug("Transition error [before/after/once]"),n.logger.error(t)}));return Promise.resolve(s&&s.then?s.then(i):i())}catch(t){return Promise.reject(t)}},r.doPage=function(t){var e=t.data,r=t.transition,i=t.page,n=t.wrapper;try{var a=function(t){if(s)return t;o.S=!1},s=!1,o=this,c=r||{},h=!0===c.sync||!1;o.S=!0;var u=l((function(){function t(){return Promise.resolve(o.j("before",e,c)).then((function(){var t=!1;function r(r){return t?r:Promise.resolve(o.remove(e)).then((function(){return Promise.resolve(o.j("after",e,c)).then((function(){}))}))}var a=function(){if(h)return l((function(){return Promise.resolve(o.add(e,n)).then((function(){return Promise.resolve(o.j("beforeLeave",e,c)).then((function(){return Promise.resolve(o.j("beforeEnter",e,c)).then((function(){return Promise.resolve(Promise.all([o.leave(e,c),o.enter(e,c)])).then((function(){return Promise.resolve(o.j("afterLeave",e,c)).then((function(){return Promise.resolve(o.j("afterEnter",e,c)).then((function(){}))}))}))}))}))}))}),(function(t){if(o.M(t))throw new nt(t,"Transition error [sync]")}));var r=function(r){return t?r:l((function(){var t=function(){if(!1!==a)return Promise.resolve(o.add(e,n)).then((function(){return Promise.resolve(o.j("beforeEnter",e,c)).then((function(){return Promise.resolve(o.enter(e,c,a)).then((function(){return Promise.resolve(o.j("afterEnter",e,c)).then((function(){}))}))}))}))}();if(t&&t.then)return t.then((function(){}))}),(function(t){if(o.M(t))throw new nt(t,"Transition error [before/after/enter]")}))},a=!1,s=l((function(){return Promise.resolve(o.j("beforeLeave",e,c)).then((function(){return Promise.resolve(Promise.all([o.leave(e,c),I(i,e)]).then((function(t){return t[0]}))).then((function(t){return a=t,Promise.resolve(o.j("afterLeave",e,c)).then((function(){}))}))}))}),(function(t){if(o.M(t))throw new nt(t,"Transition error [before/after/leave]")}));return s&&s.then?s.then(r):r(s)}();return a&&a.then?a.then(r):r(a)}))}var r=function(){if(h)return Promise.resolve(I(i,e)).then((function(){}))}();return r&&r.then?r.then(t):t()}),(function(t){if(o.S=!1,t.name&&"BarbaError"===t.name)throw o.logger.debug(t.label),o.logger.error(t.error),t;throw o.logger.debug("Transition error [page]"),o.logger.error(t),t}));return Promise.resolve(u&&u.then?u.then(a):a(u))}catch(t){return Promise.reject(t)}},r.once=function(t,e){try{return Promise.resolve(H.do("once",t,e)).then((function(){return e.once?G(e.once,e)(t):Promise.resolve()}))}catch(t){return Promise.reject(t)}},r.leave=function(t,e){try{return Promise.resolve(H.do("leave",t,e)).then((function(){return e.leave?G(e.leave,e)(t):Promise.resolve()}))}catch(t){return Promise.reject(t)}},r.enter=function(t,e,r){try{return Promise.resolve(H.do("enter",t,e)).then((function(){return e.enter?G(e.enter,e)(t,r):Promise.resolve()}))}catch(t){return Promise.reject(t)}},r.add=function(t,e){try{return L.addContainer(t.next.container,e),H.do("nextAdded",t),Promise.resolve()}catch(t){return Promise.reject(t)}},r.remove=function(t){try{return L.removeContainer(t.current.container),H.do("currentRemoved",t),Promise.resolve()}catch(t){return Promise.reject(t)}},r.M=function(t){return t.message?!/Timeout error|Fetch error/.test(t.message):!t.status},r.j=function(t,e,r){try{return Promise.resolve(H.do(t,e,r)).then((function(){return r[t]?G(r[t],r)(e):Promise.resolve()}))}catch(t){return Promise.reject(t)}},e(t,[{key:"isRunning",get:function(){return this.S},set:function(t){this.S=t}},{key:"hasOnce",get:function(){return this.store.once.length>0}},{key:"hasSelf",get:function(){return this.store.all.some((function(t){return"self"===t.name}))}},{key:"shouldWait",get:function(){return this.store.all.some((function(t){return t.to&&!t.to.route||t.sync}))}}]),t}(),ot=function(){function t(t){var e=this;this.names=["beforeLeave","afterLeave","beforeEnter","afterEnter"],this.byNamespace=new Map,0!==t.length&&(t.forEach((function(t){e.byNamespace.set(t.namespace,t)})),this.names.forEach((function(t){H[t](e.L(t))})))}return t.prototype.L=function(t){var e=this;return function(r){var i=t.match(/enter/i)?r.next:r.current,n=e.byNamespace.get(i.namespace);return n&&n[t]?G(n[t],n)(r):Promise.resolve()}},t}();Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null});var lt={container:null,html:"",namespace:"",url:{hash:"",href:"",path:"",port:null,query:{}}};return new(function(){function t(){this.version=h,this.schemaPage=lt,this.Logger=p,this.logger=new p("@barba/core"),this.plugins=[],this.hooks=H,this.dom=L,this.helpers=O,this.history=D,this.request=z,this.url=q}var i=t.prototype;return i.use=function(t,e){var r=this.plugins;r.indexOf(t)>-1?this.logger.warn("Plugin ["+t.name+"] already installed."):"function"==typeof t.install?(t.install(this,e),r.push(t)):this.logger.warn("Plugin ["+t.name+'] has no "install" method.')},i.init=function(t){var e=void 0===t?{}:t,i=e.transitions,n=void 0===i?[]:i,a=e.views,s=void 0===a?[]:a,o=e.schema,l=void 0===o?k:o,c=e.requestError,h=e.timeout,u=void 0===h?2e3:h,d=e.cacheIgnore,f=void 0!==d&&d,m=e.prefetchIgnore,g=void 0!==m&&m,v=e.preventRunning,y=void 0!==v&&v,b=e.prevent,_=void 0===b?null:b,E=e.debug,S=e.logLevel;if(p.setLevel(!0===(void 0!==E&&E)?"debug":void 0===S?"off":S),this.logger.info(this.version),Object.keys(l).forEach((function(t){k[t]&&(k[t]=l[t])})),this.$=c,this.timeout=u,this.cacheIgnore=f,this.prefetchIgnore=g,this.preventRunning=y,this._=this.dom.getWrapper(),!this._)throw new Error("[@barba/core] No Barba wrapper found");this._.setAttribute("aria-live","polite"),this.q();var x=this.data.current;if(!x.container)throw new Error("[@barba/core] No Barba container found");if(this.cache=new $(f),this.prevent=new it(g),this.transitions=new st(n),this.views=new ot(s),null!==_){if("function"!=typeof _)throw new Error("[@barba/core] Prevent should be a function");this.prevent.add("preventCustom",_)}this.history.init(x.url.href,x.namespace),this.B=this.B.bind(this),this.U=this.U.bind(this),this.D=this.D.bind(this),this.F(),this.plugins.forEach((function(t){return t.init()}));var w=this.data;w.trigger="barba",w.next=w.current,w.current=r({},this.schemaPage),this.hooks.do("ready",w),this.once(w),this.q()},i.destroy=function(){this.q(),this.H(),this.history.clear(),this.hooks.clear(),this.plugins=[]},i.force=function(t){window.location.assign(t)},i.go=function(t,e,r){var i;if(void 0===e&&(e="barba"),this.transitions.isRunning)this.force(t);else if(!(i="popstate"===e?this.history.current&&this.url.getPath(this.history.current.url)===this.url.getPath(t):this.prevent.run("sameUrl",null,null,t))||this.transitions.hasSelf)return e=this.history.change(t,e,r),r&&(r.stopPropagation(),r.preventDefault()),this.page(t,e,i)},i.once=function(t){try{var e=this;return Promise.resolve(e.hooks.do("beforeEnter",t)).then((function(){function r(){return Promise.resolve(e.hooks.do("afterEnter",t)).then((function(){}))}var i=function(){if(e.transitions.hasOnce){var r=e.transitions.get(t,{once:!0});return Promise.resolve(e.transitions.doOnce({transition:r,data:t})).then((function(){}))}}();return i&&i.then?i.then(r):r()}))}catch(t){return Promise.reject(t)}},i.page=function(t,e,i){try{var n=function(){var t=a.data;return Promise.resolve(a.hooks.do("page",t)).then((function(){var e=l((function(){var e=a.transitions.get(t,{once:!1,self:i});return Promise.resolve(a.transitions.doPage({data:t,page:s,transition:e,wrapper:a._})).then((function(){a.q()}))}),(function(){0===p.getLevel()&&a.force(t.current.url.href)}));if(e&&e.then)return e.then((function(){}))}))},a=this;a.data.next.url=r({href:t},a.url.parse(t)),a.data.trigger=e;var s=a.cache.has(t)?a.cache.update(t,{action:"click"}).request:a.cache.set(t,a.request(t,a.timeout,a.onRequestError.bind(a,e)),"click").request,o=function(){if(a.transitions.shouldWait)return Promise.resolve(I(s,a.data)).then((function(){}))}();return Promise.resolve(o&&o.then?o.then(n):n())}catch(t){return Promise.reject(t)}},i.onRequestError=function(t){this.transitions.isRunning=!1;for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];var n=r[0],a=r[1],s=this.cache.getAction(n);return this.cache.delete(n),!(this.$&&!1===this.$(t,s,n,a)||("click"===s&&this.force(n),1))},i.prefetch=function(t){var e=this;this.cache.has(t)||this.cache.set(t,this.request(t,this.timeout,this.onRequestError.bind(this,"barba")).catch((function(t){e.logger.error(t)})),"prefetch")},i.F=function(){!0!==this.prefetchIgnore&&(document.addEventListener("mouseover",this.B),document.addEventListener("touchstart",this.B)),document.addEventListener("click",this.U),window.addEventListener("popstate",this.D)},i.H=function(){!0!==this.prefetchIgnore&&(document.removeEventListener("mouseover",this.B),document.removeEventListener("touchstart",this.B)),document.removeEventListener("click",this.U),window.removeEventListener("popstate",this.D)},i.B=function(t){var e=this,r=this.I(t);if(r){var i=this.dom.getHref(r);this.prevent.checkHref(i)||this.cache.has(i)||this.cache.set(i,this.request(i,this.timeout,this.onRequestError.bind(this,r)).catch((function(t){e.logger.error(t)})),"enter")}},i.U=function(t){var e=this.I(t);if(e)return this.transitions.isRunning&&this.preventRunning?(t.preventDefault(),void t.stopPropagation()):void this.go(this.dom.getHref(e),e,t)},i.D=function(t){this.go(this.url.getHref(),"popstate",t)},i.I=function(t){for(var e=t.target;e&&!this.dom.getHref(e);)e=e.parentNode;if(e&&!this.prevent.checkLink(e,t,this.dom.getHref(e)))return e},i.q=function(){var t=this.url.getHref(),e={container:this.dom.getContainer(),html:this.dom.getHtml(),namespace:this.dom.getNamespace(),url:r({href:t},this.url.parse(t))};this.C={current:e,next:r({},this.schemaPage),trigger:void 0},this.hooks.do("reset",this.data)},e(t,[{key:"data",get:function(){return this.C}},{key:"wrapper",get:function(){return this._}}]),t}())}()},40:function(t){var e,r;t.exports=(e="2.1.10",r=window.requestIdleCallback||function(t){var e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)},new(function(){function t(){this.name="@barba/prefetch",this.version=e,this.toPrefetch=new Set}var i=t.prototype;return i.install=function(t,e){var r=void 0===e?{}:e,i=r.root,n=void 0===i?document.body:i,a=r.timeout,s=void 0===a?2e3:a;this.logger=new t.Logger(this.name),this.logger.info(this.version),this.barba=t,this.root=n,this.timeout=s},i.init=function(){var t=this;this.barba.prefetchIgnore?this.logger.warn("barba.prefetchIgnore is enabled"):this.barba.cacheIgnore?this.logger.warn("barba.cacheIgnore is enabled"):(this.observer=new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var r=e.target,i=t.barba.dom.getHref(r);t.toPrefetch.has(i)&&(t.observer.unobserve(r),t.barba.cache.has(i)?t.barba.cache.update(i,{action:"prefetch"}):t.barba.cache.set(i,t.barba.request(i,t.barba.timeout,t.barba.onRequestError.bind(t.barba,"barba")).catch((function(e){t.logger.error(e)})),"prefetch"))}}))})),this.observe(),this.barba.hooks.after(this.observe,this))},i.observe=function(){var t=this;r((function(){t.root.querySelectorAll("a").forEach((function(e){var r=e,i=t.barba.dom.getHref(r);t.barba.cache.has(i)||t.barba.prevent.checkHref(i)||t.barba.prevent.checkLink(r,{},i)||(t.observer.observe(e),t.toPrefetch.add(i))}))}),{timeout:this.timeout})},t}()))},886:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";function _asyncIterator(t){var e,r,i,n=2;for("undefined"!=typeof Symbol&&(r=Symbol.asyncIterator,i=Symbol.iterator);n--;){if(r&&null!=(e=t[r]))return e.call(t);if(i&&null!=(e=t[i]))return new AsyncFromSyncIterator(e.call(t));r="@@asyncIterator",i="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return AsyncFromSyncIterator=function(t){this.s=t,this.n=t.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var r=this.s.return;return void 0===r?Promise.resolve({value:t,done:!0}):e(r.apply(this.s,arguments))},throw:function(t){var r=this.s.return;return void 0===r?Promise.reject(t):e(r.apply(this.s,arguments))}},new AsyncFromSyncIterator(t)}var REACT_ELEMENT_TYPE;function _jsx(t,e,r,i){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var n=t&&t.defaultProps,a=arguments.length-3;if(e||0===a||(e={children:void 0}),1===a)e.children=i;else if(a>1){for(var s=new Array(a),o=0;o<a;o++)s[o]=arguments[o+3];e.children=s}if(e&&n)for(var l in n)void 0===e[l]&&(e[l]=n[l]);else e||(e=n||{});return{$$typeof:REACT_ELEMENT_TYPE,type:t,key:void 0===r?null:""+r,ref:null,props:e,_owner:null}}function ownKeys(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function _objectSpread2(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?ownKeys(Object(r),!0).forEach((function(e){_defineProperty(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}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},_typeof(t)}function _wrapRegExp(){_wrapRegExp=function(t,e){return new r(t,void 0,e)};var t=RegExp.prototype,e=new WeakMap;function r(t,i,n){var a=new RegExp(t,i);return e.set(a,n||e.get(t)),_setPrototypeOf(a,r.prototype)}function i(t,r){var i=e.get(r);return Object.keys(i).reduce((function(e,r){return e[r]=t[i[r]],e}),Object.create(null))}return _inherits(r,RegExp),r.prototype.exec=function(e){var r=t.exec.call(this,e);return r&&(r.groups=i(r,this)),r},r.prototype[Symbol.replace]=function(r,n){if("string"==typeof n){var a=e.get(this);return t[Symbol.replace].call(this,r,n.replace(/\$<([^>]+)>/g,(function(t,e){return"$"+a[e]})))}if("function"==typeof n){var s=this;return t[Symbol.replace].call(this,r,(function(){var t=arguments;return"object"!=typeof t[t.length-1]&&(t=[].slice.call(t)).push(i(t,s)),n.apply(this,t)}))}return t[Symbol.replace].call(this,r,n)},_wrapRegExp.apply(this,arguments)}function _AwaitValue(t){this.wrapped=t}function _AsyncGenerator(t){var e,r;function i(e,r){try{var a=t[e](r),s=a.value,o=s instanceof _AwaitValue;Promise.resolve(o?s.wrapped:s).then((function(t){o?i("return"===e?"return":"next",t):n(a.done?"return":"normal",t)}),(function(t){i("throw",t)}))}catch(t){n("throw",t)}}function n(t,n){switch(t){case"return":e.resolve({value:n,done:!0});break;case"throw":e.reject(n);break;default:e.resolve({value:n,done:!1})}(e=e.next)?i(e.key,e.arg):r=null}this._invoke=function(t,n){return new Promise((function(a,s){var o={key:t,arg:n,resolve:a,reject:s,next:null};r?r=r.next=o:(e=r=o,i(t,n))}))},"function"!=typeof t.return&&(this.return=void 0)}function _wrapAsyncGenerator(t){return function(){return new _AsyncGenerator(t.apply(this,arguments))}}function _awaitAsyncGenerator(t){return new _AwaitValue(t)}function _asyncGeneratorDelegate(t,e){var r={},i=!1;function n(r,n){return i=!0,n=new Promise((function(e){e(t[r](n))})),{done:!1,value:e(n)}}return r["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},r.next=function(t){return i?(i=!1,t):n("next",t)},"function"==typeof t.throw&&(r.throw=function(t){if(i)throw i=!1,t;return n("throw",t)}),"function"==typeof t.return&&(r.return=function(t){return i?(i=!1,t):n("return",t)}),r}function asyncGeneratorStep(t,e,r,i,n,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(i,n)}function _asyncToGenerator(t){return function(){var e=this,r=arguments;return new Promise((function(i,n){var a=t.apply(e,r);function s(t){asyncGeneratorStep(a,i,n,s,o,"next",t)}function o(t){asyncGeneratorStep(a,i,n,s,o,"throw",t)}s(void 0)}))}}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function _createClass(t,e,r){return e&&_defineProperties(t.prototype,e),r&&_defineProperties(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function _defineEnumerableProperties(t,e){for(var r in e)(a=e[r]).configurable=a.enumerable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,r,a);if(Object.getOwnPropertySymbols)for(var i=Object.getOwnPropertySymbols(e),n=0;n<i.length;n++){var a,s=i[n];(a=e[s]).configurable=a.enumerable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,s,a)}return t}function _defaults(t,e){for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var n=r[i],a=Object.getOwnPropertyDescriptor(e,n);a&&a.configurable&&void 0===t[n]&&Object.defineProperty(t,n,a)}return t}function _defineProperty(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function _extends(){return _extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},_extends.apply(this,arguments)}function _objectSpread(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?Object(arguments[e]):{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&i.push.apply(i,Object.getOwnPropertySymbols(r).filter((function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),i.forEach((function(e){_defineProperty(t,e,r[e])}))}return t}function _inherits(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}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,_setPrototypeOf(t,e)}function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}function _construct(t,e,r){return _construct=_isNativeReflectConstruct()?Reflect.construct:function(t,e,r){var i=[null];i.push.apply(i,e);var n=new(Function.bind.apply(t,i));return r&&_setPrototypeOf(n,r.prototype),n},_construct.apply(null,arguments)}function _isNativeFunction(t){return-1!==Function.toString.call(t).indexOf("[native code]")}function _wrapNativeSuper(t){var e="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!_isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return _construct(t,arguments,_getPrototypeOf(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(r,t)},_wrapNativeSuper(t)}function _instanceof(t,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function _interopRequireDefault(t){return t&&t.__esModule?t:{default:t}}function _getRequireWildcardCache(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,r=new WeakMap;return(_getRequireWildcardCache=function(t){return t?r:e})(t)}function _interopRequireWildcard(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var r=_getRequireWildcardCache(e);if(r&&r.has(t))return r.get(t);var i={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var s=n?Object.getOwnPropertyDescriptor(t,a):null;s&&(s.get||s.set)?Object.defineProperty(i,a,s):i[a]=t[a]}return i.default=t,r&&r.set(t,i),i}function _newArrowCheck(t,e){if(t!==e)throw new TypeError("Cannot instantiate an arrow function")}function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure undefined")}function _objectWithoutPropertiesLoose(t,e){if(null==t)return{};var r,i,n={},a=Object.keys(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||(n[r]=t[r]);return n}function _objectWithoutProperties(t,e){if(null==t)return{};var r,i,n=_objectWithoutPropertiesLoose(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _createSuper(t){var e=_isNativeReflectConstruct();return function(){var r,i=_getPrototypeOf(t);if(e){var n=_getPrototypeOf(this).constructor;r=Reflect.construct(i,arguments,n)}else r=i.apply(this,arguments);return _possibleConstructorReturn(this,r)}}function _superPropBase(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_getPrototypeOf(t)););return t}function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,r){var i=_superPropBase(t,e);if(i){var n=Object.getOwnPropertyDescriptor(i,e);return n.get?n.get.call(arguments.length<3?t:r):n.value}},_get.apply(this,arguments)}function set(t,e,r,i){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(t,e,r,i){var n,a=_superPropBase(t,e);if(a){if((n=Object.getOwnPropertyDescriptor(a,e)).set)return n.set.call(i,r),!0;if(!n.writable)return!1}if(n=Object.getOwnPropertyDescriptor(i,e)){if(!n.writable)return!1;n.value=r,Object.defineProperty(i,e,n)}else _defineProperty(i,e,r);return!0},set(t,e,r,i)}function _set(t,e,r,i,n){if(!set(t,e,r,i||t)&&n)throw new Error("failed to set property");return r}function _taggedTemplateLiteral(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}function _taggedTemplateLiteralLoose(t,e){return e||(e=t.slice(0)),t.raw=e,t}function _readOnlyError(t){throw new TypeError('"'+t+'" is read-only')}function _writeOnlyError(t){throw new TypeError('"'+t+'" is write-only')}function _classNameTDZError(t){throw new Error('Class "'+t+'" cannot be referenced in computed property keys.')}function _temporalUndefined(){}function _tdz(t){throw new ReferenceError(t+" is not defined - temporal dead zone")}function _temporalRef(t,e){return t===_temporalUndefined?_tdz(e):t}function _slicedToArray(t,e){return _arrayWithHoles(t)||_iterableToArrayLimit(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _slicedToArrayLoose(t,e){return _arrayWithHoles(t)||_iterableToArrayLimitLoose(t,e)||_unsupportedIterableToArray(t,e)||_nonIterableRest()}function _toArray(t){return _arrayWithHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableRest()}function _toConsumableArray(t){return _arrayWithoutHoles(t)||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableSpread()}function _arrayWithoutHoles(t){if(Array.isArray(t))return _arrayLikeToArray(t)}function _arrayWithHoles(t){if(Array.isArray(t))return t}function _maybeArrayLike(t,e,r){if(e&&!Array.isArray(e)&&"number"==typeof e.length){var i=e.length;return _arrayLikeToArray(e,void 0!==r&&r<i?r:i)}return t(e,r)}function _iterableToArray(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function _iterableToArrayLimit(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a=[],s=!0,o=!1;try{for(r=r.call(t);!(s=(i=r.next()).done)&&(a.push(i.value),!e||a.length!==e);s=!0);}catch(t){o=!0,n=t}finally{try{s||null==r.return||r.return()}finally{if(o)throw n}}return a}}function _iterableToArrayLimitLoose(t,e){var r=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null!=r){var i=[];for(r=r.call(t),_step;!(_step=r.next()).done&&(i.push(_step.value),!e||i.length!==e););return i}}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _createForOfIteratorHelper(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){o=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}function _createForOfIteratorHelperLoose(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0;return function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _skipFirstGeneratorNext(t){return function(){var e=t.apply(this,arguments);return e.next(),e}}function _toPrimitive(t,e){if("object"!=typeof t||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:String(e)}function _initializerWarningHelper(t,e){throw new Error("Decorating class property failed. Please ensure that proposal-class-properties is enabled and runs after the decorators transform.")}function _initializerDefineProperty(t,e,r,i){r&&Object.defineProperty(t,e,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(i):void 0})}function _applyDecoratedDescriptor(t,e,r,i,n){var a={};return Object.keys(i).forEach((function(t){a[t]=i[t]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,i){return i(t,e,r)||r}),a),n&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(n):void 0,a.initializer=void 0),void 0===a.initializer&&(Object.defineProperty(t,e,a),a=null),a}_AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},_AsyncGenerator.prototype.next=function(t){return this._invoke("next",t)},_AsyncGenerator.prototype.throw=function(t){return this._invoke("throw",t)},_AsyncGenerator.prototype.return=function(t){return this._invoke("return",t)};var id=0;function _classPrivateFieldLooseKey(t){return"__private_"+id+++"_"+t}function _classPrivateFieldLooseBase(t,e){if(!Object.prototype.hasOwnProperty.call(t,e))throw new TypeError("attempted to use private field on non-instance");return t}function _classPrivateFieldGet(t,e){return _classApplyDescriptorGet(t,_classExtractFieldDescriptor(t,e,"get"))}function _classPrivateFieldSet(t,e,r){return _classApplyDescriptorSet(t,_classExtractFieldDescriptor(t,e,"set"),r),r}function _classPrivateFieldDestructureSet(t,e){return _classApplyDescriptorDestructureSet(t,_classExtractFieldDescriptor(t,e,"set"))}function _classExtractFieldDescriptor(t,e,r){if(!e.has(t))throw new TypeError("attempted to "+r+" private field on non-instance");return e.get(t)}function _classStaticPrivateFieldSpecGet(t,e,r){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"get"),_classApplyDescriptorGet(t,r)}function _classStaticPrivateFieldSpecSet(t,e,r,i){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorSet(t,r,i),i}function _classStaticPrivateMethodGet(t,e,r){return _classCheckPrivateStaticAccess(t,e),r}function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}function _classApplyDescriptorGet(t,e){return e.get?e.get.call(t):e.value}function _classApplyDescriptorSet(t,e,r){if(e.set)e.set.call(t,r);else{if(!e.writable)throw new TypeError("attempted to set read only private field");e.value=r}}function _classApplyDescriptorDestructureSet(t,e){if(e.set)return"__destrObj"in e||(e.__destrObj={set value(r){e.set.call(t,r)}}),e.__destrObj;if(!e.writable)throw new TypeError("attempted to set read only private field");return e}function _classStaticPrivateFieldDestructureSet(t,e,r){return _classCheckPrivateStaticAccess(t,e),_classCheckPrivateStaticFieldDescriptor(r,"set"),_classApplyDescriptorDestructureSet(t,r)}function _classCheckPrivateStaticAccess(t,e){if(t!==e)throw new TypeError("Private static access of wrong provenance")}function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}function _decorate(t,e,r,i){var n=_getDecoratorsApi();if(i)for(var a=0;a<i.length;a++)n=i[a](n);var s=e((function(t){n.initializeInstanceElements(t,o.elements)}),r),o=n.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),t);return n.initializeClassElements(s.F,o.elements),n.runClassFinishers(s.F,o.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return t};var t={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(t,e){["method","field"].forEach((function(r){e.forEach((function(e){e.kind===r&&"own"===e.placement&&this.defineClassElement(t,e)}),this)}),this)},initializeClassElements:function(t,e){var r=t.prototype;["method","field"].forEach((function(i){e.forEach((function(e){var n=e.placement;if(e.kind===i&&("static"===n||"prototype"===n)){var a="static"===n?t:r;this.defineClassElement(a,e)}}),this)}),this)},defineClassElement:function(t,e){var r=e.descriptor;if("field"===e.kind){var i=e.initializer;r={enumerable:r.enumerable,writable:r.writable,configurable:r.configurable,value:void 0===i?void 0:i.call(t)}}Object.defineProperty(t,e.key,r)},decorateClass:function(t,e){var r=[],i=[],n={static:[],prototype:[],own:[]};if(t.forEach((function(t){this.addElementPlacement(t,n)}),this),t.forEach((function(t){if(!_hasDecorators(t))return r.push(t);var e=this.decorateElement(t,n);r.push(e.element),r.push.apply(r,e.extras),i.push.apply(i,e.finishers)}),this),!e)return{elements:r,finishers:i};var a=this.decorateConstructor(r,e);return i.push.apply(i,a.finishers),a.finishers=i,a},addElementPlacement:function(t,e,r){var i=e[t.placement];if(!r&&-1!==i.indexOf(t.key))throw new TypeError("Duplicated element ("+t.key+")");i.push(t.key)},decorateElement:function(t,e){for(var r=[],i=[],n=t.decorators,a=n.length-1;a>=0;a--){var s=e[t.placement];s.splice(s.indexOf(t.key),1);var o=this.fromElementDescriptor(t),l=this.toElementFinisherExtras((0,n[a])(o)||o);t=l.element,this.addElementPlacement(t,e),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var h=0;h<c.length;h++)this.addElementPlacement(c[h],e);r.push.apply(r,c)}}return{element:t,finishers:i,extras:r}},decorateConstructor:function(t,e){for(var r=[],i=e.length-1;i>=0;i--){var n=this.fromClassDescriptor(t),a=this.toClassDescriptor((0,e[i])(n)||n);if(void 0!==a.finisher&&r.push(a.finisher),void 0!==a.elements){t=a.elements;for(var s=0;s<t.length-1;s++)for(var o=s+1;o<t.length;o++)if(t[s].key===t[o].key&&t[s].placement===t[o].placement)throw new TypeError("Duplicated element ("+t[s].key+")")}}return{elements:t,finishers:r}},fromElementDescriptor:function(t){var e={kind:t.kind,key:t.key,placement:t.placement,descriptor:t.descriptor};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===t.kind&&(e.initializer=t.initializer),e},toElementDescriptors:function(t){if(void 0!==t)return _toArray(t).map((function(t){var e=this.toElementDescriptor(t);return this.disallowProperty(t,"finisher","An element descriptor"),this.disallowProperty(t,"extras","An element descriptor"),e}),this)},toElementDescriptor:function(t){var e=String(t.kind);if("method"!==e&&"field"!==e)throw new TypeError('An element descriptor\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+e+'"');var r=_toPropertyKey(t.key),i=String(t.placement);if("static"!==i&&"prototype"!==i&&"own"!==i)throw new TypeError('An element descriptor\'s .placement property must be one of "static", "prototype" or "own", but a decorator created an element descriptor with .placement "'+i+'"');var n=t.descriptor;this.disallowProperty(t,"elements","An element descriptor");var a={kind:e,key:r,placement:i,descriptor:Object.assign({},n)};return"field"!==e?this.disallowProperty(t,"initializer","A method descriptor"):(this.disallowProperty(n,"get","The property descriptor of a field descriptor"),this.disallowProperty(n,"set","The property descriptor of a field descriptor"),this.disallowProperty(n,"value","The property descriptor of a field descriptor"),a.initializer=t.initializer),a},toElementFinisherExtras:function(t){return{element:this.toElementDescriptor(t),finisher:_optionalCallableProperty(t,"finisher"),extras:this.toElementDescriptors(t.extras)}},fromClassDescriptor:function(t){var e={kind:"class",elements:t.map(this.fromElementDescriptor,this)};return Object.defineProperty(e,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),e},toClassDescriptor:function(t){var e=String(t.kind);if("class"!==e)throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+e+'"');this.disallowProperty(t,"key","A class descriptor"),this.disallowProperty(t,"placement","A class descriptor"),this.disallowProperty(t,"descriptor","A class descriptor"),this.disallowProperty(t,"initializer","A class descriptor"),this.disallowProperty(t,"extras","A class descriptor");var r=_optionalCallableProperty(t,"finisher");return{elements:this.toElementDescriptors(t.elements),finisher:r}},runClassFinishers:function(t,e){for(var r=0;r<e.length;r++){var i=(0,e[r])(t);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");t=i}}return t},disallowProperty:function(t,e,r){if(void 0!==t[e])throw new TypeError(r+" can't have a ."+e+" property.")}};return t}function _createElementDescriptor(t){var e,r=_toPropertyKey(t.key);"method"===t.kind?e={value:t.value,writable:!0,configurable:!0,enumerable:!1}:"get"===t.kind?e={get:t.value,configurable:!0,enumerable:!1}:"set"===t.kind?e={set:t.value,configurable:!0,enumerable:!1}:"field"===t.kind&&(e={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===t.kind?"field":"method",key:r,placement:t.static?"static":"field"===t.kind?"own":"prototype",descriptor:e};return t.decorators&&(i.decorators=t.decorators),"field"===t.kind&&(i.initializer=t.value),i}function _coalesceGetterSetter(t,e){void 0!==t.descriptor.get?e.descriptor.get=t.descriptor.get:e.descriptor.set=t.descriptor.set}function _coalesceClassElements(t){for(var e=[],r=function(t){return"method"===t.kind&&t.key===a.key&&t.placement===a.placement},i=0;i<t.length;i++){var n,a=t[i];if("method"===a.kind&&(n=e.find(r)))if(_isDataDescriptor(a.descriptor)||_isDataDescriptor(n.descriptor)){if(_hasDecorators(a)||_hasDecorators(n))throw new ReferenceError("Duplicated methods ("+a.key+") can't be decorated.");n.descriptor=a.descriptor}else{if(_hasDecorators(a)){if(_hasDecorators(n))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+a.key+").");n.decorators=a.decorators}_coalesceGetterSetter(a,n)}else e.push(a)}return e}function _hasDecorators(t){return t.decorators&&t.decorators.length}function _isDataDescriptor(t){return void 0!==t&&!(void 0===t.value&&void 0===t.writable)}function _optionalCallableProperty(t,e){var r=t[e];if(void 0!==r&&"function"!=typeof r)throw new TypeError("Expected '"+e+"' to be a function");return r}function _classPrivateMethodGet(t,e,r){if(!e.has(t))throw new TypeError("attempted to get private field on non-instance");return r}function _checkPrivateRedeclaration(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldInitSpec(t,e,r){_checkPrivateRedeclaration(t,e),e.set(t,r)}function _classPrivateMethodInitSpec(t,e){_checkPrivateRedeclaration(t,e),e.add(t)}function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}var _extendStatics=function(t,e){return _extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},_extendStatics(t,e)};function __extends(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}_extendStatics(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var _assign=function(){return _assign=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++)for(var n in e=arguments[r])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t},_assign.apply(this,arguments)};function __rest(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(i=Object.getOwnPropertySymbols(t);n<i.length;n++)e.indexOf(i[n])<0&&Object.prototype.propertyIsEnumerable.call(t,i[n])&&(r[i[n]]=t[i[n]])}return r}function __decorate(t,e,r,i){var n,a=arguments.length,s=a<3?e:null===i?i=Object.getOwnPropertyDescriptor(e,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;o>=0;o--)(n=t[o])&&(s=(a<3?n(s):a>3?n(e,r,s):n(e,r))||s);return a>3&&s&&Object.defineProperty(e,r,s),s}function __param(t,e){return function(r,i){e(r,i,t)}}function __metadata(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function __awaiter(t,e,r,i){return new(r||(r=Promise))((function(n,a){function s(t){try{l(i.next(t))}catch(t){a(t)}}function o(t){try{l(i.throw(t))}catch(t){a(t)}}function l(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,o)}l((i=i.apply(t,e||[])).next())}))}function __generator(t,e){var r,i,n,a,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[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,i&&(n=2&a[0]?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[2&a[0],n.value]),a[0]){case 0:case 1:n=a;break;case 4:return s.label++,{value:a[1],done:!1};case 5:s.label++,i=a[1],a=[0];continue;case 7:a=s.ops.pop(),s.trys.pop();continue;default:if(!((n=(n=s.trys).length>0&&n[n.length-1])||6!==a[0]&&2!==a[0])){s=0;continue}if(3===a[0]&&(!n||a[1]>n[0]&&a[1]<n[3])){s.label=a[1];break}if(6===a[0]&&s.label<n[1]){s.label=n[1],n=a;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(a);break}n[2]&&s.ops.pop(),s.trys.pop();continue}a=e.call(t,s)}catch(t){a=[6,t],i=0}finally{r=n=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,o])}}}var __createBinding=Object.create?function(t,e,r,i){void 0===i&&(i=r),Object.defineProperty(t,i,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,i){void 0===i&&(i=r),t[i]=e[r]};function __exportStar(t,e){for(var r in t)"default"===r||Object.prototype.hasOwnProperty.call(e,r)||__createBinding(e,t,r)}function __values(t){var e="function"==typeof Symbol&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],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 i,n,a=r.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=a.next()).done;)s.push(i.value)}catch(t){n={error:t}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return s}function __spread(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(__read(arguments[e]));return t}function __spreadArrays(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;var i=Array(t),n=0;for(e=0;e<r;e++)for(var a=arguments[e],s=0,o=a.length;s<o;s++,n++)i[n]=a[s];return i}function __spreadArray(t,e,r){if(r||2===arguments.length)for(var i,n=0,a=e.length;n<a;n++)!i&&n in e||(i||(i=Array.prototype.slice.call(e,0,n)),i[n]=e[n]);return t.concat(i||Array.prototype.slice.call(e))}function __await(t){return this instanceof __await?(this.v=t,this):new __await(t)}function __asyncGenerator(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,n=r.apply(t,e||[]),a=[];return i={},s("next"),s("throw"),s("return"),i[Symbol.asyncIterator]=function(){return this},i;function s(t){n[t]&&(i[t]=function(e){return new Promise((function(r,i){a.push([t,e,r,i])>1||o(t,e)}))})}function o(t,e){try{!function(t){t.value instanceof __await?Promise.resolve(t.value.v).then(l,c):h(a[0][2],t)}(n[t](e))}catch(t){h(a[0][3],t)}}function l(t){o("next",t)}function c(t){o("throw",t)}function h(t,e){t(e),a.shift(),a.length&&o(a[0][0],a[0][1])}}function __asyncDelegator(t){var e,r;return e={},i("next"),i("throw",(function(t){throw t})),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,n){e[i]=t[i]?function(e){return(r=!r)?{value:__await(t[i](e)),done:"return"===i}:n?n(e):e}:n}}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={},i("next"),i("throw"),i("return"),e[Symbol.asyncIterator]=function(){return this},e);function i(r){e[r]=t[r]&&function(e){return new Promise((function(i,n){!function(t,e,r,i){Promise.resolve(i).then((function(e){t({value:e,done:r})}),e)}(i,n,(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,i){if("a"===r&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof e?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?i:"a"===r?i.call(t):i?i.value:e.get(t)}function __classPrivateFieldSet(t,e,r,i,n){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!n)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof e?t!==e||!n:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?n.call(t,r):n?n.value=r:e.set(t,r),r}var t$3=window.ShadowRoot&&(void 0===window.ShadyCSS||window.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,e$8=Symbol(),n$5=new Map;class s$3{constructor(t,e){if(this._$cssResult$=!0,e!==e$8)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t}get styleSheet(){var t=n$5.get(this.cssText);return t$3&&void 0===t&&(n$5.set(this.cssText,t=new CSSStyleSheet),t.replaceSync(this.cssText)),t}toString(){return this.cssText}}var o$5=t=>new s$3("string"==typeof t?t:t+"",e$8),r$3=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[i-1]=arguments[i];var n=1===t.length?t[0]:r.reduce(((e,r,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[i+1]),t[0]);return new s$3(n,e$8)},i$3=(t,e)=>{t$3?t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet)):e.forEach((e=>{var r=document.createElement("style"),i=window.litNonce;void 0!==i&&r.setAttribute("nonce",i),r.textContent=e.cssText,t.appendChild(r)}))},S$1=t$3?t=>t:t=>t instanceof CSSStyleSheet?(t=>{var e="";for(var r of t.cssRules)e+=r.cssText;return o$5(e)})(t):t,s$2,e$7=window.trustedTypes,r$2=e$7?e$7.emptyScript:"",h$2=window.reactiveElementPolyfillSupport,o$4={toAttribute(t,e){switch(e){case Boolean:t=t?r$2:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){var r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},n$4=(t,e)=>e!==t&&(e==e||t==t),l$3={attribute:!0,type:String,converter:o$4,reflect:!1,hasChanged:n$4},t$2;class a$1 extends HTMLElement{constructor(){super(),this._$Et=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Ei=null,this.o()}static addInitializer(t){var e;null!==(e=this.l)&&void 0!==e||(this.l=[]),this.l.push(t)}static get observedAttributes(){this.finalize();var t=[];return this.elementProperties.forEach(((e,r)=>{var i=this._$Eh(r,e);void 0!==i&&(this._$Eu.set(i,r),t.push(i))})),t}static createProperty(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l$3;if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){var r="symbol"==typeof t?Symbol():"__"+t,i=this.getPropertyDescriptor(t,r,e);void 0!==i&&Object.defineProperty(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){return{get(){return this[e]},set(i){var n=this[t];this[e]=i,this.requestUpdate(t,n,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||l$3}static finalize(){if(this.hasOwnProperty("finalized"))return!1;this.finalized=!0;var t=Object.getPrototypeOf(this);if(t.finalize(),this.elementProperties=new Map(t.elementProperties),this._$Eu=new Map,this.hasOwnProperty("properties")){var e=this.properties,r=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(var i of r)this.createProperty(i,e[i])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){var e=[];if(Array.isArray(t)){var r=new Set(t.flat(1/0).reverse());for(var i of r)e.unshift(S$1(i))}else void 0!==t&&e.push(S$1(t));return e}static _$Eh(t,e){var r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}o(){var t;this._$Ep=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$Em(),this.requestUpdate(),null===(t=this.constructor.l)||void 0===t||t.forEach((t=>t(this)))}addController(t){var e,r;(null!==(e=this._$Eg)&&void 0!==e?e:this._$Eg=[]).push(t),void 0!==this.renderRoot&&this.isConnected&&(null===(r=t.hostConnected)||void 0===r||r.call(t))}removeController(t){var e;null===(e=this._$Eg)||void 0===e||e.splice(this._$Eg.indexOf(t)>>>0,1)}_$Em(){this.constructor.elementProperties.forEach(((t,e)=>{this.hasOwnProperty(e)&&(this._$Et.set(e,this[e]),delete this[e])}))}createRenderRoot(){var t,e=null!==(t=this.shadowRoot)&&void 0!==t?t:this.attachShadow(this.constructor.shadowRootOptions);return i$3(e,this.constructor.elementStyles),e}connectedCallback(){var t;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostConnected)||void 0===e?void 0:e.call(t)}))}enableUpdating(t){}disconnectedCallback(){var t;null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostDisconnected)||void 0===e?void 0:e.call(t)}))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$ES(t,e){var r,i,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l$3,a=this.constructor._$Eh(t,n);if(void 0!==a&&!0===n.reflect){var s=(null!==(i=null===(r=n.converter)||void 0===r?void 0:r.toAttribute)&&void 0!==i?i:o$4.toAttribute)(e,n.type);this._$Ei=t,null==s?this.removeAttribute(a):this.setAttribute(a,s),this._$Ei=null}}_$AK(t,e){var r,i,n,a=this.constructor,s=a._$Eu.get(t);if(void 0!==s&&this._$Ei!==s){var o=a.getPropertyOptions(s),l=o.converter,c=null!==(n=null!==(i=null===(r=l)||void 0===r?void 0:r.fromAttribute)&&void 0!==i?i:"function"==typeof l?l:null)&&void 0!==n?n:o$4.fromAttribute;this._$Ei=s,this[s]=c(e,o.type),this._$Ei=null}}requestUpdate(t,e,r){var i=!0;void 0!==t&&(((r=r||this.constructor.getPropertyOptions(t)).hasChanged||n$4)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Ei!==t&&(void 0===this._$E_&&(this._$E_=new Map),this._$E_.set(t,r))):i=!1),!this.isUpdatePending&&i&&(this._$Ep=this._$EC())}_$EC(){var t=this;return _asyncToGenerator((function*(){t.isUpdatePending=!0;try{yield t._$Ep}catch(e){Promise.reject(e)}var e=t.scheduleUpdate();return null!=e&&(yield e),!t.isUpdatePending}))()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(this.isUpdatePending){this.hasUpdated,this._$Et&&(this._$Et.forEach(((t,e)=>this[e]=t)),this._$Et=void 0);var e=!1,r=this._$AL;try{(e=this.shouldUpdate(r))?(this.willUpdate(r),null===(t=this._$Eg)||void 0===t||t.forEach((t=>{var e;return null===(e=t.hostUpdate)||void 0===e?void 0:e.call(t)})),this.update(r)):this._$EU()}catch(t){throw e=!1,this._$EU(),t}e&&this._$AE(r)}}willUpdate(t){}_$AE(t){var e;null===(e=this._$Eg)||void 0===e||e.forEach((t=>{var e;return null===(e=t.hostUpdated)||void 0===e?void 0:e.call(t)})),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$Ep}shouldUpdate(t){return!0}update(t){void 0!==this._$E_&&(this._$E_.forEach(((t,e)=>this._$ES(e,this[e],t))),this._$E_=void 0),this._$EU()}updated(t){}firstUpdated(t){}}a$1.finalized=!0,a$1.elementProperties=new Map,a$1.elementStyles=[],a$1.shadowRootOptions={mode:"open"},null==h$2||h$2({ReactiveElement:a$1}),(null!==(s$2=globalThis.reactiveElementVersions)&&void 0!==s$2?s$2:globalThis.reactiveElementVersions=[]).push("1.2.1");var i$2=globalThis.trustedTypes,s$1=i$2?i$2.createPolicy("lit-html",{createHTML:t=>t}):void 0,e$6="lit$".concat((Math.random()+"").slice(9),"$"),o$3="?"+e$6,n$3="<".concat(o$3,">"),l$2=document,h$1=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return l$2.createComment(t)},r$1=t=>null===t||"object"!=typeof t&&"function"!=typeof t,d=Array.isArray,u=t=>{var e;return d(t)||"function"==typeof(null===(e=t)||void 0===e?void 0:e[Symbol.iterator])},c=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,v=/-->/g,a=/>/g,f=/>|[ \n\r](?:([^\s"'>=/]+)([ \n\r]*=[ \n\r]*(?:[^ \n\r"'`<>=]|("|')|))|$)/g,_=/'/g,m=/"/g,g=/^(?:script|style|textarea)$/i,p=t=>function(e){for(var r=arguments.length,i=new Array(r>1?r-1:0),n=1;n<r;n++)i[n-1]=arguments[n];return{_$litType$:t,strings:e,values:i}},$=p(1),y=p(2),b=Symbol.for("lit-noChange"),w=Symbol.for("lit-nothing"),T=new WeakMap,x=(t,e,r)=>{var i,n,a=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:e,s=a._$litPart$;if(void 0===s){var o=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:null;a._$litPart$=s=new N(e.insertBefore(h$1(),o),o,void 0,null!=r?r:{})}return s._$AI(t),s},A=l$2.createTreeWalker(l$2,129,null,!1),C=(t,e)=>{for(var r,i=t.length-1,n=[],s=2===e?"<svg>":"",o=c,l=0;l<i;l++){for(var h=t[l],u=void 0,d=void 0,p=-1,y=0;y<h.length&&(o.lastIndex=y,null!==(d=o.exec(h)));)y=o.lastIndex,o===c?"!--"===d[1]?o=v:void 0!==d[1]?o=a:void 0!==d[2]?(g.test(d[2])&&(r=RegExp("</"+d[2],"g")),o=f):void 0!==d[3]&&(o=f):o===f?">"===d[0]?(o=null!=r?r:c,p=-1):void 0===d[1]?p=-2:(p=o.lastIndex-d[2].length,u=d[1],o=void 0===d[3]?f:'"'===d[3]?m:_):o===m||o===_?o=f:o===v||o===a?o=c:(o=f,r=void 0);var b=o===f&&t[l+1].startsWith("/>")?" ":"";s+=o===c?h+n$3:p>=0?(n.push(u),h.slice(0,p)+"$lit$"+h.slice(p)+e$6+b):h+e$6+(-2===p?(n.push(void 0),l):b)}var E=s+(t[i]||"<?>")+(2===e?"</svg>":"");if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return[void 0!==s$1?s$1.createHTML(E):E,n]};class E{constructor(t,e){var r,{strings:i,_$litType$:n}=t;this.parts=[];var a=0,s=0,o=i.length-1,l=this.parts,[c,h]=C(i,n);if(this.el=E.createElement(c,e),A.currentNode=this.el.content,2===n){var u=this.el.content,d=u.firstChild;d.remove(),u.append(...d.childNodes)}for(;null!==(r=A.nextNode())&&l.length<o;){if(1===r.nodeType){if(r.hasAttributes()){var p=[];for(var f of r.getAttributeNames())if(f.endsWith("$lit$")||f.startsWith(e$6)){var m=h[s++];if(p.push(f),void 0!==m){var v=r.getAttribute(m.toLowerCase()+"$lit$").split(e$6),y=/([.?@])?(.*)/.exec(m);l.push({type:1,index:a,name:y[2],strings:v,ctor:"."===y[1]?M:"?"===y[1]?H:"@"===y[1]?I:S})}else l.push({type:6,index:a})}for(var b of p)r.removeAttribute(b)}if(g.test(r.tagName)){var _=r.textContent.split(e$6),x=_.length-1;if(x>0){r.textContent=i$2?i$2.emptyScript:"";for(var w=0;w<x;w++)r.append(_[w],h$1()),A.nextNode(),l.push({type:2,index:++a});r.append(_[x],h$1())}}}else if(8===r.nodeType)if(r.data===o$3)l.push({type:2,index:a});else for(var P=-1;-1!==(P=r.data.indexOf(e$6,P+1));)l.push({type:7,index:a}),P+=e$6.length-1;a++}}static createElement(t,e){var r=l$2.createElement("template");return r.innerHTML=t,r}}function P(t,e){var r,i,n,a,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,o=arguments.length>3?arguments[3]:void 0;if(e===b)return e;var l=void 0!==o?null===(r=s._$Cl)||void 0===r?void 0:r[o]:s._$Cu,c=r$1(e)?void 0:e._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(i=null==l?void 0:l._$AO)||void 0===i||i.call(l,!1),void 0===c?l=void 0:(l=new c(t))._$AT(t,s,o),void 0!==o?(null!==(n=(a=s)._$Cl)&&void 0!==n?n:a._$Cl=[])[o]=l:s._$Cu=l),void 0!==l&&(e=P(t,l._$AS(t,e.values),l,o)),e}class V{constructor(t,e){this.v=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}p(t){var e,{el:{content:r},parts:i}=this._$AD,n=(null!==(e=null==t?void 0:t.creationScope)&&void 0!==e?e:l$2).importNode(r,!0);A.currentNode=n;for(var a=A.nextNode(),s=0,o=0,l=i[0];void 0!==l;){if(s===l.index){var c=void 0;2===l.type?c=new N(a,a.nextSibling,this,t):1===l.type?c=new l.ctor(a,l.name,l.strings,this,t):6===l.type&&(c=new L(a,this,t)),this.v.push(c),l=i[++o]}s!==(null==l?void 0:l.index)&&(a=A.nextNode(),s++)}return n}m(t){var e=0;for(var r of this.v)void 0!==r&&(void 0!==r.strings?(r._$AI(t,r,e),e+=r.strings.length-2):r._$AI(t[e])),e++}}class N{constructor(t,e,r,i){var n;this.type=2,this._$AH=w,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=r,this.options=i,this._$Cg=null===(n=null==i?void 0:i.isConnected)||void 0===n||n}get _$AU(){var t,e;return null!==(e=null===(t=this._$AM)||void 0===t?void 0:t._$AU)&&void 0!==e?e:this._$Cg}get parentNode(){var t=this._$AA.parentNode,e=this._$AM;return void 0!==e&&11===t.nodeType&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t){t=P(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this),r$1(t)?t===w||null==t||""===t?(this._$AH!==w&&this._$AR(),this._$AH=w):t!==this._$AH&&t!==b&&this.$(t):void 0!==t._$litType$?this.T(t):void 0!==t.nodeType?this.S(t):u(t)?this.A(t):this.$(t)}M(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this._$AB;return this._$AA.parentNode.insertBefore(t,e)}S(t){this._$AH!==t&&(this._$AR(),this._$AH=this.M(t))}$(t){this._$AH!==w&&r$1(this._$AH)?this._$AA.nextSibling.data=t:this.S(l$2.createTextNode(t)),this._$AH=t}T(t){var e,{values:r,_$litType$:i}=t,n="number"==typeof i?this._$AC(t):(void 0===i.el&&(i.el=E.createElement(i.h,this.options)),i);if((null===(e=this._$AH)||void 0===e?void 0:e._$AD)===n)this._$AH.m(r);else{var a=new V(n,this),s=a.p(this.options);a.m(r),this.S(s),this._$AH=a}}_$AC(t){var e=T.get(t.strings);return void 0===e&&T.set(t.strings,e=new E(t)),e}A(t){d(this._$AH)||(this._$AH=[],this._$AR());var e,r=this._$AH,i=0;for(var n of t)i===r.length?r.push(e=new N(this.M(h$1()),this.M(h$1()),this,this.options)):e=r[i],e._$AI(n),i++;i<r.length&&(this._$AR(e&&e._$AB.nextSibling,i),r.length=i)}_$AR(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._$AA.nextSibling,r=arguments.length>1?arguments[1]:void 0;for(null===(t=this._$AP)||void 0===t||t.call(this,!1,!0,r);e&&e!==this._$AB;){var i=e.nextSibling;e.remove(),e=i}}setConnected(t){var e;void 0===this._$AM&&(this._$Cg=t,null===(e=this._$AP)||void 0===e||e.call(this,t))}}class S{constructor(t,e,r,i,n){this.type=1,this._$AH=w,this._$AN=void 0,this.element=t,this.name=e,this._$AM=i,this.options=n,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=w}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,n=this.strings,a=!1;if(void 0===n)t=P(this,t,e,0),(a=!r$1(t)||t!==this._$AH&&t!==b)&&(this._$AH=t);else{var s,o,l=t;for(t=n[0],s=0;s<n.length-1;s++)(o=P(this,l[r+s],e,s))===b&&(o=this._$AH[s]),a||(a=!r$1(o)||o!==this._$AH[s]),o===w?t=w:t!==w&&(t+=(null!=o?o:"")+n[s+1]),this._$AH[s]=o}a&&!i&&this.k(t)}k(t){t===w?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=t?t:"")}}class M extends S{constructor(){super(...arguments),this.type=3}k(t){this.element[this.name]=t===w?void 0:t}}var k=i$2?i$2.emptyScript:"";class H extends S{constructor(){super(...arguments),this.type=4}k(t){t&&t!==w?this.element.setAttribute(this.name,k):this.element.removeAttribute(this.name)}}class I extends S{constructor(t,e,r,i,n){super(t,e,r,i,n),this.type=5}_$AI(t){var e;if((t=null!==(e=P(this,t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:this,0))&&void 0!==e?e:w)!==b){var r=this._$AH,i=t===w&&r!==w||t.capture!==r.capture||t.once!==r.once||t.passive!==r.passive,n=t!==w&&(r===w||i);i&&this.element.removeEventListener(this.name,this,r),n&&this.element.addEventListener(this.name,this,t),this._$AH=t}}handleEvent(t){var e,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(e=this.options)||void 0===e?void 0:e.host)&&void 0!==r?r:this.element,t):this._$AH.handleEvent(t)}}class L{constructor(t,e,r){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(t){P(this,t)}}var R={P:"$lit$",V:e$6,L:o$3,I:1,N:C,R:V,D:u,j:P,H:N,O:S,F:H,B:I,W:M,Z:L},z=window.litHtmlPolyfillSupport,l$1,o$2;null==z||z(E,N),(null!==(t$2=globalThis.litHtmlVersions)&&void 0!==t$2?t$2:globalThis.litHtmlVersions=[]).push("2.1.2");var r=a$1;class s extends a$1{constructor(){super(...arguments),this.renderOptions={host:this},this._$Dt=void 0}createRenderRoot(){var t,e,r=super.createRenderRoot();return null!==(t=(e=this.renderOptions).renderBefore)&&void 0!==t||(e.renderBefore=r.firstChild),r}update(t){var e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Dt=x(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),null===(t=this._$Dt)||void 0===t||t.setConnected(!1)}render(){return b}}s.finalized=!0,s._$litElement$=!0,null===(l$1=globalThis.litElementHydrateSupport)||void 0===l$1||l$1.call(globalThis,{LitElement:s});var n$2=globalThis.litElementPolyfillSupport;null==n$2||n$2({LitElement:s});var h={_$AK:(t,e,r)=>{t._$AK(e,r)},_$AL:t=>t._$AL};(null!==(o$2=globalThis.litElementVersions)&&void 0!==o$2?o$2:globalThis.litElementVersions=[]).push("3.1.2");var n$1=t=>e=>"function"==typeof e?((t,e)=>(window.customElements.define(t,e),e))(t,e):((t,e)=>{var{kind:r,elements:i}=e;return{kind:r,elements:i,finisher(e){window.customElements.define(t,e)}}})(t,e),i$1=(t,e)=>"method"===e.kind&&e.descriptor&&!("value"in e.descriptor)?_objectSpread2(_objectSpread2({},e),{},{finisher(r){r.createProperty(e.key,t)}}):{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:e.key,initializer(){"function"==typeof e.initializer&&(this[e.key]=e.initializer.call(this))},finisher(r){r.createProperty(e.key,t)}};function e$5(t){return(e,r)=>void 0!==r?((t,e,r)=>{e.constructor.createProperty(r,t)})(t,e,r):i$1(t,e)}function t$1(t){return e$5(_objectSpread2(_objectSpread2({},t),{},{state:!0}))}var e$4=(t,e,r)=>{Object.defineProperty(e,r,t)},t=(t,e)=>({kind:"method",placement:"prototype",key:e.key,descriptor:t}),o$1=t=>{var{finisher:e,descriptor:r}=t;return(t,i)=>{var n;if(void 0===i){var a=null!==(n=t.originalKey)&&void 0!==n?n:t.key,s=null!=r?{kind:"method",placement:"prototype",key:a,descriptor:r(t.key)}:_objectSpread2(_objectSpread2({},t),{},{key:a});return null!=e&&(s.finisher=function(t){e(t,a)}),s}var o=t.constructor;void 0!==r&&Object.defineProperty(t,i,r(i)),null==e||e(o,i)}},n;function e$3(t){return o$1({finisher:(e,r)=>{Object.assign(e.prototype[r],t)}})}function i(t,e){return o$1({descriptor:r=>{var i={get(){var e,r;return null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(e){var n="symbol"==typeof r?Symbol():"__"+r;i.get=function(){var e,r;return void 0===this[n]&&(this[n]=null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelector(t))&&void 0!==r?r:null),this[n]}}return i}})}function e$2(t){return o$1({descriptor:e=>({get(){var e,r;return null!==(r=null===(e=this.renderRoot)||void 0===e?void 0:e.querySelectorAll(t))&&void 0!==r?r:[]},enumerable:!0,configurable:!0})})}function e$1(t){return o$1({descriptor:e=>({get(){var e=this;return _asyncToGenerator((function*(){var r;return yield e.updateComplete,null===(r=e.renderRoot)||void 0===r?void 0:r.querySelector(t)}))()},enumerable:!0,configurable:!0})})}var e=null!=(null===(n=window.HTMLSlotElement)||void 0===n?void 0:n.prototype.assignedElements)?(t,e)=>t.assignedElements(e):(t,e)=>t.assignedNodes(e).filter((t=>t.nodeType===Node.ELEMENT_NODE));function l(t){var{slot:r,selector:i}=null!=t?t:{};return o$1({descriptor:n=>({get(){var n,a="slot"+(r?"[name=".concat(r,"]"):":not([name])"),s=null===(n=this.renderRoot)||void 0===n?void 0:n.querySelector(a),o=null!=s?e(s,t):[];return i?o.filter((t=>t.matches(i))):o},enumerable:!0,configurable:!0})})}function o(t,e,r){var i,n=t;return"object"==typeof t?(n=t.slot,i=t):i={flatten:e},r?l({slot:n,flatten:e,selector:r}):o$1({descriptor:t=>({get(){var t,e,r="slot"+(n?"[name=".concat(n,"]"):":not([name])"),a=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(r);return null!==(e=null==a?void 0:a.assignedNodes(i))&&void 0!==e?e:[]},enumerable:!0,configurable:!0})})}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getDefaultExportFromNamespaceIfPresent(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function getDefaultExportFromNamespaceIfNotNamed(t){return t&&Object.prototype.hasOwnProperty.call(t,"default")&&1===Object.keys(t).length?t.default:t}function getAugmentedNamespace(t){if(t.__esModule)return t;var e=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(t).forEach((function(r){var i=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:function(){return t[r]}})})),e}function commonjsRequire(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var lottie$1={exports:{}};(function(module,exports){var factory;"undefined"!=typeof navigator&&(factory=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,i,n=t.length;for(r=0;r<n;r+=1)for(var a in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,a)&&(e.prototype[a]=i[a])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var r,i=0,n=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1}for(i=0;i<e;i+=1)n.push(r);return n}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,r){return"float32"===e?new Float32Array(r):"int16"===e?new Int16Array(r):"uint8c"===e?new Uint8ClampedArray(r):t(e,r)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="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},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){var e,r=createSizedArray(t.length),i=t.length;for(e=0;e<i;e+=1)r[e]=Math.abs(t[e]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(t,e,r){var i,n,a,s,o,l,c,h;switch(l=r*(1-e),c=r*(1-(o=6*t-(s=Math.floor(6*t)))*e),h=r*(1-(1-o)*e),s%6){case 0:i=r,n=h,a=l;break;case 1:i=c,n=r,a=l;break;case 2:i=l,n=r,a=h;break;case 3:i=l,n=c,a=r;break;case 4:i=h,n=l,a=r;break;case 5:i=r,n=l,a=c}return[i,n,a]}function RGBtoHSV(t,e,r){var i,n=Math.max(t,e,r),a=Math.min(t,e,r),s=n-a,o=0===n?0:s/n,l=n/255;switch(n){case a:i=0;break;case t:i=e-r+s*(e<r?6:0),i/=6*s;break;case e:i=r-t+2*s,i/=6*s;break;case r:i=t-e+4*s,i/=6*s}return[i,o,l]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?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,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}(),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},_typeof$5(t)}var dataManager=function(){var t,e,r=1,i=[],n={onmessage:function(){},postMessage:function(e){t({data:e})}},a={postMessage:function(t){n.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"}),i=URL.createObjectURL(r);return new Worker(i)}return t=e,n}((function(t){if(a.dataManager||(a.dataManager=function(){function t(n,a){var s,o,l,c,h,d,p=n.length;for(o=0;o<p;o+=1)if("ks"in(s=n[o])&&!s.completed){if(s.completed=!0,s.hasMask){var f=s.masksProperties;for(c=f.length,l=0;l<c;l+=1)if(f[l].pt.k.i)i(f[l].pt.k);else for(d=f[l].pt.k.length,h=0;h<d;h+=1)f[l].pt.k[h].s&&i(f[l].pt.k[h].s[0]),f[l].pt.k[h].e&&i(f[l].pt.k[h].e[0])}0===s.ty?(s.layers=e(s.refId,a),t(s.layers,a)):4===s.ty?r(s.shapes):5===s.ty&&u(s)}}function e(t,e){var r=function(t,e){for(var r=0,i=e.length;r<i;){if(e[r].id===t)return e[r];r+=1}return null}(t,e);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(t){var e,n,a;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(a=t[e].ks.k.length,n=0;n<a;n+=1)t[e].ks.k[n].s&&i(t[e].ks.k[n].s[0]),t[e].ks.k[n].e&&i(t[e].ks.k[n].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function i(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function n(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[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,i,n=t.length;for(e=0;e<n;e+=1)5===t[e].ty&&(void 0,i=(r=t[e]).t.d,r.t.d={k:[{s:i,t:0}]})}return function(r){if(n(t,r.v)&&(e(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&e(r.assets[i].layers)}}}(),o=(a=[4,7,99],function(t){if(t.chars&&!n(a,t.v)){var e,i=t.chars.length;for(e=0;e<i;e+=1){var s=t.chars[e];s.data&&s.data.shapes&&(r(s.data.shapes),s.data.ip=0,s.data.op=99999,s.data.st=0,s.data.sr=1,s.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[e].t||(s.data.shapes.push({ty:"no"}),s.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),l=function(){var t=[5,7,15];function e(t){var e,r,i=t.length;for(e=0;e<i;e+=1)5===t[e].ty&&(r=void 0,"number"==typeof(r=t[e].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(n(t,r.v)&&(e(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&e(r.assets[i].layers)}}}(),c=function(){var t=[4,1,9];function e(t){var r,i,n,a=t.length;for(r=0;r<a;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(n=t[r].c.k.length,i=0;i<n;i+=1)t[r].c.k[i].s&&(t[r].c.k[i].s[0]/=255,t[r].c.k[i].s[1]/=255,t[r].c.k[i].s[2]/=255,t[r].c.k[i].s[3]/=255),t[r].c.k[i].e&&(t[r].c.k[i].e[0]/=255,t[r].c.k[i].e[1]/=255,t[r].c.k[i].e[2]/=255,t[r].c.k[i].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),h=function(){var t=[4,4,18];function e(t){var r,i,n;for(r=t.length-1;r>=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(n=t[r].ks.k.length,i=0;i<n;i+=1)t[r].ks.k[i].s&&(t[r].ks.k[i].s[0].c=t[r].closed),t[r].ks.k[i].e&&(t[r].ks.k[i].e[0].c=t[r].closed);else"gr"===t[r].ty&&e(t[r].it)}function r(t){var r,i,n,a,s,o,l=t.length;for(i=0;i<l;i+=1){if((r=t[i]).hasMask){var c=r.masksProperties;for(a=c.length,n=0;n<a;n+=1)if(c[n].pt.k.i)c[n].pt.k.c=c[n].cl;else for(o=c[n].pt.k.length,s=0;s<o;s+=1)c[n].pt.k[s].s&&(c[n].pt.k[s].s[0].c=c[n].cl),c[n].pt.k[s].e&&(c[n].pt.k[s].e[0].c=c[n].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}();function u(t){0===t.t.a.length&&t.t.p}var d={completeData:function(r){r.__complete||(c(r),s(r),o(r),l(r),h(r),t(r.layers,r.assets),function(r,i){if(r){var n=0,a=r.length;for(n=0;n<a;n+=1)1===r[n].t&&(r[n].data.layers=e(r[n].data.refId,i),t(r[n].data.layers,i))}}(r.chars,r.assets),r.__complete=!0)}};return d.checkColors=c,d.checkChars=o,d.checkPathProperties=l,d.checkShapes=h,d.completeLayers=t,d}()),a.assetLoader||(a.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,r,i,n){var a,s=new XMLHttpRequest;try{s.responseType="json"}catch(t){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)a=t(s),i(a);else try{a=t(s),i(a)}catch(t){n&&n(t)}};try{s.open(["G","E","T"].join(""),e,!0)}catch(t){s.open(["G","E","T"].join(""),r+"/"+e,!0)}s.send()}}}()),"loadAnimation"===t.data.type)a.assetLoader.load(t.data.path,t.data.fullPath,(function(e){a.dataManager.completeData(e),a.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){a.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;a.dataManager.completeData(e),a.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&a.assetLoader.load(t.data.path,t.data.fullPath,(function(e){a.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){a.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,r=e.id,n=i[r];i[r]=null,"success"===e.status?n.onComplete(e.payload):n.onError&&n.onError()})}function o(t,e){var n="processId_"+(r+=1);return i[n]={onComplete:t,onError:e},n}return{loadAnimation:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},loadData:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},completeAnimation:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"complete",animation:t,id:n})}}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(t,e,r){var i="";if(t.e)i=t.p;else if(e){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),i=e+n}else i=r,i+=t.u?t.u:"",i+=t.p;return i}function n(t){var e=0,r=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=i(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=n.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 i=t.length;for(r=0;r<i;r+=1)t[r].layers||(t[r].t&&"seq"!==t[r].t?3===t[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[r]))):(this.totalImages+=1,this.images.push(this._createImageData(t[r]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,r=this.images.length;e<r;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var r=i(e,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),n.src=r;var a={img:n,assetData:e};return a},createImageData:function(e){var r=i(e,this.assetsPath,this.path),n=createNS("image");isSafari?this.testImageLoaded(n):n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),n.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(n):this._elementHelper.appendChild(n);var a={img:n,assetData:e};return a},imageLoaded:e,footageLoaded:r,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],i=0;i<r.length;i+=1)r[i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var r=0,i=this._cbs[t].length;r<i;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,i-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,r=t.split("\r\n"),i={},n=0,a=0;a<r.length;a+=1)2===(e=r[a].split(":")).length&&(i[e[0]]=e[1].trim(),n+=1);if(0===n)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var n=e[i],a={time:n.tm,duration:n.dr};try{a.payload=JSON.parse(e[i].cm)}catch(r){try{a.payload=t(e[i].cm)}catch(t){a.payload={name:e[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,r=this.compositions.length;e<r;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function _typeof$4(t){return _typeof$4="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},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var n=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===n?r.loop=!1:"true"===n?r.loop=!0:""!==n&&(r.loop=parseInt(n,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"","false"===(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,n=i.length,a=t.layers,s=a.length;for(r=0;r<s;r+=1)for(e=0;e<n;){if(i[e].id===a[r].id){i[e]=a[r];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(n=t.assets.length,e=0;e<n;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var r="number"==typeof t?t:void 0,i="number"==typeof e?e:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!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.markers.length;r+=1)if((e=this.markers[r]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var n=this.getMarkerData(t);n&&this.goToAndStop(n.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var n=this.getMarkerData(t);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(i,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=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]<t[0]?(this.frameModifier>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.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(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,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{this.renderer.getElementByPath(t).updateDocumentData(e,r)}catch(t){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,i=0,n=0,a=!0,s=!1;function o(t){for(var r=0,n=t.target;r<i;)e[r].animation===n&&(e.splice(r,1),r-=1,i-=1,n.isPaused||h()),r+=1}function l(t,r){if(!t)return null;for(var n=0;n<i;){if(e[n].elem===t&&null!==e[n].elem)return e[n].animation;n+=1}var a=new AnimationItem;return u(a,t),a.setData(t,r),a}function c(){n+=1,f()}function h(){n-=1}function u(t,r){t.addEventListener("destroy",o),t.addEventListener("_active",c),t.addEventListener("_idle",h),e.push({elem:r,animation:t}),i+=1}function d(t){var o,l=t-r;for(o=0;o<i;o+=1)e[o].animation.advanceTime(l);r=t,n&&!s?window.requestAnimationFrame(d):a=!0}function p(t){r=t,window.requestAnimationFrame(d)}function f(){!s&&n&&a&&(window.requestAnimationFrame(p),a=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return u(e,null),e.setParams(t),e},t.setSpeed=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setSpeed(t,r)},t.setDirection=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setDirection(t,r)},t.play=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.play(t)},t.pause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.pause(t)},t.stop=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.stop(t)},t.togglePause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.togglePause(t)},t.searchAnimations=function(t,e,r){var i,n=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=n.length;for(i=0;i<a;i+=1)r&&n[i].setAttribute("data-bm-type",r),l(n[i],t);if(e&&0===a){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,t)}},t.resize=function(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,r,n){var a;for(a=0;a<i;a+=1)e[a].animation.goToAndStop(t,r,n)},t.destroy=function(t){var r;for(r=i-1;r>=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){s=!0},t.unfreeze=function(){s=!1,f()},t.setVolume=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setVolume(t,r)},t.mute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.mute(t)},t.unmute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,r=e.length,i=[];for(t=0;t<r;t+=1)i.push(e[t].animation);return i},t}(),BezierFactory=function(){var t={getBezierEasing:function(t,r,i,n,a){var s=a||("bez_"+t+"_"+r+"_"+i+"_"+n).replace(/\./g,"p");if(e[s])return e[s];var o=new c([t,r,i,n]);return e[s]=o,o}},e={},r=.1,i="function"==typeof Float32Array;function n(t,e){return 1-3*e+3*t}function a(t,e){return 3*e-6*t}function s(t){return 3*t}function o(t,e,r){return((n(e,r)*t+a(e,r))*t+s(e))*t}function l(t,e,r){return 3*n(e,r)*t*t+2*a(e,r)*t+s(e)}function c(t){this._p=t,this._mSampleValues=i?new Float32Array(11):new Array(11),this._precomputed=!1,this.get=this.get.bind(this)}return c.prototype={get:function(t){var e=this._p[0],r=this._p[1],i=this._p[2],n=this._p[3];return this._precomputed||this._precompute(),e===r&&i===n?t:0===t?0:1===t?1:o(this._getTForX(t),r,n)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<11;++i)this._mSampleValues[i]=o(i*r,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],n=this._mSampleValues,a=0,s=1;10!==s&&n[s]<=t;++s)a+=r;var c=a+(t-n[--s])/(n[s+1]-n[s])*r,h=l(c,e,i);return h>=.001?function(t,e,r,i){for(var n=0;n<4;++n){var a=l(e,r,i);if(0===a)return e;e-=(o(e,r,i)-t)/a}return e}(t,c,e,i):0===h?c:function(t,e,r,i,n){var a,s,l=0;do{(a=o(s=e+(r-e)/2,i,n)-t)>0?r=s:e=s}while(Math.abs(a)>1e-7&&++l<10);return s}(t,a,a+r,e,i)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,r){var i=0,n=t,a=createSizedArray(n);return{newElement:function(){return i?a[i-=1]:e()},release:function(t){i===n&&(a=pooling.double(a),n*=2),r&&r(t),a[i]=t,i+=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<r;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}));function bezFunction(){var t=Math;function e(t,e,r,i,n,a){var s=t*i+e*n+r*a-n*i-a*t-r*e;return s>-.001&&s<.001}var r=function(t,e,r,i){var n,a,s,o,l,c,h=getDefaultCurveSegments(),u=0,d=[],p=[],f=bezierLengthPool.newElement();for(s=r.length,n=0;n<h;n+=1){for(l=n/(h-1),c=0,a=0;a<s;a+=1)o=bmPow(1-l,3)*t[a]+3*bmPow(1-l,2)*l*r[a]+3*(1-l)*bmPow(l,2)*i[a]+bmPow(l,3)*e[a],d[a]=o,null!==p[a]&&(c+=bmPow(d[a]-p[a],2)),p[a]=d[a];c&&(u+=c=bmSqrt(c)),f.percents[n]=l,f.lengths[n]=u}return f.addedLength=u,f};function i(t){this.segmentLength=0,this.points=new Array(t)}function n(t,e){this.partialLength=t,this.point=e}var a,s=(a={},function(t,r,s,o){var l=(t[0]+"_"+t[1]+"_"+r[0]+"_"+r[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!a[l]){var c,h,u,d,p,f,m,g=getDefaultCurveSegments(),v=0,y=null;2===t.length&&(t[0]!==r[0]||t[1]!==r[1])&&e(t[0],t[1],r[0],r[1],t[0]+s[0],t[1]+s[1])&&e(t[0],t[1],r[0],r[1],r[0]+o[0],r[1]+o[1])&&(g=2);var b=new i(g);for(u=s.length,c=0;c<g;c+=1){for(m=createSizedArray(u),p=c/(g-1),f=0,h=0;h<u;h+=1)d=bmPow(1-p,3)*t[h]+3*bmPow(1-p,2)*p*(t[h]+s[h])+3*(1-p)*bmPow(p,2)*(r[h]+o[h])+bmPow(p,3)*r[h],m[h]=d,null!==y&&(f+=bmPow(m[h]-y[h],2));v+=f=bmSqrt(f),b.points[c]=new n(f,m),y=m}b.segmentLength=v,a[l]=b}return a[l]});function o(t,e){var r=e.percents,i=e.lengths,n=r.length,a=bmFloor((n-1)*t),s=t*e.addedLength,o=0;if(a===n-1||0===a||s===i[a])return r[a];for(var l=i[a]>s?-1:1,c=!0;c;)if(i[a]<=s&&i[a+1]>s?(o=(s-i[a])/(i[a+1]-i[a]),c=!1):a+=l,a<0||a>=n-1){if(a===n-1)return r[a];c=!1}return r[a]+(r[a+1]-r[a])*o}var l=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segmentsLengthPool.newElement(),n=t.c,a=t.v,s=t.o,o=t.i,l=t._length,c=i.lengths,h=0;for(e=0;e<l-1;e+=1)c[e]=r(a[e],a[e+1],s[e],o[e+1]),h+=c[e].addedLength;return n&&l&&(c[e]=r(a[e],a[0],s[e],o[0]),h+=c[e].addedLength),i.totalLength=h,i},getNewSegment:function(e,r,i,n,a,s,c){a<0?a=0:a>1&&(a=1);var h,u=o(a,c),d=o(s=s>1?1:s,c),p=e.length,f=1-u,m=1-d,g=f*f*f,v=u*f*f*3,y=u*u*f*3,b=u*u*u,_=f*f*m,E=u*f*m+f*u*m+f*f*d,S=u*u*m+f*u*d+u*f*d,x=u*u*d,w=f*m*m,C=u*m*m+f*d*m+f*m*d,P=u*d*m+f*d*d+u*m*d,A=u*d*d,T=m*m*m,k=d*m*m+m*d*m+m*m*d,L=d*d*m+m*d*d+d*m*d,D=d*d*d;for(h=0;h<p;h+=1)l[4*h]=t.round(1e3*(g*e[h]+v*i[h]+y*n[h]+b*r[h]))/1e3,l[4*h+1]=t.round(1e3*(_*e[h]+E*i[h]+S*n[h]+x*r[h]))/1e3,l[4*h+2]=t.round(1e3*(w*e[h]+C*i[h]+P*n[h]+A*r[h]))/1e3,l[4*h+3]=t.round(1e3*(T*e[h]+k*i[h]+L*n[h]+D*r[h]))/1e3;return l},getPointInSegment:function(e,r,i,n,a,s){var l=o(a,s),c=1-l;return[t.round(1e3*(c*c*c*e[0]+(l*c*c+c*l*c+c*c*l)*i[0]+(l*l*c+c*l*l+l*c*l)*n[0]+l*l*l*r[0]))/1e3,t.round(1e3*(c*c*c*e[1]+(l*c*c+c*l*c+c*c*l)*i[1]+(l*l*c+c*l*l+l*c*l)*n[1]+l*l*l*r[1]))/1e3]},buildBezierData:s,pointOnLine2D:e,pointOnLine3D:function(r,i,n,a,s,o,l,c,h){if(0===n&&0===o&&0===h)return e(r,i,a,s,l,c);var u,d=t.sqrt(t.pow(a-r,2)+t.pow(s-i,2)+t.pow(o-n,2)),p=t.sqrt(t.pow(l-r,2)+t.pow(c-i,2)+t.pow(h-n,2)),f=t.sqrt(t.pow(l-a,2)+t.pow(c-s,2)+t.pow(h-o,2));return(u=d>p?d>f?d-p-f:f-p-d:f>p?f-p-d:p-d-f)>-1e-4&&u<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,s,o,l,c,h,u,d,p,f=e.lastIndex,m=f,g=this.keyframes.length-1,v=!0;v;){if(a=this.keyframes[m],s=this.keyframes[m+1],m===g-1&&t>=s.t-n){a.h&&(a=s),f=0;break}if(s.t-n>t){f=m;break}m<g-1?m+=1:(f=0,v=!1)}o=this.keyframesMetadata[m]||{};var y,b,_,E,S,x,w,C,P,A,T=s.t-n,k=a.t-n;if(a.to){o.bezierData||(o.bezierData=bez.buildBezierData(a.s,s.s||a.e,a.to,a.ti));var L=o.bezierData;if(t>=T||t<k){var D=t>=T?L.points.length-1:0;for(c=L.points[D].point.length,l=0;l<c;l+=1)r[l]=L.points[D].point[l]}else{o.__fnct?p=o.__fnct:(p=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,o.__fnct=p),h=p((t-k)/(T-k));var I,M=L.segmentLength*h,O=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastAddedLength:0;for(d=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastPoint:0,v=!0,u=L.points.length;v;){if(O+=L.points[d].partialLength,0===M||0===h||d===L.points.length-1){for(c=L.points[d].point.length,l=0;l<c;l+=1)r[l]=L.points[d].point[l];break}if(M>=O&&M<O+L.points[d+1].partialLength){for(I=(M-O)/L.points[d+1].partialLength,c=L.points[d].point.length,l=0;l<c;l+=1)r[l]=L.points[d].point[l]+(L.points[d+1].point[l]-L.points[d].point[l])*I;break}d<u-1?d+=1:v=!1}e._lastPoint=d,e._lastAddedLength=O-L.points[d].partialLength,e._lastKeyframeIndex=m}}else{var F,R,N,B,V;if(g=a.s.length,y=s.s||a.e,this.sh&&1!==a.h)if(t>=T)r[0]=y[0],r[1]=y[1],r[2]=y[2];else if(t<=k)r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2];else{b=r,_=function(t,e,r){var i,n,a,s,o,l=[],c=t[0],h=t[1],u=t[2],d=t[3],p=e[0],f=e[1],m=e[2],g=e[3];return(n=c*p+h*f+u*m+d*g)<0&&(n=-n,p=-p,f=-f,m=-m,g=-g),1-n>1e-6?(i=Math.acos(n),a=Math.sin(i),s=Math.sin((1-r)*i)/a,o=Math.sin(r*i)/a):(s=1-r,o=r),l[0]=s*c+o*p,l[1]=s*h+o*f,l[2]=s*u+o*m,l[3]=s*d+o*g,l}(i(a.s),i(y),(t-k)/(T-k)),E=_[0],S=_[1],x=_[2],w=_[3],C=Math.atan2(2*S*w-2*E*x,1-2*S*S-2*x*x),P=Math.asin(2*E*S+2*x*w),A=Math.atan2(2*E*w-2*S*x,1-2*E*E-2*x*x),b[0]=C/degToRads,b[1]=P/degToRads,b[2]=A/degToRads}else for(m=0;m<g;m+=1)1!==a.h&&(t>=T?h=1:t<k?h=0:(a.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?p=o.__fnct[m]:(F=void 0===a.o.x[m]?a.o.x[0]:a.o.x[m],R=void 0===a.o.y[m]?a.o.y[0]:a.o.y[m],N=void 0===a.i.x[m]?a.i.x[0]:a.i.x[m],B=void 0===a.i.y[m]?a.i.y[0]:a.i.y[m],p=BezierFactory.getBezierEasing(F,R,N,B).get,o.__fnct[m]=p)):o.__fnct?p=o.__fnct:(F=a.o.x,R=a.o.y,N=a.i.x,B=a.i.y,p=BezierFactory.getBezierEasing(F,R,N,B).get,a.keyframeMetadata=p),h=p((t-k)/(T-k)))),y=s.s||a.e,V=1===a.h?a.s[m]:a.s[m]+(y[m]-a.s[m])*h,"multidimensional"===this.propType?r[m]=V:r=V}return e.lastIndex=f,r}function i(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,n=Math.cos(e/2),a=Math.cos(r/2),s=Math.cos(i/2),o=Math.sin(e/2),l=Math.sin(r/2),c=Math.sin(i/2);return[o*l*s+n*a*c,o*a*s+n*l*c,n*l*s-o*a*c,n*a*s-o*l*c]}function n(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}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 i=0,n=this.v.length;i<n;)r=t[i]*this.mult,e(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=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<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.addEffect=o}function c(t,e,r,i){var n;this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var l=e.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),this.vel=createTypedArray("float32",l),n=0;n<l;n+=1)this.v[n]=e.k[n]*this.mult,this.pv[n]=e.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=s,this.setVValue=a,this.addEffect=o}function h(e,i,l,c){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=l||1,this.elem=e,this.container=c,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.interpolateValue=r,this.effectsSequence=[n.bind(this)],this.addEffect=o}function u(e,i,l,c){var h;this.propType="multidimensional";var u,d,p,f,m=i.k.length;for(h=0;h<m-1;h+=1)i.k[h].to&&i.k[h].s&&i.k[h+1]&&i.k[h+1].s&&(u=i.k[h].s,d=i.k[h+1].s,p=i.k[h].to,f=i.k[h].ti,(2===u.length&&(u[0]!==d[0]||u[1]!==d[1])&&bez.pointOnLine2D(u[0],u[1],d[0],d[1],u[0]+p[0],u[1]+p[1])&&bez.pointOnLine2D(u[0],u[1],d[0],d[1],d[0]+f[0],d[1]+f[1])||3===u.length&&(u[0]!==d[0]||u[1]!==d[1]||u[2]!==d[2])&&bez.pointOnLine3D(u[0],u[1],u[2],d[0],d[1],d[2],u[0]+p[0],u[1]+p[1],u[2]+p[2])&&bez.pointOnLine3D(u[0],u[1],u[2],d[0],d[1],d[2],d[0]+f[0],d[1]+f[1],d[2]+f[2]))&&(i.k[h].to=null,i.k[h].ti=null),u[0]===d[0]&&u[1]===d[1]&&0===p[0]&&0===p[1]&&0===f[0]&&0===f[1]&&(2===u.length||u[2]===d[2]&&0===p[2]&&0===f[2])&&(i.k[h].to=null,i.k[h].ti=null));this.effectsSequence=[n.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=e,this.container=c,this.comp=e.comp,this.getValue=s,this.setVValue=a,this.interpolateValue=r,this.frameId=-1;var g=i.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),h=0;h<g;h+=1)this.v[h]=t,this.pv[h]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=o}var d={getProp:function(t,e,r,i,n){var a;if(e.k.length)if("number"==typeof e.k[0])a=new c(t,e,i,n);else switch(r){case 0:a=new h(t,e,i,n);break;case 1:a=new u(t,e,i,n)}else a=new l(t,e,i,n);return a.effectsSequence.length&&n.addDynamicProperty(a),a}};return d}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,n){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[i]||a[i]&&!n)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,n,a,s,o){this.setXYAt(t,e,"v",s,o),this.setXYAt(r,i,"o",s,o),this.setXYAt(n,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,i=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var a,s=this._length-1,o=this._length;for(a=n;a<o;a+=1)t.setTripleAt(e[s][0],e[s][1],i[s][0],i[s][1],r[s][0],r[s][1],a,!1),s-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,r=t._length;for(e=0;e<r;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})),factory.clone=function(t){var e,r=factory.newElement(),i=void 0===t._length?t.v.length:t._length;for(r.setLength(i),r.c=t.c,e=0;e<i;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(t){var e,r=t._length;for(e=0;e<r;e+=1)shapePool.release(t.shapes[e]);t._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=t,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var t=-999999;function e(t,e,r){var i,n,a,s,o,l,c,h,u,d=r.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)i=p[0].s[0],a=!0,d=0;else if(t>=p[p.length-1].t-this.offsetTime)i=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],a=!0;else{for(var f,m,g,v=d,y=p.length-1,b=!0;b&&(f=p[v],!((m=p[v+1]).t-this.offsetTime>t));)v<y-1?v+=1:b=!1;if(g=this.keyframesMetadata[v]||{},d=v,!(a=1===f.h)){if(t>=m.t-this.offsetTime)h=1;else if(t<f.t-this.offsetTime)h=0;else{var _;g.__fnct?_=g.__fnct:(_=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,g.__fnct=_),h=_((t-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}n=m.s?m.s[0]:f.e[0]}i=f.s[0]}for(l=e._length,c=i.i[0].length,r.lastIndex=d,s=0;s<l;s+=1)for(o=0;o<c;o+=1)u=a?i.i[s][o]:i.i[s][o]+(n.i[s][o]-i.i[s][o])*h,e.i[s][o]=u,u=a?i.o[s][o]:i.o[s][o]+(n.o[s][o]-i.o[s][o])*h,e.o[s][o]=u,u=a?i.v[s][o]:i.v[s][o]+(n.v[s][o]-i.v[s][o])*h,e.v[s][o]=u}function r(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,n=this._caching.lastFrame;return n!==t&&(n<r&&e<r||n>i&&e>i)||(this._caching.lastIndex=n<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function n(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,i=t._length;for(r=0;r<i;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var n=3===r?e.pt.k:e.ks.k;this.v=shapePool.clone(n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(e,n,a){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===a?n.pt.k:n.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=a,s.prototype.setVValue=n,s.prototype.addEffect=o,l.prototype.getValue=a,l.prototype.interpolateShape=e,l.prototype.setVValue=n,l.prototype.addEffect=o;var c=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],r=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,a=3!==this.d,s=this.v;s.v[0][0]=e,s.v[0][1]=r-n,s.v[1][0]=a?e+i:e-i,s.v[1][1]=r,s.v[2][0]=e,s.v[2][1]=r+n,s.v[3][0]=a?e-i:e+i,s.v[3][1]=r,s.i[0][0]=a?e-i*t:e+i*t,s.i[0][1]=r-n,s.i[1][0]=a?e+i:e-i,s.i[1][1]=r-n*t,s.i[2][0]=a?e+i*t:e-i*t,s.i[2][1]=r+n,s.i[3][0]=a?e-i:e+i,s.i[3][1]=r+n*t,s.o[0][0]=a?e+i*t:e-i*t,s.o[0][1]=r-n,s.o[1][0]=a?e+i:e-i,s.o[1][1]=r+n*t,s.o[2][0]=a?e-i*t:e+i*t,s.o[2][1]=r+n,s.o[3][0]=a?e-i:e+i,s.o[3][1]=r-n*t}},extendPrototype([DynamicPropertyContainer],e),e}(),h=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,i,n=2*Math.floor(this.pt.v),a=2*Math.PI/n,s=!0,o=this.or.v,l=this.ir.v,c=this.os.v,h=this.is.v,u=2*Math.PI*o/(2*n),d=2*Math.PI*l/(2*n),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<n;t+=1){r=s?c:h,i=s?u:d;var m=(e=s?o:l)*Math.cos(p),g=e*Math.sin(p),v=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),y=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-v*i*r*f,g-y*i*r*f,m+v*i*r*f,g+y*i*r*f,t,!0),s=!s,p+=a*f}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,i=this.or.v,n=this.os.v,a=2*Math.PI*i/(4*e),s=.5*-Math.PI,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=i*Math.cos(s),c=i*Math.sin(s),h=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),u=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-h*a*n*o,c-u*a*n*o,l+h*a*n*o,c+u*a*n*o,t,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,n=bmMin(r,i,this.r.v),a=n*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-i+n,t+r,e-i+n,t+r,e-i+a,0,!0),this.v.setTripleAt(t+r,e+i-n,t+r,e+i-a,t+r,e+i-n,1,!0),0!==n?(this.v.setTripleAt(t+r-n,e+i,t+r-n,e+i,t+r-a,e+i,2,!0),this.v.setTripleAt(t-r+n,e+i,t-r+a,e+i,t-r+n,e+i,3,!0),this.v.setTripleAt(t-r,e+i-n,t-r,e+i-n,t-r,e+i-a,4,!0),this.v.setTripleAt(t-r,e-i+n,t-r,e-i+a,t-r,e-i+n,5,!0),this.v.setTripleAt(t-r+n,e-i,t-r+n,e-i,t-r+a,e-i,6,!0),this.v.setTripleAt(t+r-n,e-i,t+r-a,e-i,t+r-n,e-i,7,!0)):(this.v.setTripleAt(t-r,e+i,t-r+a,e+i,t-r,e+i,2),this.v.setTripleAt(t-r,e-i,t-r,e-i+a,t-r,e-i,3))):(this.v.setTripleAt(t+r,e-i+n,t+r,e-i+a,t+r,e-i+n,0,!0),0!==n?(this.v.setTripleAt(t+r-n,e-i,t+r-n,e-i,t+r-a,e-i,1,!0),this.v.setTripleAt(t-r+n,e-i,t-r+a,e-i,t-r+n,e-i,2,!0),this.v.setTripleAt(t-r,e-i+n,t-r,e-i+n,t-r,e-i+a,3,!0),this.v.setTripleAt(t-r,e+i-n,t-r,e+i-a,t-r,e+i-n,4,!0),this.v.setTripleAt(t-r+n,e+i,t-r+n,e+i,t-r+a,e+i,5,!0),this.v.setTripleAt(t+r-n,e+i,t+r-a,e+i,t+r-n,e+i,6,!0),this.v.setTripleAt(t+r,e+i-n,t+r,e+i-n,t+r,e+i-a,7,!0)):(this.v.setTripleAt(t-r,e-i,t-r+a,e-i,t-r,e-i,1,!0),this.v.setTripleAt(t-r,e+i,t-r,e+i-a,t-r,e+i,2,!0),this.v.setTripleAt(t+r,e+i,t+r-a,e+i,t+r,e+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],t),t}(),d={getShapeProp:function(t,e,r){var i;return 3===r||4===r?i=(3===r?e.pt:e.ks).k.length?new l(t,e,r):new s(t,e,r):5===r?i=new u(t,e):6===r?i=new c(t,e):7===r&&(i=new h(t,e)),i.k&&t.addDynamicProperty(i),i},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}};return d}(),Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,i=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(1,0,0,0,0,i,-n,0,0,n,i,0,0,0,0,1)}function o(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,0,n,0,0,1,0,0,-n,0,i,0,0,0,0,1)}function l(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function c(t,e){return this._t(1,e,t,1,0,0)}function h(t,e){return this.shear(r(t),r(e))}function u(i,n){var a=t(n),s=e(n);return this._t(a,s,0,0,-s,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(i),1,0,0,0,0,1,0,0,0,0,1)._t(a,-s,0,0,s,a,0,0,0,0,1,0,0,0,0,1)}function d(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function p(t,e,r,i,n,a,s,o,l,c,h,u,d,p,f,m){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=i,this.props[4]=n,this.props[5]=a,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=c,this.props[10]=h,this.props[11]=u,this.props[12]=d,this.props[13]=p,this.props[14]=f,this.props[15]=m,this}function f(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function m(t,e,r,i,n,a,s,o,l,c,h,u,d,p,f,m){var g=this.props;if(1===t&&0===e&&0===r&&0===i&&0===n&&1===a&&0===s&&0===o&&0===l&&0===c&&1===h&&0===u)return g[12]=g[12]*t+g[15]*d,g[13]=g[13]*a+g[15]*p,g[14]=g[14]*h+g[15]*f,g[15]*=m,this._identityCalculated=!1,this;var v=g[0],y=g[1],b=g[2],_=g[3],E=g[4],S=g[5],x=g[6],w=g[7],C=g[8],P=g[9],A=g[10],T=g[11],k=g[12],L=g[13],D=g[14],I=g[15];return g[0]=v*t+y*n+b*l+_*d,g[1]=v*e+y*a+b*c+_*p,g[2]=v*r+y*s+b*h+_*f,g[3]=v*i+y*o+b*u+_*m,g[4]=E*t+S*n+x*l+w*d,g[5]=E*e+S*a+x*c+w*p,g[6]=E*r+S*s+x*h+w*f,g[7]=E*i+S*o+x*u+w*m,g[8]=C*t+P*n+A*l+T*d,g[9]=C*e+P*a+A*c+T*p,g[10]=C*r+P*s+A*h+T*f,g[11]=C*i+P*o+A*u+T*m,g[12]=k*t+L*n+D*l+I*d,g[13]=k*e+L*a+D*c+I*p,g[14]=k*r+L*s+D*h+I*f,g[15]=k*i+L*o+D*u+I*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function y(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function _(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function E(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function S(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function x(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function w(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,i=-this.props[4]/t,n=this.props[0]/t,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=r,o.props[4]=i,o.props[5]=n,o.props[12]=a,o.props[13]=s,o}function C(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function P(t){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i[e]=C(t[e]);return i}function A(t,e,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=r[0],i[5]=r[1];else{var n=this.props[0],a=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],c=this.props[13];i[0]=t[0]*n+t[1]*s+l,i[1]=t[0]*a+t[1]*o+c,i[2]=e[0]*n+e[1]*s+l,i[3]=e[0]*a+e[1]*o+c,i[4]=r[0]*n+r[1]*s+l,i[5]=r[0]*a+r[1]*o+c}return i}function T(t,e,r){return this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]]}function k(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function L(){for(var t=0,e=this.props,r="matrix3d(";t<16;)r+=i(1e4*e[t])/1e4,r+=15===t?")":",",t+=1;return r}function D(t){return t<1e-6&&t>0||t>-1e-6&&t<0?i(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=n,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=h,this.skewFromAxis=u,this.shear=c,this.scale=d,this.setTransform=p,this.translate=f,this.transform=m,this.applyToPoint=_,this.applyToX=E,this.applyToY=S,this.applyToZ=x,this.applyToPointArray=T,this.applyToTriplePoints=A,this.applyToPointStringified=k,this.toCSS=L,this.to2dCSS=I,this.clone=y,this.cloneFromProps=b,this.equals=v,this.inversePoints=P,this.inversePoint=C,this.getInverseMatrix=w,this._t=this.transform,this.isIdentity=g,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},_typeof$3(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<e.length;r+=1){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.10.0";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,r){e[t]||(e[t]=r)},t.getModifier=function(t,r,i){return new e[t](r,i)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,n){var a=[];e<=1?a.push({s:t,e:e}):t>=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=[],c=a.length;for(s=0;s<c;s+=1){var h,u;(o=a[s]).e*n<i||o.s*n>i+r||(h=o.s*n<=i?0:(o.s*n-i)/r,u=o.e*n>=i+r?1:(o.e*n-i)/r,l.push([h,u]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,i,n;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),(e=this.s.v>1?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,c,h,u,d=this.shapes.length,p=0;if(r===e)for(n=0;n<d;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(n=0;n<d;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var f,m,g=[];for(n=0;n<d;n+=1)if((f=this.shapes[n]).shape._mdf||this._mdf||t||2===this.m){if(l=(i=f.shape.paths)._length,u=0,!f.shape._mdf&&f.pathsData.length)u=f.totalShapeLength;else{for(c=this.releasePathsData(f.pathsData),o=0;o<l;o+=1)h=bez.getSegmentsLength(i.shapes[o]),c.push(h),u+=h.totalLength;f.totalShapeLength=u,f.pathsData=c}p+=u,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var v,y=e,b=r,_=0;for(n=d-1;n>=0;n-=1)if((f=this.shapes[n]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&d>1?(v=this.calculateShapeEdges(e,r,f.totalShapeLength,_,p),_+=f.totalShapeLength):v=[[y,b]],l=v.length,o=0;o<l;o+=1){y=v[o][0],b=v[o][1],g.length=0,b<=1?g.push({s:f.totalShapeLength*y,e:f.totalShapeLength*b}):y>=1?g.push({s:f.totalShapeLength*(y-1),e:f.totalShapeLength*(b-1)}):(g.push({s:f.totalShapeLength*y,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(b-1)}));var E=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var S=E.pop();this.addPaths(E,m),E=this.addShapes(f,g[1],S)}else this.addPaths(E,m),E=this.addShapes(f,g[1]);this.addPaths(E,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,n,a,s){n.setXYAt(e[0],e[1],"o",a),n.setXYAt(r[0],r[1],"i",a+1),s&&n.setXYAt(t[0],t[1],"v",a),n.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i,n,a,s,o,l,c,h,u=t.pathsData,d=t.shape.paths.shapes,p=t.shape.paths._length,f=0,m=[],g=!0;for(r?(o=r._length,h=r._length):(r=shapePool.newElement(),o=0,h=0),m.push(r),i=0;i<p;i+=1){for(l=u[i].lengths,r.c=d[i].c,a=d[i].c?l.length:l.length+1,n=1;n<a;n+=1)if(f+(s=l[n-1]).addedLength<e.s)f+=s.addedLength,r.c=!1;else{if(f>e.e){r.c=!1;break}e.s<=f&&e.e>=f+s.addedLength?(this.addSegment(d[i].v[n-1],d[i].o[n-1],d[i].i[n],d[i].v[n],r,o,g),g=!1):(c=bez.getNewSegment(d[i].v[n-1],d[i].v[n],d[i].o[n-1],d[i].i[n],(e.s-f)/s.addedLength,(e.e-f)/s.addedLength,l[n-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1),f+=s.addedLength,o+=1}if(d[i].c&&l.length){if(s=l[n-1],f<=e.e){var v=l[n-1].addedLength;e.s<=f&&e.e>=f+v?(this.addSegment(d[i].v[n-1],d[i].o[n-1],d[i].i[0],d[i].v[0],r,o,g),g=!1):(c=bez.getNewSegment(d[i].v[n-1],d[i].v[0],d[i].o[n-1],d[i].i[0],(e.s-f)/v,(e.e-f)/v,l[n-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1)}else r.c=!1;f+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[h][0],r.v[h][1],"i",h),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>e.e)break;i<p-1&&(r=shapePool.newElement(),g=!0,m.push(r),o=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,i=[0,0],n=t._length,a=0;for(a=0;a<n;a+=1)i[0]+=t.v[a][0],i[1]+=t.v[a][1];i[0]/=n,i[1]/=n;var s,o,l,c,h,u,d=shapePool.newElement();for(d.c=t.c,a=0;a<n;a+=1)s=t.v[a][0]+(i[0]-t.v[a][0])*r,o=t.v[a][1]+(i[1]-t.v[a][1])*r,l=t.o[a][0]+(i[0]-t.o[a][0])*-r,c=t.o[a][1]+(i[1]-t.o[a][1])*-r,h=t.i[a][0]+(i[0]-t.i[a][0])*-r,u=t.i[a][1]+(i[1]-t.i[a][1])*-r,d.setTripleAt(s,o,l,c,h,u,a);return d},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var i,n=e.or.k.length;for(i=0;i<n;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,n;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,n=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){i=[],n=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(i[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),n[0]=a.getValueAtTime(a.keyframes[0].t/r,0),n[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(i[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),n[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(i=[a.pv,s.pv],n[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),n[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else i=n=t;this.v.rotate(-Math.atan2(i[1]-n[1],i[0]-n[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}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,i){return new e(t,r,i)}}}();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 i=e*e-4*t*r;if(i<0)return[];var n=-e/(2*t);if(0===i)return[n];var a=Math.sqrt(i)/(2*t);return[n-a,n+a]}function polynomialCoefficients(t,e,r,i){return[3*e-t-3*r+i,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,i,n){n&&pointEqual(t,e)&&(e=lerpPoint(t,i,1/3)),n&&pointEqual(r,i)&&(r=lerpPoint(t,i,2/3));var a=polynomialCoefficients(t[0],e[0],r[0],i[0]),s=polynomialCoefficients(t[1],e[1],r[1],i[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,i]}function extrema(t,e){var r=t.points[0][e],i=t.points[t.points.length-1][e];if(r>i){var n=i;i=r,r=n}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),s=0;s<a.length;s+=1)if(a[s]>0&&a[s]<1){var o=t.point(a[s])[e];o<r?r=o:o>i&&(i=o)}return{min:r,max:i}}function intersectData(t,e,r){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.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)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function intersectsImpl(t,e,r,i,n,a){if(boxIntersect(t,e))if(r>=a||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i)n.push([t.t,e.t]);else{var s=splitData(t),o=splitData(e);intersectsImpl(s[0],o[0],r+1,i,n,a),intersectsImpl(s[0],o[1],r+1,i,n,a),intersectsImpl(s[1],o[0],r+1,i,n,a),intersectsImpl(s[1],o[1],r+1,i,n,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,i){var n=[t[0],t[1],1],a=[e[0],e[1],1],s=[r[0],r[1],1],o=[i[0],i[1],1],l=crossProduct(crossProduct(n,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,i,n,a,s){var o=r-Math.PI/2,l=r+Math.PI/2,c=e[0]+Math.cos(r)*i*n,h=e[1]-Math.sin(r)*i*n;t.setTripleAt(c,h,c+Math.cos(o)*a,h-Math.sin(o)*a,c+Math.cos(l)*s,h-Math.sin(l)*s,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],i=.5*-Math.PI;return[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]]}function getProjectingAngle(t,e){var r=0===e?t.length()-1:e-1,i=(e+1)%t.length(),n=getPerpendicularVector(t.v[r],t.v[i]);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(t,e,r,i,n,a,s){var o=getProjectingAngle(e,r),l=e.v[r%e._length],c=e.v[0===r?e._length-1:r-1],h=e.v[(r+1)%e._length],u=2===a?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,d=2===a?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0;setPoint(t,e.v[r%e._length],o,s,i,d/(2*(n+1)),u/(2*(n+1)),a)}function zigZagSegment(t,e,r,i,n,a){for(var s=0;s<i;s+=1){var o=(s+1)/(i+1),l=2===n?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,c=e.normalAngle(o);setPoint(t,e.point(o),c,a,r,l/(2*(i+1)),l/(2*(i+1)),n),a=-a}return a}function linearOffset(t,e,r){var i=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,i,r),polarOffset(e,i,r)]}function offsetSegment(t,e){var r,i,n,a,s,o,l;r=(l=linearOffset(t.points[0],t.points[1],e))[0],i=l[1],n=(l=linearOffset(t.points[1],t.points[2],e))[0],a=l[1],s=(l=linearOffset(t.points[2],t.points[3],e))[0],o=l[1];var c=lineIntersection(r,i,n,a);null===c&&(c=i);var h=lineIntersection(s,o,n,a);return null===h&&(h=s),new PolynomialBezier(r,c,h,o)}function joinLines(t,e,r,i,n){var a=e.points[3],s=r.points[0];if(3===i)return a;if(pointEqual(a,s))return a;if(2===i){var o=-e.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),h=c?pointDistance(c,a):pointDistance(a,s)/2,u=polarOffset(a,o,2*h*roundCorner);return t.setXYAt(u[0],u[1],"o",t.length()-1),u=polarOffset(s,l,2*h*roundCorner),t.setTripleAt(s[0],s[1],s[0],s[1],u[0],u[1],t.length()),s}var d=lineIntersection(pointEqual(a,e.points[2])?e.points[0]:e.points[2],a,s,pointEqual(s,r.points[1])?r.points[3]:r.points[1]);return d&&pointDistance(d,a)<n?(t.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],t.length()),d):a}function getIntersection(t,e){var r=t.intersections(e);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(t,e){var r=t.slice(),i=e.slice(),n=getIntersection(t[t.length-1],e[0]);return n&&(r[t.length-1]=t[t.length-1].split(n[0])[0],i[0]=e[0].split(n[1])[1]),t.length>1&&e.length>1&&(n=getIntersection(t[0],e[e.length-1]))?[[t[0].split(n[0])[0]],[e[e.length-1].split(n[1])[1]]]:[r,i]}function pruneIntersections(t){for(var e,r=1;r<t.length;r+=1)e=pruneSegmentIntersection(t[r-1],t[r]),t[r-1]=e[0],t[r]=e[1];return t.length>1&&(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,i,n,a,s=t.inflectionPoints();if(0===s.length)return[offsetSegment(t,e)];if(1===s.length||floatEqual(s[1],1))return r=(n=t.split(s[0]))[0],i=n[1],[offsetSegment(r,e),offsetSegment(i,e)];r=(n=t.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return a=(n=n[1].split(o))[0],i=n[1],[offsetSegment(r,e),offsetSegment(a,e),offsetSegment(i,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",n=e.length,a=0;a<n;a+=1)switch(e[a].toLowerCase()){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:i,weight:t.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,i,n,a){var s=a?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-n),l=i.s.v[1]+(1-i.s.v[1])*(1-n);t.translate(i.p.v[0]*s*n,i.p.v[1]*s*n,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*s*n),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/o:o,a?1/l:l),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)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;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,n,a,s=!1;if(this._mdf||t){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(a=0,i=0;i<=this._groups.length-1;i+=1){if(o=a<l,this._groups[i]._render=o,this.changeGroupRender(this._groups[i].it,o),!o){var h=this.elemsData[i].it,u=h[h.length-1];0!==u.transform.op.v?(u.transform.op._mdf=!0,u.transform.op.v=0):u.transform.op._mdf=!1}a+=1}this._currentCopies=l;var d=this.o.v,p=d%1,f=d>0?Math.floor(d):Math.ceil(d),m=this.pMatrix.props,g=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,_=0;if(d>0){for(;_<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),_+=p)}else if(d<0){for(;_>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),_-=p)}for(i=1===this.data.m?0:this._currentCopies-1,n=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(e=this.elemsData[i].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)*(i/(this._currentCopies-1)),0!==_){for((0!==i&&1===n||i!==this._currentCopies-1&&-1===n)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[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]),y=0;y<b;y+=1)r[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<b;y+=1)r[y]=this.matrix.props[y];_+=1,a-=1,i+=n}}else for(a=this._currentCopies,i=0,n=1;a;)r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,i+=n;return s},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r,i=shapePool.newElement();i.c=t.c;var n,a,s,o,l,c,h,u,d,p,f,m,g=t._length,v=0;for(r=0;r<g;r+=1)n=t.v[r],s=t.o[r],a=t.i[r],n[0]===s[0]&&n[1]===s[1]&&n[0]===a[0]&&n[1]===a[1]?0!==r&&r!==g-1||t.c?(o=0===r?t.v[g-1]:t.v[r-1],c=(l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(l/2,e)/l:0,h=f=n[0]+(o[0]-n[0])*c,u=m=n[1]-(n[1]-o[1])*c,d=h-(h-n[0])*roundCorner,p=u-(u-n[1])*roundCorner,i.setTripleAt(h,u,d,p,f,m,v),v+=1,o=r===g-1?t.v[0]:t.v[r+1],c=(l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(l/2,e)/l:0,h=d=n[0]+(o[0]-n[0])*c,u=p=n[1]+(o[1]-n[1])*c,f=h-(h-n[0])*roundCorner,m=u-(u-n[1])*roundCorner,i.setTripleAt(h,u,d,p,f,m,v),v+=1):(i.setTripleAt(n[0],n[1],s[0],s[1],a[0],a[1],v),v+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],v),v+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,r=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[e]:[]:[e-i,e+i].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),i=lerpPoint(this.points[2],this.points[3],t),n=lerpPoint(e,r,t),a=lerpPoint(r,i,t),s=lerpPoint(n,a,t);return[new PolynomialBezier(this.points[0],e,n,s,!0),new PolynomialBezier(s,a,i,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 i=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,i,r),i},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,i){var n=t._length,a=shapePool.newElement();if(a.c=t.c,t.c||(n-=1),0===n)return a;var s=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(a,t,0,e,r,i,s);for(var l=0;l<n;l+=1)s=zigZagSegment(a,o,e,r,i,-s),o=l!==n-1||t.c?PolynomialBezier.shapeSegment(t,(l+1)%n):null,zigZagCorner(a,t,l+1,e,r,i,s);return a},ZigZagModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),h=this.pointsType.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l,c,h));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(t,e,r,i){var n=shapePool.newElement();n.c=t.c;var a,s,o,l=t.length();t.c||(l-=1);var c=[];for(a=0;a<l;a+=1)o=PolynomialBezier.shapeSegment(t,a),c.push(offsetSegmentSplit(o,e));if(!t.c)for(a=l-1;a>=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(t,a),c.push(offsetSegmentSplit(o,e));c=pruneIntersections(c);var h=null,u=null;for(a=0;a<c.length;a+=1){var d=c[a];for(u&&(h=joinLines(n,u,d[0],r,i)),u=d[d.length-1],s=0;s<d.length;s+=1)o=d[s],h&&pointEqual(o.points[0],h)?n.setXYAt(o.points[1][0],o.points[1][1],"o",n.length()-1):n.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],n.length()),n.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],n.length()),h=o.points[3]}return c.length&&joinLines(n,u,c[0][0],r,i),n},OffsetPathModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amount.v,c=this.miterLimit.v,h=this.lineJoin;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l,h,c));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t={w:0,size:0,shapes:[],data:{shapes:[]}},e=[];e=e.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],i=[65039,8205];function n(t,e){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=e;var i=createTag("span");i.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var n=i.offsetWidth;return i.style.fontFamily=function(t){var e,r=t.split(","),i=r.length,n=[];for(e=0;e<i;e+=1)"sans-serif"!==r[e]&&"monospace"!==r[e]&&n.push(r[e]);return n.join(",")}(t)+", "+e,{node:i,w:n,parent:r}}function a(t,e){var r,i=document.body&&e?"svg":"canvas",n=getFontProperties(t);if("svg"===i){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",t.fFamily),a.setAttribute("font-style",n.style),a.setAttribute("font-weight",n.weight),a.textContent="1",t.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",t.fClass)):a.style.fontFamily=t.fFamily,e.appendChild(a),r=a}else{var s=new OffscreenCanvas(500,500).getContext("2d");s.font=n.style+" "+n.weight+" 100px "+t.fFamily,r=s}return{measureText:function(t){return"svg"===i?(r.textContent=t,r.getComputedTextLength()):r.measureText(t).width}}}var s=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};s.isModifier=function(t,e){var i=t.toString(16)+e.toString(16);return-1!==r.indexOf(i)},s.isZeroWidthJoiner=function(t,e){return e?t===i[0]&&e===i[1]:t===i[1]},s.isCombinedCharacter=function(t){return-1!==e.indexOf(t)};var o={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var r,i,n=t.length,a=this.chars.length;for(e=0;e<n;e+=1){for(r=0,i=!1;r<a;)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(i=!0),r+=1;i||(this.chars.push(t[e]),a+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=a(t),t.cache={}})),void(this.fonts=t.list);var r,i=t.list,s=i.length,o=s;for(r=0;r<s;r+=1){var l,c,h=!0;if(i[r].loaded=!1,i[r].monoCase=n(i[r].fFamily,"monospace"),i[r].sansCase=n(i[r].fFamily,"sans-serif"),i[r].fPath){if("p"===i[r].fOrigin||3===i[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[r].fFamily+'"], style[f-origin="3"][f-family="'+i[r].fFamily+'"]')).length>0&&(h=!1),h){var u=createTag("style");u.setAttribute("f-forigin",i[r].fOrigin),u.setAttribute("f-origin",i[r].origin),u.setAttribute("f-family",i[r].fFamily),u.type="text/css",u.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",e.appendChild(u)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(i[r].fPath)&&(h=!1);if(h){var d=createTag("link");d.setAttribute("f-forigin",i[r].fOrigin),d.setAttribute("f-origin",i[r].origin),d.type="text/css",d.rel="stylesheet",d.href=i[r].fPath,document.body.appendChild(d)}}else if("t"===i[r].fOrigin||2===i[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)i[r].fPath===l[c].src&&(h=!1);if(h){var p=createTag("link");p.setAttribute("f-forigin",i[r].fOrigin),p.setAttribute("f-origin",i[r].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",i[r].fPath),e.appendChild(p)}}}else i[r].loaded=!0,o-=1;i[r].helper=a(i[r],e),i[r].cache={},this.fonts.push(i[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(e,r,i){for(var n=0,a=this.chars.length;n<a;){if(this.chars[n].ch===e&&this.chars[n].style===r&&this.chars[n].fFamily===i)return this.chars[n];n+=1}return("string"==typeof e&&13!==e.charCodeAt(0)||!e)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",e,r,i)),t},getFontByName:function(t){for(var e=0,r=this.fonts.length;e<r;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,r){var i=this.getFontByName(e),n=t.charCodeAt(0);if(!i.cache[n+1]){var a=i.helper;if(" "===t){var s=a.measureText("|"+t+"|"),o=a.measureText("||");i.cache[n+1]=(s-o)/100}else i.cache[n+1]=a.measureText(t)/100}return i.cache[n+1]*r},checkLoadedFonts:function(){var t,e,r,i=this.fonts.length,n=i;for(t=0;t<i;t+=1)this.fonts[t].loaded?n-=1:"n"===this.fonts[t].fOrigin||0===this.fonts[t].origin?this.fonts[t].loaded=!0:(e=this.fonts[t].monoCase.node,r=this.fonts[t].monoCase.w,e.offsetWidth!==r?(n-=1,this.fonts[t].loaded=!0):(e=this.fonts[t].sansCase.node,r=this.fonts[t].sansCase.w,e.offsetWidth!==r&&(n-=1,this.fonts[t].loaded=!0)),this.fonts[t].loaded&&(this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent),this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));0!==n&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return s.prototype=o,s}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!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;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return blendModeEnums[t]||""}),blendModeEnums;function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r,i=t.ef||[];this.effectElements=[];var n,a=i.length;for(r=0;r<a;r+=1)n=new GroupEffect(i[r],e),this.effectElements.push(n)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,n,a=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,c,h,u,d,p=this.masksProperties,f=0,m=[],g=createElementID(),v="clipPath",y="clip-path";for(i=0;i<s;i+=1)if(("a"!==p[i].mode&&"n"!==p[i].mode||p[i].inv||100!==p[i].o.k||p[i].o.x)&&(v="mask",y="mask"),"s"!==p[i].mode&&"i"!==p[i].mode||0!==f?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),n=createNS("path"),"n"===p[i].mode)this.viewData[i]={op:PropertyFactory.getProp(this.element,p[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[i],3),elem:n,lastPath:""},a.appendChild(n);else{var b;if(f+=1,n.setAttribute("fill","s"===p[i].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[i].x.k?(v="mask",y="mask",d=PropertyFactory.getProp(this.element,p[i].x,0,null,this.element),b=createElementID(),(h=createNS("filter")).setAttribute("id",b),(u=createNS("feMorphology")).setAttribute("operator","erode"),u.setAttribute("in","SourceGraphic"),u.setAttribute("radius","0"),h.appendChild(u),a.appendChild(h),n.setAttribute("stroke","s"===p[i].mode?"#000000":"#ffffff")):(u=null,d=null),this.storedData[i]={elem:n,x:d,expan:u,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===p[i].mode){l=m.length;var _=createNS("g");for(o=0;o<l;o+=1)_.appendChild(m[o]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",g+"_"+f),E.appendChild(n),a.appendChild(E),_.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+f+")"),m.length=0,m.push(_)}else m.push(n);p[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,p[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[i],3),invRect:c},this.viewData[i].prop.k||this.drawPath(p[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(v),s=m.length,i=0;i<s;i+=1)this.maskElement.appendChild(m[i]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+g+")"),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 i,n=this.data.ef.length,a=this.data.ef;for(r=0;r<n;r+=1){switch(i=null,a[r].ty){case 0:i=new SliderEffect(a[r],e,this);break;case 1:i=new AngleEffect(a[r],e,this);break;case 2:i=new ColorEffect(a[r],e,this);break;case 3:i=new PointEffect(a[r],e,this);break;case 4:case 7:i=new CheckboxEffect(a[r],e,this);break;case 10:i=new LayerIndexEffect(a[r],e,this);break;case 11:i=new MaskIndexEffect(a[r],e,this);break;case 5:i=new EffectsManager(a[r],e,this);break;default:i=new NoValueEffect(a[r],e,this)}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),r=t("effects"),i=t("shape"),n=t("text"),a=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var s=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=a(this):4===this.data.ty?(this.layerInterface.shapeInterface=i(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=n(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(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,i=this.layers.length;for(this.completeLayers=!0,e=i-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:default: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)}},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;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var r,i=t.length,n=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<n;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var i=this.elements,n=this.layers,a=0,s=n.length;a<s;)n[a].ind==e&&(i[a]&&!0!==i[a]?(r.push(i[a]),i[a].setAsParent(),void 0!==n[a].parent?this.buildElementParenting(t,n[a].parent,r):t.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(t))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementByPath=function(t){var e,r=t.shift();if("number"==typeof r)e=this.elements[r];else{var i,n=this.elements.length;for(i=0;i<n;i+=1)if(this.elements[i].data.nm===r){e=this.elements[i];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<i;r+=1)t=this.hierarchy[r].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r,i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&e.splice(0,0,n.finalTransform),n=n.comp):i=!1;var a,s=e.length;for(r=0;r<s;r+=1)a=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-a[0],t[1]-a[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var n=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),n.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,(t+=" h-"+this.globalData.compSize.w)+" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,r){var i,n,a=" M"+e.v[0][0]+","+e.v[0][1];for(n=e._length,i=1;i<n;i+=1)a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&n>1&&(a+=" C"+e.o[i-1][0]+","+e.o[i-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};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),t}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(t){var e,r,i="SourceGraphic",n=t.data.ef?t.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],e=0;e<n;e+=1){r=null;var l=t.data.ef[e].ty;registeredEffects[l]&&(r=new(0,registeredEffects[l].effect)(s,t.effectsManager.effectElements[e],t,idPrefix+o,i),i=idPrefix+o,registeredEffects[l].countsAsEffect&&(o+=1)),r&&this.filters.push(r)}o&&(t.globalData.defs.appendChild(s),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e,r){registeredEffects[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("symbol");e.setAttribute("id",this.layerId);var r=createNS("g");r.appendChild(this.layerElement),e.appendChild(r),t=r,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var i=createNS("clipPath"),n=createNS("path");n.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var a=createElementID();if(i.setAttribute("id",a),i.appendChild(n),this.globalData.defs.appendChild(i),this.checkMasks()){var s=createNS("g");s.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")"),s.appendChild(this.layerElement),this.transformedElement=s,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+a+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},getMatte:function(t){if(!this.matteMasks[t]){var e,r,i,n,a=this.layerId+"_"+t;if(1===t||3===t){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type",3===t?"luminance":"alpha"),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(i),this.globalData.defs.appendChild(s),featureSupport.maskType||1!==t||(s.setAttribute("mask-type","luminance"),e=createElementID(),r=filtersFactory.createFilter(e),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(i),s.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2===t){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),e=createElementID(),r=filtersFactory.createFilter(e);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var h=createNS("feFuncA");h.setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),c.appendChild(h),this.globalData.defs.appendChild(r);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),l.appendChild(u),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(i),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),l.appendChild(u),n.appendChild(this.layerElement),l.appendChild(n)),this.globalData.defs.appendChild(o)}this.matteMasks[t]=a}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r<i;){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,i=r.length;i;)if(r[i-=1].elem===t)return void(r[i].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var i=0,n=t.length;i<n;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,r,i){var n;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var a,s=e.length||0;for(n=0;n<s;n+=1)a=PropertyFactory.getProp(t,e[n].v,0,0,this),this.k=a.k||this.k,this.dataProps[n]={n:e[n].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2;r<i;){if(Math.abs(t[4*r]-t[4*e+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,i,n=4*this.data.p;for(e=0;e<n;e+=1)r=e%4==0?100:255,i=Math.round(this.prop.v[e]*r),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(n=this.prop.v.length,e=4*this.data.p;e<n;e+=1)r=e%2==0?100:1,i=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var n,a,s,o=[];for(s=4*e.g.p,a=0;a<s;a+=4)n=createNS("stop"),i.appendChild(n),o.push(n);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,n,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(1===t.t?"linearGradient":"radialGradient");c.setAttribute("id",o),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),n=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var h=this.stops;for(i=4*t.g.p;i<n;i+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),h.push(r);s.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===t.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&s.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=a,this.ost=h,this.maskId=l,e.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,r,i){if(0===e)return"";var n,a=t.o,s=t.i,o=t.v,l=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(n=1;n<e;n+=1)l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(s[n][0],s[n][1])+" "+i.applyToPointStringified(o[n][0],o[n][1]);return r&&e&&(l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(s[0][0],s[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function r(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function n(r,i,n){var a,s,o,l,c,h,u,d,p,f,m,g=i.styles.length,v=i.lvl;for(h=0;h<g;h+=1){if(l=i.sh._mdf||n,i.styles[h].lvl<v){for(d=e.reset(),f=v-i.styles[h].lvl,m=i.transformers.length-1;!l&&f>0;)l=i.transformers[m].mProps._mdf||l,f-=1,m-=1;if(l)for(f=v-i.styles[h].lvl,m=i.transformers.length-1;f>0;)p=i.transformers[m].mProps.v.props,d.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),f-=1,m-=1}else d=t;if(s=(u=i.sh.paths)._length,l){for(o="",a=0;a<s;a+=1)(c=u.shapes[a])&&c._length&&(o+=buildShapeString(c,c._length,c.c,d));i.caches[h]=o}else o=i.caches[h];i.styles[h].d+=!0===r.hd?"":o,i.styles[h]._mdf=l||i.styles[h]._mdf}}function a(t,e,r){var i=e.style;(e.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function s(t,e,r){o(t,e,r),l(0,e,r)}function o(t,e,r){var i,n,a,s,o,l=e.gf,c=e.g._hasOpacity,h=e.s.v,u=e.e.v;if(e.o._mdf||r){var d="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(d,e.o.v)}if(e.s._mdf||r){var p=1===t.t?"x1":"cx",f="x1"===p?"y1":"cy";l.setAttribute(p,h[0]),l.setAttribute(f,h[1]),c&&!e.g._collapsable&&(e.of.setAttribute(p,h[0]),e.of.setAttribute(f,h[1]))}if(e.g._cmdf||r){i=e.cst;var m=e.g.c;for(a=i.length,n=0;n<a;n+=1)(s=i[n]).setAttribute("offset",m[4*n]+"%"),s.setAttribute("stop-color","rgb("+m[4*n+1]+","+m[4*n+2]+","+m[4*n+3]+")")}if(c&&(e.g._omdf||r)){var g=e.g.o;for(a=(i=e.g._collapsable?e.cst:e.ost).length,n=0;n<a;n+=1)s=i[n],e.g._collapsable||s.setAttribute("offset",g[2*n]+"%"),s.setAttribute("stop-opacity",g[2*n+1])}if(1===t.t)(e.e._mdf||r)&&(l.setAttribute("x2",u[0]),l.setAttribute("y2",u[1]),c&&!e.g._collapsable&&(e.of.setAttribute("x2",u[0]),e.of.setAttribute("y2",u[1])));else if((e.s._mdf||e.e._mdf||r)&&(o=Math.sqrt(Math.pow(h[0]-u[0],2)+Math.pow(h[1]-u[1],2)),l.setAttribute("r",o),c&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.e._mdf||e.h._mdf||e.a._mdf||r){o||(o=Math.sqrt(Math.pow(h[0]-u[0],2)+Math.pow(h[1]-u[1],2)));var v=Math.atan2(u[1]-h[1],u[0]-h[0]),y=e.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var b=o*y,_=Math.cos(v+e.a.v)*b+h[0],E=Math.sin(v+e.a.v)*b+h[1];l.setAttribute("fx",_),l.setAttribute("fy",E),c&&!e.g._collapsable&&(e.of.setAttribute("fx",_),e.of.setAttribute("fy",E))}}function l(t,e,r){var i=e.style,n=e.d;n&&(n._mdf||r)&&n.dashStr&&(i.pElem.setAttribute("stroke-dasharray",n.dashStr),i.pElem.setAttribute("stroke-dashoffset",n.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.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 n;case"tr":return r;case"no":return i;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,i,n,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=n,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,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,i,n=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r<a;r+=1){for(i=this.stylesList[r],o=!1,s.length=0,t=0;t<n;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(s.push(e),o=e._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),n=i.pElem;return"st"===t.ty?r=new SVGStrokeStyleData(this,t,i):"fl"===t.ty?r=new SVGFillStyleData(this,t,i):"gf"===t.ty||"gs"===t.ty?(r=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),n.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===t.ty&&(r=new SVGNoStyleData(this,t,i)),"st"!==t.ty&&"gs"!==t.ty||(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),n.setAttribute("fill-opacity","0"),1===t.lj&&n.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&n.setAttribute("fill-rule","evenodd"),t.ln&&n.setAttribute("id",t.ln),t.cl&&n.setAttribute("class",t.cl),t.bm&&(n.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var n=new SVGShapeData(e,r,ShapePropertyFactory.getShapeProp(this,t,i,this));return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,n,a,s){var o,l,c,h,u,d,p=[].concat(a),f=t.length-1,m=[],g=[];for(o=f;o>=0;o-=1){if((d=this.searchProcessedElement(t[o]))?e[o]=r[d-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)d?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],n),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),m.push(e[o].style);else if("gr"===t[o].ty){if(d)for(c=e[o].it.length,l=0;l<c;l+=1)e[o].prevViewData[l]=e[o].it[l];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,n+1,p,s),t[o]._render&&e[o].gr.parentNode!==i&&i.appendChild(e[o].gr)}else"tr"===t[o].ty?(d||(e[o]=this.createTransformElement(t[o],i)),h=e[o].transform,p.push(h)):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?(d||(e[o]=this.createShapeElement(t[o],p,n)),this.setElementStyles(e[o])):"tm"===t[o].ty||"rd"===t[o].ty||"ms"===t[o].ty||"pb"===t[o].ty||"zz"===t[o].ty||"op"===t[o].ty?(d?(u=e[o]).closed=!1:((u=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=u,this.shapeModifiers.push(u)),g.push(u)):"rp"===t[o].ty&&(d?(u=e[o]).closed=!0:(u=ShapeModifiers.getModifier(t[o].ty),e[o]=u,u.init(this,t,o,e),this.shapeModifiers.push(u),s=!1),g.push(u));this.addProcessedElement(t[o],o+1)}for(f=m.length,o=0;o<f;o+=1)m[o].closed=!0;for(f=g.length,o=0;o<f;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,r,i,n,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,s=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,s=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,s=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(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 i;this.lock=!0,this._mdf=!1;var n=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;i<n;i+=1)a=r!==this.keysIndex?this.effectsSequence[i](a,a.t):this.effectsSequence[i](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;r<=i-1&&!(r===i-1||t[r+1].t>e);)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,i=[],n=0,a=t.length,s=!1;n<a;)e=t.charCodeAt(n),FontManager.isCombinedCharacter(e)?i[i.length-1]+=t.charAt(n):e>=55296&&e<=56319?(r=t.charCodeAt(n+1))>=56320&&r<=57343?(s||FontManager.isModifier(e,r)?(i[i.length-1]+=t.substr(n,2),s=!1):i.push(t.substr(n,2)),n+=1):i.push(t.charAt(n)):e>56319?(r=t.charCodeAt(n+1),FontManager.isZeroWidthJoiner(e,r)?(s=!0,i[i.length-1]+=t.substr(n,2),n+=1):i.push(t.charAt(n))):FontManager.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(n),s=!0):i.push(t.charAt(n)),n+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,n,a,s,o,l=this.elem.globalData.fontManager,c=this.data,h=[],u=0,d=c.m.g,p=0,f=0,m=0,g=[],v=0,y=0,b=l.getFontByName(t.f),_=0,E=getFontProperties(b);t.fWeight=E.weight,t.fStyle=E.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var S,x=t.tr/1e3*t.finalSize;if(t.sz)for(var w,C,P=!0,A=t.sz[0],T=t.sz[1];P;){w=0,v=0,r=(C=this.buildFinalText(t.t)).length,x=t.tr/1e3*t.finalSize;var k=-1;for(e=0;e<r;e+=1)S=C[e].charCodeAt(0),i=!1," "===C[e]?k=e:13!==S&&3!==S||(v=0,i=!0,w+=t.finalLineHeight||1.2*t.finalSize),l.chars?(o=l.getCharData(C[e],b.fStyle,b.fFamily),_=i?0:o.w*t.finalSize/100):_=l.measureText(C[e],t.f,t.finalSize),v+_>A&&" "!==C[e]?(-1===k?r+=1:e=k,w+=t.finalLineHeight||1.2*t.finalSize,C.splice(e,k===e?1:0,"\r"),k=-1,v=0):(v+=_,v+=x);w+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&T<w?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=C,r=t.finalText.length,P=!1)}v=-x,_=0;var L,D=0;for(e=0;e<r;e+=1)if(i=!1,13===(S=(L=t.finalText[e]).charCodeAt(0))||3===S?(D=0,g.push(v),y=v>y?v:y,v=-2*x,n="",i=!0,m+=1):n=L,l.chars?(o=l.getCharData(L,b.fStyle,l.getFontByName(t.f).fFamily),_=i?0:o.w*t.finalSize/100):_=l.measureText(n,t.f,t.finalSize)," "===L?D+=_+x:(v+=_+x+D,D=0),h.push({l:_,an:_,add:p,n:i,anIndexes:[],val:n,line:m,animatorJustifyOffset:0}),2==d){if(p+=_,""===n||" "===n||e===r-1){for(""!==n&&" "!==n||(p-=_);f<=e;)h[f].an=p,h[f].ind=u,h[f].extra=_,f+=1;u+=1,p=0}}else if(3==d){if(p+=_,""===n||e===r-1){for(""===n&&(p-=_);f<=e;)h[f].an=p,h[f].ind=u,h[f].extra=_,f+=1;p=0,u+=1}}else h[u].ind=u,h[u].extra=0,u+=1;if(t.l=h,y=v>y?v:y,g.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=y,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var I,M,O,F,R=c.a;s=R.length;var N=[];for(a=0;a<s;a+=1){for((I=R[a]).a.sc&&(t.strokeColorAnim=!0),I.a.sw&&(t.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(t.fillColorAnim=!0),F=0,O=I.s.b,e=0;e<r;e+=1)(M=h[e]).anIndexes[a]=F,(1==O&&""!==M.val||2==O&&""!==M.val&&" "!==M.val||3==O&&(M.n||" "==M.val||e==r-1)||4==O&&(M.n||e==r-1))&&(1===I.s.rn&&N.push(F),F+=1);c.a[a].s.totalChars=F;var B,V=-1;if(1===I.s.rn)for(e=0;e<r;e+=1)V!=(M=h[e]).anIndexes[a]&&(V=M.anIndexes[a],B=N.splice(Math.floor(Math.random()*N.length),1)[0]),M.anIndexes[a]=B}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var n=0,a=0,s=1,o=1;this.ne.v>0?n=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(n,a,s,o).get,c=0,h=this.finalS,u=this.finalE,d=this.data.sh;if(2===d)c=l(c=u===h?i>=u?1:0:t(0,e(.5/(u-h)+(i-h)/(u-h),1)));else if(3===d)c=l(c=u===h?i>=u?0:1:1-t(0,e(.5/(u-h)+(i-h)/(u-h),1)));else if(4===d)u===h?c=0:(c=t(0,e(.5/(u-h)+(i-h)/(u-h),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===d){if(u===h)c=0;else{var p=u-h,f=-p/2+(i=e(t(0,i+.5-h),u-h)),m=p/2;c=Math.sqrt(1-f*f/(m*m))}c=l(c)}else 6===d?(u===h?c=0:(i=e(t(0,i+.5-h),u-h),c=(1+Math.cos(Math.PI+2*Math.PI*i/(u-h)))/2),c=l(c)):(i>=r(h)&&(c=t(0,e(i-h<0?e(u,1)-(h-i):u-i,1))),c=l(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var v=.5-.5*g;c<v?c=0:(c=(c-v)/g)>1&&(c=1)}return c*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,i=this.s.v/e+r,n=this.e.v/e+r;if(i>n){var a=i;i=n,n=a}this.finalS=i,this.finalE=n}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(t,e,r){return new i(t,e,r)}}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},n=PropertyFactory.getProp,a=e.a;this.a={r:a.r?n(t,a.r,0,degToRads,r):i,rx:a.rx?n(t,a.rx,0,degToRads,r):i,ry:a.ry?n(t,a.ry,0,degToRads,r):i,sk:a.sk?n(t,a.sk,0,degToRads,r):i,sa:a.sa?n(t,a.sa,0,degToRads,r):i,s:a.s?n(t,a.s,1,.01,r):i,a:a.a?n(t,a.a,1,0,r):i,o:a.o?n(t,a.o,0,.01,r):i,p:a.p?n(t,a.p,1,0,r):i,sw:a.sw?n(t,a.sw,0,0,r):i,sc:a.sc?n(t,a.sc,1,0,r):i,fc:a.fc?n(t,a.fc,1,0,r):i,fh:a.fh?n(t,a.fh,0,0,r):i,fs:a.fs?n(t,a.fs,0,.01,r):i,fb:a.fb?n(t,a.fb,0,.01,r):i,t:a.t?n(t,a.t,0,0,r):i},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,i=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,n,a,s,o,l,c,h,u,d,p,f,m,g,v,y,b,_,E=this._moreOptions.alignment.v,S=this._animatorsData,x=this._textData,w=this.mHelper,C=this._renderType,P=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,k=_.v;for(this._pathData.r.v&&(k=k.reverse()),s={tLength:0,segments:[]},a=k._length-1,v=0,n=0;n<a;n+=1)T=bez.buildBezierData(k.v[n],k.v[n+1],[k.o[n][0]-k.v[n][0],k.o[n][1]-k.v[n][1]],[k.i[n+1][0]-k.v[n+1][0],k.i[n+1][1]-k.v[n+1][1]]),s.tLength+=T.segmentLength,s.segments.push(T),v+=T.segmentLength;n=a,_.v.c&&(T=bez.buildBezierData(k.v[n],k.v[0],[k.o[n][0]-k.v[n][0],k.o[n][1]-k.v[n][1]],[k.i[0][0]-k.v[0][0],k.i[0][1]-k.v[0][1]]),s.tLength+=T.segmentLength,s.segments.push(T),v+=T.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,d=0,u=1,c=0,h=!0,m=s.segments,o<0&&_.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),u=(f=m[d=m.length-1].points).length-1;o<0;)o+=f[u].partialLength,(u-=1)<0&&(u=(f=m[d-=1].points).length-1);p=(f=m[d].points)[u-1],g=(l=f[u]).partialLength}a=A.length,r=0,i=0;var L,D,I,M,O,F=1.2*t.finalSize*.714,R=!0;I=S.length;var N,B,V,q,z,j,G,H,W,$,U,Y,X=-1,K=o,Z=d,J=u,Q=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,it=0,nt=2===t.j?-.5:-1,at=0,st=!0;for(n=0;n<a;n+=1)if(A[n].n){for(rt&&(rt+=it);at<n;)A[at].animatorJustifyOffset=rt,at+=1;rt=0,st=!0}else{for(D=0;D<I;D+=1)(L=S[D].a).t.propType&&(st&&2===t.j&&(it+=L.t.v*nt),(O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?rt+=L.t.v*O[0]*nt:rt+=L.t.v*O*nt);st=!1}for(rt&&(rt+=it);at<n;)A[at].animatorJustifyOffset=rt,at+=1}for(n=0;n<a;n+=1){if(w.reset(),q=1,A[n].n)r=0,i+=t.yOffset,i+=R?1:0,o=K,R=!1,this._hasMaskedPath&&(u=J,p=(f=m[d=Z].points)[u-1],g=(l=f[u]).partialLength,c=0),tt="",U="",W="",Y="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==A[n].line){switch(t.j){case 1:o+=v-t.lineWidths[A[n].line];break;case 2:o+=(v-t.lineWidths[A[n].line])/2}Q=A[n].line}X!==A[n].ind&&(A[X]&&(o+=A[X].extra),o+=A[n].an/2,X=A[n].ind),o+=E[0]*A[n].an*.005;var ot=0;for(D=0;D<I;D+=1)(L=S[D].a).p.propType&&((O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?ot+=L.p.v[0]*O[0]:ot+=L.p.v[0]*O),L.a.propType&&((O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?ot+=L.a.v[0]*O[0]:ot+=L.a.v[0]*O);for(h=!0,this._pathData.a.v&&(o=.5*A[0].an+(v-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*X/(a-1),o+=this._pathData.f.v);h;)c+g>=o+ot||!f?(y=(o+ot-c)/l.partialLength,B=p.point[0]+(l.point[0]-p.point[0])*y,V=p.point[1]+(l.point[1]-p.point[1])*y,w.translate(-E[0]*A[n].an*.005,-E[1]*F*.01),h=!1):f&&(c+=l.partialLength,(u+=1)>=f.length&&(u=0,m[d+=1]?f=m[d].points:_.v.c?(u=0,f=m[d=0].points):(c-=l.partialLength,f=null)),f&&(p=l,g=(l=f[u]).partialLength));N=A[n].an/2-A[n].add,w.translate(-N,0,0)}else N=A[n].an/2-A[n].add,w.translate(-N,0,0),w.translate(-E[0]*A[n].an*.005,-E[1]*F*.01,0);for(D=0;D<I;D+=1)(L=S[D].a).t.propType&&(O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?O.length?o+=L.t.v*O[0]:o+=L.t.v*O:O.length?r+=L.t.v*O[0]:r+=L.t.v*O));for(t.strokeWidthAnim&&(j=t.sw||0),t.strokeColorAnim&&(z=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(G=[t.fc[0],t.fc[1],t.fc[2]]),D=0;D<I;D+=1)(L=S[D].a).a.propType&&((O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?w.translate(-L.a.v[0]*O[0],-L.a.v[1]*O[1],L.a.v[2]*O[2]):w.translate(-L.a.v[0]*O,-L.a.v[1]*O,L.a.v[2]*O));for(D=0;D<I;D+=1)(L=S[D].a).s.propType&&((O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?w.scale(1+(L.s.v[0]-1)*O[0],1+(L.s.v[1]-1)*O[1],1):w.scale(1+(L.s.v[0]-1)*O,1+(L.s.v[1]-1)*O,1));for(D=0;D<I;D+=1){if(L=S[D].a,O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars),L.sk.propType&&(O.length?w.skewFromAxis(-L.sk.v*O[0],L.sa.v*O[1]):w.skewFromAxis(-L.sk.v*O,L.sa.v*O)),L.r.propType&&(O.length?w.rotateZ(-L.r.v*O[2]):w.rotateZ(-L.r.v*O)),L.ry.propType&&(O.length?w.rotateY(L.ry.v*O[1]):w.rotateY(L.ry.v*O)),L.rx.propType&&(O.length?w.rotateX(L.rx.v*O[0]):w.rotateX(L.rx.v*O)),L.o.propType&&(O.length?q+=(L.o.v*O[0]-q)*O[0]:q+=(L.o.v*O-q)*O),t.strokeWidthAnim&&L.sw.propType&&(O.length?j+=L.sw.v*O[0]:j+=L.sw.v*O),t.strokeColorAnim&&L.sc.propType)for(H=0;H<3;H+=1)O.length?z[H]+=(L.sc.v[H]-z[H])*O[0]:z[H]+=(L.sc.v[H]-z[H])*O;if(t.fillColorAnim&&t.fc){if(L.fc.propType)for(H=0;H<3;H+=1)O.length?G[H]+=(L.fc.v[H]-G[H])*O[0]:G[H]+=(L.fc.v[H]-G[H])*O;L.fh.propType&&(G=O.length?addHueToRGB(G,L.fh.v*O[0]):addHueToRGB(G,L.fh.v*O)),L.fs.propType&&(G=O.length?addSaturationToRGB(G,L.fs.v*O[0]):addSaturationToRGB(G,L.fs.v*O)),L.fb.propType&&(G=O.length?addBrightnessToRGB(G,L.fb.v*O[0]):addBrightnessToRGB(G,L.fb.v*O))}}for(D=0;D<I;D+=1)(L=S[D].a).p.propType&&(O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars),this._hasMaskedPath?O.length?w.translate(0,L.p.v[1]*O[0],-L.p.v[2]*O[1]):w.translate(0,L.p.v[1]*O,-L.p.v[2]*O):O.length?w.translate(L.p.v[0]*O[0],L.p.v[1]*O[1],-L.p.v[2]*O[2]):w.translate(L.p.v[0]*O,L.p.v[1]*O,-L.p.v[2]*O));if(t.strokeWidthAnim&&(W=j<0?0:j),t.strokeColorAnim&&($="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),t.fillColorAnim&&t.fc&&(U="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(w.translate(0,-t.ls),w.translate(0,E[1]*F*.01+i,0),this._pathData.p.v){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var lt=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(lt+=180),w.rotate(-lt*Math.PI/180)}w.translate(B,V,0),o-=E[0]*A[n].an*.005,A[n+1]&&X!==A[n+1].ind&&(o+=A[n].an/2,o+=.001*t.tr*t.finalSize)}else{switch(w.translate(r,i,0),t.ps&&w.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:w.translate(A[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[n].line]),0,0);break;case 2:w.translate(A[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[n].line])/2,0,0)}w.translate(0,-t.ls),w.translate(N,0,0),w.translate(E[0]*A[n].an*.005,E[1]*F*.01,0),r+=A[n].l+.001*t.tr*t.finalSize}"html"===C?tt=w.toCSS():"svg"===C?tt=w.to2dCSS():et=[w.props[0],w.props[1],w.props[2],w.props[3],w.props[4],w.props[5],w.props[6],w.props[7],w.props[8],w.props[9],w.props[10],w.props[11],w.props[12],w.props[13],w.props[14],w.props[15]],Y=q}P<=n?(M=new LetterProps(Y,W,$,U,tt,et),this.renderedLetters.push(M),P+=1,this.lettersChangedFlag=!0):(M=this.renderedLetters[n],this.lettersChangedFlag=M.update(Y,W,$,U,tt,et)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var r,i,n=e.length,a="";for(r=0;r<n;r+=1)"sh"===e[r].ty&&(i=e[r].ks.k,a+=buildShapeString(i,i.i.length,!0,t));return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,n){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0)}e.translate(i,n,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function ISolidElement(t,e,r){this.initElement(t,e,r)}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),n=createElementID();i.setAttribute("id",n),i.textContent=e.title,this.svgElement.appendChild(i),r+=n}if(e&&e.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var t;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),t=0;t<15;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(t,e){var r;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i=this.masksProperties.length,n=!1;for(r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(n=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n,a=4;"rc"===e.ty?a=5:"el"===e.ty?a=6:"sr"===e.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,a,t);var s,o=r.length;for(n=0;n<o;n+=1)r[n].closed||(s={transforms:i.addTransformSequence(r[n].transforms),trNodes:[]},this.styledShapes.push(s),r[n].elements.push(s))}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CanvasRendererBase(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var n,a=t.ks.or.k.length;for(n=0;n<a;n+=1)t.ks.or.k[n].to=null,t.ks.or.k[n].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,i=[],n="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(n),n=""):n+=t[e],e+=1;return i.push(n),i},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var r=t.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var n=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;e=o.length;var c=this.mHelper,h=this.data.singleShape,u=0,d=0,p=!0,f=.001*r.tr*r.finalSize;if(!h||l||r.sz){var m,g=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!h||0===t){if(s=g>t?this.textSpans[t].span:createNS(l?"g":"text"),g<=t){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=s,l){var v=createNS("g");s.appendChild(v),this.textSpans[t].childSpan=v}this.textSpans[t].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(c.reset(),h&&(o[t].n&&(u=-f,d+=r.yOffset,d+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(r,c,o[t].line,u,d),u+=o[t].l||0,u+=f),l){var y;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)y=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,r.finalSize)),y=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=y,y._debug=!0,y.prepareFrame(0),y.renderFrame(),this.textSpans[t].childSpan.appendChild(y.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else h&&s.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),s.textContent=o[t].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}h&&s&&s.setAttribute("d","")}else{var E=this.textContainer,S="start";switch(r.j){case 1:S="end";break;case 2:S="middle";break;default:S="start"}E.setAttribute("text-anchor",S),E.setAttribute("letter-spacing",f);var x=this.buildTextContents(r.finalText);for(e=x.length,d=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)(s=this.textSpans[t].span||createNS("tspan")).textContent=x[t],s.setAttribute("x",0),s.setAttribute("y",d),s.style.display="inherit",E.appendChild(s),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=s,d+=r.finalLineHeight;this.layerElement.appendChild(E)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,i,n,a=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(e=s.length,t=0;t<e;t+=1)s[t].n||(r=a[t],i=this.textSpans[t].span,(n=this.textSpans[t].glyph)&&n.renderFrame(),r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("opacity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var n=createElementID();r.setAttribute("id",n),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,r=this.layers.length;for(e=0;e<r;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);if(e[t]=r,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt){var i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===i)return;if(this.elements[i]&&!0!==this.elements[i]){var n=e[i].getMatte(this.layers[t].tt);r.setMatte(n)}else this.buildItem(i),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){var i="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,n=this.elements[i].getMatte(this.layers[e].tt);t.setMatte(n);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=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<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var i,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement()&&(i=this.elements[n].getBaseElement()),n+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var r=0;for(r=this._length;r<t;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,i="_";for(e=0;e<r;e+=1)i+=t[e].transform.key+"_";var n=this.sequences[i];return n||(n={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=n,this.sequenceList.push(n)),n},processSequence:function(t,e){for(var r,i=0,n=t.transforms.length,a=e;i<n&&!e;){if(t.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a)for(t.finalTransform.reset(),i=n-1;i>=0;i-=1)r=t.transforms[i].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<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,i,n=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),t=0;t<s;t+=1)if("n"!==this.masksProperties[t].mode){var o;this.masksProperties[t].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),i=this.viewData[t].v,e=n.applyToPointArray(i.v[0][0],i.v[0][1],0),a.moveTo(e[0],e[1]);var l=i._length;for(o=1;o<l;o+=1)r=n.applyToTriplePoints(i.o[o-1],i.i[o],i.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=n.applyToTriplePoints(i.o[o-1],i.i[0],i.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,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)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var t=0===this.data.ty;this.globalData.renderer.save(t),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(t),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},i={};if("fl"===t.ty||"st"===t.ty?(i.c=PropertyFactory.getProp(this,t.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.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),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(r.wi=i.w.v),t.d){var n=new DashProperty(this,t.d,"canvas",this);i.d=n,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},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<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,i,n){var a,s,o,l,c,h,u=t.length-1,d=[],p=[],f=[].concat(n);for(a=u;a>=0;a-=1){if((l=this.searchProcessedElement(t[a]))?e[a]=r[l-1]:t[a]._shouldRender=i,"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],f),d.push(e[a].style);else if("gr"===t[a].ty){if(l)for(o=e[a].it.length,s=0;s<o;s+=1)e[a].prevViewData[s]=e[a].it[s];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,i,f)}else"tr"===t[a].ty?(l||(h=this.createTransformElement(t[a]),e[a]=h),f.push(e[a]),this.addTransformToStyleList(e[a])):"sh"===t[a].ty||"rc"===t[a].ty||"el"===t[a].ty||"sr"===t[a].ty?l||(e[a]=this.createShapeElement(t[a])):"tm"===t[a].ty||"rd"===t[a].ty||"pb"===t[a].ty||"zz"===t[a].ty||"op"===t[a].ty?(l?(c=e[a]).closed=!1:((c=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=c,this.shapeModifiers.push(c)),p.push(c)):"rp"===t[a].ty&&(l?(c=e[a]).closed=!0:(c=ShapeModifiers.getModifier(t[a].ty),e[a]=c,c.init(this,t,a,e),this.shapeModifiers.push(c),i=!1),p.push(c));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),u=p.length,a=0;a<u;a+=1)p[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,i,n,a,s,o,l,c=this.stylesList.length,h=this.globalData.renderer,u=this.globalData.canvasContext;for(t=0;t<c;t+=1)if(("st"!==(o=(l=this.stylesList[t]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(h.save(),a=l.elements,"st"===o||"gs"===o?(u.strokeStyle="st"===o?l.co:l.grd,u.lineWidth=l.wi,u.lineCap=l.lc,u.lineJoin=l.lj,u.miterLimit=l.ml||0):u.fillStyle="fl"===o?l.co:l.grd,h.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&u.beginPath(),h.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,e=0;e<r;e+=1){for("st"!==o&&"gs"!==o||(u.beginPath(),l.da&&(u.setLineDash(l.da),u.lineDashOffset=l.do)),n=(s=a[e].trNodes).length,i=0;i<n;i+=1)"m"===s[i].t?u.moveTo(s[i].p[0],s[i].p[1]):"c"===s[i].t?u.bezierCurveTo(s[i].pts[0],s[i].pts[1],s[i].pts[2],s[i].pts[3],s[i].pts[4],s[i].pts[5]):u.closePath();"st"!==o&&"gs"!==o||(u.stroke(),l.da&&u.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&u.fill(l.r),h.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var n,a;for(a=t,n=e.length-1;n>=0;n-=1)"tr"===e[n].ty?(a=r[n].transform,this.renderShapeTransform(t,a)):"sh"===e[n].ty||"el"===e[n].ty||"rc"===e[n].ty||"sr"===e[n].ty?this.renderPath(e[n],r[n]):"fl"===e[n].ty?this.renderFill(e[n],r[n],a):"st"===e[n].ty?this.renderStroke(e[n],r[n],a):"gf"===e[n].ty||"gs"===e[n].ty?this.renderGradientFill(e[n],r[n],a):"gr"===e[n].ty?this.renderShape(a,e[n].it,r[n].it):e[n].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,i,n,a=t.trNodes,s=e.paths,o=s._length;a.length=0;var l=t.transforms.finalTransform;for(n=0;n<o;n+=1){var c=s.shapes[n];if(c&&c.v){for(i=c._length,r=1;r<i;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===i&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&i&&(a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),a.push({t:"z"}))}}t.trNodes=a}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,i=e.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var i,n=e.style;if(!n.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var a,s=this.globalData.canvasContext,o=e.s.v,l=e.e.v;if(1===t.t)i=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),h=Math.atan2(l[1]-o[1],l[0]-o[0]),u=e.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var d=c*u,p=Math.cos(h+e.a.v)*d+o[0],f=Math.sin(h+e.a.v)*d+o[1];i=s.createRadialGradient(p,f,0,o[0],o[1],c)}var m=t.g.p,g=e.g.c,v=1;for(a=0;a<m;a+=1)e.g._hasOpacity&&e.g._collapsable&&(v=e.g.o[2*a+1]),i.addColorStop(g[4*a]/100,"rgba("+g[4*a+1]+","+g[4*a+2]+","+g[4*a+3]+","+v+")");n.grd=i}n.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var i=e.style,n=e.d;n&&(n._mdf||this._isFirstFrame)&&(i.da=n.dashArray,i.do=n.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i,n,a,s,o,l,c,h,u,d,p,f,m=this.globalData.fontManager.getFontByName(t.f),g=t.l,v=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,n=t.finalText.length;var y=this.data.singleShape,b=.001*t.tr*t.finalSize,_=0,E=0,S=!0,x=0;for(i=0;i<n;i+=1){s=(a=this.globalData.fontManager.getCharData(t.finalText[i],m.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&a.data||{},v.reset(),y&&g[i].n&&(_=-b,E+=t.yOffset,E+=S?1:0,S=!1),u=(c=s.shapes?s.shapes[0].it:[]).length,v.scale(t.finalSize/100,t.finalSize/100),y&&this.applyTextPropertiesToMatrix(t,v,g[i].line,_,E),p=createSizedArray(u-1);var w=0;for(h=0;h<u;h+=1)if("sh"===c[h].ty){for(l=c[h].ks.k.i.length,d=c[h].ks.k,f=[],o=1;o<l;o+=1)1===o&&f.push(v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),f.push(v.applyToX(d.o[o-1][0],d.o[o-1][1],0),v.applyToY(d.o[o-1][0],d.o[o-1][1],0),v.applyToX(d.i[o][0],d.i[o][1],0),v.applyToY(d.i[o][0],d.i[o][1],0),v.applyToX(d.v[o][0],d.v[o][1],0),v.applyToY(d.v[o][0],d.v[o][1],0));f.push(v.applyToX(d.o[o-1][0],d.o[o-1][1],0),v.applyToY(d.o[o-1][0],d.o[o-1][1],0),v.applyToX(d.i[0][0],d.i[0][1],0),v.applyToY(d.i[0][0],d.i[0][1],0),v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),p[w]=f,w+=1}y&&(_+=g[i].l,_+=b),this.textSpans[x]?this.textSpans[x].elem=p:this.textSpans[x]={elem:p},x+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,r,i,n,a,s=this.canvasContext;s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;e=c.length;var h,u,d=null,p=null,f=null;for(t=0;t<e;t+=1)if(!c[t].n){if((o=l[t])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?d!==o.fc&&(d=o.fc,s.fillStyle=o.fc):d!==this.values.fill&&(d=this.values.fill,s.fillStyle=this.values.fill),i=(h=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(u=h[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(u[n],u[n+1],u[n+2],u[n+3],u[n+4],u[n+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?f!==o.sw&&(f=o.sw,s.lineWidth=o.sw):f!==this.values.sWidth&&(f=this.values.sWidth,s.lineWidth=this.values.sWidth),o&&o.sc?p!==o.sc&&(p=o.sc,s.strokeStyle=o.sc):p!==this.values.stroke&&(p=this.values.stroke,s.strokeStyle=this.values.stroke),i=(h=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(u=h[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(u[n],u[n+1],u[n+2],u[n+3],u[n+4],u[n+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,i=t.getContext("2d"),n=this.img.width,a=this.img.height,s=n/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?e=(r=a)*o:r=(e=n)/o,i.drawImage(this.img,(n-e)/2,(a-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.cTr.props;this.transformMat.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=t<0?0:t,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(t){if(this.renderConfig.clearCanvas){t&&this.canvasContext.save();var e,r=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var i=this.contextData.saved[this.contextData.cArrPos];for(e=0;e<16;e+=1)i[e]=r[e];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var e,r=this.contextData.saved[this.contextData.cArrPos],i=this.contextData.cTr.props;for(e=0;e<16;e+=1)i[e]=r[e];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){var r,i,n,a;if(this.reset(),t?(r=t,i=e,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=i):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,i=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=i*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",c=l.substr(0,4),h=l.substr(4);n=r/i,(a=this.transformCanvas.w/this.transformCanvas.h)>n&&"meet"===o||a<n&&"slice"===o?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(a<n&&"meet"===o||a>n&&"slice"===o)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(a<n&&"meet"===o||a>n&&"slice"===o)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===h&&(a>n&&"meet"===o||a<n&&"slice"===o)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===h&&(a>n&&"meet"===o||a<n&&"slice"===o)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=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 i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;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,i=t.length;for(r=0;r<i;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,i,n,a,s,o=t.sh.v,l=t.transformers,c=o._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)i=this.getTransformedPoint(l,o.v[r]),n=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(i,n,a,s,e);o.c&&(i=this.getTransformedPoint(l,o.v[r]),n=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(i,n,a,s,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,n){this.getBoundsOfCurve(t,e,r,i);var a=this.shapeBoundingBox;n.x=bmMin(a.left,n.x),n.xMax=bmMax(a.right,n.xMax),n.y=bmMin(a.top,n.y),n.yMax=bmMax(a.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,i){for(var n,a,s,o,l,c,h,u=[[t[0],i[0]],[t[1],i[1]]],d=0;d<2;++d)a=6*t[d]-12*e[d]+6*r[d],n=-3*t[d]+9*e[d]-9*r[d]+3*i[d],s=3*e[d]-3*t[d],a|=0,s|=0,0==(n|=0)&&0===a||(0===n?(o=-s/a)>0&&o<1&&u[d].push(this.calculateF(o,t,e,r,i,d)):(l=a*a-4*s*n)>=0&&((c=(-a+bmSqrt(l))/(2*n))>0&&c<1&&u[d].push(this.calculateF(c,t,e,r,i,d)),(h=(-a-bmSqrt(l))/(2*n))>0&&h<1&&u[d].push(this.calculateF(h,t,e,r,i,d))));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,i,n,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it?this.calculateBoundingBox(t[r].it,e):t[r]&&t[r].style&&t[r].w&&this.expandStrokeBoundingBox(t[r].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var r=0;if(t.keyframes){for(var i=0;i<t.keyframes.length;i+=1){var n=t.keyframes[i].s;n>r&&(r=n)}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<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=n,i.webkitTransform=n}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var i,n,a=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{e.fontFamily=a.fFamily;var s=t.fWeight,o=t.fStyle;e.fontStyle=o,e.fontWeight=s}var l,c,h,u=t.l;n=u.length;var d,p=this.mHelper,f="",m=0;for(i=0;i<n;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?h=(c=this.textSpans[m]).children[0]:((c=createTag("div")).style.lineHeight=0,(h=createNS("svg")).appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],l=this.textPaths[m]):(styleDiv(c=createTag("span")),styleDiv(l=createTag("span")),c.appendChild(l)),this.globalData.fontManager.chars){var g,v=this.globalData.fontManager.getCharData(t.finalText[i],a.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=v?v.data:null,p.reset(),g&&g.shapes&&g.shapes.length&&(d=g.shapes[0].it,p.scale(t.finalSize/100,t.finalSize/100),f=this.createPathShape(p,d),l.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),g&&g.shapes){document.body.appendChild(h);var y=h.getBBox();h.setAttribute("width",y.width+2),h.setAttribute("height",y.height+2),h.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var b=h.style,_="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";b.transform=_,b.webkitTransform=_,u[i].yOffset=y.y-1}else h.setAttribute("width",1),h.setAttribute("height",1);c.appendChild(h)}}else if(l.textContent=u[i].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var E=l.style,S="translate3d(0,"+-t.finalSize/1.2+"px,0)";E.transform=S,E.webkitTransform=S}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,i,n,a,s,o=0,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(i=c.length,r=0;r<i;r+=1)c[r].n?o+=1:(a=this.textSpans[r],s=this.textPaths[r],n=l[o],o+=1,n._mdf.m&&(this.isMasked?a.setAttribute("transform",n.m):(a.style.webkitTransform=n.m,a.style.transform=n.m)),a.style.opacity=n.o,n.sw&&n._mdf.sw&&s.setAttribute("stroke-width",n.sw),n.sc&&n._mdf.sc&&s.setAttribute("stroke",n.sc),n.fc&&n._mdf.fc&&(s.setAttribute("fill",n.fc),s.style.color=n.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var h=this.innerElem.getBBox();if(this.currentBBox.w!==h.width&&(this.currentBBox.w=h.width,this.svgElement.setAttribute("width",h.width)),this.currentBBox.h!==h.height&&(this.currentBBox.h=h.height,this.svgElement.setAttribute("height",h.height)),this.currentBBox.w!==h.width+2||this.currentBBox.h!==h.height+2||this.currentBBox.x!==h.x-1||this.currentBBox.y!==h.y-1){this.currentBBox.w=h.width+2,this.currentBBox.h=h.height+2,this.currentBBox.x=h.x-1,this.currentBBox.y=h.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=u,t.webkitTransform=u}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r,i,n=this.comp.threeDElements.length;for(t=0;t<n;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){r=e.perspectiveElem.style,i=e.container.style;var a=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,i.transformOrigin=s,i.mozTransformOrigin=s,i.webkitTransformOrigin=s,r.transform=o,r.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.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 n;n=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(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),s=[n[0]/a,n[1]/a,n[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),c=Math.atan2(s[0],-s[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var h=!this._prevMat.equals(this.mat);if((h||this.pe._mdf)&&this.comp.threeDElements){var u,d,p;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(u=this.comp.threeDElements[t]).type){if(h){var f=this.mat.toCSS();(p=u.container.style).transform=f,p.webkitTransform=f}this.pe._mdf&&((d=u.perspectiveElem.style).perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var n,a,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s],n=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||n),s+=1;n?i.ddd&&this.supports3d||this.layerElement.insertBefore(r,n):i.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r,i,n=createTag("div");styleDiv(n);var a=createTag("div");if(styleDiv(a),"3d"===e){(r=n.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var s="50% 50%";r.webkitTransformOrigin=s,r.mozTransformOrigin=s,r.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=a.style).transform=o,i.webkitTransform=o}n.appendChild(a);var l={container:a,perspectiveElem:n,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==i&&(i="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==i&&(i="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(r=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;r<i;){if(e<=this.threeDElements[r].endPos){for(var n,a=this.threeDElements[r].startPos;a<e;)this.elements[a]&&this.elements[a].getBaseElement&&(n=this.elements[a].getBaseElement()),a+=1;n?this.threeDElements[r].container.insertBefore(t,n):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,i=e.style;i.width=t.w+"px",i.height=t.h+"px",this.resizerElem=e,styleDiv(e),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),i.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var a=createNS("defs");n.appendChild(a),this.data=t,this.setupGlobalData(t,n),this.globalData.defs=a,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,r,i,n=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=n/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(t=n/this.globalData.compSize.w,e=n/this.globalData.compSize.w,r=0,i=(a-this.globalData.compSize.h*(n/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(n-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,i=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+i+",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,i=this.threeDElements.length;for(t=0;t<i;t+=1){var n=this.threeDElements[t].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,r=t.length,i=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var n=this.createComp(t[e],i,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var r,i=0;i<e;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(t){function e(e){for(var r=0,i=t.layers.length;r<i;){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e},Expressions=function(){var t={initExpressions:function(t){var e=0,r=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&function(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===r.indexOf(t)&&r.push(t)}}};return t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var r,i=createSizedArray(e.viewData.length),n=e.viewData.length;for(r=0;r<n;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<n;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(i){if(!t.numKeys)return 0;var n;n="s"in e.keyframes[i-1]?e.keyframes[i-1].s:"e"in e.keyframes[i-2]?e.keyframes[i-2].e:e.keyframes[i-2].s;var a="unidimensional"===r?new Number(n):Object.assign({},n);return a.time=e.keyframes[i-1].t/e.elem.comp.globalData.frameRate,a.value="unidimensional"===r?n[0]:n,a},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function i(){return t}return function(n){return n?"unidimensional"===n.propType?function(e){e&&"pv"in e||(e=t);var i=1/e.mult,n=e.pv*i,a=new Number(n);return a.value=n,r(a,e,"unidimensional"),function(){return e.k&&e.getValue(),n=e.v*i,a.value!==n&&((a=new Number(n)).value=n,r(a,e,"unidimensional")),a}}(n):function(t){t&&"pv"in t||(t=e);var i=1/t.mult,n=t.data&&t.data.l||t.pv.length,a=createTypedArray("float32",n),s=createTypedArray("float32",n);return a.value=s,r(a,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<n;e+=1)s[e]=t.v[e]*i,a[e]=s[e];return a}}(n):i}}(),TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var r,i,n,a;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?a=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),i=ExpressionPropertyInterface(t.py),t.pz&&(n=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[r(),i(),n?n():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,t)}function r(t,e){var r=this.getMatrix(e);return this.applyPoint(r,t)}function i(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,t)}function n(t,e){var r=this.getMatrix(e);return this.invertPoint(r,t)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function s(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function o(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(c){var h;function u(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return u.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return h;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return u.effect;case"ADBE Text Properties":return u.textInterface;default:return null}}u.getMatrix=t,u.invertPoint=s,u.applyPoint=a,u.toWorld=r,u.toWorldVec=e,u.fromWorld=n,u.fromWorldVec=i,u.toComp=r,u.fromComp=o,u.sampleImage=l,u.sourceRectAtTime=c.sourceRectAtTime.bind(c),u._elem=c;var d=getDescriptor(h=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(u,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(h,"rotation"),scale:getDescriptor(h,"scale"),position:getDescriptor(h,"position"),opacity:getDescriptor(h,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return h}},active:{get:function(){return c.isInRange}}}),u.startTime=c.data.st,u.index=c.data.ind,u.source=c.data.refId,u.height=0===c.data.ty?c.data.h:100,u.width=0===c.data.ty?c.data.w:100,u.inPoint=c.data.ip/c.comp.globalData.frameRate,u.outPoint=c.data.op/c.comp.globalData.frameRate,u._name=c.data.nm,u.registerMaskInterface=function(t){u.mask=new MaskManagerInterface(t,c)},u.registerEffectsInterface=function(t){u.effect=t},u}}(),propertyGroupFactory=function(t,e){return function(r){return(r=void 0===r?1:r)<=0?t:e(r-1)}},PropertyInterface=function(t,e){var r={_name:t};return function(t){return(t=void 0===t?1:t)<=0?r:e(t-1)}},EffectsExpressionInterface=function(){var t={createEffectsInterface:function(t,r){if(t.effectsManager){var i,n=[],a=t.data.ef,s=t.effectsManager.effectElements.length;for(i=0;i<s;i+=1)n.push(e(a[i],t.effectsManager.effectElements[i],r,t));var o=t.data.ef||[],l=function(t){for(i=0,s=o.length;i<s;){if(t===o[i].nm||t===o[i].mn||t===o[i].ix)return n[i];i+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}};function e(t,i,n,a){function s(e){for(var r=t.ef,i=0,n=r.length;i<n;){if(e===r[i].nm||e===r[i].mn||e===r[i].ix)return 5===r[i].ty?c[i]:c[i]();i+=1}throw new Error}var o,l=propertyGroupFactory(s,n),c=[],h=t.ef.length;for(o=0;o<h;o+=1)5===t.ef[o].ty?c.push(e(t.ef[o],i.effectElements[o],i.effectElements[o].propertyGroup,a)):c.push(r(i.effectElements[o],t.ef[o].ty,a,l));return"ADBE Color Control"===t.mn&&Object.defineProperty(s,"color",{get:function(){return c[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return t.np}},_name:{value:t.nm},propertyGroup:{value:l}}),s.enabled=0!==t.en,s.active=s.enabled,s}function r(t,e,r,i){var n=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",i)),function(){return 10===e?r.comp.compInterface(t.p.v):n()}}return t}(),ShapePathInterface=function(t,e,r){var i=e.sh;function n(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?n.path:null}var a=propertyGroupFactory(n,r);return i.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(n,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),n},ShapeExpressionInterface=function(){function t(t,s,d){var p,f=[],m=t?t.length:0;for(p=0;p<m;p+=1)"gr"===t[p].ty?f.push(e(t[p],s[p],d)):"fl"===t[p].ty?f.push(r(t[p],s[p],d)):"st"===t[p].ty?f.push(n(t[p],s[p],d)):"tm"===t[p].ty?f.push(a(t[p],s[p],d)):"tr"===t[p].ty||("el"===t[p].ty?f.push(o(t[p],s[p],d)):"sr"===t[p].ty?f.push(l(t[p],s[p],d)):"sh"===t[p].ty?f.push(ShapePathInterface(t[p],s[p],d)):"rc"===t[p].ty?f.push(c(t[p],s[p],d)):"rd"===t[p].ty?f.push(h(t[p],s[p],d)):"rp"===t[p].ty?f.push(u(t[p],s[p],d)):"gf"===t[p].ty?f.push(i(t[p],s[p],d)):f.push((t[p],s[p],function(){return null})));return f}function e(e,r,i){var n=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return n.content;default:return n.transform}};n.propertyGroup=propertyGroupFactory(n,i);var a=function(e,r,i){var n,a=function(t){for(var e=0,r=n.length;e<r;){if(n[e]._name===t||n[e].mn===t||n[e].propertyIndex===t||n[e].ix===t||n[e].ind===t)return n[e];e+=1}return"number"==typeof t?n[t-1]:null};a.propertyGroup=propertyGroupFactory(a,i),n=t(e.it,r.it,a.propertyGroup),a.numProperties=n.length;var o=s(e.it[e.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=o,a.propertyIndex=e.cix,a._name=e.nm,a}(e,r,n.propertyGroup),o=s(e.it[e.it.length-1],r.it[r.it.length-1],n.propertyGroup);return n.content=a,n.transform=o,Object.defineProperty(n,"_name",{get:function(){return e.nm}}),n.numProperties=e.np,n.propertyIndex=e.ix,n.nm=e.nm,n.mn=e.mn,n}function r(t,e,r){function i(t){return"Color"===t||"color"===t?i.color:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function i(t,e,r){function i(t){return"Start Point"===t||"start point"===t?i.startPoint:"End Point"===t||"end point"===t?i.endPoint:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",r)),e.e.setGroupProperty(PropertyInterface("End Point",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function n(t,e,r){var i,n=propertyGroupFactory(c,r),a=propertyGroupFactory(l,n);function s(r){Object.defineProperty(l,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var o=t.d?t.d.length:0,l={};for(i=0;i<o;i+=1)s(i),e.d.dataProps[i].p.setGroupProperty(a);function c(t){return"Color"===t||"color"===t?c.color:"Opacity"===t||"opacity"===t?c.opacity:"Stroke Width"===t||"stroke width"===t?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),e.w.setGroupProperty(PropertyInterface("Stroke Width",n)),c}function a(t,e,r){function i(e){return e===t.e.ix||"End"===e||"end"===e?i.end:e===t.s.ix?i.start:e===t.o.ix?i.offset:null}var n=propertyGroupFactory(i,r);return i.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",n)),e.e.setGroupProperty(PropertyInterface("End",n)),e.o.setGroupProperty(PropertyInterface("Offset",n)),i.propertyIndex=t.ix,i.propertyGroup=r,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),i.mn=t.mn,i}function s(t,e,r){function i(e){return t.a.ix===e||"Anchor Point"===e?i.anchorPoint:t.o.ix===e||"Opacity"===e?i.opacity:t.p.ix===e||"Position"===e?i.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?i.rotation:t.s.ix===e||"Scale"===e?i.scale:t.sk&&t.sk.ix===e||"Skew"===e?i.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?i.skewAxis:null}var n=propertyGroupFactory(i,r);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",n)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",n)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",n)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",n)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",n)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",n)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",n))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",n)),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),i.ty="tr",i.mn=t.mn,i.propertyGroup=r,i}function o(t,e,r){function i(e){return t.p.ix===e?i.position:t.s.ix===e?i.size:null}var n=propertyGroupFactory(i,r);i.propertyIndex=t.ix;var a="tm"===e.sh.ty?e.sh.prop:e.sh;return a.s.setGroupProperty(PropertyInterface("Size",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:t.nm}}),i.mn=t.mn,i}function l(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.rotation:t.pt.ix===e?i.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?i.outerRadius:t.os.ix===e?i.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?i.innerRoundness:null:i.innerRadius}var n=propertyGroupFactory(i,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",n)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",n)),a.pt.setGroupProperty(PropertyInterface("Points",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),t.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",n)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",n))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:t.nm}}),i.mn=t.mn,i}function c(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?i.size:null}var n=propertyGroupFactory(i,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,a.p.setGroupProperty(PropertyInterface("Position",n)),a.s.setGroupProperty(PropertyInterface("Size",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:t.nm}}),i.mn=t.mn,i}function h(t,e,r){function i(e){return t.r.ix===e||"Round Corners 1"===e?i.radius:null}var n=propertyGroupFactory(i,r),a=e;return i.propertyIndex=t.ix,a.rd.setGroupProperty(PropertyInterface("Radius",n)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:t.nm}}),i.mn=t.mn,i}function u(t,e,r){function i(e){return t.c.ix===e||"Copies"===e?i.copies:t.o.ix===e||"Offset"===e?i.offset:null}var n=propertyGroupFactory(i,r),a=e;return i.propertyIndex=t.ix,a.c.setGroupProperty(PropertyInterface("Copies",n)),a.o.setGroupProperty(PropertyInterface("Offset",n)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:t.nm}}),i.mn=t.mn,i}return function(e,r,i){var n;function a(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?i:n[t-1];for(var e=0,r=n.length;e<r;){if(n[e]._name===t)return n[e];e+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return i})),n=t(e,r,a.propertyGroup),a.numProperties=n.length,a._name="Contents",a}}(),TextExpressionInterface=function(t){var e,r;function i(t){return"ADBE Text Document"===t?i.sourceText:null}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var i=t.textProperty.currentData.t;return i!==e&&(t.textProperty.currentData.t=e,(r=new String(i)).value=i||new String(i)),r}}),i};function _typeof$2(t){return _typeof$2="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},_typeof$2(t)}var FootageInterface=(dataInterfaceFactory=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",r=t.getFootageData();function i(t){if(r[t])return e=t,"object"===_typeof$2(r=r[t])?i:r;var n=t.indexOf(e);if(-1!==n){var a=parseInt(t.substr(n+e.length),10);return"object"===_typeof$2(r=r[a])?i:r}return""}return function(){return e="",r=t.getFootageData(),i}}(t),e},function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(t),e}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}function _typeof$1(t){return _typeof$1="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},_typeof$1(t)}function seedRandom(t,e){var r=this,i=256,n=e.pow(i,6),a=e.pow(2,52),s=2*a,o=255;function l(t){var e,r=t.length,n=this,a=0,s=n.i=n.j=0,l=n.S=[];for(r||(t=[r++]);a<i;)l[a]=a++;for(a=0;a<i;a++)l[a]=l[s=o&s+t[a%r]+(e=l[a])],l[s]=e;n.g=function(t){for(var e,r=0,a=n.i,s=n.j,l=n.S;t--;)e=l[a=o&a+1],r=r*i+l[o&(l[a]=l[s=o&s+e])+(l[s]=e)];return n.i=a,n.j=s,r}}function c(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function h(t,e){var r,i=[],n=_typeof$1(t);if(e&&"object"==n)for(r in t)try{i.push(h(t[r],e-1))}catch(t){}return i.length?i:"string"==n?t:t+"\0"}function u(t,e){for(var r,i=t+"",n=0;n<i.length;)e[o&n]=o&(r^=19*e[o&n])+i.charCodeAt(n++);return d(e)}function d(t){return String.fromCharCode.apply(0,t)}e.seedrandom=function(o,p,f){var m=[],g=u(h((p=!0===p?{entropy:!0}:p||{}).entropy?[o,d(t)]:null===o?function(){try{var e=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(e),d(e)}catch(e){var n=r.navigator,a=n&&n.plugins;return[+new Date,r,a,r.screen,d(t)]}}():o,3),m),v=new l(m),y=function(){for(var t=v.g(6),e=n,r=0;t<a;)t=(t+r)*i,e*=i,r=v.g(1);for(;t>=s;)t/=2,e/=2,r>>>=1;return(t+r)/e};return y.int32=function(){return 0|v.g(4)},y.quick=function(){return v.g(4)/4294967296},y.double=y,u(d(v.S),t),(p.pass||f||function(t,r,i,n){return n&&(n.S&&c(n,v),t.state=function(){return c(v,{})}),i?(e.random=t,r):t})(y,g,"global"in p?p.global:this==e,p.state)},u(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},_typeof(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,i=t.length,n=[];for(r=0;r<i;r+=1)n[r]=-t[r];return n}return t.propType?t.v:-t}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=_typeof(t),i=_typeof(e);if("string"===r||"string"===i)return t+e;if(isNumerable(r,t)&&isNumerable(i,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,a=t.length,s=e.length,o=[];n<a||n<s;)("number"==typeof t[n]||t[n]instanceof Number)&&("number"==typeof e[n]||e[n]instanceof Number)?o[n]=t[n]+e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}var add=sum;function sub(t,e){var r=_typeof(t),i=_typeof(e);if(isNumerable(r,t)&&isNumerable(i,e))return"string"===r&&(t=parseInt(t,10)),"string"===i&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,a=t.length,s=e.length,o=[];n<a||n<s;)("number"==typeof t[n]||t[n]instanceof Number)&&("number"==typeof e[n]||e[n]instanceof Number)?o[n]=t[n]-e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}function mul(t,e){var r,i,n,a=_typeof(t),s=_typeof(e);if(isNumerable(a,t)&&isNumerable(s,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t[i]*e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t*e[i];return r}return 0}function div(t,e){var r,i,n,a=_typeof(t),s=_typeof(e);if(isNumerable(a,t)&&isNumerable(s,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t[i]/e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t/e[i];return r}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t,10)),"string"==typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var i=r;r=e,e=i}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 i=Math.min(t.length,e.length),n=0;for(r=0;r<i;r+=1)n+=Math.pow(e[r]-t[r],2);return Math.sqrt(n)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,i=t[0],n=t[1],a=t[2],s=Math.max(i,n,a),o=Math.min(i,n,a),l=(s+o)/2;if(s===o)e=0,r=0;else{var c=s-o;switch(r=l>.5?c/(2-s-o):c/(s+o),s){case i:e=(n-a)/c+(n<a?6:0);break;case n:e=(a-i)/c+2;break;case a:e=(i-n)/c+4}e/=6}return[e,r,l,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(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,i,n=t[0],a=t[1],s=t[2];if(0===a)e=s,i=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;e=hue2rgb(l,o,n+1/3),r=hue2rgb(l,o,n),i=hue2rgb(l,o,n-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,n){if(void 0!==i&&void 0!==n||(i=e,n=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(t<=e)return i;if(t>=r)return n;var s,o=r===e?0:(t-e)/(r-e);if(!i.length)return i+(n-i)*o;var l=i.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=i[s]+(n[s]-i[s])*o;return c}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var n=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)n[r]=t[r]+a*(e[r]-t[r]);return n}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,r,i){var n,a=t.length,s=shapePool.newElement();s.setPathData(!!i,a);var o,l,c=[0,0];for(n=0;n<a;n+=1)o=e&&e[n]?e[n]:c,l=r&&r[n]?r[n]:c,s.setTripleAt(t[n][0],t[n][1],l[0]+t[n][0],l[1]+t[n][1],o[0]+t[n][0],o[1]+t[n][1],n,!0);return s}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,i,n=this.pv.length?this.pv.length:1,a=createTypedArray("float32",n),s=Math.floor(5*time);for(r=0,i=0;r<s;){for(i=0;i<n;i+=1)a[i]+=-e+2*e*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),c=createTypedArray("float32",n);if(n>1){for(i=0;i<n;i+=1)c[i]=this.pv[i]+a[i]+(-e+2*e*BMMath.random())*l;return c}return this.pv+a[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,i,0]}function easeOut(t,e,r,i,n){return applyEase(easeOutBez,t,e,r,i,n)}function easeIn(t,e,r,i,n){return applyEase(easeInBez,t,e,r,i,n)}function ease(t,e,r,i,n){return applyEase(easeInOutBez,t,e,r,i,n)}function applyEase(t,e,r,i,n,a){void 0===n?(n=r,a=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var s=t(e);if($bm_isInstanceOfArray(n)){var o,l=n.length,c=createTypedArray("float32",l);for(o=0;o<l;o+=1)c[o]=(a[o]-n[o])*s+n[o];return c}return(a-n)*s+n}function nearestKey(t){var e,r,i,n=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,i=data.k[0].t;else{for(e=0;e<n-1;e+=1){if(t===data.k[e].t){r=e+1,i=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,i=data.k[e+1].t):(r=e+1,i=data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else r=0,i=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;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 n=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=n.length,r=0;r<i;r+=1)e[r]=n[r],e.value[r]=n[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),r=this.getValueAtTime(t+-.01),i=0;if(e.length){var n;for(n=0;n<e.length;n+=1)i+=Math.pow(r[n]-e[n],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,r,i=-.001,n=this.getValueAtTime(t),a=this.getValueAtTime(t+i);if(n.length)for(e=createTypedArray("float32",n.length),r=0;r<n.length;r+=1)e[r]=(a[r]-n[r])/i;else e=(a-n)/i;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};function addPropertyDecorator(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var i,n,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,h=c[c.length-1].t;if(l<=h)return this.pv;if(r?n=h-(i=e?Math.abs(h-this.elem.comp.globalData.frameRate*e):Math.max(0,h-this.elem.data.ip)):((!e||e>c.length-1)&&(e=c.length-1),i=h-(n=c[c.length-1-e].t)),"pingpong"===t){if(Math.floor((l-n)/i)%2!=0)return this.getValueAtTime((i-(l-n)%i+n)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var u=this.getValueAtTime(n/this.comp.globalData.frameRate,0),d=this.getValueAtTime(h/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0),f=Math.floor((l-n)/i);if(this.pv.length){for(s=(o=new Array(u.length)).length,a=0;a<s;a+=1)o[a]=(d[a]-u[a])*f+p[a];return o}return(d-u)*f+p}if("continue"===t){var m=this.getValueAtTime(h/this.comp.globalData.frameRate,0),g=this.getValueAtTime((h-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*((l-h)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-h)/.001*(m-g)}}return this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var i,n,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,h=c[0].t;if(l>=h)return this.pv;if(r?n=h+(i=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-h)):((!e||e>c.length-1)&&(e=c.length-1),i=(n=c[e].t)-h),"pingpong"===t){if(Math.floor((h-l)/i)%2==0)return this.getValueAtTime(((h-l)%i+h)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var u=this.getValueAtTime(h/this.comp.globalData.frameRate,0),d=this.getValueAtTime(n/this.comp.globalData.frameRate,0),p=this.getValueAtTime((i-(h-l)%i+h)/this.comp.globalData.frameRate,0),f=Math.floor((h-l)/i)+1;if(this.pv.length){for(s=(o=new Array(u.length)).length,a=0;a<s;a+=1)o[a]=p[a]-(d[a]-u[a])*f;return o}return p-(d-u)*f}if("continue"===t){var m=this.getValueAtTime(h/this.comp.globalData.frameRate,0),g=this.getValueAtTime((h+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*(h-l)/.001;return o}return m+(m-g)*(h-l)/.001}}return this.getValueAtTime((i-((h-l)%i+h))/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var r,i,n=this.comp.renderedFrame/this.comp.globalData.frameRate,a=n-t,s=e>1?(n+t-a)/(e-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<e;){if(i=this.getValueAtTime(a+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=i[l];else r+=i;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=e;else r/=e;return r}function i(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(t);e.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var i=this.s.getValueAtTime(t);e.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var n=this.sk.getValueAtTime(t),a=this.sa.getValueAtTime(t);e.skewFromAxis(-n*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(t);e.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),c=this.rx.getValueAtTime(t),h=this.or.getValueAtTime(t);e.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-h[2]*this.or.mult).rotateY(h[1]*this.or.mult).rotateX(h[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var u=this.px.getValueAtTime(t),d=this.py.getValueAtTime(t);if(this.data.p.z){var p=this.pz.getValueAtTime(t);e.translate(u*this.px.mult,d*this.py.mult,-p*this.pz.mult)}else e.translate(u*this.px.mult,d*this.py.mult,0)}else{var f=this.p.getValueAtTime(t);e.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return e}function n(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var s=a(t,e,r);return s.dynamicProperties.length?s.getValueAtTime=i.bind(s):s.getValueAtTime=n.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(i,n,a,o,l){var c=s(i,n,a,o,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=t,c.loopIn=e,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===n.a?n.k.length:0,c.propertyIndex=n.ix;var h=0;return 0!==a&&(h=createTypedArray("float32",1===n.a?n.k[0].s.length:n.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:h},expressionHelpers.searchExpressions(i,n,c),c.k&&l.addDynamicProperty(c),c};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(t,e){this.k&&this.getValue();var r,i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0));var n=i._length,a=i[t],s=i.v,o=createSizedArray(n);for(r=0;r<n;r+=1)o[r]="i"===t||"o"===t?[a[r][0]-s[r][0],a[r][1]-s[r][1]]:[a[r][0],a[r][1]];return o},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var i,n=this._segmentsLength,a=n.lengths,s=n.totalLength*t,o=0,l=a.length,c=0;o<l;){if(c+a[o].addedLength>s){var h=o,u=r.c&&o===l-1?0:o+1,d=(s-c)/a[o].addedLength;i=bez.getPointInSegment(r.v[h],r.v[u],r.o[h],r.i[u],d,a[o]);break}c+=a[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var i=this.pointOnPath(t,e),n=this.pointOnPath(t+.001,e),a=n[0]-i[0],s=n[1]-i[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([c],o),extendPrototype([c],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<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var h=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,i,n){var a=h(t,e,r,i,n);return a.propertyIndex=e.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,a):4===r&&expressionHelpers.searchExpressions(t,e.ks,a),a.k&&t.addDynamicProperty(a),a}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var i={};return this.copyData(i,t),i.t=r.toString(),i.__complete=!1,i}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}function SVGTintFilter(t,e,r,i,n){this.filterManager=e;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_1"),t.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_2"),t.appendChild(a),this.matrixFilter=a;var s=this.createMergeNode(i,[n,i+"_tint_1",i+"_tint_2"]);t.appendChild(s)}function SVGFillFilter(t,e,r,i){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",i),t.appendChild(n),this.matrixFilter=n}function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}function SVGTritoneFilter(t,e,r,i){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(n);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),this.matrixFilter=a;var s=createNS("feFuncR");s.setAttribute("type","table"),a.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),a.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,t.appendChild(a)}function SVGProLevelsFilter(t,e,r,i){this.filterManager=e;var n=this.filterManager.effectElements,a=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(a)),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),t.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(t,e,r,i,n){var a=e.container.globalData.renderConfig.filterSize,s=e.data.fs||a;t.setAttribute("x",s.x||a.x),t.setAttribute("y",s.y||a.y),t.setAttribute("width",s.width||a.width),t.setAttribute("height",s.height||a.height),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",i+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,t.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",i+"_drop_shadow_1"),l.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=l,t.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=c,t.appendChild(c);var h=createNS("feComposite");h.setAttribute("in",i+"_drop_shadow_3"),h.setAttribute("in2",i+"_drop_shadow_2"),h.setAttribute("operator","in"),h.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(h);var u=this.createMergeNode(i,[i+"_drop_shadow_4",n]);t.appendChild(u)}SVGComposableEffect.prototype={createMergeNode:function(t,e){var r,i,n=createNS("feMerge");for(n.setAttribute("result",t),i=0;i<e.length;i+=1)(r=createNS("feMergeNode")).setAttribute("in",e[i]),n.appendChild(r),n.appendChild(r);return n}},extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 "+i+" 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,n=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=1+(r=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r<i;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(e),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");n[0];)o.appendChild(n[0]);this.elem.layerElement.appendChild(o),this.masker=a,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(n=this.elem.layerElement.children||this.elem.layerElement.childNodes;n.length;)this.elem.layerElement.removeChild(n[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var r,i,n=this.paths.length;for(e=0;e<n;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],i=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=i.getTotalLength();a="0 0 0 "+l*s+" ";var c,h=l*(o-s),u=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(h/u);for(c=0;c<d;c+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*p[0])+","+bmFloor(255*p[1])+","+bmFloor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,n=i[0]+" "+r[0]+" "+e[0],a=i[1]+" "+r[1]+" "+e[1],s=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,n){for(var a,s,o=0,l=Math.min(t,e),c=Math.max(t,e),h=Array.call(null,{length:256}),u=0,d=n-i,p=e-t;o<=256;)s=(a=o/256)<=l?p<0?n:i:a>=c?p<0?i:n:i+d*Math.pow((a-t)/p,1/r),h[u]=s,u+=1,o+=256/255;return h.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,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",n),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,i){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var n=createNS("feGaussianBlur");n.setAttribute("result",i),t.appendChild(n),this.feGaussianBlur=n}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var i,n=r.children,a=0,s=n.length;a<s&&n[a]!==t.layerElement;)a+=1;a<=s-2&&(i=n[a+1]);var o=createNS("use");o.setAttribute("href","#"+e),i?r.insertBefore(o,i):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var n=t.globalData.defs;n.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),n.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+r),i.appendChild(s),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;r<i;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=3==r?0:e,n=2==r?0:e;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+n);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=factory())})(lottie$1,lottie$1.exports);var lottie=lottie$1.exports,_templateObject$1,styles=r$3(_templateObject$1||(_templateObject$1=_taggedTemplateLiteral(["\n * {\n box-sizing: border-box;\n }\n\n :host {\n --lottie-player-toolbar-height: 35px;\n --lottie-player-toolbar-background-color: transparent;\n --lottie-player-toolbar-icon-color: #999;\n --lottie-player-toolbar-icon-hover-color: #222;\n --lottie-player-toolbar-icon-active-color: #555;\n --lottie-player-seeker-track-color: #ccc;\n --lottie-player-seeker-thumb-color: rgba(0, 107, 120, 0.8);\n --lottie-player-seeker-display: block;\n\n display: block;\n width: 100%;\n height: 100%;\n }\n\n .main {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n }\n\n .animation {\n width: 100%;\n height: 100%;\n display: flex;\n }\n .animation.controls {\n height: calc(100% - 35px);\n }\n\n .toolbar {\n display: flex;\n align-items: center;\n justify-items: center;\n background-color: var(--lottie-player-toolbar-background-color);\n margin: 0 5px;\n height: 35px;\n }\n\n .toolbar button {\n cursor: pointer;\n fill: var(--lottie-player-toolbar-icon-color);\n display: flex;\n background: none;\n border: 0;\n padding: 0;\n outline: none;\n height: 100%;\n }\n\n .toolbar button:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button.active {\n fill: var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button.active:hover {\n fill: var(--lottie-player-toolbar-icon-hover-color);\n }\n\n .toolbar button:focus {\n outline: 1px dotted var(--lottie-player-toolbar-icon-active-color);\n }\n\n .toolbar button svg {\n }\n\n .toolbar button.disabled svg {\n display: none;\n }\n\n .seeker {\n -webkit-appearance: none;\n width: 95%;\n outline: none;\n background-color: var(--lottie-player-toolbar-background-color);\n display: var(--lottie-player-seeker-display);\n }\n\n .seeker::-webkit-slider-runnable-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-webkit-slider-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -5px;\n }\n .seeker:focus::-webkit-slider-runnable-track {\n background: #999;\n }\n .seeker::-moz-range-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-moz-range-thumb {\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker::-ms-track {\n width: 100%;\n height: 5px;\n cursor: pointer;\n background: transparent;\n border-color: transparent;\n color: transparent;\n }\n .seeker::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n border-radius: 3px;\n }\n .seeker::-ms-thumb {\n border: 0;\n height: 15px;\n width: 15px;\n border-radius: 50%;\n background: var(--lottie-player-seeker-thumb-color);\n cursor: pointer;\n }\n .seeker:focus::-ms-fill-lower {\n background: var(--lottie-player-seeker-track-color);\n }\n .seeker:focus::-ms-fill-upper {\n background: var(--lottie-player-seeker-track-color);\n }\n\n .error {\n display: flex;\n justify-content: center;\n height: 100%;\n align-items: center;\n }\n"]))),LOTTIE_PLAYER_VERSION="1.7.1",LOTTIE_WEB_VERSION="^5.10.0",_templateObject,_templateObject2,_templateObject3,_templateObject4,_templateObject5,PlayerState,PlayMode,PlayerEvents;function parseSrc(t){if("object"==typeof t)return t;try{return JSON.parse(t)}catch(e){return new URL(t,window.location.href).toString()}}function isLottie(t){return["v","ip","op","layers","fr","w","h"].every((e=>Object.prototype.hasOwnProperty.call(t,e)))}function fromURL(t){return _fromURL.apply(this,arguments)}function _fromURL(){return(_fromURL=_asyncToGenerator((function*(t){if("string"!=typeof t)throw new Error("The url value must be a string");var e;try{var r=new URL(t),i=yield fetch(r.toString());e=yield i.json()}catch(t){throw new Error("An error occurred while trying to load the Lottie file from URL")}return e}))).apply(this,arguments)}!function(t){t.Destroyed="destroyed",t.Error="error",t.Frozen="frozen",t.Loading="loading",t.Paused="paused",t.Playing="playing",t.Stopped="stopped"}(PlayerState||(PlayerState={})),function(t){t.Bounce="bounce",t.Normal="normal"}(PlayMode||(PlayMode={})),function(t){t.Complete="complete",t.Destroyed="destroyed",t.Error="error",t.Frame="frame",t.Freeze="freeze",t.Load="load",t.Loop="loop",t.Pause="pause",t.Play="play",t.Ready="ready",t.Rendered="rendered",t.Stop="stop"}(PlayerEvents||(PlayerEvents={}));var LottiePlayer=class extends s{constructor(){super(...arguments),this.autoplay=!1,this.background="transparent",this.controls=!1,this.currentState=PlayerState.Loading,this.description="Lottie animation",this.direction=1,this.disableCheck=!1,this.disableShadowDOM=!1,this.hover=!1,this.intermission=1,this.loop=!1,this.mode=PlayMode.Normal,this.preserveAspectRatio="xMidYMid meet",this.renderer="svg",this.speed=1,this._io=void 0,this._counter=1}load(t){var e=this;return _asyncToGenerator((function*(){var r={container:e.container,loop:!1,autoplay:!1,renderer:e.renderer,rendererSettings:Object.assign({preserveAspectRatio:e.preserveAspectRatio,clearCanvas:!1,progressiveLoad:!0,hideOnTransparent:!0},e.viewBoxSize&&{viewBoxSize:e.viewBoxSize})};try{var i=parseSrc(t),n={},a="string"==typeof i?"path":"animationData";e._lottie&&e._lottie.destroy(),e.webworkers&&lottie$1.exports.useWebWorker(!0),e._lottie=lottie$1.exports.loadAnimation(Object.assign(Object.assign({},r),{[a]:i})),e._attachEventListeners(),e.disableCheck||("path"===a?(n=yield fromURL(i),a="animationData"):n=i,isLottie(n)||(e.currentState=PlayerState.Error,e.dispatchEvent(new CustomEvent(PlayerEvents.Error))))}catch(t){e.currentState=PlayerState.Error,e.dispatchEvent(new CustomEvent(PlayerEvents.Error))}}))()}getLottie(){return this._lottie}getVersions(){return{lottieWebVersion:LOTTIE_WEB_VERSION,lottiePlayerVersion:LOTTIE_PLAYER_VERSION}}play(){this._lottie&&(this._lottie.play(),this.currentState=PlayerState.Playing,this.dispatchEvent(new CustomEvent(PlayerEvents.Play)))}pause(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Paused,this.dispatchEvent(new CustomEvent(PlayerEvents.Pause)))}stop(){this._lottie&&(this._counter=1,this._lottie.stop(),this.currentState=PlayerState.Stopped,this.dispatchEvent(new CustomEvent(PlayerEvents.Stop)))}destroy(){this._lottie&&(this._lottie.destroy(),this._lottie=null,this.currentState=PlayerState.Destroyed,this.dispatchEvent(new CustomEvent(PlayerEvents.Destroyed)),this.remove())}seek(t){if(this._lottie){var e=/^(\d+)(%?)$/.exec(t.toString());if(e){var r="%"===e[2]?this._lottie.totalFrames*Number(e[1])/100:Number(e[1]);this.seeker=r,this.currentState===PlayerState.Playing?this._lottie.goToAndPlay(r,!0):(this._lottie.goToAndStop(r,!0),this._lottie.pause())}}}snapshot(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.shadowRoot){var e=this.shadowRoot.querySelector(".animation svg"),r=(new XMLSerializer).serializeToString(e);if(t){var i=document.createElement("a");i.href="data:image/svg+xml;charset=utf-8,".concat(encodeURIComponent(r)),i.download="download_".concat(this.seeker,".svg"),document.body.appendChild(i),i.click(),document.body.removeChild(i)}return r}}setSpeed(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this._lottie&&this._lottie.setSpeed(t)}setDirection(t){this._lottie&&this._lottie.setDirection(t)}setLooping(t){this._lottie&&(this.loop=t,this._lottie.loop=t)}togglePlay(){return this.currentState===PlayerState.Playing?this.pause():this.play()}toggleLooping(){this.setLooping(!this.loop)}resize(){this._lottie&&this._lottie.resize()}static get styles(){return styles}disconnectedCallback(){this.isConnected||(this._io&&(this._io.disconnect(),this._io=void 0),document.removeEventListener("visibilitychange",(()=>this._onVisibilityChange())),this.destroy())}render(){var t=this.controls?"main controls":"main",e=this.controls?"animation controls":"animation";return $(_templateObject||(_templateObject=_taggedTemplateLiteral([' <div\n id="animation-container"\n class=','\n lang="en"\n aria-label=','\n role="img"\n >\n <div\n id="animation"\n class=','\n style="background:',';"\n >\n ',"\n </div>\n ","\n </div>"])),t,this.description,e,this.background,this.currentState===PlayerState.Error?$(_templateObject2||(_templateObject2=_taggedTemplateLiteral(['<div class="error">⚠️</div>']))):void 0,this.controls&&!this.disableShadowDOM?this.renderControls():void 0)}createRenderRoot(){return this.disableShadowDOM&&(this.style.display="block"),this.disableShadowDOM?this:super.createRenderRoot()}firstUpdated(){"IntersectionObserver"in window&&(this._io=new IntersectionObserver((t=>{t[0].isIntersecting?this.currentState===PlayerState.Frozen&&this.play():this.currentState===PlayerState.Playing&&this.freeze()})),this._io.observe(this.container)),void 0!==document.hidden&&document.addEventListener("visibilitychange",(()=>this._onVisibilityChange())),this.src&&this.load(this.src),this.dispatchEvent(new CustomEvent(PlayerEvents.Rendered))}renderControls(){var t=this.currentState===PlayerState.Playing,e=this.currentState===PlayerState.Paused,r=this.currentState===PlayerState.Stopped;return $(_templateObject3||(_templateObject3=_taggedTemplateLiteral(['\n <div\n id="lottie-controls"\n aria-label="lottie-animation-controls"\n class="toolbar"\n >\n <button\n id="lottie-play-button"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="play-pause"\n >\n ','\n </button>\n <button\n id="lottie-stop-button"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="stop"\n >\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path d="M6 6h12v12H6V6z" />\n </svg>\n </button>\n <input\n id="lottie-seeker-input"\n class="seeker"\n type="range"\n min="0"\n step="1"\n max="100"\n .value=',"\n @input=","\n @mousedown=","\n @mouseup=",'\n aria-valuemin="1"\n aria-valuemax="100"\n role="slider"\n aria-valuenow=','\n tabindex="0"\n aria-label="lottie-seek-input"\n />\n <button\n id="lottie-loop-toggle"\n @click=',"\n class=",'\n style="align-items:center;"\n tabindex="0"\n aria-label="loop-toggle"\n >\n <svg width="24" height="24" aria-hidden="true" focusable="false">\n <path\n d="M17.016 17.016v-4.031h1.969v6h-12v3l-3.984-3.984 3.984-3.984v3h10.031zM6.984 6.984v4.031H5.015v-6h12v-3l3.984 3.984-3.984 3.984v-3H6.984z"\n />\n </svg>\n </button>\n </div>\n '])),this.togglePlay,t||e?"active":"",$(t?_templateObject4||(_templateObject4=_taggedTemplateLiteral(['<svg\n width="24"\n height="24"\n aria-hidden="true"\n focusable="false"\n >\n <path\n d="M14.016 5.016H18v13.969h-3.984V5.016zM6 18.984V5.015h3.984v13.969H6z"\n />\n </svg>'])):_templateObject5||(_templateObject5=_taggedTemplateLiteral(['<svg\n width="24"\n height="24"\n aria-hidden="true"\n focusable="false"\n >\n <path d="M8.016 5.016L18.985 12 8.016 18.984V5.015z" />\n </svg>']))),this.stop,r?"active":"",this.seeker,this._handleSeekChange,(()=>{this._prevState=this.currentState,this.freeze()}),(()=>{this._prevState===PlayerState.Playing&&this.play()}),this.seeker,this.toggleLooping,this.loop?"active":"")}_onVisibilityChange(){!0===document.hidden&&this.currentState===PlayerState.Playing?this.freeze():this.currentState===PlayerState.Frozen&&this.play()}_handleSeekChange(t){if(this._lottie&&!isNaN(t.target.value)){var e=t.target.value/100*this._lottie.totalFrames;this.seek(e)}}_attachEventListeners(){this._lottie.addEventListener("enterFrame",(()=>{this.seeker=this._lottie.currentFrame/this._lottie.totalFrames*100,this.dispatchEvent(new CustomEvent(PlayerEvents.Frame,{detail:{frame:this._lottie.currentFrame,seeker:this.seeker}}))})),this._lottie.addEventListener("complete",(()=>{if(this.currentState===PlayerState.Playing){if(!this.loop||this.count&&this._counter>=this.count){if(this.dispatchEvent(new CustomEvent(PlayerEvents.Complete)),this.mode!==PlayMode.Bounce)return;if(0===this._lottie.currentFrame)return}this.mode===PlayMode.Bounce?(this.count&&(this._counter+=.5),setTimeout((()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(this._lottie.setDirection(-1*this._lottie.playDirection),this._lottie.play())}),this.intermission)):(this.count&&(this._counter+=1),window.setTimeout((()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Loop)),this.currentState===PlayerState.Playing&&(-1===this.direction?(this.seek("99%"),this.play()):(this._lottie.stop(),this._lottie.play()))}),this.intermission))}else this.dispatchEvent(new CustomEvent(PlayerEvents.Complete))})),this._lottie.addEventListener("DOMLoaded",(()=>{this.setSpeed(this.speed),this.setDirection(this.direction),this.autoplay&&(-1===this.direction&&this.seek("100%"),this.play()),this.dispatchEvent(new CustomEvent(PlayerEvents.Ready))})),this._lottie.addEventListener("data_ready",(()=>{this.dispatchEvent(new CustomEvent(PlayerEvents.Load))})),this._lottie.addEventListener("data_failed",(()=>{this.currentState=PlayerState.Error,this.dispatchEvent(new CustomEvent(PlayerEvents.Error))})),this.container.addEventListener("mouseenter",(()=>{this.hover&&this.currentState!==PlayerState.Playing&&this.play()})),this.container.addEventListener("mouseleave",(()=>{this.hover&&this.currentState===PlayerState.Playing&&this.stop()}))}freeze(){this._lottie&&(this._lottie.pause(),this.currentState=PlayerState.Frozen,this.dispatchEvent(new CustomEvent(PlayerEvents.Freeze)))}};__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"autoplay",void 0),__decorate([e$5({type:String,reflect:!0})],LottiePlayer.prototype,"background",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"controls",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"count",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"currentState",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"description",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"direction",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"disableCheck",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"disableShadowDOM",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"hover",void 0),__decorate([e$5()],LottiePlayer.prototype,"intermission",void 0),__decorate([e$5({type:Boolean,reflect:!0})],LottiePlayer.prototype,"loop",void 0),__decorate([e$5()],LottiePlayer.prototype,"mode",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"preserveAspectRatio",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"renderer",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"viewBoxSize",void 0),__decorate([e$5()],LottiePlayer.prototype,"seeker",void 0),__decorate([e$5({type:Number})],LottiePlayer.prototype,"speed",void 0),__decorate([e$5({type:String})],LottiePlayer.prototype,"src",void 0),__decorate([e$5({type:Boolean})],LottiePlayer.prototype,"webworkers",void 0),__decorate([i(".animation")],LottiePlayer.prototype,"container",void 0),LottiePlayer=__decorate([n$1("lottie-player")],LottiePlayer)},431:function(t){var e=4,r=.001,i=1e-7,n=10,a=11,s=1/(a-1),o="function"==typeof Float32Array;function l(t,e){return 1-3*e+3*t}function c(t,e){return 3*e-6*t}function h(t){return 3*t}function u(t,e,r){return((l(e,r)*t+c(e,r))*t+h(e))*t}function d(t,e,r){return 3*l(e,r)*t*t+2*c(e,r)*t+h(e)}function p(t){return t}t.exports=function(t,l,c,h){if(!(0<=t&&t<=1&&0<=c&&c<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===l&&c===h)return p;for(var f=o?new Float32Array(a):new Array(a),m=0;m<a;++m)f[m]=u(m*s,t,c);function g(o){for(var l=0,h=1,p=a-1;h!==p&&f[h]<=o;++h)l+=s;--h;var m=l+(o-f[h])/(f[h+1]-f[h])*s,g=d(m,t,c);return g>=r?function(t,r,i,n){for(var a=0;a<e;++a){var s=d(r,i,n);if(0===s)return r;r-=(u(r,i,n)-t)/s}return r}(o,m,t,c):0===g?m:function(t,e,r,a,s){var o,l,c=0;do{(o=u(l=e+(r-e)/2,a,s)-t)>0?r=l:e=l}while(Math.abs(o)>i&&++c<n);return l}(o,l,l+s,t,c)}return function(t){return 0===t?0:1===t?1:u(g(t),l,h)}}},741:function(t,e,r){var i,n;!function(a,s){"use strict";void 0===(n="function"==typeof(i=s)?i.call(e,r,e,t):i)||(t.exports=n)}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],r=0;r<e.length;r++){var i=e[r]+"MatchesSelector";if(t[i])return i}}();return function(e,r){return e[t](r)}}))},158:function(t){var e,r;e="undefined"!=typeof window?window:this,r=function(){function t(){}let e=t.prototype;return e.on=function(t,e){if(!t||!e)return this;let r=this._events=this._events||{},i=r[t]=r[t]||[];return i.includes(e)||i.push(e),this},e.once=function(t,e){if(!t||!e)return this;this.on(t,e);let r=this._onceEvents=this._onceEvents||{};return(r[t]=r[t]||{})[e]=!0,this},e.off=function(t,e){let r=this._events&&this._events[t];if(!r||!r.length)return this;let i=r.indexOf(e);return-1!=i&&r.splice(i,1),this},e.emitEvent=function(t,e){let r=this._events&&this._events[t];if(!r||!r.length)return this;r=r.slice(0),e=e||[];let i=this._onceEvents&&this._onceEvents[t];for(let n of r)i&&i[n]&&(this.off(t,n),delete i[n]),n.apply(this,e);return this},e.allOff=function(){return delete this._events,delete this._onceEvents,this},t},t.exports?t.exports=r():e.EvEmitter=r()},47:function(t){var e,r;e=this,r=function(t){let e={extend:function(t,e){return Object.assign(t,e)},modulo:function(t,e){return(t%e+e)%e},makeArray:function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?[...t]:[t]},removeFrom:function(t,e){let r=t.indexOf(e);-1!=r&&t.splice(r,1)},getParent:function(t,e){for(;t.parentNode&&t!=document.body;)if((t=t.parentNode).matches(e))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){let e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(t,r){return(t=e.makeArray(t)).filter((t=>t instanceof HTMLElement)).reduce(((t,e)=>{if(!r)return t.push(e),t;e.matches(r)&&t.push(e);let i=e.querySelectorAll(r);return t=t.concat(...i)}),[])},debounceMethod:function(t,e,r){r=r||100;let i=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){clearTimeout(this[n]);let t=arguments;this[n]=setTimeout((()=>{i.apply(this,t),delete this[n]}),r)}},docReady:function(t){let e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,r){return e+"-"+r})).toLowerCase()}},r=t.console;return e.htmlInit=function(i,n){e.docReady((function(){let a="data-"+e.toDashed(n),s=document.querySelectorAll(`[${a}]`),o=t.jQuery;[...s].forEach((t=>{let e,s=t.getAttribute(a);try{e=s&&JSON.parse(s)}catch(e){return void(r&&r.error(`Error parsing ${a} on ${t.className}: ${e}`))}let l=new i(t,e);o&&o.data(t,n,l)}))}))},e},t.exports?t.exports=r(e):e.fizzyUIUtils=r(e)},105:function(t,e,r){var i,n;window,i=[r(367),r(639)],void 0===(n=function(t,e){return function(t,e,r){"use strict";e.createMethods.push("_createImagesLoaded");var i=e.prototype;return i._createImagesLoaded=function(){this.on("activate",this.imagesLoaded)},i.imagesLoaded=function(){if(this.options.imagesLoaded){var t=this;r(this.slider).on("progress",e)}function e(e,r){var i=t.getParentCell(r.img);t.cellSizeChange(i&&i.element),t.options.freeScroll||t.positionSliderAtSelected()}},e}(0,t,e)}.apply(e,i))||(t.exports=n)},160:function(t,e,r){var i,n;"undefined"!=typeof window&&window,void 0===(n="function"==typeof(i=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var r=this._events=this._events||{},i=r[t]=r[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var r=this._onceEvents=this._onceEvents||{};return(r[t]=r[t]||{})[e]=!0,this}},e.off=function(t,e){var r=this._events&&this._events[t];if(r&&r.length){var i=r.indexOf(e);return-1!=i&&r.splice(i,1),this}},e.emitEvent=function(t,e){var r=this._events&&this._events[t];if(r&&r.length){r=r.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],n=0;n<r.length;n++){var a=r[n];i&&i[a]&&(this.off(t,a),delete i[a]),a.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?i.call(e,r,e,t):i)||(t.exports=n)},603:function(t,e,r){var i,n;!function(a,s){i=[r(741)],n=function(t){return function(t,e){"use strict";var r={extend:function(t,e){for(var r in e)t[r]=e[r];return t},modulo:function(t,e){return(t%e+e)%e}},i=Array.prototype.slice;r.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?i.call(t):[t]},r.removeFrom=function(t,e){var r=t.indexOf(e);-1!=r&&t.splice(r,1)},r.getParent=function(t,r){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,r))return t},r.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},r.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},r.filterFindElements=function(t,i){t=r.makeArray(t);var n=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(i){e(t,i)&&n.push(t);for(var r=t.querySelectorAll(i),a=0;a<r.length;a++)n.push(r[a])}else n.push(t)})),n},r.debounceMethod=function(t,e,r){r=r||100;var i=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];clearTimeout(t);var e=arguments,a=this;this[n]=setTimeout((function(){i.apply(a,e),delete a[n]}),r)}},r.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},r.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,r){return e+"-"+r})).toLowerCase()};var n=t.console;return r.htmlInit=function(e,i){r.docReady((function(){var a=r.toDashed(i),s="data-"+a,o=document.querySelectorAll("["+s+"]"),l=document.querySelectorAll(".js-"+a),c=r.makeArray(o).concat(r.makeArray(l)),h=s+"-options",u=t.jQuery;c.forEach((function(t){var r,a=t.getAttribute(s)||t.getAttribute(h);try{r=a&&JSON.parse(a)}catch(e){return void(n&&n.error("Error parsing "+s+" on "+t.className+": "+e))}var o=new e(t,r);u&&u.data(t,i,o)}))}))},r}(a,t)}.apply(e,i),void 0===n||(t.exports=n)}(window)},517:function(t,e,r){var i,n;window,i=[r(437),r(603)],void 0===(n=function(t,e){return function(t,e,r){"use strict";function i(t){var e=document.createDocumentFragment();return t.forEach((function(t){e.appendChild(t.element)})),e}var n=e.prototype;return n.insert=function(t,e){var r=this._makeCells(t);if(r&&r.length){var n=this.cells.length;e=void 0===e?n:e;var a=i(r),s=e==n;if(s)this.slider.appendChild(a);else{var o=this.cells[e].element;this.slider.insertBefore(a,o)}if(0===e)this.cells=r.concat(this.cells);else if(s)this.cells=this.cells.concat(r);else{var l=this.cells.splice(e,n-e);this.cells=this.cells.concat(r).concat(l)}this._sizeCells(r),this.cellChange(e,!0)}},n.append=function(t){this.insert(t,this.cells.length)},n.prepend=function(t){this.insert(t,0)},n.remove=function(t){var e=this.getCells(t);if(e&&e.length){var i=this.cells.length-1;e.forEach((function(t){t.remove();var e=this.cells.indexOf(t);i=Math.min(e,i),r.removeFrom(this.cells,t)}),this),this.cellChange(i,!0)}},n.cellSizeChange=function(t){var e=this.getCell(t);if(e){e.getSize();var r=this.cells.indexOf(e);this.cellChange(r)}},n.cellChange=function(t,e){var r=this.selectedElement;this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize();var i=this.getCell(r);i&&(this.selectedIndex=this.getCellSlideIndex(i)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}(0,t,e)}.apply(e,i))||(t.exports=n)},696:function(t,e,r){var i,n;window,i=[r(603)],void 0===(n=function(t){return function(t,e){"use strict";var r={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating){var e=this;requestAnimationFrame((function(){e.animate()}))}},positionSlider:function(){var t=this.x;this.options.wrapAround&&this.cells.length>1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=this.options.rightToLeft?-t:t;var r=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+r+",0,0)":"translateX("+r+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,r=e/this.slidesWidth;this.dispatchEvent("scroll",null,[r,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var r=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,r,1)},_shiftCells:function(t,e,r){for(var i=0;i<t.length;i++){var n=t[i],a=e>0?r:0;n.wrapShift(a),e-=n.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var t=this.dragX-this.x-this.velocity;this.applyForce(t)}},applySelectedAttraction:function(){if((!this.isDraggable||!this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}}};return r}(0,t)}.apply(e,i))||(t.exports=n)},994:function(t,e,r){var i,n;window,i=[r(414)],void 0===(n=function(t){return function(t,e){"use strict";function r(t,e){this.element=t,this.parent=e,this.create()}var i=r.prototype;return i.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0,this.element.style[this.parent.originSide]=0},i.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]="",this.element.style.transform="",this.element.removeAttribute("aria-hidden")},i.getSize=function(){this.size=e(this.element)},i.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},i.updateTarget=i.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},i.renderPosition=function(t){var e="left"===this.parent.originSide?1:-1,r=this.parent.options.percentPosition?t*e*(this.parent.size.innerWidth/this.size.width):t*e;this.element.style.transform="translateX("+this.parent.getPositionValue(r)+")"},i.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},i.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},i.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},i.remove=function(){this.element.parentNode.removeChild(this.element)},r}(0,t)}.apply(e,i))||(t.exports=n)},854:function(t,e,r){var i,n;!function(a,s){i=[r(437),r(282),r(603)],n=function(t,e,r){return function(t,e,r,i){"use strict";i.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var n=e.prototype;i.extend(n,r.prototype),n._touchActionValue="pan-y",n._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},n.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},n.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},n.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},n.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},n.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},n._uiChangeDrag=function(){delete this.isFreeScrolling},n.pointerDown=function(e,r){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=s(),t.addEventListener("scroll",this),this._pointerDownDefault(e,r)):this._pointerDownDefault(e,r)},n._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var a={INPUT:!0,TEXTAREA:!0,SELECT:!0};function s(){return{x:t.pageXOffset,y:t.pageYOffset}}return n.pointerDownFocus=function(t){a[t.target.nodeName]||this.focus()},n._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,r="touch"==t.pointerType,i=a[t.target.nodeName];e||r||i||t.preventDefault()},n.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},n.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},n.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},n.dragStart=function(e,r){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[r]))},n.pointerMove=function(t,e){var r=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,r]),this._dragMove(t,e,r)},n.dragMove=function(t,e,r){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var i=this.options.rightToLeft?-1:1;this.options.wrapAround&&(r.x%=this.slideableWidth);var n=this.dragStartPosition+r.x*i;if(!this.options.wrapAround&&this.slides.length){var a=Math.max(-this.slides[0].target,this.dragStartPosition);n=n>a?.5*(n+a):n;var s=Math.min(-this.getLastSlide().target,this.dragStartPosition);n=n<s?.5*(n+s):n}this.dragX=n,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,r])}},n.dragEnd=function(t,e){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var r=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var i=this.getRestingPosition();this.isFreeScrolling=-i>this.slides[0].target&&-i<this.getLastSlide().target}else this.options.freeScroll||r!=this.selectedIndex||(r+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(r),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e])}},n.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),r=this._getClosestResting(t,e,1),i=this._getClosestResting(t,e,-1);return r.distance<i.distance?r.index:i.index},n._getClosestResting=function(t,e,r){for(var i=this.selectedIndex,n=1/0,a=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};a(e,n)&&(i+=r,n=e,null!==(e=this.getSlideDistance(-t,i)));)e=Math.abs(e);return{distance:n,index:i-r}},n.getSlideDistance=function(t,e){var r=this.slides.length,n=this.options.wrapAround&&r>1,a=n?i.modulo(e,r):e,s=this.slides[a];if(!s)return null;var o=n?this.slideableWidth*Math.floor(e/r):0;return t-(s.target+o)},n.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},n.staticClick=function(t,e){var r=this.getParentCell(t.target),i=r&&r.element,n=r&&this.cells.indexOf(r);this.dispatchEvent("staticClick",t,[e,i,n])},n.onscroll=function(){var t=s(),e=this.pointerDownScroll.x-t.x,r=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(r)>3)&&this._pointerDone()},e}(a,t,e,r)}.apply(e,i),void 0===n||(t.exports=n)}(window)},437:function(t,e,r){var i,n;!function(a,s){i=[r(160),r(414),r(603),r(994),r(318),r(696)],n=function(t,e,r,i,n,s){return function(t,e,r,i,n,a,s){"use strict";var o=t.jQuery,l=t.getComputedStyle,c=t.console;function h(t,e){for(t=i.makeArray(t);t.length;)e.appendChild(t.shift())}var u=0,d={};function p(t,e){var r=i.getQueryElement(t);if(r){if(this.element=r,this.element.flickityGUID){var n=d[this.element.flickityGUID];return n&&n.option(e),n}o&&(this.$element=o(this.element)),this.options=i.extend({},this.constructor.defaults),this.option(e),this._create()}else c&&c.error("Bad element for Flickity: "+(r||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype;i.extend(f,e.prototype),f._create=function(){var e=this.guid=++u;for(var r in this.element.flickityGUID=e,d[e]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&t.addEventListener("resize",this),this.options.on){var i=this.options.on[r];this.on(r,i)}p.createMethods.forEach((function(t){this[t]()}),this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(t){i.extend(this.options,t)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),h(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},f._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},f._filterFindCellElements=function(t){return i.filterFindElements(t,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(t){return this._filterFindCellElements(t).map((function(t){return new n(t,this)}),this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;var e=0;if(t>0){var r=this.cells[t-1];e=r.x+r.size.outerWidth}for(var i=this.cells.length,n=t;n<i;n++){var a=this.cells[n];a.setPosition(e),e+=a.size.outerWidth,this.maxCellHeight=Math.max(a.size.outerHeight,this.maxCellHeight)}this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=i?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(t){t.forEach((function(t){t.getSize()}))},f.updateSlides=function(){if(this.slides=[],this.cells.length){var t=new a(this);this.slides.push(t);var e="left"==this.originSide?"marginRight":"marginLeft",r=this._getCanCellFit();this.cells.forEach((function(i,n){if(t.cells.length){var s=t.outerWidth-t.firstMargin+(i.size.outerWidth-i.size[e]);r.call(this,n,s)||(t.updateTarget(),t=new a(this),this.slides.push(t)),t.addCell(i)}else t.addCell(i)}),this),t.updateTarget(),this.updateSelectedSlide()}},f._getCanCellFit=function(){var t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t){var e=parseInt(t,10);return function(t){return t%e!=0}}var r="string"==typeof t&&t.match(/^(\d+)%$/),i=r?parseInt(r[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*i}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=r(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var m={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};f.setCellAlign=function(){var t=m[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){if(this.options.setGallerySize){var t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=t+"px"}},f._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1)}},f._getGapCells=function(t,e,r){for(var i=[];t>0;){var n=this.cells[e];if(!n)break;i.push(n),e+=r,t-=n.size.outerWidth}return i},f._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=this.options.rightToLeft,e=t?"marginRight":"marginLeft",r=t?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[r],n=i<this.size.innerWidth,a=this.cursorPosition+this.cells[0].size[e],s=i-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((function(t){n?t.target=i*this.cellAlign:(t.target=Math.max(t.target,a),t.target=Math.min(t.target,s))}),this)}},f.dispatchEvent=function(t,e,r){var i=e?[e].concat(r):r;if(this.emitEvent(t,i),o&&this.$element){var n=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){var a=new o.Event(e);a.type=t,n=a}this.$element.trigger(n,r)}},f.select=function(t,e,r){if(this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=i.modulo(t,this.slides.length)),this.slides[t])){var n=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),r?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=n&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")}},f._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&e>1))return t;var r=i.modulo(t,e),n=Math.abs(r-this.selectedIndex),a=Math.abs(r+e-this.selectedIndex),s=Math.abs(r-e-this.selectedIndex);!this.isDragSelect&&a<n?t+=e:!this.isDragSelect&&s<n&&(t-=e),t<0?this.x-=this.slideableWidth:t>=e&&(this.x+=this.slideableWidth)},f.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},f.next=function(t,e){this.select(this.selectedIndex+1,t,e)},f.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t)if(this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},f.selectCell=function(t,e,r){var i=this.queryCell(t);if(i){var n=this.getCellSlideIndex(i);this.select(n,e,r)}},f.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++){if(-1!=this.slides[e].cells.indexOf(t))return e}},f.getCell=function(t){for(var e=0;e<this.cells.length;e++){var r=this.cells[e];if(r.element==t)return r}},f.getCells=function(t){t=i.makeArray(t);var e=[];return t.forEach((function(t){var r=this.getCell(t);r&&e.push(r)}),this),e},f.getCellElements=function(){return this.cells.map((function(t){return t.element}))},f.getParentCell=function(t){var e=this.getCell(t);return e||(t=i.getParent(t,".flickity-slider > *"),this.getCell(t))},f.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var r=this.slides.length;if(1+2*t>=r)return this.getCellElements();for(var n=[],a=e-t;a<=e+t;a++){var s=this.options.wrapAround?i.modulo(a,r):a,o=this.slides[s];o&&(n=n.concat(o.getCellElements()))}return n},f.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},i.debounceMethod(p,"onresize",150),f.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=i.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},f.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var r=p.keyboardHandlers[t.keyCode];r&&r.call(this)}},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}},f.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((function(t){t.destroy()})),this.element.removeChild(this.viewport),h(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),o&&this.$element&&o.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete d[this.guid]},i.extend(f,s),p.data=function(t){var e=(t=i.getQueryElement(t))&&t.flickityGUID;return e&&d[e]},i.htmlInit(p,"flickity"),o&&o.bridget&&o.bridget("flickity",p);return p.setJQuery=function(t){o=t},p.Cell=n,p.Slide=a,p}(a,t,e,r,i,n,s)}.apply(e,i),void 0===n||(t.exports=n)}(window)},367:function(t,e,r){var i,n,a;window,n=[r(437),r(854),r(354),r(181),r(675),r(517),r(74)],void 0===(a="function"==typeof(i=function(t){return t})?i.apply(e,n):i)||(t.exports=a)},74:function(t,e,r){var i,n;window,i=[r(437),r(603)],void 0===(n=function(t,e){return function(t,e,r){"use strict";e.createMethods.push("_createLazyload");var i=e.prototype;function n(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),i=t.getAttribute("data-flickity-lazyload-src"),n=t.getAttribute("data-flickity-lazyload-srcset");if(e||i||n)return[t]}var a="img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]",s=t.querySelectorAll(a);return r.makeArray(s)}function a(t,e){this.img=t,this.flickity=e,this.load()}return i._createLazyload=function(){this.on("select",this.lazyLoad)},i.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var e="number"==typeof t?t:0,r=this.getAdjacentCellElements(e),i=[];r.forEach((function(t){var e=n(t);i=i.concat(e)})),i.forEach((function(t){new a(t,this)}),this)}},a.prototype.handleEvent=r.handleEvent,a.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},a.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},a.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},a.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var r=this.flickity.getParentCell(this.img),i=r&&r.element;this.flickity.cellSizeChange(i),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,i)},e.LazyLoader=a,e}(0,t,e)}.apply(e,i))||(t.exports=n)},181:function(t,e,r){var i,n;window,i=[r(437),r(704),r(603)],void 0===(n=function(t,e,r){return function(t,e,r,i){"use strict";function n(t){this.parent=t,this._create()}n.prototype=Object.create(r.prototype),n.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},n.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},n.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},n.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},n.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),r=[],i=this.dots.length,n=i+t,a=i;a<n;a++){var s=document.createElement("li");s.className="dot",s.setAttribute("aria-label","Page dot "+(a+1)),e.appendChild(s),r.push(s)}this.holder.appendChild(e),this.dots=this.dots.concat(r)},n.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((function(t){this.holder.removeChild(t)}),this)},n.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},n.prototype.onTap=n.prototype.onClick=function(t){var e=t.target;if("LI"==e.nodeName){this.parent.uiChange();var r=this.dots.indexOf(e);this.parent.select(r)}},n.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=n,i.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");var a=e.prototype;return a._createPageDots=function(){this.options.pageDots&&(this.pageDots=new n(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},a.activatePageDots=function(){this.pageDots.activate()},a.updateSelectedPageDots=function(){this.pageDots.updateSelected()},a.updatePageDots=function(){this.pageDots.setDots()},a.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=n,e}(0,t,e,r)}.apply(e,i))||(t.exports=n)},675:function(t,e,r){var i,n;window,i=[r(160),r(603),r(437)],void 0===(n=function(t,e,r){return function(t,e,r){"use strict";function i(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}i.prototype=Object.create(t.prototype),i.prototype.play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},i.prototype.tick=function(){if("playing"==this.state){var t=this.parent.options.autoPlay;t="number"==typeof t?t:3e3;var e=this;this.clear(),this.timeout=setTimeout((function(){e.parent.next(!0),e.tick()}),t)}},i.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},i.prototype.clear=function(){clearTimeout(this.timeout)},i.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},i.prototype.unpause=function(){"paused"==this.state&&this.play()},i.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},i.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(r.defaults,{pauseAutoPlayOnHover:!0}),r.createMethods.push("_createPlayer");var n=r.prototype;return n._createPlayer=function(){this.player=new i(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},n.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},n.playPlayer=function(){this.player.play()},n.stopPlayer=function(){this.player.stop()},n.pausePlayer=function(){this.player.pause()},n.unpausePlayer=function(){this.player.unpause()},n.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},n.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},n.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},r.Player=i,r}(t,e,r)}.apply(e,i))||(t.exports=n)},354:function(t,e,r){var i,n;window,i=[r(437),r(704),r(603)],void 0===(n=function(t,e,r){return function(t,e,r,i){"use strict";var n="http://www.w3.org/2000/svg";function a(t,e){this.direction=t,this.parent=e,this._create()}function s(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}a.prototype=Object.create(r.prototype),a.prototype._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickity-button flickity-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var r=this.createSVG();e.appendChild(r),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},a.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},a.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},a.prototype.createSVG=function(){var t=document.createElementNS(n,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(n,"path"),r=s(this.parent.options.arrowShape);return e.setAttribute("d",r),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},a.prototype.handleEvent=i.handleEvent,a.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},a.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},a.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},a.prototype.update=function(){var t=this.parent.slides;if(this.parent.options.wrapAround&&t.length>1)this.enable();else{var e=t.length?t.length-1:0,r=this.isPrevious?0:e;this[this.parent.selectedIndex==r?"disable":"enable"]()}},a.prototype.destroy=function(){this.deactivate(),this.allOff()},i.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var o=e.prototype;return o._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new a(-1,this),this.nextButton=new a(1,this),this.on("activate",this.activatePrevNextButtons))},o.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},o.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=a,e}(0,t,e,r)}.apply(e,i))||(t.exports=n)},318:function(t,e,r){var i,n;window,void 0===(n="function"==typeof(i=function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){if(this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),r=e?e.size[t]:0,i=this.outerWidth-(this.firstMargin+r);this.target=this.x+this.firstMargin+i*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]},e.select=function(){this.cells.forEach((function(t){t.select()}))},e.unselect=function(){this.cells.forEach((function(t){t.unselect()}))},e.getCellElements=function(){return this.cells.map((function(t){return t.element}))},t})?i.call(e,r,e,t):i)||(t.exports=n)},414:function(t,e,r){var i,n;window,void 0===(n="function"==typeof(i=function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(){}var r="undefined"==typeof console?e:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function a(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<n;e++)t[i[e]]=0;return t}function s(t){var e=getComputedStyle(t);return e||r("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),e}var o,l=!1;function c(){if(!l){l=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var r=document.body||document.documentElement;r.appendChild(e);var i=s(e);o=200==Math.round(t(i.width)),h.isBoxSizeOuter=o,r.removeChild(e)}}function h(e){if(c(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var r=s(e);if("none"==r.display)return a();var l={};l.width=e.offsetWidth,l.height=e.offsetHeight;for(var h=l.isBorderBox="border-box"==r.boxSizing,u=0;u<n;u++){var d=i[u],p=r[d],f=parseFloat(p);l[d]=isNaN(f)?0:f}var m=l.paddingLeft+l.paddingRight,g=l.paddingTop+l.paddingBottom,v=l.marginLeft+l.marginRight,y=l.marginTop+l.marginBottom,b=l.borderLeftWidth+l.borderRightWidth,_=l.borderTopWidth+l.borderBottomWidth,E=h&&o,S=t(r.width);!1!==S&&(l.width=S+(E?0:m+b));var x=t(r.height);return!1!==x&&(l.height=x+(E?0:g+_)),l.innerWidth=l.width-(m+b),l.innerHeight=l.height-(g+_),l.outerWidth=l.width+v,l.outerHeight=l.height+y,l}}return h})?i.call(e,r,e,t):i)||(t.exports=n)},639:function(t,e,r){var i,n;!function(a,s){"use strict";i=[r(160)],n=function(t){return function(t,e){var r=t.jQuery,i=t.console;function n(t,e){for(var r in e)t[r]=e[r];return t}var a=Array.prototype.slice;function s(t){return Array.isArray(t)?t:"object"==typeof t&&"number"==typeof t.length?a.call(t):[t]}function o(t,e,a){if(!(this instanceof o))return new o(t,e,a);var l=t;"string"==typeof t&&(l=document.querySelectorAll(t)),l?(this.elements=s(l),this.options=n({},this.options),"function"==typeof e?a=e:n(this.options,e),a&&this.on("always",a),this.getImages(),r&&(this.jqDeferred=new r.Deferred),setTimeout(this.check.bind(this))):i.error("Bad element for imagesLoaded "+(l||t))}o.prototype=Object.create(e.prototype),o.prototype.options={},o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},o.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&l[e]){for(var r=t.querySelectorAll("img"),i=0;i<r.length;i++){var n=r[i];this.addImage(n)}if("string"==typeof this.options.background){var a=t.querySelectorAll(this.options.background);for(i=0;i<a.length;i++){var s=a[i];this.addElementBackgroundImages(s)}}}};var l={1:!0,9:!0,11:!0};function c(t){this.img=t}function h(t,e){this.url=t,this.element=e,this.img=new Image}return o.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var r=/url\((['"])?(.*?)\1\)/gi,i=r.exec(e.backgroundImage);null!==i;){var n=i&&i[2];n&&this.addBackground(n,t),i=r.exec(e.backgroundImage)}},o.prototype.addImage=function(t){var e=new c(t);this.images.push(e)},o.prototype.addBackground=function(t,e){var r=new h(t,e);this.images.push(r)},o.prototype.check=function(){var t=this;function e(e,r,i){setTimeout((function(){t.progress(e,r,i)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},o.prototype.progress=function(t,e,r){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&i&&i.log("progress: "+r,t,e)},o.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},c.prototype=Object.create(e.prototype),c.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},c.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},c.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},c.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},c.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype=Object.create(c.prototype),h.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},h.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},o.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((r=e).fn.imagesLoaded=function(t,e){return new o(this,t,e).jqDeferred.promise(r(this))})},o.makeJQueryPlugin(),o}(a,t)}.apply(e,i),void 0===n||(t.exports=n)}("undefined"!=typeof window?window:this)},282:function(t,e,r){var i,n;!function(a,s){i=[r(704)],n=function(t){return function(t,e){"use strict";function r(){}var i=r.prototype=Object.create(e.prototype);i.bindHandles=function(){this._bindHandles(!0)},i.unbindHandles=function(){this._bindHandles(!1)},i._bindHandles=function(e){for(var r=(e=void 0===e||e)?"addEventListener":"removeEventListener",i=e?this._touchActionValue:"",n=0;n<this.handles.length;n++){var a=this.handles[n];this._bindStartEvent(a,e),a[r]("click",this),t.PointerEvent&&(a.style.touchAction=i)}},i._touchActionValue="none",i.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))};var n={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},a={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return i.okayPointerDown=function(t){var e=n[t.target.nodeName],r=a[t.target.type],i=!e||r;return i||this._pointerReset(),i},i.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},i.pointerMove=function(t,e){var r=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,r]),this._dragMove(t,e,r)},i._dragPointerMove=function(t,e){var r={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(r)&&this._dragStart(t,e),r},i.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3},i.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},i._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},i._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},i.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},i._dragMove=function(t,e,r){this.isDragging&&this.dragMove(t,e,r)},i.dragMove=function(t,e,r){t.preventDefault(),this.emitEvent("dragMove",[t,e,r])},i._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},i.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},i.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},i._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},i.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},r.getPointerPoint=e.getPointerPoint,r}(a,t)}.apply(e,i),void 0===n||(t.exports=n)}(window)},566:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(442),r(47)):i(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e){t.create.sync=function(){this.syncers={};let t=this.options.sync;this.on("destroy",this.unsyncAll),t&&setTimeout((()=>{this.sync(t)}))};let r=t.prototype;return r.sync=function(r){r=e.getQueryElement(r);let i=t.data(r);i&&(this._syncCompanion(i),i._syncCompanion(this))},r._syncCompanion=function(t){let e=this;function r(){let r=e.selectedIndex;t.selectedIndex!==r&&t.select(r)}this.on("select",r),this.syncers[t.guid]={flickity:t,listener:r}},r.unsync=function(r){r=e.getQueryElement(r);let i=t.data(r);this._unsync(i)},r._unsync=function(t){t&&(this._unsyncCompanion(t),t._unsyncCompanion(this))},r._unsyncCompanion=function(t){let e=t.guid,r=this.syncers[e];this.off("select",r.listener),delete this.syncers[e]},r.unsyncAll=function(){for(let t in this.syncers){let e=this.syncers[t];this._unsync(e.flickity)}},t}))},597:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(680),r(47)):i(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e){let r=t.prototype;return r.insert=function(t,e){let r=this._makeCells(t);if(!r||!r.length)return;let i=this.cells.length;e=void 0===e?i:e;let n=function(t){let e=document.createDocumentFragment();return t.forEach((t=>e.appendChild(t.element))),e}(r),a=e===i;if(a)this.slider.appendChild(n);else{let t=this.cells[e].element;this.slider.insertBefore(n,t)}if(0===e)this.cells=r.concat(this.cells);else if(a)this.cells=this.cells.concat(r);else{let t=this.cells.splice(e,i-e);this.cells=this.cells.concat(r).concat(t)}this._sizeCells(r),this.cellChange(e),this.positionSliderAtSelected()},r.append=function(t){this.insert(t,this.cells.length)},r.prepend=function(t){this.insert(t,0)},r.remove=function(t){let r=this.getCells(t);if(!r||!r.length)return;let i=this.cells.length-1;r.forEach((t=>{t.remove();let r=this.cells.indexOf(t);i=Math.min(r,i),e.removeFrom(this.cells,t)})),this.cellChange(i),this.positionSliderAtSelected()},r.cellSizeChange=function(t){let e=this.getCell(t);if(!e)return;e.getSize();let r=this.cells.indexOf(e);this.cellChange(r)},r.cellChange=function(t){let e=this.selectedElement;this._positionCells(t),this._updateWrapShiftCells(),this.setGallerySize();let r=this.getCell(e);r&&(this.selectedIndex=this.getCellSlideIndex(r)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex)},t}))},880:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(47)):(e.Flickity=e.Flickity||{},e.Flickity.animatePrototype=i(e.fizzyUIUtils))}("undefined"!=typeof window?window:this,(function(t){let e={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();let t=this.x;this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating&&requestAnimationFrame((()=>this.animate()))},positionSlider:function(){let e=this.x;this.isWrapping&&(e=t.modulo(e,this.slideableWidth)-this.slideableWidth,this.shiftWrapCells(e)),this.setTranslateX(e,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,this.options.rightToLeft&&(t=-t);let r=this.getPositionValue(t);this.slider.style.transform=e?`translate3d(${r},0,0)`:`translateX(${r})`},dispatchScrollEvent:function(){let t=this.slides[0];if(!t)return;let e=-this.x-t.target,r=e/this.slidesWidth;this.dispatchEvent("scroll",null,[r,e])},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)===Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){let e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);let r=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,r,1)},_shiftCells:function(t,e,r){t.forEach((t=>{let i=e>0?r:0;this._wrapShiftCell(t,i),e-=t.size.outerWidth}))},_unshiftCells:function(t){t&&t.length&&t.forEach((t=>this._wrapShiftCell(t,0)))},_wrapShiftCell:function(t,e){this._renderCellPosition(t,t.x+this.slideableWidth*e)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(!this.isDraggable||!this.isPointerDown)return;let t=this.dragX-this.x-this.velocity;this.applyForce(t)},applySelectedAttraction:function(){if(this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length)return;let t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}};return e}))},229:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(131)):(e.Flickity=e.Flickity||{},e.Flickity.Cell=i(e.getSize))}("undefined"!=typeof window?window:this,(function(t){const e="flickity-cell";function r(t){this.element=t,this.element.classList.add(e),this.x=0,this.unselect()}let i=r.prototype;return i.destroy=function(){this.unselect(),this.element.classList.remove(e),this.element.style.transform="",this.element.removeAttribute("aria-hidden")},i.getSize=function(){this.size=t(this.element)},i.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},i.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},i.remove=function(){this.element.remove()},r}))},680:function(t,e,r){!function(e,i){if(t.exports)t.exports=i(e,r(158),r(131),r(47),r(229),r(714),r(880));else{let t=e.Flickity;e.Flickity=i(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,t.Cell,t.Slide,t.animatePrototype)}}("undefined"!=typeof window?window:this,(function(t,e,r,i,n,a,s){const{getComputedStyle:o,console:l}=t;let{jQuery:c}=t,h=0,u={};function d(t,e){let r=i.getQueryElement(t);if(r){if(this.element=r,this.element.flickityGUID){let t=u[this.element.flickityGUID];return t&&t.option(e),t}c&&(this.$element=c(this.element)),this.options={...this.constructor.defaults},this.option(e),this._create()}else l&&l.error(`Bad element for Flickity: ${r||t}`)}d.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},d.create={};let p=d.prototype;Object.assign(p,e.prototype),p._create=function(){let{resize:e,watchCSS:r,rightToLeft:i}=this.options,n=this.guid=++h;this.element.flickityGUID=n,u[n]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.beginMargin=i?"marginRight":"marginLeft",this.endMargin=i?"marginLeft":"marginRight",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),this.focusableElems=[this.element],(e||r)&&t.addEventListener("resize",this);for(let t in this.options.on){let e=this.options.on[t];this.on(t,e)}for(let t in d.create)d.create[t].call(this);r?this.watchCSS():this.activate()},p.option=function(t){Object.assign(this.options,t)},p.activate=function(){if(this.isActive)return;this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();let t=this._filterFindCellElements(this.element.children);this.slider.append(...t),this.viewport.append(this.slider),this.element.append(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")},p._createSlider=function(){let t=document.createElement("div");t.className="flickity-slider",this.slider=t},p._filterFindCellElements=function(t){return i.filterFindElements(t,this.options.cellSelector)},p.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize()},p._makeCells=function(t){return this._filterFindCellElements(t).map((t=>new n(t)))},p.getLastCell=function(){return this.cells[this.cells.length-1]},p.getLastSlide=function(){return this.slides[this.slides.length-1]},p.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},p._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;let e=0;if(t>0){let r=this.cells[t-1];e=r.x+r.size.outerWidth}this.cells.slice(t).forEach((t=>{t.x=e,this._renderCellPosition(t,e),e+=t.size.outerWidth,this.maxCellHeight=Math.max(t.size.outerHeight,this.maxCellHeight)})),this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=this.cells.length?this.getLastSlide().target-this.slides[0].target:0},p._renderCellPosition=function(t,e){let r=e*(this.options.rightToLeft?-1:1);this.options.percentPosition&&(r*=this.size.innerWidth/t.size.width);let i=this.getPositionValue(r);t.element.style.transform=`translateX( ${i} )`},p._sizeCells=function(t){t.forEach((t=>t.getSize()))},p.updateSlides=function(){if(this.slides=[],!this.cells.length)return;let{beginMargin:t,endMargin:e}=this,r=new a(t,e,this.cellAlign);this.slides.push(r);let i=this._getCanCellFit();this.cells.forEach(((n,s)=>{if(!r.cells.length)return void r.addCell(n);let o=r.outerWidth-r.firstMargin+(n.size.outerWidth-n.size[e]);i(s,o)||(r.updateTarget(),r=new a(t,e,this.cellAlign),this.slides.push(r)),r.addCell(n)})),r.updateTarget(),this.updateSelectedSlide()},p._getCanCellFit=function(){let{groupCells:t}=this.options;if(!t)return()=>!1;if("number"==typeof t){let e=parseInt(t,10);return t=>t%e!=0}let e=1,r="string"==typeof t&&t.match(/^(\d+)%$/);r&&(e=parseInt(r[1],10)/100);let i=(this.size.innerWidth+1)*e;return(t,e)=>e<=i},p._init=p.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},p.getSize=function(){this.size=r(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};let f={left:0,center:.5,right:1};p.setCellAlign=function(){let{cellAlign:t,rightToLeft:e}=this.options,r=f[t];this.cellAlign=void 0!==r?r:t,e&&(this.cellAlign=1-this.cellAlign)},p.setGallerySize=function(){if(!this.options.setGallerySize)return;let t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=`${t}px`},p._updateWrapShiftCells=function(){if(this.isWrapping=this.getIsWrapping(),!this.isWrapping)return;this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);let t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1);let r=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(r,0,1)},p.getIsWrapping=function(){let{wrapAround:t}=this.options;if(!t||this.slides.length<2)return!1;if("fill"!==t)return!0;let e=this.slideableWidth-this.size.innerWidth;if(e>this.size.innerWidth)return!0;for(let t of this.cells)if(t.size.outerWidth>e)return!1;return!0},p._getGapCells=function(t,e,r){let i=[];for(;t>0;){let n=this.cells[e];if(!n)break;i.push(n),e+=r,t-=n.size.outerWidth}return i},p._containSlides=function(){if(!(this.options.contain&&!this.isWrapping&&this.cells.length))return;let t=this.slideableWidth-this.getLastCell().size[this.endMargin];if(t<this.size.innerWidth)this.slides.forEach((e=>{e.target=t*this.cellAlign}));else{let e=this.cursorPosition+this.cells[0].size[this.beginMargin],r=t-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((t=>{t.target=Math.max(t.target,e),t.target=Math.min(t.target,r)}))}},p.dispatchEvent=function(t,e,r){let i=e?[e].concat(r):r;if(this.emitEvent(t,i),c&&this.$element){let i=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){let r=new c.Event(e);r.type=t,i=r}this.$element.trigger(i,r)}};const m=["dragStart","dragMove","dragEnd","pointerDown","pointerMove","pointerEnd","staticClick"];let g=p.emitEvent;p.emitEvent=function(t,e){if("staticClick"===t){let t=this.getParentCell(e[0].target),r=t&&t.element,i=t&&this.cells.indexOf(t);e=e.concat(r,i)}if(g.call(this,t,e),!m.includes(t)||!c||!this.$element)return;t+=this.options.namespaceJQueryEvents?".flickity":"";let r=e.shift(0),i=new c.Event(r);i.type=t,this.$element.trigger(i,e)},p.select=function(t,e,r){if(!this.isActive)return;if(t=parseInt(t,10),this._wrapSelect(t),(this.isWrapping||e)&&(t=i.modulo(t,this.slides.length)),!this.slides[t])return;let n=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),r?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!==n&&this.dispatchEvent("change",null,[t])},p._wrapSelect=function(t){if(!this.isWrapping)return;const{selectedIndex:e,slideableWidth:r,slides:{length:n}}=this;if(!this.isDragSelect){let r=i.modulo(t,n),a=Math.abs(r-e),s=Math.abs(r+n-e),o=Math.abs(r-n-e);s<a?t+=n:o<a&&(t-=n)}t<0?this.x-=r:t>=n&&(this.x+=r)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){let t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){let t=this.options.initialIndex;if(this.isInitActivated)return void this.select(this.selectedIndex,!1,!0);if(t&&"string"==typeof t){if(this.queryCell(t))return void this.selectCell(t,!1,!0)}let e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)},p.selectCell=function(t,e,r){let i=this.queryCell(t);if(!i)return;let n=this.getCellSlideIndex(i);this.select(n,e,r)},p.getCellSlideIndex=function(t){let e=this.slides.find((e=>e.cells.includes(t)));return this.slides.indexOf(e)},p.getCell=function(t){for(let e of this.cells)if(e.element===t)return e},p.getCells=function(t){return(t=i.makeArray(t)).map((t=>this.getCell(t))).filter(Boolean)},p.getCellElements=function(){return this.cells.map((t=>t.element))},p.getParentCell=function(t){let e=this.getCell(t);if(e)return e;let r=t.closest(".flickity-slider > *");return this.getCell(r)},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;let r=this.slides.length;if(1+2*t>=r)return this.getCellElements();let n=[];for(let a=e-t;a<=e+t;a++){let t=this.isWrapping?i.modulo(a,r):a,e=this.slides[t];e&&(n=n.concat(e.getCellElements()))}return n},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];return"string"==typeof t&&!t.match(/^[#.]?[\d/]/)&&(t=this.element.querySelector(t)),this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.onresize=function(){this.watchCSS(),this.resize()},i.debounceMethod(d,"onresize",150),p.resize=function(){if(!this.isActive||this.isAnimating||this.isDragging)return;this.getSize(),this.isWrapping&&(this.x=i.modulo(this.x,this.slideableWidth)),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");let t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)},p.watchCSS=function(){if(!this.options.watchCSS)return;o(this.element,":after").content.includes("flickity")?this.activate():this.deactivate()},p.onkeydown=function(t){let{activeElement:e}=document,r=d.keyboardHandlers[t.key];this.options.accessibility&&e&&r&&this.focusableElems.some((t=>e===t))&&r.call(this)},d.keyboardHandlers={ArrowLeft:function(){this.uiChange(),this[this.options.rightToLeft?"next":"previous"]()},ArrowRight:function(){this.uiChange(),this[this.options.rightToLeft?"previous":"next"]()}},p.focus=function(){this.element.focus({preventScroll:!0})},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((t=>t.destroy())),this.viewport.remove(),this.element.append(...this.slider.children),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete u[this.guid]},Object.assign(p,s),d.data=function(t){if(t=i.getQueryElement(t))return u[t.flickityGUID]},i.htmlInit(d,"flickity");let{jQueryBridget:v}=t;return c&&v&&v("flickity",d,c),d.setJQuery=function(t){c=t},d.Cell=n,d.Slide=a,d}))},690:function(t,e,r){!function(e,i){t.exports?t.exports=i(e,r(680),r(842),r(47)):e.Flickity=i(e,e.Flickity,e.Unidragger,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e,r,i){Object.assign(e.defaults,{draggable:">1",dragThreshold:3});let n=e.prototype;function a(){return{x:t.pageXOffset,y:t.pageYOffset}}return Object.assign(n,r.prototype),n.touchActionValue="",e.create.drag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),this.on("pointerDown",this.handlePointerDown),this.on("pointerUp",this.handlePointerUp),this.on("pointerDown",this.handlePointerDone),this.on("dragStart",this.handleDragStart),this.on("dragMove",this.handleDragMove),this.on("dragEnd",this.handleDragEnd),this.on("staticClick",this.handleStaticClick)},n.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},n.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},n.updateDraggable=function(){">1"===this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.element.classList.toggle("is-draggable",this.isDraggable)},n._uiChangeDrag=function(){delete this.isFreeScrolling},n.handlePointerDown=function(e){if(!this.isDraggable)return void this.bindActivePointerEvents(e);let r="touchstart"===e.type,i="touch"===e.pointerType,n=e.target.matches("input, textarea, select");r||i||n||e.preventDefault(),n||this.focus(),document.activeElement!==this.element&&document.activeElement.blur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=a(),t.addEventListener("scroll",this),this.bindActivePointerEvents(e)},n.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},n.handlePointerUp=function(){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down")},n.handlePointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},n.handleDragStart=function(){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this))},n.handleDragMove=function(t,e,r){if(!this.isDraggable)return;t.preventDefault(),this.previousDragX=this.dragX;let i=this.options.rightToLeft?-1:1;this.isWrapping&&(r.x%=this.slideableWidth);let n=this.dragStartPosition+r.x*i;if(!this.isWrapping){let t=Math.max(-this.slides[0].target,this.dragStartPosition);n=n>t?.5*(n+t):n;let e=Math.min(-this.getLastSlide().target,this.dragStartPosition);n=n<e?.5*(n+e):n}this.dragX=n,this.dragMoveTime=new Date},n.handleDragEnd=function(){if(!this.isDraggable)return;let{freeScroll:t}=this.options;t&&(this.isFreeScrolling=!0);let e=this.dragEndRestingSelect();if(t&&!this.isWrapping){let t=this.getRestingPosition();this.isFreeScrolling=-t>this.slides[0].target&&-t<this.getLastSlide().target}else t||e!==this.selectedIndex||(e+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.isWrapping,this.select(e),delete this.isDragSelect},n.dragEndRestingSelect=function(){let t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),r=this._getClosestResting(t,e,1),i=this._getClosestResting(t,e,-1);return r.distance<i.distance?r.index:i.index},n._getClosestResting=function(t,e,r){let i=this.selectedIndex,n=1/0,a=this.options.contain&&!this.isWrapping?(t,e)=>t<=e:(t,e)=>t<e;for(;a(e,n)&&(i+=r,n=e,null!==(e=this.getSlideDistance(-t,i)));)e=Math.abs(e);return{distance:n,index:i-r}},n.getSlideDistance=function(t,e){let r=this.slides.length,n=this.options.wrapAround&&r>1,a=n?i.modulo(e,r):e,s=this.slides[a];if(!s)return null;let o=n?this.slideableWidth*Math.floor(e/r):0;return t-(s.target+o)},n.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;let t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},n.onscroll=function(){let t=a(),e=this.pointerDownScroll.x-t.x,r=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(r)>3)&&this.pointerDone()},e}))},835:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(680),r(564)):i(e.Flickity,e.imagesLoaded)}("undefined"!=typeof window?window:this,(function(t,e){return t.create.imagesLoaded=function(){this.on("activate",this.imagesLoaded)},t.prototype.imagesLoaded=function(){if(!this.options.imagesLoaded)return;e(this.slider).on("progress",((t,e)=>{let r=this.getParentCell(e.img);this.cellSizeChange(r&&r.element),this.options.freeScroll||this.positionSliderAtSelected()}))},t}))},442:function(t,e,r){if(t.exports){const e=r(680);r(690),r(410),r(573),r(516),r(597),r(227),r(835),t.exports=e}},227:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(680),r(47)):i(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e){const r="data-flickity-lazyload",i=`${r}-src`,n=`${r}-srcset`,a=`img[${r}], img[${i}], img[${n}], source[${n}]`;t.create.lazyLoad=function(){this.on("select",this.lazyLoad),this.handleLazyLoadComplete=this.onLazyLoadComplete.bind(this)};let s=t.prototype;function o(t){if(t.matches("img")){let e=t.getAttribute(r),a=t.getAttribute(i),s=t.getAttribute(n);if(e||a||s)return t}return[...t.querySelectorAll(a)]}function l(t,e){this.img=t,this.onComplete=e,this.load()}return s.lazyLoad=function(){let{lazyLoad:t}=this.options;if(!t)return;let e="number"==typeof t?t:0;this.getAdjacentCellElements(e).map(o).flat().forEach((t=>new l(t,this.handleLazyLoadComplete)))},s.onLazyLoadComplete=function(t,e){let r=this.getParentCell(t),i=r&&r.element;this.cellSizeChange(i),this.dispatchEvent("lazyLoad",e,i)},l.prototype.handleEvent=e.handleEvent,l.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);let t=this.img.getAttribute(r)||this.img.getAttribute(i),e=this.img.getAttribute(n);this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute(r),this.img.removeAttribute(i),this.img.removeAttribute(n)},l.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},l.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},l.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this),(this.img.parentNode.matches("picture")?this.img.parentNode:this.img).classList.add(e),this.onComplete(this.img,t)},t.LazyLoader=l,t}))},573:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(680),r(47)):i(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(t,e){function r(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.dots=[]}r.prototype.setDots=function(t){let e=t-this.dots.length;e>0?this.addDots(e):e<0&&this.removeDots(-e)},r.prototype.addDots=function(t){let e=new Array(t).fill().map(((t,e)=>{let r=document.createElement("button");r.setAttribute("type","button");let i=e+1+this.dots.length;return r.className="flickity-page-dot",r.textContent=`View slide ${i}`,r}));this.holder.append(...e),this.dots=this.dots.concat(e)},r.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((t=>t.remove()))},r.prototype.updateSelected=function(t){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[t],this.selectedDot.classList.add("is-selected"),this.selectedDot.setAttribute("aria-current","step"))},t.PageDots=r,Object.assign(t.defaults,{pageDots:!0}),t.create.pageDots=function(){this.options.pageDots&&(this.pageDots=new r,this.handlePageDotsClick=this.onPageDotsClick.bind(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))};let i=t.prototype;return i.activatePageDots=function(){this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots),this.pageDots.holder.addEventListener("click",this.handlePageDotsClick),this.element.append(this.pageDots.holder)},i.onPageDotsClick=function(t){let e=this.pageDots.dots.indexOf(t.target);-1!==e&&(this.uiChange(),this.select(e))},i.updateSelectedPageDots=function(){this.pageDots.updateSelected(this.selectedIndex)},i.updatePageDots=function(){this.pageDots.dots.forEach((t=>{e.removeFrom(this.focusableElems,t)})),this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots)},i.deactivatePageDots=function(){this.pageDots.holder.remove(),this.pageDots.holder.removeEventListener("click",this.handlePageDotsClick)},t.PageDots=r,t}))},516:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(680)):i(e.Flickity)}("undefined"!=typeof window?window:this,(function(t){function e(t,e){this.autoPlay=t,this.onTick=e,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}e.prototype.play=function(){if("playing"===this.state)return;document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick())},e.prototype.tick=function(){if("playing"!==this.state)return;let t="number"==typeof this.autoPlay?this.autoPlay:3e3;this.clear(),this.timeout=setTimeout((()=>{this.onTick(),this.tick()}),t)},e.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},e.prototype.clear=function(){clearTimeout(this.timeout)},e.prototype.pause=function(){"playing"===this.state&&(this.state="paused",this.clear())},e.prototype.unpause=function(){"paused"===this.state&&this.play()},e.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},e.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},Object.assign(t.defaults,{pauseAutoPlayOnHover:!0}),t.create.player=function(){this.player=new e(this.options.autoPlay,(()=>{this.next(!0)})),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)};let r=t.prototype;return r.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},r.playPlayer=function(){this.player.play()},r.stopPlayer=function(){this.player.stop()},r.pausePlayer=function(){this.player.pause()},r.unpausePlayer=function(){this.player.unpause()},r.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},r.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},r.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},t.Player=e,t}))},410:function(t,e,r){!function(e,i){t.exports?t.exports=i(r(680)):i(e.Flickity)}("undefined"!=typeof window?window:this,(function(t){const e="http://www.w3.org/2000/svg";function r(t,e,r){this.increment=t,this.direction=e,this.isPrevious="previous"===t,this.isLeft="left"===e,this._create(r)}r.prototype._create=function(t){let e=this.element=document.createElement("button");e.className=`flickity-button flickity-prev-next-button ${this.increment}`;let r=this.isPrevious?"Previous":"Next";e.setAttribute("type","button"),e.setAttribute("aria-label",r),this.disable();let i=this.createSVG(r,t);e.append(i)},r.prototype.createSVG=function(t,r){let i=document.createElementNS(e,"svg");i.setAttribute("class","flickity-button-icon"),i.setAttribute("viewBox","0 0 100 100");let n=document.createElementNS(e,"title");n.append(t);let a=document.createElementNS(e,"path"),s=function(t){if("string"==typeof t)return t;let{x0:e,x1:r,x2:i,x3:n,y1:a,y2:s}=t;return`M ${e}, 50\n L ${r}, ${a+50}\n L ${i}, ${s+50}\n L ${n}, 50\n L ${i}, ${50-s}\n L ${r}, ${50-a}\n Z`}(r);return a.setAttribute("d",s),a.setAttribute("class","arrow"),this.isLeft||a.setAttribute("transform","translate(100, 100) rotate(180)"),i.append(n,a),i},r.prototype.enable=function(){this.element.removeAttribute("disabled")},r.prototype.disable=function(){this.element.setAttribute("disabled",!0)},Object.assign(t.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),t.create.prevNextButtons=function(){if(!this.options.prevNextButtons)return;let{rightToLeft:t,arrowShape:e}=this.options,i=t?"right":"left",n=t?"left":"right";this.prevButton=new r("previous",i,e),this.nextButton=new r("next",n,e),this.focusableElems.push(this.prevButton.element),this.focusableElems.push(this.nextButton.element),this.handlePrevButtonClick=()=>{this.uiChange(),this.previous()},this.handleNextButtonClick=()=>{this.uiChange(),this.next()},this.on("activate",this.activatePrevNextButtons),this.on("select",this.updatePrevNextButtons)};let i=t.prototype;return i.updatePrevNextButtons=function(){let t=this.slides.length?this.slides.length-1:0;this.updatePrevNextButton(this.prevButton,0),this.updatePrevNextButton(this.nextButton,t)},i.updatePrevNextButton=function(t,e){if(this.isWrapping&&this.slides.length>1)return void t.enable();let r=this.selectedIndex!==e;t[r?"enable":"disable"](),!r&&document.activeElement===t.element&&this.focus()},i.activatePrevNextButtons=function(){this.prevButton.element.addEventListener("click",this.handlePrevButtonClick),this.nextButton.element.addEventListener("click",this.handleNextButtonClick),this.element.append(this.prevButton.element,this.nextButton.element),this.on("deactivate",this.deactivatePrevNextButtons)},i.deactivatePrevNextButtons=function(){this.prevButton.element.remove(),this.nextButton.element.remove(),this.prevButton.element.removeEventListener("click",this.handlePrevButtonClick),this.nextButton.element.removeEventListener("click",this.handleNextButtonClick),this.off("deactivate",this.deactivatePrevNextButtons)},t.PrevNextButton=r,t}))},714:function(t){!function(e,r){t.exports?t.exports=r():(e.Flickity=e.Flickity||{},e.Flickity.Slide=r())}("undefined"!=typeof window?window:this,(function(){function t(t,e,r){this.beginMargin=t,this.endMargin=e,this.cellAlign=r,this.cells=[],this.outerWidth=0,this.height=0}let e=t.prototype;return e.addCell=function(t){this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1===this.cells.length&&(this.x=t.x,this.firstMargin=t.size[this.beginMargin])},e.updateTarget=function(){let t=this.getLastCell(),e=t?t.size[this.endMargin]:0,r=this.outerWidth-(this.firstMargin+e);this.target=this.x+this.firstMargin+r*this.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]},e.select=function(){this.cells.forEach((t=>t.select()))},e.unselect=function(){this.cells.forEach((t=>t.unselect()))},e.getCellElements=function(){return this.cells.map((t=>t.element))},t}))},131:function(t){!function(e,r){t.exports?t.exports=r():e.getSize=r()}(window,(function(){function t(t){let e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}let e=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];e.length;return function(r){if("string"==typeof r&&(r=document.querySelector(r)),!(r&&"object"==typeof r&&r.nodeType))return;let i=getComputedStyle(r);if("none"==i.display)return function(){let t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};return e.forEach((e=>{t[e]=0})),t}();let n={};n.width=r.offsetWidth,n.height=r.offsetHeight;let a=n.isBorderBox="border-box"==i.boxSizing;e.forEach((t=>{let e=i[t],r=parseFloat(e);n[t]=isNaN(r)?0:r}));let s=n.paddingLeft+n.paddingRight,o=n.paddingTop+n.paddingBottom,l=n.marginLeft+n.marginRight,c=n.marginTop+n.marginBottom,h=n.borderLeftWidth+n.borderRightWidth,u=n.borderTopWidth+n.borderBottomWidth,d=t(i.width);!1!==d&&(n.width=d+(a?0:s+h));let p=t(i.height);return!1!==p&&(n.height=p+(a?0:o+u)),n.innerWidth=n.width-(s+h),n.innerHeight=n.height-(o+u),n.outerWidth=n.width+l,n.outerHeight=n.height+c,n}}))},564:function(t,e,r){!function(e,i){t.exports?t.exports=i(e,r(158)):e.imagesLoaded=i(e,e.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){let r=t.jQuery,i=t.console;function n(t,e,a){if(!(this instanceof n))return new n(t,e,a);let s=t;var o;("string"==typeof t&&(s=document.querySelectorAll(t)),s)?(this.elements=(o=s,Array.isArray(o)?o:"object"==typeof o&&"number"==typeof o.length?[...o]:[o]),this.options={},"function"==typeof e?a=e:Object.assign(this.options,e),a&&this.on("always",a),this.getImages(),r&&(this.jqDeferred=new r.Deferred),setTimeout(this.check.bind(this))):i.error(`Bad element for imagesLoaded ${s||t}`)}n.prototype=Object.create(e.prototype),n.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const a=[1,9,11];n.prototype.addElementImages=function(t){"IMG"===t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);let{nodeType:e}=t;if(!e||!a.includes(e))return;let r=t.querySelectorAll("img");for(let t of r)this.addImage(t);if("string"==typeof this.options.background){let e=t.querySelectorAll(this.options.background);for(let t of e)this.addElementBackgroundImages(t)}};const s=/url\((['"])?(.*?)\1\)/gi;function o(t){this.img=t}function l(t,e){this.url=t,this.element=e,this.img=new Image}return n.prototype.addElementBackgroundImages=function(t){let e=getComputedStyle(t);if(!e)return;let r=s.exec(e.backgroundImage);for(;null!==r;){let i=r&&r[2];i&&this.addBackground(i,t),r=s.exec(e.backgroundImage)}},n.prototype.addImage=function(t){let e=new o(t);this.images.push(e)},n.prototype.addBackground=function(t,e){let r=new l(t,e);this.images.push(r)},n.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let t=(t,e,r)=>{setTimeout((()=>{this.progress(t,e,r)}))};this.images.forEach((function(e){e.once("progress",t),e.check()}))},n.prototype.progress=function(t,e,r){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&i&&i.log(`progress: ${r}`,t,e)},n.prototype.complete=function(){let t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){let t=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[t](this)}},o.prototype=Object.create(e.prototype),o.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},o.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},o.prototype.confirm=function(t,e){this.isLoaded=t;let{parentNode:r}=this.img,i="PICTURE"===r.nodeName?r:this.img;this.emitEvent("progress",[this,i,e])},o.prototype.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(o.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},n.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(r=e,r.fn.imagesLoaded=function(t,e){return new n(this,t,e).jqDeferred.promise(r(this))})},n.makeJQueryPlugin(),n}))},486:function(t,e,r){var i;t=r.nmd(t),function(){var n,a=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",o="Expected a function",l="Invalid `variable` option passed into `_.template`",c="__lodash_hash_undefined__",h=500,u="__lodash_placeholder__",d=1,p=2,f=4,m=1,g=2,v=1,y=2,b=4,_=8,E=16,S=32,x=64,w=128,C=256,P=512,A=30,T="...",k=800,L=16,D=1,I=2,M=1/0,O=9007199254740991,F=17976931348623157e292,R=NaN,N=4294967295,B=N-1,V=N>>>1,q=[["ary",w],["bind",v],["bindKey",y],["curry",_],["curryRight",E],["flip",P],["partial",S],["partialRight",x],["rearg",C]],z="[object Arguments]",j="[object Array]",G="[object AsyncFunction]",H="[object Boolean]",W="[object Date]",$="[object DOMException]",U="[object Error]",Y="[object Function]",X="[object GeneratorFunction]",K="[object Map]",Z="[object Number]",J="[object Null]",Q="[object Object]",tt="[object Promise]",et="[object Proxy]",rt="[object RegExp]",it="[object Set]",nt="[object String]",at="[object Symbol]",st="[object Undefined]",ot="[object WeakMap]",lt="[object WeakSet]",ct="[object ArrayBuffer]",ht="[object DataView]",ut="[object Float32Array]",dt="[object Float64Array]",pt="[object Int8Array]",ft="[object Int16Array]",mt="[object Int32Array]",gt="[object Uint8Array]",vt="[object Uint8ClampedArray]",yt="[object Uint16Array]",bt="[object Uint32Array]",_t=/\b__p \+= '';/g,Et=/\b(__p \+=) '' \+/g,St=/(__e\(.*?\)|\b__t\)) \+\n'';/g,xt=/&(?:amp|lt|gt|quot|#39);/g,wt=/[&<>"']/g,Ct=RegExp(xt.source),Pt=RegExp(wt.source),At=/<%-([\s\S]+?)%>/g,Tt=/<%([\s\S]+?)%>/g,kt=/<%=([\s\S]+?)%>/g,Lt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Dt=/^\w*$/,It=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mt=/[\\^$.*+?()[\]{}|]/g,Ot=RegExp(Mt.source),Ft=/^\s+/,Rt=/\s/,Nt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bt=/\{\n\/\* \[wrapped with (.+)\] \*/,Vt=/,? & /,qt=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,zt=/[()=,{}\[\]\/\s]/,jt=/\\(\\)?/g,Gt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ht=/\w*$/,Wt=/^[-+]0x[0-9a-f]+$/i,$t=/^0b[01]+$/i,Ut=/^\[object .+?Constructor\]$/,Yt=/^0o[0-7]+$/i,Xt=/^(?:0|[1-9]\d*)$/,Kt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Zt=/($^)/,Jt=/['\n\r\u2028\u2029\\]/g,Qt="\\ud800-\\udfff",te="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ee="\\u2700-\\u27bf",re="a-z\\xdf-\\xf6\\xf8-\\xff",ie="A-Z\\xc0-\\xd6\\xd8-\\xde",ne="\\ufe0e\\ufe0f",ae="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",se="['’]",oe="["+Qt+"]",le="["+ae+"]",ce="["+te+"]",he="\\d+",ue="["+ee+"]",de="["+re+"]",pe="[^"+Qt+ae+he+ee+re+ie+"]",fe="\\ud83c[\\udffb-\\udfff]",me="[^"+Qt+"]",ge="(?:\\ud83c[\\udde6-\\uddff]){2}",ve="[\\ud800-\\udbff][\\udc00-\\udfff]",ye="["+ie+"]",be="\\u200d",_e="(?:"+de+"|"+pe+")",Ee="(?:"+ye+"|"+pe+")",Se="(?:['’](?:d|ll|m|re|s|t|ve))?",xe="(?:['’](?:D|LL|M|RE|S|T|VE))?",we="(?:"+ce+"|"+fe+")"+"?",Ce="["+ne+"]?",Pe=Ce+we+("(?:"+be+"(?:"+[me,ge,ve].join("|")+")"+Ce+we+")*"),Ae="(?:"+[ue,ge,ve].join("|")+")"+Pe,Te="(?:"+[me+ce+"?",ce,ge,ve,oe].join("|")+")",ke=RegExp(se,"g"),Le=RegExp(ce,"g"),De=RegExp(fe+"(?="+fe+")|"+Te+Pe,"g"),Ie=RegExp([ye+"?"+de+"+"+Se+"(?="+[le,ye,"$"].join("|")+")",Ee+"+"+xe+"(?="+[le,ye+_e,"$"].join("|")+")",ye+"?"+_e+"+"+Se,ye+"+"+xe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",he,Ae].join("|"),"g"),Me=RegExp("["+be+Qt+te+ne+"]"),Oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Fe=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Re=-1,Ne={};Ne[ut]=Ne[dt]=Ne[pt]=Ne[ft]=Ne[mt]=Ne[gt]=Ne[vt]=Ne[yt]=Ne[bt]=!0,Ne[z]=Ne[j]=Ne[ct]=Ne[H]=Ne[ht]=Ne[W]=Ne[U]=Ne[Y]=Ne[K]=Ne[Z]=Ne[Q]=Ne[rt]=Ne[it]=Ne[nt]=Ne[ot]=!1;var Be={};Be[z]=Be[j]=Be[ct]=Be[ht]=Be[H]=Be[W]=Be[ut]=Be[dt]=Be[pt]=Be[ft]=Be[mt]=Be[K]=Be[Z]=Be[Q]=Be[rt]=Be[it]=Be[nt]=Be[at]=Be[gt]=Be[vt]=Be[yt]=Be[bt]=!0,Be[U]=Be[Y]=Be[ot]=!1;var Ve={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},qe=parseFloat,ze=parseInt,je="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,Ge="object"==typeof self&&self&&self.Object===Object&&self,He=je||Ge||Function("return this")(),We=e&&!e.nodeType&&e,$e=We&&t&&!t.nodeType&&t,Ue=$e&&$e.exports===We,Ye=Ue&&je.process,Xe=function(){try{var t=$e&&$e.require&&$e.require("util").types;return t||Ye&&Ye.binding&&Ye.binding("util")}catch(t){}}(),Ke=Xe&&Xe.isArrayBuffer,Ze=Xe&&Xe.isDate,Je=Xe&&Xe.isMap,Qe=Xe&&Xe.isRegExp,tr=Xe&&Xe.isSet,er=Xe&&Xe.isTypedArray;function rr(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}function ir(t,e,r,i){for(var n=-1,a=null==t?0:t.length;++n<a;){var s=t[n];e(i,s,r(s),t)}return i}function nr(t,e){for(var r=-1,i=null==t?0:t.length;++r<i&&!1!==e(t[r],r,t););return t}function ar(t,e){for(var r=null==t?0:t.length;r--&&!1!==e(t[r],r,t););return t}function sr(t,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(!e(t[r],r,t))return!1;return!0}function or(t,e){for(var r=-1,i=null==t?0:t.length,n=0,a=[];++r<i;){var s=t[r];e(s,r,t)&&(a[n++]=s)}return a}function lr(t,e){return!!(null==t?0:t.length)&&yr(t,e,0)>-1}function cr(t,e,r){for(var i=-1,n=null==t?0:t.length;++i<n;)if(r(e,t[i]))return!0;return!1}function hr(t,e){for(var r=-1,i=null==t?0:t.length,n=Array(i);++r<i;)n[r]=e(t[r],r,t);return n}function ur(t,e){for(var r=-1,i=e.length,n=t.length;++r<i;)t[n+r]=e[r];return t}function dr(t,e,r,i){var n=-1,a=null==t?0:t.length;for(i&&a&&(r=t[++n]);++n<a;)r=e(r,t[n],n,t);return r}function pr(t,e,r,i){var n=null==t?0:t.length;for(i&&n&&(r=t[--n]);n--;)r=e(r,t[n],n,t);return r}function fr(t,e){for(var r=-1,i=null==t?0:t.length;++r<i;)if(e(t[r],r,t))return!0;return!1}var mr=Sr("length");function gr(t,e,r){var i;return r(t,(function(t,r,n){if(e(t,r,n))return i=r,!1})),i}function vr(t,e,r,i){for(var n=t.length,a=r+(i?1:-1);i?a--:++a<n;)if(e(t[a],a,t))return a;return-1}function yr(t,e,r){return e==e?function(t,e,r){var i=r-1,n=t.length;for(;++i<n;)if(t[i]===e)return i;return-1}(t,e,r):vr(t,_r,r)}function br(t,e,r,i){for(var n=r-1,a=t.length;++n<a;)if(i(t[n],e))return n;return-1}function _r(t){return t!=t}function Er(t,e){var r=null==t?0:t.length;return r?Cr(t,e)/r:R}function Sr(t){return function(e){return null==e?n:e[t]}}function xr(t){return function(e){return null==t?n:t[e]}}function wr(t,e,r,i,n){return n(t,(function(t,n,a){r=i?(i=!1,t):e(r,t,n,a)})),r}function Cr(t,e){for(var r,i=-1,a=t.length;++i<a;){var s=e(t[i]);s!==n&&(r=r===n?s:r+s)}return r}function Pr(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}function Ar(t){return t?t.slice(0,Hr(t)+1).replace(Ft,""):t}function Tr(t){return function(e){return t(e)}}function kr(t,e){return hr(e,(function(e){return t[e]}))}function Lr(t,e){return t.has(e)}function Dr(t,e){for(var r=-1,i=t.length;++r<i&&yr(e,t[r],0)>-1;);return r}function Ir(t,e){for(var r=t.length;r--&&yr(e,t[r],0)>-1;);return r}var Mr=xr({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),Or=xr({"&":"&","<":"<",">":">",'"':""","'":"'"});function Fr(t){return"\\"+Ve[t]}function Rr(t){return Me.test(t)}function Nr(t){var e=-1,r=Array(t.size);return t.forEach((function(t,i){r[++e]=[i,t]})),r}function Br(t,e){return function(r){return t(e(r))}}function Vr(t,e){for(var r=-1,i=t.length,n=0,a=[];++r<i;){var s=t[r];s!==e&&s!==u||(t[r]=u,a[n++]=r)}return a}function qr(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}function zr(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=[t,t]})),r}function jr(t){return Rr(t)?function(t){var e=De.lastIndex=0;for(;De.test(t);)++e;return e}(t):mr(t)}function Gr(t){return Rr(t)?function(t){return t.match(De)||[]}(t):function(t){return t.split("")}(t)}function Hr(t){for(var e=t.length;e--&&Rt.test(t.charAt(e)););return e}var Wr=xr({"&":"&","<":"<",">":">",""":'"',"'":"'"});var $r=function t(e){var r,i=(e=null==e?He:$r.defaults(He.Object(),e,$r.pick(He,Fe))).Array,Rt=e.Date,Qt=e.Error,te=e.Function,ee=e.Math,re=e.Object,ie=e.RegExp,ne=e.String,ae=e.TypeError,se=i.prototype,oe=te.prototype,le=re.prototype,ce=e["__core-js_shared__"],he=oe.toString,ue=le.hasOwnProperty,de=0,pe=(r=/[^.]+$/.exec(ce&&ce.keys&&ce.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"",fe=le.toString,me=he.call(re),ge=He._,ve=ie("^"+he.call(ue).replace(Mt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ye=Ue?e.Buffer:n,be=e.Symbol,_e=e.Uint8Array,Ee=ye?ye.allocUnsafe:n,Se=Br(re.getPrototypeOf,re),xe=re.create,we=le.propertyIsEnumerable,Ce=se.splice,Pe=be?be.isConcatSpreadable:n,Ae=be?be.iterator:n,Te=be?be.toStringTag:n,De=function(){try{var t=za(re,"defineProperty");return t({},"",{}),t}catch(t){}}(),Me=e.clearTimeout!==He.clearTimeout&&e.clearTimeout,Ve=Rt&&Rt.now!==He.Date.now&&Rt.now,je=e.setTimeout!==He.setTimeout&&e.setTimeout,Ge=ee.ceil,We=ee.floor,$e=re.getOwnPropertySymbols,Ye=ye?ye.isBuffer:n,Xe=e.isFinite,mr=se.join,xr=Br(re.keys,re),Ur=ee.max,Yr=ee.min,Xr=Rt.now,Kr=e.parseInt,Zr=ee.random,Jr=se.reverse,Qr=za(e,"DataView"),ti=za(e,"Map"),ei=za(e,"Promise"),ri=za(e,"Set"),ii=za(e,"WeakMap"),ni=za(re,"create"),ai=ii&&new ii,si={},oi=ps(Qr),li=ps(ti),ci=ps(ei),hi=ps(ri),ui=ps(ii),di=be?be.prototype:n,pi=di?di.valueOf:n,fi=di?di.toString:n;function mi(t){if(Do(t)&&!_o(t)&&!(t instanceof bi)){if(t instanceof yi)return t;if(ue.call(t,"__wrapped__"))return fs(t)}return new yi(t)}var gi=function(){function t(){}return function(e){if(!Lo(e))return{};if(xe)return xe(e);t.prototype=e;var r=new t;return t.prototype=n,r}}();function vi(){}function yi(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=n}function bi(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=N,this.__views__=[]}function _i(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Ei(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function Si(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function xi(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Si;++e<r;)this.add(t[e])}function wi(t){var e=this.__data__=new Ei(t);this.size=e.size}function Ci(t,e){var r=_o(t),i=!r&&bo(t),n=!r&&!i&&wo(t),a=!r&&!i&&!n&&Vo(t),s=r||i||n||a,o=s?Pr(t.length,ne):[],l=o.length;for(var c in t)!e&&!ue.call(t,c)||s&&("length"==c||n&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ya(c,l))||o.push(c);return o}function Pi(t){var e=t.length;return e?t[wn(0,e-1)]:n}function Ai(t,e){return hs(aa(t),Ri(e,0,t.length))}function Ti(t){return hs(aa(t))}function ki(t,e,r){(r!==n&&!go(t[e],r)||r===n&&!(e in t))&&Oi(t,e,r)}function Li(t,e,r){var i=t[e];ue.call(t,e)&&go(i,r)&&(r!==n||e in t)||Oi(t,e,r)}function Di(t,e){for(var r=t.length;r--;)if(go(t[r][0],e))return r;return-1}function Ii(t,e,r,i){return zi(t,(function(t,n,a){e(i,t,r(t),a)})),i}function Mi(t,e){return t&&sa(e,ol(e),t)}function Oi(t,e,r){"__proto__"==e&&De?De(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r}function Fi(t,e){for(var r=-1,a=e.length,s=i(a),o=null==t;++r<a;)s[r]=o?n:rl(t,e[r]);return s}function Ri(t,e,r){return t==t&&(r!==n&&(t=t<=r?t:r),e!==n&&(t=t>=e?t:e)),t}function Ni(t,e,r,i,a,s){var o,l=e&d,c=e&p,h=e&f;if(r&&(o=a?r(t,i,a,s):r(t)),o!==n)return o;if(!Lo(t))return t;var u=_o(t);if(u){if(o=function(t){var e=t.length,r=new t.constructor(e);e&&"string"==typeof t[0]&&ue.call(t,"index")&&(r.index=t.index,r.input=t.input);return r}(t),!l)return aa(t,o)}else{var m=Ha(t),g=m==Y||m==X;if(wo(t))return Qn(t,l);if(m==Q||m==z||g&&!a){if(o=c||g?{}:$a(t),!l)return c?function(t,e){return sa(t,Ga(t),e)}(t,function(t,e){return t&&sa(e,ll(e),t)}(o,t)):function(t,e){return sa(t,ja(t),e)}(t,Mi(o,t))}else{if(!Be[m])return a?t:{};o=function(t,e,r){var i=t.constructor;switch(e){case ct:return ta(t);case H:case W:return new i(+t);case ht:return function(t,e){var r=e?ta(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)}(t,r);case ut:case dt:case pt:case ft:case mt:case gt:case vt:case yt:case bt:return ea(t,r);case K:return new i;case Z:case nt:return new i(t);case rt:return function(t){var e=new t.constructor(t.source,Ht.exec(t));return e.lastIndex=t.lastIndex,e}(t);case it:return new i;case at:return n=t,pi?re(pi.call(n)):{}}var n}(t,m,l)}}s||(s=new wi);var v=s.get(t);if(v)return v;s.set(t,o),Ro(t)?t.forEach((function(i){o.add(Ni(i,e,r,i,t,s))})):Io(t)&&t.forEach((function(i,n){o.set(n,Ni(i,e,r,n,t,s))}));var y=u?n:(h?c?Oa:Ma:c?ll:ol)(t);return nr(y||t,(function(i,n){y&&(i=t[n=i]),Li(o,n,Ni(i,e,r,n,t,s))})),o}function Bi(t,e,r){var i=r.length;if(null==t)return!i;for(t=re(t);i--;){var a=r[i],s=e[a],o=t[a];if(o===n&&!(a in t)||!s(o))return!1}return!0}function Vi(t,e,r){if("function"!=typeof t)throw new ae(o);return ss((function(){t.apply(n,r)}),e)}function qi(t,e,r,i){var n=-1,s=lr,o=!0,l=t.length,c=[],h=e.length;if(!l)return c;r&&(e=hr(e,Tr(r))),i?(s=cr,o=!1):e.length>=a&&(s=Lr,o=!1,e=new xi(e));t:for(;++n<l;){var u=t[n],d=null==r?u:r(u);if(u=i||0!==u?u:0,o&&d==d){for(var p=h;p--;)if(e[p]===d)continue t;c.push(u)}else s(e,d,i)||c.push(u)}return c}mi.templateSettings={escape:At,evaluate:Tt,interpolate:kt,variable:"",imports:{_:mi}},mi.prototype=vi.prototype,mi.prototype.constructor=mi,yi.prototype=gi(vi.prototype),yi.prototype.constructor=yi,bi.prototype=gi(vi.prototype),bi.prototype.constructor=bi,_i.prototype.clear=function(){this.__data__=ni?ni(null):{},this.size=0},_i.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},_i.prototype.get=function(t){var e=this.__data__;if(ni){var r=e[t];return r===c?n:r}return ue.call(e,t)?e[t]:n},_i.prototype.has=function(t){var e=this.__data__;return ni?e[t]!==n:ue.call(e,t)},_i.prototype.set=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=ni&&e===n?c:e,this},Ei.prototype.clear=function(){this.__data__=[],this.size=0},Ei.prototype.delete=function(t){var e=this.__data__,r=Di(e,t);return!(r<0)&&(r==e.length-1?e.pop():Ce.call(e,r,1),--this.size,!0)},Ei.prototype.get=function(t){var e=this.__data__,r=Di(e,t);return r<0?n:e[r][1]},Ei.prototype.has=function(t){return Di(this.__data__,t)>-1},Ei.prototype.set=function(t,e){var r=this.__data__,i=Di(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this},Si.prototype.clear=function(){this.size=0,this.__data__={hash:new _i,map:new(ti||Ei),string:new _i}},Si.prototype.delete=function(t){var e=Va(this,t).delete(t);return this.size-=e?1:0,e},Si.prototype.get=function(t){return Va(this,t).get(t)},Si.prototype.has=function(t){return Va(this,t).has(t)},Si.prototype.set=function(t,e){var r=Va(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this},xi.prototype.add=xi.prototype.push=function(t){return this.__data__.set(t,c),this},xi.prototype.has=function(t){return this.__data__.has(t)},wi.prototype.clear=function(){this.__data__=new Ei,this.size=0},wi.prototype.delete=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r},wi.prototype.get=function(t){return this.__data__.get(t)},wi.prototype.has=function(t){return this.__data__.has(t)},wi.prototype.set=function(t,e){var r=this.__data__;if(r instanceof Ei){var i=r.__data__;if(!ti||i.length<a-1)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new Si(i)}return r.set(t,e),this.size=r.size,this};var zi=ca(Xi),ji=ca(Ki,!0);function Gi(t,e){var r=!0;return zi(t,(function(t,i,n){return r=!!e(t,i,n)})),r}function Hi(t,e,r){for(var i=-1,a=t.length;++i<a;){var s=t[i],o=e(s);if(null!=o&&(l===n?o==o&&!Bo(o):r(o,l)))var l=o,c=s}return c}function Wi(t,e){var r=[];return zi(t,(function(t,i,n){e(t,i,n)&&r.push(t)})),r}function $i(t,e,r,i,n){var a=-1,s=t.length;for(r||(r=Ua),n||(n=[]);++a<s;){var o=t[a];e>0&&r(o)?e>1?$i(o,e-1,r,i,n):ur(n,o):i||(n[n.length]=o)}return n}var Ui=ha(),Yi=ha(!0);function Xi(t,e){return t&&Ui(t,e,ol)}function Ki(t,e){return t&&Yi(t,e,ol)}function Zi(t,e){return or(e,(function(e){return Ao(t[e])}))}function Ji(t,e){for(var r=0,i=(e=Xn(e,t)).length;null!=t&&r<i;)t=t[ds(e[r++])];return r&&r==i?t:n}function Qi(t,e,r){var i=e(t);return _o(t)?i:ur(i,r(t))}function tn(t){return null==t?t===n?st:J:Te&&Te in re(t)?function(t){var e=ue.call(t,Te),r=t[Te];try{t[Te]=n;var i=!0}catch(t){}var a=fe.call(t);i&&(e?t[Te]=r:delete t[Te]);return a}(t):function(t){return fe.call(t)}(t)}function en(t,e){return t>e}function rn(t,e){return null!=t&&ue.call(t,e)}function nn(t,e){return null!=t&&e in re(t)}function an(t,e,r){for(var a=r?cr:lr,s=t[0].length,o=t.length,l=o,c=i(o),h=1/0,u=[];l--;){var d=t[l];l&&e&&(d=hr(d,Tr(e))),h=Yr(d.length,h),c[l]=!r&&(e||s>=120&&d.length>=120)?new xi(l&&d):n}d=t[0];var p=-1,f=c[0];t:for(;++p<s&&u.length<h;){var m=d[p],g=e?e(m):m;if(m=r||0!==m?m:0,!(f?Lr(f,g):a(u,g,r))){for(l=o;--l;){var v=c[l];if(!(v?Lr(v,g):a(t[l],g,r)))continue t}f&&f.push(g),u.push(m)}}return u}function sn(t,e,r){var i=null==(t=is(t,e=Xn(e,t)))?t:t[ds(Cs(e))];return null==i?n:rr(i,t,r)}function on(t){return Do(t)&&tn(t)==z}function ln(t,e,r,i,a){return t===e||(null==t||null==e||!Do(t)&&!Do(e)?t!=t&&e!=e:function(t,e,r,i,a,s){var o=_o(t),l=_o(e),c=o?j:Ha(t),h=l?j:Ha(e),u=(c=c==z?Q:c)==Q,d=(h=h==z?Q:h)==Q,p=c==h;if(p&&wo(t)){if(!wo(e))return!1;o=!0,u=!1}if(p&&!u)return s||(s=new wi),o||Vo(t)?Da(t,e,r,i,a,s):function(t,e,r,i,n,a,s){switch(r){case ht:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ct:return!(t.byteLength!=e.byteLength||!a(new _e(t),new _e(e)));case H:case W:case Z:return go(+t,+e);case U:return t.name==e.name&&t.message==e.message;case rt:case nt:return t==e+"";case K:var o=Nr;case it:var l=i&m;if(o||(o=qr),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;i|=g,s.set(t,e);var h=Da(o(t),o(e),i,n,a,s);return s.delete(t),h;case at:if(pi)return pi.call(t)==pi.call(e)}return!1}(t,e,c,r,i,a,s);if(!(r&m)){var f=u&&ue.call(t,"__wrapped__"),v=d&&ue.call(e,"__wrapped__");if(f||v){var y=f?t.value():t,b=v?e.value():e;return s||(s=new wi),a(y,b,r,i,s)}}if(!p)return!1;return s||(s=new wi),function(t,e,r,i,a,s){var o=r&m,l=Ma(t),c=l.length,h=Ma(e),u=h.length;if(c!=u&&!o)return!1;var d=c;for(;d--;){var p=l[d];if(!(o?p in e:ue.call(e,p)))return!1}var f=s.get(t),g=s.get(e);if(f&&g)return f==e&&g==t;var v=!0;s.set(t,e),s.set(e,t);var y=o;for(;++d<c;){var b=t[p=l[d]],_=e[p];if(i)var E=o?i(_,b,p,e,t,s):i(b,_,p,t,e,s);if(!(E===n?b===_||a(b,_,r,i,s):E)){v=!1;break}y||(y="constructor"==p)}if(v&&!y){var S=t.constructor,x=e.constructor;S==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof S&&S instanceof S&&"function"==typeof x&&x instanceof x||(v=!1)}return s.delete(t),s.delete(e),v}(t,e,r,i,a,s)}(t,e,r,i,ln,a))}function cn(t,e,r,i){var a=r.length,s=a,o=!i;if(null==t)return!s;for(t=re(t);a--;){var l=r[a];if(o&&l[2]?l[1]!==t[l[0]]:!(l[0]in t))return!1}for(;++a<s;){var c=(l=r[a])[0],h=t[c],u=l[1];if(o&&l[2]){if(h===n&&!(c in t))return!1}else{var d=new wi;if(i)var p=i(h,u,c,t,e,d);if(!(p===n?ln(u,h,m|g,i,d):p))return!1}}return!0}function hn(t){return!(!Lo(t)||(e=t,pe&&pe in e))&&(Ao(t)?ve:Ut).test(ps(t));var e}function un(t){return"function"==typeof t?t:null==t?Ml:"object"==typeof t?_o(t)?vn(t[0],t[1]):gn(t):jl(t)}function dn(t){if(!Qa(t))return xr(t);var e=[];for(var r in re(t))ue.call(t,r)&&"constructor"!=r&&e.push(r);return e}function pn(t){if(!Lo(t))return function(t){var e=[];if(null!=t)for(var r in re(t))e.push(r);return e}(t);var e=Qa(t),r=[];for(var i in t)("constructor"!=i||!e&&ue.call(t,i))&&r.push(i);return r}function fn(t,e){return t<e}function mn(t,e){var r=-1,n=So(t)?i(t.length):[];return zi(t,(function(t,i,a){n[++r]=e(t,i,a)})),n}function gn(t){var e=qa(t);return 1==e.length&&e[0][2]?es(e[0][0],e[0][1]):function(r){return r===t||cn(r,t,e)}}function vn(t,e){return Ka(t)&&ts(e)?es(ds(t),e):function(r){var i=rl(r,t);return i===n&&i===e?il(r,t):ln(e,i,m|g)}}function yn(t,e,r,i,a){t!==e&&Ui(e,(function(s,o){if(a||(a=new wi),Lo(s))!function(t,e,r,i,a,s,o){var l=ns(t,r),c=ns(e,r),h=o.get(c);if(h)return void ki(t,r,h);var u=s?s(l,c,r+"",t,e,o):n,d=u===n;if(d){var p=_o(c),f=!p&&wo(c),m=!p&&!f&&Vo(c);u=c,p||f||m?_o(l)?u=l:xo(l)?u=aa(l):f?(d=!1,u=Qn(c,!0)):m?(d=!1,u=ea(c,!0)):u=[]:Oo(c)||bo(c)?(u=l,bo(l)?u=Uo(l):Lo(l)&&!Ao(l)||(u=$a(c))):d=!1}d&&(o.set(c,u),a(u,c,i,s,o),o.delete(c));ki(t,r,u)}(t,e,o,r,yn,i,a);else{var l=i?i(ns(t,o),s,o+"",t,e,a):n;l===n&&(l=s),ki(t,o,l)}}),ll)}function bn(t,e){var r=t.length;if(r)return Ya(e+=e<0?r:0,r)?t[e]:n}function _n(t,e,r){e=e.length?hr(e,(function(t){return _o(t)?function(e){return Ji(e,1===t.length?t[0]:t)}:t})):[Ml];var i=-1;e=hr(e,Tr(Ba()));var n=mn(t,(function(t,r,n){var a=hr(e,(function(e){return e(t)}));return{criteria:a,index:++i,value:t}}));return function(t,e){var r=t.length;for(t.sort(e);r--;)t[r]=t[r].value;return t}(n,(function(t,e){return function(t,e,r){var i=-1,n=t.criteria,a=e.criteria,s=n.length,o=r.length;for(;++i<s;){var l=ra(n[i],a[i]);if(l)return i>=o?l:l*("desc"==r[i]?-1:1)}return t.index-e.index}(t,e,r)}))}function En(t,e,r){for(var i=-1,n=e.length,a={};++i<n;){var s=e[i],o=Ji(t,s);r(o,s)&&kn(a,Xn(s,t),o)}return a}function Sn(t,e,r,i){var n=i?br:yr,a=-1,s=e.length,o=t;for(t===e&&(e=aa(e)),r&&(o=hr(t,Tr(r)));++a<s;)for(var l=0,c=e[a],h=r?r(c):c;(l=n(o,h,l,i))>-1;)o!==t&&Ce.call(o,l,1),Ce.call(t,l,1);return t}function xn(t,e){for(var r=t?e.length:0,i=r-1;r--;){var n=e[r];if(r==i||n!==a){var a=n;Ya(n)?Ce.call(t,n,1):zn(t,n)}}return t}function wn(t,e){return t+We(Zr()*(e-t+1))}function Cn(t,e){var r="";if(!t||e<1||e>O)return r;do{e%2&&(r+=t),(e=We(e/2))&&(t+=t)}while(e);return r}function Pn(t,e){return os(rs(t,e,Ml),t+"")}function An(t){return Pi(gl(t))}function Tn(t,e){var r=gl(t);return hs(r,Ri(e,0,r.length))}function kn(t,e,r,i){if(!Lo(t))return t;for(var a=-1,s=(e=Xn(e,t)).length,o=s-1,l=t;null!=l&&++a<s;){var c=ds(e[a]),h=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(a!=o){var u=l[c];(h=i?i(u,c,l):n)===n&&(h=Lo(u)?u:Ya(e[a+1])?[]:{})}Li(l,c,h),l=l[c]}return t}var Ln=ai?function(t,e){return ai.set(t,e),t}:Ml,Dn=De?function(t,e){return De(t,"toString",{configurable:!0,enumerable:!1,value:Ll(e),writable:!0})}:Ml;function In(t){return hs(gl(t))}function Mn(t,e,r){var n=-1,a=t.length;e<0&&(e=-e>a?0:a+e),(r=r>a?a:r)<0&&(r+=a),a=e>r?0:r-e>>>0,e>>>=0;for(var s=i(a);++n<a;)s[n]=t[n+e];return s}function On(t,e){var r;return zi(t,(function(t,i,n){return!(r=e(t,i,n))})),!!r}function Fn(t,e,r){var i=0,n=null==t?i:t.length;if("number"==typeof e&&e==e&&n<=V){for(;i<n;){var a=i+n>>>1,s=t[a];null!==s&&!Bo(s)&&(r?s<=e:s<e)?i=a+1:n=a}return n}return Rn(t,e,Ml,r)}function Rn(t,e,r,i){var a=0,s=null==t?0:t.length;if(0===s)return 0;for(var o=(e=r(e))!=e,l=null===e,c=Bo(e),h=e===n;a<s;){var u=We((a+s)/2),d=r(t[u]),p=d!==n,f=null===d,m=d==d,g=Bo(d);if(o)var v=i||m;else v=h?m&&(i||p):l?m&&p&&(i||!f):c?m&&p&&!f&&(i||!g):!f&&!g&&(i?d<=e:d<e);v?a=u+1:s=u}return Yr(s,B)}function Nn(t,e){for(var r=-1,i=t.length,n=0,a=[];++r<i;){var s=t[r],o=e?e(s):s;if(!r||!go(o,l)){var l=o;a[n++]=0===s?0:s}}return a}function Bn(t){return"number"==typeof t?t:Bo(t)?R:+t}function Vn(t){if("string"==typeof t)return t;if(_o(t))return hr(t,Vn)+"";if(Bo(t))return fi?fi.call(t):"";var e=t+"";return"0"==e&&1/t==-M?"-0":e}function qn(t,e,r){var i=-1,n=lr,s=t.length,o=!0,l=[],c=l;if(r)o=!1,n=cr;else if(s>=a){var h=e?null:Ca(t);if(h)return qr(h);o=!1,n=Lr,c=new xi}else c=e?[]:l;t:for(;++i<s;){var u=t[i],d=e?e(u):u;if(u=r||0!==u?u:0,o&&d==d){for(var p=c.length;p--;)if(c[p]===d)continue t;e&&c.push(d),l.push(u)}else n(c,d,r)||(c!==l&&c.push(d),l.push(u))}return l}function zn(t,e){return null==(t=is(t,e=Xn(e,t)))||delete t[ds(Cs(e))]}function jn(t,e,r,i){return kn(t,e,r(Ji(t,e)),i)}function Gn(t,e,r,i){for(var n=t.length,a=i?n:-1;(i?a--:++a<n)&&e(t[a],a,t););return r?Mn(t,i?0:a,i?a+1:n):Mn(t,i?a+1:0,i?n:a)}function Hn(t,e){var r=t;return r instanceof bi&&(r=r.value()),dr(e,(function(t,e){return e.func.apply(e.thisArg,ur([t],e.args))}),r)}function Wn(t,e,r){var n=t.length;if(n<2)return n?qn(t[0]):[];for(var a=-1,s=i(n);++a<n;)for(var o=t[a],l=-1;++l<n;)l!=a&&(s[a]=qi(s[a]||o,t[l],e,r));return qn($i(s,1),e,r)}function $n(t,e,r){for(var i=-1,a=t.length,s=e.length,o={};++i<a;){var l=i<s?e[i]:n;r(o,t[i],l)}return o}function Un(t){return xo(t)?t:[]}function Yn(t){return"function"==typeof t?t:Ml}function Xn(t,e){return _o(t)?t:Ka(t,e)?[t]:us(Yo(t))}var Kn=Pn;function Zn(t,e,r){var i=t.length;return r=r===n?i:r,!e&&r>=i?t:Mn(t,e,r)}var Jn=Me||function(t){return He.clearTimeout(t)};function Qn(t,e){if(e)return t.slice();var r=t.length,i=Ee?Ee(r):new t.constructor(r);return t.copy(i),i}function ta(t){var e=new t.constructor(t.byteLength);return new _e(e).set(new _e(t)),e}function ea(t,e){var r=e?ta(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)}function ra(t,e){if(t!==e){var r=t!==n,i=null===t,a=t==t,s=Bo(t),o=e!==n,l=null===e,c=e==e,h=Bo(e);if(!l&&!h&&!s&&t>e||s&&o&&c&&!l&&!h||i&&o&&c||!r&&c||!a)return 1;if(!i&&!s&&!h&&t<e||h&&r&&a&&!i&&!s||l&&r&&a||!o&&a||!c)return-1}return 0}function ia(t,e,r,n){for(var a=-1,s=t.length,o=r.length,l=-1,c=e.length,h=Ur(s-o,0),u=i(c+h),d=!n;++l<c;)u[l]=e[l];for(;++a<o;)(d||a<s)&&(u[r[a]]=t[a]);for(;h--;)u[l++]=t[a++];return u}function na(t,e,r,n){for(var a=-1,s=t.length,o=-1,l=r.length,c=-1,h=e.length,u=Ur(s-l,0),d=i(u+h),p=!n;++a<u;)d[a]=t[a];for(var f=a;++c<h;)d[f+c]=e[c];for(;++o<l;)(p||a<s)&&(d[f+r[o]]=t[a++]);return d}function aa(t,e){var r=-1,n=t.length;for(e||(e=i(n));++r<n;)e[r]=t[r];return e}function sa(t,e,r,i){var a=!r;r||(r={});for(var s=-1,o=e.length;++s<o;){var l=e[s],c=i?i(r[l],t[l],l,r,t):n;c===n&&(c=t[l]),a?Oi(r,l,c):Li(r,l,c)}return r}function oa(t,e){return function(r,i){var n=_o(r)?ir:Ii,a=e?e():{};return n(r,t,Ba(i,2),a)}}function la(t){return Pn((function(e,r){var i=-1,a=r.length,s=a>1?r[a-1]:n,o=a>2?r[2]:n;for(s=t.length>3&&"function"==typeof s?(a--,s):n,o&&Xa(r[0],r[1],o)&&(s=a<3?n:s,a=1),e=re(e);++i<a;){var l=r[i];l&&t(e,l,i,s)}return e}))}function ca(t,e){return function(r,i){if(null==r)return r;if(!So(r))return t(r,i);for(var n=r.length,a=e?n:-1,s=re(r);(e?a--:++a<n)&&!1!==i(s[a],a,s););return r}}function ha(t){return function(e,r,i){for(var n=-1,a=re(e),s=i(e),o=s.length;o--;){var l=s[t?o:++n];if(!1===r(a[l],l,a))break}return e}}function ua(t){return function(e){var r=Rr(e=Yo(e))?Gr(e):n,i=r?r[0]:e.charAt(0),a=r?Zn(r,1).join(""):e.slice(1);return i[t]()+a}}function da(t){return function(e){return dr(Al(bl(e).replace(ke,"")),t,"")}}function pa(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var r=gi(t.prototype),i=t.apply(r,e);return Lo(i)?i:r}}function fa(t){return function(e,r,i){var a=re(e);if(!So(e)){var s=Ba(r,3);e=ol(e),r=function(t){return s(a[t],t,a)}}var o=t(e,r,i);return o>-1?a[s?e[o]:o]:n}}function ma(t){return Ia((function(e){var r=e.length,i=r,a=yi.prototype.thru;for(t&&e.reverse();i--;){var s=e[i];if("function"!=typeof s)throw new ae(o);if(a&&!l&&"wrapper"==Ra(s))var l=new yi([],!0)}for(i=l?i:r;++i<r;){var c=Ra(s=e[i]),h="wrapper"==c?Fa(s):n;l=h&&Za(h[0])&&h[1]==(w|_|S|C)&&!h[4].length&&1==h[9]?l[Ra(h[0])].apply(l,h[3]):1==s.length&&Za(s)?l[c]():l.thru(s)}return function(){var t=arguments,i=t[0];if(l&&1==t.length&&_o(i))return l.plant(i).value();for(var n=0,a=r?e[n].apply(this,t):i;++n<r;)a=e[n].call(this,a);return a}}))}function ga(t,e,r,a,s,o,l,c,h,u){var d=e&w,p=e&v,f=e&y,m=e&(_|E),g=e&P,b=f?n:pa(t);return function v(){for(var y=arguments.length,_=i(y),E=y;E--;)_[E]=arguments[E];if(m)var S=Na(v),x=function(t,e){for(var r=t.length,i=0;r--;)t[r]===e&&++i;return i}(_,S);if(a&&(_=ia(_,a,s,m)),o&&(_=na(_,o,l,m)),y-=x,m&&y<u){var w=Vr(_,S);return xa(t,e,ga,v.placeholder,r,_,w,c,h,u-y)}var C=p?r:this,P=f?C[t]:t;return y=_.length,c?_=function(t,e){var r=t.length,i=Yr(e.length,r),a=aa(t);for(;i--;){var s=e[i];t[i]=Ya(s,r)?a[s]:n}return t}(_,c):g&&y>1&&_.reverse(),d&&h<y&&(_.length=h),this&&this!==He&&this instanceof v&&(P=b||pa(P)),P.apply(C,_)}}function va(t,e){return function(r,i){return function(t,e,r,i){return Xi(t,(function(t,n,a){e(i,r(t),n,a)})),i}(r,t,e(i),{})}}function ya(t,e){return function(r,i){var a;if(r===n&&i===n)return e;if(r!==n&&(a=r),i!==n){if(a===n)return i;"string"==typeof r||"string"==typeof i?(r=Vn(r),i=Vn(i)):(r=Bn(r),i=Bn(i)),a=t(r,i)}return a}}function ba(t){return Ia((function(e){return e=hr(e,Tr(Ba())),Pn((function(r){var i=this;return t(e,(function(t){return rr(t,i,r)}))}))}))}function _a(t,e){var r=(e=e===n?" ":Vn(e)).length;if(r<2)return r?Cn(e,t):e;var i=Cn(e,Ge(t/jr(e)));return Rr(e)?Zn(Gr(i),0,t).join(""):i.slice(0,t)}function Ea(t){return function(e,r,a){return a&&"number"!=typeof a&&Xa(e,r,a)&&(r=a=n),e=Go(e),r===n?(r=e,e=0):r=Go(r),function(t,e,r,n){for(var a=-1,s=Ur(Ge((e-t)/(r||1)),0),o=i(s);s--;)o[n?s:++a]=t,t+=r;return o}(e,r,a=a===n?e<r?1:-1:Go(a),t)}}function Sa(t){return function(e,r){return"string"==typeof e&&"string"==typeof r||(e=$o(e),r=$o(r)),t(e,r)}}function xa(t,e,r,i,a,s,o,l,c,h){var u=e&_;e|=u?S:x,(e&=~(u?x:S))&b||(e&=~(v|y));var d=[t,e,a,u?s:n,u?o:n,u?n:s,u?n:o,l,c,h],p=r.apply(n,d);return Za(t)&&as(p,d),p.placeholder=i,ls(p,t,e)}function wa(t){var e=ee[t];return function(t,r){if(t=$o(t),(r=null==r?0:Yr(Ho(r),292))&&Xe(t)){var i=(Yo(t)+"e").split("e");return+((i=(Yo(e(i[0]+"e"+(+i[1]+r)))+"e").split("e"))[0]+"e"+(+i[1]-r))}return e(t)}}var Ca=ri&&1/qr(new ri([,-0]))[1]==M?function(t){return new ri(t)}:Bl;function Pa(t){return function(e){var r=Ha(e);return r==K?Nr(e):r==it?zr(e):function(t,e){return hr(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Aa(t,e,r,a,s,l,c,h){var d=e&y;if(!d&&"function"!=typeof t)throw new ae(o);var p=a?a.length:0;if(p||(e&=~(S|x),a=s=n),c=c===n?c:Ur(Ho(c),0),h=h===n?h:Ho(h),p-=s?s.length:0,e&x){var f=a,m=s;a=s=n}var g=d?n:Fa(t),P=[t,e,r,a,s,f,m,l,c,h];if(g&&function(t,e){var r=t[1],i=e[1],n=r|i,a=n<(v|y|w),s=i==w&&r==_||i==w&&r==C&&t[7].length<=e[8]||i==(w|C)&&e[7].length<=e[8]&&r==_;if(!a&&!s)return t;i&v&&(t[2]=e[2],n|=r&v?0:b);var o=e[3];if(o){var l=t[3];t[3]=l?ia(l,o,e[4]):o,t[4]=l?Vr(t[3],u):e[4]}(o=e[5])&&(l=t[5],t[5]=l?na(l,o,e[6]):o,t[6]=l?Vr(t[5],u):e[6]);(o=e[7])&&(t[7]=o);i&w&&(t[8]=null==t[8]?e[8]:Yr(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=n}(P,g),t=P[0],e=P[1],r=P[2],a=P[3],s=P[4],!(h=P[9]=P[9]===n?d?0:t.length:Ur(P[9]-p,0))&&e&(_|E)&&(e&=~(_|E)),e&&e!=v)A=e==_||e==E?function(t,e,r){var a=pa(t);return function s(){for(var o=arguments.length,l=i(o),c=o,h=Na(s);c--;)l[c]=arguments[c];var u=o<3&&l[0]!==h&&l[o-1]!==h?[]:Vr(l,h);return(o-=u.length)<r?xa(t,e,ga,s.placeholder,n,l,u,n,n,r-o):rr(this&&this!==He&&this instanceof s?a:t,this,l)}}(t,e,h):e!=S&&e!=(v|S)||s.length?ga.apply(n,P):function(t,e,r,n){var a=e&v,s=pa(t);return function e(){for(var o=-1,l=arguments.length,c=-1,h=n.length,u=i(h+l),d=this&&this!==He&&this instanceof e?s:t;++c<h;)u[c]=n[c];for(;l--;)u[c++]=arguments[++o];return rr(d,a?r:this,u)}}(t,e,r,a);else var A=function(t,e,r){var i=e&v,n=pa(t);return function e(){return(this&&this!==He&&this instanceof e?n:t).apply(i?r:this,arguments)}}(t,e,r);return ls((g?Ln:as)(A,P),t,e)}function Ta(t,e,r,i){return t===n||go(t,le[r])&&!ue.call(i,r)?e:t}function ka(t,e,r,i,a,s){return Lo(t)&&Lo(e)&&(s.set(e,t),yn(t,e,n,ka,s),s.delete(e)),t}function La(t){return Oo(t)?n:t}function Da(t,e,r,i,a,s){var o=r&m,l=t.length,c=e.length;if(l!=c&&!(o&&c>l))return!1;var h=s.get(t),u=s.get(e);if(h&&u)return h==e&&u==t;var d=-1,p=!0,f=r&g?new xi:n;for(s.set(t,e),s.set(e,t);++d<l;){var v=t[d],y=e[d];if(i)var b=o?i(y,v,d,e,t,s):i(v,y,d,t,e,s);if(b!==n){if(b)continue;p=!1;break}if(f){if(!fr(e,(function(t,e){if(!Lr(f,e)&&(v===t||a(v,t,r,i,s)))return f.push(e)}))){p=!1;break}}else if(v!==y&&!a(v,y,r,i,s)){p=!1;break}}return s.delete(t),s.delete(e),p}function Ia(t){return os(rs(t,n,_s),t+"")}function Ma(t){return Qi(t,ol,ja)}function Oa(t){return Qi(t,ll,Ga)}var Fa=ai?function(t){return ai.get(t)}:Bl;function Ra(t){for(var e=t.name+"",r=si[e],i=ue.call(si,e)?r.length:0;i--;){var n=r[i],a=n.func;if(null==a||a==t)return n.name}return e}function Na(t){return(ue.call(mi,"placeholder")?mi:t).placeholder}function Ba(){var t=mi.iteratee||Ol;return t=t===Ol?un:t,arguments.length?t(arguments[0],arguments[1]):t}function Va(t,e){var r,i,n=t.__data__;return("string"==(i=typeof(r=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==r:null===r)?n["string"==typeof e?"string":"hash"]:n.map}function qa(t){for(var e=ol(t),r=e.length;r--;){var i=e[r],n=t[i];e[r]=[i,n,ts(n)]}return e}function za(t,e){var r=function(t,e){return null==t?n:t[e]}(t,e);return hn(r)?r:n}var ja=$e?function(t){return null==t?[]:(t=re(t),or($e(t),(function(e){return we.call(t,e)})))}:Wl,Ga=$e?function(t){for(var e=[];t;)ur(e,ja(t)),t=Se(t);return e}:Wl,Ha=tn;function Wa(t,e,r){for(var i=-1,n=(e=Xn(e,t)).length,a=!1;++i<n;){var s=ds(e[i]);if(!(a=null!=t&&r(t,s)))break;t=t[s]}return a||++i!=n?a:!!(n=null==t?0:t.length)&&ko(n)&&Ya(s,n)&&(_o(t)||bo(t))}function $a(t){return"function"!=typeof t.constructor||Qa(t)?{}:gi(Se(t))}function Ua(t){return _o(t)||bo(t)||!!(Pe&&t&&t[Pe])}function Ya(t,e){var r=typeof t;return!!(e=null==e?O:e)&&("number"==r||"symbol"!=r&&Xt.test(t))&&t>-1&&t%1==0&&t<e}function Xa(t,e,r){if(!Lo(r))return!1;var i=typeof e;return!!("number"==i?So(r)&&Ya(e,r.length):"string"==i&&e in r)&&go(r[e],t)}function Ka(t,e){if(_o(t))return!1;var r=typeof t;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=t&&!Bo(t))||(Dt.test(t)||!Lt.test(t)||null!=e&&t in re(e))}function Za(t){var e=Ra(t),r=mi[e];if("function"!=typeof r||!(e in bi.prototype))return!1;if(t===r)return!0;var i=Fa(r);return!!i&&t===i[0]}(Qr&&Ha(new Qr(new ArrayBuffer(1)))!=ht||ti&&Ha(new ti)!=K||ei&&Ha(ei.resolve())!=tt||ri&&Ha(new ri)!=it||ii&&Ha(new ii)!=ot)&&(Ha=function(t){var e=tn(t),r=e==Q?t.constructor:n,i=r?ps(r):"";if(i)switch(i){case oi:return ht;case li:return K;case ci:return tt;case hi:return it;case ui:return ot}return e});var Ja=ce?Ao:$l;function Qa(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||le)}function ts(t){return t==t&&!Lo(t)}function es(t,e){return function(r){return null!=r&&(r[t]===e&&(e!==n||t in re(r)))}}function rs(t,e,r){return e=Ur(e===n?t.length-1:e,0),function(){for(var n=arguments,a=-1,s=Ur(n.length-e,0),o=i(s);++a<s;)o[a]=n[e+a];a=-1;for(var l=i(e+1);++a<e;)l[a]=n[a];return l[e]=r(o),rr(t,this,l)}}function is(t,e){return e.length<2?t:Ji(t,Mn(e,0,-1))}function ns(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var as=cs(Ln),ss=je||function(t,e){return He.setTimeout(t,e)},os=cs(Dn);function ls(t,e,r){var i=e+"";return os(t,function(t,e){var r=e.length;if(!r)return t;var i=r-1;return e[i]=(r>1?"& ":"")+e[i],e=e.join(r>2?", ":" "),t.replace(Nt,"{\n/* [wrapped with "+e+"] */\n")}(i,function(t,e){return nr(q,(function(r){var i="_."+r[0];e&r[1]&&!lr(t,i)&&t.push(i)})),t.sort()}(function(t){var e=t.match(Bt);return e?e[1].split(Vt):[]}(i),r)))}function cs(t){var e=0,r=0;return function(){var i=Xr(),a=L-(i-r);if(r=i,a>0){if(++e>=k)return arguments[0]}else e=0;return t.apply(n,arguments)}}function hs(t,e){var r=-1,i=t.length,a=i-1;for(e=e===n?i:e;++r<e;){var s=wn(r,a),o=t[s];t[s]=t[r],t[r]=o}return t.length=e,t}var us=function(t){var e=co(t,(function(t){return r.size===h&&r.clear(),t})),r=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(It,(function(t,r,i,n){e.push(i?n.replace(jt,"$1"):r||t)})),e}));function ds(t){if("string"==typeof t||Bo(t))return t;var e=t+"";return"0"==e&&1/t==-M?"-0":e}function ps(t){if(null!=t){try{return he.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function fs(t){if(t instanceof bi)return t.clone();var e=new yi(t.__wrapped__,t.__chain__);return e.__actions__=aa(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var ms=Pn((function(t,e){return xo(t)?qi(t,$i(e,1,xo,!0)):[]})),gs=Pn((function(t,e){var r=Cs(e);return xo(r)&&(r=n),xo(t)?qi(t,$i(e,1,xo,!0),Ba(r,2)):[]})),vs=Pn((function(t,e){var r=Cs(e);return xo(r)&&(r=n),xo(t)?qi(t,$i(e,1,xo,!0),n,r):[]}));function ys(t,e,r){var i=null==t?0:t.length;if(!i)return-1;var n=null==r?0:Ho(r);return n<0&&(n=Ur(i+n,0)),vr(t,Ba(e,3),n)}function bs(t,e,r){var i=null==t?0:t.length;if(!i)return-1;var a=i-1;return r!==n&&(a=Ho(r),a=r<0?Ur(i+a,0):Yr(a,i-1)),vr(t,Ba(e,3),a,!0)}function _s(t){return(null==t?0:t.length)?$i(t,1):[]}function Es(t){return t&&t.length?t[0]:n}var Ss=Pn((function(t){var e=hr(t,Un);return e.length&&e[0]===t[0]?an(e):[]})),xs=Pn((function(t){var e=Cs(t),r=hr(t,Un);return e===Cs(r)?e=n:r.pop(),r.length&&r[0]===t[0]?an(r,Ba(e,2)):[]})),ws=Pn((function(t){var e=Cs(t),r=hr(t,Un);return(e="function"==typeof e?e:n)&&r.pop(),r.length&&r[0]===t[0]?an(r,n,e):[]}));function Cs(t){var e=null==t?0:t.length;return e?t[e-1]:n}var Ps=Pn(As);function As(t,e){return t&&t.length&&e&&e.length?Sn(t,e):t}var Ts=Ia((function(t,e){var r=null==t?0:t.length,i=Fi(t,e);return xn(t,hr(e,(function(t){return Ya(t,r)?+t:t})).sort(ra)),i}));function ks(t){return null==t?t:Jr.call(t)}var Ls=Pn((function(t){return qn($i(t,1,xo,!0))})),Ds=Pn((function(t){var e=Cs(t);return xo(e)&&(e=n),qn($i(t,1,xo,!0),Ba(e,2))})),Is=Pn((function(t){var e=Cs(t);return e="function"==typeof e?e:n,qn($i(t,1,xo,!0),n,e)}));function Ms(t){if(!t||!t.length)return[];var e=0;return t=or(t,(function(t){if(xo(t))return e=Ur(t.length,e),!0})),Pr(e,(function(e){return hr(t,Sr(e))}))}function Os(t,e){if(!t||!t.length)return[];var r=Ms(t);return null==e?r:hr(r,(function(t){return rr(e,n,t)}))}var Fs=Pn((function(t,e){return xo(t)?qi(t,e):[]})),Rs=Pn((function(t){return Wn(or(t,xo))})),Ns=Pn((function(t){var e=Cs(t);return xo(e)&&(e=n),Wn(or(t,xo),Ba(e,2))})),Bs=Pn((function(t){var e=Cs(t);return e="function"==typeof e?e:n,Wn(or(t,xo),n,e)})),Vs=Pn(Ms);var qs=Pn((function(t){var e=t.length,r=e>1?t[e-1]:n;return r="function"==typeof r?(t.pop(),r):n,Os(t,r)}));function zs(t){var e=mi(t);return e.__chain__=!0,e}function js(t,e){return e(t)}var Gs=Ia((function(t){var e=t.length,r=e?t[0]:0,i=this.__wrapped__,a=function(e){return Fi(e,t)};return!(e>1||this.__actions__.length)&&i instanceof bi&&Ya(r)?((i=i.slice(r,+r+(e?1:0))).__actions__.push({func:js,args:[a],thisArg:n}),new yi(i,this.__chain__).thru((function(t){return e&&!t.length&&t.push(n),t}))):this.thru(a)}));var Hs=oa((function(t,e,r){ue.call(t,r)?++t[r]:Oi(t,r,1)}));var Ws=fa(ys),$s=fa(bs);function Us(t,e){return(_o(t)?nr:zi)(t,Ba(e,3))}function Ys(t,e){return(_o(t)?ar:ji)(t,Ba(e,3))}var Xs=oa((function(t,e,r){ue.call(t,r)?t[r].push(e):Oi(t,r,[e])}));var Ks=Pn((function(t,e,r){var n=-1,a="function"==typeof e,s=So(t)?i(t.length):[];return zi(t,(function(t){s[++n]=a?rr(e,t,r):sn(t,e,r)})),s})),Zs=oa((function(t,e,r){Oi(t,r,e)}));function Js(t,e){return(_o(t)?hr:mn)(t,Ba(e,3))}var Qs=oa((function(t,e,r){t[r?0:1].push(e)}),(function(){return[[],[]]}));var to=Pn((function(t,e){if(null==t)return[];var r=e.length;return r>1&&Xa(t,e[0],e[1])?e=[]:r>2&&Xa(e[0],e[1],e[2])&&(e=[e[0]]),_n(t,$i(e,1),[])})),eo=Ve||function(){return He.Date.now()};function ro(t,e,r){return e=r?n:e,e=t&&null==e?t.length:e,Aa(t,w,n,n,n,n,e)}function io(t,e){var r;if("function"!=typeof e)throw new ae(o);return t=Ho(t),function(){return--t>0&&(r=e.apply(this,arguments)),t<=1&&(e=n),r}}var no=Pn((function(t,e,r){var i=v;if(r.length){var n=Vr(r,Na(no));i|=S}return Aa(t,i,e,r,n)})),ao=Pn((function(t,e,r){var i=v|y;if(r.length){var n=Vr(r,Na(ao));i|=S}return Aa(e,i,t,r,n)}));function so(t,e,r){var i,a,s,l,c,h,u=0,d=!1,p=!1,f=!0;if("function"!=typeof t)throw new ae(o);function m(e){var r=i,s=a;return i=a=n,u=e,l=t.apply(s,r)}function g(t){var r=t-h;return h===n||r>=e||r<0||p&&t-u>=s}function v(){var t=eo();if(g(t))return y(t);c=ss(v,function(t){var r=e-(t-h);return p?Yr(r,s-(t-u)):r}(t))}function y(t){return c=n,f&&i?m(t):(i=a=n,l)}function b(){var t=eo(),r=g(t);if(i=arguments,a=this,h=t,r){if(c===n)return function(t){return u=t,c=ss(v,e),d?m(t):l}(h);if(p)return Jn(c),c=ss(v,e),m(h)}return c===n&&(c=ss(v,e)),l}return e=$o(e)||0,Lo(r)&&(d=!!r.leading,s=(p="maxWait"in r)?Ur($o(r.maxWait)||0,e):s,f="trailing"in r?!!r.trailing:f),b.cancel=function(){c!==n&&Jn(c),u=0,i=h=a=c=n},b.flush=function(){return c===n?l:y(eo())},b}var oo=Pn((function(t,e){return Vi(t,1,e)})),lo=Pn((function(t,e,r){return Vi(t,$o(e)||0,r)}));function co(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new ae(o);var r=function(){var i=arguments,n=e?e.apply(this,i):i[0],a=r.cache;if(a.has(n))return a.get(n);var s=t.apply(this,i);return r.cache=a.set(n,s)||a,s};return r.cache=new(co.Cache||Si),r}function ho(t){if("function"!=typeof t)throw new ae(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}co.Cache=Si;var uo=Kn((function(t,e){var r=(e=1==e.length&&_o(e[0])?hr(e[0],Tr(Ba())):hr($i(e,1),Tr(Ba()))).length;return Pn((function(i){for(var n=-1,a=Yr(i.length,r);++n<a;)i[n]=e[n].call(this,i[n]);return rr(t,this,i)}))})),po=Pn((function(t,e){var r=Vr(e,Na(po));return Aa(t,S,n,e,r)})),fo=Pn((function(t,e){var r=Vr(e,Na(fo));return Aa(t,x,n,e,r)})),mo=Ia((function(t,e){return Aa(t,C,n,n,n,e)}));function go(t,e){return t===e||t!=t&&e!=e}var vo=Sa(en),yo=Sa((function(t,e){return t>=e})),bo=on(function(){return arguments}())?on:function(t){return Do(t)&&ue.call(t,"callee")&&!we.call(t,"callee")},_o=i.isArray,Eo=Ke?Tr(Ke):function(t){return Do(t)&&tn(t)==ct};function So(t){return null!=t&&ko(t.length)&&!Ao(t)}function xo(t){return Do(t)&&So(t)}var wo=Ye||$l,Co=Ze?Tr(Ze):function(t){return Do(t)&&tn(t)==W};function Po(t){if(!Do(t))return!1;var e=tn(t);return e==U||e==$||"string"==typeof t.message&&"string"==typeof t.name&&!Oo(t)}function Ao(t){if(!Lo(t))return!1;var e=tn(t);return e==Y||e==X||e==G||e==et}function To(t){return"number"==typeof t&&t==Ho(t)}function ko(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=O}function Lo(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Do(t){return null!=t&&"object"==typeof t}var Io=Je?Tr(Je):function(t){return Do(t)&&Ha(t)==K};function Mo(t){return"number"==typeof t||Do(t)&&tn(t)==Z}function Oo(t){if(!Do(t)||tn(t)!=Q)return!1;var e=Se(t);if(null===e)return!0;var r=ue.call(e,"constructor")&&e.constructor;return"function"==typeof r&&r instanceof r&&he.call(r)==me}var Fo=Qe?Tr(Qe):function(t){return Do(t)&&tn(t)==rt};var Ro=tr?Tr(tr):function(t){return Do(t)&&Ha(t)==it};function No(t){return"string"==typeof t||!_o(t)&&Do(t)&&tn(t)==nt}function Bo(t){return"symbol"==typeof t||Do(t)&&tn(t)==at}var Vo=er?Tr(er):function(t){return Do(t)&&ko(t.length)&&!!Ne[tn(t)]};var qo=Sa(fn),zo=Sa((function(t,e){return t<=e}));function jo(t){if(!t)return[];if(So(t))return No(t)?Gr(t):aa(t);if(Ae&&t[Ae])return function(t){for(var e,r=[];!(e=t.next()).done;)r.push(e.value);return r}(t[Ae]());var e=Ha(t);return(e==K?Nr:e==it?qr:gl)(t)}function Go(t){return t?(t=$o(t))===M||t===-M?(t<0?-1:1)*F:t==t?t:0:0===t?t:0}function Ho(t){var e=Go(t),r=e%1;return e==e?r?e-r:e:0}function Wo(t){return t?Ri(Ho(t),0,N):0}function $o(t){if("number"==typeof t)return t;if(Bo(t))return R;if(Lo(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Lo(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ar(t);var r=$t.test(t);return r||Yt.test(t)?ze(t.slice(2),r?2:8):Wt.test(t)?R:+t}function Uo(t){return sa(t,ll(t))}function Yo(t){return null==t?"":Vn(t)}var Xo=la((function(t,e){if(Qa(e)||So(e))sa(e,ol(e),t);else for(var r in e)ue.call(e,r)&&Li(t,r,e[r])})),Ko=la((function(t,e){sa(e,ll(e),t)})),Zo=la((function(t,e,r,i){sa(e,ll(e),t,i)})),Jo=la((function(t,e,r,i){sa(e,ol(e),t,i)})),Qo=Ia(Fi);var tl=Pn((function(t,e){t=re(t);var r=-1,i=e.length,a=i>2?e[2]:n;for(a&&Xa(e[0],e[1],a)&&(i=1);++r<i;)for(var s=e[r],o=ll(s),l=-1,c=o.length;++l<c;){var h=o[l],u=t[h];(u===n||go(u,le[h])&&!ue.call(t,h))&&(t[h]=s[h])}return t})),el=Pn((function(t){return t.push(n,ka),rr(hl,n,t)}));function rl(t,e,r){var i=null==t?n:Ji(t,e);return i===n?r:i}function il(t,e){return null!=t&&Wa(t,e,nn)}var nl=va((function(t,e,r){null!=e&&"function"!=typeof e.toString&&(e=fe.call(e)),t[e]=r}),Ll(Ml)),al=va((function(t,e,r){null!=e&&"function"!=typeof e.toString&&(e=fe.call(e)),ue.call(t,e)?t[e].push(r):t[e]=[r]}),Ba),sl=Pn(sn);function ol(t){return So(t)?Ci(t):dn(t)}function ll(t){return So(t)?Ci(t,!0):pn(t)}var cl=la((function(t,e,r){yn(t,e,r)})),hl=la((function(t,e,r,i){yn(t,e,r,i)})),ul=Ia((function(t,e){var r={};if(null==t)return r;var i=!1;e=hr(e,(function(e){return e=Xn(e,t),i||(i=e.length>1),e})),sa(t,Oa(t),r),i&&(r=Ni(r,d|p|f,La));for(var n=e.length;n--;)zn(r,e[n]);return r}));var dl=Ia((function(t,e){return null==t?{}:function(t,e){return En(t,e,(function(e,r){return il(t,r)}))}(t,e)}));function pl(t,e){if(null==t)return{};var r=hr(Oa(t),(function(t){return[t]}));return e=Ba(e),En(t,r,(function(t,r){return e(t,r[0])}))}var fl=Pa(ol),ml=Pa(ll);function gl(t){return null==t?[]:kr(t,ol(t))}var vl=da((function(t,e,r){return e=e.toLowerCase(),t+(r?yl(e):e)}));function yl(t){return Pl(Yo(t).toLowerCase())}function bl(t){return(t=Yo(t))&&t.replace(Kt,Mr).replace(Le,"")}var _l=da((function(t,e,r){return t+(r?"-":"")+e.toLowerCase()})),El=da((function(t,e,r){return t+(r?" ":"")+e.toLowerCase()})),Sl=ua("toLowerCase");var xl=da((function(t,e,r){return t+(r?"_":"")+e.toLowerCase()}));var wl=da((function(t,e,r){return t+(r?" ":"")+Pl(e)}));var Cl=da((function(t,e,r){return t+(r?" ":"")+e.toUpperCase()})),Pl=ua("toUpperCase");function Al(t,e,r){return t=Yo(t),(e=r?n:e)===n?function(t){return Oe.test(t)}(t)?function(t){return t.match(Ie)||[]}(t):function(t){return t.match(qt)||[]}(t):t.match(e)||[]}var Tl=Pn((function(t,e){try{return rr(t,n,e)}catch(t){return Po(t)?t:new Qt(t)}})),kl=Ia((function(t,e){return nr(e,(function(e){e=ds(e),Oi(t,e,no(t[e],t))})),t}));function Ll(t){return function(){return t}}var Dl=ma(),Il=ma(!0);function Ml(t){return t}function Ol(t){return un("function"==typeof t?t:Ni(t,d))}var Fl=Pn((function(t,e){return function(r){return sn(r,t,e)}})),Rl=Pn((function(t,e){return function(r){return sn(t,r,e)}}));function Nl(t,e,r){var i=ol(e),n=Zi(e,i);null!=r||Lo(e)&&(n.length||!i.length)||(r=e,e=t,t=this,n=Zi(e,ol(e)));var a=!(Lo(r)&&"chain"in r&&!r.chain),s=Ao(t);return nr(n,(function(r){var i=e[r];t[r]=i,s&&(t.prototype[r]=function(){var e=this.__chain__;if(a||e){var r=t(this.__wrapped__);return(r.__actions__=aa(this.__actions__)).push({func:i,args:arguments,thisArg:t}),r.__chain__=e,r}return i.apply(t,ur([this.value()],arguments))})})),t}function Bl(){}var Vl=ba(hr),ql=ba(sr),zl=ba(fr);function jl(t){return Ka(t)?Sr(ds(t)):function(t){return function(e){return Ji(e,t)}}(t)}var Gl=Ea(),Hl=Ea(!0);function Wl(){return[]}function $l(){return!1}var Ul=ya((function(t,e){return t+e}),0),Yl=wa("ceil"),Xl=ya((function(t,e){return t/e}),1),Kl=wa("floor");var Zl,Jl=ya((function(t,e){return t*e}),1),Ql=wa("round"),tc=ya((function(t,e){return t-e}),0);return mi.after=function(t,e){if("function"!=typeof e)throw new ae(o);return t=Ho(t),function(){if(--t<1)return e.apply(this,arguments)}},mi.ary=ro,mi.assign=Xo,mi.assignIn=Ko,mi.assignInWith=Zo,mi.assignWith=Jo,mi.at=Qo,mi.before=io,mi.bind=no,mi.bindAll=kl,mi.bindKey=ao,mi.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return _o(t)?t:[t]},mi.chain=zs,mi.chunk=function(t,e,r){e=(r?Xa(t,e,r):e===n)?1:Ur(Ho(e),0);var a=null==t?0:t.length;if(!a||e<1)return[];for(var s=0,o=0,l=i(Ge(a/e));s<a;)l[o++]=Mn(t,s,s+=e);return l},mi.compact=function(t){for(var e=-1,r=null==t?0:t.length,i=0,n=[];++e<r;){var a=t[e];a&&(n[i++]=a)}return n},mi.concat=function(){var t=arguments.length;if(!t)return[];for(var e=i(t-1),r=arguments[0],n=t;n--;)e[n-1]=arguments[n];return ur(_o(r)?aa(r):[r],$i(e,1))},mi.cond=function(t){var e=null==t?0:t.length,r=Ba();return t=e?hr(t,(function(t){if("function"!=typeof t[1])throw new ae(o);return[r(t[0]),t[1]]})):[],Pn((function(r){for(var i=-1;++i<e;){var n=t[i];if(rr(n[0],this,r))return rr(n[1],this,r)}}))},mi.conforms=function(t){return function(t){var e=ol(t);return function(r){return Bi(r,t,e)}}(Ni(t,d))},mi.constant=Ll,mi.countBy=Hs,mi.create=function(t,e){var r=gi(t);return null==e?r:Mi(r,e)},mi.curry=function t(e,r,i){var a=Aa(e,_,n,n,n,n,n,r=i?n:r);return a.placeholder=t.placeholder,a},mi.curryRight=function t(e,r,i){var a=Aa(e,E,n,n,n,n,n,r=i?n:r);return a.placeholder=t.placeholder,a},mi.debounce=so,mi.defaults=tl,mi.defaultsDeep=el,mi.defer=oo,mi.delay=lo,mi.difference=ms,mi.differenceBy=gs,mi.differenceWith=vs,mi.drop=function(t,e,r){var i=null==t?0:t.length;return i?Mn(t,(e=r||e===n?1:Ho(e))<0?0:e,i):[]},mi.dropRight=function(t,e,r){var i=null==t?0:t.length;return i?Mn(t,0,(e=i-(e=r||e===n?1:Ho(e)))<0?0:e):[]},mi.dropRightWhile=function(t,e){return t&&t.length?Gn(t,Ba(e,3),!0,!0):[]},mi.dropWhile=function(t,e){return t&&t.length?Gn(t,Ba(e,3),!0):[]},mi.fill=function(t,e,r,i){var a=null==t?0:t.length;return a?(r&&"number"!=typeof r&&Xa(t,e,r)&&(r=0,i=a),function(t,e,r,i){var a=t.length;for((r=Ho(r))<0&&(r=-r>a?0:a+r),(i=i===n||i>a?a:Ho(i))<0&&(i+=a),i=r>i?0:Wo(i);r<i;)t[r++]=e;return t}(t,e,r,i)):[]},mi.filter=function(t,e){return(_o(t)?or:Wi)(t,Ba(e,3))},mi.flatMap=function(t,e){return $i(Js(t,e),1)},mi.flatMapDeep=function(t,e){return $i(Js(t,e),M)},mi.flatMapDepth=function(t,e,r){return r=r===n?1:Ho(r),$i(Js(t,e),r)},mi.flatten=_s,mi.flattenDeep=function(t){return(null==t?0:t.length)?$i(t,M):[]},mi.flattenDepth=function(t,e){return(null==t?0:t.length)?$i(t,e=e===n?1:Ho(e)):[]},mi.flip=function(t){return Aa(t,P)},mi.flow=Dl,mi.flowRight=Il,mi.fromPairs=function(t){for(var e=-1,r=null==t?0:t.length,i={};++e<r;){var n=t[e];i[n[0]]=n[1]}return i},mi.functions=function(t){return null==t?[]:Zi(t,ol(t))},mi.functionsIn=function(t){return null==t?[]:Zi(t,ll(t))},mi.groupBy=Xs,mi.initial=function(t){return(null==t?0:t.length)?Mn(t,0,-1):[]},mi.intersection=Ss,mi.intersectionBy=xs,mi.intersectionWith=ws,mi.invert=nl,mi.invertBy=al,mi.invokeMap=Ks,mi.iteratee=Ol,mi.keyBy=Zs,mi.keys=ol,mi.keysIn=ll,mi.map=Js,mi.mapKeys=function(t,e){var r={};return e=Ba(e,3),Xi(t,(function(t,i,n){Oi(r,e(t,i,n),t)})),r},mi.mapValues=function(t,e){var r={};return e=Ba(e,3),Xi(t,(function(t,i,n){Oi(r,i,e(t,i,n))})),r},mi.matches=function(t){return gn(Ni(t,d))},mi.matchesProperty=function(t,e){return vn(t,Ni(e,d))},mi.memoize=co,mi.merge=cl,mi.mergeWith=hl,mi.method=Fl,mi.methodOf=Rl,mi.mixin=Nl,mi.negate=ho,mi.nthArg=function(t){return t=Ho(t),Pn((function(e){return bn(e,t)}))},mi.omit=ul,mi.omitBy=function(t,e){return pl(t,ho(Ba(e)))},mi.once=function(t){return io(2,t)},mi.orderBy=function(t,e,r,i){return null==t?[]:(_o(e)||(e=null==e?[]:[e]),_o(r=i?n:r)||(r=null==r?[]:[r]),_n(t,e,r))},mi.over=Vl,mi.overArgs=uo,mi.overEvery=ql,mi.overSome=zl,mi.partial=po,mi.partialRight=fo,mi.partition=Qs,mi.pick=dl,mi.pickBy=pl,mi.property=jl,mi.propertyOf=function(t){return function(e){return null==t?n:Ji(t,e)}},mi.pull=Ps,mi.pullAll=As,mi.pullAllBy=function(t,e,r){return t&&t.length&&e&&e.length?Sn(t,e,Ba(r,2)):t},mi.pullAllWith=function(t,e,r){return t&&t.length&&e&&e.length?Sn(t,e,n,r):t},mi.pullAt=Ts,mi.range=Gl,mi.rangeRight=Hl,mi.rearg=mo,mi.reject=function(t,e){return(_o(t)?or:Wi)(t,ho(Ba(e,3)))},mi.remove=function(t,e){var r=[];if(!t||!t.length)return r;var i=-1,n=[],a=t.length;for(e=Ba(e,3);++i<a;){var s=t[i];e(s,i,t)&&(r.push(s),n.push(i))}return xn(t,n),r},mi.rest=function(t,e){if("function"!=typeof t)throw new ae(o);return Pn(t,e=e===n?e:Ho(e))},mi.reverse=ks,mi.sampleSize=function(t,e,r){return e=(r?Xa(t,e,r):e===n)?1:Ho(e),(_o(t)?Ai:Tn)(t,e)},mi.set=function(t,e,r){return null==t?t:kn(t,e,r)},mi.setWith=function(t,e,r,i){return i="function"==typeof i?i:n,null==t?t:kn(t,e,r,i)},mi.shuffle=function(t){return(_o(t)?Ti:In)(t)},mi.slice=function(t,e,r){var i=null==t?0:t.length;return i?(r&&"number"!=typeof r&&Xa(t,e,r)?(e=0,r=i):(e=null==e?0:Ho(e),r=r===n?i:Ho(r)),Mn(t,e,r)):[]},mi.sortBy=to,mi.sortedUniq=function(t){return t&&t.length?Nn(t):[]},mi.sortedUniqBy=function(t,e){return t&&t.length?Nn(t,Ba(e,2)):[]},mi.split=function(t,e,r){return r&&"number"!=typeof r&&Xa(t,e,r)&&(e=r=n),(r=r===n?N:r>>>0)?(t=Yo(t))&&("string"==typeof e||null!=e&&!Fo(e))&&!(e=Vn(e))&&Rr(t)?Zn(Gr(t),0,r):t.split(e,r):[]},mi.spread=function(t,e){if("function"!=typeof t)throw new ae(o);return e=null==e?0:Ur(Ho(e),0),Pn((function(r){var i=r[e],n=Zn(r,0,e);return i&&ur(n,i),rr(t,this,n)}))},mi.tail=function(t){var e=null==t?0:t.length;return e?Mn(t,1,e):[]},mi.take=function(t,e,r){return t&&t.length?Mn(t,0,(e=r||e===n?1:Ho(e))<0?0:e):[]},mi.takeRight=function(t,e,r){var i=null==t?0:t.length;return i?Mn(t,(e=i-(e=r||e===n?1:Ho(e)))<0?0:e,i):[]},mi.takeRightWhile=function(t,e){return t&&t.length?Gn(t,Ba(e,3),!1,!0):[]},mi.takeWhile=function(t,e){return t&&t.length?Gn(t,Ba(e,3)):[]},mi.tap=function(t,e){return e(t),t},mi.throttle=function(t,e,r){var i=!0,n=!0;if("function"!=typeof t)throw new ae(o);return Lo(r)&&(i="leading"in r?!!r.leading:i,n="trailing"in r?!!r.trailing:n),so(t,e,{leading:i,maxWait:e,trailing:n})},mi.thru=js,mi.toArray=jo,mi.toPairs=fl,mi.toPairsIn=ml,mi.toPath=function(t){return _o(t)?hr(t,ds):Bo(t)?[t]:aa(us(Yo(t)))},mi.toPlainObject=Uo,mi.transform=function(t,e,r){var i=_o(t),n=i||wo(t)||Vo(t);if(e=Ba(e,4),null==r){var a=t&&t.constructor;r=n?i?new a:[]:Lo(t)&&Ao(a)?gi(Se(t)):{}}return(n?nr:Xi)(t,(function(t,i,n){return e(r,t,i,n)})),r},mi.unary=function(t){return ro(t,1)},mi.union=Ls,mi.unionBy=Ds,mi.unionWith=Is,mi.uniq=function(t){return t&&t.length?qn(t):[]},mi.uniqBy=function(t,e){return t&&t.length?qn(t,Ba(e,2)):[]},mi.uniqWith=function(t,e){return e="function"==typeof e?e:n,t&&t.length?qn(t,n,e):[]},mi.unset=function(t,e){return null==t||zn(t,e)},mi.unzip=Ms,mi.unzipWith=Os,mi.update=function(t,e,r){return null==t?t:jn(t,e,Yn(r))},mi.updateWith=function(t,e,r,i){return i="function"==typeof i?i:n,null==t?t:jn(t,e,Yn(r),i)},mi.values=gl,mi.valuesIn=function(t){return null==t?[]:kr(t,ll(t))},mi.without=Fs,mi.words=Al,mi.wrap=function(t,e){return po(Yn(e),t)},mi.xor=Rs,mi.xorBy=Ns,mi.xorWith=Bs,mi.zip=Vs,mi.zipObject=function(t,e){return $n(t||[],e||[],Li)},mi.zipObjectDeep=function(t,e){return $n(t||[],e||[],kn)},mi.zipWith=qs,mi.entries=fl,mi.entriesIn=ml,mi.extend=Ko,mi.extendWith=Zo,Nl(mi,mi),mi.add=Ul,mi.attempt=Tl,mi.camelCase=vl,mi.capitalize=yl,mi.ceil=Yl,mi.clamp=function(t,e,r){return r===n&&(r=e,e=n),r!==n&&(r=(r=$o(r))==r?r:0),e!==n&&(e=(e=$o(e))==e?e:0),Ri($o(t),e,r)},mi.clone=function(t){return Ni(t,f)},mi.cloneDeep=function(t){return Ni(t,d|f)},mi.cloneDeepWith=function(t,e){return Ni(t,d|f,e="function"==typeof e?e:n)},mi.cloneWith=function(t,e){return Ni(t,f,e="function"==typeof e?e:n)},mi.conformsTo=function(t,e){return null==e||Bi(t,e,ol(e))},mi.deburr=bl,mi.defaultTo=function(t,e){return null==t||t!=t?e:t},mi.divide=Xl,mi.endsWith=function(t,e,r){t=Yo(t),e=Vn(e);var i=t.length,a=r=r===n?i:Ri(Ho(r),0,i);return(r-=e.length)>=0&&t.slice(r,a)==e},mi.eq=go,mi.escape=function(t){return(t=Yo(t))&&Pt.test(t)?t.replace(wt,Or):t},mi.escapeRegExp=function(t){return(t=Yo(t))&&Ot.test(t)?t.replace(Mt,"\\$&"):t},mi.every=function(t,e,r){var i=_o(t)?sr:Gi;return r&&Xa(t,e,r)&&(e=n),i(t,Ba(e,3))},mi.find=Ws,mi.findIndex=ys,mi.findKey=function(t,e){return gr(t,Ba(e,3),Xi)},mi.findLast=$s,mi.findLastIndex=bs,mi.findLastKey=function(t,e){return gr(t,Ba(e,3),Ki)},mi.floor=Kl,mi.forEach=Us,mi.forEachRight=Ys,mi.forIn=function(t,e){return null==t?t:Ui(t,Ba(e,3),ll)},mi.forInRight=function(t,e){return null==t?t:Yi(t,Ba(e,3),ll)},mi.forOwn=function(t,e){return t&&Xi(t,Ba(e,3))},mi.forOwnRight=function(t,e){return t&&Ki(t,Ba(e,3))},mi.get=rl,mi.gt=vo,mi.gte=yo,mi.has=function(t,e){return null!=t&&Wa(t,e,rn)},mi.hasIn=il,mi.head=Es,mi.identity=Ml,mi.includes=function(t,e,r,i){t=So(t)?t:gl(t),r=r&&!i?Ho(r):0;var n=t.length;return r<0&&(r=Ur(n+r,0)),No(t)?r<=n&&t.indexOf(e,r)>-1:!!n&&yr(t,e,r)>-1},mi.indexOf=function(t,e,r){var i=null==t?0:t.length;if(!i)return-1;var n=null==r?0:Ho(r);return n<0&&(n=Ur(i+n,0)),yr(t,e,n)},mi.inRange=function(t,e,r){return e=Go(e),r===n?(r=e,e=0):r=Go(r),function(t,e,r){return t>=Yr(e,r)&&t<Ur(e,r)}(t=$o(t),e,r)},mi.invoke=sl,mi.isArguments=bo,mi.isArray=_o,mi.isArrayBuffer=Eo,mi.isArrayLike=So,mi.isArrayLikeObject=xo,mi.isBoolean=function(t){return!0===t||!1===t||Do(t)&&tn(t)==H},mi.isBuffer=wo,mi.isDate=Co,mi.isElement=function(t){return Do(t)&&1===t.nodeType&&!Oo(t)},mi.isEmpty=function(t){if(null==t)return!0;if(So(t)&&(_o(t)||"string"==typeof t||"function"==typeof t.splice||wo(t)||Vo(t)||bo(t)))return!t.length;var e=Ha(t);if(e==K||e==it)return!t.size;if(Qa(t))return!dn(t).length;for(var r in t)if(ue.call(t,r))return!1;return!0},mi.isEqual=function(t,e){return ln(t,e)},mi.isEqualWith=function(t,e,r){var i=(r="function"==typeof r?r:n)?r(t,e):n;return i===n?ln(t,e,n,r):!!i},mi.isError=Po,mi.isFinite=function(t){return"number"==typeof t&&Xe(t)},mi.isFunction=Ao,mi.isInteger=To,mi.isLength=ko,mi.isMap=Io,mi.isMatch=function(t,e){return t===e||cn(t,e,qa(e))},mi.isMatchWith=function(t,e,r){return r="function"==typeof r?r:n,cn(t,e,qa(e),r)},mi.isNaN=function(t){return Mo(t)&&t!=+t},mi.isNative=function(t){if(Ja(t))throw new Qt(s);return hn(t)},mi.isNil=function(t){return null==t},mi.isNull=function(t){return null===t},mi.isNumber=Mo,mi.isObject=Lo,mi.isObjectLike=Do,mi.isPlainObject=Oo,mi.isRegExp=Fo,mi.isSafeInteger=function(t){return To(t)&&t>=-O&&t<=O},mi.isSet=Ro,mi.isString=No,mi.isSymbol=Bo,mi.isTypedArray=Vo,mi.isUndefined=function(t){return t===n},mi.isWeakMap=function(t){return Do(t)&&Ha(t)==ot},mi.isWeakSet=function(t){return Do(t)&&tn(t)==lt},mi.join=function(t,e){return null==t?"":mr.call(t,e)},mi.kebabCase=_l,mi.last=Cs,mi.lastIndexOf=function(t,e,r){var i=null==t?0:t.length;if(!i)return-1;var a=i;return r!==n&&(a=(a=Ho(r))<0?Ur(i+a,0):Yr(a,i-1)),e==e?function(t,e,r){for(var i=r+1;i--;)if(t[i]===e)return i;return i}(t,e,a):vr(t,_r,a,!0)},mi.lowerCase=El,mi.lowerFirst=Sl,mi.lt=qo,mi.lte=zo,mi.max=function(t){return t&&t.length?Hi(t,Ml,en):n},mi.maxBy=function(t,e){return t&&t.length?Hi(t,Ba(e,2),en):n},mi.mean=function(t){return Er(t,Ml)},mi.meanBy=function(t,e){return Er(t,Ba(e,2))},mi.min=function(t){return t&&t.length?Hi(t,Ml,fn):n},mi.minBy=function(t,e){return t&&t.length?Hi(t,Ba(e,2),fn):n},mi.stubArray=Wl,mi.stubFalse=$l,mi.stubObject=function(){return{}},mi.stubString=function(){return""},mi.stubTrue=function(){return!0},mi.multiply=Jl,mi.nth=function(t,e){return t&&t.length?bn(t,Ho(e)):n},mi.noConflict=function(){return He._===this&&(He._=ge),this},mi.noop=Bl,mi.now=eo,mi.pad=function(t,e,r){t=Yo(t);var i=(e=Ho(e))?jr(t):0;if(!e||i>=e)return t;var n=(e-i)/2;return _a(We(n),r)+t+_a(Ge(n),r)},mi.padEnd=function(t,e,r){t=Yo(t);var i=(e=Ho(e))?jr(t):0;return e&&i<e?t+_a(e-i,r):t},mi.padStart=function(t,e,r){t=Yo(t);var i=(e=Ho(e))?jr(t):0;return e&&i<e?_a(e-i,r)+t:t},mi.parseInt=function(t,e,r){return r||null==e?e=0:e&&(e=+e),Kr(Yo(t).replace(Ft,""),e||0)},mi.random=function(t,e,r){if(r&&"boolean"!=typeof r&&Xa(t,e,r)&&(e=r=n),r===n&&("boolean"==typeof e?(r=e,e=n):"boolean"==typeof t&&(r=t,t=n)),t===n&&e===n?(t=0,e=1):(t=Go(t),e===n?(e=t,t=0):e=Go(e)),t>e){var i=t;t=e,e=i}if(r||t%1||e%1){var a=Zr();return Yr(t+a*(e-t+qe("1e-"+((a+"").length-1))),e)}return wn(t,e)},mi.reduce=function(t,e,r){var i=_o(t)?dr:wr,n=arguments.length<3;return i(t,Ba(e,4),r,n,zi)},mi.reduceRight=function(t,e,r){var i=_o(t)?pr:wr,n=arguments.length<3;return i(t,Ba(e,4),r,n,ji)},mi.repeat=function(t,e,r){return e=(r?Xa(t,e,r):e===n)?1:Ho(e),Cn(Yo(t),e)},mi.replace=function(){var t=arguments,e=Yo(t[0]);return t.length<3?e:e.replace(t[1],t[2])},mi.result=function(t,e,r){var i=-1,a=(e=Xn(e,t)).length;for(a||(a=1,t=n);++i<a;){var s=null==t?n:t[ds(e[i])];s===n&&(i=a,s=r),t=Ao(s)?s.call(t):s}return t},mi.round=Ql,mi.runInContext=t,mi.sample=function(t){return(_o(t)?Pi:An)(t)},mi.size=function(t){if(null==t)return 0;if(So(t))return No(t)?jr(t):t.length;var e=Ha(t);return e==K||e==it?t.size:dn(t).length},mi.snakeCase=xl,mi.some=function(t,e,r){var i=_o(t)?fr:On;return r&&Xa(t,e,r)&&(e=n),i(t,Ba(e,3))},mi.sortedIndex=function(t,e){return Fn(t,e)},mi.sortedIndexBy=function(t,e,r){return Rn(t,e,Ba(r,2))},mi.sortedIndexOf=function(t,e){var r=null==t?0:t.length;if(r){var i=Fn(t,e);if(i<r&&go(t[i],e))return i}return-1},mi.sortedLastIndex=function(t,e){return Fn(t,e,!0)},mi.sortedLastIndexBy=function(t,e,r){return Rn(t,e,Ba(r,2),!0)},mi.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var r=Fn(t,e,!0)-1;if(go(t[r],e))return r}return-1},mi.startCase=wl,mi.startsWith=function(t,e,r){return t=Yo(t),r=null==r?0:Ri(Ho(r),0,t.length),e=Vn(e),t.slice(r,r+e.length)==e},mi.subtract=tc,mi.sum=function(t){return t&&t.length?Cr(t,Ml):0},mi.sumBy=function(t,e){return t&&t.length?Cr(t,Ba(e,2)):0},mi.template=function(t,e,r){var i=mi.templateSettings;r&&Xa(t,e,r)&&(e=n),t=Yo(t),e=Zo({},e,i,Ta);var a,s,o=Zo({},e.imports,i.imports,Ta),c=ol(o),h=kr(o,c),u=0,d=e.interpolate||Zt,p="__p += '",f=ie((e.escape||Zt).source+"|"+d.source+"|"+(d===kt?Gt:Zt).source+"|"+(e.evaluate||Zt).source+"|$","g"),m="//# sourceURL="+(ue.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Re+"]")+"\n";t.replace(f,(function(e,r,i,n,o,l){return i||(i=n),p+=t.slice(u,l).replace(Jt,Fr),r&&(a=!0,p+="' +\n__e("+r+") +\n'"),o&&(s=!0,p+="';\n"+o+";\n__p += '"),i&&(p+="' +\n((__t = ("+i+")) == null ? '' : __t) +\n'"),u=l+e.length,e})),p+="';\n";var g=ue.call(e,"variable")&&e.variable;if(g){if(zt.test(g))throw new Qt(l)}else p="with (obj) {\n"+p+"\n}\n";p=(s?p.replace(_t,""):p).replace(Et,"$1").replace(St,"$1;"),p="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var v=Tl((function(){return te(c,m+"return "+p).apply(n,h)}));if(v.source=p,Po(v))throw v;return v},mi.times=function(t,e){if((t=Ho(t))<1||t>O)return[];var r=N,i=Yr(t,N);e=Ba(e),t-=N;for(var n=Pr(i,e);++r<t;)e(r);return n},mi.toFinite=Go,mi.toInteger=Ho,mi.toLength=Wo,mi.toLower=function(t){return Yo(t).toLowerCase()},mi.toNumber=$o,mi.toSafeInteger=function(t){return t?Ri(Ho(t),-O,O):0===t?t:0},mi.toString=Yo,mi.toUpper=function(t){return Yo(t).toUpperCase()},mi.trim=function(t,e,r){if((t=Yo(t))&&(r||e===n))return Ar(t);if(!t||!(e=Vn(e)))return t;var i=Gr(t),a=Gr(e);return Zn(i,Dr(i,a),Ir(i,a)+1).join("")},mi.trimEnd=function(t,e,r){if((t=Yo(t))&&(r||e===n))return t.slice(0,Hr(t)+1);if(!t||!(e=Vn(e)))return t;var i=Gr(t);return Zn(i,0,Ir(i,Gr(e))+1).join("")},mi.trimStart=function(t,e,r){if((t=Yo(t))&&(r||e===n))return t.replace(Ft,"");if(!t||!(e=Vn(e)))return t;var i=Gr(t);return Zn(i,Dr(i,Gr(e))).join("")},mi.truncate=function(t,e){var r=A,i=T;if(Lo(e)){var a="separator"in e?e.separator:a;r="length"in e?Ho(e.length):r,i="omission"in e?Vn(e.omission):i}var s=(t=Yo(t)).length;if(Rr(t)){var o=Gr(t);s=o.length}if(r>=s)return t;var l=r-jr(i);if(l<1)return i;var c=o?Zn(o,0,l).join(""):t.slice(0,l);if(a===n)return c+i;if(o&&(l+=c.length-l),Fo(a)){if(t.slice(l).search(a)){var h,u=c;for(a.global||(a=ie(a.source,Yo(Ht.exec(a))+"g")),a.lastIndex=0;h=a.exec(u);)var d=h.index;c=c.slice(0,d===n?l:d)}}else if(t.indexOf(Vn(a),l)!=l){var p=c.lastIndexOf(a);p>-1&&(c=c.slice(0,p))}return c+i},mi.unescape=function(t){return(t=Yo(t))&&Ct.test(t)?t.replace(xt,Wr):t},mi.uniqueId=function(t){var e=++de;return Yo(t)+e},mi.upperCase=Cl,mi.upperFirst=Pl,mi.each=Us,mi.eachRight=Ys,mi.first=Es,Nl(mi,(Zl={},Xi(mi,(function(t,e){ue.call(mi.prototype,e)||(Zl[e]=t)})),Zl),{chain:!1}),mi.VERSION="4.17.21",nr(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){mi[t].placeholder=mi})),nr(["drop","take"],(function(t,e){bi.prototype[t]=function(r){r=r===n?1:Ur(Ho(r),0);var i=this.__filtered__&&!e?new bi(this):this.clone();return i.__filtered__?i.__takeCount__=Yr(r,i.__takeCount__):i.__views__.push({size:Yr(r,N),type:t+(i.__dir__<0?"Right":"")}),i},bi.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),nr(["filter","map","takeWhile"],(function(t,e){var r=e+1,i=r==D||3==r;bi.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:Ba(t,3),type:r}),e.__filtered__=e.__filtered__||i,e}})),nr(["head","last"],(function(t,e){var r="take"+(e?"Right":"");bi.prototype[t]=function(){return this[r](1).value()[0]}})),nr(["initial","tail"],(function(t,e){var r="drop"+(e?"":"Right");bi.prototype[t]=function(){return this.__filtered__?new bi(this):this[r](1)}})),bi.prototype.compact=function(){return this.filter(Ml)},bi.prototype.find=function(t){return this.filter(t).head()},bi.prototype.findLast=function(t){return this.reverse().find(t)},bi.prototype.invokeMap=Pn((function(t,e){return"function"==typeof t?new bi(this):this.map((function(r){return sn(r,t,e)}))})),bi.prototype.reject=function(t){return this.filter(ho(Ba(t)))},bi.prototype.slice=function(t,e){t=Ho(t);var r=this;return r.__filtered__&&(t>0||e<0)?new bi(r):(t<0?r=r.takeRight(-t):t&&(r=r.drop(t)),e!==n&&(r=(e=Ho(e))<0?r.dropRight(-e):r.take(e-t)),r)},bi.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},bi.prototype.toArray=function(){return this.take(N)},Xi(bi.prototype,(function(t,e){var r=/^(?:filter|find|map|reject)|While$/.test(e),i=/^(?:head|last)$/.test(e),a=mi[i?"take"+("last"==e?"Right":""):e],s=i||/^find/.test(e);a&&(mi.prototype[e]=function(){var e=this.__wrapped__,o=i?[1]:arguments,l=e instanceof bi,c=o[0],h=l||_o(e),u=function(t){var e=a.apply(mi,ur([t],o));return i&&d?e[0]:e};h&&r&&"function"==typeof c&&1!=c.length&&(l=h=!1);var d=this.__chain__,p=!!this.__actions__.length,f=s&&!d,m=l&&!p;if(!s&&h){e=m?e:new bi(this);var g=t.apply(e,o);return g.__actions__.push({func:js,args:[u],thisArg:n}),new yi(g,d)}return f&&m?t.apply(this,o):(g=this.thru(u),f?i?g.value()[0]:g.value():g)})})),nr(["pop","push","shift","sort","splice","unshift"],(function(t){var e=se[t],r=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",i=/^(?:pop|shift)$/.test(t);mi.prototype[t]=function(){var t=arguments;if(i&&!this.__chain__){var n=this.value();return e.apply(_o(n)?n:[],t)}return this[r]((function(r){return e.apply(_o(r)?r:[],t)}))}})),Xi(bi.prototype,(function(t,e){var r=mi[e];if(r){var i=r.name+"";ue.call(si,i)||(si[i]=[]),si[i].push({name:e,func:r})}})),si[ga(n,y).name]=[{name:"wrapper",func:n}],bi.prototype.clone=function(){var t=new bi(this.__wrapped__);return t.__actions__=aa(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=aa(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=aa(this.__views__),t},bi.prototype.reverse=function(){if(this.__filtered__){var t=new bi(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},bi.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,r=_o(t),i=e<0,n=r?t.length:0,a=function(t,e,r){var i=-1,n=r.length;for(;++i<n;){var a=r[i],s=a.size;switch(a.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=Yr(e,t+s);break;case"takeRight":t=Ur(t,e-s)}}return{start:t,end:e}}(0,n,this.__views__),s=a.start,o=a.end,l=o-s,c=i?o:s-1,h=this.__iteratees__,u=h.length,d=0,p=Yr(l,this.__takeCount__);if(!r||!i&&n==l&&p==l)return Hn(t,this.__actions__);var f=[];t:for(;l--&&d<p;){for(var m=-1,g=t[c+=e];++m<u;){var v=h[m],y=v.iteratee,b=v.type,_=y(g);if(b==I)g=_;else if(!_){if(b==D)continue t;break t}}f[d++]=g}return f},mi.prototype.at=Gs,mi.prototype.chain=function(){return zs(this)},mi.prototype.commit=function(){return new yi(this.value(),this.__chain__)},mi.prototype.next=function(){this.__values__===n&&(this.__values__=jo(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?n:this.__values__[this.__index__++]}},mi.prototype.plant=function(t){for(var e,r=this;r instanceof vi;){var i=fs(r);i.__index__=0,i.__values__=n,e?a.__wrapped__=i:e=i;var a=i;r=r.__wrapped__}return a.__wrapped__=t,e},mi.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof bi){var e=t;return this.__actions__.length&&(e=new bi(this)),(e=e.reverse()).__actions__.push({func:js,args:[ks],thisArg:n}),new yi(e,this.__chain__)}return this.thru(ks)},mi.prototype.toJSON=mi.prototype.valueOf=mi.prototype.value=function(){return Hn(this.__wrapped__,this.__actions__)},mi.prototype.first=mi.prototype.head,Ae&&(mi.prototype[Ae]=function(){return this}),mi}();He._=$r,(i=function(){return $r}.call(e,r,e,t))===n||(t.exports=i)}.call(this)},248:function(module,exports,__webpack_require__){var factory;"undefined"!=typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(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,i,n=t.length;for(r=0;r<n;r+=1)for(var a in i=t[r].prototype)Object.prototype.hasOwnProperty.call(i,a)&&(e.prototype[a]=i[a])}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(t){this.audios=[],this.audioFactory=t,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(t){this.audios.push(t)},pause:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].pause()},resume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].resume()},setRate:function(t){var e,r=this.audios.length;for(e=0;e<r;e+=1)this.audios[e].setRate(t)},createAudio:function(t){return this.audioFactory?this.audioFactory(t):window.Howl?new window.Howl({src:[t]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(t){this.audioFactory=t},setVolume:function(t){this._volume=t,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var t,e=this.audios.length;for(t=0;t<e;t+=1)this.audios[t].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(t,e){var r,i=0,n=[];switch(t){case"int16":case"uint8c":r=1;break;default:r=1.1}for(i=0;i<e;i+=1)n.push(r);return n}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(e,r){return"float32"===e?new Float32Array(r):"int16"===e?new Int16Array(r):"uint8c"===e?new Uint8ClampedArray(r):t(e,r)}:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){return _typeof$6="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},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),_shouldRoundValues=!1,bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var t,e=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=e.length;for(t=0;t<r;t+=1)BMMath[e[t]]=Math[e[t]]}(),BMMath.random=Math.random,BMMath.abs=function(t){if("object"===_typeof$6(t)&&t.length){var e,r=createSizedArray(t.length),i=t.length;for(e=0;e<i;e+=1)r[e]=Math.abs(t[e]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;function roundValues(t){_shouldRoundValues=!!t}function bmRnd(t){return _shouldRoundValues?Math.round(t):t}function styleDiv(t){t.style.position="absolute",t.style.top=0,t.style.left=0,t.style.display="block",t.style.transformOrigin="0 0",t.style.webkitTransformOrigin="0 0",t.style.backfaceVisibility="visible",t.style.webkitBackfaceVisibility="visible",t.style.transformStyle="preserve-3d",t.style.webkitTransformStyle="preserve-3d",t.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(t,e,r,i){this.type=t,this.currentTime=e,this.totalTime=r,this.direction=i<0?-1:1}function BMCompleteEvent(t,e){this.type=t,this.direction=e<0?-1:1}function BMCompleteLoopEvent(t,e,r,i){this.type=t,this.currentLoop=r,this.totalLoops=e,this.direction=i<0?-1:1}function BMSegmentStartEvent(t,e,r){this.type=t,this.firstFrame=e,this.totalFrames=r}function BMDestroyEvent(t,e){this.type=t,this.target=e}function BMRenderFrameErrorEvent(t,e){this.type="renderFrameError",this.nativeError=t,this.currentTime=e}function BMConfigErrorEvent(t){this.type="configError",this.nativeError=t}function BMAnimationConfigErrorEvent(t,e){this.type=t,this.nativeError=e}var createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)}),_count;function HSVtoRGB(t,e,r){var i,n,a,s,o,l,c,h;switch(l=r*(1-e),c=r*(1-(o=6*t-(s=Math.floor(6*t)))*e),h=r*(1-(1-o)*e),s%6){case 0:i=r,n=h,a=l;break;case 1:i=c,n=r,a=l;break;case 2:i=l,n=r,a=h;break;case 3:i=l,n=c,a=r;break;case 4:i=h,n=l,a=r;break;case 5:i=r,n=l,a=c}return[i,n,a]}function RGBtoHSV(t,e,r){var i,n=Math.max(t,e,r),a=Math.min(t,e,r),s=n-a,o=0===n?0:s/n,l=n/255;switch(n){case a:i=0;break;case t:i=e-r+s*(e<r?6:0),i/=6*s;break;case e:i=r-t+2*s,i/=6*s;break;case r:i=t-e+4*s,i/=6*s}return[i,o,l]}function addSaturationToRGB(t,e){var r=RGBtoHSV(255*t[0],255*t[1],255*t[2]);return r[1]+=e,r[1]>1?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,i){return t<0&&(t=0),e<0&&(e=0),i<0&&(i=0),"#"+r[t]+r[e]+r[i]}}(),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},_typeof$5(t)}var dataManager=function(){var t,e,r=1,i=[],n={onmessage:function(){},postMessage:function(e){t({data:e})}},a={postMessage:function(t){n.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"}),i=URL.createObjectURL(r);return new Worker(i)}return t=e,n}((function(t){if(a.dataManager||(a.dataManager=function(){function t(n,a){var s,o,l,c,h,d,p=n.length;for(o=0;o<p;o+=1)if("ks"in(s=n[o])&&!s.completed){if(s.completed=!0,s.hasMask){var f=s.masksProperties;for(c=f.length,l=0;l<c;l+=1)if(f[l].pt.k.i)i(f[l].pt.k);else for(d=f[l].pt.k.length,h=0;h<d;h+=1)f[l].pt.k[h].s&&i(f[l].pt.k[h].s[0]),f[l].pt.k[h].e&&i(f[l].pt.k[h].e[0])}0===s.ty?(s.layers=e(s.refId,a),t(s.layers,a)):4===s.ty?r(s.shapes):5===s.ty&&u(s)}}function e(t,e){var r=function(t,e){for(var r=0,i=e.length;r<i;){if(e[r].id===t)return e[r];r+=1}return null}(t,e);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(t){var e,n,a;for(e=t.length-1;e>=0;e-=1)if("sh"===t[e].ty)if(t[e].ks.k.i)i(t[e].ks.k);else for(a=t[e].ks.k.length,n=0;n<a;n+=1)t[e].ks.k[n].s&&i(t[e].ks.k[n].s[0]),t[e].ks.k[n].e&&i(t[e].ks.k[n].e[0]);else"gr"===t[e].ty&&r(t[e].it)}function i(t){var e,r=t.i.length;for(e=0;e<r;e+=1)t.i[e][0]+=t.v[e][0],t.i[e][1]+=t.v[e][1],t.o[e][0]+=t.v[e][0],t.o[e][1]+=t.v[e][1]}function n(t,e){var r=e?e.split("."):[100,100,100];return t[0]>r[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,i,n=t.length;for(e=0;e<n;e+=1)5===t[e].ty&&(i=void 0,i=(r=t[e]).t.d,r.t.d={k:[{s:i,t:0}]})}return function(r){if(n(t,r.v)&&(e(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&e(r.assets[i].layers)}}}(),o=(a=[4,7,99],function(t){if(t.chars&&!n(a,t.v)){var e,i=t.chars.length;for(e=0;e<i;e+=1){var s=t.chars[e];s.data&&s.data.shapes&&(r(s.data.shapes),s.data.ip=0,s.data.op=99999,s.data.st=0,s.data.sr=1,s.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},t.chars[e].t||(s.data.shapes.push({ty:"no"}),s.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),l=function(){var t=[5,7,15];function e(t){var e,r,i=t.length;for(e=0;e<i;e+=1)5===t[e].ty&&(r=void 0,"number"==typeof(r=t[e].t.p).a&&(r.a={a:0,k:r.a}),"number"==typeof r.p&&(r.p={a:0,k:r.p}),"number"==typeof r.r&&(r.r={a:0,k:r.r}))}return function(r){if(n(t,r.v)&&(e(r.layers),r.assets)){var i,a=r.assets.length;for(i=0;i<a;i+=1)r.assets[i].layers&&e(r.assets[i].layers)}}}(),c=function(){var t=[4,1,9];function e(t){var r,i,n,a=t.length;for(r=0;r<a;r+=1)if("gr"===t[r].ty)e(t[r].it);else if("fl"===t[r].ty||"st"===t[r].ty)if(t[r].c.k&&t[r].c.k[0].i)for(n=t[r].c.k.length,i=0;i<n;i+=1)t[r].c.k[i].s&&(t[r].c.k[i].s[0]/=255,t[r].c.k[i].s[1]/=255,t[r].c.k[i].s[2]/=255,t[r].c.k[i].s[3]/=255),t[r].c.k[i].e&&(t[r].c.k[i].e[0]/=255,t[r].c.k[i].e[1]/=255,t[r].c.k[i].e[2]/=255,t[r].c.k[i].e[3]/=255);else t[r].c.k[0]/=255,t[r].c.k[1]/=255,t[r].c.k[2]/=255,t[r].c.k[3]/=255}function r(t){var r,i=t.length;for(r=0;r<i;r+=1)4===t[r].ty&&e(t[r].shapes)}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}(),h=function(){var t=[4,4,18];function e(t){var r,i,n;for(r=t.length-1;r>=0;r-=1)if("sh"===t[r].ty)if(t[r].ks.k.i)t[r].ks.k.c=t[r].closed;else for(n=t[r].ks.k.length,i=0;i<n;i+=1)t[r].ks.k[i].s&&(t[r].ks.k[i].s[0].c=t[r].closed),t[r].ks.k[i].e&&(t[r].ks.k[i].e[0].c=t[r].closed);else"gr"===t[r].ty&&e(t[r].it)}function r(t){var r,i,n,a,s,o,l=t.length;for(i=0;i<l;i+=1){if((r=t[i]).hasMask){var c=r.masksProperties;for(a=c.length,n=0;n<a;n+=1)if(c[n].pt.k.i)c[n].pt.k.c=c[n].cl;else for(o=c[n].pt.k.length,s=0;s<o;s+=1)c[n].pt.k[s].s&&(c[n].pt.k[s].s[0].c=c[n].cl),c[n].pt.k[s].e&&(c[n].pt.k[s].e[0].c=c[n].cl)}4===r.ty&&e(r.shapes)}}return function(e){if(n(t,e.v)&&(r(e.layers),e.assets)){var i,a=e.assets.length;for(i=0;i<a;i+=1)e.assets[i].layers&&r(e.assets[i].layers)}}}();function u(t){0===t.t.a.length&&t.t.p}var d={completeData:function(r){r.__complete||(c(r),s(r),o(r),l(r),h(r),t(r.layers,r.assets),function(r,i){if(r){var n=0,a=r.length;for(n=0;n<a;n+=1)1===r[n].t&&(r[n].data.layers=e(r[n].data.refId,i),t(r[n].data.layers,i))}}(r.chars,r.assets),r.__complete=!0)}};return d.checkColors=c,d.checkChars=o,d.checkPathProperties=l,d.checkShapes=h,d.completeLayers=t,d}()),a.assetLoader||(a.assetLoader=function(){function t(t){var e=t.getResponseHeader("content-type");return e&&"json"===t.responseType&&-1!==e.indexOf("json")||t.response&&"object"===_typeof$5(t.response)?t.response:t.response&&"string"==typeof t.response?JSON.parse(t.response):t.responseText?JSON.parse(t.responseText):null}return{load:function(e,r,i,n){var a,s=new XMLHttpRequest;try{s.responseType="json"}catch(t){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)a=t(s),i(a);else try{a=t(s),i(a)}catch(t){n&&n(t)}};try{s.open(["G","E","T"].join(""),e,!0)}catch(t){s.open(["G","E","T"].join(""),r+"/"+e,!0)}s.send()}}}()),"loadAnimation"===t.data.type)a.assetLoader.load(t.data.path,t.data.fullPath,(function(e){a.dataManager.completeData(e),a.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){a.postMessage({id:t.data.id,status:"error"})}));else if("complete"===t.data.type){var e=t.data.animation;a.dataManager.completeData(e),a.postMessage({id:t.data.id,payload:e,status:"success"})}else"loadData"===t.data.type&&a.assetLoader.load(t.data.path,t.data.fullPath,(function(e){a.postMessage({id:t.data.id,payload:e,status:"success"})}),(function(){a.postMessage({id:t.data.id,status:"error"})}))})),e.onmessage=function(t){var e=t.data,r=e.id,n=i[r];i[r]=null,"success"===e.status?n.onComplete(e.payload):n.onError&&n.onError()})}function o(t,e){var n="processId_"+(r+=1);return i[n]={onComplete:t,onError:e},n}return{loadAnimation:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"loadAnimation",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},loadData:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"loadData",path:t,fullPath:window.location.origin+window.location.pathname,id:n})},completeAnimation:function(t,r,i){s();var n=o(r,i);e.postMessage({type:"complete",animation:t,id:n})}}}(),ImagePreloader=function(){var t=function(){var t=createTag("canvas");t.width=1,t.height=1;var e=t.getContext("2d");return e.fillStyle="rgba(0,0,0,0)",e.fillRect(0,0,1,1),t}();function e(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function i(t,e,r){var i="";if(t.e)i=t.p;else if(e){var n=t.p;-1!==n.indexOf("images/")&&(n=n.split("/")[1]),i=e+n}else i=r,i+=t.u?t.u:"",i+=t.p;return i}function n(t){var e=0,r=setInterval(function(){(t.getBBox().width||e>500)&&(this._imageLoaded(),clearInterval(r)),e+=1}.bind(this),50)}function a(t){var e={assetData:t},r=i(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=n.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 i=t.length;for(r=0;r<i;r+=1)t[r].layers||(t[r].t&&"seq"!==t[r].t?3===t[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(t[r]))):(this.totalImages+=1,this.images.push(this._createImageData(t[r]))))},setAssetsPath:function(t){this.assetsPath=t||""},setPath:function(t){this.path=t||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(t){for(var e=0,r=this.images.length;e<r;){if(this.images[e].assetData===t)return this.images[e].img;e+=1}return null},createImgData:function(e){var r=i(e,this.assetsPath,this.path),n=createTag("img");n.crossOrigin="anonymous",n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),n.src=r;var a={img:n,assetData:e};return a},createImageData:function(e){var r=i(e,this.assetsPath,this.path),n=createNS("image");isSafari?this.testImageLoaded(n):n.addEventListener("load",this._imageLoaded,!1),n.addEventListener("error",function(){a.img=t,this._imageLoaded()}.bind(this),!1),n.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(n):this._elementHelper.appendChild(n);var a={img:n,assetData:e};return a},imageLoaded:e,footageLoaded:r,setCacheType:function(t,e){"svg"===t?(this._elementHelper=e,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(t,e){if(this._cbs[t])for(var r=this._cbs[t],i=0;i<r.length;i+=1)r[i](e)},addEventListener:function(t,e){return this._cbs[t]||(this._cbs[t]=[]),this._cbs[t].push(e),function(){this.removeEventListener(t,e)}.bind(this)},removeEventListener:function(t,e){if(e){if(this._cbs[t]){for(var r=0,i=this._cbs[t].length;r<i;)this._cbs[t][r]===e&&(this._cbs[t].splice(r,1),r-=1,i-=1),r+=1;this._cbs[t].length||(this._cbs[t]=null)}}else this._cbs[t]=null}};var markerParser=function(){function t(t){for(var e,r=t.split("\r\n"),i={},n=0,a=0;a<r.length;a+=1)2===(e=r[a].split(":")).length&&(i[e[0]]=e[1].trim(),n+=1);if(0===n)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var n=e[i],a={time:n.tm,duration:n.dr};try{a.payload=JSON.parse(e[i].cm)}catch(r){try{a.payload=t(e[i].cm)}catch(t){a.payload={name:e[i].cm}}}r.push(a)}return r}}(),ProjectInterface=function(){function t(t){this.compositions.push(t)}return function(){function e(t){for(var e=0,r=this.compositions.length;e<r;){if(this.compositions[e].data&&this.compositions[e].data.nm===t)return this.compositions[e].prepareFrame&&this.compositions[e].data.xt&&this.compositions[e].prepareFrame(this.currentFrame),this.compositions[e].compInterface;e+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(t,e){renderers[t]=e};function getRenderer(t){return renderers[t]}function _typeof$4(t){return _typeof$4="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},_typeof$4(t)}var AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(t){(t.wrapper||t.container)&&(this.wrapper=t.wrapper||t.container);var e="svg";t.animType?e=t.animType:t.renderer&&(e=t.renderer);var r=getRenderer(e);this.renderer=new r(this,t.rendererSettings),this.imagePreloader.setCacheType(e,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=e,""===t.loop||null===t.loop||void 0===t.loop||!0===t.loop?this.loop=!0:!1===t.loop?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay=!("autoplay"in t)||t.autoplay,this.name=t.name?t.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(t,"autoloadSegments")||t.autoloadSegments,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(-1!==t.path.lastIndexOf("\\")?this.path=t.path.substr(0,t.path.lastIndexOf("\\")+1):this.path=t.path.substr(0,t.path.lastIndexOf("/")+1),this.fileName=t.path.substr(t.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(t.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(t){dataManager.completeAnimation(t,this.configAnimation)},AnimationItem.prototype.setData=function(t,e){e&&"object"!==_typeof$4(e)&&(e=JSON.parse(e));var r={wrapper:t,animationData:e},i=t.attributes;r.path=i.getNamedItem("data-animation-path")?i.getNamedItem("data-animation-path").value:i.getNamedItem("data-bm-path")?i.getNamedItem("data-bm-path").value:i.getNamedItem("bm-path")?i.getNamedItem("bm-path").value:"",r.animType=i.getNamedItem("data-anim-type")?i.getNamedItem("data-anim-type").value:i.getNamedItem("data-bm-type")?i.getNamedItem("data-bm-type").value:i.getNamedItem("bm-type")?i.getNamedItem("bm-type").value:i.getNamedItem("data-bm-renderer")?i.getNamedItem("data-bm-renderer").value:i.getNamedItem("bm-renderer")?i.getNamedItem("bm-renderer").value:"canvas";var n=i.getNamedItem("data-anim-loop")?i.getNamedItem("data-anim-loop").value:i.getNamedItem("data-bm-loop")?i.getNamedItem("data-bm-loop").value:i.getNamedItem("bm-loop")?i.getNamedItem("bm-loop").value:"";"false"===n?r.loop=!1:"true"===n?r.loop=!0:""!==n&&(r.loop=parseInt(n,10));var a=i.getNamedItem("data-anim-autoplay")?i.getNamedItem("data-anim-autoplay").value:i.getNamedItem("data-bm-autoplay")?i.getNamedItem("data-bm-autoplay").value:!i.getNamedItem("bm-autoplay")||i.getNamedItem("bm-autoplay").value;r.autoplay="false"!==a,r.name=i.getNamedItem("data-name")?i.getNamedItem("data-name").value:i.getNamedItem("data-bm-name")?i.getNamedItem("data-bm-name").value:i.getNamedItem("bm-name")?i.getNamedItem("bm-name").value:"","false"===(i.getNamedItem("data-anim-prerender")?i.getNamedItem("data-anim-prerender").value:i.getNamedItem("data-bm-prerender")?i.getNamedItem("data-bm-prerender").value:i.getNamedItem("bm-prerender")?i.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(t){t.op>this.animationData.op&&(this.animationData.op=t.op,this.totalFrames=Math.floor(t.op-this.animationData.ip));var e,r,i=this.animationData.layers,n=i.length,a=t.layers,s=a.length;for(r=0;r<s;r+=1)for(e=0;e<n;){if(i[e].id===a[r].id){i[e]=a[r];break}e+=1}if((t.chars||t.fonts)&&(this.renderer.globalData.fontManager.addChars(t.chars),this.renderer.globalData.fontManager.addFonts(t.fonts,this.renderer.globalData.defs)),t.assets)for(n=t.assets.length,e=0;e<n;e+=1)this.animationData.assets.push(t.assets[e]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(t){this.animationData=t;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var t=this.animationData.segments;if(!t||0===t.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var e=t.shift();this.timeCompleted=e.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(t){if(this.renderer)try{this.animationData=t,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(t),t.assets||(t.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(t.assets),this.markers=markerParser(t.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(t){this.triggerConfigError(t)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(t,e){var r="number"==typeof t?t:void 0,i="number"==typeof e?e:void 0;this.renderer.updateContainerSize(r,i)},AnimationItem.prototype.setSubframe=function(t){this.isSubframeEnabled=!!t},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!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.markers.length;r+=1)if((e=this.markers[r]).payload&&e.payload.name===t)return e;return null},AnimationItem.prototype.goToAndStop=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var n=this.getMarkerData(t);n&&this.goToAndStop(n.time,!0)}else e?this.setCurrentRawFrameValue(t):this.setCurrentRawFrameValue(t*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(t,e,r){if(!r||this.name===r){var i=Number(t);if(isNaN(i)){var n=this.getMarkerData(t);n&&(n.duration?this.playSegments([n.time,n.time+n.duration],!0):this.goToAndStop(n.time,!0))}else this.goToAndStop(i,e,r);this.play()}},AnimationItem.prototype.advanceTime=function(t){if(!0!==this.isPaused&&!1!==this.isLoaded){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=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]<t[0]?(this.frameModifier>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.firstFrame<t?r=t:this.currentRawFrame+this.firstFrame>e&&(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,i=t.length;for(r=0;r<i;r+=1)this.segments.push(t[r])}else this.segments.push(t);this.segments.length&&e&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(t){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),t&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(t){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),t),!0)},AnimationItem.prototype.destroy=function(t){t&&this.name!==t||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(t){this.currentRawFrame=t,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(t){this.playSpeed=t,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(t){this.playDirection=t<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setLoop=function(t){this.loop=t},AnimationItem.prototype.setVolume=function(t,e){e&&this.name!==e||this.audioController.setVolume(t)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(t){t&&this.name!==t||this.audioController.mute()},AnimationItem.prototype.unmute=function(t){t&&this.name!==t||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(t){var e="";if(t.e)e=t.p;else if(this.assetsPath){var r=t.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),e=this.assetsPath+r}else e=this.path,e+=t.u?t.u:"",e+=t.p;return e},AnimationItem.prototype.getAssetData=function(t){for(var e=0,r=this.assets.length;e<r;){if(t===this.assets[e].id)return this.assets[e];e+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(t){return t?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(t,e,r){try{this.renderer.getElementByPath(t).updateDocumentData(e,r)}catch(t){}},AnimationItem.prototype.trigger=function(t){if(this._cbs&&this._cbs[t])switch(t){case"enterFrame":this.triggerEvent(t,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(t,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(t,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(t,new BMCompleteEvent(t,this.frameMult));break;case"segmentStart":this.triggerEvent(t,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(t,new BMDestroyEvent(t,this));break;default:this.triggerEvent(t)}"enterFrame"===t&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===t&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),"complete"===t&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),"segmentStart"===t&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),"destroy"===t&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(t,this))},AnimationItem.prototype.triggerRenderFrameError=function(t){var e=new BMRenderFrameErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)},AnimationItem.prototype.triggerConfigError=function(t){var e=new BMConfigErrorEvent(t,this.currentFrame);this.triggerEvent("error",e),this.onError&&this.onError.call(this,e)};var animationManager=function(){var t={},e=[],r=0,i=0,n=0,a=!0,s=!1;function o(t){for(var r=0,n=t.target;r<i;)e[r].animation===n&&(e.splice(r,1),r-=1,i-=1,n.isPaused||h()),r+=1}function l(t,r){if(!t)return null;for(var n=0;n<i;){if(e[n].elem===t&&null!==e[n].elem)return e[n].animation;n+=1}var a=new AnimationItem;return u(a,t),a.setData(t,r),a}function c(){n+=1,f()}function h(){n-=1}function u(t,r){t.addEventListener("destroy",o),t.addEventListener("_active",c),t.addEventListener("_idle",h),e.push({elem:r,animation:t}),i+=1}function d(t){var o,l=t-r;for(o=0;o<i;o+=1)e[o].animation.advanceTime(l);r=t,n&&!s?window.requestAnimationFrame(d):a=!0}function p(t){r=t,window.requestAnimationFrame(d)}function f(){!s&&n&&a&&(window.requestAnimationFrame(p),a=!1)}return t.registerAnimation=l,t.loadAnimation=function(t){var e=new AnimationItem;return u(e,null),e.setParams(t),e},t.setSpeed=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setSpeed(t,r)},t.setDirection=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setDirection(t,r)},t.play=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.play(t)},t.pause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.pause(t)},t.stop=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.stop(t)},t.togglePause=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.togglePause(t)},t.searchAnimations=function(t,e,r){var i,n=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),a=n.length;for(i=0;i<a;i+=1)r&&n[i].setAttribute("data-bm-type",r),l(n[i],t);if(e&&0===a){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var o=createTag("div");o.style.width="100%",o.style.height="100%",o.setAttribute("data-bm-type",r),s.appendChild(o),l(o,t)}},t.resize=function(){var t;for(t=0;t<i;t+=1)e[t].animation.resize()},t.goToAndStop=function(t,r,n){var a;for(a=0;a<i;a+=1)e[a].animation.goToAndStop(t,r,n)},t.destroy=function(t){var r;for(r=i-1;r>=0;r-=1)e[r].animation.destroy(t)},t.freeze=function(){s=!0},t.unfreeze=function(){s=!1,f()},t.setVolume=function(t,r){var n;for(n=0;n<i;n+=1)e[n].animation.setVolume(t,r)},t.mute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.mute(t)},t.unmute=function(t){var r;for(r=0;r<i;r+=1)e[r].animation.unmute(t)},t.getRegisteredAnimations=function(){var t,r=e.length,i=[];for(t=0;t<r;t+=1)i.push(e[t].animation);return i},t}(),BezierFactory=function(){var t={getBezierEasing:function(t,r,i,n,a){var s=a||("bez_"+t+"_"+r+"_"+i+"_"+n).replace(/\./g,"p");if(e[s])return e[s];var o=new p([t,r,i,n]);return e[s]=o,o}},e={},r=4,i=1e-7,n=10,a=11,s=1/(a-1),o="function"==typeof Float32Array;function l(t,e){return 1-3*e+3*t}function c(t,e){return 3*e-6*t}function h(t){return 3*t}function u(t,e,r){return((l(e,r)*t+c(e,r))*t+h(e))*t}function d(t,e,r){return 3*l(e,r)*t*t+2*c(e,r)*t+h(e)}function p(t){this._p=t,this._mSampleValues=o?new Float32Array(a):new Array(a),this._precomputed=!1,this.get=this.get.bind(this)}return p.prototype={get:function(t){var e=this._p[0],r=this._p[1],i=this._p[2],n=this._p[3];return this._precomputed||this._precompute(),e===r&&i===n?t:0===t?0:1===t?1:u(this._getTForX(t),r,n)},_precompute:function(){var t=this._p[0],e=this._p[1],r=this._p[2],i=this._p[3];this._precomputed=!0,t===e&&r===i||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],r=0;r<a;++r)this._mSampleValues[r]=u(r*s,t,e)},_getTForX:function(t){for(var e=this._p[0],o=this._p[2],l=this._mSampleValues,c=0,h=1,p=a-1;h!==p&&l[h]<=t;++h)c+=s;var f=c+(t-l[--h])/(l[h+1]-l[h])*s,m=d(f,e,o);return m>=.001?function(t,e,i,n){for(var a=0;a<r;++a){var s=d(e,i,n);if(0===s)return e;e-=(u(e,i,n)-t)/s}return e}(t,f,e,o):0===m?f:function(t,e,r,a,s){var o,l,c=0;do{(o=u(l=e+(r-e)/2,a,s)-t)>0?r=l:e=l}while(Math.abs(o)>i&&++c<n);return l}(t,c,c+s,e,o)}},t}(),pooling={double:function(t){return t.concat(createSizedArray(t.length))}},poolFactory=function(t,e,r){var i=0,n=t,a=createSizedArray(n);return{newElement:function(){return i?a[i-=1]:e()},release:function(t){i===n&&(a=pooling.double(a),n*=2),r&&r(t),a[i]=t,i+=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<r;e+=1)bezierLengthPool.release(t.lengths[e]);t.lengths.length=0}));function bezFunction(){var t=Math;function e(t,e,r,i,n,a){var s=t*i+e*n+r*a-n*i-a*t-r*e;return s>-.001&&s<.001}var r=function(t,e,r,i){var n,a,s,o,l,c,h=getDefaultCurveSegments(),u=0,d=[],p=[],f=bezierLengthPool.newElement();for(s=r.length,n=0;n<h;n+=1){for(l=n/(h-1),c=0,a=0;a<s;a+=1)o=bmPow(1-l,3)*t[a]+3*bmPow(1-l,2)*l*r[a]+3*(1-l)*bmPow(l,2)*i[a]+bmPow(l,3)*e[a],d[a]=o,null!==p[a]&&(c+=bmPow(d[a]-p[a],2)),p[a]=d[a];c&&(u+=c=bmSqrt(c)),f.percents[n]=l,f.lengths[n]=u}return f.addedLength=u,f};function i(t){this.segmentLength=0,this.points=new Array(t)}function n(t,e){this.partialLength=t,this.point=e}var a,s=(a={},function(t,r,s,o){var l=(t[0]+"_"+t[1]+"_"+r[0]+"_"+r[1]+"_"+s[0]+"_"+s[1]+"_"+o[0]+"_"+o[1]).replace(/\./g,"p");if(!a[l]){var c,h,u,d,p,f,m,g=getDefaultCurveSegments(),v=0,y=null;2===t.length&&(t[0]!==r[0]||t[1]!==r[1])&&e(t[0],t[1],r[0],r[1],t[0]+s[0],t[1]+s[1])&&e(t[0],t[1],r[0],r[1],r[0]+o[0],r[1]+o[1])&&(g=2);var b=new i(g);for(u=s.length,c=0;c<g;c+=1){for(m=createSizedArray(u),p=c/(g-1),f=0,h=0;h<u;h+=1)d=bmPow(1-p,3)*t[h]+3*bmPow(1-p,2)*p*(t[h]+s[h])+3*(1-p)*bmPow(p,2)*(r[h]+o[h])+bmPow(p,3)*r[h],m[h]=d,null!==y&&(f+=bmPow(m[h]-y[h],2));v+=f=bmSqrt(f),b.points[c]=new n(f,m),y=m}b.segmentLength=v,a[l]=b}return a[l]});function o(t,e){var r=e.percents,i=e.lengths,n=r.length,a=bmFloor((n-1)*t),s=t*e.addedLength,o=0;if(a===n-1||0===a||s===i[a])return r[a];for(var l=i[a]>s?-1:1,c=!0;c;)if(i[a]<=s&&i[a+1]>s?(o=(s-i[a])/(i[a+1]-i[a]),c=!1):a+=l,a<0||a>=n-1){if(a===n-1)return r[a];c=!1}return r[a]+(r[a+1]-r[a])*o}var l=createTypedArray("float32",8);return{getSegmentsLength:function(t){var e,i=segmentsLengthPool.newElement(),n=t.c,a=t.v,s=t.o,o=t.i,l=t._length,c=i.lengths,h=0;for(e=0;e<l-1;e+=1)c[e]=r(a[e],a[e+1],s[e],o[e+1]),h+=c[e].addedLength;return n&&l&&(c[e]=r(a[e],a[0],s[e],o[0]),h+=c[e].addedLength),i.totalLength=h,i},getNewSegment:function(e,r,i,n,a,s,c){a<0?a=0:a>1&&(a=1);var h,u=o(a,c),d=o(s=s>1?1:s,c),p=e.length,f=1-u,m=1-d,g=f*f*f,v=u*f*f*3,y=u*u*f*3,b=u*u*u,_=f*f*m,E=u*f*m+f*u*m+f*f*d,S=u*u*m+f*u*d+u*f*d,x=u*u*d,w=f*m*m,C=u*m*m+f*d*m+f*m*d,P=u*d*m+f*d*d+u*m*d,A=u*d*d,T=m*m*m,k=d*m*m+m*d*m+m*m*d,L=d*d*m+m*d*d+d*m*d,D=d*d*d;for(h=0;h<p;h+=1)l[4*h]=t.round(1e3*(g*e[h]+v*i[h]+y*n[h]+b*r[h]))/1e3,l[4*h+1]=t.round(1e3*(_*e[h]+E*i[h]+S*n[h]+x*r[h]))/1e3,l[4*h+2]=t.round(1e3*(w*e[h]+C*i[h]+P*n[h]+A*r[h]))/1e3,l[4*h+3]=t.round(1e3*(T*e[h]+k*i[h]+L*n[h]+D*r[h]))/1e3;return l},getPointInSegment:function(e,r,i,n,a,s){var l=o(a,s),c=1-l;return[t.round(1e3*(c*c*c*e[0]+(l*c*c+c*l*c+c*c*l)*i[0]+(l*l*c+c*l*l+l*c*l)*n[0]+l*l*l*r[0]))/1e3,t.round(1e3*(c*c*c*e[1]+(l*c*c+c*l*c+c*c*l)*i[1]+(l*l*c+c*l*l+l*c*l)*n[1]+l*l*l*r[1]))/1e3]},buildBezierData:s,pointOnLine2D:e,pointOnLine3D:function(r,i,n,a,s,o,l,c,h){if(0===n&&0===o&&0===h)return e(r,i,a,s,l,c);var u,d=t.sqrt(t.pow(a-r,2)+t.pow(s-i,2)+t.pow(o-n,2)),p=t.sqrt(t.pow(l-r,2)+t.pow(c-i,2)+t.pow(h-n,2)),f=t.sqrt(t.pow(l-a,2)+t.pow(c-s,2)+t.pow(h-o,2));return(u=d>p?d>f?d-p-f:f-p-d:f>p?f-p-d:p-d-f)>-1e-4&&u<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var t=initialDefaultFrame,e=Math.abs;function r(t,e){var r,n=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,s,o,l,c,h,u,d,p,f=e.lastIndex,m=f,g=this.keyframes.length-1,v=!0;v;){if(a=this.keyframes[m],s=this.keyframes[m+1],m===g-1&&t>=s.t-n){a.h&&(a=s),f=0;break}if(s.t-n>t){f=m;break}m<g-1?m+=1:(f=0,v=!1)}o=this.keyframesMetadata[m]||{};var y,b,_,E,S,x,w,C,P,A,T=s.t-n,k=a.t-n;if(a.to){o.bezierData||(o.bezierData=bez.buildBezierData(a.s,s.s||a.e,a.to,a.ti));var L=o.bezierData;if(t>=T||t<k){var D=t>=T?L.points.length-1:0;for(c=L.points[D].point.length,l=0;l<c;l+=1)r[l]=L.points[D].point[l]}else{o.__fnct?p=o.__fnct:(p=BezierFactory.getBezierEasing(a.o.x,a.o.y,a.i.x,a.i.y,a.n).get,o.__fnct=p),h=p((t-k)/(T-k));var I,M=L.segmentLength*h,O=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastAddedLength:0;for(d=e.lastFrame<t&&e._lastKeyframeIndex===m?e._lastPoint:0,v=!0,u=L.points.length;v;){if(O+=L.points[d].partialLength,0===M||0===h||d===L.points.length-1){for(c=L.points[d].point.length,l=0;l<c;l+=1)r[l]=L.points[d].point[l];break}if(M>=O&&M<O+L.points[d+1].partialLength){for(I=(M-O)/L.points[d+1].partialLength,c=L.points[d].point.length,l=0;l<c;l+=1)r[l]=L.points[d].point[l]+(L.points[d+1].point[l]-L.points[d].point[l])*I;break}d<u-1?d+=1:v=!1}e._lastPoint=d,e._lastAddedLength=O-L.points[d].partialLength,e._lastKeyframeIndex=m}}else{var F,R,N,B,V;if(g=a.s.length,y=s.s||a.e,this.sh&&1!==a.h)if(t>=T)r[0]=y[0],r[1]=y[1],r[2]=y[2];else if(t<=k)r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2];else{var q=i(a.s),z=i(y);b=r,_=function(t,e,r){var i,n,a,s,o,l=[],c=t[0],h=t[1],u=t[2],d=t[3],p=e[0],f=e[1],m=e[2],g=e[3];return(n=c*p+h*f+u*m+d*g)<0&&(n=-n,p=-p,f=-f,m=-m,g=-g),1-n>1e-6?(i=Math.acos(n),a=Math.sin(i),s=Math.sin((1-r)*i)/a,o=Math.sin(r*i)/a):(s=1-r,o=r),l[0]=s*c+o*p,l[1]=s*h+o*f,l[2]=s*u+o*m,l[3]=s*d+o*g,l}(q,z,(t-k)/(T-k)),E=_[0],S=_[1],x=_[2],w=_[3],C=Math.atan2(2*S*w-2*E*x,1-2*S*S-2*x*x),P=Math.asin(2*E*S+2*x*w),A=Math.atan2(2*E*w-2*S*x,1-2*E*E-2*x*x),b[0]=C/degToRads,b[1]=P/degToRads,b[2]=A/degToRads}else for(m=0;m<g;m+=1)1!==a.h&&(t>=T?h=1:t<k?h=0:(a.o.x.constructor===Array?(o.__fnct||(o.__fnct=[]),o.__fnct[m]?p=o.__fnct[m]:(F=void 0===a.o.x[m]?a.o.x[0]:a.o.x[m],R=void 0===a.o.y[m]?a.o.y[0]:a.o.y[m],N=void 0===a.i.x[m]?a.i.x[0]:a.i.x[m],B=void 0===a.i.y[m]?a.i.y[0]:a.i.y[m],p=BezierFactory.getBezierEasing(F,R,N,B).get,o.__fnct[m]=p)):o.__fnct?p=o.__fnct:(F=a.o.x,R=a.o.y,N=a.i.x,B=a.i.y,p=BezierFactory.getBezierEasing(F,R,N,B).get,a.keyframeMetadata=p),h=p((t-k)/(T-k)))),y=s.s||a.e,V=1===a.h?a.s[m]:a.s[m]+(y[m]-a.s[m])*h,"multidimensional"===this.propType?r[m]=V:r=V}return e.lastIndex=f,r}function i(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,n=Math.cos(e/2),a=Math.cos(r/2),s=Math.cos(i/2),o=Math.sin(e/2),l=Math.sin(r/2),c=Math.sin(i/2);return[o*l*s+n*a*c,o*a*s+n*l*c,n*l*s-o*a*c,n*a*s-o*l*c]}function n(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(e===this._caching.lastFrame||this._caching.lastFrame!==t&&(this._caching.lastFrame>=i&&e>=i||this._caching.lastFrame<r&&e<r))){this._caching.lastFrame>=e&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var n=this.interpolateValue(e,this._caching);this.pv=n}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 i=0,n=this.v.length;i<n;)r=t[i]*this.mult,e(this.v[i]-r)>1e-5&&(this.v[i]=r,this._mdf=!0),i+=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<e;t+=1)r=this.effectsSequence[t](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(t,e,r,i){this.propType="unidimensional",this.mult=r||1,this.data=e,this.v=r?e.k*r:e.k,this.pv=e.k,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.addEffect=o}function c(t,e,r,i){var n;this.propType="multidimensional",this.mult=r||1,this.data=e,this._mdf=!1,this.elem=t,this.container=i,this.comp=t.comp,this.k=!1,this.kf=!1,this.frameId=-1;var l=e.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),this.vel=createTypedArray("float32",l),n=0;n<l;n+=1)this.v[n]=e.k[n]*this.mult,this.pv[n]=e.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=s,this.setVValue=a,this.addEffect=o}function h(e,i,l,c){this.propType="unidimensional",this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.frameId=-1,this._caching={lastFrame:t,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=i,this.mult=l||1,this.elem=e,this.container=c,this.comp=e.comp,this.v=t,this.pv=t,this._isFirstFrame=!0,this.getValue=s,this.setVValue=a,this.interpolateValue=r,this.effectsSequence=[n.bind(this)],this.addEffect=o}function u(e,i,l,c){var h;this.propType="multidimensional";var u,d,p,f,m=i.k.length;for(h=0;h<m-1;h+=1)i.k[h].to&&i.k[h].s&&i.k[h+1]&&i.k[h+1].s&&(u=i.k[h].s,d=i.k[h+1].s,p=i.k[h].to,f=i.k[h].ti,(2===u.length&&(u[0]!==d[0]||u[1]!==d[1])&&bez.pointOnLine2D(u[0],u[1],d[0],d[1],u[0]+p[0],u[1]+p[1])&&bez.pointOnLine2D(u[0],u[1],d[0],d[1],d[0]+f[0],d[1]+f[1])||3===u.length&&(u[0]!==d[0]||u[1]!==d[1]||u[2]!==d[2])&&bez.pointOnLine3D(u[0],u[1],u[2],d[0],d[1],d[2],u[0]+p[0],u[1]+p[1],u[2]+p[2])&&bez.pointOnLine3D(u[0],u[1],u[2],d[0],d[1],d[2],d[0]+f[0],d[1]+f[1],d[2]+f[2]))&&(i.k[h].to=null,i.k[h].ti=null),u[0]===d[0]&&u[1]===d[1]&&0===p[0]&&0===p[1]&&0===f[0]&&0===f[1]&&(2===u.length||u[2]===d[2]&&0===p[2]&&0===f[2])&&(i.k[h].to=null,i.k[h].ti=null));this.effectsSequence=[n.bind(this)],this.data=i,this.keyframes=i.k,this.keyframesMetadata=[],this.offsetTime=e.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=e,this.container=c,this.comp=e.comp,this.getValue=s,this.setVValue=a,this.interpolateValue=r,this.frameId=-1;var g=i.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),h=0;h<g;h+=1)this.v[h]=t,this.pv[h]=t;this._caching={lastFrame:t,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=o}return{getProp:function(t,e,r,i,n){var a;if(e.k.length)if("number"==typeof e.k[0])a=new c(t,e,i,n);else switch(r){case 0:a=new h(t,e,i,n);break;case 1:a=new u(t,e,i,n)}else a=new l(t,e,i,n);return a.effectsSequence.length&&n.addDynamicProperty(a),a}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&(this.dynamicProperties.push(t),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var t;this._mdf=!1;var e=this.dynamicProperties.length;for(t=0;t<e;t+=1)this.dynamicProperties[t].getValue(),this.dynamicProperties[t]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(t){this.container=t,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=poolFactory(8,(function(){return createTypedArray("float32",2)}));function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(t,e){this.c=t,this.setLength(e);for(var r=0;r<e;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(t){for(;this._maxLength<t;)this.doubleArrayLength();this._length=t},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(t,e,r,i,n){var a;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[i]||a[i]&&!n)&&(a[i]=pointPool.newElement()),a[i][0]=t,a[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,n,a,s,o){this.setXYAt(t,e,"v",s,o),this.setXYAt(r,i,"o",s,o),this.setXYAt(n,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,i=this.i,n=0;this.c&&(t.setTripleAt(e[0][0],e[0][1],i[0][0],i[0][1],r[0][0],r[0][1],0,!1),n=1);var a,s=this._length-1,o=this._length;for(a=n;a<o;a+=1)t.setTripleAt(e[s][0],e[s][1],i[s][0],i[s][1],r[s][0],r[s][1],a,!1),s-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=(factory=poolFactory(4,(function(){return new ShapePath}),(function(t){var e,r=t._length;for(e=0;e<r;e+=1)pointPool.release(t.v[e]),pointPool.release(t.i[e]),pointPool.release(t.o[e]),t.v[e]=null,t.i[e]=null,t.o[e]=null;t._length=0,t.c=!1})),factory.clone=function(t){var e,r=factory.newElement(),i=void 0===t._length?t.v.length:t._length;for(r.setLength(i),r.c=t.c,e=0;e<i;e+=1)r.setTripleAt(t.v[e][0],t.v[e][1],t.o[e][0],t.o[e][1],t.i[e][0],t.i[e][1],e);return r},factory),factory;function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(t){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=t,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var t;for(t=0;t<this._length;t+=1)shapePool.release(this.shapes[t]);this._length=0};var shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(t){var e,r=t._length;for(e=0;e<r;e+=1)shapePool.release(t.shapes[e]);t._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=t,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ob,_length,_maxLength,pool,ShapePropertyFactory=function(){var t=-999999;function e(t,e,r){var i,n,a,s,o,l,c,h,u,d=r.lastIndex,p=this.keyframes;if(t<p[0].t-this.offsetTime)i=p[0].s[0],a=!0,d=0;else if(t>=p[p.length-1].t-this.offsetTime)i=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],a=!0;else{for(var f,m,g,v=d,y=p.length-1,b=!0;b&&(f=p[v],!((m=p[v+1]).t-this.offsetTime>t));)v<y-1?v+=1:b=!1;if(g=this.keyframesMetadata[v]||{},d=v,!(a=1===f.h)){if(t>=m.t-this.offsetTime)h=1;else if(t<f.t-this.offsetTime)h=0;else{var _;g.__fnct?_=g.__fnct:(_=BezierFactory.getBezierEasing(f.o.x,f.o.y,f.i.x,f.i.y).get,g.__fnct=_),h=_((t-(f.t-this.offsetTime))/(m.t-this.offsetTime-(f.t-this.offsetTime)))}n=m.s?m.s[0]:f.e[0]}i=f.s[0]}for(l=e._length,c=i.i[0].length,r.lastIndex=d,s=0;s<l;s+=1)for(o=0;o<c;o+=1)u=a?i.i[s][o]:i.i[s][o]+(n.i[s][o]-i.i[s][o])*h,e.i[s][o]=u,u=a?i.o[s][o]:i.o[s][o]+(n.o[s][o]-i.o[s][o])*h,e.o[s][o]=u,u=a?i.v[s][o]:i.v[s][o]+(n.v[s][o]-i.v[s][o])*h,e.v[s][o]=u}function r(){var e=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,i=this.keyframes[this.keyframes.length-1].t-this.offsetTime,n=this._caching.lastFrame;return n!==t&&(n<r&&e<r||n>i&&e>i)||(this._caching.lastIndex=n<e?this._caching.lastIndex:0,this.interpolateShape(e,this.pv,this._caching)),this._caching.lastFrame=e,this.pv}function i(){this.paths=this.localShapeCollection}function n(t){(function(t,e){if(t._length!==e._length||t.c!==e.c)return!1;var r,i=t._length;for(r=0;r<i;r+=1)if(t.v[r][0]!==e.v[r][0]||t.v[r][1]!==e.v[r][1]||t.o[r][0]!==e.o[r][0]||t.o[r][1]!==e.o[r][1]||t.i[r][0]!==e.i[r][0]||t.i[r][1]!==e.i[r][1])return!1;return!0})(this.v,t)||(this.v=shapePool.clone(t),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function a(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var t,e;this.lock=!0,this._mdf=!1,t=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(e=0;e<r;e+=1)t=this.effectsSequence[e](t);this.setVValue(t),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(t,e,r){this.propType="shape",this.comp=t.comp,this.container=t,this.elem=t,this.data=e,this.k=!1,this.kf=!1,this._mdf=!1;var n=3===r?e.pt.k:e.ks.k;this.v=shapePool.clone(n),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function o(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function l(e,n,a){this.propType="shape",this.comp=e.comp,this.elem=e,this.container=e,this.offsetTime=e.data.st,this.keyframes=3===a?n.pt.k:n.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=e,s.prototype.getValue=a,s.prototype.setVValue=n,s.prototype.addEffect=o,l.prototype.getValue=a,l.prototype.interpolateShape=e,l.prototype.setVValue=n,l.prototype.addEffect=o;var c=function(){var t=roundCorner;function e(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=e.d,this.elem=t,this.comp=t.comp,this.frameId=-1,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return e.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var e=this.p.v[0],r=this.p.v[1],i=this.s.v[0]/2,n=this.s.v[1]/2,a=3!==this.d,s=this.v;s.v[0][0]=e,s.v[0][1]=r-n,s.v[1][0]=a?e+i:e-i,s.v[1][1]=r,s.v[2][0]=e,s.v[2][1]=r+n,s.v[3][0]=a?e-i:e+i,s.v[3][1]=r,s.i[0][0]=a?e-i*t:e+i*t,s.i[0][1]=r-n,s.i[1][0]=a?e+i:e-i,s.i[1][1]=r-n*t,s.i[2][0]=a?e+i*t:e-i*t,s.i[2][1]=r+n,s.i[3][0]=a?e-i:e+i,s.i[3][1]=r+n*t,s.o[0][0]=a?e+i*t:e-i*t,s.o[0][1]=r-n,s.o[1][0]=a?e+i:e-i,s.o[1][1]=r+n*t,s.o[2][0]=a?e-i*t:e+i*t,s.o[2][1]=r+n,s.o[3][0]=a?e-i:e+i,s.o[3][1]=r-n*t}},extendPrototype([DynamicPropertyContainer],e),e}(),h=function(){function t(t,e){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=t,this.comp=t.comp,this.data=e,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),1===e.sy?(this.ir=PropertyFactory.getProp(t,e.ir,0,0,this),this.is=PropertyFactory.getProp(t,e.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(t,e.pt,0,0,this),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,degToRads,this),this.or=PropertyFactory.getProp(t,e.or,0,0,this),this.os=PropertyFactory.getProp(t,e.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return t.prototype={reset:i,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var t,e,r,i,n=2*Math.floor(this.pt.v),a=2*Math.PI/n,s=!0,o=this.or.v,l=this.ir.v,c=this.os.v,h=this.is.v,u=2*Math.PI*o/(2*n),d=2*Math.PI*l/(2*n),p=-Math.PI/2;p+=this.r.v;var f=3===this.data.d?-1:1;for(this.v._length=0,t=0;t<n;t+=1){r=s?c:h,i=s?u:d;var m=(e=s?o:l)*Math.cos(p),g=e*Math.sin(p),v=0===m&&0===g?0:g/Math.sqrt(m*m+g*g),y=0===m&&0===g?0:-m/Math.sqrt(m*m+g*g);m+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(m,g,m-v*i*r*f,g-y*i*r*f,m+v*i*r*f,g+y*i*r*f,t,!0),s=!s,p+=a*f}},convertPolygonToPath:function(){var t,e=Math.floor(this.pt.v),r=2*Math.PI/e,i=this.or.v,n=this.os.v,a=2*Math.PI*i/(4*e),s=.5*-Math.PI,o=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,t=0;t<e;t+=1){var l=i*Math.cos(s),c=i*Math.sin(s),h=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),u=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-h*a*n*o,c-u*a*n*o,l+h*a*n*o,c+u*a*n*o,t,!0),s+=r*o}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function t(t,e){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=t,this.comp=t.comp,this.frameId=-1,this.d=e.d,this.initDynamicPropertyContainer(t),this.p=PropertyFactory.getProp(t,e.p,1,0,this),this.s=PropertyFactory.getProp(t,e.s,1,0,this),this.r=PropertyFactory.getProp(t,e.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return t.prototype={convertRectToPath:function(){var t=this.p.v[0],e=this.p.v[1],r=this.s.v[0]/2,i=this.s.v[1]/2,n=bmMin(r,i,this.r.v),a=n*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(t+r,e-i+n,t+r,e-i+n,t+r,e-i+a,0,!0),this.v.setTripleAt(t+r,e+i-n,t+r,e+i-a,t+r,e+i-n,1,!0),0!==n?(this.v.setTripleAt(t+r-n,e+i,t+r-n,e+i,t+r-a,e+i,2,!0),this.v.setTripleAt(t-r+n,e+i,t-r+a,e+i,t-r+n,e+i,3,!0),this.v.setTripleAt(t-r,e+i-n,t-r,e+i-n,t-r,e+i-a,4,!0),this.v.setTripleAt(t-r,e-i+n,t-r,e-i+a,t-r,e-i+n,5,!0),this.v.setTripleAt(t-r+n,e-i,t-r+n,e-i,t-r+a,e-i,6,!0),this.v.setTripleAt(t+r-n,e-i,t+r-a,e-i,t+r-n,e-i,7,!0)):(this.v.setTripleAt(t-r,e+i,t-r+a,e+i,t-r,e+i,2),this.v.setTripleAt(t-r,e-i,t-r,e-i+a,t-r,e-i,3))):(this.v.setTripleAt(t+r,e-i+n,t+r,e-i+a,t+r,e-i+n,0,!0),0!==n?(this.v.setTripleAt(t+r-n,e-i,t+r-n,e-i,t+r-a,e-i,1,!0),this.v.setTripleAt(t-r+n,e-i,t-r+a,e-i,t-r+n,e-i,2,!0),this.v.setTripleAt(t-r,e-i+n,t-r,e-i+n,t-r,e-i+a,3,!0),this.v.setTripleAt(t-r,e+i-n,t-r,e+i-a,t-r,e+i-n,4,!0),this.v.setTripleAt(t-r+n,e+i,t-r+n,e+i,t-r+a,e+i,5,!0),this.v.setTripleAt(t+r-n,e+i,t+r-a,e+i,t+r-n,e+i,6,!0),this.v.setTripleAt(t+r,e+i-n,t+r,e+i-n,t+r,e+i-a,7,!0)):(this.v.setTripleAt(t-r,e-i,t-r+a,e-i,t-r,e-i,1,!0),this.v.setTripleAt(t-r,e+i,t-r,e+i-a,t-r,e+i,2,!0),this.v.setTripleAt(t+r,e+i,t+r-a,e+i,t+r,e+i,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:i},extendPrototype([DynamicPropertyContainer],t),t}(),d={getShapeProp:function(t,e,r){var i;return 3===r||4===r?i=(3===r?e.pt:e.ks).k.length?new l(t,e,r):new s(t,e,r):5===r?i=new u(t,e):6===r?i=new c(t,e):7===r&&(i=new h(t,e)),i.k&&t.addDynamicProperty(i),i},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}};return d}(),Matrix=function(){var t=Math.cos,e=Math.sin,r=Math.tan,i=Math.round;function n(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function a(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(1,0,0,0,0,i,-n,0,0,n,i,0,0,0,0,1)}function o(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,0,n,0,0,1,0,0,-n,0,i,0,0,0,0,1)}function l(r){if(0===r)return this;var i=t(r),n=e(r);return this._t(i,-n,0,0,n,i,0,0,0,0,1,0,0,0,0,1)}function c(t,e){return this._t(1,e,t,1,0,0)}function h(t,e){return this.shear(r(t),r(e))}function u(i,n){var a=t(n),s=e(n);return this._t(a,s,0,0,-s,a,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(i),1,0,0,0,0,1,0,0,0,0,1)._t(a,-s,0,0,s,a,0,0,0,0,1,0,0,0,0,1)}function d(t,e,r){return r||0===r||(r=1),1===t&&1===e&&1===r?this:this._t(t,0,0,0,0,e,0,0,0,0,r,0,0,0,0,1)}function p(t,e,r,i,n,a,s,o,l,c,h,u,d,p,f,m){return this.props[0]=t,this.props[1]=e,this.props[2]=r,this.props[3]=i,this.props[4]=n,this.props[5]=a,this.props[6]=s,this.props[7]=o,this.props[8]=l,this.props[9]=c,this.props[10]=h,this.props[11]=u,this.props[12]=d,this.props[13]=p,this.props[14]=f,this.props[15]=m,this}function f(t,e,r){return r=r||0,0!==t||0!==e||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,t,e,r,1):this}function m(t,e,r,i,n,a,s,o,l,c,h,u,d,p,f,m){var g=this.props;if(1===t&&0===e&&0===r&&0===i&&0===n&&1===a&&0===s&&0===o&&0===l&&0===c&&1===h&&0===u)return g[12]=g[12]*t+g[15]*d,g[13]=g[13]*a+g[15]*p,g[14]=g[14]*h+g[15]*f,g[15]*=m,this._identityCalculated=!1,this;var v=g[0],y=g[1],b=g[2],_=g[3],E=g[4],S=g[5],x=g[6],w=g[7],C=g[8],P=g[9],A=g[10],T=g[11],k=g[12],L=g[13],D=g[14],I=g[15];return g[0]=v*t+y*n+b*l+_*d,g[1]=v*e+y*a+b*c+_*p,g[2]=v*r+y*s+b*h+_*f,g[3]=v*i+y*o+b*u+_*m,g[4]=E*t+S*n+x*l+w*d,g[5]=E*e+S*a+x*c+w*p,g[6]=E*r+S*s+x*h+w*f,g[7]=E*i+S*o+x*u+w*m,g[8]=C*t+P*n+A*l+T*d,g[9]=C*e+P*a+A*c+T*p,g[10]=C*r+P*s+A*h+T*f,g[11]=C*i+P*o+A*u+T*m,g[12]=k*t+L*n+D*l+I*d,g[13]=k*e+L*a+D*c+I*p,g[14]=k*r+L*s+D*h+I*f,g[15]=k*i+L*o+D*u+I*m,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function v(t){for(var e=0;e<16;){if(t.props[e]!==this.props[e])return!1;e+=1}return!0}function y(t){var e;for(e=0;e<16;e+=1)t.props[e]=this.props[e];return t}function b(t){var e;for(e=0;e<16;e+=1)this.props[e]=t[e]}function _(t,e,r){return{x:t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],y:t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],z:t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}}function E(t,e,r){return t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12]}function S(t,e,r){return t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13]}function x(t,e,r){return t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]}function w(){var t=this.props[0]*this.props[5]-this.props[1]*this.props[4],e=this.props[5]/t,r=-this.props[1]/t,i=-this.props[4]/t,n=this.props[0]/t,a=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/t,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/t,o=new Matrix;return o.props[0]=e,o.props[1]=r,o.props[4]=i,o.props[5]=n,o.props[12]=a,o.props[13]=s,o}function C(t){return this.getInverseMatrix().applyToPointArray(t[0],t[1],t[2]||0)}function P(t){var e,r=t.length,i=[];for(e=0;e<r;e+=1)i[e]=C(t[e]);return i}function A(t,e,r){var i=createTypedArray("float32",6);if(this.isIdentity())i[0]=t[0],i[1]=t[1],i[2]=e[0],i[3]=e[1],i[4]=r[0],i[5]=r[1];else{var n=this.props[0],a=this.props[1],s=this.props[4],o=this.props[5],l=this.props[12],c=this.props[13];i[0]=t[0]*n+t[1]*s+l,i[1]=t[0]*a+t[1]*o+c,i[2]=e[0]*n+e[1]*s+l,i[3]=e[0]*a+e[1]*o+c,i[4]=r[0]*n+r[1]*s+l,i[5]=r[0]*a+r[1]*o+c}return i}function T(t,e,r){return this.isIdentity()?[t,e,r]:[t*this.props[0]+e*this.props[4]+r*this.props[8]+this.props[12],t*this.props[1]+e*this.props[5]+r*this.props[9]+this.props[13],t*this.props[2]+e*this.props[6]+r*this.props[10]+this.props[14]]}function k(t,e){if(this.isIdentity())return t+","+e;var r=this.props;return Math.round(100*(t*r[0]+e*r[4]+r[12]))/100+","+Math.round(100*(t*r[1]+e*r[5]+r[13]))/100}function L(){for(var t=0,e=this.props,r="matrix3d(";t<16;)r+=i(1e4*e[t])/1e4,r+=15===t?")":",",t+=1;return r}function D(t){return t<1e-6&&t>0||t>-1e-6&&t<0?i(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=n,this.rotate=a,this.rotateX=s,this.rotateY=o,this.rotateZ=l,this.skew=h,this.skewFromAxis=u,this.shear=c,this.scale=d,this.setTransform=p,this.translate=f,this.transform=m,this.applyToPoint=_,this.applyToX=E,this.applyToY=S,this.applyToZ=x,this.applyToPointArray=T,this.applyToTriplePoints=A,this.applyToPointStringified=k,this.toCSS=L,this.to2dCSS=I,this.clone=y,this.cloneFromProps=b,this.equals=v,this.inversePoints=P,this.inversePoint=C,this.getInverseMatrix=w,this._t=this.transform,this.isIdentity=g,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},_typeof$3(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<e.length;r+=1){var i=e[r].split("=");if(decodeURIComponent(i[0])==t)return decodeURIComponent(i[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.10.2";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"!==_typeof$3(exports)&&__webpack_require__.amdO}catch(t){}var ShapeModifiers=function(){var t={},e={};return t.registerModifier=function(t,r){e[t]||(e[t]=r)},t.getModifier=function(t,r,i){return new e[t](r,i)},t}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(t){if(!this.closed){t.sh.container.addDynamicProperty(t.sh);var e={shape:t.sh,data:t,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(e),this.addShapeToModifier(e),this._isAnimated&&t.setAsAnimated()}},ShapeModifier.prototype.init=function(t,e){this.shapes=[],this.elem=t,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(t,e){this.s=PropertyFactory.getProp(t,e.s,0,.01,this),this.e=PropertyFactory.getProp(t,e.e,0,.01,this),this.o=PropertyFactory.getProp(t,e.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=e.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(t){t.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(t,e,r,i,n){var a=[];e<=1?a.push({s:t,e:e}):t>=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=[],c=a.length;for(s=0;s<c;s+=1){var h,u;(o=a[s]).e*n<i||o.s*n>i+r||(h=o.s*n<=i?0:(o.s*n-i)/r,u=o.e*n>=i+r?1:(o.e*n-i)/r,l.push([h,u]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(t){var e,r=t.length;for(e=0;e<r;e+=1)segmentsLengthPool.release(t[e]);return t.length=0,t},TrimModifier.prototype.processShapes=function(t){var e,r,i,n;if(this._mdf||t){var a=this.o.v%360/360;if(a<0&&(a+=1),(e=this.s.v>1?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,c,h,u,d=this.shapes.length,p=0;if(r===e)for(n=0;n<d;n+=1)this.shapes[n].localShapeCollection.releaseShapes(),this.shapes[n].shape._mdf=!0,this.shapes[n].shape.paths=this.shapes[n].localShapeCollection,this._mdf&&(this.shapes[n].pathsData.length=0);else if(1===r&&0===e||0===r&&1===e){if(this._mdf)for(n=0;n<d;n+=1)this.shapes[n].pathsData.length=0,this.shapes[n].shape._mdf=!0}else{var f,m,g=[];for(n=0;n<d;n+=1)if((f=this.shapes[n]).shape._mdf||this._mdf||t||2===this.m){if(l=(i=f.shape.paths)._length,u=0,!f.shape._mdf&&f.pathsData.length)u=f.totalShapeLength;else{for(c=this.releasePathsData(f.pathsData),o=0;o<l;o+=1)h=bez.getSegmentsLength(i.shapes[o]),c.push(h),u+=h.totalLength;f.totalShapeLength=u,f.pathsData=c}p+=u,f.shape._mdf=!0}else f.shape.paths=f.localShapeCollection;var v,y=e,b=r,_=0;for(n=d-1;n>=0;n-=1)if((f=this.shapes[n]).shape._mdf){for((m=f.localShapeCollection).releaseShapes(),2===this.m&&d>1?(v=this.calculateShapeEdges(e,r,f.totalShapeLength,_,p),_+=f.totalShapeLength):v=[[y,b]],l=v.length,o=0;o<l;o+=1){y=v[o][0],b=v[o][1],g.length=0,b<=1?g.push({s:f.totalShapeLength*y,e:f.totalShapeLength*b}):y>=1?g.push({s:f.totalShapeLength*(y-1),e:f.totalShapeLength*(b-1)}):(g.push({s:f.totalShapeLength*y,e:f.totalShapeLength}),g.push({s:0,e:f.totalShapeLength*(b-1)}));var E=this.addShapes(f,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(f.shape.paths.shapes[f.shape.paths._length-1].c){var S=E.pop();this.addPaths(E,m),E=this.addShapes(f,g[1],S)}else this.addPaths(E,m),E=this.addShapes(f,g[1]);this.addPaths(E,m)}}f.shape.paths=m}}},TrimModifier.prototype.addPaths=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)e.addShape(t[r])},TrimModifier.prototype.addSegment=function(t,e,r,i,n,a,s){n.setXYAt(e[0],e[1],"o",a),n.setXYAt(r[0],r[1],"i",a+1),s&&n.setXYAt(t[0],t[1],"v",a),n.setXYAt(i[0],i[1],"v",a+1)},TrimModifier.prototype.addSegmentFromArray=function(t,e,r,i){e.setXYAt(t[1],t[5],"o",r),e.setXYAt(t[2],t[6],"i",r+1),i&&e.setXYAt(t[0],t[4],"v",r),e.setXYAt(t[3],t[7],"v",r+1)},TrimModifier.prototype.addShapes=function(t,e,r){var i,n,a,s,o,l,c,h,u=t.pathsData,d=t.shape.paths.shapes,p=t.shape.paths._length,f=0,m=[],g=!0;for(r?(o=r._length,h=r._length):(r=shapePool.newElement(),o=0,h=0),m.push(r),i=0;i<p;i+=1){for(l=u[i].lengths,r.c=d[i].c,a=d[i].c?l.length:l.length+1,n=1;n<a;n+=1)if(f+(s=l[n-1]).addedLength<e.s)f+=s.addedLength,r.c=!1;else{if(f>e.e){r.c=!1;break}e.s<=f&&e.e>=f+s.addedLength?(this.addSegment(d[i].v[n-1],d[i].o[n-1],d[i].i[n],d[i].v[n],r,o,g),g=!1):(c=bez.getNewSegment(d[i].v[n-1],d[i].v[n],d[i].o[n-1],d[i].i[n],(e.s-f)/s.addedLength,(e.e-f)/s.addedLength,l[n-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1),f+=s.addedLength,o+=1}if(d[i].c&&l.length){if(s=l[n-1],f<=e.e){var v=l[n-1].addedLength;e.s<=f&&e.e>=f+v?(this.addSegment(d[i].v[n-1],d[i].o[n-1],d[i].i[0],d[i].v[0],r,o,g),g=!1):(c=bez.getNewSegment(d[i].v[n-1],d[i].v[0],d[i].o[n-1],d[i].i[0],(e.s-f)/v,(e.e-f)/v,l[n-1]),this.addSegmentFromArray(c,r,o,g),g=!1,r.c=!1)}else r.c=!1;f+=s.addedLength,o+=1}if(r._length&&(r.setXYAt(r.v[h][0],r.v[h][1],"i",h),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),f>e.e)break;i<p-1&&(r=shapePool.newElement(),g=!0,m.push(r),o=0)}return m},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(t,e){var r=e/100,i=[0,0],n=t._length,a=0;for(a=0;a<n;a+=1)i[0]+=t.v[a][0],i[1]+=t.v[a][1];i[0]/=n,i[1]/=n;var s,o,l,c,h,u,d=shapePool.newElement();for(d.c=t.c,a=0;a<n;a+=1)s=t.v[a][0]+(i[0]-t.v[a][0])*r,o=t.v[a][1]+(i[1]-t.v[a][1])*r,l=t.o[a][0]+(i[0]-t.o[a][0])*-r,c=t.o[a][1]+(i[1]-t.o[a][1])*-r,h=t.i[a][0]+(i[0]-t.i[a][0])*-r,u=t.i[a][1]+(i[1]-t.i[a][1])*-r,d.setTripleAt(s,o,l,c,h,u,a);return d},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(t,e,r){if(this.elem=t,this.frameId=-1,this.propType="transform",this.data=e,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||t),e.p&&e.p.s?(this.px=PropertyFactory.getProp(t,e.p.x,0,0,this),this.py=PropertyFactory.getProp(t,e.p.y,0,0,this),e.p.z&&(this.pz=PropertyFactory.getProp(t,e.p.z,0,0,this))):this.p=PropertyFactory.getProp(t,e.p||{k:[0,0,0]},1,0,this),e.rx){if(this.rx=PropertyFactory.getProp(t,e.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(t,e.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(t,e.rz,0,degToRads,this),e.or.k[0].ti){var i,n=e.or.k.length;for(i=0;i<n;i+=1)e.or.k[i].to=null,e.or.k[i].ti=null}this.or=PropertyFactory.getProp(t,e.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(t,e.r||{k:0},0,degToRads,this);e.sk&&(this.sk=PropertyFactory.getProp(t,e.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(t,e.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(t,e.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(t,e.s||{k:[100,100,100]},1,.01,this),e.o?this.o=PropertyFactory.getProp(t,e.o,0,.01,t):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return e.prototype={applyToMatrix:function(t){var e=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||e,this.a&&t.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&t.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&t.skewFromAxis(-this.sk.v,this.sa.v),this.r?t.rotate(-this.r.v):t.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?t.translate(this.px.v,this.py.v,-this.pz.v):t.translate(this.px.v,this.py.v,0):t.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(e){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||e){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var i,n;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(i=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),n=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(i=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),n=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(i=this.p.pv,n=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){i=[],n=[];var a=this.px,s=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(i[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),n[0]=a.getValueAtTime(a.keyframes[0].t/r,0),n[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(i[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),i[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),n[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(i=[a.pv,s.pv],n[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),n[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else i=n=t;this.v.rotate(-Math.atan2(i[1]-n[1],i[0]-n[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}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,i){return new e(t,r,i)}}}();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 i=e*e-4*t*r;if(i<0)return[];var n=-e/(2*t);if(0===i)return[n];var a=Math.sqrt(i)/(2*t);return[n-a,n+a]}function polynomialCoefficients(t,e,r,i){return[3*e-t-3*r+i,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,i,n){n&&pointEqual(t,e)&&(e=lerpPoint(t,i,1/3)),n&&pointEqual(r,i)&&(r=lerpPoint(t,i,2/3));var a=polynomialCoefficients(t[0],e[0],r[0],i[0]),s=polynomialCoefficients(t[1],e[1],r[1],i[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,i]}function extrema(t,e){var r=t.points[0][e],i=t.points[t.points.length-1][e];if(r>i){var n=i;i=r,r=n}for(var a=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),s=0;s<a.length;s+=1)if(a[s]>0&&a[s]<1){var o=t.point(a[s])[e];o<r?r=o:o>i&&(i=o)}return{min:r,max:i}}function intersectData(t,e,r){var i=t.boundingBox();return{cx:i.cx,cy:i.cy,width:i.width,height:i.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)<t.width+e.width&&2*Math.abs(t.cy-e.cy)<t.height+e.height}function intersectsImpl(t,e,r,i,n,a){if(boxIntersect(t,e))if(r>=a||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i)n.push([t.t,e.t]);else{var s=splitData(t),o=splitData(e);intersectsImpl(s[0],o[0],r+1,i,n,a),intersectsImpl(s[0],o[1],r+1,i,n,a),intersectsImpl(s[1],o[0],r+1,i,n,a),intersectsImpl(s[1],o[1],r+1,i,n,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,i){var n=[t[0],t[1],1],a=[e[0],e[1],1],s=[r[0],r[1],1],o=[i[0],i[1],1],l=crossProduct(crossProduct(n,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,i,n,a,s){var o=r-Math.PI/2,l=r+Math.PI/2,c=e[0]+Math.cos(r)*i*n,h=e[1]-Math.sin(r)*i*n;t.setTripleAt(c,h,c+Math.cos(o)*a,h-Math.sin(o)*a,c+Math.cos(l)*s,h-Math.sin(l)*s,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],i=.5*-Math.PI;return[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]]}function getProjectingAngle(t,e){var r=0===e?t.length()-1:e-1,i=(e+1)%t.length(),n=getPerpendicularVector(t.v[r],t.v[i]);return Math.atan2(0,1)-Math.atan2(n[1],n[0])}function zigZagCorner(t,e,r,i,n,a,s){var o=getProjectingAngle(e,r),l=e.v[r%e._length],c=e.v[0===r?e._length-1:r-1],h=e.v[(r+1)%e._length],u=2===a?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0,d=2===a?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0;setPoint(t,e.v[r%e._length],o,s,i,d/(2*(n+1)),u/(2*(n+1)),a)}function zigZagSegment(t,e,r,i,n,a){for(var s=0;s<i;s+=1){var o=(s+1)/(i+1),l=2===n?Math.sqrt(Math.pow(e.points[3][0]-e.points[0][0],2)+Math.pow(e.points[3][1]-e.points[0][1],2)):0,c=e.normalAngle(o);setPoint(t,e.point(o),c,a,r,l/(2*(i+1)),l/(2*(i+1)),n),a=-a}return a}function linearOffset(t,e,r){var i=Math.atan2(e[0]-t[0],e[1]-t[1]);return[polarOffset(t,i,r),polarOffset(e,i,r)]}function offsetSegment(t,e){var r,i,n,a,s,o,l;r=(l=linearOffset(t.points[0],t.points[1],e))[0],i=l[1],n=(l=linearOffset(t.points[1],t.points[2],e))[0],a=l[1],s=(l=linearOffset(t.points[2],t.points[3],e))[0],o=l[1];var c=lineIntersection(r,i,n,a);null===c&&(c=i);var h=lineIntersection(s,o,n,a);return null===h&&(h=s),new PolynomialBezier(r,c,h,o)}function joinLines(t,e,r,i,n){var a=e.points[3],s=r.points[0];if(3===i)return a;if(pointEqual(a,s))return a;if(2===i){var o=-e.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,c=lineIntersection(a,polarOffset(a,o+Math.PI/2,100),s,polarOffset(s,o+Math.PI/2,100)),h=c?pointDistance(c,a):pointDistance(a,s)/2,u=polarOffset(a,o,2*h*roundCorner);return t.setXYAt(u[0],u[1],"o",t.length()-1),u=polarOffset(s,l,2*h*roundCorner),t.setTripleAt(s[0],s[1],s[0],s[1],u[0],u[1],t.length()),s}var d=lineIntersection(pointEqual(a,e.points[2])?e.points[0]:e.points[2],a,s,pointEqual(s,r.points[1])?r.points[3]:r.points[1]);return d&&pointDistance(d,a)<n?(t.setTripleAt(d[0],d[1],d[0],d[1],d[0],d[1],t.length()),d):a}function getIntersection(t,e){var r=t.intersections(e);return r.length&&floatEqual(r[0][0],1)&&r.shift(),r.length?r[0]:null}function pruneSegmentIntersection(t,e){var r=t.slice(),i=e.slice(),n=getIntersection(t[t.length-1],e[0]);return n&&(r[t.length-1]=t[t.length-1].split(n[0])[0],i[0]=e[0].split(n[1])[1]),t.length>1&&e.length>1&&(n=getIntersection(t[0],e[e.length-1]))?[[t[0].split(n[0])[0]],[e[e.length-1].split(n[1])[1]]]:[r,i]}function pruneIntersections(t){for(var e,r=1;r<t.length;r+=1)e=pruneSegmentIntersection(t[r-1],t[r]),t[r-1]=e[0],t[r]=e[1];return t.length>1&&(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,i,n,a,s=t.inflectionPoints();if(0===s.length)return[offsetSegment(t,e)];if(1===s.length||floatEqual(s[1],1))return r=(n=t.split(s[0]))[0],i=n[1],[offsetSegment(r,e),offsetSegment(i,e)];r=(n=t.split(s[0]))[0];var o=(s[1]-s[0])/(1-s[0]);return a=(n=n[1].split(o))[0],i=n[1],[offsetSegment(r,e),offsetSegment(a,e),offsetSegment(i,e)]}function OffsetPathModifier(){}function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",n=e.length,a=0;a<n;a+=1)switch(e[a].toLowerCase()){case"italic":i="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:i,weight:t.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(t,e.c,0,null,this),this.o=PropertyFactory.getProp(t,e.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(t,e.tr,this),this.so=PropertyFactory.getProp(t,e.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(t,e.tr.eo,0,.01,this),this.data=e,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(t,e,r,i,n,a){var s=a?-1:1,o=i.s.v[0]+(1-i.s.v[0])*(1-n),l=i.s.v[1]+(1-i.s.v[1])*(1-n);t.translate(i.p.v[0]*s*n,i.p.v[1]*s*n,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*s*n),e.translate(i.a.v[0],i.a.v[1],i.a.v[2]),r.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),r.scale(a?1/o:o,a?1/l:l),r.translate(i.a.v[0],i.a.v[1],i.a.v[2])},RepeaterModifier.prototype.init=function(t,e,r,i){for(this.elem=t,this.arr=e,this.pos=r,this.elemsData=i,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(t),this.initModifierProperties(t,e[r]);r>0;)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;e<r;e+=1)t[e]._processed=!1,"gr"===t[e].ty&&this.resetElements(t[e].it)},RepeaterModifier.prototype.cloneElements=function(t){var e=JSON.parse(JSON.stringify(t));return this.resetElements(e),e},RepeaterModifier.prototype.changeGroupRender=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]._render=e,"gr"===t[r].ty&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,n,a,s=!1;if(this._mdf||t){var o,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(a=0,i=0;i<=this._groups.length-1;i+=1){if(o=a<l,this._groups[i]._render=o,this.changeGroupRender(this._groups[i].it,o),!o){var h=this.elemsData[i].it,u=h[h.length-1];0!==u.transform.op.v?(u.transform.op._mdf=!0,u.transform.op.v=0):u.transform.op._mdf=!1}a+=1}this._currentCopies=l;var d=this.o.v,p=d%1,f=d>0?Math.floor(d):Math.ceil(d),m=this.pMatrix.props,g=this.rMatrix.props,v=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y,b,_=0;if(d>0){for(;_<f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),_+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),_+=p)}else if(d<0){for(;_>f;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),_-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),_-=p)}for(i=1===this.data.m?0:this._currentCopies-1,n=1===this.data.m?1:-1,a=this._currentCopies;a;){if(b=(r=(e=this.elemsData[i].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)*(i/(this._currentCopies-1)),0!==_){for((0!==i&&1===n||i!==this._currentCopies-1&&-1===n)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(v[0],v[1],v[2],v[3],v[4],v[5],v[6],v[7],v[8],v[9],v[10],v[11],v[12],v[13],v[14],v[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]),y=0;y<b;y+=1)r[y]=this.matrix.props[y];this.matrix.reset()}else for(this.matrix.reset(),y=0;y<b;y+=1)r[y]=this.matrix.props[y];_+=1,a-=1,i+=n}}else for(a=this._currentCopies,i=0,n=1;a;)r=(e=this.elemsData[i].it)[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,a-=1,i+=n;return s},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(t,e.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(t,e){var r,i=shapePool.newElement();i.c=t.c;var n,a,s,o,l,c,h,u,d,p,f,m,g=t._length,v=0;for(r=0;r<g;r+=1)n=t.v[r],s=t.o[r],a=t.i[r],n[0]===s[0]&&n[1]===s[1]&&n[0]===a[0]&&n[1]===a[1]?0!==r&&r!==g-1||t.c?(o=0===r?t.v[g-1]:t.v[r-1],c=(l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(l/2,e)/l:0,h=f=n[0]+(o[0]-n[0])*c,u=m=n[1]-(n[1]-o[1])*c,d=h-(h-n[0])*roundCorner,p=u-(u-n[1])*roundCorner,i.setTripleAt(h,u,d,p,f,m,v),v+=1,o=r===g-1?t.v[0]:t.v[r+1],c=(l=Math.sqrt(Math.pow(n[0]-o[0],2)+Math.pow(n[1]-o[1],2)))?Math.min(l/2,e)/l:0,h=d=n[0]+(o[0]-n[0])*c,u=p=n[1]+(o[1]-n[1])*c,f=h-(h-n[0])*roundCorner,m=u-(u-n[1])*roundCorner,i.setTripleAt(h,u,d,p,f,m,v),v+=1):(i.setTripleAt(n[0],n[1],s[0],s[1],a[0],a[1],v),v+=1):(i.setTripleAt(t.v[r][0],t.v[r][1],t.o[r][0],t.o[r][1],t.i[r][0],t.i[r][1],v),v+=1);return i},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},PolynomialBezier.prototype.point=function(t){return[((this.a[0]*t+this.b[0])*t+this.c[0])*t+this.d[0],((this.a[1]*t+this.b[1])*t+this.c[1])*t+this.d[1]]},PolynomialBezier.prototype.derivative=function(t){return[(3*t*this.a[0]+2*this.b[0])*t+this.c[0],(3*t*this.a[1]+2*this.b[1])*t+this.c[1]]},PolynomialBezier.prototype.tangentAngle=function(t){var e=this.derivative(t);return Math.atan2(e[1],e[0])},PolynomialBezier.prototype.normalAngle=function(t){var e=this.derivative(t);return Math.atan2(e[0],e[1])},PolynomialBezier.prototype.inflectionPoints=function(){var t=this.a[1]*this.b[0]-this.a[0]*this.b[1];if(floatZero(t))return[];var e=-.5*(this.a[1]*this.c[0]-this.a[0]*this.c[1])/t,r=e*e-1/3*(this.b[1]*this.c[0]-this.b[0]*this.c[1])/t;if(r<0)return[];var i=Math.sqrt(r);return floatZero(i)?i>0&&i<1?[e]:[]:[e-i,e+i].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),i=lerpPoint(this.points[2],this.points[3],t),n=lerpPoint(e,r,t),a=lerpPoint(r,i,t),s=lerpPoint(n,a,t);return[new PolynomialBezier(this.points[0],e,n,s,!0),new PolynomialBezier(s,a,i,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 i=[];return intersectsImpl(intersectData(this,0,1),intersectData(t,0,1),0,e,i,r),i},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,i){var n=t._length,a=shapePool.newElement();if(a.c=t.c,t.c||(n-=1),0===n)return a;var s=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(a,t,0,e,r,i,s);for(var l=0;l<n;l+=1)s=zigZagSegment(a,o,e,r,i,-s),o=l!==n-1||t.c?PolynomialBezier.shapeSegment(t,(l+1)%n):null,zigZagCorner(a,t,l+1,e,r,i,s);return a},ZigZagModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amplitude.v,c=Math.max(0,Math.round(this.frequency.v)),h=this.pointsType.v;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l,c,h));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)},extendPrototype([ShapeModifier],OffsetPathModifier),OffsetPathModifier.prototype.initModifierProperties=function(t,e){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(t,e.a,0,null,this),this.miterLimit=PropertyFactory.getProp(t,e.ml,0,null,this),this.lineJoin=e.lj,this._isAnimated=0!==this.amount.effectsSequence.length},OffsetPathModifier.prototype.processPath=function(t,e,r,i){var n=shapePool.newElement();n.c=t.c;var a,s,o,l=t.length();t.c||(l-=1);var c=[];for(a=0;a<l;a+=1)o=PolynomialBezier.shapeSegment(t,a),c.push(offsetSegmentSplit(o,e));if(!t.c)for(a=l-1;a>=0;a-=1)o=PolynomialBezier.shapeSegmentInverted(t,a),c.push(offsetSegmentSplit(o,e));c=pruneIntersections(c);var h=null,u=null;for(a=0;a<c.length;a+=1){var d=c[a];for(u&&(h=joinLines(n,u,d[0],r,i)),u=d[d.length-1],s=0;s<d.length;s+=1)o=d[s],h&&pointEqual(o.points[0],h)?n.setXYAt(o.points[1][0],o.points[1][1],"o",n.length()-1):n.setTripleAt(o.points[0][0],o.points[0][1],o.points[1][0],o.points[1][1],o.points[0][0],o.points[0][1],n.length()),n.setTripleAt(o.points[3][0],o.points[3][1],o.points[3][0],o.points[3][1],o.points[2][0],o.points[2][1],n.length()),h=o.points[3]}return c.length&&joinLines(n,u,c[0][0],r,i),n},OffsetPathModifier.prototype.processShapes=function(t){var e,r,i,n,a,s,o=this.shapes.length,l=this.amount.v,c=this.miterLimit.v,h=this.lineJoin;if(0!==l)for(r=0;r<o;r+=1){if(s=(a=this.shapes[r]).localShapeCollection,a.shape._mdf||this._mdf||t)for(s.releaseShapes(),a.shape._mdf=!0,e=a.shape.paths.shapes,n=a.shape.paths._length,i=0;i<n;i+=1)s.addShape(this.processPath(e[i],l,h,c));a.shape.paths=a.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};var FontManager=function(){var t=5e3,e={w:0,size:0,shapes:[],data:{shapes:[]}},r=[];r=r.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var i=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],n=[65039,8205];function a(t,e){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=e;var i=createTag("span");i.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(i),document.body.appendChild(r);var n=i.offsetWidth;return i.style.fontFamily=function(t){var e,r=t.split(","),i=r.length,n=[];for(e=0;e<i;e+=1)"sans-serif"!==r[e]&&"monospace"!==r[e]&&n.push(r[e]);return n.join(",")}(t)+", "+e,{node:i,w:n,parent:r}}function s(t,e){var r,i=document.body&&e?"svg":"canvas",n=getFontProperties(t);if("svg"===i){var a=createNS("text");a.style.fontSize="100px",a.setAttribute("font-family",t.fFamily),a.setAttribute("font-style",n.style),a.setAttribute("font-weight",n.weight),a.textContent="1",t.fClass?(a.style.fontFamily="inherit",a.setAttribute("class",t.fClass)):a.style.fontFamily=t.fFamily,e.appendChild(a),r=a}else{var s=new OffscreenCanvas(500,500).getContext("2d");s.font=n.style+" "+n.weight+" 100px "+t.fFamily,r=s}return{measureText:function(t){return"svg"===i?(r.textContent=t,r.getComputedTextLength()):r.measureText(t).width}}}var o=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};o.isModifier=function(t,e){var r=t.toString(16)+e.toString(16);return-1!==i.indexOf(r)},o.isZeroWidthJoiner=function(t,e){return e?t===n[0]&&e===n[1]:t===n[1]},o.isCombinedCharacter=function(t){return-1!==r.indexOf(t)};var l={addChars:function(t){if(t){var e;this.chars||(this.chars=[]);var r,i,n=t.length,a=this.chars.length;for(e=0;e<n;e+=1){for(r=0,i=!1;r<a;)this.chars[r].style===t[e].style&&this.chars[r].fFamily===t[e].fFamily&&this.chars[r].ch===t[e].ch&&(i=!0),r+=1;i||(this.chars.push(t[e]),a+=1)}}},addFonts:function(t,e){if(t){if(this.chars)return this.isLoaded=!0,void(this.fonts=t.list);if(!document.body)return this.isLoaded=!0,t.list.forEach((function(t){t.helper=s(t),t.cache={}})),void(this.fonts=t.list);var r,i=t.list,n=i.length,o=n;for(r=0;r<n;r+=1){var l,c,h=!0;if(i[r].loaded=!1,i[r].monoCase=a(i[r].fFamily,"monospace"),i[r].sansCase=a(i[r].fFamily,"sans-serif"),i[r].fPath){if("p"===i[r].fOrigin||3===i[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+i[r].fFamily+'"], style[f-origin="3"][f-family="'+i[r].fFamily+'"]')).length>0&&(h=!1),h){var u=createTag("style");u.setAttribute("f-forigin",i[r].fOrigin),u.setAttribute("f-origin",i[r].origin),u.setAttribute("f-family",i[r].fFamily),u.type="text/css",u.innerText="@font-face {font-family: "+i[r].fFamily+"; font-style: normal; src: url('"+i[r].fPath+"');}",e.appendChild(u)}}else if("g"===i[r].fOrigin||1===i[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(i[r].fPath)&&(h=!1);if(h){var d=createTag("link");d.setAttribute("f-forigin",i[r].fOrigin),d.setAttribute("f-origin",i[r].origin),d.type="text/css",d.rel="stylesheet",d.href=i[r].fPath,document.body.appendChild(d)}}else if("t"===i[r].fOrigin||2===i[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)i[r].fPath===l[c].src&&(h=!1);if(h){var p=createTag("link");p.setAttribute("f-forigin",i[r].fOrigin),p.setAttribute("f-origin",i[r].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",i[r].fPath),e.appendChild(p)}}}else i[r].loaded=!0,o-=1;i[r].helper=s(i[r],e),i[r].cache={},this.fonts.push(i[r])}0===o?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,r,i){for(var n=0,a=this.chars.length;n<a;){if(this.chars[n].ch===t&&this.chars[n].style===r&&this.chars[n].fFamily===i)return this.chars[n];n+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,i)),e},getFontByName:function(t){for(var e=0,r=this.fonts.length;e<r;){if(this.fonts[e].fName===t)return this.fonts[e];e+=1}return this.fonts[0]},measureText:function(t,e,r){var i=this.getFontByName(e),n=t.charCodeAt(0);if(!i.cache[n+1]){var a=i.helper;if(" "===t){var s=a.measureText("|"+t+"|"),o=a.measureText("||");i.cache[n+1]=(s-o)/100}else i.cache[n+1]=a.measureText(t)/100}return i.cache[n+1]*r},checkLoadedFonts:function(){var e,r,i,n=this.fonts.length,a=n;for(e=0;e<n;e+=1)this.fonts[e].loaded?a-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(r=this.fonts[e].monoCase.node,i=this.fonts[e].monoCase.w,r.offsetWidth!==i?(a-=1,this.fonts[e].loaded=!0):(r=this.fonts[e].sansCase.node,i=this.fonts[e].sansCase.w,r.offsetWidth!==i&&(a-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==a&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return o.prototype=l,o}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(t){-1===this.renderableComponents.indexOf(t)&&this.renderableComponents.push(t)},removeRenderableComponent:function(t){-1!==this.renderableComponents.indexOf(t)&&this.renderableComponents.splice(this.renderableComponents.indexOf(t),1)},prepareRenderableFrame:function(t){this.checkLayerLimits(t)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(t){this.data.ip-this.data.st<=t&&this.data.op-this.data.st>t?!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;t<e;t+=1)this.renderableComponents[t].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(t){return blendModeEnums[t]||""}),blendModeEnums;function SliderEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function AngleEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function ColorEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function PointEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,1,0,r)}function LayerIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function MaskIndexEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function CheckboxEffect(t,e,r){this.p=PropertyFactory.getProp(e,t.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(t,e){var r,i=t.ef||[];this.effectElements=[];var n,a=i.length;for(r=0;r<a;r+=1)n=new GroupEffect(i[r],e),this.effectElements.push(n)}function GroupEffect(t,e){this.init(t,e)}function BaseElement(){}function FrameElement(){}function FootageElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.footageData=e.imageLoader.getAsset(this.assetData),this.initBaseData(t,e,r)}function AudioElement(t,e,r){this.initFrame(),this.initRenderable(),this.assetData=e.getAssetData(t.refId),this.initBaseData(t,e,r),this._isPlaying=!1,this._canPlay=!1;var i=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(i),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,t.au&&t.au.lv?t.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(t,e,r){this.data=t,this.element=e,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var i,n,a=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var o,l,c,h,u,d,p=this.masksProperties,f=0,m=[],g=createElementID(),v="clipPath",y="clip-path";for(i=0;i<s;i+=1)if(("a"!==p[i].mode&&"n"!==p[i].mode||p[i].inv||100!==p[i].o.k||p[i].o.x)&&(v="mask",y="mask"),"s"!==p[i].mode&&"i"!==p[i].mode||0!==f?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),m.push(c)),n=createNS("path"),"n"===p[i].mode)this.viewData[i]={op:PropertyFactory.getProp(this.element,p[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[i],3),elem:n,lastPath:""},a.appendChild(n);else{var b;if(f+=1,n.setAttribute("fill","s"===p[i].mode?"#000000":"#ffffff"),n.setAttribute("clip-rule","nonzero"),0!==p[i].x.k?(v="mask",y="mask",d=PropertyFactory.getProp(this.element,p[i].x,0,null,this.element),b=createElementID(),(h=createNS("filter")).setAttribute("id",b),(u=createNS("feMorphology")).setAttribute("operator","erode"),u.setAttribute("in","SourceGraphic"),u.setAttribute("radius","0"),h.appendChild(u),a.appendChild(h),n.setAttribute("stroke","s"===p[i].mode?"#000000":"#ffffff")):(u=null,d=null),this.storedData[i]={elem:n,x:d,expan:u,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===p[i].mode){l=m.length;var _=createNS("g");for(o=0;o<l;o+=1)_.appendChild(m[o]);var E=createNS("mask");E.setAttribute("mask-type","alpha"),E.setAttribute("id",g+"_"+f),E.appendChild(n),a.appendChild(E),_.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+f+")"),m.length=0,m.push(_)}else m.push(n);p[i].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[i]={elem:n,lastPath:"",op:PropertyFactory.getProp(this.element,p[i].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[i],3),invRect:c},this.viewData[i].prop.k||this.drawPath(p[i],this.viewData[i].prop.v,this.viewData[i])}for(this.maskElement=createNS(v),s=m.length,i=0;i<s;i+=1)this.maskElement.appendChild(m[i]);f>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+g+")"),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 i,n=this.data.ef.length,a=this.data.ef;for(r=0;r<n;r+=1){switch(i=null,a[r].ty){case 0:i=new SliderEffect(a[r],e,this);break;case 1:i=new AngleEffect(a[r],e,this);break;case 2:i=new ColorEffect(a[r],e,this);break;case 3:i=new PointEffect(a[r],e,this);break;case 4:case 7:i=new CheckboxEffect(a[r],e,this);break;case 10:i=new LayerIndexEffect(a[r],e,this);break;case 11:i=new MaskIndexEffect(a[r],e,this);break;case 5:i=new EffectsManager(a[r],e,this);break;default:i=new NoValueEffect(a[r],e,this)}i&&this.effectElements.push(i)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var t=0,e=this.data.masksProperties.length;t<e;){if("n"!==this.data.masksProperties[t].mode&&!1!==this.data.masksProperties[t].cl)return!0;t+=1}return!1},initExpressions:function(){var t=getExpressionInterfaces();if(t){var e=t("layer"),r=t("effects"),i=t("shape"),n=t("text"),a=t("comp");this.layerInterface=e(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var s=r.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(s),0===this.data.ty||this.data.xt?this.compInterface=a(this):4===this.data.ty?(this.layerInterface.shapeInterface=i(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=n(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var t=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=t},initBaseData:function(t,e,r){this.globalData=e,this.comp=r,this.data=t,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(t,e){var r,i=this.dynamicProperties.length;for(r=0;r<i;r+=1)(e||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(t){-1===this.dynamicProperties.indexOf(t)&&this.dynamicProperties.push(t)}},FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){var t=getExpressionInterfaces();if(t){var e=t("footage");this.layerInterface=e(this)}},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(t){if(this.prepareRenderableFrame(t,!0),this.prepareProperties(t,!0),this.tm._placeholder)this._currentTime=t/this.data.sr;else{var e=this.tm.v;this._currentTime=e}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(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,i=this.layers.length;for(this.completeLayers=!0,e=i-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:default: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)}},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;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){var e;this.completeLayers=!1;var r,i=t.length,n=this.layers.length;for(e=0;e<i;e+=1)for(r=0;r<n;){if(this.layers[r].id===t[e].id){this.layers[r]=t[e];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(t){this.globalData.projectInterface=t},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(t,e,r){for(var i=this.elements,n=this.layers,a=0,s=n.length;a<s;)n[a].ind==e&&(i[a]&&!0!==i[a]?(r.push(i[a]),i[a].setAsParent(),void 0!==n[a].parent?this.buildElementParenting(t,n[a].parent,r):t.setHierarchy(r)):(this.buildItem(a),this.addPendingElement(t))),a+=1},BaseRenderer.prototype.addPendingElement=function(t){this.pendingElements.push(t)},BaseRenderer.prototype.searchExtraCompositions=function(t){var e,r=t.length;for(e=0;e<r;e+=1)if(t[e].xt){var i=this.createComp(t[e]);i.initExpressions(),this.globalData.projectInterface.registerComposition(i)}},BaseRenderer.prototype.getElementById=function(t){var e,r=this.elements.length;for(e=0;e<r;e+=1)if(this.elements[e].data.ind===t)return this.elements[e];return null},BaseRenderer.prototype.getElementByPath=function(t){var e,r=t.shift();if("number"==typeof r)e=this.elements[r];else{var i,n=this.elements.length;for(i=0;i<n;i+=1)if(this.elements[i].data.nm===r){e=this.elements[i];break}}return 0===t.length?e:e.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(t.chars),this.globalData.fontManager.addFonts(t.fonts,e),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=t.fr,this.globalData.nm=t.nm,this.globalData.compSize={w:t.w,h:t.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var t,e=this.finalTransform.mat,r=0,i=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<i;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(t=this.finalTransform.mProp.v.props,e.cloneFromProps(t),r=0;r<i;r+=1)t=this.hierarchy[r].finalTransform.mProp.v.props,e.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15])}},globalToLocal:function(t){var e=[];e.push(this.finalTransform);for(var r,i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&e.splice(0,0,n.finalTransform),n=n.comp):i=!1;var a,s=e.length;for(r=0;r<s;r+=1)a=e[r].mat.applyToPointArray(0,0,0),t=[t[0]-a[0],t[1]-a[1],0];return t},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e,r=this.element.finalTransform.mat,i=this.masksProperties.length;for(e=0;e<i;e+=1)if((this.viewData[e].prop._mdf||t)&&this.drawPath(this.masksProperties[e],this.viewData[e].prop.v,this.viewData[e]),(this.viewData[e].op._mdf||t)&&this.viewData[e].elem.setAttribute("fill-opacity",this.viewData[e].op.v),"n"!==this.masksProperties[e].mode&&(this.viewData[e].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[e].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[e].x&&(this.storedData[e].x._mdf||t))){var n=this.storedData[e].expan;this.storedData[e].x.v<0?("erode"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="erode",this.storedData[e].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[e].filterId+")")),n.setAttribute("radius",-this.storedData[e].x.v)):("dilate"!==this.storedData[e].lastOperator&&(this.storedData[e].lastOperator="dilate",this.storedData[e].elem.setAttribute("filter",null)),this.storedData[e].elem.setAttribute("stroke-width",2*this.storedData[e].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var t="M0,0 ";return t+=" h"+this.globalData.compSize.w,t+=" v"+this.globalData.compSize.h,t+=" h-"+this.globalData.compSize.w,t+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(t,e,r){var i,n,a=" M"+e.v[0][0]+","+e.v[0][1];for(n=e._length,i=1;i<n;i+=1)a+=" C"+e.o[i-1][0]+","+e.o[i-1][1]+" "+e.i[i][0]+","+e.i[i][1]+" "+e.v[i][0]+","+e.v[i][1];if(e.c&&n>1&&(a+=" C"+e.o[i-1][0]+","+e.o[i-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,i="SourceGraphic",n=t.data.ef?t.data.ef.length:0,a=createElementID(),s=filtersFactory.createFilter(a,!0),o=0;for(this.filters=[],e=0;e<n;e+=1){r=null;var l=t.data.ef[e].ty;registeredEffects[l]&&(r=new(0,registeredEffects[l].effect)(s,t.effectsManager.effectElements[e],t,idPrefix+o,i),i=idPrefix+o,registeredEffects[l].countsAsEffect&&(o+=1)),r&&this.filters.push(r)}o&&(t.globalData.defs.appendChild(s),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+a+")")),this.filters.length&&t.addRenderableComponent(this)}function registerEffect(t,e,r){registeredEffects[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var t=null;if(this.data.td){this.matteMasks={};var e=createNS("g");e.setAttribute("id",this.layerId),e.appendChild(this.layerElement),t=e,this.globalData.defs.appendChild(e)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),t=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var r=createNS("clipPath"),i=createNS("path");i.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var n=createElementID();if(r.setAttribute("id",n),r.appendChild(i),this.globalData.defs.appendChild(r),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),a.appendChild(this.layerElement),this.transformedElement=a,t?t.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},getMatte:function(t){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[t]){var e,r,i,n,a=this.layerId+"_"+t;if(1===t||3===t){var s=createNS("mask");s.setAttribute("id",a),s.setAttribute("mask-type",3===t?"luminance":"alpha"),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),s.appendChild(i),this.globalData.defs.appendChild(s),featureSupport.maskType||1!==t||(s.setAttribute("mask-type","luminance"),e=createElementID(),r=filtersFactory.createFilter(e),this.globalData.defs.appendChild(r),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(n=createNS("g")).appendChild(i),s.appendChild(n),n.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2===t){var o=createNS("mask");o.setAttribute("id",a),o.setAttribute("mask-type","alpha");var l=createNS("g");o.appendChild(l),e=createElementID(),r=filtersFactory.createFilter(e);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),r.appendChild(c);var h=createNS("feFuncA");h.setAttribute("type","table"),h.setAttribute("tableValues","1.0 0.0"),c.appendChild(h),this.globalData.defs.appendChild(r);var u=createNS("rect");u.setAttribute("width",this.comp.data.w),u.setAttribute("height",this.comp.data.h),u.setAttribute("x","0"),u.setAttribute("y","0"),u.setAttribute("fill","#ffffff"),u.setAttribute("opacity","0"),l.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),l.appendChild(u),(i=createNS("use")).setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),l.appendChild(i),featureSupport.maskType||(o.setAttribute("mask-type","luminance"),r.appendChild(filtersFactory.createAlphaToLuminanceFilter()),n=createNS("g"),l.appendChild(u),n.appendChild(this.layerElement),l.appendChild(n)),this.globalData.defs.appendChild(o)}this.matteMasks[t]=a}return this.matteMasks[t]},setMatte:function(t){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+t+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(t){this.hierarchy=t},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(t){var e,r=this.shapeModifiers.length;for(e=0;e<r;e+=1)this.shapeModifiers[e].addShape(t)},isShapeInAnimatedModifiers:function(t){for(var e=this.shapeModifiers.length;0<e;)if(this.shapeModifiers[0].isAnimatedWithShape(t))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var t,e=this.shapes.length;for(t=0;t<e;t+=1)this.shapes[t].sh.reset();for(t=(e=this.shapeModifiers.length)-1;t>=0&&!this.shapeModifiers[t].processShapes(this._isFirstFrame);t-=1);}},searchProcessedElement:function(t){for(var e=this.processedElements,r=0,i=e.length;r<i;){if(e[r].elem===t)return e[r].pos;r+=1}return 0},addProcessedElement:function(t,e){for(var r=this.processedElements,i=r.length;i;)if(r[i-=1].elem===t)return void(r[i].pos=e);r.push(new ProcessedElement(t,e))},prepareFrame:function(t){this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange)}};var lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(t,e,r){this.caches=[],this.styles=[],this.transformers=t,this.lStr="",this.sh=r,this.lvl=e,this._isAnimated=!!r.k;for(var i=0,n=t.length;i<n;){if(t[i].mProps.dynamicProperties.length){this._isAnimated=!0;break}i+=1}}function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=!0===t.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(t,e,r,i){var n;this.elem=t,this.frameId=-1,this.dataProps=createSizedArray(e.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",e.length?e.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(i);var a,s=e.length||0;for(n=0;n<s;n+=1)a=PropertyFactory.getProp(t,e[n].v,0,0,this),this.k=a.k||this.k,this.dataProps[n]={n:e[n].n,p:a};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.c=PropertyFactory.getProp(t,e.c,1,255,this),this.style=r}function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",4*e.p);var i=e.k.k[0].s?e.k.k[0].s.length-4*e.p:e.k.k.length-4*e.p;this.o=createTypedArray("float32",i),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=i,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(t,e.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}function SVGGradientStrokeStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(t,e.w,0,null,this),this.d=new DashProperty(t,e.d||{},"svg",this),this.initGradientData(t,e,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(t,e,r){this.transform={mProps:t,op:e,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(t){if((this.elem.globalData.frameId!==this.frameId||t)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||t,this._mdf)){var e=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),e=0;e<r;e+=1)"o"!==this.dataProps[e].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[e].p.v:this.dashArray[e]=this.dataProps[e].p.v:this.dashoffset[0]=this.dataProps[e].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2;r<i;){if(Math.abs(t[4*r]-t[4*e+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var t=0,e=this.data.k.k.length;t<e;){if(!this.comparePoints(this.data.k.k[t].s,this.data.p))return!1;t+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(t){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||t){var e,r,i,n=4*this.data.p;for(e=0;e<n;e+=1)r=e%4==0?100:255,i=Math.round(this.prop.v[e]*r),this.c[e]!==i&&(this.c[e]=i,this._cmdf=!t);if(this.o.length)for(n=this.prop.v.length,e=4*this.data.p;e<n;e+=1)r=e%2==0?100:1,i=e%2==0?Math.round(100*this.prop.v[e]):this.prop.v[e],this.o[e-4*this.data.p]!==i&&(this.o[e-4*this.data.p]=i,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(t,e,r){this.o=PropertyFactory.getProp(t,e.o,0,.01,this),this.s=PropertyFactory.getProp(t,e.s,1,null,this),this.e=PropertyFactory.getProp(t,e.e,1,null,this),this.h=PropertyFactory.getProp(t,e.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(t,e.a||{k:0},0,degToRads,this),this.g=new GradientProperty(t,e.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,e),this.setGradientOpacity(e,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(t,e){var r=createElementID(),i=createNS(1===e.t?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var n,a,s,o=[];for(s=4*e.g.p,a=0;a<s;a+=4)n=createNS("stop"),i.appendChild(n),o.push(n);t.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=o},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,n,a=createNS("mask"),s=createNS("path");a.appendChild(s);var o=createElementID(),l=createElementID();a.setAttribute("id",l);var c=createNS(1===t.t?"linearGradient":"radialGradient");c.setAttribute("id",o),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),n=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var h=this.stops;for(i=4*t.g.p;i<n;i+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),h.push(r);s.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),"gs"===t.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),1===t.lj&&s.setAttribute("stroke-miterlimit",t.ml)),this.of=c,this.ms=a,this.ost=h,this.maskId=l,e.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);var buildShapeString=function(t,e,r,i){if(0===e)return"";var n,a=t.o,s=t.i,o=t.v,l=" M"+i.applyToPointStringified(o[0][0],o[0][1]);for(n=1;n<e;n+=1)l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(s[n][0],s[n][1])+" "+i.applyToPointStringified(o[n][0],o[n][1]);return r&&e&&(l+=" C"+i.applyToPointStringified(a[n-1][0],a[n-1][1])+" "+i.applyToPointStringified(s[0][0],s[0][1])+" "+i.applyToPointStringified(o[0][0],o[0][1]),l+="z"),l},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix;function r(t,e,r){(r||e.transform.op._mdf)&&e.transform.container.setAttribute("opacity",e.transform.op.v),(r||e.transform.mProps._mdf)&&e.transform.container.setAttribute("transform",e.transform.mProps.v.to2dCSS())}function i(){}function n(r,i,n){var a,s,o,l,c,h,u,d,p,f,m,g=i.styles.length,v=i.lvl;for(h=0;h<g;h+=1){if(l=i.sh._mdf||n,i.styles[h].lvl<v){for(d=e.reset(),f=v-i.styles[h].lvl,m=i.transformers.length-1;!l&&f>0;)l=i.transformers[m].mProps._mdf||l,f-=1,m-=1;if(l)for(f=v-i.styles[h].lvl,m=i.transformers.length-1;f>0;)p=i.transformers[m].mProps.v.props,d.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),f-=1,m-=1}else d=t;if(s=(u=i.sh.paths)._length,l){for(o="",a=0;a<s;a+=1)(c=u.shapes[a])&&c._length&&(o+=buildShapeString(c,c._length,c.c,d));i.caches[h]=o}else o=i.caches[h];i.styles[h].d+=!0===r.hd?"":o,i.styles[h]._mdf=l||i.styles[h]._mdf}}function a(t,e,r){var i=e.style;(e.c._mdf||r)&&i.pElem.setAttribute("fill","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("fill-opacity",e.o.v)}function s(t,e,r){o(t,e,r),l(0,e,r)}function o(t,e,r){var i,n,a,s,o,l=e.gf,c=e.g._hasOpacity,h=e.s.v,u=e.e.v;if(e.o._mdf||r){var d="gf"===t.ty?"fill-opacity":"stroke-opacity";e.style.pElem.setAttribute(d,e.o.v)}if(e.s._mdf||r){var p=1===t.t?"x1":"cx",f="x1"===p?"y1":"cy";l.setAttribute(p,h[0]),l.setAttribute(f,h[1]),c&&!e.g._collapsable&&(e.of.setAttribute(p,h[0]),e.of.setAttribute(f,h[1]))}if(e.g._cmdf||r){i=e.cst;var m=e.g.c;for(a=i.length,n=0;n<a;n+=1)(s=i[n]).setAttribute("offset",m[4*n]+"%"),s.setAttribute("stop-color","rgb("+m[4*n+1]+","+m[4*n+2]+","+m[4*n+3]+")")}if(c&&(e.g._omdf||r)){var g=e.g.o;for(a=(i=e.g._collapsable?e.cst:e.ost).length,n=0;n<a;n+=1)s=i[n],e.g._collapsable||s.setAttribute("offset",g[2*n]+"%"),s.setAttribute("stop-opacity",g[2*n+1])}if(1===t.t)(e.e._mdf||r)&&(l.setAttribute("x2",u[0]),l.setAttribute("y2",u[1]),c&&!e.g._collapsable&&(e.of.setAttribute("x2",u[0]),e.of.setAttribute("y2",u[1])));else if((e.s._mdf||e.e._mdf||r)&&(o=Math.sqrt(Math.pow(h[0]-u[0],2)+Math.pow(h[1]-u[1],2)),l.setAttribute("r",o),c&&!e.g._collapsable&&e.of.setAttribute("r",o)),e.e._mdf||e.h._mdf||e.a._mdf||r){o||(o=Math.sqrt(Math.pow(h[0]-u[0],2)+Math.pow(h[1]-u[1],2)));var v=Math.atan2(u[1]-h[1],u[0]-h[0]),y=e.h.v;y>=1?y=.99:y<=-1&&(y=-.99);var b=o*y,_=Math.cos(v+e.a.v)*b+h[0],E=Math.sin(v+e.a.v)*b+h[1];l.setAttribute("fx",_),l.setAttribute("fy",E),c&&!e.g._collapsable&&(e.of.setAttribute("fx",_),e.of.setAttribute("fy",E))}}function l(t,e,r){var i=e.style,n=e.d;n&&(n._mdf||r)&&n.dashStr&&(i.pElem.setAttribute("stroke-dasharray",n.dashStr),i.pElem.setAttribute("stroke-dashoffset",n.dashoffset[0])),e.c&&(e.c._mdf||r)&&i.pElem.setAttribute("stroke","rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r)&&i.pElem.setAttribute("stroke-opacity",e.o.v),(e.w._mdf||r)&&(i.pElem.setAttribute("stroke-width",e.w.v),i.msElem&&i.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 n;case"tr":return r;case"no":return i;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,i,n,a){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=n,this.p=a,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,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,i,n=this.shapes.length,a=this.stylesList.length,s=[],o=!1;for(r=0;r<a;r+=1){for(i=this.stylesList[r],o=!1,s.length=0,t=0;t<n;t+=1)-1!==(e=this.shapes[t]).styles.indexOf(i)&&(s.push(e),o=e._isAnimated||o);s.length>1&&o&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(t,e){var r,i=new SVGStyleData(t,e),n=i.pElem;return"st"===t.ty?r=new SVGStrokeStyleData(this,t,i):"fl"===t.ty?r=new SVGFillStyleData(this,t,i):"gf"===t.ty||"gs"===t.ty?(r=new("gf"===t.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,t,i),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),n.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))):"no"===t.ty&&(r=new SVGNoStyleData(this,t,i)),"st"!==t.ty&&"gs"!==t.ty||(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),n.setAttribute("fill-opacity","0"),1===t.lj&&n.setAttribute("stroke-miterlimit",t.ml)),2===t.r&&n.setAttribute("fill-rule","evenodd"),t.ln&&n.setAttribute("id",t.ln),t.cl&&n.setAttribute("class",t.cl),t.bm&&(n.style["mix-blend-mode"]=getBlendMode(t.bm)),this.stylesList.push(i),this.addToAnimatedContents(t,r),r},SVGShapeElement.prototype.createGroupElement=function(t){var e=new ShapeGroupData;return t.ln&&e.gr.setAttribute("id",t.ln),t.cl&&e.gr.setAttribute("class",t.cl),t.bm&&(e.gr.style["mix-blend-mode"]=getBlendMode(t.bm)),e},SVGShapeElement.prototype.createTransformElement=function(t,e){var r=TransformPropertyFactory.getTransformProperty(this,t,this),i=new SVGTransformData(r,r.o,e);return this.addToAnimatedContents(t,i),i},SVGShapeElement.prototype.createShapeElement=function(t,e,r){var i=4;"rc"===t.ty?i=5:"el"===t.ty?i=6:"sr"===t.ty&&(i=7);var n=new SVGShapeData(e,r,ShapePropertyFactory.getShapeProp(this,t,i,this));return this.shapes.push(n),this.addShapeToModifiers(n),this.addToAnimatedContents(t,n),n},SVGShapeElement.prototype.addToAnimatedContents=function(t,e){for(var r=0,i=this.animatedContents.length;r<i;){if(this.animatedContents[r].element===e)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(t),element:e,data:t})},SVGShapeElement.prototype.setElementStyles=function(t){var e,r=t.styles,i=this.stylesList.length;for(e=0;e<i;e+=1)this.stylesList[e].closed||r.push(this.stylesList[e])},SVGShapeElement.prototype.reloadShapes=function(){var t;this._isFirstFrame=!0;var e=this.itemsData.length;for(t=0;t<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(t,e,r,i,n,a,s){var o,l,c,h,u,d,p=[].concat(a),f=t.length-1,m=[],g=[];for(o=f;o>=0;o-=1){if((d=this.searchProcessedElement(t[o]))?e[o]=r[d-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)d?e[o].style.closed=!1:e[o]=this.createStyleElement(t[o],n),t[o]._render&&e[o].style.pElem.parentNode!==i&&i.appendChild(e[o].style.pElem),m.push(e[o].style);else if("gr"===t[o].ty){if(d)for(c=e[o].it.length,l=0;l<c;l+=1)e[o].prevViewData[l]=e[o].it[l];else e[o]=this.createGroupElement(t[o]);this.searchShapes(t[o].it,e[o].it,e[o].prevViewData,e[o].gr,n+1,p,s),t[o]._render&&e[o].gr.parentNode!==i&&i.appendChild(e[o].gr)}else"tr"===t[o].ty?(d||(e[o]=this.createTransformElement(t[o],i)),h=e[o].transform,p.push(h)):"sh"===t[o].ty||"rc"===t[o].ty||"el"===t[o].ty||"sr"===t[o].ty?(d||(e[o]=this.createShapeElement(t[o],p,n)),this.setElementStyles(e[o])):"tm"===t[o].ty||"rd"===t[o].ty||"ms"===t[o].ty||"pb"===t[o].ty||"zz"===t[o].ty||"op"===t[o].ty?(d?(u=e[o]).closed=!1:((u=ShapeModifiers.getModifier(t[o].ty)).init(this,t[o]),e[o]=u,this.shapeModifiers.push(u)),g.push(u)):"rp"===t[o].ty&&(d?(u=e[o]).closed=!0:(u=ShapeModifiers.getModifier(t[o].ty),e[o]=u,u.init(this,t,o,e),this.shapeModifiers.push(u),s=!1),g.push(u));this.addProcessedElement(t[o],o+1)}for(f=m.length,o=0;o<f;o+=1)m[o].closed=!0;for(f=g.length,o=0;o<f;o+=1)g[o].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var t;this.renderModifiers();var e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].reset();for(this.renderShape(),t=0;t<e;t+=1)(this.stylesList[t]._mdf||this._isFirstFrame)&&(this.stylesList[t].msElem&&(this.stylesList[t].msElem.setAttribute("d",this.stylesList[t].d),this.stylesList[t].d="M0 0"+this.stylesList[t].d),this.stylesList[t].pElem.setAttribute("d",this.stylesList[t].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var t,e,r=this.animatedContents.length;for(t=0;t<r;t+=1)e=this.animatedContents[t],(this._isFirstFrame||e.element._isAnimated)&&!0!==e.data&&e.fn(e.data,e.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(t,e,r,i,n,a){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,s=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,s=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,s=!0),!a.length||this.p[0]===a[0]&&this.p[1]===a[1]&&this.p[4]===a[4]&&this.p[5]===a[5]&&this.p[12]===a[12]&&this.p[13]===a[13]||(this.p=a,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},TextProperty.prototype.setCurrentData=function(t){t.__complete||this.completeTextData(t),this.currentData=t,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(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 i;this.lock=!0,this._mdf=!1;var n=this.effectsSequence.length,a=t||this.data.d.k[this.keysIndex].s;for(i=0;i<n;i+=1)a=r!==this.keysIndex?this.effectsSequence[i](a,a.t):this.effectsSequence[i](this.currentData,a.t);e!==a&&this.setCurrentData(a),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var t=this.data.d.k,e=this.elem.comp.renderedFrame,r=0,i=t.length;r<=i-1&&!(r===i-1||t[r+1].t>e);)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,i=[],n=0,a=t.length,s=!1;n<a;)e=t.charCodeAt(n),FontManager.isCombinedCharacter(e)?i[i.length-1]+=t.charAt(n):e>=55296&&e<=56319?(r=t.charCodeAt(n+1))>=56320&&r<=57343?(s||FontManager.isModifier(e,r)?(i[i.length-1]+=t.substr(n,2),s=!1):i.push(t.substr(n,2)),n+=1):i.push(t.charAt(n)):e>56319?(r=t.charCodeAt(n+1),FontManager.isZeroWidthJoiner(e,r)?(s=!0,i[i.length-1]+=t.substr(n,2),n+=1):i.push(t.charAt(n))):FontManager.isZeroWidthJoiner(e)?(i[i.length-1]+=t.charAt(n),s=!0):i.push(t.charAt(n)),n+=1;return i},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e,r,i,n,a,s,o,l=this.elem.globalData.fontManager,c=this.data,h=[],u=0,d=c.m.g,p=0,f=0,m=0,g=[],v=0,y=0,b=l.getFontByName(t.f),_=0,E=getFontProperties(b);t.fWeight=E.weight,t.fStyle=E.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),r=t.finalText.length,t.finalLineHeight=t.lh;var S,x=t.tr/1e3*t.finalSize;if(t.sz)for(var w,C,P=!0,A=t.sz[0],T=t.sz[1];P;){w=0,v=0,r=(C=this.buildFinalText(t.t)).length,x=t.tr/1e3*t.finalSize;var k=-1;for(e=0;e<r;e+=1)S=C[e].charCodeAt(0),i=!1," "===C[e]?k=e:13!==S&&3!==S||(v=0,i=!0,w+=t.finalLineHeight||1.2*t.finalSize),l.chars?(o=l.getCharData(C[e],b.fStyle,b.fFamily),_=i?0:o.w*t.finalSize/100):_=l.measureText(C[e],t.f,t.finalSize),v+_>A&&" "!==C[e]?(-1===k?r+=1:e=k,w+=t.finalLineHeight||1.2*t.finalSize,C.splice(e,k===e?1:0,"\r"),k=-1,v=0):(v+=_,v+=x);w+=b.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&T<w?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=C,r=t.finalText.length,P=!1)}v=-x,_=0;var L,D=0;for(e=0;e<r;e+=1)if(i=!1,13===(S=(L=t.finalText[e]).charCodeAt(0))||3===S?(D=0,g.push(v),y=v>y?v:y,v=-2*x,n="",i=!0,m+=1):n=L,l.chars?(o=l.getCharData(L,b.fStyle,l.getFontByName(t.f).fFamily),_=i?0:o.w*t.finalSize/100):_=l.measureText(n,t.f,t.finalSize)," "===L?D+=_+x:(v+=_+x+D,D=0),h.push({l:_,an:_,add:p,n:i,anIndexes:[],val:n,line:m,animatorJustifyOffset:0}),2==d){if(p+=_,""===n||" "===n||e===r-1){for(""!==n&&" "!==n||(p-=_);f<=e;)h[f].an=p,h[f].ind=u,h[f].extra=_,f+=1;u+=1,p=0}}else if(3==d){if(p+=_,""===n||e===r-1){for(""===n&&(p-=_);f<=e;)h[f].an=p,h[f].ind=u,h[f].extra=_,f+=1;p=0,u+=1}}else h[u].ind=u,h[u].extra=0,u+=1;if(t.l=h,y=v>y?v:y,g.push(v),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=y,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=g;var I,M,O,F,R=c.a;s=R.length;var N=[];for(a=0;a<s;a+=1){for((I=R[a]).a.sc&&(t.strokeColorAnim=!0),I.a.sw&&(t.strokeWidthAnim=!0),(I.a.fc||I.a.fh||I.a.fs||I.a.fb)&&(t.fillColorAnim=!0),F=0,O=I.s.b,e=0;e<r;e+=1)(M=h[e]).anIndexes[a]=F,(1==O&&""!==M.val||2==O&&""!==M.val&&" "!==M.val||3==O&&(M.n||" "==M.val||e==r-1)||4==O&&(M.n||e==r-1))&&(1===I.s.rn&&N.push(F),F+=1);c.a[a].s.totalChars=F;var B,V=-1;if(1===I.s.rn)for(e=0;e<r;e+=1)V!=(M=h[e]).anIndexes[a]&&(V=M.anIndexes[a],B=N.splice(Math.floor(Math.random()*N.length),1)[0]),M.anIndexes[a]=B}t.yOffset=t.finalLineHeight||1.2*t.finalSize,t.ls=t.ls||0,t.ascent=b.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=void 0===e?this.keysIndex:e;var r=this.copyData({},this.data.d.k[e].s);r=this.copyData(r,t),this.data.d.k[e].s=r,this.recalculate(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(t){var e=this.data.d.k[t].s;e.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(e)},TextProperty.prototype.canResizeFont=function(t){this.canResize=t,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(t){this.minimumFontSize=Math.floor(t)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};var TextSelectorProp=function(){var t=Math.max,e=Math.min,r=Math.floor;function i(t,e){this._currentTextLength=-1,this.k=!1,this.data=e,this.elem=t,this.comp=t.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(t),this.s=PropertyFactory.getProp(t,e.s||{k:0},0,0,this),this.e="e"in e?PropertyFactory.getProp(t,e.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(t,e.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(t,e.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(t,e.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(t,e.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(t,e.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return i.prototype={getMult:function(i){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var n=0,a=0,s=1,o=1;this.ne.v>0?n=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(n,a,s,o).get,c=0,h=this.finalS,u=this.finalE,d=this.data.sh;if(2===d)c=l(c=u===h?i>=u?1:0:t(0,e(.5/(u-h)+(i-h)/(u-h),1)));else if(3===d)c=l(c=u===h?i>=u?0:1:1-t(0,e(.5/(u-h)+(i-h)/(u-h),1)));else if(4===d)u===h?c=0:(c=t(0,e(.5/(u-h)+(i-h)/(u-h),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===d){if(u===h)c=0;else{var p=u-h,f=-p/2+(i=e(t(0,i+.5-h),u-h)),m=p/2;c=Math.sqrt(1-f*f/(m*m))}c=l(c)}else 6===d?(u===h?c=0:(i=e(t(0,i+.5-h),u-h),c=(1+Math.cos(Math.PI+2*Math.PI*i/(u-h)))/2),c=l(c)):(i>=r(h)&&(c=t(0,e(i-h<0?e(u,1)-(h-i):u-i,1))),c=l(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var v=.5-.5*g;c<v?c=0:(c=(c-v)/g)>1&&(c=1)}return c*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,i=this.s.v/e+r,n=this.e.v/e+r;if(i>n){var a=i;i=n,n=a}this.finalS=i,this.finalE=n}},extendPrototype([DynamicPropertyContainer],i),{getTextSelectorProp:function(t,e,r){return new i(t,e,r)}}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},n=PropertyFactory.getProp,a=e.a;this.a={r:a.r?n(t,a.r,0,degToRads,r):i,rx:a.rx?n(t,a.rx,0,degToRads,r):i,ry:a.ry?n(t,a.ry,0,degToRads,r):i,sk:a.sk?n(t,a.sk,0,degToRads,r):i,sa:a.sa?n(t,a.sa,0,degToRads,r):i,s:a.s?n(t,a.s,1,.01,r):i,a:a.a?n(t,a.a,1,0,r):i,o:a.o?n(t,a.o,0,.01,r):i,p:a.p?n(t,a.p,1,0,r):i,sw:a.sw?n(t,a.sw,0,0,r):i,sc:a.sc?n(t,a.sc,1,0,r):i,fc:a.fc?n(t,a.fc,1,0,r):i,fh:a.fh?n(t,a.fh,0,0,r):i,fs:a.fs?n(t,a.fs,0,.01,r):i,fb:a.fb?n(t,a.fb,0,.01,r):i,t:a.t?n(t,a.t,0,0,r):i},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,i=PropertyFactory.getProp;for(t=0;t<r;t+=1)e=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,e,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:i(this._elem,this._textData.p.a,0,0,this),f:i(this._elem,this._textData.p.f,0,0,this),l:i(this._elem,this._textData.p.l,0,0,this),r:i(this._elem,this._textData.p.r,0,0,this),p:i(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=i(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(t,e){if(this.lettersChangedFlag=e,this._mdf||this._isFirstFrame||e||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,i,n,a,s,o,l,c,h,u,d,p,f,m,g,v,y,b,_,E=this._moreOptions.alignment.v,S=this._animatorsData,x=this._textData,w=this.mHelper,C=this._renderType,P=this.renderedLetters.length,A=t.l;if(this._hasMaskedPath){if(_=this._pathData.m,!this._pathData.n||this._pathData._mdf){var T,k=_.v;for(this._pathData.r.v&&(k=k.reverse()),s={tLength:0,segments:[]},a=k._length-1,v=0,n=0;n<a;n+=1)T=bez.buildBezierData(k.v[n],k.v[n+1],[k.o[n][0]-k.v[n][0],k.o[n][1]-k.v[n][1]],[k.i[n+1][0]-k.v[n+1][0],k.i[n+1][1]-k.v[n+1][1]]),s.tLength+=T.segmentLength,s.segments.push(T),v+=T.segmentLength;n=a,_.v.c&&(T=bez.buildBezierData(k.v[n],k.v[0],[k.o[n][0]-k.v[n][0],k.o[n][1]-k.v[n][1]],[k.i[0][0]-k.v[0][0],k.i[0][1]-k.v[0][1]]),s.tLength+=T.segmentLength,s.segments.push(T),v+=T.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,o=this._pathData.f.v,d=0,u=1,c=0,h=!0,m=s.segments,o<0&&_.v.c)for(s.tLength<Math.abs(o)&&(o=-Math.abs(o)%s.tLength),u=(f=m[d=m.length-1].points).length-1;o<0;)o+=f[u].partialLength,(u-=1)<0&&(u=(f=m[d-=1].points).length-1);p=(f=m[d].points)[u-1],g=(l=f[u]).partialLength}a=A.length,r=0,i=0;var L,D,I,M,O,F=1.2*t.finalSize*.714,R=!0;I=S.length;var N,B,V,q,z,j,G,H,W,$,U,Y,X=-1,K=o,Z=d,J=u,Q=-1,tt="",et=this.defaultPropsArray;if(2===t.j||1===t.j){var rt=0,it=0,nt=2===t.j?-.5:-1,at=0,st=!0;for(n=0;n<a;n+=1)if(A[n].n){for(rt&&(rt+=it);at<n;)A[at].animatorJustifyOffset=rt,at+=1;rt=0,st=!0}else{for(D=0;D<I;D+=1)(L=S[D].a).t.propType&&(st&&2===t.j&&(it+=L.t.v*nt),(O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?rt+=L.t.v*O[0]*nt:rt+=L.t.v*O*nt);st=!1}for(rt&&(rt+=it);at<n;)A[at].animatorJustifyOffset=rt,at+=1}for(n=0;n<a;n+=1){if(w.reset(),q=1,A[n].n)r=0,i+=t.yOffset,i+=R?1:0,o=K,R=!1,this._hasMaskedPath&&(u=J,p=(f=m[d=Z].points)[u-1],g=(l=f[u]).partialLength,c=0),tt="",U="",W="",Y="",et=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Q!==A[n].line){switch(t.j){case 1:o+=v-t.lineWidths[A[n].line];break;case 2:o+=(v-t.lineWidths[A[n].line])/2}Q=A[n].line}X!==A[n].ind&&(A[X]&&(o+=A[X].extra),o+=A[n].an/2,X=A[n].ind),o+=E[0]*A[n].an*.005;var ot=0;for(D=0;D<I;D+=1)(L=S[D].a).p.propType&&((O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?ot+=L.p.v[0]*O[0]:ot+=L.p.v[0]*O),L.a.propType&&((O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?ot+=L.a.v[0]*O[0]:ot+=L.a.v[0]*O);for(h=!0,this._pathData.a.v&&(o=.5*A[0].an+(v-this._pathData.f.v-.5*A[0].an-.5*A[A.length-1].an)*X/(a-1),o+=this._pathData.f.v);h;)c+g>=o+ot||!f?(y=(o+ot-c)/l.partialLength,B=p.point[0]+(l.point[0]-p.point[0])*y,V=p.point[1]+(l.point[1]-p.point[1])*y,w.translate(-E[0]*A[n].an*.005,-E[1]*F*.01),h=!1):f&&(c+=l.partialLength,(u+=1)>=f.length&&(u=0,m[d+=1]?f=m[d].points:_.v.c?(u=0,f=m[d=0].points):(c-=l.partialLength,f=null)),f&&(p=l,g=(l=f[u]).partialLength));N=A[n].an/2-A[n].add,w.translate(-N,0,0)}else N=A[n].an/2-A[n].add,w.translate(-N,0,0),w.translate(-E[0]*A[n].an*.005,-E[1]*F*.01,0);for(D=0;D<I;D+=1)(L=S[D].a).t.propType&&(O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars),0===r&&0===t.j||(this._hasMaskedPath?O.length?o+=L.t.v*O[0]:o+=L.t.v*O:O.length?r+=L.t.v*O[0]:r+=L.t.v*O));for(t.strokeWidthAnim&&(j=t.sw||0),t.strokeColorAnim&&(z=t.sc?[t.sc[0],t.sc[1],t.sc[2]]:[0,0,0]),t.fillColorAnim&&t.fc&&(G=[t.fc[0],t.fc[1],t.fc[2]]),D=0;D<I;D+=1)(L=S[D].a).a.propType&&((O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?w.translate(-L.a.v[0]*O[0],-L.a.v[1]*O[1],L.a.v[2]*O[2]):w.translate(-L.a.v[0]*O,-L.a.v[1]*O,L.a.v[2]*O));for(D=0;D<I;D+=1)(L=S[D].a).s.propType&&((O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars)).length?w.scale(1+(L.s.v[0]-1)*O[0],1+(L.s.v[1]-1)*O[1],1):w.scale(1+(L.s.v[0]-1)*O,1+(L.s.v[1]-1)*O,1));for(D=0;D<I;D+=1){if(L=S[D].a,O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars),L.sk.propType&&(O.length?w.skewFromAxis(-L.sk.v*O[0],L.sa.v*O[1]):w.skewFromAxis(-L.sk.v*O,L.sa.v*O)),L.r.propType&&(O.length?w.rotateZ(-L.r.v*O[2]):w.rotateZ(-L.r.v*O)),L.ry.propType&&(O.length?w.rotateY(L.ry.v*O[1]):w.rotateY(L.ry.v*O)),L.rx.propType&&(O.length?w.rotateX(L.rx.v*O[0]):w.rotateX(L.rx.v*O)),L.o.propType&&(O.length?q+=(L.o.v*O[0]-q)*O[0]:q+=(L.o.v*O-q)*O),t.strokeWidthAnim&&L.sw.propType&&(O.length?j+=L.sw.v*O[0]:j+=L.sw.v*O),t.strokeColorAnim&&L.sc.propType)for(H=0;H<3;H+=1)O.length?z[H]+=(L.sc.v[H]-z[H])*O[0]:z[H]+=(L.sc.v[H]-z[H])*O;if(t.fillColorAnim&&t.fc){if(L.fc.propType)for(H=0;H<3;H+=1)O.length?G[H]+=(L.fc.v[H]-G[H])*O[0]:G[H]+=(L.fc.v[H]-G[H])*O;L.fh.propType&&(G=O.length?addHueToRGB(G,L.fh.v*O[0]):addHueToRGB(G,L.fh.v*O)),L.fs.propType&&(G=O.length?addSaturationToRGB(G,L.fs.v*O[0]):addSaturationToRGB(G,L.fs.v*O)),L.fb.propType&&(G=O.length?addBrightnessToRGB(G,L.fb.v*O[0]):addBrightnessToRGB(G,L.fb.v*O))}}for(D=0;D<I;D+=1)(L=S[D].a).p.propType&&(O=S[D].s.getMult(A[n].anIndexes[D],x.a[D].s.totalChars),this._hasMaskedPath?O.length?w.translate(0,L.p.v[1]*O[0],-L.p.v[2]*O[1]):w.translate(0,L.p.v[1]*O,-L.p.v[2]*O):O.length?w.translate(L.p.v[0]*O[0],L.p.v[1]*O[1],-L.p.v[2]*O[2]):w.translate(L.p.v[0]*O,L.p.v[1]*O,-L.p.v[2]*O));if(t.strokeWidthAnim&&(W=j<0?0:j),t.strokeColorAnim&&($="rgb("+Math.round(255*z[0])+","+Math.round(255*z[1])+","+Math.round(255*z[2])+")"),t.fillColorAnim&&t.fc&&(U="rgb("+Math.round(255*G[0])+","+Math.round(255*G[1])+","+Math.round(255*G[2])+")"),this._hasMaskedPath){if(w.translate(0,-t.ls),w.translate(0,E[1]*F*.01+i,0),this._pathData.p.v){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var lt=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(lt+=180),w.rotate(-lt*Math.PI/180)}w.translate(B,V,0),o-=E[0]*A[n].an*.005,A[n+1]&&X!==A[n+1].ind&&(o+=A[n].an/2,o+=.001*t.tr*t.finalSize)}else{switch(w.translate(r,i,0),t.ps&&w.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:w.translate(A[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[n].line]),0,0);break;case 2:w.translate(A[n].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[A[n].line])/2,0,0)}w.translate(0,-t.ls),w.translate(N,0,0),w.translate(E[0]*A[n].an*.005,E[1]*F*.01,0),r+=A[n].l+.001*t.tr*t.finalSize}"html"===C?tt=w.toCSS():"svg"===C?tt=w.to2dCSS():et=[w.props[0],w.props[1],w.props[2],w.props[3],w.props[4],w.props[5],w.props[6],w.props[7],w.props[8],w.props[9],w.props[10],w.props[11],w.props[12],w.props[13],w.props[14],w.props[15]],Y=q}P<=n?(M=new LetterProps(Y,W,$,U,tt,et),this.renderedLetters.push(M),P+=1,this.lettersChangedFlag=!0):(M=this.renderedLetters[n],this.lettersChangedFlag=M.update(Y,W,$,U,tt,et)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(t,e,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(t,e,r),this.textProperty=new TextProperty(this,t.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(t.t,this.renderType,this),this.initTransform(t,e,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(t){this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(t,e){var r,i,n=e.length,a="";for(r=0;r<n;r+=1)"sh"===e[r].ty&&(i=e[r].ks.k,a+=buildShapeString(i,i.i.length,!0,t));return a},ITextElement.prototype.updateDocumentData=function(t,e){this.textProperty.updateDocumentData(t,e)},ITextElement.prototype.canResizeFont=function(t){this.textProperty.canResizeFont(t)},ITextElement.prototype.setMinimumFontSize=function(t){this.textProperty.setMinimumFontSize(t)},ITextElement.prototype.applyTextPropertiesToMatrix=function(t,e,r,i,n){switch(t.ps&&e.translate(t.ps[0],t.ps[1]+t.ascent,0),e.translate(0,-t.ls,0),t.j){case 1:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r]),0,0);break;case 2:e.translate(t.justifyOffset+(t.boxWidth-t.lineWidths[r])/2,0,0)}e.translate(i,n,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(255*t[0])+","+Math.round(255*t[1])+","+Math.round(255*t[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}function ISolidElement(t,e,r){this.initElement(t,e,r)}function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(t,e,r){this.layers=t.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function SVGRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(e&&e.title){var i=createNS("title"),n=createElementID();i.setAttribute("id",n),i.textContent=e.title,this.svgElement.appendChild(i),r+=n}if(e&&e.description){var a=createNS("desc"),s=createElementID();a.setAttribute("id",s),a.textContent=e.description,this.svgElement.appendChild(a),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var o=createNS("defs");this.svgElement.appendChild(o);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",progressiveLoad:e&&e.progressiveLoad||!1,hideOnTransparent:!(e&&!1===e.hideOnTransparent),viewBoxOnly:e&&e.viewBoxOnly||!1,viewBoxSize:e&&e.viewBoxSize||!1,className:e&&e.className||"",id:e&&e.id||"",focusable:e&&e.focusable,filterSize:{width:e&&e.filterSize&&e.filterSize.width||"100%",height:e&&e.filterSize&&e.filterSize.height||"100%",x:e&&e.filterSize&&e.filterSize.x||"0%",y:e&&e.filterSize&&e.filterSize.y||"0%"},width:e&&e.width,height:e&&e.height,runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var t;for(this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1,this.savedOp=createTypedArray("float32",15),t=0;t<15;t+=1)this.saved[t]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(t){for(var e=0,r=t.length,i=[],n="";e<r;)t[e]===String.fromCharCode(13)||t[e]===String.fromCharCode(3)?(i.push(n),n=""):n+=t[e],e+=1;return i.push(n),i},SVGTextLottieElement.prototype.buildShapeData=function(t,e){if(t.shapes&&t.shapes.length){var r=t.shapes[0];if(r.it){var i=r.it[r.it.length-1];i.s&&(i.s.k[0]=e,i.s.k[1]=e)}}return t},SVGTextLottieElement.prototype.buildNewText=function(){var t,e;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var i=this.globalData.fontManager.getFontByName(r.f);if(i.fClass)this.layerElement.setAttribute("class",i.fClass);else{this.layerElement.setAttribute("font-family",i.fFamily);var n=r.fWeight,a=r.fStyle;this.layerElement.setAttribute("font-style",a),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var s,o=r.l||[],l=!!this.globalData.fontManager.chars;e=o.length;var c=this.mHelper,h=this.data.singleShape,u=0,d=0,p=!0,f=.001*r.tr*r.finalSize;if(!h||l||r.sz){var m,g=this.textSpans.length;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!l||!h||0===t){if(s=g>t?this.textSpans[t].span:createNS(l?"g":"text"),g<=t){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=s,l){var v=createNS("g");s.appendChild(v),this.textSpans[t].childSpan=v}this.textSpans[t].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(c.reset(),h&&(o[t].n&&(u=-f,d+=r.yOffset,d+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(r,c,o[t].line,u,d),u+=o[t].l||0,u+=f),l){var y;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)y=new SVGCompElement(m.data,this.globalData,this);else{var b=emptyShapeData;m.data&&m.data.shapes&&(b=this.buildShapeData(m.data,r.finalSize)),y=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=y,y._debug=!0,y.prepareFrame(0),y.renderFrame(),this.textSpans[t].childSpan.appendChild(y.layerElement),1===m.t&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else h&&s.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),s.textContent=o[t].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}h&&s&&s.setAttribute("d","")}else{var E=this.textContainer,S="start";switch(r.j){case 1:S="end";break;case 2:S="middle";break;default:S="start"}E.setAttribute("text-anchor",S),E.setAttribute("letter-spacing",f);var x=this.buildTextContents(r.finalText);for(e=x.length,d=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)(s=this.textSpans[t].span||createNS("tspan")).textContent=x[t],s.setAttribute("x",0),s.setAttribute("y",d),s.style.display="inherit",E.appendChild(s),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=s,d+=r.finalLineHeight;this.layerElement.appendChild(E)}for(;t<this.textSpans.length;)this.textSpans[t].span.style.display="none",t+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var t=this.layerElement.getBBox();this.bbox={top:t.y,left:t.x,width:t.width,height:t.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var t,e,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<r;t+=1)(e=this.textSpans[t].glyph)&&(e.prepareFrame(this.comp.renderedFrame-this.data.st),e._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var t,e;this._sizeChanged=!0;var r,i,n,a=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(e=s.length,t=0;t<e;t+=1)s[t].n||(r=a[t],i=this.textSpans[t].span,(n=this.textSpans[t].glyph)&&n.renderFrame(),r._mdf.m&&i.setAttribute("transform",r.m),r._mdf.o&&i.setAttribute("opacity",r.o),r._mdf.sw&&i.setAttribute("stroke-width",r.sw),r._mdf.sc&&i.setAttribute("stroke",r.sc),r._mdf.fc&&i.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var t=createNS("rect");t.setAttribute("width",this.data.sw),t.setAttribute("height",this.data.sh),t.setAttribute("fill",this.data.sc),this.layerElement.appendChild(t)},NullElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(t){return new NullElement(t,this.globalData,this)},SVGRendererBase.prototype.createShape=function(t){return new SVGShapeElement(t,this.globalData,this)},SVGRendererBase.prototype.createText=function(t){return new SVGTextLottieElement(t,this.globalData,this)},SVGRendererBase.prototype.createImage=function(t){return new IImageElement(t,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(t){return new ISolidElement(t,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(t){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.svgElement.setAttribute("xmlns:xlink","http://www.w3.org/1999/xlink"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+t.w+" "+t.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",t.w),this.svgElement.setAttribute("height",t.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var e=this.globalData.defs;this.setupGlobalData(t,e),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=t;var r=createNS("clipPath"),i=createNS("rect");i.setAttribute("width",t.w),i.setAttribute("height",t.h),i.setAttribute("x",0),i.setAttribute("y",0);var n=createElementID();r.setAttribute("id",n),r.appendChild(i),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+n+")"),e.appendChild(r),this.layers=t.layers,this.elements=createSizedArray(t.layers.length)},SVGRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.findIndexByInd=function(t){var e=0,r=this.layers.length;for(e=0;e<r;e+=1)if(this.layers[e].ind===t)return e;return-1},SVGRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!e[t]&&99!==this.layers[t].ty){e[t]=!0;var r=this.createItem(this.layers[t]);if(e[t]=r,getExpressionsPlugin()&&(0===this.layers[t].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,t),this.layers[t].tt){var i="tp"in this.layers[t]?this.findIndexByInd(this.layers[t].tp):t-1;if(-1===i)return;if(this.elements[i]&&!0!==this.elements[i]){var n=e[i].getMatte(this.layers[t].tt);r.setMatte(n)}else this.buildItem(i),this.addPendingElement(r)}}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();if(t.checkParenting(),t.data.tt)for(var e=0,r=this.elements.length;e<r;){if(this.elements[e]===t){var i="tp"in t.data?this.findIndexByInd(t.data.tp):e-1,n=this.elements[i].getMatte(this.layers[e].tt);t.setMatte(n);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(this.renderedFrame!==t&&!this.destroyed){var e;null===t?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(t),e=r-1;e>=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<r;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){for(var i,n=0;n<e;)this.elements[n]&&!0!==this.elements[n]&&this.elements[n].getBaseElement()&&(i=this.elements[n].getBaseElement()),n+=1;i?this.layerElement.insertBefore(r,i):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initTransform(t,e,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&e.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(t){if(this._mdf=!1,this.prepareRenderableFrame(t),this.prepareProperties(t,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=t/this.data.sr;else{var e=this.tm.v;e===this.data.op&&(e=this.data.op-1),this.renderedFrame=e}var r,i=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()},ICompElement.prototype.setElements=function(t){this.elements=t},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)},CVContextData.prototype.duplicate=function(){var t=2*this._length,e=this.savedOp;this.savedOp=createTypedArray("float32",t),this.savedOp.set(e);var r=0;for(r=this._length;r<t;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},CVContextData.prototype.popTransform=function(){var t,e=this.saved[this.cArrPos],r=this.cTr.props;for(t=0;t<16;t+=1)r[t]=e[t];return e},CVContextData.prototype.popOpacity=function(){var t=this.savedOp[this.cArrPos];return this.cO=t,t},CVContextData.prototype.pop=function(){return this.cArrPos-=1,{transform:this.popTransform(),opacity:this.popOpacity()}},CVContextData.prototype.push=function(){var t,e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.saved[this.cArrPos];for(t=0;t<16;t+=1)r[t]=e[t];this.savedOp[this.cArrPos]=this.cO,this.cArrPos+=1},CVContextData.prototype.getTransform=function(){return this.cTr},CVContextData.prototype.getOpacity=function(){return this.cO},CVContextData.prototype.setOpacity=function(t){this.cO=t},ShapeTransformManager.prototype={addTransformSequence:function(t){var e,r=t.length,i="_";for(e=0;e<r;e+=1)i+=t[e].transform.key+"_";var n=this.sequences[i];return n||(n={transforms:[].concat(t),finalTransform:new Matrix,_mdf:!1},this.sequences[i]=n,this.sequenceList.push(n)),n},processSequence:function(t,e){for(var r,i=0,n=t.transforms.length,a=e;i<n&&!e;){if(t.transforms[i].transform.mProps._mdf){a=!0;break}i+=1}if(a)for(t.finalTransform.reset(),i=n-1;i>=0;i-=1)r=t.transforms[i].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<r;e+=1)this.processSequence(this.sequenceList[e],t)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var t="__lottie_element_luma_buffer",e=null,r=null,i=null;function n(){var n,a,s;e||(n=createNS("svg"),a=createNS("filter"),s=createNS("feColorMatrix"),a.setAttribute("id",t),s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"),a.appendChild(s),n.appendChild(a),n.setAttribute("id",t+"_svg"),featureSupport.svgLumaHidden&&(n.style.display="none"),i=n,document.body.appendChild(i),e=createTag("canvas"),(r=e.getContext("2d")).filter="url(#"+t+")",r.fillStyle="rgba(0,0,0,0)",r.fillRect(0,0,1,1))}return{load:n,get:function(i){return e||n(),e.width=i.width,e.height=i.height,r.filter="url(#"+t+")",e}}};function createCanvas(t,e){if(featureSupport.offscreenCanvas)return new OffscreenCanvas(t,e);var r=createTag("canvas");return r.width=t,r.height=e,r}var assetLoader={loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas:createCanvas};function CVEffects(){}function CVMaskElement(t,e){var r;this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var i=this.masksProperties.length,n=!1;for(r=0;r<i;r+=1)"n"!==this.masksProperties[r].mode&&(n=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}function CVBaseElement(){}CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t,e,r,i,n=this.element.finalTransform.mat,a=this.element.canvasContext,s=this.masksProperties.length;for(a.beginPath(),t=0;t<s;t+=1)if("n"!==this.masksProperties[t].mode){var o;this.masksProperties[t].inv&&(a.moveTo(0,0),a.lineTo(this.element.globalData.compSize.w,0),a.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),a.lineTo(0,this.element.globalData.compSize.h),a.lineTo(0,0)),i=this.viewData[t].v,e=n.applyToPointArray(i.v[0][0],i.v[0][1],0),a.moveTo(e[0],e[1]);var l=i._length;for(o=1;o<l;o+=1)r=n.applyToTriplePoints(i.o[o-1],i.i[o],i.v[o]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=n.applyToTriplePoints(i.o[o-1],i.i[0],i.v[0]),a.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),a.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n,a=4;"rc"===e.ty?a=5:"el"===e.ty?a=6:"sr"===e.ty&&(a=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,a,t);var s,o=r.length;for(n=0;n<o;n+=1)r[n].closed||(s={transforms:i.addTransformSequence(r[n].transforms),trNodes:[]},this.styledShapes.push(s),r[n].elements.push(s))}function CVShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(t,e,r)}function CVTextElement(t,e,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(t,e,r)}function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}function CVSolidElement(t,e,r){this.initElement(t,e,r)}function CanvasRendererBase(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||""},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(t,e,r){this.completeLayers=!1,this.layers=t.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:!e||void 0===e.clearCanvas||e.clearCanvas,context:e&&e.context||null,progressiveLoad:e&&e.progressiveLoad||!1,preserveAspectRatio:e&&e.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:e&&e.contentVisibility||"visible",className:e&&e.className||"",id:e&&e.id||"",runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.renderConfig.dpr=e&&e.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=e&&e.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function HBaseElement(){}function HSolidElement(t,e,r){this.initElement(t,e,r)}function HShapeElement(t,e,r){this.shapes=[],this.shapesData=t.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.shapesContainer=createNS("g"),this.initElement(t,e,r),this.prevViewData=[],this.currentBBox={x:999999,y:-999999,h:0,w:0}}function HTextElement(t,e,r){this.textSpans=[],this.textPaths=[],this.currentBBox={x:999999,y:-999999,h:0,w:0},this.renderType="svg",this.isMasked=!1,this.initElement(t,e,r)}function HCameraElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initHierarchy();var i=PropertyFactory.getProp;if(this.pe=i(this,t.pe,0,0,this),t.ks.p.s?(this.px=i(this,t.ks.p.x,1,0,this),this.py=i(this,t.ks.p.y,1,0,this),this.pz=i(this,t.ks.p.z,1,0,this)):this.p=i(this,t.ks.p,1,0,this),t.ks.a&&(this.a=i(this,t.ks.a,1,0,this)),t.ks.or.k.length&&t.ks.or.k[0].to){var n,a=t.ks.or.k.length;for(n=0;n<a;n+=1)t.ks.or.k[n].to=null,t.ks.or.k[n].ti=null}this.or=i(this,t.ks.or,1,degToRads,this),this.or.sh=!0,this.rx=i(this,t.ks.rx,0,degToRads,this),this.ry=i(this,t.ks.ry,0,degToRads,this),this.rz=i(this,t.ks.rz,0,degToRads,this),this.mat=new Matrix,this._prevMat=new Matrix,this._isFirstFrame=!0,this.finalTransform={mProp:this}}function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}function HybridRendererBase(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"}},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}function HCompElement(t,e,r){this.layers=t.layers,this.supports3d=!t.hasMask,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(t,e,r),this.tm=t.tm?PropertyFactory.getProp(this,t.tm,0,e.frameRate,this):{_placeholder:!0}}function HybridRenderer(t,e){this.animationItem=t,this.layers=null,this.renderedFrame=-1,this.renderConfig={className:e&&e.className||"",imagePreserveAspectRatio:e&&e.imagePreserveAspectRatio||"xMidYMid slice",hideOnTransparent:!(e&&!1===e.hideOnTransparent),filterSize:{width:e&&e.filterSize&&e.filterSize.width||"400%",height:e&&e.filterSize&&e.filterSize.height||"400%",x:e&&e.filterSize&&e.filterSize.x||"-100%",y:e&&e.filterSize&&e.filterSize.y||"-100%"},runExpressions:!e||void 0===e.runExpressions||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,renderConfig:this.renderConfig},this.pendingElements=[],this.elements=[],this.threeDElements=[],this.destroyed=!1,this.camera=null,this.supports3d=!0,this.rendererType="html"}CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=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},i={};if("fl"===t.ty||"st"===t.ty?(i.c=PropertyFactory.getProp(this,t.c,1,255,this),i.c.k||(r.co="rgb("+bmFloor(i.c.v[0])+","+bmFloor(i.c.v[1])+","+bmFloor(i.c.v[2])+")")):"gf"!==t.ty&&"gs"!==t.ty||(i.s=PropertyFactory.getProp(this,t.s,1,null,this),i.e=PropertyFactory.getProp(this,t.e,1,null,this),i.h=PropertyFactory.getProp(this,t.h||{k:0},0,.01,this),i.a=PropertyFactory.getProp(this,t.a||{k:0},0,degToRads,this),i.g=new GradientProperty(this,t.g,this)),i.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),i.w=PropertyFactory.getProp(this,t.w,0,null,this),i.w.k||(r.wi=i.w.v),t.d){var n=new DashProperty(this,t.d,"canvas",this);i.d=n,i.d.k||(r.da=i.d.dashArray,r.do=i.d.dashoffset[0])}}else r.r=2===t.r?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},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<e;t+=1)this.prevViewData[t]=this.itemsData[t];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),e=this.dynamicProperties.length,t=0;t<e;t+=1)this.dynamicProperties[t].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(t){var e,r=this.stylesList.length;for(e=0;e<r;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.push(t)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var t,e=this.stylesList.length;for(t=0;t<e;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.pop()},CVShapeElement.prototype.closeStyles=function(t){var e,r=t.length;for(e=0;e<r;e+=1)t[e].closed=!0},CVShapeElement.prototype.searchShapes=function(t,e,r,i,n){var a,s,o,l,c,h,u=t.length-1,d=[],p=[],f=[].concat(n);for(a=u;a>=0;a-=1){if((l=this.searchProcessedElement(t[a]))?e[a]=r[l-1]:t[a]._shouldRender=i,"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],f),d.push(e[a].style);else if("gr"===t[a].ty){if(l)for(o=e[a].it.length,s=0;s<o;s+=1)e[a].prevViewData[s]=e[a].it[s];else e[a]=this.createGroupElement(t[a]);this.searchShapes(t[a].it,e[a].it,e[a].prevViewData,i,f)}else"tr"===t[a].ty?(l||(h=this.createTransformElement(t[a]),e[a]=h),f.push(e[a]),this.addTransformToStyleList(e[a])):"sh"===t[a].ty||"rc"===t[a].ty||"el"===t[a].ty||"sr"===t[a].ty?l||(e[a]=this.createShapeElement(t[a])):"tm"===t[a].ty||"rd"===t[a].ty||"pb"===t[a].ty||"zz"===t[a].ty||"op"===t[a].ty?(l?(c=e[a]).closed=!1:((c=ShapeModifiers.getModifier(t[a].ty)).init(this,t[a]),e[a]=c,this.shapeModifiers.push(c)),p.push(c)):"rp"===t[a].ty&&(l?(c=e[a]).closed=!0:(c=ShapeModifiers.getModifier(t[a].ty),e[a]=c,c.init(this,t,a,e),this.shapeModifiers.push(c),i=!1),p.push(c));this.addProcessedElement(t[a],a+1)}for(this.removeTransformFromStyleList(),this.closeStyles(d),u=p.length,a=0;a<u;a+=1)p[a].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(t,e){(t._opMdf||e.op._mdf||this._isFirstFrame)&&(e.opacity=t.opacity,e.opacity*=e.op.v,e._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var t,e,r,i,n,a,s,o,l,c=this.stylesList.length,h=this.globalData.renderer,u=this.globalData.canvasContext;for(t=0;t<c;t+=1)if(("st"!==(o=(l=this.stylesList[t]).type)&&"gs"!==o||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(h.save(),a=l.elements,"st"===o||"gs"===o?(u.strokeStyle="st"===o?l.co:l.grd,u.lineWidth=l.wi,u.lineCap=l.lc,u.lineJoin=l.lj,u.miterLimit=l.ml||0):u.fillStyle="fl"===o?l.co:l.grd,h.ctxOpacity(l.coOp),"st"!==o&&"gs"!==o&&u.beginPath(),h.ctxTransform(l.preTransforms.finalTransform.props),r=a.length,e=0;e<r;e+=1){for("st"!==o&&"gs"!==o||(u.beginPath(),l.da&&(u.setLineDash(l.da),u.lineDashOffset=l.do)),n=(s=a[e].trNodes).length,i=0;i<n;i+=1)"m"===s[i].t?u.moveTo(s[i].p[0],s[i].p[1]):"c"===s[i].t?u.bezierCurveTo(s[i].pts[0],s[i].pts[1],s[i].pts[2],s[i].pts[3],s[i].pts[4],s[i].pts[5]):u.closePath();"st"!==o&&"gs"!==o||(u.stroke(),l.da&&u.setLineDash(this.dashResetter))}"st"!==o&&"gs"!==o&&u.fill(l.r),h.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var n,a;for(a=t,n=e.length-1;n>=0;n-=1)"tr"===e[n].ty?(a=r[n].transform,this.renderShapeTransform(t,a)):"sh"===e[n].ty||"el"===e[n].ty||"rc"===e[n].ty||"sr"===e[n].ty?this.renderPath(e[n],r[n]):"fl"===e[n].ty?this.renderFill(e[n],r[n],a):"st"===e[n].ty?this.renderStroke(e[n],r[n],a):"gf"===e[n].ty||"gs"===e[n].ty?this.renderGradientFill(e[n],r[n],a):"gr"===e[n].ty?this.renderShape(a,e[n].it,r[n].it):e[n].ty;i&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(t,e){if(this._isFirstFrame||e._mdf||t.transforms._mdf){var r,i,n,a=t.trNodes,s=e.paths,o=s._length;a.length=0;var l=t.transforms.finalTransform;for(n=0;n<o;n+=1){var c=s.shapes[n];if(c&&c.v){for(i=c._length,r=1;r<i;r+=1)1===r&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===i&&a.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&i&&(a.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),a.push({t:"z"}))}}t.trNodes=a}},CVShapeElement.prototype.renderPath=function(t,e){if(!0!==t.hd&&t._shouldRender){var r,i=e.styledShapes.length;for(r=0;r<i;r+=1)this.renderStyledShape(e.styledShapes[r],e.sh)}},CVShapeElement.prototype.renderFill=function(t,e,r){var i=e.style;(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(t,e,r){var i,n=e.style;if(!n.grd||e.g._mdf||e.s._mdf||e.e._mdf||1!==t.t&&(e.h._mdf||e.a._mdf)){var a,s=this.globalData.canvasContext,o=e.s.v,l=e.e.v;if(1===t.t)i=s.createLinearGradient(o[0],o[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(o[0]-l[0],2)+Math.pow(o[1]-l[1],2)),h=Math.atan2(l[1]-o[1],l[0]-o[0]),u=e.h.v;u>=1?u=.99:u<=-1&&(u=-.99);var d=c*u,p=Math.cos(h+e.a.v)*d+o[0],f=Math.sin(h+e.a.v)*d+o[1];i=s.createRadialGradient(p,f,0,o[0],o[1],c)}var m=t.g.p,g=e.g.c,v=1;for(a=0;a<m;a+=1)e.g._hasOpacity&&e.g._collapsable&&(v=e.g.o[2*a+1]),i.addColorStop(g[4*a]/100,"rgba("+g[4*a+1]+","+g[4*a+2]+","+g[4*a+3]+","+v+")");n.grd=i}n.coOp=e.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(t,e,r){var i=e.style,n=e.d;n&&(n._mdf||this._isFirstFrame)&&(i.da=n.dashArray,i.do=n.dashoffset[0]),(e.c._mdf||this._isFirstFrame)&&(i.co="rgb("+bmFloor(e.c.v[0])+","+bmFloor(e.c.v[1])+","+bmFloor(e.c.v[2])+")"),(e.o._mdf||r._opMdf||this._isFirstFrame)&&(i.coOp=e.o.v*r.opacity),(e.w._mdf||this._isFirstFrame)&&(i.wi=e.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=!1;t.fc?(e=!0,this.values.fill=this.buildColor(t.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=e;var r=!1;t.sc&&(r=!0,this.values.stroke=this.buildColor(t.sc),this.values.sWidth=t.sw);var i,n,a,s,o,l,c,h,u,d,p,f,m=this.globalData.fontManager.getFontByName(t.f),g=t.l,v=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,n=t.finalText.length;var y=this.data.singleShape,b=.001*t.tr*t.finalSize,_=0,E=0,S=!0,x=0;for(i=0;i<n;i+=1){s=(a=this.globalData.fontManager.getCharData(t.finalText[i],m.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily))&&a.data||{},v.reset(),y&&g[i].n&&(_=-b,E+=t.yOffset,E+=S?1:0,S=!1),u=(c=s.shapes?s.shapes[0].it:[]).length,v.scale(t.finalSize/100,t.finalSize/100),y&&this.applyTextPropertiesToMatrix(t,v,g[i].line,_,E),p=createSizedArray(u-1);var w=0;for(h=0;h<u;h+=1)if("sh"===c[h].ty){for(l=c[h].ks.k.i.length,d=c[h].ks.k,f=[],o=1;o<l;o+=1)1===o&&f.push(v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),f.push(v.applyToX(d.o[o-1][0],d.o[o-1][1],0),v.applyToY(d.o[o-1][0],d.o[o-1][1],0),v.applyToX(d.i[o][0],d.i[o][1],0),v.applyToY(d.i[o][0],d.i[o][1],0),v.applyToX(d.v[o][0],d.v[o][1],0),v.applyToY(d.v[o][0],d.v[o][1],0));f.push(v.applyToX(d.o[o-1][0],d.o[o-1][1],0),v.applyToY(d.o[o-1][0],d.o[o-1][1],0),v.applyToX(d.i[0][0],d.i[0][1],0),v.applyToY(d.i[0][0],d.i[0][1],0),v.applyToX(d.v[0][0],d.v[0][1],0),v.applyToY(d.v[0][0],d.v[0][1],0)),p[w]=f,w+=1}y&&(_+=g[i].l,_+=b),this.textSpans[x]?this.textSpans[x].elem=p:this.textSpans[x]={elem:p},x+=1}},CVTextElement.prototype.renderInnerContent=function(){var t,e,r,i,n,a,s=this.canvasContext;s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var o,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;e=c.length;var h,u,d=null,p=null,f=null;for(t=0;t<e;t+=1)if(!c[t].n){if((o=l[t])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(o.p),this.globalData.renderer.ctxOpacity(o.o)),this.fill){for(o&&o.fc?d!==o.fc&&(d=o.fc,s.fillStyle=o.fc):d!==this.values.fill&&(d=this.values.fill,s.fillStyle=this.values.fill),i=(h=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(u=h[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(u[n],u[n+1],u[n+2],u[n+3],u[n+4],u[n+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(o&&o.sw?f!==o.sw&&(f=o.sw,s.lineWidth=o.sw):f!==this.values.sWidth&&(f=this.values.sWidth,s.lineWidth=this.values.sWidth),o&&o.sc?p!==o.sc&&(p=o.sc,s.strokeStyle=o.sc):p!==this.values.stroke&&(p=this.values.stroke,s.strokeStyle=this.values.stroke),i=(h=this.textSpans[t].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<i;r+=1)for(a=(u=h[r]).length,this.globalData.canvasContext.moveTo(u[0],u[1]),n=2;n<a;n+=6)this.globalData.canvasContext.bezierCurveTo(u[n],u[n+1],u[n+2],u[n+3],u[n+4],u[n+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}o&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var t=createTag("canvas");t.width=this.assetData.w,t.height=this.assetData.h;var e,r,i=t.getContext("2d"),n=this.img.width,a=this.img.height,s=n/a,o=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>o&&"xMidYMid slice"===l||s<o&&"xMidYMid slice"!==l?e=(r=a)*o:r=(e=n)/o,i.drawImage(this.img,(n-e)/2,(a-r)/2,e,r,0,0,this.assetData.w,this.assetData.h),this.img=t}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.fillStyle=this.data.sc,t.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(t){return new CVShapeElement(t,this.globalData,this)},CanvasRendererBase.prototype.createText=function(t){return new CVTextElement(t,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(t){return new CVImageElement(t,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(t){return new CVSolidElement(t,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(t){if(1!==t[0]||0!==t[1]||0!==t[4]||1!==t[5]||0!==t[12]||0!==t[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(t);var e=this.contextData.getTransform(),r=e.props;this.transformMat.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]),e.cloneFromProps(this.transformMat.props);var i=e.props;this.canvasContext.setTransform(i[0],i[1],i[4],i[5],i[12],i[13])}else this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){var e=this.contextData.getOpacity();if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=t<0?0:t,void(this.globalData.currentGlobalAlpha=e);e*=t<0?0:t,this.contextData.setOpacity(e),this.globalData.currentGlobalAlpha!==e&&(this.canvasContext.globalAlpha=e,this.globalData.currentGlobalAlpha=e)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(t){this.renderConfig.clearCanvas?(t&&this.canvasContext.save(),this.contextData.push()):this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(this.renderConfig.clearCanvas){t&&(this.canvasContext.restore(),this.globalData.blendMode="source-over");var e=this.contextData.pop(),r=e.transform,i=e.opacity;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),this.globalData.currentGlobalAlpha!==i&&(this.canvasContext.globalAlpha=i,this.globalData.currentGlobalAlpha=i)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(t){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var e=this.animationItem.container.style;e.width="100%",e.height="100%";var r="0px 0px 0px";e.transformOrigin=r,e.mozTransformOrigin=r,e.webkitTransformOrigin=r,e["-webkit-transform"]=r,e.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=t,this.layers=t.layers,this.transformCanvas={w:t.w,h:t.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(t,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(t.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(t,e){var r,i,n,a;if(this.reset(),t?(r=t,i=e,this.canvasContext.canvas.width=r,this.canvasContext.canvas.height=i):(this.animationItem.wrapper&&this.animationItem.container?(r=this.animationItem.wrapper.offsetWidth,i=this.animationItem.wrapper.offsetHeight):(r=this.canvasContext.canvas.width,i=this.canvasContext.canvas.height),this.canvasContext.canvas.width=r*this.renderConfig.dpr,this.canvasContext.canvas.height=i*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var s=this.renderConfig.preserveAspectRatio.split(" "),o=s[1]||"meet",l=s[0]||"xMidYMid",c=l.substr(0,4),h=l.substr(4);n=r/i,(a=this.transformCanvas.w/this.transformCanvas.h)>n&&"meet"===o||a<n&&"slice"===o?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=r/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===c&&(a<n&&"meet"===o||a>n&&"slice"===o)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===c&&(a<n&&"meet"===o||a>n&&"slice"===o)?(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===h&&(a>n&&"meet"===o||a<n&&"slice"===o)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===h&&(a>n&&"meet"===o||a<n&&"slice"===o)?(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=r/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=i/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var t;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),t=(this.layers?this.layers.length:0)-1;t>=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 i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=0;r<i;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=i-1;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,i=t.length;for(r=0;r<i;r+=1)e=t[r].mProps.v.applyToPointArray(e[0],e[1],0);return e},HShapeElement.prototype.calculateShapeBoundingBox=function(t,e){var r,i,n,a,s,o=t.sh.v,l=t.transformers,c=o._length;if(!(c<=1)){for(r=0;r<c-1;r+=1)i=this.getTransformedPoint(l,o.v[r]),n=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[r+1]),s=this.getTransformedPoint(l,o.v[r+1]),this.checkBounds(i,n,a,s,e);o.c&&(i=this.getTransformedPoint(l,o.v[r]),n=this.getTransformedPoint(l,o.o[r]),a=this.getTransformedPoint(l,o.i[0]),s=this.getTransformedPoint(l,o.v[0]),this.checkBounds(i,n,a,s,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,n){this.getBoundsOfCurve(t,e,r,i);var a=this.shapeBoundingBox;n.x=bmMin(a.left,n.x),n.xMax=bmMax(a.right,n.xMax),n.y=bmMin(a.top,n.y),n.yMax=bmMax(a.bottom,n.yMax)},HShapeElement.prototype.shapeBoundingBox={left:0,right:0,top:0,bottom:0},HShapeElement.prototype.tempBoundingBox={x:0,xMax:0,y:0,yMax:0,width:0,height:0},HShapeElement.prototype.getBoundsOfCurve=function(t,e,r,i){for(var n,a,s,o,l,c,h,u=[[t[0],i[0]],[t[1],i[1]]],d=0;d<2;++d)a=6*t[d]-12*e[d]+6*r[d],n=-3*t[d]+9*e[d]-9*r[d]+3*i[d],s=3*e[d]-3*t[d],a|=0,s|=0,0==(n|=0)&&0===a||(0===n?(o=-s/a)>0&&o<1&&u[d].push(this.calculateF(o,t,e,r,i,d)):(l=a*a-4*s*n)>=0&&((c=(-a+bmSqrt(l))/(2*n))>0&&c<1&&u[d].push(this.calculateF(c,t,e,r,i,d)),(h=(-a-bmSqrt(l))/(2*n))>0&&h<1&&u[d].push(this.calculateF(h,t,e,r,i,d))));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,i,n,a){return bmPow(1-t,3)*e[a]+3*bmPow(1-t,2)*t*r[a]+3*(1-t)*bmPow(t,2)*i[a]+bmPow(t,3)*n[a]},HShapeElement.prototype.calculateBoundingBox=function(t,e){var r,i=t.length;for(r=0;r<i;r+=1)t[r]&&t[r].sh?this.calculateShapeBoundingBox(t[r],e):t[r]&&t[r].it?this.calculateBoundingBox(t[r].it,e):t[r]&&t[r].style&&t[r].w&&this.expandStrokeBoundingBox(t[r].w,e)},HShapeElement.prototype.expandStrokeBoundingBox=function(t,e){var r=0;if(t.keyframes){for(var i=0;i<t.keyframes.length;i+=1){var n=t.keyframes[i].s;n>r&&(r=n)}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<t.x?0:t.xMax-t.x,t.height=t.yMax<t.y?0:t.yMax-t.y,this.currentBoxContains(t))return;var r=!1;if(this.currentBBox.w!==t.width&&(this.currentBBox.w=t.width,this.shapeCont.setAttribute("width",t.width),r=!0),this.currentBBox.h!==t.height&&(this.currentBBox.h=t.height,this.shapeCont.setAttribute("height",t.height),r=!0),r||this.currentBBox.x!==t.x||this.currentBBox.y!==t.y){this.currentBBox.w=t.width,this.currentBBox.h=t.height,this.currentBBox.x=t.x,this.currentBBox.y=t.y,this.shapeCont.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h);var i=this.shapeCont.style,n="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";i.transform=n,i.webkitTransform=n}}},extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],HTextElement),HTextElement.prototype.createContent=function(){if(this.isMasked=this.checkMasks(),this.isMasked){this.renderType="svg",this.compW=this.comp.data.w,this.compH=this.comp.data.h,this.svgElement.setAttribute("width",this.compW),this.svgElement.setAttribute("height",this.compH);var t=createNS("g");this.maskedElement.appendChild(t),this.innerElem=t}else this.renderType="html",this.innerElem=this.layerElement;this.checkParenting()},HTextElement.prototype.buildNewText=function(){var t=this.textProperty.currentData;this.renderedLetters=createSizedArray(t.l?t.l.length:0);var e=this.innerElem.style,r=t.fc?this.buildColor(t.fc):"rgba(0,0,0,0)";e.fill=r,e.color=r,t.sc&&(e.stroke=this.buildColor(t.sc),e.strokeWidth=t.sw+"px");var i,n,a=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",a.fClass)this.innerElem.className=a.fClass;else{e.fontFamily=a.fFamily;var s=t.fWeight,o=t.fStyle;e.fontStyle=o,e.fontWeight=s}var l,c,h,u=t.l;n=u.length;var d,p=this.mHelper,f="",m=0;for(i=0;i<n;i+=1){if(this.globalData.fontManager.chars?(this.textPaths[m]?l=this.textPaths[m]:((l=createNS("path")).setAttribute("stroke-linecap",lineCapEnum[1]),l.setAttribute("stroke-linejoin",lineJoinEnum[2]),l.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[m]?h=(c=this.textSpans[m]).children[0]:((c=createTag("div")).style.lineHeight=0,(h=createNS("svg")).appendChild(l),styleDiv(c)))):this.isMasked?l=this.textPaths[m]?this.textPaths[m]:createNS("text"):this.textSpans[m]?(c=this.textSpans[m],l=this.textPaths[m]):(styleDiv(c=createTag("span")),styleDiv(l=createTag("span")),c.appendChild(l)),this.globalData.fontManager.chars){var g,v=this.globalData.fontManager.getCharData(t.finalText[i],a.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily);if(g=v?v.data:null,p.reset(),g&&g.shapes&&g.shapes.length&&(d=g.shapes[0].it,p.scale(t.finalSize/100,t.finalSize/100),f=this.createPathShape(p,d),l.setAttribute("d",f)),this.isMasked)this.innerElem.appendChild(l);else{if(this.innerElem.appendChild(c),g&&g.shapes){document.body.appendChild(h);var y=h.getBBox();h.setAttribute("width",y.width+2),h.setAttribute("height",y.height+2),h.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var b=h.style,_="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";b.transform=_,b.webkitTransform=_,u[i].yOffset=y.y-1}else h.setAttribute("width",1),h.setAttribute("height",1);c.appendChild(h)}}else if(l.textContent=u[i].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(l);else{this.innerElem.appendChild(c);var E=l.style,S="translate3d(0,"+-t.finalSize/1.2+"px,0)";E.transform=S,E.webkitTransform=S}this.isMasked?this.textSpans[m]=l:this.textSpans[m]=c,this.textSpans[m].style.display="block",this.textPaths[m]=l,m+=1}for(;m<this.textSpans.length;)this.textSpans[m].style.display="none",m+=1},HTextElement.prototype.renderInnerContent=function(){var t;if(this.data.singleShape){if(!this._isFirstFrame&&!this.lettersChangedFlag)return;if(this.isMasked&&this.finalTransform._matMdf){this.svgElement.setAttribute("viewBox",-this.finalTransform.mProp.p.v[0]+" "+-this.finalTransform.mProp.p.v[1]+" "+this.compW+" "+this.compH),t=this.svgElement.style;var e="translate("+-this.finalTransform.mProp.p.v[0]+"px,"+-this.finalTransform.mProp.p.v[1]+"px)";t.transform=e,t.webkitTransform=e}}if(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag){var r,i,n,a,s,o=0,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;for(i=c.length,r=0;r<i;r+=1)c[r].n?o+=1:(a=this.textSpans[r],s=this.textPaths[r],n=l[o],o+=1,n._mdf.m&&(this.isMasked?a.setAttribute("transform",n.m):(a.style.webkitTransform=n.m,a.style.transform=n.m)),a.style.opacity=n.o,n.sw&&n._mdf.sw&&s.setAttribute("stroke-width",n.sw),n.sc&&n._mdf.sc&&s.setAttribute("stroke",n.sc),n.fc&&n._mdf.fc&&(s.setAttribute("fill",n.fc),s.style.color=n.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var h=this.innerElem.getBBox();if(this.currentBBox.w!==h.width&&(this.currentBBox.w=h.width,this.svgElement.setAttribute("width",h.width)),this.currentBBox.h!==h.height&&(this.currentBBox.h=h.height,this.svgElement.setAttribute("height",h.height)),this.currentBBox.w!==h.width+2||this.currentBBox.h!==h.height+2||this.currentBBox.x!==h.x-1||this.currentBBox.y!==h.y-1){this.currentBBox.w=h.width+2,this.currentBBox.h=h.height+2,this.currentBBox.x=h.x-1,this.currentBBox.y=h.y-1,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var u="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=u,t.webkitTransform=u}}}},extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e,r,i,n=this.comp.threeDElements.length;for(t=0;t<n;t+=1)if("3d"===(e=this.comp.threeDElements[t]).type){r=e.perspectiveElem.style,i=e.container.style;var a=this.pe.v+"px",s="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";r.perspective=a,r.webkitPerspective=a,i.transformOrigin=s,i.mozTransformOrigin=s,i.webkitTransformOrigin=s,r.transform=o,r.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t,e,r=this._isFirstFrame;if(this.hierarchy)for(e=this.hierarchy.length,t=0;t<e;t+=1)r=this.hierarchy[t].finalTransform.mProp._mdf||r;if(r||this.pe._mdf||this.p&&this.p._mdf||this.px&&(this.px._mdf||this.py._mdf||this.pz._mdf)||this.rx._mdf||this.ry._mdf||this.rz._mdf||this.or._mdf||this.a&&this.a._mdf){if(this.mat.reset(),this.hierarchy)for(t=e=this.hierarchy.length-1;t>=0;t-=1){var i=this.hierarchy[t].finalTransform.mProp;this.mat.translate(-i.p.v[0],-i.p.v[1],i.p.v[2]),this.mat.rotateX(-i.or.v[0]).rotateY(-i.or.v[1]).rotateZ(i.or.v[2]),this.mat.rotateX(-i.rx.v).rotateY(-i.ry.v).rotateZ(i.rz.v),this.mat.scale(1/i.s.v[0],1/i.s.v[1],1/i.s.v[2]),this.mat.translate(i.a.v[0],i.a.v[1],i.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 n;n=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(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),s=[n[0]/a,n[1]/a,n[2]/a],o=Math.sqrt(s[2]*s[2]+s[0]*s[0]),l=Math.atan2(s[1],o),c=Math.atan2(s[0],-s[2]);this.mat.rotateY(c).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var h=!this._prevMat.equals(this.mat);if((h||this.pe._mdf)&&this.comp.threeDElements){var u,d,p;for(e=this.comp.threeDElements.length,t=0;t<e;t+=1)if("3d"===(u=this.comp.threeDElements[t]).type){if(h){var f=this.mat.toCSS();(p=u.container.style).transform=f,p.webkitTransform=f}this.pe._mdf&&((d=u.perspectiveElem.style).perspective=this.pe.v+"px",d.webkitPerspective=this.pe.v+"px")}this.mat.clone(this._prevMat)}}this._isFirstFrame=!1},HCameraElement.prototype.prepareFrame=function(t){this.prepareProperties(t,!0)},HCameraElement.prototype.destroy=function(){},HCameraElement.prototype.getBaseElement=function(){return null},extendPrototype([BaseElement,TransformElement,HBaseElement,HSolidElement,HierarchyElement,FrameElement,RenderableElement],HImageElement),HImageElement.prototype.createContent=function(){var t=this.globalData.getAssetsPath(this.assetData),e=new Image;this.data.hasMask?(this.imageElem=createNS("image"),this.imageElem.setAttribute("width",this.assetData.w+"px"),this.imageElem.setAttribute("height",this.assetData.h+"px"),this.imageElem.setAttributeNS("http://www.w3.org/1999/xlink","href",t),this.layerElement.appendChild(this.imageElem),this.baseElement.setAttribute("width",this.assetData.w),this.baseElement.setAttribute("height",this.assetData.h)):this.layerElement.appendChild(e),e.crossOrigin="anonymous",e.src=t,this.data.ln&&this.baseElement.setAttribute("id",this.data.ln)},extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},HybridRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i=this.layers[e];if(i.ddd&&this.supports3d)this.addTo3dContainer(r,e);else if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var n,a,s=0;s<e;)this.elements[s]&&!0!==this.elements[s]&&this.elements[s].getBaseElement&&(a=this.elements[s],n=(this.layers[s].ddd?this.getThreeDContainerByPos(s):a.getBaseElement())||n),s+=1;n?i.ddd&&this.supports3d||this.layerElement.insertBefore(r,n):i.ddd&&this.supports3d||this.layerElement.appendChild(r)}}},HybridRendererBase.prototype.createShape=function(t){return this.supports3d?new HShapeElement(t,this.globalData,this):new SVGShapeElement(t,this.globalData,this)},HybridRendererBase.prototype.createText=function(t){return this.supports3d?new HTextElement(t,this.globalData,this):new SVGTextLottieElement(t,this.globalData,this)},HybridRendererBase.prototype.createCamera=function(t){return this.camera=new HCameraElement(t,this.globalData,this),this.camera},HybridRendererBase.prototype.createImage=function(t){return this.supports3d?new HImageElement(t,this.globalData,this):new IImageElement(t,this.globalData,this)},HybridRendererBase.prototype.createSolid=function(t){return this.supports3d?new HSolidElement(t,this.globalData,this):new ISolidElement(t,this.globalData,this)},HybridRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,HybridRendererBase.prototype.getThreeDContainerByPos=function(t){for(var e=0,r=this.threeDElements.length;e<r;){if(this.threeDElements[e].startPos<=t&&this.threeDElements[e].endPos>=t)return this.threeDElements[e].perspectiveElem;e+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(t,e){var r,i,n=createTag("div");styleDiv(n);var a=createTag("div");if(styleDiv(a),"3d"===e){(r=n.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var s="50% 50%";r.webkitTransformOrigin=s,r.mozTransformOrigin=s,r.transformOrigin=s;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(i=a.style).transform=o,i.webkitTransform=o}n.appendChild(a);var l={container:a,perspectiveElem:n,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var t,e,r=this.layers.length,i="";for(t=0;t<r;t+=1)this.layers[t].ddd&&3!==this.layers[t].ty?("3d"!==i&&(i="3d",e=this.createThreeDContainer(t,"3d")),e.endPos=Math.max(e.endPos,t)):("2d"!==i&&(i="2d",e=this.createThreeDContainer(t,"2d")),e.endPos=Math.max(e.endPos,t));for(t=(r=this.threeDElements.length)-1;t>=0;t-=1)this.resizerElem.appendChild(this.threeDElements[t].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(t,e){for(var r=0,i=this.threeDElements.length;r<i;){if(e<=this.threeDElements[r].endPos){for(var n,a=this.threeDElements[r].startPos;a<e;)this.elements[a]&&this.elements[a].getBaseElement&&(n=this.elements[a].getBaseElement()),a+=1;n?this.threeDElements[r].container.insertBefore(t,n):this.threeDElements[r].container.appendChild(t);break}r+=1}},HybridRendererBase.prototype.configAnimation=function(t){var e=createTag("div"),r=this.animationItem.wrapper,i=e.style;i.width=t.w+"px",i.height=t.h+"px",this.resizerElem=e,styleDiv(e),i.transformStyle="flat",i.mozTransformStyle="flat",i.webkitTransformStyle="flat",this.renderConfig.className&&e.setAttribute("class",this.renderConfig.className),r.appendChild(e),i.overflow="hidden";var n=createNS("svg");n.setAttribute("width","1"),n.setAttribute("height","1"),styleDiv(n),this.resizerElem.appendChild(n);var a=createNS("defs");n.appendChild(a),this.data=t,this.setupGlobalData(t,n),this.globalData.defs=a,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){var t;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t,e,r,i,n=this.animationItem.wrapper.offsetWidth,a=this.animationItem.wrapper.offsetHeight,s=n/a;this.globalData.compSize.w/this.globalData.compSize.h>s?(t=n/this.globalData.compSize.w,e=n/this.globalData.compSize.w,r=0,i=(a-this.globalData.compSize.h*(n/this.globalData.compSize.w))/2):(t=a/this.globalData.compSize.h,e=a/this.globalData.compSize.h,r=(n-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,i=0);var o=this.resizerElem.style;o.webkitTransform="matrix3d("+t+",0,0,0,0,"+e+",0,0,0,0,1,0,"+r+","+i+",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,i=this.threeDElements.length;for(t=0;t<i;t+=1){var n=this.threeDElements[t].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(e,2)+Math.pow(r,2))+"px",n.perspective=n.webkitPerspective}}},HybridRendererBase.prototype.searchExtraCompositions=function(t){var e,r=t.length,i=createTag("div");for(e=0;e<r;e+=1)if(t[e].xt){var n=this.createComp(t[e],i,this.globalData.comp,null);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},extendPrototype([HybridRendererBase,ICompElement,HBaseElement],HCompElement),HCompElement.prototype._createBaseContainerElements=HCompElement.prototype.createContainerElements,HCompElement.prototype.createContainerElements=function(){this._createBaseContainerElements(),this.data.hasMask?(this.svgElement.setAttribute("width",this.data.w),this.svgElement.setAttribute("height",this.data.h),this.transformedElement=this.baseElement):this.transformedElement=this.layerElement},HCompElement.prototype.addTo3dContainer=function(t,e){for(var r,i=0;i<e;)this.elements[i]&&this.elements[i].getBaseElement&&(r=this.elements[i].getBaseElement()),i+=1;r?this.layerElement.insertBefore(t,r):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)},extendPrototype([HybridRendererBase],HybridRenderer),HybridRenderer.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};var CompExpressionInterface=function(t){function e(e){for(var r=0,i=t.layers.length;r<i;){if(t.layers[r].nm===e||t.layers[r].ind===e)return t.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(e,"_name",{value:t.data.nm}),e.layer=e,e.pixelAspect=1,e.height=t.data.h||t.globalData.compSize.h,e.width=t.data.w||t.globalData.compSize.w,e.pixelAspect=1,e.frameDuration=1/t.globalData.frameRate,e.displayStartTime=0,e.numLayers=t.layers.length,e},Expressions=function(){var t={initExpressions:function(t){var e=0,r=[];t.renderer.compInterface=CompExpressionInterface(t.renderer),t.renderer.globalData.projectInterface.registerComposition(t.renderer),t.renderer.globalData.pushExpression=function(){e+=1},t.renderer.globalData.popExpression=function(){0==(e-=1)&&function(){var t,e=r.length;for(t=0;t<e;t+=1)r[t].release();r.length=0}()},t.renderer.globalData.registerExpressionProperty=function(t){-1===r.indexOf(t)&&r.push(t)}}};return t}(),MaskManagerInterface=function(){function t(t,e){this._mask=t,this._data=e}return Object.defineProperty(t.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(t.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}}),function(e){var r,i=createSizedArray(e.viewData.length),n=e.viewData.length;for(r=0;r<n;r+=1)i[r]=new t(e.viewData[r],e.masksProperties[r]);return function(t){for(r=0;r<n;){if(e.masksProperties[r].nm===t)return i[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(t,e,r){Object.defineProperty(t,"velocity",{get:function(){return e.getVelocityAtTime(e.comp.currentFrame)}}),t.numKeys=e.keyframes?e.keyframes.length:0,t.key=function(i){if(!t.numKeys)return 0;var n="";n="s"in e.keyframes[i-1]?e.keyframes[i-1].s:"e"in e.keyframes[i-2]?e.keyframes[i-2].e:e.keyframes[i-2].s;var a="unidimensional"===r?new Number(n):Object.assign({},n);return a.time=e.keyframes[i-1].t/e.elem.comp.globalData.frameRate,a.value="unidimensional"===r?n[0]:n,a},t.valueAtTime=e.getValueAtTime,t.speedAtTime=e.getSpeedAtTime,t.velocityAtTime=e.getVelocityAtTime,t.propertyGroup=e.propertyGroup}function i(){return t}return function(n){return n?"unidimensional"===n.propType?function(e){e&&"pv"in e||(e=t);var i=1/e.mult,n=e.pv*i,a=new Number(n);return a.value=n,r(a,e,"unidimensional"),function(){return e.k&&e.getValue(),n=e.v*i,a.value!==n&&((a=new Number(n)).value=n,r(a,e,"unidimensional")),a}}(n):function(t){t&&"pv"in t||(t=e);var i=1/t.mult,n=t.data&&t.data.l||t.pv.length,a=createTypedArray("float32",n),s=createTypedArray("float32",n);return a.value=s,r(a,t,"multidimensional"),function(){t.k&&t.getValue();for(var e=0;e<n;e+=1)s[e]=t.v[e]*i,a[e]=s[e];return a}}(n):i}}(),TransformExpressionInterface=function(t){function e(t){switch(t){case"scale":case"Scale":case"ADBE Scale":case 6:return e.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return e.rotation;case"ADBE Rotate X":return e.xRotation;case"ADBE Rotate Y":return e.yRotation;case"position":case"Position":case"ADBE Position":case 2:return e.position;case"ADBE Position_0":return e.xPosition;case"ADBE Position_1":return e.yPosition;case"ADBE Position_2":return e.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return e.anchorPoint;case"opacity":case"Opacity":case 11:return e.opacity;default:return null}}var r,i,n,a;return Object.defineProperty(e,"rotation",{get:ExpressionPropertyInterface(t.r||t.rz)}),Object.defineProperty(e,"zRotation",{get:ExpressionPropertyInterface(t.rz||t.r)}),Object.defineProperty(e,"xRotation",{get:ExpressionPropertyInterface(t.rx)}),Object.defineProperty(e,"yRotation",{get:ExpressionPropertyInterface(t.ry)}),Object.defineProperty(e,"scale",{get:ExpressionPropertyInterface(t.s)}),t.p?a=ExpressionPropertyInterface(t.p):(r=ExpressionPropertyInterface(t.px),i=ExpressionPropertyInterface(t.py),t.pz&&(n=ExpressionPropertyInterface(t.pz))),Object.defineProperty(e,"position",{get:function(){return t.p?a():[r(),i(),n?n():0]}}),Object.defineProperty(e,"xPosition",{get:ExpressionPropertyInterface(t.px)}),Object.defineProperty(e,"yPosition",{get:ExpressionPropertyInterface(t.py)}),Object.defineProperty(e,"zPosition",{get:ExpressionPropertyInterface(t.pz)}),Object.defineProperty(e,"anchorPoint",{get:ExpressionPropertyInterface(t.a)}),Object.defineProperty(e,"opacity",{get:ExpressionPropertyInterface(t.o)}),Object.defineProperty(e,"skew",{get:ExpressionPropertyInterface(t.sk)}),Object.defineProperty(e,"skewAxis",{get:ExpressionPropertyInterface(t.sa)}),Object.defineProperty(e,"orientation",{get:ExpressionPropertyInterface(t.or)}),e},LayerExpressionInterface=function(){function t(t){var e=new Matrix;return void 0!==t?this._elem.finalTransform.mProp.getValueAtTime(t).clone(e):this._elem.finalTransform.mProp.applyToMatrix(e),e}function e(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,t)}function r(t,e){var r=this.getMatrix(e);return this.applyPoint(r,t)}function i(t,e){var r=this.getMatrix(e);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,t)}function n(t,e){var r=this.getMatrix(e);return this.invertPoint(r,t)}function a(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.applyToPointArray(e[0],e[1],e[2]||0)}function s(t,e){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t)}return t.inversePoint(e)}function o(t){var e=new Matrix;if(e.reset(),this._elem.finalTransform.mProp.applyToMatrix(e),this._elem.hierarchy&&this._elem.hierarchy.length){var r,i=this._elem.hierarchy.length;for(r=0;r<i;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e);return e.inversePoint(t)}return e.inversePoint(t)}function l(){return[1,1,1,1]}return function(c){var h;function u(t){switch(t){case"ADBE Root Vectors Group":case"Contents":case 2:return u.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return h;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return u.effect;case"ADBE Text Properties":return u.textInterface;default:return null}}u.getMatrix=t,u.invertPoint=s,u.applyPoint=a,u.toWorld=r,u.toWorldVec=e,u.fromWorld=n,u.fromWorldVec=i,u.toComp=r,u.fromComp=o,u.sampleImage=l,u.sourceRectAtTime=c.sourceRectAtTime.bind(c),u._elem=c;var d=getDescriptor(h=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(u,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(h,"rotation"),scale:getDescriptor(h,"scale"),position:getDescriptor(h,"position"),opacity:getDescriptor(h,"opacity"),anchorPoint:d,anchor_point:d,transform:{get:function(){return h}},active:{get:function(){return c.isInRange}}}),u.startTime=c.data.st,u.index=c.data.ind,u.source=c.data.refId,u.height=0===c.data.ty?c.data.h:100,u.width=0===c.data.ty?c.data.w:100,u.inPoint=c.data.ip/c.comp.globalData.frameRate,u.outPoint=c.data.op/c.comp.globalData.frameRate,u._name=c.data.nm,u.registerMaskInterface=function(t){u.mask=new MaskManagerInterface(t,c)},u.registerEffectsInterface=function(t){u.effect=t},u}}(),propertyGroupFactory=function(t,e){return function(r){return(r=void 0===r?1:r)<=0?t:e(r-1)}},PropertyInterface=function(t,e){var r={_name:t};return function(t){return(t=void 0===t?1:t)<=0?r:e(t-1)}},EffectsExpressionInterface=function(){function t(r,i,n,a){function s(t){for(var e=r.ef,i=0,n=e.length;i<n;){if(t===e[i].nm||t===e[i].mn||t===e[i].ix)return 5===e[i].ty?c[i]:c[i]();i+=1}throw new Error}var o,l=propertyGroupFactory(s,n),c=[],h=r.ef.length;for(o=0;o<h;o+=1)5===r.ef[o].ty?c.push(t(r.ef[o],i.effectElements[o],i.effectElements[o].propertyGroup,a)):c.push(e(i.effectElements[o],r.ef[o].ty,a,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(s,"color",{get:function(){return c[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),s.enabled=0!==r.en,s.active=s.enabled,s}function e(t,e,r,i){var n=ExpressionPropertyInterface(t.p);return t.p.setGroupProperty&&t.p.setGroupProperty(PropertyInterface("",i)),function(){return 10===e?r.comp.compInterface(t.p.v):n()}}return{createEffectsInterface:function(e,r){if(e.effectsManager){var i,n=[],a=e.data.ef,s=e.effectsManager.effectElements.length;for(i=0;i<s;i+=1)n.push(t(a[i],e.effectsManager.effectElements[i],r,e));var o=e.data.ef||[],l=function(t){for(i=0,s=o.length;i<s;){if(t===o[i].nm||t===o[i].mn||t===o[i].ix)return n[i];i+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return o.length}}),l}return null}}}(),ShapePathInterface=function(t,e,r){var i=e.sh;function n(t){return"Shape"===t||"shape"===t||"Path"===t||"path"===t||"ADBE Vector Shape"===t||2===t?n.path:null}var a=propertyGroupFactory(n,r);return i.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(n,{path:{get:function(){return i.k&&i.getValue(),i}},shape:{get:function(){return i.k&&i.getValue(),i}},_name:{value:t.nm},ix:{value:t.ix},propertyIndex:{value:t.ix},mn:{value:t.mn},propertyGroup:{value:r}}),n},ShapeExpressionInterface=function(){function t(t,s,d){var p,f=[],m=t?t.length:0;for(p=0;p<m;p+=1)"gr"===t[p].ty?f.push(e(t[p],s[p],d)):"fl"===t[p].ty?f.push(r(t[p],s[p],d)):"st"===t[p].ty?f.push(n(t[p],s[p],d)):"tm"===t[p].ty?f.push(a(t[p],s[p],d)):"tr"===t[p].ty||("el"===t[p].ty?f.push(o(t[p],s[p],d)):"sr"===t[p].ty?f.push(l(t[p],s[p],d)):"sh"===t[p].ty?f.push(ShapePathInterface(t[p],s[p],d)):"rc"===t[p].ty?f.push(c(t[p],s[p],d)):"rd"===t[p].ty?f.push(h(t[p],s[p],d)):"rp"===t[p].ty?f.push(u(t[p],s[p],d)):"gf"===t[p].ty?f.push(i(t[p],s[p],d)):f.push((t[p],s[p],function(){return null})));return f}function e(e,r,i){var n=function(t){switch(t){case"ADBE Vectors Group":case"Contents":case 2:return n.content;default:return n.transform}};n.propertyGroup=propertyGroupFactory(n,i);var a=function(e,r,i){var n,a=function(t){for(var e=0,r=n.length;e<r;){if(n[e]._name===t||n[e].mn===t||n[e].propertyIndex===t||n[e].ix===t||n[e].ind===t)return n[e];e+=1}return"number"==typeof t?n[t-1]:null};a.propertyGroup=propertyGroupFactory(a,i),n=t(e.it,r.it,a.propertyGroup),a.numProperties=n.length;var o=s(e.it[e.it.length-1],r.it[r.it.length-1],a.propertyGroup);return a.transform=o,a.propertyIndex=e.cix,a._name=e.nm,a}(e,r,n.propertyGroup),o=s(e.it[e.it.length-1],r.it[r.it.length-1],n.propertyGroup);return n.content=a,n.transform=o,Object.defineProperty(n,"_name",{get:function(){return e.nm}}),n.numProperties=e.np,n.propertyIndex=e.ix,n.nm=e.nm,n.mn=e.mn,n}function r(t,e,r){function i(t){return"Color"===t||"color"===t?i.color:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function i(t,e,r){function i(t){return"Start Point"===t||"start point"===t?i.startPoint:"End Point"===t||"end point"===t?i.endPoint:"Opacity"===t||"opacity"===t?i.opacity:null}return Object.defineProperties(i,{startPoint:{get:ExpressionPropertyInterface(e.s)},endPoint:{get:ExpressionPropertyInterface(e.e)},opacity:{get:ExpressionPropertyInterface(e.o)},type:{get:function(){return"a"}},_name:{value:t.nm},mn:{value:t.mn}}),e.s.setGroupProperty(PropertyInterface("Start Point",r)),e.e.setGroupProperty(PropertyInterface("End Point",r)),e.o.setGroupProperty(PropertyInterface("Opacity",r)),i}function n(t,e,r){var i,n=propertyGroupFactory(c,r),a=propertyGroupFactory(l,n);function s(r){Object.defineProperty(l,t.d[r].nm,{get:ExpressionPropertyInterface(e.d.dataProps[r].p)})}var o=t.d?t.d.length:0,l={};for(i=0;i<o;i+=1)s(i),e.d.dataProps[i].p.setGroupProperty(a);function c(t){return"Color"===t||"color"===t?c.color:"Opacity"===t||"opacity"===t?c.opacity:"Stroke Width"===t||"stroke width"===t?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(e.c)},opacity:{get:ExpressionPropertyInterface(e.o)},strokeWidth:{get:ExpressionPropertyInterface(e.w)},dash:{get:function(){return l}},_name:{value:t.nm},mn:{value:t.mn}}),e.c.setGroupProperty(PropertyInterface("Color",n)),e.o.setGroupProperty(PropertyInterface("Opacity",n)),e.w.setGroupProperty(PropertyInterface("Stroke Width",n)),c}function a(t,e,r){function i(e){return e===t.e.ix||"End"===e||"end"===e?i.end:e===t.s.ix?i.start:e===t.o.ix?i.offset:null}var n=propertyGroupFactory(i,r);return i.propertyIndex=t.ix,e.s.setGroupProperty(PropertyInterface("Start",n)),e.e.setGroupProperty(PropertyInterface("End",n)),e.o.setGroupProperty(PropertyInterface("Offset",n)),i.propertyIndex=t.ix,i.propertyGroup=r,Object.defineProperties(i,{start:{get:ExpressionPropertyInterface(e.s)},end:{get:ExpressionPropertyInterface(e.e)},offset:{get:ExpressionPropertyInterface(e.o)},_name:{value:t.nm}}),i.mn=t.mn,i}function s(t,e,r){function i(e){return t.a.ix===e||"Anchor Point"===e?i.anchorPoint:t.o.ix===e||"Opacity"===e?i.opacity:t.p.ix===e||"Position"===e?i.position:t.r.ix===e||"Rotation"===e||"ADBE Vector Rotation"===e?i.rotation:t.s.ix===e||"Scale"===e?i.scale:t.sk&&t.sk.ix===e||"Skew"===e?i.skew:t.sa&&t.sa.ix===e||"Skew Axis"===e?i.skewAxis:null}var n=propertyGroupFactory(i,r);return e.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",n)),e.transform.mProps.p.setGroupProperty(PropertyInterface("Position",n)),e.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",n)),e.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",n)),e.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",n)),e.transform.mProps.sk&&(e.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",n)),e.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",n))),e.transform.op.setGroupProperty(PropertyInterface("Opacity",n)),Object.defineProperties(i,{opacity:{get:ExpressionPropertyInterface(e.transform.mProps.o)},position:{get:ExpressionPropertyInterface(e.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(e.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(e.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(e.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(e.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(e.transform.mProps.sa)},_name:{value:t.nm}}),i.ty="tr",i.mn=t.mn,i.propertyGroup=r,i}function o(t,e,r){function i(e){return t.p.ix===e?i.position:t.s.ix===e?i.size:null}var n=propertyGroupFactory(i,r);i.propertyIndex=t.ix;var a="tm"===e.sh.ty?e.sh.prop:e.sh;return a.s.setGroupProperty(PropertyInterface("Size",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),Object.defineProperties(i,{size:{get:ExpressionPropertyInterface(a.s)},position:{get:ExpressionPropertyInterface(a.p)},_name:{value:t.nm}}),i.mn=t.mn,i}function l(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.rotation:t.pt.ix===e?i.points:t.or.ix===e||"ADBE Vector Star Outer Radius"===e?i.outerRadius:t.os.ix===e?i.outerRoundness:!t.ir||t.ir.ix!==e&&"ADBE Vector Star Inner Radius"!==e?t.is&&t.is.ix===e?i.innerRoundness:null:i.innerRadius}var n=propertyGroupFactory(i,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,a.or.setGroupProperty(PropertyInterface("Outer Radius",n)),a.os.setGroupProperty(PropertyInterface("Outer Roundness",n)),a.pt.setGroupProperty(PropertyInterface("Points",n)),a.p.setGroupProperty(PropertyInterface("Position",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),t.ir&&(a.ir.setGroupProperty(PropertyInterface("Inner Radius",n)),a.is.setGroupProperty(PropertyInterface("Inner Roundness",n))),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},rotation:{get:ExpressionPropertyInterface(a.r)},points:{get:ExpressionPropertyInterface(a.pt)},outerRadius:{get:ExpressionPropertyInterface(a.or)},outerRoundness:{get:ExpressionPropertyInterface(a.os)},innerRadius:{get:ExpressionPropertyInterface(a.ir)},innerRoundness:{get:ExpressionPropertyInterface(a.is)},_name:{value:t.nm}}),i.mn=t.mn,i}function c(t,e,r){function i(e){return t.p.ix===e?i.position:t.r.ix===e?i.roundness:t.s.ix===e||"Size"===e||"ADBE Vector Rect Size"===e?i.size:null}var n=propertyGroupFactory(i,r),a="tm"===e.sh.ty?e.sh.prop:e.sh;return i.propertyIndex=t.ix,a.p.setGroupProperty(PropertyInterface("Position",n)),a.s.setGroupProperty(PropertyInterface("Size",n)),a.r.setGroupProperty(PropertyInterface("Rotation",n)),Object.defineProperties(i,{position:{get:ExpressionPropertyInterface(a.p)},roundness:{get:ExpressionPropertyInterface(a.r)},size:{get:ExpressionPropertyInterface(a.s)},_name:{value:t.nm}}),i.mn=t.mn,i}function h(t,e,r){function i(e){return t.r.ix===e||"Round Corners 1"===e?i.radius:null}var n=propertyGroupFactory(i,r),a=e;return i.propertyIndex=t.ix,a.rd.setGroupProperty(PropertyInterface("Radius",n)),Object.defineProperties(i,{radius:{get:ExpressionPropertyInterface(a.rd)},_name:{value:t.nm}}),i.mn=t.mn,i}function u(t,e,r){function i(e){return t.c.ix===e||"Copies"===e?i.copies:t.o.ix===e||"Offset"===e?i.offset:null}var n=propertyGroupFactory(i,r),a=e;return i.propertyIndex=t.ix,a.c.setGroupProperty(PropertyInterface("Copies",n)),a.o.setGroupProperty(PropertyInterface("Offset",n)),Object.defineProperties(i,{copies:{get:ExpressionPropertyInterface(a.c)},offset:{get:ExpressionPropertyInterface(a.o)},_name:{value:t.nm}}),i.mn=t.mn,i}return function(e,r,i){var n;function a(t){if("number"==typeof t)return 0===(t=void 0===t?1:t)?i:n[t-1];for(var e=0,r=n.length;e<r;){if(n[e]._name===t)return n[e];e+=1}return null}return a.propertyGroup=propertyGroupFactory(a,(function(){return i})),n=t(e,r,a.propertyGroup),a.numProperties=n.length,a._name="Contents",a}}(),TextExpressionInterface=function(t){var e,r;function i(t){return"ADBE Text Document"===t?i.sourceText:null}return Object.defineProperty(i,"sourceText",{get:function(){t.textProperty.getValue();var i=t.textProperty.currentData.t;return i!==e&&(e=t.textProperty.currentData.t,(r=new String(i)).value=i||new String(i),Object.defineProperty(r,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),r}}),i};function _typeof$2(t){return _typeof$2="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},_typeof$2(t)}var FootageInterface=(dataInterfaceFactory=function(t){function e(t){return"Outline"===t?e.outlineInterface():null}return e._name="Outline",e.outlineInterface=function(t){var e="",r=t.getFootageData();function i(t){if(r[t])return e=t,"object"===_typeof$2(r=r[t])?i:r;var n=t.indexOf(e);if(-1!==n){var a=parseInt(t.substr(n+e.length),10);return"object"===_typeof$2(r=r[a])?i:r}return""}return function(){return e="",r=t.getFootageData(),i}}(t),e},function(t){function e(t){return"Data"===t?e.dataInterface:null}return e._name="Data",e.dataInterface=dataInterfaceFactory(t),e}),dataInterfaceFactory,interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}function _typeof$1(t){return _typeof$1="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},_typeof$1(t)}function seedRandom(t,e){var r,i=this,n=256,a=6,s="random",o=e.pow(n,a),l=e.pow(2,52),c=2*l,h=n-1;function u(t){var e,r=t.length,i=this,a=0,s=i.i=i.j=0,o=i.S=[];for(r||(t=[r++]);a<n;)o[a]=a++;for(a=0;a<n;a++)o[a]=o[s=h&s+t[a%r]+(e=o[a])],o[s]=e;i.g=function(t){for(var e,r=0,a=i.i,s=i.j,o=i.S;t--;)e=o[a=h&a+1],r=r*n+o[h&(o[a]=o[s=h&s+e])+(o[s]=e)];return i.i=a,i.j=s,r}}function d(t,e){return e.i=t.i,e.j=t.j,e.S=t.S.slice(),e}function p(t,e){var r,i=[],n=_typeof$1(t);if(e&&"object"==n)for(r in t)try{i.push(p(t[r],e-1))}catch(t){}return i.length?i:"string"==n?t:t+"\0"}function f(t,e){for(var r,i=t+"",n=0;n<i.length;)e[h&n]=h&(r^=19*e[h&n])+i.charCodeAt(n++);return m(e)}function m(t){return String.fromCharCode.apply(0,t)}e["seed"+s]=function(h,g,v){var y=[],b=f(p((g=!0===g?{entropy:!0}:g||{}).entropy?[h,m(t)]:null===h?function(){try{if(r)return m(r.randomBytes(n));var e=new Uint8Array(n);return(i.crypto||i.msCrypto).getRandomValues(e),m(e)}catch(e){var a=i.navigator,s=a&&a.plugins;return[+new Date,i,s,i.screen,m(t)]}}():h,3),y),_=new u(y),E=function(){for(var t=_.g(a),e=o,r=0;t<l;)t=(t+r)*n,e*=n,r=_.g(1);for(;t>=c;)t/=2,e/=2,r>>>=1;return(t+r)/e};return E.int32=function(){return 0|_.g(4)},E.quick=function(){return _.g(4)/4294967296},E.double=E,f(m(_.S),t),(g.pass||v||function(t,r,i,n){return n&&(n.S&&d(n,_),t.state=function(){return d(_,{})}),i?(e[s]=t,r):t})(E,b,"global"in g?g.global:this==e,g.state)},f(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},_typeof(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,i=t.length,n=[];for(r=0;r<i;r+=1)n[r]=-t[r];return n}return t.propType?t.v:-t}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(t,e){var r=_typeof(t),i=_typeof(e);if("string"===r||"string"===i)return t+e;if(isNumerable(r,t)&&isNumerable(i,e))return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,a=t.length,s=e.length,o=[];n<a||n<s;)("number"==typeof t[n]||t[n]instanceof Number)&&("number"==typeof e[n]||e[n]instanceof Number)?o[n]=t[n]+e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}var add=sum;function sub(t,e){var r=_typeof(t),i=_typeof(e);if(isNumerable(r,t)&&isNumerable(i,e))return"string"===r&&(t=parseInt(t,10)),"string"===i&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return(t=t.slice(0))[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return(e=e.slice(0))[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,a=t.length,s=e.length,o=[];n<a||n<s;)("number"==typeof t[n]||t[n]instanceof Number)&&("number"==typeof e[n]||e[n]instanceof Number)?o[n]=t[n]-e[n]:o[n]=void 0===e[n]?t[n]:t[n]||e[n],n+=1;return o}return 0}function mul(t,e){var r,i,n,a=_typeof(t),s=_typeof(e);if(isNumerable(a,t)&&isNumerable(s,e))return t*e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t[i]*e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t*e[i];return r}return 0}function div(t,e){var r,i,n,a=_typeof(t),s=_typeof(e);if(isNumerable(a,t)&&isNumerable(s,e))return t/e;if($bm_isInstanceOfArray(t)&&isNumerable(s,e)){for(n=t.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t[i]/e;return r}if(isNumerable(a,t)&&$bm_isInstanceOfArray(e)){for(n=e.length,r=createTypedArray("float32",n),i=0;i<n;i+=1)r[i]=t/e[i];return r}return 0}function mod(t,e){return"string"==typeof t&&(t=parseInt(t,10)),"string"==typeof e&&(e=parseInt(e,10)),t%e}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(t,e,r){if(e>r){var i=r;r=e,e=i}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 i=Math.min(t.length,e.length),n=0;for(r=0;r<i;r+=1)n+=Math.pow(e[r]-t[r],2);return Math.sqrt(n)}function normalize(t){return div(t,length(t))}function rgbToHsl(t){var e,r,i=t[0],n=t[1],a=t[2],s=Math.max(i,n,a),o=Math.min(i,n,a),l=(s+o)/2;if(s===o)e=0,r=0;else{var c=s-o;switch(r=l>.5?c/(2-s-o):c/(s+o),s){case i:e=(n-a)/c+(n<a?6:0);break;case n:e=(a-i)/c+2;break;case a:e=(i-n)/c+4}e/=6}return[e,r,l,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(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,i,n=t[0],a=t[1],s=t[2];if(0===a)e=s,i=s,r=s;else{var o=s<.5?s*(1+a):s+a-s*a,l=2*s-o;e=hue2rgb(l,o,n+1/3),r=hue2rgb(l,o,n),i=hue2rgb(l,o,n-1/3)}return[e,r,i,t[3]]}function linear(t,e,r,i,n){if(void 0!==i&&void 0!==n||(i=e,n=r,e=0,r=1),r<e){var a=r;r=e,e=a}if(t<=e)return i;if(t>=r)return n;var s,o=r===e?0:(t-e)/(r-e);if(!i.length)return i+(n-i)*o;var l=i.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=i[s]+(n[s]-i[s])*o;return c}function random(t,e){if(void 0===e&&(void 0===t?(t=0,e=1):(e=t,t=void 0)),e.length){var r,i=e.length;t||(t=createTypedArray("float32",i));var n=createTypedArray("float32",i),a=BMMath.random();for(r=0;r<i;r+=1)n[r]=t[r]+a*(e[r]-t[r]);return n}return void 0===t&&(t=0),t+BMMath.random()*(e-t)}function createPath(t,e,r,i){var n,a=t.length,s=shapePool.newElement();s.setPathData(!!i,a);var o,l,c=[0,0];for(n=0;n<a;n+=1)o=e&&e[n]?e[n]:c,l=r&&r[n]?r[n]:c,s.setTripleAt(t[n][0],t[n][1],l[0]+t[n][0],l[1]+t[n][1],o[0]+t[n][0],o[1]+t[n][1],n,!0);return s}function initiateExpression(elem,data,property){function noOp(t){return t}if(!elem.globalData.renderConfig.runExpressions)return noOp;var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(t,e){var r,i,n=this.pv.length?this.pv.length:1,a=createTypedArray("float32",n),s=Math.floor(5*time);for(r=0,i=0;r<s;){for(i=0;i<n;i+=1)a[i]+=-e+2*e*BMMath.random();r+=1}var o=5*time,l=o-Math.floor(o),c=createTypedArray("float32",n);if(n>1){for(i=0;i<n;i+=1)c[i]=this.pv[i]+a[i]+(-e+2*e*BMMath.random())*l;return c}return this.pv+a[0]+(-e+2*e*BMMath.random())*l}.bind(this);function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(t,e){var r=[e[0]-t[0],e[1]-t[1],e[2]-t[2]],i=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,i,0]}function easeOut(t,e,r,i,n){return applyEase(easeOutBez,t,e,r,i,n)}function easeIn(t,e,r,i,n){return applyEase(easeInBez,t,e,r,i,n)}function ease(t,e,r,i,n){return applyEase(easeInOutBez,t,e,r,i,n)}function applyEase(t,e,r,i,n,a){void 0===n?(n=r,a=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var s=t(e);if($bm_isInstanceOfArray(n)){var o,l=n.length,c=createTypedArray("float32",l);for(o=0;o<l;o+=1)c[o]=(a[o]-n[o])*s+n[o];return c}return(a-n)*s+n}function nearestKey(t){var e,r,i,n=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(t*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,i=data.k[0].t;else{for(e=0;e<n-1;e+=1){if(t===data.k[e].t){r=e+1,i=data.k[e].t;break}if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(r=e+2,i=data.k[e+1].t):(r=e+1,i=data.k[e].t);break}}-1===r&&(r=e+1,i=data.k[e].t)}else r=0,i=0;var a={};return a.index=r,a.time=i/elem.comp.globalData.frameRate,a}function key(t){var e,r,i;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 n=Object.prototype.hasOwnProperty.call(data.k[t],"s")?data.k[t].s:data.k[t-1].e;for(i=n.length,r=0;r<i;r+=1)e[r]=n[r],e.value[r]=n[r];return e}function framesToTime(t,e){return e||(e=elem.comp.globalData.frameRate),t/e}function timeToFrames(t,e){return t||0===t||(t=time),e||(e=elem.comp.globalData.frameRate),t*e}function seedRandom(t){BMMath.seedrandom(randSeed+t)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(t,e){return"string"==typeof value?void 0===e?value.substring(t):value.substring(t,e):""}function substr(t,e){return"string"==typeof value?void 0===e?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=0===t?0:Math.floor(time*t)/t,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(t,e,r){e.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(t,e,r).bind(r)))},getSpeedAtTime:function(t){var e=this.getValueAtTime(t),r=this.getValueAtTime(t+-.01),i=0;if(e.length){var n;for(n=0;n<e.length;n+=1)i+=Math.pow(r[n]-e[n],2);i=100*Math.sqrt(i)}else i=0;return i},getVelocityAtTime:function(t){if(void 0!==this.vel)return this.vel;var e,r,i=-.001,n=this.getValueAtTime(t),a=this.getValueAtTime(t+i);if(n.length)for(e=createTypedArray("float32",n.length),r=0;r<n.length;r+=1)e[r]=(a[r]-n[r])/i;else e=(a-n)/i;return e},getValueAtTime:function(t){return t*=this.elem.globalData.frameRate,(t-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<t?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(t,this._cachingAtTime),this._cachingAtTime.lastFrame=t),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(t){this.propertyGroup=t}};function addPropertyDecorator(){function t(t,e,r){if(!this.k||!this.keyframes)return this.pv;t=t?t.toLowerCase():"";var i,n,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,h=c[c.length-1].t;if(l<=h)return this.pv;if(r?n=h-(i=e?Math.abs(h-this.elem.comp.globalData.frameRate*e):Math.max(0,h-this.elem.data.ip)):((!e||e>c.length-1)&&(e=c.length-1),i=h-(n=c[c.length-1-e].t)),"pingpong"===t){if(Math.floor((l-n)/i)%2!=0)return this.getValueAtTime((i-(l-n)%i+n)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var u=this.getValueAtTime(n/this.comp.globalData.frameRate,0),d=this.getValueAtTime(h/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0),f=Math.floor((l-n)/i);if(this.pv.length){for(s=(o=new Array(u.length)).length,a=0;a<s;a+=1)o[a]=(d[a]-u[a])*f+p[a];return o}return(d-u)*f+p}if("continue"===t){var m=this.getValueAtTime(h/this.comp.globalData.frameRate,0),g=this.getValueAtTime((h-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*((l-h)/this.comp.globalData.frameRate)/5e-4;return o}return m+(l-h)/.001*(m-g)}}return this.getValueAtTime(((l-n)%i+n)/this.comp.globalData.frameRate,0)}function e(t,e,r){if(!this.k)return this.pv;t=t?t.toLowerCase():"";var i,n,a,s,o,l=this.comp.renderedFrame,c=this.keyframes,h=c[0].t;if(l>=h)return this.pv;if(r?n=h+(i=e?Math.abs(this.elem.comp.globalData.frameRate*e):Math.max(0,this.elem.data.op-h)):((!e||e>c.length-1)&&(e=c.length-1),i=(n=c[e].t)-h),"pingpong"===t){if(Math.floor((h-l)/i)%2==0)return this.getValueAtTime(((h-l)%i+h)/this.comp.globalData.frameRate,0)}else{if("offset"===t){var u=this.getValueAtTime(h/this.comp.globalData.frameRate,0),d=this.getValueAtTime(n/this.comp.globalData.frameRate,0),p=this.getValueAtTime((i-(h-l)%i+h)/this.comp.globalData.frameRate,0),f=Math.floor((h-l)/i)+1;if(this.pv.length){for(s=(o=new Array(u.length)).length,a=0;a<s;a+=1)o[a]=p[a]-(d[a]-u[a])*f;return o}return p-(d-u)*f}if("continue"===t){var m=this.getValueAtTime(h/this.comp.globalData.frameRate,0),g=this.getValueAtTime((h+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(o=new Array(m.length)).length,a=0;a<s;a+=1)o[a]=m[a]+(m[a]-g[a])*(h-l)/.001;return o}return m+(m-g)*(h-l)/.001}}return this.getValueAtTime((i-((h-l)%i+h))/this.comp.globalData.frameRate,0)}function r(t,e){if(!this.k)return this.pv;if(t=.5*(t||.4),(e=Math.floor(e||5))<=1)return this.pv;var r,i,n=this.comp.renderedFrame/this.comp.globalData.frameRate,a=n-t,s=e>1?(n+t-a)/(e-1):1,o=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;o<e;){if(i=this.getValueAtTime(a+o*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=i[l];else r+=i;o+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=e;else r/=e;return r}function i(t){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var e=this._transformCachingAtTime.v;if(e.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(t);e.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var i=this.s.getValueAtTime(t);e.scale(i[0]*this.s.mult,i[1]*this.s.mult,i[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var n=this.sk.getValueAtTime(t),a=this.sa.getValueAtTime(t);e.skewFromAxis(-n*this.sk.mult,a*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(t);e.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var o=this.rz.getValueAtTime(t),l=this.ry.getValueAtTime(t),c=this.rx.getValueAtTime(t),h=this.or.getValueAtTime(t);e.rotateZ(-o*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-h[2]*this.or.mult).rotateY(h[1]*this.or.mult).rotateX(h[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var u=this.px.getValueAtTime(t),d=this.py.getValueAtTime(t);if(this.data.p.z){var p=this.pz.getValueAtTime(t);e.translate(u*this.px.mult,d*this.py.mult,-p*this.pz.mult)}else e.translate(u*this.px.mult,d*this.py.mult,0)}else{var f=this.p.getValueAtTime(t);e.translate(f[0]*this.p.mult,f[1]*this.p.mult,-f[2]*this.p.mult)}return e}function n(){return this.v.clone(new Matrix)}var a=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(t,e,r){var s=a(t,e,r);return s.dynamicProperties.length?s.getValueAtTime=i.bind(s):s.getValueAtTime=n.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(i,n,a,o,l){var c=s(i,n,a,o,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=t,c.loopIn=e,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===n.a?n.k.length:0,c.propertyIndex=n.ix;var h=0;return 0!==a&&(h=createTypedArray("float32",1===n.a?n.k[0].s.length:n.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:h},expressionHelpers.searchExpressions(i,n,c),c.k&&l.addDynamicProperty(c),c};var o=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(t,e){this.k&&this.getValue();var r,i=this.v;void 0!==e&&(i=this.getValueAtTime(e,0));var n=i._length,a=i[t],s=i.v,o=createSizedArray(n);for(r=0;r<n;r+=1)o[r]="i"===t||"o"===t?[a[r][0]-s[r][0],a[r][1]-s[r][1]]:[a[r][0],a[r][1]];return o},points:function(t){return this.vertices("v",t)},inTangents:function(t){return this.vertices("i",t)},outTangents:function(t){return this.vertices("o",t)},isClosed:function(){return this.v.c},pointOnPath:function(t,e){var r=this.v;void 0!==e&&(r=this.getValueAtTime(e,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var i,n=this._segmentsLength,a=n.lengths,s=n.totalLength*t,o=0,l=a.length,c=0;o<l;){if(c+a[o].addedLength>s){var h=o,u=r.c&&o===l-1?0:o+1,d=(s-c)/a[o].addedLength;i=bez.getPointInSegment(r.v[h],r.v[u],r.o[h],r.i[u],d,a[o]);break}c+=a[o].addedLength,o+=1}return i||(i=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),i},vectorOnPath:function(t,e,r){1==t?t=this.v.c:0==t&&(t=.999);var i=this.pointOnPath(t,e),n=this.pointOnPath(t+.001,e),a=n[0]-i[0],s=n[1]-i[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([c],o),extendPrototype([c],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<t?this._caching.lastIndex:0,this._cachingAtTime.lastTime=t,this.interpolateShape(t,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var h=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(t,e,r,i,n){var a=h(t,e,r,i,n);return a.propertyIndex=e.ix,a.lock=!1,3===r?expressionHelpers.searchExpressions(t,e.pt,a):4===r&&expressionHelpers.searchExpressions(t,e.ks,a),a.k&&t.addDynamicProperty(a),a}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(t,e){var r=this.calculateExpression(e);if(t.t!==r){var i={};return this.copyData(i,t),i.t=r.toString(),i.__complete=!1,i}return t},TextProperty.prototype.searchProperty=function(){var t=this.searchKeyframes(),e=this.searchExpressions();return this.kf=t||e,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function(t,e){var r,i,n=createNS("feMerge");for(n.setAttribute("result",t),i=0;i<e.length;i+=1)(r=createNS("feMergeNode")).setAttribute("in",e[i]),n.appendChild(r),n.appendChild(r);return n}};var linearFilterValue="0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0";function SVGTintFilter(t,e,r,i,n){this.filterManager=e;var a=createNS("feColorMatrix");a.setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","linearRGB"),a.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=a,a.setAttribute("result",i+"_tint_1"),t.appendChild(a),(a=createNS("feColorMatrix")).setAttribute("type","matrix"),a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),a.setAttribute("result",i+"_tint_2"),t.appendChild(a),this.matrixFilter=a;var s=this.createMergeNode(i,[n,i+"_tint_1",i+"_tint_2"]);t.appendChild(s)}function SVGFillFilter(t,e,r,i){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","sRGB"),n.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),n.setAttribute("result",i),t.appendChild(n),this.matrixFilter=n}function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}function SVGTritoneFilter(t,e,r,i){this.filterManager=e;var n=createNS("feColorMatrix");n.setAttribute("type","matrix"),n.setAttribute("color-interpolation-filters","linearRGB"),n.setAttribute("values","0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0"),t.appendChild(n);var a=createNS("feComponentTransfer");a.setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),this.matrixFilter=a;var s=createNS("feFuncR");s.setAttribute("type","table"),a.appendChild(s),this.feFuncR=s;var o=createNS("feFuncG");o.setAttribute("type","table"),a.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),a.appendChild(l),this.feFuncB=l,t.appendChild(a)}function SVGProLevelsFilter(t,e,r,i){this.filterManager=e;var n=this.filterManager.effectElements,a=createNS("feComponentTransfer");(n[10].p.k||0!==n[10].p.v||n[11].p.k||1!==n[11].p.v||n[12].p.k||1!==n[12].p.v||n[13].p.k||0!==n[13].p.v||n[14].p.k||1!==n[14].p.v)&&(this.feFuncR=this.createFeFunc("feFuncR",a)),(n[17].p.k||0!==n[17].p.v||n[18].p.k||1!==n[18].p.v||n[19].p.k||1!==n[19].p.v||n[20].p.k||0!==n[20].p.v||n[21].p.k||1!==n[21].p.v)&&(this.feFuncG=this.createFeFunc("feFuncG",a)),(n[24].p.k||0!==n[24].p.v||n[25].p.k||1!==n[25].p.v||n[26].p.k||1!==n[26].p.v||n[27].p.k||0!==n[27].p.v||n[28].p.k||1!==n[28].p.v)&&(this.feFuncB=this.createFeFunc("feFuncB",a)),(n[31].p.k||0!==n[31].p.v||n[32].p.k||1!==n[32].p.v||n[33].p.k||1!==n[33].p.v||n[34].p.k||0!==n[34].p.v||n[35].p.k||1!==n[35].p.v)&&(this.feFuncA=this.createFeFunc("feFuncA",a)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(a.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(a)),(n[3].p.k||0!==n[3].p.v||n[4].p.k||1!==n[4].p.v||n[5].p.k||1!==n[5].p.v||n[6].p.k||0!==n[6].p.v||n[7].p.k||1!==n[7].p.v)&&((a=createNS("feComponentTransfer")).setAttribute("color-interpolation-filters","sRGB"),a.setAttribute("result",i),t.appendChild(a),this.feFuncRComposed=this.createFeFunc("feFuncR",a),this.feFuncGComposed=this.createFeFunc("feFuncG",a),this.feFuncBComposed=this.createFeFunc("feFuncB",a))}function SVGDropShadowEffect(t,e,r,i,n){var a=e.container.globalData.renderConfig.filterSize,s=e.data.fs||a;t.setAttribute("x",s.x||a.x),t.setAttribute("y",s.y||a.y),t.setAttribute("width",s.width||a.width),t.setAttribute("height",s.height||a.height),this.filterManager=e;var o=createNS("feGaussianBlur");o.setAttribute("in","SourceAlpha"),o.setAttribute("result",i+"_drop_shadow_1"),o.setAttribute("stdDeviation","0"),this.feGaussianBlur=o,t.appendChild(o);var l=createNS("feOffset");l.setAttribute("dx","25"),l.setAttribute("dy","0"),l.setAttribute("in",i+"_drop_shadow_1"),l.setAttribute("result",i+"_drop_shadow_2"),this.feOffset=l,t.appendChild(l);var c=createNS("feFlood");c.setAttribute("flood-color","#00ff00"),c.setAttribute("flood-opacity","1"),c.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=c,t.appendChild(c);var h=createNS("feComposite");h.setAttribute("in",i+"_drop_shadow_3"),h.setAttribute("in2",i+"_drop_shadow_2"),h.setAttribute("operator","in"),h.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(h);var u=this.createMergeNode(i,[i+"_drop_shadow_4",n]);t.appendChild(u)}extendPrototype([SVGComposableEffect],SVGTintFilter),SVGTintFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v/100;this.linearFilter.setAttribute("values",linearFilterValue+" "+i+" 0"),this.matrixFilter.setAttribute("values",r[0]-e[0]+" 0 0 0 "+e[0]+" "+(r[1]-e[1])+" 0 0 0 "+e[1]+" "+(r[2]-e[2])+" 0 0 0 "+e[2]+" 0 0 0 1 0")}},SVGFillFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[2].p.v,r=this.filterManager.effectElements[6].p.v;this.matrixFilter.setAttribute("values","0 0 0 0 "+e[0]+" 0 0 0 0 "+e[1]+" 0 0 0 0 "+e[2]+" 0 0 0 "+r+" 0")}},SVGStrokeEffect.prototype.initialize=function(){var t,e,r,i,n=this.elem.layerElement.children||this.elem.layerElement.childNodes;for(1===this.filterManager.effectElements[1].p.v?(i=this.elem.maskManager.masksProperties.length,r=0):i=1+(r=this.filterManager.effectElements[0].p.v-1),(e=createNS("g")).setAttribute("fill","none"),e.setAttribute("stroke-linecap","round"),e.setAttribute("stroke-dashoffset",1);r<i;r+=1)t=createNS("path"),e.appendChild(t),this.paths.push({p:t,m:r});if(3===this.filterManager.effectElements[10].p.v){var a=createNS("mask"),s=createElementID();a.setAttribute("id",s),a.setAttribute("mask-type","alpha"),a.appendChild(e),this.elem.globalData.defs.appendChild(a);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+s+")");n[0];)o.appendChild(n[0]);this.elem.layerElement.appendChild(o),this.masker=a,e.setAttribute("stroke","#fff")}else if(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v){if(2===this.filterManager.effectElements[10].p.v)for(n=this.elem.layerElement.children||this.elem.layerElement.childNodes;n.length;)this.elem.layerElement.removeChild(n[0]);this.elem.layerElement.appendChild(e),this.elem.layerElement.removeAttribute("mask"),e.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=e},SVGStrokeEffect.prototype.renderFrame=function(t){var e;this.initialized||this.initialize();var r,i,n=this.paths.length;for(e=0;e<n;e+=1)if(-1!==this.paths[e].m&&(r=this.elem.maskManager.viewData[this.paths[e].m],i=this.paths[e].p,(t||this.filterManager._mdf||r.prop._mdf)&&i.setAttribute("d",r.lastPath),t||this.filterManager.effectElements[9].p._mdf||this.filterManager.effectElements[4].p._mdf||this.filterManager.effectElements[7].p._mdf||this.filterManager.effectElements[8].p._mdf||r.prop._mdf)){var a;if(0!==this.filterManager.effectElements[7].p.v||100!==this.filterManager.effectElements[8].p.v){var s=.01*Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),o=.01*Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v),l=i.getTotalLength();a="0 0 0 "+l*s+" ";var c,h=l*(o-s),u=1+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(h/u);for(c=0;c<d;c+=1)a+="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01+" ";a+="0 "+10*l+" 0 0"}else a="1 "+2*this.filterManager.effectElements[4].p.v*this.filterManager.effectElements[9].p.v*.01;i.setAttribute("stroke-dasharray",a)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",2*this.filterManager.effectElements[4].p.v),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(1===this.filterManager.effectElements[10].p.v||2===this.filterManager.effectElements[10].p.v)&&(t||this.filterManager.effectElements[3].p._mdf)){var p=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(255*p[0])+","+bmFloor(255*p[1])+","+bmFloor(255*p[2])+")")}},SVGTritoneFilter.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=this.filterManager.effectElements[2].p.v,n=i[0]+" "+r[0]+" "+e[0],a=i[1]+" "+r[1]+" "+e[1],s=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",a),this.feFuncB.setAttribute("tableValues",s)}},SVGProLevelsFilter.prototype.createFeFunc=function(t,e){var r=createNS(t);return r.setAttribute("type","table"),e.appendChild(r),r},SVGProLevelsFilter.prototype.getTableValue=function(t,e,r,i,n){for(var a,s,o=0,l=Math.min(t,e),c=Math.max(t,e),h=Array.call(null,{length:256}),u=0,d=n-i,p=e-t;o<=256;)s=(a=o/256)<=l?p<0?n:i:a>=c?p<0?i:n:i+d*Math.pow((a-t)/p,1/r),h[u]=s,u+=1,o+=256/255;return h.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,i=(this.filterManager.effectElements[2].p.v-90)*degToRads,n=r*Math.cos(i),a=r*Math.sin(i);this.feOffset.setAttribute("dx",n),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,i){t.setAttribute("x","-100%"),t.setAttribute("y","-100%"),t.setAttribute("width","300%"),t.setAttribute("height","300%"),this.filterManager=e;var n=createNS("feGaussianBlur");n.setAttribute("result",i),t.appendChild(n),this.feGaussianBlur=n}return SVGMatte3Effect.prototype.findSymbol=function(t){for(var e=0,r=_svgMatteSymbols.length;e<r;){if(_svgMatteSymbols[e]===t)return _svgMatteSymbols[e];e+=1}return null},SVGMatte3Effect.prototype.replaceInParent=function(t,e){var r=t.layerElement.parentNode;if(r){for(var i,n=r.children,a=0,s=n.length;a<s&&n[a]!==t.layerElement;)a+=1;a<=s-2&&(i=n[a+1]);var o=createNS("use");o.setAttribute("href","#"+e),i?r.insertBefore(o,i):r.appendChild(o)}},SVGMatte3Effect.prototype.setElementAsMask=function(t,e){if(!this.findSymbol(e)){var r=createElementID(),i=createNS("mask");i.setAttribute("id",e.layerId),i.setAttribute("mask-type","alpha"),_svgMatteSymbols.push(e);var n=t.globalData.defs;n.appendChild(i);var a=createNS("symbol");a.setAttribute("id",r),this.replaceInParent(e,r),a.appendChild(e.layerElement),n.appendChild(a);var s=createNS("use");s.setAttribute("href","#"+r),i.appendChild(s),e.data.hd=!1,e.show()}t.setMatte(e.layerId)},SVGMatte3Effect.prototype.initialize=function(){for(var t=this.filterManager.effectElements[0].p.v,e=this.elem.comp.elements,r=0,i=e.length;r<i;)e[r]&&e[r].data.ind===t&&this.setElementAsMask(this.elem,e[r]),r+=1;this.initialized=!0},SVGMatte3Effect.prototype.renderFrame=function(){this.initialized||this.initialize()},SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3*this.filterManager.effectElements[0].p.v,r=this.filterManager.effectElements[1].p.v,i=3==r?0:e,n=2==r?0:e;this.feGaussianBlur.setAttribute("stdDeviation",i+" "+n);var a=1==this.filterManager.effectElements[2].p.v?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}},registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect(20,SVGTintFilter,!0),registerEffect(21,SVGFillFilter,!0),registerEffect(22,SVGStrokeEffect,!1),registerEffect(23,SVGTritoneFilter,!0),registerEffect(24,SVGProLevelsFilter,!0),registerEffect(25,SVGDropShadowEffect,!0),registerEffect(28,SVGMatte3Effect,!1),registerEffect(29,SVGGaussianBlurEffect,!0),lottie},module.exports=factory())},842:function(t,e,r){!function(e,i){t.exports?t.exports=i(e,r(158)):e.Unidragger=i(e,e.EvEmitter)}("undefined"!=typeof window?window:this,(function(t,e){function r(){}let i,n,a=r.prototype=Object.create(e.prototype);a.handleEvent=function(t){let e="on"+t.type;this[e]&&this[e](t)},"ontouchstart"in t?(i="touchstart",n=["touchmove","touchend","touchcancel"]):t.PointerEvent?(i="pointerdown",n=["pointermove","pointerup","pointercancel"]):(i="mousedown",n=["mousemove","mouseup"]),a.touchActionValue="none",a.bindHandles=function(){this._bindHandles("addEventListener",this.touchActionValue)},a.unbindHandles=function(){this._bindHandles("removeEventListener","")},a._bindHandles=function(e,r){this.handles.forEach((n=>{n[e](i,this),n[e]("click",this),t.PointerEvent&&(n.style.touchAction=r)}))},a.bindActivePointerEvents=function(){n.forEach((e=>{t.addEventListener(e,this)}))},a.unbindActivePointerEvents=function(){n.forEach((e=>{t.removeEventListener(e,this)}))},a.withPointer=function(t,e){e.pointerId===this.pointerIdentifier&&this[t](e,e)},a.withTouch=function(t,e){let r;for(let t of e.changedTouches)t.identifier===this.pointerIdentifier&&(r=t);r&&this[t](e,r)},a.onmousedown=function(t){this.pointerDown(t,t)},a.ontouchstart=function(t){this.pointerDown(t,t.changedTouches[0])},a.onpointerdown=function(t){this.pointerDown(t,t)};const s=["TEXTAREA","INPUT","SELECT","OPTION"],o=["radio","checkbox","button","submit","image","file"];return a.pointerDown=function(t,e){let r=s.includes(t.target.nodeName),i=o.includes(t.target.type),n=!r||i;!this.isPointerDown&&!t.button&&n&&(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this.bindActivePointerEvents(),this.emitEvent("pointerDown",[t,e]))},a.onmousemove=function(t){this.pointerMove(t,t)},a.onpointermove=function(t){this.withPointer("pointerMove",t)},a.ontouchmove=function(t){this.withTouch("pointerMove",t)},a.pointerMove=function(t,e){let r={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};this.emitEvent("pointerMove",[t,e,r]),!this.isDragging&&this.hasDragStarted(r)&&this.dragStart(t,e),this.isDragging&&this.dragMove(t,e,r)},a.hasDragStarted=function(t){return Math.abs(t.x)>3||Math.abs(t.y)>3},a.dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.emitEvent("dragStart",[t,e])},a.dragMove=function(t,e,r){this.emitEvent("dragMove",[t,e,r])},a.onmouseup=function(t){this.pointerUp(t,t)},a.onpointerup=function(t){this.withPointer("pointerUp",t)},a.ontouchend=function(t){this.withTouch("pointerUp",t)},a.pointerUp=function(t,e){this.pointerDone(),this.emitEvent("pointerUp",[t,e]),this.isDragging?this.dragEnd(t,e):this.staticClick(t,e)},a.dragEnd=function(t,e){this.isDragging=!1,setTimeout((()=>delete this.isPreventingClicks)),this.emitEvent("dragEnd",[t,e])},a.pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this.unbindActivePointerEvents(),this.emitEvent("pointerDone")},a.onpointercancel=function(t){this.withPointer("pointerCancel",t)},a.ontouchcancel=function(t){this.withTouch("pointerCancel",t)},a.pointerCancel=function(t,e){this.pointerDone(),this.emitEvent("pointerCancel",[t,e])},a.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},a.staticClick=function(t,e){let r="mouseup"===t.type;r&&this.isIgnoringMouseUp||(this.emitEvent("staticClick",[t,e]),r&&(this.isIgnoringMouseUp=!0,setTimeout((()=>{delete this.isIgnoringMouseUp}),400)))},r}))},659:function(t,e,r){var i,n;"undefined"!=typeof window&&window,void 0===(n="function"==typeof(i=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var r=this._events=this._events||{},i=r[t]=r[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var r=this._onceEvents=this._onceEvents||{};return(r[t]=r[t]||{})[e]=!0,this}},e.off=function(t,e){var r=this._events&&this._events[t];if(r&&r.length){var i=r.indexOf(e);return-1!=i&&r.splice(i,1),this}},e.emitEvent=function(t,e){var r=this._events&&this._events[t];if(r&&r.length){r=r.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],n=0;n<r.length;n++){var a=r[n];i&&i[a]&&(this.off(t,a),delete i[a]),a.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?i.call(e,r,e,t):i)||(t.exports=n)},704:function(t,e,r){var i,n;!function(a,s){i=[r(659)],n=function(t){return function(t,e){"use strict";function r(){}function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,r){var i=(r=void 0===r||r)?"addEventListener":"removeEventListener",n="mousedown";"ontouchstart"in t?n="touchstart":t.PointerEvent&&(n="pointerdown"),e[i](n,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e<t.length;e++){var r=t[e];if(r.identifier==this.pointerIdentifier)return r}},n.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},n.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},n.onpointerdown=function(t){this._pointerDown(t,t)},n._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},n.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])};var a={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return n._bindPostStartEvents=function(e){if(e){var r=a[e.type];r.forEach((function(e){t.addEventListener(e,this)}),this),this._boundPointerEvents=r}},n._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(e){t.removeEventListener(e,this)}),this),delete this._boundPointerEvents)},n.onmousemove=function(t){this._pointerMove(t,t)},n.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},n.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},n._pointerMove=function(t,e){this.pointerMove(t,e)},n.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},n.onmouseup=function(t){this._pointerUp(t,t)},n.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},n.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},n._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},n._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},n._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},n.pointerDone=r,n.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},n.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},n._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},n.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},i.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},i}(a,t)}.apply(e,i),void 0===n||(t.exports=n)}(window)}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var r=__webpack_module_cache__[t]={id:t,loaded:!1,exports:{}};return __webpack_modules__[t].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.amdO={},__webpack_require__.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=function(t,e){for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},__webpack_require__.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t};var __webpack_exports__={};!function(){"use strict";function t(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var e,r,i,n,a,s,o,l,c,h,u,d,p,f=function(){return e||"undefined"!=typeof window&&(e=window.gsap)&&e.registerPlugin&&e},m=1,g=[],v=[],y=[],b=Date.now,_=function(t,e){return e},E=function(t,e){return~y.indexOf(t)&&y[y.indexOf(t)+1][e]},S=function(t){return!!~h.indexOf(t)},x=function(t,e,r,i,n){return t.addEventListener(e,r,{passive:!i,capture:!!n})},w=function(t,e,r,i){return t.removeEventListener(e,r,!!i)},C="scrollLeft",P="scrollTop",A=function(){return u&&u.isPressed||v.cache++},T=function(t,e){var r=function r(n){if(n||0===n){m&&(i.history.scrollRestoration="manual");var a=u&&u.isPressed;n=r.v=Math.round(n)||(u&&u.iOS?1:0),t(n),r.cacheID=v.cache,a&&_("ss",n)}else(e||v.cache!==r.cacheID||_("ref"))&&(r.cacheID=v.cache,r.v=t());return r.v+r.offset};return r.offset=0,t&&r},k={s:C,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:T((function(t){return arguments.length?i.scrollTo(t,L.sc()):i.pageXOffset||n[C]||a[C]||s[C]||0}))},L={s:P,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:k,sc:T((function(t){return arguments.length?i.scrollTo(k.sc(),t):i.pageYOffset||n[P]||a[P]||s[P]||0}))},D=function(t){return e.utils.toArray(t)[0]||("string"==typeof t&&!1!==e.config().nullTargetWarn?console.warn("Element not found:",t):null)},I=function(t,r){var i=r.s,s=r.sc;S(t)&&(t=n.scrollingElement||a);var o=v.indexOf(t),l=s===L.sc?1:2;!~o&&(o=v.push(t)-1),v[o+l]||t.addEventListener("scroll",A);var c=v[o+l],h=c||(v[o+l]=T(E(t,i),!0)||(S(t)?s:T((function(e){return arguments.length?t[i]=e:t[i]}))));return h.target=t,c||(h.smooth="smooth"===e.getProperty(t,"scrollBehavior")),h},M=function(t,e,r){var i=t,n=t,a=b(),s=a,o=e||50,l=Math.max(500,3*o),c=function(t,e){var l=b();e||l-a>o?(n=i,i=t,s=a,a=l):r?i+=t:i=n+(t-n)/(l-s)*(a-s)};return{update:c,reset:function(){n=i=r?0:i,s=a=0},getVelocity:function(t){var e=s,o=n,h=b();return(t||0===t)&&t!==i&&c(t),a===s||h-s>l?0:(i+(r?o:-o))/((r?h:a)-e)*1e3}}},O=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},F=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},R=function(){var t,r,i,n;(c=e.core.globals().ScrollTrigger)&&c.core&&(t=c.core,r=t.bridge||{},i=t._scrollers,n=t._proxies,i.push.apply(i,v),n.push.apply(n,y),v=i,y=n,_=function(t,e){return r[t](e)})},N=function(t){return(e=t||f())&&"undefined"!=typeof document&&document.body&&(i=window,n=document,a=n.documentElement,s=n.body,h=[i,n,a,s],e.utils.clamp,p=e.core.context||function(){},l="onpointerenter"in s?"pointer":"mouse",o=B.isTouch=i.matchMedia&&i.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in i||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,d=B.eventTypes=("ontouchstart"in a?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in a?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return m=0}),500),R(),r=1),r};k.op=L,v.cache=0;var B=function(){function h(t){this.init(t)}var f,m,v;return h.prototype.init=function(t){r||N(e)||console.warn("Please gsap.registerPlugin(Observer)"),c||R();var h=t.tolerance,f=t.dragMinimum,m=t.type,v=t.target,y=t.lineHeight,_=t.debounce,E=t.preventDefault,C=t.onStop,P=t.onStopDelay,T=t.ignore,B=t.wheelSpeed,V=t.event,q=t.onDragStart,z=t.onDragEnd,j=t.onDrag,G=t.onPress,H=t.onRelease,W=t.onRight,$=t.onLeft,U=t.onUp,Y=t.onDown,X=t.onChangeX,K=t.onChangeY,Z=t.onChange,J=t.onToggleX,Q=t.onToggleY,tt=t.onHover,et=t.onHoverEnd,rt=t.onMove,it=t.ignoreCheck,nt=t.isNormalizer,at=t.onGestureStart,st=t.onGestureEnd,ot=t.onWheel,lt=t.onEnable,ct=t.onDisable,ht=t.onClick,ut=t.scrollSpeed,dt=t.capture,pt=t.allowClicks,ft=t.lockAxis,mt=t.onLockAxis;this.target=v=D(v)||a,this.vars=t,T&&(T=e.utils.toArray(T)),h=h||1e-9,f=f||0,B=B||1,ut=ut||1,m=m||"wheel,touch,pointer",_=!1!==_,y||(y=parseFloat(i.getComputedStyle(s).lineHeight)||22);var gt,vt,yt,bt,_t,Et,St,xt=this,wt=0,Ct=0,Pt=I(v,k),At=I(v,L),Tt=Pt(),kt=At(),Lt=~m.indexOf("touch")&&!~m.indexOf("pointer")&&"pointerdown"===d[0],Dt=S(v),It=v.ownerDocument||n,Mt=[0,0,0],Ot=[0,0,0],Ft=0,Rt=function(){return Ft=b()},Nt=function(t,e){return(xt.event=t)&&T&&~T.indexOf(t.target)||e&&Lt&&"touch"!==t.pointerType||it&&it(t,e)},Bt=function(){var t=xt.deltaX=F(Mt),e=xt.deltaY=F(Ot),r=Math.abs(t)>=h,i=Math.abs(e)>=h;Z&&(r||i)&&Z(xt,t,e,Mt,Ot),r&&(W&&xt.deltaX>0&&W(xt),$&&xt.deltaX<0&&$(xt),X&&X(xt),J&&xt.deltaX<0!=wt<0&&J(xt),wt=xt.deltaX,Mt[0]=Mt[1]=Mt[2]=0),i&&(Y&&xt.deltaY>0&&Y(xt),U&&xt.deltaY<0&&U(xt),K&&K(xt),Q&&xt.deltaY<0!=Ct<0&&Q(xt),Ct=xt.deltaY,Ot[0]=Ot[1]=Ot[2]=0),(bt||yt)&&(rt&&rt(xt),yt&&(j(xt),yt=!1),bt=!1),Et&&!(Et=!1)&&mt&&mt(xt),_t&&(ot(xt),_t=!1),gt=0},Vt=function(t,e,r){Mt[r]+=t,Ot[r]+=e,xt._vx.update(t),xt._vy.update(e),_?gt||(gt=requestAnimationFrame(Bt)):Bt()},qt=function(t,e){ft&&!St&&(xt.axis=St=Math.abs(t)>Math.abs(e)?"x":"y",Et=!0),"y"!==St&&(Mt[2]+=t,xt._vx.update(t,!0)),"x"!==St&&(Ot[2]+=e,xt._vy.update(e,!0)),_?gt||(gt=requestAnimationFrame(Bt)):Bt()},zt=function(t){if(!Nt(t,1)){var e=(t=O(t,E)).clientX,r=t.clientY,i=e-xt.x,n=r-xt.y,a=xt.isDragging;xt.x=e,xt.y=r,(a||Math.abs(xt.startX-e)>=f||Math.abs(xt.startY-r)>=f)&&(j&&(yt=!0),a||(xt.isDragging=!0),qt(i,n),a||q&&q(xt))}},jt=xt.onPress=function(t){Nt(t,1)||(xt.axis=St=null,vt.pause(),xt.isPressed=!0,t=O(t),wt=Ct=0,xt.startX=xt.x=t.clientX,xt.startY=xt.y=t.clientY,xt._vx.reset(),xt._vy.reset(),x(nt?v:It,d[1],zt,E,!0),xt.deltaX=xt.deltaY=0,G&&G(xt))},Gt=function(t){if(!Nt(t,1)){w(nt?v:It,d[1],zt,!0);var r=!isNaN(xt.y-xt.startY),n=xt.isDragging&&(Math.abs(xt.x-xt.startX)>3||Math.abs(xt.y-xt.startY)>3),a=O(t);!n&&r&&(xt._vx.reset(),xt._vy.reset(),E&&pt&&e.delayedCall(.08,(function(){if(b()-Ft>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(It.createEvent){var e=It.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,i,1,a.screenX,a.screenY,a.clientX,a.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),xt.isDragging=xt.isGesturing=xt.isPressed=!1,C&&!nt&&vt.restart(!0),z&&n&&z(xt),H&&H(xt,n)}},Ht=function(t){return t.touches&&t.touches.length>1&&(xt.isGesturing=!0)&&at(t,xt.isDragging)},Wt=function(){return(xt.isGesturing=!1)||st(xt)},$t=function(t){if(!Nt(t)){var e=Pt(),r=At();Vt((e-Tt)*ut,(r-kt)*ut,1),Tt=e,kt=r,C&&vt.restart(!0)}},Ut=function(t){if(!Nt(t)){t=O(t,E),ot&&(_t=!0);var e=(1===t.deltaMode?y:2===t.deltaMode?i.innerHeight:1)*B;Vt(t.deltaX*e,t.deltaY*e,0),C&&!nt&&vt.restart(!0)}},Yt=function(t){if(!Nt(t)){var e=t.clientX,r=t.clientY,i=e-xt.x,n=r-xt.y;xt.x=e,xt.y=r,bt=!0,(i||n)&&qt(i,n)}},Xt=function(t){xt.event=t,tt(xt)},Kt=function(t){xt.event=t,et(xt)},Zt=function(t){return Nt(t)||O(t,E)&&ht(xt)};vt=xt._dc=e.delayedCall(P||.25,(function(){xt._vx.reset(),xt._vy.reset(),vt.pause(),C&&C(xt)})).pause(),xt.deltaX=xt.deltaY=0,xt._vx=M(0,50,!0),xt._vy=M(0,50,!0),xt.scrollX=Pt,xt.scrollY=At,xt.isDragging=xt.isGesturing=xt.isPressed=!1,p(this),xt.enable=function(t){return xt.isEnabled||(x(Dt?It:v,"scroll",A),m.indexOf("scroll")>=0&&x(Dt?It:v,"scroll",$t,E,dt),m.indexOf("wheel")>=0&&x(v,"wheel",Ut,E,dt),(m.indexOf("touch")>=0&&o||m.indexOf("pointer")>=0)&&(x(v,d[0],jt,E,dt),x(It,d[2],Gt),x(It,d[3],Gt),pt&&x(v,"click",Rt,!1,!0),ht&&x(v,"click",Zt),at&&x(It,"gesturestart",Ht),st&&x(It,"gestureend",Wt),tt&&x(v,l+"enter",Xt),et&&x(v,l+"leave",Kt),rt&&x(v,l+"move",Yt)),xt.isEnabled=!0,t&&t.type&&jt(t),lt&<(xt)),xt},xt.disable=function(){xt.isEnabled&&(g.filter((function(t){return t!==xt&&S(t.target)})).length||w(Dt?It:v,"scroll",A),xt.isPressed&&(xt._vx.reset(),xt._vy.reset(),w(nt?v:It,d[1],zt,!0)),w(Dt?It:v,"scroll",$t,dt),w(v,"wheel",Ut,dt),w(v,d[0],jt,dt),w(It,d[2],Gt),w(It,d[3],Gt),w(v,"click",Rt,!0),w(v,"click",Zt),w(It,"gesturestart",Ht),w(It,"gestureend",Wt),w(v,l+"enter",Xt),w(v,l+"leave",Kt),w(v,l+"move",Yt),xt.isEnabled=xt.isPressed=xt.isDragging=!1,ct&&ct(xt))},xt.kill=xt.revert=function(){xt.disable();var t=g.indexOf(xt);t>=0&&g.splice(t,1),u===xt&&(u=0)},g.push(xt),nt&&S(v)&&(u=xt),xt.enable(V)},f=h,(m=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&t(f.prototype,m),v&&t(f,v),h}();B.version="3.11.4",B.create=function(t){return new B(t)},B.register=N,B.getAll=function(){return g.slice()},B.getById=function(t){return g.filter((function(e){return e.vars.id===t}))[0]},f()&&e.registerPlugin(B);var V,q,z,j,G,H,W,$,U,Y,X,K,Z,J,Q,tt,et,rt,it,nt,at,st,ot,lt,ct,ht,ut,dt,pt,ft,mt,gt,vt,yt,bt=1,_t=Date.now,Et=_t(),St=0,xt=0,wt=function(){return J=1},Ct=function(){return J=0},Pt=function(t){return t},At=function(t){return Math.round(1e5*t)/1e5||0},Tt=function(){return"undefined"!=typeof window},kt=function(){return V||Tt()&&(V=window.gsap)&&V.registerPlugin&&V},Lt=function(t){return!!~W.indexOf(t)},Dt=function(t){return E(t,"getBoundingClientRect")||(Lt(t)?function(){return je.width=z.innerWidth,je.height=z.innerHeight,je}:function(){return ie(t)})},It=function(t,e){var r=e.s,i=e.d2,n=e.d,a=e.a;return(r="scroll"+i)&&(a=E(t,r))?a()-Dt(t)()[n]:Lt(t)?(G[r]||H[r])-(z["inner"+i]||G["client"+i]||H["client"+i]):t[r]-t["offset"+i]},Mt=function(t,e){for(var r=0;r<it.length;r+=3)(!e||~e.indexOf(it[r+1]))&&t(it[r],it[r+1],it[r+2])},Ot=function(t){return"string"==typeof t},Ft=function(t){return"function"==typeof t},Rt=function(t){return"number"==typeof t},Nt=function(t){return"object"==typeof t},Bt=function(t,e,r){return t&&t.progress(e?0:1)&&r&&t.pause()},Vt=function(t,e){if(t.enabled){var r=e(t);r&&r.totalTime&&(t.callbackAnimation=r)}},qt=Math.abs,zt="left",jt="right",Gt="bottom",Ht="width",Wt="height",$t="Right",Ut="Left",Yt="Top",Xt="Bottom",Kt="padding",Zt="margin",Jt="Width",Qt="Height",te="px",ee=function(t){return z.getComputedStyle(t)},re=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},ie=function(t,e){var r=e&&"matrix(1, 0, 0, 1, 0, 0)"!==ee(t)[Q]&&V.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),i=t.getBoundingClientRect();return r&&r.progress(0).kill(),i},ne=function(t,e){var r=e.d2;return t["offset"+r]||t["client"+r]||0},ae=function(t){var e,r=[],i=t.labels,n=t.duration();for(e in i)r.push(i[e]/n);return r},se=function(t){var e=V.utils.snap(t),r=Array.isArray(t)&&t.slice(0).sort((function(t,e){return t-e}));return r?function(t,i,n){var a;if(void 0===n&&(n=.001),!i)return e(t);if(i>0){for(t-=n,a=0;a<r.length;a++)if(r[a]>=t)return r[a];return r[a-1]}for(a=r.length,t+=n;a--;)if(r[a]<=t)return r[a];return r[0]}:function(r,i,n){void 0===n&&(n=.001);var a=e(r);return!i||Math.abs(a-r)<n||a-r<0==i<0?a:e(i<0?r-t:r+t)}},oe=function(t,e,r,i){return r.split(",").forEach((function(r){return t(e,r,i)}))},le=function(t,e,r,i,n){return t.addEventListener(e,r,{passive:!i,capture:!!n})},ce=function(t,e,r,i){return t.removeEventListener(e,r,!!i)},he=function(t,e,r){return r&&r.wheelHandler&&t(e,"wheel",r)},ue={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},de={toggleActions:"play",anticipatePin:0},pe={top:0,left:0,center:.5,bottom:1,right:1},fe=function(t,e){if(Ot(t)){var r=t.indexOf("="),i=~r?+(t.charAt(r-1)+1)*parseFloat(t.substr(r+1)):0;~r&&(t.indexOf("%")>r&&(i*=e/100),t=t.substr(0,r-1)),t=i+(t in pe?pe[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},me=function(t,e,r,i,n,a,s,o){var l=n.startColor,c=n.endColor,h=n.fontSize,u=n.indent,d=n.fontWeight,p=j.createElement("div"),f=Lt(r)||"fixed"===E(r,"pinType"),m=-1!==t.indexOf("scroller"),g=f?H:r,v=-1!==t.indexOf("start"),y=v?l:c,b="border-color:"+y+";font-size:"+h+";color:"+y+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((m||o)&&f?"fixed;":"absolute;"),(m||o||!f)&&(b+=(i===L?jt:Gt)+":"+(a+parseFloat(u))+"px;"),s&&(b+="box-sizing:border-box;text-align:left;width:"+s.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=b,p.innerText=e||0===e?t+"-"+e:t,g.children[0]?g.insertBefore(p,g.children[0]):g.appendChild(p),p._offset=p["offset"+i.op.d2],ge(p,0,i,v),p},ge=function(t,e,r,i){var n={display:"block"},a=r[i?"os2":"p2"],s=r[i?"p2":"os2"];t._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+a+Jt]=1,n["border"+s+Jt]=0,n[r.p]=e+"px",V.set(t,n)},ve=[],ye={},be=function(){return _t()-St>34&&(mt||(mt=requestAnimationFrame(Fe)))},_e=function(){(!ot||!ot.isPressed||ot.startX>H.clientWidth)&&(v.cache++,ot?mt||(mt=requestAnimationFrame(Fe)):Fe(),St||Pe("scrollStart"),St=_t())},Ee=function(){ht=z.innerWidth,ct=z.innerHeight},Se=function(){v.cache++,!Z&&!st&&!j.fullscreenElement&&!j.webkitFullscreenElement&&(!lt||ht!==z.innerWidth||Math.abs(z.innerHeight-ct)>.25*z.innerHeight)&&$.restart(!0)},xe={},we=[],Ce=function t(){return ce(Ue,"scrollEnd",t)||Ie(!0)},Pe=function(t){return xe[t]&&xe[t].map((function(t){return t()}))||we},Ae=[],Te=function(t){for(var e=0;e<Ae.length;e+=5)(!t||Ae[e+4]&&Ae[e+4].query===t)&&(Ae[e].style.cssText=Ae[e+1],Ae[e].getBBox&&Ae[e].setAttribute("transform",Ae[e+2]||""),Ae[e+3].uncache=1)},ke=function(t,e){var r;for(tt=0;tt<ve.length;tt++)!(r=ve[tt])||e&&r._ctx!==e||(t?r.kill(1):r.revert(!0,!0));e&&Te(e),e||Pe("revert")},Le=function(t,e){v.cache++,(e||!gt)&&v.forEach((function(t){return Ft(t)&&t.cacheID++&&(t.rec=0)})),Ot(t)&&(z.history.scrollRestoration=pt=t)},De=0,Ie=function(t,e){if(!St||t){gt=Ue.isRefreshing=!0,v.forEach((function(t){return Ft(t)&&t.cacheID++&&(t.rec=t())}));var r=Pe("refreshInit");nt&&Ue.sort(),e||ke(),v.forEach((function(t){Ft(t)&&(t.smooth&&(t.target.style.scrollBehavior="auto"),t(0))})),ve.slice(0).forEach((function(t){return t.refresh()})),ve.forEach((function(t,e){if(t._subPinOffset&&t.pin){var r=t.vars.horizontal?"offsetWidth":"offsetHeight",i=t.pin[r];t.revert(!0,1),t.adjustPinSpacing(t.pin[r]-i),t.revert(!1,1)}})),ve.forEach((function(t){return"max"===t.vars.end&&t.setPositions(t.start,Math.max(t.start+1,It(t.scroller,t._dir)))})),r.forEach((function(t){return t&&t.render&&t.render(-1)})),v.forEach((function(t){Ft(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Le(pt,1),$.pause(),De++,Fe(2),ve.forEach((function(t){return Ft(t.vars.onRefresh)&&t.vars.onRefresh(t)})),gt=Ue.isRefreshing=!1,Pe("refresh")}else le(Ue,"scrollEnd",Ce)},Me=0,Oe=1,Fe=function(t){if(!gt||2===t){Ue.isUpdating=!0,yt&&yt.update(0);var e=ve.length,r=_t(),i=r-Et>=50,n=e&&ve[0].scroll();if(Oe=Me>n?-1:1,Me=n,i&&(St&&!J&&r-St>200&&(St=0,Pe("scrollEnd")),X=Et,Et=r),Oe<0){for(tt=e;tt-- >0;)ve[tt]&&ve[tt].update(0,i);Oe=1}else for(tt=0;tt<e;tt++)ve[tt]&&ve[tt].update(0,i);Ue.isUpdating=!1}mt=0},Re=[zt,"top",Gt,jt,Zt+Xt,Zt+$t,Zt+Yt,Zt+Ut,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Ne=Re.concat([Ht,Wt,"boxSizing","max"+Jt,"max"+Qt,"position",Zt,Kt,Kt+Yt,Kt+$t,Kt+Xt,Kt+Ut]),Be=function(t,e,r,i){if(!t._gsap.swappedIn){for(var n,a=Re.length,s=e.style,o=t.style;a--;)s[n=Re[a]]=r[n];s.position="absolute"===r.position?"absolute":"relative","inline"===r.display&&(s.display="inline-block"),o[Gt]=o[jt]="auto",s.flexBasis=r.flexBasis||"auto",s.overflow="visible",s.boxSizing="border-box",s[Ht]=ne(t,k)+te,s[Wt]=ne(t,L)+te,s[Kt]=o[Zt]=o.top=o[zt]="0",qe(i),o[Ht]=o["max"+Jt]=r[Ht],o[Wt]=o["max"+Qt]=r[Wt],o[Kt]=r[Kt],t.parentNode!==e&&(t.parentNode.insertBefore(e,t),e.appendChild(t)),t._gsap.swappedIn=!0}},Ve=/([A-Z])/g,qe=function(t){if(t){var e,r,i=t.t.style,n=t.length,a=0;for((t.t._gsap||V.core.getCache(t.t)).uncache=1;a<n;a+=2)r=t[a+1],e=t[a],r?i[e]=r:i[e]&&i.removeProperty(e.replace(Ve,"-$1").toLowerCase())}},ze=function(t){for(var e=Ne.length,r=t.style,i=[],n=0;n<e;n++)i.push(Ne[n],r[Ne[n]]);return i.t=t,i},je={left:0,top:0},Ge=function(t,e,r,i,n,a,s,o,l,c,h,u,d){Ft(t)&&(t=t(o)),Ot(t)&&"max"===t.substr(0,3)&&(t=u+("="===t.charAt(4)?fe("0"+t.substr(3),r):0));var p,f,m,g=d?d.time():0;if(d&&d.seek(0),Rt(t))s&&ge(s,r,i,!0);else{Ft(e)&&(e=e(o));var v,y,b,_,E=(t||"0").split(" ");m=D(e)||H,(v=ie(m)||{})&&(v.left||v.top)||"none"!==ee(m).display||(_=m.style.display,m.style.display="block",v=ie(m),_?m.style.display=_:m.style.removeProperty("display")),y=fe(E[0],v[i.d]),b=fe(E[1]||"0",r),t=v[i.p]-l[i.p]-c+y+n-b,s&&ge(s,b,i,r-b<20||s._isStart&&b>20),r-=r-b}if(a){var S=t+r,x=a._isStart;p="scroll"+i.d2,ge(a,S,i,x&&S>20||!x&&(h?Math.max(H[p],G[p]):a.parentNode[p])<=S+1),h&&(l=ie(s),h&&(a.style[i.op.p]=l[i.op.p]-i.op.m-a._offset+te))}return d&&m&&(p=ie(m),d.seek(u),f=ie(m),d._caScrollDist=p[i.p]-f[i.p],t=t/d._caScrollDist*u),d&&d.seek(g),d?t:Math.round(t)},He=/(webkit|moz|length|cssText|inset)/i,We=function(t,e,r,i){if(t.parentNode!==e){var n,a,s=t.style;if(e===H){for(n in t._stOrig=s.cssText,a=ee(t))+n||He.test(n)||!a[n]||"string"!=typeof s[n]||"0"===n||(s[n]=a[n]);s.top=r,s.left=i}else s.cssText=t._stOrig;V.core.getCache(t).uncache=1,e.appendChild(t)}},$e=function(t,e){var r,i,n=I(t,e),a="_scroll"+e.p2,s=function e(s,o,l,c,h){var u=e.tween,d=o.onComplete,p={};return l=l||n(),h=c&&h||0,c=c||s-l,u&&u.kill(),r=Math.round(l),o[a]=s,o.modifiers=p,p[a]=function(t){return(t=Math.round(n()))!==r&&t!==i&&Math.abs(t-r)>3&&Math.abs(t-i)>3?(u.kill(),e.tween=0):t=l+c*u.ratio+h*u.ratio*u.ratio,i=r,r=Math.round(t)},o.onUpdate=function(){v.cache++,Fe()},o.onComplete=function(){e.tween=0,d&&d.call(u)},u=e.tween=V.to(t,o)};return t[a]=n,n.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},le(t,"wheel",n.wheelHandler),s},Ue=function(){function t(e,r){q||t.register(V)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),xt){var i,n,a,s,o,l,c,h,u,d,p,f,m,g,b,_,S,x,w,C,P,A,T,M,O,F,R,N,B,q,W,$,K,Q,et,rt,it,st,ot,lt,ct,ht,ut=e=re(Ot(e)||Rt(e)||e.nodeType?{trigger:e}:e,de),pt=ut.onUpdate,mt=ut.toggleClass,Et=ut.id,wt=ut.onToggle,Ct=ut.onRefresh,Tt=ut.scrub,kt=ut.trigger,Mt=ut.pin,zt=ut.pinSpacing,jt=ut.invalidateOnRefresh,Gt=ut.anticipatePin,oe=ut.onScrubComplete,he=ut.onSnapComplete,pe=ut.once,ge=ut.snap,be=ut.pinReparent,Ee=ut.pinSpacer,xe=ut.containerAnimation,we=ut.fastScrollEnd,Pe=ut.preventOverlaps,Ae=e.horizontal||e.containerAnimation&&!1!==e.horizontal?k:L,Te=!Tt&&0!==Tt,ke=D(e.scroller||z),Le=V.core.getCache(ke),Me=Lt(ke),Fe="fixed"===("pinType"in e?e.pinType:E(ke,"pinType")||Me&&"fixed"),Re=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],Ne=Te&&e.toggleActions.split(" "),Ve="markers"in e?e.markers:de.markers,He=Me?0:parseFloat(ee(ke)["border"+Ae.p2+Jt])||0,Ue=this,Ye=e.onRefreshInit&&function(){return e.onRefreshInit(Ue)},Xe=function(t,e,r){var i=r.d,n=r.d2,a=r.a;return(a=E(t,"getBoundingClientRect"))?function(){return a()[i]}:function(){return(e?z["inner"+n]:t["client"+n])||0}}(ke,Me,Ae),Ke=function(t,e){return!e||~y.indexOf(t)?Dt(t):function(){return je}}(ke,Me),Ze=0,Je=0,Qe=I(ke,Ae);if(dt(Ue),Ue._dir=Ae,Gt*=45,Ue.scroller=ke,Ue.scroll=xe?xe.time.bind(xe):Qe,s=Qe(),Ue.vars=e,r=r||e.animation,"refreshPriority"in e&&(nt=1,-9999===e.refreshPriority&&(yt=Ue)),Le.tweenScroll=Le.tweenScroll||{top:$e(ke,L),left:$e(ke,k)},Ue.tweenTo=i=Le.tweenScroll[Ae.p],Ue.scrubDuration=function(t){($=Rt(t)&&t)?W?W.duration(t):W=V.to(r,{ease:"expo",totalProgress:"+=0.001",duration:$,paused:!0,onComplete:function(){return oe&&oe(Ue)}}):(W&&W.progress(1).kill(),W=0)},r&&(r.vars.lazy=!1,r._initted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),Ue.animation=r.pause(),r.scrollTrigger=Ue,Ue.scrubDuration(Tt),B=0,Et||(Et=r.vars.id)),ve.push(Ue),ge&&(Nt(ge)&&!ge.push||(ge={snapTo:ge}),"scrollBehavior"in H.style&&V.set(Me?[H,G]:ke,{scrollBehavior:"auto"}),v.forEach((function(t){return Ft(t)&&t.target===(Me?j.scrollingElement||G:ke)&&(t.smooth=!1)})),a=Ft(ge.snapTo)?ge.snapTo:"labels"===ge.snapTo?function(t){return function(e){return V.utils.snap(ae(t),e)}}(r):"labelsDirectional"===ge.snapTo?(lt=r,function(t,e){return se(ae(lt))(t,e.direction)}):!1!==ge.directional?function(t,e){return se(ge.snapTo)(t,_t()-Je<500?0:e.direction)}:V.utils.snap(ge.snapTo),K=ge.duration||{min:.1,max:2},K=Nt(K)?Y(K.min,K.max):Y(K,K),Q=V.delayedCall(ge.delay||$/2||.1,(function(){var t=Qe(),e=_t()-Je<500,n=i.tween;if(!(e||Math.abs(Ue.getVelocity())<10)||n||J||Ze===t)Ue.isActive&&Ze!==t&&Q.restart(!0);else{var s=(t-l)/m,o=r&&!Te?r.totalProgress():s,h=e?0:(o-q)/(_t()-X)*1e3||0,u=V.utils.clamp(-s,1-s,qt(h/2)*h/.185),d=s+(!1===ge.inertia?0:u),p=Y(0,1,a(d,Ue)),f=Math.round(l+p*m),g=ge,v=g.onStart,y=g.onInterrupt,b=g.onComplete;if(t<=c&&t>=l&&f!==t){if(n&&!n._initted&&n.data<=qt(f-t))return;!1===ge.inertia&&(u=p-s),i(f,{duration:K(qt(.185*Math.max(qt(d-o),qt(p-o))/h/.05||0)),ease:ge.ease||"power3",data:qt(f-t),onInterrupt:function(){return Q.restart(!0)&&y&&y(Ue)},onComplete:function(){Ue.update(),Ze=Qe(),B=q=r&&!Te?r.totalProgress():Ue.progress,he&&he(Ue),b&&b(Ue)}},t,u*m,f-t-u*m),v&&v(Ue,i.tween)}}})).pause()),Et&&(ye[Et]=Ue),(ot=(kt=Ue.trigger=D(kt||Mt))&&kt._gsap&&kt._gsap.stRevert)&&(ot=ot(Ue)),Mt=!0===Mt?kt:D(Mt),Ot(mt)&&(mt={targets:kt,className:mt}),Mt&&(!1===zt||zt===Zt||(zt=!(!zt&&Mt.parentNode&&Mt.parentNode.style&&"flex"===ee(Mt.parentNode).display)&&Kt),Ue.pin=Mt,(n=V.core.getCache(Mt)).spacer?g=n.pinState:(Ee&&((Ee=D(Ee))&&!Ee.nodeType&&(Ee=Ee.current||Ee.nativeElement),n.spacerIsNative=!!Ee,Ee&&(n.spacerState=ze(Ee))),n.spacer=S=Ee||j.createElement("div"),S.classList.add("pin-spacer"),Et&&S.classList.add("pin-spacer-"+Et),n.pinState=g=ze(Mt)),!1!==e.force3D&&V.set(Mt,{force3D:!0}),Ue.spacer=S=n.spacer,N=ee(Mt),T=N[zt+Ae.os2],w=V.getProperty(Mt),C=V.quickSetter(Mt,Ae.a,te),Be(Mt,S,N),_=ze(Mt)),Ve){f=Nt(Ve)?re(Ve,ue):ue,d=me("scroller-start",Et,ke,Ae,f,0),p=me("scroller-end",Et,ke,Ae,f,0,d),x=d["offset"+Ae.op.d2];var tr=D(E(ke,"content")||ke);h=this.markerStart=me("start",Et,tr,Ae,f,x,0,xe),u=this.markerEnd=me("end",Et,tr,Ae,f,x,0,xe),xe&&(st=V.quickSetter([h,u],Ae.a,te)),Fe||y.length&&!0===E(ke,"fixedMarkers")||(ht=ee(ct=Me?H:ke).position,ct.style.position="absolute"===ht||"fixed"===ht?ht:"relative",V.set([d,p],{force3D:!0}),O=V.quickSetter(d,Ae.a,te),R=V.quickSetter(p,Ae.a,te))}if(xe){var er=xe.vars.onUpdate,rr=xe.vars.onUpdateParams;xe.eventCallback("onUpdate",(function(){Ue.update(0,0,1),er&&er.apply(rr||[])}))}Ue.previous=function(){return ve[ve.indexOf(Ue)-1]},Ue.next=function(){return ve[ve.indexOf(Ue)+1]},Ue.revert=function(t,e){if(!e)return Ue.kill(!0);var i=!1!==t||!Ue.enabled,n=Z;i!==Ue.isReverted&&(i&&(rt=Math.max(Qe(),Ue.scroll.rec||0),et=Ue.progress,it=r&&r.progress()),h&&[h,u,d,p].forEach((function(t){return t.style.display=i?"none":"block"})),i&&(Z=1,Ue.update(i)),!Mt||be&&Ue.isActive||(i?function(t,e,r){qe(r);var i=t._gsap;if(i.spacerIsNative)qe(i.spacerState);else if(t._gsap.swappedIn){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}t._gsap.swappedIn=!1}(Mt,S,g):Be(Mt,S,ee(Mt),M)),i||Ue.update(i),Z=n,Ue.isReverted=i)},Ue.refresh=function(n,a){if(!Z&&Ue.enabled||a)if(Mt&&n&&St)le(t,"scrollEnd",Ce);else{!gt&&Ye&&Ye(Ue),Z=1,Je=_t(),i.tween&&(i.tween.kill(),i.tween=0),W&&W.pause(),jt&&r&&r.revert({kill:!1}).invalidate(),Ue.isReverted||Ue.revert(!0,!0),Ue._subPinOffset=!1;for(var f,v,y,E,x,C,T,O,R,N,B,q=Xe(),z=Ke(),$=xe?xe.duration():It(ke,Ae),U=0,Y=0,X=e.end,K=e.endTrigger||kt,J=e.start||(0!==e.start&&kt?Mt?"0 0":"0 100%":0),tt=Ue.pinnedContainer=e.pinnedContainer&&D(e.pinnedContainer),nt=kt&&Math.max(0,ve.indexOf(Ue))||0,st=nt;st--;)(C=ve[st]).end||C.refresh(0,1)||(Z=1),!(T=C.pin)||T!==kt&&T!==Mt||C.isReverted||(N||(N=[]),N.unshift(C),C.revert(!0,!0)),C!==ve[st]&&(nt--,st--);for(Ft(J)&&(J=J(Ue)),l=Ge(J,kt,q,Ae,Qe(),h,d,Ue,z,He,Fe,$,xe)||(Mt?-.001:0),Ft(X)&&(X=X(Ue)),Ot(X)&&!X.indexOf("+=")&&(~X.indexOf(" ")?X=(Ot(J)?J.split(" ")[0]:"")+X:(U=fe(X.substr(2),q),X=Ot(J)?J:l+U,K=kt)),c=Math.max(l,Ge(X||(K?"100% 0":$),K,q,Ae,Qe()+U,u,p,Ue,z,He,Fe,$,xe))||-.001,m=c-l||(l-=.01)&&.001,U=0,st=nt;st--;)(T=(C=ve[st]).pin)&&C.start-C._pinPush<=l&&!xe&&C.end>0&&(f=C.end-C.start,(T===kt&&C.start-C._pinPush<l||T===tt)&&!Rt(J)&&(U+=f*(1-C.progress)),T===Mt&&(Y+=f));if(l+=U,c+=U,Ue._pinPush=Y,h&&U&&((f={})[Ae.a]="+="+U,tt&&(f[Ae.p]="-="+Qe()),V.set([h,u],f)),Mt)f=ee(Mt),E=Ae===L,y=Qe(),P=parseFloat(w(Ae.a))+Y,!$&&c>1&&((B={style:B=(Me?j.scrollingElement||G:ke).style,value:B["overflow"+Ae.a.toUpperCase()]})["overflow"+Ae.a.toUpperCase()]="scroll"),Be(Mt,S,f),_=ze(Mt),v=ie(Mt,!0),O=Fe&&I(ke,E?k:L)(),zt&&((M=[zt+Ae.os2,m+Y+te]).t=S,(st=zt===Kt?ne(Mt,Ae)+m+Y:0)&&M.push(Ae.d,st+te),qe(M),tt&&ve.forEach((function(t){t.pin===tt&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),Fe&&Qe(rt)),Fe&&((x={top:v.top+(E?y-l:O)+te,left:v.left+(E?O:y-l)+te,boxSizing:"border-box",position:"fixed"})[Ht]=x["max"+Jt]=Math.ceil(v.width)+te,x[Wt]=x["max"+Qt]=Math.ceil(v.height)+te,x[Zt]=x[Zt+Yt]=x[Zt+$t]=x[Zt+Xt]=x[Zt+Ut]="0",x[Kt]=f[Kt],x[Kt+Yt]=f[Kt+Yt],x[Kt+$t]=f[Kt+$t],x[Kt+Xt]=f[Kt+Xt],x[Kt+Ut]=f[Kt+Ut],b=function(t,e,r){for(var i,n=[],a=t.length,s=r?8:0;s<a;s+=2)i=t[s],n.push(i,i in e?e[i]:t[s+1]);return n.t=t.t,n}(g,x,be),gt&&Qe(0)),r?(R=r._initted,at(1),r.render(r.duration(),!0,!0),A=w(Ae.a)-P+m+Y,F=Math.abs(m-A)>1,Fe&&F&&b.splice(b.length-2,2),r.render(0,!0,!0),R||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),at(0)):A=m,B&&(B.value?B.style["overflow"+Ae.a.toUpperCase()]=B.value:B.style.removeProperty("overflow-"+Ae.a));else if(kt&&Qe()&&!xe)for(v=kt.parentNode;v&&v!==H;)v._pinOffset&&(l-=v._pinOffset,c-=v._pinOffset),v=v.parentNode;N&&N.forEach((function(t){return t.revert(!1,!0)})),Ue.start=l,Ue.end=c,s=o=gt?rt:Qe(),xe||gt||(s<rt&&Qe(rt),Ue.scroll.rec=0),Ue.revert(!1,!0),Q&&(Ze=-1,Ue.isActive&&Qe(l+m*et),Q.restart(!0)),Z=0,r&&Te&&(r._initted||it)&&r.progress()!==it&&r.progress(it,!0).render(r.time(),!0,!0),(et!==Ue.progress||xe)&&(r&&!Te&&r.totalProgress(et,!0),Ue.progress=(s-l)/m===et?0:et),Mt&&zt&&(S._pinOffset=Math.round(Ue.progress*A)),Ct&&!gt&&Ct(Ue)}},Ue.getVelocity=function(){return(Qe()-o)/(_t()-X)*1e3||0},Ue.endAnimation=function(){Bt(Ue.callbackAnimation),r&&(W?W.progress(1):r.paused()?Te||Bt(r,Ue.direction<0,1):Bt(r,r.reversed()))},Ue.labelToScroll=function(t){return r&&r.labels&&(l||Ue.refresh()||l)+r.labels[t]/r.duration()*m||0},Ue.getTrailing=function(t){var e=ve.indexOf(Ue),r=Ue.direction>0?ve.slice(0,e).reverse():ve.slice(e+1);return(Ot(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return Ue.direction>0?t.end<=l:t.start>=c}))},Ue.update=function(t,e,n){if(!xe||n||t){var a,h,u,p,f,g,v,y=gt?rt:Ue.scroll(),E=t?0:(y-l)/m,x=E<0?0:E>1?1:E||0,w=Ue.progress;if(e&&(o=s,s=xe?Qe():y,ge&&(q=B,B=r&&!Te?r.totalProgress():x)),Gt&&!x&&Mt&&!Z&&!bt&&St&&l<y+(y-o)/(_t()-X)*Gt&&(x=1e-4),x!==w&&Ue.enabled){if(p=(f=(a=Ue.isActive=!!x&&x<1)!==(!!w&&w<1))||!!x!=!!w,Ue.direction=x>w?1:-1,Ue.progress=x,p&&!Z&&(h=x&&!w?0:1===x?1:1===w?2:3,Te&&(u=!f&&"none"!==Ne[h+1]&&Ne[h+1]||Ne[h],v=r&&("complete"===u||"reset"===u||u in r))),Pe&&(f||v)&&(v||Tt||!r)&&(Ft(Pe)?Pe(Ue):Ue.getTrailing(Pe).forEach((function(t){return t.endAnimation()}))),Te||(!W||Z||bt?r&&r.totalProgress(x,!!Z):(W._dp._time-W._start!==W._time&&W.render(W._dp._time-W._start),W.resetTo?W.resetTo("totalProgress",x,r._tTime/r._tDur):(W.vars.totalProgress=x,W.invalidate().restart()))),Mt)if(t&&zt&&(S.style[zt+Ae.os2]=T),Fe){if(p){if(g=!t&&x>w&&c+1>y&&y+1>=It(ke,Ae),be)if(t||!a&&!g)We(Mt,S);else{var k=ie(Mt,!0),D=y-l;We(Mt,H,k.top+(Ae===L?D:0)+te,k.left+(Ae===L?0:D)+te)}qe(a||g?b:_),F&&x<1&&a||C(P+(1!==x||g?0:A))}}else C(At(P+A*x));ge&&!i.tween&&!Z&&!bt&&Q.restart(!0),mt&&(f||pe&&x&&(x<1||!ft))&&U(mt.targets).forEach((function(t){return t.classList[a||pe?"add":"remove"](mt.className)})),pt&&!Te&&!t&&pt(Ue),p&&!Z?(Te&&(v&&("complete"===u?r.pause().totalProgress(1):"reset"===u?r.restart(!0).pause():"restart"===u?r.restart(!0):r[u]()),pt&&pt(Ue)),!f&&ft||(wt&&f&&Vt(Ue,wt),Re[h]&&Vt(Ue,Re[h]),pe&&(1===x?Ue.kill(!1,1):Re[h]=0),f||Re[h=1===x?1:3]&&Vt(Ue,Re[h])),we&&!a&&Math.abs(Ue.getVelocity())>(Rt(we)?we:2500)&&(Bt(Ue.callbackAnimation),W?W.progress(1):Bt(r,"reverse"===u?1:!x,1))):Te&&pt&&!Z&&pt(Ue)}if(R){var I=xe?y/xe.duration()*(xe._caScrollDist||0):y;O(I+(d._isFlipped?1:0)),R(I)}st&&st(-y/xe.duration()*(xe._caScrollDist||0))}},Ue.enable=function(e,r){Ue.enabled||(Ue.enabled=!0,le(ke,"resize",Se),le(Me?j:ke,"scroll",_e),Ye&&le(t,"refreshInit",Ye),!1!==e&&(Ue.progress=et=0,s=o=Ze=Qe()),!1!==r&&Ue.refresh())},Ue.getTween=function(t){return t&&i?i.tween:W},Ue.setPositions=function(t,e){Mt&&(P+=t-l,A+=e-t-m,zt===Kt&&Ue.adjustPinSpacing(e-t-m)),Ue.start=l=t,Ue.end=c=e,m=e-t,Ue.update()},Ue.adjustPinSpacing=function(t){if(M){var e=M.indexOf(Ae.d)+1;M[e]=parseFloat(M[e])+t+te,M[1]=parseFloat(M[1])+t+te,qe(M)}},Ue.disable=function(e,r){if(Ue.enabled&&(!1!==e&&Ue.revert(!0,!0),Ue.enabled=Ue.isActive=!1,r||W&&W.pause(),rt=0,n&&(n.uncache=1),Ye&&ce(t,"refreshInit",Ye),Q&&(Q.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!Me)){for(var a=ve.length;a--;)if(ve[a].scroller===ke&&ve[a]!==Ue)return;ce(ke,"resize",Se),ce(ke,"scroll",_e)}},Ue.kill=function(t,i){Ue.disable(t,i),W&&!i&&W.kill(),Et&&delete ye[Et];var a=ve.indexOf(Ue);a>=0&&ve.splice(a,1),a===tt&&Oe>0&&tt--,a=0,ve.forEach((function(t){return t.scroller===Ue.scroller&&(a=1)})),a||gt||(Ue.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),i||r.kill()),h&&[h,u,d,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),yt===Ue&&(yt=0),Mt&&(n&&(n.uncache=1),a=0,ve.forEach((function(t){return t.pin===Mt&&a++})),a||(n.spacer=0)),e.onKill&&e.onKill(Ue)},Ue.enable(!1,!1),ot&&ot(Ue),r&&r.add&&!m?V.delayedCall(.01,(function(){return l||c||Ue.refresh()}))&&(m=.01)&&(l=c=0):Ue.refresh(),Mt&&function(){if(vt!==De){var t=vt=De;requestAnimationFrame((function(){return t===De&&Ie(!0)}))}}()}else this.update=this.refresh=this.kill=Pt},t.register=function(e){return q||(V=e||kt(),Tt()&&window.document&&t.enable(),q=xt),q},t.defaults=function(t){if(t)for(var e in t)de[e]=t[e];return de},t.disable=function(t,e){xt=0,ve.forEach((function(r){return r[e?"kill":"disable"](t)})),ce(z,"wheel",_e),ce(j,"scroll",_e),clearInterval(K),ce(j,"touchcancel",Pt),ce(H,"touchstart",Pt),oe(ce,j,"pointerdown,touchstart,mousedown",wt),oe(ce,j,"pointerup,touchend,mouseup",Ct),$.kill(),Mt(ce);for(var r=0;r<v.length;r+=3)he(ce,v[r],v[r+1]),he(ce,v[r],v[r+2])},t.enable=function(){if(z=window,j=document,G=j.documentElement,H=j.body,V&&(U=V.utils.toArray,Y=V.utils.clamp,dt=V.core.context||Pt,at=V.core.suppressOverwrites||Pt,pt=z.history.scrollRestoration||"auto",V.core.globals("ScrollTrigger",t),H)){xt=1,B.register(V),t.isTouch=B.isTouch,ut=B.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),le(z,"wheel",_e),W=[z,j,G,H],V.matchMedia?(t.matchMedia=function(t){var e,r=V.matchMedia();for(e in t)r.add(e,t[e]);return r},V.addEventListener("matchMediaInit",(function(){return ke()})),V.addEventListener("matchMediaRevert",(function(){return Te()})),V.addEventListener("matchMedia",(function(){Ie(0,1),Pe("matchMedia")})),V.matchMedia("(orientation: portrait)",(function(){return Ee(),Ee}))):console.warn("Requires GSAP 3.11.0 or later"),Ee(),le(j,"scroll",_e);var e,r,i=H.style,n=i.borderTopStyle,a=V.core.Animation.prototype;for(a.revert||Object.defineProperty(a,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",e=ie(H),L.m=Math.round(e.top+L.sc())||0,k.m=Math.round(e.left+k.sc())||0,n?i.borderTopStyle=n:i.removeProperty("border-top-style"),K=setInterval(be,250),V.delayedCall(.5,(function(){return bt=0})),le(j,"touchcancel",Pt),le(H,"touchstart",Pt),oe(le,j,"pointerdown,touchstart,mousedown",wt),oe(le,j,"pointerup,touchend,mouseup",Ct),Q=V.utils.checkPrefix("transform"),Ne.push(Q),q=_t(),$=V.delayedCall(.2,Ie).pause(),it=[j,"visibilitychange",function(){var t=z.innerWidth,e=z.innerHeight;j.hidden?(et=t,rt=e):et===t&&rt===e||Se()},j,"DOMContentLoaded",Ie,z,"load",Ie,z,"resize",Se],Mt(le),ve.forEach((function(t){return t.enable(0,1)})),r=0;r<v.length;r+=3)he(ce,v[r],v[r+1]),he(ce,v[r],v[r+2])}},t.config=function(e){"limitCallbacks"in e&&(ft=!!e.limitCallbacks);var r=e.syncInterval;r&&clearInterval(K)||(K=r)&&setInterval(be,r),"ignoreMobileResize"in e&&(lt=1===t.isTouch&&e.ignoreMobileResize),"autoRefreshEvents"in e&&(Mt(ce)||Mt(le,e.autoRefreshEvents||"none"),st=-1===(e.autoRefreshEvents+"").indexOf("resize"))},t.scrollerProxy=function(t,e){var r=D(t),i=v.indexOf(r),n=Lt(r);~i&&v.splice(i,n?6:2),e&&(n?y.unshift(z,e,H,e,G,e):y.unshift(r,e))},t.clearMatchMedia=function(t){ve.forEach((function(e){return e._ctx&&e._ctx.query===t&&e._ctx.kill(!0,!0)}))},t.isInViewport=function(t,e,r){var i=(Ot(t)?D(t):t).getBoundingClientRect(),n=i[r?Ht:Wt]*e||0;return r?i.right-n>0&&i.left+n<z.innerWidth:i.bottom-n>0&&i.top+n<z.innerHeight},t.positionInViewport=function(t,e,r){Ot(t)&&(t=D(t));var i=t.getBoundingClientRect(),n=i[r?Ht:Wt],a=null==e?n/2:e in pe?pe[e]*n:~e.indexOf("%")?parseFloat(e)*n/100:parseFloat(e)||0;return r?(i.left+a)/z.innerWidth:(i.top+a)/z.innerHeight},t.killAll=function(t){if(ve.slice(0).forEach((function(t){return"ScrollSmoother"!==t.vars.id&&t.kill()})),!0!==t){var e=xe.killAll||[];xe={},e.forEach((function(t){return t()}))}},t}();Ue.version="3.11.4",Ue.saveStyles=function(t){return t?U(t).forEach((function(t){if(t&&t.style){var e=Ae.indexOf(t);e>=0&&Ae.splice(e,5),Ae.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),V.core.getCache(t),dt())}})):Ae},Ue.revert=function(t,e){return ke(!t,e)},Ue.create=function(t,e){return new Ue(t,e)},Ue.refresh=function(t){return t?Se():(q||Ue.register())&&Ie(!0)},Ue.update=function(t){return++v.cache&&Fe(!0===t?2:0)},Ue.clearScrollMemory=Le,Ue.maxScroll=function(t,e){return It(t,e?k:L)},Ue.getScrollFunc=function(t,e){return I(D(t),e?k:L)},Ue.getById=function(t){return ye[t]},Ue.getAll=function(){return ve.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},Ue.isScrolling=function(){return!!St},Ue.snapDirectional=se,Ue.addEventListener=function(t,e){var r=xe[t]||(xe[t]=[]);~r.indexOf(e)||r.push(e)},Ue.removeEventListener=function(t,e){var r=xe[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},Ue.batch=function(t,e){var r,i=[],n={},a=e.interval||.016,s=e.batchMax||1e9,o=function(t,e){var r=[],i=[],n=V.delayedCall(a,(function(){e(r,i),r=[],i=[]})).pause();return function(t){r.length||n.restart(!0),r.push(t.trigger),i.push(t),s<=r.length&&n.progress(1)}};for(r in e)n[r]="on"===r.substr(0,2)&&Ft(e[r])&&"onRefreshInit"!==r?o(0,e[r]):e[r];return Ft(s)&&(s=s(),le(Ue,"refresh",(function(){return s=e.batchMax()}))),U(t).forEach((function(t){var e={};for(r in n)e[r]=n[r];e.trigger=t,i.push(Ue.create(e))})),i};var Ye,Xe=function(t,e,r,i){return e>i?t(i):e<0&&t(0),r>i?(i-e)/(r-e):r<0?e/(e-r):1},Ke=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(B.isTouch?" pinch-zoom":""):"none",e===G&&t(H,r)},Ze={auto:1,scroll:1},Je=function(t){var e,r=t.event,i=t.target,n=t.axis,a=(r.changedTouches?r.changedTouches[0]:r).target,s=a._gsap||V.core.getCache(a),o=_t();if(!s._isScrollT||o-s._isScrollT>2e3){for(;a&&a!==H&&(a.scrollHeight<=a.clientHeight&&a.scrollWidth<=a.clientWidth||!Ze[(e=ee(a)).overflowY]&&!Ze[e.overflowX]);)a=a.parentNode;s._isScroll=a&&a!==i&&!Lt(a)&&(Ze[(e=ee(a)).overflowY]||Ze[e.overflowX]),s._isScrollT=o}(s._isScroll||"x"===n)&&(r.stopPropagation(),r._gsapAllow=!0)},Qe=function(t,e,r,i){return B.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:i=i&&Je,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&le(j,B.eventTypes[0],er,!1,!0)},onDisable:function(){return ce(j,B.eventTypes[0],er,!0)}})},tr=/(input|label|select|textarea)/i,er=function(t){var e=tr.test(t.target.tagName);(e||Ye)&&(t._gsapAllow=!0,Ye=e)},rr=function(t){Nt(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,i,n,a,s,o,l,c=t,h=c.normalizeScrollX,u=c.momentum,d=c.allowNestedScroll,p=D(t.target)||G,f=V.core.globals().ScrollSmoother,m=f&&f.get(),g=ut&&(t.content&&D(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),y=I(p,L),b=I(p,k),_=1,E=(B.isTouch&&z.visualViewport?z.visualViewport.scale*z.visualViewport.width:z.outerWidth)/z.innerWidth,S=0,x=Ft(u)?function(){return u(e)}:function(){return u||2.8},w=Qe(p,t.type,!0,d),C=function(){return n=!1},P=Pt,A=Pt,T=function(){r=It(p,L),A=Y(ut?1:0,r),h&&(P=Y(0,It(p,k))),i=De},M=function(){g._gsap.y=At(parseFloat(g._gsap.y)+y.offset)+"px",g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(g._gsap.y)+", 0, 1)",y.offset=y.cacheID=0},O=function(){T(),a.isActive()&&a.vars.scrollY>r&&(y()>r?a.progress(1)&&y(r):a.resetTo("scrollY",r))};return g&&V.set(g,{y:"+=0"}),t.ignoreCheck=function(t){return ut&&"touchmove"===t.type&&function(){if(n){requestAnimationFrame(C);var t=At(e.deltaY/2),r=A(y.v-t);if(g&&r!==y.v+y.offset){y.offset=r-y.v;var i=At((parseFloat(g&&g._gsap.y)||0)-y.offset);g.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",g._gsap.y=i+"px",y.cacheID=v.cache,Fe()}return!0}y.offset&&M(),n=!0}()||_>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){var t=_;_=At((z.visualViewport&&z.visualViewport.scale||1)/E),a.pause(),t!==_&&Ke(p,_>1.01||!h&&"x"),s=b(),o=y(),T(),i=De},t.onRelease=t.onGestureStart=function(t,e){if(y.offset&&M(),e){v.cache++;var i,n,s=x();h&&(n=(i=b())+.05*s*-t.velocityX/.227,s*=Xe(b,i,n,It(p,k)),a.vars.scrollX=P(n)),n=(i=y())+.05*s*-t.velocityY/.227,s*=Xe(y,i,n,It(p,L)),a.vars.scrollY=A(n),a.invalidate().duration(s).play(.01),(ut&&a.vars.scrollY>=r||i>=r-1)&&V.to({},{onUpdate:O,duration:s})}else l.restart(!0)},t.onWheel=function(){a._ts&&a.pause(),_t()-S>1e3&&(i=0,S=_t())},t.onChange=function(t,e,r,n,a){if(De!==i&&T(),e&&h&&b(P(n[2]===e?s+(t.startX-t.x):b()+e-n[1])),r){y.offset&&M();var l=a[2]===r,c=l?o+t.startY-t.y:y()+r-a[1],u=A(c);l&&c!==u&&(o+=u-c),y(u)}(r||e)&&Fe()},t.onEnable=function(){Ke(p,!h&&"x"),Ue.addEventListener("refresh",O),le(z,"resize",O),y.smooth&&(y.target.style.scrollBehavior="auto",y.smooth=b.smooth=!1),w.enable()},t.onDisable=function(){Ke(p,!0),ce(z,"resize",O),Ue.removeEventListener("refresh",O),w.kill()},t.lockAxis=!1!==t.lockAxis,(e=new B(t)).iOS=ut,ut&&!y()&&y(1),ut&&V.ticker.add(Pt),l=e._dc,a=V.to(e,{ease:"power4",paused:!0,scrollX:h?"+=0.1":"+=0",scrollY:"+=0.1",onComplete:l.vars.onComplete}),e};Ue.sort=function(t){return ve.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},Ue.observe=function(t){return new B(t)},Ue.normalizeScroll=function(t){if(void 0===t)return ot;if(!0===t&&ot)return ot.enable();if(!1===t)return ot&&ot.kill();var e=t instanceof B?t:rr(t);return ot&&ot.target===e.target&&ot.kill(),Lt(e.target)&&(ot=e),e},Ue.core={_getVelocityProp:M,_inputObserver:Qe,_scrollers:v,_proxies:y,bridge:{ss:function(){St||Pe("scrollStart"),St=_t()},ref:function(){return Z}}},kt()&&V.registerPlugin(Ue);var ir=__webpack_require__(486),nr=__webpack_require__(442),ar=__webpack_require__.n(nr);__webpack_require__(105);function sr(t){return sr="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},sr(t)}function or(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==sr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==sr(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===sr(a)?a:String(a)),i)}var n,a}var lr=function(){function t(e,r){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.COMPONENTS={},this.VALUES={},this.COMPONENTS.FLICKITY=ar().data(e.querySelector(".flickity-enabled")),this.COMPONENTS.SLIDER=e.querySelector(".rad__range-input-slider-for-carousel"),this.COMPONENTS.SLIDER&&(this.VALUES.CELL_COUNT=this.COMPONENTS.FLICKITY.cells.length,this.VALUES.SLIDER_MAX=parseInt(this.COMPONENTS.SLIDER.max,10),this.isDragging=!1,this.noUpdateOnChange=null==r?void 0:r.noUpdateOnChange,this.sliderInputCallback=null==r?void 0:r.sliderInputCallback,this.VALUES.CELL_COUNT<6||(e.classList.add("rad-carousel--six-plus-cells"),this.handleSliderInput(),this.noUpdateOnChange||this.COMPONENTS.FLICKITY.on("change",(function(t){i.isDragging||i.updateSlider(t)}))))}var e,r,i;return e=t,r=[{key:"handleSliderInput",value:function(){var t,e,r,i=this;null===(t=this.COMPONENTS.SLIDER)||void 0===t||t.addEventListener("pointerdown",(function(){i.isDragging=!0})),null===(e=this.COMPONENTS.SLIDER)||void 0===e||e.addEventListener("pointerup",(function(){i.isDragging=!1})),null===(r=this.COMPONENTS.SLIDER)||void 0===r||r.addEventListener("input",(function(t){i.sliderInputCallback&&i.sliderInputCallback();var e=parseInt(t.target.value,10)/i.VALUES.SLIDER_MAX,r=Math.floor(e/(1/i.VALUES.CELL_COUNT));r===i.VALUES.CELL_COUNT&&r--,i.COMPONENTS.FLICKITY.select(r)}))}},{key:"updateSlider",value:function(t){var e;if(null!==(e=this.VALUES)&&void 0!==e&&e.CELL_COUNT){var r=1/(this.VALUES.CELL_COUNT-1)*t*this.VALUES.SLIDER_MAX;this.COMPONENTS.SLIDER.value=r}}}],r&&or(e.prototype,r),i&&or(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function cr(t){return cr="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},cr(t)}function hr(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function ur(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?hr(Object(r),!0).forEach((function(e){dr(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hr(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function dr(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==cr(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==cr(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===cr(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function pr(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return fr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return fr(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var mr=function(t){if(t.dataset.cmpDataLayer)return Object.keys(JSON.parse(t.dataset.cmpDataLayer))[0];var e=t.closest("[data-cmp-data-layer]");return Object.keys(JSON.parse(e.dataset.cmpDataLayer))[0]},gr=function(){return document.body.hasAttribute("data-cmp-data-layer-enabled")&&window.adobeDataLayer&&window.adobeDataLayer.push},vr=function(t){return t&&t.dataset.cmpDataLayer?Object.keys(JSON.parse(t.dataset.cmpDataLayer))[0]:t.id},yr=function(t){var e;null===(e=window.adobeDataLayer)||void 0===e||e.push({component:br(t)})},br=function(t){var e=_r(t),r=pr(Object.keys(e),1)[0];if(e&&e[r]&&!e[r].parentId){var i=t.parentNode.closest("[data-cmp-data-layer], body");i&&(e[r].parentId=i.id)}return e},_r=function(t){var e=t.dataset.cmpDataLayer;if(e)return JSON.parse(e)},Er=function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"cmp:click",i=mr(t);null===(e=window.adobeDataLayer)||void 0===e||e.push({event:r,eventInfo:{path:"component.".concat(i)}})},Sr=function(t){t.querySelectorAll("[data-cmp-clickable]").forEach((function(t){t.addEventListener("click",(function(){Er(t)}))}))},xr=function(t){var e,r,i=pr(Object.keys(t),1)[0],n=null===(e=window.adobeDataLayer)||void 0===e?void 0:e.getState(),a=window.adobeDataLayer;n&&a&&(void 0!==n.component&&void 0!==n.component[i]?a.forEach((function(e,r){var n;e.component&&(pr(Object.keys(e.component),1)[0]===i&&(!function(t){var e;null===(e=window.adobeDataLayer)||void 0===e||e.splice(t,1)}(r),null===(n=window.adobeDataLayer)||void 0===n||n.push({component:t})))})):null===(r=window.adobeDataLayer)||void 0===r||r.push({component:t}))},wr=function(t,e){if(null==(r=t)||null!==r.match(/^(\r\n|\r|\n| )*$/))return null;var r,i=JSON.parse(t);return i[pr(Object.keys(i),1)[0]][e]},Cr=function(t){return t.json().then((function(e){return t.ok?e:Promise.reject(ur(ur({},e),{},{status:t.status,statusText:t.statusText}))}))},Pr=function(){return fetch("/libs/granite/csrf/token.json",{method:"GET"}).then(Cr).then((function(t){return t.token}))};function Ar(t){return function(t){if(Array.isArray(t))return Tr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Tr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tr(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function kr(t){return function(t){if(Array.isArray(t))return Lr(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Lr(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Lr(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Lr(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var Dr,Ir='a, button, input, textarea, select, details,[tabindex]:not([tabindex="-1"])',Mr="Escape",Or="ArrowDown",Fr="ArrowUp",Rr="ArrowRight",Nr="ArrowLeft",Br=" ",Vr="Enter",qr="Tab",zr=function(t){t.forEach((function(e,r){e.setAttribute("aria-label","Change slide ".concat(r+1," of ").concat(t.length)),e.textContent=""}))},jr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t){if(!e)throw new Error("Target element must be given when enabling body scroll lock.");document.documentElement.style.overflow="hidden",Dr=e}else{if(!Dr)return;if(e&&e!==Dr)throw new Error("Target element is not the current locked element!");document.documentElement.style.overflow="",Dr=null}},Gr=function(t){var e,r=(e=t).closest(".rad-client-carousel")||e.closest(".rad-quote-carousel")||e.closest(".rad-carousel--not-carousel-for-screen-readers");t.querySelectorAll(".flickity-cell").forEach((function(t){r?Hr(t):t.ariaHidden=!1}))},Hr=function(t){var e=t.matches('[aria-hidden="true"]');t.querySelectorAll("*").forEach((function(t){var r,i;(function(t){if(t instanceof HTMLAnchorElement||t instanceof HTMLAreaElement){if(t.getAttribute("href"))return!0}else{if(t instanceof HTMLInputElement||t instanceof HTMLSelectElement||t instanceof HTMLTextAreaElement||t instanceof HTMLButtonElement)return!t.hasAttribute("disabled");if(t instanceof HTMLIFrameElement||t.hasAttribute("tabindex"))return!0}return!1})(t)&&(e?function(t){if(void 0===t.dataset.radCachedTabindex){var e="";t.hasAttribute("tabindex")&&(e=t.getAttribute("tabindex")),t.dataset.radCachedTabindex=e,t.setAttribute("tabindex","-1")}}(t):void 0!==(i=(r=t).dataset.radCachedTabindex)&&(i?r.setAttribute("tabindex",i):r.removeAttribute("tabindex"),delete r.dataset.radCachedTabindex))}))},Wr=function(t){(null!=t?t:document).querySelectorAll(".flickity-enabled").forEach((function(t){t.radFlickityAccessibilityFixed||(t.removeAttribute("tabindex"),Gr(t),ar().data(t).on("change",(function(){Gr(t)})),t.radFlickityAccessibilityFixed=Symbol("flickity-accessibility-fixed"))}))},$r=function(t){t.querySelectorAll(".flickity-button, .flickity-page-dot").forEach((function(t){t.setAttribute("tabindex",-1),t.ariaHidden=!0,t.removeAttribute("aria-label")}))},Ur=function(t,e,r,i){var n=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"dom";(e?Array.from(t.querySelectorAll(e)):[t]).forEach((function(t){var e=null!=i?i:"";switch(n){case"data":t.dataset[r]=e;break;case"attribute":t.setAttribute(r,e);break;case"dom":t[r]=e;break;default:throw new Error("Encountered unhandled attribute type: '".concat(n,"'"))}}))},Yr=function(t){return(new DOMParser).parseFromString(t,"text/html").body.firstElementChild},Xr=function(t){var e,r,i=new(ar())(t,{autoPlay:!1,cellAlign:"left",draggable:"ontouchstart"in window,friction:.4,imagesLoaded:!0,pageDots:!0,resize:!0,selectedAttraction:.02,wrapAround:!0,on:{ready:function(){var e=t.querySelector(".previous"),r=t.querySelector(".next");e.classList.remove("flickity-prev-next-button"),e.classList.add("rad-icon-button","rad-icon-button--secondary","rad-icon-button--icon-size-24"),e.replaceChildren(Yr('<div class="rad-icon-button__text">Previous</div>'),Yr('<div class="rad-icon rad-icon--compact rad-icon__left" aria-hidden="true"></div>')),r.classList.remove("flickity-prev-next-button"),r.classList.add("rad-icon-button","rad-icon-button--secondary","rad-icon-button--icon-size-24"),r.replaceChildren(Yr('<div class="rad-icon-button__text">Next</div>'),Yr('<div class="rad-icon rad-icon--compact rad-icon__right" aria-hidden="true"></div>'))},change:function(e){t.style.setProperty("--dot-index",e-1)}}}),n=t.parentNode;new lr(n),$r(t),(r=(e=i).viewport.querySelectorAll(".flickity-cell")).forEach((function(t){t.addEventListener("focusin",(function(){var i=Array.from(r).indexOf(t);e.select(i)}))}))},Kr=function(t){(null!=t?t:document).querySelectorAll(".rad-carousel").forEach((function(t){Xr(t),function(t){var e=t.closest(".rad-icon-text-carousel").firstElementChild;if(t.classList.contains("rad-icon-text-carousel-tier-1__carousel")){var r=e.dataset.cmpDataLayer,i=wr(r,"analytics-template-zone"),n=wr(r,"analytics-module-name"),a=t.querySelector(".flickity-prev-next-button.previous"),s=t.querySelector(".flickity-prev-next-button.next");Ar(t.querySelectorAll(".flickity-page-dot")).forEach((function(t,e){var r=e+1;t.addEventListener("click",(function(){var e='{"icon-text-carousel-dot":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"ellipsis button ').concat(r,' - icon-text-carousel","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"').concat(n,'","analytics-template-zone":"').concat(i,'"}}');t.dataset.cmpDataLayer=e,xr(JSON.parse(e)),Er(t)}))})),a.addEventListener("click",(function(){var t='{"icon-text-carousel-prev":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"scroll left: icon-text-carousel","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"').concat(n,'","analytics-template-zone":"').concat(i,'"}}');a.dataset.cmpDataLayer=t,xr(JSON.parse(t)),Er(a)})),s.addEventListener("click",(function(){var t='{"icon-text-carousel-next":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"scroll right: icon-text-carousel","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"').concat(n,'","analytics-template-zone":"').concat(i,'"}}');s.dataset.cmpDataLayer=t,xr(JSON.parse(t)),Er(s)}))}}(t)}))},Zr=__webpack_require__(69),Jr=__webpack_require__.n(Zr),Qr=__webpack_require__(40),ti=__webpack_require__.n(Qr);function ei(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ri(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var ii,ni,ai,si,oi,li,ci,hi,ui,di,pi,fi={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},mi={duration:.5,overwrite:!1,delay:0},gi=1e8,vi=1/gi,yi=2*Math.PI,bi=yi/4,_i=0,Ei=Math.sqrt,Si=Math.cos,xi=Math.sin,wi=function(t){return"string"==typeof t},Ci=function(t){return"function"==typeof t},Pi=function(t){return"number"==typeof t},Ai=function(t){return void 0===t},Ti=function(t){return"object"==typeof t},ki=function(t){return!1!==t},Li=function(){return"undefined"!=typeof window},Di=function(t){return Ci(t)||wi(t)},Ii="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Mi=Array.isArray,Oi=/(?:-?\.?\d|\.)+/gi,Fi=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Ri=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Ni=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Bi=/[+-]=-?[.\d]+/,Vi=/[^,'"\[\]\s]+/gi,qi=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,zi={},ji={},Gi=function(t){return(ji=bn(t,zi))&&bs},Hi=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},Wi=function(t,e){return!e&&console.warn(t)},$i=function(t,e){return t&&(zi[t]=e)&&ji&&(ji[t]=e)||zi},Ui=function(){return 0},Yi={suppressEvents:!0,isStart:!0,kill:!1},Xi={suppressEvents:!0,kill:!1},Ki={suppressEvents:!0},Zi={},Ji=[],Qi={},tn={},en={},rn=30,nn=[],an="",sn=function(t){var e,r,i=t[0];if(Ti(i)||Ci(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=nn.length;r--&&!nn[r].targetTest(i););e=nn[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Oa(t[r],e)))||t.splice(r,1);return t},on=function(t){return t._gsap||sn(Jn(t))[0]._gsap},ln=function(t,e,r){return(r=t[e])&&Ci(r)?t[e]():Ai(r)&&t.getAttribute&&t.getAttribute(e)||r},cn=function(t,e){return(t=t.split(",")).forEach(e)||t},hn=function(t){return Math.round(1e5*t)/1e5||0},un=function(t){return Math.round(1e7*t)/1e7||0},dn=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i},pn=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r},fn=function(){var t,e,r=Ji.length,i=Ji.slice(0);for(Qi={},Ji.length=0,t=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0)},mn=function(t,e,r,i){Ji.length&&!ni&&fn(),t.render(e,r,i||ni&&e<0&&(t._initted||t._startAt)),Ji.length&&!ni&&fn()},gn=function(t){var e=parseFloat(t);return(e||0===e)&&(t+"").match(Vi).length<2?e:wi(t)?t.trim():t},vn=function(t){return t},yn=function(t,e){for(var r in e)r in t||(t[r]=e[r]);return t},bn=function(t,e){for(var r in e)t[r]=e[r];return t},_n=function t(e,r){for(var i in r)"__proto__"!==i&&"constructor"!==i&&"prototype"!==i&&(e[i]=Ti(r[i])?t(e[i]||(e[i]={}),r[i]):r[i]);return e},En=function(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i},Sn=function(t){var e,r=t.parent||si,i=t.keyframes?(e=Mi(t.keyframes),function(t,r){for(var i in r)i in t||"duration"===i&&e||"ease"===i||(t[i]=r[i])}):yn;if(ki(t.inherit))for(;r;)i(t,r.vars.defaults),r=r.parent||r._dp;return t},xn=function(t,e,r,i,n){void 0===r&&(r="_first"),void 0===i&&(i="_last");var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e},wn=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},Cn=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove(t),t._act=0},Pn=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},An=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},Tn=function(t,e,r,i){return t._startAt&&(ni?t._startAt.revert(Xi):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},kn=function t(e){return!e||e._ts&&t(e.parent)},Ln=function(t){return t._repeat?Dn(t._tTime,t=t.duration()+t._rDelay)*t:0},Dn=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},In=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Mn=function(t){return t._end=un(t._start+(t._tDur/Math.abs(t._ts||t._rts||vi)||0))},On=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=un(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Mn(t),r._dirty||Pn(r,t)),t},Fn=function(t,e){var r;if((e._time||e._initted&&!e._dur)&&(r=In(t.rawTime(),e),(!e._dur||Un(0,e.totalDuration(),r)-e._tTime>vi)&&e.render(r,!0)),Pn(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)r.rawTime()>=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-vi}},Rn=function(t,e,r,i){return e.parent&&Cn(e),e._start=un((Pi(r)?r:r||t!==si?Hn(t,r,e):t._time)+e._delay),e._end=un(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),xn(t,e,"_first","_last",t._sort?"_start":0),qn(e)||(t._recent=e),i||Fn(t,e),t._ts<0&&On(t,t._tTime),t},Nn=function(t,e){return(zi.ScrollTrigger||Hi("scrollTrigger",e))&&zi.ScrollTrigger.create(e,t)},Bn=function(t,e,r,i,n){return ja(t,e,n),t._initted?!r&&t._pt&&!ni&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&ui!==Ea.frame?(Ji.push(t),t._lazy=[n,i],1):void 0:1},Vn=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},qn=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},zn=function(t,e,r,i){var n=t._repeat,a=un(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:un(a*(n+1)+t._rDelay*n):a,s>0&&!i&&On(t,t._tTime=t._tDur*s),t.parent&&Mn(t),r||Pn(t.parent,t),t},jn=function(t){return t instanceof Ra?Pn(t):zn(t,t._dur)},Gn={_start:0,endTime:Ui,totalDuration:Ui},Hn=function t(e,r,i){var n,a,s,o=e.labels,l=e._recent||Gn,c=e.duration()>=gi?l.endTime(!1):e._dur;return wi(r)&&(isNaN(r)||r in o)?(a=r.charAt(0),s="%"===r.substr(-1),n=r.indexOf("="),"<"===a||">"===a?(n>=0&&(r=r.replace(/=/,"")),("<"===a?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(s?(n<0?l:i).totalDuration()/100:1)):n<0?(r in o||(o[r]=c),o[r]):(a=parseFloat(r.charAt(n-1)+r.substr(n+1)),s&&i&&(a=a/100*(Mi(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+a:c+a)):null==r?c:+r},Wn=function(t,e,r){var i,n,a=Pi(e[1]),s=(a?2:1)+(t<2?0:1),o=e[s];if(a&&(o.duration=e[1]),o.parent=r,t){for(i=o,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=ki(n.vars.inherit)&&n.parent;o.immediateRender=ki(i.immediateRender),t<2?o.runBackwards=1:o.startAt=e[s-1]}return new Ua(e[0],o,e[s+1])},$n=function(t,e){return t||0===t?e(t):e},Un=function(t,e,r){return r<t?t:r>e?e:r},Yn=function(t,e){return wi(t)&&(e=qi.exec(t))?e[1]:""},Xn=[].slice,Kn=function(t,e){return t&&Ti(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&Ti(t[0]))&&!t.nodeType&&t!==oi},Zn=function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var i;return wi(t)&&!e||Kn(t,1)?(i=r).push.apply(i,Jn(t)):r.push(t)}))||r},Jn=function(t,e,r){return ai&&!e&&ai.selector?ai.selector(t):!wi(t)||r||!li&&Sa()?Mi(t)?Zn(t,r):Kn(t)?Xn.call(t,0):t?[t]:[]:Xn.call((e||ci).querySelectorAll(t),0)},Qn=function(t){return t=Jn(t)[0]||Wi("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return Jn(e,r.querySelectorAll?r:r===t?Wi("Invalid scope")||ci.createElement("div"):t)}},ta=function(t){return t.sort((function(){return.5-Math.random()}))},ea=function(t){if(Ci(t))return t;var e=Ti(t)?t:{each:t},r=ka(e.ease),i=e.from||0,n=parseFloat(e.base)||0,a={},s=i>0&&i<1,o=isNaN(i)||s,l=e.axis,c=i,h=i;return wi(i)?c=h={center:.5,edges:.5,end:1}[i]||0:!s&&o&&(c=i[0],h=i[1]),function(t,s,u){var d,p,f,m,g,v,y,b,_,E=(u||e).length,S=a[E];if(!S){if(!(_="auto"===e.grid?0:(e.grid||[1,gi])[1])){for(y=-gi;y<(y=u[_++].getBoundingClientRect().left)&&_<E;);_--}for(S=a[E]=[],d=o?Math.min(_,E)*c-.5:i%_,p=_===gi?0:o?E*h/_-.5:i/_|0,y=0,b=gi,v=0;v<E;v++)f=v%_-d,m=p-(v/_|0),S[v]=g=l?Math.abs("y"===l?m:f):Ei(f*f+m*m),g>y&&(y=g),g<b&&(b=g);"random"===i&&ta(S),S.max=y-b,S.min=b,S.v=E=(parseFloat(e.amount)||parseFloat(e.each)*(_>E?E-1:l?"y"===l?E/_:_:Math.max(_,E/_))||0)*("edges"===i?-1:1),S.b=E<0?n-E:n,S.u=Yn(e.amount||e.each)||0,r=r&&E<0?Aa(r):r}return E=(S[t]-S.min)/S.max||0,un(S.b+(r?r(E):E)*S.v)+S.u}},ra=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=un(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(Pi(r)?0:Yn(r))}},ia=function(t,e){var r,i,n=Mi(t);return!n&&Ti(t)&&(r=n=t.radius||gi,t.values?(t=Jn(t.values),(i=!Pi(t[0]))&&(r*=r)):t=ra(t.increment)),$n(e,n?Ci(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,a,s=parseFloat(i?e.x:e),o=parseFloat(i?e.y:0),l=gi,c=0,h=t.length;h--;)(n=i?(n=t[h].x-s)*n+(a=t[h].y-o)*a:Math.abs(t[h]-s))<l&&(l=n,c=h);return c=!r||l<=r?t[c]:e,i||c===e||Pi(e)?c:c+Yn(e)}:ra(t))},na=function(t,e,r,i){return $n(Mi(t)?!e:!0===r?!!(r=0):!i,(function(){return Mi(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i}))},aa=function(t,e,r){return $n(r,(function(r){return t[~~e(r)]}))},sa=function(t){for(var e,r,i,n,a=0,s="";~(e=t.indexOf("random(",a));)i=t.indexOf(")",e),n="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?Vi:Oi),s+=t.substr(a,e-a)+na(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),a=i+1;return s+t.substr(a,t.length-a)},oa=function(t,e,r,i,n){var a=e-t,s=i-r;return $n(n,(function(e){return r+((e-t)/a*s||0)}))},la=function(t,e,r){var i,n,a,s=t.labels,o=gi;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a},ca=function(t,e,r){var i,n,a,s=t.vars,o=s[e],l=ai,c=t._ctx;if(o)return i=s[e+"Params"],n=s.callbackScope||t,r&&Ji.length&&fn(),c&&(ai=c),a=i?o.apply(n,i):o.call(n),ai=l,a},ha=function(t){return Cn(t),t.scrollTrigger&&t.scrollTrigger.kill(!!ni),t.progress()<1&&ca(t,"onInterrupt"),t},ua=function(t){var e=(t=!t.name&&t.default||t).name,r=Ci(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:Ui,render:rs,add:qa,kill:ns,modifier:is,rawVars:0},a={targetTest:0,get:0,getSetter:Ja,aliases:{},register:0};if(Sa(),t!==i){if(tn[e])return;yn(i,yn(En(t,n),a)),bn(i.prototype,bn(n,En(t,a))),tn[i.prop=e]=i,t.targetTest&&(nn.push(i),Zi[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}$i(e,i),t.register&&t.register(bs,i,os)},da=255,pa={aqua:[0,da,da],lime:[0,da,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,da],navy:[0,0,128],white:[da,da,da],olive:[128,128,0],yellow:[da,da,0],orange:[da,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[da,0,0],pink:[da,192,203],cyan:[0,da,da],transparent:[da,da,da,0]},fa=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*da+.5|0},ma=function(t,e,r){var i,n,a,s,o,l,c,h,u,d,p=t?Pi(t)?[t>>16,t>>8&da,t&da]:0:pa.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),pa[t])p=pa[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),a=t.charAt(3),t="#"+i+i+n+n+a+a+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&da,p&da,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&da,t&da]}else if("hsl"===t.substr(0,3))if(p=d=t.match(Oi),e){if(~t.indexOf("="))return p=t.match(Fi),r&&p.length<4&&(p[3]=1),p}else s=+p[0]%360/360,o=+p[1]/100,i=2*(l=+p[2]/100)-(n=l<=.5?l*(o+1):l+o-l*o),p.length>3&&(p[3]*=1),p[0]=fa(s+1/3,i,n),p[1]=fa(s,i,n),p[2]=fa(s-1/3,i,n);else p=t.match(Oi)||pa.transparent;p=p.map(Number)}return e&&!d&&(i=p[0]/da,n=p[1]/da,a=p[2]/da,l=((c=Math.max(i,n,a))+(h=Math.min(i,n,a)))/2,c===h?s=o=0:(u=c-h,o=l>.5?u/(2-c-h):u/(c+h),s=c===i?(n-a)/u+(n<a?6:0):c===n?(a-i)/u+2:(i-n)/u+4,s*=60),p[0]=~~(s+.5),p[1]=~~(100*o+.5),p[2]=~~(100*l+.5)),r&&p.length<4&&(p[3]=1),p},ga=function(t){var e=[],r=[],i=-1;return t.split(ya).forEach((function(t){var n=t.match(Ri)||[];e.push.apply(e,n),r.push(i+=n.length+1)})),e.c=r,e},va=function(t,e,r){var i,n,a,s,o="",l=(t+o).match(ya),c=e?"hsla(":"rgba(",h=0;if(!l)return t;if(l=l.map((function(t){return(t=ma(t,e,1))&&c+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"})),r&&(a=ga(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(ya,"1").split(Ri)).length-1;h<s;h++)o+=n[h]+(~i.indexOf(h)?l.shift()||c+"0,0,0,0)":(a.length?a:l.length?l:r).shift());if(!n)for(s=(n=t.split(ya)).length-1;h<s;h++)o+=n[h]+l[h];return o+n[s]},ya=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in pa)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),ba=/hsl[a]?\(/,_a=function(t){var e,r=t.join(" ");if(ya.lastIndex=0,ya.test(r))return e=ba.test(r),t[1]=va(t[1],e),t[0]=va(t[0],e,ga(t[1])),!0},Ea=function(){var t,e,r,i,n,a,s=Date.now,o=500,l=33,c=s(),h=c,u=1e3/240,d=u,p=[],f=function r(f){var m,g,v,y,b=s()-h,_=!0===f;if(b>o&&(c+=b-l),((m=(v=(h+=b)-c)-d)>0||_)&&(y=++i.frame,n=v-1e3*i.time,i.time=v/=1e3,d+=m+(m>=u?4:u-m),g=1),_||(t=e(r)),g)for(a=0;a<p.length;a++)p[a](v,n,y,f)};return i={time:0,frame:0,tick:function(){f(!0)},deltaRatio:function(t){return n/(1e3/(t||60))},wake:function(){hi&&(!li&&Li()&&(oi=li=window,ci=oi.document||{},zi.gsap=bs,(oi.gsapVersions||(oi.gsapVersions=[])).push(bs.version),Gi(ji||oi.GreenSockGlobals||!oi.gsap&&oi||{}),r=oi.requestAnimationFrame),t&&i.sleep(),e=r||function(t){return setTimeout(t,d-1e3*i.time+1|0)},pi=1,f(2))},sleep:function(){(r?oi.cancelAnimationFrame:clearTimeout)(t),pi=0,e=Ui},lagSmoothing:function(t,e){o=t||1/0,l=Math.min(e||33,o)},fps:function(t){u=1e3/(t||240),d=1e3*i.time+u},add:function(t,e,r){var n=e?function(e,r,a,s){t(e,r,a,s),i.remove(n)}:t;return i.remove(t),p[r?"unshift":"push"](n),Sa(),n},remove:function(t,e){~(e=p.indexOf(t))&&p.splice(e,1)&&a>=e&&a--},_listeners:p},i}(),Sa=function(){return!pi&&Ea.wake()},xa={},wa=/^[\d.\-M][\d.\-,\s]/,Ca=/["']/g,Pa=function(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(":"),s=a[0],o=1,l=a.length;o<l;o++)r=a[o],e=o!==l-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Ca,"").trim():+i,s=r.substr(e+1).trim();return n},Aa=function(t){return function(e){return 1-t(1-e)}},Ta=function t(e,r){for(var i,n=e._first;n;)n instanceof Ra?t(n,r):!n.vars.yoyoEase||n._yoyo&&n._repeat||n._yoyo===r||(n.timeline?t(n.timeline,r):(i=n._ease,n._ease=n._yEase,n._yEase=i,n._yoyo=r)),n=n._next},ka=function(t,e){return t&&(Ci(t)?t:xa[t]||function(t){var e,r,i,n,a=(t+"").split("("),s=xa[a[0]];return s&&a.length>1&&s.config?s.config.apply(null,~t.indexOf("{")?[Pa(a[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n<i?e.indexOf(")",i+1):i)).split(",").map(gn)):xa._CE&&wa.test(t)?xa._CE("",t):s}(t))||e},La=function(t,e,r,i){void 0===r&&(r=function(t){return 1-e(1-t)}),void 0===i&&(i=function(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return cn(t,(function(t){for(var e in xa[t]=zi[t]=a,xa[n=t.toLowerCase()]=r,a)xa[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=xa[t+"."+e]=a[e]})),a},Da=function(t){return function(e){return e<.5?(1-t(1-2*e))/2:.5+t(2*(e-.5))/2}},Ia=function t(e,r,i){var n=r>=1?r:1,a=(i||(e?.3:.45))/(r<1?r:1),s=a/yi*(Math.asin(1/n)||0),o=function(t){return 1===t?1:n*Math.pow(2,-10*t)*xi((t-s)*a)+1},l="out"===e?o:"in"===e?function(t){return 1-o(1-t)}:Da(o);return a=yi/a,l.config=function(r,i){return t(e,r,i)},l},Ma=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:Da(i);return n.config=function(r){return t(e,r)},n};cn("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;La(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),xa.Linear.easeNone=xa.none=xa.Linear.easeIn,La("Elastic",Ia("in"),Ia("out"),Ia()),function(t,e){var r=1/e,i=function(i){return i<r?t*i*i:i<.7272727272727273?t*Math.pow(i-1.5/e,2)+.75:i<.9090909090909092?t*(i-=2.25/e)*i+.9375:t*Math.pow(i-2.625/e,2)+.984375};La("Bounce",(function(t){return 1-i(1-t)}),i)}(7.5625,2.75),La("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),La("Circ",(function(t){return-(Ei(1-t*t)-1)})),La("Sine",(function(t){return 1===t?1:1-Si(t*bi)})),La("Back",Ma("in"),Ma("out"),Ma()),xa.SteppedEase=xa.steps=zi.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0,a=1-vi;return function(t){return((i*Un(0,a,t)|0)+n)*r}}},mi.ease=xa["quad.out"],cn("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return an+=t+","+t+"Params,"}));var Oa=function(t,e){this.id=_i++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:ln,this.set=e?e.getSetter:Ja},Fa=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,zn(this,+t.duration,1,1),this.data=t.data,ai&&(this._ctx=ai,ai.data.push(this)),pi||Ea.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,zn(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Sa(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(On(this,t),!r._dp||r.parent||Fn(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t<this._tDur||this._ts<0&&t>0||!this._tDur&&!t)&&Rn(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===vi||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),mn(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ln(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ln(this),e):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Dn(this._tTime,r)+1:1},e.timeScale=function(t){if(!arguments.length)return this._rts===-vi?0:this._rts;if(this._rts===t)return this;var e=this.parent&&this._ts?In(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-vi?0:this._rts,this.totalTime(Un(-this._delay,this._tDur,e),!0),Mn(this),An(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Sa(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==vi&&(this._tTime-=vi)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Rn(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(ki(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?In(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=Ki);var e=ni;return ni=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),ni=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(e._ts||1),e=e._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1:this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,jn(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,jn(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(Hn(this,t),ki(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,ki(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-vi:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-vi,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-vi))},e.eventCallback=function(t,e,r){var i=this.vars;return arguments.length>1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(r){var i=Ci(t)?t:vn,n=function(){var t=e.then;e.then=null,Ci(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){ha(this)},t}();yn(Fa.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-vi,_prom:0,_ps:!1,_rts:1});var Ra=function(t){function e(e,r){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=ki(e.sortChildren),si&&Rn(e.parent||si,ei(i),r),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Nn(ei(i),e.scrollTrigger),i}ri(e,t);var r=e.prototype;return r.to=function(t,e,r){return Wn(0,arguments,this),this},r.from=function(t,e,r){return Wn(1,arguments,this),this},r.fromTo=function(t,e,r,i){return Wn(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Sn(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new Ua(t,e,Hn(this,r),1),this},r.call=function(t,e,r){return Rn(this,Ua.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new Ua(t,r,Hn(this,n)),this},r.staggerFrom=function(t,e,r,i,n,a,s){return r.runBackwards=1,Sn(r).immediateRender=ki(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},r.staggerFromTo=function(t,e,r,i,n,a,s,o){return i.startAt=r,Sn(i).immediateRender=ki(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},r.render=function(t,e,r){var i,n,a,s,o,l,c,h,u,d,p,f,m=this._time,g=this._dirty?this.totalDuration():this._tDur,v=this._dur,y=t<=0?0:un(t),b=this._zTime<0!=t<0&&(this._initted||!v);if(this!==si&&y>g&&t>=0&&(y=g),y!==this._tTime||r||b){if(m!==this._time&&v&&(y+=this._time-m,t+=this._time-m),i=y,u=this._start,l=!(h=this._ts),b&&(v||(m=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,o=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=un(y%o),y===g?(s=this._repeat,i=v):((s=~~(y/o))&&s===y/o&&(i=v,s--),i>v&&(i=v)),d=Dn(this._tTime,o),!m&&this._tTime&&d!==s&&(d=s),p&&1&s&&(i=v-i,f=1),s!==d&&!this._lock){var _=p&&1&d,E=_===(p&&1&s);if(s<d&&(_=!_),m=_?0:v,this._lock=1,this.render(m||(f?0:un(s*o)),e,!v)._lock=0,this._tTime=y,!e&&this.parent&&ca(this,"onRepeat"),this.vars.repeatRefresh&&!f&&(this.invalidate()._lock=1),m&&m!==this._time||l!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(v=this._dur,g=this._tDur,E&&(this._lock=2,m=_?v:-1e-4,this.render(m,!0),this.vars.repeatRefresh&&!f&&this.invalidate()),this._lock=0,!this._ts&&!l)return this;Ta(this,f)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(c=function(t,e,r){var i;if(r>e)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev}}(this,un(m),un(i)),c&&(y-=i-(i=c._start))),this._tTime=y,this._time=i,this._act=!h,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,m=0),!m&&i&&!e&&(ca(this,"onStart"),this._tTime!==y))return this;if(i>=m&&t>=0)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&c!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!l){c=0,a&&(y+=this._zTime=-vi);break}}n=a}else{n=this._last;for(var S=t<0?t:i;n;){if(a=n._prev,(n._act||S<=n._end)&&n._ts&&c!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(S-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(S-n._start)*n._ts,e,r||ni&&(n._initted||n._startAt)),i!==this._time||!this._ts&&!l){c=0,a&&(y+=this._zTime=S?-vi:vi);break}}n=a}}if(c&&!e&&(this.pause(),c.render(i>=m?0:-vi)._zTime=i>=m?1:-1,this._ts))return this._start=u,Mn(this),this.render(t,e,r);this._onUpdate&&!e&&ca(this,"onUpdate",!0),(y===g&&this._tTime>=this.totalDuration()||!y&&m)&&(u!==this._start&&Math.abs(h)===Math.abs(this._ts)||this._lock||((t||!v)&&(y===g&&this._ts>0||!y&&this._ts<0)&&Cn(this,1),e||t<0&&!m||!y&&!m&&g||(ca(this,y===g&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(y<g&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(Pi(e)||(e=Hn(this,e,t)),!(t instanceof Fa)){if(Mi(t))return t.forEach((function(t){return r.add(t,e)})),this;if(wi(t))return this.addLabel(t,e);if(!Ci(t))return this;t=Ua.delayedCall(0,t)}return this!==t?Rn(this,t,e):this},r.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-gi);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof Ua?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return wi(t)?this.removeLabel(t):Ci(t)?this.killTweensOf(t):(wn(this,t),t===this._recent&&(this._recent=this._last),Pn(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=un(Ea.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=Hn(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var i=Ua.delayedCall(0,e||Ui,r);return i.data="isPause",this._hasPause=1,Rn(this,i,Hn(this,t))},r.removePause=function(t){var e=this._first;for(t=Hn(this,t);e;)e._start===t&&"isPause"===e.data&&Cn(e),e=e._next},r.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Na!==i[n]&&i[n].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,i=[],n=Jn(t),a=this._first,s=Pi(e);a;)a instanceof Ua?pn(a._targets,n)&&(s?(!Na||a._initted&&a._ts)&&a.globalTime(0)<=e&&a.globalTime(a.totalDuration())>e:!e||a.isActive())&&i.push(a):(r=a.getTweensOf(n,e)).length&&i.push.apply(i,r),a=a._next;return i},r.tweenTo=function(t,e){e=e||{};var r,i=this,n=Hn(i,t),a=e,s=a.startAt,o=a.onStart,l=a.onStartParams,c=a.immediateRender,h=Ua.to(i,yn({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale())||vi,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(s&&"time"in s?s.time:i._time))/i.timeScale());h._dur!==t&&zn(h,t,0,1).render(h._time,!0,!0),r=1}o&&o.apply(h,l||[])}},e));return c?h.render(0):h},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,yn({startAt:{time:Hn(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),la(this,Hn(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),la(this,Hn(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+vi)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,a=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Pn(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Pn(this)},r.totalDuration=function(t){var e,r,i,n=0,a=this,s=a._last,o=gi;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),(r=s._start)>o&&a._sort&&s._ts&&!a._lock?(a._lock=1,Rn(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=r/a._ts,a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;zn(a,a===si&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(t){if(si._ts&&(mn(si,In(t,si)),ui=Ea.frame),Ea.frame>=rn){rn+=fi.autoSleep||120;var e=si._first;if((!e||!e._ts)&&fi.autoSleep&&Ea._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Ea.sleep()}}},e}(Fa);yn(Ra.prototype,{_lock:0,_hasPause:0,_forcing:0});var Na,Ba,Va=function(t,e,r,i,n,a,s){var o,l,c,h,u,d,p,f,m=new os(this._pt,t,e,0,1,es,null,n),g=0,v=0;for(m.b=r,m.e=i,r+="",(p=~(i+="").indexOf("random("))&&(i=sa(i)),a&&(a(f=[r,i],t,e),r=f[0],i=f[1]),l=r.match(Ni)||[];o=Ni.exec(i);)h=o[0],u=i.substring(g,o.index),c?c=(c+1)%5:"rgba("===u.substr(-5)&&(c=1),h!==l[v++]&&(d=parseFloat(l[v-1])||0,m._pt={_next:m._pt,p:u||1===v?u:",",s:d,c:"="===h.charAt(1)?dn(d,h)-d:parseFloat(h)-d,m:c&&c<4?Math.round:0},g=Ni.lastIndex);return m.c=g<i.length?i.substring(g,i.length):"",m.fp=s,(Bi.test(i)||p)&&(m.e=0),this._pt=m,m},qa=function(t,e,r,i,n,a,s,o,l,c){Ci(i)&&(i=i(n||0,t,a));var h,u=t[e],d="get"!==r?r:Ci(u)?l?t[e.indexOf("set")||!Ci(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():u,p=Ci(u)?l?Ka:Xa:Ya;if(wi(i)&&(~i.indexOf("random(")&&(i=sa(i)),"="===i.charAt(1)&&((h=dn(d,i)+(Yn(d)||0))||0===h)&&(i=h)),!c||d!==i||Ba)return isNaN(d*i)||""===i?(!u&&!(e in t)&&Hi(e,i),Va.call(this,t,e,d,i,p,o||fi.stringFilter,l)):(h=new os(this._pt,t,e,+d||0,i-(d||0),"boolean"==typeof u?ts:Qa,0,p),l&&(h.fp=l),s&&h.modifier(s,this,t),this._pt=h)},za=function(t,e,r,i,n,a){var s,o,l,c;if(tn[t]&&!1!==(s=new tn[t]).init(n,s.rawVars?e[t]:function(t,e,r,i,n){if(Ci(t)&&(t=Ha(t,n,e,r,i)),!Ti(t)||t.style&&t.nodeType||Mi(t)||Ii(t))return wi(t)?Ha(t,n,e,r,i):t;var a,s={};for(a in t)s[a]=Ha(t[a],n,e,r,i);return s}(e[t],i,n,a,r),r,i,a)&&(r._pt=o=new os(r._pt,n,t,0,1,s.render,s,0,s.priority),r!==di))for(l=r._ptLookup[r._targets.indexOf(n)],c=s._props.length;c--;)l[s._props[c]]=o;return s},ja=function t(e,r,i){var n,a,s,o,l,c,h,u,d,p,f,m,g,v=e.vars,y=v.ease,b=v.startAt,_=v.immediateRender,E=v.lazy,S=v.onUpdate,x=v.onUpdateParams,w=v.callbackScope,C=v.runBackwards,P=v.yoyoEase,A=v.keyframes,T=v.autoRevert,k=e._dur,L=e._startAt,D=e._targets,I=e.parent,M=I&&"nested"===I.data?I.vars.targets:D,O="auto"===e._overwrite&&!ii,F=e.timeline;if(F&&(!A||!y)&&(y="none"),e._ease=ka(y,mi.ease),e._yEase=P?Aa(ka(!0===P?y:P,mi.ease)):0,P&&e._yoyo&&!e._repeat&&(P=e._yEase,e._yEase=e._ease,e._ease=P),e._from=!F&&!!v.runBackwards,!F||A&&!v.stagger){if(m=(u=D[0]?on(D[0]).harness:0)&&v[u.prop],n=En(v,Zi),L&&(L._zTime<0&&L.progress(1),r<0&&C&&_&&!T?L.render(-1,!0):L.revert(C&&k?Xi:Yi),L._lazy=0),b){if(Cn(e._startAt=Ua.set(D,yn({data:"isStart",overwrite:!1,parent:I,immediateRender:!0,lazy:!L&&ki(E),startAt:null,delay:0,onUpdate:S,onUpdateParams:x,callbackScope:w,stagger:0},b))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ni||!_&&!T)&&e._startAt.revert(Xi),_&&k&&r<=0&&i<=0)return void(r&&(e._zTime=r))}else if(C&&k&&!L)if(r&&(_=!1),s=yn({overwrite:!1,data:"isFromStart",lazy:_&&!L&&ki(E),immediateRender:_,stagger:0,parent:I},n),m&&(s[u.prop]=m),Cn(e._startAt=Ua.set(D,s)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(ni?e._startAt.revert(Xi):e._startAt.render(-1,!0)),e._zTime=r,_){if(!r)return}else t(e._startAt,vi,vi);for(e._pt=e._ptCache=0,E=k&&ki(E)||E&&!k,a=0;a<D.length;a++){if(h=(l=D[a])._gsap||sn(D)[a]._gsap,e._ptLookup[a]=p={},Qi[h.id]&&Ji.length&&fn(),f=M===D?a:M.indexOf(l),u&&!1!==(d=new u).init(l,m||n,e,f,M)&&(e._pt=o=new os(e._pt,l,d.name,0,1,d.render,d,0,d.priority),d._props.forEach((function(t){p[t]=o})),d.priority&&(c=1)),!u||m)for(s in n)tn[s]&&(d=za(s,n,e,f,l,M))?d.priority&&(c=1):p[s]=o=qa.call(e,l,s,"get",n[s],f,M,0,v.stringFilter);e._op&&e._op[a]&&e.kill(l,e._op[a]),O&&e._pt&&(Na=e,si.killTweensOf(l,p,e.globalTime(r)),g=!e.parent,Na=0),e._pt&&E&&(Qi[h.id]=1)}c&&ss(e),e._onInit&&e._onInit(e)}e._onUpdate=S,e._initted=(!e._op||e._pt)&&!g,A&&r<=0&&F.render(gi,!0,!0)},Ga=function(t,e,r,i){var n,a,s=e.ease||i||"power1.inOut";if(Mi(e))a=r[t]||(r[t]=[]),e.forEach((function(t,r){return a.push({t:r/(e.length-1)*100,v:t,e:s})}));else for(n in e)a=r[n]||(r[n]=[]),"ease"===n||a.push({t:parseFloat(t),v:e[n],e:s})},Ha=function(t,e,r,i,n){return Ci(t)?t.call(e,r,i,n):wi(t)&&~t.indexOf("random(")?sa(t):t},Wa=an+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",$a={};cn(Wa+",id,stagger,delay,duration,paused,scrollTrigger",(function(t){return $a[t]=1}));var Ua=function(t){function e(e,r,i,n){var a;"number"==typeof r&&(i.duration=r,r=i,i=null);var s,o,l,c,h,u,d,p,f=(a=t.call(this,n?r:Sn(r))||this).vars,m=f.duration,g=f.delay,v=f.immediateRender,y=f.stagger,b=f.overwrite,_=f.keyframes,E=f.defaults,S=f.scrollTrigger,x=f.yoyoEase,w=r.parent||si,C=(Mi(e)||Ii(e)?Pi(e[0]):"length"in r)?[e]:Jn(e);if(a._targets=C.length?sn(C):Wi("GSAP target "+e+" not found. https://greensock.com",!fi.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=b,_||y||Di(m)||Di(g)){if(r=a.vars,(s=a.timeline=new Ra({data:"nested",defaults:E||{},targets:w&&"nested"===w.data?w.vars.targets:C})).kill(),s.parent=s._dp=ei(a),s._start=0,y||Di(m)||Di(g)){if(c=C.length,d=y&&ea(y),Ti(y))for(h in y)~Wa.indexOf(h)&&(p||(p={}),p[h]=y[h]);for(o=0;o<c;o++)(l=En(r,$a)).stagger=0,x&&(l.yoyoEase=x),p&&bn(l,p),u=C[o],l.duration=+Ha(m,ei(a),o,u,C),l.delay=(+Ha(g,ei(a),o,u,C)||0)-a._delay,!y&&1===c&&l.delay&&(a._delay=g=l.delay,a._start+=g,l.delay=0),s.to(u,l,d?d(o,u,C):0),s._ease=xa.none;s.duration()?m=g=0:a.timeline=0}else if(_){Sn(yn(s.vars.defaults,{ease:"none"})),s._ease=ka(_.ease||r.ease||"none");var P,A,T,k=0;if(Mi(_))_.forEach((function(t){return s.to(C,t,">")})),s.duration();else{for(h in l={},_)"ease"===h||"easeEach"===h||Ga(h,_[h],l,_.easeEach);for(h in l)for(P=l[h].sort((function(t,e){return t.t-e.t})),k=0,o=0;o<P.length;o++)(T={ease:(A=P[o]).e,duration:(A.t-(o?P[o-1].t:0))/100*m})[h]=A.v,s.to(C,T,k),k+=T.duration;s.duration()<m&&s.to({},{duration:m-s.duration()})}}m||a.duration(m=s.duration())}else a.timeline=0;return!0!==b||ii||(Na=ei(a),si.killTweensOf(C),Na=0),Rn(w,ei(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(v||!m&&!_&&a._start===un(w._time)&&ki(v)&&kn(ei(a))&&"nested"!==w.data)&&(a._tTime=-vi,a.render(Math.max(0,-g)||0)),S&&Nn(ei(a),S),a}ri(e,t);var r=e.prototype;return r.render=function(t,e,r){var i,n,a,s,o,l,c,h,u,d=this._time,p=this._tDur,f=this._dur,m=t<0,g=t>p-vi&&!m?p:t<vi?0:t;if(f){if(g!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==m){if(i=g,h=this.timeline,this._repeat){if(s=f+this._rDelay,this._repeat<-1&&m)return this.totalTime(100*s+t,e,r);if(i=un(g%s),g===p?(a=this._repeat,i=f):((a=~~(g/s))&&a===g/s&&(i=f,a--),i>f&&(i=f)),(l=this._yoyo&&1&a)&&(u=this._yEase,i=f-i),o=Dn(this._tTime,s),i===d&&!r&&this._initted)return this._tTime=g,this;a!==o&&(h&&this._yEase&&Ta(h,l),!this.vars.repeatRefresh||l||this._lock||(this._lock=r=1,this.render(un(s*a),!0).invalidate()._lock=0))}if(!this._initted){if(Bn(this,m?t:i,r,e,g))return this._tTime=0,this;if(d!==this._time)return this;if(f!==this._dur)return this.render(t,e,r)}if(this._tTime=g,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=c=(u||this._ease)(i/f),this._from&&(this.ratio=c=1-c),i&&!d&&!e&&(ca(this,"onStart"),this._tTime!==g))return this;for(n=this._pt;n;)n.r(c,n.d),n=n._next;h&&h.render(t<0?t:!i&&l?-vi:h._dur*h._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(m&&Tn(this,t,0,r),ca(this,"onUpdate")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&ca(this,"onRepeat"),g!==this._tDur&&g||this._tTime!==g||(m&&!this._onUpdate&&Tn(this,t,0,!0),(t||!f)&&(g===this._tDur&&this._ts>0||!g&&this._ts<0)&&Cn(this,1),e||m&&!d||!(g||d||l)||(ca(this,g===p?"onComplete":"onReverseComplete",!0),this._prom&&!(g<p&&this.timeScale()>0)&&this._prom()))}}else!function(t,e,r,i){var n,a,s,o=t.ratio,l=e<0||!e&&(!t._start&&Vn(t)&&(t._initted||!qn(t))||(t._ts<0||t._dp._ts<0)&&!qn(t))?0:1,c=t._rDelay,h=0;if(c&&t._repeat&&(h=Un(0,t._tDur,e),a=Dn(h,c),t._yoyo&&1&a&&(l=1-l),a!==Dn(t._tTime,c)&&(o=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==o||ni||i||t._zTime===vi||!e&&t._zTime){if(!t._initted&&Bn(t,e,i,r,h))return;for(s=t._zTime,t._zTime=e||(r?vi:0),r||(r=e&&!s),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=h,n=t._pt;n;)n.r(l,n.d),n=n._next;e<0&&Tn(t,e,0,!0),t._onUpdate&&!r&&ca(t,"onUpdate"),h&&t._repeat&&!r&&t.parent&&ca(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Cn(t,1),r||ni||(ca(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,i){pi||Ea.wake(),this._ts||this.play();var n=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||ja(this,n),function(t,e,r,i,n,a,s){var o,l,c,h,u=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!u)for(u=t._ptCache[e]=[],c=t._ptLookup,h=t._targets.length;h--;){if((o=c[h][e])&&o.d&&o.d._pt)for(o=o.d._pt;o&&o.p!==e&&o.fp!==e;)o=o._next;if(!o)return Ba=1,t.vars[e]="+=0",ja(t,s),Ba=0,1;u.push(o)}for(h=u.length;h--;)(o=(l=u[h])._pt||l).s=!i&&0!==i||n?o.s+(i||0)+a*o.c:i,o.c=r-o.s,l.e&&(l.e=hn(r)+Yn(l.e)),l.b&&(l.b=o.s+Yn(l.b))}(this,t,e,r,i,this._ease(n/this._dur),n)?this.resetTo(t,e,r,i):(On(this,0),this.parent||xn(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?ha(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Na&&!0!==Na.vars.overwrite)._first||ha(this),this.parent&&r!==this.timeline.totalDuration()&&zn(this,this._dur*this.timeline._tDur/r,0,1),this}var i,n,a,s,o,l,c,h=this._targets,u=t?Jn(t):h,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(h,u))return"all"===e&&(this._pt=0),ha(this);for(i=this._op=this._op||[],"all"!==e&&(wi(e)&&(o={},cn(e,(function(t){return o[t]=1})),e=o),e=function(t,e){var r,i,n,a,s=t[0]?on(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=bn({},e),o)if(i in r)for(n=(a=o[i].split(",")).length;n--;)r[a[n]]=r[i];return r}(h,e)),c=h.length;c--;)if(~u.indexOf(h[c]))for(o in n=d[c],"all"===e?(i[c]=e,s=n,a={}):(a=i[c]=i[c]||{},s=e),s)(l=n&&n[o])&&("kill"in l.d&&!0!==l.d.kill(o)||wn(this,l,"_pt"),delete n[o]),"all"!==a&&(a[o]=1);return this._initted&&!this._pt&&p&&ha(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return Wn(1,arguments)},e.delayedCall=function(t,r,i,n){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},e.fromTo=function(t,e,r){return Wn(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return si.killTweensOf(t,e,r)},e}(Fa);yn(Ua.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),cn("staggerTo,staggerFrom,staggerFromTo",(function(t){Ua[t]=function(){var e=new Ra,r=Xn.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var Ya=function(t,e,r){return t[e]=r},Xa=function(t,e,r){return t[e](r)},Ka=function(t,e,r,i){return t[e](i.fp,r)},Za=function(t,e,r){return t.setAttribute(e,r)},Ja=function(t,e){return Ci(t[e])?Xa:Ai(t[e])&&t.setAttribute?Za:Ya},Qa=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},ts=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},es=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},rs=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},is=function(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n},ns=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?wn(this,i,"_pt"):i.dep||(e=1),i=r;return!e},as=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},ss=function(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e}t._pt=i},os=function(){function t(t,e,r,i,n,a,s,o,l){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||Qa,this.d=s||this,this.set=o||Ya,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=as,this.m=t,this.mt=r,this.tween=e},t}();cn(an+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return Zi[t]=1})),zi.TweenMax=zi.TweenLite=Ua,zi.TimelineLite=zi.TimelineMax=Ra,si=new Ra({sortChildren:!1,defaults:mi,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),fi.stringFilter=_a;var ls=[],cs={},hs=[],us=0,ds=function(t){return(cs[t]||hs).map((function(t){return t()}))},ps=function(){var t=Date.now(),e=[];t-us>2&&(ds("matchMediaInit"),ls.forEach((function(t){var r,i,n,a,s=t.queries,o=t.conditions;for(i in s)(r=oi.matchMedia(s[i]).matches)&&(n=1),r!==o[i]&&(o[i]=r,a=1);a&&(t.revert(),n&&e.push(t))})),ds("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t)})),us=t,ds("matchMedia"))},fs=function(){function t(t,e){this.selector=e&&Qn(e),this.data=[],this._r=[],this.isReverted=!1,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){Ci(t)&&(r=e,e=t,t=Ci);var i=this,n=function(){var t,n=ai,a=i.selector;return n&&n!==i&&n.data.push(i),r&&(i.selector=Qn(r)),ai=i,t=e.apply(i,arguments),Ci(t)&&i._r.push(t),ai=n,i.selector=a,i.isReverted=!1,t};return i.last=n,t===Ci?n(i):t?i[t]=n:n},e.ignore=function(t){var e=ai;ai=null,t(this),ai=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof Ua&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t){var i=this.getTweens();this.data.forEach((function(t){"isFlip"===t.data&&(t.revert(),t.getChildren(!0,!0,!1).forEach((function(t){return i.splice(i.indexOf(t),1)})))})),i.map((function(t){return{g:t.globalTime(0),t:t}})).sort((function(t,e){return e.g-t.g||-1})).forEach((function(e){return e.t.revert(t)})),this.data.forEach((function(e){return!(e instanceof Fa)&&e.revert&&e.revert(t)})),this._r.forEach((function(e){return e(t,r)})),this.isReverted=!0}else this.data.forEach((function(t){return t.kill&&t.kill()}));if(this.clear(),e){var n=ls.indexOf(this);~n&&ls.splice(n,1)}},e.revert=function(t){this.kill(t||{})},t}(),ms=function(){function t(t){this.contexts=[],this.scope=t}var e=t.prototype;return e.add=function(t,e,r){Ti(t)||(t={matches:t});var i,n,a,s=new fs(0,r||this.scope),o=s.conditions={};for(n in this.contexts.push(s),e=s.add("onMatch",e),s.queries=t,t)"all"===n?a=1:(i=oi.matchMedia(t[n]))&&(ls.indexOf(s)<0&&ls.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(ps):i.addEventListener("change",ps));return a&&e(s),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),gs={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach((function(t){return ua(t)}))},timeline:function(t){return new Ra(t)},getTweensOf:function(t,e){return si.getTweensOf(t,e)},getProperty:function(t,e,r,i){wi(t)&&(t=Jn(t)[0]);var n=on(t||{}).get,a=r?vn:gn;return"native"===r&&(r=""),t?e?a((tn[e]&&tn[e].get||n)(t,e,r,i)):function(e,r,i){return a((tn[e]&&tn[e].get||n)(t,e,r,i))}:t},quickSetter:function(t,e,r){if((t=Jn(t)).length>1){var i=t.map((function(t){return bs.quickSetter(t,e,r)})),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var a=tn[e],s=on(t),o=s.harness&&(s.harness.aliases||{})[e]||e,l=a?function(e){var i=new a;di._pt=0,i.init(t,r?e+r:e,di,0,[t]),i.render(1,i),di._pt&&rs(1,di)}:s.set(t,o);return a?l:function(e){return l(t,o,r?e+r:e,s,1)}},quickTo:function(t,e,r){var i,n=bs.to(t,bn(((i={})[e]="+=0.1",i.paused=!0,i),r||{})),a=function(t,r,i){return n.resetTo(e,t,r,i)};return a.tween=n,a},isTweening:function(t){return si.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=ka(t.ease,mi.ease)),_n(mi,t||{})},config:function(t){return _n(fi,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,a=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!tn[t]&&!zi[t]&&Wi(e+" effect requires "+t+" plugin.")})),en[e]=function(t,e,i){return r(Jn(t),yn(e||{},n),i)},a&&(Ra.prototype[e]=function(t,r,i){return this.add(en[e](t,Ti(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){xa[t]=ka(e)},parseEase:function(t,e){return arguments.length?ka(t,e):xa},getById:function(t){return si.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new Ra(t);for(n.smoothChildTiming=ki(t.smoothChildTiming),si.remove(n),n._dp=0,n._time=n._tTime=si._time,r=si._first;r;)i=r._next,!e&&!r._dur&&r instanceof Ua&&r.vars.onComplete===r._targets[0]||Rn(n,r,r._start-r._delay),r=i;return Rn(si,n,0),n},context:function(t,e){return t?new fs(t,e):ai},matchMedia:function(t){return new ms(t)},matchMediaRefresh:function(){return ls.forEach((function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()}))||ps()},addEventListener:function(t,e){var r=cs[t]||(cs[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=cs[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:function t(e,r,i){var n=r-e;return Mi(e)?aa(e,t(0,e.length),r):$n(i,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,r,i){var n=r-e,a=2*n;return Mi(e)?aa(e,t(0,e.length-1),r):$n(i,(function(t){return e+((t=(a+(t-e)%a)%a||0)>n?a-t:t)}))},distribute:ea,random:na,snap:ia,normalize:function(t,e,r){return oa(t,e,0,1,r)},getUnit:Yn,clamp:function(t,e,r){return $n(r,(function(r){return Un(t,e,r)}))},splitColor:ma,toArray:Jn,selector:Qn,mapRange:oa,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce((function(t,e){return e(t)}),t)}},unitize:function(t,e){return function(r){return t(parseFloat(r))+(e||Yn(r))}},interpolate:function t(e,r,i,n){var a=isNaN(e+r)?0:function(t){return(1-t)*e+t*r};if(!a){var s,o,l,c,h,u=wi(e),d={};if(!0===i&&(n=1)&&(i=null),u)e={p:e},r={p:r};else if(Mi(e)&&!Mi(r)){for(l=[],c=e.length,h=c-2,o=1;o<c;o++)l.push(t(e[o-1],e[o]));c--,a=function(t){t*=c;var e=Math.min(h,~~t);return l[e](t-e)},i=r}else n||(e=bn(Mi(e)?[]:{},e));if(!l){for(s in r)qa.call(d,e,s,"get",r[s]);a=function(t){return rs(t,d)||(u?e.p:e)}}}return $n(i,a)},shuffle:ta},install:Gi,effects:en,ticker:Ea,updateRoot:Ra.updateRoot,plugins:tn,globalTimeline:si,core:{PropTween:os,globals:$i,Tween:Ua,Timeline:Ra,Animation:Fa,getCache:on,_removeLinkedListItem:wn,reverting:function(){return ni},context:function(t){return t&&ai&&(ai.data.push(t),t._ctx=ai),ai},suppressOverwrites:function(t){return ii=t}}};cn("to,from,fromTo,delayedCall,set,killTweensOf",(function(t){return gs[t]=Ua[t]})),Ea.add(Ra.updateRoot),di=gs.to({},{duration:0});var vs=function(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r},ys=function(t,e){return{name:t,rawVars:1,init:function(t,r,i){i._onInit=function(t){var i,n;if(wi(r)&&(i={},cn(r,(function(t){return i[t]=1})),r=i),e){for(n in i={},r)i[n]=e(r[n]);r=i}!function(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=t._ptLookup[i][r])&&(n=n.d)&&(n._pt&&(n=vs(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r))}(t,r)}}}},bs=gs.registerPlugin({name:"attr",init:function(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||"",(s=this.add(t,"setAttribute",(o||0)+"",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a)},render:function(t,e){for(var r=e._pt;r;)ni?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next}},{name:"endArray",init:function(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1)}},ys("roundProps",ra),ys("modifiers"),ys("snap",ia))||gs;Ua.version=Ra.version=bs.version="3.11.4",hi=1,Li()&&Sa();xa.Power0,xa.Power1,xa.Power2,xa.Power3,xa.Power4,xa.Linear,xa.Quad,xa.Cubic,xa.Quart,xa.Quint,xa.Strong,xa.Elastic,xa.Back,xa.SteppedEase,xa.Bounce,xa.Sine,xa.Expo,xa.Circ;var _s,Es,Ss,xs,ws,Cs,Ps,As,Ts={},ks=180/Math.PI,Ls=Math.PI/180,Ds=Math.atan2,Is=/([A-Z])/g,Ms=/(left|right|width|margin|padding|x)/i,Os=/[\s,\(]\S/,Fs={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Rs=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Ns=function(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)},Bs=function(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)},Vs=function(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e)},qs=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},zs=function(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)},js=function(t,e,r){return t.style[e]=r},Gs=function(t,e,r){return t.style.setProperty(e,r)},Hs=function(t,e,r){return t._gsap[e]=r},Ws=function(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r},$s=function(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a)},Us=function(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a)},Ys="transform",Xs=Ys+"Origin",Ks=function(t,e){var r=this,i=this.target,n=i.style;if(t in Ts){if(this.tfm=this.tfm||{},"transform"!==t&&(~(t=Fs[t]||t).indexOf(",")?t.split(",").forEach((function(t){return r.tfm[t]=mo(i,t)})):this.tfm[t]=i._gsap.x?i._gsap[t]:mo(i,t)),this.props.indexOf(Ys)>=0)return;i._gsap.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(Xs,e,"")),t=Ys}(n||e)&&this.props.push(t,e,n[t])},Zs=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Js=function(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty(r[t].replace(Is,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),!(t=Ps())||t.isStart||n[Ys]||(Zs(n),a.uncache=1)}},Qs=function(t,e){var r={target:t,props:[],revert:Js,save:Ks};return e&&e.split(",").forEach((function(t){return r.save(t)})),r},to=function(t,e){var r=Es.createElementNS?Es.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Es.createElement(t);return r.style?r:Es.createElement(t)},eo=function t(e,r,i){var n=getComputedStyle(e);return n[r]||n.getPropertyValue(r.replace(Is,"-$1").toLowerCase())||n.getPropertyValue(r)||!i&&t(e,io(r)||r,1)||""},ro="O,Moz,ms,Ms,Webkit".split(","),io=function(t,e,r){var i=(e||ws).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(ro[n]+t in i););return n<0?null:(3===n?"ms":n>=0?ro[n]:"")+t},no=function(){"undefined"!=typeof window&&window.document&&(_s=window,Es=_s.document,Ss=Es.documentElement,ws=to("div")||{style:{}},to("div"),Ys=io(Ys),Xs=Ys+"Origin",ws.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",As=!!io("perspective"),Ps=bs.core.reverting,xs=1)},ao=function t(e){var r,i=to("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,a=this.nextSibling,s=this.style.cssText;if(Ss.appendChild(i),i.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return n&&(a?n.insertBefore(this,a):n.appendChild(this)),Ss.removeChild(i),this.style.cssText=s,r},so=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},oo=function(t){var e;try{e=t.getBBox()}catch(r){e=ao.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===ao||(e=ao.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+so(t,["x","cx","x1"])||0,y:+so(t,["y","cy","y1"])||0,width:0,height:0}},lo=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!oo(t))},co=function(t,e){if(e){var r=t.style;e in Ts&&e!==Xs&&(e=Ys),r.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),r.removeProperty(e.replace(Is,"-$1").toLowerCase())):r.removeAttribute(e)}},ho=function(t,e,r,i,n,a){var s=new os(t._pt,e,r,0,1,a?zs:qs);return t._pt=s,s.b=i,s.e=n,t._props.push(r),s},uo={deg:1,rad:1,turn:1},po={grid:1,flex:1},fo=function t(e,r,i,n){var a,s,o,l,c=parseFloat(i)||0,h=(i+"").trim().substr((c+"").length)||"px",u=ws.style,d=Ms.test(r),p="svg"===e.tagName.toLowerCase(),f=(p?"client":"offset")+(d?"Width":"Height"),m=100,g="px"===n,v="%"===n;return n===h||!c||uo[n]||uo[h]?c:("px"!==h&&!g&&(c=t(e,r,i,"px")),l=e.getCTM&&lo(e),!v&&"%"!==h||!Ts[r]&&!~r.indexOf("adius")?(u[d?"width":"height"]=m+(g?h:n),s=~r.indexOf("adius")||"em"===n&&e.appendChild&&!p?e:e.parentNode,l&&(s=(e.ownerSVGElement||{}).parentNode),s&&s!==Es&&s.appendChild||(s=Es.body),(o=s._gsap)&&v&&o.width&&d&&o.time===Ea.time&&!o.uncache?hn(c/o.width*m):((v||"%"===h)&&!po[eo(s,"display")]&&(u.position=eo(e,"position")),s===e&&(u.position="static"),s.appendChild(ws),a=ws[f],s.removeChild(ws),u.position="absolute",d&&v&&((o=on(s)).time=Ea.time,o.width=s[f]),hn(g?a*c/m:a&&c?m/a*c:0))):(a=l?e.getBBox()[d?"width":"height"]:e[f],hn(v?c/a*m:c/100*a)))},mo=function(t,e,r,i){var n;return xs||no(),e in Fs&&"transform"!==e&&~(e=Fs[e]).indexOf(",")&&(e=e.split(",")[0]),Ts[e]&&"transform"!==e?(n=Ao(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:To(eo(t,Xs))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=_o[e]&&_o[e](t,e,r)||eo(t,e)||ln(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?fo(t,e,n,r)+r:n},go=function(t,e,r,i){if(!r||"none"===r){var n=io(e,t,1),a=n&&eo(t,n,1);a&&a!==r?(e=n,r=a):"borderColor"===e&&(r=eo(t,"borderTopColor"))}var s,o,l,c,h,u,d,p,f,m,g,v=new os(this._pt,t.style,e,0,1,es),y=0,b=0;if(v.b=r,v.e=i,r+="","auto"===(i+="")&&(t.style[e]=i,i=eo(t,e)||i,t.style[e]=r),_a(s=[r,i]),i=s[1],l=(r=s[0]).match(Ri)||[],(i.match(Ri)||[]).length){for(;o=Ri.exec(i);)d=o[0],f=i.substring(y,o.index),h?h=(h+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(h=1),d!==(u=l[b++]||"")&&(c=parseFloat(u)||0,g=u.substr((c+"").length),"="===d.charAt(1)&&(d=dn(c,d)+g),p=parseFloat(d),m=d.substr((p+"").length),y=Ri.lastIndex-m.length,m||(m=m||fi.units[e]||g,y===i.length&&(i+=m,v.e+=m)),g!==m&&(c=fo(t,e,u,m)||0),v._pt={_next:v._pt,p:f||1===b?f:",",s:c,c:p-c,m:h&&h<4||"zIndex"===e?Math.round:0});v.c=y<i.length?i.substring(y,i.length):""}else v.r="display"===e&&"none"===i?zs:qs;return Bi.test(i)&&(v.e=0),this._pt=v,v},vo={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},yo=function(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return"top"!==r&&"bottom"!==r&&"left"!==i&&"right"!==i||(t=r,r=i,i=t),e[0]=vo[r]||r,e[1]=vo[i]||i,e.join(" ")},bo=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,l=a._gsap;if("all"===o||!0===o)s.cssText="",i=1;else for(n=(o=o.split(",")).length;--n>-1;)r=o[n],Ts[r]&&(i=1,r="transformOrigin"===r?Xs:Ys),co(a,r);i&&(co(a,Ys),l&&(l.svg&&a.removeAttribute("transform"),Ao(a,1),l.uncache=1,Zs(s)))}},_o={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var a=t._pt=new os(t._pt,e,r,0,0,bo);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},Eo=[1,0,0,1,0,0],So={},xo=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},wo=function(t){var e=eo(t,Ys);return xo(e)?Eo:e.substr(7).match(Fi).map(hn)},Co=function(t,e){var r,i,n,a,s=t._gsap||on(t),o=t.style,l=wo(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?Eo:l:(l!==Eo||t.offsetParent||t===Ss||s.svg||(n=o.display,o.display="block",(r=t.parentNode)&&t.offsetParent||(a=1,i=t.nextElementSibling,Ss.appendChild(t)),l=wo(t),n?o.display=n:co(t,"display"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Ss.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Po=function(t,e,r,i,n,a){var s,o,l,c=t._gsap,h=n||Co(t,!0),u=c.xOrigin||0,d=c.yOrigin||0,p=c.xOffset||0,f=c.yOffset||0,m=h[0],g=h[1],v=h[2],y=h[3],b=h[4],_=h[5],E=e.split(" "),S=parseFloat(E[0])||0,x=parseFloat(E[1])||0;r?h!==Eo&&(o=m*y-g*v)&&(l=S*(-g/o)+x*(m/o)-(m*_-g*b)/o,S=S*(y/o)+x*(-v/o)+(v*_-y*b)/o,x=l):(S=(s=oo(t)).x+(~E[0].indexOf("%")?S/100*s.width:S),x=s.y+(~(E[1]||E[0]).indexOf("%")?x/100*s.height:x)),i||!1!==i&&c.smooth?(b=S-u,_=x-d,c.xOffset=p+(b*m+_*v)-b,c.yOffset=f+(b*g+_*y)-_):c.xOffset=c.yOffset=0,c.xOrigin=S,c.yOrigin=x,c.smooth=!!i,c.origin=e,c.originIsAbsolute=!!r,t.style[Xs]="0px 0px",a&&(ho(a,c,"xOrigin",u,S),ho(a,c,"yOrigin",d,x),ho(a,c,"xOffset",p,c.xOffset),ho(a,c,"yOffset",f,c.yOffset)),t.setAttribute("data-svg-origin",S+" "+x)},Ao=function(t,e){var r=t._gsap||new Oa(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,l,c,h,u,d,p,f,m,g,v,y,b,_,E,S,x,w,C,P,A,T,k,L,D,I,M,O,F=t.style,R=r.scaleX<0,N="px",B="deg",V=getComputedStyle(t),q=eo(t,Xs)||"0";return i=n=a=l=c=h=u=d=p=0,s=o=1,r.svg=!(!t.getCTM||!lo(t)),V.translate&&("none"===V.translate&&"none"===V.scale&&"none"===V.rotate||(F[Ys]=("none"!==V.translate?"translate3d("+(V.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==V.rotate?"rotate("+V.rotate+") ":"")+("none"!==V.scale?"scale("+V.scale.split(" ").join(",")+") ":"")+("none"!==V[Ys]?V[Ys]:"")),F.scale=F.rotate=F.translate="none"),g=Co(t,r.svg),r.svg&&(r.uncache?(A=t.getBBox(),q=r.xOrigin-A.x+"px "+(r.yOrigin-A.y)+"px",P=""):P=!e&&t.getAttribute("data-svg-origin"),Po(t,P||q,!!P||r.originIsAbsolute,!1!==r.smooth,g)),f=r.xOrigin||0,m=r.yOrigin||0,g!==Eo&&(_=g[0],E=g[1],S=g[2],x=g[3],i=w=g[4],n=C=g[5],6===g.length?(s=Math.sqrt(_*_+E*E),o=Math.sqrt(x*x+S*S),l=_||E?Ds(E,_)*ks:0,(u=S||x?Ds(S,x)*ks+l:0)&&(o*=Math.abs(Math.cos(u*Ls))),r.svg&&(i-=f-(f*_+m*S),n-=m-(f*E+m*x))):(O=g[6],I=g[7],k=g[8],L=g[9],D=g[10],M=g[11],i=g[12],n=g[13],a=g[14],c=(v=Ds(O,D))*ks,v&&(P=w*(y=Math.cos(-v))+k*(b=Math.sin(-v)),A=C*y+L*b,T=O*y+D*b,k=w*-b+k*y,L=C*-b+L*y,D=O*-b+D*y,M=I*-b+M*y,w=P,C=A,O=T),h=(v=Ds(-S,D))*ks,v&&(y=Math.cos(-v),M=x*(b=Math.sin(-v))+M*y,_=P=_*y-k*b,E=A=E*y-L*b,S=T=S*y-D*b),l=(v=Ds(E,_))*ks,v&&(P=_*(y=Math.cos(v))+E*(b=Math.sin(v)),A=w*y+C*b,E=E*y-_*b,C=C*y-w*b,_=P,w=A),c&&Math.abs(c)+Math.abs(l)>359.9&&(c=l=0,h=180-h),s=hn(Math.sqrt(_*_+E*E+S*S)),o=hn(Math.sqrt(C*C+O*O)),v=Ds(w,C),u=Math.abs(v)>2e-4?v*ks:0,p=M?1/(M<0?-M:M):0),r.svg&&(P=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!xo(eo(t,Ys)),P&&t.setAttribute("transform",P))),Math.abs(u)>90&&Math.abs(u)<270&&(R?(s*=-1,u+=l<=0?180:-180,l+=l<=0?180:-180):(o*=-1,u+=u<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+N,r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+N,r.z=a+N,r.scaleX=hn(s),r.scaleY=hn(o),r.rotation=hn(l)+B,r.rotationX=hn(c)+B,r.rotationY=hn(h)+B,r.skewX=u+B,r.skewY=d+B,r.transformPerspective=p+N,(r.zOrigin=parseFloat(q.split(" ")[2])||0)&&(F[Xs]=To(q)),r.xOffset=r.yOffset=0,r.force3D=fi.force3D,r.renderTransform=r.svg?Fo:As?Oo:Lo,r.uncache=0,r},To=function(t){return(t=t.split(" "))[0]+" "+t[1]},ko=function(t,e,r){var i=Yn(e);return hn(parseFloat(e)+parseFloat(fo(t,"x",r+"px",i)))+i},Lo=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Oo(t,e)},Do="0deg",Io="0px",Mo=") ",Oo=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,l=r.rotation,c=r.rotationY,h=r.rotationX,u=r.skewX,d=r.skewY,p=r.scaleX,f=r.scaleY,m=r.transformPerspective,g=r.force3D,v=r.target,y=r.zOrigin,b="",_="auto"===g&&t&&1!==t||!0===g;if(y&&(h!==Do||c!==Do)){var E,S=parseFloat(c)*Ls,x=Math.sin(S),w=Math.cos(S);S=parseFloat(h)*Ls,E=Math.cos(S),a=ko(v,a,x*E*-y),s=ko(v,s,-Math.sin(S)*-y),o=ko(v,o,w*E*-y+y)}m!==Io&&(b+="perspective("+m+Mo),(i||n)&&(b+="translate("+i+"%, "+n+"%) "),(_||a!==Io||s!==Io||o!==Io)&&(b+=o!==Io||_?"translate3d("+a+", "+s+", "+o+") ":"translate("+a+", "+s+Mo),l!==Do&&(b+="rotate("+l+Mo),c!==Do&&(b+="rotateY("+c+Mo),h!==Do&&(b+="rotateX("+h+Mo),u===Do&&d===Do||(b+="skew("+u+", "+d+Mo),1===p&&1===f||(b+="scale("+p+", "+f+Mo),v.style[Ys]=b||"translate(0, 0)"},Fo=function(t,e){var r,i,n,a,s,o=e||this,l=o.xPercent,c=o.yPercent,h=o.x,u=o.y,d=o.rotation,p=o.skewX,f=o.skewY,m=o.scaleX,g=o.scaleY,v=o.target,y=o.xOrigin,b=o.yOrigin,_=o.xOffset,E=o.yOffset,S=o.forceCSS,x=parseFloat(h),w=parseFloat(u);d=parseFloat(d),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),d+=f),d||p?(d*=Ls,p*=Ls,r=Math.cos(d)*m,i=Math.sin(d)*m,n=Math.sin(d-p)*-g,a=Math.cos(d-p)*g,p&&(f*=Ls,s=Math.tan(p-f),n*=s=Math.sqrt(1+s*s),a*=s,f&&(s=Math.tan(f),r*=s=Math.sqrt(1+s*s),i*=s)),r=hn(r),i=hn(i),n=hn(n),a=hn(a)):(r=m,a=g,i=n=0),(x&&!~(h+"").indexOf("px")||w&&!~(u+"").indexOf("px"))&&(x=fo(v,"x",h,"px"),w=fo(v,"y",u,"px")),(y||b||_||E)&&(x=hn(x+y-(y*r+b*n)+_),w=hn(w+b-(y*i+b*a)+E)),(l||c)&&(s=v.getBBox(),x=hn(x+l/100*s.width),w=hn(w+c/100*s.height)),s="matrix("+r+","+i+","+n+","+a+","+x+","+w+")",v.setAttribute("transform",s),S&&(v.style[Ys]=s)},Ro=function(t,e,r,i,n){var a,s,o=360,l=wi(n),c=parseFloat(n)*(l&&~n.indexOf("rad")?ks:1)-i,h=i+c+"deg";return l&&("short"===(a=n.split("_")[1])&&(c%=o)!==c%180&&(c+=c<0?o:-360),"cw"===a&&c<0?c=(c+36e9)%o-~~(c/o)*o:"ccw"===a&&c>0&&(c=(c-36e9)%o-~~(c/o)*o)),t._pt=s=new os(t._pt,e,r,i,c,Ns),s.e=h,s.u="deg",t._props.push(r),s},No=function(t,e){for(var r in e)t[r]=e[r];return t},Bo=function(t,e,r){var i,n,a,s,o,l,c,h=No({},r._gsap),u=r.style;for(n in h.svg?(a=r.getAttribute("transform"),r.setAttribute("transform",""),u[Ys]=e,i=Ao(r,1),co(r,Ys),r.setAttribute("transform",a)):(a=getComputedStyle(r)[Ys],u[Ys]=e,i=Ao(r,1),u[Ys]=a),Ts)(a=h[n])!==(s=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(o=Yn(a)!==(c=Yn(s))?fo(r,n,a,c):parseFloat(a),l=parseFloat(s),t._pt=new os(t._pt,i,n,o,l-o,Rs),t._pt.u=c||0,t._props.push(n));No(i,h)};cn("padding,margin,Width,Radius",(function(t,e){var r="Top",i="Right",n="Bottom",a="Left",s=(e<3?[r,i,n,a]:[r+a,r+i,n+i,n+a]).map((function(r){return e<2?t+r:"border"+r+t}));_o[e>1?"border"+t:t]=function(t,e,r,i,n){var a,o;if(arguments.length<4)return a=s.map((function(e){return mo(t,e,r)})),5===(o=a.join(" ")).split(a[0]).length?a[0]:o;a=(i+"").split(" "),o={},s.forEach((function(t,e){return o[t]=a[e]=a[e]||a[(e-1)/2|0]})),t.init(e,o,n)}}));var Vo,qo,zo,jo={name:"css",register:no,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var a,s,o,l,c,h,u,d,p,f,m,g,v,y,b,_,E=this._props,S=t.style,x=r.vars.startAt;for(u in xs||no(),this.styles=this.styles||Qs(t),_=this.styles.props,this.tween=r,e)if("autoRound"!==u&&(s=e[u],!tn[u]||!za(u,e,r,i,t,n)))if(c=typeof s,h=_o[u],"function"===c&&(c=typeof(s=s.call(r,i,t,n))),"string"===c&&~s.indexOf("random(")&&(s=sa(s)),h)h(this,t,u,s,r)&&(b=1);else if("--"===u.substr(0,2))a=(getComputedStyle(t).getPropertyValue(u)+"").trim(),s+="",ya.lastIndex=0,ya.test(a)||(d=Yn(a),p=Yn(s)),p?d!==p&&(a=fo(t,u,a,p)+p):d&&(s+=d),this.add(S,"setProperty",a,s,i,n,0,0,u),E.push(u),_.push(u,0,S[u]);else if("undefined"!==c){if(x&&u in x?(a="function"==typeof x[u]?x[u].call(r,i,t,n):x[u],wi(a)&&~a.indexOf("random(")&&(a=sa(a)),Yn(a+"")||(a+=fi.units[u]||Yn(mo(t,u))||""),"="===(a+"").charAt(1)&&(a=mo(t,u))):a=mo(t,u),l=parseFloat(a),(f="string"===c&&"="===s.charAt(1)&&s.substr(0,2))&&(s=s.substr(2)),o=parseFloat(s),u in Fs&&("autoAlpha"===u&&(1===l&&"hidden"===mo(t,"visibility")&&o&&(l=0),_.push("visibility",0,S.visibility),ho(this,S,"visibility",l?"inherit":"hidden",o?"inherit":"hidden",!o)),"scale"!==u&&"transform"!==u&&~(u=Fs[u]).indexOf(",")&&(u=u.split(",")[0])),m=u in Ts)if(this.styles.save(u),g||((v=t._gsap).renderTransform&&!e.parseTransform||Ao(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new os(this._pt,S,Ys,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===u)this._pt=new os(this._pt,v,"scaleY",v.scaleY,(f?dn(v.scaleY,f+o):o)-v.scaleY||0,Rs),this._pt.u=0,E.push("scaleY",u),u+="X";else{if("transformOrigin"===u){_.push(Xs,0,S[Xs]),s=yo(s),v.svg?Po(t,s,0,y,0,this):((p=parseFloat(s.split(" ")[2])||0)!==v.zOrigin&&ho(this,v,"zOrigin",v.zOrigin,p),ho(this,S,u,To(a),To(s)));continue}if("svgOrigin"===u){Po(t,s,1,y,0,this);continue}if(u in So){Ro(this,v,u,l,f?dn(l,f+s):s);continue}if("smoothOrigin"===u){ho(this,v,"smooth",v.smooth,s);continue}if("force3D"===u){v[u]=s;continue}if("transform"===u){Bo(this,s,t);continue}}else u in S||(u=io(u)||u);if(m||(o||0===o)&&(l||0===l)&&!Os.test(s)&&u in S)o||(o=0),(d=(a+"").substr((l+"").length))!==(p=Yn(s)||(u in fi.units?fi.units[u]:d))&&(l=fo(t,u,a,p)),this._pt=new os(this._pt,m?v:S,u,l,(f?dn(l,f+o):o)-l,m||"px"!==p&&"zIndex"!==u||!1===e.autoRound?Rs:Vs),this._pt.u=p||0,d!==p&&"%"!==p&&(this._pt.b=a,this._pt.r=Bs);else if(u in S)go.call(this,t,u,a,f?f+s:s);else if(u in t)this.add(t,u,a||t[u],f?f+s:s,i,n);else if("parseTransform"!==u){Hi(u,s);continue}m||(u in S?_.push(u,0,S[u]):_.push(u,1,a||t[u])),E.push(u)}b&&ss(this)},render:function(t,e){if(e.tween._time||!Ps())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:mo,aliases:Fs,getSetter:function(t,e,r){var i=Fs[e];return i&&i.indexOf(",")<0&&(e=i),e in Ts&&e!==Xs&&(t._gsap.x||mo(t,"x"))?r&&Cs===r?"scale"===e?Ws:Hs:(Cs=r||{})&&("scale"===e?$s:Us):t.style&&!Ai(t.style[e])?js:~e.indexOf("-")?Gs:Ja(t,e)},core:{_removeProperty:co,_getMatrix:Co}};bs.utils.checkPrefix=io,bs.core.getStyleSaver=Qs,zo=cn((Vo="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(qo="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Ts[t]=1})),cn(qo,(function(t){fi.units[t]="deg",So[t]=1})),Fs[zo[13]]=Vo+","+qo,cn("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Fs[e[1]]=zo[e[0]]})),cn("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){fi.units[t]="px"})),bs.registerPlugin(jo);var Go=bs.registerPlugin(jo)||bs,Ho=(Go.core.Tween,/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi),Wo=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,$o=Math.PI/180,Uo=(Math.PI,Math.sin),Yo=Math.cos,Xo=Math.abs,Ko=Math.sqrt,Zo=(Math.atan2,function(t){return"number"==typeof t}),Jo=1e5,Qo=function(t){return Math.round(t*Jo)/Jo||0};function tl(t,e,r,i,n,a,s,o,l){if(t!==o||e!==l){r=Xo(r),i=Xo(i);var c=n%360*$o,h=Yo(c),u=Uo(c),d=Math.PI,p=2*d,f=(t-o)/2,m=(e-l)/2,g=h*f+u*m,v=-u*f+h*m,y=g*g,b=v*v,_=y/(r*r)+b/(i*i);_>1&&(r=Ko(_)*r,i=Ko(_)*i);var E=r*r,S=i*i,x=(E*S-E*b-S*y)/(E*b+S*y);x<0&&(x=0);var w=(a===s?-1:1)*Ko(x),C=w*(r*v/i),P=w*(-i*g/r),A=(t+o)/2+(h*C-u*P),T=(e+l)/2+(u*C+h*P),k=(g-C)/r,L=(v-P)/i,D=(-g-C)/r,I=(-v-P)/i,M=k*k+L*L,O=(L<0?-1:1)*Math.acos(k/Ko(M)),F=(k*I-L*D<0?-1:1)*Math.acos((k*D+L*I)/Ko(M*(D*D+I*I)));isNaN(F)&&(F=d),!s&&F>0?F-=p:s&&F<0&&(F+=p),O%=p,F%=p;var R,N=Math.ceil(Xo(F)/(p/4)),B=[],V=F/N,q=4/3*Uo(V/2)/(1+Yo(V/2)),z=h*r,j=u*r,G=u*-i,H=h*i;for(R=0;R<N;R++)g=Yo(n=O+R*V),v=Uo(n),k=Yo(n+=V),L=Uo(n),B.push(g-q*v,v+q*g,k+q*L,L-q*k,k,L);for(R=0;R<B.length;R+=2)g=B[R],v=B[R+1],B[R]=g*z+v*G+A,B[R+1]=g*j+v*H+T;return B[R-2]=o,B[R-1]=l,B}}function el(t){var e,r,i,n,a,s,o,l,c,h,u,d,p,f,m,g=(t+"").replace(Wo,(function(t){var e=+t;return e<1e-4&&e>-1e-4?0:e})).match(Ho)||[],v=[],y=0,b=0,_=2/3,E=g.length,S=0,x="ERROR: malformed path: "+t,w=function(t,e,r,i){h=(r-t)/3,u=(i-e)/3,o.push(t+h,e+u,r-h,i-u,r,i)};if(!t||!isNaN(g[0])||isNaN(g[1]))return console.log(x),v;for(e=0;e<E;e++)if(p=a,isNaN(g[e])?s=(a=g[e].toUpperCase())!==g[e]:e--,i=+g[e+1],n=+g[e+2],s&&(i+=y,n+=b),e||(l=i,c=n),"M"===a)o&&(o.length<8?v.length-=1:S+=o.length),y=l=i,b=c=n,o=[i,n],v.push(o),e+=2,a="L";else if("C"===a)o||(o=[0,0]),s||(y=b=0),o.push(i,n,y+1*g[e+3],b+1*g[e+4],y+=1*g[e+5],b+=1*g[e+6]),e+=6;else if("S"===a)h=y,u=b,"C"!==p&&"S"!==p||(h+=y-o[o.length-4],u+=b-o[o.length-3]),s||(y=b=0),o.push(h,u,i,n,y+=1*g[e+3],b+=1*g[e+4]),e+=4;else if("Q"===a)h=y+(i-y)*_,u=b+(n-b)*_,s||(y=b=0),y+=1*g[e+3],b+=1*g[e+4],o.push(h,u,y+(i-y)*_,b+(n-b)*_,y,b),e+=4;else if("T"===a)h=y-o[o.length-4],u=b-o[o.length-3],o.push(y+h,b+u,i+(y+1.5*h-i)*_,n+(b+1.5*u-n)*_,y=i,b=n),e+=2;else if("H"===a)w(y,b,y=i,b),e+=1;else if("V"===a)w(y,b,y,b=i+(s?b-y:0)),e+=1;else if("L"===a||"Z"===a)"Z"===a&&(i=l,n=c,o.closed=!0),("L"===a||Xo(y-i)>.5||Xo(b-n)>.5)&&(w(y,b,i,n),"L"===a&&(e+=2)),y=i,b=n;else if("A"===a){if(f=g[e+4],m=g[e+5],h=g[e+6],u=g[e+7],r=7,f.length>1&&(f.length<3?(u=h,h=m,r--):(u=m,h=f.substr(2),r-=2),m=f.charAt(1),f=f.charAt(0)),d=tl(y,b,+g[e+1],+g[e+2],+g[e+3],+f,+m,(s?y:0)+1*h,(s?b:0)+1*u),e+=r,d)for(r=0;r<d.length;r++)o.push(d[r]);y=o[o.length-2],b=o[o.length-1]}else console.log(x);return(e=o.length)<6?(v.pop(),e=0):o[0]===o[e-2]&&o[1]===o[e-1]&&(o.closed=!0),v.totalPoints=S+e,v}function rl(t){Zo(t[0])&&(t=[t]);var e,r,i,n,a="",s=t.length;for(r=0;r<s;r++){for(n=t[r],a+="M"+Qo(n[0])+","+Qo(n[1])+" C",e=n.length,i=2;i<e;i++)a+=Qo(n[i++])+","+Qo(n[i++])+" "+Qo(n[i++])+","+Qo(n[i++])+" "+Qo(n[i++])+","+Qo(n[i])+" ";n.closed&&(a+="z")}return a}var il,nl,al=function(){return il||"undefined"!=typeof window&&(il=window.gsap)&&il.registerPlugin&&il},sl=function(){(il=al())?(il.registerEase("_CE",dl.create),nl=1):console.warn("Please gsap.registerPlugin(CustomEase)")},ol=function(t){return~~(1e3*t+(t<0?-.5:.5))/1e3},ll=1,cl=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,hl=/[cLlsSaAhHvVtTqQ]/g,ul=function t(e,r,i,n,a,s,o,l,c,h,u){var d,p=(e+i)/2,f=(r+n)/2,m=(i+a)/2,g=(n+s)/2,v=(a+o)/2,y=(s+l)/2,b=(p+m)/2,_=(f+g)/2,E=(m+v)/2,S=(g+y)/2,x=(b+E)/2,w=(_+S)/2,C=o-e,P=l-r,A=Math.abs((i-o)*P-(n-l)*C),T=Math.abs((a-o)*P-(s-l)*C);return h||(h=[{x:e,y:r},{x:o,y:l}],u=1),h.splice(u||h.length-1,0,{x:x,y:w}),(A+T)*(A+T)>c*(C*C+P*P)&&(d=h.length,t(e,r,p,f,b,_,x,w,c,h,u),t(x,w,E,S,v,y,o,l,c,h,u+1+(h.length-d))),h},dl=function(){function t(t,e,r){nl||sl(),this.id=t,ll&&this.setData(e,r)}var e=t.prototype;return e.setData=function(t,e){e=e||{};var r,i,n,a,s,o,l,c,h,u=(t=t||"0,0,1,1").match(cl),d=1,p=[],f=[],m=e.precision||1,g=m<=1;if(this.data=t,(hl.test(t)||~t.indexOf("M")&&t.indexOf("C")<0)&&(u=el(t)[0]),4===(r=u.length))u.unshift(0,0),u.push(1,1),r=8;else if((r-2)%6)throw"Invalid CustomEase";for(0==+u[0]&&1==+u[r-2]||function(t,e,r){r||0===r||(r=Math.max(+t[t.length-1],+t[1]));var i,n=-1*+t[0],a=-r,s=t.length,o=1/(+t[s-2]+n),l=-e||(Math.abs(+t[s-1]-+t[1])<.01*(+t[s-2]-+t[0])?function(t){var e,r=t.length,i=1e20;for(e=1;e<r;e+=6)+t[e]<i&&(i=+t[e]);return i}(t)+a:+t[s-1]+a);for(l=l?1/l:-o,i=0;i<s;i+=2)t[i]=(+t[i]+n)*o,t[i+1]=(+t[i+1]+a)*l}(u,e.height,e.originY),this.segment=u,a=2;a<r;a+=6)i={x:+u[a-2],y:+u[a-1]},n={x:+u[a+4],y:+u[a+5]},p.push(i,n),ul(i.x,i.y,+u[a],+u[a+1],+u[a+2],+u[a+3],n.x,n.y,1/(2e5*m),p,p.length-1);for(r=p.length,a=0;a<r;a++)l=p[a],c=p[a-1]||l,(l.x>c.x||c.y!==l.y&&c.x===l.x||l===c)&&l.x<=1?(c.cx=l.x-c.x,c.cy=l.y-c.y,c.n=l,c.nx=l.x,g&&a>1&&Math.abs(c.cy/c.cx-p[a-2].cy/p[a-2].cx)>2&&(g=0),c.cx<d&&(c.cx?d=c.cx:(c.cx=.001,a===r-1&&(c.x-=.001,d=Math.min(d,.001),g=0)))):(p.splice(a--,1),r--);if(s=1/(r=1/d+1|0),o=0,l=p[0],g){for(a=0;a<r;a++)h=a*s,l.nx<h&&(l=p[++o]),i=l.y+(h-l.x)/l.cx*l.cy,f[a]={x:h,cx:s,y:i,cy:0,nx:9},a&&(f[a-1].cy=i-f[a-1].y);f[r-1].cy=p[p.length-1].y-i}else{for(a=0;a<r;a++)l.nx<a*s&&(l=p[++o]),f[a]=l;o<p.length-1&&(f[a-1]=p[p.length-2])}return this.ease=function(t){var e=f[t*r|0]||f[r-1];return e.nx<t&&(e=e.n),e.y+(t-e.x)/e.cx*e.cy},this.ease.custom=this,this.id&&il&&il.registerEase(this.id,this.ease),this},e.getSVGData=function(e){return t.getSVGData(this,e)},t.create=function(e,r,i){return new t(e,r,i).ease},t.register=function(t){il=t,sl()},t.get=function(t){return il.parseEase(t)},t.getSVGData=function(e,r){var i,n,a,s,o,l,c,h,u,d,p=(r=r||{}).width||100,f=r.height||100,m=r.x||0,g=(r.y||0)+f,v=il.utils.toArray(r.path)[0];if(r.invert&&(f=-f,g=0),"string"==typeof e&&(e=il.parseEase(e)),e.custom&&(e=e.custom),e instanceof t)i=rl(function(t,e,r,i,n,a,s){for(var o,l,c,h,u,d=t.length;--d>-1;)for(l=(o=t[d]).length,c=0;c<l;c+=2)h=o[c],u=o[c+1],o[c]=h*e+u*i+a,o[c+1]=h*r+u*n+s;return t._dirty=1,t}([e.segment],p,0,0,-f,m,g));else{for(i=[m,g],s=1/(c=Math.max(5,200*(r.precision||1))),h=5/(c+=2),u=ol(m+s*p),n=((d=ol(g+e(s)*-f))-g)/(u-m),a=2;a<c;a++)o=ol(m+a*s*p),l=ol(g+e(a*s)*-f),(Math.abs((l-d)/(o-u)-n)>h||a===c-1)&&(i.push(u,d),n=(l-d)/(o-u)),u=o,d=l;i="M"+i.join(",")}return v&&v.setAttribute("d",i),i},t}();function pl(t){return pl="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},pl(t)}function fl(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ml(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ml(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ml(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function gl(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function vl(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?gl(Object(r),!0).forEach((function(e){yl(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):gl(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function yl(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==pl(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==pl(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===pl(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function bl(){bl=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof d?e:d,s=Object.create(a.prototype),o=new C(n||[]);return i(s,"_invoke",{value:E(t,r,o)}),s}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var u={};function d(){}function p(){}function f(){}var m={};l(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(P([])));v&&v!==e&&r.call(v,a)&&(m=v);var y=f.prototype=d.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,a,s,o){var l=h(t[i],t,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==pl(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,o)}),(function(t){n("throw",t,s,o)})):e.resolve(u).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,o)}))}o(l.arg)}var a;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return a=a?a.then(i,i):i()}})}function E(t,e,r){var i="suspendedStart";return function(n,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===n)throw a;return A()}for(r.method=n,r.arg=a;;){var s=r.delegate;if(s){var o=S(s,r);if(o){if(o===u)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var l=h(t,e,r);if("normal"===l.type){if(i=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i="completed",r.method="throw",r.arg=l.arg)}}}function S(t,e){var r=e.method,i=t.iterator[r];if(void 0===i)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),u;var n=h(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return p.prototype=f,i(y,"constructor",{value:f,configurable:!0}),i(f,"constructor",{value:p,configurable:!0}),p.displayName=l(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,l(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(_.prototype),l(_.prototype,s,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,i,n,a){void 0===a&&(a=Promise);var s=new _(c(e,r,i,n),a);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},b(y),l(y,o,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var i in e)r.push(i);return r.reverse(),function t(){for(;r.length;){var i=r.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=P,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=void 0),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var o=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(o&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var n=i.arg;w(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function _l(t,e,r,i,n,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(i,n)}al()&&il.registerPlugin(dl),dl.version="3.11.4",Go.registerPlugin(dl);var El=dl.create("rad-animation-easing-function","M0,0 C0.77,0 0.18,1 1,1 "),Sl="back",xl='script[src*="clientlib-rad-base"][src$=".min.js"]',wl=[0],Cl={RIGHT_SIDE:{duration:1.25,ease:El,left:"100vw"}},Pl=function(){var t,e;Jr().init({logLevel:"error",prevent:function(t){return!t.el.hasAttribute("data-barba-transition")},preventRunning:!0,timeout:5e3,transitions:[{name:"rad-absorb-transition",sync:!0,before:(t=bl().mark((function t(e){var r;return bl().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if((r=document.createElement("div")).innerHTML=e.next.html,r.querySelector('[data-barba="container"]')){t.next=8;break}return Jr().force(e.next.url.href),t.next=6,new Promise((function(t){setTimeout((function(){t()}),5e3)}));case 6:t.next=10;break;case 8:i=r,document.querySelector("header").replaceWith(i.querySelector("header")),document.querySelector("footer").replaceWith(i.querySelector("footer")),window.dispatchEvent(new CustomEvent("radTransitionStarted"));case 10:case"end":return t.stop()}var i}),t)})),e=function(){var e=this,r=arguments;return new Promise((function(i,n){var a=t.apply(e,r);function s(t){_l(a,i,n,s,o,"next",t)}function o(t){_l(a,i,n,s,o,"throw",t)}s(void 0)}))},function(t){return e.apply(this,arguments)}),beforeLeave:function(t){return new Promise((function(e){if(t.trigger===Sl)t.current.container.style.position="absolute",t.current.container.style.top="".concat(wl.pop()-window.scrollY,"px"),t.current.container.style.zIndex="2";else{var r=window.scrollY;wl.push(r),t.current.container.style.position="relative",t.current.container.style.top="".concat(-1*r,"px"),window.scrollTo(0,0)}e()}))},beforeEnter:function(t){return new Promise((function(e){t.current.container.parentNode.style.position="relative",yy.length=0,Ey(t.next.container);var r=Math.max(t.current.container.scrollHeight,t.next.container.scrollHeight);t.current.container.parentNode.style.minHeight="".concat(r,"px"),e()}))},leave:function(t){return t.trigger===Sl?Go.fromTo(t.current.container,{left:Math.max(0,(innerWidth-1920)/2)},vl({},Cl.RIGHT_SIDE)):Go.timeline().to(t.current.container,{duration:.7,opacity:0}).to(t.current.container,{duration:1.25,left:"-25vw"},"-=0.7")},enter:function(t){return t.trigger===Sl?Go.timeline().from(t.next.container,{duration:1.25,left:"-25vw"}).from(t.next.container,{duration:.7,opacity:0},"-=0.7"):(t.next.container.classList.add("page-transition--from-right"),Go.timeline().set(t.next.container,{position:"absolute",top:0,width:"100%"}).fromTo(t.next.container,vl({},Cl.RIGHT_SIDE),vl(vl({},Cl.RIGHT_SIDE),{},{left:Math.max(0,(innerWidth-1920)/2)})))},afterEnter:function(t){return new Promise((function(e){t.next.container.removeAttribute("style"),t.next.container.parentNode.removeAttribute("style"),t.next.container.focus(),e()}))},after:function(t){var e=document.createElement("div");e.innerHTML=t.next.html;var r=e.querySelector(xl);if(r){var i,n,a=fl(document.getElementsByTagName("head"),1)[0];null===(i=a.querySelector(xl))||void 0===i||i.remove();var s=document.createElement("script");s.setAttribute("src",r.getAttribute("src")),a.appendChild(s),null===(n=window.adobeDataLayer)||void 0===n||n.push({page:JSON.parse(t.next.container.dataset.pagedata),event:"cmp:sObject",eventInfo:{path:t.next.container.dataset.pageid}})}Ue.refresh(),window.dispatchEvent(new CustomEvent("radTransitionFinished"))}}]}),document.querySelector('[data-barba="wrapper"]').removeAttribute("aria-live")},Al=599.9,Tl=600,kl=1023.9,Ll=1024,Dl=1440.9,Il=1441,Ml=1919.9,Ol=1920,Fl=!1,Rl=function(){var t={xs:!1,sm:!1,md:!1,lg:!1,xl:!1};return window.matchMedia("screen and (max-width: ".concat(Al,"px)")).matches?t.xs=!0:window.matchMedia("screen and (min-width: ".concat(Tl,"px) and (max-width: ").concat(kl,"px)")).matches?t.sm=!0:window.matchMedia("screen and (min-width: ".concat(Ll,"px) and (max-width: ").concat(Dl,"px)")).matches?t.md=!0:window.matchMedia("screen and (min-width: ".concat(Il,"px) and (max-width: ").concat(Ml,"px)")).matches?t.lg=!0:window.matchMedia("screen and (min-width: ".concat(Ol,"px)")).matches&&(t.xl=!0),t},Nl=function(){var t;document.documentElement.style.setProperty("--scrollbar-width","".concat((t=window.innerWidth-document.documentElement.clientWidth,!isNaN(t)&&t>=0?t:0),"px"))},Bl=function(){var t,e={};e.breakpoints=Rl(),t=e,window.dispatchEvent(new CustomEvent("CIO.resize",{bubbles:!0,detail:t}))},Vl=function(){Nl(),window.addEventListener("resize",(function(){Fl&&window.cancelAnimationFrame(Fl),Fl=window.requestAnimationFrame((function(){Nl(),Bl()}))}),!1),window.addEventListener("load",(function(){Nl()}),!1)};function ql(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return zl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return zl(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var i=0,n=function(){};return{s:n,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return s=t.done,t},e:function(t){o=!0,a=t},f:function(){try{s||null==r.return||r.return()}finally{if(o)throw a}}}}function zl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var jl=24,Gl=60,Hl=1e3,Wl=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i="";if(r){var n=new Date;n.setTime(n.getTime()+r*jl*Gl*Gl*Hl),i="; expires=".concat(n.toUTCString())}document.cookie="".concat(t,"=").concat(e||"").concat(i,"; path=/; Secure;")},$l=function(t){var e,r="".concat(t,"="),i=ql(document.cookie.split("; "));try{for(i.s();!(e=i.n()).done;){var n=e.value;if(n.startsWith(r))return n.substring(r.length)}}catch(t){i.e(t)}finally{i.f()}return""},Ul=function(){if(window.OnetrustActiveGroups){if(window.OnetrustActiveGroups.includes("2")){var t=$l("urlTrackingHistory"),e=window.location.href;if(t&&t!==e){!function(t){var e=t[0].split(","),r=window.location.href,i=encodeURIComponent(r),n=[i];e.slice(-1)[0]!==i&&e.push(n[0]);var a=e.length;if(a>15){var s=a-15;e=e.slice(s),Wl("urlTrackingHistory",e)}else Wl("urlTrackingHistory",e)}(new Array(t))}else{var r=encodeURIComponent(e);Wl("urlTrackingHistory",[r])}}}else $l("urlTrackingHistory")&&(document.cookie="urlTrackingHistory=; expires=".concat(new Date(0).toUTCString()));if(document.referrer){var i=window.location.host,n=encodeURIComponent(document.referrer),a=decodeURIComponent(n),s=new URL(window.location.href),o=s.searchParams.get("c"),l=s.searchParams.get("n");if(o&&l){var c="".concat(o,":").concat(l);a!==i&&Wl("acn_campaign",c,90)}}};window.addEventListener("radTransitionFinished",(function(){Ul()}));var Yl=Ul,Xl=function(t){if(t.elements.languageContainer){var e=t.elements.languageContainer,r=e.querySelector(".cmp-global-header__language-options"),i=e.querySelector(".cmp-global-header__language-selector"),n=function(){r.classList.add("cmp-global-header__language-selector--show"),t.state.languageSelector=!0,i.setAttribute("aria-expanded",!0)},a=function(){r.classList.remove("cmp-global-header__language-selector--show"),t.state.languageSelector=!1,i.setAttribute("aria-expanded",!1)},s=function e(i){if(t.state.languageSelector){if(i.target.closest(".cmp-global-header__language-selector"))return;if(r.contains(i.target))return;a(),window.document.removeEventListener("click",e)}};i.addEventListener("click",(function(){t.state.languageSelector?a():(n(),window.document.addEventListener("click",s))})),e.addEventListener("focusout",(function(t){e.contains(t.relatedTarget)||a()})),r.addEventListener("keydown",(function(t){var e=t.target,r=t.key,i=t.currentTarget,n=i.querySelectorAll('a[role="menuitem"]'),a=i.querySelector('a[role="menuitem"]'),s=n[n.length-1],o=e.closest("li");"ArrowUp"===r?(t.preventDefault(),e===a?s.focus():o&&o.previousElementSibling.querySelector("a").focus()):"ArrowDown"===r&&(t.preventDefault(),e===s?a.focus():o&&o.nextElementSibling.querySelector("a").focus())})),t.actions.openLanguageSelector=n,t.actions.closeLanguageSelector=a}};function Kl(t){return function(t){if(Array.isArray(t))return Zl(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Zl(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zl(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zl(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var Jl="header.resize";window.addEventListener("resize",(function(){var t,e={};e.breakpoints=ac(),t=e,window.dispatchEvent(new CustomEvent(Jl,{bubbles:!0,detail:t}))}));var Ql=767.9,tc=768,ec=1200.9,rc=1201,ic=1440.9,nc=1441,ac=function(){var t={m:!1,t:!1,d:!1,ld:!1};return window.matchMedia("screen and (max-width: ".concat(Ql,"px)")).matches?t.m=!0:window.matchMedia("screen and (min-width: ".concat(tc,"px) and (max-width: ").concat(ec,"px)")).matches?t.t=!0:window.matchMedia("screen and (min-width: ".concat(rc,"px) and (max-width: ").concat(ic,"px)")).matches?t.d=!0:window.matchMedia("screen and (min-width: ".concat(nc,"px)")).matches&&(t.ld=!0),t},sc={state:{menu:!1,languageSelector:!1,navMenu:!1},actions:{},currentBreakpoints:ac()},oc="cmp-global-header--menu-open",lc="cmp-global-header__nav-menu-item--open",cc="cmp-global-header__title-link-list__menu--open",hc=null,uc=function(t){Kl(sc.elements.content.querySelectorAll(".cmp-global-header__nav-menu-item--open")).forEach((function(e){mc(e,!0),t&&setTimeout((function(){t(t)}),400)}))},dc=function(){var t=document.querySelector(".cmp-interactive-nav__elements"),e="";sc.state.menu?(document.documentElement.classList.remove(oc),sc.elements.self.classList.remove(oc),t&&t.removeAttribute("style"),e="cmp:hide",uc(),vc()):(document.documentElement.classList.add(oc),sc.elements.self.classList.add(oc),t&&t.setAttribute("style","z-index:11;"),e="cmp:show"),gr()&&window.adobeDataLayer.push({event:e,eventInfo:{path:"component.".concat(vr(sc.elements.menuButton))}}),sc.state.menu=!sc.state.menu,sc.elements.menuButton.setAttribute("aria-expanded",sc.state.menu)},pc=function t(e){var r=e.target;r.style.transition=null,r.removeEventListener("transitionend",t)},fc=function(t){var e=t.firstElementChild,r=t.lastElementChild,i=t.lastElementChild,n=document.querySelector(".interactivenavigations");(ac().d||ac().ld)&&sc.state.languageSelector&&sc.actions.closeLanguageSelector(),t.classList.add(lc);var a=t.querySelector(".cmp-global-header__nav-menu-item-content");a.classList.add("cmp-global-header__nav-menu-item-content--active");var s=window.innerHeight;r.style.maxHeight="".concat(t.lastElementChild.scrollHeight,"px");var o=parseFloat(s),l=o-.4*o;n&&(i.style.maxHeight="".concat(l,"px"),i.style.overflowY="auto",250===s?a.style.maxHeight="110px":263===s?a.style.maxHeight="120px":284===s&&(a.style.maxHeight="150px")),e.setAttribute("aria-expanded",!0),sc.state.navMenu=!0,gr()&&window.adobeDataLayer.push({event:"cmp:show",eventInfo:{path:"component.".concat(vr(t))}})},mc=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.firstElementChild,i=t.lastElementChild,n=t.lastElementChild;e&&!0===ac().t&&(i.addEventListener("transitionend",pc),i.style.transition="10ms"),i.style.maxHeight=null,t.classList.remove(lc),t.querySelector(".cmp-global-header__nav-menu-item-content").classList.remove("cmp-global-header__nav-menu-item-content--active"),t.querySelector(".cmp-global-header__nav-menu-label-button").classList.remove("cmp-global-header__nav-menu-label-button--drawer-hover"),n.style.overflowY=null,r.setAttribute("aria-expanded",!1),sc.state.navMenu=!1,gr()&&window.adobeDataLayer.push({event:"cmp:hide",eventInfo:{path:"component.".concat(vr(t))}})},gc=function(t){var e,r,i,n=t.target,a=n.parentElement,s=sc.elements.content;Kl(s.querySelectorAll(".cmp-global-header__title-link-list__menu--open")).forEach((function(t){t.classList.remove(cc)})),s.scrollTo({top:0}),s.style.maxHeight="".concat((e=a.querySelector(".cmp-global-header__title-link-list__content"),r=e.offsetHeight,i=getComputedStyle(e),r+(parseInt(i.marginBottom,10)+parseInt(i.marginTop,10))),"px"),setTimeout((function(){s.style.overflow="hidden"}),1),a.classList.add(cc),n.setAttribute("aria-expanded",!0)},vc=function(){var t=sc.elements.content;t.style.maxHeight="",t.style.overflow="",Kl(t.querySelectorAll(".cmp-global-header__title-link-list__menu--open")).forEach((function(t){t.classList.remove(cc),t.querySelector(".cmp-global-header__title-link-list__menu-button").setAttribute("aria-expanded",!1)}))},yc=function t(e){if(sc.elements.languageContainer.contains(e.target)){var r=document.querySelector(".cmp-global-header__nav-menu-item--open");(ac().d||ac().ld)&&r&&mc(r)}if(sc.state.navMenu){if(e.target.closest(".cmp-global-header__nav-menu-item--open"))return;ac().md&&window.matchMedia("screen and (min-width: ".concat(1201,"px)")).matches&&uc()}window.document.removeEventListener("click",t)},bc=function(t){var e=t.key;sc.state.navMenu&&e===Mr&&ac().md&&uc((function(t){t.querySelector(".cmp-global-header__nav-menu-label-button").focus()}))},_c=function(t){var e=t.key,r=t.target;sc.state.navMenu&&"A"===r.tagName&&e===Br&&ac().md&&(document.activeElement.closest(".cmp-global-header__nav-menu-item-content")&&r.click())},Ec=function(t){var e=t.key;if(sc.state.navMenu&&e===qr&&ac().md){if(document.activeElement.closest(".cmp-global-header__nav-menu-item-content"))return;uc()}},Sc=function(t){var e=t.key,r=t.currentTarget;switch(e){case Or:case Fr:case Br:case Vr:if("BUTTON"===r.tagName){t.preventDefault(),r.click();var i=function(){return kr((arguments.length>0&&void 0!==arguments[0]?arguments[0]:document).querySelectorAll(Ir)).filter((function(t){return!t.hasAttribute("disabled")&&(t.offsetWidth||t.offsetHeight||t.getClientRects().length)}))}(r.nextElementSibling),n=e===Fr?i.length-1:0;setTimeout((function(){i[n].focus()}),400)}break;case Nr:case Rr:if("BUTTON"===r.tagName){t.preventDefault();var a=sc.elements.self.querySelectorAll(".cmp-global-header__nav-menu-label-button"),s=Kl(a).findIndex((function(t){return t.isSameNode(r)}));e===Rr&&s<a.length-1?a[s+1].focus():e===Nr&&s>0?a[s-1].focus():e===Nr&&0===s&&sc.elements.self.querySelector(".cmp-global-header__logo a").focus()}else"A"===r.tagName&&(t.preventDefault(),e===Rr&&sc.elements.self.querySelector(".cmp-global-header__nav-menu-label-button").focus())}},xc=function(){var t,e=document.querySelector(".cmp-global-header");e&&(t=e,sc.elements={self:t,menuButton:t.querySelector(".cmp-global-header__menu-button"),menuOverlay:t.querySelector(".cmp-global-header__menu-overlay"),menuFooter:t.querySelector(".cmp-global-header__menu-footer"),content:t.querySelector(".cmp-global-header__content"),languageContainer:t.querySelector(".cmp-global-header__language-container")},sc.elements.languageContainer&&Xl(sc),function(){var t=sc.elements,e=t.menuButton,r=t.menuOverlay,i=t.content,n=t.menuFooter,a=t.self;a.addEventListener("keyup",Ec),a.addEventListener("keydown",_c),e.addEventListener("click",(function(){dc()})),r.addEventListener("click",(function(){sc.state.menu&&dc()})),Kl(i.querySelectorAll(".cmp-global-header__nav-menu-label-button")).forEach((function(t){t.addEventListener("click",(function(t){var e=t.target.parentElement,r=i.querySelectorAll(".cmp-global-header__nav-menu-item--open");hc&&(clearTimeout(hc),hc=null),sc.state.navMenu&&1===r.length&&e.isSameNode(r[0])?mc(e):sc.state.navMenu?(uc(),ac().t?setTimeout((function(){fc(e),window.document.addEventListener("click",yc)}),400):(fc(e),window.document.addEventListener("click",yc))):(fc(e),window.document.addEventListener("click",yc))}))})),Kl(i.querySelectorAll(".cmp-global-header__title-link-list__menu-button")).forEach((function(t){t.addEventListener("click",gc)})),Kl(i.querySelectorAll(".cmp-global-header__title-link-list__content-button")).forEach((function(t){if(t.addEventListener("click",vc),n){var e=n.cloneNode(!0),r=e.querySelector(".cmp-global-header__action-container");r&&e.remove(r),t.parentElement.insertAdjacentElement("beforeend",e)}})),Kl(a.querySelectorAll(".cmp-global-header__logo a, .cmp-global-header__nav-menu-label-button")).forEach((function(t){t.addEventListener("keydown",Sc)})),window.document.addEventListener("keydown",bc),window.addEventListener(Jl,(function(t){var e=t.detail.breakpoints;(e.d||e.ld)&&sc.state.menu&&dc(),sc.actions.closeLanguageSelector(),(e.m||e.t)&&vc()}))}())};function wc(t){return wc="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},wc(t)}function Cc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function Pc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Cc(Object(r),!0).forEach((function(e){Ac(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Cc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Ac(t,e,r){return(e=Dc(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Tc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return kc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kc(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function Lc(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,Dc(i.key),i)}}function Dc(t){var e=function(t,e){if("object"!==wc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==wc(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===wc(e)?e:String(e)}var Ic={BASE:"rad-news",DOT:"flickity-page-dot",DOTS_CONTAINER:"flickity-page-dots",IS_SELECTED:"is-selected",NEWS_CONTAINER:"rad-news-container",NEWS_LINKS:"rad-news-card",NEWS_SLIDER:"rad-news-slideshow",PLAY_PAUSE_BUTTON_DISABLED:"rad-news-play-pause--disabled",PLAY_BUTTON:"rad-news-play-pause__play",PAUSE_BUTTON:"rad-news-play-pause__pause",SLIDES:"rad-news-carousel-cell"},Mc={BUTTON:"button",DOT_CLICK:"dots-click",HOVER:"hover",SCROLL:"scroll",TAB:"tab"},Oc=[],Fc=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.ELEMENTS={},this.pausedStates=Object.values(Mc).reduce((function(t,e){return t[e]=!1,t}),{}),this.ELEMENTS.BASE=e,this.ELEMENTS.NEWS_CONTAINER=e.querySelector(".".concat(Ic.NEWS_CONTAINER)),this.ELEMENTS.NEWS_SLIDER=e.querySelector(".".concat(Ic.NEWS_SLIDER)),this.ELEMENTS.SLIDES=e.querySelectorAll(".".concat(Ic.SLIDES)),this.ELEMENTS.NEWS_LINKS=e.querySelectorAll(".".concat(Ic.NEWS_LINKS)),this.ELEMENTS.PLAY_BUTTON=e.querySelector(".".concat(Ic.PLAY_BUTTON)),this.ELEMENTS.PAUSE_BUTTON=e.querySelector(".".concat(Ic.PAUSE_BUTTON)),this.playPauseListener(),this.playPauseAnalytics(),this.flickityInit(),$r(e),this.ELEMENTS.DOTS_CONTAINER=e.querySelector(".".concat(Ic.DOTS_CONTAINER)),this.ELEMENTS.DOTS=this.ELEMENTS.DOTS_CONTAINER.querySelectorAll(".".concat(Ic.DOT)),this.dotsAnalytics(),this.hoverListeners(),this.scrollXListener(),zr(this.ELEMENTS.DOTS),this.titleClickListener(),this.intersectionObserver();var i=this.startTicker.bind(this);window.requestAnimationFrame(i);var n={noUpdateOnChange:!0,sliderInputCallback:function(){r.pause(Mc.DOT_CLICK)}};this.ELEMENTS.RANGE_SLIDER=new lr(e,n)}var e,r,i;return e=t,r=[{key:"dotsAnalytics",value:function(){if(gr()&&this.ELEMENTS.DOTS.length){var t=JSON.parse(this.ELEMENTS.NEWS_CONTAINER.dataset.carouselIndicatorDatalayer),e=Tc(Object.keys(t),1)[0],r=Tc(Object.values(t),1)[0];this.ELEMENTS.DOTS.forEach((function(t,i){var n="".concat(e,"-").concat(i+1),a=Pc(Pc({},r),{},{"analytics-link-name":"ellipsis button ".concat(i+1," - ").concat(r["analytics-link-name"]),"analytics-module-name":"news-".concat(i+1)}),s='{"'.concat(n,'":').concat(JSON.stringify(a),"}");t.dataset.cmpDataLayer=s,t.addEventListener("click",(function(){Er(t)})),yr(t)}))}}},{key:"flickityInit",value:function(){this.ELEMENTS.FLICKITY=new(ar())(this.ELEMENTS.NEWS_SLIDER,{autoPlay:!1,prevNextButtons:!1,draggable:!0,wrapAround:!0,resize:!0,selectedAttraction:.015,friction:.25,cellAlign:"left",freeScroll:!0}),this.ELEMENTS.FLICKITY.x=0}},{key:"handleIntersection",value:function(t){var e=this;t.forEach((function(t){t.isIntersecting?e.play(Mc.SCROLL):e.pause(Mc.SCROLL)}))}},{key:"hoverListeners",value:function(){var t=this;this.ELEMENTS.NEWS_SLIDER.addEventListener("mouseenter",(function(){t.pause(Mc.HOVER)}),!1),this.ELEMENTS.NEWS_SLIDER.addEventListener("mouseleave",(function(){t.play(Mc.HOVER)}),!1),this.ELEMENTS.NEWS_SLIDER.addEventListener("touch",(function(){t.play(Mc.HOVER)}),!1),this.ELEMENTS.NEWS_SLIDER.addEventListener("touchmove",(function(){t.play(Mc.HOVER)}),!1),this.ELEMENTS.NEWS_LINKS.forEach((function(e,r){e.addEventListener("focusin",(function(){t.ELEMENTS.FLICKITY.select(r),t.pause(Mc.BUTTON)}))})),this.ELEMENTS.DOTS_CONTAINER.addEventListener("click",(function(){t.pause(Mc.DOT_CLICK)})),this.ELEMENTS.FLICKITY.on("settle",(function(){t.pausedStates[Mc.DOT_CLICK]&&t.play(Mc.DOT_CLICK)}))}},{key:"intersectionObserver",value:function(){var t=this.handleIntersection.bind(this);this.ELEMENTS.OBSERVER=new IntersectionObserver(t,{threshold:.25}),this.ELEMENTS.OBSERVER.observe(this.ELEMENTS.NEWS_SLIDER)}},{key:"isPaused",value:function(){return Object.values(this.pausedStates).some((function(t){return t}))}},{key:"pause",value:function(t){this.pausedStates[t]=!0,this.ELEMENTS.PLAY_BUTTON.classList.remove(Ic.PLAY_PAUSE_BUTTON_DISABLED),this.ELEMENTS.PAUSE_BUTTON.classList.add(Ic.PLAY_PAUSE_BUTTON_DISABLED),t===Mc.BUTTON&&this.ELEMENTS.PLAY_BUTTON.focus()}},{key:"play",value:function(t){var e=this.isPaused();if(this.pausedStates[t]=!1,!this.isPaused()&&e){var r=this.startTicker.bind(this);this.ELEMENTS.PLAY_BUTTON.classList.add(Ic.PLAY_PAUSE_BUTTON_DISABLED),this.ELEMENTS.PAUSE_BUTTON.classList.remove(Ic.PLAY_PAUSE_BUTTON_DISABLED),window.requestAnimationFrame(r),t===Mc.BUTTON&&this.ELEMENTS.PAUSE_BUTTON.focus()}}},{key:"playPauseAnalytics",value:function(){gr()&&(this.ELEMENTS.PLAY_BUTTON.dataset.cmpDataLayer=this.ELEMENTS.NEWS_CONTAINER.dataset.playButtonDatalayer,yr(this.ELEMENTS.PLAY_BUTTON),this.ELEMENTS.PAUSE_BUTTON.dataset.cmpDataLayer=this.ELEMENTS.NEWS_CONTAINER.dataset.pauseButtonDatalayer,yr(this.ELEMENTS.PAUSE_BUTTON))}},{key:"playPauseListener",value:function(){var t=this;this.ELEMENTS.PLAY_BUTTON.addEventListener("click",(function(){Er(t.ELEMENTS.PLAY_BUTTON),t.play(Mc.BUTTON),t.ELEMENTS.PLAY_BUTTON.dataset.cmpDataLayer=t.ELEMENTS.NEWS_CONTAINER.dataset.playButtonDatalayer})),this.ELEMENTS.PAUSE_BUTTON.addEventListener("click",(function(){Er(t.ELEMENTS.PAUSE_BUTTON),t.pause(Mc.BUTTON),t.ELEMENTS.PAUSE_BUTTON.dataset.cmpDataLayer=t.ELEMENTS.NEWS_CONTAINER.dataset.pauseButtonDatalayer}))}},{key:"scrollXListener",value:function(){var t=this;this.ELEMENTS.FLICKITY.on("scroll",(function(e,r){var i,n=t.ELEMENTS.SLIDES[0].getBoundingClientRect().width,a=Math.round(r/n),s=t.ELEMENTS.SLIDES.length;a<0?a+=s:a>s-1&&(a-=s);var o,l=null===(i=t.ELEMENTS.DOTS[a])||void 0===i?void 0:i.classList.contains(Ic.IS_SELECTED),c=t.ELEMENTS.DOTS_CONTAINER.querySelectorAll(".".concat(Ic.DOT,".").concat(Ic.IS_SELECTED));(!l||c.length>1)&&(t.ELEMENTS.DOTS.forEach((function(t,e){t.classList[e===a?"add":"remove"](Ic.IS_SELECTED)})),t.ELEMENTS.BASE.style.setProperty("--dot-index",a-1),t.ELEMENTS.RANGE_SLIDER.isDragging||null===(o=t.ELEMENTS.RANGE_SLIDER)||void 0===o||o.updateSlider(a))}))}},{key:"startTicker",value:function(){var t,e=window.matchMedia("(max-width: 599px)");if(!this.isPaused()){if(null!==(t=this.ELEMENTS.FLICKITY)&&void 0!==t&&t.slides){var r=this.ELEMENTS.FLICKITY.selectedIndex;this.ELEMENTS.FLICKITY.x=(this.ELEMENTS.FLICKITY.x-.7)%this.ELEMENTS.FLICKITY.slideableWidth,this.ELEMENTS.FLICKITY.selectedIndex=this.ELEMENTS.FLICKITY.dragEndRestingSelect(),this.ELEMENTS.FLICKITY.updateSelectedSlide(),this.ELEMENTS.FLICKITY.settle(this.ELEMENTS.FLICKITY.x),this.ELEMENTS.FLICKITY.selectedIndex!==r&&Gr(this.ELEMENTS.NEWS_SLIDER)}if(e.matches)this.ELEMENTS.FLICKITY.options.freeScroll=!1,this.pause(Mc.BUTTON);else{var i=this.startTicker.bind(this);window.requestAnimationFrame(i),this.ELEMENTS.FLICKITY.options.freeScroll=!0}}}},{key:"titleClickListener",value:function(){var t=this;this.ELEMENTS.FLICKITY.on("staticClick",(function(){t.pause(Mc.HOVER),setTimeout((function(){t.play(Mc.HOVER)}),4e3)}))}}],r&&Lc(e.prototype,r),i&&Lc(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Rc=function(t){(t||document).querySelectorAll(".".concat(Ic.BASE)).forEach((function(t){Oc.push(new Fc(t))}))};Go.registerPlugin(dl);var Nc=dl.create("rad-animation-easing-function","M0,0 C0.85,0 0,1 1,1 "),Bc=550;Go.registerPlugin(Ue);var Vc=".rad-360-value-title",qc=".rad-360-value-title__header",zc=".rad-360-value-title__header-circle-path",jc=function(t){(t||document).querySelectorAll(Vc).forEach((function(t){!function(t){var e=t.querySelector(qc),r=Go.timeline({scrollTrigger:{trigger:e,start:"bottom 95%",end:"center center",invalidateOnRefresh:!0,scrub:!0}}).fromTo(t.querySelector(zc),{strokeDashoffset:function(t,e){return e.getAttribute("stroke-dasharray")}},{ease:Nc,strokeDashoffset:0});yy.push(r)}(t)}))},Gc=new Event("expand-card"),Hc=new Event("collapse-card"),Wc=function(t){var e=(t||document).querySelectorAll(".rad-card");if(e){var r=function(t){t.dispatchEvent(Gc),t.classList.add("rad-card--expanded");var e=t.querySelector(".rad-card-inner__min-height");window.matchMedia("(max-width: 599px)").matches&&jr(!0,e)},i=function(t){t.dispatchEvent(Hc),t.classList.remove("rad-card--expanded");var e=t.querySelector(".rad-card-inner__min-height");window.matchMedia("(max-width: 599px)").matches&&jr(!1,e)};e.forEach((function(t,e){var n,a;if(t.addEventListener("mouseenter",(function(){!window.matchMedia("(max-width: 599px)").matches&&matchMedia("(pointer:fine)").matches&&r(t)})),t.addEventListener("mouseleave",(function(e){var r=e.clientX,n=e.clientY,a=t.getBoundingClientRect(),s=a.top,o=a.right,l=a.bottom,c=a.left;r<=o&&r>=c&&n>=s&&n<=l||window.matchMedia("(max-width: 599px)").matches||i(t)})),t.addEventListener("click",(function(){t.classList.contains("rad-card--expanded")?i(t):r(t)})),null===(n=t.querySelector(".rad-button"))||void 0===n||n.addEventListener("focus",(function(){var e=t.querySelector(".rad-card-inner");r(t),e.scrollTop=0})),null===(a=t.querySelector(".rad-button"))||void 0===a||a.addEventListener("blur",(function(){i(t),t.querySelector(".rad-card-inner").scrollLeft=0})),gr()){var s,o,l=t.closest("[data-template-zone]"),c=t.querySelector(".rad-button");if(t.dataset.analyticsAssetPos=e+1,c)c.dataset.analyticsAssetPos=e+1,c.dataset.analyticsAssetId=null!==(s=t.dataset.analyticsAssetId)&&void 0!==s?s:"",c.dataset.csOverrideId=t.dataset.csOverrideId?t.dataset.csOverrideId.replace("card-","card-cta-"):"",c.dataset.cmpDataLayer='{"tile-grid-card-'.concat(e+1,'":{"xdm:linkURL":"').concat(t.dataset.ctaLink,'","analytics-link-name":"').concat(t.dataset.ctaTitle,":").concat(t.dataset.cardTitle.replaceAll(/"/g,'\\"'),'","analytics-link-type": "engagement","analytics-engagement":"true","analytics-module-name":"').concat(function(t){switch(null==t?void 0:t.toLowerCase()){case"casestudy":return"case study";case"researchreport":return"research report";case"mixedmedia":return"mixed media";case"liveinterview":return"live interview";default:return t}}(t.dataset.contentType)," card button-").concat(e+1,'","analytics-template-zone":"').concat(null!==(o=null==l?void 0:l.dataset.templateZone)&&void 0!==o?o:"",'"}}'),yr(c),c.addEventListener("click",(function(){Er(c)}))}}))}};window.cardsInit=Wc;var $c=Wc;__webpack_require__(566);function Uc(t){return Uc="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},Uc(t)}function Yc(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function Xc(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Yc(Object(r),!0).forEach((function(e){Kc(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Yc(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Kc(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Uc(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Uc(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Uc(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Zc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Jc(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Jc(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jc(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var Qc=function(t){var e=t.getAttribute("data-carousel-indicator-datalayer"),r=t.querySelectorAll(".flickity-page-dot"),i=JSON.parse(e),n=Zc(Object.keys(i),1)[0],a=Zc(Object.values(i),1)[0],s=t.querySelectorAll(".rad-client-carousel__content");r.length&&r.forEach((function(t,e){var r="".concat(n,"-").concat(e+1),i=Xc(Xc({},a),{},{"analytics-link-name":"ellipsis button ".concat(e+1," - feature-client"),"analytics-module-name":"".concat(a["analytics-module-name"]," - ").concat(e+1)}),s='{"'.concat(r,'":').concat(JSON.stringify(i),"}");t.setAttribute("data-cmp-data-layer",s),t.setAttribute("data-cmp-clickable",""),yr(t),t.addEventListener("click",(function(){Er(t)}))})),s.length&&s.forEach((function(t,e){var r=t.querySelector(".rad-client-carousel__read");r&&th(r,e,s.length,"cta")}))},th=function(t,e,r,i){var n=t.getAttribute("data-cmp-data-layer"),a=t.closest(".rad-client-carousel"),s=a.getAttribute("data-prev-button-datalayer"),o=a.getAttribute("data-next-button-datalayer");if(n){var l=JSON.parse(n),c=Zc(Object.keys(l),1)[0],h=Zc(Object.values(l),1)[0],u=l,d=(Zc(Object.values(l),1)[0],e+2),p=e;if(d>r&&(d=1),p<1&&(p=r),"prev"===i)d=p;else if("play"===i||"cta"===i)d=e+1;else if("onload"===i)d=e;else if("toggle"===i){a.querySelectorAll(".flickity-page-dot").forEach((function(t,e){t.classList.contains("is-selected")&&(d=e+1)}))}var f=Xc(Xc({},h),{},{"analytics-module-name":"".concat(h["analytics-module-name"],"-").concat(d)}),m=function(t){f=Xc(Xc({},h),{},{"analytics-module-name":"".concat(t["analytics-module-name"],"-").concat(d)})};if("cta"===i)m(h);else if("prev"===i&&null!==s){u=JSON.parse(s),m(Zc(Object.values(u),1)[0])}else if("next"===i&&null!==o){u=JSON.parse(o),m(Zc(Object.values(u),1)[0])}else m(h);var g='{"'.concat(c,'":').concat(JSON.stringify(f),"}");t.setAttribute("data-cmp-data-layer",g),yr(t)}},eh=function(t){var e=(t||document).querySelectorAll(".rad-client-carousel");e&&e.forEach((function(t){!function(t){var e=t.querySelector(".rad-client-carousel__left"),r=t.querySelector(".rad-client-carousel__right"),i=t.querySelectorAll(".rad-client-carousel__slides-left"),n=window.matchMedia("(max-width: 599px)"),a=t.querySelector(".rad-client-carousel__play"),s=t.querySelector(".rad-client-carousel__pause"),o=t.querySelector(".rad-client-carousel__next"),l=t.querySelector(".rad-client-carousel__previous");yr(a),yr(s);var c=t.querySelectorAll(".rad-client-carousel__read");ar().prototype.stopPlayer=function(){"playing"===h.player.state&&(this.player.stop(),this.player.play())};var h=new(ar())(r,{autoPlay:!1,prevNextButtons:!1,resize:!0,cellAlign:"left",sync:e,pageDots:!0,wrapAround:!0,selectedAttraction:.017,friction:.45,pauseAutoPlayOnHover:!1,draggable:"ontouchstart"in window}),u=new(ar())(e,{sync:h,autoPlay:1e4,wrapAround:!0,pageDots:!1,selectedAttraction:.017,friction:.45,imagesLoaded:!0,pauseAutoPlayOnHover:!1,resize:!0,draggable:"ontouchstart"in window});new lr(t),h.on("dragStart",(function(){"playing"===h.player.state&&h.unpausePlayer()})),u.on("dragStart",(function(){u.pausePlayer()})),o.addEventListener("click",(function(){"playing"===u.player.state&&(u.deactivatePlayer(),u.activatePlayer()),h.next()})),l.addEventListener("click",(function(){"playing"===u.player.state&&(u.deactivatePlayer(),u.activatePlayer()),h.previous()})),n.matches?h.pausePlayer():h.unpausePlayer(),a.addEventListener("click",(function(){u.unpausePlayer(),u.activatePlayer(),h.unpausePlayer(),a.classList.toggle("rad-client-carousel__play-pause--disabled"),s.classList.toggle("rad-client-carousel__play-pause--disabled"),s.focus(),th(a,1,i.length,"toggle")})),s.addEventListener("click",(function(){u.pausePlayer(),u.deactivatePlayer(),h.pausePlayer(),h.deactivatePlayer(),a.classList.toggle("rad-client-carousel__play-pause--disabled"),s.classList.toggle("rad-client-carousel__play-pause--disabled"),a.focus(),th(s,1,i.length,"toggle")}));var d=t.querySelectorAll(".flickity-page-dot");u.on("scroll",(function(e,r){var n,c=i[0].getBoundingClientRect().width,h=Math.round(r/c),p=i.length;h<0?h+=p:h>p-1&&(h-=p),null!==(n=d[h])&&void 0!==n&&n.classList.contains("is-selected")||(d.forEach((function(t,e){t.classList[e===h?"add":"remove"]("is-selected"),e===h&&(th(a,e,d.length,"play"),th(s,e,d.length,"pause"),th(l,e,d.length,"prev"),th(o,e,d.length,"next")),"playing"===u.player.state&&(u.deactivatePlayer(),u.activatePlayer())})),t.style.setProperty("--dot-index",h-1))})),zr(d),new IntersectionObserver((function(t){t.forEach((function(t){t.isIntersecting?u.unpausePlayer():u.pausePlayer()}))}),{threshold:1}).observe(e),Qc(t),c&&c.forEach((function(t){t.setAttribute("data-cmp-clickable","")})),th(a,1,d.length,"onload"),th(s,1,d.length,"onload"),th(o,2,d.length,"onload"),th(l,d.length,d.length,"onload")}(t)}))},rh="rad__card-size-maintainer",ih="rad-card__mobile-overlay",nh="mobile-overlay--visible",ah=function(t,e){var r=document.createElement("div");r.classList.add(rh);var i=e||t.parentElement;r.append(t),i.append(r)},sh=function(t){var e=window.getComputedStyle(t.querySelector(".rad-card__top-content")).getPropertyValue("padding-left"),r=t.querySelector(".rad-card__top-content-inner-row").getBoundingClientRect().width;return 2*parseInt(e,10)+r},oh=function(t,e){if(Rl().xs){t.style.top="".concat(t.dataset.collapseTopValue,"px"),t.style.left="".concat(t.dataset.collapseLeftValue,"px"),t.style.height="424px",t.querySelector(".rad-card-inner").removeAttribute("style"),t.querySelector(".rad-card-inner__min-height").removeAttribute("style");var r=t.querySelector(".rad-card-feature__facts-figures"),i=t.querySelector(".rad-card-feature__cover-img");e.querySelector(".".concat(ih)).remove();var n=t.querySelector(".rad-card__cta");r?r.removeAttribute("style"):i&&i.removeAttribute("style"),setTimeout((function(){t.removeAttribute("style"),n.classList.remove("rad-card__cta--mobile-show")}),Bc)}},lh=function(t,e){if(e&&Rl().xs){var r=e.scrollLeft,i=window.scrollY;t.style.position="fixed";var n=function(t){var e,r=t.querySelector(".rad-card__pretitle").offsetHeight,i=t.querySelector(".rad-card__title").offsetHeight,n=t.querySelector(".rad-card__description").offsetHeight,a=t.querySelector(".rad-card-feature__facts-figures"),s=t.querySelector(".rad-card-feature__cover-img"),o=i+r+n;return a?(e=a.offsetHeight,a.style.top="".concat(o,"px")):s&&(e=s.offsetHeight+32,s.style.top="".concat(o,"px")),i+r+n+e}(t),a=t.querySelector(".rad-card-inner__min-height"),s=window.innerHeight-48;n<=s?(a.style.height="".concat(n,"px"),t.style.height="".concat(n,"px")):(a.style.height="".concat(s,"px"),t.style.height="".concat(s,"px")),t.querySelector(".rad-card-inner").style.height="".concat(n,"px");var o=t.getBoundingClientRect(),l=o.left,c=o.top;t.style.top="".concat(c-i,"px"),t.style.left="".concat(l-r,"px"),t.dataset.collapseTopValue=c-i,t.dataset.collapseLeftValue=l-r;var h=document.createElement("div");h.classList.add("".concat(ih)),t.after(h),h.classList.add("".concat(nh));var u=t.querySelector(".rad-card__cta");setTimeout((function(){t.style.top="0px",t.style.left="0px"}),1),setTimeout((function(){u.classList.add("rad-card__cta--mobile-show")}),Bc)}},ch=function(t,e){ah(t),t.removeEventListener("expand-card",t.expandFunction),t.removeEventListener("collapse-card",t.collapseFunction),t.expandFunction=function(){lh(t,e)},t.collapseFunction=function(){oh(t,e)},t.addEventListener("expand-card",t.expandFunction),t.addEventListener("collapse-card",t.collapseFunction)};function hh(t){return hh="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},hh(t)}function uh(t){return function(t){if(Array.isArray(t))return dh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return dh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dh(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function ph(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==hh(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==hh(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===hh(a)?a:String(a)),i)}var n,a}var fh=[],mh={BASE:"rad-card-carousel",CARD:"rad-card",CARDS_CONTAINER:"rad-card-carousel__cards-container",CARD_SIZE_MAINTAINER:"rad-card-carousel__card-size-maintainer",CARD_WRAPPER:"rad-card-carousel__card-wrapper",CELL:"flickity-cell",FLICKITY_VIEWPORT:"flickity-viewport",NEXT_BUTTON:"rad-card-carousel__next",PREVIOUS_BUTTON:"rad-card-carousel__previous",SLIDER:"rad__range-input-slider-for-carousel",SLIDER_RECEIVER:"rad-card-carousel__slider-receiver",DOT:"flickity-page-dot"},gh={arrowShape:"M35 85L42.05 77.95L19.15 55H100V45H19.15L42.1 22.05L35 15L0 50L35 85Z",cellAlign:"left",wrapAround:!0},vh={LOAD:"pageload",SCROLL:"scroll",CLICK:"click"},yh=function(){function t(e){var r=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.COMPONENTS={},this.COMPONENTS.BASE=e,this.COMPONENTS.CARDS_CONTAINER=e.querySelector(".".concat(mh.CARDS_CONTAINER)),this.COMPONENTS.CARDS=this.COMPONENTS.CARDS_CONTAINER.querySelectorAll(".".concat(mh.CARD)),this.wrapCards(),Rl().xs?this.sliderInit():(this.COMPONENTS.FLICKITY=new(ar())(this.COMPONENTS.CARDS_CONTAINER,gh),this.COMPONENTS.FLICKITY_VIEWPORT=e.querySelector(".".concat(mh.FLICKITY_VIEWPORT)),this.COMPONENTS.CELLS=e.querySelectorAll(".".concat(mh.CELL)),this.COMPONENTS.DOTS=e.querySelectorAll(".".concat(mh.DOT)),$r(e),this.dragListeners(),this.cellResizeListener(),this.flickityChangeListener(),this.dotsUpdater(),this.leftRightButtonsAnalytics(),this.COMPONENTS.PREVIOUS_BUTTON=e.querySelector(".".concat(mh.PREVIOUS_BUTTON)),this.COMPONENTS.NEXT_BUTTON=e.querySelector(".".concat(mh.NEXT_BUTTON)),this.COMPONENTS.SLIDER_FOR_FLICKITY=new lr(e)),this.cardListeners(),gr()){this.callback=this.callback.bind(this),this.cardsLoaded=!1,this.curEventFlag=vh.LOAD,this.aGlanceCardID=[],this.aCurrVisibleCards=[],this._cardVisibilityTimeout=0;var i={root:null,rootMargin:"0px",threshold:Rl().xs||Rl().sm?1:.25};this.observer=new IntersectionObserver(this.callback,i),uh(this.COMPONENTS.CARDS).forEach((function(t){r.observer.observe(t)})),window.addEventListener("load",(function(){r.cardsLoaded=!0}))}}var e,r,i;return e=t,r=[{key:"getDataAnalyticsAssetId",value:function(t){var e;return null!==(e="".concat(t.dataset.analyticsAssetId,":").concat(t.dataset.analyticsAssetPos))&&void 0!==e?e:""}},{key:"pushGlanceEvent",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:vh.SCROLL;null===(e=window.adobeDataLayer)||void 0===e||e.push({event:"cmp:glance",eventInfo:{assetInfo:t,eventFlag:r,component:"rad-cardcarousel-card"}})}},{key:"callback",value:function(t,e){var r=this;t.forEach((function(t){var e=r.getDataAnalyticsAssetId(t.target);t.isIntersecting&&!r.aGlanceCardID.includes(e)&&(r.aCurrVisibleCards.push(e),r.aGlanceCardID.push(e))})),this.aCurrVisibleCards.length?(clearTimeout(this._cardVisibilityTimeout),this._cardVisibilityTimeout=setTimeout((function(){r.pushGlanceEvent(r.aCurrVisibleCards.toString(),r.curEventFlag),r.aCurrVisibleCards=[],r.curEventFlag=vh.SCROLL,r.aGlanceCardID.length===r.COMPONENTS.CARDS.length&&e.disconnect()}),500)):this.cardsLoaded||(this.curEventFlag=vh.SCROLL)}},{key:"dotsUpdater",value:function(){var t=this;gr()&&this.COMPONENTS.DOTS.length&&this.COMPONENTS.DOTS.forEach((function(e,r){var i,n;e.dataset.cmpDataLayer='{"card-carousel-ellipsis-'.concat(r+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"ellipsis button ').concat(r+1,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"card carousel-pagination-').concat(r+1,'","analytics-template-zone":"').concat(null!==(i=null===(n=t.COMPONENTS.CARDS_CONTAINER)||void 0===n?void 0:n.dataset.templateZone)&&void 0!==i?i:"",'"}}'),e.addEventListener("click",(function(){Er(e),t.curEventFlag=vh.CLICK})),yr(e)}))}},{key:"leftRightButtonsAnalytics",value:function(){var t=this,e=this.COMPONENTS.FLICKITY.prevButton.element,r=this.COMPONENTS.FLICKITY.nextButton.element;e.addEventListener("click",(function(){if(gr()){var r,i,n=t.COMPONENTS.FLICKITY.selectedIndex+1;e.dataset.cmpDataLayer='{"card-carousel-prev-page":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"previous page-').concat(n,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"card carousel-pagination-').concat(n,'","analytics-template-zone":"').concat(null!==(r=null===(i=t.COMPONENTS.CARDS_CONTAINER)||void 0===i?void 0:i.dataset.templateZone)&&void 0!==r?r:"",'"}}'),yr(e),Er(e),t.curEventFlag=vh.CLICK}})),r.addEventListener("click",(function(){if(gr()){var e,i,n=t.COMPONENTS.FLICKITY.selectedIndex+1;r.dataset.cmpDataLayer='{"card-carousel-next-page":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"next page-').concat(n,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"card carousel-pagination-').concat(n,'","analytics-template-zone":"').concat(null!==(e=null===(i=t.COMPONENTS.CARDS_CONTAINER)||void 0===i?void 0:i.dataset.templateZone)&&void 0!==e?e:"",'"}}'),yr(r),Er(r),t.curEventFlag=vh.CLICK}}))}},{key:"cardListeners",value:function(){var t=this;this.COMPONENTS.CARDS.forEach((function(e){var r=!1;ch(e,t.COMPONENTS.SLIDER_RECEIVER);var i=e.querySelector(".rad-button");i.addEventListener("mousedown",(function(){r=!0})),i.addEventListener("focus",(function(){if(r)r=!1;else{var i=e.closest(".flickity-cell");if(i&&!i.classList.contains("is-selected")){var n=Array.prototype.indexOf.call(i.parentElement.children,i);t.COMPONENTS.FLICKITY.select(n),t.COMPONENTS.FLICKITY_VIEWPORT.scrollLeft=0}}}))}))}},{key:"cellResizeListener",value:function(){var t=this;this.COMPONENTS.CELLS.forEach((function(e){t.repositionOnCardResize().observe(e)}))}},{key:"destroy",value:function(){var t,e;null===(t=this.COMPONENTS.FLICKITY)||void 0===t||t.destroy(),null===(e=this.observer)||void 0===e||e.disconnect()}},{key:"dragListeners",value:function(){var t;this.COMPONENTS.FLICKITY.on("dragStart",(function(e){var r=(t=e.target.closest(".".concat(mh.CARD))).getBoundingClientRect().width;t.style.width="".concat(r,"px")})),this.COMPONENTS.FLICKITY.on("settle",(function(){t&&(t.style.width="")}))}},{key:"flickityChangeListener",value:function(){var t=this;this.COMPONENTS.FLICKITY.on("change",(function(e){t.COMPONENTS.BASE.style.setProperty("--dot-index",e-1)}))}},{key:"handleCollapseCard",value:function(t){Rl().xs&&(t.style.top="".concat(t.dataset.collapseTopValue,"px"),t.style.left="".concat(t.dataset.collapseLeftValue,"px"),setTimeout((function(){t.removeAttribute("style")}),Bc))}},{key:"handleExpandCard",value:function(t){if(Rl().xs){if(!this.COMPONENTS.SLIDER_RECEIVER)return;var e=this.COMPONENTS.SLIDER_RECEIVER.scrollLeft,r=window.scrollY;t.style.position="fixed",t.style.zIndex=900;var i=t.getBoundingClientRect(),n=i.left,a=i.top;t.style.top="".concat(a-r,"px"),t.style.left="".concat(n-e,"px"),t.dataset.collapseTopValue=a-r,t.dataset.collapseLeftValue=n-e,setTimeout((function(){t.style.top="var(--rad-global-header-height)",t.style.left="0px"}),1)}}},{key:"repositionOnCardResize",value:function(){var t=this;return new ResizeObserver((function(){t.COMPONENTS.FLICKITY.reposition()}))}},{key:"sliderInit",value:function(){var t=this;this.COMPONENTS.SLIDER=this.COMPONENTS.BASE.querySelector(".".concat(mh.SLIDER)),this.COMPONENTS.SLIDER_RECEIVER=this.COMPONENTS.BASE.querySelector(".".concat(mh.SLIDER_RECEIVER)),this.COMPONENTS.SLIDER.addEventListener("input",(function(e){var r=parseInt(e.target.value,10)/parseInt(t.COMPONENTS.SLIDER.max,10)*(t.COMPONENTS.CARDS_CONTAINER.getBoundingClientRect().width-window.innerWidth);t.COMPONENTS.SLIDER_RECEIVER.scrollLeft=r})),this.COMPONENTS.SLIDER_RECEIVER.addEventListener("scroll",(function(e){var r=t.COMPONENTS.CARDS_CONTAINER.getBoundingClientRect().width-window.innerWidth,i=e.target.scrollLeft/r*parseInt(t.COMPONENTS.SLIDER.max,10);t.COMPONENTS.SLIDER.value=i}))}},{key:"wrapCards",value:function(){var t=this;this.COMPONENTS.CARDS_CONTAINER.innerHTML="",this.COMPONENTS.CARDS.forEach((function(e){var r=document.createElement("div");r.classList.add(mh.CARD_WRAPPER);var i=document.createElement("div");i.classList.add(mh.CARD_SIZE_MAINTAINER),r.append(i),i.append(e),t.COMPONENTS.CARDS_CONTAINER.append(r)}))}}],r&&ph(e.prototype,r),i&&ph(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),bh=function(t){fh.forEach((function(t){t.destroy(),delete t.COMPONENTS.CARDS_CONTAINER.radFlickityAccessibilityFixed})),fh=[],(null!=t?t:document).querySelectorAll(".".concat(mh.BASE)).forEach((function(t){var e=new yh(t);fh.push(e)}))};function _h(t){return function(t){if(Array.isArray(t))return xh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Sh(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Eh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||Sh(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sh(t,e){if(t){if("string"==typeof t)return xh(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xh(t,e):void 0}}function xh(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var wh,Ch,Ph={CARD:"rad-card",CARD_EXPANDED:"rad-card--expanded",CARDS_CONTAINER:"rad-tile-grid__cards-container",CARD_OPEN_ADJUSTER:"rad-tile-grid__card-open-adjuster",CARD_PLACE_HOLDER:"rad-card--place-holder",DOT:"flickity-page-dot",FLICKITY_CELL:"flickity-cell",FLICKITY_VIEWPORT:"flickity-viewport",IS_SELECTED:"is-selected",NO_POINTER_EVENTS:"rad-no-pointer-events",ROW:"rad-tile-grid__row",ROWS_CONTAINER:"rad-tile-grid__rows-container",SLIDER:"rad-tile-grid__slider",SLIDER_RECEIVER:"rad-tile-grid__slider-receiver"},Ah={},Th=0,kh=[],Lh={LOAD:"pageload",SCROLL:"scroll",CLICK:"click"},Dh=!1,Ih=Lh.LOAD,Mh=[],Oh=function(t){Rh(t),Nh(t),Bh(t),clearTimeout(wh),oh(t,Ah.CARDS_CONTAINER)},Fh=function(t){lh(t,Ah.CARDS_CONTAINER),Rl().sm&&(wh=setTimeout((function(){!function(t){if(t.parentElement.classList.contains(Ph.ROW)){var e=sh(t),r=t.getBoundingClientRect().left,i=window.innerWidth/2-(r+e/2),n=parseInt(window.getComputedStyle(Ah.CARD_OPEN_ADJUSTER).marginLeft,10);if(matchMedia("(pointer:fine)").matches){var a=i/Math.abs(i),s=i>0?Th-r:(r+e-Th)*a,o=Math.abs(s)>Math.abs(i)?i:s-20*a;Ah.CARD_OPEN_ADJUSTER.style.marginLeft="".concat(o+n,"px")}else Ah.CARD_OPEN_ADJUSTER.style.marginLeft="".concat(i+n,"px")}}(t)}),250))},Rh=function(){window.matchMedia("(max-width: 599px)").matches||(Ah.CARDS.forEach((function(t){t.classList.add(Ph.NO_POINTER_EVENTS)})),setTimeout((function(){Ah.CARDS.forEach((function(t){t.classList.remove(Ph.NO_POINTER_EVENTS)}))}),500))},Nh=function(t){var e=t.parentElement;e.classList.contains(Ph.ROW)&&Rl.sm&&(e.style.transform="translateX(0)")},Bh=function(){Ah.CARD_OPEN_ADJUSTER&&(Ah.CARD_OPEN_ADJUSTER.style.marginLeft=0)},Vh=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"left";return new ResizeObserver((function(e){e.forEach((function(e){var r;if(!("left"===t&&window.innerWidth<2240)){var i=e.target.closest(".".concat(Ph.ROW)),n=i.nextElementSibling||i.previousElementSibling,a=i.getBoundingClientRect()[t],s=n.getBoundingClientRect()[t],o=null===(r=i.style.transform.match(/-?\d+\.?\d*/))||void 0===r?void 0:r[0],l=s-a+(o?parseFloat(o):0);i.style.transform="translateX(".concat(l,"px)")}}))}))},qh=Vh("left"),zh=Vh("right"),jh=function(){var t,e;!function(){for(var t=Array.from(Ah.CARDS),e=Math.ceil(t.length/8),r=0;r<e;r++){var i=document.createElement("div"),n=document.createElement("div");n.classList.add(Ph.ROWS_CONTAINER),i.append(n);for(var a=0;a<2;a++){var s=document.createElement("div");s.classList.add(Ph.ROW);for(var o=0;o<4;o++){var l=document.createElement("div");l.classList.add(Ph.CARD),l.classList.add(Ph.CARD_PLACE_HOLDER);var c=t.shift()||l;s.append(c)}n.append(s)}Ah.CARDS_CONTAINER.append(i)}}(),Ah.FLICKITY=new(ar())(Ah.CARDS_CONTAINER,{arrowShape:"M35 85L42.05 77.95L19.15 55H100V45H19.15L42.1 22.05L35 15L0 50L35 85Z",wrapAround:!0}),Ah.FLICKITY_VIEWPORT=Ah.BASE.querySelector(".".concat(Ph.FLICKITY_VIEWPORT)),Ah.DOTS=Ah.BASE.querySelectorAll(".".concat(Ph.DOT)),Ah.CELLS=Ah.BASE.querySelectorAll(".".concat(Ph.FLICKITY_CELL)),Ah.ROWS=Ah.BASE.querySelectorAll(".".concat(Ph.ROW)),$r(Ah.BASE),Ah.BASE.querySelectorAll(".".concat(Ph.ROWS_CONTAINER)).forEach((function(t){var e=t.getBoundingClientRect().width;t.style.width="".concat(e/16,"rem")})),function(){var t=Ah.BASE.querySelector(".".concat(Ph.FLICKITY_CELL,".").concat(Ph.IS_SELECTED));if(t){var e=t.getBoundingClientRect().width,r=t.querySelector(".".concat(Ph.ROWS_CONTAINER)),i=(r.getBoundingClientRect().width-e)/-2;r.style.transform="translateX(".concat(i,"px)")}}(),gr()&&Ah.DOTS.length&&Ah.DOTS.forEach((function(t,e){t.dataset.cmpDataLayer='{"tile-grid-ellipsis-'.concat(e+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"ellipsis button ').concat(e+1,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"tile grid-pagination-').concat(e+1,'","analytics-template-zone":"').concat(Ah.CARDS_CONTAINER.dataset.templateZone,'"}}'),t.addEventListener("click",(function(){Er(t),Ih=Lh.CLICK})),yr(t)})),Ah.FLICKITY.on("scroll",(function(t,e){var r,i=Eh(Ah.CELLS,1)[0],n=i.getBoundingClientRect().width,a=window.getComputedStyle(i).getPropertyValue("margin-right"),s=n+2*parseInt(a,10),o=Math.round(e/s)||0,l=Ah.CELLS.length;o<0?o+=l:o>l-1&&(o-=l),null!==(r=Ah.DOTS[o])&&void 0!==r&&r.classList.contains(Ph.IS_SELECTED)||(Ah.DOTS.forEach((function(t,e){var r=e===o?"add":"remove";t.classList[r](Ph.IS_SELECTED),e!==o&&Ah.CARDS[e].classList.remove("rad-card--expanded")})),Ah.BASE.style.setProperty("--dot-index",o-1))})),zr(Ah.DOTS),Ah.CARDS.forEach((function(t,e){Rl().xs||Rl().sm||(e%4<2?qh.observe(t):zh.observe(t))})),t=Ah.FLICKITY.prevButton.element,e=Ah.FLICKITY.nextButton.element,t.addEventListener("click",(function(){if(gr()){var e=Ah.FLICKITY.selectedIndex+1;t.dataset.cmpDataLayer='{"tile-grid-prev-page":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"previous page-').concat(e,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"tile grid-pagination-').concat(e,'","analytics-template-zone":"').concat(Ah.CARDS_CONTAINER.dataset.templateZone,'"}}'),yr(t),Er(t),Ih=Lh.CLICK}})),e.addEventListener("click",(function(){if(gr()){var t=Ah.FLICKITY.selectedIndex+1;e.dataset.cmpDataLayer='{"tile-grid-next-page":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"next page-').concat(t,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"tile grid-pagination-').concat(t,'","analytics-template-zone":"').concat(Ah.CARDS_CONTAINER.dataset.templateZone,'"}}'),yr(e),Er(e),Ih=Lh.CLICK}}))},Gh=function(){var t,e,r;!function(){var t=document.createElement("div");t.classList.add(Ph.SLIDER_RECEIVER);var e=document.createElement("div");e.classList.add(Ph.CARD_OPEN_ADJUSTER),t.append(e);var r=document.createElement("div");r.classList.add(Ph.ROW),e.append(r);var i=document.createElement("div");Rl().sm&&(i.classList.add(Ph.ROW),e.append(i)),Ah.CARDS.forEach((function(t,e){Rl().xs?ah(t,r):e<Ah.CARDS.length/2?r.append(t):i.append(t)})),Ah.CARDS_CONTAINER.append(t)}(),Ah.CARD_OPEN_ADJUSTER=Ah.BASE.querySelector(".".concat(Ph.CARD_OPEN_ADJUSTER)),Rl().sm&&(t=Eh(Ah.CARDS,2)[1].getBoundingClientRect(),e=t.left+t.width/2,r=window.innerWidth/2-e,Ah.CARDS_CONTAINER.scrollLeft=-r),Ah.SLIDER=Ah.BASE.querySelector(".".concat(Ph.SLIDER)),Ah.SLIDER_RECEIVER=Ah.BASE.querySelector(".".concat(Ph.SLIDER_RECEIVER)),Ah.SLIDER.addEventListener("input",(function(t){var e=parseInt(t.target.value,10)/parseInt(Ah.SLIDER.max,10)*(Ah.SLIDER_RECEIVER.getBoundingClientRect().width-window.innerWidth);Ah.CARDS_CONTAINER.scrollLeft=e})),Ah.CARDS_CONTAINER.addEventListener("scroll",(function(t){var e=Ah.SLIDER_RECEIVER.getBoundingClientRect().width-window.innerWidth,r=t.target.scrollLeft/e*parseInt(Ah.SLIDER.max,10);Ah.SLIDER.value=r}))},Hh=function(t,e){t.forEach((function(t){var e,r,i=(e=t.target,null!==(r="".concat(e.dataset.analyticsAssetId,":").concat(e.dataset.analyticsAssetPos))&&void 0!==r?r:"");t.isIntersecting&&!kh.includes(i)&&(Mh.push(i),kh.push(i))})),Mh.length?(clearTimeout(Ch),Ch=setTimeout((function(){!function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lh.SCROLL;null===(e=window.adobeDataLayer)||void 0===e||e.push({event:"cmp:glance",eventInfo:{assetInfo:t,eventFlag:r,component:"rad-tilegrid-card"}})}(Mh.toString(),Ih),Mh=[],Ih=Lh.SCROLL,kh.length===Ah.CARDS.length&&e.disconnect()}),500)):Dh||(Ih=Lh.SCROLL)},Wh=function(t){var e=t||document;if(Ah.BASE=e.querySelector(".rad-tile-grid"),Ah.BASE&&(Ah.CARDS_CONTAINER=Ah.BASE.querySelector(".".concat(Ph.CARDS_CONTAINER)),Ah.CARDS=Ah.BASE.querySelectorAll(".".concat(Ph.CARD)),Ah.FLICKITY&&(Ah.FLICKITY.destroy(),delete Ah.CARDS_CONTAINER.radFlickityAccessibilityFixed),Ah.CARDS_CONTAINER.textContent="",Ah.CARDS.forEach((function(t){t.classList.remove(Ph.CARD_EXPANDED),t.removeAttribute("style"),[".rad-card-feature__facts-figures",".rad-card-feature__cover-img",".rad-card-inner__min-height",".rad-card-inner"].forEach((function(e){var r;null===(r=t.querySelector(e))||void 0===r||r.removeAttribute("style")}))})),qh.disconnect(),zh.disconnect(),Rl().xs||Rl().sm?Gh():jh(),Ah.BASE.classList.add("rad-tile-grid--html-complete"),requestAnimationFrame((function(){requestAnimationFrame((function(){Ah.BASE.classList.add("rad-tile-grid--enable-slide-x-animation")}))})),Ah.BASE.hasCardListeners||(Ah.CARDS.forEach((function(t){var e;t.addEventListener("expand-card",(function(){Fh(t)})),t.addEventListener("collapse-card",(function(){Oh(t)})),null===(e=t.querySelector(".rad-button"))||void 0===e||e.addEventListener("focus",(function(){var e=t.closest(".flickity-cell");if(e&&!e.classList.contains(Ph.IS_SELECTED)){var r=Array.prototype.indexOf.call(e.parentElement.children,e);Ah.FLICKITY.select(r),Ah.FLICKITY_VIEWPORT.scrollLeft=0}}))})),Ah.BASE.hasCardListeners=!0),matchMedia("(pointer:fine)").matches&&(Ah.FLICKITY_VIEWPORT||Ah.SLIDER_RECEIVER).addEventListener("mousemove",(function(t){if(Th=t.clientX,!Rl().xs&&!Rl().sm){var e=Ah.BASE.querySelector(".".concat(Ph.FLICKITY_CELL,".").concat(Ph.IS_SELECTED));if(e){var r=e.getBoundingClientRect().width,i=e.querySelector(".".concat(Ph.ROWS_CONTAINER)),n=i.getBoundingClientRect().width-r,a=n/-2,s=(Th/window.innerWidth-.5)*-n+a;i.style.transform="translateX(".concat(s,"px)")}}})),gr())){var r={root:null,rootMargin:"0px",threshold:Rl().xs||Rl().sm?1:.25},i=new IntersectionObserver(Hh,r);_h(Ah.CARDS).forEach((function(t){t.classList.contains(Ph.CARD_PLACE_HOLDER)||i.observe(t)})),window.addEventListener("load",(function(){Dh=!0})),window.addEventListener("radTransitionStarted",(function(){i.disconnect(),Ih=Lh.LOAD}))}};window.tileGridInit=Wh;var $h=Wh,Uh=__webpack_require__(431),Yh=__webpack_require__.n(Uh),Xh=__webpack_require__(248),Kh=__webpack_require__.n(Xh),Zh={},Jh="rad-footer",Qh="rad-footer__lottie-ratio-maintainer",tu=Yh()(0,0,.58,1),eu={},ru=!1,iu=function t(){var e=Zh.LOTTIE_WEB.currentFrame;eu.ANIMATION_START_FRAME||(eu.ANIMATION_START_FRAME=e);var r=eu.ANIMATION_GOAL_FRAME<e?-1:1;eu.DIRECTION!==r&&(eu.DIRECTION=r,eu.ANIMATION_START_FRAME=e);var i=Math.abs(eu.ANIMATION_START_FRAME-eu.ANIMATION_GOAL_FRAME),n=Math.max(i/4*100,500),a=Math.min(1,(new Date-ru)/n),s=tu(a)*i*eu.DIRECTION+eu.ANIMATION_START_FRAME;if(Zh.LOTTIE_WEB.goToAndStop(s,!0),1===a)return ru=!1,void(eu.ANIMATION_START_FRAME=e);window.requestAnimationFrame(t)},nu=function(){if(matchMedia("(pointer:fine)").matches){var t=Zh.BASE.dataset,e=t.lottieStartFrame,r=t.lottieEndFrame;eu.LOTTIE_START_FRAME=e?parseInt(e,10):0,eu.LOTTIE_END_FRAME=r?parseInt(r,10):Zh.LOTTIE_WEB.totalFrames,Zh.BASE.addEventListener("mousemove",(function(t){var e=t.clientX/window.innerWidth;eu.ANIMATION_GOAL_FRAME=(eu.LOTTIE_END_FRAME-eu.LOTTIE_START_FRAME)*e+eu.LOTTIE_START_FRAME,ru||(ru=new Date,iu())}))}},au=function(){Zh.BASE=document.querySelector(".".concat(Jh)),Zh.BASE&&(Zh.LOTTIE_WRAPPER=Zh.BASE.querySelector(".".concat(Qh)),Zh.LOTTIE_WEB=Kh().loadAnimation({wrapper:Zh.LOTTIE_WRAPPER,animType:"svg",loop:!1,path:Zh.BASE.dataset.lottieFile,autoplay:!1}),Zh.LOTTIE_WEB.addEventListener("data_ready",nu),document.querySelectorAll(".rad-footer__this-year").forEach((function(t){t.textContent=(new Date).getFullYear()})))},su=function(t){return(t.getCurrentTime()/t.getDuration()*100).toFixed()},ou=function(t,e){var r=t.getVideoData(),i=t.getIframe(),n=i&&i.closest(".rad-absorb-video"),a=n&&n.id,s=a&&window.adobeDataLayer.getState("component.".concat(a)),o="";if(s)if(s["analytics-template-zone"])o=s["analytics-template-zone"];else{var l,c=s.parentId;window.adobeDataLayer.getState("component.".concat(c))&&(o=null==(l=c&&window.adobeDataLayer.getState("component.".concat(c)))||""===l?"":l["analytics-template-zone"])}else o=i.closest("[data-analytics-template-zone]")?i.closest("[data-analytics-template-zone]").dataset.analyticsTemplateZone:"";var h="";h=s&&s["analytics-module-name"]?s["analytics-module-name"]:i.closest("[data-analytics-module-name]")?i.closest("[data-analytics-module-name]").dataset.analyticsModuleName:"";var u={id:r.video_id,title:r.title,duration:t.getDuration(),current:t.getCurrentTime(),percentage:su(t),milestone:e,templateZone:o,moduleName:h};_satellite&&_satellite.track(e,u)},lu=function(t){if(t.getPlayerState()===window.YT.PlayerState.PLAYING){for(var e=[0,25,50,75],r=t.prevMilestone||-1,i=e[e.length-1],n=0;n<e.length;n++)if(e[n]>r){r=e[n];break}if(r>-1){var a=su(t),s=a>=i;if(a>=r)t.prevMilestone=s?200:a,ou(t,"youtube_".concat(0===r?"play":r));s||cu(t)}}},cu=function(t){setTimeout(lu,300,t)},hu={yt:{tracking:cu,sendData:ou}};function uu(t){return function(t){if(Array.isArray(t))return fu(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||pu(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function du(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||pu(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function pu(t,e){if(t){if("string"==typeof t)return fu(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?fu(t,e):void 0}}function fu(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var mu="CIO.yt.change",gu=function(t,e){window.dispatchEvent(new CustomEvent(t,{bubbles:!0,detail:e}))},vu=function(t){t.target.getIframe()._ytPlayer=t.target;var e=t.target.getIframe().parentElement.getAttribute("data-play-data-layer");t.target.getIframe().setAttribute("data-cmp-data-layer",e),gu(mu,{player:t.target,action:"ready"})},yu=function(t){if(t.data===window.YT.PlayerState.PLAYING&&(_u(t.target),hu.yt.tracking(t.target),gu(mu,{player:t.target,action:"play"})),t.data===window.YT.PlayerState.ENDED){gu(mu,{player:t.target,action:"playerComplete"}),hu.yt.sendData(t.target,"youtube_complete"),t.target.prevMilestone=-1;var e=t.target.getIframe().parentElement.getAttribute("data-replay-data-layer");t.target.getIframe().setAttribute("data-cmp-data-layer",e)}t.data===window.YT.PlayerState.PAUSED&&gu(mu,{player:t.target,action:"pause"})},bu=function(t){window.YT.ready((function(){new window.YT.Player(t,{height:"9",width:"16",videoId:t.dataset.videoId,playerVars:{playsinline:1},events:{onReady:vu,onStateChange:yu}})}))},_u=function(t){uu(document.querySelectorAll(".rad-absorb-video__iframe")).forEach((function(e){var r;e._ytPlayer!==t&&null!==(r=e._ytPlayer)&&void 0!==r&&r.pauseVideo&&e._ytPlayer.pauseVideo()}))};document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&_u()}));var Eu=function(t){var e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";var r=du(document.getElementsByTagName("script"),1)[0];r.parentNode.insertBefore(e,r),e.addEventListener("load",(function(){(t||document).querySelectorAll(".rad-absorb-video__iframe").forEach((function(t){bu(t)}))}))},Su=(__webpack_require__(886),function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;void 0!==t.hoverTimeoutId&&(clearTimeout(t.hoverTimeoutId),delete t.hoverTimeoutId);var r=t.classList.contains("rad-awards-card--expanded"),i=null!==e?e:r?"close":"open";if(!(r&&"open"===i||!r&&"close"===i)){var n=t.querySelector(".rad-awards-card__lp"),a=t.querySelector(".rad-awards-card__title"),s=t.querySelector(".rad-awards-card__detail"),o=s.querySelector(".rad-awards-card__description"),l=s.querySelector(".rad-button"),c=t.querySelector(".rad-awards-card__toggle");n.setSpeed(1.6),n.setDirection("open"===i?1:-1),n.play(),t.classList.toggle("rad-awards-card--expanded","open"===i),function(e){var r,i=t.cardAnimation;null!==(r=i)&&void 0!==r&&r.isActive()&&i.revert();var n=1.34*t.getBoundingClientRect().height,h=Go.timeline({defaults:{ease:"awardsEase",duration:.6}});h.fromTo(s,{visibility:"hidden"},{duration:.01,visibility:"visible"}).fromTo(a,{y:0},{y:-n}).fromTo(o,{y:n},{y:0},"<+=0.1"),l&&h.fromTo(l,{y:n},{y:0},"<+=0.05"),"open"===e?(i=h,c.ariaExpanded=!0,a.ariaHidden=!0):(i=h.reverse(0),c.ariaExpanded=!1,a.ariaHidden=!1),t.cardAnimation=i}(i)}}),xu=function(){document.querySelectorAll(".rad-awards, .rad-awards-grid").forEach((function(t){var e=t.classList.contains("rad-awards-grid"),r=t.querySelectorAll(".rad-awards-card"),i=0;i=Rl().xs?e?219:378:Rl().sm||Rl().md?e?216:273:e?270:343,r.forEach((function(t){var r=t.querySelector(".rad-awards-card__description").getBoundingClientRect().height,n=t.querySelector(".rad-button"),a=0,s=0;n?(a=n.getBoundingClientRect().height,s=parseFloat(window.getComputedStyle(n).bottom,10)):s=8;var o=r+a+s;(Rl().xs&&e&&(i=219),o>i&&(i=o),Rl().xs)&&(t.style.minHeight="".concat(i,"px"),t.querySelector(".rad-awards-card__description").style.transform="translate(0px, ".concat(Math.max(o,i),"px)"))})),r.forEach((function(t){if(!Rl().xs||!e){var r=t.getBoundingClientRect().height;t.style.minHeight="".concat(i,"px"),t.querySelector(".rad-awards-card__description").style.transform="translate(0px, ".concat(Math.max(r,i),"px)")}}))}))},wu=function(t){(null!=t?t:document).querySelectorAll(".rad-awards-card").forEach((function(t){!function(t){var e=t.querySelector(".rad-awards-card__title"),r=t.querySelector(".rad-awards-card__toggle");r.textContent=e.textContent,r.ariaExpanded=!1}(t),t.addEventListener("click",(function(){Su(t)})),t.addEventListener("pointerenter",(function(e){if("mouse"===e.pointerType){var r=t.dataset.hoverDelay;void 0===r?Su(t,"open"):t.hoverTimeoutId=setTimeout((function(){Su(t,"open")}),parseInt(r,10))}})),t.addEventListener("pointerleave",(function(e){"mouse"===e.pointerType&&Su(t,"close")}))})),document.fonts.ready.then((function(){xu()}))};function Cu(t){return(Cu="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 Pu(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Au(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Tu(t,e){if(null==t)return{};var r,i,n=function(t,e){if(null==t)return{};var r,i,n={},a=Object.keys(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(i=0;i<a.length;i++)r=a[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}function ku(t,e){var r=e.get(t);if(!r)throw new TypeError("attempted to get private field on non-instance");return r.get?r.get.call(t):r.value}var Lu={player:"lottie-player"},Du="[lottieInteractivity]:",Iu=function(){function t(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lu,i=r.actions,n=r.container,a=r.mode,s=r.player,o=Tu(r,["actions","container","mode","player"]);if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),Mu.set(this,{writable:!0,value:function(){if(e.player){var t=function(){e.player.addEventListener("enterFrame",ku(e,Gu)),e.container.addEventListener("mouseenter",ku(e,Hu)),e.container.addEventListener("mouseleave",ku(e,Wu)),e.container.addEventListener("touchstart",ku(e,Hu),{passive:!0}),e.container.addEventListener("touchend",ku(e,Wu),{passive:!0})},r=function(){e.container.addEventListener("mouseenter",ku(e,Hu)),e.container.addEventListener("mouseleave",ku(e,Wu)),e.container.addEventListener("touchstart",ku(e,Hu),{passive:!0}),e.container.addEventListener("touchend",ku(e,Wu),{passive:!0})};e.stateHandler.set("loop",(function(){e.actions[e.interactionIdx].loop?e.player.loop=parseInt(e.actions[e.interactionIdx].loop)-1:e.player.loop=!0,e.player.autoplay=!0})),e.stateHandler.set("autoplay",(function(){e.player.loop=!1,e.player.autoplay=!0})),e.stateHandler.set("click",(function(){e.player.loop=!1,e.player.autoplay=!1,e.container.addEventListener("click",ku(e,Ou))})),e.stateHandler.set("hover",(function(){e.player.loop=!1,e.player.autoplay=!1,e.container.addEventListener("mouseenter",ku(e,Ou)),e.container.addEventListener("touchstart",ku(e,Ou),{passive:!0})})),e.stateHandler.set("hold",r),e.stateHandler.set("pauseHold",r),e.transitionHandler.set("click",(function(){e.container.addEventListener("click",ku(e,Ru))})),e.transitionHandler.set("hover",(function(){e.container.addEventListener("mouseenter",ku(e,Ru)),e.container.addEventListener("touchstart",ku(e,Ru),{passive:!0})})),e.transitionHandler.set("hold",t),e.transitionHandler.set("pauseHold",t),e.transitionHandler.set("repeat",(function(){e.player.loop=!0,e.player.autoplay=!0,e.player.addEventListener("loopComplete",(function t(){ku(e,zu).call(e,{handler:t})}))})),e.transitionHandler.set("onComplete",(function(){"loop"===e.actions[e.interactionIdx].state?e.player.addEventListener("loopComplete",ku(e,qu)):e.player.addEventListener("complete",ku(e,qu))})),e.transitionHandler.set("seek",(function(){e.player.stop(),e.player.addEventListener("enterFrame",ku(e,ju)),e.container.addEventListener("mousemove",ku(e,Nu)),e.container.addEventListener("touchmove",ku(e,Bu),{passive:!1}),e.container.addEventListener("mouseout",ku(e,Vu))}))}}}),Ou.set(this,{writable:!0,value:function(){var t=e.actions[e.interactionIdx].forceFlag;t||!0!==e.player.isPaused?t&&ku(e,Uu).call(e,!0):ku(e,Uu).call(e,!0)}}),Fu.set(this,{writable:!0,value:function(){0===e.clickCounter?(e.player.play(),e.clickCounter++):(e.clickCounter++,e.player.setDirection(-1*e.player.playDirection),e.player.play())}}),Ru.set(this,{writable:!0,value:function(){var t=e.actions[e.interactionIdx].forceFlag,r=e.actions[e.interactionIdx].state,i=e.actions[e.interactionIdx].transition;if("chain"===e.mode){if(e.actions[e.interactionIdx].count){var n=parseInt(e.actions[e.interactionIdx].count);if(e.clickCounter<n-1)return void(e.clickCounter+=1)}return e.clickCounter=0,!t&&"click"===i&&"click"===r||"hover"===i&&"hover"===r?e.transitionHandler.get("onComplete").call():e.nextInteraction(),e.container.removeEventListener("click",ku(e,Ru)),void e.container.removeEventListener("mouseenter",ku(e,Ru))}t||!0!==e.player.isPaused?t&&e.player.goToAndPlay(0,!0):e.player.goToAndPlay(0,!0)}}),Nu.set(this,{writable:!0,value:function(t){ku(e,Ku).call(e,t.clientX,t.clientY)}}),Bu.set(this,{writable:!0,value:function(t){t.cancelable&&t.preventDefault(),ku(e,Ku).call(e,t.touches[0].clientX,t.touches[0].clientY)}}),Vu.set(this,{writable:!0,value:function(){ku(e,Ku).call(e,-1,-1)}}),qu.set(this,{writable:!0,value:function(){"loop"===e.actions[e.interactionIdx].state?e.player.removeEventListener("loopComplete",ku(e,qu)):e.player.removeEventListener("complete",ku(e,qu)),e.nextInteraction()}}),zu.set(this,{writable:!0,value:function(t){var r=t.handler,i=1;e.actions[e.interactionIdx].repeat&&(i=e.actions[e.interactionIdx].repeat),e.playCounter>=i-1?(e.playCounter=0,e.player.removeEventListener("loopComplete",r),e.player.loop=!1,e.player.autoplay=!1,e.nextInteraction()):e.playCounter+=1}}),ju.set(this,{writable:!0,value:function(){var t=e.actions[e.interactionIdx].frames;t&&e.player.currentFrame>=parseInt(t[1])-1&&(e.player.removeEventListener("enterFrame",ku(e,ju)),e.container.removeEventListener("mousemove",ku(e,Nu)),e.container.removeEventListener("mouseout",ku(e,Vu)),setTimeout(e.nextInteraction,0))}}),Gu.set(this,{writable:!0,value:function(){var t=e.actions[e.interactionIdx].frames;(t&&e.player.currentFrame>=t[1]||e.player.currentFrame>=e.player.totalFrames-1)&&(e.player.removeEventListener("enterFrame",ku(e,Gu)),e.container.removeEventListener("mouseenter",ku(e,Hu)),e.container.removeEventListener("mouseleave",ku(e,Wu)),e.container.removeEventListener("touchstart",ku(e,Hu),{passive:!0}),e.container.removeEventListener("touchend",ku(e,Wu),{passive:!0}),e.player.pause(),e.holdStatus=!1,e.nextInteraction()),-1===e.player.playDirection&&t&&e.player.currentFrame<t[0]&&e.player.pause()}}),Hu.set(this,{writable:!0,value:function(){-1!==e.player.playDirection&&null!==e.holdStatus&&e.holdStatus||(e.player.setDirection(1),e.player.play(),e.holdStatus=!0)}}),Wu.set(this,{writable:!0,value:function(){"hold"===e.actions[e.interactionIdx].transition||"hold"===e.actions[e.interactionIdx].state||"hold"===e.actions[0].type?(e.player.setDirection(-1),e.player.play()):"pauseHold"!==e.actions[e.interactionIdx].transition&&"pauseHold"!==e.actions[e.interactionIdx].state&&"pauseHold"!==e.actions[0].type||e.player.pause(),e.holdStatus=!1}}),$u.set(this,{writable:!0,value:function(){if(e.container.removeEventListener("click",ku(e,Ru)),e.container.removeEventListener("click",ku(e,Ou)),e.container.removeEventListener("mouseenter",ku(e,Ru)),e.container.removeEventListener("touchstart",ku(e,Ru)),e.container.removeEventListener("touchmove",ku(e,Bu)),e.container.removeEventListener("mouseenter",ku(e,Ou)),e.container.removeEventListener("touchstart",ku(e,Ou)),e.container.removeEventListener("mouseenter",ku(e,Hu)),e.container.removeEventListener("touchstart",ku(e,Hu)),e.container.removeEventListener("mouseleave",ku(e,Wu)),e.container.removeEventListener("mousemove",ku(e,Nu)),e.container.removeEventListener("mouseout",ku(e,Vu)),e.container.removeEventListener("touchend",ku(e,Wu)),e.player)try{e.player.removeEventListener("loopComplete",ku(e,qu)),e.player.removeEventListener("complete",ku(e,qu)),e.player.removeEventListener("enterFrame",ku(e,ju)),e.player.removeEventListener("enterFrame",ku(e,Gu))}catch(t){}}}),Au(this,"jumpToInteraction",(function(t){ku(e,$u).call(e),e.interactionIdx=t,e.interactionIdx<0?e.interactionIdx=0:e.interactionIdx,e.nextInteraction(!1)})),Au(this,"nextInteraction",(function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];e.oldInterctionIdx=e.interactionIdx,ku(e,$u).call(e),e.player.loop=!1;var r=e.actions[e.interactionIdx].jumpTo;r?r>=0&&r<e.actions.length?(e.interactionIdx=r,ku(e,Xu).call(e,{ignorePath:!1})):(e.interactionIdx=0,e.player.goToAndStop(0,!0),ku(e,Xu).call(e,{ignorePath:!1})):(t&&e.interactionIdx++,e.interactionIdx>=e.actions.length?e.actions[e.actions.length-1].reset?(e.interactionIdx=0,e.player.resetSegments(!0),e.actions[e.interactionIdx].frames?e.player.goToAndStop(e.actions[e.interactionIdx].frames,!0):e.player.goToAndStop(0,!0),ku(e,Xu).call(e,{ignorePath:!1})):(e.interactionIdx=e.actions.length-1,ku(e,Xu).call(e,{ignorePath:!1})):ku(e,Xu).call(e,{ignorePath:!1})),e.container.dispatchEvent(new CustomEvent("transition",{bubbles:!0,composed:!0,detail:{oldIndex:e.oldInterctionIdx,newIndex:e.interactionIdx}}))})),Uu.set(this,{writable:!0,value:function(t){var r=e.actions[e.interactionIdx].frames;if(!r)return e.player.resetSegments(!0),void e.player.goToAndPlay(0,!0);"string"==typeof r?e.player.goToAndPlay(r,t):e.player.playSegments(r,t)}}),Yu.set(this,{writable:!0,value:function(){var t=e.actions[e.interactionIdx].path;if(!t)if("object"===Cu(e.enteredPlayer)&&"AnimationItem"===e.enteredPlayer.constructor.name){if(t=e.enteredPlayer,e.player===t)return void ku(e,Xu).call(e,{ignorePath:!0})}else{var r=(t=e.loadedAnimation).substr(t.lastIndexOf("/")+1);if(r=r.substr(0,r.lastIndexOf(".json")),e.player.fileName===r)return void ku(e,Xu).call(e,{ignorePath:!0})}var i=e.container.getBoundingClientRect(),n="width: "+i.width+"px !important; height: "+i.height+"px !important; background: "+e.container.style.background;if(e.container.setAttribute("style",n),"object"!==Cu(e.enteredPlayer)||"AnimationItem"!==e.enteredPlayer.constructor.name){if("string"==typeof e.enteredPlayer){var a=document.querySelector(e.enteredPlayer);a&&"LOTTIE-PLAYER"===a.nodeName&&(e.attachedListeners||(a.addEventListener("ready",(function(){e.container.style.width="",e.container.style.height=""})),a.addEventListener("load",(function(){e.player=a.getLottie(),ku(e,Xu).call(e,{ignorePath:!0})})),e.attachedListeners=!0),a.load(t))}else e.enteredPlayer instanceof HTMLElement&&"LOTTIE-PLAYER"===e.enteredPlayer.nodeName&&(e.attachedListeners||(e.enteredPlayer.addEventListener("ready",(function(){e.container.style.width="",e.container.style.height=""})),e.enteredPlayer.addEventListener("load",(function(){e.player=e.enteredPlayer.getLottie(),ku(e,Xu).call(e,{ignorePath:!0})})),e.attachedListeners=!0),e.enteredPlayer.load(t));if(!e.player)throw new Error("".concat(Du," Specified player is invalid."),e.enteredPlayer)}else{if(!window.lottie)throw new Error("".concat(Du," A Lottie player is required."));e.stop(),e.container.innerHTML="","object"===Cu(t)&&"AnimationItem"===t.constructor.name?e.player=window.lottie.loadAnimation({loop:!1,autoplay:!1,animationData:t.animationData,container:e.container}):e.player=window.lottie.loadAnimation({loop:!1,autoplay:!1,path:t,container:e.container}),e.player.addEventListener("DOMLoaded",(function(){e.container.style.width="",e.container.style.height="",ku(e,Xu).call(e,{ignorePath:!0})}))}e.clickCounter=0,e.playCounter=0}}),Xu.set(this,{writable:!0,value:function(t){var r=t.ignorePath,i=e.actions[e.interactionIdx].frames,n=e.actions[e.interactionIdx].state,a=e.actions[e.interactionIdx].transition,s=e.actions[e.interactionIdx].path,o=e.stateHandler.get(n),l=e.transitionHandler.get(a),c=e.actions[e.interactionIdx].speed?e.actions[e.interactionIdx].speed:1,h=e.actions[e.interactionIdx].delay?e.actions[e.interactionIdx].delay:0;r||!(s||e.actions[e.actions.length-1].reset&&0===e.interactionIdx)?setTimeout((function(){i&&(e.player.autoplay=!1,e.player.resetSegments(!0),e.player.goToAndStop(i[0],!0)),o?o.call():"none"===n&&(e.player.loop=!1,e.player.autoplay=!1),l&&l.call(),e.player.autoplay&&(e.player.resetSegments(!0),ku(e,Uu).call(e,!0)),e.player.setSpeed(c)}),h):ku(e,Yu).call(e)}}),Ku.set(this,{writable:!0,value:function(t,r){if(-1!==t&&-1!==r){var i=e.getContainerCursorPosition(t,r);t=i.x,r=i.y}var n=e.actions.find((function(e){var i=e.position;if(i){if(Array.isArray(i.x)&&Array.isArray(i.y))return t>=i.x[0]&&t<=i.x[1]&&r>=i.y[0]&&r<=i.y[1];if(!Number.isNaN(i.x)&&!Number.isNaN(i.y))return t===i.x&&r===i.y}return!1}));if(n)if("seek"===n.type||"seek"===n.transition){var a=(t-n.position.x[0])/(n.position.x[1]-n.position.x[0]),s=(r-n.position.y[0])/(n.position.y[1]-n.position.y[0]);e.player.playSegments(n.frames,!0),n.position.y[0]<0&&n.position.y[1]>1?e.player.goToAndStop(Math.floor(a*e.player.totalFrames),!0):e.player.goToAndStop(Math.ceil((a+s)/2*e.player.totalFrames),!0)}else"loop"===n.type?e.player.playSegments(n.frames,!0):"play"===n.type?(!0===e.player.isPaused&&e.player.resetSegments(),e.player.playSegments(n.frames)):"stop"===n.type&&(e.player.resetSegments(!0),e.player.goToAndStop(n.frames[0],!0))}}),Zu.set(this,{writable:!0,value:function(){var t=e.getContainerVisibility(),r=e.actions.find((function(e){var r=e.visibility;return t>=r[0]&&t<=r[1]}));if(r)if("seek"===r.type){var i=r.frames[0],n=2==r.frames.length?r.frames[1]:e.player.totalFrames-1;null!==e.assignedSegment&&(e.player.resetSegments(!0),e.assignedSegment=null),e.player.goToAndStop(i+Math.round((t-r.visibility[0])/(r.visibility[1]-r.visibility[0])*(n-i)),!0)}else if("loop"===r.type)e.player.loop=!0,(null===e.assignedSegment||e.assignedSegment!==r.frames||!0===e.player.isPaused)&&(e.player.playSegments(r.frames,!0),e.assignedSegment=r.frames);else if("play"===r.type||"playOnce"===r.type){if("playOnce"===r.type&&!e.scrolledAndPlayed)return e.scrolledAndPlayed=!0,e.player.resetSegments(!0),void(r.frames?e.player.playSegments(r.frames,!0):e.player.play());"play"===r.type&&e.player.isPaused&&(e.player.resetSegments(!0),r.frames?e.player.playSegments(r.frames,!0):e.player.play())}else"stop"===r.type&&e.player.goToAndStop(r.frames[0],!0)}}),this.enteredPlayer=s,"object"!==Cu(s)||"AnimationItem"!==s.constructor.name){if("string"==typeof s){var l=document.querySelector(s);l&&"LOTTIE-PLAYER"===l.nodeName&&(s=l.getLottie())}else s instanceof HTMLElement&&"LOTTIE-PLAYER"===s.nodeName&&(s=s.getLottie());if(!s)throw new Error(Du+"Specified player:"+s+" is invalid.")}"string"==typeof n&&(n=document.querySelector(n)),n||(n=s.wrapper),this.player=s,this.loadedAnimation=this.player.path+this.player.fileName+".json",this.attachedListeners=!1,this.container=n,this.mode=a,this.actions=i,this.options=o,this.assignedSegment=null,this.scrolledAndPlayed=!1,this.interactionIdx=0,this.oldInterctionIdx=0,this.clickCounter=0,this.playCounter=0,this.stateHandler=new Map,this.transitionHandler=new Map}var e,r;return e=t,(r=[{key:"getContainerVisibility",value:function(){var t=this.container.getBoundingClientRect(),e=t.top,r=t.height;return(window.innerHeight-e)/(window.innerHeight+r)}},{key:"getContainerCursorPosition",value:function(t,e){var r=this.container.getBoundingClientRect(),i=r.top;return{x:(t-r.left)/r.width,y:(e-i)/r.height}}},{key:"initScrollMode",value:function(){this.player.stop(),window.addEventListener("scroll",ku(this,Zu),!0)}},{key:"initCursorMode",value:function(){this.actions&&1===this.actions.length?"click"===this.actions[0].type?(this.player.loop=!1,this.player.stop(),this.container.addEventListener("click",ku(this,Ru))):"hover"===this.actions[0].type?(this.player.loop=!1,this.player.stop(),this.container.addEventListener("mouseenter",ku(this,Ru)),this.container.addEventListener("touchstart",ku(this,Ru),{passive:!0})):"toggle"===this.actions[0].type?(this.player.loop=!1,this.player.stop(),this.container.addEventListener("click",ku(this,Fu))):"hold"===this.actions[0].type||"pauseHold"===this.actions[0].type?(this.container.addEventListener("mouseenter",ku(this,Hu)),this.container.addEventListener("mouseleave",ku(this,Wu)),this.container.addEventListener("touchstart",ku(this,Hu),{passive:!0}),this.container.addEventListener("touchend",ku(this,Wu),{passive:!0})):"seek"===this.actions[0].type&&(this.player.loop=!0,this.player.stop(),this.container.addEventListener("mousemove",ku(this,Nu)),this.container.addEventListener("touchmove",ku(this,Bu),{passive:!1}),this.container.addEventListener("mouseout",ku(this,Vu))):(this.player.loop=!0,this.player.stop(),this.container.addEventListener("mousemove",ku(this,Nu)),this.container.addEventListener("mouseleave",ku(this,Vu)),ku(this,Ku).call(this,-1,-1))}},{key:"initChainMode",value:function(){ku(this,Mu).call(this),this.player.loop=!1,this.player.stop(),ku(this,Xu).call(this,{ignorePath:!1})}},{key:"start",value:function(){var t=this;"scroll"===this.mode?this.player.isLoaded?this.initScrollMode():this.player.addEventListener("DOMLoaded",(function(){t.initScrollMode()})):"cursor"===this.mode?this.player.isLoaded?this.initCursorMode():this.player.addEventListener("DOMLoaded",(function(){t.initCursorMode()})):"chain"===this.mode&&(this.player.isLoaded?this.initChainMode():this.player.addEventListener("DOMLoaded",(function(){t.initChainMode()})))}},{key:"redefineOptions",value:function(t){var e=t.actions,r=t.container,i=t.mode,n=t.player,a=Tu(t,["actions","container","mode","player"]);if(this.stop(),this.enteredPlayer=n,"object"!==Cu(n)||"AnimationItem"!==n.constructor.name){if("string"==typeof n){var s=document.querySelector(n);s&&"LOTTIE-PLAYER"===s.nodeName&&(n=s.getLottie())}else n instanceof HTMLElement&&"LOTTIE-PLAYER"===n.nodeName&&(n=n.getLottie());if(!n)throw new Error(Du+"Specified player:"+n+" is invalid.",n)}"string"==typeof r&&(r=document.querySelector(r)),r||(r=n.wrapper),this.player=n,this.loadedAnimation=this.player.path+this.player.fileName+".json",this.attachedListeners=!1,this.container=r,this.mode=i,this.actions=e,this.options=a,this.assignedSegment=null,this.scrolledAndPlayed=!1,this.interactionIdx=0,this.clickCounter=0,this.playCounter=0,this.holdStatus=null,this.stateHandler=new Map,this.transitionHandler=new Map,this.start()}},{key:"stop",value:function(){if("scroll"===this.mode&&window.removeEventListener("scroll",ku(this,Zu),!0),"cursor"===this.mode&&(this.container.removeEventListener("click",ku(this,Ru)),this.container.removeEventListener("click",ku(this,Fu)),this.container.removeEventListener("mouseenter",ku(this,Ru)),this.container.removeEventListener("touchstart",ku(this,Ru)),this.container.removeEventListener("touchmove",ku(this,Bu)),this.container.removeEventListener("mousemove",ku(this,Nu)),this.container.removeEventListener("mouseleave",ku(this,Vu)),this.container.removeEventListener("touchstart",ku(this,Hu)),this.container.removeEventListener("touchend",ku(this,Wu))),"chain"===this.mode&&(this.container.removeEventListener("click",ku(this,Ru)),this.container.removeEventListener("click",ku(this,Ou)),this.container.removeEventListener("mouseenter",ku(this,Ru)),this.container.removeEventListener("touchstart",ku(this,Ru)),this.container.removeEventListener("touchmove",ku(this,Bu)),this.container.removeEventListener("mouseenter",ku(this,Ou)),this.container.removeEventListener("touchstart",ku(this,Ou)),this.container.removeEventListener("mouseenter",ku(this,Hu)),this.container.removeEventListener("touchstart",ku(this,Hu)),this.container.removeEventListener("mouseleave",ku(this,Wu)),this.container.removeEventListener("mousemove",ku(this,Nu)),this.container.removeEventListener("mouseout",ku(this,Vu)),this.container.removeEventListener("touchend",ku(this,Wu)),this.player))try{this.player.removeEventListener("loopComplete",ku(this,qu)),this.player.removeEventListener("complete",ku(this,qu)),this.player.removeEventListener("enterFrame",ku(this,ju)),this.player.removeEventListener("enterFrame",ku(this,Gu))}catch(t){}this.player&&(this.player.destroy(),this.player=null)}}])&&Pu(e.prototype,r),t}(),Mu=new WeakMap,Ou=new WeakMap,Fu=new WeakMap,Ru=new WeakMap,Nu=new WeakMap,Bu=new WeakMap,Vu=new WeakMap,qu=new WeakMap,zu=new WeakMap,ju=new WeakMap,Gu=new WeakMap,Hu=new WeakMap,Wu=new WeakMap,$u=new WeakMap,Uu=new WeakMap,Yu=new WeakMap,Xu=new WeakMap,Ku=new WeakMap,Zu=new WeakMap,Ju=function(t){var e=new Iu(t);return e.start(),e},Qu={},td="rad-frontpage-hero",ed="rad-frontpage-hero__lottie-wrapper",rd=Yh()(0,0,.58,1),id={},nd=!1,ad=function(){var t=Qu.BASE.dataset;id.AUTOPLAY_START=parseInt(t.autoplayStartFrame,10),id.AUTOPLAY_END=parseInt(t.autoplayEndFrame,10),id.HOVER_START=parseInt(t.hoverStartFrame,10),id.HOVER_END=parseInt(t.hoverEndFrame,10),Ju({container:".".concat(td),player:Qu.LOTTIE_WEB,mode:"chain",actions:[{frames:[id.AUTOPLAY_START,id.AUTOPLAY_END],state:"autoplay"}]})},sd=function t(){var e=Qu.LOTTIE_WEB.currentFrame;id.ANIMATION_START_FRAME||(id.ANIMATION_START_FRAME=e);var r=id.ANIMATION_GOAL_FRAME<e?-1:1;id.DIRECTION!==r&&(id.DIRECTION=r,id.ANIMATION_START_FRAME=e);var i=Math.abs(id.ANIMATION_START_FRAME-id.ANIMATION_GOAL_FRAME),n=Math.max(i/4*100,500),a=Math.min(1,(new Date-nd)/n),s=rd(a)*i*id.DIRECTION+id.ANIMATION_START_FRAME;if(Qu.LOTTIE_WEB.goToAndStop(s,!0),1===a)return nd=!1,void(id.ANIMATION_START_FRAME=e);window.requestAnimationFrame(t)},od=function(){return Qu.BASE.dataset["animationFor".concat(ld())]},ld=function(){var t=Rl(),e=t.xs,r=t.sm;return e?"Mobile":r?"Tablet":"Desktop"},cd=function(){setTimeout((function(){Qu.LOTTIE_WEB.goToAndStop(id.HOVER_START,!0),hd()}),1)},hd=function(){matchMedia("(pointer:fine)").matches&&Qu.BASE.addEventListener("mousemove",(function(t){var e=t.clientX/window.innerWidth;id.ANIMATION_GOAL_FRAME=(id.HOVER_END-id.HOVER_START)*e+id.HOVER_START,nd||(nd=new Date,sd())}))},ud=function(t){var e=t||document;Qu.BASE=e.querySelector(".".concat(td)),nd=!1,Qu.BASE&&(Qu.BASE.addEventListener("animationend",(function(t){t.target===t.currentTarget&&Ue.refresh()})),Qu.LOTTIE_WRAPPER=Qu.BASE.querySelector(".".concat(ed)),Qu.LOTTIE_WEB&&(Qu.LOTTIE_WEB.removeEventListener("complete",cd),Qu.LOTTIE_WRAPPER.innerHTML=""),Qu.LOTTIE_WEB=Kh().loadAnimation({wrapper:Qu.LOTTIE_WRAPPER,animType:"svg",loop:!1,path:od(),autoplay:!1}),setTimeout(ad,550),Qu.LOTTIE_WEB.addEventListener("complete",cd))};window.homepageHeroInit=ud;var dd=ud;function pd(t){return pd="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},pd(t)}function fd(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==pd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==pd(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===pd(a)?a:String(a)),i)}var n,a}function md(t,e,r){return e&&fd(t.prototype,e),r&&fd(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var gd="RAD_MEDIA_OVERLAY_STATE_CHANGED",vd=md((function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.atom=e,this.toggleButtons=this.atom.querySelectorAll(".rad-media-overlay__toggle"),this.playButton=this.atom.querySelector(".rad-media-overlay__play"),this.pauseButton=this.atom.querySelector(".rad-media-overlay__pause"),this.toggleButtons.forEach((function(t){t.addEventListener("click",(function(){var t=r.playButton.classList.toggle("rad-media-overlay__toggle--disabled");r.pauseButton.classList.toggle("rad-media-overlay__toggle--disabled");var e=t?r.pauseButton:r.playButton;e.focus();var i=new CustomEvent(gd,{bubbles:!0,detail:{playing:t}});e.dispatchEvent(i)}))}))}));Go.registerPlugin(Ue);var yd="MOBILE",bd="TABLET",_d="DESKTOP",Ed=function(t){!function(t){if(!t.classList.contains("rad-mixed-media-and-text--no-scroll-behavior")){var e=[],r=t.querySelector("img.rad-mixed-media-and-text__secondary-media");r&&e.push(r),e.push(t.querySelector(".rad-mixed-media-and-text__text")),Go.matchMedia().add({isMobile:"(max-width: 599px)",isTablet:"(min-width: 600px)",isDesktop:"(min-width: 1024px)"},(function(r){var i=r.conditions,n=i.isTablet,a=i.isDesktop?_d:n?bd:yd;Ue.saveStyles(".rad-mixed-media-and-text__primary-media");var s,o=Go.timeline({scrollTrigger:{trigger:t,start:function(){var t,e=(null===(t=document.querySelector(".cmp-global-header"))||void 0===t?void 0:t.getBoundingClientRect().height)||80;return"top ".concat(e,"px")},end:function(){return a===yd?"bottom top":"bottom center"},invalidateOnRefresh:!0,pin:!0,scrub:!0}}),l={duration:7,ease:"none"};a===yd?(s={height:function(){return innerHeight-80}},l.height="100%"):(s={width:function(){return Math.min(innerWidth,1920)}},l.width="100%"),o.fromTo(".rad-mixed-media-and-text__primary-media",s,l),o.fromTo(e,{opacity:0,translateY:a===_d?128:a===bd?40:80},{duration:2,ease:"none",opacity:1,translateY:0},"-=2"),yy.push(o)}),t)}}(t),function(t){var e=t.querySelector(".rad-mixed-media-and-text__primary-video video");e&&t.addEventListener(gd,(function(t){t.detail.playing?(gr(),e.play()):(gr(),e.pause())}))}(t)};function Sd(t){return Sd="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},Sd(t)}function xd(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function wd(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?xd(Object(r),!0).forEach((function(e){Cd(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):xd(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function Cd(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==Sd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Sd(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===Sd(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Pd(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Ad(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ad(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ad(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var Td=function(t){var e=t.getAttribute("data-carousel-indicator-datalayer"),r=t.querySelectorAll(".flickity-page-dot"),i=JSON.parse(e),n=Pd(Object.keys(i),1)[0],a=Pd(Object.values(i),1)[0],s=t.getAttribute("data-previous-button-datalayer"),o=t.getAttribute("data-next-button-datalayer"),l=ar().data(t.querySelector(".flickity-enabled")),c=l.prevButton.element,h=l.nextButton.element;c.dataset.cmpDataLayer=s,c.dataset.cmpClickable="",h.dataset.cmpDataLayer=o,h.dataset.cmpClickable="",r.length&&(r.forEach((function(t,e){var i="".concat(n,"-").concat(e+1),s=wd(wd({},a),{},{"analytics-link-name":"ellipsis button ".concat(e+1," - quote-carousel"),"analytics-module-name":"".concat(a["analytics-module-name"]," - ").concat(e+1)}),o='{"'.concat(i,'":').concat(JSON.stringify(s),"}");t.setAttribute("data-cmp-data-layer",o),t.setAttribute("data-cmp-clickable",""),yr(t),t.addEventListener("click",(function(){Er(t),kd(c,e,r.length,"prev"),kd(h,e,r.length,"next")}))})),kd(c,r.length,r.length,"onload"),kd(h,2,r.length,"onload")),yr(c),c.addEventListener("click",(function(){Er(c),kd(c,1,r.length,"toggle"),kd(h,1,r.length,"toggle")})),yr(h),h.addEventListener("click",(function(){Er(h),kd(h,1,r.length,"toggle"),kd(c,1,r.length,"toggle")}))},kd=function(t,e,r,i){if(t){var n=t.getAttribute("data-cmp-data-layer"),a=t.closest(".rad-quote-carousel"),s=a.getAttribute("data-previous-button-datalayer"),o=a.getAttribute("data-next-button-datalayer");if(!n)return;var l=a.getAttribute("data-cmp-data-layer"),c=JSON.parse(n),h=Pd(Object.keys(c),1)[0],u=Pd(Object.values(c),1)[0],d=c,p=(Pd(Object.values(c),1)[0],e+2),f=e;if(p>r&&(p=1),f<1&&(f=r),"prev"===i)p=f;else if("cta"===i)p=e+1;else if("onload"===i)p=e;else if("toggle"===i){t.closest(".rad-quote-carousel").querySelectorAll(".flickity-page-dot").forEach((function(e,i){e.classList.contains("is-selected")&&((p=i+2)>r&&(p=1),(f=i)<1&&(f=r),t.classList.contains("previous")&&(p=f))}))}var m=Pd(Object.values(JSON.parse(l)),1)[0];if(t.classList.contains("previous")&&null!==s)m=Pd(Object.values(JSON.parse(s)),1)[0];else if(t.classList.contains("next")&&null!==o){m=Pd(Object.values(JSON.parse(o)),1)[0]}var g={"analytics-module-name":"".concat(m["analytics-module-name"],"-").concat(p)},v=function(t){g=wd(wd({},u),{},{"analytics-module-name":"".concat(t["analytics-module-name"],"-").concat(p)})};if("prev"===i&&null!==s)d=JSON.parse(s),v(Pd(Object.values(d),1)[0]);else if("next"===i&&null!==o){d=JSON.parse(o),v(Pd(Object.values(d),1)[0])}else v(m);("cta"===i||"onload"===i&&t.classList.contains("rad-button"))&&(g=wd(wd({},u),{},{"analytics-module-name":"".concat(m["analytics-module-name"],"-").concat(p)}));var y='{"'.concat(h,'":').concat(JSON.stringify(g),"}");t.setAttribute("data-cmp-data-layer",y),yr(t)}},Ld=function(t){(t||document).querySelectorAll(".rad-quote-carousel").forEach((function(t){!function(t){var e=t.querySelector(".rad-quote-carousel__left"),r=t.querySelector(".rad-quote-carousel__right"),i=t.querySelectorAll(".rad-quote-carousel__slides-left"),n=t.querySelector(".rad-quote-carousel__sub"),a=t.querySelector(".flickity-prev-next-button.previous"),s=t.querySelector(".flickity-prev-next-button.next"),o=new(ar())(r,{autoPlay:!1,prevNextButtons:!1,resize:!0,cellAlign:"left",sync:e,pageDots:!0,wrapAround:!0,selectedAttraction:.017,friction:.4,pauseAutoPlayOnHover:!1,draggable:"ontouchstart"in window}),l=new(ar())(e,{autoPlay:!1,sync:o,wrapAround:!0,pageDots:!1,selectedAttraction:.02,friction:.45,imagesLoaded:!0,pauseAutoPlayOnHover:!1,resize:!0,draggable:"ontouchstart"in window,on:{ready:function(){var t=e.querySelector(".previous"),r=e.querySelector(".next");t.classList.remove("flickity-prev-next-button"),t.classList.add("rad-icon-button","rad-icon-button--secondary","rad-icon-button--icon-size-24"),t.replaceChildren(Yr('<div class="rad-icon-button__text">Previous</div>'),Yr('<div class="rad-icon rad-icon--compact rad-icon__left" aria-hidden="true"></div>')),r.classList.remove("flickity-prev-next-button"),r.classList.add("rad-icon-button","rad-icon-button--secondary","rad-icon-button--icon-size-24"),r.replaceChildren(Yr('<div class="rad-icon-button__text">Next</div>'),Yr('<div class="rad-icon rad-icon--compact rad-icon__right" aria-hidden="true"></div>'))}}});new lr(t);var c=t.querySelectorAll(".flickity-page-dot");l.on("scroll",(function(e,r){var o,l=i[0].getBoundingClientRect().width,h=Math.round(r/l),u=i.length;h<0?h+=u:h>u-1&&(h-=u),null!==(o=c[h])&&void 0!==o&&o.classList.contains("is-selected")||(c.forEach((function(t,e){t.classList[e===h?"add":"remove"]("is-selected"),e===h&&(kd(n,e,c.length,"cta"),kd(a,e,c.length,"prev"),kd(s,e,c.length,"next"))})),t.style.setProperty("--dot-index",h-1))})),Td(t),n&&kd(n,1,c.length,"onload"),zr(c)}(t)}))};function Dd(t){return function(t){if(Array.isArray(t))return Id(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Id(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Id(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Id(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var Md="rad-subnav--anchors",Od="rad-subnav-bar",Fd="rad-subnav-bar__title",Rd="rad-subnav-bar__links",Nd="rad-subnav-bar__dropdown-links",Bd="subnav-bar__link--anchor",Vd="rad-subnav-bar__link-text",qd="subnav-menu-toggle",zd="rad-icon-button__text",jd="rad-subnav__dropdown--active",Gd="rad-subnav--links-inline",Hd="current-section",Wd="rad-subnav-bar__section-display",$d="rad--has-subnav",Ud="rad-subnav__highlights--visible",Yd="rad-subnav-bar__anchor-top",Xd=function(t){var e=document.querySelector("html"),r=t.querySelector(".".concat(Od)),i=t.querySelector(".".concat(Rd)),n=Dd(i.querySelectorAll(".".concat(Bd))),a=t.querySelector(".".concat(Nd)),s=Dd(a.querySelectorAll(".".concat(Bd))),o=a.lastElementChild,l=t.querySelector(".".concat(Fd)),c=t.querySelector(".".concat(Yd)),h=t.querySelector(".".concat(Wd)),u=t.querySelector(".".concat(qd)),d=u.querySelector(".".concat(zd)),p="Expand Navigation",f=!1,m=t.classList.contains(Md);document.body.classList.add($d);if(document.addEventListener("scroll",(function(){window.scrollY>80&&t.classList.add("".concat(Ud))})),m){var g=n.map((function(t){return t.getAttribute("href").substring(1)})),v=new IntersectionObserver((function(t){t.forEach((function(t){if(t.isIntersecting){var e=t.target.getAttribute("id"),r=document.querySelectorAll("[href='#".concat(e,"']"));E(),r.forEach((function(t){t.classList.add("".concat(Hd));var e=t.textContent;h.textContent=e}))}}))}),{threshold:.01,rootMargin:"-40% 0px -40% 0px"});g.forEach((function(t){var e=document.getElementById(t);v.observe(e)}));var y=function(t){var e=n[t];e.classList.add("".concat(Hd)),s[t].classList.add("".concat(Hd));var r=e.textContent;h.textContent=r},b=function(t){var e=t,r=document.querySelector('nav[aria-label="global"]').clientHeight;window.scrollY>t&&(e-=r),window.scrollTo({behavior:"smooth",left:0,top:e})};s.forEach((function(t){t.addEventListener("click",(function(e){e.preventDefault(),w();var r=t.getAttribute("href"),i=document.querySelector(r).offsetTop;b(i),E(),t.classList.add("".concat(Hd));var n=s.indexOf(t);y(n)}))})),n.forEach((function(t){t.addEventListener("click",(function(e){e.preventDefault();var r=t.getAttribute("href"),i=document.querySelector(r).offsetTop;b(i),E(),t.classList.add("".concat(Hd));var a=n.indexOf(t);y(a)}))}))}c.addEventListener("click",(function(t){t.preventDefault(),f&&w(),window.scrollTo({top:0,left:0,behavior:"smooth"})}));var _=function(){var a,s=i.clientWidth,o=l.clientWidth,c=e.clientWidth,d=s+o,p=window.getComputedStyle(r).getPropertyValue("padding-left");if(p=p.replace("px",""),m){var f=n.map((function(t){return t.querySelector(".".concat(Vd)).textContent})),g=f.reduce((function(t,e){return t.length<e.length?e:t}),""),v=f.indexOf(g);a=o+n[v].clientWidth+3*p}Rl().sm||Rl().md?(d+=2*p,m&&a>c&&(h.style.display="none")):d+=2*p,!Rl().xs&&d<c?t.classList.add("".concat(Gd)):(i.style.display="none",u.style.display="flex")};_();var E=function(){var e=t.querySelectorAll(".".concat(Hd));e&&e.forEach((function(t){t.classList.remove("".concat(Hd))}))},S=function t(e){r.contains(e.target)||w(),window.document.removeEventListener("click",t)},x=function(t){"Tab"===t.key&&t.shiftKey&&w()},w=function e(){t.classList.remove("".concat(jd)),d.textContent=p,f=!1,u.focus(),o.removeEventListener("blur",e),u.removeEventListener("keydown",x)};window.addEventListener("resize",(function(){i.removeAttribute("style"),u.removeAttribute("style"),m&&h.removeAttribute("style"),t.classList.remove("".concat(Gd)),d.textContent=p,f=!1,_()})),u.addEventListener("click",(function(){f?w():(t.classList.add("".concat(jd)),d.textContent="Collapse Navigation",f=!0,setTimeout((function(){window.document.addEventListener("click",S)}),250),o.addEventListener("blur",w),u.addEventListener("keydown",x))}))},Kd=function(t){var e=(t||document).querySelector(".rad-subnav");e?Xd(e):document.body.classList.remove($d)};function Zd(t){return Zd="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},Zd(t)}function Jd(t){return function(t){if(Array.isArray(t))return Qd(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Qd(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qd(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qd(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function tp(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Zd(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Zd(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Zd(a)?a:String(a)),i)}var n,a}var ep={COMPONENT_MOBILE:"rad-vertical-tabs--mobile",ACTIVE_LIST:"rad-vertical-tabs__tabs-list--active",ENTRY:"rad-vertical-tabs__tabs-list-entry",ACTIVE_ENTRY:"rad-vertical-tabs__tabs-list-entry--active",MOBILE_ACTIVE_ENTRY:"rad-vertical-tabs__tabs-list-entry--mobile-active",MOBILE_INACTIVE_ENTRY:"rad-vertical-tabs__tabs-list-entry--mobile-inactive",DESCRIPTION:"rad-vertical-tabs__tabs-description",HIDDEN_DESCRIPTION:"rad-vertical-tabs__tabs-description--hidden",TABS_CONTAINER:"rad-vertical-tabs__tabs"},rp=[],ip=Rl().xs,np=!1,ap=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.component=e,this.entriesList=e.querySelector(".rad-vertical-tabs__tabs-list"),this.entries=this.entriesList.querySelectorAll(".".concat(ep.ENTRY)),this.descriptions=e.querySelectorAll(".".concat(ep.DESCRIPTION)),this.tabsContainer=e.querySelector(".".concat(ep.TABS_CONTAINER)),ip&&this.component.classList.add(ep.COMPONENT_MOBILE),this.entries.forEach((function(t){t.addEventListener("pointerenter",(function(t){ip||r.activateEntry(t.target)})),t.addEventListener("pointerdown",(function(t){ip&&r.setMobileEntryActive(t.target)})),t.addEventListener("click",(function(t){r.activateEntry(t.target)}))})),window.addEventListener("touchmove",(function(){ip&&(np=!0)})),window.addEventListener("touchend",(function(){ip&&np&&(np=!1,r.clearActiveMobileEntry())})),this.descriptions.forEach((function(t){t.querySelector(".rad-vertical-tabs__tabs-description-close-button").addEventListener("click",(function(){r.clearSelectedEntry()}))})),this.initializeActiveEntry(),this.setTabsContainerMinHeight()}var e,r,i;return e=t,r=[{key:"activateEntry",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!t.classList.contains(ep.ACTIVE_ENTRY)||e){this.entriesList.classList.add(ep.ACTIVE_LIST),this.entriesList.classList.remove(ep.ACTIVE_ITEM_LIST),this.entries.forEach((function(t){t.classList.remove(ep.ACTIVE_ENTRY)})),t.classList.add(ep.ACTIVE_ENTRY),this.clearActiveMobileEntry();var r=this.component.querySelector("#".concat(t.dataset.opensDescription));this.descriptions.forEach((function(t){t.classList.add(ep.HIDDEN_DESCRIPTION)})),r&&(r.classList.remove(ep.HIDDEN_DESCRIPTION),Rl().xs&&(this.scrollLock=!0,jr(!0,r)))}}},{key:"clearSelectedEntry",value:function(){var t;this.scrollLock&&(jr(!1,this.component.querySelector(".".concat(ep.DESCRIPTION,":not(.").concat(ep.HIDDEN_DESCRIPTION,")"))),this.scrollLock=!1),this.entriesList.classList.remove(ep.ACTIVE_LIST),null===(t=this.entriesList.querySelector(".".concat(ep.ACTIVE_ENTRY)))||void 0===t||t.classList.remove(ep.ACTIVE_ENTRY)}},{key:"setMobileEntryActive",value:function(t){t.classList.contains(ep.MOBILE_ACTIVE_ENTRY)||(this.entries.forEach((function(t){t.classList.remove(ep.MOBILE_ACTIVE_ENTRY)})),this.entries.forEach((function(t){t.classList.add(ep.MOBILE_INACTIVE_ENTRY)})),t.classList.remove(ep.MOBILE_INACTIVE_ENTRY),t.classList.add(ep.MOBILE_ACTIVE_ENTRY))}},{key:"clearActiveMobileEntry",value:function(){this.entries.forEach((function(t){t.classList.remove(ep.MOBILE_ACTIVE_ENTRY,ep.MOBILE_INACTIVE_ENTRY)}))}},{key:"initializeActiveEntry",value:function(){Rl().xs?this.clearSelectedEntry():this.activateEntry(this.entriesList.firstElementChild.querySelector(".".concat(ep.ENTRY)),!0)}},{key:"setTabsContainerMinHeight",value:function(){if(Rl().xs)sp();else{var t=Math.max.apply(Math,Jd(Array.from(this.descriptions).map((function(t){return t.getBoundingClientRect().height}))));this.tabsContainer.style.minHeight="".concat(t/16,"rem")}}}],r&&tp(e.prototype,r),i&&tp(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),sp=function(){document.querySelectorAll(".".concat(ep.TABS_CONTAINER)).forEach((function(t){t.removeAttribute("style")}))};function op(t){return op="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},op(t)}function lp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return cp(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cp(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function hp(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==op(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==op(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===op(a)?a:String(a)),i)}var n,a}var up={COMPONENT_MOBILE:"rad-horizontal-tabs--mobile",TAB_LISTS:"rad-horizontal-tabs__tabs-lists",ACTIVE_LIST:"rad-horizontal-tabs__tabs-list--active",ACTIVE_ENTRY:"rad-horizontal-tabs__tabs-list-entry--active",ENTRY:"rad-horizontal-tabs__tabs-list-entry",LIST:"rad-horizontal-tabs__tabs-list",MOBILE_DROPDOWN:"rad-horizontal-tabs-mobile-dropdown",SELECTED_ITEM:"rad-horizontal-tabs__category-title-selected-item"},dp=Rl().xs,pp=[],fp=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.component=e,this.mobileDropdown=e.querySelector(".".concat(up.MOBILE_DROPDOWN)),this.tabsLists=e.querySelector(".".concat(up.TAB_LISTS)),this.entries=this.tabsLists.querySelectorAll(".".concat(up.ENTRY)),this.mobileDropdown.querySelector(".".concat(up.SELECTED_ITEM)).textContent=this.entries[0].textContent,this.computeDropdownHeight(),this.initDataLayer(),this.mobileDropdown.addEventListener("click",(function(){var t=r.component.classList.toggle("rad-horizontal-tabs-mobile-dropdown--expanded");r.mobileDropdown.setAttribute("aria-expanded",t)})),this.entries.forEach((function(t){t.addEventListener("click",(function(){r.activateEntry(t),r.replaceDropdownText(t),Er(t,"cmp:click")})),t.parentElement.removeAttribute("tabindex")})),this.tabsLists.addEventListener("keydown",(function(t){switch(t.key){case"ArrowLeft":r.moveLeft(t);break;case"ArrowRight":r.moveRight(t);break;case"ArrowUp":r.moveUp(t);break;case"ArrowDown":r.moveDown(t);break;case"Home":r.entries[0].focus();break;case"End":r.entries[r.entries.length-1].focus();break;default:return}t.preventDefault()}))}var e,r,i;return e=t,r=[{key:"initDataLayer",value:function(){if(gr()){var t,e=this.component.querySelector(".cmp-tabs"),r=JSON.parse(e.dataset.cmpDataLayer),i=null!==(t=r[lp(Object.keys(r),1)[0]]["analytics-template-zone"])&&void 0!==t?t:"";this.entries.forEach((function(t,e){var r=t.closest(".rad-horizontal-tabs__tabs-list").id;t.dataset.cmpDataLayer='{"horizontal'.concat(r,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"').concat(t.textContent.trim(),'","analytics-link-type": "engagement","analytics-engagement":"true","analytics-module-name":"horizontaltabs-').concat(e+1,'","analytics-template-zone":"').concat(i,'"}}'),yr(t)}))}}},{key:"removeMobileAttributes",value:function(){this.computeDropdownHeight(),this.component.classList.remove("rad-horizontal-tabs-mobile-dropdown--expanded"),this.mobileDropdown.setAttribute("aria-expanded",!1)}},{key:"computeDropdownHeight",value:function(){var t=this.tabsLists.scrollHeight;this.tabsLists.style.setProperty("--dropdown-height","".concat(t,"px"))}},{key:"replaceDropdownText",value:function(t){var e=t.textContent;this.mobileDropdown.querySelector(".".concat(up.SELECTED_ITEM)).textContent=e}},{key:"activateEntry",value:function(t){dp&&this.component.classList.toggle("rad-horizontal-tabs-mobile-dropdown--expanded"),this.entries.forEach((function(t){t.classList.remove("".concat(up.ACTIVE_ENTRY)),t.closest(".".concat(up.LIST)).classList.remove("".concat(up.ACTIVE_LIST))})),t.classList.add("".concat(up.ACTIVE_ENTRY)),t.closest(".".concat(up.LIST)).classList.add("".concat(up.ACTIVE_LIST)),this.mobileDropdown.focus()}},{key:"moveUp",value:function(t){var e;dp&&(null!==t.target.parentElement.previousElementSibling?null===(e=t.target.parentElement.previousElementSibling.querySelector(".".concat(up.ENTRY)))||void 0===e||e.focus():this.entries[this.entries.length-1].focus())}},{key:"moveDown",value:function(t){var e;dp&&(null!==t.target.parentElement.nextElementSibling?null===(e=t.target.parentElement.nextElementSibling.querySelector(".".concat(up.ENTRY)))||void 0===e||e.focus():this.entries[0].focus())}},{key:"moveLeft",value:function(t){var e;dp||(null!==t.target.parentElement.previousElementSibling?null===(e=t.target.parentElement.previousElementSibling.querySelector(".".concat(up.ENTRY)))||void 0===e||e.focus():this.entries[this.entries.length-1].focus())}},{key:"moveRight",value:function(t){var e;dp||(null!==t.target.parentElement.nextElementSibling?null===(e=t.target.parentElement.nextElementSibling.querySelector(".".concat(up.ENTRY)))||void 0===e||e.focus():this.entries[0].focus())}}],r&&hp(e.prototype,r),i&&hp(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function mp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return gp(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return gp(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function gp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var vp=function(t,e){var r=e.querySelector(".rad-accordion__header"),i=e.querySelector(".rad-accordion__content-wrapper");r.addEventListener("click",(function(){e.classList.contains("rad-accordion__item--open")?(yp(e),Er(e,"cmp:hide")):(bp(e),r.setAttribute("aria-expanded","true"))})),i.addEventListener("transitionstart",(function(t){if(t.target===t.currentTarget){var e=t.target;e.parentElement.classList.contains("rad-accordion__item--open")||(e.style.maxHeight="0",r.setAttribute("aria-expanded","false"))}})),i.addEventListener("transitionend",(function(t){if(t.target===t.currentTarget){var e=t.target;e.parentElement.classList.contains("rad-accordion__item--open")&&(e.style.maxHeight="none")}}))},yp=function(t){var e=t.querySelector(".rad-accordion__content-wrapper");e.style.maxHeight="".concat(e.scrollHeight,"px"),t.classList.remove("rad-accordion__item--open"),t.closest(".rad-accordion__container").classList.remove("rad-accordion__container--open");var r=t.parentElement.nextElementSibling;r&&r.querySelector(".rad-accordion__header").classList.remove("rad-accordion__purple")},bp=function(t){var e=t.querySelector(".rad-accordion__content-wrapper");e.style.maxHeight="".concat(e.scrollHeight,"px"),t.classList.add("rad-accordion__item--open"),_p(t),Er(t,"cmp:show"),t.closest(".rad-accordion__container").classList.add("rad-accordion__container--open");var r=t.parentElement.nextElementSibling;r&&r.querySelector(".rad-accordion__header").classList.add("rad-accordion__purple")},_p=function(t){var e=t.dataset.cmpDataLayer;try{var r,i=JSON.parse(e),n=mp(Object.keys(i),1)[0];i[n]["analytics-link-name"]="".concat(null!==(r=i[n]["analytics-link-name"])&&void 0!==r?r:"","-expand"),xr(i)}catch(t){}},Ep=function(t){(t||document).querySelectorAll(".rad-accordion").forEach((function(e){var r;!function(t){t.querySelectorAll(".rad-accordion__item").forEach((function(e){vp(t,e)}))}(e),r=e,t&&Sr(r)}))};function Sp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return xp(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xp(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var wp=function(t){var e=t.querySelector(".rad-mega-accordion__icon"),r=t.querySelector(".rad-mega-accordion__content-wrapper");e.addEventListener("click",(function(){t.classList.contains("rad-mega-accordion__item--open")?(Pp(t),Er(t,"cmp:hide")):(Ap(t),t.setAttribute("aria-expanded","true"))})),r.addEventListener("transitionstart",(function(e){if(e.target===e.currentTarget){var r=e.target;r.parentElement.classList.contains("rad-mega-accordion__item--open")||(r.style.maxHeight="0",t.setAttribute("aria-expanded","false"),t.closest(".megaaccordioncard").classList.remove("megaaccordioncard-active"))}})),r.addEventListener("transitionend",(function(e){if(e.target===e.currentTarget){var r=e.target;r.parentElement.classList.contains("rad-mega-accordion__item--open")&&(r.style.maxHeight="none",t.closest(".megaaccordioncard").classList.add("megaaccordioncard-active"))}}))},Cp=function(t){t.querySelector(".rad-mega-accordion__number")||t.classList.add("rad-mega-accordion__item-no-number")},Pp=function(t){var e=t.querySelector(".rad-mega-accordion__content-wrapper");e.style.maxHeight="".concat(e.scrollHeight,"px"),t.classList.remove("rad-mega-accordion__item--open"),t.closest(".rad-mega-accordion__container").classList.remove("rad-mega-accordion__container--open");var r=t.parentElement.nextElementSibling;r&&r.querySelector(".rad-mega-accordion__item").classList.remove("rad-mega-accordion__purple")},Ap=function(t){var e=t.querySelector(".rad-mega-accordion__content-wrapper");e.style.maxHeight="".concat(e.scrollHeight,"px"),t.classList.add("rad-mega-accordion__item--open"),Tp(t),Er(t,"cmp:show"),t.closest(".rad-mega-accordion__container").classList.add("rad-mega-accordion__container--open");var r=t.parentElement.nextElementSibling;r&&r.querySelector(".rad-mega-accordion__item").classList.add("rad-mega-accordion__purple")},Tp=function(t){var e=t.dataset.cmpDataLayer;try{var r,i=JSON.parse(e),n=Sp(Object.keys(i),1)[0];i[n]["analytics-link-name"]="".concat(null!==(r=i[n]["analytics-link-name"])&&void 0!==r?r:"","-expand"),xr(i)}catch(t){}},kp=function(t){(t||document).querySelectorAll(".rad-mega-accordion").forEach((function(e){var r;!function(t){t.querySelectorAll(".rad-mega-accordion__item").forEach((function(t){wp(t),Cp(t)}))}(e),r=e,t&&Sr(r)}))},Lp="radDropdownSelect",Dp="radDropdownToggle",Ip=function(t){var e=t.querySelector(".rad-dropdown__list"),r="".concat(e.scrollHeight,"px");t.style.setProperty("--dropdown-height",r)},Mp=function(t){(t||document).querySelectorAll(".rad-dropdown").forEach((function(t){!function(t){var e=t.querySelector(".rad-dropdown__category"),r=e.querySelector(".rad-dropdown__category-title-selected-item");Ip(t),t.addEventListener("click",(function(i){if(i.target.closest(".rad-dropdown__category")){t.classList.toggle("rad-dropdown--open"),e.setAttribute("aria-expanded",t.classList.contains("rad-dropdown--open"));var n=new CustomEvent(Dp,{detail:{isOpen:t.classList.contains("rad-dropdown--open")},bubbles:!0});t.dispatchEvent(n)}var a=i.target.closest(".rad-dropdown__list-item");if(a&&!a.classList.contains("rad-dropdown__list-item--selected")){t.querySelectorAll(".rad-dropdown__list-item--selected").forEach((function(t){t.classList.remove("rad-dropdown__list-item--selected")})),a.classList.add("rad-dropdown__list-item--selected"),r.textContent=a.textContent,t.classList.remove("rad-dropdown--open");var s=new CustomEvent(Lp,{detail:{selectedItem:a},bubbles:!0});t.dispatchEvent(s)}}))}(t)}))};function Op(t){return Op="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},Op(t)}function Fp(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Rp(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Rp(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rp(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function Np(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Op(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Op(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Op(a)?a:String(a)),i)}var n,a}var Bp="rad-accordion-podcast__listen-on-badge",Vp={amazonMusic:{ariaLabel:"Amazon Music"},applePodcasts:{ariaLabel:"Apple Podcasts"},castbox:{ariaLabel:"Castbox"},googlePodcasts:{ariaLabel:"Google Podcasts"},overcast:{ariaLabel:"Overcast"},pandora:{ariaLabel:"Pandora"},pocketcasts:{ariaLabel:"Pocket Casts"},radiopublic:{ariaLabel:"RadioPublic"},rssFeed:{ariaLabel:"RSS Feed"},siriusXM:{ariaLabel:"SiriusXM"},soundcloud:{ariaLabel:"Soundcloud"},spotify:{ariaLabel:"Spotify"},youtube:{ariaLabel:"YouTube Music"}},qp=Object.keys(Vp).sort(),zp={episodeLabel:"rad-accordion-podcast__episode-label",episodeNumber:"rad-accordion-podcast__episode-number",headline:"rad-accordion-podcast__episode-headline",body:"rad-accordion-podcast__episode-description-body",date:"rad-accordion-podcast__episode-date",length:"rad-accordion-podcast__episode-length",listenOnText:"rad-accordion-podcast__listen-on-label",relatedContentHeadline:"rad-accordion-podcast__related-content-label",relatedContentBody:"rad-accordion-podcast__related-content-body",speakersText:"rad-accordion-podcast__speakers-label"},jp=function(){function t(e,r,i,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.COMPONENTS={ACCORDION:e,INDEX:i},this.data=r,this.accordionPodcastPosition=n+1,this.init()}var e,r,i;return e=t,(r=[{key:"init",value:function(){var t,e=document.createElement("div");e.classList.add("accordioncard");var r=Yr('<div class="rad-accordion__item" data-cmp-data-layer="{"accordioncard-a5dae4fb64":{"analytics-engagement":"true","analytics-module-name":"accordioncard-1","analytics-link-name":"Taking action against racism","analytics-link-type":"accordion-link-type","xdm:linkURL":"/iframe.html","analytics-template-zone":"templatezone"}}"> <button class="rad-accordion__header" aria-expanded="false"> <div class="rad-accordion-podcast__accordion-item-headings"> <p class="rad-accordion-podcast__episode-number-text"> <span class="rad-accordion-podcast__episode-label">Episode</span> <span class="rad-accordion-podcast__episode-number">N</span> </p> <h4 class="rad-accordion-podcast__episode-headline"> Lorem ipsum </h4> </div> <div class="cmp-image"> <img alt="" class="cmp-image__image" src="/images/accordion-podcast.png"> </div> <div class="rad-accordion-podcast__accordion-item-details"> <div class="rad-accordion-podcast__episode-description-body"> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur porta malesuada arcu, in dictum erat ornare at. Donec in odio a leo feugiat fermentum. </div> <div class="rad-accordion-podcast__episode-date-and-length"> <p class="rad-accordion-podcast__episode-date"> Lorem 1, 2023 </p> <p class="rad-accordion-podcast__episode-length"> 1 min 23 sec </p> </div> </div> <div class="rad-accordion__icon-container"> <div class="rad-accordion__icon"></div> </div> </button> <div class="rad-accordion__content-wrapper"> <div class="rad-accordion__content"> <div class="rad-accordion-podcast__libsyn"> <div class="rad-accordion-podcast__libsyn-player"> </div> <a class="rad-accordion-podcast__libsyn-view-transcript" href="https://www.accenture.com/us-en/insights/company/built-for-change-podcast" target="_blank" rel="noopener noreferrer"> Lorem Ipsum </a> </div> <div class="rad-accordion-podcast__speakers"> <p class="rad-accordion-podcast__speakers-label"> Lorem </p> <ul class="rad-accordion-podcast__speakers-list"> <li class="rad-accordion-podcast__speaker-info"> <span class="rad-accordion-podcast__speaker-name">Tom Verrilli</span> <span class="rad-accordion-podcast__speaker-job">Chief Product Officer at Twitch</span> </li> <li class="rad-accordion-podcast__speaker-info"> <span class="rad-accordion-podcast__speaker-name">Katie Burke</span> <span class="rad-accordion-podcast__speaker-job">Global Thought Leadership Lead at Accenture Song</span> </li> <li class="rad-accordion-podcast__speaker-info"> <span class="rad-accordion-podcast__speaker-name">Karyl Fowler</span> <span class="rad-accordion-podcast__speaker-job">C.E.O. and Co-Founder of Transmute</span> </li> </ul> </div> <div class="rad-accordion-podcast__listen-on"> <p class="rad-accordion-podcast__listen-on-label"> Lorem </p> <ul class="rad-accordion-podcast__listen-on-list"> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://www.apple.com/apple-podcasts/" class="rad-podcast-badge rad-podcast-badge--amazonmusic" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://www.apple.com/apple-podcasts/" class="rad-podcast-badge rad-podcast-badge--applepodcasts" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://www.apple.com/apple-podcasts/" class="rad-podcast-badge rad-podcast-badge--castbox" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://podcasts.google.com/" class="rad-podcast-badge rad-podcast-badge--googlepodcasts" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://podcasts.google.com/" class="rad-podcast-badge rad-podcast-badge--iheartradio" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://podcasts.google.com/" class="rad-podcast-badge rad-podcast-badge--overcast" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://help.pandora.com/s/article/Listen-to-Podcasts?language=en_US" class="rad-podcast-badge rad-podcast-badge--pandora" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://help.pandora.com/s/article/Listen-to-Podcasts?language=en_US" class="rad-podcast-badge rad-podcast-badge--pocketcasts" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://help.pandora.com/s/article/Listen-to-Podcasts?language=en_US" class="rad-podcast-badge rad-podcast-badge--podcastaddict" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://help.pandora.com/s/article/Listen-to-Podcasts?language=en_US" class="rad-podcast-badge rad-podcast-badge--radiopublic" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://help.pandora.com/s/article/Listen-to-Podcasts?language=en_US" class="rad-podcast-badge rad-podcast-badge--rssfeed" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://help.pandora.com/s/article/Listen-to-Podcasts?language=en_US" class="rad-podcast-badge rad-podcast-badge--siriusxm" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://soundcloud.com/tags/podcast" class="rad-podcast-badge rad-podcast-badge--soundcloud" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://open.spotify.com/genre/podcasts-web" class="rad-podcast-badge rad-podcast-badge--spotify" target="_blank" rel="noopener noreferrer"> </a> </li> <li class="rad-accordion-podcast__listen-on-badge"> <a href="https://www.youtube.com/podcasts" class="rad-podcast-badge rad-podcast-badge--youtube" target="_blank" rel="noopener noreferrer"> </a> </li> </ul> </div> <div class="rad-accordion-podcast__related-content"> <p class="rad-accordion-podcast__related-content-label"> Lorem </p> <div class="rad-accordion-podcast__related-content-body"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> </div> </div> </div> </div> </div> ');e.append(r),this.COMPONENTS.BASE=e,this.displayAllPayload();var i=e.querySelector(".rad-accordion__item");vp(this.COMPONENTS.ACCORDION,i);var n=this.COMPONENTS.ACCORDION.closest("[data-template-zone]"),a=i.querySelector(".rad-accordion-podcast__episode-headline");i.dataset.cmpDataLayer='{"podcast-accordion'.concat(this.accordionPodcastPosition?"-".concat(this.accordionPodcastPosition):"","-").concat(this.COMPONENTS.INDEX+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"').concat(null==a?void 0:a.textContent.trim(),'","analytics-link-type": "accordion","analytics-engagement":"true","analytics-module-name":"podcastaccordion').concat(this.accordionPodcastPosition?"-".concat(this.accordionPodcastPosition):"","-").concat(this.COMPONENTS.INDEX+1,'","analytics-template-zone":"').concat(null!==(t=null==n?void 0:n.dataset.templateZone)&&void 0!==t?t:"",'"}}'),yr(i)}},{key:"displayAllPayload",value:function(){this.displayAllTexts(),this.updateImage(),this.displayLibsyn(),this.displaySpeakers(),this.displayListenOn(),this.displayRelatedContent()}},{key:"displayAllTexts",value:function(){var t=this;Object.entries(zp).forEach((function(e){var r=Fp(e,2),i=r[0],n=r[1],a=t.data[i];a&&(t.COMPONENTS.BASE.querySelector(".".concat(n)).innerHTML=a)}))}},{key:"updateImage",value:function(){this.COMPONENTS.BASE.querySelector("img").setAttribute("src",this.data.imagePath)}},{key:"displayLibsyn",value:function(){var t=this.COMPONENTS.BASE.querySelector(".rad-accordion-podcast__libsyn"),e=t.querySelector(".rad-accordion-podcast__libsyn-player"),r=this.data.libsynPlayerLink;if(r){e.innerHTML=r;var i=t.querySelector(".rad-accordion-podcast__libsyn-view-transcript");if(this.data.viewTranscriptLink){var n;i.textContent=this.data.viewTranscriptTextLabel,i.href=this.data.viewTranscriptLink,i.setAttribute("aria-label",this.data.ariaLabel),i.textContent=this.data.viewTranscriptTextLabel,i.href=this.data.viewTranscriptLink;var a=this.COMPONENTS.ACCORDION.closest("[data-template-zone]");i.dataset.cmpDataLayer='{"podcast-accordion-libsyn'.concat(this.accordionPodcastPosition?"-".concat(this.accordionPodcastPosition):"","-").concat(this.COMPONENTS.INDEX+1,'":{"xdm:linkURL":"').concat(i.href,'","analytics-link-name":"').concat(null==i?void 0:i.textContent.trim(),'","analytics-link-type": "engagement","analytics-engagement":"false","analytics-module-name":"podcastaccordion').concat(this.accordionPodcastPosition?"-".concat(this.accordionPodcastPosition):"","-").concat(this.COMPONENTS.INDEX+1,'","analytics-template-zone":"').concat(null!==(n=null==a?void 0:a.dataset.templateZone)&&void 0!==n?n:"",'"}}'),yr(i),i.setAttribute("aria-label",this.data.ariaLabel),i.addEventListener("click",(function(){gr()&&Er(i,"cmp:click")}))}else i.remove()}else t.remove()}},{key:"displayListenOn",value:function(){var t=this,e=this.COMPONENTS.BASE.querySelector(".rad-accordion-podcast__listen-on"),r=e.querySelector(".rad-accordion-podcast__listen-on-list"),i=r.querySelector(".".concat(Bp));i.querySelector(".rad-podcast-badge").className="rad-podcast-badge",r.textContent="",qp.forEach((function(e,n){var a=t.data[e];if(a){var s,o=i.cloneNode(!0),l=o.querySelector(".rad-podcast-badge");l.href=a,l.classList.add("rad-podcast-badge--".concat(e.toLowerCase())),l.setAttribute("aria-label","Listen on ".concat(Vp[e].ariaLabel));var c=t.COMPONENTS.ACCORDION.closest("[data-template-zone]");l.dataset.cmpDataLayer='{"podcast-accordion-badge'.concat(t.accordionPodcastPosition?"-".concat(t.accordionPodcastPosition):"","-").concat(t.COMPONENTS.INDEX+1,"-").concat(n+1,'":{"xdm:linkURL":"').concat(a,'","analytics-link-name":"').concat(null==l?void 0:l.getAttribute("aria-label").trim(),'","analytics-link-type": "engagement","analytics-engagement":"true","analytics-module-name":"podcast accordion","analytics-template-zone":"').concat(null!==(s=null==c?void 0:c.dataset.templateZone)&&void 0!==s?s:"",'"}}'),yr(l),r.append(o),l.addEventListener("click",(function(){gr()&&Er(l,"cmp:click")}))}})),r.querySelector(".".concat(Bp))||e.remove()}},{key:"displaySpeakers",value:function(){var t=this.COMPONENTS.BASE.querySelector(".rad-accordion-podcast__speakers"),e=this.data.speakerList;if(e&&e[0]){var r=this.COMPONENTS.BASE.querySelector(".rad-accordion-podcast__speakers-list"),i=r.querySelector(".rad-accordion-podcast__speaker-info");r.textContent="",e.forEach((function(t){var e=i.cloneNode(!0);e.querySelector(".rad-accordion-podcast__speaker-name").textContent=t.speakerName,e.querySelector(".rad-accordion-podcast__speaker-job").textContent=t.speakerTitle,r.append(e)}))}else t.remove()}},{key:"displayRelatedContent",value:function(){var t=this.COMPONENTS.BASE.querySelector(".rad-accordion-podcast__related-content"),e=null==t?void 0:t.querySelector("a");if(null==e||e.setAttribute("rel","_blank"===(null==e?void 0:e.getAttribute("target"))?"noopener noreferrer":""),gr()&&e){var r,i=e.getAttribute("href").replace(/\.[^/.]+$/,""),n=this.COMPONENTS.ACCORDION.closest("[data-template-zone]");e.dataset.cmpDataLayer='{"podcast-accordion-related-content-link'.concat(this.accordionPodcastPosition?"-".concat(this.accordionPodcastPosition):"","-").concat(this.COMPONENTS.INDEX+1,'":{"xdm:linkURL":"').concat(i,'","analytics-link-name":"').concat(null==e?void 0:e.textContent.trim(),'","analytics-link-type": "engagement","analytics-engagement":"true","analytics-module-name":"podcastaccordion').concat(this.accordionPodcastPosition?"-".concat(this.accordionPodcastPosition):"","-").concat(this.COMPONENTS.INDEX+1,'","analytics-template-zone":"').concat(null!==(r=null==n?void 0:n.dataset.templateZone)&&void 0!==r?r:"",'"}}'),yr(e),e.addEventListener("click",(function(){gr()&&Er(e,"cmp:click")}))}this.data.relatedContentBody||t.remove()}}])&&Np(e.prototype,r),i&&Np(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Gp(t){return Gp="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},Gp(t)}function Hp(){Hp=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof d?e:d,s=Object.create(a.prototype),o=new C(n||[]);return i(s,"_invoke",{value:E(t,r,o)}),s}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var u={};function d(){}function p(){}function f(){}var m={};l(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(P([])));v&&v!==e&&r.call(v,a)&&(m=v);var y=f.prototype=d.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,a,s,o){var l=h(t[i],t,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==Gp(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,o)}),(function(t){n("throw",t,s,o)})):e.resolve(u).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,o)}))}o(l.arg)}var a;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return a=a?a.then(i,i):i()}})}function E(t,e,r){var i="suspendedStart";return function(n,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===n)throw a;return A()}for(r.method=n,r.arg=a;;){var s=r.delegate;if(s){var o=S(s,r);if(o){if(o===u)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var l=h(t,e,r);if("normal"===l.type){if(i=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i="completed",r.method="throw",r.arg=l.arg)}}}function S(t,e){var r=e.method,i=t.iterator[r];if(void 0===i)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),u;var n=h(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return p.prototype=f,i(y,"constructor",{value:f,configurable:!0}),i(f,"constructor",{value:p,configurable:!0}),p.displayName=l(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,l(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(_.prototype),l(_.prototype,s,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,i,n,a){void 0===a&&(a=Promise);var s=new _(c(e,r,i,n),a);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},b(y),l(y,o,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var i in e)r.push(i);return r.reverse(),function t(){for(;r.length;){var i=r.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=P,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=void 0),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var o=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(o&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var n=i.arg;w(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function Wp(t,e,r,i,n,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(i,n)}function $p(t){return function(){var e=this,r=arguments;return new Promise((function(i,n){var a=t.apply(e,r);function s(t){Wp(a,i,n,s,o,"next",t)}function o(t){Wp(a,i,n,s,o,"throw",t)}s(void 0)}))}}function Up(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Gp(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Gp(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Gp(a)?a:String(a)),i)}var n,a}var Yp={LOAD_MORE:"rad-accordion-podcast__load-more"},Xp=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.COMPONENTS={BASE:e,ACCORDION_CONTAINER:e.querySelector(".rad-accordion__container"),LOAD_MORE_BUTTON:e.querySelector(".".concat(Yp.LOAD_MORE)),SORTER_WRAPPER:e.querySelector(".rad-accordion-podcast__sort")},this.totalEpisodes=0,this.episodes=[],this.hasFetchedAll=!1,this.nextEpisodeIndex=0,this.updateFocus=!1,this.accordionPodcastIndex=r,this.init()}var e,r,i,n;return e=t,r=[{key:"init",value:function(){this.fetchAndDisplayCards(),this.loadMoreInit(),this.sorterInit()}},{key:"fetchAndDisplayCards",value:function(){var t=this;this.fetchResults().then((function(e){t.processResults(e.contentFragmentItems),t.afterAddItems()}))}},{key:"clearCards",value:function(){this.totalEpisodes=0,this.COMPONENTS.BASE.activeItem=null,this.COMPONENTS.ACCORDION_CONTAINER.replaceChildren(),this.episodes.length=0,this.hasFetchedAll=!1,this.nextEpisodeIndex=0}},{key:"fetchResults",value:(n=$p(Hp().mark((function t(){var e,r,i,n,a;return Hp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(this.setIsLoadMoreVisible(!1),r=this.COMPONENTS.SORTER_WRAPPER.querySelector(".rad-dropdown__list-item--selected"),i=new FormData,n=this.COMPONENTS.BASE.dataset,i.append("resourcePath",n.resourcePath),i.append("geoTag",null===(e=JSON.parse(null==n?void 0:n.currentGeoTag))||void 0===e?void 0:e.tagId),i.append("locale",n.currentLocale),i.append("disableLinkConversion",n.disableLinkConversion),i.append("size",6),i.append("limit",6),i.append("offset",this.episodes.length),i.append("orderBy",r.dataset.orderById),i.append("sortOrder",r.dataset.sortOrder),!location.hostname.includes("author-")){t.next=19;break}return t.next=16,Pr();case 16:t.t0=t.sent,t.next=20;break;case 19:t.t0="";case 20:return a=t.t0,t.abrupt("return",fetch("/api/accenture/audio/podcast",{body:i,headers:{"CSRF-Token":a},method:"post"}).then((function(t){return t.json()})));case 22:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"processResults",value:function(t){var e=this;t.slice(0,5).forEach((function(t){var r=new jp(e.COMPONENTS.BASE,t,e.totalEpisodes++,e.accordionPodcastIndex);e.episodes.push(r),e.COMPONENTS.ACCORDION_CONTAINER.append(r.COMPONENTS.BASE)})),t.length>5?this.setIsLoadMoreVisible(!0):this.hasFetchedAll=!0}},{key:"afterAddItems",value:function(){this.updateFocus&&(this.COMPONENTS.BASE.querySelectorAll(".accordioncard")[this.nextEpisodeIndex].querySelector(".rad-accordion__header").focus(),this.updateFocus=!1)}},{key:"loadMoreInit",value:function(){var t,e,r,i,n,a=this;this.COMPONENTS.LOAD_MORE_BUTTON.dataset.cmpDataLayer='{"podcast-accordion-load-more":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(null===(t=this.COMPONENTS.LOAD_MORE_BUTTON)||void 0===t?void 0:t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"true","analytics-module-name":"podcast accordion","analytics-template-zone":"').concat(null!==(e=null===(r=this.COMPONENTS.BASE)||void 0===r?void 0:r.dataset.templateZone)&&void 0!==e?e:"",'"}}'),yr(this.COMPONENTS.LOAD_MORE_BUTTON),null===(i=this.COMPONENTS.LOAD_MORE_BUTTON)||void 0===i||i.addEventListener("keydown",function(){var t=$p(Hp().mark((function t(e){return Hp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:"Enter"===e.key&&(a.updateFocus=!0);case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),null===(n=this.COMPONENTS.LOAD_MORE_BUTTON)||void 0===n||n.addEventListener("click",$p(Hp().mark((function t(){return Hp().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:a.nextEpisodeIndex=a.episodes.length,a.fetchAndDisplayCards(),gr()&&Er(a.COMPONENTS.LOAD_MORE_BUTTON,"cmp:show");case 3:case"end":return t.stop()}}),t)}))))}},{key:"setIsLoadMoreVisible",value:function(t){var e;null===(e=this.COMPONENTS.LOAD_MORE_BUTTON)||void 0===e||e.classList.toggle("".concat(Yp.LOAD_MORE,"--hidden"),!t)}},{key:"sorterInit",value:function(){var t,e,r=this;this.COMPONENTS.SORTER_WRAPPER.querySelectorAll(".rad-dropdown__list-item").forEach((function(t,e){var i,n;t.dataset.cmpDataLayer='{"podcast-accordion-sort-by-'.concat(e+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"Sort by ').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"podcast accordion","analytics-template-zone":"').concat(null!==(i=null===(n=r.COMPONENTS.BASE)||void 0===n?void 0:n.dataset.templateZone)&&void 0!==i?i:"",'"}}'),yr(t),t.addEventListener("click",(function(){gr()&&Er(t,"cmp:show")}))})),this.COMPONENTS.SORTER_WRAPPER.dataset.cmpDataLayer='{"podcast-accordion-sort-by":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"Sort by","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"podcast accordion","analytics-template-zone":"').concat(null!==(t=null===(e=this.COMPONENTS.BASE)||void 0===e?void 0:e.dataset.templateZone)&&void 0!==t?t:"",'"}}'),yr(this.COMPONENTS.SORTER_WRAPPER),this.COMPONENTS.SORTER_WRAPPER.addEventListener(Dp,(function(t){t.detail.isOpen&&Er(r.COMPONENTS.SORTER_WRAPPER,"cmp:show")})),this.COMPONENTS.SORTER_WRAPPER.addEventListener(Lp,(function(){r.clearCards(),r.fetchAndDisplayCards()}))}}],r&&Up(e.prototype,r),i&&Up(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Kp="mosaic-modal--with-stat",Zp="mosaic-modal__cta",Jp="mosaic-modal__read-more-button",Qp="mosaic-modal__cta--is-fixed",tf="modal-hero",ef="modal-hero__top",rf="modal-hero__stat",nf="modal-inner-scroll",af="mosaic-modal__mobile-next-button",sf={},of=function(t){(t||document).querySelectorAll(".mosaic-modal").forEach((function(t){var e,r,i,n;sf.BASE=t,sf.HERO=sf.BASE.querySelector(".".concat(tf)),sf.HERO_TOP=sf.BASE.querySelector(".".concat(ef)),sf.HERO_STAT=sf.BASE.querySelector(".".concat(rf)),sf.SCROLLER=sf.BASE.querySelector(".".concat(nf)),sf.NEXT_BUTTON=sf.BASE.querySelector(".".concat(af)),sf.CTA_BUTTON=sf.BASE.querySelector(".".concat(Jp)),r=(e=t).classList.contains(Kp),i=sf.HERO_TOP.getBoundingClientRect().height,n=window.innerHeight,Rl().xs||Rl().sm?(r&&(i+=sf.HERO_STAT.getBoundingClientRect().height),sf.SCROLLER.style.minHeight="".concat(i,"px")):(r&&n>=868&&(i+=sf.HERO_STAT.getBoundingClientRect().height),sf.SCROLLER.style.minHeight="".concat(i>600?i:600,"px")),i<n?e.style.overflowY="hidden":e.removeAttribute("style"),sf.NEXT_BUTTON.addEventListener("click",(function(){var e=window.innerWidth;t.scrollTo({left:e,behavior:"smooth"})}));var a,s,o={threshold:1};if(sf.CTA_BUTTON){new IntersectionObserver((function(t){t.forEach((function(t){t.isIntersecting&&t.target.closest(".".concat(Zp)).classList.add(Qp)}))}),o).observe(sf.CTA_BUTTON);new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var r=t.querySelector(".".concat(Qp));r&&r.classList.remove(Qp)}}))}),o).observe(sf.NEXT_BUTTON)}t.addEventListener("pointerdown",(function(t){var e=t.clientX;a=!0,s=e})),t.addEventListener("pointerup",(function(){a=!1})),t.addEventListener("pointermove",(function(e){var r=e.clientX;if(a){var i=r-s;t.scrollLeft-=i,s=r}}))}))};function lf(t){return function(t){if(Array.isArray(t))return cf(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return cf(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return cf(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function cf(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var hf,uf="rad-mosaic",df="rad-mosaic__card",pf="mosaic-modal",ff="mosaic-modal--animating",mf="mosaic-modal--visible",gf="modal--is-open",vf="mosaic-modal__close",yf="mosaic-modal__close-icon",bf="mosaic-modal__cta",_f="mosaic-modal__cta--is-fixed",Ef="mosaic-modal__read-more-button",Sf="background-dimmer",xf="background-dimmer--darkened",wf={},Cf=[],Pf={LOAD:"pageload",SCROLL:"scroll"},Af=!1,Tf=Pf.LOAD,kf=[],Lf=!0,Df=function(t,e){t.forEach((function(t){var e,r,i=(e=t.target,null!==(r="".concat(e.dataset.analyticsAssetId,":").concat(e.dataset.analyticsAssetPos))&&void 0!==r?r:"");t.isIntersecting&&!Cf.includes(i)&&Lf&&(kf.push(i),Cf.push(i))})),kf.length?(clearTimeout(hf),hf=setTimeout((function(){!function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Pf.SCROLL;null===(e=window.adobeDataLayer)||void 0===e||e.push({event:"cmp:glance",eventInfo:{assetInfo:t,eventFlag:r,component:"rad-mosaic-card"}})}(kf.toString(),Tf),kf=[],Tf=Pf.SCROLL,Cf.length===wf.CARDS.length&&e.disconnect()}),500)):Af||(Tf=Pf.SCROLL)},If=function(){var t=Rl();return t.xs||t.sm?yf:vf},Mf=function t(){var e;null===(e=document.querySelector(".".concat(Sf)))||void 0===e||e.remove(),window.removeEventListener("radTransitionStarted",t)},Of=function(t){var e=(t||document).querySelectorAll(".".concat(uf));e.length&&(window.addEventListener("radTransitionStarted",Mf),Lf=!0),e.forEach((function(t){var e=t.querySelectorAll(".".concat(df)),r=function(e){var r=t.querySelector(".".concat(mf)),i=r.querySelector(".".concat(If())),n=r.querySelector(".".concat(Ef));"Tab"===e.key&&(n?document.activeElement===i&&e.shiftKey?(n.focus(),e.preventDefault()):document.activeElement===n&&(i.focus(),e.preventDefault()):e.preventDefault())};if(e.forEach((function(e){"BUTTON"===e.tagName&&e.addEventListener("click",(function(){!function(e){var i=e.getAttribute("aria-controls"),n=t.querySelector("#".concat(i));n.classList.add(mf),n.classList.add(ff),e.classList.add(gf),jr(!0,n),n.querySelector(".".concat(If())).focus(),n.addEventListener("keydown",r);var a=document.createElement("div");a.classList.add(Sf),document.body.append(a),requestAnimationFrame((function(){requestAnimationFrame((function(){a.classList.add(xf)}))}))}(e)}))})),t.querySelectorAll(".".concat(pf)).forEach((function(e){var i=function(){e.classList.remove(ff),jr(!1,e);var i=t.querySelector(".".concat(gf));i.focus(),i.classList.remove(gf),e.removeEventListener("keydown",r);var n=document.querySelector(".".concat(Sf));(n.classList.remove(xf),e.querySelector(".".concat(Ef)))&&e.querySelector(".".concat(bf)).classList.remove(_f);setTimeout((function(){e.classList.remove(mf),n.remove(),e.scrollTo(0,0)}),1250)},n=e.querySelector(".".concat(vf)),a=e.querySelector(".".concat(yf));n.addEventListener("click",i),a.addEventListener("click",i);var s=e.querySelector(".".concat(Ef));s&&s.addEventListener("click",(function(){e.classList.remove(mf),document.querySelector(".".concat(Sf)).remove(),jr(!1),e.querySelector(".".concat(bf)).classList.remove(_f),Lf=!1}))})),gr()){wf.CARDS=e;var i={root:null,rootMargin:"0px",threshold:Rl().xs||Rl().sm?1:.25},n=new IntersectionObserver(Df,i);lf(wf.CARDS).forEach((function(t){n.observe(t)})),window.scrollY>0&&(Tf=Pf.SCROLL),window.addEventListener("load",(function(){Af=!0}))}}))},Ff=function(t){if(t.elements.languageContainer){var e=t.elements.languageContainer,r=e.querySelector(".rad-global-nav__language-options"),i=e.querySelector(".rad-global-nav__language-selector"),n=function(){r.classList.add("rad-global-nav__language-selector--show"),t.state.languageSelector=!0,i.setAttribute("aria-expanded",!0)},a=function(){r.classList.remove("rad-global-nav__language-selector--show"),t.state.languageSelector=!1,i.setAttribute("aria-expanded",!1)},s=function e(i){if(t.state.languageSelector){if(i.target.closest(".rad-global-nav__language-selector"))return;if(r.contains(i.target))return;a(),window.document.removeEventListener("click",e)}};i.addEventListener("click",(function(){t.state.languageSelector?a():(n(),window.document.addEventListener("click",s))})),e.addEventListener("focusout",(function(t){e.contains(t.relatedTarget)||a()})),r.addEventListener("keydown",(function(e){var r=e.target,n=e.key,s=e.currentTarget,o=s.querySelectorAll('a[role="menuitem"]'),l=s.querySelector('a[role="menuitem"]'),c=o[o.length-1],h=r.closest("li");"Tab"===n&&!n.shiftKey&&r===c&&t.state.mobileTabletOpen&&(e.preventDefault(),a(),i.focus()),"ArrowUp"===n?(e.preventDefault(),r===l?c.focus():h&&h.previousElementSibling.querySelector("a").focus()):"ArrowDown"===n&&(e.preventDefault(),r===c?l.focus():h&&h.nextElementSibling.querySelector("a").focus())})),t.actions.openLanguageSelector=n,t.actions.closeLanguageSelector=a}},Rf="rad-global-nav",Nf="rad-global-nav__menu-open",Bf="rad-global-nav--menu-open",Vf="rad-global-nav--dropdown-open",qf="rad-global-nav--submenu-open",zf="rad-global-nav__menu-close",jf="rad-global-nav__drawer--open",Gf="menu-item-content__back-button",Hf="rad-global-nav__l1--button",Wf="rad-global-nav__l1--link",$f="rad-global-nav__menu-item-content",Uf="rad-global-nav__l1--active",Yf="rad-button__text",Xf="rad-global-nav__l1--long-content",Kf="rad-submenu__cta",Zf="rad-global-nav__l2-button",Jf="l2-item",Qf="l2-links",tm="rad-global-nav__l2-link",em="l2-item--active",rm="rad-global-nav__overlay",im="rad-global-nav__primary-nav",nm="rad-global-nav__submenu",am="rad-global-nav--active",sm="rad-global-nav__language-container",om="rad-global-nav__language-selector",lm="rad-header__search-button",cm="rad-global-nav__primary-nav",hm="rad-global-nav__footer-link",um={state:{languageSelector:!1,mobileTabletOpen:!1,mobileSubMenu:!1,mobileLastLinkListener:!1},actions:{}},dm=function(){var t=document.querySelector(".".concat(Rf));if(t){um.state.mobileTabletOpen=!1,t.classList.remove(Vf,Bf);var e=t.querySelector(".".concat(Uf)),r=t.querySelector(".".concat(om));if(e)e.classList.remove(Uf),t.querySelector(".".concat(jf)).classList.remove(jf),gr()&&window.adobeDataLayer.push({event:"cmp:hide",eventInfo:{path:"component.".concat(vr(e))}});t.querySelectorAll(".".concat(Qf)).forEach((function(t){t.removeAttribute("style")})),t.querySelectorAll(".".concat($f)).forEach((function(t){t.removeAttribute("style")})),t.classList.remove(qf),jr(!1),document.querySelector("body").classList.remove(am),null==r||r.removeEventListener("keydown",pm),t.querySelectorAll(".".concat(Zf)).forEach((function(t){t.setAttribute("aria-expanded",!1)}));var i=t.querySelector(".".concat(cm)).querySelectorAll("a"),n=t.querySelector(".".concat(cm)).querySelectorAll("button"),a=t.querySelectorAll(".".concat(Hf)),s=t.querySelectorAll(".".concat(Wf)),o=t.querySelectorAll(".".concat(tm)),l=t.querySelectorAll(".".concat(Kf));Rl().xs||Rl().sm?(i.forEach((function(t){t.setAttribute("tabindex",-1)})),n.forEach((function(t){t.setAttribute("tabindex",-1)})),Rl().xs?um.elements.languageButton.setAttribute("tabindex",-1):um.elements.languageButton.removeAttribute("tabindex")):(l.forEach((function(t){t.setAttribute("tabindex",-1)})),o.forEach((function(t){t.setAttribute("tabindex",-1)})),a.forEach((function(t){t.removeAttribute("tabindex")})),s.forEach((function(t){t.removeAttribute("tabindex")})))}},pm=function(t){if("Tab"===t.key&&!t.shiftKey){if(t.preventDefault(),um.state.languageSelector)return void um.elements.languageContainer.querySelector("a").focus();if(um.state.mobileSubMenu)document.querySelector(".".concat(Rf)).querySelector(".".concat(jf)).querySelector(".".concat(Gf)).focus();else um.elements.menuCloseButton.focus()}},fm=function(t){if(!document.querySelector(".".concat(Rf)).classList.contains(Bf)){var e=t.target.closest("li"),r=e.classList.contains(Uf);if("ArrowDown"===t.key||"ArrowRight"===t.key&&r)e.querySelector(".".concat(Uf," a")).focus();"Escape"===t.key&&r&&dm()}},mm=function(t){var e=Array.from(t.target.closest(".".concat(jf)).querySelectorAll("a")),r=e.indexOf(t.target),i=document.querySelector(".".concat(Uf," .").concat(Hf));"ArrowDown"!==t.key&&"ArrowRight"!==t.key||(r===e.length-1?i.focus():e[r+1].focus()),"ArrowUp"!==t.key&&"ArrowLeft"!==t.key||(0===r?i.focus():e[r-1].focus())},gm=function(t){var e=(t||document).querySelector(".rad-global-nav");e&&function(t){var e;um.elements={languageContainer:t.querySelector(".".concat(sm)),languageButton:t.querySelector(".".concat(om)),menuCloseButton:t.querySelector(".".concat(zf)),searchButton:t.querySelector(".".concat(lm)),menuOpenButton:t.querySelector(".".concat(Nf)),primaryNav:t.querySelector(".".concat(cm))};var r=t.querySelectorAll(".".concat(Hf)),i=t.querySelectorAll(".".concat(Wf)),n=t.querySelectorAll(".".concat(Zf)),a=t.querySelectorAll(".".concat(Gf)),s=t.querySelector(".".concat(rm)),o=t.querySelector(".".concat(im)),l=um.elements.primaryNav.querySelectorAll("a"),c=um.elements.primaryNav.querySelectorAll("button"),h=um.elements.primaryNav.querySelectorAll(".".concat(tm)),u=um.elements.primaryNav.querySelectorAll(".".concat(Kf)),d=t.querySelectorAll(".".concat(hm)),p=t.querySelectorAll(".rad-global-nav__social-links .rad-icon-button");um.elements.languageContainer&&Ff(um),Rl().xs||Rl().sm?(l.forEach((function(t){t.setAttribute("tabindex",-1)})),c.forEach((function(t){t.setAttribute("tabindex",-1)})),Rl().xs&&um.elements.languageButton.setAttribute("tabindex",-1)):(u.forEach((function(t){t.setAttribute("tabindex",-1)})),h.forEach((function(t){t.setAttribute("tabindex",-1)}))),r.forEach((function(t){t.querySelector(".".concat(Yf)).textContent.length>15&&t.classList.add(Xf)}));var f=function(t){"Tab"===t.key&&t.shiftKey&&(t.preventDefault(),um.elements.languageButton.focus())},m=function(t){"Tab"!==t.key||t.shiftKey||(t.preventDefault(),Rl().xs?um.elements.languageButton.focus():Rl().sm&&um.elements.searchButton.focus())};um.elements.menuOpenButton.addEventListener("click",(function(e){um.state.languageSelector&&um.actions.closeLanguageSelector(),t.classList.add(Bf),document.querySelector("body").classList.add(am),um.state.mobileTabletOpen=!0,um.elements.menuCloseButton.removeAttribute("tabindex"),um.elements.languageButton.removeAttribute("tabindex"),r.forEach((function(t){t.removeAttribute("tabindex")})),i.forEach((function(t){t.removeAttribute("tabindex")})),d.forEach((function(t){t.removeAttribute("tabindex")})),p.forEach((function(t){t.removeAttribute("tabindex")})),jr(!0,o),um.elements.menuCloseButton.focus(),gr()&&window.adobeDataLayer.push({event:"cmp:show",eventInfo:{path:"component.".concat(vr(e.currentTarget))}}),um.elements.languageButton.addEventListener("keydown",pm),um.elements.menuCloseButton.addEventListener("keydown",f)})),um.elements.menuCloseButton.addEventListener("click",(function(){dm(),r.forEach((function(t){t.setAttribute("tabindex",-1)})),i.forEach((function(t){t.setAttribute("tabindex",-1)})),d.forEach((function(t){t.setAttribute("tabindex",-1)})),p.forEach((function(t){t.setAttribute("tabindex",-1)})),um.elements.searchButton.removeAttribute("tabindex"),Rl().xs&&(um.elements.languageButton.setAttribute("tabindex",-1),um.elements.searchButton.style.visibility="hidden",setTimeout((function(){um.elements.searchButton.style.visibility="visible"}),Bc)),um.elements.menuCloseButton.setAttribute("tabindex",-1),um.elements.menuCloseButton.removeEventListener("keydown",f),um.state.mobileLastLinkListener&&e.removeEventListener("keydown",m)})),s.addEventListener("click",(function(){dm()}));var g=function(e){var r=e.querySelector(".".concat($f)),i=window.innerHeight,n=r.scrollHeight;r.style.height="".concat(n,"px"),n>=i&&(r.style.overflow="auto"),e.classList.add(Uf),r.classList.add(jf),r.querySelectorAll("a").forEach((function(t){t.removeAttribute("tabindex"),t.addEventListener("keydown",mm)})),t.classList.add(Vf),document.querySelector("body").classList.add(am),jr(!0,r),gr()&&window.adobeDataLayer.push({event:"cmp:show",eventInfo:{path:"component.".concat(vr(e))}})};r.forEach((function(n){n.addEventListener("click",(function(n){var a=n.target.closest("li"),s=a.querySelector(".".concat($f)),l=s.querySelector(".".concat(nm));if(Rl().xs||Rl().sm){var c=s.querySelector(".".concat(Gf));a.classList.add(Uf),s.classList.add(jf),gr()&&window.adobeDataLayer.push({event:"cmp:show",eventInfo:{path:"component.".concat(vr(a))}}),setTimeout((function(){c.style.visibility="visible"}),Bc),t.classList.add(qf),um.state.mobileSubMenu=!0,jr(!1,o),jr(!0,l),c.focus();var h=s.querySelector(".".concat(Kf));null==h||h.removeAttribute("tabindex");var u=s.querySelectorAll(".".concat(tm));(e=u[u.length-1]).addEventListener("keydown",m),um.state.mobileLastLinkListener=!0,r.forEach((function(t){t.setAttribute("tabindex",-1)})),i.forEach((function(t){t.setAttribute("tabindex",-1)})),d.forEach((function(t){t.setAttribute("tabindex",-1)})),p.forEach((function(t){t.setAttribute("tabindex",-1)})),um.elements.menuCloseButton.setAttribute("tabindex",-1);var f=s.querySelectorAll("a"),v=s.querySelectorAll("button");Rl().sm&&f.forEach((function(t){t.removeAttribute("tabindex")})),v.forEach((function(t){t.removeAttribute("tabindex")})),Rl().xs&&um.elements.searchButton.setAttribute("tabindex",-1)}else{if(a.classList.contains(Uf))return void dm();var y=t.querySelector(".".concat(Uf));if(y){var b=y.querySelector(".".concat(jf));y.classList.remove(Uf),b.classList.remove(jf),b.removeAttribute("style"),setTimeout((function(){g(a)}),Bc)}else g(a)}})),n.addEventListener("keydown",fm)})),n.forEach((function(e){e.addEventListener("click",(function(r){var i=r.target.closest(".".concat(Jf)),n=i.querySelector(".l2-links"),a=n.scrollHeight;if(n.style.height="".concat(a,"px"),i.classList.contains(em))i.classList.remove(em),n.removeAttribute("style"),n.querySelectorAll(".".concat(tm)).forEach((function(t){t.setAttribute("tabindex",-1)})),e.setAttribute("aria-expanded",!1);else{var s=t.querySelector(".".concat(em));s&&(s.querySelector(".".concat(Zf)).setAttribute("aria-expanded",!1),s.classList.remove(em),s.querySelectorAll(".".concat(tm)).forEach((function(t){t.setAttribute("tabindex",-1)})),s.querySelector(".l2-links").removeAttribute("style")),i.classList.add(em),i.querySelector(".".concat(Zf)).setAttribute("aria-expanded",!0),i.querySelectorAll(".".concat(tm)).forEach((function(t){t.removeAttribute("tabindex")}))}}))})),a.forEach((function(e){e.addEventListener("click",(function(n){var a=n.target.closest(".".concat($f));a.classList.remove(jf),a.style.visibility="visible",setTimeout((function(){a.removeAttribute("style")}),Bc);var s=a.querySelector(".".concat(nm));t.querySelector(".".concat(Uf)).classList.remove(Uf);var l=t.querySelector(".".concat(em));l&&(l.classList.remove(em),l.querySelector(".l2-links").removeAttribute("style")),t.classList.remove(qf),um.state.mobileSubMenu=!1,e.removeAttribute("style");var c=a.querySelectorAll("a"),h=a.querySelectorAll("button");c.forEach((function(t){t.setAttribute("tabindex",-1)})),h.forEach((function(t){t.setAttribute("tabindex",-1)})),um.elements.menuCloseButton.removeAttribute("tabindex"),r.forEach((function(t){t.removeAttribute("tabindex")})),i.forEach((function(t){t.removeAttribute("tabindex")})),d.forEach((function(t){t.removeAttribute("tabindex")})),p.forEach((function(t){t.removeAttribute("tabindex")})),jr(!1,s),jr(!0,o)}))}))}(e)};function vm(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ym(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ym(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ym(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var bm=function(t){(t||document).querySelectorAll(".rad-vidyard-player").forEach((function(t){!function(t){var e=document.createElement("script");e.src="https://play.vidyard.com/embed/v4.js",e.async=!0;var r=vm(document.getElementsByTagName("script"),1)[0];r.parentNode.insertBefore(e,r),e.addEventListener("load",(function(){t.querySelectorAll(".vidyard-player-embed").forEach((function(t){var e=t.dataset.uuid;e&&(t.src="https://play.vidyard.com/".concat(e,".jpg"),t.dataset.v="4",t.dataset.type="inline")}))}))}(t)}))},_m='<div class="rad-card rad-card--interview-multiple" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="casestudy"> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Live Interview </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, mattis blandit ipsum amet consectetur </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature rad-card-feature--image-only"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="placeholder image" class="cmp-image__image" src="/images/silhouettes-on-green-yellow.png"> </div> </div> </div> </div> <div class="rad-card__cta"> <a class="rad-button rad-button--ghost" href="#"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',Em='<div class="rad-card rad-card--announcement rad-card--interview-single" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type=""> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Live Interview </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, mattis blandit ipsum amet consectetur </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature rad-card-feature--image-only"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="placeholder image" class="cmp-image__image" src="/images/greyscale-example-image.png"> </div> </div> </div> </div> <div class="rad-card__cta"> <a class="rad-button rad-button--ghost" href="#"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',Sm='<div class="rad-card rad-card--podcast-multiple" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="casestudy"> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Podcast </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, mattis blandit ipsum amet consectetur </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature rad-card-feature--image-only"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="placeholder image" class="cmp-image__image" src="/images/silhouettes-on-green-yellow.png"> </div> </div> </div> </div> <div class="rad-card__cta"> <a class="rad-button rad-button--ghost" href="#"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',xm='<div class="rad-card rad-card--announcement rad-card--podcast-single" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type=""> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Podcast </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, mattis blandit ipsum amet consectetur </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature rad-card-feature--image-only"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="placeholder image" class="cmp-image__image" src="/images/greyscale-example-image.png"> </div> </div> </div> </div> <div class="rad-card__cta"> <a class="rad-button rad-button--ghost" href="#"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ';function wm(t){return wm="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},wm(t)}function Cm(){Cm=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof d?e:d,s=Object.create(a.prototype),o=new C(n||[]);return i(s,"_invoke",{value:E(t,r,o)}),s}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var u={};function d(){}function p(){}function f(){}var m={};l(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(P([])));v&&v!==e&&r.call(v,a)&&(m=v);var y=f.prototype=d.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,a,s,o){var l=h(t[i],t,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==wm(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,o)}),(function(t){n("throw",t,s,o)})):e.resolve(u).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,o)}))}o(l.arg)}var a;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return a=a?a.then(i,i):i()}})}function E(t,e,r){var i="suspendedStart";return function(n,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===n)throw a;return A()}for(r.method=n,r.arg=a;;){var s=r.delegate;if(s){var o=S(s,r);if(o){if(o===u)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var l=h(t,e,r);if("normal"===l.type){if(i=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i="completed",r.method="throw",r.arg=l.arg)}}}function S(t,e){var r=e.method,i=t.iterator[r];if(void 0===i)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),u;var n=h(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return p.prototype=f,i(y,"constructor",{value:f,configurable:!0}),i(f,"constructor",{value:p,configurable:!0}),p.displayName=l(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,l(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(_.prototype),l(_.prototype,s,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,i,n,a){void 0===a&&(a=Promise);var s=new _(c(e,r,i,n),a);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},b(y),l(y,o,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var i in e)r.push(i);return r.reverse(),function t(){for(;r.length;){var i=r.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=P,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=void 0),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var o=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(o&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var n=i.arg;w(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function Pm(t,e,r,i,n,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(i,n)}function Am(t){return function(){var e=this,r=arguments;return new Promise((function(i,n){var a=t.apply(e,r);function s(t){Pm(a,i,n,s,o,"next",t)}function o(t){Pm(a,i,n,s,o,"throw",t)}s(void 0)}))}}function Tm(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==wm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==wm(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===wm(a)?a:String(a)),i)}var n,a}var km={announcementFactsFigures:'<div class="rad-card rad-card--announcement" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="announcement"> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Announcement </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, ipsum sit down with yo bad self </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature"> <div class="rad-card-feature__cover-text"> FORTUNE </div> <div class="rad-card-feature__facts-figures"> <p class="rad-card-feature-large-figure"> 100% </p> <p class="rad-card-feature-detail"> of executives believe digital transofrmation efforts are helping them stay afloat, but aren\'t driving new growth. </p> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div>',announcement:'<div class="rad-card rad-card--announcement" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="announcement"> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Announcement </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, ipsum sit down with yo bad self </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature rad-card-feature--image-only"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="placeholder image" class="cmp-image__image" src="/images/greyscale-example-image.png"> </div> </div> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',blog:'<div class="rad-card rad-card--background-image" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="blog"> <div class="rad-card__background-gradient"> <div class="image radimage"> <div class="cmp-image"> <img alt="A background image of gradient colors" class="cmp-image__image" src="/images/Acc_Gradients_RGB_Light_02_Tiles-2.png"> </div> </div> </div> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Blog </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title orem ipsum dolor sit amet, consectetuer </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature"> <div class="rad-card-feature__facts-figures"> <p class="rad-card-feature-large-figure"> 2-3x </p> <p class="rad-card-feature-detail"> more likely to innovate and re-engineer knowledge work </p> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',caseStudyFactsFigures:'<div class="rad-card" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="casestudy"> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Case study </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, ipsum sit down with yo bad self </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="this is a placeholder image" class="cmp-image__image" src="/images/silhouettes-on-green-yellow.png"> </div> </div> </div> <div class="rad-card-feature__facts-figures"> <p class="rad-card-feature-large-figure"> 100% </p> <p class="rad-card-feature-detail"> of executives believe digital transofrmation efforts are helping them stay afloat, but aren\'t driving new growth. </p> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',caseStudy:'<div class="rad-card" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="casestudy"> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Case study </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, ipsum sit down with yo bad self </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature rad-card-feature--image-only"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="placeholder image" class="cmp-image__image" src="/images/silhouettes-on-green-yellow.png"> </div> </div> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',customCoverDark:'<div class="rad-card rad-card--background-image rad-card--dark-background-styles" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="customdark"> <div class="rad-card__background-gradient"> <div class="image radimage"> <div class="cmp-image"> <img alt="A background image of gradient colors" class="cmp-image__image" src="/images/dark-custom-cover.png"> </div> </div> </div> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Research Report </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title orem ipsum dolor sit amet, consectetuer </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature"> <div class="rad-card-feature__facts-figures"> <p class="rad-card-feature-large-figure"> 83% </p> <p class="rad-card-feature-detail"> of executives believe digital transformation efforts are helping them stay afloat, but aren’t driving new growth. </p> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',customCoverLight:'<div class="rad-card rad-card--background-image" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="blog"> <div class="rad-card__background-gradient"> <div class="image radimage"> <div class="cmp-image"> <img alt="A background image of gradient colors" class="cmp-image__image" src="/images/light-custom-cover.png"> </div> </div> </div> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Blog </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title orem ipsum dolor sit amet, consectetuer </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature"> <div class="rad-card-feature__facts-figures"> <p class="rad-card-feature-large-figure"> 2-3x </p> <p class="rad-card-feature-detail"> more likely to innovate and re-engineer knowledge work </p> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',interviewMultiple:_m,interviewSingle:Em,perspectiveFactsFigures:'<div class="rad-card rad-card--perspective" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="perspective"> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Perspective </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, ipsum sit down with yo bad self </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="placeholder image" class="cmp-image__image" src="/images/Figurative.svg"> </div> </div> </div> <div class="rad-card-feature__facts-figures"> <p class="rad-card-feature-large-figure"> 5 </p> <p class="rad-card-feature-detail"> emerging trends that will alter the power dynamic between brands and customers </p> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> </div> ',perspective:'<div class="rad-card rad-card--perspective" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="perspective"> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Perspective </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title, ipsum sit down with yo bad self </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature rad-card-feature--image-only"> <div class="rad-card-feature__cover-img"> <div class="image radimage"> <div class="cmp-image"> <img alt="placeholder image" class="cmp-image__image" src="/images/Figurative.svg"> </div> </div> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> ',podcastMultiple:Sm,podcastSingle:xm,researchReport:'<div class="rad-card rad-card--background-image rad-card--dark-background-styles" data-cta-title="Explore more" data-card-title="Max 3 lines of title, ipsum sit down with yo bad self" data-cta-link="/" data-content-type="customdark"> <div class="rad-card__background-gradient"> <div class="image radimage"> <div class="cmp-image"> <img alt="A background image of gradient colors" class="cmp-image__image" src="/images/Acc_Gradients_RGB_Dark_02_Tiles-3.png"> </div> </div> </div> <div class="rad-card-inner__min-height"> <div class="rad-card-inner"> <div class="rad-card__top-content"> <button class="rad-card__close-btn" aria-label="Close"> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <p class="rad-card__pretitle"> Research Report </p> <div class="rad-card__top-content-inner-row"> <h3 class="rad-card__title"> Max 3 lines of title orem ipsum dolor sit amet, consectetuer </h3> <div class="rad-card__description"> <p>Lorem ipsum dolor sirt amet consectetur. Cras sed nibh tincidunt duis amet. Et vulputate quam scelerisque rererwtr cursus sed mattis blandit porttitor. Blandit ornare purus diam cursus fringilla id nunc curabitur consectetur.</p> </div> </div> </div> <div class="rad-card-feature"> <div class="rad-card-feature__facts-figures"> <p class="rad-card-feature-large-figure"> 83% </p> <p class="rad-card-feature-detail"> of executives believe digital transformation efforts are helping them stay afloat, but aren’t driving new growth. </p> </div> </div> <div class="rad-card__cta"> <a href="https://accenture.com" class="rad-button rad-button--ghost"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"> </div> </a> </div> </div> </div> </div> '},Lm={CARD:"rad-card",CARDS_ROW:"rad-smart-filter__cards-row",OPEN_MOBILE_FILTER:"rad-smart-filter__filter-mobile-controls--open",OPEN_FILTER_BUTTON:"rad-smart-filter__filter-toggle-button--open",OPEN_FILTER_LIST:"rad-smart-filter__filter-list-wrapper--open",NO_RESULTS_VISIBLE:"rad-smart-filter__no-results--visible"},Dm={LOAD:"pageload",SCROLL:"scroll"},Im={MOBILE:3,TABLET:6,DESKTOP:12},Mm=Object.values(Im).reduce((function(t,e){return Math.max(t,e)}),0),Om=[],Fm=function(){function t(e){var r,i,n=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cards=[],this.cardsToDisplay=0,this.noCardsRemaining=!1,this.selectedTags=new Set,this.activeTags=new Set,this.component=e,this.mobileFilterWrapper=this.component.querySelector(".rad-smart-filter__filter-mobile-controls"),this.mobileFilterClearButton=this.mobileFilterWrapper.querySelector(".rad-smart-filter__filter-mobile-clear-all"),this.mobileFilterBackButton=this.mobileFilterWrapper.querySelector(".rad-smart-filter__filter-mobile-back"),this.stickyHeader=this.component.querySelector(".rad-smart-filter__sticky-header"),this.filterButton=this.stickyHeader.querySelector(".rad-smart-filter__filter-toggle-button"),this.filterCountElements=this.component.querySelectorAll(".rad-smart-filter__filter-toggle-button-count, .rad-smart-filter__filter-mobile-controls-filters-heading-count"),this.filterWrapper=this.stickyHeader.querySelector(".rad-smart-filter__filter-list-wrapper"),this.sortDropdown=this.component.querySelector(".rad-smart-filter__sort"),this.tagListContainer=this.filterWrapper.querySelector(".rad-smart-filter__filter-list"),this.cardsListContainer=this.component.querySelector(".rad-smart-filter__cards-list"),this.loadMoreButton=this.component.querySelector(".rad-smart-filter__cards-load-more"),this.noResults=this.component.querySelector(".rad-smart-filter__no-results"),this.noResultsLottiePlayer=this.component.querySelector(".no-results__lp"),this.noResultsClearButton=this.component.querySelector(".no-results__clear-filters-btn"),document.addEventListener("click",(function(t){Rl().xs||t.target.closest(".rad-smart-filter__sticky-header")!==n.stickyHeader&&n.toggleFilterAccordion(!1)})),this.component.querySelectorAll(".rad-chip").forEach((function(t){t.addEventListener("radChipToggle",(function(t){n.setTagSelected(t.currentTarget.dataset.tagId,t.detail.selected)}))})),this.component.querySelectorAll(".rad-smart-filter__filter-clear-all, .rad-smart-filter__filter-mobile-clear-all").forEach((function(t){t.addEventListener("click",(function(){n.clearSelectedTags()}))})),this.component.querySelectorAll(".rad-smart-filter__filter-show-results, .rad-smart-filter__filter-mobile-show-results").forEach((function(t){t.addEventListener("click",(function(){n.showResults()}))})),this.sortDropdown.addEventListener("radDropdownSelect",(function(){n.loadNewCards()})),this.filterButton.addEventListener("click",(function(){var t=Rl(),e=t.xs?n.mobileFilterWrapper.classList.contains(Lm.OPEN_MOBILE_FILTER):n.filterWrapper.classList.contains(Lm.OPEN_FILTER_LIST);gr()&&!e&&Er(n.filterButton,"cmp:show"),t.xs?n.toggleMobileFilterModal():n.toggleFilterAccordion()})),null===(r=this.mobileFilterBackButton)||void 0===r||r.addEventListener("click",(function(){n.toggleMobileFilterModal(!1)})),this.filterWrapper.addEventListener("transitionstart",(function(t){if(t.target===t.currentTarget){var e=t.target;e.classList.contains(Lm.OPEN_FILTER_LIST)||(e.style.maxHeight="0")}})),this.filterWrapper.addEventListener("transitionend",(function(t){if(t.target===t.currentTarget){var e=t.target;e.classList.contains(Lm.OPEN_FILTER_LIST)?e.style.maxHeight="none":e.style.maxHeight=""}})),this.loadMoreButton.addEventListener("click",(function(){n.loadMore()})),null===(i=this.noResultsClearButton)||void 0===i||i.addEventListener("click",(function(){n.clearSelectedTags(),n.showResults()})),gr()){var a,s,o,l,c,h,u,d,p,f;if(this.filterButton.dataset.cmpDataLayer='{"smart-filter-filter-button":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(this.filterButton.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter card","analytics-template-zone":"').concat(null!==(a=null===(s=this.component)||void 0===s?void 0:s.dataset.templateZone)&&void 0!==a?a:"",'"}}'),yr(this.filterButton),this.component.querySelectorAll(".rad-smart-filter__filter-show-results, .rad-smart-filter__filter-mobile-show-results").forEach((function(t,e){var r,i;t.dataset.cmpDataLayer='{"smart-filter-show-results-'.concat(e+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter card","analytics-template-zone":"').concat(null!==(r=null===(i=n.component)||void 0===i?void 0:i.dataset.templateZone)&&void 0!==r?r:"",'"}}'),yr(t),t.addEventListener("click",(function(){Er(t,"cmp:show")}))})),this.component.querySelectorAll(".rad-smart-filter__filter-clear-all, .rad-smart-filter__filter-mobile-clear-all").forEach((function(t,e){var r,i;t.dataset.cmpDataLayer='{"smart-filter-clearall-'.concat(e+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter card","analytics-template-zone":"').concat(null!==(r=null===(i=n.component)||void 0===i?void 0:i.dataset.templateZone)&&void 0!==r?r:"",'"}}'),yr(t),t.addEventListener("click",(function(){Er(t,"cmp:show")}))})),this.noResultsClearButton)this.noResultsClearButton.dataset.cmpDataLayer='{"smart-filter-clearall-filters":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(this.noResultsClearButton.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter card","analytics-template-zone":"').concat(null!==(u=null===(d=this.component)||void 0===d?void 0:d.dataset.templateZone)&&void 0!==u?u:"",'"}}'),yr(this.noResultsClearButton),this.noResultsClearButton.addEventListener("click",(function(){Er(n.noResultsClearButton,"cmp:show")}));if(this.mobileFilterBackButton)this.mobileFilterBackButton.dataset.cmpDataLayer='{"smart-filter-mobile-backbutton":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(this.mobileFilterBackButton.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter card","analytics-template-zone":"').concat(null!==(p=null===(f=this.component)||void 0===f?void 0:f.dataset.templateZone)&&void 0!==p?p:"",'"}}'),yr(this.mobileFilterBackButton),this.mobileFilterBackButton.addEventListener("click",(function(){Er(n.mobileFilterBackButton)}));this.sortDropdown.querySelectorAll(".rad-dropdown__list-item").forEach((function(t,e){var r,i;t.dataset.cmpDataLayer='{"smart-filter-sort-dropdown-listitem-'.concat(e+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"Sort by ').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter card","analytics-template-zone":"').concat(null!==(r=null===(i=n.component)||void 0===i?void 0:i.dataset.templateZone)&&void 0!==r?r:"",'"}}'),yr(t)})),this.sortDropdown.dataset.cmpDataLayer='{"smart-filter-sort-dropdown":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"Sort by","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter card","analytics-template-zone":"').concat(null!==(o=null===(l=this.component)||void 0===l?void 0:l.dataset.templateZone)&&void 0!==o?o:"",'"}}');var m=this.sortDropdown.querySelector(".rad-dropdown__list-item--selected");this.sortDropdown.dataset.analyticsSortFilter=m.textContent.trim(),yr(this.sortDropdown),this.sortDropdown.addEventListener("radDropdownToggle",(function(t){t.detail.isOpen&&Er(n.sortDropdown,"cmp:show")})),this.sortDropdown.addEventListener("radDropdownSelect",(function(t){var e=t.detail.selectedItem;n.sortDropdown.dataset.analyticsSortFilter=e.textContent.trim(),Er(e,"cmp:show")})),this.loadMoreButton.dataset.cmpDataLayer='{"smart-filter-load-more":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(this.loadMoreButton.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"true","analytics-module-name":"filter card","analytics-template-zone":"').concat(null!==(c=null===(h=this.component)||void 0===h?void 0:h.dataset.templateZone)&&void 0!==c?c:"",'"}}'),yr(this.loadMoreButton),this.loadMoreButton.addEventListener("click",(function(){Er(n.loadMoreButton,"cmp:show")})),this.callback=this.callback.bind(this),this.setEventFlagScroll=this.setEventFlagScroll.bind(this),this.curEventFlag=Dm.LOAD,this.aGlanceCardID=[],this.aCurrVisibleCards=[],this._cardVisibilityTimeout=0,window.addEventListener("scroll",this.setEventFlagScroll)}}var e,r,i,n,a,s;return e=t,r=[{key:"setEventFlagScroll",value:function(){this.curEventFlag=Dm.SCROLL,window.removeEventListener("scroll",this.setEventFlagScroll)}},{key:"getDataAnalyticsAssetId",value:function(t){var e;return null!==(e="".concat(t.dataset.analyticsAssetId,":").concat(t.dataset.analyticsAssetPos))&&void 0!==e?e:""}},{key:"pushGlanceEvent",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dm.SCROLL;null===(e=window.adobeDataLayer)||void 0===e||e.push({event:"cmp:glance",eventInfo:{assetInfo:t,eventFlag:r,component:"rad-filtercard-card"}})}},{key:"callback",value:function(t){var e=this;t.forEach((function(t){var r=e.getDataAnalyticsAssetId(t.target);t.isIntersecting&&!e.aGlanceCardID.includes(r)&&(e.aCurrVisibleCards.push(r),e.aGlanceCardID.push(r))})),this.aCurrVisibleCards.length&&(clearTimeout(this._cardVisibilityTimeout),this._cardVisibilityTimeout=setTimeout((function(){e.pushGlanceEvent(e.aCurrVisibleCards.toString(),e.curEventFlag),e.aCurrVisibleCards=[],e.curEventFlag=Dm.SCROLL}),500))}},{key:"addGSATracking",value:function(t){if(gr()){var e={root:null,rootMargin:"0px",threshold:Rl().xs||Rl().sm?1:.25};this.observer=new IntersectionObserver(this.callback,e),this.observer.observe(t)}}},{key:"init",value:(s=Am(Cm().mark((function t(){return Cm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:this.fetchAndDisplayCards();case 1:case"end":return t.stop()}}),t,this)}))),function(){return s.apply(this,arguments)})},{key:"fetchAndDisplayCards",value:function(){var t=this;this.fetchResults().then((function(e){t.processResults(e)}))}},{key:"fetchResults",value:(a=Am(Cm().mark((function t(){var e,r,i;return Cm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.sortDropdown.querySelector(".rad-dropdown__list-item--selected"),(r=new FormData).append("resourcePath",this.component.dataset.resourcePath),r.append("geoTag",JSON.parse(this.component.dataset.currentGeoTag).tagId),r.append("locale",this.component.dataset.currentLocale),r.append("disableLinkConversion",this.component.dataset.disableLinkConversion),r.append("size",Mm+1),r.append("offset",this.cards.length),r.append("orderBy",e.dataset.orderById),r.append("sortOrder",e.dataset.sortOrder),this.activeTags.size&&r.append("tags",Array.from(this.activeTags).join(",")),!location.hostname.includes("author-")){t.next=17;break}return t.next=14,Pr();case 14:t.t0=t.sent,t.next=18;break;case 17:t.t0="";case 18:return i=t.t0,t.abrupt("return",fetch("/api/accenture/tilegrid/filtercard",{body:r,headers:{"CSRF-Token":i},method:"post"}).then((function(t){return t.json()})));case 20:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"setAttr",value:function(t,e,r,i){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=t.querySelector(e);if(a){var s=null!=i?i:"";n?a.dataset[r]=s:a[r]=s}}},{key:"getCardHtml",value:function(t,e){switch(t){case"liveInterview":return"portrait"===e?Em:_m;case"podcast":return"portrait"===e?xm:Sm;default:return km[t]}}},{key:"integrateResultsWithHtml",value:function(t){var e=t.cfId,r=t.contentType,i=t.ctaLabel,n=t.ctaLink,a=t.description,s=t.imageLayoutTG,o=t.imagePath,l=t.factsFigures,c=t.factsFiguresDetail,h=t.title,u=t.themeTG,d=this.getCardHtml(r,s),p=document.createElement("div");p.innerHTML=d;var f="innerHTML",m="textContent";return this.setAttr(p,".rad-card","analyticsAssetId","card-".concat(e),!0),this.setAttr(p,".rad-card","csOverrideId","card-".concat(e),!0),this.setAttr(p,".rad-card","ctaLink",n,!0),this.setAttr(p,".rad-card","ctaTitle",i,!0),this.setAttr(p,".rad-card","cardTitle",h,!0),this.setAttr(p,".rad-card","contentType",r,!0),this.setAttr(p,".rad-card__title",m,h),this.setAttr(p,".rad-card__description",f,a),this.setAttr(p,":is(.rad-card-feature__cover-img, .rad-card__background-gradient) img","src",o),this.setAttr(p,".rad-card-feature-large-figure",m,l),this.setAttr(p,".rad-card-feature-detail",f,c),this.setAttr(p,".rad-card__cta a","href",n),this.setAttr(p,".rad-card__cta .rad-button__text",m,i),"light"===u&&"researchReport"===r&&p.firstElementChild.classList.remove("rad-card--dark-background-styles"),p.firstElementChild}},{key:"processResults",value:function(t){var e=this,r=t.contentFragmentItems;if(r.length<=Mm&&(this.noCardsRemaining=!0),this.showResultsClicked&&this.activeTags.size&&0===r.length){var i,n,a,s=Array.from(this.activeTags).map((function(t){var r,i;return null!==(r=null===(i=e.component.querySelector('.rad-chip[data-tag-id="'.concat(t,'"]')))||void 0===i?void 0:i.textContent.trim())&&void 0!==r?r:""}));null===(i=this.noResults)||void 0===i||i.classList.add(Lm.NO_RESULTS_VISIBLE),null===(n=this.noResultsLottiePlayer)||void 0===n||n.play(),null===(a=window.adobeDataLayer)||void 0===a||a.push({event:"cmp:filterCardNoResult",eventInfo:{filterSelected:Array.from(s).join(";")}})}this.showResultsClicked=!1;for(var o=this.getCardCountIncrement(),l=0;l<r.length&&l<Mm;l++){var c=this.integrateResultsWithHtml(r[l]);this.cards.push(c)}this.addNumCards(o)}},{key:"loadMore",value:(n=Am(Cm().mark((function t(){var e;return Cm().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.getCardCountIncrement(),this.loadMoreButton.setAttribute("disabled",""),this.cards.length>this.cardsToDisplay?this.addNumCards(e):this.fetchAndDisplayCards();case 3:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"clearCards",value:function(){var t;this.cardsListContainer.replaceChildren(),null===(t=this.observer)||void 0===t||t.disconnect()}},{key:"addNumCards",value:function(t){this.clearCards(),this.addCards(this.cards.slice(0,this.cardsToDisplay+t))}},{key:"getCardsPerRow",value:function(){for(var t=window.innerWidth,e=1;e<4&&t-276*e-48*(e-1)>=324;)e++;return e}},{key:"addCards",value:function(t){var e=this.getCardsPerRow();this.addXCardsPerRow(t,e),this.cardsToDisplay=t.length,this.updateLoadMoreButton()}},{key:"addXCardsPerRow",value:function(t,e){for(var r=Math.ceil(t.length/e),i=0,n=0;n<r;n++){var a=document.createElement("div");a.classList.add(Lm.CARDS_ROW);for(var s=0;s<e;s++){var o,l=null===(o=t[i])||void 0===o?void 0:o.cloneNode(!0);i++,l&&(a.append(l),this.addCardEventListeners(l),ch(l,a),this.addGSATracking(l))}this.cardsListContainer.append(a)}$c(this.component)}},{key:"addCardEventListeners",value:function(t){var e=this;t.addEventListener("expand-card",(function(){e.handleExpandCard(t)})),t.addEventListener("collapse-card",(function(){e.handleCollapseCard(t)}))}},{key:"handleExpandCard",value:function(t){var e=this.getCardsPerRow();2===e?this.handleExpandCardTablet(t):e>=3&&this.handleExpandCardDesktop(t)}},{key:"handleExpandCardDesktop",value:function(t){var e=t.closest(".".concat(Lm.CARDS_ROW));if(!(Array.prototype.indexOf.call(e.querySelectorAll(".".concat(Lm.CARD)),t)<2)){var r=t.getBoundingClientRect().width-sh(t);e.style.transform="translateX(".concat(r,"px)")}}},{key:"handleExpandCardTablet",value:function(t){var e=t.closest(".".concat(Lm.CARDS_ROW)),r=t.getBoundingClientRect().left+sh(t)/2,i=window.innerWidth/2-r;e.style.transform="translateX(".concat(i,"px)")}},{key:"handleCollapseCard",value:function(t){var e=t.closest(".".concat(Lm.CARDS_ROW));e.style.pointerEvents="none",setTimeout((function(){e.style.pointerEvents=""}),Bc),Rl().xs||(e.style.transform="")}},{key:"getCardCountIncrement",value:function(){var t=Rl(),e=t.xs,r=t.sm;return e?Im.MOBILE:r?Im.TABLET:Im.DESKTOP}},{key:"toggleMobileFilterModal",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=this.mobileFilterWrapper.classList.contains(Lm.OPEN_MOBILE_FILTER);e!==r&&(t=null===e?!r:e,this.mobileFilterWrapper.classList.toggle(Lm.OPEN_MOBILE_FILTER,t),this.filterButton.setAttribute("aria-expanded",t),jr(t,this.mobileFilterWrapper))}},{key:"toggleFilterAccordion",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=this.filterWrapper.classList.contains(Lm.OPEN_FILTER_LIST);e!==r&&(t=null===e?!r:e,this.filterWrapper.style.maxHeight="".concat(this.filterWrapper.scrollHeight,"px"),this.filterButton.classList.toggle(Lm.OPEN_FILTER_BUTTON,t),this.filterWrapper.classList.toggle(Lm.OPEN_FILTER_LIST,t),this.filterButton.setAttribute("aria-expanded",t))}},{key:"setTagSelected",value:function(t,e){e?this.selectedTags.add(t):this.selectedTags.delete(t),this.updateSelectedTagCount(),this.syncSelectedTags()}},{key:"updateSelectedTagCount",value:function(){var t=this.selectedTags.size,e="";t>0&&(e=" (".concat(t,")")),this.filterCountElements.forEach((function(t){t.textContent=e}))}},{key:"updateLoadMoreButton",value:function(){this.noCardsRemaining&&this.cardsToDisplay===this.cards.length||this.loadMoreButton.removeAttribute("disabled")}},{key:"showResults",value:function(){var t=this;if(this.toggleFilterAccordion(!1),this.toggleMobileFilterModal(!1),!(0,ir.isEqual)(this.activeTags,this.selectedTags)){if(this.activeTags=new Set(this.selectedTags),this.showResultsClicked=!0,this.noResults.classList.remove(Lm.NO_RESULTS_VISIBLE),this.activeTags.size){var e,r=Array.from(this.activeTags).map((function(e){var r,i;return null!==(r=null===(i=t.component.querySelector('.rad-chip[data-tag-id="'.concat(e,'"]')))||void 0===i?void 0:i.textContent.trim())&&void 0!==r?r:""}));null===(e=window.adobeDataLayer)||void 0===e||e.push({event:"cmp:filterCard",eventInfo:{filterSelected:Array.from(r).join(";")}})}this.loadNewCards()}}},{key:"loadNewCards",value:function(){this.cards.length=0,this.cardsToDisplay=0,this.noCardsRemaining=!1,this.aGlanceCardID=[],this.clearCards(),this.loadMore()}},{key:"clearSelectedTags",value:function(){this.selectedTags.clear(),this.updateSelectedTagCount(),this.syncSelectedTags()}},{key:"syncSelectedTags",value:function(){var t=this;this.component.querySelectorAll(".rad-chip").forEach((function(e){e.classList.toggle("rad-chip--selected",t.selectedTags.has(e.dataset.tagId))})),this.selectedTags.size?this.mobileFilterClearButton.removeAttribute("disabled"):this.mobileFilterClearButton.setAttribute("disabled","")}},{key:"handleResize",value:function(){this.addNumCards(0)}},{key:"handleBreakpointChange",value:function(){this.toggleMobileFilterModal(!1),this.toggleFilterAccordion(!1);var t=this.getCardCountIncrement();this.cardsToDisplay<t&&this.addNumCards(t-this.cardsToDisplay)}}],r&&Tm(e.prototype,r),i&&Tm(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Rm(t){return Rm="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},Rm(t)}function Nm(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Rm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Rm(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Rm(a)?a:String(a)),i)}var n,a}var Bm={NO_ANIMATION_TOGGLE:"rad-accordion-atom__toggle--no-animation",NO_ANIMATION_CONTENT_WRAPPER:"rad-accordion-atom__content-wrapper--no-animation",OPEN_TOGGLE:"rad-accordion-atom__toggle--open",OPEN_CONTENT_WRAPPER:"rad-accordion-atom__content-wrapper--open"},Vm=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.toggle=e,this.contentWrapper=r}var e,r,i;return e=t,(r=[{key:"open",value:function(){jm(this)}},{key:"close",value:function(){Gm(this)}},{key:"closeInstantly",value:function(){Hm(this)}},{key:"toggle",value:function(){zm(this)}},{key:"isOpen",value:function(){return this.toggle.classList.contains(Bm.OPEN_TOGGLE)}}])&&Nm(e.prototype,r),i&&Nm(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),qm=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;t.forEach((function(t){t.toggle.addEventListener("click",(function(){zm(t),null==e||e.forEach((function(e){e(t)}))})),t.contentWrapper.addEventListener("transitionstart",(function(e){if(e.target===e.currentTarget){var r=e.target;r.classList.contains(Bm.OPEN_CONTENT_WRAPPER)||(r.style.maxHeight=0,t.toggle.setAttribute("aria-expanded",!1))}})),t.contentWrapper.addEventListener("transitionend",(function(t){t.target===t.currentTarget&&(t.target.style.maxHeight="")}))}))},zm=function(t){t.toggle.classList.contains(Bm.OPEN_TOGGLE)?Gm(t):jm(t)},jm=function(t){t.toggle.classList.contains(Bm.OPEN_TOGGLE)||(t.toggle.classList.add(Bm.OPEN_TOGGLE),t.contentWrapper.style.maxHeight="".concat(t.contentWrapper.scrollHeight,"px"),t.contentWrapper.classList.add(Bm.OPEN_CONTENT_WRAPPER))},Gm=function(t){t.toggle.classList.contains(Bm.OPEN_TOGGLE)&&(t.toggle.classList.remove(Bm.OPEN_TOGGLE),t.contentWrapper.style.maxHeight="".concat(t.contentWrapper.scrollHeight,"px"),t.contentWrapper.classList.remove(Bm.OPEN_CONTENT_WRAPPER))},Hm=function(t){t.toggle.classList.contains(Bm.OPEN_TOGGLE)&&(t.toggle.classList.add(Bm.NO_ANIMATION_TOGGLE),t.contentWrapper.classList.add(Bm.NO_ANIMATION_CONTENT_WRAPPER),t.toggle.classList.remove(Bm.OPEN_TOGGLE),t.contentWrapper.classList.remove(Bm.OPEN_CONTENT_WRAPPER),t.contentWrapper.style.maxHeight="",t.toggle.classList.remove(Bm.NO_ANIMATION_TOGGLE),t.contentWrapper.classList.remove(Bm.NO_ANIMATION_CONTENT_WRAPPER))};function Wm(t){return Wm="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},Wm(t)}function $m(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Wm(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Wm(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Wm(a)?a:String(a)),i)}var n,a}var Um={OPEN_MOBILE_FILTER:"rad-smart-filter-2__filter-mobile-controls--open",OPEN_MOBILE_FILTER_BUTTON:"rad-accordion-atom__toggle--open",OPEN_MOBILE_FILTER_LIST_WRAPPER:"rad-smart-filter-2__filter-mobile-controls-filters-list-wrapper--open",OPEN_FILTER_BUTTON:"rad-smart-filter-2__filter-toggle-button--open",OPEN_FILTER_LIST_WRAPPER:"rad-smart-filter-2__filter-list-wrapper--open",VISIBLE_FILTER_LIST:"rad-smart-filter-2__filter-list--visible"},Ym=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.filter=r,this.filterAccordionOpen=null,this.isMobile=Rl().xs,this.component=e,this.mobileFilterWrapper=this.component.querySelector(".rad-smart-filter-2__filter-mobile-controls"),this.mobileFilterClearButton=this.mobileFilterWrapper.querySelector(".rad-smart-filter-2__filter-mobile-clear-all"),this.stickyHeader=this.component.querySelector(".rad-smart-filter-2__sticky-header"),this.mobileFilterButton=this.stickyHeader.querySelector(".rad-smart-filter-2__filter-mobile-toggle-button"),this.filterButtons=this.stickyHeader.querySelectorAll(".rad-smart-filter-2__filter-toggle-button"),this.filterCountTotal=this.component.querySelector(".rad-smart-filter-2__filter-mobile-toggle-button-count"),this.filterCountSection=this.component.querySelectorAll(".rad-smart-filter-2__filter-mobile-controls-filters-heading-count, .rad-smart-filter-2__filter-toggle-button-count"),this.mobileFilterListAccordionToggles=this.component.querySelectorAll(".rad-smart-filter-2__filter-mobile-controls-filters-heading"),this.filterWrapper=this.stickyHeader.querySelector(".rad-smart-filter-2__filter-list-wrapper"),this.filterLists=this.filterWrapper.querySelectorAll(".rad-smart-filter-2__filter-list"),this.filterControls=this.filterWrapper.querySelector(".rad-smart-filter-2__filter-controls"),this.noResultsClearButton=this.component.querySelector(".no-results__clear-filters-btn"),this.addUiEventListeners()}var e,r,i;return e=t,r=[{key:"addUiEventListeners",value:function(){var t,e=this;if(this.mobileFilterBackButton=this.mobileFilterWrapper.querySelector(".rad-smart-filter-2__filter-mobile-back"),this.mobileFilterListWrappers=this.component.querySelectorAll(".rad-smart-filter-2__filter-mobile-controls-filters-list-wrapper"),this.mobileShowResultsButton=this.component.querySelector(".rad-smart-filter-2__filter-mobile-show-results"),this.showResultsButton=this.filterControls.querySelector(".rad-smart-filter-2__filter-show-results"),this.filterClearButton=this.filterControls.querySelector(".rad-smart-filter-2__filter-clear-all"),this.sortDropdown=this.component.querySelector(".rad-smart-filter-2__sort"),this.loadMoreButton=this.component.querySelector(".rad-smart-filter-2__cards-load-more"),document.addEventListener("click",(function(t){Rl().xs||t.target.closest(".rad-smart-filter-2__sticky-header")!==e.stickyHeader&&e.toggleFilterAccordion(!1)})),this.component.querySelectorAll(".rad-chip").forEach((function(t){t.addEventListener("radChipToggle",(function(t){e.setTagSelected(t.currentTarget.dataset.tagId,t.detail.selected)})),t.parentElement.classList.contains("rad-smart-filter-2__filter-list")&&!t.previousElementSibling&&t.addEventListener("keydown",(function(t){"Tab"===t.key&&t.shiftKey&&(t.preventDefault(),e.stickyHeader.querySelector(".".concat(Um.OPEN_FILTER_BUTTON)).focus())}))})),[this.mobileFilterClearButton,this.filterClearButton].forEach((function(t){t.addEventListener("click",(function(){e.filter.clearSelectedTags()}))})),this.filterClearButton.addEventListener("keydown",(function(t){if("Tab"===t.key&&!t.shiftKey){var r=e.stickyHeader.querySelector(".".concat(Um.OPEN_FILTER_BUTTON));r.nextElementSibling&&(t.preventDefault(),r.nextElementSibling.focus())}})),this.mobileShowResultsButton.addEventListener("click",(function(){e.filter.showResults()})),this.showResultsButton.addEventListener("click",(function(){e.stickyHeader.querySelector(".".concat(Um.OPEN_FILTER_BUTTON)).focus(),e.filter.showResults()})),this.sortDropdown.addEventListener(Lp,(function(){e.filter.loadNewCards()})),this.sortDropdown.querySelector("button").addEventListener("keydown",(function(t){if("Tab"===t.key&&t.shiftKey&&!Rl().xs){var r=e.filterButtons.item(e.filterButtons.length-1);r.classList.contains(Um.OPEN_FILTER_BUTTON)||(t.preventDefault(),r.focus())}})),this.mobileFilterButton.addEventListener("click",(function(){e.toggleMobileFilterModal()})),this.filterButtons.forEach((function(t){t.addEventListener("click",(function(){var r=t.classList.contains(Um.OPEN_FILTER_BUTTON);gr()&&!r&&Er(t,"cmp:show"),e.toggleFilterAccordion(t)})),t.addEventListener("keydown",(function(t){var r;if("Tab"===t.key){var i=t.currentTarget;i.nextElementSibling||t.shiftKey||i.classList.contains(Um.OPEN_FILTER_BUTTON)?i.classList.contains(Um.OPEN_FILTER_BUTTON)&&!t.shiftKey?(t.preventDefault(),e.filterWrapper.querySelector(".".concat(Um.VISIBLE_FILTER_LIST)).firstElementChild.focus()):null!==(r=i.previousElementSibling)&&void 0!==r&&r.classList.contains(Um.OPEN_FILTER_BUTTON)&&t.shiftKey&&(t.preventDefault(),e.filterClearButton.focus()):(t.preventDefault(),e.sortDropdown.querySelector("button").focus())}}))})),null===(t=this.mobileFilterBackButton)||void 0===t||t.addEventListener("click",(function(){e.toggleMobileFilterModal(!1)})),qm(this.getMobileFilterAccordionItems()),this.filterWrapper.addEventListener("transitionstart",(function(t){if(t.target===t.currentTarget){var e=t.target;e.classList.contains(Um.OPEN_FILTER_LIST_WRAPPER)||(e.style.height=0)}})),this.filterWrapper.addEventListener("transitionend",(function(t){if(t.target===t.currentTarget){var e=t.target;e.classList.contains(Um.OPEN_FILTER_LIST_WRAPPER)||(e.style.height="")}})),this.loadMoreButton.addEventListener("click",(function(){e.filter.loadMore()})),this.noResultsClearButton.addEventListener("click",(function(){e.filter.clearSelectedTags(),e.filter.showResults()})),gr()){var r,i,n,a,s,o,l,c,h,u;this.filterButtons.forEach((function(t,r){var i,n;t.dataset.cmpDataLayer='{"smart-filter-filter-button-'.concat(r+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(i=null===(n=e.component)||void 0===n?void 0:n.dataset.templateZone)&&void 0!==i?i:"",'"}}'),yr(t)})),this.mobileFilterListAccordionToggles.forEach((function(t,r){var i,n;t.dataset.cmpDataLayer='{"smart-filter-mobile-toggle-button-'.concat(r+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(i=null===(n=e.component)||void 0===n?void 0:n.dataset.templateZone)&&void 0!==i?i:"",'"}}'),yr(t),t.addEventListener("click",(function(){t.classList.contains(Um.OPEN_MOBILE_FILTER_BUTTON)&&Er(t,"cmp:show")}))})),this.mobileFilterButton.dataset.cmpDataLayer='{"smart-filter-mobile-button":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(this.mobileFilterButton.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(r=null===(i=this.component)||void 0===i?void 0:i.dataset.templateZone)&&void 0!==r?r:"",'"}}'),yr(this.mobileFilterButton),this.mobileFilterButton.addEventListener("click",(function(){Er(e.mobileFilterButton,"cmp:show")})),this.component.querySelectorAll(".rad-smart-filter-2__filter-show-results, .rad-smart-filter-2__filter-mobile-show-results").forEach((function(t,r){var i,n;t.dataset.cmpDataLayer='{"smart-filter-show-results-'.concat(r+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(i=null===(n=e.component)||void 0===n?void 0:n.dataset.templateZone)&&void 0!==i?i:"",'"}}'),yr(t),t.addEventListener("click",(function(){Er(t,"cmp:show")}))})),this.component.querySelectorAll(".rad-smart-filter-2__filter-clear-all, .rad-smart-filter-2__filter-mobile-clear-all").forEach((function(t,r){var i,n;t.dataset.cmpDataLayer='{"smart-filter-clearall-'.concat(r+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(i=null===(n=e.component)||void 0===n?void 0:n.dataset.templateZone)&&void 0!==i?i:"",'"}}'),yr(t),t.addEventListener("click",(function(){Er(t,"cmp:show")}))})),this.noResultsClearButton&&(this.noResultsClearButton.dataset.cmpDataLayer='{"smart-filter-clearall-filters":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(this.noResultsClearButton.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(l=null===(c=this.component)||void 0===c?void 0:c.dataset.templateZone)&&void 0!==l?l:"",'"}}'),yr(this.noResultsClearButton),this.noResultsClearButton.addEventListener("click",(function(){Er(e.noResultsClearButton,"cmp:show")}))),this.mobileFilterBackButton&&(this.mobileFilterBackButton.dataset.cmpDataLayer='{"smart-filter-mobile-backbutton":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(this.mobileFilterBackButton.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(h=null===(u=this.component)||void 0===u?void 0:u.dataset.templateZone)&&void 0!==h?h:"",'"}}'),yr(this.mobileFilterBackButton),this.mobileFilterBackButton.addEventListener("click",(function(){Er(e.mobileFilterBackButton)}))),this.sortDropdown.querySelectorAll(".rad-dropdown__list-item").forEach((function(t,r){var i,n;t.dataset.cmpDataLayer='{"smart-filter-sort-dropdown-listitem-'.concat(r+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"Sort by ').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(i=null===(n=e.component)||void 0===n?void 0:n.dataset.templateZone)&&void 0!==i?i:"",'"}}'),yr(t)})),this.sortDropdown.dataset.cmpDataLayer='{"smart-filter-sort-dropdown":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"Sort by","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"filter cardV2","analytics-template-zone":"').concat(null!==(n=null===(a=this.component)||void 0===a?void 0:a.dataset.templateZone)&&void 0!==n?n:"",'"}}');var d=this.sortDropdown.querySelector(".rad-dropdown__list-item--selected");this.sortDropdown.dataset.analyticsSortFilter=d.textContent.trim(),yr(this.sortDropdown),this.sortDropdown.addEventListener(Dp,(function(t){t.detail.isOpen&&Er(e.sortDropdown,"cmp:show")})),this.sortDropdown.addEventListener(Lp,(function(t){var r=t.detail.selectedItem;e.sortDropdown.dataset.analyticsSortFilter=r.textContent.trim(),Er(r,"cmp:show")})),this.loadMoreButton.dataset.cmpDataLayer='{"smart-filter-load-more":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"').concat(this.loadMoreButton.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"true","analytics-module-name":"filter cardv2","analytics-template-zone":"').concat(null!==(s=null===(o=this.component)||void 0===o?void 0:o.dataset.templateZone)&&void 0!==s?s:"",'"}}'),yr(this.loadMoreButton),this.loadMoreButton.addEventListener("click",(function(){Er(e.loadMoreButton,"cmp:show")}))}}},{key:"toggleMobileFilterModal",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=this.mobileFilterWrapper.classList.contains(Um.OPEN_MOBILE_FILTER);e!==r&&(t=null===e?!r:e,this.mobileFilterWrapper.classList.toggle(Um.OPEN_MOBILE_FILTER,t),this.mobileFilterButton.setAttribute("aria-expanded",t),this.closeMobileFilterAccordions(),jr(t,this.mobileFilterWrapper))}},{key:"getMobileFilterAccordionItems",value:function(){var t=this;return Array.from(this.mobileFilterListAccordionToggles).map((function(e,r){return new Vm(e,t.mobileFilterListWrappers.item(r))}))}},{key:"closeMobileFilterAccordions",value:function(){this.getMobileFilterAccordionItems().forEach((function(t){Gm(t)}))}},{key:"toggleFilterAccordion",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.filterButtons.forEach((function(t){t.classList.remove(Um.OPEN_FILTER_BUTTON),t.setAttribute("aria-expanded",!1)})),!t)return this.filterWrapper.classList.remove(Um.OPEN_FILTER_LIST_WRAPPER),void(this.filterAccordionOpen=null);var e=t.dataset.filterCategory,r=e===this.filterAccordionOpen?null:e;r&&(this.filterLists.forEach((function(t){t.classList.remove(Um.VISIBLE_FILTER_LIST)})),this.updateDesktopFiltersHeight(),this.getCategoryFilterList(t.dataset.filterCategory).classList.add(Um.VISIBLE_FILTER_LIST)),t.classList.toggle(Um.OPEN_FILTER_BUTTON,r),t.setAttribute("aria-expanded",Boolean(r)),this.filterWrapper.classList.toggle(Um.OPEN_FILTER_LIST_WRAPPER,r),this.filterAccordionOpen=r}},{key:"updateDesktopFiltersHeight",value:function(){var t=this.getDesktopFiltersHeight();this.filterWrapper.style.height="".concat(t+this.getDesktopControlsHeight(),"px"),this.filterControls.style.top="".concat(t,"px")}},{key:"getCategoryFilterList",value:function(t){return Array.from(this.filterLists).find((function(e){return e.dataset.filterCategory===t}))}},{key:"getDesktopFiltersHeight",value:function(){return Array.from(this.filterLists).map((function(t){return t.scrollHeight})).reduce((function(t,e){return Math.max(t,e)}),0)}},{key:"getDesktopControlsHeight",value:function(){return this.filterControls.scrollHeight}},{key:"setTagSelected",value:function(t,e){this.filter.setSelectedTagState(t,e)}},{key:"updateSelectedTagCount",value:function(){var t=this;this.filterCountTotal.textContent=this.formatSelectedTagCountText(this.filter.selectedTags.size),this.filterCountSection.forEach((function(e){var r=e.closest("[data-filter-category]"),i=t.getCategoryFilterList(r.dataset.filterCategory);e.textContent=t.formatSelectedTagCountText(i.querySelectorAll(".rad-chip--selected").length)}))}},{key:"formatSelectedTagCountText",value:function(t){var e="";return t>0&&(e=" (".concat(t,")")),e}},{key:"syncSelectedTags",value:function(){var t=this;this.component.querySelectorAll(".rad-chip").forEach((function(e){e.classList.toggle("rad-chip--selected",t.filter.selectedTags.has(e.dataset.tagId))})),this.filter.selectedTags.size?this.mobileFilterClearButton.removeAttribute("disabled"):this.mobileFilterClearButton.setAttribute("disabled",""),this.updateSelectedTagCount()}},{key:"closeFilterLists",value:function(){this.toggleMobileFilterModal(!1),this.toggleFilterAccordion(!1)}},{key:"handleResize",value:function(){Rl().xs||this.updateDesktopFiltersHeight()}},{key:"handleBreakpointChange",value:function(){var t=Rl().xs;t!==this.isMobile&&(this.closeFilterLists(),this.isMobile=t)}}],r&&$m(e.prototype,r),i&&$m(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Xm=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=t.classList.contains("rad-content-grid-card--open"),i=null!==e?e:r?"close":"open";if(!(r&&"open"===i||!r&&"close"===i)){var n=t.querySelector(".rad-content-grid-card__front-toggle"),a=t.querySelector(".rad-content-grid-card__cta-cover"),s="open"===i;t.classList.toggle("rad-content-grid-card--open",s),n.setAttribute("aria-expanded",s),s?a.removeAttribute("tabindex"):a.setAttribute("tabindex",-1)}},Km=function(t,e,r){var i=t.querySelector(".rad-content-grid-card__front-toggle");t.addEventListener("pointerenter",(function(e){"mouse"===e.pointerType&&Xm(t,"open")})),t.addEventListener("pointerleave",(function(e){"mouse"===e.pointerType&&Xm(t,"close")})),i.addEventListener("click",(function(){Xm(t)})),function(t,e,r){if(gr()){var i,n,a,s=t.querySelector(".rad-content-grid-card__cta-cover"),o=t.querySelector(".rad-button"),l=t.closest("[data-template-zone]"),c=function(i,n){var a,o,l;return'{"tile-grid-'.concat(i===s?"card":"card-cta-button").concat(r?"-".concat(r):"","-").concat(e+1,'":{"xdm:linkURL":"').concat(t.dataset.ctaLink,'","analytics-link-name":"').concat(i===s?"".concat(null===(a=t.dataset.cardTitle)||void 0===a?void 0:a.replaceAll(/"/g,'\\"')):"".concat(t.dataset.ctaTitle,":").concat(null===(o=t.dataset.cardTitle)||void 0===o?void 0:o.replaceAll(/"/g,'\\"')),'","analytics-link-type": "engagement","analytics-engagement":"true","analytics-module-name":"').concat(function(t){switch(null==t?void 0:t.toLowerCase()){case"casestudy":return"case study";case"researchreport":return"research report";case"mixedmedia":return"mixed media";case"liveinterview":return"live interview";default:return t}}(t.dataset.contentType)," card button").concat(r?"-".concat(r):"","-").concat(e+1,'","analytics-template-zone":"').concat(null!==(l=null==n?void 0:n.dataset.templateZone)&&void 0!==l?l:"",'"}}')},h=function(t){yr(t),t.addEventListener("click",(function(){Er(t)}))};t.dataset.analyticsAssetPos=e+1,s.dataset.analyticsAssetId=null!==(i=t.dataset.analyticsAssetId)&&void 0!==i?i:"",s.dataset.csOverrideId=null!==(n=t.dataset.csOverrideId)&&void 0!==n?n:"",s.dataset.analyticsAssetPos=e+1,s.dataset.cmpDataLayer=c(s,l),h(s),o&&(o.dataset.csOverrideId=t.dataset.csOverrideId?t.dataset.csOverrideId.replace("card-","card-cta-"):"",o.dataset.analyticsAssetId=null!==(a=t.dataset.analyticsAssetId)&&void 0!==a?a:"",o.dataset.analyticsAssetPos=e+1,o.dataset.cmpDataLayer=c(o,l),h(o))}}(t,e,r+1)},Zm=function(t){!function(t){t.querySelectorAll(".rad-content-grid-card").forEach((function(t,e){Km(t,e)}))}(null!=t?t:document)},Jm=' <div class="rad-content-grid-card rad-content-grid-card--live-interview-landscape" id="live-interview-landscape-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="live-interview-landscape-id" aria-label="Live Interview: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Live Interview </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__half-image"> <div class="cmp-image"> <img src="/images/silhouettes-on-green-yellow.png" alt="Silhouettes of a woman wearing a cap and a man against a bright yellow and green background" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div>',Qm=' <div class="rad-content-grid-card rad-content-grid-card--live-interview-portrait" id="live-interview-portrait-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="live-interview-portrait-id" aria-label="Live Interview: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Live Interview </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__quarter-image"> <div class="cmp-image"> <img src="/images/greyscale-example-image.png" alt="Headshot of Julie Sweet" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div>',tg=' <div class="rad-content-grid-card rad-content-grid-card--podcast-landscape" id="podcast-landscape-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="podcast-landscape-id" aria-label="Podcast: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Podcast </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__half-image"> <div class="cmp-image"> <img src="/images/silhouettes-on-green-yellow.png" alt="Silhouettes of a woman wearing a cap and a man against a bright yellow and green background" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ',eg=' <div class="rad-content-grid-card rad-content-grid-card--podcast-portrait" id="podcast-portrait-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="podcast-portrait-id" aria-label="Podcast: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Podcast </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__quarter-image"> <div class="cmp-image"> <img src="/images/greyscale-example-image.png" alt="Headshot of Julie Sweet" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ',rg=' <div class="rad-content-grid-card rad-content-grid-card--research-report-dark" id="research-report-dark-1-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="research-report-dark-1-id" aria-label="Research Report: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__full-image"> <div class="image radimage"> <div class="cmp-image"> <img src="/images/Acc_Gradients_RGB_Dark_02_Tiles-3.png" alt="" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__label"> Research Report </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"></div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ',ig=' <div class="rad-content-grid-card rad-content-grid-card--research-report-light" id="research-report-light-1-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="research-report-light-1-id" aria-label="Research Report: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__full-image"> <div class="image radimage"> <div class="cmp-image"> <img src="/images/light-custom-cover.png" alt="" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__label"> Research Report </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"></div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ';function ng(t){return ng="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},ng(t)}function ag(){ag=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof d?e:d,s=Object.create(a.prototype),o=new C(n||[]);return i(s,"_invoke",{value:E(t,r,o)}),s}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var u={};function d(){}function p(){}function f(){}var m={};l(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(P([])));v&&v!==e&&r.call(v,a)&&(m=v);var y=f.prototype=d.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,a,s,o){var l=h(t[i],t,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==ng(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,o)}),(function(t){n("throw",t,s,o)})):e.resolve(u).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,o)}))}o(l.arg)}var a;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return a=a?a.then(i,i):i()}})}function E(t,e,r){var i="suspendedStart";return function(n,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===n)throw a;return A()}for(r.method=n,r.arg=a;;){var s=r.delegate;if(s){var o=S(s,r);if(o){if(o===u)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var l=h(t,e,r);if("normal"===l.type){if(i=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i="completed",r.method="throw",r.arg=l.arg)}}}function S(t,e){var r=e.method,i=t.iterator[r];if(void 0===i)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),u;var n=h(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return p.prototype=f,i(y,"constructor",{value:f,configurable:!0}),i(f,"constructor",{value:p,configurable:!0}),p.displayName=l(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,l(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(_.prototype),l(_.prototype,s,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,i,n,a){void 0===a&&(a=Promise);var s=new _(c(e,r,i,n),a);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},b(y),l(y,o,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var i in e)r.push(i);return r.reverse(),function t(){for(;r.length;){var i=r.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=P,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=void 0),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var o=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(o&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var n=i.arg;w(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function sg(t,e,r,i,n,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(i,n)}function og(t){return function(){var e=this,r=arguments;return new Promise((function(i,n){var a=t.apply(e,r);function s(t){sg(a,i,n,s,o,"next",t)}function o(t){sg(a,i,n,s,o,"throw",t)}s(void 0)}))}}function lg(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==ng(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==ng(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===ng(a)?a:String(a)),i)}var n,a}var cg={announcementLogo:' <div class="rad-content-grid-card rad-content-grid-card--announcement" id="announcement-logo-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="announcement-logo-id" aria-label="Announcement: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Announcement </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__logo"> Fortune </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div>',announcement:' <div class="rad-content-grid-card rad-content-grid-card--announcement" id="announcement-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="announcement-id" aria-label="Announcement: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Announcement </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__quarter-image"> <div class="cmp-image"> <img src="/images/greyscale-example-image.png" alt="Headshot of Julie Sweet" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div>',blog:' <div class="rad-content-grid-card rad-content-grid-card--research-report-light" id="blog-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="blog-id" aria-label="Blog: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__full-image"> <div class="image radimage"> <div class="cmp-image"> <img src="/images/Acc_Gradients_RGB_Light_02_Tiles-2.png" alt="" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__label"> Blog </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"></div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ',caseStudy:' <div class="rad-content-grid-card rad-content-grid-card--case-study" id="case-study-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="case-study-id" aria-label="Case Study: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Case Study </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__half-image"> <div class="cmp-image"> <img src="/images/silhouettes-on-green-yellow.png" alt="Silhouettes of a woman wearing a cap and a man against a bright yellow and green background" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ',caseStudyHero:' <div class="rad-content-grid-card rad-content-grid-card--case-study" id="case-study-hero-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="case-study-hero-id" aria-label="Case Study: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__full-image"> <div class="image radimage"> <div class="cmp-image"> <img src="/images/light-custom-cover.png" alt="Silhouettes of a woman wearing a cap and a man against a bright yellow and green background" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__label"> Case Study </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"></div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ',event:' <div class="rad-content-grid-card rad-content-grid-card--event" id="event-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="live-interview-portrait-id" aria-label="Live Interview: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Event </div> <div class="rad-content-grid-card__title"> Mobile World Congress (MWC) Las Vegas 2022 </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__quarter-image"> <div class="cmp-image"> <img src="/images/greyscale-example-image.png" alt="Headshot of Julie Sweet" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <div class="rad-content-grid-card__content-event"> <div class="rad-content-grid-card__content-event-line"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"> <path d="M4.5 18C4.0875 18 3.73437 17.8507 3.44062 17.5521C3.14687 17.2535 3 16.9028 3 16.5V5.5C3 5.09722 3.14687 4.74653 3.44062 4.44792C3.73437 4.14931 4.0875 4 4.5 4H6V2H7.5V4H12.5V2H14V4H15.5C15.9125 4 16.2656 4.14931 16.5594 4.44792C16.8531 4.74653 17 5.09722 17 5.5V16.5C17 16.9028 16.8531 17.2535 16.5594 17.5521C16.2656 17.8507 15.9125 18 15.5 18H4.5ZM4.5 16.5H15.5V9H4.5V16.5ZM4.5 7.5H15.5V5.5H4.5V7.5ZM10.0044 12C9.79313 12 9.61458 11.9285 9.46875 11.7856C9.32292 11.6427 9.25 11.4656 9.25 11.2544C9.25 11.0431 9.32145 10.8646 9.46435 10.7188C9.60727 10.5729 9.78435 10.5 9.9956 10.5C10.2069 10.5 10.3854 10.5715 10.5312 10.7144C10.6771 10.8573 10.75 11.0344 10.75 11.2456C10.75 11.4569 10.6785 11.6354 10.5356 11.7812C10.3927 11.9271 10.2156 12 10.0044 12ZM6.7544 12C6.54313 12 6.36458 11.9285 6.21875 11.7856C6.07292 11.6427 6 11.4656 6 11.2544C6 11.0431 6.07145 10.8646 6.21435 10.7188C6.35727 10.5729 6.53435 10.5 6.7456 10.5C6.95687 10.5 7.13542 10.5715 7.28125 10.7144C7.42708 10.8573 7.5 11.0344 7.5 11.2456C7.5 11.4569 7.42855 11.6354 7.28565 11.7812C7.14273 11.9271 6.96565 12 6.7544 12ZM13.2544 12C13.0431 12 12.8646 11.9285 12.7188 11.7856C12.5729 11.6427 12.5 11.4656 12.5 11.2544C12.5 11.0431 12.5715 10.8646 12.7144 10.7188C12.8573 10.5729 13.0344 10.5 13.2456 10.5C13.4569 10.5 13.6354 10.5715 13.7812 10.7144C13.9271 10.8573 14 11.0344 14 11.2456C14 11.4569 13.9285 11.6354 13.7856 11.7812C13.6427 11.9271 13.4656 12 13.2544 12ZM10.0044 15C9.79313 15 9.61458 14.9285 9.46875 14.7856C9.32292 14.6427 9.25 14.4656 9.25 14.2544C9.25 14.0431 9.32145 13.8646 9.46435 13.7188C9.60727 13.5729 9.78435 13.5 9.9956 13.5C10.2069 13.5 10.3854 13.5715 10.5312 13.7144C10.6771 13.8573 10.75 14.0344 10.75 14.2456C10.75 14.4569 10.6785 14.6354 10.5356 14.7812C10.3927 14.9271 10.2156 15 10.0044 15ZM6.7544 15C6.54313 15 6.36458 14.9285 6.21875 14.7856C6.07292 14.6427 6 14.4656 6 14.2544C6 14.0431 6.07145 13.8646 6.21435 13.7188C6.35727 13.5729 6.53435 13.5 6.7456 13.5C6.95687 13.5 7.13542 13.5715 7.28125 13.7144C7.42708 13.8573 7.5 14.0344 7.5 14.2456C7.5 14.4569 7.42855 14.6354 7.28565 14.7812C7.14273 14.9271 6.96565 15 6.7544 15ZM13.2544 15C13.0431 15 12.8646 14.9285 12.7188 14.7856C12.5729 14.6427 12.5 14.4656 12.5 14.2544C12.5 14.0431 12.5715 13.8646 12.7144 13.7188C12.8573 13.5729 13.0344 13.5 13.2456 13.5C13.4569 13.5 13.6354 13.5715 13.7812 13.7144C13.9271 13.8573 14 14.0344 14 14.2456C14 14.4569 13.9285 14.6354 13.7856 14.7812C13.6427 14.9271 13.4656 15 13.2544 15Z" fill="black"/> </svg> <p>September 28-30, 2022</p> </div> <div class="rad-content-grid-card__content-event-line"> <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"> <path d="M10.0044 10C10.4181 10 10.7708 9.85269 11.0625 9.55808C11.3542 9.26346 11.5 8.90929 11.5 8.49558C11.5 8.08186 11.3527 7.72917 11.0581 7.4375C10.7635 7.14583 10.4093 7 9.99558 7C9.58186 7 9.22917 7.14731 8.9375 7.44192C8.64583 7.73654 8.5 8.09071 8.5 8.50442C8.5 8.91814 8.64731 9.27083 8.94192 9.5625C9.23654 9.85417 9.59071 10 10.0044 10ZM10 16.0208C11.6528 14.5347 12.8993 13.1667 13.7396 11.9167C14.5799 10.6667 15 9.54861 15 8.5625C15 7.10417 14.5243 5.89583 13.5729 4.9375C12.6215 3.97917 11.4306 3.5 10 3.5C8.56944 3.5 7.37847 3.97917 6.42708 4.9375C5.47569 5.89583 5 7.10417 5 8.5625C5 9.54861 5.42014 10.6667 6.26042 11.9167C7.10069 13.1667 8.34722 14.5347 10 16.0208ZM10 18C7.81979 16.1791 6.1914 14.4877 5.11483 12.926C4.03828 11.3642 3.5 9.90972 3.5 8.5625C3.5 6.70139 4.11806 5.14236 5.35417 3.88542C6.59028 2.62847 8.13542 2 9.98958 2C11.8438 2 13.3924 2.62847 14.6354 3.88542C15.8785 5.14236 16.5 6.70139 16.5 8.5625C16.5 9.90972 15.9653 11.3611 14.8958 12.9167C13.8264 14.4722 12.1944 16.1667 10 18Z" fill="black"/> </svg> <p>Las Vegas Convention Center</p> </div> </div> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisit enime. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet endisse vulputate. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ',liveInterviewLandscape:Jm,liveInterviewPortrait:Qm,perspective:' <div class="rad-content-grid-card rad-content-grid-card--perspective" id="perspective-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="perspective-id" aria-label="Perspective: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Perspective </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__half-image"> <div class="cmp-image"> <img src="/images/Figurative.svg" alt="Line-art drawing of people using phones and computers to interact with various database and security technologies" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> ',podcastLandscape:tg,podcastPortrait:eg,researchReportDark:rg,researchReportLight:ig,video:' <div class="rad-content-grid-card rad-content-grid-card--video" id="video-id"> <button class="rad-content-grid-card__front-toggle" aria-expanded="false" aria-controls="video-id" aria-label="Video: Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se"></button> <a href="#cta-link" class="rad-content-grid-card__cta-cover" tabindex="-1" aria-label="Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. Explore more"></a> <button disabled="disabled" class="rad-icon-button rad-content-grid-card__close-button" tabindex="-1" aria-hidden="true"> <div class="rad-icon-button__text">Close</div> <div class="rad-icon rad-icon__close" aria-hidden="true"></div> </button> <div class="rad-content-grid-card__label"> Video </div> <div class="rad-content-grid-card__title"> Max 4 lines of title lorem ipsum dolor sit amet, consectetur adipiscing elit, se </div> <div class="rad-content-grid-card__sliding-content"> <div class="rad-content-grid-card__front-content"> <div class="rad-content-grid-card__half-image"> <div class="cmp-image"> <img src="/images/silhouettes-on-green-yellow.png" alt="Silhouettes of a woman wearing a cap and a man against a bright yellow and green background" class="cmp-image__image"> </div> </div> </div> <div class="rad-content-grid-card__back-content"> <div class="rad-content-grid-card__content"> <p> Lorem ipsum dolor sit amet consectetur. Diam dignissim nisi enim risus. Urna eget mollis sed facilisi quis fermentum nec. Enim ultrices laoreet suspendisse vulputate. Egestas maecenas elit sit egestas neque quam elementum non. </p> </div> <a href="#cta-link" class="rad-button rad-button--ghost" tabindex="-1"> <div class="rad-button__text">Explore more</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div>'},hg="rad-smart-filter-2__no-results--visible",ug={LOAD:"pageload",SCROLL:"scroll"},dg={MOBILE:3,TABLET:6,DESKTOP:12},pg=Object.values(dg).reduce((function(t,e){return Math.max(t,e)}),0),fg=[],mg={capabilityFilter:"universal:topics-capabilities",industryFilter:"universal:industries",contentTypeFilter:"universal:filter-types"},gg=function(){function t(e,r){var i=this;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cards=[],this.cardsToDisplay=0,this.noCardsRemaining=!1,this.selectedTags=new Set,this.activeTags=new Set,this.filterIdNamesBiMap=new Map,this.focusLoadedItems=!1,this.ui=new Ym(e,this),this.smartFilterIndex=r,this.component=e,this.cardsListContainer=this.component.querySelector(".rad-smart-filter-2__cards-list"),this.loadMoreButton=this.component.querySelector(".rad-smart-filter-2__cards-load-more"),this.sortDropdown=this.component.querySelector(".rad-smart-filter-2__sort"),this.noResults=this.component.querySelector(".rad-smart-filter-2__no-results"),this.noResultsLottiePlayer=this.noResults.querySelector(".no-results__lp"),gr()){this.callback=this.callback.bind(this),this.setEventFlagScroll=this.setEventFlagScroll.bind(this),this.curEventFlag=ug.LOAD,this.aGlanceCardID=[],this.aCurrVisibleCards=[],this._cardVisibilityTimeout=0;var n={root:null,rootMargin:"0px",threshold:Rl().xs||Rl().sm?1:.25};this.observer=new IntersectionObserver(this.callback,n),window.addEventListener("scroll",this.setEventFlagScroll),window.addEventListener("radTransitionStarted",(function(){i.observer.disconnect()}))}}var e,r,i,n,a;return e=t,r=[{key:"setEventFlagScroll",value:function(){this.curEventFlag=ug.SCROLL,window.removeEventListener("scroll",this.setEventFlagScroll)}},{key:"getDataAnalyticsAssetId",value:function(t){var e;return null!==(e="".concat(t.dataset.analyticsAssetId,":").concat(t.dataset.analyticsAssetPos))&&void 0!==e?e:""}},{key:"pushGlanceEvent",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ug.SCROLL;null===(e=window.adobeDataLayer)||void 0===e||e.push({event:"cmp:glance",eventInfo:{assetInfo:t,eventFlag:r,component:"rad-filtercardv2-card"}})}},{key:"callback",value:function(t){var e=this;t.forEach((function(t){var r=e.getDataAnalyticsAssetId(t.target);t.isIntersecting&&!e.aGlanceCardID.includes(r)&&(e.aCurrVisibleCards.push(r),e.aGlanceCardID.push(r))})),this.aCurrVisibleCards.length&&(clearTimeout(this._cardVisibilityTimeout),this._cardVisibilityTimeout=setTimeout((function(){e.pushGlanceEvent(e.aCurrVisibleCards.toString(),e.curEventFlag),e.aCurrVisibleCards=[],e.curEventFlag=ug.SCROLL}),500))}},{key:"init",value:function(){this.validateAndParseUrlParams(),this.fetchAndDisplayCards()}},{key:"validateAndParseUrlParams",value:function(){var t=this;this.component.querySelectorAll(".rad-chip").forEach((function(e){var r=e.dataset.tagId,i=e.textContent.trim();t.filterIdNamesBiMap.set(r,i),t.filterIdNamesBiMap.set(i,r)}));var e=new URLSearchParams(window.location.search).get("filter");null!==e&&(e=e.split(",").filter((function(e){return t.filterIdNamesBiMap.has(e)})).map((function(e){return t.filterIdNamesBiMap.get(e)})),this.setSelectedTags(e),this.updateActiveTags())}},{key:"setSelectedTags",value:function(t){this.selectedTags=new Set(t),this.ui.syncSelectedTags()}},{key:"setSelectedTagState",value:function(t,e){e?this.selectedTags.add(t):this.selectedTags.delete(t),this.ui.syncSelectedTags()}},{key:"updateActiveTags",value:function(){var t=this;this.activeTags=new Set(this.selectedTags);var e=new URLSearchParams(window.location.search);if(this.activeTags.size){var r=Array.from(this.activeTags).map((function(e){return t.filterIdNamesBiMap.get(e)})).join(",");e.set("filter",r)}else e.delete("filter");var i=e.toString(),n="";i&&(n="?".concat(i)),history.replaceState(null,"","".concat(location.origin).concat(location.pathname).concat(n).concat(location.hash))}},{key:"fetchAndDisplayCards",value:function(){var t=this;this.fetchResults().then((function(e){t.processResults(e)}))}},{key:"fetchResults",value:(a=og(ag().mark((function t(){var e,r,i;return ag().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=this.sortDropdown.querySelector(".rad-dropdown__list-item--selected"),(r=new FormData).append("resourcePath",this.component.dataset.resourcePath),r.append("geoTag",JSON.parse(this.component.dataset.currentGeoTag).tagId),r.append("locale",this.component.dataset.currentLocale),r.append("disableLinkConversion",this.component.dataset.disableLinkConversion),r.append("size",pg+1),r.append("offset",this.cards.length),r.append("orderBy",e.dataset.orderById),r.append("sortOrder",e.dataset.sortOrder),this.activeTags.size&&r.append("tags",Array.from(this.activeTags).join(",")),!location.hostname.includes("author-")){t.next=17;break}return t.next=14,Pr();case 14:t.t0=t.sent,t.next=18;break;case 17:t.t0="";case 18:return i=t.t0,t.abrupt("return",fetch("/api/accenture/tilegrid/filtercard",{body:r,headers:{"CSRF-Token":i},method:"post"}).then((function(t){return t.json()})));case 20:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"getCardHtml",value:function(t,e,r){switch(t){case"liveInterview":return"portrait"===e?Qm:Jm;case"podcast":return"portrait"===e?eg:tg;case"researchReport":return"light"===r?ig:rg;default:return cg[t]}}},{key:"integrateResultsWithHtml",value:function(t){var e=t.cfId,r=t.contentType,i=t.contentTypeTranslation,n=t.ctaAriaLabel,a=t.ctaLabel,s=t.ctaLink,o=t.ctaLinkAction,l=t.ctaTooltip,c=t.description,h=t.imageAltText,u=t.imageLayoutTG,d=t.imagePath,p=t.themeTG,f=t.title,m=this.getCardHtml(r,u,p),g=Yr(m),v=g.querySelector(".rad-content-grid-card__label");return v.textContent=i||v.textContent,Ur(g,"","id",e),Ur(g,"","analyticsAssetId","card-".concat(e),"data"),Ur(g,"","csOverrideId","card-".concat(e),"data"),Ur(g,"","ctaLink",s,"data"),Ur(g,"","ctaTitle",a,"data"),Ur(g,"","cardTitle",f,"data"),Ur(g,"","contentType",r,"data"),Ur(g,".rad-button--ghost","title",l,"attribute"),Ur(g,".rad-button--ghost","aria-label",n,"attribute"),Ur(g,"[aria-controls]","aria-controls",e,"attribute"),Ur(g,".rad-content-grid-card__front-toggle","aria-label","".concat(v.textContent,": ").concat(f),"attribute"),Ur(g,".rad-content-grid-card__cta-cover","title",l,"attribute"),Ur(g,".rad-content-grid-card__cta-cover","aria-label","".concat(f," ").concat(a),"attribute"),Ur(g,"img","src",d),Ur(g,"img","alt",h),Ur(g,"a","href",s),o.startsWith("_")?(Ur(g,"a","target",o),"_blank"===o&&Ur(g,"a","rel","noopener noreferrer")):Ur(g,"a","barbaTransition",o,"data"),Ur(g,".rad-content-grid-card__title","textContent",f),Ur(g,".rad-content-grid-card__content","innerHTML",c),Ur(g,".rad-button__text","textContent",a),g}},{key:"getEventInfoCategoryKey",value:function(t){return Object.keys(mg).find((function(e){return t.includes(mg[e])}))}},{key:"getEventInfo",value:function(){var t=this,e={},r=Array.from(this.activeTags).map((function(r){var i,n,a,s=t.component.querySelector('.rad-chip[data-tag-id="'.concat(r,'"]')),o=t.getEventInfoCategoryKey(r);return o&&(e[o]?e[o]+=";".concat(null!==(n=null==s?void 0:s.textContent.trim())&&void 0!==n?n:""):e[o]=null!==(a=null==s?void 0:s.textContent.trim())&&void 0!==a?a:""),null!==(i=null==s?void 0:s.textContent.trim())&&void 0!==i?i:""}));return e.filterSelected=r.join(";"),e}},{key:"processResults",value:function(t){var e,r,i=t.contentFragmentItems;(i.length<=pg&&(this.noCardsRemaining=!0),this.activeTags.size&&0===i.length)&&(this.showResultsClicked&&(null===(r=window.adobeDataLayer)||void 0===r||r.push({event:"cmp:filterCardNoResult",eventInfo:this.getEventInfo()})),this.noResults.classList.add(hg),null===(e=this.noResultsLottiePlayer)||void 0===e||e.play(),this.focusLoadedItems&&(this.ui.noResultsClearButton.focus({preventScroll:!0}),this.focusLoadedItems=!1));this.showResultsClicked=!1;for(var n=this.getCardCountIncrement(),a=0;a<i.length&&a<pg;a++){var s=this.integrateResultsWithHtml(i[a]);this.cards.push(s)}this.addNumCards(n)}},{key:"loadMore",value:(n=og(ag().mark((function t(){var e;return ag().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e=this.getCardCountIncrement(),this.loadMoreButton.setAttribute("disabled",""),this.focusLoadedItems=!0,this.cards.length>this.cardsToDisplay?this.addNumCards(e):this.fetchAndDisplayCards();case 4:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"clearCards",value:function(){var t;this.cardsListContainer.replaceChildren(),null===(t=this.observer)||void 0===t||t.disconnect()}},{key:"addNumCards",value:function(t){for(var e=this.cards.slice(this.cardsToDisplay,this.cardsToDisplay+t),r=0;r<e.length;r++){var i=e[r];this.insertCard(i),Km(i,r+this.cardsToDisplay,this.smartFilterIndex),gr()&&this.observer.observe(i)}this.cardsToDisplay+=e.length,this.updateLoadMoreButton()}},{key:"insertCard",value:function(t){var e;this.cardsListContainer.append(t),this.focusLoadedItems&&(null===(e=t.querySelector(".rad-content-grid-card__front-toggle"))||void 0===e||e.focus({preventScroll:!0}),this.focusLoadedItems=!1)}},{key:"getCardCountIncrement",value:function(){var t=Rl(),e=t.xs,r=t.sm;return e?dg.MOBILE:r?dg.TABLET:dg.DESKTOP}},{key:"updateLoadMoreButton",value:function(){this.noCardsRemaining&&this.cardsToDisplay===this.cards.length||this.loadMoreButton.removeAttribute("disabled")}},{key:"showResults",value:function(){var t;(this.ui.closeFilterLists(),(0,ir.isEqual)(this.activeTags,this.selectedTags))||(this.updateActiveTags(),this.showResultsClicked=!0,this.noResults.classList.remove(hg),this.activeTags.size&&(null===(t=window.adobeDataLayer)||void 0===t||t.push({event:"cmp:filterCard",eventInfo:this.getEventInfo()})),this.loadNewCards())}},{key:"loadNewCards",value:function(){this.cards.length=0,this.cardsToDisplay=0,this.noCardsRemaining=!1,this.aGlanceCardID=[],this.clearCards(),this.loadMore()}},{key:"clearSelectedTags",value:function(){this.setSelectedTags([])}},{key:"handleResize",value:function(){this.ui.handleResize()}},{key:"handleBreakpointChange",value:function(){this.ui.handleBreakpointChange();var t=this.getCardCountIncrement();this.cardsToDisplay<t&&this.addNumCards(t-this.cardsToDisplay)}}],r&&lg(e.prototype,r),i&&lg(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),vg="radTagAdded",yg="radTagRemoved",bg=function(t){var e=t.querySelector(".rad-tags-container"),r=e.querySelectorAll(".rad-tag__remove-button"),i=e.querySelector(".rad-tags__toggle-wrapper"),n=e.querySelector(".rad-tags__toggle-button"),a=n.querySelector(".rad-tags__expand-text").textContent,s=!1,o=function(){var t=n.querySelector(".rad-tags__expand-text"),r=e.querySelectorAll(".rad-tag-item").length,o=e.querySelectorAll(".rad-tag-item--collapsed");if(null==o||o.forEach((function(t){t.classList.remove("rad-tag-item--collapsed")})),s=r>7,i.classList.toggle("rad-tags__toggle-wrapper--visible",s),s){var l=r-7;t.textContent="".concat(l," ").concat(a),i.classList.add("rad-tags__toggle-wrapper--visible"),n.querySelector(".rad-tags__collapse-text").style.display="none",n.querySelector(".rad-tags__expand-text").style.display="block",function(t){for(var r=e.querySelectorAll(".rad-tag-item"),i=7;i<t;i++)r[i].classList.add("rad-tag-item--collapsed")}(r)}},l=function(t){var r=t.target.closest(".rad-tag-item"),i=Array.from(e.querySelectorAll(".rad-tag-item")),n=i.indexOf(r),a=new CustomEvent(yg,{bubbles:!0});if(r.dispatchEvent(a),r.remove(),i.length>1){var s,l=Math.max(n,1);null===(s=e.querySelector(".rad-tag-item:nth-of-type(".concat(l,")")))||void 0===s||s.querySelector(".rad-tag__remove-button").focus()}o()};o(),r.forEach((function(t){t.addEventListener("click",l)})),n.addEventListener("click",(function(){if(s){var t=e.querySelectorAll(".rad-tag-item--collapsed"),r=e.querySelector(".rad-tag-item--collapsed");t.forEach((function(t){t.classList.remove("rad-tag-item--collapsed")})),r.querySelector(".rad-tag__remove-button").focus(),n.querySelector(".rad-tags__collapse-text").style.display="block",n.querySelector(".rad-tags__expand-text").style.display="none",s=!1}else o()})),e.addEventListener(vg,(function(t){t.target.querySelector(".rad-tag__remove-button").addEventListener("click",l),o()}))};function _g(t){return _g="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},_g(t)}function Eg(t){return function(t){if(Array.isArray(t))return Sg(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Sg(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sg(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Sg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function xg(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==_g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==_g(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===_g(a)?a:String(a)),i)}var n,a}var wg="rad-filters-vertical--open",Cg="rad-location-search__panel--open",Pg="mobile-filter-panel__bottom--hide",Ag="rad-overflow-menu",Tg="rad-location-search__panel--active",kg="desktop-location-overflow--active",Lg="rad-filter-list-item--hidden",Dg="rad-accordion-atom__toggle--open",Ig="location.keyword",Mg="radJobSearchSelectedFiltersUpdated",Og=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.component=e,this.controller=r,this.freshLoad=!0,this.filterAccordions=[],this.openFilterAccordions=new Set,this.changedMobileSortMode=null,this.locationsSection=this.component.querySelector(".rad-location-search-block"),this.locationSearchPanel=this.component.querySelector(".rad-location-search__panel"),this.mobileLocationLaunchButton=this.component.querySelector(".filters-vertical__mobile-location-launch"),this.locationPanelBackButton=this.component.querySelector(".location-panel-back-button"),this.locationPanelClearFiltersButton=this.component.querySelector(".location-panel-clear-filters-button"),this.locationSearchTextField=this.component.querySelector(".location-search-text-field"),this.locationSearchList=this.component.querySelector(".rad-location-search__list"),this.locationPanelBottom=this.component.querySelector(".location-filter-panel__bottom"),this.locationContentWrapper=this.component.querySelector(".location-search-filters-wrapper"),this.accordionToggleButtons=this.component.querySelector(".filters-vertical__accordion-toggle"),this.applyLocationFiltersButton=this.component.querySelector(".apply-location-filters-button"),this.filtersCount=this.component.querySelector(".rad-filters-vertical__desktop-label-count"),this.clearFiltersButton=this.component.querySelector(".filters-panel-mobile-clear-filters-button"),this.mobileFilterPanelBottom=this.component.querySelector(".mobile-filter-panel__bottom"),this.mobileFiltersToggleButton=document.querySelector(".rad-job-search__filters-toggle-button"),this.mobileFiltersBackButton=this.component.querySelector(".filters-panel-back-button"),this.mobileFiltersClearFiltersButton=this.component.querySelector(".filters-mobile-panel-mobile-clear-filters-button"),this.mobileFiltersShowResultsButton=this.component.querySelector(".mobile-filters-show-results-button"),this.mobileFiltersResultsCount=document.querySelector(".job-search__results-display-count"),this.mobileFiltersSortRadios=this.component.querySelectorAll(".rad-sorting-radio__input"),this.mobileFiltersCount=document.querySelector(".rad-job-search__filters-toggle-button-count"),this.mobileTagsContainer=this.component.querySelector(".mobile-filter-panel__mobile-active-tags"),this.mobileTagItemsContainer=this.mobileTagsContainer.querySelector(".rad-tags-items"),this.desktopTagsContainer=this.component.querySelector(".location-filter-panel__desktop-active-tags"),this.desktopTagItemsContainer=this.desktopTagsContainer.querySelector(".rad-tags-items"),this.mobileSortByWrapper=this.component.querySelector(".mobile-filters__sort-by"),this.mobileSortByBtn=this.mobileSortByWrapper.querySelector(".rad-accordion-atom__toggle"),this.clearButtons=[this.clearFiltersButton,this.mobileFiltersClearFiltersButton,this.locationPanelClearFiltersButton],this.setFiltersCount()}var e,r,i;return e=t,r=[{key:"init",value:function(t){var e=this;this.initLocations(t.aggregations),this.initMobileSortAccordion(),this.populateFilterListSections(t.aggregations),this.setResultsCount(t.totalHits),this.addUIEventListeners(),null==t||t.aggregations.forEach((function(t){e.openFilterAccordions.add(t.fieldName)})),this.freshLoad=!1}},{key:"initLocations",value:function(t){this.initFilterAccordion(this.locationsSection),this.updateLocations(t)}},{key:"initMobileSortAccordion",value:function(){var t,e=this.mobileSortByWrapper.querySelector(".rad-accordion-atom__toggle"),r=this.mobileSortByWrapper.querySelector(".rad-accordion-atom__content-wrapper"),i=new Vm(e,r),n=(null===(t=this.component.closest(".rad-job-search").querySelector(".rad-job-search__search-container"))||void 0===t?void 0:t.dataset.analyticsTemplateZone)||"";this.mobileSortByBtn.dataset.cmpDataLayer='{"vertical-job-search-sort-by":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"Sort by","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"career search","analytics-template-zone":"').concat(n,'"}}'),yr(this.mobileSortByBtn),this.mobileFiltersSortRadios.forEach((function(t,e){t.dataset.cmpDataLayer='{"vertical-job-search-sort-by-'.concat(e+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"Sort by ').concat(t.nextElementSibling.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"career search","analytics-template-zone":"').concat(n,'"}}'),t.dataset.analyticsJobSortFilter="".concat(t.nextElementSibling.textContent.trim()),yr(t)})),qm([i]),this.mobileSortAccordion=i}},{key:"updateLocations",value:function(t){var e,r=this,i=this.locationsSection.querySelector(".rad-filter-list-items");this.openFilterAccordions.has(Ig)||this.freshLoad||this.filterAccordions[0].closeInstantly();var n=(null===(e=t.find((function(t){return t.fieldName===Ig})))||void 0===e?void 0:e.items.map((function(t){var e,i=null===(e=r.controller.selectedFilters.get(Ig))||void 0===e?void 0:e.has(JSON.stringify(t));return r.buildFilterListItem(Ig,t.term,t.count,i)})))||[];i.replaceChildren.apply(i,Eg(n)),this.setFilterListSectionCount(Ig)}},{key:"populateFilterListSections",value:function(t){var e=this;this.component.querySelectorAll('[class="rad-filters-accordion-wrapper"]').forEach((function(t){t.remove()})),this.filterAccordions=[this.filterAccordions[0]];var r=this.locationsSection.nextElementSibling;t.filter((function(t){return"location.keyword"!==t.fieldName})).forEach((function(t){var i=e.buildFilterListSection(t,e.openFilterAccordions.has(t.fieldName));r?r.insertAdjacentElement("beforebegin",i):e.locationsSection.parentElement.append(i)}))}},{key:"setFiltersCount",value:function(){var t=this.controller.getActiveFiltersCount()||"";this.filtersCount.textContent=t,this.mobileFiltersCount.textContent=t}},{key:"setResultsCount",value:function(t){this.mobileFiltersResultsCount.textContent=t}},{key:"updateFilters",value:function(t){var e=this;this.setFiltersCount();var r=t.aggregations,i=t.totalHits;r?(this.freshLoad&&(r.forEach((function(t){e.openFilterAccordions.add(t.fieldName)})),this.freshLoad=!1),this.updateLocations(r),this.populateFilterListSections(r),this.setResultsCount(i)):this.setResultsCount(0)}},{key:"buildFilterListSection",value:function(e,r){var i,n=this,a=r||this.freshLoad,s=(null===(i=this.controller.selectedFilters.get(e.fieldName))||void 0===i?void 0:i.size)||0,o=t.createFilterListSection(e.fieldName,e.filterDisplayName,s,a);this.initFilterAccordion(o);var l=o.querySelector(".rad-filter-list-items");return l.replaceChildren.apply(l,Eg(e.items.map((function(t){var r,i=null===(r=n.controller.selectedFilters.get(e.fieldName))||void 0===r?void 0:r.has(JSON.stringify(t));return n.buildFilterListItem(e.fieldName,t.term,t.count,i)})))),o}},{key:"setFilterListSectionCount",value:function(t){var e,r=(null===(e=this.controller.selectedFilters.get(t))||void 0===e?void 0:e.size)||0;document.getElementById(t).previousElementSibling.querySelector(".filters-vertical__accordion-toggle-count").textContent=r||""}},{key:"buildFilterListItem",value:function(e,r,i,n){var a=this,s=t.filterListItemId(e,r),o=t.createFilterListItem(s,r,i,n);return o.querySelector(".rad-filter-list-item__checkbox").addEventListener("change",(function(t){var n=Rl(),s={term:r,count:i};t.target.checked?a.controller.selectFilter(e,s):a.controller.deselectFilter(e,s),a.setFilterListSectionCount(e),(n.md||n.lg||n.xl)&&e!==Ig&&Bg.dispatchFiltersUpdatedEvent(o)})),o}},{key:"buildFilterTags",value:function(){var e=[],r=[];this.controller.selectedFilters.forEach((function(i,n){i.forEach((function(i){var a=JSON.parse(i),s=t.createFilterTag(n,a.term,a.count);e.push(s),n===Ig&&r.push(s.cloneNode(!0))}))})),t.updateTags(this.mobileTagItemsContainer,e),this.mobileTagsContainer.classList.toggle("mobile-filter-panel__mobile-active-tags--empty",0===e.length),t.updateTags(this.desktopTagItemsContainer,r),this.desktopTagsContainer.classList.toggle("location-filter-panel__desktop-active-tags--empty",0===r.length)}},{key:"initFilterAccordion",value:function(t){var e=this,r=t.querySelector(".rad-accordion-atom__toggle"),i=t.querySelector(".rad-accordion-atom__content-wrapper"),n=new Vm(r,i);this.filterAccordions.push(n),qm([n],[function(t){t.isOpen()?e.openFilterAccordions.add(t.contentWrapper.id):e.openFilterAccordions.delete(t.contentWrapper.id)}])}},{key:"addUIEventListeners",value:function(){var e=this;this.component.addEventListener(Ng,(function(){e.controller.applySelectedFilters()})),this.component.addEventListener(yg,(function(r){var i=r.target,n=i.dataset,a=n.aggregation,s=n.filter,o={term:s,count:parseInt(i.querySelector(".rad-tag__count").textContent.substring(1),10)};e.controller.deselectFilter(a,o);var l=Rl();l.xs||l.sm?t.setFilterListElementChecked(a,s,!1):Bg.dispatchFiltersUpdatedEvent(e.component)})),this.mobileLocationLaunchButton.addEventListener("click",(function(){e.launchMobileLocationSearch()})),this.locationPanelBackButton.addEventListener("click",(function(){e.closeMobileLocationSearch()})),this.locationSearchTextField.addEventListener("focus",(function(){Rl().xs||Rl().sm||e.openDesktopLocationOverflowMenu()})),this.locationSearchTextField.addEventListener("input",(function(t){e.handleLocationSearchChanged(t)})),this.locationSearchTextField.addEventListener("change",(function(t){e.handleLocationSearchChanged(t)})),this.applyLocationFiltersButton.addEventListener("click",(function(){var t=Rl();t.xs||t.sm?e.closeMobileLocationSearch():e.closeDesktopLocationOverflowMenu()})),this.mobileFiltersToggleButton.addEventListener("click",(function(){e.launchMobileFiltersModal()})),[this.mobileFiltersBackButton,this.mobileFiltersShowResultsButton].forEach((function(t){t.addEventListener("click",(function(){e.closeMobileFiltersModal(t)}))})),this.clearButtons.forEach((function(t){t.addEventListener("click",(function(){e.openFilterAccordions.clear(),e.controller.selectedFilters.clear(),e.selectedFiltersChanged(),e.closeMobileLocationSearch(),e.closeMobileFiltersModal(t),Bg.dispatchFiltersUpdatedEvent(t)}))})),this.mobileFiltersShowResultsButton.addEventListener("keydown",(function(t){"Tab"===t.key&&!t.shiftKey&&e.mobileFiltersBackButton.focus()})),this.mobileSortByBtn.addEventListener("click",(function(){e.mobileSortByBtn.classList.contains(Dg)&&gr()&&Er(e.mobileSortByBtn,"cmp:show")})),this.mobileFiltersSortRadios.forEach((function(t){t.addEventListener("click",(function(){gr()&&Er(t,"cmp:show")})),t.addEventListener("change",(function(){var r=parseInt(t.dataset.sortbyMode,10);e.changedMobileSortMode=r}))}))}},{key:"clearFilters",value:function(){this.freshLoad=!0,this.openFilterAccordions.clear(),this.controller.selectedFilters.clear(),this.controller.applySelectedFilters(),this.selectedFiltersChanged()}},{key:"launchMobileFiltersModal",value:function(){this.component.classList.add(wg),this.filterAccordions.forEach((function(t){t.closeInstantly()})),this.mobileSortAccordion.closeInstantly(),this.openFilterAccordions.clear(),jr(!0,this.component)}},{key:"closeMobileFiltersModal",value:function(t){if(this.component.classList.contains(wg)){this.component.classList.remove(wg),jr(!1,this.component);var e=this.getSortMode(),r=null!==this.changedMobileSortMode&&this.changedMobileSortMode===e;r&&this.controller.updateSearchMode(e),!r&&(0,ir.isEqual)(this.controller.activeFilters,this.controller.selectedFilters)||Bg.dispatchFiltersUpdatedEvent(t),this.changedMobileSortMode=null}}},{key:"launchMobileLocationSearch",value:function(){this.locationSearchPanel.classList.add(Cg),this.mobileFilterPanelBottom.classList.add(Pg),jr(!1,this.component),jr(!0,this.locationSearchPanel)}},{key:"closeMobileLocationSearch",value:function(){this.locationSearchPanel.classList.contains(Cg)&&(this.locationSearchPanel.classList.remove(Cg),this.mobileFilterPanelBottom.classList.remove(Pg),jr(!1,this.locationSearchPanel),jr(!0,this.component))}},{key:"locationsOnClickOutside",value:function(t){t.target.closest(".rad-location-search__panel")||this.closeDesktopLocationOverflowMenu()}},{key:"adjustLocationOverflowMenuHeight",value:function(){var t=this.component.querySelector(".location-filter-panel__scroller").clientHeight,e=this.locationSearchList.querySelectorAll(".rad-filter-list-item:not(.rad-filter-list-item--hidden)").length;if(e<5){var r=48*e+t;this.locationPanelBottom.style.top="".concat(r,"px")}else this.locationPanelBottom.style.top=""}},{key:"openDesktopLocationOverflowMenu",value:function(){var t=this;this.adjustLocationOverflowMenuHeight(),this.locationContentWrapper.classList.add(kg),this.locationSearchList.classList.add(Ag),this.locationSearchPanel.classList.add(Tg),window.document.addEventListener("click",(function(){t.locationsOnClickOutside(event)}))}},{key:"closeDesktopLocationOverflowMenu",value:function(){this.locationSearchPanel.classList.contains(Tg)&&(this.locationSearchTextField.value="",this.locationSearchList.querySelectorAll(".".concat(Lg)).forEach((function(t){t.classList.remove(Lg)})),this.locationSearchPanel.classList.remove(Tg),this.locationSearchList.classList.remove(Ag),this.locationPanelBottom.removeAttribute("style"),this.locationContentWrapper.classList.remove(kg),(0,ir.isEqual)(this.controller.activeFilters,this.controller.selectedFilters)||Bg.dispatchFiltersUpdatedEvent(this.applyLocationFiltersButton))}},{key:"handleLocationSearchChanged",value:function(t){var e=this.locationSearchList.querySelectorAll(".rad-filter-list-item"),r=t.target.value,i=r.toLowerCase();e.forEach((function(t){var e=t.querySelector(".rad-filter-list-item__text").textContent.toLowerCase().includes(i);t.classList.toggle(Lg,r.length>0&&!e)})),this.adjustLocationOverflowMenuHeight()}},{key:"handleBreakpointChange",value:function(){this.locationSearchPanel.classList.remove(Cg,Tg),this.locationSearchList.classList.remove(Ag),this.component.classList.remove("rad-filters-vertical--open"),this.locationPanelBottom.removeAttribute("style")}},{key:"selectedFiltersChanged",value:function(){var t=this.controller.getSelectedFiltersCount();this.setClearFiltersButtonsState(t>0),this.buildFilterTags();var e=new CustomEvent(Mg,{bubbles:!0});this.component.dispatchEvent(e)}},{key:"setClearFiltersButtonsState",value:function(t){this.clearButtons.forEach((function(e){t?e.removeAttribute("disabled"):e.setAttribute("disabled","")}))}},{key:"setSortEnabled",value:function(t){this.mobileFiltersSortRadios.forEach((function(e){t?e.removeAttribute("disabled"):e.setAttribute("disabled","")}))}},{key:"getSortMode",value:function(){var t;return this.mobileFiltersSortRadios.forEach((function(e){e.checked&&(t=parseInt(e.dataset.sortbyMode,10))})),t}},{key:"setSortMode",value:function(t){this.mobileFiltersSortRadios.forEach((function(e){e.checked=t===parseInt(e.dataset.sortbyMode,10)}))}}],i=[{key:"createFilterListSection",value:function(t,e,r,i){var n='\n <div class="rad-filters-accordion-wrapper">\n <button class="rad-accordion-atom__toggle filters-vertical__accordion-toggle'.concat(i?" rad-accordion-atom__toggle--open":"",'" aria-expands="').concat(t,'">\n ').concat(e,' <span class="filters-vertical__accordion-toggle-count">').concat(r||"",'</span>\n <span class="rad-accordion-atom__toggle-icon rad-accordion-icon--closed rad-icon rad-icon__plus"></span>\n <span class="rad-accordion-atom__toggle-icon rad-accordion-icon--open rad-icon rad-icon__minus"></span>\n </button>\n <div id="').concat(t,'" class="rad-accordion-atom__content-wrapper').concat(i?" rad-accordion-atom__content-wrapper--open":"",'">\n <div class="rad-accordion-atom__content">\n <div class="rad-filter-list-items">\n </div>\n </div>\n </div>\n </div>\n ');return Yr(n)}},{key:"filterListItemId",value:function(t,e){var r=e.replaceAll(" ","");return"".concat(t,".").concat(r)}},{key:"createFilterListItem",value:function(t,e,r,i){var n='\n <div class="rad-filter-list-item">\n <input class="rad-filter-list-item__checkbox" id="'.concat(t,'" value="" type="checkbox"').concat(i?" checked":"",'>\n <label class="rad-filter-list-item__label" for="').concat(t,'">\n <span class="rad-filter-list-item__faux-checkbox">\n <span class="rad-icon rad-icon--compact rad-icon__check"></span>\n </span>\n <span class="rad-filter-list-item__text">').concat(e,'</span>\n <span class="rad-filter-list-item__count">').concat(r,'</span> <span class="sr-only">jobs</span>\n </label>\n </div>\n ');return Yr(n)}},{key:"setFilterListElementChecked",value:function(e,r,i){document.getElementById(t.filterListItemId(e,r)).checked=i}},{key:"createFilterTag",value:function(t,e,r){var i='\n <li class="rad-tag-item" data-aggregation="'.concat(t,'" data-filter="').concat(e,'">\n <span class="rad-tag__inner">\n <span class="rad-tag__title">').concat(e,'</span>\n <span class="rad-tag__count">(').concat(r,')</span>\n <button aria-label="Remove ').concat(e,' filter" class="rad-tag__remove-button rad-icon rad-icon--compact rad-icon__close"></button>\n </span>\n </li>\n ');return Yr(i)}},{key:"updateTags",value:function(t,e){for(var r=t.lastElementChild;r.previousElementSibling;)r.previousElementSibling.remove();e.forEach((function(t){r.insertAdjacentElement("beforebegin",t);var e=new CustomEvent(vg,{bubbles:!0});t.dispatchEvent(e)}))}}],r&&xg(e.prototype,r),i&&xg(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Fg(t){return Fg="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},Fg(t)}function Rg(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Fg(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Fg(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Fg(a)?a:String(a)),i)}var n,a}var Ng="radJobSearchFiltersUpdated",Bg=function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.component=e.querySelector(".rad-filters-vertical"),this.jobSearch=r,this.activeFilters=new Map,this.selectedFilters=new Map,this.ui=new Og(this.component,this)}var e,r,i;return e=t,i=[{key:"getFiltersCount",value:function(t){var e=0;return t.forEach((function(t){e+=t.size})),e}},{key:"dispatchFiltersUpdatedEvent",value:function(t){var e=new CustomEvent(Ng,{bubbles:!0});t.dispatchEvent(e)}}],(r=[{key:"init",value:function(t){this.ui.init(t)}},{key:"updateFilters",value:function(t){t.aggregations&&(this.selectedFilters.forEach((function(e,r){var i=t.aggregations.find((function(t){return t.fieldName===r})).items;Array.from(e).forEach((function(t){var r=JSON.parse(t),n=i.find((function(t){return t.term===r.term}));n&&(e.delete(t),e.add(JSON.stringify(n)))}))})),this.applySelectedFilters()),this.ui.updateFilters(t)}},{key:"handleBreakpointChange",value:function(){this.ui.handleBreakpointChange()}},{key:"setSortEnabled",value:function(t){this.ui.setSortEnabled(t)}},{key:"setSortMode",value:function(t){this.ui.setSortMode(t)}},{key:"updateSearchMode",value:function(t){this.jobSearch.setSortMode(t)}},{key:"applySelectedFilters",value:function(){this.activeFilters=(0,ir.cloneDeep)(this.selectedFilters)}},{key:"handleNoResultsNewSearch",value:function(){this.ui.clearFilters()}},{key:"selectFilter",value:function(t,e){var r=this.selectedFilters.get(t);r||(r=new Set,this.selectedFilters.set(t,r)),r.add(JSON.stringify(e)),this.ui.selectedFiltersChanged()}},{key:"deselectFilter",value:function(t,e){var r=this.selectedFilters.get(t);r&&(r.delete(JSON.stringify(e)),r.size||this.selectedFilters.delete(t),this.ui.selectedFiltersChanged())}},{key:"getActiveFiltersCount",value:function(){return t.getFiltersCount(this.activeFilters)}},{key:"getSelectedFiltersCount",value:function(){return t.getFiltersCount(this.selectedFilters)}}])&&Rg(e.prototype,r),i&&Rg(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Vg=[],qg="rad-save-job--hidden",zg=function(t){Vg.unshift(t);var e=Vg.join("|");Wl("AnonSavedJobs",e)},jg=function(t){Vg.splice(Vg.indexOf(t),1);var e=Vg.join("|");Wl("AnonSavedJobs",e)},Gg=function(t){t.querySelectorAll(".rad-icon-button").forEach((function(t){t.classList.toggle(qg)}))},Hg=function(t){var e=t.getAttribute("data-job-id"),r=t.getAttribute("job-title");Vg.includes(e)?t.setAttribute("aria-label","".concat(t.querySelector(".rad-discard-job-button").getAttribute("data-icon-label")," ").concat(r)):t.setAttribute("aria-label","".concat(t.querySelector(".rad-save-job-button").getAttribute("data-icon-label")," ").concat(r))},Wg=function(t){var e=$l("AnonSavedJobs");if(e.length>0){Vg=e.split("|");var r=t.getAttribute("data-job-id");Vg.includes(r)&&Gg(t)}Hg(t),t.addEventListener("click",(function(t){!function(t){var e=t.target.closest(".rad-save-job"),r=e.getAttribute("data-job-id");Vg.includes(r)?jg(r):zg(r),Gg(e),Hg(e)}(t)}))};function $g(t){return $g="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},$g(t)}function Ug(t){return function(t){if(Array.isArray(t))return Yg(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Yg(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yg(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Yg(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function Xg(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==$g(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==$g(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===$g(a)?a:String(a)),i)}var n,a}var Kg="noResultsNewSearchEvent",Zg=function(){function t(e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.cardsContainer=e.querySelector(".rad-job-cards__list"),this.jobGeo=this.cardsContainer.getAttribute("data-countryselector"),this.jobSearch=r,this.noResultsContent=e.querySelector(".rad-job-search__no-results"),this.noResultsNewSearchButton=e.querySelector(".no-results__new-search-button"),this.noResultsLottie=e.querySelector(".no-results__lottie-player"),this.replaceCards(i)}var e,r,i;return e=t,(r=[{key:"createJobCard",value:function(t){var e=t.jobDescription,r=t.jobDetailUrl,i=t.jobProfile,n=t.jobScheduleDescription,a=t.jobTypeDescription,s=t.location,o=t.qualification,l=t.requisitionId,c=t.title,h=t.guid,u=Yr('<div class="rad-filters-vertical__job-card"> <div class="rad-filters-vertical__job-card-header"> <div class="rad-filters-vertical__job-card-title"> Workday Certified Financials QTC (Quote To Cash) Lead </div> <button class="rad-filters-vertical__job-card-toggle rad-accordion-atom__toggle--animated rad-icon-button rad-icon-button--square rad-icon-button--square-universal"> <div class="rad-icon-button__text">Expand job details</div> <div class="rad-icon" aria-hidden="true"></div> <div class="rad-icon" aria-hidden="true"></div> </button> <div class="rad-filters-vertical__job-card-details"> <span class="rad-filters-vertical__job-card-details-location">Los Angeles, CA</span> <span class="rad-filters-vertical__job-card-details-schedule">Full time</span> <span class="rad-filters-vertical__job-card-details-type">Executive</span> </div> </div> <div class="rad-filters-vertical__job-card-content-wrapper rad-accordion-atom__content-wrapper"> <div class="rad-filters-vertical__job-card-content"> <div class="rad-filters-vertical__job-card-content-job-title-and-number"> <div class="rad-filters-vertical__job-card-content-standard-title"> Job: <span class="rad-filters-vertical__job-card-content-standard-title-dynamic-text">Accenture CTI (Cyber Threat Intelligence) Security Industry Manager</span> </div> <div class="rad-filters-vertical__job-card-content-job-number"> Job Number: <span class="rad-filters-vertical__job-card-content-job-number-dynamic-text">R00157972</span> </div> </div> <div class="rad-filters-vertical__job-card-content-job-description"> <div class="rad-filters-vertical__job-card-content-job-description-title">Job description</div> <div class="rad-filters-vertical__job-card-content-job-description-dynamic-text"> This position involves working as a CTI subject matter expert (SME) in support of Accenture’s Security Industry Practice. In this role, you will be the face of Accenture CTI, supporting Client Account Leaders, facilitating client engagement, and briefing executive audiences. Leaders, facilitating client engagement, and briefing executive audiences. </div> </div> <div class="rad-filters-vertical__job-card-content-job-qualifications"> <div class="rad-filters-vertical__job-card-content-job-qualifications-title">Qualifications</div> <div class="rad-filters-vertical__job-card-content-job-qualifications-dynamic-markup"> <ul> <li>Minimum of 4 years of experience working in or closely with the Resources (Energy, Chemicals, Energy, Natural Resources, and Utilities)</li> <li>Minimum of 3 years of experience briefing and presenting in front of clients and large industry groups at conferences and conventions</li> <li>Minimum of 3 years of experience/knowledge of advanced cyber threats, threat vectors, methodology, etc.</li> <li>Minimum of 3 years of experience writing Cyber Threat Intelligence products and white papers in clear language for presentation to senior leadership</li> <li>Minimum of a bachelor\'s degree or equivalent (minimum 12 years work experience). (If Associate’s Degree, must have minimum 6 years work experience)</li> </ul> <ol> <li>Ordered list item 1</li> <li>Ordered list item 2</li> <li>Ordered list item 3</li> </ol> <p> Normal text <strong>Bold test</strong> Normal text <em>Italics test</em> Normal text <b>Bold test</b> Normal text <i>Italics test</i> Normal text </p> <h1>H1 test</h1> <h2>H2 test</h2> <h3>H3 test</h3> <h4>H4 test</h4> <h5>H5 test</h5> <h6>H6 test</h6> Multiple line breaks test <br> With <a href="#">a link</a> and a <br> </div> </div> <div class="rad-filters-vertical__job-card-content-buttons"> <button class="rad-save-job rad-save-job--display-title" data-job-id=""> <div class="rad-save-job-button rad-icon-button rad-icon-button--secondary" title="Save" data-icon-label="Save"> <div class="rad-icon-button__text">Select to save job</div> <div class="rad-icon rad-icon__favorite-default" aria-hidden="true"></div> </div> <div class="rad-discard-job-button rad-save-job--hidden rad-icon-button rad-icon-button--secondary" title="Unsave" data-icon-label="Saved"> <div class="rad-icon-button__text">Select to discard job</div> <div class="rad-icon rad-icon__favorite-active" aria-hidden="true"></div> </div> </button> <a href="#" class="rad-filters-vertical__job-card-content-link-button rad-button rad-button--tertiary"> <div class="rad-button__text">Read full job description</div> <div class="rad-button__icon-right rad-icon rad-icon__chevron-right rad-icon--compact" aria-hidden="true"></div> </a> </div> </div> </div> </div> '),d=1===s.length?s[0]:"Various locations",p=r.replace("{0}",this.jobGeo),f=this.cardsContainer.getAttribute("data-save-label"),m=this.cardsContainer.getAttribute("data-unsave-label"),g=this.cardsContainer.getAttribute("data-unsave-tooltip"),v=this.cardsContainer.getAttribute("data-save-tooltip"),y=this.cardsContainer.getAttribute("data-link-action");return Ur(u,".rad-filters-vertical__job-card-title","textContent",c),Ur(u,".rad-filters-vertical__job-card-details-location","textContent",d),Ur(u,".rad-filters-vertical__job-card-details-schedule","textContent",n),Ur(u,".rad-filters-vertical__job-card-details-type","textContent",a),Ur(u,".rad-filters-vertical__job-card-content-standard-title-dynamic-text","textContent",i),Ur(u,".rad-filters-vertical__job-card-content-job-number-dynamic-text","textContent",l),Ur(u,".rad-filters-vertical__job-card-content-job-description-dynamic-text","innerHTML",e),Ur(u,".rad-filters-vertical__job-card-content-job-qualifications-dynamic-markup","innerHTML",o),Ur(u,".rad-filters-vertical__job-card-content-link-button","href",p),Ur(u,".rad-save-job","jobId",h,"data"),Ur(u,".rad-save-job","job-title",c,"attribute"),Ur(u,".rad-save-job-button","data-icon-label",f,"attribute"),Ur(u,".rad-discard-job-button","data-icon-label",m,"attribute"),Ur(u,".rad-save-job-button","title",v),Ur(u,".rad-discard-job-button","title",g),y.startsWith("_")?Ur(u,"a","target",y):Ur(u,"a","barbaTransition",y,"data"),Wg(u.querySelector(".rad-save-job")),u}},{key:"replaceCards",value:function(t){var e,r=this;if(t.length<1)return this.cardsContainer.replaceChildren(),void this.showNoResults();this.hideNoResults();var i=t.map((function(t){return r.createJobCard(t)})),n=i.map((function(t){var e=t.querySelector(".rad-filters-vertical__job-card-toggle"),r=t.querySelector(".rad-filters-vertical__job-card-content-wrapper");return new Vm(e,r)}));qm(n),(e=this.cardsContainer).replaceChildren.apply(e,Ug(i))}},{key:"showNoResults",value:function(){var t,e=this;this.noResultsContent.classList.add("rad-job-search__no-results--visible"),null===(t=this.noResultsLottie)||void 0===t||t.play(),this.noResultsNewSearchButton.addEventListener("click",(function(){var t=new CustomEvent(Kg,{bubbles:!0});e.noResultsNewSearchButton.dispatchEvent(t),e.hideNoResults(),e.cardsContainer.replaceChildren()}))}},{key:"hideNoResults",value:function(){this.noResultsContent.classList.remove("rad-job-search__no-results--visible")}}])&&Xg(e.prototype,r),i&&Xg(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Jg(t){return Jg="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},Jg(t)}function Qg(t){return function(t){if(Array.isArray(t))return tv(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return tv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tv(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function ev(){ev=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof d?e:d,s=Object.create(a.prototype),o=new C(n||[]);return i(s,"_invoke",{value:E(t,r,o)}),s}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var u={};function d(){}function p(){}function f(){}var m={};l(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(P([])));v&&v!==e&&r.call(v,a)&&(m=v);var y=f.prototype=d.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,a,s,o){var l=h(t[i],t,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==Jg(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,o)}),(function(t){n("throw",t,s,o)})):e.resolve(u).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,o)}))}o(l.arg)}var a;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return a=a?a.then(i,i):i()}})}function E(t,e,r){var i="suspendedStart";return function(n,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===n)throw a;return A()}for(r.method=n,r.arg=a;;){var s=r.delegate;if(s){var o=S(s,r);if(o){if(o===u)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var l=h(t,e,r);if("normal"===l.type){if(i=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i="completed",r.method="throw",r.arg=l.arg)}}}function S(t,e){var r=e.method,i=t.iterator[r];if(void 0===i)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),u;var n=h(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return p.prototype=f,i(y,"constructor",{value:f,configurable:!0}),i(f,"constructor",{value:p,configurable:!0}),p.displayName=l(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,l(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(_.prototype),l(_.prototype,s,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,i,n,a){void 0===a&&(a=Promise);var s=new _(c(e,r,i,n),a);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},b(y),l(y,o,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var i in e)r.push(i);return r.reverse(),function t(){for(;r.length;){var i=r.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=P,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=void 0),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var o=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(o&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var n=i.arg;w(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function rv(t,e,r,i,n,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(i,n)}function iv(t){return function(){var e=this,r=arguments;return new Promise((function(i,n){var a=t.apply(e,r);function s(t){rv(a,i,n,s,o,"next",t)}function o(t){rv(a,i,n,s,o,"throw",t)}s(void 0)}))}}function nv(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Jg(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Jg(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Jg(a)?a:String(a)),i)}var n,a}var av="radJobSearchInputChanged",sv=240,ov="rad-search-bar--desktop-default-mode",lv="rad-search-bar__intro-animation--playing",cv="rad-search-bar__intro-animation--hidden",hv="rad-search-bar__desktop-input-overlay--expanded",uv="dekstop-input-overlay__text--visible",dv="rad-search-bar--desktop-typing-mode",pv="rad-search-bar--desktop-display-mode",fv="rad-search-bar--desktop-display-typing-mode",mv="rad-search-bar__pro-tip--desktop-visible",gv="rad-search-bar__pro-tip--hide",vv="rad-search-bar--mobile-typing-mode",yv="rad-search-bar__max-char-message--visible",bv="rad-search-bar--autocomplete-active",_v=function(){function t(e){var r=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.component=e,this.searchBar=e.querySelector(".rad-search-bar"),this.introAnimation=e.querySelector(".rad-search-bar__intro-animation"),this.typedTextContainer=e.querySelector(".rad-search-bar__typing"),this.inputOverlay=e.querySelector(".rad-search-bar__desktop-input-overlay"),this.inputOverlayText=this.inputOverlay.querySelector(".desktop-input-overlay__text"),this.proTip=e.querySelector(".rad-search-bar__pro-tip"),this.radTextBox=e.querySelector(".rad-search-bar__textbox"),this.searchInput=e.querySelector(".rad-search-bar__search-input"),this.mobileInputBackButton=e.querySelector(".rad-search-bar__mobile-input-back-button"),this.maxCharMessage=e.querySelector(".rad-search-bar__max-char-message"),this.desktopClearSearchButton=e.querySelector(".rad-search-bar__desktop-clear-search-button"),this.mobileClearSearchButton=e.querySelector(".rad-search-bar__mobile-clear-search-button"),this.typeAheadList=e.querySelector(".rad-search-bar__typeahead"),this.state={desktopTypingMode:!1,desktopDisplayMode:!1,desktopDefaultMode:!1,hasSearchTerm:!1,introAnimationAborted:!1,autoCompleteActive:!1},this.init(e),this.addSearchBarEventListeners(),(Rl().md||Rl().lg||Rl().xl)&&setTimeout((function(){r.searchBarAnimation()}),sv)}var e,r,i,n,a;return e=t,r=[{key:"init",value:(a=iv(ev().mark((function t(){return ev().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.fetchTypeAheadSuggestions();case 2:this.typeAheadData=t.sent;case 3:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"fetchTypeAheadSuggestions",value:(n=iv(ev().mark((function t(){var e,r,i;return ev().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(null!==(e=sessionStorage.getItem("typeAheadData"))){t.next=14;break}if((r=new FormData).append("country","USA"),r.append("language","en"),!location.hostname.includes("author-")){t.next=11;break}return t.next=8,Pr();case 8:t.t0=t.sent,t.next=12;break;case 11:t.t0="";case 12:return i=t.t0,t.abrupt("return",fetch("/api/accenture/elastic/autocomplete",{body:r,headers:{"CSRF-Token":i},method:"post"}).then((function(t){return t.json()})).then((function(t){return sessionStorage.setItem("typeAheadData",JSON.stringify(t)),t})));case 14:return t.abrupt("return",JSON.parse(e));case 15:case"end":return t.stop()}}),t)}))),function(){return n.apply(this,arguments)})},{key:"addSearchBarEventListeners",value:function(){var t=this;this.searchInput.addEventListener("focus",(function(){t.searchInputFocus()})),this.searchInput.addEventListener("input",(function(e){t.handleUserSearchInput(e)})),this.mobileInputBackButton.addEventListener("click",(function(){t.closeMobileTypingMode()})),this.mobileClearSearchButton.addEventListener("click",(function(){t.state.desktopTypingMode&&t.handleSearchInputClear()})),this.searchInput.addEventListener("radTextboxCleared",(function(){t.handleSearchInputClear()})),this.searchInput.addEventListener("keydown",(function(e){if("Enter"===e.key){e.stopImmediatePropagation();var r=t.searchInput.getAttribute("aria-activedescendant");if(t.state.autoCompleteActive&&r){var i=t.typeAheadList.querySelector('[aria-selected="true"]');return void t.applySuggestionToSearchTerm(i)}t.searchInput.value.length>0?t.handleSearchSubmit():Rl().xs||Rl().sm||t.setDesktopTypingMode()}})),this.introAnimation.addEventListener("click",(function(){t.abortIntroAnimation()}),{once:!0}),this.desktopClearSearchButton.addEventListener("click",(function(){t.handleSearchInputClear()}))}},{key:"setTypeAheadEventListeners",value:function(){var t=this;this.typeAheadList.querySelectorAll(".autocomplete__option").forEach((function(e){e.addEventListener("click",(function(){t.updateSelectedSuggestion(e),t.applySuggestionToSearchTerm(e)}))})),this.searchInput.addEventListener("keydown",(function(t){"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),t.stopImmediatePropagation())})),this.searchInput.addEventListener("keyup",(function(e){if("ArrowDown"===e.key){e.stopImmediatePropagation();var r=t.typeAheadList.querySelector('[aria-selected="true"]');if(r){var i=r.nextElementSibling;t.updateSelectedSuggestion(i)}else{var n=t.typeAheadList.firstElementChild;t.updateSelectedSuggestion(n)}}if("ArrowUp"===e.key){e.stopImmediatePropagation();var a=t.typeAheadList.querySelector('[aria-selected="true"]').previousElementSibling;a&&t.updateSelectedSuggestion(a)}}))}},{key:"resetOverlayText",value:function(){var t=this.searchInput.getAttribute("placeholder");this.inputOverlayText.textContent=t}},{key:"updateSelectedSuggestion",value:function(t){this.typeAheadList.querySelectorAll(".autocomplete__option").forEach((function(t){t.setAttribute("aria-selected","false")}));var e=t.getAttribute("id");t.setAttribute("aria-selected","true"),this.searchInput.setAttribute("aria-activedescendant",e)}},{key:"showAutoComplete",value:function(){this.state.autoCompleteActive=!0,this.proTip.classList.remove(mv),this.searchBar.classList.add(bv),this.searchInput.setAttribute("aria-expanded","true"),this.typeAheadList.classList.add("rad-search-bar__typeahead--visible"),this.setTypeAheadEventListeners()}},{key:"closeAutoComplete",value:function(){this.state.autoCompleteActive=!1,this.searchBar.classList.remove(bv),this.typeAheadList.classList.remove("rad-search-bar__typeahead--visible"),this.searchInput.removeAttribute("aria-activedescendant"),this.searchInput.setAttribute("aria-expanded","false"),this.typeAheadList.querySelectorAll(".autocomplete__option").forEach((function(t){t.setAttribute("aria-selected","false")}))}},{key:"applySuggestionToSearchTerm",value:function(t){var e=t.textContent.trim();this.searchInput.value=e,this.handleSearchSubmit()}},{key:"getAutoCompleteSuggestions",value:function(t){var e=t.toLowerCase(),r=this.typeAheadData.filter((function(t){return t.toLowerCase().includes(e)}));if(r.length>0){var i=r.slice(0,5);this.buildAutoSuggestList(i,t)}else this.closeAutoComplete()}},{key:"buildAutoSuggestList",value:function(t,e){var r,i=t.length,n=new RegExp("".concat(e),"i"),a=t.map((function(t,e){var r='<li aria-selected="false" id="autocomplete__option--'.concat(e,'" class="autocomplete__option" role="option" tabindex="-1" aria-posinset="').concat(e+1,'" aria-setsize="').concat(i,'">').concat(t.replace(n,"<mark>$&</mark>"),"</li>");return Yr(r)}));(r=this.typeAheadList).replaceChildren.apply(r,Qg(a)),this.showAutoComplete()}},{key:"handleSearchInputClear",value:function(){this.resetOverlayText(),this.closeAutoComplete(),this.maxCharMessage.classList.remove(yv),this.proTip.classList.remove(gv,mv),this.searchInput.value="",this.state.hasSearchTerm=!1,Rl().xs||Rl().sm?this.closeMobileTypingMode():this.setDesktopDefaultMode(),this.dispatchInputChangedEvent()}},{key:"handleSearchSubmit",value:function(){this.closeAutoComplete(),this.state.hasSearchTerm=!0;var t=this.searchInput.value;this.inputOverlayText.textContent=t,this.proTip.classList.remove(mv,gv),this.maxCharMessage.remove(yv),Rl().xs||Rl().sm?this.closeMobileTypingMode():this.setDesktopDisplayMode(),this.dispatchInputChangedEvent()}},{key:"startNewSearch",value:function(){this.handleSearchInputClear(),this.searchInput.focus(),Rl().xs||Rl().sm?this.searchInputFocus():this.setDesktopTypingMode()}},{key:"handleBreakpointChange",value:function(){this.introAnimation.classList.remove(lv),this.inputOverlay.classList.remove(hv),this.proTip.classList.remove(mv,gv),this.searchBar.classList.remove(yv,fv,vv,ov,dv,pv),jr(!1),this.closeAutoComplete(),this.inputOverlay.removeAttribute("role"),this.inputOverlay.removeAttribute("tabindex"),Rl().xs&&Rl().sm||(this.state.hasSearchTerm?this.setDesktopDisplayMode():this.setDesktopDefaultMode())}},{key:"searchInputFocus",value:function(){Rl().xs||Rl().sm?(this.searchBar.classList.add(vv),jr(!0,this.searchBar)):this.state.desktopDefaultMode&&this.setDesktopTypingMode()}},{key:"handleUserSearchInput",value:function(t){var e=t.target.value;e.length>999&&(this.proTip.classList.remove(mv),this.proTip.classList.add(gv),this.closeAutoComplete(),this.maxCharMessage.classList.add(yv)),e.length>=2?this.getAutoCompleteSuggestions(e):this.closeAutoComplete()}},{key:"closeMobileTypingMode",value:function(){this.searchBar.classList.remove(vv),jr(!1,this.searchBar),this.state.hasSearchTerm&&this.mobileClearSearchButton.focus()}},{key:"completeIntroAnimation",value:function(){var t=this;Rl().xs||Rl().sm||(this.searchBar.classList.add(ov),this.introAnimation.classList.remove(lv),this.introAnimation.classList.add(cv),setTimeout((function(){t.inputOverlay.classList.add(hv),t.inputOverlayText.classList.add(uv)}),120),this.radTextBox.style.opacity="0",this.state.desktopDefaultMode=!0,setTimeout((function(){t.radTextBox.removeAttribute("style")}),120),this.inputOverlay.addEventListener("click",(function(){t.setDesktopTypingMode()}),{once:!0}))}},{key:"abortIntroAnimation",value:function(){this.state.introAnimationAborted=!0,this.introAnimation.classList.remove(lv),this.introAnimation.classList.add(cv),this.setDesktopTypingMode()}},{key:"handleSearchInputBlur",value:function(){Rl().xs||Rl().sm||this.state.autoCompleteActive||(this.state.desktopTypingMode&&this.state.hasSearchTerm?this.setDesktopDisplayMode():!this.state.desktopTypingMode&&!this.state.desktopDefaultMode||this.state.hasSearchTerm||this.setDesktopDefaultMode())}},{key:"setDesktopTypingMode",value:function(){var t=this;Rl().xs||Rl().sm||(this.state.desktopTypingMode=!0,this.state.desktopDisplayMode=!1,this.state.desktopDefaultMode=!1,this.state.desktopDisplayTypingMode=!1,this.searchBar.classList.remove(pv,ov,fv),this.searchBar.classList.add(dv),this.inputOverlay.classList.remove(hv),this.inputOverlay.removeAttribute("role"),this.inputOverlay.removeAttribute("tabindex"),this.proTip.classList.add(mv),this.searchInput.focus(),this.searchInput.addEventListener("blur",(function(){t.handleSearchInputBlur()}),{once:!0}))}},{key:"setDesktopDisplayMode",value:function(){var t=this;Rl().xs||Rl().sm||(this.closeAutoComplete(),this.searchInput.removeEventListener("blur",(function(){t.handleSearchInputBlur()}),{once:!0}),this.state.hasSearchTerm||this.setDesktopDefaultMode(),this.state.desktopDefaultMode=!1,this.state.desktopDisplayMode=!0,this.state.desktopDefaultMode=!1,this.state.desktopTypingMode=!1,this.searchBar.classList.add(pv),this.searchBar.classList.remove(ov,dv),this.inputOverlay.classList.add(hv),this.inputOverlayText.classList.add(uv),this.inputOverlay.removeAttribute("role"),this.inputOverlay.removeAttribute("tabindex"))}},{key:"setDesktopDefaultMode",value:function(){var t=this;Rl().xs||Rl().sm||(this.searchInput.removeEventListener("blur",(function(){t.handleSearchInputBlur()}),{once:!0}),this.closeAutoComplete(),this.state.desktopDefaultMode=!0,this.state.desktopDisplayMode=!1,this.state.desktopDefaultMode=!1,this.state.desktopDisplayTypingMode=!1,this.resetOverlayText(),this.proTip.classList.remove(mv),this.searchBar.classList.add(ov),this.searchBar.classList.remove(dv,pv,fv),this.inputOverlay.classList.add(hv),this.inputOverlayText.classList.add(uv),setTimeout((function(){t.inputOverlay.addEventListener("click",(function(){t.setDesktopTypingMode()}),{once:!0})}),sv))}},{key:"searchBarAnimation",value:function(){var t=this,e=this.typedTextContainer,r=function(){if(!t.state.introAnimationAborted)var r=0,i=setInterval((function(){r>=3?(clearInterval(i),e.classList.remove("rad-search-bar__typing--cursor-blinking"),setTimeout((function(){!function(){if(!t.state.introAnimationAborted)var e=t.typedTextContainer.querySelectorAll("span"),r=e.length-1,i=setInterval((function(){r<0?(clearInterval(i),t.completeIntroAnimation()):(e[r].classList.remove("show"),r--)}),60)}()}),sv)):(e.classList.toggle("rad-search-bar__typing--cursor-blinking"),r++)}),sv)},i=document.querySelector(".rad-search-bar__typing").textContent.split("");this.typedTextContainer.innerHTML="",i.forEach((function(e){var r=document.createElement("span");r.append(e),t.typedTextContainer.append(r)})),this.introAnimation.classList.add("rad-search-bar__intro-animation--playing");var n=this.typedTextContainer.querySelectorAll("span");n[0].classList.add("show"),function(){if(!t.state.introAnimationAborted)var e=0,i=setInterval((function(){e>=n.length?(clearInterval(i),r()):(n[e].classList.add("show"),e++)}),120)}()}},{key:"dispatchInputChangedEvent",value:function(){var t=new CustomEvent(av,{bubbles:!0});this.searchInput.dispatchEvent(t)}}],r&&nv(e.prototype,r),i&&nv(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ev(t){return Ev="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},Ev(t)}function Sv(t){return function(t){if(Array.isArray(t))return xv(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return xv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xv(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function wv(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Ev(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Ev(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Ev(a)?a:String(a)),i)}var n,a}var Cv="radPaginationChanged",Pv=function(){function t(e,r,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.atom=e,this.current=r,this.max=i,this.previousButton=this.atom.querySelector(".rad-pagination__previous"),this.nextButton=this.atom.querySelector(".rad-pagination__next"),this.setCurrentPage(r),this.initPreviousNextButtons(),this.initMobileSelect(),this.initDesktopButtons(),this.atom.classList.add("rad-pagination--initialized")}var e,r,i;return e=t,r=[{key:"initPreviousNextButtons",value:function(){var t=this;this.previousButton.addEventListener("click",(function(){t.setCurrentPage(t.current-1,t.previousButton)})),this.previousButton.addEventListener("keydown",(function(e){"ArrowRight"===e.key&&(e.preventDefault(),t.atom.querySelector(".rad-pagination__pages").firstElementChild.focus())})),this.nextButton.addEventListener("click",(function(){t.setCurrentPage(t.current+1,t.nextButton)})),this.nextButton.addEventListener("keydown",(function(e){"ArrowLeft"===e.key&&(e.preventDefault(),t.atom.querySelector(".rad-pagination__pages").lastElementChild.focus())}))}},{key:"initMobileSelect",value:function(){var t=this;this.buildMobileOptions();var e=this.atom.querySelector(".rad-pagination__mobile-pages-select");e.addEventListener("change",(function(){var r=parseInt(e.value,10);t.setCurrentPage(r,e)}))}},{key:"buildMobileOptions",value:function(){for(var t=this.atom.querySelector(".rad-pagination__mobile-pages-select"),e=[],r=1;r<=this.max;r++){var i=document.createElement("option");i.value=r,i.textContent=r,e.push(i)}t.replaceChildren.apply(t,e),t.value=this.current,this.atom.querySelector(".rad-pagination__mobile-pages-current-page").textContent=this.current,this.atom.querySelector(".rad-pagination__mobile-pages-maximum-page").textContent=this.max}},{key:"initDesktopButtons",value:function(){var e=this.atom.querySelector(".rad-pagination__pages"),r=t.getDesktopPageButtons(this.current,this.max);e.replaceChildren.apply(e,Sv(this.createDesktopButtonsList(r)))}},{key:"setCurrentPage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(this.current=t,1===t?this.previousButton.setAttribute("disabled",""):this.previousButton.removeAttribute("disabled"),t===this.max?this.nextButton.setAttribute("disabled",""):this.nextButton.removeAttribute("disabled"),e){var r=new CustomEvent(Cv,{detail:{page:t},bubbles:!0});e.dispatchEvent(r),this.setMobilePage(t),this.setDesktopPage(t)}}},{key:"setMobilePage",value:function(t){var e=this.atom.querySelector(".rad-pagination__mobile-pages-select"),r=this.atom.querySelector(".rad-pagination__mobile-pages-current-page");e.value=t,r.textContent=t}},{key:"createDesktopButtonsList",value:function(t){var e=this,r=[];return t.forEach((function(t){var i=e.createDesktopButton(t);r.push(i)})),r}},{key:"createDesktopButton",value:function(t){var e=this;if("..."===t)return Yr('<div class="rad-pagination__page-number-gap"></div>');var r=Yr('<button class="rad-pagination__page-number'.concat(t===this.current?" rad-pagination__page-number--selected":"",'">\n <div class="rad-pagination__page-number-sr-text">Page</div>\n <div class="rad-pagination__page-number-inner">').concat(t,"</div>\n </button>"));return r.addEventListener("click",(function(){var i=t;e.current!==i&&e.setCurrentPage(i,r)})),r.addEventListener("keydown",(function(t){if("ArrowLeft"===t.key){var i;t.preventDefault();for(var n=r.previousElementSibling;n&&!(n instanceof HTMLButtonElement);)n=n.previousElementSibling;(n=null!==(i=n)&&void 0!==i?i:e.previousButton).focus()}else if("ArrowRight"===t.key){var a;t.preventDefault();for(var s=r.nextElementSibling;s&&!(s instanceof HTMLButtonElement);)s=s.nextElementSibling;(s=null!==(a=s)&&void 0!==a?a:e.nextButton).focus()}})),r}},{key:"setDesktopPage",value:function(e){var r,i=this.atom.querySelector(".rad-pagination__pages"),n=t.getDesktopPageButtons(e,this.max),a=this.createDesktopButtonsList(n);if(i.querySelectorAll(".rad-pagination__page-number").forEach((function(i){r||t.getPageButtonNumber(i)===e&&(r=i)})),r){for(;i.firstElementChild!==r;)i.firstElementChild.remove();for(;i.lastElementChild!==r;)i.lastElementChild.remove();var s=a.findIndex((function(r){return!!r.classList.contains("rad-pagination__page-number")&&t.getPageButtonNumber(r)===e}));i.prepend.apply(i,Sv(a.slice(0,s))),r.classList.add("rad-pagination__page-number--selected"),i.append.apply(i,Sv(a.slice(s+1)))}else i.replaceChildren.apply(i,Sv(a))}},{key:"updatePages",value:function(t,e){this.max=e,this.setCurrentPage(t),this.buildMobileOptions(),this.initDesktopButtons()}}],i=[{key:"getPageButtonNumber",value:function(t){var e,r=null===(e=t.querySelector(".rad-pagination__page-number-inner"))||void 0===e?void 0:e.textContent;return parseInt(r,10)}},{key:"getDesktopPageButtons",value:function(t,e){var r=[];if(e<=6){for(var i=1;i<=e;i++)r.push(i);return r}var n={minimum:Math.max(t-2,1),maximum:Math.min(t+2,e)};n.maximum-n.minimum!=4&&(1===n.minimum?n.maximum=n.minimum+4:n.minimum=n.maximum-4),n.minimum>1&&r.push(1),n.minimum-1>1&&r.push("...");for(var a=n.minimum;a<=n.maximum;)r.push(a),a++;return e-a>=1&&r.push("..."),e>=a&&r.push(e),r}}],r&&wv(e.prototype,r),i&&wv(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Av(t){return Av="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},Av(t)}function Tv(t){return function(t){if(Array.isArray(t))return kv(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return kv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return kv(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function kv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function Lv(){Lv=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},n="function"==typeof Symbol?Symbol:{},a=n.iterator||"@@iterator",s=n.asyncIterator||"@@asyncIterator",o=n.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var a=e&&e.prototype instanceof d?e:d,s=Object.create(a.prototype),o=new C(n||[]);return i(s,"_invoke",{value:E(t,r,o)}),s}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var u={};function d(){}function p(){}function f(){}var m={};l(m,a,(function(){return this}));var g=Object.getPrototypeOf,v=g&&g(g(P([])));v&&v!==e&&r.call(v,a)&&(m=v);var y=f.prototype=d.prototype=Object.create(m);function b(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){function n(i,a,s,o){var l=h(t[i],t,a);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==Av(u)&&r.call(u,"__await")?e.resolve(u.__await).then((function(t){n("next",t,s,o)}),(function(t){n("throw",t,s,o)})):e.resolve(u).then((function(t){c.value=t,s(c)}),(function(t){return n("throw",t,s,o)}))}o(l.arg)}var a;i(this,"_invoke",{value:function(t,r){function i(){return new e((function(e,i){n(t,r,e,i)}))}return a=a?a.then(i,i):i()}})}function E(t,e,r){var i="suspendedStart";return function(n,a){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===n)throw a;return A()}for(r.method=n,r.arg=a;;){var s=r.delegate;if(s){var o=S(s,r);if(o){if(o===u)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===i)throw i="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);i="executing";var l=h(t,e,r);if("normal"===l.type){if(i=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(i="completed",r.method="throw",r.arg=l.arg)}}}function S(t,e){var r=e.method,i=t.iterator[r];if(void 0===i)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),u;var n=h(i,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,u;var a=n.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,u):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,u)}function x(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function w(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,n=function e(){for(;++i<t.length;)if(r.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return n.next=n}}return{next:A}}function A(){return{value:void 0,done:!0}}return p.prototype=f,i(y,"constructor",{value:f,configurable:!0}),i(f,"constructor",{value:p,configurable:!0}),p.displayName=l(f,o,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,f):(t.__proto__=f,l(t,o,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},b(_.prototype),l(_.prototype,s,(function(){return this})),t.AsyncIterator=_,t.async=function(e,r,i,n,a){void 0===a&&(a=Promise);var s=new _(c(e,r,i,n),a);return t.isGeneratorFunction(r)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},b(y),l(y,o,"Generator"),l(y,a,(function(){return this})),l(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var i in e)r.push(i);return r.reverse(),function t(){for(;r.length;){var i=r.pop();if(i in e)return t.value=i,t.done=!1,t}return t.done=!0,t}},t.values=P,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(r,i){return s.type="throw",s.arg=t,e.next=r,i&&(e.method="next",e.arg=void 0),!!i}for(var n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var o=r.call(a,"catchLoc"),l=r.call(a,"finallyLoc");if(o&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(o){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var a=n;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var s=a?a.completion:{};return s.type=t,s.arg=e,a?(this.method="next",this.next=a.finallyLoc,u):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),u}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var i=r.completion;if("throw"===i.type){var n=i.arg;w(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:P(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},t}function Dv(t,e,r,i,n,a,s){try{var o=t[a](s),l=o.value}catch(t){return void r(t)}o.done?e(l):Promise.resolve(l).then(i,n)}function Iv(t){return function(){var e=this,r=arguments;return new Promise((function(i,n){var a=t.apply(e,r);function s(t){Dv(a,i,n,s,o,"next",t)}function o(t){Dv(a,i,n,s,o,"throw",t)}s(void 0)}))}}function Mv(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==Av(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==Av(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===Av(a)?a:String(a)),i)}var n,a}var Ov="rad-job-search--filters-loading",Fv="rad-job-search--cards-loading",Rv=0,Nv=2,Bv=[],Vv={"location.keyword":"location","jobFamilyGroup.keyword":"jobFunction","jobScheduleDescription.keyword":"jobType","jobTypeDescription.keyword":"experience","education.keyword":"education"},qv=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.component=e,this.searchBar=new _v(e),this.filters=new Bg(this.component,this);var r=this.component.querySelector(".rad-job-search__filters-and-cards").dataset;this.jobCountry=(null==r?void 0:r.countrycode)||"USA",this.jobLanguage=(null==r?void 0:r.languageCode)||"en",this.countrySite=(null==r?void 0:r.countryselector)||"us-en",this.minScore=parseFloat(null==r?void 0:r.minscore)||.7,this.init()}var e,r,i,n,a,s,o;return e=t,r=[{key:"init",value:(o=Iv(Lv().mark((function t(){var e;return Lv().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.sortDropdown=this.component.querySelector(".rad-job-cards__sort-dropdown"),this.sortDropdownToggle=this.sortDropdown.querySelector(".rad-dropdown__category"),this.sortMode=parseInt(this.sortDropdown.querySelector(".rad-dropdown__list-item--selected").dataset.sortbyMode,10),t.next=5,this.fetchFindJobs();case 5:e=t.sent,this.filters.init(e),this.updateResultsCount(e.totalHits),this.jobCards=new Zg(this.component,this,e.data),this.paginationElement=this.component.querySelector(".rad-job-search__pagination"),this.pagination=new Pv(this.paginationElement,1,Math.ceil(e.totalHits/12)),this.component.classList.remove(Ov),this.initComponentListeners(),this.sorterInit();case 14:case"end":return t.stop()}}),t,this)}))),function(){return o.apply(this,arguments)})},{key:"initComponentListeners",value:function(){var t=this;this.component.addEventListener(av,(function(e){e.target.value?t.setSortMode(Rv):t.setSortMode(Nv),t.newSearch()})),this.component.addEventListener(Ng,(function(){t.newSearch()})),this.component.addEventListener(Cv,(function(){t.updatePage()})),this.component.addEventListener(Lp,(function(e){t.setSortMode(parseInt(e.detail.selectedItem.dataset.sortbyMode,10)),t.newSearch()})),this.component.addEventListener(Kg,(function(){t.filters.handleNoResultsNewSearch(),t.searchBar.startNewSearch()})),this.component.addEventListener(Mg,(function(){t.scrollToResultsTop()}))}},{key:"newSearch",value:(s=Iv(Lv().mark((function t(){var e,r,i,n;return Lv().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.component.classList.add(Ov),this.pagination.setCurrentPage(1),t.next=4,this.fetchFindJobs();case 4:e=t.sent,this.filters.updateFilters(e),this.updateResultsCount(e.totalHits),this.jobCards.replaceCards(e.data),this.updatePagination(e.totalHits),this.component.classList.remove(Ov),(r=this.searchBar.searchInput.value.toLowerCase().trim()).length<1&&(r="no keyword input"),gr()&&(this.searchBar.searchInput.value.length>0&&(e.totalHits>0?window.adobeDataLayer.push({event:"cmp:jobSearchWithResults",data:{keyword:r,resultCount:e.totalHits}}):e.totalHits<1&&window.adobeDataLayer.push({event:"cmp:jobSearchWithOutResults",data:{keyword:r}})),this.filters.activeFilters.size>0&&e.totalHits>0&&(n={},this.filters.activeFilters.forEach((function(t,e){var r=Array.from(t).map((function(t){return JSON.parse(t).term.toLowerCase()}));n[Vv[e]]=r.join(";")})),n.resultCount=e.totalHits,null===(i=window.adobeDataLayer)||void 0===i||i.push({event:"cmp:jobSearchFilter",data:n})));case 13:case"end":return t.stop()}}),t,this)}))),function(){return s.apply(this,arguments)})},{key:"updateResultsCount",value:function(t){this.component.querySelector(".rad-job-cards__results-count").textContent=t,t<1&&this.setSortEnabled(!1)}},{key:"sorterInit",value:function(){var t=this,e=this.component.querySelector(".rad-job-search__search-container").dataset.analyticsTemplateZone||"";this.sortDropdown.dataset.cmpDataLayer='{"job-search-sort-by":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"Sort by","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"career search","analytics-template-zone":"').concat(e,'"}}'),yr(this.sortDropdown),this.sortDropdown.querySelectorAll(".rad-dropdown__list-item").forEach((function(t,r){t.dataset.cmpDataLayer='{"job-search-sort-by-'.concat(r+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"Sort by ').concat(t.textContent.trim(),'","analytics-link-type": "cta","analytics-engagement":"false","analytics-module-name":"career search","analytics-template-zone":"').concat(e,'"}}'),t.dataset.analyticsJobSortFilter="".concat(t.textContent.trim()),yr(t),t.addEventListener("click",(function(){gr()&&Er(t,"cmp:show")}))})),this.sortDropdown.addEventListener(Dp,(function(e){e.detail.isOpen&&Er(t.sortDropdown,"cmp:show")}))}},{key:"setSortMode",value:function(t){if(this.sortMode=t,t===Nv)return this.sortDropdown.querySelector(".rad-dropdown__category-title-selected-item").textContent="Newest",void this.setSortEnabled(!1);this.filters.setSortMode(t),this.setSortEnabled(!0),this.sortDropdown.querySelectorAll(".rad-dropdown__list-item").forEach((function(e){e.classList.toggle("rad-dropdown__list-item--selected",t===parseInt(e.dataset.sortbyMode,10))})),this.sortDropdown.querySelector(".rad-dropdown__category-title-selected-item").textContent=this.sortDropdown.querySelector(".rad-dropdown__list-item--selected").textContent}},{key:"updatePage",value:(a=Iv(Lv().mark((function t(){var e;return Lv().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return this.component.classList.add(Fv),t.next=3,this.fetchFindJobs();case 3:e=t.sent,this.jobCards.replaceCards(e.data),this.component.classList.remove(Fv),this.scrollToResultsTop();case 7:case"end":return t.stop()}}),t,this)}))),function(){return a.apply(this,arguments)})},{key:"scrollToResultsTop",value:function(){var t=this.component.querySelector(".rad-job-search__filters-and-cards").offsetTop;window.scrollTo(0,t)}},{key:"setSortEnabled",value:function(t){var e;this.sortDropdown.classList.toggle("rad-job-cards__sort-dropdown--disabled",!t),t?this.sortDropdownToggle.removeAttribute("disabled"):(this.sortDropdown.classList.remove("rad-dropdown--open"),this.sortDropdownToggle.setAttribute("disabled","")),null===(e=this.filters)||void 0===e||e.setSortEnabled(t)}},{key:"updatePagination",value:function(t){var e=Math.ceil(t/12);this.pagination.updatePages(1,e),this.paginationElement.classList.toggle("rad-job-search__pagination--hidden",e<=1)}},{key:"fetchFindJobs",value:(n=Iv(Lv().mark((function t(){var e,r,i,n,a,s,o=this;return Lv().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=this.searchBar.searchInput.value,i=(null===(e=this.pagination)||void 0===e?void 0:e.current)||1,(n=new FormData).append("startIndex",12*(i-1)),n.append("maxResultSize",12),n.append("jobKeyword",r),n.append("jobCountry",this.jobCountry),n.append("jobLanguage",this.jobLanguage),n.append("countrySite",this.countrySite),n.append("sortBy",this.sortMode),n.append("searchType","vectorSearch"),n.append("enableQueryBoost",!0),n.append("minScore",this.minScore),n.append("getFeedbackJudgmentEnabled",!0),n.append("useCleanEmbedding",!0),n.append("score",!0),n.append("totalHits",!0),n.append("debugQuery",!1),a=Tv(this.filters.activeFilters.keys()).map((function(t){var e=o.filters.activeFilters.get(t);return{fieldName:t,items:Array.from(e).map((function(t){return JSON.parse(t).term})),multiSelect:!1}})),n.append("jobFilters",JSON.stringify(a)),!location.hostname.includes("author-")){t.next=26;break}return t.next=23,Pr();case 23:t.t0=t.sent,t.next=27;break;case 26:t.t0="";case 27:return s=t.t0,t.abrupt("return",fetch("/api/accenture/elastic/findjobs",{body:n,headers:{"CSRF-Token":s},method:"post"}).then((function(t){return t.json()})));case 29:case"end":return t.stop()}}),t,this)}))),function(){return n.apply(this,arguments)})},{key:"handleBreakpointChange",value:function(){this.searchBar.handleBreakpointChange()}}],r&&Mv(e.prototype,r),i&&Mv(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}();function zv(t){return function(t){if(Array.isArray(t))return jv(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return jv(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return jv(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jv(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var Gv,Hv={CARD:"rad-content-grid-card",CARDS_CONTAINER:"rad-card-grid__cards-container",ROW:"rad-card-grid__row",SLIDER:"rad-card-grid__slider",SLIDER_RECEIVER:"rad-card-grid__cards-viewport"},Wv={},$v=[],Uv={LOAD:"pageload",SCROLL:"scroll",CLICK:"click"},Yv=!1,Xv=Uv.LOAD,Kv=[],Zv=function(){Wv.CARD_OPEN_ADJUSTER=Wv.BASE.querySelector(".".concat(Hv.CARD_OPEN_ADJUSTER)),Wv.SLIDER=Wv.BASE.querySelector(".".concat(Hv.SLIDER)),Wv.SLIDER.addEventListener("input",(function(t){var e=parseInt(t.target.value,10)/parseInt(Wv.SLIDER.max,10)*(Wv.CARDS_CONTAINER.getBoundingClientRect().width-window.innerWidth);Wv.SLIDER_RECEIVER.scrollLeft=e})),Wv.SLIDER_RECEIVER.addEventListener("scroll",(function(t){var e=Wv.CARDS_CONTAINER.getBoundingClientRect().width-window.innerWidth,r=t.target.scrollLeft/e*parseInt(Wv.SLIDER.max,10);Wv.SLIDER.value=r}))},Jv=function(t,e){t.forEach((function(t){var e,r=(e=t.target).dataset.analyticsAssetId?"".concat(e.dataset.analyticsAssetId,":").concat(e.dataset.analyticsAssetPos):"card:".concat(e.dataset.analyticsAssetPos);t.isIntersecting&&!$v.includes(r)&&(Kv.push(r),$v.push(r))})),Kv.length?(clearTimeout(Gv),Gv=setTimeout((function(){!function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Uv.SCROLL;null===(e=window.adobeDataLayer)||void 0===e||e.push({event:"cmp:glance",eventInfo:{assetInfo:t,eventFlag:r,component:"rad-tilegridv2-card"}})}(Kv.toString(),Xv),Kv=[],Xv=Uv.SCROLL,$v.length===Wv.CARDS.length&&e.disconnect()}),500)):Yv||(Xv=Uv.SCROLL)},Qv=function(t){var e=t||document;if(Wv.BASE=e.querySelector(".rad-card-grid"),Wv.BASE&&(Wv.CARDS_CONTAINER=Wv.BASE.querySelector(".".concat(Hv.CARDS_CONTAINER)),Wv.CARDS=Wv.BASE.querySelectorAll(".".concat(Hv.CARD)),Wv.SLIDER_RECEIVER=Wv.BASE.querySelector(".".concat(Hv.SLIDER_RECEIVER)),Rl().xs?Zv():Wv.SLIDER_RECEIVER.scrollLeft=0,gr())){var r={root:null,rootMargin:"0px",threshold:Rl().xs||Rl().sm?1:.25},i=new IntersectionObserver(Jv,r);zv(Wv.CARDS).forEach((function(t){t.classList.contains(Hv.CARD_PLACE_HOLDER)||i.observe(t)})),window.addEventListener("load",(function(){Yv=!0})),window.addEventListener("radTransitionStarted",(function(){i.disconnect(),Xv=Uv.LOAD}))}};function ty(t){return ty="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},ty(t)}function ey(t){return function(t){if(Array.isArray(t))return ry(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return ry(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ry(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ry(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}function iy(t,e){for(var r=0;r<e.length;r++){var i=e[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,(n=i.key,a=void 0,a=function(t,e){if("object"!==ty(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,e||"default");if("object"!==ty(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(n,"string"),"symbol"===ty(a)?a:String(a)),i)}var n,a}var ny=[],ay={BASE:"rad-grid-card-carousel",CARD:"rad-content-grid-card",CARDS_CONTAINER:"rad-grid-card-carousel__cards-container",CARD_SIZE_MAINTAINER:"rad-grid-card-carousel__card-size-maintainer",CARD_WRAPPER:"rad-grid-card-carousel__card-wrapper",CELL:"flickity-cell",FLICKITY_VIEWPORT:"flickity-viewport",NEXT_BUTTON:"rad-grid-card-carousel__next",PREVIOUS_BUTTON:"rad-grid-card-carousel__previous",SLIDER:"rad__range-input-slider-for-carousel",SLIDER_RECEIVER:"rad-grid-card-carousel__slider-receiver",DOT:"flickity-page-dot",MINIMAL_CARDS:"rad-grid-card-carousel--min-cards"},sy={LOAD:"pageload",SCROLL:"scroll",CLICK:"click"},oy=function(){function t(e,r){var i=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.COMPONENTS={},this.COMPONENTS.BASE=e,this.COMPONENTS.CARDS_CONTAINER=e.querySelector(".".concat(ay.CARDS_CONTAINER)),this.COMPONENTS.CARDS=this.COMPONENTS.CARDS_CONTAINER.querySelectorAll(".".concat(ay.CARD)),this.wrapCards(),this.COMPONENTS.BASE.classList.remove(ay.MINIMAL_CARDS),this.COMPONENTS.PARENT_POSITION=r+1;var n=this.COMPONENTS.CARDS.length>=6&&Rl().sm;if(Rl().xs||this.COMPONENTS.CARDS.length<=3||n?(this.COMPONENTS.BASE.classList.add(ay.MINIMAL_CARDS),this.showCarouselControls()?this.COMPONENTS.BASE.querySelector(".".concat(ay.SLIDER)).style.display="block":this.COMPONENTS.BASE.querySelector(".".concat(ay.SLIDER)).style.display="none",this.sliderInit()):this.COMPONENTS.CARDS.length>3&&(this.COMPONENTS.BASE.classList.remove(ay.MINIMAL_CARDS),this.showCarouselControls()?(this.COMPONENTS.FLICKITY=new(ar())(this.COMPONENTS.CARDS_CONTAINER,{cellAlign:"left",wrapAround:!0,setGallerySize:!1,on:{ready:function(){var t=i.COMPONENTS.CARDS_CONTAINER.querySelector(".previous"),e=i.COMPONENTS.CARDS_CONTAINER.querySelector(".next");t.classList.remove("flickity-prev-next-button"),t.classList.add("rad-icon-button","rad-icon-button--secondary","rad-icon-button--icon-size-24"),t.replaceChildren(Yr('<div class="rad-icon-button__text">Previous</div>'),Yr('<div class="rad-icon rad-icon--compact rad-icon__left" aria-hidden="true"></div>')),e.classList.remove("flickity-prev-next-button"),e.classList.add("rad-icon-button","rad-icon-button--secondary","rad-icon-button--icon-size-24"),e.replaceChildren(Yr('<div class="rad-icon-button__text">Next</div>'),Yr('<div class="rad-icon rad-icon--compact rad-icon__right" aria-hidden="true"></div>'))}}}),this.COMPONENTS.FLICKITY_VIEWPORT=e.querySelector(".".concat(ay.FLICKITY_VIEWPORT)),this.COMPONENTS.CELLS=e.querySelectorAll(".".concat(ay.CELL)),this.COMPONENTS.DOTS=e.querySelectorAll(".".concat(ay.DOT)),this.dragListeners(),this.cellResizeListener(),this.flickityChangeListener(),this.dotsUpdater(),this.leftRightButtonsAnalytics(),this.COMPONENTS.PREVIOUS_BUTTON=e.querySelector(".".concat(ay.PREVIOUS_BUTTON)),this.COMPONENTS.NEXT_BUTTON=e.querySelector(".".concat(ay.NEXT_BUTTON)),this.COMPONENTS.SLIDER_FOR_FLICKITY=new lr(e)):this.COMPONENTS.BASE.classList.add(ay.MINIMAL_CARDS)),this.cardListeners(),gr()){this.callback=this.callback.bind(this),this.cardsLoaded=!1,this.curEventFlag=sy.LOAD,this.aGlanceCardID=[],this.aCurrVisibleCards=[],this._cardVisibilityTimeout=0;var a={root:null,rootMargin:"0px",threshold:Rl().xs||Rl().sm?1:.25};this.observer=new IntersectionObserver(this.callback,a),ey(this.COMPONENTS.CARDS).forEach((function(t){i.observer.observe(t)})),window.addEventListener("load",(function(){i.cardsLoaded=!0}))}}var e,r,i;return e=t,r=[{key:"showCarouselControls",value:function(){var t=document.body.clientWidth;return(this.COMPONENTS.BASE.querySelector(".".concat(ay.CARD_WRAPPER)).clientWidth+48)*this.COMPONENTS.CARDS.length>t}},{key:"getDataAnalyticsAssetId",value:function(t){var e;return null!==(e="".concat(t.dataset.analyticsAssetId,":").concat(t.dataset.analyticsAssetPos))&&void 0!==e?e:""}},{key:"pushGlanceEvent",value:function(t){var e,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sy.SCROLL;null===(e=window.adobeDataLayer)||void 0===e||e.push({event:"cmp:glance",eventInfo:{assetInfo:t,eventFlag:r,component:"rad-cardcarouselv2-card"}})}},{key:"callback",value:function(t,e){var r=this;t.forEach((function(t){var e=r.getDataAnalyticsAssetId(t.target);t.isIntersecting&&!r.aGlanceCardID.includes(e)&&(r.aCurrVisibleCards.push(e),r.aGlanceCardID.push(e))})),this.aCurrVisibleCards.length?(clearTimeout(this._cardVisibilityTimeout),this._cardVisibilityTimeout=setTimeout((function(){r.pushGlanceEvent(r.aCurrVisibleCards.toString(),r.curEventFlag),r.aCurrVisibleCards=[],r.curEventFlag=sy.SCROLL,r.aGlanceCardID.length===r.COMPONENTS.CARDS.length&&e.disconnect()}),500)):this.cardsLoaded||(this.curEventFlag=sy.SCROLL)}},{key:"dotsUpdater",value:function(){var t=this;gr()&&this.COMPONENTS.DOTS.length&&this.COMPONENTS.DOTS.forEach((function(e,r){var i,n;e.dataset.cmpDataLayer='{"card-carouselv2-ellipsis-'.concat(t.COMPONENTS.PARENT_POSITION,"-").concat(r+1,'":{"xdm:linkURL":"').concat(window.location.pathname,'","analytics-link-name":"ellipsis button ').concat(t.COMPONENTS.PARENT_POSITION,"-").concat(r+1,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"card carouselv2-pagination-').concat(t.COMPONENTS.PARENT_POSITION,"-").concat(r+1,'","analytics-template-zone":"').concat(null!==(i=null===(n=t.COMPONENTS.CARDS_CONTAINER)||void 0===n?void 0:n.dataset.templateZone)&&void 0!==i?i:"",'"}}'),e.addEventListener("click",(function(){Er(e),t.curEventFlag=sy.CLICK})),yr(e)}))}},{key:"leftRightButtonsAnalytics",value:function(){var t=this,e=this.COMPONENTS.FLICKITY.prevButton.element,r=this.COMPONENTS.FLICKITY.nextButton.element;e.addEventListener("click",(function(){if(gr()){var r,i,n=t.COMPONENTS.FLICKITY.selectedIndex+1;e.dataset.cmpDataLayer='{"card-carouselv2-prev-page":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"previous page-').concat(n,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"card carouselv2-pagination-').concat(n,'","analytics-template-zone":"').concat(null!==(r=null===(i=t.COMPONENTS.CARDS_CONTAINER)||void 0===i?void 0:i.dataset.templateZone)&&void 0!==r?r:"",'"}}'),yr(e),Er(e),t.curEventFlag=sy.CLICK}})),r.addEventListener("click",(function(){if(gr()){var e,i,n=t.COMPONENTS.FLICKITY.selectedIndex+1;r.dataset.cmpDataLayer='{"card-carouselv2-next-page":{"xdm:linkURL":"'.concat(window.location.pathname,'","analytics-link-name":"next page-').concat(n,'","analytics-link-type": "nav/paginate","analytics-engagement":"true","analytics-module-name":"card carouselv2-pagination-').concat(n,'","analytics-template-zone":"').concat(null!==(e=null===(i=t.COMPONENTS.CARDS_CONTAINER)||void 0===i?void 0:i.dataset.templateZone)&&void 0!==e?e:"",'"}}'),yr(r),Er(r),t.curEventFlag=sy.CLICK}}))}},{key:"cardListeners",value:function(){var t=this;this.COMPONENTS.CARDS.forEach((function(e){var r=!1,i=e.querySelector(".rad-button");i.addEventListener("mousedown",(function(){r=!0})),i.addEventListener("focus",(function(){if(r)r=!1;else{var i=e.closest(".flickity-cell");if(i&&!i.classList.contains("is-selected")){var n=Array.prototype.indexOf.call(i.parentElement.children,i);t.COMPONENTS.FLICKITY.select(n),t.COMPONENTS.FLICKITY_VIEWPORT.scrollLeft=0}}}))}))}},{key:"cellResizeListener",value:function(){var t=this;this.COMPONENTS.CELLS.forEach((function(e){t.repositionOnCardResize().observe(e)}))}},{key:"destroy",value:function(){var t,e;null===(t=this.COMPONENTS.FLICKITY)||void 0===t||t.destroy(),null===(e=this.observer)||void 0===e||e.disconnect()}},{key:"dragListeners",value:function(){var t;this.COMPONENTS.FLICKITY.on("dragStart",(function(e){var r=(t=e.target.closest(".".concat(ay.CARD))).getBoundingClientRect().width;t.style.width="".concat(r,"px")})),this.COMPONENTS.FLICKITY.on("settle",(function(){t&&(t.style.width="")}))}},{key:"flickityChangeListener",value:function(){var t=this;this.COMPONENTS.FLICKITY.on("change",(function(e){t.COMPONENTS.BASE.style.setProperty("--dot-index",e-1)}))}},{key:"repositionOnCardResize",value:function(){var t=this;return new ResizeObserver((function(){t.COMPONENTS.FLICKITY.reposition()}))}},{key:"sliderInit",value:function(){var t=this;this.COMPONENTS.SLIDER=this.COMPONENTS.BASE.querySelector(".".concat(ay.SLIDER)),this.COMPONENTS.SLIDER_RECEIVER=this.COMPONENTS.BASE.querySelector(".".concat(ay.SLIDER_RECEIVER)),this.COMPONENTS.SLIDER.addEventListener("input",(function(e){var r=parseInt(e.target.value,10)/parseInt(t.COMPONENTS.SLIDER.max,10)*(t.COMPONENTS.CARDS_CONTAINER.getBoundingClientRect().width-window.innerWidth);t.COMPONENTS.SLIDER_RECEIVER.scrollLeft=r})),this.COMPONENTS.SLIDER_RECEIVER.addEventListener("scroll",(function(e){var r=t.COMPONENTS.CARDS_CONTAINER.getBoundingClientRect().width-window.innerWidth,i=e.target.scrollLeft/r*parseInt(t.COMPONENTS.SLIDER.max,10);t.COMPONENTS.SLIDER.value=i}))}},{key:"wrapCards",value:function(){var t=this;this.COMPONENTS.CARDS_CONTAINER.innerHTML="",this.COMPONENTS.CARDS.forEach((function(e){var r=document.createElement("div");r.classList.add(ay.CARD_WRAPPER);var i=document.createElement("div");i.classList.add(ay.CARD_SIZE_MAINTAINER),r.append(i),i.append(e),t.COMPONENTS.CARDS_CONTAINER.append(r)}))}}],r&&iy(e.prototype,r),i&&iy(e,i),Object.defineProperty(e,"prototype",{writable:!1}),t}(),ly=function(t){ny.forEach((function(t){t.destroy(),delete t.COMPONENTS.CARDS_CONTAINER.radFlickityAccessibilityFixed})),ny=[],(null!=t?t:document).querySelectorAll(".".concat(ay.BASE)).forEach((function(t,e){var r=new oy(t,e);ny.push(r)}))},cy=function(t){var e=t.querySelector('[class*="__read-time"]');if(e){var r=0;if(e.classList.contains("auto-calculate-read-time")){document.getElementById("main").querySelectorAll("p, h1, a, h2, h3, li, span, .quote-description, .cmp-teaser__description, .description").forEach((function(t){var e=t.textContent;if(e){var i=e.split(/[\s.?]+/).length;r+=i}})),r/=200;var i=Math.round(r).toString(),n=e.textContent;e.textContent=n.replace("{0}",i)}}},hy=function(t){(null!=t?t:document).querySelectorAll(".rad-article-hero").forEach((function(t){cy(t)}))},uy=function(t){(t||document).querySelectorAll(".rad-job-detail").forEach((function(t){!function(t){t.querySelectorAll(".rad-accordion-atom__toggle").forEach((function(t){var e=t.nextElementSibling,r=new Vm(t,e);qm([r])}))}(t)}))};function dy(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var i,n,a,s,o=[],l=!0,c=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;l=!1}else for(;!(l=(i=a.call(r)).done)&&(o.push(i.value),o.length!==e);l=!0);}catch(t){c=!0,n=t}finally{try{if(!l&&null!=r.return&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return py(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return py(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function py(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=new Array(e);r<e;r++)i[r]=t[r];return i}var fy=function(t){var e,r,i=t.isOpen();if(Er(t.contentWrapper,i?"cmp:show":"cmp:hide"),i){var n=null!==(e=t.contentWrapper.dataset.cmpDataLayer)&&void 0!==e?e:"",a=JSON.parse(n),s=dy(Object.keys(a),1)[0];a[s]["analytics-link-name"]="".concat(null!==(r=a[s]["analytics-link-name"])&&void 0!==r?r:"","-expand"),xr(a)}},my=function(t,e){e&&Sr(t)},gy=function(t,e){var r=t.querySelector(".rad-stat-helper__sublabel-two");r&&(e.length>2?t.querySelector(".rad-stat-helper__acc-content").insertBefore(r,e[2]):r.classList.add("rad-stat-helper__sublabel--hidden")),e&&e.forEach((function(t,e){(e+1)%2!=0?t.style.setProperty("grid-row-start",e+2):t.style.setProperty("grid-row-start",e+1)}))},vy=function(t){(t||document).querySelectorAll(".rad-stat-helper").forEach((function(e){var r=e.querySelector(".rad-stat-helper__btn"),i=e.querySelector(".rad-stat-helper__accordion-container"),n=i.querySelectorAll(".rad-stat-helper__card-text"),a=new Vm(r,i);qm([a],[fy]),my(e,t),gy(i,n)}))},yy=[],by=Rl(),_y=window.innerWidth,Ey=function(t){var e;gm(),xc(),au(),Rc(t),jc(t),$c(t),bh(t),$h(t),eh(t),Eu(t),wu(t),dd(t),function(t){(t||document).querySelectorAll(".rad-mixed-media-and-text").forEach((function(t){Ed(t)}))}(t),Ld(t),function(t){(null!=t?t:document).querySelectorAll(".rad-vertical-tabs").forEach((function(t){rp.push(new ap(t))}))}(t),function(t){(null!=t?t:document).querySelectorAll(".rad-horizontal-tabs").forEach((function(t){pp.push(new fp(t))}))}(t),Kr(t),Kd(t),Ep(t),kp(t),function(t){(t||document).querySelectorAll(".rad-accordion-podcast").forEach((function(t,e){new Xp(t,e)}))}(t),of(t),Of(t),e=0,document.addEventListener("scroll",(function(){var t;if(!document.body.classList.contains("rad-global-nav--active")){var r=null===(t=document.querySelector(".rad-global-nav__container"))||void 0===t?void 0:t.clientHeight,i=window.scrollY,n=i-e;if(n>0){if(i<r)return;document.body.classList.add("rad-global-header--offscreen")}else n<0&&document.body.classList.remove("rad-global-header--offscreen");e=i}})),Mp(t),bm(t),function(t){var e=null!=t?t:document;Om.length=0,e.querySelectorAll(".rad-smart-filter").forEach((function(t){var e=new Fm(t);e.init(),Om.push(e)}))}(t),function(t){var e=null!=t?t:document;fg.length=0,e.querySelectorAll(".rad-smart-filter-2").forEach((function(t,e){var r=new gg(t,e);r.init(),fg.push(r)}))}(t),Qv(t),Zm(t),ly(t),hy(t),function(t){(null!=t?t:document).querySelectorAll(".rad-job-search").forEach((function(t){var e=new qv(t);Bv.push(e)}))}(t),function(t){(t||document).querySelectorAll(".rad-save-job").forEach((function(t){Wg(t)}))}(t),function(t){(null!=t?t:document).querySelectorAll(".rad-media-overlay").forEach((function(t){new vd(t)}))}(t),uy(t),vy(t),Wr(t)},Sy=function(){Yl()};document.addEventListener("DOMContentLoaded",(function(){var t;document.querySelector('[data-barba="wrapper"]')&&document.querySelector('[data-barba="container"]')?(Jr().use(ti()),Pl()):window.addEventListener("popstate",(function(t){var e,r;"barba"===(null==t||null===(e=t.state)||void 0===e?void 0:e.from)&&0===(null==t||null===(r=t.state)||void 0===r?void 0:r.index)&&window.location.reload()})),window.addEventListener("radTransitionStarted",(function(){jr(!1)})),Vl(),Ey(),document.addEventListener("click",(function(t){var e=t.target.closest(".rad-chip");if(e){var r=e.classList.toggle("rad-chip--selected");e.setAttribute("aria-selected",r);var i=new CustomEvent("radChipToggle",{detail:{selected:r},bubbles:!0});e.dispatchEvent(i)}})),(t||document).querySelectorAll(".rad-tags").forEach((function(t){bg(t)})),document.querySelectorAll(".rad-textbox__clear-button").forEach((function(t){t.addEventListener("click",(function(t){var e=t.target.closest(".rad-textbox__text-field-wrapper").querySelector(".rad-textbox__text-input"),r=e.value;e.value="",e.focus();var i=new CustomEvent("radTextboxCleared",{bubbles:!0});if(e.dispatchEvent(i),r){var n=new Event("input");e.dispatchEvent(n)}}))})),"complete"===document.readyState?Sy():document.addEventListener("readystatechange",(function(t){"complete"===t.target.readyState&&Sy()}))}),{once:!0}),window.addEventListener("resize",(0,ir.debounce)((function(){of(),window.innerWidth!==_y&&(_y=window.innerWidth,xy(),wy(),Wr())}),500));var xy=function(){$h(),Qv(),bh(),Om.forEach((function(t){t.handleResize()})),fg.forEach((function(t){t.handleResize()})),xu(),rp.forEach((function(t){t.setTabsContainerMinHeight()})),ly()},wy=function(){(0,ir.isEqual)(Rl(),by)||(by=Rl(),dd(),document.querySelectorAll(".rad-dropdown").forEach((function(t){parseInt(t.style.getPropertyValue("--dropdown-height"),10)||Ip(t)})),Om.forEach((function(t){t.handleBreakpointChange()})),fg.forEach((function(t){t.handleBreakpointChange()})),ip!==Rl().xs&&(ip=!ip,np=!1,rp.forEach((function(t){t.component.classList.toggle(ep.COMPONENT_MOBILE,ip),t.clearSelectedEntry(),t.clearActiveMobileEntry(),t.initializeActiveEntry()}))),dp!==Rl().xs&&(dp=!dp,pp.forEach((function(t){t.removeMobileAttributes()}))),jr(!1),dm(),Ue.refresh(),yy.forEach((function(t){var e=t.progress();t.progress(0).progress(1).progress(e)})),Bv.forEach((function(t){t.handleBreakpointChange()})))}}()})(); |