(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`98855b37a3d52795063fb5f65b16b203e1f309a7`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`367593d4-0505-488f-8485-c6981653bc4b`,e._sentryDebugIdIdentifier=`sentry-dbid-367593d4-0505-488f-8485-c6981653bc4b`)}catch{}})();import{c as e,f as t,o as n,r}from"./main-CNgG4xjc.js";function i(t,n){let r=[];return n.forEach(n=>{let i=[];n.uri.forEach(n=>{i.push(e(t,n))}),i.includes(!0)&&n.matchItem.forEach(e=>{r.push({collectionName:n.name,collectionId:n.id,strictPort:n.strictPort,...e})})}),r}function a(e){return new URL(n(e)).hostname}async function o(e){let n=new r(e).buildTargetURL();chrome.runtime?(chrome.runtime.sendMessage({action:t.UpdateTabURL,url:n}),window.close()):window.location.href=n}export{a as n,o as r,i as t};
//# sourceMappingURL=match-D-xqwulV.js.map