PageSourceSearch

https://educatorsplus.live/_next/static/chunks/pages/app-blog-e71a8caefc10843d.js

js educatorsplus.live collected 2026-10-02 02:01:51 UTC 5,357 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8646],{92509:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});const n=(0,r(91373).Z)("layout-grid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]])},538:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/app-blog",function(){return r(30593)}])},30593:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return _}});var n=r(47568),l=r(97582),i=r(85893),s=r(2024),a=r(11163),o=r(21661),c=r(47041),d=r(29823),u=r(48394),x=r(59637),m=r(30381),g=r.n(m),p=r(96486),h=r(14570),f=r(35063),b=r(83609),v=r(95358),j=function(e){var t=null===e||void 0===e?void 0:e.replace(/<[^>]*>/g,"").trim();return(0,p.isEmpty)(t)?"":t},N=function(e){return"/app-blog/".concat(e.id,"-").concat((0,v.G)(e.title||""),"?page=0")},y=function(e){var t=e.datetime;return t?(0,i.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-primary",children:[(0,i.jsx)("span",{children:g()(t).format("DD MMM YYYY")}),(0,i.jsx)("span",{className:"w-2 h-2 rounded-full bg-primary flex-shrink-0"}),(0,i.jsx)("span",{children:g()(t).format("hh:mm A")})]}):null};function w(e){var t,r=e.blogs,n=(0,a.useRouter)(),l=(null===r||void 0===r||null===(t=r.data)||void 0===t?void 0:t.slice(0,3))||[];if(0===l.length)return null;var s=(0,x.Z)(l),o=s[0],c=s.slice(1);return(0,i.jsxs)("section",{className:"relative w-full overflow-hidden -mt-[84px] md:-mt-[96px] bg-card",children:[(0,i.jsx)("div",{className:"pointer-events-none absolute inset-x-0 bottom-0 h-1/2",children:(0,i.jsx)(f.Z,{})}),(0,i.jsxs)("div",{className:"relative z-10 max-w-7xl mx-auto px-4 xl:px-0 pt-[108px] md:pt-[120px] pb-6 lg:pb-8 flex flex-col gap-6",children:[(0,i.jsx)(b.Z,{breadcrumbs:[{label:"Home",href:"/"},{label:"Blogs"}],showCategoryRow:!1,className:"gap-0"}),(0,i.jsx)("h2",{className:"text-3xl md:text-4xl font-bold tracking-tight text-card-foreground mb-0",children:"Recent blog posts"}),(0,i.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,i.jsxs)("div",{className:"group flex flex-col bg-secondary rounded-lg border border-border overflow-hidden transition-all duration-300 p-3 gap-4 cursor-pointer",onClick:function(){return n.push(N(o))},children:[(0,i.jsx)("div",{children:(0,i.jsx)(h.Z,{mode:"blur-bg",image:o.thumbnail,title:o.title,imgHeight:"260"})}),(0,i.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,i.jsx)("h3",{className:"text-2xl font-semibold text-card-foreground line-clamp-2 mb-0",children:o.title}),(0,i.jsx)(y,{datetime:o.datetime}),j(o.content)&&(0,i.jsx)("p",{className:"text-muted-foreground text-sm md:text-base leading-relaxed line-clamp-3 mb-0",children:j(o.content)})]})]}),(0,i.jsx)("div",{className:"flex flex-col gap-6",children:c.map((function(e){return(0,i.jsxs)("div",{className:"group grid bg-secondary rounded-2xl border border-border overflow-hidden transition-all duration-300 cursor-pointer grid-cols-[2.5fr_3fr] gap-4 p-2",onClick:function(){return n.push(N(e))},children:[(0,i.jsx)("div",{className:"",children:(0,i.jsx)(h.Z,{mode:"blur-bg",image:e.thumbnail,title:e.title,imgHeight:"160"})}),(0,i.jsxs)("div",{className:"flex flex-col justify-center gap-2",children:[(0,i.jsx)("h3",{className:"text-lg font-semibold text-card-foreground line-clamp-2 mb-0",children:e.title}),(0,i.jsx)(y,{datetime:e.datetime}),j(e.content)&&(0,i.jsx)("p",{className:"text-muted-foreground text-sm leading-relaxed line-clamp-2 mb-0",children:j(e.content)})]})]},e.id)}))})]})]})]})}function _(e){var t=e.blogs,r=e.blogCategories,n=e.categoryName,l=e.recentBlogs,s=(0,a.useRouter)().query.page;return(0,i.jsxs)("div",{className:"flex flex-col min-h-screen gap-6 lg:gap-12",children:[(0,i.jsx)(w,{blogs:l}),r.length>0&&(0,i.jsx)("div",{className:"w-full",children:(0,i.jsx)("div",{className:"max-w-7xl mx-auto px-4 xl:px-0",children:(0,i.jsxs)(o.Z,{trackClassName:"gap-3 items-center px-1 py-5",showGradients:!1,scrollAmount:300,children:[(0,i.jsx)(u.w,{category:{id:"",exam_name:"All Blogs"}},"all"),r.map((function(e){return(0,i.jsx)(u.w,{category:e},e.id)}))]})})}),(0,i.jsx)("div",{className:"max-w-7xl mx-auto w-full px-4 xl:px-0 pb-24",children:(0,i.jsx)(u.Z,{blogs:t,page:s,categoryName:n})})]})}_.getInitialProps=function(){var e=(0,n.Z)((function(e){var t,r,n,i,a,o,u,x;return(0,l.__generator)(this,(function(l){switch(l.label){case 0:return t=e.query.category,r=(0,c.getCookie)(d.z1,e),[4,(0,s.ph)(r,0)];case 1:return n=l.sent(),[4,(0,s.JE)(r)];case 2:return i=l.sent(),a=i.data,o={title:t?null:""},(0,p.isEmpty)(t)||(u=a.find((function(e){return e.id==t})))&&(o={title:u.exam_name,id:u.id}),x=[],o.id?[4,(0,s.PR)(r,0,o.id)]:[3,4];case 3:return x=l.sent(),[3,5];case 4:x=n,l.label=5;case 5:return[2,{blogs:x,blogCategories:a,categoryName:o.title,re
1centBlogs:n}]}}))}));return function(t){return e.apply(this,arguments)}}()},59637:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var n=r(39474),l=r(13375),s=r(53128),a=r(91566);function o(e){return(0,n.Z)(e)||(0,l.Z)(e)||(0,a.Z)(e,i)||(0,s.Z)()}}},function(e){e.O(0,[4885,1078,3609,2481,9774,2888,179],(function(){return t=538,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.