1"use strict";(self.webpackChunkroyal=self.webpackChunkroyal||[]).push([[2464],{22464:(U,f,t)=>{t.r(f),t.d(f,{routes:()=>L});var s=t(2358),d=t(54438),r=t(75901),c=t(49287),C=t(89079),T=t(88141),e=t(5964),l=t(61594),m=t(96354),i=t(7673),I=t(99437),N=t(70980),M=t(84887);const v=()=>{const n=(0,d.WQX)(M.y),a=(0,d.WQX)(c.xp);return n.areCountriesLoaded()?(0,i.of)(!0):(a.addToLoadingQueue(),n.loadCountries().pipe((0,m.T)(()=>!0),(0,I.W)(()=>(0,i.of)(!1)),(0,N.j)(()=>a.removeLoadingFromQueue())))},h=()=>{const n=(0,d.WQX)(r.nH);return n.hasUnSavedChanges()?(n.toggleModal(),n.confirmed$.pipe((0,e.p)(a=>a))):(0,i.of)(!0)};var u=t(96697),P=t(25558),Q=t(59640),W=t(21148),E=t(67039),F=t(87343),R=t(85014);const S=n=>n.select(E.Fk).pipe((0,e.p)(a=>!!a.data?.cobrandProgram?.loaded),(0,u.s)(1)),L=[{path:"",loadComponent:()=>Promise.all([t.e(7328),t.e(5188)]).then(t.bind(t,72807)).then(n=>n.SettingsLayoutComponent),canActivate:[s.W_],data:{breadcrumb:"NAV.PROFILE"},children:[{path:"sign-in-information",loadComponent:()=>Promise.all([t.e(7328),t.e(2076),t.e(2851)]).then(t.bind(t,12851)).then(n=>n.SignInInformationComponent),canActivate:[s.W_,()=>{const n=(0,d.WQX)(r.Hj),a=(0,d.WQX)(c.xp);return(0,C.br)(n.state).pipe((0,T.M)(o=>{!o.loaded&&!o.loading&&(a.addToLoadingQueue(),n.fetchSecurityQuestions())}),(0,e.p)(o=>o.loaded||!!o.error),(0,l.$)(),(0,T.M)(()=>a.removeLoadingFromQueue()),(0,m.T)(()=>!0))},v],canDeactivate:[h],data:{breadcrumb:"CUSTOMER_JOURNEY.SETTINGS.SIGN_IN_TITLE"}},{path:"contact-information",loadComponent:()=>Promise.all([t.e(2076),t.e(1547)]).then(t.bind(t,91547)).then(n=>n.ContactInformationComponent),canActivate:[s.W_,v],canDeactivate:[h],data:{breadcrumb:"CUSTOMER_JOURNEY.SETTINGS.ACCOUNT_TITLE"}},{path:"saved-guests",loadComponent:()=>Promise.all([t.e(7328),t.e(8267)]).then(t.bind(t,58267)).then(n=>n.SavedGuestsComponent),canActivate:[s.W_,v],data:{breadcrumb:"CUSTOMER_JOURNEY.SETTINGS.MY_SAVED_TITLE"}},{path:"offers-communications",loadComponent:()=>t.e(7372).then(t.bind(t,57372)).then(n=>n.OffersCommunicationsComponent),canActivate:[s.W_],canDeactivate:[h],data:{breadcrumb:"CUSTOMER_JOURNEY.SETTINGS.NOTIFICATION_TITLE"}},{path:"payment-methods",loadComponent:()=>Promise.all([t.e(7328),t.e(2407)]).then(t.bind(t,82407)).then(n=>n.PaymentMethodsComponent),canActivate:[s.W_,()=>{const n=(0,d.WQX)(r.Yu);return(0,d.WQX)(c.PP).getAccountData$.pipe((0,e.p)(o=>!!o.accountId),(0,l.$)()).subscribe(()=>{n.fetchPaymentMethods()}),(0,C.br)(n.state).pipe((0,e.p)(o=>o.loaded||!!o.error),(0,l.$)(),(0,m.T)(()=>!0))}],resolve:{cobrandCardsInfoRes:()=>{const n=(0,d.WQX)(c.PP),a=(0,d.WQX)(F.f),o=(0,d.WQX)(Q.il);return a.isLDFlagEnabled(W.mA.ENABLE_COBRAND_NEW_PROGRAM_PROMPTS)?(n.fetchCobrandInfo(),S(o)):o.select(E.Qx).pipe((0,u.s)(1),(0,P.n)(y=>(y?.cobrandProgram?.loaded||o.dispatch(R.Xw.getCobrandInfoSuccess({payload:{raw:null,lastUpdated:null}})),S(o))))}},data:{breadcrumb:"CUSTOMER_JOURNEY.SETTINGS.PAYMENT_TITLE"}},{path:"**",redirectTo:"sign-in-information",pathMatch:"full"}]}]}}]);
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.