PageSourceSearch

https://www.nsf.org/_next/static/chunks/1j7tuckvu_hnj.js

js nsf.org collected 2026-09-24 08:06:11 UTC 9,963 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33480,e=>{"use strict";function t(e,t){return"local"===t?e:{...e,timeZone:t}}function r(e,n,i="UTC",l={month:"short",day:"numeric",year:"numeric"}){return e?(e instanceof Date?e:new Date(e)).toLocaleDateString(n,t(l,i)):""}let n="MMMM d, y",i={es:"es",pt:"pt-BR",de:"de",ko:"ko-KR",ja:"ja",it:"it",bg:"bg",fr:"fr",ro:"ro",vi:"vi"},l=new Map,a=e=>String(e).padStart(2,"0");function o(e,t,n,i="UTC"){let l=r(e,n,i);if(!l||!t)return l;let a=new Date(e),u=new Date(t),s=e=>{let t=new Intl.DateTimeFormat("en",{year:"numeric",month:"numeric",day:"numeric",timeZone:i}).formatToParts(e);return{year:parseInt(t.find(e=>"year"===e.type)?.value??"0"),month:parseInt(t.find(e=>"month"===e.type)?.value??"0"),day:parseInt(t.find(e=>"day"===e.type)?.value??"0")}},c=s(a),m=s(u);if(c.year===m.year&&c.month===m.month&&c.day===m.day)return l;if(c.year===m.year&&c.month===m.month){let e=a.toLocaleDateString(n,{month:"short",day:"numeric",timeZone:i});return`${e} – ${m.day}, ${m.year}`}let d=r(t,n,i);return`${l} – ${d}`}e.s(["extractCmsTimezone",0,function(e){if(!e)return;if(e.endsWith("Z"))return"UTC";let t=e.match(/([+-])(\d{2}):(\d{2})$/);if(!t)return;let[,r,n,i]=t;if("00"!==i)return;let l=parseInt(n);return 0===l?"UTC":`Etc/GMT${"+"===r?"-":"+"}${l}`},"formatDate",0,r,"formatDateRange",0,o,"formatLocalizedDate",0,function(e,t,r=n){var o,u,s;let c,m,d,f,h,g;if(!e)return"";let y=e instanceof Date?e:new Date(e);if(Number.isNaN(y.getTime()))return"string"==typeof e?e:"";let p=r;return"zh"===t.code?"CN_zh"===t.handle?(c="zh-CN",r===n&&(p="yyyy年M月d日")):c="en-US":"ko"===t.code?(c="ko-KR",r===n&&(p="yyyy년 M월 d일")):c=i[t.code]??"en-US",o=p,u=c,s=t.code,m=y.getFullYear(),d=y.getMonth()+1,f=y.getDate(),g={yyyy:String(m).padStart(4,"0"),y:String(m),MMMM:"vi"===s?`th\xe1ng ${a(d)}`:((h=l.get(u))||(h=new Intl.DateTimeFormat(u,{month:"long"}),l.set(u,h)),h.format(y)),MM:a(d),M:String(d),dd:a(f),d:String(f)},o.replace(/yyyy|MMMM|MM|dd|y|M|d/g,e=>g[e])},"formatTime",0,function(e,r,n="UTC",i={hour:"numeric",minute:"2-digit",hour12:!0}){return e?(e instanceof Date?e:new Date(e)).toLocaleTimeString(r,t(i,n)):""},"formatTimeRange",0,function(e,t,r,n){if(!e)return"";let i=new Date(e);if(0===i.getUTCHours()&&0===i.getUTCMinutes())return"";let l=n?{timeZone:n}:{},a={hour:"numeric",minute:"2-digit",hour12:!0,...l};if(!t)return i.toLocaleTimeString(r,{...a,timeZoneName:"short"});let u=new Date(t),s=n??"UTC",c=e=>new Intl.DateTimeFormat("en",{year:"numeric",month:"numeric",day:"numeric",timeZone:s}).format(e),m=c(i)!==c(u),d=new Intl.DateTimeFormat(r,{timeZoneName:"short",...l}).formatToParts(u).find(e=>"timeZoneName"===e.type)?.value??"",f=i.toLocaleTimeString(r,a),h=u.toLocaleTimeString(r,a),g=`${f} – ${h}${d?` (${d})`:""}`;if(m){let i=o(e,t,r,n);return`${i}, ${g}`}return g},"intlLocaleTag",0,function(e){return`${e.code}-${e.region}`}])},82438,e=>{"use strict";var t=e.i(47472),r=e.i(33480);e.s(["CourseDate",0,({entry:e,locale:n})=>{let[i,l]=(0,t.useState)(!1);if((0,t.useEffect)(()=>
1{l(!0)},[]),!i)return"";let a=e.courseStart,o=e.courseEnd;if(a&&o){let e=(0,r.formatDate)(a,n.code,"local",{month:"long",day:"numeric"}),t=(0,r.formatDate)(o,n.code,"local",{month:"long",day:"numeric"}),i=(0,r.formatDate)(o,n.code,"local",{year:"numeric",month:"long",day:"numeric"});return e===t?i:e+" – "+i}return a?(0,r.formatDate)(a,n.code,"local",{year:"numeric",month:"long",day:"numeric"}):""},"CourseTime",0,({entry:e,locale:n})=>{let[i,l]=(0,t.useState)(!1);if((0,t.useEffect)(()=>{l(!0)},[]),!i)return"";let a=e.courseStart,o=e.courseEnd,u=12===n.hourFormat;return a&&o?(0,r.formatTime)(a,n.code,"local",{hour12:u,hour:"numeric",minute:"numeric"})+" – "+(0,r.formatTime)(o,n.code,"local",{hour12:u,hour:"numeric",minute:"numeric",timeZoneName:"shortGeneric"}):a?(0,r.formatTime)(e.courseStart,n.code,"local",{hour12:u,hour:"2-digit",minute:"2-digit",timeZoneName:"shortGeneric"}):""}])},27138,e=>{"use strict";var t=e.i(30332),r=e.i(85891),n=e.i(45142),i=e.i(33480),l=e.i(17348),a=e.i(76166),o=e.i(77621),u=e.i(90374),s=e.i(7578),c=e.i(68235);e.s(["CardNews",0,({card:e,entryDate:m,isListItem:d=!0,widths:f})=>{let h=(0,n.useParams)(),g=(0,r.useRouter)(),{locale:y,t:p}=(0,l.inferLocale)(h.country,h.lang),x=e.primaryImage[0],b=(0,i.formatLocalizedDate)(m??e.postDate,y),v=()=>{e.url&&g.push(e.url)},N=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"relative h-[120px] lg:h-[150px]",children:x?(0,t.jsx)("div",{className:"absolute size-full",children:(0,t.jsx)(u.Asset,{asset:x,sizes:"(min-width: 1280px) 25vw, (min-width: 1024px) 33vw, (min-width: 768px) 50vw, 100vw",widths:f})}):(0,t.jsx)("div",{className:"h-[170px] w-full flex-none sm:order-2 md:max-w-64",children:(0,t.jsx)(c.PlaceholderImage,{alt:"",fill:!0,className:"size-full object-cover"})})}),(0,t.jsxs)("div",{className:"flex grow flex-col gap-2 p-2",children:[(0,t.jsxs)("div",{className:"flex flex-col",children:[e.title&&(0,t.jsx)("h3",{className:"h6 group-hover:text-blue-bright",children:e.title}),(0,t.jsx)("span",{className:"p3",children:b})]}),e.intro?(0,t.jsx)("div",{className:"p2",children:(0,a.stripTags)(e.intro)}):(0,t.jsx)("div",{className:"p2",children:function(e=[]){let t=e.find(e=>e?.typeHandle==="text");return(0,a.stripTags)(t?.text||"")??""}(e.bodyContent)}),(0,t.jsxs)("div",{className:"flex grow justify-between",children:[(0,t.jsx)(s.SmartLink,{className:"focus-ring inline-block self-end text-blue-bright",href:e.url,"aria-label":e.title?`${p("Read the Story")}: ${e.title}`:p("Read the Story"),children:p("Read the Story")}),(0,t.jsx)(o.default,{name:"NSFLogo",className:"inline-block size-5 self-end text-blue-bright","aria-hidden":"true"})]})]})]});return d?(0,t.jsx)("li",{className:"col-span-full h-full md:col-span-6 lg:col-span-4 xl:col-span-3",children:(0,t.jsx)("div",{role:"group","aria-label":p("article"),className:"h-full",children:(0,t.jsx)("div",{className:"p2 group flex h-full cursor-pointer flex-col border border-gray-cool/30 text-blue transition-colors duration-500 ease-in-out hover:bg-gray-cool/30",onClick:v,children:N})})}):(0,t.jsx)("div",{role:"group","aria-label":p("item"),className:"col-span-full h-full md:col-span-6 lg:col-span-4 xl:col-span-3",children:(0,t.jsx)("div",{className:"p2 group flex h-full cursor-pointer flex-col border border-gray-cool/30 text-blue transition-colors duration-500 ease-in-out hover:bg-gray-cool/30",onClick:v,children:N})})}])},22259,e=>{"use strict";var t=e.i(34627);function r(e,t,n="en-US",i){if(null==e||1===e)return null;if(-1===e)return i?.privateTraining??"Private Training";if(0===e)return i?.free??"FREE";try{return new Intl.NumberFormat(n,{style:"currency",currency:t??"USD",maximumFractionDigits:0}).format(e)}catch{return new Intl.NumberFormat(n,{style:"currency",currency:"USD",maximumFractionDigits:0}).format(e)}}let n=[["CA$","CAD"],["A$","AUD"],["$","USD"],["£","GBP"],["€","EUR"]],i=/\b(USD|GBP|EUR|CAD|AUD|ZAR|NZD|SGD|INR|BRL|MXN|THB|JPY|KRW|CNY|RON|BGN)\b/;e.s(["buildClickEvent",0,function(e,t,r,n){return{event:"filtered_list_result_selected",click_text:e.title,click_url:t(e.url),element_index:e.__position,results_count:r,...n&&{view_as_type:n}}},"formatDuration",0,function(e){if(!e)return null;
1let t=e.replace(/\s*(VILT|ILT|OD)\s*/gi," ").trim(),r=t.match(/(\d+(?:\.\d+)?)\s*days?/i),n=t.match(/(\d+(?:\.\d+)?)\s*hours?/i);if(r&&n){let e=parseFloat(r[1]),t=parseFloat(n[1]),i=1===e?"1 day":`${r[1]} days`,l=1===t?"1 hour":`${n[1]} hours`;return`${i} (${l})`}return r?1===parseFloat(r[1])?"1 day":`${r[1]} days`:n?1===parseFloat(n[1])?"1 hour":`${n[1]} hours`:t||null},"formatPrice",0,function(e,t="en-US",n){return void 0!==e.priceAmount?r(e.priceAmount,e.priceCurrency??null,t,n):e.price?e.price:null},"formatPriceAmount",0,r,"hasDisplayableDate",0,function(e){return"number"==typeof e&&e>0&&e<=24e8},"parsePriceString",0,function(e){if(!e)return{amount:null,currency:null};let t=e.replace(/\s*\([^)]*\)\s*$/u,"").trim();if(!t)return{amount:null,currency:null};if("-1"===t)return{amount:-1,currency:null};if(/^free$/i.test(t))return{amount:0,currency:null};let r=null,l=t.match(i);if(l)r=l[1];else for(let[e,i]of n)if(t.includes(e)){r=i;break}let a=t.match(/([0-9][0-9,]*(?:\.[0-9]+)?)/);if(!a)return{amount:null,currency:null};let o=Number(a[1].replace(/,/g,""));return Number.isFinite(o)&&1!==o?{amount:o,currency:r??"USD"}:{amount:null,currency:null}},"pillClasses",0,function(e){return(0,t.default)("focus-ring rounded-full px-2.5 pb-[3px] pt-1 text-sm transition-colors",e?"bg-blue-bright text-white":"border border-gray-cool text-blue-bright hover:bg-gray-cool/30")}])},62242,e=>{"use strict";var t=e.i(30332),r=e.i(11363),n=e.i(47472),i=e.i(76166),l=e.i(48020);e.s(["SideBar",0,({heading:e,items:a=[],...o})=>{let[u,s]=(0,n.useState)("md:top-6 lg:top-32");(0,n.useEffect)(()=>{let e=()=>{document.getElementById("geoBanner")&&s("md:top-48"),window.removeEventListener("scroll",e)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]);let c=(0,l.sidebarItems)(a);if(c.length>0)return(0,t.jsx)("aside",{className:"mb-8 w-full self-center md:w-75 md:self-stretch",...o,children:(0,t.jsxs)("div",{className:`w-full bg-gray-cool/30 md:sticky md:max-h-screen md:overflow-auto ${u}`,children:[e&&(0,t.jsx)("h2",{className:"h5 bg-green-dark px-4 py-2 font-semibold text-white",children:e}),(0,t.jsx)("ul",{className:"space-y-4 p-4",children:c.map(e=>{let n=e.cta,l=e.ctaFormLink?`#form-${e.ctaFormLink.id}`:n.url??"#",a=e.heading??n.text??"",o=n.element,u=e.text??(o&&"intro"in o?o.intro:void 0);return(0,t.jsxs)("li",{children:[(0,t.jsx)("h3",{className:"p2 mb-1 font-semibold",children:(0,t.jsx)(r.default,{href:l,target:n.target??void 0,className:"text-blue-bright hover:underline",children:(0,i.parser)(a)})}),u&&(0,t.jsx)("p",{className:"p2",children:(0,i.parser)(u)})]},e.text)})})]})})}])}]);

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.