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