1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14],{13735:(e,r,a)=>{"use strict";a.d(r,{$F:()=>i,c:()=>t,O9:()=>n,oz:()=>l});let t={carouselTitleTag:"h2",carouselTitleType:"h2",arrowVisibility:"top",carouselDescType:"p1",options:{arrows:!0,perPage:3,breakpoints:{320:{perPage:1,perMove:1,padding:{left:0,right:"80px"}},768:{perPage:2,perMove:2,padding:{left:0,right:"40px"}},992:{perPage:4,perMove:4,padding:{left:0,right:"40px"}},1441:{perPage:4,perMove:4,padding:0}},pagination:!1}},i=e=>({contentAlignment:"left",mediaPosition:"right",aspectRatio:{ratio:"4-3",rounded:!0,className:"aspect-ratio--objectfit-contain"},cardTileProps:{titleTag:"h3",titleType:"h3",descTag:"p",descType:"p2",btnLink:"https://play.google.com/store/apps/details?id=com.bilt.mobile&referrer=utm_source%3Dproducthub%26utm_medium%3Dnone",buttonVariant:"playStore",buttonAriaProps:{"aria-label":e("bilt-app-button-aria-label","Download the Bilt app from the Play Store")},openInNewTab:!0,secondaryBtnLink:"https://apps.apple.com/app/apple-store/id879452214?pt=118210972&ct=producthub&mt=8",secondaryButtonOpenInNewTab:!0,secondaryButtonVariant:"appStore",contentAlignment:"left",childrenOrder:"top",cardImageBg:!1,lineClamp:!1,btnSize:"sm",buttonFill:"outlined",secondaryFill:"outlined",secondaryButtonAriaProps:{"aria-label":e("bilt-app-secondary-button-aria-label","Download the Bilt app from the App Store")}},noGutters:!1});function l(e,r,a){let t="cooking-app-category-".concat(null==e?void 0:e.toUpperCase()),i=a(t);if(i!==t)return i;let l="cooking-app-category-".concat(r),n=a(l);if(n!==l)return n}function n(e,r){let a="cooking-app-copy-".concat(e),t=r(a);if(t===a)return;let i="cooking-app-alt-".concat(e),l=r(i),n="cooking-app-link-".concat(e),o=r(n);return{copy:t,alt:l===i?r("cooking-app-alt"):l,link:o===n?r("cooking-app-link"):o}}},17138:(e,r,a)=>{"use strict";a.r(r),a.d(r,{__N_SSG:()=>V,default:()=>H});var t=a(37876),i=a(14232),l=a(7135),n=a(54405),o=a(54560),s=a(36913),c=a(41292),d=a(99742);let p=e=>{var r;let{recipeData:a=[],locale:i,sku:o}=e,{t:s}=(0,l.Bd)("common");if(!a.length)return null;let c=null!=(r=d.env.NEXT_PUBLIC_ORIGIN)?r:"",p=s("recipes","Recipes"),u={images:a.filter(e=>{var r;return!!(null==e||null==(r=e.image)?void 0:r.url)}).map(e=>{var r,a;return{src:e.image.url,alt:null!=(r=e.title)?r:p,href:"".concat(c,"/inspiration/").concat(i,"/recipes").concat(null!=(a=e.webSlug)?a:"")}}),iconWithText:{title:p,icon:{iconName:"arrow-right",iconPrefix:"fak"},href:"".concat(c,"/inspiration/").concat(i,"/recipes/by-sku/").concat(o.toLowerCase())}};return(0,t.jsx)(n.ImageHolder,{data:u,aspectRatio:"2x2"})};var u=a(99742);let h=e=>{var r;let{beanzData:a=[],locale:i}=e,{t:o}=(0,l.Bd)("common");if(!a.length)return null;let s=null!=(r=u.env.NEXT_PUBLIC_ORIGIN)?r:"",c=o("coffee","Coffee"),d={images:a.filter(e=>!!(null==e?void 0:e.pdpImage)).map(e=>{var r,a;return{src:e.pdpImage,alt:null!=(r=e.productName)?r:c,href:"https://www.beanz.com".concat(null!=(a=e.href)?a:"")}}),iconWithText:{title:c,icon:{iconName:"arrow-right",iconPrefix:"fak"},href:((e,r)=>{let a="https://www.beanz.com/".concat(r,"/coffee");if(!e)return a;try{let a=new URL(e);return a.hostname="beanz.com",a.pathname="/".concat(r,"/coffee"),a.toString()}catch(e){return a}})(s,i)}};return(0,t.jsx)(n.ImageHolder,{data:d,aspectRatio:"2x2"})},m=(e,r)=>e.filter(e=>!!(null==e?void 0:e.pdpImage)).map(e=>{var a,t,i;return{src:e.pdpImage,alt:null!=(a=e.productName)?a:r,href:null!=(i=null!=(t=e.pdpUri)?t:e.href)?i:""}});var g=a(99742);let x=e=>{var r;let{accessoriesData:a=[],locale:i,sku:o}=e,{t:s}=(0,l.Bd)("common");if(!a.length)return null;let c=null!=(r=g.env.NEXT_PUBLIC_ORIGIN)?r:"",d=s("accessories","Accessories"),p=s("accessories-shop-all-btn-link",{defaultValue:"".concat(c,"/").concat(i,"/shop/coffee-espresso/accessories"),origin:c,locale:i,parentItemID:o}),u={images:m(a,d),iconWithText:{title:d,icon:{iconName:"arrow-right",iconPrefix:"fak"},href:null==p?void 0:p.toLowerCase()}};return(0,t.jsx)(n.ImageHolder,{data:u,aspectRatio:"2x2"})};var f=a(40866),v=a(99742);let b=e=>{var r,a;
1let{cleaningAndSuppliesData:i=[],locale:o,primaryWebCategoryGroup:s}=e,{t:c}=(0,l.Bd)("common");if(!i.length)return null;let d=null!=(a=v.env.NEXT_PUBLIC_ORIGIN)?a:"",p=(null==(r=i.at(0))?void 0:r.primaryWebCategory)||"",u=c("cleaning-supplies","Cleaning Supplies"),h={images:m(i,u),iconWithText:{title:u,icon:{iconName:"arrow-right",iconPrefix:"fak"},href:"".concat(d,"/").concat(o,"/shop/").concat((0,f.LH)(s),"/").concat(p).toLowerCase()}};return(0,t.jsx)(n.ImageHolder,{data:h,aspectRatio:"2x2"})},_=e=>{let{recipeData:r=[],beanzData:a=[],accessoriesData:o=[],cleaningAndSuppliesData:s=[],productData:d,locale:u,sku:m}=e,{t:g}=(0,l.Bd)("common"),f=(0,i.useRef)({exploreMore:null});return((0,c.J)(f.current),r.length||a.length||o.length||s.length)?(0,t.jsx)(n.Grid,{children:(0,t.jsxs)("div",{className:"xps-my-appliance__explore-more",ref:e=>{f.current.exploreMore=e},children:[(0,t.jsx)(n.Spacer,{size:"md"}),(0,t.jsx)(n.Divider,{}),(0,t.jsx)(n.Spacer,{size:"md"}),(0,t.jsx)(n.Text,{tag:"h2",type:"h4",className:"xps-my-appliance__explore-more-heading",children:g("explore-more-title","Explore more")}),(0,t.jsx)(n.Spacer,{size:"sm"}),(0,t.jsxs)("div",{className:"xps-my-appliance__explore-more-grid",children:[(0,t.jsx)(p,{recipeData:r,locale:u,sku:m}),(0,t.jsx)(h,{beanzData:a,locale:u}),(0,t.jsx)(x,{accessoriesData:o,locale:u,sku:m}),(0,t.jsx)(b,{cleaningAndSuppliesData:s,locale:u,primaryWebCategoryGroup:null==d?void 0:d.primaryWebCategoryGroup})]}),(0,t.jsx)(n.Spacer,{size:"md"})]})}):null};var N=a(59874),j=a(69164),y=a(99742);let w=e=>{var r,a;let{productData:i,userGuideURL:o,locale:s}=e,{t:c}=(0,l.Bd)("common"),{globalConfig:d}=(0,N.h5)();if(!i)return null;let p=null!=(r=y.env.NEXT_PUBLIC_ORIGIN)?r:"",{brand:u="",region:h="",language:m="",countryName:g=""}=null!=d?d:{},{primaryWebCategory:x="",parentItemID:f=""}=i,v=null!=(a=j.Qu[x])?a:x.toLowerCase(),b=c("support-link",{defaultValue:"https://support.breville.com"}),_="".concat(b,"/s/?language=").concat([m,g.toUpperCase()].join("_"),"®ion=").concat(h,"&brand=").concat(u),w=c("parts-shop-all-btn-link",{defaultValue:"".concat(p,"/").concat(s,"/shop/").concat(v,"/parts/").concat(f).toLowerCase(),origin:p,locale:s,categorySlug:v,parentItemID:f}),C=[{key:"troubleshoot",title:c("troubleshoot","Troubleshoot"),iconName:"wrench",href:_,openInNewTab:!1},{key:"find-parts",title:c("find-parts","Find Parts"),iconName:"gear",href:null==w?void 0:w.toLowerCase(),openInNewTab:!1},{key:"contact-support",title:c("contact-support","Contact support"),iconName:"
1comments",href:_,openInNewTab:!1},{key:"download-user-guide",title:c("download-user-guide","Download User Guide"),iconName:"book-blank",href:o,openInNewTab:!0}];return(0,t.jsxs)("div",{className:"xps-my-appliance__help-support","data-testid":"help-support",children:[(0,t.jsx)(n.IconWithText,{title:c("help-support-title","Help & Support"),titleTag:"h2",titleType:"h6",icon:{iconName:"arrow-right",iconPrefix:"fak",iconSize:"4x"},iconPosition:"right"}),(0,t.jsx)("div",{className:"xps-my-appliance__help-support-rows",children:C.map(e=>(0,t.jsx)(n.IconWithText,{title:e.title,titleType:"p2",icon:{iconName:e.iconName,iconPrefix:"fak",iconSize:"5x"},className:e.href?void 0:"xps-my-appliance__help-support-row--disabled","aria-disabled":!e.href||void 0,border:!0,padding:"1.25rem",borderRadius:"1rem",href:e.href||void 0,target:e.href&&e.openInNewTab?"_blank":void 0,rel:e.href&&e.openInNewTab?"noopener noreferrer":void 0},e.key))})]})};var C=a(3143);let T=e=>{let{data:r}=e;if(!r)return null;let{title:a,description:i,image:l,href:o}=r;return(0,t.jsx)("a",{className:"xps-my-appliance__breville-plus-app",href:o,"aria-label":a,"data-testid":"breville-plus-app",children:(0,t.jsx)(n.CardTileV2,{mediaType:C.zu.Image,title:{tag:"h2",type:"h2"},description:{tag:"div",type:"p2",richText:i},image:l,aspectRatio:{ratio:"16-9",rounded:!0},backgroundColor:"--sg-primary-brand-bg",lineClamp:!0,children:(0,t.jsx)(n.IconWithText,{title:a,icon:{iconName:"arrow-right",iconPrefix:"fak",iconSize:"4x"},iconPosition:"right"})})})};var k=a(13735);let I="https://breville.scene7.com/is/image/brevilleprod/joule-oven-lpe-b-splitteaser",S=e=>{let{data:r}=e;if(!r)return null;let{title:a,description:i,image:l,href:o}=r;return(0,t.jsx)("a",{className:"xps-my-appliance__shop-product",href:o,"aria-label":a,"data-testid":"shop-product",children:(0,t.jsx)(n.CardTileV2,{mediaType:C.zu.Image,title:{tag:"h2",type:"h2"},description:{tag:"div",type:"p2",richText:i},image:l,aspectRatio:{ratio:"16-9",rounded:!0},backgroundColor:"--sg-primary-brand-bg",lineClamp:!0,children:(0,t.jsx)(n.IconWithText,{title:a,icon:{iconName:"arrow-right",iconPrefix:"fak",iconSize:"4x"},iconPosition:"right"})})})},P={iconName:"check",iconPrefix:"fak",iconSize:"2x",iconColor:"--sg-primary-ramp-2"},D=e=>{let{state:r,modelName:a,serialNumber:i}=e,{t:o}=(0,l.Bd)();if("visitor"===r||"registered"===r)return null;let s="identified"===r?o("onramp-owner-product-identified","Product Identified"):o("onramp-owner-saved-to-account","Saved to your account"),c="identified"===r&&(a||i);return(0,t.jsxs)("div",{className:"identified"===r?"xps-ph-hero-reg__status xps-ph-hero-reg__status--identified":"xps-ph-hero-reg__status xps-ph-hero-reg__status--saved","data-testid":"hero-reg-status-bar",children:[(0,t.jsxs)("div",{className:"xps-ph-hero-reg__status-badge",children:[(0,t.jsx)(n.Icon,{iconName:"
1circle-check",iconPrefix:"fak",iconSize:"3x",iconColor:"--sg-primary-ramp-1"}),(0,t.jsx)(n.Text,{type:"h6",tag:"span",className:"xps-ph-hero-reg__status-label",children:s})]}),c&&(0,t.jsx)("div",{className:"xps-ph-hero-reg__reg-divider","aria-hidden":"true"}),c&&(0,t.jsxs)("div",{className:"xps-ph-hero-reg__reg-data",children:[a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"xps-ph-hero-reg__reg-col",children:[(0,t.jsx)(n.Text,{type:"p4-bold",tag:"span",className:"xps-ph-hero-reg__reg-label",children:o("onramp-owner-model","Model")}),(0,t.jsx)(n.Text,{type:"p4",tag:"span",className:"xps-ph-hero-reg__reg-value",children:a})]}),i&&(0,t.jsx)("div",{className:"xps-ph-hero-reg__reg-divider","aria-hidden":"true"})]}),i&&(0,t.jsxs)("div",{className:"xps-ph-hero-reg__reg-col",children:[(0,t.jsx)(n.Text,{type:"p4-bold",tag:"span",className:"xps-ph-hero-reg__reg-label",children:o("onramp-owner-serial-number","Serial Number")}),(0,t.jsx)(n.Text,{type:"p4",tag:"span",className:"xps-ph-hero-reg__reg-value",children:i})]})]})]})},B=e=>{let{modelName:r,serialNumber:a,warrantyExpiry:i}=e,{t:o}=(0,l.Bd)();return(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card xps-ph-hero-reg__card--registered","data-testid":"hero-reg-status-bar",children:[(0,t.jsxs)("div",{className:"xps-ph-hero-reg__reg-header",children:[(0,t.jsx)(n.Icon,{iconName:"shield-check",iconPrefix:"fak",iconSize:"3x",iconColor:"--sg-primary-ramp-1"}),(0,t.jsx)(n.Text,{type:"h6",tag:"h2",children:o("onramp-owner-product-registered","Product Registered")})]}),(0,t.jsxs)("div",{className:"xps-ph-hero-reg__reg-data",children:[r&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"xps-ph-hero-reg__reg-col",children:[(0,t.jsx)(n.Text,{type:"p4-bold",tag:"span",className:"xps-ph-hero-reg__reg-label",children:o("onramp-owner-model","Model")}),(0,t.jsx)(n.Text,{type:"p4",tag:"span",className:"xps-ph-hero-reg__reg-value",children:r})]}),(a||i)&&(0,t.jsx)("div",{className:"xps-ph-hero-reg__reg-divider","aria-hidden":"true"})]}),a&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"xps-ph-hero-reg__reg-col",children:[(0,t.jsx)(n.Text,{type:"p4-bold",tag:"span",className:"xps-ph-hero-reg__reg-label",children:o("onramp-owner-serial-number","Serial Number")}),(0,t.jsx)(n.Text,{type:"p4",tag:"span",className:"xps-ph-hero-reg__reg-value",children:a})]}),i&&(0,t.jsx)("div",{className:"xps-ph-hero-reg__reg-divider","aria-hidden":"true"})]}),i&&(0,t.jsxs)("div",{className:"xps-ph-hero-reg__reg-col",children:[(0,t.jsx)(n.Text,{type:"p4-bold",tag:"span",className:"xps-ph-hero-reg__reg-label",children:o("onramp-owner-warranty-active","Warranty Active")}),(0,t.jsx)(n.Text,{type:"p4",tag:"span",className:"xps-ph-hero-reg__reg-value",children:i})]})]})]})},L=e=>{var r,a,i,o,s;let{state:c,registrationUrl:d,serialNumber:p,modelName:u,warrantyExpiry:h,ownerHubBenefitsCard:m}=e,{t:g}=(0,l.Bd)(),x=null!=(r=null==m?void 0:m.visitorOfferCard)?r:null,f=null!=(a=null==m?void 0:m.rewardsOfferCard)?a:x;if("registered"===c)return(0,t.jsx)("div",{className:"xps-ph-hero-reg","data-testid":"hero-registration-card",children:(0,t.jsx)(B,{modelName:u,serialNumber:p,warrantyExpiry:h})});if("has-rewards"===c)return(0,t.jsxs)("div",{className:"xps-ph-hero-reg","data-testid":"hero-registration-card",children:[(0,t.jsx)(B,{modelName:u,serialNumber:p,warrantyExpiry:h}),(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card",children:[(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card-title",children:[(0,t.jsx)("span",{className:"xps-ph-hero-reg__card-icon",children:(0,t.jsx)(n.Icon,{iconName:"gift",iconPrefix:"fak",iconSize:"3x",iconColor:"--sg-primary-ramp-1"})}),(0,t.jsx)(n.Text,{type:"p1-bold",tag:"h2",children:null!=(i=null==m?void 0:m.rewardsTitle)?i:g("onramp-owner-rewards-waiting","Your owner rewards are waiting!")})]}),(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card-body",children:[(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card-content",children:[(0,t.jsx)(n.Text,{type:"p3",tag:"p",className:"xps-ph-hero-reg__subtitle",children:null!=(o=null==m?void 0:m.rewardsDescription)?o:g("onramp-owner-claim-now-description","Claim now to enjoy 2 free bags of coffee and 25% off coffee for 2 years")}),(0,t.jsx)(n.ButtonV2,{variant:"primary",fill:"filled",size:"sm",href:d,text:null!=(s=null==m?void 0:m.rewardsCtaLabel)?s:g("onramp-owner-claim-my-rewards","Claim my rewards"),icon:{iconName:"arrow-right",iconPrefix:"fak",iconSize:"2x"}
1,alignIcon:"right",className:"xps-ph-hero-reg__cta"})]}),f&&(0,t.jsxs)("div",{className:"xps-ph-hero-reg__offer","aria-hidden":"true",children:[(0,t.jsx)("img",{src:f.imgSrc,alt:"",className:"xps-ph-hero-reg__offer-image"}),(0,t.jsx)(n.Text,{type:"p3",tag:"p",className:"xps-ph-hero-reg__offer-text",children:f.text})]})]})]})]});let v=function(e,r,a){var t,i;return"saved"===e?null!=(t=null==r?void 0:r.savedOfferCard)?t:a:"identified"===e&&null!=(i=null==r?void 0:r.identifiedOfferCard)?i:a}(c,m,x),b=function(e,r){var a,t,i,l,n;return"saved"===e?null!=(t=(null==r||null==(a=r.savedBenefits)?void 0:a.length)?r.savedBenefits:null==r?void 0:r.visitorBenefits)?t:[]:"identified"===e?null!=(l=(null==r||null==(i=r.identifiedBenefits)?void 0:i.length)?r.identifiedBenefits:null==r?void 0:r.visitorBenefits)?l:[]:null!=(n=null==r?void 0:r.visitorBenefits)?n:[]}(c,m),_=b.length>0,N=b.map(e=>{var r;return e.iconName?{title:e.title,icon:{iconName:e.iconName,iconPrefix:"fak",iconSize:null!=(r=e.iconSize)?r:"2x",iconColor:"--sg-primary-ramp-2"}}:{title:e.title}}),j=function(e,r,a){var t,i,l,n;return"saved"===e?null!=(t=null==r?void 0:r.savedTitle)?t:a("onramp-owner-one-step-away-benefits","You're one step away from your owner benefits"):"identified"===e?null!=(l=null!=(i=null==r?void 0:r.identifiedTitle)?i:null==r?void 0:r.visitorTitle)?l:null:null!=(n=null==r?void 0:r.visitorTitle)?n:null}(c,m,g),y=function(e,r,a){var t,i,l,n;let o=a("onramp-owner-save-to-unlock","Save this product to unlock:");return"saved"===e?null!=(t=null==r?void 0:r.savedSubtitle)?t:a("onramp-owner-register-to-activate","Register your product to activate:"):"identified"===e?null!=(l=null!=(i=null==r?void 0:r.identifiedSubtitle)?i:null==r?void 0:r.visitorSubtitle)?l:o:null!=(n=null==r?void 0:r.visitorSubtitle)?n:o}(c,m,g),w=function(e,r,a){var t,i,l,n;return"saved"===e?null!=(t=null==r?void 0:r.savedCtaLabel)?t:a("onramp-owner-complete-registration","Complete Registration"):"identified"===e?null!=(l=null!=(i=null==r?void 0:r.identifiedCtaLabel)?i:null==r?void 0:r.visitorCtaLabel)?l:a("onramp-owner-save-product","Save my product"):null!=(n=null==r?void 0:r.visitorCtaLabel)?n:a("onramp-owner-save-product","Save my product")}(c,m,g);return(0,t.jsxs)("div",{className:"xps-ph-hero-reg".concat("saved"===c?" xps-ph-hero-reg--saved":""),"data-testid":"hero-registration-card",children:[(0,t.jsx)(D,{state:c,modelName:u,serialNumber:p}),(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card",children:[j&&(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card-title",children:[(0,t.jsx)("span",{className:"xps-ph-hero-reg__card-icon",children:(0,t.jsx)(n.Icon,{iconName:"gift",iconPrefix:"fak",iconSize:"3x",iconColor:"--sg-primary-ramp-1"})}),(0,t.jsx)(n.Text,{type:"p1-bold",tag:"h2",children:j})]}),(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card-body",children:[(0,t.jsxs)("div",{className:"xps-ph-hero-reg__card-content",children:[_&&(0,t.jsxs)("div",{className:"xps-ph-hero-reg__benefit-group",children:[(0,t.jsx)(n.Text,{type:"p3-bold",tag:"p",className:"xps-ph-hero-reg__subtitle",children:y}),(0,t.jsx)(n.IconWithTextList,{items:N,defaultIcon:P,className:"xps-ph-hero-reg__checklist"})]}),(0,t.jsx)(n.ButtonV2,{variant:"primary",fill:"filled",size:"sm",href:d,text:w,icon:{iconName:"arrow-right",iconPrefix:"fak",iconSize:"2x"},alignIcon:"right",className:"xps-ph-hero-reg__cta"})]}),v&&(0,t.jsxs)("div",{className:"xps-ph-hero-reg__offer","aria-hidden":"true",children:[(0,t.jsx)("img",{src:v.imgSrc,alt:"",className:"xps-ph-hero-reg__offer-image"}),(0,t.jsx)(n.Text,{type:"p3-bold",tag:"p",className:"xps-ph-hero-reg__offer-text",children:v.text})]})]})]})]})};var z=a(81796),U=a(89099),R=a(16232),E=a(224),G=a(37856);function O(e,r,a,t,i,l){var n;let o,s=(0,E.x)(a).get(e.assetId),c=!!(null==s?void 0:s.placeOfPurchase)&&!!(null==s?void 0:s.dateOfPurchase),d=!!s&&c,p=!!s&&!c;if((null==r?void 0:r.PurchaseDate)&&(null==r?void 0:r.WarrantyInMonths)){let e=new Date(r.PurchaseDate);e.setMonth(e.getMonth()+r.WarrantyInMonths),o="Expires ".concat(e.toLocaleDateString(l,{month:"long",day:"numeric",year:"numeric"}))}let u={registrationUrl:"".concat(t,"?assetId=").concat(e.assetId),serialNumber:null!=(n=e.serialNumber)?n:void 0,modelName:e.modelNumber,assetId:e.assetId,warrantyExpiry:o,isLoading:i};return d?{state:"has-rewards",...u}:p||(null==r?void 0:r.IsIncompleteAsset)?{state:"saved",...u}:{state:"registered",...u}}var W=a(39342);let M=e=>{let{sku:r,productData:a,recipeData:o,beanzData:c,accessoriesData:d,cleaningAndSuppliesD
1ata:p,userGuideURL:u,productShopContent:h,tutorialPlaylists:m,locale:g,brevillePlusAppData:x,ownerHubBenefitsCard:f}=e,{t:v}=(0,l.Bd)("common"),{productName:b,pdpImage:N}=null!=a?a:{},j=b||r.toUpperCase(),y=(0,W.P)(),{state:C,registrationUrl:P,serialNumber:D,modelName:B,warrantyExpiry:E,isLoading:M}=(e=>{let{parentSku:r,locale:a}=e,{isAuthenticated:t}=(0,z.WB)(),{appliances:l,rawEligibility:n,isLoading:o,isExecuted:s,fetchAppliances:c}=(0,R.e)(),{assets:d}=(0,G.d)(),{query:p}=(0,U.useRouter)();(0,i.useEffect)(()=>{c()},[]);let u="string"==typeof p.utm_term?p.utm_term:void 0,h="string"==typeof p.assetId?p.assetId:void 0;return(0,i.useMemo)(()=>{var e;let i=t&&(o||!s),c=null!=(e=null==a?void 0:a.toLowerCase())?e:"en",p="/".concat(c,"/product-registration"),m=function(e){if(!e)return null;let r=e.split("-");if(r.length<3)return null;let a=r[1],t=r.slice(2).join("-");return a&&t?{serialNumber:a,modelNumber:t}:null}(u);return t?function(e){let{assetIdParam:r,utmParsed:a,appliances:t,rawAssets:i,rawEligibility:l,registrationBaseUrl:n,resolvedIsLoading:o,locale:s,parentSku:c}=e;if(r){let e=t.find(e=>e.assetId===r);if(e){let r=null==i?void 0:i.find(r=>{var a,t;return(null==(a=r.WebParentCode)?void 0:a.toLowerCase())===(null==(t=e.webParentCode)?void 0:t.toLowerCase())});return O(e,r,l,n,o,s)}}if(a){let e=t.find(e=>{var r;return(null==(r=e.serialNumber)?void 0:r.toUpperCase())===a.serialNumber.toUpperCase()});if(!e)return{state:"identified",registrationUrl:"".concat(n,"?skuId=").concat(a.modelNumber.toUpperCase(),"&serialNumber=").concat(a.serialNumber),serialNumber:a.serialNumber,modelName:a.modelNumber.toUpperCase(),isLoading:o};let r=null==i?void 0:i.find(r=>{var a,t;return(null==(a=r.WebParentCode)?void 0:a.toLowerCase())===(null==(t=e.webParentCode)?void 0:t.toLowerCase())});return O(e,r,l,n,o,s)}return{state:"visitor",registrationUrl:"".concat(n,"?skuId=").concat(c.toUpperCase()),isLoading:o}}({assetIdParam:h,utmParsed:m,appliances:l,rawAssets:d,rawEligibility:n,registrationBaseUrl:p,resolvedIsLoading:i,locale:a,parentSku:r}):m?{state:"identified",registrationUrl:"".concat(p,"?skuId=").concat(m.modelNumber.toUpperCase(),"&serialNumber=").concat(m.serialNumber),serialNumber:m.serialNumber,modelName:m.modelNumber.toUpperCase(),isLoading:!1}:{state:"visitor",registrationUrl:"".concat(p,"?skuId=").concat(r.toUpperCase()),isLoading:!1}},[t,l,d,n,r,a,o,s,u,h])})({parentSku:r,locale:g}),{watchedVideoSlugs:A,isAuthenticated:V}=(0,s.G)(),H=function(e){var r;let{sku:a,productData:t,contentfulData:i,t:l}=e;if(!(null==t?void 0:t.brevillePlusCoffeeApp))return null;if(i)return i;let n=(0,k.oz)(a,null!=(r=t.primaryWebCategory)?r:"",l),o=n?(0,k.O9)(n,l):void 0;return o?{title:l("cooking-app-title","Cook confidently with Breville+"),description:o.copy,image:{src:I,alt:o.alt},href:o.link}:{title:l("download-breville-plus-coffee-app","Smarter brewing starts here"),description:l("app-modal-subtitle","Download the Breville+ Coffee app and connect your Oracle Dual Boiler to unlock remote power-on, tutorial videos, tips and more."),image:{src:I,alt:l("cooking-app-alt","Breville+ App")},href:"https://coffee-app.breville.com/"}}({sku:r,productData:a,contentfulData:x,t:v}),F=function(e){let{productData:r,productShopContent:a,t}=e;return(null==r?void 0:r.productName)&&(null==r?void 0:r.href)&&a?{title:t("shop-product",{productName:r.productName}),description:a.callout,image:a.image,href:r.href}:null}({productData:a,productShopContent:h,t:v});return(0,t.jsxs)("div",{className:"xps-my-appliance","data-testid":"my-appliance",children:[(0,t.jsx)(n.Spacer,{size:"md"}),(0,t.jsx)("section",{id:"hero","data-testid":"my-appliance-hero",children:(0,t.jsxs)(n.Grid,{children:[(0,t.jsxs)(n.Row,{className:"xps-my-appliance__hero-row",children:[N&&(0,t.jsx)(n.Col,{xs:12,lg:4,className:"xps-my-appliance__hero-image-col",children:(0,t.jsx)(n.AspectRatio,{ratio:"1-1",children:(0,t.jsx)(n.Image,{src:N,alt:"".concat(j," image"),objectFit:"contain"})})}),(0,t.jsxs)(n.Col,{xs:12,lg:6,className:"xps-my-appliance__hero-content",children:[(0,t.jsxs)("div",{className:"xps-my-appliance__hero-title",children:[(0,t.jsx)("span",{className:"xps-my-appliance__hero-tag",children:(0,t.jsx)(n.Text,{tag:"span",type:"p3-bold",children:v("globalProfile.appliance.supportHubLabel","Product Hub")})}),(0,t.jsx)(n.Text,{tag:"h1",type:"h2",children:j})]}),!M&&!1===y&&(0,t.jsx)(L,{state:C,registrationUrl:P,serialNumber:D,modelName:B,warrantyExpiry:E,ownerHubBenefitsCard:f})]})]}),(null==m?void 0:m.length)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.Spacer,{size:"lg"}),(0,t.jsx)(n.Divider,{}),(0,t.jsx)(n.Spacer,{size:"md"})]}):null]})}),(null==m?void 0:m.length)?(0,t.jsx)("section",{id:"tutorials-guides","data-testid":"my-appliance-tutorials-guides",children:(0,t.jsx)(n.Grid,{children:(0,t.jsx)(n.TutorialPlaylist,{data:m,title:v("tutorials-guides-title","Tutorials & Guides"),authenticated:V,watchedVideoSlugs:A})})}):null,!1===y&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{id:"explore-more","data-testid":"my-appliance-explore-more",children:(0,t.jsx)(_,{recipeData:o,beanzData:c,accessoriesData:d,cleaningAndSuppliesD
1ata:p,productData:a,locale:g,sku:r})}),(0,t.jsx)("section",{id:"others","data-testid":"my-appliance-others",children:(0,t.jsxs)(n.Grid,{children:[(0,t.jsx)(n.Divider,{}),(0,t.jsx)(n.Spacer,{size:"md"}),(0,t.jsxs)(n.Row,{rowGap:!0,children:[(0,t.jsx)(n.Col,{xs:12,md:6,lg:4,children:(0,t.jsx)(w,{productData:a,userGuideURL:u,locale:g})}),H&&(0,t.jsx)(n.Col,{xs:12,md:6,lg:4,children:(0,t.jsx)(T,{data:H})}),F&&(0,t.jsx)(n.Col,{xs:12,md:6,lg:4,children:(0,t.jsx)(S,{data:F})})]})]})})]}),(0,t.jsx)(n.Spacer,{size:"lg"})]})},A={fields:{topSection:[],pageContent:[],bottomSection:[]}};var V=!0;function H(e){var r;let{globalConfig:a,seoInformation:i,headerNav:s,footerData:c,sku:d,locale:p,isDraftMode:u,productData:h,recipeData:m,beanzData:g,accessoriesData:x,cleaningAndSuppliesData:f,userGuideURL:v,productShopContent:b,tutorialPlaylists:_,brevillePlusAppData:N,ownerHubBenefitsCard:j}=e,{t:y}=(0,l.Bd)("common"),w=(0,W.P)(),C=[{label:y("onramp-owner-my-products","My Products"),href:"/".concat(p,"/my-products")},{label:null!=(r=null==h?void 0:h.productName)?r:d.toUpperCase()}];return(0,t.jsxs)(o.e,{globalConfig:a,seoInformation:i,contentfulData:A,stickyFooterLayout:!0,headerNav:s,footerData:c,isDraftMode:u,children:[w?(0,t.jsx)(n.Spacer,{size:"md"}):(0,t.jsx)(n.Grid,{fluid:!0,children:(0,t.jsx)(n.Grid,{noGutters:!0,children:(0,t.jsx)(n.Breadcrumbs,{items:C,backgroundColor:"var(--sg-secondary-ramp-1)"})})}),(0,t.jsx)(M,{sku:d,productData:h,recipeData:m,beanzData:g,accessoriesData:x,cleaningAndSuppliesData:f,userGuideURL:v,productShopContent:b,tutorialPlaylists:_,locale:p,brevillePlusAppData:N,ownerHubBenefitsCard:j})]})}},18952:(e,r,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/my-products/producthub/[sku]",function(){return a(17138)}])},36913:(e,r,a)=>{"use strict";a.d(r,{G:()=>s});var t=a(14232),i=a(81796),l=a(59874),n=a(4583),o=a(33428);let s=()=>{var e;let{isAuthenticated:r}=(0,i.WB)(),{globalConfig:a}=(0,l.h5)(),s=(e=null==a?void 0:a.brand,window.location.origin.includes("sage")?"sage":(e||n.kx||"").toLowerCase()),[c,d]=(0,t.useState)([]),[p,u]=(0,t.useState)(!1);(0,t.useEffect)(()=>{if(!r){d(e=>e.length?[]:e),u(!1);return}let e=!0;return u(!0),(0,o.rI)(s).then(r=>{e&&(d(r.success&&Array.isArray(r.data)?r.data.filter(e=>"video"===e.source_type).map(e=>e.source_id):[]),u(!1))}).catch(()=>{e&&(d([]),u(!1))}),()=>{e=!1}},[r,s]);let h=(0,t.useCallback)(e=>{c.includes(e)||(d(r=>r.includes(e)?r:[...r,e]),(0,o.tO)(e,s).catch(()=>{}))},[c,s]);
1return{watchedVideoSlugs:c,isLoading:p,isAuthenticated:r,markWatched:h}}},40866:(e,r,a)=>{"use strict";a.d(r,{DE:()=>l,LH:()=>o,PI:()=>d,zY:()=>n});var t=a(37876),i=a(54405);let l={iconName:"placeholder",iconPrefix:"fak",iconSize:"6x"},n=e=>{let{t:r,title:a,description:n,icon:o=l,hide:s=!1,href:c="",openInNewTab:d=!1,seeDetailsLink:p=""}=e;return{bgColor:"--sg-primary-brand-bg",icon:o,textProps:{richText:r(a.key,a.defaultValue),type:"h6",tag:"p"},descProps:{children:((e,r,a)=>{let l=r?e(r.key,r.defaultValue):"",n=a?e("see-details",{defaultValue:" See details"}):"";return(0,t.jsxs)(t.Fragment,{children:[l&&(0,t.jsx)("span",{children:l}),(0,t.jsx)("span",{className:"support-card--desc-content-spacer"}),a&&(0,t.jsx)(i.Text,{tag:"a",type:"p3-bold",href:a,children:n})]})})(r,n,p),type:"p3",tag:"p"},hide:s,openInNewTab:d,href:c}},o=e=>{var r;return(null==e?void 0:e[0])?null==e||null==(r=e[0])?void 0:r.split("&").map(e=>e.trim()).join("-"):""},s=["en-us","en-au","en-gb","de-de","nl-nl","en-nl"],c={FTBP:{availableIn:s},Beanz:{availableIn:s}},d=(e,r)=>{var a;return(null==(a=c[e])?void 0:a.availableIn.includes(r))||!1}},41292:(e,r,a)=>{"use strict";a.d(r,{J:()=>l});var t=a(14232),i=a(43454);let l=e=>{let r=(0,t.useRef)(new Map),a=(0,t.useRef)(null),l=(e,r,a)=>{var t,l,n,o;if("function"==typeof(null==(l=window)||null==(t=l.freshpaint)?void 0:t.track)){let t=(e=>e.charAt(0).toUpperCase()+e.slice(1))(e),l={...a&&{duration:Math.round(a/1e3)},timestamp:new Date().toISOString()};(null==(o=window.digitalData)||null==(n=o.page)?void 0:n.productHub)||(window.digitalData.page.productHub={}),window.digitalData.page.productHub.viewportEvent=l,(0,i.IZ)("PH:".concat(t,":").concat(r),l),delete window.digitalData.page.productHub.viewportEvent}},n=a=>{a.forEach(a=>{var t;let i=null==(t=Object.entries(e).find(e=>{let[r,t]=e;return t===a.target}))?void 0:t[0];if(!i)return;let n=Date.now(),o=r.current.get(i);a.isIntersecting?(r.current.set(i,{element:a.target,startTime:n,isVisible:!0}),l(i,"ViewEnter")):(null==o?void 0:o.isVisible)&&(l(i,"ViewLeave",n-o.startTime),r.current.delete(i))})};(0,t.useEffect)(()=>(a.current=new IntersectionObserver(n,{threshold:.5,rootMargin:"0px"}),Object.entries(e).forEach(e=>{let[r,t]=e;if(t instanceof HTMLElement&&!t.hidden&&r&&"none"!==window.getComputedStyle(t).display){var i;null==(i=a.current)||i.observe(t)}}),()=>{a.current&&a.current.disconnect()}),[e])}}},e=>{e.O(0,[5395,7567,2058,8101,3723,3345,4560,636,6593,8792],()=>e(e.s=18952)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.