(globalThis.webpackChunk=globalThis.webpackChunk||[]).push([[2317],{182317(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){(function(){if(!this.ST)return()=>{};with(this.ST)with(this.RH)with(this.G)return function(){"use strict";__webpack_require__.d(__webpack_exports__,{M9:()=>n,bw:()=>o,cX:()=>s});var e=__webpack_require__(688326);var t=__webpack_require__(404283);__webpack_require__(619489);var u=__webpack_require__(269405);let s=(e,s)=>{return e&&!(0,t.mU)(e,s??e)?u.fP.SINGLE:(0,u.fP.CROSSCHAIN)};let o=({aggregator:e,protocols:t,bridges:u,bridgeId:s})=>`${e??s}_${t?.[0]??u?.[0]}`;let n=(t,u=[],s=!0,n,a,i)=>{let r=t?o(t.quote):"_";return{can_submit:s,gas_included:Boolean(t?.quote?.gasIncluded),gas_included_7702:Boolean(t?.quote?.gasIncluded7702),quoted_time_minutes:t?.estimatedProcessingTimeInSeconds?t.estimatedProcessingTimeInSeconds/60:0,usd_quoted_gas:Number(t?.quote?.feeData?.network?.[0]?.usd??0),usd_quoted_return:Number(t?.quote?.dest?.usd??0),usd_balance_source:a??0,usd_amount_source:Number(t?.quote?.src?.usd??0),best_quote_provider:n?o(n.quote):r,provider:r,token_symbol_source:t?.quote.src.asset.symbol??"",token_symbol_destination:t?.quote.dest.asset.symbol??null,warnings:u,price_impact:Number(t?.quote.priceData?.priceImpact?.amount??0),...i!==undefined&&{has_sufficient_gas_for_quote:i},feature_id:t?.featureId??e.mQ.UNIFIED_SWAP_BRIDGE}}}}).call(__webpack_require__._LM_("@metamask/bridge-controller",{__webpack_require__,__webpack_exports__}))()}}]);