{"version":3,"file":"sequence-section/index.js","mappings":";;;;;;;;;;;AAAA;;;;;;;UCAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;;;;WCtBA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D;;;;;;;;;;;;ACNsB;AAEtBA,MAAM,CAACC,gBAAgB,CAAC,MAAM,EAAE,YAAU;EACxC,IAAG,OAAOC,IAAK,KAAK,WAAW,EAAE;EACjCA,IAAI,CAACC,KAAK,CAACC,OAAO,CAAC,4BAA4B,CAAC,CAACC,OAAO,CAAC,CAACC,OAAO,EAAEC,CAAC,KAAK;IACvE,MAAMC,KAAK,GAAGF,OAAO,CAACG,aAAa,CAAC,cAAc,CAAC;IACnDP,IAAI,CAACQ,QAAQ,CAAC;MACZC,aAAa,EAAE;QACbC,OAAO,EAAEN,OAAO;QAChBO,KAAK,EAAE,IAAI;QACXC,mBAAmB,EAAE;MACvB;IAAC,CAAC,CAAC,CACFC,MAAM,CAACP,KAAK,EAAE;MACfQ,CAAC,EAAE;IACL,CAAC,EAAE;MACDA,CAAC,EAAE,CAAC;MACJC,IAAI,EAAE;IACR,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC,C","sources":["webpack://wp-scripts-starter-theme/./blocks/sequence-section/index.scss?5981","webpack://wp-scripts-starter-theme/webpack/bootstrap","webpack://wp-scripts-starter-theme/webpack/runtime/make namespace object","webpack://wp-scripts-starter-theme/./blocks/sequence-section/index.js"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import './index.scss';\n\nwindow.addEventListener('load', function(){\n if(typeof(gsap) === 'undefined') return;\n gsap.utils.toArray(\".pd-block-sequence-section\").forEach((section, i) => {\n const image = section.querySelector('.sequence-bg')\n gsap.timeline({ \n scrollTrigger: {\n trigger: section,\n scrub: true,\n invalidateOnRefresh: true\n }})\n .fromTo(image, { \n x: \"80px\" \n }, {\n x: 0,\n ease: \"none\"\n });\n });\n})"],"names":["window","addEventListener","gsap","utils","toArray","forEach","section","i","image","querySelector","timeline","scrollTrigger","trigger","scrub","invalidateOnRefresh","fromTo","x","ease"],"sourceRoot":""}