PageSourceSearch

https://whitelabel-loyalty.com/_next/static/chunks/2045.6b06ea9e4b613c03.js

js whitelabel-loyalty.com collected 2026-09-24 17:38:28 UTC 7,427 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2045],{62045:function(e,t,n){n.r(t),n.d(t,{default:function(){return j}});var l=n(14924),i=n(26042),r=n(69396),a=n(85893),s=n(67294);var o=s.forwardRef((function(e,t){return s.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:2,stroke:"currentColor","aria-hidden":"true",ref:t},e),s.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13 9l3 3m0 0l-3 3m3-3H8m13 0a9 9 0 11-18 0 9 9 0 0118 0z"}))})),d=n(53659),c=n(94184),x=n.n(c),u=n(20081),m=n(11163),f=n(56310),h=n.n(f),v=n(25675),b=n.n(v),g=n(85249),_=function(e){var t=e.image,n=e.title,l=e.newSize,i=(0,s.useState)(null),r=i[0],o=i[1];return(0,s.useEffect)((function(){""===l&&null===l||o(l)}),[l]),(0,a.jsx)(a.Fragment,{children:""===l||null===l?(0,a.jsx)(b(),{src:(0,g.T_)(null===t||void 0===t?void 0:t.url),width:null===t||void 0===t?void 0:t.width,height:null===t||void 0===t?void 0:t.height,alt:(null===t||void 0===t?void 0:t.alternative_text)||n}):(0,a.jsx)(b(),{src:(0,g.T_)(null===t||void 0===t?void 0:t.url),width:+r,height:(0,g.qN)(null===t||void 0===t?void 0:t.height,null===t||void 0===t?void 0:t.width,+r),alt:(null===t||void 0===t?void 0:t.alternative_text)||n})})},p=n(53814),w=n(35614);function j(e){var t=e.data,n=(0,m.useRouter)(),s=t.heading_tag,c=t.banner_variant,f=t.banner_slug,v=t.variant,b=t.rtl,j=t.pre_title,y=t.title,k=t.body,N=t.banner_text,z=t.banner_body,Z=t.buttons,O=t.image,T=t.video_thumbnail,C=t.image_width,E=t.container_id,S=s||"h2",q=x()("p-3 text-white flex flex-row items-center mb-3 bg-gradient-to-r border rounded-md justify-center space-x-2",{"from-black via-black to-secondary border-brand":"snazzy"===c,"from-slate-900 via-slate-900 to-black border-black":!c||"snazzy"!==c}),R=x()("text-sm font-bold",(0,l.Z)({"text-white":"snazzy"===c},"text-white",!c||"snazzy"!==c)),W=f?"button":"div",B=f?{onClick:function(){return n.push("".concat(f.startsWith("/")?"":"/").concat(f))}}:{};return(0,a.jsx)(p.Z,{id:E,fullWidth:!0,variant:v,className:"px-6 py-12 xl:px-0",children:(0,a.jsxs)("div",{className:x()("container mx-auto flex flex-col-reverse items-center justify-center md:max-w-[1312px]",{"md:flex-row-reverse":b,"md:flex-row":!b}),children:[(0,a.jsxs)("div",{className:x()("flex w-full flex-col items-center justify-start md:w-4/5 md:items-start md:justify-center",{"md:pl-12":b,"md:pr-12":!b}),children:[(0,a.jsx)("p",{className:x()("mb-2 text-center text-xl md:text-left",{"text-brand":"white"===v}),children:j}),(0,a.jsx)(S,{className:x()("-mt-2 mb-2 text-center text-4xl font-extrabold uppercase tracking-tight sm:text-4xl md:text-left",{"text-black":"white"===v}),children:y}),(0,a.jsx)("div",{className:x()("my-4 max-w-xs space-y-4 text-center md:max-w-4xl md:text-left lg:text-lg",{"text-black":"white"===v}),dangerouslySetInnerHTML:{__html:k}}),N&&(0,a.jsxs)(W,(0,r.Z)((0,i.Z)({},B),{className:q,children:["snazzy"===c&&(0,a.jsx)(d.Z,{className:"h-10 w-10"}),(0,a.jsxs)("div",{className:"flex flex-col items-start justify-start",children:[N&&(0,a.jsx)("span",{className:"text-md font-bold ".concat(R),children:N}),z&&(0,a.jsx)("span",{className:"text-sm font-light ".concat(R),children:z})]}),f&&(0,a.jsx)("div",{children:(0,a.jsx)(o,{className:"ml-2 h-8 w-8"})})]})),(0,a.jsx)(w.Z,{buttons:Z})]}),(0,a.jsx)("div",{className:x()("mb-6 flex w-1/5 min-w-full flex-col justify-center md:mb-0 md:min-w-max",{"items-center lg:items-start":b,"items-center lg:items-end":!b}),children:".mp4"===(null===O||void 0===O?void 0:O.ext)?(0,a.jsx)("div",{className:"relative aspect-video w-full lg:min-w-[500px]",children:(0,a.jsx)(h(),{url:null===O||void 0===O?void 0:O.url,controls:!0,light:null===T||void 0===T?void 0:T.url,width:"100%",height:"100%"})}):!O||""!==C&&null!==C?O?(0,a.jsx)(_,{image:O,newSize:C,title:y}):null:(0,a.jsx)(u.E.img,{src:O.url,alt:O.alternativeText||y,width:250,height:(0,g.qN)(O.height,O.width,250)})})]})})}},35614:function(e,t,n){var l=n(26042),i=n(69396),r=n(85893),a=n(45697),s=n.n(a),o=n(16606),d=function(e){var t=e.buttons,n=e.onButtonClick;return t&&t.length?(0,r.jsx)("div",{className:"flex w-full flex-col gap-4 md:flex-row",children:t.map((function(e){return(0,r.jsx)(o.Z,(0,i.Z)((0,l.Z)({},e),{onClick:n?function(t){return n(e,e.id,t)}:void 0}),e.id)}))}):null};d.propTypes={buttons:s().arrayOf(s().shape({id:s().string.isRequired,text:s().string.isRequired,variant:s().string,
1size:s().string,color:s().string,path:s().string,is_external_link:s().oneOfType([s().bool,s().oneOf([null])]),no_icon:s().oneOfType([s().bool,s().oneOf([null])]),is_pdf_download:s().oneOfType([s().bool,s().oneOf([null])]),send_to_contact_form:s().oneOfType([s().bool,s().oneOf([null])]),enable_gt_event:s().oneOfType([s().bool,s().oneOf([null])]),gt_event_name:s().string,pdf_file:s().array})),className:s().string,align:s().oneOf(["left","center","right"]),stackOnMobile:s().oneOfType([s().bool,s().oneOf([null])]),children:s().node},t.Z=d},16606:function(e,t,n){var l=n(26042),i=n(69396),r=n(99534),a=n(85893),s=n(61321);t.Z=function(e){var t,n=e.text,o=e.variant,d=void 0===o?"primary":o,c=e.size,x=void 0===c?"medium":c,u=e.color,m=void 0===u?"blue":u,f=e.path,h=e.icon,v=e.is_external_link,b=e.no_icon,g=e.is_pdf_download,_=e.send_to_contact_form,p=e.enable_gt_event,w=e.gt_event_name,j=e.pdf_file,y=e.className,k=e.onClick,N=(0,r.Z)(e,["text","variant","size","color","path","icon","is_external_link","no_icon","is_pdf_download","send_to_contact_form","enable_gt_event","gt_event_name","pdf_file","className","onClick"]);return(0,a.jsx)(s.Z,(0,i.Z)((0,l.Z)({text:n,variant:d,color:m,size:x,path:f,is_external_link:v,is_pdf_download:g,send_to_contact_form:_,enable_gt_event:p,gt_event_name:w,pdf_file:null!==(t=null===j||void 0===j?void 0:j[0])&&void 0!==t?t:null,no_icon:b,className:y,onClick:k},N),{children:(0,a.jsxs)("div",{className:"flex items-center justify-center",children:[(0,a.jsx)(s.Z.Text,{children:n}),(0,a.jsx)(s.Z.Icon,{icon:h,no_icon:b})]})}))}},53814:function(e,t,n){n.d(t,{Z:function(){return a}});var l=n(85893),i=n(94184),r=n.n(i),a=function(e){var t=e.fullWidth,n=e.children,i=e.variant,a=e.hasPattern,s=e.className,o=e.id;return t?(0,l.jsxs)("div",{id:o,className:r()(s,"relative w-full py-6 lg:py-8",{"border-brand bg-brand text-white":"dark"===i,"border-secondary bg-secondary text-white":"medium"===i,"border-mid-blue bg-mid-blue text-very-dark-blue":"light"===i,"border-gray-300 bg-white text-black":"white"===i,"border-gray-100 bg-gray-100 text-black":"grey"===i,"border-mid-blue bg-mid-blue text-black":"blue"===i,default:!["dark","medium","light","white","grey"].includes(i)}),children:[(0,l.jsx)("div",{className:"container relative z-10 mx-auto max-w-[1312px] py-4",children:n}),a&&(0,l.jsx)("div",{className:"absolute bottom-0 left-0 z-0 hidden md:block",children:(0,l.jsxs)("svg",{width:"404",height:"300",fill:"none",viewBox:"0 0 404 300",children:[(0,l.jsx)("defs",{children:(0,l.jsx)("pattern",{id:"b1e6e422-73f8-40a6-b5d9-c8586e37e0e7",x:"0",y:"0",width:"20",height:"20",patternUnits:"userSpaceOnUse",children:(0,l.jsx)("rect",{x:"0",y:"0",width:"4",height:"4",className:"text-gray-200",fill:"currentColor"})})}),(0,l.jsx)("rect",{width:"404",height:"784",fill:"url(#b1e6e422-73f8-40a6-b5d9-c8586e37e0e7)"})]})})]}):(0,l.jsx)("section",{id:o,className:(s||"")+" container mx-auto max-w-[1312px] py-4",children:n})}}}]);

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.