try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="974ffcd3-62ac-4101-a916-4a8017c564c6",e._sentryDebugIdIdentifier="sentry-dbid-974ffcd3-62ac-4101-a916-4a8017c564c6")}catch(e){}("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"c0350839ef3136eeae1b60b8bb4a23f67fa6a369"};!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var o=t();for(var n in o)("object"==typeof exports?exports:e)[n]=o[n]}}(globalThis,(function(){return window.addEventListener("message",(e=>{if(e.data.vidiqEvent&&"getVideoStill"===e.data.vidiqEvent)try{const t=function(){document.getElementsByClassName("video-stream")[0].setAttribute("crossorigin","anonymous");const e=document.getElementsByClassName("html5-main-video")[0],t=document.createElement("canvas");t.width=1280,t.height=720;const o=t.getContext("2d");return o?(o.fillRect(0,0,1280,720),o.drawImage(e,0,0,t.width,t.height),t.toDataURL()):""}();if(e.data.vidiqEvent="postVideoStill",e.data.image=t,!e.source)return;e.source.postMessage(e.data,e.origin)}catch(e){console.log("(vidiq) Error in getVideoStill",e)}}),!1),{}}));
//# sourceMappingURL=getIframeVideoStill.bundle.js.map