1import{j as defineComponent,L as openBlock,Z as createElementBlock,$ as createBaseVNode,X as toDisplayString,Y as createCommentVNode,P as createVNode,M as createBlock,a4 as renderSlot,W as createTextVNode,O as Fragment,_ as renderList,a0 as normalizeClass,a1 as pushScopeId,a2 as popScopeId,a as ref,k as computed,G as onMounted,b as watch,u as unref,aj as normalizeStyle,F as onUnmounted,r as reactive,ae as withModifiers,a6 as withDirectives,ac as vModelText,an as vModelCheckbox,A as isRef,V as withCtx,ao as Navigation,ap as SwiperSlide,aq as Swiper,am as resolveDirective,J as resolveDynamicComponent}from"./swiper-vue.xEtdIojX.js";import{a as _sfc_main$J,_ as _sfc_main$L,b as _sfc_main$N,A as ArrowLeftIcon}from"./icon-arrow-left.JB7HggL0.js";import{q as _sfc_main$K,r as _sfc_main$M,_ as _export_sfc,f as useState,E as useSettingsStore,F as PlayIcon,C as _sfc_main$O,G as useRouter,H as useHead,J as getDefaultExportFromCjs,K as commonjsGlobal}from"./entry.VW9X7BkE.js";const _sfc_main$I=defineComponent({__name:"Teaser",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>(openBlock(),createElementBlock("section",null,[createBaseVNode("h2",null,toDisplayString(t.blok.headline),1)]))}}),_hoisted_1$F={class:"py-container bg-secondary-dark text-center text-white"},_hoisted_2$u={class:"container"},_hoisted_3$q={class:"primary-topline"},_hoisted_4$m={key:0,class:"mx-auto mt-5 max-w-md"},_hoisted_5$c={class:"mt-8 flex flex-col items-center gap-4 md:mt-14 md:gap-5"},_sfc_main$H=defineComponent({__name:"CallToActionDisruptorModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$J;return openBlock(),createElementBlock("section",_hoisted_1$F,[createBaseVNode("div",_hoisted_2$u,[createBaseVNode("p",_hoisted_3$q,toDisplayString(t.blok.topline),1),createBaseVNode("h1",null,toDisplayString(t.blok.title),1),t.blok.description?(openBlock(),createElementBlock("p",_hoisted_4$m,toDisplayString(t.blok.description),1)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$c,[createVNode(i,{blok:t.blok.primaryButton[0],class:"primary w-full sm:w-auto"},null,8,["blok"]),t.blok.secondaryButton.length>0?(openBlock(),createBlock(i,{key:0,blok:t.blok.secondaryButton[0],class:"white w-full sm:w-auto"},null,8,["blok"])):createCommentVNode("",!0)])])])}}}),_hoisted_1$E={class:"flex items-center gap-4"},_sfc_main$G=defineComponent({__name:"KeyInfo",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$K;return openBlock(),createElementBlock("div",_hoisted_1$E,[createVNode(i,{class:"h-10 w-10",src:t.blok.icon},null,8,["src"]),createBaseVNode("span",null,toDisplayString(t.blok.label),1)])}}}),_hoisted_1$D={class:"primary-topline lg:mb-2"},_hoisted_2$t={key:0,class:"mt-4 space-y-3"},_hoisted_3$p={key:2,class:"mt-8 flex flex-col gap-4 lg:mt-14 lg:flex-row"},_sfc_main$F=defineComponent({__name:"InfoBlock",props:{topline:{type:String,default:void 0},title:{type:String,default:""},keyInfos:{type:Object,default:void 0},text:{type:Object,required:!1},primaryButton:{type:Object,default:null},secondaryButton:{type:Object,default:null},secondaryIsWhite:{type:Boolean,default:!1}},setup(t){return(e,r)=>{var a,o,l,h,c;const i=_sfc_main$G,n=_sfc_main$L,s=_sfc_main$J;return openBlock(),createElementBlock("div",null,[createBaseVNode("p",_hoisted_1$D,toDisplayString(t.topline),1),createBaseVNode("h1",null,[renderSlot(e.$slots,"default",{},()=>[createTextVNode(toDisplayString(t.title),1)])]),(a=t.keyInfos)!=null&&a.length?(openBlock(),createElementBlock("div",_hoisted_2$t,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.keyInfos,d=>(openBlock(),createBlock(i,{key:d._uid,blok:d},null,8,["blok"]))),128))])):createCommentVNode("",!0),t.text?(openBlock(),createBlock(n,{key:1,class:"mt-4 md:mt-5",blok:t.text},null,8,["blok"])):createCommentVNode("",!0),(o=t.primaryButton)!=null&&o.length||(l=t.secondaryButton)!=null&&l.length?(openBlock(),createElementBlock("div",_hoisted_3$p,[((h=t.primaryButton)==null?void 0:h.length)>0?(openBlock(),createBlock(s,{key:0,blok:t.primaryButton[0],class:"primary"},null,8,["blok"])):createCommentVNode("",!0),((c=t.secondaryButton)==null?void 0:c.length)>0?(openBlock(),createBlock(s,{key:1,blok:t.secondaryButton[0],class:normalizeClass([t.secondaryIsWhite?"white":"secondary"])},null,8,["blok","class"])):createCommentVNode("",!0)])):createCommentVNode("",!0)])}}}),_hoisted_1$C={class:"my-container container"},_hoisted_2$s={class:"md:max-w-lg lg:max-w-xl"},_hoisted_3$o={key:0,class:"mt-8 hidden gap-4 lg:mt-14 lg:flex"},_hoisted_4$l={key:0,class:"mt-8 flex flex-col gap-4 lg:mt-14 lg:hidden lg:flex-row"},_sfc_main$E=defineComponent({__name:"InfoSectionModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{var a,o,l,h,c,d,f,u;const i=_sfc_main$F,n=_sfc_main$J,s=_sfc_main$M;return openBlock(),createElementBlock("section",_hoisted_1$C,[createBaseVNode("div",{class:normalizeClass(["relative flex flex-col-reverse items-start justify-between gap-14 lg:gap-20",[t.blok.avatarAlignment==="right"?"md:flex-row":"md:flex-row-reverse"]])},[createBaseVNode("div",_hoisted_2$s,[createVNode(i,{topline:t.blok.topline,title:t.blok.title,"key-infos":t.blok.keyInfos,text:t.blok.text},null,8,["topline","title","key-infos","text"]),(a=t.blok.primaryButton)!=null&&a.length||(o=t.blok.secondaryButton)!=null&&o.length?(openBlock(),createElementBlock("div",_hoisted_3$o,[((l=t.blok.primaryButton)==null?void 0:l.length)>0?(openBlock(),createBlock(n,{key:0,blok:t.blok.primaryButton[0],class:"primary"},null,8,["blok"])):createCommentVNode("",!0),((h=t.blok.secondaryButton)==null?void 0:h.length)>0?(openBlock(),createBlock(n,{key:1,blok:t.blok.secondaryButton[0],class:"secondary"},null,8,["blok"])):createCommentVNode("",!0)])):createCommentVNode("",!0)]),createVNode(s,{class:"sticky top-24 mb-auto ml-auto w-1/3 md:top-14 lg:w-96",blok:t.blok.avatarVideo[0],preload:"auto"},null,8,["blok"])],2),(c=t.blok.primaryButton)!=null&&c.length||(d=t.blok.secondaryButton)!=null&&d.length?(openBlock(),createElementBlock("div",_hoisted_4$l,[((f=t.blok.primaryButton)==null?void 0:f.length)>0?(openBlock(),createBlock(n,{key:0,blok:t.blok.primaryButton[0],class:"primary"},null,8,["blok"])):createCommentVNode("",!0),((u=t.blok.secondaryButton)==null?void 0:u.length)>0?(openBlock(),createBlock(n,{key:1,blok:t.blok.secondaryButton[0],class:"secondary"},null,8,["blok"])):createCommentVNode("",!0)])):createCommentVNode("",!0)])}}}),_hoisted_1$B={key:0,class:"pb-[5px] text-center leading-9"},_hoisted_2$r={class:"secondary-topline text-center"},_hoisted_3$n={class:"text-center"},_hoisted_4$k={class:"primary-title mt-3 text-center"},_hoisted_5$b={class:"block h-5 text-center text-secondary-light"}
1,_hoisted_6$7={class:"brand-bullets mx-5 mb-14 mt-9 space-y-4 md:mx-8 lg:mx-10 xl:mx-16"},_sfc_main$D=defineComponent({__name:"PricingEntry",props:{blok:{type:Object,required:!0},isHighlightedAsTopseller:{type:Boolean,default:!1}},setup(t){return(e,r)=>{var n;const i=_sfc_main$J;return openBlock(),createElementBlock("div",{class:normalizeClass(["flex flex-col rounded-2xl",[t.isHighlightedAsTopseller?"z-10 bg-primary/50 px-[5px] py-[5px] lg:scale-110":"lg:pt-[5px]"]])},[t.isHighlightedAsTopseller?(openBlock(),createElementBlock("h3",_hoisted_1$B,toDisplayString(e.$t("pricingEntry.topseller")),1)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["flex grow flex-col items-center rounded-lg bg-gray-light pb-9 pt-12 lg:pb-14 lg:pt-16",{"lg:mt-9":!t.isHighlightedAsTopseller}])},[createBaseVNode("p",_hoisted_2$r,toDisplayString(t.blok.topline),1),createBaseVNode("h2",_hoisted_3$n,toDisplayString(t.blok.title),1),createBaseVNode("p",_hoisted_4$k,toDisplayString(t.blok.price?`${t.blok.currency} ${t.blok.price},-`:e.$t("pricingEntry.talk")),1),createBaseVNode("small",_hoisted_5$b,toDisplayString(t.blok.subline),1),createBaseVNode("ul",_hoisted_6$7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.features.items,s=>(openBlock(),createElementBlock("li",{key:s},toDisplayString(s),1))),128))]),(n=t.blok.button)!=null&&n.length?(openBlock(),createBlock(i,{key:0,class:"primary inline- mt-auto",blok:t.blok.button[0]},null,8,["blok"])):createCommentVNode("",!0)],2)],2)}}}),_hoisted_1$A={class:"my-container pb-container container border-b border-gray-light"},_hoisted_2$q={class:"primary-topline text-center"},_hoisted_3$m={class:"text-center"},_hoisted_4$j={class:"mt-9 grid justify-stretch gap-5 md:mt-14 md:grid-cols-2 lg:mt-28 lg:flex lg:flex-row lg:gap-3"},_sfc_main$C=defineComponent({__name:"PricingModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$D;return openBlock(),createElementBlock("section",_hoisted_1$A,[createBaseVNode("p",_hoisted_2$q,toDisplayString(t.blok.topline),1),createBaseVNode("h1",_hoisted_3$m,toDisplayString(t.blok.title),1),createBaseVNode("div",_hoisted_4$j,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.entries,(n,s)=>(openBlock(),createBlock(i,{key:n._uid,class:"w-full",blok:n,"is-highlighted-as-topseller":s===parseInt(t.blok.topseller)},null,8,["blok","is-highlighted-as-topseller"]))),128))])])}}}),_withScopeId$2=t=>(pushScopeId("data-v-45892be5"),t=t(),popScopeId(),t),_hoisted_1$z={class:"my-container bg-gray-light text-white"},_hoisted_2$p=_withScopeId$2(()=>createBaseVNode("div",{class:"absolute -z-20 hidden w-full bg-gray-light xl:block xl:h-[42rem]"},null,-1)),_hoisted_3$l=_withScopeId$2(()=>createBaseVNode("div",{class:"clipping-mask-md xl:clipping-mask absolute z-10 hidden w-full bg-secondary-dark xl:block xl:h-[42rem]"},null,-1)),_hoisted_4$i={class:"relative flex flex-col-reverse items-center justify-between xl:container xl:h-[42rem] xl:flex-row xl:gap-20"},_hoisted_5$a={class:"z-20 w-full bg-secondary-dark xl:w-auto xl:bg-transparent"},_hoisted_6$6={class:"container z-0 flex h-96 w-full items-end justify-start xl:h-full xl:justify-end"},_sfc_main$B=defineComponent({__name:"InfoDisruptorModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$F,n=_sfc_main$M;return openBlock(),createElementBlock("section",_hoisted_1$z,[_hoisted_2$p,_hoisted_3$l,createBaseVNode("div",_hoisted_4$i,[createBaseVNode("div",_hoisted_5$a,[createVNode(i,{topline:t.blok.topLine,title:t.blok.title,"key-infos":t.blok.keyInfos,text:t.blok.text,"primary-button":t.blok.primaryButton,"secondary-button":t.blok.secondaryButton,"secondary-is-white":!0,class:"py-container container xl:m-0 xl:max-w-none xl:p-0"},null,8,["topline","title","key-infos","text","primary-button","secondary-button"])]),createBaseVNode("div",_hoisted_6$6,[t.blok.avatarVideo?(openBlock(),createBlock(n,{key:0,blok:t.blok.avatarVideo[0],class:"z-0 aspect-[9/16] h-full xl:h-2/3 2xl:h-full",preload:"auto"},null,8,["blok"])):createCommentVNode("",!0)])])])}}}),InfoDisruptorModule=_export_sfc(_sfc_main$B,[["__scopeId","data-v-45892be5"]]),_hoisted_1$y=["id"],_sfc_main$A=defineComponent({__name:"StoryblokFrameCanvas",props:{canvasId:{type:String,required:!0},frames:{type:Object,required:!0},intrinsicFrameWidth:{type:Number,required:!0},intrinsicFrameHeight:{type:Number,required:!0},expectedFrameIndex:{type:Number,default:0}},setup(t){let e;const r=ref([]);let i=0;const n=computed(()=>{var h;return((h=s.frames)==null?void 0:h.length)??0}),s=t;onMounted(()=>{e=document.querySelector("#"+s.canvasId),o(),a()}),watch(()=>s.expectedFrameIndex,()=>{a()});function a(){if(!e)return;const h=e==null?void 0:e.getContext("2d");
vendor: 24,169 bytes, lines 1-9
1if(!h||s.expectedFrameIndex!==0&&i===s.expectedFrameIndex)return;const c=r.value[s.expectedFrameIndex];e.width=s.intrinsicFrameWidth,e.height=s.intrinsicFrameHeight,h.drawImage(c,0,0),i=s.expectedFrameIndex}function o(){r.value=[];for(let h=0;h<n.value;h++){const c=new Image;c.src=l(h),r.value.push(c)}}const l=h=>s.frames?s.frames[h].filename:"";return(h,c)=>(openBlock(),createElementBlock("canvas",{id:t.canvasId},null,8,_hoisted_1$y))}});function _assertThisInitialized(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}/*! 2 * GSAP 3.12.5 3 * https://gsap.com 4 * 5 * @license Copyright 2008-2024, GreenSock. All rights reserved. 6 * Subject to the terms at https://gsap.com/standard-license or for 7 * Club GSAP members, the agreement issued with that membership. 8 * @author: Jack Doyle, [email protected] 9*/var _config={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_defaults$1={duration:.5,overwrite:!1,delay:0},_suppressOverwrites$1,_reverting$1,_context$2,_bigNum$1=1e8,_tinyNum=1/_bigNum$1,_2PI=Math.PI*2,_HALF_PI=_2PI/4,_gsID=0,_sqrt=Math.sqrt,_cos=Math.cos,_sin=Math.sin,_isString$1=function(e){return typeof e=="string"},_isFunction$1=function(e){return typeof e=="function"},_isNumber$1=function(e){return typeof e=="number"},_isUndefined=function(e){return typeof e>"u"},_isObject$1=function(e){return typeof e=="object"},_isNotFalse=function(e){return e!==!1},_windowExists$2=function(){return typeof window<"u"},_isFuncOrString=function(e){return _isFunction$1(e)||_isString$1(e)},_isTypedArray=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},_isArray=Array.isArray,_strictNumExp=/(?:-?\.?\d|\.)+/gi,_numExp=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,_numWithUnitExp=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_complexStringNumExp=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_relExp=/[+-]=-?[.\d]+/,_delimitedValueExp=/[^,'"\[\]\s]+/gi,_unitExp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_globalTimeline,_win$3,_coreInitted$2,_doc$3,_globals={},_installScope={},_coreReady,_install=function(e){return(_installScope=_merge(e,_globals))&&gsap$2},_missingPlugin=function(e,r){return console.warn("Invalid property",e,"set to",r,"Missing plugin? gsap.registerPlugin()")},_warn=function(e,r){return!r&&console.warn(e)},_addGlobal=function(e,r){return e&&(_globals[e]=r)&&_installScope&&(_installScope[e]=r)||_globals},_emptyFunc=function(){return 0},_startAtRevertConfig={suppressEvents:!0,isStart:!0,kill:!1},_revertConfigNoKill={suppressEvents:!0,kill:!1},_revertConfig={suppressEvents:!0},_reservedProps={},_lazyTweens=[],_lazyLookup={},_lastRenderedFrame,_plugins={},_effects={},_nextGCFrame=30,_harnessPlugins=[],_callbackNames="",_harness=function(e){var r=e[0],i,n;if(_isObject$1(r)||_isFunction$1(r)||(e=[e]),!(i=(r._gsap||{}).harness)){for(n=_harnessPlugins.length;n--&&!_harnessPlugins[n].targetTest(r););i=_harnessPlugins[n]}for(n=e.length;n--;)e[n]&&(e[n]._gsap||(e[n]._gsap=new GSCache(e[n],i)))||e.splice(n,1);return e},_getCache=function(e){return e._gsap||_harness(toArray(e))[0]._gsap},_getProperty=function(e,r,i){return(i=e[r])&&_isFunction$1(i)?e[r]():_isUndefined(i)&&e.getAttribute&&e.getAttribute(r)||i},_forEachName=function(e,r){return(e=e.split(",")).forEach(r)||e},_round$1=function(e){return Math.round(e*1e5)/1e5||0},_roundPrecise=function(e){return Math.round(e*1e7)/1e7||0},_parseRelative=function(e,r){var i=r.charAt(0),n=parseFloat(r.substr(2));return e=parseFloat(e),i==="+"?e+n:i==="-"?e-n:i==="*"?e*n:e/n},_arrayContainsAny=function(e,r){for(var i=r.length,n=0;e.indexOf(r[n])<0&&++n<i;);return n<i},_lazyRender=function(){var e=_lazyTweens.length,r=_lazyTweens.slice(0),i,n;for(_lazyLookup={},_lazyTweens.length=0,i=0;i<e;i++)n=r[i],n&&n._lazy&&(n.render(n._lazy[0],n._lazy[1],!0)._lazy=0)},_lazySafeRender=function(e,r,i,n){_lazyTweens.length&&!_reverting$1&&_lazyRender(),e.render(r,i,n||_reverting$1&&r<0&&(e._initted||e._startAt)),_lazyTweens.length&&!_reverting$1&&_lazyRender()},_numericIfPossible=function(e){var r=parseFloat(e);return(r||r===0)&&(e+"").match(_delimitedValueExp).length<2?r:_isString$1(e)?e.trim():e},_passThrough$1=function(e){return e},_setDefaults$1=function(e,r){for(var i in r)i in e||(e[i]=r[i]);return e},_setKeyframeDefaults=function(e){return function(r,i){for(var n in i)n in r||n==="duration"&&e||n==="ease"||(r[n]=i[n])}},_merge=function(e,r){for(var i in r)e[i]=r[i];return e},_mergeDeep=function t(e,r){for(var i in r)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(e[i]=_isObject$1(r[i])?t(e[i]||(e[i]={}),r[i]):r[i]);return e},_copyExcluding=function(e,r){var i={},n;for(n in e)n in r||(i[n]=e[n]);return i},_inheritDefaults=function(e){var r=e.parent||_globalTimeline,i=e.keyframes?_setKeyframeDefaults(_isArray(e.keyframes)):_setDefaults$1;if(_isNotFalse(e.inherit))for(;r;)i(e,r.vars.defaults),r=r.parent||r._dp;return e},_arraysMatch=function(e,r){for(var i=e.length,n=i===r.length;n&&i--&&e[i]===r[i];);return i<0},_addLinkedListItem=function(e,r,i,n,s){i===void 0&&(i="_first"),n===void 0&&(n="_last");var a=e[n],o;if(s)for(o=r[s];a&&a[s]>o;)a=a._prev;return a?(r._next=a._next,a._next=r):(r._next=e[i],e[i]=r),r._next?r._next._prev=r:e[n]=r,r._prev=a,r.parent=r._dp=e,r},_removeLinkedListItem=function(e,r,i,n){i===void 0&&(i="_first"),n===void 0&&(n="_last");var s=r._prev,a=r._next;s?s._next=a:e[i]===r&&(e[i]=a),a?a._prev=s:e[n]===r&&(e[n]=s),r._next=r._prev=r.parent=null},_removeFromParent=function(e,r){e.parent&&(!r||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},_uncache=function(e,r){if(e&&(!r||r._end>e._dur||r._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},_recacheAncestors=function(e){for(var r=e.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return e},_rewindStartAt=function(e,r,i,n){return e._startAt&&(_reverting$1?e._startAt.revert(_revertConfigNoKill):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(r,!0,n))},_hasNoPausedAncestors=function t(e){return!e||e._ts&&t(e.parent)},_elapsedCycleDuration=function(e){return e._repeat?_animationCycle(e._tTime,e=e.duration()+e._rDelay)*e:0},_animationCycle=function(e,r){var i=Math.floor(e/=r);return e&&i===e?i-1:i},_parentToChildTotalTime=function(e,r){return(e-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},_setEnd=function(e){return e._end=_roundPrecise(e._start+(e._tDur/Math.abs(e._ts||e._rts||_tinyNum)||0))},_alignPlayhead=function(e,r){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=_roundPrecise(i._time-(e._ts>0?r/e._ts:((e._dirty?e.totalDuration():e._tDur)-r)/-e._ts)),_setEnd(e),i._dirty||_uncache(i,e)),e},_postAddChecks=function(e,r){var i;if((r._time||!r._dur&&r._initted||r._start<e._time&&(r._dur||!r.add))&&(i=_parentToChildTotalTime(e.rawTime(),r),(!r._dur||_clamp$1(0,r.totalDuration(),i)-r._tTime>_tinyNum)&&r.render(i,!0)),_uncache(e,r)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur<e.duration())for(i=e;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;e._zTime=-_tinyNum}},_addToTimeline=function(e,r,i,n){return r.parent&&_removeFromParent(r),r._start=_roundPrecise((_isNumber$1(i)?i:i||e!==_globalTimeline?_parsePosition$1(e,i,r):e._time)+r._delay),r._end=_roundPrecise(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),_addLinkedListItem(e,r,"_first","_last",e._sort?"_start":0),_isFromOrFromStart(r)||(e._recent=r),n||_postAddChecks(e,r),e._ts<0&&_alignPlayhead(e,e._tTime),e},_scrollTrigger=function(e,r){return(_globals.ScrollTrigger||_missingPlugin("scrollTrigger",r))&&_globals.ScrollTrigger.create(r,e)},_attemptInitTween=function(e,r,i,n,s){if(_initTween(e,r,s),!e._initted)return 1;if(!i&&e._pt&&!_reverting$1&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&_lastRenderedFrame!==_ticker.frame)return _lazyTweens.push(e),e._lazy=[s,n],1},_parentPlayheadIsBeforeStart=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},_isFromOrFromStart=function(e){var r=e.data;return r==="isFromStart"||r==="isStart"},_renderZeroDurationTween=function(e,r,i,n){var s=e.ratio,a=r<0||!r&&(!e._start&&_parentPlayheadIsBeforeStart(e)&&!(!e._initted&&_isFromOrFromStart(e))||(e._ts<0||e._dp._ts<0)&&!_isFromOrFromStart(e))?0:1,o=e._rDelay,l=0,h,c,d;if(o&&e._repeat&&(l=_clamp$1(0,e._tDur,r),c=_animationCycle(l,o),e._yoyo&&c&1&&(a=1-a),c!==_animationCycle(e._tTime,o)&&(s=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==s||_reverting$1||n||e._zTime===_tinyNum||!r&&e._zTime){if(!e._initted&&_attemptInitTween(e,r,n,i,l))return;for(d=e._zTime,e._zTime=r||(i?_tinyNum:0),i||(i=r&&!d),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,h=e._pt;h;)h.r(a,h.d),h=h._next;r<0&&_rewindStartAt(e,r,i,!0),e._onUpdate&&!i&&_callback$1(e,"onUpdate"),l&&e._repeat&&!i&&e.parent&&_callback$1(e,"onRepeat"),(r>=e._tDur||r<0)&&e.ratio===a&&(a&&_removeFromParent(e,1),!i&&!_reverting$1&&(_callback$1(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=r)},_findNextPauseTween=function(e,r,i){var n;if(i>r)for(n=e._first;n&&n._start<=i;){if(n.data==="isPause"&&n._start>r)return n;n=n._next}else for(n=e._last;n&&n._start>=i;){if(n.data==="isPause"&&n._start<r)return n;n=n._prev}},_setDuration=function(e,r,i,n){var s=e._repeat,a=_roundPrecise(r)||0,o=e._tTime/e._tDur;return o&&!n&&(e._time*=a/e._dur),e._dur=a,e._tDur=s?s<0?1e10:_roundPrecise(a*(s+1)+e._rDelay*s):a,o>0&&!n&&_alignPlayhead(e,e._tTime=e._tDur*o),e.parent&&_setEnd(e),i||_uncache(e.parent,e),e},_onUpdateTotalDuration=function(e){return e instanceof Timeline?_uncache(e):_setDuration(e,e._dur)},_zeroPosition={_start:0,endTime:_emptyFunc,totalDuration:_emptyFunc},_parsePosition$1=function t(e,r,i){var n=e.labels,s=e._recent||_zeroPosition,a=e.duration()>=_bigNum$1?s.endTime(!1):e._dur,o,l,h;return _isString$1(r)&&(isNaN(r)||r in n)?(l=r.charAt(0),h=r.substr(-1)==="%",o=r.indexOf("="),l==="<"||l===">"?(o>=0&&(r=r.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(r.substr(1))||0)*(h?(o<0?s:i).totalDuration()/100:1)):o<0?(r in n||(n[r]=a),n[r]):(l=parseFloat(r.charAt(o-1)+r.substr(o+1)),h&&i&&(l=l/100*(_isArray(i)?i[0]:i).totalDuration()),o>1?t(e,r.substr(0,o-1),i)+l:a+l)):r==null?a:+r},_createTweenType=function(e,r,i){var n=_isNumber$1(r[1]),s=(n?2:1)+(e<2?0:1),a=r[s],o,l;if(n&&(a.duration=r[1]),a.parent=i,e){for(o=a,l=i;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=_isNotFalse(l.vars.inherit)&&l.parent;a.immediateRender=_isNotFalse(o.immediateRender),e<2?a.runBackwards=1:a.startAt=r[s-1]}return new Tween(r[0],a,r[s+1])},_conditionalReturn=function(e,r){return e||e===0?r(e):r},_clamp$1=function(e,r,i){return i<e?e:i>r?r:i},getUnit=function(e,r){return!_isString$1(e)||!(r=_unitExp.exec(e))?"":r[1]},clamp=function(e,r,i){return _conditionalReturn(i,function(n){return _clamp$1(e,r,n)})},_slice=[].slice,_isArrayLike=function(e,r){return e&&_isObject$1(e)&&"length"in e&&(!r&&!e.length||e.length-1 in e&&_isObject$1(e[0]))&&!e.nodeType&&e!==_win$3},_flatten=function(e,r,i){return i===void 0&&(i=[]),e.forEach(function(n){var s;return _isString$1(n)&&!r||_isArrayLike(n,1)?(s=i).push.apply(s,toArray(n)):i.push(n)})||i},toArray=function(e,r,i){return _context$2&&!r&&_context$2.selector?_context$2.selector(e):_isString$1(e)&&!i&&(_coreInitted$2||!_wake())?_slice.call((r||_doc$3).querySelectorAll(e),0):_isArray(e)?_flatten(e,i):_isArrayLike(e)?_slice.call(e,0):e?[e]:[]},selector=function(e){return e=toArray(e)[0]||_warn("Invalid scope")||{},function(r){var i=e.current||e.nativeElement||e;return toArray(r,i.querySelectorAll?i:i===e?_warn("Invalid scope")||_doc$3.createElement("div"):e)}},shuffle=function(e){return e.sort(function(){return .5-Math.random()})},distribute=function(e){if(_isFunction$1(e))return e;var r=_isObject$1(e)?e:{each:e},i=_parseEase(r.ease),n=r.from||0,s=parseFloat(r.base)||0,a={},o=n>0&&n<1,l=isNaN(n)||o,h=r.axis,c=n,d=n;return _isString$1(n)?c=d={center:.5,edges:.5,end:1}[n]||0:!o&&l&&(c=n[0],d=n[1]),function(f,u,m){var p=(m||r).length,x=a[p],_,y,g,v,k,P,C,E,M;if(!x){if(M=r.grid==="auto"?0:(r.grid||[1,_bigNum$1])[1],!M){for(C=-_bigNum$1;C<(C=m[M++].getBoundingClientRect().left)&&M<p;);M<p&&M--}for(x=a[p]=[],_=l?Math.min(M,p)*c-.5:n%M,y=M===_bigNum$1?0:l?p*d/M-.5:n/M|0,C=0,E=_bigNum$1,P=0;P<p;P++)g=P%M-_,v=y-(P/M|0),x[P]=k=h?Math.abs(h==="y"?v:g):_sqrt(g*g+v*v),k>C&&(C=k),k<E&&(E=k);n==="random"&&shuffle(x),x.max=C-E,x.min=E,x.v=p=(parseFloat(r.amount)||parseFloat(r.each)*(M>p?p-1:h?h==="y"?p/M:M:Math.max(M,p/M))||0)*(n==="edges"?-1:1),x.b=p<0?s-p:s,x.u=getUnit(r.amount||r.each)||0,i=i&&p<0?_invertEase(i):i}return p=(x[f]-x.min)/x.max||0,_roundPrecise(x.b+(i?i(p):p)*x.v)+x.u}},_roundModifier=function(e){var r=Math.pow(10,((e+"").split(".")[1]||"").length);return function(i){var n=_roundPrecise(Math.round(parseFloat(i)/e)*e*r);return(n-n%1)/r+(_isNumber$1(i)?0:getUnit(i))}},snap=function(e,r){var i=_isArray(e),n,s;return!i&&_isObject$1(e)&&(n=i=e.radius||_bigNum$1,e.values?(e=toArray(e.values),(s=!_isNumber$1(e[0]))&&(n*=n)):e=_roundModifier(e.increment)),_conditionalReturn(r,i?_isFunction$1(e)?function(a){return s=e(a),Math.abs(s-a)<=n?s:a}:function(a){for(var o=parseFloat(s?a.x:a),l=parseFloat(s?a.y:0),h=_bigNum$1,c=0,d=e.length,f,u;d--;)s?(f=e[d].x-o,u=e[d].y-l,f=f*f+u*u):f=Math.abs(e[d]-o),f<h&&(h=f,c=d);return c=!n||h<=n?e[c]:a,s||c===a||_isNumber$1(a)?c:c+getUnit(a)}:_roundModifier(e))},random=function(e,r,i,n){return _conditionalReturn(_isArray(e)?!r:i===!0?!!(i=0):!n,function(){return _isArray(e)?e[~~(Math.random()*e.length)]:(i=i||1e-5)&&(n=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((e-i/2+Math.random()*(r-e+i*.99))/i)*i*n)/n})},pipe=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];return function(n){return r.reduce(function(s,a){return a(s)},n)}},unitize=function(e,r){return function(i){return e(parseFloat(i))+(r||getUnit(i))}},normalize=function(e,r,i){return mapRange(e,r,0,1,i)},_wrapArray=function(e,r,i){return _conditionalReturn(i,function(n){return e[~~r(n)]})},wrap=function t(e,r,i){var n=r-e;return _isArray(e)?_wrapArray(e,t(0,e.length),r):_conditionalReturn(i,function(s){return(n+(s-e)%n)%n+e})},wrapYoyo=function t(e,r,i){var n=r-e,s=n*2;return _isArray(e)?_wrapArray(e,t(0,e.length-1),r):_conditionalReturn(i,function(a){return a=(s+(a-e)%s)%s||0,e+(a>n?s-a:a)})},_replaceRandom=function(e){for(var r=0,i="",n,s,a,o;~(n=e.indexOf("random(",r));)a=e.indexOf(")",n),o=e.charAt(n+7)==="[",s=e.substr(n+7,a-n-7).match(o?_delimitedValueExp:_strictNumExp),i+=e.substr(r,n-r)+random(o?s:+s[0],o?0:+s[1],+s[2]||1e-5),r=a+1;return i+e.substr(r,e.length-r)},mapRange=function(e,r,i,n,s){var a=r-e,o=n-i;return _conditionalReturn(s,function(l){return i+((l-e)/a*o||0)})},interpolate=function t(e,r,i,n){var s=isNaN(e+r)?0:function(u){return(1-u)*e+u*r};if(!s){var a=_isString$1(e),o={},l,h,c,d,f;if(i===!0&&(n=1)&&(i=null),a)e={p:e},r={p:r};else if(_isArray(e)&&!_isArray(r)){for(c=[],d=e.length,f=d-2,h=1;h<d;h++)c.push(t(e[h-1],e[h]));d--,s=function(m){m*=d;var p=Math.min(f,~~m);return c[p](m-p)},i=r}else n||(e=_merge(_isArray(e)?[]:{},e));if(!c){for(l in r)_addPropTween.call(o,e,l,"get",r[l]);s=function(m){return _renderPropTweens(m,o)||(a?e.p:e)}}}return _conditionalReturn(i,s)},_getLabelInDirection=function(e,r,i){var n=e.labels,s=_bigNum$1,a,o,l;for(a in n)o=n[a]-r,o<0==!!i&&o&&s>(o=Math.abs(o))&&(l=a,s=o);return l},_callback$1=function(e,r,i){var n=e.vars,s=n[r],a=_context$2,o=e._ctx,l,h,c;if(s)return l=n[r+"Params"],h=n.callbackScope||e,i&&_lazyTweens.length&&_lazyRender(),o&&(_context$2=o),c=l?s.apply(h,l):s.call(h),_context$2=a,c},_interrupt=function(e){return _removeFromParent(e),e.scrollTrigger&&e.scrollTrigger.kill(!!_reverting$1),e.progress()<1&&_callback$1(e,"onInterrupt"),e},_quickTween,_registerPluginQueue=[],_createPlugin=function(e){if(e)if(e=!e.name&&e.default||e,_windowExists$2()||e.headless){var r=e.name,i=_isFunction$1(e),n=r&&!i&&e.init?function(){this._props=[]}:e,s={init:_emptyFunc,render:_renderPropTweens,add:_addPropTween,kill:_killPropTweensOf,modifier:_addPluginModifier,rawVars:0},a={targetTest:0,get:0,getSetter:_getSetter,aliases:{},register:0};if(_wake(),e!==n){if(_plugins[r])return;_setDefaults$1(n,_setDefaults$1(_copyExcluding(e,s),a)),_merge(n.prototype,_merge(s,_copyExcluding(e,a))),_plugins[n.prop=r]=n,e.targetTest&&(_harnessPlugins.push(n),_reservedProps[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}_addGlobal(r,n),e.register&&e.register(gsap$2,n,PropTween)}else _registerPluginQueue.push(e)},_255=255,_colorLookup={aqua:[0,_255,_255],lime:[0,_255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_255],navy:[0,0,128],white:[_255,_255,_255],olive:[128,128,0],yellow:[_255,_255,0],orange:[_255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_255,0,0],pink:[_255,192,203],cyan:[0,_255,_255],transparent:[_255,_255,_255,0]},_hue=function(e,r,i){return e+=e<0?1:e>1?-1:0,(e*6<1?r+(i-r)*e*6:e<.5?i:e*3<2?r+(i-r)*(2/3-e)*6:r)*_255+.5|0},splitColor=function(e,r,i){var n=e?_isNumber$1(e)?[e>>16,e>>8&_255,e&_255]:0:_colorLookup.black,s,a,o,l,h,c,d,f,u,m;if(!n){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),_colorLookup[e])n=_colorLookup[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+s+s+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return n=parseInt(e.substr(1,6),16),[n>>16,n>>8&_255,n&_255,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),n=[e>>16,e>>8&_255,e&_255]}else if(e.substr(0,3)==="hsl"){if(n=m=e.match(_strictNumExp),!r)l=+n[0]%360/360,h=+n[1]/100,c=+n[2]/100,a=c<=.5?c*(h+1):c+h-c*h,s=c*2-a,n.length>3&&(n[3]*=1),n[0]=_hue(l+1/3,s,a),n[1]=_hue(l,s,a),n[2]=_hue(l-1/3,s,a);else if(~e.indexOf("="))return n=e.match(_numExp),i&&n.length<4&&(n[3]=1),n}else n=e.match(_strictNumExp)||_colorLookup.transparent;n=n.map(Number)}return r&&!m&&(s=n[0]/_255,a=n[1]/_255,o=n[2]/_255,d=Math.max(s,a,o),f=Math.min(s,a,o),c=(d+f)/2,d===f?l=h=0:(u=d-f,h=c>.5?u/(2-d-f):u/(d+f),l=d===s?(a-o)/u+(a<o?6:0):d===a?(o-s)/u+2:(s-a)/u+4,l*=60),n[0]=~~(l+.5),n[1]=~~(h*100+.5),n[2]=~~(c*100+.5)),i&&n.length<4&&(n[3]=1),n},_colorOrderData=function(e){var r=[],i=[],n=-1;return e.split(_colorExp).forEach(function(s){var a=s.match(_numWithUnitExp)||[];r.push.apply(r,a),i.push(n+=a.length+1)}),r.c=i,r},_formatColors=function(e,r,i){var n="",s=(e+n).match(_colorExp),a=r?"hsla(":"rgba(",o=0,l,h,c,d;if(!s)return e;if(s=s.map(function(f){return(f=splitColor(f,r,1))&&a+(r?f[0]+","+f[1]+"%,"+f[2]+"%,"+f[3]:f.join(","))+")"}),i&&(c=_colorOrderData(e),l=i.c,l.join(n)!==c.c.join(n)))for(h=e.replace(_colorExp,"1").split(_numWithUnitExp),d=h.length-1;o<d;o++)n+=h[o]+(~l.indexOf(o)?s.shift()||a+"0,0,0,0)":(c.length?c:s.length?s:i).shift());if(!h)for(h=e.split(_colorExp),d=h.length-1;o<d;o++)n+=h[o]+s[o];return n+h[d]},_colorExp=function(){var t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",e;for(e in _colorLookup)t+="|"+e+"\\b";return new RegExp(t+")","gi")}(),_hslExp=/hsl[a]?\(/,_colorStringFilter=function(e){var r=e.join(" "),i;if(_colorExp.lastIndex=0,_colorExp.test(r))return i=_hslExp.test(r),e[1]=_formatColors(e[1],i),e[0]=_formatColors(e[0],i,_colorOrderData(e[1])),!0},_tickerActive,_ticker=function(){var t=Date.now,e=500,r=33,i=t(),n=i,s=1e3/240,a=s,o=[],l,h,c,d,f,u,m=function p(x){var _=t()-n,y=x===!0,g,v,k,P;if((_>e||_<0)&&(i+=_-r),n+=_,k=n-i,g=k-a,(g>0||y)&&(P=++d.frame,f=k-d.time*1e3,d.time=k=k/1e3,a+=g+(g>=s?4:s-g),v=1),y||(l=h(p)),v)for(u=0;u<o.length;u++)o[u](k,f,P,x)};return d={time:0,frame:0,tick:function(){m(!0)},deltaRatio:function(x){return f/(1e3/(x||60))},wake:function(){_coreReady&&(!_coreInitted$2&&_windowExists$2()&&(_win$3=_coreInitted$2=window,_doc$3=_win$3.document||{},_globals.gsap=gsap$2,(_win$3.gsapVersions||(_win$3.gsapVersions=[])).push(gsap$2.version),_install(_installScope||_win$3.GreenSockGlobals||!_win$3.gsap&&_win$3||{}),_registerPluginQueue.forEach(_createPlugin)),c=typeof requestAnimationFrame<"u"&&requestAnimationFrame,l&&d.sleep(),h=c||function(x){return setTimeout(x,a-d.time*1e3+1|0)},_tickerActive=1,m(2))},sleep:function(){(c?cancelAnimationFrame:clearTimeout)(l),_tickerActive=0,h=_emptyFunc},lagSmoothing:function(x,_){e=x||1/0,r=Math.min(_||33,e)},fps:function(x){s=1e3/(x||240),a=d.time*1e3+s},add:function(x,_,y){var g=_?function(v,k,P,C){x(v,k,P,C),d.remove(g)}:x;return d.remove(x),o[y?"unshift":"push"](g),_wake(),g},remove:function(x,_){~(_=o.indexOf(x))&&o.splice(_,1)&&u>=_&&u--},_listeners:o},d}(),_wake=function(){return!_tickerActive&&_ticker.wake()},_easeMap={},_customEaseExp=/^[\d.\-M][\d.\-,\s]/,_quotesExp=/["']/g,_parseObjectInString=function(e){for(var r={},i=e.substr(1,e.length-3).split(":"),n=i[0],s=1,a=i.length,o,l,h;s<a;s++)l=i[s],o=s!==a-1?l.lastIndexOf(","):l.length,h=l.substr(0,o),r[n]=isNaN(h)?h.replace(_quotesExp,"").trim():+h,n=l.substr(o+1).trim();return r},_valueInParentheses=function(e){var r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r);return e.substring(r,~n&&n<i?e.indexOf(")",i+1):i)},_configEaseFromString=function(e){var r=(e+"").split("("),i=_easeMap[r[0]];return i&&r.length>1&&i.config?i.config.apply(null,~e.indexOf("{")?[_parseObjectInString(r[1])]:_valueInParentheses(e).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(e)?_easeMap._CE("",e):i},_invertEase=function(e){return function(r){return 1-e(1-r)}},_propagateYoyoEase=function t(e,r){for(var i=e._first,n;i;)i instanceof Timeline?t(i,r):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==r&&(i.timeline?t(i.timeline,r):(n=i._ease,i._ease=i._yEase,i._yEase=n,i._yoyo=r)),i=i._next},_parseEase=function(e,r){return e&&(_isFunction$1(e)?e:_easeMap[e]||_configEaseFromString(e))||r},_insertEase=function(e,r,i,n){i===void 0&&(i=function(l){return 1-r(1-l)}),n===void 0&&(n=function(l){return l<.5?r(l*2)/2:1-r((1-l)*2)/2});var s={easeIn:r,easeOut:i,easeInOut:n},a;return _forEachName(e,function(o){_easeMap[o]=_globals[o]=s,_easeMap[a=o.toLowerCase()]=i;for(var l in s)_easeMap[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=_easeMap[o+"."+l]=s[l]}),s},_easeInOutFromOut=function(e){return function(r){return r<.5?(1-e(1-r*2))/2:.5+e((r-.5)*2)/2}},_configElastic=function t(e,r,i){var n=r>=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),a=s/_2PI*(Math.asin(1/n)||0),o=function(c){return c===1?1:n*Math.pow(2,-10*c)*_sin((c-a)*s)+1},l=e==="out"?o:e==="in"?function(h){return 1-o(1-h)}:_easeInOutFromOut(o);return s=_2PI/s,l.config=function(h,c){return t(e,h,c)},l},_configBack=function t(e,r){r===void 0&&(r=1.70158);var i=function(a){return a?--a*a*((r+1)*a+r)+1:0},n=e==="out"?i:e==="in"?function(s){return 1-i(1-s)}:_easeInOutFromOut(i);return n.config=function(s){return t(e,s)},n};_forEachName("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;_insertEase(t+",Power"+(r-1),e?function(i){return Math.pow(i,r)}:function(i){return i},function(i){return 1-Math.pow(1-i,r)},function(i){return i<.5?Math.pow(i*2,r)/2:1-Math.pow((1-i)*2,r)/2})});_easeMap.Linear.easeNone=_easeMap.none=_easeMap.Linear.easeIn;_insertEase("Elastic",_configElastic("in"),_configElastic("out"),_configElastic());(function(t,e){var r=1/e,i=2*r,n=2.5*r,s=function(o){return o<r?t*o*o:o<i?t*Math.pow(o-1.5/e,2)+.75:o<n?t*(o-=2.25/e)*o+.9375:t*Math.pow(o-2.625/e,2)+.984375};_insertEase("Bounce",function(a){return 1-s(1-a)},s)})(7.5625,2.75);_insertEase("Expo",function(t){return t?Math.pow(2,10*(t-1)):0});_insertEase("Circ",function(t){return-(_sqrt(1-t*t)-1)});_insertEase("Sine",function(t){return t===1?1:-_cos(t*_HALF_PI)+1});_insertEase("Back",_configBack("in"),_configBack("out"),_configBack());_easeMap.SteppedEase=_easeMap.steps=_globals.SteppedEase={config:function(e,r){e===void 0&&(e=1);var i=1/e,n=e+(r?0:1),s=r?1:0,a=1-_tinyNum;return function(o){return((n*_clamp$1(0,a,o)|0)+s)*i}}};_defaults$1.ease=_easeMap["quad.out"];_forEachName("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return _callbackNames+=t+","+t+"Param
9s,"});var GSCache=function(e,r){this.id=_gsID++,e._gsap=this,this.target=e,this.harness=r,this.get=r?r.get:_getProperty,this.set=r?r.getSetter:_getSetter},Animation=function(){function t(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,_setDuration(this,+r.duration,1,1),this.data=r.data,_context$2&&(this._ctx=_context$2,_context$2.data.push(this)),_tickerActive||_ticker.wake()}var e=t.prototype;return e.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},e.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},e.totalDuration=function(i){return arguments.length?(this._dirty=0,_setDuration(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,n){if(_wake(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(_alignPlayhead(this,i),!s._dp||s.parent||_postAddChecks(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&_addToTimeline(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!n||this._initted&&Math.abs(this._zTime)===_tinyNum||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),_lazySafeRender(this,i,n)),this},e.time=function(i,n){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+_elapsedCycleDuration(this))%(this._dur+this._rDelay)||(i?this._dur:0),n):this._time},e.totalProgress=function(i,n){return arguments.length?this.totalTime(this.totalDuration()*i,n):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(i,n){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+_elapsedCycleDuration(this),n):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(i,n){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*s,n):this._repeat?_animationCycle(this._tTime,s)+1:1},e.timeScale=function(i,n){if(!arguments.length)return this._rts===-_tinyNum?0:this._rts;if(this._rts===i)return this;var s=this.parent&&this._ts?_parentToChildTotalTime(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-_tinyNum?0:this._rts,this.totalTime(_clamp$1(-Math.abs(this._delay),this._tDur,s),n!==!1),_setEnd(this),_recacheAncestors(this)},e.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(_wake(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_tinyNum&&(this._tTime-=_tinyNum)))),this):this._ps},e.startTime=function(i){if(arguments.length){this._start=i;var n=this.parent||this._dp;return n&&(n._sort||!this.parent)&&_addToTimeline(n,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(_isNotFalse(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(i){var n=this.parent||this._dp;return n?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?_parentToChildTotalTime(n.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=_revertConfig);var n=_reverting$1;return _reverting$1=i,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),_reverting$1=n,this},e.globalTime=function(i){for(var n=this,s=arguments.length?i:n.rawTime();n;)s=n._start+s/(Math.abs(n._ts)||1),n=n._dp;return!this.parent&&this._sat?this._sat.globalTime(i):s},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,_onUpdateTotalDuration(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var n=this._time;
vendor: 57,007 bytes, lines 9-17
9return this._rDelay=i,_onUpdateTotalDuration(this),n?this.time(n):this}return this._rDelay},e.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},e.seek=function(i,n){return this.totalTime(_parsePosition$1(this,i),_isNotFalse(n))},e.restart=function(i,n){return this.play().totalTime(i?-this._delay:0,_isNotFalse(n))},e.play=function(i,n){return i!=null&&this.seek(i,n),this.reversed(!1).paused(!1)},e.reverse=function(i,n){return i!=null&&this.seek(i||this.totalDuration(),n),this.reversed(!0).paused(!1)},e.pause=function(i,n){return i!=null&&this.seek(i,n),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-_tinyNum:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-_tinyNum,this},e.isActive=function(){var i=this.parent||this._dp,n=this._start,s;return!!(!i||this._ts&&this._initted&&i.isActive()&&(s=i.rawTime(!0))>=n&&s<this.endTime(!0)-_tinyNum)},e.eventCallback=function(i,n,s){var a=this.vars;return arguments.length>1?(n?(a[i]=n,s&&(a[i+"Params"]=s),i==="onUpdate"&&(this._onUpdate=n)):delete a[i],this):a[i]},e.then=function(i){var n=this;return new Promise(function(s){var a=_isFunction$1(i)?i:_passThrough$1,o=function(){var h=n.then;n.then=null,_isFunction$1(a)&&(a=a(n))&&(a.then||a===n)&&(n.then=h),s(a),n.then=h};n._initted&&n.totalProgress()===1&&n._ts>=0||!n._tTime&&n._ts<0?o():n._prom=o})},e.kill=function(){_interrupt(this)},t}();_setDefaults$1(Animation.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:-_tinyNum,_prom:0,_ps:!1,_rts:1});var Timeline=function(t){_inheritsLoose(e,t);function e(i,n){var s;return i===void 0&&(i={}),s=t.call(this,i)||this,s.labels={},s.smoothChildTiming=!!i.smoothChildTiming,s.autoRemoveChildren=!!i.autoRemoveChildren,s._sort=_isNotFalse(i.sortChildren),_globalTimeline&&_addToTimeline(i.parent||_globalTimeline,_assertThisInitialized(s),n),i.reversed&&s.reverse(),i.paused&&s.paused(!0),i.scrollTrigger&&_scrollTrigger(_assertThisInitialized(s),i.scrollTrigger),s}var r=e.prototype;return r.to=function(n,s,a){return _createTweenType(0,arguments,this),this},r.from=function(n,s,a){return _createTweenType(1,arguments,this),this},r.fromTo=function(n,s,a,o){return _createTweenType(2,arguments,this),this},r.set=function(n,s,a){return s.duration=0,s.parent=this,_inheritDefaults(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Tween(n,s,_parsePosition$1(this,a),1),this},r.call=function(n,s,a){return _addToTimeline(this,Tween.delayedCall(0,n,s),a)},r.staggerTo=function(n,s,a,o,l,h,c){return a.duration=s,a.stagger=a.stagger||o,a.onComplete=h,a.onCompleteParams=c,a.parent=this,new Tween(n,a,_parsePosition$1(this,l)),this},r.staggerFrom=function(n,s,a,o,l,h,c){return a.runBackwards=1,_inheritDefaults(a).immediateRender=_isNotFalse(a.immediateRender),this.staggerTo(n,s,a,o,l,h,c)},r.staggerFromTo=function(n,s,a,o,l,h,c,d){return o.startAt=a,_inheritDefaults(o).immediateRender=_isNotFalse(o.immediateRender),this.staggerTo(n,s,o,l,h,c,d)},r.render=function(n,s,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,h=this._dur,c=n<=0?0:_roundPrecise(n),d=this._zTime<0!=n<0&&(this._initted||!h),f,u,m,p,x,_,y,g,v,k,P,C;if(this!==_globalTimeline&&c>l&&n>=0&&(c=l),c!==this._tTime||a||d){if(o!==this._time&&h&&(c+=this._time-o,n+=this._time-o),f=c,v=this._start,g=this._ts,_=!g,d&&(h||(o=this._zTime),(n||!s)&&(this._zTime=n)),this._repeat){if(P=this._yoyo,x=h+this._rDelay,this._repeat<-1&&n<0)return this.totalTime(x*100+n,s,a);if(f=_roundPrecise(c%x),c===l?(p=this._repeat,f=h):(p=~~(c/x),p&&p===c/x&&(f=h,p--),f>h&&(f=h)),k=_animationCycle(this._tTime,x),!o&&this._tTime&&k!==p&&this._tTime-k*x-this._dur<=0&&(k=p),P&&p&1&&(f=h-f,C=1),p!==k&&!this._lock){var E=P&&k&1,M=E===(P&&p&1);if(p<k&&(E=!E),o=E?0:c%h?h:c,this._lock=1,this.render(o||(C?0:_roundPrecise(p*x)),s,!h)._lock=0,this._tTime=c,!s&&this.parent&&_callback$1(this,"onRepeat"),this.vars.repeatRefresh&&!C&&(this.invalidate()._lock=1),o&&o!==this._time||_!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(h=this._dur,l=this._tDur,M&&(this._lock=2,o=E?h:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!C&&this.invalidate()),this._lock=0,!this._ts&&!_)return this;_propagateYoyoEase(this,C)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(y=_findNextPauseTween(this,_roundPrecise(o),_roundPrecise(f)),y&&(c-=f-(f=y._start))),this._tTime=c,this._time=f,this._act=!g,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=n,o=0),!o&&f&&!s&&!p&&(_callback$1(this,"onStart"),this._tTime!==c))return this;if(f>=o&&n>=0)for(u=this._first;u;){if(m=u._next,(u._act||f>=u._start)&&u._ts&&y!==u){if(u.parent!==this)return this.render(n,s,a);if(u.render(u._ts>0?(f-u._start)*u._ts:(u._dirty?u.totalDuration():u._tDur)+(f-u._start)*u._ts,s,a),f!==this._time||!this._ts&&!_){y=0,m&&(c+=this._zTime=-_tinyNum);break}}u=m}else{u=this._last;for(var B=n<0?n:f;u;){if(m=u._prev,(u._act||B<=u._end)&&u._ts&&y!==u){if(u.parent!==this)return this.render(n,s,a);if(u.render(u._ts>0?(B-u._start)*u._ts:(u._dirty?u.totalDuration():u._tDur)+(B-u._start)*u._ts,s,a||_reverting$1&&(u._initted||u._startAt)),f!==this._time||!this._ts&&!_){y=0,m&&(c+=this._zTime=B?-_tinyNum:_tinyNum);break}}u=m}}if(y&&!s&&(this.pause(),y.render(f>=o?0:-_tinyNum)._zTime=f>=o?1:-1,this._ts))return this._start=v,_setEnd(this),this.render(n,s,a);this._onUpdate&&!s&&_callback$1(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&o)&&(v===this._start||Math.abs(g)!==Math.abs(this._ts))&&(this._lock||((n||!h)&&(c===l&&this._ts>0||!c&&this._ts<0)&&_removeFromParent(this,1),!s&&!(n<0&&!o)&&(c||o||!l)&&(_callback$1(this,c===l&&n>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c<l&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(n,s){var a=this;if(_isNumber$1(s)||(s=_parsePosition$1(this,s,n)),!(n instanceof Animation)){if(_isArray(n))return n.forEach(function(o){return a.add(o,s)}),this;if(_isString$1(n))return this.addLabel(n,s);if(_isFunction$1(n))n=Tween.delayedCall(0,n);else return this}return this!==n?_addToTimeline(this,n,s):this},r.getChildren=function(n,s,a,o){n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=!0),o===void 0&&(o=-_bigNum$1);for(var l=[],h=this._first;h;)h._start>=o&&(h instanceof Tween?s&&l.push(h):(a&&l.push(h),n&&l.push.apply(l,h.getChildren(!0,s,a)))),h=h._next;return l},r.getById=function(n){for(var s=this.getChildren(1,1,1),a=s.length;a--;)if(s[a].vars.id===n)return s[a]},r.remove=function(n){return _isString$1(n)?this.removeLabel(n):_isFunction$1(n)?this.killTweensOf(n):(_removeLinkedListItem(this,n),n===this._recent&&(this._recent=this._last),_uncache(this))},r.totalTime=function(n,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_roundPrecise(_ticker.time-(this._ts>0?n/this._ts:(this.totalDuration()-n)/-this._ts))),t.prototype.totalTime.call(this,n,s),this._forcing=0,this):this._tTime},r.addLabel=function(n,s){return this.labels[n]=_parsePosition$1(this,s),this},r.removeLabel=function(n){return delete this.labels[n],this},r.addPause=function(n,s,a){var o=Tween.delayedCall(0,s||_emptyFunc,a);return o.data="isPause",this._hasPause=1,_addToTimeline(this,o,_parsePosition$1(this,n))},r.removePause=function(n){var s=this._first;for(n=_parsePosition$1(this,n);s;)s._start===n&&s.data==="isPause"&&_removeFromParent(s),s=s._next},r.killTweensOf=function(n,s,a){for(var o=this.getTweensOf(n,a),l=o.length;l--;)_overwritingTween!==o[l]&&o[l].kill(n,s);return this},r.getTweensOf=function(n,s){for(var a=[],o=toArray(n),l=this._first,h=_isNumber$1(s),c;l;)l instanceof Tween?_arrayContainsAny(l._targets,o)&&(h?(!_overwritingTween||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&a.push(l):(c=l.getTweensOf(o,s)).length&&a.push.apply(a,c),l=l._next;return a},r.tweenTo=function(n,s){s=s||{};var a=this,o=_parsePosition$1(a,n),l=s,h=l.startAt,c=l.onStart,d=l.onStartParams,f=l.immediateRender,u,m=Tween.to(a,_setDefaults$1({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:s.duration||Math.abs((o-(h&&"time"in h?h.time:a._time))/a.timeScale())||_tinyNum,onStart:function(){if(a.pause(),!u){var x=s.duration||Math.abs((o-(h&&"time"in h?h.time:a._time))/a.timeScale());m._dur!==x&&_setDuration(m,x,0,1).render(m._time,!0,!0),u=1}c&&c.apply(m,d||[])}},s));return f?m.render(0):m},r.tweenFromTo=function(n,s,a){return this.tweenTo(s,_setDefaults$1({startAt:{time:_parsePosition$1(this,n)}},a))},r.recent=function(){return this._recent},r.nextLabel=function(n){return n===void 0&&(n=this._time),_getLabelInDirection(this,_parsePosition$1(this,n))},r.previousLabel=function(n){return n===void 0&&(n=this._time),_getLabelInDirection(this,_parsePosition$1(this,n),1)},r.currentLabel=function(n){return arguments.length?this.seek(n,!0):this.previousLabel(this._time+_tinyNum)},r.shiftChildren=function(n,s,a){a===void 0&&(a=0);for(var o=this._first,l=this.labels,h;o;)o._start>=a&&(o._start+=n,o._end+=n),o=o._next;if(s)for(h in l)l[h]>=a&&(l[h]+=n);return _uncache(this)},r.invalidate=function(n){var s=this._first;for(this._lock=0;s;)s.invalidate(n),s=s._next;return t.prototype.invalidate.call(this,n)},r.clear=function(n){n===void 0&&(n=!0);for(var s=this._first,a;s;)a=s._next,this.remove(s),s=a;return this._dp&&(this._time=this._tTime=this._pTime=0),n&&(this.labels={}),_uncache(this)},r.totalDuration=function(n){var s=0,a=this,o=a._last,l=_bigNum$1,h,c,d;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-n:n));if(a._dirty){for(d=a.parent;o;)h=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,_addToTimeline(a,o,c-o._delay,1)._lock=0):l=c,c<0&&o._ts&&(s-=c,(!d&&!a._dp||d&&d.smoothChildTiming)&&(a._start+=c/a._ts,a._time-=c,a._tTime-=c),a.shiftChildren(-c,!1,-1/0),l=0),o._end>s&&o._ts&&(s=o._end),o=h;_setDuration(a,a===_globalTimeline&&a._time>s?a._time:s,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(n){if(_globalTimeline._ts&&(_lazySafeRender(_globalTimeline,_parentToChildTotalTime(n,_globalTimeline)),_lastRenderedFrame=_ticker.frame),_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var s=_globalTimeline._first;if((!s||!s._ts)&&_config.autoSleep&&_ticker._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||_ticker.sleep()}}},e}(Animation);_setDefaults$1(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function(e,r,i,n,s,a,o){var l=new PropTween(this._pt,e,r,0,1,_renderComplexString,null,s),h=0,c=0,d,f,u,m,p,x,_,y;for(l.b=i,l.e=n,i+="",n+="",(_=~n.indexOf("random("))&&(n=_replaceRandom(n)),a&&(y=[i,n],a(y,e,r),i=y[0],n=y[1]),f=i.match(_complexStringNumExp)||[];d=_complexStringNumExp.exec(n);)m=d[0],p=n.substring(h,d.index),u?u=(u+1)%5:p.substr(-5)==="rgba("&&(u=1),m!==f[c++]&&(x=parseFloat(f[c-1])||0,l._pt={_next:l._pt,p:p||c===1?p:",",s:x,c:m.charAt(1)==="="?_parseRelative(x,m)-x:parseFloat(m)-x,m:u&&u<4?Math.round:0},h=_complexStringNumExp.lastIndex);return l.c=h<n.length?n.substring(h,n.length):"",l.fp=o,(_relExp.test(n)||_)&&(l.e=0),this._pt=l,l},_addPropTween=function(e,r,i,n,s,a,o,l,h,c){_isFunction$1(n)&&(n=n(s||0,e,a));var d=e[r],f=i!=="get"?i:_isFunction$1(d)?h?e[r.indexOf("set")||!_isFunction$1(e["get"+r.substr(3)])?r:"get"+r.substr(3)](h):e[r]():d,u=_isFunction$1(d)?h?_setterFuncWithParam:_setterFunc:_setterPlain,m;if(_isString$1(n)&&(~n.indexOf("random(")&&(n=_replaceRandom(n)),n.charAt(1)==="="&&(m=_parseRelative(f,n)+(getUnit(f)||0),(m||m===0)&&(n=m))),!c||f!==n||_forceAllPropTweens)return!isNaN(f*n)&&n!==""?(m=new PropTween(this._pt,e,r,+f||0,n-(f||0),typeof d=="boolean"?_renderBoolean:_renderPlain,0,u),h&&(m.fp=h),o&&m.modifier(o,this,e),this._pt=m):(!d&&!(r in e)&&_missingPlugin(r,n),_addComplexStringPropTween.call(this,e,r,f,n,u,l||_config.stringFilter,h))},_processVars=function(e,r,i,n,s){if(_isFunction$1(e)&&(e=_parseFuncOrString(e,s,r,i,n)),!_isObject$1(e)||e.style&&e.nodeType||_isArray(e)||_isTypedArray(e))return _isString$1(e)?_parseFuncOrString(e,s,r,i,n):e;var a={},o;for(o in e)a[o]=_parseFuncOrString(e[o],s,r,i,n);return a},_checkPlugin=function(e,r,i,n,s,a){var o,l,h,c;if(_plugins[e]&&(o=new _plugins[e]).init(s,o.rawVars?r[e]:_processVars(r[e],n,s,a,i),i,n,a)!==!1&&(i._pt=l=new PropTween(i._pt,s,e,0,1,o.render,o,0,o.priority),i!==_quickTween))for(h=i._ptLookup[i._targets.indexOf(s)],c=o._props.length;c--;)h[o._props[c]]=l;return o},_overwritingTween,_forceAllPropTweens,_initTween=function t(e,r,i){var n=e.vars,s=n.ease,a=n.startAt,o=n.immediateRender,l=n.lazy,h=n.onUpdate,c=n.runBackwards,d=n.yoyoEase,f=n.keyframes,u=n.autoRevert,m=e._dur,p=e._startAt,x=e._targets,_=e.parent,y=_&&_.data==="nested"?_.vars.targets:x,g=e._overwrite==="auto"&&!_suppressOverwrites$1,v=e.timeline,k,P,C,E,M,B,D,I,L,R,$,T,A;if(v&&(!f||!s)&&(s="none"),e._ease=_parseEase(s,_defaults$1.ease),e._yEase=d?_invertEase(_parseEase(d===!0?s:d,_defaults$1.ease)):0,d&&e._yoyo&&!e._repeat&&(d=e._yEase,e._yEase=e._ease,e._ease=d),e._from=!v&&!!n.runBackwards,!v||f&&!n.stagger){if(I=x[0]?_getCache(x[0]).harness:0,T=I&&n[I.prop],k=_copyExcluding(n,_reservedProps),p&&(p._zTime<0&&p.progress(1),r<0&&c&&o&&!u?p.render(-1,!0):p.revert(c&&m?_revertConfigNoKill:_startAtRevertConfig),p._lazy=0),a){if(_removeFromParent(e._startAt=Tween.set(x,_setDefaults$1({data:"isStart",overwrite:!1,parent:_,immediateRender:!0,lazy:!p&&_isNotFalse(l),startAt:null,delay:0,onUpdate:h&&function(){return _callback$1(e,"onUpdate")},stagger:0},a))),e._startAt._dp=0,e._startAt._sat=e,r<0&&(_reverting$1||!o&&!u)&&e._startAt.revert(_revertConfigNoKill),o&&m&&r<=0&&i<=0){r&&(e._zTime=r);return}}else if(c&&m&&!p){if(r&&(o=!1),C=_setDefaults$1({overwrite:!1,data:"isFromStart",lazy:o&&!p&&_isNotFalse(l),immediateRender:o,stagger:0,parent:_},k),T&&(C[I.prop]=T),_removeFromParent(e._startAt=Tween.set(x,C)),e._startAt._dp=0,e._startAt._sat=e,r<0&&(_reverting$1?e._startAt.revert(_revertConfigNoKill):e._startAt.render(-1,!0)),e._zTime=r,!o)t(e._startAt,_tinyNum,_tinyNum);else if(!r)return}for(e._pt=e._ptCache=0,l=m&&_isNotFalse(l)||l&&!m,P=0;P<x.length;P++){if(M=x[P],D=M._gsap||_harness(x)[P]._gsap,e._ptLookup[P]=R={},_lazyLookup[D.id]&&_lazyTweens.length&&_lazyRender(),$=y===x?P:y.indexOf(M),I&&(L=new I).init(M,T||k,e,$,y)!==!1&&(e._pt=E=new PropTween(e._pt,M,L.name,0,1,L.render,L,0,L.priority),L._props.forEach(function(b){R[b]=E}),L.priority&&(B=1)),!I||T)for(C in k)_plugins[C]&&(L=_checkPlugin(C,k,e,$,M,y))?L.priority&&(B=1):R[C]=E=_addPropTween.call(e,M,C,"get",k[C],$,y,0,n.stringFilter);e._op&&e._op[P]&&e.kill(M,e._op[P]),g&&e._pt&&(_overwritingTween=e,_globalTimeline.killTweensOf(M,R,e.globalTime(r)),A=!e.parent,_overwritingTween=0),e._pt&&l&&(_lazyLookup[D.id]=1)}B&&_sortPropTweensByPriority(e),e._onInit&&e._onInit(e)}e._onUpdate=h,e._initted=(!e._op||e._pt)&&!A,f&&r<=0&&v.render(_bigNum$1,!0,!0)},_updatePropTweens=function(e,r,i,n,s,a,o,l){var h=(e._pt&&e._ptCache||(e._ptCache={}))[r],c,d,f,u;if(!h)for(h=e._ptCache[r]=[],f=e._ptLookup,u=e._targets.length;u--;){if(c=f[u][r],c&&c.d&&c.d._pt)for(c=c.d._pt;c&&c.p!==r&&c.fp!==r;)c=c._next;if(!c)return _forceAllPropTweens=1,e.vars[r]="+=0",_initTween(e,o),_forceAllPropTweens=0,l?_warn(r+" not eligible for reset"):1;h.push(c)}for(u=h.length;u--;)d=h[u],c=d._pt||d,c.s=(n||n===0)&&!s?n:c.s+(n||0)+a*c.c,c.c=i-c.s,d.e&&(d.e=_round$1(i)+getUnit(d.e)),d.b&&(d.b=c.s+getUnit(d.b))},_addAliasesToVars=function(e,r){var i=e[0]?_getCache(e[0]).harness:0,n=i&&i.aliases,s,a,o,l;if(!n)return r;s=_merge({},r);for(a in n)if(a in s)for(l=n[a].split(","),o=l.length;o--;)s[l[o]]=s[a];return s},_parseKeyframe=function(e,r,i,n){var s=r.ease||n||"power1.inOut",a,o;if(_isArray(r))o=i[e]||(i[e]=[]),r.forEach(function(l,h){return o.push({t:h/(r.length-1)*100,v:l,e:s})});else for(a in r)o=i[a]||(i[a]=[]),a==="ease"||o.push({t:parseFloat(e),v:r[a],e:s})},_parseFuncOrString=function(e,r,i,n,s){return _isFunction$1(e)?e.call(r,i,n,s):_isString$1(e)&&~e.indexOf("random(")?_replaceRandom(e):e},_staggerTweenProps=_callbackNames+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",_staggerPropsToSkip={};_forEachName(_staggerTweenProps+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return _staggerPropsToSkip[t]=1});var Tween=function(t){_inheritsLoose(e,t);function e(i,n,s,a){var o;typeof n=="number"&&(s.duration=n,n=s,s=null),o=t.call(this,a?n:_inheritDefaults(n))||this;var l=o.vars,h=l.duration,c=l.delay,d=l.immediateRender,f=l.stagger,u=l.overwrite,m=l.keyframes,p=l.defaults,x=l.scrollTrigger,_=l.yoyoEase,y=n.parent||_globalTimeline,g=(_isArray(i)||_isTypedArray(i)?_isNumber$1(i[0]):"length"in n)?[i]:toArray(i),v,k,P,C,E,M,B,D;if(o._targets=g.length?_harness(g):_warn("GSAP target "+i+" not found. https://gsap.com",!_config.nullTargetWarn)||[],o._ptLookup=[],o._overwrite=u,m||f||_isFuncOrString(h)||_isFuncOrString(c)){if(n=o.vars,v=o.timeline=new Timeline({data:"nested",defaults:p||{},targets:y&&y.data==="nested"?y.vars.targets:g}),v.kill(),v.parent=v._dp=_assertThisInitialized(o),v._start=0,f||_isFuncOrString(h)||_isFuncOrString(c)){if(C=g.length,B=f&&distribute(f),_isObject$1(f))for(E in f)~_staggerTweenProps.indexOf(E)&&(D||(D={}),D[E]=f[E]);for(k=0;k<C;k++)P=_copyExcluding(n,_staggerPropsToSkip),P.stagger=0,_&&(P.yoyoEase=_),D&&_merge(P,D),M=g[k],P.duration=+_parseFuncOrString(h,_assertThisInitialized(o),k,M,g),P.delay=(+_parseFuncOrString(c,_assertThisInitialized(o),k,M,g)||0)-o._delay,!f&&C===1&&P.delay&&(o._delay=c=P.delay,o._start+=c,P.delay=0),v.to(M,P,B?B(k,M,g):0),v._ease=_easeMap.none;v.duration()?h=c=0:o.timeline=0}else if(m){_inheritDefaults(_setDefaults$1(v.vars.defaults,{ease:"none"})),v._ease=_parseEase(m.ease||n.ease||"none");var I=0,L,R,$;if(_isArray(m))m.forEach(function(T){return v.to(g,T,">")}),v.duration();else{P={};for(E in m)E==="ease"||E==="easeEach"||_parseKeyframe(E,m[E],P,m.easeEach);for(E in P)for(L=P[E].sort(function(T,A){return T.t-A.t}),I=0,k=0;k<L.length;k++)R=L[k],$={ease:R.e,duration:(R.t-(k?L[k-1].t:0))/100*h},$[E]=R.v,v.to(g,$,I),I+=$.duration;v.duration()<h&&v.to({},{duration:h-v.duration()})}}h||o.duration(h=v.duration())}else o.timeline=0;return u===!0&&!_suppressOverwrites$1&&(_overwritingTween=_assertThisInitialized(o),_globalTimeline.killTweensOf(g),_overwritingTween=0),_addToTimeline(y,_assertThisInitialized(o),s),n.reversed&&o.reverse(),n.paused&&o.paused(!0),(d||!h&&!m&&o._start===_roundPrecise(y._time)&&_isNotFalse(d)&&_hasNoPausedAncestors(_assertThisInitialized(o))&&y.data!=="nested")&&(o._tTime=-_tinyNum,o.render(Math.max(0,-c)||0)),x&&_scrollTrigger(_assertThisInitialized(o),x),o}var r=e.prototype;return r.render=function(n,s,a){var o=this._time,l=this._tDur,h=this._dur,c=n<0,d=n>l-_tinyNum&&!c?l:n<_tinyNum?0:n,f,u,m,p,x,_,y,g,v;if(!h)_renderZeroDurationTween(this,n,s,a);else if(d!==this._tTime||!n||a||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==c){if(f=d,g=this.timeline,this._repeat){if(p=h+this._rDelay,this._repeat<-1&&c)return this.totalTime(p*100+n,s,a);if(f=_roundPrecise(d%p),d===l?(m=this._repeat,f=h):(m=~~(d/p),m&&m===_roundPrecise(d/p)&&(f=h,m--),f>h&&(f=h)),_=this._yoyo&&m&1,_&&(v=this._yEase,f=h-f),x=_animationCycle(this._tTime,p),f===o&&!a&&this._initted&&m===x)return this._tTime=d,this;m!==x&&(g&&this._yEase&&_propagateYoyoEase(g,_),this.vars.repeatRefresh&&!_&&!this._lock&&this._time!==p&&this._initted&&(this._lock=a=1,this.render(_roundPrecise(p*m),!0).invalidate()._lock=0))}if(!this._initted){if(_attemptInitTween(this,c?n:f,a,s,d))return this._tTime=0,this;if(o!==this._time&&!(a&&this.vars.repeatRefresh&&m!==x))return this;if(h!==this._dur)return this.render(n,s,a)}if(this._tTime=d,this._time=f,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=y=(v||this._ease)(f/h),this._from&&(this.ratio=y=1-y),f&&!o&&!s&&!m&&(_callback$1(this,"onStart"),this._tTime!==d))return this;for(u=this._pt;u;)u.r(y,u.d),u=u._next;g&&g.render(n<0?n:g._dur*g._ease(f/this._dur),s,a)||this._startAt&&(this._zTime=n),this._onUpdate&&!s&&(c&&_rewindStartAt(this,n,s,a),_callback$1(this,"onUpdate")),this._repeat&&m!==x&&this.vars.onRepeat&&!s&&this.parent&&_callback$1(this,"onRepeat"),(d===this._tDur||!d)&&this._tTime===d&&(c&&!this._onUpdate&&_rewindStartAt(this,n,!0,!0),(n||!h)&&(d===this._tDur&&this._ts>0||!d&&this._ts<0)&&_removeFromParent(this,1),!s&&!(c&&!o)&&(d||o||_)&&(_callback$1(this,d===l?"onComplete":"onReverseComplete",!0),this._prom&&!(d<l&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(n){return(!n||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(n),t.prototype.invalidate.call(this,n)},r.resetTo=function(n,s,a,o,l){_tickerActive||_ticker.wake(),this._ts||this.play();var h=Math.min(this._dur,(this._dp._time-this._start)*this._ts),c;return this._initted||_initTween(this,h),c=this._ease(h/this._dur),_updatePropTweens(this,n,s,a,o,c,h,l)?this.resetTo(n,s,a,o,1):(_alignPlayhead(this,0),this.parent||_addLinkedListItem(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(n,s){if(s===void 0&&(s="all"),!n&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?_interrupt(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(n,s,_overwritingTween&&_overwritingTween.vars.overwrite!==!0)._first||_interrupt(this),this.parent&&a!==this.timeline.totalDuration()&&_setDuration(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=n?toArray(n):o,h=this._ptLookup,c=this._pt,d,f,u,m,p,x,_;if((!s||s==="all")&&_arraysMatch(o,l))return s==="all"&&(this._pt=0),_interrupt(this);for(d=this._op=this._op||[],s!=="all"&&(_isString$1(s)&&(p={},_forEachName(s,function(y){return p[y]=1}),s=p),s=_addAliasesToVars(o,s)),_=o.length;_--;)if(~l.indexOf(o[_])){f=h[_],s==="all"?(d[_]=s,m=f,u={}):(u=d[_]=d[_]||{},m=s);for(p in m)x=f&&f[p],x&&((!("kill"in x.d)||x.d.kill(p)===!0)&&_removeLinkedListItem(this,x,"_pt"),delete f[p]),u!=="all"&&(u[p]=1)}return this._initted&&!this._pt&&c&&_interrupt(this),this},e.to=function(n,s){return new e(n,s,arguments[2])},e.from=function(n,s){return _createTweenType(1,arguments)},e.delayedCall=function(n,s,a,o){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:n,onComplete:s,onReverseComplete:s,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(n,s,a){return _createTweenType(2,arguments)},e.set=function(n,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(n,s)},e.killTweensOf=function(n,s,a){return _globalTimeline.killTweensOf(n,s,a)},e}(Animation);_setDefaults$1(Tween.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});_forEachName("staggerTo,staggerFrom,staggerFromTo",function(t){Tween[t]=function(){var e=new Timeline,r=_slice.call(arguments,0);return r.splice(t==="staggerFromTo"?5:4,0,0),e[t].apply(e,r)}});var _setterPlain=function(e,r,i){return e[r]=i},_setterFunc=function(e,r,i){return e[r](i)},_setterFuncWithParam=function(e,r,i,n){return e[r](n.fp,i)},_setterAttribute=function(e,r,i){return e.setAttribute(r,i)},_getSetter=function(e,r){return _isFunction$1(e[r])?_setterFunc:_isUndefined(e[r])&&e.setAttribute?_setterAttribute:_setterPlain},_renderPlain=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e6)/1e6,r)},_renderBoolean=function(e,r){return r.set(r.t,r.p,!!(r.s+r.c*e),r)},_renderComplexString=function(e,r){var i=r._pt,n="";if(!e&&r.b)n=r.b;else if(e===1&&r.e)n=r.e;else{for(;i;)n=i.p+(i.m?i.m(i.s+i.c*e):Math.round((i.s+i.c*e)*1e4)/1e4)+n,i=i._next;n+=r.c}r.set(r.t,r.p,n,r)},_renderPropTweens=function(e,r){for(var i=r._pt;i;)i.r(e,i.d),i=i._next},_addPluginModifier=function(e,r,i,n){for(var s=this._pt,a;s;)a=s._next,s.p===n&&s.modifier(e,r,i),s=a},_killPropTweensOf=function(e){for(var r=this._pt,i,n;r;)n=r._next,r.p===e&&!r.op||r.op===e?_removeLinkedListItem(this,r,"_pt"):r.dep||(i=1),r=n;return!i},_setterWithModifier=function(e,r,i,n){n.mSet(e,r,n.m.call(n.tween,i,n.mt),n)},_sortPropTweensByPriority=function(e){for(var r=e._pt,i,n,s,a;r;){for(i=r._next,n=s;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:a)?r._prev._next=r:s=r,(r._next=n)?n._prev=r:a=r,r=i}e._pt=s},PropTween=function(){function t(r,i,n,s,a,o,l,h,c){this.t=i,this.s=s,this.c=a,this.p=n,this.r=o||_renderPlain,this.d=l||this,this.set=h||_setterPlain,this.pr=c||0,this._next=r,r&&(r._prev=this)}var e=t.prototype;return e.modifier=function(i,n,s){this.mSet=this.mSet||this.set,this.set=_setterWithModifier,this.m=i,this.mt=s,this.tween=n},t}();_forEachName(_callbackNames+"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 _reservedProps[t]=1});_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:!1,defaults:_defaults$1,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_config.stringFilter=_colorStringFilter;var _media=[],_listeners$1={},_emptyArray$1=[],_lastMediaTime=0,_contextID=0,_dispatch$1=function(e){return(_listeners$1[e]||_emptyArray$1).map(function(r){return r()})},_onMediaChange=function(){var e=Date.now(),r=[];e-_lastMediaTime>2&&(_dispatch$1("matchMediaInit"),_media.forEach(function(i){var n=i.queries,s=i.conditions,a,o,l,h;for(o in n)a=_win$3.matchMedia(n[o]).matches,a&&(l=1),a!==s[o]&&(s[o]=a,h=1);h&&(i.revert(),l&&r.push(i))}),_dispatch$1("matchMediaRevert"),r.forEach(function(i){return i.onMatch(i,function(n){return i.add(null,n)})}),_lastMediaTime=e,_dispatch$1("matchMedia"))},Context=function(){function t(r,i){this.selector=i&&selector(i),this.data=[],this._r=[],this.isReverted=!1,this.id=_contextID++,r&&this.add(r)}var e=t.prototype;return e.add=function(i,n,s){_isFunction$1(i)&&(s=n,n=i,i=_isFunction$1);var a=this,o=function(){var h=_context$2,c=a.selector,d;return h&&h!==a&&h.data.push(a),s&&(a.selector=selector(s)),_context$2=a,d=n.apply(a,arguments),_isFunction$1(d)&&a._r.push(d),_context$2=h,a.selector=c,a.isReverted=!1,d};return a.last=o,i===_isFunction$1?o(a,function(l){return a.add(null,l)}):i?a[i]=o:o},e.ignore=function(i){var n=_context$2;_context$2=null,i(this),_context$2=n},e.getTweens=function(){var i=[];return this.data.forEach(function(n){return n instanceof t?i.push.apply(i,n.getTweens()):n instanceof Tween&&!(n.parent&&n.parent.data==="nested")&&i.push(n)}),i},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(i,n){var s=this;if(i?function(){for(var o=s.getTweens(),l=s.data.length,h;l--;)h=s.data[l],h.data==="isFlip"&&(h.revert(),h.getChildren(!0,!0,!1).forEach(function(c){return o.splice(o.indexOf(c),1)}));for(o.map(function(c){return{g:c._dur||c._delay||c._sat&&!c._sat.vars.immediateRender?c.globalTime(0):-1/0,t:c}}).sort(function(c,d){return d.g-c.g||-1/0}).forEach(function(c){return c.t.revert(i)}),l=s.data.length;l--;)h=s.data[l],h instanceof Timeline?h.data!=="nested"&&(h.scrollTrigger&&h.scrollTrigger.revert(),h.kill()):!(h instanceof Tween)&&h.revert&&h.revert(i);s._r.forEach(function(c){return c(i,s)}),s.isReverted=!0}():this.data.forEach(function(o){return o.kill&&o.kill()}),this.clear(),n)for(var a=_media.length;a--;)_media[a].id===this.id&&_media.splice(a,1)},e.revert=function(i){this.kill(i||{})},t}(),MatchMedia=function(){function t(r){this.contexts=[],this.scope=r,_context$2&&_context$2.data.push(this)}var e=t.prototype;return e.add=function(i,n,s){_isObject$1(i)||(i={matches:i});var a=new Context(0,s||this.scope),o=a.conditions={},l,h,c;_context$2&&!a.selector&&(a.selector=_context$2.selector),this.contexts.push(a),n=a.add("onMatch",n),a.queries=i;for(h in i)h==="all"?c=1:(l=_win$3.matchMedia(i[h]),l&&(_media.indexOf(a)<0&&_media.push(a),(o[h]=l.matches)&&(c=1),l.addListener?l.addListener(_onMediaChange):l.addEventListener("change",_onMediaChange)));return c&&n(a,function(d){return a.add(null,d)}),this},e.revert=function(i){this.kill(i||{})},e.kill=function(i){this.contexts.forEach(function(n){return n.kill(i,!0)})},t}(),_gsap={registerPlugin:function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];r.forEach(function(n){return _createPlugin(n)})},timeline:function(e){return new Timeline(e)},getTweensOf:function(e,r){return _globalTimeline.getTweensOf(e,r)},getProperty:function(e,r,i,n){_isString$1(e)&&(e=toArray(e)[0]);var s=_getCache(e||{}).get,a=i?_passThrough$1:_numericIfPossible;return i==="native"&&(i=""),e&&(r?a((_plugins[r]&&_plugins[r].get||s)(e,r,i,n)):function(o,l,h){return a((_plugins[o]&&_plugins[o].get||s)(e,o,l,h))})},quickSetter:function(e,r,i){if(e=toArray(e),e.length>1){var n=e.map(function(c){return gsap$2.quickSetter(c,r,i)}),s=n.length;return function(c){for(var d=s;d--;)n[d](c)}}e=e[0]||{};var a=_plugins[r],o=_getCache(e),l=o.harness&&(o.harness.aliases||{})[r]||r,h=a?function(c){var d=new a;_quickTween._pt=0,d.init(e,i?c+i:c,_quickTween,0,[e]),d.render(1,d),_quickTween._pt&&_renderPropTweens(1,_quickTween)}:o.set(e,l);return a?h:function(c){return h(e,l,i?c+i:c,o,1)}},quickTo:function(e,r,i){var n,s=gsap$2.to(e,_merge((n={},n[r]="+=0.1",n.paused=!0,n),i||{})),a=function(l,h,c){return s.resetTo(r,l,h,c)};return a.tween=s,a},isTweening:function(e){return _globalTimeline.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=_parseEase(e.ease,_defaults$1.ease)),_mergeDeep(_defaults$1,e||{})},config:function(e){return _mergeDeep(_config,e||{})},registerEffect:function(e){var r=e.name,i=e.effect,n=e.plugins,s=e.defaults,a=e.extendTimeline;(n||"").split(",").forEach(function(o){return o&&!_plugins[o]&&!_globals[o]&&_warn(r+" effect requires "+o+" plugin.")}),_effects[r]=function(o,l,h){return i(toArray(o),_setDefaults$1(l||{},s),h)},a&&(Timeline.prototype[r]=function(o,l,h){return this.add(_effects[r](o,_isObject$1(l)?l:(h=l)&&{},this),h)})},registerEase:function(e,r){_easeMap[e]=_parseEase(r)},parseEase:function(e,r){return arguments.length?_parseEase(e,r):_easeMap},getById:function(e){return _globalTimeline.getById(e)},exportRoot:function(e,r){e===void 0&&(e={});var i=new Timeline(e),n,s;for(i.smoothChildTiming=_isNotFalse(e.smoothChildTiming),_globalTimeline.remove(i),i._dp=0,i._time=i._tTime=_globalTimeline._time,n=_globalTimeline._first;n;)s=n._next,(r||!(!n._dur&&n instanceof Tween&&n.vars.onComplete===n._targets[0]))&&_addToTimeline(i,n,n._start-n._delay),n=s;return _addToTimeline(_globalTimeline,i,0),i},context:function(e,r){return e?new Context(e,r):_context$2},matchMedia:function(e){return new MatchMedia(e)},matchMediaRefresh:function(){return _media.forEach(function(e){var r=e.conditions,i,n;for(n in r)r[n]&&(r[n]=!1,i=1);i&&e.revert()})||_onMediaChange()},addEventListener:function(e,r){var i=_listeners$1[e]||(_listeners$1[e]=[]);~i.indexOf(r)||i.push(r)},removeEventListener:function(e,r){var i=_listeners$1[e],n=i&&i.indexOf(r);n>=0&&i.splice(n,1)},utils:{wrap,wrapYoyo,distribute,random,snap,normalize,getUnit,clamp,splitColor,toArray,selector,mapRange,pipe,unitize,interpolate,shuffle},install:_install,effects:_effects,ticker:_ticker,updateRoot:Timeline.updateRoot,plugins:_plugins,globalTimeline:_globalTimeline,core:{PropTween,globals:_addGlobal,Tween,Timeline,Animation,getCache:_getCache,_removeLinkedListItem,reverting:function(){return _reverting$1},context:function(e){return e&&_context$2&&(_context$2.data.push(e),e._ctx=_context$2),_context$2},suppressOverwrites:function(e){return _suppressOverwrites$1=e}}};_forEachName("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return _gsap[t]=Tween[t]});_ticker.add(Timeline.updateRoot);_quickTween=_gsap.to({},{duration:0});var _getPluginPropTween=function(e,r){for(var i=e._pt;i&&i.p!==r&&i.op!==r&&i.fp!==r;)i=i._next;return i},_addModifiers=function(e,r){var i=e._targets,n,s,a;for(n in r)for(s=i.length;s--;)a=e._ptLookup[s][n],a&&(a=a.d)&&(a._pt&&(a=_getPluginPropTween(a,n)),a&&a.modifier&&a.modifier(r[n],e,i[s],n))},_buildModifierPlugin=function(e,r){return{name:e,rawVars:1,init:function(n,s,a){a._onInit=function(o){var l,h;if(_isString$1(s)&&(l={},_forEachName(s,function(c){return l[c]=1}),s=l),r){l={};for(h in s)l[h]=r(s[h]);s=l}_addModifiers(o,s)}}}},gsap$2=_gsap.registerPlugin({name:"attr",init:function(e,r,i,n,s){var a,o,l;this.tween=i;for(a in r)l=e.getAttribute(a)||"",o=this.add(e,"setAttribute",(l||0)+"",r[a],n,s,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,r){for(var i=r._pt;i;)_reverting$1?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",init:function(e,r){for(var i=r.length;i--;)this.add(e,i,e[i]||0,r[i],0,0,0,0,0,1)}},_buildModifierPlugin("roundProps",_roundModifier),_buildModifierPlugin("modifiers"),_buildModifierPlugin("snap",snap))||_gsap;Tween.version=Timeline.version=gsap$2.version="3.12.5";_coreReady=1;_windowExists$2()&&_wake();_easeMap.Power0;_easeMap.Power1;_easeMap.Power2;_easeMap.Power3;_easeMap.Power4;_easeMap.Linear;_easeMap.Quad;_easeMap.Cubic;_easeMap.Quart;_easeMap.Quint;_easeMap.Strong;_easeMap.Elastic;_easeMap.Back;_easeMap.SteppedEase;_easeMap.Bounce;_easeMap.Sine;_easeMap.Expo;_easeMap.Circ;/*! 10 * CSSPlugin 3.12.5 11 * https://gsap.com 12 * 13 * Copyright 2008-2024, GreenSock. All rights reserved. 14 * Subject to the terms at https://gsap.com/standard-license or for 15 * Club GSAP members, the agreement issued with that membership. 16 * @author: Jack Doyle, [email protected] 17*/var _win$2,_doc$2,_docElement,_pluginInitted,_tempDiv,_recentSetterPlugin,_reverting,_windowExists$1=function(){return typeof window<"u"},_transformProps={},_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_atan2=Math.atan2,_bigNum=1e8,_capsExp$1=/([A-Z])/g,_horizontalExp=/(left|right|width|margin|padding|x)/i,_complexExp=/[\s,\(]\S/,_propertyAliases={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_renderCSSProp=function(e,r){return r.set(r.t,r.p,Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},_renderPropWithEnd=function(e,r){return r.set(r.t,r.p,e===1?r.e:Math.round((r.s+r.c*e)*1e4)/1e4+r.u,r)},_renderCSSPropWithBeginning=function(e,r){return r.set(r.t,r.p,e?Math.round((r.s+r.c*e)*1e4)/1e4+r.u:r.b,r)},_renderRoundedCSSProp=function(e,r){var i=r.s+r.c*e;r.set(r.t,r.p,~~(i+(i<0?-.5:.5))+r.u,r)},_renderNonTweeningValue=function(e,r){return r.set(r.t,r.p,e?r.e:r.b,r)},_renderNonTweeningValueOnlyAtEnd=function(e,r){return r.set(r.t,r.p,e!==1?r.b:r.e,r)},_setterCSSStyle=function(e,r,i){return e.style[r]=i},_setterCSSProp=function(e,r,i){return e.style.setProperty(r,i)},_setterTransform=function(e,r,i){return e._gsap[r]=i},_setterScale=function(e,r,i){return e._gsap.scaleX=e._gsap.scaleY=i},_setterScaleWithRender=function(e,r,i,n,s){var a=e._gsap;a.scaleX=a.scaleY=i,a.renderTransform(s,a)},_setterTransformWithRender=function(e,r,i,n,s){var a=e._gsap;a[r]=i,a.renderTransform(s,a)},_transformProp$1="transform",_transformOriginProp=_transformProp$1+"Origin",_saveStyle=function t(e,r){var i=this,n=this.target,s=n.style,a=n._gsap;if(e in _transformProps&&s){if(this.tfm=this.tfm||{},e!=="transform")e=_propertyAliases[e]||e,~e.indexOf(",")?e.split(",").forEach(function(o){return i.tfm[o]=_get(n,o)}):this.tfm[e]=a.x?a[e]:_get(n,e),e===_transformOriginProp&&(this.tfm.zOrigin=a.zOrigin);else return _propertyAliases.transform.split(",").forEach(function(o){return t.call(i,o,r)});if(this.props.indexOf(_transformProp$1)>=0)return;a.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(_transformOriginProp,r,"")),e=_transformProp$1}(s||r)&&this.props.push(e,r,s[e])},_removeIndependentTransforms=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},_revertStyle=function(){var e=this.props,r=this.target,i=r.style,n=r._gsap,s,a;for(s=0;s<e.length;s+=3)e[s+1]?r[e[s]]=e[s+2]:e[s+2]?i[e[s]]=e[s+2]:i.removeProperty(e[s].substr(0,2)==="--"?e[s]:e[s].replace(_capsExp$1,"-$1").toLowerCase());if(this.tfm){for(a in this.tfm)n[a]=this.tfm[a];n.svg&&(n.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),s=_reverting(),(!s||!s.isStart)&&!i[_transformProp$1]&&(_removeIndependentTransforms(i),n.zOrigin&&i[_transformOriginProp]&&(i[_transformOriginProp]+=" "+n.zOrigin+"px",n.zOrigin=0,n.renderTransform()),n.uncache=1)}},_getStyleSaver=function(e,r){var i={target:e,props:[],revert:_revertStyle,save:_saveStyle};return e._gsap||gsap$2.core.getCache(e),r&&r.split(",").forEach(function(n){return i.save(n)}),i},_supports3D,_createElement=function(e,r){var i=_doc$2.createElementNS?_doc$2.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),e):_doc$2.createElement(e);return i&&i.style?i:_doc$2.createElement(e)},_getComputedProperty=function t(e,r,i){var n=getComputedStyle(e);return n[r]||n.getPropertyValue(r.replace(_capsExp$1,"-$1").toLowerCase())||n.getPropertyValue(r)||!i&&t(e,_checkPropPrefix(r)||r,1)||""},_prefixes="O,Moz,ms,Ms,Webkit".split(","),_checkPropPrefix=function(e,r,i){var n=r||_tempDiv,s=n.style,a=5;if(e in s&&!i)return e;for(e=e.charAt(0).toUpperCase()+e.substr(1);a--&&!(_prefixes[a]+e in s););return a<0?null:(a===3?"ms":a>=0?_prefixes[a]:"")+e},_initCore$1=function(){_windowExists$1()&&window.document&&(_win$2=window,_doc$2=_win$2.document,_docElement=_doc$2.documentElement,_tempDiv=_createElement("div")||{style:{}},_createElement("div"),_transformProp$1=_checkPropPrefix(_transformProp$1),_transformOriginProp=_transformProp$1+"Origin",_tempDiv.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",_supports3D=!!_checkPropPrefix("perspective"),_reverting=gsap$2.core.reverting,_pluginInitted=1)},_getBBoxHack=function t(e){var r=_createElement("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,n=this.nextSibling,s=this.style.cssText,a;if(_docElement.appendChild(r),r.appendChild(this),this.style.display="block",e)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch{}else this._gsapBBox&&(a=this._gsapBBox());return i&&(n?i.insertBefore(this,n):i.appendChild(this)),_docElement.removeChild(r),this.style.cssText=s,a},_getAttributeFallbacks=function(e,r){for(var i=r.length;i--;)if(e.hasAttribute(r[i]))return e.getAttribute(r[i])},_getBBox=function(e){var r;try{r=e.getBBox()}catch{r=_getBBoxHack.call(e,!0)}return r&&(r.width||r.height)||e.getBBox===_getBBoxHack||(r=_getBBoxHack.call(e,!0)),r&&!r.width&&!r.x&&!r.y?{x:+_getAttributeFallbacks(e,["x","cx","x1"])||0,y:+_getAttributeFallbacks(e,["y","cy","y1"])||0,width:0,height:0}:r},_isSVG=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&_getBBox(e))},_removeProperty=function(e,r){if(r){var i=e.style,n;r in _transformProps&&r!==_transformOriginProp&&(r=_transformProp$1),i.removeProperty?(n=r.substr(0,2),(n==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),i.removeProperty(n==="--"?r:r.replace(_capsExp$1,"-$1").toLowerCase())):i.removeAttribute(r)}},_addNonTweeningPT=function(e,r,i,n,s,a){var o=new PropTween(e._pt,r,i,0,1,a?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue);return e._pt=o,o.b=n,o.e=s,e._props.push(i),o},_nonConvertibleUnits={deg:1,rad:1,turn:1},_nonStandardLayouts={grid:1,flex:1},_convertToUnit=function t(e,r,i,n){var s=parseFloat(i)||0,a=(i+"").trim().substr((s+"").length)||"px",o=_tempDiv.style,l=_horizontalExp.test(r),h=e.tagName.toLowerCase()==="svg",c=(h?"client":"offset")+(l?"Width":"Height"),d=100,f=n==="px",u=n==="%",m,p,x,_;if(n===a||!s||_nonConvertibleUnits[n]||_nonConvertibleUnits[a])return s;if(a!=="px"&&!f&&(s=t(e,r,i,"px")),_=e.getCTM&&_isSVG(e),(u||a==="%")&&(_transformProps[r]||~r.indexOf("adius")))return m=_?e.getBBox()[l?"width":"height"]:e[c],_round$1(u?s/m*d:s/100*m);if(o[l?"width":"height"]=d+(f?a:n),p=~r.indexOf("adius")||n==="em"&&e.appendChild&&!h?e:e.parentNode,_&&(p=(e.ownerSVGElement||{}).parentNode),(!p||p===_doc$2||!p.appendChild)&&(p=_doc$2.body),x=p._gsap,x&&u&&x.width&&l&&x.time===_ticker.time&&!x.uncache)return _round$1(s/x.width*d);if(u&&(r==="height"||r==="width")){var y=e.style[r];e.style[r]=d+n,m=e[c],y?e.style[r]=y:_removeProperty(e,r)}else(u||a==="%")&&!_nonStandardLayouts[_getComputedProperty(p,"display")]&&(o.position=_getComputedProperty(e,"position")),p===e&&(o.position="static"),p.appendChild(_tempDiv),m=_tempDiv[c],p.removeChild(_tempDiv),o.position="absolute";return l&&u&&(x=_getCache(p),x.time=_ticker.time,x.width=p[c]),_round$1(f?m*s/d:m&&s?d/m*s:0)},_get=function(e,r,i,n){var s;return _pluginInitted||_initCore$1(),r in _propertyAliases&&r!=="transform"&&(r=_propertyAliases[r],~r.indexOf(",")&&(r=r.split(",")[0])),_transformProps[r]&&r!=="transform"?(s=_parseTransform(e,n),s=r!=="transformOrigin"?s[r]:s.svg?s.origin:_firstTwoOnly(_getComputedProperty(e,_transformOriginProp))+" "+s.zOrigin+"px"):(s=e.style[r],(!s||s==="auto"||n||~(s+"").indexOf("calc("))&&(s=_specialProps[r]&&_specialProps[r](e,r,i)||_getComputedProperty(e,r)||_getProperty(e,r)||(r==="opacity"?1:0))),i&&!~(s+"").trim().indexOf(" ")?_convertToUnit(e,r,s,i)+i:s},_tweenComplexCSSString=function(e,r,i,n){if(!i||i==="none"){var s=_checkPropPrefix(r,e,1),a=s&&_getComputedProperty(e,s,1);a&&a!==i?(r=s,i=a):r==="borderColor"&&(i=_getComputedProperty(e,"borderTopColor"))}var o=new PropTween(this._pt,e.style,r,0,1,_renderComplexString),l=0,h=0,c,d,f,u,m,p,x,_,y,g,v,k;if(o.b=i,o.e=n,i+="",n+="",n==="auto"&&(p=e.style[r],e.style[r]=n,n=_getComputedProperty(e,r)||n,p?e.style[r]=p:_removeProperty(e,r)),c=[i,n],_colorStringFilter(c),i=c[0],n=c[1],f=i.match(_numWithUnitExp)||[],k=n.match(_numWithUnitExp)||[],k.length){for(;d=_numWithUnitExp.exec(n);)x=d[0],y=n.substring(l,d.index),m?m=(m+1)%5:(y.substr(-5)==="rgba("||y.substr(-5)==="hsla(")&&(m=1),x!==(p=f[h++]||"")&&(u=parseFloat(p)||0,v=p.substr((u+"").length),x.charAt(1)==="="&&(x=_parseRelative(u,x)+v),_=parseFloat(x),g=x.substr((_+"").length),l=_numWithUnitExp.lastIndex-g.length,g||(g=g||_config.units[r]||v,l===n.length&&(n+=g,o.e+=g)),v!==g&&(u=_convertToUnit(e,r,p,g)||0),o._pt={_next:o._pt,p:y||h===1?y:",",s:u,c:_-u,m:m&&m<4||r==="zIndex"?Math.round:0});o.c=l<n.length?n.substring(l,n.length):""}else o.r=r==="display"&&n==="none"?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue;return _relExp.test(n)&&(o.e=0),this._pt=o,o},_keywordToPercent={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_convertKeywordsToPercentages=function(e){var r=e.split(" "),i=r[0],n=r[1]||"50%";return(i==="top"||i==="bottom"||n==="left"||n==="right")&&(e=i,i=n,n=e),r[0]=_keywordToPercent[i]||i,r[1]=_keywordToPercent[n]||n,r.join(" ")},_renderClearProps=function(e,r){if(r.tween&&r.tween._time===r.tween._dur){var i=r.t,n=i.style,s=r.u,a=i._gsap,o,l,h;if(s==="all"||s===!0)n.cssText="",l=1;else for(s=s.split(","),h=s.length;--h>-1;)o=s[h],_transformProps[o]&&(l=1,o=o==="transformOrigin"?_transformOriginProp:_transformProp$1),_removeProperty(i,o);l&&(_removeProperty(i,_transformProp$1),a&&(a.svg&&i.removeAttribute("transform"),_parseTransform(i,1),a.uncache=1,_removeIndependentTransforms(n)))}},_specialProps={clearProps:function(e,r,i,n,s){if(s.data!=="isFromStart"){var a=e._pt=new PropTween(e._pt,r,i,0,0,_renderClearProps);return a.u=n,a.pr=-10,a.tween=s,e._props.push(i),1}}},_identity2DMatrix=[1,0,0,1,0,0],_rotationalProperties={},_isNullTransform=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},_getComputedTransformMatrixAsArray=function(e){var r=_getComputedProperty(e,_transformProp$1);return _isNullTransform(r)?_identity2DMatrix:r.substr(7).match(_numExp).map(_round$1)},_getMatrix=function(e,r){var i=e._gsap||_getCache(e),n=e.style,s=_getComputedTransformMatrixAsArray(e),a,o,l,h;return i.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?_identity2DMatrix:s):(s===_identity2DMatrix&&!e.offsetParent&&e!==_docElement&&!i.svg&&(l=n.display,n.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(h=1,o=e.nextElementSibling,_docElement.appendChild(e)),s=_getComputedTransformMatrixAsArray(e),l?n.display=l:_removeProperty(e,"display"),h&&(o?a.insertBefore(e,o):a?a.appendChild(e):_docElement.removeChild(e))),r&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},_applySVGOrigin=function(e,r,i,n,s,a){var o=e._gsap,l=s||_getMatrix(e,!0),h=o.xOrigin||0,c=o.yOrigin||0,d=o.xOffset||0,f=o.yOffset||0,u=l[0],m=l[1],p=l[2],x=l[3],_=l[4],y=l[5],g=r.split(" "),v=parseFloat(g[0])||0,k=parseFloat(g[1])||0,P,C,E,M;i?l!==_identity2DMatrix&&(C=u*x-m*p)&&(E=v*(x/C)+k*(-p/C)+(p*y-x*_)/C,M=v*(-m/C)+k*(u/C)-(u*y-m*_)/C,v=E,k=M):(P=_getBBox(e),v=P.x+(~g[0].indexOf("%")?v/100*P.width:v),k=P.y+(~(g[1]||g[0]).indexOf("%")?k/100*P.height:k)),n||n!==!1&&o.smooth?(_=v-h,y=k-c,o.xOffset=d+(_*u+y*p)-_,o.yOffset=f+(_*m+y*x)-y):o.xOffset=o.yOffset=0,o.xOrigin=v,o.yOrigin=k,o.smooth=!!n,o.origin=r,o.originIsAbsolute=!!i,e.style[_transformOriginProp]="0px 0px",a&&(_addNonTweeningPT(a,o,"xOrigin",h,v),_addNonTweeningPT(a,o,"yOrigin",c,k),_addNonTweeningPT(a,o,"xOffset",d,o.xOffset),_addNonTweeningPT(a,o,"yOffset",f,o.yOffset)),e.setAttribute("data-svg-origin",v+" "+k)},_parseTransform=function(e,r){var i=e._gsap||new GSCache(e);if("x"in i&&!r&&!i.uncache)return i;var n=e.style,s=i.scaleX<0,a="px",o="deg",l=getComputedStyle(e),h=_getComputedProperty(e,_transformOriginProp)||"0",c,d,f,u,m,p,x,_,y,g,v,k,P,C,E,M,B,D,I,L,R,$,T,A,b,S,w,F,N,H,G,j;return c=d=f=p=x=_=y=g=v=0,u=m=1,i.svg=!!(e.getCTM&&_isSVG(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(n[_transformProp$1]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[_transformProp$1]!=="none"?l[_transformProp$1]:"")),n.scale=n.rotate=n.translate="none"),C=_getMatrix(e,i.svg),i.svg&&(i.uncache?(b=e.getBBox(),h=i.xOrigin-b.x+"px "+(i.yOrigin-b.y)+"px",A=""):A=!r&&e.getAttribute("data-svg-origin"),_applySVGOrigin(e,A||h,!!A||i.originIsAbsolute,i.smooth!==!1,C)),k=i.xOrigin||0,P=i.yOrigin||0,C!==_identity2DMatrix&&(D=C[0],I=C[1],L=C[2],R=C[3],c=$=C[4],d=T=C[5],C.length===6?(u=Math.sqrt(D*D+I*I),m=Math.sqrt(R*R+L*L),p=D||I?_atan2(I,D)*_RAD2DEG:0,y=L||R?_atan2(L,R)*_RAD2DEG+p:0,y&&(m*=Math.abs(Math.cos(y*_DEG2RAD))),i.svg&&(c-=k-(k*D+P*L),d-=P-(k*I+P*R))):(j=C[6],H=C[7],w=C[8],F=C[9],N=C[10],G=C[11],c=C[12],d=C[13],f=C[14],E=_atan2(j,N),x=E*_RAD2DEG,E&&(M=Math.cos(-E),B=Math.sin(-E),A=$*M+w*B,b=T*M+F*B,S=j*M+N*B,w=$*-B+w*M,F=T*-B+F*M,N=j*-B+N*M,G=H*-B+G*M,$=A,T=b,j=S),E=_atan2(-L,N),_=E*_RAD2DEG,E&&(M=Math.cos(-E),B=Math.sin(-E),A=D*M-w*B,b=I*M-F*B,S=L*M-N*B,G=R*B+G*M,D=A,I=b,L=S),E=_atan2(I,D),p=E*_RAD2DEG,E&&(M=Math.cos(E),B=Math.sin(E),A=D*M+I*B,b=$*M+T*B,I=I*M-D*B,T=T*M-$*B,D=A,$=b),x&&Math.abs(x)+Math.abs(p)>359.9&&(x=p=0,_=180-_),u=_round$1(Math.sqrt(D*D+I*I+L*L)),m=_round$1(Math.sqrt(T*T+j*j)),E=_atan2($,T),y=Math.abs(E)>2e-4?E*_RAD2DEG:0,v=G?1/(G<0?-G:G):0),i.svg&&(A=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!_isNullTransform(_getComputedProperty(e,_transformProp$1)),A&&e.setAttribute("transform",A))),Math.abs(y)>90&&Math.abs(y)<270&&(s?(u*=-1,y+=p<=0?180:-180,p+=p<=0?180:-180):(m*=-1,y+=y<=0?180:-180)),r=r||i.uncache,i.x=c-((i.xPercent=c&&(!r&&i.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*i.xPercent/100:0)+a,i.y=d-((i.yPercent=d&&(!r&&i.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-d)?-50:0)))?e.offsetHeight*i.yPercent/100:0)+a,i.z=f+a,i.scaleX=_round$1(u),i.scaleY=_round$1(m),i.rotation=_round$1(p)+o,i.rotationX=_round$1(x)+o,i.rotationY=_round$1(_)+o,i.skewX=y+o,i.skewY=g+o,i.transformPerspective=v+a,(i.zOrigin=parseFloat(h.split(" ")[2])||!r&&i.zOrigin||0)&&(n[_transformOriginProp]=_firstTwoOnly(h)),i.xOffset=i.yOffset=0,i.force3D=_config.force3D,i.renderTransform=i.svg?_renderSVGTransforms:_supports3D?_renderCSSTransforms:_renderNon3DTransforms,i.uncache=0,i},_firstTwoOnly=function(e){return(e=e.split(" "))[0]+" "+e[1]},_addPxTranslate=function(e,r,i){var n=getUnit(r);return _round$1(parseFloat(r)+parseFloat(_convertToUnit(e,"x",i+"px",n)))+n},_renderNon3DTransforms=function(e,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,_renderCSSTransforms(e,r)},_zeroDeg="0deg",_zeroPx="0px",_endParenthesis=") ",_renderCSSTransforms=function(e,r){var i=r||this,n=i.xPercent,s=i.yPercent,a=i.x,o=i.y,l=i.z,h=i.rotation,c=i.rotationY,d=i.rotationX,f=i.skewX,u=i.skewY,m=i.scaleX,p=i.scaleY,x=i.transformPerspective,_=i.force3D,y=i.target,g=i.zOrigin,v="",k=_==="auto"&&e&&e!==1||_===!0;if(g&&(d!==_zeroDeg||c!==_zeroDeg)){var P=parseFloat(c)*_DEG2RAD,C=Math.sin(P),E=Math.cos(P),M;P=parseFloat(d)*_DEG2RAD,M=Math.cos(P),a=_addPxTranslate(y,a,C*M*-g),o=_addPxTranslate(y,o,-Math.sin(P)*-g),l=_addPxTranslate(y,l,E*M*-g+g)}x!==_zeroPx&&(v+="perspective("+x+_endParenthesis),(n||s)&&(v+="translate("+n+"%, "+s+"%) "),(k||a!==_zeroPx||o!==_zeroPx||l!==_zeroPx)&&(v+=l!==_zeroPx||k?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+_endParenthesis),h!==_zeroDeg&&(v+="rotate("+h+_endParenthesis),c!==_zeroDeg&&(v+="rotateY("+c+_endParenthesis),d!==_zeroDeg&&(v+="rotateX("+d+_endParenthesis),(f!==_zeroDeg||u!==_zeroDeg)&&(v+="skew("+f+", "+u+_endParenthesis),(m!==1||p!==1)&&(v+="scale("+m+", "+p+_endParenthesis),y.style[_transformProp$1]=v||"translate(0, 0)"},_renderSVGTransforms=function(e,r){var i=r||this,n=i.xPercent,s=i.yPercent,a=i.x,o=i.y,l=i.rotation,h=i.skewX,c=i.skewY,d=i.scaleX,f=i.scaleY,u=i.target,m=i.xOrigin,p=i.yOrigin,x=i.xOffset,_=i.yOffset,y=i.forceCSS,g=parseFloat(a),v=parseFloat(o),k,P,C,E,M;l=parseFloat(l),h=parseFloat(h),c=parseFloat(c),c&&(c=parseFloat(c),h+=c,l+=c),l||h?(l*=_DEG2RAD,h*=_DEG2RAD,k=Math.cos(l)*d,P=Math.sin(l)*d,C=Math.sin(l-h)*-f,E=Math.cos(l-h)*f,h&&(c*=_DEG2RAD,M=Math.tan(h-c),M=Math.sqrt(1+M*M),C*=M,E*=M,c&&(M=Math.tan(c),M=Math.sqrt(1+M*M),k*=M,P*=M)),k=_round$1(k),P=_round$1(P),C=_round$1(C),E=_round$1(E)):(k=d,E=f,P=C=0),(g&&!~(a+"").indexOf("px")||v&&!~(o+"").indexOf("px"))&&(g=_convertToUnit(u,"x",a,"px"),v=_convertToUnit(u,"y",o,"px")),(m||p||x||_)&&(g=_round$1(g+m-(m*k+p*C)+x),v=_round$1(v+p-(m*P+p*E)+_)),(n||s)&&(M=u.getBBox(),g=_round$1(g+n/100*M.width),v=_round$1(v+s/100*M.height)),M="matrix("+k+","+P+","+C+","+E+","+g+","+v+")",u.setAttribute("transform",M),y&&(u.style[_transformProp$1]=M)},_addRotationalPropTween=function(e,r,i,n,s){var a=360,o=_isString$1(s),l=parseFloat(s)*(o&&~s.indexOf("rad")?_RAD2DEG:1),h=l-n,c=n+h+"deg",d,f;return o&&(d=s.split("_")[1],d==="short"&&(h%=a,h!==h%(a/2)&&(h+=h<0?a:-a)),d==="cw"&&h<0?h=(h+a*_bigNum)%a-~~(h/a)*a:d==="ccw"&&h>0&&(h=(h-a*_bigNum)%a-~~(h/a)*a)),e._pt=f=new PropTween(e._pt,r,i,n,h,_renderPropWithEnd),f.e=c,f.u="deg",e._props.push(i),f},_assign=function(e,r){for(var i in r)e[i]=r[i];return e},_addRawTransformPTs=function(e,r,i){var n=_assign({},i._gsap),s="perspective,force3D,transformOrigin,svgOrigin",a=i.style,o,l,h,c,d,f,u,m;n.svg?(h=i.getAttribute("transform"),i.setAttribute("transform",""),a[_transformProp$1]=r,o=_parseTransform(i,1),_removeProperty(i,_transformProp$1),i.setAttribute("transform",h)):(h=getComputedStyle(i)[_transformProp$1],a[_transformProp$1]=r,o=_parseTransform(i,1),a[_transformProp$1]=h);for(l in _transformProps)h=n[l],c=o[l],h!==c&&s.indexOf(l)<0&&(u=getUnit(h),m=getUnit(c),d=u!==m?_convertToUnit(i,l,h,m):parseFloat(h),f=parseFloat(c),e._pt=new PropTween(e._pt,o,l,d,f-d,_renderCSSProp),e._pt.u=m||0,e._props.push(l));_assign(o,n)};_forEachName("padding,margin,Width,Radius",function(t,e){var r="Top",i="Right",n="Bottom",s="Left",a=(e<3?[r,i,n,s]:[r+s,r+i,n+i,n+s]).map(function(o){return e<2?t+o:"border"+o+t});_specialProps[e>1?"border"+t:t]=function(o,l,h,c,d){var f,u;if(arguments.length<4)return f=a.map(function(m){return _get(o,m,h)}),u=f.join(" "),u.split(f[0]).length===5?f[0]:u;f=(c+"").split(" "),u={},a.forEach(function(m,p){return u[m]=f[p]=f[p]||f[(p-1)/2|0]}),o.init(l,u,d)}});var CSSPlugin={name:"css",register:_initCore$1,targetTest:function(e){return e.style&&e.nodeType},init:function(e,r,i,n,s){var a=this._props,o=e.style,l=i.vars.startAt,h,c,d,f,u,m,p,x,_,y,g,v,k,P,C,E;_pluginInitted||_initCore$1(),this.styles=this.styles||_getStyleSaver(e),E=this.styles.props,this.tween=i;for(p in r)if(p!=="autoRound"&&(c=r[p],!(_plugins[p]&&_checkPlugin(p,r,i,n,e,s)))){if(u=typeof c,m=_specialProps[p],u==="function"&&(c=c.call(i,n,e,s),u=typeof c),u==="string"&&~c.indexOf("random(")&&(c=_replaceRandom(c)),m)m(this,e,p,c,i)&&(C=1);else if(p.substr(0,2)==="--")h=(getComputedStyle(e).getPropertyValue(p)+"").trim(),c+="",_colorExp.lastIndex=0,_colorExp.test(h)||(x=getUnit(h),_=getUnit(c)),_?x!==_&&(h=_convertToUnit(e,p,h,_)+_):x&&(c+=x),this.add(o,"setProperty",h,c,n,s,0,0,p),a.push(p),E.push(p,0,o[p]);else if(u!=="undefined"){if(l&&p in l?(h=typeof l[p]=="function"?l[p].call(i,n,e,s):l[p],_isString$1(h)&&~h.indexOf("random(")&&(h=_replaceRandom(h)),getUnit(h+"")||h==="auto"||(h+=_config.units[p]||getUnit(_get(e,p))||""),(h+"").charAt(1)==="="&&(h=_get(e,p))):h=_get(e,p),f=parseFloat(h),y=u==="string"&&c.charAt(1)==="="&&c.substr(0,2),y&&(c=c.substr(2)),d=parseFloat(c),p in _propertyAliases&&(p==="autoAlpha"&&(f===1&&_get(e,"visibility")==="hidden"&&d&&(f=0),E.push("visibility",0,o.visibility),_addNonTweeningPT(this,o,"visibility",f?"inherit":"hidden",d?"inherit":"hidden",!d)),p!=="scale"&&p!=="transform"&&(p=_propertyAliases[p],~p.indexOf(",")&&(p=p.split(",")[0]))),g=p in _transformProps,g){if(this.styles.save(p),v||(k=e._gsap,k.renderTransform&&!r.parseTransform||_parseTransform(e,r.parseTransform),P=r.smoothOrigin!==!1&&k.smooth,v=this._pt=new PropTween(this._pt,o,_transformProp$1,0,1,k.renderTransform,k,0,-1),v.dep=1),p==="scale")this._pt=new PropTween(this._pt,k,"scaleY",k.scaleY,(y?_parseRelative(k.scaleY,y+d):d)-k.scaleY||0,_renderCSSProp),this._pt.u=0,a.push("scaleY",p),p+="X";else if(p==="transformOrigin"){E.push(_transformOriginProp,0,o[_transformOriginProp]),c=_convertKeywordsToPercentages(c),k.svg?_applySVGOrigin(e,c,0,P,0,this):(_=parseFloat(c.split(" ")[2])||0,_!==k.zOrigin&&_addNonTweeningPT(this,k,"zOrigin",k.zOrigin,_),_addNonTweeningPT(this,o,p,_firstTwoOnly(h),_firstTwoOnly(c)));continue}else if(p==="svgOrigin"){_applySVGOrigin(e,c,1,P,0,this);continue}else if(p in _rotationalProperties){_addRotationalPropTween(this,k,p,f,y?_parseRelative(f,y+c):c);continue}else if(p==="smoothOrigin"){_addNonTweeningPT(this,k,"smooth",k.smooth,c);continue}else if(p==="force3D"){k[p]=c;continue}else if(p==="transform"){_addRawTransformPTs(this,c,e);continue}}else p in o||(p=_checkPropPrefix(p)||p);if(g||(d||d===0)&&(f||f===0)&&!_complexExp.test(c)&&p in o)x=(h+"").substr((f+"").length),d||(d=0),_=getUnit(c)||(p in _config.units?_config.units[p]:x),x!==_&&(f=_convertToUnit(e,p,h,_)),this._pt=new PropTween(this._pt,g?k:o,p,f,(y?_parseRelative(f,y+d):d)-f,!g&&(_==="px"||p==="zIndex")&&r.autoRound!==!1?_renderRoundedCSSProp:_renderCSSProp),this._pt.u=_||0,x!==_&&_!=="%"&&(this._pt.b=h,this._pt.r=_renderCSSPropWithBeginning);else if(p in o)_tweenComplexCSSString.call(this,e,p,h,y?y+c:c);else if(p in e)this.add(e,p,h||e[p],y?y+c:c,n,s);else if(p!=="parseTransform"){_missingPlugin(p,c);continue}g||(p in o?E.push(p,0,o[p]):E.push(p,1,h||e[p])),a.push(p)}}C&&_sortPropTweensByPriority(this)},render:function(e,r){if(r.tween._time||!_reverting())for(var i=r._pt;i;)i.r(e,i.d),i=i._next;else r.styles.revert()},get:_get,aliases:_propertyAliases,getSetter:function(e,r,i){var n=_propertyAliases[r];return n&&n.indexOf(",")<0&&(r=n),r in _transformProps&&r!==_transformOriginProp&&(e._gsap.x||_get(e,"x"))?i&&_recentSetterPlugin===i?r==="scale"?_setterScale:_setterTransform:(_recentSetterPlugin=i||{})&&(r==="scale"?_setterScaleWithRender:_setterTransformWithRender):e.style&&!_isUndefined(e.style[r])?_setterCSSStyle:~r.indexOf("-")?_setterCSSProp:_getSetter(e,r)},core:{_removeProperty,_getMatrix}};gsap$2.utils.checkPrefix=_checkPropPrefix;gsap$2.core.getStyleSaver=_getStyleSaver;(function(t,e,r,i){var n=_forEachName(t+","+e+","+r,function(s){_transformProps[s]=1});_forEachName(e,function(s){_config.units[s]="deg",_rotationalProperties[s]=1}),_propertyAliases[n[13]]=t+","+e,_forEachName(i,function(s){var a=s.split(":");_propertyAliases[a[1]]=n[a[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");_forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){_
vendor: 7,007 bytes, lines 17-25
17config.units[t]="px"});gsap$2.registerPlugin(CSSPlugin);var gsapWithCSS=gsap$2.registerPlugin(CSSPlugin)||gsap$2;gsapWithCSS.core.Tween;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),t}/*! 18 * Observer 3.12.5 19 * https://gsap.com 20 * 21 * @license Copyright 2008-2024, GreenSock. All rights reserved. 22 * Subject to the terms at https://gsap.com/standard-license or for 23 * Club GSAP members, the agreement issued with that membership. 24 * @author: Jack Doyle, [email protected] 25*/var gsap$1,_coreInitted$1,_win$1,_doc$1,_docEl$1,_body$1,_isTouch,_pointerType,ScrollTrigger$1,_root$1,_normalizer$1,_eventTypes,_context$1,_getGSAP$1=function(){return gsap$1||typeof window<"u"&&(gsap$1=window.gsap)&&gsap$1.registerPlugin&&gsap$1},_startup$1=1,_observers=[],_scrollers=[],_proxies=[],_getTime$1=Date.now,_bridge=function(e,r){return r},_integrate=function(){var e=ScrollTrigger$1.core,r=e.bridge||{},i=e._scrollers,n=e._proxies;i.push.apply(i,_scrollers),n.push.apply(n,_proxies),_scrollers=i,_proxies=n,_bridge=function(a,o){return r[a](o)}},_getProxyProp=function(e,r){return~_proxies.indexOf(e)&&_proxies[_proxies.indexOf(e)+1][r]},_isViewport$1=function(e){return!!~_root$1.indexOf(e)},_addListener$1=function(e,r,i,n,s){return e.addEventListener(r,i,{passive:n!==!1,capture:!!s})},_removeListener$1=function(e,r,i,n){return e.removeEventListener(r,i,!!n)},_scrollLeft="scrollLeft",_scrollTop="scrollTop",_onScroll$1=function(){return _normalizer$1&&_normalizer$1.isPressed||_scrollers.cache++},_scrollCacheFunc=function(e,r){var i=function n(s){if(s||s===0){_startup$1&&(_win$1.history.scrollRestoration="manual");var a=_normalizer$1&&_normalizer$1.isPressed;s=n.v=Math.round(s)||(_normalizer$1&&_normalizer$1.iOS?1:0),e(s),n.cacheID=_scrollers.cache,a&&_bridge("ss",s)}else(r||_scrollers.cache!==n.cacheID||_bridge("ref"))&&(n.cacheID=_scrollers.cache,n.v=e());return n.v+n.offset};return i.offset=0,e&&i},_horizontal={s:_scrollLeft,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:_scrollCacheFunc(function(t){return arguments.length?_win$1.scrollTo(t,_vertical.sc()):_win$1.pageXOffset||_doc$1[_scrollLeft]||_docEl$1[_scrollLeft]||_body$1[_scrollLeft]||0})},_vertical={s:_scrollTop,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:_horizontal,sc:_scrollCacheFunc(function(t){return arguments.length?_win$1.scrollTo(_horizontal.sc(),t):_win$1.pageYOffset||_doc$1[_scrollTop]||_docEl$1[_scrollTop]||_body$1[_scrollTop]||0})},_getTarget=function(e,r){return(r&&r._ctx&&r._ctx.selector||gsap$1.utils.toArray)(e)[0]||(typeof e=="string"&&gsap$1.config().nullTargetWarn!==!1?console.warn("Element not found:",e):null)},_getScrollFunc=function(e,r){var i=r.s,n=r.sc;_isViewport$1(e)&&(e=_doc$1.scrollingElement||_docEl$1);var s=_scrollers.indexOf(e),a=n===_vertical.sc?1:2;!~s&&(s=_scrollers.push(e)-1),_scrollers[s+a]||_addListener$1(e,"scroll",_onScroll$1);var o=_scrollers[s+a],l=o||(_scrollers[s+a]=_scrollCacheFunc(_getProxyProp(e,i),!0)||(_isViewport$1(e)?n:_scrollCacheFunc(function(h){return arguments.length?e[i]=h:e[i]})));return l.target=e,o||(l.smooth=gsap$1.getProperty(e,"scrollBehavior")==="smooth"),l},_getVelocityProp=function(e,r,i){var n=e,s=e,a=_getTime$1(),o=a,l=r||50,h=Math.max(500,l*3),c=function(m,p){var x=_getTime$1();p||x-a>l?(s=n,n=m,o=a,a=x):i?n+=m:n=s+(m-s)/(x-o)*(a-o)},d=function(){s=n=i?0:n,o=a=0},f=function(m){var p=o,x=s,_=_getTime$1();return(m||m===0)&&m!==n&&c(m),a===o||_-o>h?0:(n+(i?x:-x))/((i?_:a)-p)*1e3};return{update:c,reset:d,getVelocity:f}},_getEvent=function(e,r){return r&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},_getAbsoluteMax=function(e){var r=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(r)>=Math.abs(i)?r:i},_setScrollTrigger=function(){ScrollTrigger$1=gsap$1.core.globals().ScrollTrigger,ScrollTrigger$1&&ScrollTrigger$1.core&&_integrate()},_initCore=function(e){return gsap$1=e||_getGSAP$1(),!_coreInitted$1&&gsap$1&&typeof document<"u"&&document.body&&(_win$1=window,_doc$1=document,_docEl$1=_doc$1.documentElement,_body$1=_doc$1.body,_root$1=[_win$1,_doc$1,_docEl$1,_body$1],gsap$1.utils.clamp,_context$1=gsap$1.core.context||function(){},_pointerType="onpointerenter"in _body$1?"pointer":"mouse",_isTouch=Observer.isTouch=_win$1.matchMedia&&_win$1.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in _win$1||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,_eventTypes=Observer.eventTypes=("ontouchstart"in _docEl$1?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in _docEl$1?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return _startup$1=0},500),_setScrollTrigger(),_coreInitted$1=1),_coreInitted$1};_horizontal.op=_vertical;_scrollers.cache=0;var Observer=function(){function t(r){this.init(r)}var e=t.prototype;return e.init=function(i){_coreInitted$1||_initCore(gsap$1)||console.warn("Please gsap.registerPlugin(Observer)"),ScrollTrigger$1||_setScrollTrigger();var n=i.tolerance,s=i.dragMinimum,a=i.type,o=i.target,l=i.lineHeight,h=i.debounce,c=i.preventDefault,d=i.onStop,f=i.onStopDelay,u=i.ignore,m=i.wheelSpeed,p=i.event,x=i.onDragStart,_=i.onDragEnd,y=i.onDrag,g=i.onPress,v=i.onRelease,k=i.onRight,P=i.onLeft,C=i.onUp,E=i.onDown,M=i.onChangeX,B=i.onChangeY,D=i.onChange,I=i.onToggleX,L=i.onToggleY,R=i.onHover,$=i.onHoverEnd,T=i.onMove,A=i.ignoreCheck,b=i.isNormalizer,S=i.onGestureStart,w=i.onGestureEnd,F=i.onWheel,N=i.onEnable,H=i.onDisable,G=i.onClick,j=i.scrollSpeed,U=i.capture,J=i.allowClicks,ne=i.lockAxis,ae=i.onLockAxis;this.target=o=_getTarget(o)||_docEl$1,this.vars=i,u&&(u=gsap$1.utils.toArray(u)),n=n||1e-9,s=s||0,m=m||1,j=j||1,a=a||"wheel,touch,pointer",h=h!==!1,l||(l=parseFloat(_win$1.getComputedStyle(_body$1).lineHeight)||22);var pe,re,he,q,O,ce,me,V=this,fe=0,be=0,ke=i.passive||!c,ee=_getScrollFunc(o,_horizontal),Ce=_getScrollFunc(o,_vertical),Ae=ee(),Se=Ce(),oe=~a.indexOf("touch")&&!~a.indexOf("pointer")&&_eventTypes[0]==="pointerdown",ve=_isViewport$1(o),se=o.ownerDocument||_doc$1,Me=[0,0,0],Te=[0,0,0],$e=0,Qe=function(){return $e=_getTime$1()},ye=function(Y,ie){return(V.event=Y)&&u&&~u.indexOf(Y.target)||ie&&oe&&Y.pointerType!=="touch"||A&&A(Y,ie)},nt=function(){V._vx.reset(),V._vy.reset(),re.pause(),d&&d(V)},qe=function(){var Y=V.deltaX=_getAbsoluteMax(Me),ie=V.deltaY=_getAbsoluteMax(Te),z=Math.abs(Y)>=n,Z=Math.abs(ie)>=n;D&&(z||Z)&&D(V,Y,ie,Me,Te),z&&(k&&V.deltaX>0&&k(V),P&&V.deltaX<0&&P(V),M&&M(V),I&&V.deltaX<0!=fe<0&&I(V),fe=V.deltaX,Me[0]=Me[1]=Me[2]=0),Z&&(E&&V.deltaY>0&&E(V),C&&V.deltaY<0&&C(V),B&&B(V),L&&V.deltaY<0!=be<0&&L(V),be=V.deltaY,Te[0]=Te[1]=Te[2]=0),(q||he)&&(T&&T(V),he&&(y(V),he=!1),q=!1),ce&&!(ce=!1)&&ae&&ae(V),O&&(F(V),O=!1),pe
vendor: 5,675 bytes, lines 25-33
25=0},Ke=function(Y,ie,z){Me[z]+=Y,Te[z]+=ie,V._vx.update(Y),V._vy.update(ie),h?pe||(pe=requestAnimationFrame(qe)):qe()},Ze=function(Y,ie){ne&&!me&&(V.axis=me=Math.abs(Y)>Math.abs(ie)?"x":"y",ce=!0),me!=="y"&&(Me[2]+=Y,V._vx.update(Y,!0)),me!=="x"&&(Te[2]+=ie,V._vy.update(ie,!0)),h?pe||(pe=requestAnimationFrame(qe)):qe()},We=function(Y){if(!ye(Y,1)){Y=_getEvent(Y,c);var ie=Y.clientX,z=Y.clientY,Z=ie-V.x,W=z-V.y,X=V.isDragging;V.x=ie,V.y=z,(X||Math.abs(V.startX-ie)>=s||Math.abs(V.startY-z)>=s)&&(y&&(he=!0),X||(V.isDragging=!0),Ze(Z,W),X||x&&x(V))}},je=V.onPress=function(K){ye(K,1)||K&&K.button||(V.axis=me=null,re.pause(),V.isPressed=!0,K=_getEvent(K),fe=be=0,V.startX=V.x=K.clientX,V.startY=V.y=K.clientY,V._vx.reset(),V._vy.reset(),_addListener$1(b?o:se,_eventTypes[1],We,ke,!0),V.deltaX=V.deltaY=0,g&&g(V))},Q=V.onRelease=function(K){if(!ye(K,1)){_removeListener$1(b?o:se,_eventTypes[1],We,!0);var Y=!isNaN(V.y-V.startY),ie=V.isDragging,z=ie&&(Math.abs(V.x-V.startX)>3||Math.abs(V.y-V.startY)>3),Z=_getEvent(K);!z&&Y&&(V._vx.reset(),V._vy.reset(),c&&J&&gsap$1.delayedCall(.08,function(){if(_getTime$1()-$e>300&&!K.defaultPrevented){if(K.target.click)K.target.click();else if(se.createEvent){var W=se.createEvent("MouseEvents");W.initMouseEvent("click",!0,!0,_win$1,1,Z.screenX,Z.screenY,Z.clientX,Z.clientY,!1,!1,!1,!1,0,null),K.target.dispatchEvent(W)}}})),V.isDragging=V.isGesturing=V.isPressed=!1,d&&ie&&!b&&re.restart(!0),_&&ie&&_(V),v&&v(V,z)}},Ye=function(Y){return Y.touches&&Y.touches.length>1&&(V.isGesturing=!0)&&S(Y,V.isDragging)},De=function(){return(V.isGesturing=!1)||w(V)},Le=function(Y){if(!ye(Y)){var ie=ee(),z=Ce();Ke((ie-Ae)*j,(z-Se)*j,1),Ae=ie,Se=z,d&&re.restart(!0)}},Re=function(Y){if(!ye(Y)){Y=_getEvent(Y,c),F&&(O=!0);var ie=(Y.deltaMode===1?l:Y.deltaMode===2?_win$1.innerHeight:1)*m;Ke(Y.deltaX*ie,Y.deltaY*ie,0),d&&!b&&re.restart(!0)}},Ue=function(Y){if(!ye(Y)){var ie=Y.clientX,z=Y.clientY,Z=ie-V.x,W=z-V.y;V.x=ie,V.y=z,q=!0,d&&re.restart(!0),(Z||W)&&Ze(Z,W)}},Je=function(Y){V.event=Y,R(V)},He=function(Y){V.event=Y,$(V)},et=function(Y){return ye(Y)||_getEvent(Y,c)&&G(V)};re=V._dc=gsap$1.delayedCall(f||.25,nt).pause(),V.deltaX=V.deltaY=0,V._vx=_getVelocityProp(0,50,!0),V._vy=_getVelocityProp(0,50,!0),V.scrollX=ee,V.scrollY=Ce,V.isDragging=V.isGesturing=V.isPressed=!1,_context$1(this),V.enable=function(K){return V.isEnabled||(_addListener$1(ve?se:o,"scroll",_onScroll$1),a.indexOf("scroll")>=0&&_addListener$1(ve?se:o,"scroll",Le,ke,U),a.indexOf("wheel")>=0&&_addListener$1(o,"wheel",Re,ke,U),(a.indexOf("touch")>=0&&_isTouch||a.indexOf("pointer")>=0)&&(_addListener$1(o,_eventTypes[0],je,ke,U),_addListener$1(se,_eventTypes[2],Q),_addListener$1(se,_eventTypes[3],Q),J&&_addListener$1(o,"click",Qe,!0,!0),G&&_addListener$1(o,"click",et),S&&_addListener$1(se,"gesturestart",Ye),w&&_addListener$1(se,"gestureend",De),R&&_addListener$1(o,_pointerType+"enter",Je),$&&_addListener$1(o,_pointerType+"leave",He),T&&_addListener$1(o,_pointerType+"move",Ue)),V.isEnabled=!0,K&&K.type&&je(K),N&&N(V)),V},V.disable=function(){V.isEnabled&&(_observers.filter(function(K){return K!==V&&_isViewport$1(K.target)}).length||_removeListener$1(ve?se:o,"scroll",_onScroll$1),V.isPressed&&(V._vx.reset(),V._vy.reset(),_removeListener$1(b?o:se,_eventTypes[1],We,!0)),_removeListener$1(ve?se:o,"scroll",Le,U),_removeListener$1(o,"wheel",Re,U),_removeListener$1(o,_eventTypes[0],je,U),_removeListener$1(se,_eventTypes[2],Q),_removeListener$1(se,_eventTypes[3],Q),_removeListener$1(o,"click",Qe,!0),_removeListener$1(o,"click",et),_removeListener$1(se,"gesturestart",Ye),_removeListener$1(se,"gestureend",De),_removeListener$1(o,_pointerType+"enter",Je),_removeListener$1(o,_pointerType+"leave",He),_removeListener$1(o,_pointerType+"move",Ue),V.isEnabled=V.isPressed=V.isDragging=!1,H&&H(V))},V.kill=V.revert=function(){V.disable();var K=_observers.indexOf(V);K>=0&&_observers.splice(K,1),_normalizer$1===V&&(_normalizer$1=0)},_observers.push(V),b&&_isViewport$1(o)&&(_normalizer$1=V),V.enable(p)},_createClass(t,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),t}();Observer.version="3.12.5";Observer.create=function(t){return new Observer(t)};Observer.register=_initCore;Observer.getAll=function(){return _observers.slice()};Observer.getById=function(t){return _observers.filter(function(e){return e.vars.id===t})[0]};_getGSAP$1()&&gsap$1.registerPlugin(Observer);/*! 26 * ScrollTrigger 3.12.5 27 * https://gsap.com 28 * 29 * @license Copyright 2008-2024, GreenSock. All rights reserved. 30 * Subject to the terms at https://gsap.com/standard-license or for 31 * Club GSAP members, the agreement issued with that membership. 32 * @author: Jack Doyle, [email protected] 33*/var gsap,_coreInitted,_win,_doc,_docEl,_body,_root,_resizeDelay,_toArray,_clamp,_time2,_syncInterval,_refreshing,_pointerIsDown,_transformProp,_i,_prevWidth,_prevHeight,_autoRefresh,_sort,_suppressOverwrites,_ignoreResize,_normalizer,_ignoreMobileResize,_baseScreenHeight,_baseScreenWidth,_fixIOSBug,_context,_scrollRestoration,_div100vh,_100vh,_isReverted,_clampingMax,_limitCallbacks,_startup=1,_getTime=Date.now,_time1=_getTime(),_lastScrollTime=0,_enabled=0,_parseClamp=function(e,r,i){var n=_isString(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return i["_"+r+"Clamp"]=n,n?e.substr(6,e.length-7):e},_keepClamp=function(e,r){return r&&(!_isString(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},_rafBugFix=function t(){return _enabled&&requestAnimationFrame(t)},_pointerDownHandler=function(){return _pointerIsDown=1},_pointerUpHandler=function(){return _pointerIsDown=0},_passThrough=function(e){return e}
vendor: 6,842 bytes, line 33
33,_round=function(e){return Math.round(e*1e5)/1e5||0},_windowExists=function(){return typeof window<"u"},_getGSAP=function(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isViewport=function(e){return!!~_root.indexOf(e)},_getViewportDimension=function(e){return(e==="Height"?_100vh:_win["inner"+e])||_docEl["client"+e]||_body["client"+e]},_getBoundsFunc=function(e){return _getProxyProp(e,"getBoundingClientRect")||(_isViewport(e)?function(){return _winOffsets.width=_win.innerWidth,_winOffsets.height=_100vh,_winOffsets}:function(){return _getBounds(e)})},_getSizeFunc=function(e,r,i){var n=i.d,s=i.d2,a=i.a;return(a=_getProxyProp(e,"getBoundingClientRect"))?function(){return a()[n]}:function(){return(r?_getViewportDimension(s):e["client"+s])||0}},_getOffsetsFunc=function(e,r){return!r||~_proxies.indexOf(e)?_getBoundsFunc(e):function(){return _winOffsets}},_maxScroll=function(e,r){var i=r.s,n=r.d2,s=r.d,a=r.a;return Math.max(0,(i="scroll"+n)&&(a=_getProxyProp(e,i))?a()-_getBoundsFunc(e)()[s]:_isViewport(e)?(_docEl[i]||_body[i])-_getViewportDimension(n):e[i]-e["offset"+n])},_iterateAutoRefresh=function(e,r){for(var i=0;i<_autoRefresh.length;i+=3)(!r||~r.indexOf(_autoRefresh[i+1]))&&e(_autoRefresh[i],_autoRefresh[i+1],_autoRefresh[i+2])},_isString=function(e){return typeof e=="string"},_isFunction=function(e){return typeof e=="function"},_isNumber=function(e){return typeof e=="number"},_isObject=function(e){return typeof e=="object"},_endAnimation=function(e,r,i){return e&&e.progress(r?0:1)&&i&&e.pause()},_callback=function(e,r){if(e.enabled){var i=e._ctx?e._ctx.add(function(){return r(e)}):r(e);i&&i.totalTime&&(e.callbackAnimation=i)}},_abs=Math.abs,_left="left",_top="top",_right="right",_bottom="bottom",_width="width",_height="height",_Right="Right",_Left="Left",_Top="Top",_Bottom="Bottom",_padding="padding",_margin="margin",_Width="Width",_Height="Height",_px="px",_getComputedStyle=function(e){return _win.getComputedStyle(e)},_makePositionable=function(e){var r=_getComputedStyle(e).position;e.style.position=r==="absolute"||r==="fixed"?r:"relative"},_setDefaults=function(e,r){for(var i in r)i in e||(e[i]=r[i]);return e},_getBounds=function(e,r){var i=r&&_getComputedStyle(e)[_transformProp]!=="matrix(1, 0, 0, 1, 0, 0)"&&gsap.to(e,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),n=e.getBoundingClientRect();return i&&i.progress(0).kill(),n},_getSize=function(e,r){var i=r.d2;return e["offset"+i]||e["client"+i]||0},_getLabelRatioArray=function(e){var r=[],i=e.labels,n=e.duration(),s;for(s in i)r.push(i[s]/n);return r},_getClosestLabel=function(e){return function(r){return gsap.utils.snap(_getLabelRatioArray(e),r)}},_snapDirectional=function(e){var r=gsap.utils.snap(e),i=Array.isArray(e)&&e.slice(0).sort(function(n,s){return n-s});return i?function(n,s,a){a===void 0&&(a=.001);var o;if(!s)return r(n);if(s>0){for(n-=a,o=0;o<i.length;o++)if(i[o]>=n)return i[o];return i[o-1]}else for(o=i.length,n+=a;o--;)if(i[o]<=n)return i[o];return i[0]}:function(n,s,a){a===void 0&&(a=.001);var o=r(n);return!s||Math.abs(o-n)<a||o-n<0==s<0?o:r(s<0?n-e:n+e)}},_getLabelAtDirection=function(e){return function(r,i){return _snapDirectional(_getLabelRatioArray(e))(r,i.direction)}},_multiListener=function(e,r,i,n){return i.split(",").forEach(function(s){return e(r,s,n)})},_addListener=function(e,r,i,n,s){return e.addEventListener(r,i,{passive:!n,capture:!!s})},_removeListener=function(e,r,i,n){return e.removeEventListener(r,i,!!n)},_wheelListener=function(e,r,i){i=i&&i.wheelHandler,i&&(e(r,"wheel",i),e(r,"touchmove",i))},_markerDefaults={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},_defaults={toggleActions:"play",anticipatePin:0},_keywords={top:0,left:0,center:.5,bottom:1,right:1},_offsetToPx=function(e,r){if(_isString(e)){var i=e.indexOf("="),n=~i?+(e.charAt(i-1)+1)*parseFloat(e.substr(i+1)):0;~i&&(e.indexOf("%")>i&&(n*=r/100),e=e.substr(0,i-1)),e=n+(e in _keywords?_keywords[e]*r:~e.indexOf("%")?parseFloat(e)*r/100:parseFloat(e)||0)}return e},_createMarker=function(e,r,i,n,s,a,o,l){var h=s.startColor,c=s.endColor,d=s.fontSize,f=s.indent,u=s.fontWeight,m=_doc.createElement("div"),p=_isViewport(i)||_getProxyProp(i,"pinType")==="fixed",x=e.indexOf("scroller")!==-1,_=p?_body:i,y=e.indexOf("start")!==-1,g=y?h:c,v="border-color:"+g+";font-size:"+d+";color:"+g+";font-weight:"+u+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return v+="position:"+((x||l)&&p?"fixed;":"absolute;"),(x||l||!p)&&(v+=(n===_vertical?_right:_bottom)+":"+(a+parseFloat(f))+"px;"),o&&(v+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),m._isStart=y,m.setAttribute("class","gsap-marker-"+e+(r?" marker-"+r:"")),m.style.cssText=v,m.innerText=r||r===0?e+"-"+r:e,_.children[0]?_.insertBefore(m,_.children[0]):_.appendChild(m),m._offset=m["offset"+n.op.d2],_positionMarker(m,0,n,y),m},_positionMarker=function(e,r,i,n){var s={display:"block"},a=i[n?"os2":"p2"],o=i[n?"p2":"os2"];e._isFlipped=n,s[i.a+"Percent"]=n?-100:0,s[i.a]=n?"1px":0,s["border"+a+_Width]=1,s["border"+o+_Width]=0,s[i.p]=r+"px",gsap.set(e,s)},_triggers=[],_ids={},_rafID,_sync=function(){return _getTime()-_lastScrollTime>34&&(_rafID||(_rafID=requestAnimationFrame(_updateAll)))},_onScroll=function(){(!_normalizer||!_normalizer.isPressed||_normalizer.startX>_body.clientWidth)&&(_scrollers.cache++,_normalizer?_rafID||(_rafID=requestAnimationFrame(_updateAll)):_updateAll(),_lastScrollTime||_dispatch("scrollStart"),_lastScrollTime=_getTime())},_setBaseDimensions=function(){_baseScreenWidth=_win.innerWidth,_baseScreenHeight=_win.innerHeight},_onResize=function(){_scrollers.cache++,!_refreshing&&!_ignoreResize&&!_doc.fullscreenElement&&!_doc.webkitFullscreenElement&&(!_ignoreMobileResize||_baseScreenWidth!==_win.innerWidth||Math.abs(_win.innerHeight-_baseScreenHeight)>_win.innerHeight*.25)&&_resizeDelay.restart(!0)},_listeners={},_emptyArray=[],_softRefresh=function t(){return _removeListener(ScrollTrigger,"scrollEnd",t)||_refreshAll(!0)},_dispatch=function(e){return _listeners[e]&&_listeners[e].map(function(r){return r()})||_emptyArray},_savedStyles=[],_revertRecorded=function(e){for(var r=0;r<_savedStyles.length;r+=5)(!e||_savedStyles[r+4]&&_savedStyles[r+4].query===e)&&(_savedStyles[r].style.cssText=_savedStyles[r+1],_savedStyles[r].getBBox&&_savedStyles[r].setAttribute("transform",_savedStyles[r+2]||""),_savedStyles[r+3].uncache=1)},_revertAll=function(e,r){var i;for(_i=0;_i<_triggers.length;_i++)i=_triggers[_i],i&&(!r||i._ctx===r)&&(e?i.kill(1):i.revert(!0,!0));_isReverted=!0,r&&_revertRecorded(r),r||_dispatch("revert")},_clearScrollMemory=function(e,r){_scrollers.cache++,(r||!_refreshingAll)&&_scrollers.forEac
vendor: 6,571 bytes, line 33
33h(function(i){return _isFunction(i)&&i.cacheID++&&(i.rec=0)}),_isString(e)&&(_win.history.scrollRestoration=_scrollRestoration=e)},_refreshingAll,_refreshID=0,_queueRefreshID,_queueRefreshAll=function(){if(_queueRefreshID!==_refreshID){var e=_queueRefreshID=_refreshID;requestAnimationFrame(function(){return e===_refreshID&&_refreshAll(!0)})}},_refresh100vh=function(){_body.appendChild(_div100vh),_100vh=!_normalizer&&_div100vh.offsetHeight||_win.innerHeight,_body.removeChild(_div100vh)},_hideAllMarkers=function(e){return _toArray(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=e?"none":"block"})},_refreshAll=function(e,r){if(_lastScrollTime&&!e&&!_isReverted){_addListener(ScrollTrigger,"scrollEnd",_softRefresh);return}_refresh100vh(),_refreshingAll=ScrollTrigger.isRefreshing=!0,_scrollers.forEach(function(n){return _isFunction(n)&&++n.cacheID&&(n.rec=n())});var i=_dispatch("refreshInit");_sort&&ScrollTrigger.sort(),r||_revertAll(),_scrollers.forEach(function(n){_isFunction(n)&&(n.smooth&&(n.target.style.scrollBehavior="auto"),n(0))}),_triggers.slice(0).forEach(function(n){return n.refresh()}),_isReverted=!1,_triggers.forEach(function(n){if(n._subPinOffset&&n.pin){var s=n.vars.horizontal?"offsetWidth":"offsetHeight",a=n.pin[s];n.revert(!0,1),n.adjustPinSpacing(n.pin[s]-a),n.refresh()}}),_clampingMax=1,_hideAllMarkers(!0),_triggers.forEach(function(n){var s=_maxScroll(n.scroller,n._dir),a=n.vars.end==="max"||n._endClamp&&n.end>s,o=n._startClamp&&n.start>=s;(a||o)&&n.setPositions(o?s-1:n.start,a?Math.max(o?s:n.start+1,s):n.end,!0)}),_hideAllMarkers(!1),_clampingMax=0,i.forEach(function(n){return n&&n.render&&n.render(-1)}),_scrollers.forEach(function(n){_isFunction(n)&&(n.smooth&&requestAnimationFrame(function(){return n.target.style.scrollBehavior="smooth"}),n.rec&&n(n.rec))}),_clearScrollMemory(_scrollRestoration,1),_resizeDelay.pause(),_refreshID++,_refreshingAll=2,_updateAll(2),_triggers.forEach(function(n){return _isFunction(n.vars.onRefresh)&&n.vars.onRefresh(n)}),_refreshingAll=ScrollTrigger.isRefreshing=!1,_dispatch("refresh")},_lastScroll=0,_direction=1,_primary,_updateAll=function(e){if(e===2||!_refreshingAll&&!_isReverted){ScrollTrigger.isUpdating=!0,_primary&&_primary.update(0);var r=_triggers.length,i=_getTime(),n=i-_time1>=50,s=r&&_triggers[0].scroll();if(_direction=_lastScroll>s?-1:1,_refreshingAll||(_lastScroll=s),n&&(_lastScrollTime&&!_pointerIsDown&&i-_lastScrollTime>200&&(_lastScrollTime=0,_dispatch("scrollEnd")),_time2=_time1,_time1=i),_direction<0){for(_i=r;_i-- >0;)_triggers[_i]&&_triggers[_i].update(0,n);_direction=1}else for(_i=0;_i<r;_i++)_triggers[_i]&&_triggers[_i].update(0,n);ScrollTrigger.isUpdating=!1}_rafID=0},_propNamesToCopy=[_left,_top,_bottom,_right,_margin+_Bottom,_margin+_Right,_margin+_Top,_margin+_Left,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],_stateProps=_propNamesToCopy.concat([_width,_height,"boxSizing","max"+_Width,"max"+_Height,"position",_margin,_padding,_padding+_Top,_padding+_Right,_padding+_Bottom,_padding+_Left]),_swapPinOut=function(e,r,i){_setState(i);var n=e._gsap;if(n.spacerIsNative)_setState(n.spacerState);else if(e._gsap.swappedIn){var s=r.parentNode;s&&(s.insertBefore(e,r),s.removeChild(r))}e._gsap.swappedIn=!1},_swapPinIn=function(e,r,i,n){if(!e._gsap.swappedIn){for(var s=_propNamesToCopy.length,a=r.style,o=e.style,l;s--;)l=_propNamesToCopy[s],a[l]=i[l];a.position=i.position==="absolute"?"absolute":"relative",i.display==="inline"&&(a.display="inline-block"),o[_bottom]=o[_right]="auto",a.flexBasis=i.flexBasis||"auto",a.overflow="visible",a.boxSizing="border-box",a[_width]=_getSize(e,_horizontal)+_px,a[_height]=_getSize(e,_vertical)+_px,a[_padding]=o[_margin]=o[_top]=o[_left]="0",_setState(n),o[_width]=o["max"+_Width]=i[_width],o[_height]=o["max"+_Height]=i[_height],o[_padding]=i[_padding],e.parentNode!==r&&(e.parentNode.insertBefore(r,e),r.appendChild(e)),e._gsap.swappedIn=!0}},_capsExp=/([A-Z])/g,_setState=function(e){if(e){var r=e.t.style,i=e.length,n=0,s,a;for((e.t._gsap||gsap.core.getCache(e.t)).uncache=1;n<i;n+=2)a=e[n+1],s=e[n],a?r[s]=a:r[s]&&r.removeProperty(s.replace(_capsExp,"-$1").toLowerCase())}},_getState=function(e){for(var r=_stateProps.length,i=e.style,n=[],s=0;s<r;s++)n.push(_stateProps[s],i[_stateProps[s]]);return n.t=e,n},_copyState=function(e,r,i){for(var n=[],s=e.length,a=i?8:0,o;a<s;a+=2)o=e[a],n.push(o,o in r?r[o]:e[a+1]);return n.t=e.t,n},_winOffsets={left:0,top:0},_parsePosition=function(e,r,i,n,s,a,o,l,h,c,d,f,u,m){_isFunction(e)&&(e=e(l)),_isString(e)&&e.substr(0,3)==="max"&&(e=f+(e.charAt(4)==="="?_offsetToPx("0"+e.substr(3),i):0));var p=u?u.time():0,x,_,y;if(u&&u.seek(0),isNaN(e)||(e=+e),_isNumber(e))u&&(e=gsap.utils.mapRange(u.scrollTrigger.start,u.scrollTrigger.end,0,f,e)),o&&_positionMarker(o,i,n,!0);else{_isFunction(r)&&(r=r(l));var g=(e||"0").split(" "),v,k,P,C;y=_getTarget(r,l)||_body,v=_getBounds(y)||{},(!v||!v.left&&!v.top)&&_getComputedStyle(y).display==="none"&&(C=y.style.display,y.style.display="block",v=_getBounds(y),C?y.style.display=C:y.style.removeProperty("display")),k=_offsetToPx(g[0],v[n.d]),P=_offsetToPx(g[1]||"0",i),e=v[n.p]-h[n.p]-c+k+s-P,o&&_positionMarker(o,P,n,i-P<20||o._isStart&&P>20),i-=i-P}if(m&&(l[m]=e||-.001,e<0&&(e=0)),a){var E=e+i,M=a._isStart;x="scroll"+n.d2,_positionMarker(a,E,n,M&&E>20||!M&&(d?Math.max(_body[x],_docEl[x]):a.parentNode[x])<=E+1),d&&(h=_getBounds(o),d&&(a.style[n.op.p]=h[n.op.p]-n.op.m-a._offset+_px))}return u&&y&&(x=_getBounds(y),u.seek(f),_=_getBounds(y),u._caScrollDist=x[n.p]-_[n.p],e=e/u._caScrollDist*f),u&&u.seek(p),u?e:Math.round(e)},_prefixExp=/(webkit|moz|length|cssText|inset)/i,_reparent=function(e,r,i,n){if(e.parentNode!==r){var s=e.style,a,o;if(r===_body){e._stOrig=s.cssText,o=_getComputedStyle(e);for(a in o)!+a&&!_prefixExp.test(a)&&o[a]&&typeof s[a]=="string"&&a!=="0"&&(s[a]=o[a]);s.top=i,s.left=n}else s.cssText=e._stOrig;gsap.core.getCache(e).uncache=1,r.appendChild(e)}},_interruptionTracker=function(e,r,i){var n=r,s=n;return function(a){var o=Math.round(e());return o!==n&&o!==s&&Math.abs(o-n)>3&&Math.abs(o-s)>3&&(a=o,i&&i()),s=n,n=a,a}},_shiftMarker=function(e,r,i){var n={};n[r.p]="+="+i,gsap.set(e,n)},_getTweenCreator=function(e,r){var i=_getScrollFunc(e,r),n="_scroll"+r.p2,s=function a(o,l,h,c,d){var f=a.tween,u=l.onComplete,m={};h=h||i();var p=_interruptionTracker(i,h,function(){f.kill(),a.tween=0}
vendor: 18,889 bytes, line 33
33);return d=c&&d||0,c=c||o-h,f&&f.kill(),l[n]=o,l.inherit=!1,l.modifiers=m,m[n]=function(){return p(h+c*f.ratio+d*f.ratio*f.ratio)},l.onUpdate=function(){_scrollers.cache++,a.tween&&_updateAll()},l.onComplete=function(){a.tween=0,u&&u.call(f)},f=a.tween=gsap.to(e,l),f};return e[n]=i,i.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},_addListener(e,"wheel",i.wheelHandler),ScrollTrigger.isTouch&&_addListener(e,"touchmove",i.wheelHandler),s},ScrollTrigger=function(){function t(r,i){_coreInitted||t.register(gsap)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),_context(this),this.init(r,i)}var e=t.prototype;return e.init=function(i,n){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!_enabled){this.update=this.refresh=this.kill=_passThrough;return}i=_setDefaults(_isString(i)||_isNumber(i)||i.nodeType?{trigger:i}:i,_defaults);var s=i,a=s.onUpdate,o=s.toggleClass,l=s.id,h=s.onToggle,c=s.onRefresh,d=s.scrub,f=s.trigger,u=s.pin,m=s.pinSpacing,p=s.invalidateOnRefresh,x=s.anticipatePin,_=s.onScrubComplete,y=s.onSnapComplete,g=s.once,v=s.snap,k=s.pinReparent,P=s.pinSpacer,C=s.containerAnimation,E=s.fastScrollEnd,M=s.preventOverlaps,B=i.horizontal||i.containerAnimation&&i.horizontal!==!1?_horizontal:_vertical,D=!d&&d!==0,I=_getTarget(i.scroller||_win),L=gsap.core.getCache(I),R=_isViewport(I),$=("pinType"in i?i.pinType:_getProxyProp(I,"pinType")||R&&"fixed")==="fixed",T=[i.onEnter,i.onLeave,i.onEnterBack,i.onLeaveBack],A=D&&i.toggleActions.split(" "),b="markers"in i?i.markers:_defaults.markers,S=R?0:parseFloat(_getComputedStyle(I)["border"+B.p2+_Width])||0,w=this,F=i.onRefreshInit&&function(){return i.onRefreshInit(w)},N=_getSizeFunc(I,R,B),H=_getOffsetsFunc(I,R),G=0,j=0,U=0,J=_getScrollFunc(I,B),ne,ae,pe,re,he,q,O,ce,me,V,fe,be,ke,ee,Ce,Ae,Se,oe,ve,se,Me,Te,$e,Qe,ye,nt,qe,Ke,Ze,We,je,Q,Ye,De,Le,Re,Ue,Je,He;if(w._startClamp=w._endClamp=!1,w._dir=B,x*=45,w.scroller=I,w.scroll=C?C.time.bind(C):J,re=J(),w.vars=i,n=n||i.animation,"refreshPriority"in i&&(_sort=1,i.refreshPriority===-9999&&(_primary=w)),L.tweenScroll=L.tweenScroll||{top:_getTweenCreator(I,_vertical),left:_getTweenCreator(I,_horizontal)},w.tweenTo=ne=L.tweenScroll[B.p],w.scrubDuration=function(z){Ye=_isNumber(z)&&z,Ye?Q?Q.duration(z):Q=gsap.to(n,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ye,paused:!0,onComplete:function(){return _&&_(w)}}):(Q&&Q.progress(1).kill(),Q=0)},n&&(n.vars.lazy=!1,n._initted&&!w.isReverted||n.vars.immediateRender!==!1&&i.immediateRender!==!1&&n.duration()&&n.render(0,!0,!0),w.animation=n.pause(),n.scrollTrigger=w,w.scrubDuration(d),We=0,l||(l=n.vars.id)),v&&((!_isObject(v)||v.push)&&(v={snapTo:v}),"scrollBehavior"in _body.style&&gsap.set(R?[_body,_docEl]:I,{scrollBehavior:"auto"}),_scrollers.forEach(function(z){return _isFunction(z)&&z.target===(R?_doc.scrollingElement||_docEl:I)&&(z.smooth=!1)}),pe=_isFunction(v.snapTo)?v.snapTo:v.snapTo==="labels"?_getClosestLabel(n):v.snapTo==="labelsDirectional"?_getLabelAtDirection(n):v.directional!==!1?function(z,Z){return _snapDirectional(v.snapTo)(z,_getTime()-j<500?0:Z.direction)}:gsap.utils.snap(v.snapTo),De=v.duration||{min:.1,max:2},De=_isObject(De)?_clamp(De.min,De.max):_clamp(De,De),Le=gsap.delayedCall(v.delay||Ye/2||.1,function(){var z=J(),Z=_getTime()-j<500,W=ne.tween;if((Z||Math.abs(w.getVelocity())<10)&&!W&&!_pointerIsDown&&G!==z){var X=(z-q)/ee,Pe=n&&!D?n.totalProgress():X,te=Z?0:(Pe-je)/(_getTime()-_time2)*1e3||0,ge=gsap.utils.clamp(-X,1-X,_abs(te/2)*te/.185),Fe=X+(v.inertia===!1?0:ge),_e,ue,le=v,Ne=le.onStart,de=le.onInterrupt,Ve=le.onComplete;if(_e=pe(Fe,w),_isNumber(_e)||(_e=Fe),ue=Math.round(q+_e*ee),z<=O&&z>=q&&ue!==z){if(W&&!W._initted&&W.data<=_abs(ue-z))return;v.inertia===!1&&(ge=_e-X),ne(ue,{duration:De(_abs(Math.max(_abs(Fe-Pe),_abs(_e-Pe))*.185/te/.05||0)),ease:v.ease||"power3",data:_abs(ue-z),onInterrupt:function(){return Le.restart(!0)&&de&&de(w)},onComplete:function(){w.update(),G=J(),n&&(Q?Q.resetTo("totalProgress",_e,n._tTime/n._tDur):n.progress(_e)),We=je=n&&!D?n.totalProgress():w.progress,y&&y(w),Ve&&Ve(w)}},z,ge*ee,ue-z-ge*ee),Ne&&Ne(w,ne.tween)}}else w.isActive&&G!==z&&Le.restart(!0)}).pause()),l&&(_ids[l]=w),f=w.trigger=_getTarget(f||u!==!0&&u),He=f&&f._gsap&&f._gsap.stRevert,He&&(He=He(w)),u=u===!0?f:_getTarget(u),_isString(o)&&(o={targets:f,className:o}),u&&(m===!1||m===_margin||(m=!m&&u.parentNode&&u.parentNode.style&&_getComputedStyle(u.parentNode).display==="flex"?!1:_padding),w.pin=u,ae=gsap.core.getCache(u),ae.spacer?Ce=ae.pinState:(P&&(P=_getTarget(P),P&&!P.nodeType&&(P=P.current||P.nativeElement),ae.spacerIsNative=!!P,P&&(ae.spacerState=_getState(P))),ae.spacer=oe=P||_doc.createElement("div"),oe.classList.add("pin-spacer"),l&&oe.classList.add("pin-spacer-"+l),ae.pinState=Ce=_getState(u)),i.force3D!==!1&&gsap.set(u,{force3D:!0}),w.spacer=oe=ae.spacer,Ze=_getComputedStyle(u),Qe=Ze[m+B.os2],se=gsap.getProperty(u),Me=gsap.quickSetter(u,B.a,_px),_swapPinIn(u,oe,Ze),Se=_getState(u)),b){be=_isObject(b)?_setDefaults(b,_markerDefaults):_markerDefaults,V=_createMarker("scroller-start",l,I,B,be,0),fe=_createMarker("scroller-end",l,I,B,be,0,V),ve=V["offset"+B.op.d2];var et=_getTarget(_getProxyProp(I,"content")||I);ce=this.markerStart=_createMarker("start",l,et,B,be,ve,0,C),me=this.markerEnd=_createMarker("end",l,et,B,be,ve,0,C),C&&(Je=gsap.quickSetter([ce,me],B.a,_px)),!$&&!(_proxies.length&&_getProxyProp(I,"fixedMarkers")===!0)&&(_makePositionable(R?_body:I),gsap.set([V,fe],{force3D:!0}),nt=gsap.quickSetter(V,B.a,_px),Ke=gsap.quickSetter(fe,B.a,_px))}if(C){var K=C.vars.onUpdate,Y=C.vars.onUpdateParams;C.eventCallback("onUpdate",function(){w.update(0,0,1),K&&K.apply(C,Y||[])})}if(w.previous=function(){return _triggers[_triggers.indexOf(w)-1]},w.next=function(){return _triggers[_triggers.indexOf(w)+1]},w.revert=function(z,Z){if(!Z)return w.kill(!0);var W=z!==!1||!w.enabled,X=_refreshing;W!==w.isReverted&&(W&&(Re=Math.max(J(),w.scroll.rec||0),U=w.progress,Ue=n&&n.progress()),ce&&[ce,me,V,fe].forEach(function(Pe){return Pe.style.display=W?"none":"block"}),W&&(_refreshing=w,w.update(W)),u&&(!k||!w.isActive)&&(W?_swapPinOut(u,oe,Ce):_swapPinIn(u,oe,_getComputedStyle(u),ye)),W||w.update(W),_refreshing=X,w.isReverted=W)},w.refresh=function(z,Z,W,X){if(!((_refreshing||!w.enabled)&&!Z)){if(u&&z&&_lastScrollTime){_addListener(t,"scrollEnd",_softRefresh);return}!_refreshingAll&&F&&F(w),_refreshing=w,ne.tween&&!W&&(ne.tween.kill(),ne.tween=0),Q&&Q.pause(),p&&n&&n.revert({kill:!1}).invalidate(),w.isReverted||w.revert(!0,!0),w._subPinOffset=!1;var Pe=N(),te=H(),ge=C?C.duration():_maxScroll(I,B),Fe=ee<=.01,_e=0,ue=X||0,le=_isObject(W)?W.end:i.end,Ne=i.endTrigger||f,de=_isObject(W)?W.start:i.start||(i.start===0||!f?0:u?"0 0":"0 100%"),Ve=w.pinnedContainer=i.pinnedContainer&&_getTarget(i.pinnedContainer,w),Oe=f&&Math.max(0,_triggers.indexOf(w))||0,we=Oe,Ee,Ie,Xe,st,Be,xe,ze,ot,lt,tt,Ge,rt,at;for(b&&_isObject(W)&&(rt=gsap.getProperty(V,B.p),at=gsap.getProperty(fe,B.p));we--;)xe=_triggers[we],xe.end||xe.refresh(0,1)||(_refreshing=w),ze=xe.pin,ze&&(ze===f||ze===u||ze===Ve)&&!xe.isReverted&&(tt||(tt=[]),tt.unshift(xe),xe.revert(!0,!0)),xe!==_triggers[we]&&(Oe--,we--);for(_isFunction(de)&&(de=de(w)),de=_parseClamp(de,"start",w),q=_parsePosition(de,f,Pe,B,J(),ce,V,w,te,S,$,ge,C,w._startClamp&&"_startClamp")||(u?-.001:0),_isFunction(le)&&(le=le(w)),_isString(le)&&!le.indexOf("+=")&&(~le.indexOf(" ")?le=(_isString(de)?de.split(" ")[0]:"")+le:(_e=_offsetToPx(le.substr(2),Pe),le=_isString(de)?de:(C?gsap.utils.mapRange(0,C.duration(),C.scrollTrigger.start,C.scrollTrigger.end,q):q)+_e,Ne=f)),le=_parseClamp(le,"end",w),O=Math.max(q,_parsePosition(le||(Ne?"100% 0":ge),Ne,Pe,B,J()+_e,me,fe,w,te,S,$,ge,C,w._endClamp&&"_endClamp"))||-.001,_e=0,we=Oe;we--;)xe=_triggers[we],ze=xe.pin,ze&&xe.start-xe._pinPush<=q&&!C&&xe.end>0&&(Ee=xe.end-(w._startClamp?Math.max(0,xe.start):xe.start),(ze===f&&xe.start-xe._pinPush<q||ze===Ve)&&isNaN(de)&&(_e+=Ee*(1-xe.progress)),ze===u&&(ue+=Ee));if(q+=_e,O+=_e,w._startClamp&&(w._startClamp+=_e),w._endClamp&&!_refreshingAll&&(w._endClamp=O||-.001,O=Math.min(O,_maxScroll(I,B))),ee=O-q||(q-=.01)&&.001,Fe&&(U=gsap.utils.clamp(0,1,gsap.utils.normalize(q,O,Re))),w._pinPush=ue,ce&&_e&&(Ee={},Ee[B.a]="+="+_e,Ve&&(Ee[B.p]="-="+J()),gsap.set([ce,me],Ee)),u&&!(_clampingMax&&w.end>=_maxScroll(I,B)))Ee=_getComputedStyle(u),st=B===_vertical,Xe=J(),Te=parseFloat(se(B.a))+ue,!ge&&O>1&&(Ge=(R?_doc.scrollingElement||_docEl:I).style,Ge={style:Ge,value:Ge["overflow"+B.a.toUpperCase()]},R&&_getComputedStyle(_body)["overflow"+B.a.toUpperCase()]!=="scroll"&&(Ge.style["overflow"+B.a.toUpperCase()]="scroll")),_swapPinIn(u,oe,Ee),Se=_getState(u),Ie=_getBounds(u,!0),ot=$&&_getScrollFunc(I,st?_horizontal:_vertical)(),m?(ye=[m+B.os2,ee+ue+_px],ye.t=oe,we=m===_padding?_getSize(u,B)+ee+ue:0,we&&(ye.push(B.d,we+_px),oe.style.flexBasis!=="auto"&&(oe.style.flexBasis=we+_px)),_setState(ye),Ve&&_triggers.forEach(function(it){it.pin===Ve&&it.vars.pinSpacing!==!1&&(it._subPinOffset=!0)}),$&&J(Re)):(we=_getSize(u,B),we&&oe.style.flexBasis!=="auto"&&(oe.style.flexBasis=we+_px)),$&&(Be={top:Ie.top+(st?Xe-q:ot)+_px,left:Ie.left+(st?ot:Xe-q)+_px,boxSizing:"border-box",position:"fixed"},Be[_width]=Be["max"+_Width]=Math.ceil(Ie.width)+_px,Be[_height]=Be["max"+_Height]=Math.ceil(Ie.height)+_px,Be[_margin]=Be[_margin+_Top]=Be[_margin+_Right]=Be[_margin+_Bottom]=Be[_margin+_Left]="0",Be[_padding]=Ee[_padding],Be[_padding+_Top]=Ee[_padding+_Top],Be[_padding+_Right]=Ee[_padding+_Right],Be[_padding+_Bottom]=Ee[_padding+_Bottom],Be[_padding+_Left]=Ee[_padding+_Left],Ae=_copyState(Ce,Be,k),_refreshingAll&&J(0)),n?(lt=n._initted,_suppressOverwrites(1),n.render(n.duration(),!0,!0),$e=se(B.a)-Te+ee+ue,qe=Math.abs(ee-$e)>1,$&&qe&&Ae.splice(Ae.length-2,2),n.render(0,!0,!0),lt||n.invalidate(!0),n.parent||n.totalTime(n.totalTime()),_suppressOverwrites(0)):$e=ee,Ge&&(Ge.value?Ge.style["overflow"+B.a.toUpperCase()]=Ge.value:Ge.style.removeProperty("overflow-"+B.a));else if(f&&J()&&!C)for(Ie=f.parentNode;Ie&&Ie!==_body;)Ie._pinOffset&&(q-=Ie._pinOffset,O-=Ie._pinOffset),Ie=Ie.parentNode;tt&&tt.forEach(function(it){return it.revert(!1,!0)}),w.start=q,w.end=O,re=he=_refreshingAll?Re:J(),!C&&!_refreshingAll&&(re<Re&&J(Re),w.scroll.rec=0),w.revert(!1,!0),j=_getTime(),Le&&(G=-1,Le.restart(!0)),_refreshing=0,n&&D&&(n._initted||Ue)&&n.progress()!==Ue&&n.progress(Ue||0,!0).render(n.time(),!0,!0),(Fe||U!==w.progress||C||p)&&(n&&!D&&n.totalProgress(C&&q<-.001&&!U?gsap.utils.normalize(q,O,0):U,!0),w.progress=Fe||(re-q)/ee===U?0:U),u&&m&&(oe._pinOffset=Math.round(w.progress*$e)),Q&&Q.invalidate(),isNaN(rt)||(rt-=gsap.getProperty(V,B.p),at-=gsap.getProperty(fe,B.p),_shiftMarker(V,B,rt),_shiftMarker(ce,B,rt-(X||0)),_shiftMarker(fe,B,at),_shiftMarker(me,B,at-(X||0))),Fe&&!_refreshingAll&&w.update(),c&&!_refreshingAll&&!ke&&(ke=!0,c(w),ke=!1)}},w.getVelocity=function(){return(J()-he)/(_getTime()-_time2)*1e3||0},w.endAnimation=function(){_endAnimation(w.callbackAnimation),n&&(Q?Q.progress(1):n.paused()?D||_endAnimation(n,w.direction<0,1):_endAnimation(n,n.reversed()))},w.labelToScroll=function(z){return n&&n.labels&&(q||w.refresh()||q)+n.labels[z]/n.duration()*ee||0},w.getTrailing=function(z){var Z=_triggers.indexOf(w),W=w.direction>0?_triggers.slice(0,Z).reverse():_triggers.slice(Z+1);return(_isString(z)?W.filter(function(X){return X.vars.preventOverlaps===z}):W).filter(function(X){return w.direction>0?X.end<=q:X.start>=O})},w.update=function(z,Z,W){if(!(C&&!W&&!z)){var X=_refreshingAll===!0?Re:w.scroll(),Pe=z?0:(X-q)/ee,te=Pe<0?0:Pe>1?1:Pe||0,ge=w.progress,Fe,_e,ue,le,Ne,de,Ve,Oe;if(Z&&(he=re,re=C?J():X,v&&(je=We,We=n&&!D?n.totalProgress():te)),x&&u&&!_refreshing&&!_startup&&_lastScrollTime&&(!te&&q<X+(X-he)/(_getTime()-_time2)*x?te=1e-4:te===1&&O>X+(X-he)/(_getTime()-_time2)*x&&(te=.9999)),te!==ge&&w.enabled){if(Fe=w.isActive=!!te&&te<1,_e=!!ge&&ge<1,de=Fe!==_e,Ne=de||!!te!=!!ge,w.direction=te>ge?1:-1,w.progress=te,Ne&&!_refreshing&&(ue=te&&!ge?0:te===1?1:ge===1?2:3,D&&(le=!de&&A[ue+1]!=="none"&&A[ue+1]||A[ue],Oe=n&&(le==="complete"||le==="reset"||le in n))),M&&(de||Oe)&&(Oe||d||!n)&&(_isFunction(M)?M(w):w.getTrailing(M).forEach(function(Xe){return Xe.endAnimation()})),D||(Q&&!_refreshing&&!_startup?(Q._dp._time-Q._start!==Q._time&&Q.render(Q._dp._time-Q._start),Q.resetTo?Q.resetTo("totalProgress",te,n._tTime/n._tDur):(Q.vars.totalProgress=te,Q.invalidate().restart())):n&&n.totalProgress(te,!!(_refreshing&&(j||z)))),u){if(z&&m&&(oe.style[m+B.os2]=Qe),!$)Me(_round(Te+$e*te));else if(Ne){if(Ve=!z&&te>ge&&O+1>X&&X+1>=_maxScroll(I,B),k)if(!z&&(Fe||Ve)){var we=_getBounds(u,!0),Ee=X-q;_reparent(u,_body,we.top+(B===_vertical?Ee:0)+_px,we.left+(B===_vertical?0:Ee)+_px)}else _reparent(u,oe);_setState(Fe||Ve?Ae:Se),qe&&te<1&&Fe||Me(Te+(te===1&&!Ve?$e:0))}}v&&!ne.tween&&!_refreshing&&!_startup&&Le.restart(!0),o&&(de||g&&te&&(te<1||!_limitCallbacks))&&_toArray(o.targets).forEach(function(Xe){return Xe.classList[Fe||g?"add":"remove"](o.className)}),a&&!D&&!z&&a(w),Ne&&!_refreshing?(D&&(Oe&&(le==="complete"?n.pause().totalProgress(1):le==="reset"?n.restart(!0).pause():le==="restart"?n.restart(!0):n[le]()),a&&a(w)),(de||!_limitCallbacks)&&(h&&de&&_callback(w,h),T[ue]&&_callback(w,T[ue]),g&&(te===1?w.kill(!1,1):T[ue]=0),de||(ue=te===1?1:3,T[ue]&&_callback(w,T[ue]))),E&&!Fe&&Math.abs(w.getVelocity())>(_isNumber(E)?E:2500)&&(_endAnimation(w.callbackAnimation),Q?Q.progress(1):_endAnimation(n,le==="reverse"?1:!te,1))):D&&a&&!_refreshing&&a(w)}if(Ke){var Ie=C?X/C.duration()*(C._caScrollDist||0):X;nt(Ie+(V._isFlipped?1:0)),Ke(Ie)}Je&&Je(-X/C.duration()*(C._caScrollDist||0))}},w.enable=function(z,Z){w.enabled||(w.enabled=!0,_addListener(I,"resize",_onResize),R||_addListener(I,"scroll",_onScroll),F&&_addListener(t,"refreshInit",F),z!==!1&&(w.progress=U=0,re=he=G=J()),Z!==!1&&w.refresh())},w.getTween=function(z){return z&&ne?ne.tween:Q},w.setPositions=function(z,Z,W,X){if(C){var Pe=C.scrollTrigger,te=C.duration(),ge=Pe.end-Pe.start;z=Pe.start+ge*z/te,Z=Pe.start+ge*Z/te}w.refresh(!1,!1,{start:_keepClamp(z,W&&!!w._startClamp),end:_keepClamp(Z,W&&!!w._endClamp)},X),w.update()},w.adjustPinSpacing=function(z){if(ye&&z){var Z=ye.indexOf(B.d)+1;ye[Z]=parseFloat(ye[Z])+z+_px,ye[1]=parseFloat(ye[1])+z+_px,_setState(ye)}},w.disable=function(z,Z){if(w.enabled&&(z!==!1&&w.revert(!0,!0),w.enabled=w.isActive=!1,Z||Q&&Q.pause(),Re=0,ae&&(ae.uncache=1),F&&_removeListener(t,"refreshInit",F),Le&&(Le.pause(),ne.tween&&ne.tween.kill()&&(ne.tween=0)),!R)){for(var W=_triggers.length;W--;)if(_triggers[W].scroller===I&&_triggers[W]!==w)return;_removeListener(I,"resize",_onResize),R||_removeListener(I,"scroll",_onScroll)}},w.kill=function(z,Z){w.disable(z,Z),Q&&!Z&&Q.kill(),l&&delete _ids[l];var W=_triggers.indexOf(w);W>=0&&_triggers.splice(W,1),W===_i&&_direction>0&&_i--,W=0,_triggers.forEach(function(X){return X.scroller===w.scroller&&(W=1)}),W||_refreshingAll||(w.scroll.rec=0),n&&(n.scrollTrigger=null,z&&n.revert({kill:!1}),Z||n.kill()),ce&&[ce,me,V,fe].forEach(function(X){return X.parentNode&&X.parentNode.removeChild(X)}),_primary===w&&(_primary=0),u&&(ae&&(ae.uncache=1),W=0,_triggers.forEach(function(X){return X.pin===u&&W++}),W||(ae.spacer=0)),i.onKill&&i.onKill(w)},_triggers.push(w),w.enable(!1,!1),He&&He(w),n&&n.add&&!ee){var ie=w.update;w.update=function(){w.update=ie,q||O||w.refresh()},gsap.delayedCall(.01,w.update),ee=.01,q=O=0}else w.refresh();u&&_queueRefreshAll()},t.register=function(i){return _coreInitted||(gsap=i||_getGSAP(),_windowExists()&&window.document&&t.enable(),_coreInitted=_enabled),_coreInitted},t.defaults=function(i){if(i)for(var n in i)_defaults[n]=i[n];return _defaults},t.disable=function(i,n){_enabled=0,_triggers.forEach(function(a){return a[n?"kill":"disable"](i)}),_removeListener(_win,"wheel",_onScroll),_removeListener(_doc,"scroll",_onScroll),clearInterval(_syncInterval),_removeListener(_doc,"touchcancel",_passThrough),_removeListener(_body,"touchstart",_passThrough),_multiListener(_removeListener,_doc,"pointerdown,touchstart,mousedown",_pointerDownHandler),_multiListener(_removeListener,_doc,"pointerup,touchend,mouseup",_pointerUpHandler),_resizeDelay.kill(),_iterateAutoRefresh(_removeListener);for(var s=0;s<_scrollers.length;s+=3)_wheelListener(_removeListener,_scrollers[s],_scrollers[s+1]),_wheelListener(_removeListener,_scrollers[s],_scrollers[s+2])},t.enable=function(){if(_win=window,_doc=document,_docEl=_doc.documentElement,_body=_doc.body,gsap&&(_toArray=gsap.utils.toArray,_clamp=gsap.utils.clamp,_context=gsap.core.context||_passThrough,_suppressOverwrites=gsap.core.suppressOverwrites||_passThrough,_scrollRestoration=_win.history.scrollRestoration||"auto",_lastScroll=_win.pageYOffset,gsap.core.globals("ScrollTrigger",t),_body)){_enabled=1,_div100vh=document.createElement("div"),_div100vh.style.height="100vh",_div100vh.style.position="absolute",_refresh100vh(),_rafBugFix(),Observer.register(gsap),t.isTouch=Observer.isTouch,_fixIOSBug=Observer.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),_ignoreMobileResize=Observer.isTouch===1,_addListener(_win,"wheel",_onScroll),_root=[_win,_doc,_docEl,_body],gsap.matchMedia?(t.matchMedia=function(l){var h=gsap.matchMedia(),c;for(c in l)h.add(c,l[c]);return h},gsap.addEventListener("matchMediaInit",function(){return _revertAll()}),gsap.addEventListener("matchMediaRevert",function(){return _revertRecorded()}),gsap.addEventListener("matchMedia",function(){_refreshAll(0,1),_dispatch("matchMedia")}),gsap.matchMedia("(orientation: portrait)",function(){return _setBaseDimensions(),_setBaseDimensions})):console.warn("Requires GSAP 3.11.0 or later"),_setBaseDimensions(),_addListener(_doc,"scroll",_onScroll);var i=_body.style,n=i.borderTopStyle,s=gsap.core.Animation.prototype,a,o;for(s.revert||Object.defineProperty(s,"revert",{value:function(){return this.time(-.01,!0)}}),i.borderTopStyle="solid",a=_getBounds(_body),_vertical.m=Math.round(a.top+_vertical.sc())||0,_horizontal.m=Math.round(a.left+_horizontal.sc())||0,n?i.borderTopStyle=n:i.removeProperty("border-top-style"),_syncInterval=setInterval(_sync,250),gsap.delayedCall(.5,function(){return _startup=0}),_addListener(_doc,"touchcancel",_passThrough),_addListener(_body,"touchstart",_passThrough),_multiListener(_addListener,_doc,"pointerdown,touchstart,mousedown",_pointerDownHandler),_multiListener(_addListener,_doc,"pointerup,touchend,mouseup",_pointerUpHandler),_transformProp=gsap.utils.checkPrefix("transform"),_stateProps.push(_transformProp),_coreInitted=_getTime(),_resizeDelay=gsap.delayedCall(.2,_refreshAll).pause(),_autoRefresh=[_doc,"visibilitychange",function(){var l=_win.innerWidth,h=_win.innerHeight;_doc.hidden?(_prevWidth=l,_prevHeight=h):(_prevWidth!==l||_prevHeight!==h)&&_onResize()},_doc,"DOMContentLoaded",_refreshAll,_win,"load",_refreshAll,_win,"resize",_onResize],_iterateAutoRefresh(_addListener),_triggers.forEac
vendor: 10,164 bytes, line 33
33h(function(l){return l.enable(0,1)}),o=0;o<_scrollers.length;o+=3)_wheelListener(_removeListener,_scrollers[o],_scrollers[o+1]),_wheelListener(_removeListener,_scrollers[o],_scrollers[o+2])}},t.config=function(i){"limitCallbacks"in i&&(_limitCallbacks=!!i.limitCallbacks);var n=i.syncInterval;n&&clearInterval(_syncInterval)||(_syncInterval=n)&&setInterval(_sync,n),"ignoreMobileResize"in i&&(_ignoreMobileResize=t.isTouch===1&&i.ignoreMobileResize),"autoRefreshEvents"in i&&(_iterateAutoRefresh(_removeListener)||_iterateAutoRefresh(_addListener,i.autoRefreshEvents||"none"),_ignoreResize=(i.autoRefreshEvents+"").indexOf("resize")===-1)},t.scrollerProxy=function(i,n){var s=_getTarget(i),a=_scrollers.indexOf(s),o=_isViewport(s);~a&&_scrollers.splice(a,o?6:2),n&&(o?_proxies.unshift(_win,n,_body,n,_docEl,n):_proxies.unshift(s,n))},t.clearMatchMedia=function(i){_triggers.forEach(function(n){return n._ctx&&n._ctx.query===i&&n._ctx.kill(!0,!0)})},t.isInViewport=function(i,n,s){var a=(_isString(i)?_getTarget(i):i).getBoundingClientRect(),o=a[s?_width:_height]*n||0;return s?a.right-o>0&&a.left+o<_win.innerWidth:a.bottom-o>0&&a.top+o<_win.innerHeight},t.positionInViewport=function(i,n,s){_isString(i)&&(i=_getTarget(i));var a=i.getBoundingClientRect(),o=a[s?_width:_height],l=n==null?o/2:n in _keywords?_keywords[n]*o:~n.indexOf("%")?parseFloat(n)*o/100:parseFloat(n)||0;return s?(a.left+l)/_win.innerWidth:(a.top+l)/_win.innerHeight},t.killAll=function(i){if(_triggers.slice(0).forEach(function(s){return s.vars.id!=="ScrollSmoother"&&s.kill()}),i!==!0){var n=_listeners.killAll||[];_listeners={},n.forEach(function(s){return s()})}},t}();ScrollTrigger.version="3.12.5";ScrollTrigger.saveStyles=function(t){return t?_toArray(t).forEach(function(e){if(e&&e.style){var r=_savedStyles.indexOf(e);r>=0&&_savedStyles.splice(r,5),_savedStyles.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),gsap.core.getCache(e),_context())}}):_savedStyles};ScrollTrigger.revert=function(t,e){return _revertAll(!t,e)};ScrollTrigger.create=function(t,e){return new ScrollTrigger(t,e)};ScrollTrigger.refresh=function(t){return t?_onResize():(_coreInitted||ScrollTrigger.register())&&_refreshAll(!0)};ScrollTrigger.update=function(t){return++_scrollers.cache&&_updateAll(t===!0?2:0)};ScrollTrigger.clearScrollMemory=_clearScrollMemory;ScrollTrigger.maxScroll=function(t,e){return _maxScroll(t,e?_horizontal:_vertical)};ScrollTrigger.getScrollFunc=function(t,e){return _getScrollFunc(_getTarget(t),e?_horizontal:_vertical)};ScrollTrigger.getById=function(t){return _ids[t]};ScrollTrigger.getAll=function(){return _triggers.filter(function(t){return t.vars.id!=="ScrollSmoother"})};ScrollTrigger.isScrolling=function(){return!!_lastScrollTime};ScrollTrigger.snapDirectional=_snapDirectional;ScrollTrigger.addEventListener=function(t,e){var r=_listeners[t]||(_listeners[t]=[]);~r.indexOf(e)||r.push(e)};ScrollTrigger.removeEventListener=function(t,e){var r=_listeners[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)};ScrollTrigger.batch=function(t,e){var r=[],i={},n=e.interval||.016,s=e.batchMax||1e9,a=function(h,c){var d=[],f=[],u=gsap.delayedCall(n,function(){c(d,f),d=[],f=[]}).pause();return function(m){d.length||u.restart(!0),d.push(m.trigger),f.push(m),s<=d.length&&u.progress(1)}},o;for(o in e)i[o]=o.substr(0,2)==="on"&&_isFunction(e[o])&&o!=="onRefreshInit"?a(o,e[o]):e[o];return _isFunction(s)&&(s=s(),_addListener(ScrollTrigger,"refresh",function(){return s=e.batchMax()})),_toArray(t).forEach(function(l){var h={};for(o in i)h[o]=i[o];h.trigger=l,r.push(ScrollTrigger.create(h))}),r};var _clampScrollAndGetDurationMultiplier=function(e,r,i,n){return r>n?e(n):r<0&&e(0),i>n?(n-r)/(i-r):i<0?r/(r-i):1},_allowNativePanning=function t(e,r){r===!0?e.style.removeProperty("touch-action"):e.style.touchAction=r===!0?"auto":r?"pan-"+r+(Observer.isTouch?" pinch-zoom":""):"none",e===_docEl&&t(_body,r)},_overflow={auto:1,scroll:1},_nestedScroll=function(e){var r=e.event,i=e.target,n=e.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,a=s._gsap||gsap.core.getCache(s),o=_getTime(),l;if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==_body&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(_overflow[(l=_getComputedStyle(s)).overflowY]||_overflow[l.overflowX]));)s=s.parentNode;a._isScroll=s&&s!==i&&!_isViewport(s)&&(_overflow[(l=_getComputedStyle(s)).overflowY]||_overflow[l.overflowX]),a._isScrollT=o}(a._isScroll||n==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},_inputObserver=function(e,r,i,n){return Observer.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:n=n&&_nestedScroll,onPress:n,onDrag:n,onScroll:n,onEnable:function(){return i&&_addListener(_doc,Observer.eventTypes[0],_captureInputs,!1,!0)},onDisable:function(){return _removeListener(_doc,Observer.eventTypes[0],_captureInputs,!0)}})},_inputExp=/(input|label|select|textarea)/i,_inputIsFocused,_captureInputs=function(e){var r=_inputExp.test(e.target.tagName);(r||_inputIsFocused)&&(e._gsapAllow=!0,_inputIsFocused=r)},_getScrollNormalizer=function(e){_isObject(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var r=e,i=r.normalizeScrollX,n=r.momentum,s=r.allowNestedScroll,a=r.onRelease,o,l,h=_getTarget(e.target)||_docEl,c=gsap.core.globals().ScrollSmoother,d=c&&c.get(),f=_fixIOSBug&&(e.content&&_getTarget(e.content)||d&&e.content!==!1&&!d.smooth()&&d.content()),u=_getScrollFunc(h,_vertical),m=_getScrollFunc(h,_horizontal),p=1,x=(Observer.isTouch&&_win.visualViewport?_win.visualViewport.scale*_win.visualViewport.width:_win.outerWidth)/_win.innerWidth,_=0,y=_isFunction(n)?function(){return n(o)}:function(){return n||2.8},g,v,k=_inputObserver(h,e.type,!0,s),P=function(){return v=!1},C=_passThrough,E=_passThrough,M=function(){l=_maxScroll(h,_vertical),E=_clamp(_fixIOSBug?1:0,l),i&&(C=_clamp(0,_maxScroll(h,_horizontal))),g=_refreshID},B=function(){f._gsap.y=_round(parseFloat(f._gsap.y)+u.offset)+"px",f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(f._gsap.y)+", 0, 1)",u.offset=u.cacheID=0},D=function(){if(v){requestAnimationFrame(P);var b=_round(o.deltaY/2),S=E(u.v-b);if(f&&S!==u.v+u.offset){u.offset=S-u.v;var w=_round((parseFloat(f&&f._gsap.y)||0)-u.offset);f.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+w+", 0, 1)",f._gsap.y=w+"px",u.cacheID=_scrollers.cache,_updateAll()}return!0}u.offset&&B(),v=!0},I,L,R,$,T=function(){M(),I.isActive()&&I.vars.scrollY>l&&(u()>l?I.progress(1)&&u(l):I.resetTo("scrollY",l))};return f&&gsap.set(f,{y:"+=0"}),e.ignoreCheck=function(A){return _fixIOSBug&&A.type==="touchmove"&&D()||p>1.05&&A.type!=="touchstart"||o.isGesturing||A.touches&&A.touches.length>1},e.onPress=function(){v=!1;var A=p;p=_round((_win.visualViewport&&_win.visualViewport.scale||1)/x),I.pause(),A!==p&&_allowNativePanning(h,p>1.01?!0:i?!1:"x"),L=m(),R=u(),M(),g=_refreshID},e.onRelease=e.onGestureStart=function(A,b){if(u.offset&&B(),!b)$.restart(!0);else{_scrollers.cache++;var S=y(),w,F;i&&(w=m(),F=w+S*.05*-A.velocityX/.227,S*=_clampScrollAndGetDurationMultiplier(m,w,F,_maxScroll(h,_horizontal)),I.vars.scrollX=C(F)),w=u(),F=w+S*.05*-A.velocityY/.227,S*=_clampScrollAndGetDurationMultiplier(u,w,F,_maxScroll(h,_vertical)),I.vars.scrollY=E(F),I.invalidate().duration(S).play(.01),(_fixIOSBug&&I.vars.scrollY>=l||w>=l-1)&&gsap.to({},{onUpdate:T,duration:S})}a&&a(A)},e.onWheel=function(){I._ts&&I.pause(),_getTime()-_>1e3&&(g=0,_=_getTime())},e.onChange=function(A,b,S,w,F){if(_refreshID!==g&&M(),b&&i&&m(C(w[2]===b?L+(A.startX-A.x):m()+b-w[1])),S){u.offset&&B();var N=F[2]===S,H=N?R+A.startY-A.y:u()+S-F[1],G=E(H);N&&H!==G&&(R+=G-H),u(G)}(S||b)&&_updateAll()},e.onEnable=function(){_allowNativePanning(h,i?!1:"x"),ScrollTrigger.addEventListener("refresh",T),_addListener(_win,"resize",T),u.smooth&&(u.target.style.scrollBehavior="auto",u.smooth=m.smooth=!1),k.enable()},e.onDisable=function(){_allowNativePanning(h,!0),_removeListener(_win,"resize",T),ScrollTrigger.removeEventListener("refresh",T),k.kill()},e.lockAxis=e.lockAxis!==!1,o=new Observer(e),o.iOS=_fixIOSBug,_fixIOSBug&&!u()&&u(1),_fixIOSBug&&gsap.ticker.add(_passThrough),$=o._dc,I=gsap.to(o,{ease:"power4",paused:!0,inherit:!1,scrollX:i?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:_interruptionTracker(u,u(),function(){return I.pause()})},onUpdate:_updateAll,onComplete:$.vars.onComplete}),o};ScrollTrigger.sort=function(t){return _triggers.sort(t||function(e,r){return(e.vars.refreshPriority||0)*-1e6+e.start-(r.start+(r.vars.refreshPriority||0)*-1e6)})};ScrollTrigger.observe=function(t){return new Observer(t)};ScrollTrigger.normalizeScroll=function(t){if(typeof t>"u")return _normalizer;if(t===!0&&_normalizer)return _normalizer.enable();if(t===!1){_normalizer&&_normalizer.kill(),_normalizer=t;return}var e=t instanceof Observer?t:_getScrollNormalizer(t);return _normalizer&&_normalizer.target===e.target&&_normalizer.kill(),_isViewport(e.target)&&(_normalizer=e),e};ScrollTrigger.core={_getVelocityProp,_inputObserver,_scrollers,_proxies,bridge:{ss:function(){_lastScrollTime||_dispatch("scrollStart"),_lastScrollTime=_getTime()},ref:function(){return _refreshing}}};_getGSAP()&&gsap.registerPlugin(ScrollTrigger);function useScrollingIndicator(){const t=useState("scrolling-indicator-requirement-modules",()=>[]),e=useState("scrolling-indicator-visible-modules",()=>[]),r=useState("scrolling-indicator-visible-sentinels",()=>[]),i=f=>{t.value.find(u=>u===f)||t.value.push(f)},n=f=>{t.value=t.value.filter(u=>u!==f)},s=f=>{r.value.push(f)},a=f=>{r.value=r.value.filter(u=>u!==f)},o=f=>{e.value.push(f)},l=f=>{e.value=e.value.filter(u=>u!==f)},h=f=>!!e.value.find(u=>u===f),c=f=>!!r.value.find(u=>u===f),d=f=>{const u=y=>{y[0].isIntersecting?(o(f),c(f)||i(f)):(l(f),n(f))},m=new IntersectionObserver(u,{threshold:0}),p=y=>{y[0].isIntersecting?(s(f),h(f)&&n(f)):(a(f),h(f)&&i(f))},x=new IntersectionObserver(p,{threshold:0,rootMargin:"0px 0px -20px 0px"});document.querySelectorAll(`#${f}`).forEach(y=>{var v;const g=document.createElement("div");g.style.height="1px",g.style.position="absolute",(v=y.parentNode)==null||v.
33insertBefore(g,y.nextSibling),x.observe(g),m.observe(y)})};return{scrollingIndicatorEnabled:computed(()=>t.value.length>0),requireIndicatorOnIntersection:d}}const _hoisted_1$x=["id"],_hoisted_2$o={class:"absolute left-0 right-0 top-0 z-10 flex h-screen flex-col items-center justify-center"},_hoisted_3$k=["id"],_sfc_main$z=defineComponent({__name:"FrameAnimatedStatementModule",props:{blok:{type:Object,required:!0}},setup(t){const{requireIndicatorOnIntersection:e}=useScrollingIndicator(),r=ref(0),i=computed(()=>Math.round(r.value)),n=t,s=computed(()=>Number(n.blok.frameWidth)),a=computed(()=>Number(n.blok.frameHeight)),o=computed(()=>{var d;return((d=n.blok.frames)==null?void 0:d.length)??0}),l=computed(()=>"frame-animation-"+n.blok._uid),h=computed(()=>"statement-"+n.blok._uid),c=computed(()=>"scroll-container-"+n.blok._uid);return onMounted(()=>{e(c.value),gsapWithCSS.registerPlugin(ScrollTrigger),gsapWithCSS.to(r,{value:o.value-1,scrollTrigger:{trigger:"#"+h.value,endTrigger:"#"+c.value,pin:!0,start:"center center",end:"bottom bottom",scrub:!0,invalidateOnRefresh:!0},ease:"none"})}),(d,f)=>{const u=_sfc_main$A;return openBlock(),createElementBlock("section",{id:unref(c),class:"relative h-[150vh] md:h-[200vh]"},[createBaseVNode("div",{class:"sticky top-0 h-screen w-full overflow-hidden",style:normalizeStyle({backgroundColor:t.blok.backgroundColor.color})},[createVNode(u,{"canvas-id":unref(l),frames:t.blok.frames,"intrinsic-frame-width":unref(s),"intrinsic-frame-height":unref(a),"expected-frame-index":unref(i),class:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2"},null,8,["canvas-id","frames","intrinsic-frame-width","intrinsic-frame-height","expected-frame-index"])],4),createBaseVNode("div",_hoisted_2$o,[createBaseVNode("h1",{id:unref(h),class:"statement w-3/4 text-center sm:w-2/3 xl:w-1/2",style:normalizeStyle({color:t.blok.textColor.color})},toDisplayString(t.blok.statement),13,_hoisted_3$k)])],8,_hoisted_1$x)}}}),_hoisted_1$w=["id"],_sfc_main$y=defineComponent({__name:"StoryblokResizingFrameCanvas",props:{canvasId:{type:String,required:!0},frames:{type:Object,required:!0},expectedFrameIndex:{type:Number,default:0}},setup(t){let e;const r=ref([]);let i=-1;const n=computed(()=>{var d;return((d=s.frames)==null?void 0:d.length)??0}),s=t,a=/\/(\d+)x(\d+)\//,o=computed(()=>{if(s.frames[0].filename){const d=s.frames[0].filename.match(a);if(!d||d.length<3)return 0;const f=parseInt(d[1]);return parseInt(d[2])/f}return 0});onMounted(()=>{e=document.querySelector("#"+s.canvasId),h(),l()}),watch(()=>s.expectedFrameIndex,()=>{l()}),watch(()=>s.frames,()=>{console.log("frames changed"),i=-1,h(),l()});function l(){if(!e)return;const d=e==null?void 0:e.getContext("2d");if(!d||s.expectedFrameIndex!==0&&i===s.expectedFrameIndex)return;const f=r.value[s.expectedFrameIndex],u=e.width*o.value;e.width=e.clientWidth,e.height=u,d.drawImage(f,0,0,e.width,u),i=s.expectedFrameIndex}function h(){r.value=[];for(let d=0;d<n.value;d++){const f=new Image;f.src=c(d),r.value.push(f)}}const c=d=>s.frames?s.frames[d].filename:"";return(d,f)=>(openBlock(),createElementBlock("canvas",{id:t.canvasId},null,8,_hoisted_1$w))}}),_hoisted_1$v={class:"absolute top-0 w-full"},_hoisted_2$n=["id"],speedConstant$1=60,_sfc_main$x=defineComponent({__name:"FrameAnimatedStatementGroupModule",props:{blok:{type:Object,required:!0}},setup(t){const{requireIndicatorOnIntersection:e}=useScrollingIndicator(),r=ref(0),i=useState("is-mobile",()=>!1),n=t,s=computed(()=>{var d;return i.value&&(d=n.blok.mobileFrames)!=null&&d.length?n.blok.mobileFrames:n.blok.frames}),a=computed(()=>r.value),o="frame-animation-"+n.blok._uid,l="scroll-container-"+n.blok._uid,h=d=>"statement-"+d._uid,c=()=>{i.value=window.innerWidth<1025};return onMounted(()=>{e(l),c(),window.addEventListener("resize",c),gsapWithCSS.registerPlugin(ScrollTrigger);for(let d=0;d<n.blok.sections.length;d++){const f=n.blok.sections[d],u=n.blok.sections[d+1];gsapWithCSS.matchMedia().add({isDesktop:"(min-width: 768px)",isMobile:"(max-width: 767px)"},()=>{gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+h(f),endTrigger:"#"+(u?h(u):l),pin:!0,start:"center center",end:u?"center 65%":"bottom bottom",scrub:!0,invalidateOnRefresh:!0},ease:"none"}).fromTo(r,{value:f.startIndex,snap:"value"},{value:f.endIndex,snap:"value"}),u&&gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+h(u),start:"center 65%",end:"center center",scrub:!0,invalidateOnRefresh:!0},ease:"none"}).fromTo("#"+h(f),{alpha:1,scale:1},{alpha:0,scale:.9}
33),d!==0&&gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+h(f),start:"center 60%",end:"center center",scrub:!0,invalidateOnRefresh:!0},ease:"none"}).fromTo("#"+h(f),{alpha:0,scale:.9},{alpha:1,scale:1})})}onUnmounted(()=>{window.removeEventListener("resize",c)})}),(d,f)=>{const u=_sfc_main$y;return openBlock(),createElementBlock("section",{id:l,class:"relative",style:normalizeStyle({height:(t.blok.sections.length+1)*speedConstant$1+"vh"})},[createBaseVNode("div",{class:"sticky top-0 h-screen w-full overflow-hidden",style:normalizeStyle({backgroundColor:t.blok.backgroundColor.color})},[createVNode(u,{"canvas-id":o,frames:unref(s),"expected-frame-index":unref(a),class:"absolute left-1/2 top-1/2 w-full -translate-x-1/2 -translate-y-1/2"},null,8,["frames","expected-frame-index"])],4),createBaseVNode("div",_hoisted_1$v,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.sections,m=>(openBlock(),createElementBlock("div",{key:m._uid,class:"z-10 flex w-full flex-col items-center justify-center",style:normalizeStyle({height:speedConstant$1+"vh"})},[createBaseVNode("h2",{id:h(m),class:"statement w-3/4 text-center sm:w-2/3 xl:w-1/2",style:normalizeStyle({color:m.textColor.color})},toDisplayString(m.statement),13,_hoisted_2$n)],4))),128))])],4)}}}),_hoisted_1$u=["id"],_hoisted_2$m=["id"],_hoisted_3$j={class:"absolute left-0 right-0 top-0 z-10 flex h-screen flex-col items-center justify-center"},_hoisted_4$h=["id"],_sfc_main$w=defineComponent({__name:"StatementModule",props:{blok:{type:Object,required:!0}},setup(t){const{requireIndicatorOnIntersection:e}=useScrollingIndicator(),r=t;computed(()=>{var a;return((a=r.blok.frames)==null?void 0:a.length)??0});const i=computed(()=>"frame-animation-"+r.blok._uid),n=computed(()=>"statement-"+r.blok._uid),s=computed(()=>"scroll-container-"+r.blok._uid);return onMounted(()=>
33{e(s.value),gsapWithCSS.registerPlugin(ScrollTrigger),gsapWithCSS.to("#"+i.value,{backgroundColor:r.blok.toBackgroundColor.color,scrollTrigger:{trigger:"#"+n.value,endTrigger:"#"+s.value,pin:!0,start:"center center",end:"bottom bottom",scrub:!0,invalidateOnRefresh:!0},ease:"none"})}),(a,o)=>(openBlock(),createElementBlock("section",{id:unref(s),class:"relative h-[150vh] md:h-[200vh]"},[createBaseVNode("div",{id:unref(i),class:"sticky top-0 h-screen w-full overflow-hidden",style:normalizeStyle({backgroundColor:t.blok.fromBackgroundColor.color})},null,12,_hoisted_2$m),createBaseVNode("div",_hoisted_3$j,[createBaseVNode("h1",{id:unref(n),class:"statement w-3/4 text-center sm:w-2/3 xl:w-1/2",style:normalizeStyle({color:t.blok.textColor.color})},toDisplayString(t.blok.statement),13,_hoisted_4$h)])],8,_hoisted_1$u))}}),_hoisted_1$t=["id"],_hoisted_2$l=["id"],_hoisted_3$i={class:"absolute left-0 right-0 top-0 z-10"},_hoisted_4$g=["id"],_sfc_main$v=defineComponent({__name:"StatementGroupModule",props:{blok:{type:Object,required:!0}},setup(t){const{requireIndicatorOnIntersection:e}=useScrollingIndicator(),r=t,i=computed(()=>"frame-animation-"+r.blok._uid),n=a=>`statement-${r.blok._uid}-${a}`,s=computed(()=>"scroll-container-"+r.blok._uid);return onMounted(()=>
33{e(s.value),gsapWithCSS.registerPlugin(ScrollTrigger),gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+n(0),endTrigger:"#"+s.value,start:"center center",end:"bottom bottom",scrub:!0,invalidateOnRefresh:!0},ease:"none"}).to(`#${i.value}`,{backgroundColor:r.blok.toBackgroundColor.color});for(let a=0;a<r.blok.statements.items.length;a++){const o=r.blok.statements.items[a+1];gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+n(a),endTrigger:"#"+(o?n(a+1):s.value),pin:!0,start:"center center",end:o?"top 80%":"bottom bottom",scrub:!0,invalidateOnRefresh:!0}}),a!==0&&gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+n(a),start:"top 90%",end:"center center",scrub:!0},ease:"none",invalidateOnRefresh:!0}).fromTo("#"+n(a),{alpha:0,scale:.9},{alpha:1,scale:1})}}),(a,o)=>(openBlock(),createElementBlock("section",{id:unref(s),class:"relative",style:normalizeStyle({height:t.blok.statements.items.length+1+"00vh"})},[createBaseVNode("div",{id:unref(i),class:"sticky top-0 h-screen w-full overflow-hidden",style:normalizeStyle({backgroundColor:t.blok.fromBackgroundColor.color})},null,12,_hoisted_2$l),createBaseVNode("div",_hoisted_3$i,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.statements.items,(l,h)=>(openBlock(),createElementBlock("div",{key:l,class:"flex h-screen flex-col items-center justify-center"},[createBaseVNode("h1",{id:n(h),class:"statement w-3/4 text-center sm:w-2/3 xl:w-1/2",style:normalizeStyle({color:t.blok.textColor.color})},toDisplayString(l),13,_hoisted_4$g)]))),128))])],12,_hoisted_1$t))}}),_hoisted_1$s={class:"my-container container"},_sfc_main$u=defineComponent({__name:"RichtextModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$L;return openBlock(),createElementBlock("section",_hoisted_1$s,[createVNode(i,{blok:t.blok.content},null,8,["blok"])])}}}),_withScopeId$1=t=>(pushScopeId("data-v-64c3ad45"),t=t(),popScopeId(),t),_hoisted_1$r={class:"py-container bg-white-600/40"},_hoisted_2$k={class:"container flex flex-col-reverse justify-between gap-9 md:flex-row md:gap-14 lg:gap-[4.5rem]"},_hoisted_3$h={class:"mt-8"},_hoisted_4$f={class:"sm:col-span-2"},_hoisted_5$9={for:"name",class:"font-normal"},_hoisted_6$5={class:"mt-1"},_hoisted_7$4={class:"sm:col-span-2"},_hoisted_8$4={for:"organisation",class:"font-normal"},_hoisted_9$4={class:"mt-1"},_hoisted_10$2={class:"sm:col-span-2"},_hoisted_11$1={for:"email",class:"font-normal"},_hoisted_12={class:"mt-1"},_hoisted_13={class:"sm:col-span-2"},_hoisted_14=_withScopeId$1(()=>createBaseVNode("label",{for:"phone",class:"font-normal"},"Phone *",-1)),_hoisted_15={class:"mt-1"},_hoisted_16={class:"sm:col-span-2"},_hoisted_17={class:"flex justify-between"},_hoisted_18={for:"message",class:"font-normal"},_hoisted_19={class:"mt-1"},_hoisted_20=["placeholder"],_hoisted_21={class:"flex items-center gap-4 sm:col-span-2"},_hoisted_22={for:"checkbox",class:"font-normal"},_hoisted_23={class:"mt-4 sm:col-span-2"},_sfc_main$t=defineComponent({__name:"ContactFormModule",props:{blok:{}},setup(t){useSettingsStore();const e=useState("privacy-checked",()=>!1),r=useState("form-submit",()=>!1),i=reactive({name:"",organisation:"",email:"",message:"",phone:""}),n=()=>{var c;if(!(window!=null&&window.dataLayer))return;const[o,...l]=i.name.split(" "),h=l.join(" ");(c=window.dataLayer)==null||c.push({event:"hubspot-form-submit","hs-form-guid":"contactus","hs-form-email":i.email,"hs-form-phone":i.phone,"hs-form-country":"","hs-form-first-name":o,"hs-form-last-name":h,"hs-form-company-name":i.organisation,"hs-form-postcode":"","hs-form-city":""})},s=o=>Object.keys(o).map(l=>`${encodeURIComponent(l)}=${encodeURIComponent(o[l])}`).join("&"),a=()=>{document.getElementById("contactus").reportValidity()&&(r.value=!0,n(),fetch("/contact-form",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:s({"form-name":"contactus",...i})}).then(()=>r.value=!0).catch(o=>console.log("Error: %s",o)))};return(o,l)=>{const h=_sfc_main$F,c=_sfc_main$L,d=_sfc_main$M;return openBlock(),createElementBlock("section",_hoisted_1$r,[createBaseVNode("div",_hoisted_2$k,[createBaseVNode("div",null,[createVNode(h,{topline:o.blok.topline,title:o.blok.title,text:o.blok.text,class:"border-b border-b-gray-separator pb-8 md:max-w-xl lg:max-w-2xl"},null,8,["topline","title","text"]),createBaseVNode("div",_hoisted_3$h,[unref(r)?(openBlock(),createBlock(c,{key:1,blok:o.blok.submittedText},null,8,["blok"])):(openBlock(),createElementBlock("form",{key:0,id:"contactus",name:"contactus",class:"grid max-w-2xl grid-cols-1 gap-y-4 sm:grid-cols-2 sm:gap-x-8 md:gap-y-6",onSubmit:withModifiers(a,["prevent"])},[createBaseVNode("div",_hoisted_4$f,[createBaseVNode("label",_hoisted_5$9,toDisplayString(o.$t("contact.name"))+" *",1),createBaseVNode("div",_hoisted_6$5,[withDirectives(createBaseVNode("input",{id:"name","onUpdate:modelValue":l[0]||(l[0]=f=>unref(i).name=f),name:"name",required:"",type:"name",autocomplete:"name",class:"input-field"},null,512),[[vModelText,unref(i).name]])])]),createBaseVNode("div",_hoisted_7$4,[createBaseVNode("label",_hoisted_8$4,toDisplayString(o.$t("contact.organization"))+" *",1),createBaseVNode("div",_hoisted_9$4,[withDirectives(createBaseVNode("input",{id:"organisation","onUpdate:modelValue":l[1]||(l[1]=f=>unref(i).organisation=f),name:"organisation",required:"",type:"text",autocomplete:"organisation",class:"input-field"},null,512),[[vModelText,unref(i).organisation]])])]),createBaseVNode("div",_hoisted_10$2,[createBaseVNode("label",_hoisted_11$1,toDisplayString(o.$t("contact.mail"))+" *",1),createBaseVNode("div",_hoisted_12,[withDirectives(createBaseVNode("input",{id:"email","onUpdate:modelValue":l[2]||(l[2]=f=>unref(i).email=f),name:"email",required:"",type:"email",autocomplete:"email",class:"input-field"},null,512),[[vModelText,unref(i).email]])])]),createBaseVNode("div",_hoisted_13,[_hoisted_14,createBaseVNode("div",_hoisted_15,[withDirectives(createBaseVNode("input",{id:"phone","onUpdate:modelValue":l[3]||(l[3]=f=>unref(i).phone=f),name:"phone",required:"",type:"text",autocomplete:"phone",class:"input-field"},null,512),[[vModelText,unref(i).phone]])])]),createBaseVNode("div",_hoisted_16,[createBaseVNode("div",_hoisted_17,[createBaseVNode("label",_hoisted_18,toDisplayString(o.$t("contact.message"))+" *",1)]),createBaseVNode("div",_hoisted_19,[withDirectives(createBaseVNode("textarea",{id:"message","onUpdate:modelValue":l[4]||(l[4]=f=>unref(i).message=f),name:"message",required:"",placeholder:o.$t("contact.messagePlaceholder"),"aria-describedby":"message-description",rows:"4",class:"input-field min-h-[4rem]"},null,8,_hoisted_20),[[vModelText,unref(i).message]])])]),createBaseVNode("div",_hoisted_21,[withDirectives(createBaseVNode("input",{id:"checkbox","onUpdate:modelValue":l[5]||(l[5]=f=>isRef(e)?e.value=f:null),required:"",type:"checkbox",class:"shrink-0 accent-primary"},null,512),[[vModelCheckbox,unref(e)]]),createBaseVNode("label",_hoisted_22,[createVNode(c,{blok:o.blok.privacyLabel},null,8,["blok"])])]),createBaseVNode("div",_hoisted_23,[createBaseVNode("button",{class:"button primary inline-block w-full md:w-auto",onClick:a},toDisplayString(o.blok.submitButtonText),1)])],32))])]),createVNode(d,{class:"sticky top-24 mb-auto ml-auto w-1/3 md:top-14 lg:w-96",blok:o.blok.video[0],preload:"auto"},null,8,["blok"])])])}}}),ContactFormModule=_export_sfc(_sfc_main$t,[["__scopeId","data-v-64c3ad45"]]),_hoisted_1$q={class:"my-container container"},_hoisted_2$j={class:"relative flex flex-col gap-4 border-b border-b-gray-dark pb-5 md:flex-row md:gap-12 md:pb-9 lg:gap-14 lg:pb-14 xl:gap-[4.5rem]"},_hoisted_3$g={class:"my-2 lg:my-4 xl:my-6"},_hoisted_4$e={class:"secondary-topline"},_hoisted_5$8={class:"secondary-title mb-2 md:mb-3 lg:mb-4"},_sfc_main$s=defineComponent({__name:"EmployeeModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{var a,o,l,h,c,d,f,u;const i=_sfc_main$K,n=_sfc_main$L,s=_sfc_main$J;return openBlock(),createElementBlock("section",_hoisted_1$q,[createBaseVNode("div",_hoisted_2$j,[(h=(l=(o=(a=t.blok)==null?void 0:a.employee)==null?void 0:o.content)==null?void 0:l.image)!=null&&h.filename?(openBlock(),createBlock(i,{key:0,src:t.blok.employee.content.image,sizes:"224,288,384",class:"aspect-square h-56 w-56 rounded-2xl object-cover md:sticky md:top-9 lg:h-72 lg:w-72 xl:h-96 xl:w-96"},null,8,["src"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$g,[createBaseVNode("p",_hoisted_4$e,toDisplayString(t.blok.employee.content.position),1),createBaseVNode("p",_hoisted_5$8,toDisplayString(`${t.blok.employee.content.firstname} ${t.blok.employee.content.lastname}`),1),(f=(d=(c=t.blok)==null?void 0:c.employee)==null?void 0:d.content)!=null&&f.about?(openBlock(),createBlock(n,{key:0,blok:t.blok.employee.content.about},null,8,["blok"])):createCommentVNode("",!0),(u=t.blok.cta)!=null&&u.length?(openBlock(),createBlock(s,{key:1,blok:t.blok.cta[0],class:"mt-4 inline-block"},null,8,["blok"])):createCommentVNode("",!0)])])])}}}),_hoisted_1$p={class:"text-center"},_hoisted_2$i={class:"my-2 lg:my-4 xl:my-6"},_hoisted_3$f={class:"highlight"},_hoisted_4$d={class:"tertiary-title"},_sfc_main$r=defineComponent({__name:"Employee",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$K;return openBlock(),createElementBlock("div",_hoisted_1$p,[createVNode(i,{src:t.blok.content.image,sizes:"224,288,384",height:"384",class:"aspect-square w-full rounded-2xl object-cover"},null,8,["src"]),createBaseVNode("div",_hoisted_2$i,[createBaseVNode("p",_hoisted_3$f,toDisplayString(t.blok.content.position),1),createBaseVNode("p",_hoisted_4$d,toDisplayString(`${t.blok.content.firstname} ${t.blok.content.lastname}`),1)])])}}}),_hoisted_1$o={class:"my-container container"},_hoisted_2$h={key:0,class:"primary-topline"},_hoisted_3$e={key:1,class:"mb-5 md:mb-9 lg:mb-14"},_hoisted_4$c={class:"grid gap-4 sm:grid-cols-2 md:gap-5 lg:grid-cols-3 lg:gap-9 xl:grid-cols-4"},_sfc_main$q=defineComponent({__name:"EmployeeGridModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$r;return openBlock(),createElementBlock("section",_hoisted_1$o,[t.blok.topline?(openBlock(),createElementBlock("p",_hoisted_2$h,toDisplayString(t.blok.topline),1)):createCommentVNode("",!0),t.blok.title?(openBlock(),createElementBlock("h1",_hoisted_3$e,toDisplayString(t.blok.title),1)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_4$c,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.employees,n=>(openBlock(),createBlock(i,{key:n.uuid,blok:n},null,8,["blok"]))),128))])])}}}),_hoisted_1$n={class:"mx-auto max-w-lg px-5 md:max-w-none md:px-14 lg:max-w-sm 2xl:max-w-lg"},_hoisted_2$g={class:"text-center md:text-left lg:text-center xl:text-left"},_hoisted_3$d={class:"secondary-topline"},_hoisted_4$b={class:"brand-bullets mt-9 space-y-4"},_hoisted_5$7={class:"flex justify-center md:justify-start"},_sfc_main$p=defineComponent({__name:"Card",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{var s,a,o;const i=_sfc_main$K,n=_sfc_main$J;return openBlock(),createElementBlock("div",{class:normalizeClass(["py-container lg:rou
33nded-2xl",[t.blok.backgroundColor==="blue"?"bg-secondary-dark text-white":"bg-gray-light text-label"]])},[createBaseVNode("div",_hoisted_1$n,[createVNode(i,{width:"150",height:"150",src:t.blok.icon,class:"mx-auto mb-9 h-24 w-24 md:mx-0 md:mb-12 md:h-[9.375rem] md:w-[9.375rem] lg:mx-auto lg:mb-16 xl:mx-0"},null,8,["src"]),createBaseVNode("div",_hoisted_2$g,[createBaseVNode("p",_hoisted_3$d,toDisplayString(t.blok.title),1),createBaseVNode("h2",null,toDisplayString(t.blok.subline),1)]),createBaseVNode("ul",_hoisted_4$b,[(openBlock(!0),createElementBlock(Fragment,null,renderList((s=t.blok.list)==null?void 0:s.items,l=>(openBlock(),createElementBlock("li",{key:l},toDisplayString(l),1))),128))]),createBaseVNode("div",_hoisted_5$7,[(o=(a=t.blok)==null?void 0:a.callToAction)!=null&&o.length?(openBlock(),createBlock(n,{key:0,blok:t.blok.callToAction[0],class:"mt-9 inline-block w-full sm:w-auto md:mt-14 lg:w-full"},null,8,["blok"])):createCommentVNode("",!0)])])],2)}}}),_hoisted_1$m={class:"my-container"},_hoisted_2$f={class:"grid gap-0 lg:container lg:grid-cols-2 lg:gap-9"},_sfc_main$o=defineComponent({__name:"CardsModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$F,n=_sfc_main$p;return openBlock(),createElementBlock("section",_hoisted_1$m,[createVNode(i,{class:"container mb-9 text-center md:mb-14 lg:mb-[4.5rem] lg:text-left",title:t.blok.title,topline:t.blok.topline},null,8,["title","topline"]),createBaseVNode("div",_hoisted_2$f,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.cards,s=>(openBlock(),createBlock(n,{key:s._uid,class:"shrink",blok:s},null,8,["blok"]))),128))])])}}}),_hoisted_1$l={class:"primary-topline"},_sfc_main$n=defineComponent({__name:"StyledHeadline",props:{topline:{type:String,required:!0},title:{type:String,default:""},centeredOnMobile:{type:Boolean,default:!0},alwaysCentered:{type:Boolean,default:!1}},setup(t){return(e,r)=>(openBlock(),createElementBlock("div",{class:normalizeClass(["mb-9 md:mb-14 lg:mb-[4.5rem]",[t.alwaysCentered?"text-center":t.centeredOnMobile?"text-center lg:text-left":""]])},[createBaseVNode("p",_hoisted_1$l,toDisplayString(t.topline),1),createBaseVNode("h1",null,[renderSlot(e.$slots,"default",{},()=>[createTextVNode(toDisplayString(t.title),1)])])],2))}}),_hoisted_1$k={class:"secondary-topline"},_hoisted_2$e={class:"secondary-title"},_hoisted_3$c={class:"mt-5"},_sfc_main$m=defineComponent({__name:"LinkCard",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$J;return openBlock(),createElementBlock("div",{class:normalizeClass(["rounded-2xl border px-9 py-8 text-center lg:px-14 lg:py-12 lg:text-left",[t.blok.highlight?"border-transparent bg-secondary-dark text-white":"border-gray-dark bg-transparent text-label"]])},[createBaseVNode("p",_hoisted_1$k,toDisplayString(t.blok.topline),1),createBaseVNode("p",_hoisted_2$e,toDisplayString(t.blok.title),1),createBaseVNode("p",_hoisted_3$c,toDisplayString(t.blok.description),1),t.blok.callToAction.length?(openBlock(),createBlock(i,{key:0,blok:t.blok.callToAction[0],class:"primary mt-9 inline-block"},null,8,["blok"])):createCommentVNode("",!0)],2)}}}),_hoisted_1$j={class:"bg-primary p-4 text-secondary-dark hover:bg-primary-dark disabled:bg-gray-dark"},_sfc_main$l=defineComponent({__name:"PagingButton",props:{forward:{type:Boolean,required:!0}},setup(t){return(e,r)=>(openBlock(),createElementBlock("button",_hoisted_1$j,[createBaseVNode("div",{class:normalizeClass(["h-0 w-0 border-y-[0.5rem] border-y-transparent",[t.forward?"border-l-[15px] border-l-label":"border-r-[15px] border-r-label"]])},null,2)]))}}),_hoisted_1$i={class:"my-container container"},_hoisted_2$d={class:"relative"},_sfc_main$k=defineComponent({__name:"CardSliderModule",props:{blok:{type:Object,required:!0}},setup(t){const e=t,r={nextEl:`.logo-swiper-button-next-${e.blok._uid}`,prevEl:`.logo-swiper-button-prev-${e.blok._uid}`},i={1280:{slidesPerView:3,spaceBetween:36},768:{slidesPerView:2,spaceBetween:20}};return(n,s)=>{const a=_sfc_main$n,o=_sfc_main$m,l=SwiperSlide,h=Swiper,c=_sfc_main$l;return openBlock(),createElementBlock("section",_hoisted_1$i,[createVNode(a,{topline:t.blok.topline,title:t.blok.title},null,8,["topline","title"]),createBaseVNode("div",_hoisted_2$d,[createVNode(h,{"slides-per-view":1,modules:["
33SwiperNavigation"in n?n.SwiperNavigation:unref(Navigation)],"space-between":16,breakpoints:i,navigation:r},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.linkCards,d=>(openBlock(),createBlock(l,{key:d._uid},{default:withCtx(()=>[createVNode(o,{blok:d,class:"mb-auto"},null,8,["blok"])]),_:2},1024))),128))]),_:1},8,["modules"]),createVNode(c,{class:normalizeClass(["absolute left-0 top-9 z-10 -translate-x-1/4 md:top-14",r.prevEl.substring(1)]),"aria-label":"previous slide",forward:!1},null,8,["class"]),createVNode(c,{class:normalizeClass(["absolute right-0 top-9 z-10 translate-x-1/4 md:top-14",r.nextEl.substring(1)]),"aria-label":"next slide",forward:!0},null,8,["class"])])])}}}),_hoisted_1$h={class:"rounded-2xl bg-gray-light"},_hoisted_2$c={class:"relative"},_hoisted_3$b=["controls","muted","autoplay","preload"],_hoisted_4$a=["src"],_sfc_main$j=defineComponent({__name:"ExternalVideo",props:{keyId:{type:String,required:!1,default:"0"},src:{type:String,required:!0},autoplay:{type:Boolean,default:!1},muted:{type:Boolean,default:!1},preload:{type:String,default:"none"}},setup(t){const e=t,r=useState(`${e==null?void 0:e.src}-show-controls`,()=>!1),i=useState(`${e==null?void 0:e.src}-is-playing-${e==null?void 0:e.keyId}`,()=>e.muted&&e.autoplay),n=ref(null),s=()=>{i.value=!i.value,i.value?o():a()},a=()=>{n.value&&(r.value=!1,n.value.pause())},o=()=>{n.value&&(n.value.play(),n.value.muted=!1,r.value=!0)};return(l,h)=>(openBlock(),createElementBlock("div",_hoisted_1$h,[createBaseVNode("div",_hoisted_2$c,[t.src?(openBlock(),createElementBlock("video",{key:0,ref_key:"externalVideo",ref:n,controls:unref(r),class:"h-full w-full rounded-2xl",muted:t.muted,autoplay:t.autoplay,preload:t.preload,onMouseenter:h[0]||(h[0]=c=>r.value=!0),onMouseleave:h[1]||(h[1]=c=>r.value=!1)},[createBaseVNode("source",{src:t.src},null,8,_hoisted_4$a)],40,_hoisted_3$b)):createCommentVNode("",!0),unref(i)?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:1,class:"searching absolute inset-0 grid h-full w-full place-items-center",onClick:s},[createVNode(unref(PlayIcon),{class:"z-20 h-14 w-14 cursor-pointer text-primary"})]))])]))}}),_sfc_main$i=defineComponent({__name:"StoryblokVideo",props:{blok:{type:Object,required:!0},autoplay:{type:Boolean,default:!1},muted:{type:Boolean,default:!1}},setup(t){return(e,r)=>{var n,s,a,o,l;const i=_sfc_main$j;return(s=(n=t.blok)==null?void 0:n.content)!=null&&s.filename?(openBlock(),createBlock(i,{key:0,src:(o=(a=t.blok)==null?void 0:a.content)==null?void 0:o.filename,"key-id":(l=t.blok)==null?void 0:l._uid,autoplay:t.autoplay,muted:t.muted},null,8,["src","key-id","autoplay","muted"])):createCommentVNode("",!0)}}}),_hoisted_1$g={class:"my-container container"},_hoisted_2$b={key:0,class:"mx-auto mb-[4.5rem] text-center"},_hoisted_3$a={class:"primary-topline"},_hoisted_4$9={class:"grid grid-cols-2 gap-4 md:gap-5 lg:gap-9"},_hoisted_5$6={class:"mx-2 mt-3 flex items-center gap-2"},_sfc_main$h=defineComponent({__name:"VideoGridModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$i,n=_sfc_main$j;return openBlock(),createElementBlock("section",_hoisted_1$g,[t.blok.topline||t.blok.title?(openBlock(),createElementBlock("div",_hoisted_2$b,[createBaseVNode("p",_hoisted_3$a,toDisplayString(t.blok.topline),1),createBaseVNode("h1",null,toDisplayString(t.blok.title),1)])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_4$9,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.videos,s=>(openBlock(),createElementBlock("div",{key:s._uid},[s.component==="storyblok-video"?(openBlock(),createBlock(i,{key:0,blok:s},null,8,["blok"])):createCommentVNode("",!0),s.component==="video"?(openBlock(),createBlock(n,{key:1,src:s.url},null,8,["src"])):createCommentVNode("",!0),createBaseVNode("span",_hoisted_5$6,[createVNode(unref(PlayIcon),{class:"h-4 w-4"}),createBaseVNode("p",null,toDisplayString(s.title),1)])]))),128))])])}}}),_hoisted_1$f={class:"my-container container"},_sfc_main$g=defineComponent({__name:"IframeContainerModule",props:{blok:{}},setup(t){return(e,r)=>{const i=_sfc_main$n,n=_sfc_main$N;return openBlock(),createElementBlock("section",_hoisted_1$f,[createVNode(i,{topline:e.blok.topline,title:e.blok.title},null,8,["topline","title"]),createVNode(n,{"placeholder-image":e.blok.placeholderImage,"ask-for-third-party-content-loading-consent":e.blok.askForThirdPartyContentLoadingConsent,source:e.blok.source,"i-frame-classes":"h-full"},null,8,["placeholder-image","ask-for-third-party-content-loading-consent","source"])])}}}),_hoisted_1$e={class:"my-container container"},_sfc_main$f=defineComponent({__name:"IframeInfoSectionModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{var s;const i=_sfc_main$F,n=_sfc_main$N;return openBlock(),createElementBlock("section",_hoisted_1$e,[createBaseVNode("div",{class:normalizeClass(["relative flex flex-col items-start justify-between gap-9 lg:gap-14 xl:gap-20",[t.blok.iFrameAlignment==="right"?"xl:flex-row":"xl:flex-row-reverse"]])},[createVNode(i,{topline:t.blok.topline,title:t.blok.title,"key-infos":t.blok.keyInfos,text:t.blok.text,"primary-button":t.blok.primaryButton,"secondary-button":t.blok.secondaryButton,class:"w-full md:max-w-lg lg:max-w-xl"},null,8,["topline","title","key-infos","text","primary-button","secondary-button"]),(s=t.blok.iFrame)!=null&&s.length?(openBlock(),createBlock(n,{key:0,"placeholder-image":t.blok.iFrame[0].placeholderImage,"ask-for-third-party-content-loading-consent":t.blok.iFrame[0].askForThirdPartyContentLoadingConsent,source:t.blok.iFrame[0].source,class:"sticky top-5 ml-auto aspect-[16/9] w-full rounded-2xl xl:w-[40rem] 2xl:w-[50rem]","i-frame-classes":"aspect-[16/9] rounded-2xl","add-bottom-padding":!1},null,8,["placeholder-image","ask-for-third-party-content-loading-consent","source"])):createCommentVNode("",!0)],2)])}}}),_hoisted_1$d={class:"my-container mx-auto w-full max-w-[120rem]"},_hoisted_2$a={class:"relative"},_hoisted_3$9={class:"hidden leading-[5rem] md:block"},_hoisted_4$8={class:"md:hidden"},_sfc_main$e=defineComponent({__name:"BigVideoSliderModule",props:{blok:{type:Object,required:!0}},setup(t){const e=ref(),r=ref(),i=t;onMounted(()=>{e.value.length>0&&r.value&&document.documentElement.style.setProperty("--top-wb-value",`${e.value[0].getBoundingClientRect().height}px`)});const n={nextEl:`.logo-swiper-button-next-${i.blok._uid}`,prevEl:`.logo-swiper-button-prev-${i.blok._uid}`};return(s,a)=>{const o=_sfc_main$n,l=_sfc_main$i,h=_sfc_main$j,c=SwiperSlide,d=_sfc_main$l,f=Swiper;return openBlock(),createElementBlock("section",_hoisted_1$d,[createVNode(o,{topline:t.blok.topline,title:t.blok.title,class:"container text-center","always-centered":""},null,8,["topline","title"]),createBaseVNode("div",_hoisted_2$a,[createVNode(f,{modules:["
33SwiperNavigation"in s?s.SwiperNavigation:unref(Navigation)],navigation:n,"centered-slides":"",loop:"","slides-per-view":"auto","space-between":"{10}",breakpoints:{320:{slidesPerView:1.2,spaceBetween:10},640:{slidesPerView:1.2,spaceBetween:10},768:{slidesPerView:1.5,spaceBetween:20},1024:{slidesPerView:1.5,spaceBetween:40}}},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.slides,u=>(openBlock(),createBlock(c,{key:u._uid,class:"my-auto"},{default:withCtx(()=>[u.component==="storyblok-video"?(openBlock(),createBlock(l,{key:0,blok:u},null,8,["blok"])):createCommentVNode("",!0),u.component==="video"?(openBlock(),createBlock(h,{key:1,"key-id":u._uid,src:u.url,autoplay:"",muted:""},null,8,["key-id","src"])):createCommentVNode("",!0),createBaseVNode("div",{ref_for:!0,ref_key:"textReference",ref:e,class:"mx-2 flex items-center gap-2 pt-2 md:w-full md:justify-center md:pt-4 xl:pt-5"},[createVNode(unref(PlayIcon),{class:"h-4 w-4 md:hidden"}),createBaseVNode("h2",_hoisted_3$9,toDisplayString(u.title),1),createBaseVNode("p",_hoisted_4$8,toDisplayString(u.title),1)],512)]),_:2},1024))),128)),createBaseVNode("div",{ref_key:"pagingButton",ref:r,class:"top-calc invisible absolute left-[13%] z-10 -translate-y-1/2 md:visible"},[createVNode(d,{class:normalizeClass(n.prevEl.substring(1)),"aria-label":s.$t("ariaLabel.previousSlide")||"Previous Slide",forward:!1},null,8,["class","aria-label"])],512),createBaseVNode("div",{ref_key:"pagingButton",ref:r,class:"top-calc invisible absolute right-[13%] z-10 -translate-y-1/2 md:visible"},[createVNode(d,{class:normalizeClass(n.nextEl.substring(1)),"aria-label":s.$t("ariaLabel.nextSlide")||"Next Slide",forward:!0},null,8,["class","aria-label"])],512)]),_:1},8,["modules"])])])}}}),_hoisted_1$c={class:"my-container container"},_sfc_main$d=defineComponent({__name:"StatementBoxModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{var s,a,o;const i=_sfc_main$K,n=_sfc_main$L;return openBlock(),createElementBlock("section",_hoisted_1$c,[createBaseVNode("div",{class:normalizeClass(["py-container rounded-2xl",{"border-2 border-gray-light":t.blok.style==="bordered","bg-gray-light":t.blok.style==="gray","bg-secondary-dark text-white":t.blok.style==="blue"}])},[(a=(s=t.blok)==null?void 0:s.icon)!=null&&a.filename?(openBlock(),createBlock(i,{key:0,src:t.blok.icon,class:"mx-auto mb-7 w-28 md:mb-8 lg:mb-9 lg:w-32",sizes:"112,112,128"},null,8,["src"])):createCommentVNode("",!0),(o=t.blok)!=null&&o.statement?(openBlock(),createBlock(n,{key:1,blok:t.blok.statement,class:"secondary-title mx-auto px-5 text-center md:max-w-lg lg:max-w-xl xl:max-w-2xl"},null,8,["blok"])):createCommentVNode("",!0)],2)])}}}),_hoisted_1$b={class:"my-container"},_hoisted_2$9={class:"relative"},_hoisted_3$8={class:"mx-2 mt-2 flex items-center gap-2 md:mt-4"},_hoisted_4$7={class:"container hidden justify-end md:flex"},_hoisted_5$5={class:"relative flex gap-2 md:top-14"},_sfc_main$c=defineComponent({__name:"CompactVideoSliderModule",props:{blok:{type:Object,required:!0}},setup(t){const e=ref(),r=t,i=useState("isLooping",()=>!1),n={nextEl:`.logo-swiper-button-next-${r.blok._uid}`,prevEl:`.logo-swiper-button-prev-${r.blok._uid}`};r.blok.slides.length>8&&(i.value=!i.value);const s=computed(()=>{let l=20;return e.value>=1536?l=(e.value-1536)/2+80:e.value>=1280?l=(e.value-1280)/2+80:e.value>=1024?l=(e.value-1024)/2+80:e.value>=768?l=(e.value-768)/2+56:e.value>=640&&(l=(e.value-640)/2+56),l}),a=computed(()=>({320:{slidesPerView:1.2,spaceBetween:10},640:{slidesPerView:1.5,spaceBetween:10},768:{slidesPerView:1.8,spaceBetween:20},1024:{slidesPerView:2,spaceBetween:36},1280:{slidesPerView:2.5,spaceBetween:36},1536:{slidesPerView:3.5,spaceBetween:36}})),o=()=>{e.value=window.innerWidth};return onMounted(()=>{e.value=window.innerWidth,window.addEventListener("resize",o)}),onUnmounted(()=>{window.removeEventListener("resize",o)}),(l,h)=>{const c=_sfc_main$n,d=_sfc_main$i,f=_sfc_main$j,u=SwiperSlide,m=Swiper,p=_sfc_main$l;return openBlock(),createElementBlock("section",_hoisted_1$b,[createVNode(c,{topline:t.blok.topline,title:t.blok.title,class:"container text-left","centered-on-mobile":!1},null,8,["topline","title"]),createBaseVNode("div",_hoisted_2$9,[createVNode(m,{modules:["
33SwiperNavigation"in l?l.SwiperNavigation:unref(Navigation)],navigation:n,loop:unref(i),"slides-per-view":"auto","space-between":"{10}","slides-offset-before":unref(s),"slides-offset-after":unref(s),breakpoints:unref(a)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.slides,x=>(openBlock(),createBlock(u,{key:x._uid},{default:withCtx(()=>[x.component==="storyblok-video"?(openBlock(),createBlock(d,{key:0,blok:x},null,8,["blok"])):createCommentVNode("",!0),x.component==="video"?(openBlock(),createBlock(f,{key:1,src:x.url,"user-initiated":!1},null,8,["src"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$8,[createVNode(unref(PlayIcon),{class:"h-4 w-4"}),createBaseVNode("p",null,toDisplayString(x.title),1)])]),_:2},1024))),128))]),_:1},8,["modules","loop","slides-offset-before","slides-offset-after","breakpoints"]),createBaseVNode("div",_hoisted_4$7,[createBaseVNode("div",_hoisted_5$5,[createVNode(p,{class:normalizeClass(n.prevEl.substring(1)),"aria-label":"previous slide",forward:!1},null,8,["class"]),createVNode(p,{class:normalizeClass(n.nextEl.substring(1)),"aria-label":"next slide",forward:!0},null,8,["class"])])])])])}}}),_hoisted_1$a={class:"my-container container"},_hoisted_2$8={key:0,class:"mt-3 text-center sm:mt-4 md:mt-5 lg:mt-6"},_hoisted_3$7={key:0},_hoisted_4$6={key:1,class:"italic text-secondary-light"},_sfc_main$b=defineComponent({__name:"ImageModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{const i=_sfc_main$K;return openBlock(),createElementBlock("section",_hoisted_1$a,[createVNode(i,{src:t.blok.image,class:"w-full rounded-2xl",sizes:"640,768,1024,1280,1536","calculate-height":""},null,8,["src"]),t.blok.title||t.blok.description?(openBlock(),createElementBlock("div",_hoisted_2$8,[t.blok.title?(openBlock(),createElementBlock("h2",_hoisted_3$7,toDisplayString(t.blok.title),1)):createCommentVNode("",!0),t.blok.description?(openBlock(),createElementBlock("p",_hoisted_4$6,toDisplayString(t.blok.description),1)):createCommentVNode("",!0)])):createCommentVNode("",!0)])}}}),_hoisted_1$9={class:"secondary-title mb-1 md:mb-2 lg:mb-3"},_hoisted_2$7={key:0,class:"mb-8 space-y-2"},_hoisted_3$6={key:2,class:"mt-8 flex items-end justify-between lg:mt-10"},_hoisted_4$5={class:"flex gap-4"},_hoisted_5$4={class:"flex gap-4"},_hoisted_6$4={key:0,class:"mt-8 italic text-secondary-light"},_sfc_main$a=defineComponent({__name:"GridUseCase",props:{blok:{type:Object,required:!0}},setup(t){const e=t,r=computed(()=>{var s,a;return(a=(s=e.blok)==null?void 0:s.useCase)==null?void 0:a.content}),i=useState(`selected-customer-${e.blok._uid}`,()=>{var s,a;return(a=(s=r==null?void 0:r.value)==null?void 0:s.customers)==null?void 0:a[0]}),n=computed(()=>parseInt(e.blok.colSpan)>1);return(s,a)=>{var d,f,u,m,p,x,_,y,g;const o=_sfc_main$G,l=_sfc_main$L,h=_sfc_main$K,c=_sfc_main$O;return openBlock(),createElementBlock("div",{class:normalizeClass(["flex justify-between rounded-2xl",{"bg-secondary-dark text-white":t.blok.style==="blue","bg-gray-light":t.blok.style==="gray","flex-col lg:col-span-2 lg:flex-row":t.blok.colSpan==2,"col-span-1 flex-col":t.blok.colSpan==1,"lg:row-span-2":t.blok.rowSpan==2}])},[createBaseVNode("div",{class:normalizeClass(["flex grow flex-col px-10 py-8 lg:px-14 lg:py-10",{"lg:w-1/2":unref(n)}])},[createBaseVNode("p",_hoisted_1$9,toDisplayString(unref(r).title),1),(d=unref(r).keyInfos)!=null&&d.length?(openBlock(),createElementBlock("div",_hoisted_2$7,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).keyInfos,v=>(openBlock(),createBlock(o,{key:v._uid,blok:v},null,8,["blok"]))),128))])):createCommentVNode("",!0),createVNode(l,{blok:unref(r).description},null,8,["blok"]),(f=t.blok.image)!=null&&f.filename?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["mt-auto border-b pt-8",{"border-gray-separator/20":t.blok.style==="blue","border-gray-separator":t.blok.style==="gray"}])},null,2)):createCommentVNode("",!0),(u=t.blok.image)!=null&&u.filename?(openBlock(),createElementBlock("div",_hoisted_3$6,[createBaseVNode("div",_hoisted_4$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).customers,(v,k)=>(openBlock(),createElementBlock(Fragment,{key:v._uid},[v!=null&&v.logo?(openBlock(),createBlock(h,{key:0,src:v.logo,sizes:"80",class:normalizeClass(["w-20",{"curs
33or-pointer opacity-70":unref(i)!==v&&unref(n),"hidden sm:block lg:hidden xl:block":k!==0}]),onClick:P=>i.value=v},null,8,["src","class","onClick"])):createCommentVNode("",!0)],64))),128))]),t.blok.callToActionLabel&&((m=t.blok.image)!=null&&m.filename)?(openBlock(),createBlock(c,{key:0,class:"button-text highlight hover:text-primary-extradark",link:{story:t.blok.useCase}},{default:withCtx(()=>[createTextVNode(toDisplayString(t.blok.callToActionLabel),1)]),_:1},8,["link"])):createCommentVNode("",!0)])):createCommentVNode("",!0)],2),(p=t.blok.image)!=null&&p.filename?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass({"border-gray-separator/20":t.blok.style==="blue","border-gray-separator":t.blok.style==="gray","mx-10 border-b lg:mx-14":!unref(n),"mx-10 border-b border-l-0 lg:mx-0 lg:my-10 lg:border-b-0 lg:border-l":unref(n)})},null,2)),createBaseVNode("div",{class:normalizeClass(["flex flex-col",{"lg:w-1/2 lg:flex-row":unref(n),"h-1/2 lg:h-full":unref(n)&&((x=t.blok.image)==null?void 0:x.filename),"h-1/2":!unref(n)&&((_=t.blok.image)==null?void 0:_.filename)}])},[(y=t.blok.image)!=null&&y.filename?(openBlock(),createBlock(h,{key:0,src:t.blok.image,class:normalizeClass(["h-full w-full rounded-b-2xl object-cover",{"lg:rounded-b-none lg:rounded-r-2xl":unref(n)}]),"calculate-height":"",sizes:"640,768,410,538,666"},null,8,["src","class"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex w-full flex-col px-10 py-8 lg:px-14 lg:py-10",{"lg:flex-row":unref(n)}])},[createBaseVNode("div",{class:normalizeClass(["flex w-full justify-between gap-4",{"items-end":!unref(n),"w-full flex-col":unref(n)}])},[createBaseVNode("div",{class:normalizeClass({"flex flex-col self-start":unref(n)})},[createBaseVNode("div",_hoisted_5$4,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r).customers,(v,k)=>(openBlock(),createElementBlock(Fragment,{key:v._uid},[v!=null&&v.logo?(openBlock(),createBlock(h,{key:0,src:v.logo,sizes:"80",class:normalizeClass(["w-20",{"curs
33or-pointer opacity-70":unref(i)!==v&&unref(n),"hidden sm:block lg:hidden xl:block":k!==0&&!unref(n)}]),onClick:P=>i.value=v},null,8,["src","class","onClick"])):createCommentVNode("",!0)],64))),128))]),(g=unref(i))!=null&&g.testimonial&&unref(n)?(openBlock(),createElementBlock("small",_hoisted_6$4,' "'+toDisplayString(unref(i).testimonial)+'" ',1)):createCommentVNode("",!0)],2),t.blok.callToActionLabel?(openBlock(),createBlock(c,{key:0,class:normalizeClass(["button-text highlight hover:text-primary-extradark",{"self-end":unref(n)}]),link:{story:t.blok.useCase}},{default:withCtx(()=>[createTextVNode(toDisplayString(t.blok.callToActionLabel),1)]),_:1},8,["class","link"])):createCommentVNode("",!0)],2)],2))],2)],2)}}}),_hoisted_1$8={class:"mb-container container"},_hoisted_2$6={key:0,class:"mb-14"},_hoisted_3$5={class:"grid gap-5 lg:grid-cols-2 lg:gap-8"},_sfc_main$9=defineComponent({__name:"UseCasesModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{var a;const i=_sfc_main$i,n=_sfc_main$j,s=_sfc_main$a;return openBlock(),createElementBlock("section",_hoisted_1$8,[(a=t.blok.teaserVideo)!=null&&a.length?(openBlock(),createElementBlock("div",_hoisted_2$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.teaserVideo,o=>(openBlock(),createElementBlock("div",{key:o._uid},[o.component==="storyblok-video"?(openBlock(),createBlock(i,{key:o._uid,blok:o,muted:"",autoplay:""},null,8,["blok"])):o.component==="video"?(openBlock(),createBlock(n,{key:o._uid,src:o.url,muted:"",autoplay:""},null,8,["src"])):createCommentVNode("",!0)]))),128))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$5,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.useCases,o=>(openBlock(),createBlock(s,{key:o._uid,blok:o},null,8,["blok"]))),128))])])}}}),_hoisted_1$7={class:"my-container container"},_hoisted_2$5={class:"mx-auto mb-9 max-w-3xl text-center md:mb-14 lg:mb-20"},_hoisted_3$4={class:"primary-topline"},_hoisted_4$4={key:0,class:"mt-3"},_hoisted_5$3={key:0,class:"mb-14"},_hoisted_6$3={class:"grid gap-5 lg:grid-cols-2 lg:gap-8"},_hoisted_7$3={class:"flex flex-col items-end justify-between gap-6 rounded-2xl bg-secondary-dark px-10 py-8 text-white md:gap-10 lg:col-span-2 lg:gap-14 lg:px-14 lg:py-10 xl:flex-row"},_hoisted_8$3={class:"xl:max-w-xl 2xl:max-w-2xl"},_hoisted_9$3={class:"mb-1 md:mb-2 lg:mb-3"},_sfc_main$8=defineComponent({__name:"UseCasesTeaserModule",props:{blok:{type:Object,required:!0}},setup(t){return(e,r)=>{var o,l;const i=_sfc_main$i,n=_sfc_main$j,s=_sfc_main$a,a=_sfc_main$J;return openBlock(),createElementBlock("section",_hoisted_1$7,[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("p",_hoisted_3$4,toDisplayString(t.blok.topline),1),createBaseVNode("h1",null,toDisplayString(t.blok.title),1),t.blok.description?(openBlock(),createElementBlock("p",_hoisted_4$4,toDisplayString(t.blok.description),1)):createCommentVNode("",!0)]),(o=t.blok.teaserVideo)!=null&&o.length?(openBlock(),createElementBlock("div",_hoisted_5$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.teaserVideo,h=>(openBlock(),createElementBlock("div",{key:h._uid},[h.component==="storyblok-video"?(openBlock(),createBlock(i,{key:h._uid,blok:h,muted:"",autoplay:""},null,8,["blok"])):h.component==="video"?(openBlock(),createBlock(n,{key:h._uid,src:h.url,muted:"",autoplay:""},null,8,["src"])):createCommentVNode("",!0)]))),128))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_6$3,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.featuredUseCases,h=>(openBlock(),createBlock(s,{key:h._uid,blok:h},null,8,["blok"]))),128)),createBaseVNode("div",_hoisted_7$3,[createBaseVNode("div",_hoisted_8$3,[createBaseVNode("h2",_hoisted_9$3,toDisplayString(t.blok.callToActionTitle),1),createBaseVNode("p",null,toDisplayString(t.blok.callToActionDescription),1)]),(l=t.blok.button)!=null&&l[0]?(openBlock(),createBlock(a,{key:0,classes:"primary w-full sm:w-auto",blok:t.blok.button[0]},null,8,["blok"])):createCommentVNode("",!0)])])])}}}),_hoisted_1$6={class:"my-container"},_hoisted_2$4={class:"container"},_hoisted_3$3={class:"primary-topline"},_hoisted_4$3={class:"mb-3 md:mb-4 xl:mb-8"},_hoisted_5$2={class:"mb-8 flex justify-between md:mb-10 xl:mb-20"},_hoisted_6$2={class:"hidden gap-2 md:flex"},_hoisted_7$2={class:"relative"},_hoisted_8$2={key:0,class:"primary-topline text-end text-secondary-light"},_hoisted_9$2={key:1,class:"secondary-title mb-6 text-end text-primary md:mb-8 xl:mb-14"},_sfc_main$7=defineComponent({__name:"CustomerFactsModule",props:{blok:{type:Object,required:!0}},setup(t){const e=ref(),r=t,i=useState(`isLooping-${r.blok._uid}`,()=>!1),n={nextEl:`.logo-swiper-button-next-${r.blok._uid}`,prevEl:`.logo-swiper-button-prev-${r.blok._uid}`},s=computed(()=>{let l=20;return e.value>=1536?l=(e.value-1536)/2+80:e.value>=1280?l=(e.value-1280)/2+80:e.value>=1024?l=(e.value-1024)/2+80:e.value>=768?l=(e.value-768)/2+56:e.value>=640&&(l=(e.value-640)/2+56),l}),a=computed(()=>({320:{slidesPerView:1.2,spaceBetween:10},640:{slidesPerView:1.5,spaceBetween:10},768:{slidesPerView:1.8,spaceBetween:20},1024:{slidesPerView:2,spaceBetween:36},1280:{slidesPerView:3.5,spaceBetween:36},1536:{slidesPerView:4.5,spaceBetween:36}})),o=()=>{e.value=window.innerWidth};return onMounted(()=>{var l,h,c,d,f,u,m,p,x,_;switch(!0){case(((h=(l=r==null?void 0:r.blok)==null?void 0:l.slides)==null?void 0:h.length)>=3&&e.value<=640):i.value=!0;break;case(e.value>=768&&((d=(c=r==null?void 0:r.blok)==null?void 0:c.slides)==null?void 0:d.length)>=4&&e.value<1280):i.value=!0;break;case(e.value>=1280&&((u=(f=r==null?void 0:r.blok)==null?void 0:f.slides)==null?void 0:u.length)>=7&&e.value<1536):i.value=!0;break;case(e.value<=1024&&((p=(m=r==null?void 0:r.blok)==null?void 0:m.slides)==null?void 0:p.length)>=4&&e.value<1536):i.value=!0;break;case(e.value<=1536&&((_=(x=r==null?void 0:r.blok)==null?void 0:x.slides)==null?void 0:_.length)>=9):i.value=!0;break}i.value=!i.value,e.value=window.innerWidth,window.addEventListener("resize",o)}),onUnmounted(()=>{window.removeEventListener("resize",o)}),(l,h)=>{var p,x;const c=_sfc_main$J,d=_sfc_main$l,f=_sfc_main$K,u=SwiperSlide,m=Swiper;return openBlock(),createElementBlock("section",_hoisted_1$6,[createBaseVNode("div",_hoisted_2$4,[createBaseVNode("p",_hoisted_3$3,toDisplayString(t.blok.topline),1),createBaseVNode("h1",_hoisted_4$3,toDisplayString(t.blok.title),1),createBaseVNode("div",_hoisted_5$2,[(x=(p=t.blok)==null?void 0:p.button)!=null&&x.length?(openBlock(),createBlock(c,{key:0,blok:t.blok.button[0]},null,8,["blok"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_6$2,[createVNode(d,{class:normalizeClass([n.prevEl.substring(1),"relative"]),"aria-label":"previous slide",forward:!1},null,8,["class"]),createVNode(d,{class:normalizeClass(n.nextEl.substring(1)),"aria-label":"next slide",forward:!0},null,8,["class"])])])]),createBaseVNode("div",_hoisted_7$2,[createVNode(m,{modules:["
33SwiperNavigation"in l?l.SwiperNavigation:unref(Navigation)],navigation:n,loop:unref(i),"slides-per-view":"auto","space-between":"{10}","slides-offset-before":unref(s),"slides-offset-after":unref(s),breakpoints:unref(a)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.slides,_=>(openBlock(),createBlock(u,{key:_._uid,class:"rounded-3xl border-2 border-gray-light p-8"},{default:withCtx(()=>{var y;return[createBaseVNode("div",{class:normalizeClass({"flex flex-col-reverse text-center":!_.facts&&!_.number})},[_.facts?(openBlock(),createElementBlock("p",_hoisted_8$2,toDisplayString(_.facts),1)):createCommentVNode("",!0),_.number?(openBlock(),createElementBlock("p",_hoisted_9$2,toDisplayString(_.number),1)):createCommentVNode("",!0),_.quote?(openBlock(),createElementBlock("p",{key:2,class:normalizeClass(["max-w-sm text-secondary-light",{"pb-4":_.facts||_.number}])}," â"+toDisplayString(_.quote)+"â ",3)):createCommentVNode("",!0),(y=_==null?void 0:_.logo)!=null&&y.filename?(openBlock(),createBlock(f,{key:3,src:_.logo,class:normalizeClass(["h-14 w-auto",{" mb-2 md:mb-3 xl:mb-4":!_.facts&&!_.number}]),height:"56"},null,8,["src","class"])):createCommentVNode("",!0)],2)]}),_:2},1024))),128))]),_:1},8,["modules","loop","slides-offset-before","slides-offset-after","breakpoints"])])])}}}),_withScopeId=t=>(pushScopeId("data-v-07376b75"),t=t(),popScopeId(),t),_hoisted_1$5={class:"container"},_hoisted_2$3={class:"mt-8"},_hoisted_3$2={class:""},_hoisted_4$2=_withScopeId(()=>createBaseVNode("label",{for:"name",class:"font-normal"},"Ihr Name *",-1)),_hoisted_5$1={class:"mt-1"},_hoisted_6$1={class:""},_hoisted_7$1=_withScopeId(()=>createBaseVNode("label",{for:"email",class:"font-normal"},"E-Mail *",-1)),_hoisted_8$1={class:"mt-1"},_hoisted_9$1={class:"flex items-center gap-4 sm:col-span-2"},_hoisted_10$1={for:"lead-contact-checkbox",class:"font-normal"},_hoisted_11={class:"mt-4 sm:col-span-2"},_sfc_main$6=defineComponent({__name:"LeadContactFormModule",props:{blok:{}},setup(t){const e=t,r=useState("privacy-checked-lead",()=>!1),i=useState("form-submit-lead",()=>!1),n=reactive({name:"",email:""}),s=useRouter(),a=c=>Object.keys(c).map(d=>`${encodeURIComponent(d)}=${encodeURIComponent(c[d])}`).join("&"),o=()=>{var u;if(!(window!=null&&window.dataLayer))return;const[c,...d]=n.name.split(" "),f=d.join(" ");(u=window.dataLayer)==null||u.push({event:"hubspot-form-submit","hs-form-guid":"lead-contact","hs-form-email":n.email,"hs-form-first-name":c,"hs-form-last-name":f})},l=()=>{document.getElementById("lead-contact").reportValidity()&&h().then(()=>{var c,d,f;(d=(c=e.blok)==null?void 0:c.submitButtonDestination)!=null&&d.id?s.push(`/${(f=e.blok)==null?void 0:f.submitButtonDestination.cached_url}`):i.value=!0,o()})},h=()=>fetch("/lead-contact-form",{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:a({"form-name":"lead-contact",...n})}).catch(c=>console.log("Error: %s",c));return(c,d)=>{var m,p;const f=_sfc_main$F,u=_sfc_main$L;return openBlock(),createElementBlock("section",{class:normalizeClass({"py-container bg-secondary-dark text-white":c.blok.style==="blue","py-container bg-gray-light text-label":c.blok.style==="gray","my-container bg-white text-label":c.blok.style==="white"})},[createBaseVNode("div",_hoisted_1$5,[createVNode(f,{title:c.blok.title,text:c.blok.description,topline:c.blok.topline},null,8,["title","text","topline"]),createBaseVNode("div",_hoisted_2$3,[unref(i)?(openBlock(),createBlock(u,{key:1,blok:c.blok.submittedText},null,8,["blok"])):(openBlock(),createElementBlock("form",{key:0,id:"lead-contact",name:"lead-contact",class:"grid max-w-2xl grid-cols-1 gap-y-4 sm:grid-cols-2 sm:gap-x-8 md:gap-y-6",onSubmit:withModifiers(l,["prevent"])},[createBaseVNode("div",_hoisted_3$2,[_hoisted_4$2,createBaseVNode("div",_hoisted_5$1,[withDirectives(createBaseVNode("input",{id:"name","onUpdate:modelValue":d[0]||(d[0]=x=>unref(n).name=x),name:"name",required:"",type:"name",autocomplete:"name",class:"input-field"},null,512),[[vModelText,unref(n).name]])])]),createBaseVNode("div",_hoisted_6$1,[_hoisted_7$1,createBaseVNode("div",_hoisted_8$1,[withDirectives(createBaseVNode("input",{id:"email","onUpdate:modelValue":d[1]||(d[1]=x=>unref(n).email=x),name:"email",required:"",type:"email",autocomplete:"email",class:"input-field"},null,512),[[vModelText,unref(n).email]])])]),createBaseVNode("div",_hoisted_9$1,[withDirectives(createBaseVNode("input",{id:"lead-contact-checkbox","onUpdate:modelValue":d[2]||(d[2]=x=>isRef(r)?r.value=x:null),required:"",type:"checkbox",class:"shrink-0 accent-primary"},null,512),[[vModelCheckbox,unref(r)]]),createBaseVNode("label",_hoisted_10$1,[(m=c.blok)!=null&&m.privacyLabel?(openBlock(),createBlock(u,{key:0,blok:c.blok.privacyLabel},null,8,["blok"])):createCommentVNode("",!0)])]),createBaseVNode("div",_hoisted_11,[(p=c.blok)!=null&&p.submitButtonDestination?(openBlock(),createElementBlock("a",{key:0,class:"button primary curs
33or-pointer",onClick:l},toDisplayString(c.blok.submitButtonText),1)):(openBlock(),createElementBlock("button",{key:1,class:"button primary cursor-pointer",onClick:l},toDisplayString(c.blok.submitButtonText),1))])],32))])])],2)}}}),LeadContactFormModule=_export_sfc(_sfc_main$6,[["__scopeId","data-v-07376b75"]]),_hoisted_1$4={id:"calendly-int",class:"min-w-[300px]"},_sfc_main$5=defineComponent({__name:"CalendlyIntegration",props:{url:{}},setup(t){const e=t;useSettingsStore(),useHead({script:[{src:"https://assets.calendly.com/assets/external/widget.js",defer:!0}]});const r=()=>{Calendly&&Calendly.initInlineWidget({url:e.url,parentElement:document.getElementById("calendly-int"),prefill:{},utm:{}})};return onMounted(()=>{r()}),(i,n)=>(openBlock(),createElementBlock("div",_hoisted_1$4))}}),_hoisted_1$3={class:"my-container bg-gray-light"},_hoisted_2$2={class:"py-container container relative flex flex-col justify-between gap-6 lg:flex-row lg:py-0 xl:min-h-[45rem]"},_hoisted_3$1={id:"contact-banner-choice",class:"flex w-full flex-col gap-14 lg:my-24 lg:max-w-md lg:translate-x-[32rem] xl:my-32 xl:max-w-xl"},_hoisted_4$1={class:"primary-topline"},_hoisted_5={class:"primary-title"},_hoisted_6={key:0,class:"mt-5"},_hoisted_7={class:"flex min-w-[20rem] flex-col gap-4 sm:mr-auto"},_hoisted_8=["href"],_hoisted_9={id:"calendly-container",class:"pointer-events-none mb-8 mt-12 hidden w-96 flex-col gap-4 opacity-0 lg:flex"},_hoisted_10={class:"flex gap-1"},desktopBreakpoint=1280,mobileBreakpoint=1024,_sfc_main$4=defineComponent({__name:"ContactBannerModule",props:{blok:{type:Object,required:!0}},setup(t){let e,r;const n=useState(t.blok._uid+"showing-calendar",()=>!1),s=()=>{n.value=!n.value,n.value?e.restart():r.restart()};return onMounted(()=>{gsapWithCSS.matchMedia().add({isDesktop:`(min-width: ${desktopBreakpoint}px)`,isTablet:`(max-width: ${desktopBreakpoint-1}px)`,isMobile:`(max-width: ${mobileBreakpoint-1}px)`},o=>{const{isDesktop:l,isMobile:h}=o.conditions,c=l?"32rem":h?"0rem":"24rem";r=gsapWithCSS.timeline().to("#calendly-container",{opacity:0,translateY:"2rem",duration:.2,pointerEvents:"none"}).fromTo("#contact-banner-choice",{translateX:0,duration:.5},{translateX:c,duration:.5}).to("#contact-banner-avatar",{opacity:1,duration:.2}).pause(),e=gsapWithCSS.timeline().to("#contact-banner-avatar",{opacity:0,duration:.2}).fromTo("#contact-banner-choice",{translateX:c,duration:.5},{translateX:0,duration:.5}).to("#calendly-container",{opacity:1,translateY:0,duration:.2,pointerEvents:"auto"}).pause(),n.value?r.pause(0):e.pause(0)})}),(a,o)=>{var d,f,u;const l=_sfc_main$M,h=_sfc_main$O,c=_sfc_main$5;return openBlock(),createElementBlock("section",_hoisted_1$3,[createBaseVNode("div",_hoisted_2$2,[(f=(d=t.blok)==null?void 0:d.avatar)!=null&&f.length?(openBlock(),createBlock(l,{key:0,id:"contact-banner-avatar",blok:t.blok.avatar[0],class:"!absolute bottom-0 hidden w-80 lg:block xl:w-96",preload:"auto"},null,8,["blok"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_3$1,[createBaseVNode("div",null,[createBaseVNode("p",_hoisted_4$1,toDisplayString(t.blok.topline),1),createBaseVNode("h2",_hoisted_5,toDisplayString(t.blok.topline),1),(u=t.blok)!=null&&u.description?(openBlock(),createElementBlock("div",_hoisted_6,toDisplayString(t.blok.description),1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_7,[createBaseVNode("button",{class:"button primary hidden text-center lg:block",onClick:s},toDisplayString(unref(n)?a.$t("back"):a.$t("appointment")),1),createBaseVNode("a",{class:"button primary block text-center lg:hidden",href:t.blok.calendlyUrl,target:"_blank"},toDisplayString(unref(n)?a.$t("back"):a.$t("appointment")),9,_hoisted_8),(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.actionButtons,m=>(openBlock(),createBlock(h,{key:m._uid,class:"button secondary block text-center",link:m.destination},{default:withCtx(()=>[createTextVNode(toDisplayString(m.label),1)]),_:2},1032,["link"]))),128))])]),createBaseVNode("div",_hoisted_9,[createVNode(c,{url:t.blok.calendlyUrl,class:"h-full rounded-lg bg-white shadow-lg"},null,8,["url"]),createBaseVNode("div",_hoisted_10,[createVNode(unref(ArrowLeftIcon),{class:"w-5"}),createBaseVNode("button",{onClick:s},toDisplayString(a.$t("back")),1)])])])])}}});
vendor: 6,876 bytes, line 33
33var lottie$1={exports:{}};(function(module,exports){typeof navigator<"u"&&function(t,e){module.exports=e()}(commonjsGlobal,function(){var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(t){return document.createElement(t)}function extendPrototype(t,e){var r,i=t.length,n;for(r=0;r<i;r+=1){n=t[r].prototype;for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(e.prototype[s]=n[s])}}function getDescriptor(t,e){return Object.getOwnPropertyDescriptor(t,e)}function createProxyFunction(t){function e(){}return e.prototype=t,e}var audioControllerFactory=function(){function t(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return t.prototype={addAudio:function(r){this.audios.push(r)},pause:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].pause()},resume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].resume()},setRate:function(r){var i,n=this.audios.length;for(i=0;i<n;i+=1)this.audios[i].setRate(r)},createAudio:function(r){return this.audioFactory?this.audioFactory(r):window.Howl?new window.Howl({src:[r]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(r){this.audioFactory=r},setVolume:function(r){this._volume=r,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var r,i=this.audios.length;for(r=0;r<i;r+=1)this.audios[r].volume(this._volume*(this._isMuted?0:1))}},function(){return new t}}(),createTypedArray=function(){function t(r,i){var n=0,s=[],a;switch(r){case"int16":case"uint8c":a=1;break;default:a=1.1;break}for(n=0;n<i;n+=1)s.push(a);return s}function e(r,i){return r==="float32"?new Float32Array(i):r==="int16"?new Int16Array(i):r==="uint8c"?new Uint8ClampedArray(i):t(r,i)}return typeof Uint8ClampedArray=="function"&&typeof Float32Array=="function"?e:t}();function createSizedArray(t){return Array.apply(null,{length:t})}function _typeof$6(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$6=function(r){return typeof r}:_typeof$6=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$6(t)}var subframeEnabled=!0,expressionsPlugin=null,expressionsInterfaces=null,idPrefix$1="",isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};(function(){var t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],e,r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]})(),BMMath.random=Math.random,BMMath.abs=function(t){var e=_typeof$6(t);if(e==="object"&&t.length){var r=createSizedArray(t.length),i,n=t.length;for(i=0;i<n;i+=1)r[i]=Math.abs(t[i]);return r}return Math.abs(t)};var defaultCurveSegments=150,degToRads=Math.PI/180,roundCorner=.5519;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}var createElementID=function(){var t=0;return function(){return t+=1,idPrefix$1+"__lottie_element_"+t}}();function HSVtoRGB(t,e,r){var i,n,s,a,o,l,h,c;switch(a=Math.floor(t*6),o=t*6-a,l=r*(1-e),h=r*(1-o*e),c=r*(1-(1-o)*e),a%6){case 0:i=r,n=c,s=l;break;case 1:i=h,n=r,s=l;break;case 2:i=l,n=r,s=c;break;case 3:i=l,n=h,s=r;break;case 4:i=c,n=l,s=r;break;case 5:i=r,n=l,s=h;break}return[i,n,s]}function RGBtoHSV(t,e,r){var i=Math.max(t,e,r),n=Math.min(t,e,r),s=i-n,a,o=i===0?0:s/i,l=i/255;switch(i){case n:a=0;break;case t:a=e-r+s*(e<r?6:0),a/=6*s;break;case e:a=r-t+s*2,a/=6*s;break;case r:a=t-e+s*4,a/=6*s;break}return[a,o,l]}function addSaturationToRGB(t,e){var r=RGBtoHSV(t[0]*255,t[1]*255,t[2]*255);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(t[0]*255,t[1]*255,t[2]*255);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(t[0]*255,t[1]*255,t[2]*255);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(e=0;e<256;e+=1)r=e.toString(16),t[e]=r.length===1?"0"+r:r;return function(i,n,s){return i<0&&(i=0),n<0&&(n=0),s<0&&(s=0),"#"+t[i]+t[n]+t[s]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setExpressionInterfaces=function(e){expressionsInterfaces=e},getExpressionInterfaces=function(){return expressionsInterfaces},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e};function createNS(t){return document.createElementNS(svgNS,t)}function _typeof$5(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$5=function(r){return typeof r}:_typeof$5=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$5(t)}var dataManager=function(){var t=1,e=[],r,i,n={onmessage:function(){},postMessage:function(u){r({data:u})}},s={postMessage:function(u){n.onmessage({data:u})}};function a(f){if(window.Worker&&window.Blob&&getWebWorker()){var u=new Blob(["var _workerSelf = self;
33 self.onmessage = ",f.toString()],{type:"text/javascript"}),m=URL.createObjectURL(u);return new Worker(m)}return r=f,n}function o(){i||(i=a(function(u){function m(){function x($,T){var A,b,S=$.length,w,F,N,H;for(b=0;b<S;b+=1)if(A=$[b],"ks"in A&&!A.completed){if(A.completed=!0,A.hasMask){var G=A.masksProperties;for(F=G.length,w=0;w<F;w+=1)if(G[w].pt.k.i)k(G[w].pt.k);else for(H=G[w].pt.k.length,N=0;N<H;N+=1)G[w].pt.k[N].s&&k(G[w].pt.k[N].s[0]),G[w].pt.k[N].e&&k(G[w].pt.k[N].e[0])}A.ty===0?(A.layers=g(A.refId,T),x(A.layers,T)):A.ty===4?v(A.shapes):A.ty===5&&L(A)}}function _($,T){if($){var A=0,b=$.length;for(A=0;A<b;A+=1)$[A].t===1&&($[A].data.layers=g($[A].data.refId,T),x($[A].data.layers,T))}}function y($,T){for(var A=0,b=T.length;A<b;){if(T[A].id===$)return T[A];A+=1}return null}function g($,T){var A=y($,T);return A?A.layers.__used?JSON.parse(JSON.stringify(A.layers)):(A.layers.__used=!0,A.layers):null}function v($){var T,A=$.length,b,S;for(T=A-1;T>=0;T-=1)if($[T].ty==="sh")if($[T].ks.k.i)k($[T].ks.k);else for(S=$[T].ks.k.length,b=0;b<S;b+=1)$[T].ks.k[b].s&&k($[T].ks.k[b].s[0]),$[T].ks.k[b].e&&k($[T].ks.k[b].e[0]);else $[T].ty==="gr"&&v($[T].it)}function k($){var T,A=$.i.length;for(T=0;T<A;T+=1)$.i[T][0]+=$.v[T][0],$.i[T][1]+=$.v[T][1],$.o[T][0]+=$.v[T][0],$.o[T][1]+=$.v[T][1]}function P($,T){var A=T?T.split("."):[100,100,100];return $[0]>A[0]?!0:A[0]>$[0]?!1:$[1]>A[1]?!0:A[1]>$[1]?!1:$[2]>A[2]?!0:A[2]>$[2]?!1:null}var C=function(){var $=[4,4,14];function T(b){var S=b.t.d;b.t.d={k:[{s:S,t:0}]}}function A(b){var S,w=b.length;for(S=0;S<w;S+=1)b[S].ty===5&&T(b[S])}return function(b){if(P($,b.v)&&(A(b.layers),b.assets)){var S,w=b.assets.length;for(S=0;S<w;S+=1)b.assets[S].layers&&A(b.assets[S].layers)}}}(),E=function(){var $=[4,7,99];return function(T){if(T.chars&&!P($,T.v)){var A,b=T.chars.length;for(A=0;A<b;A+=1){var S=T.chars[A];S.data&&S.data.shapes&&(v(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[A].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"})))}}}}(),M=function(){var $=[5,7,15];function T(b){var S=b.t.p;typeof S.a=="number"&&(S.a={a:0,k:S.a}),typeof S.p=="number"&&(S.p={a:0,k:S.p}),typeof S.r=="number"&&(S.r={a:0,k:S.r})}function A(b){var S,w=b.length;for(S=0;S<w;S+=1)b[S].ty===5&&T(b[S])}return function(b){if(P($,b.v)&&(A(b.layers),b.assets)){var S,w=b.assets.length;for(S=0;S<w;S+=1)b.assets[S].layers&&A(b.assets[S].layers)}}}(),B=function(){var $=[4,1,9];function T(b){var S,w=b.length,F,N;for(S=0;S<w;S+=1)if(b[S].ty==="gr")T(b[S].it);else if(b[S].ty==="fl"||b[S].ty==="st")if(b[S].c.k&&b[S].c.k[0].i)for(N=b[S].c.k.length,F=0;F<N;F+=1)b[S].c.k[F].s&&(b[S].c.k[F].s[0]/=255,b[S].c.k[F].s[1]/=255,b[S].c.k[F].s[2]/=255,b[S].c.k[F].s[3]/=255),b[S].c.k[F].e&&(b[S].c.k[F].e[0]/=255,b[S].c.k[F].e[1]/=255,b[S].c.k[F].e[2]/=255,b[S].c.k[F].e[3]/=255);else b[S].c.k[0]/=255,b[S].c.k[1]/=255,b[S].c.k[2]/=255,b[S].c.k[3]/=255}function A(b){var S,w=b.length;for(S=0;S<w;S+=1)b[S].ty===4&&T(b[S].shapes)}return function(b){if(P($,b.v)&&(A(b.layers),b.assets)){var S,w=b.assets.length;for(S=0;S<w;S+=1)b.assets[S].layers&&A(b.assets[S].layers)}}}(),D=function(){var $=[4,4,18];function T(b){var S,w=b.length,F,N;for(S=w-1;S>=0;S-=1)if(b[S].ty==="sh")if(b[S].ks.k.i)b[S].ks.k.c=b[S].closed;else for(N=b[S].ks.k.length,F=0;F<N;F+=1)b[S].ks.k[F].s&&(b[S].ks.k[F].s[0].c=b[S].closed),b[S].ks.k[F].e&&(b[S].ks.k[F].e[0].c=b[S].closed);else b[S].ty==="gr"&&T(b[S].it)}function A(b){var S,w,F=b.length,N,H,G,j;for(w=0;w<F;w+=1){if(S=b[w],S.hasMask){var U=S.masksProperties;for(H=U.length,N=0;N<H;N+=1)if(U[N].pt.k.i)U[N].pt.k.c=U[N].cl;else for(j=U[N].pt.k.length,G=0;G<j;G+=1)U[N].pt.k[G].s&&(U[N].pt.k[G].s[0].c=U[N].cl),U[N].pt.k[G].e&&(U[N].pt.k[G].e[0].c=U[N].cl)}S.ty===4&&T(S.shapes)}}return function(b){if(P($,b.v)&&(A(b.layers),b.assets)){var S,w=b.assets.length;for(S=0;S<w;S+=1)b.assets[S].layers&&A(b.assets[S].layers)}}}();function I($){$.__complete||(B($),C($),E($),M($),D($),x($.layers,$.assets),_($.chars,$.assets),$.__complete=!0)}function L($){$.t.a.length===0&&"m"in $.t.p}var R={};return R.completeData=I,R.checkColors=B,R.checkChars=E,R.checkPathProperties=M,R.checkShapes=D,R.completeLayers=x,R}if(s.dataManager||(s.dataManager=m()),s.assetLoader||(s.assetLoader=function(){function x(y){var g=y.getResponseHeader("content-type");return g&&y.responseType==="json"&&g.indexOf("json")!==-1||y.response&&_typeof$5(y.response)==="object"?y.response:y.response&&typeof y.response=="string"?JSON.parse(y.response):y.responseText?JSON.parse(y.responseText):null}function _(y,g,v,k){var P,C=new XMLHttpRequest;try{C.responseType="json"}catch{}C.onreadystatechange=function(){if(C.readyState===4)if(C.status===200)P=x(C),v(P);else try{P=x(C),v(P)}catch(E){k&&k(E)}};try{C.open(["G","E","T"].join(""),y,!0)}catch{C.open(["G","E","T"].join(""),g+"/"+y,!0)}C.send()}return{load:_}}()),u.data.type==="loadAnimation")s.assetLoader.load(u.data.path,u.data.fullPath,function(x){s.dataManager.completeData(x),s.postMessage({id:u.data.id,payload:x,status:"success"})},function(){s.postMessage({id:u.data.id,status:"error"})});else if(u.data.type==="complete"){var p=u.data.animation;s.dataManager.completeData(p),s.postMessage({id:u.data.id,payload:p,status:"success"})}
vendor: 163,629 bytes, lines 33-41
33else u.data.type==="loadData"&&s.assetLoader.load(u.data.path,u.data.fullPath,function(x){s.postMessage({id:u.data.id,payload:x,status:"success"})},function(){s.postMessage({id:u.data.id,status:"error"})})}),i.onmessage=function(f){var u=f.data,m=u.id,p=e[m];e[m]=null,u.status==="success"?p.onComplete(u.payload):p.onError&&p.onError()})}function l(f,u){t+=1;var m="processId_"+t;return e[m]={onComplete:f,onError:u},m}function h(f,u,m){o();var p=l(u,m);i.postMessage({type:"loadAnimation",path:f,fullPath:window.location.origin+window.location.pathname,id:p})}function c(f,u,m){o();var p=l(u,m);i.postMessage({type:"loadData",path:f,fullPath:window.location.origin+window.location.pathname,id:p})}function d(f,u,m){o();var p=l(u,m);i.postMessage({type:"complete",animation:f,id:p})}return{loadAnimation:h,loadData:c,completeAnimation:d}}(),ImagePreloader=function(){var t=function(){var _=createTag("canvas");_.width=1,_.height=1;var y=_.getContext("2d");return y.fillStyle="rgba(0,0,0,0)",y.fillRect(0,0,1,1),_}();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(_,y,g){var v="";if(_.e)v=_.p;else if(y){var k=_.p;k.indexOf("images/")!==-1&&(k=k.split("/")[1]),v=y+k}else v=g,v+=_.u?_.u:"",v+=_.p;return v}function n(_){var y=0,g=setInterval((function(){var v=_.getBBox();(v.width||y>500)&&(this._imageLoaded(),clearInterval(g)),y+=1}).bind(this),50)}function s(_){var y=i(_,this.assetsPath,this.path),g=createNS("image");isSafari?this.testImageLoaded(g):g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){v.img=t,this._imageLoaded()}).bind(this),!1),g.setAttributeNS("http://www.w3.org/1999/xlink","href",y),this._elementHelper.append?this._elementHelper.append(g):this._elementHelper.appendChild(g);var v={img:g,assetData:_};return v}function a(_){var y=i(_,this.assetsPath,this.path),g=createTag("img");g.crossOrigin="anonymous",g.addEventListener("load",this._imageLoaded,!1),g.addEventListener("error",(function(){v.img=t,this._imageLoaded()}).bind(this),!1),g.src=y;var v={img:g,assetData:_};return v}function o(_){var y={assetData:_},g=i(_,this.assetsPath,this.path);return dataManager.loadData(g,(function(v){y.img=v,this._footageLoaded()}).bind(this),(function(){y.img={},this._footageLoaded()}).bind(this)),y}function l(_,y){this.imagesLoadedCb=y;var g,v=_.length;for(g=0;g<v;g+=1)_[g].layers||(!_[g].t||_[g].t==="seq"?(this.totalImages+=1,this.images.push(this._createImageData(_[g]))):_[g].t===3&&(this.totalFootages+=1,this.images.push(this.createFootageData(_[g]))))}function h(_){this.path=_||""}function c(_){this.assetsPath=_||""}function d(_){for(var y=0,g=this.images.length;y<g;){if(this.images[y].assetData===_)return this.images[y].img;y+=1}return null}function f(){this.imagesLoadedCb=null,this.images.length=0}function u(){return this.totalImages===this.loadedAssets}function m(){return this.totalFootages===this.loadedFootagesCount}function p(_,y){_==="svg"?(this._elementHelper=y,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}function x(){this._imageLoaded=e.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=n.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return x.prototype={loadAssets:l,setAssetsPath:c,setPath:h,loadedImages:u,loadedFootages:m,destroy:f,getAsset:d,createImgData:a,createImageData:s,imageLoaded:e,footageLoaded:r,setCacheType:p},x}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,r){if(this._cbs[e])for(var i=this._cbs[e],n=0;n<i.length;n+=1)i[n](r)},addEventListener:function(e,r){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(r),(function(){this.removeEventListener(e,r)}).bind(this)},removeEventListener:function(e,r){if(!r)this._cbs[e]=null;else if(this._cbs[e]){for(var i=0,n=this._cbs[e].length;i<n;)this._cbs[e][i]===r&&(this._cbs[e].splice(i,1),i-=1,n-=1),i+=1;this._cbs[e].length||(this._cbs[e]=null)}}};var markerParser=function(){function t(e){for(var r=e.split(`\r 34`),i={},n,s=0,a=0;a<r.length;a+=1)n=r[a].split(":"),n.length===2&&(i[n[0]]=n[1].trim(),s+=1);if(s===0)throw new Error;return i}return function(e){for(var r=[],i=0;i<e.length;i+=1){var n=e[i],s={time:n.tm,duration:n.dr};try{s.payload=JSON.parse(e[i].cm)}catch{try{s.payload=t(e[i].cm)}catch{s.payload={name:e[i].cm}}}r.push(s)}return r}}(),ProjectInterface=function(){function t(e){this.compositions.push(e)}return function(){function e(r){for(var i=0,n=this.compositions.length;i<n;){if(this.compositions[i].data&&this.compositions[i].data.nm===r)return this.compositions[i].prepareFrame&&this.compositions[i].data.xt&&this.compositions[i].prepareFrame(this.currentFrame),this.compositions[i].compInterface;i+=1}return null}return e.compositions=[],e.currentFrame=0,e.registerComposition=t,e}}(),renderers={},registerRenderer=function(e,r){renderers[e]=r};function getRenderer(t){return renderers[t]}function getRegisteredRenderer(){if(renderers.canvas)return"canvas";for(var t in renderers)if(renderers[t])return t;return""}function _typeof$4(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$4=function(r){return typeof r}:_typeof$4=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_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),this.expressionsPlugin=getExpressionsPlugin()};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===""||t.loop===null||t.loop===void 0||t.loop===!0?this.loop=!0:t.loop===!1?this.loop=!1:this.loop=parseInt(t.loop,10),this.autoplay="autoplay"in t?t.autoplay:!0,this.name=t.name?t.name:"",this.autoloadSegments=Object.prototype.hasOwnProperty.call(t,"autoloadSegments")?t.autoloadSegments:!0,this.assetsPath=t.assetsPath,this.initialSegment=t.initialSegment,t.audioFactory&&this.audioController.setAudioFactory(t.audioFactory),t.animationData?this.setupAnimation(t.animationData):t.path&&(t.path.lastIndexOf("\\")!==-1?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&&_typeof$4(e)!=="object"&&(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:getRegisteredRenderer()||"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:"";n==="false"?r.loop=!1:n==="true"?r.loop=!0:n!==""&&(r.loop=parseInt(n,10));var s=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:!0;r.autoplay=s!=="false",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:"";var a=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:"";a==="false"&&(r.prerender=!1),r.path?this.setParams(r):this.trigger("destroy")},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=this.animationData.layers,r,i=e.length,n=t.layers,s,a=n.length;for(s=0;s<a;s+=1)for(r=0;r<i;){if(e[r].id===n[s].id){e[r]=n[s];break}r+=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(i=t.assets.length,r=0;r<i;r+=1)this.animationData.assets.push(t.assets[r]);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||t.length===0||!this.autoloadSegments){this.trigger("data_ready"),this.timeCompleted=this.totalFrames;return}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(){var t=this.animationData.segments;t||(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(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||this.renderer.rendererType!=="canvas")&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var 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=typeof t=="number"?t:void 0,i=typeof e=="number"?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(!(this.isLoaded===!1||!this.renderer))try{this.expressionsPlugin&&this.expressionsPlugin.resetFrame(),this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(t){this.triggerRenderFrameError(t)}},AnimationItem.prototype.play=function(t){t&&this.name!==t||this.isPaused===!0&&(this.isPaused=!1,this.trigger("_play"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(t){t&&this.name!==t||this.isPaused===!1&&(this.isPaused=!0,this.trigger("_pause"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(t){t&&this.name!==t||(this.isPaused===!0?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],e.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(!(this.isPaused===!0||this.isLoaded===!1)){var e=this.currentRawFrame+t*this.frameModifier,r=!1;e>=this.totalFrames-1&&this.frameModifier>0?!this.loop||this.playCount===this.loop?this.checkSegments(e>this.totalFrames?e%this.totalFrames:0)||(r=!0,e=this.totalFrames-1):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):e<0?this.checkSegments(e%this.totalFrames)||(this.loop&&!(this.playCount--<=0&&this.loop!==!0)?(this.setCurrentRawFrameValue(this.totalFrames+e%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0):(r=!0,e=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,r!==-1&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(t,e){if(e&&(this.segments.length=0),_typeof$4(t[0])==="object"){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):!1},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.expressionsPlugin=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;r.indexOf("images/")!==-1&&(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{var i=this.renderer.getElementByPath(t);i.updateDocumentData(e,r)}catch{}},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)}t==="enterFrame"&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(t,this.currentFrame,this.totalFrames,this.frameMult)),t==="loopComplete"&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(t,this.loop,this.playCount,this.frameMult)),t==="complete"&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(t,this.frameMult)),t==="segmentStart"&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(t,this.firstFrame,this.totalFrames)),t==="destroy"&&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,s=!0,a=!1;function o(T){for(var A=0,b=T.target;A<i;)e[A].animation===b&&(e.splice(A,1),A-=1,i-=1,b.isPaused||d()),A+=1}function l(T,A){if(!T)return null;for(var b=0;b<i;){if(e[b].elem===T&&e[b].elem!==null)return e[b].animation;b+=1}var S=new AnimationItem;return f(S,T),S.setData(T,A),S}function h(){var T,A=e.length,b=[];for(T=0;T<A;T+=1)b.push(e[T].animation);return b}function c(){n+=1,B()}function d(){n-=1}function f(T,A){T.addEventListener("destroy",o),T.addEventListener("_active",c),T.addEventListener("_idle",d),e.push({elem:A,animation:T}),i+=1}function u(T){var A=new AnimationItem;return f(A,null),A.setParams(T),A}function m(T,A){var b;for(b=0;b<i;b+=1)e[b].animation.setSpeed(T,A)}function p(T,A){var b;for(b=0;b<i;b+=1)e[b].animation.setDirection(T,A)}function x(T){var A;for(A=0;A<i;A+=1)e[A].animation.play(T)}function _(T){var A=T-r,b;for(b=0;b<i;b+=1)e[b].animation.advanceTime(A);r=T,n&&!a?window.requestAnimationFrame(_):s=!0}function y(T){r=T,window.requestAnimationFrame(_)}function g(T){var A;for(A=0;A<i;A+=1)e[A].animation.pause(T)}function v(T,A,b){var S;for(S=0;S<i;S+=1)e[S].animation.goToAndStop(T,A,b)}function k(T){var A;for(A=0;A<i;A+=1)e[A].animation.stop(T)}function P(T){var A;for(A=0;A<i;A+=1)e[A].animation.togglePause(T)}function C(T){var A;for(A=i-1;A>=0;A-=1)e[A].animation.destroy(T)}function E(T,A,b){var S=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),w,F=S.length;for(w=0;w<F;w+=1)b&&S[w].setAttribute("data-bm-type",b),l(S[w],T);if(A&&F===0){b||(b="svg");var N=document.getElementsByTagName("body")[0];N.innerText="";var H=createTag("div");H.style.width="100%",H.style.height="100%",H.setAttribute("data-bm-type",b),N.appendChild(H),l(H,T)}}function M(){var T;for(T=0;T<i;T+=1)e[T].animation.resize()}function B(){!a&&n&&s&&(window.requestAnimationFrame(y),s=!1)}function D(){a=!0}function I(){a=!1,B()}function L(T,A){var b;for(b=0;b<i;b+=1)e[b].animation.setVolume(T,A)}function R(T){var A;for(A=0;A<i;A+=1)e[A].animation.mute(T)}function $(T){var A;for(A=0;A<i;A+=1)e[A].animation.unmute(T)}return t.registerAnimation=l,t.loadAnimation=u,t.setSpeed=m,t.setDirection=p,t.play=x,t.pause=g,t.stop=k,t.togglePause=P,t.searchAnimations=E,t.resize=M,t.goToAndStop=v,t.destroy=C,t.freeze=D,t.unfreeze=I,t.setVolume=L,t.mute=R,t.unmute=$,t.getRegisteredAnimations=h,t}(),BezierFactory=function(){var t={};t.getBezierEasing=r;var e={};function r(y,g,v,k,P){var C=P||("bez_"+y+"_"+g+"_"+v+"_"+k).replace(/\./g,"p");if(e[C])return e[C];var E=new _([y,g,v,k]);return e[C]=E,E}var i=4,n=.001,s=1e-7,a=10,o=11,l=1/(o-1),h=typeof Float32Array=="function";function c(y,g){return 1-3*g+3*y}function d(y,g){return 3*g-6*y}function f(y){return 3*y}function u(y,g,v){return((c(g,v)*y+d(g,v))*y+f(g))*y}function m(y,g,v){return 3*c(g,v)*y*y+2*d(g,v)*y+f(g)}function p(y,g,v,k,P){var C,E,M=0;do E=g+(v-g)/2,C=u(E,k,P)-y,C>0?v=E:g=E;while(Math.abs(C)>s&&++M<a);return E}function x(y,g,v,k){for(var P=0;P<i;++P){var C=m(g,v,k);if(C===0)return g;var E=u(g,v,k)-y;g-=E/C}return g}function _(y){this._p=y,this._mSampleValues=h?new Float32Array(o):new Array(o),this._precomputed=!1,this.get=this.get.bind(this)}return _.prototype={get:function(g){var v=this._p[0],k=this._p[1],P=this._p[2],C=this._p[3];return this._precomputed||this._precompute(),v===k&&P===C?g:g===0?0:g===1?1:u(this._getTForX(g),k,C)},_precompute:function(){var g=this._p[0],v=this._p[1],k=this._p[2],P=this._p[3];this._precomputed=!0,(g!==v||k!==P)&&this._calcSampleValues()},_calcSampleValues:function(){for(var g=this._p[0],v=this._p[2],k=0;k<o;++k)this._mSampleValues[k]=u(k*l,g,v)},_getTForX:function(g){for(var v=this._p[0],k=this._p[2],P=this._mSampleValues,C=0,E=1,M=o-1;E!==M&&P[E]<=g;++E)C+=l;--E;var B=(g-P[E])/(P[E+1]-P[E]),D=C+B*l,I=m(D,v,k);return I>=n?x(g,D,v,k):I===0?D:p(g,C,C+l,v,k)}},t}(),pooling=function(){function t(e){return e.concat(createSizedArray(e.length))}return{double:t}}(),poolFactory=function(){return function(t,e,r){var i=0,n=t,s=createSizedArray(n),a={newElement:o,release:l};function o(){var h;return i?(i-=1,h=s[i]):h=e(),h}function l(h){i===n&&(s=pooling.double(s),n*=2),r&&r(h),s[i]=h,i+=1}return a}}(),bezierLengthPool=function(){function t(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}return poolFactory(8,t)}(),segmentsLengthPool=function(){function t(){return{lengths:[],totalLength:0}}function e(r){var i,n=r.lengths.length;for(i=0;i<n;i+=1)bezierLengthPool.release(r.lengths[i]);r.lengths.length=0}return poolFactory(8,t,e)}();function bezFunction(){var t=Math;function e(f,u,m,p,x,_){var y=f*p+u*x+m*_-x*p-_*f-m*u;return y>-.001&&y<.001}function r(f,u,m,p,x,_,y,g,v){if(m===0&&_===0&&v===0)return e(f,u,p,x,y,g);var k=t.sqrt(t.pow(p-f,2)+t.pow(x-u,2)+t.pow(_-m,2)),P=t.sqrt(t.pow(y-f,2)+t.pow(g-u,2)+t.pow(v-m,2)),C=t.sqrt(t.pow(y-p,2)+t.pow(g-x,2)+t.pow(v-_,2)),E;return k>P?k>C?E=k-P-C:E=C-P-k:C>P?E=C-P-k:E=P-k-C,E>-1e-4&&E<1e-4}var i=function(){return function(f,u,m,p){var x=getDefaultCurveSegments(),_,y,g,v,k,P=0,C,E=[],M=[],B=bezierLengthPool.newElement();for(g=m.length,_=0;_<x;_+=1){for(k=_/(x-1),C=0,y=0;y<g;y+=1)v=bmPow(1-k,3)*f[y]+3*bmPow(1-k,2)*k*m[y]+3*(1-k)*bmPow(k,2)*p[y]+bmPow(k,3)*u[y],E[y]=v,M[y]!==null&&(C+=bmPow(E[y]-M[y],2)),M[y]=E[y];C&&(C=bmSqrt(C),P+=C),B.percents[_]=k,B.lengths[_]=P}return B.addedLength=P,B}}();function n(f){var u=segmentsLengthPool.newElement(),m=f.c,p=f.v,x=f.o,_=f.i,y,g=f._length,v=u.lengths,k=0;for(y=0;y<g-1;y+=1)v[y]=i(p[y],p[y+1],x[y],_[y+1]),k+=v[y].addedLength;return m&&g&&(v[y]=i(p[y],p[0],x[y],_[0]),k+=v[y].addedLength),u.totalLength=k,u}function s(f){this.segmentLength=0,this.points=new Array(f)}function a(f,u){this.partialLength=f,this.point=u}var o=function(){var f={};return function(u,m,p,x){var _=(u[0]+"_"+u[1]+"_"+m[0]+"_"+m[1]+"_"+p[0]+"_"+p[1]+"_"+x[0]+"_"+x[1]).replace(/\./g,"p");if(!f[_]){var y=getDefaultCurveSegments(),g,v,k,P,C,E=0,M,B,D=null;u.length===2&&(u[0]!==m[0]||u[1]!==m[1])&&e(u[0],u[1],m[0],m[1],u[0]+p[0],u[1]+p[1])&&e(u[0],u[1],m[0],m[1],m[0]+x[0],m[1]+x[1])&&(y=2);var I=new s(y);for(k=p.length,g=0;g<y;g+=1){for(B=createSizedArray(k),C=g/(y-1),M=0,v=0;v<k;v+=1)P=bmPow(1-C,3)*u[v]+3*bmPow(1-C,2)*C*(u[v]+p[v])+3*(1-C)*bmPow(C,2)*(m[v]+x[v])+bmPow(C,3)*m[v],B[v]=P,D!==null&&(M+=bmPow(B[v]-D[v],2));M=bmSqrt(M),E+=M,I.points[g]=new a(M,B),D=B}I.segmentLength=E,f[_]=I}return f[_]}}();function l(f,u){var m=u.percents,p=u.lengths,x=m.length,_=bmFloor((x-1)*f),y=f*u.addedLength,g=0;if(_===x-1||_===0||y===p[_])return m[_];for(var v=p[_]>y?-1:1,k=!0;k;)if(p[_]<=y&&p[_+1]>y?(g=(y-p[_])/(p[_+1]-p[_]),k=!1):_+=v,_<0||_>=x-1){if(_===x-1)return m[_];k=!1}return m[_]+(m[_+1]-m[_])*g}function h(f,u,m,p,x,_){var y=l(x,_),g=1-y,v=t.round((g*g*g*f[0]+(y*g*g+g*y*g+g*g*y)*m[0]+(y*y*g+g*y*y+y*g*y)*p[0]+y*y*y*u[0])*1e3)/1e3,k=t.round((g*g*g*f[1]+(y*g*g+g*y*g+g*g*y)*m[1]+(y*y*g+g*y*y+y*g*y)*p[1]+y*y*y*u[1])*1e3)/1e3;return[v,k]}var c=createTypedArray("float32",8);function d(f,u,m,p,x,_,y){x<0?x=0:x>1&&(x=1);var g=l(x,y);_=_>1?1:_;var v=l(_,y),k,P=f.length,C=1-g,E=1-v,M=C*C*C,B=g*C*C*3,D=g*g*C*3,I=g*g*g,L=C*C*E,R=g*C*E+C*g*E+C*C*v,$=g*g*E+C*g*v+g*C*v,T=g*g*v,A=C*E*E,b=g*E*E+C*v*E+C*E*v,S=g*v*E+C*v*v+g*E*v,w=g*v*v,F=E*E*E,N=v*E*E+E*v*E+E*E*v,H=v*v*E+E*v*v+v*E*v,G=v*v*v;for(k=0;k<P;k+=1)c[k*4]=t.round((M*f[k]+B*m[k]+D*p[k]+I*u[k])*1e3)/1e3,c[k*4+1]=t.round((L*f[k]+R*m[k]+$*p[k]+T*u[k])*1e3)/1e3,c[k*4+2]=t.round((A*f[k]+b*m[k]+S*p[k]+w*u[k])*1e3)/1e3,c[k*4+3]=t.round((F*f[k]+N*m[k]+H*p[k]+G*u[k])*1e3)/1e3;return c}return{getSegmentsLength:n,getNewSegment:d,getPointInSegment:h,buildBezierData:o,pointOnLine2D:e,pointOnLine3D:r}}var bez=bezFunction(),initFrame=initialDefaultFrame,mathAbs=Math.abs;function interpolateValue(t,e){var r=this.offsetTime,i;this.propType==="multidimensional"&&(i=createTypedArray("float32",this.pv.length));for(var n=e.lastIndex,s=n,a=this.keyframes.length-1,o=!0,l,h,c;o;){if(l=this.keyframes[s],h=this.keyframes[s+1],s===a-1&&t>=h.t-r){l.h&&(l=h),n=0;break}if(h.t-r>t){n=s;break}s<a-1?s+=1:(n=0,o=!1)}c=this.keyframesMetadata[s]||{};var d,f,u,m,p,x,_=h.t-r,y=l.t-r,g;if(l.to){c.bezierData||(c.bezierData=bez.buildBezierData(l.s,h.s||l.e,l.to,l.ti));var v=c.bezierData;if(t>=_||t<y){var k=t>=_?v.points.length-1:0;for(f=v.points[k].point.length,d=0;d<f;d+=1)i[d]=v.points[k].point[d]}else{c.__fnct?x=c.__fnct:(x=BezierFactory.getBezierEasing(l.o.x,l.o.y,l.i.x,l.i.y,l.n).get,c.__fnct=x),u=x((t-y)/(_-y));var P=v.segmentLength*u,C,E=e.lastFrame<t&&e._lastKeyframeIndex===s?e._lastAddedLength:0;for(p=e.lastFrame<t&&e._lastKeyframeIndex===s?e._lastPoint:0,o=!0,m=v.points.length;o;){if(E+=v.points[p].partialLength,P===0||u===0||p===v.points.length-1){for(f=v.points[p].point.length,d=0;d<f;d+=1)i[d]=v.points[p].point[d];break}else if(P>=E&&P<E+v.points[p+1].partialLength){for(C=(P-E)/v.points[p+1].partialLength,f=v.points[p].point.length,d=0;d<f;d+=1)i[d]=v.points[p].point[d]+(v.points[p+1].point[d]-v.points[p].point[d])*C;break}p<m-1?p+=1:o=!1}e._lastPoint=p,e._lastAddedLength=E-v.points[p].partialLength,e._lastKeyframeIndex=s}}else{var M,B,D,I,L;if(a=l.s.length,g=h.s||l.e,this.sh&&l.h!==1)if(t>=_)i[0]=g[0],i[1]=g[1],i[2]=g[2];else if(t<=y)i[0]=l.s[0],i[1]=l.s[1],i[2]=l.s[2];else{var R=createQuaternion(l.s),$=createQuaternion(g),T=(t-y)/(_-y);quaternionToEuler(i,slerp(R,$,T))}else for(s=0;s<a;s+=1)l.h!==1&&(t>=_?u=1:t<y?u=0:(l.o.x.constructor===Array?(c.__fnct||(c.__fnct=[]),c.__fnct[s]?x=c.__fnct[s]:(M=l.o.x[s]===void 0?l.o.x[0]:l.o.x[s],B=l.o.y[s]===void 0?l.o.y[0]:l.o.y[s],D=l.i.x[s]===void 0?l.i.x[0]:l.i.x[s],I=l.i.y[s]===void 0?l.i.y[0]:l.i.y[s],x=BezierFactory.getBezierEasing(M,B,D,I).get,c.__fnct[s]=x)):c.__fnct?x=c.__fnct:(M=l.o.x,B=l.o.y,D=l.i.x,I=l.i.y,x=BezierFactory.getBezierEasing(M,B,D,I).get,l.keyframeMetadata=x),u=x((t-y)/(_-y)))),g=h.s||l.e,L=l.h===1?l.s[s]:l.s[s]+(g[s]-l.s[s])*u,this.propType==="multidimensional"?i[s]=L:i=L}return e.lastIndex=n,i}function slerp(t,e,r){var i=[],n=t[0],s=t[1],a=t[2],o=t[3],l=e[0],h=e[1],c=e[2],d=e[3],f,u,m,p,x;return u=n*l+s*h+a*c+o*d,u<0&&(u=-u,l=-l,h=-h,c=-c,d=-d),1-u>1e-6?(f=Math.acos(u),m=Math.sin(f),p=Math.sin((1-r)*f)/m,x=Math.sin(r*f)/m):(p=1-r,x=r),i[0]=p*n+x*l,i[1]=p*s+x*h,i[2]=p*a+x*c,i[3]=p*o+x*d,i}function quaternionToEuler(t,e){var r=e[0],i=e[1],n=e[2],s=e[3],a=Math.atan2(2*i*s-2*r*n,1-2*i*i-2*n*n),o=Math.asin(2*r*i+2*n*s),l=Math.atan2(2*r*s-2*i*n,1-2*r*r-2*n*n);t[0]=a/degToRads,t[1]=o/degToRads,t[2]=l/degToRads}function createQuaternion(t){var e=t[0]*degToRads,r=t[1]*degToRads,i=t[2]*degToRads,n=Math.cos(e/2),s=Math.cos(r/2),a=Math.cos(i/2),o=Math.sin(e/2),l=Math.sin(r/2),h=Math.sin(i/2),c=n*s*a-o*l*h,d=o*l*a+n*s*h,f=o*s*a+n*l*h,u=n*l*a-o*s*h;return[d,f,u,c]}function getValueAtCurrentTime(){var t=this.comp.renderedFrame-this.offsetTime,e=this.keyframes[0].t-this.offsetTime,r=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==initFrame&&(this._caching.lastFrame>=r&&t>=r||this._caching.lastFrame<e&&t<e))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function setVValue(t){var e;if(this.propType==="unidimensional")e=t*this.mult,mathAbs(this.v-e)>1e-5&&(this.v=e,this._mdf=!0);else for(var r=0,i=this.v.length;r<i;)e=t[r]*this.mult,mathAbs(this.v[r]-e)>1e-5&&(this.v[r]=e,this._mdf=!0),r+=1}function processEffectsSequence(){if(!(this.elem.globalData.frameId===this.frameId||!this.effectsSequence.length)){if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=this._isFirstFrame;var t,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 addEffect(t){this.effectsSequence.push(t),this.container.addDynamicProperty(this)}function ValueProperty(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=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function MultiDimensionalProperty(t,e,r,i){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 n,s=e.k.length;for(this.v=createTypedArray("float32",s),this.pv=createTypedArray("float32",s),this.vel=createTypedArray("float32",s),n=0;n<s;n+=1)this.v[n]=e.k[n]*this.mult,this.pv[n]=e.k[n];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=processEffectsSequence,this.setVValue=setVValue,this.addEffect=addEffect}function KeyframedValueProperty(t,e,r,i){this.propType="unidimensional",this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:initFrame,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=e,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.v=initFrame,this.pv=initFrame,this._isFirstFrame=!0,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.addEffect=addEffect}function KeyframedMultidimensionalProperty(t,e,r,i){this.propType="multidimensional";var n,s=e.k.length,a,o,l,h;for(n=0;n<s-1;n+=1)e.k[n].to&&e.k[n].s&&e.k[n+1]&&e.k[n+1].s&&(a=e.k[n].s,o=e.k[n+1].s,l=e.k[n].to,h=e.k[n].ti,(a.length===2&&!(a[0]===o[0]&&a[1]===o[1])&&bez.pointOnLine2D(a[0],a[1],o[0],o[1],a[0]+l[0],a[1]+l[1])&&bez.pointOnLine2D(a[0],a[1],o[0],o[1],o[0]+h[0],o[1]+h[1])||a.length===3&&!(a[0]===o[0]&&a[1]===o[1]&&a[2]===o[2])&&bez.pointOnLine3D(a[0],a[1],a[2],o[0],o[1],o[2],a[0]+l[0],a[1]+l[1],a[2]+l[2])&&bez.pointOnLine3D(a[0],a[1],a[2],o[0],o[1],o[2],o[0]+h[0],o[1]+h[1],o[2]+h[2]))&&(e.k[n].to=null,e.k[n].ti=null),a[0]===o[0]&&a[1]===o[1]&&l[0]===0&&l[1]===0&&h[0]===0&&h[1]===0&&(a.length===2||a[2]===o[2]&&l[2]===0&&h[2]===0)&&(e.k[n].to=null,e.k[n].ti=null));this.effectsSequence=[getValueAtCurrentTime.bind(this)],this.data=e,this.keyframes=e.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=r||1,this.elem=t,this.container=i,this.comp=t.comp,this.getValue=processEffectsSequence,this.setVValue=setVValue,this.interpolateValue=interpolateValue,this.frameId=-1;var c=e.k[0].s.length;for(this.v=createTypedArray("float32",c),this.pv=createTypedArray("float32",c),n=0;n<c;n+=1)this.v[n]=initFrame,this.pv[n]=initFrame;this._caching={lastFrame:initFrame,lastIndex:0,value:createTypedArray("float32",c)},this.addEffect=addEffect}var PropertyFactory=function(){function t(r,i,n,s,a){i.sid&&(i=r.globalData.slotManager.getProp(i));var o;if(!i.k.length)o=new ValueProperty(r,i,s,a);else if(typeof i.k[0]=="number")o=new MultiDimensionalProperty(r,i,s,a);else switch(n){case 0:o=new KeyframedValueProperty(r,i,s,a);break;case 1:o=new KeyframedMultidimensionalProperty(r,i,s,a);break}return o.effectsSequence.length&&a.addDynamicProperty(o),o}var e={getProp:t};return e}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){this._mdf=!1;var e,r=this.dynamicProperties.length;for(e=0;e<r;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};var pointPool=function(){function t(){return createTypedArray("float32",2)}return poolFactory(8,t)}();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 s;switch(this._length=Math.max(this._length,i+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":s=this.v;break;case"i":s=this.i;break;case"o":s=this.o;break;default:s=[];break}(!s[i]||s[i]&&!n)&&(s[i]=pointPool.newElement()),s[i][0]=t,s[i][1]=e},ShapePath.prototype.setTripleAt=function(t,e,r,i,n,s,a,o){this.setXYAt(t,e,"v",a,o),this.setXYAt(r,i,"o",a,o),this.setXYAt(n,s,"i",a,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 s=this._length-1,a=this._length,o;for(o=n;o<a;o+=1)t.setTripleAt(e[s][0],e[s][1],i[s][0],i[s][1],r[s][0],r[s][1],o,!1),s-=1;return t},ShapePath.prototype.length=function(){return this._length};var shapePool=function(){function t(){return new ShapePath}function e(n){var s=n._length,a;for(a=0;a<s;a+=1)pointPool.release(n.v[a]),pointPool.release(n.i[a]),pointPool.release(n.o[a]),n.v[a]=null,n.i[a]=null,n.o[a]=null;n._length=0,n.c=!1}function r(n){var s=i.newElement(),a,o=n._length===void 0?n.v.length:n._length;for(s.setLength(o),s.c=n.c,a=0;a<o;a+=1)s.setTripleAt(n.v[a][0],n.v[a][1],n.o[a][0],n.o[a][1],n.i[a][0],n.i[a][1],a);return s}var i=poolFactory(4,t,e);return i.clone=r,i}();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=function(){var t={newShapeCollection:n,release:s},e=0,r=4,i=createSizedArray(r);function n(){var a;return e?(e-=1,a=i[e]):a=new ShapeCollection,a}function s(a){var o,l=a._length;for(o=0;o<l;o+=1)shapePool.release(a.shapes[o]);a._length=0,e===r&&(i=pooling.double(i),r*=2),i[e]=a,e+=1}return t}(),ShapePropertyFactory=function(){var t=-999999;function e(_,y,g){var v=g.lastIndex,k,P,C,E,M,B,D,I,L,R=this.keyframes;if(_<R[0].t-this.offsetTime)k=R[0].s[0],C=!0,v=0;else if(_>=R[R.length-1].t-this.offsetTime)k=R[R.length-1].s?R[R.length-1].s[0]:R[R.length-2].e[0],C=!0;else{for(var $=v,T=R.length-1,A=!0,b,S,w;A&&(b=R[$],S=R[$+1],!(S.t-this.offsetTime>_));)$<T-1?$+=1:A=!1;if(w=this.keyframesMetadata[$]||{},C=b.h===1,v=$,!C){if(_>=S.t-this.offsetTime)I=1;else if(_<b.t-this.offsetTime)I=0;else{var F;w.__fnct?F=w.__fnct:(F=BezierFactory.getBezierEasing(b.o.x,b.o.y,b.i.x,b.i.y).get,w.__fnct=F),I=F((_-(b.t-this.offsetTime))/(S.t-this.offsetTime-(b.t-this.offsetTime)))}P=S.s?S.s[0]:b.e[0]}k=b.s[0]}for(B=y._length,D=k.i[0].length,g.lastIndex=v,E=0;E<B;E+=1)for(M=0;M<D;M+=1)L=C?k.i[E][M]:k.i[E][M]+(P.i[E][M]-k.i[E][M])*I,y.i[E][M]=L,L=C?k.o[E][M]:k.o[E][M]+(P.o[E][M]-k.o[E][M])*I,y.o[E][M]=L,L=C?k.v[E][M]:k.v[E][M]+(P.v[E][M]-k.v[E][M])*I,y.v[E][M]=L}function r(){var _=this.comp.renderedFrame-this.offsetTime,y=this.keyframes[0].t-this.offsetTime,g=this.keyframes[this.keyframes.length-1].t-this.offsetTime,v=this._caching.lastFrame;return v!==t&&(v<y&&_<y||v>g&&_>g)||(this._caching.lastIndex=v<_?this._caching.lastIndex:0,this.interpolateShape(_,this.pv,this._caching)),this._caching.lastFrame=_,this.pv}function i(){this.paths=this.localShapeCollection}function n(_,y){if(_._length!==y._length||_.c!==y.c)return!1;var g,v=_._length;for(g=0;g<v;g+=1)if(_.v[g][0]!==y.v[g][0]||_.v[g][1]!==y.v[g][1]||_.o[g][0]!==y.o[g][0]||_.o[g][1]!==y.o[g][1]||_.i[g][0]!==y.i[g][0]||_.i[g][1]!==y.i[g][1])return!1;return!0}function s(_){n(this.v,_)||(this.v=shapePool.clone(_),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){this._mdf=!1;return}if(this.lock){this.setVValue(this.pv);return}this.lock=!0,this._mdf=!1;var _;this.kf?_=this.pv:this.data.ks?_=this.data.ks.k:_=this.data.pt.k;var y,g=this.effectsSequence.length;for(y=0;y<g;y+=1)_=this.effectsSequence[y](_);this.setVValue(_),this.lock=!1,this.frameId=this.elem.globalData.frameId}}function o(_,y,g){this.propType="shape",this.comp=_.comp,this.container=_,this.elem=_,this.data=y,this.k=!1,this.kf=!1,this._mdf=!1;var v=g===3?y.pt.k:y.ks.k;this.v=shapePool.clone(v),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=i,this.effectsSequence=[]}function l(_){this.effectsSequence.push(_),this.container.addDynamicProperty(this)}o.prototype.interpolateShape=e,o.prototype.getValue=a,o.prototype.setVValue=s,o.prototype.addEffect=l;function h(_,y,g){this.propType="shape",this.comp=_.comp,this.elem=_,this.container=_,this.offsetTime=_.data.st,this.keyframes=g===3?y.pt.k:y.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var v=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,v),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=t,this.reset=i,this._caching={lastFrame:t,lastIndex:0},this.effectsSequence=[r.bind(this)]}h.prototype.getValue=a,h.prototype.interpolateShape=e,h.prototype.setVValue=s,h.prototype.addEffect=l;var c=function(){var _=roundCorner;function y(g,v){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=v.d,this.elem=g,this.comp=g.comp,this.frameId=-1,this.initDynamicPropertyContainer(g),this.p=PropertyFactory.getProp(g,v.p,1,0,this),this.s=PropertyFactory.getProp(g,v.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return y.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 v=this.p.v[0],k=this.p.v[1],P=this.s.v[0]/2,C=this.s.v[1]/2,E=this.d!==3,M=this.v;M.v[0][0]=v,M.v[0][1]=k-C,M.v[1][0]=E?v+P:v-P,M.v[1][1]=k,M.v[2][0]=v,M.v[2][1]=k+C,M.v[3][0]=E?v-P:v+P,M.v[3][1]=k,M.i[0][0]=E?v-P*_:v+P*_,M.i[0][1]=k-C,M.i[1][0]=E?v+P:v-P,M.i[1][1]=k-C*_,M.i[2][0]=E?v+P*_:v-P*_,M.i[2][1]=k+C,M.i[3][0]=E?v-P:v+P,M.i[3][1]=k+C*_,M.o[0][0]=E?v+P*_:v-P*_,M.o[0][1]=k-C,M.o[1][0]=E?v+P:v-P,M.o[1][1]=k+C*_,M.o[2][0]=E?v-P*_:v+P*_,M.o[2][1]=k+C,M.o[3][0]=E?v-P:v+P,M.o[3][1]=k-C*_}},extendPrototype([DynamicPropertyContainer],y),y}(),d=function(){function _(y,g){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=y,this.comp=y.comp,this.data=g,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(y),g.sy===1?(this.ir=PropertyFactory.getProp(y,g.ir,0,0,this),this.is=PropertyFactory.getProp(y,g.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(y,g.pt,0,0,this),this.p=PropertyFactory.getProp(y,g.p,1,0,this),this.r=PropertyFactory.getProp(y,g.r,0,degToRads,this),this.or=PropertyFactory.getProp(y,g.or,0,0,this),this.os=PropertyFactory.getProp(y,g.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 _.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 g=Math.floor(this.pt.v)*2,v=Math.PI*2/g,k=!0,P=this.or.v,C=this.ir.v,E=this.os.v,M=this.is.v,B=2*Math.PI*P/(g*2),D=2*Math.PI*C/(g*2),I,L,R,$,T=-Math.PI/2;T+=this.r.v;var A=this.data.d===3?-1:1;for(this.v._length=0,I=0;I<g;I+=1){L=k?P:C,R=k?E:M,$=k?B:D;var b=L*Math.cos(T),S=L*Math.sin(T),w=b===0&&S===0?0:S/Math.sqrt(b*b+S*S),F=b===0&&S===0?0:-b/Math.sqrt(b*b+S*S);b+=+this.p.v[0],S+=+this.p.v[1],this.v.setTripleAt(b,S,b-w*$*R*A,S-F*$*R*A,b+w*$*R*A,S+F*$*R*A,I,!0),k=!k,T+=v*A}},convertPolygonToPath:function(){var g=Math.floor(this.pt.v),v=Math.PI*2/g,k=this.or.v,P=this.os.v,C=2*Math.PI*k/(g*4),E,M=-Math.PI*.5,B=this.data.d===3?-1:1;for(M+=this.r.v,this.v._length=0,E=0;E<g;E+=1){var D=k*Math.cos(M),I=k*Math.sin(M),L=D===0&&I===0?0:I/Math.sqrt(D*D+I*I),R=D===0&&I===0?0:-D/Math.sqrt(D*D+I*I);D+=+this.p.v[0],I+=+this.p.v[1],this.v.setTripleAt(D,I,D-L*C*P*B,I-R*C*P*B,D+L*C*P*B,I+R*C*P*B,E,!0),M+=v*B}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],_),_}(),f=function(){function _(y,g){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=y,this.comp=y.comp,this.frameId=-1,this.d=g.d,this.initDynamicPropertyContainer(y),this.p=PropertyFactory.getProp(y,g.p,1,0,this),this.s=PropertyFactory.getProp(y,g.s,1,0,this),this.r=PropertyFactory.getProp(y,g.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return _.prototype={convertRectToPath:function(){var g=this.p.v[0],v=this.p.v[1],k=this.s.v[0]/2,P=this.s.v[1]/2,C=bmMin(k,P,this.r.v),E=C*(1-roundCorner);this.v._length=0,this.d===2||this.d===1?(this.v.setTripleAt(g+k,v-P+C,g+k,v-P+C,g+k,v-P+E,0,!0),this.v.setTripleAt(g+k,v+P-C,g+k,v+P-E,g+k,v+P-C,1,!0),C!==0?(this.v.setTripleAt(g+k-C,v+P,g+k-C,v+P,g+k-E,v+P,2,!0),this.v.setTripleAt(g-k+C,v+P,g-k+E,v+P,g-k+C,v+P,3,!0),this.v.setTripleAt(g-k,v+P-C,g-k,v+P-C,g-k,v+P-E,4,!0),this.v.setTripleAt(g-k,v-P+C,g-k,v-P+E,g-k,v-P+C,5,!0),this.v.setTripleAt(g-k+C,v-P,g-k+C,v-P,g-k+E,v-P,6,!0),this.v.setTripleAt(g+k-C,v-P,g+k-E,v-P,g+k-C,v-P,7,!0)):(this.v.setTripleAt(g-k,v+P,g-k+E,v+P,g-k,v+P,2),this.v.setTripleAt(g-k,v-P,g-k,v-P+E,g-k,v-P,3))):(this.v.setTripleAt(g+k,v-P+C,g+k,v-P+E,g+k,v-P+C,0,!0),C!==0?(this.v.setTripleAt(g+k-C,v-P,g+k-C,v-P,g+k-E,v-P,1,!0),this.v.setTripleAt(g-k+C,v-P,g-k+E,v-P,g-k+C,v-P,2,!0),this.v.setTripleAt(g-k,v-P+C,g-k,v-P+C,g-k,v-P+E,3,!0),this.v.setTripleAt(g-k,v+P-C,g-k,v+P-E,g-k,v+P-C,4,!0),this.v.setTripleAt(g-k+C,v+P,g-k+C,v+P,g-k+E,v+P,5,!0),this.v.setTripleAt(g+k-C,v+P,g+k-E,v+P,g+k-C,v+P,6,!0),this.v.setTripleAt(g+k,v+P-C,g+k,v+P-C,g+k,v+P-E,7,!0)):(this.v.setTripleAt(g-k,v-P,g-k+E,v-P,g-k,v-P,1,!0),this.v.setTripleAt(g-k,v+P,g-k,v+P-E,g-k,v+P,2,!0),this.v.setTripleAt(g+k,v+P,g+k-E,v+P,g+k,v+P,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],_),_}();function u(_,y,g){var v;if(g===3||g===4){var k=g===3?y.pt:y.ks,P=k.k;P.length?v=new h(_,y,g):v=new o(_,y,g)}else g===5?v=new f(_,y):g===6?v=new c(_,y):g===7&&(v=new d(_,y));return v.k&&_.addDynamicProperty(v),v}function m(){return o}function p(){return h}var x={};return x.getShapeProp=u,x.getConstructorFunction=m,x.getKeyframedConstructorFunction=p,x}();/*! 35 Transformation Matrix v2.0 36 (c) Epistemex 2014-2015 37 www.epistemex.com 38 By Ken Fyrstenberg 39 Contributions by leeoniya. 40 License: MIT, header required. 41 */var 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 s(b){if(b===0)return this;var S=t(b),w=e(b);return this._t(S,-w,0,0,w,S,0,0,0,0,1,0,0,0,0,1)}function a(b){if(b===0)return this;var S=t(b),w=e(b);return this._t(1,0,0,0,0,S,-w,0,0,w,S,0,0,0,0,1)}function o(b){if(b===0)return this;var S=t(b),w=e(b);return this._t(S,0,w,0,0,1,0,0,-w,0,S,0,0,0,0,1)}function l(b){if(b===0)return this;var S=t(b),w=e(b);return this._t(S,-w,0,0,w,S,0,0,0,0,1,0,0,0,0,1)}function h(b,S){return this._t(1,S,b,1,0,0)}function c(b,S){return this.shear(r(b),r(S))}function d(b,S){var w=t(S),F=e(S);return this._t(w,F,0,0,-F,w,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(b),1,0,0,0,0,1,0,0,0,0,1)._t(w,-F,0,0,F,w,0,0,0,0,1,0,0,0,0,1)}function f(b,S,w){return!w&&w!==0&&(w=1),b===1&&S===1&&w===1?this:this._t(b,0,0,0,0,S,0,0,0,0,w,0,0,0,0,1)}function u(b,S,w,F,N,H,G,j,U,J,ne,ae,pe,re,he,q){return this.props[0]=b,this.props[1]=S,this.props[2]=w,this.props[3]=F,this.props[4]=N,this.props[5]=H,this.props[6]=G,this.props[7]=j,this.props[8]=U,this.props[9]=J,this.props[10]=ne,this.props[11]=ae,this.props[12]=pe,this.props[13]=re,this.props[14]=he,this.props[15]=q,this}function m(b,S,w){return w=w||0,b!==0||S!==0||w!==0?this._t(1,0,0,0,0,1,0,0,0,0,1,0,b,S,w,1):this}function p(b,S,w,F,N,H,G,j,U,J,ne,ae,pe,re,he,q){var O=this.props;if(b===1&&S===0&&w===0&&F===0&&N===0&&H===1&&G===0&&j===0&&U===0&&J===0&&ne===1&&ae===0)return O[12]=O[12]*b+O[15]*pe,O[13]=O[13]*H+O[15]*re,O[14]=O[14]*ne+O[15]*he,O[15]*=q,this._identityCalculated=!1,this;var ce=O[0],me=O[1],V=O[2],fe=O[3],be=O[4],ke=O[5],ee=O[6],Ce=O[7],Ae=O[8],Se=O[9],oe=O[10],ve=O[11],se=O[12],Me=O[13],Te=O[14],$e=O[15];return O[0]=ce*b+me*N+V*U+fe*pe,O[1]=ce*S+me*H+V*J+fe*re,O[2]=ce*w+me*G+V*ne+fe*he,O[3]=ce*F+me*j+V*ae+fe*q,O[4]=be*b+ke*N+ee*U+Ce*pe,O[5]=be*S+ke*H+ee*J+Ce*re,O[6]=be*w+ke*G+ee*ne+Ce*he,O[7]=be*F+ke*j+ee*ae+Ce*q,O[8]=Ae*b+Se*N+oe*U+ve*pe,O[9]=Ae*S+Se*H+oe*J+ve*re,O[10]=Ae*w+Se*G+oe*ne+ve*he,O[11]=Ae*F+Se*j+oe*ae+ve*q,O[12]=se*b+Me*N+Te*U+$e*pe,O[13]=se*S+Me*H+Te*J+$e*re,O[14]=se*w+Me*G+Te*ne+$e*he,O[15]=se*F+Me*j+Te*ae+$e*q,this._identityCalculated=!1,this}function x(b){var S=b.props;return this.transform(S[0],S[1],S[2],S[3],S[4],S[5],S[6],S[7],S[8],S[9],S[10],S[11],S[12],S[13],S[14],S[15])}function _(){return this._identityCalculated||(this._identity=!(this.props[0]!==1||this.props[1]!==0||this.props[2]!==0||this.props[3]!==0||this.props[4]!==0||this.props[5]!==1||this.props[6]!==0||this.props[7]!==0||this.props[8]!==0||this.props[9]!==0||this.props[10]!==1||this.props[11]!==0||this.props[12]!==0||this.props[13]!==0||this.props[14]!==0||this.props[15]!==1),this._identityCalculated=!0),this._identity}function y(b){for(var S=0;S<16;){if(b.props[S]!==this.props[S])return!1;S+=1}return!0}function g(b){var S;for(S=0;S<16;S+=1)b.props[S]=this.props[S];return b}function v(b){var S;for(S=0;S<16;S+=1)this.props[S]=b[S]}function k(b,S,w){return{x:b*this.props[0]+S*this.props[4]+w*this.props[8]+this.props[12],y:b*this.props[1]+S*this.props[5]+w*this.props[9]+this.props[13],z:b*this.props[2]+S*this.props[6]+w*this.props[10]+this.props[14]}}function P(b,S,w){return b*this.props[0]+S*this.props[4]+w*this.props[8]+this.props[12]}function C(b,S,w){return b*this.props[1]+S*this.props[5]+w*this.props[9]+this.props[13]}function E(b,S,w){return b*this.props[2]+S*this.props[6]+w*this.props[10]+this.props[14]}function M(){var b=this.props[0]*this.props[5]-this.props[1]*this.props[4],S=this.props[5]/b,w=-this.props[1]/b,F=-this.props[4]/b,N=this.props[0]/b,H=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/b,G=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/b,j=new Matrix;return j.props[0]=S,j.props[1]=w,j.props[4]=F,j.props[5]=N,j.props[12]=H,j.props[13]=G,j}function B(b){var S=this.getInverseMatrix();return S.applyToPointArray(b[0],b[1],b[2]||0)}function D(b){var S,w=b.length,F=[];for(S=0;S<w;S+=1)F[S]=B(b[S]);return F}function I(b,S,w){var F=createTypedArray("float32",6);if(this.isIdentity())F[0]=b[0],F[1]=b[1],F[2]=S[0],F[3]=S[1],F[4]=w[0],F[5]=w[1];else{var N=this.props[0],H=this.props[1],G=this.props[4],j=this.props[5],U=this.props[12],J=this.props[13];F[0]=b[0]*N+b[1]*G+U,F[1]=b[0]*H+b[1]*j+J,F[2]=S[0]*N+S[1]*G+U,F[3]=S[0]*H+S[1]*j+J,F[4]=w[0]*N+w[1]*G+U,F[5]=w[0]*H+w[1]*j+J}return F}function L(b,S,w){var F;return this.isIdentity()?F=[b,S,w]:F=[b*this.props[0]+S*this.props[4]+w*this.props[8]+this.props[12],b*this.props[1]+S*this.props[5]+w*this.props[9]+this.props[13],b*this.props[2]+S*this.props[6]+w*this.props[10]+this.props[14]],F}function R(b,S){if(this.isIdentity())return b+","+S;var w=this.props;return Math.round((b*w[0]+S*w[4]+w[12])*100)/100+","+Math.round((b*w[1]+S*w[5]+w[13])*100)/100}function $(){for(var b=0,S=this.props,w="matrix3d(",F=1e4;b<16;)w+=i(S[b]*F)/F,w+=b===15?")":",",b+=1;return w}function T(b){var S=1e4;return b<1e-6&&b>0||b>-1e-6&&b<0?i(b*S)/S:b}function A(){var b=this.props,S=T(b[0]),w=T(b[1]),F=T(b[4]),N=T(b[5]),H=T(b[12]),G=T(b[13]);return"matrix("+S+","+w+","+F+","+N+","+H+","+G+")"}return function(){this.reset=n,this.rotate=s,this.rotateX=a,this.rotateY=o,this.rotateZ=l,this.skew=c,this.skewFromAxis=d,this.shear=h,this.scale=f,this.setTransform=u,this.translate=m,this.transform=p,this.multiply=x,this.applyToPoint=k,this.applyToX=P,this.applyToY=C,this.applyToZ=E,this.applyToPointArray=L,this.applyToTriplePoints=I,this.applyToPointStringified=R,this.toCSS=$,this.to2dCSS=A,this.clone=g,this.cloneFromProps=v,this.equals=y,this.inversePoints=D,this.inversePoint=B,this.getInverseMatrix=M,this._t=this.transform,this.isIdentity=_,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$3=function(r){return typeof r}:_typeof$3=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$3(t)}var lottie={};function setLocation(t){setLocationHref(t)}function searchAnimations(){animationManager.searchAnimations()}function setSubframeRendering(t){setSubframeEnabled(t)}function setPrefix(t){setIdPrefix(t)}function loadAnimation(t){return animationManager.loadAnimation(t)}function setQuality(t){if(typeof t=="string")switch(t){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10);break}else!isNaN(t)&&t>1&&setDefaultCurveSegments(t)}function inBrowser(){return typeof navigator<"u"}function installPlugin(t,e){t==="expressions"&&setExpressionsPlugin(e)}function getFactory(t){switch(t){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="5.12.2";function checkReady(){document.readyState==="complete"&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(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}var queryString="";{var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{_typeof$3(exports)!=="object"&&(window.bodymovin=lottie)}catch(t){}var ShapeModifiers=function(){var t={},e={};t.registerModifier=r,t.getModifier=i;function r(n,s){e[n]||(e[n]=s)}function i(n,s,a){return new e[n](s,a)}return t}();function ShapeModifier(){}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);function TrimModifier(){}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 s=[];e<=1?s.push({s:t,e}):t>=1?s.push({s:t-1,e:e-1}):(s.push({s:t,e:1}),s.push({s:0,e:e-1}));var a=[],o,l=s.length,h;for(o=0;o<l;o+=1)if(h=s[o],!(h.e*n<i||h.s*n>i+r)){var c,d;h.s*n<=i?c=0:c=(h.s*n-i)/r,h.e*n>=i+r?d=1:d=(h.e*n-i)/r,a.push([c,d])}return a.length||a.push([0,0]),a},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;if(this._mdf||t){var i=this.o.v%360/360;if(i<0&&(i+=1),this.s.v>1?e=1+i:this.s.v<0?e=0+i:e=this.s.v+i,this.e.v>1?r=1+i:this.e.v<0?r=0+i:r=this.e.v+i,e>r){var n=e;e=r,r=n}e=Math.round(e*1e4)*1e-4,r=Math.round(r*1e4)*1e-4,this.sValue=e,this.eValue=r}else e=this.sValue,r=this.eValue;var s,a,o=this.shapes.length,l,h,c,d,f,u=0;if(r===e)for(a=0;a<o;a+=1)this.shapes[a].localShapeCollection.releaseShapes(),this.shapes[a].shape._mdf=!0,this.shapes[a].shape.paths=this.shapes[a].localShapeCollection,this._mdf&&(this.shapes[a].pathsData.length=0);else if(r===1&&e===0||r===0&&e===1){if(this._mdf)for(a=0;a<o;a+=1)this.shapes[a].pathsData.length=0,this.shapes[a].shape._mdf=!0}else{var m=[],p,x;for(a=0;a<o;a+=1)if(p=this.shapes[a],!p.shape._mdf&&!this._mdf&&!t&&this.m!==2)p.shape.paths=p.localShapeCollection;else{if(s=p.shape.paths,h=s._length,f=0,!p.shape._mdf&&p.pathsData.length)f=p.totalShapeLength;else{for(c=this.releasePathsData(p.pathsData),l=0;l<h;l+=1)d=bez.getSegmentsLength(s.shapes[l]),c.push(d),f+=d.totalLength;p.totalShapeLength=f,p.pathsData=c}u+=f,p.shape._mdf=!0}var _=e,y=r,g=0,v;for(a=o-1;a>=0;a-=1)if(p=this.shapes[a],p.shape._mdf){for(x=p.localShapeCollection,x.releaseShapes(),this.m===2&&o>1?(v=this.calculateShapeEdges(e,r,p.totalShapeLength,g,u),g+=p.totalShapeLength):v=[[_,y]],h=v.length,l=0;l<h;l+=1){_=v[l][0],y=v[l][1],m.length=0,y<=1?m.push({s:p.totalShapeLength*_,e:p.totalShapeLength*y}):_>=1?m.push({s:p.totalShapeLength*(_-1),e:p.totalShapeLength*(y-1)}):(m.push({s:p.totalShapeLength*_,e:p.totalShapeLength}),m.push({s:0,e:p.totalShapeLength*(y-1)}));var k=this.addShapes(p,m[0]);if(m[0].s!==m[0].e){if(m.length>1){var P=p.shape.paths.shapes[p.shape.paths._length-1];if(P.c){var C=k.pop();this.addPaths(k,x),k=this.addShapes(p,m[1],C)}else this.addPaths(k,x),k=this.addShapes(p,m[1])}this.addPaths(k,x)}}p.shape.paths=x}}},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,s,a){n.setXYAt(e[0],e[1],"o",s),n.setXYAt(r[0],r[1],"i",s+1),a&&n.setXYAt(t[0],t[1],"v",s),n.setXYAt(i[0],i[1],"v",s+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=t.pathsData,n=t.shape.paths.shapes,s,a=t.shape.paths._length,o,l,h=0,c,d,f,u,m=[],p,x=!0;for(r?(d=r._length,p=r._length):(r=shapePool.newElement(),d=0,p=0),m.push(r),s=0;s<a;s+=1){for(f=i[s].lengths,r.c=n[s].c,l=n[s].c?f.length:f.length+1,o=1;o<l;o+=1)if(c=f[o-1],h+c.addedLength<e.s)h+=c.addedLength,r.c=!1;else if(h>e.e){r.c=!1;break}else e.s<=h&&e.e>=h+c.addedLength?(this.addSegment(n[s].v[o-1],n[s].o[o-1],n[s].i[o],n[s].v[o],r,d,x),x=!1):(u=bez.getNewSegment(n[s].v[o-1],n[s].v[o],n[s].o[o-1],n[s].i[o],(e.s-h)/c.addedLength,(e.e-h)/c.addedLength,f[o-1]),this.addSegmentFromArray(u,r,d,x),x=!1,r.c=!1),h+=c.addedLength,d+=1;if(n[s].c&&f.length){if(c=f[o-1],h<=e.e){var _=f[o-1].addedLength;e.s<=h&&e.e>=h+_?(this.addSegment(n[s].v[o-1],n[s].o[o-1],n[s].i[0],n[s].v[0],r,d,x),x=!1):(u=bez.getNewSegment(n[s].v[o-1],n[s].v[0],n[s].o[o-1],n[s].i[0],(e.s-h)/_,(e.e-h)/_,f[o-1]),this.addSegmentFromArray(u,r,d,x),x=!1,r.c=!1)}else r.c=!1;h+=c.addedLength,d+=1}if(r._length&&(r.setXYAt(r.v[p][0],r.v[p][1],"i",p),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),h>e.e)break;s<a-1&&(r=shapePool.newElement(),x=!0,m.push(r),d=0)}return m};function PuckerAndBloatModifier(){}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,s=0;for(s=0;s<n;s+=1)i[0]+=t.v[s][0],i[1]+=t.v[s][1];i[0]/=n,i[1]/=n;var a=shapePool.newElement();a.c=t.c;var o,l,h,c,d,f;for(s=0;s<n;s+=1)o=t.v[s][0]+(i[0]-t.v[s][0])*r,l=t.v[s][1]+(i[1]-t.v[s][1])*r,h=t.o[s][0]+(i[0]-t.o[s][0])*-r,c=t.o[s][1]+(i[1]-t.o[s][1])*-r,d=t.i[s][0]+(i[0]-t.i[s][0])*-r,f=t.i[s][1]+(i[1]-t.i[s][1])*-r,a.setTripleAt(o,l,h,c,d,f,s);return a},PuckerAndBloatModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,n,s,a=this.amount.v;if(a!==0){var o,l;for(r=0;r<i;r+=1){if(o=this.shapes[r],l=o.localShapeCollection,!(!o.shape._mdf&&!this._mdf&&!t))for(l.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,s=o.shape.paths._length,n=0;n<s;n+=1)l.addShape(this.processPath(e[n],a));o.shape.paths=o.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};var TransformPropertyFactory=function(){var t=[0,0];function e(l){var h=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||h,this.a&&l.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&l.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&l.skewFromAxis(-this.sk.v,this.sa.v),this.r?l.rotate(-this.r.v):l.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?l.translate(this.px.v,this.py.v,-this.pz.v):l.translate(this.px.v,this.py.v,0):l.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}function r(l){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||l){var h;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 c,d;if(h=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(c=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/h,0),d=this.p.getValueAtTime(this.p.keyframes[0].t/h,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(c=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/h,0),d=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/h,0)):(c=this.p.pv,d=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/h,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){c=[],d=[];var f=this.px,u=this.py;f._caching.lastFrame+f.offsetTime<=f.keyframes[0].t?(c[0]=f.getValueAtTime((f.keyframes[0].t+.01)/h,0),c[1]=u.getValueAtTime((u.keyframes[0].t+.01)/h,0),d[0]=f.getValueAtTime(f.keyframes[0].t/h,0),d[1]=u.getValueAtTime(u.keyframes[0].t/h,0)):f._caching.lastFrame+f.offsetTime>=f.keyframes[f.keyframes.length-1].t?(c[0]=f.getValueAtTime(f.keyframes[f.keyframes.length-1].t/h,0),c[1]=u.getValueAtTime(u.keyframes[u.keyframes.length-1].t/h,0),d[0]=f.getValueAtTime((f.keyframes[f.keyframes.length-1].t-.01)/h,0),d[1]=u.getValueAtTime((u.keyframes[u.keyframes.length-1].t-.01)/h,0)):(c=[f.pv,u.pv],d[0]=f.getValueAtTime((f._caching.lastFrame+f.offsetTime-.01)/h,f.offsetTime),d[1]=u.getValueAtTime((u._caching.lastFrame+u.offsetTime-.01)/h,u.offsetTime))}else d=t,c=d;this.v.rotate(-Math.atan2(c[1]-d[1],c[0]-d[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}}function i(){if(this.appliedTransformations=0,this.pre.reset(),!this.a.effectsSequence.length)this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1;else return;if(!this.s.effectsSequence.length)this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2;else return;if(this.sk)if(!this.sk.effectsSequence.length&&!this.sa.effectsSequence.length)this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3;else return;this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):!this.rz.effectsSequence.length&&!this.ry.effectsSequence.length&&!this.rx.effectsSequence.length&&!this.or.effectsSequence.length&&(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}function n(){}function s(l){this._addDynamicProperty(l),this.elem.addDynamicProperty(l),this._isDirty=!0}function a(l,h,c){if(this.elem=l,this.frameId=-1,this.propType="transform",this.data=h,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(c||l),h.p&&h.p.s?(this.px=PropertyFactory.getProp(l,h.p.x,0,0,this),this.py=PropertyFactory.getProp(l,h.p.y,0,0,this),h.p.z&&(this.pz=PropertyFactory.getProp(l,h.p.z,0,0,this))):this.p=PropertyFactory.getProp(l,h.p||{k:[0,0,0]},1,0,this),h.rx){if(this.rx=PropertyFactory.getProp(l,h.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(l,h.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(l,h.rz,0,degToRads,this),h.or.k[0].ti){var d,f=h.or.k.length;for(d=0;d<f;d+=1)h.or.k[d].to=null,h.or.k[d].ti=null}this.or=PropertyFactory.getProp(l,h.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(l,h.r||{k:0},0,degToRads,this);h.sk&&(this.sk=PropertyFactory.getProp(l,h.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(l,h.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(l,h.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(l,h.s||{k:[100,100,100]},1,.01,this),h.o?this.o=PropertyFactory.getProp(l,h.o,0,.01,l):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}a.prototype={applyToMatrix:e,getValue:r,precalculateMatrix:i,autoOrient:n},extendPrototype([DynamicPropertyContainer],a),a.prototype.addDynamicProperty=s,a.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty;function o(l,h,c){return new a(l,h,c)}return{getTransformProperty:o}}();function RepeaterModifier(){}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,s){var a=s?-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]*a*n,i.p.v[1]*a*n,i.p.v[2]),e.translate(-i.a.v[0],-i.a.v[1],i.a.v[2]),e.rotate(-i.r.v*a*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(s?1/o:o,s?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,t[e].ty==="gr"&&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,t[r].ty==="gr"&&this.changeGroupRender(t[r].it,e)},RepeaterModifier.prototype.processShapes=function(t){var e,r,i,n,s,a=!1;if(this._mdf||t){var o=Math.ceil(this.c.v);if(this._groups.length<o){for(;this._groups.length<o;){var l={it:this.cloneElements(this._elements),ty:"gr"};l.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,l),this._groups.splice(0,0,l),this._currentCopies+=1}this.elem.reloadShapes(),a=!0}s=0;var h;for(i=0;i<=this._groups.length-1;i+=1){if(h=s<o,this._groups[i]._render=h,this.changeGroupRender(this._groups[i].it,h),!h){var c=this.elemsData[i].it,d=c[c.length-1];d.transform.op.v!==0?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}s+=1}this._currentCopies=o;var f=this.o.v,u=f%1,m=f>0?Math.floor(f):Math.ceil(f),p=this.pMatrix.props,x=this.rMatrix.props,_=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var y=0;if(f>0){for(;y<m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),y+=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,u,!1),y+=u)}else if(f<0){for(;y>m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),y-=1;u&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-u,!0),y-=u)}i=this.data.m===1?0:this._currentCopies-1,n=this.data.m===1?1:-1,s=this._currentCopies;for(var g,v;s;){if(e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,v=r.length,e[e.length-1].transform.mProps._mdf=!0,e[e.length-1].transform.op._mdf=!0,e[e.length-1].transform.op.v=this._currentCopies===1?this.so.v:this.so.v+(this.eo.v-this.so.v)*(i/(this._currentCopies-1)),y!==0){for((i!==0&&n===1||i!==this._currentCopies-1&&n===-1)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(x[0],x[1],x[2],x[3],x[4],x[5],x[6],x[7],x[8],x[9],x[10],x[11],x[12],x[13],x[14],x[15]),this.matrix.transform(_[0],_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14],_[15]),this.matrix.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]),g=0;g<v;g+=1)r[g]=this.matrix.props[g];this.matrix.reset()}else for(this.matrix.reset(),g=0;g<v;g+=1)r[g]=this.matrix.props[g];y+=1,s-=1,i+=n}}else for(s=this._currentCopies,i=0,n=1;s;)e=this.elemsData[i].it,r=e[e.length-1].transform.mProps.v.props,e[e.length-1].transform.mProps._mdf=!1,e[e.length-1].transform.op._mdf=!1,s-=1,i+=n;return a},RepeaterModifier.prototype.addShape=function(){};function RoundCornersModifier(){}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=shapePool.newElement();r.c=t.c;var i,n=t._length,s,a,o,l,h,c,d=0,f,u,m,p,x,_;for(i=0;i<n;i+=1)s=t.v[i],o=t.o[i],a=t.i[i],s[0]===o[0]&&s[1]===o[1]&&s[0]===a[0]&&s[1]===a[1]?(i===0||i===n-1)&&!t.c?(r.setTripleAt(s[0],s[1],o[0],o[1],a[0],a[1],d),d+=1):(i===0?l=t.v[n-1]:l=t.v[i-1],h=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),c=h?Math.min(h/2,e)/h:0,x=s[0]+(l[0]-s[0])*c,f=x,_=s[1]-(s[1]-l[1])*c,u=_,m=f-(f-s[0])*roundCorner,p=u-(u-s[1])*roundCorner,r.setTripleAt(f,u,m,p,x,_,d),d+=1,i===n-1?l=t.v[0]:l=t.v[i+1],h=Math.sqrt(Math.pow(s[0]-l[0],2)+Math.pow(s[1]-l[1],2)),c=h?Math.min(h/2,e)/h:0,m=s[0]+(l[0]-s[0])*c,f=m,p=s[1]+(l[1]-s[1])*c,u=p,x=f-(f-s[0])*roundCorner,_=u-(u-s[1])*roundCorner,r.setTripleAt(f,u,m,p,x,_,d),d+=1):(r.setTripleAt(t.v[i][0],t.v[i][1],t.o[i][0],t.o[i][1],t.i[i][0],t.i[i][1],d),d+=1);return r},RoundCornersModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,n,s,a=this.rd.v;if(a!==0){var o,l;for(r=0;r<i;r+=1){if(o=this.shapes[r],l=o.localShapeCollection,!(!o.shape._mdf&&!this._mdf&&!t))for(l.releaseShapes(),o.shape._mdf=!0,e=o.shape.paths.shapes,s=o.shape.paths._length,n=0;n<s;n+=1)l.addShape(this.processPath(e[n],a));o.shape.paths=o.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function floatEqual(t,e){return Math.abs(t-e)*1e5<=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(t===0)return[];var i=e*e-4*t*r;if(i<0)return[];var n=-e/(2*t);if(i===0)return[n];var s=Math.sqrt(i)/(2*t);return[n-s,n+s]}function polynomialCoefficients(t,e,r,i){return[-t+3*e-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 s=polynomialCoefficients(t[0],e[0],r[0],i[0]),a=polynomialCoefficients(t[1],e[1],r[1],i[1]);this.a=[s[0],a[0]],this.b=[s[1],a[1]],this.c=[s[2],a[2]],this.d=[s[3],a[3]],this.points=[t,e,r,i]}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(n){return n>0&&n<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),s=lerpPoint(r,i,t),a=lerpPoint(n,s,t);return[new PolynomialBezier(this.points[0],e,n,a,!0),new PolynomialBezier(a,s,i,this.points[3],!0)]};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 s=quadRoots(3*t.a[e],2*t.b[e],t.c[e]),a=0;a<s.length;a+=1)if(s[a]>0&&s[a]<1){var o=t.point(s[a])[e];o<r?r=o:o>i&&(i=o)}return{min:r,max:i}}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}};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 Math.abs(t.cx-e.cx)*2<t.width+e.width&&Math.abs(t.cy-e.cy)*2<t.height+e.height}function intersectsImpl(t,e,r,i,n,s){if(boxIntersect(t,e)){if(r>=s||t.width<=i&&t.height<=i&&e.width<=i&&e.height<=i){n.push([t.t,e.t]);return}var a=splitData(t),o=splitData(e);intersectsImpl(a[0],o[0],r+1,i,n,s),intersectsImpl(a[0],o[1],r+1,i,n,s),intersectsImpl(a[1],o[0],r+1,i,n,s),intersectsImpl(a[1],o[1],r+1,i,n,s)}}PolynomialBezier.prototype.intersections=function(t,e,r){e===void 0&&(e=2),r===void 0&&(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)};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],s=[e[0],e[1],1],a=[r[0],r[1],1],o=[i[0],i[1],1],l=crossProduct(crossProduct(n,s),crossProduct(a,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(){}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=this.amplitude.effectsSequence.length!==0||this.frequency.effectsSequence.length!==0||this.pointsType.effectsSequence.length!==0};function setPoint(t,e,r,i,n,s,a){var o=r-Math.PI/2,l=r+Math.PI/2,h=e[0]+Math.cos(r)*i*n,c=e[1]-Math.sin(r)*i*n;t.setTripleAt(h,c,h+Math.cos(o)*s,c-Math.sin(o)*s,h+Math.cos(l)*a,c-Math.sin(l)*a,t.length())}function getPerpendicularVector(t,e){var r=[e[0]-t[0],e[1]-t[1]],i=-Math.PI*.5,n=[Math.cos(i)*r[0]-Math.sin(i)*r[1],Math.sin(i)*r[0]+Math.cos(i)*r[1]];return n}function getProjectingAngle(t,e){var r=e===0?t.length()-1:e-1,i=(e+1)%t.length(),n=t.v[r],s=t.v[i],a=getPerpendicularVector(n,s);return Math.atan2(0,1)-Math.atan2(a[1],a[0])}function zigZagCorner(t,e,r,i,n,s,a){var o=getProjectingAngle(e,r),l=e.v[r%e._length],h=e.v[r===0?e._length-1:r-1],c=e.v[(r+1)%e._length],d=s===2?Math.sqrt(Math.pow(l[0]-h[0],2)+Math.pow(l[1]-h[1],2)):0,f=s===2?Math.sqrt(Math.pow(l[0]-c[0],2)+Math.pow(l[1]-c[1],2)):0;setPoint(t,e.v[r%e._length],o,a,i,f/((n+1)*2),d/((n+1)*2))}function zigZagSegment(t,e,r,i,n,s){for(var a=0;a<i;a+=1){var o=(a+1)/(i+1),l=n===2?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,h=e.normalAngle(o),c=e.point(o);setPoint(t,c,h,s,r,l/((i+1)*2),l/((i+1)*2)),s=-s}return s}ZigZagModifier.prototype.processPath=function(t,e,r,i){var n=t._length,s=shapePool.newElement();if(s.c=t.c,t.c||(n-=1),n===0)return s;var a=-1,o=PolynomialBezier.shapeSegment(t,0);zigZagCorner(s,t,0,e,r,i,a);for(var l=0;l<n;l+=1)a=zigZagSegment(s,o,e,r,i,-a),l===n-1&&!t.c?o=null:o=PolynomialBezier.shapeSegment(t,(l+1)%n),zigZagCorner(s,t,l+1,e,r,i,a);return s},ZigZagModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,n,s,a=this.amplitude.v,o=Math.max(0,Math.round(this.frequency.v)),l=this.pointsType.v;if(a!==0){var h,c;for(r=0;r<i;r+=1){if(h=this.shapes[r],c=h.localShapeCollection,!(!h.shape._mdf&&!this._mdf&&!t))for(c.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,n=0;n<s;n+=1)c.addShape(this.processPath(e[n],a,o,l));h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};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,s,a,o,l;l=linearOffset(t.points[0],t.points[1],e),r=l[0],i=l[1],l=linearOffset(t.points[1],t.points[2],e),n=l[0],s=l[1],l=linearOffset(t.points[2],t.points[3],e),a=l[0],o=l[1];var h=lineIntersection(r,i,n,s);h===null&&(h=i);var c=lineIntersection(a,o,n,s);return c===null&&(c=a),new PolynomialBezier(r,h,c,o)}function joinLines(t,e,r,i,n){var s=e.points[3],a=r.points[0];if(i===3||pointEqual(s,a))return s;if(i===2){var o=-e.tangentAngle(1),l=-r.tangentAngle(0)+Math.PI,h=lineIntersection(s,polarOffset(s,o+Math.PI/2,100),a,polarOffset(a,o+Math.PI/2,100)),c=h?pointDistance(h,s):pointDistance(s,a)/2,d=polarOffset(s,o,2*c*roundCorner);return t.setXYAt(d[0],d[1],"o",t.length()-1),d=polarOffset(a,l,2*c*roundCorner),t.setTripleAt(a[0],a[1],a[0],a[1],d[0],d[1],t.length()),a}var f=pointEqual(s,e.points[2])?e.points[0]:e.points[2],u=pointEqual(a,r.points[1])?r.points[3]:r.points[1],m=lineIntersection(f,s,a,u);return m&&pointDistance(m,s)<n?(t.setTripleAt(m[0],m[1],m[0],m[1],m[0],m[1],t.length()),m):s}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]),n)?[[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=t.inflectionPoints(),i,n,s,a;if(r.length===0)return[offsetSegment(t,e)];if(r.length===1||floatEqual(r[1],1))return s=t.split(r[0]),i=s[0],n=s[1],[offsetSegment(i,e),offsetSegment(n,e)];s=t.split(r[0]),i=s[0];var o=(r[1]-r[0])/(1-r[0]);return s=s[1].split(o),a=s[0],n=s[1],[offsetSegment(i,e),offsetSegment(a,e),offsetSegment(n,e)]}function OffsetPathModifier(){}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=this.amount.effectsSequence.length!==0},OffsetPathModifier.prototype.processPath=function(t,e,r,i){var n=shapePool.newElement();n.c=t.c;var s=t.length();t.c||(s-=1);var a,o,l,h=[];for(a=0;a<s;a+=1)l=PolynomialBezier.shapeSegment(t,a),h.push(offsetSegmentSplit(l,e));if(!t.c)for(a=s-1;a>=0;a-=1)l=PolynomialBezier.shapeSegmentInverted(t,a),h.push(offsetSegmentSplit(l,e));h=pruneIntersections(h);var c=null,d=null;for(a=0;a<h.length;a+=1){var f=h[a];for(d&&(c=joinLines(n,d,f[0],r,i)),d=f[f.length-1],o=0;o<f.length;o+=1)l=f[o],c&&pointEqual(l.points[0],c)?n.setXYAt(l.points[1][0],l.points[1][1],"o",n.length()-1):n.setTripleAt(l.points[0][0],l.points[0][1],l.points[1][0],l.points[1][1],l.points[0][0],l.points[0][1],n.length()),n.setTripleAt(l.points[3][0],l.points[3][1],l.points[3][0],l.points[3][1],l.points[2][0],l.points[2][1],n.length()),c=l.points[3]}return h.length&&joinLines(n,d,h[0][0],r,i),n},OffsetPathModifier.prototype.processShapes=function(t){var e,r,i=this.shapes.length,n,s,a=this.amount.v,o=this.miterLimit.v,l=this.lineJoin;if(a!==0){var h,c;for(r=0;r<i;r+=1){if(h=this.shapes[r],c=h.localShapeCollection,!(!h.shape._mdf&&!this._mdf&&!t))for(c.releaseShapes(),h.shape._mdf=!0,e=h.shape.paths.shapes,s=h.shape.paths._length,n=0;n<s;n+=1)c.addShape(this.processPath(e[n],a,l,o));h.shape.paths=h.localShapeCollection}}this.dynamicProperties.length||(this._mdf=!1)};function getFontProperties(t){for(var e=t.fStyle?t.fStyle.split(" "):[],r="normal",i="normal",n=e.length,s,a=0;a<n;a+=1)switch(s=e[a].toLowerCase(),s){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";break}return{style:i,weight:t.fWeight||r}}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=127988,n=917631,s=917601,a=917626,o=65039,l=8205,h=127462,c=127487,d=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"];function f(T){var A=T.split(","),b,S=A.length,w=[];for(b=0;b<S;b+=1)A[b]!=="sans-serif"&&A[b]!=="monospace"&&w.push(A[b]);return w.join(",")}function u(T,A){var b=createTag("span");b.setAttribute("aria-hidden",!0),b.style.fontFamily=A;var S=createTag("span");S.innerText="giItT1WQy@!-/#",b.style.position="absolute",b.style.left="-10000px",b.style.top="-10000px",b.style.fontSize="300px",b.style.fontVariant="normal",b.style.fontStyle="normal",b.style.fontWeight="normal",b.style.letterSpacing="0",b.appendChild(S),document.body.appendChild(b);var w=S.offsetWidth;return S.style.fontFamily=f(T)+", "+A,{node:S,w,parent:b}}function m(){var T,A=this.fonts.length,b,S,w=A;for(T=0;T<A;T+=1)this.fonts[T].loaded?w-=1:this.fonts[T].fOrigin==="n"||this.fonts[T].origin===0?this.fonts[T].loaded=!0:(b=this.fonts[T].monoCase.node,S=this.fonts[T].monoCase.w,b.offsetWidth!==S?(w-=1,this.fonts[T].loaded=!0):(b=this.fonts[T].sansCase.node,S=this.fonts[T].sansCase.w,b.offsetWidth!==S&&(w-=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)));w!==0&&Date.now()-this.initTime<t?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)}function p(T,A){var b=document.body&&A?"svg":"canvas",S,w=getFontProperties(T);if(b==="svg"){var F=createNS("text");F.style.fontSize="100px",F.setAttribute("font-family",T.fFamily),F.setAttribute("font-style",w.style),F.setAttribute("font-weight",w.weight),F.textContent="1",T.fClass?(F.style.fontFamily="inherit",F.setAttribute("class",T.fClass)):F.style.fontFamily=T.fFamily,A.appendChild(F),S=F}else{var N=new OffscreenCanvas(500,500).getContext("2d");N.font=w.style+" "+w.weight+" 100px "+T.fFamily,S=N}function H(G){return b==="svg"?(S.textContent=G,S.getComputedTextLength()):S.measureText(G).width}return{measureText:H}}function x(T,A){if(!T){this.isLoaded=!0;return}if(this.chars){this.isLoaded=!0,this.fonts=T.list;return}if(!document.body){this.isLoaded=!0,T.list.forEach(function(ne){ne.helper=p(ne),ne.cache={}}),this.fonts=T.list;return}var b=T.list,S,w=b.length,F=w;for(S=0;S<w;S+=1){var N=!0,H,G;if(b[S].loaded=!1,b[S].monoCase=u(b[S].fFamily,"monospace"),b[S].sansCase=u(b[S].fFamily,"sans-serif"),!b[S].fPath)b[S].loaded=!0,F-=1;else if(b[S].fOrigin==="p"||b[S].origin===3){if(H=document.querySelectorAll('style[f-forigin="p"][f-family="'+b[S].fFamily+'"], style[f-origin="3"][f-family="'+b[S].fFamily+'"]'),H.length>0&&(N=!1),N){var j=createTag("style");j.setAttribute("f-forigin",b[S].fOrigin),j.setAttribute("f-origin",b[S].origin),j.setAttribute("f-family",b[S].fFamily),j.type="text/css",j.innerText="@font-face {font-family: "+b[S].fFamily+"; font-style: normal; src: url('"+b[S].fPath+"');}",A.appendChild(j)}}else if(b[S].fOrigin==="g"||b[S].origin===1){for(H=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),G=0;G<H.length;G+=1)H[G].href.indexOf(b[S].fPath)!==-1&&(N=!1);if(N){var U=createTag("link");U.setAttribute("f-forigin",b[S].fOrigin),U.setAttribute("f-origin",b[S].origin),U.type="text/css",U.rel="stylesheet",U.href=b[S].fPath,document.body.appendChild(U)}}else if(b[S].fOrigin==="t"||b[S].origin===2){for(H=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),G=0;G<H.length;G+=1)b[S].fPath===H[G].src&&(N=!1);if(N){var J=createTag("link");J.setAttribute("f-forigin",b[S].fOrigin),J.setAttribute("f-origin",b[S].origin),J.setAttribute("rel","stylesheet"),J.setAttribute("href",b[S].fPath),A.appendChild(J)}}b[S].helper=p(b[S],A),b[S].cache={},this.fonts.push(b[S])}F===0?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}function _(T){if(T){this.chars||(this.chars=[]);var A,b=T.length,S,w=this.chars.length,F;for(A=0;A<b;A+=1){for(S=0,F=!1;S<w;)this.chars[S].style===T[A].style&&this.chars[S].fFamily===T[A].fFamily&&this.chars[S].ch===T[A].ch&&(F=!0),S+=1;F||(this.chars.push(T[A]),w+=1)}}}function y(T,A,b){for(var S=0,w=this.chars.length;S<w;){if(this.chars[S].ch===T&&this.chars[S].style===A&&this.chars[S].fFamily===b)return this.chars[S];S+=1}return(typeof T=="string"&&T.charCodeAt(0)!==13||!T)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",T,A,b)),e}function g(T,A,b){var S=this.getFontByName(A),w=T;if(!S.cache[w]){var F=S.helper;if(T===" "){var N=F.measureText("|"+T+"|"),H=F.measureText("||");S.cache[w]=(N-H)/100}else S.cache[w]=F.measureText(T)/100}return S.cache[w]*b}function v(T){for(var A=0,b=this.fonts.length;A<b;){if(this.fonts[A].fName===T)return this.fonts[A];A+=1}return this.fonts[0]}function k(T){var A=0,b=T.charCodeAt(0);if(b>=55296&&b<=56319){var S=T.charCodeAt(1);S>=56320&&S<=57343&&(A=(b-55296)*1024+S-56320+65536)}return A}function P(T,A){var b=T.toString(16)+A.toString(16);return d.indexOf(b)!==-1}function C(T){return T===l}function E(T){return T===o}function M(T){var A=k(T);return A>=h&&A<=c}function B(T){return M(T.substr(0,2))&&M(T.substr(2,2))}function D(T){return r.indexOf(T)!==-1}function I(T,A){var b=k(T.substr(A,2));if(b!==i)return!1;var S=0;for(A+=2;S<5;){if(b=k(T.substr(A,2)),b<s||b>a)return!1;S+=1,A+=2}return k(T.substr(A,2))===n}function L(){this.isLoaded=!0}var R=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)};R.isModifier=P,R.isZeroWidthJoiner=C,R.isFlagEmoji=B,R.isRegionalCode=M,R.isCombinedCharacter=D,R.isRegionalFlag=I,R.isVariationSelector=E,R.BLACK_FLAG_CODE_POINT=i;var $={addChars:_,addFonts:x,getCharData:y,getFontByName:v,measureText:g,checkLoadedFonts:m,setIsLoaded:L};return R.prototype=$,R}();function SlotManager(t){this.animationData=t}SlotManager.prototype.getProp=function(t){return this.animationData.slots&&this.animationData.slots[t.sid]?Object.assign(t,this.animationData.slots[t.sid].p):t};function slotFactory(t){return new SlotManager(t)}function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){this.renderableComponents.indexOf(e)===-1&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){this.renderableComponents.indexOf(e)!==-1&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?this.isInRange!==!0&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):this.isInRange!==!1&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,r=this.renderableComponents.length;for(e=0;e<r;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return this.data.ty===5?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};var getBlendMode=function(){var t={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"};return function(e){return t[e]||""}}();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=t.ef||[];this.effectElements=[];var i,n=r.length,s;for(i=0;i<n;i+=1)s=new GroupEffect(r[i],e),this.effectElements.push(s)}function GroupEffect(t,e){this.init(t,e)}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(t,e){this.data=t,this.effectElements=[],this.initDynamicPropertyContainer(e);var r,i=this.data.ef.length,n,s=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,s[r].ty){case 0:n=new SliderEffect(s[r],e,this);break;case 1:n=new AngleEffect(s[r],e,this);break;case 2:n=new ColorEffect(s[r],e,this);break;case 3:n=new PointEffect(s[r],e,this);break;case 4:case 7:n=new CheckboxEffect(s[r],e,this);break;case 10:n=new LayerIndexEffect(s[r],e,this);break;case 11:n=new MaskIndexEffect(s[r],e,this);break;case 5:n=new EffectsManager(s[r],e);break;default:n=new NoValueEffect(s[r]);break}n&&this.effectElements.push(n)}};function BaseElement(){}BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,r=this.data.masksProperties.length;e<r;){if(this.data.masksProperties[e].mode!=="n"&&this.data.masksProperties[e].cl!==!1)return!0;e+=1}return!1},initExpressions:function(){var e=getExpressionInterfaces();if(e){var r=e("layer"),i=e("effects"),n=e("shape"),s=e("text"),a=e("comp");this.layerInterface=r(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var o=i.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(o),this.data.ty===0||this.data.xt?this.compInterface=a(this):this.data.ty===4?(this.layerInterface.shapeInterface=n(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):this.data.ty===5&&(this.layerInterface.textInterface=s(this),this.layerInterface.text=this.layerInterface.textInterface)}},setBlendMode:function(){var e=getBlendMode(this.data.bm),r=this.baseElement||this.layerElement;r.style["mix-blend-mode"]=e},initBaseData:function(e,r,i){this.globalData=r,this.comp=i,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}};function FrameElement(){}FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,r){var i,n=this.dynamicProperties.length;for(i=0;i<n;i+=1)(r||this._isParent&&this.dynamicProperties[i].propType==="transform")&&(this.dynamicProperties[i].getValue(),this.dynamicProperties[i]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){this.dynamicProperties.indexOf(e)===-1&&this.dynamicProperties.push(e)}};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)}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};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)}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(){};function BaseRenderer(){}BaseRenderer.prototype.checkLayers=function(t){var e,r=this.layers.length,i;for(this.completeLayers=!0,e=r-1;e>=0;e-=1)this.elements[e]||(i=this.layers[e],i.ip-i.st<=t-this.layers[e].st&&i.op-i.st>t-this.layers[e].st&&this.buildItem(e)),this.completeLayers=this.elements[e]?this.completeLayers:!1;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(t){switch(t.ty){case 2:return this.createImage(t);case 0:return this.createComp(t);case 1:return this.createSolid(t);case 3:return this.createNull(t);case 4:return this.createShape(t);case 5:return this.createText(t);case 6:return this.createAudio(t);case 13:return this.createCamera(t);case 15:return this.createFootage(t);default:return this.createNull(t)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(t){return new AudioElement(t,this.globalData,this)},BaseRenderer.prototype.createFootage=function(t){return new FootageElement(t,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var t,e=this.layers.length;for(t=0;t<e;t+=1)this.buildItem(t);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(t){this.completeLayers=!1;var e,r=t.length,i,n=this.layers.length;for(e=0;e<r;e+=1)for(i=0;i<n;){if(this.layers[i].id===t[e].id){this.layers[i]=t[e];break}i+=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,s=0,a=n.length;s<a;)n[s].ind==e&&(!i[s]||i[s]===!0?(this.buildItem(s),this.addPendingElement(t)):(r.push(i[s]),i[s].setAsParent(),n[s].parent!==void 0?this.buildElementParenting(t,n[s].parent,r):t.setHierarchy(r))),s+=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=t.shift(),r;if(typeof e=="number")r=this.elements[e];else{var i,n=this.elements.length;for(i=0;i<n;i+=1)if(this.elements[i].data.nm===e){r=this.elements[i];break}}return t.length===0?r:r.getElementByPath(t)},BaseRenderer.prototype.setupGlobalData=function(t,e){this.globalData.fontManager=new FontManager,this.globalData.slotManager=slotFactory(t),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}};var effectTypes={TRANSFORM_EFFECT:"transformEFfect"};function TransformElement(){}TransformElement.prototype={initTransform:function(){var e=new Matrix;this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_localMatMdf:!1,_opMdf:!1,mat:e,localMat:e,localOpacity:1},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,r=this.finalTransform.mat,i=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;i<n;){if(this.hierarchy[i].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}i+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,r.cloneFromProps(e),i=0;i<n;i+=1)r.multiply(this.hierarchy[i].finalTransform.mProp.v)}this.finalTransform._matMdf&&(this.finalTransform._localMatMdf=this.finalTransform._matMdf),this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v)},renderLocalTransform:function(){if(this.localTransforms){var e=0,r=this.localTransforms.length;if(this.finalTransform._localMatMdf=this.finalTransform._matMdf,!this.finalTransform._localMatMdf||!this.finalTransform._opMdf)for(;e<r;)this.localTransforms[e]._mdf&&(this.finalTransform._localMatMdf=!0),this.localTransforms[e]._opMdf&&!this.finalTransform._opMdf&&(this.finalTransform.localOpacity=this.finalTransform.mProp.o.v,this.finalTransform._opMdf=!0),e+=1;if(this.finalTransform._localMatMdf){var i=this.finalTransform.localMat;for(this.localTransforms[0].matrix.clone(i),e=1;e<r;e+=1){var n=this.localTransforms[e].matrix;i.multiply(n)}i.multiply(this.finalTransform.mat)}if(this.finalTransform._opMdf){var s=this.finalTransform.localOpacity;for(e=0;e<r;e+=1)s*=this.localTransforms[e].opacity*.01;this.finalTransform.localOpacity=s}}},searchEffectTransforms:function(){if(this.renderableEffectsManager){var e=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT);if(e.length){this.localTransforms=[],this.finalTransform.localMat=new Matrix;var r=0,i=e.length;for(r=0;r<i;r+=1)this.localTransforms.push(e[r])}}},globalToLocal:function(e){var r=[];r.push(this.finalTransform);for(var i=!0,n=this.comp;i;)n.finalTransform?(n.data.hasMask&&r.splice(0,0,n.finalTransform),n=n.comp):i=!1;var s,a=r.length,o;for(s=0;s<a;s+=1)o=r[s].mat.applyToPointArray(0,0,0),e=[e[0]-o[0],e[1]-o[1],0];return e},mHelper:new Matrix};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=this.globalData.defs,n,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var a,o=this.masksProperties,l=0,h=[],c,d,f=createElementID(),u,m,p,x,_="clipPath",y="clip-path";for(n=0;n<s;n+=1)if((o[n].mode!=="a"&&o[n].mode!=="n"||o[n].inv||o[n].o.k!==100||o[n].o.x)&&(_="mask",y="mask"),(o[n].mode==="s"||o[n].mode==="i")&&l===0?(u=createNS("rect"),u.setAttribute("fill","#ffffff"),u.setAttribute("width",this.element.comp.data.w||0),u.setAttribute("height",this.element.comp.data.h||0),h.push(u)):u=null,a=createNS("path"),o[n].mode==="n")this.viewData[n]={op:PropertyFactory.getProp(this.element,o[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,o[n],3),elem:a,lastPath:""},i.appendChild(a);else{l+=1,a.setAttribute("fill",o[n].mode==="s"?"#000000":"#ffffff"),a.setAttribute("clip-rule","nonzero");var g;if(o[n].x.k!==0?(_="mask",y="mask",x=PropertyFactory.getProp(this.element,o[n].x,0,null,this.element),g=createElementID(),m=createNS("filter"),m.setAttribute("id",g),p=createNS("feMorphology"),p.setAttribute("operator","erode"),p.setAttribute("in","SourceGraphic"),p.setAttribute("radius","0"),m.appendChild(p),i.appendChild(m),a.setAttribute("stroke",o[n].mode==="s"?"#000000":"#ffffff")):(p=null,x=null),this.storedData[n]={elem:a,x,expan:p,lastPath:"",lastOperator:"",filterId:g,lastRadius:0},o[n].mode==="i"){d=h.length;var v=createNS("g");for(c=0;c<d;c+=1)v.appendChild(h[c]);var k=createNS("mask");k.setAttribute("mask-type","alpha"),k.setAttribute("id",f+"_"+l),k.appendChild(a),i.appendChild(k),v.setAttribute("mask","url("+getLocationHref()+"#"+f+"_"+l+")"),h.length=0,h.push(v)}else h.push(a);o[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:a,lastPath:"",op:PropertyFactory.getProp(this.element,o[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,o[n],3),invRect:u},this.viewData[n].prop.k||this.drawPath(o[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(_),s=h.length,n=0;n<s;n+=1)this.maskElement.appendChild(h[n]);l>0&&(this.maskElement.setAttribute("id",f),this.element.maskedElement.setAttribute(y,"url("+getLocationHref()+"#"+f+")"),i.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}MaskElement.prototype.getMaskProperty=function(t){return this.viewData[t].prop},MaskElement.prototype.renderFrame=function(t){var e=this.element.finalTransform.mat,r,i=this.masksProperties.length;for(r=0;r<i;r+=1)if((this.viewData[r].prop._mdf||t)&&this.drawPath(this.masksProperties[r],this.viewData[r].prop.v,this.viewData[r]),(this.viewData[r].op._mdf||t)&&this.viewData[r].elem.setAttribute("fill-opacity",this.viewData[r].op.v),this.masksProperties[r].mode!=="n"&&(this.viewData[r].invRect&&(this.element.finalTransform.mProp._mdf||t)&&this.viewData[r].invRect.setAttribute("transform",e.getInverseMatrix().to2dCSS()),this.storedData[r].x&&(this.storedData[r].x._mdf||t))){var n=this.storedData[r].expan;this.storedData[r].x.v<0?(this.storedData[r].lastOperator!=="erode"&&(this.storedData[r].lastOperator="erode",this.storedData[r].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[r].filterId+")")),n.setAttribute("radius",-this.storedData[r].x.v)):(this.storedData[r].lastOperator!=="dilate"&&(this.storedData[r].lastOperator="dilate",this.storedData[r].elem.setAttribute("filter",null)),this.storedData[r].elem.setAttribute("stroke-width",this.storedData[r].x.v*2))}},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+" ",t},MaskElement.prototype.drawPath=function(t,e,r){var i=" M"+e.v[0][0]+","+e.v[0][1],n,s;for(s=e._length,n=1;n<s;n+=1)i+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[n][0]+","+e.i[n][1]+" "+e.v[n][0]+","+e.v[n][1];if(e.c&&s>1&&(i+=" C"+e.o[n-1][0]+","+e.o[n-1][1]+" "+e.i[0][0]+","+e.i[0][1]+" "+e.v[0][0]+","+e.v[0][1]),r.lastPath!==i){var a="";r.elem&&(e.c&&(a=t.inv?this.solidPath+i:i),r.elem.setAttribute("d",a)),r.lastPath=i}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var t={};t.createFilter=e,t.createAlphaToLuminanceFilter=r;function e(i,n){var s=createNS("filter");return s.setAttribute("id",i),n!==!0&&(s.setAttribute("filterUnits","objectBoundingBox"),s.setAttribute("x","0%"),s.setAttribute("y","0%"),s.setAttribute("width","100%"),s.setAttribute("height","100%")),s}function r(){var i=createNS("feColorMatrix");return i.setAttribute("type","matrix"),i.setAttribute("color-interpolation-filters","sRGB"),i.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),i}return t}(),featureSupport=function(){var t={maskType:!0,svgLumaHidden:!0,offscreenCanvas:typeof OffscreenCanvas<"u"};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(t.maskType=!1),/firefox/i.test(navigator.userAgent)&&(t.svgLumaHidden=!1),t}(),registeredEffects$1={},idPrefix="filter_result_";function SVGEffects(t){var e,r="SourceGraphic",i=t.data.ef?t.data.ef.length:0,n=createElementID(),s=filtersFactory.createFilter(n,!0),a=0;this.filters=[];var o;for(e=0;e<i;e+=1){o=null;var l=t.data.ef[e].ty;if(registeredEffects$1[l]){var h=registeredEffects$1[l].effect;o=new h(s,t.effectsManager.effectElements[e],t,idPrefix+a,r),r=idPrefix+a,registeredEffects$1[l].countsAsEffect&&(a+=1)}o&&this.filters.push(o)}a&&(t.globalData.defs.appendChild(s),t.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+n+")")),this.filters.length&&t.addRenderableComponent(this)}SVGEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},SVGEffects.prototype.getEffects=function(t){var e,r=this.filters.length,i=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&i.push(this.filters[e]);return i};function registerEffect$1(t,e,r){registeredEffects$1[t]={effect:e,countsAsEffect:r}}function SVGBaseElement(){}SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e=null;if(this.data.td){this.matteMasks={};var r=createNS("g");r.setAttribute("id",this.layerId),r.appendChild(this.layerElement),e=r,this.globalData.defs.appendChild(r)}else this.data.tt?(this.matteElement.appendChild(this.layerElement),e=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.ty===0&&!this.data.hd){var 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 s=createElementID();if(i.setAttribute("id",s),i.appendChild(n),this.globalData.defs.appendChild(i),this.checkMasks()){var a=createNS("g");a.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")"),a.appendChild(this.layerElement),this.transformedElement=a,e?e.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+s+")")}this.data.bm!==0&&this.setBlendMode()},renderElement:function(){this.finalTransform._localMatMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.localMat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.localOpacity)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this),this.searchEffectTransforms()},getMatte:function(e){if(this.matteMasks||(this.matteMasks={}),!this.matteMasks[e]){var r=this.layerId+"_"+e,i,n,s,a;if(e===1||e===3){var o=createNS("mask");o.setAttribute("id",r),o.setAttribute("mask-type",e===3?"luminance":"alpha"),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),o.appendChild(s),this.globalData.defs.appendChild(o),!featureSupport.maskType&&e===1&&(o.setAttribute("mask-type","luminance"),i=createElementID(),n=filtersFactory.createFilter(i),this.globalData.defs.appendChild(n),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),a.appendChild(s),o.appendChild(a),a.setAttribute("filter","url("+getLocationHref()+"#"+i+")"))}else if(e===2){var l=createNS("mask");l.setAttribute("id",r),l.setAttribute("mask-type","alpha");var h=createNS("g");l.appendChild(h),i=createElementID(),n=filtersFactory.createFilter(i);var c=createNS("feComponentTransfer");c.setAttribute("in","SourceGraphic"),n.appendChild(c);var d=createNS("feFuncA");d.setAttribute("type","table"),d.setAttribute("tableValues","1.0 0.0"),c.appendChild(d),this.globalData.defs.appendChild(n);var f=createNS("rect");f.setAttribute("width",this.comp.data.w),f.setAttribute("height",this.comp.data.h),f.setAttribute("x","0"),f.setAttribute("y","0"),f.setAttribute("fill","#ffffff"),f.setAttribute("opacity","0"),h.setAttribute("filter","url("+getLocationHref()+"#"+i+")"),h.appendChild(f),s=createNS("use"),s.setAttributeNS("http://www.w3.org/1999/xlink","href","#"+this.layerId),h.appendChild(s),featureSupport.maskType||(l.setAttribute("mask-type","luminance"),n.appendChild(filtersFactory.createAlphaToLuminanceFilter()),a=createNS("g"),h.appendChild(f),a.appendChild(this.layerElement),h.appendChild(a)),this.globalData.defs.appendChild(l)}this.matteMasks[e]=r}return this.matteMasks[e]},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}};function HierarchyElement(){}HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){this.data.parent!==void 0&&this.comp.buildElementParenting(this,this.data.parent,[])}};function RenderableDOMElement(){}(function(){var t={initElement:function(r,i,n){this.initFrame(),this.initBaseData(r,i,n),this.initTransform(r,i,n),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){if(!this.hidden&&(!this.isInRange||this.isTransparent)){var r=this.baseElement||this.layerElement;r.style.display="none",this.hidden=!0}},show:function(){if(this.isInRange&&!this.isTransparent){if(!this.data.hd){var r=this.baseElement||this.layerElement;r.style.display="block"}this.hidden=!1,this._isFirstFrame=!0}},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(r){this._mdf=!1,this.prepareRenderableFrame(r),this.prepareProperties(r,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}};extendPrototype([RenderableElement,createProxyFunction(t)],RenderableDOMElement)})();function IImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.assetData&&this.assetData.sid&&(this.assetData=e.slotManager.getProp(this.assetData)),this.initElement(t,e,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var 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};function ProcessedElement(t,e){this.elem=t,this.pos=e}function IShapeElement(){}IShapeElement.prototype={addShapeToModifiers:function(e){var r,i=this.shapeModifiers.length;for(r=0;r<i;r+=1)this.shapeModifiers[r].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var r=0,i=this.shapeModifiers.length;r<i;)if(this.shapeModifiers[r].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,r=this.shapes.length;for(e=0;e<r;e+=1)this.shapes[e].sh.reset();r=this.shapeModifiers.length;var i;for(e=r-1;e>=0&&(i=this.shapeModifiers[e].processShapes(this._isFirstFrame),!i);e-=1);}},searchProcessedElement:function(e){for(var r=this.processedElements,i=0,n=r.length;i<n;){if(r[i].elem===e)return r[i].pos;i+=1}return 0},addProcessedElement:function(e,r){for(var i=this.processedElements,n=i.length;n;)if(n-=1,i[n].elem===e){i[n].pos=r;return}i.push(new ProcessedElement(e,r))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,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}}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0};function SVGStyleData(t,e){this.data=t,this.type=t.ty,this.d="",this.lvl=e,this._mdf=!1,this.closed=t.hd===!0,this.pElem=createNS("path"),this.msElem=null}SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1};function DashProperty(t,e,r,i){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 n,s=e.length||0,a;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}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(this.renderer==="svg"&&(this.dashStr=""),e=0;e<r;e+=1)this.dataProps[e].n!=="o"?this.renderer==="svg"?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);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}extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData);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}extendPrototype([DynamicPropertyContainer],SVGFillStyleData);function SVGNoStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.style=r}extendPrototype([DynamicPropertyContainer],SVGNoStyleData);function GradientProperty(t,e,r){this.data=e,this.c=createTypedArray("uint8c",e.p*4);var i=e.k.k[0].s?e.k.k[0].s.length-e.p*4:e.k.k.length-e.p*4;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)}GradientProperty.prototype.comparePoints=function(t,e){for(var r=0,i=this.o.length/2,n;r<i;){if(n=Math.abs(t[r*4]-t[e*4+r*2]),n>.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=this.data.p*4,i,n;for(e=0;e<r;e+=1)i=e%4===0?100:255,n=Math.round(this.prop.v[e]*i),this.c[e]!==n&&(this.c[e]=n,this._cmdf=!t);if(this.o.length)for(r=this.prop.v.length,e=this.data.p*4;e<r;e+=1)i=e%2===0?100:1,n=e%2===0?Math.round(this.prop.v[e]*100):this.prop.v[e],this.o[e-this.data.p*4]!==n&&(this.o[e-this.data.p*4]=n,this._omdf=!t);this._mdf=!t}},extendPrototype([DynamicPropertyContainer],GradientProperty);function SVGGradientFillStyleData(t,e,r){this.initDynamicPropertyContainer(t),this.getValue=this.iterateDynamicProperties,this.initGradientData(t,e,r)}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(e.t===1?"linearGradient":"radialGradient");i.setAttribute("id",r),i.setAttribute("spreadMethod","pad"),i.setAttribute("gradientUnits","userSpaceOnUse");var n=[],s,a,o;for(o=e.g.p*4,a=0;a<o;a+=4)s=createNS("stop"),i.appendChild(s),n.push(s);t.setAttribute(e.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=i,this.cst=n},SVGGradientFillStyleData.prototype.setGradientOpacity=function(t,e){if(this.g._hasOpacity&&!this.g._collapsable){var r,i,n,s=createNS("mask"),a=createNS("path");s.appendChild(a);var o=createElementID(),l=createElementID();s.setAttribute("id",l);var h=createNS(t.t===1?"linearGradient":"radialGradient");h.setAttribute("id",o),h.setAttribute("spreadMethod","pad"),h.setAttribute("gradientUnits","userSpaceOnUse"),n=t.g.k.k[0].s?t.g.k.k[0].s.length:t.g.k.k.length;var c=this.stops;for(i=t.g.p*4;i<n;i+=2)r=createNS("stop"),r.setAttribute("stop-color","rgb(255,255,255)"),h.appendChild(r),c.push(r);a.setAttribute(t.ty==="gf"?"fill":"stroke","url("+getLocationHref()+"#"+o+")"),t.ty==="gs"&&(a.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),a.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),t.lj===1&&a.setAttribute("stroke-miterlimit",t.ml)),this.of=h,this.ms=s,this.ost=c,this.maskId=l,e.msElem=a}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData);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}extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);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}var buildShapeString=function(e,r,i,n){if(r===0)return"";var s=e.o,a=e.i,o=e.v,l,h=" M"+n.applyToPointStringified(o[0][0],o[0][1]);for(l=1;l<r;l+=1)h+=" C"+n.applyToPointStringified(s[l-1][0],s[l-1][1])+" "+n.applyToPointStringified(a[l][0],a[l][1])+" "+n.applyToPointStringified(o[l][0],o[l][1]);return i&&r&&(h+=" C"+n.applyToPointStringified(s[l-1][0],s[l-1][1])+" "+n.applyToPointStringified(a[0][0],a[0][1])+" "+n.applyToPointStringified(o[0][0],o[0][1]),h+="z"),h},SVGElementsRenderer=function(){var t=new Matrix,e=new Matrix,r={createRenderFunction:i};function i(d){switch(d.ty){case"fl":return o;case"gf":return h;case"gs":return l;case"st":return c;case"sh":case"el":case"rc":case"sr":return a;case"tr":return n;case"no":return s;default:return null}}function n(d,f,u){(u||f.transform.op._mdf)&&f.transform.container.setAttribute("opacity",f.transform.op.v),(u||f.transform.mProps._mdf)&&f.transform.container.setAttribute("transform",f.transform.mProps.v.to2dCSS())}function s(){}function a(d,f,u){var m,p,x,_,y,g,v=f.styles.length,k=f.lvl,P,C,E,M;for(g=0;g<v;g+=1){if(_=f.sh._mdf||u,f.styles[g].lvl<k){for(C=e.reset(),E=k-f.styles[g].lvl,M=f.transformers.length-1;!_&&E>0;)_=f.transformers[M].mProps._mdf||_,E-=1,M-=1;if(_)for(E=k-f.styles[g].lvl,M=f.transformers.length-1;E>0;)C.multiply(f.transformers[M].mProps.v),E-=1,M-=1}else C=t;if(P=f.sh.paths,p=P._length,_){for(x="",m=0;m<p;m+=1)y=P.shapes[m],y&&y._length&&(x+=buildShapeString(y,y._length,y.c,C));f.caches[g]=x}else x=f.caches[g];f.styles[g].d+=d.hd===!0?"":x,f.styles[g]._mdf=_||f.styles[g]._mdf}}function o(d,f,u){var m=f.style;(f.c._mdf||u)&&m.pElem.setAttribute("fill","rgb("+bmFloor(f.c.v[0])+","+bmFloor(f.c.v[1])+","+bmFloor(f.c.v[2])+")"),(f.o._mdf||u)&&m.pElem.setAttribute("fill-opacity",f.o.v)}function l(d,f,u){h(d,f,u),c(d,f,u)}function h(d,f,u){var m=f.gf,p=f.g._hasOpacity,x=f.s.v,_=f.e.v;if(f.o._mdf||u){var y=d.ty==="gf"?"fill-opacity":"stroke-opacity";f.style.pElem.setAttribute(y,f.o.v)}if(f.s._mdf||u){var g=d.t===1?"x1":"cx",v=g==="x1"?"y1":"cy";m.setAttribute(g,x[0]),m.setAttribute(v,x[1]),p&&!f.g._collapsable&&(f.of.setAttribute(g,x[0]),f.of.setAttribute(v,x[1]))}var k,P,C,E;if(f.g._cmdf||u){k=f.cst;var M=f.g.c;for(C=k.length,P=0;P<C;P+=1)E=k[P],E.setAttribute("offset",M[P*4]+"%"),E.setAttribute("stop-color","rgb("+M[P*4+1]+","+M[P*4+2]+","+M[P*4+3]+")")}if(p&&(f.g._omdf||u)){var B=f.g.o;for(f.g._collapsable?k=f.cst:k=f.ost,C=k.length,P=0;P<C;P+=1)E=k[P],f.g._collapsable||E.setAttribute("offset",B[P*2]+"%"),E.setAttribute("stop-opacity",B[P*2+1])}if(d.t===1)(f.e._mdf||u)&&(m.setAttribute("x2",_[0]),m.setAttribute("y2",_[1]),p&&!f.g._collapsable&&(f.of.setAttribute("x2",_[0]),f.of.setAttribute("y2",_[1])));else{var D;if((f.s._mdf||f.e._mdf||u)&&(D=Math.sqrt(Math.pow(x[0]-_[0],2)+Math.pow(x[1]-_[1],2)),m.setAttribute("r",D),p&&!f.g._collapsable&&f.of.setAttribute("r",D)),f.e._mdf||f.h._mdf||f.a._mdf||u){D||(D=Math.sqrt(Math.pow(x[0]-_[0],2)+Math.pow(x[1]-_[1],2)));var I=Math.atan2(_[1]-x[1],_[0]-x[0]),L=f.h.v;L>=1?L=.99:L<=-1&&(L=-.99);var R=D*L,$=Math.cos(I+f.a.v)*R+x[0],T=Math.sin(I+f.a.v)*R+x[1];m.setAttribute("fx",$),m.setAttribute("fy",T),p&&!f.g._collapsable&&(f.of.setAttribute("fx",$),f.of.setAttribute("fy",T))}}}function c(d,f,u){var m=f.style,p=f.d;p&&(p._mdf||u)&&p.dashStr&&(m.pElem.setAttribute("stroke-dasharray",p.dashStr),m.pElem.setAttribute("stroke-dashoffset",p.dashoffset[0])),f.c&&(f.c._mdf||u)&&m.pElem.setAttribute("stroke","rgb("+bmFloor(f.c.v[0])+","+bmFloor(f.c.v[1])+","+bmFloor(f.c.v[2])+")"),(f.o._mdf||u)&&m.pElem.setAttribute("stroke-opacity",f.o.v),(f.w._mdf||u)&&(m.pElem.setAttribute("stroke-width",f.w.v),m.msElem&&m.msElem.setAttribute("stroke-width",f.w.v))}return r}();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=[]}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=this.shapes.length,r,i,n=this.stylesList.length,s,a=[],o=!1;for(i=0;i<n;i+=1){for(s=this.stylesList[i],o=!1,a.length=0,t=0;t<e;t+=1)r=this.shapes[t],r.styles.indexOf(s)!==-1&&(a.push(r),o=r._isAnimated||o);a.length>1&&o&&this.setShapesAsAnimated(a)}},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;if(t.ty==="st")r=new SVGStrokeStyleData(this,t,i);else if(t.ty==="fl")r=new SVGFillStyleData(this,t,i);else if(t.ty==="gf"||t.ty==="gs"){var s=t.ty==="gf"?SVGGradientFillStyleData:SVGGradientStrokeStyleData;r=new s(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+")"))}else t.ty==="no"&&(r=new SVGNoStyleData(this,t,i));return(t.ty==="st"||t.ty==="gs")&&(n.setAttribute("stroke-linecap",lineCapEnum[t.lc||2]),n.setAttribute("stroke-linejoin",lineJoinEnum[t.lj||2]),n.setAttribute("fill-opacity","0"),t.lj===1&&n.setAttribute("stroke-miterlimit",t.ml)),t.r===2&&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;t.ty==="rc"?i=5:t.ty==="el"?i=6:t.ty==="sr"&&(i=7);var n=ShapePropertyFactory.getShapeProp(this,t,i,this),s=new SVGShapeData(e,r,n);return this.shapes.push(s),this.addShapeToModifiers(s),this.addToAnimatedContents(t,s),s},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=t.styles,r,i=this.stylesList.length;for(r=0;r<i;r+=1)this.stylesList[r].closed||e.push(this.stylesList[r])},SVGShapeElement.prototype.reloadShapes=function(){this._isFirstFrame=!0;var t,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,s,a){var o=[].concat(s),l,h=t.length-1,c,d,f=[],u=[],m,p,x;for(l=h;l>=0;l-=1){if(x=this.searchProcessedElement(t[l]),x?e[l]=r[x-1]:t[l]._render=a,t[l].ty==="fl"||t[l].ty==="st"||t[l].ty==="gf"||t[l].ty==="gs"||t[l].ty==="no")x?e[l].style.closed=!1:e[l]=this.createStyleElement(t[l],n),t[l]._render&&e[l].style.pElem.parentNode!==i&&i.appendChild(e[l].style.pElem),f.push(e[l].style);else if(t[l].ty==="gr"){if(!x)e[l]=this.createGroupElement(t[l]);else for(d=e[l].it.length,c=0;c<d;c+=1)e[l].prevViewData[c]=e[l].it[c];this.searchShapes(t[l].it,e[l].it,e[l].prevViewData,e[l].gr,n+1,o,a),t[l]._render&&e[l].gr.parentNode!==i&&i.appendChild(e[l].gr)}else t[l].ty==="tr"?(x||(e[l]=this.createTransformElement(t[l],i)),m=e[l].transform,o.push(m)):t[l].ty==="sh"||t[l].ty==="rc"||t[l].ty==="el"||t[l].ty==="sr"?(x||(e[l]=this.createShapeElement(t[l],o,n)),this.setElementStyles(e[l])):t[l].ty==="tm"||t[l].ty==="rd"||t[l].ty==="ms"||t[l].ty==="pb"||t[l].ty==="zz"||t[l].ty==="op"?(x?(p=e[l],p.closed=!1):(p=ShapeModifiers.getModifier(t[l].ty),p.init(this,t[l]),e[l]=p,this.shapeModifiers.push(p)),u.push(p)):t[l].ty==="rp"&&(x?(p=e[l],p.closed=!0):(p=ShapeModifiers.getModifier(t[l].ty),e[l]=p,p.init(this,t,l,e),this.shapeModifiers.push(p),a=!1),u.push(p));this.addProcessedElement(t[l],l+1)}for(h=f.length,l=0;l<h;l+=1)f[l].closed=!0;for(h=u.length,l=0;l<h;l+=1)u[l].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){this.renderModifiers();var t,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=this.animatedContents.length,r;for(t=0;t<e;t+=1)r=this.animatedContents[t],(this._isFirstFrame||r.element._isAnimated)&&r.data!==!0&&r.fn(r.data,r.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null};function LetterProps(t,e,r,i,n,s){this.o=t,this.sw=e,this.sc=r,this.fc=i,this.m=n,this.p=s,this._mdf={o:!0,sw:!!e,sc:!!r,fc:!!i,m:!0,p:!0}}LetterProps.prototype.update=function(t,e,r,i,n,s){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var a=!1;return this.o!==t&&(this.o=t,this._mdf.o=!0,a=!0),this.sw!==e&&(this.sw=e,this._mdf.sw=!0,a=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,a=!0),this.fc!==i&&(this.fc=i,this._mdf.fc=!0,a=!0),this.m!==n&&(this.m=n,this._mdf.m=!0,a=!0),s.length&&(this.p[0]!==s[0]||this.p[1]!==s[1]||this.p[4]!==s[4]||this.p[5]!==s[5]||this.p[12]!==s[12]||this.p[13]!==s[13])&&(this.p=s,this._mdf.p=!0,a=!0),a};function TextProperty(t,e){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,e.d&&e.d.sid&&(e.d=t.globalData.slotManager.getProp(e.d)),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)}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);return}this.lock=!0,this._mdf=!1;var i,n=this.effectsSequence.length,s=t||this.data.d.k[this.keysIndex].s;for(i=0;i<n;i+=1)r!==this.keysIndex?s=this.effectsSequence[i](s,s.t):s=this.effectsSequence[i](this.currentData,s.t);e!==s&&this.setCurrentData(s),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}},TextProperty.prototype.getKeyframeValue=function(){for(var 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=0,i=t.length,n,s,a=!1,o=!1,l="";r<i;)a=o,o=!1,n=t.charCodeAt(r),l=t.charAt(r),FontManager.isCombinedCharacter(n)?a=!0:n>=55296&&n<=56319?FontManager.isRegionalFlag(t,r)?l=t.substr(r,14):(s=t.charCodeAt(r+1),s>=56320&&s<=57343&&(FontManager.isModifier(n,s)?(l=t.substr(r,2),a=!0):FontManager.isFlagEmoji(t.substr(r,4))?l=t.substr(r,4):l=t.substr(r,2))):n>56319?(s=t.charCodeAt(r+1),FontManager.isVariationSelector(n)&&(a=!0)):FontManager.isZeroWidthJoiner(n)&&(a=!0,o=!0),a?(e[e.length-1]+=l,a=!1):e.push(l),r+=l.length;return e},TextProperty.prototype.completeTextData=function(t){t.__complete=!0;var e=this.elem.globalData.fontManager,r=this.data,i=[],n,s,a,o=0,l,h=r.m.g,c=0,d=0,f=0,u=[],m=0,p=0,x,_,y=e.getFontByName(t.f),g,v=0,k=getFontProperties(y);t.fWeight=k.weight,t.fStyle=k.style,t.finalSize=t.s,t.finalText=this.buildFinalText(t.t),s=t.finalText.length,t.finalLineHeight=t.lh;var P=t.tr/1e3*t.finalSize,C;if(t.sz)for(var E=!0,M=t.sz[0],B=t.sz[1],D,I;E;){I=this.buildFinalText(t.t),D=0,m=0,s=I.length,P=t.tr/1e3*t.finalSize;var L=-1;for(n=0;n<s;n+=1)C=I[n].charCodeAt(0),a=!1,I[n]===" "?L=n:(C===13||C===3)&&(m=0,a=!0,D+=t.finalLineHeight||t.finalSize*1.2),e.chars?(g=e.getCharData(I[n],y.fStyle,y.fFamily),v=a?0:g.w*t.finalSize/100):v=e.measureText(I[n],t.f,t.finalSize),m+v>M&&I[n]!==" "?(L===-1?s+=1:n=L,D+=t.finalLineHeight||t.finalSize*1.2,I.splice(n,L===n?1:0,"\r"),L=-1,m=0):(m+=v,m+=P);D+=y.ascent*t.finalSize/100,this.canResize&&t.finalSize>this.minimumFontSize&&B<D?(t.finalSize-=1,t.finalLineHeight=t.finalSize*t.lh/t.s):(t.finalText=I,s=t.finalText.length,E=!1)}m=-P,v=0;var R=0,$;for(n=0;n<s;n+=1)if(a=!1,$=t.finalText[n],C=$.charCodeAt(0),C===13||C===3?(R=0,u.push(m),p=m>p?m:p,m=-2*P,l="",a=!0,f+=1):l=$,e.chars?(g=e.getCharData($,y.fStyle,e.getFontByName(t.f).fFamily),v=a?0:g.w*t.finalSize/100):v=e.measureText(l,t.f,t.finalSize),$===" "?R+=v+P:(m+=v+P+R,R=0),i.push({l:v,an:v,add:c,n:a,anIndexes:[],val:l,line:f,animatorJustifyOffset:0}),h==2){if(c+=v,l===""||l===" "||n===s-1){for((l===""||l===" ")&&(c-=v);d<=n;)i[d].an=c,i[d].ind=o,i[d].extra=v,d+=1;o+=1,c=0}}else if(h==3){if(c+=v,l===""||n===s-1){for(l===""&&(c-=v);d<=n;)i[d].an=c,i[d].ind=o,i[d].extra=v,d+=1;c=0,o+=1}}else i[o].ind=o,i[o].extra=0,o+=1;if(t.l=i,p=m>p?m:p,u.push(m),t.sz)t.boxWidth=t.sz[0],t.justifyOffset=0;else switch(t.boxWidth=p,t.j){case 1:t.justifyOffset=-t.boxWidth;break;case 2:t.justifyOffset=-t.boxWidth/2;break;default:t.justifyOffset=0}t.lineWidths=u;var T=r.a,A,b;_=T.length;var S,w,F=[];for(x=0;x<_;x+=1){for(A=T[x],A.a.sc&&(t.strokeColorAnim=!0),A.a.sw&&(t.strokeWidthAnim=!0),(A.a.fc||A.a.fh||A.a.fs||A.a.fb)&&(t.fillColorAnim=!0),w=0,S=A.s.b,n=0;n<s;n+=1)b=i[n],b.anIndexes[x]=w,(S==1&&b.val!==""||S==2&&b.val!==""&&b.val!==" "||S==3&&(b.n||b.val==" "||n==s-1)||S==4&&(b.n||n==s-1))&&(A.s.rn===1&&F.push(w),w+=1);r.a[x].s.totalChars=w;var N=-1,H;if(A.s.rn===1)for(n=0;n<s;n+=1)b=i[n],N!=b.anIndexes[x]&&(N=b.anIndexes[x],H=F.splice(Math.floor(Math.random()*F.length),1)[0]),b.anIndexes[x]=H}t.yOffset=t.finalLineHeight||t.finalSize*1.2,t.ls=t.ls||0,t.ascent=y.ascent*t.finalSize/100},TextProperty.prototype.updateDocumentData=function(t,e){e=e===void 0?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.setCurrentData(r),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(s,a){this._currentTextLength=-1,this.k=!1,this.data=a,this.elem=s,this.comp=s.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(s),this.s=PropertyFactory.getProp(s,a.s||{k:0},0,0,this),"e"in a?this.e=PropertyFactory.getProp(s,a.e,0,0,this):this.e={v:100},this.o=PropertyFactory.getProp(s,a.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(s,a.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(s,a.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(s,a.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(s,a.a,0,.01,this),this.dynamicProperties.length||this.getValue()}i.prototype={getMult:function(a){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var o=0,l=0,h=1,c=1;this.ne.v>0?o=this.ne.v/100:l=-this.ne.v/100,this.xe.v>0?h=1-this.xe.v/100:c=1+this.xe.v/100;var d=BezierFactory.getBezierEasing(o,l,h,c).get,f=0,u=this.finalS,m=this.finalE,p=this.data.sh;if(p===2)m===u?f=a>=m?1:0:f=t(0,e(.5/(m-u)+(a-u)/(m-u),1)),f=d(f);else if(p===3)m===u?f=a>=m?0:1:f=1-t(0,e(.5/(m-u)+(a-u)/(m-u),1)),f=d(f);else if(p===4)m===u?f=0:(f=t(0,e(.5/(m-u)+(a-u)/(m-u),1)),f<.5?f*=2:f=1-2*(f-.5)),f=d(f);else if(p===5){if(m===u)f=0;else{var x=m-u;a=e(t(0,a+.5-u),m-u);var _=-x/2+a,y=x/2;f=Math.sqrt(1-_*_/(y*y))}f=d(f)}else p===6?(m===u?f=0:(a=e(t(0,a+.5-u),m-u),f=(1+Math.cos(Math.PI+Math.PI*2*a/(m-u)))/2),f=d(f)):(a>=r(u)&&(a-u<0?f=t(0,e(e(m,1)-(u-a),1)):f=t(0,e(m-a,1))),f=d(f));if(this.sm.v!==100){var g=this.sm.v*.01;g===0&&(g=1e-8);var v=.5-g*.5;f<v?f=0:(f=(f-v)/g,f>1&&(f=1))}return f*this.a.v},getValue:function(a){this.iterateDynamicProperties(),this._mdf=a||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,a&&this.data.r===2&&(this.e.v=this._currentTextLength);var o=this.data.r===2?1:100/this.data.totalChars,l=this.o.v/o,h=this.s.v/o+l,c=this.e.v/o+l;if(h>c){var d=h;h=c,c=d}this.finalS=h,this.finalE=c}},extendPrototype([DynamicPropertyContainer],i);function n(s,a,o){return new i(s,a)}return{getTextSelectorProp:n}}();function TextAnimatorDataProperty(t,e,r){var i={propType:!1},n=PropertyFactory.getProp,s=e.a;this.a={r:s.r?n(t,s.r,0,degToRads,r):i,rx:s.rx?n(t,s.rx,0,degToRads,r):i,ry:s.ry?n(t,s.ry,0,degToRads,r):i,sk:s.sk?n(t,s.sk,0,degToRads,r):i,sa:s.sa?n(t,s.sa,0,degToRads,r):i,s:s.s?n(t,s.s,1,.01,r):i,a:s.a?n(t,s.a,1,0,r):i,o:s.o?n(t,s.o,0,.01,r):i,p:s.p?n(t,s.p,1,0,r):i,sw:s.sw?n(t,s.sw,0,0,r):i,sc:s.sc?n(t,s.sc,1,0,r):i,fc:s.fc?n(t,s.fc,1,0,r):i,fh:s.fh?n(t,s.fh,0,0,r):i,fs:s.fs?n(t,s.fs,0,.01,r):i,fb:s.fb?n(t,s.fb,0,.01,r):i,t:s.t?n(t,s.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)}TextAnimatorProperty.prototype.searchProperties=function(){var t,e=this._textData.a.length,r,i=PropertyFactory.getProp;for(t=0;t<e;t+=1)r=this._textData.a[t],this._animatorsData[t]=new TextAnimatorDataProperty(this._elem,r,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=this._moreOptions.alignment.v,i=this._animatorsData,n=this._textData,s=this.mHelper,a=this._renderType,o=this.renderedLetters.length,l,h,c,d,f=t.l,u,m,p,x,_,y,g,v,k,P,C,E,M,B,D;if(this._hasMaskedPath){if(D=this._pathData.m,!this._pathData.n||this._pathData._mdf){var I=D.v;this._pathData.r.v&&(I=I.reverse()),u={tLength:0,segments:[]},d=I._length-1;var L;for(E=0,c=0;c<d;c+=1)L=bez.buildBezierData(I.v[c],I.v[c+1],[I.o[c][0]-I.v[c][0],I.o[c][1]-I.v[c][1]],[I.i[c+1][0]-I.v[c+1][0],I.i[c+1][1]-I.v[c+1][1]]),u.tLength+=L.segmentLength,u.segments.push(L),E+=L.segmentLength;c=d,D.v.c&&(L=bez.buildBezierData(I.v[c],I.v[0],[I.o[c][0]-I.v[c][0],I.o[c][1]-I.v[c][1]],[I.i[0][0]-I.v[0][0],I.i[0][1]-I.v[0][1]]),u.tLength+=L.segmentLength,u.segments.push(L),E+=L.segmentLength),this._pathData.pi=u}if(u=this._pathData.pi,m=this._pathData.f.v,g=0,y=1,x=0,_=!0,P=u.segments,m<0&&D.v.c)for(u.tLength<Math.abs(m)&&(m=-Math.abs(m)%u.tLength),g=P.length-1,k=P[g].points,y=k.length-1;m<0;)m+=k[y].partialLength,y-=1,y<0&&(g-=1,k=P[g].points,y=k.length-1);k=P[g].points,v=k[y-1],p=k[y],C=p.partialLength}d=f.length,l=0,h=0;var R=t.finalSize*1.2*.714,$=!0,T,A,b,S,w;S=i.length;var F,N=-1,H,G,j,U=m,J=g,ne=y,ae=-1,pe,re,he,q,O,ce,me,V,fe="",be=this.defaultPropsArray,ke;if(t.j===2||t.j===1){var ee=0,Ce=0,Ae=t.j===2?-.5:-1,Se=0,oe=!0;for(c=0;c<d;c+=1)if(f[c].n){for(ee&&(ee+=Ce);Se<c;)f[Se].animatorJustifyOffset=ee,Se+=1;ee=0,oe=!0}else{for(b=0;b<S;b+=1)T=i[b].a,T.t.propType&&(oe&&t.j===2&&(Ce+=T.t.v*Ae),A=i[b].s,F=A.getMult(f[c].anIndexes[b],n.a[b].s.totalChars),F.length?ee+=T.t.v*F[0]*Ae:ee+=T.t.v*F*Ae);oe=!1}for(ee&&(ee+=Ce);Se<c;)f[Se].animatorJustifyOffset=ee,Se+=1}for(c=0;c<d;c+=1){if(s.reset(),pe=1,f[c].n)l=0,h+=t.yOffset,h+=$?1:0,m=U,$=!1,this._hasMaskedPath&&(g=J,y=ne,k=P[g].points,v=k[y-1],p=k[y],C=p.partialLength,x=0),fe="",V="",ce="",ke="",be=this.defaultPropsArray;else{if(this._hasMaskedPath){if(ae!==f[c].line){switch(t.j){case 1:m+=E-t.lineWidths[f[c].line];break;case 2:m+=(E-t.lineWidths[f[c].line])/2;break}ae=f[c].line}N!==f[c].ind&&(f[N]&&(m+=f[N].extra),m+=f[c].an/2,N=f[c].ind),m+=r[0]*f[c].an*.005;var ve=0;for(b=0;b<S;b+=1)T=i[b].a,T.p.propType&&(A=i[b].s,F=A.getMult(f[c].anIndexes[b],n.a[b].s.totalChars),F.length?ve+=T.p.v[0]*F[0]:ve+=T.p.v[0]*F),T.a.propType&&(A=i[b].s,F=A.getMult(f[c].anIndexes[b],n.a[b].s.totalChars),F.length?ve+=T.a.v[0]*F[0]:ve+=T.a.v[0]*F);for(_=!0,this._pathData.a.v&&(m=f[0].an*.5+(E-this._pathData.f.v-f[0].an*.5-f[f.length-1].an*.5)*N/(d-1),m+=this._pathData.f.v);_;)x+C>=m+ve||!k?(M=(m+ve-x)/p.partialLength,G=v.point[0]+(p.point[0]-v.point[0])*M,j=v.point[1]+(p.point[1]-v.point[1])*M,s.translate(-r[0]*f[c].an*.005,-(r[1]*R)*.01),_=!1):k&&(x+=p.partialLength,y+=1,y>=k.length&&(y=0,g+=1,P[g]?k=P[g].points:D.v.c?(y=0,g=0,k=P[g].points):(x-=p.partialLength,k=null)),k&&(v=p,p=k[y],C=p.partialLength));H=f[c].an/2-f[c].add,s.translate(-H,0,0)}else H=f[c].an/2-f[c].add,s.translate(-H,0,0),s.translate(-r[0]*f[c].an*.005,-r[1]*R*.01,0);for(b=0;b<S;b+=1)T=i[b].a,T.t.propType&&(A=i[b].s,F=A.getMult(f[c].anIndexes[b],n.a[b].s.totalChars),(l!==0||t.j!==0)&&(this._hasMaskedPath?F.length?m+=T.t.v*F[0]:m+=T.t.v*F:F.length?l+=T.t.v*F[0]:l+=T.t.v*F));for(t.strokeWidthAnim&&(he=t.sw||0),t.strokeColorAnim&&(t.sc?re=[t.sc[0],t.sc[1],t.sc[2]]:re=[0,0,0]),t.fillColorAnim&&t.fc&&(q=[t.fc[0],t.fc[1],t.fc[2]]),b=0;b<S;b+=1)T=i[b].a,T.a.propType&&(A=i[b].s,F=A.getMult(f[c].anIndexes[b],n.a[b].s.totalChars),F.length?s.translate(-T.a.v[0]*F[0],-T.a.v[1]*F[1],T.a.v[2]*F[2]):s.translate(-T.a.v[0]*F,-T.a.v[1]*F,T.a.v[2]*F));for(b=0;b<S;b+=1)T=i[b].a,T.s.propType&&(A=i[b].s,F=A.getMult(f[c].anIndexes[b],n.a[b].s.totalChars),F.length?s.scale(1+(T.s.v[0]-1)*F[0],1+(T.s.v[1]-1)*F[1],1):s.scale(1+(T.s.v[0]-1)*F,1+(T.s.v[1]-1)*F,1));for(b=0;b<S;b+=1){if(T=i[b].a,A=i[b].s,F=A.getMult(f[c].anIndexes[b],n.a[b].s.totalChars),T.sk.propType&&(F.length?s.skewFromAxis(-T.sk.v*F[0],T.sa.v*F[1]):s.skewFromAxis(-T.sk.v*F,T.sa.v*F)),T.r.propType&&(F.length?s.rotateZ(-T.r.v*F[2]):s.rotateZ(-T.r.v*F)),T.ry.propType&&(F.length?s.rotateY(T.ry.v*F[1]):s.rotateY(T.ry.v*F)),T.rx.propType&&(F.length?s.rotateX(T.rx.v*F[0]):s.rotateX(T.rx.v*F)),T.o.propType&&(F.length?pe+=(T.o.v*F[0]-pe)*F[0]:pe+=(T.o.v*F-pe)*F),t.strokeWidthAnim&&T.sw.propType&&(F.length?he+=T.sw.v*F[0]:he+=T.sw.v*F),t.strokeColorAnim&&T.sc.propType)for(O=0;O<3;O+=1)F.length?re[O]+=(T.sc.v[O]-re[O])*F[0]:re[O]+=(T.sc.v[O]-re[O])*F;if(t.fillColorAnim&&t.fc){if(T.fc.propType)for(O=0;O<3;O+=1)F.length?q[O]+=(T.fc.v[O]-q[O])*F[0]:q[O]+=(T.fc.v[O]-q[O])*F;T.fh.propType&&(F.length?q=addHueToRGB(q,T.fh.v*F[0]):q=addHueToRGB(q,T.fh.v*F)),T.fs.propType&&(F.length?q=addSaturationToRGB(q,T.fs.v*F[0]):q=addSaturationToRGB(q,T.fs.v*F)),T.fb.propType&&(F.length?q=addBrightnessToRGB(q,T.fb.v*F[0]):q=addBrightnessToRGB(q,T.fb.v*F))}}for(b=0;b<S;b+=1)T=i[b].a,T.p.propType&&(A=i[b].s,F=A.getMult(f[c].anIndexes[b],n.a[b].s.totalChars),this._hasMaskedPath?F.length?s.translate(0,T.p.v[1]*F[0],-T.p.v[2]*F[1]):s.translate(0,T.p.v[1]*F,-T.p.v[2]*F):F.length?s.translate(T.p.v[0]*F[0],T.p.v[1]*F[1],-T.p.v[2]*F[2]):s.translate(T.p.v[0]*F,T.p.v[1]*F,-T.p.v[2]*F));if(t.strokeWidthAnim&&(ce=he<0?0:he),t.strokeColorAnim&&(me="rgb("+Math.round(re[0]*255)+","+Math.round(re[1]*255)+","+Math.round(re[2]*255)+")"),t.fillColorAnim&&t.fc&&(V="rgb("+Math.round(q[0]*255)+","+Math.round(q[1]*255)+","+Math.round(q[2]*255)+")"),this._hasMaskedPath){if(s.translate(0,-t.ls),s.translate(0,r[1]*R*.01+h,0),this._pathData.p.v){B=(p.point[1]-v.point[1])/(p.point[0]-v.point[0]);var se=Math.atan(B)*180/Math.PI;p.point[0]<v.point[0]&&(se+=180),s.rotate(-se*Math.PI/180)}s.translate(G,j,0),m-=r[0]*f[c].an*.005,f[c+1]&&N!==f[c+1].ind&&(m+=f[c].an/2,m+=t.tr*.001*t.finalSize)}else{switch(s.translate(l,h,0),t.ps&&s.translate(t.ps[0],t.ps[1]+t.ascent,0),t.j){case 1:s.translate(f[c].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[f[c].line]),0,0);break;case 2:s.translate(f[c].animatorJustifyOffset+t.justifyOffset+(t.boxWidth-t.lineWidths[f[c].line])/2,0,0);break}s.translate(0,-t.ls),s.translate(H,0,0),s.translate(r[0]*f[c].an*.005,r[1]*R*.01,0),l+=f[c].l+t.tr*.001*t.finalSize}a==="html"?fe=s.toCSS():a==="svg"?fe=s.to2dCSS():be=[s.props[0],s.props[1],s.props[2],s.props[3],s.props[4],s.props[5],s.props[6],s.props[7],s.props[8],s.props[9],s.props[10],s.props[11],s.props[12],s.props[13],s.props[14],s.props[15]],ke=pe}o<=c?(w=new LetterProps(ke,ce,me,V,fe,be),this.renderedLetters.push(w),o+=1,this.lettersChangedFlag=!0):(w=this.renderedLetters[c],this.lettersChangedFlag=w.update(ke,ce,me,V,fe,be)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty);function ITextElement(){}ITextElement.prototype.initElement=function(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)},ITextElement.prototype.createPathShape=function(t,e){var r,i=e.length,n,s="";for(r=0;r<i;r+=1)e[r].ty==="sh"&&(n=e[r].ks.k,s+=buildShapeString(n,n.i.length,!0,t));return s},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);break}e.translate(i,n,0)},ITextElement.prototype.buildColor=function(t){return"rgb("+Math.round(t[0]*255)+","+Math.round(t[1]*255)+","+Math.round(t[2]*255)+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){},ITextElement.prototype.validateText=function(){(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)};var emptyShapeData={shapes:[]};function SVGTextLottieElement(t,e,r){this.textSpans=[],this.renderType="svg",this.initElement(t,e,r)}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]==="\r"||t[e]==="�"?(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(){this.addDynamicProperty(this);var t,e,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,s=r.fStyle;this.layerElement.setAttribute("font-style",s),this.layerElement.setAttribute("font-weight",n)}this.layerElement.setAttribute("aria-label",r.t);var a=r.l||[],o=!!this.globalData.fontManager.chars;e=a.length;var l,h=this.mHelper,c="",d=this.data.singleShape,f=0,u=0,m=!0,p=r.tr*.001*r.finalSize;if(d&&!o&&!r.sz){var x=this.textContainer,_="start";switch(r.j){case 1:_="end";break;case 2:_="middle";break;default:_="start";break}x.setAttribute("text-anchor",_),x.setAttribute("letter-spacing",p);var y=this.buildTextContents(r.finalText);for(e=y.length,u=r.ps?r.ps[1]+r.ascent:0,t=0;t<e;t+=1)l=this.textSpans[t].span||createNS("tspan"),l.textContent=y[t],l.setAttribute("x",0),l.setAttribute("y",u),l.style.display="inherit",x.appendChild(l),this.textSpans[t]||(this.textSpans[t]={span:null,glyph:null}),this.textSpans[t].span=l,u+=r.finalLineHeight;this.layerElement.appendChild(x)}else{var g=this.textSpans.length,v;for(t=0;t<e;t+=1){if(this.textSpans[t]||(this.textSpans[t]={span:null,childSpan:null,glyph:null}),!o||!d||t===0){if(l=g>t?this.textSpans[t].span:createNS(o?"g":"text"),g<=t){if(l.setAttribute("stroke-linecap","butt"),l.setAttribute("stroke-linejoin","round"),l.setAttribute("stroke-miterlimit","4"),this.textSpans[t].span=l,o){var k=createNS("g");l.appendChild(k),this.textSpans[t].childSpan=k}this.textSpans[t].span=l,this.layerElement.appendChild(l)}l.style.display="inherit"}if(h.reset(),d&&(a[t].n&&(f=-p,u+=r.yOffset,u+=m?1:0,m=!1),this.applyTextPropertiesToMatrix(r,h,a[t].line,f,u),f+=a[t].l||0,f+=p),o){v=this.globalData.fontManager.getCharData(r.finalText[t],i.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily);var P;if(v.t===1)P=new SVGCompElement(v.data,this.globalData,this);else{var C=emptyShapeData;v.data&&v.data.shapes&&(C=this.buildShapeData(v.data,r.finalSize)),P=new SVGShapeElement(C,this.globalData,this)}if(this.textSpans[t].glyph){var E=this.textSpans[t].glyph;this.textSpans[t].childSpan.removeChild(E.layerElement),E.destroy()}this.textSpans[t].glyph=P,P._debug=!0,P.prepareFrame(0),P.renderFrame(),this.textSpans[t].childSpan.appendChild(P.layerElement),v.t===1&&this.textSpans[t].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else d&&l.setAttribute("transform","translate("+h.props[12]+","+h.props[13]+")"),l.textContent=a[t].val,l.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}d&&l&&l.setAttribute("d",c)}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=this.textSpans.length,r;for(this.renderedFrame=this.comp.renderedFrame,t=0;t<e;t+=1)r=this.textSpans[t].glyph,r&&(r.prepareFrame(this.comp.renderedFrame-this.data.st),r._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if(this.validateText(),(!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){this._sizeChanged=!0;var t,e,r=this.textAnimator.renderedLetters,i=this.textProperty.currentData.l;e=i.length;var n,s,a;for(t=0;t<e;t+=1)i[t].n||(n=r[t],s=this.textSpans[t].span,a=this.textSpans[t].glyph,a&&a.renderFrame(),n._mdf.m&&s.setAttribute("transform",n.m),n._mdf.o&&s.setAttribute("op
41acity",n.o),n._mdf.sw&&s.setAttribute("stroke-width",n.sw),n._mdf.sc&&s.setAttribute("stroke",n.sc),n._mdf.fc&&s.setAttribute("fill",n.fc))}};function ISolidElement(t,e,r){this.initElement(t,e,r)}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)};function NullElement(t,e,r){this.initFrame(),this.initBaseData(t,e,r),this.initFrame(),this.initTransform(t,e,r),this.initHierarchy()}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);function SVGRendererBase(){}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),this.renderConfig.focusable!==void 0&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var 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(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&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]||this.layers[t].ty===99)){e[t]=!0;var r=this.createItem(this.layers[t]);if(e[t]=r,getExpressionsPlugin()&&(this.layers[t].ty===0&&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(i===-1)return;if(!this.elements[i]||this.elements[i]===!0)this.buildItem(i),this.addPendingElement(r);else{var n=e[i],s=n.getMatte(this.layers[t].tt);r.setMatte(s)}}}},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],s=n.getMatte(this.layers[e].tt);t.setMatte(s);break}e+=1}}},SVGRendererBase.prototype.renderFrame=function(t){if(!(this.renderedFrame===t||this.destroyed)){t===null?t=this.renderedFrame:this.renderedFrame=t,this.globalData.frameNum=t,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=t,this.globalData._mdf=!1;var e,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=0,n;i<e;)this.elements[i]&&this.elements[i]!==!0&&this.elements[i].getBaseElement()&&
vendor: 5,410 bytes, line 41
41(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"};function ICompElement(){}extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(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()};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}}extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};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 s=createNS("desc"),a=createElementID();s.setAttribute("id",a),s.textContent=e.description,this.svgElement.appendChild(s),r+=" "+a}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&&e.hideOnTransparent===!1),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||e.runExpressions===void 0||e.runExpressions},this.globalData={_mdf:!1,frameNum:-1,defs:o,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(t){return new SVGCompElement(t,this.globalData,this)};function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}ShapeTransformManager.prototype={addTransformSequence:function(e){var r,i=e.length,n="_";for(r=0;r<i;r+=1)n+=e[r].transform.key+"_";var s=this.sequences[n];return s||(s={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=s,this.sequenceList.push(s)),s},processSequence:function(e,r){for(var i=0,n=e.transforms.length,s=r;i<n&&!r;){if(e.transforms[i].transform.mProps._mdf){s=!0;break}i+=1}if(s)for(e.finalTransform.reset(),i=n-1;i>=0;i-=1)e.finalTransform.multiply(e.transforms[i].transform.mProps.v);e._mdf=s},processSequences:function(e){var r,i=this.sequenceList.length;for(r=0;r<i;r+=1)this.processSequence(this.sequenceList[r],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}};var lumaLoader=function(){var e="__lottie_element_luma_buffer",r=null,i=null,n=null;function s(){var l=createNS("svg"),h=createNS("filter"),c=createNS("feColorMatrix");return h.setAttribute("id",e),c.setAttribute("type","matrix"),c.setAttribute("color-interpolation-filters","sRGB"),c.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"),h.appendChild(c),l.appendChild(h),l.setAttribute("id",e+"_svg"),featureSupport.svgLumaHidden&&(l.style.display="none"),l}function a(){r||(n=s(),document.body.appendChild(n),r=createTag("canvas"),i=r.getContext("2d"),i.filter="url
41(#"+e+")",i.fillStyle="rgba(0,0,0,0)",i.fillRect(0,0,1,1))}function o(l){return r||a(),r.width=l.width,r.height=l.height,i.filter="url(#"+e+")",r}return{load:a,get:o}};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=function(){return{loadLumaCanvas:lumaLoader.load,getLumaCanvas:lumaLoader.get,createCanvas}}(),registeredEffects={};function CVEffects(t){var e,r=t.data.ef?t.data.ef.length:0;this.filters=[];var i;for(e=0;e<r;e+=1){i=null;var n=t.data.ef[e].ty;if(registeredEffects[n]){var s=registeredEffects[n].effect;i=new s(t.effectsManager.effectElements[e],t)}i&&this.filters.push(i)}this.filters.length&&t.addRenderableComponent(this)}CVEffects.prototype.renderFrame=function(t){var e,r=this.filters.length;for(e=0;e<r;e+=1)this.filters[e].renderFrame(t)},CVEffects.prototype.getEffects=function(t){var e,r=this.filters.length,i=[];for(e=0;e<r;e+=1)this.filters[e].type===t&&i.push(this.filters[e]);return i};function registerEffect(t,e){registeredEffects[t]={effect:e}}function CVMaskElement(t,e){this.data=t,this.element=e,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var r,i=this.masksProperties.length,n=!1;for(r=0;r<i;r+=1)this.masksProperties[r].mode!=="n"&&(n=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=n,n&&this.element.addRenderableComponent(this)}CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var t=this.element.finalTransform.mat,e=this.element.canvasContext,r,i=this.masksProperties.length,n,s,a;for(e.beginPath(),r=0;r<i;r+=1)if(this.masksProperties[r].mode!=="n"){this.masksProperties[r].inv&&(e.moveTo(0,0),e.lineTo(this.element.globalData.compSize.w,0),e.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),e.lineTo(0,this.element.globalData.compSize.h),e.lineTo(0,0)),a=this.viewData[r].v,n=t.applyToPointArray(a.v[0][0],a.v[0][1],0),e.moveTo(n[0],n[1]);var o,l=a._length;for(o=1;o<l;o+=1)s=t.applyToTriplePoints(a.o[o-1],a.i[o],a.v[o]),e.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);s=t.applyToTriplePoints(a.o[o-1],a.i[0],a.v[0]),e.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5])}this.element.globalData.renderer.save(!0),e.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null};function CVBaseElement(){}var operationsMap={1:"source-in",2:"source-out",3:"source-in",4:"source-out"};CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){if(this.data.tt>=1){this.buffers=[];var e=this.globalData.canvasContext,r=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(r);var i=assetLoader.createCanvas(e.canvas.width,e.canvas.height);this.buffers.push(i),this.data.tt>=3&&!document._isProxy&&assetLoader.loadLumaCanvas()}this.canvasContext=this.globalData.canvasContext,this.transformCanvas=this.globalData.transformCanvas,this.renderableEffectsManager=new CVEffects(this),this.searchEffectTransforms()},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var r=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=r}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this),this.transformEffects=this.renderableEffectsManager.getEffects(effectTypes.TRANSFORM_EFFECT)},hideElement:function(){!this.hidden&&(!this.isInRange||this.isTransparent)&&(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},clearCanvas:function(e){e.clearRect(this.transformCanvas.tx,this.transformCanvas.ty,this.transformCanvas.w*this.transformCanvas.sx,this.transformCanvas.h*this.transformCanvas.sy)},prepareLayer:function(){if(this.data.tt>=1){var e=this.buffers[0],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.currentTransform=this.canvasContext.getTransform(),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform)}},exitLayer:function(){if(this.data.tt>=1){var e=this.buffers[1],r=e.getContext("2d");this.clearCanvas(r),r.drawImage(this.canvasContext.canvas,0,0),this.canvasContext.setTransform(1,0,0,1,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.setTransform(this.currentTransform);var i=this.comp.getElementById("tp"in this.data?this.data.tp:this.data.ind-1);if(i.renderFrame(!0),this.canvasContext.setTransform(1,0,0,1,0,0),this.data.tt>=3&&!document._isProxy){var n=assetLoader.getLumaCanvas(this.canvasContext.canvas),s=n.getContext("2d");s.drawImage(this.canvasContext.canvas,0,0),this.clearCanvas(this.canvasContext),this.canvasContext.drawImage(n,
vendor: 115,204 bytes, line 41
410,0)}this.canvasContext.globalCompositeOperation=operationsMap[this.data.tt],this.canvasContext.drawImage(e,0,0),this.canvasContext.globalCompositeOperation="destination-over",this.canvasContext.drawImage(this.buffers[0],0,0),this.canvasContext.setTransform(this.currentTransform),this.canvasContext.globalCompositeOperation="source-over"}},renderFrame:function(e){if(!(this.hidden||this.data.hd)&&!(this.data.td===1&&!e)){this.renderTransform(),this.renderRenderable(),this.renderLocalTransform(),this.setBlendMode();var r=this.data.ty===0;this.prepareLayer(),this.globalData.renderer.save(r),this.globalData.renderer.ctxTransform(this.finalTransform.localMat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.localOpacity),this.renderInnerContent(),this.globalData.renderer.restore(r),this.exitLayer(),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement;function CVShapeData(t,e,r,i){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var n=4;e.ty==="rc"?n=5:e.ty==="el"?n=6:e.ty==="sr"&&(n=7),this.sh=ShapePropertyFactory.getShapeProp(t,e,n,t);var s,a=r.length,o;for(s=0;s<a;s+=1)r[s].closed||(o={transforms:i.addTransformSequence(r[s].transforms),trNodes:[]},this.styledShapes.push(o),r[s].elements.push(o))}CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated;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)}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:t.hd===!0},i={};if(t.ty==="fl"||t.ty==="st"?(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])+")")):(t.ty==="gf"||t.ty==="gs")&&(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),t.ty==="st"||t.ty==="gs"){if(r.lc=lineCapEnum[t.lc||2],r.lj=lineJoinEnum[t.lj||2],t.lj==1&&(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=t.r===2?"evenodd":"nonzero";return this.stylesList.push(r),i.style=r,i},CVShapeElement.prototype.createGroupElement=function(){var t={it:[],prevViewData:[]};return t},CVShapeElement.prototype.createTransformElement=function(t){var e={transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,t.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,t,this)}};return e},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(){this._isFirstFrame=!0;var t,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 s,a=t.length-1,o,l,h=[],c=[],d,f,u,m=[].concat(n);for(s=a;s>=0;s-=1){if(d=this.searchProcessedElement(t[s]),d?e[s]=r[d-1]:t[s]._shouldRender=i,t[s].ty==="fl"||t[s].ty==="st"||t[s].ty==="gf"||t[s].ty==="gs")d?e[s].style.closed=!1:e[s]=this.createStyleElement(t[s],m),h.push(e[s].style);else if(t[s].ty==="gr"){if(!d)e[s]=this.createGroupElement(t[s]);else for(l=e[s].it.length,o=0;o<l;o+=1)e[s].prevViewData[o]=e[s].it[o];this.searchShapes(t[s].it,e[s].it,e[s].prevViewData,i,m)}else t[s].ty==="tr"?(d||(u=this.createTransformElement(t[s]),e[s]=u),m.push(e[s]),this.addTransformToStyleList(e[s])):t[s].ty==="sh"||t[s].ty==="rc"||t[s].ty==="el"||t[s].ty==="sr"?d||(e[s]=this.createShapeElement(t[s])):t[s].ty==="tm"||t[s].ty==="rd"||t[s].ty==="pb"||t[s].ty==="zz"||t[s].ty==="op"?(d?(f=e[s],f.closed=!1):(f=ShapeModifiers.getModifier(t[s].ty),f.init(this,t[s]),e[s]=f,this.shapeModifiers.push(f)),c.push(f)):t[s].ty==="rp"&&(d?(f=e[s],f.closed=!0):(f=ShapeModifiers.getModifier(t[s].ty),e[s]=f,f.init(this,t,s,e),this.shapeModifiers.push(f),i=!1),c.push(f));this.addProcessedElement(t[s],s+1)}for(this.removeTransformFromStyleList(),this.closeStyles(h),a=c.length,s=0;s<a;s+=1)c[s].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(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=this.stylesList.length,r,i,n,s,a,o,l=this.globalData.renderer,h=this.globalData.canvasContext,c,d;for(t=0;t<e;t+=1)if(d=this.stylesList[t],c=d.type,!((c==="st"||c==="gs")&&d.wi===0||!d.data._shouldRender||d.coOp===0||this.globalData.currentGlobalAlpha===0)){for(l.save(),a=d.elements,c==="st"||c==="gs"?(l.ctxStrokeStyle(c==="st"?d.co:d.grd),l.ctxLineWidth(d.wi),l.ctxLineCap(d.lc),l.ctxLineJoin(d.lj),l.ctxMiterLimit(d.ml||0)):l.ctxFillStyle(c==="fl"?d.co:d.grd),l.ctxOpacity(d.coOp),c!=="st"&&c!=="gs"&&h.beginPath(),l.ctxTransform(d.preTransforms.finalTransform.props),i=a.length,r=0;r<i;r+=1){for((c==="st"||c==="gs")&&(h.beginPath(),d.da&&(h.setLineDash(d.da),h.lineDashOffset=d.do)),o=a[r].trNodes,s=o.length,n=0;n<s;n+=1)o[n].t==="m"?h.moveTo(o[n].p[0],o[n].p[1]):o[n].t==="c"?h.bezierCurveTo(o[n].pts[0],o[n].pts[1],o[n].pts[2],o[n].pts[3],o[n].pts[4],o[n].pts[5]):h.closePath();(c==="st"||c==="gs")&&(l.ctxStroke(),d.da&&h.setLineDash(this.dashResetter))}c!=="st"&&c!=="gs"&&this.globalData.renderer.ctxFill(d.r),l.restore()}},CVShapeElement.prototype.renderShape=function(t,e,r,i){var n,s=e.length-1,a;for(a=t,n=s;n>=0;n-=1)e[n].ty==="tr"?(a=r[n].transform,this.renderShapeTransform(t,a)):e[n].ty==="sh"||e[n].ty==="el"||e[n].ty==="rc"||e[n].ty==="sr"?this.renderPath(e[n],r[n]):e[n].ty==="fl"?this.renderFill(e[n],r[n],a):e[n].ty==="st"?this.renderStroke(e[n],r[n],a):e[n].ty==="gf"||e[n].ty==="gs"?this.renderGradientFill(e[n],r[n],a):e[n].ty==="gr"?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=t.trNodes,i=e.paths,n,s,a,o=i._length;r.length=0;var l=t.transforms.finalTransform;for(a=0;a<o;a+=1){var h=i.shapes[a];if(h&&h.v){for(s=h._length,n=1;n<s;n+=1)n===1&&r.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),r.push({t:"c",pts:l.applyToTriplePoints(h.o[n-1],h.i[n],h.v[n])});s===1&&r.push({t:"m",p:l.applyToPointArray(h.v[0][0],h.v[0][1],0)}),h.c&&s&&(r.push({t:"c",pts:l.applyToTriplePoints(h.o[n-1],h.i[0],h.v[0])}),r.push({t:"z"}))}}t.trNodes=r}},CVShapeElement.prototype.renderPath=function(t,e){if(t.hd!==!0&&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=e.style,n;if(!i.grd||e.g._mdf||e.s._mdf||e.e._mdf||t.t!==1&&(e.h._mdf||e.a._mdf)){var s=this.globalData.canvasContext,a=e.s.v,o=e.e.v;if(t.t===1)n=s.createLinearGradient(a[0],a[1],o[0],o[1]);else{var l=Math.sqrt(Math.pow(a[0]-o[0],2)+Math.pow(a[1]-o[1],2)),h=Math.atan2(o[1]-a[1],o[0]-a[0]),c=e.h.v;c>=1?c=.99:c<=-1&&(c=-.99);var d=l*c,f=Math.cos(h+e.a.v)*d+a[0],u=Math.sin(h+e.a.v)*d+a[1];n=s.createRadialGradient(f,u,0,a[0],a[1],l)}var m,p=t.g.p,x=e.g.c,_=1;for(m=0;m<p;m+=1)e.g._hasOpacity&&e.g._collapsable&&(_=e.g.o[m*2+1]),n.addColorStop(x[m*4]/100,"rgba("+x[m*4+1]+","+x[m*4+2]+","+x[m*4+3]+","+_+")");i.grd=n}i.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};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)}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=this.globalData.fontManager.getFontByName(t.f),n,s,a=t.l,o=this.mHelper;this.stroke=r,this.values.fValue=t.finalSize+"px "+this.globalData.fontManager.getFontByName(t.f).fFamily,s=t.finalText.length;var l,h,c,d,f,u,m,p,x,_,y=this.data.singleShape,g=t.tr*.001*t.finalSize,v=0,k=0,P=!0,C=0;for(n=0;n<s;n+=1){l=this.globalData.fontManager.getCharData(t.finalText[n],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),h=l&&l.data||{},o.reset(),y&&a[n].n&&(v=-g,k+=t.yOffset,k+=P?1:0,P=!1),f=h.shapes?h.shapes[0].it:[],m=f.length,o.scale(t.finalSize/100,t.finalSize/100),y&&this.applyTextPropertiesToMatrix(t,o,a[n].line,v,k),x=createSizedArray(m-1);var E=0;for(u=0;u<m;u+=1)if(f[u].ty==="sh"){for(d=f[u].ks.k.i.length,p=f[u].ks.k,_=[],c=1;c<d;c+=1)c===1&&_.push(o.applyToX(p.v[0][0],p.v[0][1],0),o.applyToY(p.v[0][0],p.v[0][1],0)),_.push(o.applyToX(p.o[c-1][0],p.o[c-1][1],0),o.applyToY(p.o[c-1][0],p.o[c-1][1],0),o.applyToX(p.i[c][0],p.i[c][1],0),o.applyToY(p.i[c][0],p.i[c][1],0),o.applyToX(p.v[c][0],p.v[c][1],0),o.applyToY(p.v[c][0],p.v[c][1],0));_.push(o.applyToX(p.o[c-1][0],p.o[c-1][1],0),o.applyToY(p.o[c-1][0],p.o[c-1][1],0),o.applyToX(p.i[0][0],p.i[0][1],0),o.applyToY(p.i[0][0],p.i[0][1],0),o.applyToX(p.v[0][0],p.v[0][1],0),o.applyToY(p.v[0][0],p.v[0][1],0)),x[E]=_,E+=1}y&&(v+=a[n].l,v+=g),this.textSpans[C]?this.textSpans[C].elem=x:this.textSpans[C]={elem:x},C+=1}},CVTextElement.prototype.renderInnerContent=function(){this.validateText();var t=this.canvasContext;t.font=this.values.fValue,this.globalData.renderer.ctxLineCap("butt"),this.globalData.renderer.ctxLineJoin("miter"),this.globalData.renderer.ctxMiterLimit(4),this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var e,r,i,n,s,a,o=this.textAnimator.renderedLetters,l=this.textProperty.currentData.l;r=l.length;var h,c=null,d=null,f=null,u,m,p=this.globalData.renderer;for(e=0;e<r;e+=1)if(!l[e].n){if(h=o[e],h&&(p.save(),p.ctxTransform(h.p),p.ctxOpacity(h.o)),this.fill){for(h&&h.fc?c!==h.fc&&(p.ctxFillStyle(h.fc),c=h.fc):c!==this.values.fill&&(c=this.values.fill,p.ctxFillStyle(this.values.fill)),u=this.textSpans[e].elem,n=u.length,this.globalData.canvasContext.beginPath(),i=0;i<n;i+=1)for(m=u[i],a=m.length,this.globalData.canvasContext.moveTo(m[0],m[1]),s=2;s<a;s+=6)this.globalData.canvasContext.bezierCurveTo(m[s],m[s+1],m[s+2],m[s+3],m[s+4],m[s+5]);this.globalData.canvasContext.closePath(),p.ctxFill()}if(this.stroke){for(h&&h.sw?f!==h.sw&&(f=h.sw,p.ctxLineWidth(h.sw)):f!==this.values.sWidth&&(f=this.values.sWidth,p.ctxLineWidth(this.values.sWidth)),h&&h.sc?d!==h.sc&&(d=h.sc,p.ctxStrokeStyle(h.sc)):d!==this.values.stroke&&(d=this.values.stroke,p.ctxStrokeStyle(this.values.stroke)),u=this.textSpans[e].elem,n=u.length,this.globalData.canvasContext.beginPath(),i=0;i<n;i+=1)for(m=u[i],a=m.length,this.globalData.canvasContext.moveTo(m[0],m[1]),s=2;s<a;s+=6)this.globalData.canvasContext.bezierCurveTo(m[s],m[s+1],m[s+2],m[s+3],m[s+4],m[s+5]);this.globalData.canvasContext.closePath(),p.ctxStroke()}h&&this.globalData.renderer.restore()}};function CVImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.img=e.imageLoader.getAsset(this.assetData),this.initElement(t,e,r)}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=t.getContext("2d"),r=this.img.width,i=this.img.height,n=r/i,s=this.assetData.w/this.assetData.h,a,o,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;n>s&&l==="xMidYMid slice"||n<s&&l!=="xMidYMid slice"?(o=i,a=o*s):(a=r,o=a/s),e.drawImage(this.img,(r-a)/2,(i-o)/2,a,o,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};function CVSolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){this.globalData.renderer.ctxFillStyle(this.data.sc),this.globalData.renderer.ctxFillRect(0,0,this.data.sw,this.data.sh)};function CanvasRendererBase(){}extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(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){t[0]===1&&t[1]===0&&t[4]===0&&t[5]===1&&t[12]===0&&t[13]===0||this.canvasContext.transform(t[0],t[1],t[4],t[5],t[12],t[13])},CanvasRendererBase.prototype.ctxOpacity=function(t){this.canvasContext.globalAlpha*=t<0?0:t},CanvasRendererBase.prototype.ctxFillStyle=function(t){this.canvasContext.fillStyle=t},CanvasRendererBase.prototype.ctxStrokeStyle=function(t){this.canvasContext.strokeStyle=t},CanvasRendererBase.prototype.ctxLineWidth=function(t){this.canvasContext.lineWidth=t},CanvasRendererBase.prototype.ctxLineCap=function(t){this.canvasContext.lineCap=t},CanvasRendererBase.prototype.ctxLineJoin=function(t){this.canvasContext.lineJoin=t},CanvasRendererBase.prototype.ctxMiterLimit=function(t){this.canvasContext.miterLimit=t},CanvasRendererBase.prototype.ctxFill=function(t){this.canvasContext.fill(t)},CanvasRendererBase.prototype.ctxFillRect=function(t,e,r,i){this.canvasContext.fillRect(t,e,r,i)},CanvasRendererBase.prototype.ctxStroke=function(){this.canvasContext.stroke()},CanvasRendererBase.prototype.reset=function(){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}this.contextData.reset()},CanvasRendererBase.prototype.save=function(){this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(t){if(!this.renderConfig.clearCanvas){this.canvasContext.restore();return}t&&(this.globalData.blendMode="source-over"),this.contextData.restore(t)},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.contextData.setContext(this.canvasContext),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){this.reset();var r,i;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);var n,s;if(this.renderConfig.preserveAspectRatio.indexOf("meet")!==-1||this.renderConfig.preserveAspectRatio.indexOf("slice")!==-1){var a=this.renderConfig.preserveAspectRatio.split(" "),o=a[1]||"meet",l=a[0]||"xMidYMid",h=l.substr(0,4),c=l.substr(4);n=r/i,s=this.transformCanvas.w/this.transformCanvas.h,s>n&&o==="meet"||s<n&&o==="slice"?(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)),h==="xMid"&&(s<n&&o==="meet"||s>n&&o==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))/2*this.renderConfig.dpr:h==="xMax"&&(s<n&&o==="meet"||s>n&&o==="slice")?this.transformCanvas.tx=(r-this.transformCanvas.w*(i/this.transformCanvas.h))*this.renderConfig.dpr:this.transformCanvas.tx=0,c==="YMid"&&(s>n&&o==="meet"||s<n&&o==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))/2*this.renderConfig.dpr:c==="YMax"&&(s>n&&o==="meet"||s<n&&o==="slice")?this.transformCanvas.ty=(i-this.transformCanvas.h*(r/this.transformCanvas.w))*this.renderConfig.dpr:this.transformCanvas.ty=0}else this.renderConfig.preserveAspectRatio==="none"?(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(){this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText="");var t,e=this.layers?this.layers.length:0;for(t=e-1;t>=0;t-=1)this.elements[t]&&this.elements[t].destroy&&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&&this.renderConfig.clearCanvas===!0&&!e||this.destroyed||t===-1)){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 r,i=this.layers.length;for(this.completeLayers||this.checkLayers(t),r=i-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(t-this.layers[r].st);if(this.globalData._mdf){for(this.renderConfig.clearCanvas===!0?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();this.renderConfig.clearCanvas!==!0&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(t){var e=this.elements;if(!(e[t]||this.layers[t].ty===99)){var r=this.createItem(this.layers[t],this,this.globalData);e[t]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"};function CanvasContext(){this.opacity=-1,this.transform=createTypedArray("float32",16),this.fillStyle="",this.strokeStyle="",this.lineWidth="",this.lineCap="",this.lineJoin="",this.miterLimit="",this.id=Math.random()}function CVContextData(){this.stack=[],this.cArrPos=0,this.cTr=new Matrix;var t,e=15;for(t=0;t<e;t+=1){var r=new CanvasContext;this.stack[t]=r}this._length=e,this.nativeContext=null,this.transformMat=new Matrix,this.currentOpacity=1,this.currentFillStyle="",this.appliedFillStyle="",this.currentStrokeStyle="",this.appliedStrokeStyle="",this.currentLineWidth="",this.appliedLineWidth="",this.currentLineCap="",this.appliedLineCap="",this.currentLineJoin="",this.appliedLineJoin="",this.appliedMiterLimit="",this.currentMiterLimit=""}CVContextData.prototype.duplicate=function(){var t=this._length*2,e=0;for(e=this._length;e<t;e+=1)this.stack[e]=new CanvasContext;this._length=t},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.stack[this.cArrPos].opacity=1},CVContextData.prototype.restore=function(t){this.cArrPos-=1;var e=this.stack[this.cArrPos],r=e.transform,i,n=this.cTr.props;for(i=0;i<16;i+=1)n[i]=r[i];if(t){this.nativeContext.restore();var s=this.stack[this.cArrPos+1];this.appliedFillStyle=s.fillStyle,this.appliedStrokeStyle=s.strokeStyle,this.appliedLineWidth=s.lineWidth,this.appliedLineCap=s.lineCap,this.appliedLineJoin=s.lineJoin,this.appliedMiterLimit=s.miterLimit}this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),(t||e.opacity!==-1&&this.currentOpacity!==e.opacity)&&(this.nativeContext.globalAlpha=e.opacity,this.currentOpacity=e.opacity),this.currentFillStyle=e.fillStyle,this.currentStrokeStyle=e.strokeStyle,this.currentLineWidth=e.lineWidth,this.currentLineCap=e.lineCap,this.currentLineJoin=e.lineJoin,this.currentMiterLimit=e.miterLimit},CVContextData.prototype.save=function(t){t&&this.nativeContext.save();var e=this.cTr.props;this._length<=this.cArrPos&&this.duplicate();var r=this.stack[this.cArrPos],i;for(i=0;i<16;i+=1)r.transform[i]=e[i];this.cArrPos+=1;var n=this.stack[this.cArrPos];n.opacity=r.opacity,n.fillStyle=r.fillStyle,n.strokeStyle=r.strokeStyle,n.lineWidth=r.lineWidth,n.lineCap=r.lineCap,n.lineJoin=r.lineJoin,n.miterLimit=r.miterLimit},CVContextData.prototype.setOpacity=function(t){this.stack[this.cArrPos].opacity=t},CVContextData.prototype.setContext=function(t){this.nativeContext=t},CVContextData.prototype.fillStyle=function(t){this.stack[this.cArrPos].fillStyle!==t&&(this.currentFillStyle=t,this.stack[this.cArrPos].fillStyle=t)},CVContextData.prototype.strokeStyle=function(t){this.stack[this.cArrPos].strokeStyle!==t&&(this.currentStrokeStyle=t,this.stack[this.cArrPos].strokeStyle=t)},CVContextData.prototype.lineWidth=function(t){this.stack[this.cArrPos].lineWidth!==t&&(this.currentLineWidth=t,this.stack[this.cArrPos].lineWidth=t)},CVContextData.prototype.lineCap=function(t){this.stack[this.cArrPos].lineCap!==t&&(this.currentLineCap=t,this.stack[this.cArrPos].lineCap=t)},CVContextData.prototype.lineJoin=function(t){this.stack[this.cArrPos].lineJoin!==t&&(this.currentLineJoin=t,this.stack[this.cArrPos].lineJoin=t)},CVContextData.prototype.miterLimit=function(t){this.stack[this.cArrPos].miterLimit!==t&&(this.currentMiterLimit=t,this.stack[this.cArrPos].miterLimit=t)},CVContextData.prototype.transform=function(t){this.transformMat.cloneFromProps(t);var e=this.cTr;this.transformMat.multiply(e),e.cloneFromProps(this.transformMat.props);var r=e.props;this.nativeContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])},CVContextData.prototype.opacity=function(t){var e=this.stack[this.cArrPos].opacity;e*=t<0?0:t,this.stack[this.cArrPos].opacity!==e&&(this.currentOpacity!==t&&(this.nativeContext.globalAlpha=t,this.currentOpacity=t),this.stack[this.cArrPos].opacity=e)},CVContextData.prototype.fill=function(t){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fill(t)},CVContextData.prototype.fillRect=function(t,e,r,i){this.appliedFillStyle!==this.currentFillStyle&&(this.appliedFillStyle=this.currentFillStyle,this.nativeContext.fillStyle=this.appliedFillStyle),this.nativeContext.fillRect(t,e,r,i)},CVContextData.prototype.stroke=function(){this.appliedStrokeStyle!==this.currentStrokeStyle&&(this.appliedStrokeStyle=this.currentStrokeStyle,this.nativeContext.strokeStyle=this.appliedStrokeStyle),this.appliedLineWidth!==this.currentLineWidth&&(this.appliedLineWidth=this.currentLineWidth,this.nativeContext.lineWidth=this.appliedLineWidth),this.appliedLineCap!==this.currentLineCap&&(this.appliedLineCap=this.currentLineCap,this.nativeContext.lineCap=this.appliedLineCap),this.appliedLineJoin!==this.currentLineJoin&&(this.appliedLineJoin=this.currentLineJoin,this.nativeContext.lineJoin=this.appliedLineJoin),this.appliedMiterLimit!==this.currentMiterLimit&&(this.appliedMiterLimit=this.currentMiterLimit,this.nativeContext.miterLimit=this.appliedMiterLimit),this.nativeContext.stroke()};function CVCompElement(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}}extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var t=this.canvasContext;t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip();var e,r=this.layers.length;for(e=r-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var t,e=this.layers.length;for(t=e-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)};function CanvasRenderer(t,e){this.animationItem=t,this.renderConfig={clearCanvas:e&&e.clearCanvas!==void 0?e.clearCanvas:!0,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||e.runExpressions===void 0||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",this.renderConfig.clearCanvas&&(this.ctxTransform=this.contextData.transform.bind(this.contextData),this.ctxOpacity=this.contextData.opacity.bind(this.contextData),this.ctxFillStyle=this.contextData.fillStyle.bind(this.contextData),this.ctxStrokeStyle=this.contextData.strokeStyle.bind(this.contextData),this.ctxLineWidth=this.contextData.lineWidth.bind(this.contextData),this.ctxLineCap=this.contextData.lineCap.bind(this.contextData),this.ctxLineJoin=this.contextData.lineJoin.bind(this.contextData),this.ctxMiterLimit=this.contextData.miterLimit.bind(this.contextData),this.ctxFill=this.contextData.fill.bind(this.contextData),this.ctxFillRect=this.contextData.fillRect.bind(this.contextData),this.ctxStroke=this.contextData.stroke.bind(this.contextData),this.save=this.contextData.save.bind(this.contextData))}extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(t){return new CVCompElement(t,this.globalData,this)};function HBaseElement(){}HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),this.data.bm!==0&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var r=this.finalTransform.mat.toCSS();e.transform=r,e.webkitTransform=r}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting;function HSolidElement(t,e,r){this.initElement(t,e,r)}extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var t;this.data.hasMask?(t=createNS("rect"),t.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"),t.style.width=this.data.sw+"px",t.style.height=this.data.sh+"px",t.style.backgroundColor=this.data.sc),this.layerElement.appendChild(t)};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}}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=t.sh.v,i=t.transformers,n,s=r._length,a,o,l,h;if(!(s<=1)){for(n=0;n<s-1;n+=1)a=this.getTransformedPoint(i,r.v[n]),o=this.getTransformedPoint(i,r.o[n]),l=this.getTransformedPoint(i,r.i[n+1]),h=this.getTransformedPoint(i,r.v[n+1]),this.checkBounds(a,o,l,h,e);r.c&&(a=this.getTransformedPoint(i,r.v[n]),o=this.getTransformedPoint(i,r.o[n]),l=this.getTransformedPoint(i,r.i[0]),h=this.getTransformedPoint(i,r.v[0]),this.checkBounds(a,o,l,h,e))}},HShapeElement.prototype.checkBounds=function(t,e,r,i,n){this.getBoundsOfCurve(t,e,r,i);var s=this.shapeBoundingBox;n.x=bmMin(s.left,n.x),n.xMax=bmMax(s.right,n.xMax),n.y=bmMin(s.top,n.y),n.yMax=bmMax(s.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=[[t[0],i[0]],[t[1],i[1]]],s,a,o,l,h,c,d,f=0;f<2;++f)a=6*t[f]-12*e[f]+6*r[f],s=-3*t[f]+9*e[f]-9*r[f]+3*i[f],o=3*e[f]-3*t[f],a|=0,s|=0,o|=0,s===0&&a===0||(s===0?(l=-o/a,l>0&&l<1&&n[f].push(this.calculateF(l,t,e,r,i,f))):(h=a*a-4*o*s,h>=0&&(c=(-a+bmSqrt(h))/(2*s),c>0&&c<1&&n[f].push(this.calculateF(c,t,e,r,i,f)),d=(-a-bmSqrt(h))/(2*s),d>0&&d<1&&n[f].push(this.calculateF(d,t,e,r,i,f)))));this.shapeBoundingBox.left=bmMin.apply(null,n[0]),this.shapeBoundingBox.top=bmMin.apply(null,n[1]),this.shapeBoundingBox.right=bmMax.apply(null,n[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,n[1])},HShapeElement.prototype.calculateF=function(t,e,r,i,n,s){return bmPow(1-t,3)*e[s]+3*bmPow(1-t,2)*t*r[s]+3*(1-t)*bmPow(t,2)*i[s]+bmPow(t,3)*n[s]},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}}};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)}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=this.globalData.fontManager.getFontByName(t.f);if(!this.globalData.fontManager.chars)if(e.fontSize=t.finalSize+"px",e.lineHeight=t.finalSize+"px",i.fClass)this.innerElem.className=i.fClass;else{e.fontFamily=i.fFamily;var n=t.fWeight,s=t.fStyle;e.fontStyle=s,e.fontWeight=n}var a,o,l=t.l;o=l.length;var h,c,d,f=this.mHelper,u,m="",p=0;for(a=0;a<o;a+=1){if(this.globalData.fontManager.chars?(this.textPaths[p]?h=this.textPaths[p]:(h=createNS("path"),h.setAttribute("stroke-linecap",lineCapEnum[1]),h.setAttribute("stroke-linejoin",lineJoinEnum[2]),h.setAttribute("stroke-miterlimit","4")),this.isMasked||(this.textSpans[p]?(c=this.textSpans[p],d=c.children[0]):(c=createTag("div"),c.style.lineHeight=0,d=createNS("svg"),d.appendChild(h),styleDiv(c)))):this.isMasked?h=this.textPaths[p]?this.textPaths[p]:createNS("text"):this.textSpans[p]?(c=this.textSpans[p],h=this.textPaths[p]):(c=createTag("span"),styleDiv(c),h=createTag("span"),styleDiv(h),c.appendChild(h)),this.globalData.fontManager.chars){var x=this.globalData.fontManager.getCharData(t.finalText[a],i.fStyle,this.globalData.fontManager.getFontByName(t.f).fFamily),_;if(x?_=x.data:_=null,f.reset(),_&&_.shapes&&_.shapes.length&&(u=_.shapes[0].it,f.scale(t.finalSize/100,t.finalSize/100),m=this.createPathShape(f,u),h.setAttribute("d",m)),this.isMasked)this.innerElem.appendChild(h);else{if(this.innerElem.appendChild(c),_&&_.shapes){document.body.appendChild(d);var y=d.getBBox();d.setAttribute("width",y.width+2),d.setAttribute("height",y.height+2),d.setAttribute("viewBox",y.x-1+" "+(y.y-1)+" "+(y.width+2)+" "+(y.height+2));var g=d.style,v="translate("+(y.x-1)+"px,"+(y.y-1)+"px)";g.transform=v,g.webkitTransform=v,l[a].yOffset=y.y-1}else d.setAttribute("width",1),d.setAttribute("height",1);c.appendChild(d)}}else if(h.textContent=l[a].val,h.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),this.isMasked)this.innerElem.appendChild(h);else{this.innerElem.appendChild(c);var k=h.style,P="translate3d(0,"+-t.finalSize/1.2+"px,0)";k.transform=P,k.webkitTransform=P}this.isMasked?this.textSpans[p]=h:this.textSpans[p]=c,this.textSpans[p].style.display="block",this.textPaths[p]=h,p+=1}for(;p<this.textSpans.length;)this.textSpans[p].style.display="none",p+=1},HTextElement.prototype.renderInnerContent=function(){this.validateText();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=0,s=this.textAnimator.renderedLetters,a=this.textProperty.currentData.l;i=a.length;var o,l,h;for(r=0;r<i;r+=1)a[r].n?n+=1:(l=this.textSpans[r],h=this.textPaths[r],o=s[n],n+=1,o._mdf.m&&(this.isMasked?l.setAttribute("transform",o.m):(l.style.webkitTransform=o.m,l.style.transform=o.m)),l.style.opacity=o.o,o.sw&&o._mdf.sw&&h.setAttribute("stroke-width",o.sw),o.sc&&o._mdf.sc&&h.setAttribute("stroke",o.sc),o.fc&&o._mdf.fc&&(h.setAttribute("fill",o.fc),h.style.color=o.fc));if(this.innerElem.getBBox&&!this.hidden&&(this._isFirstFrame||this._mdf)){var c=this.innerElem.getBBox();this.currentBBox.w!==c.width&&(this.currentBBox.w=c.width,this.svgElement.setAttribute("width",c.width)),this.currentBBox.h!==c.height&&(this.currentBBox.h=c.height,this.svgElement.setAttribute("height",c.height));var d=1;if(this.currentBBox.w!==c.width+d*2||this.currentBBox.h!==c.height+d*2||this.currentBBox.x!==c.x-d||this.currentBBox.y!==c.y-d){this.currentBBox.w=c.width+d*2,this.currentBBox.h=c.height+d*2,this.currentBBox.x=c.x-d,this.currentBBox.y=c.y-d,this.svgElement.setAttribute("viewBox",this.currentBBox.x+" "+this.currentBBox.y+" "+this.currentBBox.w+" "+this.currentBBox.h),t=this.svgElement.style;var f="translate("+this.currentBBox.x+"px,"+this.currentBBox.y+"px)";t.transform=f,t.webkitTransform=f}}}};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,s=t.ks.or.k.length;for(n=0;n<s;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}}extendPrototype([BaseElement,FrameElement,HierarchyElement],HCameraElement),HCameraElement.prototype.setup=function(){var t,e=this.comp.threeDElements.length,r,i,n;for(t=0;t<e;t+=1)if(r=this.comp.threeDElements[t],r.type==="3d"){i=r.perspectiveElem.style,n=r.container.style;var s=this.pe.v+"px",a="0px 0px 0px",o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";i.perspective=s,i.webkitPerspective=s,n.transformOrigin=a,n.mozTransformOrigin=a,n.webkitTransformOrigin=a,i.transform=o,i.webkitTransform=o}},HCameraElement.prototype.createElements=function(){},HCameraElement.prototype.hide=function(){},HCameraElement.prototype.renderFrame=function(){var t=this._isFirstFrame,e,r;if(this.hierarchy)for(r=this.hierarchy.length,e=0;e<r;e+=1)t=this.hierarchy[e].finalTransform.mProp._mdf||t;if(t||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(r=this.hierarchy.length-1,e=r;e>=0;e-=1){var i=this.hierarchy[e].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;this.p?n=[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:n=[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var s=Math.sqrt(Math.pow(n[0],2)+Math.pow(n[1],2)+Math.pow(n[2],2)),a=[n[0]/s,n[1]/s,n[2]/s],o=Math.sqrt(a[2]*a[2]+a[0]*a[0]),l=Math.atan2(a[1],o),h=Math.atan2(a[0],-a[2]);this.mat.rotateY(h).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){r=this.comp.threeDElements.length;var d,f,u;for(e=0;e<r;e+=1)if(d=this.comp.threeDElements[e],d.type==="3d"){if(c){var m=this.mat.toCSS();u=d.container.style,u.transform=m,u.webkitTransform=m}this.pe._mdf&&(f=d.perspectiveElem.style,f.perspective=this.pe.v+"px",f.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};function HImageElement(t,e,r){this.assetData=e.getAssetData(t.refId),this.initElement(t,e,r)}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)};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&&e.hideOnTransparent===!1),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"}extendPrototype([BaseRenderer],HybridRendererBase),HybridRendererBase.prototype.buildItem=SVGRenderer.prototype.buildItem,HybridRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var t=this.pendingElements.pop();t.checkParenting()}},HybridRendererBase.prototype.appendElementInPos=function(t,e){var r=t.getBaseElement();if(r){var i=this.layers[e];if(!i.ddd||!this.supports3d)if(this.threeDElements)this.addTo3dContainer(r,e);else{for(var n=0,s,a,o;n<e;)this.elements[n]&&this.elements[n]!==!0&&this.elements[n].getBaseElement&&(a=this.elements[n],o=this.layers[n].ddd?this.getThreeDContainerByPos(n):a.getBaseElement(),s=o||s),n+=1;s?(!i.ddd||!this.supports3d)&&this.layerElement.insertBefore(r,s):(!i.ddd||!this.supports3d)&&this.layerElement.appendChild(r)}else this.addTo3dContainer(r,e)}},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=createTag("div"),i,n;styleDiv(r);var s=createTag("div");if(styleDiv(s),e==="3d"){i=r.style,i.width=this.globalData.compSize.w+"px",i.height=this.globalData.compSize.h+"px";var a="50% 50%";i.webkitTransformOrigin=a,i.mozTransformOrigin=a,i.transformOrigin=a,n=s.style;var o="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";n.transform=o,n.webkitTransform=o}r.appendChild(s);var l={container:s,perspectiveElem:r,startPos:t,endPos:t,type:e};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var t,e=this.layers.length,r,i="";for(t=0;t<e;t+=1)this.layers[t].ddd&&this.layers[t].ty!==3?(i!=="3d"&&(i="3d",r=this.createThreeDContainer(t,"3d")),r.endPos=Math.max(r.endPos,t)):(i!=="2d"&&(i="2d",r=this.createThreeDContainer(t,"2d")),r.endPos=Math.max(r.endPos,t));for(e=this.threeDElements.length,t=e-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=this.threeDElements[r].startPos,s;n<e;)this.elements[n]&&this.elements[n].getBaseElement&&(s=this.elements[n].getBaseElement()),n+=1;s?this.threeDElements[r].container.insertBefore(t,s):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 s=createNS("defs");n.appendChild(s),this.data=t,this.setupGlobalData(t,n),this.globalData.defs=s,this.layers=t.layers,this.layerElement=this.resizerElem,this.build3dContainers(),this.updateContainerSize()},HybridRendererBase.prototype.destroy=function(){this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.animationItem.container=null,this.globalData.defs=null;var t,e=this.layers?this.layers.length:0;for(t=0;t<e;t+=1)this.elements[t]&&this.elements[t].destroy&&this.elements[t].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},HybridRendererBase.prototype.updateContainerSize=function(){var t=this.animationItem.wrapper.offsetWidth,e=this.animationItem.wrapper.offsetHeight,r=t/e,i=this.globalData.compSize.w/this.globalData.compSize.h,n,s,a,o;i>r?(n=t/this.globalData.compSize.w,s=t/this.globalData.compSize.w,a=0,o=(e-this.globalData.compSize.h*(t/this.globalData.compSize.w))/2):(n=e/this.globalData.compSize.h,s=e/this.globalData.compSize.h,a=(t-this.globalData.compSize.w*(e/this.globalData.compSize.h))/2,o=0);var l=this.resizerElem.style;l.webkitTransform="matrix3d("+n+",0,0,0,0,"+s+",0,0,0,0,1,0,"+a+","+o+",0,1)",l.transform=l.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=this.globalData.compSize.w,e=this.globalData.compSize.h,r,i=this.threeDElements.length;for(r=0;r<i;r+=1){var n=this.threeDElements[r].perspectiveElem.style;n.webkitPerspective=Math.sqrt(Math.pow(t,2)+Math.pow(e,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)}};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}}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=0,i;r<e;)this.elements[r]&&this.elements[r].getBaseElement&&(i=this.elements[r].getBaseElement()),r+=1;i?this.layerElement.insertBefore(t,i):this.layerElement.appendChild(t)},HCompElement.prototype.createComp=function(t){return this.supports3d?new HCompElement(t,this.globalData,this):new SVGCompElement(t,this.globalData,this)};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&&e.hideOnTransparent===!1),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||e.runExpressions===void 0||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([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(){return function(t){function e(r){for(var i=0,n=t.layers.length;i<n;){if(t.layers[i].nm===r||t.layers[i].ind===r)return t.elements[i].layerInterface;i+=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}}();function _typeof$2(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$2=function(r){return typeof r}:_typeof$2=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$2(t)}function seedRandom(t,e){var r=this,i=256,n=6,s=52,a="random",o=e.pow(i,n),l=e.pow(2,s),h=l*2,c=i-1,d;function f(g,v,k){var P=[];v=v===!0?{entropy:!0}:v||{};var C=x(p(v.entropy?[g,y(t)]:g===null?_():g,3),P),E=new u(P),M=function(){for(var D=E.g(n),I=o,L=0;D<l;)D=(D+L)*i,I*=i,L=E.g(1);for(;D>=h;)D/=2,I/=2,L>>>=1;return(D+L)/I};return M.int32=function(){return E.g(4)|0},M.quick=function(){return E.g(4)/4294967296},M.double=M,x(y(E.S),t),(v.pass||k||function(B,D,I,L){return L&&(L.S&&m(L,E),B.state=function(){return m(E,{})}),I?(e[a]=B,D):B})(M,C,"global"in v?v.global:this==e,v.state)}e["seed"+a]=f;function u(g){var v,k=g.length,P=this,C=0,E=P.i=P.j=0,M=P.S=[];for(k||(g=[k++]);C<i;)M[C]=C++;for(C=0;C<i;C++)M[C]=M[E=c&E+g[C%k]+(v=M[C])],M[E]=v;P.g=function(B){for(var D,I=0,L=P.i,R=P.j,$=P.S;B--;)D=$[L=c&L+1],I=I*i+$[c&($[L]=$[R=c&R+D])+($[R]=D)];return P.i=L,P.j=R,I}}function m(g,v){return v.i=g.i,v.j=g.j,v.S=g.S.slice(),v}function p(g,v){var k=[],P=_typeof$2(g),C;if(v&&P=="object")for(C in g)try{k.push(p(g[C],v-1))}catch{}return k.length?k:P=="string"?g:g+"\0"}function x(g,v){for(var k=g+"",P,C=0;C<k.length;)v[c&C]=c&(P^=v[c&C]*19)+k.charCodeAt(C++);return y(v)}function _(){try{var g=new Uint8Array(i);return(r.crypto||r.msCrypto).getRandomValues(g),y(g)}catch{var v=r.navigator,k=v&&v.plugins;return[+new Date,r,k,r.screen,y(t)]}}function y(g){return String.fromCharCode.apply(0,g)}x(e.random(),t)}function initialize$2(t){seedRandom([],t)}var propTypes={SHAPE:"shape"};function _typeof$1(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof$1=function(r){return typeof r}:_typeof$1=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof$1(t)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null,_lottieGlobal={};initialize$2(BMMath);function resetFrame(){_lottieGlobal={}}function $bm_isInstanceOfArray(t){return t.constructor===Array||t.constructor===Float32Array}function isNumerable(t,e){return t==="number"||e instanceof Number||t==="boolean"||t==="string"}function $bm_neg(t){var e=_typeof$1(t);if(e==="number"||t instanceof Number||e==="boolean")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}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$1(t),i=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(i,e)||r==="string"||i==="string")return t+e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]+=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t+e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,s=t.length,a=e.length,o=[];n<s||n<a;)(typeof t[n]=="number"||t[n]instanceof Number)&&(typeof e[n]=="number"||e[n]instanceof Number)?o[n]=t[n]+e[n]:o[n]=e[n]===void 0?t[n]:t[n]||e[n],n+=1;return o}return 0}var add=sum;function sub(t,e){var r=_typeof$1(t),i=_typeof$1(e);if(isNumerable(r,t)&&isNumerable(i,e))return r==="string"&&(t=parseInt(t,10)),i==="string"&&(e=parseInt(e,10)),t-e;if($bm_isInstanceOfArray(t)&&isNumerable(i,e))return t=t.slice(0),t[0]-=e,t;if(isNumerable(r,t)&&$bm_isInstanceOfArray(e))return e=e.slice(0),e[0]=t-e[0],e;if($bm_isInstanceOfArray(t)&&$bm_isInstanceOfArray(e)){for(var n=0,s=t.length,a=e.length,o=[];n<s||n<a;)(typeof t[n]=="number"||t[n]instanceof Number)&&(typeof e[n]=="number"||e[n]instanceof Number)?o[n]=t[n]-e[n]:o[n]=e[n]===void 0?t[n]:t[n]||e[n],n+=1;return o}return 0}function mul(t,e){var r=_typeof$1(t),i=_typeof$1(e),n;if(isNumerable(r,t)&&isNumerable(i,e))return t*e;var s,a;if($bm_isInstanceOfArray(t)&&isNumerable(i,e)){for(a=t.length,n=createTypedArray("float32",a),s=0;s<a;s+=1)n[s]=t[s]*e;return n}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(a=e.length,n=createTypedArray("float32",a),s=0;s<a;s+=1)n[s]=t*e[s];return n}return 0}function div(t,e){var r=_typeof$1(t),i=_typeof$1(e),n;if(isNumerable(r,t)&&isNumerable(i,e))return t/e;var s,a;if($bm_isInstanceOfArray(t)&&isNumerable(i,e)){for(a=t.length,n=createTypedArray("float32",a),s=0;s<a;s+=1)n[s]=t[s]/e;return n}if(isNumerable(r,t)&&$bm_isInstanceOfArray(e)){for(a=e.length,n=createTypedArray("float32",a),s=0;s<a;s+=1)n[s]=t/e[s];return n}return 0}function mod(t,e){return typeof t=="string"&&(t=parseInt(t,10)),typeof e=="string"&&(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(typeof t=="number"||t instanceof Number)return e=e||0,Math.abs(t-e);e||(e=helperLengthArray);var r,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=t[0],r=t[1],i=t[2],n=Math.max(e,r,i),s=Math.min(e,r,i),a,o,l=(n+s)/2;if(n===s)a=0,o=0;else{var h=n-s;switch(o=l>.5?h/(2-n-s):h/(n+s),n){case e:a=(r-i)/h+(r<i?6:0);break;case r:a=(i-e)/h+2;break;case i:a=(e-r)/h+4;break}a/=6}return[a,o,l,t[3]]}function hue2rgb(t,e,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?t+(e-t)*6*r:r<1/2?e:r<2/3?t+(e-t)*(2/3-r)*6:t}function hslToRgb(t){var e=t[0],r=t[1],i=t[2],n,s,a;if(r===0)n=i,a=i,s=i;else{var o=i<.5?i*(1+r):i+r-i*r,l=2*i-o;n=hue2rgb(l,o,e+1/3),s=hue2rgb(l,o,e),a=hue2rgb(l,o,e-1/3)}return[n,s,a,t[3]]}function linear(t,e,r,i,n){if((i===void 0||n===void 0)&&(i=e,n=r,e=0,r=1),r<e){var s=r;r=e,e=s}if(t<=e)return i;if(t>=r)return n;var a=r===e?0:(t-e)/(r-e);if(!i.length)return i+(n-i)*a;var o,l=i.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=i[o]+(n[o]-i[o])*a;return h}function random(t,e){if(e===void 0&&(t===void 0?(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),s=BMMath.random();for(r=0;r<i;r+=1)n[r]=t[r]+s*(e[r]-t[r]);return n}t===void 0&&(t=0);var a=BMMath.random();return t+a*(e-t)}function createPath(t,e,r,i){var n,s=t.length,a=shapePool.newElement();a.setPathData(!!i,s);var o=[0,0],l,h;for(n=0;n<s;n+=1)l=e&&e[n]?e[n]:o,h=r&&r[n]?r[n]:o,a.setTripleAt(t[n][0],t[n][1],h[0]+t[n][0],h[1]+t[n][1],l[0]+t[n][0],l[1]+t[n][1],n,!0);return a}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=val.indexOf("random")!==-1,elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||this.data.hd!==!0,wiggle=(function t(e,r){var i,n,s=this.pv.length?this.pv.length:1,a=createTypedArray("float32",s);e=5;var o=Math.floor(time*e);for(i=0,n=0;i<o;){for(n=0;n<s;n+=1)a[n]+=-r+r*2*BMMath.random();i+=1}var l=time*e,h=l-Math.floor(l),c=createTypedArray("float32",s);if(s>1){for(n=0;n<s;n+=1)c[n]=this.pv[n]+a[n]+(-r+r*2*BMMath.random())*h;return c}return this.pv+a[0]+(-r+r*2*BMMath.random())*h}).bind(this);thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty));function loopInDuration(t,e){return loopIn(t,e,!0)}function loopOutDuration(t,e){return loopOut(t,e,!0)}this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface);function lookAt(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,n=-Math.atan2(r[1],r[2])/degToRads;return[n,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,s){n===void 0?(n=r,s=i):e=(e-r)/(i-r),e>1?e=1:e<0&&(e=0);var a=t(e);if($bm_isInstanceOfArray(n)){var o,l=n.length,h=createTypedArray("float32",l);for(o=0;o<l;o+=1)h[o]=(s[o]-n[o])*a+n[o];return h}return(s-n)*a+n}function nearestKey(t){var e,r=data.k.length,i,n;if(!data.k.length||typeof data.k[0]=="number")i=0,n=0;else if(i=-1,t*=elem.comp.globalData.frameRate,t<data.k[0].t)i=1,n=data.k[0].t;else{for(e=0;e<r-1;e+=1)if(t===data.k[e].t){i=e+1,n=data.k[e].t;break}else if(t>data.k[e].t&&t<data.k[e+1].t){t-data.k[e].t>data.k[e+1].t-t?(i=e+2,n=data.k[e+1].t):(i=e+1,n=data.k[e].t);break}i===-1&&(i=e+1,n=data.k[e].t)}var s={};return s.index=i,s.time=n/elem.comp.globalData.frameRate,s}function key(t){var e,r,i;if(!data.k.length||typeof data.k[0]=="number")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&&t!==0&&(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 typeof value=="string"?e===void 0?value.substring(t):value.substring(t,e):""}function substr(t,e){return typeof value=="string"?e===void 0?value.substr(t):value.substr(t,e):""}function posterizeTime(t){time=t===0?0:Math.floor(time*t)/t,value=valueAtTime(time)}var time,velocity,value,text,textIndex,textTotal,selectorValue,index=elem.data.ind,hasParent=!!(elem.hierarchy&&elem.hierarchy.length),parent,randSeed=Math.floor(Math.random()*1e6),globalData=elem.globalData;function executeExpression(t){return value=t,this.frameExpressionId===elem.globalData.frameId&&this.propType!=="textSelector"?value:(this.propType==="textSelector"&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),elemType===4&&!content&&(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),hasParent=!!(elem.hierarchy&&elem.hierarchy.length),hasParent&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt,scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath,_lottieGlobal],ob.resetFrame=resetFrame,ob}(),Expressions=function(){var t={};t.initExpressions=e,t.resetFrame=ExpressionManager.resetFrame;function e(r){var i=0,n=[];function s(){i+=1}function a(){i-=1,i===0&&l()}function o(h){n.indexOf(h)===-1&&n.push(h)}function l(){var h,c=n.length;for(h=0;h<c;h+=1)n[h].release();n.length=0}r.renderer.compInterface=CompExpressionInterface(r.renderer),r.renderer.globalData.projectInterface.registerComposition(r.renderer),r.renderer.globalData.pushExpression=s,r.renderer.globalData.popExpression=a,r.renderer.globalData.registerExpressionProperty=o}return t}(),MaskManagerInterface=function(){function t(r,i){this._mask=r,this._data=i}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(),this._mask.op.v*100}});var e=function(i){var n=createSizedArray(i.viewData.length),s,a=i.viewData.length;for(s=0;s<a;s+=1)n[s]=new t(i.viewData[s],i.masksProperties[s]);var o=function(h){for(s=0;s<a;){if(i.masksProperties[s].nm===h)return n[s];s+=1}return null};return o};return e}(),ExpressionPropertyInterface=function(){var t={pv:0,v:0,mult:1},e={pv:[0,0,0],v:[0,0,0],mult:1};function r(a,o,l){Object.defineProperty(a,"velocity",{get:function(){return o.getVelocityAtTime(o.comp.currentFrame)}}),a.numKeys=o.keyframes?o.keyframes.length:0,a.key=function(h){if(!a.numKeys)return 0;var c="";"s"in o.keyframes[h-1]?c=o.keyframes[h-1].s:"e"in o.keyframes[h-2]?c=o.keyframes[h-2].e:c=o.keyframes[h-2].s;var d=l==="unidimensional"?new Number(c):Object.assign({},c);return d.time=o.keyframes[h-1].t/o.elem.comp.globalData.frameRate,d.value=l==="unidimensional"?c[0]:c,d},a.valueAtTime=o.getValueAtTime,a.speedAtTime=o.getSpeedAtTime,a.velocityAtTime=o.getVelocityAtTime,a.propertyGroup=o.propertyGroup}function i(a){(!a||!("pv"in a))&&(a=t);var o=1/a.mult,l=a.pv*o,h=new Number(l);return h.value=l,r(h,a,"unidimensional"),function(){return a.k&&a.getValue(),l=a.v*o,h.value!==l&&(h=new Number(l),h.value=l,r(h,a,"unidimensional")),h}}function n(a){(!a||!("pv"in a))&&(a=e);var o=1/a.mult,l=a.data&&a.data.l||a.pv.length,h=createTypedArray("float32",l),c=createTypedArray("float32",l);return h.value=c,r(h,a,"multidimensional"),function(){a.k&&a.getValue();for(var d=0;d<l;d+=1)c[d]=a.v[d]*o,h[d]=c[d];return h}}function s(){return t}return function(a){return a?a.propType==="unidimensional"?i(a):n(a):s}}(),TransformExpressionInterface=function(){return function(t){function e(a){switch(a){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}}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)});var r,i,n,s;return t.p?s=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?s():[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(h){var c=new Matrix;if(h!==void 0){var d=this._elem.finalTransform.mProp.getValueAtTime(h);d.clone(c)}else{var f=this._elem.finalTransform.mProp;f.applyToMatrix(c)}return c}function e(h,c){var d=this.getMatrix(c);return d.props[12]=0,d.props[13]=0,d.props[14]=0,this.applyPoint(d,h)}function r(h,c){var d=this.getMatrix(c);return this.applyPoint(d,h)}function i(h,c){var d=this.getMatrix(c);return d.props[12]=0,d.props[13]=0,d.props[14]=0,this.invertPoint(d,h)}function n(h,c){var d=this.getMatrix(c);return this.invertPoint(d,h)}function s(h,c){if(this._elem.hierarchy&&this._elem.hierarchy.length){var d,f=this._elem.hierarchy.length;for(d=0;d<f;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(h)}return h.applyToPointArray(c[0],c[1],c[2]||0)}function a(h,c){if(this._elem.hierarchy&&this._elem.hierarchy.length){var d,f=this._elem.hierarchy.length;for(d=0;d<f;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(h)}return h.inversePoint(c)}function o(h){var c=new Matrix;if(c.reset(),this._elem.finalTransform.mProp.applyToMatrix(c),this._elem.hierarchy&&this._elem.hierarchy.length){var d,f=this._elem.hierarchy.length;for(d=0;d<f;d+=1)this._elem.hierarchy[d].finalTransform.mProp.applyToMatrix(c);return c.inversePoint(h)}return c.inversePoint(h)}function l(){return[1,1,1,1]}return function(h){var c;function d(p){u.mask=new MaskManagerInterface(p,h)}function f(p){u.effect=p}function u(p){switch(p){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 c;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=a,u.applyPoint=s,u.toWorld=r,u.toWorldVec=e,u.fromWorld=n,u.fromWorldVec=i,u.toComp=r,u.fromComp=o,u.sampleImage=l,u.sourceRectAtTime=h.sourceRectAtTime.bind(h),u._elem=h,c=TransformExpressionInterface(h.finalTransform.mProp);var m=getDescriptor(c,"anchorPoint");return Object.defineProperties(u,{hasParent:{get:function(){return h.hierarchy.length}},parent:{get:function(){return h.hierarchy[0].layerInterface}},rotation:getDescriptor(c,"rotation"),scale:getDescriptor(c,"scale"),position:getDescriptor(c,"position"),opacity:getDescriptor(c,"opacity"),anchorPoint:m,anchor_point:m,transform:{get:function(){return c}},active:{get:function(){return h.isInRange}}}),u.startTime=h.data.st,u.index=h.data.ind,u.source=h.data.refId,u.height=h.data.ty===0?h.data.h:100,u.width=h.data.ty===0?h.data.w:100,u.inPoint=h.data.ip/h.comp.globalData.frameRate,u.outPoint=h.data.op/h.comp.globalData.frameRate,u._name=h.data.nm,u.registerMaskInterface=d,u.registerEffectsInterface=f,u}}(),propertyGroupFactory=function(){return function(t,e){return function(r){return r=r===void 0?1:r,r<=0?t:e(r-1)}}}(),PropertyInterface=function(){return function(t,e){var r={_name:t};function i(n){return n=n===void 0?1:n,n<=0?r:e(n-1)}return i}}(),EffectsExpressionInterface=function(){var t={createEffectsInterface:e};function e(n,s){if(n.effectsManager){var a=[],o=n.data.ef,l,h=n.effectsManager.effectElements.length;for(l=0;l<h;l+=1)a.push(r(o[l],n.effectsManager.effectElements[l],s,n));var c=n.data.ef||[],d=function(u){for(l=0,h=c.length;l<h;){if(u===c[l].nm||u===c[l].mn||u===c[l].ix)return a[l];l+=1}return null};return Object.defineProperty(d,"numProperties",{get:function(){return c.length}}),d}return null}function r(n,s,a,o){function l(u){for(var m=n.ef,p=0,x=m.length;p<x;){if(u===m[p].nm||u===m[p].mn||u===m[p].ix)return m[p].ty===5?c[p]:c[p]();p+=1}throw new Error}var h=propertyGroupFactory(l,a),c=[],d,f=n.ef.length;for(d=0;d<f;d+=1)n.ef[d].ty===5?c.push(r(n.ef[d],s.effectElements[d],s.effectElements[d].propertyGroup,o)):c.push(i(s.effectElements[d],n.ef[d].ty,o,h));return n.mn==="ADBE Color Control"&&Object.defineProperty(l,"color",{get:function(){return c[0]()}}),Object.defineProperties(l,{numProperties:{get:function(){return n.np}},_name:{value:n.nm},propertyGroup:{value:h}}),l.enabled=n.en!==0,l.active=l.enabled,l}function i(n,s,a,o){var l=ExpressionPropertyInterface(n.p);function h(){return s===10?a.comp.compInterface(n.p.v):l()}return n.p.setGroupProperty&&n.p.setGroupProperty(PropertyInterface("",o)),h}return t}(),ShapePathInterface=function(){return function(e,r,i){var n=r.sh;function s(o){return o==="Shape"||o==="shape"||o==="Path"||o==="path"||o==="ADBE Vector Shape"||o===2?s.path:null}var a=propertyGroupFactory(s,i);return n.setGroupProperty(PropertyInterface("Path",a)),Object.defineProperties(s,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:i}}),s}}(),ShapeExpressionInterface=function(){function t(m,p,x){var _=[],y,g=m?m.length:0;for(y=0;y<g;y+=1)m[y].ty==="gr"?_.push(r(m[y],p[y],x)):m[y].ty==="fl"?_.push(i(m[y],p[y],x)):m[y].ty==="st"?_.push(a(m[y],p[y],x)):m[y].ty==="tm"?_.push(o(m[y],p[y],x)):m[y].ty==="tr"||(m[y].ty==="el"?_.push(h(m[y],p[y],x)):m[y].ty==="sr"?_.push(c(m[y],p[y],x)):m[y].ty==="sh"?_.push(ShapePathInterface(m[y],p[y],x)):m[y].ty==="rc"?_.push(d(m[y],p[y],x)):m[y].ty==="rd"?_.push(f(m[y],p[y],x)):m[y].ty==="rp"?_.push(u(m[y],p[y],x)):m[y].ty==="gf"?_.push(n(m[y],p[y],x)):_.push(s(m[y],p[y])));return _}function e(m,p,x){var _,y=function(k){for(var P=0,C=_.length;P<C;){if(_[P]._name===k||_[P].mn===k||_[P].propertyIndex===k||_[P].ix===k||_[P].ind===k)return _[P];P+=1}return typeof k=="number"?_[k-1]:null};y.propertyGroup=propertyGroupFactory(y,x),_=t(m.it,p.it,y.propertyGroup),y.numProperties=_.length;var g=l(m.it[m.it.length-1],p.it[p.it.length-1],y.propertyGroup);return y.transform=g,y.propertyIndex=m.cix,y._name=m.nm,y}function r(m,p,x){var _=function(k){switch(k){case"ADBE Vectors Group":case"Contents":case 2:return _.content;default:return _.transform}};_.propertyGroup=propertyGroupFactory(_,x);var y=e(m,p,_.propertyGroup),g=l(m.it[m.it.length-1],p.it[p.it.length-1],_.propertyGroup);return _.content=y,_.transform=g,Object.defineProperty(_,"_name",{get:function(){return m.nm}}),_.numProperties=m.np,_.propertyIndex=m.ix,_.nm=m.nm,_.mn=m.mn,_}function i(m,p,x){function _(y){return y==="Color"||y==="color"?_.color:y==="Opacity"||y==="opacity"?_.opacity:null}return Object.defineProperties(_,{color:{get:ExpressionPropertyInterface(p.c)},opacity:{get:ExpressionPropertyInterface(p.o)},_name:{value:m.nm},mn:{value:m.mn}}),p.c.setGroupProperty(PropertyInterface("Color",x)),p.o.setGroupProperty(PropertyInterface("Opacity",x)),_}function n(m,p,x){function _(y){return y==="Start Point"||y==="start point"?_.startPoint:y==="End Point"||y==="end point"?_.endPoint:y==="Opacity"||y==="opacity"?_.opacity:null}return Object.defineProperties(_,{startPoint:{get:ExpressionPropertyInterface(p.s)},endPoint:{get:ExpressionPropertyInterface(p.e)},opacity:{get:ExpressionPropertyInterface(p.o)},type:{get:function(){return"a"}},_name:{value:m.nm},mn:{value:m.mn}}),p.s.setGroupProperty(PropertyInterface("Start Point",x)),p.e.setGroupProperty(PropertyInterface("End Point",x)),p.o.setGroupProperty(PropertyInterface("Opacity",x)),_}function s(){function m(){return null}return m}function a(m,p,x){var _=propertyGroupFactory(C,x),y=propertyGroupFactory(P,_);function g(E){Object.defineProperty(P,m.d[E].nm,{get:ExpressionPropertyInterface(p.d.dataProps[E].p)})}var v,k=m.d?m.d.length:0,P={};for(v=0;v<k;v+=1)g(v),p.d.dataProps[v].p.setGroupProperty(y);function C(E){return E==="Color"||E==="color"?C.color:E==="Opacity"||E==="opacity"?C.opacity:E==="Stroke Width"||E==="stroke width"?C.strokeWidth:null}return Object.defineProperties(C,{color:{get:ExpressionPropertyInterface(p.c)},opacity:{get:ExpressionPropertyInterface(p.o)},strokeWidth:{get:ExpressionPropertyInterface(p.w)},dash:{get:function(){return P}},_name:{value:m.nm},mn:{value:m.mn}}),p.c.setGroupProperty(PropertyInterface("Color",_)),p.o.setGroupProperty(PropertyInterface("Opacity",_)),p.w.setGroupProperty(PropertyInterface("Stroke Width",_)),C}function o(m,p,x){function _(g){return g===m.e.ix||g==="End"||g==="end"?_.end:g===m.s.ix?_.start:g===m.o.ix?_.offset:null}var y=propertyGroupFactory(_,x);return _.propertyIndex=m.ix,p.s.setGroupProperty(PropertyInterface("Start",y)),p.e.setGroupProperty(PropertyInterface("End",y)),p.o.setGroupProperty(PropertyInterface("Offset",y)),_.propertyIndex=m.ix,_.propertyGroup=x,Object.defineProperties(_,{start:{get:ExpressionPropertyInterface(p.s)},end:{get:ExpressionPropertyInterface(p.e)},offset:{get:ExpressionPropertyInterface(p.o)},_name:{value:m.nm}}),_.mn=m.mn,_}function l(m,p,x){function _(g){return m.a.ix===g||g==="Anchor Point"?_.anchorPoint:m.o.ix===g||g==="Opacity"?_.opacity:m.p.ix===g||g==="Position"?_.position:m.r.ix===g||g==="Rotation"||g==="ADBE Vector Rotation"?_.rotation:m.s.ix===g||g==="Scale"?_.scale:m.sk&&m.sk.ix===g||g==="Skew"?_.skew:m.sa&&m.sa.ix===g||g==="Skew Axis"?_.skewAxis:null}var y=propertyGroupFactory(_,x);return p.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",y)),p.transform.mProps.p.setGroupProperty(PropertyInterface("Position",y)),p.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",y)),p.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",y)),p.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",y)),p.transform.mProps.sk&&(p.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",y)),p.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",y))),p.transform.op.setGroupProperty(PropertyInterface("Opacity",y)),Object.defineProperties(_,{opacity:{get:ExpressionPropertyInterface(p.transform.mProps.o)},position:{get:ExpressionPropertyInterface(p.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(p.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(p.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(p.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(p.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(p.transform.mProps.sa)},_name:{value:m.nm}}),_.ty="tr",_.mn=m.mn,_.propertyGroup=x,_}function h(m,p,x){function _(v){return m.p.ix===v?_.position:m.s.ix===v?_.size:null}var y=propertyGroupFactory(_,x);_.propertyIndex=m.ix;var g=p.sh.ty==="tm"?p.sh.prop:p.sh;return g.s.setGroupProperty(PropertyInterface("Size",y)),g.p.setGroupProperty(PropertyInterface("Position",y)),Object.defineProperties(_,{size:{get:ExpressionPropertyInterface(g.s)},position:{get:ExpressionPropertyInterface(g.p)},_name:{value:m.nm}}),_.mn=m.mn,_}function c(m,p,x){function _(v){return m.p.ix===v?_.position:m.r.ix===v?_.rotation:m.pt.ix===v?_.points:m.or.ix===v||v==="ADBE Vector Star Outer Radius"?_.outerRadius:m.os.ix===v?_.outerRoundness:m.ir&&(m.ir.ix===v||v==="ADBE Vector Star Inner Radius")?_.innerRadius:m.is&&m.is.ix===v?_.innerRoundness:null}var y=propertyGroupFactory(_,x),g=p.sh.ty==="tm"?p.sh.prop:p.sh;return _.propertyIndex=m.ix,g.or.setGroupProperty(PropertyInterface("Outer Radius",y)),g.os.setGroupProperty(PropertyInterface("Outer Roundness",y)),g.pt.setGroupProperty(PropertyInterface("Points",y)),g.p.setGroupProperty(PropertyInterface("Position",y)),g.r.setGroupProperty(PropertyInterface("Rotation",y)),m.ir&&(g.ir.setGroupProperty(PropertyInterface("Inner Radius",y)),g.is.setGroupProperty(PropertyInterface("Inner Roundness",y))),Object.defineProperties(_,{position:{get:ExpressionPropertyInterface(g.p)},rotation:{get:ExpressionPropertyInterface(g.r)},points:{get:ExpressionPropertyInterface(g.pt)},outerRadius:{get:ExpressionPropertyInterface(g.or)},outerRoundness:{get:ExpressionPropertyInterface(g.os)},innerRadius:{get:ExpressionPropertyInterface(g.ir)},innerRoundness:{get:ExpressionPropertyInterface(g.is)},_name:{value:m.nm}}),_.mn=m.mn,_}function d(m,p,x){function _(v){return m.p.ix===v?_.position:m.r.ix===v?_.roundness:m.s.ix===v||v==="Size"||v==="ADBE Vector Rect Size"?_.size:null}var y=propertyGroupFactory(_,x),g=p.sh.ty==="tm"?p.sh.prop:p.sh;return _.propertyIndex=m.ix,g.p.setGroupProperty(PropertyInterface("Position",y)),g.s.setGroupProperty(PropertyInterface("Size",y)),g.r.setGroupProperty(PropertyInterface("Rotation",y)),Object.defineProperties(_,{position:{get:ExpressionPropertyInterface(g.p)},roundness:{get:ExpressionPropertyInterface(g.r)},size:{get:ExpressionPropertyInterface(g.s)},_name:{value:m.nm}}),_.mn=m.mn,_}function f(m,p,x){function _(v){return m.r.ix===v||v==="Round Corners 1"?_.radius:null}var y=propertyGroupFactory(_,x),g=p;return _.propertyIndex=m.ix,g.rd.setGroupProperty(PropertyInterface("Radius",y)),Object.defineProperties(_,{radius:{get:ExpressionPropertyInterface(g.rd)},_name:{value:m.nm}}),_.mn=m.mn,_}function u(m,p,x){function _(v){return m.c.ix===v||v==="Copies"?_.copies:m.o.ix===v||v==="Offset"?_.offset:null}var y=propertyGroupFactory(_,x),g=p;return _.propertyIndex=m.ix,g.c.setGroupProperty(PropertyInterface("Copies",y)),g.o.setGroupProperty(PropertyInterface("Offset",y)),Object.defineProperties(_,{copies:{get:ExpressionPropertyInterface(g.c)},offset:{get:ExpressionPropertyInterface(g.o)},_name:{value:m.nm}}),_.mn=m.mn,_}return function(m,p,x){var _;function y(v){if(typeof v=="number")return v=v===void 0?1:v,v===0?x:_[v-1];for(var k=0,P=_.length;k<P;){if(_[k]._name===v)return _[k];k+=1}return null}function g(){return x}return y.propertyGroup=propertyGroupFactory(y,g),_=t(m,p,y.propertyGroup),y.numProperties=_.length,y._name="Contents",y}}(),TextExpressionInterface=function(){return function(t){var e;function r(i){switch(i){case"ADBE Text Document":return r.sourceText;default:return null}}return Object.defineProperty(r,"sourceText",{get:function(){t.textProperty.getValue();var n=t.textProperty.currentData.t;return(!e||n!==e.value)&&(e=new String(n),e.value=n||new String(n),Object.defineProperty(e,"style",{get:function(){return{fillColor:t.textProperty.currentData.fc}}})),e}}),r}}();function _typeof(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?_typeof=function(r){return typeof r}:_typeof=function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},_typeof(t)}var FootageInterface=function(){var t=function(i){var n="",s=i.getFootageData();function a(){return n="",s=i.getFootageData(),o}function o(l){if(s[l])return n=l,s=s[l],_typeof(s)==="object"?o:s;var h=l.indexOf(n);if(h!==-1){var c=parseInt(l.substr(h+n.length),10);return s=s[c],_typeof(s)==="object"?o:s}return""}return a},e=function(i){function n(s){return s==="Outline"?n.outlineInterface():null}return n._name="Outline",n.outlineInterface=t(i),n};return function(r){function i(n){return n==="Data"?i.dataInterface:null}return i._name="Data",i.dataInterface=e(r),i}}(),interfaces={layer:LayerExpressionInterface,effects:EffectsExpressionInterface,comp:CompExpressionInterface,shape:ShapeExpressionInterface,text:TextExpressionInterface,footage:FootageInterface};function getInterface(t){return interfaces[t]||null}var expressionHelpers=function(){function t(a,o,l){o.x&&(l.k=!0,l.x=!0,l.initiateExpression=ExpressionManager.initiateExpression,l.effectsSequence.push(l.initiateExpression(a,o,l).bind(l)))}function e(a){return a*=this.elem.globalData.frameRate,a-=this.offsetTime,a!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<a?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(a,this._cachingAtTime),this._cachingAtTime.lastFrame=a),this._cachingAtTime.value}function r(a){var o=-.01,l=this.getValueAtTime(a),h=this.getValueAtTime(a+o),c=0;if(l.length){var d;for(d=0;d<l.length;d+=1)c+=Math.pow(h[d]-l[d],2);c=Math.sqrt(c)*100}else c=0;return c}function i(a){if(this.vel!==void 0)return this.vel;var o=-.001,l=this.getValueAtTime(a),h=this.getValueAtTime(a+o),c;if(l.length){c=createTypedArray("float32",l.length);var d;for(d=0;d<l.length;d+=1)c[d]=(h[d]-l[d])/o}else c=(h-l)/o;return c}function n(){return this.pv}function s(a){this.propertyGroup=a}return{searchExpressions:t,getSpeedAtTime:r,getVelocityAtTime:i,getValueAtTime:e,getStaticValueAtTime:n,setGroupProperty:s}}();function addPropertyDecorator(){function t(f,u,m){if(!this.k||!this.keyframes)return this.pv;f=f?f.toLowerCase():"";var p=this.comp.renderedFrame,x=this.keyframes,_=x[x.length-1].t;if(p<=_)return this.pv;var y,g;m?(u?y=Math.abs(_-this.elem.comp.globalData.frameRate*u):y=Math.max(0,_-this.elem.data.ip),g=_-y):((!u||u>x.length-1)&&(u=x.length-1),g=x[x.length-1-u].t,y=_-g);var v,k,P;if(f==="pingpong"){var C=Math.floor((p-g)/y);if(C%2!==0)return this.getValueAtTime((y-(p-g)%y+g)/this.comp.globalData.frameRate,0)}else if(f==="offset"){var E=this.getValueAtTime(g/this.comp.globalData.frameRate,0),M=this.getValueAtTime(_/this.comp.globalData.frameRate,0),B=this.getValueAtTime(((p-g)%y+g)/this.comp.globalData.frameRate,0),D=Math.floor((p-g)/y);if(this.pv.length){for(P=new Array(E.length),k=P.length,v=0;v<k;v+=1)P[v]=(M[v]-E[v])*D+B[v];return P}return(M-E)*D+B}else if(f==="continue"){var I=this.getValueAtTime(_/this.comp.globalData.frameRate,0),L=this.getValueAtTime((_-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(P=new Array(I.length),k=P.length,v=0;v<k;v+=1)P[v]=I[v]+(I[v]-L[v])*((p-_)/this.comp.globalData.frameRate)/5e-4;return P}return I+(I-L)*((p-_)/.001)}return this.getValueAtTime(((p-g)%y+g)/this.comp.globalData.frameRate,0)}function e(f,u,m){if(!this.k)return this.pv;f=f?f.toLowerCase():"";var p=this.comp.renderedFrame,x=this.keyframes,_=x[0].t;if(p>=_)return this.pv;var y,g;m?(u?y=Math.abs(this.elem.comp.globalData.frameRate*u):y=Math.max(0,this.elem.data.op-_),g=_+y):((!u||u>x.length-1)&&(u=x.length-1),g=x[u].t,y=g-_);var v,k,P;if(f==="pingpong"){var C=Math.floor((_-p)/y);if(C%2===0)return this.getValueAtTime(((_-p)%y+_)/this.comp.globalData.frameRate,0)}else if(f==="offset"){var E=this.getValueAtTime(_/this.comp.globalData.frameRate,0),M=this.getValueAtTime(g/this.comp.globalData.frameRate,0),B=this.getValueAtTime((y-(_-p)%y+_)/this.comp.globalData.frameRate,0),D=Math.floor((_-p)/y)+1;if(this.pv.length){for(P=new Array(E.length),k=P.length,v=0;v<k;v+=1)P[v]=B[v]-(M[v]-E[v])*D;return P}return B-(M-E)*D}else if(f==="continue"){var I=this.getValueAtTime(_/this.comp.globalData.frameRate,0),L=this.getValueAtTime((_+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(P=new Array(I.length),k=P.length,v=0;v<k;v+=1)P[v]=I[v]+(I[v]-L[v])*(_-p)/.001;return P}return I+(I-L)*(_-p)/.001}return this.getValueAtTime((y-((_-p)%y+_))/this.comp.globalData.frameRate,0)}function r(f,u){if(!this.k)return this.pv;if(f=(f||.4)*.5,u=Math.floor(u||5),u<=1)return this.pv;var m=this.comp.renderedFrame/this.comp.globalData.frameRate,p=m-f,x=m+f,_=u>1?(x-p)/(u-1):1,y=0,g=0,v;this.pv.length?v=createTypedArray("float32",this.pv.length):v=0;for(var k;y<u;){if(k=this.getValueAtTime(p+y*_),this.pv.length)for(g=0;g<this.pv.length;g+=1)v[g]+=k[g];else v+=k;y+=1}if(this.pv.length)for(g=0;g<this.pv.length;g+=1)v[g]/=u;else v/=u;return v}function i(f){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var u=this._transformCachingAtTime.v;if(u.cloneFromProps(this.pre.props),this.appliedTransformations<1){var m=this.a.getValueAtTime(f);u.translate(-m[0]*this.a.mult,-m[1]*this.a.mult,m[2]*this.a.mult)}if(this.appliedTransformations<2){var p=this.s.getValueAtTime(f);u.scale(p[0]*this.s.mult,p[1]*this.s.mult,p[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var x=this.sk.getValueAtTime(f),_=this.sa.getValueAtTime(f);u.skewFromAxis(-x*this.sk.mult,_*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var y=this.r.getValueAtTime(f);u.rotate(-y*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var g=this.rz.getValueAtTime(f),v=this.ry.getValueAtTime(f),k=this.rx.getValueAtTime(f),P=this.or.getValueAtTime(f);u.rotateZ(-g*this.rz.mult).rotateY(v*this.ry.mult).rotateX(k*this.rx.mult).rotateZ(-P[2]*this.or.mult).rotateY(P[1]*this.or.mult).rotateX(P[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var C=this.px.getValueAtTime(f),E=this.py.getValueAtTime(f);if(this.data.p.z){var M=this.pz.getValueAtTime(f);u.translate(C*this.px.mult,E*this.py.mult,-M*this.pz.mult)}else u.translate(C*this.px.mult,E*this.py.mult,0)}else{var B=this.p.getValueAtTime(f);u.translate(B[0]*this.p.mult,B[1]*this.p.mult,-B[2]*this.p.mult)}return u}function n(){return this.v.clone(new Matrix)}var s=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(f,u,m){var p=s(f,u,m);return p.dynamicProperties.length?p.getValueAtTime=i.bind(p):p.getValueAtTime=n.bind(p),p.setGroupProperty=expressionHelpers.setGroupProperty,p};var a=PropertyFactory.getProp;PropertyFactory.getProp=function(f,u,m,p,x){var _=a(f,u,m,p,x);_.kf?_.getValueAtTime=expressionHelpers.getValueAtTime.bind(_):_.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(_),_.setGroupProperty=expressionHelpers.setGroupProperty,_.loopOut=t,_.loopIn=e,_.smooth=r,_.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(_),_.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(_),_.numKeys=u.a===1?u.k.length:0,_.propertyIndex=u.ix;var y=0;return m!==0&&(y=createTypedArray("float32",u.a===1?u.k[0].s.length:u.k.length)),_._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:y},expressionHelpers.searchExpressions(f,u,_),_.k&&x.addDynamicProperty(_),_};function o(f){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),f*=this.elem.globalData.frameRate,f-=this.offsetTime,f!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<f?this._caching.lastIndex:0,this._cachingAtTime.lastTime=f,this.interpolateShape(f,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue}var l=ShapePropertyFactory.getConstructorFunction(),h=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(u,m){this.k&&this.getValue();var p=this.v;m!==void 0&&(p=this.getValueAtTime(m,0));var x,_=p._length,y=p[u],g=p.v,v=createSizedArray(_);for(x=0;x<_;x+=1)u==="i"||u==="o"?v[x]=[y[x][0]-g[x][0],y[x][1]-g[x][1]]:v[x]=[y[x][0],y[x][1]];return v},points:function(u){return this.vertices("v",u)},inTangents:function(u){return this.vertices("i",u)},outTangents:function(u){return this.vertices("o",u)},isClosed:function(){return this.v.c},pointOnPath:function(u,m){var p=this.v;m!==void 0&&(p=this.getValueAtTime(m,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(p));for(var x=this._segmentsLength,_=x.lengths,y=x.totalLength*u,g=0,v=_.length,k=0,P;g<v;){if(k+_[g].addedLength>y){var C=g,E=p.c&&g===v-1?0:g+1,M=(y-k)/_[g].addedLength;P=bez.getPointInSegment(p.v[C],p.v[E],p.o[C],p.i[E],M,_[g]);break}else k+=_[g].addedLength;g+=1}return P||(P=p.c?[p.v[0][0],p.v[0][1]]:[p.v[p._length-1][0],p.v[p._length-1][1]]),P},vectorOnPath:function(u,m,p){u==1?u=this.v.c:u==0&&(u=.999);var x=this.pointOnPath(u,m),_=this.pointOnPath(u+.001,m),y=_[0]-x[0],g=_[1]-x[1],v=Math.sqrt(Math.pow(y,2)+Math.pow(g,2));if(v===0)return[0,0];var k=p==="tangent"?[y/v,g/v]:[-g/v,y/v];return k},tangentOnPath:function(u,m){return this.vectorOnPath(u,m,"tangent")},normalOnPath:function(u,m){return this.vectorOnPath(u,m,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],l),extendPrototype([c],h),h.prototype.getValueAtTime=o,h.prototype.initiateExpression=ExpressionManager.initiateExpression;var d=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(f,u,m,p,x){var _=d(f,u,m,p,x);return _.propertyIndex=u.ix,_.lock=!1,m===3?expressionHelpers.searchExpressions(f,u.pt,_):m===4&&expressionHelpers.searchExpressions(f,u.ks,_),_.k&&f.addDynamicProperty(_),_}}function initialize$1(){addPropertyDecorator()}function addDecorator(){function t(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}TextProperty.prototype.getExpressionValue=function(e,r){var i=this.calculateExpression(r);if(e.t!==i){var n={};return this.copyData(n,e),n.t=i.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),r=this.searchExpressions();return this.kf=e||r,this.kf},TextProperty.prototype.searchExpressions=t}function initialize(){addDecorator()}function SVGComposableEffect(){}SVGComposableEffect.prototype={createMergeNode:function t(e,r){var i=createNS("feMerge");i.setAttribute("result",e);var n,s;for(s=0;s<r.length;s+=1)n=createNS("feMergeNode"),n.setAttribute("in",r[s]),i.appendChild(n),i.appendChild(n);return i}};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 s=createNS("feColorMatrix");s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","linearRGB"),s.setAttribute("values",linearFilterValue+" 1 0"),this.linearFilter=s,s.setAttribute("result",i+"_tint_1"),t.appendChild(s),s=createNS("feColorMatrix"),s.setAttribute("type","matrix"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("values","1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0"),s.setAttribute("result",i+"_tint_2"),t.appendChild(s),this.matrixFilter=s;var a=this.createMergeNode(i,[n,i+"_tint_1",i+"_tint_2"]);t.appendChild(a)}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")}};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}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")}};function SVGStrokeEffect(t,e,r){this.initialized=!1,this.filterManager=e,this.elem=r,this.paths=[]}SVGStrokeEffect.prototype.initialize=function(){var t=this.elem.layerElement.children||this.elem.layerElement.childNodes,e,r,i,n;for(this.filterManager.effectElements[1].p.v===1?(n=this.elem.maskManager.masksProperties.length,i=0):(i=this.filterManager.effectElements[0].p.v-1,n=i+1),r=createNS("g"),r.setAttribute("fill","none"),r.setAttribute("stroke-linecap","round"),r.setAttribute("stroke-dashoffset",1),i;i<n;i+=1)e=createNS("path"),r.appendChild(e),this.paths.push({p:e,m:i});if(this.filterManager.effectElements[10].p.v===3){var s=createNS("mask"),a=createElementID();s.setAttribute("id",a),s.setAttribute("mask-type","alpha"),s.appendChild(r),this.elem.globalData.defs.appendChild(s);var o=createNS("g");for(o.setAttribute("mask","url("+getLocationHref()+"#"+a+")");t[0];)o.appendChild(t[0]);this.elem.layerElement.appendChild(o),this.masker=s,r.setAttribute("stroke","#fff")}else if(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2){if(this.filterManager.effectElements[10].p.v===2)for(t=this.elem.layerElement.children||this.elem.layerElement.childNodes;t.length;)this.elem.layerElement.removeChild(t[0]);this.elem.layerElement.appendChild(r),this.elem.layerElement.removeAttribute("mask"),r.setAttribute("stroke","#fff")}this.initialized=!0,this.pathMasker=r},SVGStrokeEffect.prototype.renderFrame=function(t){this.initialized||this.initialize();var e,r=this.paths.length,i,n;for(e=0;e<r;e+=1)if(this.paths[e].m!==-1&&(i=this.elem.maskManager.viewData[this.paths[e].m],n=this.paths[e].p,(t||this.filterManager._mdf||i.prop._mdf)&&n.setAttribute("d",i.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||i.prop._mdf)){var s;if(this.filterManager.effectElements[7].p.v!==0||this.filterManager.effectElements[8].p.v!==100){var a=Math.min(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,o=Math.max(this.filterManager.effectElements[7].p.v,this.filterManager.effectElements[8].p.v)*.01,l=n.getTotalLength();s="0 0 0 "+l*a+" ";var h=l*(o-a),c=1+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01,d=Math.floor(h/c),f;for(f=0;f<d;f+=1)s+="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01+" ";s+="0 "+l*10+" 0 0"}else s="1 "+this.filterManager.effectElements[4].p.v*2*this.filterManager.effectElements[9].p.v*.01;n.setAttribute("stroke-dasharray",s)}if((t||this.filterManager.effectElements[4].p._mdf)&&this.pathMasker.setAttribute("stroke-width",this.filterManager.effectElements[4].p.v*2),(t||this.filterManager.effectElements[6].p._mdf)&&this.pathMasker.setAttribute("opacity",this.filterManager.effectElements[6].p.v),(this.filterManager.effectElements[10].p.v===1||this.filterManager.effectElements[10].p.v===2)&&(t||this.filterManager.effectElements[3].p._mdf)){var u=this.filterManager.effectElements[3].p.v;this.pathMasker.setAttribute("stroke","rgb("+bmFloor(u[0]*255)+","+bmFloor(u[1]*255)+","+bmFloor(u[2]*255)+")")}};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 s=createNS("feComponentTransfer");s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",i),this.matrixFilter=s;var a=createNS("feFuncR");a.setAttribute("type","table"),s.appendChild(a),this.feFuncR=a;var o=createNS("feFuncG");o.setAttribute("type","table"),s.appendChild(o),this.feFuncG=o;var l=createNS("feFuncB");l.setAttribute("type","table"),s.appendChild(l),this.feFuncB=l,t.appendChild(s)}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],s=i[1]+" "+r[1]+" "+e[1],a=i[2]+" "+r[2]+" "+e[2];this.feFuncR.setAttribute("tableValues",n),this.feFuncG.setAttribute("tableValues",s),this.feFuncB.setAttribute("tableValues",a)}};function SVGProLevelsFilter(t,e,r,i){this.filterManager=e;var n=this.filterManager.effectElements,s=createNS("feComponentTransfer");(n[10].p.k||n[10].p.v!==0||n[11].p.k||n[11].p.v!==1||n[12].p.k||n[12].p.v!==1||n[13].p.k||n[13].p.v!==0||n[14].p.k||n[14].p.v!==1)&&(this.feFuncR=this.createFeFunc("feFuncR",s)),(n[17].p.k||n[17].p.v!==0||n[18].p.k||n[18].p.v!==1||n[19].p.k||n[19].p.v!==1||n[20].p.k||n[20].p.v!==0||n[21].p.k||n[21].p.v!==1)&&(this.feFuncG=this.createFeFunc("feFuncG",s)),(n[24].p.k||n[24].p.v!==0||n[25].p.k||n[25].p.v!==1||n[26].p.k||n[26].p.v!==1||n[27].p.k||n[27].p.v!==0||n[28].p.k||n[28].p.v!==1)&&(this.feFuncB=this.createFeFunc("feFuncB",s)),(n[31].p.k||n[31].p.v!==0||n[32].p.k||n[32].p.v!==1||n[33].p.k||n[33].p.v!==1||n[34].p.k||n[34].p.v!==0||n[35].p.k||n[35].p.v!==1)&&(this.feFuncA=this.createFeFunc("feFuncA",s)),(this.feFuncR||this.feFuncG||this.feFuncB||this.feFuncA)&&(s.setAttribute("color-interpolation-filters","sRGB"),t.appendChild(s)),(n[3].p.k||n[3].p.v!==0||n[4].p.k||n[4].p.v!==1||n[5].p.k||n[5].p.v!==1||n[6].p.k||n[6].p.v!==0||n[7].p.k||n[7].p.v!==1)&&(s=createNS("feComponentTransfer"),s.setAttribute("color-interpolation-filters","sRGB"),s.setAttribute("result",i),t.appendChild(s),this.feFuncRComposed=this.createFeFunc("feFuncR",s),this.feFuncGComposed=this.createFeFunc("feFuncG",s),this.feFuncBComposed=this.createFeFunc("feFuncB",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 s=0,a=256,o,l=Math.min(t,e),h=Math.max(t,e),c=Array.call(null,{length:a}),d,f=0,u=n-i,m=e-t;s<=256;)o=s/256,o<=l?d=m<0?n:i:o>=h?d=m<0?i:n:d=i+u*Math.pow((o-t)/m,1/r),c[f]=d,f+=1,s+=256/(a-1);return c.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))}};function SVGDropShadowEffect(t,e,r,i,n){var s=e.container.globalData.renderConfig.filterSize,a=e.data.fs||s;t.setAttribute("x",a.x||s.x),t.setAttribute("y",a.y||s.y),t.setAttribute("width",a.width||s.width),t.setAttribute("height",a.height||s.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 h=createNS("feFlood");h.setAttribute("flood-color","#00ff00"),h.setAttribute("flood-opacity","1"),h.setAttribute("result",i+"_drop_shadow_3"),this.feFlood=h,t.appendChild(h);var c=createNS("feComposite");c.setAttribute("in",i+"_drop_shadow_3"),c.setAttribute("in2",i+"_drop_shadow_2"),c.setAttribute("operator","in"),c.setAttribute("result",i+"_drop_shadow_4"),t.appendChild(c);var d=this.createMergeNode(i,[i+"_drop_shadow_4",n]);t.appendChild(d)}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(e[0]*255),Math.round(e[1]*255),Math.round(e[2]*255)))}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),s=r*Math.sin(i);this.feOffset.setAttribute("dx",n),this.feOffset.setAttribute("dy",s)}}};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}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=r.children,n=0,s=i.length;n<s&&i[n]!==t.layerElement;)n+=1;var a;n<=s-2&&(a=i[n+1]);var o=createNS("use");o.setAttribute("href","#"+e),a?r.insertBefore(o,a):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 s=createNS("symbol");s.setAttribute("id",r),this.replaceInParent(e,r),s.appendChild(e.layerElement),n.appendChild(s);var a=createNS("use");a.setAttribute("href","#"+r),i.appendChild(a),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()};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}SVGGaussianBlurEffect.prototype.renderFrame=function(t){if(t||this.filterManager._mdf){var e=.3,r=this.filterManager.effectElements[0].p.v*e,i=this.filterManager.effectElements[1].p.v,n=i==3?0:r,s=i==2?0:r;this.feGaussianBlur.setAttribute("stdDeviation",n+" "+s);var a=this.filterManager.effectElements[2].p.v==1?"wrap":"duplicate";this.feGaussianBlur.setAttribute("edgeMode",a)}};function TransformEffect(){}TransformEffect.prototype.init=function(t){this.effectsManager=t,this.type=effectTypes.TRANSFORM_EFFECT,this.matrix=new Matrix,this.opacity=-1,this._mdf=!1,this._opMdf=!1},TransformEffect.prototype.renderFrame=function(t){if(this._opMdf=!1,this._mdf=!1,t||this.effectsManager._mdf){var e=this.effectsManager.effectElements,r=e[0].p.v,i=e[1].p.v,n=e[2].p.v===1,s=e[3].p.v,a=n?s:e[4].p.v,o=e[5].p.v,l=e[6].p.v,h=e[7].p.v;this.matrix.reset(),this.matrix.translate(-r[0],-r[1],r[2]),this.matrix.scale(a*.01,s*.01,1),this.matrix.rotate(-h*degToRads),this.matrix.skewFromAxis(-o*degToRads,(l+90)*degToRads),this.matrix.translate(i[0],i[1],0),this._mdf=!0,this.opacity!==e[8].p.v&&(this.opacity=e[8].p.v,this._opMdf=!0)}};function SVGTransformEffect(t,e){this.init(e)}extendPrototype([TransformEffect],SVGTransformEffect);function CVTransformEffect(t){this.init(t)}return extendPrototype([TransformEffect],CVTransformEffect),registerRenderer("canvas",CanvasRenderer),registerRenderer("html",HybridRenderer),registerRenderer("svg",SVGRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier),ShapeModifiers.registerModifier("zz",ZigZagModifier),ShapeModifiers.registerModifier("op",OffsetPathModifier),setExpressionsPlugin(Expressions),setExpressionInterfaces(getInterface),initialize$1(),initialize(),registerEffect$1(20,SVGTintFilter,!0),registerEffect$1(21,SVGFillFilter,!0),registerEffect$1(22,SVGStrokeEffect,!1),registerEffect$1(23,SVGTritoneFilter,!0),registerEffect$1(24,SVGProLevelsFilter,!0),registerEffect$1(25,SVGDropShadowEffect,!0),registerEffect$1(28,SVGMatte3Effect,!1),registerEffect$1(29,SVGGaussianBlurEffect,!0),registerEffect$1(35,SVGTransformEffect,!1),registerEffect(35,CVTransformEffect),lottie})}
41)(lottie$1,lottie$1.exports);var lottieExports=lottie$1.exports;const lottie=getDefaultExportFromCjs(lottieExports),_hoisted_1$2=["id"],_sfc_main$3=defineComponent({__name:"LottieAnimation",props:{id:{type:String,required:!0},src:{type:String,required:!0},autoplay:{type:Boolean,default:!0},loop:{type:Boolean,default:!0}},emits:["dataLoaded","complete","loopComplete","domLoaded"],setup(t,{expose:e,emit:r}){const i=r,n=t,s=computed(()=>`lottie-animation-container-${n.id}`),a=computed(()=>`lottie-animation-${n.id}`),o=useState(a.value,()=>{}),l=()=>{const f=document.querySelector(`#${s.value}`);f&&(o.value&&f&&(o.value.destroy(),f.innerHTML=""),o.value=lottie.loadAnimation({container:f,path:n.src,renderer:"svg",loop:n.loop,autoplay:n.autoplay}))};return watch(()=>n.src,()=>{l()}),onMounted(()=>{var f,u,m,p;l(),(f=o==null?void 0:o.value)==null||f.addEventListener("complete",()=>{i("complete")}),(u=o==null?void 0:o.value)==null||u.addEventListener("loopComplete",()=>{i("loopComplete")}),(m=o==null?void 0:o.value)==null||m.addEventListener("data_ready",()=>{i("dataLoaded")}),(p=o.value)==null||p.addEventListener("DOMLoaded",()=>{i("domLoaded")})}),e({play:()=>{var f;(f=o.value)==null||f.play()},stop:()=>{var f;(f=o.value)==null||f.stop()},goToAndStop:(f,u,m)=>{var p;(p=o.value)==null||p.goToAndStop(f,u,m)}}),(f,u)=>(openBlock(),createElementBlock("div",{id:unref(s)},null,8,_hoisted_1$2))}}),_hoisted_1$1={class:"absolute top-0 w-full"},_hoisted_2$1=["id"],speedConstant=40,_sfc_main$2=defineComponent({__name:"AnimatedStatementGroupModule",props:{blok:{type:Object,required:!0}},setup(t){const{requireIndicatorOnIntersection:e}=useScrollingIndicator(),r=ref(0),i=useState("is-mobile",()=>!1),n=ref(),s=t,a="lottie-animation-"+s.blok._uid,o="scroll-container-"+s.blok._uid,l=f=>"statement-"+f._uid,h=()=>{i.value=window.innerWidth<1025},c=computed(()=>i.value&&s.blok.mobileAnimation?s.blok.mobileAnimation:s.blok.animation),d=()=>{for(let f=0;f<s.blok.sections.length;f++){const u=s.blok.sections[f-1],m=s.blok.sections[f],p=s.blok.sections[f+1];gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+l(m),endTrigger:"#"+(p?l(p):o),pin:!0,start:"center center",end:p?"center 65%":"bottom bottom",scrub:1,invalidateOnRefresh:!0},ease:"none"}).fromTo(r,{value:(u==null?void 0:u.endIndex)??0},{value:m.endIndex,ease:"none",onUpdate:()=>n.value.goToAndStop(r.value,!0)}),p&&gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+l(p),start:"center 65%",end:"center center",scrub:!0,invalidateOnRefresh:!0},ease:"none"}).fromTo("#"+l(m),{alpha:1,scale:1},{alpha:0,scale:.9}),f!==0&&gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+l(m),start:"center 60%",end:"center center",scrub:!0,invalidateOnRefresh:!0},ease:"none"}).fromTo("#"+l(m),{alpha:0,scale:.9},{alpha:1,scale:1})}ScrollTrigger.sort(),ScrollTrigger.refresh(),n.value.goToAndStop(0,!0)};return onMounted(()=>{e(o),h(),window.addEventListener("resize",h),gsapWithCSS.registerPlugin(ScrollTrigger)}),onUnmounted(()=>{window.removeEventListener("resize",h)}),(f,u)=>{const m=_sfc_main$3;return openBlock(),createElementBlock("section",{id:o,class:"relative",style:normalizeStyle({height:(t.blok.sections.length+1)*speedConstant+100+"vh"})},[createBaseVNode("div",{class:"sticky top-0 h-screen w-full overflow-hidden",style:normalizeStyle({backgroundColor:t.blok.backgroundColor.color})},[createVNode(m,{id:a,ref_key:"animation",ref:n,src:unref(c).filename,autoplay:!1,loop:!1,class:"absolute top-1/2 w-full -translate-y-1/2",onDomLoaded:d},null,8,["src"])],4),createBaseVNode("div",_hoisted_1$1,[(openBlock(!0),createElementBlock(Fragment,null,renderList(t.blok.sections,(p,x)=>(openBlock(),createElementBlock("div",{key:p._uid,class:"z-10 flex w-full flex-col items-center justify-center",style:normalizeStyle({height:(x===0?100:speedConstant)+"vh"})},[createBaseVNode("h2",{id:l(p),class:"statement w-3/4 text-center sm:w-2/3 xl:w-1/2",style:normalizeStyle({color:p.textColor.color})},toDisplayString(p.statement),13,_hoisted_2$1)],4))),128))])],4)}}}),_hoisted_1=["id"],_hoisted_2=["id"],_hoisted_3={class:"absolute left-0 right-0 top-0 z-10 flex h-screen flex-col items-center justify-center"},_hoisted_4=["id"],_sfc_main$1=defineComponent({__name:"AnimatedStatementModule",props:{blok:{type:Object,required:!0}},setup(t){const{requireIndicatorOnIntersection:e}=useScrollingIndicator(),r=ref(0),i=t,n=computed(()=>"lottie-animation-"+i.blok._uid),s=computed(()=>"statement-"+i.blok._uid),a=computed(()=>"scroll-container-"+i.blok._uid);return onMounted(()=>
41{e(a.value),gsapWithCSS.registerPlugin(ScrollTrigger);const o=gsapWithCSS.timeline({scrollTrigger:{trigger:"#"+s.value,endTrigger:"#"+a.value,pin:!0,start:"center center",end:"bottom bottom",scrub:1,invalidateOnRefresh:!0},ease:"none"}),l=lottie.loadAnimation({container:document.getElementById(n.value),path:i.blok.animation.filename,renderer:"svg",loop:!1,autoplay:!1});l.addEventListener("DOMLoaded",function(){o.to(r,{value:l.totalFrames,ease:"none",onUpdate:()=>l.goToAndStop(r.value,!0)}),ScrollTrigger.sort(),ScrollTrigger.refresh()})}),(o,l)=>(openBlock(),createElementBlock("section",{id:unref(a),class:"relative h-[150vh] md:h-[200vh]"},[createBaseVNode("div",{class:"sticky top-0 h-screen w-full overflow-hidden",style:normalizeStyle({backgroundColor:t.blok.backgroundColor.color})},[createBaseVNode("div",{id:unref(n),class:"absolute top-1/2 w-full -translate-y-1/2"},null,8,_hoisted_2)],4),createBaseVNode("div",_hoisted_3,[createBaseVNode("h1",{id:unref(s),class:"statement w-3/4 text-center sm:w-2/3 xl:w-1/2",style:normalizeStyle({color:t.blok.textColor.color})},toDisplayString(t.blok.statement),13,_hoisted_4)])],8,_hoisted_1))}}),_sfc_main=defineComponent({components:{Teaser:_sfc_main$I,CallToActionDisruptorModule:_sfc_main$H,InfoSectionModule:_sfc_main$E,PricingModule:_sfc_main$C,InfoDisruptorModule,FrameAnimatedStatementModule:_sfc_main$z,FrameAnimatedStatementGroupModule:_sfc_main$x,StatementModule:_sfc_main$w,StatementGroupModule:_sfc_main$v,RichtextModule:_sfc_main$u,ContactFormModule,EmployeeModule:_sfc_main$s,EmployeeGridModule:_sfc_main$q,CardsModule:_sfc_main$o,CardSliderModule:_sfc_main$k,VideoGridModule:_sfc_main$h,IframeContainerModule:_sfc_main$g,IframeInfoSectionModule:_sfc_main$f,BigVideoSliderModule:_sfc_main$e,StatementBoxModule:_sfc_main$d,CompactVideoSliderModule:_sfc_main$c,ImageModule:_sfc_main$b,UseCasesModule:_sfc_main$9,UseCasesTeaserModule:_sfc_main$8,CustomerFactsModule:_sfc_main$7,LeadContactFormModule,ContactBannerModule:_sfc_main$4,AnimatedStatementGroupModule:_sfc_main$2,AnimatedStatementModule:_sfc_main$1},props:{modules:{type:Array,default:()=>[]}}});function _sfc_render(t,e,r,i,n,s){const a=resolveDirective("editable");return openBlock(!0),createElementBlock(Fragment,null,renderList(t.modules,o=>withDirectives((openBlock(),createBlock(resolveDynamicComponent(o.component),{id:o.anchor,key:o._uid,blok:o},null,8,["id","blok"])),[[a,o]])),128)}const __nuxt_component_2=_export_sfc(_sfc_main,[["render",_sfc_render]]);export{__nuxt_component_2 as _,_sfc_main$l as a,_sfc_main$3 as b,useScrollingIndicator as u};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.