(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:()=>i,bw:()=>o,cX:()=>u});var e=__webpack_require__(688326);var t=__webpack_require__(404283);__webpack_require__(619489);var s=__webpack_require__(269405);let u=(e,u)=>{return e&&!(0,t.mU)(e,u??e)?s.fP.SINGLE:(0,s.fP.CROSSCHAIN)};let o=({aggregator:e,protocols:t,bridges:s,bridgeId:u})=>`${e??u}_${t?.[0]??s?.[0]}`;let i=(t,s=[],u=!0,i,n,a)=>{let r=t?o(t.quote):"_";return{can_submit:u,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:n??0,best_quote_provider:i?o(i.quote):r,provider:r,token_symbol_source:t?.quote.src.asset.symbol??"",token_symbol_destination:t?.quote.dest.asset.symbol??null,warnings:s,price_impact:Number(t?.quote.priceData?.priceImpact?.amount??0),...a!==undefined&&{has_sufficient_gas_for_quote:a},feature_id:t?.featureId??e.mQ.UNIFIED_SWAP_BRIDGE}}}}).call(__webpack_require__._LM_("@metamask/bridge-controller",{__webpack_require__,__webpack_exports__}))()}}]);