{"version":3,"file":"/etc.clientlibs/corp-aem-sherwin/components/infographic/clientlibs/site-infographic/site-infographic.fad628c8d656d32d9094.js","mappings":"8GAAA,MAcMA,EAAUC,SAASC,iBAAiB,4BAEpCC,EAAW,IAAIC,qBAVJ,CAACC,EAASF,KACzBE,EAAQC,QAASC,IACXA,EAAMC,gBACRD,EAAME,OAAOC,UAAUC,IAAI,cATjB,CACdC,KAAM,KACNC,WAAY,MACZC,UAAW,KAebd,EAAQM,QAASS,IACfZ,EAASa,QAAQD,I","sources":["webpack://aem-maven-archetype/../ui.apps/src/main/content/jcr_root/apps/corp-aem-sherwin/components/infographic/infographic.site.ts"],"sourcesContent":["const options = {\n  root: null,\n  rootMargin: '0px',\n  threshold: 0.7,\n};\n\nconst callback = (entries, observer) => {\n  entries.forEach((entry: IntersectionObserverEntry) => {\n    if (entry.isIntersecting) {\n      entry.target.classList.add('visible');\n    }\n  });\n};\n\nconst teasers = document.querySelectorAll('.cmp-infographic .teaser');\n\nconst observer = new IntersectionObserver(callback, options);\n\nteasers.forEach((el) => {\n  observer.observe(el);\n});\n"],"names":["teasers","document","querySelectorAll","observer","IntersectionObserver","entries","forEach","entry","isIntersecting","target","classList","add","root","rootMargin","threshold","el","observe"],"sourceRoot":""}