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||{},f="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function c(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(f&&"string"==typeof e)return f(e);var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}a.resolve=function(o){var t=n[e][1][o];return null!=t?t:o},a.cache={};var d=l[e]=new c.Module(e);n[e][0].call(d.exports,a,d,d.exports,this)}return l[e].exports;function a(e){var n=a.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=l,c.parent=u,c.register=function(e,o){n[e]=[function(e,n){n.exports=o},{}]},Object.defineProperty(c,"root",{get:function(){return s[r]}}),s[r]=c;for(var d=0;d<o.length;d++)c(o[d]);if(t){var a=c(t);"object"==typeof exports&&"undefined"!=typeof module?module.exports=a:"function"==typeof e&&e.amd?e(function(){return a}):i&&(this[i]=a)}}({"7kph8":[function(e,n,o){e("@parcel/transformer-js/src/esmodule-helpers.js").defineInteropFlag(o),window.addEventListener("message",async e=>{let n=e.data;console.log("addEventListener",n),console.log("event.origin",e.origin),n?.type!=="response"&&n?.action&&t(n,e)});let t=(e,n)=>{console.log("dispatchSendMessage",e),e.action,chrome.runtime.sendMessage(e).then(o=>{console.log("dispatchSendMessage response",o),n.source.postMessage(r(e,o))})},r=(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;