1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3628],{19985:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[vendorType]/[category]/[subCategory]",function(){return l(79328)}])},57734:function(e,t,l){"use strict";var s=l(85893);l(67294);var a=l(696),o=l.n(a);t.Z=e=>(0,s.jsx)("div",{className:o().container,children:(0,s.jsxs)("div",{className:"flex flex-col gap-[15px]",children:[(0,s.jsxs)("h2",{className:"font-Telkom123-Bold font-[700] text-[14px] xl:text-[18px] text-secondary-blue-grey leading-[18px]",children:["Winter Business deals"," ",(0,s.jsx)("span",{className:"font-Telkom123-Light font-[300] text-[14px] xl:text-[18px] text-secondary-blue-grey leading-[18px]",children:"- Receive a Takealot voucher"})]}),(0,s.jsx)("p",{className:"font-Telkom123-Light font-[300] text-[10px] xl:text-[12px] text-secondary-blue-grey leading-[15px] md:leading-[15px] md:tracking-normal",children:"Only the first 1000 customers will qualify for the R600 Takealot voucher."}),(0,s.jsx)("p",{className:"font-Telkom123-Light font-[300] text-[10px] xl:text-[12px] text-secondary-blue-grey leading-[15px] md:leading-[15px]\n md:tracking-normal",children:"Tâs and Câs apply"})]})})},20992:function(e,t,l){"use strict";var s=l(85893),a=l(67294),o=l(66200),n=l(77029),r=l(70806),i=l.n(r),d=l(60628),c=l(40934);t.Z=e=>{let{flow:t,show:l}=e,[r,x]=(0,a.useState)(!1);return(0,s.jsxs)("div",{className:"px-[30px] pt-[30px] pb-[1px] bg-secondary-snow",children:[(0,s.jsx)("div",{className:"rounded-[10px] mb-[30px] bg-white p-[20px] border-secondary-blue-grey border",children:(0,s.jsx)(d.Z,{defaultShow:l,header:(0,s.jsxs)("div",{className:"flex justify-between items-center",children:[(0,s.jsx)("p",{className:"font-Telkom123-Bold text-[14px] text-secondary-blue-grey leading-[22px]",children:"Fibre Switch and Save"}),(0,s.jsx)("svg",{className:"ml-auto ".concat(i()["collapse-details-indicator"]),width:"15",height:"15",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"})})]}),children:(0,s.jsxs)("div",{className:"flex flex-col mt-[15px] gap-[10px] max-w-[822px]",children:[(0,s.jsxs)("p",{className:"font-Telkom123-Light text-[12px] text-secondary-blue-grey leading-[22px]",children:["All new customers to Openserve Fibre will qualify for the promotion. This promotion is eligible for all orders placed between"," ",(0,s.jsxs)("span",{className:"font-Telkom123-Bold text-[14px]",children:[" ","01 August 2023 â 31 October 2023."]})," ","You will receive the benefit of the discount until 31 March 2024."," ",(0,s.jsx)("br",{}),"Tâs and Câs apply"]}),(0,s.jsx)("div",{children:(0,s.jsx)(o.default,{link:"#",onClick:()=>x(!r),viewType:(0,n.Cl)(t),className:"!rounded-[5px] font-Telkom123-Regular leading-[20.3px] tracking-[0.5px] text-[14px] ",children:(0,s.jsx)("span",{children:"READ MORE"})})})]})})}),(0,s.jsx)(c.Z,{toggle:r,setToggle:x,flow:t})]})}},33019:function(e,t,l){"use strict";l.d(t,{Z:function(){return p}});var s=l(85893),a=l(67294),o=l(99342),n=l.n(o),r=l(60628),i=l(91767),d=l(90364),c=l.n(d),x=()=>(0,s.jsx)("div",{className:c()["skelton-frame"],children:(0,s.jsx)("div",{className:"flex flex-row justify-center items-center w-full h-[120px]",children:(0,s.jsxs)("div",{className:c()["product-info"],children:[(0,s.jsx)("div",{className:c()["product-title"]}),(0,s.jsx)("div",{className:c()["product-detail"]}),(0,s.jsxs)("div",{className:c()["product-cta"],children:[(0,s.jsx)("div",{className:"flex-1 w-[50%]"}),(0,s.jsx)("div",{className:"w-[10px]"}),(0,s.jsx)("div",{className:"flex-1 hidden"})]})]})})}),p=e=>{var t,l,o,d,c;let{title:p,description:u}=e,[m,h]=(0,a.useState)([]),[g,f]=(0,a.useState)(!0);(0,a.useEffect)(()=>{(async()=>{try{let e=await (0,i.N)(),t=(null==e?void 0:e.data.length)?null==e?void 0:e.data:[];h(t),f(!1)}catch(e){console.error("Error fetching data:",e),f(!1)}})()},[]);let v=null==m?void 0:m.filter(e=>(null==e?void 0:e.subCategory)==="telkomEndlessFibre");return g?(0,s.jsx)(x,{}):(null==v?void 0:v.length)!==0&&(0,s.jsx)("div",{className:"rounded-[10px] px-[30px] pt-[30px] pb-[1px] bg-[#ffffff]",children:(0,s.jsx)("div",{className:"rounded-[10px] mb-[30px] bg-[#e7f6ff] p-[20px] border-[#DADEE0] border-[1px]",children:(0,s.jsxs)(r.Z,{defaultShow:!0,header:(0,s.jsxs)("div",{className:"flex justify-between items-center",children:[(0,s.jsx)("div",{className:"font-degular-BoldBlack text-display-xl-xs2 text-[#005288]",dangerouslySetInnerHTML:{__html:null==v?void 0:null===(t=v[0])||void 0===t?void 0:t.t
1itle}}),(0,s.jsx)("svg",{className:"ml-auto ".concat(n()["collapse-details-indicator"]),width:"15",height:"15",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"})})]}),children:[(null==v?void 0:null===(l=v[0])||void 0===l?void 0:l.description)?(0,s.jsx)("div",{className:"flex flex-col gap-[10px]",children:(0,s.jsx)("div",{className:"font-Telkom123-Regular text-[12px] text-secondary-blue-grey leading-[22px]",dangerouslySetInnerHTML:{__html:null==v?void 0:null===(o=v[0])||void 0===o?void 0:o.description}})}):"",(null==v?void 0:null===(d=v[0])||void 0===d?void 0:d.extendedDescription)?(0,s.jsx)("div",{className:"font-Telkom123-Light text-[12px] text-secondary-blue-grey leading-[22px]",dangerouslySetInnerHTML:{__html:null==v?void 0:null===(c=v[0])||void 0===c?void 0:c.extendedDescription}}):""]})})})}},40934:function(e,t,l){"use strict";var s=l(85893);l(67294);var a=l(77029),o=l(66849),n=l(66200),r=l(94753),i=l.n(r);t.Z=e=>{let{toggle:t,setToggle:l,flow:r}=e,d={title:"Fibre Switch and Save promotion",description:"<div class=".concat(i().info_note,'>\n <div class="md:px-[50px] px-[10px]">\n <p class="font-Telkom123-Light text-[14px] text-left text-secondary-blue-grey leading-[24px] tracking-[0.5px]">Please take note of the following:</p>\n <ul class="p-[30px] font-Telkom123-Light text-left text-[14px] text-secondary-blue-grey leading-[24px] tracking-[0.5px]">\n <li>The promotion will only apply to new customers on the Openserve network.\n </li>\n <li>Openserveâs Try Before you Buy 30 days free internet incentives are excluded from the promotion.\n </li>\n <li>The promotion will run for 3 months for orders placed on or before <span class="font-Telkom123-Bold text-[14px]"> 31 October 2023.</span>\n </li>\n <li>Customers will enjoy the benefit of the discounted pricing until <span class="font-Telkom123-Bold text-[14px]">31 March 2024.</span> Thereafter standard pricing will apply.</li>\n </ul></div>\n </div>')};return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(o.Z,{title:d.title,description:d.description,className:"",open:t,close:()=>l(!1),children:[(0,s.jsx)("div",{className:"md:px-[100px] px-[60px]",children:(0,s.jsx)(n.default,{link:"/assets/pdf/Fibre_Switch_and_Save_Promo_in_Openserve.pdf",isExternalUrl:!0,viewType:(0,a.Cl)(r),className:"inline !rounded-[5px] underline font-Telkom123-Regular leading-[20.3px] tracking-[0.5px] text-[14px] ",children:(0,s.jsx)("span",{children:"Promotion Tâs&Câs"})})}),(0,s.jsx)("div",{className:"callmeback-footer-bg mt-[40px] shadow-[0px_-5px_10px_rgba(126,147,156,0.15)] bg-white py-[30px]",children:(0,s.jsx)("div",{className:"md:flex justify-center mx-5",children:(0,s.jsx)(n.default,{className:" flex justify-center !rounded-[5px] py-[15px] px-[30px] font-Telkom123-Regular leading-[20.3px] tracking-[0.5px] text-[14px] w-full mr-5 md:w-[200px]",viewType:"business"!==r?"bgMagentacolorWhite":"bgAzureBluecolorWhite",onClick:()=>l(!1),children:(0,s.jsx)("span",{children:"CLOSE"})})})})]})})}},98254:function(e,t,l){"use strict";var s=l(85893);l(67294);var a=l(1485),o=l(66200),n=l(80615),r=l.n(n),i=l(59336),d=l(23403);t.Z=e=>{let{days:t,price:l,title:n,subTitle:c,referencePrice:x,ctaLabel:p,ctaLink:u,speed:m="",imageUrl:h}=e;return(0,s.jsxs)("div",{className:"flex flex-col justify-center bg-white pt-[10px] border-[1px] border-[#DADEE0] rounded-[10px] h-full shadow-[2px_2px_4px_0px_#2E3F4B26] hover:shadow-[0_5px_19px_0px_rgba(60,85,100,0.3)] ".concat(r().card),children:[(0,s.jsx)("div",{className:"flex justify-center my-6 shrink-0",children:(0,s.jsx)(a.ZP,{src:h,fallbackurl:"/assets/images/prepaid_voucher.svg",width:100,height:100})}),(0,s.jsxs)("div",{className:"px-4 lg:min-h-[178px] ",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-wrap font-degular-BoldBlack text-display-xl-xs text-[#0099FF] pb-1",dangerouslySetInnerHTML:{__html:n}}),(0,s.jsx)("h2",{className:"font-Telkom123-BoldItalic text-body-m text-[#005288] pb-2",children:t}
1),(0,s.jsx)("div",{className:"text-[12px] leading-[16px] tracking-[-0.1px] text-[#3C5564] font-Telkom123-Light text-left pb-[2.5px]",dangerouslySetInnerHTML:{__html:c}}),m?(0,s.jsxs)("div",{className:"flex gap-[3px] text-[#7D8B94]",children:[(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 6 13",fill:"none",children:(0,s.jsx)("path",{d:"M3.19366 0.736328L3.19366 12.1113M3.19366 12.1113L0.977654 9.89529M3.19366 12.1113L5.40967 9.89529",stroke:"#7D8B94","stroke-linecap":"round","stroke-linejoin":"round"})}),(0,s.jsxs)("p",{className:"text-body-xs font-Telkom123-Bold text-left pb-[2.5px]",children:[m," ",(0,s.jsx)("span",{className:"text-body-xs font-Telkom123-Regular",children:"download"})]})]}):""]}),(0,s.jsxs)("div",{className:"p-[10px] bg-[#E7F6FF] rounded-lg mt-[26px] text-[#005288]",children:[(0,s.jsx)("p",{className:"text-display-xl-s font-degular-BoldBlack pb-2",children:(0,i.c)(l)}),(0,s.jsx)("h6",{className:"text-display-xl-xs3 font-degular-BoldBlack ",children:x})]})]}),(0,s.jsx)("div",{className:"border-b-[1px] border-[#DADEE0] pt-4 max-w-[90%] w-full mx-auto"}),(0,s.jsx)("div",{className:"flex flex-row justify-items-stretch items-center w-[100%] mb-4 px-4 mt-4",children:(0,s.jsx)(o.default,{className:"block w-[100%] font-Telkom123-Bold text-center py-[15px] lg:p-[15px] rounded-lg md:bottom-[unset] bottom-[80%] md:left-[0] ",link:u,isExternalUrl:!0,viewType:"bgMagentacolorWhite",children:(0,s.jsx)("span",{children:(0,d.Mt)(p)})})})]})}},13565:function(e,t,l){"use strict";l.d(t,{Z:function(){return n},q:function(){return o}});let s={name:"Telkom South Africa",alternateName:"Telkom"},a={title:"Welcome to the Hub of Great Connections",description:"Together we can do great business with Telkom Business.",image:["https://images.telkom.co.za/1440/backend-files/2024-04/core-homepage-desk.png"],datePublished:"2024-04-29",dateModified:"2024-05-19"},o=(e,t,l)=>{let a={type:"Corporation",logo:"https://images.telkom.co.za/assets/telkom-logo.svg",name:e.name||s.name,alternateName:e.alternateName||s.alternateName,url:e.url||t,contactPoint:[{telephone:"081180",contactType:"customer service",contactOption:"TollFree",areaServed:"ZA",availableLanguage:"en"},{telephone:"10210",contactType:"billing support",contactOption:"TollFree",areaServed:"ZA",availableLanguage:"en"}],sameAs:["https://www.facebook.com/TelkomZA/","https://twitter.com/TelkomZA","https://www.youtube.com/telkom/","https://www.linkedin.com/company/telkom/","https://www.telkom.co.za/"]};return l&&(a.description=l),a},n=(e,t)=>({url:e.url||t,title:e.title||a.title,description:e.description||a.description,images:e.images||a.image,datePublished:e.datePublished||a.datePublished,dateModified:e.dateModified||a.dateModified,authorName:[{type:"Organization",name:"Telkom"}],publisherName:"Telkom",publisherLogo:"https://images.telkom.co.za/assets/telkom-logo.svg"})},84655:function(e,t,l){"use strict";l.d(t,{Z:function(){return m}});var s=l(85893),a=l(67294),o=l(2962),n=l(10642),r=l(77029);let i=e=>{let{url:t,description:l,title:s,image:a,image_alt:o,image_height:r,image_width:i}=e;return(0,n.ks)({url:t,description:l,title:s,images:a?[(0,n.ks)({url:a,alt:o,height:Number(r),width:Number(i)})]:[]})};var d=function(){var e;let{title:t="",description:l="",canonicalUrl:s="",keywords:a="",imageUrl:o="",og:n,twitter:d={}}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},c=t||r.O||"Telkom",x=l||"Biggest provider of communication services in South Africa for mobile, home and business. ADSL, Fiber, Wireless broadband and mobile internet services.",p=o||r.Po+"/assets/logo/telkom-og-logo.png",u=n?i(n):{};return{title:c,description:x,themeColor:"#008fe0",canonical:s,defaultOpenGraphImageWidth:1200,defaultOpenGraphImageHeight:630,openGraph:{type:"website",siteName:r.sn||c,title:c,description:l,url:s,...u,images:[{url:p,alt:x,width:1200,height:630},...(null===(e=u.images)||void 0===e?void 0:e.length)?u.images:[]].filter(e=>!!(null==e?void 0:e.url))},facebook:{appId:r.ZY||""},twitter:{cardType:"summary_large_image",handle:r.W5,site:r.JH||""},additionalMetaTags:[{name:"keywords",content:a},{name:"twitter:site",content:r.JH||""},{name:"twitter:site:id",content:r.Wm||""},{name:"twitter:title",content:d.title||c},{name:"twitter:description",content:d.description||r.O||""},{name:"twitter:image",content:d.image||p},{name:"twitter:image:alt",content:d.image_alt||x}].filter(e=>!!e.content)}},c=l(11163),x=l(13565),p=l(9008),u=l.n(p),m=e=>{let{isReady:t,asPath:l}=(0,c.useRouter)(),n=(0,a.useMemo)(()=>t?"".concat(r.Po).concat(l):"",[t,l]),i=(null==e?void 0:e.markdownText)?null==e?void 0:e.markdownText:"",p=!(0,r.Z3)()||!0===e.noIndex;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.lX,{...d(e),norobots:!0}),(0,s.jsx)(o.ns,{...(0,x.q)(e,n,i)}),(0,s.jsx)(u(),{children:p?(0,s.jsx)("meta",{name:"robots",content:"noindex,nofollow"}):(0,s.jsx)("meta",{name:"robots",content:"index,follow"})})]})}},36167:function(e,t,l){"use strict";var s=l(85893);l(67294);var a=l(49864),o=l.n(a),n=l(66200),r=l(11163),i=l(77029);t.Z=e=>{let{description:t,prepaidContent:l=!1}=e,{vendorType:a}=(0,r.useRouter)().query;return(0,s.jsxs)("div",{className:"".concat(o().container," p-5 lg:p-[25px] gap-[10px] rounded-[20px] border-[1px] border-[#7E939C] bg-[#DCF4FF] flex flex-col items-top min-h-[192px] mb-[25px] md:my-[25px]"),children:[l?(0,s.jsx)(s.Fragment,{}):(0,s.jsxs)("div",{className:"flex gap-[5px]",children:[(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.3733 2.6416C7.19656 2.6416 3 6.83816 3 12.0149C3 14.6 4.04653 16.9407 5.73905 18.6365C6.47038 17.6867 7.3985 16.9032 8.46203 16.3413C9.6818 15.6969 11.0419 15.3638 12.4214 15.3717C13.8009 15.3796 15.1571 15.7282 16.3695 16.3865C17.3982 16.9452 18.2964 17.7122 19.0078 18.6362C20.7001 16.9404 21.7466 14.5999 21.7466 12.0149C21.7466 6.83816 17.55 2.6416 12.3733 2.6416ZM12.3733 21.3882C10.1426 21.3882 8.09397 20.609 6.48464 19.3079C7.13564 18.4439 7.96984 17.7324 8.92917 17.2255C10.0033 16.658 11.2009
116.3647 12.4157 16.3717C13.6305 16.3786 14.8247 16.6856 15.8922 17.2653C16.8208 17.7696 17.6285 18.4666 18.2623 19.3076C16.6529 20.6089 14.6041 21.3882 12.3733 21.3882ZM12.3733 22.3882C14.9526 22.3882 17.3121 21.4467 19.1268 19.8888C19.1614 19.8759 19.1951 19.8589 19.2273 19.8378C19.3023 19.7885 19.3597 19.7224 19.3978 19.6478C21.4566 17.7521 22.7466 15.0342 22.7466 12.0149C22.7466 6.28588 18.1023 1.6416 12.3733 1.6416C6.64427 1.6416 2 6.28588 2 12.0149C2 17.7439 6.64427 22.3882 12.3733 22.3882ZM9.07617 10.0783C9.07617 8.2574 10.5523 6.78125 12.3733 6.78125C14.1942 6.78125 15.6704 8.2574 15.6704 10.0783C15.6704 11.8993 14.1942 13.3754 12.3733 13.3754C10.5523 13.3754 9.07617 11.8993 9.07617 10.0783ZM12.3733 5.78125C10 5.78125 8.07617 7.70512 8.07617 10.0783C8.07617 12.4516 10 14.3754 12.3733 14.3754C14.7465 14.3754 16.6704 12.4516 16.6704 10.0783C16.6704 7.70512 14.7465 5.78125 12.3733 5.78125Z",fill:"#3C5564"})}),(0,s.jsx)("p",{className:"font-Telkom123-Bold text-[14px] leading-[22px] text-secondary-blue-grey ",children:l?"Please note":"Already have a Telkom contract ?"})]}),(0,s.jsxs)("div",{className:" flex flex-col gap-[10px] max-w-[990px]",children:[(0,s.jsx)("div",{className:"font-Telkom123-Light text-[14px] leading-[22px] text-secondary-blue-grey mb-[14px]",dangerouslySetInnerHTML:{__html:t}}),(0,s.jsx)("div",{className:" max-sm:flex",children:(0,s.jsx)(n.default,{className:"!rounded-[5px] py-[10px] px-[30px] font-Telkom123-Regular leading-[100%] tracking-[0.5px] w-full text-[14px] xl:text-[14px] text-center",viewType:(0,i.xn)(a),link:l?"https://customerportal.telkomsa.net/portal/overview/index.jsf":"https://selfservice.telkom.co.za/rococo/public/content/interstitial",isExternalUrl:!0,children:"LOG IN HERE"})})]})]})}},45678:function(e,t,l){"use strict";l.d(t,{$Y:function(){return i},EG:function(){return d},F3:function(){return h},Lx:function(){return r},XS:function(){return m},aw:function(){return g},pc:function(){return x}});var s=l(59336),a=l(77014),o=l(42356);let n=(e,t)=>e&&t?e-Math.round(e*t/100):0,r=e=>e.reduce((e,t)=>{let l=t.discount;return e?l&&e.discount>l?{...t}:e:l?{...t}:null},null),i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((e,t)=>{let l=t.discount?n((0,s.J)(t.price),t.discount):(0,s.J)(t.price);return l>=0&&e>l?l:e},Number.MAX_SAFE_INTEGER)},d=e=>e.reduce((e,t)=>{let l=(0,s.J)(t.price);return(t.discount&&(l=n(l,t.discount)),e<l)?l:e},Number.MIN_SAFE_INTEGER),c=e=>i(e.variants),x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:c;if(!Array.isArray(e)||0===e.length||!t)return e;let s=JSON.parse(JSON.stringify(e));switch(t){case"A-Z":return s.sort((e,t)=>e.name.localeCompare(t.name));case"Z-A":return s.sort((e,t)=>t.name.localeCompare(e.name));case"PRICE LOW TO HIGH":return s.sort((e,t)=>l(e)-l(t));case"PRICE HIGH TO LOW":return s.sort((e,t)=>l(t)-l(e));case"NEWEST":return s.sort((e,t)=>t.created-e.created);default:return s.sort((e,t)=>l(e)-l(t))}},p=(e,t)=>{let l=(0,a._)((0,o.f$)(e.min,"",!0)),s=(0,a._)((0,o.f$)(e.max,"",!0)),n=(0,a._)((0,o.f$)(t,"",!0));return l<=n&&n<=s},u=(e,t)=>e&&e.length&&t&&t.length?e.map(e=>{let l=!0;return t.some(t=>{let s;let a=e[t.accessKey];switch(t.type){case"checkbox":if(s=t.value.map(e=>(0,o.f$)(e,"",!0)),Array.isArray(a)){if(a.length){let e=!1;a.some(t=>-1!==s.indexOf((0,o.f$)(t,"",!0))&&(e=!0,!0)),l=e}else l=!1}else a&&-1!==s.indexOf((0,o.f$)(a,"",!0))||(l=!1);break;case"radio":s=(0,o.f$)(t.value,"",!0),a&&s===(0,o.f$)(a,"",!0)||(l=!1);break;case"rangebar":s=t.value,a&&p(s,(0,o.f$)(a,"",!0))||(l=!1)}return!l}),l?e:null}).filter(e=>e):e,m=(e,t)=>{if(!e||!e.length||!t||!t.length)return e;let l=JSON.parse(JSON.stringify(e)),s=t.filter(e=>{switch(e.type){case"rangebar":var t,l;if("object"==typeof e.value&&(null===(t=e.value)||void 0===t?void 0:t.min)&&(null===(l=e.value)||void 0===l?void 0:l.max)){let t=(0,o.f$)(e.items[0].name,"",!0),l=(0,o.f$)(e.items[e.items.length-1].name,"",!0),s=(0,o.f$)(e.value.min,"",!0),a=(0,o.f$)(e.value.max,"",!0);return e.items.length<=1||t!==s||l!==a}return!1;case"radio":return"string"==typeof e.value&&""!==e.value;case"checkbox":return Array.isArray(e.value)&&e.value.length>0;default:return!1}}).reduce((e,t)=>
1("productTags"===t.accessKey?e.productFilters.push(t):"serviceProviderName"===t.accessKey?e.serviceProviderFilters.push(t):e.variantFilters.push(t),e),{variantFilters:[],productFilters:[],serviceProviderFilters:[]});return l.map(e=>{let t=u(e.variants,s.variantFilters);return{...e,variants:t}}).filter(e=>{if(!s.productFilters.length&&!s.serviceProviderFilters.length||!e.variants.length)return e.variants.length;{let t=u([e],s.productFilters);if(t.length>0&&s.serviceProviderFilters.length>0){let t=s.serviceProviderFilters[0];if(!e.provider.name)return!0;{let l=e.provider.name.toLowerCase();return t.value.some(e=>e.toLowerCase()===l)}}return t.length}})},h={coverage:{title:"Complete a coverage check",description:"Complete a Fibre coverage check to see which services are available in your area. Once confirmed, youâll be able to compare the most suitable options for your needs.",secondaryLabel:"Back",primaryLabel:"Coverage check"},compare:{title:"Before you compare products",description:"Check your coverage to confirm whatâs available at your address. We recommend completing this step before comparing products.",secondaryLabel:"Check coverage",primaryLabel:"Compare"}},g=(e,t)=>{var l,s,a,o;return(null==e?void 0:e.toLowerCase())==="fibre"&&(null==t?void 0:null===(l=t.addressInfo)||void 0===l?void 0:l.isReady)&&!(null==t?void 0:null===(o=t.addressInfo)||void 0===o?void 0:null===(a=o.info)||void 0===a?void 0:null===(s=a.addressInfo)||void 0===s?void 0:s.address)}},79328:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return em},default:function(){return ev},getProductsList:function(){return eh}});var s=l(85893),a=l(91207),o=l(77029),n=l(17766),r=l(84655),i=l(13598),d=l(67294),c=l(42356),x=l(11163),p=l(41664),u=l.n(p),m=l(10642),h=e=>{let{classNames:t,urlPrefix:l,selectedSubCategoryId:a,subCategories:o}=e,n=(0,x.useRouter)(),r=(0,d.useMemo)(()=>o.map(e=>({key:"subCategoryLink_".concat((0,c.f$)(e.name)).concat(e.id),subCategory:(0,c.j7)(e.name),isActive:a===e.id,name:e.name,disabled:!0==e.disabled})),[o,a,l]),i=e=>{let{vendorType:t,category:l,subCategory:s}=e,a=Object.keys(m.vw),o={vendorType:t,category:l,subCategory:s};for(let t in e)a.indexOf(t)>-1&&(o[t]=e[t]);return o};return(0,s.jsx)("section",{className:"bg-[#E7F6FF] md:block hidden bg-opacity-[0.95] backdrop-blur-[5px]",children:(0,s.jsx)("div",{className:"flex flex-nowrap overflow-hidden overflow-x-auto items-center container-1440 ".concat(r.length>4?"":"justify-center"," xl:justify-center px-[20px] xl:px-0 py-[20px] gap-2.5 "),children:r.map(e=>{let{key:l,subCategory:a,isActive:o,name:r}=e;return(0,s.jsx)(u(),{legacyBehavior:!0,href:{pathname:n.pathname,query:i({...n.query,subCategory:a})},passHref:!0,shallow:!1,children:(0,s.jsx)("a",{className:"whitespace-nowrap 2xl:min-w-[180px] min-w-[127px] max-w-full flex-shrink-0 px-[10px] py-[7.5px] border rounded-[5px] text-center font-Telkom123-Regular text-body-s ".concat(o?t.activeClassName:t.inActiveClassName),children:(0,s.jsx)("span",{dangerouslySetInnerHTML:{__html:r}})})},l)})})})},g=l(5152),f=l.n(g),v=l(22733),y=l(62283),b=l(1485),j=l(96337),w=l(86010),C=l(23403),k=l(55303),N=l(74319);let _=f()(()=>Promise.all([l.e(1675),l.e(1827)]).then(l.bind(l,81827)),{loadableGenerated:{webpack:()=>[81827]},ssr:!1}),T=f()(()=>Promise.all([l.e(5636),l.e(5463)]).then(l.bind(l,45463)),{loadableGenerated:{webpack:()=>[45463]},ssr:!1}),F=f()(()=>l.e(9638).then(l.bind(l,68836)),{loadableGenerated:{webpack:()=>[68836]},ssr:!1}),L=["A-Z","Z-A","PRICE LOW TO HIGH","PRICE HIGH TO LOW","NEWEST","MOST POPULAR"];var P=e=>{let{scrollPosition:t,scrollDirection:l,vendorType:a,categoryName:o,prependHref:n,subCategoryName:r,productsCount:i,sort:p,filters:u,selectedSort:h,onChangeSort:g,onApplyFilters:f,onResetFilters:P,onResetSort:S,subCategories:A,selectedSubCategoryId:B,activeFilters:R,hasCheckCoverage:E=!0}=e,M=(0,j.TL)(),O=(0,x.useRouter)(),[I,Z]=(0,d.useState)(!1),[D,q]=(0,d.useState)(!1),[H,W]=(0,d.useState)(!1),[G,$]=(0,d.useState)(""),{windowSize:U}=(0,N.a)(),Y=(0,d.useMemo)(()=>i?"Showing ".concat(i," ").concat((0,C._6)(i,"item")):"",[i]),z=(0,d.useMemo)(()=>{let e={};for(let t in m.vw)O.query[t]&&(e[t]=O.query[t]);let t=[{label:"Home",href:{pathname:"/[vendorType]",query:{vendorType:a}},active:!1},{label:(0,c.XR)(a),href:{pathname:"/[vendorType]",query:{vendorType:a}},active:!1}],l={vendorType:a,category:o,subCategory:r};return o&&(t.push({label:o,href:k.Z.ProductsListingPage(l,e),active:!1}),r&&t.push({label:r,href:k.Z.ProductsListingPage(l,e),active:!0})),t},[a,n,r,o,A]),J="up"===l&&t>100,X=(0,d.useCallback)(e=>{e(e=>(e?$(""):$("overflow-y-auto"),!e))},[]),V=(0,d.useCallback)(e=>()=>X(e),[X]),K=V(Z),Q=V(q),ee=V(W);return(0,s.jsxs)(s.Fragment,{children:[I&&(0,s.jsx)(F,{isOpen:I,closeModal:K,sortByList:L,selectedSortItem:h,applySorting:g,overflowClass:G,flow:a}),D&&(0,s.jsx)(T,{isOpen:D,closeModal:Q,subCategories:A,overflowClass:G,selectedSubCategoryId:B,prependHref:n,flow:a}),H&&(0,s.jsx)(_,{flow:a,isOpen:H,categoryName:o,subCategoryName:r,filters:u,activeFilters:R,overflowClass:G,sortByList:L,selectedSort:h,onClose:ee,onApplySort:g,onApplyFilters:f,onResetFilters:P,onResetSort:S}),(0,s.jsx)("section",{className:"bg-[#FFFFFF] shadow-[0px_4px_2px_-2px_#2E3F4B26]",children:U.width>=992?(0,s.jsxs)("div",{className:(0,w.Z)("hidden lg:grid grid-cols-12 px-7 3xl:px-0 pt-[30px] pb-[26px] gap-y-[23px] container-1440",{"items-center":J}),children:[(0,s.jsx)("div",{className:(0,w.Z)("transition-[display]",J?"col-span-3":"col-span-12"),children:(0,s.jsx)(v.Z,{className:"font-Telkom123-Regular text-body-xs text-[#C2C9CD] flex-wrap gap-[5px]",itemClassName:"underline leading-[14.5px]",seperatorClassName:"no-underline",itemActiveClassName:"no-underline text-[#005288]",items:z,seperator:"/"})}),(0,s.jsx)("div",{className:J?"lg:col-span-3 xl:col-span-3":"lg:col-span-4 xl:col-span-3",children:(0,s.jsx)("h1",{className:"transition-[font-size] text-[#005288] font-degular-BoldBlack text-display-xl-s ",dangerouslySetInnerHTML:{__html:o}})}),(0,s.jsx)("div",{className:J?"lg:col-span-6 xl:col-span-6":"lg:col-span-8 xl:col-span-9",children:(0,s.jsxs)("div",{className:"flex justify-between items-end h-full",children:[(0,s.jsx)("div",{children:(0,s.jsx)("p",{className:"font-Telkom123-Regular text-body-s text-[#005288]",children:Y})}),(0,s.jsxs)("div",{className:"flex font-Telkom123-Regular text-body-s text-[#005288]",children:["Sort by:",(0,s.jsxs)(y.Z,{href:"#",onClick:K,className:"flex items-center font-Telkom123-Bold gap-[10px] underline text-[#0099FF] ml-[10px]",children:[(0,s.jsx)("span",{children:h}),(0,s.jsx)(b.ZP,{width:18,height:11,layout:"intrinsic",src:"/assets/images/shop-page/Sort.svg",className:"mt-1"})]})]})]})})]}):(0,s.jsxs)("div",{className:"block lg:hidden p-[20px] md:px-[30px]",children:[(0,s.jsx)(v.Z,{className:"font-Telkom123-Regular text-body-xs text-[#C2C9CD] ",itemClassName:"underline leading-[14.5px] ",seperatorClassName:"mx-[5px] no-u
1nderline",itemActiveClassName:"no-underline text-[#005288]",items:z,seperator:"/"}),(0,s.jsxs)("div",{className:"mt-[20px] flex justify-between",children:[(0,s.jsx)("h1",{className:"font-degular-BoldBlack text-tablet-display-s text-[#005288] ",dangerouslySetInnerHTML:{__html:o}}),(0,s.jsx)("div",{className:"self-end",children:(0,s.jsx)("p",{className:"font-Telkom123-Regular text-[12px] leading-[16px] text-secondary-blue-grey",children:Y})})]}),(0,s.jsxs)("div",{className:"mt-[30px] flex justify-between",children:[(0,s.jsxs)("div",{className:"flex items-center gap-[10px] font-Telkom123-Regular text-[12px] leading-[16px] text-secondary-blue-grey",children:[(0,s.jsx)(y.Z,{href:"#",onClick:Q,className:"text-primary-azure-blue",children:(0,s.jsx)(b.ZP,{width:21.01,height:22.59,layout:"intrinsic",src:"/assets/images/shop-page/Sort-sm.svg"})}),"Products"]}),E&&(0,s.jsx)("div",{children:(0,s.jsx)(b.ZP,{width:24,height:24,layout:"intrinsic",src:"/assets/images/shop-page/coverage_icon.svg",onClick:()=>{M(m.shopSliceActions.setCoveragePopup(!0))}})}),(0,s.jsxs)("div",{className:"flex items-center gap-[10px] font-Telkom123-Regular text-[12px] leading-[16px] text-secondary-blue-grey",children:["Sort & Filter",(0,s.jsx)(y.Z,{href:"#",onClick:ee,className:"text-primary-azure-blue self-end",children:(0,s.jsx)(b.ZP,{width:23.08,height:16.07,layout:"intrinsic",src:"/assets/images/shop-page/Filter-sm.svg"})})]})]})]})})]})},S=l(66200),A=l(75502),B=l(35893),R=l.n(B),E=l(20148),M=l(86271),O=function(e){let{address:t,isLoading:l,isReady:a,vendorType:o,onClearAddress:n,onCoveragePopupOpen:r}=e,i=(0,x.useRouter)(),c=(0,d.useMemo)(()=>{let{amid:e,latitude:t,longitude:l}=i.query;return e&&t&&l},[i.asPath]);return l||!a&&c?(0,s.jsxs)("div",{className:"bg-white border border-secondary-silver rounded-[20px] w-full mx-auto mt-[0] md:mt-[18px] mb-[25px] animate-pulse p-[20px]",children:[(0,s.jsx)("div",{className:"h-[14px] w-[60%] bg-slate-200 mb-3 rounded"}),(0,s.jsx)("div",{className:"h-[14px] w-[40%] bg-slate-200 rounded"})]}):(0,s.jsx)("div",{className:"block mt-[0] md:mt-[18px] mb-[25px]",children:a&&t?(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"flex items-center flex-row bg-[#E7F6FF] border border-[#DADEE0] rounded-[8px] p-[16px]",children:[(0,s.jsx)(b.ZP,{src:"/assets/images/common/location-raindow-icon.png",alt:"location",layout:"fixed",width:58,height:58}),(0,s.jsxs)("div",{className:"ml-[10px]",children:[(0,s.jsx)("p",{className:"font-Telkom123-Bold text-[#005288] mb-[6px]",children:(0,M.Tg)(t)}),(0,s.jsx)("p",{className:"text-[#3C525F] text-body-s font-Telkom123-Regular",children:"The following products and services are available based on your location"}),(0,s.jsx)(M.EY,{isMobile:!0,onCoveragePopupOpen:r,onClearAddress:n})]}),(0,s.jsx)(M.EY,{onCoveragePopupOpen:r,onClearAddress:n})]})}):(0,s.jsxs)("div",{className:"flex flex-col md:flex-row items-start justify-start md:items-center md:justify-between gap-[15px] bg-[#09F] border border-[#DADEE0] rounded-[8px] p-[16px]",children:[(0,s.jsxs)("div",{className:"flex gap-[12px]",children:[(0,s.jsx)(b.ZP,{src:"/assets/images/common/location-raindow-icon.png",alt:"location",layout:"fixed",width:58,height:58}),(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-degular-BoldBlack text-white mb-[8px] md:text-display-xl-xs text-display-xl-xs2",children:"Step 1: Start here and check your coverage"}),(0,s.jsx)("p",{className:"text-white text-body-s font-Telkom123-Regular",children:"Complete a coverage check to narrow your search for available products in your location."})]})]}),(0,s.jsx)(S.default,{onClick:r,viewType:"bgMagentacolorWhite",className:"w-full px-[30px] md:w-[200px] py-[12px] rounded-[8px] font-Telkom123-Bold xl:ml-auto",children:"Check coverage"})]})})},I=l(8690),Z=l(36167),D=l(20992),q=l(33019),H=l(57734),W=l(98254),G=e=>{let{productList:t}=e;return(0,s.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-[25px]",children:null==t?void 0:t.map((e,t)=>{var l,a;let o=(null==e?void 0:null===(l=e.rangeInfo)||void 0===l?void 0:l.min)?null==e?void 0:null===(a=e.rangeInfo)||void 0===a?void 0:a.min:"";return(0,s.jsx)("div",{children:(0,s.jsx)(W.Z,{days:e.voucherDuration,price:e.priceInt,title:e.name,subTitle:e.voucherDescription,referencePrice:e.planPeriod,ctaLabel:e.ctaLabel,ctaLink:e.ctaLink,speed:o,imageUrl:null==e?void 0:e.imageUrl})},t)})})},$=l(6794),U=l(87343),Y=l.n(U),z=e=>{let{icon:t,message:l,description:a}=e;return(0,s.jsx)("section",{className:"".concat(Y().contain," my-[25px] flex flex-col justify-center text-[#F60] p-6 text-sm border border-[#FFB98A] border-solid backdrop-blur-sm max-md:px-5"),children:(0,s.jsx)("div",{className:"flex flex-col w-full max-md:max-w-full",children:(0,s.jsxs)("div",{className:"flex flex-col w-full max-md:max-w-full",children:[(0,s.jsxs)("header",{className:"flex flex-wrap gap-1.5 w-full font-bold leading-6 items-center max-md:max-w-full",children:[(0,s.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"#f97316","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[(0,s.jsx)("path",{d:"M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4a2 2 0 0 0 1-1.73z"}),(0,s.jsx)("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),(0,s.jsx)("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]}),(0,s.jsx)("h2",{className:"flex-1 font-Telkom123-Bold basis-0 max-md:max-w-full",children:l})]}),(0,s.jsx)("p",{className:"mt-1.5 font-light font-Telkom123-Light text-[12px] leading-loose max-md:max-w-full",children:a})]})})})};function J(e){var t,l;let{selectedItems:a=[],onRemove:o,onClear:n,category:r}=e,[i,c]=(0,d.useState)(!1),p=(0,x.useRouter)();if(0===a.length)return null;let u=null!==(l=null==a?void 0:a.map(e=>e.productAlias))&&void 0!==l?l:[],m=a.length<2,h=e=>Array.isArray(e)?e[0]:e,g=new URLSearchParams;
1["amid","latitude","longitude","addressProvider","productCode","paymentType"].forEach(e=>{let t=h(p.query[e]);t&&g.append(e,t)});let f=g.toString(),v=m?"#":"/compare?id=".concat(encodeURIComponent(u.join(",")))+"&subCategory=".concat(encodeURIComponent((null==a?void 0:null===(t=a[0])||void 0===t?void 0:t.subcategory)||""))+"&category=".concat(r)+"&vendorType=".concat(h(p.query.vendorType)||"")+(f?"&".concat(f):""),y=e=>{let{item:t,isMobile:l}=e;return(0,s.jsxs)("div",{className:"flex items-center gap-3 bg-white rounded-[8px] border-[#E5E7EB] px-4 py-4 shadow-[2px_2px_4px_0px_#2E3F4B26] md:min-w-[160px] lg:min-w-[260px]",children:[(0,s.jsx)(b.ZP,{src:t.slideDetailsImage,width:l?36:32,height:l?36:32}),(0,s.jsx)("div",{className:"flex-1",children:(0,s.jsx)("p",{className:"".concat(l?"text-base font-medium truncate":"text-sm"," text-[#005288]"),children:t.name})}),(0,s.jsx)("button",{onClick:()=>null==o?void 0:o("REMOVE",t.productAlias),children:l?(0,s.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",children:(0,s.jsx)("path",{d:"M6 6L18 18M6 18L18 6",stroke:"#005288",strokeWidth:"2",strokeLinecap:"round"})}):(0,s.jsx)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.5859 16L9.29297 21.2929L10.7072 22.7072L16.0002 17.4143L21.2931 22.7072L22.7074 21.2929L17.4144 16L22.7072 10.7072L21.293 9.29297L16.0002 14.5857L10.7073 9.29297L9.29313 10.7072L14.5859 16Z",fill:"#005288"})})})]})},j=e=>{let{index:t,isMobile:l}=e;return(0,s.jsxs)("div",{className:"border-2 rounded-lg md:min-w-[160px] lg:min-w-[260px] flex items-center justify-center border-dashed border-[#DADEE0] bg-[#F3F4F5] font-Telkom123-Regular text-titleAlt-xs3 text-[#3C525F] py-[18px]",children:["Product ",t]})},w=e=>{let{isMobile:t}=e;return(0,s.jsxs)("div",{className:"flex flex-col xl:flex-row gap-2 ".concat(t?"mt-6":""),children:[(0,s.jsx)(S.default,{link:"#",viewType:"outlineBlue",className:"w-full md:w-[150px] font-Telkom123-Regular text-button-s rounded-[8px] h-[45px] flex items-center justify-center",onClick:n,children:"Clear all"}),(0,s.jsx)(S.default,{link:m?"#":v,onClick:e=>{m&&e.preventDefault()},className:" flex items-center justify-center font-semibold ".concat(m?"bg-gray-300 text-gray-500 cursor-not-allowed":"font-Telkom123-Bold text-center text-[#003F6A] text-button-s !rounded-[8px] bg-[#91E200] px-1 flex items-center justify-center shadow-[1px_1px_3px_0px_rgba(0,46,77,0.30)] md:w-[150px] hover:shadow-[4px_4px_4px_0px_rgba(83,129,0,0.4),2px_2px_0px_0px_rgba(81,100,113,0.4)]"," w-full md:w-[150px] !rounded-[8px] h-[45px]"),children:"Compare"})]})};return(0,s.jsxs)("div",{className:"sticky bottom-0 left-0 z-[1] w-full shadow-[2px_2px_4px_0px_#2E3F4B26,1.5px_1.5px_1px_0px_#A9E9FF33,-1px_-8px_64px_0px_#00339933]",children:[(0,s.jsxs)("div",{className:"md:hidden bg-[#F3F5F7] overflow-auto min-h-[300x] rounded-t-3xl",children:[(0,s.jsx)("div",{className:"h-[4px] w-full bg-[#91E200] rounded-t-3xl"}),(0,s.jsx)("div",{className:"flex justify-center",children:(0,s.jsx)("button",{onClick:()=>c(!i),className:"bg-[#91E200] w-[44px] h-[22px] rounded-b-xl flex items-center justify-center shadow-md",children:(0,s.jsx)("svg",{className:"transition-transform duration-300 ".concat(i?"rotate-180":""),width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.00004 6.70718L4.35359 10.3536L3.64648 9.64652L8.00004 5.29297L12.3536 9.64652L11.6465 10.3536L8.00004 6.70718Z",fill:"#002E4D"})})})}),(0,s.jsxs)("div",{className:"px-4 pt-4 pb-6",children:[(0,s.jsx)(X,{count:a.length}),(0,s.jsx)("div",{className:"transition-all duration-300 overflow-hidden ".concat(i?"max-h-[1000px] mt-4":"max-h-0"),children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[a.map(e=>(0,s.jsx)(y,{item:e,isMobile:!0},e.id)),Array.from({length:3-a.length}).map((e,t)=>(0,s.jsx)(j,{index:a.length+t+1,isMobile:!0},t))]})}),(0,s.jsx)(w,{isMobile:!0})]})]}),(0,s.jsx)("div",{className:"hidden md:block bg-white",children:(0,s.jsxs)("div",{className:"max-w-7xl mx-auto px-6 py-4 ",children:[(0,s.jsx)(X,{count:a.length,small:!0}),(0,s.jsxs)("div",{className:"flex justify-between items-center ",children:[(0,s.jsxs)("div",{className:"flex gap-4",children:[a.map(e=>(0,s.jsx)(y,{item:e},e.id)),Array.from({length:3-a.length}).map((e,t)=>(0,s.jsx)(j,{index:a.length+t+1},t))]}),(0,s.jsx)("div",{className:"md:ml-[20px]",children:(0,s.jsx)(w,{})})]})]})})]})}
1function X(e){let{count:t,small:l}=e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"flex justify-between mb-4",children:[(0,s.jsx)("p",{className:"text-titleAlt-xs2 font-Telkom123-Bold text-[#3C525F]",children:"Comparison"}),(0,s.jsxs)("p",{className:l?"text-sm":"text-base",children:[t," of 3 selected"]})]}),!l&&(0,s.jsx)("div",{className:"h-[1px] bg-[#DADDE1] my-4"})]})}var V=()=>(0,s.jsx)("section",{className:"flex items-center justify-between flex-col md:flex-row gap-[15px] bg-[#09F] border-[#DADEE0] border-[2px] rounded-[8px] p-[16px] mt-[24px]",children:(0,s.jsxs)("div",{className:"flex flex-row gap-[12px]",children:[(0,s.jsx)(b.ZP,{src:"/assets/images/common/Wifi-raindow-icon.png",alt:"WiFi coverage step icon",fallbackurl:"/assets/images/common/Wifi-raindow-icon.png",layout:"fixed",width:58,height:58}),(0,s.jsxs)("div",{className:"flex flex-col gap-[8px]",children:[(0,s.jsx)("p",{className:"font-degular-BoldBlack text-white md:text-display-xl-xs text-display-xl-xs2",children:"Step 2: Choose an available product"}),(0,s.jsx)("p",{className:"font-Telkom123-Regular text-white text-body-s leading-relaxed",children:" Once you've completed a coverage check, you'll be able to see\n available product options in your area and compare service\n providers."})]})]})}),K=l(45678),Q=l(66849),ee=e=>{let{open:t,onClose:l,title:a="",description:o="",primaryButton:n,secondaryButton:r}=e,i=(null==n?void 0:n.viewType)==="bgSecondaryGreycolorWhiteDisabled";return(0,s.jsxs)(Q.Z,{open:t,close:l,title:"",description:"",className:"!p-0 max-w-[560px]",children:[(0,s.jsxs)("div",{className:"pb-6 px-6 text-center",children:[(0,s.jsx)("h2",{className:"text-titleAlt-s font-Telkom123-Bold text-[#002E4D] mb-3",children:a}),(0,s.jsx)("p",{className:"text-body-m text-[#005288] font-Telkom123-Regular",children:o})]}),(0,s.jsx)("div",{className:"px-6 py-5 bg-white border-t border-[#E6E9EC]",children:(0,s.jsxs)("div",{className:"flex gap-4 justify-center flex-col md:flex-row",children:[r&&(0,s.jsx)(S.default,{viewType:r.viewType,className:"w-full md:w-[200px] h-[44px] rounded-[8px] font-Telkom123-Bold text-center py-[8px] ".concat(r.className||""),onClick:r.onClick,children:r.label}),n&&(0,s.jsx)(S.default,{viewType:n.viewType,className:"w-full md:w-[200px] h-[44px] rounded-[8px] font-Telkom123-Bold text-center py-[8px] ".concat(i?"bg-[#DADEE0] cursor-not-allowed pointer-events-none":""," ").concat(n.className||""),onClick:i?()=>null:n.onClick,children:n.label})]})})]})},et=e=>{let{open:t,onClose:l,config:a={},onPrimary:o,onSecondary:n,viewType:r}=e;return(0,s.jsx)(ee,{open:t,onClose:l,title:null==a?void 0:a.title,description:null==a?void 0:a.description,secondaryButton:{viewType:"outlineBlue",label:null==a?void 0:a.secondaryLabel,onClick:n},primaryButton:{viewType:r,label:null==a?void 0:a.primaryLabel,onClick:o}})},el=e=>{let{data:t=[],hasCheckCoverage:l,selectedAliases:a,handleCoverage:o,page:n,total:r=0,onChangePage:i,showingCount:d,compareCoverageResponse:c,address:x=!0}=e;return(null==t?void 0:t.length)?(0,s.jsxs)("div",{className:"my-[20px]",children:[(0,s.jsxs)("div",{className:"flex flex-row justify-between",children:[(null==c?void 0:c.length)>0?(0,s.jsxs)("div",{children:[(0,s.jsx)("p",{className:"font-Telkom123-Bold text-title-xs3 md:text-titleAlt-xs2 text-[#005288]",children:"Other fibre products"}),(0,s.jsx)("p",{className:"mt-3 mb-[20px] font-Telkom123-Regular text-body-s text-[#7D8B94] hidden md:block",children:"These products are currently not available at the selected location."})]}):(0,s.jsx)("p",{className:"font-Telkom123-Bold text-title-xs3 md:text-titleAlt-xs2 text-[#005288]",children:"Additional Edge"}),(0,s.jsxs)("p",{className:"text-[#005288] font-Telkom123-Regular text-body-m mb-6",children:["Showing ",d||0," items"]})]}),(null==c?void 0:c.length)>0&&(0,s.jsx)("p",{className:"mt-3 mb-[20px] font-Telkom123-Regular text-body-s text-[#7D8B94] md:hidden",children:"These products are currently not available at the selected location."}),(0,s.jsx)(I.Z,{products:t,hasCheckCoverage:l,productsListLocation:"product list page",handleCompareProducts:(e,t)=>o(e,t,!1),selectedAliases:a,address:x}),n&&Number(r)>6&&(0,s.jsx)(E.Z,{className:"mt-[20px] lg:mt-[40px]",currentPage:n,perPage:6,totalItems:r,onChange:i,pageKey:"comparePage"})]}):null},es=l(72959),ea=e=>{var t,l,a;let{resetFilters:o,className:n,categoryName:r,activeFilters:i={},filters:p,subCategoryName:u,products:m,prepaidProductsList:h,vendorType:g,hasCheckCoverage:f=!0,coveragePopUp:v,onChangeFilter:y,onClearAddress:b,onCoveragePopupOpen:j,currentPage:w,totalItems:C,onChangePage:k,infoBox:N,onChangeComparePage:_,mainPerPage:T,compareCoveragePage:F,compareCoverageTotal:L,compareCoverageResponse:P,isDisabled:B=!0,showStepTwo:W=!1,compareProducts:U=[],isFibreInternet:Y=!1,selectedAliases:X,checkCoverageShow:Q=!1,coverageCheckModal:ee=!1,compareProductsModal:ea=!1,handleClear:eo,updateCompare:en,handleCoverage:er,handleCheckCoverage:ei,setCoverageCheckModal:ed,setCompareProductsModal:ec,handleModalAction:ex,handleClearAndAddress:ep,additionalProducts:eu}=e,em=(null==N?void 0:N.fibreOnlineOnly)&&"home internet"===r.toLowerCase()&&"personal"===g.toLowerCase()&&-1!==["fibre","all"].indexOf(null==u?void 0:u.toLowerCase()),eh=(null==r?void 0:r.toLowerCase())==="home internet"&&(null==u?void 0:u.toLowerCase())==="all",eg=(0,d.useMemo)(()=>{var e;return"smart-devices"===(0,c.j7)(u)?{text:"New and existing customers can purchase these Smart Space
1s packages on any selected LTE and Openserve products and add one of our Telkom Smart Space details",otherProps:{}}:(null==u?void 0:u.toLowerCase())==="fibre"&&"string"==typeof(null==i?void 0:i.paymentType)&&(null==i?void 0:null===(e=i.paymentType)||void 0===e?void 0:e.toLowerCase())==="prepaid"?{text:"",otherProps:{prepaidContent:!0}}:{text:"",otherProps:{}}},[u,i]),ef=(0,x.useRouter)(),ev=e=>{var t;return null===(t=Object.values(e))||void 0===t?void 0:t.some(e=>!0===e||"object"==typeof e&&null!==e&&ev(e))},{voiceCategory:ey,paymentType:eb}=null==ef?void 0:ef.query,ej="automobile_association"===(0,c.f$)(u,"_",!0),ew="prepaid"===(0,c.f$)(eb,"",!0)?C:T,eC=(0,d.useCallback)((e,t)=>er(e,t,!0),[er]),ek=(0,d.useMemo)(()=>{let e=Math.min(w*T,C);return" ".concat(e," of ").concat(C)},[w,T,C]),eN=(0,d.useMemo)(()=>{let e=Math.min(F*T,L);return eu.length&&(e=eu.length),"".concat(eu.length?"".concat(e," "):" ".concat(e," of ").concat(L))},[F,T,L,eu]),e_=(null==P?void 0:P.length)>0?P:(null==eu?void 0:eu.length)>0?eu:[],eT="fibre_to_the_room"===(0,c.f$)(u,"_",!0);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("section",{className:"".concat(R()["subcategory-content"]," px-[20px] md:px-[30px] py-[20px] md:py-[40px] ").concat(n||""),children:[(0,s.jsxs)("div",{className:"container-1440 grid grid-cols-1 lg:grid-cols-3 xl:grid-cols-4 gap-[40px]",children:[(0,s.jsxs)("div",{className:"hidden lg:block",children:[p.length?(0,s.jsx)("div",{className:"py-[20px] flex underline decoration-[#0099FF]",children:(0,s.jsx)(S.default,{onClick:o,viewType:"colorAzureBlue",className:"font-Telkom123-Bold",children:"Reset filters"})}):(0,s.jsx)(s.Fragment,{}),p.map((e,t)=>{var l;return(0,s.jsx)(A.Z,{defaultShow:!0,groupClassName:t?"py-[20px] text-[#005288] text-bodyAlt-s font-Telkom123-Bold":"pb-[20px] ",onChangeFilter:(t,l)=>y(t,e,l),value:null!==(l=null==i?void 0:i[e.key])&&void 0!==l?l:null,...e},(0,c.f$)((0,c.f$)(r+u+e.label+t)))})]}),(0,s.jsxs)("div",{className:"lg:col-span-2 xl:col-span-3 flex flex-col",children:[f&&!Q?(0,s.jsx)(O,{address:v.addressInfo.info.addressInfo.address,isLoading:v.addressInfo.loading,isReady:v.addressInfo.isReady,vendorType:g,onClearAddress:b,onCoveragePopupOpen:j}):(0,s.jsx)(s.Fragment,{}),f&&Q?(0,s.jsx)(M.ZP,{address:v.addressInfo.info.addressInfo.address,isLoading:v.addressInfo.loading,isReady:v.addressInfo.isReady,onClearAddress:ep,onCoveragePopupOpen:j,subCategoryName:u,handleCoverage:ei}):(0,s.jsx)(s.Fragment,{}),W?(0,s.jsx)(V,{}):null,N.fibreSwitchSaveOffer?(0,s.jsx)(D.Z,{flow:g,show:(!N.primeVideoMobileEdition&&!N.primeVideo||!N.fibreSwitchSaveOffer)&&N.fibreSwitchSaveOffer}):"",em&&(0,s.jsx)(q.Z,{...$.C}),(null==N?void 0:null===(t=N.infoBoxCat)||void 0===t?void 0:t.winterBbusiness)&&(0,s.jsx)(H.Z,{childClass:"block"}),ej?(0,s.jsx)(z,{icon:"/assets/images/BlackFriday/icon.png",message:"Please note",description:"You need a Telkom account in order to purchase these products."}):"",(null==m?void 0:m.length)>0&&ev(N)?(0,s.jsx)("div",{className:"pt-[30px] pb-[1px]",children:(0,s.jsx)(es.Z,{show:!0,details:"",hasTag:"",productTitle:"",flow:g||"",infoBoxCat:N.infoBoxCat,title:ey,products:m,subCategoryName:eh?"fibre":u})}):"",m.length||h.length?(0,s.jsxs)(s.Fragment,{children:[eg.text?(0,s.jsx)(Z.Z,{description:eg.text,...null!==(a=eg.otherProps)&&void 0!==a?a:{}}):null,(null==N?void 0:N.prepaidVouchers)?(0,s.jsx)("div",{className:"flex flex-col gap-[20px] md:gap-[25px] mt-[20px] md:mt-[25px] ",children:h.map((e,t)=>"vouchers"===e.title.toLowerCase()?(0,s.jsxs)("div",{className:"flex flex-col gap-[20px] md:gap-[25px]",children:[(0,s.jsx)("p",{className:" font-degular-BoldBlack text-display-xl-xs text-[#005288] ",children:e.title}),(0,s.jsx)(G,{productList:e.products},t)]},"prepaid_info"+t):(0,s.jsxs)("div",{className:"flex flex-col gap-[20px] md:gap-[25px] border-t border-gray-300 py-8",children:[(0,s.jsx)("p",{className:" font-degular-BoldBlack text-display-xl-xs text-[#005288] ",children:e.title}),(0,s.jsx)(I.Z,{products:e.products,hasCheckCoverage:f,productsListLocation:"product list page",handleCompareProducts:eC,selectedAliases:X})]},"prepaid_info"+t))}):(0,s.jsxs)(s.Fragment,{children:[!W&&Y&&(0,s.jsxs)("div",{className:"flex flex-row justify-between items-center gap-[20px] mb-[25px]",children:[(0,s.jsx)("p",{className:"font-Telkom123-Bold text-title-xs3 md:text-titleAlt-xs2 text-[#005288] md:mb-[24px]",children:"Products available in your area"}),(0,s.jsxs)("p",{className:"text-[#005288] font-Telkom123-Regular text-body-m",children:["Showing",ek," items"]})]}),(null==m?void 0:m.length)>0&&(null==eu?void 0:eu.length)>0&&(0,s.jsxs)("div",{className:"flex flex-row justify-between items-center gap-[20px] my-[25px]",children:[(0,s.jsx)("p",{className:"font-Telkom123-Bold text-title-xs3 md:text-titleAlt-xs2 text-[#005288] ",children:"Fibre to the room"}),(0,s.jsxs)("p",{className:"text-[#005288] font-Telkom123-Regular text-body-m",children:["Showing ",null==m?void 0:m.length," items"]})]}),(0,s.jsx)(I.Z,{products:m,hasCheckCoverage:f,productsListLocation:"product list page",handleCompareProducts:eC,selectedAliases:X})]}),w&&C&&C>ew?(0,s.jsx)(E.Z,{className:"mt-[20px] lg:mt-[40px]",currentPage:w,perPage:ew,totalItems:C,onChange:k,arrowColor:"personal"===g?"#C4338F":"#008FE0"}):null]}):(0,s.jsx)("div",{className:"p-[10px] flex flex-col gap-[20px]",children:((null==m?void 0:m.length)&&v.addressInfo.info.addressInfo.address||eT)&&(!eT||(null==m?void 0:m.length)||(null==eu?void 0:eu.length))?null:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h4",{className:"text-[24px] text-center font-Telkom123-Light leading-[32px] -tracking-[1px] text-secondary-blue-grey",children:"Sorry, we could not find any matches"}),(0,s.jsx)("p",{className:"text-[14px] text-center font-Telkom123-Light leading-[22px] text-secondary-blue-grey",children:"Please try alternative filters to get better results."})]})}),!W&&Y||(null==m?void 0:m.length)>0&&(null==eu?void 0:eu.length)>0&&(0,s.jsx)("hr",{className:"border-t border-gray-300 mb-2 mt-7"}),(0,s.jsx)(el,{data:e_,hasCheckCoverage:f,selectedAliases:X,handleCoverage:er,page:F,total:L,showingCount:eN,onChangePage:_,compareCoverageResponse:P,address:!1})]})]}),(null==U?void 0:null===(l=U.data)||void 0===l?void 0:l.length)>0&&(null==u?void 0:u.toLowerCase())==="fibre"&&(0,s.jsx)(J,{selectedItems:U.data,onRemove:en,onClear:eo,category:r}),(0,s.jsx)(et,{open:ee,onPrimary:ex,config:K.F3.coverage,onClose:()=>ed(!1),onSecondary:()=>ed(!1),viewType:"bgMagentacolorWhite"}),(0,s.jsx)(et,{open:ea,onSecondary:ex,config:K.F3.compare,onPrimary:()=>ec(!1),onClose:()=>ec(!1),viewType:B?"bgSecondaryGreycolorWhiteDisabled":"bgMagentacolorWhite"})]})})},eo=l(51358),en=e=>{let{className:t="",scrollDirection:l,scrollPosition:a,vendorType:
1o,callMeBackPopUp:n=!1,coverageFlowInfo:r,coveragePopUpState:d,category:c,subCategory:p,subCategories:u=[],productsList:m=[],sortOptions:g=[],filterOptions:f=[],activeFilters:v={},urlPrefix:y="",activeSort:b=null,currentPage:j=0,totalItems:w=0,onChangeSort:C=e=>{},onChangeFilter:k=(e,t,l)=>{},onApplyFilters:N=e=>{},onResetSort:_=()=>{},onResetAllFilters:T=()=>{},onClearAddress:F=()=>{},onCoveragePopupOpen:L=()=>{},onChangePage:S=(e,t)=>{},onApplyCoverageFilters:A=e=>{},infoBox:B,prepaidProductsList:R,onChangeComparePage:E=(e,t)=>{},mainPerPage:M,compareCoveragePage:O,compareCoverageTotal:I,compareCoverageResponse:Z,isDisabled:D=!0,showStepTwo:q=!1,compareProducts:H=[],isFibreInternet:W=!1,selectedAliases:G=[],checkCoverageShow:$=!1,coverageCheckModal:U=!1,compareProductsModal:Y=!1,handleClear:z=()=>{},updateCompare:J=(e,t)=>{},handleCoverage:X=(e,t,l)=>{},handleModalAction:V=()=>{},handleCheckCoverage:K=(e,t)=>{},setCoverageCheckModal:Q=e=>{},handleClearAndAddress:ee=()=>{},setCompareProductsModal:et=e=>{},additionalProducts:el=[]}=e,es=(0,x.useRouter)(),en=(0,eo.WQ)(p,null==c?void 0:c.name,null==es?void 0:es.query);return(0,s.jsxs)("div",{className:"".concat(t),children:[(0,s.jsx)(i.default,{flow:o,coverageFlowInfo:r,subCategory:p,category:c,onApplyCoverageFilters:A}),(0,s.jsxs)("div",{className:"sticky ".concat("down"===l?"-top-[203px]":"md:top-[70px] top-[50px]"," transition-all duration-500 z-[9]"),children:[(0,s.jsx)(h,{subCategories:u,selectedSubCategoryId:p.id,classNames:{activeClassName:"border-none text-white bg-[#0099FF] hover:bg-[#005288] shadow-[-1px_-1px_3px_0px_#ffffff99_inset,_2px_2px_3px_0px_#0065a9b2_inset] ",inActiveClassName:"border-[#0099FF] text-[#0099FF] bg-white hover:shadow-[4px_4px_4px_0px_#002e4d4d] "},urlPrefix:y}),(0,s.jsx)(P,{scrollPosition:a,scrollDirection:l,vendorType:o,categoryName:c.name,subCategoryName:p.name,sort:g,filters:f,selectedSort:b,productsCount:(null==el?void 0:el.length)?(null==m?void 0:m.length)+(null==el?void 0:el.length):m.length,subCategories:u,selectedSubCategoryId:p.id,prependHref:y,activeFilters:v,onChangeSort:C,onApplyFilters:N,onResetFilters:T,onResetSort:_,hasCheckCoverage:en})]}),(0,s.jsx)("div",{className:"relative",children:(0,s.jsx)(ea,{vendorType:o,filters:f,categoryName:c.name,subCategoryName:p.name,hasCheckCoverage:en,activeFilters:v,products:m,prepaidProductsList:R,currentPage:j,totalItems:w,resetFilters:T,onChangeFilter:k,onClearAddress:F,coveragePopUp:d,onCoveragePopupOpen:L,onChangePage:S,infoBox:B,onChangeComparePage:E,mainPerPage:M,compareCoveragePage:O,compareCoverageTotal:I,compareCoverageResponse:Z,isDisabled:D,showStepTwo:q,compareProducts:H,isFibreInternet:W,selectedAliases:G,checkCoverageShow:$,coverageCheckModal:U,compareProductsModal:Y,handleClear:z,updateCompare:J,handleCoverage:X,handleModalAction:V,handleCheckCoverage:K,setCoverageCheckModal:Q,handleClearAndAddress:ee,setCompareProductsModal:et,additionalProducts:el})})]})},er=l(60830),ei=l(73294),ed=l(9008),ec=l.n(ed),ex=l(77457),ep=l(38530),eu=l(95582),em=!0;async function eh(e){let{vendorType:t,pageNo:l,perPage:s=12,restQueryParams:a={}}=e,{subCategory:r,category:i,page:d,...c}=a;try{let e=(0,C.XV)({...c,from:(l-1)*s,listPage:!0,vendorType:t,subcat:r,cat:i});return await n.Z.get(er.PRODUCT_LIST_API_URL+e,o.wg)}catch(e){return{status:500,data:{}}}}let eg=e=>{let{type:t,key:l,query:s,defaultValue:a=null}=e;if(l&&s)switch(t){case"checkbox":return s[l]?s[l].split(","):(null==a?void 0:a.length)?a:[];case"rangebar":{let e=s[l]?s[l].split("-"):null;if(e)return{min:e[0],max:e[1]};return null}default:return s[l]||""}return a},ef=e=>{let{type:t,key:l,values:s}=e;return"checkbox"===t&&(null==s?void 0:s.length)?s.filter(e=>e.isSelected).map(e=>e.key):""};var ev=(0,a.ZP)(e=>{var t;let{meta:l,params:a,results:o,selectedCategory:n,selectedSubcategory:i,subcategories:p,sortOptions:u,filtersOptions:h,currentPage:g,totalItems:f,infoBox:v,prepaidProducts:y,relLinks:b,mainPerPage:w,compareCoveragePage:C,compareCoverageTotal:k,compareCoverageResponse:N,additionalProducts:_}=e,{vendorType:T,category:F,subCategory:L}=a,P=(0,j.TL)(),S=(0,x.useRouter)(),[A,B]=(0,d.useState)({}),[R,E]=(0,d.useState)(!1),[M,O]=(0,d.useState)(!1),[I,Z]=(0,d.useState)(!0),{updateCompare:D,selectedAliases:q}=(0,eu.j)(L),{compareProducts:H,compareCheckCoverageProducts:W}=(0,j.CG)(ei.Yv),G=(0,ep.Q)(),{coveragePopUp:$}=(0,j.CG)(m.DF),{coverageFlowInfo:U,callMeBackPopUp:Y}=(0,j.CG)(ei.Yv),{addressInfo:z}=$,{isReady:J}=z,X=(0,j.RF)(),V=(0,j.C7)("up"),Q=(T?"/".concat(T,"/"):"/")+(0,c.j7)(F||""),ee=(0,d.useCallback)(e=>{let{type:t,key:l,values:s}=e;return eg({type:t,key:l,query:S.query,defaultValue:ef({type:t,key:l,values:s})})},[S.isReady,S.query]),et=(0,d.useCallback)(()=>{P(ei.rY.setCompareProducts([])),P(ei.rY.clearCompareCheckCoverageProducts()),null==D||D("CLEAR")},[P,D]),el=(0,d.useMemo)(()=>
1{if(!S.isReady)return[];let{compare:e}=S.query;return Array.isArray(e)?e.map(e=>decodeURIComponent(e).trim()).filter(Boolean):"string"==typeof e?decodeURIComponent(e).split(",").map(e=>e.trim()).filter(Boolean):[]},[S.isReady,S.query.compare]),es=el.length<2;(0,d.useEffect)(()=>{if(!Array.isArray(o)||!Array.isArray(q)||0===q.length)return;let e=new Set(q.map(e=>"string"==typeof e?e:null==e?void 0:e.alias).filter(Boolean));if(!e.size)return;let t=new Set(Array.isArray(W)?W.map(e=>null==e?void 0:e.alias):[]);for(let l of o){let s=null==l?void 0:l.idAlias;s&&e.has(s)&&!t.has(s)&&P(ei.rY.setCompareCheckCoverageProducts({alias:s,isCovered:!0}))}},[q,o,W,P]),(0,d.useEffect)(()=>{if(!S.isReady)return;Z(!0);let{amid:e,latitude:t,longitude:l,compare:s,openCoverageModal:a}=S.query,o=!!e&&!!t&&!!l;a&&el.length>0&&!o&&E(!0),o||s||!(el.length<=0)||et(),Z(!1)},[S.isReady,el.length,null==S?void 0:S.asPath]),(0,d.useEffect)(()=>{(null==h?void 0:h.length)&&B(h.reduce((e,t)=>({...e,[t.key]:ee(t)}),{}))},[ee,h]),(0,d.useEffect)(()=>{S.isReady&&(P((0,m.ZX)(S.query)),G.viewItemList({query:S.query,items:o}))},[S.isReady,S.query]),(0,d.useEffect)(()=>{if(S.isReady){let e=S.query;e&&"yes"===e.check_coverage&&P(m.shopSliceActions.setCoveragePopup(!0))}return()=>{P(ei.rY.setOpencallMeBackPopUp({open:!1,vendorType:T||"personal",pageType:""})),P(m.shopSliceActions.setCoveragePopup(!1))}},[S.asPath]);let ea=function(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},l=!(arguments.length>1)||void 0===arguments[1]||arguments[1],{page:s,sort:a,...o}=t,n=(0,c.f$)(null===(e=S.query)||void 0===e?void 0:e.dealType,"_",!0),r=0!==Object.keys(o).length&&(null==n?void 0:n.includes("bundles"))?{dealType:null==n?void 0:n.replace("bundles","").replace(/^,/,"")}:{},i=l?{...S.query,...t,...r}:{vendorType:S.query.vendorType||"",category:S.query.category||"",subCategory:S.query.subCategory||"",...t,...r},d=(0,m.ks)(i);return S.replace({pathname:S.pathname,query:d},void 0,{scroll:!1}),d},eo=(0,d.useCallback)(()=>{let{resetCoverageInfo:e,setCoveragePopup:t}=m.shopSliceActions;!J&&z.info.addressInfo.address&&P(e()),P(t(!0))},[J,z]),er=()=>{ea({...m.vw,page:"1"},!1)},ed=S.query.sort||"PRICE LOW TO HIGH",em=(0,K.aw)(L,$),eh=(null==L?void 0:L.toLowerCase())==="fibre",ev=["home-internet","internet-solutions"].includes(String(F).toLowerCase())&&"fibre"===String(L).toLowerCase(),ey=null==$?void 0:null===(t=$.addressInfo)||void 0===t?void 0:t.payload,eb=(0,d.useCallback)((e,t,l)=>{if(!ey){O(!0);return}P(ei.rY.setCompareCheckCoverageProducts({alias:t,isCovered:l})),D(e,t)},[ey,P,D]),ej=(0,d.useCallback)((e,t)=>{if(!ey){E(!0);return}D(e,t)},[ey,D]),ew=(0,d.useCallback)(()=>{E(!1),O(!1),setTimeout(()=>{eo()},700)},[eo]),eC=(0,d.useCallback)(()=>{et(),setTimeout(()=>{er()},500)},[et,er]);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(ec(),{children:[(0,s.jsx)("link",{rel:"preconnect",href:ex.cU}),(null==b?void 0:b.length)?b.map(e=>(0,s.jsx)("link",{rel:e.rel,href:e.href},"".concat(e.href))):null]}),(0,s.jsx)(r.Z,{...l}),(0,s.jsx)(en,{urlPrefix:Q,vendorType:T,scrollPosition:X,scrollDirection:V,callMeBackPopUp:Y.open,coverageFlowInfo:U,category:n,subCategory:i,className:"",subCategories:p,productsList:o,prepaidProductsList:y,sortOptions:u,filterOptions:h,activeFilters:A,activeSort:ed,coveragePopUpState:$,currentPage:g,totalItems:f,onChangeSort:e=>{ea({sort:e,page:"1"})},onChangeFilter:(e,t,l)=>{ea({[t.key]:l,page:"1"})},onApplyFilters:e=>{ea({...e,page:"1"})},onResetSort:()=>{ea({sort:"PRICE LOW TO HIGH"})},onResetAllFilters:()=>{h.length&&ea(h.reduce((e,t,l)=>(t.key in e&&delete e[t.key],e),{...m.vw,page:"1"}),!1)},onClearAddress:er,onCoveragePopupOpen:eo,onChangePage:e=>{ea({page:e})},onApplyCoverageFilters:e=>{let t=(0,m.$O)({coverageAddressInfo:e,subCategoryName:L});P(m.shopSliceActions.setCoverageAddressInfo(e)),ea(t)},infoBox:v,onChangeComparePage:e=>{ea({comparePage:e})},mainPerPage:w,compareCoveragePage:C,compareCoverageTotal:k,compareCoverageResponse:N,isDisabled:es,showStepTwo:em,compareProducts:H,isFibreInternet:ev,selectedAliases:q,checkCoverageShow:eh,coverageCheckModal:R,compareProductsModal:M,handleClear:et,updateCompare:D,handleCoverage:eb,handleModalAction:ew,handleCheckCoverage:ej,setCoverageCheckModal:E,handleClearAndAddress:eC,setCompareProductsModal:O,additionalProducts:_})]})})},6794:function(e,t,l){"use strict";l.d(t,{C:function(){return s}});let s={title:"Save up to R97 on Online Only Fibre",description:"All new customers to Openserve Fibre will qualify for the promotion when purchasing one of our Online Exclusive Fibre products."}},90364:function(e){e.exports={"skelton-frame":"onlineonly_skelton-frame__euSZA",badge:"onlineonly_badge__8TXZZ","skeleton-loading":"onlineonly_skeleton-loading__0wYuq","product-img"
1:"onlineonly_product-img__jXYGv","product-main-title":"onlineonly_product-main-title__lvu_1","product-info":"onlineonly_product-info__YnDS6","product-title":"onlineonly_product-title__I_pj5","product-desc":"onlineonly_product-desc__XmD_I","product-detail":"onlineonly_product-detail__H_ijM","product-cta":"onlineonly_product-cta__Zc__x"}},696:function(e){e.exports={container:"BackToBusiness_container__JBCBh"}},70806:function(e){e.exports={"collapse-details-indicator":"FibreInfoCard_collapse-details-indicator__0uTj0"}},99342:function(e){e.exports={"collapse-details-indicator":"FibreOnlineOnly_collapse-details-indicator__hBGy3"}},94753:function(e){e.exports={info_note:"FibreSwitchAndSaveModal_info_note__Ke_AL"}},87343:function(e){e.exports={contain:"NotificationBanner_contain__p6BOs"}},80615:function(e){e.exports={card:"prepaidVoucher_card__YSqlj"}},49864:function(e){e.exports={container:"LoginAlert_container__JuHpz"}},35893:function(e){e.exports={"subcategory-content":"SubCategoryContent_subcategory-content__7lrZQ"}}},function(e){e.O(0,[6342,2962,7175,2555,5383,6478,2463,3047,575,5843,9322,5429,2581,1207,9534,1358,8690,351,7701,4804,2888,9774,179],function(){return e(e.s=19985)}),_N_E=e.O()}]);
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.