1document.querySelector('body').classList.add('lottie-playing'); 2 3document.addEventListener("DOMContentLoaded", function () { 4 /* ë¹ë©ì¤ ì´ê¸° ì¸í */ 5 const mainVideos = document.querySelectorAll(".video"); 6 mainVideos.forEach(function (mainVideo) { 7 var vimeoPlayer = new Vimeo.Player(mainVideo); 8 vimeoPlayer.on("loaded", function () { 9 vimeoPlayer.pause(); 10 }); 11 }); 12 13 /* ì¸í¸ë¡ ë¡í° ì¸í */ 14 const mainLottie = bodymovin.loadAnimation({ 15 container: document.getElementById("mainLottie"), 16 renderer: "svg", 17 loop: false, // ë°ë³µ ì¤ì 18 autoplay: false, // ìëì¬ì ì¤ì 19 path: "/views/res/lottie/intro_lottie_01.json", 20 }); 21 22 mainLottie.play(); // ë¡í° ì¬ì 23 mainLottie.addEventListener("complete", function () { 24 // ë¡í° ì¬ì ìë£ í 25 setTimeout(function () { 26 $(".main-lottie-wrap").addClass("hideLottie"); 27 document.querySelector("body").classList.remove("lottie-playing"); 28 mainLottie.destroy(); 29 30 const mainVideos = document.querySelectorAll(".video"); 31 mainVideos.forEach(function (mainVideo) { 32 var vimeoPlayer = new Vimeo.Player(mainVideo); 33 vimeoPlayer.play(); // ë¹ë©ì¤ ì¬ì 34 playScrollTrigger(); // gsap ì¬ì 35 }); 36 }, 150); 37 }); 38 39 mainLottie.addEventListener("destroy", function () { 40 // ë¡í° destroy í ì¨ê¹ 41 setTimeout(function () { 42 $(".main-lottie-wrap").addClass("hide"); 43 }, 1000); 44 }); 45 46 // ì¤í¬ë¡¤ í¸ë¦¬ê±° í¨ì (ì¹´ì´í¸ ì¸í°ëì ) 47 function playScrollTrigger(){ 48 asyncLoader.load("scrollTrigger", function () { 49 gsap.registerPlugin(ScrollTrigger); 50 51 // ì¹´ì´í¸ ì¸í°ëì 52 ScrollTrigger.create({ 53 trigger: ".main-visual-v2", 54 start: "top 10%", 55 end: "bottom 0%", 56 // markers: true, 57 toggleActions: "play none none none", 58 onEnter: function () { 59 startCounter(); 60 }, 61 onLeave: function () { 62 resetCounter(); 63 }, 64 onEnterBack: function () { 65 startCounter(); 66 }, 67 onLeaveBack: function () { 68 resetCounter(); 69 }, 70 }); 71 }); 72 } 73 74 // ë´ì¤ swiper 75 var slideCount = document.querySelectorAll('.recruitSwiper .swiper-slide').length; 76 var slidesPerView = slideCount === 1 ? 1 : 1.25; 77 var spaceBetween = slideCount === 1 ? 0 : 12; 78 79 asyncLoader.load("swiper", function () { 80 var mainRecruitSwiper = new Swiper(".recruitSwiper", { 81 loop: false, 82 observer: true, 83 observeParents: true, 84 speed: 1000, 85 loopAdditionalSlides: 1, 86 watchOverflow: true, // ì¬ë¼ì´ë í ê°ì¼ ë navigator, pagination ì¨ê¹ 87 breakpoints: { 88 1200: { 89 slidesPerView: slidesPerView, 90 spaceBetween: spaceBetween, 91 }, 92 }, 93 navigation: { 94 nextEl: ".recruit-controller .swiper-button-next", 95 prevEl: ".recruit-controller .swiper-button-prev", 96 }, 97 pagination: { 98 el: ".swiper-pagination", 99 clickable: false, 100 type: "bullets", 101 }, 102 }); 103 }); 104 105 // ì¤ë¹ì¤ ë§í¬ í´ë¦ ì 'ì¤ë¹ì¤ì ëë¤. íì 106 $(".coming-soon").on("click", function () { 107 showAlert("ì¤ë¹ì¤ì ëë¤."); 108 }); 109});
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.