PageSourceSearch

https://www.beanz.com/account/_next/static/chunks/9129.1536dcb9423a89ee.js

js beanz.com collected 2026-10-02 16:43:48 UTC 17,932 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9129],{14285:(e,a,t)=>{t.d(a,{p:()=>u});var l=t(37876),r=t(14232),o=t(82851),n=t.n(o),i=t(84034),s=t(7135),c=t(59874),p=t(15039),d=t.n(p),f=t(30331);let u=e=>{let{pageName:a,hideButton:t=!1,isResponsiveRow:o=!1}=e,{t:p}=(0,s.Bd)(),{globalConfig:{locale:u,appliancesAction:g,myAuthUrl:h}}=(0,c.h5)(),[b,x]=(0,r.useState)(!1),[m,_]=(0,r.useState)(),v="appliance"!==a&&"coffeeSavings"!==a||n().isEmpty(null==g?void 0:g.brands)?{href:p("globalProfile.".concat(a,".shopLink"),{locale:u.toLowerCase()})}:{onClick:e=>{("appliance"===a||"coffeeSavings"===a)&&(null==g?void 0:g.brands)&&Object.keys(g.brands).length>0&&(null==e||e.preventDefault(),x(!0),"coffeeSavings"===a&&_("ftbp"))}};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:d()("empty-state",{"responsive-row":o&&!t}),children:[(0,l.jsx)(i.Text,{type:"h5",className:"empty-state-title",children:p("globalProfile.".concat(a,".emptyText"),"You currently do not have any ".concat(a,"s"))}),!t&&(0,l.jsx)(i.ButtonV2,{id:"empty-state-".concat(a),size:"sm",fill:"outlined",className:"empty-state-button",...v,isNative:!0,"aria-label":[p("globalProfile.".concat(a,".buttonAriaLabel")),p("globalProfile.".concat(a,".shopLabel"))].join(" "),children:p("globalProfile.".concat(a,".shopLabel"),"Start shopping")})]}),("appliance"===a||"coffeeSavings"===a)&&g&&(0,l.jsx)(f.L,{appliancesAction:g,locale:u,myAuthUrl:h,isOpen:b,onClose:()=>x(!1),linkType:m})]})}},30331:(e,a,t)=>{t.d(a,{L:()=>s});var l=t(37876),r=t(14232),o=t(84034),n=t(88038),i=t(59874);let s=e=>{let{appliancesAction:a,locale:t,myAuthUrl:s,isOpen:c,onClose:p,linkType:d="registration"}=e,[f,u]=(0,r.useState)(""),g=(null==a?void 0:a.brands)&&Object.keys(a.brands).length>0,{globalConfig:{brandDomains:h}}=(0,i.h5)();return((0,r.useEffect)(()=>{if(g){let e=Object.keys(a.brands)[0],t=a.brands[e];u((null==t?void 0:t.brandId)||e)}},[a,g]),g)?(0,l.jsx)(o.ImageCardSwitchModal,{isOpen:c,onClose:p,modalContentData:a,onItemSelect:e=>{u(e.brandId||"")},onModalSubmit:()=>{var e;let l;if(!f||!(null==a?void 0:a.brands))return void p();let r=Object.values(a.brands).find(e=>e.brandId===f);if(!r)return void p();let o=null==(e=r.brandId)?void 0:e.toLowerCase(),i=(null==h?void 0:h[o])||(null==h?void 0:h.breville)||"";switch(d){case"ftbp":l=r.ftbpPageLink||r.link||"";break;case"shop":l=r.shop||"";break;default:l=r.link||""}if(l){let e=(0,n.p_)("".concat(t.toLowerCase(),"/").concat(l),{},i,s);window.open(e,"_blank")}p()},activeBrandId:f}):null}},59129:(e,a,t)=>{t.r(a),t.d(a,{ApplianceBanner:()=>P,ApplianceBannerList:()=>O});
1var l=t(37876),r=t(14232),o=t(84034),n=t(70380),i=t(90142),s=t(7135),c=t(15009),p=t(81154),d=t(3143);let f=e=>{let{offerID:a,sku:t,title:r,description:n,imgSrc:i,imgAltText:c,originalDisplayPrice:p,discountedDisplayPrice:d}=e,{t:f}=(0,s.Bd)();return(0,l.jsx)(o.OfferCard,{variantType:"lineItem",offerData:{type:"standard",offerID:a,sku:t,title:r,description:n,imgSrc:i,imgAltText:c,displayFreeBadge:!0,originalDisplayPrice:p,discountedDisplayPrice:d,isRequired:!1},t:f})},u=e=>e.map((e,a)=>(0,l.jsx)(f,{...e},"".concat(e.campaignID,"-").concat(a))),g=e=>{let{t:a}=(0,s.Bd)();return(0,l.jsx)(o.CarouselV2,{id:"offer-line-items-carousel",className:"offer-line-items-carousel",splideProps:{options:{arrows:!0,autoHeight:!1,autoWidth:!1,autoplay:!1,mediaQuery:"min",drag:!0,breakpoints:{375:{perPage:1,perMove:1},768:{perPage:2,perMove:2},992:{perPage:2,perMove:2},1441:{perPage:2,perMove:2,padding:0}},pagination:!1,snap:!1}},cardTileProps:{mediaType:d.zu.Default,contentAlignment:o.ContentAlignmentCT.left,title:{richText:"".concat(a("globalProfile.appliance.includedWithYourPurchase","Included with your purchase")),type:"h6"}},children:u(e.lineItems)})},h=e=>{let{t:a}=(0,s.Bd)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"offer-line-items-header",children:(0,l.jsxs)(o.Text,{type:"h6",children:[" ",a("globalProfile.appliance.includedWithYourPurchase","Included with your purchase")," "]})}),(0,l.jsx)("div",{className:"offer-line-items-block",children:u(e.lineItems)})]})},b=e=>{let{isMobileView:a}=(0,o.useWindowSize)();return a?(0,l.jsx)(h,{...e}):(0,l.jsx)(g,{...e})};var x=t(59874),m=t(98351),_=t(88038),v=t(99742);let j=[{key:"globalProfile.appliance.fasttrackOfferContent.leftContent1",defaultText:"Personalized setup guidance"},{key:"globalProfile.appliance.fasttrackOfferContent.leftContent2",defaultText:"Progress tracking"},{key:"globalProfile.appliance.fasttrackOfferContent.leftContent3",defaultText:"Warranty & support tools"},{key:"globalProfile.appliance.fasttrackOfferContent.leftContent4",defaultText:"Eligible owner offer, if available"}],P=e=>{var a,t,r,d,f,u;let{t:g}=(0,s.Bd)(),{enableMyProducts:h}=(0,c.h)(),{globalConfig:{locale:P,countryCode:k,productHubCategoryWhitelist:C=[],fastTrackWebCategories:y=[],categoryGroupSlugs:N,myAuthUrl:w="",brand:O,brandDomains:L}}=(0,x.h5)(),{products:T,isLoading:S}=(0,m.Q)(),I=(0,n.LP)(P),{serialNumber:B,modelNumber:E,imageUrl:A,title:R,instructionManual:z,webCategory:D,assetId:U,webParentCode:G,offerLineItems:M,externalPromotionName:H,externalPromotionID:F,brand:V,badgeVariant:W,badgeLabel:Y,IsIncompleteAsset:Q}=e,X=T[E],q=(null==X||null==(a=X.primaryWebCategoryGroup)?void 0:a[0])&&(null==N?void 0:N[X.primaryWebCategoryGroup[0]])||null,J=null==V||null==(t=V.toLowerCase)?void 0:t.call(V),K=_.Jv[J]||_.Jv.breville,$=(null==L?void 0:L[J])||(null==L?void 0:L.breville)||"",Z=O===V||V.includes(O)?{}:{target:"_blank"},ee=null!=(u=null==(r=v.env.NEXT_ENABLE_SUPPORT_PRODUCTHUB_REGIONS)?void 0:r.split(","))?u:[],ea="true"===v.env.NEXT_ENABLE_SUPPORT_PRODUCTHUB_ROUTE&&ee.length>0&&ee.includes(P.toLowerCase()),et=D&&!["baratza","lelit"].includes(J)&&C.includes(D.toUpperCase())&&"breville"===O.toLowerCase()?{url:h?"/".concat(P.toLowerCase(),"/my-products/producthub/").concat(G.toLowerCase(),"?assetId=").concat(U):(0,_.p_)(K.supportHub,{locale:P.toLowerCase(),webParentCode:G}),label:g("globalProfile.appliance.supportHubLabel","Product Hub")}:{url:(0,_.p_)(K.support,{locale:(0,n.LP)(P),country:k}),label:g("globalProfile.appliance.supportLabel","Get Support")},el=K.parts?(0,_.p_)(K.parts,{locale:P.toLowerCase(),webCategory:D,webParentCode:G},$,w):null,er=q?(0,_.p_)(K.accessories,{locale:P.toLowerCase(),accessoriesName:q},$,w):null,eo=g("globalProfile.appliance.learnMoreHref","/{{locale}}/program/fast-track"),en=(0,_.p_)(eo,{locale:P.toLowerCase()},$,w),ei=g("globalProfile.appliance.redeemGiftsHref","/{{locale}}/product-registration?assetId={{ assetId }}"),es=(0,_.p_)(ei,{locale:P.toLowerCase(),assetId:U},$,w),ec=M?new i.Yl(M).getEligibleOffersByAssetIdOrSku({variantSku:E}):null,ep=()=>ea?"/".concat(P.toLowerCase(),"/support-legacy/producthub/").concat(G.toLowerCase()):et.url;return(0,l.jsxs)("div",{className:"appliance-container",children:[(0,l.jsxs)("div",{className:"appliance-overview",children:[(0,l.jsx)("div",{children:(0,l.jsx)(o.AspectRatio,{className:"appliance-image",ratio:"1-1",rounded:!0,bgColor:!0,children:(0,l.jsx)(o.Image,{alt:R,src:A,enableFallback:!0})})}),(0,l.jsxs)("div",{className:"appliance-info",children:[(0,l.jsx)(o.Tag,{tagText:Y,tagBg:o.BADGE_TAG_BG[W],icon:{iconName:o.BADGE_ICON_NAME[W],iconPrefix:"fak",iconSize:"1x",iconColor:o.BADGE_ICON_COLOR[W]},tagLink:D&&["breville","sage"].includes(J)&&O===V?ep():void 0,className:"xps-appliance-product-card__badge--".concat(W)}),(0,l.jsxs)(o.Text,{type:"h5",children:[" ",R," "]}),(0,l.jsxs)("div",{className:"appliance-info--serial-model",children:[(0,l.jsxs)(o.Text,{type:"p3",children:[" ",g("globalProfile.appliance.serialLabel","Serial"),": ",B||g("globalProfile.appliance.notSupplied","Not supplied")," "]}),(0,l.jsxs)(o.Text,{type:"p3",children:[" ",g("globalProfile.appliance.modelLabel","Model"),": ",E," "]})]}),(null==z||null==(d=z[I])?void 0:d.userGuideURL)&&(0,l.jsx)(o.ButtonV2,{icon:{iconName:"book-blank",iconSize:"4x",iconPrefix:"fak"},alignIcon:"left",fill:"borderless",href:(null==z||null==(f=z[I])?void 0:f.userGuideURL)||"#",text:g("globalProfile.appliance.userGuide","User Guide"),className:"user-guide","aria-label":"".concat(g("globalProfile.appliance.userGuide","User Guide")," - ").concat(R)})]})]}),(0,l.jsxs)("ul",{className:"appliance-actions",children:[(0,l.jsx)("li",{children:(0,l.jsx)(p.t,{label:et.label,href:ep(),icon:{iconName:"
1comments-question",iconSize:"5x",iconPrefix:"fak"},"aria-label":"".concat(et.label," - ").concat(R),...Z})}),el&&(0,l.jsx)("li",{children:(0,l.jsx)(p.t,{label:g("globalProfile.appliance.orderParts","Order parts"),href:el,icon:{iconName:"gear",iconSize:"5x",iconPrefix:"fak"},"aria-label":"".concat(g("globalProfile.appliance.orderParts","Order parts")," - ").concat(R),...Z})}),(0,l.jsxs)("li",{children:[S&&(0,l.jsx)("div",{className:"product-service-action-card-link",children:(0,l.jsx)(o.Skeleton,{width:"100%",height:92})}),!S&&er&&(0,l.jsx)(p.t,{label:g("globalProfile.appliance.findAccessories","Find accessories"),href:er,icon:{iconName:"accessories",iconSize:"5x",iconPrefix:"fak"},"aria-label":"".concat(g("globalProfile.appliance.findAccessories","Find accessories")," - ").concat(R),...Z})]})]}),y.includes(D)&&Q&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.Divider,{}),(0,l.jsx)("div",{className:"fasttrackOffer",children:(0,l.jsxs)("div",{className:"fasttrackOffer__title",children:[(0,l.jsxs)(o.Text,{type:"h6",className:"fasttrackOffer__title__text",children:[" ",(0,l.jsx)(o.Icon,{iconName:"gift",iconPrefix:"fak",iconSize:"3x",iconColor:"--sg-persistent-black"})," ",g("globalProfile.appliance.fasttrackOfferContent.title","You’re one step away from your owner benefits")," "]}),(0,l.jsxs)("div",{className:"fasttrackOffer__content",children:[(0,l.jsxs)("div",{className:"fasttrackOffer__content__left",children:[(0,l.jsxs)(o.Text,{type:"p3",className:"fasttrackOffer__content__left__title",children:[" ",g("globalProfile.appliance.fasttrackOfferContent.leftTitle","Register your appliance to activate:")," "]}),j.map(e=>{let{key:a,defaultText:t}=e;return(0,l.jsxs)("div",{className:"fasttrackOffer__content__leftgroup",children:[(0,l.jsx)(o.Icon,{iconName:"
1check",iconPrefix:"fak",iconSize:"3x"}),(0,l.jsxs)(o.Text,{type:"p3",className:"fasttrackOffer__content__left__text",children:[" ",g(a,t)," "]})]},a)})]}),(0,l.jsxs)("div",{className:"fasttrackOffer__content__right",children:[(0,l.jsx)(o.Image,{alt:R,className:"fasttrackOffer__content__right__image",src:g("globalProfile.appliance.fasttrackOfferContent.rightContent.image","https://assets.breville.com/FTBP/Beanz_US_Baristas_Choice_Page_Flatlay.png"),enableFallback:!0}),(0,l.jsxs)("div",{className:"fasttrackOffer__content__right__content",children:[(0,l.jsx)("div",{className:"fasttrackOffer__content__right__content__heading",children:(0,l.jsxs)(o.Text,{type:"p3-bold",className:"fasttrackOffer__content__right__content__heading__text",children:[" ",g("globalProfile.appliance.fasttrackOfferContent.rightContent.heading","You may qualify for 2 free bags + 25% off coffee")," "]})}),(0,l.jsx)("div",{className:"fasttrackOffer__content__right__content__desc",children:(0,l.jsxs)(o.Text,{type:"p3",className:"fasttrackOffer__content__right__content__desc__text",children:[" ",g("globalProfile.appliance.fasttrackOfferContent.rightContent.desc","Offer eligibility depends on proof or purchase and purchase date.")," "]})})]})]})]}),(0,l.jsx)(o.ButtonV2,{href:es,text:g("onramp-owner-complete-reg","Complete registration"),icon:{iconName:"arrow-right",iconSize:"3x",iconPrefix:"fak"},...Z})]})})]}),(!H||!F)&&!!M&&!!M.campaigns&&M.products.some(e=>e.assetId===U)&&ec&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.Divider,{}),(0,l.jsx)(b,{lineItems:ec}),(0,l.jsxs)("div",{className:"appliance-buttons",children:[(0,l.jsx)(o.ButtonV2,{href:es,text:g("onramp-owner-claim-rewards","Claim rewards"),icon:{iconName:"arrow-right",iconSize:"3x",iconPrefix:"fak"},...Z}),(0,l.jsx)(o.ButtonV2,{href:en,"aria-label":[g("globalProfile.appliance.buttonAriaLabel"),g("globalProfile.appliance.learnMore")].join(" "),text:g("globalProfile.appliance.learnMore","Learn More"),fill:"outlined",...Z})]})]})]})};var k=t(91351),C=t(16232),y=t(14285),N=t(84375),w=t(224);let O=()=>{let{t:e}=(0,s.Bd)(),{rawEligibility:a,appliances:t=[],fetchAppliances:o,isLoading:n}=(0,C.e)(),{globalConfig:{locale:i,appliancesAction:c,brandDomains:p,brand:d}}=(0,x.h5)(),{getProducts:f}=(0,m.Q)(),u=(null==p?void 0:p[d.toLowerCase()])||"https://www.breville.com",g=(0,r.useMemo)(()=>(0,w.x)(a),[a]);return(0,r.useEffect)(()=>{o()},[o]),(0,r.useEffect)(()=>{let e=[...new Set(t.map(e=>e.modelNumber).filter(Boolean))];e.length>0&&f(e)},[t.length]),(0,l.jsx)(k.k,{brandData:c,title:e("globalProfile.appliance.title","My Appliances"),cta:t.length>0?{href:"".concat(u,"/").concat(i.toLowerCase(),"/product-registration"),text:e("globalProfile.appliance.register","Register appliance"),alignIcon:"left",icon:{iconName:"add",iconSize:"4x",iconPrefix:"fak"}}:void 0,children:(0,l.jsxs)("div",{className:"appliance-banner-list",children:[n&&(0,l.jsx)(N.k,{count:10}),0===t.length&&!n&&(0,l.jsx)(y.p,{pageName:"appliance"}),t.length>0&&t.map(t=>(0,r.createElement)(P,{...t,offerLineItems:a,key:t.assetId,...(0,w.c)(t,g,i,e)}))]})})}},81154:(e,a,t)=>{t.d(a,{t:()=>o});var l=t(37876);t(14232);var r=t(84034);let o=e=>{let{icon:a,label:t,href:o,alignContent:n="left",labelType:i="p3-bold",description:s,descriptionType:c="p2",withBg:p=!1,"aria-label":d,...f}=e;return(0,l.jsx)("a",{href:o,className:"product-service-action-card-link","aria-label":d,...f,children:(0,l.jsxs)("div",{className:"product-service-action-card align-".concat(n," ").concat(p?"with-bg":""),children:[(0,l.jsx)(r.Icon,{...a}),(0,l.jsxs)("div",{className:"product-service-action-card-content align-".concat(n),children:[(0,l.jsxs)(r.Text,{type:i,className:"product-service-action-label",children:[" ",t," "]}),s&&(0,l.jsxs)(r.Text,{type:c,className:"product-service-action-description",children:[" ",s," "]})]})]})})}},84375:(e,a,t)=>{t.d(a,{k:()=>o});var l=t(37876);t(14232);var r=t(84034);let o=e=>{let{count:a=10,height:t=20}=e;return(0,l.jsx)("div",{style:{display:"flex",flexDirection:"column",gap:"0.5rem"},children:Array.from({length:a},(e,a)=>100-10*a).map(e=>(0,l.jsx)(r.Skeleton,{width:"".concat(e,"%"),height:t},e))})}},88038:(e,a,t)=>{t.d(a,{Jv:()=>n,p_:()=>i});
1var l=t(99742);let r="/{{locale}}/product-registration",o="true"===l.env.NEXT_ENABLE_SUPPORT_PRODUCTHUB_ROUTE?"/{{locale}}/support-legacy/producthub/{{webParentCode}}":"/{{locale}}/producthub/{{webParentCode}}",n={sage:{support:"https://support.sageappliances.com/s/?language={{locale}}&region={{country}}&brand=breville",parts:"/{{locale}}/shop/{{webCategory}}/parts/{{webParentCode}}",accessories:"/{{locale}}/shop/{{accessoriesName}}/accessories",supportHub:o,shop:"/{{locale}}/shop/{{webParentCode}}",productRegistration:r},breville:{support:"https://support.breville.com/s/?language={{locale}}&region={{country}}&brand=breville",parts:"/{{locale}}/shop/{{webCategory}}/parts/{{webParentCode}}",accessories:"/{{locale}}/shop/{{accessoriesName}}/accessories",supportHub:o,shop:"/{{locale}}/shop/{{webParentCode}}",productRegistration:r},baratza:{support:"https://support.baratza.com/s/?language={{locale}}&region={{country}}&brand=baratza",parts:"/{{locale}}/landing/product/parts",accessories:"/{{locale}}/landing/product/accessories",supportHub:"https://support.baratza.com/s/?language={{locale}}&region={{country}}&brand=baratza",shop:"/{{locale}}/landing/product/grinders",productRegistration:r},lelit:{support:"https://support.lelit.com/s/?language={{locale}}&region={{country}}&brand=lelit",accessories:"/{{locale}}/shopcoffee/accessories",supportHub:"https://support.lelit.com/s/?language={{locale}}&region={{country}}&brand=lelit",shop:"/{{locale}}/shopcoffee/{{webParentCode}}",productRegistration:r}};function i(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0,l=arguments.length>3?arguments[3]:void 0,r=e;for(let[e,t]of Object.entries(a))r=r.replaceAll(RegExp("\\{\\{?\\s*".concat(e,"\\s*\\}\\}?"),"g"),null!=t?t:"");if(t&&(r="".concat(t.replace(/\/$/,""),"/").concat(r.replace(/^\//,""))),l&&t!==window.location.origin){let e=new URL(l);e.searchParams.set("action","session_transfer"),e.searchParams.set("forwarding_url",r),r=e.toString()}return r}},91351:(e,a,t)=>{t.d(a,{k:()=>s});var l=t(37876),r=t(14232),o=t(84034),n=t(30331),i=t(59874);let s=e=>{let{title:a,cta:t,children:s,brandData:c}=e,[p,d]=(0,r.useState)(!1),{globalConfig:{locale:f,myAuthUrl:u=""}}=(0,i.h5)(),g=t&&c?{...t,onClick:e=>{(null==c?void 0:c.brands)&&Object.keys(c.brands).length>0&&(null==e||e.preventDefault(),d(!0))}}:t;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"profile-content-wrapper",children:[(0,l.jsxs)("div",{className:"profile-content-header",children:[(0,l.jsxs)(o.Text,{type:"h2",tag:"h1",className:"profile-content-header-title",children:[" ",a," "]}),g&&(0,l.jsx)(o.ButtonV2,{...g})]}),(0,l.jsx)("div",{className:"profile-content-holder",children:s})]}),(0,l.jsx)(n.L,{appliancesAction:c,locale:f,myAuthUrl:u,isOpen:p,onClose:()=>d(!1)})]})}},98351:(e,a,t)=>{t.d(a,{Q:()=>n});var l=t(14232),r=t(94666),o=t(20880);let n=()=>{let{state:e,setState:a}=(0,r.KE)();return{getProducts:(0,l.useCallback)(async t=>{let l=e.products.data,r=t.filter(e=>!l[e]),n={};if(r.length>0){a(e=>({...e,products:{...e.products,isLoading:!0}}));try{let e=await (0,o.GX)(r);e.success&&e.data&&(n=e.data.data,a(e=>({...e,products:{data:{...e.products.data,...n},isLoading:!1,isExecuted:!0}})))}catch(e){throw a(e=>({...e,products:{...e.products,isLoading:!1}})),e}}let i={};return t.forEach(e=>{let a=l[e]||n[e];a&&(i[e]=a)}),i},[e.products.data,a]),isCanister:a=>{let t=e.products.data[a];return(null==t?void 0:t.itemGroupID)==="CAN"},products:e.products.data,isLoading:e.products.isLoading,isExecuted:e.products.isExecuted}}}}]);

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.