{"version":3,"file":"InterruptWAAPI.DpXd9Iyu.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/wuPnr4hWSCQP0lwNevHr/KAY2Ikd9tlmCv1ipBacX/InterruptWAAPI.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{Ball,ExampleContainer,PlayButton}from\"https://framerusercontent.com/modules/JC49mPDn5n3Z04YAGOCK/UBQNq1F3KuEMTdYcl6Nr/WaapiImprovements.js\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function InterruptWAAPI(){const ref=useRef(null);useEffect(()=>{ref.current.animate({transform:[\"none\",\"translateX(300px)\"]},{duration:2e3,iterations:Infinity,direction:\"alternate\"});},[]);const play=()=>{ref.current.animate({transform:\"none\"},{duration:500});};return /*#__PURE__*/_jsxs(ExampleContainer,{style:{justifyContent:\"flex-start\",height:300,overflow:\"hidden\"},children:[/*#__PURE__*/_jsx(PlayButton,{onClick:play,children:\"Interrupt\"}),/*#__PURE__*/_jsx(Ball,{ref:ref})]});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"InterruptWAAPI\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"0MAMG,SAAwB,GAAgB,CAAC,IAAM,EAAIA,EAAO,KAAK,CAAsN,OAArN,MAAc,CAAC,EAAI,QAAQ,QAAQ,CAAC,UAAU,CAAC,OAAO,oBAAoB,CAAC,CAAC,CAAC,SAAS,IAAI,WAAW,IAAS,UAAU,YAAY,CAAC,EAAG,EAAE,CAAC,CAA8F,EAAM,EAAiB,CAAC,MAAM,CAAC,eAAe,aAAa,OAAO,IAAI,SAAS,SAAS,CAAC,SAAS,CAAc,EAAK,EAAW,CAAC,YAA/M,CAAC,EAAI,QAAQ,QAAQ,CAAC,UAAU,OAAO,CAAC,CAAC,SAAS,IAAI,CAAC,EAAqK,SAAS,YAAY,CAAC,CAAc,EAAK,EAAK,CAAK,MAAI,CAAC,CAAC,CAAC,CAAC,kBAN5b,IAAoC,IAAmJ,CAOnO,EAAqB,CAAC,QAAU,CAAC,QAAU,CAAC,KAAO,iBAAiB,KAAO,iBAAiB,MAAQ,EAAE,CAAC,YAAc,CAAC,2BAA6B,OAAO,4BAA8B,OAAO,sBAAwB,IAAI,CAAC,CAAC,mBAAqB,CAAC,KAAO,WAAW,CAAC,CAAA"}