PageSourceSearch

https://eager-pare-cfd7fe.netlify.app/static/js/main.e942d6c0.chunk.js

js eager-pare-cfd7fe.netlify.app collected 2026-10-03 10:40:25 UTC 5,801 bytes, 2 lines download raw bytes

1(this.webpackJsonpfavorite=this.webpackJsonpfavorite||[]).push([[0],{39:function(e,c,t){},46:function(e,c,t){},52:function(e,c,t){},53:function(e,c,t){},54:function(e,c,t){},56:function(e,c,t){},58:function(e,c,t){"use strict";t.r(c);var n=t(0),s=t.n(n),r=t(15),a=t.n(r),i=(t(39),t(12)),l=t(3),o=t(11),j=t(33),d=t(16),b=t.n(d),h=t(20),p="top_sellers/home/FETCH_SELLERS",x=[],O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:x,c=arguments.length>1?arguments[1]:void 0;return c.type===p?Object(j.a)(c.payload):e},u=t(27),m=t.n(u),f=(t(46),t(2)),v=function(e){var c=e.seller;return Object(f.jsxs)("div",{className:"seller-card seller-info col-6 col-lg-3",children:[Object(f.jsx)("div",{children:Object(f.jsx)(i.b,{to:"/DetailsPage/".concat(c.id),children:Object(f.jsx)(m.a,{className:"arrow-forward "})})}),Object(f.jsxs)("div",{className:"seller-main-info",children:[Object(f.jsx)("h2",{className:"seller-name",children:c.name}),Object(f.jsxs)("p",{className:"seller-price",children:[Object(f.jsx)("span",{children:"$"}),c.price]}),Object(f.jsx)("p",{className:"seller-exchange",children:c.exchange})]})]},c.symbol)},g=(t(52),function(){var e=Object(o.c)((function(e){return e.homeReducer})),c=Object(o.b)();return Object(n.useEffect)((function(){!e.length>0&&c(function(){var e=Object(h.a)(b.a.mark((function e(c){var t,n,s;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch("https://financialmodelingprep.com/api/v3/stock/list?apikey=433fe75a22056f72b4e335b0627761a8 ");case 2:return t=e.sent,e.next=5,t.json();case 5:n=e.sent,s=[],n.map((function(e){return s.push({id:e.symbol,name:e.name,price:e.price,exchange:e.exchange})})),c({type:p,payload:s.slice(0,100)});case 9:case"end":return e.stop()}}),e)})));return function(c){return e.apply(this,arguments)}}())}),[]),Object(f.jsxs)("div",{children:[Object(f.jsxs)("div",{className:"row homepage-logo",children:[Object(f.jsx)("div",{className:"col-6",children:Object(f.jsx)("img",{className:"homepage-logo-img",src:"/images/favorite.png",alt:"logo"})}),Object(f.jsxs)("div",{className:"col-6 homepage-logo-text",children:[Object(f.jsx)("h2",{children:"Visit Top Companies online"}),Object(f.jsx)("p",{className:"top",children:"Top 100"})]})]}),Object(f.jsx)("div",{className:"row home-sub-title",children:"START BY SELLER"}),Object(f.jsx)("div",{className:"seller-container row",children:e.map((function(e){return Object(f.jsx)(v,{seller:e},e.symbol)}))})]})}),N=t(29),y=t.n(N),w=t(30),E=t.n(w),k=t(28),R=t.n(k);t(53);var T=function(){return Object(f.jsxs)("header",{className:"head",children:[Object(f.jsx)("div",{children:Object(f.jsx)(i.b,{to:"/",children:Object(f.jsx)(R.a,{className:"back"})})}),Object(f.jsx)("div",{className:"header-title",children:"FAVORITE COMPANIES"}),Object(f.jsxs)("div",{children:[Object(f.jsx)(y.a,{className:"Heade-icons"}),Object(f.jsx)(E.a,{className:"Heade-icons"})]})]})},A="top-sellers/details/ADD_DATA",D={},S=function(){var e=Object(h.a)(b.a.mark((function e(c){var t,n,s,r,a;return b.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=[],n=[],e.next=4,fetch("https://financialmodelingprep.com/api/v3/profile/".concat(c,"?apikey=433fe75a22056f72b4e335b0627761a8"));case 4:return s=e.sent,e.next=7,s.json();case 7:return t=e.sent,e.next=10,fetch("https://financialmodelingprep.com/api/v3/historical-chart/1hour/".concat(c,"?apikey=433fe75a22056f72b4e335b0627761a8"));case 10:return r=e.sent,e.next=13,r.json();case 13:return n=e.sent,a={response1:t,response2:n.slice(0,10)},e.abrupt("return",a);case 16:case"end":return e.stop()}}),e)})));return function(c){return e.apply(this,arguments)}}(),C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D,c=arguments.length>1?arguments[1]:void 0;return c.type===A?c.payload:e},L=(t(54),function(){var e=Object(o.c)((function(e){return e.detailsReducer})),c=Object(l.f)().id,t=Object(o.b)();Object(n.useEffect)((function(){S(c).then((function(e){t({type:A,payload:e})}))}),[]);var s=e.response1;return Object(f.jsx)("div",{className:"details-container",children:Object(f.jsxs)("div",{children:[Object(f.jsxs)("h2",{className:"details-title text-center",children:["Learn more about"," ",Object(f.jsxs)("span",{className:"seller-name text-info",children:[s&&s[0].companyName," "]})]}),Object(f.jsx)("table",{className:"table table-dark table-striped",children:Object(f.jsxs)("tbody",{children:[Object(f.jsxs)("tr",{children:[Object(f.jsx)("th",{scope:"row",children:"Company Name:"}),Object(f.jsx)("td",{children:s&&s[0].companyName})]}),Object(f.jsxs)("tr",{children:[Object(f.jsx)("th",{scope:"row",children:"CEO:"}),Object(f.jsx)("td",{children:s&&s[0].ceo})]}),Object(f.jsxs)("tr",{children:[Object(f.jsx)("th",{scope:"row",children:"Phone:"}
1),Object(f.jsx)("td",{children:s&&s[0].phone})]}),Object(f.jsxs)("tr",{children:[Object(f.jsx)("th",{scope:"row",children:"country:"}),Object(f.jsx)("td",{children:s&&s[0].country})]}),Object(f.jsxs)("tr",{children:[Object(f.jsx)("th",{scope:"row",children:"Description:"}),Object(f.jsx)("td",{children:s&&s[0].description})]}),Object(f.jsxs)("tr",{children:[Object(f.jsx)("th",{scope:"row",children:"Website:"}),Object(f.jsx)("td",{children:s&&s[0].website})]})]})})]})})}),P=t(21),H=t(31),I=t(32),_=t.n(I),B=Object(P.b)({homeReducer:O,detailsReducer:C}),F=Object(P.c)(B,Object(P.a)(H.a,_.a));t(55),t(56);var J=function(){return Object(f.jsx)(o.a,{store:F,children:Object(f.jsxs)(i.a,{children:[Object(f.jsx)(T,{}),Object(f.jsxs)(l.c,{children:[Object(f.jsx)(l.a,{exact:!0,path:"/",component:g}),Object(f.jsx)(l.a,{path:"/DetailsPage/:id",component:L})]})]})})};a.a.render(Object(f.jsx)(s.a.StrictMode,{children:Object(f.jsx)(J,{})}),document.getElementById("root"))}},[[58,1,2]]]);
2//# sourceMappingURL=main.e942d6c0.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.