PageSourceSearch

https://whitelabel-loyalty.com/_next/static/chunks/1466.81272e372957d31a.js

js whitelabel-loyalty.com collected 2026-09-24 17:40:18 UTC 5,761 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1466],{79361:function(e,s){s.Z=function(e,s,i){s in e?Object.defineProperty(e,s,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[s]=i;return e}},91268:function(e,s,i){var t=i(85893),l=i(28582),o=i(61608),n=i.n(o),r=i(41664),d=i.n(r),a=i(45697),c=function(e,s){var i,o,r,a,c,u,h,m=null!==e.main_category&&""!==e.main_category?"".concat(e.main_category.slug,"/").concat(e.slug):e.slug;return(0,t.jsxs)("div",{className:"slide-rp flex flex-col overflow-hidden border bg-white shadow hover:cursor-pointer hover:border-secondary ".concat(s&&"mx-4"),children:[(0,t.jsx)(d(),{href:"/blog/".concat(m),passHref:!0,children:(0,t.jsx)("a",{children:(0,t.jsx)(n(),{className:"w-full object-cover object-center md:h-36 lg:h-48",src:(null===e||void 0===e||null===(i=e.image)||void 0===i||null===(o=i.formats)||void 0===o||null===(r=o.medium)||void 0===r?void 0:r.url)||(null===e||void 0===e||null===(a=e.image)||void 0===a?void 0:a.url),alt:(null===e||void 0===e||null===(c=e.image)||void 0===c?void 0:c.alternativeText)||(null===e||void 0===e?void 0:e.title),width:null===e||void 0===e||null===(u=e.image)||void 0===u?void 0:u.width,height:null===e||void 0===e||null===(h=e.image)||void 0===h?void 0:h.height})})}),(0,t.jsxs)("div",{className:"flex-1",children:[(0,t.jsxs)("div",{className:"p-6",children:[e.main_category&&(0,t.jsx)("div",{className:"mb-3 inline-block rounded-xl bg-gray-100 px-3 py-1 text-left text-xs font-semibold uppercase",children:e.main_category.name}),(0,t.jsx)(d(),{href:"/blog/".concat(m),children:(0,t.jsx)("a",{children:(0,t.jsx)("h3",{className:"title-font flex-1 font-bold uppercase text-gray-900 lg:text-lg",children:e.title})})}),(0,t.jsx)("div",{className:"justify-starttext-xs mt-4 mb-2 flex items-center text-gray-400",children:(0,t.jsxs)("div",{className:"pt-2",children:["Posted on \xa0",(0,t.jsx)("time",{dateTime:(0,l.Z)(new Date(null===e||void 0===e?void 0:e.date),"yyyy-MM-dd"),children:(0,l.Z)(new Date(null===e||void 0===e?void 0:e.date),"do LLL yyy")})]})}),(0,t.jsx)("div",{className:"post-excerpt mb-3 leading-relaxed line-clamp-2",dangerouslySetInnerHTML:{__html:e.excerpt}})]}),(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("div",{className:"px-6 pb-6",children:(0,t.jsx)("div",{className:"flex flex-wrap items-center ",children:(0,t.jsx)(d(),{href:"/blog/".concat(m),children:(0,t.jsxs)("a",{className:"inline-flex items-center text-secondary hover:text-black md:mb-2 lg:mb-0",children:["Read More",(0,t.jsxs)("svg",{className:"ml-2 h-4 w-4",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M5 12h14"}),(0,t.jsx)("path",{d:"M12 5l7 7-7 7"})]})]})})})})})]})]})};c.propTypes={post:i.n(a)().object},s.Z=c},17413:function(e,s,i){i.r(s);var t=i(47568),l=i(26042),o=i(69396),n=i(70655),r=i(85893),d=i(67294),a=i(91268),c=i(40483),u=i(46066),h=i(76485);s.default=function(e){var s,i,m=e.data,v=(0,d.useState)([]),x=v[0],p=v[1];return(0,d.useEffect)((function(){var e,s,i=function(){var e=(0,t.Z)((function(){var e,s;return(0,n.__generator)(this,(function(i){switch(i.label){case 0:return i.trys.push([0,3,,4]),[4,h.J.get("/posts?&_sort=date:DESC&categories=".concat(m.posts.category.id,"&_limit=9"))];case 1:return[4,i.sent().data];case 2:return e=i.sent(),p(e),[3,4];case 3:return s=i.sent(),console.error("Error fetching recommended posts:",s),[3,4];case 4:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();(null===m||void 0===m||null===(e=m.posts)||void 0===e||null===(s=e.category)||void 0===s?void 0:s.id)&&i()}),[null===m||void 0===m||null===(s=m.posts)||void 0===s||null===(i=s.category)||void 0===i?void 0:i.id]),x?(0,r.jsx)("section",{className:"body-font border-t text-black",children:(0,r.jsxs)("div",{className:"container mx-auto my-12 max-w-[1312px]",children:[(0,r.jsx)("h2",{className:"mb-3 text-center text-3xl font-extrabold uppercase tracking-tight",children:"Recommended Posts"}),(0,r.jsx)("p",{className:"mb-12 text-center lg:text-lg",children:"If you enjoyed this article, check out these relevant posts below."}),x.length>3?(0,r.jsx)(u.Z,(0,o.Z)((0,l.Z)({},c.OI),{children:x.map((function(e){return(0,d.createElement)(a.Z,(0,o.Z)((0,l.Z)({},e),{key:e.id,isSlider:!0}))}))})):(0,r.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3",children:x.map((function(e){return(0,d.createElement)(a.Z,(0,o.Z)((0,l.Z)({},e),{key:e.id,isSlider:!0}))}))})]})}):null}},40483:function(e,s,i){i.d(s,{K6:function(){return l},OI:function(){return t},gX:function(){return n},o2:function(){return o}});var t={dots:!0,infinite:!0,autoplay:!0,speed:900,slidesToShow:3,arrows:!1,slidesToScroll:3,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:1}}]},l={dots:!0,infinite:!0,autoplay:!0,speed:900,slidesToShow:3,arrows:!0,slidesToScroll:1,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:1,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:1}}]},o={dots:!1,infinite:!1,autoplay:!1,speed:900,slidesToShow:3,slidesToScroll:3,responsive:[{breakpoint:1024,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0,dots:!0}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1,initialSlide:1}}]},n={default:{width:100,slidesToShow:6,responsive:[{breakpoint:900,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:500,settings:{slidesToShow:2,slidesToScroll:1}}]},small:{width:90,slidesToShow:9,responsive:[{breakpoint:900,settings:{slidesToShow:4,slidesToScroll:1}},{breakpoint:500,settings:{slidesToShow:3,slidesToScroll:1}}]}}}}]);

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.