PageSourceSearch

https://www.redingtonpartner.com/_next/static/chunks/1334-0178322a55e9d00f.js

js redingtonpartner.com collected 2026-10-09 17:32:10 UTC 7,674 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1334],{32511:function(e,l,n){var a=n(57437),i=n(2265),r=n(7542),t=n(75951),d=n(16442),o=n(68575);l.Z=e=>{var l,n;let{slugUrl:s}=e,[c,m]=(0,i.useState)(null),[u,v]=(0,i.useState)(!1),{isArabic:h,isFrench:x}=(0,o.v9)(e=>e.language);return(0,i.useEffect)(()=>{s&&(v(!0),(async()=>{let e=await (0,t.Q)();try{let l=await (0,d.vg)({url:null==e?void 0:e.staticPage.replaceAll("<SLUG>",s)});m(l)}catch(e){}finally{v(!1)}})())},[s]),(0,a.jsx)("div",{className:"p-3 mb-5",children:u?(0,a.jsx)("div",{className:"flex animate-pulse space-x-4",children:(0,a.jsx)("div",{className:"flex-1 space-y-6 py-1",children:(0,a.jsx)("div",{className:"space-y-3",children:[...Array(12)].map((e,l)=>(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-4",children:[(0,a.jsx)("div",{className:"col-span-1 h-2 rounded bg-gray-200"}),(0,a.jsx)("div",{className:"col-span-1 h-2 rounded bg-gray-200"}),(0,a.jsx)("div",{className:"col-span-1 h-2 rounded bg-gray-200"})]},l),(0,a.jsx)("div",{className:"h-2 rounded bg-gray-200"})]}))})})}):null==c?void 0:null===(n=c.data)||void 0===n?void 0:null===(l=n.data)||void 0===l?void 0:l.map((e,l)=>(null==e?void 0:e.paragraph)&&(0,a.jsx)(r.Z,{data:h&&(null==e?void 0:e.paragraphArabic)?null==e?void 0:e.paragraphArabic:x&&(null==e?void 0:e.paragraphFrench)?null==e?void 0:e.paragraphFrench:null==e?void 0:e.paragraph},l))})}}
1,1334:function(e,l,n){var a=n(57437),i=n(2265),r=n(61994),t=n(48989),d=n(32511),o=n(77416),s=n(68575),c=n(23668);l.Z=(0,i.memo)(e=>{var l,n,m,u,v,h,x,g,p,b;let{children:_,htmlFor:f,className:j,required:y,labelInner:N,labelData:w,dataTestId:k,type:L}=e,[C,T]=(0,i.useState)(!1),F=()=>T(!0),{isArabic:E,isFrench:G}=(0,s.v9)(e=>e.language),{t:A}=(0,c.$)();return _?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("label",{htmlFor:f,className:(0,r.Z)("block text-body-base font-medium text-cm-charcoalGray leading-[17px] tracking-normal capitalize","payOnlineRadio"!==L&&"mb-1 sm:mb-2",j),"data-testid":k,children:[_,(null==w?void 0:w.Terms_and_Conditions_Label)?w.Terms_and_Conditions_Link?(0,a.jsx)(o.default,{href:w.Terms_and_Conditions_Link||"#",target:"_self",children:(0,a.jsx)("span",{className:"max-md:text-body-sm text-body-base tracking-normal text-cm-lightGrayMedium underline underline-offset-[1.5px] ml-1 cursor-pointer hover:text-cm-lightGreenHover",children:E&&(null==w?void 0:null===(l=w.Terms_and_Conditions_Label_Arabic)||void 0===l?void 0:l.trim())?null==w?void 0:null===(n=w.Terms_and_Conditions_Label_Arabic)||void 0===n?void 0:n.trim():G&&(null==w?void 0:null===(m=w.Terms_and_Conditions_Label_French)||void 0===m?void 0:m.trim())?null==w?void 0:null===(u=w.Terms_and_Conditions_Label_French)||void 0===u?void 0:u.trim():null==w?void 0:null===(v=w.Terms_and_Conditions_Label)||void 0===v?void 0:v.trim()})}):(0,a.jsx)("span",{className:"text-cm-lightGrayMedium underline cursor-pointer ml-[2px] hover:text-cm-lightGreenHover capitalize",onClick:F,tabIndex:0,role:"button",onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&F()},children:E&&(null==w?void 0:null===(h=w.Terms_and_Conditions_Label_Arabic)||void 0===h?void 0:h.trim())?null==w?void 0:null===(x=w.Terms_and_Conditions_Label_Arabic)||void 0===x?void 0:x.trim():G&&(null==w?void 0:null===(g=w.Terms_and_Conditions_Label_French)||void 0===g?void 0:g.trim())?null==w?void 0:null===(p=w.Terms_and_Conditions_Label_French)||void 0===p?void 0:p.trim():null==w?void 0:null===(b=w.Terms_and_Conditions_Label)||void 0===b?void 0:b.trim()}):N?(0,a.jsx)("span",{className:"text-cm-lightGrayMedium underline underline-offset-[1.5px] ml-1 cursor-pointer hover:text-cm-lightGreenHover",onClick:F,tabIndex:0,role:"button",onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&F()},children:N}):null,y&&(0,a.jsx)("span",{className:"text-cm-textError ml-1",children:"*"})]}),(0,a.jsx)(t.Z,{isOpen:C,heading:A("terms_and_conditions_2"),content:(0,a.jsx)(d.Z,{slugUrl:"terms-and-conditions"}),onClose:()=>T(!1)})]}):null})},7542:function(e,l,n){n.d(l,{Z:function(){return o}});
1var a=n(57437),i=n(2265),r=n(37878),t=n(68575),d=n(10062);function o(e){let{data:l,dataTestId:n,slug:o}=e,{isArabic:s,isFrench:c}=(0,t.v9)(e=>e.language),m=e=>null==e?void 0:e.map((e,l)=>{var n,r;let t=[];return null==(t=e.url?null==e?void 0:null===(n=e.children)||void 0===n?void 0:n.map(e=>null==e?void 0:e.text):null==e?void 0:null===(r=e.text)||void 0===r?void 0:r.split(/<br\s*\/?>/g))?void 0:t.map((n,r)=>{let d=n;return e.bold&&(d=(0,a.jsx)("strong",{children:d})),e.italic&&(d=(0,a.jsx)("em",{children:d})),e.underline&&(d=(0,a.jsx)("u",{children:d})),e.code&&(d=(0,a.jsx)("code",{children:d})),e.url&&(d=(0,a.jsx)("a",{style:{color:"green"},href:e.url,target:"_blank",children:d})),(0,a.jsxs)(i.Fragment,{children:[(0,a.jsx)("div",{className:"string"==typeof d&&"paragraphparagraph"===d.toLowerCase()?"notranslate":"",children:"string"==typeof d&&"paragraphparagraph"===d.toLowerCase()?s?"فقرةفقرة":c?"paragrapheparagraphe":d:d}),r<t.length-1&&(0,a.jsx)("br",{})]},"".concat(l,"-").concat(r))})}),u=(e,l,n)=>{switch(e.type){case"paragraph":return(0,a.jsx)("p",{className:"mt-4 static-paragarph first:mt-0","data-testid":"".concat(n,"-content-").concat(l),children:m(e.children||[])},l);case"heading":let i="h".concat(e.level);return(0,a.jsx)(i,{className:"mt-5 font-bold",children:m(e.children||[])},l);case"list":let t="unordered"===e.format?"ul":"ol";return(0,a.jsx)(t,{className:(0,d.L)("mt-2 list-decimal ml-4",{"ml-0 mr-4":s,"list-disc ml-[18px]":"unordered"===e.format,"ml-0 mr-[18px]":s&&"unordered"===e.format}),children:(e.children||[]).map((e,l)=>(0,a.jsx)("li",{className:"mb-1","data-testid":"".concat(n,"-list-").concat(l),children:m(e.children||[])},l))},l);case"image":var o,c,u,v,h,x;return(0,a.jsx)("div",{children:(0,a.jsx)(r.default,{src:null!==(h=null===(o=e.image)||void 0===o?void 0:o.url)&&void 0!==h?h:"",width:null===(c=e.image)||void 0===c?void 0:c.width,height:null===(u=e.image)||void 0===u?void 0:u.height,"data-testid":"".concat(n,"-image-").concat(l),alt:null!==(x=null===(v=e.image)||void 0===v?void 0:v.caption)&&void 0!==x?x:"Image",className:"w-full h-auto",objectFit:"fill"})},l);default:return null}};return(0,a.jsx)("div",{className:"break-normal text-cm-lightGrayMedium max-md:text-body-base max-md:leading-5 text-body-lg font-normal","data-testid":n,children:l.map((e,l)=>u(e,l,o))})}},48989:function(e,l,n){var a=n(57437),i=n(2265);l.Z=e=>{let{isOutSideClickClose:l,isOpen:n,heading:r,content:t,onClose:d,width:o="max-w-3xl"}=e,s=(0,i.useRef)(null);return((0,i.useEffect)(()=>{if(!l){let e=e=>{s.current&&!s.current.contains(e.target)&&d()};return n?document.addEventListener("mousedown",e):document.removeEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}},[n,d,l]),n)?(0,a.jsx)("div",{className:"fixed inset-0 flex items-center justify-center bg-black bg-opacity-50 z-[999]",children:(0,a.jsxs)("div",{ref:s,className:"bg-white relative w-full ".concat(o," h-[80vh] p-6 rounded-lg shadow-lg overflow-hidden"),children:[r&&(0,a.jsx)("div",{className:"flex justify-between items-center",children:(0,a.jsx)("h2",{className:"text-xl font-semibold text-gray-900",children:r})}),(0,a.jsx)("button",{onClick:d,className:"absolute right-3 top-3 text-gray-600 hover:text-gray-800",children:(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-6 h-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M6 18L18 6M6 6l12 12"})})}),(0,a.jsx)("div",{className:"mt-4 h-full overflow-y-auto mobile-scrollbar",children:t})]})}):null}}}]);

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.