You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
19 KiB
2 lines
19 KiB
"use strict";(self.webpackChunk_bitwarden_web_vault=self.webpackChunk_bitwarden_web_vault||[]).push([[40],{16040(t,i,e){e.d(i,{i:()=>Tt});var o=e(46758),n=e(11217),r=e(24590),s=e(84210),a=e(191),c=e(29236),l=e(67789),p=e(87806),d=e(72135),h=e(83604),u=e(69783),f=e(35284),g=e(6933),m=e(61065),b=e(34949),y=e(68108),v=e(21571),x=e(49355),w=e(64456),F=e(67553),E=e(7356),S=e(3633),I=e(7751),$=e(51151),P=e(56962),z=e(38020),T=e(78781),k=e(20377),C=e(5076),D=e(38620),A=e(26411),V=e(37579),M=e(29029),O=e(22191),R=e(8433),j=e(80351),G=e(8297),_=e(25024),U=e(27545),B=e(23544),X=e(36801),N=e(87673);const Y=Object.freeze({AccountEncrypted:0,FileEncrypted:1});var J=e(75583),Q=e(14041),q=e(35500),L=e(58806),W=function(t,i,e,o){return new(e||(e=Promise))(function(n,r){function s(t){try{c(o.next(t))}catch(i){r(i)}}function a(t){try{c(o.throw(t))}catch(i){r(i)}}function c(t){var i;t.done?n(t.value):(i=t.value,i instanceof e?i:new e(function(t){t(i)})).then(s,a)}c((o=o.apply(t,i||[])).next())})};function H(t,i){if(1&t&&(Q.j41(0,"span",0),Q.EFF(1),Q.nI1(2,"i18n"),Q.k0s()),2&t){const t=Q.XpG();Q.R7$(),Q.SpI(" ",Q.i5U(2,1,t.scopeConfig.description,t.scopeConfig.scopeIdentifier)," ")}}class Z{constructor(t,i){this.organizationService=t,this.accountService=i,this.show=!1,this.organizationId=(0,r.hFB)(),this.orgExportDescription=(0,r.hFB)(),(0,n.QZP)(()=>W(this,void 0,void 0,function*(){this.show=!1,yield this.getScopeMessage(this.organizationId(),this.orgExportDescription()),this.show=!0}))}getScopeMessage(t,i){return W(this,void 0,void 0,function*(){var e;const o=yield(0,y._)((0,S.F6)(this.accountService.activeAccount$));if(t){const n=yield(0,y._)(this.organizationService.organizations$(o).pipe((0,z.Hc)(t)));return void(this.scopeConfig={title:"exportingOrganizationVaultTitle",description:i,scopeIdentifier:null!==(e=null==n?void 0:n.name)&&void 0!==e?e:""})}this.scopeConfig={title:"exportingPersonalVaultTitle",description:"exportingIndividualVaultScopeDescription",scopeIdentifier:""}})}}Z.ɵfac=function(t){return new(t||Z)(Q.rXU(F.PV),Q.rXU(q.D))},Z.ɵcmp=Q.VBU({type:Z,selectors:[["tools-export-scope-description"]],inputs:{organizationId:[1,"organizationId"],orgExportDescription:[1,"orgExportDescription"]},decls:1,vars:1,consts:[["bitTypography","body2",1,"tw-text-muted","tw-block","tw-mt-2","tw-mb-4"]],template:function(t,i){1&t&&Q.nVh(0,H,3,4,"span",0),2&t&&Q.vxM(i.show?0:-1)},dependencies:[J.E,L.r,X.$Z],encapsulation:2});var K=e(50700),tt=e(69855),it=e(66316),et=e(18499),ot=e(8365),nt=e(37115),rt=e(26983),st=e(86226),at=e(93199),ct=e(42016),lt=e(19934),pt=e(43759),dt=e(76356),ht=e(69896),ut=e(36288),ft=e(33886),gt=e(68923),mt=e(44432),bt=e(24374),yt=function(t,i,e,o){return new(e||(e=Promise))(function(n,r){function s(t){try{c(o.next(t))}catch(i){r(i)}}function a(t){try{c(o.throw(t))}catch(i){r(i)}}function c(t){var i;t.done?n(t.value):(i=t.value,i instanceof e?i:new e(function(t){t(i)})).then(s,a)}c((o=o.apply(t,i||[])).next())})};const vt=(t,i)=>i.format;function xt(t,i){1&t&&(Q.j41(0,"bit-callout",6),Q.nI1(1,"i18n"),Q.EFF(2),Q.nI1(3,"i18n"),Q.k0s()),2&t&&(Q.Y8G("title",Q.mNQ(Q.bMT(1,3,"vaultExportDisabled"))),Q.R7$(2),Q.SpI(" ",Q.bMT(3,5,"personalVaultExportPolicyInEffect"),"\n"))}function wt(t,i){1&t&&(Q.nrm(0,"bit-option",13),Q.nI1(1,"i18n")),2&t&&Q.Y8G("label",Q.bMT(1,1,"myVault"))}function Ft(t,i){if(1&t&&Q.nrm(0,"bit-option",14),2&t){const t=i.$implicit;Q.Y8G("value",t.id)("label",t.name)}}function Et(t,i){if(1&t&&(Q.j41(0,"bit-form-field",9)(1,"bit-label"),Q.EFF(2),Q.nI1(3,"i18n"),Q.k0s(),Q.j41(4,"bit-select",10),Q.DNE(5,wt,2,3,"bit-option",11),Q.nI1(6,"async"),Q.DNE(7,Ft,1,2,"bit-option",12),Q.k0s()()),2&t){const t=Q.XpG().ngIf,i=Q.XpG();Q.R7$(2),Q.JRh(Q.bMT(3,3,"exportFrom")),Q.R7$(3),Q.Y8G("ngIf",!Q.bMT(6,5,i.organizationDataOwnershipPolicyAppliesToUser$)),Q.R7$(2),Q.Y8G("ngForOf",t)}}function St(t,i){if(1&t&&(Q.qex(0),Q.DNE(1,Et,8,7,"bit-form-field",7),Q.nrm(2,"tools-export-scope-description",8),Q.bVm()),2&t){const t=i.ngIf,e=Q.XpG();Q.R7$(),Q.Y8G("ngIf",t.length>0),Q.R7$(),Q.Y8G("organizationId",e.organizationId)("orgExportDescription",e.orgExportDescription)}}function It(t,i){if(1&t&&(Q.j41(0,"option",4),Q.EFF(1),Q.k0s()),2&t){const t=i.$implicit;Q.Y8G("value",t.format),Q.R7$(),Q.JRh(t.name)}}function $t(t,i){if(1&t){const t=Q.RV6();Q.qex(0),Q.j41(1,"div",18)(2,"bit-form-field")(3,"bit-label"),Q.EFF(4),Q.nI1(5,"i18n"),Q.k0s(),Q.nrm(6,"input",19),Q.j41(7,"button",20),Q.mxI("toggledChange",function(i){n.eBV(t);const e=Q.XpG(2);return Q.DH7(e.showFilePassword,i)||(e.showFilePassword=i),n.Njj(i)}),Q.k0s(),Q.j41(8,"button",21),Q.nI1(9,"i18n"),Q.bIt("click",function(){n.eBV(t);const i=Q.XpG(2);return n.Njj(i.generatePassword())}),Q.k0s(),Q.nrm(10,"button",22),Q.nI1(11,"i18n"),Q.nI1(12,"i18n"),Q.j41(13,"bit-hint"),Q.EFF(14),Q.nI1(15,"i18n"),Q.k0s()(),Q.nrm(16,"tools-password-strength",23),Q.k0s(),Q.j41(17,"bit-form-field")(18,"bit-label"),Q.EFF(19),Q.nI1(20,"i18n"),Q.k0s(),Q.nrm(21,"input",24),Q.j41(22,"button",20),Q.mxI("toggledChange",function(i){n.eBV(t);const e=Q.XpG(2);return Q.DH7(e.showFilePassword,i)||(e.showFilePassword=i),n.Njj(i)}),Q.k0s()(),Q.bVm()}if(2&t){const t=Q.XpG(2);Q.R7$(4),Q.JRh(Q.bMT(5,12,"filePassword")),Q.R7$(3),Q.R50("toggled",t.showFilePassword),Q.R7$(),Q.Y8G("label",Q.bMT(9,14,"generatePassword")),Q.R7$(2),Q.Y8G("disabled",!t.filePassword)("appCopyClick",t.filePassword)("valueLabel",Q.bMT(11,16,"password"))("label",Q.bMT(12,18,"password")),Q.R7$(4),Q.JRh(Q.bMT(15,20,"exportPasswordDescription")),Q.R7$(2),Q.Y8G("password",t.filePassword)("showText",!0),Q.R7$(3),Q.JRh(Q.bMT(20,22,"confirmFilePassword")),Q.R7$(3),Q.R50("toggled",t.showFilePassword)}}function Pt(t,i){if(1&t&&(Q.qex(0),Q.j41(1,"bit-radio-group",15)(2,"bit-label"),Q.EFF(3),Q.nI1(4,"i18n"),Q.k0s(),Q.j41(5,"bit-radio-button",16)(6,"bit-label"),Q.EFF(7),Q.nI1(8,"i18n"),Q.k0s(),Q.j41(9,"bit-hint"),Q.EFF(10),Q.nI1(11,"i18n"),Q.k0s()(),Q.j41(12,"bit-radio-button",17)(13,"bit-label"),Q.EFF(14),Q.nI1(15,"i18n"),Q.k0s(),Q.j41(16,"bit-hint"),Q.EFF(17),Q.nI1(18,"i18n"),Q.k0s()()(),Q.DNE(19,$t,23,24,"ng-container",2),Q.bVm()),2&t){const t=Q.XpG();Q.R7$(3),Q.JRh(Q.bMT(4,8,"exportTypeHeading")),Q.R7$(2),Q.Y8G("value",t.encryptedExportType.AccountEncrypted),Q.R7$(2),Q.JRh(Q.bMT(8,10,"accountRestricted")),Q.R7$(3),Q.JRh(Q.bMT(11,12,"accountRestrictedOptionDescription")),Q.R7$(2),Q.Y8G("value",t.encryptedExportType.FileEncrypted),Q.R7$(2),Q.JRh(Q.bMT(15,14,"passwordProtected")),Q.R7$(3),Q.JRh(Q.bMT(18,16,"passwordProtectedOptionDescription")),Q.R7$(2),Q.Y8G("ngIf",t.fileEncryptionType==t.encryptedExportType.FileEncrypted)}}function zt(t,i){if(1&t&&(Q.j41(0,"bit-callout",5),Q.EFF(1),Q.k0s()),2&t){const t=Q.XpG();Q.Y8G("title",null),Q.R7$(),Q.SpI(" ",t.skippedAttachmentMessage," ")}}class Tt{set organizationId(t){T.A.isNullOrEmpty(t)?this._organizationId$.next(void 0):(0,C.e)(t)?(this._organizationId$.next(t),(0,S.F6)(this.accountService.activeAccount$).pipe((0,a.n)(i=>this.organizationService.organizations$(i).pipe((0,z.Hc)(t)))).pipe((0,c.Q)(this.destroy$)).subscribe(t=>{this._organizationId$.next(null==t?void 0:t.id)})):this._organizationId$.next(void 0)}get organizationId(){return this._organizationId$.value}get showExcludeMyItems(){return this._showExcludeMyItems}get orgExportDescription(){return this._showExcludeMyItems?this.isAdminConsoleContext?"exportingOrganizationVaultFromAdminConsoleWithDataOwnershipDesc":"exportingOrganizationVaultFromPasswordManagerWithDataOwnershipDesc":"exportingOrganizationVaultScopeDescription"}get isAdminConsoleContext(){var t,i,e;if(!((null===(i=(t=this.platformUtilsService).getClientType)||void 0===i?void 0:i.call(t))===$.sK.Web)||!this.router)return!1;try{return(null!==(e=this.router.url)&&void 0!==e?e:"").includes("/organizations/")}catch(o){return!1}}get disabledByPolicy(){return this._disabledByPolicy}constructor(t,i,e,o,a,c,d,h,u,f,g,m,b,y,v){this.i18nService=t,this.toastService=i,this.exportService=e,this.eventCollectionService=o,this.generatorService=a,this.policyService=c,this.logService=d,this.formBuilder=h,this.fileDownloadService=u,this.dialogService=f,this.organizationService=g,this.accountService=m,this.collectionService=b,this.platformUtilsService=y,this.router=v,this._organizationId$=new l.t(void 0),this._showExcludeMyItems=!1,this.formLoading=new n.bkB,this.formDisabled=new n.bkB,this.onSuccessfulExport=new n.bkB,this.skippedAttachmentCount=(0,r.geq)(0),this.encryptedExportType=Y,this._disabledByPolicy=!1,this.exportForm=this.formBuilder.group({vaultSelector:["myVault",{nonNullable:!0,validators:[s.k0.required]}],format:["json",s.k0.required],secret:[""],filePassword:["",s.k0.required],confirmFilePassword:["",s.k0.required],fileEncryptionType:[Y.AccountEncrypted]}),this.destroy$=new p.B,this.onlyManagedCollections=!0,this.onGenerate$=new p.B,this.generatePassword=()=>yt(this,void 0,void 0,function*(){this.onGenerate$.next({source:"export",type:B.ZU.password})}),this.submit=()=>yt(this,void 0,void 0,function*(){if(this.isFileEncryptedExport&&this.filePassword!=this.confirmFilePassword)return void this.toastService.showToast({variant:"error",title:this.i18nService.t("errorOccurred"),message:this.i18nService.t("filePasswordAndConfirmFilePasswordDoNotMatch")});if(this.exportForm.markAllAsTouched(),this.exportForm.invalid)return;if(this.disabledByPolicy)return void this.toastService.showToast({variant:"error",title:null,message:this.i18nService.t("personalVaultExportPolicyInEffect")});(yield this.verifyUser())&&(yield this.doExport())})}ngOnInit(){return yt(this,void 0,void 0,function*(){this.observeFormState(),this.observePolicyStatus(),this.observeFormSelections(),this.observeMyItemsExclusionCriteria(),this.observeValidatorAdjustments(),this.setupPasswordGeneration(),this.organizationId?this.initOrganizationOnly():(this.initIndividual(),this.setupPolicyBasedFormState())})}observeFormState(){this.exportForm.statusChanges.pipe((0,c.Q)(this.destroy$)).subscribe(t=>{this.formDisabled.emit("DISABLED"===t)})}observePolicyStatus(){this.disablePersonalVaultExportPolicy$=this.accountService.activeAccount$.pipe(S.F6,(0,a.n)(t=>this.policyService.policyAppliesToUser$(E.tt.DisablePersonalVaultExport,t))),this.organizationDataOwnershipPolicyAppliesToUser$=this.accountService.activeAccount$.pipe(S.F6,(0,a.n)(t=>this.policyService.policyAppliesToUser$(E.tt.OrganizationDataOwnership,t))),this.organizationDataOwnershipPolicyEnabledForOrg$=(0,d.z)([this.accountService.activeAccount$.pipe(S.F6),this._organizationId$]).pipe((0,a.n)(([t,i])=>i&&t?this.policyService.policies$(t).pipe((0,u.T)(t=>{var e;const o=null==t?void 0:t.find(t=>t.type===E.tt.OrganizationDataOwnership&&t.organizationId===i);return null!==(e=null==o?void 0:o.enabled)&&void 0!==e&&e})):(0,h.of)(!1)))}observeFormSelections(){this.exportForm.controls.vaultSelector.valueChanges.pipe((0,c.Q)(this.destroy$)).subscribe(t=>{if(!this.isAdminConsoleContext){const i="myVault"===t;this.organizationId=i?void 0:t}}),this.formatOptions$=this._organizationId$.pipe((0,u.T)(t=>({isMyVault:!t})),(0,a.n)(t=>this.exportService.formats$(t)),(0,f.M)(t=>{const i=this.exportForm.get("format").value;t.some(t=>t.format===i)||this.exportForm.get("format").setValue("json")}),(0,g.t)({bufferSize:1,refCount:!0}))}observeMyItemsExclusionCriteria(){(0,d.z)({organizationDataOwnershipPolicyEnabledForOrg:this.organizationDataOwnershipPolicyEnabledForOrg$,organizationId:this._organizationId$}).pipe((0,c.Q)(this.destroy$)).subscribe(({organizationDataOwnershipPolicyEnabledForOrg:t,organizationId:i})=>{this._showExcludeMyItems=!!i&&t})}observeValidatorAdjustments(){(0,m.h)(this.exportForm.get("format").valueChanges,this.exportForm.get("fileEncryptionType").valueChanges).pipe((0,b.Z)(0),(0,c.Q)(this.destroy$)).subscribe(()=>this.adjustValidators())}setupPasswordGeneration(){const t=this.accountService.activeAccount$.pipe((0,k.y_)({name:()=>"active export account",distinct:(t,i)=>t.id===i.id}));this.generatorService.generate$({on$:this.onGenerate$,account$:t}).pipe((0,c.Q)(this.destroy$)).subscribe(t=>{this.exportForm.patchValue({filePassword:t.credential,confirmFilePassword:t.credential})})}initOrganizationOnly(){this.organizations$=this.accountService.activeAccount$.pipe(S.F6,(0,a.n)(t=>this.organizationService.memberOrganizations$(t).pipe((0,u.T)(t=>t.filter(t=>t.id==this.organizationId))))),this.exportForm.controls.vaultSelector.patchValue(this.organizationId),this.exportForm.controls.vaultSelector.disable(),this.onlyManagedCollections=!1}initIndividual(){this.organizations$=this.accountService.activeAccount$.pipe(S.F6,(0,a.n)(t=>(0,d.z)({collections:this.collectionService.decryptedCollections$(t),memberOrganizations:this.organizationService.memberOrganizations$(t)}))).pipe((0,u.T)(({collections:t,memberOrganizations:i})=>{const e=new Set(t.filter(t=>t.manage).map(t=>t.organizationId));return i.filter(t=>e.has(t.id)).sort(T.A.getSortFunction(this.i18nService,"name"))}))}setupPolicyBasedFormState(){(0,d.z)([this.disablePersonalVaultExportPolicy$,this.organizationDataOwnershipPolicyAppliesToUser$,this.organizations$]).pipe((0,f.M)(([t,i,e])=>{this._disabledByPolicy=t,i&&e.length>0&&(this.exportForm.enable(),this.exportForm.controls.vaultSelector.setValue(e[0].id)),i&&0===e.length&&this.exportForm.disable(),t&&this.exportForm.disable(),t||i||this.exportForm.controls.vaultSelector.setValue("myVault")}),(0,c.Q)(this.destroy$)).subscribe()}ngAfterViewInit(){this.bitSubmit.loading$.pipe((0,c.Q)(this.destroy$)).subscribe(t=>{this.formLoading.emit(t)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}get encryptedFormat(){return"encrypted_json"===this.format}get isFileEncryptedExport(){return"encrypted_json"===this.format&&this.fileEncryptionType===Y.FileEncrypted}get isAccountEncryptedExport(){return"encrypted_json"===this.format&&this.fileEncryptionType===Y.AccountEncrypted}doExport(){return yt(this,void 0,void 0,function*(){try{const t=yield this.getExportData();this.downloadFile(t),"application/zip"===t.type&&t.skippedAttachmentCount&&this.skippedAttachmentCount.set(t.skippedAttachmentCount),this.toastService.showToast({variant:"success",title:null,message:this.i18nService.t("exportSuccess")}),this.onSuccessfulExport.emit(this.organizationId),yield this.collectEvent(),this.exportForm.get("secret").setValue(""),this.exportForm.clearValidators()}catch(t){this.logService.error(t),this.toastService.showToast({variant:"error",title:this.i18nService.t("errorOccurred"),message:this.i18nService.t("exportError")})}})}verifyUser(){return yt(this,void 0,void 0,function*(){let t="exportWarningDesc";this.isFileEncryptedExport?t="fileEncryptedExportWarningDesc":this.isAccountEncryptedExport&&(t="encExportKeyWarningDesc");const i=yield w.GA.open(this.dialogService,{title:"confirmVaultExport",bodyText:t,confirmButtonOptions:{text:"continue",type:"primary"}});return"cancel"!==i.userAction&&(!!i.verificationSuccess||(i.noAvailableClientVerificationMethods,!1))})}getExportData(){return yt(this,void 0,void 0,function*(){const t=yield(0,y._)(this.accountService.activeAccount$.pipe(S.F6));return T.A.isNullOrWhitespace(this.organizationId)?this.exportService.getExport(t,this.format,this.filePassword):this.exportService.getOrganizationExport(t,this.organizationId,this.format,this.filePassword,this.onlyManagedCollections)})}collectEvent(){return yt(this,void 0,void 0,function*(){return this.organizationId?yield this.eventCollectionService.collect(I.Bx.Organization_ClientExportedVault,null,!1,this.organizationId):yield this.eventCollectionService.collect(I.Bx.User_ClientExportedVault)})}get format(){return this.exportForm.get("format").value}get filePassword(){return this.exportForm.get("filePassword").value}get confirmFilePassword(){return this.exportForm.get("confirmFilePassword").value}get fileEncryptionType(){return this.exportForm.get("fileEncryptionType").value}get skippedAttachmentMessage(){const t=this.skippedAttachmentCount();return 1===t?this.i18nService.t("exportSuccessSkippedAttachment"):this.i18nService.t("exportSuccessSkippedAttachments",t)}adjustValidators(){this.exportForm.get("confirmFilePassword").reset(),this.exportForm.get("filePassword").reset(),this.encryptedFormat&&this.fileEncryptionType==Y.FileEncrypted?(this.exportForm.controls.filePassword.enable(),this.exportForm.controls.confirmFilePassword.enable()):(this.exportForm.controls.filePassword.disable(),this.exportForm.controls.confirmFilePassword.disable())}downloadFile(t){this.fileDownloadService.download({fileName:t.fileName,blobData:t.data,blobOptions:{type:t.type}})}}Tt.ɵfac=function(t){return new(t||Tt)(Q.rXU(K.W),Q.rXU(tt.f),Q.rXU(N.Os),Q.rXU(I.c_),Q.rXU(B.iE),Q.rXU(et.m),Q.rXU(P.K),Q.rXU(s.ze),Q.rXU(ot.y),Q.rXU(it.o),Q.rXU(F.PV),Q.rXU(q.D),Q.rXU(v.YD),Q.rXU(nt.y),Q.rXU(rt.Ix,8))},Tt.ɵcmp=Q.VBU({type:Tt,selectors:[["tools-export"]],viewQuery:function(t,i){if(1&t&&Q.GBs(D.L,5)(x.k,5),2&t){let t;Q.mGM(t=Q.lsd())&&(i.bitSubmit=t.first),Q.mGM(t=Q.lsd())&&(i.passwordStrengthComponent=t.first)}},inputs:{organizationId:"organizationId",skippedAttachmentCount:[1,"skippedAttachmentCount"]},outputs:{formLoading:"formLoading",formDisabled:"formDisabled",onSuccessfulExport:"onSuccessfulExport",skippedAttachmentCount:"skippedAttachmentCountChange"},decls:15,vars:15,consts:[["type","danger",3,"title",4,"ngIf"],["id","export_form_exportForm",3,"formGroup","bitSubmit"],[4,"ngIf"],["bitInput","","formControlName","format"],[3,"value"],["type","warning",3,"title"],["type","danger",3,"title"],["disableMargin","",4,"ngIf"],[3,"organizationId","orgExportDescription"],["disableMargin",""],["formControlName","vaultSelector"],["value","myVault","icon","bwi-user",3,"label",4,"ngIf"],["icon","bwi-business",3,"value","label",4,"ngFor","ngForOf"],["value","myVault","icon","bwi-user",3,"label"],["icon","bwi-business",3,"value","label"],["formControlName","fileEncryptionType","aria-label","exportTypeHeading"],["id","AccountEncrypted","name","fileEncryptionType","checked","fileEncryptionType === encryptedExportType.AccountEncrypted",1,"tw-block",3,"value"],["id","FileEncrypted","name","fileEncryptionType","checked","fileEncryptionType === encryptedExportType.FileEncrypted",1,"tw-block",3,"value"],[1,"tw-mb-3"],["bitInput","","type","password","id","filePassword","formControlName","filePassword","name","password"],["type","button","bitSuffix","","bitIconButton","","bitPasswordInputToggle","",3,"toggledChange","toggled"],["type","button","bitIconButton","bwi-generate","appStopClick","","bitSuffix","",3,"click","label"],["type","button","bitIconButton","bwi-clone","appStopClick","","bitSuffix","","showToast","",3,"disabled","appCopyClick","valueLabel","label"],[3,"password","showText"],["bitInput","","type","password","id","confirmFilePassword","formControlName","confirmFilePassword","name","confirmFilePassword"]],template:function(t,i){1&t&&(Q.DNE(0,xt,4,7,"bit-callout",0),Q.nI1(1,"async"),Q.j41(2,"form",1),Q.DNE(3,St,3,3,"ng-container",2),Q.nI1(4,"async"),Q.j41(5,"bit-form-field")(6,"bit-label"),Q.EFF(7),Q.nI1(8,"i18n"),Q.k0s(),Q.j41(9,"select",3),Q.Z7z(10,It,2,2,"option",4,vt),Q.nI1(12,"async"),Q.k0s()(),Q.DNE(13,Pt,20,18,"ng-container",2),Q.k0s(),Q.nVh(14,zt,2,2,"bit-callout",5)),2&t&&(Q.Y8G("ngIf",Q.bMT(1,7,i.disablePersonalVaultExportPolicy$)),Q.R7$(2),Q.Y8G("formGroup",i.exportForm)("bitSubmit",i.submit),Q.R7$(),Q.Y8G("ngIf",Q.bMT(4,9,i.organizations$)),Q.R7$(4),Q.JRh(Q.bMT(8,11,"fileFormat")),Q.R7$(3),Q.Dyx(Q.bMT(12,13,i.formatOptions$)),Q.R7$(3),Q.Y8G("ngIf","encrypted_json"===i.format),Q.R7$(),Q.vxM(i.skippedAttachmentCount()>0?14:-1))},dependencies:[o.MD,o.Sq,o.bT,s.X1,s.qT,s.xH,s.y7,s.me,s.wz,s.BC,s.cb,s.j4,s.JD,A.L,st.j,at.I,ct.W,lt.J,pt.h,dt.e,ht.a,V.C,D.L,M.t,O.Q,ut.s,R.p,ft.w,gt.P,j.j,mt.G,G.K,bt.d,Z,x.k,U._h,_.D,o.Jj,X.$Z],encapsulation:2})}}]);
|
|
//# sourceMappingURL=40.4f177a25d1122df7258c.js.map
|