{"version":3,"file":"libs_init.c95a1166.js","mappings":"iGAGA,MAAMA,UAA2BC,eAC/BC,WAAAA,CAAYC,GACVC,OAAM,CAACC,EAASC,KACdC,uBAAsB,KAChBC,MAAMC,QAAQJ,IAAYA,EAAQK,OAAS,GAC7CP,EAASE,EAASC,EACpB,GACA,GAEN,EAGFK,OAAOV,eAAiBD,C","sources":["webpack://@finviz/website/./js/app/shared/ResizeObserverWithRequestAnimationFrame.ts"],"sourcesContent":["// There were failing cypress tests on (uncaught exception) Error: ResizeObserver loop completed with undelivered notifications.\r\n// The solution is inspired by https://github.com/cypress-io/cypress/issues/22113#issuecomment-1548030835\r\n// we're already using the approach on other places but the issue may occure in 3rd party libs and this should fix it\r\nclass CalmResizeObserver extends ResizeObserver {\r\n constructor(callback: ResizeObserverCallback) {\r\n super((entries, observer) => {\r\n requestAnimationFrame(() => {\r\n if (Array.isArray(entries) && entries.length > 0) {\r\n callback(entries, observer)\r\n }\r\n })\r\n })\r\n }\r\n}\r\n\r\nwindow.ResizeObserver = CalmResizeObserver\r\n"],"names":["CalmResizeObserver","ResizeObserver","constructor","callback","super","entries","observer","requestAnimationFrame","Array","isArray","length","window"],"sourceRoot":""}