{"version":3,"file":"elements-impact-centers.js","mappings":"yJAEAA,SAASC,iBAAiB,0BAA0BC,SAASC,KAC3DC,EAAAA,EAAAA,GACED,GACA,MACEE,EAAAA,EAAAA,GAAS,CACP,CACEF,EAAGG,cAAc,8BACjB,CACEC,QAAS,EACTC,UAAW,wBAEb,CACEC,SAAU,KAGd,CACEN,EAAGF,iBAAiB,0BACpB,CACES,iBAAkB,GAEpB,CACED,SAAU,IACVE,GAAI,UAGR,GAEJ,CACEC,OAAQ,oBAEX,G","sources":["webpack://silverstripe-base/./themes/app/src/elements/impact-centers.js"],"sourcesContent":["import { inView, timeline } from \"motion\";\n\ndocument.querySelectorAll(\".element-impactcenters\").forEach((el) => {\n inView(\n el,\n () => {\n timeline([\n [\n el.querySelector(\".panel-header h2 span span\"),\n {\n opacity: 1,\n transform: \"translate3d(0, 0, 0)\",\n },\n {\n duration: 0.6,\n },\n ],\n [\n el.querySelectorAll(\".panel-header svg path\"),\n {\n strokeDashoffset: 0,\n },\n {\n duration: 1.5,\n at: \"-25%\",\n },\n ],\n ]);\n },\n {\n margin: \"0px 0px -25% 0px\",\n },\n );\n});\n"],"names":["document","querySelectorAll","forEach","el","inView","timeline","querySelector","opacity","transform","duration","strokeDashoffset","at","margin"],"sourceRoot":""}