import{$ as Mn,$a as Mr,A as Zi,Aa as Xn,B as Xi,Ba as $n,C as $i,Ca as er,D as en,Da as tr,E as tn,Ea as ir,F as nn,Fa as nr,G as rn,Ga as rr,H as on,Ha as or,I as an,Ia as ar,J as sn,Ja as sr,K as ln,Ka as lr,L as cn,La as cr,M as dn,Ma as dr,N as pn,Na as pr,O as mn,Oa as mr,P as hn,Pa as hr,Q as un,Qa as ur,R as gn,Ra as gr,S as vn,Sa as vr,T as fn,Ta as fr,U as _n,Ua as _r,V as bn,Va as br,W as yn,Wa as yr,X as Cn,Xa as Cr,Y as wn,Ya as wr,Z as Sn,Za as Sr,_ as xn,_a as xr,a as Oi,aa as En,b as Ti,ba as On,c as ki,ca as Tn,d as Pi,da as kn,e as Di,ea as Pn,f as Ii,fa as Dn,g as Ai,ga as In,h as Ri,ha as An,i as Ui,ia as Rn,j as Vi,ja as Un,k as Fi,ka as Vn,la as Fn,m as Ni,ma as Nn,n as Bi,na as Bn,o as Li,oa as Ln,p as zi,pa as zn,q as ji,qa as jn,r as Hi,ra as Hn,sa as Wn,t as Wi,ta as Gn,u as Gi,ua as Jn,v as Ji,va as Yn,w as Yi,wa as qn,x as qi,xa as Qn,y as Qi,ya as Kn,z as Ki,za as Zn}from"./chunk-FZ44MS6K.js";import{f as Or,g as Fe,h as $e,m as Tr,n as et,p as kr,u as Pr}from"./chunk-C7Q5TNEB.js";import"./chunk-IKBHBEQB.js";import"./chunk-AEY3DO2Q.js";import{a as ko,b as Po,d as Do,e as Io,f as Ao}from"./chunk-MQ533ZKO.js";import{a as Oo,b as To}from"./chunk-CTLU4UJM.js";import{a as Vo}from"./chunk-NQ5TANTH.js";import{b as Te,c as lt,d as Ro,e as Uo}from"./chunk-33U2WDYB.js";import{a as me}from"./chunk-HF23TE3C.js";import{a as Ct,t as Eo}from"./chunk-22K55EK3.js";import{a as he}from"./chunk-HM5ONTSA.js";import{A as xo,F as Mo,b as fo,c as _o,g as bo,n as yo,v as Co,w as wo,x as So}from"./chunk-U5M2WPEX.js";import{Aa as Nr,D as pe,E as yt,Eb as no,Fb as ro,Gb as st,H as Ir,Ha as Br,Hb as oo,Ib as ao,Ja as Lr,Jb as so,Ka as zr,Kb as lo,La as jr,Lb as co,Ma as Hr,Mb as po,Na as Wr,Oa as Gr,Pb as mo,Qb as ho,Ra as nt,Rb as uo,Sa as Jr,Sb as go,Va as Yr,Wa as qr,Xa as rt,Za as ot,_ as Ar,_a as at,ab as Qr,bb as Kr,c as gi,d as vi,db as Zr,dc as vo,e as qe,eb as Xr,f as Qe,fa as Rr,fb as $r,g as fi,h as _i,ha as it,i as bi,ib as eo,j as yi,jb as to,k as Ci,kb as io,l as Ke,m as de,n as Ze,o as wi,p as Si,q as xi,qa as Ur,r as Mi,ra as Vr,s as Ei,t as Xe,u as Er,ua as Fr,v as Dr,w as Oe,z as tt}from"./chunk-RIXYHOD2.js";import{$b as We,A as V,Aa as g,Ab as K,Ac as k,Ad as mi,Ba as $,Bc as P,Bd as hi,C as se,Ca as fe,Cc as D,Cd as Ye,D as Le,E as Bt,Ed as ui,Fb as C,Ga as Kt,Gc as le,H as pt,Hc as J,Ia as De,Ic as ce,J as Lt,Ja as ee,Jc as Z,Kc as ft,L as zt,Lb as Se,M as ze,Mb as m,Mc as _e,N as jt,Na as j,Nb as mt,O as Ht,Ob as xe,Oc as _t,Pc as Ve,Qc as bt,Rb as Ae,S as Wt,Sa as Zt,Ta as Ie,Tb as ii,Tc as ai,Vb as ht,Wb as Re,X as Pe,Xb as Ue,Y as q,Yb as a,Yc as Je,Z as Gt,Zb as o,_ as A,_b as b,a as Rt,ac as Ge,ad as si,bc as ut,c as be,ca as Jt,cc as x,db as Ce,ea as Q,eb as Xt,f as ae,fc as _,g as Ut,ha as ye,hc as h,hd as Y,ic as ni,j as Be,ja as B,jb as $t,jc as ri,k as Vt,ka as ve,kb as s,kc as te,lb as y,lc as gt,mb as ei,mc as vt,nc as oi,oa as H,ob as ti,oc as L,p as ke,pc as F,pd as li,qa as W,qb as je,qc as N,qd as ci,rb as we,rd as Ee,sa as Yt,t as U,ta as qt,tb as He,uc as ie,ud as di,v as Ft,vc as d,vd as pi,wc as G,xc as O,ya as Qt,yc as Me,z as Nt,za as u}from"./chunk-7RF4FE4V.js";import{a as R,b as oe}from"./chunk-WWX6BADO.js";var Fo=["102 115",`<g style="fill: currentColor">
    <path d="M96 24.124 57 1.608a12 12 0 0 0-12 0L6 24.124a12.034 12.034 0 0 0-6 10.393V79.55a12.033 12.033 0 0 0 6 10.392l39 22.517a12 12 0 0 0 12 0l39-22.517a12.033 12.033 0 0 0 6-10.392V34.517a12.034 12.034 0 0 0-6-10.393ZM94 79.55a4 4 0 0 1-2 3.464l-39 22.517a4 4 0 0 1-4 0L10 83.014a4 4 0 0 1-2-3.464V34.517a4 4 0 0 1 2-3.464L49 8.536a4 4 0 0 1 4 0l39 22.517a4 4 0 0 1 2 3.464V79.55Z"/>
    <path d="M74.022 70.071h-2.866a4 4 0 0 0-1.925.494L51.95 80.05 32 68.531V45.554l19.95-11.519 17.29 9.455a4 4 0 0 0 1.919.49h2.863a2 2 0 0 0 2-2v-2.71a2 2 0 0 0-1.04-1.756L55.793 27.02a8.04 8.04 0 0 0-7.843.09L28 38.626a8.025 8.025 0 0 0-4 6.929V68.53a8 8 0 0 0 4 6.928l19.95 11.519a8.043 8.043 0 0 0 7.843.088l19.19-10.532a2 2 0 0 0 1.038-1.753v-2.71a2 2 0 0 0-2-2Z"/>
  </g>`];var No=["685 116",`<g>
    <g style="fill:#cf2f4c" transform="translate(0 -10)">
      <path d="M399.5024,45.8636h1.2164a.5659.5659,0,0,1,.64.64v43.52a.5658.5658,0,0,1-.64.6406h-1.4083a.7517.7517,0,0,1-.768-.4482L379.2144,51.6234c-.086-.085-.16-.1172-.2242-.0967-.0634.0225-.0957.0967-.0957.2246l.064,38.2715a.5662.5662,0,0,1-.64.6406h-1.2159a.5656.5656,0,0,1-.64-.6406V46.5033a.5657.5657,0,0,1,.64-.64h1.3438a.7524.7524,0,0,1,.7681.4473l19.3281,38.4639c.0849.0869.16.1181.2241.0966s.0957-.0966.0957-.2246V46.5033A.5657.5657,0,0,1,399.5024,45.8636Z"/>
      <path d="M360.418,90.1507l-2.4317-8.832a.2965.2965,0,0,0-.32-.1914H340.8984a.2951.2951,0,0,0-.32.1914L338.21,90.0873a.6584.6584,0,0,1-.7037.5761H336.29a.5863.5863,0,0,1-.48-.1923.58.58,0,0,1-.0961-.5118l12.0317-43.5839a.6436.6436,0,0,1,.7041-.5118h1.6a.6442.6442,0,0,1,.7041.5118l12.16,43.5839.0644.1914c0,.3428-.2139.5127-.64.5127h-1.2163A.6426.6426,0,0,1,360.418,90.1507ZM341.3145,78.9193a.3057.3057,0,0,0,.2236.0957h15.4883a.3076.3076,0,0,0,.2236-.0957c.0645-.0645.0742-.1172.0322-.16L349.41,49.8314c-.043-.085-.086-.1279-.128-.1279s-.0859.0429-.1279.1279l-7.8721,28.9277C341.2393,78.8021,341.25,78.8548,341.3145,78.9193Z"/>
      <path d="M419.8223,87.9427a11.2812,11.2812,0,0,1-3.3282-8.48v-22.4a11.2857,11.2857,0,0,1,3.3282-8.48,13.69,13.69,0,0,1,17.6318-.0323,11.0472,11.0472,0,0,1,3.36,8.3838v1.92a.566.566,0,0,1-.64.6407H438.958a.5654.5654,0,0,1-.64-.6407v-1.92a9.019,9.019,0,0,0-2.6563-6.7519,10.7705,10.7705,0,0,0-14.0161,0,9.0946,9.0946,0,0,0-2.6558,6.8164V79.5267a9.0367,9.0367,0,0,0,2.6875,6.8164,9.7141,9.7141,0,0,0,7.04,2.5918,9.5618,9.5618,0,0,0,6.9765-2.5595,8.9655,8.9655,0,0,0,2.6241-6.72v-8.32a.2268.2268,0,0,0-.2564-.2558h-8.3843a.5654.5654,0,0,1-.64-.6407V69.4154a.5662.5662,0,0,1,.64-.6406h10.4961a.5667.5667,0,0,1,.64.6406v9.9834a11.3465,11.3465,0,0,1-3.3277,8.5762,13.7344,13.7344,0,0,1-17.664-.0323Z"/>
      <path d="M461.3838,89.5755a10.9043,10.9043,0,0,1-4.3525-4.5439,14.4642,14.4642,0,0,1-1.5357-6.7842V46.5033a.5657.5657,0,0,1,.64-.64h1.2159a.5659.5659,0,0,1,.64.64v32a10.543,10.543,0,0,0,2.7207,7.5517,10.36,10.36,0,0,0,14.336,0,10.5506,10.5506,0,0,0,2.72-7.5517v-32a.5655.5655,0,0,1,.64-.64h1.2163a.5661.5661,0,0,1,.64.64V78.2474a13.0121,13.0121,0,0,1-3.3921,9.376,11.8983,11.8983,0,0,1-9.0239,3.5518A12.8539,12.8539,0,0,1,461.3838,89.5755Z"/>
      <path d="M495.9048,90.0228V46.5033a.5657.5657,0,0,1,.64-.64h1.2158a.5663.5663,0,0,1,.64.64v41.664a.2259.2259,0,0,0,.2558.2559h19.2a.5665.5665,0,0,1,.6407.64v.96a.5663.5663,0,0,1-.6407.6406H496.5449A.5656.5656,0,0,1,495.9048,90.0228Z"/>
      <path d="M554.6436,90.1507l-2.4322-8.832a.2959.2959,0,0,0-.32-.1914H535.123a.2939.2939,0,0,0-.3193.1914l-2.3682,8.7686a.659.659,0,0,1-.7041.5761h-1.2158a.5888.5888,0,0,1-.48-.1923.5824.5824,0,0,1-.0957-.5118l12.0322-43.5839a.643.643,0,0,1,.7036-.5118h1.6a.6442.6442,0,0,1,.7041.5118l12.16,43.5839.0635.1914c0,.3428-.2138.5127-.64.5127h-1.2158A.6423.6423,0,0,1,554.6436,90.1507ZM535.5391,78.9193a.31.31,0,0,0,.2246.0957h15.4878a.31.31,0,0,0,.2241-.0957c.0635-.0645.0737-.1172.0317-.16l-7.8716-28.9277c-.0434-.085-.0864-.1279-.1284-.1279s-.0859.0429-.1279.1279l-7.8721,28.9277C535.4644,78.8021,535.4756,78.8548,535.5391,78.9193Z"/>
      <path d="M592.4473,90.1507,583.68,69.4154a.2515.2515,0,0,0-.2559-.1924H573.44a.2263.2263,0,0,0-.2559.2559V90.0228a.566.566,0,0,1-.64.6406h-1.2164a.5654.5654,0,0,1-.64-.6406V46.5033a.5655.5655,0,0,1,.64-.64h12.5445a9.9783,9.9783,0,0,1,7.7436,3.2315A12.2019,12.2019,0,0,1,594.56,57.639a12.4342,12.4342,0,0,1-2.24,7.584,9.3626,9.3626,0,0,1-6.08,3.7442q-.2563.1288-.128.32l8.7041,20.6074.064.2558c0,.3428-.1919.5127-.5757.5127h-1.1523A.7027.7027,0,0,1,592.4473,90.1507ZM573.1836,48.3588v18.496a.2267.2267,0,0,0,.2559.2569h10.3037a7.6688,7.6688,0,0,0,6.0166-2.5928,9.878,9.878,0,0,0,2.3037-6.8154,10.2885,10.2885,0,0,0-2.272-6.9766,7.6035,7.6035,0,0,0-6.0483-2.624H573.44A.2263.2263,0,0,0,573.1836,48.3588Z"/>
    </g>
    <g style="fill:currentColor;">
      <g>
        <path d="m96.835 25.058-39-22.517a12 12 0 0 0-12 0l-39 22.517a12.034 12.034 0 0 0-6 10.392v45.033a12.033 12.033 0 0 0 6 10.393l39 22.516a12 12 0 0 0 12 0l39-22.516a12.033 12.033 0 0 0 6-10.393V35.45a12.033 12.033 0 0 0-6-10.392Zm-2 55.425a4 4 0 0 1-2 3.464l-39 22.517a4 4 0 0 1-4 0l-39-22.517a4 4 0 0 1-2-3.464V35.45a4 4 0 0 1 2-3.464l39-22.517a4 4 0 0 1 4 0l39 22.517a4 4 0 0 1 2 3.464v45.033Z"/>
        <path d="M74.857 71.005H71.99a4 4 0 0 0-1.925.493l-17.28 9.485-19.951-11.518V46.487l19.95-11.518 17.29 9.455a4 4 0 0 0 1.918.49h2.864a2 2 0 0 0 2-2v-2.712a2 2 0 0 0-1.04-1.754L56.628 27.952a8.04 8.04 0 0 0-7.843.09L28.835 39.56a8.025 8.025 0 0 0-4 6.929v22.976a8 8 0 0 0 4 6.928l19.95 11.519a8.043 8.043 0 0 0 7.843.087l19.19-10.53a2 2 0 0 0 1.038-1.754v-2.71a2 2 0 0 0-2-2Z"/>
      </g>
      <g transform="translate(118 34)">
         <path d="M51.58.362c-8.28.009-14.99 6.719-15 15v17.277c0 8.284 6.716 15 15 15 8.284 0 15-6.716 15-15V15.36c-.01-8.28-6.72-14.99-15-15Zm7 32.277a7 7 0 0 1-14 0V15.36a7 7 0 0 1 14 0V32.64ZM14.914 8.421a7.01 7.01 0 0 1 7.868 6.075.99.99 0 0 0 .984.865h6.03a1.01 1.01 0 0 0 .999-1.097C30.189 6.14 23.216-.02 15.079.381 6.996.932.748 7.696.835 15.796v16.407C.748 40.305 6.996 47.068 15.079 47.62c8.138.401 15.111-5.76 15.716-13.884a1.01 1.01 0 0 0-.998-1.097h-6.03a.99.99 0 0 0-.985.865 7.01 7.01 0 0 1-7.867 6.075 7.164 7.164 0 0 1-6.08-7.184v-16.79a7.164 7.164 0 0 1 6.079-7.184ZM97.757 27.928a12.159 12.159 0 0 0 7.184-11.077v-3.702A12.15 12.15 0 0 0 92.793 1H75.835a1 1 0 0 0-1 1v44a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V29h6.622l7.915 17.414a1 1 0 0 0 .91.586h6.591a1 1 0 0 0 .91-1.414l-8.026-17.658Zm-.816-11.077A4.154 4.154 0 0 1 92.794 21H82.94V9h9.852a4.154 4.154 0 0 1 4.148 4.15v3.7ZM139.835 1h-26a1 1 0 0 0-1 1v44a1 1 0 0 0 1 1h26a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-19V27h13a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1h-13V9h19a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1ZM177.835 1h-6a1 1 0 0 0-1 1v22.648a7.007 7.007 0 1 1-14 0V2a1 1 0 0 0-1-1h-6a1 1 0 0 0-1 1v22.648a15.003 15.003 0 1 0 30 0V2a1 1 0 0 0-1-1Z"/>
         <rect width="8" height="38" x="186.835" y="1" rx="1"/>
      </g>
    </g>
  </g>`];var Bo={cibCcAmex:Oi,cibCcApplePay:Ti,cibCcMastercard:ki,cibCcPaypal:Pi,cibCcStripe:Di,cibCcVisa:Ii,cibFacebook:Ai,cibGoogle:Ri,cibLinkedin:Ui,cibSkype:Vi,cibTwitter:Fi,cifBr:Ni,cifEs:Bi,cifFr:Li,cifIn:zi,cifPl:ji,cifUs:Hi,cilAccountLogout:Wi,cilAlignCenter:Gi,cilAlignLeft:Ji,cilAlignRight:Yi,cilApplicationsSettings:qi,cilArrowBottom:Qi,cilArrowRight:Ki,cilArrowTop:Xi,cilBasket:$i,cilBell:en,cilBold:tn,cilBookmark:nn,cilCalculator:rn,cilCalendar:on,cilChart:sn,cilChartPie:an,cilCheck:ln,cilChevronLeft:cn,cilChevronRight:dn,cilCloudDownload:pn,cilCode:mn,cilCommentSquare:hn,cilContrast:un,cilCreditCard:gn,cilCursor:vn,cilDescription:fn,cilDollar:bn,cilDrop:yn,cilEnvelopeClosed:Cn,cilEnvelopeOpen:wn,cilFile:Sn,cilGrid:Mn,cilHome:Tn,cilInbox:kn,cilIndentDecrease:Pn,cilIndentIncrease:Dn,cilItalic:In,cilJustifyCenter:An,cilLanguage:Rn,cilLayers:Un,cilList:Fn,cilListNumbered:Vn,cilLocationPin:Nn,cilLockLocked:Bn,cilMagnifyingGlass:Ln,cilMap:zn,cilMediaPlay:Hn,cilMediaRecord:Wn,cilMenu:Jn,cilMoon:Yn,cilNotes:qn,cilOptions:Qn,cilPaperclip:Zn,cilPaperPlane:Kn,cilPen:Xn,cilPencil:$n,cilPeople:er,cilPrint:tr,cilPuzzle:ir,cilReportSlash:rr,cilSave:or,cilSettings:ar,cilShare:cr,cilShareAll:sr,cilShareBoxed:lr,cilSpeech:mr,cilSpeedometer:hr,cilSpreadsheet:ur,cilStar:gr,cilSun:vr,cilTags:fr,cilTask:_r,cilTrash:yr,cilUnderline:Cr,cilUser:Mr,cilUserFemale:wr,cilUserFollow:Sr,cilUserUnfollow:xr,logo:No,signet:Fo,cilDevices:_n,cilSitemap:pr,cilTransfer:br,cilHistory:On,cilHandshake:En,cilReload:nr,cilFullscreen:xn,cilMediaPause:jn,cilMediaStop:Gn,cilShieldAlt:dr,cilArrowThickBottom:Zi};var Lo=(()=>{class t{constructor(e,n,i){this.router=e,this.titleService=n,this.iconSetService=i,this.title="Parablu Inc.",this.isConfigLoaded=!1,this.titleService.setTitle(this.title),this.iconSetService.icons=R({},Bo)}ngOnInit(){this.router.events.subscribe(e=>{e instanceof yi})}static{this.\u0275fac=function(n){return new(n||t)(y(de),y(_i),y(Xe))}}static{this.\u0275cmp=H({type:t,selectors:[["app-root"]],standalone:!0,features:[J],decls:1,vars:0,template:function(n,i){n&1&&b(0,"router-outlet")},dependencies:[Ke],encapsulation:2})}}return t})();var ga=(()=>{class t extends et{constructor(e,n,i){super(e,n,i)}ngOnDestroy(){this.flush()}static{this.\u0275fac=function(n){return new(n||t)(B(Y),B(Fe),B($e))}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac})}}return t})();function va(){return new Tr}function fa(t,c,e){return new Pr(t,c,e)}var zo=[{provide:$e,useFactory:va},{provide:et,useClass:ga},{provide:je,useFactory:fa,deps:[Qe,et,ee]}],_a=[{provide:Fe,useFactory:()=>new kr},{provide:Ie,useValue:"BrowserAnimations"},...zo],Gc=[{provide:Fe,useClass:Or},{provide:Ie,useValue:"NoopAnimations"},...zo];function jo(){return He("NgEagerAnimations"),[..._a]}var Ho=(()=>{class t extends Gr{constructor(){super()}static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275cmp=H({type:t,selectors:[["app-default-footer"]],standalone:!0,features:[K,J],decls:3,vars:0,consts:[[1,"text-center"],["href","https://www.parablu.com","target","_blank",2,"color","#f27331","text-decoration","none"]],template:function(n,i){n&1&&(a(0,"div",0)(1,"a",1),d(2,"\xA9 Parablu Inc 2024 "),o()())}})}}return t})();var Ca=["deviceDropdown"],wa=["deviceDropdownCS"],Sa=["contentFrame"],xa=["userDeviceSearch"],Ma=["deviceDropdownR"],Ea=["contentCalendarFrame"],Oa=["searchInput"],ue=t=>({display:t}),Wo=()=>({"col-lg-4":!0}),Ta=(t,c)=>({"col-lg-8":t,"col-lg-4":c}),ka=(t,c)=>({active:t,disabled:c}),Pa=t=>({"background-color":t}),Da=t=>({selected:t});function Ia(t,c){t&1&&(a(0,"div",75),b(1,"c-spinner",76)(2,"c-spinner",77)(3,"c-spinner",78)(4,"c-spinner",79)(5,"c-spinner",80)(6,"c-spinner",81)(7,"c-spinner",82)(8,"c-spinner",83),o())}function Aa(t,c){if(t&1&&(a(0,"c-nav-item")(1,"button",13),d(2," Full text search "),o()()),t&2){h();let e=ie(16);s(),m("cTabContent",e)("tabPaneIdx",2)}}function Ra(t,c){if(t&1&&(a(0,"c-card"),d(1),o()),t&2){let e=h();s(),O(" ",e.noUsersFoundText," ")}}function Ua(t,c){if(t&1){let e=x();a(0,"c-col",86)(1,"c-card",87)(2,"c-card-body",88),_("click",function(){let i=u(e).$implicit,r=h(2);return g(r.userProfile(i.userNameEncoded))}),a(3,"div",85)(4,"div",89),b(5,"img",90),o(),a(6,"div",91)(7,"p",92)(8,"b"),d(9),o()()()()()()()}if(t&2){let e=c.$implicit;s(9),G(e.userName)}}function Va(t,c){if(t&1&&(a(0,"c-card")(1,"c-card-header",84),d(2),o(),a(3,"c-card-body",85),Re(4,Ua,10,1,"c-col",86,ht),o()()),t&2){let e=h();s(2),O("",e.foundUsers.length," User(s) found: "),s(2),Ue(e.foundUsers)}}function Fa(t,c){if(t&1&&(a(0,"c-card"),d(1),o()),t&2){let e=h();s(),O(" ",e.noDevicesFoundText," ")}}function Na(t,c){if(t&1){let e=x();a(0,"c-col",86)(1,"c-card",87)(2,"c-card-body",88),_("click",function(){let i=u(e).$implicit,r=h(2);return g(r.userAsset(i.userNameEncoded,i.deviceNameEncoded))}),a(3,"div",85)(4,"div",89),b(5,"img",93),o(),a(6,"div",91)(7,"p",92)(8,"b"),d(9),o()()()()()()()}if(t&2){let e=c.$implicit;s(9),Me("",e.deviceName,' of user "',e.userName,'"')}}function Ba(t,c){if(t&1&&(a(0,"c-card")(1,"c-card-header",84),d(2),o(),a(3,"c-card-body",85),Re(4,Na,10,2,"c-col",86,ht),o()()),t&2){let e=h();s(2),O("",e.foundDevices.length," Device(s) found: "),s(2),Ue(e.foundDevices)}}function La(t,c){t&1&&(a(0,"option",94),d(1,"BluVault"),o())}function za(t,c){t&1&&(a(0,"option",95),d(1,"OneDrive for Business"),o())}function ja(t,c){t&1&&(a(0,"option",96),d(1,"SharePoint Online"),o())}function Ha(t,c){t&1&&(a(0,"div",100)(1,"ul",101)(2,"li",102)(3,"strong",103),d(4,"No Users found"),o(),b(5,"ul",104),o()()())}function Wa(t,c){if(t&1){let e=x();a(0,"div",97)(1,"label"),d(2,"User Id"),o(),a(3,"select2",98),D("ngModelChange",function(i){u(e);let r=h();return P(r.selectedValue,i)||(r.selectedValue=i),g(i)}),_("search",function(i){u(e);let r=h();return g(r.onSearch(i))})("update",function(i){u(e);let r=h();return g(r.update(i))}),o(),C(4,Ha,6,0,"div",99),o()}if(t&2){let e=h();s(3),m("overlay",e.overlay)("data",e.deviceUsersList)("value",e.selectedValue),k("ngModel",e.selectedValue),s(),m("ngIf",e.deviceUsersList.length===0)}}function Ga(t,c){t&1&&(a(0,"div",100)(1,"ul",101)(2,"li",102)(3,"strong",103),d(4,"No Sites found"),o(),b(5,"ul",104),o()()())}function Ja(t,c){if(t&1){let e=x();a(0,"div",97)(1,"label"),d(2,"Site"),o(),a(3,"select2",105),D("ngModelChange",function(i){u(e);let r=h();return P(r.selectedValueSite,i)||(r.selectedValueSite=i),g(i)}),_("search",function(i){u(e);let r=h();return g(r.onSearchSite(i))})("update",function(i){u(e);let r=h();return g(r.updateSite(i))}),o(),C(4,Ga,6,0,"div",99),o()}if(t&2){let e=h();s(3),m("overlay",e.overlaySite)("data",e.siteList)("value",e.selectedValueSite),k("ngModel",e.selectedValueSite),s(),m("ngIf",e.siteList.length===0)}}function Ya(t,c){if(t&1&&(a(0,"option",108),d(1),o()),t&2){let e=c.$implicit;m("value",e.deviceUUID),s(),O(" ",e.deviceName," ")}}function qa(t,c){t&1&&(a(0,"option"),d(1," User has no assets configured "),o())}function Qa(t,c){if(t&1&&(a(0,"div",97)(1,"label"),d(2,"Asset Name"),o(),a(3,"select",106,2),C(5,Ya,2,2,"option",107)(6,qa,2,0,"option",14),o()()),t&2){let e=h();s(5),m("ngForOf",e.devices),s(),m("ngIf",e.devices.length==0)}}function Ka(t,c){t&1&&(a(0,"c-row")(1,"c-card",9)(2,"c-card-body")(3,"b"),d(4,"There are no results!."),o()()()())}function Za(t,c){if(t&1){let e=x();a(0,"tr")(1,"td")(2,"div")(3,"h4"),d(4),o()(),a(5,"p")(6,"b"),d(7,"Found in: "),o(),d(8),o()(),a(9,"td")(10,"button",115),_("click",function(){let i=u(e).$implicit,r=h(2);return g(r.downloadFile(i.fileName,i.filePath,i.fileRevisionID,i.backup,i.fileUser,i.deviceUUID,i.folder))}),d(11," Download"),o(),a(12,"button",116),_("click",function(){let i=u(e).$implicit,r=h(2);return g(r.openFileLocation(i.fileName,i.filePath,i.deviceId))}),d(13," Open File Location"),o()()()}if(t&2){let e=c.$implicit;s(4),G(e.fileName),s(4),G(e.filePath)}}function Xa(t,c){if(t&1&&(a(0,"c-row",109)(1,"table",110)(2,"thead",111)(3,"tr")(4,"th",112),d(5,"File Name "),o(),a(6,"th",113),d(7,"Actions"),o()()(),a(8,"tbody"),C(9,Za,14,2,"tr",114),o()()()),t&2){let e=h();s(),m("hover",!0)("responsive",!0),s(8),m("ngForOf",e.foundFiles)}}function $a(t,c){t&1&&(a(0,"option",117),d(1,"Microsoft Exchange"),o())}function es(t,c){t&1&&(a(0,"option",95),d(1,"OneDrive for Business"),o())}function ts(t,c){t&1&&(a(0,"option",96),d(1,"SharePoint Online"),o())}function is(t,c){t&1&&(a(0,"div",100)(1,"ul",101)(2,"li",102)(3,"strong",103),d(4,"No Users found"),o(),b(5,"ul",104),o()()())}function ns(t,c){if(t&1){let e=x();a(0,"div",97)(1,"label"),d(2,"User Id"),o(),a(3,"select2",118),D("ngModelChange",function(i){u(e);let r=h();return P(r.selectedValueCS,i)||(r.selectedValueCS=i),g(i)}),_("search",function(i){u(e);let r=h();return g(r.onSearchContentSearch(i))})("update",function(i){u(e);let r=h();return g(r.updateContentSearch(i))}),o(),C(4,is,6,0,"div",99),o()}if(t&2){let e=h();s(3),m("overlay",e.overlay)("data",e.deviceUsersListCS)("value",e.selectedValueCS),k("ngModel",e.selectedValueCS),s(),m("ngIf",e.deviceUsersListCS.length===0)}}function rs(t,c){t&1&&(a(0,"div",100)(1,"ul",101)(2,"li",102)(3,"strong",103),d(4,"No Sites found"),o(),b(5,"ul",104),o()()())}function os(t,c){if(t&1){let e=x();a(0,"div",97)(1,"label"),d(2,"Site"),o(),a(3,"select2",119),D("ngModelChange",function(i){u(e);let r=h();return P(r.selectedValueSiteCS,i)||(r.selectedValueSiteCS=i),g(i)}),_("search",function(i){u(e);let r=h();return g(r.onSearchSiteContentSearch(i))})("update",function(i){u(e);let r=h();return g(r.updateSiteContentSearch(i))}),o(),C(4,rs,6,0,"div",99),o()}if(t&2){let e=h();s(3),m("overlay",e.overlaySiteCS)("data",e.siteListCS)("value",e.selectedValueSiteCS),k("ngModel",e.selectedValueSiteCS),s(),m("ngIf",e.siteListCS.length===0)}}function as(t,c){if(t&1&&(a(0,"option",108),d(1),o()),t&2){let e=c.$implicit;m("value",e.deviceUUID),s(),O(" ",e.deviceName," ")}}function ss(t,c){t&1&&(a(0,"option"),d(1," User has no assets configured "),o())}function ls(t,c){if(t&1&&(a(0,"div",97)(1,"label"),d(2,"Asset Name"),o(),a(3,"select",106,3),C(5,as,2,2,"option",107)(6,ss,2,0,"option",14),o()()),t&2){let e=h();s(5),m("ngForOf",e.devicesCS),s(),m("ngIf",e.devicesCS.length==0)}}function cs(t,c){if(t&1){let e=x();a(0,"c-row",28)(1,"div",29)(2,"c-input-group")(3,"input",120),D("ngModelChange",function(i){u(e);let r=h();return P(r.contentSearchText,i)||(r.contentSearchText=i),g(i)}),_("keydown.enter",function(){u(e);let i=h();return g(i.searchForContent())}),o()()(),a(4,"div",31)(5,"a",32),_("click",function(){u(e);let i=h();return g(i.searchForContent())}),d(6,"Search"),o()()()}if(t&2){let e=h();s(3),k("ngModel",e.contentSearchText)}}function ds(t,c){if(t&1){let e=x();a(0,"div",31)(1,"a",32),_("click",function(){u(e);let i=h(2);return g(i.searchForContent())}),d(2,"Search"),o()()}}function ps(t,c){if(t&1){let e=x();a(0,"c-row",56)(1,"div",29)(2,"c-input-group",9)(3,"input",121),D("ngModelChange",function(i){u(e);let r=h();return P(r.contentSearchMail,i)||(r.contentSearchMail=i),g(i)}),_("keydown.enter",function(){u(e);let i=h();return g(i.searchForContent())}),o(),a(4,"button",122),_("click",function(){u(e);let i=h();return g(i.isExpanded=!i.isExpanded)}),b(5,"i",123),o()()(),C(6,ds,3,0,"div",124),o()}if(t&2){let e=h();s(3),k("ngModel",e.contentSearchMail),m("disabled",e.isExpanded),s(2),m("ngClass",e.isExpanded?"fa-angle-up":"fa-angle-down"),s(),m("ngIf",!e.isExpanded)}}function ms(t,c){if(t&1){let e=x();a(0,"div",85)(1,"div",126)(2,"label",127),d(3,"From "),a(4,"a",128),b(5,"i",129),a(6,"span",130),d(7,"Use comma to separate Email addresses"),o()()(),a(8,"input",131),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.fromId,i)||(r.fromId=i),g(i)}),o()(),a(9,"div",126)(10,"label",132),d(11,"To "),a(12,"a",128),b(13,"i",129),a(14,"span",130),d(15,"Use comma to separate Email addresses"),o()()(),a(16,"input",133),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.toId,i)||(r.toId=i),g(i)}),o()(),a(17,"div",126)(18,"label",134),d(19,"CC "),a(20,"a",128),b(21,"i",129),a(22,"span",130),d(23,"Use comma to separate Email addresses"),o()()(),a(24,"input",135),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.ccId,i)||(r.ccId=i),g(i)}),o()(),a(25,"div",126)(26,"label",136),d(27,"BCC "),a(28,"a",128),b(29,"i",129),a(30,"span",130),d(31,"Use comma to separate Email addresses"),o()()(),a(32,"input",137),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.bccId,i)||(r.bccId=i),g(i)}),o()(),a(33,"div",126)(34,"label",138),d(35,"Subject "),a(36,"a",128),b(37,"i",129),a(38,"span",130),d(39,"Use comma to separate multiple Subjects"),o()()(),a(40,"input",139),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.subjectId,i)||(r.subjectId=i),g(i)}),o()(),a(41,"div",126)(42,"label",140),d(43,"Body"),o(),a(44,"input",141),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.bodyId,i)||(r.bodyId=i),g(i)}),o()(),a(45,"div",126)(46,"label",142),d(47,"Keywords"),o(),a(48,"input",143),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.keywordsId,i)||(r.keywordsId=i),g(i)}),o()(),a(49,"div",144)(50,"label",142),d(51,"Date from"),o(),a(52,"input",145),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.myDateBefore,i)||(r.myDateBefore=i),g(i)}),o(),d(53," To "),a(54,"input",145),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.myDateAfter,i)||(r.myDateAfter=i),g(i)}),o()(),a(55,"div",56)(56,"a",146),_("click",function(){u(e);let i=h(2);return g(i.searchForContent())}),d(57,"Search"),o()()()}if(t&2){let e=h(2);s(8),k("ngModel",e.fromId),s(8),k("ngModel",e.toId),s(8),k("ngModel",e.ccId),s(8),k("ngModel",e.bccId),s(8),k("ngModel",e.subjectId),s(4),k("ngModel",e.bodyId),s(4),k("ngModel",e.keywordsId),s(4),k("ngModel",e.myDateBefore),m("bsConfig",e.bsConfigBefore),s(2),k("ngModel",e.myDateAfter),m("bsConfig",e.bsConfigAfter)}}function hs(t,c){if(t&1&&(a(0,"c-row",56),C(1,ms,58,11,"div",125),o()),t&2){let e=h();s(),m("ngIf",e.isExpanded)}}function us(t,c){if(t&1){let e=x();a(0,"tr")(1,"td")(2,"div")(3,"h4"),d(4),o()(),a(5,"p")(6,"b"),d(7,"Found in: "),o(),d(8),o(),a(9,"p"),b(10,"span",149),o()(),a(11,"td")(12,"button",115),_("click",function(){let i=u(e).$implicit,r=h(2);return g(r.downloadFile(i.fileName,i.filePath,i.fileRevisionID,i.backup,i.fileUser,i.deviceUUID,i.folder))}),d(13," Download"),o(),a(14,"button",116),_("click",function(){let i=u(e).$implicit,r=h(2);return g(r.openFileLocation(i.fileName,i.filePath,i.deviceId))}),d(15," Open File Location"),o()()()}if(t&2){let e=c.$implicit,n=h(2);s(4),G(e.fileName),s(4),G(e.filePath),s(2),m("innerHTML",n.renderHtml(e.content),Ce)}}function gs(t,c){if(t&1&&(a(0,"c-row",109)(1,"table",110)(2,"thead",111)(3,"tr")(4,"th",147),d(5,"File Name "),o(),a(6,"th",148),d(7,"Actions"),o()()(),a(8,"tbody"),C(9,us,16,3,"tr",114),o()()()),t&2){let e=h();s(),m("hover",!0)("responsive",!0),s(8),m("ngForOf",e.foundFilesCS)}}function vs(t,c){t&1&&(a(0,"c-row",56)(1,"c-card",9)(2,"c-card-body")(3,"b"),d(4,"There are no results!."),o()()()())}function fs(t,c){if(t&1){let e=x();a(0,"a",165),_("click",function(){u(e);let i=h(2);return g(i.enableMultiSelect())}),b(1,"i",166),a(2,"span",130),d(3,"Enable Multiselect"),o()()}}function _s(t,c){if(t&1){let e=x();a(0,"a",167),_("click",function(){u(e);let i=h(2);return g(i.removeAll())}),b(1,"i",168),a(2,"span",130),d(3,"Disable Multiselect"),o()()}}function bs(t,c){if(t&1){let e=x();a(0,"a",169),_("click",function(){u(e);let i=h(2);return g(i.exportCompleteMailboxAsPstG())}),d(1,"Export all items to PST"),o()}}function ys(t,c){if(t&1){let e=x();a(0,"a",170),_("click",function(){u(e);let i=h(2);return g(i.exportFolderAsPstModalG())}),d(1,"Export selected items to PST"),o()}if(t&2){let e=h(2);m("ngClass",ft(1,ka,e.addedElementsCount>0,e.addedElementsCount<=0))}}function Cs(t,c){if(t&1){let e=x();a(0,"th",159)(1,"input",171),D("ngModelChange",function(i){u(e);let r=h(2);return P(r.isSelectAll,i)||(r.isSelectAll=i),g(i)}),_("change",function(){u(e);let i=h(2);return g(i.toggleSelectAll())}),o()()}if(t&2){let e=h(2);s(),k("ngModel",e.isSelectAll)}}function ws(t,c){if(t&1){let e=x();a(0,"button",172),_("click",function(){u(e);let i=h(2);return g(i.addToCartFinal())}),d(1," Add Selected Items "),o()}}function Ss(t,c){if(t&1){let e=x();a(0,"td")(1,"input",176),D("ngModelChange",function(i){u(e);let r=h().$implicit;return P(r.isChecked,i)||(r.isChecked=i),g(i)}),_("change",function(){u(e);let i=h(4);return g(i.itemSelect())}),o()()}if(t&2){let e=h().$implicit;s(),k("ngModel",e.isChecked)}}function xs(t,c){if(t&1&&(a(0,"td",177)(1,"span",178),d(2),o()()),t&2){let e=h().$implicit;s(),m("ngStyle",Z(2,Pa,e.alphaColor)),s(),O(" ",e.showIcon," ")}}function Ms(t,c){t&1&&b(0,"i",191)}function Es(t,c){if(t&1){let e=x();a(0,"a",192),_("click",function(){u(e);let i=h(3).$implicit,r=h(3);return g(r.downloadMail(i.userName,i.backupId))}),b(1,"i",193),o()}}function Os(t,c){if(t&1){let e=x();a(0,"a",194),_("click",function(){u(e);let i=h(3).$implicit,r=h(3);return g(r.onRestoreClickR(i.deviceUUID,i.backupId,i.filePath,i.subject))}),b(1,"i",195),o()}}function Ts(t,c){if(t&1&&(a(0,"p"),b(1,"span",149),o()),t&2){let e=h(3).$implicit;s(),m("innerHTML",e.displayContent,Ce)}}function ks(t,c){if(t&1&&(a(0,"a",182)(1,"span",183),d(2),o(),C(3,Ms,1,0,"i",184)(4,Es,2,0,"a",185)(5,Os,2,0,"a",186),a(6,"p",187)(7,"span",188),d(8),o(),b(9,"span",189),o(),C(10,Ts,2,1,"p",14),a(11,"p",190)(12,"b"),d(13,"Found in:"),o(),a(14,"span"),d(15),o()()()),t&2){let e=h(2).$implicit,n=h(3);s(2),O(" ",(e.from||"").slice(0,10)+(e.from&&e.from.length>10?"...":"")," "),s(),m("ngIf",e.hasAttachments),s(),m("ngIf",!n.isMultiSelectEnabled),s(),m("ngIf",!n.isMultiSelectEnabled),s(3),O(" ",(e.subject||"").slice(0,25)+(e.subject&&e.subject.length>25?"...":"")," "),s(),m("innerHTML",e.sentDate,Ce),s(),m("ngIf",e.displayContent),s(5),Me("",e.userName," : ",e.filePath,"")}}function Ps(t,c){t&1&&b(0,"i",198)}function Ds(t,c){if(t&1&&(a(0,"p"),b(1,"span",149),o()),t&2){let e=h(3).$implicit;s(),m("innerHTML",e.displayContent,Ce)}}function Is(t,c){if(t&1&&(a(0,"a",196)(1,"span",183),d(2),o(),C(3,Ps,1,0,"i",197),a(4,"p",187)(5,"span",188),d(6),o(),b(7,"span",189),o(),C(8,Ds,2,1,"p",14),o()),t&2){let e=h(2).$implicit;s(2),O(" ",(e.from||"").slice(0,10)+(e.from&&e.from.length>10?"...":"")," "),s(),m("ngIf",e.hasAttachments),s(3),O(" ",(e.name||"").slice(0,25)+(e.name&&e.name.length>25?"...":"")," "),s(),m("innerHTML",e.sentDate,Ce),s(),m("ngIf",e.displayContent)}}function As(t,c){if(t&1){let e=x();a(0,"td",179),_("click",function(){u(e);let i=h().$implicit,r=h(3);return g(r.viewOutlook11(i.deviceId,i.userName,i.backupId,i,"mail"))}),a(1,"div",56)(2,"div"),C(3,ks,16,9,"a",180)(4,Is,9,5,"a",181),o()()()}if(t&2){let e=h().$implicit;Se("data-name",e.name),s(3),m("ngIf",e.present=="true"),s(),m("ngIf",e.present=="false")}}function Rs(t,c){if(t&1){let e=x();a(0,"td",179),_("click",function(){u(e);let i=h().$implicit,r=h(3);return g(r.viewOutlook11(i.deviceId,i.userName,i.backupId,i,"contacts"))}),a(1,"div",56)(2,"div")(3,"a",182)(4,"span",183),d(5),o()()()()()}if(t&2){let e=h().$implicit;Se("data-name",e.name),s(5),O(" ",(e.contactName||"").slice(0,10)+(e.contactName&&e.contactName.length>10?"...":"")," ")}}function Us(t,c){if(t&1&&(a(0,"tr"),C(1,Ss,2,1,"td",14)(2,xs,3,4,"td",174)(3,As,5,3,"td",175)(4,Rs,6,2,"td",175),o()),t&2){let e=c.$implicit,n=h(3);xe("selected-rowMail",n.isSelected(e)),s(),m("ngIf",n.isMultiSelectEnabled),s(),m("ngIf",e.type=="File"),s(),m("ngIf",e.type==="File"&&e.filePath!=="Contacts"&&e.filePath!=="Calander"&&e.filePath!=="Tasks"&&e.filePath!=="To DO"),s(),m("ngIf",e.type==="File"&&(e.filePath==="Contacts"||e.filePath!=="Calander"&&e.filePath!=="Tasks"&&e.filePath!=="To DO"))}}function Vs(t,c){if(t&1&&(a(0,"tbody"),C(1,Us,5,6,"tr",173),o()),t&2){let e=h(2);s(),m("ngForOf",e.foundMailsCS)}}function Fs(t,c){t&1&&(a(0,"c-card-body",199)(1,"p"),d(2,"Email preview has been blocked based on your policies. If you wish to enable email previews, please contact your administrator."),o()())}function Ns(t,c){t&1&&(a(0,"c-card-body",199)(1,"p"),d(2,"Item not available."),o()())}function Bs(t,c){if(t&1&&(a(0,"div",211)(1,"b"),d(2,"From :"),o(),d(3),a(4,"span",212),d(5),o()()),t&2){let e=h(3);s(3),O(" ",e.currentMailFrom," "),s(2),G(e.currentMailSentDate)}}function Ls(t,c){if(t&1&&(a(0,"div",213)(1,"b"),d(2,"To :"),o(),d(3),o()),t&2){let e=h(3);s(3),O(" ",e.currentMailTo,"")}}function zs(t,c){if(t&1&&(a(0,"div",214)(1,"b"),d(2,"CC :"),o(),d(3),o()),t&2){let e=h(3);s(3),O(" ",e.currentMailCc,"")}}function js(t,c){if(t&1&&(a(0,"div",215)(1,"b"),d(2,"BCC :"),o(),d(3),o()),t&2){let e=h(3);s(3),O(" ",e.currentMailBcc,"")}}function Hs(t,c){if(t&1&&(a(0,"span",219),d(1),o()),t&2){let e=c.$implicit;s(),O(" ",e.name?e.name.slice(0,20)+(e.name.length>20?"...":""):""," ")}}function Ws(t,c){if(t&1&&(a(0,"div",216)(1,"div",217),C(2,Hs,2,1,"span",218),d(3," \xA0 "),o()()),t&2){let e=h(3);s(2),m("ngForOf",e.currentMailAttachments)}}function Gs(t,c){if(t&1&&(a(0,"c-card-body")(1,"div",200),b(2,"div",201),a(3,"div",202)(4,"div",203)(5,"h3"),d(6),o()(),C(7,Bs,6,2,"div",204)(8,Ls,4,1,"div",205)(9,zs,4,1,"div",206)(10,js,4,1,"div",207)(11,Ws,4,1,"div",208),b(12,"br"),a(13,"div",209),b(14,"iframe",210,4),o()()()()),t&2){let e=h(2);s(6),O("Subject : ",e.currentMailSubject,""),s(),m("ngIf",e.currentMailFrom!=""),s(),m("ngIf",e.currentMailTo!=""),s(),m("ngIf",e.currentMailCc!=""),s(),m("ngIf",e.currentMailBcc!=""),s(),m("ngIf",e.currentMailAttachments.length>0)}}function Js(t,c){if(t&1&&(a(0,"a",246),d(1," (...) "),o()),t&2){let e=h(3);te("title",e.contactEmail)}}function Ys(t,c){if(t&1&&(a(0,"a",247),d(1," (...) "),o()),t&2){let e=h(3);te("title",e.contactOfficeLocation)}}function qs(t,c){if(t&1&&(a(0,"a",248),d(1," (...) "),o()),t&2){let e=h(3);te("title",e.contactCompanyName)}}function Qs(t,c){if(t&1&&(a(0,"a",249),d(1," (...) "),o()),t&2){let e=h(3);te("title",e.contactJobTitle)}}function Ks(t,c){if(t&1&&(a(0,"a",250),d(1," (...) "),o()),t&2){let e=h(3);te("title",e.contactDepartment)}}function Zs(t,c){if(t&1&&(a(0,"a",251),d(1," (...) "),o()),t&2){let e=h(3);te("title",e.contactMobile)}}function Xs(t,c){if(t&1&&(a(0,"a",252),d(1," (...) "),o()),t&2){let e=h(3);te("title",e.contactHomePhones)}}function $s(t,c){if(t&1&&(a(0,"a",253),d(1," (...) "),o()),t&2){let e=h(3);te("title",e.contactBusinessPhones)}}function el(t,c){if(t&1){let e=x();a(0,"c-card-body")(1,"div",220)(2,"div",221)(3,"div",222),b(4,"c-avatar",223),o(),a(5,"div",224)(6,"div",225)(7,"span",226),d(8),o()()()(),a(9,"div",227),b(10,"hr"),a(11,"div",228)(12,"label",188),d(13,"Email: "),o(),b(14,"br"),a(15,"span",229),_("mouseenter",function(){u(e);let i=h(2);return g(i.showFullEmail=!0)})("mouseleave",function(){u(e);let i=h(2);return g(i.showFullEmail=!1)}),d(16),o(),C(17,Js,2,1,"a",230),o(),a(18,"div",228)(19,"label",188),d(20,"Location: "),o(),b(21,"br"),a(22,"span",231),_("mouseenter",function(){u(e);let i=h(2);return g(i.showFullLocation=!0)})("mouseleave",function(){u(e);let i=h(2);return g(i.showFullLocation=!1)}),d(23),o(),C(24,Ys,2,1,"a",232),o(),a(25,"div",228)(26,"label",188),d(27,"Company: "),o(),b(28,"br"),a(29,"span",233),_("mouseenter",function(){u(e);let i=h(2);return g(i.showFullCompanyName=!0)})("mouseleave",function(){u(e);let i=h(2);return g(i.showFullCompanyName=!1)}),d(30),o(),C(31,qs,2,1,"a",234),o(),a(32,"div",228)(33,"label",188),d(34,"Job title: "),o(),b(35,"br"),a(36,"span",235),_("mouseenter",function(){u(e);let i=h(2);return g(i.showFullJobTitle=!0)})("mouseleave",function(){u(e);let i=h(2);return g(i.showFullJobTitle=!1)}),d(37),o(),C(38,Qs,2,1,"a",236),o(),a(39,"div",228)(40,"label",188),d(41,"Department: "),o(),b(42,"br"),a(43,"span",237),_("mouseenter",function(){u(e);let i=h(2);return g(i.showFullDepartment=!0)})("mouseleave",function(){u(e);let i=h(2);return g(i.showFullDepartment=!1)}),d(44),o(),C(45,Ks,2,1,"a",238),o(),a(46,"div",228)(47,"label",188),d(48,"Business Address: "),o(),b(49,"br"),a(50,"span",226),d(51),o()(),a(52,"div",228)(53,"label",188),d(54,"Home Address: "),o(),b(55,"br"),a(56,"span",226),d(57),o()(),a(58,"div",228)(59,"label",188),d(60,"Birthday: "),o(),b(61,"br"),a(62,"span",239),d(63),o()(),a(64,"div",228)(65,"label",188),d(66,"Mobile phone: "),o(),b(67,"br"),a(68,"span",240),_("mouseenter",function(){u(e);let i=h(2);return g(i.showFullMobile=!0)})("mouseleave",function(){u(e);let i=h(2);return g(i.showFullMobile=!1)}),d(69),o(),C(70,Zs,2,1,"a",241),o(),a(71,"div",228)(72,"label",188),d(73,"Home phone: "),o(),b(74,"br"),a(75,"span",242),_("mouseenter",function(){u(e);let i=h(2);return g(i.showFullHomePhone=!0)})("mouseleave",function(){u(e);let i=h(2);return g(i.showFullHomePhone=!1)}),d(76),o(),C(77,Xs,2,1,"a",243),o(),a(78,"div",228)(79,"label",188),d(80,"Business phone: "),o(),b(81,"br"),a(82,"span",244),_("mouseenter",function(){u(e);let i=h(2);return g(i.showFullBusinessPhone=!0)})("mouseleave",function(){u(e);let i=h(2);return g(i.showFullBusinessPhone=!1)}),d(83),o(),C(84,$s,2,1,"a",245),o()()()()}if(t&2){let e=h(2);s(4),m("size","md"),s(3),m("title",e.fullCombinedName),s(),O(" ",e.truncatedCombinedName," "),s(7),m("title",e.contactEmail.length>20?e.contactEmail:""),s(),O(" ",e.contactEmail.length>20?e.contactEmail.slice(0,20)+"...":e.contactEmail," "),s(),m("ngIf",e.contactEmail.length>20),s(5),m("title",e.contactOfficeLocation.length>20?e.contactOfficeLocation:""),s(),O(" ",e.contactOfficeLocation.length>20?e.contactOfficeLocation.slice(0,20)+"...":e.contactOfficeLocation," "),s(),m("ngIf",e.contactOfficeLocation.length>20),s(5),m("title",e.contactCompanyName.length>20?e.contactCompanyName:""),s(),O(" ",e.contactCompanyName.length>20?e.contactCompanyName.slice(0,20)+"...":e.contactCompanyName," "),s(),m("ngIf",e.contactCompanyName.length>20),s(5),m("title",e.contactJobTitle.length>20?e.contactJobTitle:""),s(),O(" ",e.contactJobTitle.length>20?e.contactJobTitle.slice(0,20)+"...":e.contactJobTitle," "),s(),m("ngIf",e.contactJobTitle.length>20),s(5),m("title",e.contactDepartment.length>20?e.contactDepartment:""),s(),O(" ",e.contactDepartment.length>20?e.contactDepartment.slice(0,20)+"...":e.contactDepartment," "),s(),m("ngIf",e.contactDepartment.length>20),s(5),m("title",e.combinedBusinessAddress),s(),O(" ",e.truncatedBusinessAddress," "),s(5),m("title",e.combinedHomeAddress),s(),O(" ",e.truncatedHomeAddress," "),s(6),G(e.contactBirthday),s(5),m("title",e.contactMobile.length>20?e.contactMobile:""),s(),O(" ",e.contactMobile.length>20?e.contactMobile.slice(0,20)+"...":e.contactMobile," "),s(),m("ngIf",e.contactMobile.length>20),s(5),m("title",e.contactHomePhones.length>20?e.contactHomePhones:""),s(),O(" ",e.contactHomePhones.length>20?e.contactHomePhones.slice(0,20)+"...":e.contactHomePhones," "),s(),m("ngIf",e.contactHomePhones.length>20),s(5),m("title",e.contactBusinessPhones.length>20?e.contactBusinessPhones:""),s(),O(" ",e.contactBusinessPhones.length>20?e.contactBusinessPhones.slice(0,20)+"...":e.contactBusinessPhones," "),s(),m("ngIf",e.contactBusinessPhones.length>20)}}function tl(t,c){if(t&1){let e=x();a(0,"th"),d(1),a(2,"a",254),_("click",function(){u(e);let i=h(2);return g(i.removeAll())}),d(3,"Remove all"),o()()}if(t&2){let e=h(2);s(),Me("",e.addedElementsCount," out of ",e.totalCountGS," selected ")}}function il(t,c){if(t&1&&(a(0,"th"),d(1),o()),t&2){let e=h(2);s(),O("",e.addedElementsCount," selected")}}function nl(t,c){if(t&1){let e=x();a(0,"tr")(1,"td",255)(2,"span",256),d(3),o(),a(4,"a",257),_("click",function(){let i=u(e),r=i.$implicit,p=i.index,l=h(2);return g(l.removeItem(p,r.subject,r.backupId,r.subject))}),b(5,"i",258),o()()()}if(t&2){let e=c.$implicit;s(3),G(e.subject)}}function rl(t,c){if(t&1&&(a(0,"c-row",150)(1,"c-card-header",55),C(2,fs,4,0,"a",151)(3,_s,4,0,"a",152),a(4,"span")(5,"b"),d(6),o()(),C(7,bs,2,0,"a",153)(8,ys,2,4,"a",154),o(),a(9,"c-card",155)(10,"c-card-body")(11,"div",156)(12,"table",157)(13,"thead",111)(14,"tr"),C(15,Cs,2,1,"th",158),b(16,"th",159),a(17,"th",159),d(18," Results "),C(19,ws,2,0,"button",160),o()()(),C(20,Vs,2,1,"tbody",14),o()()()(),a(21,"c-card",155),C(22,Fs,3,0,"c-card-body",161)(23,Ns,3,0,"c-card-body",161)(24,Gs,16,6,"c-card-body",14)(25,el,85,32,"c-card-body",14),o(),a(26,"c-card",162)(27,"c-card-body")(28,"table",163)(29,"colgroup"),b(30,"col",164),o(),a(31,"thead")(32,"tr"),C(33,tl,4,2,"th",14)(34,il,2,1,"th",14),o()(),a(35,"tbody"),C(36,nl,6,1,"tr",114),o()()()()()),t&2){let e=h();s(2),m("ngIf",!e.isMultiSelectEnabled),s(),m("ngIf",e.isMultiSelectEnabled),s(3),O("",e.foundMailsCS.length," Search Results Found"),s(),m("ngIf",!e.isMultiSelectEnabled),s(),m("ngIf",e.isMultiSelectEnabled),s(),m("ngClass",ce(22,Wo)),s(3),m("hover",!0)("responsive",!0)("striped",!1),s(3),m("ngIf",e.isMultiSelectEnabled),s(4),m("ngIf",e.updateAddToCartButtonVisibility()),s(),m("ngIf",!e.noFilesFoundCS),s(),m("ngClass",ft(23,Ta,!e.isMultiSelectEnabled,e.isMultiSelectEnabled)),s(),m("ngIf",!e.showMailPreview),s(),m("ngIf",e.showNotAvailable),s(),m("ngIf",e.showMailView&&e.showMailPreview),s(),m("ngIf",e.showContactsView),s(),m("ngClass",ce(26,Wo))("ngStyle",Z(27,ue,e.isMultiSelectEnabled?"block":"none")),s(7),m("ngIf",e.addedElementsCount>0),s(),m("ngIf",e.addedElementsCount==0),s(2),m("ngForOf",e.addedElementsUpdated)}}function ol(t,c){if(t&1){let e=x();a(0,"a",265),_("click",function(){u(e);let i=h(2);return g(i.searchForContentNavigate(i.first))}),b(1,"i",266),o()}}function al(t,c){if(t&1){let e=x();a(0,"a",267),_("click",function(){u(e);let i=h(2);return g(i.searchForContentNavigate(i.previous))}),b(1,"i",268),o()}}function sl(t,c){if(t&1){let e=x();a(0,"a",269),_("click",function(){u(e);let i=h(2);return g(i.searchForContentNavigate(i.next))}),b(1,"i",270),o()}}function ll(t,c){if(t&1){let e=x();a(0,"a",271),_("click",function(){u(e);let i=h(2);return g(i.searchForContentNavigate(i.last))}),b(1,"i",272),o()}}function cl(t,c){if(t&1&&(a(0,"c-row",17)(1,"div",259)(2,"div",260),C(3,ol,2,0,"a",261)(4,al,2,0,"a",262)(5,sl,2,0,"a",263)(6,ll,2,0,"a",264),o()()()),t&2){let e=h();s(3),m("ngIf",e.first!=""),s(),m("ngIf",e.previous!=""),s(),m("ngIf",e.next!=""),s(),m("ngIf",e.last!="")}}function dl(t,c){if(t&1){let e=x();a(0,"button",273),_("click",function(){u(e);let i=h();return g(i.exportCompleteMailboxAsPstTriggerG())}),d(1,"Proceed"),o()}}function pl(t,c){if(t&1){let e=x();a(0,"button",273),_("click",function(){u(e);let i=h();return g(i.exportSelectedAsPstG())}),d(1,"Proceed"),o()}}function ml(t,c){if(t&1&&(a(0,"span"),d(1),_e(2,"slice"),o()),t&2){let e=h(2);s(),O("/ ",Ve(2,1,e.progressG.subject,0,40),"")}}function hl(t,c){if(t&1&&(a(0,"td")(1,"span",274),d(2),_e(3,"slice"),o(),C(4,ml,3,5,"span",14),o()),t&2){let e=h();s(),vt("title","",e.progressG.currentFolderPath,"/",e.progressG.subject,""),s(),G(Ve(3,5,e.progressG.currentFolderPath,0,20)),s(2),m("ngIf",e.progressG.subject)}}function ul(t,c){t&1&&(a(0,"td"),d(1,"-"),o())}function gl(t,c){if(t&1&&(a(0,"td"),d(1),a(2,"div",275)(3,"div",276),d(4),_e(5,"number"),o()()()),t&2){let e=h();s(),Me("",e.progressG.restoredFiles,"/",e.progressG.totalNoOfFilesForRestore," "),s(),gt("title","",e.progressG.totalRestorePct,"%"),s(),mt("width",e.progressG.totalRestorePct,"%"),s(),O(" ",_t(5,7,e.progressG.totalRestorePct,"1.0-0"),"% ")}}function vl(t,c){t&1&&(a(0,"td"),d(1,"0"),o())}function fl(t,c){t&1&&(a(0,"div",100)(1,"ul",101)(2,"li",102)(3,"strong",103),d(4,"No Users found"),o(),b(5,"ul",104),o()()())}function _l(t,c){if(t&1&&(a(0,"option",108),d(1),o()),t&2){let e=c.$implicit;m("value",e.deviceUUID),s(),O(" ",e.deviceName," ")}}function bl(t,c){if(t&1){let e=x();a(0,"c-card"),b(1,"c-card-header",55),a(2,"c-card-body")(3,"c-row")(4,"span"),d(5,"Source Path - "),a(6,"span"),d(7),o()()(),a(8,"c-row",56)(9,"p"),d(10,"Select a destination asset:"),o(),a(11,"div",126)(12,"label"),d(13,"User Id"),o(),a(14,"select2",277),D("ngModelChange",function(i){u(e);let r=h();return P(r.selectedValueR,i)||(r.selectedValueR=i),g(i)}),_("search",function(i){u(e);let r=h();return g(r.onSearchR(i))})("update",function(i){u(e);let r=h();return g(r.updateR(i))}),o(),C(15,fl,6,0,"div",99),o(),a(16,"div",126)(17,"label"),d(18,"Asset Name"),o(),a(19,"select",106,5),C(21,_l,2,2,"option",107),o()()(),a(22,"c-row")(23,"div",47)(24,"label",278),d(25,"Select a Destination Path"),o(),a(26,"c-input-group",9)(27,"input",279),D("ngModelChange",function(i){u(e);let r=h();return P(r.destinationPathR,i)||(r.destinationPathR=i),g(i)}),o(),a(28,"button",280),_("click",function(){u(e);let i=ie(20),r=h();return g(r.browseR(i.value))}),d(29,"Browse"),o()()()(),a(30,"c-row",56)(31,"h3"),d(32,"Restore Options"),o(),a(33,"div",66)(34,"div",281)(35,"span",29),d(36,"Disallow new backups during this restore"),o(),a(37,"div",282)(38,"c-form-check",283)(39,"input",284),D("ngModelChange",function(i){u(e);let r=h();return P(r.suspendBackupR,i)||(r.suspendBackupR=i),g(i)}),o()()()(),a(40,"div",281)(41,"span",29),d(42,"In place Restore"),o(),a(43,"div",282)(44,"c-form-check",283)(45,"input",285),D("ngModelChange",function(i){u(e);let r=h();return P(r.inplaceRestoreR,i)||(r.inplaceRestoreR=i),g(i)}),o()()()(),a(46,"div",281)(47,"span",29),d(48,"Restore Deleted Mails"),o(),a(49,"div",282)(50,"c-form-check",283)(51,"input",286),D("ngModelChange",function(i){u(e);let r=h();return P(r.restoreDeletedFilesByRestoreR,i)||(r.restoreDeletedFilesByRestoreR=i),g(i)}),o()()()()(),a(52,"div",287)(53,"div",281)(54,"span",288),d(55,"Restore Data Before"),o(),a(56,"div",289)(57,"c-form-check",283)(58,"input",290),D("ngModelChange",function(i){u(e);let r=h();return P(r.dateBeforeR,i)||(r.dateBeforeR=i),g(i)}),_("change",function(){u(e);let i=h();return g(i.toggleDateBeforeR())}),o()()()(),a(59,"div",291)(60,"input",292),D("ngModelChange",function(i){u(e);let r=h();return P(r.myDateBeforeR,i)||(r.myDateBeforeR=i),g(i)}),o(),a(61,"timepicker",293),D("ngModelChange",function(i){u(e);let r=h();return P(r.myTimeBeforeR,i)||(r.myTimeBeforeR=i),g(i)}),o()()()()()()}if(t&2){let e=h();s(7),G(e.currentFilePathR),s(7),m("overlay",e.overlayR)("data",e.deviceUsersListR)("value",e.selectedValueR),k("ngModel",e.selectedValueR),s(),m("ngIf",e.deviceUsersListR.length===0),s(6),m("ngForOf",e.devicesR),s(6),k("ngModel",e.destinationPathR),m("readonly",!0),s(11),m("switch",!0),s(),k("ngModel",e.suspendBackupR),s(5),m("switch",!0),s(),k("ngModel",e.inplaceRestoreR),s(5),m("switch",!0),s(),k("ngModel",e.restoreDeletedFilesByRestoreR),s(6),m("switch",!0),s(),k("ngModel",e.dateBeforeR),s(2),k("ngModel",e.myDateBeforeR),m("bsConfig",e.bsConfigR)("disabled",!e.dateBeforeR),s(),k("ngModel",e.myTimeBeforeR),m("minuteStep",1)("showMeridian",!1)("disabled",!e.dateBeforeR)}}function yl(t,c){if(t&1&&(a(0,"span"),d(1),_e(2,"slice"),o()),t&2){let e=h(3);s(),O("/ ",Ve(2,1,e.progressR.subject,0,40),"")}}function Cl(t,c){if(t&1&&(a(0,"td")(1,"span",274),d(2),_e(3,"slice"),o(),C(4,yl,3,5,"span",14),o()),t&2){let e=h(2);s(),vt("title","",e.progressR.currentFolderPath,"/",e.progressR.subject,""),s(),G(Ve(3,5,e.progressR.currentFolderPath,0,20)),s(2),m("ngIf",e.progressR.subject)}}function wl(t,c){t&1&&(a(0,"td"),d(1,"-"),o())}function Sl(t,c){if(t&1&&(a(0,"td"),d(1),a(2,"div",294)(3,"div",276),d(4),_e(5,"number"),o()()()),t&2){let e=h(2);s(),Me("",e.progressR.restoredFiles,"/",e.progressR.totalNoOfFilesForRestore," "),s(),gt("title","",e.progressR.totalRestorePct,"%"),s(),mt("width",e.progressR.totalRestorePct,"%"),s(),O(" ",_t(5,7,e.progressR.totalRestorePct,"1.0-0"),"% ")}}function xl(t,c){t&1&&(a(0,"td"),d(1,"0"),o())}function Ml(t,c){if(t&1&&(a(0,"c-card"),b(1,"c-card-header",55),a(2,"c-card-body")(3,"c-row")(4,"span"),d(5,"Source Path - "),a(6,"span"),d(7),o()()(),a(8,"c-row",56)(9,"h3"),d(10,"Currently Running Restore Statistics"),o(),a(11,"table",57)(12,"thead")(13,"tr")(14,"th"),d(15,"Current item being processed"),o(),a(16,"th"),d(17,"Overall Progress"),o()()(),a(18,"tbody")(19,"tr"),C(20,Cl,5,9,"td",14)(21,wl,2,0,"td",14)(22,Sl,6,10,"td",14)(23,xl,2,0,"td",14),o()()()()()()),t&2){let e=h();s(7),G(e.currentFilePathR),s(13),m("ngIf",e.progressR.currentFolderPath!=""),s(),m("ngIf",e.progressR.currentFolderPath==""),s(),m("ngIf",e.progressR.totalNoOfFilesForRestore!=""),s(),m("ngIf",e.progressR.totalNoOfFilesForRestore=="")}}function El(t,c){if(t&1){let e=x();a(0,"button",295),_("click",function(){u(e);let i=h();return g(i.initiateRestoreR())}),d(1,"Initiate Restore"),o()}}function Ol(t,c){if(t&1){let e=x();a(0,"button",296),_("click",function(){u(e);let i=h();return g(i.cancelRunningRestoreR())}),d(1,"Cancel Restore"),o()}}function Tl(t,c){if(t&1){let e=x();a(0,"button",297),_("click",function(){u(e);let i=h();return g(i.closeRestorePopupR())}),d(1,"Close"),o()}}function kl(t,c){if(t&1){let e=x();a(0,"button",298),_("click",function(){u(e);let i=h();return g(i.closeRestorePopupR())}),d(1,"Close"),o()}}function Pl(t,c){t&1&&(a(0,"span"),d(1,"/"),o())}function Dl(t,c){if(t&1&&(a(0,"span"),d(1),o()),t&2){let e=h();s(),G(e.browsePathR)}}function Il(t,c){if(t&1){let e=x();a(0,"button",299),_("click",function(){u(e);let i=h();return g(i.backBrowseR())}),b(1,"i",300),d(2," Back"),o()}}function Al(t,c){t&1&&(a(0,"tr")(1,"td",301)(2,"div",302)(3,"span",303),d(4,"Loading..."),o()()()())}function Rl(t,c){if(t&1){let e=x();a(0,"tr",304),_("click",function(){let i=u(e).$implicit,r=h();return g(r.onSingleClickR(i))})("dblclick",function(){let i=u(e).$implicit,r=h();return g(r.onDoubleClickR(i))}),a(1,"td")(2,"span",226),d(3),o()()()}if(t&2){let e=c.$implicit,n=h();m("ngClass",Z(3,Da,n.selectedBrowseItemR===e)),s(2),te("title",e),s(),O(" ",e," ")}}var Go=(()=>{class t{constructor(e,n,i,r,p,l,v,w,M,E){this.authService=e,this.router=n,this.apiService=i,this.toastr=r,this.http=p,this.sharedService=l,this.renderer=v,this.cdr=w,this.sanitizer=M,this.configService=E,this.isLoading=!1,this.userAssetSearchText="",this.foundUsers=[],this.foundDevices=[],this.foundSites=[],this.isOverlayVisible=!1,this.noUsersFoundText="",this.noDevicesFoundText="",this.productTypeFiles="",this.deviceUsersList=[],this.devices=[],this.overlay=!1,this.selectedValue=null,this.currentDeviceUUID="",this.deviceUUIDCheck=!1,this.selectedDeviceUUID="",this.selectedDeviceName="",this.deviceType="backup",this.filesSearchText="",this.foundFiles=[],this.noFilesFound=!1,this.siteList=[],this.sites=[],this.overlaySite=!1,this.selectedValueSite=null,this.productTypeContentSearch="",this.deviceUsersListCS=[],this.devicesCS=[],this.overlayCS=!1,this.selectedValueCS=null,this.currentDeviceUUIDCS="",this.deviceUUIDCheckCS=!1,this.selectedDeviceUUIDCS="",this.selectedDeviceNameCS="",this.selectedDeviceIdCS="",this.deviceTypeCS="backup",this.contentSearchText="",this.contentSearchMail="",this.foundFilesCS=[],this.noFilesFoundCS=!1,this.siteListCS=[],this.sitesCS=[],this.overlaySiteCS=!1,this.selectedValueSiteCS=null,this.isBackupEnabled="false",this.isSyncEnabled="false",this.isODBEnabled="false",this.isExchangeEnabled="false",this.isSharepointEnabled="false",this.isContentSearchEnabled="false",this.items=[1,2,3,4],this.isExpanded=!1,this.fromId="",this.toId="",this.ccId="",this.bccId="",this.subjectId="",this.bodyId="",this.keywordsId="",this.myDateBefore=new Date,this.myDateAfter=new Date,this.foundMailsCS=[],this.selectedUsers=new Set,this.showMailPreview=!0,this.showMailView=!1,this.showContactsView=!1,this.showTasksView=!1,this.showCalendarView=!1,this.currentMailSubject="",this.currentMailFrom="",this.currentMailSentDate="",this.currentMailTo="",this.currentMailCc="",this.currentMailBcc="",this.currentMailAttachments=[],this.currentMailBody="",this.currentFileName="",this.currentMailPath="",this.currentMailBackupId="",this.currentMailUser="",this.isSelectAll=!1,this.isMultiSelectEnabled=!1,this.addedElements=[],this.addedElementsUpdated=[],this.addedElementsCount=0,this.selectItems=[],this.totalCountGS="",this.previous="",this.next="",this.last="",this.first="",this.pstFileNameG="",this.displayPststyleG="none",this.displayDownloadPststyleG="none",this.displayDownloadPstConfirmstyleG="none",this.displayDownloadPstRunBckConfirmstyleG="none",this.exportCompleteMailboxG=!1,this.backupIdsListG=[],this.batchIdG="",this.progressG=[],this.displayRestoreStyleR="none",this.destinationPathR="",this.value18R="",this.overlayR=!1,this.selectedValueR=null,this.deviceUsersListR=[],this.devicesR=[],this.inplaceRestoreR=!1,this.suspendBackupR=!1,this.restoreDeletedFilesByRestoreR=!1,this.restoreDataBeforeR="",this.dateBeforeR=!1,this.myTimeBeforeR=new Date,this.myDateBeforeR=new Date,this.selectedDeviceUUIDR="",this.browsePathR="",this.browseItemsR=[],this.displayBrowseStyleR="none",this.newFolderR="",this.selectedBrowseItemR=null,this.combinedBrowseValueR="",this.loadingR=!1,this.gotResultForRestoreR=!1,this.displayRestoreSizeStyleR="none",this.batchIdR="",this.showRestoreSettingsR=!0,this.progressR=[],this.displayDeleteRestoreStyleR="none",this.restoreDataBefore="",this.currentFilePathR="",this.currentFileBackupIdR="",this.restoreAllVersionsR=!1,this.restoreLinksR=!1,this.contactName="",this.contactTitle="",this.contactFirstName="",this.contactMiddleName="",this.contactLastName="",this.contactSuffix="",this.contactEmail="-",this.contactMobile="-",this.contactAddrStreet="-",this.contactAddrCity="-",this.contactAddrState="-",this.contactAddrCountry="-",this.contactAddrPostalCode="-",this.contactBusiAddrStreet="-",this.contactBusiAddrCity="-",this.contactBusiAddrState="-",this.contactBusiAddrCountry="-",this.contactBusiAddrPostalCode="-",this.contactOfficeLocation="-",this.contactCompanyName="-",this.contactJobTitle="-",this.contactDepartment="-",this.contactBirthday="-",this.contactHomePhones="-",this.contactBusinessPhones="-",this.contactWebSite="-",this.combinedBusinessAddress="-",this.truncatedBusinessAddress="-",this.combinedHomeAddress="-",this.truncatedHomeAddress="-",this.fullCombinedName="-",this.truncatedCombinedName="-",this.showFullEmail=!1,this.showFullLocation=!1,this.showFullCompanyName=!1,this.showFullJobTitle=!1,this.showFullDepartment=!1,this.showFullMobile=!1,this.showFullHomePhone=!1,this.showFullBusinessPhone=!1,this.taskSubject="NA",this.taskStartDate="NA",this.taskDueDate="NA",this.taskReminderTime="NA",this.currentCalendarSubject="",this.currentCalendarFrom="",this.currentCalendarSentDate="",this.currentCalendarTo="",this.currentCalendarCc="",this.currentCalendarBcc="",this.currentCalendarAttachments=[],this.currentCalendarBody="",this.showNotAvailable=!1,this.close=new De,setTimeout(()=>{this.userDeviceSearch.nativeElement.focus()},0);let T=localStorage.getItem("envDetails");if(T){let ne=JSON.parse(T);ne.backup_enabled=="true"?this.isBackupEnabled="true":this.isBackupEnabled="false",ne.sync_enabled=="true"?this.isSyncEnabled="true":this.isSyncEnabled="false",ne.onedrive_backup_enabled=="true"?this.isODBEnabled="true":this.isODBEnabled="false",ne.exchange_backup_enabled=="true"?this.isExchangeEnabled="true":this.isExchangeEnabled="false",ne.sharepoint_backup_enabled=="true"?this.isSharepointEnabled="true":this.isSharepointEnabled="false",ne.contentsearchenabled=="true"?this.isContentSearchEnabled="true":this.isContentSearchEnabled="false",this.isBackupEnabled==="true"?this.productTypeFiles="backup":this.isODBEnabled==="true"?this.productTypeFiles="oneDrive":this.isSharepointEnabled==="true"?this.productTypeFiles="SHAREPOINT":this.productTypeFiles="",this.isExchangeEnabled==="true"?this.productTypeContentSearch="mail":this.isODBEnabled==="true"?this.productTypeContentSearch="oneDrive":this.isSharepointEnabled==="true"?this.productTypeContentSearch="SHAREPOINT":this.productTypeContentSearch=""}let S=new Date,I=new Date;I.setFullYear(S.getFullYear()-1),new Date().setDate(S.getDate()-14),this.bsConfigBefore={minDate:I,maxDate:S,dateInputFormat:"DD-MMM-YYYY"},this.bsConfigAfter={minDate:I,maxDate:S,dateInputFormat:"DD-MMM-YYYY"},this.bsConfigR={dateInputFormat:"DD-MMM-YYYY",maxDate:new Date}}renderHtml(e){return this.sanitizer.bypassSecurityTrustHtml(e)}logout(){console.log("Logout clicked 154"),this.authService.logout(),console.log("Token after logout"+this.authService.getToken()),this.router.navigate(["logout"])}activityHistory(){console.log("activityHistory clicked"),this.router.navigate(["activityHistory"])}onKeydown(e){e.key==="Enter"&&this.searchForUsersAssets()}searchForUsersAssets(){console.log("inside users/asset search : "+this.userAssetSearchText),this.userAssetSearchText!=""&&this.callApis()}closeOverlay(){this.close.emit()}callApis(){let e=this.apiService.getUsersSearch(this.userAssetSearchText),n=this.apiService.getDeviceSearch(this.userAssetSearchText);Nt([e,n]).subscribe(([i,r])=>{console.log("getUsersSearch response body:",JSON.stringify(i.body.data.users)),console.log("getUsersSearch response headers:",JSON.stringify(i.headers)),console.log("getDeviceSearch response body:",JSON.stringify(r.body.data.devices)),console.log("getDeviceSearch response headers:",JSON.stringify(r.headers)),i.body.data&&i.body.data.users?(this.noUsersFoundText="",this.foundUsers=i.body.data.users.map(p=>oe(R({},p),{userNameEncoded:btoa(p.userName)}))):(this.foundUsers=[],this.noUsersFoundText="No Users found."),r.body.data&&r.body.data.devices?(this.noDevicesFoundText="",this.foundDevices=r.body.data.devices.map(p=>oe(R({},p),{userNameEncoded:btoa(p.userName),deviceNameEncoded:btoa(p.deviceName)}))):(this.noDevicesFoundText="No Devices found",this.foundDevices=[])},i=>{switch(console.error("Error from Api's call: ",i),i.status){case 400:console.error("Bad Request: ",i.message);break;case 401:console.error("Unauthorized: ",i.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",i.message);break;case 404:console.error("Not Found: ",i.message);break;case 500:console.error("Internal Server Error: ",i.message);break;case 503:console.error("Internal Server Error: ",i.message);break;default:console.error("Unknown Error: ",i.message);break}})}userProfile(e){console.log("currentUser : "+e),this.sharedService.setData("currentUser",e),this.sharedService.setData("currentDevice",""),this.isOverlayVisible=!1;let n=document.querySelector(".header.header-sticky");n&&this.renderer.setStyle(n,"z-index","1000"),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate(["/users/profile"])}userAsset(e,n){console.log("currentUser : "+e+" : devicename : "+n),this.sharedService.removeData("currentUser"),this.sharedService.removeData("currentDevice"),this.sharedService.setData("currentUser",e),this.sharedService.setData("currentDevice",atob(n)),this.isOverlayVisible=!1;let i=document.querySelector(".header.header-sticky");i&&this.renderer.setStyle(i,"z-index","1000");let r=document.querySelector(".overlay");r&&this.renderer.setStyle(r,"display","none"),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate(["/users/profile"])}onSearch(e){let n=e.search||"";console.log("searchTerm : "+n),this.deviceUsersList=[{label:"",options:[]}],this.selectedValue=null,this.apiService.getUserWithDevice(e.search).subscribe(i=>{if(i.body&&i.body.searchUserElementList){let r=i.body.searchUserElementList.map(p=>({value:p.userName,label:p.userName}));this.deviceUsersList=[{label:"",options:r}],this.cdr.detectChanges()}else this.deviceUsersList=[]},i=>{})}update(e){console.log("value : "+e.value);let n=e.value;this.apiService.getUserDevice(n).subscribe(i=>{if(i.body?.data?.devices){this.deviceType=this.productTypeFiles;let r="";this.deviceType=="oneDrive"?r="ONEDRIVE":this.deviceType=="backup"?r="BACKUP":r=this.deviceType,this.devices=i.body.data.devices.filter(p=>p.blocked===!1&&p.deviceType==r).map(p=>({deviceName:p.deviceName,deviceUUID:p.deviceUUID,deviceId:p.deviceId,osType:p.osType,decoupled:p.decoupled})),this.devices.length>0&&(this.selectedDeviceUUID=this.devices[0].deviceUUID,this.selectedDeviceName=this.devices[0].deviceName)}else this.devices=[{deviceName:"No Asset found",deviceUUID:"",deviceId:"",osType:"",decoupled:""}],this.devices[0].deviceUUID!=this.currentDeviceUUID?this.deviceUUIDCheck=!0:this.deviceUUIDCheck=!1},i=>{console.error("Error during search: ",i)})}updateNow(e){this.apiService.getUserDevice(e).subscribe(n=>{if(console.log("res : "+JSON.stringify(n)),n.body?.data?.devices){let i="";this.deviceType=="ODB"?i="ONEDRIVE":this.deviceType=="backup"?i="BACKUP":i=this.deviceType,this.devices=n.body.data.devices.filter(r=>r.blocked===!1&&r.deviceType==i).map(r=>({deviceName:r.deviceName,deviceUUID:r.deviceUUID,deviceId:r.deviceId,osType:r.osType,decoupled:r.decoupled})),this.devices[0].deviceUUID!=this.currentDeviceUUID?this.deviceUUIDCheck=!0:this.deviceUUIDCheck=!1,this.selectedDeviceUUID=this.devices[0].deviceUUID}else this.devices=[{deviceName:"No Asset found",deviceUUID:"",deviceId:"",osType:"",decoupled:""}],this.devices[0].deviceUUID!=this.currentDeviceUUID?this.deviceUUIDCheck=!0:this.deviceUUIDCheck=!1},n=>{console.error("Error during search: ",n)})}onChangeProductType(e){let i=e.target.value;this.filesSearchText="",this.deviceUsersList=[],this.devices=[]}searchForFiles(){if(this.selectedValue==""||this.selectedValue==null){this.toastr.error("Please select a User Id.");return}if(this.filesSearchText==""){this.toastr.error("Please enter file name to search.");return}this.productTypeFiles=="SHAREPOINT"&&(this.selectedValue=this.selectedValueSite,this.selectedDeviceName=this.selectedValue+" (Microsoft SharePoint)"),this.isLoading=!0,this.apiService.getFilesSearch(this.productTypeFiles,this.selectedValue,this.selectedDeviceName,this.filesSearchText).subscribe(e=>{this.isLoading=!1;var n=JSON.stringify(e.body),i=JSON.parse(n);let r=[];if(e.body.data&&e.body.data.fileElementList&&e.body.data.fileElementList.length>0){console.log("res.body : "+JSON.stringify(e.body.data.fileElementList));let p=e.body;(this.productTypeFiles==="backup"||this.productTypeFiles==="oneDrive"||this.productTypeFiles==="SHAREPOINT")&&e.body.data.fileElementList.forEach(l=>{let v={exists:l.present?l.present.toString():"",backup:"true",deviceUUID:l.deviceUUID?l.deviceUUID.toString():"",fileName:l.fileName?l.fileName.toString():"",filePath:l.fileCompletePath?l.fileCompletePath.toString():"",fileUser:l.fileUserOwner?btoa(l.fileUserOwner):"",folder:l.folder?"true":"false",fileRevisionID:l.backupId?l.backupId.toString():"",content:l.metaData?l.metaData.toString():"",modifiedTimestamp:l.lastModifiedTimestamp?parseInt(l.lastModifiedTimestamp,10):0,size:l.size?parseInt(l.size,10):0,deviceType:"",deviceOs:"",deviceId:"",blocked:"",deviceName:"",deviceNameNew:"",deviceNameEnc:""};this.apiService.getDeviceInfo(v.deviceUUID).subscribe(w=>{let M=w.body.BSDeviceInfoElement,E=M.osType.substring(0,3).toLowerCase(),T="Windows",S="Windows";E==="win"?(T="Windows",S="Windows"):E==="mac"?(T="Mac",S="Mac"):E==="one"?(T="ONEDRIVE",S="ONEDRIVE"):E==="out"?(T="OUTLOOK",S="OUTLOOK"):E==="sha"&&(T="SHAREPOINT",S="SHAREPOINT"),v.deviceType=T,v.deviceOs=S,v.deviceId=M.deviceId?M.deviceId.toString():"",v.blocked="active",v.deviceName=M.deviceName?M.deviceName.toString():"",v.deviceNameNew=M.deviceName?M.deviceName.replace(/ /g,"_PB_"):"",v.deviceNameEnc=M.deviceName?btoa(M.deviceName):"",r.push(v),this.foundFiles=r,this.noFilesFound=!1,console.log("Files:",JSON.stringify(r))},w=>{switch(console.error("Error from getDeviceInfo:",w),w.status){case 400:console.error("Bad Request:",w.message);break;case 401:this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden:",w.message);break;case 404:console.error("Not Found:",w.message);break;case 500:case 503:console.error("Internal Server Error:",w.message);break;default:console.error("Unknown Error:",w.message);break}})})}else this.noFilesFound=!0;this.cdr.detectChanges()},e=>{switch(this.isLoading=!1,console.error("Error from getFilesSearch: ",e),e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",e.message);break;case 404:console.error("Not Found: ",e.message),this.toastr.info("No Meta data Configuration found.","Info");break;case 500:console.error("Internal Server Error: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}onSearchSite(e){let n=e.search||"";console.log("searchTerm : "+n),this.deviceUsersList=[{label:"",options:[]}],this.selectedValue=null,this.apiService.searchSite(e.search).subscribe(i=>{if(i.body&&i.body.stringElementList){let r=i.body.stringElementList.map(p=>({value:p.name,label:p.name}));this.siteList=[{label:"",options:r}],this.cdr.detectChanges()}else this.siteList=[]},i=>{})}updateSite(e){console.log("value : "+e.value);let n=e.value;this.apiService.getUserDevice(n).subscribe(i=>{if(i.body?.data?.devices){this.deviceType=this.productTypeFiles;let r="";this.deviceType=="oneDrive"?r="ONEDRIVE":this.deviceType=="backup"?r="BACKUP":r=this.deviceType,this.devices=i.body.data.devices.filter(p=>p.blocked===!1&&p.deviceType==r).map(p=>({deviceName:p.deviceName,deviceUUID:p.deviceUUID,deviceId:p.deviceId,osType:p.osType,decoupled:p.decoupled})),this.devices.length>0&&(this.selectedDeviceUUID=this.devices[0].deviceUUID,this.selectedDeviceName=this.devices[0].deviceName)}else this.devices=[{deviceName:"No Asset found",deviceUUID:"",deviceId:"",osType:"",decoupled:""}],this.devices[0].deviceUUID!=this.currentDeviceUUID?this.deviceUUIDCheck=!0:this.deviceUUIDCheck=!1},i=>{console.error("Error during search: ",i)})}downloadFile(e,n,i,r,p,l,v){console.log("fileName : "+e),console.log("filePath : "+n),console.log("fileRevisionID : "+i),console.log("backup : "+r),console.log("fileUser : "+p),console.log("deviceUUID : "+l),console.log("folder : "+v);let w="https://",M=this.configService.baseFolder,E="/BluKryptBuilder/cloud/",T=this.configService.cloudName,S=this.sharedService.getDataByKey("authToken"),I=this.sharedService.getDataByKey("userName"),z=`${w}${M}${E}${T}/portal/download/files/?fileName=${this.base64Encode(e)}&filePath=${this.base64Encode(n)}&token=${S}+'&loginUserName=${I}&isSync=false+&deviceUUID=${l}&backupID=${i}&backup=${r}&userName=${this.base64Encode(p)}`;window.open(z,"_self")}base64Encode(e){return btoa(decodeURIComponent(escape(e)))}openFileLocation(e,n,i){this.sharedService.setData("openFileLocation","yes"),this.sharedService.setData("openLocationFilename",e),this.sharedService.setData("openLocationPath",n),this.sharedService.setData("currentDeviceId",i),this.isOverlayVisible=!1;let r=document.querySelector(".header.header-sticky");r&&this.renderer.setStyle(r,"z-index","1000");let p=document.querySelector(".overlay");p&&this.renderer.setStyle(p,"display","none"),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate(["backup/files"])}onSearchContentSearch(e){let n=e.search||"";console.log("searchTerm : "+n),this.deviceUsersListCS=[{label:"",options:[]}],this.selectedValueCS=null,this.apiService.getUserWithDevice(e.search).subscribe(i=>{if(i.body&&i.body.searchUserElementList){let r=i.body.searchUserElementList.map(p=>({value:p.userName,label:p.userName}));this.deviceUsersListCS=[{label:"",options:r}],this.cdr.detectChanges()}else this.deviceUsersListCS=[]},i=>{})}updateContentSearch(e){console.log("value : "+e.value);let n=e.value;this.apiService.getUserDevice(n).subscribe(i=>{if(i.body?.data?.devices){this.deviceTypeCS=this.productTypeContentSearch;let r="";this.deviceTypeCS=="oneDrive"?r="ONEDRIVE":this.deviceType=="backup"?r="BACKUP":this.deviceTypeCS=="mail"?r="OUTLOOK":r=this.deviceType,this.devicesCS=i.body.data.devices.filter(p=>p.blocked===!1&&p.deviceType==r).map(p=>({deviceName:p.deviceName,deviceUUID:p.deviceUUID,deviceId:p.deviceId,osType:p.osType,decoupled:p.decoupled})),this.devicesCS.length>0&&(this.selectedDeviceUUIDCS=this.devicesCS[0].deviceUUID,this.selectedDeviceNameCS=this.devicesCS[0].deviceName,this.selectedDeviceIdCS=this.devicesCS[0].deviceId)}else this.devicesCS=[{deviceName:"No Asset found",deviceUUID:"",deviceId:"",osType:"",decoupled:""}],this.devicesCS[0].deviceUUID!=this.currentDeviceUUIDCS?this.deviceUUIDCheckCS=!0:this.deviceUUIDCheckCS=!1},i=>{console.error("Error during search: ",i)})}updateNowContentSearch(e){this.apiService.getUserDevice(e).subscribe(n=>{if(console.log("res : "+JSON.stringify(n)),n.body?.data?.devices){let i="";this.deviceTypeCS=="ODB"?i="ONEDRIVE":this.deviceType=="backup"?i="BACKUP":this.deviceTypeCS=="mail"?i="OUTLOOK":i=this.deviceTypeCS,this.devicesCS=n.body.data.devices.filter(r=>r.blocked===!1&&r.deviceType==i).map(r=>({deviceName:r.deviceName,deviceUUID:r.deviceUUID,deviceId:r.deviceId,osType:r.osType,decoupled:r.decoupled})),this.devicesCS[0].deviceUUID!=this.currentDeviceUUIDCS?this.deviceUUIDCheckCS=!0:this.deviceUUIDCheckCS=!1,this.selectedDeviceUUIDCS=this.devicesCS[0].deviceUUID}else this.devicesCS=[{deviceName:"No Asset found",deviceUUID:"",deviceId:"",osType:"",decoupled:""}],this.devicesCS[0].deviceUUID!=this.currentDeviceUUIDCS?this.deviceUUIDCheckCS=!0:this.deviceUUIDCheckCS=!1},n=>{console.error("Error during search: ",n)})}onChangeProductTypeContentSearch(e){let i=e.target.value;this.contentSearchText="",this.deviceUsersListCS=[],this.devicesCS=[]}searchForContent(){if(this.foundMailsCS=[],this.productTypeContentSearch!="mail"&&this.productTypeContentSearch!="oneDrive"&&(this.selectedValueCS==""||this.selectedValueCS==null)){this.toastr.error("Please select a User Id.");return}if(console.log("vvvv : "+this.selectedValueCS),this.contentSearchText==""&&this.productTypeContentSearch!="mail"){this.toastr.error("Please enter file name to search.");return}this.productTypeContentSearch=="SHAREPOINT"&&(this.selectedValueCS=this.selectedValueSiteCS,this.selectedDeviceNameCS=""),this.productTypeContentSearch=="mail"&&(this.contentSearchText=this.parseEmailString1(this.contentSearchMail)),this.isLoading=!0,console.log("productTypeContentSearch : "+this.productTypeContentSearch),console.log("selectedValueCS : "+this.selectedValueCS),console.log("selectedDeviceNameCS : "+this.selectedDeviceNameCS),console.log("contentSearchText : "+this.contentSearchText),this.apiService.getContentSearch(this.productTypeContentSearch,this.selectedValueCS,this.selectedDeviceNameCS,this.contentSearchText,this.selectedDeviceIdCS,"").subscribe(e=>{this.isLoading=!1;var n=JSON.stringify(e.body),i=JSON.parse(n);let r=[];if(e.body.data&&e.body.data.fileElementList&&e.body.data.fileElementList.length>0){console.log("res.body : "+JSON.stringify(e.body.data.fileElementList));let p=e.body;(this.productTypeContentSearch==="oneDrive"||this.productTypeContentSearch==="SHAREPOINT")&&e.body.data.fileElementList.forEach(l=>{let v={exists:l.present?l.present.toString():"",backup:"true",deviceUUID:l.deviceUUID?l.deviceUUID.toString():"",fileName:l.fileName?l.fileName.toString():"",filePath:l.fileCompletePath?l.fileCompletePath.toString():"",fileUser:l.fileUserOwner?btoa(l.fileUserOwner):"",folder:l.folder?"true":"false",fileRevisionID:l.backupId?l.backupId.toString():"",content:l.metaData?l.metaData.toString():"",modifiedTimestamp:l.lastModifiedTimestamp?parseInt(l.lastModifiedTimestamp,10):0,size:l.size?parseInt(l.size,10):0,deviceType:"",deviceOs:"",deviceId:"",blocked:"",deviceName:"",deviceNameNew:"",deviceNameEnc:""};this.apiService.getDeviceInfo(v.deviceUUID).subscribe(w=>{let M=w.body.BSDeviceInfoElement,E=M.osType.substring(0,3).toLowerCase(),T="Windows",S="Windows";E==="win"?(T="Windows",S="Windows"):E==="mac"?(T="Mac",S="Mac"):E==="one"?(T="ONEDRIVE",S="ONEDRIVE"):E==="out"?(T="OUTLOOK",S="OUTLOOK"):E==="sha"&&(T="SHAREPOINT",S="SHAREPOINT"),v.deviceType=T,v.deviceOs=S,v.deviceId=M.deviceId?M.deviceId.toString():"",v.blocked="active",v.deviceName=M.deviceName?M.deviceName.toString():"",v.deviceNameNew=M.deviceName?M.deviceName.replace(/ /g,"_PB_"):"",v.deviceNameEnc=M.deviceName?btoa(M.deviceName):"",r.push(v),this.foundFilesCS=r,this.noFilesFoundCS=!1,console.log("Files:",JSON.stringify(r))},w=>{switch(console.error("Error from getDeviceInfo:",w),w.status){case 400:console.error("Bad Request:",w.message);break;case 401:this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden:",w.message);break;case 404:console.error("Not Found:",w.message);break;case 500:case 503:console.error("Internal Server Error:",w.message);break;default:console.error("Unknown Error:",w.message);break}})}),this.productTypeContentSearch==="mail"&&(e.body.data.fileElementList.forEach(l=>{let v={backupId:l.fileRevisionId,userName:l.fileUserOwner,deviceUUID:l.deviceUUID,subject:l.subject?l.subject:"<empty>",contactName:l.fileName?l.fileName:"-",taskSubject:l.subject?l.subject:"",present:l.exists.toString(),showIcon:l.from?l.from.charAt(0):"E",alphaColor:this.colorGen(),from:l.from?l.from:"<empty>",to:l.toRecipients?l.toRecipients:"",cc:l.ccRecipients?l.ccRecipients:"",bcc:l.bccRecipients?l.bccRecipients:"",sentDate:l.sentDate?new Date(l.sentDate).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}):"",displayContent:l.metaData?l.metaData:"",bodyContent:l.bodyContent?l.bodyContent:"",bodyContent1:l.bodyContent?l.bodyContent.length>100?l.bodyContent.substring(0,100)+"...":l.bodyContent:"",hasAttachments:l.hasAttachments,attachments:l.attachments?l.attachments:"",name:l.subject?l.subject:"<empty>",type:"File",icon:"file",folder:!1,name1:l.subject?l.subject:"<empty>",filePath:l.fileCompletePath,deviceId:l.deviceId};this.foundMailsCS.push(v)}),this.foundMailsCS.length>0&&(console.log("fileCompletePath : "+this.foundMailsCS[0].filePath),this.foundMailsCS[0].filePath=="Contacts"?(this.showMailView=!1,this.showContactsView=!0,this.showCalendarView=!1,this.showTasksView=!1,this.viewOutlook11(this.foundMailsCS[0].deviceId,this.foundMailsCS[0].userName,this.foundMailsCS[0].backupId,this.foundMailsCS[0],"contacts")):this.foundMailsCS[0].filePath=="Tasks"||this.foundMailsCS[0].filePath=="To Do"?(this.showMailView=!1,this.showContactsView=!1,this.showCalendarView=!1,this.showTasksView=!0,this.viewOutlook11(this.foundMailsCS[0].deviceId,this.foundMailsCS[0].userName,this.foundMailsCS[0].backupId,this.foundMailsCS[0],"to_do")):this.foundMailsCS[0].filePath=="Calendar"?(this.showMailView=!1,this.showContactsView=!1,this.showCalendarView=!0,this.showTasksView=!1,this.viewOutlook11(this.foundMailsCS[0].deviceId,this.foundMailsCS[0].userName,this.foundMailsCS[0].backupId,this.foundMailsCS[0],"calendar")):(this.showMailView=!0,this.showContactsView=!1,this.showCalendarView=!1,this.showTasksView=!1,this.viewOutlook11(this.foundMailsCS[0].deviceId,this.foundMailsCS[0].userName,this.foundMailsCS[0].backupId,this.foundMailsCS[0],"mail"))),this.totalCountGS=e.body.data.totalNoofFiles,console.log("totalCount : "+JSON.stringify(e.body.data.totalNoofFiles)),this.noFilesFoundCS=!1,e.body.metadata&&(console.log("metadata : "+JSON.stringify(e.body.metadata)),this.previous=e.body.metadata.links.previous,this.next=e.body.metadata.links.next,this.last=e.body.metadata.links.last,this.first=e.body.metadata.links.first))}else this.noFilesFoundCS=!0;this.cdr.detectChanges()},e=>{switch(this.isLoading=!1,this.noFilesFoundCS=!0,console.error("Error from getFilesSearch: ",e),e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",e.message);break;case 404:console.error("Not Found: ",e.message),this.toastr.info("No Meta data Configuration found.","Info");break;case 500:console.error("Internal Server Error: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}searchForContentNavigate(e){if(this.foundMailsCS=[],this.selectedValueCS==""||this.selectedValueCS==null){this.toastr.error("Please select a User Id.");return}if(console.log("vvvv : "+this.selectedValueCS),this.contentSearchText==""&&this.productTypeContentSearch!="mail"){this.toastr.error("Please enter file name to search.");return}this.productTypeContentSearch=="SHAREPOINT"&&(this.selectedValueCS=this.selectedValueSiteCS,this.selectedDeviceNameCS=""),this.productTypeContentSearch=="mail"&&(this.contentSearchText=this.parseEmailString1(this.contentSearchMail)),this.isLoading=!0,console.log("productTypeContentSearch : "+this.productTypeContentSearch),console.log("selectedValueCS : "+this.selectedValueCS),console.log("selectedDeviceNameCS : "+this.selectedDeviceNameCS),console.log("contentSearchText : "+this.contentSearchText),this.apiService.getContentSearch(this.productTypeContentSearch,this.selectedValueCS,this.selectedDeviceNameCS,this.contentSearchText,this.selectedDeviceIdCS,"").subscribe(n=>{this.isLoading=!1;var i=JSON.stringify(n.body),r=JSON.parse(i);let p=[];if(n.body.data&&n.body.data.fileElementList&&n.body.data.fileElementList.length>0){console.log("res.body : "+JSON.stringify(n.body.data.fileElementList));let l=n.body;(this.productTypeContentSearch==="oneDrive"||this.productTypeContentSearch==="SHAREPOINT")&&n.body.data.fileElementList.forEach(v=>{let w={exists:v.present?v.present.toString():"",backup:"true",deviceUUID:v.deviceUUID?v.deviceUUID.toString():"",fileName:v.fileName?v.fileName.toString():"",filePath:v.fileCompletePath?v.fileCompletePath.toString():"",fileUser:v.fileUserOwner?btoa(v.fileUserOwner):"",folder:v.folder?"true":"false",fileRevisionID:v.backupId?v.backupId.toString():"",content:v.metaData?v.metaData.toString():"",modifiedTimestamp:v.lastModifiedTimestamp?parseInt(v.lastModifiedTimestamp,10):0,size:v.size?parseInt(v.size,10):0,deviceType:"",deviceOs:"",deviceId:"",blocked:"",deviceName:"",deviceNameNew:"",deviceNameEnc:""};this.apiService.getDeviceInfo(w.deviceUUID).subscribe(M=>{let E=M.body.BSDeviceInfoElement,T=E.osType.substring(0,3).toLowerCase(),S="Windows",I="Windows";T==="win"?(S="Windows",I="Windows"):T==="mac"?(S="Mac",I="Mac"):T==="one"?(S="ONEDRIVE",I="ONEDRIVE"):T==="out"?(S="OUTLOOK",I="OUTLOOK"):T==="sha"&&(S="SHAREPOINT",I="SHAREPOINT"),w.deviceType=S,w.deviceOs=I,w.deviceId=E.deviceId?E.deviceId.toString():"",w.blocked="active",w.deviceName=E.deviceName?E.deviceName.toString():"",w.deviceNameNew=E.deviceName?E.deviceName.replace(/ /g,"_PB_"):"",w.deviceNameEnc=E.deviceName?btoa(E.deviceName):"",p.push(w),this.foundFilesCS=p,this.noFilesFoundCS=!1,console.log("Files:",JSON.stringify(p))},M=>{switch(console.error("Error from getDeviceInfo:",M),M.status){case 400:console.error("Bad Request:",M.message);break;case 401:this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden:",M.message);break;case 404:console.error("Not Found:",M.message);break;case 500:case 503:console.error("Internal Server Error:",M.message);break;default:console.error("Unknown Error:",M.message);break}})}),this.productTypeContentSearch==="mail"&&(n.body.data.fileElementList.forEach(v=>{let w={backupId:v.fileRevisionId,userName:v.fileUserOwner,deviceUUID:v.deviceUUID,subject:v.subject?v.subject:"<empty>",contactName:v.fileName?v.fileName:"-",taskSubject:v.subject?v.subject:"",present:v.exists.toString(),showIcon:v.from?v.from.charAt(0):"E",alphaColor:this.colorGen(),from:v.from?v.from:"<empty>",to:v.toRecipients?v.toRecipients:"",cc:v.ccRecipients?v.ccRecipients:"",bcc:v.bccRecipients?v.bccRecipients:"",sentDate:v.sentDate?new Date(v.sentDate).toLocaleDateString("en-GB",{day:"2-digit",month:"short",year:"numeric"}):"",displayContent:v.metaData?v.metaData:"",bodyContent:v.bodyContent?v.bodyContent:"",bodyContent1:v.bodyContent?v.bodyContent.length>100?v.bodyContent.substring(0,100)+"...":v.bodyContent:"",hasAttachments:v.hasAttachments,attachments:v.attachments?v.attachments:"",name:v.subject?v.subject:"<empty>",type:"File",icon:"file",folder:!1,name1:v.subject?v.subject:"<empty>",filePath:v.fileCompletePath,deviceId:v.deviceId};this.foundMailsCS.push(w)}),this.foundMailsCS.length>0&&(this.foundMailsCS[0].filePath=="Contacts"?(this.showMailView=!1,this.showContactsView=!0,this.showCalendarView=!1,this.showTasksView=!1,this.viewOutlook11(this.foundMailsCS[0].deviceId,this.foundMailsCS[0].userName,this.foundMailsCS[0].backupId,this.foundMailsCS[0],"contacts")):this.foundMailsCS[0].filePath=="Tasks"||this.foundMailsCS[0].filePath=="To Do"?(this.showMailView=!1,this.showContactsView=!1,this.showCalendarView=!1,this.showTasksView=!0,this.viewOutlook11(this.foundMailsCS[0].deviceId,this.foundMailsCS[0].userName,this.foundMailsCS[0].backupId,this.foundMailsCS[0],"to_do")):this.foundMailsCS[0].filePath=="Calendar"?(this.showMailView=!1,this.showContactsView=!1,this.showCalendarView=!0,this.showTasksView=!1,this.viewOutlook11(this.foundMailsCS[0].deviceId,this.foundMailsCS[0].userName,this.foundMailsCS[0].backupId,this.foundMailsCS[0],"calendar")):(this.showMailView=!0,this.showContactsView=!1,this.showCalendarView=!1,this.showTasksView=!1,this.viewOutlook11(this.foundMailsCS[0].deviceId,this.foundMailsCS[0].userName,this.foundMailsCS[0].backupId,this.foundMailsCS[0],"mail"))),this.totalCountGS=n.body.data.totalNoofFiles,console.log("totalCount : "+JSON.stringify(n.body.data.totalNoofFiles)),this.noFilesFoundCS=!1)}else this.noFilesFoundCS=!0;this.cdr.detectChanges()},n=>{switch(this.isLoading=!1,console.error("Error from getFilesSearch: ",n),n.status){case 400:console.error("Bad Request: ",n.message);break;case 401:console.error("Unauthorized: ",n.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",n.message);break;case 404:console.error("Not Found: ",n.message),this.toastr.info("No Meta data Configuration found.","Info");break;case 500:console.error("Internal Server Error: ",n.message);break;case 503:console.error("Internal Server Error: ",n.message);break;default:console.error("Unknown Error: ",n.message);break}})}onSearchSiteContentSearch(e){let n=e.search||"";console.log("searchTerm : "+n),this.deviceUsersListCS=[{label:"",options:[]}],this.selectedValueSiteCS=null,this.apiService.searchSite(e.search).subscribe(i=>{if(i.body&&i.body.stringElementList){let r=i.body.stringElementList.map(p=>({value:p.name,label:p.name}));this.siteListCS=[{label:"",options:r}],this.cdr.detectChanges()}else this.siteListCS=[]},i=>{})}updateSiteContentSearch(e){console.log("value : "+e.value);let n=e.value;this.apiService.getUserDevice(n).subscribe(i=>{if(i.body?.data?.devices){this.deviceTypeCS=this.productTypeContentSearch;let r="";this.deviceTypeCS=="oneDrive"?r="ONEDRIVE":this.deviceType=="backup"?r="BACKUP":r=this.deviceTypeCS,this.devicesCS=i.body.data.devices.filter(p=>p.blocked===!1&&p.deviceType==r).map(p=>({deviceName:p.deviceName,deviceUUID:p.deviceUUID,deviceId:p.deviceId,osType:p.osType,decoupled:p.decoupled})),this.devicesCS.length>0&&(this.selectedDeviceUUIDCS=this.devicesCS[0].deviceUUID,this.selectedDeviceNameCS=this.devicesCS[0].deviceName)}else this.devicesCS=[{deviceName:"No Asset found",deviceUUID:"",deviceId:"",osType:"",decoupled:""}],this.devicesCS[0].deviceUUID!=this.currentDeviceUUIDCS?this.deviceUUIDCheckCS=!0:this.deviceUUIDCheckCS=!1},i=>{console.error("Error during search: ",i)})}parseEmailString1(e){let i=e.split(/\s+/),r=[],p=[],l=[],v=[],w=[],M=[],E=[];for(let S=0;S<i.length;S++){let I=i[S];if(I.startsWith("from:"))r.push(I.replace("from:","").trim());else if(I.startsWith("to:"))p.push(I.replace("to:","").trim());else if(I.startsWith("cc:"))l.push(I.replace("cc:","").trim());else if(I.startsWith("bcc:"))v.push(I.replace("bcc:","").trim());else if(I.startsWith("subject:")){let z=I.replace("subject:","").trim();for(;!(z.startsWith("(")&&z.endsWith(")"))&&S+1<i.length&&!i[S+1].startsWith("body:")&&!i[S+1].startsWith("subject:");)S++,z+=" "+i[S];w.push(z.replace(/^\(|\)$/g,""))}else if(I.startsWith("body:")){let z=I.replace("body:","").trim();for(;!(z.startsWith("(")&&z.endsWith(")"))&&S+1<i.length&&!i[S+1].startsWith("body:")&&!i[S+1].startsWith("subject:");)S++,z+=" "+i[S];M.push(z.replace(/^\(|\)$/g,""))}else E.push(I)}return console.log("fromArray : "+r.join(",")),console.log("toArray : "+p.join(",")),console.log("ccArray : "+l.join(",")),console.log("bccArray : "+v.join(",")),console.log("subjectArray : "+w.join(",")),console.log("bodyArray : "+M.join(",")),console.log("keywordsArray : "+E.join(",")),[`from:${r.join(",")}`,`to:${p.join(",")}`,`bcc:${v.join(",")}`,`cc:${l.join(",")}`,`subject:${w.length>0?`(${w.join(",")})`:""}`,"recFromDate:","recToDate:","hasAttachments:false",`keywords:${E.join(",")}`].join("#*#")}parseEmailString(e){let n="",i="",r=new Set,p="",l="",v="",w=/from:([^ ]+)/gi,M=/to:([^ ]+)/gi,E=/cc:([^ ]+)/gi,T=/bcc:([^ ]+)/gi,S=/subject\(([^)]+)\)/gi,I=e.match(w),z=e.match(M),ne=e.match(E),It=e.match(T),At=e.match(S);if(I&&(n=I[0].replace("from:","").trim()),z&&(i=z[0].replace("to:","").trim()),ne)for(let da of ne)da.replace("cc:","").trim().split(",").forEach(pa=>r.add(pa.trim()));return It&&(p=It[0].replace("bcc:","").trim()),At&&(l=At[0].replace("subject(","").replace(")","").trim()),[`from:${n}`,`to:${i}`,`bcc:${p}`,`cc:${Array.from(r).join(",")}`,`subject:${l?`(${l})`:""}`,"recFromDate:","recToDate:","hasAttachments:false",`keywords:${v}`].join("#*#")}colorGen(){return"#"+Math.floor(Math.random()*16777215).toString(16).padStart(6,"0")}isSelected(e){return this.selectedUsers.has(e)}searchForContentMail(){}viewOutlook11(e,n,i,r,p){console.log("from viewOutlook11 : "+p),this.isLoading=!0,n==atob(this.sharedService.getDataByKey("userName"))&&(this.showMailPreview=!0),this.selectedUsers=new Set,this.apiService.viewMail(e,i).subscribe(l=>{if(this.isLoading=!1,l.body){this.showNotAvailable=!1;var v=JSON.stringify(l.body.mailElement),w=JSON.parse(v);if(console.log("mailElement : "+JSON.stringify(l.body.mailElement)),console.log("subject : "+l.body.mailElement.subject),console.log("from : "+l.body.mailElement.from),console.log("ccRecipients : "+l.body.mailElement.ccRecipients),console.log("toRecipients : "+l.body.mailElement.toRecipients),p=="mail"){this.currentMailSubject=l.body.mailElement.subject,this.currentFileName=l.body.mailElement.subject,this.currentMailFrom=l.body.mailElement.from,this.currentMailSentDate=l.body.mailElement.sentDate,this.currentMailTo=l.body.mailElement.toRecipients,this.currentMailCc=l.body.mailElement.ccRecipients,this.currentMailBcc=l.body.mailElement.bccRecipients,this.currentMailAttachments=l.body.mailElement.attachments,this.currentMailBody=l.body.mailElement.bodyContent,this.currentMailBody=this.replaceAnchorTags(this.currentMailBody);let M=this.iframe.nativeElement,E=M.contentDocument||M.contentWindow?.document;E&&(E.open(),E.write(this.currentMailBody),E.close()),console.log("body : "+this.currentMailBody)}if(p=="contacts"){this.showMailView=!1,this.showContactsView=!0,this.showCalendarView=!1,this.showTasksView=!1,console.log("its a contact..."),this.resetContactFields(),this.contactName=l.body.mailElement.fileName,this.contactTitle=l.body.mailElement.contactTitle,this.contactFirstName=l.body.mailElement.contactFirstName,this.contactMiddleName=l.body.mailElement.contactMiddleName,this.contactLastName=l.body.mailElement.contactLastName,this.contactSuffix=l.body.mailElement.contactSuffix,this.contactEmail=l.body.mailElement.contactEmail,this.contactMobile=l.body.mailElement.contactMobile,this.contactAddrStreet=l.body.mailElement.contactAddrStreet,this.contactAddrCity=l.body.mailElement.contactAddrCity,this.contactAddrState=l.body.mailElement.contactAddrState,this.contactAddrCountry=l.body.mailElement.contactAddrCountry,this.contactAddrPostalCode=l.body.mailElement.contactAddrPostalCode,this.contactBusiAddrStreet=l.body.mailElement.contactBusiAddrStreet,this.contactBusiAddrCity=l.body.mailElement.contactBusiAddrCity,this.contactBusiAddrState=l.body.mailElement.contactBusiAddrState,this.contactBusiAddrCountry=l.body.mailElement.contactBusiAddrCountry,this.contactBusiAddrPostalCode=l.body.mailElement.contactBusiAddrPostalCode,this.contactOfficeLocation=l.body.mailElement.contactOfficeLocation&&l.body.mailElement.contactOfficeLocation!==""?l.body.mailElement.contactOfficeLocation:"-",this.contactCompanyName=l.body.mailElement.contactCompanyName&&l.body.mailElement.contactCompanyName!==""?l.body.mailElement.contactCompanyName:"-",this.contactJobTitle=l.body.mailElement.contactJobTitle&&l.body.mailElement.contactJobTitle!==""?l.body.mailElement.contactJobTitle:"-",this.contactDepartment=l.body.mailElement.contactDepartment&&l.body.mailElement.contactDepartment!==""?l.body.mailElement.contactDepartment:"-",this.contactBirthday=l.body.mailElement.contactBirthday&&l.body.mailElement.contactBirthday!==""?l.body.mailElement.contactBirthday:"-",console.log("birrr : "+this.contactBirthday),this.contactHomePhones=l.body.mailElement.contactHomePhones&&l.body.mailElement.contactHomePhones!==""?l.body.mailElement.contactHomePhones:"-",this.contactBusinessPhones=l.body.mailElement.contactBusinessPhones&&l.body.mailElement.contactBusinessPhones!==""?l.body.mailElement.contactBusinessPhones:"-",this.contactWebSite=l.body.mailElement.contactWebSite&&l.body.mailElement.contactWebSite!==""?l.body.mailElement.contactWebSite:"-";let M=[l.body.mailElement.contactBusiAddrStreet,l.body.mailElement.contactBusiAddrCity,l.body.mailElement.contactBusiAddrState,l.body.mailElement.contactBusiAddrCountry,l.body.mailElement.contactBusiAddrPostalCode];this.combinedBusinessAddress=M.filter(S=>S&&S.trim()!=="").join(", "),this.combinedBusinessAddress=this.combinedBusinessAddress||"-",this.truncatedBusinessAddress=this.combinedBusinessAddress.length>20?this.combinedBusinessAddress.substring(0,20)+"(...)":this.combinedBusinessAddress;let E=[l.body.mailElement.contactAddrStreet,l.body.mailElement.contactAddrCity,l.body.mailElement.contactAddrState,l.body.mailElement.contactAddrCountry,l.body.mailElement.contactAddrPostalCode];this.combinedHomeAddress=E.filter(S=>S&&S.trim()!=="").join(", "),this.combinedHomeAddress=this.combinedHomeAddress||"-",this.truncatedHomeAddress=this.combinedHomeAddress.length>20?this.combinedHomeAddress.substring(0,20)+"(...)":this.combinedHomeAddress;let T=[this.contactTitle,this.contactFirstName,this.contactMiddleName,this.contactLastName,this.contactSuffix].filter(S=>S&&S.trim()!=="");this.fullCombinedName=T.join(" "),this.truncatedCombinedName=this.fullCombinedName.length>20?this.fullCombinedName.substring(0,20)+"...":this.fullCombinedName}this.cdr.detectChanges()}else this.showNotAvailable=!0,this.showMailView=!1,this.showContactsView=!1,this.showCalendarView=!1,this.showTasksView=!1},l=>{switch(this.isLoading=!1,console.error("Error from viewOutlook11: ",l),l.status){case 400:console.error("Bad Request: ",l.message);break;case 401:console.error("Unauthorized: ",l.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",l.message);break;case 404:console.error("Not Found: ",l.message);break;case 500:console.error("Internal Server Error: ",l.message);break;case 503:console.error("Internal Server Error: ",l.message);break;default:console.error("Unknown Error: ",l.message);break}})}replaceAnchorTags(e){return e.replace(/<a(.*?)>/g,'<a$1 target="_blank">')}enableMultiSelect(){this.isMultiSelectEnabled=!this.isMultiSelectEnabled}addToCartFinal(){let e=this.foundMailsCS.filter(n=>n.isChecked);if(e.length>0){let n=e.filter(i=>!this.isBackupIdExists(i.backupId));if(n.length>0){this.addedElementsUpdated.push(...n);let i=n.map(r=>r.subject);this.addedElements=i,this.addedElementsCount=this.addedElementsUpdated.length}else this.toastr.error("Item(s) already added.","Error");this.clearSelection(),this.isSelectAll=!1,console.log("this.addedElementsUpdated : "+JSON.stringify(this.addedElementsUpdated)),this.updateAddToCartButtonVisibility()}}clearSelection(){this.isSelectAll=!1,this.foundMailsCS.forEach(e=>e.isChecked=!1),this.cdr.detectChanges()}isBackupIdExists(e){return this.addedElementsUpdated.some(n=>n.backupId===e)}toggleSelectAll(){this.foundMailsCS.forEach(e=>{e.disabled||(e.isChecked=this.isSelectAll)}),this.updateAddToCartButtonVisibility()}updateAddToCartButtonVisibility(){return this.foundMailsCS.some(n=>n.isChecked)}itemSelect(){let e=this.foundMailsCS.length,n=this.foundMailsCS.filter(i=>i.isChecked).length;this.isSelectAll=n===e,this.updateAddToCartButtonVisibility()}removeAll(){this.foundMailsCS.forEach(e=>e.isChecked=!1),this.addedElements=[],this.addedElementsUpdated=[],this.addedElementsCount=0,this.isSelectAll=!1,this.isMultiSelectEnabled=!this.isMultiSelectEnabled}removeItem(e,n,i,r){this.addedElementsUpdated=this.addedElementsUpdated.filter(p=>p.backupId!==i),this.addedElementsCount=this.addedElementsUpdated.length,this.cdr.detectChanges()}downloadMail(e,n){this.apiService.downloadMail(e,n).subscribe(i=>{console.log("came inside success block+++++"),this.cdr.detectChanges()},i=>{if(console.error("Error from downloadMail++++++: ",i.status),i.status=="200"){let r="https://",p=this.configService.baseFolder,l="/BluKryptBuilder/cloud/",v=this.configService.cloudName,w=this.authService.getToken(),M=this.sharedService.getDataByKey("userName"),E=`${r}${p}${l}${v}/portal/download/files/?token=${w}&loginUserName=${M}&isSync=false&backupID=${n}&userName=${this.base64Encode(e)}&checkStatus=false`;window.open(E,"_self")}switch(i.status){case 400:console.error("Bad Request: ",i.message);break;case 401:console.error("Unauthorized: ",i.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",i.message);break;case 404:console.error("Not Found: ",i.message);break;case 412:console.error("Error code 412: ",i.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 500:case 503:console.error("Internal Server Error: ",i.message);break;default:console.error("Unknown Error: ",i.message);break}})}initiateRestoreForOutlookSearchFileModalGS(e,n,i,r){}exportFolderAsPstModalG(){this.displayPststyleG="block",this.exportCompleteMailboxG=!1,this.pstFileNameG=atob(this.sharedService.getDataByKey("userName"))}closePstPopupG(){this.displayPststyleG="none"}getPstBatchDetailElements(){return this.addedElementsUpdated.map(e=>({backupId:e.backupId,deviceUUID:e.deviceUUID}))}exportSelectedAsPstG(){if(this.displayPststyleG="none",this.pstFileNameG==""){this.toastr.error("Please specify a PST name.","Fail!!!");return}this.apiService.exportSelectedAsPstG(this.getPstBatchDetailElements()).subscribe(e=>{this.toastr.success("Restore has been queued.","Info"),this.displayDownloadPststyleG="block",console.log("batchId : "+e.headers.get("batchId")),this.batchIdG=e.headers.get("batchId")||"",this.apiService.exportFolderAsPstGlobal(this.foundMailsCS[0].deviceUUID,this.pstFileNameG,"","",this.foundMailsCS[0].user,!1,this.batchIdG).subscribe(n=>{console.log("res from initiateRestore : "+JSON.stringify(n)),console.log("res from initiateRestore : "+JSON.stringify(n.body)),this.toastr.success("Restore has been queued.","Info"),this.displayDownloadPststyleG="block",this.currentDeviceUUID=this.foundMailsCS[0].deviceUUID,this.intervalIdG=setInterval(()=>{this.getDownloadPstEventsProgressG()},5e3),this.cdr.detectChanges()},n=>{switch(this.isLoading=!1,console.error("Error from initiateRestore: ",n),console.error("Error status: ",n.status),n.status){case 400:console.error("Bad Request: ",n.message);break;case 401:console.error("Unauthorized: ",n.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",n.message);break;case 404:console.error("Not Found: ",n.message);break;case 412:console.error("Error code 412: ",n.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 417:this.displayDownloadPststyleG="block",this.toastr.info("Download event already exists.","Info"),this.intervalIdG=setInterval(()=>{this.getDownloadPstEventsProgressG()},5e3),console.error("Not Found: ",n.message);break;case 500:console.error("Internal Server Error: ",n.message);break;case 503:console.error("Internal Server Error: ",n.message);break;default:console.error("Unknown Error: ",n.message);break}}),this.cdr.detectChanges()},e=>{switch(console.error("Error from initiateRestore: ",e),console.error("Error status: ",e.status),e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",e.message);break;case 404:console.error("Not Found: ",e.message);break;case 412:console.error("Error code 412: ",e.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 417:this.displayDownloadPststyleG="block",this.toastr.info("Download event already exists.","Info"),this.intervalIdG=setInterval(()=>{this.getDownloadPstEventsProgressG()},5e3),console.error("Not Found: ",e.message);break;case 500:console.error("Internal Server Error: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}getDownloadPstEventsProgressG(){this.apiService.getRestoreEventsProgress(this.currentDeviceUUID,this.batchIdG).subscribe(e=>{console.log("res from getDownloadPstEventsProgress : "+JSON.stringify(e.body)),e&&e.body&&(e.status=="200"&&e.body.restoreProgressEventsElement.batchId&&(this.batchIdG=e.body.restoreProgressEventsElement.batchId,this.progressG=e.body.restoreProgressEventsElement),e.status=="202"&&(this.displayDownloadPststyleG="none",this.toastr.success("Restore completed successfully.","Success"),this.intervalIdG&&clearInterval(this.intervalIdG),setTimeout(()=>{},3e3)))},e=>{switch(console.error("Error from getDownloadPstEventsProgress: ",e),console.error("Error status: ",e.status),e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",e.message);break;case 404:console.error("Not Found: ",e.message);break;case 412:console.error("Error code 412: ",e.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 500:console.error("Internal Server Error: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}closeDownloadPstPopupG(){this.displayDownloadPstRunBckConfirmstyleG="block"}cancelDownloadAsPstG(){this.displayDownloadPstConfirmstyleG="block"}closeDownloadPstConfirmPopupG(){this.displayDownloadPstConfirmstyleG="none"}closeDownloadPstRunBkpPopupG(){this.displayDownloadPstRunBckConfirmstyleG="none"}cancelDownloadAsPstRunBkpG(){this.displayDownloadPststyleG="none",this.displayDownloadPstRunBckConfirmstyleG="none",this.intervalIdG&&clearInterval(this.intervalIdG),this.cdr.detectChanges()}cancelDownloadAsPstConfirmG(){this.displayDownloadPststyleG="none",this.displayDownloadPstConfirmstyleG="none",this.apiService.deleteRestoreEvent(this.currentDeviceUUID,this.batchIdG).subscribe(e=>{console.log("res from cancelDownloadAsPst : "+JSON.stringify(e)),console.log("res from cancelDownloadAsPst : "+JSON.stringify(e.body)),this.toastr.success("Queued Restore has been removed.","Info"),this.intervalIdG&&clearInterval(this.intervalIdG)},e=>{switch(console.error("Error from cancelDownloadAsPst: ",e),console.error("Error status: ",e.status),e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",e.message);break;case 404:console.error("Not Found: ",e.message);break;case 412:console.error("Error code 412: ",e.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 500:console.error("Internal Server Error: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}exportCompleteMailboxAsPstG(){this.displayPststyleG="block",this.exportCompleteMailboxG=!0,this.pstFileNameG=atob(this.sharedService.getDataByKey("userName"))}exportCompleteMailboxAsPstTriggerG(){if(console.log("exportCompleteMailboxAsPst!!!!!"),this.displayPststyleG="none",this.pstFileNameG==""){this.toastr.error("Please specify a PST name.","Fail!!!");return}console.log("currentDeviceUUID : "+this.currentDeviceUUID),console.log("pstFileName : "+this.pstFileNameG),console.log("currentMailBackupId : "+this.currentMailBackupId),console.log("currentMailUser : "+this.foundMailsCS[0].user),this.items.forEach((e,n)=>{this.backupIdsListG.push(e.backupId)}),this.currentDeviceUUID=this.foundMailsCS[0].deviceUUID,console.log("backupIdsList : "+this.backupIdsListG),this.isLoading=!0,this.apiService.getContentSearch(this.productTypeContentSearch,this.foundMailsCS[0].userName,this.foundMailsCS[0].devicename,this.contentSearchText,"","downloadAsPst").subscribe(e=>{this.isLoading=!1;var n=JSON.stringify(e.body),i=JSON.parse(n);let r=[];this.batchIdG=e.body.data.batchId,console.log("batchIdGG : "+this.batchIdG),this.cdr.detectChanges(),this.apiService.exportFolderAsPstGlobal(this.foundMailsCS[0].deviceUUID,this.pstFileNameG,"","",this.foundMailsCS[0].user,!1,this.batchIdG).subscribe(p=>{console.log("res from initiateRestore : "+JSON.stringify(p)),console.log("res from initiateRestore : "+JSON.stringify(p.body)),this.toastr.success("Restore has been queued.","Info"),this.displayDownloadPststyleG="block",this.intervalIdG=setInterval(()=>{this.getDownloadPstEventsProgressG()},5e3),this.cdr.detectChanges()},p=>{switch(this.isLoading=!1,console.error("Error from initiateRestore: ",p),console.error("Error status: ",p.status),p.status){case 400:console.error("Bad Request: ",p.message);break;case 401:console.error("Unauthorized: ",p.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",p.message);break;case 404:console.error("Not Found: ",p.message);break;case 412:console.error("Error code 412: ",p.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 417:this.displayDownloadPststyleG="block",this.toastr.info("Download event already exists.","Info"),this.intervalIdG=setInterval(()=>{this.getDownloadPstEventsProgressG()},5e3),console.error("Not Found: ",p.message);break;case 500:console.error("Internal Server Error: ",p.message);break;case 503:console.error("Internal Server Error: ",p.message);break;default:console.error("Unknown Error: ",p.message);break}})},e=>{switch(this.isLoading=!1,console.error("Error from getFilesSearch: ",e),e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",e.message);break;case 404:console.error("Not Found: ",e.message),this.toastr.info("No Meta data Configuration found.","Info");break;case 500:console.error("Internal Server Error: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}onRestoreClickR(e,n,i,r){this.displayRestoreStyleR="block";let p=[{label:"",options:[{value:this.currentMailUser,label:this.currentMailUser}]}];this.deviceUsersListR=p,this.selectedValueR=this.currentMailUser,this.value18R=this.currentMailUser,this.currentDeviceUUIDCS=e,this.currentFileBackupIdR=n,this.currentFilePathR=i,this.inplaceRestoreR=!1,this.dateBeforeR=!1,this.restoreDeletedFilesByRestoreR=!1,this.getRestoreEventsProgressR(),this.intervalIdR=setInterval(()=>{this.getRestoreEventsProgressR()},5e3),this.cdr.detectChanges()}closeRestorePopupR(){this.displayRestoreStyleR="none",this.deviceUsersList=[{label:"",options:[]}],this.selectedValue=null,this.intervalIdR&&clearInterval(this.intervalIdR),this.cdr.detectChanges()}onSearchR(e){let n=e.search||"";console.log("searchTerm : "+n),this.deviceUsersListR=[{label:"",options:[]}],this.selectedValue=null,this.apiService.getUserWithDevice(e.search).subscribe(i=>{if(i.body&&i.body.searchUserElementList){let r=i.body.searchUserElementList.map(p=>({value:p.userName,label:p.userName}));this.deviceUsersListR=[{label:"",options:r}],this.cdr.detectChanges()}else this.deviceUsersListR=[]},i=>{})}updateR(e){console.log("value : "+e.value);let n=e.value;this.apiService.getUserDevice(n).subscribe(i=>{if(i.body?.data?.devices){let r="OUTLOOK";this.devicesR=i.body.data.devices.filter(p=>p.blocked===!1&&p.osType==r).map(p=>({deviceName:p.deviceName,deviceUUID:p.deviceUUID,deviceId:p.deviceId,osType:p.osType,decoupled:p.decoupled})),console.log("this.devicesR[0] : "+JSON.stringify(this.devicesR[0])),this.selectedDeviceUUIDR=this.devicesR[0].deviceUUID}else this.devicesR=[{deviceName:"No Asset found",deviceUUID:"",deviceId:"",osType:"",decoupled:""}],this.devicesR[0].deviceUUID!=this.currentDeviceUUIDCS?this.deviceUUIDCheck=!0:this.deviceUUIDCheck=!1},i=>{console.error("Error during search: ",i)})}updateNowR(e){this.apiService.getUserDevice(e).subscribe(n=>{if(console.log("res : "+JSON.stringify(n)),n.body?.data?.devices){let i="OUTLOOK";this.devicesR=n.body.data.devices.filter(r=>r.blocked===!1&&r.osType==i).map(r=>({deviceName:r.deviceName,deviceUUID:r.deviceUUID,deviceId:r.deviceId,osType:r.osType,decoupled:r.decoupled})),this.selectedDeviceUUIDR=this.devicesR[0].deviceUUID}else this.devicesR=[{deviceName:"No Asset found",deviceUUID:"",deviceId:"",osType:"",decoupled:""}],this.devicesR[0].deviceUUID!=this.currentDeviceUUIDCS?this.deviceUUIDCheck=!0:this.deviceUUIDCheck=!1},n=>{console.error("Error during search: ",n)})}toggleDateBeforeR(){this.dateBeforeR||(this.myTimeBeforeR=new Date,this.myDateBeforeR=new Date)}browseR(e){this.selectedDeviceUUID=e,this.displayBrowseStyleR="block",this.loadingR=!0,this.browseItemsR=[];let n=this.apiService.browseExchange(e,this.browsePathR),i=this.deviceType;n.subscribe(r=>{this.loadingR=!1,r.body?.stringList?this.browseItemsR=r.body.stringList:this.browseItemsR=["No path available"],this.cdr.detectChanges()},r=>{switch(this.loadingR=!1,console.error("Error from browse API:",r),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 500:case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}closeBrowsePopupR(){this.displayBrowseStyleR="none"}usePathR(){this.newFolderR="",this.displayBrowseStyleR="none",this.destinationPathR=this.browsePathR+"/"+this.selectedBrowseItemR}addNewFolderR(e){e&&e.trim()!==""?(this.browseItemsR.push(e),this.selectedBrowseItemR=e,this.newFolderR="",this.cdr.detectChanges(),console.log("New folder added: ",e),console.log("Selected folder: ",this.selectedBrowseItemR)):this.toastr.info("Folder name cannot be empty.")}onSingleClickR(e){this.selectedBrowseItemR=e,console.log("Selected item:",this.selectedBrowseItemR)}onDoubleClickR(e){this.addToCombinedValueR(e)}addToCombinedValueR(e){this.browsePathR?this.browsePathR+=`/${e}`:this.browsePathR=e,console.log("Combined value:",this.browsePathR),this.browseR(this.selectedDeviceUUID)}backBrowseR(){let e=this.browsePathR.split("/");e.length>1?(e.pop(),this.browsePathR=e.join("/")):this.browsePathR="",console.log("Updated browsePath: ",this.browsePathR),this.browseR(this.selectedDeviceUUID)}closeRestorePopupForRestoreR(){this.displayRestoreSizeStyleR="none",this.intervalIdR&&clearInterval(this.intervalIdR)}getRestoreEventsProgressR(){this.apiService.getRestoreEventsProgress(this.currentDeviceUUIDCS,this.batchIdR).subscribe(e=>{console.log("res from getRestoreEventsProgress : "+JSON.stringify(e)),console.log("res from getRestoreEventsProgress : "+JSON.stringify(e.body)),e&&e.body?(e.status=="200"&&(this.showRestoreSettingsR=!1,e.body.restoreProgressEventsElement.batchId&&(this.batchIdR=e.body.restoreProgressEventsElement.batchId,this.progressR=e.body.restoreProgressEventsElement)),e.status=="202"&&(this.showRestoreSettingsR=!0,this.toastr.success("Restore completed successfully.","Success"),this.intervalIdR&&clearInterval(this.intervalIdR),setTimeout(()=>{location.reload()},3e3))):this.showRestoreSettingsR=!0},e=>{switch(console.error("Error from getRestoreEventsProgress: ",e),console.error("Error status: ",e.status),e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",e.message);break;case 404:console.error("Not Found: ",e.message);break;case 412:console.error("Error code 412: ",e.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 500:console.error("Internal Server Error: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}cancelRunningRestoreR(){this.displayDeleteRestoreStyleR="block"}closeDeleteRestorePopupR(){this.displayDeleteRestoreStyleR="none"}deleteRestoreEventR(){this.displayDeleteRestoreStyleR="none",this.apiService.deleteRestoreEvent(this.currentDeviceUUIDCS,this.batchIdR).subscribe(e=>{console.log("res from deleteRestoreEvent : "+JSON.stringify(e)),console.log("res from deleteRestoreEvent : "+JSON.stringify(e.body)),this.showRestoreSettingsR=!0,this.toastr.success("Queued Restore has been removed.","Info"),this.intervalIdR&&clearInterval(this.intervalIdR)},e=>{switch(console.error("Error from deleteRestoreEvent: ",e),console.error("Error status: ",e.status),e.status){case 400:console.error("Bad Request: ",e.message);break;case 401:console.error("Unauthorized: ",e.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",e.message);break;case 404:console.error("Not Found: ",e.message);break;case 412:console.error("Error code 412: ",e.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 500:console.error("Internal Server Error: ",e.message);break;case 503:console.error("Internal Server Error: ",e.message);break;default:console.error("Unknown Error: ",e.message);break}})}initiateRestoreR(){let n=new Date(this.myDateBeforeR).getTime();if(this.restoreDataBeforeR=n.toString(),this.dateBeforeR){let r=new Date(this.myDateBefore);r.setHours(this.myTimeBeforeR.getHours()),r.setMinutes(this.myTimeBeforeR.getMinutes()),r.setSeconds(this.myTimeBeforeR.getSeconds());let p=r.getTime();this.restoreDataBeforeR=p.toString(),console.log("Combined Timestamp in Milliseconds:",this.restoreDataBeforeR)}let i=!1;if(this.selectedDeviceUUID==""){this.toastr.error("Please select a Destination Device.","Fail!!!");return}if(this.inplaceRestoreR&&this.currentDeviceUUID!=this.selectedDeviceUUID){this.toastr.error("Inplace restore cannot be enabled for other destination assets.","Fail!!!");return}if(this.destinationPathR==""){this.toastr.error("Please select a Destination Path.","Fail!!!");return}console.log("currentDeviceUUID : "+this.currentDeviceUUIDCS),console.log("selectedDeviceUUID : "+this.selectedDeviceUUID),console.log("destinationPath : "+this.destinationPathR),console.log("currentFilePath : "+this.currentFilePathR),console.log("currentFileBackupId : "+this.currentFileBackupIdR),console.log("isFolder : "+i),console.log("inplaceRestore : "+this.inplaceRestoreR),console.log("restoreDataBefore : "+this.restoreDataBeforeR),console.log("restoreDeletedFilesByRestore : "+this.restoreDeletedFilesByRestoreR),this.apiService.initiateRestore(this.currentDeviceUUIDCS,this.selectedDeviceUUID,this.destinationPathR,this.currentFilePathR,this.currentFileBackupIdR,i,this.inplaceRestoreR,this.restoreDataBeforeR,this.restoreDeletedFilesByRestoreR,this.restoreAllVersionsR,this.suspendBackupR,this.restoreLinksR).subscribe(r=>{console.log("res from initiateRestore : "+JSON.stringify(r)),console.log("res from initiateRestore : "+JSON.stringify(r.body)),this.showRestoreSettingsR=!1,this.toastr.success("Restore has been queued.","Info")},r=>{switch(console.error("Error from initiateRestore: ",r),console.error("Error status: ",r.status),r.status){case 400:console.error("Bad Request: ",r.message);break;case 401:console.error("Unauthorized: ",r.message),this.toastr.info("Token expired, navigating to logout page.","Info"),setTimeout(()=>{this.router.navigate(["/logout"])},3e3);break;case 403:console.error("Forbidden: ",r.message);break;case 404:console.error("Not Found: ",r.message);break;case 412:console.error("Error code 412: ",r.message),this.toastr.error("Cannot delete filter, already mapped to policy.");break;case 500:console.error("Internal Server Error: ",r.message);break;case 503:console.error("Internal Server Error: ",r.message);break;default:console.error("Unknown Error: ",r.message);break}})}resetContactFields(){this.contactEmail="-",this.contactMobile="-",this.contactAddrStreet="-",this.contactAddrCity="-",this.contactAddrState="-",this.contactAddrCountry="-",this.contactAddrPostalCode="-",this.contactBusiAddrStreet="-",this.contactBusiAddrCity="-",this.contactBusiAddrState="-",this.contactBusiAddrCountry="-",this.contactBusiAddrPostalCode="-",this.contactOfficeLocation="-",this.contactCompanyName="-",this.contactJobTitle="-",this.contactDepartment="-",this.contactBirthday="-",this.contactHomePhones="-",this.contactBusinessPhones="-",this.contactWebSite="-"}resetTasksFields(){this.taskSubject="-",this.taskStartDate="-",this.taskDueDate="-",this.taskReminderTime="-"}static{this.\u0275fac=function(n){return new(n||t)(y(me),y(de),y(lt),y(Ro),y(gi),y(he),y(we),y(Je),y(bi),y(Te))}}static{this.\u0275cmp=H({type:t,selectors:[["app-search-overlay"]],viewQuery:function(n,i){if(n&1&&(L(Ca,5),L(wa,5),L(Sa,5),L(xa,5),L(Ma,5),L(Ea,5),L(Oa,5)),n&2){let r;F(r=N())&&(i.deviceDropdown=r.first),F(r=N())&&(i.deviceDropdownCS=r.first),F(r=N())&&(i.iframe=r.first),F(r=N())&&(i.userDeviceSearch=r.first),F(r=N())&&(i.deviceDropdownR=r.first),F(r=N())&&(i.calendarIframe=r.first),F(r=N())&&(i.searchInput=r.first)}},outputs:{close:"close"},standalone:!0,features:[le([me,lt]),J],decls:215,vars:76,consts:[["tabContent1","cTabContent"],["userDeviceSearch",""],["deviceDropdown",""],["deviceDropdownCS",""],["contentFrame",""],["deviceDropdownR",""],[1,"overlay"],[1,"overlay-content"],["class","loading-spinner-overlay",4,"ngIf"],[1,"mb-3"],["cTooltip","Close Search.","cTooltipPlacement","bottom",1,"pull-right",2,"font-size","30px","cursor","pointer",3,"click"],[1,"fa","fa-times-circle"],["variant","tabs","role","tablist"],["cNavLink","",3,"cTabContent","tabPaneIdx"],[4,"ngIf"],["cRounded","bottom",3,"activeTabPaneIdx"],[1,"p-3","preview"],[2,"margin-top","20px"],["cInputGroupText",""],["aria-describedby","userAssetSearchText","aria-label","userAssetSearchText","name","userAssetSearchText","cFormControl","","placeholder","Search ..","autofocus","",3,"ngModelChange","keydown.enter","ngModel"],[1,"col-lg-12",2,"align-items","center","margin-top","20px"],[1,"form-group","col-lg-2"],["for","productTypeFiles"],["cSelect","","name","productTypeFiles","id","productTypeFiles","title","Select Product Type",1,"form-control","productTypeFiles",3,"ngModelChange","change","ngModel"],["value","backup",4,"ngIf"],["value","oneDrive",4,"ngIf"],["value","SHAREPOINT",4,"ngIf"],["class","form-group col-lg-3",4,"ngIf"],[1,"col-lg-12",2,"align-items","center","margin-top","10px"],[1,"col-lg-8"],["aria-describedby","filesSearchText","aria-label","filesSearchText","name","filesSearchText","cFormControl","","placeholder","Search for files/folders ..",3,"ngModelChange","keydown.enter","ngModel"],[1,"col-lg-2"],[1,"btn","btn-small","btn-primary",3,"click"],["style","overflow: scroll;height: 500px;",4,"ngIf"],["for","productTypeContentSearch"],["cSelect","","name","productTypeContentSearch","id","productTypeContentSearch","title","Select Product Type",1,"form-control","productTypeContentSearch",3,"ngModelChange","change","ngModel"],["value","mail",4,"ngIf"],["class","col-lg-12","style","align-items: center;margin-top: 10px;",4,"ngIf"],["class","col-lg-12",4,"ngIf"],["class","col-lg-12","style","height: 500px;overflow: scroll;",4,"ngIf"],["style","margin-top: 20px;",4,"ngIf"],["tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","30% !important",3,"ngStyle"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header"],[1,"modal-title"],[1,"modal-body"],[1,"form-group"],["for","pstFileNameG"],["type","text","name","pstFileNameG","id","pstFileNameG","placeholder","Enter PST File Name","required","","autocomplete","off",1,"form-control",3,"ngModelChange","ngModel"],[1,"modal-footer"],["cButton","","color","primary","variant","outline",3,"click"],["type","button","class","btn btn-success",3,"click",4,"ngIf"],["id","downloadAsPstG","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","40% !important",3,"ngStyle"],["role","document",1,"modal-dialog","mediumModal"],[1,"header-container"],[1,"col-lg-12"],[1,"table","table-bordered","table-striped"],["type","button",1,"btn","btn-primary",3,"click"],["type","button",1,"btn","btn-danger",3,"click"],["id","restoremodalR","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","90% !important",3,"ngStyle"],["cButton","","color","secondary","id","initiateRestoreR","type","button","variant","outline",3,"click",4,"ngIf"],["cButton","","color","secondary","id","cancelRunningRestoreR","type","button","variant","outline",3,"click",4,"ngIf"],["cButton","","color","danger","id","normalCloseR","variant","outline",3,"click",4,"ngIf"],["cButton","","color","danger","id","warningCloseR","variant","outline",3,"click",4,"ngIf"],["id","browsemodalR","tabindex","-1","role","dialog",1,"modal",2,"--cui-modal-width","40% !important",3,"ngStyle"],[1,"col-lg-6"],["type","button","class","btn btn-sm btn-primary",3,"click",4,"ngIf"],[2,"max-height","400px","overflow-y","auto"],[1,"table","table-hover","table-bordered"],["id","left"],["class","text-left",3,"ngClass","click","dblclick",4,"ngFor","ngForOf"],["for","policyName"],["aria-describedby","newFolderR","name","newFolderR","id","newFolderR","aria-label","Enter folder name","cFormControl","","placeholder","Enter folder name","required","",3,"ngModelChange","ngModel"],["cButton","","color","secondary","id","addNewFolderBtnR","type","button","variant","outline",3,"click"],[1,"loading-spinner-overlay"],["color","primary","variant","grow"],["color","secondary","variant","grow"],["color","success","variant","grow"],["color","danger","variant","grow"],["color","warning","variant","grow"],["color","info","variant","grow"],["color","light","variant","grow"],["color","dark","variant","grow"],[2,"text-align","left"],[1,"row","col-lg-12"],["lg","3"],[1,"card-hover"],[2,"cursor","pointer",3,"click"],[1,"col-lg-2",2,"text-align","center"],["src","./assets/images/avatars/default.jpg","priority","",1,"profileImg",2,"width","1.5rem","height","1.5rem"],[1,"col-lg-10",2,"text-align","left"],["cCardTitle",""],["src","./assets/images/avatars/desktop_vector.jpg","priority","",1,"profileImg",2,"width","2.5rem","height","2.5rem"],["value","backup"],["value","oneDrive"],["value","SHAREPOINT"],[1,"form-group","col-lg-3"],["placeholder","Select Users","noResultMessage","No users found","id","selec2-18","customSearchEnabled","","minCharForSearch","3",3,"ngModelChange","search","update","overlay","data","value","ngModel"],["class","select2-results",4,"ngIf"],[1,"select2-results"],["role","tree","tabindex","-1","infinitescroll","","ng-reflect-infinite-scroll-disabled","false","ng-reflect-infinite-scroll-distance","1.5","ng-reflect-infinite-scroll-throttle","150","ng-reflect-infinite-scroll-container","[object HTMLUListElement]",1,"select2-results__options",2,"max-height","200px"],["role","group",1,"select2-results__option"],[1,"select2-results__group"],[1,"select2-results__options","select2-results__options--nested"],["placeholder","Select Sites","noResultMessage","No sites found","id","selec2-18Site","customSearchEnabled","","minCharForSearch","3",3,"ngModelChange","search","update","overlay","data","value","ngModel"],[1,"form-control"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[2,"overflow","scroll","height","500px"],["bordered","","align","middle","cTable","",1,"mb-0","border",3,"hover","responsive"],[1,"text-nowrap","text-truncate",2,"position","sticky","top","0","z-index","100","background-color","#f8f9fa"],[1,"bg-body-tertiary","clickable-header"],[1,"bg-body-tertiary"],[4,"ngFor","ngForOf"],["cButton","","color","success","size","sm",2,"margin-right","10px",3,"click"],["cButton","","color","primary","size","sm",2,"margin-right","10px",3,"click"],["value","mail"],["placeholder","Select Users","noResultMessage","No users found","customSearchEnabled","","minCharForSearch","3",3,"ngModelChange","search","update","overlay","data","value","ngModel"],["placeholder","Select Sites","noResultMessage","No sites found","customSearchEnabled","","minCharForSearch","3",3,"ngModelChange","search","update","overlay","data","value","ngModel"],["aria-describedby","contentSearchText","aria-label","contentSearchText","name","contentSearchText","cFormControl","","placeholder","Search..",3,"ngModelChange","keydown.enter","ngModel"],["aria-describedby","contentSearchMail","name","contentSearchMail","id","contentSearchMail","aria-label","Default Folders to Backup","cFormControl","","placeholder","Search",3,"ngModelChange","keydown.enter","ngModel","disabled"],["type","button",1,"btn","btn-small","btn-primary",3,"click"],[1,"fa",3,"ngClass"],["class","col-lg-2",4,"ngIf"],["class","row col-lg-12",4,"ngIf"],[1,"form-group","col-lg-6"],["for","fromId"],["href","#",1,"hover-link",2,"color","#F27331","cursor","pointer"],["aria-hidden","true",1,"fa","fa-question-circle"],[1,"note"],["type","text","id","fromId","placeholder","From",1,"form-control",3,"ngModelChange","ngModel"],["for","toId"],["type","text","id","toId","placeholder","To",1,"form-control",3,"ngModelChange","ngModel"],["for","ccId"],["type","text","id","ccId","placeholder","CC",1,"form-control",3,"ngModelChange","ngModel"],["for","bccId"],["type","text","id","bccId","placeholder","BCC",1,"form-control",3,"ngModelChange","ngModel"],["for","subjectId"],["type","text","id","subjectId","placeholder","Subject",1,"form-control",3,"ngModelChange","ngModel"],["for","bodyId"],["type","text","id","bodyId","placeholder","Body",1,"form-control",3,"ngModelChange","ngModel"],["for","keywordsId"],["type","text","id","keywordsId","placeholder","Keywords",1,"form-control",3,"ngModelChange","ngModel"],[1,"col-lg-12","align-items-center","d-flex"],["type","text","bsDatepicker","",1,"form-control","mx-2",2,"width","auto",3,"ngModelChange","ngModel","bsConfig"],[1,"btn","btn-small","btn-primary","pull-right",3,"click"],[1,"bg-body-tertiary","clickable-header","col-lg-10"],[1,"bg-body-tertiary","col-lg-2"],[3,"innerHTML"],[1,"col-lg-12",2,"height","500px","overflow","scroll"],["class","downloadAsPstGSearchll hover-link","style","margin-right: 10px; margin-left:22px; cursor:pointer;color: #F27331;",3,"click",4,"ngIf"],["class","removeAllGlobal hover-link","style","margin-right: 10px;margin-left:22px;cursor:pointer;color: #F27331;",3,"click",4,"ngIf"],["class","btn btn-small btn-primary pull-right downloadAsPstGSearch","style","margin-right: 3%;",3,"click",4,"ngIf"],["class","btn btn-small btn-primary pull-right downloadAsPstGSearchll11","style","margin-right: 3%;",3,"ngClass","click",4,"ngIf"],[3,"ngClass"],[1,"fixTableHead"],["bordered","","align","middle","cTable","",1,"mb-0","border",3,"hover","responsive","striped"],["style","border-top: 0px solid #f1f1f1 !important;",4,"ngIf"],[2,"border-top","0px solid #f1f1f1 !important"],["class","btn btn-small btn-primary addToCart",3,"click",4,"ngIf"],["class","card-body-center",4,"ngIf"],[3,"ngClass","ngStyle"],[1,"table","table-hover",2,"background","white"],[1,"col-lg-10"],[1,"downloadAsPstGSearchll","hover-link",2,"margin-right","10px","margin-left","22px","cursor","pointer","color","#F27331",3,"click"],[1,"fa","fa-list"],[1,"removeAllGlobal","hover-link",2,"margin-right","10px","margin-left","22px","cursor","pointer","color","#F27331",3,"click"],[1,"fa","fa-reorder"],[1,"btn","btn-small","btn-primary","pull-right","downloadAsPstGSearch",2,"margin-right","3%",3,"click"],[1,"btn","btn-small","btn-primary","pull-right","downloadAsPstGSearchll11",2,"margin-right","3%",3,"click","ngClass"],["type","checkbox","title","Select all",3,"ngModelChange","change","ngModel"],[1,"btn","btn-small","btn-primary","addToCart",3,"click"],[3,"selected-rowMail",4,"ngFor","ngForOf"],["style","border-right: none;",4,"ngIf"],["class","col-lg-12","style","font-size:14px !important;border-left: none;",3,"click",4,"ngIf"],["type","checkbox",3,"ngModelChange","change","ngModel"],[2,"border-right","none"],[1,"aplhaC",2,"line-height","28px","text-align","center","display","inline-block","height","28px","width","28px","border-radius","50%","opacity","0.5",3,"ngStyle"],[1,"col-lg-12",2,"font-size","14px !important","border-left","none",3,"click"],["class","folder","style","cursor: pointer; color: #000 !important;text-decoration: none;",4,"ngIf"],["class","folder","style","cursor: pointer; color: #c5bcbc !important; font-style:italic;text-decoration: none;",4,"ngIf"],[1,"folder",2,"cursor","pointer","color","#000 !important","text-decoration","none"],[2,"font-weight","bold"],["class","fa fa-paperclip fa-1x pull-right","style","color: #000 !important; cursor:default;",4,"ngIf"],["class","pull-right","title","Download","style","cursor:pointer;",3,"click",4,"ngIf"],["class","pull-right","title","Restore file","style","margin-right:10px;cursor:pointer;",3,"click",4,"ngIf"],[1,"folder"],[2,"color","#f27331"],[2,"float","right","color","grey",3,"innerHTML"],[2,"word-break","break-all","font-size","11px"],[1,"fa","fa-paperclip","fa-1x","pull-right",2,"color","#000 !important","cursor","default"],["title","Download",1,"pull-right",2,"cursor","pointer",3,"click"],[1,"fa","fa-download"],["title","Restore file",1,"pull-right",2,"margin-right","10px","cursor","pointer",3,"click"],[1,"fa","fa-history"],[1,"folder",2,"cursor","pointer","color","#c5bcbc !important","font-style","italic","text-decoration","none"],["class","fa fa-paperclip fa-1x pull-right","style","color: #c5bcbc !important;",4,"ngIf"],[1,"fa","fa-paperclip","fa-1x","pull-right",2,"color","#c5bcbc !important"],[1,"card-body-center"],["id","panelMail",1,"panel","panelMail",2,"overflow-x","scroll","overflow-y","scroll"],[1,"panel-heading"],["id","mailpanelBody",1,"panel-body"],[1,"subject1"],["class","from1",4,"ngIf"],["class","to1",4,"ngIf"],["class","cc1",4,"ngIf"],["class","bcc1",4,"ngIf"],["class","attachments1",4,"ngIf"],[1,"contentOutlook1Div"],["frameBorder","0",1,"contentOutlook1",2,"width","100%","height","500px"],[1,"from1"],[2,"float","right"],[1,"to1"],[1,"cc1"],[1,"bcc1"],[1,"attachments1"],[1,"dataa1"],["style","margin-right:5px; border: 1px solid #f27331; padding:2px; border-radius:5px;",4,"ngFor","ngForOf"],[2,"margin-right","5px","border","1px solid #f27331","padding","2px","border-radius","5px"],[1,"row","col-lg-12",2,"align-items","center","border","1px solid #f27331","border-radius","10px","padding","20px"],[1,"row","col-lg-12",2,"margin-bottom","10px"],[1,"col-lg-3"],["shape","rounded-1","src","./assets/images/avatars/default.jpg","textColor","primary","alt","User avatar",3,"size"],[1,"col-lg-9"],[1,"contactName",2,"font-size","30px","color","#f27331"],[2,"cursor","pointer",3,"title"],[1,"row","col-lg-12",2,"display","flex"],[1,"form-group","col-lg-4"],[1,"contactEmail",3,"mouseenter","mouseleave","title"],["class","contactEmailTitle","style","cursor:pointer;",3,"title",4,"ngIf"],[1,"contactOfficeLocation",3,"mouseenter","mouseleave","title"],["class","contactOfficeLocationTitle","style","cursor:pointer;",3,"title",4,"ngIf"],[1,"contactCompanyName",3,"mouseenter","mouseleave","title"],["class","contactCompanyNameTitle","style","cursor:pointer;",3,"title",4,"ngIf"],[1,"contactJobTitle",3,"mouseenter","mouseleave","title"],["class","contactJobTitleTitle","style","cursor:pointer;",3,"title",4,"ngIf"],[1,"contactDepartment",3,"mouseenter","mouseleave","title"],["class","contactDepartmentTitle","style","cursor:pointer;",3,"title",4,"ngIf"],[1,"contactBirthday"],[1,"contactMobile",3,"mouseenter","mouseleave","title"],["class","contactMobileTitle","style","cursor:pointer;",3,"title",4,"ngIf"],[1,"contactHomePhones",3,"mouseenter","mouseleave","title"],["class","contactHomePhonesTitle","style","cursor:pointer;",3,"title",4,"ngIf"],[1,"contactBusinessPhones",3,"mouseenter","mouseleave","title"],["class","contactBusinessPhonesTitle","style","cursor:pointer;",3,"title",4,"ngIf"],[1,"contactEmailTitle",2,"cursor","pointer",3,"title"],[1,"contactOfficeLocationTitle",2,"cursor","pointer",3,"title"],[1,"contactCompanyNameTitle",2,"cursor","pointer",3,"title"],[1,"contactJobTitleTitle",2,"cursor","pointer",3,"title"],[1,"contactDepartmentTitle",2,"cursor","pointer",3,"title"],[1,"contactMobileTitle",2,"cursor","pointer",3,"title"],[1,"contactHomePhonesTitle",2,"cursor","pointer",3,"title"],[1,"contactBusinessPhonesTitle",2,"cursor","pointer",3,"title"],[1,"btn","btn-small","btn-primary","removeFromCart","pull-right",3,"click"],["ng-cloak",""],[2,"cursor","pointer"],[1,"pull-right","clickAble",2,"color","#F27331","cursor","pointer",3,"click"],[1,"fa","fa-times-circle-o"],[1,"paginationOutlook"],[1,"col-lg-4","text-center"],["class","btn btn-primary first","title","First",3,"click",4,"ngIf"],["class","btn btn-primary previous","title","Previous",3,"click",4,"ngIf"],["class","btn btn-primary next","title","Next",3,"click",4,"ngIf"],["class","btn btn-primary last","title","Last",3,"click",4,"ngIf"],["title","First",1,"btn","btn-primary","first",3,"click"],[1,"fa","fa-angle-double-left"],["title","Previous",1,"btn","btn-primary","previous",3,"click"],[1,"fa","fa-angle-left"],["title","Next",1,"btn","btn-primary","next",3,"click"],[1,"fa","fa-angle-right"],["title","Last",1,"btn","btn-primary","last",3,"click"],[1,"fa","fa-angle-double-right"],["type","button",1,"btn","btn-success",3,"click"],[3,"title"],[1,"progress",3,"title"],["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"progress-bar",2,"cursor","pointer","color","#000 !important","background-color","#F27331 !important"],["placeholder","Select Users","noResultMessage","No users found","id","selec2-18R","customSearchEnabled","",3,"ngModelChange","search","update","overlay","data","value","ngModel"],["for","destinationPathR"],["aria-describedby","destinationPathR","name","destinationPathR","id","destinationPathR","aria-label","Enter Destination Path","cFormControl","","placeholder","Enter Destination Path","required","",3,"ngModelChange","ngModel","readonly"],["cButton","","color","secondary","id","destinationPathBrowseBtnR","type","button","variant","outline",3,"click"],[1,"col-lg-12","row","form-group"],[1,"col-lg-4"],[3,"switch"],["cFormCheckInput","","id","suspendBackupR","type","checkbox",3,"ngModelChange","ngModel"],["cFormCheckInput","","id","inplaceRestoreR","type","checkbox",3,"ngModelChange","ngModel"],["cFormCheckInput","","id","restoreDeletedFilesByRestoreR","type","checkbox",3,"ngModelChange","ngModel"],[1,"col-lg-3",2,"border","1px solid #F27331","border-radius","10px"],[1,"col-lg-6",2,"margin-top","10px"],[1,"col-lg-4",2,"margin-top","10px"],["cFormCheckInput","","id","dateBeforeR","type","checkbox",3,"ngModelChange","change","ngModel"],[1,"col-lg-9","align-items-center","d-flex"],["type","text","bsDatepicker","",1,"form-control","mx-2",2,"width","auto",3,"ngModelChange","ngModel","bsConfig","disabled"],[3,"ngModelChange","ngModel","minuteStep","showMeridian","disabled"],[1,"progressR",3,"title"],["cButton","","color","secondary","id","initiateRestoreR","type","button","variant","outline",3,"click"],["cButton","","color","secondary","id","cancelRunningRestoreR","type","button","variant","outline",3,"click"],["cButton","","color","danger","id","normalCloseR","variant","outline",3,"click"],["cButton","","color","danger","id","warningCloseR","variant","outline",3,"click"],["type","button",1,"btn","btn-sm","btn-primary",3,"click"],[1,"fa","fa-arrow-left"],["colspan","1",1,"text-center"],["role","status",1,"spinner-border","text-primary"],[1,"sr-only"],[1,"text-left",3,"click","dblclick","ngClass"]],template:function(n,i){if(n&1){let r=x();a(0,"div",6)(1,"div",7),C(2,Ia,9,0,"div",8),a(3,"c-card",9)(4,"c-card-body")(5,"a",10),_("click",function(){return u(r),g(i.closeOverlay())}),b(6,"i",11),o(),a(7,"c-nav",12)(8,"c-nav-item")(9,"button",13),d(10," Search Users/Assets "),o()(),a(11,"c-nav-item")(12,"button",13),d(13," Search by file/folder names "),o()(),C(14,Aa,3,2,"c-nav-item",14),o(),a(15,"c-tab-content",15,0)(17,"c-tab-pane",16)(18,"c-row",17)(19,"c-input-group",9)(20,"span",18),d(21,"Search Users/Assets"),o(),a(22,"input",19,1),D("ngModelChange",function(l){return u(r),P(i.userAssetSearchText,l)||(i.userAssetSearchText=l),g(l)}),_("keydown.enter",function(){return u(r),g(i.searchForUsersAssets())}),o()()(),a(24,"c-row"),C(25,Ra,2,1,"c-card",14)(26,Va,6,1,"c-card",14),b(27,"br"),C(28,Fa,2,1,"c-card",14)(29,Ba,6,1,"c-card",14),o()(),a(30,"c-tab-pane",16)(31,"c-row",20)(32,"div",21)(33,"label",22),d(34,"Product Type"),o(),a(35,"select",23),D("ngModelChange",function(l){return u(r),P(i.productTypeFiles,l)||(i.productTypeFiles=l),g(l)}),_("change",function(l){return u(r),g(i.onChangeProductType(l))}),C(36,La,2,0,"option",24)(37,za,2,0,"option",25)(38,ja,2,0,"option",26),o()(),C(39,Wa,5,5,"div",27)(40,Ja,5,5,"div",27)(41,Qa,7,2,"div",27),o(),a(42,"c-row",28)(43,"div",29)(44,"c-input-group")(45,"input",30),D("ngModelChange",function(l){return u(r),P(i.filesSearchText,l)||(i.filesSearchText=l),g(l)}),_("keydown.enter",function(){return u(r),g(i.searchForFiles())}),o()()(),a(46,"div",31)(47,"a",32),_("click",function(){return u(r),g(i.searchForFiles())}),d(48,"Search"),o()()(),b(49,"br"),C(50,Ka,5,0,"c-row",14)(51,Xa,10,3,"c-row",33),o(),a(52,"c-tab-pane",16)(53,"c-row",20)(54,"div",21)(55,"label",34),d(56,"Product Type"),o(),a(57,"select",35),D("ngModelChange",function(l){return u(r),P(i.productTypeContentSearch,l)||(i.productTypeContentSearch=l),g(l)}),_("change",function(l){return u(r),g(i.onChangeProductTypeContentSearch(l))}),C(58,$a,2,0,"option",36)(59,es,2,0,"option",25)(60,ts,2,0,"option",26),o()(),C(61,ns,5,5,"div",27)(62,os,5,5,"div",27)(63,ls,7,2,"div",27),o(),C(64,cs,7,1,"c-row",37)(65,ps,7,4,"c-row",38)(66,hs,2,1,"c-row",38),b(67,"br"),C(68,gs,10,3,"c-row",33)(69,vs,5,0,"c-row",38)(70,rl,37,29,"c-row",39),b(71,"br"),C(72,cl,7,4,"c-row",40),o()()()()()(),a(73,"div",41)(74,"div",42)(75,"div",43)(76,"div",44)(77,"h4",45),d(78,"Specify Filename"),o()(),a(79,"div",46)(80,"c-row")(81,"div",47)(82,"label",48),d(83,"Specify pst filename"),o(),a(84,"input",49),D("ngModelChange",function(l){return u(r),P(i.pstFileNameG,l)||(i.pstFileNameG=l),g(l)}),o()()()(),a(85,"div",50)(86,"button",51),_("click",function(){return u(r),g(i.closePstPopupG())}),d(87,"Close"),o(),C(88,dl,2,0,"button",52)(89,pl,2,0,"button",52),o()()()(),a(90,"div",53)(91,"div",54)(92,"div",43)(93,"div",44)(94,"h4",45),d(95,"Restore Progress"),o()(),a(96,"div",46)(97,"c-card")(98,"c-card-header",55),d(99,"Currently Running Restore Statistics"),o(),a(100,"c-card-body")(101,"c-row",56)(102,"table",57)(103,"thead")(104,"tr")(105,"th"),d(106,"Current item being processed"),o(),a(107,"th"),d(108,"Overall Progress"),o()()(),a(109,"tbody")(110,"tr"),C(111,hl,5,9,"td",14)(112,ul,2,0,"td",14)(113,gl,6,10,"td",14)(114,vl,2,0,"td",14),o()()()()()()(),a(115,"div",50)(116,"button",51),_("click",function(){return u(r),g(i.closeDownloadPstPopupG())}),d(117,"Close"),o(),a(118,"button",58),_("click",function(){return u(r),g(i.cancelDownloadAsPstG())}),d(119,"Cancel Restore"),o()()()()(),a(120,"div",41)(121,"div",42)(122,"div",43)(123,"div",44)(124,"h4",45),d(125,"Restore Cancel Confirmation"),o()(),a(126,"div",46)(127,"h4",45),d(128,"Are you sure you wish to cancel the restore?"),o()(),a(129,"div",50)(130,"button",51),_("click",function(){return u(r),g(i.closeDownloadPstConfirmPopupG())}),d(131,"Cancel"),o(),a(132,"button",59),_("click",function(){return u(r),g(i.cancelDownloadAsPstConfirmG())}),d(133,"Ok"),o()()()()(),a(134,"div",41)(135,"div",42)(136,"div",43)(137,"div",44)(138,"h4",45),d(139,"Confirmation"),o()(),a(140,"div",46)(141,"h4",45),d(142,"Are you sure you wish to close this window? The restore will still continue to run in the background."),o()(),a(143,"div",50)(144,"button",51),_("click",function(){return u(r),g(i.closeDownloadPstRunBkpPopupG())}),d(145,"Cancel"),o(),a(146,"button",58),_("click",function(){return u(r),g(i.cancelDownloadAsPstRunBkpG())}),d(147,"Ok"),o()()()()(),a(148,"div",60)(149,"div",54)(150,"div",43)(151,"div",44)(152,"h4",45),d(153,"Restore Settings"),o()(),a(154,"div",46),C(155,bl,62,24,"c-card",14)(156,Ml,24,5,"c-card",14),o(),a(157,"div",50),C(158,El,2,0,"button",61)(159,Ol,2,0,"button",62)(160,Tl,2,0,"button",63)(161,kl,2,0,"button",64),o()()()(),a(162,"div",65)(163,"div",42)(164,"div",43)(165,"div",44)(166,"h4",45),d(167,"Browse path"),o()(),a(168,"div",46)(169,"c-row",56)(170,"c-card",66)(171,"c-card-header",55)(172,"span"),d(173,"Current Path : "),C(174,Pl,2,0,"span",14)(175,Dl,2,1,"span",14),o()(),a(176,"c-card-body"),C(177,Il,3,0,"button",67),a(178,"div",68)(179,"table",69)(180,"thead")(181,"tr",70)(182,"th"),d(183,"Items"),o()()(),a(184,"tbody"),C(185,Al,5,0,"tr",14)(186,Rl,4,5,"tr",71),o()()()()(),a(187,"c-card",66)(188,"c-card-body")(189,"div",47)(190,"label",72),d(191,"Create new folder"),o(),a(192,"c-input-group",9)(193,"input",73),D("ngModelChange",function(l){return u(r),P(i.newFolderR,l)||(i.newFolderR=l),g(l)}),o(),a(194,"button",74),_("click",function(){return u(r),g(i.addNewFolderR(i.newFolderR))}),d(195,"Create"),o()()()()()()(),a(196,"div",50)(197,"button",51),_("click",function(){return u(r),g(i.closeBrowsePopupR())}),d(198,"Close"),o(),a(199,"button",58),_("click",function(){return u(r),g(i.usePathR())}),d(200,"Use Path"),o()()()()(),a(201,"div",41)(202,"div",42)(203,"div",43)(204,"div",44)(205,"h4",45),d(206,"Restore Cancel Confirmation"),o()(),a(207,"div",46)(208,"h4",45),d(209,"Are you sure you wish to cancel the restore?"),o()(),a(210,"div",50)(211,"button",51),_("click",function(){return u(r),g(i.closeDeleteRestorePopupR())}),d(212,"Close"),o(),a(213,"button",58),_("click",function(){return u(r),g(i.deleteRestoreEventR())}),d(214,"Delete"),o()()()()()}if(n&2){let r=ie(16);s(2),m("ngIf",i.isLoading),s(7),m("cTabContent",r)("tabPaneIdx",0),s(3),m("cTabContent",r)("tabPaneIdx",1),s(2),m("ngIf",i.isContentSearchEnabled=="true"),s(),m("activeTabPaneIdx",0),s(7),k("ngModel",i.userAssetSearchText),s(3),m("ngIf",i.noUsersFoundText!=""),s(),m("ngIf",i.foundUsers.length>0),s(2),m("ngIf",i.noDevicesFoundText!=""),s(),m("ngIf",i.foundDevices.length>0),s(6),k("ngModel",i.productTypeFiles),s(),m("ngIf",i.isBackupEnabled==="true"),s(),m("ngIf",i.isODBEnabled==="true"),s(),m("ngIf",i.isSharepointEnabled==="true"),s(),m("ngIf",i.productTypeFiles!="SHAREPOINT"),s(),m("ngIf",i.productTypeFiles=="SHAREPOINT"),s(),m("ngIf",i.productTypeFiles!="SHAREPOINT"),s(4),k("ngModel",i.filesSearchText),s(5),m("ngIf",i.noFilesFound),s(),m("ngIf",i.foundFiles.length>0&&!i.noFilesFound),s(6),k("ngModel",i.productTypeContentSearch),s(),m("ngIf",i.isExchangeEnabled==="true"),s(),m("ngIf",i.isODBEnabled==="true"),s(),m("ngIf",i.isSharepointEnabled==="true"),s(),m("ngIf",i.productTypeContentSearch!="SHAREPOINT"),s(),m("ngIf",i.productTypeContentSearch=="SHAREPOINT"),s(),m("ngIf",i.productTypeContentSearch!="SHAREPOINT"),s(),m("ngIf",i.productTypeContentSearch!="mail"),s(),m("ngIf",i.productTypeContentSearch=="mail"),s(),m("ngIf",i.productTypeContentSearch=="mail"),s(2),m("ngIf",i.foundFilesCS.length>0&&!i.noFilesFoundCS&&i.productTypeContentSearch!="mail"),s(),m("ngIf",i.productTypeContentSearch=="mail"&&i.foundMailsCS.length==0&&i.noFilesFoundCS),s(),m("ngIf",i.productTypeContentSearch=="mail"&&i.foundMailsCS.length>0),s(2),m("ngIf",i.productTypeContentSearch=="mail"&&i.foundMailsCS.length>0&&!i.noFilesFoundCS),s(),m("ngStyle",Z(62,ue,i.displayPststyleG)),s(11),k("ngModel",i.pstFileNameG),s(4),m("ngIf",i.exportCompleteMailboxG),s(),m("ngIf",!i.exportCompleteMailboxG),s(),m("ngStyle",Z(64,ue,i.displayDownloadPststyleG)),s(21),m("ngIf",i.progressG.currentFolderPath!=""),s(),m("ngIf",i.progressG.currentFolderPath==""),s(),m("ngIf",i.progressG.totalNoOfFilesForRestore!=""),s(),m("ngIf",i.progressG.totalNoOfFilesForRestore==""),s(6),m("ngStyle",Z(66,ue,i.displayDownloadPstConfirmstyleG)),s(14),m("ngStyle",Z(68,ue,i.displayDownloadPstRunBckConfirmstyleG)),s(14),m("ngStyle",Z(70,ue,i.displayRestoreStyleR)),s(7),m("ngIf",i.showRestoreSettingsR),s(),m("ngIf",!i.showRestoreSettingsR),s(2),m("ngIf",i.showRestoreSettingsR),s(),m("ngIf",!i.showRestoreSettingsR),s(),m("ngIf",i.showRestoreSettingsR),s(),m("ngIf",!i.showRestoreSettingsR),s(),m("ngStyle",Z(72,ue,i.displayBrowseStyleR)),s(12),m("ngIf",i.browsePathR==""),s(),m("ngIf",i.browsePathR!=""),s(2),m("ngIf",i.browsePathR!=""),s(8),m("ngIf",i.loadingR),s(),m("ngForOf",i.browseItemsR),s(7),k("ngModel",i.newFolderR),s(8),m("ngStyle",Z(74,ue,i.displayDeleteRestoreStyleR))}},dependencies:[to,eo,it,di,nt,ot,rt,Yr,qr,Jr,po,Mo,wo,So,_o,fo,Co,bo,xo,yo,Ye,li,ci,Ee,hi,mi,uo,go,ho,io,Ar,Vr,Ur,Fr,Qr,Kr,mo,qe,To,Oo,vo,Eo,Po,ko,Ao,Do,Io],styles:[".overlay[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#000000b3;display:flex;justify-content:center;align-items:center;z-index:1000}.overlay-content[_ngcontent-%COMP%]{background-color:#fff;padding:20px;border-radius:10px;width:100%;height:100%}.button-group[_ngcontent-%COMP%]{margin-top:20px}button[_ngcontent-%COMP%]{margin:0 10px}.card-hover[_ngcontent-%COMP%]{transition:background-color .3s ease-in-out}.card-hover[_ngcontent-%COMP%]:hover{background-color:#f27332;cursor:pointer}.hover-link[_ngcontent-%COMP%]   .note[_ngcontent-%COMP%]{display:none;background-color:#f0f0f0;color:#333;padding:5px;border-radius:3px;position:absolute;z-index:1000}.hover-link[_ngcontent-%COMP%]:hover   .note[_ngcontent-%COMP%]{display:inline-block}.selected-rowMail[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{background-color:#ece5e2;color:#f5f5f5}.fixTableHead[_ngcontent-%COMP%]{height:500px}.fixTableHead[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{position:sticky;top:0;background:#f1f1f1;color:#000;z-index:999}"]})}}return t})();var Ul=(t,c)=>c.name,Vl=()=>({placement:"bottom-start"}),Fl=()=>[];function Nl(t,c){if(t&1){let e=x();a(0,"app-search-overlay",12),_("close",function(){u(e);let i=h();return g(i.closeOverlay())}),o()}}function Bl(t,c){t&1&&ut(0)}function Ll(t,c){t&1&&ut(0)}function zl(t,c){if(t&1){let e=x();a(0,"li")(1,"a",17),_("click",function(){u(e);let i=h(2);return g(i.unusualActivityHistory())}),$(),b(2,"svg",20),d(3," Unusual Activity History "),o()()}}function jl(t,c){if(t&1){let e=x();a(0,"c-dropdown",13)(1,"button",14),b(2,"c-avatar",15),o(),a(3,"ul",16)(4,"li")(5,"a",17),_("click",function(){u(e);let i=h();return g(i.currentUserProfile())}),$(),b(6,"svg",18),d(7," My Account "),o()(),fe(),a(8,"li"),b(9,"hr",19),o(),a(10,"li")(11,"a",17),_("click",function(){u(e);let i=h();return g(i.activityHistory())}),$(),b(12,"svg",20),d(13," Activity History "),o()(),C(14,zl,4,0,"li",21),fe(),a(15,"li")(16,"a",17),_("click",function(){u(e);let i=h();return g(i.endpointsDownload())}),$(),b(17,"svg",22),d(18," Download Agent "),o()(),fe(),a(19,"li")(20,"a",17),_("click",function(){u(e);let i=h();return g(i.logout())}),$(),b(21,"svg",23),d(22," Logout "),o()()()()}if(t&2){let e=h();m("popperOptions",ce(4,Vl)),s(),m("caret",!1),s(),m("size","md"),s(12),m("ngIf",e.userType!="user")}}function Hl(t,c){if(t&1){let e=x();a(0,"button",29),_("click",function(){let i=u(e).$implicit,r=h(2);return g(r.colorMode.set(i.name))}),$(),b(1,"svg",30),d(2),o()}if(t&2){let e=c.$implicit,n=h(2);m("active",n.colorMode()===e.name)("routerLink",ce(4,Fl)),s(),m("name",e.icon),s(),O(" ",e.text," ")}}function Wl(t,c){if(t&1&&(a(0,"c-dropdown",24)(1,"button",25),$(),b(2,"svg",26),o(),fe(),a(3,"div",27),Re(4,Hl,3,5,"button",28,Ul),o()()),t&2){let e=h();s(),m("caret",!1),s(),m("name",e.icons()),s(2),Ue(e.colorModes)}}var Jo=(()=>{class t extends Zr{#t;#e;#i;constructor(e,n,i,r){let p=e.getToken();(!p||p.trim()==="")&&setTimeout(()=>{this.router.navigate(["/logout"])},1e3),super(),this.authService=e,this.router=n,this.renderer=i,this.sharedService=r,this.isOverlayVisible=!1,this.userType="",this.#t=ve(Ci),this.#e=ve(Nr),this.colorMode=this.#e.colorMode,this.#i=ve(Kt),this.colorModes=[{name:"light",text:"Light",icon:"cilSun"},{name:"dark",text:"Dark",icon:"cilMoon"},{name:"auto",text:"Auto",icon:"cilContrast"}],this.icons=si(()=>{let l=this.colorMode();return this.colorModes.find(v=>v.name===l)?.icon??"cilSun"}),this.sidebarId="sidebar1",this.newMessages=[{id:0,from:"Jessica Williams",avatar:"7.jpg",status:"success",title:"Urgent: System Maintenance Tonight",time:"Just now",link:"apps/email/inbox/message",message:"Attention team, we'll be conducting critical system maintenance tonight from 10 PM to 2 AM. Plan accordingly..."},{id:1,from:"Richard Johnson",avatar:"6.jpg",status:"warning",title:"Project Update: Milestone Achieved",time:"5 minutes ago",link:"apps/email/inbox/message",message:"Kudos on hitting sales targets last quarter! Let's keep the momentum. New goals, new victories ahead..."},{id:2,from:"Angela Rodriguez",avatar:"5.jpg",status:"danger",title:"Social Media Campaign Launch",time:"1:52 PM",link:"apps/email/inbox/message",message:"Exciting news! Our new social media campaign goes live tomorrow. Brace yourselves for engagement..."},{id:3,from:"Jane Lewis",avatar:"4.jpg",status:"info",title:"Inventory Checkpoint",time:"4:03 AM",link:"apps/email/inbox/message",message:"Team, it's time for our monthly inventory check. Accurate counts ensure smooth operations. Let's nail it..."},{id:3,from:"Ryan Miller",avatar:"4.jpg",status:"info",title:"Customer Feedback Results",time:"3 days ago",link:"apps/email/inbox/message",message:"Our latest customer feedback is in. Let's analyze and discuss improvements for an even better service..."}],this.newNotifications=[{id:0,title:"New user registered",icon:"cilUserFollow",color:"success"},{id:1,title:"User deleted",icon:"cilUserUnfollow",color:"danger"},{id:2,title:"Sales report is ready",icon:"cilChartPie",color:"info"},{id:3,title:"New client",icon:"cilBasket",color:"primary"},{id:4,title:"Server overloaded",icon:"cilSpeedometer",color:"warning"}],this.newStatus=[{id:0,title:"CPU Usage",value:25,color:"info",details:"348 Processes. 1/4 Cores."},{id:1,title:"Memory Usage",value:70,color:"warning",details:"11444GB/16384MB"},{id:2,title:"SSD 1 Usage",value:90,color:"danger",details:"243GB/256GB"}],this.newTasks=[{id:0,title:"Upgrade NPM",value:0,color:"info"},{id:1,title:"ReactJS Version",value:25,color:"danger"},{id:2,title:"VueJS Version",value:50,color:"warning"},{id:3,title:"Add new layouts",value:75,color:"info"},{id:4,title:"Angular Version",value:100,color:"success"}],this.#e.localStorageItemName.set("coreui-free-angular-admin-template-theme-default"),this.#e.eventName.set("ColorSchemeChange"),this.#t.queryParams.pipe(zt(1),U(l=>l.theme?.match(/^[A-Za-z0-9\s]+/)?.[0]),Le(l=>["dark","light","auto"].includes(l)),A(l=>{this.colorMode.set(l)}),Dr(this.#i)).subscribe(),this.userType=this.sharedService.getDataByKey("userType")}logout(){console.log("Logout clicked 154"),this.authService.logout(),console.log("Token after logout"+this.authService.getToken()),this.router.navigate(["logout"])}currentUserProfile(){let e=this.sharedService.getDataByKey("userName");console.log("currentUser : "+e),this.sharedService.setData("currentUser",e),this.sharedService.setData("currentDevice",""),this.isOverlayVisible=!1;let n=document.querySelector(".header.header-sticky");n&&this.renderer.setStyle(n,"z-index","1000"),this.router.routeReuseStrategy.shouldReuseRoute=()=>!1,this.router.onSameUrlNavigation="reload",this.router.navigate(["/users/profile"])}activityHistory(){console.log("activityHistory clicked"),this.router.navigate(["activityHistory"])}unusualActivityHistory(){this.router.navigate(["unusualActivityHistory"])}endpointsDownload(){this.router.navigate(["endpointsDownload"])}openOverlay(){this.isOverlayVisible=!0;let e=document.querySelector(".header.header-sticky");e&&this.renderer.setStyle(e,"z-index","2000");let n=document.querySelector(".overlay");n&&this.renderer.setStyle(n,"display","block")}closeOverlay(){this.isOverlayVisible=!1;let e=document.querySelector(".header.header-sticky");e&&this.renderer.setStyle(e,"z-index","1000")}static{this.\u0275fac=function(n){return new(n||t)(y(me),y(de),y(we),y(he))}}static{this.\u0275cmp=H({type:t,selectors:[["app-default-header"]],inputs:{sidebarId:"sidebarId"},standalone:!0,features:[le([me]),K,J],decls:16,vars:5,consts:[["userDropdown",""],["themeDropdown",""],[1,"px-4",3,"fluid"],["cHeaderToggler","","toggle","visible","aria-label","Toggle sidebar navigation",1,"btn",2,"margin-inline-start","-14px",3,"cSidebarToggle"],["cIcon","","name","cilMenu","size","lg"],[1,"col-lg-3",2,"width","30% !important"],["aria-describedby","basic-addon2","aria-label","Search","cFormControl","","placeholder","Search",3,"click"],["cInputGroupText","","id","basic-addon2"],["cIcon","","name","cilMagnifyingGlass"],[3,"close",4,"ngIf"],[1,"mx-0"],[4,"ngTemplateOutlet"],[3,"close"],["variant","nav-item",3,"popperOptions"],["cDropdownToggle","","aria-label","Open user menu",1,"py-0","pe-0",3,"caret"],["shape","rounded-1","src","./assets/images/avatars/default.jpg","status","success","textColor","primary","alt","User avatar",3,"size"],["cDropdownMenu","",1,"pt-0","w-auto"],["cDropdownItem","",2,"cursor","pointer",3,"click"],["cIcon","","name","cilUser",1,"me-2"],["cDropdownDivider",""],["cIcon","","name","cilHistory",1,"me-2"],[4,"ngIf"],["cIcon","","name","cilArrowThickBottom",1,"me-2"],["cIcon","","name","cilAccountLogout",1,"me-2"],["alignment","end","variant","nav-item"],["cDropdownToggle","","aria-label","Open theme picker",3,"caret"],["cIcon","","size","lg",3,"name"],["cDropdownMenu",""],["cDropdownItem","",1,"d-flex","align-items-center",3,"active","routerLink"],["cDropdownItem","",1,"d-flex","align-items-center",3,"click","active","routerLink"],["cIcon","","size","lg",1,"me-2",3,"name"]],template:function(n,i){if(n&1){let r=x();We(0),a(1,"c-container",2)(2,"button",3),$(),b(3,"svg",4),o(),fe(),a(4,"c-input-group",5)(5,"input",6),_("click",function(){return u(r),g(i.openOverlay())}),o(),a(6,"span",7),$(),b(7,"svg",8),o()(),C(8,Nl,1,0,"app-search-overlay",9),fe(),a(9,"c-header-nav",10),C(10,Bl,1,0,"ng-container",11)(11,Ll,1,0,"ng-container",11),o()(),Ge(),C(12,jl,23,5,"ng-template",null,0,bt)(14,Wl,6,2,"ng-template",null,1,bt)}if(n&2){let r=ie(13),p=ie(15);s(),m("fluid",!0),s(),m("cSidebarToggle",i.sidebarId),s(6),m("ngIf",i.isOverlayVisible),s(2),m("ngTemplateOutlet",p),s(),m("ngTemplateOutlet",r)}},dependencies:[at,$r,st,Er,Xr,Ze,pi,jr,zr,it,Lr,Hr,Br,nt,ot,rt,Go,Ye,Ee,qe],encapsulation:2})}}return t})();var Gl=4,Jl=.001,Yl=1e-7,ql=10,Ne=11,ct=1/(Ne-1),Ql=typeof Float32Array=="function";function Yo(t,c){return 1-3*c+3*t}function qo(t,c){return 3*c-6*t}function Qo(t){return 3*t}function dt(t,c,e){return((Yo(c,e)*t+qo(c,e))*t+Qo(c))*t}function Ko(t,c,e){return 3*Yo(c,e)*t*t+2*qo(c,e)*t+Qo(c)}function Kl(t,c,e,n,i){let r,p,l=0;do p=c+(e-c)/2,r=dt(p,n,i)-t,r>0?e=p:c=p;while(Math.abs(r)>Yl&&++l<ql);return p}function Zl(t,c,e,n){for(let i=0;i<Gl;++i){let r=Ko(c,e,n);if(r===0)return c;let p=dt(c,e,n)-t;c-=p/r}return c}function Xl(t){return t}function $l(t,c,e,n){if(!(0<=t&&t<=1&&0<=e&&e<=1))throw new Error("bezier x values must be in [0, 1] range");if(t===c&&e===n)return Xl;let i=Ql?new Float32Array(Ne):new Array(Ne);for(let p=0;p<Ne;++p)i[p]=dt(p*ct,t,e);function r(p){let l=0,v=1,w=Ne-1;for(;v!==w&&i[v]<=p;++v)l+=ct;--v;let M=(p-i[v])/(i[v+1]-i[v]),E=l+M*ct,T=Ko(E,t,e);return T>=Jl?Zl(p,E,t,e):T===0?E:Kl(p,l,l+ct,t,e)}return function(l){return l===0?0:l===1?1:dt(r(l),c,n)}}var ec=new ye("SMOOTH_SCROLL_OPTIONS"),Zo=(()=>{class t{get _w(){return this._document.defaultView}get _now(){return this._w.performance&&this._w.performance.now?this._w.performance.now.bind(this._w.performance):Date.now}constructor(e,n,i){this._document=e,this._platform=n,this._onGoingScrolls=new Map,this._defaultOptions=R({duration:468,easing:{x1:.42,y1:0,x2:.58,y2:1}},i)}_scrollElement(e,n,i){e.scrollLeft=n,e.scrollTop=i}_getElement(e,n){return typeof e=="string"?(n||this._document).querySelector(e):Ir(e)}_initSmoothScroll(e){return this._onGoingScrolls.has(e)&&this._onGoingScrolls.get(e).next(),this._onGoingScrolls.set(e,new ae).get(e)}_isFinished(e,n,i){return e.currentX!==e.x||e.currentY!==e.y?!0:(n.next(),i(),!1)}_interrupted(e,n){return se(V(e,"wheel",{passive:!0,capture:!0}),V(e,"touchmove",{passive:!0,capture:!0}),n).pipe(Lt(1))}_destroy(e,n){n.complete(),this._onGoingScrolls.delete(e)}_step(e){return new be(n=>{let i=(this._now()-e.startTime)/e.duration;i=i>1?1:i;let r=e.easing(i);e.currentX=e.startX+(e.x-e.startX)*r,e.currentY=e.startY+(e.y-e.startY)*r,this._scrollElement(e.scrollable,e.currentX,e.currentY),Be.schedule(()=>n.next(e))})}_applyScrollToOptions(e,n){if(!n.duration)return this._scrollElement(e,n.left,n.top),Promise.resolve();let i=this._initSmoothScroll(e),r={scrollable:e,startTime:this._now(),startX:e.scrollLeft,startY:e.scrollTop,x:n.left==null?e.scrollLeft:~~n.left,y:n.top==null?e.scrollTop:~~n.top,duration:n.duration,easing:$l(n.easing.x1,n.easing.y1,n.easing.x2,n.easing.y2)};return new Promise(p=>{ke(null).pipe(jt(()=>this._step(r).pipe(Gt(l=>this._isFinished(l,i,p)))),q(this._interrupted(e,i)),Ht(()=>this._destroy(e,i))).subscribe()})}scrollTo(e,n){if(ui(this._platform)){let i=this._getElement(e),r=getComputedStyle(i).direction==="rtl",p=tt(),l=oe(R(R({},this._defaultOptions),n),{left:n.left==null?r?n.end:n.start:n.left,right:n.right==null?r?n.start:n.end:n.right});return l.bottom!=null&&(l.top=i.scrollHeight-i.clientHeight-l.bottom),r&&p!==0?(l.left!=null&&(l.right=i.scrollWidth-i.clientWidth-l.left),p===2?l.left=l.right:p===1&&(l.left=l.right?-l.right:l.right)):l.right!=null&&(l.left=i.scrollWidth-i.clientWidth-l.right),this._applyScrollToOptions(i,l)}return Promise.resolve()}scrollToElement(e,n,i={}){let r=this._getElement(e),p=this._getElement(n,r),l=oe(R({},i),{left:p.offsetLeft+(i.left||0),top:p.offsetTop+(i.top||0)});return p?this.scrollTo(r,l):Promise.resolve()}static{this.\u0275fac=function(n){return new(n||t)(B(Y),B(Zt),B(ec,8))}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var ic=["scrollbarY"],nc=["scrollbarX"],rc=["*"];function oc(t,c){if(t&1&&b(0,"scrollbar-x",null,0),t&2){let e=h(2);Se("scrollable",e.state.isHorizontallyScrollable)("fit",e.state.verticalUsed)}}function ac(t,c){if(t&1&&b(0,"scrollbar-y",null,1),t&2){let e=h(2);Se("scrollable",e.state.isVerticallyScrollable)("fit",e.state.horizontalUsed)}}function sc(t,c){if(t&1&&(We(0),C(1,oc,2,2,"scrollbar-x",5)(2,ac,2,2,"scrollbar-y",5),Ge()),t&2){let e=h();s(),m("ngIf",e.state.horizontalUsed),s(),m("ngIf",e.state.verticalUsed)}}var lc=(()=>{class t{constructor(e){this.el=e}set ngAttr(e){for(let[n,i]of Object.entries(e))this.el.nativeElement.setAttribute(n,i)}static{this.\u0275fac=function(n){return new(n||t)(y(j))}}static{this.\u0275dir=W({type:t,selectors:[["","ngAttr",""]],inputs:{ngAttr:"ngAttr"},standalone:!0})}}return t})();function ta(t){return A(()=>{t.onselectstart=()=>!1})}function ia(t){return A(()=>{t.onselectstart=null})}function ge(){return A(t=>t.stopPropagation())}function xt(t,c){return t.clientX>=c.left&&t.clientX<=c.left+c.width&&t.clientY>=c.top&&t.clientY<=c.top+c.height}var Mt=(()=>{class t{get clientHeight(){return this.nativeElement.clientHeight}get clientWidth(){return this.nativeElement.clientWidth}get scrollHeight(){return this.nativeElement.scrollHeight}get scrollWidth(){return this.nativeElement.scrollWidth}get scrollTop(){return this.nativeElement.scrollTop}get scrollLeft(){return this.nativeElement.scrollLeft}get scrollMaxX(){return this.scrollWidth-this.clientWidth}get scrollMaxY(){return this.scrollHeight-this.clientHeight}get contentHeight(){return this.contentWrapperElement?.clientHeight||0}get contentWidth(){return this.contentWrapperElement?.clientWidth||0}constructor(e){this.viewPort=e,this.nativeElement=e.nativeElement}activatePointerEvents(e,n){this.hovered=new be(i=>{let r=V(this.nativeElement,"mousemove",{passive:!0}),p=e?r:r.pipe(ge()),l=V(this.nativeElement,"mouseleave",{passive:!0}).pipe(U(()=>!1));se(p,l).pipe(A(v=>i.next(v)),q(n)).subscribe()}),this.clicked=new be(i=>{let r=V(this.nativeElement,"mousedown",{passive:!0}).pipe(A(l=>i.next(l))),p=V(this.nativeElement,"mouseup",{passive:!0}).pipe(A(()=>i.next(!1)));r.pipe(Pe(()=>p),q(n)).subscribe()})}setAsWrapper(){this.nativeElement.className="ng-native-scrollbar-hider ng-scroll-layer",this.nativeElement.firstElementChild&&(this.nativeElement.firstElementChild.className="ng-scroll-layer")}setAsViewport(e){this.nativeElement.className+=` ng-native-scrollbar-hider ng-scroll-viewport ${e}`,this.nativeElement.firstElementChild&&(this.contentWrapperElement=this.nativeElement.firstElementChild,this.contentWrapperElement.classList.add("ng-scroll-content"))}scrollYTo(e){this.nativeElement.scrollTop=e}scrollXTo(e){this.nativeElement.scrollLeft=e}static{this.\u0275fac=function(n){return new(n||t)(y(j))}}static{this.\u0275dir=W({type:t,selectors:[["","scrollViewport",""]],standalone:!0})}}return t})(),X=(()=>{class t{static{this.\u0275fac=function(n){return new(n||t)}}static{this.\u0275dir=W({type:t})}}return t})(),Tt=(()=>{class t{get clicked(){let e=V(this.trackElement,"mousedown",{passive:!0}).pipe(ge(),ta(this.document)),n=V(this.document,"mouseup",{passive:!0}).pipe(ge(),ia(this.document),Pe(()=>Vt));return se(e,n)}get clientRect(){return this.trackElement.getBoundingClientRect()}constructor(e,n,i){this.cmp=e,this.trackElement=n,this.document=i}onTrackClicked(e,n,i){return ke(e).pipe(U(r=>r[this.pageProperty]),U(r=>(r-this.offset-n/2)/this.size*i),A(r=>{this.cmp.scrollTo(oe(R({},this.mapToScrollToOption(r)),{duration:yt(this.cmp.trackClickScrollDuration)}))}))}static{this.\u0275fac=function(n){return new(n||t)(y(X),y(HTMLElement),y(Document))}}static{this.\u0275dir=W({type:t})}}return t})(),Et=(()=>{class t extends Tt{get pageProperty(){return"pageX"}get offset(){return this.clientRect.left}get size(){return this.trackElement.clientWidth}constructor(e,n,i){super(e,n.nativeElement,i),this.cmp=e,this.document=i}mapToScrollToOption(e){return{left:e}}static{this.\u0275fac=function(n){return new(n||t)(y(X),y(j),y(Y))}}static{this.\u0275dir=W({type:t,selectors:[["","scrollbarTrackX",""]],standalone:!0,features:[K]})}}return t})(),Ot=(()=>{class t extends Tt{get pageProperty(){return"pageY"}get offset(){return this.clientRect.top}get size(){return this.trackElement.clientHeight}constructor(e,n,i){super(e,n.nativeElement,i),this.cmp=e,this.document=i}mapToScrollToOption(e){return{top:e}}static{this.\u0275fac=function(n){return new(n||t)(y(X),y(j),y(Y))}}static{this.\u0275dir=W({type:t,selectors:[["","scrollbarTrackY",""]],standalone:!0,features:[K]})}}return t})(),na=(()=>{class t{get trackMax(){return this.track.size-this.size}get clientRect(){return this.thumbElement.getBoundingClientRect()}get clicked(){return V(this.thumbElement,"mousedown",{passive:!0}).pipe(ge())}constructor(e,n,i,r){this.cmp=e,this.track=n,this.thumbElement=i,this.document=r,this._dragging=new ae,this.dragging=this._dragging.pipe(ze())}update(){let e=cc(this.track.size,this.viewportScrollSize,this.cmp.minThumbSize),n=dc(this.viewportScrollOffset,this.viewportScrollMax,this.trackMax);Be.schedule(()=>this.updateStyles(this.handleDirection(n,this.trackMax),e))}dragged(e){let n,i,r=ke(e).pipe(ta(this.document),A(()=>{n=this.trackMax,i=this.viewportScrollMax,this.setDragging(!0)})),p=V(this.document,"mousemove",{capture:!0,passive:!0}).pipe(ge()),l=V(this.document,"mouseup",{capture:!0}).pipe(ge(),ia(this.document),A(()=>this.setDragging(!1)));return r.pipe(U(v=>v[this.pageProperty]),U(v=>v-this.dragStartOffset),Ft(v=>p.pipe(U(w=>w[this.clientProperty]),U(w=>w-this.track.offset),U(w=>i*(w-v)/n),U(w=>this.handleDrag(w,i)),A(w=>this.scrollTo(w)),q(l))))}static{this.\u0275fac=function(n){return new(n||t)(y(X),y(Tt),y(HTMLElement),y(Document))}}static{this.\u0275dir=W({type:t,outputs:{dragging:"dragging"}})}}return t})();function cc(t,c,e){let i=t/c*t;return Math.max(~~i,e)}function dc(t,c,e){return t*e/c}var Xo=(()=>{class t extends na{get clientProperty(){return"clientX"}get pageProperty(){return"pageX"}get viewportScrollSize(){return this.cmp.viewport.scrollWidth}get viewportScrollOffset(){return this.cmp.viewport.scrollLeft}get viewportScrollMax(){return this.cmp.viewport.scrollMaxX}get dragStartOffset(){return this.clientRect.left+this.document.defaultView.pageXOffset||0}get size(){return this.thumbElement.clientWidth}constructor(e,n,i,r,p){super(e,n,i.nativeElement,r),this.cmp=e,this.track=n,this.element=i,this.document=r,this.dir=p}updateStyles(e,n){this.thumbElement.style.width=`${n}px`,this.thumbElement.style.transform=`translate3d(${e}px, 0, 0)`}handleDrag(e,n){if(this.dir.value==="rtl"){if(this.cmp.manager.rtlScrollAxisType===1)return e-n;if(this.cmp.manager.rtlScrollAxisType===2)return n-e}return e}handleDirection(e,n){if(this.dir.value==="rtl"){if(this.cmp.manager.rtlScrollAxisType===2)return-e;if(this.cmp.manager.rtlScrollAxisType===0)return e-n}return e}setDragging(e){this.cmp.setDragging({horizontalDragging:e})}scrollTo(e){this.cmp.viewport.scrollXTo(e)}static{this.\u0275fac=function(n){return new(n||t)(y(X),y(Et),y(j),y(Y),y(Ct))}}static{this.\u0275dir=W({type:t,selectors:[["","scrollbarThumbX",""]],standalone:!0,features:[K]})}}return t})(),$o=(()=>{class t extends na{get pageProperty(){return"pageY"}get viewportScrollSize(){return this.cmp.viewport.scrollHeight}get viewportScrollOffset(){return this.cmp.viewport.scrollTop}get viewportScrollMax(){return this.cmp.viewport.scrollMaxY}get clientProperty(){return"clientY"}get dragStartOffset(){return this.clientRect.top+this.document.defaultView.pageYOffset||0}get size(){return this.thumbElement.clientHeight}constructor(e,n,i,r){super(e,n,i.nativeElement,r),this.cmp=e,this.track=n,this.element=i,this.document=r}updateStyles(e,n){this.thumbElement.style.height=`${n}px`,this.thumbElement.style.transform=`translate3d(0px, ${e}px, 0)`}handleDrag(e){return e}handleDirection(e){return e}setDragging(e){this.cmp.setDragging({verticalDragging:e})}scrollTo(e){this.cmp.viewport.scrollYTo(e)}static{this.\u0275fac=function(n){return new(n||t)(y(X),y(Ot),y(j),y(Y))}}static{this.\u0275dir=W({type:t,selectors:[["","scrollbarThumbY",""]],standalone:!0,features:[K]})}}return t})(),ra=(()=>{class t{constructor(e,n,i,r,p){this.el=e,this.cmp=n,this.platform=i,this.document=r,this.zone=p,this.destroyed=new ae}activatePointerEvents(){let e,n,i;return this.cmp.pointerEventsMethod==="viewport"?(this.viewportTrackClicked=new ae,this.viewportThumbClicked=new ae,this.cmp.viewport.activatePointerEvents(this.cmp.viewportPropagateMouseMove,this.destroyed),e=this.viewportThumbClicked,n=this.viewportTrackClicked,i=this.cmp.viewport.hovered.pipe(U(r=>r?xt(r,this.el.getBoundingClientRect()):!1),ze(),A(r=>this.document.onselectstart=r?()=>!1:null)),this.cmp.viewport.clicked.pipe(A(r=>{r?xt(r,this.thumb.clientRect)?this.viewportThumbClicked.next(r):xt(r,this.track.clientRect)&&(this.cmp.setClicked(!0),this.viewportTrackClicked.next(r)):this.cmp.setClicked(!1)}),q(this.destroyed)).subscribe()):(e=this.thumb.clicked,n=this.track.clicked,i=this.hovered),se(i.pipe(A(r=>this.setHovered(r))),e.pipe(Pe(r=>this.thumb.dragged(r))),n.pipe(Pe(r=>this.track.onTrackClicked(r,this.thumb.size,this.viewportScrollSize))))}get hovered(){let e=V(this.el,"mouseenter",{passive:!0}).pipe(ge(),U(()=>!0)),n=V(this.el,"mouseleave",{passive:!0}).pipe(ge(),U(()=>!1));return se(e,n)}ngOnInit(){this.zone.runOutsideAngular(()=>{!(this.platform.IOS||this.platform.ANDROID)&&!this.cmp.pointerEventsDisabled&&this.activatePointerEvents().pipe(q(this.destroyed)).subscribe(),se(this.cmp.scrolled,this.cmp.updated).pipe(A(()=>this.thumb?.update()),q(this.destroyed)).subscribe()})}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete(),this.viewportThumbClicked&&this.viewportTrackClicked&&(this.viewportTrackClicked.complete(),this.viewportThumbClicked.complete())}static{this.\u0275fac=function(n){return new(n||t)(y(HTMLElement),y(X),y(Oe),y(Document),y(ee))}}static{this.\u0275dir=W({type:t})}}return t})(),pc=(()=>{class t extends ra{get viewportScrollSize(){return this.cmp.viewport.scrollHeight}constructor(e,n,i,r,p){super(e.nativeElement,n,i,r,p),this.cmp=n,this.platform=i,this.document=r,this.zone=p}setHovered(e){this.cmp.setHovered({verticalHovered:e})}static{this.\u0275fac=function(n){return new(n||t)(y(j),y(X),y(Oe),y(Y),y(ee))}}static{this.\u0275cmp=H({type:t,selectors:[["scrollbar-y"]],viewQuery:function(n,i){if(n&1&&(L(Ot,7),L($o,7)),n&2){let r;F(r=N())&&(i.track=r.first),F(r=N())&&(i.thumb=r.first)}},hostVars:2,hostBindings:function(n,i){n&2&&xe("scrollbar-control",!0)},standalone:!0,features:[K,J],decls:2,vars:6,consts:[["scrollbarTrackY",""],["scrollbarThumbY",""]],template:function(n,i){n&1&&(a(0,"div",0),b(1,"div",1),o()),n&2&&(Ae("ng-scrollbar-track ",i.cmp.trackClass,""),s(),Ae("ng-scrollbar-thumb ",i.cmp.thumbClass,""))},dependencies:[Ot,$o],styles:[".ng-scrollbar-wrapper>scrollbar-y.scrollbar-control{width:var(--vertical-scrollbar-total-size)}  .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track{width:var(--vertical-scrollbar-size);height:calc(100% - var(--scrollbar-padding) * 2)}  .ng-scrollbar-wrapper>scrollbar-y.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{height:0;width:100%}  .ng-scrollbar-wrapper[verticalHovered=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb,   .ng-scrollbar-wrapper[verticalDragging=true]>scrollbar-y.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)}  .ng-scrollbar-wrapper[deactivated=false]>scrollbar-y.scrollbar-control{top:0;bottom:0}  .ng-scrollbar-wrapper[deactivated=false][dir=ltr]>scrollbar-y.scrollbar-control{right:0;left:unset}  .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertY]>scrollbar-y.scrollbar-control,   .ng-scrollbar-wrapper[deactivated=false][dir=ltr][position=invertAll]>scrollbar-y.scrollbar-control{left:0;right:unset}  .ng-scrollbar-wrapper[deactivated=false][dir=rtl]>scrollbar-y.scrollbar-control{left:0;right:unset}  .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertY]>scrollbar-y.scrollbar-control,   .ng-scrollbar-wrapper[deactivated=false][dir=rtl][position=invertAll]>scrollbar-y.scrollbar-control{left:unset;right:0}  .ng-scrollbar-wrapper[deactivated=false][track=all]>scrollbar-y.scrollbar-control[fit=true]{bottom:var(--scrollbar-total-size);top:0}  .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertX]>scrollbar-y.scrollbar-control[fit=true],   .ng-scrollbar-wrapper[deactivated=false][track=all][position=invertAll]>scrollbar-y.scrollbar-control[fit=true]{top:var(--scrollbar-total-size);bottom:0}"],changeDetection:0})}}return t})(),mc=(()=>{class t extends ra{get viewportScrollSize(){return this.cmp.viewport.scrollWidth}constructor(e,n,i,r,p){super(e.nativeElement,n,i,r,p),this.cmp=n,this.platform=i,this.document=r,this.zone=p}setHovered(e){this.cmp.setHovered({horizontalHovered:e})}static{this.\u0275fac=function(n){return new(n||t)(y(j),y(X),y(Oe),y(Y),y(ee))}}static{this.\u0275cmp=H({type:t,selectors:[["scrollbar-x"]],viewQuery:function(n,i){if(n&1&&(L(Et,7),L(Xo,7)),n&2){let r;F(r=N())&&(i.track=r.first),F(r=N())&&(i.thumb=r.first)}},hostVars:2,hostBindings:function(n,i){n&2&&xe("scrollbar-control",!0)},standalone:!0,features:[K,J],decls:2,vars:6,consts:[["scrollbarTrackX",""],["scrollbarThumbX",""]],template:function(n,i){n&1&&(a(0,"div",0),b(1,"div",1),o()),n&2&&(Ae("ng-scrollbar-track ",i.cmp.trackClass,""),s(),Ae("ng-scrollbar-thumb ",i.cmp.thumbClass,""))},dependencies:[Et,Xo],styles:[".ng-scrollbar-wrapper>scrollbar-x.scrollbar-control{height:var(--horizontal-scrollbar-total-size)}  .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track{height:var(--horizontal-scrollbar-size);width:calc(100% - var(--scrollbar-padding) * 2)}  .ng-scrollbar-wrapper>scrollbar-x.scrollbar-control>.ng-scrollbar-track>.ng-scrollbar-thumb{width:0;height:100%}  .ng-scrollbar-wrapper[horizontalHovered=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb,   .ng-scrollbar-wrapper[horizontalDragging=true]>scrollbar-x.scrollbar-control .ng-scrollbar-thumb{background-color:var(--scrollbar-thumb-hover-color)}  .ng-scrollbar-wrapper[position=invertX]>scrollbar-x.scrollbar-control,   .ng-scrollbar-wrapper[position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset}  .ng-scrollbar-wrapper[deactivated=false]>scrollbar-x.scrollbar-control{left:0;right:0;bottom:0;top:unset}  .ng-scrollbar-wrapper[deactivated=false][position=invertX]>scrollbar-x.scrollbar-control,   .ng-scrollbar-wrapper[deactivated=false][position=invertAll]>scrollbar-x.scrollbar-control{top:0;bottom:unset}  .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0}  .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertY]>scrollbar-x.scrollbar-control[fit=true],   .ng-scrollbar-wrapper[deactivated=false][track=all][dir=ltr][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0}  .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl]>scrollbar-x.scrollbar-control[fit=true]{left:var(--scrollbar-total-size);right:0}  .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertY]>scrollbar-x.scrollbar-control[fit=true],   .ng-scrollbar-wrapper[deactivated=false][track=all][dir=rtl][position=invertAll]>scrollbar-x.scrollbar-control[fit=true]{right:var(--scrollbar-total-size);left:0}"],changeDetection:0})}}return t})(),hc=new ye("NG_SCROLLBAR_OPTIONS"),ea={viewClass:"",trackClass:"",thumbClass:"",track:"vertical",appearance:"compact",visibility:"native",position:"native",pointerEventsMethod:"viewport",trackClickScrollDuration:300,minThumbSize:20,windowResizeDebounce:0,sensorDebounce:0,scrollAuditTime:0,viewportPropagateMouseMove:!0,autoHeightDisabled:!0,autoWidthDisabled:!0,sensorDisabled:!1,pointerEventsDisabled:!1},oa=(()=>{class t{constructor(e){this.globalOptions=e?R(R({},ea),e):ea,this.rtlScrollAxisType=tt()}static{this.\u0275fac=function(n){return new(n||t)(B(hc,8))}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),uc=(()=>{class t{constructor(e,n,i){this.document=e,this.manager=n,this.platform=i,this._scrollbarSize=new Ut(this.getNativeScrollbarSize()),this.scrollbarSize=this._scrollbarSize.asObservable(),i.isBrowser&&V(this.document.defaultView,"resize",{passive:!0}).pipe(pt(this.manager.globalOptions.windowResizeDebounce),U(()=>this.getNativeScrollbarSize()),ze(),A(r=>this._scrollbarSize.next(r))).subscribe()}getNativeScrollbarSize(){if(!this.platform.isBrowser)return 0;if(this.platform.IOS)return 6;let e=this.document.createElement("div");e.className="ng-scrollbar-measure",e.style.left="0px",e.style.overflow="scroll",e.style.position="fixed",e.style.top="-9999px",this.document.body.appendChild(e);let n=e.getBoundingClientRect().right;return this.document.body.removeChild(e),n}static{this.\u0275fac=function(n){return new(n||t)(B(Y),B(oa),B(Oe))}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),gc=(()=>{class t{constructor(e,n,i){this.renderer=n,this.hideNativeScrollbar=i,this._subscriber=Rt.EMPTY,this._subscriber=i.scrollbarSize.subscribe(r=>{this.renderer.setStyle(e.nativeElement,"--native-scrollbar-size",`-${r}px`,$t.DashCase)})}ngOnDestroy(){this._subscriber.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(y(j),y(we),y(uc))}}static{this.\u0275dir=W({type:t,selectors:[["","hideNativeScrollbar",""]],standalone:!0})}}return t})(),vc=(()=>{class t{get debounce(){return this._debounce}set debounce(e){this._debounce=yt(e),this._subscribe()}get disabled(){return this._disabled}set disabled(e){this._disabled=pe(e),this._disabled?this._unsubscribe():this._subscribe()}constructor(e,n,i){if(this.zone=e,this.platform=n,this.scrollbar=i,this._disabled=!1,this._currentSubscription=null,this.event=new De,!i)throw new Error("[NgScrollbar Resize Sensor Directive]: Host element must be an NgScrollbar component.")}ngAfterContentInit(){!this._currentSubscription&&!this._disabled&&this._subscribe()}ngOnDestroy(){this._unsubscribe()}_subscribe(){if(this._unsubscribe(),this.platform.isBrowser){let e=new be(n=>{this._resizeObserver=new ResizeObserver(i=>n.next(i)),this._resizeObserver.observe(this.scrollbar.viewport.nativeElement),this.scrollbar.viewport.contentWrapperElement&&this._resizeObserver.observe(this.scrollbar.viewport.contentWrapperElement)});this.zone.runOutsideAngular(()=>{this._currentSubscription=(this._debounce?e.pipe(pt(this._debounce)):e).subscribe(this.event)})}}_unsubscribe(){this._resizeObserver?.disconnect(),this._currentSubscription?.unsubscribe()}static{this.\u0275fac=function(n){return new(n||t)(y(ee),y(Oe),y(X))}}static{this.\u0275dir=W({type:t,selectors:[["","resizeSensor",""]],inputs:{debounce:[0,"sensorDebounce","debounce"],disabled:[0,"sensorDisabled","disabled"]},outputs:{event:"resizeSensor"},standalone:!0})}}return t})(),aa=(()=>{class t{get disabled(){return this._disabled}set disabled(e){this._disabled=pe(e)}get sensorDisabled(){return this._sensorDisabled}set sensorDisabled(e){this._sensorDisabled=pe(e)}get pointerEventsDisabled(){return this._pointerEventsDisabled}set pointerEventsDisabled(e){this._pointerEventsDisabled=pe(e)}get viewportPropagateMouseMove(){return this._viewportPropagateMouseMove}set viewportPropagateMouseMove(e){this._viewportPropagateMouseMove=pe(e)}get autoHeightDisabled(){return this._autoHeightDisabled}set autoHeightDisabled(e){this._autoHeightDisabled=pe(e)}get autoWidthDisabled(){return this._autoWidthDisabled}set autoWidthDisabled(e){this._autoWidthDisabled=pe(e)}get nativeElement(){return this.el.nativeElement}constructor(e,n,i,r,p,l){this.el=e,this.zone=n,this.changeDetectorRef=i,this.dir=r,this.smoothScroll=p,this.manager=l,this._disabled=!1,this._sensorDisabled=this.manager.globalOptions.sensorDisabled,this._pointerEventsDisabled=this.manager.globalOptions.pointerEventsDisabled,this._autoHeightDisabled=this.manager.globalOptions.autoHeightDisabled,this._autoWidthDisabled=this.manager.globalOptions.autoWidthDisabled,this._viewportPropagateMouseMove=this.manager.globalOptions.viewportPropagateMouseMove,this.viewClass=this.manager.globalOptions.viewClass,this.trackClass=this.manager.globalOptions.trackClass,this.thumbClass=this.manager.globalOptions.thumbClass,this.minThumbSize=this.manager.globalOptions.minThumbSize,this.trackClickScrollDuration=this.manager.globalOptions.trackClickScrollDuration,this.pointerEventsMethod=this.manager.globalOptions.pointerEventsMethod,this.track=this.manager.globalOptions.track,this.visibility=this.manager.globalOptions.visibility,this.appearance=this.manager.globalOptions.appearance,this.position=this.manager.globalOptions.position,this.sensorDebounce=this.manager.globalOptions.sensorDebounce,this.scrollAuditTime=this.manager.globalOptions.scrollAuditTime,this.updated=new De,this.state={},this.destroyed=new ae}updateState(){let e=!1,n=!1,i=!1,r=!1;(this.track==="all"||this.track==="vertical")&&(i=this.viewport.scrollHeight>this.viewport.clientHeight,e=this.visibility==="always"||i),(this.track==="all"||this.track==="horizontal")&&(r=this.viewport.scrollWidth>this.viewport.clientWidth,n=this.visibility==="always"||r),this.setState({position:this.position,track:this.track,appearance:this.appearance,visibility:this.visibility,deactivated:this.disabled,dir:this.dir.value,pointerEventsMethod:this.pointerEventsMethod,verticalUsed:e,horizontalUsed:n,isVerticallyScrollable:i,isHorizontallyScrollable:r})}setState(e){this.state=R(R({},this.state),e),this.changeDetectorRef.detectChanges()}getScrolledByDirection(e){let n;return this.scrolled.pipe(A(i=>n=i),U(i=>i.target[e]),Wt(),Le(([i,r])=>i!==r),U(()=>n))}setHovered(e){this.zone.run(()=>this.setState(R({},e)))}setDragging(e){this.zone.run(()=>this.setState(R({},e)))}setClicked(e){this.zone.run(()=>this.setState({scrollbarClicked:e}))}ngOnInit(){this.zone.runOutsideAngular(()=>{this.customViewPort?(this.viewport=this.customViewPort,this.defaultViewPort.setAsWrapper()):this.viewport=this.defaultViewPort,this.viewport.setAsViewport(this.viewClass);let e=V(this.viewport.nativeElement,"scroll",{passive:!0});e=this.scrollAuditTime?e.pipe(Bt(this.scrollAuditTime)):e,this.scrolled=e.pipe(q(this.destroyed)),this.verticalScrolled=this.getScrolledByDirection("scrollTop"),this.horizontalScrolled=this.getScrolledByDirection("scrollLeft")})}ngOnChanges(e){this.viewport&&this.update()}ngAfterViewInit(){this.update(),this.dir.change.pipe(A(()=>this.update()),q(this.destroyed)).subscribe()}ngOnDestroy(){this.destroyed.next(),this.destroyed.complete()}update(){this.autoHeightDisabled||this.updateHeight(),this.autoWidthDisabled||this.updateWidth(),this.updateState(),this.updated.next()}scrollTo(e){return this.smoothScroll.scrollTo(this.viewport.nativeElement,e)}scrollToElement(e,n){return this.smoothScroll.scrollToElement(this.viewport.nativeElement,e,n)}updateHeight(){this.appearance==="standard"&&this.scrollbarX?this.nativeElement.style.height=`${this.viewport.contentHeight+this.scrollbarX.nativeElement.clientHeight}px`:this.nativeElement.style.height=`${this.viewport.contentHeight}px`}updateWidth(){this.appearance==="standard"&&this.scrollbarY?this.nativeElement.style.width=`${this.viewport.contentWidth+this.scrollbarY.nativeElement.clientWidth}px`:this.nativeElement.style.width=`${this.viewport.contentWidth}px`}static{this.\u0275fac=function(n){return new(n||t)(y(j),y(ee),y(Je),y(Ct),y(Zo),y(oa))}}static{this.\u0275cmp=H({type:t,selectors:[["ng-scrollbar"]],contentQueries:function(n,i,r){if(n&1&&oi(r,Mt,7),n&2){let p;F(p=N())&&(i.customViewPort=p.first)}},viewQuery:function(n,i){if(n&1&&(L(ic,5,j),L(nc,5,j),L(Mt,7)),n&2){let r;F(r=N())&&(i.scrollbarY=r.first),F(r=N())&&(i.scrollbarX=r.first),F(r=N())&&(i.defaultViewPort=r.first)}},hostVars:2,hostBindings:function(n,i){n&2&&xe("ng-scrollbar",!0)},inputs:{disabled:"disabled",sensorDisabled:"sensorDisabled",pointerEventsDisabled:"pointerEventsDisabled",viewportPropagateMouseMove:"viewportPropagateMouseMove",autoHeightDisabled:"autoHeightDisabled",autoWidthDisabled:"autoWidthDisabled",viewClass:"viewClass",trackClass:"trackClass",thumbClass:"thumbClass",minThumbSize:"minThumbSize",trackClickScrollDuration:"trackClickScrollDuration",pointerEventsMethod:"pointerEventsMethod",track:"track",visibility:"visibility",appearance:"appearance",position:"position",sensorDebounce:"sensorDebounce",scrollAuditTime:"scrollAuditTime"},outputs:{updated:"updated"},exportAs:["ngScrollbar"],standalone:!0,features:[le([{provide:X,useExisting:t}]),Qt,J],ngContentSelectors:rc,decls:6,vars:4,consts:[["scrollbarX",""],["scrollbarY",""],[1,"ng-scrollbar-wrapper",3,"ngAttr"],[1,"ng-scroll-viewport-wrapper",3,"resizeSensor","sensorDebounce","sensorDisabled"],["scrollViewport","","hideNativeScrollbar",""],[4,"ngIf"]],template:function(n,i){n&1&&(ni(),a(0,"div",2)(1,"div",3),_("resizeSensor",function(){return i.update()}),a(2,"div",4)(3,"div"),ri(4),o()()(),C(5,sc,3,2,"ng-container",5),o()),n&2&&(m("ngAttr",i.state),s(),m("sensorDebounce",i.sensorDebounce)("sensorDisabled",i.sensorDisabled),s(4),m("ngIf",!i.disabled))},dependencies:[Ee,lc,vc,Mt,gc,mc,pc],styles:[".ng-scrollbar-measure{scrollbar-width:none;-ms-overflow-style:none}  .ng-scrollbar-measure::-webkit-scrollbar{display:none}[_nghost-%COMP%]{--scrollbar-border-radius: 7px;--scrollbar-padding: 4px;--scrollbar-track-color: transparent;--scrollbar-thumb-color: rgba(0, 0, 0, .2);--scrollbar-thumb-hover-color: var(--scrollbar-thumb-color);--scrollbar-size: 5px;--scrollbar-hover-size: var(--scrollbar-size);--scrollbar-overscroll-behavior: initial;--scrollbar-transition-duration: .4s;--scrollbar-transition-delay: .8s;--scrollbar-thumb-transition: height ease-out .15s, width ease-out .15s;--scrollbar-track-transition: height ease-out .15s, width ease-out .15s;display:block;position:relative;height:100%;max-height:100%;max-width:100%;box-sizing:content-box!important}[_nghost-%COMP%] > .ng-scrollbar-wrapper[_ngcontent-%COMP%]{--scrollbar-total-size: calc(var(--scrollbar-size) + var(--scrollbar-padding) * 2);--vertical-scrollbar-size: var(--scrollbar-size);--horizontal-scrollbar-size: var(--scrollbar-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalDragging=true][_ngcontent-%COMP%]{--vertical-scrollbar-size: var(--scrollbar-hover-size);--vertical-scrollbar-total-size: calc(var(--vertical-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalHovered=true][_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalDragging=true][_ngcontent-%COMP%]{--horizontal-scrollbar-size: var(--scrollbar-hover-size);--horizontal-scrollbar-total-size: calc(var(--horizontal-scrollbar-size) + var(--scrollbar-padding) * 2);cursor:default}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:var(--scrollbar-total-size);right:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=ltr][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content{padding-left:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{left:0;right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertY][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][verticalUsed=true][position=invertAll][dir=rtl][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content{padding-right:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:0;bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content{padding-bottom:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=scrollbar][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{top:var(--scrollbar-total-size);bottom:0}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertX][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%] > .ng-scroll-content[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][appearance=standard][horizontalUsed=true][position=invertAll][pointerEventsMethod=viewport][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport>.ng-scroll-content{padding-top:var(--scrollbar-total-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%]::-webkit-scrollbar, [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport::-webkit-scrollbar{display:none}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-native-scrollbar-hider{bottom:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-native-scrollbar-hider{left:0;right:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-native-scrollbar-hider[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][verticalUsed=true][dir=rtl][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-native-scrollbar-hider{right:0;left:var(--native-scrollbar-size)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%] > .scrollbar-control[_ngcontent-%COMP%]{opacity:0;transition-property:opacity;transition-duration:var(--scrollbar-transition-duration);transition-delay:var(--scrollbar-transition-delay)}[_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:hover > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:active > .scrollbar-control[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[deactivated=false][visibility=hover][_ngcontent-%COMP%]:focus > .scrollbar-control[_ngcontent-%COMP%]{opacity:1;transition-duration:var(--scrollbar-transition-duration);transition-delay:0ms}[_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{overflow-x:auto;overflow-y:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{overflow-y:auto;overflow-x:hidden}[_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > .ng-scroll-viewport[_ngcontent-%COMP%], [_nghost-%COMP%] > .ng-scrollbar-wrapper[verticalUsed=true][horizontalUsed=true][_ngcontent-%COMP%] > .ng-scroll-viewport-wrapper[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] > *[_ngcontent-%COMP%] >   .ng-scroll-viewport{overflow:auto}.ng-scroll-viewport-wrapper[_ngcontent-%COMP%]{overflow:hidden}.ng-scroll-viewport[_ngcontent-%COMP%]{-webkit-overflow-scrolling:touch;contain:strict;will-change:scroll-position;overscroll-behavior:var(--scrollbar-overscroll-behavior)}  .ng-scroll-content{display:inline-block;min-width:100%}.ng-scrollbar-wrapper[_ngcontent-%COMP%], .ng-scroll-viewport-wrapper[_ngcontent-%COMP%], .ng-scroll-layer[_ngcontent-%COMP%],   .ng-scroll-viewport{position:absolute;inset:0}",".ng-scrollbar-wrapper[pointerEventsMethod=viewport]>.scrollbar-control{pointer-events:none}  .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport,   .ng-scrollbar-wrapper[horizontalDragging=true]>.ng-scroll-viewport-wrapper>*>*>  .ng-scroll-viewport,   .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport,   .ng-scrollbar-wrapper[verticalDragging=true]>.ng-scroll-viewport-wrapper>*>*>  .ng-scroll-viewport,   .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>.ng-scroll-viewport,   .ng-scrollbar-wrapper[scrollbarClicked=true]>.ng-scroll-viewport-wrapper>*>*>  .ng-scroll-viewport{-webkit-user-select:none;-moz-user-select:none;user-select:none}  .ng-scrollbar-wrapper>.scrollbar-control{position:absolute;display:flex;justify-content:center;align-items:center;transition:var(--scrollbar-track-transition)}  .ng-scrollbar-wrapper>.scrollbar-control[scrollable=false] .ng-scrollbar-thumb{display:none}  .ng-scrollbar-track{height:100%;width:100%;z-index:1;border-radius:var(--scrollbar-border-radius);background-color:var(--scrollbar-track-color);overflow:hidden;transition:var(--scrollbar-track-transition);cursor:default}  .ng-scrollbar-thumb{box-sizing:border-box;position:relative;border-radius:inherit;background-color:var(--scrollbar-thumb-color);transform:translateZ(0);transition:var(--scrollbar-thumb-transition)}"],changeDetection:0})}}return t})();var kt=[{name:"Dashboard",url:"/dashboard",iconComponent:{name:"cilSpeedometer"},visible:!0},{name:"My BluVault",url:"/bluvault",iconComponent:{name:"cilLayers"},visible:!0},{name:"Settings",url:"/settings",iconComponent:{name:"cilSettings"},visible:!0},{name:"Manage assets",url:"/manageAssets",iconComponent:{name:"cilSitemap"},visible:!0},{name:"Policy Management",url:"/pms",iconComponent:{name:"cilSitemap"},visible:!0},{name:"User Migration",url:"/userMigration",iconComponent:{name:"cilTransfer"},visible:!0},{name:"Users",url:"/users",iconComponent:{name:"cilPeople"},visible:!0},{name:"Unusual Activity Dashboard",url:"/manageUnusualActivities",iconComponent:{name:"cilShieldAlt"},visible:!0},{name:"Support",url:"/support",iconComponent:{name:"cilHandshake"},visible:!0},{name:"Downloads",url:"/downloads",iconComponent:{name:"cilCloudDownload"},visible:!0}];var fc=()=>["/dashboard"];function _c(t,c){t&1&&(a(0,"c-sidebar-footer",9),b(1,"button",14),o())}var sa=(()=>{class t{constructor(e){this.sharedService=e,this.navItems=kt,this.parabluLogo="",this.crashplanLogo="",this.imageSrc=["assets/images/angular.jpg","assets/images/react.jpg","assets/images/vue.jpg","assets/images/logo-prob.png","https://picsum.photos/id/1/800/400","https://picsum.photos/id/1026/800/400","https://picsum.photos/id/1031/800/400","assets/images/crashplan-logo.png"],this.navItems=this.getFilteredNavItems(),this.parabluLogo=this.imageSrc[3],this.crashplanLogo=this.imageSrc[7]}onScrollbarUpdate(e){}getFilteredNavItems(){return kt.map(e=>(e.name==="My BluVault"||e.name==="Downloads"?e.visible=!0:e.visible=this.shouldShowSettings(),e)).filter(e=>e.visible)}shouldShowSettings(){return this.sharedService.getDataByKey("userType")!="user"}static{this.\u0275fac=function(n){return new(n||t)(y(he))}}static{this.\u0275cmp=H({type:t,selectors:[["app-dashboard"]],standalone:!0,features:[le([]),J],decls:16,vars:6,consts:[["sidebar1","cSidebar"],["scrollbar","ngScrollbar"],["overflow",""],["colorScheme","dark","id","sidebar1","visible","",1,"d-print-none","sidebar","sidebar-fixed","border-end"],[1,"border-bottom",2,"background","white","cursor","pointer"],[3,"routerLink"],["alt","Parablu","loading","lazy",1,"d-block","w-100",3,"src"],["pointerEventsMethod","scrollbar","visibility","hover",1,"overflow",3,"updated"],["dropdownMode","close","compact","",3,"navItems"],["cSidebarToggle","sidebar1","toggle","unfoldable",1,"border-top","d-none","d-lg-flex",2,"cursor","pointer"],[1,"wrapper","d-flex","flex-column","min-vh-100"],["position","sticky","sidebarId","sidebar1",1,"mb-4","d-print-none","header","header-sticky","p-0","shadow-sm",3,"cShadowOnScroll"],[1,"body","flex-grow-1"],["breakpoint","lg",1,"h-auto","px-4"],["cSidebarToggler","","aria-label","Toggle sidebar fold"]],template:function(n,i){if(n&1){let r=x();a(0,"c-sidebar",3,0)(2,"c-sidebar-header",4)(3,"c-sidebar-brand",5),b(4,"img",6),o()(),a(5,"ng-scrollbar",7,1),_("updated",function(){u(r);let l=ie(6);return g(i.onScrollbarUpdate(l.state))}),b(7,"c-sidebar-nav",8,2),o(),C(9,_c,2,0,"c-sidebar-footer",9),o(),a(10,"div",10),b(11,"app-default-header",11),a(12,"div",12)(13,"c-container",13),b(14,"router-outlet"),o()(),b(15,"app-default-footer"),o()}if(n&2){let r=ie(1);s(3),m("routerLink",ce(5,fc)),s(),m("src",i.crashplanLogo,Xt),s(3),m("navItems",i.navItems),s(2),ii(r.narrow?-1:9),s(2),m("cShadowOnScroll","sm")}},dependencies:[no,ao,ro,Ze,aa,lo,so,st,oo,Jo,Rr,at,Ke,Ho],styles:["[_nghost-%COMP%]   .ng-scrollbar[_ngcontent-%COMP%]{--scrollbar-padding: 1px;--scrollbar-size: 5px;--scrollbar-thumb-color: var(--cui-gray-500, #999);--scrollbar-thumb-hover-color: var(--cui-gray-400, #999);--scrollbar-hover-size: calc(var(--scrollbar-size) * 1.5)}"]})}}return t})();var f=(()=>{class t{constructor(e,n){this.router=e,this.sharedService=n}canActivate(e){let n=this.sharedService.getDataByKey("userType");return e.data.roles.includes(n)?!0:(this.router.navigate(["/404"]),!1)}static{this.\u0275fac=function(n){return new(n||t)(B(de),B(he))}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var la=[{path:"",redirectTo:"login",pathMatch:"full"},{path:"",component:sa,children:[{path:"dashboard",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-7QFOQN4E.js").then(t=>t.routes)},{path:"bluvault",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-LQSWYY47.js").then(t=>t.routes)},{path:"backup/files",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-CFKWDP2T.js").then(t=>t.routes)},{path:"assetRestore",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-CYGF77G3.js").then(t=>t.routes)},{path:"manageAssets",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-L7KQLQ5F.js").then(t=>t.routes)},{path:"manageAssets/bulkAssetOperation",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-PNTWQT7R.js").then(t=>t.routes)},{path:"pms",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-ZZMPSH3Z.js").then(t=>t.routes)},{path:"pms/policy",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-DPCM45BL.js").then(t=>t.routes)},{path:"pms/policy/create",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-G6ZBE7RZ.js").then(t=>t.routes)},{path:"pms/policy/edit",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-QXL2R2KB.js").then(t=>t.routes)},{path:"pms/policy/clone",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-7PDFV3RL.js").then(t=>t.routes)},{path:"pms/policy/singlePolicyMapping",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-V7IBRMQD.js").then(t=>t.routes)},{path:"pms/policy/bulkPolicyMapping",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-V43RC4PE.js").then(t=>t.routes)},{path:"pms/oneDrivePolicy",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-L2IXJPFB.js").then(t=>t.routes)},{path:"pms/oneDrivePolicy/create",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-NHQYRALF.js").then(t=>t.routes)},{path:"pms/oneDrivePolicy/edit",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-YH5BYTVH.js").then(t=>t.routes)},{path:"pms/oneDrivePolicy/clone",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-33DZ5WER.js").then(t=>t.routes)},{path:"pms/oneDrivePolicy/singlePolicyMapping",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-N7TXR6BL.js").then(t=>t.routes)},{path:"pms/oneDrivePolicy/bulkPolicyMapping",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-FOPNKXRC.js").then(t=>t.routes)},{path:"pms/exchangePolicy",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-57VM2L4E.js").then(t=>t.routes)},{path:"pms/exchangePolicy/create",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-XBBROIGW.js").then(t=>t.routes)},{path:"pms/exchangePolicy/edit",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-JXCZJLI3.js").then(t=>t.routes)},{path:"pms/exchangePolicy/clone",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-667SLRZM.js").then(t=>t.routes)},{path:"pms/exchangePolicy/singlePolicyMapping",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-FKHHC7T4.js").then(t=>t.routes)},{path:"pms/exchangePolicy/bulkPolicyMapping",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-C3XRDOUS.js").then(t=>t.routes)},{path:"pms/sharepointPolicy",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-ZLMFUFU2.js").then(t=>t.routes)},{path:"pms/sharepointPolicy/create",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-MOI6GYAP.js").then(t=>t.routes)},{path:"pms/sharepointPolicy/edit",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-LQUYNL27.js").then(t=>t.routes)},{path:"pms/sharepointPolicy/clone",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-NSYIP5J5.js").then(t=>t.routes)},{path:"pms/sharepointPolicy/policyMapping",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-I5CFJXNB.js").then(t=>t.routes)},{path:"pms/schedules",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-WGR3G3ET.js").then(t=>t.routes)},{path:"pms/noBackupWindows",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-4PD4RSDU.js").then(t=>t.routes)},{path:"pms/filters",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-LTR6V6RL.js").then(t=>t.routes)},{path:"settings",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-67K3OSJM.js").then(t=>t.routes)},{path:"settings/agentManager",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-KGLRS73P.js").then(t=>t.routes)},{path:"settings/globalSettings",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-6KNIUO6R.js").then(t=>t.routes)},{path:"settings/aadCredentials",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-JMQVKJ2X.js").then(t=>t.routes)},{path:"azure",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-JMQVKJ2X.js").then(t=>t.routes)},{path:"adminConsentMultiTenant",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-X7KTT5BO.js").then(t=>t.routes)},{path:"settings/adCredentials",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-GYFPNQST.js").then(t=>t.routes)},{path:"settings/cloudCredentials",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-P6GU6V4T.js").then(t=>t.routes)},{path:"settings/proxy",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-KKMBZW4J.js").then(t=>t.routes)},{path:"settings/metadataProperties",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-TEVYUEX7.js").then(t=>t.routes)},{path:"settings/paracloudblukrypt",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-FP44DMQJ.js").then(t=>t.routes)},{path:"settings/dataMigration",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-5JXT4EM3.js").then(t=>t.routes)},{path:"settings/c2cSettings",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-WQEBLUUZ.js").then(t=>t.routes)},{path:"settings/smtp",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-POJ3DAQC.js").then(t=>t.routes)},{path:"settings/siem",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-C4KIX3RI.js").then(t=>t.routes)},{path:"settings/m365Settings",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-AODSHEVY.js").then(t=>t.routes)},{path:"settings/m365Settings/m365TenantSettings",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-ZXLHVOPZ.js").then(t=>t.routes)},{path:"settings/m365Settings/exchangeSettings",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-X5GZVDQN.js").then(t=>t.routes)},{path:"settings/m365Settings/m365BackupAgentSettings",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-AUIJVVLT.js").then(t=>t.routes)},{path:"settings/keyManager",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-SNQ4ZDP7.js").then(t=>t.routes)},{path:"userMigration",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-FA34QS2A.js").then(t=>t.routes)},{path:"userMigration/importUsers",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-PBAYTQ4E.js").then(t=>t.routes)},{path:"report/userMigration",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-FJSSHEET.js").then(t=>t.routes)},{path:"users",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-A72WOACO.js").then(t=>t.routes)},{path:"users/create",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-3H4EY3WE.js").then(t=>t.routes)},{path:"users/edit",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-6UXNUMZM.js").then(t=>t.routes)},{path:"users/profile",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-KOEJLOYC.js").then(t=>t.routes)},{path:"users/bulkUserOperation",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-TKQXG7WY.js").then(t=>t.routes)},{path:"activityHistory",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-C7656Z3I.js").then(t=>t.routes)},{path:"unusualActivityHistory",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-6IZVI52O.js").then(t=>t.routes)},{path:"endpointsDownload",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-OFJRZOR5.js").then(t=>t.routes)},{path:"backupSummary",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-SD4EJ3IA.js").then(t=>t.routes)},{path:"support",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-SROBTXJM.js").then(t=>t.routes)},{path:"support/licenseKey",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-X6G52VHL.js").then(t=>t.routes)},{path:"downloads",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-KPMPGDWT.js").then(t=>t.routes)},{path:"report/dataProtectionScorecard/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-XD7FNIHQ.js").then(t=>t.routes)},{path:"report/backupOverview/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-LQW6XGFN.js").then(t=>t.routes)},{path:"report/backupHistory/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-F7KKFPHZ.js").then(t=>t.routes)},{path:"report/restoreHistory/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-K5LJB2NG.js").then(t=>t.routes)},{path:"report/assetsNotProtected/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-E7HFWTZD.js").then(t=>t.routes)},{path:"report/assetHeartbeat/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-UTII3AJG.js").then(t=>t.routes)},{path:"report/usersWithoutAssetsProtected/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-G7AQZYYE.js").then(t=>t.routes)},{path:"report/usersWithoutAssets/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-CMJN2WOL.js").then(t=>t.routes)},{path:"report/assetAssigned/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-OVM5JWKF.js").then(t=>t.routes)},{path:"report/capacityManagement/:productType",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]},loadChildren:()=>import("./chunk-NZ2FHA4Z.js").then(t=>t.routes)},{path:"policyConfig",canActivate:[f],data:{roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin","user"]},loadChildren:()=>import("./chunk-6Q3ZSGPM.js").then(t=>t.routes)},{path:"manageUnusualActivities",canActivate:[f],data:{roles:["superAdmin","admin"]},loadChildren:()=>import("./chunk-ASAMS6SW.js").then(t=>t.routes)},{path:"theme",loadChildren:()=>import("./chunk-6DTAZBFU.js").then(t=>t.routes)},{path:"base",loadChildren:()=>import("./chunk-NU5L2MYA.js").then(t=>t.routes)},{path:"buttons",loadChildren:()=>import("./chunk-5F54YEM2.js").then(t=>t.routes)},{path:"forms",loadChildren:()=>import("./chunk-QVDICAKF.js").then(t=>t.routes)},{path:"icons",loadChildren:()=>import("./chunk-RMQKR7TG.js").then(t=>t.routes)},{path:"notifications",loadChildren:()=>import("./chunk-ZYZRZFF7.js").then(t=>t.routes)},{path:"widgets",loadChildren:()=>import("./chunk-JKRL5M5V.js").then(t=>t.routes)},{path:"charts",loadChildren:()=>import("./chunk-O4XBFWJQ.js").then(t=>t.routes)},{path:"pages",loadChildren:()=>import("./chunk-V67JACVU.js").then(t=>t.routes)}]},{path:"pms/policy/create",loadComponent:()=>import("./chunk-GAAX2DND.js").then(t=>t.CreateComponent),data:{title:"Policy Create"}},{path:"toast",component:Vo,data:{title:"Toast"}},{path:"404",loadComponent:()=>import("./chunk-MMLGPEPU.js").then(t=>t.Page404Component),data:{title:"Page 404"}},{path:"500",loadComponent:()=>import("./chunk-S4LYKPNR.js").then(t=>t.Page500Component),data:{title:"Page 500"}},{path:"503",loadComponent:()=>import("./chunk-LCAZWGYN.js").then(t=>t.Page503Component),data:{title:"Page 503"}},{path:"login",loadComponent:()=>import("./chunk-6AK5IUFN.js").then(t=>t.LoginComponent),data:{title:"Login Page"}},{path:"ssologin",loadComponent:()=>import("./chunk-6AK5IUFN.js").then(t=>t.LoginComponent),data:{title:"Login Page"}},{path:"restPassword",loadComponent:()=>import("./chunk-TX4544HL.js").then(t=>t.ResetPasswordComponent),data:{title:"Reset Password Page"}},{path:"auth",loadComponent:()=>import("./chunk-6AK5IUFN.js").then(t=>t.LoginComponent),data:{title:"Login Page"}},{path:"viewFile/:segment1/:segment2/:segment3/:segment4/:segment5",loadComponent:()=>import("./chunk-6AK5IUFN.js").then(t=>t.LoginComponent),data:{title:"Login Page"}},{path:"fileArchivedView",loadComponent:()=>import("./chunk-6HOEJU4N.js").then(t=>t.FileArchivedViewComponent),data:{title:"Login Page"}},{path:"logout",loadComponent:()=>import("./chunk-IYNEXFYR.js").then(t=>t.LogoutComponent),data:{title:"Logout Page"}},{path:"register",loadComponent:()=>import("./chunk-BTSZUKBF.js").then(t=>t.RegisterComponent),data:{title:"Register Page"}},{path:"policyView",canActivate:[f],loadComponent:()=>import("./chunk-V2EOE37U.js").then(t=>t.PolicyViewComponent),data:{title:"Policy View",roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]}},{path:"onedrivePolicyView",canActivate:[f],loadComponent:()=>import("./chunk-6774KEYR.js").then(t=>t.OnedrivePolicyViewComponent),data:{title:"OneDrive Policy View",roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]}},{path:"exchangePolicyView",canActivate:[f],loadComponent:()=>import("./chunk-JEE2YVFR.js").then(t=>t.ExchangePolicyViewComponent),data:{title:"Microsoft Exchange Policy View",roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]}},{path:"sharepointPolicyView",canActivate:[f],loadComponent:()=>import("./chunk-RQRJ4YOV.js").then(t=>t.SharepointPolicyViewComponent),data:{title:"SharePoint Online Policy View",roles:["superAdmin","admin","readOnlyAdmin","delegatedAdmin"]}}];var bc="@",yc=(()=>{class t{constructor(e,n,i,r,p){this.doc=e,this.delegate=n,this.zone=i,this.animationType=r,this.moduleImpl=p,this._rendererFactoryPromise=null,this.scheduler=ve(ti,{optional:!0}),this.loadingSchedulerFn=ve(Cc,{optional:!0})}ngOnDestroy(){this._engine?.flush()}loadImpl(){let e=()=>this.moduleImpl??import("./chunk-T2UFUOFG.js").then(i=>i),n;return this.loadingSchedulerFn?n=this.loadingSchedulerFn(e):n=e(),n.catch(i=>{throw new Jt(5300,!1)}).then(({\u0275createEngine:i,\u0275AnimationRendererFactory:r})=>{this._engine=i(this.animationType,this.doc);let p=new r(this.delegate,this._engine,this.zone);return this.delegate=p,p})}createRenderer(e,n){let i=this.delegate.createRenderer(e,n);if(i.\u0275type===0)return i;typeof i.throwOnSyntheticProps=="boolean"&&(i.throwOnSyntheticProps=!1);let r=new Pt(i);return n?.data?.animation&&!this._rendererFactoryPromise&&(this._rendererFactoryPromise=this.loadImpl()),this._rendererFactoryPromise?.then(p=>{let l=p.createRenderer(e,n);r.use(l),this.scheduler?.notify(10)}).catch(p=>{r.use(i)}),r}begin(){this.delegate.begin?.()}end(){this.delegate.end?.()}whenRenderingDone(){return this.delegate.whenRenderingDone?.()??Promise.resolve()}static{this.\u0275fac=function(n){ei()}}static{this.\u0275prov=Q({token:t,factory:t.\u0275fac})}}return t})(),Pt=class{constructor(c){this.delegate=c,this.replay=[],this.\u0275type=1}use(c){if(this.delegate=c,this.replay!==null){for(let e of this.replay)e(c);this.replay=null}}get data(){return this.delegate.data}destroy(){this.replay=null,this.delegate.destroy()}createElement(c,e){return this.delegate.createElement(c,e)}createComment(c){return this.delegate.createComment(c)}createText(c){return this.delegate.createText(c)}get destroyNode(){return this.delegate.destroyNode}appendChild(c,e){this.delegate.appendChild(c,e)}insertBefore(c,e,n,i){this.delegate.insertBefore(c,e,n,i)}removeChild(c,e,n){this.delegate.removeChild(c,e,n)}selectRootElement(c,e){return this.delegate.selectRootElement(c,e)}parentNode(c){return this.delegate.parentNode(c)}nextSibling(c){return this.delegate.nextSibling(c)}setAttribute(c,e,n,i){this.delegate.setAttribute(c,e,n,i)}removeAttribute(c,e,n){this.delegate.removeAttribute(c,e,n)}addClass(c,e){this.delegate.addClass(c,e)}removeClass(c,e){this.delegate.removeClass(c,e)}setStyle(c,e,n,i){this.delegate.setStyle(c,e,n,i)}removeStyle(c,e,n){this.delegate.removeStyle(c,e,n)}setProperty(c,e,n){this.shouldReplay(e)&&this.replay.push(i=>i.setProperty(c,e,n)),this.delegate.setProperty(c,e,n)}setValue(c,e){this.delegate.setValue(c,e)}listen(c,e,n){return this.shouldReplay(e)&&this.replay.push(i=>i.listen(c,e,n)),this.delegate.listen(c,e,n)}shouldReplay(c){return this.replay!==null&&c.startsWith(bc)}},Cc=new ye("");function Dt(t="animations"){return He("NgAsyncAnimations"),Yt([{provide:je,useFactory:(c,e,n)=>new yc(c,e,n,t),deps:[Y,Qe,ee]},{provide:Ie,useValue:t==="noop"?"NoopAnimations":"BrowserAnimations"}])}var ca={providers:[vi(),wi(la,Mi({onSameUrlNavigation:"reload"}),Si({scrollPositionRestoration:"top",anchorScrolling:"enabled"}),xi(),Ei()),qt(co,Wr),Xe,jo(),Dt("noop"),Uo({closeButton:!0,autoDismiss:!0,preventDuplicates:!0,positionClass:"toast-bottom-right",timeOut:3e3,progressBar:!0}),Dt(),Te]};function wc(t){return()=>t.loadConfig().toPromise().then(c=>{t.setConfig(c)})}fi(Lo,{providers:[...ca.providers,{provide:ai,useFactory:wc,deps:[Te],multi:!0}]}).catch(t=>console.error(t));export{wc as loadConfig};
