"use strict";typeof globalThis.structuredClone!="function"&&(globalThis.structuredClone=function(e){if(e==null)return e;try{return typeof e=="object"?JSON.parse(JSON.stringify(e)):e}catch(t){return console.warn("structuredClone polyfill failed:",t),Array.isArray(e)?[...e]:{...e}}});if(typeof globalThis.ResizeObserver>"u"){class r{observe(){}unobserve(){}disconnect(){}}globalThis.ResizeObserver=r}if(typeof globalThis.IntersectionObserver>"u"){class r{root=null;rootMargin="";thresholds=[];disconnect(){}observe(){}takeRecords(){return[]}unobserve(){}}globalThis.IntersectionObserver=r}typeof Element<"u"&&(Element.prototype.scrollTo=Element.prototype.scrollTo||(()=>{}),Element.prototype.scrollIntoView=Element.prototype.scrollIntoView||(()=>{}));typeof window<"u"&&!window.requestAnimationFrame&&(window.requestAnimationFrame=r=>setTimeout(()=>r(Date.now()),1e3/60));
//# sourceMappingURL=setup-jsdom-polyfills.cjs.map
