PageSourceSearch

https://jiffyscan.xyz/_next/static/chunks/pages/bundlers-80dd5b516afddfde.js

js jiffyscan.xyz collected 2026-09-24 09:22:49 UTC 8,556 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3304],{15681:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/bundlers",function(){return n(22902)}])},5299:function(e,t,n){"use strict";var s=n(85893),a=(n(67294),n(98182));t.Z=function(e){let{icon:t,headerText:n,infoText:r}=e;return(0,s.jsxs)("div",{className:"flex items-center flex-grow gap-2",children:[(0,s.jsx)("img",{src:t,alt:""}),(0,s.jsx)("b",{className:"text-lg font-bold",children:n}),(0,s.jsx)(a.Z,{data:r})]})}},20762:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var s=n(85893),a=n(67294),r=n(71670),i=n(74384),o=n(20285);n(15109);const c=(e,t)=>{for(let n=0;n<t.length;n++)if(t[n].key===e)return!0;return!1};var l=function(e){let{selectedNetwork:t,handleNetworkChange:n,disabled:l}=e;const[d,u]=(0,a.useState)(4),h=i.FV.slice(0,d),x=i.FV.slice(d,i.FV.length),[f,p]=(0,a.useState)(!!c(t,x)),m=function(){const[e,t]=(0,a.useState)({width:null,height:null});return(0,a.useEffect)((()=>{function e(){const{innerWidth:e,innerHeight:t}=window;return{width:e,height:t}}function n(){t(e())}return t(e()),window.addEventListener("resize",n),()=>window.removeEventListener("resize",n)}),[]),e}().width;return(0,a.useEffect)((()=>{u(m>768?4:1)}),[m]),(0,a.useEffect)((()=>{p(!!c(t,x))}),[t,d]),(0,s.jsxs)("div",{className:"flex flex-wrap items-center gap-1",children:[h.map(((e,a)=>{let{name:i,key:o,iconPath:c,iconPathInverted:d}=e;return(0,s.jsx)(r.Z,{onClick:()=>{n(o),p(!1)},startIcon:t===o?d:c,color:"".concat(t===o?"dark-700":"white"),disabled:l,children:i},a)})),(0,s.jsx)(o.Z,{onClickFcn:n,selectedNetwork:t,isMoreSelected:f,setIsMoreSelected:p,dropdownNetworkList:x,disabled:l})]})}},20285:function(e,t,n){"use strict";var s=n(85893),a=n(67294),r=n(30281),i=n.n(r),o=n(34646),c=n(17106),l=n(57349),d=n(74384);t.Z=function(e){const{variant:t="contained",isMoreSelected:n,className:r,setIsMoreSelected:u,onClickFcn:h,dropdownNetworkList:x,disabled:f,selectedNetwork:p}=e,m=n?"dark-700":"white",[g,w]=(0,a.useState)(d.ZH[p]),[v,j]=(0,a.useState)(""),[N,b]=(0,a.useState)(e.dropdownNetworkList);return(0,a.useEffect)((()=>{w(d.ZH[p])}),[p]),(0,a.useEffect)((()=>{if(""===v.trim())b(x);else{const e=x.filter((e=>e.name.toLowerCase().includes(v.toLowerCase())));b(e)}}),[v,x]),(0,s.jsx)("div",{className:"text-sm",children:(0,s.jsxs)(o.v,{as:"div",className:"relative inline-block text-left",children:[(0,s.jsx)("span",{children:(0,s.jsxs)(o.v.Button,{className:"".concat(i().wrapper," ").concat(i()[t]," ").concat(i()[m]," ").concat(r||""," ").concat(f?i().disabled:""),children:[g&&n&&(0,s.jsx)("img",{src:g,alt:"",style:{height:"12px",width:"12px"}}),n?p:"More",(0,s.jsx)(l.Z,{className:"w-5 h-5 -mr-1 text-gray-400","aria-hidden":"true"})]})}),(0,s.jsx)(c.u,{as:a.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,s.jsx)(o.v.Items,{className:"absolute right-0 mt-2 origin-top-right bg-white rounded-md shadow-lg w-52 ring-1 ring-black ring-opacity-5 focus:outline-none",children:(0,s.jsx)("div",{className:"max-h-56 overflow-y-auto rounded-md p-2",children:(0,s.jsxs)("div",{className:"flex flex-col py-1",children:[(0,s.jsx)("input",{type:"text",className:"px-3 py-1 rounded-md mb-2 focus:outline-none focus:border-primary-400 w-40 text-sm",placeholder:"Search Chains...",value:v,onChange:e=>j(e.target.value)}),N.map(((e,t)=>{let{name:n,key:a,iconPath:r}=e;return(0,s.jsx)(o.v.Item,{children:e=>{let{active:t}=e;return(0,s.jsxs)("a",{onClick:()=>{u(!0),h(a),w(r)},className:"\n                                                    ".concat(t?"bg-gray-100 text-gray-900":"text-gray-700"," \n                                                    block flex items-center gap-3 px-4 py-2 text-sm\n                                                "),children:[(0,s.jsx)("img",{src:r,alt:"",style:{height:"12px",width:"12px"}}),n]})}},a)}))]})})})})]})})}},838:function(e,t,n){"use strict";var s=n(67294);t.Z=function(e){const t=(0,s.useRef)();return(0,s.useEffect)((()=>{t.current=e}),[e]),t.current}},22902:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return E}});var s=n(85893),a=n(67294),r=n(5814),i=n(32284),o=n(18516),c=n(22682),l=n(59070),d=JSON.parse('{"columns":[{"name":"Bundler Address","sort":true},{"name":"No. of Bundlers","sort":false},{"name":"Gas Collected","sort":false}]}'),u=n(74384),h=n(15109),x=n(43800),f=n(39377),p=n(23795),m=n(12963),g=n(21023),w=n(91444),v=(n(71399),n(838)),j=n(20762),N=n(5299);var b=function(e){const{selectedNetwork:t,setSelectedNetwork:n,addressMapping:r}=(0,f.Z)(),b=(0,v.Z)(t),[y,S]=(0,a.useState)(!1),[k,Z]=(0,a.useState)(d),[E,C]=(0,a.useState)(0),[I,L]=(0,a.useState)(10),[_,T]=(0,a.useState)(0),[P,B]=(0,a.useState)(!0),[F,M]=(0,a.useState)("");(0,a.useEffect)((()=>
1{if(y){H(t,I,E);const e=new URLSearchParams(window.location.search);e.set("pageNo",E.toString()),e.set("pageSize",I.toString()),window.history.pushState(null,"","".concat(window.location.pathname,"?").concat(e.toString()))}}),[E,I]),(0,a.useEffect)((()=>{let e,n;const s=new URLSearchParams(window.location.search);""!=b&&b!=t||(e=s.get("pageNo"),n=s.get("pageSize"));const a=(e=>{let t;return t=e?parseInt(e):10,u.u_.includes(t)||(t=10),t})(n);L(a),z().then((n=>{const r=((e,t,n)=>{let s;return s=e?parseInt(e):1,s>Math.ceil(t/n)&&(s=Math.ceil(t/n)),s<=0&&(s=1),s})(e,n,a);C(r),s.set("pageNo",E.toString()),s.set("pageSize",I.toString()),window.history.pushState(null,"","".concat(window.location.pathname,"?").concat(s.toString())),H(t,a,r)})),S(!0)}),[t]),(0,a.useEffect)((()=>{let e=k.rows;console.log("modifying the address mapping",r),e&&e.forEach((e=>{var t,n;(null===e||void 0===e||null===(t=e.token)||void 0===t?void 0:t.text)&&(e.poweredBy=null===r||void 0===r||null===(n=r[e.token.text])||void 0===n?void 0:n.company)})),Z({...k,rows:e})}),[r]);const z=async()=>{const e=await(0,x.dp)(t,1,w.Am);let n;return e.length>0&&(n=e[0]),M(" "+parseInt((null===n||void 0===n?void 0:n.bundlerTotal)||"0")+" bundlers found"),T(parseInt((null===n||void 0===n?void 0:n.bundlesTotal)||"0")),parseInt((null===n||void 0===n?void 0:n.bundlesTotal)||"0")},H=async(e,t,n)=>{B(!0);const s=await(0,x.aI)(e,t,n-1,w.Am);let a=[];s.forEach((t=>{a.push({token:{text:t.address,icon:u.ZH[e],type:"bundler"},userOps:"".concat(t.bundleLength," bundles"),fee:(0,h.JK)(parseInt(t.actualGasCostSum),e)})})),Z({...k,rows:a}),B(!1)};return(0,s.jsxs)("div",{className:"",children:[(0,s.jsx)(o.Z,{searchbar:!0}),(0,s.jsx)("section",{className:"py-10",children:(0,s.jsxs)("div",{className:"container",children:[(0,s.jsxs)("div",{className:"flex flex-row",children:[(0,s.jsx)(p.Z,{href:"/",className:"text-gray-500",children:(0,s.jsx)(g.Z,{style:{height:"15px",width:"15px",marginRight:"20px",marginLeft:"10px",marginBottom:"3px"}})}),(0,s.jsxs)(m.Z,{"aria-label":"breadcrumb",children:[(0,s.jsx)(p.Z,{underline:"hover",color:"inherit",href:"/?network=".concat(t||""),children:"Home"}),(0,s.jsx)(p.Z,{underline:"hover",color:"text.primary",href:"/bundler","aria-current":"page",children:"Bundlers"})]})]}),(0,s.jsx)("h1",{className:"text-3xl font-bold",children:"Bundlers"})]})}),(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{className:"flex flex-wrap items-center justify-between gap-3 py-2 mb-4 md:gap-10",children:[(0,s.jsx)(N.Z,{icon:"/images/cube.svg",headerText:P?"Loading":F,infoText:"Approx Number of Bundler in the selected chain"}),(0,s.jsx)(j.Z,{selectedNetwork:t,handleNetworkChange:n,disabled:P})]})}),(0,s.jsx)("section",{className:"mb-10",children:(0,s.jsx)("div",{className:"container",children:(0,s.jsxs)("div",{children:[(0,s.jsx)(c.Z,{...k,loading:P,hideHeader:!0,caption:{children:F,icon:"/images/cube.svg",text:"Approx Number of Bundler in the selected chain"}}),(0,s.jsx)(l.Z,{pageDetails:{pageNo:E,setPageNo:C,pageSize:I,setPageSize:e=>{L(e),C(0)},totalRows:_}})]})})}),(0,s.jsx)(w.Ix,{}),(0,s.jsx)(i.Z,{})]})},y=n(11163),S=n(49089),k=n(69535);function Z(){(0,y.useRouter)();return(0,a.useEffect)((()=>{S.ZP.send({hitType:"pageview",page:window.location.pathname})}),[]),(0,s.jsxs)("div",{children:[(0,s.jsx)(k.Z,{}),(0,s.jsx)(b,{})]})}var E=Z;Z.getLayout=e=>(0,s.jsx)(r.Z,{children:e})}},function(e){e.O(0,[6660,1664,3854,6166,9920,2383,8290,6682,3860,6737,971,9774,2888,179],(function(){return t=15681,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
2//# sourceMappingURL=bundlers-80dd5b516afddfde.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.