PageSourceSearch

https://fin100x.ai/_next/static/chunks/app/(main)/blog/page-16b111b2c91bb405.js

js fin100x.ai collected 2026-10-05 14:14:30 UTC 9,913 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2428],{2685:(e,t,a)=>{Promise.resolve().then(a.bind(a,34265))},34265:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>u});var l=a(95155),r=a(12115),n=a(18859),s=a(54780),i=a(58785),o=a(73321);let d=e=>{let{isPage:t=!0}=e,a=(0,s.j)();(0,o.usePathname)();let{items:d=[],loading:c,error:u,count:x=0}=(0,s.G)(e=>e.blog),[m,h]=(0,r.useState)(1);(0,r.useEffect)(()=>{a((0,i.k)({page:m,limit:6}))},[a,m]);let g=Math.ceil(x/6);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t?"h1":"h2",{className:"text-center mb-10 mt-10 text-4xl md:text-6xl font-bold bg-gradient-to-l from-[#2F0777] to-[#AD255C] bg-clip-text text-transparent",children:t?"FIN AI Blog & Insights":"Daily Financial Updates"}),(0,l.jsxs)("div",{className:"max-w-7xl mx-auto px-6 pb-12",children:[c&&(0,l.jsx)("div",{className:"text-center py-10 text-gray-600",children:"Loading..."}),u&&(0,l.jsx)("div",{className:"text-center py-10 text-red-500",children:u}),!c&&!u&&0===d.length&&(0,l.jsx)("div",{className:"text-center py-10 text-gray-500",children:"No blogs found."}),!c&&!u&&d.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8",children:d.map(e=>(0,l.jsxs)(n.P.div,{whileHover:{scale:1.03},className:"bg-white rounded-2xl shadow-lg overflow-hidden flex flex-col h-full",children:[e.featuredImage&&(0,l.jsx)("img",{src:e.featuredImage,alt:e.title,className:"w-full h-48 object-cover"}),(0,l.jsxs)("div",{className:"p-4 flex flex-col flex-grow",children:[(0,l.jsx)("h3",{className:"text-lg font-semibold text-gray-900 line-clamp-2",children:e.title}),(0,l.jsx)("a",{href:"/blogs/".concat(e.slug),className:"mt-auto inline-block text-center bg-gradient-to-l from-[#2F0777] to-[#AD255C] text-white py-2 px-4 rounded-lg font-medium hover:shadow-md transition",children:"View More"})]})]},e.id))}),g>1&&(0,l.jsxs)("div",{className:"flex justify-center items-center gap-6 mt-10",children:[(0,l.jsx)("button",{onClick:()=>{m>1&&h(e=>e-1)},disabled:1===m,className:"px-4 py-2 bg-gray-200 text-gray-700 rounded-lg disabled:opacity-50",children:"Previous"}),(0,l.jsxs)("span",{className:"text-gray-600 font-medium",children:["Page ",m," of ",g]}),(0,l.jsx)("button",{onClick:()=>{m<g&&h(e=>e+1)},disabled:m===g,className:"px-4 py-2 bg-[#2F0777] text-white rounded-lg disabled:opacity-50",children:"Next"})]})]})]})]})};var c=a(54281);function u(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(d,{isPage:!0}),(0,l.jsx)(c.A,{})]})}},42268:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=(0,a(78340).A)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]])},54281:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var l=a(95155);a(12115);var r=a(42268),n=a(67431),s=a(26932);function i(e){let{surface:t=n.aM.lavender,eyebrow:a="Two platforms \xb7 one sovereign foundation",title:i="Fin AI and InQAI",highlight:o="InQAI",lede:d="One intelligence foundation underneath, two platforms on top: one for the financial system, one for the state.",exclude:c=[],className:u=""}=e,x=n.Bn.filter(e=>!c.includes(e.id));return x.length?(0,l.jsxs)("section",{className:"relative overflow-hidden ".concat(u),style:{background:t},children:[(0,l.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 h-px",style:{background:"linear-gradient(90deg, transparent, rgba(47,7,119,.18), transparent)"}}),(0,l.jsxs)("div",{className:"container relative mx-auto max-w-7xl px-6 py-16 md:px-16 md:py-20",children:[(0,l.jsxs)("div",{className:"mx-auto max-w-3xl text-center",children:[(0,l.jsx)(s.gN,{children:(0,l.jsx)(s.YZ,{children:a})}),(0,l.jsx)(s.xn,{text:i,highlight:o,highlightGradient:n.oh,className:"mt-6 text-3xl font-bold leading-[1.1] tracking-tight text-slate-900 md:text-[2.5rem]"}),d?(0,l.jsx)(s.gN,{delay:140,children:(0,l.jsx)("p",{className:"mt-5 text-[15px] leading-relaxed text-slate-600",children:d})}):null]}),(0,l.jsx)("div",{className:"mt-12 grid gap-6 ".concat(x.length>1?"md:grid-cols-2":"mx-auto max-w-2xl"),children:x.map((e,t)=>(0,l.jsx)(s.gN,{delay:110*t,className:"h-full",children:(0,l.jsxs)("a",{href:e.href,...e.external?{target:"_blank",rel:"noopener noreferrer"}:{},className:"group/pb relative flex h-full flex-col overflow-hidden rounded-2xl bg-white p-7 transition-[transform,box-shadow] duration-500 ease-[
1cubic-bezier(.22,1,.36,1)] hover:-translate-y-1.5",style:{boxShadow:"0 18px 46px -28px rgba(47,7,119,.45)"},children:[(0,l.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-x-0 top-0 h-[3px] origin-left scale-x-0 transition-transform duration-500 ease-[cubic-bezier(.22,1,.36,1)] group-hover/pb:scale-x-100",style:{background:e.gradient}}),(0,l.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 rounded-2xl opacity-0 transition-opacity duration-500 group-hover/pb:opacity-100",style:{boxShadow:"inset 0 0 0 1px ".concat(e.tint,"33")}}),(0,l.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-0 opacity-0 transition-opacity duration-500 group-hover/pb:opacity-100",style:{background:"radial-gradient(120% 90% at 0% 100%, ".concat(e.tint,"12, transparent 65%)")}}),(0,l.jsx)("p",{className:"relative text-[11px] font-semibold uppercase tracking-[0.16em]",style:{color:e.tint},children:e.kicker}),(0,l.jsx)("h3",{className:"relative mt-2 text-2xl font-bold text-slate-900",children:e.name}),(0,l.jsx)("p",{className:"relative mt-1.5 text-[13px] font-semibold text-slate-500",children:e.audience}),(0,l.jsx)("p",{className:"relative mt-4 text-[15px] font-semibold leading-snug text-slate-800",children:e.lead}),(0,l.jsx)("p",{className:"relative mt-3 text-sm leading-relaxed text-slate-600",children:e.body}),(0,l.jsx)("ul",{className:"relative mt-5 space-y-2.5",children:e.capabilities.map(t=>(0,l.jsxs)("li",{className:"flex gap-2.5 text-sm leading-snug text-slate-600",children:[(0,l.jsx)("span",{"aria-hidden":!0,className:"mt-1.5 h-1.5 w-1.5 shrink-0 rounded-full",style:{background:e.tint}}),(0,l.jsxs)("span",{children:[(0,l.jsxs)("span",{className:"font-semibold text-slate-800",children:[t.title,":"]})," ",t.body]})]},t.title))}),(0,l.jsxs)("span",{className:"relative mt-auto inline-flex items-center gap-1.5 pt-6 text-sm font-semibold",style:{color:e.tint},children:["Explore ",e.name,(0,l.jsx)(r.A,{className:"h-4 w-4 transition-transform duration-300 group-hover/pb:-translate-y-0.5 group-hover/pb:translate-x-0.5"})]})]})},e.id))})]})]}):null}},54780:(e,t,a)=>{"use strict";a.d(t,{G:()=>n,j:()=>r});var l=a(2834);let r=()=>(0,l.wA)(),n=l.d4},58785:(e,t,a)=>{"use strict";a.d(t,{A:()=>o,k:()=>i});var l=a(11785),r=a(94716);let n="".concat("https://fin100x.ai","/api/v1"),s={getAll:async function(){var e,t,a,l,s,i,o;let d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,u=await r.A.get("".concat(n,"/blogs"),{params:{page:d,limit:c}});return{blogs:Array.isArray(null==(e=u.data)?void 0:e.data)?u.data.data:[],count:null!=(o=null!=(i=null==(a=u.data)||null==(t=a.pagination)?void 0:t.total)?i:null==(s=u.data)||null==(l=s.data)?void 0:l.length)?o:0}},getBySlug:async e=>{try{var t;let a=await r.A.get("".concat(n,"/blogs/").concat(e)),l=(null==(t=a.data)?void 0:t.data)||a.data;if(!l||!l.id)throw Error("Blog not found");return l}catch(a){let t=(await s.getAll()).blogs.find(t=>t.slug===e);if(!t)throw Error("Blog not found");return t}}},i=(0,l.zD)("blog/fetchAll",async(e,t)=>{let{rejectWithValue:a}=t;try{let t=(null==e?void 0:e.page)||1,a=(null==e?void 0:e.limit)||5;return{...await s.getAll(t,a),page:t,limit:a}}catch(e){var l,r;return a((null==e||null==(r=e.response)||null==(l=r.data)?void 0:l.message)||"Failed to fetch blogs")}}),o=(0,l.Z0)({name:"blog",initialState:{items:[],count:0,loading:!1,error:null,currentPage:1,limit:5},reducers:{},extraReducers:e=>{e.addCase(i.pending,e=>{e.loading=!0,e.error=null}).addCase(i.fulfilled,(e,t)=>{e.loading=!1,e.items=t.payload.blogs,e.count=t.payload.count,e.currentPage=t.payload.page,e.limit=t.payload.limit}).addCase(i.rejected,(e,t)=>{e.loading=!1,e.error=t.payload||"Failed to fetch blogs"})}}).reducer},73321:(e,t,a)=>{"use strict";var l=a(74645);a.o(l,"useParams")&&a.d(t,{useParams:function(){return l.useParams}}),a.o(l,"usePathname")&&a.d(t,{usePathname:function(){return l.usePathname}}),a.o(l,"useRouter")&&a.d(t,{useRouter:function(){return l.useRouter}}),a.o(l,"useSearchParams")&&a.d(t,{useSearchParams:function(){return l.useSearchParams}})},78340:(e,t,a)=>{"use strict";a.d(t,{A:()=>
1o});var l=a(12115);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,a)=>a?a.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},n=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((e,t,a)=>!!e&&""!==e.trim()&&a.indexOf(e)===t).join(" ").trim()};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let i=(0,l.forwardRef)((e,t)=>{let{color:a="currentColor",size:r=24,strokeWidth:i=2,absoluteStrokeWidth:o,className:d="",children:c,iconNode:u,...x}=e;return(0,l.createElement)("svg",{ref:t,...s,width:r,height:r,stroke:a,strokeWidth:o?24*Number(i)/Number(r):i,className:n("lucide",d),...!c&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(x)&&{"aria-hidden":"true"},...x},[...u.map(e=>{let[t,a]=e;return(0,l.createElement)(t,a)}),...Array.isArray(c)?c:[c]])}),o=(e,t)=>{let a=(0,l.forwardRef)((a,s)=>{let{className:o,...d}=a;return(0,l.createElement)(i,{ref:s,iconNode:t,className:n("lucide-".concat(r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()),"lucide-".concat(e),o),...d})});return a.displayName=r(e),a}}},e=>{e.O(0,[2834,8859,4166,4716,6932,4695,8441,7934,7358],()=>e(e.s=2685)),_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.