1if(typeof barba!=="undefined"){barba.hooks.after(()=>{animationsFrontend()})} 2function animationsFrontend(){document.querySelectorAll('[data-animator="flickering"]').forEach((element)=>{element.removeAttribute('data-animator')});var jsonString=data_animator.data_animations.replace(/\\/g,"");var JSONobject=JSON.parse(jsonString);JSONobject.animator.folders.map((folder)=>{folder.folder.timelines.map((timeline)=>{var timeline=timeline.timeline;var GSAPtimelineCustomEvent=gsap.timeline({paused:!0});document.querySelectorAll(timeline.trigger).forEach((triggerElement,triggerElementIndex)=>{var GSAPtimeline="";if(timeline.conditionalDisplay!="Load everywhere"){var postIDs=timeline.conditionalDisplay.match(/\d+/g);if(postIDs){if(postIDs.includes(data_animator.post_id)){GSAPtimeline=createTimeline(timeline,GSAPtimeline)}}}else{GSAPtimeline=createTimeline(timeline,GSAPtimeline)} 3function createTimeline(timeline,GSAPtimeline){if(timeline.breakpoint){let mm=gsap.matchMedia();mm.add(`(${timeline.breakpoint})`,()=>{GSAPtimeline=handleTriggerEvent(timeline,GSAPtimeline)})}else{GSAPtimeline=handleTriggerEvent(timeline,GSAPtimeline)} 4return GSAPtimeline;function handleTriggerEvent(timeline,GSAPtimeline){switch(timeline.triggerEvent){case "custom":GSAPtimeline=gsap.timeline({paused:!0});if(timeline.reverseEnabled=="false"&&timeline.restartEnabled=="false"){triggerElement.addEventListener(timeline.customTriggerEvent,function(){GSAPtimeline.play();GSAPtimelineCustomEvent.play()})}else if(timeline.restartEnabled=="true"){triggerElement.addEventListener(timeline.customTriggerEvent,function(){GSAPtimeline.restart();GSAPtimelineCustomEvent.restart()})}else if(timeline.reverseEnabled=="true"){switch(timeline.customTriggerEvent){case "click":GSAPtimeline.reversed(!0);GSAPtimelineCustomEvent.reversed(!0);triggerElement.addEventListener("click",function(){GSAPtimeline.reversed()?GSAPtimeline.play():GSAPtimeline.reverse();GSAPtimelineCustomEvent.reversed()?GSAPtimelineCustomEvent.play():GSAPtimelineCustomEvent.reverse()});break;case "dblclick":GSAPtimeline.reversed(!0);GSAPtimelineCustomEvent.reversed(!0);triggerElement.addEventListener("dblclick",function(){GSAPtimeline.reversed()?GSAPtimeline.play():GSAPtimeline.reverse();GSAPtimelineCustomEvent.reversed()?GSAPtimelineCustomEvent.play():GSAPtimelineCustomEvent.reverse()});break;case "mouseenter":triggerElement.addEventListener("mouseenter",function(){GSAPtimeline.play();GSAPtimelineCustomEvent.play()});triggerElement.addEventListener("mouseleave",function(){GSAPtimeline.reverse();GSAPtimelineCustomEvent.reverse()});break;case "mouseleave":triggerElement.addEventListener("mouseleave",function(){GSAPtimeline.play();GSAPtimelineCustomEvent.play()});triggerElement.addEventListener("mouseenter",function(){GSAPtimeline.reverse();GSAPtimelineCustomEvent.reverse()});break}} 5break;case "pageload":GSAPtimeline=gsap.timeline({paused:!0});GSAPtimeline.play();break;case "scroll":var scrollTriggerOptions={};if(JSONobject.animator.markersEnabled==="true")scrollTriggerOptions.markers=!0;if(timeline.start)scrollTriggerOptions.start=timeline.start;if(timeline.end)scrollTriggerOptions.end=timeline.end;if(timeline.toggleActions)scrollTriggerOptions.toggleActions=timeline.toggleActions;if(timeline.scroller)scrollTriggerOptions.scroller=timeline.scroller;if(timeline.scrubEnabled=="true"&&timeline.scrub)scrollTriggerOptions.scrub=timeline.scrub;if(timeline.pinEnabled=="true"&&timeline.pin){if(timeline.pin=="this"&&document.querySelector(timeline.trigger)){scrollTriggerOptions.pin=triggerElement}else if(timeline.pin!=""&&document.querySelector(timeline.pin)){scrollTriggerOptions.pin=timeline.pin}} 6scrollTriggerOptions.trigger=triggerElement;var varContainerAnimation=isInsideHorizontalScrollElement(triggerElement);scrollTriggerOptions.containerAnimation=varContainerAnimation?window[varContainerAnimation]:undefined;GSAPtimeline=gsap.timeline({scrollTrigger:scrollTriggerOptions});break} 7return GSAPtimeline}} 8function isInsideHorizontalScrollElement(element){let containerName=null;
8document.querySelectorAll(".next-horizontal-scroll").forEach((horizontalScroll,index)=>{if(horizontalScroll.contains(element)){containerName=`NextHorizontalScroll${index}`}});return containerName} 9if(GSAPtimeline!=""){timeline.animations.forEach(function(animation){var animation=animation.animation;switch(animation.method){case "from":var animationFromConfig={duration:Number(animation.duration)};if(animation.delay){animationFromConfig.delay=Number(animation.delay)} 10if(animation.easing){animationFromConfig.ease=animation.easing} 11if(animation.staggerEnabled=="true"){animationFromConfig.stagger=animation.stagger} 12if(animation.repeatEnabled=="true"){animationFromConfig.repeat=Number(animation.repeat)} 13if(animation.yoyoEnabled=="true"){animationFromConfig.yoyo=!0} 14if(animation.fromObject.opacity){animationFromConfig.opacity=animation.fromObject.opacity} 15if(animation.fromObject.autoAlpha){animationFromConfig.autoAlpha=animation.fromObject.autoAlpha} 16if(animation.fromObject.transformX){animationFromConfig.x=animation.fromObject.transformX} 17if(animation.fromObject.transformY){animationFromConfig.y=animation.fromObject.transformY} 18if(animation.fromObject.transformScale){animationFromConfig.scale=animation.fromObject.transformScale} 19if(animation.fromObject.transformRotate){animationFromConfig.rotation=animation.fromObject.transformRotate} 20if(animation.fromObject.transformSkewX){animationFromConfig.skewX=animation.fromObject.transformSkewX} 21if(animation.fromObject.transformSkewY){animationFromConfig.skewY=animation.fromObject.transformSkewY} 22if(animation.fromObject.background){animationFromConfig.backgroundColor=animation.fromObject.background} 23if(animation.fromObject.color){animationFromConfig.color=animation.fromObject.color} 24if(animation.fromObject.fontFamily){animationFromConfig.fontFamily=animation.fromObject.fontFamily} 25if(animation.fromObject.fontSize){animationFromConfig.fontSize=animation.fromObject.fontSize} 26if(animation.fromObject.fontWeight){animationFromConfig.fontWeight=animation.fromObject.fontWeight} 27if(animation.fromObject.fontStyle){animationFromConfig.fontStyle=animation.fromObject.fontStyle} 28if(animation.fromObject.textAlign){animationFromConfig.textAlign=animation.fromObject.textAlign} 29if(animation.fromObject.textDecoration){animationFromConfig.textDecoration=animation.fromObject.textDecoration} 30if(animation.fromObject.textTransform){animationFromConfig.textTransform=animation.fromObject.textTransform} 31if(animation.fromObject.lineHeight){animationFromConfig.lineHeight=animation.fromObject.lineHeight} 32if(animation.fromObject.letterSpacing){animationFromConfig.letterSpacing=animation.fromObject.letterSpacing} 33if(animation.fromObject.wordSpacing){animationFromConfig.wordSpacing=animation.fromObject.wordSpacing} 34if(animation.fromObject.width){animationFromConfig.width=animation.fromObject.width} 35if(animation.fromObject.height){animationFromConfig.height=animation.fromObject.height} 36if(animation.fromObject.minWidth){animationFromConfig.minWidth=animation.fromObject.minWidth} 37if(animation.fromObject.minHeight){animationFromConfig.minHeight=animation.fromObject.minHeight} 38if(animation.fromObject.maxWidth){animationFromConfig.maxWidth=animation.fromObject.maxWidth} 39if(animation.fromObject.maxHeight){animationFromConfig.maxHeight=animation.fromObject.maxHeight} 40if(animation.fromObject.paddingTop){animationFromConfig.paddingTop=animation.fromObject.paddingTop} 41if(animation.fromObject.paddingBottom){animationFromConfig.paddingBottom=animation.fromObject.paddingBottom} 42if(animation.fromObject.paddingLeft){animationFromConfig.paddingLeft=animation.fromObject.paddingLeft} 43if(animation.fromObject.paddingRight){animationFromConfig.paddingRight=animation.fromObject.paddingRight} 44if(animation.fromObject.marginTop){animationFromConfig.marginTop=animation.fromObject.marginTop} 45if(animation.fromObject.marginBottom){animationFromConfig.marginBottom=animation.fromObject.marginBottom} 46if(animation.fromObject.marginLeft){animationFromConfig.marginLeft=animation.fromObject.marginLeft} 47if(animation.fromObject.marginRight){animationFromConfig.marginRight=animation.fromObject.marginRight} 48if(animation.fromObject.positionTop){animationFromConfig.top=animation.fromObject.positionTop} 49if(animation.fromObject.positionBottom){animationFromConfig.bottom=animation.fromObject.positionBottom} 50if(animation.fromObject.positionLeft){animationFromConfig.left=animation.fromObject.positionLeft} 51if(animation.fromObject.positionRight){animationFromConfig.right=animation.fromObject.positionRight} 52if(animation.fromObject.borderColor){animationFromConfig.borderColor=animation.fromObject.borderColor} 53if(animation.fromObject.borderStyle){animationFromConfig.borderStyle=animation.fromObject.borderStyle} 54if(animation.fromObject.borderWidthTop){animationFromConfig.borderTopWidth=animation.fromObject.borderWidthTop} 55if(animation.fromObject.borderWidthBottom){animationFromConfig.borderBottomWidth=animation.fromObject.borderWidthBottom} 56if(animation.fromObject.borderWidthLeft){animationFromConfig.borderLeftWidth=animation.fromObject.borderWidthLeft} 57if(animation.fromObject.borderWidthRight){animationFromConfig.borderRightWidth=animation.fromObject.borderWidthRight} 58if(animation.fromObject.borderTopLeftRadius){animationFromConfig.borderTopLeftRadius=animation.fromObject.borderTopLeftRadius} 59if(animation.fromObject.borderTopRightRadius){animationFromConfig.borderTopRightRadius=animation.fromObject.borderTopRightRadius} 60if(animation.fromObject.borderBottomLeftRadius){animationFromConfig.borderBottomLeftRadius=animation.fromObject.borderBottomLeftRadius} 61if(animation.fromObject.borderBottomRightRadius){animationFromConfig.borderBottomRightRadius=animation.fromObject.borderBottomRightRadius} 62if(animation.fromObject.boxShadowOffsetX&&animation.fromObject.boxShadowOffsetY&&animation.fromObject.boxShadowBlur&&animation.fromObject.boxShadowSpread&&animation.fromObject.boxShadowColor){var boxSh
62adowProperties={offsetX:animation.fromObject.boxShadowOffsetX,offsetY:animation.fromObject.boxShadowOffsetY,blur:animation.fromObject.boxShadowBlur,spread:animation.fromObject.boxShadowSpread,color:animation.fromObject.boxShadowColor,};animationFromConfig.boxShadow=`${boxShadowProperties.offsetX} ${boxShadowProperties.offsetY} ${boxShadowProperties.blur} ${boxShadowProperties.spread} ${boxShadowProperties.color}`} 63var filterString="";if(animation.fromObject.filterBlur){filterString+=`blur(${animation.fromObject.filterBlur}) `} 64if(animation.fromObject.filterBrightness){filterString+=`brightness(${animation.fromObject.filterBrightness}) `} 65if(animation.fromObject.filterContrast){filterString+=`contrast(${animation.fromObject.filterContrast}) `} 66if(animation.fromObject.filterGrayscale){filterString+=`grayscale(${animation.fromObject.filterGrayscale}) `} 67if(animation.fromObject.filterHueRotate){filterString+=`hue-rotate(${animation.fromObject.filterHueRotate}) `} 68if(animation.fromObject.filterInvert){filterString+=`invert(${animation.fromObject.filterInvert}) `} 69if(animation.fromObject.filterSaturate){filterString+=`saturate(${animation.fromObject.filterSaturate}) `} 70if(animation.fromObject.filterSepia){filterString+=`sepia(${animation.fromObject.filterSepia}) `} 71if(filterString!=""){filterString=filterString.trim();animationFromConfig.filter=filterString} 72if(animation.fromObject.svgFill){animationFromConfig.fill=animation.fromObject.svgFill} 73if(animation.fromObject.svgStrokeColor){animationFromConfig.stroke=animation.fromObject.svgStrokeColor} 74if(animation.fromObject.svgStrokeWidth){animationFromConfig.strokeWidth=animation.fromObject.svgStrokeWidth} 75if(animation.fromObject.customProperties&&animation.fromObject.customValues){const properties=animation.fromObject.customProperties.split('d110708');const values=animation.fromObject.customValues.split('d110708');properties.forEach((property,index)=>{const value=values[index];if(property!==""&&value!==""){animationFromConfig[property]=value}})} 76if(animation.element=="this"&&timeline.trigger!=""){var elementToAnimate=triggerElement;if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${timeline.trigger}, ${timeline.trigger} *`),{type:animation.splitText,charsClass:`${timeline.trigger}-char nb-animator-char`,wordsClass:`${timeline.trigger}-word nb-animator-word`,linesClass:`${timeline.trigger}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimeline.from(document.getElementsByClassName(`${timeline.trigger}-char`),animationFromConfig,0)}else if(animation.splitText.includes('word')){GSAPtimeline.from(document.getElementsByClassName(`${timeline.trigger}-word`),animationFromConfig,0)}else if(animation.splitText.includes('line')){GSAPtimeline.from(document.getElementsByClassName(`${timeline.trigger}-line`),animationFromConfig,0)}else{GSAPtimeline.from(elementToAnimate,animationFromConfig,0)}}else{GSAPtimeline.from(elementToAnimate,animationFromConfig,0)}}else if(animation.element!=""){if(timeline.triggerEvent=="custom"){var elementToAnimate=animation.element;if(document.querySelector(elementToAnimate)&&triggerElementIndex==0){if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${elementToAnimate}, ${elementToAnimate} *`),{type:animation.splitText,charsClass:`${elementToAnimate}-char nb-animator-char`,wordsClass:`${elementToAnimate}-word nb-animator-word`,linesClass:`${elementToAnimate}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimelineCustomEvent.from(document.getElementsByClassName(`${elementToAnimate}-char`),animationFromConfig,0)}else if(animation.splitText.includes('word')){GSAPtimelineCustomEvent.from(document.getElementsByClassName(`${elementToAnimate}-word`),animationFromConfig,0)}else if(animation.splitText.includes('line')){GSAPtimelineCustomEvent.from(document.getElementsByClassName(`${elementToAnimate}-line`),animationFromConfig,0)}else{GSAPtimelineCustomEvent.from(animation.element,animationFromConfig,0)}}else{GSAPtimelineCustomEvent.from(animation.element,animationFromConfig,0)}}}else if(triggerElementIndex==0){var elementToAnimate=animation.element;if(document.querySelector(elementToAnimate)){if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${elementToAnimate}, ${elementToAnimate} *`),{type:animation.splitText,charsClass:`${elementToAnimate}-char nb-animator-char`,wordsClass:`${elementToAnimate}-word nb-animator-word`,linesClass:`${elementToAnimate}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimeline.from(document.getElementsByClassName(`${elementToAnimate}-char`),animationFromConfig,0)}else if(animation.splitText.includes('word')){GSAPtimeline.from(document.getElementsByClassName(`${elementToAnimate}-word`),animationFromConfig,0)}else if(animation.splitText.includes('line')){GSAPtimeline.from(document.getElementsByClassName(`${elementToAnimate}-line`),animationFromConfig,0)}else{GSAPtimeline.from(animation.element,animationFromConfig,0)}}else{GSAPtimeline.from(animation.element,animationFromConfig,0)}}}} 77break;case "to":var animationToConfig={duration:Number(animation.duration)};if(animation.delay){animationToConfig.delay=Number(animation.delay)} 78if(animation.easing){animationToConfig.ease=animation.easing} 79if(animation.staggerEnabled=="true"){animationToConfig.stagger=animation.stagger} 80if(animation.repeatEnabled=="true"){animationToConfig.repeat=Number(animation.repeat)}
81if(animation.yoyoEnabled=="true"){animationToConfig.yoyo=!0} 82if(animation.toObject.opacity){animationToConfig.opacity=animation.toObject.opacity} 83if(animation.toObject.autoAlpha){animationToConfig.autoAlpha=animation.toObject.autoAlpha} 84if(animation.toObject.transformX){animationToConfig.x=animation.toObject.transformX} 85if(animation.toObject.transformY){animationToConfig.y=animation.toObject.transformY} 86if(animation.toObject.transformScale){animationToConfig.scale=animation.toObject.transformScale} 87if(animation.toObject.transformRotate){animationToConfig.rotation=animation.toObject.transformRotate} 88if(animation.toObject.transformSkewX){animationToConfig.skewX=animation.toObject.transformSkewX} 89if(animation.toObject.transformSkewY){animationToConfig.skewY=animation.toObject.transformSkewY} 90if(animation.toObject.background){animationToConfig.backgroundColor=animation.toObject.background} 91if(animation.toObject.color){animationToConfig.color=animation.toObject.color} 92if(animation.toObject.fontFamily){animationToConfig.fontFamily=animation.toObject.fontFamily} 93if(animation.toObject.fontSize){animationToConfig.fontSize=animation.toObject.fontSize} 94if(animation.toObject.fontWeight){animationToConfig.fontWeight=animation.toObject.fontWeight} 95if(animation.toObject.fontStyle){animationToConfig.fontStyle=animation.toObject.fontStyle} 96if(animation.toObject.textAlign){animationToConfig.textAlign=animation.toObject.textAlign} 97if(animation.toObject.textDecoration){animationToConfig.textDecoration=animation.toObject.textDecoration} 98if(animation.toObject.textTransform){animationToConfig.textTransform=animation.toObject.textTransform} 99if(animation.toObject.lineHeight){animationToConfig.lineHeight=animation.toObject.lineHeight} 100if(animation.toObject.letterSpacing){animationToConfig.letterSpacing=animation.toObject.letterSpacing} 101if(animation.toObject.wordSpacing){animationToConfig.wordSpacing=animation.toObject.wordSpacing} 102if(animation.toObject.width){animationToConfig.width=animation.toObject.width} 103if(animation.toObject.height){animationToConfig.height=animation.toObject.height} 104if(animation.toObject.minWidth){animationToConfig.minWidth=animation.toObject.minWidth} 105if(animation.toObject.minHeight){animationToConfig.minHeight=animation.toObject.minHeight} 106if(animation.toObject.maxWidth){animationToConfig.maxWidth=animation.toObject.maxWidth} 107if(animation.toObject.maxHeight){animationToConfig.maxHeight=animation.toObject.maxHeight} 108if(animation.toObject.paddingTop){animationToConfig.paddingTop=animation.toObject.paddingTop} 109if(animation.toObject.paddingBottom){animationToConfig.paddingBottom=animation.toObject.paddingBottom} 110if(animation.toObject.paddingLeft){animationToConfig.paddingLeft=animation.toObject.paddingLeft} 111if(animation.toObject.paddingRight){animationToConfig.paddingRight=animation.toObject.paddingRight} 112if(animation.toObject.marginTop){animationToConfig.marginTop=animation.toObject.marginTop} 113if(animation.toObject.marginBottom){animationToConfig.marginBottom=animation.toObject.marginBottom} 114if(animation.toObject.marginLeft){animationToConfig.marginLeft=animation.toObject.marginLeft} 115if(animation.toObject.marginRight){animationToConfig.marginRight=animation.toObject.marginRight} 116if(animation.toObject.positionTop){animationToConfig.top=animation.toObject.positionTop} 117if(animation.toObject.positionBottom){animationToConfig.bottom=animation.toObject.positionBottom} 118if(animation.toObject.positionLeft){animationToConfig.left=animation.toObject.positionLeft} 119if(animation.toObject.positionRight){animationToConfig.right=animation.toObject.positionRight} 120if(animation.toObject.borderColor){animationToConfig.borderColor=animation.toObject.borderColor} 121if(animation.toObject.borderStyle){animationToConfig.borderStyle=animation.toObject.borderStyle} 122if(animation.toObject.borderWidthTop){animationToConfig.borderTopWidth=animation.toObject.borderWidthTop} 123if(animation.toObject.borderWidthBottom){animationToConfig.borderBottomWidth=animation.toObject.borderWidthBottom} 124if(animation.toObject.borderWidthLeft){animationToConfig.borderLeftWidth=animation.toObject.borderWidthLeft} 125if(animation.toObject.borderWidthRight){animationToConfig.borderRightWidth=animation.toObject.borderWidthRight} 126if(animation.toObject.borderTopLeftRadius){animationToConfig.borderTopLeftRadius=animation.toObject.borderTopLeftRadius} 127if(animation.toObject.borderTopRightRadius){animationToConfig.borderTopRightRadius=animation.toObject.borderTopRightRadius} 128if(animation.toObject.borderBottomLeftRadius){animationToConfig.borderBottomLeftRadius=animation.toObject.borderBottomLeftRadius} 129if(animation.toObject.borderBottomRightRadius){animationToConfig.borderBottomRightRadius=animation.toObject.borderBottomRightRadius} 130if(animation.toObject.boxShadowOffsetX&&animation.toObject.boxShadowOffsetY&&animation.toObject.boxShadowBlur&&animation.toObject.boxShadowSpread&&animation.toObject.boxShadowColor){var boxSh
130adowProperties={offsetX:animation.toObject.boxShadowOffsetX,offsetY:animation.toObject.boxShadowOffsetY,blur:animation.toObject.boxShadowBlur,spread:animation.toObject.boxShadowSpread,color:animation.toObject.boxShadowColor,};animationToConfig.boxShadow=`${boxShadowProperties.offsetX} ${boxShadowProperties.offsetY} ${boxShadowProperties.blur} ${boxShadowProperties.spread} ${boxShadowProperties.color}`} 131var filterString="";if(animation.toObject.filterBlur){filterString+=`blur(${animation.toObject.filterBlur}) `} 132if(animation.toObject.filterBrightness){filterString+=`brightness(${animation.toObject.filterBrightness}) `} 133if(animation.toObject.filterContrast){filterString+=`contrast(${animation.toObject.filterContrast}) `} 134if(animation.toObject.filterGrayscale){filterString+=`grayscale(${animation.toObject.filterGrayscale}) `} 135if(animation.toObject.filterHueRotate){filterString+=`hue-rotate(${animation.toObject.filterHueRotate}) `} 136if(animation.toObject.filterInvert){filterString+=`invert(${animation.toObject.filterInvert}) `} 137if(animation.toObject.filterSaturate){filterString+=`saturate(${animation.toObject.filterSaturate}) `} 138if(animation.toObject.filterSepia){filterString+=`sepia(${animation.toObject.filterSepia}) `} 139if(filterString!=""){filterString=filterString.trim();animationToConfig.filter=filterString} 140if(animation.toObject.svgFill){animationToConfig.fill=animation.toObject.svgFill} 141if(animation.toObject.svgStrokeColor){animationToConfig.stroke=animation.toObject.svgStrokeColor} 142if(animation.toObject.svgStrokeWidth){animationToConfig.strokeWidth=animation.toObject.svgStrokeWidth} 143if(animation.toObject.customProperties&&animation.toObject.customValues){const properties=animation.toObject.customProperties.split('d110708');const values=animation.toObject.customValues.split('d110708');properties.forEach((property,index)=>{const value=values[index];if(property!==""&&value!==""){animationToConfig[property]=value}})} 144if(animation.element=="this"&&timeline.trigger!=""){var elementToAnimate=triggerElement;if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${timeline.trigger}, ${timeline.trigger} *`),{type:animation.splitText,charsClass:`${timeline.trigger}-char nb-animator-char`,wordsClass:`${timeline.trigger}-word nb-animator-word`,linesClass:`${timeline.trigger}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimeline.to(document.getElementsByClassName(`${timeline.trigger}-char`),animationToConfig,0)}else if(animation.splitText.includes('word')){GSAPtimeline.to(document.getElementsByClassName(`${timeline.trigger}-word`),animationToConfig,0)}else if(animation.splitText.includes('line')){GSAPtimeline.to(document.getElementsByClassName(`${timeline.trigger}-line`),animationToConfig,0)}else{GSAPtimeline.to(elementToAnimate,animationToConfig,0)}}else{GSAPtimeline.to(elementToAnimate,animationToConfig,0)}}else if(animation.element!=""){if(timeline.triggerEvent=="custom"){var elementToAnimate=animation.element;if(document.querySelector(elementToAnimate)&&triggerElementIndex==0){if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${elementToAnimate}, ${elementToAnimate} *`),{type:animation.splitText,charsClass:`${elementToAnimate}-char nb-animator-char`,wordsClass:`${elementToAnimate}-word nb-animator-word`,linesClass:`${elementToAnimate}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimelineCustomEvent.to(document.getElementsByClassName(`${elementToAnimate}-char`),animationToConfig,0)}else if(animation.splitText.includes('word')){GSAPtimelineCustomEvent.to(document.getElementsByClassName(`${elementToAnimate}-word`),animationToConfig,0)}else if(animation.splitText.includes('line')){GSAPtimelineCustomEvent.to(document.getElementsByClassName(`${elementToAnimate}-line`),animationToConfig,0)}else{GSAPtimelineCustomEvent.to(animation.element,animationToConfig,0)}}else{GSAPtimelineCustomEvent.to(animation.element,animationToConfig,0)}}}else if(triggerElementIndex==0){var elementToAnimate=animation.element;if(document.querySelector(elementToAnimate)){if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${elementToAnimate}, ${elementToAnimate} *`),{type:animation.splitText,charsClass:`${elementToAnimate}-char nb-animator-char`,wordsClass:`${elementToAnimate}-word nb-animator-word`,linesClass:`${elementToAnimate}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimeline.to(document.getElementsByClassName(`${elementToAnimate}-char`),animationToConfig,0)}else if(animation.splitText.includes('word')){GSAPtimeline.to(document.getElementsByClassName(`${elementToAnimate}-word`),animationToConfig,0)}else if(animation.splitText.includes('line')){GSAPtimeline.to(document.getElementsByClassName(`${elementToAnimate}-line`),animationToConfig,0)}else{GSAPtimeline.to(animation.element,animationToConfig,0)}}else{GSAPtimeline.to(animation.element,animationToConfig,0)}}}} 145break;case "fromto":var animationFromToToConfig={duration:Number(animation.duration)};if(animation.delay){animationFromToToConfig.delay=Number(animation.delay)} 146if(animation.easing){animationFromToToConfig.ease=animation.easing} 147if(animation.staggerEnabled=="true"){animationFromToToConfig.stagger=animation.stagger} 148if(animation.repeatEnabled=="true"){animationFromToToConfig.repeat=Number(animation.repeat)}
149if(animation.yoyoEnabled=="true"){animationFromToToConfig.yoyo=!0} 150if(animation.fromtotoObject.opacity){animationFromToToConfig.opacity=animation.fromtotoObject.opacity} 151if(animation.fromtotoObject.autoAlpha){animationFromToToConfig.autoAlpha=animation.fromtotoObject.autoAlpha} 152if(animation.fromtotoObject.transformX){animationFromToToConfig.x=animation.fromtotoObject.transformX} 153if(animation.fromtotoObject.transformY){animationFromToToConfig.y=animation.fromtotoObject.transformY} 154if(animation.fromtotoObject.transformScale){animationFromToToConfig.scale=animation.fromtotoObject.transformScale} 155if(animation.fromtotoObject.transformRotate){animationFromToToConfig.rotation=animation.fromtotoObject.transformRotate} 156if(animation.fromtotoObject.transformSkewX){animationFromToToConfig.skewX=animation.fromtotoObject.transformSkewX} 157if(animation.fromtotoObject.transformSkewY){animationFromToToConfig.skewY=animation.fromtotoObject.transformSkewY} 158if(animation.fromtotoObject.background){animationFromToToConfig.backgroundColor=animation.fromtotoObject.background} 159if(animation.fromtotoObject.color){animationFromToToConfig.color=animation.fromtotoObject.color} 160if(animation.fromtotoObject.fontFamily){animationFromToToConfig.fontFamily=animation.fromtotoObject.fontFamily} 161if(animation.fromtotoObject.fontSize){animationFromToToConfig.fontSize=animation.fromtotoObject.fontSize} 162if(animation.fromtotoObject.fontWeight){animationFromToToConfig.fontWeight=animation.fromtotoObject.fontWeight} 163if(animation.fromtotoObject.fontStyle){animationFromToToConfig.fontStyle=animation.fromtotoObject.fontStyle} 164if(animation.fromtotoObject.textAlign){animationFromToToConfig.textAlign=animation.fromtotoObject.textAlign} 165if(animation.fromtotoObject.textDecoration){animationFromToToConfig.textDecoration=animation.fromtotoObject.textDecoration} 166if(animation.fromtotoObject.textTransform){animationFromToToConfig.textTransform=animation.fromtotoObject.textTransform} 167if(animation.fromtotoObject.lineHeight){animationFromToToConfig.lineHeight=animation.fromtotoObject.lineHeight} 168if(animation.fromtotoObject.letterSpacing){animationFromToToConfig.letterSpacing=animation.fromtotoObject.letterSpacing} 169if(animation.fromtotoObject.wordSpacing){animationFromToToConfig.wordSpacing=animation.fromtotoObject.wordSpacing} 170if(animation.fromtotoObject.width){animationFromToToConfig.width=animation.fromtotoObject.width} 171if(animation.fromtotoObject.height){animationFromToToConfig.height=animation.fromtotoObject.height} 172if(animation.fromtotoObject.minWidth){animationFromToToConfig.minWidth=animation.fromtotoObject.minWidth} 173if(animation.fromtotoObject.minHeight){animationFromToToConfig.minHeight=animation.fromtotoObject.minHeight} 174if(animation.fromtotoObject.maxWidth){animationFromToToConfig.maxWidth=animation.fromtotoObject.maxWidth} 175if(animation.fromtotoObject.maxHeight){animationFromToToConfig.maxHeight=animation.fromtotoObject.maxHeight} 176if(animation.fromtotoObject.paddingTop){animationFromToToConfig.paddingTop=animation.fromtotoObject.paddingTop} 177if(animation.fromtotoObject.paddingBottom){animationFromToToConfig.paddingBottom=animation.fromtotoObject.paddingBottom} 178if(animation.fromtotoObject.paddingLeft){animationFromToToConfig.paddingLeft=animation.fromtotoObject.paddingLeft} 179if(animation.fromtotoObject.paddingRight){animationFromToToConfig.paddingRight=animation.fromtotoObject.paddingRight} 180if(animation.fromtotoObject.marginTop){animationFromToToConfig.marginTop=animation.fromtotoObject.marginTop} 181if(animation.fromtotoObject.marginBottom){animationFromToToConfig.marginBottom=animation.fromtotoObject.marginBottom} 182if(animation.fromtotoObject.marginLeft){animationFromToToConfig.marginLeft=animation.fromtotoObject.marginLeft} 183if(animation.fromtotoObject.marginRight){animationFromToToConfig.marginRight=animation.fromtotoObject.marginRight} 184if(animation.fromtotoObject.positionTop){animationFromToToConfig.top=animation.fromtotoObject.positionTop} 185if(animation.fromtotoObject.positionBottom){animationFromToToConfig.bottom=animation.fromtotoObject.positionBottom} 186if(animation.fromtotoObject.positionLeft){animationFromToToConfig.left=animation.fromtotoObject.positionLeft} 187if(animation.fromtotoObject.positionRight){animationFromToToConfig.right=animation.fromtotoObject.positionRight} 188if(animation.fromtotoObject.borderColor){animationFromToToConfig.borderColor=animation.fromtotoObject.borderColor} 189if(animation.fromtotoObject.borderStyle){animationFromToToConfig.borderStyle=animation.fromtotoObject.borderStyle} 190if(animation.fromtotoObject.borderWidthTop){animationFromToToConfig.borderTopWidth=animation.fromtotoObject.borderWidthTop} 191if(animation.fromtotoObject.borderWidthBottom){animationFromToToConfig.borderBottomWidth=animation.fromtotoObject.borderWidthBottom} 192if(animation.fromtotoObject.borderWidthLeft){animationFromToToConfig.borderLeftWidth=animation.fromtotoObject.borderWidthLeft} 193if(animation.fromtotoObject.borderWidthRight){animationFromToToConfig.borderRightWidth=animation.fromtotoObject.borderWidthRight} 194if(animation.fromtotoObject.borderTopLeftRadius){animationFromToToConfig.borderTopLeftRadius=animation.fromtotoObject.borderTopLeftRadius} 195if(animation.fromtotoObject.borderTopRightRadius){animationFromToToConfig.borderTopRightRadius=animation.fromtotoObject.borderTopRightRadius} 196if(animation.fromtotoObject.borderBottomLeftRadius){animationFromToToConfig.borderBottomLeftRadius=animation.fromtotoObject.borderBottomLeftRadius} 197if(animation.fromtotoObject.borderBottomRightRadius){animationFromToToConfig.borderBottomRightRadius=animation.fromtotoObject.borderBottomRightRadius} 198if(animation.fromtotoObject.boxShadowOffsetX&&animation.fromtotoObject.boxShadowOffsetY&&animation.fromtotoObject.boxShadowBlur&&animation.fromtotoObject.boxShadowSpread&&animation.fromtotoObject.boxShadowColor){var boxSh
198adowProperties={offsetX:animation.fromtotoObject.boxShadowOffsetX,offsetY:animation.fromtotoObject.boxShadowOffsetY,blur:animation.fromtotoObject.boxShadowBlur,spread:animation.fromtotoObject.boxShadowSpread,color:animation.fromtotoObject.boxShadowColor,};animationFromToToConfig.boxShadow=`${boxShadowProperties.offsetX} ${boxShadowProperties.offsetY} ${boxShadowProperties.blur} ${boxShadowProperties.spread} ${boxShadowProperties.color}`} 199var filterString="";if(animation.fromtotoObject.filterBlur){filterString+=`blur(${animation.fromtotoObject.filterBlur}) `} 200if(animation.fromtotoObject.filterBrightness){filterString+=`brightness(${animation.fromtotoObject.filterBrightness}) `} 201if(animation.fromtotoObject.filterContrast){filterString+=`contrast(${animation.fromtotoObject.filterContrast}) `} 202if(animation.fromtotoObject.filterGrayscale){filterString+=`grayscale(${animation.fromtotoObject.filterGrayscale}) `} 203if(animation.fromtotoObject.filterHueRotate){filterString+=`hue-rotate(${animation.fromtotoObject.filterHueRotate}) `} 204if(animation.fromtotoObject.filterInvert){filterString+=`invert(${animation.fromtotoObject.filterInvert}) `} 205if(animation.fromtotoObject.filterSaturate){filterString+=`saturate(${animation.fromtotoObject.filterSaturate}) `} 206if(animation.fromtotoObject.filterSepia){filterString+=`sepia(${animation.fromtotoObject.filterSepia}) `} 207if(filterString!=""){filterString=filterString.trim();animationFromToToConfig.filter=filterString} 208if(animation.fromtotoObject.svgFill){animationFromToToConfig.fill=animation.fromtotoObject.svgFill} 209if(animation.fromtotoObject.svgStrokeColor){animationFromToToConfig.stroke=animation.fromtotoObject.svgStrokeColor} 210if(animation.fromtotoObject.svgStrokeWidth){animationFromToToConfig.strokeWidth=animation.fromtotoObject.svgStrokeWidth} 211if(animation.fromtotoObject.customProperties&&animation.fromtotoObject.customValues){const properties=animation.fromtotoObject.customProperties.split('d110708');const values=animation.fromtotoObject.customValues.split('d110708');properties.forEach((property,index)=>{const value=values[index];if(property!==""&&value!==""){animationFromToToConfig[property]=value}})} 212var animationFromToFromConfig={};if(animation.fromtofromObject.opacity){animationFromToFromConfig.opacity=animation.fromtofromObject.opacity} 213if(animation.fromtofromObject.autoAlpha){animationFromToFromConfig.autoAlpha=animation.fromtofromObject.autoAlpha} 214if(animation.fromtofromObject.transformX){animationFromToFromConfig.x=animation.fromtofromObject.transformX} 215if(animation.fromtofromObject.transformY){animationFromToFromConfig.y=animation.fromtofromObject.transformY} 216if(animation.fromtofromObject.transformScale){animationFromToFromConfig.scale=animation.fromtofromObject.transformScale} 217if(animation.fromtofromObject.transformRotate){animationFromToFromConfig.rotation=animation.fromtofromObject.transformRotate} 218if(animation.fromtofromObject.transformSkewX){animationFromToFromConfig.skewX=animation.fromtofromObject.transformSkewX} 219if(animation.fromtofromObject.transformSkewY){animationFromToFromConfig.skewY=animation.fromtofromObject.transformSkewY} 220if(animation.fromtofromObject.background){animationFromToFromConfig.backgroundColor=animation.fromtofromObject.background} 221if(animation.fromtofromObject.color){animationFromToFromConfig.color=animation.fromtofromObject.color} 222if(animation.fromtofromObject.fontFamily){animationFromToFromConfig.fontFamily=animation.fromtofromObject.fontFamily} 223if(animation.fromtofromObject.fontSize){animationFromToFromConfig.fontSize=animation.fromtofromObject.fontSize} 224if(animation.fromtofromObject.fontWeight){animationFromToFromConfig.fontWeight=animation.fromtofromObject.fontWeight} 225if(animation.fromtofromObject.fontStyle){animationFromToFromConfig.fontStyle=animation.fromtofromObject.fontStyle} 226if(animation.fromtofromObject.textAlign){animationFromToFromConfig.textAlign=animation.fromtofromObject.textAlign} 227if(animation.fromtofromObject.textDecoration){animationFromToFromConfig.textDecoration=animation.fromtofromObject.textDecoration}
228if(animation.fromtofromObject.textTransform){animationFromToFromConfig.textTransform=animation.fromtofromObject.textTransform} 229if(animation.fromtofromObject.lineHeight){animationFromToFromConfig.lineHeight=animation.fromtofromObject.lineHeight} 230if(animation.fromtofromObject.letterSpacing){animationFromToFromConfig.letterSpacing=animation.fromtofromObject.letterSpacing} 231if(animation.fromtofromObject.wordSpacing){animationFromToFromConfig.wordSpacing=animation.fromtofromObject.wordSpacing} 232if(animation.fromtofromObject.width){animationFromToFromConfig.width=animation.fromtofromObject.width} 233if(animation.fromtofromObject.height){animationFromToFromConfig.height=animation.fromtofromObject.height} 234if(animation.fromtofromObject.minWidth){animationFromToFromConfig.minWidth=animation.fromtofromObject.minWidth} 235if(animation.fromtofromObject.minHeight){animationFromToFromConfig.minHeight=animation.fromtofromObject.minHeight} 236if(animation.fromtofromObject.maxWidth){animationFromToFromConfig.maxWidth=animation.fromtofromObject.maxWidth} 237if(animation.fromtofromObject.maxHeight){animationFromToFromConfig.maxHeight=animation.fromtofromObject.maxHeight} 238if(animation.fromtofromObject.paddingTop){animationFromToFromConfig.paddingTop=animation.fromtofromObject.paddingTop} 239if(animation.fromtofromObject.paddingBottom){animationFromToFromConfig.paddingBottom=animation.fromtofromObject.paddingBottom} 240if(animation.fromtofromObject.paddingLeft){animationFromToFromConfig.paddingLeft=animation.fromtofromObject.paddingLeft} 241if(animation.fromtofromObject.paddingRight){animationFromToFromConfig.paddingRight=animation.fromtofromObject.paddingRight} 242if(animation.fromtofromObject.marginTop){animationFromToFromConfig.marginTop=animation.fromtofromObject.marginTop} 243if(animation.fromtofromObject.marginBottom){animationFromToFromConfig.marginBottom=animation.fromtofromObject.marginBottom} 244if(animation.fromtofromObject.marginLeft){animationFromToFromConfig.marginLeft=animation.fromtofromObject.marginLeft} 245if(animation.fromtofromObject.marginRight){animationFromToFromConfig.marginRight=animation.fromtofromObject.marginRight} 246if(animation.fromtofromObject.positionTop){animationFromToFromConfig.top=animation.fromtofromObject.positionTop} 247if(animation.fromtofromObject.positionBottom){animationFromToFromConfig.bottom=animation.fromtofromObject.positionBottom} 248if(animation.fromtofromObject.positionLeft){animationFromToFromConfig.left=animation.fromtofromObject.positionLeft} 249if(animation.fromtofromObject.positionRight){animationFromToFromConfig.right=animation.fromtofromObject.positionRight} 250if(animation.fromtofromObject.borderColor){animationFromToFromConfig.borderColor=animation.fromtofromObject.borderColor} 251if(animation.fromtofromObject.borderStyle){animationFromToFromConfig.borderStyle=animation.fromtofromObject.borderStyle} 252if(animation.fromtofromObject.borderWidthTop){animationFromToFromConfig.borderTopWidth=animation.fromtofromObject.borderWidthTop} 253if(animation.fromtofromObject.borderWidthBottom){animationFromToFromConfig.borderBottomWidth=animation.fromtofromObject.borderWidthBottom} 254if(animation.fromtofromObject.borderWidthLeft){animationFromToFromConfig.borderLeftWidth=animation.fromtofromObject.borderWidthLeft} 255if(animation.fromtofromObject.borderWidthRight){animationFromToFromConfig.borderRightWidth=animation.fromtofromObject.borderWidthRight} 256if(animation.fromtofromObject.borderTopLeftRadius){animationFromToFromConfig.borderTopLeftRadius=animation.fromtofromObject.borderTopLeftRadius} 257if(animation.fromtofromObject.borderTopRightRadius){animationFromToFromConfig.borderTopRightRadius=animation.fromtofromObject.borderTopRightRadius} 258if(animation.fromtofromObject.borderBottomLeftRadius){animationFromToFromConfig.borderBottomLeftRadius=animation.fromtofromObject.borderBottomLeftRadius} 259if(animation.fromtofromObject.borderBottomRightRadius){animationFromToFromConfig.borderBottomRightRadius=animation.fromtofromObject.borderBottomRightRadius} 260if(animation.fromtofromObject.boxShadowOffsetX&&animation.fromtofromObject.boxShadowOffsetY&&animation.fromtofromObject.boxShadowBlur&&animation.fromtofromObject.boxShadowSpread&&animation.fromtofromObject.boxShadowColor){var boxSh
260adowProperties={offsetX:animation.fromtofromObject.boxShadowOffsetX,offsetY:animation.fromtofromObject.boxShadowOffsetY,blur:animation.fromtofromObject.boxShadowBlur,spread:animation.fromtofromObject.boxShadowSpread,color:animation.fromtofromObject.boxShadowColor,};animationFromToFromConfig.boxShadow=`${boxShadowProperties.offsetX} ${boxShadowProperties.offsetY} ${boxShadowProperties.blur} ${boxShadowProperties.spread} ${boxShadowProperties.color}`} 261var filterString="";if(animation.fromtofromObject.filterBlur){filterString+=`blur(${animation.fromtofromObject.filterBlur}) `} 262if(animation.fromtofromObject.filterBrightness){filterString+=`brightness(${animation.fromtofromObject.filterBrightness}) `} 263if(animation.fromtofromObject.filterContrast){filterString+=`contrast(${animation.fromtofromObject.filterContrast}) `} 264if(animation.fromtofromObject.filterGrayscale){filterString+=`grayscale(${animation.fromtofromObject.filterGrayscale}) `} 265if(animation.fromtofromObject.filterHueRotate){filterString+=`hue-rotate(${animation.fromtofromObject.filterHueRotate}) `} 266if(animation.fromtofromObject.filterInvert){filterString+=`invert(${animation.fromtofromObject.filterInvert}) `} 267if(animation.fromtofromObject.filterSaturate){filterString+=`saturate(${animation.fromtofromObject.filterSaturate}) `} 268if(animation.fromtofromObject.filterSepia){filterString+=`sepia(${animation.fromtofromObject.filterSepia}) `} 269if(filterString!=""){filterString=filterString.trim();animationFromToFromConfig.filter=filterString} 270if(animation.fromtofromObject.svgFill){animationFromToFromConfig.fill=animation.fromtofromObject.svgFill} 271if(animation.fromtofromObject.svgStrokeColor){animationFromToFromConfig.stroke=animation.fromtofromObject.svgStrokeColor} 272if(animation.fromtofromObject.svgStrokeWidth){animationFromToFromConfig.strokeWidth=animation.fromtofromObject.svgStrokeWidth} 273if(animation.fromtofromObject.customProperties&&animation.fromtofromObject.customValues){const properties=animation.fromtofromObject.customProperties.split('d110708');const values=animation.fromtofromObject.customValues.split('d110708');properties.forEach((property,index)=>{const value=values[index];if(property!==""&&value!==""){animationFromToFromConfig[property]=value}})} 274if(animation.element=="this"&&timeline.trigger!=""){var elementToAnimate=triggerElement;if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${timeline.trigger}, ${timeline.trigger} *`),{type:animation.splitText,charsClass:`${timeline.trigger}-char nb-animator-char`,wordsClass:`${timeline.trigger}-word nb-animator-word`,linesClass:`${timeline.trigger}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimeline.fromTo(document.getElementsByClassName(`${timeline.trigger}-char`),animationFromToFromConfig,animationFromToToConfig,0)}else if(animation.splitText.includes('word')){GSAPtimeline.fromTo(document.getElementsByClassName(`${timeline.trigger}-word`),animationFromToFromConfig,animationFromToToConfig,0)}else if(animation.splitText.includes('line')){GSAPtimeline.fromTo(document.getElementsByClassName(`${timeline.trigger}-line`),animationFromToFromConfig,animationFromToToConfig,0)}else{GSAPtimeline.fromTo(elementToAnimate,animationFromToFromConfig,animationFromToToConfig,0)}}else{GSAPtimeline.fromTo(elementToAnimate,animationFromToFromConfig,animationFromToToConfig,0)}}else if(animation.element!=""){if(timeline.triggerEvent=="custom"){var elementToAnimate=animation.element;if(document.querySelector(elementToAnimate)&&triggerElementIndex==0){if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${elementToAnimate}, ${elementToAnimate} *`),{type:animation.splitText,charsClass:`${elementToAnimate}-char nb-animator-char`,wordsClass:`${elementToAnimate}-word nb-animator-word`,linesClass:`${elementToAnimate}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimelineCustomEvent.fromTo(document.getElementsByClassName(`${elementToAnimate}-char`),animationFromToFromConfig,animationFromToToConfig,0)}else if(animation.splitText.includes('word')){GSAPtimelineCustomEvent.fromTo(document.getElementsByClassName(`${elementToAnimate}-word`),animationFromToFromConfig,animationFromToToConfig,0)}else if(animation.splitText.includes('line')){GSAPtimelineCustomEvent.fromTo(document.getElementsByClassName(`${elementToAnimate}-line`),animationFromToFromConfig,animationFromToToConfig,0)}else{GSAPtimelineCustomEvent.fromTo(animation.element,animationFromToFromConfig,animationFromToToConfig,0)}}else{GSAPtimelineCustomEvent.fromTo(animation.element,animationFromToFromConfig,animationFromToToConfig,0)}}}else if(triggerElementIndex==0){var elementToAnimate=animation.element;if(document.querySelector(elementToAnimate)){if(animation.splitTextEnabled=="true"){new SplitText(document.querySelectorAll(`${elementToAnimate}, ${elementToAnimate} *`),{type:animation.splitText,charsClass:`${elementToAnimate}-char nb-animator-char`,wordsClass:`${elementToAnimate}-word nb-animator-word`,linesClass:`${elementToAnimate}-line nb-animator-line`,});if(animation.splitText.includes('char')){GSAPtimeline.fromTo(document.getElementsByClassName(`${elementToAnimate}-char`),animationFromToFromConfig,animationFromToToConfig,0)}else if(animation.splitText.includes('word')){GSAPtimeline.fromTo(document.getElementsByClassName(`${elementToAnimate}-word`),animationFromToFromConfig,animationFromToToConfig,0)}else if(animation.splitText.includes('line')){GSAPtimeline.fromTo(document.getElementsByClassName(`${elementToAnimate}-line`),animationFromToFromConfig,animationFromToToConfig,0)}else{GSAPtimeline.fromTo(animation.element,animationFromToFromConfig,animationFromToToConfig,0)}}else{GSAPtimeline.fromTo(animation.element,animationFromToFromConfig,animationFromToToConfig,0)}}}} 275break}})}})})})} 276window.addEventListener("load",()=>{ 277 //Check if Site Loader exists, then the script is launched by the Site Loader, otherwise is launched here 278 if(!document.querySelector(".nb-site-loader")){ 279 animationsFrontend() 280 } 281})
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.