{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/js/modules/send-form.js","webpack:///./src/js/modules/slider-2.js","webpack:///./src/js/modules/tabs.js","webpack:///./src/js/modules/services-picture.js","webpack:///./src/js/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","form","document","getElementById","serverResponse","querySelector","addEventListener","async","event","preventDefault","response","fetch","method","body","FormData","ok","console","log","innerHTML","status","gsap","timeline","to","duration","ease","autoAlpha","width","stagger","fromTo","opacity","y","rowWrapper","rowSlidefield","slideImages","querySelectorAll","firstSlide","nextSlide","prevSlide","lastSlide","centerOffset","lastOffset","sum","clickImage","trigger","rotate","style","transform","len","forEach","item","push","naturalWidth","map","window","screen","screenWidth","display","justifyContent","parseInt","mouseX1","x","mouseX2","mouseXDiff","firstTouch","touches","x1","clientX","x2","xDiff","innerWidth","tabs","tabsRu","hideTabContent","tabsContent","classList","add","remove","showTabContent","tabsParent","target","parentNode","contains","from","pictureBox","hideContent","picture","pictureContainer","itemsParent","listItems","coords","mouseX","mouseY","posY","dif","onmousemove","getBoundingClientRect","clientY","top","repeat","onRepeat","set","css","scale","coolPicture","__webpack_exports__","_modules_slider_2__WEBPACK_IMPORTED_MODULE_0__","_modules_slider_2__WEBPACK_IMPORTED_MODULE_0___default","_modules_tabs__WEBPACK_IMPORTED_MODULE_1__","_modules_tabs__WEBPACK_IMPORTED_MODULE_1___default","_modules_services_picture__WEBPACK_IMPORTED_MODULE_2__","_modules_services_picture__WEBPACK_IMPORTED_MODULE_2___default","_modules_send_form__WEBPACK_IMPORTED_MODULE_3__","_modules_send_form__WEBPACK_IMPORTED_MODULE_3___default","slider2","servicesPicture","sendForm","matchMedia","isMobile","isDesktop","context","conditions","utils","toArray","scrollTrigger","start","toggleActions","defaults","onComplete","endTrigger","end","scrub","pinSpacing","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A,CAC/BsG,cAAcA,CACZhF,QAAS,oBACTiF,MAAO,gBACPC,cAAe,0BAEjBC,SAASA,CACPvG,SAAU,KAIH2D,KAAK,mBAAmB,CAAGpD,EAAG,GAAID,QAAS,IAC3CqD,KAAK,iBAAiB,CAAGpD,EAAG,GAAID,QAAS,GAAI","file":"index.bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 7);\n","function sendForm () {\r\n\r\n let form = document.getElementById(\"form\"),\r\n serverResponse = document.querySelector('.feedback__response')\r\n\r\n form.addEventListener(\"submit\", async function (event) {\r\n event.preventDefault();\r\n\r\n let response = await fetch('/mailer/mail.php', {\r\n method: 'POST',\r\n body: new FormData(form)\r\n });\r\n\r\n if (response.ok) {\r\n console.log(\"send\");\r\n serverResponse.innerHTML = \"Message has been sent\"\r\n } else {\r\n console.log(\"error: \" + response.status);\r\n serverResponse.innerHTML = \"Message could not be sent\"\r\n }\r\n\r\n let tlHideForm = gsap.timeline({})\r\n tlHideForm\r\n .to(\".feedback__input\", {\r\n duration: 4,\r\n ease: \"power4.out\",\r\n autoAlpha: 0,\r\n width: 200,\r\n stagger: 0.2\r\n })\r\n .fromTo(serverResponse, { opacity: 0, y: 50, duration: 1}, {opacity: 1, y: 0,}, \"<10%\")\r\n .to(\".feedback__bottom\", { y: 50, autoAlpha: 0}, \"<50%\")\r\n })\r\n\r\n}\r\nmodule.exports = sendForm;","function slider2 () {\r\n const rowWrapper = document.querySelector('.row-wrapper');\r\n const rowSlidefield = document.querySelector('.row');\r\n const slides = document.querySelectorAll('.column');\r\n const slideImages = document.querySelectorAll('.slide__img>img');\r\n const firstSlide = document.querySelector('.first-block');\r\n const nextSlide = document.querySelector('.next-slide');\r\n const prevSlide = document.querySelector('.prev-slide');\r\n const lastSlide = document.querySelector('.last-block');\r\n let sum = 0;\r\n let centerOffset;\r\n let lastOffset;\r\n\r\n \r\n function countWrapper () {\r\n const len = [];\r\n slideImages.forEach(item => {\r\n len.push(item.naturalWidth);\r\n });\r\n len.map((item) => sum += item);\r\n }\r\n countWrapper ();\r\n\r\n function getWidth() {\r\n rowSlidefield.style.width = window.screen.width + 'px';\r\n if (window.screen.width <= 1920) {\r\n rowSlidefield.style.width = 2290 + 'px';\r\n }\r\n if (window.screen.width <= 1280) {\r\n rowSlidefield.style.width = 1600 + 'px';\r\n }\r\n if (window.screen.width <= 991) {\r\n rowSlidefield.style.width = 90 + '%';\r\n }\r\n }\r\n getWidth();\r\n \r\n function countScroll () {\r\n let screenWidth = window.screen.width;\r\n console.log(screenWidth);\r\n if (window.screen.width > 1920) {\r\n rowWrapper.style.display = 'flex';\r\n rowWrapper.style.justifyContent = 'center';\r\n }\r\n centerOffset = (parseInt(rowSlidefield.style.width) - screenWidth)/2;\r\n lastOffset = (parseInt(rowSlidefield.style.width) - screenWidth);\r\n if(window.screen.width <= 1920) {\r\n centerOffset = (2290 - screenWidth)/2;\r\n lastOffset = (2290 - screenWidth);\r\n }\r\n if (window.screen.width <= 1280) {\r\n centerOffset = (1600 - screenWidth)/2;\r\n lastOffset = (1600 - screenWidth);\r\n }\r\n return centerOffset, lastOffset;\r\n \r\n }\r\n countScroll ();\r\n if (window.screen.width <= 1920) {\r\n rowSlidefield.style.transform = `translateX(-${centerOffset}px)`;\r\n }\r\n \r\n //console.log(centerOffset)\r\n function clickImage (trigger, rotate) {\r\n trigger.addEventListener('click', () => {\r\n rowSlidefield.style.transform = `translateX(-${rotate}px)`;\r\n }); \r\n } \r\n\r\n if(window.screen.width <= 1920) {\r\n rowWrapper.addEventListener('mousedown', mouseTouchStart, false);\r\n rowWrapper.addEventListener('mouseup', mouseTouchMove, false);\r\n rowWrapper.addEventListener('touchstart', handleTouchStart, false);\r\n rowWrapper.addEventListener('touchmove', handleTouchMove, false);\r\n \r\n }\r\n \r\n let mouseX1 = null;\r\n function mouseTouchStart (event) {\r\n mouseX1 = event.x;\r\n }\r\n \r\n function mouseTouchMove (event) {\r\n if (!mouseX1) {\r\n return false;\r\n }\r\n let mouseX2 = event.x;\r\n let mouseXDiff = mouseX2 - mouseX1;\r\n console.log(mouseX2);\r\n if (mouseXDiff > 0) {\r\n rowSlidefield.style.transform = `translateX(0px)`;\r\n } else {\r\n rowSlidefield.style.transform = `translateX(-${lastOffset}px)`;\r\n }\r\n mouseX1 = null;\r\n }\r\n let x1 = null;\r\n function handleTouchStart (event) {\r\n const firstTouch = event.touches[0];\r\n x1 = firstTouch.clientX;\r\n console.log(x1);\r\n }\r\n\r\n function handleTouchMove (event) {\r\n if (!x1) {\r\n return false;\r\n }\r\n let x2 = event.touches[0].clientX;\r\n let xDiff = x2 - x1;\r\n console.log(x2);\r\n if (xDiff > 0) {\r\n console.log('hi');\r\n rowSlidefield.style.transform = `translateX(0px)`;\r\n } else {\r\n console.log('by');\r\n rowSlidefield.style.transform = `translateX(-${lastOffset}px)`;\r\n }\r\n \r\n x1 = null;\r\n }\r\n if (window.innerWidth <= 991) {\r\n const slideText = document.querySelectorAll('.slide__text');\r\n slideText.forEach(item => {\r\n item.style.display = 'none';\r\n })\r\n }\r\n\r\n clickImage(firstSlide, '0');\r\n clickImage(prevSlide, centerOffset);\r\n clickImage(nextSlide, centerOffset);\r\n clickImage(lastSlide, lastOffset);\r\n if(window.screen.width <= 991) {\r\n rowSlidefield.style.transform = `translateX(0px)`;\r\n clickImage(prevSlide, '0');\r\n clickImage(nextSlide, '0');\r\n clickImage(lastSlide, '0');\r\n lastOffset = 0;\r\n }\r\n}\r\nmodule.exports = slider2;\r\n ","function tabs () { \r\n let tabs = document.querySelectorAll('.project-en'),\r\n tabsRu = document.querySelectorAll('.project-ru')\r\n\t\ttabsContent = document.querySelectorAll('.projects__list'),\r\n\t\ttabsParent = document.querySelector('.projects__tabs');\r\n\tfunction hideTabContent() {\r\n \r\n tabsContent.forEach(item => {\r\n item.classList.add('hide');\r\n item.classList.remove('show', 'fade');\r\n });\r\n\r\n tabs.forEach(item => {\r\n item.classList.remove('project_active');\r\n });\r\n\r\n tabsRu.forEach(item => {\r\n item.classList.remove('project_active');\r\n })\r\n\t}\r\n\r\n\tfunction showTabContent(i = 0) {\r\n tabsContent[i+1].classList.add('show', 'fade');\r\n tabsContent[i+1].classList.remove('hide');\r\n tabs[i].classList.add('project_active');\r\n tabsRu[i].classList.add('project_active');\r\n }\r\n\r\n hideTabContent();\r\n tabsContent[0].classList.add('show', 'fade');\r\n tabsContent[0].classList.remove('hide');\r\n\r\n\ttabsParent.addEventListener('click', function(event) {\r\n\t\tconst target = event.target;\r\n\t\tif(target.parentNode && target.parentNode.classList.contains('projects__tab')) {\r\n tabs.forEach((item, i) => {\r\n \r\n if (target === item) {\r\n hideTabContent();\r\n showTabContent(i);\r\n gsap.from('.projects__list.show .projects__item', {\r\n duration: 2,\r\n ease: \"power4.out\",\r\n x: 200,\r\n y: 200,\r\n stagger: 0.2,\r\n });\r\n }\r\n });\r\n\t\t}\r\n if(target.parentNode && target.parentNode.classList.contains('projects__tab')) {\r\n tabsRu.forEach((item, i) => {\r\n \r\n if (target === item) {\r\n hideTabContent();\r\n showTabContent(i);\r\n gsap.from('.projects__list.show .projects__item', {\r\n duration: 2,\r\n ease: \"power4.out\",\r\n x: 200,\r\n y: 200,\r\n stagger: 0.2,\r\n });\r\n }\r\n });\r\n\t\t}\r\n });\r\n}\r\nmodule.exports = tabs;","function servicesPicture () {\r\n \r\n let pictureBox = document.querySelector('.services__img-box')\r\n picture = document.querySelectorAll('.services__img'),\r\n pictureContainer = document.querySelector('.services__img-container'),\r\n itemsParent = document.querySelector('.services__list'),\r\n listItems = document.querySelectorAll('.services__item')\r\n\r\n function hideContent() {\r\n pictureBox.classList.add('hide');\r\n }\r\n hideContent();\r\n function showContent() {\r\n pictureBox.classList.remove('hide');\r\n }\r\n\r\n itemsParent.addEventListener('mouseenter', function(event) {\r\n const target = event.target;\r\n if(target && target.classList.contains('services__list')) {\r\n showContent();\r\n }\r\n });\r\n\r\n itemsParent.addEventListener('mouseleave', function(event) {\r\n const target = event.target;\r\n if(target && target.classList.contains('services__list')) {\r\n hideContent();\r\n }\r\n });\r\n let mouseX = 0, mouseY = 0, posX = 0, posY = 0, coords\r\n\r\n let dif = 0\r\n\r\n itemsParent.onmousemove = function(event) {\r\n event = event || window.event;\r\n // pictureBox.style.top = `${event.pageY - 155}px`;\r\n coords = itemsParent.getBoundingClientRect();\r\n\r\n mouseX = event.clientX\r\n mouseY = event.clientY\r\n \r\n posY = mouseY - coords.top\r\n \r\n }\r\n\r\n gsap.to({}, .01, {\r\n repeat: -1,\r\n onRepeat: () => {\r\n \r\n //posX += (mouseX - posX) / 5\r\n // posY += (mouseY - posY) / 15\r\n dif += (posY - dif)/15\r\n \r\n gsap.set(pictureBox, {\r\n css: {\r\n // left: posX - 24,\r\n top: dif\r\n }\r\n })\r\n }\r\n })\r\n\r\n\r\n function seeScroll (event) {\r\n document.addEventListener('scroll', function() {\r\n event = event || window.event;\r\n // let top = pictureBox.getBoundingClientRect().top\r\n // console.log(top);\r\n });\r\n }\r\n seeScroll ();\r\n // function getPosition(e){\r\n // let y = 0;\r\n \r\n // if (!e) {\r\n // var e = window.event;\r\n // }\r\n \r\n // if (e.pageY){\r\n // y = e.pageY;\r\n // } else if (e.clientY){\r\n \r\n // y = e.clientY + document.body.scrollTop + document.documentElement.scrollTop;\r\n // }\r\n // console.log(y);\r\n // return {y: y}\r\n // }\r\n // getPosition();\r\n \r\n function coolPicture() {\r\n let rotate = 90\r\n listItems.forEach((item, i) => {\r\n item.addEventListener('mouseenter', function (event) {\r\n const target = event.target;\r\n rotate +=90;\r\n if (target && target.classList.contains(\"services__item\")) {\r\n item[i];\r\n picture[i];\r\n gsap.to(picture, {opacity: 0})\r\n gsap.to(picture[i], {opacity: 1})\r\n // picture.setAttribute(\"src\", pictureName[i]);\r\n gsap.fromTo(pictureBox, { scale: 0.9 }, { rotate: rotate, scale: 1 });\r\n gsap.to(pictureContainer, { rotate: -rotate, duration: 0.5, ease: \"power1.out\" });\r\n return i;\r\n }\r\n });\r\n });\r\n }\r\n \r\n\tcoolPicture();\r\n}\r\n\r\nmodule.exports = servicesPicture;","'use strict';\r\nimport slider2 from './modules/slider-2';\r\nimport tabs from './modules/tabs';\r\nimport servicesPicture from './modules/services-picture';\r\nimport sendForm from \"./modules/send-form\";\r\nwindow.addEventListener('DOMContentLoaded', () => {\r\n slider2();\r\n tabs();\r\n servicesPicture();\r\n sendForm();\r\n //setTimeout(tlShowHeader.reverse(), 5000)\r\n \r\n // gsap.set(\"body\", { overflow: \"hidden\" })\r\n\r\n let mm = gsap.matchMedia();\r\n mm.add({\r\n isMobile: \"(max-width: 500px)\",\r\n isDesktop: \"(min-width: 501px)\"\r\n }, (context) => {\r\n let { isMobile, isDesktop } = context.conditions;\r\n\r\n gsap.utils.toArray(\".services__item\").forEach((target, i) => {\r\n gsap.from(target, {\r\n scrollTrigger: {\r\n trigger: target,\r\n start: \"top bottom\",\r\n toggleActions: \"play none none reverse\"\r\n },\r\n opacity: 0,\r\n y: 50,\r\n width: isMobile ? \"100%\" : \"50%\",\r\n })\r\n });\r\n })\r\n \r\n const tlShowPage = gsap.timeline({\r\n defaults: { // children inherit these defaults\r\n duration: 2,\r\n ease: \"power4.out\"\r\n },\r\n onComplete: () => {\r\n // gsap.set(\"body\", { overflow: \"auto\"})\r\n // ScrollTrigger.refresh();\r\n },\r\n });\r\n \r\n \r\n tlShowPage.from(\".promo__right-box\", { x: \"50%\", opacity: 0 }, \"<\")\r\n .from(\".promo__left-box\", { x: \"-50%\", opacity: 0 }, \"<\")\r\n .from(\".promo__title svg\", { y: -200, opacity: 0 }, \"<\");\r\n \r\n \r\n const tlPromoImg = gsap.timeline({\r\n scrollTrigger: {\r\n trigger: \".header\",\r\n start: \"top top\",\r\n endTrigger: \".promo\",\r\n end: \"bottom top\",\r\n scrub: 2,\r\n },\r\n });\r\n \r\n tlPromoImg.to(\".promo__img-box img\", { scale: 1.2 })\r\n .to(\".promo__left-box img\", { scale: 1.2 }, \"<\");\r\n \r\n const tlPromoTop = gsap.timeline({\r\n scrollTrigger: {\r\n trigger: \".promo__top\",\r\n start: \"20% top\",\r\n scrub: 2,\r\n // pin: true,\r\n pinSpacing: false,\r\n },\r\n });\r\n \r\n \r\n tlPromoTop.fromTo(\".promo__right-box\", {x: \"0\", opacity: 1}, { x: \"50%\", opacity: 0 })\r\n .fromTo(\".promo__left-box\", { x: \"0\", opacity: 1 }, { x: \"-50%\", opacity: 0 }, \"<\")\r\n .fromTo(\".promo__title svg\", { y: 0}, { y: -200 }, \"<\")\r\n \r\n // gsap.from(\".promo__small-text span\", {\r\n // scrollTrigger: {\r\n // trigger: \".promo__small-text\",\r\n // start: \"center bottom\",\r\n \r\n // },\r\n // ease: \"power4.out\",\r\n // duration: 1,\r\n // y: 30,\r\n // opacity: 0,\r\n // stagger: 0.1\r\n // })\r\n \r\n \r\n \r\n gsap.effects.showText(\".promo__small-text span\", \".promo__small-text\");\r\n gsap.effects.showText(\".promo__big-text span\", \".promo__big-text\");\r\n gsap.effects.showText(\".public__text span\", \".public__text\");\r\n \r\n \r\n const tlPromoList = gsap.timeline({\r\n scrollTrigger: {\r\n trigger: \".promo__list\",\r\n start: \"top bottom\",\r\n toggleActions: \"play none none reverse\",\r\n // end: \"center center\",\r\n // scrub: 1\r\n },\r\n \r\n defaults: {\r\n duration: 1,\r\n // ease: \"power4.out\",\r\n }\r\n })\r\n \r\n tlPromoList.from(\".promo__list\", { x: \"20%\", opacity: 0 })\r\n .from(\".promo__item\", { y: 100, opacity: 0, stagger: 0.2})\r\n .from(\".promo__item dt span\", { textContent: 0,\r\n duration: 3,\r\n ease: \"power4.out\",\r\n snap: { textContent: 1 },\r\n stagger: 0.3 }, \"<\" )\r\n .from(\".promo__images-box\", { y: 150, x: 150, opacity: 0, stagger: 0.2}, \"<3Ñ0%\")\r\n \r\n gsap.from(\".promo__item dt\", {\r\n scrollTrigger: {\r\n trigger: \".projects__list\",\r\n start: \"50px bottom\",\r\n toggleActions: \"play none none reverse\",\r\n },\r\n \r\n // onUpdate: textContent.replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\"),\r\n });\r\n \r\n gsap.from(\".promo__images-box img\", {\r\n scrollTrigger: {\r\n trigger: \".promo__images\",\r\n start: \"top center\",\r\n scrub: 2,\r\n },\r\n scale: 1.1,\r\n })\r\n \r\n \r\n \r\n gsap.from(\".projects__tab\", {\r\n scrollTrigger: {\r\n trigger: '.projects__tabs',\r\n start: \"bottom bottom\",\r\n toggleActions: \"play none none reverse\",\r\n },\r\n opacity: 0,\r\n x: 50,\r\n stagger: 0.1,\r\n });\r\n \r\n const tlNote = gsap.timeline({\r\n scrollTrigger: {\r\n trigger: \".projects__note\",\r\n start: \"top bottom\",\r\n end: \"center center\",\r\n scrub: 1\r\n },\r\n })\r\n tlNote.from(\".projects__note span:nth-child(2)\", { y: \"-100%\", x: \"85%\" })\r\n .from(\".projects__note span:nth-child(3)\", { y: \"-200%\", x: \"220%\" }, \"<\")\r\n .fromTo(\".projects__note\", { opacity: 0 }, {opacity: 1, scale: 1.3}, \"<\")\r\n\r\n \r\n \r\n gsap.from(\".public__item\", {\r\n scrollTrigger: {\r\n trigger: \".public__list\",\r\n start: \"top bottom\",\r\n toggleActions: \"play none none reverse\",\r\n },\r\n duration: 2,\r\n ease: \"power4.out\",\r\n x: 150,\r\n opacity: 0,\r\n stagger: 0.2\r\n })\r\n \r\n gsap.from(\".projects__list.show .projects__item\", {\r\n scrollTrigger: {\r\n trigger: \".projects__list\",\r\n start: \"50px bottom\",\r\n toggleActions: \"play none none reverse\",\r\n },\r\n duration: 2,\r\n ease: \"power4.out\",\r\n x: 200,\r\n y: 200,\r\n stagger: 0.2,\r\n });\r\n \r\n gsap.from(\".column\", {\r\n scrollTrigger: {\r\n trigger: \".row\",\r\n start: \"top bottom\",\r\n toggleActions: \"play none none reverse\",\r\n },\r\n duration: 1.5,\r\n ease: \"power4.out\",\r\n opacity: 0,\r\n x: 250,\r\n stagger: 0.1\r\n })\r\n \r\n gsap.from(\".feedback__input\", {\r\n scrollTrigger: {\r\n trigger: \".feedback__form\",\r\n start: \"100 bottom\",\r\n toggleActions: \"play none none reverse\",\r\n },\r\n duration: 4,\r\n ease: \"power4.out\",\r\n opacity: 0,\r\n width: 200,\r\n stagger: 0.2\r\n })\r\n \r\n const tlFeedback = gsap.timeline({\r\n scrollTrigger: {\r\n trigger: \".feedback__bottom\",\r\n start: \"bottom bottom\",\r\n toggleActions: \"play none none reverse\",\r\n },\r\n defaults: {\r\n duration: 1,\r\n }\r\n })\r\n \r\n tlFeedback.from(\".feedback__agree\", { y: 50, opacity: 0 })\r\n .from(\".feedback__btn\", { y: 50, opacity: 0}, \"<50%\")\r\n \r\n \r\n // let targets = gsap.utils.toArray(\".promo__item dt\"); \r\n // gsap.from(targets, {\r\n // scrollTrigger: {\r\n // trigger: \".promo__list\",\r\n // start: \"top center\",\r\n // scrub: 1,\r\n // markers: true,\r\n // },\r\n // y: \"random(-200, 0)\"\r\n // })\r\n});"],"sourceRoot":""}