var e=Object.defineProperty,t=Object.defineProperties,i=Object.getOwnPropertyDescriptors,o=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,n=(t,i,o)=>i in t?e(t,i,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[i]=o;try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c301f3e1-480d-4dcd-84e6-2658dbfd66c9",e._sentryDebugIdIdentifier="sentry-dbid-c301f3e1-480d-4dcd-84e6-2658dbfd66c9")}catch(nt){}import{o as s,E as l,d,R as u,i as c,V as p,W as h,r as m,K as g,a4 as v,P as y,n as f,Q as P,ac as b,a2 as w,a6 as C,F as k,w as V,a as S,a8 as T,$ as I,U as x,T as B,Y as _}from"./vendor.4f012c28.js";import{b as A,v as D,_ as $,G as R,a8 as E,Y as O,y as U,x as F,bi as M,a4 as q,T as L,a5 as j,K as z,N as K,O as G,F as H}from"./index.73b14df2.js";import N from"./AddToCartButton.ecc801aa.js";import Z from"./ProductBadge.8e35fbac.js";import{p as W}from"./index.ef6bcc73.js";import{I as Y}from"./ImportUtils.a0341324.js";import{P as X}from"./ProductFinancing.e571651d.js";import{u as Q}from"./useProductBundle.9e2e733c.js";import{P as J}from"./PreserveRatio.0188479c.js";import{t as ee}from"./EventAnalytics.1c6680c7.js";import"./useAddToCart.fb1b20dd.js";import"./useProductBadge.3b73cd5a.js";import"./FinancingMessage.1a7fd099.js";import"./TextTemplate.dd32ca28.js";import"./useFinancing.fe45c3d3.js";import"./PayBright.11c3ee1b.js";const te={class:"add-cart-animate-placeholder"};var ie=A({name:"CartAnimationPlaceholder"},[["render",function(e,t,i,o,r,a){return s(),l("div",te)}]]);var oe=A(d({__name:"PanZoom",setup(e){u((e=>({"32768ef0-isZoomSelected ? 'zoom-out': 'zoom-in'":o.value?"zoom-out":"zoom-in"})));const t=c(null),i=c(null),o=c(!1);let r=0,a=0;const n=e=>{const t=e.clientX,o=e.clientY,n=t-r,s=o-a;r=t,a=o,i.value.moveBy(2.75*n,2.75*s,!1)},d=e=>{e.preventDefault(),o.value=!o.value;const t=e.target.getBoundingClientRect(),r=e.clientX-t.left,a=e.clientY-t.top;o.value?(i.value.smoothZoom(r,a,1.5),document.addEventListener("mousemove",n)):(i.value.smoothZoom(r,a,-1.5),document.removeEventListener("mousemove",n))};return p((()=>{(()=>{const e="ontouchstart"in document.documentElement;t.value instanceof HTMLElement&&(i.value=W(t.value,{bounds:!0,minZoom:1,maxZoom:e?4:1.5,boundsPadding:1,zoomDoubleClickSpeed:1,beforeWheel:()=>!0,onTouch:function(e){return!("ontouchstart"in document.documentElement)||2===e.touches.length}}))})()})),h((()=>{var e;document.removeEventListener("mousemove",n),null==(e=i.value)||e.dispose()})),(e,i)=>(s(),l("div",{ref_key:"panZoomSlot",ref:t,class:"pan-zoom-container",onClick:d},[m(e.$slots,"default",{},void 0,!0)],512))}}),[["__scopeId","data-v-32768ef0"]]);const re={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",style:{"enable-background":"new 0 0 32 32"},"xml:space":"preserve"},ae=[g("path",{fill:"#F3F3F3",d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm-3 24H9V8h4v16zm10 0h-4V8h4v16z"},null,-1),g("path",{fill:"#FF6458",class:"st1",d:"M13 24H9V8h4v16zm10 0h-4V8h4v16z"},null,-1)];var ne={render:function(e,t){return s(),l("svg",re,ae)}};const se={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 32 32",style:{"enable-background":"new 0 0 32 32"},"xml:space":"preserve"},le=[g("path",{fill:"#F3F3F3",d:"M16 0C7.2 0 0 7.2 0 16s7.2 16 16 16 16-7.2 16-16S24.8 0 16 0zm-5 24.1V7.9L25 16l-14 8.1z"},null,-1),g("path",{fill:"#FF6458",d:"M11 24.1V7.9L25 16l-14 8.1z"},null,-1)];var de={render:function(e,t){return s(),l("svg",se,le)}};const ue={name:"Gallery",components:{ResponsiveImage:D,"video-player":v((()=>$((()=>import("./Video.fb8da3fb.js")),["assets/Video.fb8da3fb.js","assets/Video.1b265499.css","assets/index.73b14df2.js","assets/index.4af69877.css","assets/vendor.4f012c28.js","assets/DeviceUtils.1018c745.js"]))),PlaySmallSvg:de,PauseSmallSvg:ne,PanZoom:oe},props:{medias:{type:Array,required:!0,default:[]},loading:{type:Boolean,default:!1},widthRatio:{type:Number,default:2890},heightRatio:{type:Number,default:1500}},data:()=>({swiper:null,currentIndex:0,isVideoPlaying:!1,videosPlaying:{},galleryHeight:"auto",mounted:!1,isTouchDevice:!1}),computed:{galleryHeightPx(){return"auto"===this.galleryHeight?"auto":`${this.galleryHeight}px`},altTextPrimary(){var e,t,i;return`${null!=(i=(null==(e=this.medias[this.currentIndex])?void 0:e.alt)||(null==(t=this.medias[this.currentIndex])?void 0:t.product.title))?i:"Product"} - Primary View ${this.currentIndex+1} of ${this.medias.length} (Click To Zoom).`},altTextGallery(){var e,t,i;return`${null!=(i=(null==(e=this.medias[this.currentIndex])?void 0:e.alt)||(null==(t=this.medias[this.currentIndex])?void 0:t.product.title))?i:"Product"} - Gallery View ${this.currentIndex+1} of ${this.medias.length}.`}},watch:{medias:{handler(e,t){e&&e!==t&&this.mounted&&this.$nextTick((()=>{var e;this.onThumbnailHover(null,0),null==(e=this.swiper)||e.update()}))}},loading:{handler(e,t){e&&this.$refs&&this.$refs.swiperWrapper?this.galleryHeight=this.$refs.swiperWrapper.offsetHeight:setTimeout((()=>{this.galleryHeight="auto"}),500)}}},mounted(){this.mounted=!0,this.isTouchDevice="ontouchstart"in document.documentElement,this.isTouchDevice?this.onFocus():(this.$el.addEventListener("mouseenter",this.onFocus,{capture:!0,once:!0}),this.$el.addEventListener("focus",this.onFocus,{capture:!0,once:!0}))},methods:{onFocus(){try{this.setUpSwiper()}catch(nt){console.error(nt)}},async setUpSwiper(){const e="ontouchstart"in document.documentElement,t=await Y.getSwiper();this.swiper=new t(this.$refs.swiper,{zoom:!1,effect:"slide",speed:e?300:80,preloadImages:!1,keyboard:!0,threshold:30,noSwipingClass:"article-video-bottom-bar, .article-video-volume",pagination:{el:this.$refs.pagination,clickable:!e,type:"bullets",dynamicBullets:!0},lazy:{loadPrevNext:!0,loadOnTransitionStart:e,loadPrevNextAmount:1}}),this.swiper.on("slideChangeTransitionEnd",(()=>{this.currentIndex=parseInt(this.getSlideIndex(this.swiper),10),this.emitSlide()}))},getSlideIndex(e){if(!e||!e.slides)return 0;const{activeIndex:t}=e;return t},slideTo(e){window.setTimeout((()=>{this.swiper&&!this.isVideoPlaying&&this.swiper.slideTo(e)}),0)},onThumbnailHover(e,t){this.swiper&&!this.isVideoPlaying&&this.swiper.slideTo(t,0)},onThumbnailClick(e,t){this.$emit("trackEvents","Old_Gallery_Thumbnail_Clicked"),this.swiper&&this.swiper.slideTo(t,0)},onVideoPlay(e,t){this.videosPlaying[t]=!0,this.isVideoPlaying=!0,this.$emit("videoplay")},onVideoPause(e,t){this.videosPlaying[t]=!1,this.isVideoPlaying=!1,this.$emit("videopause")},onVideoThumbnailClick(e,t){this.videosPlaying[t]=!this.videosPlaying[t]},emitSlide(){const e=this.medias[this.currentIndex];e&&this.$emit("changeSlide",{type:e.type,index:this.currentIndex})}}},ce={class:"gallery gallery-square"},pe={class:"activeImage"},he=["id","alt","type"],me=["id","alt","type"],ge={class:"swiper-pagination-desktop"},ve={class:"thumbnails"},ye=["onMouseover","onClickPassive"],fe={class:"thumbnail-link"},Pe=["type","onMouseover","onClickPassive"],be={class:"thumbnail-link video-thumbnail"},we={class:"swiper-pagination-mobile__container"},Ce={ref:"pagination",class:"swiper-pagination-mobile"};const ke={name:"ProductSet",components:{ResponsiveImage:D,PreserveRatio:J,AddToCartButton:N,CartAnimationPlaceholder:ie,Gallery:A(ue,[["render",function(e,t,i,o,r,a){const n=y("ResponsiveImage"),d=y("PanZoom"),u=y("video-player"),c=y("PlaySmallSvg"),p=y("PauseSmallSvg");return s(),l("div",ce,[i.medias&&i.medias.length?(s(),l("div",{key:0,class:f(["overlay",[i.loading&&"reloading"]])},t[0]||(t[0]=[g("div",{class:"loader large"},null,-1)]),2)):P("",!0),g("div",pe,[g("div",{ref:"swiper",class:f(["swiper-container swiper-container-horizontal",{reloading:i.loading,"has-pinch":r.isTouchDevice}])},[g("div",{ref:"swiperWrapper",class:"swiper-wrapper",style:b({height:a.galleryHeightPx})},[(s(!0),l(w,null,C(i.medias,((e,t)=>(s(),l(w,null,["IMAGE"===e.type?(s(),l("div",{id:`image-id-${t}`,key:e.url,class:"swiper-slide",alt:e.alt||e.product.title,type:e.type,style:b({height:a.galleryHeightPx})},[k(d,null,{default:V((()=>[k(n,{url:e.url,lazy:0!==t,alt:a.altTextPrimary,width:1050,height:545},null,8,["url","lazy","alt"])])),_:2},1024)],12,he)):"VIDEO"===e.type&&r.mounted?(s(),l("div",{id:`image-id-${t}`,key:e.url,class:"swiper-slide",alt:e.alt||e.product.title,type:e.type},[g("div",null,[k(u,{modelValue:r.videosPlaying[t],"onUpdate:modelValue":e=>r.videosPlaying[t]=e,active:r.currentIndex===t,poster:e.thumbnailUrl,hls:e.hlsUrl,dash:e.dashUrl,mp4:e.url,product:e.product,onPlay:e=>a.onVideoPlay(e,t),onPause:e=>a.onVideoPause(e,t)},null,8,["modelValue","onUpdate:modelValue","active","poster","hls","dash","mp4","product","onPlay","onPause"])])],8,me)):P("",!0)],64)))),256))],4)],2),g("div",ge,[g("ul",ve,[(s(!0),l(w,null,C(i.medias,((e,t)=>(s(),l(w,null,["IMAGE"===e.type?(s(),l("li",{key:e.url,class:f(["item",r.currentIndex===t&&"active"]),onMouseover:e=>a.onThumbnailHover(e,t),onClickPassive:e=>a.onThumbnailClick(e,t)},[g("a",fe,[k(n,{url:e.url,widths:[64],breakpoints:[],alt:a.altTextGallery,height:33,width:64},null,8,["url","alt"])])],42,ye)):"VIDEO"===e.type?(s(),l("li",{key:e.url,class:f(["item video-play",r.currentIndex===t&&"active"]),type:e.type,onMouseover:e=>a.onThumbnailHover(e,t),onClickPassive:e=>a.onVideoThumbnailClick(e,t)},[g("a",be,[r.isVideoPlaying?P("",!0):(s(),S(c,{key:0,class:"icon-thumbnail-play"})),r.isVideoPlaying?(s(),S(p,{key:1,class:"icon-thumbnail-pause"})):P("",!0)])],42,Pe)):P("",!0)],64)))),256))])])]),g("div",we,[g("div",Ce,null,512)])])}],["__scopeId","data-v-1081e332"]]),ProductBadge:Z,ProductFinancing:X},props:{set:{type:Object,required:!0},promotion:{type:String,default:null},showAddToCart:{type:Boolean,default:!0},primaryRoom:{type:String,default:null},shouldShowShopAllSubText:{type:Boolean,default:!1},titleOnTop:{type:Boolean,default:!1}},setup(e){const{getProductBundlePrice:t}=Q(),{currentCountry:i}=R(),o=c(null),r=c(null),a=c(null),n=c(null),s=c(null),l=c(null),d=T(),u=()=>{const i=t(e.set);o.value=i.originalPrice,r.value=i.bundleDiscount,a.value=i.saleDiscount,n.value=i.clearanceDiscount,s.value=i.totalDiscount,l.value=i.finalPrice};function p(e){1!==e.scale&&e.preventDefault()}return u(),I((()=>e.set),(()=>u())),I((()=>null==d?void 0:d.query),(()=>{!function(e){const t=document.querySelector("html");t&&(t.classList.add("overflow-hidden"),t&&((null==e?void 0:e.query.hasOwnProperty("gallery"))||(null==e?void 0:e.query.hasOwnProperty("bundleGallery")))?(H.instance.hideWidget(),document.addEventListener("touchmove",p,!1)):(t.classList.remove("overflow-hidden"),H.instance.showWidget(),document.removeEventListener("touchmove",p)))}(d)})),{originalPrice:o,bundleDiscount:r,saleDiscount:a,clearanceDiscount:n,totalDiscount:s,finalPrice:l,getPrices:u,currentCountry:i,route:d}},data:()=>({configuration:[],primaryProduct:{productImage:null},mobile:E.isMobileAndSmaller,mounted:!1,notification:!0}),computed:{bundleImages(){return this.set.productBundleImages?[...this.set.productBundleImages.filter((e=>"PRODUCT_BUNDLE_IMAGE_TYPE_FLOOR_PLAN"!==e.productBundleImageType)).map((e=>this.getResponsiveImageSource(e.mobileFileKey,e.desktopFileKey,this.set.title)))]:[]},floorplanImages(){return this.set.productBundleImages?[...this.set.productBundleImages.filter((e=>"PRODUCT_BUNDLE_IMAGE_TYPE_FLOOR_PLAN"===e.productBundleImageType)).map((e=>this.getResponsiveImageSource(e.mobileFileKey,e.desktopFileKey,this.set.title)))]:[]},productImages(){return this.configuration.map((e=>({alt:e.activeVersion.title,key:e.activeVersion.imageUrl,url:e.activeVersion.imageUrl})))},productDimensionImages(){return this.configuration.map((e=>({alt:e.activeVersion.title,key:e.activeVersion.imageUrl,url:e.activeVersion.dimensionImageUrl})))},images(){return[...this.bundleImages,...this.productImages,...this.productDimensionImages,...this.floorplanImages]},medias(){return this.images.filter((e=>e)).map((e=>{return s=((e,t)=>{for(var i in t||(t={}))r.call(t,i)&&n(e,i,t[i]);if(o)for(var i of o(t))a.call(t,i)&&n(e,i,t[i]);return e})({},e),l={type:e.type||"IMAGE",url:`${e.url}?fit=max&w={width}&q={q}`,thumbnailUrl:`${e.url}?fit=max&w={width}&q={q}`,zoomUrl:`${e.url}?fit=max&w={width}&q=50`,product:{}},t(s,i(l));var s,l}))},products(){return this.set?this.set.productBundleProducts:[]},currency:()=>O().currencySymbol,productsParsed(){return this.configuration.map((e=>({id:e.activeVersion.hashKey,quantity:e.quantity}))).reverse()},isDesktopAndGreater:()=>E.isDesktopAndGreater,shopAllBundleSubText(){var e,t;return(null==(t=null==(e=this.set)?void 0:e.productBundleRooms)?void 0:t[0])?`Shop all ${this.set.productBundleRooms[0].toLowerCase()} bundles`:""},shopAllBundleLink(){return this.$router.resolve({name:"sets",query:{"filter.rooms":this.set.productBundleRooms[0]}}).href},isUSA:()=>U.isUS(),widthRatio(){return this.mobile?400:2890},heightRatio(){return this.mobile?472:1500}},watch:{set:{immediate:!0,handler(e){var t;(null==(t=null==e?void 0:e.productBundleProducts)?void 0:t.length)&&(this.primaryProduct=e.productBundleProducts[0],this.configuration=[...e.productBundleProducts])}}},mounted(){this.mounted=!0},methods:{getResponsiveImageSource(e,t,i){return this.mobile&&e?{alt:i,key:e,url:e}:t?{alt:i,key:t,url:t}:null},getVariations:e=>e&&e.variations?[e,...e.variations]:[e],getConfiguredProduct(e){return this.configuration[e]},getProductUrl:({hashKey:e,slug:t})=>`/product/${e}/${t}`,isConfigurationOnSaleClearance(e){const t=this.getConfiguredProduct(e);return t.activeVersion.onClearance||t.activeVersion.onSale},getConfiguredOriginalPrice(e){const t=this.getConfiguredProduct(e);return this.getCountryPrice(t.activeVersion.price).price*t.quantity},getOriginalPrice(e){const t=this.getConfiguredProduct(e);return this.getCountryPrice(t.activeVersion.price).price},getSalePrice(e){const t=this.getConfiguredProduct(e);return this.getCountryPrice(t.activeVersion.price).sale},getConfiguredSalePrice(e){const t=this.getConfiguredProduct(e);let i;return t.activeVersion.onClearance?i=this.getCountryPrice(t.activeVersion.price).clearance:t.activeVersion.onSale&&(i=this.getCountryPrice(t.activeVersion.price).sale),i*t.quantity},getConfiguredFinalPrice(e){return this.isConfigurationOnSaleClearance(e)?this.getConfiguredSalePrice(e):this.getConfiguredOriginalPrice(e)},isVariationSelected(e,t){return this.configuration[e].activeVersion.hashKey===t.hashKey},select(e,t,i){this.configuration[t].activeVersion.hashKey===i.hashKey||(e.preventDefault(),0===t&&(this.primaryProduct=i),this.configuration[t].activeVersion=i,this.configuration[t].activeVersion.productImage=`${this.configuration[t].activeVersion.imageUrl}?fit=max&w={width}&q={q}`,this.$refs.gallery.slideTo(t+this.bundleImages.length),this.getPrices())},formatMoney:F,goToRoomBundles(){window.location.href=this.shopAllBundleLink},formatAndRoundDownMoney:M,formatAndRoundUpMoney:q,getCountryPrice:e=>e&&Array.isArray(e)?e.find((e=>e.currencyCode.toLowerCase()==O().currency)):{},emitEvent(e){this.$emit(e)},goBack(){this.$router.back()},toggleSnackbar(){this.notification=!1},trackEvents(e){L.track(e,{bundleId:this.set.id})},addToCart(){var e,t;const i=null==(e=this.$router.currentRoute.value.query)?void 0:e.index,o=null==(t=this.$router.currentRoute.value.query)?void 0:t.queryID,r=j+this.set.id;o&&i?z(r,o,i,"Product Added To Cart After Search"):i&&K(i,[r],"Product Added To Cart"),this.set.productBundleProducts.forEach((e=>{var t,r,a,n,s,l,d,u,c,p,h,m,g;ee({hashKey:null==(t=null==e?void 0:e.activeVersion)?void 0:t.hashKey,skuNo:null==(r=null==e?void 0:e.activeVersion)?void 0:r.skuNo,title:null==(a=null==e?void 0:e.activeVersion)?void 0:a.title},{final:U.isUS()?null==(s=null==(n=null==e?void 0:e.activeVersion)?void 0:n.price[0])?void 0:s.price:null==(d=null==(l=null==e?void 0:e.activeVersion)?void 0:l.price[1])?void 0:d.price,currency:U.isUS()?null==(c=null==(u=null==e?void 0:e.activeVersion)?void 0:u.price[0])?void 0:c.currencyCode:null==(h=null==(p=null==e?void 0:e.activeVersion)?void 0:p.price[1])?void 0:h.currencyCode},(null==(m=this.set)?void 0:m.productBundleRooms[0])+" bundle"),G(null==(g=null==e?void 0:e.activeVersion)?void 0:g.hashKey,i,o)})),L.track("Bundle_Add_to_Cart",{newGallery:!1}),this.$emit("addToCart")}}},Ve={class:"product-set-container"},Se={class:"product-set-image"},Te={key:0,class:"header-default light"},Ie={class:"product-set-list"},xe={class:"product-set__title-container"},Be={key:0,class:"header-default light new-pdp-title product-set__title"},_e={key:1,class:"product-set-description"},Ae=["href"],De={class:"products"},$e=["href"],Re={class:"product-badge-custom"},Ee={class:"product-details"},Oe={class:"product-title"},Ue=["href"],Fe={key:0,class:"product-variations",role:"radiogroup","aria-label":"Product Variations"},Me=["href","aria-label","aria-checked","onClick"],qe={class:"product-link"},Le=["href"],je={class:"product-price"},ze={key:0,"aria-label":"original price,",class:"original-total"},Ke=["aria-label"],Ge={class:"product-set-information"},He={class:"product-set-pricing"},Ne={key:0,class:"product-set-line"},Ze={class:"product-set-line-title"},We={class:"product-set-line-price product-set-bundle-sale"},Ye={key:1,class:"product-set-line"},Xe={class:"product-set-line-price product-set-bundle-sale"},Qe={key:2,class:"product-set-line"},Je={class:"product-set-line-price"},et={class:"product-set-line"},tt={class:"product-set-line-price"},it={key:0,"aria-label":"original price, ",class:"original-total"},ot=["aria-label"],rt=["aria-label"];var at=A(ke,[["render",function(e,t,i,o,r,a){var n;const d=y("Gallery"),u=y("ResponsiveImage"),c=y("PreserveRatio"),p=y("ProductBadge"),h=y("ProductFinancing"),v=y("CartAnimationPlaceholder"),b=y("AddToCartButton");return s(),l("div",{class:f(["product-set",[`product-set-${null==(n=i.set)?void 0:n.id}`]])},[g("div",Ve,[g("div",Se,[k(d,{ref:"gallery",medias:a.medias,"width-ratio":a.widthRatio,"height-ratio":a.heightRatio,onTrackEvents:a.trackEvents,onChangeSlide:t[0]||(t[0]=e=>a.emitEvent("slideChange"))},null,8,["medias","width-ratio","height-ratio","onTrackEvents"]),g("div",null,[m(e.$slots,"body",{},(()=>[!i.titleOnTop&&i.set&&i.set.title?(s(),l("h2",Te,x(i.set.title),1)):P("",!0)]))])]),g("div",Ie,[g("div",xe,[i.titleOnTop&&i.set&&i.set.title?(s(),l("h2",Be,x(i.set.title),1)):P("",!0),i.set&&i.set.description?(s(),l("div",_e,x(i.set.description),1)):P("",!0),i.shouldShowShopAllSubText&&a.shopAllBundleSubText?(s(),l("a",{key:2,class:"accent",href:a.shopAllBundleLink},x(a.shopAllBundleSubText),9,Ae)):P("",!0)]),g("div",De,[(s(!0),l(w,null,C(a.products,((e,i)=>(s(),l("div",{key:e.hashKey,class:"product"},[g("div",{class:"product-image",onClick:t[1]||(t[1]=e=>a.emitEvent("productClick"))},[k(c,{width:2600,height:1349},{default:V((()=>[g("a",{href:a.getProductUrl(a.getConfiguredProduct(i).activeVersion),target:"_blank"},[k(B,{name:"fade",mode:"out-in"},{default:V((()=>[k(u,{url:a.getConfiguredProduct(i).activeVersion.productImage,alt:a.getConfiguredProduct(i).activeVersion.title,widths:[92],breakpoints:[],skeleton:!0,height:48,width:92},null,8,["url","alt"])])),_:2},1024)],8,$e)])),_:2},1024),g("div",Re,[a.getConfiguredProduct(i).activeVersion.onSale?(s(),S(p,{key:0,type:"sale","original-price":a.getOriginalPrice(i),"sale-price":a.getSalePrice(i)},null,8,["original-price","sale-price"])):a.getConfiguredProduct(i).activeVersion.onClearance?(s(),S(p,{key:1,type:"clearance"})):P("",!0)])]),g("div",Ee,[g("div",Oe,[g("a",{href:a.getProductUrl(a.getConfiguredProduct(i).activeVersion),target:"_blank"},[a.getConfiguredProduct(i).quantity>1?(s(),l(w,{key:0},[_(x(a.getConfiguredProduct(i).quantity)+" x ",1)],64)):P("",!0),_(" "+x(a.getConfiguredProduct(i).activeVersion.title),1)],8,Ue)]),e.productThumbnails.length>1?(s(),l("div",Fe,[(s(!0),l(w,null,C(e.productThumbnails,(e=>(s(),l("a",{key:e.hashKey,class:f(["product-variation",{active:a.isVariationSelected(i,e)}]),href:`/product/${e.hashKey}/${e.slug}`,target:"_blank","aria-label":e.title,"aria-checked":a.isVariationSelected(i,e),role:"radio",onClick:t=>a.select(t,i,e)},[k(u,{url:e.variantImageUrl+"?fit=max&w={width}&q={q}",widths:[28],breakpoints:[],skeleton:!0,alt:`${e.title}`},null,8,["url","alt"])],10,Me)))),128))])):P("",!0),g("div",qe,[g("a",{href:a.getProductUrl(a.getConfiguredProduct(i).activeVersion),target:"_blank",class:"secondary"}," View Product ",8,Le)])]),g("div",je,[a.isConfigurationOnSaleClearance(i)?(s(),l("span",ze,x(a.formatMoney(a.currency,a.getConfiguredOriginalPrice(i))),1)):P("",!0),g("span",{"aria-label":a.isConfigurationOnSaleClearance(i)?"sale price,":"price,",class:"final-total semibold accent"},x(a.formatMoney(a.currency,a.getConfiguredFinalPrice(i))),9,Ke)])])))),128))]),g("div",Ge,[k(h,{"amount-in-cents":o.finalPrice},null,8,["amount-in-cents"]),k(h,{"amount-in-cents":o.finalPrice,showCreditKeyFinancingMessage:!0,class:"credit-key-financing-message"},null,8,["amount-in-cents"])]),g("div",He,[o.saleDiscount?(s(),l("div",Ne,[g("div",Ze,[i.promotion?(s(),l(w,{key:0},[_(x(i.promotion),1)],64)):(s(),l(w,{key:1},[_("Sale")],64)),t[3]||(t[3]=_(" Savings ",-1))]),g("div",We,"–"+x(a.formatMoney(a.currency,o.saleDiscount)),1)])):P("",!0),o.clearanceDiscount?(s(),l("div",Ye,[t[4]||(t[4]=g("div",{class:"product-set-line-title"},"Clearance Savings",-1)),g("div",Xe,"–"+x(a.formatMoney(a.currency,o.clearanceDiscount)),1)])):P("",!0),o.bundleDiscount?(s(),l("div",Qe,[t[5]||(t[5]=g("div",{class:"product-set-line-title"},"Bundle Discount",-1)),g("div",Je,"–"+x(a.formatAndRoundDownMoney(a.currency,o.bundleDiscount)),1)])):P("",!0),g("div",et,[t[6]||(t[6]=g("div",{class:"product-set-line-title"},"Subtotal",-1)),g("div",tt,[o.totalDiscount?(s(),l("span",it,x(a.formatAndRoundDownMoney(a.currency,o.originalPrice)),1)):P("",!0),g("span",{"aria-label":o.totalDiscount?"price after discount and savings, ":"price,",class:"final-total semibold accent"},x(a.formatAndRoundUpMoney(a.currency,o.finalPrice)),9,ot)])])]),k(v),i.showAddToCart?(s(),S(b,{key:0,products:a.productsParsed,animate:a.isDesktopAndGreater,class:"add-to-cart-button",onClick:a.addToCart},{default:V((()=>t[7]||(t[7]=[_(" Add Bundle to Cart ",-1)]))),_:1,__:[7]},8,["products","animate","onClick"])):(s(),l("button",{key:1,class:"shop-all-button","aria-label":`Shop all ${i.primaryRoom} bundles`,onClick:t[2]||(t[2]=(...e)=>a.goToRoomBundles&&a.goToRoomBundles(...e))}," Shop All "+x(i.primaryRoom)+" Bundles ",9,rt))])])],2)}]]);export{at as default}; //# sourceMappingURL=ProductSet.f46a3b0b.js.map