1"use strict";(self.webpackChunkmbs_ui=self.webpackChunkmbs_ui||[]).push([[7633],{71470(G,R,o){o.d(R,{YJ:()=>m,gQ:()=>f,q5:()=>E,tG:()=>x});var m=function(a){return a.AddPermissionToNetworkService="AddPermissionToNetworkService",a.ApprovePlanChanges="ApprovePlanChanges",a.ChangeAuthForm="ChangeAuthForm",a.ChangeCostEstimatesForMBS="ChangeCostEstimatesForMBS",a.ChangeDateTime="ChangeDateTime",a.ChangeEdition="ChangeEdition",a.ChangeNetworkCredentials="ChangeNetworkCredentials",a.ChangeNetworkPassword="ChangeNetworkPassword",a.ChangePasswordAndRestart="ChangePasswordAndRestart",a.ChangeRestorePasswordAndRunPlan="ChangeRestorePasswordAndRunPlan",a.ChangeRvSettingsRunNewRV="ChangeRvSettingsRunNewRV",a.ChangeServiceUser="ChangeServiceUser",a.ChangeSQLTempFolder="ChangeSQLTempFolder",a.ChangeStorageAccount="ChangeStorageAccount",a.ChangeTempFolder="ChangeTempFolder",a.ConfigureObjectLock="ConfigureObjectLock",a.DecryptBitlockerVolume="DecryptBitlockerVolume",a.DeletePlan="DeletePlan",a.DisableChunkTransparency="DisableChunkTransparency",a.DisableFilenameEncryption="DisableFilenameEncryption",a.DisableSkipExistingFiles="DisableSkipExistingFiles",a.DisableVss="DisableVss",a.EnableIgnoreMissingBlocks="EnableIgnoreMissingBlocks",a.EnableOverWriteExistVM="EnableOverWriteExistVM",a.EnableProceedRestoreVerification="EnableProceedRestoreVerification",a.EnableSkipOnDemandFile="EnableSkipOnDemandFile",a.Error1008="Error1008",a.Error1503="Error1503",a.ExcludePath="ExcludePath",a.IncludeUserInGroup="IncludeUserInGroup",a.KeepBitLocker="KeepBitLocker",a.OpenAdvancedFilter="OpenAdvancedFilter",a.OpenAdvancedOption="OpenAdvancedOption",a.OpenCbbService="OpenCbbService",a.OpenDateTime="OpenDateTime",a.OpenEditWizard="OpenEditWizard",a.OpenMemorySettings="OpenMemorySettings",a.OpenNotSupportedForm="OpenNotSupportedForm",a.OpenProxmoxIncomePortOnFirewall="OpenProxmoxIncomePortOnFirewall",a.OpenRestoreVerificationWindow="OpenRestoreVerificationWindow",a.OpenRetentionPolicy="OpenRetentionPolicy",a.OpenScheduleWindow="OpenScheduleWindow",a.ReportIssue="ReportIssue",a.RunFixVssTool="RunFixVssTool",a.RunFullBackup="RunFullBackup",a.SavePlan="SavePlan",a.SelectAvailableSource="SelectAvailableSource",a.ShowAccessDeniedPaths="ShowAccessDeniedPaths",a.ShowFailedItemsInHistory="Show
1FailedItemsInHistory",a.ShowPlanById="ShowPlanById",a.ShowRestorePoint="ShowRestorePoint",a.ViewHistory="ViewHistory",a}(m||{}),f=function(a){return a[a.Error1008=1008]="Error1008",a[a.Error1503=1503]="Error1503",a}(f||{});const x={[m.OpenEditWizard]:!0,[m.OpenScheduleWindow]:!0,[m.OpenAdvancedFilter]:!0,[m.OpenRetentionPolicy]:!0,[m.SelectAvailableSource]:!0,[m.OpenProxmoxIncomePortOnFirewall]:!0,[m.OpenAdvancedOption]:!0,[m.OpenMemorySettings]:!0,[m.ChangeTempFolder]:!0,[m.ChangeSQLTempFolder]:!0,[m.Error1008]:!0,[m.Error1503]:!0,[m.ApprovePlanChanges]:!0,[m.DeletePlan]:!0,[m.RunFullBackup]:!0,[m.SavePlan]:!0,[m.KeepBitLocker]:!0,[m.DisableChunkTransparency]:!0,[m.DisableFilenameEncryption]:!0,[m.DisableSkipExistingFiles]:!0,[m.EnableOverWriteExistVM]:!0,[m.EnableSkipOnDemandFile]:!0,[m.OpenCbbService]:!0,[m.ChangeServiceUser]:!0,[m.EnableIgnoreMissingBlocks]:!0,[m.RunFixVssTool]:!1,[m.DisableVss]:!1,[m.AddPermissionToNetworkService]:!1,[m.ExcludePath]:!1,[m.ShowFailedItemsInHistory]:!0,[m.ViewHistory]:!0,[m.ConfigureObjectLock]:!1},E={kb10154:"kb10155"}},90767(G,R,o){o.d(R,{M:()=>m});var m=function(f){return f[f.DidNotStartOnSchedule=0]="DidNotStartOnSchedule",f[f.SinceLastSuccess=1]="SinceLastSuccess",f[f.NoSuccessRun=2]="NoSuccessRun",f}(m||{})},35559(G,R,o){o.d(R,{T:()=>m});var m=function(f){return f[f.NoStatus=0]="NoStatus",f[f.Created=1]="Created",f[f.Pending=2]="Pending",f[f.Running=3]="Running",f[f.RunningExtended=4]="RunningExtended",f[f.Success=5]="Success",f[f.Warning=6]="Warning",f[f.Failed=7]="Failed",f[f.Total=8]="Total",f}(m||{})},33954(G,R,o){o.d(R,{Y:()=>m});var m=function(f){return f[f.new=0]="new",f[f.inProgress=1]="inProgress",f[f.resolved=2]="resolved",f[f.fail=3]="fail",f}(m||{})},9664(G,R,o){o.d(R,{D:()=>O});var m=o(85240),f=o(4637),x=o(83493),E=o(98497),a=o(71470),_=o(33954),P=o(11806),i=o(54318),y=o(2435),k=o(12481);const b={[a.YJ.RunFixVssTool]:812,[a.YJ.DisableVss]:860,[a.YJ.AddPermissionToNetworkService]:820,[a.YJ.ExcludePath]:83019,[a.YJ.ConfigureObjectLock]:84};let O=(()=>{class C{constructor(){this.ability=(0,m.WQX)(x.K),this.recoveryStatusService=(0,m.WQX)(P.H),this.needDisableOnLoading=!0,this.kbidBase="https://kb.msp360.com/",this.mbsSize=E.suM,this.activeSolutions=a.tG,this.validStatuses=[_.Y.resolved,_.Y.inProgress]}get kbIdLink(){return this.error?.kbid?this.kbidBase+(a.q5[this.error.kbid]||this.error.kbid):""}get solutionProcess(){const c=this.recoveryStatusService.currentActiveSolution;return this.planId===c?.additionalInfo?.planId&&c?.status===_.Y.inProgress}detectChanges(){}ngOnInit(){this.recoveryStatusService.solution.pipe((0,y.$)(),(0,f.s)(this)).subscribe({next:c=>{c?.additionalInfo?.planId===this.planId&&this.validStatuses.includes(c?.status)&&(c.status=_.Y.resolved),this.detectChanges()},complete:i.l,error:i.l})}ngOnChanges(c){const S=c.error?.currentValue;S?.id===a.gQ.Error1008&&this.addSolutionFor1008Error(S),S?.id===a.gQ.Error1503&&this.addSolutionFor1503Error(S),Object.keys(b).forEach(A=>{const U=b[A];c.backupVersion?.currentValue&&c.backupVersion.currentValue>=U&&(this.activeSolutions[A]=!0)}),c.backupVersion?.currentValue&&c.backupVersion.currentValue>=83019&&(this.activeSolutions[a.YJ.ExcludePath]=!0)}trackBySolution(c,S){return S.description}solutionClickHandler(c){this.solutionProcess||this.recoveryStatusService.activateSolution({additionalInfo:{computerName:this.computerName,computerHid:this.computerHid,planName:this.planName,planId:this.planId,dateTimeUTC:this.dateTimeUTC,details:this.error},solution:c})?.activationProgress.subscribe({next:()=>this.detectChanges(),error:()=>this.detectChanges()})}addSolutionFor1008Error(c){c&&(c.solutions?.some(S=>S.action_type===a.YJ.Error1008)||c.solutions?.push({description:"Authorize your computer",action_type:a.YJ.Error1008}))}addSolutionFor1503Error(c){c&&(c.solutions?.some(S=>S.action_type===a.YJ.Error1503)||c.solutions?.push({description:"Change the storage limit for the User ",action_type:a.YJ.Error1503}),c.kbid=c.kbid||"kb00009")}static{this.\u0275fac=function(S){return new(S||C)}}static{this.\u0275dir=k.FsC({type:C,inputs:{error:"error",planId:"planId",planName:"planName",computerName:"computerName",computerHid:"computerHid",backupVersion:"backupVersion",needDisableOnLoading:"needDisableOnLoading",dateTimeUTC:"dateTimeUTC"}
1,features:[k.OA$]})}}return C})()},15896(G,R,o){o.d(R,{z:()=>i});var m=o(12481),f=o(98497),x=o(24875),E=o(91815),a=o(89826),_=o(39545),P=o.n(_);let i=(()=>{class y{constructor(){this.mode=x.O.Backup,this.reportProblem=new m.bkB,this.mbsSize=f.suM,this.planTypes=E.Jz,this.recoveryStatus=a.o}reportProblemHandler(){this.reportProblem.next(void 0)}getOverdueDuration(){return P().duration(this.overdueInfo.duration).humanize()||""}static{this.\u0275fac=function(e){return new(e||y)}}static{this.\u0275dir=m.FsC({type:y,inputs:{recoveryInfo:"recoveryInfo",overdueInfo:"overdueInfo",mode:"mode",plaType:"plaType"},outputs:{reportProblem:"reportProblem"}})}}return y})()},8442(G,R,o){o.d(R,{O:()=>$});var m=o(24398),f=o(85240),x=o(4637),E=o(83493),a=o(33954),_=o(9664),P=o(11806),i=o(98497),y=o(93683),k=o(42892),n=o(36845),e=o(12481);function M(l,g){if(1&l&&(e.nrm(0,"span",12),e.nI1(1,"priority")),2&l){const s=e.XpG(2);e.Y8G("ngClass",e.bMT(1,2,s.error.priority)),e.BMQ("data-e2e",s.elementsSelector.name.errorDetailPriority)}}function t(l,g){if(1&l){const s=e.RV6();e.j41(0,"mbs-button",13),e.bIt("click",function(){const d=f.eBV(s).ngIf,T=e.XpG(2);return f.Njj(T.errorDetailOpenState.set(d,!T.errorDetailOpenState.get(d)))}),e.EFF(1),e.nrm(2,"span",14),e.k0s()}if(2&l){const s=g.ngIf,r=e.XpG(2);e.Y8G("isCtrl",!0)("size",r.mbsSize.xs),e.BMQ("data-e2e",r.elementsSelector.name.errorDetailOpenBtn),e.R7$(),e.SpI(" ",r.error.title," "),e.R7$(),e.AVh("-open",!r.errorDetailOpenState.get(s))}}function L(l,g){if(1&l&&(e.j41(0,"a",17),e.EFF(1),e.k0s()),2&l){const s=e.XpG(3);e.Y8G("href",s.kbIdLink,e.B4B),e.BMQ("data-e2e",s.elementsSelector.name.errorDetailCodeLink),e.R7$(),e.SpI(" ",s.error.id," ")}}function b(l,g){if(1&l&&e.EFF(0),2&l){const s=e.XpG(3);e.JRh(s.error.id)}}function O(l,g){if(1&l&&(e.j41(0,"span",15),e.EFF(1," (code: "),e.DNE(2,L,2,3,"a",16),e.EFF(3,") "),e.DNE(4,b,1,1,"ng-template",null,0,e.C5r),e.k0s()),2&l){const s=e.sdS(5),r=e.XpG(2);e.BMQ("data-e2e",r.elementsSelector.name.errorDetailCodeLinkBlock),e.R7$(2),e.Y8G("ngIf",r.ability.can("read","HelpMarketing")&&(null==r.error?null:r.error.kbid))("ngIfElse",s)}}function C(l,g){if(1&l){const s=e.RV6();e.j41(0,"mbs-button",24),e.bIt("click",function(){f.eBV(s);const d=e.XpG().$implicit,T=e.XpG(3);return f.Njj(T.solutionClickHandler(d))}),e.j41(1,"mbs-text-ellipsis",25),e.EFF(2),e.k0s()()}if(2&l){const s=e.XpG().$implicit,r=e.XpG(3);e.Y8G("isCtrl",!0)("size",r.mbsSize.xs),e.BMQ("data-e2e",r.elementsSelector.name.errorDetailSolutionsDescriptionBtn),e.R7$(),e.HbH("lh-base"),e.Y8G("tooltip",s.description),e.R7$(),e.JRh(s.description)}}function F(l,g){if(1&l&&(e.j41(0,"span",26)(1,"mbs-text-ellipsis",25),e.EFF(2),e.k0s()()),2&l){const s=e.XpG().$implicit;e.R7$(),e.Y8G("tooltip",s.description),e.R7$(),e.JRh(s.description)}}function c(l,g){if(1&l&&(e.j41(0,"div",21),e.nrm(1,"span",22),e.DNE(2,C,3,7,"mbs-button",23)(3,F,3,2,"ng-template",null,1,e.C5r),e.k0s()),2&l){const s=g.$implicit,r=e.sdS(4),d=e.XpG(3);e.BMQ("data-e2e",d.elementsSelector.name.errorDetailSolutionsDescription),e.R7$(),e.BMQ("data-e2e",d.elementsSelector.name.errorDetailSolutionsDescriptionCircle),e.R7$(),e.Y8G("ngIf",d.activeSolutions[s.action_type])("ngIfElse",r)}}function S(l,g){if(1&l&&(e.j41(0,"a",17),e.EFF(1,"Read KB article"),e.k0s()),2&l){const s=e.XpG(3);e.Y8G("href",s.kbIdLink,e.B4B),e.BMQ("data-e2e",s.elementsSelector.name.errorDetailSolutionsLink)}}function A(l,g){if(1&l&&(e.j41(0,"div")(1,"strong",18),e.EFF(2,"Solutions:"),e.k0s(),e.DNE(3,c,5,4,"div",19)(4,S,2,2,"a",20),e.k0s()),2&l){const s=e.XpG(2);e.BMQ("data-e2e",s.elementsSelector.name.errorDetailSolutionsBlock),e.R7$(3),e.Y8G("ngForOf",s.error.solutions)("ngForTrackBy",s.trackBySolution),e.R7$(),e.Y8G("ngIf",s.ability.can("read","HelpMarketing")&&(null==s.error?null:s.error.kbid))}}function U(l,g){if(1&l&&(e.j41(0,"div")(1,"div",3)(2,"div",4),e.DNE(3,M,2,4,"span",5),e.k0s(),e.j41(4,"div",6)(5,"div",7),e.DNE(6,t,3,6,"mbs-button",8)(7,O,6,3,"span",9),e.nI1(8,"isNumber"),e.k0s()()(),e.j41(9,"div",10)(10,"div",11),e.EFF(11),e.DNE(12,A,5,4,"div",2),e.k0s()()()),2&l){const s=e.XpG();e.BMQ("data-e2e",s.elementsSelector.name.errorDetailContainer),e.R7$(3),e.Y8G("ngIf",s.planId+s.error.id),e.R7$(3),e.Y8G("ngIf",s.planId+s.error.id),e.R7$(),e.Y8G("ngIf",e.bMT(8,8,s.error.id)),e.R7$(2),e.Y8G("ngbCollapse",s.errorDetailOpenState.get(s.planId+s.error.id)),e.BMQ("data-e2e",s.elementsSelector.name.errorDetailContentBlock),e.R7$(2),e.SpI(" ",s.error.detail," "),e.R7$(),e.Y8G("ngIf",null==s.error.solutions?null:s.error.solutions.length)}}let $=(()=>{let l=class K extends _.D{constructor(){const s=(0,f.WQX)(E.K),r=(0,f.WQX)(P.H);super(),this.recoverySolutionExecuteStatus=a.Y,this.elementsSelector={name:{errorDetailContainer:"recovery-status-error-detail-container",errorDetailPriority:"recovery-status-error-detail-priority",errorDetailOpenBtn:"recovery-status-error-detail-open-btn",errorDetailCodeLinkBlock:"recovery-status-error-detail-code-link-block",errorDetailCodeLink:"recovery-status-error-detail-code-link",errorDetailContentBlock:"recovery-status-error-detail-content-block",errorDetailSolutionsBlock:"recovery-status-error-detail-solutions-block",errorDetailSolutionsDescription:"recovery-status-error-detail-solutions-description",errorDetailSolutionsDescriptionCircle:"recovery-status-error-detail-solutions-description-circle",errorDetailSolutionsDescriptionBtn:"recovery-status-error-detail-solutions-description-button",errorDetailSolutionsLink:"recovery-status-error-detail-solutions-link"}},this.errorDetailOpenState=new Map,this.ability=s,this.recoveryStatusService=r}static{this.\u0275fac=function(r){return new(r||K)}}static{this.\u0275cmp=e.VBU({type:K,selectors:[["mbs-recovery-status-error-detail"]],features:[e.Vt3],decls:1,vars:1,consts:[["onlyTextCode",""],["onlyDescription",""],[4,"ngIf"],[1,"form-row","align-items-center","mb-1"],[1,"col-auto"],[3,"ngClass",4,"ngIf"],[1,"col"],[1,"d-flex","justify-content-start","align-items-center","text-break"],["type","dark",3,"isCtrl","size","click",4,"ngIf"],["class","ml-2 text-nowrap",4,"ngIf"],[1,"ml-4","text-break",3,"ngbCollapse"],[1,"d-flex","flex-column","justify-content-center","w-100"],[3,"ngClass"],["type","dark",3,"click","isCtrl","size"],[1,"dropdown-toggle"],[1,"ml-2","text-nowrap"],["class","nav-link d-inline p-0 m-0","target","_blank",3,"href",4,"ngIf","ngIfElse"],["target","_blank",1,"nav-link","d-inline","p-0","m-0",3,"href"],[1,"d-block","pt-2","pb-1"],["class","d-flex align-items-center mb-2 w-100",4,"ngFor","ngForOf","ngForTrackBy"],["class","nav-link d-inline p-0 m-0","target","_blank",3,"href",4,"ngIf"],[1,"d-flex","align-items-center","mb-2","w-100"],[1,"fa","fa-circle","text-xxs","mr-2"],["class","overflow-x-hidden","customClasses","overflow-x-hidden",3,"isCtrl","size","click",4,"ngIf","ngIfElse"],["customClasses","overflow-x-hidden",1,"overflow-x-hidden",3,"click","isCtrl","size"],[3,"tooltip"],[1,"ctrl","cursor-default","text-xs"]],template:function(r,d){1&r&&e.DNE(0,U,13,10,"div",2),2&r&&e.Y8G("ngIf",d.error)},dependencies:[i.Qpp,y.MD,y.YU,y.Sq,y.bT,i.UHu,k.HC,k.$G,i.qgA,n.a],encapsulation:2,changeDetection:0})}};return l=(0,m.Cg)([(0,x.d)()],l),l})()},39523(G,R,o){o.d(R,{K:()=>l});var m=o(90767),f=o(89826),x=o(15896),E=o(25158),a=o(98497),_=o(8442),P=o(87114),i=o(93683),y=o(42892),k=o(45605),n=o(85240),e=o(12481);const M=g=>[g],t=()=>({format:"title"}),L=g=>({param:g});function b(g,s){if(1&g){const r=e.RV6();e.j41(0,"div",9)(1,"mbs-button",10),e.bIt("click",function(){n.eBV(r);const T=e.XpG(2);return n.Njj(T.reportProblemHandler())}),e.EFF(2),e.nI1(3,"i18next"),e.k0s()()}if(2&g){const r=e.XpG(2);e.R7$(),e.Y8G("size",r.mbsSize.xs),e.BMQ("data-e2e",r.elementsSelector.name.reportProblem),e.R7$(),e.SpI(" ",e.i5U(3,3,"shared:buttons.reportProblem",e.lJ4(6,t))," ")}}function O(g,s){if(1&g){const r=e.RV6();e.j41(0,"div",11)(1,"mbs-button",12),e.bIt("click",function(){n.eBV(r);const T=e.XpG(2);return n.Njj(T.detailsOpenState.set(null==T.recoveryInfo?null:T.recoveryInfo.planId,!T.detailsOpenState.get(null==T.recoveryInfo?null:T.recoveryInfo.planId)))}),e.EFF(2),e.nI1(3,"i18next"),e.nrm(4,"span",13),e.k0s()()}if(2&g){const r=e.XpG(2);e.R7$(),e.Y8G("isCtrl",!0)("size",r.mbsSize.xs),e.BMQ("data-e2e",r.elementsSelector.name.progressLineBtn),e.R7$(),e.SpI(" ",e.i5U(3,6,r.isOpenStatePlanDetail(null==r.recoveryInfo?null:r.recoveryInfo.status,null==r.recoveryInfo?null:r.recoveryInfo.planId)?"shared:buttons.hideDetails":"shared:buttons.viewDetails",e.lJ4(9,t))," "),e.R7$(2),e.AVh("-open",r.isOpenStatePlanDetail(null==r.recoveryInfo?null:r.recoveryInfo.status,null==r.recoveryInfo?null:r.recoveryInfo.planId))}}function C(g,s){if(1&g&&(e.qex(0),e.nrm(1,"mbs-recovery-status-progress-line",14),e.bVm()),2&g){const r=s.$implicit,d=e.XpG(2);e.R7$(),e.Y8G("planId",null==d.recoveryInfo?null:d.recoveryInfo.planId)("progressItem",r)("status",null==d.recoveryInfo?null:d.recoveryInfo.status),e.BMQ("data-e2e",d.elementsSelector.name.lastRunInfoProgressLine)}}function F(g,s){if(1&g&&(e.j41(0,"div"),e.nrm(1,"hr",15)(2,"mbs-recovery-status-error-detail",16),e.k0s()),2&g){const r=s.$implicit,d=e.XpG(2);e.R7$(2),e.Y8G("computerHid",d.recoveryInfo.computerHid)("computerName",d.recoveryInfo.computerName)("backupVersion",d.recoveryInfo.backupVersion)("error",r)("dateTimeUTC",d.recoveryInfo.dateTimeUTC)("planId",null==d.recoveryInfo?null:d.recoveryInfo.planId)("planName",d.recoveryInfo.planName),e.BMQ("data-e2e",d.elementsSelector.name.errorDetail)}}function c(g,s){if(1&g&&(e.qex(0),e.j41(1,"div",1)(2,"span",2),e.EFF(3,"Last Result"),e.k0s(),e.j41(4,"div",3)(5,"span",4),e.nI1(6,"planStatus"),e.EFF(7),e.nI1(8,"planStatus"),e.k0s(),e.DNE(9,b,4,7,"div",5),e.k0s(),e.DNE(10,O,5,10,"div",6),e.k0s(),e.j41(11,"div",7),e.DNE(12,C,2,4,"ng-container",8),e.k0s(),e.j41(13,"div",7),e.DNE(14,F,3,8,"div",8),e.k0s(),e.bVm()),2&g){const r=e.XpG();e.R7$(),e.BMQ("data-e2e",r.elementsSelector.name.lastResultBlock),e.R7$(4),e.Y8G("ngClass",e.eq3(18,M,e.bMT(6,13,null==r.recoveryInfo?null:r.recoveryInfo.legacyStatus))),e.R7$(2),e.SpI(" ",e.i5U(8,15,null==r.recoveryInfo?null:r.recoveryInfo.status,"display")," "),e.R7$(2),e.Y8G("ngIf",r.recoveryInfo.showReportProblem),e.R7$(),e.Y8G("ngIf",(null==r.recoveryInfo||null==r.recoveryInfo.progressLines?null:r.recoveryInfo.progressLines.length)>
10),e.R7$(),e.Y8G("ngbCollapse",!(null!=r.recoveryInfo&&r.recoveryInfo.progressLines)||((null==r.recoveryInfo?null:r.recoveryInfo.status)===r.recoveryStatus.Succeed?!r.detailsOpenState.get(null==r.recoveryInfo?null:r.recoveryInfo.planId):r.detailsOpenState.get(null==r.recoveryInfo?null:r.recoveryInfo.planId))),e.BMQ("data-e2e",r.elementsSelector.name.lastRunInfoContentBlock),e.R7$(),e.Y8G("ngForOf",null==r.recoveryInfo?null:r.recoveryInfo.progressLines)("ngForTrackBy",r.trackByProgressLine),e.R7$(),e.Y8G("ngbCollapse",!(null!=r.recoveryInfo&&r.recoveryInfo.progressLines)||((null==r.recoveryInfo?null:r.recoveryInfo.status)===r.recoveryStatus.Succeed?!r.detailsOpenState.get(null==r.recoveryInfo?null:r.recoveryInfo.planId):r.detailsOpenState.get(null==r.recoveryInfo?null:r.recoveryInfo.planId))),e.BMQ("data-e2e",r.elementsSelector.name.errorDetailsContentBlock),e.R7$(),e.Y8G("ngForOf",null==r.recoveryInfo?null:r.recoveryInfo.errorDetails)("ngForTrackBy",r.trackByDetailedError)}}function S(g,s){1&g&&(e.j41(0,"span",21),e.EFF(1),e.nI1(2,"i18next"),e.k0s()),2&g&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"shared:sidepanel-backup.planStatus.overdueDidNotStart")))}function A(g,s){1&g&&(e.j41(0,"span",21),e.EFF(1),e.nI1(2,"i18next"),e.k0s()),2&g&&(e.R7$(),e.SpI(" ",e.bMT(2,1,"shared:sidepanel-backup.planStatus.overdueNoSuccessRun")))}function U(g,s){if(1&g&&(e.j41(0,"span",21),e.EFF(1),e.nI1(2,"i18next"),e.k0s()),2&g){const r=e.XpG(2);e.R7$(),e.SpI(" ",e.i5U(2,1,"shared:sidepanel-backup.planStatus.overdueSinceLastSuccess",e.eq3(4,L,r.getOverdueDuration())))}}function $(g,s){if(1&g&&(e.qex(0),e.j41(1,"div",1)(2,"span",17),e.EFF(3,"Last Result"),e.k0s(),e.j41(4,"div",3)(5,"span",4),e.nI1(6,"planStatus"),e.j41(7,"span",18)(8,"span",19),e.EFF(9),e.nI1(10,"i18next"),e.k0s()(),e.DNE(11,S,3,3,"span",20)(12,A,3,3,"span",20)(13,U,3,6,"span",20),e.k0s()()(),e.bVm()),2&g){const r=e.XpG();e.R7$(),e.BMQ("data-e2e",r.elementsSelector.name.overdueBlock),e.R7$(4),e.Y8G("ngClass",e.eq3(10,M,e.bMT(6,6,r.RecoveryStatus.Overdue))),e.R7$(4),e.SpI(" ",e.bMT(10,8,"shared:sidepanel-backup.planStatus.overdue")," "),e.R7$(2),e.Y8G("ngIf",(null==r.overdueInfo?null:r.overdueInfo.status)===r.recoveryOverdueStatus.DidNotStartOnSchedule),e.R7$(),e.Y8G("ngIf",(null==r.overdueInfo?null:r.overdueInfo.status)===r.recoveryOverdueStatus.NoSuccessRun),e.R7$(),e.Y8G("ngIf",(null==r.overdueInfo?null:r.overdueInfo.status)===r.recoveryOverdueStatus.SinceLastSuccess)}}let l=(()=>{class g extends x.z{constructor(){super(),this.RecoveryStatus=f.o,this.recoveryOverdueStatus=m.M,this.elementsSelector={name:{overdueBlock:"recovery-status-overdue-block",lastResultBlock:"recovery-status-last-result-block",reportProblem:"recovery-status-report-problem",progressLineBtn:"recovery-status-progress-line-btn",lastRunInfoContentBlock:"recovery-status-last-run-info-content-block",lastRunInfoProgressLine:"recovery-status-last-run-info-progress-line",errorDetailsContentBlock:"recovery-status-error-details-content-block",errorDetail:"recovery-status-error-detail"}},this.detailsOpenState=new Map}trackByProgressLine(r,d){return d.operationName}trackByDetailedError(r,d){return d.title}isOpenStatePlanDetail(r,d){return r===f.o.Succeed?this.detailsOpenState.get(d):!this.detailsOpenState.get(d)}static{this.\u0275fac=function(d){return new(d||g)}}static{this.\u0275cmp=e.VBU({type:g,selectors:[["mbs-recovery-status-last-run-info"]],features:[e.Vt3],decls:2,vars:2,consts:[[4,"ngIf"],[1,"form-row","align-items-center","text-xs","text-muted","mb-1"],[1,"col"],[1,"col","d-flex","align-items-center"],[3,"ngClass"],["class","ml-3",4,"ngIf"],["class","col-3 text-end",4,"ngIf"],[1,"text-xs",3,"ngbCollapse"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"ml-3"],[3,"click","size"],[1,"col-3","text-end"],["type","primary",3,"click","isCtrl","size"],[1,"dropdown-toggle","ml-1"],[3,"planId","progressItem","status"],[1,"mx-0","my-2"],[3,"computerHid","computerName","backupVersion","error","dateTimeUTC","planId","planName"],[1,"col-5"],[1,"d-flex","w-100","justify-content-between","align-items-center"],[1,"fw-bold","text-xs"],["class","text-xs",4,"ngIf"],[1,"text-xs"]],template:function(d,T){1&d&&e.DNE(0,c,15,20,"ng-container",0)(1,$,14,12,"ng-container",0),2&d&&(e.Y8G("ngIf",T.recoveryInfo),e.R7$(),e.Y8G("ngIf",T.overdueInfo))},dependencies:[a.Qpp,i.MD,i.YU,i.Sq,i.bT,_.O,E.E,y.HC,y.$G,P.ov,k.G],encapsulation:2,changeDetection:0})}}return g})()},25158(G,R,o){o.d(R,{E:()=>O});var m=o(93683),f=o(42892),x=o(98497),E=o(35559),a=o(89826),_=o(51046),P=o(85240),i=o(1248
11);function y(C,F){if(1&C&&(i.j41(0,"div",2),i.nrm(1,"span",8),i.k0s()),2&C){const c=i.XpG(2);i.R7$(),i.Y8G("ngClass",c.getStatusIconsClasses(c.progressItem)),i.BMQ("data-e2e",c.elementsSelector.name.lastInfoProgressItemIco)}}function k(C,F){if(1&C&&(i.j41(0,"span",4),i.EFF(1),i.k0s()),2&C){const c=i.XpG(2);i.BMQ("data-e2e",c.elementsSelector.name.lastInfoProgressItemTotal),i.R7$(),i.SpI(" ",c.progressItem.operationName," ")}}function n(C,F){if(1&C&&(i.j41(0,"span",11),i.EFF(1),i.k0s()),2&C){const c=i.XpG(3);i.R7$(),i.JRh(c.lineTime)}}function e(C,F){if(1&C&&i.nrm(0,"span",13),2&C){const c=i.XpG(3);i.AVh("fa-caret-down",c.progressLineIsHiddenState)("fa-caret-up",!c.progressLineIsHiddenState)}}function M(C,F){if(1&C){const c=i.RV6();i.qex(0),i.j41(1,"mbs-button",9),i.bIt("click",function(){P.eBV(c);const A=i.XpG(2);return P.Njj(A.expandDetailClickHandler(A.progressItem))}),i.j41(2,"span",10)(3,"span",11),i.EFF(4),i.k0s(),i.nVh(5,n,2,1,"span",11),i.nVh(6,e,1,4,"span",12),i.k0s()(),i.bVm()}if(2&C){const c=i.XpG(2);i.R7$(),i.Y8G("isCtrl",!0)("size",c.buttonSize||c.mbsSize.xs),i.BMQ("data-e2e",c.elementsSelector.name.lastInfoProgressItemOperationNameBtn),i.R7$(3),i.JRh(c.progressItem.operationName),i.R7$(),i.vxM(c.lineTime?5:-1),i.R7$(),i.vxM(c.progressItem.description?6:-1)}}function t(C,F){if(1&C&&i.nrm(0,"mbs-progress-bar",6),2&C){const c=i.XpG(2);i.Y8G("type",c.progressItem.status===c.recoveryProgressLineStatus.Failed?"danger":c.progressItem.status===c.recoveryProgressLineStatus.Warning?"warning":"success")("value",c.progressItem.progress<0?0:c.progressItem.progress),i.BMQ("data-e2e",c.elementsSelector.name.lastInfoProgressRunning)}}function L(C,F){if(1&C&&i.EFF(0),2&C){const c=i.XpG(2);i.SpI(" ",c.progressItem.time," ")}}function b(C,F){if(1&C&&(i.qex(0),i.j41(1,"div",1),i.nVh(2,y,2,2,"div",2),i.j41(3,"div",3),i.nVh(4,k,2,2,"span",4),i.nVh(5,M,7,6,"ng-container"),i.k0s(),i.j41(6,"div",5),i.nVh(7,t,1,3,"mbs-progress-bar",6)(8,L,1,1),i.k0s()(),i.j41(9,"div",7)(10,"span"),i.EFF(11),i.k0s()(),i.bVm()),2&C){const c=i.XpG();i.R7$(),i.BMQ("data-e2e",c.elementsSelector.name.lastInfoProgressItem),i.R7$(),i.vxM(c.progressItem.status!==c.recoveryProgressLineStatus.Total?2:-1),i.R7$(),i.AVh("ml-4",c.progressItem.status===c.recoveryProgressLineStatus.Total),i.R7$(),i.vxM(c.progressItem.status===c.recoveryProgressLineStatus.Total?4:-1),i.R7$(),i.vxM(c.progressItem.status!==c.recoveryProgressLineStatus.Total?5:-1),i.R7$(),i.Y8G("ngClass",c.progressCustomClasses),i.R7$(),i.vxM(c.status===c.recoveryStatus.Running||c.saveProgressFull?7:8),i.R7$(2),i.Y8G("ngbCollapse",c.progressLineIsHiddenState||!c.progressItem.description),i.BMQ("data-e2e",c.elementsSelector.name.lastInfoTotalDescription),i.R7$(),i.AVh("ml-1",c.saveProgressFull),i.R7$(),i.JRh(c.progressItem.description)}}let O=(()=>{class C{constructor(){this.buttonSize=x.suM.sm,this.mbsSize=x.suM,this.recoveryStatus=a.o,this.recoveryProgressLineStatus=E.T,this.elementsSelector={name:{lastInfoProgressItem:"recovery-status-last-info-progress-item",lastInfoProgressItemIco:"recovery-status-last-info-progress-item-ico",lastInfoProgressItemTotal:"recovery-status-last-info-progress-item-total",lastInfoProgressItemOperationName:"recovery-status-last-info-progress-item-operation-name",lastInfoProgressItemOperationNameBtn:"recovery-status-last-info-progress-item-operation-name-btn",lastInfoProgressRunning:"recovery-status-last-info-progress-running",lastInfoTotalDescription:"recovery-status-last-info-total-description"}},this.runningStatuses=[E.T.Created,E.T.Pending,E.T.Running,E.T.RunningExtended],this.progressLineIsHiddenState=!1,this.lineTime=""}ngOnChanges(c){c?.progressItem?.currentValue&&(this.lineTime=_.P.getElapsedWithoutZeroDay(this.progressItem.time))}getStatusIconsClasses(c){return this.runningStatuses.includes(c.status)?"ico ico-circleArrowRight text-success":c.status===E.T.Failed||c.errors&&c.errors.length?"ico ico-failed text-danger":c.status===E.T.Warning?"fa fa-exclamation-triangle text-warning":"ico ico-success text-success"}expandDetailClickHandler(c){!c.description&&c.status!==E.T.Total||(this.progressLineIsHiddenState=!this.progressLineIsHiddenState)}static{this.\u0275fac=function(S){return new(S||C)}}static{this.\u0275cmp=i.VBU({type:C,selectors:[["mbs-recovery-status-progress-line"]],inputs:{progressItem:"progressItem",saveProgressFull:"saveProgressFull",buttonSize:"buttonSize",planId:"planId",progressCu
1stomClasses:"progressCustomClasses",status:"status"},features:[i.OA$],decls:1,vars:1,consts:[[4,"ngIf"],[1,"form-row","align-items-center","mb-1"],[1,"col-auto"],[1,"col"],[1,"fw-semibold"],[1,"col","text-muted","text-end",3,"ngClass"],[1,"mbs-rm-progress","w-100",3,"type","value"],[1,"ml-4","mb-1","text-break",3,"ngbCollapse"],[3,"ngClass"],["type","dark",3,"click","isCtrl","size"],[1,"d-flex","align-items-center","text-start"],[1,"mr-1"],[1,"fa",3,"fa-caret-down","fa-caret-up"],[1,"fa"]],template:function(S,A){1&S&&i.DNE(0,b,12,13,"ng-container",0),2&S&&i.Y8G("ngIf",null==A.progressItem?null:A.progressItem.visibility)},dependencies:[x.Qpp,m.MD,m.YU,m.bT,x.aDA,f.HC,f.$G],encapsulation:2,changeDetection:0})}}return C})()},84063(G,R,o){o.d(R,{M:()=>Y});var m=o(24398),f=o(37580),x=o(85240),E=o(4637),a=o(83493),_=o(98497),P=o(9664),i=o(11806),y=o(93683),k=o(36845),n=o(12481);const e=(v,B)=>[v,B],M=v=>[v];function t(v,B){1&v&&n.eu8(0)}function L(v,B){if(1&v&&(n.SS7(0),n.nI1(1,"priority"),n.j41(2,"div",3)(3,"div",6),n.nrm(4,"span",7),n.j41(5,"span",8),n.DNE(6,t,1,0,"ng-container",9),n.k0s()()()),2&v){const I=n.XpG(2),p=n.sdS(2),D=n.i5U(1,3,I.error.priority,"type");n.R7$(2),n.BMQ("data-e2e",I.elementsSelector.name.errorBlock),n.R7$(2),n.Y8G("ngClass",n.l_i(6,e,"text-"+D,I.mbsPopupIcon[D])),n.R7$(2),n.Y8G("ngTemplateOutlet",p)}}function b(v,B){1&v&&n.eu8(0)}function O(v,B){if(1&v&&(n.SS7(0),n.nI1(1,"priority"),n.j41(2,"div",4)(3,"div",10),n.nrm(4,"span",11),n.j41(5,"span",8),n.DNE(6,b,1,0,"ng-container",9),n.k0s()()()),2&v){const I=n.XpG(2),p=n.sdS(2),D=n.i5U(1,4,I.error.priority,"type");n.R7$(2),n.Y8G("ngClass",n.eq3(7,M,"alert-"+D)),n.BMQ("data-e2e",I.elementsSelector.name.errorBlock),n.R7$(2),n.Y8G("ngClass",n.l_i(9,e,"text-"+D,I.mbsPopupIcon[D])),n.R7$(2),n.Y8G("ngTemplateOutlet",p)}}function C(v,B){1&v&&n.eu8(0)}function F(v,B){if(1&v&&(n.j41(0,"mbs-alert",5),n.nI1(1,"priority"),n.DNE(2,C,1,0,"ng-container",9),n.k0s()),2&v){const I=n.XpG(2),p=n.sdS(2);n.Y8G("icon",!0)("size",I.mbsSize.sm)("type",n.i5U(1,5,I.error.priority,"type")),n.BMQ("data-e2e",I.elementsSelector.name.errorAlert),n.R7$(2),n.Y8G("ngTemplateOutlet",p)}}function c(v,B){if(1&v&&n.nVh(0,L,7,9,"div",3)(1,O,7,12,"div",4)(2,F,3,8,"mbs-alert",5),2&v){const I=n.XpG();n.vxM(I.errorDetailSimpleBlockMode?0:I.errorDetailBlockMode?1:2)}}function S(v,B){if(1&v&&(n.j41(0,"a",21),n.EFF(1),n.k0s()),2&v){const I=n.XpG(3);n.Y8G("href",I.kbIdLink,n.B4B),n.BMQ("data-e2e",I.elementsSelector.name.errorDetailCodeLink),n.R7$(),n.SpI(" ",I.error.id," ")}}function A(v,B){if(1&v&&n.EFF(0),2&v){const I=n.XpG(3);n.JRh(I.error.id)}}function U(v,B){if(1&v&&(n.j41(0,"span",19),n.EFF(1," (code: "),n.DNE(2,S,2,3,"a",20),n.EFF(3,") "),n.DNE(4,A,1,1,"ng-template",null,1,n.C5r),n.k0s()),2&v){const I=n.sdS(5),p=n.XpG(2);n.BMQ("data-e2e",p.elementsSelector.name.errorDetailCodeLinkBlock),n.R7$(2),n.Y8G("ngIf",p.ability.can("read","HelpMarketing")&&(null==p.error?null:p.error.kbid))("ngIfElse",I)}}function $(v,B){1&v&&n.nrm(0,"span",29)}function l(v,B){1&v&&n.nrm(0,"span",30)}function g(v,B){if(1&v){const I=n.RV6();n.j41(0,"mbs-button",26),n.bIt("click",function(){x.eBV(I);const D=n.XpG().$implicit,u=n.XpG(3);return x.Njj(u.solutionClickHandler(D))}),n.EFF(1),n.DNE(2,$,1,0,"span",27)(3,l,1,0,"span",28),n.k0s()}if(2&v){const I=n.XpG().$implicit,p=n.XpG(3);n.Y8G("disabled",p.needDisableOnLoading&&p.solutionProcess)("isCtrl",!0)("size",p.mbsSize.xs),n.BMQ("data-e2e",p.elementsSelector.name.errorDetailSolutionsDescriptionBtn),n.R7$(),n.SpI(" ",I.description," "),n.R7$(),n.Y8G("ngIf",!p.needDisableOnLoading||!p.solutionProcess),n.R7$(),n.Y8G("ngIf",p.needDisableOnLoading&&p.solutionProcess)}}function s(v,B){if(1&v&&(n.j41(0,"span",31),n.EFF(1),n.k0s()),2&v){const I=n.XpG().$implicit;n.R7$(),n.JRh(I.description)}}function r(v,B){if(1&v&&(n.j41(0,"div",24),n.DNE(1,g,4,7,"mbs-button",25)(2,s,2,1,"ng-template",null,2,n.C5r),n.k0s()),2&v){const I=B.$implicit,p=n.sdS(3),D=n.XpG(3);n.BMQ("data-e2e",D.elementsSelector.name.errorDetailSolutionsDescription),n.R7$(),n.Y8G("ngIf",D.activeSolutions[I.action_type])("ngIfElse",p)}}function d(v,B){if(1&v&&(n.j41(0,"a",32),n.EFF(1," Read KB article "),n.k0s()),2&v){const I=n.XpG(3);n.Y8G("href",I.kbIdLink,n.B4B),n.BMQ("data-e2e",I.elementsSelector.name.errorDetailSolutionsLink)}}function T(v,B){if(1&v&&(n.j41(0,"div"),n.DNE(1,r,4,3,"div",22)(2,d,2,2,"a",23),n.k0s()),2&v){const I=n.XpG(2);n.BMQ("data-e2e",I.elementsSelector.name.errorDetailSolutionsBlock),n.R7$(),n.Y8G("ngForOf",I.error.solutions)("ngForTrackBy",I.trackBySolution),n.R7$(),n.Y8G("ngIf",I.ability.can("read","HelpMarketing")&&(null==I.error?null:I.error.kbid))}}function V(v,B){if(1&v&&(n.j41(0,"span",12)(1,"span",13)(2,"mbs-text-ellipsis",14),n.EFF(3),n.k0s()(),n.j41(4,"span",15),n.DNE(5,U,6,3,"span",16),n.nI1(6,"isNumber"),n.k0s()(),n.j41(7,"span",17),n.EFF(8),n.k0s(),n.DNE(9,T,3,4,"div",18)),2&v){const I=n.XpG();n.R7$(2),n.Y8G("tooltip",I.error.title),n.R7$(),n.JRh(I.error.title),n.R7$(2),n.Y8G("ngIf",n.bMT(6,5,I.error.id)),n.R7$(3),n.SpI(" ",I.error.detail," "),n.R7$(),n.Y8G("ngIf",null==I.error.solutions?null:I.error.solutions.length)}}let Y=(()=>{let v=class j extends P.D{constructor(){const I=(0,x.WQX)(a.K),p=(0,x.WQX)(i.H);super(),this.cdr=(0,x.WQX)(f.gRc),this.errorDetailBlockMode=!1,this.errorDetailSimpleBlockMode=!1,this.mbsPopupIcon=_.kCJ,this.elementsSelector={name:{errorAlert:"errorAlert",errorBlock:"errorBlock",errorDetailCodeLink:"errorDetailCodeLink",errorDetailCodeLinkBlock:"errorDetailCodeLinkBlock",errorDetailSolutionsBlock:"errorDetailSolutionsBlock",errorDetailSolutionsDescription:"errorDetailSolutionsDescription",errorDetailSolutionsDescriptionBtn:"errorDetailSolutionsDescriptionBtn",errorDetailSolutionsLink:"errorDetailSolutionsLink"}},this.ability=I,this.recoveryStatusService=p}detectChanges(){this.cdr.detectChanges()}static{this.\u0275fac=function(p){return new(p||j)}}static{this.\u0275cmp=n.VBU({type:j,selectors:[["mbs-run-info-error-detail"]],inputs:{errorDetailBlockMode:"errorDetailBlockMode",errorDetailSimpleBlockMode:"errorDetailSimpleBlockMode"},features:[n.Vt3],decls:3,vars:1,consts:[["alertMainContent",""],["onlyTextCode",""],["onlyDescription",""],[1,"d-flex","w-100","mw-100"],[1,"mbs-run-info-error-detail-box","w-100","mw-100",3,"ngClass"],[1,"mb-0",3,"icon","size","type"],[1,"d-flex","bg-transparent","w-100","mw-100"],[1,"mbs-run-info-error-detail-box-simple_icon","alert-icon","mr-1",3,"ngClass"],[1,"text-sm","w-100"],[4,"ngTemplateOutlet"],[1,"mbs-run-info-error-detail-box_content","d-flex","bg-white","w-100","mw-100"],[1,"mbs-run-info-error-detail-box_icon","alert-icon",3,"ngClass"],[1,"form-row","align-items-center","text-sm","fw-bold","mw-100"],[1,"col-9"],[3,"tooltip"],[1,"col-3","text-end"],["class","text-nowrap fw-bold text-xs",4,"ngIf"],[1,"text-xs","pre-line"],[4,"ngIf"],[1,"text-nowrap","fw-bold","text-xs"],["class","d-inline p-0 m-0","target","_blank",3,"href",4,"ngIf","ngIfElse"],["target","_blank",1,"d-inline","p-0","m-0",3,"href"],["class","d-flex align-items-end fw-semibold mt-2 w-100 mb-1",4,"ngFor","ngForOf","ngForTrackBy"],["class","d-inline p-0 m-0 mb-1","target","_blank",3,"href",4,"ngIf"],[1,"d-flex","align-items-end","fw-semibold","mt-2","w-100","mb-1"],["customClasses","fw-semibold text-start",3,"disabled","isCtrl","size","click",4,"ngIf","ngIfElse"],["customClasses","fw-semibold text-start",3,"click","disabled","isCtrl","size"],["class","fa fa-long-arrow-right",4,"ngIf"],["class","-loader loader-sm loader-primary",4,"ngIf"],[1,"fa","fa-long-arrow-right"],[1,"-loader","loader-sm","loader-primary"],[1,"ctrl","cursor-default","text-xs","fw-semibold","text-start"],["target","_blank",1,"d-inline","p-0","m-0","mb-1",3,"href"]],template:function(p,D){1&p&&(n.nVh(0,c,3,1),n.DNE(1,V,10,7,"ng-template",null,0,n.C5r)),2&p&&n.vxM(D.error?0:-1)},dependencies:[_.CyY,_.Qpp,y.MD,y.YU,y.Sq,y.bT,y.T3,_.UHu,_.qgA,k.a],styles:["[_nghost-%COMP%] .mbs-run-info-error-detail-box[_ngcontent-%COMP%]{padding:0 1px 1px;margin-top:-1px}[_nghost-%COMP%] .mbs-run-info-error-detail-box_content[_ngcontent-%COMP%]{padding:6px 12px}[_nghost-%COMP%] .mbs-run-info-error-detail-box_icon[_ngcontent-%COMP%]{margin-right:10px;top:1px!important}[_nghost-%COMP%] .mbs-run-info-error-detail-box-simple_icon[_ngcontent-%COMP%]{top:2px!important}"],changeDetection:0})}};return v=(0,m.Cg)([(0,E.d)()],v),v})()},30412(G,R,o){o.d(R,{z:()=>I});var m=o(98497),f=o(24875),x=o(91815),E=o(90767),a=o(89826),_=o(84063),P=o(25158),i=o(87114),y=o(93683),k=o(42892),n=o(15896),e=o(45605),M=o(85240),t=o(12481);const L=(p,D)=>({type:p,status:D}),b=p=>({param:p});function O(p,D){if(1&p){const u=t.RV6();t.j41(0,"mbs-button",13),t.bIt("click",function(){M.eBV(u);
1const W=t.XpG(3);return M.Njj(W.expandPlanDetailClickHandler())}),t.nrm(1,"span",14),t.k0s()}if(2&p){const u=t.XpG(3);t.Y8G("isCtrl",!0)("size",u.mbsSize.xs),t.BMQ("data-e2e",u.elementsSelector.name.expandDetailBtn),t.R7$(),t.AVh("fa-chevron-down",u.isHidePlanDetail)("fa-chevron-up",!u.isHidePlanDetail)}}function C(p,D){if(1&p&&(t.j41(0,"mbs-alert",9)(1,"span",10)(2,"span",11),t.EFF(3),t.nI1(4,"planStatus"),t.nI1(5,"i18next"),t.k0s(),t.DNE(6,O,2,7,"mbs-button",12),t.k0s()()),2&p){const u=t.XpG(2);t.Y8G("size",u.mbsSize.sm)("type",u.statusesMap[null==u.recoveryInfo?null:u.recoveryInfo.status])("icon",!0),t.BMQ("data-e2e",u.elementsSelector.name.lastStatusAlert),t.R7$(3),t.SpI(" ",t.i5U(5,9,"shared:sidepanel-backup.runInfo.lastStatus",t.l_i(12,L,u.planTypeDisplay,t.i5U(4,6,u.recoveryInfo.status,"display")))," "),t.R7$(3),t.Y8G("ngIf",null==u.recoveryInfo||null==u.recoveryInfo.errorDetails?null:u.recoveryInfo.errorDetails.length)}}function F(p,D){1&p&&t.eu8(0)}function c(p,D){if(1&p&&(t.j41(0,"div",5),t.DNE(1,F,1,0,"ng-container",6),t.k0s()),2&p){const u=t.XpG(2),h=t.sdS(4);t.AVh("mt-2",!u.errorDetailBlockMode),t.Y8G("ngbCollapse",u.isHidePlanDetail||u.isRunning),t.R7$(),t.Y8G("ngTemplateOutlet",h)}}function S(p,D){1&p&&t.eu8(0)}function A(p,D){if(1&p&&t.nrm(0,"mbs-run-info-error-detail",15),2&p){const u=D.$implicit,h=t.XpG(2);t.Y8G("errorDetailBlockMode",h.errorDetailBlockMode)("computerHid",h.recoveryInfo.computerHid)("backupVersion",h.recoveryInfo.backupVersion)("computerName",h.recoveryInfo.computerName)("error",u)("dateTimeUTC",h.recoveryInfo.dateTimeUTC)("planId",null==h.recoveryInfo?null:h.recoveryInfo.planId)("planName",h.recoveryInfo.planName),t.BMQ("data-e2e",h.elementsSelector.name.errorDetail)}}function U(p,D){if(1&p){const u=t.RV6();t.j41(0,"div",8)(1,"mbs-button",16),t.bIt("click",function(){M.eBV(u);const W=t.XpG(2);return M.Njj(W.reportProblemHandler())}),t.nrm(2,"span",17),t.j41(3,"span",18),t.EFF(4),t.nI1(5,"i18next"),t.k0s()()()}if(2&p){const u=t.XpG(2);t.R7$(),t.Y8G("isCtrl",!0)("size",u.mbsSize.xs),t.BMQ("data-e2e",u.elementsSelector.name.reportProblem),t.R7$(3),t.JRh(t.bMT(5,4,"shared:buttons.reportProblem"))}}function $(p,D){if(1&p&&(t.qex(0),t.nrm(1,"mbs-recovery-status-progress-line",22),t.bVm()),2&p){const u=D.$implicit,h=t.XpG(3);t.R7$(),t.Y8G("planId",null==h.recoveryInfo?null:h.recoveryInfo.planId)("progressItem",u)("status",null==h.recoveryInfo?null:h.recoveryInfo.status),t.BMQ("data-e2e",h.elementsSelector.name.lastRunInfoProgressLine)}}function l(p,D){if(1&p){const u=t.RV6();t.j41(0,"div",23)(1,"mbs-button",24),t.bIt("click",function(){M.eBV(u);const W=t.XpG(3);return M.Njj(W.isHidePlanProgressDetail=!W.isHidePlanProgressDetail)}),t.EFF(2),t.nI1(3,"i18next"),t.k0s(),t.j41(4,"mbs-button",16),t.bIt("click",function(){M.eBV(u);const W=t.XpG(3);return M.Njj(W.reportProblemHandler())}),t.nrm(5,"span",17),t.j41(6,"span",18),t.EFF(7),t.nI1(8,"i18next"),t.k0s()()()}if(2&p){const u=t.XpG(3);t.R7$(),t.Y8G("isCtrl",!0)("size",u.mbsSize.xs),t.BMQ("data-e2e",u.elementsSelector.name.progressLineBtn),t.R7$(),t.SpI(" ",t.bMT(3,8,u.isHidePlanProgressDetail?"shared:buttons.viewDetails":"shared:buttons.hideDetails")," "),t.R7$(2),t.Y8G("isCtrl",!0)("size",u.mbsSize.xs),t.BMQ("data-e2e",u.elementsSelector.name.reportProblem),t.R7$(3),t.JRh(t.bMT(8,10,"shared:buttons.reportProblem"))}}function g(p,D){if(1&p&&(t.j41(0,"div",19),t.DNE(1,$,2,4,"ng-container",20),t.k0s(),t.DNE(2,l,9,12,"div",21)),2&p){const u=t.XpG(2);t.Y8G("ngbCollapse",!(null!=u.recoveryInfo&&null!=u.recoveryInfo.progressLines&&u.recoveryInfo.progressLines.length)||u.isHidePlanProgressDetail),t.BMQ("data-e2e",u.elementsSelector.name.lastRunInfoContentBlock),t.R7$(),t.Y8G("ngForOf",null==u.recoveryInfo?null:u.recoveryInfo.progressLines)("ngForTrackBy",u.trackByProgressLine),t.R7$(),t.Y8G("ngIf",null==u.recoveryInfo||null==u.recoveryInfo.progressLines?null:u.recoveryInfo.progressLines.length)}}function s(p,D){if(1&p&&(t.qex(0),t.DNE(1,C,7,15,"mbs-alert",3)(2,c,2,4,"div",4),t.j41(3,"div",5),t.DNE(4,S,1,0,"ng-container",6)(5,A,1,9,"mbs-run-info-error-detail",7),t.nVh(6,U,6,6,"div",8),t.k0s(),t.nVh(7,g,3,5),t.bVm()),2&p){const u=t.XpG(),h=t.sdS(4);t.R7$(),t.Y8G("ngIf",!u.isRunning),t.R7$(),t.Y8G("ngIf",!(null!=u.recoveryInfo&&null!=u.recoveryInfo.errorDetails&&u.recoveryInfo.errorDetails.length)),t.R7$(),t.AVh("mt-2",!u.errorDetailBlockMode),t.Y8G("ngbCollapse",!(null!=u.recoveryInfo&&null!=u.recoveryInfo.errorDetails&&u.recoveryInfo.errorDetails.length)||u.isHidePlanDetail||u.isRunning),t.BMQ("data-e2e",u.elementsSelector.name.lastRunInfoErrorBlock),t.R7$(),t.Y8G("ngTemplateOutlet",h),t.R7$(),t.Y8G("ngForOf",null==u.recoveryInfo?null:u.recoveryInfo.errorDetails),t.R7$(),t.vxM(null!=u.recoveryInfo&&null!=u.recoveryInfo.progressLines&&u.recoveryInfo.progressLines.length&&u.hideProgressLinesAndButtons?6:-1),t.R7$(),t.vxM(u.hideProgressLinesAndButtons?-1:7)}}function r(p,D){1&p&&t.eu8(0)}function d(p,D){if(1&p&&t.DNE(0,r,1,0,"ng-container",6),2&p){t.XpG();const u=t.sdS(4);t.Y8G("ngTemplateOutlet",u)}}function T(p,D){1&p&&(t.j41(0,"span",28),t.EFF(1),t.nI1(2,"i18next"),t.k0s()),2&p&&(t.R7$(),t.JRh(t.bMT(2,1,"shared:sidepanel-backup.planStatus.overdueDidNotStart")))}function V(p,D){1&p&&(t.j41(0,"span",28),t.EFF(1),t.nI1(2,"i18next"),t.k0s()),2&p&&(t.R7$(),t.JRh(t.bMT(2,1,"shared:sidepanel-backup.planStatus.overdueNoSuccessRun")))}function Y(p,D){if(1&p&&(t.j41(0,"span",28),t.EFF(1),t.nI1(2,"i18next"),t.k0s()),2&p){const u=t.XpG(3);t.R7$(),t.JRh(t.i5U(2,1,"shared:sidepanel-backup.planStatus.overdueSinceLastSuccess",t.eq3(4,b,u.getOverdueDuration())))}}function v(p,D){if(1&p&&(t.j41(0,"mbs-alert",26)(1,"span",10)(2,"
1span",11),t.EFF(3),t.nI1(4,"i18next"),t.k0s()(),t.DNE(5,T,3,3,"span",27)(6,V,3,3,"span",27)(7,Y,3,6,"span",27),t.k0s()),2&p){const u=t.XpG(2);t.AVh("mb-0",!u.recoveryInfo)("mt-2",!u.recoveryInfo),t.Y8G("size",u.mbsSize.sm)("type",u.mbsPopupType.danger)("icon",!0),t.BMQ("data-e2e",u.elementsSelector.name.overdueAlert),t.R7$(3),t.SpI(" ",t.bMT(4,12,"shared:sidepanel-backup.planStatus.overdue")," "),t.R7$(2),t.Y8G("ngIf",(null==u.overdueInfo?null:u.overdueInfo.status)===u.recoveryOverdueStatus.DidNotStartOnSchedule),t.R7$(),t.Y8G("ngIf",(null==u.overdueInfo?null:u.overdueInfo.status)===u.recoveryOverdueStatus.NoSuccessRun),t.R7$(),t.Y8G("ngIf",(null==u.overdueInfo?null:u.overdueInfo.status)===u.recoveryOverdueStatus.SinceLastSuccess)}}function B(p,D){if(1&p&&t.DNE(0,v,8,14,"mbs-alert",25),2&p){const u=t.XpG();t.Y8G("ngIf",u.overdueInfo)}}let I=(()=>{class p extends n.z{get planTypeDisplay(){return this.mode===f.O.Restore?"restore":this.plaType===x.Jz.ConsistencyCheck?"Consistency Check":"backup"}get isHidePlanDetailReverseState(){return this.recoveryInfo?.status===a.o.Succeed?this.isHidePlanDetail:!this.isHidePlanDetail}constructor(){super(),this.hideProgressLinesAndButtons=!1,this.errorDetailBlockMode=!1,this.mbsPopupType=m.dF7,this.recoveryOverdueStatus=E.M,this.elementsSelector={name:{lastStatusAlert:"lastStatusAlert",expandDetailBtn:"expandDetailBtn",errorDetail:"errorDetail",lastRunInfoErrorBlock:"lastRunInfoErrorBlock",lastRunInfoContentBlock:"lastRunInfoContentBlock",lastRunInfoProgressLine:"lastRunInfoProgressLine",progressLineBtn:"progressLineBtn",reportProblem:"reportProblem",overdueAlert:"overdueAlert"}},this.statusesMap={[a.o.Started]:m.dF7.success,[a.o.Running]:m.dF7.success,[a.o.Succeed]:m.dF7.success,[a.o.Warning]:m.dF7.warning,[a.o.Failed]:m.dF7.danger,[a.o.Overdue]:m.dF7.danger,[a.o.Unknown]:m.dF7.info},this.isHidePlanDetail=!1,this.isHidePlanProgressDetail=!0,this.isRunning=!1}ngOnChanges(u){u?.recoveryInfo?.currentValue&&(this.lastStatus===a.o.Running&&this.recoveryInfo.status!==this.lastStatus&&(this.isHidePlanDetail=!1),this.lastStatus=this.recoveryInfo.status,this.isRunning=this.recoveryInfo.status===a.o.Running||this.recoveryInfo.status===a.o.Started)}expandPlanDetailClickHandler(){this.isHidePlanDetail=!this.isHidePlanDetail}trackByProgressLine(u,h){return h.operationName}static{this.\u0275fac=function(h){return new(h||p)}}static{this.\u0275cmp=t.VBU({type:p,selectors:[["mbs-run-info"]],inputs:{hideProgressLinesAndButtons:"hideProgressLinesAndButtons",errorDetailBlockMode:"errorDetailBlockMode"},features:[t.Vt3,t.OA$],decls:5,vars:2,consts:[["noRecoveryInfo",""],["overdue",""],[4,"ngIf","ngIfElse"],["class","mt-2 mb-0",3,"size","type","icon",4,"ngIf"],[3,"ngbCollapse","mt-2",4,"ngIf"],[3,"ngbCollapse"],[4,"ngTemplateOutlet"],[3,"errorDetailBlockMode","computerHid","backupVersion","computerName","error","dateTimeUTC","planId","planName",4,"ngFor","ngForOf"],[1,"d-flex","justify-content-end","pt-2"],[1,"mt-2","mb-0",3,"size","type","icon"],[1,"d-flex","w-100","justify-content-between","align-items-center"],[1,"fw-bold","text-xs"],["type","dark",3,"isCtrl","size","click",4,"ngIf"],["type","dark",3,"click","isCtrl","size"],[1,"fa"],[3,"errorDetailBlockMode","computerHid","backupVersion","computerName","error","dateTimeUTC","planId","planName"],[3,"click","isCtrl","size"],[1,"fa","fa-send"],[1,"fw-semibold"],[1,"text-xs","mt-2",3,"ngbCollapse"],[4,"ngFor","ngForOf","ngForTrackBy"],["class","d-flex justify-content-between mt-2",4,"ngIf"],[3,"planId","progressItem","status"],[1,"d-flex","justify-content-between","mt-2"],["type","primary",1,"border-bottom-dotted","pb-1",3,"click","isCtrl","size"],["class","mb-2",3,"mb-0","mt-2","size","type","icon",4,"ngIf"],[1,"mb-2",3,"size","type","icon"],["class","text-xs",4,"ngIf"],[1,"text-xs"]],template:function(h,W){if(1&h&&t.DNE(0,s,8,10,"ng-container",2)(1,d,1,1,"ng-template",null,0,t.C5r)(3,B,1,1,"ng-template",null,1,t.C5r),2&h){const Q=t.sdS(2);t.Y8G("ngIf",W.recoveryInfo)("ngIfElse",Q)}},dependencies:[m.CyY,m.Qpp,y.MD,y.Sq,y.bT,y.T3,P.E,_.M,k.HC,k.$G,i.ov,e.G],encapsulation:2,changeDetection:0})}}return p})()},16589(G,R,o){o.d(R,{K:()=>$});var m=o(24398),f=o(85240),x=o(85422),E=o(4637),a=o(81890),_=o(12481);const P=["externalSolutionExecutorContainer"];let i=(()=>
1{class l{constructor(){this.viewContainerRef=(0,f.WQX)(_.c1b)}ngAfterViewInit(){this.loadExternalComponent().then(s=>{this.viewContainerRef.createComponent(s).changeDetectorRef.detectChanges()})}static{this.defaultTemplate='<div id="externalSolutionExecutorContainer"></div>'}static{this.\u0275fac=function(r){return new(r||l)}}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor"]],viewQuery:function(r,d){if(1&r&&_.GBs(P,5,_.c1b),2&r){let T;_.mGM(T=_.lsd())&&(d.container=T.first)}},decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})(),y=(()=>{class l extends i{loadExternalComponent(){return(0,a.A)(function*(){const{StorageAccountsSolutionExecutorComponent:s}=yield o.e(1086).then(o.bind(o,81086));return Promise.resolve(s)})()}static{this.\u0275fac=(()=>{let s;return function(d){return(s||(s=_.xGo(l)))(d||l)}})()}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor-storage-accounts"]],features:[_.Vt3],decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})(),k=(()=>{class l extends i{loadExternalComponent(){return(0,a.A)(function*(){const{OpenEditOptionsTabSolutionComponent:s}=yield o.e(1561).then(o.bind(o,11561));return Promise.resolve(s)})()}static{this.\u0275fac=(()=>{let s;return function(d){return(s||(s=_.xGo(l)))(d||l)}})()}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor-edit-options"]],features:[_.Vt3],decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})(),n=(()=>{class l extends i{loadExternalComponent(){return(0,a.A)(function*(){const{RecoveryStatusDemoExternalComponent:s}=yield o.e(7120).then(o.bind(o,37120));return Promise.resolve(s)})()}static{this.\u0275fac=(()=>{let s;return function(d){return(s||(s=_.xGo(l)))(d||l)}})()}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor-demo"]],features:[_.Vt3],decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})(),e=(()=>{class l extends i{loadExternalComponent(){return(0,a.A)(function*(){const{PlansActionsSolutionComponent:s}=yield Promise.all([o.e(2076),o.e(4190)]).then(o.bind(o,14190));return Promise.resolve(s)})()}static{this.\u0275fac=(()=>{let s;return function(d){return(s||(s=_.xGo(l)))(d||l)}})()}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor-plans-actions"]],features:[_.Vt3],decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})();var M=o(11806),t=o(43942);let L=(()=>{class l extends i{loadExternalComponent(){return(0,a.A)(function*(){return Promise.resolve(b)})()}static{this.\u0275fac=(()=>{let s;return function(d){return(s||(s=_.xGo(l)))(d||l)}})()}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor-common"]],features:[_.Vt3],decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})(),b=(()=>{let l=class H{constructor(){this.recoveryStatusService=(0,f.WQX)(M.H),new M.H.RecoverySolutionSubscriber(this)}canExecuteSolution(s){return!1}executeSolution(s){return new t.c(r=>{r.next(!1)})}static{this.\u0275fac=function(r){return new(r||H)}}static{this.\u0275cmp=_.VBU({type:H,selectors:[["mbs-recovery-solution-executor-common-external"]],decls:1,vars:0,template:function(r,d){1&r&&_.Hgh(0,"div")},encapsulation:2})}};return l=(0,m.Cg)([(0,E.d)()],l),l})(),O=(()=>{class l extends i{loadExternalComponent(){return(0,a.A)(function*(){const{ComputersSolutionExecutorComponent:s}=yield o.e(1e3).then(o.bind(o,51e3));return Promise.resolve(s)})()}static{this.\u0275fac=(()=>{let s;return function(d){return(s||(s=_.xGo(l)))(d||l)}})()}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor-computers"]],features:[_.Vt3],decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})(),C=(()=>{class l extends i{loadExternalComponent(){return(0,a.A)(function*(){const{OpenPlanOnSelectedStepSolutionComponent:s}=yield o.e(2076).then(o.bind(o,10216));return Promise.resolve(s)})()}static{this.\u0275fac=(()=>{let s;return function(d){return(s||(s=_.xGo(l)))(d||l)}})()}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor-plan-wizard"]],features:[_.Vt3],decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})(),F=(()=>{class l extends i{loadExternalComponent(){return(0,a.A)(function*(){const{PlanHistorySolutionComponent:s}=yield o.e(340).then(o.bind(o,60340));return Promise.resolve(s)})()}static{this.\u0275fac=(()=>{let s;return function(d){return(s||(s=_.xGo(l)))(d||l)}})()}static{this.\u0275cmp=_.VBU({type:l,selectors:[["mbs-recovery-solution-executor-plans-history"]],features:[_.Vt3],decls:1,vars:0,consts:[["id","externalSolutionExecutorContainer"]],template:function(r,d){1&r&&_.Hgh(0,"div",0)},encapsulation:2})}}return l})();var c=o(93683);const S=["*"];function A(l,g){1&l&&(_.qex(0),_.nrm(1,"mbs-recovery-solution-executor-demo")(2,"mbs-recovery-solution-executor-plan-wizard")(3,"mbs-recovery-solution-executor-edit-options")(4,"mbs-recovery-solution-executor-computers")(5,"mbs-recovery-solution-executor-common")(6,"mbs-recovery-solution-executor-plans-actions")(7,"mbs-recovery-solution-executor-plans-history")(8,"mbs-recovery-solution-executor-storage-accounts"),_.bVm())}function U(l,g){1&l&&(_.qex(0),_.nrm(1,"mbs-recovery-solution-executor-plan-wizard")(2,"mbs-recovery-solution-executor-edit-options")(3,"mbs-recovery-solution-executor-computers")(4,"mbs-recovery-solution-executor-common")(5,"mbs-recovery-solution-executor-plans-actions")(6,"mbs-recovery-solution-executor-plans-history")(7,"mbs-recovery-solution-executor-storage-accounts"),_.bVm())}let $=(()=>{let l=class X{constructor(){this.mode=null,(0,f.WQX)(x.nX).data.pipe((0,E.s)(this)).subscribe(r=>{this.mode=r.isDemo?"demo":"prod"})}static{this.\u0275fac=function(r){return new(r||X)}}static{this.\u0275cmp=_.VBU({type:X,selectors:[["mbs-recovery-status-wrapper"]],ngContentSelectors:S,decls:4,vars:2,consts:[[4,"ngIf"]],template:function(r,d){1&r&&(_.NAR(),_.j41(0,"div"),_.DNE(1,A,9,0,"ng-container",0)(2,U,8,0,"ng-container",0),_.SdG(3),_.k0s()),2&r&&(_.R7$(),_.Y8G("ngIf","demo"===d.mode),_.R7$(),_.Y8G("ngIf","prod"===d.mode))},dependencies:[c.MD,c.bT,L,O,n,k,C,e,F,y],encapsulation:2})}};return l=(0,m.Cg)([(0,E.d)()],l),l})()},36845(G,R,o){o.d(R,{a:()=>x});var m=o(98497),f=o(12481);let x=(()=>{class E{transform(_,P="icon"){return"class"===P?this.getClass(_):"icon"===P?this.getIcon(_):"type"===P?this.getType(_):""}getClass(_){switch(_){case"Major":case"Critical":return"text-danger";case"Warning":return"text-warning";case"Info":return"text-info";case"Minor":return"text-secondary";default:return"text-dark"}}getIcon(_){switch(_){case"Major":case"Critical":return"ico ico-failed "+this.getClass(_);case"Warning":return"fa fa-exclamation-triangle "+this.getClass(_);default:return"ico ico-info-circle "+this.getClass(_)}}getType(_){switch(_){case"Major":case"Critical":case"Minor":return m.dF7.danger;case"Warning":return m.dF7.warning;default:return m.dF7.info}}static{this.\u0275fac=function(P){return new(P||E)}}static{this.\u0275pipe=f.EJ8({name:"priority",type:E,pure:!0})}}return E})()},30014(G,R,o){o.d(R,{W:()=>M});var m=o(93683),f=o(42892),x=o(8442),E=o(25158),a=o(84063),_=o(16589),P=o(11806),i=o(33124),y=o(39523),k=o(30412),n=o(85240),e=o(12481);let M=(()=>{class t{static{this.\u0275fac=function(O){return new(O||t)}}static{this.\u0275mod=e.$C({type:t})}static{this.\u0275inj=n.G2t({providers:[P.H],imports:[f.HC,m.MD,f.n8,i.u,k.z,a.M,y.K,E.E,x.O,_.K]})}}return t})()},11806(G,R,o){o.d(R,{H:()=>M,i:()=>n});var m=o(63855),f=o(85240),x=o(4637),E=o(33954),a=o(84205),_=o(75797),P=o(54318),i=o(51567),y=o(2435),k=o(72354),n=function(t){return t.all="all",t.selected="selected",t}(n||{});class e{constructor(L){L.recoveryStatusService.solution.pipe((0,x.s)(L),(0,i.p)(Boolean)).subscribe(b=>{b.status===E.Y.new&&L.canExecuteSolution(b)&&(b.status=E.Y.inProgress,b.executionProgress=L.executeSolution(b))})}}let M=(()=>{class t{constructor(){this.http=(0,f.WQX)(m.Qq),this.timeout=3e6,this.activeSolution=new _.t(null)}get solution(){return this.activeSolution.asObservable()}get currentActiveSolution(){return{...this.activeSolution?.value}}executeSolutionsCommand(b,O){return this.http.post(`api/computers/${b}/remotecommand`,O)}activateSolution(b){return{...b,activationProgress:this.executeSolution(b)}}executeSolution(b){const O=new a.B;return queueMicrotask(()=>{const C={additionalInfo:{...b.additionalInfo},solution:{...b.solution},status:E.Y.new};this.activeSolution.next(C),C.status!==E.Y.new&&C.status!==E.Y.fail?C.executionProgress.pipe((0,k.w)(this.timeout),(0,y.$)()).subscribe({next:F=>O.next(F),error:()=>O.next(!1),complete:P.l}):O.next(!1)}),O.asObservable()}static{this.RecoverySolutionSubscriber=e}static{this.\u0275fac=function(O){return new(O||t)}}static{this.\u0275prov=f.jDH({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})()}}]); 2//# sourceMappingURL=7633.d4ecf94c8726679c.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.