import{b as Qt,c as ut}from"./chunk-7IPVJTZW.js";import{H as L,K as Gt,L as w,M as y,P as Ht,fa as Kt}from"./chunk-AEBTTN4G.js";import{j as Lt,k as Vt,l as pt,m as Wt,v as Yt,w as Jt}from"./chunk-SIY6RYGV.js";import{g as At}from"./chunk-AVISSTOL.js";import{c as ht}from"./chunk-CWNFT7CP.js";import{b as jt}from"./chunk-2DTVATHK.js";import{q as mt}from"./chunk-5AW6KSB6.js";import{c as Ut}from"./chunk-K372RXDT.js";import{a as st}from"./chunk-II74PJFX.js";import{N as qt}from"./chunk-TWCIEMS6.js";import{N as ct,O as H}from"./chunk-3XVA6SMV.js";import{Nb as Ft,Sc as T,Tc as zt,fa as Bt,pb as $t,qb as at,ra as kt,zc as O}from"./chunk-7TIG3JBM.js";import{E as Nt,H as it,K as Dt,x as Pt}from"./chunk-KOF6XOL2.js";import{$a as It,$c as Z,Ac as Q,Cd as nt,Da as Y,Fa as St,Hc as c,Ic as s,Jb as D,Jc as b,Ka as J,Kc as x,La as Rt,Lc as g,N as G,Nc as Mt,Pa as k,Pc as X,Qb as o,Qc as S,V as _t,Xb as K,Yb as p,Yd as rt,Zd as ot,_a as wt,_d as R,a as N,aa as yt,ad as u,bc as v,bd as $,cc as Tt,cd as d,ee as _,hc as l,ke as Ot,md as U,ne as Et,q as Ct,sd as i,td as a,ud as tt,va as bt,wc as m,xd as et,y as q,za as gt}from"./chunk-VD47VRHY.js";import{a as j,b as W,i as vt}from"./chunk-RGAUAWUM.js";function me(t,f){t&1&&(x(0),c(1,"p",1),u(2),i(3,"cxTranslate"),s(),c(4,"div",2)(5,"h5",3)(6,"strong"),u(7),i(8,"cxTranslate"),s()()(),g()),t&2&&(o(2),d(" ",a(3,2,"common.order.returnRefund")," "),o(5),d(" ",a(8,4,"common.order.returnSelectItems"),""))}var Xt=(()=>{class t{constructor(e,n,r){this.cmsdata=e,this.returnFlowState=n,this.renderer=r,this.pageData$=this.cmsdata.getComponentData("TopReturnNotesComponent"),this.returnSteps=y,this.returnState$=this.returnFlowState.returnState$}ngOnInit(){this.renderer.addClass(document.body,"return-order-page")}ngOnDestroy(){this.renderer.removeClass(document.body,"return-order-page")}static{this.\u0275fac=function(n){return new(n||t)(p(O),p(w),p(K))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-return-notes"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[1,"return-page-title"],[1,"custom-return-notes"],[1,"custom-return-notes__heading"]],template:function(n,r){n&1&&(l(0,me,9,6,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.returnState$)===r.returnSteps.CHOOSE_PRODUCT)},dependencies:[R,_,T],styles:[`.santorini-updated{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.custom-return-notes{padding-top:56px;padding-bottom:20px}.custom-return-notes__heading{font-family:var(--font-medium);font-size:15px;color:var(--grayMediumCool);margin-bottom:24px}.custom-return-notes .custom-return-notes-container{background-color:var(--gray80);padding:32px 102px 40px}@media only screen and (max-width: 991px){.custom-return-notes .custom-return-notes-container{padding:32px}}@media only screen and (max-width: 575px){.custom-return-notes .custom-return-notes-container{padding:16px;font-size:11px}}.custom-return-notes .custom-return-notes-container__heading{font-family:var(--font-medium);font-size:13px;color:var(--grayMediumCool);margin-bottom:12px}.custom-return-notes .custom-return-notes-container ol{list-style-position:inside;padding-inline-start:0}.custom-return-notes .custom-return-notes-container ol li{font-family:var(--font-pro-roman);font-size:13px;color:var(--laurelGray)}.custom-return-notes .custom-return-notes-container ol li a{color:var(--royalblue)}.return-page-title{font-weight:400;font-size:18px;line-height:26px;color:var(--grayMediumCool);margin:24px 0 32px}@media (max-width: 767.98px){.return-page-title{margin-bottom:0}}
/*!
* Bootstrap v4.6.2 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*
* DO NOT MODIFY THIS FILE. It preserves compatibility with Bootstrap 4.6 docs.
*/
`],encapsulation:2,changeDetection:0})}}return t})();function pe(t,f){if(t&1&&b(0,"div",2),t&2){let e=S(2).ngIf;m("innerHTML",e.content,D)}}function ue(t,f){if(t&1&&(x(0),l(1,pe,1,1,"div",1),i(2,"async"),g()),t&2){let e=S(2);o(),m("ngIf",a(2,1,e.returnState$)===e.returnSteps.RETURN_SUMMARY)}}function le(t,f){if(t&1&&(x(0),l(1,ue,3,3,"ng-container",0),g()),t&2){let e=S();o(),m("ngIf",e.isGiftReceiver)}}var Zt=(()=>{class t{constructor(e,n){this.cmsdata=e,this.returnFlowState=n,this.pageData$=this.cmsdata.getComponentData("BottomReturnNotesComponent"),this.returnState$=this.returnFlowState.returnState$,this.returnSteps=y,this.subscription=new N}static{this.\u0275fac=function(n){return new(n||t)(p(O),p(w))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-bottom-notes"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["class","custom-return-notes custom-return-notes--border",3,"innerHTML",4,"ngIf"],[1,"custom-return-notes","custom-return-notes--border",3,"innerHTML"]],template:function(n,r){n&1&&(l(0,le,2,1,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.pageData$))},dependencies:[R,_],styles:[`.custom-return-notes{padding-top:56px;padding-bottom:56px}@media only screen and (max-width: 575px){.custom-return-notes{padding-top:36px;padding-bottom:36px}}.custom-return-notes--border{border-top:solid 1px var(--gray70);margin-top:80px}@media only screen and (max-width: 575px){.custom-return-notes--border{margin-top:auto;border-top:none}}.custom-return-notes__heading{font-family:var(--font-medium);font-size:15px;color:var(--grayMediumCool);margin-bottom:24px}.custom-return-notes .custom-return-notes-container{background-color:var(--gray80);padding:32px 102px 40px}@media only screen and (max-width: 991px){.custom-return-notes .custom-return-notes-container{padding:32px}}@media only screen and (max-width: 575px){.custom-return-notes .custom-return-notes-container{padding:16px;font-size:11px}}.custom-return-notes .custom-return-notes-container__heading{font-family:var(--font-medium);font-size:13px;color:var(--grayMediumCool);margin-bottom:12px}.custom-return-notes .custom-return-notes-container ol{list-style-position:inside;padding-inline-start:0}.custom-return-notes .custom-return-notes-container ol li{font-family:var(--font-pro-roman);font-size:13px;color:var(--laurelGray)}.custom-return-notes .custom-return-notes-container ol li a{color:var(--royalblue)}
`],encapsulation:2,changeDetection:0})}}return t})();function de(t,f){t&1&&(c(0,"span",4),u(1),i(2,"cxTranslate"),s()),t&2&&(o(),d(" ",a(2,1,"common.returnOrder.pleaseNote")," "))}function fe(t,f){if(t&1&&b(0,"div",5),t&2){let e=S().ngIf;m("innerHTML",e.content,D)}}function xe(t,f){if(t&1&&(x(0),c(1,"div",1),l(2,de,3,3,"span",2),i(3,"async"),l(4,fe,1,1,"div",3),i(5,"async"),i(6,"async"),s(),g()),t&2){let e=S();o(2),m("ngIf",a(3,2,e.returnState$)===e.returnSteps.RETURN_SUMMARY),o(2),m("ngIf",a(5,4,e.returnState$)===e.returnSteps.RETURN_INSTRUCTIONS||a(6,6,e.returnState$)===e.returnSteps.RETURN_SUMMARY)}}var te=(()=>{class t{constructor(e,n){this.cmsdata=e,this.returnFlowState=n,this.pageData$=this.cmsdata.getComponentData("ReturnInstructionsComponent"),this.apiSubscription=new N,this.returnSteps=y,this.returnState$=this.returnFlowState.returnState$}static{this.\u0275fac=function(n){return new(n||t)(p(O),p(w))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-instructions"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[1,"row","justify-content-start"],["class","col-sm-10 col-xl-8 custom-return-instructions__heading",4,"ngIf"],["class","col-sm-10 col-xl-8 custom-return-instructions",3,"innerHTML",4,"ngIf"],[1,"col-sm-10","col-xl-8","custom-return-instructions__heading"],[1,"col-sm-10","col-xl-8","custom-return-instructions",3,"innerHTML"]],template:function(n,r){n&1&&(l(0,xe,7,8,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.pageData$))},dependencies:[R,_,T],styles:[`.custom-return-instructions{padding-left:0}.custom-return-instructions ol li{font-family:var(--font-pro-roman);font-size:13px;color:var(--laurelGray);line-height:1.54;margin-top:12px;margin-bottom:12px}.custom-return-instructions ol li a{color:var(--royalblue)}.custom-return-instructions__heading{padding:0 24px;font-weight:600}
`],encapsulation:2,changeDetection:0})}}return t})();var ve=t=>({"return-btn-container":t}),Ce=t=>({"sony-btn--primary--disabled":t}),ee=(()=>{class t{constructor(e,n,r,C,h){this.returnFlowState=e,this.changeDetector=n,this.windowAdapter=r,this.spinnerService=C,this.customAuthService=h,this.clazz="",this.currentButtonState$=this.returnFlowState.buttonState$,this.apiSubscription=new N,this.returnState$=this.returnFlowState.returnState$,this.returnSteps=y}ngOnInit(){this.apiSubscription.add(this.returnState$.subscribe(e=>{this.clazz=e===this.returnSteps.CHOOSE_PRODUCT?"m-auto p-0":e===this.returnSteps.RETURN_SUMMARY?"p-0":""}))}ngOnDestroy(){this.apiSubscription&&this.apiSubscription.unsubscribe()}moveToNextScreen(){this.returnFlowState.next(),this.onBackToTop()}onBackToTop(){try{this.windowAdapter.getWindow().scrollTo({left:0,top:0,behavior:"smooth"}),this.windowAdapter.scrolledBackToTop()}catch{this.windowAdapter.getWindow().scrollTo(0,0),this.windowAdapter.scrolledBackToTop()}}enableButton(e){this.returnFlowState.activateButton(e),this.changeDetector.markForCheck()}static{this.\u0275fac=function(n){return new(n||t)(p(w),p(nt),p(st),p(Ut),p(mt))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-bottom-navigation"]],hostVars:2,hostBindings:function(n,r){n&2&&Q(r.clazz)},standalone:!1,decls:7,vars:16,consts:[[3,"ngClass"],[1,"sony-btn","sony-btn--primary",3,"click","ngClass","disabled"]],template:function(n,r){n&1&&(c(0,"div",0),i(1,"async"),c(2,"button",1),i(3,"async"),i(4,"async"),X("click",function(){return r.moveToNextScreen()}),u(5),i(6,"cxTranslate"),s()()),n&2&&(m("ngClass",U(12,ve,a(1,4,r.returnState$)===r.returnSteps.RETURN_INSTRUCTIONS)),o(2),m("ngClass",U(14,Ce,!a(3,6,r.currentButtonState$)))("disabled",!a(4,8,r.currentButtonState$)),o(3),d(" ",a(6,10,"common.returnOrder.next")," "))},dependencies:[rt,_,T],styles:[`.santorini-updated[_ngcontent-%COMP%]{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.return-btn-container[_ngcontent-%COMP%]{background:var(--white);padding:0 0 32px 12px;border-bottom-left-radius:5px;border-bottom-right-radius:5px}@media (max-width: 767.98px){.return-btn-container[_ngcontent-%COMP%]{padding:0 16px 24px}.sony-btn--primary[_ngcontent-%COMP%]{width:100%}}
`],changeDetection:0})}}return t})();var _e=t=>({"nav-confirmation-return-steps":t});function ye(t,f){if(t&1){let e=Mt();c(0,"div",2),i(1,"async"),c(2,"div",3)(3,"input",4),X("change",function(r){wt(e);let C=S(2);return It(C.checkCheckbox(r))}),s(),b(4,"label",5),s()()}if(t&2){let e=S().ngIf,n=S();m("ngClass",U(4,_e,a(1,2,n.returnState$)===n.returnSteps.RETURN_INSTRUCTIONS)),o(4),m("innerHTML",e.content,D)}}function be(t,f){if(t&1&&(x(0),l(1,ye,5,6,"div",1),i(2,"async"),g()),t&2){let e=S();o(),m("ngIf",a(2,1,e.returnState$)===e.returnSteps.RETURN_INSTRUCTIONS)}}var ne=(()=>{class t{constructor(e,n){this.cmsdata=e,this.returnFlowState=n,this.pageData$=this.cmsdata.getComponentData("ReturnNavigationtermsandconditionComponent"),this.apiSubscription=new N,this.returnSteps=y,this.returnState$=this.returnFlowState.returnState$}checkCheckbox(e){e.target.checked?this.enableButton(!0):this.enableButton(!1)}enableButton(e){this.returnFlowState.activateButton(e)}static{this.\u0275fac=function(n){return new(n||t)(p(O),p(w))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-nav-confirmation"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["class","custom-nav-confirmation",3,"ngClass",4,"ngIf"],[1,"custom-nav-confirmation",3,"ngClass"],[1,"form-group"],["type","checkbox",1,"form-group__checkbox",3,"change"],[1,"custom-nav-confirmation__text",3,"innerHTML"]],template:function(n,r){n&1&&(l(0,be,3,3,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.pageData$))},dependencies:[rt,R,_],styles:[`.santorini-updated{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.custom-nav-confirmation .form-group__checkbox{margin-top:0;margin-left:0;z-index:16}.custom-nav-confirmation__text{font-family:var(--font-pro-roman);font-size:13px;color:var(--laurelGray);line-height:1.54}.custom-nav-confirmation__text a{color:var(--royalblue)}.nav-confirmation-return-steps{background:#fff;padding:32px 16px 1px;border-top-left-radius:5px;border-top-right-radius:5px}@media (max-width: 767.98px){.nav-confirmation-return-steps{padding:28px 16px 6px}}
/*!
* Bootstrap v4.6.2 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*
* DO NOT MODIFY THIS FILE. It preserves compatibility with Bootstrap 4.6 docs.
*/
`],encapsulation:2,changeDetection:0})}}return t})();var re=(()=>{class t extends pt{constructor(e,n,r,C,h){super(e,n,r,C),this.orderDetailsService=e,this.returnRequestFacade=n,this.routing=r,this.globalMessageService=C,this.returnAdapter=h}getConsignments(){return this.getOrder().pipe(G(e=>!!e.consignments),q(e=>e.consignments))}static{this.\u0275fac=function(n){return new(n||t)(k(Lt),k(At),k(Bt),k(at),k(Gt))}}static{this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function we(t,f){if(t&1&&(c(0,"div"),b(1,"app-custom-cart-item-list",1),i(2,"async"),s()),t&2){let e=S(2);o(),m("items",a(2,1,e.unFilteredOrderItems$))}}function Ie(t,f){if(t&1&&(x(0),l(1,we,3,3,"div",0),i(2,"async"),i(3,"async"),g()),t&2){let e=S();o(),m("ngIf",a(2,1,e.returnState$)===e.returnSteps.CHOOSE_PRODUCT||a(3,3,e.returnState$)===e.returnSteps.RETURN_SUMMARY)}}var oe=(()=>{class t{constructor(e,n,r,C){this.orderAmendService=e,this.activatedRoute=n,this.returnService=r,this.router=C,this.order$=this.orderAmendService.getOrder().pipe(bt(1)),this.consignmentEntries$=this.orderAmendService.getConsignments().pipe(q(h=>h.filter(I=>I.code===this.activatedRoute.snapshot.queryParams.consignment)[0]),q(h=>h.entries.filter(I=>I.isReturnable&&I.orderEntry.product.code===this.activatedRoute.snapshot.queryParams.product&&I.orderEntry.entryNumber===Number(this.activatedRoute.snapshot.queryParams.entry))),G(h=>h&&h.length>0)),this.freeProduct$=this.order$.pipe(q(h=>{let I=h.entries.find(F=>F.entryNumber===Number(this.activatedRoute.snapshot.queryParams.entry)),A=I?.freeProductEntryNumber?h.entries.filter(F=>F.entryNumber===I.freeProductEntryNumber):[];return A=A.map(F=>W(j({},F),{isReturnable:h?.consignments?.flatMap(z=>z?.entries).find(z=>z?.orderEntry?.entryNumber===F?.entryNumber)?.isReturnable??!1})),A}),gt([]),Y(h=>this.returnService.freeProduct$.next(h))),this.apiSubscription=new N,this.unFilteredOrderItems=[],this.returnState$=this.returnService.returnState$,this.returnSteps=y}ngOnInit(){this.unFilteredOrderItems$=this.router.events.pipe(G(e=>e instanceof Pt),gt(null),St(this.consignmentEntries$,this.returnService.returnRequestInput$,this.freeProduct$,this.returnService.returnState$),q(([e,n,r,C,h])=>{let I=JSON.parse(JSON.stringify(n[0].orderEntry));I.trackingInformation=n[0].trackingInformation;let A=[],F;return I?.addedWhiteGloveService&&(F=W(j({},I.addedWhiteGloveService),{laborAddonInstallation:I.addedWhiteGloveService?.laborAddonInstallation?.filter(z=>z.isReturnable!==!1),mandatoryInstallation:I.addedWhiteGloveService?.mandatoryInstallation?.isReturnable?I.addedWhiteGloveService?.mandatoryInstallation:null,productAddonInstallation:I.addedWhiteGloveService?.productAddonInstallation?.filter(z=>z.isReturnable!==!1)})),A.push(W(j(j({},I),r.find(z=>z.orderEntryNumber===I.entryNumber)??{}),{addedWhiteGloveService:F})),C.length&&C[0]?.isReturnable&&(A.push(C[0]),h===y.CHOOSE_PRODUCT&&this.returnService.freeProductReturnReasonSelected$.next(!1)),A})),this.apiSubscription.add(this.consignmentEntries$.subscribe(e=>{let n=JSON.parse(JSON.stringify(e[0].orderEntry));n.trackingInformation=e[0].trackingInformation,this.unFilteredOrderItems=[],this.unFilteredOrderItems.push(n)}))}ngOnDestroy(){this.apiSubscription&&this.apiSubscription.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(p(re),p(Nt),p(w),p(it))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-return-item-list"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[3,"items"]],template:function(n,r){n&1&&(l(0,Ie,4,5,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.consignmentEntries$))},dependencies:[R,Ht,_],encapsulation:2,changeDetection:0})}}return t})();var Te=t=>({items:t});function Me(t,f){if(t&1&&(c(0,"div",6)(1,"h6",7),u(2),i(3,"cxTranslate"),s(),c(4,"p",7),u(5),s()()),t&2){let e=S().ngIf;o(2),d(" ",a(3,2,"common.returnOrder.returnFee")," "),o(3),d("-",e==null||e.returnFee==null?null:e.returnFee.formattedValue,"")}}function Oe(t,f){t&1&&(x(0),c(1,"span",7),u(2),i(3,"cxTranslate"),s(),g()),t&2&&(o(2),$(a(3,1,"common.returnOrder.notGiftCard")))}function Ee(t,f){t&1&&(c(0,"span",7),u(1),i(2,"cxTranslate"),s()),t&2&&(o(),$(a(2,1,"common.returnOrder.sonyGiftCard")))}function Pe(t,f){if(t&1&&(x(0),c(1,"h5",4),u(2),i(3,"cxTranslate"),s(),c(4,"div",5)(5,"div",6)(6,"h6",7),u(7),i(8,"cxTranslate"),s(),c(9,"p",8),u(10),s()(),l(11,Me,6,4,"div",9),c(12,"div",6)(13,"h6",7),u(14),i(15,"cxTranslate"),s(),c(16,"p",7),u(17),s()()(),c(18,"div",10)(19,"h5",8),u(20),i(21,"cxTranslate"),l(22,Oe,4,3,"ng-container",11)(23,Ee,3,3,"ng-template",null,0,et),s(),c(25,"p",8),u(26),s()(),g()),t&2){let e=f.ngIf,n=Z(24),r=S(2);o(2),d(" ",a(3,10,"common.returnOrder.returnSummary")," "),o(5),d(" ",tt(8,12,"common.returnOrder.summarySubTotal",U(19,Te,e==null||e.entries==null?null:e.entries.length))," "),o(3),d(" ",e==null||e.subTotal==null?null:e.subTotal.formattedValue," "),o(),m("ngIf",(e==null?null:e.returnFee)&&(e==null||e.returnFee==null?null:e.returnFee.value)),o(3),d(" ",a(15,15,"common.returnOrder.summaryTaxes")," "),o(3),d(" ",e==null||e.totalTax==null?null:e.totalTax.formattedValue," "),o(3),d(" ",a(21,17,"common.returnOrder.summaryTotal")," "),o(2),m("ngIf",!r.isGiftReceiver)("ngIfElse",n),o(4),d(" ",e==null||e.totalPriceWithTax==null?null:e.totalPriceWithTax.formattedValue," ")}}function Ne(t,f){if(t&1&&(c(0,"div",2),l(1,Pe,27,21,"ng-container",3),i(2,"async"),s()),t&2){let e=S();o(),m("ngIf",a(2,1,e.returnSummary$))}}var ie=(()=>{class t{constructor(e,n,r){this.returnService=e,this.customAuthService=n,this.globalMessageService=r,this.clazz="",this.returnSteps=y,this.returnState$=this.returnService.returnState$,this.returnSummary$=this.returnService.getReturnSummary().pipe(Y(C=>{this.returnState$.subscribe(h=>{h===this.returnSteps.RETURN_SUMMARY&&(this.isGiftReceiver=C.isGiftReceiver)})}),_t(C=>(C.error.errors.filter(h=>h.type==="IllegalStateError").forEach(h=>{this.returnService.activateButton(!1),this.globalMessageService.add({key:"httpHandlers.errorMessage",params:{errorMessage:h.message||""}},$t.MSG_TYPE_ERROR)}),Ct(null))))}ngOnInit(){this.isGiftReceiver=!1,this.returnState$.subscribe(e=>{this.clazz=e===this.returnSteps.RETURN_SUMMARY?"":"d-none"})}static{this.\u0275fac=function(n){return new(n||t)(p(w),p(mt),p(at))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-return-summary"]],hostVars:2,hostBindings:function(n,r){n&2&&Q(r.clazz)},standalone:!1,decls:3,vars:3,consts:[["giftOrder",""],["class","return-summary-container",4,"ngIf"],[1,"return-summary-container"],[4,"ngIf"],[1,"return-summary-container__heading","summary-heading--bold"],[1,"return-summary-container__calculation"],[1,"summary-value-container"],[1,"summary-heading"],[1,"summary-heading--bold"],["class","summary-value-container",4,"ngIf"],[1,"return-summary-container__total","summary-value-container"],[4,"ngIf","ngIfElse"]],template:function(n,r){n&1&&(x(0),l(1,Ne,3,3,"div",1),i(2,"async"),g()),n&2&&(o(),m("ngIf",a(2,1,r.returnState$)===r.returnSteps.RETURN_SUMMARY))},dependencies:[R,_,T],styles:[`.santorini-updated[_ngcontent-%COMP%]{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.return-summary-container[_ngcontent-%COMP%]{box-shadow:0 0 6px #00000026;border-radius:5px;padding:24px 20px 20px;position:sticky;top:40px;height:fit-content;transition:all .25s ease-in-out}@media (min-width: 768px) and (max-width: 1199.98px){.return-summary-container[_ngcontent-%COMP%]{margin-top:16px}}.return-summary-container__heading[_ngcontent-%COMP%]{border-bottom:1px solid var(--gray70);padding-bottom:24px}.return-summary-container__calculation[_ngcontent-%COMP%]{margin-top:24px;margin-bottom:20px}.return-summary-container__total[_ngcontent-%COMP%]{border-top:1px solid var(--gray70);padding-top:20px}.return-summary-container[_ngcontent-%COMP%] .summary-heading[_ngcontent-%COMP%]{color:var(--laurelGray);font-family:var(--font-pro-roman);font-size:12px;line-height:1.5;margin-bottom:8px}.return-summary-container[_ngcontent-%COMP%] .summary-heading--bold[_ngcontent-%COMP%]{color:var(--grayMediumCool);font-family:var(--font-pro-bold);font-size:15px;line-height:1.33;margin-bottom:unset}.return-summary-container[_ngcontent-%COMP%] .summary-value-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.return-summary-container[_ngcontent-%COMP%] .summary-value-container[_ngcontent-%COMP%] .summary-heading--bold[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;font-size:12px}.return-summary-container[_ngcontent-%COMP%] .summary-value-container[_ngcontent-%COMP%] .summary-heading--bold[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-top:4px}.sony-storefront.scrolling-up[_ngcontent-%COMP%] .return-summary-container[_ngcontent-%COMP%]{top:106px}@media (max-width: 767.98px){.return-summary-container[_ngcontent-%COMP%]{margin-bottom:40px}}
`],changeDetection:0})}}return t})();function De(t,f){if(t&1&&(x(0),c(1,"span",11),u(2),s(),g()),t&2){let e=f.$implicit;o(2),d("#",e,"")}}function Be(t,f){if(t&1&&(x(0),c(1,"div",1)(2,"div",2),b(3,"img",3),c(4,"span",4),u(5),i(6,"cxTranslate"),s()(),c(7,"div",5)(8,"span",6),u(9),i(10,"cxTranslate"),s(),l(11,De,3,1,"ng-container",7),s(),b(12,"hr",8),c(13,"div",9)(14,"p",10),u(15),i(16,"cxTranslate"),s()()(),g()),t&2){let e=f.ngIf;o(5),d(" ",a(6,4,"common.returnOrder.returnDone")," "),o(4),$(a(10,6,"common.returnOrder.returnNumber")),o(2),m("ngForOf",e),o(4),d(" ",a(16,8,"common.returnOrder.returnMessage")," ")}}var lt=(()=>{class t{constructor(e){this.returnService=e,this.returnIds$=this.returnService.getReturnRequestsDetails().pipe(q(n=>n.map(r=>r.rma)))}static{this.\u0275fac=function(n){return new(n||t)(p(w))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-confirmation-heading"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[1,"row","justify-content-center","return-confirmation-overview"],[1,"return-confirmation-overview__return-confirmation-header"],["src","/assets/icons/svgs/atom-icon-confirmation-desktop-blue.svg","alt","Confirmation Tick",1,"return-confirmation-overview__return-confirmation-header__icon"],[1,"return-confirmation-overview__return-confirmation-header__text"],[1,"return-confirmation-overview__request-container"],[1,"return-confirmation-overview__request-container__request-text"],[4,"ngFor","ngForOf"],[1,"return-confirmation-overview__hr-element"],[1,"return-confirmation-overview__return-request-container"],[1,"return-confirmation-overview__return-request-container__message"],[1,"return-confirmation-overview__request-container__request-id"]],template:function(n,r){n&1&&(l(0,Be,17,10,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.returnIds$))},dependencies:[ot,R,_,T],styles:[`.santorini-updated[_ngcontent-%COMP%]{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.return-confirmation-overview[_ngcontent-%COMP%]{color:var(--grayMediumCool);padding-top:73px;padding-bottom:0}.return-confirmation-overview__return-confirmation-header[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center}.return-confirmation-overview__return-confirmation-header__icon[_ngcontent-%COMP%]{width:36px;height:36px}.return-confirmation-overview__return-confirmation-header__text[_ngcontent-%COMP%]{font-family:var(--font-pro-roman);font-size:30px;line-height:1.2;margin-left:16px}.return-confirmation-overview__request-container[_ngcontent-%COMP%]{margin-top:16px;width:100%;display:flex;justify-content:center;margin-bottom:40px}.return-confirmation-overview__request-container__request-text[_ngcontent-%COMP%]{font-family:var(--font-pro-roman);font-size:13px;line-height:20px;font-weight:400;padding-top:1px;color:var(--laurelGray)}.return-confirmation-overview__request-container__request-id[_ngcontent-%COMP%]{font-family:var(--font-medium);font-size:15px;line-height:22px;font-weight:500;padding-left:2px;color:var(--black)}.return-confirmation-overview__request-container__request-id[_ngcontent-%COMP%] + .return-confirmation-overview__request-container__request-id[_ngcontent-%COMP%]:before{content:", "}.return-confirmation-overview__hr-element[_ngcontent-%COMP%]{max-width:872px;width:100%;margin:0 auto}.return-confirmation-overview__return-request-container[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:center;margin-top:40px;margin-bottom:72px}.return-confirmation-overview__return-request-container__message[_ngcontent-%COMP%]{font-family:var(--font-pro-roman);font-size:22px;line-height:26px;font-weight:400;margin-bottom:0;color:var(--black)}@media (max-width: 767.98px){.return-confirmation-overview[_ngcontent-%COMP%]{padding-top:24px}.return-confirmation-overview__return-confirmation-header[_ngcontent-%COMP%]{flex-direction:column;align-items:center}.return-confirmation-overview__return-confirmation-header__text[_ngcontent-%COMP%]{font-size:22px;line-height:26px;font-weight:400}.return-confirmation-overview__request-container[_ngcontent-%COMP%]{margin-top:8px;margin-bottom:24px}.return-confirmation-overview__request-container__request-text[_ngcontent-%COMP%]{font-size:11px;line-height:16px}.return-confirmation-overview__request-container__request-id[_ngcontent-%COMP%]{font-size:12px;line-height:18px}.return-confirmation-overview__hr-element[_ngcontent-%COMP%]{margin:0 16px}.return-confirmation-overview__return-request-container[_ngcontent-%COMP%]{text-align:center;margin:24px 0}.return-confirmation-overview__return-request-container__message[_ngcontent-%COMP%]{font-size:18px;line-height:22px}}
`],changeDetection:0})}}return t})();function $e(t,f){if(t&1&&(x(0),b(1,"div",1),g()),t&2){let e=f.ngIf;o(),m("innerHTML",e.content,D)}}var dt=(()=>{class t{constructor(e){this.cmsdata=e,this.pageData$=this.cmsdata.getComponentData("ReturnConfirmationNextStepsComponent")}static{this.\u0275fac=function(n){return new(n||t)(p(O))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-confirmation-next-steps"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[1,"return-next-steps",3,"innerHTML"]],template:function(n,r){n&1&&(l(0,$e,2,1,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.pageData$))},dependencies:[R,_],styles:[`.santorini-updated{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.return-next-steps{background-color:var(--white);border-radius:5px;box-shadow:0 0 6px #0000000d}.return-next-steps__heading{font-family:var(--font-pro-medium);font-size:18px;line-height:26px;border-bottom:1px solid var(--gray70);padding:20px 0;margin:0 16px}.return-next-steps__heading span{display:none}.return-next-steps__points{padding:24px 20px;list-style-position:inside}.return-next-steps__points li{font-family:var(--font-pro-medium);font-size:15px;line-height:1.47}.return-next-steps__points li p{font-family:var(--font-pro-roman);font-size:13px;line-height:1.54;color:var(--laurelGray);margin-left:16px!important}.return-next-steps__points li a{color:var(--royalblue)}@media (max-width: 767.98px){.return-next-steps{margin-top:auto}.return-next-steps__heading{font-size:15px;line-height:20px;font-weight:500}.return-next-steps__points{padding:16px}.return-next-steps__points li{font-size:12px;line-height:1.33}.return-next-steps__points p{font-size:11px;line-height:1.82}}
/*!
* Bootstrap v4.6.2 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*
* DO NOT MODIFY THIS FILE. It preserves compatibility with Bootstrap 4.6 docs.
*/
`],encapsulation:2})}}return t})();function ze(t,f){if(t&1&&(c(0,"div",7)(1,"h6",8),u(2),i(3,"cxTranslate"),s(),c(4,"p",8),u(5),s()()),t&2){let e=S();o(2),d(" ",a(3,2,"common.returnOrder.returnFee")," "),o(3),d("-",e.returnRequest==null||e.returnRequest.returnFee==null?null:e.returnRequest.returnFee.formattedValue,"")}}function qe(t,f){t&1&&(x(0),c(1,"span",8),u(2),i(3,"cxTranslate"),s(),g()),t&2&&(o(2),$(a(3,1,"common.returnOrder.notGiftCard")))}function Ae(t,f){t&1&&(c(0,"span",8),u(1),i(2,"cxTranslate"),s()),t&2&&(o(),$(a(2,1,"common.returnOrder.sonyGiftCard")))}var ft=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-confirmation-summary"]],inputs:{returnRequest:"returnRequest"},standalone:!1,decls:31,vars:18,consts:[["giftOrder",""],[1,"mb-4","mt-3"],[1,"return-summary-container"],[1,"return-summary-container__heading"],[1,"col-md-8","offset-md-4"],[1,"d-sm-block","d-md-none","d-xl-none"],[1,"return-summary-container__calculation"],[1,"summary-value-container"],[1,"summary-heading"],["class","summary-value-container",4,"ngIf"],[1,"return-summary-container__hr"],[1,"return-summary-container__total","summary-value-container"],[1,"return-summary-container__total__text"],[4,"ngIf","ngIfElse"],[1,"return-summary-container__total__value"]],template:function(n,r){if(n&1&&(c(0,"div",1)(1,"div",2)(2,"div",3),u(3),i(4,"cxTranslate"),s(),c(5,"div",4),b(6,"hr",5),c(7,"div",6)(8,"div",7)(9,"h6",8),u(10),i(11,"cxTranslate"),s(),c(12,"p",8),u(13),s()(),l(14,ze,6,4,"div",9),c(15,"div",7)(16,"h6",8),u(17),i(18,"cxTranslate"),s(),c(19,"p",8),u(20),s()()(),b(21,"hr",10),c(22,"div",11)(23,"h5",12),u(24),i(25,"cxTranslate"),l(26,qe,4,3,"ng-container",13)(27,Ae,3,3,"ng-template",null,0,et),s(),c(29,"p",14),u(30),s()()()()()),n&2){let C=Z(28);o(3),d(" ",a(4,10,"common.returnOrder.returnSummary")," "),o(7),d(" ",a(11,12,"common.returnOrder.summarySubTotalConfirmation")," "),o(3),d(" ",r.returnRequest==null||r.returnRequest.subTotal==null?null:r.returnRequest.subTotal.formattedValue," "),o(),m("ngIf",(r.returnRequest==null?null:r.returnRequest.returnFee)&&(r.returnRequest==null||r.returnRequest.returnFee==null?null:r.returnRequest.returnFee.value)),o(3),d(" ",a(18,14,"common.returnOrder.summaryTaxes")," "),o(3),d(" ",r.returnRequest==null||r.returnRequest.totalTax==null?null:r.returnRequest.totalTax.formattedValue," "),o(4),d(" ",a(25,16,"common.returnOrder.summaryTotal")," "),o(2),m("ngIf",!(r.returnRequest!=null&&r.returnRequest.isGiftReceiverReturn))("ngIfElse",C),o(4),d(" ",r.returnRequest==null||r.returnRequest.totalPrice==null?null:r.returnRequest.totalPrice.formattedValue," ")}},dependencies:[R,T],styles:[`.santorini-updated[_ngcontent-%COMP%]{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.return-summary-container[_ngcontent-%COMP%]{background-color:var(--white);padding:24px 20px 20px;border-radius:5px;box-shadow:0 0 6px #0000000d}.return-summary-container__heading[_ngcontent-%COMP%]{padding-bottom:24px;font-weight:400;font-size:18px;line-height:26px;font-family:var(--font-pro-roman)}.return-summary-container__calculation[_ngcontent-%COMP%]{margin-bottom:16px}.return-summary-container__total[_ngcontent-%COMP%]{padding-top:8px;font-family:var(--font-bold)}.return-summary-container__total__text[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;font-size:15px;line-height:20px}.return-summary-container__total__text[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-top:4px}.return-summary-container__total__value[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;font-size:15px;line-height:20px}.return-summary-container[_ngcontent-%COMP%] .summary-heading[_ngcontent-%COMP%]{color:var(--laurelGray);font-family:var(--font-pro-roman);font-weight:400;font-size:15px;line-height:22px;margin:8px 0}.return-summary-container[_ngcontent-%COMP%] .summary-heading--bold[_ngcontent-%COMP%]{color:var(--grayMediumCool);font-family:var(--font-bold);font-size:16px;line-height:26px;margin-bottom:unset}.return-summary-container[_ngcontent-%COMP%] .summary-value-container[_ngcontent-%COMP%]{display:flex;justify-content:space-between}@media (max-width: 767.98px){.return-summary-container[_ngcontent-%COMP%]{padding:15px 20px 20px}.return-summary-container[_ngcontent-%COMP%] .summary-heading[_ngcontent-%COMP%]{font-size:12px;line-height:18px}.return-summary-container__heading[_ngcontent-%COMP%]{padding-bottom:0}}
`]})}}return t})();function je(t,f){if(t&1&&(x(0),c(1,"div",1),b(2,"div",2),s(),g()),t&2){let e=f.ngIf;o(2),m("innerHTML",e.content,D)}}var xt=(()=>{class t{constructor(e,n,r){this.cmsdata=e,this.renderer=n,this.windowAdapter=r,this.pageData$=this.cmsdata.getComponentData("ReturnConfirmationSupportComponent"),this.renderer.addClass(this.windowAdapter.getWindow().document.body,"return-confirmation-page")}ngOnDestroy(){this.renderer.removeClass(this.windowAdapter.getWindow().document.body,"return-confirmation-page")}static{this.\u0275fac=function(n){return new(n||t)(p(O),p(K),p(st))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-confirmation-support"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],[1,"custom-confirmation-support"],[1,"return-support",3,"innerHTML"]],template:function(n,r){n&1&&(l(0,je,3,1,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.pageData$))},dependencies:[R,_],styles:[`.santorini-updated{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.custom-confirmation-support{font-family:var(--font-pro-roman);font-size:18px;line-height:1.44}.custom-confirmation-support a{margin-left:12px;color:var(--royalblue)}.custom-confirmation-support .return-support p{margin-bottom:0;padding-bottom:111px}@media (max-width: 991.98px){.custom-confirmation-support .return-support p{padding-bottom:70px}}@media (max-width: 767.98px){.custom-confirmation-support{font-size:12px;line-height:1.5}.custom-confirmation-support .return-support p{padding-bottom:58px}}
/*!
* Bootstrap v4.6.2 (https://getbootstrap.com/)
* Copyright 2011-2022 The Bootstrap Authors
* Copyright 2011-2022 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*
* DO NOT MODIFY THIS FILE. It preserves compatibility with Bootstrap 4.6 docs.
*/
`],encapsulation:2})}}return t})();function He(t,f){t&1&&(x(0),c(1,"p",2),u(2),i(3,"cxTranslate"),s(),c(4,"h2",3),u(5),i(6,"cxTranslate"),s(),g()),t&2&&(o(2),d(" ",a(3,2,"common.order.returnRefund")," "),o(3),d(" ",a(6,4,"common.returnOrder.reviewReturn")," "))}function Le(t,f){t&1&&(c(0,"h2",4),u(1),i(2,"cxTranslate"),s()),t&2&&(o(),d(" ",a(2,1,"common.returnOrder.returnInstructions"),`
`))}var ae=(()=>{class t{constructor(e){this.returnFlowState=e,this.returnSteps=y,this.returnState$=this.returnFlowState.returnState$}static{this.\u0275fac=function(n){return new(n||t)(p(w))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-return-headline"]],standalone:!1,decls:4,vars:6,consts:[[4,"ngIf"],["class","return-instruction-text-headline",4,"ngIf"],[1,"return-page-title"],[1,"custom-return-headline"],[1,"return-instruction-text-headline"]],template:function(n,r){n&1&&(l(0,He,7,6,"ng-container",0),i(1,"async"),l(2,Le,3,3,"h2",1),i(3,"async")),n&2&&(m("ngIf",a(1,2,r.returnState$)===r.returnSteps.RETURN_SUMMARY),o(2),m("ngIf",a(3,4,r.returnState$)===r.returnSteps.RETURN_INSTRUCTIONS))},dependencies:[R,_,T],styles:[".custom-return-headline[_ngcontent-%COMP%]{font-family:var(--font-pro-medium);font-size:15px;line-height:1.47;margin:32px auto}.return-instruction-text-headline[_ngcontent-%COMP%]{font-family:var(--font-pro-medium);font-size:15px;line-height:1.47;margin:12px auto 0}"],changeDetection:0})}}return t})();var V=(()=>{class t{constructor(e,n,r){this.returnService=e,this.router=n,this.authService=r}canDeactivate(e,n,r,C){let h=C.root?.firstChild?.routeConfig;return h?.canDeactivate?.length&&h.canDeactivate.find(I=>I===this.constructor)||this.returnService.resetReturn(),!0}canActivate(e,n){return vt(this,null,function*(){if(!(yield this.returnService.loggedInOrDetailsProvided()))return yield this.returnService.getTrackOrderPage();let r;try{r=e.params[L.returnStep]!==void 0?parseInt(e.params[L.returnStep],10):y.INVALID}catch{r=e.params[L.returnStep]}let C=yield e.params[L.orderCode];switch(r){case y.RETURN_INSTRUCTIONS:case y.RETURN_SUMMARY:if(!this.returnService.returnRequestInput$.value?.length)return this.router.createUrlTree([this.returnService.getStepRoute(y.CHOOSE_PRODUCT,C)],{queryParamsHandling:"preserve"});break;case y.CHOOSE_PRODUCT:if(!this.returnService.orderReturnDetailsInternal$.value)return(yield this.authService.isUserLoggedIn().pipe(yt(1)).toPromise())?this.router.createUrlTree(["my-account","orders"]):this.router.createUrlTree(["track-myorder"]);this.returnService.returnRequestInput$.next([]);break;case y.RETURN_SUBMIT:case void 0:break;default:return this.returnService.orderReturnDetailsInternal$.next(null),this.returnService.returnRequestInput$.next([]),this.router.createUrlTree([""])}return!0})}static{this.\u0275fac=function(n){return new(n||t)(k(w),k(it),k(kt))}}static{this.\u0275prov=J({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Ve(t,f){if(t&1&&(x(0),b(1,"app-custom-confirmation-details",5)(2,"app-custom-confirmation-summary",5),g()),t&2){let e=f.$implicit;o(),m("returnRequest",e),o(),m("returnRequest",e)}}var ce=(()=>{class t{constructor(e){this.returnService=e,this.returnRequests$=this.returnService.getReturnRequestsDetails()}static{this.\u0275fac=function(n){return new(n||t)(p(w))}}static{this.\u0275cmp=v({type:t,selectors:[["app-order-return-confirmation-page"]],standalone:!1,decls:14,vars:12,consts:[[1,"return-confirmation-container"],[1,"confirmation-content-container"],[1,"confirm-return-items"],[1,"confirmation-item-count"],[4,"ngFor","ngForOf"],[3,"returnRequest"]],template:function(n,r){if(n&1&&(c(0,"div",0),b(1,"app-custom-confirmation-heading"),c(2,"div",1),b(3,"app-custom-confirmation-next-steps"),c(4,"p",2)(5,"span",3),u(6),i(7,"async"),i(8,"number"),s(),u(9),i(10,"cxTranslate"),s(),l(11,Ve,3,2,"ng-container",4),i(12,"async"),b(13,"app-custom-confirmation-support"),s()()),n&2){let C;o(6),$(tt(8,5,(C=a(7,3,r.returnRequests$))==null?null:C.length,"2.0-0")),o(3),d(" ",a(10,8,"common.returnOrder.itemsToReturn")," "),o(2),m("ngForOf",a(12,10,r.returnRequests$))}},dependencies:[ot,lt,dt,ut,ft,xt,_,Ot,T],styles:[`.santorini-updated[_ngcontent-%COMP%]{--cx-color-background: #f4f4f4;--cx-color-text: #14293a;--cx-color-inverse: #ffffff;--cx-color-transparent: transparent;--cx-color-primary: #055f9f;--cx-color-secondary: #556b82;--cx-color-success: #256f3a;--cx-color-info: #0064d8;--cx-color-warning: #b44f00;--cx-color-danger: #aa0808;--cx-color-light: #f1f1f1;--cx-color-dark: #77818b;--cx-color-primary-accent: #0f4880;--cx-color-success-accent: #f0fbe4;--cx-color-danger-accent: #fff1f1;--cx-color-warning-accent: #fff5df;--cx-color-info-accent: #deeffe;--cx-color-medium: #d3d6db;--cx-color-background-dark: #212738;--cx-color-visual-focus: #1f3a93;--cx-color-background-focus: rgba(80, 176, 244, .1);--cx-color-border-focus: rgba(166, 204, 232, .6);--cx-page-width-max: 1140px;--cx-font-weight-light: 300;--cx-font-weight-normal: 400;--cx-font-weight-semi: 600;--cx-font-weight-bold: 700;--cx-text-transform: capitalize;--cx-direction: ltr;--cx-transition-duration: .5s;--cx-animation-duration: 1s;--cx-border-radius: 1em;--cx-buttons-border-radius: 2rem;--cx-buttons-border-width: 3px;--cx-border-style: solid}.return-confirmation-container[_ngcontent-%COMP%]{background:var(--gray80);overflow-x:hidden}.confirmation-content-container[_ngcontent-%COMP%]{max-width:790px;margin:auto}.confirmation-item-count[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%] app-custom-confirmation-details{display:block;margin-bottom:16px!important}[_nghost-%COMP%] app-custom-confirmation-details .return-confirmation__section{padding:0}.confirm-return-items[_ngcontent-%COMP%]{font-family:var(--font-pro-roman);font-size:18px;line-height:26px;margin-top:30px;margin-bottom:32px}.confirm-return-items[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:var(--font-pro-bold);line-height:1.47}@media (max-width: 767.98px){.confirmation-content-container[_ngcontent-%COMP%]{margin:0 16px}.confirm-return-items[_ngcontent-%COMP%]{font-family:var(--font-pro-roman);font-size:15px;line-height:20px;margin-top:16px;margin-bottom:14px}.confirm-return-items[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-family:var(--font-pro-bold);line-height:1.47}}
`]})}}return t})();function We(t,f){if(t&1&&b(0,"div",2),t&2){let e=S(2).ngIf;m("innerHTML",e.content,D)}}function Ye(t,f){if(t&1&&(x(0),l(1,We,1,1,"div",1),i(2,"async"),g()),t&2){let e=S(2);o(),m("ngIf",a(2,1,e.returnState$)===e.returnSteps.RETURN_SUMMARY)}}function Je(t,f){if(t&1&&(x(0),l(1,Ye,3,3,"ng-container",0),g()),t&2){let e=S();o(),m("ngIf",e.isGiftReceiver)}}var se=(()=>{class t{constructor(e,n,r){this.cmsdata=e,this.returnFlowState=n,this.cd=r,this.pageData$=this.cmsdata.getComponentData("BottomGiftReturnNotesComponent"),this.returnState$=this.returnFlowState.returnState$,this.returnSteps=y,this.subscription=new N}ngOnInit(){this.isGiftReceiver=!1,this.returnState$.subscribe(e=>{e===this.returnSteps.RETURN_SUMMARY&&(this.subscription=this.returnFlowState.getReturnSummary().subscribe(n=>{this.isGiftReceiver=n.isGiftReceiver,this.cd.detectChanges()}))})}ngOnDestroy(){this.subscription.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(p(O),p(w),p(nt))}}static{this.\u0275cmp=v({type:t,selectors:[["app-custom-gift-return-bottom-notes"]],standalone:!1,decls:2,vars:3,consts:[[4,"ngIf"],["class","custom-return-notes custom-return-notes--border",3,"innerHTML",4,"ngIf"],[1,"custom-return-notes","custom-return-notes--border",3,"innerHTML"]],template:function(n,r){n&1&&(l(0,Je,2,1,"ng-container",0),i(1,"async")),n&2&&m("ngIf",a(1,1,r.pageData$))},dependencies:[R,_],styles:[`.custom-return-notes{padding-top:56px;padding-bottom:56px}@media only screen and (max-width: 575px){.custom-return-notes{padding-top:36px;padding-bottom:36px}}.custom-return-notes--border{border-top:solid 1px var(--gray70);margin-top:80px}@media only screen and (max-width: 575px){.custom-return-notes--border{margin-top:auto;border-top:none}}.custom-return-notes__heading{font-family:var(--font-medium);font-size:15px;color:var(--grayMediumCool);margin-bottom:24px}.custom-return-notes .custom-return-notes-container{background-color:var(--gray80);padding:32px 102px 40px}@media only screen and (max-width: 991px){.custom-return-notes .custom-return-notes-container{padding:32px}}@media only screen and (max-width: 575px){.custom-return-notes .custom-return-notes-container{padding:16px;font-size:11px}}.custom-return-notes .custom-return-notes-container__heading{font-family:var(--font-medium);font-size:13px;color:var(--grayMediumCool);margin-bottom:12px}.custom-return-notes .custom-return-notes-container ol{list-style-position:inside;padding-inline-start:0}.custom-return-notes .custom-return-notes-container ol li{font-family:var(--font-pro-roman);font-size:13px;color:var(--laurelGray)}.custom-return-notes .custom-return-notes-container ol li a{color:var(--royalblue)}
`],encapsulation:2,changeDetection:0})}}return t})();var fr=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275mod=Tt({type:t})}static{this.\u0275inj=Rt({providers:[ht,{provide:qt,useExisting:ht}],imports:[Et,Kt,zt,jt,Wt,Jt,Yt,Dt.forChild([{path:null,canDeactivate:[V],canActivate:[H],component:ce,data:{pageLabel:"ConfirmReturnOrderPage",cxRoute:"orderReturnConfirmationGuest"}},{path:null,canDeactivate:[V],canActivate:[H,V],component:ct,data:{pageLabel:"ReturnOrderPage",cxRoute:"returnGuest"}},{path:null,canDeactivate:[V],canActivate:[H],component:ct,data:{pageLabel:"track-myorder",cxRoute:"trackOrderDetails"}},{path:null,canActivate:[H],component:ct,data:{pageLabel:"track-myorder",cxRoute:"fetchOrderDetails"}}]),Ft.withConfig({routing:{routes:{orderReturnConfirmationGuest:{paths:["orders/:orderCode/return/confirmation"],paramsMapping:{orderCode:"code"}},returnGuest:{paths:["orders/:orderCode/return/steps/:returnStep"],paramsMapping:{orderCode:"code",returnStep:"returnStep"}},trackOrderDetails:{paths:["orders/:orderCode/track"],paramsMapping:{orderCode:"code"}},orderReturn:{paths:["my-account/order/return/:orderCode"],paramsMapping:{orderCode:"code"}},fetchOrderDetails:{paths:["order/:orderCode/email/:emailAddress"],paramsMapping:{orderCode:"code",emailAddress:"emailAddress"}}}},cmsComponents:{ReturnOrderComponent:{component:void 0,guards:[]},ReturnOrderHeadlineComponent:{component:ae},TopReturnNotesComponent:{component:Xt},OrderDetailsComponent:{component:oe},ReturnSummaryComponent:{component:ie},BottomReturnNotesComponent:{component:Zt},BottomGiftReturnNotesComponent:{component:se},ReturnInstructionsComponent:{component:te},ReturnNavigationtermsandconditionComponent:{component:ne},ReturnNavComponent:{component:ee},ReturnConfirmationHeadingComponent:{component:lt},ReturnConfirmationNextStepsComponent:{component:dt},ReturnConfirmationDetailsComponent:{component:ut},ReturnConfirmationSummaryComponent:{component:ft},ReturnConfirmationSupportComponent:{component:xt},ReturnOrderConfirmationComponent:{guards:[],providers:[{provide:Vt,useExisting:pt}]}}}),Qt]})}}return t})();export{fr as a};