PageSourceSearch

https://nftx.io/_next/static/chunks/003w9sjl9mn3a.js?dpl=dpl_6hdXWyXe945jQ889bSE7YjK8yoXB

js nftx.io collected 2026-09-25 19:08:49 UTC 23,376 bytes, 9 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,656424,e=>{"use strict";var t=e.i(794189);let n="(prefers-reduced-motion: reduce)";function i(){return"function"==typeof window.matchMedia}function r(e){if(!i())return()=>{};let t=window.matchMedia(n);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)}function o(){return i()?window.matchMedia(n).matches:null}function a(){return null}e.s(["useReducedMotion",0,function(){return(0,t.useSyncExternalStore)(r,o,a)}])},490611,e=>{"use strict";e.i(656424);let t=[.16,1,.3,1];e.s(["easeFluid",0,t,"fadeUp",0,{initial:{opacity:0,y:8},animate:{opacity:1,y:0,transition:{duration:.2,ease:t}}},"fadeUpInView",0,{hidden:{opacity:0,y:24},visible:{opacity:1,y:0,transition:{duration:.5,ease:t}}},"revealStagger",0,{hidden:{},visible:{transition:{staggerChildren:.08,delayChildren:.05}}},"revealViewport",0,{once:!0,amount:.35},"staggerChildren",0,{animate:{transition:{staggerChildren:.05}}}])},587353,690598,383334,e=>{"use strict";let t=(0,e.i(794189).createContext)({strict:!1});e.s(["LazyContext",0,t],587353);var n=e.i(481103);let i={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},r=!1;function o(){return!function(){if(r)return;let e={};for(let t in i)e[t]={isEnabled:e=>i[t].some(t=>!!e[t])};(0,n.setFeatureDefinitions)(e),r=!0}(),(0,n.getFeatureDefinitions)()}e.s(["getInitializedFeatureDefinitions",0,o],690598),e.s(["loadFeatures",0,function(e){let t=o();for(let n in e)t[n]={...t[n],...e[n]};(0,n.setFeatureDefinitions)(t)}],383334)},37804,e=>{"use strict";var t=e.i(794189);e.s(["useConstant",0,function(e){let n=(0,t.useRef)(null);return null===n.current&&(n.current=e()),n.current}])},151489,e=>{"use strict";var t=e.i(794189);let n="u">typeof window?t.useLayoutEffect:t.useEffect;e.s(["useIsomorphicLayoutEffect",0,n],151489)},761210,421644,77e3,622131,963122,519827,972889,e=>{"use strict";var t,n=e.i(794189);let i=(0,n.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});e.s(["MotionConfigContext",0,i],761210);let r=(0,n.createContext)({});e.s(["MotionContext",0,r],421644);var o=e.i(186645),a=e.i(643646);function s(e){return Array.isArray(e)?e.join(" "):e}e.s(["useCreateMotionContext",0,function(e){let{initial:t,animate:i}=function(e,t){if((0,o.isControllingVariants)(e)){let{initial:t,animate:n}=e;return{initial:!1===t||(0,a.isVariantLabel)(t)?t:void 0,animate:(0,a.isVariantLabel)(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,n.useContext)(r));return(0,n.useMemo)(()=>({initial:t,animate:i}),[s(t),s(i)])}],77e3);var u=e.i(350764),l=e.i(97225),c=e.i(6778);let d=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function f(e,t,n){for(let i in t)(0,u.isMotionValue)(t[i])||(0,l.isForcedMotionValue)(i,n)||(e[i]=t[i])}e.s(["createHtmlRenderState",0,d],622131);var p=e.i(533186),m=e.i(140109);let h=()=>({...d(),attrs:{}});e.s(["createSvgRenderState",0,h],963122);let y=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function g(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||y.has(e)}let v=e=>!g(e);try{t=e.r(570606).default,"function"==typeof t&&(v=e=>e.startsWith("on")?!g(e):t(e))}catch{}var x=e.i(917032);e.s(["useRender",0,function(e,t,i,{latestValues:r},o,a=!1,s){let l=(s??(0,x.isSVGComponent)(e)?function(e,t,i,r){let o=(0,n.useMemo)(()=>{let n=h();return(0,p.buildSVGAttrs)(n,t,(0,m.isSVGTag)(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};f(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t){let i,r,o={},a=(i=e.style||{},f(r={},i,e),Object.assign(r,function({transformTemplate:e},t){return(0,n.useMemo)(()=>{let n=d();return(0,c.buildHTMLStyles)(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),r);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}
1`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=a,o})(t,r,o,e),y=function(e,t,n){let i={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&!(0,u.isMotionValue)(e[r])&&(v(r)||!0===n&&g(r)||!t&&!g(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}(t,"string"==typeof e,a),C=e!==n.Fragment?{...y,...l,ref:i}:{},{children:b}=t,M=(0,n.useMemo)(()=>(0,u.isMotionValue)(b)?b.get():b,[b]);return(0,n.createElement)(e,{...C,children:M})}],519827);var C=e.i(570110);e.s(["scrapeHTMLMotionValuesFromProps",()=>C.scrapeMotionValuesFromProps],972889)},863075,753869,318861,984535,e=>{"use strict";var t=e.i(972889),n=e.i(474032),i=e.i(186645),r=e.i(508578),o=e.i(155458),a=e.i(794189),s=e.i(421644),u=e.i(243061),l=e.i(37804);let c=e=>(t,c)=>{let d=(0,a.useContext)(s.MotionContext),f=(0,a.useContext)(u.PresenceContext),p=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t},a,s,u){return{latestValues:function(e,t,a,s){let u={},l=s(e,{});for(let e in l)u[e]=(0,n.resolveMotionValue)(l[e]);let{initial:c,animate:d}=e,f=(0,i.isControllingVariants)(e),p=(0,i.isVariantNode)(e);t&&p&&!f&&!1!==e.inherit&&(void 0===c&&(c=t.initial),void 0===d&&(d=t.animate));let m=!!a&&!1===a.initial,h=(m=m||!1===c)?d:c;if(h&&"boolean"!=typeof h&&!(0,r.isAnimationControls)(h)){let t=Array.isArray(h)?h:[h];for(let n=0;n<t.length;n++){let i=(0,o.resolveVariantFromProps)(e,t[n]);if(i){let{transitionEnd:e,transition:t,...n}=i;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=m?t.length-1:0;t=t[e]}null!==t&&(u[e]=t)}for(let t in e)u[t]=e[t]}}}return u}(a,s,u,e),renderState:t()}})(e,t,d,f);return c?p():(0,l.useConstant)(p)};var d=e.i(622131);let f=c({scrapeMotionValuesFromProps:t.scrapeHTMLMotionValuesFromProps,createRenderState:d.createHtmlRenderState});e.s(["useHTMLVisualState",0,f],863075);var p=e.i(639190),p=p,m=e.i(963122);let h=c({scrapeMotionValuesFromProps:p.scrapeMotionValuesFromProps,createRenderState:m.createSvgRenderState});e.s(["useSVGVisualState",0,h],753869);let y=Symbol.for("motionComponentSymbol");e.s(["motionComponentSymbol",0,y],318861),e.s(["useMotionRef",0,function(e,t,n){let i=(0,a.useRef)(n);(0,a.useInsertionEffect)(()=>{i.current=n});let r=(0,a.useRef)(null);return(0,a.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let o=i.current;if("function"==typeof o)if(n){let e=o(n);"function"==typeof e&&(r.current=e)}else r.current?(r.current(),r.current=null):o(n);else o&&(o.current=n)},[t])}],984535)},263877,e=>{"use strict";e.i(692139);var t=e.i(853286),n=e.i(794189),i=e.i(370986),r=e.i(587353),o=e.i(761210),a=e.i(421644),s=e.i(77e3),u=e.i(519827),l=e.i(917032),c=e.i(863075),d=e.i(753869),f=e.i(690598),p=e.i(383334),m=e.i(318861),h=e.i(984535),y=e.i(554653),g=e.i(243061),v=e.i(146323),x=e.i(207623),C=e.i(151489);e.s(["createMotionComponent",0,function(e,{forwardMotionProps:b=!1,type:M}={},S,E){S&&(0,p.loadFeatures)(S);let w=M?"svg"===M:(0,l.isSVGComponent)(e),P=w?d.useSVGVisualState:c.useHTMLVisualState;function T(l,c){let d,p={...(0,n.useContext)(o.MotionConfigContext),...l,layoutId:function({layoutId:e}){let t=(0,n.useContext)(i.LayoutGroupContext).id;return t&&void 0!==e?t+"-"+e:e}(l)},{isStatic:m}=p,M=(0,s.useCreateMotionContext)(l),S=P(l,m);if(!m&&"u">typeof window){(0,n.useContext)(r.LazyContext).strict;let t=function(e){let{drag:t,layout:n}=(0,f.getInitializedFeatureDefinitions)();if(!t&&!n)return{};let i={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(p);d=t.MeasureLayout,M.visualElement=function(e,t,i,s,u,l){let{visualElement:c}=(0,n.useContext)(a.MotionContext),d=(0,n.useContext)(r.LazyContext),f=(0,n.useContext)(g.PresenceContext),p=(0,n.useContext)(o.MotionConfigContext),m=p.reducedMotion,h=p.skipAnimations,b=(0,n.useRef)(null),M=(0,n.useRef)(!1);s=s||d.renderer,!b.current&&s&&(b.current=s(e,{visualState:t,parent:c,props:i,presenceContext:f,blockInitialAnimation:!!f&&!1===f.initial,reducedMotionConfig:m,skipAnimations:h,isSVG:l}),M.current&&b.current&&(b.current.manuallyAnimateOnMount=!0));let S=b.current,E=(0,n.useContext)(v.SwitchLayoutGroupContext);S&&!S.projection&&u&&("html"===S.type||"svg"===S.type)&&function(e,t,n,i){let{layoutId:r,layout:o,drag:a,dragConstraints:s,layoutScroll:u,layoutRoot:l,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:function e(t){if(t)return!1!==t.options.allowProjection?t.projection:e(t.parent)}(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:!!a||s&&(0,x.isRefObject)(s),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,crossfade:d,layoutScroll:u,layoutRoot:l,layoutAnchor:c})}(b.current,i,u,E);let w=(0,n.useRef)(!1);(0,n.useInsertionEffect)(()=>{S&&w.current&&S.update(i,f)});let P=i[y.optimizedAppearDataAttribute],T=(0,n.useRef)(!!P&&"u">typeof window&&!window.MotionHandoffIsComplete?.(P)&&window.MotionHasOptimisedAnimation?.(P));return(0,C.useIsomorphicLayoutEffect)(()=>{M.current=!0,S&&(w.current=!0,window.MotionIsMounted=!0,S.updateFeatures(),S.scheduleRenderMicrotask(),T.current&&S.animationState&&S.animationState.animateChanges())}),(0,n.useEffect)(()=>{S&&(!T.current&&S.animationState&&S.animationState.animateChanges(),T.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(P)}),T.current=!1),S.enteringChildren=void 0)}),S}(e,S,p,E,t.ProjectionNode,w)}return(0,t.jsxs)(a.MotionContext.Provider,{value:M,children:[d&&M.visualElement?(0,t.jsx)(d,{visualElement:M.visualElement,...p}):null,(0,u.useRender)(e,l,(0,h.useMotionRef)(S,M.visualElement,c),S,m,b,w)]})}T.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let R=(0,n.forwardRef)(T);return R[m.motionComponentSymbol]=e,R}],263877)},406434,e=>{"use strict";e.i(692139);var t=e.i(263877);let n=function(){if("u"<typeof Proxy)return t.createMotionComponent;let e=new Map,n=(e,n)=>(0,t.createMotionComponent)(e,n,void 0,void 0);return new Proxy((e,t)=>n(e,t),{get:(i,r)=>"create"===r?n:(e.has(r)||e.set(r,(0,t.createMotionComponent)(r,void 0,void 0,void 0)),e.get(r))})}();e.s(["m",0,n],406434)},825465,e=>{"use strict";e.s(["isObject",0,e=>"object"==typeof e&&null!==e])},261427,e=>{"use strict";var t=e.i(825465);e.s(["isHTMLElement",0,function(e){return(0,t.isObject)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}])},621430,e=>{"use strict";var t=e.i(794189),n=e.i(243061);e.s(["usePresence",0,function(e=!0){let i=(0,t.useContext)(n.PresenceContext);if(null===i)return[!0,null];let{isPresent:r,onExitComplete:o,register:a}=i,s=(0,t.useId)();(0,t.useEffect)(()=>
1{if(e)return a(s)},[e]);let u=(0,t.useCallback)(()=>e&&o&&o(s),[s,o,e]);return!r&&o?[!1,u]:[!0]}])},517874,e=>{"use strict";e.i(692139);var t=e.i(853286),n=e.i(794189),i=e.i(370986),r=e.i(37804),o=e.i(151489),a=e.i(243061),s=e.i(261427),u=n,l=e.i(761210);function c(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class d extends u.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,s.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,n=(0,s.isHTMLElement)(e)&&e.offsetWidth||0,i=(0,s.isHTMLElement)(e)&&e.offsetHeight||0,r=getComputedStyle(t),o=this.props.sizeRef.current;o.height=parseFloat(r.height),o.width=parseFloat(r.width),o.top=t.offsetTop,o.left=t.offsetLeft,o.right=n-o.width-o.left,o.bottom=i-o.height-o.top,o.direction=r.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function f({children:e,isPresent:i,anchorX:r,anchorY:o,root:a,pop:s}){let p=(0,u.useId)(),m=(0,u.useRef)(null),h=(0,u.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:y}=(0,u.useContext)(l.MotionConfigContext),g=function(...e){return n.useCallback(function(...e){return t=>{let n=!1,i=e.map(e=>{let i=c(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;t<i.length;t++){let n=i[t];"function"==typeof n?n():c(e[t],null)}}}}(...e),e)}(m,e.props?.ref??e?.ref);return(0,u.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:u,right:l,bottom:c,direction:d}=h.current;if(i||!1===s||!m.current||!e||!t)return;let f="rtl"===d,g="left"===r?f?`right: ${l}`:`left: ${u}`:f?`left: ${u}`:`right: ${l}`,v="bottom"===o?`bottom: ${c}`:`top: ${n}`;m.current.dataset.motionPopId=p;let x=document.createElement("style");y&&(x.nonce=y);let C=a??document.head;return C.appendChild(x),x.sheet&&x.sheet.insertRule(`
2          [data-motion-pop-id="${p}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            ${g}px !important;
7            ${v}px !important;
8          }
9        `),()=>{m.current?.removeAttribute("data-motion-pop-id"),C.contains(x)&&C.removeChild(x)}},[i]),(0,t.jsx)(d,{isPresent:i,childRef:m,sizeRef:h,pop:s,children:!1===s?e:u.cloneElement(e,{ref:g})})}let p=({children:e,initial:i,isPresent:o,onExitComplete:s,custom:u,presenceAffectsLayout:l,mode:c,anchorX:d,anchorY:p,root:h})=>{let y=(0,r.useConstant)(m),g=(0,n.useId)(),v=!0,x=(0,n.useMemo)(()=>(v=!1,{id:g,initial:i,isPresent:o,custom:u,onExitComplete:e=>{for(let t of(y.set(e,!0),y.values()))if(!t)return;s&&s()},register:e=>(y.set(e,!1),()=>y.delete(e))}),[o,y,s]);return l&&v&&(x={...x}),(0,n.useMemo)(()=>{y.forEach((e,t)=>y.set(t,!1))},[o]),n.useEffect(()=>{o||y.size||!s||s()},[o]),e=(0,t.jsx)(f,{pop:"popLayout"===c,isPresent:o,anchorX:d,anchorY:p,root:h,children:e}),(0,t.jsx)(a.PresenceContext.Provider,{value:x,children:e})};function m(){return new Map}var h=e.i(621430);let y=e=>e.key||"";function g(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:a,initial:s=!0,onExitComplete:u,presenceAffectsLayout:l=!0,mode:c="sync",propagate:d=!1,anchorX:f="left",anchorY:m="top",root:v})=>{let[x,C]=(0,h.usePresence)(d),b=(0,n.useMemo)(()=>g(e),[e]),M=d&&!x?[]:b.map(y),S=(0,n.useRef)(!0),E=(0,n.useRef)(b),w=(0,r.useConstant)(()=>new Map),P=(0,n.useRef)(new Set),[T,R]=(0,n.useState)(b),[N,L]=(0,n.useState)(b);(0,o.useIsomorphicLayoutEffect)(()=>{S.current=!1,E.current=b;for(let e=0;e<N.length;e++){let t=y(N[e]);M.includes(t)?(w.delete(t),P.current.delete(t)):!0!==w.get(t)&&w.set(t,!1)}},[N,M.length,M.join("-")]);let j=[];if(b!==T){let e=[...b];for(let t=0;t<N.length;t++){let n=N[t],i=y(n);M.includes(i)||(e.splice(t,0,n),j.push(n))}return"wait"===c&&j.length&&(e=j),L(g(e)),R(b),null}let{forceRender:I}=(0,n.useContext)(i.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:N.map(e=>{let n=y(e),i=(!d||!!x)&&(b===N||M.includes(n));return(0,t.jsx)(p,{isPresent:i,initial:(!S.current||!!s)&&void 0,custom:a,presenceAffectsLayout:l,mode:c,root:v,onExitComplete:i?void 0:()=>
9{if(P.current.has(n)||!w.has(n))return;P.current.add(n),w.set(n,!0);let e=!0;w.forEach(t=>{t||(e=!1)}),e&&(I?.(),L(E.current),d&&C?.(),u&&u())},anchorX:f,anchorY:m,children:e},n)})})}],517874)},331679,e=>{"use strict";var t=e.i(446350);function n(e,{chainId:i,collection:r,wallet:o},{reconcileTrades:a=!1}={}){e.invalidateQueries({queryKey:(0,t.collectionKey)(i,r,"token-trades"),...a?{}:{refetchType:"none"}}),e.invalidateQueries({queryKey:(0,t.collectionKey)(i,r),exact:!0}),e.invalidateQueries({queryKey:(0,t.collectionKey)(i,r,"token-price-history")}),e.invalidateQueries({queryKey:(0,t.collectionKey)(i,r,"token-ohlc")}),e.invalidateQueries({queryKey:(0,t.collectionKey)(i,r,"listings")}),e.invalidateQueries({queryKey:(0,t.collectionsKey)(i)}),e.invalidateQueries({queryKey:t.MERGED_COLLECTIONS_ROOT}),e.invalidateQueries({queryKey:(0,t.protocolKey)(i,"stats")}),e.invalidateQueries({queryKey:t.MERGED_PROTOCOL_ROOT}),e.invalidateQueries({queryKey:(0,t.collectionKey)(i,r,"listings-first")}),e.invalidateQueries({queryKey:["activity",i]}),e.invalidateQueries({queryKey:t.MERGED_ACTIVITY_ROOT}
9),o&&e.invalidateQueries({queryKey:(0,t.portfolioKey)(i,o)}),o&&e.invalidateQueries({queryKey:t.MERGED_PORTFOLIO_ROOT}),e.invalidateQueries({queryKey:["balance"]}),e.invalidateQueries({queryKey:["readContract"]}),e.invalidateQueries({queryKey:["readContracts"]})}let i=[2e3,6e3,15e3];e.s(["INDEXER_SETTLE_DELAYS_MS",0,i,"addOptimisticTrade",0,function(e,n,i,r){let o=(0,t.collectionKey)(n,i,"token-trades");e.setQueryData(o,e=>!e||r.txHash&&e.some(e=>e.txHash===r.txHash)?e:[r,...e])},"invalidateTradeQueries",0,n,"settleTradeQueries",0,function(e,t){n(e,t);let r=i.length-1,o=i.map((i,o)=>setTimeout(()=>n(e,t,{reconcileTrades:o===r}),i));return()=>o.forEach(clearTimeout)}])},564614,e=>{"use strict";var t=e.i(175379);function n(e){return null!==e&&Number.isFinite(e)?e/1e4:null}e.s(["SLIPPAGE_OPTIONS_PERCENT",0,[.5,.1,1],"ammFeePips",0,function(e){let t=e?.ammFee;return null!=t&&/^\d+$/.test(t)?Number(t):null},"feeRateLabel",0,function(e,n){return null!=n?`${e} (${(0,t.formatPercent)(n/1e4,2,!1)})`:e},"feeSplitLabel",0,function(e,t){let i=n(e),r=n(t);return null==i||null==r?null:`${i}% to LPs \xb7 ${r}% protocol`},"swapFeePercent",0,n,"totalSwapFeePips",0,function(e,t){return null===e?null:e+(t??0)}])},316656,e=>{"use strict";e.s(["BUY_QUOTE_BUFFER_BPS",0,300,"FRONT_RUN_SLIPPAGE_WARNING_PERCENT",0,5,"HIGH_PRICE_IMPACT_BPS",0,1e3,"percentToBps",0,e=>Math.round(100*e)])},726326,e=>{"use strict";var t=e.i(221555),n=e.i(96391),i=e.i(609311),r=e.i(174521),o=e.i(557959);e.s(["useReadContract",0,function(e={}){let a=(0,o.useConfig)(e),s=(0,r.useChainId)({config:a}),u=function(e,i={}){return{...i.query,enabled:!!((i.address||"code"in i&&i.code)&&i.abi&&i.functionName&&(i.query?.enabled??!0)),queryFn:async n=>{if(!i.abi)throw Error("abi is required");let[,{scopeKey:r,...o}]=n.queryKey;if(!o.functionName)throw Error("functionName is required");return await (0,t.readContract)(e,{...o,abi:i.abi,address:o.address,code:"code"in o&&o.code?o.code:void 0,functionName:o.functionName})},queryKey:function(e={}){return["readContract",(0,n.filterQueryOptions)(e)]}(i),structuralSharing:n.structuralSharing}}(a,{...e,chainId:e.chainId??s});return(0,i.useQuery)(u)}],726326)},43455,e=>{"use strict";var t=e.i(853286),n=e.i(794189),i=e.i(517874),r=e.i(406434),o=e.i(555107),a=e.i(564614),s=e.i(490611),u=e.i(656424),l=e.i(975157);let c=/^\d*\.?\d*$/,d=e=>String(Number(e.toFixed(2))),f={duration:.24,ease:s.easeFluid},p={duration:.22,ease:s.easeFluid},m="relative h-8 rounded-md bg-input font-mono text-xs tabular-nums transition-colors outline-none";function h({reduceMotion:e}){return(0,t.jsx)(r.m.span,{layoutId:e?void 0:"slippage-highlight",transition:e?void 0:f,"aria-hidden":!0,className:"border-border-strong pointer-events-none absolute inset-0 rounded-md border"})}e.s(["SlippageControl",0,function({value:e,onChange:s,disabled:f,options:y=a.SLIPPAGE_OPTIONS_PERCENT,label:g="Slippage"}){let v=(0,u.useReducedMotion)()??!1,x=(0,n.useId)(),C=(0,n.useMemo)(()=>[...y].sort((e,t)=>e-t),[y]),b=y[0]??a.SLIPPAGE_OPTIONS_PERCENT[0],[M,S]=(0,n.useState)(!0),[E,w]=(0,n.useState)(()=>!C.includes(e)),[P,T]=(0,n.useState)(()=>C.includes(e)?"":d(e));return(0,t.jsxs)("div",{children:[(0,t.jsxs)("button",{type:"button",onClick:()=>S(e=>!e),"aria-expanded":M,"aria-controls":x,className:"group focus-visible:ring-ring/50 flex w-full items-center justify-between rounded-sm text-xs outline-none focus-visible:ring-2",children:[(0,t.jsx)("span",{className:"text-muted-foreground group-hover:text-foreground transition-colors",children:g}),(0,t.jsxs)("span",{className:"text-muted-foreground group-hover:text-foreground flex items-center gap-1.5 font-mono tabular-nums transition-colors",children:[d(e),"%",(0,t.jsx)(o.ChevronDown,{"aria-hidden":!0,className:(0,l.cn)("size-3 opacity-70 transition-transform duration-200",M&&"-rotate-180")})]})]}),(0,t.jsx)(i.AnimatePresence,{initial:!1,children:M&&(0,t.jsx)(r.m.div,{id:x,initial:!v&&{height:0,opacity:0},animate:{height:"auto",opacity:1},exit:v?{opacity:0}:{height:0,opacity:0},transition:v?{duration:0}:p,className:"overflow-hidden",children:(0,t.jsxs)("div",{role:"group","aria-label":"Slippage tolerance",className:"flex items-center gap-1.5 pt-2.5",children:[C.map(n=>{let i=!E&&e===n;return(0,t.jsxs)("button",{type:"button",onClick:()=>{w(!1),T(""),s(n)},disabled:f,"aria-pressed":i,className:(0,l.cn)(m,"focus-visible:ring-ring/50 flex-1 focus-visible:ring-2 disabled:opacity-60",i?"text-foreground":"text-muted-foreground hover:text-foreground hover:bg-surface-hover"),children:[i&&(0,t.jsx)(h,{reduceMotion:v}),(0,t.jsxs)("span",{className:"relative",children:[d(n),"%"]})]},n)}),(0,t.jsxs)("label",{className:(0,l.cn)(m,"flex flex-[1.5] items-center",f&&"opacity-60",!E&&"hover:bg-surface-hover"),children:[E&&(0,t.jsx)(h,{reduceMotion:v}),(0,t.jsx)("input",{value:P,onChange:e=>(function(e){if(!c.test(e))return;let t=Number(e)>100?String(100):e;T(t),w(!0),""!==t&&"."!==t&&s(Math.min(100,Math.max(0,Number(t))))})(e.target.value),onFocus:()=>w(!0),onBlur:function(){E&&(""===P||"."===P)&&(w(!1),T(""),s(b))},disabled:f,inputMode:"decimal",autoComplete:"off",placeholder:"Custom","aria-label":"Custom slippage percent",className:(0,l.cn)("relative w-full min-w-0 bg-transparent px-3 text-center outline-none","placeholder:text-muted-foreground disabled:cursor-not-allowed",""!==P&&"pr-5",E?"text-foreground":"text-muted-foreground")}
9),""!==P&&(0,t.jsx)("span",{"aria-hidden":!0,className:(0,l.cn)("pointer-events-none absolute right-2.5",E?"text-foreground":"text-muted-foreground"),children:"%"})]})]})},"options")})]})}])},675389,e=>{"use strict";var t=e.i(853286),n=e.i(251399),i=e.i(316656);e.s(["SlippageWarning",0,function({slippagePercent:e}){return e<=i.FRONT_RUN_SLIPPAGE_WARNING_PERCENT?null:(0,t.jsxs)("div",{role:"status",className:"border-warning/40 bg-warning-muted flex gap-2.5 rounded-md border p-3",children:[(0,t.jsx)(n.TriangleAlert,{"aria-hidden":!0,className:"text-warning mt-0.5 size-4 shrink-0"}),(0,t.jsxs)("div",{className:"text-body-xs leading-snug",children:[(0,t.jsx)("p",{className:"font-medium",children:"High slippage tolerance"}),(0,t.jsx)("p",{className:"text-muted-foreground mt-0.5",children:"Your transaction risks being front run."})]})]})}])},820035,e=>{"use strict";var t=e.i(853286),n=e.i(794189),i=e.i(975157);e.s(["PulseValue",0,function({value:e,ready:r=!0,className:o}){let a=(0,n.useRef)(r?e:null),[s,u]=(0,n.useState)(0);return(0,n.useEffect)(()=>{if(!r){a.current=null;return}null!==a.current&&a.current!==e&&u(e=>e+1),a.current=e},[e,r]),(0,t.jsx)("span",{className:(0,i.cn)("inline-block",s>0&&"animate-price-pulse",o),children:e},s)}])}]);

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.