PageSourceSearch

https://www.educatorlab.org/_next/static/chunks/pages/downloads-272f14590d7a2c20.js

js educatorlab.org collected 2026-10-07 14:52:40 UTC 9,762 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[526],{8520:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/downloads",function(){return s(3798)}])},6095:function(e,t){"use strict";t.Z={src:"/_next/static/media/logo-trans.b80b707e.png",height:1007,width:2654,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAANlBMVEU7ZGAw0b7ttx58Znc/OzzWuyg7b2gOG0dBPj1DQz//yR8108JOlqFS2azltCNjVon9zkBltbB5P+raAAAAEHRSTlNbr3akghNJN1dEzdcxvZ3U9TLqcgAAAAlwSFlzAAALEwAACxMBAJqcGAAAACNJREFUeJxjYOTlYmLn5ORg4BYU4GPnYGFh4OFnZmVgY2AAAArPALab3JmUAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3}},5337:function(e,t,s){"use strict";s.d(t,{i:function(){return d}});var n=s(5893),a=s(5675),l=s.n(a),o=s(6095),r=s(9417),i=s(7814);let d=()=>(0,n.jsxs)("div",{className:"mt-20 pb-10 opacity-25",children:[(0,n.jsx)(l(),{src:o.Z,width:"300",alt:"EducatorLab",className:"text-center justify-center grayscale",style:{margin:"auto"}}),(0,n.jsxs)("p",{className:"p-2 text-center text-secondary-700",children:["Made with ",(0,n.jsx)(i.G,{icon:r.m6i}),(0,n.jsx)(l(),{src:"https://cdn.openai.com/API/logo-assets/powered-by-openai.svg",width:"100",height:"20",alt:"Powered by OpenAI",className:"m-auto"})]})]})},3798:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return v},default:function(){return F}});var n=s(5893),a=s(7294),l=s(3606),o=s(1163),r=s(7814),i=s(9417),d=s(1664),c=s.n(d);let h=e=>{let t=Math.floor((new Date-e)/1e3),s=Math.floor(t/31536e3);return s>1?s+" years ago":(s=Math.floor(t/2592e3))>1?s+" months ago":(s=Math.floor(t/86400))>1?s+" days ago":(s=Math.floor(t/3600))>1?s+" hours ago":(s=Math.floor(t/60))>1?s+" minutes ago":t<10?"just now":Math.floor(t)+" seconds ago"};var m=s(5110),x=s(8575),u=s(5675),g=s.n(u);let p=()=>{let[e,t]=(0,a.useState)(null);return((0,a.useEffect)(()=>{let e=async()=>{let e=await fetch("/api/sponsors",{method:"GET"}),t=await e.json();return t};e().then(e=>{t(e)}).catch(e=>{console.error(e)})},[]),e)?(0,n.jsxs)("div",{className:"pt-4 text-gray-500 border-solid border-2 border-teal-500 p-6 m-3 w-100 h-100",children:[e.sponsor.type,":"," ",(0,n.jsxs)(c(),{href:e.sponsor.link,target:"_top",className:"text-black text-center",children:[(0,n.jsx)(g(),{src:e.sponsor.image.src,width:e.sponsor.image.width,height:e.sponsor.image.height,alt:"".concat(e.sponsor.name," Logo")}),(0,n.jsx)("small",{children:e.sponsor.name})]})]}):(0,n.jsxs)("div",{className:"pt-4 text-gray-500 border-solid border-2 border-teal-500 p-6 m-3 w-100",children:["Sponsor:"," ",(0,n.jsxs)(c(),{href:"https://nerding.io/b/m7hDJ",className:"text-black text-center",children:[(0,n.jsx)(g(),{src:"https://images.payhip.com/o_1gosoh5n21dtm13j71spv6cm1nr5m.png",width:"300",height:"300",alt:"Nerding I/O"}),(0,n.jsx)("small",{children:"Nerding I/O"})]})]})},b=e=>{let{children:t,content:s}=e,[l,o]=(0,a.useState)(!1);return(0,n.jsxs)("div",{className:"relative inline-block",children:[(0,n.jsx)("div",{onMouseEnter:()=>o(!0),onMouseLeave:()=>o(!1),children:t}),l&&(0,n.jsx)("div",{className:"absolute z-10 p-2 -mt-1 text-sm text-white bg-gray-800 rounded-lg shadow-lg",children:s})]})},f=e=>{var t;let{user:s}=(0,l.aF)(),o=e.item;e.authOverride;let[d,u]=(0,a.useState)(null),g="https://app.educatorlab.org/auth/login?returnTo=".concat(encodeURIComponent(e.returnTo)),f=async()=>{await fetch("/api/pdf",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({html:o.postContent.replace(/&lt;/g,"<").replace(/&gt;/g,">"),options:{margin:"50px"}})}).then(e=>e.blob()).then(e=>{let t=window.URL.createObjectURL(e),s=document.createElement("a");s.href=t,s.setAttribute("download","".concat((0,x.vB)(o.title,"educator-lab_"),".pdf")),document.body.appendChild(s),s.click()})};return(0,n.jsx)("div",{className:"h-full",children:"sponsor"===o.title?(0,n.jsx)("div",{className:"h-full bg-[#FFF5EA] rounded-lg shadow-md p-4",children:(0,n.jsx)(p,{})}):(0,n.jsxs)("div",{className:"h-full bg-[#FFF5EA] rounded-lg shadow-md p-4 flex flex-col",children:[(0,n.jsxs)("div",{className:"flex-grow",children:[(0,n.jsxs)("div",{className:"text-[#333333] mb-2",children:[(0,n.jsx)(r.G,{icon:i.QRb,className:"mr-2"}),(0,n.jsx)("span",{className:"font-semibold",children:o.subject})," -"," ",null===(t=m.Y.find(e=>e.description===o.grade))||void 0===t?void 0:t.name]}),(0,n.jsx)("h3",{className:"text-xl font-bold text-[#FF5C35] mb-2",children:(0,n.jsx)(c(),{href:"/documents/".concat(o._id,"/").concat((0,x.vB)(o.title,"")),children:o.title})}),(0,n.jsx)("p",{className:"text-[#333333] mb-4",children:o.summary})]}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("a",{className:"btn bg-gray-200 hover:bg-gray-300 text-gray-800 font-bold py-2 px-4 roun
1ded-full inline-flex items-center mb-2 w-full justify-center",rel:"noopener noreferrer",target:"_blank",href:"https://project.supplies/?q=".concat(encodeURIComponent(o.title).replace(/ /g,"%20")),children:[(0,n.jsx)(r.G,{icon:i.OGB,className:"mr-2"})," Supply List"]}),s?(0,n.jsxs)("div",{className:"flex space-x-2",children:[(0,n.jsxs)("button",{className:"btn bg-gray-200 hover:bg-gray-300 text-gray-800 font-bold py-2 px-4 rounded-full flex-1",onClick:()=>(o.title,void fetch("/api/doc",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({html:o.postContent.replace(/&lt;/g,"<").replace(/&gt;/g,">")})}).then(e=>e.blob()).then(e=>{let t=window.URL.createObjectURL(e),s=document.createElement("a");s.href=t,s.setAttribute("download","".concat((0,x.vB)(o.title,"educator-lab_"),".docx")),document.body.appendChild(s),s.click()})),children:[(0,n.jsx)(r.G,{icon:i.kwI,className:"mr-2"})," Doc"]}),(0,n.jsxs)("button",{className:"btn bg-gray-200 hover:bg-gray-300 text-gray-800 font-bold py-2 px-4 rounded-full flex-1",onClick:()=>f(o.title),children:[(0,n.jsx)(r.G,{icon:i.kwI,className:"mr-2"})," PDF"]})]}):(0,n.jsxs)(c(),{className:"btn bg-[#FF5C35] hover:bg-[#E54E2E] text-white font-bold py-2 px-4 rounded-full inline-flex items-center justify-center w-full",href:g,children:["Join for free",(0,n.jsx)("svg",{width:"19",height:"18",viewBox:"0 0 19 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"ml-2",children:(0,n.jsx)("path",{d:"M9.18335 17.5166C8.96947 17.3028 8.85766 17.0305 8.84794 16.7C8.83822 16.3694 8.9403 16.0972 9.15419 15.8833L14.8709 10.1666H1.83335C1.5028 10.1666 1.22571 10.0548 1.0021 9.83123
1C0.778493 9.60762 0.666687 9.33053 0.666687 8.99998C0.666687 8.66942 0.778493 8.39234 1.0021 8.16873C1.22571 7.94512 1.5028 7.83331 1.83335 7.83331H14.8709L9.15419 2.11664C8.9403 1.90275 8.83822 1.63053 8.84794 1.29998C8.85766 0.96942 8.96947 0.697198 9.18335 0.483309C9.39724 0.26942 9.66947 0.162476 10 0.162476C10.3306 0.162476 10.6028 0.26942 10.8167 0.483309L18.5167 8.18331C18.6334 8.28053 18.716 8.40206 18.7646 8.54789C18.8132 8.69373 18.8375 8.84442 18.8375 8.99998C18.8375 9.15553 18.8132 9.30137 18.7646 9.43748C18.716 9.57359 18.6334 9.69998 18.5167 9.81664L10.8167 17.5166C10.6028 17.7305 10.3306 17.8375 10 17.8375C9.66947 17.8375 9.39724 17.7305 9.18335 17.5166Z",fill:"#F2F2F2"})})]})]}),(0,n.jsxs)("div",{className:"mt-4 flex items-center justify-between text-xs text-[#00A896]",children:[(0,n.jsx)("div",{className:"bg-[#E6F7F5] text-[#00A896] rounded-full px-3 py-1 whitespace-nowrap",children:h(new Date(o.created))}),(0,n.jsx)(b,{content:o.compliance,children:(0,n.jsx)("div",{className:"truncate max-w-[150px]",children:o.compliance})})]})]})},o._id)};var j=s(1406);s(5337);var w=s(2962),y=s(3522),A=s(9245),N=s(965),v=!0,F=function(e){let{user:t}=(0,l.aF)();(0,o.useRouter)();let[s,r]=(0,a.useState)(null),[i,d]=(0,a.useState)([]);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(w.PB,{title:"Free Daily and Weekly Downloads of PDF and Doc Files of Lesson Plans on Famous Individuals in the Academic History",canonical:"https://educatorlab.org/downloads",additionalMetaTags:{name:"keywords",content:"free downloads,daily downloads,weekly downloads,pdf files,doc files,lesson plans,activities,famous individuals,academic history,history,literature,science,art,teaching,learning,teachers,homeschoolers,tutors,students,engagement,inspiration"},openGraph:{url:"https://educatorlab.org/downloads"}}),(0,n.jsxs)("div",{className:"min-h-screen bg-[#FFF5EA]",children:[" ",(0,n.jsx)(A.Z,{}),(0,n.jsxs)("main",{className:"container mx-auto px-4 py-8",children:[(0,n.jsxs)("h1",{className:"text-4xl md:text-6xl font-bold text-center text-[#FF5C35] mb-4",children:[" ","Free Daily & Weekly Downloads"]}),(0,n.jsxs)("h2",{className:"text-xl text-center text-[#333333] mb-8",children:[" ","Lesson Plans on famous individuals and moments in history"]}),(0,n.jsx)(j.V,{}),(0,n.jsxs)("section",{className:"bg-white rounded-lg shadow-lg p-6 mb-8",children:[(0,n.jsxs)("h2",{className:"text-2xl font-semibold text-[#FF5C35] mb-4",children:[" ","Today's Download"]}),(0,n.jsx)(f,{item:e.today,index:"0",returnTo:"downloads",authOverride:!0})]}),(0,n.jsxs)("section",{className:"bg-white rounded-lg shadow-lg p-6 mb-8",children:[(0,n.jsxs)("h2",{className:"text-2xl font-semibold text-[#FF5C35] mb-4",children:[" ","Weekly Downloads"]}),(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:e.weekly.map((e,t)=>(0,n.jsx)(f,{item:e,index:t,returnTo:"downloads"},e._id))})]}),(0,n.jsxs)("section",{className:"bg-white rounded-lg shadow-lg p-6 mb-8",children:[(0,n.jsxs)("h2",{className:"text-2xl font-semibold text-[#FF5C35] mb-4",children:[" ","Past Downloads"]}),(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6",children:e.past.map((e,t)=>(0,n.jsx)(f,{item:e,index:t,returnTo:"downloads"},e._id))})]}),(0,n.jsx)(y.A,{})]}),(0,n.jsx)(N.Z,{})]})]})}}},function(e){e.O(0,[976,664,675,712,774,888,179],function(){return e(e.s=8520)}),_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.