LavaPack.loadBundle([[9998,{"@metamask/utils":4298},function(){with(this.scopeTerminator)with(this.globalThis)return function(){"use strict";return function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0}),n.collectTransactionTokenScanKeys=i,n.filterMaliciousTransactions=function(e,t){return e.filter(e=>!function(e,t){return i(e).some(e=>t.has(e))}(e,t))},n.generateTokenCacheKey=o;var s=e("@metamask/utils");function o(e,t){return`${e.toLowerCase()}:${t.toLowerCase()}`}function a(e,t){for(const n of e){const e=n?.asset;if(!e||!("fungible"in e)||!e.fungible)continue;if(!(0,s.isCaipAssetType)(e.type))continue;const a=(0,s.parseCaipAssetType)(e.type);"token"===a.assetNamespace&&t.add(o(`${a.chain.namespace}:${a.chain.reference}`,a.assetReference))}}function i(e){const t=new Set;a(e.from??[],t),a(e.to??[],t);for(const n of e.fees??[])a([n],t);return[...t]}}}},{package:"$root$",file:"ui/helpers/utils/token-scan.ts"}]],[],{});