PageSourceSearch

https://digitalsherpa.ai/assets/Blogspage-D9jGWnCz.js

js digitalsherpa.ai collected 2026-10-05 12:50:20 UTC 12,246 bytes, 64 lines download raw bytes

1import{a6 as x,w as e,L as c}from"./index-DR5X41Iw.js";import{H as n}from"./HeroSection-Bcqkel8b.js";import{C as o}from"./clock-3-SUaPOpTb.js";import{u as d}from"./useQuery-DWkqS0bL.js";import{f as m,L as h}from"./formatBlogDate-BK2H9aVY.js";import{b as p,a as u}from"./blogs.api-DFMk6Q5s.js";import{c as g}from"./createLucideIcon-C5By1HUq.js";import"./index-DcNlVx-A.js";import"./environment.dev-0zRrfTH0.js";/**
2 * @license lucide-react v1.16.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const f=[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]],j=g("newspaper",f),v=({blog:t})=>{const s=x();return e.jsxs("article",{onClick:()=>s(`/about-ds/blogs/${t.id}`),className:"group relative cursor-pointer overflow-hidden rounded-[15px] bg-[#0B2D63] text-white",children:[t.coverImage?e.jsxs(e.Fragment,{children:[e.jsx("img",{src:t.coverImage,alt:t.title,className:"absolute inset-0 h-full w-full object-cover transition-transform duration-700 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#071C42]/95 via-[#0B2D63]/90 to-[#081D44]/95"})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#010D50] via-[#04164A] to-[#081D44]"}),e.jsx("div",{className:"absolute inset-0 opacity-[0.04]",style:{backgroundImage:`
7                linear-gradient(to right, white 1px, transparent 1px),
8                linear-gradient(to bottom, white 1px, transparent 1px)
9              `,backgroundSize:"40px 40px"}})]}),e.jsx("div",{className:"absolute -right-20 -top-20 h-[260px] w-[260px] rounded-full bg-[#F58220]/10 blur-3xl"}),e.jsx("div",{className:"absolute bottom-[-30px] right-[-10px] text-[220px] font-black text-white/[0.04]",children:"DS"}),e.jsxs("div",{className:"relative z-10 flex h-full min-h-[460px] flex-col p-7 sm:p-9",children:[" ",e.jsxs("div",{className:"pt-2 lg:pt-3",children:[e.jsx("div",{className:"mb-5 flex flex-wrap items-center gap-3",children:e.jsx("span",{className:"rounded-full bg-[#F58220] px-4 py-2 text-[11px] font-bold uppercase tracking-[0.14em] text-white",children:t.category})}),e.jsx("h3",{className:"max-w-4xl text-[24px] font-black leading-[1.08] tracking-[-0.03em] text-white sm:text-[24px] lg:text-34px]",children:t.title}),e.jsx("p",{className:"mt-5 max-w-3xl text-[15px] leading-[1.8] text-white/75 sm:text-base",children:t.excerpt}),e.jsxs("div",{className:"mt-7 flex flex-wrap items-center gap-4 text-white/80",children:[e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-[#F58220] text-sm font-bold text-white",children:t.author.name.split(" ").map(a=>a[0]).join("")}),e.jsx("span",{className:"text-base font-medium text-white",children:t.author.name}),e.jsx("span",{className:"text-white/30",children:"•"}),e.jsx("span",{children:t.publishedAt}),e.jsx("span",{className:"text-white/30",children:"•"}),e.jsx("span",{children:t.readTime})]})]})]})]})},N=({blog:t,compact:s=!1})=>{const a=x();return e.jsx("article",{onClick:()=>a(`/about-ds/blogs/${t.id}`),className:`
10        group flex h-full cursor-pointer overflow-hidden
11        rounded-[15px] border border-[#DDE5F0]
12        bg-white transition-all duration-300
13        hover:-translate-y-[2px]
14        hover:border-[#B8C9E2]
15        hover:shadow-lg
16      `,children:e.jsxs("div",{className:"flex h-full w-full flex-col md:flex-row",children:[e.jsxs("div",{className:`
17      relative shrink-0 overflow-hidden
18      ${s?"h-[180px] w-full md:h-auto md:w-[40%]":"h-[220px] w-full md:h-auto md:w-[45%]"}
19    `,children:[t.coverImage?e.jsxs(e.Fragment,{children:[e.jsx("img",{src:t.coverImage,alt:t.title,className:`
20            h-full w-full object-cover
21            object-[center_15%]
22            transition-transform duration-700
23            group-hover:scale-105
24          `}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0B2D63]/25 via-trans
24parent to-transparent"})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#010D50] via-[#04164A]  to-[#F58220]"}),e.jsx("div",{className:"absolute inset-0 opacity-[0.08]",style:{backgroundImage:`
25              linear-gradient(to right, white 1px, transparent 1px),
26              linear-gradient(to bottom, white 1px, transparent 1px)
27            `,backgroundSize:"22px 22px"}})]}),e.jsxs("div",{className:"absolute left-4 top-4",children:[e.jsx("span",{className:"rounded-full bg-[#F58220] px-3 py-1.5 text-[10px] font-bold uppercase tracking-[0.14em] text-white shadow-md",children:t.category}),e.jsxs("div",{className:`
28        mt-5 flex flex-col gap-1
29        text-[#7A8AA0]
30        ${s?"text-[12px]":"text-sm"}
31      `,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:`
32            flex items-center justify-center rounded-full
33            bg-[#1E4C92] font-bold text-white
34            ${s?"h-8 w-8 text-[10px]":"h-9 w-9 text-xs"}
35          `,children:t.author.name.split(" ").map(i=>i[0]).join("")}),e.jsx("span",{className:"font-semibold text-white",children:t.author.name})]}),e.jsx("span",{className:"ml-11",children:t.publishedAt}),e.jsx("span",{className:"ml-11",children:t.readTime})]})]})]}),e.jsx("div",{className:`
36      flex min-w-0 flex-1 flex-col justify-between
37      ${s?"p-4":"p-5"}
38    `,children:e.jsxs("div",{children:[e.jsx("h3",{className:`
39          line-clamp-3 break-words font-bold
40          leading-[1.2] tracking-[-0.02em]
41          text-[#0B2D63]
42          transition-colors duration-300
43          group-hover:text-[#F58220]
44          ${s?"text-[17px]":"text-[18px]"}
45        `,children:t.title}),e.jsx("p",{className:`
46          mt-3 line-clamp-4 text-[#6D7B92] text-justify
47          ${s?"text-[13px] leading-[1.65]":"text-[14px] leading-[1.75]"}
48        `,children:t.excerpt})]})})]})})},w=({featuredBlog:t,sideBlogs:s})=>e.jsx("section",{className:"bg-white py-16",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[e.jsx("div",{className:"mb-5 flex items-center justify-between",children:e.jsxs("h2",{className:"text-[40px] font-black text-[#0B2D63]",children:[e.jsx("span",{className:"font-serif italic text-[#F58220]",children:"Editor's"})," ","selection"]})}),e.jsxs("div",{className:"grid gap-5 lg:grid-cols-12",children:[e.jsx("div",{className:"lg:col-span-5",children:e.jsx(v,{blog:t})}),e.jsx("div",{className:"lg:col-span-7",children:e.jsx("div",{className:`
49        grid h-full gap-5
50        ${s.length===1?"grid-rows-1":s.length===2?"grid-rows-2":"grid-rows-3"}
51      `,children:s.map(a=>e.jsx("div",{className:"min-h-0",children:e.jsx(N,{blog:a,compact:s.length>=3})},a.id))})})]})]})}),b=({blog:t})=>e.jsx(c,{to:`/about-ds/blogs/${t.id}`,className:"block h-full",children:e.jsxs("article",{className:"group flex h-full min-h-[430px] flex-col overflow-hidden rounded-[15px] border border-[#D9E3F0] bg-white transition-all duration-300 hover:-translate-y-1 hover:shadow-xl",children:[e.jsxs("div",{className:"relative h-[180px] overflow-hidden sm:h-[210px]",children:[t.coverImage?e.jsxs(e.Fragment,{children:[e.jsx("img",{src:t.coverImage,alt:t.title,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0B2D63]/90 via-[#0B2D63]/40 to-transparent"})]}):e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-[#010D50] via-[#04164A] to-[#F58220]"}),e.jsx("div",{className:"absolute inset-0 opacity-[0.06]",style:{backgroundImage:`
52                    linear-gradient(to right, white 1px, transparent 1px),
53                    linear-gradient(to bottom, white 1px, transparent 1px)
54                  `,backgroundSize:"24px 24px"}})]}),e.jsxs("div",{className:"absolute right-3 top-3 flex items-center gap-1.5 rounded-full border border-white/10 bg-[#08285C]/95 px-3 py-1.5 text-[11px] font-semibold text-white backdrop-blur",children:[e.jsx(o,{className:"h-3.5 w-3.5"}),e.jsx("span",{children:t.readTime})]}),e.jsx("div",{className:"absolute bottom-4 left-4",children:e.jsx("span",{className:"rounded-full bg-[#F58220] px-3 py-1.5 text-[10px] font-bold uppercase tracking-[0.16em] text-white sm:text-[11px]",children:t.category})})]}),e.jsxs("div",{className:"flex flex-1 flex-col p-4 sm:p-5",children:[e.jsx("h3",{className:`
55    line-clamp-3
56    text-[17px]
57    font-bold
58    leading-[1.35]
59    tracking-[-0.02em]
60    text-[#0B2D63]
61    transition-colors duration-300
62    group-hover:text-[#F58220]
63    sm:text-[19px]
64  `,children:t.title}),e.jsx("p",{className:"mb-3 mt-4 min-h-[46px] line-clamp-3 text-[14px] leading-[1.7] text-[#6D7B92] sm:min-h-[58px] sm:text-[15px]",children:t.excerpt}),e.jsxs("div",{className:"mt-auto flex items-center border-t border-[#
64E7EDF5] pt-3",children:[e.jsx("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-[#1E4C92] text-[11px] font-bold text-white sm:h-9 sm:w-9 sm:text-xs",children:t.author.name.split(" ").map(s=>s[0]).join("")}),e.jsxs("div",{className:"ml-3 flex flex-wrap items-center gap-1.5 text-[12px] text-[#7C8CA3] sm:text-[13px]",children:[e.jsx("span",{className:"font-semibold text-[#22395F]",children:t.author.name}),e.jsx("span",{children:"•"}),e.jsx("span",{children:t.publishedAt})]})]})]})]})}),y=({blogs:t})=>e.jsx("section",{className:"bg-white py-10",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-6",children:[e.jsx("div",{className:"mb-7 flex items-center justify-between",children:e.jsxs("h2",{className:"text-[40px] font-black leading-none text-[#0B2D63]",children:[e.jsx("span",{className:"font-serif italic text-[#F58220]",children:"Fresh"})," from the field"]})}),e.jsx("div",{className:"grid items-stretch gap-5 md:grid-cols-2 xl:grid-cols-3",children:t.map(s=>e.jsx(b,{blog:s},s.id))})]})}),l={badge:"THE SHERPA JOURNAL",titleTop:"Field notes from the",titleHighlight:"agentic frontier",description:"Honest deep-dives into Agentic AI BPM, Human-in-the-Loop design, multi-agent systems, and what actually happens when enterprises put these into production. From the team building DS iFlow."},F=t=>{var a,i,r;const s=((r=(i=(a=t.categories)==null?void 0:a[0])==null?void 0:i.category)==null?void 0:r.name)||"Technology";return{id:t.id,slug:t.title,title:t.title,excerpt:t.summary,coverImage:t.bannerImage,readTime:`${t.readingTime} min read`,publishedAt:m(t.createdAt),category:s,author:{name:t.author}}},k=()=>d({queryKey:p.all,queryFn:async()=>(await u()).data.map(F),staleTime:1e3*60*5}),L=()=>{const{data:t=[],isLoading:s,isError:a}=k();return s?e.jsx("div",{className:"flex min-h-screen items-center justify-center",children:e.jsx(h,{className:"h-8 w-8 animate-spin text-[#F58220]"})}):a?e.jsx(e.Fragment,{children:e.jsx("section",{className:"bg-white py-24",children:e.jsxs("div",{className:"mx-auto max-w-3xl px-6 text-center",children:[e.jsx("h2",{className:"text-[34px] font-black text-[#0B2D63]",children:"Unable to load articles"}),e.jsx("p",{className:"mt-4 text-[#6D7B92] leading-[1.8]",children:"Something went wrong while loading the latest blogs. Please try again shortly."})]})})}):t.length?e.jsxs(e.Fragment,{children:[e.jsx(n,{data:l}),e.jsx(w,{featuredBlog:t[0],sideBlogs:t.slice(1,3)}),e.jsx(y,{blogs:t})]}):e.jsxs(e.Fragment,{children:[e.jsx(n,{data:l}),e.jsx("section",{className:"bg-white py-24",children:e.jsxs("div",{className:"mx-auto flex max-w-3xl flex-col items-center px-6 text-center",children:[e.jsx("div",{className:"flex h-20 w-20 items-center justify-center rounded-full bg-[#F4F7FB]",children:e.jsx(j,{className:"h-10 w-10 text-[#F58220]"})}),e.jsx("h2",{className:"mt-8 text-[34px] font-black leading-tight text-[#0B2D63] sm:text-[42px]",children:"No blogs published yet"}),e.jsx("p",{className:"mt-4 max-w-2xl text-[16px] leading-[1.8] text-[#6D7B92] sm:text-[17px]",children:"We’re preparing fresh insights, operational intelligence, and agentic AI content for you. Please check back soon."})]})})]})};export{L as default};

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.