1import"./chunk-C1l-X8q0.js";import{$ as Ij,Ar as h_,B as Gc,Cn as Wt,Ft as P,Gr as jv,Gt as R_,Hr as jj,Ii as te$1,Ji as vae,Li as tj,Lt as PB,Mi as sH,N as FB,Or as hH,Pn as Zce,Ri as tp,Rn as Zt,Sn as Wc,T as DH,Ut as QU,Wr as js,Zr as ko,_n as V_,er as bce,f as BB,fi as nu,gr as et,ia as xn,it as Jc,l as Af,m as Ba,na as xH,vt as Lj,xi as pl,xr as fte,yi as pH,zi as u5,zr as jB}from"./chunk-CmlE52dB.js";import"./chunk-DQoD59L3.js";import"./chunk-wMm8Qji7.js";import"./chunk-CpcHCGY5.js";import"./chunk-BHDv8Pa9.js";import"./chunk-C-9Cy69z.js";import"./chunk-BRQjn97q.js";import"./chunk-Ch0QpZJD.js";import"./chunk-DS0bjIpZ.js";import{t as C}from"./chunk-B49dHovE.js";import"./chunk-CxXThWl1.js";import{et as Yr,lt as ht,st as go}from"./main-IWBLKS3N.js";import{t as Y$1}from"./chunk-D-5ZA4DH2.js";var X=[`profile`];var Y=()=>[import(`./chunk-6mnfjUYF2.js`).then(e=>e.ProfileComponent)];function Z(e,c){e&1&&(ko(0,`ion-item`,5),Af(1,`ion-icon`,27),ko(2,`ion-label`),Ij(3),Lj(4,`translate`),js()()),e&2&&(pl(3),V_(jj(4,1,`Account.Password`)))}function $(e,c){e&1&&Af(0,`ion-item-divider`,16)}function ee(e,c){if(e&1&&(ko(0,`ion-item`,17),Af(1,`ion-icon`,28),ko(2,`ion-label`),Ij(3),js()()),e&2){let t=Ba(2);pl(3),V_(t.pageService.getAvailablePage(`practicalInformation`)?.name)}}function te(e,c){if(e&1&&(ko(0,`ion-item`,18),Af(1,`ion-icon`,29),ko(2,`ion-label`),Ij(3),js()()),e&2){let t=Ba(2);pl(3),V_(t.pageService.getAvailablePage(`instructionsOfUse`)?.name)}}function ie(e,c){if(e&1&&(ko(0,`ion-item`,19),Af(1,`ion-icon`,30),ko(2,`ion-label`),Ij(3),js()()),e&2){let t=Ba(2);pl(3),V_(t.pageService.getAvailablePage(`help`)?.name)}}function ne(e,c){if(e&1&&(ko(0,`ion-item`,20),Af(1,`ion-icon`,25),ko(2,`ion-label`),Ij(3),js()()),e&2){let t=Ba(2);pl(3),V_(t.pageService.getAvailablePage(`aboutUs`)?.name)}}function oe(e,c){if(e&1&&(ko(0,`ion-item`,21),Af(1,`ion-icon`,25),ko(2,`ion-label`),Ij(3),js()()),e&2){let t=Ba(2);pl(3),V_(t.pageService.getAvailablePage(`legalTerms`)?.name)}}function ae(e,c){if(e&1&&(ko(0,`ion-item`,22),Af(1,`ion-icon`,25),ko(2,`ion-label`),Ij(3),js()()),e&2){let t=Ba(2);pl(3),V_(t.pageService.getAvailablePage(`terms`)?.name)}}function le(e,c){if(e&1&&(ko(0,`ion-item`,23),Af(1,`ion-icon`,25),ko(2,`ion-label`),Ij(3),js()()),e&2){let t=Ba(2);pl(3),V_(t.pageService.getAvailablePage(`gdpr`)?.name)}}function re(e,c){e&1&&Af(0,`ion-item-divider`,16)}function ce(e,c){if(e&1){let t=jv();ko(0,`ion-item`,31),Zt(`click`,function(g){Wc(t);return Gc(Ba(2).logout(g))}),Af(1,`ion-icon`,32),ko(2,`ion-label`),Ij(3),Lj(4,`translate`),js()()}e&2&&(pl(3),V_(jj(4,1,`Account.Logout`)))}function me(e,c){if(e&1&&(ko(0,`ion-content`)(1,`div`,1),Af(2,`app-breadcrumbs`),ko(3,`ion-list`,2)(4,`ion-item`,3),Af(5,`ion-icon`,4),ko(6,`ion-label`),Ij(7),Lj(8,`translate`),js()(),BB(9,Z,5,3,`ion-item`,5),ko(10,`ion-item`,6),Af(11,`ion-icon`,7),ko(12,`ion-label`),Ij(13),Lj(14,`translate`),js()(),ko(15,`ion-item`,8),Af(16,`fa-icon`,9),ko(17,`ion-label`),Ij(18),Lj(19,`translate`),js()(),ko(20,`ion-item`,10),Af(21,`ion-icon`,11),ko(22,`ion-label`),Ij(23),Lj(24,`translate`),js()(),ko(25,`ion-item`,12),Af(26,`ion-icon`,13),ko(27,`ion-label`),Ij(28),Lj(29,`translate`),js()(),ko(30,`ion-item`,14),Af(31,`fa-icon`,15),ko(32,`ion-label`),Ij(33),Lj(34,`translate`),js()(),BB(35,$,1,0,`ion-item-divider`,16),BB(36,ee,4,1,`ion-item`,17),BB(37,te,4,1,`ion-item`,18),Af(38,`ion-item-divider`,16),BB(39,ie,4,1,`ion-item`,19),BB(40,ne,4,1,`ion-item`,20),BB(41,oe,4,1,`ion-item`,21),BB(42,ae,4,1,`ion-item`,22),BB(43,le,4,1,`ion-item`,23),ko(44,`ion-item`,24),Af(45,`ion-icon`,25),ko(46,`ion-label`),Ij(47),Lj(48,`translate`),js()(),BB(49,re,1,0,`ion-item-divider`,16),BB(50,ce,5,3,`ion-item`,26),js()()()),e&2){let t=Ba();pl(7),V_(jj(8,18,`Account.Profile`)),pl(2),jB(t.appInfoService.options.autologin?-1:9),pl(4),V_(jj(14,20,`Account.GiftCertificates`)),pl(5),V_(jj(19,22,`Account.Wallets`)),pl(5),V_(jj(24,24,`Account.Devices`)),pl(5),V_(jj(29,26,`Account.Orders`)),pl(5),V_(jj(34,28,`Account.RefundApplications`)),pl(2),jB(t.pageService.getAvailablePage(`practicalInformation`)||t.pageService.getAvailablePage(`instructionsOfUse`)?35:-1),pl(),jB(t.pageService.getAvailablePage(`practicalInformation`)?36:-1),pl(),jB(t.pageService.getAvailablePage(`instructionsOfUse`)?37:-1),pl(2),jB(t.pageService.getAvailablePage(`help`)?39:-1),pl(),jB(t.pageService.getAvailablePage(`aboutUs`)?40:-1),pl(),jB(t.pageService.getAvailablePage(`legalTerms`)?41:-1),pl(),jB(t.pageService.getAvailablePage(`terms`)?42:-1),pl(),jB(t.pageService.getAvailablePage(`gdpr`)?43:-1),pl(4),V_(jj(48,30,`Account.About`)),pl(2),jB(t.canLogout?49:-1),pl(),jB(t.canLogout?50:-1)}}function se(e,c){e&1&&Af(0,`app-account-profile`,null,0)}function pe(e,c){e&1&&(h_(0,se,2,0),FB(1,0,Y),PB())}var be=(()=>{class e{constructor(){this._router=P(xn),this._translatePipe=P(Yr),this._toastService=P(ht),this._userService=P(Zce),this.appInfoService=P(bce),this.pageService=P(go),this.organisationService=P(tp),this._profile=fte(`profile`),this._entered=et(!1),Jc(()=>{let t=this._profile();this._entered()&&t&&t.ionViewWillEnter()})}ngOnInit(){}ionViewWillEnter(){this._entered.set(!0)}ionViewDidLeave(){this._entered.set(!1),this._profile()?.ionViewDidLeave()}logout(t){t.preventDefault(),this._userService.logout().catch(p=>{}).finally(()=>{this._toastService.setSuccess(this._translatePipe.transform(`App.LogoutSuccess`)).catch(p=>{}),this._router.navigate([`/`])})}get canLogout(){return this._userService.loggedIn&&(!this.organisationService.currentAuthenticatedOrganisation?.options?.autologin||this.organisationService.currentAuthenticatedOrganisation?.options?.autologin&&this.organisationService.currentAuthenticatedOrganisation?.options?.autologinLogoutEnabled)}static{this.ɵfac=function(p){return new(p||e)}}static{this.ɵcmp=te$1({type:e,selectors:[[`app-account`]],viewQuery:function(p,g){p&1&&R_(g._profile,X,5),p&2&&tj()},features:[Wt([Yr])],decls:2,vars:1,consts:[[`profile`,``],[1,`content`],[`lines`,`none`],[`mode`,`ios`,`routerLink`,`/account/profile`,`lines`,`full`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`person-circle-outline`],[`mode`,`ios`,`routerLink`,`/account/password`,`lines`,`full`],[`mode`,`ios`,`routerLink`,`/account/giftCertificates`,`lines`,`full`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`gift-outline`],[`mode`,`ios`,`routerLink`,`/account/wallets`,`lines`,`full`],[`slot`,`start`,`color`,`primary-not-white`,`icon`,`fal fa-piggy-bank`,`size`,`22px`],[`mode`,`ios`,`routerLink`,`/account/devices`,`lines`,`full`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`phone-portrait-outline`],[`mode`,`ios`,`routerLink`,`/account/orders`,`lines`,`full`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`cash-outline`],[`mode`,`ios`,`routerLink`,`/account/refundApplications`,`lines`,`full`],[`slot`,`start`,`color`,`primary-not-white`,`icon`,`fal fa-coins`,`size`,`22px`],[`mode`,`ios`],[`mode`,`ios`,`routerLink`,`/page/practicalInformation`,`lines`,`full`],[`mode`,`ios`,`routerLink`,`/page/instru
1ctionsOfUse`,`lines`,`full`],[`mode`,`ios`,`routerLink`,`/page/help`,`lines`,`full`],[`mode`,`ios`,`routerLink`,`/page/aboutUs`,`lines`,`full`],[`mode`,`ios`,`routerLink`,`/page/legalTerms`,`lines`,`full`],[`mode`,`ios`,`routerLink`,`/page/terms`,`lines`,`full`],[`mode`,`ios`,`routerLink`,`/page/gdpr`,`lines`,`full`],[`mode`,`ios`,`routerLink`,`/about`,`lines`,`full`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`information-circle-outline`],[`mode`,`ios`,`href`,``,`lines`,`full`,`detail`,`false`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`lock-closed-outline`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`bulb-outline`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`help-outline`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`help-buoy-outline`],[`mode`,`ios`,`href`,``,`lines`,`full`,`detail`,`false`,3,`click`],[`slot`,`start`,`color`,`primary-not-white`,`name`,`log-out-outline`]],template:function(p,g){p&1&&BB(0,me,51,32,`ion-content`)(1,pe,3,0),p&2&&jB(g.appInfoService.isMobile()?0:1)},dependencies:[vae,QU,sH,hH,pH,DH,xH,u5,Y$1,nu,C,Yr],styles:[`app-account-profile[_ngcontent-%COMP%]{display:contents}ion-icon[_ngcontent-%COMP%], fa-icon[_ngcontent-%COMP%]{width:25px}`],changeDetection:1})}}return e})();export{be as AccountComponent};
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.