PageSourceSearch

https://snagents.ai/_next/static/chunks/app/agents/page-7be61e18a26bbd39.js

js snagents.ai collected 2026-10-05 14:43:26 UTC 14,436 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[718],{4309:function(e,t,r){Promise.resolve().then(r.bind(r,6709))},8276:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var s=r(7437);function n(e){let{className:t="w-10 h-10"}=e;return(0,s.jsxs)("svg",{className:t,viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,s.jsx)("path",{d:"M24 4L38 12V28L24 36L10 28V12L24 4Z",stroke:"currentColor",strokeWidth:"2",className:"text-brand-neon",fill:"none"}),(0,s.jsx)("circle",{cx:"24",cy:"20",r:"3",fill:"currentColor",className:"text-brand-neon"}),(0,s.jsx)("circle",{cx:"18",cy:"24",r:"2",fill:"currentColor",className:"text-brand-light opacity-70"}),(0,s.jsx)("circle",{cx:"30",cy:"24",r:"2",fill:"currentColor",className:"text-brand-light opacity-70"}),(0,s.jsx)("circle",{cx:"24",cy:"28",r:"2",fill:"currentColor",className:"text-brand-light opacity-70"}),(0,s.jsx)("path",{d:"M24 20 L18 24 M24 20 L30 24 M24 20 L24 28 M18 24 L24 28 M30 24 L24 28",stroke:"currentColor",strokeWidth:"1",className:"text-brand-neon opacity-50"}),(0,s.jsx)("circle",{cx:"24",cy:"8",r:"1.5",fill:"currentColor",className:"text-brand-neon animate-pulse"}),(0,s.jsx)("circle",{cx:"34",cy:"16",r:"1",fill:"currentColor",className:"text-brand-light animate-pulse",style:{animationDelay:"0.3s"}}),(0,s.jsx)("circle",{cx:"14",cy:"16",r:"1",fill:"currentColor",className:"text-brand-light animate-pulse",style:{animationDelay:"0.6s"}})]})}},6709:function(e,t,r){"use strict";r.d(t,{default:function(){return c}});var s=r(7437),n=r(2265),a=r(7648),l=r(8533),o=r(8276);function i(e){let{selectedIds:t,onRemove:r,onClear:l,agentNames:o}=e,[i,c]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{c(t.length>0)},[t]),i)?(0,s.jsx)("div",{className:"fixed bottom-0 left-0 right-0 z-50 bg-brand-green border-t border-brand-neon/30 shadow-lg shadow-brand-neon/10 transform transition-transform duration-300",style:{transform:t.length>0?"translateY(0)":"translateY(100%)"},children:(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4",children:(0,s.jsxs)("div",{className:"flex items-center justify-between gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-3 flex-1 overflow-x-auto",children:[(0,s.jsxs)("span",{className:"text-sm text-brand-gray whitespace-nowrap",children:["Compare (",t.length,"/4):"]}),(0,s.jsx)("div",{className:"flex gap-2",children:t.map(e=>(0,s.jsxs)("div",{className:"flex items-center gap-2 px-3 py-1.5 bg-brand-dark border border-brand-light/20 rounded text-sm",children:[(0,s.jsx)("span",{className:"text-brand-offwhite truncate max-w-[150px]",children:o[e]||e}),(0,s.jsx)("button",{onClick:()=>r(e),className:"text-brand-gray hover:text-brand-neon transition-colors","aria-label":"Remove from compare",children:(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})})]},e))})]}),(0,s.jsxs)("div",{className:"flex items-center gap-3",children:[(0,s.jsx)("button",{onClick:l,className:"text-sm text-brand-gray hover:text-brand-offwhite transition-colors",children:"Clear all"}),t.length>=2?(0,s.jsxs)(a.default,{href:"/compare?ids=".concat(t.join(",")),className:"px-6 py-2 bg-brand-neon text-brand-green font-bold text-sm hover:bg-white transition-colors",children:["Compare ",t.length," Agents →"]}):(0,s.jsx)("span",{className:"px-6 py-2 bg-brand-gray/20 text-brand-gray font-bold text-sm cursor-not-allowed",children:"Select 2+ to compare"})]})]})})}):null}function c(e){let{agents:t,categories:r,agentCount:c}=e,[d,x]=(0,n.useState)([]),m=t.reduce((e,t)=>(e[t.id]=t.name,e),{}),h=(0,n.useCallback)(e=>{x(t=>t.includes(e)?t.filter(t=>t!==e):t.length>=4?t:[...t,e])},[]),b=(0,n.useCallback)(e=>{x(t=>t.filter(t=>t!==e))},[]),f=(0,n.useCallback)(()=>{x([])},[]),g=r.reduce((e,r)=>(e[r]=t.filter(e=>e.category===r),e),{});return(0,s.jsxs)("div",{className:"min-h-screen bg-brand-dark font-sans text-brand-offwhite selection:bg-brand-neon selection:text-brand-green relative",children:[(0,s.jsx)(l.default,{}),(0,s.jsx)("header",{className:"sticky top-0 z-50 bg-brand-green/95 backdrop-blur-sm border-b border-brand-light/20 relative",children:(0,s.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,s.jsxs)("div",{className:"flex justify-between items-center h-20",children:[(0,s.jsxs)(a.default,{href:"/",className:"flex items-center flex-shrink-0 group",children:[(0,s.jsx)("div",{className:"mr-3 text-brand-neon group-hover:scale-110 transition-transform",children:(0,s.jsx)(o.Z,{className:"w-10 h-10"})}),(0,s.jsx)("div",{children:(0,s.jsxs)("span",{className:"text-2xl font-bold text-brand-offwhite tracking-tight group-hover:text-brand-neon transition-colors",children:["SNAgents",(0,s.jsx)("span",{className:"font-light text-brand-gray",children:".ai"})]})})]}),(0,s.jsxs)("nav",{className:"flex items-center gap-6",children:[(0,s.jsx)(a.default,{href:"/agents",className:"text-sm font-medium text-brand-neon",children:"Agents"}),(0,s.jsx)(a.default,{href:"/marketplace",className:"text-sm font-medium text-brand-gray hover:text-brand-neon transition-colors",children:"Marketplace"}),(0,s.jsx)(a.default,{href:"/news",className:"text-sm font-medium text-brand-gray hover:text-brand-neon transition-colors",children:"News"}),(0,s.jsx)(a.default,{href:"/learn",className:"text-sm font-medium text-brand-gray hover:text-brand-neon transition-colors",children:"Learn"})]})]})})}),(0,s.jsxs)("main",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 relative z-10",children:[(0,s.jsxs)("header",{className:"text-center py-12 mb-12 border-b border-brand-light/10",children:[(0,s.jsxs)("span",{className:"inline-block px-3 py-1 mb-4 text-xs font-bold tracking-widest text-brand-green bg-brand-neon uppercase",children:[c,"+ Agents"]}),(0,s.jsxs)("h1",{className:"text-4xl md:text-6xl font-bold text-brand-offwhite mb-6 tracking-tight",children:["Browse All ",(0,s.jsx)("span",{className:"text-brand-neon",children:"AI Agents"})]}),(0,s.jsx)("p",{className:"text-xl text-brand-gray max-w-3xl mx-auto font-light leading-relaxed",children:"Comprehensive directory of ServiceNow AI Agents across all categories and product lines."})]}),(0,s.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-12",children:[(0,s.jsxs)("div",{className:"bg-brand-green border border-brand-light/20 p-6 text-center",children:[(0,s.jsx)("div",{className:"text-3xl font-bold text-brand-neon mb-2",children:c}),(0,s.jsx)("div",{className:"text-sm text-brand-gray",children:"Total Agents"})]}),(0,s.jsxs)("div",{className:"bg-brand-green border border-brand-light/20 p-6 text-center",children:[(0,s.jsx)("div",{className:"text-3xl font-bold text-brand-neon mb-2",children:r.length}),(0,s.jsx)("div",{className:"text-sm text-brand-gray",children:"Categories"})]}),(0,s.jsxs)("div",{className:"bg-brand-green border border-brand-light/20 p-6 text-center",children:[(0,s.jsx)("div",{className:"text-3xl font-bold text-brand-neon mb-2",children:"2"}),(0,s.jsx)("div",{className:"text-sm text-brand-gray",children:"Platform Releases"})]}),(0,s.jsxs)("div",{className:"bg-brand-green border border-brand-light/20 p-6 text-center",children:[(0,s.jsx)("div",{className:"text-3xl font-bold text-brand-neon mb-2",children:"Free"}),(0,s.jsx)("div",{className:"text-sm text-brand-gray",children:"Community Resource"})]})]}),(0,s.jsx)("div",{className:"space-y-12",children:r.map(e=>{var t,r,n;return(0,s.jsxs)("section",{className:"border-l-4 border-brand-neon pl-6",children:[(0,s.jsx)("div",{className:"flex items-center justify-between mb-6",children:(0,s.jsxs)("h2",{className:"text-2xl font-bold text-brand-offwhite",children:[e,(0,s.jsxs)("span",{className:"ml-3 text-sm text-brand-gray font-normal",children:["(",(null===(t=g[e])||void 0===t?void 0:t.length)||0," agents)"]})]})}),(0,s.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:null===(r=g[e])||void 0===r?void 0:r.slice(0,6).map(e=>{let t=d.includes(e.id);return(0,s.jsxs)("div",{className:"bg-brand-green/50 border p-4 hover:border-brand-neon hover:bg-brand-green transition-all duration-300 group relative ".concat(t?"border-brand-neon bg-brand-green":"border-brand-light/20"),children:[(0,s.jsxs)(a.default,{href:"/agents/".concat(e.id),children:[(0,s.jsx)("h3",{className:"text-sm font-semibold text-brand-offwhite mb-2 group-hover:text-brand-neon transition-colors line-clamp-2 pr-8",children:e.name}),e.collection&&(0,s.jsx)("span",{className:"text-xs text-brand-gray",children:e.collection})]}),(0,s.jsx)("button",{onClick:t=>{t.preventDefault(),h(e.id)},className:"absolute top-3 right-3 w-6 h-6 flex items-center justify-center border transition-all ".concat(t?"bg-brand-neon border-brand-neon text-brand-green":"border-brand-light/40 text-brand-gray hover:border-brand-neon hover:text-brand-neon"),title:t?"Remove from compare":"Add to compare",children:t?(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:3,d:"M5 13l4 4L19 7"})}):(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M12 4v16m8-8H4"})})})]},e.id)})}),(null===(n=g[e])||void 0===n?void 0:n.length)>6&&(0,s.jsxs)(a.default,{href:"/category/".concat(e.toLowerCase().replace(/\s+/g,"-")),className:"inline-flex items-center gap-2 mt-4 text-sm text-brand-neon font-bold hover:gap-3 transition-all",children:["View all ",g[e].length," agents",(0,s.jsx)("svg",{className:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})]})]},e)})})]}),(0,s.jsx)("footer",{className:"border-t border-brand-light/10 bg-brand-green py-12 mt-12 relative z-10 pb-24",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center",children:[(0,s.jsxs)("p",{className:"text-brand-gray text-sm mb-4",children:["\xa9 ",new Date().getFullYear()," SNAgents.ai - A free community resource for ServiceNow AI Agents"]}),(0,s.jsx)("p",{className:"text-brand-gray/70 text-xs mb-4",children:"Not affiliated with ServiceNow, Inc."}),(0,s.jsxs)("div",{className:"flex justify-center space-x-8",children:[(0,s.jsx)(a.default,{href:"/",className:"text-brand-gray hover:text-brand-neon text-sm font-medium transition-colors",children:"Home"}),(0,s.jsx)(a.default,{href:"/agents",className:"text-brand-gray hover:text-brand-neon text-sm font-medium transition-colors",children:"Agents"}),(0,s.jsx)(a.default,{href:"/learn",className:"text-brand-gray hover:text-brand-neon text-sm font-medium transition-colors",children:"Learn"})]})]})}),(0,s.jsx)(i,{selectedIds:d,onRemove:b,onClear:f,agentNames:m})]})}},8533:function(e,t,r){"use strict";r.d(t,{default:function(){return a}});var s=r(7437),n=r(2265);
1function a(){let[e,t]=(0,n.useState)(0);(0,n.useEffect)(()=>{let e=()=>{t(window.scrollY)};return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]);let r=.03+.02*Math.sin(e/200),a=.1*e;return(0,s.jsxs)("div",{className:"fixed inset-0 pointer-events-none overflow-hidden",children:[(0,s.jsxs)("svg",{className:"absolute inset-0 w-full h-full",style:{transform:"translateY(".concat(a,"px)"),opacity:r,transition:"opacity 0.3s ease-out"},children:[(0,s.jsxs)("defs",{children:[(0,s.jsxs)("linearGradient",{id:"shimmer",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[(0,s.jsx)("stop",{offset:"0%",stopColor:"#ccff00",stopOpacity:"0.1"}),(0,s.jsx)("stop",{offset:"50%",stopColor:"#139a43",stopOpacity:"0.2"}),(0,s.jsx)("stop",{offset:"100%",stopColor:"#ccff00",stopOpacity:"0.1"})]}),(0,s.jsxs)("pattern",{id:"circuit",x:"0",y:"0",width:"200",height:"200",patternUnits:"userSpaceOnUse",children:[(0,s.jsx)("line",{x1:"0",y1:"50",x2:"200",y2:"50",stroke:"url(#shimmer)",strokeWidth:"1"}),(0,s.jsx)("line",{x1:"0",y1:"150",x2:"200",y2:"150",stroke:"url(#shimmer)",strokeWidth:"1"}),(0,s.jsx)("line",{x1:"50",y1:"0",x2:"50",y2:"200",stroke:"url(#shimmer)",strokeWidth:"1"}),(0,s.jsx)("line",{x1:"150",y1:"0",x2:"150",y2:"200",stroke:"url(#shimmer)",strokeWidth:"1"}),(0,s.jsx)("line",{x1:"50",y1:"50",x2:"100",y2:"100",stroke:"url(#shimmer)",strokeWidth:"0.5"}),(0,s.jsx)("line",{x1:"100",y1:"100",x2:"150",y2:"150",stroke:"url(#shimmer)",strokeWidth:"0.5"}),(0,s.jsx)("circle",{cx:"50",cy:"50",r:"2",fill:"#ccff00",opacity:"0.3"}),(0,s.jsx)("circle",{cx:"150",cy:"50",r:"2",fill:"#139a43",opacity:"0.2"}),(0,s.jsx)("circle",{cx:"50",cy:"150",r:"2",fill:"#139a43",opacity:"0.2"}),(0,s.jsx)("circle",{cx:"150",cy:"150",r:"2",fill:"#ccff00",opacity:"0.3"}),(0,s.jsx)("circle",{cx:"100",cy:"100",r:"1.5",fill:"#ccff00",opacity:"0.4"}),(0,s.jsx)("circle",{cx:"75",cy:"75",r:"1",fill:"#139a43",opacity:"0.15"}),(0,s.jsx)("circle",{cx:"125",cy:"125",r:"1",fill:"#139a43",opacity:"0.15"})]})]}),(0,s.jsx)("rect",{x:"0",y:"0",width:"100%",height:"200%",fill:"url(#circuit)"})]}),(0,s.jsx)("div",{className:"absolute inset-0 bg-gradient-to-br from-brand-neon/5 via-transparent to-brand-light/5",style:{transform:"translateY(-".concat(.05*e,"px)"),opacity:.5}}),(0,s.jsxs)("svg",{className:"absolute inset-0 w-full h-full",style:{transform:"translateY(".concat(.5*a,"px)"),opacity:1.5*r},children:[(0,s.jsx)("defs",{children:(0,s.jsxs)("filter",{id:"glow",children:[(0,s.jsx)("feGaussianBlur",{stdDeviation:"2",result:"coloredBlur"}),(0,s.jsxs)("feMerge",{children:[(0,s.jsx)("feMergeNode",{in:"coloredBlur"}),(0,s.jsx)("feMergeNode",{in:"SourceGraphic"})]})]})}),(0,s.jsx)("path",{d:"M 0 100 Q 100 50, 200 100 T 400 100 T 600 100 T 800 100 T 1000 100",stroke:"#ccff00",strokeWidth:"0.5",fill:"none",opacity:"0.1",filter:"url(#glow)"}),(0,s.jsx)("path",{d:"M 0 300 Q 150 250, 300 300 T 600 300 T 900 300 T 1200 300",stroke:"#139a43",strokeWidth:"0.5",fill:"none",opacity:"0.08",filter:"url(#glow)"}),(0,s.jsx)("path",{d:"M 200 0 Q 250 100, 300 200 T 400 400 T 500 600",stroke:"#ccff00",strokeWidth:"0.5",fill:"none",opacity:"0.06",filter:"url(#glow)"})]})]})}},7648:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var s=r(2972),n=r.n(s)}},function(e){e.O(0,[972,971,117,744],function(){return e(e.s=4309)}),_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.