{"version":3,"file":"Examples.DBfqqCJQ.mjs","names":["__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/lFzxEjAnIGxYAjKrWxy6/BTRVMSkJQiGZUfds8X8i/Examples.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";function applyLabels(){const ranges=document.querySelectorAll('input[type=\"range\"]');ranges.forEach(el=>{if(!el.getAttribute(\"aria-label\")){el.setAttribute(\"aria-label\",\"Carousel control\");}});}export function FixRangeAccessibility(){useEffect(()=>{applyLabels();const id=window.setInterval(applyLabels,300);const obs=new MutationObserver(()=>applyLabels());obs.observe(document.documentElement,{childList:true,subtree:true});return()=>{window.clearInterval(id);obs.disconnect();};},[]);return{};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withFixRangeAccessibility(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...FixRangeAccessibility(props)});};}withFixRangeAccessibility.displayName=\"FixRangeAccessibility\";\nexport const __FramerMetadata__ = {\"exports\":{\"withFixRangeAccessibility\":{\"type\":\"reactHoc\",\"name\":\"withFixRangeAccessibility\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"FixRangeAccessibility\":{\"type\":\"override\",\"name\":\"FixRangeAccessibility\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Examples.map"],"mappings":"wLAAwE,SAAS,GAAa,CAAc,SAAS,iBAAiB,sBAAsB,CAAQ,QAAQ,GAAI,CAAK,EAAG,aAAa,aAAa,EAAE,EAAG,aAAa,aAAa,mBAAmB,EAAI,CAAE,SAAgB,GAAuB,CAA8P,OAA7P,MAAc,CAAC,GAAa,CAAC,IAAM,EAAG,EAAO,YAAY,EAAY,IAAI,CAAO,EAAI,IAAI,qBAAqB,GAAa,CAAC,CAAqE,OAApE,EAAI,QAAQ,SAAS,gBAAgB,CAAC,UAAU,GAAK,QAAQ,GAAK,CAAC,KAAW,CAAC,EAAO,cAAc,EAAG,CAAC,EAAI,YAAY,GAAK,EAAE,CAAC,CAAO,EAAE,CAAqJ,SAAgB,EAA0B,EAAE,CAAC,MAAO,KAAQ,EAA+BA,EAAwC,CAAQC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAsB,EAAM,CAAC,CAAC,uBAA91B,IAA6B,IAAooB,CAAiM,EAA0B,YAAY"}