(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1814],{31162:function(n,e,t){"use strict";t.d(e,{Z:function(){return p}});var i,r=t(95235),o=t(7328);t(2784);var a=t(89495),l=t(48840),c=t(60299),s=t(87330),u=t(52322);function d(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})),t.push.apply(t,i)}return t}var h=(0,l.zo)(a.kC)(i||(i=(0,o.Z)(["\n flex-basis: 100%;\n align-items: center;\n ","\n ","\n\n color: ",";\n ","\n\n ","\n \n &::before {\n content: '';\n flex-grow: 1;\n background: ",";\n height: ",";\n font-size: 0;\n line-height: 0;\n ",";\n }\n &::after {\n content: '';\n flex-grow: 1;\n background: ",";\n height: ",";\n font-size: 0;\n line-height: 0;\n ","\n }\n"])),function(n){return n.maxWidth&&"max-width: ".concat(n.maxWidth,"px;")},function(n){return n.separatorMargin&&(0,c.e)(n.separatorMargin)},function(n){return n.theme.colors.palette.greys.dark},function(n){return(0,s.xv)(n.theme.separator.font.entry,n.theme.separator.font.style)},function(n){var e,t,i,r;return n.withSpacing&&(null!==(e=n.separatorMargin)&&void 0!==e&&e.top&&null!==(t=n.separatorMargin)&&void 0!==t&&t.bottom?"margin-top: ".concat(null===(i=n.separatorMargin)||void 0===i?void 0:i.top," px; margin-bottom: ").concat(null===(r=n.separatorMargin)||void 0===r?void 0:r.bottom,"px;"):"margin-top: ".concat((0,l.W0)(2.5),"; margin-bottom: ").concat((0,l.W0)(2.5),";"))},function(n){return n.separatorColor||n.theme.colors.palette.greys.light},function(n){return"".concat(n.height||1,"px")},function(n){return n.children?"margin-right: 15px":""},function(n){return n.separatorColor||n.theme.colors.palette.greys.light},function(n){return"".concat(n.height||1,"px")},function(n){return n.children?"margin-left: 15px":""}),p=function(n){return(0,u.jsx)(h,function(n){for(var e=1;e=3?e:"";if(nt(!!t),t){var i=t.split(" ").filter(function(n){return n.length>0}),r=n.accordions.reduce(function(n,e){var t=e.items.filter(function(n){var e;return!!(null!==(e=i.filter(function(e){return RegExp("(>[^<]*?|^[^<]*?)(".concat(e,")([^<]*?)"),"i").test(n.title)}))&&void 0!==e&&e.length)});if(null!=t&&t.length){var r=t.map(function(n){var e=i.reduce(function(n,e){return n.replace(RegExp("(>[^<]*?|^[^<]*?)(".concat(e,")([^<]*?)"),"i"),"$1$2$3")},n.title);return eZ(eZ({},n),{},{title:e})});return[].concat((0,nu.Z)(n),[eZ(eZ({},e),{},{items:r})])}return n},[]);N(null!=r&&r.length?r:null),J(!(null!=r&&r.length)),C(null),A(z.map(function(n){return{title:n.title,active:!1}}))}else N(null),J(!1),nz();e&&n2.searchTermHandler(e)},[nk]);var nA=s.externalRoute;return(0,nD.jsxs)("div",{className:n.className,children:[(0,nD.jsxs)(n9,{children:[(0,nD.jsx)(n7,{textStyling:null===(r=u.widget.helpCenterCollection)||void 0===r?void 0:r.title,children:s.pageTitle}),(0,nD.jsx)(n6,{textStyling:null===(o=u.widget.helpCenterCollection)||void 0===o?void 0:o.subtitle,children:s.pageSubTitle}),(0,nD.jsx)(eS,{searchValue:ny,searchText:s.searchText,foundSearchResults:R,noResultsFound:s.noResultsFound,handleInputOnChange:function(n){nw(n)},handleClearInput:function(){nw(""),N(null),J(!1),Z||nz()},showNoResultsMessage:X,resultsRef:nl,noResultsMessageRef:ns})]}),(0,nD.jsxs)(nO.r,{columns:12,rows:1,children:[(0,nD.jsxs)(ee,{colSpan:[12,5,4,4],leftGrid:!0,children:[(0,nD.jsx)(en,{textStyling:null===(a=u.widget.helpCenterCollection)||void 0===a?void 0:a.leftRail.title,children:s.leftRailTitle}),(0,nD.jsx)("ul",{children:z.map(function(n,e){var t;return(0,nD.jsx)(ec,{children:(0,nD.jsx)(eu,{textStyling:null===(t=u.widget.helpCenterCollection)||void 0===t?void 0:t.leftRail.content,"data-testid":"category-button-".concat(e),ref:function(n){return nr.current?nr.current[e]=n:void 0},active:n.active,onClick:function(){nj(e),n2.sendCategoryTitleHandler(n.title)},onKeyDown:function(n){return nT(n,e)},children:n.title})},"category-button-".concat(e))})}),(0,nD.jsx)(ed,{}),(0,nD.jsx)(en,{textStyling:null===(l=u.widget.helpCenterCollection)||void 0===l?void 0:l.leftRail.title,children:s.customerSupportTitle}),(0,nD.jsx)(function(n){var e=n.hasLivePerson,t=n.hasAdaChatbot,i=n.enabledAppleChat,r=n.i18nText;return(0,nD.jsxs)("ul",{children:[e&&!t&&(0,nD.jsx)(eh,{children:(0,nD.jsx)(nQ,{outline:!0})}),t&&!e&&(0,nD.jsx)(eh,{children:(0,nD.jsx)(nB,{outline:!0})}),i&&(0,nD.jsx)(eR,{href:"//bcrw.apple.com/urn:biz:".concat(r.appleBusinessId),content:r.messagesApp,children:(0,nD.jsx)(eE,{})}),(0,nD.jsx)(eR,{href:b?nA:nx.Z5.AccountNewMessage,content:r.message,children:(0,nD.jsx)(eA,{})}),!b&&(0,nD.jsx)(eR,{href:nx.Z5.AccountViewMessages,content:r.viewMessages,children:(0,nD.jsx)(ez,{})}),m&&(0,nD.jsx)(eR,{href:"tel:".concat(r.contactUsNumber),content:r.contactUsText,altText:r.contactUsAlttext,children:(0,nD.jsx)(eU,{})})]})},{hasLivePerson:h,hasAdaChatbot:f,enabledAppleChat:nC,i18nText:s}),(0,nD.jsx)(function(n){var e,t=n.enabledSocialMedia,i=n.facebookUrl,r=n.twitterUrl,o=n.i18nText,a=n.theme;return t?(0,nD.jsxs)(na.Fragment,{children:[(0,nD.jsx)(ed,{}),(0,nD.jsx)(en,{textStyling:null===(e=a.widget.helpCenterCollection)||void 0===e?void 0:e.leftRail.title,children:o.socialLinksTitle}),(0,nD.jsxs)("ul",{children:[i&&(0,nD.jsx)(eR,{href:i,content:o.facebook,children:(0,nD.jsx)(eP,{})}),r&&(0,nD.jsx)(eR,{href:r,content:o.twitter,children:(0,nD.jsx)(eO,{})})]})]}):null},{enabledSocialMedia:nZ,facebookUrl:p,twitterUrl:g,i18nText:s,theme:u})]}),(0,nD.jsx)(ee,{colSpan:[12,7,8,8],activeSearch:ne,children:(0,nD.jsxs)(et,{openedContent:M,ref:no,tabIndex:F,"data-testid":"accordion-container-".concat(null==Z?void 0:Z.index),children:[(0,nD.jsxs)(n8,{"data-testid":"back-button",onClick:function(){q(!1)},children:[(0,nD.jsx)(eC,{}),s.back]}),nP&&(0,nD.jsx)(ev,{showBackButton:V,children:(0,nD.jsx)(nX.zx,{"data-testid":"back-button-accessibility",emphasis:"low",onClick:function(){nS((null==Z?void 0:Z.index)||0)},onKeyDown:function(n){return"Enter"===n.key&&nS((null==Z?void 0:Z.index)||0)},children:s.goBack})}),Z&&(0,nD.jsx)(ei,{items:Z.items,title:Z.title,titleStyling:null===(c=u.widget.helpCenterCollection)||void 0===c||null===(c=c.accordion)||void 0===c?void 0:c.title,alignment:"left",subtitle:s.accordionSubTitle,closeAllOnRender:!0,contentPadding:!0,fitTitles:!0,addTitleRightMarginA11y:V,accordionTitleCallback:!0},Z.index),!!(null!=R&&R.length)&&(0,nD.jsx)(er,{"data-testid":"desktop-search-content",tabIndex:0,"aria-label":"".concat(s.searchResults," ").concat(ny),ref:nl,children:R.map(function(n,e){return(0,nD.jsx)(eo,{items:n.items,title:n.title,alignment:"left",closeAllOnRender:!0},"desktop-search-content-".concat(e))})}),X&&(0,nD.jsx)(ey,{"data-testid":"no-results-text",ref:ns,tabIndex:0,children:(0,nD.jsx)(nJ.h,{type:"info",text:s.noResultsFound})})]})}),(0,nD.jsx)(function(n){return n.hasLivePerson?(0,nD.jsx)(ek,{children:(0,nD.jsx)("div",{className:"lp-panel",children:(0,nD.jsx)("div",{id:"checkout-lpButtonDiv"})})}):null},{hasLivePerson:h})]})]})})(nt||(nt=(0,no.Z)(["\n padding: "," 0 ",";\n margin: 0 auto;\n max-width: ",";\n\n "," {\n padding: "," "," ",";\n }\n"])),(0,nj.W0)(3),(0,nj.W0)(1),function(n){return n.theme.site.siteWidth},function(n){return(0,nP.mq)(n.theme.breakpointUtils.map,"sm")},(0,nj.W0)(4),(0,nj.W0)(4),(0,nj.W0)(10)),eI=nj.zo.div(ni||(ni=(0,no.Z)(["\n padding: ",";\n background-color: ",";\n"])),(0,nj.W0)(7),function(n){return n.theme.colors.palette.greys.white}),eF=(0,nl.Z)({on:["visible"]})(eD.G),e_=function(n){var e,t=(0,nc.ND)(),i=t.trustPilot,r=t.enableHelpCentreTrustPilot;if((null==n||null===(e=n.banners)||void 0===e?void 0:e.length)===0)return null;var o={accordions:n.banners.reduce(function(n,e){return 0===(e.banners||[]).length||n.push({title:e.title||"",items:e.banners.map(function(n){var e;return{title:n.accordionHeading,content:null===(e=n.accordionContent)||void 0===e||null===(e=e.content[0])||void 0===e?void 0:e.content,isOpen:!1}}),alignment:ns.K.LEFT}),n},[])};return(0,nD.jsxs)(eq,{children:[(0,nD.jsx)(eB,eM({},o)),(0,nD.jsx)(function(){return r&&(null!=i&&i.enableTrustBox||null!=i&&i.enableTrustPilot)?(0,nD.jsx)(eI,{children:(0,nD.jsx)(eF,eM({},i))}):null},{})]})}},39138:function(n){n.exports.A={kind:"Document",operationName:"Features",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"Features"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"identifiers"}},type:{kind:"NonNullType",type:{kind:"ListType",type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"features"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"identifiers"},value:{kind:"Variable",name:{kind:"Name",value:"identifiers"}}}]}}],directives:[{kind:"Directive",name:{kind:"Name",value:"client"},arguments:[{kind:"Argument",name:{kind:"Name",value:"always"},value:{kind:"BooleanValue",value:!0}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"enabled"},arguments:[],directives:[]}]}}]}}],loc:{source:"\nquery Features($identifiers: [String!]!) {\n features(input: { identifiers: $identifiers }) @client(always: true) {\n enabled\n }\n}\n"}}}}]); //# sourceMappingURL=1814.fb2a88553a807adc.js.map