PageSourceSearch

https://solyo.ai/_next/static/chunks/1879.1684a54c98e35790.js

js solyo.ai collected 2026-10-05 14:07:19 UTC 4,507 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1879],{41879:(e,t,s)=>{s.r(t),s.d(t,{default:()=>o});var a=s(95155),n=s(12115),l=s(20063),r=s(52472),i=s(98349),c=s(58529);function d(e){let{summary:t,onOpen:s}=e,n=t.studentName.split(" ")[0]||"Student";return(0,a.jsx)(i.Ay,{title:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"font-serif text-brand-accent",children:n}),(0,a.jsx)("span",{className:"font-serif text-token-primary",children:" Scholarships"})]}),icon:r.A,footerText:"Review matches",onClick:s,children:(0,a.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-6 gap-y-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-3xl font-semibold text-token-primary leading-none",children:t.thisYearCount}),(0,a.jsx)("p",{className:"type-body-sm text-token-tertiary mt-1",children:"eligible"})]}),t.deadlinesThisWeek>0&&(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-3xl font-semibold text-red-600 leading-none",children:t.deadlinesThisWeek}),(0,a.jsx)("p",{className:"type-body-sm text-token-tertiary mt-1",children:function(e){let t=e.dueSoonBy?function(e){let t=new Date(e);return isNaN(t.getTime())?"":t.toLocaleDateString("en-US",{month:"short",day:"numeric",timeZone:"UTC"})}(e.dueSoonBy):"";return 1===e.deadlinesThisWeek?t?"application closes ".concat(t):"application closes this week":t?"applications closing by ".concat(t):"applications closing this week"}(t)})]})]})})}function o(){let e=(0,l.useRouter)(),{allStudentNames:t,selectStudent:s}=(0,c.w3)(),[r,i]=(0,n.useState)(null),[o,x]=(0,n.useState)(!1);if((0,n.useEffect)(()=>{let e=!1;return fetch("/api/scholarships/matches?summaryOnly=true").then(e=>e.ok?e.json():null).then(t=>{if(!e){var s;(null==t?void 0:t.success)&&Array.isArray(null==(s=t.data)?void 0:s.students)&&i(t.data.students),x(!0)}}).catch(()=>{e||x(!0)}),()=>{e=!0}},[]),!o||!r||0===r.length)return null;let u=t.map(e=>r.find(t=>t.studentName===e)).filter(e=>!!e);if(0===u.length)return null;let h=t=>{s(t),e.push("/scholarships")};return 1===u.length?(0,a.jsx)(d,{summary:u[0],onOpen:()=>h(u[0].studentName)}):(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:u.map(e=>(0,a.jsx)(d,{summary:e,onOpen:()=>h(e.studentName)},e.studentName))})}},52472:(e,t,s)=>{s.d(t,{A:()=>a});let a=(0,s(5121).A)("award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]])},98349:(e,t,s)=>{s.d(t,{AW:()=>i,Ay:()=>r,m1:()=>c});var a=s(95155);s(12115);var n=s(52987),l=s(25016);function r(e){let{title:t,icon:s,iconBg:r,iconColor:i,footerText:c,footerCount:d,footerCountSuffix:o,onClick:x,children:u,className:h,badge:p}=e;return(0,a.jsx)("div",{className:(0,l.cn)("group relative",x&&"cursor-pointer"),onClick:x,children:(0,a.jsxs)("div",{className:(0,l.cn)("landing-glass rounded-[20px] border border-text-brand/[0.06] p-4 h-full flex flex-col","shadow-[0_2px_8px_rgba(26,22,18,0.06),0_1px_3px_rgba(26,22,18,0.04)]","transition-all duration-300 hover:shadow-[0_8px_24px_rgba(26,22,18,0.1),0_2px_8px_rgba(26,22,18,0.06)]",x&&"hover:-translate-y-0.5 active:scale-[0.99]",h),children:[(0,a.jsxs)("div",{className:"flex items-center gap-3 mb-4",children:[(0,a.jsx)("h3",{className:"type-h4 text-token-primary flex-1",children:t}),p]}),(0,a.jsx)("div",{className:"flex-1 flex flex-col",children:u}),(c||void 0!==d)&&(0,a.jsxs)("div",{className:"flex items-center justify-between mt-auto pt-3 border-t border-text-brand/[0.06]",children:[(0,a.jsxs)("span",{className:"type-body-sm text-token-tertiary",children:[void 0!==d&&(0,a.jsxs)(a.Fragment,{children:[d," ",o||""]}),void 0===d&&c]}),(0,a.jsx)(n.A,{className:"w-4 h-4 text-token-tertiary/40 group-hover:text-brand-accent group-hover:translate-x-0.5 transition-all duration-200"})]})]})})}function i(e){let{message:t,actionText:s}=e;return(0,a.jsxs)("div",{className:"flex-1 flex flex-col justify-center text-center py-4",children:[(0,a.jsx)("p",{className:"type-body-sm text-token-tertiary",children:t}),s&&(0,a.jsx)("p",{className:"type-body-sm text-brand-accent mt-1",children:s})]})}function c(){return(0,a.jsxs)("div",{className:"flex-1 flex flex-col gap-3 animate-pulse",children:[(0,a.jsx)("div",{className:"h-4 bg-surface-peach rounded w-3/4"}),(0,a.jsx)("div",{className:"h-3 bg-surface-peach rounded w-1/2"}),(0,a.jsx)("div",{className:"h-3 bg-surface-peach rounded w-2/3"})]})}}}]);

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.