PageSourceSearch

https://ibox.co.id/_next/static/chunks/2103.ed16d9434906ec2c.js

js ibox.co.id collected 2026-09-24 18:40:09 UTC 4,289 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2103],{2103:(e,l,t)=>{t.r(l),t.d(l,{default:()=>C});var n=t(37876),a=t(14232),o=t(18847),r=t.n(o),s=t(48230),i=t.n(s),u=t(54587),d=t.n(u),x=t(95926),m=t(4656),c=t(17693),p=t(87972),b=t(58827),h=t(16843),v=t(28780),y=t(86649),f=t(85172),g=t(36606),w=t(85278),j=t(97815);let k=r()(()=>Promise.resolve().then(t.bind(t,6036)),{loadableGenerated:{webpack:()=>[6036]},ssr:!1}),N=r()(()=>Promise.resolve().then(t.bind(t,13831)),{loadableGenerated:{webpack:()=>[13831]},ssr:!1}),_=e=>{var l,t;let{banner:a,index:o,platform:r}=e,s=(0,w.Xr)(j.vB);return a?(0,n.jsx)(x.A,{"data-index":o,className:"relative !w-screen max-w-[2560px] mx-auto h-full border-b border-b-gray-30",children:(0,n.jsxs)(x.A,{className:"relative",style:{backgroundColor:"".concat(null!=(t=null==a?void 0:a.background_color)?t:"#FFF")},children:[(0,n.jsx)(i(),{href:null==a?void 0:a.url,target:(null==a?void 0:a.url_type)==="href_tab"?"_blank":"_self",rel:"noreferrer",onClick:()=>{s(JSON.stringify({promotionId:a.id,promotionName:a.title}))},className:"relative block w-screen h-full xxxs:max-h-[368.26px] xxxs:aspect-[600/500] [@media(min-width:1023px)]:aspect-[1400/700] [@media(min-width:1023px)]:max-h-[406.63px]",children:(0,n.jsx)(d(),{src:null==a?void 0:a.image_url,alt:null==a?void 0:a.title,layout:"fill",objectFit:"contain",sizes:"100vw",priority:!o,loading:o?"lazy":"eager",quality:85,className:"object-contain"})}),(null==a?void 0:a.type)==="default"&&(null==a?void 0:a.button_total)>0&&(null==a||null==(l=a.button_detail)?void 0:l.map((e,l)=>(0,n.jsx)(i(),{className:"z-10 h-full absolute",href:e.url,children:(0,n.jsx)(x.A,{className:(0,h.cn)("absolute",r===b.Fo?"w-full":"w-[300px]"),children:(0,n.jsx)(m.A,{className:(0,h.cn)("bottom-0",(0,p.eX)(null==a?void 0:a.button_color)?"text-black":"text-white"),style:{backgroundColor:null==a?void 0:a.button_color,position:"absolute",bottom:"0",right:e.margin_right,marginBottom:e.margin_bottom,color:"white"},children:e.name})})},"bannerButton".concat(l)))),(null==a?void 0:a.type)==="custom"&&(null==a?void 0:a.html)?(0,y.Ay)(null==a?void 0:a.html):null]})},null==a?void 0:a.id):null},q=e=>{let{banners:l,isMobile:t,platform:a}=e;return(0,n.jsx)(v.FN,{className:"w-full",opts:{loop:!0},plugins:[(0,f.A)({delay:3e3,stopOnInteraction:!1})],withDefaultDots:!0,defaultDotsRootClassName:(0,h.cn)("bg-white absolute bottom-0 left-1/2 -translate-x-1/2 mt-0 items-center shadow-lg","xxxs:px-[39px] xxxs:h-[25px] xxxs:gap-[14px] xxxs:rounded-[16.67px] xxxs:translate-y-[12.5px]","md:px-6 md:h-12 md:gap-4 md:rounded-[32px] md:translate-y-6"),defaultDotsBtnClassName:"xxxs:w-2 xxxs:h-2 md:w-3 md:h-3",LoaderComponent:g.x,children:(0,n.jsx)(v.Wk,{children:null==l?void 0:l.map((e,l)=>(0,n.jsx)(v.A7,{children:(0,n.jsx)(_,{banner:e,index:l,isMobile:t,platform:a})},l))})})},C=(0,a.memo)(e=>{let{platform:l,initialMainBannerData:t}=e,{data:a}=(0,c.YI)({platform:l,section:"main"},{initialData:t}),o=null==a?void 0:a.data,r=l===b.ND;return o?r?(0,n.jsx)(N,{children:(0,n.jsx)(q,{banners:o,isMobile:r,platform:l})}):(0,n.jsx)(k,{children:(0,n.jsx)(q,{banners:o,isMobile:r,platform:l})}):null})},17693:(e,l,t)=>{t.d(l,{YI:()=>u,l:()=>d,Y7:()=>p,cc:()=>c,Wv:()=>m,rM:()=>x});var n=t(69927),a=t(74359),o=t(27148),r=t(37140),s=t(58827);let i=(e,l)=>({queryKey:r.Cx.detail(e),queryFn:()=>(0,n.BD)(e),meta:{persist:!1},enabled:!!(null==e?void 0:e.promoId),...l}),u=(e,l)=>(0,a.I)({queryKey:["banners",e],queryFn:()=>(0,n.j$)(e),enabled:!!e.section&&!!e.platform,meta:{persist:!1},...l}),d=e=>(0,a.I)({queryKey:r.Y9,queryFn:()=>(0,n.G8)(),meta:{persist:!1},...e}),x=(e,l)=>(0,a.I)(((e,l)=>{var t;return{queryKey:r.Cx.list(e),queryFn:()=>(0,n.KX)(e),meta:{persist:!1},enabled:!!(null==e||null==(t=e.sku)?void 0:t.length),...l}})(e,l)),m=(e,l)=>(0,a.I)(i(e,l)),c=e=>{let l=null==e?void 0:e.map(e=>i(null==e?void 0:e.params,null==e?void 0:e.options));return(0,o.E)({queries:l})},p=e=>{let l=e.map(e=>((e,l)=>{var t;let a="undefined"!=typeof localStorage?localStorage.getItem(s.tK):"";return{queryKey:r.Cx.checkoutPMPList(e),queryFn:()=>(0,n.lH)(e),meta:{persist:!1},enabled:!!a&&(null==(t=Object.values(e))?void 0:t.some(e=>!!e)),...l}})(null==e?void 0:e.params,null==e?void 0:e.options));return(0,o.E)({queries:l})}}}]);

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.