1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="12074dd3-0309-43ba-9a48-28297ced8165",e._sentryDebugIdIdentifier="sentry-dbid-12074dd3-0309-43ba-9a48-28297ced8165")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15362],{72447:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/AICourses/community/gratitude",function(){return a(12012)}])},33706:function(e,t,a){"use strict";var s=a(85893),r=(a(67294),a(11163));t.Z=function(e){var t=e.title,a=e.subtitle,n=e.action,i=e.children,l=e.breadcrumb,o=e.wide,c=void 0!==o&&o,m=(0,r.useRouter)(),x="full"===c?"max-w-6xl xl:max-w-7xl 2xl:max-w-[1360px]":"narrow"===c?"max-w-2xl sm:max-w-3xl lg:max-w-4xl":c?"max-w-6xl xl:max-w-7xl":"max-w-5xl";return(0,s.jsxs)("div",{className:"font-inter min-h-full bg-gray-50",children:[(0,s.jsx)("div",{className:"sticky top-0 z-10 bg-white/95 backdrop-blur-sm border-b border-gray-100",children:(0,s.jsx)("div",{className:"".concat(x," mx-auto px-4 sm:px-6 lg:px-8 xl:px-10 py-3"),children:(0,s.jsxs)("nav",{className:"flex items-center gap-1.5 text-xs sm:text-sm text-gray-500",children:[(0,s.jsx)("button",{type:"button",onClick:function(){return m.push("/learner")},className:"hover:text-primary-600 transition",children:"Home"}),(0,s.jsx)("span",{className:"text-gray-300",children:"\u203a"}),(0,s.jsx)("span",{className:"text-primary-600 font-medium truncate",children:l||t})]})})}),(0,s.jsxs)("div",{className:"".concat(x," mx-auto px-4 sm:px-6 lg:px-8 xl:px-10 py-6 lg:py-8"),children:[(0,s.jsxs)("div",{className:"flex flex-col gap-4 sm:flex-row sm:items-end sm:justify-between mb-6 lg:mb-8",children:[(0,s.jsxs)("div",{className:"space-y-1.5 min-w-0",children:[(0,s.jsx)("h1",{className:"text-2xl sm:text-3xl lg:text-[2rem] font-bold text-gray-900 tracking-tight leading-tight",children:t}),a&&(0,s.jsx)("p",{className:"text-gray-500 text-sm sm:text-base leading-relaxed max-w-2xl",children:a})]}),n&&(0,s.jsx)("div",{className:"w-full sm:w-auto shrink-0 [&_button]:w-full sm:[&_button]:w-auto",children:n})]}),i]})]})}},25910:function(e,t,a){"use strict";var s=a(85893),r=a(67294),n=a(89583),i=a(86501),l={"bg-primary-500":"bg-primary-500","bg-primary-600":"bg-primary-600","bg-primary-700":"bg-primary-700","bg-primary-800":"bg-primary-800","bg-secondary-500":"bg-secondary-500","bg-secondary-600":"bg-secondary-600","bg-emerald-600":"bg-emerald-600","bg-purple-600":"bg-purple-600","bg-orange-500":"bg-orange-500","bg-pink-600":"bg-pink-600","bg-indigo-600":"bg-indigo-600","bg-teal-600":"bg-teal-600","bg-slate-700":"bg-slate-700","bg-rose-600":"bg-rose-600","bg-amber-600":"bg-amber-600","bg-fuchsia-600":"bg-fuchsia-600","bg-cyan-700":"bg-cyan-700","bg-lime-700":"bg-lime-700"},o="w-full aspect-video sm:aspect-[16/9] object-contain max-h-[420px] bg-gray-50",c=function(e){var t=e.images,a=e.alt,i=(0,r.useState)(0),l=i[0],c=i[1];return(0,s.jsxs)("div",{className:"relative bg-gray-50",children:[(0,s.jsx)("img",{src:t[l],alt:a?"".concat(a," \u2014 slide ").concat(l+1):"Slide ".concat(l+1),className:o}),(0,s.jsx)("button",{type:"button",onClick:function(){return c((function(e){return 0===e?t.length-1:e-1}))},"aria-label":"Previous image",className:"absolute left-2 sm:left-3 top-1/2 -translate-y-1/2 w-8 h-8 sm:w-9 sm:h-9 rounded-full bg-white/90 text-gray-700 shadow-md hover:bg-white transition flex items-center justify-center",children:(0,s.jsx)(n.bUI,{className:"text-xs sm:text-sm"})}),(0,s.jsx)("button",{type:"button",onClick:function(){return c((function(e){return e===t.length-1?0:e+1}))},"aria-label":"Next image",className:"absolute right-2 sm:right-3 top-1/2 -translate-y-1/2 w-8 h-8 sm:w-9 sm:h-9 rounded-full bg-white/90 text-gray-700 shadow-md hover:bg-white transition flex items-center justify-center",children:(0,s.jsx)(n.Dli,{className:"text-xs sm:text-sm"})}),(0,s.jsx)("div",{className:"absolute bottom-3 left-1/2 -translate-x-1/2 flex items-center gap-1.5",children:t.map((function(e,t){return(0,s.jsx)("button",{type:"button",onClick:function(){return c(t)},"aria-label":"Go to slide ".concat(t+1),className:"h-2 rounded-full transition-all ".concat(t===l?"w-5 bg-primary-600":"w-2 bg-white/80 hover:bg-white")},e)}))})]})};t.Z=function(e){var t=e.author,a=e.initials,m=e.avatarColor,x=void 0===m?"bg-primary-500":m,d=e.timeAgo,u=e.industry,g=e.title,b=e.content,p=e.description,h=e.hashtags,f=void 0===h?[]:h,y=e.image,w=e.images,j=void 0===w?[]:w,v=e.video,N=e.liveLink,k=(0,r.useState)(!1),C=k[0],_=k[1],I=(0,r.useState)(!1),P=I[0],S=I[1],E=(0,r.useState)(1),Z=E[0],A=E[1],D=(0,r.useState)(0)[0],U=b||p||"",G=U.length>200,H=C||!G?U:"".concat(U.slice(0,200),"..."),L=function(e,t){if(null===t||void 0===t?void 0:t.trim())return t.trim().toUpperCase();if(!(null===e||void 0===e?void 0:e.trim()))return"?";var a=e.trim().split(/\s+/);return 1===a.length?a[0].slice(0,2).toUpperCase():"".concat(a[0][0]).concat(a[a.length-1][0]).toUpperCase()}(t,a),T=l[x]||"bg-primary-500",O=j.length>0?j:y?[y]:[],X=!v&&O.length>1;return(0,s.jsxs)("article",{className:"bg-white rounded-2xl border border-gray-200/80 shadow-sm hover:shadow-md transition-shadow duration-200 overflow-hidden",children:[(0,s.jsxs)("div",{className:"p-4 sm:p-6",children:[(0,s.jsxs)("div",{className:"flex items-start gap-3 mb-4",children:[(0,s.jsx)("div",{className:"w-10 h-10 sm:w-11 sm:h-11 rounded-full ".concat(T," flex items-center justify-center text-white font-semibold text-sm flex-shrink-0 ring-2 ring-white shadow-sm"),children:L}),(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsx)("p",{className:"font-semibold text-gray-900 text-sm sm:text-base leading-tight truncate",children:t}),(0,s.jsx)("p",{className:"text-xs text-gray-400 mt-0.5",children:d})]}),u&&(0,s.jsx)("span",{className:"hidden sm:inline-flex text-xs font-medium text-primary-700 bg-primary-50 border border-primary-100 px-2.5 py-1 rounded-full shrink-0",children:u})]}),u&&(0,s.jsx)("span",{className:"sm:hidden inline-flex text-xs font-medium text-primary-700 bg-primary-50 border border-primary-100 px-2.5 py-1 rounded-full mb-3",children:u}),g&&(0,s.jsx)("h3",{className:"text-lg sm:text-xl font-bold text-gray-900 mb-2 leading-snug",children:g}),U&&(0,s.jsxs)("p",{className:"text-sm sm:text-[15px] text-gray-600 leading-relaxed",children:[H,G&&!C&&(0,s.jsx)("button",{type:"button",onClick:function(){return _(!0)},className:"text-primary-600 font-medium ml-1 hover:underline",children:"read more"})]}),f.length>0&&(0,s.jsx)("div",{className:"flex flex-wrap items-center gap-2 mt-4",children:f.map((function(e){return(0,s.jsx)("span",{className:"text-xs text-gray-600 bg-gray-100 hover:bg-gray-200 px-2.5 py-1 rounded-lg cursor-pointer transition",children:e},e)}))})]}),(v||O.length>0)&&(0,s.jsx)("div",{className:"border-t border-gray-100 ".concat(v?"bg-gray-900":"bg-gray-50"),children:v?(0,s.jsx)("video",{src:v,poster:y,controls:!0,controlsList:"nodownload noplaybackrate noremoteplayback",disablePictureInPicture:!0,playsInl
1ine:!0,preload:"metadata",onContextMenu:function(e){return e.preventDefault()},className:"w-full aspect-video sm:aspect-[16/9] object-contain max-h-[420px] bg-black"}):X?(0,s.jsx)(c,{images:O,alt:g}):(0,s.jsx)("img",{src:O[0],alt:g||"Post image",className:o})}),N&&(0,s.jsxs)("div",{className:"px-4 sm:px-6 py-3 bg-gray-50 border-t border-gray-100 flex items-center gap-2",children:[(0,s.jsx)(n.gjK,{className:"text-primary-500 text-xs flex-shrink-0"}),(0,s.jsx)("a",{href:N,target:"_blank",rel:"noopener noreferrer",className:"text-primary-600 text-xs sm:text-sm font-medium hover:underline truncate",children:N})]}),(0,s.jsxs)("div",{className:"px-4 sm:px-6 py-3 border-t border-gray-100 flex items-center gap-4 sm:gap-6 bg-white",children:[(0,s.jsxs)("button",{type:"button",onClick:function(){S((function(e){return!e})),A((function(e){return P?e-1:e+1}))},className:"flex items-center gap-1.5 text-sm text-gray-500 hover:text-red-500 transition",children:[P?(0,s.jsx)(n.$0H,{className:"text-red-500 text-base"}):(0,s.jsx)(n.BgW,{className:"text-base"}),(0,s.jsx)("span",{children:Z})]}),(0,s.jsxs)("button",{type:"button",className:"flex items-center gap-1.5 text-sm text-gray-500 hover:text-primary-600 transition",children:[(0,s.jsx)(n.ZvA,{className:"text-base"}),(0,s.jsx)("span",{children:D})]}),(0,s.jsxs)("button",{type:"button",onClick:function(){navigator.clipboard&&(navigator.clipboard.writeText(window.location.href),i.ZP.success("Link copied to clipboard!"))},className:"flex items-center gap-1.5 text-sm text-gray-500 hover:text-primary-600 transition ml-auto",children:[(0,s.jsx)(n.PPi,{className:"text-base"}),(0,s.jsx)("span",{className:"hidden sm:inline",children:"Share"})]})]})]})}},12012:function(e,t,a){"use strict";a.r(t);var s=a(85893),r=(a(67294),a(89583)),n=a(46412),i=a(33706),l=a(25910),o=a(18772),c=a(86501);t.default=(0,n.CQ)((function(){return(0,s.jsx)(i.Z,{wide:!0,title:"Impact & Gratitude",subtitle:"A space to appreciate, thank, and celebrate wins",action:(0,s.jsxs)("button",{onClick:function(){return c.ZP.success("Share gratitude feature coming soon!")},className:"inline-flex items-center gap-2 bg-primary-600 text-white text-sm font-semibold px-4 py-2.5 rounded-xl hover:bg-primary-700 transition shadow-sm",children:[(0,s.jsx)(r.wEH,{className:"text-xs"}),"Share Gratitude"]}),children:(0,s.jsx)("div",{className:"space-y-5",children:o.iJ.map((function(e){return(0,s.jsx)(l.Z,{author:e.author,initials:e.initials,avatarColor:e.avatarColor,timeAgo:e.timeAgo,content:e.content,image:e.image},e.id)}))})})}))}},function(e){e.O(0,[3874,30277,95445,61228,97948,94824,32013,29866,12876,44949,74550,9584,55250,41377,16629,95551,76701,52515,13700,93183,43626,70529,53833,56132,22359,49774,92888,40179],(function(){return t=72447,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.