1import{c as Z,d as he}from"./chunk-UWEPTKLH.js";import{a as Y,b as fe}from"./chunk-WZTXDORO.js";import"./chunk-DBJITJP7.js";import"./chunk-IQX66EC4.js";import"./chunk-GFKC6M5A.js";import"./chunk-ZFWXKSOU.js";import{a as J,b as me}from"./chunk-OJSBJ4NA.js";import"./chunk-XO2FGHCI.js";import"./chunk-PHIZW7LJ.js";import"./chunk-DAZ4OP2I.js";import{C as de,a as K,r as Q}from"./chunk-KB3N54JY.js";import{a as X,b as ue}from"./chunk-UTN3EQYO.js";import{Ua as H,Va as le,qa as pe}from"./chunk-OJXGTJPV.js";import"./chunk-JY6WUMJA.js";import{g as V,k as W,s as q,v as ae}from"./chunk-CVF2EBXS.js";import"./chunk-P75JQ3L2.js";import"./chunk-ILNVAUFR.js";import"./chunk-XXXYHMW5.js";import"./chunk-HK66GNJM.js";import"./chunk-UKHGNQAH.js";import"./chunk-Q4NOM2MT.js";import"./chunk-VGYU72VE.js";import"./chunk-FCMNA653.js";import"./chunk-JJTX3J3S.js";import"./chunk-NAGMLFRZ.js";import"./chunk-3DKMD57O.js";import"./chunk-QHYAQ7RR.js";import"./chunk-RG752NOJ.js";import"./chunk-SSJRGJOB.js";import"./chunk-5ZHXOKMF.js";import"./chunk-QEYBPWVY.js";import"./chunk-ODR5CHSG.js";import"./chunk-CUS7PVCT.js";import{Bc as re,bb as N,ea as E,ga as oe,ia as F}from"./chunk-5VWF6WJS.js";import"./chunk-PEF5ZI3N.js";import"./chunk-KZVS6OSO.js";import{a as G,b as ce}from"./chunk-FJNVEVG2.js";import{q as _,w as se}from"./chunk-LLJHAJ6J.js";import{a as T,e as ne}from"./chunk-JBMJ2I24.js";import{Pa as R,da as z,ua as O}from"./chunk-GXPIWAQW.js";import{I as w,Kb as L,L as D,P as b,Vd as j,f as S,g as C,ha as v,id as $,ka as ie,mc as k,nc as A,oc as x,pc as U,r as M,sb as B,ua as s,y as P,zb as I}from"./chunk-L4MDHOUV.js";import"./chunk-CNGOBVTT.js";import"./chunk-VPOSDG5Q.js";import"./chunk-CWBPITBU.js";import"./chunk-6OILVHU3.js";import"./chunk-W4TV2JEG.js";import"./chunk-3RT6OVNV.js";import"./chunk-WEHIB5RQ.js";import"./chunk-GDT3CZLT.js";import"./chunk-TKJSOYLB.js";import"./chunk-D5UMZBJ2.js";import"./chunk-MSGVIVGG.js";import"./chunk-N4IVTZMV.js";import{f as te,j as e,k as i,l as r,m as y}from"./chunk-VA6OWENO.js";var ge,Ee,be=te(()=>{j();R();oe();re();me();he();ce();pe();ie();ue();ne();se();de();ae();le();fe();j();R();ge=d=>({"background-image":d}),Ee=(()=>{var u,n,a,t,c,f,o,h,ee;let p=class p{constructor(){i(this,h);i(this,u);i(this,n);i(this,a);i(this,t);i(this,c);i(this,f);i(this,o);r(this,u,s(J)),r(this,n,s(F)),r(this,a,s(X)),r(this,t,s(_)),r(this,c,s(H)),r(this,f,s(Y)),r(this,o,new S),this.background="/assets/images/upgrade-page.svg",this.forceModalInfo={type:"force-modal",title:"Aggiornamento",description:"Per continuare a navigare al meglio sull\u2019app Unieuro, assicurati di avere l\u2019ultima versione.",cta_text:"Aggiorna l'applicazione",style:{select:"forceUpgrade"}},this.modalInfo$=new C(null),e(this,a).showLoader(),I({read:()=>{this.modalInfo$.next(this.forceModalInfo),e(this,u).openModal({component:Z,componentProps:{modalInfo$:this.modalInfo$},cssClass:"page-app-modal",breakpoints:[1],backdropDismiss:!1,initialBreakpoint:1,keyboardClose:!1}).finally(()=>{e(this,a).hideLoader()})}})}ionViewDidEnter(){this.backButtonSubscription=e(this,n).backButton.subscribeWithPriority(1e4,()=>{}),e(this,t).select(q).pipe(w(l=>l!=="force-upgrade"),b(1),v(e(this,o))).subscribe(()=>{e(this,c).navigateRoot()}),T.isNativePlatform()&&e(this,n).is("android")&&e(this,n).resume.pipe(v(e(this,o))).subscribe(()=>{y(this,h,ee).call(this)})}ionViewWillLeave(){this.backButtonSubscription&&this.backButtonSubscription.unsubscribe()}ngOnDestroy(){this.backButtonSubscription&&this.backButtonSubscription.unsubscribe(),e(this,o).next(),e(this,o).complete()}};u=new WeakMap,n=new WeakMap,a=new WeakMap,t=new WeakMap,c=new WeakMap,f=new WeakMap,o=new WeakMap,h=new WeakSet,ee=function(){P([e(this,t).select(V),e(this,t).select(W)]).pipe(b(1)).subscribe(([l,m])=>{l&&m?e(this,t).dispatch(Q({})):l?e(this,f).anonymousLogin().pipe(b(1),D(()=>M(null))).subscribe(g=>{g&&e(this,c).navigateRoot()}):e(this,t).dispatch(K({}))})},p.\u0275fac=function(m){return new(m||p)},p.\u0275cmp=L({type:p,selectors:[["app-force-upgrade"]],decls:3,vars:4,consts:[[3,"fullscreen"],["appPlatformClass","",1,"content"],[1,"image-container",3,"ngStyle"]],template:function(m,g){m&1&&(A(0,"ion-content",0)(1,"div",1),U(2,"div",2),x()()),m&2&&(k("fullscreen",!0),B(2),k("ngStyle",$(2,ge,g.background?"url("+g.background+")":"none")))},dependencies:[N,O,z,E,G],styles:[".force-upgrade-content[_ngcontent-%COMP%]{height:70%;width:100%;background-size:cover;background-repeat:no-repeat;background-position:center}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;align-items:center;height:100%}.image-container[_ngcontent-%COMP%]{height:100%;width:100%;background-size:cover;background-repeat:no-repeat;background-position:center}"],changeDetection:0});let d=p;return d})()});be();export{Ee as ForceUpgradePage};
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.