var e,n;"function"==typeof(e=globalThis.define)&&(n=e,e=null),function(n,o,r,t,i){var u="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},l="function"==typeof u[t]&&u[t],f=l.cache||{},d="undefined"!=typeof module&&"function"==typeof module.require&&module.require.bind(module);function a(e,o){if(!f[e]){if(!n[e]){var r="function"==typeof u[t]&&u[t];if(!o&&r)return r(e,!0);if(l)return l(e,!0);if(d&&"string"==typeof e)return d(e);var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}s.resolve=function(o){var r=n[e][1][o];return null!=r?r:o},s.cache={};var c=f[e]=new a.Module(e);n[e][0].call(c.exports,s,c,c.exports,this)}return f[e].exports;function s(e){var n=s.resolve(e);return!1===n?{}:a(n)}}a.isParcelRequire=!0,a.Module=function(e){this.id=e,this.bundle=a,this.exports={}},a.modules=n,a.cache=f,a.parent=l,a.register=function(e,o){n[e]=[function(e,n){n.exports=o},{}]},Object.defineProperty(a,"root",{get:function(){return u[t]}}),u[t]=a;for(var c=0;c<o.length;c++)a(o[c]);if(r){var s=a(r);"object"==typeof exports&&"undefined"!=typeof module?module.exports=s:"function"==typeof e&&e.amd?e(function(){return s}):i&&(this[i]=s)}}({frrV4:[function(e,n,o){e("../../../background")},{"../../../background":"9GgEw"}],"9GgEw":[function(e,n,o){console.log("Background Service Worker is running!");let r=chrome.runtime.getManifest(),t=r?.version_name;function i(){chrome.storage?.local?.get(["employee_id"],e=>{if(e.employee_id){let n=function(){let e=navigator.userAgent.toLowerCase();return e.includes("firefox")?"firefox":e.includes("edg")?"edge":e.includes("chrome")?"chrome":e.includes("safari")?"safari":"unknown"}(),o=`https://api.birdsaireporting.com/api/v1/company/employee/extension?employee_id=${e.employee_id}&extension=${n}`;chrome.runtime.setUninstallURL(o)}})}chrome.runtime.onInstalled.addListener(e=>{"install"===e.reason&&chrome.storage.local.set({company_id:t})}),chrome.runtime.onInstalled.addListener(()=>{i()}),chrome.runtime.onStartup.addListener(()=>{i()})},{}]},["frrV4"],"frrV4","parcelRequire466e"),globalThis.define=n;