(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1534],{96510:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/gear-store/[id]/[subCategory]/[name]",function(){return n(77080)}])},40213:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});var l=n(85893),i=n(28322);function s(e){let{iconSetting:t,customStyle:n="",customTextJSX:s=(0,l.jsx)(l.Fragment,{}),modalData:a,showButton:r}=e,{createPopUp:o}=(0,i.B_)();return(0,l.jsx)(l.Fragment,{children:r&&!1})}n(67046),n(16483),n(86455)},79427:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var l=n(85893),i=n(29562),s=n(70869),a=n(97456);class r{static month(e){return e<1100?12:e>=1100&&e<1600?18:24}static async estimate(e){if(!(e in r.$cache))try{let t="https://www.affirm.com/api/promos/v2/".concat(a.affirmKey,"?amount=").concat(100*e,"&use_best_terms=true&page_type=product"),n=await fetch(t),l=await n.json(),i=(0,s.Y4)(l.offer.terms[l.offer.terms.length-1].installment_amount/100,0);r.$cache[e]=i}catch(t){r.$cache[e]=""}return r.$cache[e]}}r.$cache={};let o=async e=>await r.estimate(e);var c=n(94184),d=n.n(c),u=n(67294),x=n(45722),m=n.n(x);function p(e){let{estimate:t,price:n,needLearnMoreText:a=!1,marginBottom:r=!0,customClassName:c=""}=e,[x,p]=(0,u.useState)("0"),g=()=>{if(n){let e={amount:n.toString()+"00",isDefault:!0,pageType:"product",type:"product_modal"};window.affirm.ui.openModal(e)}},f=async()=>{let e=null!=t?t:await o(n);p((0,s.Y4)(Number(e),0))},h=()=>n>=i._t;return((0,u.useEffect)(()=>{h()&&f()},[n]),h())?(0,l.jsxs)("button",{className:d()(m().affirm,"affirm-modal-trigger border-0 bg-transparent !pl-0",c),"aria-label":"Prequalify now (opens in modal)",onClick:()=>{g()},children:[(0,l.jsxs)("p",{className:r?"a-affirm-as-low-as":"a-affirm-as-low-as marginBottom0","data-amount":"amount","data-page-type":"pageType","data-affirm-color":"black",children:["Starting at",(0,l.jsxs)("span",{className:"affirm-ala-price",children:[" $",(0,s.Y4)(t,0)||x,"/mo "]}),"with",(0,l.jsxs)("span",{className:"__affirm-logo __affirm-logo-black __ligature__affirm_full_logo__ __processed",children:[" ","Affirm"]})]}),a&&(0,l.jsx)("div",{className:"".concat(m().learn_more," flex items-center justify-end pt-1"),"aria-label":"Prequalify now (opens in modal)",onClick:()=>{g()},children:"Learn more"})]}):(0,l.jsx)(l.Fragment,{})}},98257:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var l=n(85893),i=n(69328),s=n(32576),a=n(81472),r=n.n(a),o=n(94184),c=n.n(o),d=n(25675),u=n.n(d),x=n(46066),m=n(38720);function p(e){let{OverviewItems:t,Vendor:n}=e;return(0,l.jsx)("div",{className:"flex h-full w-full flex-col",children:(0,l.jsx)(m.Z,{renderAccordionArray:{accordionArray:t,initialAccordionLength:1},renderAccordionItem:e=>{let{accordionItem:t,accordionIndex:i}=e;return(0,l.jsx)("div",{className:c()("flex h-full w-full justify-center",{"mt-2 lg:mt-4 ":0!==i}),children:(0,l.jsx)(g,{overviewPanel:t,vendor:n})},i)},renderAccordionButton:e=>{let{toggleButton:t,isShowAll:n}=e;return(0,l.jsx)("div",{className:"mt-2 flex w-full items-center justify-center lg:mt-4",children:(0,l.jsx)("button",{className:"rounded-[60px] border-[2px] border-black-ibuypowerText px-6 py-3 text-[12px] font-bold leading-[16px] text-black-ibuypowerText hover:border-gray-inputBorder hover:text-gray-inputBorder",onClick:()=>{t()},children:n?"Show Less":"Show More"})})}})})}let g=e=>{var t,n;let{overviewPanel:a,vendor:o}=e,c="https://content.ibuypower.com",d={arrows:!0,slidesToShow:1,slidesToScroll:1,draggable:!0,autoplay:!1,dots:!1,nextArrow:(0,l.jsx)(i.Tg,{}),prevArrow:(0,l.jsx)(i.zF,{})};return(0,l.jsxs)(l.Fragment,{children:[a.Video&&a.Video.length>0?(0,l.jsx)("div",{className:"".concat(r().video," ").concat(o?"":"mb-4"),children:(0,l.jsx)("iframe",{title:"overview-video",src:a.Video,allow:"accelerometer; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0})}):"",a.Slide?(0,l.jsx)("div",{className:"".concat(r().slick," ").concat(o?"":"mb-4"),children:(0,l.jsx)(x.Z,{...d,children:a.Slide.Desktop.Path.map((e,t)=>{var n,i;return(0,l.jsx)(u(),{alt:"",loader:s.O,src:c+e,width:(null===(n=a.Slide)||void 0===n?void 0:n.Desktop.Width)||1e3,height:(null===(i=a.Slide)||void 0===i?void 0:i.Desktop.Height)||400,sizes:"100vw",className:"rounded-[8px] lg:rounded-[16px]",style:{width:"100%",height:"auto"}},t)})})}):"",a.Image&&(null===(t=a.Image.Desktop.Path)||void 0===t?void 0:t.length)>0?(0,l.jsx)("div",{className:"".concat(o?"h-full w-full":"mb-4 h-full w-full"),children:(0,l.jsx)(u(),{alt:"",loader:s.O,src:"".concat(c+a.Image.Desktop.Path),width:a.Image.Desktop.Width,height:a.Image.Desktop.Height,sizes:"100vw",className:"rounded-[8px] lg:rounded-[16px]",style:{width:"100%",height:"auto"}})}):"",a.Title&&a.Title.length>0?(0,l.jsx)("div",{className:"".concat(r().content_text," font-bold ").concat(o?"":"mb-4"),dangerouslySetInnerHTML:{__html:a.Title}}):"",a.Content&&a.Content.length>0?(0,l.jsx)("div",{className:"".concat(r().content_text," ").concat(o?"":"mb-4"),dangerouslySetInnerHTML:{__html:a.Content}}):"",a.ImageWithContent&&(null===(n=a.ImageWithContent.Image.Desktop.Path)||void 0===n?void 0:n.length)>0?(0,l.jsxs)("div",{className:"".concat(r().image_with_content," relative ").concat(o?"":"mb-4"),children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(u(),{alt:"",loader:s.O,src:c+a.ImageWithContent.Image.Desktop.Path,width:a.ImageWithContent.Image.Desktop.Width,height:a.ImageWithContent.Image.Desktop.Height,sizes:"100vw",className:"rounded-[8px] lg:rounded-[16px]",style:{width:"100%",height:"auto"}}),(0,l.jsxs)("div",{className:"".concat(r().image_with_content_content," ").concat(a.ImageWithContent.ContentOnLeft?r().left_side:r().right_side," mt-2"),style:{top:a.ImageWithContent.ContentTopPercentage+"%"},children:[(0,l.jsx)("div",{className:"mb-2 font-bold",dangerouslySetInnerHTML:{__html:a.ImageWithContent.Title}}),(0,l.jsx)("div",{className:"".concat(r().content_text),dangerouslySetInnerHTML:{__html:a.ImageWithContent.Content}})]})]}),a.ImageWithContent.Footnote&&""!==a.ImageWithContent.Footnote?(0,l.jsx)("span",{className:"absolute p-1 text-white ".concat(r().footnote),style:{right:"0px",bottom:"0px",fontSize:"0.75rem"},dangerouslySetInnerHTML:{__html:a.ImageWithContent.Footnote}}):"",(0,l.jsx)("span",{})]}):"",a.TwoImageAndContent&&a.TwoImageAndContent.length>0?(0,l.jsx)("div",{className:"".concat(r().image_and_content_two," flex flex-wrap ").concat(o?"":"mb-4"),children:a.TwoImageAndContent.map((e,t)=>(0,l.jsxs)("div",{className:"w-full md:w-1/2 ".concat(o?"":"mb-4"," mb-md-0"),children:[(0,l.jsx)(u(),{alt:"",loader:s.O,src:c+e.Image.Desktop.Path,width:e.Image.Desktop.Width,height:e.Image.Desktop.Height,sizes:"100vw",className:"rounded-[8px] lg:rounded-[16px]",style:{width:"100%",height:"auto"}}),(0,l.jsx)("div",{className:"".concat(r().content_text," mt-2"),dangerouslySetInnerHTML:{__html:e.Content}})]},t))}):"",a.ThreeImageAndContent&&a.ThreeImageAndContent.length>0?(0,l.jsx)("div",{className:"".concat(r().image_and_content_three," flex flex-wrap ").concat(o?"":"mb-4"),children:a.ThreeImageAndContent.map((e,t)=>(0,l.jsxs)("div",{className:"w-full md:w-1/3 ".concat(o?"":"mb-4"," mb-md-0"),children:[(0,l.jsx)(u(),{alt:"",loader:s.O,src:c+e.Image.Desktop.Path,width:e.Image.Desktop.Width,height:e.Image.Desktop.Height,sizes:"100vw",className:"rounded-[8px] lg:rounded-[16px]",style:{width:"100%",height:"auto"}}),(0,l.jsx)("div",{className:"".concat(r().content_text," mt-2"),dangerouslySetInnerHTML:{__html:e.Content}})]},t))}):""]})}},81432:function(e,t,n){"use strict";n.d(t,{Kj:function(){return g},MB:function(){return s},OR:function(){return h},Py:function(){return o},Si:function(){return u},X2:function(){return p},Xc:function(){return m},bI:function(){return d},em:function(){return f},hJ:function(){return a},hi:function(){return x},jd:function(){return c},ll:function(){return r}});var l=n(6500),i=n(97456);let s=(e,t)=>{let n="".concat(i.content,"Images/Base/"),s={[l.ME.HDD1]:"icon_hard drive.svg",[l.ME.MB]:"icon_motherboard.svg",[l.ME.RAM]:"icon_memory.svg",[l.ME.VIDEOCARD]:"icon_gpu.svg",[l.ME.CPU]:"icon_cpu.svg",[l.ME.OS]:"icon_os.svg",[l.ME.M2PIC]:"icon_hard drive.svg",[l.ME.MSATASSD]:"icon_hard drive.svg",[l.ME.HDD2]:"icon_hard drive.svg",[l.ME.STORAGE]:"icon_hard drive.svg",[l.ME.CASE]:t?"icon_laptops_screen.svg":"icon_case.svg",[l.ME.GAMEBUNDLE]:"icon_game.svg",[l.ME.POWER]:"icon_power pupply.svg",[l.ME.ADDFEATURES]:"icon_features.svg",[l.ME.CPUCOOLING]:"icon_cpu cooling.svg",[l.ME.MONITOR]:"icon_monitor.svg",[l.ME.SPEAKER]:"icon_speaker.svg",[l.ME.KEYBOARD]:"icon_keyboard.svg",[l.ME.MOUSE]:"icon_mouse.svg",[l.ME.HEADSET]:"icon_headset.svg",[l.ME.LIMITEDTIMEOFFER]:"icon_limited_time_offer.svg",[l.ME.SERVICES]:"icon_service.svg",[l.ME.WARRANTY]:"icon_warranty.svg",[l.ME.MOUSEPAD]:"icon_mousepad.svg"};return s[e]?n+s[e]:""},a=[l.ME.OS,l.ME.CASE,l.ME.CPU,l.ME.VIDEOCARD,l.ME.RAM,l.ME.MB,l.ME.STORAGE,l.ME.CPUCOOLING,l.ME.POWER,l.ME.WIFINETWORK,l.ME.KEYBOARD,l.ME.MOUSE,l.ME.GAMEBUNDLE,l.ME.IBPSAFEGUARDPACKAGING,l.ME.WARRANTY],r=[l.ME.OS,l.ME.CASE,l.ME.CPU,l.ME.VIDEOCARD,l.ME.RAM,l.ME.HDD1,l.ME.HDD2,l.ME.GAMEBUNDLE,l.ME.SOUNDCARD,l.ME.WIRELESSADAPTER,l.ME.VIDEOCAMERA,l.ME.WARRANTY,l.ME.RUSH];l.ME.OS,l.ME.CPU,l.ME.VIDEOCARD,l.ME.RAM,l.ME.HDD1,l.ME.HDD2,l.ME.CASE,l.ME.CASE,l.ME.CPU,l.ME.CPUCOOLING,l.ME.RAM,l.ME.VIDEOCARD,l.ME.MB,l.ME.POWER,l.ME.HDD1,l.ME.GAMEBUNDLE,l.ME.ADDFEATURES,l.ME.MONITOR,l.ME.SPEAKER,l.ME.KEYBOARD,l.ME.MOUSE,l.ME.HEADSET,l.ME.LIMITEDTIMEOFFER,l.ME.SERVICES,l.ME.WARRANTY,l.ME.OS,l.ME.MOUSEPAD;let o={baseComponents:{key:"base_component",str:"Base Component",filterOptions:[l.ME.LIMITEDTIMEOFFER,l.ME.CASE,l.ME.CPU,l.ME.CPUCOOLING,l.ME.RAM,l.ME.VIDEOCARD,l.ME.MB,l.ME.POWER,l.ME.HDD1,l.ME.OS]},accessories:{key:"accessories",str:"Accessories",filterOptions:[l.ME.GAMEBUNDLE,l.ME.ADDFEATURES,l.ME.MONITOR,l.ME.SPEAKER,l.ME.KEYBOARD,l.ME.MOUSE,l.ME.HEADSET,l.ME.MOUSEPAD]},services:{key:"services",str:"Services",filterOptions:[l.ME.SERVICES,l.ME.WARRANTY]}},c=e=>e.IsDesktop?e.EasyBuilder?"easyBuilder":e.Prebuild?"preBuild":"configurator":"laptop",d="PreBuildPage",u="EasyBuilder",x="Configurator",m={laptop:d,preBuild:d,easyBuilder:u,configurator:x},p=e=>e===u,g=[l.ME.LIMITEDTIMEOFFER,l.ME.CABLES,l.ME.MONITOR];l.ME.MONITOR;let f=[l.ME.LIMITEDTIMEOFFER,l.ME.CABLES],h={GEAR:10,LAPTOP:5,PC:5}},55949:function(e,t,n){"use strict";n.d(t,{H:function(){return s},L:function(){return i}});var l=n(67294);let i={onChange:()=>{},totalChange:()=>{},addToCart:()=>{},openSimilarSystems:()=>{},mine:{},proId:"",benchMark:{timeSpyOverallScore:0,timeSpyScoreCpu:0,timeSpyScoreGpu:0,gameTitles:{}},storeJson:{},cartBtnState:{text:"",type:"green"}},s=(0,l.createContext)(i)},69757:function(e,t,n){"use strict";function l(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1];let t=parseFloat((null!=e?e:0).toString());return new Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(t)}function i(e){return new Promise(async(t,n)=>{var l="https://www.affirm.com/promos/payment_estimate_path/KQ6J61HSK2TNOK1N/0.10/".concat(100*e,"/").concat(e<1100?12:e>=1100&&e<1600?18:24),i=await fetch(l);if(200==i.status){let e=await i.json();e&&e.payment_string&&t(e.payment_string)}n("0")})}n.d(t,{j:function(){return i},s:function(){return l}})},54535:function(e,t,n){"use strict";n.d(t,{A:function(){return c},h:function(){return d}});var l=n(68182),i=n(3598),s=n(71805);let a=e=>{let{skuIdsArray:t}=e,n=(0,s.Jp)(t);return i.eN.get(l.v.GET_GEAR_STOCK,{id:n})},r=e=>{let{modelIdsArray:t}=e,n=(0,s.Jp)(t);return i.eN.get(l.v.GET_MODEL_STOCK,{id:n})};var o=n(88767);let c=e=>{let{data:t,error:n,isLoading:i}=(0,o.useQuery)([l.v.GET_GEAR_STOCK,{skuIdsArray:e}],()=>a({skuIdsArray:e}));return{skuStocks:t,error:n,isLoading:i}},d=e=>{let{data:t,error:n,isLoading:i}=(0,o.useQuery)([l.v.GET_MODEL_STOCK,{modelIdsArray:e}],()=>r({modelIdsArray:e}));return{modelStocks:t,error:n,isLoading:i}}},77080:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return U},default:function(){return G}});var l=n(85893),i=n(79427),s=n(6084),a=n(60827),r=n(28378),o=n(96642),c=n(98257),d=n(32384),u=n(36479),x=n(63466),m=n(38720),p=n(35452),g=n(69963),f=n(89392),h=n(81432),v=n(9865),w=n(93422),E=n(10563),b=n(57144),j=n(76426);let _=e=>fetch("/api/ibpStore/addSkuToCart",(0,j.ni)(e));var M=n(17436),N=n(91726),y=n(43064),S=n(69328),C=n(69757),T=n(13643),I=n(30654),k=n(54535),A=n(68990),O=n(71812),D=n(6677),P=n(71805),R=n(94184),B=n.n(R),L=n(9008),W=n.n(L),F=n(67294),H=n(40765),U=!0;function G(e){var t,n,j,R,L,U,G,Z,V;let z;let{headerFooterJson:K,skuModel:Y,url:$,preOrderETA:J,globalJson:X}=e,[Q,q]=(0,F.useState)(!1),{userInfo:ee}=(0,I.g)(),et=""!==J,{openCartView:en}=(0,N.l8)(),el=Y.SkuList.map(e=>e.SkuId),{skuStocks:ei,isLoading:es,error:ea}=(0,k.A)(el),er=()=>Y.SkuList[0],eo=()=>Y.SkuList.find(e=>e.SkuId===ej),ec=()=>{var e;return(0,P.IE)(null===(e=eo())||void 0===e?void 0:e.SkuId,ei)},ed=(()=>{try{var e;return JSON.parse((null===(e=er())||void 0===e?void 0:e.Space)||"")}catch(e){return""}})(),[eu,ex]=(0,F.useState)(1),em=""!==ed&&ed.Overviews?ed.Overviews:"",ep=ed&&ed.HighLight?ed.HighLight:["no setting"],eg=ed&&ed.Manual?ed.Manual:[],ef=(0,b.Z)().width>=1024,{isElementInView:eh,notInViewPosition:ev}=(0,w.Z)({elementInviewID:"storeAddToCartButton"}),{layoutHeaderHeight:ew,acceptCookieHeight:eE}=(0,E.Z)(),eb=""!==ed?function(){let e=[];return ed.Table&&ed.Table.Specifications&&Object.keys(ed.Table.Specifications).map(t=>{e.push({OptionName:t,SkuName:ed.Table.Specifications[t]})}),e}():[],[ej,e_]=(0,F.useState)(Y.DefaulSkuId),{cartItems:eM,refreshCartItems:eN}=(0,M.jD)(),ey=e=>{let t=[];return e.map((e,n)=>{t.push(e.Big)}),t},eS=e=>{let t=[];return e.map((e,n)=>{t.push(e.Big)}),t},eC=e=>{let t=[];if(e>0)for(let n=1;n<=e;n++)t.push(n);else -99===eo().Stock&&(t=[1,2,3]);return t},[eT,eI]=(0,F.useState)([]);(0,F.useEffect)(()=>{window.gtag&&(0,y.Jp)(Y)},[window.gtag]),(0,F.useEffect)(()=>{let e=eo(),t={productID:"".concat(e.SkuId),variantID:"".concat(e.SkuId,"_"),currency:"USD",price:e.Price,oldPrice:e.WasPrice,title:Y.Title,imageUrl:e.MainPic,productUrl:$};(0,D._f)(t)},[window.omnisend]),(0,F.useEffect)(()=>{if(!es){let e=(0,P.IV)(ec(),h.OR.GEAR),t=eC(e);eI(t),e>0&&ex(1)}},[es]);let ek=e=>{let t=document.getElementById(e);if(t){let e=t.getBoundingClientRect().top+window.scrollY-180;window.scrollTo({top:e,behavior:"smooth"})}},eA=e=>{e.preventDefault(),q(!0),(ec()>0||-99===ec())&&_({Qty:eu,SkuId:ej}).then(async e=>{let t=await e.json();if(t.Success){let e=eo();(0,x.M)(eu,e.Price);let{CartId:n,CartItemId:l}=t.Data,i={userInfo:ee,cartItems:Object.values(eM),skuModel:Y,addToCartQty:eu};(0,D.ny)(n,l,i),(0,y.BK)(Y,eu),await eN(),en()}else(0,O.H)({icon:"error",title:"Something went wrong. Please again try later!"})}).finally(()=>{q(!1)})},eO=Y.SkuList,eD=eO.length,eP=e=>(0,P.mV)(ec())?(0,l.jsxs)("div",{className:"items-normal flex w-[360px] flex-col lg:w-full lg:max-w-[1500px]",children:[(0,l.jsx)("p",{className:B()("hidden text-[20px] font-bold leading-[28px] text-black-ibuypowerText lg:flex",{"lg:hidden":e===A.zj.BOTTOM}),children:Y.Title}),(0,l.jsxs)("div",{className:"flex items-center justify-between ",children:[(0,l.jsxs)("span",{className:B()("flex flex-shrink-0 flex-col items-start",{"lg:hidden":e===A.zj.BOTTOM}),children:[(0,l.jsxs)("span",{className:"flex items-end gap-4 ",children:[(0,l.jsxs)("p",{className:"self-end text-[20px] font-bold leading-[28px] text-black-ibuypowerText ",children:["$",(0,C.s)(eB.Price)]}),(0,l.jsxs)("p",{className:B()("text-[12px] font-normal leading-[16px] text-gray-inputBorder line-through ",Number(eB.WasPrice)<=Number(eB.Price)?"hidden":"block"),children:["$",(0,C.s)(eB.WasPrice)]})]}),(0,l.jsx)(i.Z,{estimate:eB.AffirmEstimate,price:eB.Price,customClassName:"!text-[12px] !text-black-ibuypowerText font-normal !mt-0 !leading-[16px] mt-1 lg:mt-0"})]}),(0,l.jsx)("form",{onSubmit:eA,className:"w-max flex-shrink-0 self-end lg:w-[516px]",children:(0,l.jsx)(a.Z,{buttonText:"Add to Cart",isLoading:Q})})]})]}):(0,l.jsx)("div",{className:"flex w-max items-center justify-center rounded-[60px] bg-[#CCCCCC] px-6 py-3 lg:w-[516px] ",children:(0,l.jsx)("p",{className:"text-[12px] font-normal leading-[16px] text-white 2xl:text-[16px] 2xl:leading-[24px]",children:"Sold Out"})}),eR=(0,v.kR)(Y,ep[0],$),eB=er();return(0,l.jsxs)(s.Z,{jsonData:K,isBreadcrumb:!1,children:[(0,l.jsx)(f.Z,{chatElementId:"gladlyChatTempWrapper",deviceWidth:768}),(0,l.jsxs)(W(),{children:[eR,(0,l.jsx)("title",{children:Y.Title},"title"),(0,l.jsx)("meta",{property:"og:title",content:"".concat(Y.Title)},"ogtitle")]}),(0,l.jsxs)("div",{id:"gearHeader",className:"relative  flex w-full flex-col items-start gap-3 bg-white p-4 shadow-newContainer  md:flex-row md:justify-between  lg:hidden",children:[(0,l.jsx)("h1",{className:"text-[20px] font-bold leading-[26px] text-black-ibuypowerText",children:Y.Title}),(0,l.jsx)("span",{className:"flex justify-start gap-4 text-[16px] leading-[26px] text-black-ibuypowerText ",children:(0,l.jsx)("button",{onClick:()=>{ek("TechSpec")},className:"hover:text-blue-ibuypowerLink hover:underline",children:null==X?void 0:null===(n=X.StoreProductPage)||void 0===n?void 0:null===(t=n.StoreHeader)||void 0===t?void 0:t.TechSpecTitle})})]}),(0,l.jsxs)("div",{className:" mb-[48px] flex flex-col items-center justify-center gap-6  lg:mb-[148px] lg:mt-1  lg:flex-row lg:items-start lg:gap-6 lg:self-center",id:"Overview",children:[(0,l.jsxs)("div",{className:"h-[360px] w-full overflow-auto lg:mt-[30px]  lg:h-full lg:w-[424px] lg:flex-shrink-0 2xl:w-[864px]",children:[(0,l.jsxs)("div",{className:"h-[360px] w-full overflow-auto lg:h-full  lg:w-[424px] lg:flex-shrink-0  2xl:w-[864px]",children:[(0,l.jsx)("div",{className:"hidden  h-full w-full lg:flex",children:(0,l.jsx)(p.Z,{imageList:ey(eB.ImgList),bigImageList:eS(eB.ImgList)})}),(0,l.jsx)("div",{className:"flex h-full w-full lg:hidden",children:(0,l.jsx)(g.Z,{imageList:ey(eB.ImgList),bigImageList:eS(eB.ImgList)})})]}),em.length>0&&(0,l.jsxs)("div",{className:B()("hidden h-full w-full items-center gap-4 lg:mt-[120px] lg:flex lg:flex-col"),children:[(0,l.jsx)("p",{className:"text-[24px] font-bold leading-[28px] text-black-ibuypowerText",children:"Features"}),(0,l.jsx)(c.Z,{OverviewItems:em,Vendor:!!ed.APlus&&ed.APlus})]})]}),(0,l.jsxs)("div",{id:eB.SkuId.toString(),className:"top-[48px] flex w-full flex-col items-center gap-[48px] px-3 lg:mt-[30px] lg:w-fit lg:gap-6",children:[(0,l.jsxs)("div",{className:B()(" fixed bottom-0 z-[40] flex justify-center bg-white p-4   transition-all duration-200 ",{"hidden w-0":!eh},ev===A.zj.BOTTOM?"hidden lg:block ":"hidden"),style:{bottom:eE},children:[(0,l.jsx)("div",{className:B()("absolute inset-x-0 top-0  h-[4px] shadow-[0_-2px_3px_rgba(153,153,153,0.3)]",{"hidden w-0":!eh},ev===A.zj.BOTTOM?"hidden lg:block ":"hidden")}),eP(ev)]}),(0,l.jsxs)("div",{className:"flex w-full flex-col items-start gap-[36px] 2xs:w-[363px] lg:w-[516px] lg:gap-6 ",children:[(0,l.jsxs)("div",{className:" flex w-full flex-col items-start gap-1 ",children:[(0,l.jsx)("div",{className:"flex w-full items-start justify-between",children:(0,l.jsx)("div",{className:"text-[20px] font-bold leading-[26px] text-black-ibuypowerText lg:text-[28px] lg:leading-[36px]",children:Y.Title})}),(0,l.jsxs)("span",{className:B()("flex items-center ",{hidden:!(null==Y?void 0:Y.ReviewItems)||(null==Y?void 0:null===(j=Y.ReviewItems)||void 0===j?void 0:j.length)===0}),children:[(0,l.jsx)(H.Z,{value:(0,T.W)(Y.ReviewSummary),half:!0,edit:!1,color2:"#FFD035",size:18,className:"flex items-center  leading-[16px]"}),(0,l.jsx)("p",{className:"text-[13px] leading-[18px] text-black-ibuypowerText",children:"(".concat(null==Y?void 0:null===(R=Y.ReviewItems)||void 0===R?void 0:R.length,")")})]}),(0,l.jsxs)("div",{className:" flex w-full flex-col lg:mt-6 ",children:[(0,l.jsx)("hr",{className:B()(" w-full border-gray-inputBorder",Number(eB.WasPrice)-Number(eB.Price)==0||0===Number(eB.WasPrice)?"lg:mb-6":"mb-2")}),(0,l.jsx)("span",{className:B()(" w-fit rounded-[60px] border-[1px] border-orange-ibuypower px-[6px] py-[3px] lg:mt-3",Number(eB.WasPrice)-Number(eB.Price)<=0?"hidden":"block"),children:(0,l.jsxs)("p",{className:"text-[12px] font-bold leading-4 text-orange-ibuypower",children:["Save $",Number(eB.WasPrice)-Number(eB.Price)]})}),(0,l.jsxs)("span",{className:"flex flex-col items-start lg:flex-row lg:gap-5 ",children:[(0,l.jsxs)("span",{className:"flex h-[36px] items-end gap-3 lg:h-[40px]",children:[(0,l.jsxs)("p",{className:"self-end text-[28px] font-bold leading-[28px] text-black-ibuypowerText lg:text-[32px] lg:leading-[32px]",children:["$",(0,C.s)(eB.Price)]}),(0,l.jsxs)("p",{className:B()("text-[14px]  font-normal leading-5 text-gray-inputBorder line-through lg:text-[20px] lg:leading-[26px]",Number(eB.WasPrice)<=Number(eB.Price)?"hidden":"block"),children:["$",(0,C.s)(eB.WasPrice)]})]}),(0,l.jsx)(i.Z,{estimate:eB.AffirmEstimate,price:eB.Price,customClassName:"h-5 lg:h-[26px] lg:self-end lg:!text-[16px] lg:!leading-[26px] !text-[14px] !text-black-ibuypowerText font-normal !leading-5 mt-1 lg:mt-0"})]})]}),(0,l.jsxs)("span",{className:"flex w-full flex-col text-[12px]  font-normal leading-[16px] lg:mt-6 lg:text-[16px] lg:leading-[26px] ",children:[(0,l.jsx)("hr",{className:"mb-2 w-full border-gray-inputBorder "}),(()=>{let e=ec();return es?(0,l.jsx)("div",{className:"flex h-[14px] items-center",children:(0,l.jsx)("div",{className:" font-bold",children:(0,l.jsx)(r.Z,{width:80,height:14})})}):(0,P.mV)(e)?(0,l.jsx)("div",{className:"flex items-center gap-3",children:et?(0,l.jsxs)("div",{className:"flex",children:[(0,l.jsx)("span",{className:"mr-2 font-bold text-[#76B900]",children:"Pre-Order"}),(0,l.jsx)("span",{className:"font-normal",children:"- Estimated Ship: ".concat(J)})]}):(0,l.jsx)("div",{className:"flex",children:(0,l.jsx)("p",{className:"font-bold text-[#76B900]",children:"In Stock"})})}):(0,l.jsx)("div",{className:"font-bold text-[#f1ab0a]",children:"Out of stock"})})(),(0,l.jsx)("hr",{className:"mt-2 w-full border-gray-inputBorder "})]})]}),(0,l.jsxs)("div",{id:"TechSpec",className:"flex w-full flex-col  gap-4",children:[(0,l.jsx)("p",{className:"text-[16px] font-bold leading-[12px] text-black-ibuypowerText",children:null==X?void 0:null===(U=X.StoreProductPage)||void 0===U?void 0:null===(L=U.TechSpecSection)||void 0===L?void 0:L.TechSpecTitle}),(0,l.jsx)(o.Z,{optionArray:eb,initialOptionLength:7,optionCategory:e=>e.OptionName,optionItemName:e=>e.SkuName})]}),(0,l.jsx)("div",{id:"storeAddToCartButton",className:B()("mt-[7px] flex w-full justify-center lg:justify-start"),children:(z=(0,P.mV)(ec())?(0,l.jsx)(a.Z,{buttonText:"Add to Cart",isLoading:Q}):(0,l.jsx)("div",{className:"flex w-full items-center justify-center rounded-[60px] bg-[#CCCCCC] px-6 py-3",children:(0,l.jsx)("p",{className:"text-[12px] font-normal leading-[16px]  text-white 2xl:text-[16px] 2xl:leading-[24px]",children:"Sold Out"})}),(0,l.jsxs)("div",{className:B()("flex w-full flex-col items-center justify-center lg:items-start"),children:[(0,l.jsx)("div",{className:" w-full",children:Y.SkuList.length>1&&(0,l.jsxs)("div",{className:"flex w-full flex-col gap-4 py-3 ",children:[(0,l.jsx)("p",{className:"text-[16px] font-bold leading-[26px] text-black-ibuypowerText",children:"Size"}),(0,l.jsx)("div",{className:B()(" w-full  gap-2 ",eD<=5?"flex justify-between":"grid grid-cols-5 ",eD<=7?"lg:flex lg:justify-between":"grid lg:grid-cols-7"),children:eO.map((e,t)=>(0,l.jsx)("button",{disabled:0===(0,P.IE)(e.SkuId,ei),className:B()(" flex w-full  items-center justify-center rounded-[4px] border-[1px]  text-black-ibuypowerText disabled:text-[#ECECEC] ",ej===e.SkuId?"border-black-ibuypowerText disabled:border-[#ECECEC]":"border-gray-light disabled:border-[#ECECEC]"),onClick:()=>{e_(e.SkuId)},children:(0,l.jsx)("p",{className:" min-w-[60px] px-2 py-[3px] text-[16px] font-normal leading-[26px] lg:px-[11px] lg:py-[5px]",children:e.SkuName})},e.SkuId))})]})}),(0,l.jsxs)("form",{className:"flex w-full gap-3 lg:flex-col lg:gap-[26px]",onSubmit:eA,children:[es?(0,l.jsx)("div",{className:"justify-cetner flex w-min lg:justify-start",children:(0,l.jsx)(r.Z,{height:24,width:114})}):(0,l.jsxs)("div",{className:B()("flex w-full items-center justify-center gap-2 fill-black-ibuypowerText text-[16px] font-normal leading-[19px] text-black-ibuypowerText lg:justify-start",eT.length>1?"flex ":"hidden"),children:[(0,l.jsx)("p",{children:"QTY"}),(0,l.jsx)("button",{className:B()({"fill-gray-inputBorder":1===eu}),disabled:1===eu,onClick:e=>{e.preventDefault(),ex(e=>e-1)},children:(0,l.jsx)(S.V_,{width:24,height:24})}),(0,l.jsx)("input",{type:"number",className:"flex min-w-[44px] items-center justify-center rounded-[4px] border-[1px] border-gray-inputBorder px-2 text-center [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",value:eu,onChange:e=>ex(Number(e.target.value)),min:"1",max:eT[eT.length-1]}),(0,l.jsx)("button",{className:B()({"fill-gray-inputBorder":eu===eT[eT.length-1]}),disabled:eu===eT[eT.length-1],onClick:e=>{e.preventDefault(),ex(e=>e+1)},children:(0,l.jsx)(S.dt,{width:24,height:24})})]}),z]})]}))}),(0,l.jsxs)("span",{className:"w-full flex-col",children:[(0,l.jsx)(d.Z,{manualList:eg,manualTitle:null==X?void 0:null===(Z=X.StoreProductPage)||void 0===Z?void 0:null===(G=Z.ManualSection)||void 0===G?void 0:G.ManualTitle}),(0,l.jsx)(m.Z,{customContainerClassName:"flex-col-reverse",renderAccordionButton:e=>{var t,n;let{toggleButton:i,isShowAll:s}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex w-full justify-between py-2 lg:py-3",children:(0,l.jsxs)("button",{id:"highlightAccordionButton",className:B()("flex w-full items-center justify-between "),onClick:()=>{i(),(0,A.ng)("highlightAccordionButton")},disabled:!ep||0===ep.length,children:[(0,l.jsx)("p",{className:"text-[16px] font-bold leading-[26px] text-black-ibuypowerText",children:null==X?void 0:null===(n=X.StoreProductPage)||void 0===n?void 0:null===(t=n.GearHightlights)||void 0===t?void 0:t.HighlightsTitle}),(0,l.jsx)("span",{className:B()("flex h-6 w-6 fill-black-ibuypowerText stroke-none",{"rotate-180":!s},{hidden:!ep||0===ep.length}),children:(0,l.jsx)(S.Eh,{height:24,width:24})})]})}),(0,l.jsx)("hr",{className:B()("w-full border-gray-inputBorder")})]})},renderAccordionSection:()=>(0,l.jsx)("div",{className:"mb-2 flex flex-col justify-start lg:mb-3",children:(0,l.jsx)("ul",{className:B()("ml-[17px] list-disc flex-col"),children:ep.map((e,t)=>(0,l.jsx)("li",{children:(0,l.jsx)("p",{className:"text-[12px] font-normal leading-[16px] text-black-ibuypowerText",children:e})},t))})})}),(0,l.jsx)(u.Z,{reviewItems:Y.ReviewItems,productType:"sku",productId:Y.DefaulSkuId,reviewJson:null==X?void 0:null===(V=X.StoreProductPage)||void 0===V?void 0:V.ReviewSection})]}),em.length>0&&(0,l.jsxs)("div",{className:B()(" flex h-full w-full flex-col items-center gap-4 lg:hidden"),children:[(0,l.jsx)("p",{className:"text-[24px] font-bold leading-[28px] text-black-ibuypowerText",children:"Features"}),(0,l.jsx)(c.Z,{OverviewItems:em,Vendor:!!ed.APlus&&ed.APlus})]})]})]})]}),(0,l.jsx)("div",{style:{top:ef?ew:"auto",bottom:ef?"auto":eE},className:B()("fixed  z-[40] flex h-fit justify-center bg-white  p-4 transition-all duration-200   ",{"hidden w-0":!eh},ev===A.zj.BOTTOM?"w-full shadow-newContainer lg:hidden":"w-full shadow-newContainer "),children:eP(ev)})]})}},82102:function(e,t,n){"use strict";function l(e){let t=["y60","y70"].find(t=>e.toLowerCase().includes(t));return t}function i(e){let{FullContent:{Name:t,Prebuild:n,IsDesktop:i,EasyBuilder:s,Skus:a,Link:r}}=e,o=t.includes("Refurb"),c="";(s||i)&&(c="Custom"),(o||n)&&(c="Prebuilt");let d=l(a[1].Name);return{redirectButtonModelName:r,redirectButtonModelType:c,caseType:d,showButton:void 0!==d}}n.d(t,{C:function(){return i},L:function(){return l}})},54224:function(e,t,n){"use strict";function l(e,t){for(let n of e)if(n.SkuId===t)return n}n.d(t,{De:function(){return l}})},71805:function(e,t,n){"use strict";var l,i;n.d(t,{IE:function(){return d},IV:function(){return c},Jp:function(){return s},RI:function(){return r},b9:function(){return x},mV:function(){return a},s$:function(){return o}}),n(81432);let s=e=>e.join(","),a=e=>e>0||-99===e,r=e=>!a(e),o=e=>-100===e,c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=0;return e&&(n=e>=t?t:e),n},d=(e,t)=>{let n=-99;try{t&&(n=u(t[e]))}catch(e){}return n},u=e=>null==e?-99:e;(i=l||(l={})).SeeDetails="See Details",i.BuyNow="Buy",i.Customize="Customize";let x=e=>{let{model:t,stock:n,isLoading:l=!1}=e;return r(n)?"See Details":t.FullContent.Prebuild||!t.FullContent.IsDesktop?"Buy":"Customize"}},45722:function(e){e.exports={affirm:"affirm_affirm__6Arp_",learn_more:"affirm_learn_more__rEkJ1"}},81472:function(e){e.exports={review_item:"overview_review_item__1fvJS",video:"overview_video__Ckdel",image_with_content:"overview_image_with_content__B9PTj",image_with_content_content:"overview_image_with_content_content___Cc4h",left_side:"overview_left_side__EMx1s",right_side:"overview_right_side__sCOG8",content_text:"overview_content_text__gpvXs",image_and_content_three:"overview_image_and_content_three__PFe64",image_and_content_two:"overview_image_and_content_two__AOaAd",footnote:"overview_footnote__BDYXC",slick:"overview_slick__65XCb"}}},function(e){e.O(0,[5675,9238,6066,6737,6455,3926,6483,9328,6084,8060,9774,2888,179],function(){return e(e.s=96510)}),_N_E=e.O()}]);