PageSourceSearch

https://corporate-website-staging.vercel.app/_next/static/chunks/pages/blog/[slug]-9e9c3f3d9771e4c2.js

js corporate-website-staging.vercel.app collected 2026-10-03 06:34:45 UTC 18,703 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2492],{41127:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog/[slug]",function(){return n(39546)}])},72967:function(e,t,n){"use strict";n.d(t,{I:function(){return s}});var r=n(85893),o=n(67294),i=n(86010),l=n(91077),a=n(40694),s=function(e){var t=e.sectionHeadings,n=e.className,s=function(e,t){var n=(0,o.useState)(),r=n[0],i=n[1];return(0,o.useEffect)((function(){var t=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&i(e.target)}))}),{rootMargin:"-50% 0% -50% 0%",threshold:0}),n=document.querySelectorAll(e);return n.forEach((function(e){return t.observe(e)})),function(){n.forEach((function(e){return t.unobserve(e)})),t.disconnect()}}),[e,t]),{currentSection:r}}("h2",t).currentSection;(0,o.useEffect)((function(){var e=window.location.hash;if(e){var t=document.getElementById(e.replace("#",""));null===t||void 0===t||t.scrollIntoView({behavior:"smooth",block:"center"})}}),[]);return(0,r.jsxs)("div",{className:(0,i.Z)("w-full max-w-[240px]",n),children:[(0,r.jsx)(l.uT,{variant:"body-1",className:"mb-6",fontWeight:"bold",children:"Jump to"}),(0,r.jsx)("ol",{className:"flex flex-col",children:t.map((function(e,t){var n=e.text,o=e.id;return(0,r.jsx)("li",{className:(0,i.Z)("w-full py-2 px-5","hover:bg-web1","rounded-r-md border-l",(null===s||void 0===s?void 0:s.id)===o?"border-talonblue bg-web2":"border-grey300"),children:(0,r.jsx)(a.g,{onClick:function(e){return function(e,t){e.preventDefault();var n=document.getElementById(t);null===n||void 0===n||n.scrollIntoView({behavior:"smooth",block:"center"}),window.history.pushState(null,"","#".concat(t))}(e,o)},href:"#".concat(o),className:"block",children:(0,r.jsx)(l.uT,{variant:"body-3",className:(0,i.Z)("text-grey700"),children:null!==n&&void 0!==n?n:""})})},"table-content-".concat(t))}))})]})}},30242:function(e,t,n){"use strict";n.d(t,{c:function(){return u}});var r=n(85893),o=n(11523),i=n(62284),l=n(91077),a=n(13182),s=n(5434),c=n(98722),u=function(e){var t=e.headline,n=e.subtitle,u=e.bulletPoint1,d=e.bulletPoint2,h=e.bulletPoint3,f=e.employeeImage,p=e.employee,m=e.employeePosition;return(0,r.jsx)(o.A,{className:"mt-8 flex h-full w-full justify-center bg-web1",children:(0,r.jsx)(i.W,{children:(0,r.jsxs)("div",{className:"grid w-full grid-cols-1 items-center gap-4 py-8 lg:grid-cols-2 lg:gap-16 lg:py-m-spacing",children:[(0,r.jsxs)("div",{className:"text-left",children:[(0,r.jsx)(l.X6,{variant:"h3",className:"mb-4",children:t}),(0,r.jsx)(l.uT,{variant:"body-1",className:"mb-8",children:n}),(0,r.jsxs)("div",{className:"mb-btn-spacing",children:[(0,r.jsxs)("div",{className:"mb-sx-typo flex items-center",children:[(0,r.jsx)("span",{className:"pr-2",children:(0,r.jsx)(s.ZSR,{className:"text-talonblue",size:20})}),(0,r.jsx)(l.uT,{variant:"body-1",className:"pl-2",children:u})]}),(0,r.jsxs)("div",{className:"mb-sx-typo flex items-center",children:[(0,r.jsx)("span",{className:"pr-2",children:(0,r.jsx)(s.ZSR,{className:"text-talonblue",size:20})}),(0,r.jsx)(l.uT,{variant:"body-1",className:"pl-2",children:d})]}),(0,r.jsxs)("div",{className:"mb-sx-typo flex items-center",children:[(0,r.jsx)("span",{className:"pr-2",children:(0,r.jsx)(s.ZSR,{className:"text-talonblue",size:20})}),(0,r.jsx)(l.uT,{variant:"body-1",className:"pl-2",children:h})]})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"flex items-center text-left",children:[(0,r.jsx)(a.Z,{className:"h-20 rounded-full",src:f,alt:"Newsletter author",title:"Promotion Specialist",width:65,height:65}),(0,r.jsxs)("div",{className:"block pl-s-typo text-left",children:[(0,r.jsx)(l.uT,{variant:"body-1",fontWeight:"bold",children:p}),(0,r.jsxs)(l.uT,{variant:"body-1",children:[m," at Talon.One"]})]})]}),(0,r.jsx)(c.c,{formId:"3a6b2688-60df-4667-96dc-2011d2270c28",populateUtms:!0})]})]})})})}},16686:function(e,t,n){"use strict";var r=n(85893),o=n(11163),i=n(81234),l=n(75855);t.Z=function(e){var t,n,a=e.content,s=e.globalSettings,c=(0,o.useRouter)().locale,u=null===(t=a.body)||void 0===t?void 0:t.filter((function(e){return(0,l.mn)(e,c)})),d=null===(n=a.footerCta)||void 0===n?void 0:n.filter((function(e){return(0,l.mn)(e,c)}));return(0,r.jsxs)("main",{children:[null===u||void 0===u?void 0:u.map((function(e,t){return(0,r.jsx)(i.Z,{blok:e,globalSettings:s,isFirst:0===t},e._uid)})),null===d||void 0===d?void 0:d.map((function(e){return(0,r.jsx)(i.Z,{blok:e,globalSettings:s},e._uid)}))]})}},39546:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return J},default:function(){return M}});var r=n(85893),o=n(67294),i=n(80822),l=n(1844),a=n(30242),s=n(16007),c=n(26042),u=n(86010),d=n(89583),h=n(5434),f=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),p=function(e){function t(t){var n=e.call(this,t)||this;return n.name="AssertionError",n}return f(t,e),t}(Error);function m(e,t){if(!e)throw new p(t)}function w(e){var t=Object.entries(e).filter((function(e){var t=e[1];return void 0!==t&&null!==t})).map((function(e){var t=e[0],n=e[1];return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(n)))}));return t.length>0?"?".concat(t.join("&")):""}var x=n(97567),v=n.n(x),b=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),g=function(){return g=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},g.apply(this,arguments)}
1,y=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function l(e){try{s(r.next(e))}catch(t){i(t)}}function a(e){try{s(r.throw(e))}catch(t){i(t)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(l,a)}s((r=r.apply(e,t||[])).next())}))},j=function(e,t){var n,r,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"===typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,r=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!(o=(o=l.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){l.label=i[1];break}if(6===i[0]&&l.label<o[1]){l.label=o[1],o=i;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(i);break}o[2]&&l.ops.pop(),l.trys.pop();continue}i=t.call(e,l)}catch(a){i=[6,a],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},N=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},k=function(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then},S=function(e,t){return{left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2}},_=function(e,t){return{top:(window.screen.height-t)/2,left:(window.screen.width-e)/2}};function O(e,t,n){var r=t.height,o=t.width,i=N(t,["height","width"]),l=g({height:r,width:o,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},i),a=window.open(e,"",Object.keys(l).map((function(e){return"".concat(e,"=").concat(l[e])})).join(", "));if(n)var s=window.setInterval((function(){try{(null===a||a.closed)&&(window.clearInterval(s),n(a))}catch(e){console.error(e)}}),1e3);return a}var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openShareDialog=function(e){var n=t.props,r=n.onShareWindowClose,o=n.windowHeight,i=void 0===o?400:o,l=n.windowPosition,a=void 0===l?"windowCenter":l,s=n.windowWidth,c=void 0===s?550:s;O(e,g({height:i,width:c},"windowCenter"===a?S(c,i):_(c,i)),r)},t.handleClick=function(e){return y(t,void 0,void 0,(function(){var t,n,r,o,i,l,a,s,c,u;return j(this,(function(d){switch(d.label){case 0:return t=this.props,n=t.beforeOnClick,r=t.disabled,o=t.networkLink,i=t.onClick,l=t.url,a=t.openShareDialogOnClick,s=t.opts,c=o(l,s),r?[2]:(e.preventDefault(),n?(u=n(),k(u)?[4,u]:[3,2]):[3,2]);case 1:d.sent(),d.label=2;case 2:return a&&this.openShareDialog(c),i&&i(e,c),[2]}}))}))},t}return b(t,e),t.prototype.render=function(){var e=this.props,t=(e.beforeOnClick,e.children),n=e.className,r=e.disabled,i=e.disabledStyle,l=e.forwardedRef,a=(e.networkLink,e.networkName),s=(e.onShareWindowClose,e.openShareDialogOnClick,e.opts,e.resetButtonStyle),c=e.style,u=(e.url,e.windowHeight,e.windowPosition,e.windowWidth,N(e,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","networkLink","networkName","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"])),d=v()("react-share__ShareButton",{"react-share__ShareButton--disabled":!!r,disabled:!!r},n),h=g(g(s?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",cursor:"pointer"}:{},c),r&&i);return o.createElement("button",g({},u,{"aria-label":u["aria-label"]||a,className:d,onClick:this.handleClick,ref:l,style:h}),t)},t.defaultProps={disabledStyle:{opacity:.6},openShareDialogOnClick:!0,resetButtonStyle:!0},t}(o.Component),P=C,Z=function(){return Z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Z.apply(this,arguments)};var E=function(e,t,n,r){function i(i,l){var a=n(i),s=Z({},i);
1return Object.keys(a).forEach((function(e){delete s[e]})),o.createElement(P,Z({},r,s,{forwardedRef:l,networkName:e,networkLink:t,opts:n(i)}))}return i.displayName="ShareButton-".concat(e),(0,o.forwardRef)(i)};var I=E("linkedin",(function(e,t){var n=t.title,r=t.summary,o=t.source;return m(e,"linkedin.url"),"https://linkedin.com/shareArticle"+w({url:e,mini:"true",title:n,summary:r,source:o})}),(function(e){return{title:e.title,summary:e.summary,source:e.source}}),{windowWidth:750,windowHeight:600});var T=E("facebook",(function(e,t){var n=t.quote,r=t.hashtag;return m(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+w({u:e,quote:n,hashtag:r})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});var W=E("twitter",(function(e,t){var n=t.title,r=t.via,o=t.hashtags,i=void 0===o?[]:o,l=t.related,a=void 0===l?[]:l;return m(e,"twitter.url"),m(Array.isArray(i),"twitter.hashtags is not an array"),m(Array.isArray(a),"twitter.related is not an array"),"https://twitter.com/share"+w({url:e,text:n,via:r,hashtags:i.length>0?i.join(","):void 0,related:a.length>0?a.join(","):void 0})}),(function(e){return{hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}}),{windowWidth:550,windowHeight:400}),A=n(62284),z=n(51583),L=n(61810),R=n(91077),B=n(83230),D=n(18122),H=n(11523),G=n(72967),q=n(13182),U=n(44155),X=n(19848),F=function(e){var t,n,o=e.blog,i=(0,c.Z)({headline:"Your ultimate guide to customer loyalty",buttonTitle:"Get your ebook"},null===(t=o.content.stickyCard)||void 0===t?void 0:t[0]),l=o.content.bodyPost.content.filter((function(e){var t;return"heading"===e.type&&2===(null===(t=e.attrs)||void 0===t?void 0:t.level)})).map((function(e){var t,n=null===e||void 0===e||null===(t=e.content)||void 0===t?void 0:t.map((function(e){return e.text})).join("");return{text:n,id:(0,D.B)(n||"")}})).filter((function(e){return void 0!==e.text&&""!==e.text}));return(0,r.jsxs)("div",{children:[(0,r.jsx)(H.A,{backgroundColor:"web1",className:(0,X.Z)("mb-10 pb-10 pt-6 lg:mb-16",U.k1),children:(0,r.jsxs)(A.W,{className:(0,u.Z)("grid grid-cols-1 items-center justify-items-center gap-4 lg:grid-cols-2"),children:[(0,r.jsx)(B.a,{className:"h-6 w-full max-w-[680px] lg:col-span-full lg:max-w-none",transformLabel:function(e){return"Back to ".concat(e.toLowerCase())}}),(0,r.jsxs)("div",{id:"titleSection",className:(0,u.Z)("max-w-[680px] lg:max-w-[560px]"),children:[(0,r.jsxs)("div",{className:"flex",children:[(0,r.jsx)(R.wC,{className:"pr-2 text-talonblue",children:o.content.category}),(0,r.jsx)(R.wC,{className:"text-[#666]",children:(n=o.content.publishedAt||o.published_at,new Date(n).toLocaleDateString("en-GB",{year:"numeric",month:"short",day:"numeric"}))})]}),(0,r.jsx)(R.X6,{variant:"h2",as:"h1",className:"my-8",children:o.content.title}),(0,r.jsx)("div",{className:"mt-4 block items-center justify-between md:flex lg:my-8",children:(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)(q.Z,{className:"rounded-full",width:48,height:48,src:o.content.author.content.authorLogo.filename,title:o.content.author.content.authorLogo.title,alt:o.content.author.content.authorLogo.alt,layout:"fixed",sizes:"3rem",priority:!0}),(0,r.jsxs)("div",{className:"ml-6 block",children:[(0,r.jsx)(R.uT,{variant:"body-3",fontWeight:"bold",children:o.content.author.name}),(0,r.jsx)(R.uT,{variant:"body-3",children:o.content.author.content.position})]})]})})]}),(0,r.jsx)("div",{className:(0,u.Z)("aspect-[1.7] w-full max-w-[680px] lg:max-w-[600px]","row-start-4 lg:row-auto","overflow-hidden rounded-lg","relative"),children:(0,r.jsx)(q.Z,{layout:"fill",src:o.content.mainImage.filename,alt:o.content.mainImage.alt,title:o.content.mainImage.title,priority:!0,objectFit:"cover",objectPosition:"center",sizes:"(min-width:1024px) 37.5rem, (min-width:680px) 42.5rem, 95vw"})}),(0,r.jsxs)("div",{id:"shareButtons",className:(0,u.Z)("flex w-full flex-col-reverse lg:col-span-full lg:flex-row lg:justify-between","max-w-[680px] lg:max-w-none"),children:[(0,r.jsxs)("div",{className:"my-6 flex items-center lg:my-8 lg:justify-end",children:[(0,r.jsx)("span",{className:"pr-2",children:(0,r.jsx)(h.dKE,{className:"text-talonblue",size:20})}),(0,r.jsxs)(R.uT,{variant:"body-3",children:[o.content.timeToRead," minutes to read"]})]}),(0,r.jsxs)("div",{className:"mt-4 flex items-center gap-6 lg:mt-xs-spacing",children:[(0,r.jsx)("div",{children:(0,r.jsx)(I,{url:"https://www.talon.one/".concat(o.full_slug),children:(0,r.jsx)(d.ltd,{size:24,color:"#02043b"})})}),(0,r.jsx)("div",{children:(0,r.jsx)(T,{url:"https://www.talon.one/".concat(o.full_slug),children:(0,r.jsx)(d.R9i,{size:24,color:"#02043b"})})}),(0,r.jsx)("div",{children:(0,r.jsx)(W,{url:"https://www.talon.one/".concat(o.full_slug),children:(0,r.jsx)(d.N1v,{size:24,color:"#02043b"})})})]})]})]})}),(0,r.jsx)(A.W,{children:(0,r.jsxs)("div",{className:(0,u.Z)("mt-14 flex w-full flex-col items-center justify-center gap-10 lg:flex-row lg:gap-[30px]","lg:items-start lg:justify-between"),children:[(0,r.jsx)("div",{className:(0,u.Z)("h-max w-full max-w-[680px] lg:sticky lg:top-[120px] lg:max-w-[240px]"),children:(0,r.jsx)(G.I,{sectionHeadings:l||[]})}),(0,r.jsxs)("div",{className:(0,u.Z)("max-w-[680px]"),children:[(0,z.Y$)(o.content.bodyPost),(0,r.jsxs)("div",{className:"mt-s-s
1pacing flex items-center pb-10 lg:pb-20",children:[(0,r.jsx)("div",{className:"pr-6",children:(0,r.jsx)(I,{url:"https://www.talon.one/".concat(o.full_slug),children:(0,r.jsx)(d.ltd,{size:24,color:"#02043b"})})}),(0,r.jsx)("div",{className:"pr-6",children:(0,r.jsx)(T,{url:"https://www.talon.one/".concat(o.full_slug),children:(0,r.jsx)(d.R9i,{size:24,color:"#02043b"})})}),(0,r.jsx)("div",{className:"pr-6",children:(0,r.jsx)(W,{url:"https://www.talon.one/".concat(o.full_slug),children:(0,r.jsx)(d.N1v,{size:24,color:"#02043b"})})})]})]}),(0,r.jsx)(L.A,{blok:i,className:"hidden lg:flex"})]})})]})},Y=n(16686),J=!0;function M(e){var t=(0,i.P)(e.story,e.preview),n=(0,o.useState)(t.content.imageOG?t.content.imageOG.filename:null),c=n[0];n[1];return(0,r.jsxs)("div",{className:"font-outfit",children:[(0,r.jsx)(s.Z,{index:t.content.index,follow:t.content.follow,metatitle:t.content.metatitle,metadescription:t.content.metadescription,canonical:t.content.canonical.cached_url,structuredData:t.content.structuredData,image:c,url:t.full_slug,localePaths:t.locale_paths}),t&&(0,r.jsxs)(l.Z,{globalSettings:e.globalSettings,currentStory:t,preview:e.preview,isUntranslatedFallback:e.isUntranslatedFallback,children:[(0,r.jsx)(F,{blog:t}),t.content.body&&(0,r.jsx)(Y.Z,{content:t.content,globalSettings:e.globalSettings}),(0,r.jsx)(a.c,{headline:"Monthly loyalty newsletter",subtitle:"Join thousands of marketers and developers getting the latest loyalty & promotion insights from Talon.One. Every month, you\u2019ll receive:",bulletPoint1:"Loyalty and promotion tips",bulletPoint2:"Industry insights from leading brands",bulletPoint3:"Case studies and best practices",employeeImage:"/images/isabelle-watson.jpg",employee:"Isabelle Watson",employeePosition:"Loyalty & promotion expert"})]})]})}},97567:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var i=typeof n;if("string"===i||"number"===i)e.push(n);else if(Array.isArray(n)){if(n.length){var l=o.apply(null,n);l&&e.push(l)}}else if("object"===i){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var a in n)r.call(n,a)&&n[a]&&e.push(a)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},function(e){e.O(0,[1228,5445,9866,3874,2013,4617,6537,4995,4800,6869,8681,1e3,2911,1547,3179,1234,9774,2888,179],(function(){return t=41127,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.