1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1119,3192,8188],{90:(e,l,t)=>{"use strict";t.d(l,{A:()=>n});var a=t(89099),s=t(58188),r=t(31119);function n(){let{locale:e}=(0,a.useRouter)(),l="bn"===e?s:r;return(e,t)=>{var a;let s=null!=(a=l[e])?a:"";return t?Object.entries(t).reduce((e,l)=>{let[t,a]=l;return e.split("{".concat(t,"}")).join(String(a))},s):s}}},25580:e=>{e.exports={ImageHover:"banglalink-career_ImageHover__IWk82",TextHover:"banglalink-career_TextHover__4xFlx"}},31119:e=>{"use strict";e.exports=JSON.parse('{"alreadyActivatedNote":"If Roaming is already activated in your mobile number, the payable amount will be considered as recharge amount","serviceType":"Service Type","prepaid":"Prepaid","postpaid":"Postpaid","selectServiceType":"Please select a service type","payableAmount":"Payable amount","payableAmountServiceType":"Payable amount (minimum {min}$)","minPayableAmount":"{type} Minimum amount ${min}","required":"Required","subscriberName":"Subscriber name","enterSubscriberName":"Enter subscriber name","mobileNumber":"Mobile number","enterMobileNumber":"Enter mobile number","validMobile":"Enter a valid mobile number","notValidBlNumber":"Not a Valid Banglalink Number","email":"Email","enterEmail":"Enter email","validEmail":"Enter a valid email","passportNumber":"Passport number","enterPassportNumber":"Enter passport number","passportNumberRule":"Passport number must be 7-10 alphanumeric characters","passportExpiry":"Passport date of expiry","passportExpiryFuture":"Passport expiry date must be a future date","passportExpiryMinMonths":"Passport expiry date must be at least {months} months from today","agreeToTermsPrefix":"I have read and agreed to the","agreeToTermsSuffix":"","proceedToPay":"Proceed to Pay","paymentNotInitiated":"Payment could not be initiated. Please try again.","submitFailed":"Failed to submit roaming activation request","somethingWentWrong":"Something went wrong. Please try again.","oops":"Oops!","tryAgain":"Try Again","okay":"Okay","backToHome":"Back to Home","imageAlt":"International roaming activation","alreadyActiveTitle":"Already Active","alreadyActiveMessage":"Your roaming service is already active.","failedMessage":"Something went wrong. Please try after sometime.","congratulations":"Congratulations!","successMessage":"We have received your request, to check the current status, please contact","chatOnWhatsapp":"Chat on WhatsApp","sendEmail":"Send Email"}')},35763:(e,l,t)=>{"use strict";t.d(l,{L:()=>s});var a=t(14232);let s=(e,l)=>{(0,a.useEffect)(()=>{let t=t=>{e.current&&!e.current.contains(t.target)&&l()};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),()=>{document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}},[e,l])}},46501:e=>{e.exports={FloatLabel:"masterInput_FloatLabel__DZ1It",Label:"masterInput_Label__XdtMj",AsLabel:"masterInput_AsLabel__Xz5g3",Input:"masterInput_Input__2iHlC"}},53192:(e,l,t)=>{"use strict";t.d(l,{Ay:()=>lt});var a=t(37876),s=t(69241),r=t(89099),n=t(14232),i=t(19229),o=t.n(i),d=t(18847),c=t.n(d),m=t(54587),u=t.n(m),x=t(48230),p=t.n(x),h=t(81151),b=t(18711),f=t(89677),g=t(25580),v=t.n(g);t(34652),t(99632);var j=t(89115),_=t(55752);function w(e){let{item:l}=e;return(0,a.jsxs)("div",{className:(0,f.cn)("group relative rounded-[16px] text-center"),children:[(0,a.jsx)(u(),{src:(0,b.Qp)((0,b.Tl)(l.image)),className:"h-[312px] w-[240px] md:h-[460px] md:w-[352px]",width:352,height:460,alt:"brand-hub",quality:100}),(0,a.jsx)("div",{className:"absolute bottom-6 w-full px-6",children:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-2 rounded-[26px] bg-white p-2 pt-2 pb-1",children:[(0,a.jsx)("p",{className:"text-center text-[12px] leading-[16px] font-medium text-[#212121]",children:(0,a.jsx)(N,{targetDate:(0,b.Tl)(l.timer)})}),(0,a.jsx)(p(),{href:(0,b.Tl)(l.button_link),className:"w-full",children:(0,a.jsx)(_.A,{label:(0,b.Tl)(l.button_name),className:"flex w-full items-center justify-center py-2",showArrow:!1})})]})})]})}let N=e=>{let{targetDate:l}=e,[t,s]=(0,n.useState)("");return(0,n.useEffect)(()=>{let e,t=()=>{let t=new Date().getTime(),a=new Date(l).getTime()-t;if(a<=0){s("0d: 00h: 00m: 00s"),clearInterval(e);return}let r=Math.floor(a/864e5),n=Math.floor(a%864e5/36e5),i=Math.floor(a%36e5/6e4),o=Math.floor(a%6e4/1e3);s("".concat(r,"d: ").concat(String(n).padStart(2,"0"),"h: ").concat(String(i).padStart(2,"0"),"m: ").concat(String(o).padStart(2,"0"),"s"))};return t(),e=setInterval(t,1e3),()=>clearInterval(e)},[l]),(0,a.jsx)(n.Fragment,{children:t})};var y=t(35763),k=t(19407);let C=e=>{let{item:l,id:t,isOpen:s,onToggle:r,titleClassName:n}=e;return(0,a.jsxs)("div",{className:"border-b border-b-[#eee]",children:[(0,a.jsxs)("div",{className:(0,f.cn)("flex cursor-pointer items-center justify-between py-5 lg:py-8",n&&n),onClick:()=>r(t),"aria-expanded":s,role:"button",tabIndex:0,children:[(0,a.jsx)("h2",{className:(0,f.cn)("text-xl font-bold text-[#212121] access-heading"),children:(0,b.Tl)(l.title)}
1),(0,a.jsx)(k.Vr3,{size:14,color:"#BDBDBD",className:(0,f.cn)("transition-transform duration-200",s&&"rotate-180")})]}),(0,a.jsx)("div",{className:(0,f.cn)("line-clamp-5 overflow-hidden text-sm text-[#757575] access-content","transition-all duration-500 ease-out",s?"mb-5 opacity-100":"max-h-0 opacity-0"),children:(0,b.Tl)(l.sub_title)})]})},T=e=>null!=e?e:"#",A=e=>{let{playStoreLink:l,appStoreLink:t}=e;return(0,a.jsxs)("div",{className:"mt-4 flex flex-col gap-4",children:[(0,a.jsx)(p(),{href:T(l),target:"_blank",children:(0,a.jsx)(u(),{className:"h-12.5 md:h-16.5 w-auto",src:"/homepage/revamp/Google-Play-Store.png",alt:"Google Play Store",width:182,height:66,quality:100})}),(0,a.jsx)(p(),{href:T(t),target:"_blank",children:(0,a.jsx)(u(),{className:"h-12.5 md:h-16.5 w-auto",src:"/homepage/revamp/App-Store.png",alt:"App Store",width:182,height:66,quality:100})})]})},E=e=>{var l,t;let{item:s,isOpen:r,setIsTapped:n,isTapped:i,animationState:o,className:d}=e,c=(0,f.cn)("rounded-3xl duration-500 transition-all ease-in-out w-full",o.isVisible?"opacity-100":"opacity-0");return(0,a.jsx)("div",{className:(0,f.cn)("cards relative size-full",d&&d),onClick:()=>n(!0),children:(0,a.jsx)("div",{className:(0,f.cn)("group card size-full",r&&"mt-5 lg:mt-0"),children:(0,a.jsxs)("div",{className:"relative size-full",children:[(0,a.jsx)(u(),{src:(0,b.Qp)((0,b.Tl)(s.image)),alt:s.title.en,className:c,quality:100,width:880,height:495}),(0,a.jsx)("div",{className:(0,f.cn)("absolute inset-0 flex size-full w-[101%] items-center justify-center rounded-xl bg-white/10 lg:w-full","rounded-3xl transition-opacity duration-300 ease-out","hidden group-hover:flex group-hover:backdrop-blur-xs",i&&"flex backdrop-blur-xs"),children:(0,a.jsx)(A,{playStoreLink:null!=(l=s.play_store_link.en)?l:"#",appStoreLink:null!=(t=s.app_store_link.en)?t:"#"})}),o.isTransitioning&&(0,a.jsx)("div",{className:"absolute inset-0 flex items-center justify-center rounded-3xl bg-white/10 backdrop-blur-sm",children:(0,a.jsx)("div",{className:"h-10 w-10 animate-spin rounded-full border-2 border-white/30 border-t-white"})})]})})})},S=e=>{var l,t,s,r;let{item:n,isOpen:i,idx:o,className:d,handleCardClick:c}=e;return(0,a.jsxs)("div",{className:(0,f.cn)("group relative w-74 md:w-104 h-98.75 md:h-138.75 rounded-3xl overflow-hidden",d),onClick:()=>c(o.toString()),children:[(0,a.jsx)(u(),{src:(0,b.Qp)((0,b.Tl)(n.image)),alt:n.img_title.en||"Card image",width:416,height:555,className:"object-cover rounded-3xl",quality:100,priority:o<3}),(0,a.jsx)("div",{className:(0,f.cn)("absolute inset-0 opacity-0 group-hover:opacity-100 transition-all duration-400 ease-out transform translate-y-full group-hover:translate-y-0",i?"opacity-100 translate-y-0":"opacity-0 translate-y-full"),style:{background:"linear-gradient(180deg, #212121 50%, rgba(33, 33, 33, 0.8) 100%)"},children:(0,a.jsxs)("div",{className:"absolute left-0 p-6 text-white",children:[(0,a.jsx)("h3",{className:(0,f.cn)("line-clamp-2 py-6 text-[20px] md:text-[32px] break-words whitespace-normal font-bold leading-tight text-[#212121] group-hover:text-white transition-colors duration-500",i?"text-white":"text-[#212121]"),children:(0,b.Tl)(n.img_title)}),(0,a.jsx)("p",{className:"text-sm md:text-base leading-relaxed mb-4",children:(0,b.Tl)(n.img_subtitle)}),(0,a.jsx)(p(),{href:null!=(l=n.button_link.en)?l:"#",target:(0,b.jr)(null!=(t=n.button_link.en)?t:"")?"_blank":"_self",rel:(0,b.jr)(null!=(s=n.button_link.en)?s:"")?"noopener noreferrer":void 0,children:(0,a.jsx)("button",{className:"bg-white cursor-pointer text-black px-6 py-2 rounded-full font-semibold hover:bg-gray-100 transition-colors duration-200 transform translate-y-4 group-hover:translate-y-0 transition-transform duration-500 delay-150",children:null!=(r=(0,b.Tl)(n.button_name))?r:"Explore"})})]})})]},o)};var P=t(19357),L=t(12827),F=t(82948);function M(){let[e]=L.A.useForm(),{locale:l,...t}=(0,r.useRouter)();return(0,a.jsx)("div",{children:(0,a.jsx)(L.A,{name:"basic",layout:"vertical",form:e,onFinish:e=>{t.push({pathname:"/amar-offers",query:{mobile_number:e.mobile_number}},void 0,{shallow:!0})},autoComplete:"off",className:"text-left",children:(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)("div",{className:"block",children:(0,a.jsx)(L.A.Item,{className:"ant-form-error-font-sz-12",name:"mobile_number",rules:[{required:!0,message:"Please enter your valid mobile number"},{pattern:/^(01)[3456789]\d{8}$/,message:"Enter a valid mobile number"}],children:(0,a.jsx)(F.A,{required:!0,label:"Mobile Number",placeholder:"Enter mobile number",className:"flex-1 !rounded !py-3",type:"tel",inputClassName:"!py-3",onChange:()=>null})})}),(0,a.jsx)(L.A.Item,{children:(0,a.jsx)(_.A,{label:"Check Now",className:"py-3"})})]})})})}function I(){let[e]=L.A.useForm(),{locale:l,...t}=(0,r.useRouter)();return(0,a.jsx)("div",{children:(0,a.jsx)(L.A,{name:"basic",layout:"vertical",form:e,onFinish:e=>{t.push({pathname:"/recharge",query:{mobile_number:e.mobile_number,price:e.amount}},void 0,{shallow:!0})},autoComplete:"off",className:"text-left",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4 ",children:[(0,a.jsxs)("div",{className:"block",children:[(0,a.jsx)(L.A.Item,{className:"ant-form-error-font-sz-12",name:"mobile_number",rules:[{required:!0,message:"Please enter your valid mobile number"},{pattern:/^(01)[3456789]\d{8}$/,message:"Enter a valid mobile number"}],children:(0,a.jsx)(F.A,{required:!0,label:"Mobile Number",placeholder:"Enter mobile number",className:"flex-1 !rounded !py-3",inputClassName:"!py-3",type:"tel"})}),(0,a.jsx)(L.A.Item,{className:"ant-form-error-font-sz-12 mt-10 !mb-0",name:"amount",rules:[{required:!0,message:"Please input amount!"},{validator:(e,l)=>l&&!/^(?:[2-9][0-9]{1,2}|1[0-9]{2}|1000)$/.test(l)?Promise.reject("Please enter an amount between 20 and 1000"):Promise.resolve()}],children:(0,a.jsx)(F.A,{required:!0,label:"Amount",placeholder:"Enter amount",className:"flex-1 !rounded !py-3",inputClassName:"!py-3",inputType:"number"})})]}),(0,a.jsx)(L.A.Item,{className:"!mb-0",children:(0,a.jsx)(_.A,{label:"Pay Bill",className:"py-3"})})]})})})}function q(){let[e]=L.A.useForm(),{locale:l,...t}=(0,r.useRouter)();return(0,a.jsx)("div",{children:(0,a.jsx)(L.A,{name:"basic",layout:"vertical",form:e,onFinish:e=>{t.push({pathname:"/recharge",query:{mobile_number:e.mobile_number,price:e.amount}},void 0,{shallow:!0})},autoComplete:"off",className:"text-left",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsxs)("div",{className:"block",children:[(0,a.jsx)(L.A.Item,{className:"ant-form-error-font-sz-12",name:"mobile_number",rules:[{required:!0,message:"Please enter your valid mobile number"},{pattern:/^(01)[3456789]\d{8}$/,message:"Enter a valid mobile number"}],children:(0,a.jsx)(F.A,{required:!0,label:"Mobile Number",placeholder:"Enter mobile number",className:"flex-1 !rounded !py-3 ",inputClassName:"!py-3",type:"tel"})}),(0,a.jsx)(L.A.Item,{className:"ant-form-error-font-sz-12 mt-10 !mb-0",name:"amount",rules:[{required:!0,message:"Please input amount!"},{validator:(e,l)=>l&&!/^(?:[2-9][0-9]{1,2}|1[0-9]{2}|1000)$/.test(l)?Promise.reject("Please enter an amount between 20 and 1000"):Promise.resolve()}],children:(0,a.jsx)(F.A,{required:!0,label:"Amount",placeholder:"Enter amount",className:"flex-1 !rounded !py-3",inputClassName:"!py-3",inputType:"number"})})]}),(0,a.jsx)(_.A,{label:"Recharge now",className:"py-3"})]})})})}var D=t(76856),V=t(38816);function z(e){let{endDate:l,onExpire:t}
1=e,[s,r]=(0,n.useState)({days:0,hours:0,minutes:0});return(0,n.useEffect)(()=>{let e=()=>{let e=new Date(l).getTime()-new Date().getTime();if(e<=0)return void t();let a=Math.floor(e/864e5);r({days:a,hours:Math.floor(e%864e5/36e5),minutes:Math.floor(e%36e5/6e4)})};e();let a=setInterval(e,6e4);return()=>clearInterval(a)},[l,t]),(0,a.jsx)("div",{className:"inline-flex items-center gap-2 rounded-full bg-[#FFEDED] px-3 py-2 text-[10px] font-medium tracking-tight text-white",children:(0,a.jsxs)("span",{className:"text-[#FF3F3F]",children:[s.days,"d: ",s.hours,"h: ",s.minutes,"m"]})})}function G(e){let{label:l,color:t}=e;return(0,a.jsx)("div",{style:{backgroundColor:t},className:"px-3 py-2 rounded-full flex items-center justify-center",children:(0,a.jsx)("span",{className:"font-bold text-[10px] text-white tracking-wide",children:l})})}function R(e){var l,t;let{offer:s,type:i,className:o}=e,d=(0,r.useRouter)(),c="default"===d.locale?"en":null!=(l=d.locale)?l:"en",m=null!=(t=(0,V.oz)(s,i.alias,"v2")[c])?t:null,[x,h]=(0,n.useState)(!0);return m?(0,a.jsx)("div",{className:(0,f.cn)(o&&o),children:(0,a.jsx)(p(),{className:(0,f.cn)("relative z-10 block rounded-[20px]",'before:absolute before:-top-[1px] before:-left-[1px] before:-z-10 before:block before:h-[calc(100%+3px)] before:w-[calc(100%+3px)] before:animate-[gradient-shift_1.3s_ease-in-out_infinite] before:rounded-[20px] before:bg-[linear-gradient(90deg,rgba(247,149,51,0.6)_0%,rgba(243,112,85,0.6)_33%,rgba(239,78,123,0.6)_66%,rgba(161,102,171,0.6)_100%)] before:bg-[length:200%_100%] before:transition-opacity before:duration-300 before:ease-in-out before:content-[""]','after:absolute after:-top-[1px] after:-left-[1px] after:-z-10 after:block after:h-[calc(100%+3px)] after:w-[calc(100%+3px)] after:animate-[gradient-shift_1.3s_ease-in-out_infinite] after:rounded-[20px] after:bg-[linear-gradient(90deg,rgba(247,149,51,0.6)_0%,rgba(243,112,85,0.6)_33%,rgba(239,78,123,0.6)_66%,rgba(161,102,171,0.6)_100%)] after:bg-[length:200%_100%] after:blur-[4px] after:transition-opacity after:duration-300 after:ease-in-out after:content-[""]',"hover:before:opacity-100 hover:after:opacity-80","before:opacity-0 after:opacity-0","transition-all duration-300 ease-in-out"),href:"/prepaid/".concat(i.alias,"/").concat(m.btnLink),children:(0,a.jsxs)("div",{className:"relative flex cursor-pointer flex-col justify-between rounded-[20px] border border-[#EEEEEE] bg-white p-5",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"relative h-[24px] w-[24px] flex-shrink-0",children:(0,a.jsx)(u(),{src:m.icon,height:24,width:24,alt:"bundle",loading:"lazy",className:"object-contain"})}),x&&m.offer_end_date&&(0,a.jsx)(z,{endDate:m.offer_end_date,onExpire:()=>h(!1)})]}),(0,a.jsx)("div",{className:"min-h-8",children:(0,a.jsx)(G,{label:m.tagName,color:m.tag_color})})]}),(0,a.jsx)("p",{className:"mt-3 line-clamp-2 min-h-[32px] text-xl leading-tight font-bold text-[#212121]",children:m.title})]}),(0,a.jsxs)("div",{className:"mt-0.5 flex min-h-[49px] w-full items-end justify-between gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("p",{className:"mb-1 text-xs leading-[100%] font-normal text-[#757575]",children:"Validity"}),(0,a.jsx)("h4",{className:"text-[16px] leading-[120%] font-semibold text-[#212121]",children:m.validity})]}),(0,a.jsxs)("div",{children:[m.market_price>0&&(0,a.jsxs)("div",{className:"ml-0.5 text-right",children:[(0,a.jsx)("span",{className:"text-base leading-tight font-normal text-[#757575] line-through",children:"à§³"}),(0,a.jsx)("span",{className:"text-base leading-tight font-normal text-[#757575] line-through",children:m.market_price})]}),(0,a.jsxs)("p",{children:[(0,a.jsx)("span",{className:"mr-1 text-lg leading-tight font-bold text-[#212121]",children:"à§³"}),(0,a.jsx)("span",{className:"text-lg leading-tight font-bold text-[#212121]",children:m.price||m.price_tk})]})]})]})]})})}):null}var H=t(74695),B=t(38874),O=t(91013),Z=t(20263),W=t(40760);let Q=e=>{let{className:l,style:t,onClick:s}=e;return(0,a.jsx)("div",{className:l,style:{...t,display:"flex",right:"-2.6rem",zIndex:1,alignItems:"center",justifyContent:"center",width:40,height:40,background:"#fff",borderRadius:"12px",boxShadow:"0px -1px 24px 0px #0000001F",backdropFilter:"blur(80px)",WebkitBackdropFilter:"blur(80px)"},onClick:s,children:(0,a.jsx)("svg",{width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M10 6l6 6-6 6",stroke:"#212121",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})},$=e=>{let{className:l,style:t,onClick:s,show:r}=e;return r?(0,a.jsx)("div",{className:l,style:{...t,display:"flex",left:"2px",zIndex:1,alignItems:"center",justifyContent:"center",width:40,height:40,background:"#fff",borderRadius:"12px",boxShadow:"0px -1px 24px 0px #0000001F",backdropFilter:"blur(80px)",WebkitBackdropFilter:"blur(80px)"},onClick:s,children:(0,a.jsx)("svg",{width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M14 6l-6 6 6 6",stroke:"#212121",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}):null};function Y(e){let{data:l,className:t}=e;return(0,a.jsxs)("div",{className:(0,f.cn)("flex w-full flex-col items-center justify-center gap-6 rounded-[24px] border border-[#
1EEEEEE] bg-white p-6",t,"h-auto! max-w-74 md:max-w-100"),children:[(0,a.jsx)("div",{className:"w-full rounded-[16px]",children:(0,a.jsx)(u(),{src:(0,b.Qp)((0,b.Tl)(l.image)),alt:"Strategic Assistant Program",className:"w-full",width:352,height:264,quality:100})}),(0,a.jsxs)("div",{className:"max-w-full space-y-2 text-center",children:[(0,a.jsx)("h1",{className:"truncate text-xl font-semibold text-gray-800",children:(0,b.Tl)(l.title)}),(0,a.jsx)("p",{className:"truncate text-sm text-gray-600",children:(0,b.Tl)(l.sub_title)})]}),(0,a.jsx)(p(),{href:(0,b.Tl)(l.button_link),target:(0,b.jr)((0,b.Tl)(null==l?void 0:l.button_link))?"_blank":"_self",className:"w-full",children:(0,a.jsx)(_.A,{label:"Apply now",className:"flex h-10 w-full items-center justify-center md:h-12"})})]})}var K=t(60152);let U=e=>{let{onClick:l,centerPadding:t}=e;return(0,a.jsx)("button",{className:"absolute top-1/2 z-10 hidden size-14 -translate-y-1/2 cursor-pointer items-center justify-center rounded-lg border border-white bg-[#F6F6F6] shadow-[0px_-1px_24px_0px_rgba(0,0,0,0.12)] backdrop-blur-[80px] transition-all hover:bg-white min-[550px]:flex",style:{left:parseInt(t)-16+"px"},"aria-label":"Previous Button",onClick:l,children:(0,a.jsx)("svg",{width:"9",height:"15",viewBox:"0 0 9 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M8.3893 12.6167L3.21596 7.44333L8.3893 2.27C8.9093 1.75 8.9093 0.91 8.3893 0.39C7.8693 -0.13 7.0293 -0.13 6.5093 0.39L0.389297 6.51C-0.130703 7.03 -0.130703 7.87 0.389297 8.39L6.5093 14.51C7.0293 15.03 7.8693 15.03 8.3893 14.51C8.89596 13.99 8.9093 13.1367 8.3893 12.6167Z",fill:"#212121"})})})},J=e=>{let{onClick:l,centerPadding:t}=e;return(0,a.jsx)("button",{className:"absolute top-1/2 z-10 hidden size-14 -translate-y-1/2 cursor-pointer items-center justify-center rounded-lg border border-white bg-[#F6F6F6] shadow-[0px_-1px_24px_0px_rgba(0,0,0,0.12)] backdrop-blur-[80px] transition-all hover:bg-white min-[550px]:flex",style:{right:parseInt(t)-16+"px"},"aria-label":"Next Button",onClick:l,children:(0,a.jsx)("svg",{width:"9",height:"15",viewBox:"0 0 9 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M0.39 12.6167L5.56333 7.44333L0.39 2.27C-0.13 1.75 -0.13 0.91 0.39 0.39C0.91 -0.13 1.75 -0.13 2.27 0.39L8.39 6.51C8.91 7.03 8.91 7.87 8.39 8.39L2.27 14.51C1.75 15.03 0.91 15.03 0.39 14.51C-0.116667 13.99 -0.13 13.1367 0.39 12.6167Z",fill:"#212121"})})})};var X=t(68112),ee=t(63152);let el=/\.(mp4|webm|ogg|ogv|mov|m4v)(\?|#|$)/i;function et(e){let{videoSrc:l,thumbnailSrc:t,thumbnailClassName:s,thumbnailAlt:r="Hero Video"}=e,[i,o]=(0,n.useState)(!1);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(u(),{src:t,width:275,height:80,alt:r,loading:"lazy",className:(0,f.cn)("h-10 lg:h-20 w-34 lg:w-72 cursor-pointer rounded-[100px]",s),onClick:()=>o(!0),quality:100}),(0,a.jsx)(ee.A,{centered:!0,open:i,onCancel:()=>o(!1),footer:null,className:"z-50",closeIcon:null,destroyOnHidden:!0,children:(0,a.jsx)("div",{onClick:()=>o(!1),className:"fixed inset-0 z-50 flex items-center justify-center bg-black/50 backdrop-blur-md",children:(0,a.jsxs)("div",{className:"relative mx-4 aspect-video w-full max-w-4xl md:mx-0",children:[(0,a.jsx)("button",{className:"cursor-pointer absolute -top-16 right-0 rounded-full bg-neutral-900/50 size-[40px] text-white ring-1 backdrop-blur-md dark:bg-neutral-100/50 dark:text-black",children:(0,a.jsx)("div",{className:"flex h-full w-full items-center justify-center rounded-full",children:(0,a.jsx)(h.m6K,{size:26,onClick:()=>o(!1)})})}),(0,a.jsx)("div",{className:"relative isolate z-[1] size-full overflow-hidden rounded-2xl border-2 border-white",children:el.test(l)?(0,a.jsx)("video",{src:l,className:"size-full rounded-2xl object-cover",controls:!0,autoPlay:!0,playsInline:!0,onClick:e=>e.stopPropagation()}):(0,a.jsx)("iframe",{src:l,className:"size-full rounded-2xl",allowFullScreen:!0,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"})})]})})})]})}function ea(e){var l,t,s,r,i,o,d,c;let{item:m,isActive:u}=e,x=(0,n.useRef)(null);return(0,n.useEffect)(()=>{u&&X.os.fromTo(x.current,{width:"0px"},{width:"275px",duration:.75,ease:"power2.out"})},[u]),(0,a.jsxs)("div",{className:"mt-12 w-full pb-5 text-center md:mt-0 md:pb-3 lg:py-5",children:[(0,a.jsx)("div",{className:"mb-2 text-center text-4xl leading-[102%] font-semibold tracking-tighter text-[#212121] md:mb-5 lg:text-7xl",children:null!=(t=(0,b.Tl)(m.title_one))?t:(0,a.jsx)("span",{className:"opacity-0",children:"Title One"})}),(0,a.jsxs)("div",{className:"flex flex-col justify-center gap-2 md:flex-row md:gap-4",children:[(0,a.jsxs)("div",{className:"flex flex-row justify-center gap-4",children:[(0,a.jsx)("div",{className:"text-center text-4xl leading-[102%] font-semibold tracking-tighter text-[#BDBDBD] lg:text-7xl",children:null!=(s=(0,b.Tl)(m.title_two))?s:(0,a.jsx)("span",{className:"opacity-0",children:"Title Two"})}),(0,a.jsx)("div",{ref:x,className:"max-w-fit overflow-hidden",children:(0,a.jsx)(et,{videoSrc:null!=(r=null==m||null==(l=m.video_url)?void 0:l.en)?r:"",thumbnailSrc:(0,b.Qp)((0,b.Tl)(m.image)),thumbnailAlt:"Hero Video"})})]}),(0,a.jsx)("div",{className:"text-center text-4xl leading-[102%] font-semibold tracking-tighter text-[#212121] lg:text-7xl",children:null!=(i=(0,b.Tl)(m.title_three))?i:(0,a.jsx)("span",{className:"opacity-0",children:"Title Three"})})]}),(0,a.jsx)("p",{className:"mt-3 text-center text-base leading-6 font-normal text-[#757575] md:mt-5",children:null!=(o=(0,b.Tl)(m.sub_title))?o:(0,a.jsx)("span",{className:"opacity-0",children:"Subtitle goes here"})}),(0,a.jsx)("div",{className:"mx-auto mt-4 w-fit md:mt-10",children:(0,a.jsx)(p(),{href:null!=(d=m.button_link.en)?d:"#",children:(0,a.jsx)(_.A,{label:null!=(c=(0,b.Tl)(m.button_name))?c:"Explore Now",className:"mx-auto flex h-10 items-center justify-center py-3 md:py-4 lg:h-12"})})})]})}t(97590),t(60094);var es=t(96519),er=t.n(es);function en(e){var l;let{item:t}=e;return(0,a.jsx)(p(),{href:null!=(l=(0,b.Tl)(t.redirect_link))?l:"#",target:(0,b.jr)((0,b.Tl)(t.redirect_link))?"_blank":"_self",children:(0,a.jsxs)("div",{className:(0,f.cn)(er().QuickLaunchCard,"group flex flex-col items-center justify-center gap-4 roun
1ded-xl px-4 md:px-8 py-6"),children:[(0,a.jsx)(u(),{src:(0,b.Qp)((0,b.Tl)(t.image)),height:(0,W.lb)().matches?26:48,width:(0,W.lb)().matches?26:48,alt:"."}),(0,a.jsx)("span",{className:"access-item text-center text-sm md:text-base leading-[124%] tracking-[-1px] text-[#212121] group-hover:font-semibold",children:(0,b.Tl)(t.title)})]})})}var ei=t(86386);let eo=async()=>{var e,l,t,a;try{let t=await ei.Zp.get(O.kp9);return{success:!0,data:null!=(l=null==(e=t.data)?void 0:e.data)?l:[]}}catch(e){return{success:!1,error:(null==e||null==(a=e.response)||null==(t=a.data)?void 0:t.message)||"Something went wrong"}}},ed=e=>{var l,t;let{offer:s,className:i}=e,o=null!=(l=(0,r.useRouter)().locale)?l:"en",[d,c]=(0,n.useState)(!0),m="bn"===o?s.tag_name_bn:s.tag_name_en,x=!!(s.start_date_time&&s.end_date_time),h=s.url_slug;return(0,a.jsx)("div",{className:(0,f.cn)(i&&i,"h-full"),children:(0,a.jsx)(p(),{href:h,className:(0,f.cn)("relative z-10 block rounded-[20px] h-full",'before:absolute before:-inset-px before:-z-10 before:block before:animate-[gradient-shift_1.3s_ease-in-out_infinite] before:rounded-[20px] before:bg-[linear-gradient(90deg,rgba(247,149,51,0.6)_0%,rgba(243,112,85,0.6)_33%,rgba(239,78,123,0.6)_66%,rgba(161,102,171,0.6)_100%)] before:bg-size-[200%_100%] before:transition-opacity before:duration-300 before:ease-in-out before:content-[""]','after:absolute after:-inset-px after:-z-10 after:block after:animate-[gradient-shift_1.3s_ease-in-out_infinite] after:rounded-[20px] after:bg-[linear-gradient(90deg,rgba(247,149,51,0.6)_0%,rgba(243,112,85,0.6)_33%,rgba(239,78,123,0.6)_66%,rgba(161,102,171,0.6)_100%)] after:bg-size-[200%_100%] after:blur-xs after:transition-opacity after:duration-300 after:ease-in-out after:content-[""]',"hover:before:opacity-100 hover:after:opacity-80","before:opacity-0 after:opacity-0","transition-all duration-300 ease-in-out"),children:(0,a.jsxs)("div",{className:"relative h-full flex cursor-pointer flex-col justify-between rounded-[20px] border border-[#EEEEEE] bg-white p-5",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex w-full items-center justify-between gap-2",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("div",{className:"relative h-6 w-6 shrink-0",children:(0,a.jsx)(u(),{src:"/offers/icon-bundle-2.svg",height:24,width:24,alt:"icon",loading:"lazy",className:"object-contain"})}),x&&d?(0,a.jsx)(z,{endDate:s.end_date_time.replace(" ","T"),onExpire:()=>c(!1)}):null]}),(0,a.jsx)("div",{className:"min-h-8",children:m?(0,a.jsx)(G,{label:m,color:null!=(t=s.tag_color)?t:"#212121"}):null})]}),(0,a.jsx)("p",{className:"mt-3 line-clamp-2 min-h-8 text-xl leading-tight font-bold text-[#212121]",children:"bn"===o?s.name_bn:s.name_en})]}),(0,a.jsxs)("div",{className:"mt-5 md:mt-8 w-full",children:[(0,a.jsxs)("div",{className:"flex justify-between items-baseline leading-[100%]",children:[(0,a.jsx)("p",{className:"text-xs font-normal text-[#757575]",children:"bn"===o?"মà§à¦¯à¦¼à¦¾à¦¦":"Validity"}),s.market_price>0?(0,a.jsxs)("div",{className:"ml-0.5 text-right",children:[(0,a.jsx)("span",{className:"text-xs font-normal text-[#757575] line-through",children:"à§³"}),(0,a.jsx)("span",{className:"text-xs font-normal text-[#757575] line-through",children:s.market_price})]}):null]}),(0,a.jsxs)("div",{className:"flex justify-between items-baseline leading-[100%]",children:[(0,a.jsxs)("h4",{className:"text-sm md:text-base font-semibold text-[#212121]",children:[s.validity," ",s.validity_unit]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"mr-0.75 text-base md:text-xl font-bold text-[#212121]",children:"à§³"}),(0,a.jsx)("span",{className:"text-base md:text-xl font-bold text-[#212121]",children:s.price})]})]})]})]})})})},ec=e=>{let{className:l,style:t,onClick:s}=e;return(0,a.jsx)("div",{className:l+" next-arrow",style:{...t,display:"flex",right:"-1rem",zIndex:1,alignItems:"center",justifyContent:"center",width:40,height:40,background:"#fff",borderRadius:"12px",boxShadow:"0px -1px 24px 0px #0000001F",backdropFilter:"blur(80px)",WebkitBackdropFilter:"blur(80px)"},onClick:s,children:(0,a.jsx)("svg",{width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M10 6l6 6-6 6",stroke:"#212121",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})},em=e=>{let{className:l,style:t,onClick:s,show:r}=e;return r?(0,a.jsx)("div",{className:l+" prev-arrow",style:{...t,display:"flex",left:"-10px",zIndex:1,alignItems:"center",justifyContent:"center",width:40,height:40,background:"#fff",borderRadius:"12px",boxShadow:"0px -1px 24px 0px #0000001F",backdropFilter:"blur(80px)",WebkitBackdropFilter:"blur(80px)"},onClick:s,children:(0,a.jsx)("svg",{width:"20",height:"20",fill:"none",viewBox:"0 0 24 24",children:(0,a.jsx)("path",{d:"M14 6l-6 6 6 6",stroke:"#212121",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}):null};var eu=t(65772),ex=t(50755),ep=t(51555),eh=t(30465),eb=t(82263),ef=t(69708);let eg=e=>(null==e?void 0:e.trim().toLowerCase())||"";var ev=t(9492),ej=t(52131),e_=t(20502);let ew=()=>(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M23.4068 27.4818V29.3337H8.59194V27.4818H23.4068ZM27.4808 23.9561V13.5341C27.4808 12.5476 26.9936 11.5543 26.0525 10.8568L18.6451 5.36729C1
17.1187 4.23605 14.88 4.23605 13.3536 5.36729L5.94618 10.8568C5.00506 11.5543 4.51787 12.5476 4.51787 13.5341V23.9561C4.51787 25.7382 6.16858 27.4818 8.59194 27.4818V29.3337L8.51534 29.3332C5.30334 29.2963 2.70722 26.9404 2.66652 24.0256L2.66602 23.9561V13.5341C2.66602 11.9447 3.44072 10.4381 4.77944 9.41728L4.84361 9.36903L12.251 3.87944C14.4324 2.26284 17.5663 2.26284 19.7477 3.87944L27.1551 9.36903C28.5332 10.3903 29.3327 11.9195 29.3327 13.5341V23.9561L29.3322 24.0256C29.2912 26.9635 26.654 29.3337 23.4068 29.3337V27.4818C25.8301 27.4818 27.4808 25.7382 27.4808 23.9561Z",fill:"#F67A3E"}),(0,a.jsx)("path",{d:"M15.9993 14.5188C19.2721 14.5188 21.9253 17.172 21.9253 20.4448V27.8015C21.9253 28.3129 21.5107 28.7275 20.9993 28.7275C20.488 28.7275 20.0734 28.3129 20.0734 27.8015V20.4448C20.0734 18.1947 18.2494 16.3707 15.9993 16.3707C13.7493 16.3707 11.9253 18.1947 11.9253 20.4448V27.8015C11.9253 28.3129 11.5107 28.7275 10.9993 28.7275C10.488 28.7275 10.0734 28.3129 10.0734 27.8015V20.4448C10.0734 17.172 12.7265 14.5188 15.9993 14.5188Z",fill:"#F67A3E"})]}),eN=()=>(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{d:"M21.7482 20.382C22.0799 20.1154 22.565 20.1676 22.8333 20.4993C23.1008 20.8319 23.0484 21.3171 22.7159 21.5854L20.5893 23.2997C20.4522 23.4102 20.2808 23.4702 20.1059 23.4702C20.0768 23.4702 20.0476 23.4685 20.0176 23.4651C19.8127 23.442 19.6259 23.3374 19.499 23.1745L18.6624 22.1082C18.3993 21.7722 18.4585 21.2879 18.7928 21.0248C19.1288 20.7608 19.613 20.8199 19.8762 21.1551L20.2302 21.6059L21.7482 20.382Z",fill:"#F67A3E"}),(0,a.jsx)("path",{d:"M15.6419 21.0702L15.6618 21.0705C16.0786 21.0811 16.4133 21.4223 16.4133 21.8417L16.4131 21.8616C16.4025 22.2784 16.0612 22.6131 15.6419 22.6131H9.77207C9.34608 22.6131 9.00066 22.2677 9.00065 21.8417C9.00065 21.4223 9.33536 21.0811 9.75215 21.0705L9.77207 21.0702H15.6419Z",fill:"#F67A3E"}),(0,a.jsx)("path",{d:"M21.7482 14.2954C22.0799 14.0288 22.5668 14.082 22.8333 14.4128C23.1007 14.7454 23.0484 15.2314 22.7159 15.4988L20.5893 17.2122C20.4522 17.3228 20.2808 17.3828 20.1059 17.3828C20.0768 17.3828 20.0476 17.3811 20.0176 17.3777C19.8127 17.3545 19.6259 17.25 19.499 17.0871L18.6624 16.0208C18.3993 15.6848 18.4585 15.2005 18.7928 14.9374C19.1288 14.6734 19.613 14.7325 19.8762 15.0676L20.2302 15.5194L21.7482 14.2954Z",fill:"#F67A3E"}),(0,a.jsx)("path",{d:"M15.6419 14.9828L15.6618 14.9831C16.0786 14.9936 16.4133 15.3349 16.4133 15.7542L16.4131 15.7742C16.4025 16.1909 16.0612 16.5257 15.6419 16.5257H9.77207C9.34608 16.5256 9.00065 16.1802 9.00065 15.7542C9.00065 15.3349 9.33536 14.9936 9.75215 14.9831L9.77207 14.9828H15.6419Z",fill:"#F67A3E"}),(0,a.jsx)("path",{d:"M19.0087 8.53366C19.4347 8.53366 19.7802 8.87908 19.7802 9.30508L19.7799 9.325C19.7694 9.7418 19.4281 10.0765 19.0087 10.0765H11.1624C10.7364 10.0765 10.391 9.73107 10.391 9.30508C10.391 8.87909 10.7364 8.53367 11.1624 8.53366H19.0087Z",fill:"#F67A3E"}),(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.2318 2.66699C25.006 2.667 26.6682 5.32078 26.6673 7.78672C26.6666 9.693 26.6673 22.3074 26.6673 24.2145C26.6673 26.68 25.0053 29.3336 22.2312 29.3337H9.77012C6.9958 29.3336 5.33399 26.6797 5.33398 24.2137V7.78613C5.334 5.3207 6.99604 2.66701 9.77012 2.66699H22.2318ZM9.77012 4.33366C8.24067 4.33367 7.00066 5.87949 7.00065 7.78613V24.2137L7.00156 24.3028C7.03948 26.1691 8.26455 27.667 9.77012 27.667H22.2312C23.7367 27.667 24.9618 26.1691 24.9997 24.3036L25.0007 24.2145C25.0007 22.3079 25 9.6928 25.0007 7.78613C25.0013 5.89438 23.7806 4.35782 22.2676 4.33392L22.2318 4.33366H9.77012Z",fill:"#F67A3E"})]}),ey=()=>(0,a.jsxs)("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.0001 8.26699C18.3934 8.26699 20.3335 10.2071 20.3335 12.6003C20.3335 14.9936 18.3934 16.9337 16.0001 16.9337C13.6069 16.9337 11.6668 14.9936 11.6668 12.6003C11.6668 10.2071 13.6069 8.26699 16.0001 8.26699ZM16.0001 9.93366C14.5274 9.93366 13.3335 11.1276 13.3335 12.6003C13.3335 14.0731 14.5274 15.267 16.0001 15.267C17.4729 15.267 18.6668 14.0731 18.6668 12.6003C18.6668 11.1276 17.4729 9.93366 16.0001 9.93366Z",fill:"#F67A3E"}),(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.1361 2.66784C21.8818 2.73983 26.5335 7.36901 26.5335 13.0488L26.5329 13.1561C26.4833 17.7025 23.2949 22.7457 20.072 27.2864L20.0262 27.3499C18.068 30.0159 13.8506 29.9947 11.9283 27.2864C8.68 22.71 5.4668 17.623 5.4668 13.0488C5.46681 7.32428 10.1921 2.66699 16.0001 2.66699L16.1361 2.66784ZM16.0001 4.33366C11.0897 4.33366 7.13347 8.26743 7.13346 13.0488C7.13346 14.9657 7.81351 17.1111 8.96979 19.4207C10.1197 21.7175 11.6737 24.0483 13.2874 26.3217C14.5605 28.1154 17.4398 28.1154 18.7129 26.3217C20.3265 24.0483 21.8806 21.7175 23.0305 19.4207C24.1867 17.1111 24.8668 14.9657 24.8668 13.0488C24.8668 8.26743 20.9106 4.33366 16.0001 4.33366Z",fill:"#F67A3E"})]});var ek=t(13029),eC=t(41953);let eT=()=>{var e,l,t,s;let[n]=L.A.useForm(),i=(0,eC.A)({obj:"full"}),o=L.A.useWatch("orderNumber",n),d=(0,r.useRouter)(),c=(0,eh.A)("d2d");return(0,a.jsxs)("div",{className:"mt-6 rounded-xl bg-[#F5F5F5] p-3 md:p-6",children:[(0,a.jsxs)("div",{className:"w-full flex gap-4",children:[(0,a.jsxs)(L.A,{form:n,name:"basic",onFinish:e=>{let l=e.orderNumber||"";(0,ek.h)(l,"",!0),d.push("/track-order/".concat(encodeURIComponent(l)))},size:"large",className:"flex flex-1 gap-2 md:gap-4",children:[(0,a.jsx)(L.A.Item,{name:"orderNumber",rules:[{required:!0,message:"Please input your order number!"}],className:"mb-0! flex-1!",children:(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsx)(ep.A,{className:"peer h-[40px] w-[60vw] py-0! rounded-xl! leading-9.5! md:h-12! md:min-
1h-12! md:w-full md:leading-11.5!"}),!o&&(0,a.jsxs)("span",{className:"pointer-events-none absolute top-1/2 left-4 flex -translate-y-1/2 items-center gap-2 text-sm text-gray-400 peer-focus:hidden md:text-base",children:[(0,a.jsx)("img",{src:"/assets/search.svg",alt:"",width:20,height:20}),null==(e=c.simServices)?void 0:e.orderNumber]})]})}),(0,a.jsx)(L.A.Item,{label:null,className:"mb-0!",children:(0,a.jsx)(_.A,{type:"submit",label:null==(l=c.simServices)?void 0:l.trackNow,showArrow:!1,className:"flex h-[40px] w-max items-center justify-center px-6! py-0! text-sm font-semibold md:h-12! md:min-h-12! md:w-40 md:text-base",disabled:!o})})]}),i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"hidden border-l h-[40px] mt-1 border-[#d1d1d1] md:block"}),(0,a.jsx)("button",{className:"bg-[#F26E21] hidden rounded-xl cursor-pointer items-center justify-center text-center leading-6 font-semibold md:flex h-12 w-fit min-w-60 text-base text-white",children:(0,a.jsx)(p(),{className:"text-white! flex justify-center items-center h-full w-full",href:"/my-orders",children:null==(t=c.simServices)?void 0:t.myOrderHistory})})]}):null]}),i?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"my-4 border-t border-[#d1d1d1] md:hidden"}),(0,a.jsx)("button",{className:"bg-[#F26E21] flex h-[40px] w-full rounded-lg md:rounded-xl cursor-pointer items-center justify-center text-center text-sm leading-6 font-semibold md:hidden",children:(0,a.jsx)(p(),{className:"text-white! flex justify-center items-center h-full w-full",href:"/my-orders",children:null==(s=c.simServices)?void 0:s.myOrderHistory})})]}):null]})};var eA=t(90),eE=t(46243),eS=t(4368),eP=t(56557),eL=t.n(eP),eF=t(27598),eM=t(88845),eI=t(65556);let eq=async e=>{let l=await fetch(O.FSv,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)}),t=await l.json().catch(()=>null);return{ok:l.ok,status:l.status,data:t}};var eD=t(43950);let eV=eM.A,ez=eF.A,eG="DD-MM-YYYY",eR=/^(01)[3456789]\d{8}$/,eH=/^[A-Za-z0-9]{7,10}$/,eB={PREPAID:10,POSTPAID:30},eO=["payable_amount","subscriber_name","mobile_number","email","passport_number","passport_expiry"],eZ=e=>{let{attribute:l}=e,t=(0,r.useRouter)(),s=(0,eA.A)(),[i]=L.A.useForm(),o=L.A.useWatch([],i),[d,c]=(0,n.useState)(""),[m,u]=(0,n.useState)(!1),[x,h]=(0,n.useState)(!0),[f,g]=(0,n.useState)(!1),[v,j]=(0,n.useState)(""),[w,N]=(0,n.useState)(!1),[y,k]=ex.Ay.useMessage(),C=d?eB[d]:void 0,T="bn"===t.locale?(0,eD.qN)(C):String(null!=C?C:""),A="bn"===t.locale?(0,eD.qN)(6):String(6);(0,n.useEffect)(()=>{(()=>{let e=i.getFieldsValue(eO),l=eO.every(l=>{let t=e[l];return t&&"object"==typeof t&&"function"==typeof t.isValid?t.isValid():"string"==typeof t?t.trim().length>0:!!t}),t=i.getFieldsError(eO).some(e=>e.errors.length>0);h(!l||t||!m||!d)})()},[o,m,d]),(0,n.useEffect)(()=>{if(!d)return;let e=i.getFieldValue("payable_amount");String(null!=e?e:"").trim()||i.setFieldValue("payable_amount",String(eB[d])),i.validateFields(["payable_amount"]).catch(()=>void 0)},[d]);let E=async e=>{if(!f){if(!d)return void y.error(s("selectServiceType"));g(!0);try{var l,a,r,n,o;let c=await (0,eI.y)(e.mobile_number,2).catch(()=>null);if(c&&!1===c.is_valid_type)return void i.setFields([{name:"mobile_number",errors:[c.message||s("notValidBlNumber")]}]);let m=e.passport_expiry&&"function"==typeof e.passport_expiry.format?e.passport_expiry.format(eG):String(null!=(l=e.passport_expiry)?l:""),u={customerType:d,amount:Number(e.payable_amount),name:e.subscriber_name,msisdn:"88".concat(e.mobile_number),email:e.email,passport_number:e.passport_number,passport_date_of_expiry:m},x=(await eq(u)).data;if(x)if(j(x.message),200===x.status_code||201===x.status_code){let e=null==(a=x.data)?void 0:a.payment_url;if(!e||(null==(r=x.data)?void 0:r.is_payment_complete))e&&(null==(n=x.data)?void 0:n.is_payment_complete)?t.push("/roaming/already-active"):y.error(x.message||s("paymentNotInitiated"));else{window.location.href=e;return}}else if(422===x.status_code){j((null==(o=x.error)?void 0:o.message)?x.error.message:x.message?x.message:s("somethingWentWrong")),N(!0);return}else y.error(x.message||s("submitFailed"));else y.error(s("submitFailed"))}catch(e){y.error(s("somethingWentWrong"))}finally{g(!1)}}};return(0,a.jsxs)(a.Fragment,{children:[k,(0,a.jsx)("div",{className:"rounded-2xl border border-[#
1E0E0E0] bg-white p-5 shadow-[0_4px_24px_rgba(0,0,0,0.04)] md:p-8",children:(0,a.jsxs)(L.A,{layout:"vertical",form:i,onFinish:E,initialValues:{payable_amount:""},className:"space-y-6 [&_.ant-form-item-explain-error]:text-xs",children:[(0,a.jsxs)("div",{className:"space-y-3",children:[(0,a.jsx)("p",{className:"text-sm font-semibold text-[#212121]",children:s("alreadyActivatedNote")}),(0,a.jsx)("p",{className:"text-sm font-bold text-[#212121]",children:s("serviceType")}),(0,a.jsx)(eE.Ay,{theme:{token:{colorPrimary:"#000000"},components:{Checkbox:{colorBorder:"#AAAAAA"}}},children:(0,a.jsxs)("div",{className:"flex items-center gap-8",children:[(0,a.jsx)(eS.A,{checked:"PREPAID"===d,onChange:()=>c("PREPAID"),children:(0,a.jsx)("span",{className:"text-sm text-[#616161]",children:s("prepaid")})}),(0,a.jsx)(eS.A,{checked:"POSTPAID"===d,onChange:()=>c("POSTPAID"),children:(0,a.jsx)("span",{className:"text-sm text-[#616161]",children:s("postpaid")})})]})})]}),(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(L.A.Item,{name:"payable_amount",className:"pb-2!",rules:[{required:!0,message:s("required")},{validator:(e,l)=>{if(!l)return Promise.resolve();let t=Number(l);return Number.isNaN(t)||void 0!==C&&t<C?Promise.reject(Error(s("minPayableAmount",{type:d?s(d.toLowerCase()):"",min:T}))):Promise.resolve()}}],children:(0,a.jsx)(eV,{label:d?s("payableAmountServiceType",{min:T}):s("payableAmount"),inputType:"number",prefix:"$",placeholder:C?String(C):s("payableAmount"),required:!0})}),(0,a.jsx)(L.A.Item,{name:"subscriber_name",className:"pb-2!",rules:[{required:!0,message:s("required")}],children:(0,a.jsx)(eV,{label:s("subscriberName"),type:"text",placeholder:s("enterSubscriberName"),required:!0})}),(0,a.jsx)(L.A.Item,{name:"mobile_number",className:"pb-2!",rules:[{required:!0,message:s("required")},{pattern:eR,message:s("validMobile")}],children:(0,a.jsx)(eV,{label:s("mobileNumber"),type:"tel",inputType:"number",maxLength:11,placeholder:s("enterMobileNumber"),required:!0})}),(0,a.jsx)(L.A.Item,{name:"email",className:"pb-2!",rules:[{required:!0,message:s("required")},{type:"email",message:s("validEmail")}],children:(0,a.jsx)(eV,{label:s("email"),placeholder:s("enterEmail"),required:!0})}),(0,a.jsx)(L.A.Item,{name:"passport_number",className:"pb-2!",rules:[{required:!0,message:s("required")},{pattern:eH,message:s("passportNumberRule")}],children:(0,a.jsx)(eV,{label:s("passportNumber"),placeholder:s("enterPassportNumber"),maxLength:10,required:!0})}),(0,a.jsx)(L.A.Item,{name:"passport_expiry",className:"mb-0!",rules:[{required:!0,message:s("required")},{validator:(e,l)=>l&&"function"==typeof l.isAfter?l.isAfter(eL()(),"day")?l.isBefore(eL()().add(6,"month"),"day")?Promise.reject(Error(s("passportExpiryMinMonths",{months:A}))):Promise.resolve():Promise.reject(Error(s("passportExpiryFuture"))):Promise.resolve()}],children:(0,a.jsx)(ez,{name:"passport_expiry",label:s("passportExpiry"),placeholder:eG,required:!0,form:i,dateDisabled:e=>!e||!e.isAfter(eL()(),"day")})})]}),(0,a.jsx)("div",{className:"pt-2 [&_li]:list-disc! [&_li]:text-sm [&_li]:font-normal [&_li]:leading-5 [&_li]:text-[#757575] [&_ul]:my-2 [&_ul]:list-disc [&_ul]:pl-5",dangerouslySetInnerHTML:{__html:(0,b.Tl)(null==l?void 0:l.desc)}}),(0,a.jsxs)("div",{className:"space-y-6 pt-2 mt-6",children:[(0,a.jsx)(eE.Ay,{theme:{token:{colorPrimary:"#00AE5B"},components:{Checkbox:{colorBorder:"#AAAAAA"}}},children:(0,a.jsx)(eS.A,{checked:m,onChange:e=>u(e.target.checked),children:(0,a.jsxs)("span",{className:"text-sm text-[#757575]",children:[s("agreeToTermsPrefix")," ",(0,a.jsx)(p(),{href:(0,b.Tl)(l.terms_and_conditions_link),target:"_blank",children:(0,a.jsx)("strong",{className:"font-bold text-black",children:(0,b.Tl)(l.terms_and_conditions)})}),s("agreeToTermsSuffix")?" ".concat(s("agreeToTermsSuffix")):""]})})}),(0,a.jsx)(L.A.Item,{label:null,className:"mb-0! ",children:(0,a.jsx)(_.A,{label:s("proceedToPay"),showArrow:!1,disabled:x||f,showLoading:f,spinLoading:f,className:"flex h-12 w-full mt-6! justify-center px-8! text-sm font-semibold md:w-max md:text-base"})})]})]})}),(0,a.jsx)(ee.A,{open:w,onCancel:()=>{N(!1),j("")},footer:null,centered:!0,styles:{content:{borderRadius:24,padding:24},body:{padding:10}},children:(0,a.jsxs)("div",{className:"flex flex-col items-center gap-6 text-center",children:[(0,a.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",children:[(0,a.jsx)("rect",{width:"56",height:"56",rx:"28",fill:"#FFEAE7"}),(0,a.jsx)("path",{d:"M27.9997 40C29.4724 40 30.6663 38.8061 30.6663 37.3333C30.6663 35.8606 29.4724 34.6667 27.9997 34.6667C26.5269 34.6667 25.333 35.8606 25.333 37.3333C25.333 38.8061 26.5269 40 27.9997 40Z",fill:"#FF4646"}),(0,a.jsx)("path",{d:"M27.9997 16C26.533 16 25.333 17.2 25.333 18.6667V29.3333C25.333 30.8 26.533 32 27.9997 32C29.4663 32 30.6663 30.8 30.6663 29.3333V18.6667C30.6663 17.2 29.4663 16 27.9997 16Z",fill:"#FF4646"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h3",{className:"mb-2 text-2xl font-bold text-[#FF4646]",children:s("oops")}),(0,a.jsx)("p",{className:"text-base text-[#4B4B4B]",children:v})]}),(0,a.jsx)("button",{type:"button",onClick:()=>N(!1),className:"inline-flex w-full items-center justify-center rounded-full px-5 py-3 text-base font-semibold text-white transition-opacity hover:opacity-90",style:{background:"linear-gradient(90deg, #F2A07B, #E0602A)"},children:s("tryAgain")})]})})]})},eW=c()(()=>t.e(7611).then(t.bind(t,77611)),{loadableGenerated:{webpack:()=>[77611]}}),eQ=c()(()=>t.e(6645).then(t.bind(t,36645)),{loadableGenerated:{webpack:()=>[36645]}}),e$=c()(()=>
1Promise.all([t.e(5772),t.e(8637)]).then(t.bind(t,48637)),{loadableGenerated:{webpack:()=>[48637]}}),eY=c()(()=>Promise.all([t.e(5772),t.e(32)]).then(t.bind(t,70032)),{loadableGenerated:{webpack:()=>[70032]}}),eK=c()(()=>t.e(1926).then(t.bind(t,71926)),{loadableGenerated:{webpack:()=>[71926]}}),eU=c()(()=>t.e(8734).then(t.bind(t,46353)),{loadableGenerated:{webpack:()=>[46353]}}),eJ=c()(()=>Promise.all([t.e(5772),t.e(3658)]).then(t.bind(t,73658)),{loadableGenerated:{webpack:()=>[73658]}}),eX=c()(()=>t.e(3011).then(t.bind(t,23011)),{loadableGenerated:{webpack:()=>[23011]}}),e0=c()(()=>Promise.all([t.e(5772),t.e(530)]).then(t.bind(t,40530)),{loadableGenerated:{webpack:()=>[40530]}}),e1=c()(()=>t.e(5505).then(t.bind(t,95505)),{loadableGenerated:{webpack:()=>[95505]}}),e2=c()(()=>Promise.all([t.e(5772),t.e(9029),t.e(3064),t.e(9498),t.e(6196)]).then(t.bind(t,6196)),{loadableGenerated:{webpack:()=>[6196]}}),e3=c()(()=>Promise.all([t.e(1355),t.e(5772),t.e(9826)]).then(t.bind(t,89826)),{loadableGenerated:{webpack:()=>[89826]}}),e6=c()(()=>Promise.all([t.e(5772),t.e(2065)]).then(t.bind(t,12065)),{loadableGenerated:{webpack:()=>[12065]}}),e7=c()(()=>Promise.all([t.e(5772),t.e(4015)]).then(t.bind(t,46396)),{loadableGenerated:{webpack:()=>[46396]}}),e5=c()(()=>Promise.all([t.e(5772),t.e(9029),t.e(1578)]).then(t.bind(t,61578)),{loadableGenerated:{webpack:()=>[61578]}}),e4=c()(()=>Promise.all([t.e(3558),t.e(4339)]).then(t.bind(t,14339)),{loadableGenerated:{webpack:()=>[14339]}}),e8=c()(()=>Promise.all([t.e(4248),t.e(4568),t.e(3542)]).then(t.bind(t,33542)),{loadableGenerated:{webpack:()=>[33542]}}),e9=c()(()=>Promise.all([t.e(5938),t.e(5237),t.e(2015)]).then(t.bind(t,2015)),{loadableGenerated:{webpack:()=>[2015]}}),le={accordion:"accordion",amar_offer:"amar_offer",banner_with_button:"banner_with_button",bl_lab:"bl_lab",button_component:"button_component",card_with_bg_color_component:"card_with_bg_color_component",customer_complaint:"customer_complaint",digital_world:"digital_world",diversity:"diversity",explore_c:"explore_c",explore_services:"explore_services",galley_masonry:"galley_masonry",hero_section:"hero_section",hiring_now_component:"hiring_now_component",hovering_card_component:"hovering_card_component",icon_card:"icon_card",icon_card_with_bg:"icon_card_with_bg",icon_text_component:"icon_text_component",icon_text_with_bg_component:"icon_text_with_bg_component",icon_text_with_image:"icon_text_with_image",life_at_banglalink:"life_at_banglalink",loyalty_offer:"loyalty_offer",multiple_image:"multiple_image",recycle_number_check:"recycle_number_check",separator:"separator",sim_recycle:"sim_recycle",step_cards_with_hovering_effect:"step_cards_with_hovering_effect",stories_slider:"stories_slider",super_app:"super_app",tab_component_with_image_card_one:"tab_component_with_image_card_one",tab_component_with_image_card_two:"tab_component_with_image_card_two",tab_component_with_image_card_three:"tab_component_with_image_card_three",tab_component_with_image_card_four:"tab_component_with_image_card_four",tab_component_with_image_card_five:"tab_component_with_image_card_five",tab_slider:"tab_slider",tab_slider_batch:"tab_slider_batch",tab_team:"tab_team",text:"text",text_component:"text_component",text_with_image:"text_with_image",top_image_bottom_text_component:"top_image_bottom_text_component",top_image_card_with_button:"top_image_card_with_button",video_full_width_component:"video_full_width_component",video_with_text_container_
1component:"video_with_text_container_component",videos_component:"videos_component",why_join_us:"why_join_us",embrace_future:"embrace_future",fwa_availability:"fwa_availability",three_steps:"three_steps",eshop_products:"eshop_products",faq:"faq",store_locator:"store_locator",three_title_hero:"three_title_hero",new_hero:"new_hero",easy_recharge:"easy_recharge",exclusive_deals:"exclusive_deals",digital_apps:"digital_apps",digital_horizon:"digital_horizon",start_with_banglalink:"start_with_banglalink",quick_launch:"quick_launch",leaders_innovation:"leaders_innovation",best_deals:"best_deals",store_finder:"store_finder",sim_service:"sim_service",my_orders:"my_orders",transform:"transform",cultural_principle:"cultural_principle",stay_connected:"stay_connected",seamless_connectivity:"seamless_connectivity",connect_and_work:"connect_and_work",satellite_packs:"satellite_packs",roaming_activation_form:"roaming_activation_form"},ll={[le.accordion]:c()(()=>Promise.all([t.e(3495),t.e(5237),t.e(1408)]).then(t.bind(t,21408)),{loadableGenerated:{webpack:()=>[21408]}}),[le.amar_offer]:c()(()=>Promise.all([t.e(5772),t.e(5732),t.e(4269),t.e(9829)]).then(t.bind(t,29829)),{loadableGenerated:{webpack:()=>[29829]}}),[le.banner_with_button]:c()(()=>Promise.all([t.e(4198),t.e(5772),t.e(7266),t.e(9029),t.e(8422)]).then(t.bind(t,48422)),{loadableGenerated:{webpack:()=>[48422]}}),[le.bl_lab]:c()(()=>Promise.all([t.e(5772),t.e(120)]).then(t.bind(t,80120)),{loadableGenerated:{webpack:()=>[80120]}}),[le.button_component]:c()(()=>Promise.all([t.e(5772),t.e(4230)]).then(t.bind(t,34230)),{loadableGenerated:{webpack:()=>[34230]}}),[le.card_with_bg_color_component]:c()(()=>Promise.all([t.e(5772),t.e(4568),t.e(9701)]).then(t.bind(t,9701)),{loadableGenerated:{webpack:()=>[9701]}}),[le.customer_complaint]:c()(()=>t.e(8044).then(t.bind(t,18044)),{loadableGenerated:{webpack:()=>[18044]}}),[le.digital_world]:c()(()=>Promise.all([t.e(5732),t.e(9082)]).then(t.bind(t,69082)),{loadableGenerated:{webpack:()=>[69082]}}),[le.diversity]:e$,[le.explore_c]:c()(()=>Promise.all([t.e(3136),t.e(3109)]).then(t.bind(t,33109)),{loadableGenerated:{webpack:()=>[33109]}}),[le.explore_services]:c()(()=>Promise.all([t.e(3197),t.e(35)]).then(t.bind(t,70035)),{loadableGenerated:{webpack:()=>[70035]}}),[le.galley_masonry]:e2,[le.hero_section]:c()(()=>Promise.all([t.e(7743),t.e(4314)]).then(t.bind(t,54314)),{loadableGenerated:{webpack:()=>[54314]}}),[le.hiring_now_component]:c()(()=>Promise.all([t.e(5772),t.e(8807)]).then(t.bind(t,78807)),{loadableGenerated:{webpack:()=>[78807]}}),[le.hovering_card_component]:c()(()=>Promise.all([t.e(5772),t.e(8872)]).then(t.bind(t,38872)),{loadableGenerated:{webpack:()=>[38872]}}),[le.icon_card]:eX,[le.icon_card_with_bg]:e1,[le.icon_text_component]:c()(()=>t.e(7988).then(t.bind(t,47988)),{loadableGenerated:{webpack:()=>[47988]}}),[le.icon_text_with_bg_component]:c()(()=>t.e(5505).then(t.bind(t,95505)),{loadableGenerated:{webpack:()=>[95505]}}),[le.icon_text_with_image]:c()(()=>t.e(8742).then(t.bind(t,8742)),{loadableGenerated:{webpack:()=>[8742]}}),[le.life_at_banglalink]:e2,[le.loyalty_offer]:c()(()=>Promise.all([t.e(1073),t.e(5732),t.e(4269),t.e(124)]).then(t.bind(t,40124)),{loadableGenerated:{webpack:()=>[40124]}}),[le.multiple_image]:c()(()=>t.e(4964).then(t.bind(t,74964)),{loadableGenerated:{webpack:()=>[74964]}}),[le.recycle_number_check]:c()(()=>Promise.all([t.e(3485),t.e(9029),t.e(9113)]).then(t.bind(t,49113)),{loadableGenerated:{webpack:()=>[49113]}}),[le.separator]:c()(()=>t.e(9562).then(t.bind(t,69562)),{loadableGenerated:{webpack:()=>[69562]}}),[le.sim_recycle]:c()(()=>Promise.all([t.e(5772),t.e(3922)]).then(t.bind(t,83922)),{loadableGenerated:{webpack:()=>[83922]}}),[le.step_cards_with_hovering_effect]:c()(()=>Promise.all([t.e(5772),t.e(2067)]).then(t.bind(t,12067)),{loadableGenerated:{webpack:()=>[12067]}}),[le.stories_slider]:c()(()=>Promise.all([t.e(5772),t.e(8316)]).then(t.bind(t,18316)),{loadableGenerated:{webpack:()=>[18316]}}),[le.super_app]:c()(()=>t.e(134).then(t.bind(t,134)),{loadableGenerated:{webpack:()=>[134]}}),[le.tab_component_with_image_card_one]:c()(()=>Promise.all([t.e(2981),t.e(1982)]).then(t.bind(t,11982)),{loadableGenerated:{webpack:()=>[11982]}}),[le.tab_component_with_image_card_two]:c()(()=>Promise.all([t.e(2981),t.e(1952)]).then(t.bind(t,11952)),{loadableGenerated:{webpack:()=>[11952]}}),[le.tab_component_with_image_card_three]:c()(()=>Promise.all([t.e(2981),t.e(7463)]).then(t.bind(t,17463)),{loadableGenerated:{webpack:()=>[17463]}}),[le.tab_component_with_image_card_four]:c()(()=>Promise.all([t.e(5732),t.e(5772),t.e(1349)]).then(t.bind(t,71349)),{loadableGenerated:{webpack:()=>[71349]}}),[le.tab_component_with_image_card_five]:c()(()=>Promise.all([t.e(7888),t.e(5732),t.e(1106)]).then(t.bind(t,21106)),{loadableGenerated:{webpack:()=>[21106]}}),[le.tab_slider]:e7,[le.tab_slider_batch]:e6,[le.tab_team]:e5,[le.text]:e4,[le.text_component]:c()(()=>Promise.all([t.e(3558),t.e(4339)]).then(t.bind(t,14339)),{loadableGenerated:{webpack:()=>[14339]}}),[le.text_with_image]:c()(()=>Promise.all([t.e(5772),t.e(4568),t.e(131)]).then(t.bind(t,60131)
1),{loadableGenerated:{webpack:()=>[60131]}}),[le.top_image_bottom_text_component]:c()(()=>Promise.all([t.e(5772),t.e(4568),t.e(1844)]).then(t.bind(t,61844)),{loadableGenerated:{webpack:()=>[61844]}}),[le.top_image_card_with_button]:e3,[le.video_full_width_component]:e8,[le.video_with_text_container_component]:c()(()=>Promise.all([t.e(7919),t.e(4568),t.e(2323)]).then(t.bind(t,2323)),{loadableGenerated:{webpack:()=>[2323]}}),[le.videos_component]:c()(()=>Promise.all([t.e(5732),t.e(4568),t.e(3770)]).then(t.bind(t,23770)),{loadableGenerated:{webpack:()=>[23770]}}),[le.why_join_us]:e0,[le.embrace_future]:eU,[le.fwa_availability]:eY,[le.three_steps]:eK,[le.eshop_products]:eJ,[le.faq]:e9,[le.store_locator]:c()(()=>Promise.resolve().then(t.bind(t,65772)),{loadableGenerated:{webpack:()=>[65772]}}),[le.three_title_hero]:function(e){let{data:l}=e,[t,s]=(0,n.useState)(0);return(0,a.jsx)("div",{className:"slider-container container mb-4 pt-0 md:mb-0 md:pt-4",children:(null==l?void 0:l.length)?(0,a.jsx)(P.A,{...{dots:!1,infinite:!0,slidesToShow:1,slidesToScroll:1,vertical:!0,verticalSwiping:!0,swipeToSlide:!0,arrows:!1,autoplay:!0,autoplaySpeed:4e3,waitForAnimate:!1,beforeChange:(e,l)=>s(l)},children:l.map((e,l)=>(0,a.jsx)(ea,{item:e,isActive:l===t},l))}):null})},[le.new_hero]:e=>{let{data:l,attribute:t}=e,[s,r]=(0,n.useState)("250px"),[i,o]=(0,n.useState)(500),[d,c]=(0,n.useState)(!1),{width:m}=(0,K.A)(),x={centerMode:!0,initialSlide:2,slidesToShow:1,infinite:!0,autoplay:!0,autoplaySpeed:3e3,pauseOnHover:!0,speed:i,centerPadding:s,prevArrow:(0,a.jsx)(U,{centerPadding:s}),nextArrow:(0,a.jsx)(J,{centerPadding:s})};return(0,n.useEffect)(()=>{let e=document.querySelector("#navbarContainer"),l=()=>{(()=>{if(!e||!(e instanceof HTMLElement)||0===e.offsetWidth)return console.warn("Container element is not ready or has no width.");try{let l=window.getComputedStyle(e),t=m&&m<1440?.06*m:0,a=parseInt(l.marginLeft||"0")+t-(m&&m<550?2:10);r(a+"px"),c(!0)}catch(e){console.error("Error updating center padding:",e)}})(),m&&m<=550?o(500):o(1500)},t=setTimeout(l,0),a=((e,l)=>{let t;return function(){for(var a=arguments.length,s=Array(a),r=0;r<a;r++)s[r]=arguments[r];clearTimeout(t),t=setTimeout(()=>e(...s),l)}})(l,300);return window.addEventListener("resize",a),()=>{clearTimeout(t),window.removeEventListener("resize",a)}},[m]),(0,a.jsxs)("section",{id:"hero",className:(0,f.cn)("transition-opacity duration-300 ease-in-out",d?"opacity-100":"opacity-0"),children:[(0,b.Tl)(null==t?void 0:t.title)?(0,a.jsxs)("div",{className:"container px-4 lg:px-0 lg:pl-100 mb-10",children:[(0,a.jsx)("h1",{className:"radial-gradiant-title max-w-122 access-heading",children:(0,b.Tl)(null==t?void 0:t.title)}),(0,b.Tl)(null==t?void 0:t.desc)?(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575] access-subheading",children:(0,b.Tl)(null==t?void 0:t.desc)}):null]}):null,(0,a.jsx)(P.A,{...x,children:l.map((e,l)=>{var t,s;return(0,a.jsx)("div",{className:"px-1.5 min-[550px]:px-2.5",children:(0,a.jsx)(p(),{href:null!=(t=e.redirect_link.en)?t:"#",target:(0,b.jr)(null!=(s=e.redirect_link.en)?s:"")?"_blank":"_self",children:(0,a.jsx)(u(),{src:(0,W.VG)(m&&m>=550?(0,b.Tl)(e.image):(0,b.Tl)(e.mobile_view_img)),alt:"hero image",width:m&&m>=550?1280:384,height:m&&m>=550?550:420,className:"h-auto w-full max-w-7xl rounded-xl min-[550px]:rounded-2xl",sizes:"(max-width: 1280px) 100%, 1280px",priority:!0,quality:100})})},l)})})]})},[le.easy_recharge]:function(e){var l;let{data:t,attribute:s}=e,[r,i]=(0,n.useState)(0);return(0,a.jsxs)("section",{className:"container px-4 min-[1312px]:px-0 relative",children:[(0,a.jsxs)("div",{className:"text-center md:max-w-122 mx-auto",children:[(0,b.Tl)(null==s?void 0:s.title)?(0,a.jsx)("h1",{className:"radial-gradiant-title mb-2 access-heading",children:(0,b.Tl)(null==s?void 0:s.title)}):null,(0,b.Tl)(null==s?void 0:s.desc)?(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575] access-subheading",children:(0,b.Tl)(null==s?void 0:s.desc)}):null]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-10 gap-8 lg:gap-4 mt-8 ",children:[(0,a.jsx)("div",{className:"lg:col-span-6 ",children:(0,a.jsx)("div",{className:"slider-container easy-recharge-slider-container",children:(null==t?void 0:t.length)?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(P.A,{...{dots:!0,infinite:!0,autoplay:!0,fade:!0,speed:500,autoplaySpeed:3e3,slidesToShow:1,slidesToScroll:1},className:"",children:t.map((e,l)=>(0,a.jsx)("div",{className:"",children:(0,a.jsx)(p(),{href:"/recharge?price=".concat((0,b.Tl)(null==e?void 0:e.amount)),children:(0,a.jsx)("div",{className:"mx-auto overflow-hidden rounded-2xl",children:(0,a.jsx)(u(),{src:(0,b.Qp)((0,b.Tl)(null==e?void 0:e.image)),alt:"hero image",width:776,height:333,className:"h-auto w-full",sizes:"(max-width: 768px) 100%, 768px",priority:!0,qual
1ity:100})})})},l))})}):null})}),(0,a.jsx)("div",{className:"lg:col-span-4",children:Object.keys(null!=(l=null==s?void 0:s.tabs)?l:{}).length>0?(0,a.jsxs)("div",{className:"flex flex-col items-start py-4 px-2 gap-3 border border-[#E0E0E0] rounded-xl h-auto md:h-76",children:[(0,a.jsx)("div",{className:"flex gap-1.5 min-[370px]:gap-3 py-2 px-2 min-[370px]:px-3 lg:px-4 w-full",children:Object.entries(s.tabs).map((e,l)=>{var t;return(0,a.jsx)("div",{className:(0,f.cn)(" access-item flex justify-center items-center px-3 lg:px-3.5 py-2 text-sm min-[370px]:text-base leading-6 text-center rounded-xl cursor-pointer",r===l?"bg-[#FDEDE4] font-semibold":"font-normal"),onClick:()=>{i(l)},children:(0,b.Tl)(null==(t=e[1])?void 0:t.title)})})}),(0,a.jsx)("div",{className:"px-3 lg:px-4 pt-4 md:pt-2 bg-white rounded-xl w-full",children:0===r?(0,a.jsx)(q,{}):1===r?(0,a.jsx)(I,{}):2===r?(0,a.jsx)(M,{}):null})]}):null})]})]})},[le.exclusive_deals]:function(e){var l,t,s,i,o;let{data:d,attribute:c}=e,m=(0,r.useRouter)(),u="default"===m.locale?"en":m.locale,[x,h]=(0,n.useState)(void 0),[g,v]=(0,n.useState)([]),[j,w]=(0,n.useState)([]),[N,y]=(0,n.useState)(0),k=(0,H.d4)(Z.mB),C={infinite:!1,slidesToShow:(0,W.lb)().matches?2.4:6,swipeToSlide:!0,arrows:!(0,W.lb)().matches,responsive:[{breakpoint:1024,settings:{slidesToShow:4,slidesToScroll:3}},{breakpoint:600,settings:{slidesToShow:3,slidesToScroll:2}},{breakpoint:400,settings:{slidesToShow:2,slidesToScroll:2}}],nextArrow:(0,a.jsx)(Q,{}),prevArrow:(0,a.jsx)($,{show:0!==N}),beforeChange:(e,l)=>y(l)},T=async()=>{let e=await (0,D.WM)();if(e){var l,t;let a;v(a=(a=k&&(null==k||null==(t=k.en)||null==(l=t.connectionType)?void 0:l.toLowerCase())==="postpaid"?(0,D.V7)([...e],k):(0,D.QR)([...e],k)).filter(e=>{var l,t,a,s;return(null==e||null==(l=e.en)?void 0:l.alias)!=="/amar-offers"&&(null==e||null==(t=e.en)?void 0:t.alias)!=="my_plan"&&(null==e||null==(a=e.en)?void 0:a.alias)!=="others"&&(null==e||null==(s=e.en)?void 0:s.alias)!==""})),a.length>0&&a[0][u]&&h(a[0][u])}},A=async e=>{let l=await (0,D.Eb)({id:null==x?void 0:x.url,type:e,endpoint:e===B.tq?O.foi:O._BD});if(l){var t;w((null==l||null==(t=l.data)?void 0:t.data).find(e=>"all"===e.type).packs.slice(0,10))}};return(0,n.useEffect)(()=>{T()},[]),(0,n.useEffect)(()=>{if(null==x?void 0:x.name){var e,l;A(k&&(null==k||null==(l=k.en)||null==(e=l.connectionType)?void 0:e.toLowerCase())==="postpaid"?B.tq:B.Se)}},[null==x?void 0:x.name,null==k||null==(l=k.en)?void 0:l.connectionType]),(0,a.jsx)("section",{id:"exclusive-deals",className:"container px-4 min-[1312px]:px-0",children:(0,a.jsxs)("div",{className:"flex flex-col px-2 md:p-0",children:[(0,a.jsxs)("div",{className:" ",children:[(0,a.jsxs)("div",{className:"flex items-center gap-30 justify-between",children:[(0,a.jsxs)("div",{className:"mb-10 text-left",children:[(0,a.jsx)("h1",{className:"radial-gradiant-title access-heading",children:(0,b.Tl)(c.title)}),(0,a.jsx)("p",{className:"text-base font-normal text-[#757575] access-subheading",children:(0,b.Tl)(c.desc)})]}),(0,a.jsx)("div",{className:"hidden md:block",children:(0,a.jsx)(p(),{href:k&&(null==k||null==(s=k.en)||null==(t=s.connectionType)?void 0:t.toLowerCase())==="postpaid"?"/postpaid/".concat(null==x?void 0:x.url):"/prepaid/".concat(null==x?void 0:x.url),children:(0,a.jsx)(_.A,{label:(0,b.Tl)(c.button_name)})})})]}),(null==g?void 0:g.length)?(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"slider-container exclusive-deals-category-slider mb-4 h-[67px] pr-[3rem]",children:(0,a.jsx)(P.A,{...C,children:g.map((e,l)=>{var t,s,r;return(0,a.jsx)("div",{className:(0,f.cn)("cursor-pointer rounded-lg px-2 py-4 text-center lg:px-4",(null==x?void 0:x.name)===(null==(t=e[null!=u?u:"en"])?void 0:t.name)?"border-[#FBD1BD] bg-[#FDEDE4]":"border-[#EEEEEE]"),onClick:()=>{h(e[null!=u?u:"en"])},children:(0,a.jsx)("div",{className:(0,f.cn)("access-item mx-auto w-fit text-sm whitespace-nowrap text-[#212121] md:text-base lg:w-full",(null==x?void 0:x.name)===(null==(s=e[null!=u?u:"en"])?void 0:s.name)?"font-bold":"font-normal"),children:null==(r=e[null!=u?u:"en"])?void 0:r.name})},l)})})})}):null]}),(0,a.jsx)("div",{className:"w-full",children:(null==j?void 0:j.length)?(0,a.jsx)(a.Fragment,{children:(0,W.lb)().matches?(0,a.jsx)(a.Fragment,{children:j.slice(0,4).map((e,l)=>(0,a.jsx)(R,{className:"p-2",offer:e,type:x},l))}):(0,a.jsx)("div",{className:"product-slider-container",children:(0,a.jsx)(P.A,{dots:!0,infinite:!1,speed:500,slidesToShow:(0,W.lb)().matches?2:4,slidesToScroll:(0,W.lb)().matches?2:4,centerMode:!1,rows:1,slidesPerRow:1,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:768,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:600,settings:{slidesToShow:1,slidesToScroll:1}}],children:j.map((e,l)=>(0,a.jsx)(R,{className:"p-2",offer:e,type:x},l))})})}):null}),(0,a.jsx)("div",{className:"mx-auto mt-10 block md:hidden",children:(0,a.jsx)(p(),{href:k&&(null==k||null==(o=k.en)||null==(i=o.connectionType)?void 0:i.toLowerCase())==="postpaid"?"/postpaid/".concat(null==x?void 0:x.url):"/prepaid/".concat(null==x?void 0:x.url),children:(0,a.jsx)(_.A,{label:(0,b.Tl)(c.button_name)})})})]})})},[le.digital_apps]:e=>{let{data:l,attribute:t}
1=e,[s,r]=(0,n.useState)(null),i=(0,n.useRef)(null),o=(0,n.useRef)(null),d=(0,n.useRef)(null),c=e=>{r(l=>l===e?null:e)};return(0,y.L)(d,(0,n.useCallback)(()=>{r(null)},[])),(0,a.jsxs)("section",{children:[(0,a.jsx)("div",{id:"diveIntoDigitalContainer",className:"container px-4 xl:px-0 pt-10 pb-8 md:pt-20 md:pb-16",children:(0,a.jsxs)("div",{className:"md:max-w-100",children:[(0,a.jsx)("h1",{className:"radial-gradiant-title w-fit access-heading",children:(0,b.Tl)(t.title_one)}),(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575] access-subheading",children:(0,b.Tl)(t.sub_title)})]})}),(0,a.jsx)("div",{ref:d,className:"flex",children:(0,a.jsx)(j.A,{containerSelector:"#diveIntoDigitalContainer",invisibleLeftCardRef:i,invisibleRightCardRef:o,children:(0,a.jsxs)("div",{className:"flex w-max",children:[(0,a.jsx)("div",{className:"h-full w-20 -ml-2 md:-ml-4",id:"invisible-card",ref:i}),l.map((e,t)=>{let r=s===t.toString(),n=0===t,i=t===l.length;return(0,a.jsx)(S,{item:e,isOpen:r,idx:t,className:n||i?"":"ml-2 md:ml-4",handleCardClick:c},t)}
1),(0,a.jsx)("div",{className:"h-20 w-20 -ml-2 md:-ml-4",id:"invisible-card",ref:o})]})})})]})},[le.digital_horizon]:e=>{let{data:l,attribute:t}=e,[s,r]=(0,n.useState)(null),[i,o]=(0,n.useState)(!1),d=(0,n.useRef)(null),c=(e=>{let{currentOpen:l}=e,[t,a]=(0,n.useState)({isVisible:!0,isTransitioning:!1});return(0,n.useEffect)(()=>{if(!l)return;a({isVisible:!1,isTransitioning:!0});let e=setTimeout(()=>{a({isVisible:!0,isTransitioning:!1})},500);return()=>clearTimeout(e)},[l]),t})({currentOpen:s}),m=e=>{r(e)};return(0,y.L)(d,(0,n.useCallback)(()=>{o(!1)},[])),(0,n.useEffect)(()=>{if(l.length>0){var e,t;r((null!=(t=null==(e=l[0].title.en)?void 0:e.trim())?t:"")+"0")}},[]),(0,a.jsx)("section",{id:"digital-horizon",className:"relative container mt-20 px-4 min-[1312px]:px-0",children:(0,a.jsxs)("div",{className:"flex flex-col gap-6 lg:gap-10",children:[(0,a.jsxs)("div",{className:"md:max-w-105",children:[(0,a.jsx)("h2",{className:"radial-gradiant-title pb-0! text-5xl leading-tight font-bold w-fit access-heading",children:(0,b.Tl)(t.title_one)}),(0,a.jsx)("p",{className:"text-[#757575] access-subheading",children:(0,b.Tl)(t.sub_title)})]}),(0,a.jsxs)("div",{className:"flex flex-col justify-between gap-[2.5%] lg:flex-row",children:[(0,a.jsx)("div",{ref:d,className:"cards relative hidden size-full w-full lg:block lg:w-2/3",onClick:()=>o(!0),children:l.map((e,l)=>{var t,r;let n=(null!=(r=null==(t=e.title.en)?void 0:t.trim())?r:"")+l,d=s===n;return d&&(0,a.jsx)(E,{item:e,isOpen:d,setIsTapped:o,isTapped:i,animationState:c,className:"hidden lg:block"},n)})}),(0,a.jsx)("div",{ref:d,className:"titles w-full lg:max-w-[400px]",children:l.map((e,l)=>{var t,r;let n=(null!=(r=null==(t=e.title.en)?void 0:t.trim())?r:"")+l,d=s===n;return(0,a.jsxs)("div",{children:[d&&(0,a.jsx)(E,{item:e,isOpen:d,setIsTapped:o,isTapped:i,animationState:c,className:"block lg:hidden"}),(0,a.jsx)(C,{item:e,id:n,isOpen:d,onToggle:m,titleClassName:(0,f.cn)(0===l?"lg:pt-0":"")},l)]},n)})})]})]})})},[le.start_with_banglalink]:function(e){let{data:l,attribute:t}=e,[s,r]=(0,n.useState)(0);return(0,a.jsxs)("section",{className:"container px-4 min-[1312px]:px-0 py-10",children:[(0,a.jsxs)("div",{className:"flex gap-10",children:[(0,a.jsx)("div",{className:"lg:w-90 hidden lg:block"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"radial-gradiant-title leading-tight access-heading",children:(0,b.Tl)(t.title)}),(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575] access-subheading",children:(0,b.Tl)(t.sub_title)})]})]}),(null==l?void 0:l.length)?(0,a.jsxs)("div",{className:"flex gap-10 mt-6 lg:mt-10 min-h-123.75",children:[(0,a.jsx)("div",{className:"w-full lg:w-90",children:(0,a.jsx)("div",{className:"w-full flex flex-col items-start justify-center p-0 shrink",children:l.map((e,t)=>(0,a.jsxs)("div",{className:"flex w-full cursor-pointer flex-col items-start gap-3 border-b border-[#EEEEEE] p-0 ".concat(0===t?"pb-5 md:pb-8":"py-5 md:py-8"),onClick:()=>r(t),children:[s===t?(0,a.jsx)("div",{className:"relative w-full lg:hidden mb-3",children:(0,a.jsx)(u(),{src:(0,b.Qp)((0,b.Tl)(l[s].image)),alt:"Image",width:880,height:495,className:"w-full",quality:100})}):null,(0,a.jsx)("h2",{className:"text-[#212121] mb-0 md:text-xl ".concat(s===t?"font-bold":""),children:(0,b.Tl)(e.title_two)}),(0,a.jsxs)("div",{className:"".concat(s!==t?"hidden":""),children:[(0,a.jsx)("p",{className:"text-sm font-normal text-[#757575] pb-1.5",children:(0,b.Tl)(e.title_three)}),(0,a.jsx)(p(),{href:(0,b.Tl)(e.button_link),children:(0,a.jsxs)("div",{className:"flex items-center cursor-pointer text-[#F16522] hover:text-[#f05b16] gap-1",children:[(0,a.jsx)("span",{className:"text-sm uppercase font-semibold",children:(0,b.Tl)(e.button_name)}),(0,a.jsx)(h.U7T,{size:18,className:"font-semibold"})]})})]})]},t))})}),(0,a.jsx)("div",{className:"relative hidden lg:flex flex-1 group w-full",children:(0,a.jsxs)("div",{className:"w-full rounded-2xl",children:[(0,a.jsx)(u(),{src:(0,b.Qp)((0,b.Tl)(l[s].image)),alt:"Image",width:880,height:495,className:"w-full h-full object-cover rounded-2xl",quality:100}),(0,a.jsxs)("div",{className:"absolute w-full h-full left-0 bottom-0",children:[(0,a.jsx)("div",{className:(0,f.cn)(v().ImageHover,"hidden w-full h-full group-hover:block")}),(0,a.jsx)("div",{className:(0,f.cn)(v().TextHover,"hidden group-hover:block"),children:(0,b.Tl)(l[s].title_one)})]})]})})]}):null]})},[le.quick_launch]:function(e){let{data:l}=e,t=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useLayoutEffect)(()=>{let e=()=>{var e;null==(e=s.current)||e.pause()},l=()=>{var e;null==(e=s.current)||e.resume()};if(t.current){let a=t.current.querySelectorAll(".marquee-item");
1a.forEach(e=>{var l;let a=e.cloneNode(!0);null==(l=t.current)||l.appendChild(a)}),s.current=X.Ay.timeline({repeat:-1});let r=Array.from(a).reduce((e,l)=>e+l.getBoundingClientRect().width+parseFloat(window.getComputedStyle(l).marginRight),0);s.current.to(t.current,{x:-r,duration:20,ease:"none",repeat:-1,onRepeat:()=>{X.Ay.set(t.current,{x:0})}}),t.current.addEventListener("mouseenter",e),t.current.addEventListener("mouseleave",l)}return()=>{s.current&&s.current.kill(),t.current&&(t.current.removeEventListener("mouseenter",e),t.current.removeEventListener("mouseleave",l))}},[l]),(0,a.jsxs)("section",{className:"container overflow-hidden",children:[(0,a.jsx)("div",{className:"marquee-container relative overflow-hidden hidden md:block",children:(0,a.jsx)("div",{id:"marquee-wrapper",ref:t,className:"flex gap-10 will-change-transform",children:l.map((e,l)=>(0,a.jsx)("div",{className:"marquee-item flex-shrink-0",children:(0,a.jsx)(en,{item:e})},l))})}),(0,a.jsx)("div",{className:"grid grid-cols-3 gap-0 md:hidden block",children:l.map((e,l)=>(0,a.jsx)(en,{item:e},l))})]})},[le.leaders_innovation]:function(e){let{attribute:l,data:t}=e,s=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,a.jsxs)("section",{className:"py-10 pb-0",children:[(0,a.jsx)("div",{id:"futureLeadersHeaderContainer",className:"container px-4 xl:px-0",children:(0,a.jsx)("div",{className:"w-10/12 md:w-6/12 text-left",children:(0,a.jsxs)("h2",{className:"text-3xl md:text-5xl font-bold",children:[(0,a.jsx)("span",{className:"radial-gradiant-title",children:(0,b.Tl)(l.title)})," "]})})}),(null==t?void 0:t.length)?(0,a.jsx)("div",{className:(0,f.cn)("mt-10 md:mt-16"),children:(0,a.jsx)(j.A,{containerSelector:"#futureLeadersHeaderContainer",invisibleLeftCardRef:s,invisibleRightCardRef:r,children:(0,a.jsxs)("div",{className:"flex w-max",children:[(0,a.jsx)("div",{className:"h-full w-20 -ml-2 md:-ml-4",id:"invisible-card",ref:s}),t.map((e,l)=>{let s=l===t.length;return(0,a.jsx)(Y,{data:e,className:0===l||s?"":"ml-2 md:ml-4"})}),(0,a.jsx)("div",{className:"h-20 w-20 -ml-6",id:"invisible-card",ref:r})]})})}):null]})},[le.best_deals]:function(e){let{data:l,attribute:t}=e,s=(0,n.useRef)(null),r=(0,n.useRef)(null);return(0,a.jsxs)("section",{children:[(0,a.jsxs)("div",{id:"bestDealsHeaderContainer",className:"container px-4 lg:px-0 text-center",children:[(0,a.jsx)("h1",{className:"radial-gradiant-title",children:(0,b.Tl)(t.title)}),(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575]",children:(0,b.Tl)(t.desc)})]}),(null==l?void 0:l.length)?(0,a.jsx)("div",{className:"mt-6 md:mt-10",children:(0,a.jsx)(j.A,{containerSelector:"#bestDealsHeaderContainer",invisibleLeftCardRef:s,invisibleRightCardRef:r,children:(0,a.jsxs)("div",{className:"flex w-max gap-2 md:gap-4",children:[(0,a.jsx)("div",{className:"h-full w-20 -ml-2 md:-ml-4",id:"invisible-card",ref:s}),l.map((e,l)=>(0,a.jsx)("div",{className:(0,f.cn)("!h-auto max-w-[352px]"),children:(0,a.jsx)(w,{item:e})})),(0,a.jsx)("div",{className:"h-20 w-20 -ml-2 md:-ml-4",id:"invisible-card",ref:r})]})})}):null]})},[le.store_finder]:eu.default,[le.sim_service]:function(e){var l,t,s,i,o;let{attribute:d,data:c}=e,m=(0,eh.A)("d2d"),x=null!=(o=(0,r.useRouter)().locale)?o:"en",h=(0,H.wA)();return(0,n.useEffect)(()=>{h((0,ej.zp)()),h((0,e_.zp)())},[]),(0,a.jsxs)("section",{className:"container px-4 lg:px-0",children:[(0,a.jsxs)("div",{className:"flex gap-8 items-center md:flex-row flex-col w-full",children:[(0,a.jsxs)("div",{className:"order-last md:order-0 w-full md:w-lg space-y-3 md:space-y-4",children:[(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",children:(0,a.jsx)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.6667 26.6667C24.4281 26.6667 26.6667 24.4281 26.6667 21.6667V20C26.6667 19.0795 27.4129 18.3333 28.3333 18.3333C29.2538 18.3333 30 19.0795 30 20V21.6667C30 26.269 26.269 30 21.6667 30H20C19.0795 30 18.3333 29.2538 18.3333 28.3333C18.3333 27.4129 19.0795 26.6667 20 26.6667H21.6667ZM11.6667 28.3333C11.6667 29.2538 10.9205 30 10 30H8.33333C3.731 30 0 26.269 0 21.6667V20C0 19.0795 0.746167 18.3333 1.66667 18.3333C2.58717 18.3333 3.33333 19.0795 3.33333 20V21.6667C3.33333 24.4281 5.57183 26.6667 8.33333 26.6667H10C10.9205 26.6667 11.6667 27.4129 11.6667 28.3333ZM14.9967 23.3333C14.0762 23.3315 13.3315 22.5838 13.3333 21.6633L13.35 13.3298C13.3518 12.4093 14.0995 11.6647 15.02 11.6665C15.9405 11.6683 16.6852 12.416 16.6833 13.3365L16.6667 21.67C16.6648 22.5905 15.9172 23.3352 14.9967 23.3333ZM28.3333 11.6667C27.4129 11.6667 26.6667 10.9205 26.6667 10V8.33333C26.6667 5.57183 24.4281 3.33333 21.6667 3.33333H20C19.0795 3.33333 18.3333 2.58717 18.3333 1.66667C18.3333 0.746167 19.0795 0 20 0H21.6667C26.269 0 30 3.731 30 8.33333V10C30 10.9205 29.2538 11.6667 28.3333 11.6667ZM1.66667 11.6667C0.746167 11.6667 0 10.9205 0 10V8.33333C0 3.731 3.731 0 8.33333 0H10C10.9205 0 11.6667 0.746167 11.6667 1.66667C11.6667 2.58717 10.9205 3.33333 10 3.33333H8.33333C5.57183 3.33333 3.33333 5.57183 3.33333 8.33333V10C3.33333 10.9205 2.58717 11.6667 1.66667 11.6667ZM16.6833 8.33333C16.6833 9.25383 15.9372 10 15.0167 10H15C14.0795 10 13.3333 9.25383 13.3333 8.33333C13.3333 7.41283 14.0795 6.66667 15 6.66667H15.0167C15.9372 6.66667 16.6833 7.41283 16.6833 8.33333Z",fill:"#212121"})}),(0,a.jsxs)("div",{className:"text-[#383838]",children:[(0,a.jsx)("h2",{className:"font-bold text-base md:text-2xl",children:(0,b.Tl)(d.title)}),(0,a.jsx)("p",{className:"font-normal text-xs md:text-base",children:(0,b.Tl)(d.desc)})]}
1),(0,a.jsxs)("div",{className:"space-y-4 mt-10 w-full text-xs md:text-base text-[#616161]",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center gap-2 p-0 border-b border-[#E7E7E7] pb-4",children:[(0,a.jsx)("span",{className:"size-6 flex items-center md:size-8",children:(0,a.jsx)(ew,{})}),(0,a.jsx)("span",{className:"mt-1",children:null==(l=m.simServices)?void 0:l.kyc})]}),(0,a.jsxs)("div",{className:"flex flex-row items-center gap-2 p-0 border-b border-[#E7E7E7] pb-4",children:[(0,a.jsx)("span",{className:"size-6 flex items-center md:size-8",children:(0,a.jsx)(eN,{})}),(0,a.jsx)("span",{className:"mt-1",children:null==(t=m.simServices)?void 0:t.convinientDelivery})]}),(0,a.jsxs)("div",{className:"flex flex-row items-center gap-2 p-0",children:[(0,a.jsx)("span",{className:"size-6 flex items-center md:size-8",children:(0,a.jsx)(ey,{})}),(0,a.jsxs)("p",{className:"mt-1",children:[(0,a.jsx)("span",{className:(0,f.cn)("bn"===x&&"font-bold text-[#212121]"),children:null==(s=m.simServices)?void 0:s.sameDayDelivery1})," ",(0,a.jsx)("span",{className:(0,f.cn)("en"===x&&"font-bold text-[#212121]"),children:null==(i=m.simServices)?void 0:i.sameDayDelivery2})]})]})]})]}),(0,a.jsxs)("div",{className:"order-first md:order-0 w-full md:w-187.5",children:[c.length?(0,a.jsx)("div",{className:"grid grid-cols-2 gap-4",children:c.map((e,l)=>(0,a.jsx)(p(),{href:(0,b.Tl)(e.redirect_link)||"/",onClick:()=>ev.A.onSimServiceSelected(function(e){let l=(e||"").toLowerCase();return l.includes("mnp")?"mnp":l.includes("replace")?"replace":l.includes("transfer")?"transfer":"new_sim"}((0,b.Tl)(e.redirect_link))),children:(0,a.jsx)("div",{className:"group h-full hover:shadow-lg rounded-xl p-px bg-transparent hover:bg-[linear-gradient(72.16deg,rgba(247,149,51,0.6)_0%,rgba(243,112,85,0.6)_33%,rgba(239,78,123,0.6)_66%,rgba(161,102,171,0.6)_100%)] transition-all duration-300",children:(0,a.jsxs)("div",{className:"h-full cursor-pointer w-full flex flex-row items-end justify-between p-3 md:p-8 gap-6 bg-white border border-[#E0E0E0] rounded-xl",children:[(0,a.jsxs)("div",{className:"flex flex-col items-start p-0 gap-6",children:[(0,a.jsx)("div",{className:"opacity-0 group-hover:opacity-100 transition-opacity duration-300 hidden md:block",children:(0,a.jsx)(u(),{src:1===l?"/Images/d2d/check-green.png":2===l?"/Images/d2d/check-red.png":"/Images/d2d/check.png",alt:"check",width:40,height:40})}),(0,a.jsx)("h2",{className:"font-semibold text-sm md:text-[32px] flex items-end text-[#000000B2]",children:(0,b.Tl)(e.title)})]}),(0,a.jsx)(u(),{src:(0,b.Qp)(e.image.en),alt:"sim image",width:72,height:112,className:"w-8 h-12 md:w-18 md:h-28",quality:100})]})})},l))}):null,(0,a.jsx)("div",{className:"mt-10 md:hidden",children:(0,a.jsx)(eT,{})})]})]}),(0,a.jsx)("div",{className:"hidden md:block",children:(0,a.jsx)(eT,{})})]})},[le.my_orders]:function(){var e;let[l,t]=(0,n.useState)([]),[s,r]=(0,n.useState)("All"),[i,o]=(0,n.useState)([]),[d,c]=(0,n.useState)(""),m=(0,W.c4)(),[u,x]=ex.Ay.useMessage(),p=(0,eh.A)("d2d");(0,n.useEffect)(()=>{(async()=>{var e,l,s,r,n,i,d;try{let a=await (0,eb.n7)(m);o(["All",...null!=(n=null==a||null==(s=a.data)||null==(l=s.orders)||null==(e=l.at(0))?void 0:e.status_list)?n:[]]),t((null==a||null==(r=a.data)?void 0:r.orders)||[])}catch(e){u.open({type:"error",content:(0,a.jsxs)("div",{className:"flex flex-col items-start",children:[(0,a.jsx)("span",{children:"Failed to fetch Order List"}),(null==e||null==(i=e.error)?void 0:i.message)&&(0,a.jsx)("div",{className:"text-sm text-gray-500",children:null==e||null==(d=e.error)?void 0:d.message})]})})}})()},[]);let h=(0,n.useMemo)(()=>{let e=eg(d),t="all"===eg(s)?l:l.filter(e=>eg(e.order_status)===eg(s));return e?t.filter(l=>eg(String(l.order_number||"")).includes(e)):t},[s,l,d]);return(0,a.jsxs)(a.Fragment,{children:[x,(0,a.jsxs)("section",{className:"container px-4 md:px-0 space-y-8",children:[(0,a.jsx)(ep.A,{size:"large",placeholder:null==(e=p.orderTracking)?void 0:e.searchOrderId,suffix:(0,a.jsx)("img",{src:"/assets/search.svg",alt:"",width:20,height:20}),className:"w-full h-12",onChange:e=>{c(e.target.value)}}),(0,a.jsxs)("div",{className:"flex items-center gap-6",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-sm text-[#757575]",children:["Filter",(0,a.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",children:(0,a.jsx)("path",{d:"M4 6h16M7 12h10M10 18h4",stroke:"#757575",strokeWidth:"2",strokeLinecap:"round"})})]}),(0,a.jsx)("div",{className:"h-5 w-px bg-[#E0E0E0]"}),(0,a.jsx)("div",{className:"flex items-center gap-6 w-full overflow-x-auto",children:i.map(e=>{let l=s===e;return(0,a.jsx)("button",{type:"button",onClick:()=>r(e),className:"pb-1 text-nowrap text-sm font-medium cursor-pointer border-b-2 transition-colors ".concat(l?"text-[#212121] font-bold border-[#F67A3E]":"text-[#757575] border-transparent"),children:e},e)})})]}),(0,a.jsx)("div",{className:"space-y-6",children:h.map(e=>(0,a.jsx)(ef.A,{orderInfo:e,fromMyOrderList:!0},e.order_number))})]})]})},[le.cultural_principle]:eQ,[le.transform]:eW,[le.stay_connected]:e=>{var l,t,s,r;let{attribute:n,config:i}=e,o=null==n||null==(l=n.upload_video_url)?void 0:l.en,d=(null==i?void 0:i.use_uploaded_video)==="yes"&&o?o.startsWith("http")?o:(0,W.VG)(o):(0,W.$f)((0,b.Tl)(null==n?void 0:n.media_url));return(0,a.jsx)("section",{className:"container mx-auto mt-14 px-4 min-[1312px]:px-0",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row justify-between gap-10 md:gap-16",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 mb-6 justify-center md:justify-start",children:[(0,a.jsx)(u(),{src:(0,W.VG)(null==n||null==(t=n.image_one)?void 0:t.en),alt:"bl logo",width:149,height:48,quality:100,className:"h-8 w-25 md:w-37.25 md:h-12"}),(0,a.jsx)("div",{className:"w-px h-8 md:h-10 bg-black"}),(0,a.jsx)(u(),{src:(0,W.VG)(null==n||null==(s=n.image_two)?void 0:s.en),alt:"bl logo",width:198,height:48,quality:100,className:"h-6 w-25 md:w-49.5 md:h-12"})]}),(0,a.jsxs)("div",{className:"flex flex-col font-semibold md:text-[56px] text-[32px] text-center md:text-left",children:[(0,a.jsx)("span",{className:"md:leading-16 leading-10",children:(0,b.Tl)(null==n?void 0:n.title_one)}),(0,a.jsx)("span",{className:"md:leading-16 leading-10 text-[#F26E21]",children:(0,b.Tl)(null==n?void 0:n.title_two)}),(0,a.jsx)("span",{className:"md:leading-16 leading-10",children:(0,b.Tl)(null==n?void 0:n.title_three)})]})]}),(0,a.jsxs)("div",{className:"max-w-120 flex flex-col gap-4 md:gap-10",children:[(0,a.jsx)(et,{videoSrc:d,thumbnailSrc:(0,W.VG)((null==n||null==(r=n.thumbnail_url)?void 0:r.en)||"images/page-component/MGBs7avAK1thoyV8PUsWfk5CKu6UVtJPrgCrv5Pl.jpg"),thumbnailClassName:"w-full h-23 lg:w-fit lg:h-[139px]"}),(0,a.jsx)("p",{className:"text-[#757575] text-center md:text-left text-sm md:text-base",children:(0,b.Tl)(null==n?void 0:n.sub_description)})]})]})})},[le.seamless_connectivity]:e=>{var l;let{attribute:t,data:s}=e;return(0,a.jsxs)("section",{className:"container mx-auto px-4 min-[1312px]:px-0",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"radial-gradiant-title w-fit md:max-w-130",children:(0,b.Tl)(null==t?void 0:t.t
1itle)}),(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575]",children:(0,b.Tl)(null==t?void 0:t.desc)})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-[720fr_536fr] gap-6 mt-10",children:[(0,a.jsx)(u(),{src:(0,W.VG)(null==t||null==(l=t.card_image)?void 0:l.en),alt:"card image",width:720,height:405,className:"w-full h-auto max-w-180"}),(0,a.jsxs)("div",{className:"border border-[#E7E7E7] rounded-3xl p-6",children:[(0,a.jsx)("h2",{className:"text-xl font-bold mb-2",children:(0,b.Tl)(null==t?void 0:t.card_title)}),(0,a.jsx)("p",{className:"text-[#4F4F4F]",children:(0,b.Tl)(null==t?void 0:t.card_sub_title)}),(0,a.jsx)("div",{className:"flex flex-wrap gap-6 mt-6",children:null==s?void 0:s.map((e,l)=>{var t;return(0,a.jsx)(u(),{src:(0,W.VG)(null==e||null==(t=e.image)?void 0:t.en),alt:"card image",width:104,height:104,className:"w-[calc((100%-4.5rem)/4)] h-auto"},l)})})]})]})]})},[le.connect_and_work]:e=>{var l,t;let{attribute:s}=e;return(0,a.jsx)("section",{className:"container mx-auto px-4 min-[1312px]:px-0",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"radial-gradiant-title w-fit md:max-w-130",children:(0,b.Tl)(null==s?void 0:s.title_one)}),(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575]",children:(0,b.Tl)(null==s?void 0:s.sub_title_one)}),(0,a.jsx)(u(),{src:(0,W.VG)(null==s||null==(l=s.image_one)?void 0:l.en),alt:"card image",width:628,height:353,className:"mt-10"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"section-title text-right text-[#1a181a]",children:(0,b.Tl)(null==s?void 0:s.title_two)}),(0,a.jsx)("p",{className:"text-right text-base font-normal leading-6 text-[#757575]",children:(0,b.Tl)(null==s?void 0:s.sub_title_two)}),(0,a.jsx)(u(),{src:(0,W.VG)(null==s||null==(t=s.image_two)?void 0:t.en),alt:"card image",width:628,height:353,className:"mt-10"})]})]})})},[le.satellite_packs]:e=>{var l;let{attribute:t}=e,s=(0,n.useRef)(null),r=(0,n.useRef)({}),[i,o]=(0,n.useState)(0),[d,c]=(0,n.useState)([]);(0,n.useEffect)(()=>{(async()=>{let e=await eo();e.success&&c(e.data)})()},[]);let m=(0,n.useMemo)(()=>"".concat(null==d?void 0:d.map(e=>e.product_code).join("-")),[d]),u=null!=(l=r.current[m])?l:0;(0,n.useEffect)(()=>{var e,l;let t=null!=(l=r.current[m])?l:0;o(t),null==(e=s.current)||e.slickGoTo(t,!0)},[m]);let x={infinite:!1,slidesToShow:(0,W.lb)().matches?1.3:4,swipeToSlide:!0,arrows:!(0,W.lb)().matches,responsive:[{breakpoint:1024,settings:{slidesToShow:3,slidesToScroll:3}},{breakpoint:600,settings:{slidesToShow:1.5,slidesToScroll:1.5}},{breakpoint:400,settings:{slidesToShow:1.3,slidesToScroll:1.3}},{breakpoint:360,settings:{slidesToShow:1.2,slidesToScroll:1.2}}],nextArrow:(0,a.jsx)(ec,{}),prevArrow:(0,a.jsx)(em,{show:0!==i}),initialSlide:u,beforeChange:(e,l)=>{r.current[m]=l,o(l)},vertical:!1,centerMode:!1};return(0,a.jsxs)("section",{className:"new-sim-offers slider-center container min-[1312px]:px-0",children:[(0,a.jsxs)("div",{className:"text-center flex flex-col items-center mb-10",children:[(0,a.jsx)("h1",{className:"radial-gradiant-title w-fit md:max-w-130",children:(0,b.Tl)(null==t?void 0:t.title)}),(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575]",children:(0,b.Tl)(null==t?void 0:t.desc)})]}),(0,a.jsx)("div",{className:"w-full",children:(null==d?void 0:d.length)?(0,a.jsx)("div",{className:"product-slider-container relative",children:(0,a.jsx)(P.A,{ref:s,...x,children:d.map((e,l)=>(0,a.jsx)(ed,{className:(0,f.cn)("p-2",0===l&&"pl-0.75"),offer:e},e.product_code))},m)}):null})]})},[le.roaming_activation_form]:function(e){let{data:l,attribute:t,config:s}=e,r=(0,eA.A)();return(0,a.jsx)("section",{className:"container px-4 py-16 ",children:(0,a.jsxs)("div",{className:"flex flex-col gap-8 md:flex-row md:items-start md:gap-12",children:[(0,a.jsxs)("div",{className:"w-full md:w-2/5",children:[(0,a.jsxs)("h1",{className:"text-2xl font-bold md:text-5xl",children:[(0,a.jsx)("span",{className:"text-[#212121] mr-2",children:(0,b.Tl)(t.title_one)}),(0,a.jsx)("span",{className:"text-[#AAAAAA]",children:(0,b.Tl)(t.title_two)})]}),(0,a.jsx)("div",{className:"mt-8 flex justify-center md:mt-16 md:justify-start",children:(0,a.jsx)(u(),{src:(0,W.VG)((0,b.Tl)(t.image)),alt:r("imageAlt"),width:490,height:374,className:"h-auto w-full max-h-94 max-w-122",priority:!0})})]}),(0,a.jsx)("div",{className:"w-full md:w-3/5",children:(0,a.jsx)(eZ,{attribute:t})})]})})}};
1function lt(e){let{components:l,hideHeaderFooter:t}=e,i=(0,r.useRouter)();return(0,n.useEffect)(()=>{i.asPath.includes("#")&&setTimeout(()=>{let e=i.asPath.split("#")[1],l=document.getElementById(e);l&&l.scrollIntoView({behavior:"smooth"})},500)},[i.asPath]),(0,a.jsx)("div",{className:(0,s.A)("page-builder-content flex flex-col gap-[20px] overflow-auto md:gap-[100px]",o().Table),children:null==l?void 0:l.map((e,l)=>{var s;let r=ll[e.type];e.type===le.text_component&&(null==e||null==(s=e.config)?void 0:s.is_accordion)==="yes"&&(r=ll[le.accordion]);let n=r;return n?(0,a.jsx)("div",{id:e.type+"_"+(l+1),className:e.type,children:(0,a.jsx)(n,{data:e.data,attribute:e.attribute||null,config:e.config||null,...e.type===le.store_finder&&{type:e.type},...e.type===le.hero_section&&{hideHeaderFooter:t}},e.key)},l):null})})}},55472:(e,l,t)=>{"use strict";t.d(l,{Ap:()=>i,SM:()=>o,Z8:()=>n,mn:()=>r});var a=t(91013),s=t(86386);let r=async()=>{try{var e;return null==(e=(await (0,s.Zp)(a.YVN)).data)?void 0:e.data}catch(e){return null}},n=async e=>{try{var l,t;let r=e?"".concat(a.hDK,"?type=").concat(e):a.hDK,n=await (0,s.Zp)(r),i=[];return(null==(l=n.data)?void 0:l.status_code)===200&&(i=null==(t=n.data)?void 0:t.data),i}catch(e){return[]}},i=async function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{var t,r;let n=l?"".concat(a.DHl,"?").concat(l):a.DHl,i=await s.Zp.post(n,e),o=[];return(null==(t=i.data)?void 0:t.status_code)===200&&(o=null==(r=i.data)?void 0:r.data),o}catch(e){return[]}},o=async function(e){let l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{var t,r;let n=l?"".concat(a.A_L,"?").concat(l):a.A_L,i=await s.Zp.post(n,e),o=[];return(null==(t=i.data)?void 0:t.status_code)===200&&(o=null==(r=i.data)?void 0:r.data),o}catch(e){return[]}}},58188:e=>{"use strict";e.exports=JSON.parse('{"alreadyActivatedNote":"রà§à¦®à¦¿à¦ যদি à¦à¦¤à¦¿à¦®à¦§à§à¦¯à§ à¦à¦ªà¦¨à¦¾à¦° মà§à¦¬à¦¾à¦à¦² নামà§à¦¬à¦¾à¦°à§ à¦à¦à§à¦à¦¿à¦à§à¦ à¦à¦°à¦¾ থাà¦à§ তাহলৠপà§à¦°à¦¦à§à¦¯à¦¼ পরিমাণ রিà¦à¦¾à¦°à§à¦ হিসà§à¦¬à§ à¦à¦£à§à¦¯ হবà§","serviceType":"সারà§à¦à¦¿à¦¸ à¦à¦¾à¦à¦ª","prepaid":"পà§à¦°à¦¿à¦ªà§à¦à¦¡","postpaid":"পà§à¦¸à§à¦à¦ªà§à¦à¦¡","selectServiceType":"à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ সারà§à¦à¦¿à¦¸ à¦à¦¾à¦à¦ª নিরà§à¦¬à¦¾à¦à¦¨ à¦à¦°à§à¦¨","payableAmount":"পà§à¦°à¦¦à§à¦¯à¦¼ পরিমাণ","payableAmountServiceType":"পà§à¦°à¦¦à§à¦¯à¦¼ পরিমাণ (সরà§à¦¬à¦¨à¦¿à¦®à§à¦¨ {min}$)","minPayableAmount":"{type} সরà§à¦¬à¦¨à¦¿à¦®à§à¦¨ পরিমাণ ${min}","required":"à¦à¦¬à¦¶à§à¦¯à¦","subscriberName":"সাবসà§à¦à§à¦°à¦¾à¦à¦¬à¦¾à¦°à§à¦° নাম","enterSubscriberName":"সাবসà§à¦à§à¦°à¦¾à¦à¦¬à¦¾à¦°à§à¦° নাম দিন","mobileNumber":"মà§à¦¬à¦¾à¦à¦² নামà§à¦¬à¦¾à¦°","enterMobileNumber":"মà§à¦¬à¦¾à¦à¦² নামà§à¦¬à¦¾à¦° দিন","validMobile":"সঠিঠমà§à¦¬à¦¾à¦à¦² নামà§à¦¬à¦¾à¦° দিন","notValidBlNumber":"à¦à¦à¦¿ à¦à¦à¦à¦¿ বà§à¦§ বাà¦à¦²à¦¾à¦²à¦¿à¦à¦ নামà§à¦¬à¦¾à¦° নয়","email":"à¦à¦®à§à¦à¦²","enterEmail":"à¦à¦®à§à¦à¦² দিন","validEmail":"সঠিঠà¦à¦®à§à¦à¦² দিন","passportNumber":"পাসপà§à¦°à§à¦ নামà§à¦¬à¦¾à¦°","enterPassportNumber":"পাসপà§à¦°à§à¦ নামà§à¦¬à¦¾à¦° দিন","passportNumberRule":"পাসপà§à¦°à§à¦ নামà§à¦¬à¦¾à¦° à§-১০ à¦
à¦à§à¦·à¦° বা সà¦à¦à§à¦¯à¦¾à¦° হতৠহবà§","passportExpiry":"পাসপà§à¦°à§à¦à§à¦° মà§à¦¯à¦¼à¦¾à¦¦","passportExpiryFuture":"পাসপà§à¦°à§à¦à§à¦° মà§à¦¯à¦¼à¦¾à¦¦ শà§à¦·à§à¦° তারিঠà¦
বশà§à¦¯à¦ à¦à¦¬à¦¿à¦·à§à¦¯à¦¤à§à¦° হতৠহবà§","passportExpiryMinMonths":"পাসপà§à¦°à§à¦à§à¦° মà§à¦¯à¦¼à¦¾à¦¦ শà§à¦·à§à¦° তারিঠà¦à¦ থà§à¦à§ à¦à¦®à¦ªà¦à§à¦·à§ {months} মাস পরৠহতৠহবà§","agreeToTermsPrefix":"à¦à¦®à¦¿","agreeToTermsSuffix":"পড়à§à¦à¦¿ à¦à¦¬à¦ সমà§à¦®à¦¤ হয়à§à¦à¦¿","proceedToPay":"পà§à¦®à§à¦¨à§à¦ à¦à¦°à§à¦¨","paymentNotInitiated":"পà§à¦®à§à¦¨à§à¦ শà§à¦°à§ à¦à¦°à¦¾ যায়নি। à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ à¦à¦¬à¦¾à¦° à¦à§à¦·à§à¦à¦¾ à¦à¦°à§à¦¨à¥¤","submitFailed":"রà§à¦®à¦¿à¦ à¦
à§à¦¯à¦¾à¦à§à¦à¦¿à¦à§à¦¶à¦¨à§à¦° à¦
নà§à¦°à§à¦§ à¦à¦®à¦¾ দà§à¦à¦¯à¦¼à¦¾ যায়নি","somethingWentWrong":"দà§à¦à¦à¦¿à¦¤, à¦à¦à¦à¦¿ সমসà§à¦¯à¦¾ হয়à§à¦à§à¥¤ à¦à¦¬à¦¾à¦° à¦à§à¦·à§à¦à¦¾ à¦à¦°à§à¦¨à¥¤","oops":"দà§à¦à¦à¦¿à¦¤!","tryAgain":"à¦à¦¬à¦¾à¦° à¦à§à¦·à§à¦à¦¾ à¦à¦°à§à¦¨","okay":"ঠিঠà¦à¦à§","backToHome":"হà§à¦®à§ ফিরৠযান","imageAlt":"à¦à¦¨à§à¦à¦¾à¦°à¦¨à§à¦¯à¦¾à¦¶à¦¨à¦¾à¦² রà§à¦®à¦¿à¦ à¦
à§à¦¯à¦¾à¦à§à¦à¦¿à¦à§à¦¶à¦¨","alreadyActiveTitle":"à¦à¦¤à§à¦®à¦§à§à¦¯à§ à¦
à§à¦¯à¦¾à¦à§à¦à¦¿à¦","alreadyActiveMessage":"à¦à¦ªà¦¨à¦¾à¦° রà§à¦®à¦¿à¦ সারà§à¦à¦¿à¦¸ à¦à¦¤à§à¦®à¦§à§à¦¯à§ à¦
à§à¦¯à¦¾à¦à§à¦à¦¿à¦ রয়à§à¦à§à¥¤","failedMessage":"দà§à¦à¦à¦¿à¦¤, à¦à¦à¦à¦¿ সমসà§à¦¯à¦¾ হয়à§à¦à§à¥¤ à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ à¦à¦¿à¦à§à¦à§à¦·à¦£ পর à¦à¦¬à¦¾à¦° à¦à§à¦·à§à¦à¦¾ à¦à¦°à§à¦¨à¥¤","congratulations":"à¦
à¦à¦¿à¦¨à¦¨à§à¦¦à¦¨!","successMessage":"à¦à¦®à¦°à¦¾ à¦à¦ªà¦¨à¦¾à¦° à¦
নà§à¦°à§à¦§à¦à¦¿ পà§à¦¯à¦¼à§à¦à¦¿à¥¤ বরà§à¦¤à¦®à¦¾à¦¨ à¦
বসà§à¦¥à¦¾ à¦à¦¾à¦¨à¦¤à§ à¦
নà§à¦à§à¦°à¦¹ à¦à¦°à§ যà§à¦à¦¾à¦¯à§à¦ à¦à¦°à§à¦¨","chatOnWhatsapp":"হà§à¦¯à¦¼à¦¾à¦à¦¸à¦
à§à¦¯à¦¾à¦ªà§ à¦à§à¦¯à¦¾à¦ à¦à¦°à§à¦¨","sendEmail":"à¦à¦®à§à¦à¦² পাঠান"}')},60152:(e,l,t)=>{"use strict";t.d(l,{A:()=>s});var a=t(14232);function s(){let[e,l]=(0,a.useState)({width:void 0,height:void 0});return(0,a.useEffect)(()=>{function e(){l({width:window.innerWidth,height:window.innerHeight})}return window.addEventListener("resize",e),e(),()=>window.removeEventListener("resize",e)},[]),e}},65772:(e,l,t)=>{"use strict";t.r(l),t.d(l,{default:()=>C});var a=t(37876),s=t(45529),r=t(89099),n=t(14232),i=t(55752),o=t(18711),d=t(89677),c=t(55472),m=t(40760),u=t(61417),x=t(73956),p=t.n(x);let h={mobile:[0,10],desktop:[0,20]},b={en:{locateShops:"Locate Service Touch Points near you",selectService:"Select Service",selectDistrict:"Select District",selectArea:"Select Area",search:"Search",requiredDocument:"Required Document",charges:"Charges:",ccNote:"*CC (Customer Care): All services are provided here.",bspNote:"*BSP (Banglalink Service Point): Limited services are provided here.",noStoresFound:"No stores found",loading:"Loading...",selectStoreToView:"Select a store to view location"},bn:{locateShops:"à¦à¦ªà¦¨à¦¾à¦° à¦à¦¾à¦à¦¾à¦à¦¾à¦à¦¿ à¦à¦®à¦¾à¦¦à§à¦° à¦à¦¾à¦ পয়à§à¦¨à§à¦ à¦
নà§à¦¸à¦¨à§à¦§à¦¾à¦¨ à¦à¦°à§à¦¨",selectService:"সà§à¦¬à¦¾ নিরà§à¦¬à¦¾à¦à¦¨ à¦à¦°à§à¦¨",selectDistrict:"à¦à§à¦²à¦¾ নিরà§à¦¬à¦¾à¦à¦¨ à¦à¦°à§à¦¨",selectArea:"à¦à¦²à¦¾à¦à¦¾ নিরà§à¦¬à¦¾à¦à¦¨ à¦à¦°à§à¦¨",search:"à¦
নà§à¦¸à¦¨à§à¦§à¦¾à¦¨ à¦à¦°à§à¦¨",requiredDocument:"পà§à¦°à¦¯à¦¼à§à¦à¦¨à§à¦¯à¦¼ ডà¦à§à¦®à§à¦¨à§à¦",charges:"à¦à¦¾à¦°à§à¦:",ccNote:"*CC (à¦à¦¾à¦¸à§à¦à¦®à¦¾à¦° à¦à§à¦¯à¦¼à¦¾à¦°): à¦à¦à¦¾à¦¨à§ সব সà§à¦¬à¦¾ পà§à¦°à¦¦à¦¾à¦¨ à¦à¦°à¦¾ হয়।",bspNote:"*BSP (বাà¦à¦²à¦¾à¦²à¦¿à¦à¦ সারà§à¦à¦¿à¦¸ পয়à§à¦¨à§à¦): à¦à¦à¦¾à¦¨à§ সà§à¦®à¦¿à¦¤ সà§à¦¬à¦¾ পà§à¦°à¦¦à¦¾à¦¨ à¦à¦°à¦¾ হয়।",noStoresFound:"à¦à§à¦¨à§ সà§à¦à§à¦° পাà¦à¦¯à¦¼à¦¾ যায়নি",loading:"লà§à¦¡ হà¦à§à¦à§...",selectStoreToView:"à¦
বসà§à¦¥à¦¾à¦¨ দà§à¦à¦¤à§ à¦à¦à¦à¦¿ সà§à¦à§à¦° নিরà§à¦¬à¦¾à¦à¦¨ à¦à¦°à§à¦¨"}},f=()=>{let{locale:e}=(0,r.useRouter)(),l=b[null!=e?e:"en"];return(0,a.jsx)("div",{className:"container px-4 xl:px-0",children:(0,a.jsxs)("div",{className:"text-base text-[#757575]",children:[(0,a.jsx)("p",{className:"mb-2",children:l.ccNote}),(0,a.jsx)("p",{children:l.bspNote})]})})},g=(e,l,t)=>"bn"===e?t:l,v=e=>{let{store:l}=e,{locale:t}=(0,r.useRouter)(),s=b[null!=t?t:"en"];return l?(0,a.jsx)("iframe",{className:"gmap_iframe h-70 lg:h-150 overflow-hidden rounded-xl",width:"100%",title:"Store location map",src:((e,l)=>e&&l?"https://maps.google.com/maps?q=".concat(e,",").concat(l,"&t=&z=15&ie=UTF8&iwloc=&output=embed"):"")(l.latitude,l.longitude),loading:"lazy"}):(0,a.jsx)("div",{className:"flex h-150 items-center justify-center rounded-xl bg-gray-100",children:(0,a.jsx)("p",{className:"text-gray-500",children:s.selectStoreToView})})},j=e=>{let{service:l}=e,{locale:t}=(0,r.useRouter)(),s=null!=t?t:"en",n=b[s],i="bn"===s?l.req_doc_bn:l.req_doc,o="bn"===s?l.cost_bn:l.cost;return(null==i?void 0:i.length)?(0,a.jsxs)("div",{className:"my-3",children:[(0,a.jsx)("p",{className:"mb-3 mt-4 text-sm text-[#757575]",children:n.requiredDocument}),(0,a.jsx)("hr",{className:"text-[#E0E0E0]"}),(0,a.jsxs)("div",{className:"mt-4 grid grid-cols-1 text-[#525252] md:grid-cols-3",children:[(0,a.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-2 md:col-span-2 md:gap-x-10",children:i.map((e,l)=>(0,a.jsxs)("div",{className:"text-sm md:text-base",children:["⢠",e]},l))}),(0,a.jsxs)("div",{className:"mt-4 text-left md:mt-0 md:text-right",children:[n.charges," ",(0,a.jsx)("span",{className:"font-bold text-[#292929]",children:o})]})]})]}):null};var _=t(84283),w=t(81151);let N=e=>{let{isOpen:l,hasValue:t,onClear:s}=e;return(0,a.jsxs)("span",{className:"flex items-center gap-1.5 pt-2 pb-1.5 pl-1 pr-3 md:pr-6 bg-white",children:[t&&(0,a.jsx)(w.Tfw,{className:"cursor-pointer text-gray-400 hover:text-gray-600 bg-white",style:{pointerEvents:"auto"},onClick:e=>{e.stopPropagation(),s()}}),l?(0,a.jsx)(_.KSO,{}):(0,a.jsx)(_.Vr3,{})]})};var y=t(63261);let k=e=>{var l;let{store:t,isSelected:s,onClick:n}=e,{locale:i}=(0,r.useRouter)(),o=null!=i?i:"en",c=null==(l=g(o,t.additional_info,t.additional_info_bn))?void 0:l.split("|");return(0,a.jsxs)("div",{className:(0,d.cn)(s&&"bg-gray-200","cursor-pointer rounded-xl bg-[#F5F5F5] p-4 hover:bg-gray-200"),role:"button",onClick:n,children:[(0,a.jsx)("h1",{className:"text-2xl font-bold text-[#212121]",children:g(o,t.retailer_name,t.retailer_name)}),(0,a.jsx)("p",{className:"text-sm",children:g(o,t.address,t.address_bn)}),c&&(null==c?void 0:c.map(e=>(0,a.jsx)("p",{className:"mb-1 text-xs",children:(0,y.Ay)(null!=e?e:"")},e)))]})},C=function(e){let{type:l,attribute:t}
1=e,x="store_finder"===l,[_,w]=(0,n.useState)([]),[y,C]=(0,n.useState)([]),[T,A]=(0,n.useState)([]),[E,S]=(0,n.useState)([]),[P,L]=(0,n.useState)([]),[F,M]=(0,n.useState)([]),[I,q]=(0,n.useState)(null),[D,V]=(0,n.useState)(null),[z,G]=(0,n.useState)(null),[R,H]=(0,n.useState)([]),[B,O]=(0,n.useState)(null),[Z,W]=(0,n.useState)(!1),[Q,$]=(0,n.useState)(!1),[Y,K]=(0,n.useState)(!1),{locale:U}=(0,r.useRouter)(),J=null!=U?U:"en",X=b[J],ee=(0,n.useMemo)(()=>{var e,l;return null!=(l=null==(e=(0,m.lb)())?void 0:e.matches)&&l},[])?h.mobile:h.desktop,el=async(e,l)=>{V(e),G(null);let t=await (0,c.Ap)({district:e});L(t);let a=t;if(I&&(a=t.filter(e=>I.cc_code.includes(e.cc_code))),M(a),l){let e=t.find(e=>e.thana===l);e&&et(e.cc_code)}},et=e=>{G(e),_.length>0&&C(_.filter(l=>l.cc_code.includes(e)))},ea=(e,l)=>{let t=P.find(e=>e.cc_code===z);(0,c.SM)({district:null!=e?e:D,thana:null!=l?l:t.thana}).then(e=>{H(e),O(null==e?void 0:e[0])})},es=(0,n.useCallback)(()=>{q(null),C(_),M(P),S(T)},[_,T,P]),er=(0,n.useCallback)(()=>{V(null),G(null),M([]),S(T)},[T]),en=(0,n.useCallback)(()=>{G(null),C(_)},[_]);return(0,n.useEffect)(()=>{(null==_?void 0:_.length)>0&&z&&C(_.filter(e=>e.cc_code.includes(z)))},[_,z]),(0,n.useEffect)(()=>{let e=async()=>{let e=await (0,c.Z8)();A(e),S(e),x||ea("Dhaka","Gulshan")};(async()=>{let e=await (0,c.mn)();w(e),C(e)})(),e()},[]),(0,a.jsxs)("section",{className:"mt-3",children:[x&&(0,o.Tl)(null==t?void 0:t.title)?(0,a.jsxs)("div",{id:"storeFinderHeaderContainer",className:"container px-4 lg:px-0 lg:pl-100 mb-10",children:[(0,o.Tl)(null==t?void 0:t.title)?(0,a.jsx)("h1",{className:"radial-gradiant-title max-w-122 access-heading",children:(0,o.Tl)(null==t?void 0:t.title)}):null,(0,o.Tl)(null==t?void 0:t.desc)?(0,a.jsx)("p",{className:"text-base font-normal leading-6 text-[#757575] access-subheading",children:(0,o.Tl)(null==t?void 0:t.desc)}):null]}):null,(0,a.jsx)("section",{className:"mb-10 px-4 xl:px-0",children:(0,a.jsxs)("div",{className:"container flex flex-col rounded-2xl bg-[#F5F5F5] p-6 md:p-10",children:[(0,a.jsx)("p",{className:"text-lg text-[#757575] md:text-xl mb-6",children:X.locateShops}),(0,a.jsx)("div",{className:"relative inline-block text-left",children:(0,a.jsxs)("div",{className:"flex flex-col gap-4 md:flex-row md:justify-between",children:[(0,a.jsx)("div",{className:(0,d.cn)("flex w-full items-center bg-white md:w-1/4",x?"rounded-xl":"rounded-full"),children:(0,a.jsx)("div",{className:"w-full ".concat(p().Select),children:(0,a.jsx)(s.A,{className:"px-3 md:px-6",showSearch:!0,bordered:!1,value:null==I?void 0:I.name,placeholder:X.selectService,filterOption:(e,l)=>{var t;return(null!=(t=null==l?void 0:l.label)?t:"").toLowerCase().includes(e.toLowerCase())},options:null==y?void 0:y.map(e=>({label:g(J,e.name,e.name_bn),value:e.name})),suffixIcon:(0,a.jsx)(N,{isOpen:Z,hasValue:!!I,onClear:es}),dropdownAlign:{offset:ee},onChange:e=>{let l=_.find(l=>
1l.name===e);if(q(l),l){let e=l.cc_code||[],t=[];T.forEach(l=>{l.cc_code.some(l=>e.includes(l))&&t.push(l)});let a=P.filter(l=>e.includes(l.cc_code));S(t),M(a);let s=t.some(e=>e.district===D),r=a.some(e=>e.cc_code===z);s||(V(null),G(null)),r||G(null)}},onDropdownVisibleChange:e=>W(e)})})}),(0,a.jsxs)("div",{className:(0,d.cn)("flex w-full items-center gap-3 md:gap-6 bg-white md:w-2/4",x?"rounded-xl":"rounded-full"),children:[(0,a.jsx)("div",{className:"w-full ".concat(p().Select),children:(0,a.jsx)(s.A,{showSearch:!0,bordered:!1,defaultValue:D,value:D,className:"placeholder:text-xs",placeholder:X.selectDistrict,filterOption:(e,l)=>{var t;return(null!=(t=null==l?void 0:l.label)?t:"").toLowerCase().includes(e.toLowerCase())},options:E.map(e=>({label:"en"===U?e.district:e.district_bn,value:e.district})),suffixIcon:(0,a.jsx)(N,{isOpen:Q,hasValue:!!D,onClear:er}),dropdownAlign:{offset:ee},onChange:e=>el(e),onDropdownVisibleChange:e=>$(e)})}),(0,a.jsx)("span",{className:"h-[70%] border-r border-[#EEEEEE]"}),(0,a.jsx)("div",{className:"w-full ".concat(p().Select),children:(0,a.jsx)(s.A,{showSearch:!0,bordered:!1,defaultValue:z,value:z,placeholder:X.selectArea,optionFilterProp:"children",filterOption:(e,l)=>{var t;return(null!=(t=null==l?void 0:l.label)?t:"").toLowerCase().includes(e.toLowerCase())},options:F.map(e=>({label:"en"===U?e.thana:e.thana_bn,value:e.cc_code})),suffixIcon:(0,a.jsx)(N,{isOpen:Y,hasValue:!!z,onClear:en}),dropdownAlign:{offset:ee},onChange:et,onDropdownVisibleChange:e=>K(e)})})]}),x?(0,a.jsx)(i.A,{className:"md:w-1/4 w-full justify-center flex items-center min-h-12",label:"en"===U?"Search":"à¦
নà§à¦¸à¦¨à§à¦§à¦¾à¦¨ à¦à¦°à§à¦¨",disabled:!z,showArrow:!1,onClick:()=>ea()}):(0,a.jsx)(u.A,{className:"min-h-12 w-full justify-center md:w-1/4",iconDisable:!1,onClick:()=>ea(),label:"en"===U?"Search":"à¦
নà§à¦¸à¦¨à§à¦§à¦¾à¦¨ à¦à¦°à§à¦¨",disabled:!z})]})}),I&&(0,a.jsx)(j,{service:I})]})}),R.length>0&&B&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("section",{className:"mb-10 px-4",children:(0,a.jsxs)("div",{className:"container overflow-hidden rounded-2xl border border-[#E0E0E0] md:flex",children:[(0,a.jsx)("div",{className:"flex flex-[1_0_30%] flex-col gap-4 overflow-y-auto p-[16px] md:p-6",children:R.map(e=>(0,a.jsx)(k,{store:e,isSelected:(null==B?void 0:B.id)===e.id,onClick:()=>O(e)},e.id))}),(0,a.jsx)("div",{className:"mapouter w-full p-[16px] pt-[0] md:p-[0]",children:(0,a.jsx)("div",{className:"gmap_canvas ",children:(0,a.jsx)(v,{store:B})})})]})}),(0,a.jsx)(f,{})]})]})}},69708:(e,l,t)=>{"use strict";t.d(l,{A:()=>h});var a=t(37876),s=t(56557),r=t.n(s),n=t(89099),i=t(52072),o=t(13029),d=t(30465),c=t(50755),m=t(55752),u=t(20314),x=t(49471);function p(e){var l,t;let{orderInfo:s,fromMyOrderList:r=!1,platformName:n}=e,[i,o]=c.Ay.useMessage(),p=(0,d.A)("d2d"),h=async()=>{try{var e;let l=await (0,x.TO)(s.order_number,s.mobile);if(null==l||null==(e=l.data)?void 0:e.url)if((0,u.np)()||(0,u.l1)()||n)(0,u.XH)(l.data.url,n);else{let e=l.data.url;window.open(e,"_blank")}else i.open({type:"error",content:"Failed to generate invoice PDF"})}catch(e){console.error("PDF generation failed:",e),i.open({type:"error",content:"Failed to generate invoice PDF"})}};return(0,a.jsxs)(a.Fragment,{children:[o,(0,a.jsx)(m.A,{label:null==(l=p.orderTracking)?void 0:l.downloadInvoice,showArrow:!1,className:"font-semibold text-xs md:text-sm leading-6 py-2 md:py-3 px-3 md:px-6!",onClick:h,children:null==(t=p.orderTracking)?void 0:t.downloadInvoice})]})}function h(e){var l,t,s,c,m,u,x,h,b,f,g,v,j,_;let{orderInfo:w,fromMyOrderList:N=!1,platformName:y}=e,k=(0,d.A)("d2d"),{locale:C}=(0,n.useRouter)(),T=C||"en",A=o.d8[null==w||null==(l=w.order_status)?void 0:l.toLowerCase()]||"bg-gray-200 text-gray-800",E=!!(null==w?void 0:w.pickup_location_id),S=(null==w||null==(t=w.order_status)?void 0:t.toLowerCase())==="dispatched"?null==w?void 0:w.rider:null,P=E||!!S,L=!N&&!P,F=!P&&N;return(0,a.jsxs)("div",{className:"border border-[#E0E0E0] rounded-xl overflow-hidden",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-3 px-4 py-4 md:px-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(s=k.orderTracking)?void 0:s.orderId}),(0,a.jsx)("p",{className:"font-bold text-lg text-[#212121]",children:(null==w?void 0:w.order_number)||"N/A"})]}),(0,a.jsx)("div",{className:"flex shrink-0 gap-4",children:(0,a.jsx)(p,{orderInfo:w,fromMyOrderList:N,platformName:y})})]}
1),(0,a.jsx)("hr",{className:"border-[#E0E0E0] mx-4 md:mx-6"}),(0,a.jsxs)("div",{className:"grid grid-cols-2 ".concat(L?"md:grid-cols-3":"md:grid-cols-4"," gap-4 px-4 py-4 md:px-6"),children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsxs)("div",{className:"border-r border-[#E0E0E0] pr-4",children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(c=k.orderTracking)?void 0:c.orderType}),(0,a.jsx)("p",{className:"font-semibold text-base text-[#212121]",children:(0,o.$L)((null==w?void 0:w.product_type)||"N/A",T)})]}),(0,a.jsxs)("div",{className:"border-r border-[#E0E0E0] pr-4",children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(m=k.orderTracking)?void 0:m.payment}),(0,a.jsx)("p",{className:"font-semibold text-base text-[#212121]",children:(0,o.Nx)((null==w?void 0:w.payment_type)||"N/A",T)})]})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-3 ".concat(F?"md:col-span-2":""),children:[(0,a.jsxs)("div",{className:"md:border-r md:border-[#E0E0E0] md:pr-4",children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(u=k.orderTracking)?void 0:u.orderPlaced}),(0,a.jsx)("p",{className:"font-semibold text-base text-[#212121]",children:(null==w||null==(h=w.status)||null==(x=h.Ordered)?void 0:x.time)?r()(w.status.Ordered.time).format("DD/MM/YYYY"):"N/A"})]}),(0,a.jsxs)("div",{className:"md:border-r md:border-[#E0E0E0] md:pr-4",children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(b=k.orderTracking)?void 0:b.totalAmount}),(0,a.jsxs)("p",{className:"font-semibold text-base text-[#212121]",children:[null==(f=k.common)?void 0:f.tk," ",N?(0,i.ej)(null==w?void 0:w.total):(0,i.ej)(null==w?void 0:w.grand_total)]})]})]}),P&&(0,a.jsx)("div",{className:"flex flex-col gap-3",children:E?(0,a.jsxs)("div",{className:"pr-4",children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(g=k.orderTracking)?void 0:g.address}),(0,a.jsx)("p",{className:"font-semibold text-base text-[#212121]",children:(null==w?void 0:w.delivery_address)||""})]}):S&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"border-r border-[#E0E0E0] pr-4",children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(v=k.orderTracking)?void 0:v.riderName}),(0,a.jsx)("p",{className:"font-semibold text-base text-[#212121]",children:S.name||"\xa0"})]}),(0,a.jsxs)("div",{className:"border-r border-[#E0E0E0] pr-4",children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(j=k.orderTracking)?void 0:j.riderPhone}),(0,a.jsx)("p",{className:"font-semibold text-base text-[#212121]",children:S.phone||"\xa0"})]})]})}),(0,a.jsxs)("div",{className:"flex flex-col gap-3 ".concat(E?"-ml-4":""),children:[(0,a.jsxs)("div",{className:E?"border-l border-[#E0E0E0] pl-4":"",children:[(0,a.jsx)("p",{className:"text-xs text-[#757575]",children:null==(_=k.orderTracking)?void 0:_.etaDeliveryDate}),(0,a.jsx)("p",{className:"font-semibold text-base text-[#212121]",children:(null==w?void 0:w.appointment_date)?r()(w.appointment_date).format("DD/MM/YYYY"):"N/A"})]}),(0,a.jsx)("div",{className:"hidden md:block ".concat(E?"border-l border-[#E0E0E0] pl-4":""),children:(0,a.jsx)("span",{className:"inline-block text-sm font-semibold px-4 py-1.5 capitalize rounded-lg ".concat(A),children:(null==w?void 0:w.order_status)||"N/A"})})]})]}),(0,a.jsx)("div",{className:"px-4 pb-4 md:hidden",children:(0,a.jsx)("span",{className:"block w-full text-center text-sm font-semibold px-4 py-2.5 capitalize rounded-lg ".concat(A),children:(null==w?void 0:w.order_status)||"N/A"})})]})}},73956:e=>{e.exports={Select:"StoreFinder_Select__QJZhn"}},82948:(e,l,t)=>{"use strict";t.d(l,{A:()=>m});var a=t(37876),s=t(69345),r=t(2111),n=t(51555),i=t(14232),o=t(89677),d=t(46501),c=t.n(d);let m=function(e){let{type:l="",value:t="",required:d=!1,label:m="Label",placeholder:u="Placeholder",onChange:x,className:p="",inputClassName:h="",rules:b={}}=e,f=d?(0,a.jsx)("span",{children:"*"}):null,[g,v]=(0,i.useState)(""),[j,_]=(0,i.useState)(t),[w,N]=(0,i.useState)(""),[y,k]=(0,i.useState)(!1);(0,i.useEffect)(()=>{N(l)},[l]);let C=()=>{y?N("password"):N("text"),k(e=>!e)};return(0,a.jsxs)("div",{className:c().FloatLabel,children:[(0,a.jsx)(n.A,{type:w,value:t||g,className:(0,o.cn)(c().Input,h),placeholder:u,onCh
1ange:x,suffix:"password"===l?y?(0,a.jsx)(s.A,{twoToneColor:"#757575",style:{cursor:"pointer"},onClick:C}):(0,a.jsx)(r.A,{style:{cursor:"pointer",color:"#757575"},onClick:C}):""}),(0,a.jsxs)("label",{className:"".concat(c().Label," ").concat(c().AsLabel),children:[m," ",f]})]})}},89115:(e,l,t)=>{"use strict";t.d(l,{A:()=>r});var a=t(37876),s=t(14232);let r=e=>{let{containerSelector:l,children:t,invisibleLeftCardRef:r,invisibleRightCardRef:n}=e,i=(0,s.useRef)(null),[o,d]=(0,s.useState)(!1),[c,m]=(0,s.useState)(0),[u,x]=(0,s.useState)(0);return(0,s.useEffect)(()=>{let e=()=>{d(!1)};return o&&(document.addEventListener("mouseup",e),document.addEventListener("mouseleave",e)),()=>{document.removeEventListener("mouseup",e),document.removeEventListener("mouseleave",e)}},[o]),(0,s.useEffect)(()=>{let e=document.querySelector(l),t=()=>{if((null==r?void 0:r.current)&&(null==n?void 0:n.current)&&e)try{let l=window.getComputedStyle(e),t=parseInt(l.width||"0"),a=parseInt(l.marginLeft||"0")+16*(t<1280);r.current.style.width="".concat(a,"px"),n.current.style.width="".concat(a,"px")}catch(e){console.error("Error updating card widths:",e)}},a=setTimeout(t,300),s=((e,l)=>{let t;return function(){for(var a=arguments.length,s=Array(a),r=0;r<a;r++)s[r]=arguments[r];clearTimeout(t),t=setTimeout(()=>e(...s),l)}})(t,150);return window.addEventListener("resize",s),()=>{clearTimeout(a),window.removeEventListener("resize",s)}},[]),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)("div",{ref:i,className:"overflow-x-auto pb-4 scrollbar-hide select-none ".concat(o?"cursor-grabbing":"cursor-grab"),onMouseDown:e=>{i.current&&(d(!0),m(e.pageX-i.current.offsetLeft),x(i.current.scrollLeft),e.preventDefault())},onMouseMove:e=>{if(!o||!i.current)return;e.preventDefault();let l=e.pageX-i.current.offsetLeft;i.current.scrollLeft=u-(l-c)*2},onMouseUp:()=>{d(!1)},onMouseLeave:()=>{d(!1)},children:t})})}},96519:e=>{e.exports={QuickLaunchCard:"QuickLaunch_QuickLaunchCard__S6Ogl"}}}]);
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.