PageSourceSearch

https://sideshift.ai/_next/static/chunks/pages/shift/[from]/[to]-a516f5b484687c9a.js

js sideshift.ai collected 2026-09-24 09:02:05 UTC 2,897 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="eef7318a-552a-4bc0-bfea-f7b718075b34",e._sentryDebugIdIdentifier="sentry-dbid-eef7318a-552a-4bc0-bfea-f7b718075b34")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1295],{2789:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/shift/[from]/[to]",function(){return i(14657)}])},14657:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>b,default:()=>_});var n=i(76908),a=i(49819),s=i(7687),r=i(64344),d=i(29288),l=i(23864),o=i(26477),u=i(68970),c=i(98143),f=i(18393),h=i(56869),y=i(57849),p=i(62012),v=i(33500),b=!0;let _=e=>{var t,i;let{initialDepositMethod:b,initialSettleMethod:_}=e,x=(0,u.a)(),{accountSecret:m}=(0,o.j)(),{isUsDomain:w}=(0,f.Y)(),{query:P}=(0,d.useRouter)(),{data:g}=(0,a.IT)(y.qh,{variables:{id:P.from},skip:!P.from,fetchPolicy:"cache-first"}),{data:I}=(0,a.IT)(y.Lp,{variables:{id:P.to},skip:!P.to,fetchPolicy:"cache-first"}),k=null!=(t=null==g?void 0:g.depositMethod)?t:P.from===(null==b?void 0:b.id)?b:null,E=null!=(i=null==I?void 0:I.settleMethod)?i:P.to===(null==_?void 0:_.id)?_:null,N=(0,c.Zi)(k,E);return x&&w&&((null==b?void 0:b.id)===s.$7.xai||(null==_?void 0:_.id)===s.$7.xai||(0,r.O)(b)||(0,r.O)(_)||(null==b?void 0:b.id)===s.$7.svxai||(null==_?void 0:_.id)===s.$7.svxai)?(window.location.href=p.Cp.BASE,null):(0,n.jsxs)("div",{className:"px-4 md:px-6","data-sentry-component":"ShiftPairPage","data-sentry-source-file":"index.page.tsx",children:[(0,n.jsx)(h.b,{title:N.title,description:N.description,hideFromSearchResults:!0,"data-sentry-element":"WebsiteMeta","data-sentry-source-file":"index.page.tsx"}),(0,n.jsx)(v.iv,{"data-sentry-element":"ShiftApp","data-sentry-source-file":"index.page.tsx"}),m&&(0,n.jsx)(l.e,{shouldUseSearchParams:!1})]})}},21362:(e,t,i)=>{"use strict";i.d(t,{X:()=>f});var n=i(91197),a=i(53565),s=i(89460),r=i(84104);async function d(e,t={}){let{chainId:i,formatUnits:l="gwei",...o}=t,u=e.getClient({chainId:i}),c=(0,s.T)(u,a._,"estimateFeesPerGas"),{gasPrice:f,maxFeePerGas:h,maxPriorityFeePerGas:y}=await c({...o,chain:u.chain}),p=(0,r.l)(l);return{formatted:{gasPrice:f?(0,n.J)(f,p):void 0,maxFeePerGas:h?(0,n.J)(h,p):void 0,maxPriorityFeePerGas:y?(0,n.J)(y,p):void 0},gasPrice:f,maxFeePerGas:h,maxPriorityFeePerGas:y}}var l=i(68442),o=i(88997),u=i(32875),c=i(65331);function f(e={}){let{query:t={}}=e,i=(0,c.U)(e),n=(0,u.i)({config:i}),a=function(e,t={}){return{async queryFn({queryKey:t}){let{scopeKey:i,...n}=t[1];return d(e,n)},queryKey:function(e={}){return["estimateFeesPerGas",(0,l.xO)(e)]}(t)}}(i,{...e,chainId:e.chainId??n});return(0,o.IT)({...t,...a})}}},e=>{e.O(0,[9410,2145,9079,2931,766,8581,1444,6869,5187,5620,8625,3466,3500,5964,3864,636,6593,8792],()=>e(e.s=2789)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.