const e=async({url:e,requestDomain:t})=>{let n=await fetch(e),r=n.headers.get(`content-security-policy`);if(r){let e=r.match(/frame-ancestors\s+([\s\S]+?)(?=;|$)/i);if(e&&(e[1]===`*`||e[1].split(/\s+/).includes(t)))return!0}let i=n.headers.get(`X-Frame-Options`);return!(i===`DENY`||i===`SAMEORIGIN`)};export{e as t};
//# sourceMappingURL=is-iframeable-Ck9l_B5X.mjs.map