1$(document).ready(function(){let topSlickSlider=$(".section-fcsg_tv .collage-slider:not(.slick-initialized)").slick({dots:!1,arrows:!0,prevArrow:'<button type="button" class="slick-prev"><i class="icon-arrow"></i></button>',nextArrow:'<button type="button" class="slick-next"><i class="icon-arrow"></i></button>',slidesToShow:1,slidesToScroll:1,centerMode:!0,autoplay:!1,infinite:!0,autoplaySpeed:8e3,speed:500,responsive:[{breakpoint:750,settings:{slidesToShow:1,slidesToScroll:1}}]});gsap.registerPlugin(ScrollTrigger),gsap.config({nullTargetWarn:!1});function initializeAnimation(){ScrollTrigger.getAll().forEach(trigger=>trigger.kill());const $box=$(".fcsg_tv_section .collage__item");let titleYheight=$(".fcsg_tv_section .collage-wrapper-title").height(),windowWidth=$(window).width(),windowHeight=$(window).height(),boxWidth=$box.width(),boxHeight=$box.height(),startScaleX=windowWidth/boxWidth,startScaleY=windowHeight/boxHeight,reverScaleY=boxHeight/windowHeight,reverScaleX=boxWidth/windowWidth,translateX=(boxWidth*startScaleX-boxWidth)/2,imgScaleX=boxWidth/windowWidth,imgScaleY=startScaleY+.1,topStatpoint=85,mobileHeight=50,textHeight=boxHeight-titleYheight-85,starttextHeight=boxHeight-titleYheight-85-24,deskDelay1=.3,deskDelay2=.2,titleSize=.7,fontSizeh2=2,lineHeighth2=2,fontSizeh3=2,lineHeighth3=2,mobilekDelay=0;if($(window).width()<=1680&&(topStatpoint=70),$(window).width()<=749){topStatpoint=0,deskDelay1=.6,deskDelay2=.3,titleSize=imgScaleX-.1,fontSizeh2=2,lineHeighth2=2,startScaleX=windowWidth/boxWidth,startScaleY=windowHeight/boxHeight+.2;let mobilekDelay2=1}startScaleX>startScaleY?(startScaleY=startScaleX,reverScaleY=reverScaleX):(startScaleX=startScaleY,reverScaleX=reverScaleY);let timeline=gsap.timeline({scrollTrigger:{trigger:".fcsg_tv_section",start:`top ${topStatpoint}px`,end:"bottom+=50%",scrub:!0,pin:".fcsg_tv_section",anticipatePin:1,markers:!1}});timeline.addLabel("start").fromTo(".fcsg_tv_section .slick-current",{scaleX:startScaleX,scaleY:startScaleY,delay:mobilekDelay},{scaleX:startScaleX,scaleY:startScaleY,duration:1,ease:"power1.out"},"start").fromTo(".fcsg_tv_section .slick-current .img_wrap",{scaleX:1.2,scaleY:1.2},{scaleX:1,scaleY:1,duration:1,ease:"power1.out"},"start").fromTo(".fcsg_tv_section .slick-current .media a",{y:"200px",scaleX:titleSize,scaleY:titleSize,duration:1,delay:deskDelay1},{y:"-30px",scaleX:titleSize,scaleY:titleSize,duration:1.3,delay:deskDelay2,ease:"power1.out"},"start").fromTo(".fcsg_tv_section .slick-current .media .video-heading",{fontSize:`${fontSizeh2}rem`,lineHeight:`${lineHeighth2}rem`,duration:1,delay:deskDelay1},{fontSize:`${fontSizeh2}rem`,lineHeight:`${lineHeighth2}rem`,duration:1.3,delay:deskDelay2,ease:"power1.out"},"start"),timeline.addLabel("secondPhase","+=0.2").fromTo(".fcsg_tv_section .slick-current",{scaleX:startScaleX,scaleY:startScaleY},{scaleX:1,scaleY:1,duration:.7,ease:"power2.out",onUpdate:function(){gsap.getProperty(".fcsg_tv_section .slick-current","scale")<=1.00000000001?gsap.to(".fcsg_tv_section .slick-slide:not(.slick-current), .fcsg_tv_section .collage-wrapper-title, .fcsg_tv_section .button_wrap, .fcsg_tv_section .slick-arrow, .fcsg_tv_section .slick-slide",{autoAlpha:1,duration:.5,ease:"power1.inOut",scale:1,onComplete:()=>{gsap.utils.toArray(".section-fcsg_tv").forEach(el=>el.classList.add("animated_div"))},onReverseComplete:()=>{gsap.utils.toArray(".section-fcsg_tv").forEach(el=>el.classList.remove("animated_div"))}}):gsap.to(".fcsg_tv_section .slick-slide:not(.slick-current), .fcsg_tv_section .collage-wrapper-title, .fcsg_tv_section .button_wrap, .fcsg_tv_section .slick-arrow",{autoAlpha:0,duration:.5,ease:"power1.inOut",onComplete:()=>{gsap.utils.toArray(".section-fcsg_tv").forEach(el=>el.classList.remove("animated_div"))},onReverseComplete:()=>{gsap.utils.toArray(".section-fcsg_tv").forEach(el=>el.classList.remove("animated_div"))}})}},"secondPhase").fromTo(".fcsg_tv_section .slick-current .media a",{y:"-30px",scaleX:titleSize,scaleY:titleSize,duration:.7},{y:"0px",scaleX:1,scaleY:1,duration:.7,ease:"power2.out"},"secondPhase").fromTo(".fcsg_tv_section .slick-current .media .video-heading",{fontSize:`${fontSizeh3}rem`,lineHeight:`${lineHeighth3}rem`,duration:.7},{fontSize:`${fontSizeh3}rem`,lineHeight:`${lineHeighth3}rem`,duration:.7,ease:"power2.out"},"secondPhase")}ScrollTrigger.create({trigger:".fcsg_tv_wrapper",start:"top 100%",onEnter:()=>{initializeAnimation()},onEnterBack:()=>{initializeAnimation()}}),initializeAnimation(),delayAnimation();function delayAnimation(){setTimeout(()=>{initializeAnimation()},550)}$(window).on("load",function(){$(".fcsg_tv_section").removeClass("default-hide-section"),initializeAnimation()}),$(".fcsg_tv_section .slick-arrow").on("click",function(){$(this).prop("disabled",!0),$(".section-fcsg_tv").addClass("animated_col"),delayAnimation()}),$(".fcsg_tv_section .slick-slider").on("afterChange",function(){$(this).prop("disabled",!0),$(".section-fcsg_tv").addClass("animated_col"),delayAnimation()}),$(window).on("scroll",()=>{setTimeout(()=>{$(".section-fcsg_tv").removeClass("animated_col")},800)});function destroySlickslider(){$(".section-fcsg_tv .collage-slider").hasClass("slick-initialized")&&topSlickSlider.slick("destroy")}
1function tvSlickslider(){topSlickSlider.slick("refresh")}subscribe("feed-loaded",e=>{destroySlickslider(),tvSlickslider(),delayAnimation(),initializeSwiper(),fcsgtvsectionHeights()});function initializeSwiper(){let marqueeSlider=document.querySelector(".swiper-wrapperss"),mainTicker=new Flickity(".swiper-wrapperss",{accessibility:!0,resize:!0,wrapAround:!0,prevNextButtons:!1,pageDots:!1,percentPosition:!0,setGallerySize:!0,adaptiveHeight:!0});mainTicker.x=0;let requestId,speed=.6,isHovering=!1;play();function play(){const currentSpeed=isHovering?.15:speed;mainTicker.x-=currentSpeed,mainTicker.settle(mainTicker.x),requestId=window.requestAnimationFrame(play)}function onHover(){isHovering=!0}function onHoverOut(){isHovering=!1}marqueeSlider.addEventListener("mouseenter",onHover),marqueeSlider.addEventListener("mouseleave",onHoverOut)}fcsgtvsectionHeights();function heightDelay(){setTimeout(()=>{fcsgtvsectionHeights()},0)}function fcsgtvsectionHeights(){const mainSection=$(".fcsg_tv_section"),pageDiv=$(".fcsg_tv_section").find(".page-width"),fcsgHeight=mainSection.outerHeight(),fcsgDiv=pageDiv.outerHeight(),totleHeight=fcsgHeight-fcsgDiv;$(".collage-wrapper").css("margin-top",-totleHeight)}}); 2//# sourceMappingURL=/cdn/shop/t/48/assets/fcsg__tv.js.map?v=34864569526405329451775052885
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.