var e,n;"function"==typeof(e=globalThis.define)&&(n=e,e=null),function(n,o,t,r,i){var s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},u="function"==typeof s[r]&&s[r],l=u.cache||{},c="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function f(e,o){if(!l[e]){if(!n[e]){var t="function"==typeof s[r]&&s[r];if(!o&&t)return t(e,!0);if(u)return u(e,!0);if(c&&"string"==typeof e)return c(e);var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}d.resolve=function(o){var t=n[e][1][o];return null!=t?t:o},d.cache={};var a=l[e]=new f.Module(e);n[e][0].call(a.exports,d,a,a.exports,this)}return l[e].exports;function d(e){var n=d.resolve(e);return!1===n?{}:f(n)}}f.isParcelRequire=!0,f.Module=function(e){this.id=e,this.bundle=f,this.exports={}},f.modules=n,f.cache=l,f.parent=u,f.register=function(e,o){n[e]=[function(e,n){n.exports=o},{}]},Object.defineProperty(f,"root",{get:function(){return s[r]}}),s[r]=f;for(var a=0;a<o.length;a++)f(o[a]);if(t){var d=f(t);"object"==typeof exports&&"undefined"!=typeof module?module.exports=d:"function"==typeof e&&e.amd?e(function(){return d}):i&&(this[i]=d)}}({"7kph8":[function(e,n,o){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(o),window.addEventListener("message",async e=>{let n=e.data;if(console.log("addEventListener",n),console.log("event.origin",e.origin),n?.type!=="response"&&n?.action){if(!t(e.origin)){console.warn("Untrusted origin:",e.origin);return}r(n,e)}});let t=e=>{if(!e)return!1;try{let n=new URL(e);return n.hostname.endsWith(".exmay.com")}catch{return!1}},r=(e,n)=>{console.log("dispatchSendMessage",e),e.action,chrome.runtime.sendMessage(e).then(o=>{console.log("dispatchSendMessage response",o),n.source.postMessage(i(e,o))})},i=(e,n)=>({type:"response",traceId:e.traceId,action:e.action,code:0,message:"success",data:n})},{"@parcel/transformer-js/src/esmodule-helpers.js":"cHUbl"}],cHUbl:[function(e,n,o){o.interopDefault=function(e){return e&&e.__esModule?e:{default:e}},o.defineInteropFlag=function(e){Object.defineProperty(e,"__esModule",{value:!0})},o.exportAll=function(e,n){return Object.keys(e).forEach(function(o){"default"===o||"__esModule"===o||n.hasOwnProperty(o)||Object.defineProperty(n,o,{enumerable:!0,get:function(){return e[o]}})}),n},o.export=function(e,n,o){Object.defineProperty(e,n,{enumerable:!0,get:o})}},{}]},["7kph8"],"7kph8","parcelRequire10c8"),globalThis.define=n;