"use strict";(self.webpackChunk_bitwarden_web_vault=self.webpackChunk_bitwarden_web_vault||[]).push([[782],{74782:(t,n,o)=>{o.r(n),o.d(n,{ImportWebComponent:()=>m});var e=o(17530),i=o(42594),r=o(25065),u=o(3867),a=o(64195),s=o(26657),c=o(56898),l=o(10672),d=o(88016),f=o(20464),p=function(t,n,o,e){return new(o||(o=Promise))((function(i,r){function u(t){try{s(e.next(t))}catch(n){r(n)}}function a(t){try{s(e.throw(t))}catch(n){r(n)}}function s(t){var n;t.done?i(t.value):(n=t.value,n instanceof o?n:new o((function(t){t(n)}))).then(u,a)}s((e=e.apply(t,n||[])).next())}))};class m{constructor(t){this.router=t,this.loading=!1,this.disabled=!1}onSuccessfulImport(t){return p(this,void 0,void 0,(function*(){yield this.router.navigate(["vault"])}))}}m.ɵfac=function(t){return new(t||m)(u.rXU(a.Ix))},m.ɵcmp=u.VBU({type:m,selectors:[["ng-component"]],decls:6,vars:5,consts:[[3,"formDisabled","formLoading","onSuccessfulImport"],["form","import_form_importForm","bitButton","","type","submit","bitFormButton","","buttonType","primary",3,"disabled","loading"]],template:function(t,n){1&t&&(u.nrm(0,"app-header"),u.j41(1,"bit-container")(2,"tools-import",0),u.bIt("formDisabled",(function(t){return n.disabled=t}))("formLoading",(function(t){return n.loading=t}))("onSuccessfulImport",(function(t){return n.onSuccessfulImport(t)})),u.k0s(),u.j41(3,"button",1),u.EFF(4),u.nI1(5,"i18n"),u.k0s()()),2&t&&(u.R7$(3),u.Y8G("disabled",n.disabled)("loading",n.loading),u.R7$(),u.SpI(" ",u.bMT(5,3,"importData")," "))},dependencies:[r.G,s.$,c.Q,l.H,d.$,e.Pi,i.G,f.f],encapsulation:2})}}]);
//# sourceMappingURL=782.c75b3f9c1c754f35bb2e.js.map