PageSourceSearch

https://dynamic-lebkuchen-0238db.netlify.app/static/js/6887.3ddf093a.chunk.js

js dynamic-lebkuchen-0238db.netlify.app collected 2026-10-03 10:43:06 UTC 14,139 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkico_react=self.webpackChunkico_react||[]).push([[6887],{359:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(15882),o=n(57722);const r=["title","titleId"];function a(e,t){let{title:n,titleId:a}=e,l=(0,i.A)(e,r);return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},l),n?o.createElement("title",{id:a},n):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))}const l=o.forwardRef(a)},2559:(e,t,n)=>{n.d(t,{u:()=>o});var i=n(32381);function o(e){let t=e.filter(e=>!i.o.has(e.id));return i.m.concat(t)}},48215:(e,t,n)=>{n.d(t,{H:()=>s,P:()=>u,S:()=>h,W:()=>m});var i=n(90034),o=n(52610),r=n(97811),a=n(62802),l=n(68054),c=n(94592),d=n(1991);const s=e=>{let{weiQuantities:t,tokenPrice:n,tokenSymbol:o}=e,r=(0,a.s)(t),l=n?(0,a.a)(r,n):void 0,c=(0,a.g)(r,o);return(0,i.jsx)(p,{children:l||c})},u=e=>{let{weiQuantities:t,tokenPrice:n,tokenSymbol:o}=e,r=(0,a.s)(t),l=n?(0,a.a)(r,n):void 0,c=(0,a.g)(r,o);return(0,i.jsx)(p,{children:l?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f,{children:"USD"}),"<$0.01"===l?(0,i.jsxs)(x,{children:[(0,i.jsx)(g,{children:"<"}),"$0.01"]}):l]}):c})},h=e=>{let{quantities:t,tokenPrice:n,tokenSymbol:o="SOL",tokenDecimals:a=9}=e,d=t.reduce((e,t)=>e+t,0n),s=n&&"SOL"===o&&9===a?(0,l.g)(d,n):void 0,u="SOL"===o&&9===a?(0,c.g)(d):"".concat((0,r.J)(d,a)," ").concat(o);return(0,i.jsx)(p,{children:s?(0,i.jsx)(i.Fragment,{children:"<$0.01"===s?(0,i.jsxs)(x,{children:[(0,i.jsx)(g,{children:"<"}),"$0.01"]}):s}):u})};let p=o.I4.span.withConfig({displayName:"StyledPriceDisplay",componentId:"sc-3cd56c8a-0"})(["font-size:14px;line-height:140%;display:flex;gap:4px;align-items:center;"]),f=o.I4.span.withConfig({displayName:"StyledPriceUnit",componentId:"sc-3cd56c8a-1"})(["font-size:12px;line-height:12px;color:var(--privy-color-foreground-3);"]),g=o.I4.span.withConfig({displayName:"TinyLessThan",componentId:"sc-3cd56c8a-2"})(["font-size:10px;"]),x=o.I4.span.withConfig({displayName:"FlexCenter",componentId:"sc-3cd56c8a-3"})(["display:flex;align-items:center;"]);function v(e,t){return"https://explorer.solana.com/account/".concat(e,"?chain=").concat(t)}const m=e=>(0,i.jsx)(y,{href:"ethereum"===e.chainType?(0,a.b)(e.chainId,e.walletAddress):v(e.walletAddress,e.chainId),target:"_blank",children:(0,d.D)(e.walletAddress)});let y=o.I4.a.withConfig({displayName:"StyledLink",componentId:"sc-dd6c0f9f-0"})(["&:hover{text-decoration:underline;}"])},62802:(e,t,n)=>{n.d(t,{a:()=>d,b:()=>p,c:()=>c,g:()=>s,p:()=>u,s:()=>h});var i=n(62016),o=n(51380),r=n(1991);let a=new Intl.NumberFormat(void 0,{style:"currency",currency:"USD",maximumFractionDigits:2}),l=e=>a.format(e);const c=(e,t)=>{let n=l(t*parseFloat(e));return"$0.00"!==n?n:"<$0.01"},d=(e,t)=>{let n=l(t*parseFloat((0,i.c)(e)));return"$0.00"===n?"<$0.01":n},s=function(e,t){return"".concat(u(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:6,arguments.length>3&&void 0!==arguments[3]&&arguments[3])," ").concat(t)},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=parseFloat((0,i.c)(e)).toFixed(t).replace(/0+$/,"").replace(/\.$/,"");return n?o:"".concat("0"===o?"<0.001":o)},h=e=>e.reduce((e,t)=>e+t,0n),p=(e,t)=>{let{chains:n}=(0,o.u)(),i="https://etherscan.io/address/".concat(t),a="".concat((0,r.a5)(e,n),"/address/").concat(t);if(!a)return i;try{new URL(a)}catch(l){return i}return a}},66290:(e,t,n)=>{n.d(t,{u:()=>c});var i=n(57722),o=n(2559),r=n(99844),a=n(51380),l=n(75059);function c(e){let{tokenPrice:t,isTokenPriceLoading:n,tokenPriceError:c}=(e=>{let{showFiatPrices:t,getUsdTokenPrice:n,chains:l}=(0,a.u)(),[c,d]=(0,i.useState)(!0),[s,u]=(0,i.useState)(void 0),[h,p]=(0,i.useState)(void 0);return(0,i.useEffect)(()=>{e||(e=r.s);let i=(0,o.u)(l).find(t=>
1t.id===Number(e));(async()=>{if(t){if(!i)return d(!1),void u(Error("Unable to fetch token price on chain id ".concat(e)));try{d(!0);let e=await n(i);e?p(e):u(Error("Unable to fetch token price on chain id ".concat(i.id)))}catch(i){u(i)}finally{d(!1)}}else d(!1)})()},[e]),{tokenPrice:h,isTokenPriceLoading:c,tokenPriceError:s}})("solana"===e?-1:e),{solPrice:d,isSolPriceLoading:s,solPriceError:u}=(0,l.u)({enabled:"solana"===e});return"solana"===e?{tokenPrice:d,isTokenPriceLoading:s,tokenPriceError:u}:{tokenPrice:t,isTokenPriceLoading:n,tokenPriceError:c}}},68054:(e,t,n)=>{n.d(t,{A:()=>l,D:()=>s,J:()=>d,L:()=>i,R:()=>c,S:()=>o,T:()=>r,a:()=>a,g:()=>u});const i=1e9,o="11111111111111111111111111111111",r="TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",a="TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb",l="ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL",c=["CPMMoo8L3F4NbTegBCKVNunggL7H1ZpdTHKxQB5qKP1C","CPMDWBwJDtYax9qW7AyRuVC19Cc4L4Vcy4n2BHAbHkCW"],d=["JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4"],s={"solana:mainnet":{EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v:{symbol:"USDC",decimals:6,address:"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"},Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB:{symbol:"USDT",decimals:6,address:"Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB"},So11111111111111111111111111111111111111112:{symbol:"SOL",decimals:9,address:"So11111111111111111111111111111111111111112"}},"solana:devnet":{"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU":{symbol:"USDC",decimals:6,address:"4zMMC9srt5Ri5X14GAgXhaHii3GnPAEERYPJgZJDncDU"},EJwZgeZrdC8TXTQbQBoL6bfuAnFUUy1PVCMB4DYPzVaS:{symbol:"USDT",decimals:6,address:"EJwZgeZrdC8TXTQbQBoL6bfuAnFUUy1PVCMB4DYPzVaS"},So11111111111111111111111111111111111111112:{symbol:"SOL",decimals:9,address:"So11111111111111111111111111111111111111112"}},"solana:testnet":{}};function u(e,t){let n=parseFloat(e.toString())/i,o=h.format(t*n);return"$0.00"===o?"<$0.01":o}let h=new Intl.NumberFormat(void 0,{style:"currency",currency:"USD",maximumFractionDigits:2})},75059:(e,t,n)=>{n.d(t,{u:()=>r});var i=n(57722),o=n(51380);const r=function(){let{enabled:e=!0}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{showFiatPrices:t,getUsdPriceForSol:n}=(0,o.u)(),[r,a]=(0,i.useState)(!0),[l,c]=(0,i.useState)(void 0),[d,s]=(0,i.useState)(void 0);return(0,i.useEffect)(()=>{(async()=>{if(t&&e)try{a(!0);let e=await n();e?s(e):c(Error("Unable to fetch SOL price"))}catch(i){c(i)}finally{a(!1)}else a(!1)})()}
1,[]),{solPrice:d,isSolPriceLoading:r,solPriceError:l}}},77717:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(15882),o=n(57722);const r=["title","titleId"];function a(e,t){let{title:n,titleId:a}=e,l=(0,i.A)(e,r);return o.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:t,"aria-labelledby":a},l),n?o.createElement("title",{id:a},n):null,o.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m19.5 8.25-7.5 7.5-7.5-7.5"}))}const l=o.forwardRef(a)},90514:(e,t,n)=>{n.d(t,{T:()=>B});var i=n(24107),o=n(90034),r=n(52610),a=n(48215),l=n(62802),c=n(60229),d=n(77717),s=n(57722),u=n(99844);const h=e=>{let{label:t,children:n,valueStyles:r}=e;return(0,o.jsxs)(p,{children:[(0,o.jsx)("div",{children:t}),(0,o.jsx)(f,{style:(0,i.A)({},r),children:n})]})};let p=r.I4.div.withConfig({displayName:"StyledDetailsRow",componentId:"sc-4ebfdd45-0"})(["display:flex;align-items:center;justify-content:space-between;width:100%;> :first-child{color:var(--privy-color-foreground-3);text-align:left;}> :last-child{color:var(--privy-color-foreground-2);text-align:right;}"]),f=r.I4.div.withConfig({displayName:"ValueWrapper",componentId:"sc-4ebfdd45-1"})(["font-size:14px;line-height:100%;display:flex;align-items:center;justify-content:center;border-radius:var(--privy-border-radius-full);background-color:var(--privy-color-background-2);padding:4px 8px;"]);const g=e=>{let{gas:t,tokenPrice:n,tokenSymbol:i}=e;return(0,o.jsxs)(c.F,{style:{paddingBottom:"12px"},children:[(0,o.jsxs)(v,{children:[(0,o.jsx)(y,{children:"Est. Fees"}),(0,o.jsx)("div",{children:(0,o.jsx)(a.P,{weiQuantities:[BigInt(t)],tokenPrice:n,tokenSymbol:i})})]}),n&&(0,o.jsx)(m,{children:"".concat((0,l.g)(BigInt(t),i))})]})},x=e=>{let{value:t,gas:n,tokenPrice:i,tokenSymbol:r}=e,d=BigInt(null!==t&&void 0!==t?t:0)+BigInt(n);return(0,o.jsxs)(c.F,{children:[(0,o.jsxs)(v,{children:[(0,o.jsx)(y,{children:"Total (including fees)"}),(0,o.jsx)("div",{children:(0,o.jsx)(a.P,{weiQuantities:[BigInt(t||0),BigInt(n)],tokenPrice:i,tokenSymbol:r})})]}),i&&(0,o.jsx)(m,{children:(0,l.g)(d,r)})]})};let v=r.I4.div.withConfig({displayName:"TransactionTotalRow",componentId:"sc-f8ef9b74-0"})(["display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding-top:4px;"]),m=r.I4.div.withConfig({displayName:"ValueConversionRow",componentId:"sc-f8ef9b74-1"})(["display:flex;flex-direction:row;height:12px;font-size:12px;line-height:12px;color:var(--privy-color-foreground-3);font-weight:400;"]),y=r.I4.div.withConfig({displayName:"TotalText",componentId:"sc-f8ef9b74-2"})(["font-size:14px;line-height:22.4px;font-weight:400;"]);const w=(0,s.createContext)(void 0),b=(0,s.createContext)(void 0),P=e=>{let{defaultValue:t,children:n}=e,[i,r]=(0,s.useState)(t||null);return(0,o.jsx)(w.Provider,{value:{activePanel:i,togglePanel:e=>{r(i===e?null:e)}},children:(0,o.jsx)(S,{children:n})})},C=e=>{let{value:t,children:n}=e,{activePanel:i,togglePanel:r}=(0,s.useContext)(w),a=i===t;return(0,o.jsx)(b.Provider,{value:{onToggle:()=>r(t),value:t},children:(0,o.jsx)(F,{isActive:a?"true":"false","data-open":String(a),children:n})})},k=e=>{let{children:t}=e,{activePanel:n}=(0,s.useContext)(w),{onToggle:i,value:r}=(0,s.useContext)(b),a=n===r;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(A,{onClick:i,"data-open":String(a),children:[(0,o.jsx)(N,{children:t}),(0,o.jsx)(D,{isactive:a?"true":"false",children:(0,o.jsx)(d.A,{height:"16px",width:"16px",strokeWidth:"2"})})]}),(0,o.jsx)(T,{})]})},j=e=>{let{children:t}=e,{activePanel:n}=(0,s.useContext)(w),{value:i}=(0,s.useContext)(b);return(0,o.jsx)(E,{"data-open":String(n===i),children:(0,o.jsx)(L,{children:t})})},I=e=>{let{children:t}=e,{activePanel:n}=(0,s.useContext)(w),{value:i}=(0,s.useContext)(b);return(0,o.jsx)(L,{children:"function"==typeof t?t({isActive:n===i}):t})};let S=r.I4.div.withConfig({displayName:"AccordionRoot",componentId:"sc-d25f9267-0"})(["display:flex;flex-direction:column;width:100%;gap:8px;"]),A=r.I4.div.withConfig({displayName:"AccordionTriggerContainer",componentId:"sc-d25f9267-1"})(["display:flex;justify-content:space-between;align-items:center;width:100%;cursor:pointer;padding-bottom:8px;"]),T=r.I4.div.withConfig({displayName:"AccordionDivider",componentId:"sc-d25f9267-2"})(["width:100%;&&{border-top:1px solid;border-color:var(--privy-color-foreground-4);}padding-bottom:12px;"]),N=r.I4.div.withConfig({displayName:"AccordionTriggerContent",componentId:"sc-d25f9267-3"})(["font-size:14px;font-weight:500;line-height:19.6px;width:100%;padding-right:8px;"]),F=r.I4.div.withConfig({displayName:"AccordionPanelContainer",componentId:"sc-d25f9267-4"})(["display:flex;flex-direction:column;width:100%;overflow:hidden;padding:12px;&&{border:1px solid;border-color:var(--privy-color-foreground-4);border-radius:var(--privy-border-radius-md);}"]),E=r.I4.div.withConfig({displayName:"AccordionContentContainer",componentId:"sc-d25f9267-5"})(["position:relative;overflow:hidden;transition:max-height 25ms ease-out;&[data-open='true']{max-height:700px;}&[data-open='false']{max-height:0;}"]),L=r.I4.div.withConfig({displayName:"ContentWrapper",componentId:"sc-d25f9267-6"})(["display:flex;flex-direction:column;gap:12px;flex:1 1 auto;min-height:1px;"]),D=r.I4.div.withConfig({displayName:"IconWrapper",componentId:"sc-d25f9267-7"})(["transform:",";"],e=>"true"===e.isactive?"rotate(180deg)":"rotate(0deg)");const B=e=>{let{from:t,to:n,txn:r,transactionInfo:l,tokenPrice:c,gas:d,tokenSymbol:s}=e,p=BigInt((null===r||void 0===r?void 0:r.value)||0);return(0,o.jsx)(P,(0,i.A)((0,i.A)({},(0,u.u)().render.standalone?{defaultValue:"details"}:{}),{},{children:(0,o.jsxs)(C,{value:"details",children:[(0,o.jsx)(k,{children:(0,o.jsxs)(U,{children:[(0,o.jsx)("div",{children:(null===l||void 0===l?void 0:l.title)||"Details"}),(0,o.jsx)(M,{children:(0,o.jsx)(a.H,{weiQuantities:[p],tokenPrice:c,tokenSymbol:s})})]})}),(0,o.jsxs)(j,{children:[(0,o.jsx)(h,{label:"From",children:(0,o.jsx)(a.W,{walletAddress:t,chainId:r.chainId||u.s,chainType:"ethereum"})}),(0,o.jsx)(h,{label:"To",children:(0,o.jsx)(a.W,{walletAddress:n,chainId:r.chainId||u.s,chainType:"ethereum"})}),l&&l.action&&(0,o.jsx)(h,{label:"Action",children:l.action}),d&&(0,o.jsx)(g,{value:r.value,gas:d,tokenPrice:c,tokenSymbol:s})]}),(0,o.jsx)(I,{children:e=>{let{isActive:t}=e;return(0,o.jsx)(x,{value:r.value,displayFee:t,gas:d||"0x0",tokenPrice:c,tokenSymbol:s})}})]})}))};let U=r.I4.div.withConfig({displayName:"AccordionTriggerContent",componentId:"sc-2eff9f5c-0"})(["display:flex;flex-direction:row;justify-content:space-between;"]),M=r.I4.div.withConfig({displayName:"TotalText",componentId:"sc-2eff9f5c-1"})(["flex-shrink:0;padding-left:8px;"])},94592:(e,t,n)=>{n.d(t,{a:()=>r,g:()=>o});var i=n(68054);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=(parseFloat(e.toString())/1e9).toFixed(t).replace(/0+$/,"").replace(/\.$/,""),r=i?"":" SOL";return n?"".concat(o).concat(r):"".concat("0"===o?"<0.001":o).concat(r)}function r(e){let{amount:t,fee:n,tokenPrice:r,isUsdc:a}=e,l=BigInt(Math.floor(parseFloat(t)*10**(a?6:9))),c=a?l:l+n;return{fundingAmountInBaseUnit:l,fundingAmountInUsd:r?(0,i.g)(l,r):void 0,totalPriceInUsd:r?(0,i.g)(c,r):void 0,totalPriceInNativeCurrency:o(c),feePriceInNativeCurrency:o(n),feePriceInUsd:r?(0,i.g)(n,r):void 0}}}}]);
2//# sourceMappingURL=6887.3ddf093a.chunk.js.map

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.