PageSourceSearch

https://www.telkom.co.za/_next/static/chunks/9534-6eacab0cb3ee4876.js

js telkom.co.za collected 2026-09-24 09:19:38 UTC 20,400 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9534],{4807:function(e,t,l){"use strict";var s=l(85893);t.Z=e=>{let{checked:t,value:l,id:r,name:n,className:a,inputClassName:i,label:o,labelClassName:c,onChange:d,type:x,message:p,children:u}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("label",{htmlFor:r,className:"flex items-center gap-2 cursor-pointer",children:[(0,s.jsx)("input",{id:r,type:x||"radio",checked:t&&!0,name:n||"",onClick:e=>d({target:{name:n,value:l}}),onChange:()=>{},className:"sr-only"}),(0,s.jsx)("div",{className:"!w-[16px] !h-[16px] mt-[3px] rounded-[4px] border-2 flex items-center justify-center transition-all duration-150 ".concat(t?"bg-[#91E200] border-[#91E200]":"border-[#3C525F] border-[1px]"),children:t?(0,s.jsx)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M5 13l4 4L19 7",stroke:"#004D99",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}):(0,s.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M5 13l4 4L19 7",stroke:"#fff",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}),(0,s.jsx)("span",{className:" text-tablet-bodyAlt-m text-[#002E4D] "+(c||"")+" "+(t?" font-Telkom123-Bold":" font-Telkom123-Regular"),children:o||u})]}),p?(0,s.jsxs)("div",{className:"flex flex-row justify-start items-center my-[5px] gap-[5px]",children:[(0,s.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 16 16",fill:"none",children:(0,s.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13 8C13 10.7614 10.7614 13 8 13C5.23857 13 3 10.7614 3 8C3 5.23857 5.23857 3 8 3C10.7614 3 13 5.23857 13 8ZM14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8ZM7.5 9V5.5H8.5V9H7.5ZM7.5 10.5V9.5H8.5V10.5H7.5Z",fill:"#FF4000"})}),(0,s.jsx)("span",{className:"text-[#FF4000] text-[12px] font-Telkom123-Light leading-[22px]",children:p})]}):""]})}},31072:function(e,t,l){"use strict";var s=l(85893),r=l(67294);t.Z=e=>{let{promoCode:t="",offsetClass:l=""}
1=e,[n,a]=(0,r.useState)(!1),[i,o]=(0,r.useState)(!1),[c,d]=(0,r.useState)(!1);return(0,s.jsxs)("div",{className:"relative ".concat(l),children:[(0,s.jsxs)("div",{className:"".concat(i?"border-green-600 border-opacity-15 border-[1px] bg-green-600 bg-opacity-10 text-green-600":"bg-[#F3F4F5] text-[#3C525F]"," rounded-[8px] flex justify-center items-center py-[16px] px-[14px] cursor-pointer group"),onClick:()=>{navigator.clipboard.writeText(t||""),a(!0),o(!0),setTimeout(()=>a(!1),1400),setTimeout(()=>o(!1),1540),d(!0),setTimeout(()=>d(!1),1e3)},children:[(0,s.jsx)("div",{className:"font-Telkom123-Bold text-title-xs1 tracking-[12px]",children:t}),!n&&(0,s.jsx)("div",{className:"\n            absolute -bottom-8 left-1/2 -translate-x-1/2 whitespace-nowrap\n            bg-black text-white text-[11px] px-3 py-1 rounded-md shadow-md\n            transition-all duration-300\n            ".concat(c?"opacity-100 -translate-y-1":"opacity-0","\n            group-hover:opacity-100 group-hover:-translate-y-1\n          "),children:"Click to copy promo code"})]}),n&&(0,s.jsx)("div",{className:" absolute -bottom-8 left-1/2 -translate-x-1/2 whitespace-nowrap bg-green-600 text-white text-[11px] px-3 py-1 rounded-md shadow-md animate-slide-fade ",children:"Copied!"})]})}},8849:function(e,t,l){"use strict";l.d(t,{Z:function(){return n}});var s=l(85893);function r(e){let{className:t="",onClick:l=()=>{},width:r=17,height:n=17}=e;return(0,s.jsx)("svg",{className:t,onClick:l,width:r,height:n,viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M8.69806 2.32227L8.69806 13.6972M8.69806 13.6972L6.48205 11.4812M8.69806 13.6972L10.9141 11.4812",stroke:"#3C5564",strokeLinecap:"round",strokeLinejoin:"round"})})}l(67294);var n=e=>(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex items-center gap-[5px]",children:[(0,s.jsx)("p",{children:(0,s.jsx)(r,{className:"mt-[2px]",width:16,height:16})}),(0,s.jsxs)("p",{className:"flex items-baseline gap-[3px] text-[#7D8B94]",title:e.min+(e.max?" - "+e.max:""),children:[e.max?(0,s.jsx)("span",{className:"text-body-xs font-Telkom123-Regular ",children:"from"}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)("span",{className:"text-tablet-bodyAlt-xs font-Telkom123-Bold",children:e.min}),e.max?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("span",{className:"text-body-xs font-Telkom123-Regular  ",children:"to"}),(0,s.jsx)("span",{className:"text-tablet-bodyAlt-xs font-Telkom123-Bold",children:e.max})]}):(0,s.jsx)(s.Fragment,{}),(0,s.jsx)("span",{className:"text-body-xs font-Telkom123-Regular",children:"download"})]})]})})},49534:function(e,t,l){"use strict";l.d(t,{Cx:function(){return L},F8:function(){return E},NZ:function(){return F},OB:function(){return C},SO:function(){return B},mF:function(){return T},oC:function(){return D}});var s=l(85893),r=l(60628),n=l(1485),a=l(62283),i=l(91807),o=l(42356),c=l(17886),d=l.n(c),x=l(67294),p=l(41664),u=l.n(p),m=l(59336),f=l(11316),h=l(95187),g=l(8849),j=l(66200),v=l(23403),N=l(823),b=l(8422),w=l(31072),_=l(15769),y=l(4807);function k(e){let{name:t}=e;return(0,s.jsxs)("div",{className:"flex items-center",children:[(0,s.jsx)("p",{className:"text-[#005288] font-Telkom123-Regular text-body-xs mr-auto",children:t}),(0,s.jsx)("svg",{className:"ml-auto ".concat(d()["collapse-details-indicator"]),width:"11.61",height:"6.07",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M0.605821 1.47257L6.41113 7.53922L12.2164 1.47257",stroke:"#3C5564",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"})})]})}function C(e){let{onClickCallMeBack:t=()=>{},viewDetailsLabel:l="View details",viewDetailsLink:r="#",onClickViewDetails:n=()=>{}}=e;return(0,s.jsxs)("ul",{className:"flex flex-row items-center gap-2 w-full",children:[(0,s.jsx)("li",{className:"w-full",children:(0,s.jsx)(j.default,{link:"#",viewType:"outlineBlue",className:"w-full font-Telkom123-Regular text-button-s rounded-[8px] h-[40px] flex items-center justify-center",onClick:t,children:(0,s.jsx)("span",{className:"translate-y-[-1.5px]",children:"Call me back"})})}),(0,s.jsx)("li",{className:"w-full",children:(0,s.jsx)(u(),{href:r,legacyBehavior:!0,children:(0,s.jsx)("a",{className:"w-full font-Telkom123-Bold text-center text-[#003F6A] text-button-s !rounded-[8px] bg-[#91E200] h-[40p
1x] px-1 flex items-center justify-center shadow-[1px_1px_3px_0px_rgba(0,46,77,0.30)] hover:shadow-[4px_4px_4px_0px_rgba(83,129,0,0.4),2px_2px_0px_0px_rgba(81,100,113,0.4)]",onClick:()=>n("view details clicks"),children:(0,s.jsx)("span",{className:"translate-y-[-1.5px]",children:l})})})})]})}function F(e){let{className:t="",children:l}=e;return(0,s.jsx)("div",{className:"bg-white/90 min-h-[490px] rounded-[10px] border-[1px] shadow-[2px_2px_4px_0px_#2E3F4B26] border-[#DADEE0] overflow-hidden hover:shadow-[4px_4px_4px_0px_#002E4D4D,2px_2px_0px_0px_#51647166]  ".concat(d()["product-card"]||""," ").concat(t),children:l})}function T(e){let{id:t="",className:l="",exclusiveBadges:r=[],dealBadges:n=[],children:a}=e,c=e=>{let{badge:t,index:a,style:o={}}=e,c=(0,_.YP)(t,n,r)||!1;return(0,s.jsx)(i.Z,{style:{...t.style||{},...c?{right:0}:o,top:45*a+"px",zIndex:1},shapeType:(0,v.Mt)(t.shapeType),className:"z-[1] absolute backdrop-blur-[blur(2px)] shadow-[0px_5px_8px_rgba(0,_143,_224,_0.15)] text-white  "+l,children:(0,v.Mt)(t.name)})};return(0,s.jsx)("div",{className:"px-[16px] pt-[10px] min-h-[170px] bg-white relative text-display-xl-xs2 lg:text-display-xl-xs3 font-degular-BoldBlack ".concat(d()["product-header"]," ").concat(l),children:(0,s.jsxs)("div",{className:"relative",children:[r.map((e,l)=>(0,s.jsx)(c,{style:{left:0},badge:e,index:l},"Badge_DealExclusive_"+(0,o.f$)(e.name)+t)),n.map((e,l)=>(0,s.jsx)(c,{style:{right:0},badge:e,index:l},"Badge_DealExclusive_"+(0,o.f$)(e.name)+t)),(0,s.jsx)("div",{className:"flex flex-col items-center justify-center pt-[40px] ",children:a})]})})}function B(e){let{children:t,className:l="px-[16px] pt-[10px] min-h-[140px] bg-white"}=e;return(0,s.jsx)("div",{className:"".concat(d()["product-body"]," ").concat(l),children:t})}function D(e){let{children:t,className:l=""}=e;return(0,s.jsx)("div",{className:"bg-white flex items-center justify-center shadow-[0px_-5px_10px_rgba(183,_206,_219,_0.15)] ".concat(d()["product-footer"]," ").concat(l),children:t})}function E(e){let{src:t,className:l="relative"}=e;return(0,s.jsx)("div",{className:"".concat(d()["product-image"]," ").concat(l),children:(0,s.jsx)(n.ZP,{layout:"fixed",fallbackurl:"/assets/images/common/placeholder.png",src:t,width:200,height:100})})}function L(e){let{src:t,className:l=""}=e;return(0,s.jsx)("div",{className:"my-[3.5px] h-[30px] flex justify-center w-full min-h-[30px] relative ".concat(d()["product-provider-image"]," ").concat(l),children:(0,s.jsx)(n.ZP,{layout:"fill",fallbackurl:"/assets/images/common/placeholder-sm.png",src:t,objectFit:"contain",sizes:"(min-width: 768px) 10vw, 20vw"})})}t.ZP=function(e){var t,l;let{id:n,defaultShow:c=!1,name:p,subscriptionPeriod:j,productImageUrl:v,productProviderImageUrl:Z="",range:R,price:A,exclusiveBadges:M=[],dealBadges:P=[],featuresGroup:S=[],hasMultipleVariants:V=!1,variantsInfoPosition:I="",paymentMethod:O="",planPeriod:$="",hasCombos:z=!1,viewDetailsLink:H="#",onClickCallMeBack:G=()=>{},onClickViewDetails:J=()=>{},CardFooter:U,className:W="",planPeriodSingle:Y="",viewDetailsLabel:q="",discountUnit:X="",originalAmount:K=0,rangeInfo:Q=null,showPrice:ee=!0,productSpecificationLogo:et,vendorType:el,subCategory:es,category:er,idAlias:en,planVariant:ea,productTags:ei,promo:eo,promoPrice:ec=0,handleCompareProducts:ed,selectedAliases:ex,tagDisable:ep}=e,eu=(0,x.useMemo)(()=>(null==S?void 0:S.length)?S.filter(e=>e):[],[S]),em=(0,x.useMemo)(()=>(0,f.fS)(X||"",(0,m.c)(A),(0,m.c)(K)),[X,A,K]),{exclusive:ef=[],deals:eh=[]}=(0,x.useMemo)(()=>(0,N.S_)(ei,el,ep),[ei,el,ep]),eg=(0,b.SR)(eo)||!1,ej=(0,_.ir)(ei||[]),ev=(0,_.Nf)(K,em.offerView,ec)||"",eN=(0,_.Ly)(K)||"",eb="!px-2 !py-1 text-display-xl-xs2 lg:text-display-xl-xs3 font-degular-BoldBlack text-[#FF6600] bg-[#FFF3EB] shadow-[0px_5px_8px_rgba(71,_226,_169,_0.15)] backdrop-blur-[blur(2px)]";return(0,s.jsxs)(F,{className:W,children:[(0,s.jsxs)(a.Z,{href:H.toString(),onClick:()=>J("deal card clicks"),children:[(0,s.jsxs)(T,{id:n,exclusiveBadges:(null==ef?void 0:ef.length)>0?ef:[],dealBadges:(null==eh?void 0:eh.length)>0?eh:[],children:[Number(ec)>0?(0,s.jsxs)("div",{className:"flex flex-row justify-between items-center w-full",children:[(null==em?void 0:em.offerView)&&
1(0,s.jsxs)(i.Z,{className:eb,children:["fixed"===em.type?(0,s.jsx)(h.Z,{className:"text-[#FF6600]",price:em.offerView,centsClassName:"-mb-[3px] font-Telkom123-Regular text-[5px]"}):em.offerView," ","off"]}),(0,s.jsxs)(i.Z,{className:"z-[1] absolute top-10 right-0 text-display-xl-xs2 lg:text-display-xl-xs3 p-[10px] text-[#FF6600] bg-[#FFF3EB] ",children:[(0,s.jsx)(h.Z,{className:"inline-flex items-center gap-[1px]",price:(0,m.c)(ec),centsClassName:"-mb-[5px] text-[10px] leading-[18px] -tracking-[0.1px]"})," off"]})]}):(0,s.jsx)("div",{className:"h-[24px]"}),(0,s.jsx)(E,{src:v},n),(null==el?void 0:el.toLowerCase())==="personal"&&et?(0,s.jsx)(L,{src:et}):(0,s.jsx)(s.Fragment,{children:Z?(0,s.jsx)(L,{src:Z}):(0,s.jsx)("div",{className:"min-h-[33px]"})})]}),(0,s.jsxs)(B,{children:[(0,s.jsxs)("div",{className:"flex flex-col gap-[2px] min-h-[80px]",children:[(0,s.jsx)("h6",{className:"text-ellipsis overflow-hidden whitespace-nowrap font-degular-BoldBlack text-display-xl-xs text-[#0099FF] ",title:(0,o.nT)(p),dangerouslySetInnerHTML:{__html:p}}),Q&&Q.min?(0,s.jsx)(g.Z,{...Q}):(0,s.jsx)("p",{className:"font-Telkom123-BoldItalic text-bodyAlt-m !font-semibold text-[#005288] ",title:(0,o.nT)(R),children:R}),["amazon","prime video mobile edition","amazon prime"].includes(null==es?void 0:null===(t=es.name)||void 0===t?void 0:t.toLowerCase())&&ea&&(0,s.jsxs)("p",{className:"font-Telkom123-Regular mt-[4px] mb-[10px] text-[12px] text-secondary-blue-grey leading-[16px]",title:ea,children:[ea,"."]})]}),(0,s.jsx)("div",{className:"flex flex-col gap-[10px]",children:ee&&(0,s.jsxs)("div",{className:"flex items-center bg-[#E7F6FF] rounded-[5px] min-h-[71px] py-[10px] px-[10px]",children:[(0,s.jsxs)("div",{className:"mr-auto text-[#005288]",children:[(0,s.jsxs)("div",{className:"font-Telkom123-Regular mb-[2px]",children:[V?(0,s.jsx)("span",{className:"text-body-xs mr-1",children:I}):null,(0,s.jsx)(h.Z,{className:"inline-flex items-center gap-[1px] mr-[2px] font-degular-BoldBlack text-display-xl-s ",price:(0,m.c)(Number(ec)>0?ej?A-ec:eN:A),centsClassName:"-mb-[3px] font-Telkom123-Bold font-semibold text-bodyAlt-xs "}),V?(0,s.jsx)("sup",{className:"font-Telkom123-Bold font-semibold text-body-xs",children:"*"}):null]}),"fibre"===(0,o.f$)(null==es?void 0:es.name,"_",!0)&&["telkomstreamconnect-homeinternet-primevideo-easterdeal","telkombusinessstreamconnect-internetsolutions-easterdeal"].includes(en)?"":(0,s.jsx)("div",{children:(0,s.jsx)("p",{className:"text-display-xl-xs3 font-degular-BoldBlack text-[#005288] ",children:j||((null==Y?void 0:Y.toLowerCase())==="once-off"?Y:O?(0,s.jsx)(s.Fragment,{children:V?"On "+O.toLowerCase():$||O.toLowerCase()}):null)})})]}),(0,s.jsx)("div",{className:"ml-auto flex items-center gap-[14px]",children:X&&"Save"!==X&&K?(0,s.jsxs)(s.Fragment,{children:[Number(ec)>0?(0,s.jsx)(s.Fragment,{}):(0,s.jsx)("span",{className:"opacity-50",children:(0,s.jsx)(h.Z,{className:"text-secondary-grey font-Telkom123-Regular text-[15px] leading-[39px] -tracking-[1px] line-through",price:(0,m.c)(K),centsClassName:"-mb-[3px] font-Telkom123-Regular text-[10px] leading-[27px]"})}),(null==em?void 0:em.offerView)&&(0,s.jsx)(i.Z,{className:eb,children:Number(ec)>0?"fixed"===em.type?(0,s.jsxs)(s.Fragment,{children:["Up to"," ",(0,s.jsx)(h.Z,{className:"text-[#FF6600]",price:em.offerView,centsClassName:"-mb-[3px] font-Telkom123-Regular text-[5px]"})," ","off"]}):(0,s.jsxs)(s.Fragment,{children:["Up to R",ev," off"]}):"fixed"===em.type?(0,s.jsx)(h.Z,{className:"text-[#FF6600]",price:em.offerView,centsClassName:"-mb-[3px] font-Telkom123-Regular text-[5px]"}):"".concat(em.offerView," off")})]}):null})]})})]})]}),(0,s.jsxs)(B,{className:"pb-[20px]",children:[eg&&(0,s.jsxs)("div",{className:"relative mx-[16px]",children:[(0,s.jsx)("div",{className:"border-[1px] border-[#DADEE0] mt-[6px] mb-[16px]"}),(0,s.jsx)(w.Z,{promoCode:null==eo?void 0:eo.promoCode})]}),eu.length>0?(0,s.jsxs)("div",{className:"flex flex-col gap-[10px] px-[16px] ".concat(z?"min-h-[84px]":eg?"min-h-[0px]":"min-h-[80px]"),children:[eu.map(e=>{if(null==e?void 0:e.name){var t;let l="featuresGroup-".concat((0,o.f$)(e.name),"-").concat(n),a="software_details"===(0,o.f$)(e.name,"_",!0);return(0,s.jsx)(r.Z,{defaultShow:c,className:"p-[10px] rounded-[5px] bg-[#E7F6FF] ".concat(d()["collapse-details"]),header:(0,s.jsx)(k,{name:e.name}),children:(0,s.jsx)("ul",{className:"".concat(a?d()["collapse-details-description"]:d()["collapse-details-description-list"]),children:null===(t=e.items)||void 0===t?void 0:t.slice(0,4).map((e,t)=>(0,s.jsxs)("li",{children:[(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}}
1),(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:e.description}})]},l+"-item-"+t))})},l)}}),(0,s.jsx)("div",{className:"pt-2",children:(null==es?void 0:null===(l=es.name)||void 0===l?void 0:l.toLowerCase())==="fibre"&&(0,s.jsx)(y.Z,{type:"checkbox",name:"compare-".concat(en),checked:null==ex?void 0:ex.includes(en),value:en,message:"",className:"border-t pt-2",labelClassName:"flex items-center gap-3 cursor-pointer",onChange:()=>{ed("TOGGLE",en)},children:(0,s.jsx)("span",{className:"font-Telkom123-Regular text-body-m text-[#002E4D]",children:"Compare"})})})]}):null]}),(0,s.jsx)(D,{children:U?"function"==typeof U?(0,s.jsx)(U,{}):U:"automobile_association"===(0,o.f$)(null==es?void 0:es.name,"_",!0)&&"lifestyle"===(0,o.f$)(null==er?void 0:er.name,"-",!0)?(0,s.jsx)("ul",{className:"flex items-center text-primary-azure-blue h-[17px]",children:(0,s.jsx)("li",{className:"",children:(0,s.jsx)(u(),{href:H,legacyBehavior:!0,children:(0,s.jsx)("a",{className:"   text-[12px] leading-[17px] tracking-[0.5px] ",onClick:()=>J("view details clicks"),children:q||"View details"})})})}):(0,s.jsx)(C,{viewDetailsLink:H,viewDetailsLabel:q||"View details",onClickCallMeBack:G,onClickViewDetails:J})})]})}},15769:function(e,t,l){"use strict";l.d(t,{Ly:function(){return i},Nf:function(){return o},Tm:function(){return n},YP:function(){return c},ir:function(){return x}});var s=l(77014),r=l(42356);let n=function(e,t){let l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"-";if(t&&e&&Array.isArray(e)&&e.length>0){let r=JSON.parse(JSON.stringify(e)).filter(e=>e[t]);if(r.sort((e,l)=>(0,s._)(String(e[t]))-(0,s._)(String(l[t]))),1===r.length)return r[0][t].trim();if(r.length>1)return r[0][t]===r[r.length-1][t]?r[0][t].trim():(r[0][t].trim()+l+r[r.length-1][t].trim()).trim()}return""},a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(null==e)return t;if("number"==typeof e)return isNaN(e)?t:e;if("string"==typeof e){let l=parseFloat(e);return isNaN(l)?t:l}return t},i=e=>{let t=a(e);return t>0?t:0},o=(e,t,l)=>{let s=a(e),r=s-(s-s*a(t)/100-a(l));return Math.floor(r>0?r:0)},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return"online_only"===(0,r.f$)(null==e?void 0:e.name,"_",!0)&&(null==t?void 0:t.length)<=0&&(null==l?void 0:l.length)===1},d=["big_deal","easter","monthly_deals"],x=e=>!!Array.isArray(e)&&(null==e?void 0:e.some(e=>{if("string"!=typeof e)return!1;let t=(0,r.f$)(e,"_",!0);return d.includes(t)}))},8422:function(e,t,l){"use strict";l.d(t,{RM:function(){return a},SR:function(){return n},vZ:function(){return i}});var s=l(59336);let r=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return(0,s.c)(String(e||t))};function n(e){if(!e)return!1;let{promoCode:t,promoDealId:l,specialPrice:s}=e;if(!t||!l||"number"!=typeof s||s<=0)return!1;let r=new Date,n=new Date(e.startDate||"2025-11-19T22:00:00Z"),a=new Date(e.expiryDate||"2025-12-07T22:00:00Z");return!(isNaN(n.getTime())||isNaN(a.getTime()))&&r>=n&&r<a}function a(e,t){try{if(!e||"string"!=typeof e)return{success:!1,errorType:"INVALID_CODE"};let l=e.trim().toUpperCase(),n=Array.isArray(t)?t:[t],a=!1,i="",o=n.map(e=>{let{promoCode:t="",expiryDate:n="",specialPrice:o="",promoDealId:c="",brand:d="",mobileBrands:x="",promoCodeApplyed:p=!1}=e;if(!t||t.toUpperCase()!==l||p)return e;if(a=!0,n){let t=Date.now(),l=new Date(n).getTime();if(!isNaN(l)&&t>l)return{...e,promoError:"EXPIRED_CODE"}}let u=(0,s.J)(String(o||"R0")),m=Number(u);if(isNaN(m)||!c)return{...e,promoError:"GENERIC"};i=d||x||"";let f=r(m,"R0");return{...e,dealId:c,mainDealId:c,costPrice:f,totalMonthlyCost:f,contract:f,promoCodeApplyed:!0}});if(!a)return{success:!1,errorType:"INVALID_CODE"};return{success:!0,updatedProduct:Array.isArray(t)?o:o[0],brand:i}}catch(e){return{success:!1,errorType:e.type||"GENERIC"}}}let i=e=>(Array.isArray(e)?e:[e]).some(e=>{let t=(null==e?void 0:e.promoCode)||"",l=(null==e?void 0:e.promoDealId)||"",r=(0,s.J)(String((null==e?void 0:e.specialPrice)||"R0")),n=new Date((null==e?void 0:e.startDate)||"2025-11-19T22:00:00Z"),a=new Date((null==e?void 0:e.expiryDate)||"2025-12-07T22:00:00Z");if(!(""!==t.trim()&&""!==l.trim()&&"number"==typeof r&&r>0)||isNaN(n.getTime())||isNaN(a.getTime()))return!1;let i=new Date;return i>=n&&i<a})},17886:function(e){e.exports={"product-card":"ProductCard_product-card__mPzHN","product-header":"ProductCard_product-header___D_qf","product-image":"ProductCard_product-image__kDtAk","product-provider-image":"ProductCard_product-provider-image__u2hja","product-body":"ProductCard_product-body__70VP6","collapse-details":"ProductCard_collapse-details__sWlBF","collapse-details-description-list":"ProductCard_collapse-details-description-list__N5efE","collapse-details-description":"ProductCard_collapse-details-description__Ecmh_","collapse-details-indicator":"ProductCard_collapse-details-indicator__b7_xh","product-footer":"ProductCard_product-footer__i3G1w",link:"ProductCard_link__LC6mA"}}}]);

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.